primitive-app 2.1.1 → 2.1.5
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/dist/components/shared/DeleteConfirmationDialog.vue.d.ts +6 -0
- package/dist/components/shared/DeleteConfirmationDialog.vue.d.ts.map +1 -1
- package/dist/components/ui/calendar/Calendar.vue.d.ts.map +1 -1
- package/dist/components/ui/dialog/DialogOverlay.vue.d.ts.map +1 -1
- package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +6 -6
- package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +6 -6
- package/dist/composables/useJsBaoDataLoader.d.ts +4 -6
- package/dist/composables/useJsBaoDataLoader.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/DocumentExplorerIndex.vue.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/DocumentExplorerModel.vue.d.ts +4 -0
- package/dist/dev-tools/document-explorer/DocumentExplorerModel.vue.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/buildModelRegistry.d.ts +7 -0
- package/dist/dev-tools/document-explorer/buildModelRegistry.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/DocumentAliasesSection.vue.d.ts +8 -0
- package/dist/dev-tools/document-explorer/components/DocumentAliasesSection.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/DocumentListPanel.vue.d.ts +37 -0
- package/dist/dev-tools/document-explorer/components/DocumentListPanel.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/DocumentListSection.vue.d.ts +33 -0
- package/dist/dev-tools/document-explorer/components/DocumentListSection.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/DocumentPropertiesPanel.vue.d.ts +20 -0
- package/dist/dev-tools/document-explorer/components/DocumentPropertiesPanel.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/DocumentSharingSection.vue.d.ts +8 -0
- package/dist/dev-tools/document-explorer/components/DocumentSharingSection.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/{DocumentSidebar.vue.d.ts → components/DocumentSidebar.vue.d.ts} +2 -2
- package/dist/dev-tools/document-explorer/components/DocumentSidebar.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/DocumentTagsSection.vue.d.ts +16 -0
- package/dist/dev-tools/document-explorer/components/DocumentTagsSection.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/FilterBar.vue.d.ts +29 -0
- package/dist/dev-tools/document-explorer/components/FilterBar.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/InvitationPropertiesPanel.vue.d.ts +14 -0
- package/dist/dev-tools/document-explorer/components/InvitationPropertiesPanel.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/ModelHeader.vue.d.ts +29 -0
- package/dist/dev-tools/document-explorer/components/ModelHeader.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/ModelPaginationBar.vue.d.ts +16 -0
- package/dist/dev-tools/document-explorer/components/ModelPaginationBar.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/RecordFormFields.vue.d.ts +35 -0
- package/dist/dev-tools/document-explorer/components/RecordFormFields.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/RecordTable.vue.d.ts +35 -0
- package/dist/dev-tools/document-explorer/components/RecordTable.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/composables/useDevToolsToast.d.ts +12 -0
- package/dist/dev-tools/document-explorer/composables/useDevToolsToast.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/composables/useModelPagination.d.ts +35 -0
- package/dist/dev-tools/document-explorer/composables/useModelPagination.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/composables/useOptimisticList.d.ts +42 -0
- package/dist/dev-tools/document-explorer/composables/useOptimisticList.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/composables/useRecordCrud.d.ts +32 -0
- package/dist/dev-tools/document-explorer/composables/useRecordCrud.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/constants.d.ts +19 -0
- package/dist/dev-tools/document-explorer/constants.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/dialogs/CreateDocumentDialog.vue.d.ts +14 -0
- package/dist/dev-tools/document-explorer/dialogs/CreateDocumentDialog.vue.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/documentExplorerStore.d.ts +14 -2
- package/dist/dev-tools/document-explorer/documentExplorerStore.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/index.d.ts +5 -4
- package/dist/dev-tools/document-explorer/index.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/types.d.ts +86 -3
- package/dist/dev-tools/document-explorer/types.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/utils.d.ts +48 -1
- package/dist/dev-tools/document-explorer/utils.d.ts.map +1 -1
- package/dist/dev-tools/index.d.ts +1 -1
- package/dist/dev-tools/index.d.ts.map +1 -1
- package/dist/dev-tools/test-harness/TestRunner.vue.d.ts +0 -6
- package/dist/dev-tools/test-harness/TestRunner.vue.d.ts.map +1 -1
- package/dist/dev-tools/test-harness/lib.d.ts +2 -2
- package/dist/dev-tools/test-harness/lib.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/DevToolsFloatingButton.vue.d.ts +2 -0
- package/dist/dev-tools/vite-plugin/DevToolsFloatingButton.vue.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/DevToolsOverlay.vue.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/DevToolsRoot.vue.d.ts +2 -0
- package/dist/dev-tools/vite-plugin/DevToolsRoot.vue.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/index.cjs +12 -9
- package/dist/dev-tools/vite-plugin/index.js +35 -25
- package/dist/dev-tools/vite-plugin/plugin.d.ts +14 -0
- package/dist/dev-tools/vite-plugin/plugin.d.ts.map +1 -1
- package/dist/index.cjs +5 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14855 -18360
- package/dist/primitive-app.css +1 -0
- package/dist/services/JsBaoClientService.d.ts +1 -0
- package/dist/services/JsBaoClientService.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/dev-tools/document-explorer/DocumentSidebar.vue.d.ts.map +0 -1
- package/dist/dev-tools/document-explorer/dialogs/MassDeleteDocsDialog.vue.d.ts +0 -29
- package/dist/dev-tools/document-explorer/dialogs/MassDeleteDocsDialog.vue.d.ts.map +0 -1
- package/dist/dev-tools/document-explorer/dialogs/MassDeleteRecordsDialog.vue.d.ts +0 -32
- package/dist/dev-tools/document-explorer/dialogs/MassDeleteRecordsDialog.vue.d.ts.map +0 -1
|
@@ -23,6 +23,11 @@ interface Props {
|
|
|
23
23
|
* @default "Delete"
|
|
24
24
|
*/
|
|
25
25
|
confirmLabel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Label shown on the confirm button while the action is in progress.
|
|
28
|
+
* @default "Deleting..."
|
|
29
|
+
*/
|
|
30
|
+
confirmingLabel?: string;
|
|
26
31
|
/**
|
|
27
32
|
* Label for the cancel button.
|
|
28
33
|
* @default "Cancel"
|
|
@@ -47,6 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
47
52
|
question: string;
|
|
48
53
|
warning: string;
|
|
49
54
|
confirmLabel: string;
|
|
55
|
+
confirmingLabel: string;
|
|
50
56
|
cancelLabel: string;
|
|
51
57
|
isDeleting: boolean;
|
|
52
58
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteConfirmationDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DeleteConfirmationDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeleteConfirmationDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/DeleteConfirmationDialog.vue"],"names":[],"mappings":"AA6KA,UAAU,KAAK;IACb;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAwPD,QAAA,MAAM,YAAY;;;;;;;;;WAvRR,MAAM;cAKH,MAAM;aAKP,MAAM;kBAKD,MAAM;qBAKH,MAAM;iBAKV,MAAM;gBAKP,OAAO;6EA6PpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/calendar/Calendar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Calendar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/calendar/Calendar.vue"],"names":[],"mappings":"AA6OA,OAAO,KAAK,EAAqB,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG/E,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,KAAK,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;AAerC,KAAK,WAAW,GAAG,iBAAiB,GAAG;IACjC,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;CACzB,CAAC;AA+kBN,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ;;;cAjiB9C,SAAS;;;cAGT,SAAS;;CA8hBiD,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1D;IAAE,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1D;IAAE,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAG3D,QAAA,MAAM,UAAU;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dialog/DialogOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DialogOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dialog/DialogOverlay.vue"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1C,KAAK,WAAW,GAAG,kBAAkB,GAAG;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;CAAE,CAAC;AAgD5E,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -10,13 +10,13 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
10
10
|
innerHTML?: string | undefined | undefined;
|
|
11
11
|
style?: import("vue").StyleValue;
|
|
12
12
|
accesskey?: string | undefined | undefined;
|
|
13
|
-
contenteditable?: (boolean | "true" | "false") | "
|
|
13
|
+
contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
14
14
|
contextmenu?: string | undefined | undefined;
|
|
15
15
|
dir?: string | undefined | undefined;
|
|
16
16
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
17
17
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
18
18
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
19
|
-
hidden?: "" | (boolean | "true" | "false") | "
|
|
19
|
+
hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
20
20
|
id?: string | undefined | undefined;
|
|
21
21
|
inert?: (boolean | "true" | "false") | undefined;
|
|
22
22
|
lang?: string | undefined | undefined;
|
|
@@ -60,7 +60,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
60
60
|
'aria-colindex'?: (string | number) | undefined;
|
|
61
61
|
'aria-colspan'?: (string | number) | undefined;
|
|
62
62
|
'aria-controls'?: string | undefined | undefined;
|
|
63
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "page" | "step" | "location" |
|
|
63
|
+
'aria-current'?: "time" | "date" | (boolean | "true" | "false") | "page" | "step" | "location" | undefined;
|
|
64
64
|
'aria-describedby'?: string | undefined | undefined;
|
|
65
65
|
'aria-details'?: string | undefined | undefined;
|
|
66
66
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -205,13 +205,13 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
205
205
|
innerHTML?: string | undefined | undefined;
|
|
206
206
|
style?: import("vue").StyleValue;
|
|
207
207
|
accesskey?: string | undefined | undefined;
|
|
208
|
-
contenteditable?: (boolean | "true" | "false") | "
|
|
208
|
+
contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
209
209
|
contextmenu?: string | undefined | undefined;
|
|
210
210
|
dir?: string | undefined | undefined;
|
|
211
211
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
212
212
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
213
213
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
214
|
-
hidden?: "" | (boolean | "true" | "false") | "
|
|
214
|
+
hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
215
215
|
id?: string | undefined | undefined;
|
|
216
216
|
inert?: (boolean | "true" | "false") | undefined;
|
|
217
217
|
lang?: string | undefined | undefined;
|
|
@@ -255,7 +255,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
255
255
|
'aria-colindex'?: (string | number) | undefined;
|
|
256
256
|
'aria-colspan'?: (string | number) | undefined;
|
|
257
257
|
'aria-controls'?: string | undefined | undefined;
|
|
258
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "page" | "step" | "location" |
|
|
258
|
+
'aria-current'?: "time" | "date" | (boolean | "true" | "false") | "page" | "step" | "location" | undefined;
|
|
259
259
|
'aria-describedby'?: string | undefined | undefined;
|
|
260
260
|
'aria-details'?: string | undefined | undefined;
|
|
261
261
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -12,13 +12,13 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
12
12
|
innerHTML?: string | undefined | undefined;
|
|
13
13
|
style?: import("vue").StyleValue;
|
|
14
14
|
accesskey?: string | undefined | undefined;
|
|
15
|
-
contenteditable?: (boolean | "true" | "false") | "
|
|
15
|
+
contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
16
16
|
contextmenu?: string | undefined | undefined;
|
|
17
17
|
dir?: string | undefined | undefined;
|
|
18
18
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
19
19
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
20
20
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
21
|
-
hidden?: "" | (boolean | "true" | "false") | "
|
|
21
|
+
hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
22
22
|
id?: string | undefined | undefined;
|
|
23
23
|
inert?: (boolean | "true" | "false") | undefined;
|
|
24
24
|
lang?: string | undefined | undefined;
|
|
@@ -62,7 +62,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
62
62
|
'aria-colindex'?: (string | number) | undefined;
|
|
63
63
|
'aria-colspan'?: (string | number) | undefined;
|
|
64
64
|
'aria-controls'?: string | undefined | undefined;
|
|
65
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "page" | "step" | "location" |
|
|
65
|
+
'aria-current'?: "time" | "date" | (boolean | "true" | "false") | "page" | "step" | "location" | undefined;
|
|
66
66
|
'aria-describedby'?: string | undefined | undefined;
|
|
67
67
|
'aria-details'?: string | undefined | undefined;
|
|
68
68
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -209,13 +209,13 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
209
209
|
innerHTML?: string | undefined | undefined;
|
|
210
210
|
style?: import("vue").StyleValue;
|
|
211
211
|
accesskey?: string | undefined | undefined;
|
|
212
|
-
contenteditable?: (boolean | "true" | "false") | "
|
|
212
|
+
contenteditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
213
213
|
contextmenu?: string | undefined | undefined;
|
|
214
214
|
dir?: string | undefined | undefined;
|
|
215
215
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
216
216
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
217
217
|
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
218
|
-
hidden?: "" | (boolean | "true" | "false") | "
|
|
218
|
+
hidden?: "" | "hidden" | (boolean | "true" | "false") | "until-found" | undefined;
|
|
219
219
|
id?: string | undefined | undefined;
|
|
220
220
|
inert?: (boolean | "true" | "false") | undefined;
|
|
221
221
|
lang?: string | undefined | undefined;
|
|
@@ -259,7 +259,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
259
259
|
'aria-colindex'?: (string | number) | undefined;
|
|
260
260
|
'aria-colspan'?: (string | number) | undefined;
|
|
261
261
|
'aria-controls'?: string | undefined | undefined;
|
|
262
|
-
'aria-current'?: "time" | (boolean | "true" | "false") | "page" | "step" | "location" |
|
|
262
|
+
'aria-current'?: "time" | "date" | (boolean | "true" | "false") | "page" | "step" | "location" | undefined;
|
|
263
263
|
'aria-describedby'?: string | undefined | undefined;
|
|
264
264
|
'aria-details'?: string | undefined | undefined;
|
|
265
265
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -4,7 +4,7 @@ type ModelClass = {
|
|
|
4
4
|
};
|
|
5
5
|
type MaybeRefBoolean = boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6
6
|
type MaybeRefQuery<Q> = Q | null | Ref<Q | null> | ComputedRef<Q | null>;
|
|
7
|
-
export interface UseJsBaoDataLoaderOptions<Data, Q
|
|
7
|
+
export interface UseJsBaoDataLoaderOptions<Data, Q extends Record<string, unknown> = Record<string, unknown>> {
|
|
8
8
|
/**
|
|
9
9
|
* Models to subscribe to for automatic reloads after the first successful load.
|
|
10
10
|
* Each model is expected to expose a `subscribe(cb) => unsubscribe` API.
|
|
@@ -22,11 +22,9 @@ export interface UseJsBaoDataLoaderOptions<Data, Q = unknown> {
|
|
|
22
22
|
*/
|
|
23
23
|
documentReady: MaybeRefBoolean;
|
|
24
24
|
/**
|
|
25
|
-
* The actual data loading function. Receives the current query params.
|
|
25
|
+
* The actual data loading function. Receives the current query params directly.
|
|
26
26
|
*/
|
|
27
|
-
loadData: (
|
|
28
|
-
queryParams: Q | null;
|
|
29
|
-
}) => Promise<Data>;
|
|
27
|
+
loadData: (queryParams: Q | null) => Promise<Data>;
|
|
30
28
|
/**
|
|
31
29
|
* Optional per-instance pause flag. While true, no loads or scheduled
|
|
32
30
|
* reloads will run.
|
|
@@ -74,6 +72,6 @@ export interface UseJsBaoDataLoaderResult<Data> {
|
|
|
74
72
|
* @param options Configuration describing what to load, when to load, and what to watch.
|
|
75
73
|
* @returns A `{ data, initialDataLoaded, reload }` bundle for consumption in components.
|
|
76
74
|
*/
|
|
77
|
-
export declare function useJsBaoDataLoader<Data, Q = unknown
|
|
75
|
+
export declare function useJsBaoDataLoader<Data, Q extends Record<string, unknown> = Record<string, unknown>>(options: UseJsBaoDataLoaderOptions<Data, Q>): UseJsBaoDataLoaderResult<Data>;
|
|
78
76
|
export {};
|
|
79
77
|
//# sourceMappingURL=useJsBaoDataLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useJsBaoDataLoader.d.ts","sourceRoot":"","sources":["../../src/composables/useJsBaoDataLoader.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAe5C,KAAK,UAAU,GAAG;IAChB,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;CAC3C,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AACrE,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AAEzE,MAAM,WAAW,yBAAyB,
|
|
1
|
+
{"version":3,"file":"useJsBaoDataLoader.d.ts","sourceRoot":"","sources":["../../src/composables/useJsBaoDataLoader.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAe5C,KAAK,UAAU,GAAG;IAChB,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;CAC3C,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AACrE,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AAEzE,MAAM,WAAW,yBAAyB,CACxC,IAAI,EACJ,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAE3D;;;OAGG;IACH,WAAW,EAAE,UAAU,EAAE,CAAC;IAE1B;;;;OAIG;IACH,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAE9B;;;OAGG;IACH,aAAa,EAAE,eAAe,CAAC;IAE/B;;OAEG;IACH,QAAQ,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;;OAGG;IACH,YAAY,CAAC,EAAE,eAAe,CAAC;IAE/B;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,eAAe,CAAC;IAEzC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,wBAAwB,CAAC,IAAI;IAC5C;;OAEG;IACH,IAAI,EAAE,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IAEvB;;;OAGG;IACH,iBAAiB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAEhC;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAgCD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EACJ,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3D,OAAO,EAAE,yBAAyB,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,wBAAwB,CAAC,IAAI,CAAC,CAoM7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentExplorerIndex.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/document-explorer/DocumentExplorerIndex.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentExplorerIndex.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/document-explorer/DocumentExplorerIndex.vue"],"names":[],"mappings":"AAg0EA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
modelName: string;
|
|
3
|
+
/** Document permission level — "reader" means view-only */
|
|
4
|
+
documentPermission?: string;
|
|
3
5
|
}
|
|
4
6
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
7
|
back: () => any;
|
|
8
|
+
switchModel: (modelName: string) => any;
|
|
6
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
7
10
|
onBack?: (() => any) | undefined;
|
|
11
|
+
onSwitchModel?: ((modelName: string) => any) | undefined;
|
|
8
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
13
|
declare const _default: typeof __VLS_export;
|
|
10
14
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentExplorerModel.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/document-explorer/DocumentExplorerModel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentExplorerModel.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/document-explorer/DocumentExplorerModel.vue"],"names":[],"mappings":"AAguBA,UAAU,KAAK;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,2DAA2D;IAC3D,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAy3CD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ModelInfo } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Build an array of ModelInfo from the js-bao model registry.
|
|
4
|
+
* This is a pure function suitable for use inside a Vue `computed`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildRegisteredModels(): ModelInfo[];
|
|
7
|
+
//# sourceMappingURL=buildModelRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildModelRegistry.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/document-explorer/buildModelRegistry.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAkB,SAAS,EAAE,MAAM,SAAS,CAAC;AAgBzD;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,EAAE,CA+EnD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
documentId: string;
|
|
3
|
+
canWrite: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=DocumentAliasesSection.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentAliasesSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentAliasesSection.vue"],"names":[],"mappings":"AA+WA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAydD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { DocumentInfoWithRoot, PendingInvitation } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
documents: DocumentInfoWithRoot[];
|
|
4
|
+
selectedDocId: string | null;
|
|
5
|
+
/** ID of the currently selected invitation (used for highlight) */
|
|
6
|
+
selectedInvitationId: string | null;
|
|
7
|
+
documentListLoaded: boolean;
|
|
8
|
+
pendingInvitations: PendingInvitation[];
|
|
9
|
+
/** Whether a bulk accept operation is in progress (disables interaction, shows loading) */
|
|
10
|
+
isAcceptingInvitations?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function showDocsSection(): void;
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
14
|
+
showDocsSection: typeof showDocsSection;
|
|
15
|
+
isCollapsed: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"select-document": (docId: string) => any;
|
|
18
|
+
"create-document": () => any;
|
|
19
|
+
"bulk-delete": (docIds: string[]) => any;
|
|
20
|
+
"bulk-leave": (docIds: string[]) => any;
|
|
21
|
+
"bulk-delete-mixed": (docIds: string[]) => any;
|
|
22
|
+
"select-invitation": (invitation: PendingInvitation) => any;
|
|
23
|
+
"accept-invitations": (documentIds: string[]) => any;
|
|
24
|
+
"decline-invitations": (documentIds: string[]) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
"onSelect-document"?: ((docId: string) => any) | undefined;
|
|
27
|
+
"onCreate-document"?: (() => any) | undefined;
|
|
28
|
+
"onBulk-delete"?: ((docIds: string[]) => any) | undefined;
|
|
29
|
+
"onBulk-leave"?: ((docIds: string[]) => any) | undefined;
|
|
30
|
+
"onBulk-delete-mixed"?: ((docIds: string[]) => any) | undefined;
|
|
31
|
+
"onSelect-invitation"?: ((invitation: PendingInvitation) => any) | undefined;
|
|
32
|
+
"onAccept-invitations"?: ((documentIds: string[]) => any) | undefined;
|
|
33
|
+
"onDecline-invitations"?: ((documentIds: string[]) => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=DocumentListPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentListPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentListPanel.vue"],"names":[],"mappings":"AAkeA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAIxE,UAAU,KAAK;IACb,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mEAAmE;IACnE,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,2FAA2F;IAC3F,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAyHD,iBAAS,eAAe,SAEvB;AA2oBD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { DocumentInfoWithRoot } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Full list of documents (used for permission checks on selected items) */
|
|
4
|
+
documents: DocumentInfoWithRoot[];
|
|
5
|
+
/** Filtered subset of documents to display */
|
|
6
|
+
filteredDocuments: DocumentInfoWithRoot[];
|
|
7
|
+
/** Currently selected document ID (for highlight) */
|
|
8
|
+
selectedDocId: string | null;
|
|
9
|
+
/** Whether the documents accordion section is expanded */
|
|
10
|
+
isExpanded: boolean;
|
|
11
|
+
/** Whether the document list has finished loading */
|
|
12
|
+
documentListLoaded: boolean;
|
|
13
|
+
/** Current search query (used for empty-state messaging) */
|
|
14
|
+
searchQuery: string;
|
|
15
|
+
}
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"select-document": (docId: string) => any;
|
|
18
|
+
"create-document": () => any;
|
|
19
|
+
"bulk-delete": (docIds: string[]) => any;
|
|
20
|
+
"bulk-leave": (docIds: string[]) => any;
|
|
21
|
+
"bulk-delete-mixed": (docIds: string[]) => any;
|
|
22
|
+
"toggle-section": () => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
24
|
+
"onSelect-document"?: ((docId: string) => any) | undefined;
|
|
25
|
+
"onCreate-document"?: (() => any) | undefined;
|
|
26
|
+
"onBulk-delete"?: ((docIds: string[]) => any) | undefined;
|
|
27
|
+
"onBulk-leave"?: ((docIds: string[]) => any) | undefined;
|
|
28
|
+
"onBulk-delete-mixed"?: ((docIds: string[]) => any) | undefined;
|
|
29
|
+
"onToggle-section"?: (() => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
//# sourceMappingURL=DocumentListSection.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentListSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentListSection.vue"],"names":[],"mappings":"AAuYA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAOrD,UAAU,KAAK;IACb,4EAA4E;IAC5E,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,8CAA8C;IAC9C,iBAAiB,EAAE,oBAAoB,EAAE,CAAC;IAC1C,qDAAqD;IACrD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,0DAA0D;IAC1D,UAAU,EAAE,OAAO,CAAC;IACpB,qDAAqD;IACrD,kBAAkB,EAAE,OAAO,CAAC;IAC5B,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;CACrB;AAwgBD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DocumentInfoWithRoot, ModelInfo } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
document: DocumentInfoWithRoot;
|
|
4
|
+
models: ModelInfo[];
|
|
5
|
+
recordCounts: Record<string, number>;
|
|
6
|
+
}
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"documents-changed": () => any;
|
|
9
|
+
"navigate-to-model": (modelName: string) => any;
|
|
10
|
+
"rename-document": (docId: string, title: string) => any;
|
|
11
|
+
"delete-document": (docId: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
13
|
+
"onDocuments-changed"?: (() => any) | undefined;
|
|
14
|
+
"onNavigate-to-model"?: ((modelName: string) => any) | undefined;
|
|
15
|
+
"onRename-document"?: ((docId: string, title: string) => any) | undefined;
|
|
16
|
+
"onDelete-document"?: ((docId: string) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=DocumentPropertiesPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentPropertiesPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentPropertiesPanel.vue"],"names":[],"mappings":"AA4ZA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAMhE,UAAU,KAAK;IACb,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC;AAgsBD,QAAA,MAAM,YAAY;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
documentId: string;
|
|
3
|
+
canWrite: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=DocumentSharingSection.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentSharingSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentSharingSection.vue"],"names":[],"mappings":"AAmsBA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAg/BD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -34,15 +34,15 @@ interface Props {
|
|
|
34
34
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
35
35
|
select: (docId: string) => any;
|
|
36
36
|
delete: (docId: string) => any;
|
|
37
|
+
"rename-document": (docId: string, title: string) => any;
|
|
37
38
|
"mass-delete": () => any;
|
|
38
39
|
"add-document": (title: string) => any;
|
|
39
|
-
"rename-document": (docId: string, title: string) => any;
|
|
40
40
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
41
41
|
onSelect?: ((docId: string) => any) | undefined;
|
|
42
42
|
onDelete?: ((docId: string) => any) | undefined;
|
|
43
|
+
"onRename-document"?: ((docId: string, title: string) => any) | undefined;
|
|
43
44
|
"onMass-delete"?: (() => any) | undefined;
|
|
44
45
|
"onAdd-document"?: ((title: string) => any) | undefined;
|
|
45
|
-
"onRename-document"?: ((docId: string, title: string) => any) | undefined;
|
|
46
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
47
|
declare const _default: typeof __VLS_export;
|
|
48
48
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentSidebar.vue"],"names":[],"mappings":"AA2iBA,KAAK,kBAAkB,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtE,UAAU,YAAY;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,KAAK;IACb;;OAEG;IACH,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAo0CD,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
documentId: string;
|
|
3
|
+
/** Tags from the parent document prop (server source of truth) */
|
|
4
|
+
baseTags: string[];
|
|
5
|
+
canWrite: boolean;
|
|
6
|
+
/** Whether this document is the root document */
|
|
7
|
+
isRoot?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"documents-changed": () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
"onDocuments-changed"?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=DocumentTagsSection.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentTagsSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentTagsSection.vue"],"names":[],"mappings":"AAmRA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,iDAAiD;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAiUD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { FilterMode, ModelFilter, ModelInfo, PageData } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
modelInfo: ModelInfo | null;
|
|
4
|
+
filters: ModelFilter[];
|
|
5
|
+
loadedData: PageData;
|
|
6
|
+
showHiddenFields: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"add-filter": (filter: {
|
|
10
|
+
field: string;
|
|
11
|
+
mode: FilterMode;
|
|
12
|
+
value: string;
|
|
13
|
+
}) => any;
|
|
14
|
+
"remove-filter": (filterId: string) => any;
|
|
15
|
+
"update-filter": (filter: ModelFilter) => any;
|
|
16
|
+
"clear-all": () => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onAdd-filter"?: ((filter: {
|
|
19
|
+
field: string;
|
|
20
|
+
mode: FilterMode;
|
|
21
|
+
value: string;
|
|
22
|
+
}) => any) | undefined;
|
|
23
|
+
"onRemove-filter"?: ((filterId: string) => any) | undefined;
|
|
24
|
+
"onUpdate-filter"?: ((filter: ModelFilter) => any) | undefined;
|
|
25
|
+
"onClear-all"?: (() => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=FilterBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/FilterBar.vue"],"names":[],"mappings":"AAkWA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAU7E,UAAU,KAAK;IACb,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,UAAU,EAAE,QAAQ,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAgkBD,QAAA,MAAM,YAAY;;eA1jBgB,MAAM;cAAQ,UAAU;eAAS,MAAM;;;;;;;eAAvC,MAAM;cAAQ,UAAU;eAAS,MAAM;;;;;kFA6jBvE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PendingInvitation } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
invitation: PendingInvitation;
|
|
4
|
+
}
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"accept-invitation": (documentId: string) => any;
|
|
7
|
+
"decline-invitation": (documentId: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
|
+
"onAccept-invitation"?: ((documentId: string) => any) | undefined;
|
|
10
|
+
"onDecline-invitation"?: ((documentId: string) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=InvitationPropertiesPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvitationPropertiesPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/InvitationPropertiesPanel.vue"],"names":[],"mappings":"AA6RA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,UAAU,KAAK;IACb,UAAU,EAAE,iBAAiB,CAAC;CAC/B;AAgdD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ModelInfo } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Currently selected model */
|
|
4
|
+
currentModel: ModelInfo | undefined;
|
|
5
|
+
/** Raw model name prop (used as fallback) */
|
|
6
|
+
modelName: string;
|
|
7
|
+
/** All registered models */
|
|
8
|
+
models: ModelInfo[];
|
|
9
|
+
/** Per-model record counts */
|
|
10
|
+
modelCounts: Record<string, number>;
|
|
11
|
+
/** Whether the user has write permission */
|
|
12
|
+
canWrite: boolean;
|
|
13
|
+
/** Number of selected records */
|
|
14
|
+
selectedCount: number;
|
|
15
|
+
}
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"switch-model": (name: string) => any;
|
|
18
|
+
"open-create": () => any;
|
|
19
|
+
"clear-selection": () => any;
|
|
20
|
+
"open-bulk-delete": () => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
+
"onSwitch-model"?: ((name: string) => any) | undefined;
|
|
23
|
+
"onOpen-create"?: (() => any) | undefined;
|
|
24
|
+
"onClear-selection"?: (() => any) | undefined;
|
|
25
|
+
"onOpen-bulk-delete"?: (() => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=ModelHeader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/ModelHeader.vue"],"names":[],"mappings":"AA0gBA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,UAAU,CAAC;AAGtD,UAAU,KAAK;IACb,+BAA+B;IAC/B,YAAY,EAAE,SAAS,GAAG,SAAS,CAAC;IACpC,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,4CAA4C;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,aAAa,EAAE,MAAM,CAAC;CACvB;AAoxBD,QAAA,MAAM,YAAY;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
currentPage: number;
|
|
3
|
+
totalCount: number;
|
|
4
|
+
pageSize: number;
|
|
5
|
+
totalPages: number;
|
|
6
|
+
}
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"go-to-page": (page: number) => any;
|
|
9
|
+
"change-page-size": (size: number) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
|
+
"onGo-to-page"?: ((page: number) => any) | undefined;
|
|
12
|
+
"onChange-page-size"?: ((size: number) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=ModelPaginationBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelPaginationBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/ModelPaginationBar.vue"],"names":[],"mappings":"AA+NA,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AA6UD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ModelInfo } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
/** The model info for field metadata */
|
|
4
|
+
modelInfo: ModelInfo;
|
|
5
|
+
/** Current form data (reactive object) */
|
|
6
|
+
formData: Record<string, unknown>;
|
|
7
|
+
/** Fields to display */
|
|
8
|
+
fields: string[];
|
|
9
|
+
/** Whether to exclude the ID field (for create dialogs) */
|
|
10
|
+
excludeId?: boolean;
|
|
11
|
+
/** Related model data for relationship dropdowns */
|
|
12
|
+
relatedModelData: Record<string, Record<string, unknown>[]>;
|
|
13
|
+
/** Set of fields in custom ID entry mode */
|
|
14
|
+
customIdFields: Set<string>;
|
|
15
|
+
/** Clipboard feedback - which ID was just copied */
|
|
16
|
+
copiedId?: string | null;
|
|
17
|
+
/** Prefix for input element IDs (e.g. 'edit' or 'create') */
|
|
18
|
+
idPrefix?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update-field": (field: string, value: unknown) => any;
|
|
22
|
+
"copy-id": (text: string) => any;
|
|
23
|
+
"toggle-custom-id": (field: string, enabled: boolean) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
25
|
+
"onUpdate-field"?: ((field: string, value: unknown) => any) | undefined;
|
|
26
|
+
"onCopy-id"?: ((text: string) => any) | undefined;
|
|
27
|
+
"onToggle-custom-id"?: ((field: string, enabled: boolean) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
copiedId: string | null;
|
|
30
|
+
excludeId: boolean;
|
|
31
|
+
idPrefix: string;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=RecordFormFields.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordFormFields.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/RecordFormFields.vue"],"names":[],"mappings":"AAmhBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAY1C,UAAU,KAAK;IACb,wCAAwC;IACxC,SAAS,EAAE,SAAS,CAAC;IACrB,0CAA0C;IAC1C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,wBAAwB;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oDAAoD;IACpD,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;IAC5D,4CAA4C;IAC5C,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAy+BD,QAAA,MAAM,YAAY;;;;;;;;;cA5+BL,MAAM,GAAG,IAAI;eANZ,OAAO;cAQR,MAAM;6EA8+BjB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ModelInfo, SortField } from "../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Records to display in the table */
|
|
4
|
+
records: Record<string, unknown>[];
|
|
5
|
+
/** Model metadata for field rendering */
|
|
6
|
+
modelInfo: ModelInfo;
|
|
7
|
+
/** Whether the user has write permission */
|
|
8
|
+
canWrite: boolean;
|
|
9
|
+
/** Whether to show hidden (underscore-prefixed) fields */
|
|
10
|
+
showHiddenFields: boolean;
|
|
11
|
+
/** Loaded data (keyed by table name) for field computation */
|
|
12
|
+
loadedData: Record<string, Record<string, unknown>[]>;
|
|
13
|
+
/** Active sort field (for column indicators) */
|
|
14
|
+
sorting: SortField | null;
|
|
15
|
+
/** Currently selected record IDs */
|
|
16
|
+
selectedRecordIds: Set<string>;
|
|
17
|
+
/** Record ID to highlight briefly (flash-then-fade after creation) */
|
|
18
|
+
highlightedRecordId?: string | null;
|
|
19
|
+
}
|
|
20
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"edit-record": (record: Record<string, unknown>) => any;
|
|
22
|
+
"delete-record": (id: string) => any;
|
|
23
|
+
"toggle-column-sort": (field: string) => any;
|
|
24
|
+
"toggle-record-selection": (id: string) => any;
|
|
25
|
+
"toggle-select-all": () => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
27
|
+
"onEdit-record"?: ((record: Record<string, unknown>) => any) | undefined;
|
|
28
|
+
"onDelete-record"?: ((id: string) => any) | undefined;
|
|
29
|
+
"onToggle-column-sort"?: ((field: string) => any) | undefined;
|
|
30
|
+
"onToggle-record-selection"?: ((id: string) => any) | undefined;
|
|
31
|
+
"onToggle-select-all"?: (() => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=RecordTable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/RecordTable.vue"],"names":[],"mappings":"AAkbA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAYrD,UAAU,KAAK;IACb,sCAAsC;IACtC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IACnC,yCAAyC;IACzC,SAAS,EAAE,SAAS,CAAC;IACrB,4CAA4C;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB,0DAA0D;IAC1D,gBAAgB,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;IACtD,gDAAgD;IAChD,OAAO,EAAE,SAAS,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B,sEAAsE;IACtE,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAsuBD,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|