@hiai-gg/docsmint 0.6.8 → 0.7.0
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 +20 -4
- package/backend/src/lib/api-keys.ts +14 -6
- package/backend/src/lib/lifecycle-service.ts +397 -73
- package/dist/backend/index.js +13038 -10864
- package/dist/backend-account-runtime-cleanup.js +152 -42
- package/dist/backend-api-key-facade.js +207 -61
- package/dist/backend-pipeline-cancellation.js +144 -42
- package/dist/client.d.ts +12 -2
- package/dist/client.js +83 -30
- package/dist/frontend/{CategoryDialog-CbXBMBZB.js → CategoryDialog-C67_TXf0.js} +4 -4
- package/dist/frontend/{ConfirmDialog-DgMTQBq4.js → ConfirmDialog-_LlrA--f.js} +3 -3
- package/dist/frontend/{CreateSnapshotDialog-FUq-ZfBH.js → CreateSnapshotDialog-BmCRpOMv.js} +3 -3
- package/dist/frontend/{DatePicker-D6E-EEtZ.js → DatePicker-DsoepNdb.js} +8 -8
- package/dist/frontend/{DeleteDialog-8k6JYWCx.js → DeleteDialog-L1A3FhMM.js} +1 -1
- package/dist/frontend/{FolderNode-DAAn_T8_.js → FolderNode-CNwi0ySr.js} +1 -1
- package/dist/frontend/{HiAiEditor-DSVG3GNd.js → HiAiEditor-B1EDGsnA.js} +6 -6
- package/dist/frontend/{SettingsDialog-BDNgf5rv.js → SettingsDialog-AP42xOGg.js} +12 -12
- package/dist/frontend/ShareDialog-wGTXuXFE.js +281 -0
- package/dist/frontend/{Sidebar-DX08utdV.js → Sidebar-lKQT3dEf.js} +17 -16
- package/dist/frontend/{TagCreateDialog-Bb0-Vtzh.js → TagCreateDialog-su8BhLzS.js} +3 -3
- package/dist/frontend/api/attachments.js +1 -1
- package/dist/frontend/api/settings.js +1 -1
- package/dist/frontend/app-shell.js +2 -2
- package/dist/frontend/{attachments-B8AuDjno.js → attachments-B2aH3hXF.js} +10 -9
- package/dist/frontend/{auth-client-Cygmp1I2.js → auth-client-CnDZwPfp.js} +11 -11
- 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/folder-node.js +1 -1
- package/dist/frontend/components/save-as-dialog.js +3 -3
- package/dist/frontend/components/settings.js +1 -1
- package/dist/frontend/components/share-dialog.d.ts +2 -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 +2 -2
- package/dist/frontend/{confirm-dialog-CzmoZw3a.js → confirm-dialog-BG8y2Pum.js} +4 -4
- package/dist/frontend/dashboard.js +1008 -998
- package/dist/frontend/{db-ByrlYfaI.js → db-Bo1t_76T.js} +1 -1
- package/dist/frontend/{dialog-Ce79C9fd.js → dialog-C2iKObEu.js} +7 -7
- package/dist/frontend/{dropdown-menu-CJ_7V3N0.js → dropdown-menu-BXIl2E26.js} +12 -12
- package/dist/frontend/{floating-layer-anchor-S5RSefGN.js → floating-layer-anchor-BGIndLY-.js} +63 -63
- package/dist/frontend/{identity-DyWeNzu_.js → identity-Ynrglr5i.js} +1 -1
- package/dist/frontend/{input-BWlOML_m.js → input-eHFb2qiL.js} +2 -2
- package/dist/frontend/{label-C2HfJNQ2.js → label-_I1iiaNU.js} +2 -2
- package/dist/frontend/offline/identity.js +1 -1
- package/dist/frontend/search.js +2 -2
- package/dist/frontend/{select-value-JCAp2PmU.js → select-value-CtMyrvDJ.js} +18 -18
- package/dist/frontend/{settings-DSrUl4hW.js → settings-BR48ihB4.js} +6 -23
- package/dist/frontend/{textarea-DOAE-h42.js → textarea-2eslfANY.js} +2 -2
- package/dist/frontend/{utils-BPDRytUU.js → utils-CDBqTgoV.js} +1 -1
- package/dist/frontend-ssr/api/attachments.js +1 -1
- package/dist/frontend-ssr/api/settings.js +1 -1
- package/dist/frontend-ssr/app-shell.js +2 -2
- package/dist/frontend-ssr/assets/{CategoryDialog-QHEv_9N4.js → CategoryDialog-BGuHTb3K.js} +4 -4
- package/dist/frontend-ssr/assets/{ConfirmDialog-BhAelejz.js → ConfirmDialog-D1BDXXll.js} +3 -3
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-CI8vXXcN.js → CreateSnapshotDialog-BZ45odvJ.js} +3 -3
- package/dist/frontend-ssr/assets/{DatePicker-D84cJ-Eq.js → DatePicker-CPtl6W5E.js} +3 -3
- package/dist/frontend-ssr/assets/{DeleteDialog-DG9Lm38J.js → DeleteDialog-oHT_p_vG.js} +1 -1
- package/dist/frontend-ssr/assets/{FolderNode-kmilhDjO.js → FolderNode-D9kgJG9d.js} +1 -1
- package/dist/frontend-ssr/assets/{HiAiEditor-CUOJmKzT.js → HiAiEditor-DOd2MXjD.js} +5 -5
- package/dist/frontend-ssr/assets/{SettingsDialog-BjJIiVLc.js → SettingsDialog-CIVbMKmf.js} +12 -12
- package/dist/frontend-ssr/assets/{ShareDialog-C9C-XTm4.js → ShareDialog-D2UNUbF7.js} +19 -6
- package/dist/frontend-ssr/assets/{Sidebar-C2sUfGNk.js → Sidebar-Bb-k2R-Z.js} +13 -12
- package/dist/frontend-ssr/assets/{TagCreateDialog-DUPMitlL.js → TagCreateDialog-6Gk7L3D-.js} +3 -3
- package/dist/frontend-ssr/assets/{attachments-Cj3fQyUp.js → attachments-BdkOp8ha.js} +5 -4
- package/dist/frontend-ssr/assets/{auth-client-x26kqY8Z.js → auth-client-CojKIzqy.js} +13 -13
- package/dist/frontend-ssr/assets/{confirm-dialog-XuyaL8sr.js → confirm-dialog-B9MVS_bF.js} +4 -4
- package/dist/frontend-ssr/assets/{db-CnxeO66n.js → db-BhwJPEkn.js} +1 -1
- package/dist/frontend-ssr/assets/{dialog-BOV1u6zP.js → dialog-1SB5neow.js} +8 -8
- package/dist/frontend-ssr/assets/{dropdown-menu-Dn_vQq9b.js → dropdown-menu-DqoOkdqB.js} +12 -12
- package/dist/frontend-ssr/assets/{floating-layer-anchor-BIAu-252.js → floating-layer-anchor-BoiiIEiK.js} +71 -71
- package/dist/frontend-ssr/assets/{identity-B3uHoDtf.js → identity-DcMMBKWg.js} +1 -1
- package/dist/frontend-ssr/assets/{input-DezGsU3y.js → input-Df-QP3Km.js} +2 -2
- package/dist/frontend-ssr/assets/{label-Bj8-TfFN.js → label-CbUOUz6L.js} +2 -2
- package/dist/frontend-ssr/assets/{select-value-DBhbkNcc.js → select-value-CXEDWrZg.js} +18 -18
- package/dist/frontend-ssr/assets/{settings-Bk5Hk9Vq.js → settings-Mp8EuFSn.js} +3 -21
- package/dist/frontend-ssr/assets/{textarea-Dev-qSEc.js → textarea-CHh8NuSS.js} +2 -2
- package/dist/frontend-ssr/assets/{utils-DtlPPXpJ.js → utils-DtX0ta7y.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/folder-node.js +1 -1
- package/dist/frontend-ssr/components/save-as-dialog.js +3 -3
- 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 +2 -2
- package/dist/frontend-ssr/dashboard.js +31 -29
- package/dist/frontend-ssr/offline/identity.js +1 -1
- package/dist/frontend-ssr/search.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/lifecycle-persistent.d.ts +1 -1
- package/dist/lifecycle-runtime.js +52659 -338
- package/dist/mcp-cli.js +1056 -0
- package/dist/mcp-server.d.ts +39 -0
- package/dist/mcp-server.js +1053 -0
- package/dist/storage-quota.d.ts +5 -1
- package/dist/types.d.ts +7 -0
- package/dist/workspace.d.ts +11 -2
- package/dist/workspace.js +82 -10
- package/package.json +7 -13
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/client.ts +56 -5
- package/packages/db/src/schema.ts +192 -1
- package/packages/db/src/with-tenant.ts +20 -2
- package/server.json +2 -2
- package/dist/frontend/ShareDialog-2Mty7hm4.js +0 -258
- package/packages/mcp-server/src/capabilities.ts +0 -189
- package/packages/mcp-server/src/client.ts +0 -225
- package/packages/mcp-server/src/index.ts +0 -8
- package/packages/mcp-server/src/server.ts +0 -87
- package/packages/mcp-server/src/tools/create-document.ts +0 -34
- package/packages/mcp-server/src/tools/create-folder.ts +0 -31
- package/packages/mcp-server/src/tools/create-snapshot.ts +0 -27
- package/packages/mcp-server/src/tools/export-document.ts +0 -22
- package/packages/mcp-server/src/tools/get-document.ts +0 -22
- package/packages/mcp-server/src/tools/list-documents.ts +0 -34
- package/packages/mcp-server/src/tools/list-folders.ts +0 -26
- package/packages/mcp-server/src/tools/search.ts +0 -39
- package/packages/mcp-server/src/tools/update-document.ts +0 -38
- package/packages/mcp-server/src/tools/version-history.ts +0 -27
- package/packages/mcp-server/src/types.ts +0 -126
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
2
|
-
import { $ as styleToString, B as HOME, C as prev, D as createBitsAttrs, E as boolToTrueOrUndef, F as ARROW_UP, G as Previous, H as PAGE_DOWN, J as attachRef, K as watch, M as ARROW_DOWN, O as getDataOpenClosed, Q as mergeProps, S as next, T as boolToStr, U as PAGE_UP, X as afterTick, Y as DOMContext, _ as boxAutoReset, a as Floating_layer, b as forward, et as boxWith, g as DOMTypeahead, h as PresenceManager, i as createId, j as isIOS, k as getDataTransitionAttrs, n as Popper_layer_force_mount, o as getFloatingContentCSSVars, q as Context, r as Popper_layer, t as Floating_layer_anchor, v as noop, w as boolToEmptyStrOrUndef, x as getNextMatch, y as backward } from "./floating-layer-anchor-
|
|
1
|
+
import { t as cn } from "./utils-DtX0ta7y.js";
|
|
2
|
+
import { $ as styleToString, B as HOME, C as prev, D as createBitsAttrs, E as boolToTrueOrUndef, F as ARROW_UP, G as Previous, H as PAGE_DOWN, J as attachRef, K as watch, M as ARROW_DOWN, O as getDataOpenClosed, Q as mergeProps, S as next, T as boolToStr, U as PAGE_UP, X as afterTick, Y as DOMContext, _ as boxAutoReset, a as Floating_layer, b as forward, et as boxWith, g as DOMTypeahead, h as PresenceManager, i as createId, j as isIOS, k as getDataTransitionAttrs, n as Popper_layer_force_mount, o as getFloatingContentCSSVars, q as Context, r as Popper_layer, t as Floating_layer_anchor, v as noop, w as boolToEmptyStrOrUndef, x as getNextMatch, y as backward } from "./floating-layer-anchor-BoiiIEiK.js";
|
|
3
3
|
import * as $ from "svelte/internal/server";
|
|
4
4
|
import "svelte";
|
|
5
5
|
import { on } from "svelte/events";
|
|
6
|
-
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+
|
|
6
|
+
//#region ../node_modules/.bun/svelte-toolbelt@0.10.6+482bfb9a01396021/node_modules/svelte-toolbelt/dist/utils/sr-only-styles.js
|
|
7
7
|
var srOnlyStyles = {
|
|
8
8
|
position: "absolute",
|
|
9
9
|
width: "1px",
|
|
@@ -18,7 +18,7 @@ var srOnlyStyles = {
|
|
|
18
18
|
};
|
|
19
19
|
styleToString(srOnlyStyles);
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
21
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/internal/data-typeahead.svelte.js
|
|
22
22
|
var DataTypeahead = class {
|
|
23
23
|
#opts;
|
|
24
24
|
#candidateValues = $.derived(() => this.#opts.candidateValues());
|
|
@@ -849,7 +849,7 @@ var SelectViewportState = class SelectViewportState {
|
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
851
|
//#endregion
|
|
852
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
852
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/hidden-input.svelte
|
|
853
853
|
function Hidden_input($$renderer, $$props) {
|
|
854
854
|
$$renderer.component(($$renderer) => {
|
|
855
855
|
let { value = void 0, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -881,7 +881,7 @@ function Hidden_input($$renderer, $$props) {
|
|
|
881
881
|
});
|
|
882
882
|
}
|
|
883
883
|
//#endregion
|
|
884
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
884
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/select/components/select-hidden-input.svelte
|
|
885
885
|
function Select_hidden_input($$renderer, $$props) {
|
|
886
886
|
$$renderer.component(($$renderer) => {
|
|
887
887
|
let { value = void 0, autocomplete } = $$props;
|
|
@@ -914,7 +914,7 @@ function Select_hidden_input($$renderer, $$props) {
|
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
916
|
//#endregion
|
|
917
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
917
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/select/components/select.svelte
|
|
918
918
|
function Select$1($$renderer, $$props) {
|
|
919
919
|
$$renderer.component(($$renderer) => {
|
|
920
920
|
let { value = void 0, onValueChange = noop, name = "", disabled = false, type, open = false, onOpenChange = noop, onOpenChangeComplete = noop, loop = false, scrollAlignment = "nearest", required = false, items = [], allowDeselect = false, autocomplete, children } = $$props;
|
|
@@ -1006,7 +1006,7 @@ function Select$1($$renderer, $$props) {
|
|
|
1006
1006
|
});
|
|
1007
1007
|
}
|
|
1008
1008
|
//#endregion
|
|
1009
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1009
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/select/components/select-value.svelte
|
|
1010
1010
|
function Select_value$1($$renderer, $$props) {
|
|
1011
1011
|
$$renderer.component(($$renderer) => {
|
|
1012
1012
|
const uid = $.props_id($$renderer);
|
|
@@ -1048,7 +1048,7 @@ function Select_value$1($$renderer, $$props) {
|
|
|
1048
1048
|
});
|
|
1049
1049
|
}
|
|
1050
1050
|
//#endregion
|
|
1051
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1051
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/select/components/select-content.svelte
|
|
1052
1052
|
function Select_content$1($$renderer, $$props) {
|
|
1053
1053
|
$$renderer.component(($$renderer) => {
|
|
1054
1054
|
const uid = $.props_id($$renderer);
|
|
@@ -1140,7 +1140,7 @@ function Select_content$1($$renderer, $$props) {
|
|
|
1140
1140
|
});
|
|
1141
1141
|
}
|
|
1142
1142
|
//#endregion
|
|
1143
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1143
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/mounted.svelte
|
|
1144
1144
|
function Mounted($$renderer, $$props) {
|
|
1145
1145
|
$$renderer.component(($$renderer) => {
|
|
1146
1146
|
let { mounted = false, onMountedChange = noop } = $$props;
|
|
@@ -1148,7 +1148,7 @@ function Mounted($$renderer, $$props) {
|
|
|
1148
1148
|
});
|
|
1149
1149
|
}
|
|
1150
1150
|
//#endregion
|
|
1151
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1151
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/select/components/select-item.svelte
|
|
1152
1152
|
function Select_item$1($$renderer, $$props) {
|
|
1153
1153
|
$$renderer.component(($$renderer) => {
|
|
1154
1154
|
const uid = $.props_id($$renderer);
|
|
@@ -1201,7 +1201,7 @@ function Select_item$1($$renderer, $$props) {
|
|
|
1201
1201
|
});
|
|
1202
1202
|
}
|
|
1203
1203
|
//#endregion
|
|
1204
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1204
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/select/components/select-trigger.svelte
|
|
1205
1205
|
function Select_trigger$1($$renderer, $$props) {
|
|
1206
1206
|
$$renderer.component(($$renderer) => {
|
|
1207
1207
|
const uid = $.props_id($$renderer);
|
|
@@ -1240,7 +1240,7 @@ function Select_trigger$1($$renderer, $$props) {
|
|
|
1240
1240
|
});
|
|
1241
1241
|
}
|
|
1242
1242
|
//#endregion
|
|
1243
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
1243
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/select/components/select-viewport.svelte
|
|
1244
1244
|
function Select_viewport($$renderer, $$props) {
|
|
1245
1245
|
$$renderer.component(($$renderer) => {
|
|
1246
1246
|
const uid = $.props_id($$renderer);
|
|
@@ -1265,7 +1265,7 @@ function Select_viewport($$renderer, $$props) {
|
|
|
1265
1265
|
});
|
|
1266
1266
|
}
|
|
1267
1267
|
//#endregion
|
|
1268
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
1268
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select.svelte
|
|
1269
1269
|
function Select($$renderer, $$props) {
|
|
1270
1270
|
$$renderer.component(($$renderer) => {
|
|
1271
1271
|
let { value = void 0, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1308,7 +1308,7 @@ function Select($$renderer, $$props) {
|
|
|
1308
1308
|
});
|
|
1309
1309
|
}
|
|
1310
1310
|
//#endregion
|
|
1311
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
1311
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-content.svelte
|
|
1312
1312
|
function Select_content($$renderer, $$props) {
|
|
1313
1313
|
$$renderer.component(($$renderer) => {
|
|
1314
1314
|
let { ref = null, class: className, sideOffset = 4, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1371,7 +1371,7 @@ function Select_content($$renderer, $$props) {
|
|
|
1371
1371
|
});
|
|
1372
1372
|
}
|
|
1373
1373
|
//#endregion
|
|
1374
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
1374
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-item.svelte
|
|
1375
1375
|
function Select_item($$renderer, $$props) {
|
|
1376
1376
|
$$renderer.component(($$renderer) => {
|
|
1377
1377
|
let { ref = null, class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1418,7 +1418,7 @@ function Select_item($$renderer, $$props) {
|
|
|
1418
1418
|
});
|
|
1419
1419
|
}
|
|
1420
1420
|
//#endregion
|
|
1421
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
1421
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-trigger.svelte
|
|
1422
1422
|
function Select_trigger($$renderer, $$props) {
|
|
1423
1423
|
$$renderer.component(($$renderer) => {
|
|
1424
1424
|
let { ref = null, class: className, child, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1490,7 +1490,7 @@ function Select_trigger($$renderer, $$props) {
|
|
|
1490
1490
|
});
|
|
1491
1491
|
}
|
|
1492
1492
|
//#endregion
|
|
1493
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
1493
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/select/select-value.svelte
|
|
1494
1494
|
function Select_value($$renderer, $$props) {
|
|
1495
1495
|
let { children, $$slots, $$events, ...restProps } = $$props;
|
|
1496
1496
|
if (children) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as authClient } from "./auth-client-
|
|
1
|
+
import { t as authClient } from "./auth-client-CojKIzqy.js";
|
|
2
2
|
import { n as apiFetch } from "./client-DZMkDkDn.js";
|
|
3
3
|
//#region src/lib/api/settings.ts
|
|
4
4
|
async function getProfile() {
|
|
@@ -26,20 +26,7 @@ async function updateProfile(data) {
|
|
|
26
26
|
body: JSON.stringify({ name: data.name })
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
var EMBEDDING_KEY = "hiai-docs:embedding-config";
|
|
30
29
|
function getEmbeddingConfig() {
|
|
31
|
-
if (typeof window === "undefined") return {
|
|
32
|
-
baseUrl: "",
|
|
33
|
-
apiKey: "",
|
|
34
|
-
model: "",
|
|
35
|
-
fallbackBaseUrl: null,
|
|
36
|
-
fallbackApiKey: null,
|
|
37
|
-
fallbackModel: null
|
|
38
|
-
};
|
|
39
|
-
try {
|
|
40
|
-
const stored = localStorage.getItem(EMBEDDING_KEY);
|
|
41
|
-
if (stored) return JSON.parse(stored);
|
|
42
|
-
} catch {}
|
|
43
30
|
return {
|
|
44
31
|
baseUrl: "",
|
|
45
32
|
apiKey: "",
|
|
@@ -49,13 +36,8 @@ function getEmbeddingConfig() {
|
|
|
49
36
|
fallbackModel: null
|
|
50
37
|
};
|
|
51
38
|
}
|
|
52
|
-
function updateEmbeddingConfig(
|
|
53
|
-
|
|
54
|
-
...getEmbeddingConfig(),
|
|
55
|
-
...data
|
|
56
|
-
};
|
|
57
|
-
localStorage.setItem(EMBEDDING_KEY, JSON.stringify(updated));
|
|
58
|
-
return updated;
|
|
39
|
+
function updateEmbeddingConfig(_data) {
|
|
40
|
+
return getEmbeddingConfig();
|
|
59
41
|
}
|
|
60
42
|
async function deleteAccount() {
|
|
61
43
|
await apiFetch("/api/auth/delete-user", { method: "POST" });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "./utils-
|
|
1
|
+
import { t as cn } from "./utils-DtX0ta7y.js";
|
|
2
2
|
import * as $ from "svelte/internal/server";
|
|
3
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
3
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/textarea/textarea.svelte
|
|
4
4
|
function Textarea($$renderer, $$props) {
|
|
5
5
|
$$renderer.component(($$renderer) => {
|
|
6
6
|
let { ref = null, class: className, value = "", $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clsx } from "clsx";
|
|
2
2
|
import { twMerge } from "tailwind-merge";
|
|
3
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
3
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/lib/utils.js
|
|
4
4
|
/** Merge Tailwind class names, resolving conflicts (shadcn-svelte convention). */
|
|
5
5
|
function cn(...inputs) {
|
|
6
6
|
return twMerge(clsx(inputs));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CategoryDialog } from "../assets/CategoryDialog-
|
|
1
|
+
import { t as CategoryDialog } from "../assets/CategoryDialog-BGuHTb3K.js";
|
|
2
2
|
export { CategoryDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CreateSnapshotDialog } from "../assets/CreateSnapshotDialog-
|
|
1
|
+
import { t as CreateSnapshotDialog } from "../assets/CreateSnapshotDialog-BZ45odvJ.js";
|
|
2
2
|
export { CreateSnapshotDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DeleteDialog } from "../assets/DeleteDialog-
|
|
1
|
+
import { t as DeleteDialog } from "../assets/DeleteDialog-oHT_p_vG.js";
|
|
2
2
|
export { DeleteDialog };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as HiAiEditor } from "../../assets/HiAiEditor-
|
|
1
|
+
import { t as HiAiEditor } from "../../assets/HiAiEditor-DOd2MXjD.js";
|
|
2
2
|
import "svelte/internal/server";
|
|
3
3
|
//#region src/lib/components/editor/CompactEditor.svelte
|
|
4
4
|
function CompactEditor($$renderer, $$props) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as HiAiEditor } from "../../assets/HiAiEditor-
|
|
1
|
+
import { t as HiAiEditor } from "../../assets/HiAiEditor-DOd2MXjD.js";
|
|
2
2
|
export { HiAiEditor as DocsmintDocumentEditorHost };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FolderNode } from "../assets/FolderNode-
|
|
1
|
+
import { t as FolderNode } from "../assets/FolderNode-D9kgJG9d.js";
|
|
2
2
|
export { FolderNode };
|
|
@@ -3,10 +3,10 @@ import { t as Chevron_down } from "../assets/chevron-down-CvqKATjM.js";
|
|
|
3
3
|
import { t as FolderTreeSelector } from "../assets/FolderTreeSelector-Bxi8EqMm.js";
|
|
4
4
|
import { t as Loader_circle } from "../assets/loader-circle-CIEWGyfP.js";
|
|
5
5
|
import { a as getDocsmintRequestAdapter } from "../assets/route-context-BPRerEtZ.js";
|
|
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 "../assets/dialog-
|
|
7
|
-
import { t as Label } from "../assets/label-
|
|
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 "../assets/dialog-1SB5neow.js";
|
|
7
|
+
import { t as Label } from "../assets/label-CbUOUz6L.js";
|
|
8
8
|
import "../assets/categories-av9xjeg5.js";
|
|
9
|
-
import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "../assets/select-value-
|
|
9
|
+
import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "../assets/select-value-CXEDWrZg.js";
|
|
10
10
|
import { d as refreshFolders } from "../assets/subfolders-refresh-store.svelte-CXHxQWKh.js";
|
|
11
11
|
import * as $ from "svelte/internal/server";
|
|
12
12
|
//#region src/lib/components/SaveAsDialog.svelte
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SettingsDialog } from "../assets/SettingsDialog-
|
|
1
|
+
import { t as SettingsDialog } from "../assets/SettingsDialog-CIVbMKmf.js";
|
|
2
2
|
export { SettingsDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ShareDialog } from "../assets/ShareDialog-
|
|
1
|
+
import { t as ShareDialog } from "../assets/ShareDialog-D2UNUbF7.js";
|
|
2
2
|
export { ShareDialog };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Sidebar } from "../assets/Sidebar-
|
|
1
|
+
import { t as Sidebar } from "../assets/Sidebar-Bb-k2R-Z.js";
|
|
2
2
|
export { Sidebar };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TagCreateDialog } from "../assets/TagCreateDialog-
|
|
1
|
+
import { t as TagCreateDialog } from "../assets/TagCreateDialog-6Gk7L3D-.js";
|
|
2
2
|
export { TagCreateDialog };
|
|
@@ -7,8 +7,8 @@ import { t as Circle_check } from "../assets/circle-check-CPS9dKEo.js";
|
|
|
7
7
|
import { t as Loader_circle } from "../assets/loader-circle-CIEWGyfP.js";
|
|
8
8
|
import { a as getDocsmintRequestAdapter } from "../assets/route-context-BPRerEtZ.js";
|
|
9
9
|
import { n as apiFetch, t as ApiError } from "../assets/client-DZMkDkDn.js";
|
|
10
|
-
import { t as ConfirmDialog } from "../assets/ConfirmDialog-
|
|
11
|
-
import { t as CreateSnapshotDialog } from "../assets/CreateSnapshotDialog-
|
|
10
|
+
import { t as ConfirmDialog } from "../assets/ConfirmDialog-D1BDXXll.js";
|
|
11
|
+
import { t as CreateSnapshotDialog } from "../assets/CreateSnapshotDialog-BZ45odvJ.js";
|
|
12
12
|
import * as $ from "svelte/internal/server";
|
|
13
13
|
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/history.svelte
|
|
14
14
|
function History($$renderer, $$props) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { Cr as doc_open, Dr as doc_share, Fr as dashboard_page_title, Ir as dashboard_new_document, Lr as dashboard_subtitle, Pr as doc_title_placeholder, Rr as dashboard_title, Sr as doc_duplicate, Tr as doc_updated, _n as action_cancel, _r as folders_rename, _t as folder_page_title, a as import_progress_error, bt as editor_more_options, c as import_progress_queued, cr as folders_subfolders, d as import_progress_title, f as sidebar_uncategorized, fn as action_back, gn as action_delete, gr as folders_delete, gt as share_copied, hr as folders_delete_title, i as import_progress_summary, k as dashboard_import, l as import_progress_uploading, lr as folders_document, mr as folders_delete_description, n as import_progress_empty, o as import_progress_done, or as folders_move, pn as action_close, r as import_progress_close, s as import_progress_processing, sr as folders_subfolder, u as import_progress_total, un as action_loading, ur as folders_documents, vn as action_save, vr as folders_empty_description, wr as doc_open_menu, xr as doc_move_to_folder, yr as folders_empty, yt as action_copy_content, zr as nav_documents } from "./assets/messages-BAQzILs4.js";
|
|
2
2
|
import { t as Icon } from "./assets/Icon-QwirKi9Y.js";
|
|
3
|
-
import { i as Folder_kanban, n as Badge, r as X, t as DatePicker } from "./assets/DatePicker-
|
|
4
|
-
import { i as Check, n as Plus, r as File_text, t as FolderDialog } from "./assets/confirm-dialog-
|
|
3
|
+
import { i as Folder_kanban, n as Badge, r as X, t as DatePicker } from "./assets/DatePicker-CPtl6W5E.js";
|
|
4
|
+
import { i as Check, n as Plus, r as File_text, t as FolderDialog } from "./assets/confirm-dialog-B9MVS_bF.js";
|
|
5
5
|
import { t as Chevron_down } from "./assets/chevron-down-CvqKATjM.js";
|
|
6
6
|
import { t as Chevron_right } from "./assets/chevron-right-DKD7WXjz.js";
|
|
7
7
|
import { t as Copy } from "./assets/copy-DkkCPkBL.js";
|
|
8
8
|
import { n as Folder_open, t as FolderTreeSelector } from "./assets/FolderTreeSelector-Bxi8EqMm.js";
|
|
9
9
|
import { t as Folder } from "./assets/folder-DYIE-XPP.js";
|
|
10
10
|
import { t as Rotate_ccw } from "./assets/rotate-ccw-dJSqPyTd.js";
|
|
11
|
-
import { a as Dropdown_menu, i as Dropdown_menu_content, n as Dropdown_menu_separator, o as Ellipsis_vertical, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./assets/dropdown-menu-
|
|
11
|
+
import { a as Dropdown_menu, i as Dropdown_menu_content, n as Dropdown_menu_separator, o as Ellipsis_vertical, r as Dropdown_menu_item, t as Dropdown_menu_trigger } from "./assets/dropdown-menu-DqoOkdqB.js";
|
|
12
12
|
import { t as Loader_circle } from "./assets/loader-circle-CIEWGyfP.js";
|
|
13
13
|
import { a as getDocsmintRequestAdapter, i as resolveDocsmintRoute, n as navigateDocsmintRoute, t as getDocsmintRouteAdapter } from "./assets/route-context-BPRerEtZ.js";
|
|
14
14
|
import { n as formatRelativeTime } from "./assets/utils-DvZnctjz.js";
|
|
15
|
-
import { t as cn } from "./assets/utils-
|
|
16
|
-
import { a as Dialog, i as Dialog_description, n as Dialog_header, o as Button, r as Dialog_footer, t as Dialog_title } from "./assets/dialog-
|
|
17
|
-
import { t as Label } from "./assets/label-
|
|
15
|
+
import { t as cn } from "./assets/utils-DtX0ta7y.js";
|
|
16
|
+
import { a as Dialog, i as Dialog_description, n as Dialog_header, o as Button, r as Dialog_footer, t as Dialog_title } from "./assets/dialog-1SB5neow.js";
|
|
17
|
+
import { t as Label } from "./assets/label-CbUOUz6L.js";
|
|
18
18
|
import { n as apiFetch } from "./assets/client-DZMkDkDn.js";
|
|
19
19
|
import "./assets/categories-av9xjeg5.js";
|
|
20
20
|
import { t as getFrontendExtensions } from "./assets/context-Bi_mO-NS.js";
|
|
21
21
|
import { t as resolveExtensions } from "./assets/resolve-BqHozBXl.js";
|
|
22
|
-
import { A as isBrowser, K as watch, et as boxWith, q as Context } from "./assets/floating-layer-anchor-
|
|
23
|
-
import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "./assets/select-value-
|
|
22
|
+
import { A as isBrowser, K as watch, et as boxWith, q as Context } from "./assets/floating-layer-anchor-BoiiIEiK.js";
|
|
23
|
+
import { a as Select, i as Select_content, n as Select_trigger, r as Select_item, t as Select_value } from "./assets/select-value-CXEDWrZg.js";
|
|
24
24
|
import { c as updateDocument, i as getDocument } from "./assets/documents-CZ-wQohy.js";
|
|
25
25
|
import { c as updateFolder, i as duplicateDocument } from "./assets/folders-BX30gHv6.js";
|
|
26
|
+
import { t as ShareDialog } from "./assets/ShareDialog-D2UNUbF7.js";
|
|
26
27
|
import { t as copyToClipboard } from "./assets/clipboard-CXOaoz2W.js";
|
|
27
|
-
import { t as ShareDialog } from "./assets/ShareDialog-C9C-XTm4.js";
|
|
28
28
|
import { d as refreshFolders, n as bumpSubfoldersRefresh } from "./assets/subfolders-refresh-store.svelte-CXHxQWKh.js";
|
|
29
29
|
import { n as refreshDocs } from "./assets/tag-store.svelte-BM1lUI_P.js";
|
|
30
|
-
import { t as ConfirmDialog } from "./assets/ConfirmDialog-
|
|
30
|
+
import { t as ConfirmDialog } from "./assets/ConfirmDialog-D1BDXXll.js";
|
|
31
31
|
import * as $ from "svelte/internal/server";
|
|
32
32
|
import { getAllContexts, mount, unmount } from "svelte";
|
|
33
33
|
import { page } from "$app/state";
|
|
@@ -845,7 +845,7 @@ function Circle_x($$renderer, $$props) {
|
|
|
845
845
|
]));
|
|
846
846
|
}
|
|
847
847
|
//#endregion
|
|
848
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
848
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/portal/portal-consumer.svelte
|
|
849
849
|
function Portal_consumer($$renderer, $$props) {
|
|
850
850
|
const { children } = $$props;
|
|
851
851
|
$$renderer.push(`<!---->`);
|
|
@@ -854,7 +854,7 @@ function Portal_consumer($$renderer, $$props) {
|
|
|
854
854
|
$$renderer.push(`<!---->`);
|
|
855
855
|
}
|
|
856
856
|
//#endregion
|
|
857
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
857
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/config/bits-config.js
|
|
858
858
|
var BitsConfigContext = new Context("BitsConfig");
|
|
859
859
|
/**
|
|
860
860
|
* Gets the current Bits UI configuration state from the context.
|
|
@@ -921,7 +921,7 @@ function createConfigResolver(parent, currentOpts) {
|
|
|
921
921
|
};
|
|
922
922
|
}
|
|
923
923
|
//#endregion
|
|
924
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
924
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/config/prop-resolvers.js
|
|
925
925
|
/**
|
|
926
926
|
* Creates a generic prop resolver that follows a standard priority chain:
|
|
927
927
|
* 1. The getter's prop value (if defined)
|
|
@@ -947,7 +947,7 @@ function createPropResolver(configOption, fallback) {
|
|
|
947
947
|
*/
|
|
948
948
|
var resolvePortalToProp = createPropResolver((config) => config.defaultPortalTo, "body");
|
|
949
949
|
//#endregion
|
|
950
|
-
//#region ../node_modules/.bun/bits-ui@2.18.1+
|
|
950
|
+
//#region ../node_modules/.bun/bits-ui@2.18.1+cc847a85639d1c68/node_modules/bits-ui/dist/bits/utilities/portal/portal.svelte
|
|
951
951
|
function Portal($$renderer, $$props) {
|
|
952
952
|
$$renderer.component(($$renderer) => {
|
|
953
953
|
let { to: toProp, children, disabled } = $$props;
|
|
@@ -991,7 +991,7 @@ function Portal($$renderer, $$props) {
|
|
|
991
991
|
});
|
|
992
992
|
}
|
|
993
993
|
//#endregion
|
|
994
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
994
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/card/card.svelte
|
|
995
995
|
function Card($$renderer, $$props) {
|
|
996
996
|
$$renderer.component(($$renderer) => {
|
|
997
997
|
let { ref = null, class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1009,7 +1009,7 @@ function Card($$renderer, $$props) {
|
|
|
1009
1009
|
});
|
|
1010
1010
|
}
|
|
1011
1011
|
//#endregion
|
|
1012
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
1012
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/card/card-content.svelte
|
|
1013
1013
|
function Card_content($$renderer, $$props) {
|
|
1014
1014
|
$$renderer.component(($$renderer) => {
|
|
1015
1015
|
let { ref = null, class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1027,7 +1027,7 @@ function Card_content($$renderer, $$props) {
|
|
|
1027
1027
|
});
|
|
1028
1028
|
}
|
|
1029
1029
|
//#endregion
|
|
1030
|
-
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+
|
|
1030
|
+
//#region ../node_modules/.bun/@hiai-gg+hiai-ui@0.0.8+8f2b9fada26e5f3b/node_modules/@hiai-gg/hiai-ui/dist/components/ui/card/card-header.svelte
|
|
1031
1031
|
function Card_header($$renderer, $$props) {
|
|
1032
1032
|
$$renderer.component(($$renderer) => {
|
|
1033
1033
|
let { ref = null, class: className, children, $$slots, $$events, ...restProps } = $$props;
|
|
@@ -1259,6 +1259,16 @@ function stripMarkdown(markdown) {
|
|
|
1259
1259
|
return text.trim();
|
|
1260
1260
|
}
|
|
1261
1261
|
//#endregion
|
|
1262
|
+
//#region src/lib/components/card-keyboard.ts
|
|
1263
|
+
function handleCardNavigationKeydown(event, navigate) {
|
|
1264
|
+
if (event.key !== "Enter" && event.key !== " ") return;
|
|
1265
|
+
event.preventDefault();
|
|
1266
|
+
navigate();
|
|
1267
|
+
}
|
|
1268
|
+
function stopCardMenuKeydown(event) {
|
|
1269
|
+
event.stopPropagation();
|
|
1270
|
+
}
|
|
1271
|
+
//#endregion
|
|
1262
1272
|
//#region src/lib/components/DocumentCard.svelte
|
|
1263
1273
|
function DocumentCard($$renderer, $$props) {
|
|
1264
1274
|
$$renderer.component(($$renderer) => {
|
|
@@ -1308,12 +1318,7 @@ function DocumentCard($$renderer, $$props) {
|
|
|
1308
1318
|
Card($$renderer, {
|
|
1309
1319
|
class: "group cursor-pointer transition-shadow duration-200 hover:shadow-md",
|
|
1310
1320
|
onclick: navigateToDoc,
|
|
1311
|
-
onkeydown: (
|
|
1312
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
1313
|
-
e.preventDefault();
|
|
1314
|
-
navigateToDoc();
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1321
|
+
onkeydown: (event) => handleCardNavigationKeydown(event, navigateToDoc),
|
|
1317
1322
|
role: "button",
|
|
1318
1323
|
tabindex: 0,
|
|
1319
1324
|
children: ($$renderer) => {
|
|
@@ -1328,6 +1333,7 @@ function DocumentCard($$renderer, $$props) {
|
|
|
1328
1333
|
Dropdown_menu_trigger($$renderer, {
|
|
1329
1334
|
class: "inline-flex size-8 items-center justify-center rounded-md opacity-100 transition-opacity hover:bg-accent sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100",
|
|
1330
1335
|
onclick: (e) => e.stopPropagation(),
|
|
1336
|
+
onkeydown: stopCardMenuKeydown,
|
|
1331
1337
|
children: ($$renderer) => {
|
|
1332
1338
|
Ellipsis_vertical($$renderer, { class: "size-4" });
|
|
1333
1339
|
$$renderer.push(`<!----> <span class="sr-only">${$.escape(doc_open_menu())}</span>`);
|
|
@@ -1535,12 +1541,7 @@ function FolderCard($$renderer, $$props) {
|
|
|
1535
1541
|
Card($$renderer, {
|
|
1536
1542
|
class: "group cursor-pointer transition-shadow duration-200 hover:shadow-md",
|
|
1537
1543
|
onclick: navigateToFolder,
|
|
1538
|
-
onkeydown: (
|
|
1539
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
1540
|
-
e.preventDefault();
|
|
1541
|
-
navigateToFolder();
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
+
onkeydown: (event) => handleCardNavigationKeydown(event, navigateToFolder),
|
|
1544
1545
|
role: "button",
|
|
1545
1546
|
tabindex: 0,
|
|
1546
1547
|
children: ($$renderer) => {
|
|
@@ -1555,6 +1556,7 @@ function FolderCard($$renderer, $$props) {
|
|
|
1555
1556
|
Dropdown_menu_trigger($$renderer, {
|
|
1556
1557
|
class: "inline-flex size-8 shrink-0 items-center justify-center rounded-md opacity-100 transition-opacity hover:bg-accent sm:opacity-0 sm:group-hover:opacity-100 focus-visible:opacity-100",
|
|
1557
1558
|
onclick: (e) => e.stopPropagation(),
|
|
1559
|
+
onkeydown: stopCardMenuKeydown,
|
|
1558
1560
|
children: ($$renderer) => {
|
|
1559
1561
|
Ellipsis_vertical($$renderer, { class: "size-4" });
|
|
1560
1562
|
$$renderer.push(`<!----> <span class="sr-only">${$.escape(doc_open_menu())}</span>`);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveOfflineIdentity, i as offlineDbName, n as enableOfflineAccess, o as resolveOfflineIdentityResolution, r as offlineAccessEnabled, t as disableOfflineAccess } from "../assets/identity-
|
|
1
|
+
import { a as resolveOfflineIdentity, i as offlineDbName, n as enableOfflineAccess, o as resolveOfflineIdentityResolution, r as offlineAccessEnabled, t as disableOfflineAccess } from "../assets/identity-DcMMBKWg.js";
|
|
2
2
|
export { disableOfflineAccess, enableOfflineAccess, offlineAccessEnabled, offlineDbName, resolveOfflineIdentity, resolveOfflineIdentityResolution };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { $n as search_title, Br as app_name, Xn as search_date_from, Yn as search_date_to, Zn as search_tags, ct as search_empty_description, dt as search_folders, ft as search_clear_all_filters, ht as search_title_with_query, lt as search_empty_title, mt as search_input_placeholder, pt as search_toggle_filters, st as search_popular, ut as search_date_range, w as categories_title } from "./assets/messages-BAQzILs4.js";
|
|
2
2
|
import { t as Icon } from "./assets/Icon-QwirKi9Y.js";
|
|
3
|
-
import { a as Calendar, i as Folder_kanban, r as X, t as DatePicker } from "./assets/DatePicker-
|
|
3
|
+
import { a as Calendar, i as Folder_kanban, r as X, t as DatePicker } from "./assets/DatePicker-CPtl6W5E.js";
|
|
4
4
|
import { t as Chevron_down } from "./assets/chevron-down-CvqKATjM.js";
|
|
5
5
|
import { t as Folder } from "./assets/folder-DYIE-XPP.js";
|
|
6
6
|
import { t as Rotate_ccw } from "./assets/rotate-ccw-dJSqPyTd.js";
|
|
@@ -9,7 +9,7 @@ import { a as getDocsmintRequestAdapter, n as navigateDocsmintRoute, t as getDoc
|
|
|
9
9
|
import "./assets/categories-av9xjeg5.js";
|
|
10
10
|
import { t as getFrontendExtensions } from "./assets/context-Bi_mO-NS.js";
|
|
11
11
|
import { t as resolveExtensions } from "./assets/resolve-BqHozBXl.js";
|
|
12
|
-
import "./assets/select-value-
|
|
12
|
+
import "./assets/select-value-CXEDWrZg.js";
|
|
13
13
|
import "./assets/tag-store.svelte-BM1lUI_P.js";
|
|
14
14
|
import * as $ from "svelte/internal/server";
|
|
15
15
|
//#region ../node_modules/.bun/lucide-svelte@0.577.0+ff5f301bb2db9a0d/node_modules/lucide-svelte/dist/icons/sliders-horizontal.svelte
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { DocsClientConfig } from "./client.js";
|
|
2
|
-
export { DocsApiError, DocsClient, DocsNetworkError, DocsTimeoutError, } from "./client.js";
|
|
3
|
-
export type * from "./types.js";
|
|
4
|
-
export { configureUserDataLifecycle, createUserDataLifecycle, encodeUserDataExportNdjson, exportUserData, purgeUserData, } from "./lifecycle.js";
|
|
2
|
+
export { DocsApiError, DocsClient, DocsNetworkError, DocsTimeoutError, isDocsApiError, } from "./client.js";
|
|
5
3
|
export type { AssertPurgeAllowed, ExportUserDataContext, LifecycleHostStep, LifecycleOperationKind, LifecycleOperationStatus, PurgeUserDataContext, PurgeUserDataResult, UserDataExportRecord, UserDataLifecycle, UserDataLifecycleAdapter, } from "./lifecycle.js";
|
|
6
|
-
export {
|
|
7
|
-
export type
|
|
4
|
+
export { configureUserDataLifecycle, createUserDataLifecycle, encodeUserDataExportNdjson, exportUserData, purgeUserData, } from "./lifecycle.js";
|
|
5
|
+
export type * from "./types.js";
|
|
6
|
+
export type { DocsmintWorkspaceContext, WorkspaceAssertionOptions, WorkspaceAssertionPayload, WorkspaceResourcePermission, WorkspaceResourceScope, WorkspaceRole, } from "./workspace.js";
|
|
7
|
+
export { createDocsmintWorkspaceAssertion, DOCSMINT_WORKSPACE_ASSERTION_CLOCK_SKEW_SECONDS, DOCSMINT_WORKSPACE_ASSERTION_TTL_SECONDS, DOCSMINT_WORKSPACE_CONTEXT_HEADER, verifyDocsmintWorkspaceAssertion, } from "./workspace.js";
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DocsApiError, DocsClient, DocsNetworkError, DocsTimeoutError, } from "./client.js";
|
|
1
|
+
export { DocsApiError, DocsClient, DocsNetworkError, DocsTimeoutError, isDocsApiError, } from "./client.js";
|
|
2
2
|
export { configureUserDataLifecycle, createUserDataLifecycle, encodeUserDataExportNdjson, exportUserData, purgeUserData, } from "./lifecycle.js";
|
|
3
|
-
export { createDocsmintWorkspaceAssertion,
|
|
3
|
+
export { createDocsmintWorkspaceAssertion, DOCSMINT_WORKSPACE_ASSERTION_CLOCK_SKEW_SECONDS, DOCSMINT_WORKSPACE_ASSERTION_TTL_SECONDS, DOCSMINT_WORKSPACE_CONTEXT_HEADER, verifyDocsmintWorkspaceAssertion, } from "./workspace.js";
|
|
@@ -11,7 +11,7 @@ export type LifecycleScopedDatabaseExecutor = <T>(context: Readonly<{
|
|
|
11
11
|
}>, operation: () => Promise<T>) => Promise<T>;
|
|
12
12
|
/**
|
|
13
13
|
* Public persistent lifecycle composition contract. The OSS persistence
|
|
14
|
-
* saga is supplied by the backend runtime;
|
|
14
|
+
* saga is supplied by the backend runtime; external hosts attach their own steps
|
|
15
15
|
* and RLS executor without private imports.
|
|
16
16
|
*/
|
|
17
17
|
export type LifecycleRuntimeAdapters = Readonly<{
|