cnhis-design-vue 3.1.57 → 3.2.1-alpha.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.
- package/es/components/button-print/index.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +15 -3
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/calendar/index.d.ts +24 -13
- package/es/components/calendar/src/Calendar.vue.d.ts +24 -13
- package/es/components/calendar/src/Calendar.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +292 -2
- package/es/components/drag-scroll/index.d.ts +2 -0
- package/es/components/drag-scroll/index.js +1 -0
- package/es/components/drag-scroll/src/index.d.ts +4 -0
- package/es/components/drag-scroll/src/index.js +1 -0
- package/es/components/drag-scroll/src/types.d.ts +24 -0
- package/es/components/drag-scroll/src/types.js +1 -0
- package/es/components/fabric-chart/src/constants/index.d.ts +2 -1
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/index.d.ts +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +3 -2
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -1
- package/es/components/field-set/src/Index.vue.d.ts +1 -1
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/TableStyle.vue.d.ts +71 -0
- package/es/components/field-set/src/TableStyle.vue.js +1 -0
- package/es/components/field-set/src/TableStyle.vue2.js +1 -0
- package/es/components/field-set/src/components/Row.vue.d.ts +2 -1
- package/es/components/field-set/src/components/Row.vue2.js +1 -1
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +45 -4
- package/es/components/form-config/src/FormConfig.vue.d.ts +45 -4
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +16 -2
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +22 -2
- package/es/components/form-render/index.d.ts +16 -2
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +15 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +16 -2
- package/es/components/form-render/src/FormRenderWrapper.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/index.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/renderer/simpleComponent.js +1 -1
- package/es/components/form-render/src/components/renderer/time.d.ts +7 -0
- package/es/components/form-render/src/components/renderer/time.js +1 -0
- 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/useAutoHidden.d.ts +1 -1
- package/es/components/form-render/src/hooks/useAutoHidden.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +6 -4
- package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useSelectedSetting.d.ts +5 -0
- package/es/components/form-render/src/hooks/useSelectedSetting.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +2 -0
- package/es/components/form-render/src/utils/business.d.ts +1 -1
- package/es/components/form-render/src/utils/business.js +1 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/iho-table/index.d.ts +276 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +276 -0
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +2 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
- package/es/components/iho-table/src/plugins/dragScrollPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +15 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/constants.d.ts +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/constants.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.d.ts +6 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/types.d.ts +12 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/types.js +1 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.d.ts +28 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +10 -1
- package/es/components/iho-table/src/types/pluginType.d.ts +3 -1
- package/es/components/iho-table/src/utils/index.d.ts +5 -7
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +37 -4
- package/es/components/info-header/src/InfoHeader.vue.d.ts +37 -4
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +17 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +16 -2
- package/es/components/search-cascader/index.d.ts +1 -1
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +17 -2
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +17 -2
- package/es/components/steps-wheel/src/StepsWheel.vue2.js +1 -1
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
- package/es/components/table-export-field/style/index.css +1 -1
- package/es/components/table-export-field/style/table-export-field-iconfont.ttf +0 -0
- package/es/shared/assets/img/table_style_1.png.js +1 -0
- package/es/shared/assets/img/table_style_2.png.js +1 -0
- package/es/shared/assets/img/table_style_3.png.js +1 -0
- package/es/shared/assets/img/table_style_4.png.js +1 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +3 -1
- package/es/shared/hooks/selectHooks/useOptionFiltered.js +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +15 -6
- package/es/shared/utils/business.d.ts +1 -1
- package/es/shared/utils/index.d.ts +2 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +16 -15
|
@@ -193,6 +193,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
193
193
|
whiteList?: string[] | undefined;
|
|
194
194
|
bordered?: string | boolean | undefined;
|
|
195
195
|
displayMode?: "table" | "form" | undefined;
|
|
196
|
+
editor_title?: string | undefined;
|
|
196
197
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
197
198
|
content?: string | import("..").FormRenderer | Record<string, import("..").FormRenderer> | undefined;
|
|
198
199
|
lazyRequest?: boolean | undefined;
|
|
@@ -1780,7 +1781,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1780
1781
|
formRenderRef: import("vue").Ref<import("..").FormRenderExpose | undefined>;
|
|
1781
1782
|
key: import("vue").Ref<number>;
|
|
1782
1783
|
reload: () => Promise<void>;
|
|
1783
|
-
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFields", "queryWidget", "getFieldList"];
|
|
1784
|
+
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFields", "queryWidget", "getFieldList", "applySelectedSetting"];
|
|
1784
1785
|
exposed: Partial<import("..").FormRenderExpose>;
|
|
1785
1786
|
FormRender: import("vue").DefineComponent<{
|
|
1786
1787
|
fieldList: {
|
|
@@ -1946,6 +1947,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1946
1947
|
default: boolean;
|
|
1947
1948
|
};
|
|
1948
1949
|
forceClearable: BooleanConstructor;
|
|
1950
|
+
wordSplitFilter: {
|
|
1951
|
+
type: BooleanConstructor;
|
|
1952
|
+
default: boolean;
|
|
1953
|
+
};
|
|
1949
1954
|
}, {
|
|
1950
1955
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1951
1956
|
fieldList: {
|
|
@@ -2111,6 +2116,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2111
2116
|
default: boolean;
|
|
2112
2117
|
};
|
|
2113
2118
|
forceClearable: BooleanConstructor;
|
|
2119
|
+
wordSplitFilter: {
|
|
2120
|
+
type: BooleanConstructor;
|
|
2121
|
+
default: boolean;
|
|
2122
|
+
};
|
|
2114
2123
|
}>> & {
|
|
2115
2124
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2116
2125
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2165,7 +2174,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2165
2174
|
afterRequest(fieldKey: string, res?: any, payload?: import("../../shared/types").AnyObject | undefined): import("../../shared/types").AnyObject[];
|
|
2166
2175
|
afterOptionInit(fieldKey: string, options: import("../../shared/types").AnyObject[], payload?: import("../../shared/types").AnyObject | undefined): void;
|
|
2167
2176
|
}>>[T]>>;
|
|
2168
|
-
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
2177
|
+
triggerAutoHidden: (field: import("@formily/core").GeneralField, includeLinebar?: boolean) => Promise<void>;
|
|
2169
2178
|
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
|
2170
2179
|
setGraph: (field: import("@formily/core").GeneralField) => void;
|
|
2171
2180
|
removeGraph: (field: import("@formily/core").GeneralField) => void;
|
|
@@ -2275,6 +2284,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2275
2284
|
operationalForm: import("../../shared/types").LowCodeTypes.operationalConfig[];
|
|
2276
2285
|
outBordered: boolean;
|
|
2277
2286
|
forceClearable: boolean;
|
|
2287
|
+
wordSplitFilter: boolean;
|
|
2278
2288
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
2279
2289
|
[key: symbol]: any;
|
|
2280
2290
|
[key: `x-${string}`]: any;
|
|
@@ -2616,6 +2626,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2616
2626
|
default: boolean;
|
|
2617
2627
|
};
|
|
2618
2628
|
forceClearable: BooleanConstructor;
|
|
2629
|
+
wordSplitFilter: {
|
|
2630
|
+
type: BooleanConstructor;
|
|
2631
|
+
default: boolean;
|
|
2632
|
+
};
|
|
2619
2633
|
}>> & {
|
|
2620
2634
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2621
2635
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2635,6 +2649,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2635
2649
|
uniqueCacheData: boolean;
|
|
2636
2650
|
outBordered: boolean;
|
|
2637
2651
|
forceClearable: boolean;
|
|
2652
|
+
wordSplitFilter: boolean;
|
|
2638
2653
|
operationalFormInit: boolean;
|
|
2639
2654
|
}>;
|
|
2640
2655
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -196,6 +196,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
196
196
|
whiteList?: string[] | undefined;
|
|
197
197
|
bordered?: string | boolean | undefined;
|
|
198
198
|
displayMode?: "table" | "form" | undefined;
|
|
199
|
+
editor_title?: string | undefined;
|
|
199
200
|
fieldType?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
200
201
|
content?: string | import("../../../components/form-render").FormRenderer | Record<string, import("../../../components/form-render").FormRenderer> | undefined;
|
|
201
202
|
lazyRequest?: boolean | undefined;
|
|
@@ -1783,7 +1784,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1783
1784
|
formRenderRef: import("vue").Ref<import("../../../components/form-render").FormRenderExpose | undefined>;
|
|
1784
1785
|
key: import("vue").Ref<number>;
|
|
1785
1786
|
reload: () => Promise<void>;
|
|
1786
|
-
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFields", "queryWidget", "getFieldList"];
|
|
1787
|
+
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFields", "queryWidget", "getFieldList", "applySelectedSetting"];
|
|
1787
1788
|
exposed: Partial<import("../../../components/form-render").FormRenderExpose>;
|
|
1788
1789
|
FormRender: import("vue").DefineComponent<{
|
|
1789
1790
|
fieldList: {
|
|
@@ -1949,6 +1950,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1949
1950
|
default: boolean;
|
|
1950
1951
|
};
|
|
1951
1952
|
forceClearable: BooleanConstructor;
|
|
1953
|
+
wordSplitFilter: {
|
|
1954
|
+
type: BooleanConstructor;
|
|
1955
|
+
default: boolean;
|
|
1956
|
+
};
|
|
1952
1957
|
}, {
|
|
1953
1958
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1954
1959
|
fieldList: {
|
|
@@ -2114,6 +2119,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2114
2119
|
default: boolean;
|
|
2115
2120
|
};
|
|
2116
2121
|
forceClearable: BooleanConstructor;
|
|
2122
|
+
wordSplitFilter: {
|
|
2123
|
+
type: BooleanConstructor;
|
|
2124
|
+
default: boolean;
|
|
2125
|
+
};
|
|
2117
2126
|
}>> & {
|
|
2118
2127
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2119
2128
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2168,7 +2177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2168
2177
|
afterRequest(fieldKey: string, res?: any, payload?: import("../../../shared/types").AnyObject | undefined): import("../../../shared/types").AnyObject[];
|
|
2169
2178
|
afterOptionInit(fieldKey: string, options: import("../../../shared/types").AnyObject[], payload?: import("../../../shared/types").AnyObject | undefined): void;
|
|
2170
2179
|
}>>[T]>>;
|
|
2171
|
-
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
2180
|
+
triggerAutoHidden: (field: import("@formily/core").GeneralField, includeLinebar?: boolean) => Promise<void>;
|
|
2172
2181
|
observeFormGraph: Record<string, import("@formily/core").GeneralField>;
|
|
2173
2182
|
setGraph: (field: import("@formily/core").GeneralField) => void;
|
|
2174
2183
|
removeGraph: (field: import("@formily/core").GeneralField) => void;
|
|
@@ -2278,6 +2287,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2278
2287
|
operationalForm: import("../../../shared/types").LowCodeTypes.operationalConfig[];
|
|
2279
2288
|
outBordered: boolean;
|
|
2280
2289
|
forceClearable: boolean;
|
|
2290
|
+
wordSplitFilter: boolean;
|
|
2281
2291
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
2282
2292
|
[key: symbol]: any;
|
|
2283
2293
|
[key: `x-${string}`]: any;
|
|
@@ -2619,6 +2629,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2619
2629
|
default: boolean;
|
|
2620
2630
|
};
|
|
2621
2631
|
forceClearable: BooleanConstructor;
|
|
2632
|
+
wordSplitFilter: {
|
|
2633
|
+
type: BooleanConstructor;
|
|
2634
|
+
default: boolean;
|
|
2635
|
+
};
|
|
2622
2636
|
}>> & {
|
|
2623
2637
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2624
2638
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -2638,6 +2652,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2638
2652
|
uniqueCacheData: boolean;
|
|
2639
2653
|
outBordered: boolean;
|
|
2640
2654
|
forceClearable: boolean;
|
|
2655
|
+
wordSplitFilter: boolean;
|
|
2641
2656
|
operationalFormInit: boolean;
|
|
2642
2657
|
}>;
|
|
2643
2658
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as t,toRefs as l,ref as o,watch as n,openBlock as s,createElementBlock as r,normalizeStyle as i,unref as a,normalizeClass as d,createElementVNode as c,Fragment as p,renderList as u,createCommentVNode as f,withDirectives as m,renderSlot as h,toDisplayString as
|
|
1
|
+
import{defineComponent as e,computed as t,toRefs as l,ref as o,watch as n,openBlock as s,createElementBlock as r,normalizeStyle as i,unref as a,normalizeClass as d,createElementVNode as c,Fragment as p,renderList as u,createCommentVNode as f,withDirectives as m,renderSlot as h,toDisplayString as g,vShow as v,createBlock as x,withCtx as y,createVNode as I}from"vue";import{NTooltip as b,NEmpty as w}from"naive-ui";import{useTheme as k}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{defaultCssVars as S}from"./constants/index.js";const B={class:"stepBox"},j=["title"],N=["onMouseenter","onMouseleave"],M=["onMouseenter","onMouseleave"],R=["title"],T=["title"],C=["title"],O={key:0,style:{height:"48px"}},_={key:1},L={key:1};var $=e({__name:"StepsWheel",props:{stepInfo:{type:Object,default:()=>({list:[],cols:6})},currentStep:{type:Number,default:1},toolTipShow:{type:Boolean,default:!0},lastNodeRender:{type:Boolean,default:!1},nextNodeRender:{type:Boolean,default:!1},lastNodeColor:{type:Object,default:()=>({})},singleNodeRender:{type:Object,default:()=>({})},noDataMsg:{type:String,default:"暂无节点数据"},placement:{type:String,default:"center"}},setup(e){const $=e;let V=k(S,"StepsWheel");const D=t((()=>Math.ceil(H.value.length/$.stepInfo.cols))),W=t((()=>$.lastNodeRender)),{noDataMsg:E,nextNodeRender:P}=l($),F=o(null),A=t((()=>{var e;let t=72;if(null==(e=null==F?void 0:F.value)?void 0:e.length){let e=F.value[0],l=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle;t=isNaN(parseInt(l["min-width"]))?72:parseInt(l["min-width"])}return`${20+$.stepInfo.cols*t}px`})),H=o([]),q=o([]),z=e=>{e.tipVisible=!0},G=e=>{e.tipVisible=!1},J=e=>{if(q.value.length){if(e.rowIndex===q.value.length)return!0;if(e.rowIndex<q.value.length)return q.value[e.rowIndex].some((e=>null==e?void 0:e.title))}return!1},K=e=>{const{list:t=[]}=$.stepInfo;return e.rowIndex%2==0&&"frist"==e.nodeType&&e.nodeIndex!==t.length},Q=e=>{const{list:t=[]}=$.stepInfo;return e.rowIndex%2!=0&&"last"==e.nodeType&&e.nodeIndex!==t.length},U=(e,t)=>{let l=e.length,o=l%t==0?l/t:Math.floor(l/t+1),n=[];for(let l=0;l<o;l++){let o=e.slice(l*t,l*t+t);n.push(o)}return n},X=e=>{const{cols:t}=$.stepInfo;let l=U(H.value,t),o=l[l.length-1].filter((e=>e));return D.value%2==0?e!=o[o.length-1].nodeIndex-(t-2*o[o.length-1].sort):e!=o[o.length-1].nodeIndex-1},Y=e=>{const{cols:t}=$.stepInfo;let l=U(H.value,t),o=l[l.length-1].filter((e=>e));return D.value%2==0?W.value&&e==o[0].nodeIndex-(t-2*o[0].sort):W.value&&e==o[o.length-1].nodeIndex-1},Z=(e,t)=>{const{cols:l}=$.stepInfo;let o=U(H.value,l),n=o[o.length-1].filter((e=>e));return D.value%2==0?"circle"===t?W.value&&e==n[0].nodeIndex-(l-2*n[0].sort)-l:W.value&&e==n[0].nodeIndex-(l-2*n[0].sort):"circle"===t?W.value&&e==n[n.length-1].nodeIndex-1-l:W.value&&e==n[n.length-1].nodeIndex-2},ee=(e,t,l)=>{var o,n;if((null==(o=$.singleNodeRender)?void 0:o.field)&&(null==(n=$.singleNodeRender)?void 0:n.details)&&"[object Object]"===Object.prototype.toString.call($.singleNodeRender.details)&&Object.keys($.singleNodeRender.details).length){const{details:o,field:n}=$.singleNodeRender;if(o[e[n]]&&"[object Object]"===Object.prototype.toString.call(o[e[n]])&&Object.keys(o[e[n]]).length){let s={};switch(l){case"title":s={color:o[e[n]].color,background:o[e[n]].background};break;case"icon":s={background:o[e[n]].nodeLineColor};break;case"line":s={"border-bottom":`1px solid ${o[e[n]].nodeLineColor}`},$.nextNodeRender?e.rowIndex%2==0&&(s={"border-bottom":`1px solid ${o[H.value[t+1][n]].nodeLineColor}`}):s={};break;case"circle":$.nextNodeRender&&(s={border:`1px solid ${o[e[n]].nodeLineColor}`})}return s}}let s={color:"var(--c-primary-color)",background:"#f1f5fe"};if("icon"===l){if(s={background:"var(--c-primary-color)"},$.currentStep>=e.nodeIndex)return s}else if("circle"===l){if(s={border:"1px solid var(--c-primary-color)"},$.nextNodeRender){if($.currentStep>=e.nodeIndex)return s}else if($.currentStep>e.nodeIndex)return s}else if("line"===l){if(s={"border-bottom":"1px solid var(--c-primary-color)"},((e,t)=>P.value?e.rowIndex%2==0?$.currentStep>=t+($.stepInfo.cols-2*e.sort)-1:$.currentStep>=t+1:e.rowIndex%2==0?$.currentStep>=t+($.stepInfo.cols-2*e.sort):$.currentStep>=t+2)(e,t))return s}else if("title"===l&&$.currentStep>=e.nodeIndex)return s;return{}};return n((()=>$.stepInfo),(e=>{((e,t)=>{let l=e.length+1,o=Math.ceil(e.length/t),n=!0,s=[];for(var r=0;r<o;r++)s[r]=new Array(t),s[r].fill(null);let i=0,a=0;for(let o=1;o<l;o++)s[i][a]=Object.assign(e[o-1],{nodeIndex:o,rowIndex:i+1}),n?o%t!=0?a++:(n=!n,i++):o%t!=0?a--:(n=!n,i++);let d=[];s.map((e=>{e.map(((e,t)=>{e&&(e.sort=t,!e.hasOwnProperty("tipVisible")&&(e.tipVisible=!1))})),e[0]&&(e[0].nodeType="frist"),e[e.length-1]&&(e[e.length-1].nodeType="last"),d=[...d,...e]})),H.value=d,q.value=s})(e.list||[],e.cols)}),{immediate:!0,deep:!0}),n((()=>$.lastNodeColor),(e=>{if(e&&"[object Object]"===Object.prototype.toString.call(e)&&Object.keys(e).length){const t=Object.assign({},S,{"--c-success-color":e.color||"#5dc055","--c-success-title-color":e.background||"#fff"});V=k(t,"StepsWheel")}}),{immediate:!0,deep:!0}),(t,l)=>(s(),r("div",{class:"step-wheel-box",style:i({minWidth:a(A),...a(V)})},[H.value.length?(s(),r("div",{key:0,class:d(["stepOut",{placementLeft:"left"===e.placement,placementRight:"right"===e.placement}])},[c("ul",B,[(s(!0),r(p,null,u(H.value,((l,o)=>(s(),r("li",{ref_for:!0,ref_key:"stepItemRef",ref:F,key:(null==l?void 0:l.stepId)||o,class:d(["stepItem",{[`stepItem_${o+1}`]:!0,[`${null==l?void 0:l.stepId}`]:!!(null==l?void 0:l.stepId)}])},[l?(s(),r(p,{key:0},[f(" 步骤头部信息 "),m(c("div",{class:d(["stepTopBox",{finished:Y(o),stepTopBox_right:"right"===e.placement,stepTopBox_left:"left"===e.placement}]),style:i({...ee(l,o,"title")})},[h(t.$slots,"stepTopBox",{stepItem:l},(()=>[c("span",{title:l.title},g(l.title),9,j)]))],6),[[v,l.title]]),f(" 步骤条的节点,此处为圆圈 "),e.toolTipShow&&l.tipShow?(s(),x(a(b),{key:0,placement:"top",delay:0,"show-arrow":!0,show:l.tipVisible,trigger:"manual",style:i({opacity:"0.88"}),onMouseenter:e=>z(l),onMouseleave:e=>G(l)},{trigger:y((()=>[c("div",{class:d(["icon",{finished:Y(o)}]),style:i({...ee(l,o,"icon")}),onMouseenter:e=>z(l),onMouseleave:e=>G(l)},null,46,N)])),default:y((()=>[h(t.$slots,"nodeTipBox",{stepItem:l,stepId:l.stepId})])),_:2},1032,["show","style","onMouseenter","onMouseleave"])):(s(),r("div",{key:1,class:d(["icon",{finished:Y(o)}]),style:i({...ee(l,o,"icon")})},null,6)),f(" 步骤条连接线,动态显示 "),"last"!==l.nodeType?m((s(),r("div",{key:2,class:d(["line",{finished:Z(o)}]),style:i({...ee(l,o,"line")})},null,6)),[[v,X(o)]]):f("v-if",!0),f(" 步骤条弯曲连线,动态渲染 "),K(l)||Q(l)?(s(),r("div",{key:3,class:d({lineCircleFinished:Z(o,"circle"),lineCircleRight:Q(l),lineCircleLeft:K(l),lineCirclePlacementRight:Q(l)&&"right"===e.placement,lineCirclePlacementLeft:K(l)&&"left"===e.placement}),style:i({...ee(l,o,"circle")})},null,6)):f("v-if",!0),f(" 步骤底部信息 "),c("div",{class:d(["stepBottomBox",{stepBottomBox_right:"right"===e.placement,stepBottomBox_left:"left"===e.placement}]),onMouseenter:e=>z(l),onMouseleave:e=>G(l)},[h(t.$slots,"stepBottomBox",{stepItem:l},(()=>[f(" 步骤名称 "),m(c("p",{class:d(["stepLabel",{labelFinsh:Y(o),stepLabel_right:"right"===e.placement,stepLabel_left:"left"===e.placement}]),title:l.label},g(l.label),11,R),[[v,l.label]]),c("div",{class:d({stepBottomCustomBox:!0,alignItemsEnd:"left"===e.placement,alignItemsStart:"right"===e.placement})},[h(t.$slots,"stepBottomCustomBox",{stepItem:l},(()=>[c("div",{class:d({stepBottomDefaultBox:!0,alignItemsEnd:"left"===e.placement,alignItemsStart:"right"===e.placement}),style:{width:"100%",display:"flex",flexDirection:"column"}},[m(c("p",{class:"stepExtra",title:l.person},g(l.person),9,T),[[v,l.person]]),f(" 步骤时间 "),m(c("p",{class:"statusTime",title:l.statusTime},g(l.statusTime),9,C),[[v,l.statusTime]])],2)]))],2)])),J(l)?(s(),r("div",O)):f("v-if",!0)],42,M)],64)):(s(),r("div",_,[f("null元素占位")]))],2)))),128))])],2)):(s(),r("div",L,[I(a(w),{description:a(E)},null,8,["description"])]))],4))}});export{$ as default};
|
|
@@ -111,9 +111,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
readonly type: PropType<(string | number)[] | null>;
|
|
112
112
|
readonly default: null;
|
|
113
113
|
};
|
|
114
|
-
/**
|
|
115
|
-
* 拖拽完成
|
|
116
|
-
*/
|
|
117
114
|
readonly disabled: {
|
|
118
115
|
readonly type: PropType<boolean | undefined>;
|
|
119
116
|
readonly default: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as l,inject as t,computed as a,watch as i,openBlock as o,createBlock as s,unref as n,normalizeClass as d,isRef as r,withCtx as u,createVNode as c,normalizeStyle as m,createElementVNode as h,createTextVNode as
|
|
1
|
+
import{defineComponent as e,ref as l,inject as t,computed as a,watch as i,openBlock as o,createBlock as s,unref as n,normalizeClass as d,isRef as r,withCtx as u,createVNode as c,normalizeStyle as m,createElementVNode as h,createTextVNode as p,renderSlot as f,toDisplayString as v,h as g}from"vue";import{useMessage as b,NModal as x,NCard as w,NButton as L,NCheckbox as y,NSelect as F,NCheckboxGroup as k,NPopover as I,NPopconfirm as A,NIcon as N}from"naive-ui";import{Trash as C}from"@vicons/ionicons5";import{InjectionExportApiConfig as _}from"../constants/index.js";import P from"../../../../shared/components/VueDraggable/src/vuedraggable.js";import S from"../hooks/useAsyncData.js";import{dragFieldCheckList as z}from"../tool.js";import{cloneDeep as E}from"lodash-es";const j={class:"svg-wrap"},H={class:"flex_right"},O=h("div",{class:"tip"},"提示:支持拖动调整字段顺序,字段导出顺序为从左到右,从上到下。",-1),U={class:"flex_between"},$=["title"];var T=e({__name:"ExportModal",props:{visible:{type:Boolean,default:!1},tableListId:{type:String,default:""},curProgram:{type:Object,default:()=>({})},programOptions:{type:Array,default:()=>[]},downLoadFieldList:{type:Array,default:()=>[]},showAllFieldList:{type:Array,default:()=>[]}},emits:["cancelModal","updateCurProgram","updateFieldCheckList","updateShowAllFieldList"],setup(e,{emit:T}){const K=e,M="default",D="860px",B="496px",V={class:"select-export-popover"},q=b(),{deleteTableListExportScheme:G,exportTableListScheme:J}=S(),Q=l(!1),R=l(D),W=l({maxHeight:B,height:B}),X=l(!1),Y=l(!0),Z=l([]),ee=t(_),le=a((()=>K.curProgram.schemeId));function te(){T("updateShowAllFieldList",K.showAllFieldList)}function ae({option:e}){return g("span",e.schemeName)}function ie(e){const l=[g(I,{trigger:"hover",duration:0},{default:()=>e.schemeName,trigger:()=>g("span",{class:"content"},e.schemeName)})],t=[g(A,{placement:"top-start",positiveText:"确认",negativeText:"取消",onPositiveClick:()=>function(e){const{schemeId:l}=K.curProgram;if(l===e.schemeId)return q.warning("当前正在使用该方案,请先切换其他方案再删除");!async function(e){if(!K.tableListId)return q.warning("请传入列表id");try{await G({id:K.tableListId,schemeId:e},ee)&&q.success("删除成功")}catch(e){q.error(`获取导出方案数据请求失败:${e}`)}}(e.schemeId)}(e)},{trigger:()=>g(N,{onclick:oe},{default:()=>g(C)}),default:()=>"确定删除该导出方案吗?"})],a=e.schemeId===M?[l]:[l,t];return g("div",{class:"flex-between"},a)}function oe(e){e.stopPropagation()}function se(e){T("updateCurProgram",e)}function ne(){!async function(){if(!K.tableListId)return q.warning("请传入列表id");if(Z.value.length<1)return q.warning("请至少勾选一个字段");try{const{schemeId:e}=K.curProgram,l=K.programOptions.find((l=>l.schemeId===e)),t={fieldKeys:z(K.showAllFieldList,Z.value),lastUsedSchemeName:l?l.schemeName:"",schemeId:l?l.schemeId:"",schemeName:l?l.schemeName:"",tableListId:K.tableListId};await J(t,ee)&&(q.success("导出成功"),re())}catch(e){q.error(`获取导出方案数据请求失败:${e}`)}}()}function de(e){var l,t,a;Y.value=!1,Z.value=e?(null==(l=K.showAllFieldList)?void 0:l.map((e=>e.columnName)))||[]:(null==(a=null==(t=K.showAllFieldList)?void 0:t.filter((e=>e.fixedExport)))?void 0:a.map((e=>e.columnName)))||[]}function re(){T("cancelModal"),R.value=D,W.value={height:B,maxHeight:B},Q.value=!1}function ue(){Q.value=!Q.value;let e=document.body.clientHeight;R.value===D?(R.value="100%",W.value.maxHeight=`${e}px`,W.value.height=`${e}px`):(R.value=D,W.value.maxHeight=B,W.value.height=B)}return i((()=>Z.value),(e=>{K.showAllFieldList.length>0&&(Y.value=e.length>0&&e.length<K.showAllFieldList.length,X.value=e.length===K.showAllFieldList.length,T("updateFieldCheckList",e))}),{immediate:!0}),i((()=>K.curProgram),(e=>{e&&function(e){const l=K.programOptions.find((l=>l.schemeId===e));if(l){let t=[];const a=K.downLoadFieldList.filter((e=>e.fixedExport)).map((e=>e.columnName)),i=l.fieldKeys.filter((e=>!a.includes(e)));if(Z.value=[...i,...a],e===M){const e=E(K.downLoadFieldList);return void T("updateShowAllFieldList",e)}Z.value.forEach((e=>{const l=K.downLoadFieldList.find((l=>l.columnName===e));l&&t.push(l)}));const o=K.downLoadFieldList.filter((e=>!Z.value.includes(e.columnName))),s=[...t,...o];T("updateShowAllFieldList",s)}}(e.schemeId)}),{immediate:!0}),(l,t)=>(o(),s(n(x),{class:d(["table-export-field-modal",{"modal-screen":Q.value}]),show:e.visible,"onUpdate:show":t[3]||(t[3]=e=>r(visible)?visible.value=e:null),maskClosable:!1,width:R.value,bodyStyle:W.value,closable:!1,centered:"",onPositiveClick:ne,onNegativeClick:re},{default:u((()=>[c(n(w),{style:m({width:R.value,...W.value}),title:"选择导出字段",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":u((()=>[h("div",j,[h("i",{onClick:ue,class:d(["iconfont-table-export-field",Q.value?"icon-table-export-field-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-export-field-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),h("i",{onClick:re,class:"iconfont-table-export-field icon-table-export-field-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:u((()=>[h("div",H,[c(n(L),{onClick:re},{default:u((()=>[p("取消")])),_:1}),f(l.$slots,"add"),c(n(L),{type:"info",onClick:ne},{default:u((()=>[p("导出")])),_:1})])])),default:u((()=>[O,h("header",U,[c(n(y),{checked:X.value,"onUpdate:checked":[t[0]||(t[0]=e=>X.value=e),de],indeterminate:Y.value},{default:u((()=>[p(" 全选 ")])),_:1},8,["checked","indeterminate"]),c(n(F),{style:{width:"200px"},value:n(le),"onUpdate:value":[t[1]||(t[1]=e=>r(le)?le.value=e:null),se],filterable:"","label-field":"schemeName","value-field":"schemeId","show-checkmark":!1,"render-label":ie,"render-tag":ae,"menu-props":V,options:e.programOptions},null,8,["value","options"])]),c(n(k),{value:Z.value,"onUpdate:value":t[2]||(t[2]=e=>Z.value=e)},{default:u((()=>[c(n(P),{class:"draggable-checkbox-list",list:e.showAllFieldList,animation:"300",itemKey:"columnName",onEnd:te},{item:u((({element:e})=>{var l;return[c(n(y),{disabled:e.fixedExport,class:d(Z.value.includes(e.columnName)?"":"checkbox-disabled"),value:e.columnName,label:null!=(l=e.alias)?l:e.title},{default:u((()=>{var l,t;return[h("span",{title:null!=(l=e.alias)?l:e.title},v(null!=(t=e.alias)?t:e.title),9,$)]})),_:2},1032,["disabled","class","value","label"])]})),_:1},8,["list"])])),_:1},8,["value"])])),_:3},8,["style"])])),_:3},8,["class","show","width","bodyStyle"]))}});export{T as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.table-export-field-modal .n-card-header .svg-wrap i{cursor:pointer;font-size:18px}.table-export-field-modal .n-card-header .svg-wrap i:last-child{margin-left:16px}.table-export-field-modal .n-card-header .svg-wrap .n-icon{cursor:pointer}.table-export-field-modal .n-card__content{display:flex;flex-direction:column;overflow-y:auto}.table-export-field-modal .n-card__content .tip{margin-bottom:12px}.table-export-field-modal .n-card__content .flex_between{display:flex;justify-content:space-between;margin-bottom:10px}.table-export-field-modal .n-card__content .n-checkbox-group{flex:1;overflow-y:auto}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list{display:flex;flex-wrap:wrap;width:100%}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list .n-checkbox{box-sizing:border-box;display:flex;flex-wrap:nowrap;padding:12px 0;width:20%}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list .n-checkbox .n-checkbox__label{cursor:move;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list .n-checkbox.checkbox-disabled .n-checkbox__label{color:rgba(46,46,46,.4)}.table-export-field-modal .flex_right{display:flex;justify-content:flex-end}.table-export-field-modal .flex_right .n-button{margin-left:8px}.table-export-field-modal .save-project-content .n-radio-group{margin-bottom:20px}.table-export-field-modal .select-export-popover .n-base-select-option{padding-left:12px}.table-export-field-modal .select-export-popover .n-base-select-option.n-base-select-option--show-checkmark{padding-right:12px}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content{width:100%}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content .flex-between{align-items:center;cursor:pointer;display:flex;justify-content:space-between}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content .flex-between .content{flex:1;overflow:hidden;padding-right:5px;text-overflow:ellipsis;white-space:nowrap}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content .n-base-select-option__check{display:none!important}
|
|
1
|
+
@font-face{font-family:table-export-field-iconfont;src:url(table-export-field-iconfont.ttf) format("truetype")}.table-export-field-modal .iconfont-table-export-field{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:table-export-field-iconfont!important;font-size:14px;font-style:normal}.table-export-field-modal .icon-table-export-field-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.table-export-field-modal .icon-table-export-field-menzhenyishengzhananniushanchu2:before{content:"\e757"}.table-export-field-modal .icon-table-export-field-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.table-export-field-modal .icon-table-export-field-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.table-export-field-modal .icon-table-export-field-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.table-export-field-modal .icon-table-export-field-reset:before{content:"\e611"}.table-export-field-modal .icon-table-export-field-shaixuan:before{content:"\e64b"}.table-export-field-modal .n-card-header .svg-wrap i{cursor:pointer;font-size:18px}.table-export-field-modal .n-card-header .svg-wrap i:last-child{margin-left:16px}.table-export-field-modal .n-card-header .svg-wrap .n-icon{cursor:pointer}.table-export-field-modal .n-card__content{display:flex;flex-direction:column;overflow-y:auto}.table-export-field-modal .n-card__content .tip{margin-bottom:12px}.table-export-field-modal .n-card__content .flex_between{display:flex;justify-content:space-between;margin-bottom:10px}.table-export-field-modal .n-card__content .n-checkbox-group{flex:1;overflow-y:auto}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list{display:flex;flex-wrap:wrap;width:100%}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list .n-checkbox{box-sizing:border-box;display:flex;flex-wrap:nowrap;padding:12px 0;width:20%}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list .n-checkbox .n-checkbox__label{cursor:move;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-export-field-modal .n-card__content .n-checkbox-group .draggable-checkbox-list .n-checkbox.checkbox-disabled .n-checkbox__label{color:rgba(46,46,46,.4)}.table-export-field-modal .flex_right{display:flex;justify-content:flex-end}.table-export-field-modal .flex_right .n-button{margin-left:8px}.table-export-field-modal .save-project-content .n-radio-group{margin-bottom:20px}.table-export-field-modal .select-export-popover .n-base-select-option{padding-left:12px}.table-export-field-modal .select-export-popover .n-base-select-option.n-base-select-option--show-checkmark{padding-right:12px}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content{width:100%}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content .flex-between{align-items:center;cursor:pointer;display:flex;justify-content:space-between}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content .flex-between .content{flex:1;overflow:hidden;padding-right:5px;text-overflow:ellipsis;white-space:nowrap}.table-export-field-modal .select-export-popover .n-base-select-option .n-base-select-option__content .n-base-select-option__check{display:none!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAC8BAMAAABGTkHLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAeUExUReLi4vLy8v////b29gcHB3JycpiYmD4+Pre3t9HR0aoRHH0AAAvvSURBVHja7Z3NW9NKG8YpH3LcNZZ+sNMgCjtDQGBXzjtJyo5CeoTdQSLiDjScyhIsiDuBIvLfvs9MkhZ9ycwkU/O2x2euq21aOvc8/nLPMx9wjUNDWLAMRtESlERf/pdpJmgdoSJUhIpQESpCRagIFaEiVISKUBEqQkWoCBWhIlSEilARqgrU8y+a9v0dQu0l1G+7u3tnu7vvZIIt1u+8GdvuXDZyncu8VqonAtCXmmpQC3/shuVYItj5legKomt3glpwoqvvryxtYiURgL7UVHTqWQR1TxDsaaPRcC142oQ3FSt3J1jPogIXWokQcqi15F3Vt5pZQXVJWCx4M+nb3WBLwefbWqXp78MX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KliG7gxlcje0QVkV1QJPpo5WkzdTNxA6pb27xzcG9z5PRvG1eyrl3ibxu+WeSnnHKdMvq4ZqG6cmR6b+YBVy9bFF395d0Qfkm38Et77rXCn6lOImoTzBLaMLWEhMMzrUf8eIHuMoCbWNUzM6VAiAClABKgRABagAFQKgAlSACgFQASpAhQCoABWgQgBUgDp+UCEgxiH+B8NAK450BZSYAAAAAElFTkSuQmCC";export{A as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqgAAAC8BAMAAABGTkHLAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURePj4/Ly8v///wYGBpqamjY2Nnx8fL6+vl9fX2y8huAAAAhUSURBVHja7Z3LW9pKGMYJ6NFlQrktJVpwmT7DbVkEoUvbyLFLEatdKtDaJUhb+bPPzCRcqhJmmATC6fs9AgEzb97+Mnfar5EIArEdYSB8DkAFVEAFVASgAiqgIgAVUAEVAaiACqiIYKEGcQe2RRNQAfUvgdq/M4y9JqD6CbVfrzfZQ8Rsqj33Zr86PbzRpof6nydtqaYi1L26G/cCZt+8mxxRd73h9M9Qmap9qcydJAQglJqKUGklveY/zSVmv9/c3HRK9OmWvkmUtDmztZJzVxI2If/Ofb4UQGg1VaE26vUGo3q7xGyHuFGib/KjwsxUwvm8aqRbowE98We/39eEAIRWUxFqfRpLzLIvY2PW5CvZtD2cmNVHhQcahPmL0c+483shAKHVVId6zarqUqgskm43lNaM1P3EbK3IbGZYxWBmExWqZWvC/V8oNdWgph2g9evGi5Hq2cn6eDweVegT9RE7N6YDQI1csp6j85EViQ20mEUPWmL9X2g11aD2Z82/ucTspK+iZhP2xczsIEHaRopVgwzryUbVxECvCAIIq6YS1J06G6YiEU61Kj5VSZCh0Wu7Ez5jtxixz9inY/vzz19G0koUVpj+hElTCSqfUFGYCdYLNIX7KuqvbdRmN6HGh1oaoyEtlrH0S0O6/wuVphJUXkNpg9BfGf//PDndom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e9FZ7cs+f71BVkVCxsRFMOas29eoqcmbUyHYyGiwofPDxE8+TEzPExYL75S8m8BLBq2XVqykG1C/zqWXJh5op218ws7HxyhFyZu5W4M+3754bHrbTMSwCrll2nphTUo6J9wm9p08yOPibpwfvFNbV2ZWbts1H35R9CQsa/suvUlIKaLCcLbi/JevTRhdcqNXbF6iu750fjaZxIyrwAsHLZdWpKQe08HpAuv/o32l2aR2TgUZxBNWsFpyuYxJW0jIqFTWnKQM2RqBmz2NW/OdfdJ0/eUA9s5pLW2+h01SIro2JhU5oyUEd0qpEvpku06rWckadFrjyh9koxvjTNFeagysmoWNiUpgTUH/SO0pfbknkwOHRas/VP3Atqgpwc8Kp6+M48Zv9nxgoyKhY2pSkB9YHtO5kp3vkc8plSzvLsU1OkzCor3wcwj5nbuLyMioVNacrNU/m6SPDqvatRKc52q6J8InhcdvQWyWSGs4fXnFLGgug81W/NwKDmScFpRHf0vEqnO+tTX5dh84TJ42+FehbZi9zte1y9d2FP61zNelvZt7xlds9mDzEASy2sANUfTVmouZsvbLth0qMvnvzb0WPSYvP9X495QueCpPibjqtdSZnXAKxWdp2aslDfEvLIrn7OMv6dLr4625H63uIWH/PU78GHlrNhLSfzGoDVyq5TUxzqTpSv6SMaeznic/p8dXHp6CvHhiEtYypY2JimOFQEoAIqoCIAFVABFQGogAqoCEAFVEBFACqgAioCUAEVUBHPoWrIduh36IyqFtHx4+MPmj/6VEAFVASgAiqgIgAVUAEVAaiACqgIQAVUQEUAKqD+z6EiK2UAUJGVMgCoyEoZIFRkpfQJKrJSBgAVWSmDgNpFVspAoCIrZQBQkZUyAKjISuk/VGSlDAAqslIGABVZKf2HiqyUAUBFVkr/oSIrZQBQkZUymHkqXxchK+XGoCIrpTxUZKX0ESqyUgYAFVkpfYWKrJQBQEUAKqACKgJQARVQEYAKqICKAFRABVQEoAIqoCIAFVABFfEcKrJSIivlVmSl/A/c6UYEuXPhmgAAAABJRU5ErkJggg==";export{A as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as l,ref as t,watch as u,createVNode as n,mergeProps as o}from"vue";import{findAncestor as a}from"../../utils/index.js";import{isArray as s,isString as i,isNumber as r,isObject as v}from"lodash-es";import{NInput as
|
|
1
|
+
import{defineComponent as e,computed as l,ref as t,watch as u,createVNode as n,mergeProps as o}from"vue";import{findAncestor as a}from"../../utils/index.js";import{isArray as s,isString as i,isNumber as r,isObject as v}from"lodash-es";import{NInput as p,NDropdown as c}from"naive-ui";import"../../../components/form-render/index.js";import{createInputSlot as m}from"../../../components/form-render/src/utils/index.js";var f=e({props:{value:{type:[Number,String]},onChange:{type:Function,default:()=>({})},prefix:{type:[String,Function,Object]},suffix:{type:[String,Function,Object]},precision:{type:Number},whiteList:{type:Array},inputProps:{type:Object},popperProps:{type:Object},slashSymbol:{type:String,default:"/"}},emits:["select"],setup(e,{emit:f}){const d=m(e),h=l((()=>s(e.whiteList)?e.whiteList.reduce(((e,l)=>(i(l)&&e.push({label:l,value:l}),e)),[]):[]));function g(e=-1){const l=r(+e)&&e>=0?+e:null;return new RegExp(`^-?(0|[1-9][0-9]*)?${0===l?"":`(\\.[0-9]${r(l)?`{0,${l}}`:"*"})?`}$`)}const y=g(),b=t(),S=l({get:()=>b.value,set:l=>r(l)?b.value=l+"":i(l)?l.endsWith(e.slashSymbol)?b.value=e.slashSymbol:void(b.value=h.value.some((e=>e.label===l))||y.test(l)?l:""):void 0});function j(){if(S.value===e.slashSymbol||function(e,l=!1){return h.value.length&&h.value.some((({value:t})=>l?t.includes(e):t===e))}(S.value))e.onChange(S.value);else if(i(S.value)&&"-"!==S.value)if(y.test(S.value)){const l=S.value.endsWith(".")?S.value.slice(0,-1):S.value;e.onChange(S.value=l)}else S.value=e.value;else S.value=e.value}u((()=>e.value),(e=>S.value=e),{immediate:!0});const w=t(!1),x=t();function $(){w.value=!0}function C(e){var l;if(!e.target)return;const t=e.target;(null==(l=x.value)?void 0:l.$el)&&a(t,(e=>e===x.value.$el))||(w.value=!1)}function F(e,l){var t,u;console.log("option=>",l),v(l)&&(S.value=l.value,null==(u=null==(t=x.value)?void 0:t.focus)||u.call(t),f("select",l))}const O=l((()=>g(e.precision)));function P(l){return!(null!=l&&""!==l&&l!==e.slashSymbol&&i(l)&&!l.endsWith(e.slashSymbol))||(!(!h.value.length||!h.value.some((e=>e.label.includes(l))))||O.value.test(l)&&"-."!==l&&!l.startsWith("."))}return()=>{const l=n(p,o({ref:x,value:S.value,"onUpdate:value":e=>S.value=e,"allow-input":P,onBlur:j,onClick:$,onFocus:$},e.inputProps),d.value);return h.value.length?n(c,o({onSelect:F,options:h.value,show:w.value,width:"trigger",onClickoutside:C},e.popperProps),{default:()=>l}):l}}});export{f as default};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { AnyObject } from '../../../shared/types';
|
|
2
|
+
import { MaybeRef } from '@vueuse/core';
|
|
2
3
|
import { Ref } from 'vue';
|
|
3
4
|
export declare function useOptionFiltered(props: Partial<{
|
|
4
5
|
options: AnyObject[];
|
|
5
6
|
searchByValue: boolean;
|
|
6
|
-
}>, { labelKey, valueKey, searchKey }: {
|
|
7
|
+
}>, { labelKey, valueKey, searchKey, wordSplitFilter }: {
|
|
7
8
|
labelKey: Ref<string>;
|
|
8
9
|
valueKey: Ref<string>;
|
|
9
10
|
searchKey?: Ref<string[] | undefined>;
|
|
11
|
+
wordSplitFilter?: MaybeRef<boolean | undefined>;
|
|
10
12
|
}): {
|
|
11
13
|
searchContent: Ref<string | undefined>;
|
|
12
14
|
remoteOptions: Ref<AnyObject[] | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{arrayed as e}from"../../utils/index.js";import"lodash-es";import"naive-ui";import{ref as o,computed as r}from"vue";import"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import{useSearchContent as
|
|
1
|
+
import{arrayed as e}from"../../utils/index.js";import"lodash-es";import"naive-ui";import{ref as o,computed as r,unref as t}from"vue";import"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import{useSearchContent as i}from"./useSearchContent.js";import"@vicons/ionicons5";function n(n,{labelKey:s,valueKey:u,searchKey:a,wordSplitFilter:l}){const{searchContent:p,optionSearchFilter:v}=i(),m=o(null),c=r((()=>{const o=e((null==a?void 0:a.value)||[]);return n.searchByValue&&o.push(u.value),m.value?v(m.value,s.value,o,!!t(l)):Array.isArray(n.options)?v(n.options,s.value,o,!!t(l)):[]})),h=r((()=>m.value||n.options||[]));return{searchContent:p,remoteOptions:m,filterOptions:c,fullOptions:h}}export{n as useOptionFiltered};
|
|
@@ -2,5 +2,5 @@ import { AnyObject } from '../../../shared/types';
|
|
|
2
2
|
export declare const searchContentMatcher: (searchContent: string, label: string) => RegExpMatchArray | null;
|
|
3
3
|
export declare function useSearchContent(): {
|
|
4
4
|
searchContent: import("vue").Ref<string | undefined>;
|
|
5
|
-
optionSearchFilter: (options: AnyObject[], labelKey: string, searchKeys?: string[]) => AnyObject[];
|
|
5
|
+
optionSearchFilter: (options: AnyObject[], labelKey: string, searchKeys?: string[], wordSplitFilter?: boolean) => AnyObject[];
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{keywordMatcher as
|
|
1
|
+
import{keywordMatcher as e}from"../../utils/index.js";import{useMemoize as t}from"@vueuse/core";import{identity as r,isArray as n,isString as o,overSome as u,isNumber as i}from"lodash-es";import{ref as c}from"vue";const l=(()=>{const e=t((e=>new RegExp(`(.*)${e.split("").map((e=>`(${function(e){return e.match(/[()\[\]{}$^\/]/)?"\\"+e:e}(e)})`)).join("(.*)")}(.*)`)),{getKey:r});return(t,r)=>r.match(e(t))})();function s(){const t=c();return{searchContent:t,optionSearchFilter:function(r,c,s,a=!0){if(!t.value)return r;const f=n(s)?s.filter((e=>e&&o(e))):[];return r.filter((r=>function(r,n,c,s=!0){if(!t.value)return!0;const a=r?r[n]:"";return!!o(a)&&(!!e(t.value,r.keyword)||!!(s?l(t.value,a):a.includes(t.value))||!!c.length&&c.some((e=>u([i,o])(r[e])&&String(r[e]).includes(t.value))))}(r,c,f,a)))}}}export{l as searchContentMatcher,s as useSearchContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",i="3.1.
|
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.2.1-alpha.0",s="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.2.1-alpha.0",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
|
@@ -90,17 +90,26 @@ export declare namespace LowCodeTypes {
|
|
|
90
90
|
restoreEmpty: boolean;
|
|
91
91
|
}>;
|
|
92
92
|
};
|
|
93
|
+
type LowCodeConditions = {
|
|
94
|
+
field: string;
|
|
95
|
+
type: VALUE_RELATION;
|
|
96
|
+
valueType?: 'const' | 'field';
|
|
97
|
+
value?: any;
|
|
98
|
+
};
|
|
93
99
|
type newReactionConfig = {
|
|
94
|
-
conditions:
|
|
95
|
-
field: string;
|
|
96
|
-
type: VALUE_RELATION;
|
|
97
|
-
valueType?: 'const' | 'field';
|
|
98
|
-
value?: any;
|
|
99
|
-
}[];
|
|
100
|
+
conditions: LowCodeConditions[];
|
|
100
101
|
compareMap?: BindEventSettingItem['compareMap'];
|
|
101
102
|
sqlExpression?: string;
|
|
102
103
|
actions: reactionAction[];
|
|
103
104
|
};
|
|
105
|
+
type selectedSettingConfig = {
|
|
106
|
+
selectedField: string;
|
|
107
|
+
children: {
|
|
108
|
+
value: string;
|
|
109
|
+
sqlExpression?: string;
|
|
110
|
+
conditions: LowCodeConditions[];
|
|
111
|
+
}[];
|
|
112
|
+
};
|
|
104
113
|
type switchProperty = {
|
|
105
114
|
value?: any;
|
|
106
115
|
describe?: string;
|
|
@@ -6,7 +6,7 @@ export declare function isMatchLowCodeCondition(value: unknown, condition: {
|
|
|
6
6
|
}, overwriteCompareMap?: LowCodeTypes.BindEventSettingItem['compareMap']): boolean;
|
|
7
7
|
export declare function isConditionsMatchSqlExpression(conditions: boolean[], sqlExpression?: string): any;
|
|
8
8
|
export declare function isMatchLowCodeConditionsWithSqlExpression(formData: AnyObject, config: LowCodeTypes.reactionConfig): any;
|
|
9
|
-
export declare function isMatchNewLowCodeConditionsWithSqlExpression(formData: AnyObject, config: LowCodeTypes.newReactionConfig): any;
|
|
9
|
+
export declare function isMatchNewLowCodeConditionsWithSqlExpression(formData: AnyObject, config: Omit<LowCodeTypes.newReactionConfig, 'actions'>): any;
|
|
10
10
|
declare function handleFieldTriggerSetValue(bindEventSetting: LowCodeTypes.BindEventSettingItem, { getter, setter }: {
|
|
11
11
|
setter: (key: string, value: unknown) => void;
|
|
12
12
|
getter: (key: string) => unknown;
|
|
@@ -14,8 +14,9 @@ export declare function findAncestor(ele: HTMLElement | null, finder: (ele: HTML
|
|
|
14
14
|
export declare function widthAppend(value: string | number, append?: string): string;
|
|
15
15
|
export declare function targetStringIncludes(arr: string[], target: string): boolean;
|
|
16
16
|
export declare const jsonParse: import("@vueuse/core").UseMemoizedFn<any, [value: string]>;
|
|
17
|
-
export declare function shallowOmit<T, K extends Array<keyof T>>(target: T, keys: K): Omit<T, K[number]>;
|
|
17
|
+
export declare function shallowOmit<T extends object, K extends Array<keyof T>>(target: T, keys: K): Omit<T, K[number]>;
|
|
18
18
|
export declare function checkInSetupEnv(message?: string): void;
|
|
19
19
|
export declare function hex2rgba(hex: string, defaultAlpha?: number): readonly [number, number, number, number];
|
|
20
20
|
export declare function createProviderWrapper(instance?: ComponentInternalInstance): import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
21
21
|
export declare const keywordMatcher: import("@vueuse/core").UseMemoizedFn<boolean, [text: unknown, keyword: unknown]>;
|
|
22
|
+
export declare function isHTMLElement(target: unknown): target is HTMLElement;
|
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{
|
|
1
|
+
import{getCurrentInstance as t,defineComponent as e,provide as n,createVNode as r}from"vue";import{isObject as o}from"@vue/shared";import{useMemoize as i}from"@vueuse/core";import{isString as u,isNumber as c,isArray as s,isFunction as f}from"lodash-es";import a 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",u){r=x(r),e=x(e);for(let c=0;c<e.length;c++){if(n(e[c],i,u),o)return;for(let i=0;i<r.length;i++){const u=e[c][r[i]];if(Array.isArray(u)&&t(u,n,r,e[c]),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:i={}}=t._context;i[n]||(!Reflect.get(t,"__cnhis_version")&&o(a)&&Reflect.set(t,"__cnhis_version",a.version),r?r():t.component(n,e))}function p(t){if(!u(t))return;const e=t.match(/[Hms:]+/);return e?e[0]:void 0}function x(t){return Array.isArray(t)?t:[t]}function m(){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 h={a:7.7,b:8.6,c:7.7,d:8.6,e:7.7,f:5,g:8.6,h:8.2,i:3.3,j:3.3,k:7.6,l:3.5,m:12.1,n:8.2,o:8.2,p:8.6,q:8.6,r:5.4,s:7.1,t:5,u:8.2,v:7.6,w:10.9,x:7.3,y:7.6,z:7.6,A:9.43,B:9.33,C:9.93,D:10,E:8.27,F:8.1,G:10.4,H:10.4,I:3.7,J:7.5,K:9.2,L:7.9,M:12.4,N:10.4,O:10.8,P:8.9,Q:10.8,R:9.1,S:8.8,T:8.9,U:10.4,V:9.4,W:13.5,X:9.4,Y:9.1,Z:9.1,".":4.03,",":4.03,"(":5.17,")":5.17,"-":7.51,"+":7.51,"/":4.11,"\\":4.11,"%":12.68,"‰":17.75},g=/\d/,v=/[\u4e00-\u9fa5():,。]/;const y=i((function(t){if(!t)return 0;let e="";return[...t].reduce(((t,n)=>{const r=e;return e=n," "===n?" "===r?t:t+4:t+(function(t){return h[t]?h[t]:g.test(t)?8.9:v.test(t)?13.95:void 0}(n)||6)}),0)})),w=Object.seal(Object.create(null));function E(t,e){return function t(e,n){return o(e)?s(e)?e.map((e=>t(e,n))):Object.entries(e).reduce(((e,[r,i])=>(n.includes(r)||(o(i)&&!f(i)?e[r]=t(i,n):e[r]=i),e)),{}):e}(t,e)}function O(t){return Object.values(t).reduce(((t,e)=>Object.assign(t,e)),{})}function b(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 j(t,e="px"){if(c(t))return`${t}${e}`;if(u(t))return t.endsWith(e)?t:`${t}${e}`;throw new Error(`invalid width value ${t}, it need to be a string or number!`)}const C=i((t=>{try{return JSON.parse(t)}catch(t){return{}}}),{getKey:t=>t});function S(t,e){if(!o(t))return t;const n={...t};for(let t=0;t<e.length;t++)Reflect.deleteProperty(n,e[t]);return n}function $(e){if(!t())throw new Error(e||"can't use this hook out of setup environment")}function _(t,e=1){const[n,r,o,i,u]=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 s=u&&parseInt(u,16)/255;return[parseInt(r,16),parseInt(o,16),parseInt(i,16),+(c(s)?s.toFixed(2):e)]}function M(t){return e({setup(e,{slots:o}){let i=(null==t?void 0:t.parent)&&Reflect.get(t.parent,"provides");const u=[];for(;i;)Object.entries(i).forEach((([t,e])=>{u.includes(t)||(u.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 I=i((function(t,e){return!(!u(e)||!u(t))&&e.split(",").some((e=>e.trim().includes(t)))}),{getKey:(...t)=>t.reduce(((t,e)=>String(t)+"_"+String(e)),"")});function A(t){try{return t instanceof HTMLElement}catch(e){return o(t)&&1===t.nodeType&&o(t.style)&&o(t.ownerDocument)}}export{w as DMZ,x as arrayed,$ as checkInSetupEnv,M as createProviderWrapper,E as deepOmit,b as findAncestor,p as generateTimeFormat,y as getStringWidth,_ as hex2rgba,A as isHTMLElement,C as jsonParse,I as keywordMatcher,d as safeComponentRegister,O as separateMetaModule,S as shallowOmit,l as traverse,m as uuidGenerator,j as widthAppend};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.2.1-alpha.0",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "./es/components/index.js",
|
|
6
6
|
"main": "./es/components/index.js",
|
|
@@ -16,20 +16,26 @@
|
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"naive-ui": "^2.30.0",
|
|
18
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
19
|
"@fullcalendar/core": "^6.1.10",
|
|
27
20
|
"@fullcalendar/interaction": "^6.1.10",
|
|
28
21
|
"@fullcalendar/resource": "^6.1.10",
|
|
29
22
|
"@fullcalendar/resource-timegrid": "^6.1.10",
|
|
30
23
|
"@fullcalendar/scrollgrid": "^6.1.10",
|
|
31
24
|
"@fullcalendar/vue3": "^6.1.10",
|
|
25
|
+
"vxe-table": "^4.2.5"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
32
28
|
"@vicons/ionicons5": "^0.12.0",
|
|
29
|
+
"lodash-es": "^4.17.21",
|
|
30
|
+
"moment": "^2.29.1",
|
|
31
|
+
"video.js": "^7.19.2",
|
|
32
|
+
"videojs-contrib-hls": "^5.15.0",
|
|
33
|
+
"viewerjs": "^1.10.5",
|
|
34
|
+
"xe-utils": "^3.5.4",
|
|
35
|
+
"@formily/core": "2.1.9",
|
|
36
|
+
"@formily/path": "2.1.9",
|
|
37
|
+
"@formily/reactive": "2.1.9",
|
|
38
|
+
"@formily/vue": "2.1.9",
|
|
33
39
|
"@vueuse/core": "^8.6.0",
|
|
34
40
|
"@vueuse/shared": "^8.6.0",
|
|
35
41
|
"@wangeditor/editor": "^5.1.1",
|
|
@@ -42,25 +48,20 @@
|
|
|
42
48
|
"ids": "^1.0.0",
|
|
43
49
|
"inherits": "^2.0.4",
|
|
44
50
|
"lodash": "^4.17.21",
|
|
45
|
-
"lodash-es": "^4.17.21",
|
|
46
51
|
"lodash-unified": "^1.0.2",
|
|
47
52
|
"min-dash": "^3.8.1",
|
|
48
53
|
"min-dom": "^3.2.1",
|
|
49
|
-
"moment": "^2.29.1",
|
|
50
54
|
"naive-ui": "^2.30.0",
|
|
51
55
|
"recorder-core": "^1.2.23070100",
|
|
56
|
+
"socket.io-client": "^4.7.3",
|
|
52
57
|
"sockjs-client": "^1.6.1",
|
|
53
58
|
"sortablejs": "^1.15.0",
|
|
54
59
|
"spark-md5": "^3.0.2",
|
|
55
60
|
"stompjs": "^2.3.3",
|
|
56
61
|
"tiny-svg": "^2.2.4",
|
|
57
62
|
"v-viewer": "^3.0.10",
|
|
58
|
-
"video.js": "^7.19.2",
|
|
59
|
-
"videojs-contrib-hls": "^5.15.0",
|
|
60
|
-
"viewerjs": "^1.10.5",
|
|
61
63
|
"vue": "^3.2.0",
|
|
62
|
-
"vue-simple-uploader": "^1.0.0-beta.5"
|
|
63
|
-
"xe-utils": "^3.5.4"
|
|
64
|
+
"vue-simple-uploader": "^1.0.0-beta.5"
|
|
64
65
|
},
|
|
65
66
|
"browserslist": [
|
|
66
67
|
"defaults",
|