@apform-ui/core 1.10.30 → 1.10.32
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/apform-ui.css +1 -1
- package/dist/apform-ui.js +4755 -4657
- package/dist/apform-ui.umd.cjs +39 -39
- package/dist/components/ExecutionArtifactPanel/ExecutionArtifactPanel.vue.d.ts +14 -1
- package/dist/components/PropertyPanel/PropertyPanel.vue.d.ts +37 -6
- package/dist/components/SectionToggle/SectionToggle.vue.d.ts +9 -1
- package/package.json +1 -1
|
@@ -9,7 +9,14 @@ type __VLS_Props = {
|
|
|
9
9
|
/** 是否显示类型筛选 */
|
|
10
10
|
showFilters?: boolean;
|
|
11
11
|
};
|
|
12
|
-
declare
|
|
12
|
+
declare var __VLS_7: {
|
|
13
|
+
items: ArtifactItem[];
|
|
14
|
+
group: ArtifactGroup;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
gallery?: (props: typeof __VLS_7) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
20
|
preview: (item: ArtifactItem) => any;
|
|
14
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
22
|
onPreview?: ((item: ArtifactItem) => any) | undefined;
|
|
@@ -19,4 +26,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
19
26
|
items: ArtifactItem[];
|
|
20
27
|
showFilters: boolean;
|
|
21
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
30
|
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,30 +1,61 @@
|
|
|
1
1
|
import { FetchRemoteOptionsFn, PropertyItem, PropertySection, PropertyUpdatePayload } from './types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
/** 分区列表 */
|
|
4
|
-
sections
|
|
4
|
+
sections?: PropertySection[];
|
|
5
5
|
/** 远程下拉拉取(可选) */
|
|
6
6
|
fetchRemoteOptions?: FetchRemoteOptionsFn;
|
|
7
7
|
/** 空态文案 */
|
|
8
8
|
emptyText?: string;
|
|
9
9
|
/**
|
|
10
10
|
* 当前属性值字典;传入后按各 item 的 visibleOn 过滤
|
|
11
|
-
* (键可与字段 key 对齐,也支持点路径读取)
|
|
12
11
|
*/
|
|
13
12
|
values?: Record<string, unknown>;
|
|
13
|
+
/** 侧栏标题(如「属性」);nested 时忽略 */
|
|
14
|
+
title?: string;
|
|
15
|
+
/** 主体名(widget / 节点类型名) */
|
|
16
|
+
subjectLabel?: string;
|
|
17
|
+
/** 主体说明(悬停问号) */
|
|
18
|
+
subjectHint?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 嵌套模式:只渲染分区,不带玻璃壳 / 标题 / 主体行
|
|
21
|
+
* 用于外层已有完整 PropertyPanel 壳时的内层 sections
|
|
22
|
+
*/
|
|
23
|
+
nested?: boolean;
|
|
14
24
|
};
|
|
15
|
-
declare var
|
|
25
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_32: `field-${string & {}}`, __VLS_33: {
|
|
16
26
|
item: PropertyItem;
|
|
17
27
|
section: PropertySection;
|
|
18
28
|
update: (value: unknown) => void;
|
|
19
|
-
};
|
|
29
|
+
}, __VLS_43: {}, __VLS_45: {}, __VLS_47: {};
|
|
20
30
|
type __VLS_Slots = {} & {
|
|
21
|
-
[K in NonNullable<typeof
|
|
31
|
+
[K in NonNullable<typeof __VLS_32>]?: (props: typeof __VLS_33) => any;
|
|
32
|
+
} & {
|
|
33
|
+
title?: (props: typeof __VLS_1) => any;
|
|
34
|
+
} & {
|
|
35
|
+
subject?: (props: typeof __VLS_3) => any;
|
|
36
|
+
} & {
|
|
37
|
+
'subject-actions'?: (props: typeof __VLS_17) => any;
|
|
38
|
+
} & {
|
|
39
|
+
config?: (props: typeof __VLS_19) => any;
|
|
40
|
+
} & {
|
|
41
|
+
'before-sections'?: (props: typeof __VLS_21) => any;
|
|
42
|
+
} & {
|
|
43
|
+
'after-sections'?: (props: typeof __VLS_43) => any;
|
|
44
|
+
} & {
|
|
45
|
+
default?: (props: typeof __VLS_45) => any;
|
|
46
|
+
} & {
|
|
47
|
+
footer?: (props: typeof __VLS_47) => any;
|
|
22
48
|
};
|
|
23
49
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
50
|
update: (payload: PropertyUpdatePayload) => any;
|
|
51
|
+
"copy-id": () => any;
|
|
25
52
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
53
|
onUpdate?: ((payload: PropertyUpdatePayload) => any) | undefined;
|
|
27
|
-
|
|
54
|
+
"onCopy-id"?: (() => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
sections: PropertySection[];
|
|
57
|
+
nested: boolean;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
59
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
29
60
|
export default _default;
|
|
30
61
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2,12 +2,20 @@ type __VLS_Props = {
|
|
|
2
2
|
title: string;
|
|
3
3
|
count?: number;
|
|
4
4
|
defaultOpen?: boolean;
|
|
5
|
+
/** 受控展开(传入时优先于内部 state) */
|
|
6
|
+
open?: boolean;
|
|
5
7
|
};
|
|
6
8
|
declare var __VLS_5: {};
|
|
7
9
|
type __VLS_Slots = {} & {
|
|
8
10
|
default?: (props: typeof __VLS_5) => any;
|
|
9
11
|
};
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
toggle: (value: boolean) => any;
|
|
14
|
+
"update:open": (value: boolean) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onToggle?: ((value: boolean) => any) | undefined;
|
|
17
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
18
|
+
}>, {
|
|
11
19
|
defaultOpen: boolean;
|
|
12
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
21
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|