@yugu-ui/flow-ui 0.1.16 → 0.1.18
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/README.md +2 -1
- package/dist/config/FlowConfigFlow/composables/usePersonDict.d.ts +3 -0
- package/dist/config/FlowConfigFlow/composables/useRemoteOptions.d.ts +7 -0
- package/dist/config/FlowConfigFlow/graph/buttons.d.ts +4 -0
- package/dist/config/FlowConfigFlow/graph/cellFactory.d.ts +115 -0
- package/dist/config/FlowConfigFlow/graph/conditionGroup.d.ts +12 -0
- package/dist/config/FlowConfigFlow/graph/constants.d.ts +21 -0
- package/dist/config/FlowConfigFlow/graph/dataConvert.d.ts +17 -0
- package/dist/config/FlowConfigFlow/graph/flowGraphUtil.d.ts +39 -0
- package/dist/config/FlowConfigFlow/graph/layout.d.ts +2 -0
- package/dist/config/FlowConfigFlow/graph/nodeOps.d.ts +8 -0
- package/dist/config/FlowConfigFlow/graph/zoom.d.ts +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +503 -808
- package/dist/person-selector/composables/useSelection.d.ts +2 -0
- package/dist/person-selector/index.d.ts +2 -0
- package/dist/style.css +267 -305
- package/dist/timeline/FlowActions.d.ts +17 -0
- package/dist/timeline/timeline-mapping.d.ts +3 -1
- package/package.json +1 -1
- package/dist/timeline/FlowLayout.d.ts +0 -48
|
@@ -7,6 +7,8 @@ interface UseSelectionOptions {
|
|
|
7
7
|
people: Ref<PersonItem[]>;
|
|
8
8
|
/** 弹窗打开期间暂停外部 modelValue 同步,避免用户编辑被外部变化覆盖 */
|
|
9
9
|
paused?: () => boolean;
|
|
10
|
+
/** 单选模式:false 时新增项替换草稿(最多 1 项),默认多选保持既有行为 */
|
|
11
|
+
multiple?: boolean;
|
|
10
12
|
/** 确认提交回调(组件内在此触发 update:modelValue / change) */
|
|
11
13
|
onChange: (value: SelectedItem[]) => void;
|
|
12
14
|
}
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
selectableTypes?: SelectableType[];
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
displayMode?: 'wrap' | 'overflow';
|
|
7
|
+
multiple?: boolean;
|
|
7
8
|
};
|
|
8
9
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
10
|
"update:modelValue": (value: SelectedItem[]) => any;
|
|
@@ -14,6 +15,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
14
15
|
}>, {
|
|
15
16
|
modelValue: SelectedItem[];
|
|
16
17
|
placeholder: string;
|
|
18
|
+
multiple: boolean;
|
|
17
19
|
selectableTypes: SelectableType[];
|
|
18
20
|
displayMode: "wrap" | "overflow";
|
|
19
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|