@hiai-gg/docsmint 0.4.9 → 0.5.1
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/backend/src/lib/api-key-facade.ts +1 -0
- package/dist/backend/index.js +38379 -18500
- package/dist/backend-api-key-facade.js +23 -0
- package/dist/client.js +2 -7
- package/dist/frontend/{CategoryDialog-CxVyaBV5.js → CategoryDialog-DmlX0Z97.js} +109 -108
- package/dist/frontend/ConfirmDialog-DgMTQBq4.js +134 -0
- package/dist/frontend/{CreateSnapshotDialog-BDgFTeFn.js → CreateSnapshotDialog-CXW4sCuf.js} +29 -29
- package/dist/frontend/DatePicker-D6E-EEtZ.js +340 -0
- package/dist/frontend/{DeleteDialog-CvAr2WPu.js → DeleteDialog-8k6JYWCx.js} +3 -3
- package/dist/frontend/{FolderNode--l1g8bcL.js → FolderNode-D3rN3yLV.js} +8 -8
- package/dist/frontend/{FolderTreeSelector-CyB8y2Sm.js → FolderTreeSelector-BMB1MS9N.js} +3 -3
- package/dist/frontend/{Icon-CooFj4Ee.js → Icon-Db-o32_E.js} +1 -1
- package/dist/frontend/{SettingsDialog-BB7h7GWw.js → SettingsDialog-DEx1eEZm.js} +290 -290
- package/dist/frontend/ShareDialog-uEf8Ks02.js +166 -0
- package/dist/frontend/Sidebar-BthP-jOS.js +2043 -0
- package/dist/frontend/TagCreateDialog-Bb0-Vtzh.js +261 -0
- package/dist/frontend/api/attachments.js +1 -1
- package/dist/frontend/api/categories.d.ts +3 -3
- package/dist/frontend/api/categories.js +1 -1
- package/dist/frontend/api/documents.js +1 -1
- package/dist/frontend/api/share.js +1 -1
- package/dist/frontend/api/tags.js +1 -1
- package/dist/frontend/{api-keys-CpkrA8rD.js → api-keys-DIwAdYkg.js} +10 -10
- package/dist/frontend/app-shell.d.ts +5 -1
- package/dist/frontend/app-shell.js +83 -72
- package/dist/frontend/{attachments-BuILSs56.js → attachments-C2DBzU-r.js} +13 -13
- package/dist/frontend/{camera-iKXDOOWT.js → camera-CzCxBOpc.js} +2 -2
- package/dist/frontend/{categories-Drnns7N6.js → categories-X7gK8azc.js} +0 -2
- package/dist/frontend/{check-D-UuvBuh.js → check-BIi-Ghti.js} +2 -2
- package/dist/frontend/{chevron-down-CiPtYyFh.js → chevron-down-C2ft7XUV.js} +2 -2
- package/dist/frontend/{circle-check-tSPE1V6t.js → circle-check-BrqfiQH1.js} +2 -2
- package/dist/frontend/{clock-DJHbHZb8.js → clock-Dz86E4Kz.js} +2 -2
- package/dist/frontend/collaboration.d.ts +4 -2
- package/dist/frontend/collaboration.js +114 -89
- 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/document-editor.js +1203 -1190
- package/dist/frontend/components/editor/document-title.js +2 -2
- package/dist/frontend/components/editor/markdown-toggle.js +4 -4
- 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 +145 -144
- 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 +34 -34
- package/dist/frontend/{confirm-dialog-C4jTRbiS.js → confirm-dialog-CzmoZw3a.js} +20 -20
- package/dist/frontend/{copy-GppwRMjX.js → copy-CvCh4ZVt.js} +2 -2
- package/dist/frontend/dashboard.js +1133 -1087
- package/dist/frontend/{dialog-Bevp9mmM.js → dialog-Ce79C9fd.js} +1 -1
- package/dist/frontend/{dist-C3857Spp.js → dist-DQa_OHOa.js} +2 -2
- package/dist/frontend/{documents-Bc7b_MSZ.js → documents-CwCs1rA7.js} +52 -12
- package/dist/frontend/{dropdown-menu-CRSby3e9.js → dropdown-menu-CJ_7V3N0.js} +45 -45
- package/dist/frontend/{floating-layer-anchor-BDs7vO-M.js → floating-layer-anchor-S5RSefGN.js} +1 -1
- package/dist/frontend/{folder-DeWhnD7O.js → folder-Cx60MRpi.js} +3 -3
- package/dist/frontend/i18n.js +3 -3
- package/dist/frontend/{messages-C5Q890i2.js → messages-DIovIZrK.js} +46 -44
- package/dist/frontend/{rotate-ccw-B4Q7brmV.js → rotate-ccw-ta4NosZ0.js} +2 -2
- package/dist/frontend/{route-context-BqQQ5c4i.js → route-context-DYQlUfzL.js} +14 -11
- package/dist/frontend/search.js +431 -415
- package/dist/frontend/{select-value-GXwx90Pr.js → select-value-JCAp2PmU.js} +466 -466
- package/dist/frontend/{share-Cu7SSJuJ.js → share-D7JtkC85.js} +2 -2
- package/dist/frontend/{tag-HxRazVN_.js → tag-DhVFHMcV.js} +3 -3
- package/dist/frontend/{tag-store.svelte-CG7RrlDT.js → tag-store.svelte-ogVCMCbv.js} +1 -1
- package/dist/frontend/{tags-CtCV0Djo.js → tags-BdCaMGfj.js} +18 -18
- package/dist/frontend/{x-CzBsnJ2x.js → x-cfdlccjs.js} +2 -2
- package/dist/frontend-ssr/api/attachments.js +1 -1
- package/dist/frontend-ssr/api/categories.js +1 -1
- package/dist/frontend-ssr/api/documents.js +1 -1
- package/dist/frontend-ssr/api/share.js +1 -1
- package/dist/frontend-ssr/api/tags.js +1 -1
- package/dist/frontend-ssr/app-shell.js +30 -26
- package/dist/frontend-ssr/assets/{CategoryDialog-BcGW8-Kf.js → CategoryDialog-DDu37Oub.js} +13 -11
- package/dist/frontend-ssr/assets/ConfirmDialog-BhAelejz.js +131 -0
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-1bROJ-Rn.js → CreateSnapshotDialog-DNAjd4eD.js} +2 -2
- package/dist/frontend-ssr/assets/{DatePicker-B1ML8OVz.js → DatePicker-Cp6Qmgdb.js} +17 -29
- package/dist/frontend-ssr/assets/{DeleteDialog-tBYaP0L3.js → DeleteDialog-DG9Lm38J.js} +2 -2
- package/dist/frontend-ssr/assets/{FolderNode-CpHrpOED.js → FolderNode-CrLWqHJH.js} +5 -5
- package/dist/frontend-ssr/assets/{FolderTreeSelector-DZNZ2oI6.js → FolderTreeSelector-Bxi8EqMm.js} +8 -12
- package/dist/frontend-ssr/assets/{Icon-B0Zqppjo.js → Icon-QwirKi9Y.js} +16 -28
- package/dist/frontend-ssr/assets/{SettingsDialog-C2SMWJL8.js → SettingsDialog-BymUxBgg.js} +20 -27
- package/dist/frontend-ssr/assets/{ShareDialog-vMvJLRfn.js → ShareDialog-B82t8oJi.js} +4 -2
- package/dist/frontend-ssr/assets/{Sidebar-DKqmwreh.js → Sidebar-CI8YKbrY.js} +55 -57
- package/dist/frontend-ssr/assets/{TagCreateDialog-B0DPEfmQ.js → TagCreateDialog-B7wDbVqG.js} +7 -5
- package/dist/frontend-ssr/assets/{api-keys-DFqX39MT.js → api-keys-DIbclwj5.js} +10 -10
- package/dist/frontend-ssr/assets/{attachments-CWBxE3Vz.js → attachments-CXgatN0B.js} +9 -9
- package/dist/frontend-ssr/assets/{camera-CdxscTw-.js → camera-D6s20LDi.js} +6 -10
- package/dist/frontend-ssr/assets/{categories-CTCtdv7V.js → categories-av9xjeg5.js} +0 -2
- package/dist/frontend-ssr/assets/{chevron-down-CSSNGNh_.js → chevron-down-CvqKATjM.js} +6 -10
- package/dist/frontend-ssr/assets/{chevron-right-B4p7Sk6X.js → chevron-right-DKD7WXjz.js} +6 -10
- package/dist/frontend-ssr/assets/{circle-check-CI1v4vYh.js → circle-check-CPS9dKEo.js} +6 -10
- package/dist/frontend-ssr/assets/{clock-IL-eX2di.js → clock-CzsE58TH.js} +6 -10
- package/dist/frontend-ssr/assets/{confirm-dialog-BCthVwUY.js → confirm-dialog-B3C0WeMn.js} +20 -32
- package/dist/frontend-ssr/assets/{copy-CjV57nGQ.js → copy-DkkCPkBL.js} +6 -10
- package/dist/frontend-ssr/assets/{documents-PObdTOiT.js → documents-CZ-wQohy.js} +58 -12
- package/dist/frontend-ssr/assets/{dropdown-menu-Bj5rbqbB.js → dropdown-menu-Dn_vQq9b.js} +7 -11
- package/dist/frontend-ssr/assets/{floating-layer-anchor-CYIE8Oj6.js → floating-layer-anchor-BIAu-252.js} +1 -1
- package/dist/frontend-ssr/assets/{folder-DChhG7qN.js → folder-DYIE-XPP.js} +6 -10
- package/dist/frontend-ssr/assets/{loader-circle-DZsrZ-er.js → loader-circle-CIEWGyfP.js} +6 -10
- package/dist/frontend-ssr/assets/{messages-CvqpZNJe.js → messages-D-auzk9H.js} +23 -1
- package/dist/frontend-ssr/assets/{rotate-ccw-BlgWwaiq.js → rotate-ccw-dJSqPyTd.js} +6 -10
- package/dist/frontend-ssr/assets/{route-context-uca_b2Px.js → route-context-BPRerEtZ.js} +11 -8
- package/dist/frontend-ssr/assets/{select-value-6Lk0ToYd.js → select-value-DBhbkNcc.js} +1 -1
- package/dist/frontend-ssr/assets/{share-BTBJelxA.js → share-qTqvd6Lu.js} +2 -2
- package/dist/frontend-ssr/assets/{tag-GZEuGWk1.js → tag-BmiVU_Ej.js} +11 -19
- package/dist/frontend-ssr/assets/{tag-store.svelte-DvgUduhd.js → tag-store.svelte-BM1lUI_P.js} +1 -1
- package/dist/frontend-ssr/assets/{tags-BId2wdYd.js → tags-BQsI_6OW.js} +12 -12
- package/dist/frontend-ssr/collaboration.js +37 -12
- 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/document-editor.js +143 -207
- package/dist/frontend-ssr/components/editor/document-title.js +1 -1
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +2 -2
- 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 +8 -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 +19 -27
- package/dist/frontend-ssr/dashboard.js +344 -185
- package/dist/frontend-ssr/i18n.js +1 -1
- package/dist/frontend-ssr/search.js +16 -20
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +1 -3
- package/dist/workspace.d.ts +0 -2
- package/dist/workspace.js +0 -2
- package/package.json +1 -1
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/with-tenant.ts +2 -0
- package/packages/mcp-server/src/index.ts +1 -1
- package/dist/frontend/ConfirmDialog-NFGXRa3E.js +0 -214
- package/dist/frontend/DatePicker-BZRBluzF.js +0 -256
- package/dist/frontend/ShareDialog-BUOkYSlw.js +0 -165
- package/dist/frontend/Sidebar-fbtYC3qs.js +0 -2037
- package/dist/frontend/TagCreateDialog-B9YZBNHi.js +0 -260
- package/dist/frontend-ssr/assets/ConfirmDialog-DjMFKc0V.js +0 -420
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e } from "./client-GbtOH90i.js";
|
|
2
2
|
//#region src/lib/api/share.ts
|
|
3
|
-
function t(t) {
|
|
3
|
+
function t(t, n) {
|
|
4
4
|
return !t.documentId && !t.folderId && !t.categoryId ? Promise.reject(/* @__PURE__ */ Error("createShareLink: documentId, folderId, or categoryId is required")) : e("/api/share", {
|
|
5
5
|
method: "POST",
|
|
6
6
|
body: JSON.stringify(t)
|
|
7
|
-
});
|
|
7
|
+
}, n);
|
|
8
8
|
}
|
|
9
9
|
function n(t) {
|
|
10
10
|
return e(`/api/share${t?.documentId ? `?documentId=${t.documentId}` : ""}`);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./Icon-
|
|
1
|
+
import { t as e } from "./Icon-Db-o32_E.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
import "svelte/internal/flags/legacy";
|
|
5
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
5
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/search.svelte
|
|
6
6
|
function n(n, r) {
|
|
7
7
|
let i = t.legacy_rest_props(r, [
|
|
8
8
|
"children",
|
|
@@ -26,7 +26,7 @@ function n(n, r) {
|
|
|
26
26
|
}));
|
|
27
27
|
}
|
|
28
28
|
//#endregion
|
|
29
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
29
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/tag.svelte
|
|
30
30
|
function r(n, r) {
|
|
31
31
|
let i = t.legacy_rest_props(r, [
|
|
32
32
|
"children",
|
|
@@ -11,38 +11,38 @@ var r = n({
|
|
|
11
11
|
async function a(t) {
|
|
12
12
|
return e("/api/tags", {}, t);
|
|
13
13
|
}
|
|
14
|
-
function o(t) {
|
|
15
|
-
return e(`/api/tags/${t}
|
|
14
|
+
function o(t, n) {
|
|
15
|
+
return e(`/api/tags/${t}`, {}, n);
|
|
16
16
|
}
|
|
17
|
-
function s(t, n) {
|
|
18
|
-
let
|
|
17
|
+
function s(t, n, i) {
|
|
18
|
+
let a = r.parse({
|
|
19
19
|
name: t,
|
|
20
20
|
color: n
|
|
21
21
|
});
|
|
22
22
|
return e("/api/tags", {
|
|
23
23
|
method: "POST",
|
|
24
|
-
body: JSON.stringify(
|
|
25
|
-
});
|
|
24
|
+
body: JSON.stringify(a)
|
|
25
|
+
}, i);
|
|
26
26
|
}
|
|
27
|
-
function c(t, n) {
|
|
28
|
-
let
|
|
27
|
+
function c(t, n, r) {
|
|
28
|
+
let a = i.parse(n);
|
|
29
29
|
return e(`/api/tags/${t}`, {
|
|
30
30
|
method: "PATCH",
|
|
31
|
-
body: JSON.stringify(
|
|
32
|
-
});
|
|
31
|
+
body: JSON.stringify(a)
|
|
32
|
+
}, r);
|
|
33
33
|
}
|
|
34
|
-
function l(t) {
|
|
35
|
-
return e(`/api/tags/${t}`, { method: "DELETE" });
|
|
34
|
+
function l(t, n) {
|
|
35
|
+
return e(`/api/tags/${t}`, { method: "DELETE" }, n);
|
|
36
36
|
}
|
|
37
|
-
function u(r, i) {
|
|
38
|
-
let
|
|
37
|
+
function u(r, i, a) {
|
|
38
|
+
let o = n({ tagId: t().uuid() }).parse({ tagId: i });
|
|
39
39
|
return e(`/api/documents/${r}/tags`, {
|
|
40
40
|
method: "POST",
|
|
41
|
-
body: JSON.stringify(
|
|
42
|
-
});
|
|
41
|
+
body: JSON.stringify(o)
|
|
42
|
+
}, a);
|
|
43
43
|
}
|
|
44
|
-
function d(t, n) {
|
|
45
|
-
return e(`/api/documents/${t}/tags/${n}`, { method: "DELETE" });
|
|
44
|
+
function d(t, n, r) {
|
|
45
|
+
return e(`/api/documents/${t}/tags/${n}`, { method: "DELETE" }, r);
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
48
|
export { o as a, c, l as i, i as l, s as n, a as o, r, d as s, u as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./Icon-
|
|
1
|
+
import { t as e } from "./Icon-Db-o32_E.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as t from "svelte/internal/client";
|
|
4
4
|
import "svelte/internal/flags/legacy";
|
|
5
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
5
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/x.svelte
|
|
6
6
|
function n(n, r) {
|
|
7
7
|
let i = t.legacy_rest_props(r, [
|
|
8
8
|
"children",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as presignAttachment, i as listAttachments, n as isFileSizeAllowed, o as uploadAttachment, r as isImageFile, t as confirmAttachment } from "../assets/attachments-
|
|
1
|
+
import { a as presignAttachment, i as listAttachments, n as isFileSizeAllowed, o as uploadAttachment, r as isImageFile, t as confirmAttachment } from "../assets/attachments-CXgatN0B.js";
|
|
2
2
|
export { confirmAttachment, isFileSizeAllowed, isImageFile, listAttachments, presignAttachment, uploadAttachment };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as setDocumentCategory, c as updateCategoryInputSchema, i as listCategories, n as createCategoryInputSchema, o as setFolderCategory, r as deleteCategory, s as updateCategory, t as createCategory } from "../assets/categories-
|
|
1
|
+
import { a as setDocumentCategory, c as updateCategoryInputSchema, i as listCategories, n as createCategoryInputSchema, o as setFolderCategory, r as deleteCategory, s as updateCategory, t as createCategory } from "../assets/categories-av9xjeg5.js";
|
|
2
2
|
export { createCategory, createCategoryInputSchema, deleteCategory, listCategories, setDocumentCategory, setFolderCategory, updateCategory, updateCategoryInputSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as importDocument, c as updateDocument, i as getDocument, n as createDocument, o as importDocuments, r as deleteDocument, s as listDocuments, t as clearDocumentsCache } from "../assets/documents-
|
|
1
|
+
import { a as importDocument, c as updateDocument, i as getDocument, n as createDocument, o as importDocuments, r as deleteDocument, s as listDocuments, t as clearDocumentsCache } from "../assets/documents-CZ-wQohy.js";
|
|
2
2
|
export { clearDocumentsCache, createDocument, deleteDocument, getDocument, importDocument, importDocuments, listDocuments, updateDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as removeGuest, i as listShareLinks, n as createShareLink, o as revokeShareLink, r as getShareLink, t as addGuest } from "../assets/share-
|
|
1
|
+
import { a as removeGuest, i as listShareLinks, n as createShareLink, o as revokeShareLink, r as getShareLink, t as addGuest } from "../assets/share-qTqvd6Lu.js";
|
|
2
2
|
export { addGuest, createShareLink, getShareLink, listShareLinks, removeGuest, revokeShareLink };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getTag, c as updateTag, i as deleteTag, l as updateTagInputSchema, n as createTag, o as listTags, r as createTagInputSchema, s as removeTagFromDocument, t as addTagToDocument } from "../assets/tags-
|
|
1
|
+
import { a as getTag, c as updateTag, i as deleteTag, l as updateTagInputSchema, n as createTag, o as listTags, r as createTagInputSchema, s as removeTagFromDocument, t as addTagToDocument } from "../assets/tags-BQsI_6OW.js";
|
|
2
2
|
export { addTagToDocument, createTag, createTagInputSchema, deleteTag, getTag, listTags, removeTagFromDocument, updateTag, updateTagInputSchema };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Icon } from "./assets/Icon-
|
|
3
|
-
import { n as searchPreferences, r as editorPreferences } from "./assets/SettingsDialog-
|
|
4
|
-
import { t as Sidebar } from "./assets/Sidebar-
|
|
5
|
-
import {
|
|
1
|
+
import { E as scroll_to_top_aria } from "./assets/messages-D-auzk9H.js";
|
|
2
|
+
import { t as Icon } from "./assets/Icon-QwirKi9Y.js";
|
|
3
|
+
import { n as searchPreferences, r as editorPreferences } from "./assets/SettingsDialog-BymUxBgg.js";
|
|
4
|
+
import { t as Sidebar } from "./assets/Sidebar-CI8YKbrY.js";
|
|
5
|
+
import { o as provideDocsmintRequestAdapter, r as provideDocsmintRouteAdapter } from "./assets/route-context-BPRerEtZ.js";
|
|
6
6
|
import { t as HiaiDocsExtensionProvider } from "./assets/HiaiDocsExtensionProvider-B_MrN08c.js";
|
|
7
7
|
import * as $ from "svelte/internal/server";
|
|
8
|
-
import { onDestroy } from "svelte";
|
|
9
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
8
|
+
import { getContext, onDestroy, setContext, untrack } from "svelte";
|
|
9
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/arrow-up.svelte
|
|
10
10
|
function Arrow_up($$renderer, $$props) {
|
|
11
11
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
12
12
|
/**
|
|
13
|
-
* @license lucide-svelte
|
|
13
|
+
* @license lucide-svelte v0.577.0 - ISC
|
|
14
14
|
*
|
|
15
15
|
* ISC License
|
|
16
16
|
*
|
|
17
|
-
* Copyright (c) 2026 Lucide
|
|
17
|
+
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
|
|
18
18
|
*
|
|
19
19
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
20
20
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -30,13 +30,9 @@ function Arrow_up($$renderer, $$props) {
|
|
|
30
30
|
*
|
|
31
31
|
* ---
|
|
32
32
|
*
|
|
33
|
-
* The
|
|
33
|
+
* The MIT License (MIT) (for portions derived from Feather)
|
|
34
34
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* The MIT License (MIT) (for the icons listed above)
|
|
38
|
-
*
|
|
39
|
-
* Copyright (c) 2013-present Cole Bemis
|
|
35
|
+
* Copyright (c) 2013-2026 Cole Bemis
|
|
40
36
|
*
|
|
41
37
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
42
38
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -83,15 +79,15 @@ function Arrow_up($$renderer, $$props) {
|
|
|
83
79
|
]));
|
|
84
80
|
}
|
|
85
81
|
//#endregion
|
|
86
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
82
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/menu.svelte
|
|
87
83
|
function Menu($$renderer, $$props) {
|
|
88
84
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
89
85
|
/**
|
|
90
|
-
* @license lucide-svelte
|
|
86
|
+
* @license lucide-svelte v0.577.0 - ISC
|
|
91
87
|
*
|
|
92
88
|
* ISC License
|
|
93
89
|
*
|
|
94
|
-
* Copyright (c) 2026 Lucide
|
|
90
|
+
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
|
|
95
91
|
*
|
|
96
92
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
97
93
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -107,13 +103,9 @@ function Menu($$renderer, $$props) {
|
|
|
107
103
|
*
|
|
108
104
|
* ---
|
|
109
105
|
*
|
|
110
|
-
* The
|
|
111
|
-
*
|
|
112
|
-
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
113
|
-
*
|
|
114
|
-
* The MIT License (MIT) (for the icons listed above)
|
|
106
|
+
* The MIT License (MIT) (for portions derived from Feather)
|
|
115
107
|
*
|
|
116
|
-
* Copyright (c) 2013-
|
|
108
|
+
* Copyright (c) 2013-2026 Cole Bemis
|
|
117
109
|
*
|
|
118
110
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
119
111
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -219,10 +211,20 @@ function ScrollToTop($$renderer, $$props) {
|
|
|
219
211
|
});
|
|
220
212
|
}
|
|
221
213
|
//#endregion
|
|
214
|
+
//#region src/lib/hosts/realtime-context.ts
|
|
215
|
+
var REALTIME_ADAPTER = Symbol("docsmint-realtime-adapter");
|
|
216
|
+
function provideDocsmintRealtimeAdapter(adapter) {
|
|
217
|
+
setContext(REALTIME_ADAPTER, adapter);
|
|
218
|
+
}
|
|
219
|
+
/** Returns an embedded host resolver, when one was provided. */
|
|
220
|
+
function getDocsmintRealtimeAdapter() {
|
|
221
|
+
return getContext(REALTIME_ADAPTER);
|
|
222
|
+
}
|
|
223
|
+
//#endregion
|
|
222
224
|
//#region src/lib/hosts/DocsmintAppShellHost.svelte
|
|
223
225
|
function DocsmintAppShellHost($$renderer, $$props) {
|
|
224
226
|
$$renderer.component(($$renderer) => {
|
|
225
|
-
const { route, request = { fetch }, extensions = {}, children } = $$props;
|
|
227
|
+
const { route, request = { fetch }, realtime, extensions = {}, children } = $$props;
|
|
226
228
|
provideDocsmintRouteAdapter({
|
|
227
229
|
get pathname() {
|
|
228
230
|
return route.pathname;
|
|
@@ -231,6 +233,8 @@ function DocsmintAppShellHost($$renderer, $$props) {
|
|
|
231
233
|
navigate: (path, options) => route.navigate?.(path, options)
|
|
232
234
|
});
|
|
233
235
|
provideDocsmintRequestAdapter({ fetch: (...args) => request.fetch(...args) });
|
|
236
|
+
const realtimeAdapter = untrack(() => realtime);
|
|
237
|
+
if (realtimeAdapter) provideDocsmintRealtimeAdapter(realtimeAdapter);
|
|
234
238
|
editorPreferences.init();
|
|
235
239
|
searchPreferences.init();
|
|
236
240
|
let mainElement = null;
|
|
@@ -300,4 +304,4 @@ function DocsmintAppShellHost($$renderer, $$props) {
|
|
|
300
304
|
});
|
|
301
305
|
}
|
|
302
306
|
//#endregion
|
|
303
|
-
export { DocsmintAppShellHost };
|
|
307
|
+
export { DocsmintAppShellHost, getDocsmintRealtimeAdapter };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Copy } from "./copy-
|
|
3
|
-
import { t as Circle_check } from "./circle-check-
|
|
4
|
-
import { t as Loader_circle } from "./loader-circle-
|
|
1
|
+
import { S as categories_create_title, _ as categories_delete_error, _n as action_cancel, b as categories_name_placeholder, g as categories_delete_title, gn as action_delete, h as categories_delete_description, m as categories_delete_success, mn as action_create, p as categories_delete_success_description, v as categories_update_error, vn as action_save, x as categories_edit_title, y as categories_create_error } from "./messages-D-auzk9H.js";
|
|
2
|
+
import { t as Copy } from "./copy-DkkCPkBL.js";
|
|
3
|
+
import { t as Circle_check } from "./circle-check-CPS9dKEo.js";
|
|
4
|
+
import { t as Loader_circle } from "./loader-circle-CIEWGyfP.js";
|
|
5
|
+
import { a as getDocsmintRequestAdapter } from "./route-context-BPRerEtZ.js";
|
|
5
6
|
import { a as Dialog, i as Dialog_description, n as Dialog_header, o as Button, r as Dialog_footer, t as Dialog_title } from "./dialog-BOV1u6zP.js";
|
|
6
7
|
import { t as Input } from "./input-DezGsU3y.js";
|
|
7
8
|
import { t as Label } from "./label-Bj8-TfFN.js";
|
|
8
|
-
import { a as listApiKeys, n as categoryIdFromScopes, o as revealCategoryApiKey, r as createCategoryApiKey, s as revokeApiKey, t as apiKeyClipboardValue } from "./api-keys-
|
|
9
|
-
import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "./select-value-
|
|
9
|
+
import { a as listApiKeys, n as categoryIdFromScopes, o as revealCategoryApiKey, r as createCategoryApiKey, s as revokeApiKey, t as apiKeyClipboardValue } from "./api-keys-DIbclwj5.js";
|
|
10
|
+
import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "./select-value-DBhbkNcc.js";
|
|
10
11
|
import * as $ from "svelte/internal/server";
|
|
11
12
|
//#region src/lib/components/sidebar/category-dialog-feedback.ts
|
|
12
13
|
function categoryDialogErrorMessage(error, fallback) {
|
|
@@ -25,6 +26,7 @@ function CategoryDialog($$renderer, $$props) {
|
|
|
25
26
|
Trigger: Select_trigger,
|
|
26
27
|
Value: Select_value
|
|
27
28
|
};
|
|
29
|
+
const request = getDocsmintRequestAdapter();
|
|
28
30
|
let { open = false, mode, category, onSave, onDelete, onClose } = $$props;
|
|
29
31
|
let name = "";
|
|
30
32
|
let error = null;
|
|
@@ -42,13 +44,13 @@ function CategoryDialog($$renderer, $$props) {
|
|
|
42
44
|
let deletedCategoryName = null;
|
|
43
45
|
const latestIssuedKey = $.derived(() => latestIssuedId ? issuedKeys[latestIssuedId] : void 0);
|
|
44
46
|
async function refreshCategoryKeys(categoryId) {
|
|
45
|
-
categoryKeys = (await listApiKeys()).keys.filter((key) => categoryIdFromScopes(key.scopes) === categoryId);
|
|
47
|
+
categoryKeys = (await listApiKeys(request.fetch)).keys.filter((key) => categoryIdFromScopes(key.scopes) === categoryId);
|
|
46
48
|
}
|
|
47
49
|
async function issueCategoryKey() {
|
|
48
50
|
if (!category?.id) return;
|
|
49
51
|
keyBusy = true;
|
|
50
52
|
try {
|
|
51
|
-
const issued = await createCategoryApiKey(category.id);
|
|
53
|
+
const issued = await createCategoryApiKey(category.id, void 0, request.fetch);
|
|
52
54
|
issuedKeys = {
|
|
53
55
|
...issuedKeys,
|
|
54
56
|
[issued.id]: issued.key
|
|
@@ -65,7 +67,7 @@ function CategoryDialog($$renderer, $$props) {
|
|
|
65
67
|
if (!category?.id) return;
|
|
66
68
|
keyBusy = true;
|
|
67
69
|
try {
|
|
68
|
-
await revokeApiKey(id);
|
|
70
|
+
await revokeApiKey(id, request.fetch);
|
|
69
71
|
const { [id]: _revoked, ...remainingIssuedKeys } = issuedKeys;
|
|
70
72
|
issuedKeys = remainingIssuedKeys;
|
|
71
73
|
if (latestIssuedId === id) latestIssuedId = null;
|
|
@@ -75,7 +77,7 @@ function CategoryDialog($$renderer, $$props) {
|
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
79
|
async function copyCategoryKey(key) {
|
|
78
|
-
const rawKey = issuedKeys[key.id] ?? await revealCategoryApiKey(key.id);
|
|
80
|
+
const rawKey = issuedKeys[key.id] ?? await revealCategoryApiKey(key.id, request.fetch);
|
|
79
81
|
await navigator.clipboard.writeText(apiKeyClipboardValue(key, rawKey));
|
|
80
82
|
}
|
|
81
83
|
const trimmedName = $.derived(() => name.trim());
|
|
@@ -156,7 +158,7 @@ function CategoryDialog($$renderer, $$props) {
|
|
|
156
158
|
if (mode === "create" && savedCategory) {
|
|
157
159
|
createdCategoryName = savedCategory.name;
|
|
158
160
|
if (apiMode === "category") try {
|
|
159
|
-
createdCategoryKey = (await createCategoryApiKey(savedCategory.id)).key;
|
|
161
|
+
createdCategoryKey = (await createCategoryApiKey(savedCategory.id, void 0, request.fetch)).key;
|
|
160
162
|
} catch (keyError) {
|
|
161
163
|
error = `Category created, but its API key could not be created: ${categoryDialogErrorMessage(keyError, "Unknown error")}`;
|
|
162
164
|
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { t as Loader_circle } from "./loader-circle-CIEWGyfP.js";
|
|
2
|
+
import { a as Dialog, i as Dialog_description, n as Dialog_header, o as Button, r as Dialog_footer, t as Dialog_title } from "./dialog-BOV1u6zP.js";
|
|
3
|
+
import { t as Textarea } from "./textarea-Dev-qSEc.js";
|
|
4
|
+
import * as $ from "svelte/internal/server";
|
|
5
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+3149ccaa93f654b8/node_modules/@hiai-gg/hiai-ui/dist/components/ui/confirm-dialog/ConfirmDialog.svelte
|
|
6
|
+
function ConfirmDialog($$renderer, $$props) {
|
|
7
|
+
$$renderer.component(($$renderer) => {
|
|
8
|
+
let { open = false, title, description, confirmLabel = "Confirm", cancelLabel = "Cancel", variant = "default", busy = false, requireReason = false, reasonLabel = "Reason", reasonPlaceholder = "Provide a reason...", onConfirm, onCancel } = $$props;
|
|
9
|
+
let reason = "";
|
|
10
|
+
const reasonMissing = $.derived(() => requireReason && reason.trim().length === 0);
|
|
11
|
+
function reset() {
|
|
12
|
+
reason = "";
|
|
13
|
+
}
|
|
14
|
+
function handleConfirm() {
|
|
15
|
+
if (reasonMissing()) return;
|
|
16
|
+
onConfirm?.(requireReason ? reason : void 0);
|
|
17
|
+
reset();
|
|
18
|
+
}
|
|
19
|
+
function handleCancel() {
|
|
20
|
+
if (busy) return;
|
|
21
|
+
open = false;
|
|
22
|
+
onCancel?.();
|
|
23
|
+
reset();
|
|
24
|
+
}
|
|
25
|
+
let $$settled = true;
|
|
26
|
+
let $$inner_renderer;
|
|
27
|
+
function $$render_inner($$renderer) {
|
|
28
|
+
Dialog($$renderer, {
|
|
29
|
+
onOpenChange: (next) => {
|
|
30
|
+
if (!next) {
|
|
31
|
+
reset();
|
|
32
|
+
onCancel?.();
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
get open() {
|
|
36
|
+
return open;
|
|
37
|
+
},
|
|
38
|
+
set open($$value) {
|
|
39
|
+
open = $$value;
|
|
40
|
+
$$settled = false;
|
|
41
|
+
},
|
|
42
|
+
children: ($$renderer) => {
|
|
43
|
+
Dialog_header($$renderer, {
|
|
44
|
+
children: ($$renderer) => {
|
|
45
|
+
Dialog_title($$renderer, {
|
|
46
|
+
children: ($$renderer) => {
|
|
47
|
+
$$renderer.push(`<!---->${$.escape(title)}`);
|
|
48
|
+
},
|
|
49
|
+
$$slots: { default: true }
|
|
50
|
+
});
|
|
51
|
+
$$renderer.push(`<!----> `);
|
|
52
|
+
if (description) {
|
|
53
|
+
$$renderer.push("<!--[0-->");
|
|
54
|
+
Dialog_description($$renderer, {
|
|
55
|
+
children: ($$renderer) => {
|
|
56
|
+
$$renderer.push(`<!---->${$.escape(description)}`);
|
|
57
|
+
},
|
|
58
|
+
$$slots: { default: true }
|
|
59
|
+
});
|
|
60
|
+
} else $$renderer.push("<!--[-1-->");
|
|
61
|
+
$$renderer.push(`<!--]-->`);
|
|
62
|
+
},
|
|
63
|
+
$$slots: { default: true }
|
|
64
|
+
});
|
|
65
|
+
$$renderer.push(`<!----> `);
|
|
66
|
+
if (requireReason) {
|
|
67
|
+
$$renderer.push("<!--[0-->");
|
|
68
|
+
$$renderer.push(`<div class="grid gap-2 py-2"><label for="confirm-dialog-reason" class="text-sm font-medium">${$.escape(reasonLabel)}</label> `);
|
|
69
|
+
Textarea($$renderer, {
|
|
70
|
+
id: "confirm-dialog-reason",
|
|
71
|
+
rows: 3,
|
|
72
|
+
placeholder: reasonPlaceholder,
|
|
73
|
+
disabled: busy,
|
|
74
|
+
get value() {
|
|
75
|
+
return reason;
|
|
76
|
+
},
|
|
77
|
+
set value($$value) {
|
|
78
|
+
reason = $$value;
|
|
79
|
+
$$settled = false;
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
$$renderer.push(`<!----></div>`);
|
|
83
|
+
} else $$renderer.push("<!--[-1-->");
|
|
84
|
+
$$renderer.push(`<!--]--> `);
|
|
85
|
+
Dialog_footer($$renderer, {
|
|
86
|
+
children: ($$renderer) => {
|
|
87
|
+
Button($$renderer, {
|
|
88
|
+
variant: "outline",
|
|
89
|
+
type: "button",
|
|
90
|
+
onclick: handleCancel,
|
|
91
|
+
disabled: busy,
|
|
92
|
+
children: ($$renderer) => {
|
|
93
|
+
$$renderer.push(`<!---->${$.escape(cancelLabel)}`);
|
|
94
|
+
},
|
|
95
|
+
$$slots: { default: true }
|
|
96
|
+
});
|
|
97
|
+
$$renderer.push(`<!----> `);
|
|
98
|
+
Button($$renderer, {
|
|
99
|
+
type: "button",
|
|
100
|
+
variant: variant === "destructive" ? "destructive" : "default",
|
|
101
|
+
onclick: handleConfirm,
|
|
102
|
+
disabled: busy || reasonMissing(),
|
|
103
|
+
children: ($$renderer) => {
|
|
104
|
+
if (busy) {
|
|
105
|
+
$$renderer.push("<!--[0-->");
|
|
106
|
+
Loader_circle($$renderer, { class: "mr-1 size-4 animate-spin" });
|
|
107
|
+
} else $$renderer.push("<!--[-1-->");
|
|
108
|
+
$$renderer.push(`<!--]--> ${$.escape(confirmLabel)}`);
|
|
109
|
+
},
|
|
110
|
+
$$slots: { default: true }
|
|
111
|
+
});
|
|
112
|
+
$$renderer.push(`<!---->`);
|
|
113
|
+
},
|
|
114
|
+
$$slots: { default: true }
|
|
115
|
+
});
|
|
116
|
+
$$renderer.push(`<!---->`);
|
|
117
|
+
},
|
|
118
|
+
$$slots: { default: true }
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
do {
|
|
122
|
+
$$settled = true;
|
|
123
|
+
$$inner_renderer = $$renderer.copy();
|
|
124
|
+
$$render_inner($$inner_renderer);
|
|
125
|
+
} while (!$$settled);
|
|
126
|
+
$$renderer.subsume($$inner_renderer);
|
|
127
|
+
$.bind_props($$props, { open });
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
//#endregion
|
|
131
|
+
export { ConfirmDialog as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { t as Loader_circle } from "./loader-circle-
|
|
1
|
+
import { At as version_snapshot_description_placeholder, Dt as version_snapshot_dialog_title, Et as version_snapshot_dialog_description, Mt as version_snapshot_description, Nt as version_snapshot_label, Ot as version_snapshot_creating, _n as action_cancel, jt as version_snapshot_label_placeholder, kt as version_snapshot_create, xt as version_restore_failed, yn as error_server, z as error_validation } from "./messages-D-auzk9H.js";
|
|
2
|
+
import { t as Loader_circle } from "./loader-circle-CIEWGyfP.js";
|
|
3
3
|
import { a as Dialog, i as Dialog_description, n as Dialog_header, o as Button, r as Dialog_footer, t as Dialog_title } from "./dialog-BOV1u6zP.js";
|
|
4
4
|
import { t as Input } from "./input-DezGsU3y.js";
|
|
5
5
|
import { n as apiFetch, t as ApiError } from "./client-DZMkDkDn.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { t as Icon } from "./Icon-
|
|
1
|
+
import { $ as month_august, B as date_picker_aria, G as weekday_th, H as weekday_su, J as weekday_mo, K as weekday_we, Q as month_september, U as weekday_sa, V as date_picker_placeholder, W as weekday_fr, X as month_november, Y as month_december, Z as month_october, at as month_february, et as month_july, it as month_march, nt as month_may, ot as month_january, q as weekday_tu, rt as month_april, tt as month_june } from "./messages-D-auzk9H.js";
|
|
2
|
+
import { t as Icon } from "./Icon-QwirKi9Y.js";
|
|
3
3
|
import { t as cn } from "./utils-DtlPPXpJ.js";
|
|
4
4
|
import * as $ from "svelte/internal/server";
|
|
5
5
|
import { tv } from "tailwind-variants";
|
|
6
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
6
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/calendar.svelte
|
|
7
7
|
function Calendar($$renderer, $$props) {
|
|
8
8
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
9
9
|
/**
|
|
10
|
-
* @license lucide-svelte
|
|
10
|
+
* @license lucide-svelte v0.577.0 - ISC
|
|
11
11
|
*
|
|
12
12
|
* ISC License
|
|
13
13
|
*
|
|
14
|
-
* Copyright (c) 2026 Lucide
|
|
14
|
+
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
|
|
15
15
|
*
|
|
16
16
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
17
17
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -27,13 +27,9 @@ function Calendar($$renderer, $$props) {
|
|
|
27
27
|
*
|
|
28
28
|
* ---
|
|
29
29
|
*
|
|
30
|
-
* The
|
|
30
|
+
* The MIT License (MIT) (for portions derived from Feather)
|
|
31
31
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* The MIT License (MIT) (for the icons listed above)
|
|
35
|
-
*
|
|
36
|
-
* Copyright (c) 2013-present Cole Bemis
|
|
32
|
+
* Copyright (c) 2013-2026 Cole Bemis
|
|
37
33
|
*
|
|
38
34
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
39
35
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -91,15 +87,15 @@ function Calendar($$renderer, $$props) {
|
|
|
91
87
|
]));
|
|
92
88
|
}
|
|
93
89
|
//#endregion
|
|
94
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
90
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/folder-kanban.svelte
|
|
95
91
|
function Folder_kanban($$renderer, $$props) {
|
|
96
92
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
97
93
|
/**
|
|
98
|
-
* @license lucide-svelte
|
|
94
|
+
* @license lucide-svelte v0.577.0 - ISC
|
|
99
95
|
*
|
|
100
96
|
* ISC License
|
|
101
97
|
*
|
|
102
|
-
* Copyright (c) 2026 Lucide
|
|
98
|
+
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
|
|
103
99
|
*
|
|
104
100
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
105
101
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -115,13 +111,9 @@ function Folder_kanban($$renderer, $$props) {
|
|
|
115
111
|
*
|
|
116
112
|
* ---
|
|
117
113
|
*
|
|
118
|
-
* The
|
|
119
|
-
*
|
|
120
|
-
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
114
|
+
* The MIT License (MIT) (for portions derived from Feather)
|
|
121
115
|
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
* Copyright (c) 2013-present Cole Bemis
|
|
116
|
+
* Copyright (c) 2013-2026 Cole Bemis
|
|
125
117
|
*
|
|
126
118
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
127
119
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -173,15 +165,15 @@ function Folder_kanban($$renderer, $$props) {
|
|
|
173
165
|
]));
|
|
174
166
|
}
|
|
175
167
|
//#endregion
|
|
176
|
-
//#region ../node_modules/.bun/lucide-svelte@
|
|
168
|
+
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/x.svelte
|
|
177
169
|
function X($$renderer, $$props) {
|
|
178
170
|
const $$sanitized_props = $.sanitize_props($$props);
|
|
179
171
|
/**
|
|
180
|
-
* @license lucide-svelte
|
|
172
|
+
* @license lucide-svelte v0.577.0 - ISC
|
|
181
173
|
*
|
|
182
174
|
* ISC License
|
|
183
175
|
*
|
|
184
|
-
* Copyright (c) 2026 Lucide
|
|
176
|
+
* Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2026 as part of Feather (MIT). All other copyright (c) for Lucide are held by Lucide Contributors 2026.
|
|
185
177
|
*
|
|
186
178
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
187
179
|
* purpose with or without fee is hereby granted, provided that the above
|
|
@@ -197,13 +189,9 @@ function X($$renderer, $$props) {
|
|
|
197
189
|
*
|
|
198
190
|
* ---
|
|
199
191
|
*
|
|
200
|
-
* The
|
|
201
|
-
*
|
|
202
|
-
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
|
|
203
|
-
*
|
|
204
|
-
* The MIT License (MIT) (for the icons listed above)
|
|
192
|
+
* The MIT License (MIT) (for portions derived from Feather)
|
|
205
193
|
*
|
|
206
|
-
* Copyright (c) 2013-
|
|
194
|
+
* Copyright (c) 2013-2026 Cole Bemis
|
|
207
195
|
*
|
|
208
196
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
209
197
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Circle_check } from "./circle-check-
|
|
2
|
-
import { t as Loader_circle } from "./loader-circle-
|
|
1
|
+
import { t as Circle_check } from "./circle-check-CPS9dKEo.js";
|
|
2
|
+
import { t as Loader_circle } from "./loader-circle-CIEWGyfP.js";
|
|
3
3
|
import { a as Dialog, i as Dialog_description, n as Dialog_header, o as Button, r as Dialog_footer, t as Dialog_title } from "./dialog-BOV1u6zP.js";
|
|
4
4
|
import * as $ from "svelte/internal/server";
|
|
5
5
|
//#region src/lib/components/DeleteDialog.svelte
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Chevron_right } from "./chevron-right-
|
|
3
|
-
import { t as Folder } from "./folder-
|
|
4
|
-
import { a as Dropdown_menu, i as Dropdown_menu_content, o as Ellipsis_vertical, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./dropdown-menu-
|
|
5
|
-
import {
|
|
1
|
+
import { Rr as dashboard_new_document, Sr as folders_new, bt as editor_more_options, dn as action_go_to, kr as doc_share, vr as folders_delete, yr as folders_rename } from "./messages-D-auzk9H.js";
|
|
2
|
+
import { t as Chevron_right } from "./chevron-right-DKD7WXjz.js";
|
|
3
|
+
import { t as Folder } from "./folder-DYIE-XPP.js";
|
|
4
|
+
import { a as Dropdown_menu, i as Dropdown_menu_content, o as Ellipsis_vertical, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./dropdown-menu-Dn_vQq9b.js";
|
|
5
|
+
import { a as getDocsmintRequestAdapter, n as navigateDocsmintRoute, t as getDocsmintRouteAdapter } from "./route-context-BPRerEtZ.js";
|
|
6
6
|
import { t as cn } from "./utils-DvZnctjz.js";
|
|
7
7
|
import "./dndzone-DMvTO_Jz.js";
|
|
8
8
|
import "./subfolders-refresh-store.svelte-DAh4gT16.js";
|