primitive-app 2.1.5 → 2.1.6
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 +2 -2
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +4 -4
- package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +4 -4
- package/dist/dev-tools/blob-explorer/BlobDetailPanel.vue.d.ts +17 -0
- package/dist/dev-tools/blob-explorer/BlobDetailPanel.vue.d.ts.map +1 -0
- package/dist/dev-tools/blob-explorer/BlobExplorerDocumentSidebar.vue.d.ts +14 -0
- package/dist/dev-tools/blob-explorer/BlobExplorerDocumentSidebar.vue.d.ts.map +1 -0
- package/dist/dev-tools/blob-explorer/BlobExplorerIndex.vue.d.ts +4 -0
- package/dist/dev-tools/blob-explorer/BlobExplorerIndex.vue.d.ts.map +1 -0
- package/dist/dev-tools/blob-explorer/BlobTablePanel.vue.d.ts +30 -0
- package/dist/dev-tools/blob-explorer/BlobTablePanel.vue.d.ts.map +1 -0
- package/dist/dev-tools/blob-explorer/BlobUploadDialog.vue.d.ts +13 -0
- package/dist/dev-tools/blob-explorer/BlobUploadDialog.vue.d.ts.map +1 -0
- package/dist/dev-tools/blob-explorer/blobExplorerTypes.d.ts +17 -0
- package/dist/dev-tools/blob-explorer/blobExplorerTypes.d.ts.map +1 -0
- package/dist/dev-tools/blob-explorer/blobExplorerUtils.d.ts +11 -0
- package/dist/dev-tools/blob-explorer/blobExplorerUtils.d.ts.map +1 -0
- package/dist/dev-tools/blob-explorer/useBlobExplorer.d.ts +35 -0
- package/dist/dev-tools/blob-explorer/useBlobExplorer.d.ts.map +1 -0
- package/dist/dev-tools/document-explorer/components/DocumentSharingSection.vue.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/components/RecordTable.vue.d.ts.map +1 -1
- package/dist/dev-tools/document-explorer/utils.d.ts.map +1 -1
- package/dist/dev-tools/index.d.ts +7 -14
- package/dist/dev-tools/index.d.ts.map +1 -1
- package/dist/dev-tools/test-harness/lib.d.ts +3 -1
- package/dist/dev-tools/test-harness/lib.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/DevToolsOverlay.vue.d.ts.map +1 -1
- package/dist/dev-tools/vite-plugin/index.cjs +1 -1
- package/dist/dev-tools/vite-plugin/index.js +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11497 -11778
- package/dist/primitive-app.css +1 -1
- package/dist/services/JsBaoClientService.d.ts +77 -0
- package/dist/services/JsBaoClientService.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -40,12 +40,12 @@ interface Props {
|
|
|
40
40
|
isDeleting?: boolean;
|
|
41
41
|
}
|
|
42
42
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
43
|
-
confirm: () => any;
|
|
44
43
|
cancel: () => any;
|
|
44
|
+
confirm: () => any;
|
|
45
45
|
"update:isOpen": (value: boolean) => any;
|
|
46
46
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
47
|
-
onConfirm?: (() => any) | undefined;
|
|
48
47
|
onCancel?: (() => any) | undefined;
|
|
48
|
+
onConfirm?: (() => any) | undefined;
|
|
49
49
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
51
|
title: string;
|
|
@@ -2,7 +2,7 @@ import type { VariantProps } from "class-variance-authority";
|
|
|
2
2
|
export { default as Button } from "./Button.vue";
|
|
3
3
|
export declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "
|
|
5
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -16,7 +16,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
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?: "" |
|
|
19
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "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" |
|
|
63
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "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;
|
|
@@ -211,7 +211,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
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?: "" |
|
|
214
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "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" |
|
|
258
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "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;
|
|
@@ -18,7 +18,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
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?: "" |
|
|
21
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "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" |
|
|
65
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "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;
|
|
@@ -215,7 +215,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
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?: "" |
|
|
218
|
+
hidden?: "" | (boolean | "true" | "false") | "hidden" | "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" |
|
|
262
|
+
'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "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;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { BlobItem } from "./blobExplorerTypes";
|
|
2
|
+
interface Props {
|
|
3
|
+
documentId: string;
|
|
4
|
+
selectedBlob: BlobItem | null;
|
|
5
|
+
/** Whether the current user has write access; hides destructive actions when false. */
|
|
6
|
+
canWrite: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"delete-blob": (blobId: string) => any;
|
|
10
|
+
"reload-blobs": () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
"onDelete-blob"?: ((blobId: string) => any) | undefined;
|
|
13
|
+
"onReload-blobs"?: (() => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=BlobDetailPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlobDetailPanel.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/BlobDetailPanel.vue"],"names":[],"mappings":"AA0nBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AASpD,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC9B,uFAAuF;IACvF,QAAQ,EAAE,OAAO,CAAC;CACnB;AA47BD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DocumentInfoWithRoot } from "../document-explorer/types";
|
|
2
|
+
interface Props {
|
|
3
|
+
documents: DocumentInfoWithRoot[];
|
|
4
|
+
selectedDocId: string | null;
|
|
5
|
+
documentListLoaded: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"select-document": (docId: string) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
+
"onSelect-document"?: ((docId: string) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=BlobExplorerDocumentSidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlobExplorerDocumentSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/BlobExplorerDocumentSidebar.vue"],"names":[],"mappings":"AAgJA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,UAAU,KAAK;IACb,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAiPD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=BlobExplorerIndex.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlobExplorerIndex.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/BlobExplorerIndex.vue"],"names":[],"mappings":"AAu8BA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { BlobItem } from "./blobExplorerTypes";
|
|
2
|
+
interface Props {
|
|
3
|
+
documentId: string;
|
|
4
|
+
searchQuery: string;
|
|
5
|
+
/** Whether current user can write to this document */
|
|
6
|
+
canWrite: boolean;
|
|
7
|
+
uploadDialogOpen: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function clearSelection(): void;
|
|
10
|
+
declare function executeBulkDelete(): void;
|
|
11
|
+
declare function handleExternalDelete(blobId: string): void;
|
|
12
|
+
declare function refresh(): Promise<void>;
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {
|
|
14
|
+
executeBulkDelete: typeof executeBulkDelete;
|
|
15
|
+
refresh: typeof refresh;
|
|
16
|
+
clearSelection: typeof clearSelection;
|
|
17
|
+
handleExternalDelete: typeof handleExternalDelete;
|
|
18
|
+
selectedCount: import("vue").ComputedRef<number>;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"select-blob": (blob: BlobItem | null) => any;
|
|
21
|
+
"update:upload-dialog-open": (value: boolean) => any;
|
|
22
|
+
"selection-change": (count: number) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
24
|
+
"onSelect-blob"?: ((blob: BlobItem | null) => any) | undefined;
|
|
25
|
+
"onUpdate:upload-dialog-open"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
"onSelection-change"?: ((count: number) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=BlobTablePanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlobTablePanel.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/BlobTablePanel.vue"],"names":[],"mappings":"AAq0BA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIpD,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AA2LD,iBAAS,cAAc,SAGtB;AAsDD,iBAAS,iBAAiB,SAEzB;AAkBD,iBAAS,oBAAoB,CAAC,MAAM,EAAE,MAAM,QAQ3C;AAgBD,iBAAe,OAAO,kBAOrB;AAg/BD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
open: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:open": (value: boolean) => any;
|
|
6
|
+
upload: (file: File) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
8
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
9
|
+
onUpload?: ((file: File) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=BlobUploadDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlobUploadDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/BlobUploadDialog.vue"],"names":[],"mappings":"AA+SA,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;CACf;AA4bD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Metadata for a single blob stored under a document. */
|
|
2
|
+
export interface BlobItem {
|
|
3
|
+
blobId: string;
|
|
4
|
+
filename: string;
|
|
5
|
+
contentType: string;
|
|
6
|
+
/** Size in bytes — may be absent if the server does not return it */
|
|
7
|
+
size?: number | null;
|
|
8
|
+
/** ISO date string — may be absent if the server does not return it */
|
|
9
|
+
uploadedAt?: string | null;
|
|
10
|
+
sha256?: string;
|
|
11
|
+
}
|
|
12
|
+
/** Result from a paginated blob list call */
|
|
13
|
+
export interface BlobListResult {
|
|
14
|
+
items: BlobItem[];
|
|
15
|
+
cursor?: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=blobExplorerTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blobExplorerTypes.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/blobExplorerTypes.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,6CAA6C;AAC7C,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared formatting and clipboard utilities for the blob explorer panels.
|
|
3
|
+
* Centralised here to avoid drift between BlobTablePanel and BlobDetailPanel.
|
|
4
|
+
*/
|
|
5
|
+
/** Returns true if the browser can display this MIME type inline in a new tab. */
|
|
6
|
+
export declare function canOpenInBrowser(contentType: string): boolean;
|
|
7
|
+
export declare function formatBytes(bytes: number | null | undefined): string;
|
|
8
|
+
export declare function formatDate(iso: string | null | undefined, style?: "short" | "long"): string;
|
|
9
|
+
/** Writes text to the clipboard, falling back to execCommand for older browsers. */
|
|
10
|
+
export declare function writeToClipboard(text: string): void;
|
|
11
|
+
//# sourceMappingURL=blobExplorerUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blobExplorerUtils.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/blobExplorerUtils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiCH,kFAAkF;AAClF,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAI7D;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAKpE;AAED,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC9B,KAAK,GAAE,OAAO,GAAG,MAAgB,GAChC,MAAM,CASR;AAED,oFAAoF;AACpF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CASnD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { BlobItem } from "./blobExplorerTypes";
|
|
2
|
+
export declare function useBlobExplorer(documentId: () => string | null): {
|
|
3
|
+
blobs: import("vue").Ref<{
|
|
4
|
+
blobId: string;
|
|
5
|
+
filename: string;
|
|
6
|
+
contentType: string;
|
|
7
|
+
size?: number | null | undefined;
|
|
8
|
+
uploadedAt?: string | null | undefined;
|
|
9
|
+
sha256?: string | undefined;
|
|
10
|
+
}[], BlobItem[] | {
|
|
11
|
+
blobId: string;
|
|
12
|
+
filename: string;
|
|
13
|
+
contentType: string;
|
|
14
|
+
size?: number | null | undefined;
|
|
15
|
+
uploadedAt?: string | null | undefined;
|
|
16
|
+
sha256?: string | undefined;
|
|
17
|
+
}[]>;
|
|
18
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
19
|
+
isUploading: import("vue").Ref<boolean, boolean>;
|
|
20
|
+
uploadProgress: import("vue").Ref<number, number>;
|
|
21
|
+
loadPage: (options: {
|
|
22
|
+
cursor?: string;
|
|
23
|
+
limit: number;
|
|
24
|
+
}) => Promise<{
|
|
25
|
+
nextCursor?: string;
|
|
26
|
+
}>;
|
|
27
|
+
getBlob: (blobId: string) => Promise<BlobItem | null>;
|
|
28
|
+
uploadFile: (file: File, onProgress?: (pct: number) => void) => Promise<string | null>;
|
|
29
|
+
removeBlob: (blobId: string) => void;
|
|
30
|
+
deleteBlob: (blobId: string) => Promise<boolean>;
|
|
31
|
+
deleteBlobsBulk: (blobIds: string[]) => Promise<string[]>;
|
|
32
|
+
getDownloadUrl: (blobId: string, disposition?: "attachment" | "inline") => Promise<string | null>;
|
|
33
|
+
readBlobContent: (blobId: string, as?: "blob" | "text") => Promise<Blob | string | null>;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=useBlobExplorer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBlobExplorer.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/blob-explorer/useBlobExplorer.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,QAAQ,EAAkB,MAAM,qBAAqB,CAAC;AAIpE,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;;;;;wBAO5B;QAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,KAAG,OAAO,CAAC;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;sBAgCL,MAAM,KAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;uBA0BxD,IAAI,eACG,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,KACjC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;yBAuCG,MAAM,KAAG,IAAI;yBAKP,MAAM,KAAG,OAAO,CAAC,OAAO,CAAC;+BAiBnB,MAAM,EAAE,KAAG,OAAO,CAAC,MAAM,EAAE,CAAC;6BAiC1D,MAAM,gBACD,YAAY,GAAG,QAAQ,KACnC,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;8BAkBf,MAAM,OACV,MAAM,GAAG,MAAM,KAClB,OAAO,CAAC,IAAI,GAAG,MAAM,GAAG,IAAI,CAAC;EA2BjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentSharingSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentSharingSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentSharingSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/DocumentSharingSection.vue"],"names":[],"mappings":"AA4uBA,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAojCD,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecordTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/RecordTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RecordTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/dev-tools/document-explorer/components/RecordTable.vue"],"names":[],"mappings":"AAwbA,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;I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
|
|
|
1
1
|
/**
|
|
2
|
-
* Primitive Dev Tools
|
|
2
|
+
* Primitive Dev Tools – public API surface.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* -
|
|
6
|
-
* - Test
|
|
7
|
-
* - Document Explorer for inspecting and managing documents
|
|
4
|
+
* Only items that consuming apps need directly are exported here:
|
|
5
|
+
* - DevToolsRoot: mounted by the Vite plugin's virtual module at runtime
|
|
6
|
+
* - Test-authoring types: used in .primitive-test.ts files
|
|
8
7
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* import { primitiveDevTools } from "primitive-app/dev-tools/vite-plugin";
|
|
8
|
+
* All other dev-tools components, stores, and utilities are internal
|
|
9
|
+
* and consumed via relative imports within the dev-tools module.
|
|
12
10
|
*/
|
|
13
|
-
export { default as DevToolsFloatingButton } from "./vite-plugin/DevToolsFloatingButton.vue";
|
|
14
|
-
export { default as DevToolsOverlay } from "./vite-plugin/DevToolsOverlay.vue";
|
|
15
11
|
export { default as DevToolsRoot } from "./vite-plugin/DevToolsRoot.vue";
|
|
16
|
-
export {
|
|
17
|
-
export type { RunnableTest, TestDocContext, TestGroup, TestLogFn, } from "./test-harness";
|
|
18
|
-
export { DocumentExplorerIndex, DocumentExplorerModel, DocumentSidebar, useDocumentDebuggerStore, useDocumentExplorerStore, } from "./document-explorer";
|
|
19
|
-
export type { FieldInfo, FieldSchemaInfo, FilterMode, ModelFilter, ModelInfo, ModelPaginationState, ModelSortState, PageData, PaginatedQueryResult, RelationshipConfig, SortDirection, SortField, UniqueConstraintConfig, } from "./document-explorer";
|
|
12
|
+
export type { TestDocContext, TestGroup, TestLogFn } from "./test-harness";
|
|
20
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dev-tools/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dev-tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAGzE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -18,7 +18,9 @@ export declare function endTestRun(): Promise<void>;
|
|
|
18
18
|
/**
|
|
19
19
|
* Delete all test documents from the system.
|
|
20
20
|
* This is useful for cleanup when tests start or finish, in case any documents were left behind.
|
|
21
|
-
*
|
|
21
|
+
*
|
|
22
|
+
* Test documents are always localOnly, so uses evict() to remove local data
|
|
23
|
+
* and metadata without a server round-trip.
|
|
22
24
|
*/
|
|
23
25
|
export declare function deleteAllTestDocuments(): Promise<number>;
|
|
24
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/test-harness/lib.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,YAAY,EAEZ,SAAS,EAEV,MAAM,SAAS,CAAC;AAMjB;;GAEG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAC;AAiBjD;;;;GAIG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CA6BpD;AAED;;;;GAIG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAsBhD;
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/test-harness/lib.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,YAAY,EAEZ,SAAS,EAEV,MAAM,SAAS,CAAC;AAMjB;;GAEG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAC;AAiBjD;;;;GAIG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CA6BpD;AAED;;;;GAIG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAsBhD;AA+ED;;;;;;GAMG;AACH,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,MAAM,CAAC,CAkF9D;AAoCD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,YAAY,EAAE,CAStE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DevToolsOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/vite-plugin/DevToolsOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DevToolsOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/dev-tools/vite-plugin/DevToolsOverlay.vue"],"names":[],"mappings":"AAkVA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIvD,UAAU,KAAK;IACb,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;CACjB;AAwbD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -60,4 +60,4 @@ const observer = new MutationObserver(async (mutations, obs) => {
|
|
|
60
60
|
observer.observe(document.body, { childList: true, subtree: true });
|
|
61
61
|
`},transformIndexHtml(e){if(!v||!u)return e;const t=`<style data-primitive-devtools-sonner>${T}</style>`;return e.replace("</body>",`${t}
|
|
62
62
|
<script type="module" src="/@id/__x00__virtual:primitive-devtools-init"><\/script>
|
|
63
|
-
</body>`)},
|
|
63
|
+
</body>`)},hotUpdate({file:e,server:t}){if(e.endsWith(".primitive-test.ts")){const o=t.moduleGraph.getModuleById(c);o&&(t.moduleGraph.invalidateModule(o),t.ws.send({type:"full-reload"}))}}}}exports.primitiveDevTools=D;
|
|
@@ -113,7 +113,7 @@ observer.observe(document.body, { childList: true, subtree: true });
|
|
|
113
113
|
<script type="module" src="/@id/__x00__virtual:primitive-devtools-init"><\/script>
|
|
114
114
|
</body>`);
|
|
115
115
|
},
|
|
116
|
-
|
|
116
|
+
hotUpdate({ file: t, server: e }) {
|
|
117
117
|
if (t.endsWith(".primitive-test.ts")) {
|
|
118
118
|
const o = e.moduleGraph.getModuleById(l);
|
|
119
119
|
o && (e.moduleGraph.invalidateModule(o), e.ws.send({ type: "full-reload" }));
|