@intentic/extension-ui 1.268.0 → 1.270.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.
|
@@ -11,10 +11,10 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
11
11
|
} & {
|
|
12
12
|
modelValue?: string | undefined;
|
|
13
13
|
}) & {
|
|
14
|
+
onAdd?: ((from: string) => any) | undefined;
|
|
14
15
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
15
16
|
onConnect?: ((from: string, to: string) => any) | undefined;
|
|
16
17
|
onSelectEdge?: ((from: string, to: string) => any) | undefined;
|
|
17
|
-
onAdd?: ((from: string) => any) | undefined;
|
|
18
18
|
}> & (typeof globalThis extends {
|
|
19
19
|
__VLS_PROPS_FALLBACK: infer P;
|
|
20
20
|
} ? P : {});
|
|
@@ -26,7 +26,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
26
26
|
selected: boolean;
|
|
27
27
|
}): unknown;
|
|
28
28
|
};
|
|
29
|
-
emit: (((evt: "
|
|
29
|
+
emit: (((evt: "add", from: string) => void) & ((evt: "connect", from: string, to: string) => void) & ((evt: "selectEdge", from: string, to: string) => void)) & ((event: "update:modelValue", value: string | undefined) => void);
|
|
30
30
|
}>) => import("vue").VNode & {
|
|
31
31
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
32
32
|
};
|
|
@@ -7,6 +7,29 @@ interface NoticeOptions {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const noticeFrom: (cause: unknown, wrote: string, options?: NoticeOptions) => NoticeModel;
|
|
9
9
|
export declare const noticeOf: (wrote: string, options?: NoticeOptions) => NoticeModel;
|
|
10
|
+
export declare function useConcurrentActions(): {
|
|
11
|
+
busy: import("vue").ComputedRef<boolean>;
|
|
12
|
+
notice: import("vue").Ref<{
|
|
13
|
+
readonly tone: NoticeTone;
|
|
14
|
+
readonly title: string;
|
|
15
|
+
readonly detail?: string | undefined;
|
|
16
|
+
readonly action?: {
|
|
17
|
+
readonly label: string;
|
|
18
|
+
readonly run: () => void;
|
|
19
|
+
} | undefined;
|
|
20
|
+
readonly key?: string | undefined;
|
|
21
|
+
} | undefined, NoticeModel | {
|
|
22
|
+
readonly tone: NoticeTone;
|
|
23
|
+
readonly title: string;
|
|
24
|
+
readonly detail?: string | undefined;
|
|
25
|
+
readonly action?: {
|
|
26
|
+
readonly label: string;
|
|
27
|
+
readonly run: () => void;
|
|
28
|
+
} | undefined;
|
|
29
|
+
readonly key?: string | undefined;
|
|
30
|
+
} | undefined>;
|
|
31
|
+
run: (task: () => Promise<void>, wrote: string) => Promise<void>;
|
|
32
|
+
};
|
|
10
33
|
export declare function useAsyncAction(): {
|
|
11
34
|
busy: import("vue").Ref<boolean, boolean>;
|
|
12
35
|
notice: import("vue").Ref<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.270.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",
|