cnhis-design-vue 3.1.57-release.1 → 3.1.57-release.2
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/es/components/button-print/index.d.ts +8 -8
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +8 -8
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +3 -3
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +7 -7
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +17 -8
- package/es/components/expand-field/index.d.ts +98 -26
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +95 -23
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +95 -23
- package/es/components/expand-field/src/components/form.vue.d.ts +98 -26
- package/es/components/expand-field/src/index.vue.d.ts +98 -26
- package/es/components/fabric-chart/index.d.ts +2 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +2 -3
- package/es/components/field-set/index.d.ts +107 -616
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1680 -0
- package/es/components/field-set/src/FieldColor.vue.js +1 -0
- package/es/components/field-set/src/FieldColor.vue2.js +1 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +58 -16
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +141 -0
- package/es/components/field-set/src/Index.vue.js +1 -0
- package/es/components/field-set/src/Index.vue2.js +1 -0
- package/es/components/field-set/src/components/Row.vue.d.ts +50 -9
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +172 -0
- package/es/components/field-set/src/components/condition.vue.js +1 -0
- package/es/components/field-set/src/components/condition.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1194 -0
- package/es/components/field-set/src/components/edit-dialog.vue.js +1 -0
- package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +286 -0
- package/es/components/field-set/src/components/edit-filter.vue.js +1 -0
- package/es/components/field-set/src/components/edit-filter.vue2.js +1 -0
- package/es/components/field-set/src/constants/index.d.ts +55 -0
- package/es/components/field-set/src/constants/index.js +1 -0
- package/es/components/field-set/src/types/index.d.ts +31 -1
- package/es/components/field-set/src/utils/index.d.ts +2 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +72 -42
- package/es/components/form-config/src/FormConfig.vue.d.ts +72 -42
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +17 -8
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +5 -2
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +20 -11
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -8
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +5 -2
- package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.d.ts +3 -2
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +16 -12
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +14 -2
- package/es/components/form-render/index.d.ts +17 -8
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +17 -8
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +17 -8
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +1 -0
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.d.ts +6 -0
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +1 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +41 -23
- package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -23
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +18 -9
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +17 -8
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +3 -3
- package/es/components/quick-search/src/index.vue.d.ts +3 -3
- package/es/components/recommend-search/index.d.ts +6 -6
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +6 -6
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/index.d.ts +3 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -3
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
- package/es/components/select-label/index.d.ts +2 -2
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
- package/es/components/select-label/src/index.vue.d.ts +1 -1
- package/es/components/select-person/index.d.ts +95 -23
- package/es/components/select-person/src/SelectPerson.vue.d.ts +84 -17
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/types/enums.d.ts +9 -0
- package/es/components/select-person/src/types/enums.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +17 -8
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -8
- package/es/components/table-export-field/index.d.ts +3 -3
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -3
- package/es/components/table-export-field/src/index.vue.d.ts +3 -3
- package/es/components/time-line/index.d.ts +7 -7
- package/es/components/time-line/src/TimeLine.vue.d.ts +3 -3
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +23 -3
- package/es/shared/utils/business.d.ts +2 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +68 -68
|
@@ -1914,7 +1914,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1914
1914
|
default: boolean;
|
|
1915
1915
|
};
|
|
1916
1916
|
lowCodeReactions: {
|
|
1917
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
1917
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
1918
|
+
};
|
|
1919
|
+
newLowCodeReactions: {
|
|
1920
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
1918
1921
|
};
|
|
1919
1922
|
operationalForm: {
|
|
1920
1923
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -2076,7 +2079,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2076
2079
|
default: boolean;
|
|
2077
2080
|
};
|
|
2078
2081
|
lowCodeReactions: {
|
|
2079
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
2082
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
2083
|
+
};
|
|
2084
|
+
newLowCodeReactions: {
|
|
2085
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
2080
2086
|
};
|
|
2081
2087
|
operationalForm: {
|
|
2082
2088
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -2109,7 +2115,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2109
2115
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
2110
2116
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
2111
2117
|
}>>;
|
|
2112
|
-
emit: (event: "
|
|
2118
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
2113
2119
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
2114
2120
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2115
2121
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -2167,7 +2173,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2167
2173
|
[x: string]: any;
|
|
2168
2174
|
}>;
|
|
2169
2175
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2170
|
-
|
|
2176
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
2171
2177
|
operationalFormHandler: {
|
|
2172
2178
|
trigger(fieldKey: string): void;
|
|
2173
2179
|
triggerAll(): void;
|
|
@@ -2261,7 +2267,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2261
2267
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
2262
2268
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
2263
2269
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
2264
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
2270
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
2265
2271
|
linebarAutoHidden: boolean;
|
|
2266
2272
|
bordered: string | boolean;
|
|
2267
2273
|
uniqueCacheData: boolean;
|
|
@@ -2445,7 +2451,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2445
2451
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
2446
2452
|
}>;
|
|
2447
2453
|
NTabs: any;
|
|
2448
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2454
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2449
2455
|
fieldList: {
|
|
2450
2456
|
type: import("vue").PropType<import("..").FieldItem[]>;
|
|
2451
2457
|
};
|
|
@@ -2578,7 +2584,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2578
2584
|
default: boolean;
|
|
2579
2585
|
};
|
|
2580
2586
|
lowCodeReactions: {
|
|
2581
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
2587
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
2588
|
+
};
|
|
2589
|
+
newLowCodeReactions: {
|
|
2590
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
2582
2591
|
};
|
|
2583
2592
|
operationalForm: {
|
|
2584
2593
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -2614,7 +2623,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2614
2623
|
anchor: boolean;
|
|
2615
2624
|
maxHeight: string | number;
|
|
2616
2625
|
column: number;
|
|
2617
|
-
forceClearable: boolean;
|
|
2618
2626
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
2619
2627
|
initialData: import("../../shared/types").AnyObject;
|
|
2620
2628
|
parallelism: number;
|
|
@@ -2625,6 +2633,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2625
2633
|
bordered: string | boolean;
|
|
2626
2634
|
uniqueCacheData: boolean;
|
|
2627
2635
|
outBordered: boolean;
|
|
2636
|
+
forceClearable: boolean;
|
|
2628
2637
|
operationalFormInit: boolean;
|
|
2629
2638
|
}>;
|
|
2630
2639
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -1917,7 +1917,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1917
1917
|
default: boolean;
|
|
1918
1918
|
};
|
|
1919
1919
|
lowCodeReactions: {
|
|
1920
|
-
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.
|
|
1920
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
1921
|
+
};
|
|
1922
|
+
newLowCodeReactions: {
|
|
1923
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
1921
1924
|
};
|
|
1922
1925
|
operationalForm: {
|
|
1923
1926
|
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -2079,7 +2082,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2079
2082
|
default: boolean;
|
|
2080
2083
|
};
|
|
2081
2084
|
lowCodeReactions: {
|
|
2082
|
-
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.
|
|
2085
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
2086
|
+
};
|
|
2087
|
+
newLowCodeReactions: {
|
|
2088
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
2083
2089
|
};
|
|
2084
2090
|
operationalForm: {
|
|
2085
2091
|
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -2112,7 +2118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2112
2118
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
2113
2119
|
onAnnotationChange?: ((...args: any[]) => any) | undefined;
|
|
2114
2120
|
}>>;
|
|
2115
|
-
emit: (event: "
|
|
2121
|
+
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
2116
2122
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
2117
2123
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2118
2124
|
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -2170,7 +2176,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2170
2176
|
[x: string]: any;
|
|
2171
2177
|
}>;
|
|
2172
2178
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2173
|
-
|
|
2179
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
2174
2180
|
operationalFormHandler: {
|
|
2175
2181
|
trigger(fieldKey: string): void;
|
|
2176
2182
|
triggerAll(): void;
|
|
@@ -2264,7 +2270,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2264
2270
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
2265
2271
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
2266
2272
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
2267
|
-
lowCodeReactions: import("../../../shared/types").LowCodeTypes.
|
|
2273
|
+
lowCodeReactions: import("../../../shared/types").LowCodeTypes.reactionConfig[];
|
|
2268
2274
|
linebarAutoHidden: boolean;
|
|
2269
2275
|
bordered: string | boolean;
|
|
2270
2276
|
uniqueCacheData: boolean;
|
|
@@ -2448,7 +2454,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2448
2454
|
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
2449
2455
|
}>;
|
|
2450
2456
|
NTabs: any;
|
|
2451
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2457
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2452
2458
|
fieldList: {
|
|
2453
2459
|
type: import("vue").PropType<FieldItem[]>;
|
|
2454
2460
|
};
|
|
@@ -2581,7 +2587,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2581
2587
|
default: boolean;
|
|
2582
2588
|
};
|
|
2583
2589
|
lowCodeReactions: {
|
|
2584
|
-
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.
|
|
2590
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
2591
|
+
};
|
|
2592
|
+
newLowCodeReactions: {
|
|
2593
|
+
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
2585
2594
|
};
|
|
2586
2595
|
operationalForm: {
|
|
2587
2596
|
type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -2617,7 +2626,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2617
2626
|
anchor: boolean;
|
|
2618
2627
|
maxHeight: string | number;
|
|
2619
2628
|
column: number;
|
|
2620
|
-
forceClearable: boolean;
|
|
2621
2629
|
components: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
2622
2630
|
initialData: import("../../../shared/types").AnyObject;
|
|
2623
2631
|
parallelism: number;
|
|
@@ -2628,6 +2636,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2628
2636
|
bordered: string | boolean;
|
|
2629
2637
|
uniqueCacheData: boolean;
|
|
2630
2638
|
outBordered: boolean;
|
|
2639
|
+
forceClearable: boolean;
|
|
2631
2640
|
operationalFormInit: boolean;
|
|
2632
2641
|
}>;
|
|
2633
2642
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -436,7 +436,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
436
436
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
437
437
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
438
438
|
readonly ignorePathChange: BooleanConstructor;
|
|
439
|
-
readonly validationStatus: import("vue").PropType<"
|
|
439
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
440
440
|
readonly feedback: StringConstructor;
|
|
441
441
|
readonly showLabel: {
|
|
442
442
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -567,7 +567,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
567
567
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
568
568
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
569
569
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
570
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
570
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
571
571
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
572
572
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
573
573
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -601,7 +601,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
601
601
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
602
602
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
603
603
|
readonly ignorePathChange: BooleanConstructor;
|
|
604
|
-
readonly validationStatus: import("vue").PropType<"
|
|
604
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
605
605
|
readonly feedback: StringConstructor;
|
|
606
606
|
readonly showLabel: {
|
|
607
607
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
103
103
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
104
104
|
readonly ignorePathChange: BooleanConstructor;
|
|
105
|
-
readonly validationStatus: PropType<"
|
|
105
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
106
106
|
readonly feedback: StringConstructor;
|
|
107
107
|
readonly showLabel: {
|
|
108
108
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -233,7 +233,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
233
233
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
234
234
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
235
235
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
236
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
236
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
237
237
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
238
238
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
239
239
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -267,7 +267,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
267
267
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
268
268
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
269
269
|
readonly ignorePathChange: BooleanConstructor;
|
|
270
|
-
readonly validationStatus: PropType<"
|
|
270
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
271
271
|
readonly feedback: StringConstructor;
|
|
272
272
|
readonly showLabel: {
|
|
273
273
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -437,7 +437,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
437
437
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
438
438
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
439
439
|
readonly ignorePathChange: BooleanConstructor;
|
|
440
|
-
readonly validationStatus: PropType<"
|
|
440
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
441
441
|
readonly feedback: StringConstructor;
|
|
442
442
|
readonly showLabel: {
|
|
443
443
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -568,7 +568,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
568
568
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
569
569
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
570
570
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
571
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
571
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
572
572
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
573
573
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
574
574
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -602,7 +602,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
602
602
|
readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
603
603
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
604
604
|
readonly ignorePathChange: BooleanConstructor;
|
|
605
|
-
readonly validationStatus: PropType<"
|
|
605
|
+
readonly validationStatus: PropType<"success" | "error" | "warning">;
|
|
606
606
|
readonly feedback: StringConstructor;
|
|
607
607
|
readonly showLabel: {
|
|
608
608
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -2,7 +2,7 @@ import { SFCWithInstall } from '../../shared/types';
|
|
|
2
2
|
declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
items: {
|
|
4
4
|
type: import("vue").PropType<{
|
|
5
|
-
type: "default" | "
|
|
5
|
+
type: "default" | "success" | "error" | "warning" | "info";
|
|
6
6
|
subItem: {
|
|
7
7
|
title: string;
|
|
8
8
|
name: string;
|
|
@@ -17,7 +17,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
17
17
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
items: {
|
|
19
19
|
type: import("vue").PropType<{
|
|
20
|
-
type: "default" | "
|
|
20
|
+
type: "default" | "success" | "error" | "warning" | "info";
|
|
21
21
|
subItem: {
|
|
22
22
|
title: string;
|
|
23
23
|
name: string;
|
|
@@ -40,7 +40,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
42
|
type: {
|
|
43
|
-
type: import("vue").PropType<"default" | "
|
|
43
|
+
type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
}, {
|
|
@@ -71,11 +71,11 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
71
71
|
default: string;
|
|
72
72
|
};
|
|
73
73
|
type: {
|
|
74
|
-
type: import("vue").PropType<"default" | "
|
|
74
|
+
type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
77
|
}>>, {
|
|
78
|
-
type: "default" | "
|
|
78
|
+
type: "default" | "success" | "error" | "warning" | "info";
|
|
79
79
|
lineType: "default" | "dashed";
|
|
80
80
|
}>;
|
|
81
81
|
NButton: any;
|
|
@@ -83,7 +83,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
83
83
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
84
|
items: {
|
|
85
85
|
type: import("vue").PropType<{
|
|
86
|
-
type: "default" | "
|
|
86
|
+
type: "default" | "success" | "error" | "warning" | "info";
|
|
87
87
|
subItem: {
|
|
88
88
|
title: string;
|
|
89
89
|
name: string;
|
|
@@ -96,7 +96,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
96
96
|
};
|
|
97
97
|
}>>, {
|
|
98
98
|
items: {
|
|
99
|
-
type: "default" | "
|
|
99
|
+
type: "default" | "success" | "error" | "warning" | "info";
|
|
100
100
|
subItem: {
|
|
101
101
|
title: string;
|
|
102
102
|
name: string;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
type: {
|
|
37
|
-
type: PropType<"default" | "
|
|
37
|
+
type: PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
@@ -65,11 +65,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
default: string;
|
|
66
66
|
};
|
|
67
67
|
type: {
|
|
68
|
-
type: PropType<"default" | "
|
|
68
|
+
type: PropType<"default" | "success" | "error" | "warning" | "info">;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
}>>, {
|
|
72
|
-
type: "default" | "
|
|
72
|
+
type: "default" | "success" | "error" | "warning" | "info";
|
|
73
73
|
lineType: "default" | "dashed";
|
|
74
74
|
}>;
|
|
75
75
|
NButton: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",s="3.1.57-release.
|
|
1
|
+
var e="@cnhis-design-vue/shared",s="3.1.57-release.2",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.57-release.2",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
|
|
@@ -66,7 +66,7 @@ export declare namespace LowCodeTypes {
|
|
|
66
66
|
field_key: string;
|
|
67
67
|
value: unknown;
|
|
68
68
|
};
|
|
69
|
-
type
|
|
69
|
+
type reactionConfig = {
|
|
70
70
|
conObj: reactionsConObj[];
|
|
71
71
|
} & Partial<{
|
|
72
72
|
compareMap: BindEventSettingItem['compareMap'];
|
|
@@ -78,9 +78,29 @@ export declare namespace LowCodeTypes {
|
|
|
78
78
|
notRequiredField: string[];
|
|
79
79
|
enabledField: string[];
|
|
80
80
|
disabledField: string[];
|
|
81
|
-
__oppositeBindField:
|
|
82
|
-
__oppositeTargetField:
|
|
81
|
+
__oppositeBindField: reactionConfig;
|
|
82
|
+
__oppositeTargetField: reactionConfig;
|
|
83
83
|
}>;
|
|
84
|
+
type reactionActionType = 'show' | 'hide' | 'required' | 'notRequired' | 'enabled' | 'disabled';
|
|
85
|
+
type reactionAction = {
|
|
86
|
+
action: reactionActionType;
|
|
87
|
+
fields: string[];
|
|
88
|
+
actionConfig?: Partial<{
|
|
89
|
+
restoreDefault: boolean;
|
|
90
|
+
restoreEmpty: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
};
|
|
93
|
+
type newReactionConfig = {
|
|
94
|
+
conditions: {
|
|
95
|
+
field: string;
|
|
96
|
+
type: VALUE_RELATION;
|
|
97
|
+
valueType?: 'const' | 'field';
|
|
98
|
+
value?: any;
|
|
99
|
+
}[];
|
|
100
|
+
compareMap?: BindEventSettingItem['compareMap'];
|
|
101
|
+
sqlExpression?: string;
|
|
102
|
+
actions: reactionAction[];
|
|
103
|
+
};
|
|
84
104
|
type switchProperty = {
|
|
85
105
|
value?: any;
|
|
86
106
|
describe?: string;
|
|
@@ -5,7 +5,8 @@ export declare function isMatchLowCodeCondition(value: unknown, condition: {
|
|
|
5
5
|
value: unknown;
|
|
6
6
|
}, overwriteCompareMap?: LowCodeTypes.BindEventSettingItem['compareMap']): boolean;
|
|
7
7
|
export declare function isConditionsMatchSqlExpression(conditions: boolean[], sqlExpression?: string): any;
|
|
8
|
-
export declare function isMatchLowCodeConditionsWithSqlExpression(formData: AnyObject, config: LowCodeTypes.
|
|
8
|
+
export declare function isMatchLowCodeConditionsWithSqlExpression(formData: AnyObject, config: LowCodeTypes.reactionConfig): any;
|
|
9
|
+
export declare function isMatchNewLowCodeConditionsWithSqlExpression(formData: AnyObject, config: LowCodeTypes.newReactionConfig): any;
|
|
9
10
|
declare function handleFieldTriggerSetValue(bindEventSetting: LowCodeTypes.BindEventSettingItem, { getter, setter }: {
|
|
10
11
|
setter: (key: string, value: unknown) => void;
|
|
11
12
|
getter: (key: string) => unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Path as e}from"@formily/path";import{isArray as
|
|
1
|
+
import{Path as e}from"@formily/path";import{isArray as n,isString as t,includes as r,negate as a,isNumber as o,gt as i,gte as l,lt as u,lte as c,identity as f,noop as s,isObject as p}from"lodash-es";import{unref as d}from"vue";import{add as m,differenceInMilliseconds as F}from"date-fns";function D(e){return null==e||""==e}function N(e){return(n,r)=>(t(n)&&(n=+n),t(r)&&(r=+r),!(!o(n)||Number.isNaN(n)||!o(r)||Number.isNaN(r))&&e(n,r))}const g={EQ:(e,n)=>`${e}`===n,NEQ:(e,n)=>`${e}`!==n,CL:(e,a)=>!(!n(e)&&!t(e))&&r(e,a),NC:(e,a)=>!n(e)&&!t(e)||!r(e,a),NULL:D,NOT_NULL:a(D),BIG:N(i),BIGEQ:N(l),LESS:N(u),LESSEQ:N(c)};function E(e,n,t={}){return(t[n.con]||g[n.con]||(()=>!1))(e,`${n.value}`)}function h(e,n){if(!n||!t(n))return e.every(f);try{return new Function("return "+n.replace(/OR/g,"||").replace(/AND/g,"&&").replace(/[a-zA-Z]/g,"").replace(/\d+/g,(n=>e[+n-1]?"true":"false")))()}catch(e){return console.error("表达式错误=>",n),!1}}function v(t,r){if(!n(r.conObj))return!1;return h(r.conObj.map((n=>E(e.getIn(t,n.field_key),n,r.compareMap))),r.sqlExpression)}function A(t,r){if(!n(r.conditions))return!1;return h(r.conditions.map((n=>{const a=e.getIn(t,n.field);return"field"===n.valueType?E(a,{con:n.type,value:e.getIn(t,n.value)},r.compareMap):E(a,{con:n.type,value:n.value},r.compareMap)})),r.sqlExpression)}const b=Object.freeze({SET_VALUE:function(e,{getter:n,setter:r}){if(!p(e))return;const{results:a=[],params:o=[],compareMap:i={}}=e;if(!a.length)return;function l(e){var r;if(!t(e))return e;const a=e.trim().match(/^\$\{([a-zA-Z\d\s]+)}$/);return a?n(null==(r=a[1])?void 0:r.trim()):e}o.every((e=>e&&e.p_name&&E(n(e.p_name),{con:e.p_select,value:l(e.p_value)},i)))&&a.forEach((e=>r(e.p_name,l(e.p_value))))},REPEAT_VALIDATE:s,IS_SHOW_FIELD:s,SQLSAVE:s,API:s});function I(e){return b[e]||s}function L(e,r,a){function i(e){return n(e)&&!!e.length}function l(e,n=!0){e.forEach((e=>{if(!e.operationalResult||!n&&null!=r(e.operationalResult))return;const i=e.operationFormParam.reduce(((e,n)=>(e[n=n.replace(/^table\./,"")]=+r(n),e)),{}),l=e.operationalRule.replace(/\${(.+?)}/g,"$1");let u=new Function("table",`return ${l}`)(i);t(u)&&(u=+u),u=o(u)?isNaN(u)?"":u.toFixed(+e.operationalPrecision):"",a(e.operationalResult,u)}))}return{operationalFormHandler:function(n){if(!i(d(e)))return;const t=d(e).filter((e=>e.operationFormParam.includes(`table.${n}`)));t.length&&l(t)},triggerAllOperationalFormHandler:function(){i(d(e))&&l(d(e),!1)}}}function V(e,t,r){function a(e){return n(e)&&!!e.length}function i(e,n=!0){e.forEach((e=>{e.diffValField&&e.diffValUnit&&e.scene&&(n||null==t(e.diffValField))&&("DIFF"===e.scene?function({startDateField:e,endDateField:n,diffValField:a,diffValUnit:o,precision:i="0"}){const l=t(e),u=t(n);if(l&&u){const e=F(new Date(u),new Date(l))/1e3/60,n=e/60,t=n/24;let c="";switch(o){case"DAY":c=t.toFixed(+i);break;case"HOUR":c=n.toFixed(+i);break;case"MIN":c=e.toFixed(+i);break;case"DHM":c=`${Math.floor(t)}天${Math.floor(n%24)}小时${Math.floor(e%60)}分钟`;break}r(a,c)}else r(a,null)}(e):"CALC"===e.scene&&function(e){const n=+e.diffValField;if(!o(n)||Number.isNaN(n))return;const a=t(e.endDateField);if(a){const t=m(new Date(a),{days:"DAY"===e.diffValUnit?n:0,hours:"HOUR"===e.diffValUnit?n:0,minutes:"MIN"===e.diffValUnit?n:0});r(e.startDateField,t)}else r(e.startDateField,null)}(e))}))}return{dateOperationalFormHandler:function(n){if(!a(d(e)))return;const t=d(e).filter((e=>"DIFF"===e.scene&&e.startDateField===n||e.endDateField===n));t.length&&i(t)},triggerAllDateOperationalFormHandler:function(){a(d(e))&&i(d(e),!1)}}}export{I as getBindEventSettingTrigger,V as getDateOperationalFormHandler,L as getOperationalFormHandler,h as isConditionsMatchSqlExpression,E as isMatchLowCodeCondition,v as isMatchLowCodeConditionsWithSqlExpression,A as isMatchNewLowCodeConditionsWithSqlExpression};
|
package/es/shared/utils/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getCurrentInstance as t,defineComponent as e,provide as n,createVNode as r}from"vue";import{useMemoize as o}from"@vueuse/core";import{isString as i,isObject as s,isNumber as u,isArray as c,isFunction as
|
|
1
|
+
import{getCurrentInstance as t,defineComponent as e,provide as n,createVNode as r}from"vue";import{useMemoize as o}from"@vueuse/core";import{isString as i,isObject as s,isNumber as u,isArray as c,isFunction as a}from"lodash-es";import f from"../package.json.js";export{getBindEventSettingTrigger,getDateOperationalFormHandler,getOperationalFormHandler,isConditionsMatchSqlExpression,isMatchLowCodeCondition,isMatchLowCodeConditionsWithSqlExpression,isMatchNewLowCodeConditionsWithSqlExpression}from"./business.js";function l(t,e,n="children",r){let o=!1;function i(){o=!0}!function t(e,n,r="children",s){r=x(r),e=x(e);for(let u=0;u<e.length;u++){if(n(e[u],i,s),o)return;for(let i=0;i<r.length;i++){const s=e[u][r[i]];if(Array.isArray(s)&&t(s,n,r,e[u]),o)return}}}(t,e,n,r)}function d(t,e,n=e.name,r){if(!n)throw new Error(`[CUI]: invalid component name for ${e}`);const{components:o={}}=t._context;o[n]||(!Reflect.get(t,"__cnhis_version")&&s(f)&&Reflect.set(t,"__cnhis_version",f.version),r?r():t.component(n,e))}function p(t){if(!i(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function x(t){return Array.isArray(t)?t:[t]}function h(){return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}`}const m=o((function(t){if(!t)return 0;let e="";return[...t].reduce(((t,n)=>{const r=e;return e=n,/[a-z]/.test(n)?t+8.05:/[A-Z]/.test(n)?t+9.13:/\d/.test(n)?t+8.9:/[.,]/.test(n)?t+4.03:/[)(]/.test(n)?t+5.17:/[\u4e00-\u9fa5():,。]/.test(n)?t+13.95:/[-+]/.test(n)?t+7.51:/[/\\]/.test(n)?t+4.11:/%/.test(n)?t+12.68:/‰/.test(n)?t+17.75:" "===n?" "===r?t:t+4:t+6}),0)})),g=Object.seal(Object.create(null));function v(t,e){return function t(e,n){return s(e)?c(e)?e.map((e=>t(e,n))):Object.entries(e).reduce(((e,[r,o])=>(n.includes(r)||(s(o)&&!a(o)?e[r]=t(o,n):e[r]=o),e)),{}):e}(t,e)}function y(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function w(t,e){if(!t)return t;if(e(t))return t;let n=t.parentElement;for(;n&&!e(n);)n=n.parentElement;return n}function O(t,e="px"){if(u(t))return`${t}${e}`;if(i(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}const b=o((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function j(t,e){if(!s(t))return t;const n={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(n,e[t]);return n}function E(e){if(!t())throw new Error(e||"can't use this hook out of setup environment")}function C(t,e=1){const[n,r,o,i,s]=t.match(/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i)||[];if(!n)return[255,255,255,e];const c=s&&parseInt(s,16)/255;return[parseInt(r,16),parseInt(o,16),parseInt(i,16),+(u(c)?c.toFixed(2):e)]}function S(t){return e({setup(e,{slots:o}){let i=(null==t?void 0:t.parent)&&Reflect.get(t.parent,"provides");const s=[];for(;i;)Object.entries(i).forEach((([t,e])=>{s.includes(t)||(s.push(t),n(t,e))})),i=Object.getPrototypeOf(i);return()=>{var t;return r("div",null,[null==(t=o.default)?void 0:t.call(o)])}}})}const $=o((function(t,e){return!(!i(e)||!i(t))&&e.split(",").some((e=>e.trim().includes(t)))}),{getKey:(...t)=>t.reduce(((t,e)=>String(t)+"_"+String(e)),"")});export{g as DMZ,x as arrayed,E as checkInSetupEnv,S as createProviderWrapper,v as deepOmit,w as findAncestor,p as generateTimeFormat,m as getStringWidth,C as hex2rgba,b as jsonParse,$ as keywordMatcher,d as safeComponentRegister,y as separateMetaModule,j as shallowOmit,l as traverse,h as uuidGenerator,O as widthAppend};
|
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.57-release.
|
|
4
|
-
"license": "ISC",
|
|
5
|
-
"module": "./es/components/index.js",
|
|
6
|
-
"main": "./es/components/index.js",
|
|
7
|
-
"types": "./es/components/index.d.ts",
|
|
8
|
-
"sideEffects": [
|
|
9
|
-
"es/components/**/style/*",
|
|
10
|
-
"es/components/*(.css,.less)"
|
|
11
|
-
],
|
|
12
|
-
"files": [
|
|
13
|
-
"es",
|
|
14
|
-
"README.md"
|
|
15
|
-
],
|
|
16
|
-
"peerDependencies": {
|
|
17
|
-
"naive-ui": "^2.30.0",
|
|
18
|
-
"vue": "^3.2.0",
|
|
19
|
-
"vxe-table": "^4.2.5"
|
|
20
|
-
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@formily/core": "2.1.9",
|
|
23
|
-
"@formily/path": "2.1.9",
|
|
24
|
-
"@formily/reactive": "2.1.9",
|
|
25
|
-
"@formily/vue": "2.1.9",
|
|
26
|
-
"@vicons/ionicons5": "^0.12.0",
|
|
27
|
-
"@vueuse/core": "^8.6.0",
|
|
28
|
-
"@vueuse/shared": "^8.6.0",
|
|
29
|
-
"@wangeditor/editor": "^5.1.1",
|
|
30
|
-
"@wangeditor/editor-for-vue": "^5.1.11",
|
|
31
|
-
"axios": "^0.27.2",
|
|
32
|
-
"bpmn-js": "^9.2.2",
|
|
33
|
-
"bpmnlint-utils": "^1.0.2",
|
|
34
|
-
"date-fns": "^2.29.1",
|
|
35
|
-
"diagram-js": "^8.7.1",
|
|
36
|
-
"ids": "^1.0.0",
|
|
37
|
-
"inherits": "^2.0.4",
|
|
38
|
-
"lodash": "^4.17.21",
|
|
39
|
-
"lodash-es": "^4.17.21",
|
|
40
|
-
"lodash-unified": "^1.0.2",
|
|
41
|
-
"min-dash": "^3.8.1",
|
|
42
|
-
"min-dom": "^3.2.1",
|
|
43
|
-
"moment": "^2.29.1",
|
|
44
|
-
"naive-ui": "^2.30.0",
|
|
45
|
-
"recorder-core": "^1.2.23070100",
|
|
46
|
-
"sockjs-client": "^1.6.1",
|
|
47
|
-
"sortablejs": "^1.15.0",
|
|
48
|
-
"spark-md5": "^3.0.2",
|
|
49
|
-
"stompjs": "^2.3.3",
|
|
50
|
-
"tiny-svg": "^2.2.4",
|
|
51
|
-
"v-viewer": "^3.0.10",
|
|
52
|
-
"video.js": "^7.19.2",
|
|
53
|
-
"videojs-contrib-hls": "^5.15.0",
|
|
54
|
-
"viewerjs": "^1.10.5",
|
|
55
|
-
"vue": "^3.2.0",
|
|
56
|
-
"vue-simple-uploader": "^1.0.0-beta.5",
|
|
57
|
-
"xe-utils": "^3.5.4"
|
|
58
|
-
},
|
|
59
|
-
"browserslist": [
|
|
60
|
-
"defaults",
|
|
61
|
-
"not ie < 8",
|
|
62
|
-
"last 2 versions",
|
|
63
|
-
"> 1%",
|
|
64
|
-
"iOS 7",
|
|
65
|
-
"last 3 iOS versions"
|
|
66
|
-
],
|
|
67
|
-
"gitHead": "
|
|
68
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "cnhis-design-vue",
|
|
3
|
+
"version": "3.1.57-release.2",
|
|
4
|
+
"license": "ISC",
|
|
5
|
+
"module": "./es/components/index.js",
|
|
6
|
+
"main": "./es/components/index.js",
|
|
7
|
+
"types": "./es/components/index.d.ts",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"es/components/**/style/*",
|
|
10
|
+
"es/components/*(.css,.less)"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"es",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"peerDependencies": {
|
|
17
|
+
"naive-ui": "^2.30.0",
|
|
18
|
+
"vue": "^3.2.0",
|
|
19
|
+
"vxe-table": "^4.2.5"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@formily/core": "2.1.9",
|
|
23
|
+
"@formily/path": "2.1.9",
|
|
24
|
+
"@formily/reactive": "2.1.9",
|
|
25
|
+
"@formily/vue": "2.1.9",
|
|
26
|
+
"@vicons/ionicons5": "^0.12.0",
|
|
27
|
+
"@vueuse/core": "^8.6.0",
|
|
28
|
+
"@vueuse/shared": "^8.6.0",
|
|
29
|
+
"@wangeditor/editor": "^5.1.1",
|
|
30
|
+
"@wangeditor/editor-for-vue": "^5.1.11",
|
|
31
|
+
"axios": "^0.27.2",
|
|
32
|
+
"bpmn-js": "^9.2.2",
|
|
33
|
+
"bpmnlint-utils": "^1.0.2",
|
|
34
|
+
"date-fns": "^2.29.1",
|
|
35
|
+
"diagram-js": "^8.7.1",
|
|
36
|
+
"ids": "^1.0.0",
|
|
37
|
+
"inherits": "^2.0.4",
|
|
38
|
+
"lodash": "^4.17.21",
|
|
39
|
+
"lodash-es": "^4.17.21",
|
|
40
|
+
"lodash-unified": "^1.0.2",
|
|
41
|
+
"min-dash": "^3.8.1",
|
|
42
|
+
"min-dom": "^3.2.1",
|
|
43
|
+
"moment": "^2.29.1",
|
|
44
|
+
"naive-ui": "^2.30.0",
|
|
45
|
+
"recorder-core": "^1.2.23070100",
|
|
46
|
+
"sockjs-client": "^1.6.1",
|
|
47
|
+
"sortablejs": "^1.15.0",
|
|
48
|
+
"spark-md5": "^3.0.2",
|
|
49
|
+
"stompjs": "^2.3.3",
|
|
50
|
+
"tiny-svg": "^2.2.4",
|
|
51
|
+
"v-viewer": "^3.0.10",
|
|
52
|
+
"video.js": "^7.19.2",
|
|
53
|
+
"videojs-contrib-hls": "^5.15.0",
|
|
54
|
+
"viewerjs": "^1.10.5",
|
|
55
|
+
"vue": "^3.2.0",
|
|
56
|
+
"vue-simple-uploader": "^1.0.0-beta.5",
|
|
57
|
+
"xe-utils": "^3.5.4"
|
|
58
|
+
},
|
|
59
|
+
"browserslist": [
|
|
60
|
+
"defaults",
|
|
61
|
+
"not ie < 8",
|
|
62
|
+
"last 2 versions",
|
|
63
|
+
"> 1%",
|
|
64
|
+
"iOS 7",
|
|
65
|
+
"last 3 iOS versions"
|
|
66
|
+
],
|
|
67
|
+
"gitHead": "a8f7d7cdca3113620c2a7b0dbaf062673dfc51cc"
|
|
68
|
+
}
|