@intentic/extension-ui 1.359.2 → 1.361.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.
|
@@ -17,10 +17,10 @@ type __VLS_Props = {
|
|
|
17
17
|
declare var __VLS_1: {}, __VLS_13: {
|
|
18
18
|
mark: 22 | 18 | 28 | 36;
|
|
19
19
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
20
|
-
}, __VLS_16: {}, __VLS_19: {}, __VLS_22: {},
|
|
20
|
+
}, __VLS_16: {}, __VLS_19: {}, __VLS_22: {}, __VLS_25: {}, __VLS_42: {
|
|
21
21
|
mark: 22 | 18 | 28 | 36;
|
|
22
22
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
23
|
-
},
|
|
23
|
+
}, __VLS_49: {}, __VLS_51: {};
|
|
24
24
|
type __VLS_Slots = {} & {
|
|
25
25
|
before?: (props: typeof __VLS_1) => any;
|
|
26
26
|
} & {
|
|
@@ -32,13 +32,13 @@ type __VLS_Slots = {} & {
|
|
|
32
32
|
} & {
|
|
33
33
|
meta?: (props: typeof __VLS_22) => any;
|
|
34
34
|
} & {
|
|
35
|
-
control?: (props: typeof
|
|
35
|
+
control?: (props: typeof __VLS_25) => any;
|
|
36
36
|
} & {
|
|
37
|
-
lead?: (props: typeof
|
|
37
|
+
lead?: (props: typeof __VLS_42) => any;
|
|
38
38
|
} & {
|
|
39
|
-
below?: (props: typeof
|
|
39
|
+
below?: (props: typeof __VLS_49) => any;
|
|
40
40
|
} & {
|
|
41
|
-
below?: (props: typeof
|
|
41
|
+
below?: (props: typeof __VLS_51) => any;
|
|
42
42
|
};
|
|
43
43
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
44
|
"update:open": (open: boolean) => any;
|
|
@@ -25,10 +25,10 @@ type __VLS_Props = {
|
|
|
25
25
|
declare var __VLS_15: {
|
|
26
26
|
mark: 22 | 18 | 28 | 36;
|
|
27
27
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
28
|
-
}, __VLS_28: {}, __VLS_30: {}, __VLS_32: {}, __VLS_34: {},
|
|
28
|
+
}, __VLS_28: {}, __VLS_30: {}, __VLS_32: {}, __VLS_34: {}, __VLS_36: {}, __VLS_43: {
|
|
29
29
|
mark: 22 | 18 | 28 | 36;
|
|
30
30
|
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
31
|
-
},
|
|
31
|
+
}, __VLS_50: {}, __VLS_52: {};
|
|
32
32
|
type __VLS_Slots = {} & {
|
|
33
33
|
lead?: (props: typeof __VLS_15) => any;
|
|
34
34
|
} & {
|
|
@@ -40,11 +40,13 @@ type __VLS_Slots = {} & {
|
|
|
40
40
|
} & {
|
|
41
41
|
control?: (props: typeof __VLS_34) => any;
|
|
42
42
|
} & {
|
|
43
|
-
|
|
43
|
+
chevron?: (props: typeof __VLS_36) => any;
|
|
44
44
|
} & {
|
|
45
|
-
|
|
45
|
+
lead?: (props: typeof __VLS_43) => any;
|
|
46
46
|
} & {
|
|
47
47
|
below?: (props: typeof __VLS_50) => any;
|
|
48
|
+
} & {
|
|
49
|
+
below?: (props: typeof __VLS_52) => any;
|
|
48
50
|
};
|
|
49
51
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
52
|
headerClick: (event: MouseEvent) => any;
|
|
@@ -67,11 +67,6 @@ export declare const ROW_BLOCK_PAD: {
|
|
|
67
67
|
readonly compact: "px-4 py-3.5";
|
|
68
68
|
readonly dense: "px-2.5 py-3";
|
|
69
69
|
};
|
|
70
|
-
export declare const ROW_DRAWER_PAD: {
|
|
71
|
-
readonly comfortable: "px-4.5 pt-2 pb-4";
|
|
72
|
-
readonly compact: "px-4 pt-1.5 pb-3.5";
|
|
73
|
-
readonly dense: "px-2.5 pt-1 pb-3";
|
|
74
|
-
};
|
|
75
70
|
export declare const provideRowDensity: (density: ComputedRef<RowDensity>) => void;
|
|
76
71
|
export declare const useRowDensity: (own: () => RowDensity | undefined) => ComputedRef<RowDensity>;
|
|
77
72
|
export declare const provideRowFlushInline: (flush: boolean) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"description": "The UI kit intentic extensions render with, host-provided at runtime (the app's own components via the import map), so extension UI is always native to the shell",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"@intentic/tsconfig": "0.0.0",
|
|
67
67
|
"@intentic/ui": "0.0.0",
|
|
68
68
|
"typescript": "6.0.3",
|
|
69
|
-
"vue": "3.5.
|
|
70
|
-
"vue-tsc": "3.3.
|
|
69
|
+
"vue": "3.5.44",
|
|
70
|
+
"vue-tsc": "3.3.13"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"vue": "3"
|
package/src/i18n.ts
CHANGED
|
@@ -21,21 +21,9 @@ export type ExtensionT = (key: string, values?: Record<string, unknown>, plural?
|
|
|
21
21
|
|
|
22
22
|
const namespaceOf = (extensionId: string): string => `ext.${extensionId}`;
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* keys or another extension's.
|
|
28
|
-
*
|
|
29
|
-
* Bind it once per extension rather than per component:
|
|
30
|
-
*
|
|
31
|
-
* ```ts
|
|
32
|
-
* // src/i18n.ts
|
|
33
|
-
* export const t = extensionT(extensionIdOf(manifest));
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* The messages themselves are declared on the extension's module (`export const messages`), which the host loads for
|
|
37
|
-
* the reader's language before it calls `activate`.
|
|
38
|
-
*/
|
|
24
|
+
/** Bind once per extension: const t = extensionT(extensionIdOf(manifest)); t("panel.title") resolves ext.<id>.panel.title.
|
|
25
|
+
* Local keys cannot collide with app/other-extension catalogs. Export messages on the extension module;
|
|
26
|
+
* the host loads the reader's language before activate. */
|
|
39
27
|
export const extensionT = (extensionId: string): ExtensionT => useT(namespaceOf(extensionId));
|
|
40
28
|
|
|
41
29
|
/**
|