@hiai-gg/docsmint 0.3.6 → 0.3.7

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.
Files changed (141) hide show
  1. package/dist/backend/index.js +1 -1
  2. package/dist/frontend/CategoryDialog--rIE7FrH.js +580 -0
  3. package/dist/frontend/ConfirmDialog-Cpzyb55f.js +212 -0
  4. package/dist/frontend/CreateSnapshotDialog-CmkV-n2A.js +216 -0
  5. package/dist/frontend/DatePicker-Byynca7V.js +257 -0
  6. package/dist/frontend/DeleteDialog-ap6nOywZ.js +174 -0
  7. package/dist/frontend/FolderDialog-DmN_trV0.js +247 -0
  8. package/dist/frontend/FolderNode-C4B8a2fd.js +317 -0
  9. package/dist/frontend/FolderTreeSelector-D6ijiZTA.js +100 -0
  10. package/dist/frontend/Icon-DtNo0N1U.js +64 -0
  11. package/dist/frontend/SettingsDialog-2kTaTXAs.js +992 -0
  12. package/dist/frontend/ShareDialog-BBDGNF5n.js +165 -0
  13. package/dist/frontend/TagCreateDialog-DiLZnJo4.js +258 -0
  14. package/dist/frontend/api/attachments.d.ts +6 -0
  15. package/dist/frontend/api/attachments.js +2 -0
  16. package/dist/frontend/api/categories.js +1 -1
  17. package/dist/frontend/api/documents.js +1 -1
  18. package/dist/frontend/api/folders.js +1 -1
  19. package/dist/frontend/api/settings.js +1 -1
  20. package/dist/frontend/api/share.d.ts +5 -0
  21. package/dist/frontend/api/share.js +2 -0
  22. package/dist/frontend/api/tags.js +1 -1
  23. package/dist/frontend/api-keys-CpkrA8rD.js +35 -0
  24. package/dist/frontend/attachments-BuILSs56.js +50 -0
  25. package/dist/frontend/{settings-PCrOtied.js → auth-client-Cygmp1I2.js} +205 -265
  26. package/dist/frontend/awareness-snQ3RD9f.js +3714 -0
  27. package/dist/frontend/bundle-mjs-CP6Owz-8.js +1723 -0
  28. package/dist/frontend/camera-B7dAOd4s.js +28 -0
  29. package/dist/frontend/{categories-BE6ZpZl8.js → categories-izQovv2w.js} +1 -1
  30. package/dist/frontend/check-CDwRlG9T.js +24 -0
  31. package/dist/frontend/chevron-down-B7ZrjUmT.js +24 -0
  32. package/dist/frontend/circle-check-CDqeMB2d.js +28 -0
  33. package/dist/frontend/{client-C6QQGb0e.js → client-Bc5Fzx40.js} +833 -814
  34. package/dist/frontend/{client-B9hzI0W8.js → client-GbtOH90i.js} +1 -1
  35. package/dist/frontend/clipboard-Cgzxc0_R.js +16 -0
  36. package/dist/frontend/clock-Ck5Sn-Zl.js +28 -0
  37. package/dist/frontend/clsx-nmtDPO_P.js +16 -0
  38. package/dist/frontend/collaboration.d.ts +6 -0
  39. package/dist/frontend/collaboration.js +182 -0
  40. package/dist/frontend/components/category-dialog.d.ts +2 -0
  41. package/dist/frontend/components/category-dialog.js +2 -0
  42. package/dist/frontend/components/create-snapshot-dialog.d.ts +2 -0
  43. package/dist/frontend/components/create-snapshot-dialog.js +2 -0
  44. package/dist/frontend/components/delete-dialog.d.ts +2 -0
  45. package/dist/frontend/components/delete-dialog.js +2 -0
  46. package/dist/frontend/components/editor/document-editor.d.ts +3 -0
  47. package/dist/frontend/components/editor/document-editor.js +3021 -0
  48. package/dist/frontend/components/editor/document-title.d.ts +2 -0
  49. package/dist/frontend/components/editor/document-title.js +31 -0
  50. package/dist/frontend/components/editor/docx-serializer.d.ts +2 -0
  51. package/dist/frontend/components/editor/docx-serializer.js +14600 -0
  52. package/dist/frontend/components/editor/extensions.d.ts +2 -0
  53. package/dist/frontend/components/editor/extensions.js +2 -0
  54. package/dist/frontend/components/editor/markdown-toggle.d.ts +2 -0
  55. package/dist/frontend/components/editor/markdown-toggle.js +72 -0
  56. package/dist/frontend/components/editor/markdown.d.ts +1 -0
  57. package/dist/frontend/components/editor/markdown.js +2 -0
  58. package/dist/frontend/components/folder-node.d.ts +3 -0
  59. package/dist/frontend/components/folder-node.js +2 -0
  60. package/dist/frontend/components/folder-tree-selector.d.ts +2 -0
  61. package/dist/frontend/components/folder-tree-selector.js +2 -0
  62. package/dist/frontend/components/save-as-dialog.d.ts +2 -0
  63. package/dist/frontend/components/save-as-dialog.js +254 -0
  64. package/dist/frontend/components/settings.js +1 -1
  65. package/dist/frontend/components/share-dialog.d.ts +2 -0
  66. package/dist/frontend/components/share-dialog.js +2 -0
  67. package/dist/frontend/components/sidebar.js +1206 -3762
  68. package/dist/frontend/components/tag-create-dialog.d.ts +2 -0
  69. package/dist/frontend/components/tag-create-dialog.js +2 -0
  70. package/dist/frontend/components/version-history.d.ts +2 -0
  71. package/dist/frontend/components/version-history.js +293 -0
  72. package/dist/frontend/{context-DbnW5yib.js → context-BMD6XTPe.js} +0 -3
  73. package/dist/frontend/copy-CMAA6GP0.js +31 -0
  74. package/dist/frontend/dashboard.js +1148 -1224
  75. package/dist/frontend/{SettingsDialog-D4pgFD0D.js → db-ByrlYfaI.js} +923 -2002
  76. package/dist/frontend/dialog-BDkiG42a.js +213 -0
  77. package/dist/frontend/disclose-version-5I57E3LD.js +3 -0
  78. package/dist/frontend/dndzone-BzsOINtP.js +1199 -0
  79. package/dist/frontend/doc-tabs.d.ts +7 -0
  80. package/dist/frontend/doc-tabs.js +14 -0
  81. package/dist/frontend/document-drop-coordinator-C4xHMjwC.js +68 -0
  82. package/dist/frontend/document-drop-coordinator.d.ts +2 -0
  83. package/dist/frontend/document-drop-coordinator.js +2 -0
  84. package/dist/frontend/{documents-DFVS9SsL.js → documents-BsDkvzCm.js} +1 -1
  85. package/dist/frontend/editorExtensions-BMHvUbdk.js +27021 -0
  86. package/dist/frontend/ellipsis-vertical-BBuPldbW.js +519 -0
  87. package/dist/frontend/extension.js +6 -5
  88. package/dist/frontend/floating-layer-anchor-C51M4l6v.js +4513 -0
  89. package/dist/frontend/folder-TQjKY4yn.js +44 -0
  90. package/dist/frontend/folder-refresh.d.ts +8 -0
  91. package/dist/frontend/folder-refresh.js +2 -0
  92. package/dist/frontend/{folders-CGe9diAG.js → folders-CTuV_JtU.js} +1 -1
  93. package/dist/frontend/frontend.css +1 -1
  94. package/dist/frontend/i18n.js +1 -1
  95. package/dist/frontend/identity-DyWeNzu_.js +69 -0
  96. package/dist/frontend/index-client-jobkrWVL.js +86 -0
  97. package/dist/frontend/input-CBI6p4Xl.js +23 -0
  98. package/dist/frontend/keyboard.d.ts +14 -0
  99. package/dist/frontend/keyboard.js +2 -0
  100. package/dist/frontend/keyboard.svelte-D7H8DihC.js +133 -0
  101. package/dist/frontend/label-C-GkhEp4.js +30 -0
  102. package/dist/frontend/loader-circle-Bk-WFz9g.js +267 -0
  103. package/dist/frontend/markdown-BwnyjITU.js +11 -0
  104. package/dist/frontend/messages-BpYaLbzE.js +1091 -0
  105. package/dist/frontend/offline/identity.d.ts +6 -0
  106. package/dist/frontend/offline/identity.js +2 -0
  107. package/dist/frontend/resolve-BG4HgzpN.js +19 -0
  108. package/dist/frontend/rolldown-runtime-CWhphoD1.js +23 -0
  109. package/dist/frontend/rotate-ccw-CleZtJ5D.js +24 -0
  110. package/dist/frontend/search.js +637 -628
  111. package/dist/frontend/select-value-CvrWRkXW.js +1436 -0
  112. package/dist/frontend/settings-blyobazp.js +62 -0
  113. package/dist/frontend/share-Cu7SSJuJ.js +28 -0
  114. package/dist/frontend/shared-document.js +41 -40
  115. package/dist/frontend/subfolders-refresh-store.svelte-BsheoQma.js +65 -0
  116. package/dist/frontend/{tag-C5xrg-bb.js → tag-Dx3SmucJ.js} +7 -7
  117. package/dist/frontend/tag-store.svelte-CIaF4sdZ.js +29 -0
  118. package/dist/frontend/{tags-DVXTut0p.js → tags-CtCV0Djo.js} +1 -1
  119. package/dist/frontend/textarea-Dfp78XlL.js +23 -0
  120. package/dist/frontend/theme.js +1 -1
  121. package/dist/frontend/{theme.svelte-ei0QxXa8.js → theme.svelte-CROg1Hi5.js} +7 -7
  122. package/dist/frontend/types.d.ts +6 -0
  123. package/dist/frontend/types.js +0 -0
  124. package/dist/frontend/utils/clipboard.d.ts +1 -0
  125. package/dist/frontend/utils/clipboard.js +2 -0
  126. package/dist/frontend/utils/dndzone.d.ts +4 -0
  127. package/dist/frontend/utils/dndzone.js +2 -0
  128. package/dist/frontend/utils-C0OW2678.js +20 -0
  129. package/dist/frontend/utils-D8kmM3ub.js +8 -0
  130. package/dist/frontend/utils.d.ts +4 -0
  131. package/dist/frontend/utils.js +2 -0
  132. package/dist/frontend/x-DaTdeDXv.js +24 -0
  133. package/package.json +109 -1
  134. package/packages/cli/src/index.ts +1 -1
  135. package/packages/mcp-server/src/index.ts +1 -1
  136. package/dist/frontend/DatePicker-BcMD49PV.js +0 -275
  137. package/dist/frontend/ShareDialog-Dzh7rV7J.js +0 -1317
  138. package/dist/frontend/input-ieWIt8I7.js +0 -257
  139. package/dist/frontend/messages-CTGAsqFu.js +0 -1106
  140. package/dist/frontend/resolve-Bl6xmJl_.js +0 -2068
  141. package/dist/frontend/tag-store.svelte-B3839FYq.js +0 -6152
