@alwith/module-drive 0.1.0-rc.24 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/desktop-provenance.json +14 -1
- package/dist/badge-react.d.ts +2 -2
- package/dist/badge-react.js +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +1 -1
- package/dist/browse.d.ts +1 -1
- package/dist/browse.js +1 -1
- package/dist/chunk-0mx45c8q.js +2 -0
- package/dist/chunk-13ret1k0.js +188 -0
- package/dist/chunk-2343nj4p.js +2 -0
- package/dist/chunk-2n0p7j2f.js +2 -0
- package/dist/chunk-2ss7362z.js +2 -0
- package/dist/chunk-34qgf6be.js +2 -0
- package/dist/chunk-3fpcak8h.js +2 -0
- package/dist/chunk-4rfsdwgj.js +2 -0
- package/dist/chunk-52ccz07b.js +2 -0
- package/dist/chunk-563we221.js +2 -0
- package/dist/chunk-8765ztht.js +2 -0
- package/dist/chunk-8gmexfjt.js +3 -0
- package/dist/chunk-8sdw30dr.js +2 -0
- package/dist/chunk-ayvem7j8.js +2 -0
- package/dist/chunk-bh4wjd78.js +2 -0
- package/dist/chunk-dep1erts.js +2 -0
- package/dist/chunk-fkz75xv1.js +2 -0
- package/dist/chunk-g3pmrhm2.js +2 -0
- package/dist/chunk-j234gbr1.js +4 -0
- package/dist/chunk-j2mc48dt.js +2 -0
- package/dist/chunk-jxs49r5w.js +2 -0
- package/dist/chunk-kzjc8c8g.js +3 -0
- package/dist/chunk-m3kvhnag.js +3 -0
- package/dist/chunk-m6a9k1p0.js +2 -0
- package/dist/chunk-mafn36hy.js +2 -0
- package/dist/chunk-mz5601y4.js +2 -0
- package/dist/chunk-n7wnyds6.js +2 -0
- package/dist/chunk-n9sgwcq1.js +2 -0
- package/dist/chunk-nf37g7p6.js +2 -0
- package/dist/chunk-njfqtysa.js +2 -0
- package/dist/chunk-nk64fv7b.js +2 -0
- package/dist/chunk-p7y39rr7.js +2 -0
- package/dist/chunk-pbxjprxa.js +2 -0
- package/dist/chunk-pc21jzd8.js +3 -0
- package/dist/chunk-qabnvepm.js +2 -0
- package/dist/chunk-qf5g053e.js +2 -0
- package/dist/chunk-rg43mads.js +2 -0
- package/dist/chunk-t4vq7jva.js +2 -0
- package/dist/chunk-vpew2mps.js +2 -0
- package/dist/chunk-vtjd21bw.js +8 -0
- package/dist/chunk-ws1dtw35.js +2 -0
- package/dist/chunk-zf44znpx.js +2 -0
- package/dist/content/chat-condense.d.ts +4 -4
- package/dist/content/chat-condense.js +1 -1
- package/dist/content/collab.d.ts +1 -1
- package/dist/content/collab.js +1 -1
- package/dist/content/comment-anchors.js +1 -2
- package/dist/content/comment-decorations.d.ts +1 -1
- package/dist/content/comment-decorations.js +1 -3
- package/dist/content/comment-drawer.d.ts +2 -2
- package/dist/content/comment-drawer.js +1 -1
- package/dist/content/comment-mentions.d.ts +1 -1
- package/dist/content/comment-mentions.js +1 -1
- package/dist/content/comment-surface.d.ts +3 -3
- package/dist/content/comment-surface.js +1 -1
- package/dist/content/condense-task.d.ts +2 -2
- package/dist/content/condense-task.js +1 -1
- package/dist/content/condense.d.ts +3 -3
- package/dist/content/condense.js +1 -1
- package/dist/content/editor.d.ts +1 -1
- package/dist/content/editor.js +1 -1
- package/dist/content/file-actions.d.ts +4 -4
- package/dist/content/file-actions.js +1 -1
- package/dist/content/file-link.d.ts +1 -1
- package/dist/content/file-link.js +1 -1
- package/dist/content/frontmatter-panel.js +1 -1
- package/dist/content/frontmatter.js +1 -7
- package/dist/content/host.d.ts +2 -2
- package/dist/content/host.js +1 -1
- package/dist/content/html-bridge.js +1 -187
- package/dist/content/html-comments.js +1 -1
- package/dist/content/markdown-comments.d.ts +1 -1
- package/dist/content/markdown-comments.js +1 -2
- package/dist/content/mention-picker.d.ts +2 -2
- package/dist/content/mention-picker.js +1 -1
- package/dist/content/save-version.d.ts +1 -1
- package/dist/content/save-version.js +1 -1
- package/dist/content/translations.d.ts +1 -1
- package/dist/content/translations.js +1 -1
- package/dist/content/use-file-comments.d.ts +1 -1
- package/dist/content/use-file-comments.js +1 -1
- package/dist/content/yuplink.d.ts +1 -1
- package/dist/content/yuplink.js +1 -2
- package/dist/content.d.ts +10 -10
- package/dist/content.js +1 -1
- package/dist/contract.d.ts +775 -87
- package/dist/core.d.ts +4 -4
- package/dist/core.js +1 -1
- package/dist/files.d.ts +1 -1
- package/dist/files.js +1 -1
- package/dist/global-search.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/launcher.d.ts +3 -3
- package/dist/launcher.js +1 -2
- package/dist/locales.d.ts +2 -2
- package/dist/locales.js +1 -1
- package/dist/mass-delete.d.ts +3 -3
- package/dist/mass-delete.js +1 -1
- package/dist/notifications.js +1 -1
- package/dist/pinned-docs.js +1 -1
- package/dist/pinned.d.ts +3 -3
- package/dist/pinned.js +1 -1
- package/dist/react.d.ts +14 -14
- package/dist/react.js +1 -1
- package/dist/roots.d.ts +1 -1
- package/dist/roots.js +1 -1
- package/dist/settings.d.ts +3 -3
- package/dist/settings.js +1 -1
- package/dist/sharing.d.ts +3 -3
- package/dist/sharing.js +1 -1
- package/dist/status.d.ts +4 -4
- package/dist/status.js +1 -1
- package/dist/summary.d.ts +1 -1
- package/dist/summary.js +1 -1
- package/dist/tauri.d.ts +1 -1
- package/dist/transfer-feed.d.ts +1 -1
- package/dist/transfer-feed.js +1 -1
- package/dist/ui.d.ts +4 -3
- package/dist/ui.js +1 -1
- package/package.json +16 -11
- package/rust/Cargo.toml +1 -1
- package/rust/src/contract.rs +5 -0
- package/rust/src/sync.rs +4 -0
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
${l}`;else i.push({key:"",value:"",list:!1,raw:l});s++;continue}let a=c[1],o=c[2].trim();if(o===""&&e[s+1]!==void 0&&/^\s+-\s/.test(e[s+1])){let u=[],r=s+1;while(r<e.length&&/^\s+-\s/.test(e[r]))u.push(f(e[r].replace(/^\s+-\s?/,""))),r++;i.push({key:a,value:u.join("、"),list:!0}),s=r;continue}if(o===""||o==="|"||o===">"||o==="|-"||o===">-"){let u=l,r=s+1;while(r<e.length&&(/^\s+\S/.test(e[r])||!e[r].trim()))u+=`
|
|
3
|
-
${e[r]}`,r++;i.push({key:a,value:"",list:!1,raw:u.replace(/\n+$/,"")}),s=r;continue}if(o.startsWith("[")&&o.endsWith("]"))i.push({key:a,value:m(o.slice(1,-1)).join("、"),list:!0});else i.push({key:a,value:f(o),list:h.has(a.toLowerCase())});s++}return i}function d(n){if(n==="")return!0;if(/^[\d.+-]/.test(n)&&!Number.isNaN(Number(n)))return!1;if(/^(true|false|null|yes|no|~)$/i.test(n))return!1;return/[:#[\]{}&*!|>'"%@`,]/.test(n)||/^\s|\s$/.test(n)}function p(n){let t=n.trim();if(!d(t))return t;return`"${t.replaceAll("\\",String.raw`\\`).replaceAll('"',String.raw`\"`)}"`}function g(n){let t=[];for(let e of n){if(e.raw!==void 0){t.push(e.raw);continue}let i=e.key.trim();if(!i)continue;if(e.list){let s=e.value.split(/[、,,]/).map((l)=>l.trim()).filter((l)=>l.length>0);t.push(`${i}: [${s.map(p).join(", ")}]`)}else t.push(`${i}: ${p(e.value)}`)}if(t.length===0)return"";return`---
|
|
4
|
-
${t.join(`
|
|
5
|
-
`)}
|
|
6
|
-
---
|
|
7
|
-
`}var S=["title","status","owner","topics","department","tags","updated"];export{S as SUGGESTED_KEYS,g as buildFrontmatter,w as parseFrontmatterEntries};
|
|
1
|
+
import{j,te,ne}from"../chunk-vtjd21bw.js";export{ne as SUGGESTED_KEYS,te as buildFrontmatter,j as parseFrontmatterEntries};
|
package/dist/content/host.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ComponentProps, type ComponentType, type ReactNode } from "react";
|
|
2
|
-
import type { UserBrief } from "../contract
|
|
3
|
-
import type { DriveTransport } from "../core
|
|
2
|
+
import type { UserBrief } from "../contract";
|
|
3
|
+
import type { DriveTransport } from "../core";
|
|
4
4
|
export interface DriveContentHost {
|
|
5
5
|
transport: DriveTransport;
|
|
6
6
|
userName: string;
|
package/dist/content/host.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Be,o,i,s,a,L,P,re}from"../chunk-mafn36hy.js";export{a as Button,re as Checkbox,Be as DriveContentProvider,L as Input,P as Textarea,s as cn,o as useContentHost,i as useTranslation};
|
|
@@ -1,187 +1 @@
|
|
|
1
|
-
|
|
2
|
-
"use strict"
|
|
3
|
-
if (window.__yupCommentBridge) return
|
|
4
|
-
window.__yupCommentBridge = true
|
|
5
|
-
|
|
6
|
-
var HIGHLIGHT_CLASS = "yup-comment-highlight"
|
|
7
|
-
var MARKER_CLASS = "yup-comment-marker"
|
|
8
|
-
var STYLE_ID = "yup-comment-style"
|
|
9
|
-
var FLASH_CLASS = "yup-comment-flash"
|
|
10
|
-
|
|
11
|
-
function post(message) {
|
|
12
|
-
try {
|
|
13
|
-
window.parent.postMessage(message, "*")
|
|
14
|
-
} catch (error) { console.warn("Drive comment bridge could not notify its host", error) }
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function ensureStyle() {
|
|
18
|
-
if (document.getElementById(STYLE_ID)) return
|
|
19
|
-
var style = document.createElement("style")
|
|
20
|
-
style.id = STYLE_ID
|
|
21
|
-
style.textContent = [
|
|
22
|
-
"." + HIGHLIGHT_CLASS + "{background:color-mix(in srgb,var(--primary,currentColor) 18%,transparent);border-bottom:2px solid var(--primary,currentColor);cursor:pointer;}",
|
|
23
|
-
"." + HIGHLIGHT_CLASS + ":hover{background:color-mix(in srgb,var(--primary,currentColor) 42%,transparent);}",
|
|
24
|
-
"." +
|
|
25
|
-
MARKER_CLASS +
|
|
26
|
-
"{display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;" +
|
|
27
|
-
"margin:0 2px;padding:0 3px;border-radius:8px;background:var(--primary,currentColor);color:var(--primary-foreground,Canvas);font-size:10px;" +
|
|
28
|
-
"line-height:1;font-weight:600;font-style:normal;vertical-align:super;cursor:pointer;user-select:none;}",
|
|
29
|
-
"." + FLASH_CLASS + "{animation:yup-comment-flash 1.2s ease-out;}",
|
|
30
|
-
"@keyframes yup-comment-flash{0%{background:color-mix(in srgb,var(--primary,currentColor) 35%,transparent);}100%{background:color-mix(in srgb,var(--primary,currentColor) 18%,transparent);}}"
|
|
31
|
-
].join("")
|
|
32
|
-
;(document.head || document.documentElement).appendChild(style)
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
function flatten() {
|
|
37
|
-
var walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT)
|
|
38
|
-
var segments = []
|
|
39
|
-
var text = ""
|
|
40
|
-
var node
|
|
41
|
-
while ((node = walker.nextNode())) {
|
|
42
|
-
var value = node.nodeValue || ""
|
|
43
|
-
if (value.length === 0) continue
|
|
44
|
-
segments.push({ start: text.length, end: text.length + value.length, node: node })
|
|
45
|
-
text += value
|
|
46
|
-
}
|
|
47
|
-
return { text: text, segments: segments }
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
function clearMarkers() {
|
|
52
|
-
var marks = document.querySelectorAll("." + MARKER_CLASS)
|
|
53
|
-
for (var i = 0; i < marks.length; i++) {
|
|
54
|
-
if (marks[i].parentNode) marks[i].parentNode.removeChild(marks[i])
|
|
55
|
-
}
|
|
56
|
-
var spans = document.querySelectorAll("." + HIGHLIGHT_CLASS)
|
|
57
|
-
for (var j = 0; j < spans.length; j++) {
|
|
58
|
-
var span = spans[j]
|
|
59
|
-
var parent = span.parentNode
|
|
60
|
-
if (!parent) continue
|
|
61
|
-
while (span.firstChild) parent.insertBefore(span.firstChild, span)
|
|
62
|
-
parent.removeChild(span)
|
|
63
|
-
}
|
|
64
|
-
document.body.normalize()
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
function wrapRange(segments, start, end, threadId) {
|
|
69
|
-
var wrapped = []
|
|
70
|
-
for (var i = 0; i < segments.length; i++) {
|
|
71
|
-
var segment = segments[i]
|
|
72
|
-
var from = Math.max(segment.start, start)
|
|
73
|
-
var to = Math.min(segment.end, end)
|
|
74
|
-
if (from >= to) continue
|
|
75
|
-
try {
|
|
76
|
-
var range = document.createRange()
|
|
77
|
-
range.setStart(segment.node, from - segment.start)
|
|
78
|
-
range.setEnd(segment.node, to - segment.start)
|
|
79
|
-
var span = document.createElement("span")
|
|
80
|
-
span.className = HIGHLIGHT_CLASS
|
|
81
|
-
span.setAttribute("data-thread-id", threadId)
|
|
82
|
-
range.surroundContents(span)
|
|
83
|
-
wrapped.push(span)
|
|
84
|
-
} catch (error) { console.warn("Drive comment quote changed during anchoring", error) }
|
|
85
|
-
}
|
|
86
|
-
return wrapped
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
var applying = false
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
function applyAnchors(anchors) {
|
|
93
|
-
applying = true
|
|
94
|
-
try {
|
|
95
|
-
clearMarkers()
|
|
96
|
-
ensureStyle()
|
|
97
|
-
var flat = flatten()
|
|
98
|
-
var anchored = []
|
|
99
|
-
for (var i = 0; i < anchors.length; i++) {
|
|
100
|
-
var anchor = anchors[i]
|
|
101
|
-
var spans = wrapRange(flat.segments, anchor.start, anchor.end, String(anchor.threadId))
|
|
102
|
-
if (spans.length === 0) continue
|
|
103
|
-
var marker = document.createElement("span")
|
|
104
|
-
marker.className = MARKER_CLASS
|
|
105
|
-
marker.setAttribute("data-thread-id", String(anchor.threadId))
|
|
106
|
-
marker.textContent = String(anchor.index)
|
|
107
|
-
var last = spans[spans.length - 1]
|
|
108
|
-
if (last.parentNode) last.parentNode.insertBefore(marker, last.nextSibling)
|
|
109
|
-
anchored.push(anchor.threadId)
|
|
110
|
-
}
|
|
111
|
-
post({ type: "yup:anchored", threadIds: anchored })
|
|
112
|
-
} finally {
|
|
113
|
-
applying = false
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function scrollToThread(threadId) {
|
|
118
|
-
var target = document.querySelector("." + HIGHLIGHT_CLASS + '[data-thread-id="' + threadId + '"]')
|
|
119
|
-
if (!target) return
|
|
120
|
-
target.scrollIntoView({ behavior: "smooth", block: "center" })
|
|
121
|
-
target.classList.remove(FLASH_CLASS)
|
|
122
|
-
void target.offsetWidth // Restart the highlight animation.
|
|
123
|
-
target.classList.add(FLASH_CLASS)
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
document.addEventListener("click", function (event) {
|
|
127
|
-
var node = event.target
|
|
128
|
-
while (node && node !== document.body) {
|
|
129
|
-
if (node.classList && (node.classList.contains(MARKER_CLASS) || node.classList.contains(HIGHLIGHT_CLASS))) {
|
|
130
|
-
post({ type: "yup:marker-click", threadId: node.getAttribute("data-thread-id") })
|
|
131
|
-
return
|
|
132
|
-
}
|
|
133
|
-
node = node.parentNode
|
|
134
|
-
}
|
|
135
|
-
})
|
|
136
|
-
|
|
137
|
-
document.addEventListener("selectionchange", function () {
|
|
138
|
-
if (applying) return
|
|
139
|
-
var selection = document.getSelection()
|
|
140
|
-
if (!selection || selection.isCollapsed || selection.rangeCount === 0) {
|
|
141
|
-
post({ type: "yup:selection", quote: null })
|
|
142
|
-
return
|
|
143
|
-
}
|
|
144
|
-
var quote = selection.toString().trim()
|
|
145
|
-
if (quote.length === 0 || quote.length > 1000) {
|
|
146
|
-
post({ type: "yup:selection", quote: null })
|
|
147
|
-
return
|
|
148
|
-
}
|
|
149
|
-
var range = selection.getRangeAt(0)
|
|
150
|
-
var offset = 0
|
|
151
|
-
var walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT)
|
|
152
|
-
var node
|
|
153
|
-
var located = false
|
|
154
|
-
while ((node = walker.nextNode())) {
|
|
155
|
-
if (node === range.startContainer) {
|
|
156
|
-
offset += range.startOffset
|
|
157
|
-
located = true
|
|
158
|
-
break
|
|
159
|
-
}
|
|
160
|
-
offset += (node.nodeValue || "").length
|
|
161
|
-
}
|
|
162
|
-
var rect = range.getBoundingClientRect()
|
|
163
|
-
post({
|
|
164
|
-
type: "yup:selection",
|
|
165
|
-
quote: quote,
|
|
166
|
-
quoteOffset: located ? offset : null,
|
|
167
|
-
rect: { top: rect.top, left: rect.left, bottom: rect.bottom, right: rect.right }
|
|
168
|
-
})
|
|
169
|
-
})
|
|
170
|
-
|
|
171
|
-
window.addEventListener("message", function (event) {
|
|
172
|
-
if (event.source !== window.parent) return
|
|
173
|
-
var data = event.data
|
|
174
|
-
if (!data || typeof data.type !== "string") return
|
|
175
|
-
if (data.type === "yup:anchors") applyAnchors(data.anchors || [])
|
|
176
|
-
else if (data.type === "yup:scroll-to") scrollToThread(String(data.threadId))
|
|
177
|
-
else if (data.type === "yup:flatten") post({ type: "yup:flat", text: flatten().text })
|
|
178
|
-
})
|
|
179
|
-
|
|
180
|
-
function announce() {
|
|
181
|
-
post({ type: "yup:ready", text: flatten().text })
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", announce)
|
|
185
|
-
else announce()
|
|
186
|
-
})()
|
|
187
|
-
`;export{n as htmlCommentBridge};
|
|
1
|
+
import{Y}from"../chunk-13ret1k0.js";export{Y as htmlCommentBridge};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{G}from"../chunk-j2mc48dt.js";import"../chunk-rg43mads.js";import"../chunk-2ss7362z.js";import"../chunk-zf44znpx.js";import"../chunk-bh4wjd78.js";import"../chunk-mafn36hy.js";import"../chunk-pc21jzd8.js";import"../chunk-qabnvepm.js";export{G as HtmlComments};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`).trim();if(i.length===0||i.length>I){c(null);return}let{segments:T}=L(n.state.doc),v=s.getBoundingClientRect();c({quote:i,quoteOffset:E(T,a),rect:{top:v.top,left:v.left}})};return document.addEventListener("selectionchange",o),()=>document.removeEventListener("selectionchange",o)},[u,t]),u===null)return null;return g(q,{children:l!==null&&f===null&&g(D,{rect:l.rect,onClick:()=>{h(l),c(null)}})})}export{H as MarkdownComments};
|
|
1
|
+
import{H}from"../chunk-kzjc8c8g.js";import"../chunk-rg43mads.js";import"../chunk-2ss7362z.js";import"../chunk-zf44znpx.js";import"../chunk-bh4wjd78.js";import"../chunk-mafn36hy.js";import"../chunk-j234gbr1.js";import"../chunk-pc21jzd8.js";import"../chunk-qabnvepm.js";export{H as MarkdownComments};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UserBrief } from "../contract
|
|
2
|
-
import { type MentionQuery } from "./comment-mentions
|
|
1
|
+
import type { UserBrief } from "../contract";
|
|
2
|
+
import { type MentionQuery } from "./comment-mentions";
|
|
3
3
|
export declare function MentionPicker({ mention, onPick }: {
|
|
4
4
|
mention: MentionQuery | null;
|
|
5
5
|
onPick: (person: UserBrief) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{J,Q}from"../chunk-bh4wjd78.js";import"../chunk-mafn36hy.js";import"../chunk-qabnvepm.js";export{J as MentionPicker,Q as MentionedBody};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { DriveContentHost } from "./host
|
|
1
|
+
import type { DriveContentHost } from "./host";
|
|
2
2
|
export declare function createVersionSaver(host: DriveContentHost, path: string, canSave: () => boolean, onSaving: (saving: boolean) => void): () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{Z}from"../chunk-34qgf6be.js";export{Z as createVersionSaver};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type DriveLocale } from "../locales
|
|
1
|
+
import { type DriveLocale } from "../locales";
|
|
2
2
|
export declare function driveContentTranslator(locale: DriveLocale): (key: string, values?: Record<string, unknown>) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Te}from"../chunk-8sdw30dr.js";import"../chunk-3fpcak8h.js";export{Te as driveContentTranslator};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CommentContext, CreateCommentRequest, FileComment, RemoteId } from "../contract
|
|
1
|
+
import type { CommentContext, CreateCommentRequest, FileComment, RemoteId } from "../contract";
|
|
2
2
|
export interface FileComments {
|
|
3
3
|
context: CommentContext | null;
|
|
4
4
|
comments: FileComment[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{K}from"../chunk-2ss7362z.js";import"../chunk-mafn36hy.js";export{K as useFileComments};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RemoteId } from "../contract
|
|
1
|
+
import type { RemoteId } from "../contract";
|
|
2
2
|
export declare const YUPLINK_EXTENSION = ".yuplink";
|
|
3
3
|
export declare function isYuplinkName(name: string): boolean;
|
|
4
4
|
export declare function yuplinkDisplayName(name: string): string;
|
package/dist/content/yuplink.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
`}export{p as YUPLINK_EXTENSION,f as buildYuplinkContent,u as isYuplinkName,a as parseYuplink,s as yuplinkDisplayName};
|
|
1
|
+
import{dt,X,_e,ze,Ue}from"../chunk-8gmexfjt.js";export{dt as YUPLINK_EXTENSION,Ue as buildYuplinkContent,X as isYuplinkName,ze as parseYuplink,_e as yuplinkDisplayName};
|
package/dist/content.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { DriveContentProvider, type DriveContentHost } from "./content/host
|
|
2
|
-
export { CommentSurface, commentPathOf } from "./content/comment-surface
|
|
3
|
-
export { drivePreviewIntegrations, createDriveMarkdownIntegration } from "./content/editor
|
|
4
|
-
export { parseYuplink, buildYuplinkContent, yuplinkDisplayName, isYuplinkName, type YuplinkTarget } from "./content/yuplink
|
|
5
|
-
export { driveFileWebUrl, driveFileDeepLink, parseDriveFileDeepLinkPath } from "./content/file-link
|
|
6
|
-
export { splitFrontmatter } from "./content/collab
|
|
7
|
-
export { DriveCondense, type DriveCondenseProps, type CondenseScope } from "./content/condense
|
|
8
|
-
export { driveContentTranslator } from "./content/translations
|
|
9
|
-
export { DriveFileActions, DriveMoveDialog, resolveDriveRoot, resolveCondenseScope, type DriveFileActionHost, type DriveMoveHost } from "./content/file-actions
|
|
10
|
-
export { ChatCondenseEntry, type ChatCondenseEntryProps, type CondenseSnoozeHost } from "./content/chat-condense
|
|
1
|
+
export { DriveContentProvider, type DriveContentHost } from "./content/host";
|
|
2
|
+
export { CommentSurface, commentPathOf } from "./content/comment-surface";
|
|
3
|
+
export { drivePreviewIntegrations, createDriveMarkdownIntegration } from "./content/editor";
|
|
4
|
+
export { parseYuplink, buildYuplinkContent, yuplinkDisplayName, isYuplinkName, type YuplinkTarget } from "./content/yuplink";
|
|
5
|
+
export { driveFileWebUrl, driveFileDeepLink, parseDriveFileDeepLinkPath } from "./content/file-link";
|
|
6
|
+
export { splitFrontmatter } from "./content/collab";
|
|
7
|
+
export { DriveCondense, type DriveCondenseProps, type CondenseScope } from "./content/condense";
|
|
8
|
+
export { driveContentTranslator } from "./content/translations";
|
|
9
|
+
export { DriveFileActions, DriveMoveDialog, resolveDriveRoot, resolveCondenseScope, type DriveFileActionHost, type DriveMoveHost } from "./content/file-actions";
|
|
10
|
+
export { ChatCondenseEntry, type ChatCondenseEntryProps, type CondenseSnoozeHost } from "./content/chat-condense";
|
package/dist/content.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Be}from"./chunk-mafn36hy.js";import"./chunk-pc21jzd8.js";import"./chunk-qabnvepm.js";import"./chunk-bh4wjd78.js";import"./chunk-zf44znpx.js";import"./chunk-2ss7362z.js";import{W,Oe}from"./chunk-rg43mads.js";import{b}from"./chunk-m6a9k1p0.js";import"./chunk-j234gbr1.js";import"./chunk-vtjd21bw.js";import"./chunk-nf37g7p6.js";import"./chunk-13ret1k0.js";import"./chunk-j2mc48dt.js";import"./chunk-kzjc8c8g.js";import"./chunk-34qgf6be.js";import{B,Me}from"./chunk-n9sgwcq1.js";import{X,_e,ze,Ue}from"./chunk-8gmexfjt.js";import{k,R,qe}from"./chunk-njfqtysa.js";import"./chunk-3fpcak8h.js";import"./chunk-ayvem7j8.js";import"./chunk-ws1dtw35.js";import"./chunk-pbxjprxa.js";import{Ge}from"./chunk-4rfsdwgj.js";import{Te}from"./chunk-8sdw30dr.js";import{x,h,Le,Fe}from"./chunk-563we221.js";import{je}from"./chunk-jxs49r5w.js";export{je as ChatCondenseEntry,Oe as CommentSurface,Ge as DriveCondense,Be as DriveContentProvider,Le as DriveFileActions,Fe as DriveMoveDialog,Ue as buildYuplinkContent,W as commentPathOf,B as createDriveMarkdownIntegration,Te as driveContentTranslator,R as driveFileDeepLink,k as driveFileWebUrl,Me as drivePreviewIntegrations,X as isYuplinkName,qe as parseDriveFileDeepLinkPath,ze as parseYuplink,h as resolveCondenseScope,x as resolveDriveRoot,b as splitFrontmatter,_e as yuplinkDisplayName};
|