@hiai-gg/docsmint 1.0.3 → 2.0.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/README.md +19 -4
- package/dist/backend/index.js +14297 -12972
- package/dist/frontend/{CategoryDialog-B1yQFy54.js → CategoryDialog-CJeAYxcd.js} +7 -7
- package/dist/frontend/{ConfirmDialog-9N3dJGHt.js → ConfirmDialog-B1MjKlVQ.js} +5 -5
- package/dist/frontend/{CreateSnapshotDialog-CR5BHpsb.js → CreateSnapshotDialog-BTMoPFdj.js} +4 -4
- package/dist/frontend/{DatePicker-B7p5pH4-.js → DatePicker-Bmjko3X7.js} +12 -12
- package/dist/frontend/{DeleteDialog-BqR7AQrP.js → DeleteDialog-BkfIeKXO.js} +3 -3
- package/dist/frontend/{FolderNode-BQcEuZe3.js → FolderNode-Do8pIfyA.js} +4 -4
- package/dist/frontend/{FolderTreeSelector-DqO-f0nt.js → FolderTreeSelector-FyxhcHjr.js} +3 -3
- package/dist/frontend/{HiAiEditor-BFpfeft6.js → HiAiEditor-DDpfdQEg.js} +38 -38
- package/dist/frontend/{Icon-y7xxAIC6.js → Icon-3EYzvNyk.js} +1 -1
- package/dist/frontend/{SettingsDialog-eyTOtZcw.js → SettingsDialog-DzlYW50I.js} +18 -18
- package/dist/frontend/{ShareDialog-gCbk5Rrv.js → ShareDialog-Ddvl7xvb.js} +1 -1
- package/dist/frontend/{Sidebar-3ridIx_X.js → Sidebar-rFiVen96.js} +29 -29
- package/dist/frontend/{TagCreateDialog-B0M1gqk6.js → TagCreateDialog-DQmMJe_E.js} +5 -5
- package/dist/frontend/api/categories.js +1 -1
- package/dist/frontend/api/settings.js +1 -1
- package/dist/frontend/api/tags.js +1 -1
- package/dist/frontend/app-shell.js +6 -6
- package/dist/frontend/{auth-client-DuY45VqK.js → auth-client-CXR-7mIO.js} +11 -11
- package/dist/frontend/{camera-BI-BtnIm.js → camera-DtgHzfVI.js} +2 -2
- package/dist/frontend/{categories-Bjcc41We.js → categories-C8AAkhCR.js} +1 -1
- package/dist/frontend/{check-sdTlLwi9.js → check-DVx65aSv.js} +2 -2
- package/dist/frontend/{chevron-down-DlBnIE7Y.js → chevron-down-C2tbZ8Ol.js} +2 -2
- package/dist/frontend/{circle-check-hWC-HeKu.js → circle-check-BAN-D7yg.js} +2 -2
- package/dist/frontend/{clock-C4FHq-9q.js → clock-ByiB0SwQ.js} +2 -2
- package/dist/frontend/components/category-dialog.js +1 -1
- package/dist/frontend/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend/components/delete-dialog.js +1 -1
- package/dist/frontend/components/editor/compact-editor.js +1 -1
- package/dist/frontend/components/editor/document-editor.js +1 -1
- package/dist/frontend/components/editor/markdown-toggle.js +2 -2
- package/dist/frontend/components/folder-node.js +1 -1
- package/dist/frontend/components/folder-tree-selector.js +1 -1
- package/dist/frontend/components/save-as-dialog.js +7 -7
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.js +1 -1
- package/dist/frontend/components/sidebar.js +1 -1
- package/dist/frontend/components/tag-create-dialog.js +1 -1
- package/dist/frontend/components/version-history.js +10 -10
- package/dist/frontend/{copy-4H99lwAQ.js → copy-CRzvfZGb.js} +2 -2
- package/dist/frontend/dashboard.js +48 -48
- package/dist/frontend/{db-rWMRdDfv.js → db-Dya0HRhS.js} +1 -1
- package/dist/frontend/{dialog-dq74xSum.js → dialog-a_ZcpEC5.js} +9 -9
- package/dist/frontend/{dist-BUuz1oVW.js → dist-CcHOStsA.js} +1 -1
- package/dist/frontend/dist-DcHl92QO.js +316 -0
- package/dist/frontend/{dndzone-BrakBHwm.js → dndzone-CDhrbpTg.js} +1 -1
- package/dist/frontend/{dropdown-menu-ChtRLf5S.js → dropdown-menu-DrHYReIC.js} +12 -12
- package/dist/frontend/{ellipsis-vertical-CObXWXZW.js → ellipsis-vertical-qxNgoXu-.js} +2 -2
- package/dist/frontend/{folder-BAX6qBYy.js → folder-D74E-Kdp.js} +3 -3
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/{identity-BCcv0x22.js → identity-BOA7Jejv.js} +1 -1
- package/dist/frontend/{input-DTrIztSF.js → input-Q_7qCfnU.js} +2 -2
- package/dist/frontend/{label-BidWF619.js → label-Dj8FDEhf.js} +2 -2
- package/dist/frontend/{loader-circle-DnyUzAmN.js → loader-circle-D3t5NkvC.js} +2 -2
- package/dist/frontend/offline/identity.js +1 -1
- package/dist/frontend/{popper-layer-force-mount-DeBbICF4.js → popper-layer-force-mount-CNtiLgbV.js} +63 -63
- package/dist/frontend/{rotate-ccw-DtZDfSK3.js → rotate-ccw-B1ybQ8oQ.js} +2 -2
- package/dist/frontend/schemas-1Na35n71.js +3988 -0
- package/dist/frontend/search.js +13 -13
- package/dist/frontend/{select-value-BlBmN1Vp.js → select-value-BkI1W1bn.js} +19 -19
- package/dist/frontend/{settings-BsuxLoxv.js → settings-BRcYFQa_.js} +1 -1
- package/dist/frontend/{share-context-CX9pmtDz.js → share-context-BJ4GF4yT.js} +8 -8
- package/dist/frontend/{tag-ChpMfbfa.js → tag-qbTBLj-g.js} +3 -3
- package/dist/frontend/{tags-CzPNUoFw.js → tags-CF_cqzSV.js} +1 -1
- package/dist/frontend/{textarea-704DccHJ.js → textarea-BNK0LFUK.js} +2 -2
- package/dist/frontend/theme.js +1 -1
- package/dist/frontend/{theme.svelte-B6hsI5me.js → theme.svelte-BRdxXd-B.js} +3 -3
- package/dist/frontend/utils/dndzone.js +1 -1
- package/dist/frontend/{utils-j7qLkF4C.js → utils-BlHvR6OL.js} +1 -1
- package/dist/frontend/{x-B2ifxSH7.js → x-CvSSnrjl.js} +2 -2
- package/dist/frontend-ssr/api/settings.js +1 -1
- package/dist/frontend-ssr/app-shell.js +6 -6
- package/dist/frontend-ssr/assets/{CategoryDialog-Ch4RlhLg.js → CategoryDialog-DuZLLlt7.js} +7 -7
- package/dist/frontend-ssr/assets/{ConfirmDialog-B9sc7xt5.js → ConfirmDialog-0WVu9BCE.js} +8 -8
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-XLsNLzRf.js → CreateSnapshotDialog-3vhDTFNu.js} +4 -4
- package/dist/frontend-ssr/assets/{DatePicker-BwLyP3b_.js → DatePicker-t12leL2Y.js} +7 -7
- package/dist/frontend-ssr/assets/{DeleteDialog-C0a-RBKC.js → DeleteDialog-B0AU1fJR.js} +3 -3
- package/dist/frontend-ssr/assets/{FolderNode-imYW-MNe.js → FolderNode-C-B-s8x1.js} +5 -5
- package/dist/frontend-ssr/assets/{FolderTreeSelector-DnrKCYtl.js → FolderTreeSelector-DdQuEcj0.js} +4 -4
- package/dist/frontend-ssr/assets/{HiAiEditor-CXq29oHf.js → HiAiEditor-Bj6tiE97.js} +30 -30
- package/dist/frontend-ssr/assets/{Icon-Clqe8D8X.js → Icon-DE_3EnuF.js} +4 -4
- package/dist/frontend-ssr/assets/{SettingsDialog-CH5B9IOK.js → SettingsDialog-h4SFwpUa.js} +16 -16
- package/dist/frontend-ssr/assets/{ShareDialog-CcKZFHo8.js → ShareDialog-CpE9zd_f.js} +1 -1
- package/dist/frontend-ssr/assets/{Sidebar-DQcwbR0y.js → Sidebar-BFBpsd3L.js} +26 -26
- package/dist/frontend-ssr/assets/{TagCreateDialog-DCz6I-FH.js → TagCreateDialog-DBHO1DPU.js} +4 -4
- package/dist/frontend-ssr/assets/{auth-client-CokKgEB-.js → auth-client-BC4hSFKF.js} +13 -13
- package/dist/frontend-ssr/assets/{camera-Dwwtgvfn.js → camera-B6ldo_Js.js} +2 -2
- package/dist/frontend-ssr/assets/{chevron-down-C6BTPJFz.js → chevron-down-DQcr6JUc.js} +2 -2
- package/dist/frontend-ssr/assets/{chevron-right-CseGE1qd.js → chevron-right-9szrliZx.js} +2 -2
- package/dist/frontend-ssr/assets/{circle-check-BRhWPZo1.js → circle-check-BgP9MRRv.js} +2 -2
- package/dist/frontend-ssr/assets/{clock-DpP_Y7WP.js → clock-roNtGlT6.js} +2 -2
- package/dist/frontend-ssr/assets/{copy-DRMKiRZ0.js → copy-BYqYnBIQ.js} +2 -2
- package/dist/frontend-ssr/assets/{db-BxaCyM9B.js → db-C3rFdTZa.js} +1 -1
- package/dist/frontend-ssr/assets/{dialog-Bjm7PhCc.js → dialog-SqCnTT43.js} +9 -9
- package/dist/frontend-ssr/assets/{dist-71eunluk.js → dist-CaZQ1FhA.js} +10 -10
- package/dist/frontend-ssr/assets/{dist-CshZmNmp.js → dist-CqxHwOlp.js} +3 -3
- package/dist/frontend-ssr/assets/{dndzone-WtNaDxoQ.js → dndzone-CnTCMhPd.js} +1 -1
- package/dist/frontend-ssr/assets/{dropdown-menu-dg8hpDGz.js → dropdown-menu-CE6U0f1b.js} +12 -12
- package/dist/frontend-ssr/assets/{ellipsis-vertical-BErUuhWg.js → ellipsis-vertical-Cg1MrZsl.js} +2 -2
- package/dist/frontend-ssr/assets/{folder-DszunwKc.js → folder-DHB-CEcQ.js} +2 -2
- package/dist/frontend-ssr/assets/{identity-BHNrcgU5.js → identity-DNIo1bgc.js} +1 -1
- package/dist/frontend-ssr/assets/{input-BzlpgSwc.js → input-DVrBVPgs.js} +2 -2
- package/dist/frontend-ssr/assets/{label-uycYYCYF.js → label-vtCK3pTp.js} +2 -2
- package/dist/frontend-ssr/assets/{loader-circle-BpRVrMZg.js → loader-circle-D3NWhCif.js} +2 -2
- package/dist/frontend-ssr/assets/{popper-layer-force-mount-X3deg3KH.js → popper-layer-force-mount-C4dMMt-f.js} +71 -71
- package/dist/frontend-ssr/assets/{rotate-ccw-1GOD_yt_.js → rotate-ccw-DNf3nwMD.js} +2 -2
- package/dist/frontend-ssr/assets/{select-value-BRQxTiFP.js → select-value-Ce5c_fuA.js} +18 -18
- package/dist/frontend-ssr/assets/{settings-Dy4eZk45.js → settings-DWCpfCPj.js} +1 -1
- package/dist/frontend-ssr/assets/{share-context-dIAQ413Z.js → share-context-B4UpvTSw.js} +9 -9
- package/dist/frontend-ssr/assets/{tag-DFh6nF9R.js → tag-Cqv0fWVG.js} +3 -3
- package/dist/frontend-ssr/assets/{textarea-CEUFQIma.js → textarea-BdjOJJVb.js} +2 -2
- package/dist/frontend-ssr/assets/{theme.svelte-dM8TietK.js → theme.svelte-D6bbaJ9m.js} +3 -3
- package/dist/frontend-ssr/assets/{utils-0rlYZMNr.js → utils-D3X7I8nz.js} +1 -1
- package/dist/frontend-ssr/components/category-dialog.js +1 -1
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
- package/dist/frontend-ssr/components/delete-dialog.js +1 -1
- package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +1 -1
- package/dist/frontend-ssr/components/folder-node.js +1 -1
- package/dist/frontend-ssr/components/folder-tree-selector.js +1 -1
- package/dist/frontend-ssr/components/save-as-dialog.js +6 -6
- package/dist/frontend-ssr/components/settings.js +1 -1
- package/dist/frontend-ssr/components/share-dialog.js +1 -1
- package/dist/frontend-ssr/components/sidebar.js +1 -1
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
- package/dist/frontend-ssr/components/version-history.js +10 -10
- package/dist/frontend-ssr/dashboard.js +40 -40
- package/dist/frontend-ssr/offline/identity.js +1 -1
- package/dist/frontend-ssr/search.js +8 -8
- package/dist/frontend-ssr/theme.js +1 -1
- package/dist/frontend-ssr/utils/dndzone.js +1 -1
- package/dist/lifecycle-runtime.js +7129 -1986
- package/dist/mcp-cli.js +123 -72
- package/dist/mcp-server.d.ts +15 -0
- package/dist/mcp-server.js +127 -72
- package/package.json +15 -6
- package/packages/cli/src/index.ts +1 -1
- package/server.json +2 -2
- package/dist/frontend/dist-COPpfjrc.js +0 -316
- package/dist/frontend/schemas-CdPhcuru.js +0 -3001
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as e } from "./Icon-
|
|
2
|
-
import { i as t, n, r, t as i } from "./DatePicker-
|
|
3
|
-
import { t as a } from "./check-
|
|
4
|
-
import { t as o } from "./chevron-down-
|
|
5
|
-
import { n as s, t as c } from "./folder-
|
|
6
|
-
import { t as l } from "./copy-
|
|
7
|
-
import { t as u } from "./ellipsis-vertical-
|
|
8
|
-
import { a as d, i as f, r as p, t as m } from "./share-context-
|
|
9
|
-
import { n as h, t as g } from "./FolderTreeSelector-
|
|
10
|
-
import { t as _ } from "./loader-circle-
|
|
11
|
-
import { t as v } from "./rotate-ccw-
|
|
12
|
-
import { t as y } from "./x-
|
|
1
|
+
import { t as e } from "./Icon-3EYzvNyk.js";
|
|
2
|
+
import { i as t, n, r, t as i } from "./DatePicker-Bmjko3X7.js";
|
|
3
|
+
import { t as a } from "./check-DVx65aSv.js";
|
|
4
|
+
import { t as o } from "./chevron-down-C2tbZ8Ol.js";
|
|
5
|
+
import { n as s, t as c } from "./folder-D74E-Kdp.js";
|
|
6
|
+
import { t as l } from "./copy-CRzvfZGb.js";
|
|
7
|
+
import { t as u } from "./ellipsis-vertical-qxNgoXu-.js";
|
|
8
|
+
import { a as d, i as f, r as p, t as m } from "./share-context-BJ4GF4yT.js";
|
|
9
|
+
import { n as h, t as g } from "./FolderTreeSelector-FyxhcHjr.js";
|
|
10
|
+
import { t as _ } from "./loader-circle-D3t5NkvC.js";
|
|
11
|
+
import { t as v } from "./rotate-ccw-B1ybQ8oQ.js";
|
|
12
|
+
import { t as y } from "./x-CvSSnrjl.js";
|
|
13
13
|
import { C as b, D as ee, E as te, O as ne, S as re, T as ie, _ as ae, a as x, b as oe, c as S, d as C, f as w, g as se, h as ce, i as T, k as le, l as E, m as D, n as O, o as ue, p as k, r as de, s as fe, t as A, u as pe, v as me, w as j, x as M, y as he } from "./share_copied-DPxVzfWh.js";
|
|
14
14
|
import { t as ge } from "./action_cancel-Cuxsznzz.js";
|
|
15
15
|
import { t as N } from "./action_close-BJm_52wm.js";
|
|
@@ -23,29 +23,29 @@ import { t as Ee } from "./doc_title_placeholder-DBQpM1aH.js";
|
|
|
23
23
|
import { t as De } from "./error_generic-CzNtmBT4.js";
|
|
24
24
|
import { a as Oe, i as ke, n as R, t as Ae } from "./route-context-DYQlUfzL.js";
|
|
25
25
|
import { n as je } from "./utils-BovMJHdA.js";
|
|
26
|
-
import { t as z } from "./utils-
|
|
27
|
-
import { a as Me, i as Ne, n as Pe, o as Fe, r as Ie, s as B, t as Le } from "./dialog-
|
|
28
|
-
import { t as V } from "./label-
|
|
26
|
+
import { t as z } from "./utils-BlHvR6OL.js";
|
|
27
|
+
import { a as Me, i as Ne, n as Pe, o as Fe, r as Ie, s as B, t as Le } from "./dialog-a_ZcpEC5.js";
|
|
28
|
+
import { t as V } from "./label-Dj8FDEhf.js";
|
|
29
29
|
import { n as Re } from "./client-GbtOH90i.js";
|
|
30
|
-
import { i as ze } from "./categories-
|
|
30
|
+
import { i as ze } from "./categories-C8AAkhCR.js";
|
|
31
31
|
import { t as Be } from "./context-D0zPFXZ4.js";
|
|
32
32
|
import { t as Ve } from "./resolve-BG4HgzpN.js";
|
|
33
|
-
import "./dist-
|
|
34
|
-
import { t as He } from "./ConfirmDialog-
|
|
35
|
-
import { a as Ue, i as We, n as Ge, r as Ke, t as qe } from "./select-value-
|
|
36
|
-
import { a as Je, i as Ye, n as Xe, r as H, t as Ze } from "./dropdown-menu-
|
|
33
|
+
import "./dist-DcHl92QO.js";
|
|
34
|
+
import { t as He } from "./ConfirmDialog-B1MjKlVQ.js";
|
|
35
|
+
import { a as Ue, i as We, n as Ge, r as Ke, t as qe } from "./select-value-BkI1W1bn.js";
|
|
36
|
+
import { a as Je, i as Ye, n as Xe, r as H, t as Ze } from "./dropdown-menu-DrHYReIC.js";
|
|
37
37
|
import { c as Qe, i as $e, o as et } from "./documents-CwCs1rA7.js";
|
|
38
38
|
import { c as tt, i as nt, s as rt } from "./folders-CC0UWkZH.js";
|
|
39
|
-
import { t as it } from "./ShareDialog-
|
|
39
|
+
import { t as it } from "./ShareDialog-Ddvl7xvb.js";
|
|
40
40
|
import { t as at } from "./clipboard-Cgzxc0_R.js";
|
|
41
41
|
import { d as ot, n as U } from "./subfolders-refresh-store.svelte-DxP21a1c.js";
|
|
42
42
|
import { a as st } from "./tag-store.svelte-ogVCMCbv.js";
|
|
43
43
|
import "svelte/internal/disclose-version";
|
|
44
44
|
import * as W from "svelte/internal/client";
|
|
45
45
|
import "svelte/internal/flags/legacy";
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
46
|
+
import { invalidateAll as G } from "$app/navigation";
|
|
47
|
+
import { page as K } from "$app/state";
|
|
48
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/arrow-left.svelte
|
|
49
49
|
function ct(t, n) {
|
|
50
50
|
let r = W.legacy_rest_props(n, [
|
|
51
51
|
"children",
|
|
@@ -65,7 +65,7 @@ function ct(t, n) {
|
|
|
65
65
|
}));
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
68
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/arrow-up-right.svelte
|
|
69
69
|
function lt(t, n) {
|
|
70
70
|
let r = W.legacy_rest_props(n, [
|
|
71
71
|
"children",
|
|
@@ -85,7 +85,7 @@ function lt(t, n) {
|
|
|
85
85
|
}));
|
|
86
86
|
}
|
|
87
87
|
//#endregion
|
|
88
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
88
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/circle-x.svelte
|
|
89
89
|
function ut(t, n) {
|
|
90
90
|
let r = W.legacy_rest_props(n, [
|
|
91
91
|
"children",
|
|
@@ -113,7 +113,7 @@ function ut(t, n) {
|
|
|
113
113
|
}));
|
|
114
114
|
}
|
|
115
115
|
//#endregion
|
|
116
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
116
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/files.svelte
|
|
117
117
|
function q(t, n) {
|
|
118
118
|
let r = W.legacy_rest_props(n, [
|
|
119
119
|
"children",
|
|
@@ -137,7 +137,7 @@ function q(t, n) {
|
|
|
137
137
|
}));
|
|
138
138
|
}
|
|
139
139
|
//#endregion
|
|
140
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
140
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/folder-input.svelte
|
|
141
141
|
function dt(t, n) {
|
|
142
142
|
let r = W.legacy_rest_props(n, [
|
|
143
143
|
"children",
|
|
@@ -161,7 +161,7 @@ function dt(t, n) {
|
|
|
161
161
|
}));
|
|
162
162
|
}
|
|
163
163
|
//#endregion
|
|
164
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
164
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/layout-dashboard.svelte
|
|
165
165
|
function ft(t, n) {
|
|
166
166
|
let r = W.legacy_rest_props(n, [
|
|
167
167
|
"children",
|
|
@@ -210,7 +210,7 @@ function ft(t, n) {
|
|
|
210
210
|
}));
|
|
211
211
|
}
|
|
212
212
|
//#endregion
|
|
213
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
213
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/pencil.svelte
|
|
214
214
|
function pt(t, n) {
|
|
215
215
|
let r = W.legacy_rest_props(n, [
|
|
216
216
|
"children",
|
|
@@ -230,7 +230,7 @@ function pt(t, n) {
|
|
|
230
230
|
}));
|
|
231
231
|
}
|
|
232
232
|
//#endregion
|
|
233
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
233
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/share-2.svelte
|
|
234
234
|
function mt(t, n) {
|
|
235
235
|
let r = W.legacy_rest_props(n, [
|
|
236
236
|
"children",
|
|
@@ -278,7 +278,7 @@ function mt(t, n) {
|
|
|
278
278
|
}));
|
|
279
279
|
}
|
|
280
280
|
//#endregion
|
|
281
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
281
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/trash-2.svelte
|
|
282
282
|
function ht(t, n) {
|
|
283
283
|
let r = W.legacy_rest_props(n, [
|
|
284
284
|
"children",
|
|
@@ -304,7 +304,7 @@ function ht(t, n) {
|
|
|
304
304
|
}));
|
|
305
305
|
}
|
|
306
306
|
//#endregion
|
|
307
|
-
//#region ../node_modules/.bun/lucide-svelte@1.0.1+
|
|
307
|
+
//#region ../node_modules/.bun/lucide-svelte@1.0.1+5d720e49779a0e36/node_modules/lucide-svelte/dist/icons/upload.svelte
|
|
308
308
|
function gt(t, n) {
|
|
309
309
|
let r = W.legacy_rest_props(n, [
|
|
310
310
|
"children",
|
|
@@ -328,7 +328,7 @@ function gt(t, n) {
|
|
|
328
328
|
}));
|
|
329
329
|
}
|
|
330
330
|
//#endregion
|
|
331
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
331
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/card/card.svelte
|
|
332
332
|
var _t = /* @__PURE__ */ new Set([
|
|
333
333
|
"$$slots",
|
|
334
334
|
"$$events",
|
|
@@ -354,7 +354,7 @@ function yt(e, t) {
|
|
|
354
354
|
}), W.reset(i), W.bind_this(i, (e) => n(e), () => n()), W.append(e, i), W.pop();
|
|
355
355
|
}
|
|
356
356
|
//#endregion
|
|
357
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
357
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/card/card-content.svelte
|
|
358
358
|
var bt = /* @__PURE__ */ new Set([
|
|
359
359
|
"$$slots",
|
|
360
360
|
"$$events",
|
|
@@ -380,7 +380,7 @@ function St(e, t) {
|
|
|
380
380
|
}), W.reset(i), W.bind_this(i, (e) => n(e), () => n()), W.append(e, i), W.pop();
|
|
381
381
|
}
|
|
382
382
|
//#endregion
|
|
383
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
383
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/card/card-header.svelte
|
|
384
384
|
var Ct = /* @__PURE__ */ new Set([
|
|
385
385
|
"$$slots",
|
|
386
386
|
"$$events",
|
|
@@ -633,7 +633,7 @@ function Ht(e, t) {
|
|
|
633
633
|
await Qe(t.document.id, {
|
|
634
634
|
folderId: e,
|
|
635
635
|
categoryId: n
|
|
636
|
-
}, o.fetch), await
|
|
636
|
+
}, o.fetch), await G();
|
|
637
637
|
}
|
|
638
638
|
let p = W.state(!1), m = W.state(!1), h = null;
|
|
639
639
|
async function g(e) {
|
|
@@ -887,7 +887,7 @@ function qt(e, t) {
|
|
|
887
887
|
await tt(t.folder.id, {
|
|
888
888
|
parentId: e,
|
|
889
889
|
categoryId: n
|
|
890
|
-
}, r.fetch), await
|
|
890
|
+
}, r.fetch), await G();
|
|
891
891
|
}
|
|
892
892
|
var s = Gt(), l = W.first_child(s);
|
|
893
893
|
yt(l, {
|
|
@@ -1151,9 +1151,9 @@ function An(e, a) {
|
|
|
1151
1151
|
".docx"
|
|
1152
1152
|
];
|
|
1153
1153
|
return l().capabilities?.["docsmint.import.tier2"] && e.push(".pdf", "image/*", "audio/*"), l().capabilities?.["docsmint.import.tier3"] && e.push("video/*", ".m4v", ".mkv", ".webm"), e.join(",");
|
|
1154
|
-
}), x = W.derived(() =>
|
|
1154
|
+
}), x = W.derived(() => K.url.searchParams.get("folder") || null), S = W.derived(() => K.url.searchParams.get("category") || null), C = W.state(""), w = W.state(null), T = W.state(""), E = W.state("");
|
|
1155
1155
|
W.user_effect(() => {
|
|
1156
|
-
W.set(C,
|
|
1156
|
+
W.set(C, K.url.searchParams.get("q") ?? "", !0), W.set(w, K.url.searchParams.get("tag") ?? null, !0), W.set(T, K.url.searchParams.get("dateFrom") ?? "", !0), W.set(E, K.url.searchParams.get("dateTo") ?? "", !0);
|
|
1157
1157
|
});
|
|
1158
1158
|
let D = W.state(!1), O = W.state("create"), ue = W.state(null), k = W.state(!1), de = W.state(null), fe = W.state(!1), A = W.state(!1), pe = W.state(null), me = W.state(""), j = W.state(!1), M = W.state(!1), N = W.state(null), _e = W.state(!1), P = W.state(W.proxy([])), xe = W.state(void 0), F = W.state(null), L = W.state(W.proxy([]));
|
|
1159
1159
|
function je(e, t) {
|
|
@@ -1201,7 +1201,7 @@ function An(e, a) {
|
|
|
1201
1201
|
}, b.fetch) : W.get(O) === "edit" && W.get(ue) && await Re(`/api/folders/${W.get(ue).id}`, {
|
|
1202
1202
|
method: "PATCH",
|
|
1203
1203
|
body: JSON.stringify({ name: e })
|
|
1204
|
-
}, b.fetch), W.set(D, !1), ot(), await
|
|
1204
|
+
}, b.fetch), W.set(D, !1), ot(), await G();
|
|
1205
1205
|
}
|
|
1206
1206
|
function Ie(e) {
|
|
1207
1207
|
W.set(de, e, !0), W.set(k, !0);
|
|
@@ -1211,7 +1211,7 @@ function An(e, a) {
|
|
|
1211
1211
|
if (!(!e || W.get(fe))) {
|
|
1212
1212
|
W.set(fe, !0);
|
|
1213
1213
|
try {
|
|
1214
|
-
await Re(`/api/folders/${e}`, { method: "DELETE" }, b.fetch), W.set(k, !1), W.set(de, null), await
|
|
1214
|
+
await Re(`/api/folders/${e}`, { method: "DELETE" }, b.fetch), W.set(k, !1), W.set(de, null), await G(), ot(), st();
|
|
1215
1215
|
} catch (e) {
|
|
1216
1216
|
console.error("Failed to delete folder", e);
|
|
1217
1217
|
} finally {
|
|
@@ -1228,7 +1228,7 @@ function An(e, a) {
|
|
|
1228
1228
|
if (!(!e || W.get(j))) {
|
|
1229
1229
|
W.set(j, !0);
|
|
1230
1230
|
try {
|
|
1231
|
-
await Re(`/api/documents/${e}`, { method: "DELETE" }, b.fetch), W.set(A, !1), W.set(pe, null), await
|
|
1231
|
+
await Re(`/api/documents/${e}`, { method: "DELETE" }, b.fetch), W.set(A, !1), W.set(pe, null), await G(), st();
|
|
1232
1232
|
} catch (e) {
|
|
1233
1233
|
console.error("Failed to delete document", e);
|
|
1234
1234
|
} finally {
|
|
@@ -1241,7 +1241,7 @@ function An(e, a) {
|
|
|
1241
1241
|
W.set(F, e, !0);
|
|
1242
1242
|
try {
|
|
1243
1243
|
let t = await nt(e, b.fetch);
|
|
1244
|
-
W.set(L, [...W.get(L).filter((e) => e.id !== t.id), t], !0), await
|
|
1244
|
+
W.set(L, [...W.get(L).filter((e) => e.id !== t.id), t], !0), await G();
|
|
1245
1245
|
let n = a.data.activeFolder?.documents ?? a.data.recentDocs;
|
|
1246
1246
|
W.set(L, W.get(L).filter((e) => !n.some((t) => t.id === e.id)), !0), st();
|
|
1247
1247
|
} catch (e) {
|
|
@@ -1305,7 +1305,7 @@ function An(e, a) {
|
|
|
1305
1305
|
...t,
|
|
1306
1306
|
status: "error",
|
|
1307
1307
|
error: "No response"
|
|
1308
|
-
}), !0), await
|
|
1308
|
+
}), !0), await G(), st();
|
|
1309
1309
|
} catch (e) {
|
|
1310
1310
|
console.error("Import failed:", e), W.set(P, W.get(P).map((t) => ({
|
|
1311
1311
|
...t,
|
|
@@ -1323,11 +1323,11 @@ function An(e, a) {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
function at() {
|
|
1325
1325
|
W.set(C, ""), W.set(w, null), W.set(T, ""), W.set(E, "");
|
|
1326
|
-
let e = new URLSearchParams(
|
|
1326
|
+
let e = new URLSearchParams(K.url.searchParams.toString());
|
|
1327
1327
|
return e.delete("q"), e.delete("tag"), e.delete("dateFrom"), e.delete("dateTo"), R(_, `/?${e.toString()}`);
|
|
1328
1328
|
}
|
|
1329
1329
|
function U() {
|
|
1330
|
-
let e = new URLSearchParams(
|
|
1330
|
+
let e = new URLSearchParams(K.url.searchParams.toString());
|
|
1331
1331
|
return W.get(C).trim() ? e.set("q", W.get(C)) : e.delete("q"), W.get(w) ? e.set("tag", W.get(w)) : e.delete("tag"), W.get(T) ? e.set("dateFrom", W.get(T)) : e.delete("dateFrom"), W.get(E) ? e.set("dateTo", W.get(E)) : e.delete("dateTo"), R(_, `/?${e.toString()}`, {
|
|
1332
1332
|
replaceState: !0,
|
|
1333
1333
|
keepFocus: !0,
|
|
@@ -1642,7 +1642,7 @@ function An(e, a) {
|
|
|
1642
1642
|
return W.get(e);
|
|
1643
1643
|
},
|
|
1644
1644
|
onValueChange: (e) => {
|
|
1645
|
-
let t = new URLSearchParams(
|
|
1645
|
+
let t = new URLSearchParams(K.url.searchParams.toString());
|
|
1646
1646
|
return e && e !== "all" ? t.set("category", e) : t.delete("category"), R(_, `/?${t.toString()}`);
|
|
1647
1647
|
},
|
|
1648
1648
|
children: (e, t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e, t } from "./rolldown-runtime-DArdT4gl.js";
|
|
2
|
-
import { i as n } from "./identity-
|
|
2
|
+
import { i as n } from "./identity-BOA7Jejv.js";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region ../node_modules/.bun/dexie@4.4.5/node_modules/dexie/import-wrapper-prod.mjs
|
|
5
5
|
var r = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./dist-qd_OnyUC.js";
|
|
2
|
-
import { t } from "./utils-
|
|
2
|
+
import { t } from "./utils-BlHvR6OL.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as n from "svelte/internal/client";
|
|
5
5
|
import { getContext as r, setContext as i } from "svelte";
|
|
6
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
6
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/button/button.svelte
|
|
7
7
|
var a = /* @__PURE__ */ new Set([
|
|
8
8
|
"$$slots",
|
|
9
9
|
"$$events",
|
|
@@ -57,7 +57,7 @@ function c(e, r) {
|
|
|
57
57
|
}), n.append(e, p), n.pop();
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
60
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/button/index.js
|
|
61
61
|
var l = e({
|
|
62
62
|
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",
|
|
63
63
|
variants: {
|
|
@@ -82,7 +82,7 @@ var l = e({
|
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
//#endregion
|
|
85
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
85
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog.svelte
|
|
86
86
|
function u(e, t) {
|
|
87
87
|
n.push(t, !0);
|
|
88
88
|
let r = n.prop(t, "open", 15, !1);
|
|
@@ -109,7 +109,7 @@ function u(e, t) {
|
|
|
109
109
|
}), n.append(e, o), n.pop();
|
|
110
110
|
}
|
|
111
111
|
//#endregion
|
|
112
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
112
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-content.svelte
|
|
113
113
|
var d = /* @__PURE__ */ new Set([
|
|
114
114
|
"$$slots",
|
|
115
115
|
"$$events",
|
|
@@ -150,7 +150,7 @@ function p(e, i) {
|
|
|
150
150
|
}
|
|
151
151
|
n.delegate(["keydown", "click"]);
|
|
152
152
|
//#endregion
|
|
153
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
153
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-description.svelte
|
|
154
154
|
var m = /* @__PURE__ */ new Set([
|
|
155
155
|
"$$slots",
|
|
156
156
|
"$$events",
|
|
@@ -175,7 +175,7 @@ function g(e, r) {
|
|
|
175
175
|
}), n.reset(a), n.append(e, a), n.pop();
|
|
176
176
|
}
|
|
177
177
|
//#endregion
|
|
178
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
178
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-footer.svelte
|
|
179
179
|
var _ = /* @__PURE__ */ new Set([
|
|
180
180
|
"$$slots",
|
|
181
181
|
"$$events",
|
|
@@ -200,7 +200,7 @@ function y(e, r) {
|
|
|
200
200
|
}), n.reset(a), n.append(e, a), n.pop();
|
|
201
201
|
}
|
|
202
202
|
//#endregion
|
|
203
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
203
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-header.svelte
|
|
204
204
|
var b = /* @__PURE__ */ new Set([
|
|
205
205
|
"$$slots",
|
|
206
206
|
"$$events",
|
|
@@ -225,7 +225,7 @@ function S(e, r) {
|
|
|
225
225
|
}), n.reset(a), n.append(e, a), n.pop();
|
|
226
226
|
}
|
|
227
227
|
//#endregion
|
|
228
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+
|
|
228
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.1.3+eddc8bffc7296c10/node_modules/@hiai-gg/hiai-ui/dist/components/ui/dialog/dialog-title.svelte
|
|
229
229
|
var C = /* @__PURE__ */ new Set([
|
|
230
230
|
"$$slots",
|
|
231
231
|
"$$events",
|
|
@@ -4,7 +4,7 @@ import * as t from "svelte/internal/client";
|
|
|
4
4
|
import { onDestroy as n, onMount as r, tick as i } from "svelte";
|
|
5
5
|
import "svelte/reactivity";
|
|
6
6
|
import { readable as a } from "svelte/store";
|
|
7
|
-
//#region ../node_modules/.bun/svelte-tiptap@3.0.1+
|
|
7
|
+
//#region ../node_modules/.bun/svelte-tiptap@3.0.1+199bc865be18f12b/node_modules/svelte-tiptap/dist/Editor.js
|
|
8
8
|
var o = class extends e {
|
|
9
9
|
contentElement = null;
|
|
10
10
|
}, s = (e) => {
|