@@ -0,0 +1,213 @@
1
+ import "./disclose-version-5I57E3LD.js";
2
+ import { $ as e, A as t, E as n, I as r, L as i, M as a, O as o, Q as s, V as c, _t as l, at as u, dt as d, et as f, ft as p, j as m, l as h, n as g, o as _, q as v, r as y, rt as b } from "./client-Bc5Fzx40.js";
3
+ import { n as x } from "./loader-circle-Bk-WFz9g.js";
4
+ import { t as S } from "./utils-D8kmM3ub.js";
5
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/button/button.svelte
6
+ var C = /* @__PURE__ */ new Set([
7
+ "$$slots",
8
+ "$$events",
9
+ "$$legacy",
10
+ "class",
11
+ "variant",
12
+ "size",
13
+ "ref",
14
+ "href",
15
+ "children"
16
+ ]), w = a("<a><!></a>"), T = a("<button><!></button>");
17
+ function E(r, i) {
18
+ p(i, !0);
19
+ let a = g(i, "variant", 3, "default"), c = g(i, "size", 3, "default"), u = g(i, "ref", 15, null), f = g(i, "href", 3, void 0), v = y(i, C);
20
+ var b = m(), x = e(b), E = (r) => {
21
+ var d = w();
22
+ h(d, (e) => ({
23
+ href: f(),
24
+ class: e,
25
+ ...v
26
+ }), [() => S(D({
27
+ variant: a(),
28
+ size: c()
29
+ }), i.class)]);
30
+ var p = s(d), g = (n) => {
31
+ var r = m();
32
+ o(e(r), () => i.children), t(n, r);
33
+ };
34
+ n(p, (e) => {
35
+ i.children && e(g);
36
+ }), l(d), _(d, (e) => u(e), () => u()), t(r, d);
37
+ }, O = (r) => {
38
+ var d = T();
39
+ h(d, (e) => ({
40
+ class: e,
41
+ ...v
42
+ }), [() => S(D({
43
+ variant: a(),
44
+ size: c()
45
+ }), i.class)]);
46
+ var f = s(d), p = (n) => {
47
+ var r = m();
48
+ o(e(r), () => i.children), t(n, r);
49
+ };
50
+ n(f, (e) => {
51
+ i.children && e(p);
52
+ }), l(d), _(d, (e) => u(e), () => u()), t(r, d);
53
+ };
54
+ n(x, (e) => {
55
+ f() ? e(E) : e(O, -1);
56
+ }), t(r, b), d();
57
+ }
58
+ //#endregion
59
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/button/index.js
60
+ var D = x({
61
+ base: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
62
+ variants: {
63
+ variant: {
64
+ default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
65
+ destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
66
+ outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
67
+ secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
68
+ ghost: "hover:bg-accent hover:text-accent-foreground",
69
+ link: "text-primary underline-offset-4 hover:underline"
70
+ },
71
+ size: {
72
+ default: "h-9 px-4 py-2",
73
+ sm: "h-8 rounded-md px-3 text-xs",
74
+ lg: "h-10 rounded-md px-8",
75
+ icon: "h-9 w-9"
76
+ }
77
+ },
78
+ defaultVariants: {
79
+ variant: "default",
80
+ size: "default"
81
+ }
82
+ }), O = a("<div class=\"fixed inset-0 z-50 flex items-center justify-center\"><div class=\"fixed inset-0 bg-black/80\" aria-hidden=\"true\"></div> <div class=\"relative z-50 grid w-full max-w-lg gap-4 border bg-background p-6 shadow-lg sm:rounded-lg\" role=\"dialog\" aria-modal=\"true\"><!></div></div>");
83
+ function k(r, a) {
84
+ p(a, !0);
85
+ let h = g(a, "open", 15, !1), y = u(null);
86
+ function x() {
87
+ h(!1), a.onOpenChange?.(!1);
88
+ }
89
+ function S(e) {
90
+ e.key === "Escape" && x();
91
+ }
92
+ function C(e) {
93
+ c(y) && !c(y).contains(e.target) && x();
94
+ }
95
+ v(() => (h() ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
96
+ document.body.style.overflow = "";
97
+ }));
98
+ var w = m(), T = e(w), E = (r) => {
99
+ var u = O(), d = f(s(u), 2), p = s(d), h = (n) => {
100
+ var r = m();
101
+ o(e(r), () => a.children), t(n, r);
102
+ };
103
+ n(p, (e) => {
104
+ a.children && e(h);
105
+ }), l(d), _(d, (e) => b(y, e), () => c(y)), l(u), i("keydown", u, S), i("click", u, C), t(r, u);
106
+ };
107
+ n(T, (e) => {
108
+ h() && e(E);
109
+ }), t(r, w), d();
110
+ }
111
+ r(["keydown", "click"]);
112
+ //#endregion
113
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-description.svelte
114
+ var A = /* @__PURE__ */ new Set([
115
+ "$$slots",
116
+ "$$events",
117
+ "$$legacy",
118
+ "class",
119
+ "children"
120
+ ]), j = a("<p><!></p>");
121
+ function M(r, i) {
122
+ p(i, !0);
123
+ let a = y(i, A);
124
+ var c = j();
125
+ h(c, (e) => ({
126
+ class: e,
127
+ ...a
128
+ }), [() => S("text-sm text-muted-foreground", i.class)]);
129
+ var u = s(c), f = (n) => {
130
+ var r = m();
131
+ o(e(r), () => i.children), t(n, r);
132
+ };
133
+ n(u, (e) => {
134
+ i.children && e(f);
135
+ }), l(c), t(r, c), d();
136
+ }
137
+ //#endregion
138
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-footer.svelte
139
+ var N = /* @__PURE__ */ new Set([
140
+ "$$slots",
141
+ "$$events",
142
+ "$$legacy",
143
+ "class",
144
+ "children"
145
+ ]), P = a("<div><!></div>");
146
+ function F(r, i) {
147
+ p(i, !0);
148
+ let a = y(i, N);
149
+ var c = P();
150
+ h(c, (e) => ({
151
+ class: e,
152
+ ...a
153
+ }), [() => S("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", i.class)]);
154
+ var u = s(c), f = (n) => {
155
+ var r = m();
156
+ o(e(r), () => i.children), t(n, r);
157
+ };
158
+ n(u, (e) => {
159
+ i.children && e(f);
160
+ }), l(c), t(r, c), d();
161
+ }
162
+ //#endregion
163
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-header.svelte
164
+ var I = /* @__PURE__ */ new Set([
165
+ "$$slots",
166
+ "$$events",
167
+ "$$legacy",
168
+ "class",
169
+ "children"
170
+ ]), L = a("<div><!></div>");
171
+ function R(r, i) {
172
+ p(i, !0);
173
+ let a = y(i, I);
174
+ var c = L();
175
+ h(c, (e) => ({
176
+ class: e,
177
+ ...a
178
+ }), [() => S("flex flex-col space-y-1.5 text-center sm:text-left", i.class)]);
179
+ var u = s(c), f = (n) => {
180
+ var r = m();
181
+ o(e(r), () => i.children), t(n, r);
182
+ };
183
+ n(u, (e) => {
184
+ i.children && e(f);
185
+ }), l(c), t(r, c), d();
186
+ }
187
+ //#endregion
188
+ //#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-title.svelte
189
+ var z = /* @__PURE__ */ new Set([
190
+ "$$slots",
191
+ "$$events",
192
+ "$$legacy",
193
+ "class",
194
+ "children"
195
+ ]), B = a("<h2><!></h2>");
196
+ function V(r, i) {
197
+ p(i, !0);
198
+ let a = y(i, z);
199
+ var c = B();
200
+ h(c, (e) => ({
201
+ class: e,
202
+ ...a
203
+ }), [() => S("text-lg font-semibold leading-none tracking-tight", i.class)]);
204
+ var u = s(c), f = (n) => {
205
+ var r = m();
206
+ o(e(r), () => i.children), t(n, r);
207
+ };
208
+ n(u, (e) => {
209
+ i.children && e(f);
210
+ }), l(c), t(r, c), d();
211
+ }
212
+ //#endregion
213
+ export { k as a, M as i, R as n, E as o, F as r, V as t };
@@ -0,0 +1,3 @@
1
+ //#region ../node_modules/.bun/svelte@5.56.4/node_modules/svelte/src/internal/disclose-version.js
2
+ typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
3
+ //#endregion