cnhis-design-vue 3.1.57-release.1 → 3.1.57-release.3
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/calendar/index.d.ts +276 -0
- package/es/components/calendar/index.js +1 -0
- package/es/components/calendar/src/Calendar.vue.d.ts +265 -0
- package/es/components/calendar/src/Calendar.vue.js +1 -0
- package/es/components/calendar/src/Calendar.vue2.js +1 -0
- package/es/components/calendar/src/types/index.d.ts +6 -0
- package/es/components/calendar/src/types/index.js +1 -0
- package/es/components/calendar/style/index.css +1 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +233 -224
- package/es/components/classification/index.d.ts +3 -3
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -3
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +3 -3
- package/es/components/classification/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- 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 +4 -2
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -2
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/components/PopupMenu.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/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +4 -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 +79 -42
- package/es/components/form-config/src/FormConfig.vue.d.ts +79 -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 +23 -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/combination/combination.d.ts +12 -0
- package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +12 -0
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -1
- 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/useFieldListAdaptor.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/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/guide/src/renderer.d.ts +2 -2
- package/es/components/iho-table/index.d.ts +216 -216
- package/es/components/iho-table/src/IhoTable.vue.d.ts +216 -216
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +3 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.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/iho-table/src/types/index.d.ts +1 -0
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -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 +18 -8
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -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/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +4 -4
- 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 +8 -2
|
@@ -855,7 +855,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
855
855
|
focus: () => any;
|
|
856
856
|
blur: () => any;
|
|
857
857
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
858
|
-
onUpdateShow: (show: boolean) => void
|
|
858
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
859
859
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
860
860
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
861
861
|
NDatePicker: any;
|
|
@@ -1496,7 +1496,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1496
1496
|
focus: () => any;
|
|
1497
1497
|
blur: () => any;
|
|
1498
1498
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1499
|
-
onUpdateShow: (show: boolean) => void
|
|
1499
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1500
1500
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1501
1501
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1502
1502
|
NDatePicker: any;
|
|
@@ -1943,7 +1943,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1943
1943
|
focus: () => any;
|
|
1944
1944
|
blur: () => any;
|
|
1945
1945
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1946
|
-
onUpdateShow: (show: boolean) => void
|
|
1946
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1947
1947
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1948
1948
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1949
1949
|
NDatePicker: any;
|
|
@@ -327,7 +327,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
327
327
|
focus: () => any;
|
|
328
328
|
blur: () => any;
|
|
329
329
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
330
|
-
onUpdateShow: (show: boolean) => void
|
|
330
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
331
331
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
332
332
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
333
333
|
NDatePicker: any;
|
|
@@ -968,7 +968,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
968
968
|
focus: () => any;
|
|
969
969
|
blur: () => any;
|
|
970
970
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
971
|
-
onUpdateShow: (show: boolean) => void
|
|
971
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
972
972
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
973
973
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
974
974
|
NDatePicker: any;
|
|
@@ -1415,7 +1415,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1415
1415
|
focus: () => any;
|
|
1416
1416
|
blur: () => any;
|
|
1417
1417
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1418
|
-
onUpdateShow: (show: boolean) => void
|
|
1418
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1419
1419
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1420
1420
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1421
1421
|
NDatePicker: any;
|
|
@@ -621,7 +621,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
621
621
|
focus: () => any;
|
|
622
622
|
blur: () => any;
|
|
623
623
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
624
|
-
onUpdateShow: (show: boolean) => void
|
|
624
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
625
625
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
626
626
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
627
627
|
NDatePicker: any;
|
|
@@ -1262,7 +1262,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1262
1262
|
focus: () => any;
|
|
1263
1263
|
blur: () => any;
|
|
1264
1264
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1265
|
-
onUpdateShow: (show: boolean) => void
|
|
1265
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1266
1266
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1267
1267
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1268
1268
|
NDatePicker: any;
|
|
@@ -1709,7 +1709,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1709
1709
|
focus: () => any;
|
|
1710
1710
|
blur: () => any;
|
|
1711
1711
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1712
|
-
onUpdateShow: (show: boolean) => void
|
|
1712
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1713
1713
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1714
1714
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1715
1715
|
NDatePicker: any;
|
|
@@ -860,7 +860,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
860
860
|
focus: () => any;
|
|
861
861
|
blur: () => any;
|
|
862
862
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
863
|
-
onUpdateShow: (show: boolean) => void
|
|
863
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
864
864
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
865
865
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
866
866
|
NDatePicker: any;
|
|
@@ -1501,7 +1501,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1501
1501
|
focus: () => any;
|
|
1502
1502
|
blur: () => any;
|
|
1503
1503
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1504
|
-
onUpdateShow: (show: boolean) => void
|
|
1504
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1505
1505
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1506
1506
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1507
1507
|
NDatePicker: any;
|
|
@@ -1948,7 +1948,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1948
1948
|
focus: () => any;
|
|
1949
1949
|
blur: () => any;
|
|
1950
1950
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1951
|
-
onUpdateShow: (show: boolean) => void
|
|
1951
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1952
1952
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
1953
1953
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
1954
1954
|
NDatePicker: any;
|
|
@@ -49,7 +49,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
49
49
|
focus: () => any;
|
|
50
50
|
blur: () => any;
|
|
51
51
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
52
|
-
onUpdateShow: (show: boolean) => void
|
|
52
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
53
53
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
54
54
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
|
55
55
|
NDatePicker: any;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
focus: () => any;
|
|
52
52
|
blur: () => any;
|
|
53
53
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
54
|
-
onUpdateShow: (show: boolean) => void
|
|
54
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
|
55
55
|
onConfirm: (...args: any[]) => Promise<void>;
|
|
56
56
|
isAllowedInvalidValue: (value: FormattedValue | null | undefined) => boolean | "" | undefined;
|
|
57
57
|
NDatePicker: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as
|
|
1
|
+
import{defineComponent as e,useAttrs as a,ref as t,computed as l,watch as n,openBlock as o,createBlock as u,unref as r,isRef as i,createSlots as d,renderList as s,withCtx as p,renderSlot as m,nextTick as v}from"vue";import{NDatePicker as f}from"naive-ui";import"../../../shared/utils/index.js";import{isString as c,isArray as y}from"lodash-es";import{useDateTime as h}from"../../../shared/hooks/useDateTime.js";import"@vue/shared";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{format as g}from"date-fns";var w=e({__name:"DatePicker",props:{updateUnchangedValue:{type:Boolean},onConfirm:{type:Function},formattedValue:{type:[String,Array]},placeholder:{type:String},allowedInvalidValue:{type:String}},emits:["update:formatted-value"],setup(e,{expose:w,emit:V}){const I=e,R=a(),k=t(null),D=t(null),C=t(),M=l({get:()=>x(I.formattedValue)?null:I.formattedValue,set(e){V("update:formatted-value",e,c(e)?Date.parse(e):y(e)?[Date.parse(e[0]),Date.parse(e[1])]:null)}}),S=l((()=>{const e=Reflect.get(R,"type")||"";return["datetime","datetimerange"].includes(e)})),E=l((()=>{if(Reflect.get(R,"format"))return R.format;const e=R.type||"";return S.value?"yyyy-MM-dd HH:mm:ss":"month"===e?"yyyy-MM":"year"===e?"yyyy":"yyyy-MM-dd"})),P=l((()=>S.value?E.value.split(" "):"")),{focus:U,blur:$,handleConfirm:_}=h(k,{formatRef:E,attrs:R,emit:V,allowedInvalidValue:I.allowedInvalidValue});async function b(e){e&&S.value&&(await v(),async function e(a=0){var t;a>2||(D.value=null==(t=k.value)?void 0:t.panelInstRef,D.value?h(D,{formatRef:P,attrs:R,isPanel:!0}):(await v(),e(++a)))}())}async function j(...e){var a,t,l,n,o,u;const r=Reflect.get(R,"type")||"",i=null==(n=null==(l=null==(t=null==(a=k.value)?void 0:a.inputInstRef)?void 0:t.$el)?void 0:l.querySelector)?void 0:n.call(l,"input");if(r.includes("range")?null==(o=I.onConfirm)||o.call(I,...e):(await v(),i.focus(),_(i),i.blur(),null==(u=I.onConfirm)||u.call(I,Date.parse(i.value),i.value)),!(null==i?void 0:i.value)||!I.updateUnchangedValue||r.includes("range"))return;const d=i.value;i.value=g(new Date,E.value),i.dispatchEvent(new InputEvent("input")),i.value=d,i.dispatchEvent(new InputEvent("input"))}function x(e){return I.allowedInvalidValue&&I.allowedInvalidValue===e}return n((()=>I.formattedValue),(e=>{C.value=x(e)?e:I.placeholder?I.placeholder:"选择日期时间"}),{immediate:!0}),w({$datePicker:k,focus:U,blur:$}),(e,a)=>(o(),u(r(f),{ref_key:"datePickerRef",ref:k,"onUpdate:show":b,onConfirm:j,placeholder:C.value,"formatted-value":r(M),"onUpdate:formatted-value":a[0]||(a[0]=e=>i(M)?M.value=e:null)},d({_:2},[s(e.$slots,((a,t)=>({name:t,fn:p((()=>[m(e.$slots,t)]))})))]),1032,["placeholder","formatted-value"]))}});export{w as default};
|
|
@@ -322,7 +322,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
322
322
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
323
323
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
324
324
|
readonly ignorePathChange: BooleanConstructor;
|
|
325
|
-
readonly validationStatus: import("vue").PropType<"
|
|
325
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
326
326
|
readonly feedback: StringConstructor;
|
|
327
327
|
readonly showLabel: {
|
|
328
328
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -453,7 +453,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
453
453
|
mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
|
|
454
454
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
455
455
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
456
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
456
|
+
mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
|
|
457
457
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
458
458
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
459
459
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
|
@@ -487,7 +487,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
487
487
|
readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
|
|
488
488
|
readonly size: import("vue").PropType<"small" | "medium" | "large">;
|
|
489
489
|
readonly ignorePathChange: BooleanConstructor;
|
|
490
|
-
readonly validationStatus: import("vue").PropType<"
|
|
490
|
+
readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
|
|
491
491
|
readonly feedback: StringConstructor;
|
|
492
492
|
readonly showLabel: {
|
|
493
493
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
@@ -827,7 +827,6 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
827
827
|
type: import("vue").PropType<((string | number) | {
|
|
828
828
|
[key: string]: any;
|
|
829
829
|
key: string | number;
|
|
830
|
-
name: string;
|
|
831
830
|
})[]>;
|
|
832
831
|
default: () => never[];
|
|
833
832
|
};
|
|
@@ -847,6 +846,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
847
846
|
};
|
|
848
847
|
wordbook: {
|
|
849
848
|
type: import("vue").PropType<{
|
|
849
|
+
[key: string]: any;
|
|
850
850
|
parent_id_obj: string | number;
|
|
851
851
|
parent_name_obj: string | number;
|
|
852
852
|
user_count_obj?: string | number | undefined;
|
|
@@ -896,6 +896,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
896
896
|
type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
|
|
897
897
|
default: () => Promise<never[]>;
|
|
898
898
|
};
|
|
899
|
+
showSelectType: {
|
|
900
|
+
type: BooleanConstructor;
|
|
901
|
+
default: boolean;
|
|
902
|
+
};
|
|
903
|
+
roleData: {
|
|
904
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
905
|
+
[k: string]: unknown;
|
|
906
|
+
} & import("../../shared/types").AnyObject)[]>;
|
|
907
|
+
default: () => never[];
|
|
908
|
+
};
|
|
909
|
+
roleFields: {
|
|
910
|
+
type: ObjectConstructor;
|
|
911
|
+
default: () => {
|
|
912
|
+
label: string;
|
|
913
|
+
key: string;
|
|
914
|
+
children: string;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
899
917
|
}, {
|
|
900
918
|
searchFilterBase: {
|
|
901
919
|
isOpen: boolean;
|
|
@@ -903,12 +921,19 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
903
921
|
customTitles: string[];
|
|
904
922
|
itemHeight: number;
|
|
905
923
|
};
|
|
924
|
+
labelList: {
|
|
925
|
+
key: string;
|
|
926
|
+
label: string;
|
|
927
|
+
}[];
|
|
928
|
+
labelListName: {
|
|
929
|
+
dept: string;
|
|
930
|
+
role: string;
|
|
931
|
+
};
|
|
906
932
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
907
933
|
defaultList: {
|
|
908
934
|
type: import("vue").PropType<((string | number) | {
|
|
909
935
|
[key: string]: any;
|
|
910
936
|
key: string | number;
|
|
911
|
-
name: string;
|
|
912
937
|
})[]>;
|
|
913
938
|
default: () => never[];
|
|
914
939
|
};
|
|
@@ -928,6 +953,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
928
953
|
};
|
|
929
954
|
wordbook: {
|
|
930
955
|
type: import("vue").PropType<{
|
|
956
|
+
[key: string]: any;
|
|
931
957
|
parent_id_obj: string | number;
|
|
932
958
|
parent_name_obj: string | number;
|
|
933
959
|
user_count_obj?: string | number | undefined;
|
|
@@ -977,6 +1003,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
977
1003
|
type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
|
|
978
1004
|
default: () => Promise<never[]>;
|
|
979
1005
|
};
|
|
1006
|
+
showSelectType: {
|
|
1007
|
+
type: BooleanConstructor;
|
|
1008
|
+
default: boolean;
|
|
1009
|
+
};
|
|
1010
|
+
roleData: {
|
|
1011
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
1012
|
+
[k: string]: unknown;
|
|
1013
|
+
} & import("../../shared/types").AnyObject)[]>;
|
|
1014
|
+
default: () => never[];
|
|
1015
|
+
};
|
|
1016
|
+
roleFields: {
|
|
1017
|
+
type: ObjectConstructor;
|
|
1018
|
+
default: () => {
|
|
1019
|
+
label: string;
|
|
1020
|
+
key: string;
|
|
1021
|
+
children: string;
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
980
1024
|
}>> & {
|
|
981
1025
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
982
1026
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
|
@@ -1000,19 +1044,18 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1000
1044
|
tagData: import("vue").Ref<{
|
|
1001
1045
|
[x: string]: any;
|
|
1002
1046
|
key: string | number;
|
|
1003
|
-
name: string;
|
|
1004
1047
|
}[]>;
|
|
1005
1048
|
initTagData: import("vue").Ref<{
|
|
1006
1049
|
[x: string]: any;
|
|
1007
1050
|
key: string | number;
|
|
1008
|
-
name: string;
|
|
1009
1051
|
}[]>;
|
|
1010
1052
|
isSearch: import("vue").Ref<boolean>;
|
|
1011
|
-
|
|
1012
|
-
|
|
1053
|
+
tempData: import("naive-ui").TreeOption[];
|
|
1054
|
+
allCheckedTreeKeys: import("vue").Ref<(string | number)[]>;
|
|
1013
1055
|
isRemote: import("vue").ComputedRef<boolean>;
|
|
1014
1056
|
checkStrategyResult: import("vue").ComputedRef<any>;
|
|
1015
1057
|
isSearchFilter: import("vue").ComputedRef<boolean>;
|
|
1058
|
+
curSelectKey: import("vue").Ref<string>;
|
|
1016
1059
|
mergeSearchFilter: import("vue").ComputedRef<{
|
|
1017
1060
|
isOpen: boolean;
|
|
1018
1061
|
multiple: boolean;
|
|
@@ -1020,10 +1063,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1020
1063
|
itemHeight: number;
|
|
1021
1064
|
}>;
|
|
1022
1065
|
wordbookChildExpandkeys: import("vue").ComputedRef<string[]>;
|
|
1023
|
-
caculateTagData: import("vue").ComputedRef<any
|
|
1066
|
+
caculateTagData: import("vue").ComputedRef<any>;
|
|
1067
|
+
treeDataMiddle: any;
|
|
1068
|
+
checkedKeysMiddle: any;
|
|
1069
|
+
checkedTagsMiddle: any;
|
|
1070
|
+
allCheckedKeysMiddle: any;
|
|
1071
|
+
attrType: import("vue").ComputedRef<any>;
|
|
1072
|
+
keyStr: import("vue").ComputedRef<string>;
|
|
1073
|
+
getTreeDataMiddleData: () => void;
|
|
1074
|
+
getDeptData: (list: any[], cb?: any) => any[];
|
|
1075
|
+
getRoleData: (list: any[], cb?: any) => any[];
|
|
1076
|
+
onHandleLabelChange: (item: any) => void;
|
|
1077
|
+
setSelectTagData: (tree: import("naive-ui").TreeOption[], operatorType: string) => void;
|
|
1078
|
+
uniqArrObj: (arr: any[], name: string) => any;
|
|
1024
1079
|
init: () => void;
|
|
1025
|
-
|
|
1026
|
-
|
|
1080
|
+
getMainData: (tree: import("naive-ui").TreeOption[], parentNode: import("naive-ui").TreeOption | null, cb?: any) => void;
|
|
1081
|
+
setAllCheckedKeys: (tree: import("naive-ui").TreeOption, cb?: any) => void;
|
|
1082
|
+
setAllCheckedKeysWithChild: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
|
1083
|
+
setAllCheckedKeysWithParent: (item: import("naive-ui").TreeOption, cb?: any) => void;
|
|
1027
1084
|
queryLoadChildNode: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
|
|
1028
1085
|
setDisabled: (data: import("naive-ui").TreeOption) => void;
|
|
1029
1086
|
renderLabel: ({ option }: {
|
|
@@ -1032,10 +1089,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1032
1089
|
getLabelName: (option: import("naive-ui").TreeOption) => unknown;
|
|
1033
1090
|
transformData: (trees: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
|
|
1034
1091
|
calculateRootItems: (trees: import("naive-ui").TreeOption[], items: import("naive-ui").TreeOption[]) => import("naive-ui").TreeOption[];
|
|
1035
|
-
transformParentNodeName: (trees: import("naive-ui").TreeOption[],
|
|
1036
|
-
setAllCheckedKeys: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1037
|
-
setAllCheckedKeysWithChild: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1038
|
-
setAllCheckedKeysWithParent: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1092
|
+
transformParentNodeName: (trees: import("naive-ui").TreeOption[], tempContent: any) => import("naive-ui").TreeOption[];
|
|
1039
1093
|
searchSetting: () => string;
|
|
1040
1094
|
onSearch: () => Promise<void>;
|
|
1041
1095
|
setTreeCheckd: (tree: import("naive-ui").TreeOption[], checked: boolean) => void;
|
|
@@ -1045,11 +1099,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1045
1099
|
uniq: (arr: {
|
|
1046
1100
|
[key: string]: any;
|
|
1047
1101
|
key: string | number;
|
|
1048
|
-
name: string;
|
|
1049
1102
|
}[]) => {
|
|
1050
1103
|
[key: string]: any;
|
|
1051
1104
|
key: string | number;
|
|
1052
|
-
name: string;
|
|
1053
1105
|
}[];
|
|
1054
1106
|
setTagData: (tree: import("naive-ui").TreeOption[]) => void;
|
|
1055
1107
|
updateTreeChecked: (keys: (string | number)[]) => void;
|
|
@@ -1058,15 +1110,10 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1058
1110
|
closeTag: (tag: {
|
|
1059
1111
|
[key: string]: any;
|
|
1060
1112
|
key: string | number;
|
|
1061
|
-
name: string;
|
|
1062
1113
|
}) => void;
|
|
1063
1114
|
notifyCheck: (keys: (string | number)[]) => void;
|
|
1064
1115
|
notifySearchClear: () => void;
|
|
1065
|
-
getCheckWithLevel: () =>
|
|
1066
|
-
[x: string]: any;
|
|
1067
|
-
key: string | number;
|
|
1068
|
-
name: string;
|
|
1069
|
-
}[];
|
|
1116
|
+
getCheckWithLevel: () => any;
|
|
1070
1117
|
NButton: any;
|
|
1071
1118
|
NInput: any;
|
|
1072
1119
|
NInputGroup: import("vue").DefineComponent<{
|
|
@@ -1082,6 +1129,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1082
1129
|
}>>, {}>;
|
|
1083
1130
|
NCheckbox: any;
|
|
1084
1131
|
NTree: any;
|
|
1132
|
+
NTag: any;
|
|
1085
1133
|
NIcon: any;
|
|
1086
1134
|
NSpace: any;
|
|
1087
1135
|
NGrid: any;
|
|
@@ -1135,6 +1183,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1135
1183
|
readonly suffix: boolean;
|
|
1136
1184
|
readonly privateShow: boolean;
|
|
1137
1185
|
}>;
|
|
1186
|
+
NEmpty: any;
|
|
1138
1187
|
CloseCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1139
1188
|
SearchMultiple: import("vue").DefineComponent<{
|
|
1140
1189
|
treeData: {
|
|
@@ -1404,7 +1453,6 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1404
1453
|
type: import("vue").PropType<((string | number) | {
|
|
1405
1454
|
[key: string]: any;
|
|
1406
1455
|
key: string | number;
|
|
1407
|
-
name: string;
|
|
1408
1456
|
})[]>;
|
|
1409
1457
|
default: () => never[];
|
|
1410
1458
|
};
|
|
@@ -1424,6 +1472,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1424
1472
|
};
|
|
1425
1473
|
wordbook: {
|
|
1426
1474
|
type: import("vue").PropType<{
|
|
1475
|
+
[key: string]: any;
|
|
1427
1476
|
parent_id_obj: string | number;
|
|
1428
1477
|
parent_name_obj: string | number;
|
|
1429
1478
|
user_count_obj?: string | number | undefined;
|
|
@@ -1473,6 +1522,24 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1473
1522
|
type: import("vue").PropType<(keyWork: string) => Promise<import("../../shared/types").AnyObject[]>>;
|
|
1474
1523
|
default: () => Promise<never[]>;
|
|
1475
1524
|
};
|
|
1525
|
+
showSelectType: {
|
|
1526
|
+
type: BooleanConstructor;
|
|
1527
|
+
default: boolean;
|
|
1528
|
+
};
|
|
1529
|
+
roleData: {
|
|
1530
|
+
type: import("vue").PropType<(import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
1531
|
+
[k: string]: unknown;
|
|
1532
|
+
} & import("../../shared/types").AnyObject)[]>;
|
|
1533
|
+
default: () => never[];
|
|
1534
|
+
};
|
|
1535
|
+
roleFields: {
|
|
1536
|
+
type: ObjectConstructor;
|
|
1537
|
+
default: () => {
|
|
1538
|
+
label: string;
|
|
1539
|
+
key: string;
|
|
1540
|
+
children: string;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1476
1543
|
}>> & {
|
|
1477
1544
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
1478
1545
|
onCheckWithLevel?: ((...args: any[]) => any) | undefined;
|
|
@@ -1483,11 +1550,11 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1483
1550
|
defaultList: ((string | number) | {
|
|
1484
1551
|
[key: string]: any;
|
|
1485
1552
|
key: string | number;
|
|
1486
|
-
name: string;
|
|
1487
1553
|
})[];
|
|
1488
1554
|
searchPlaceholder: string;
|
|
1489
1555
|
searchButtonText: string;
|
|
1490
1556
|
wordbook: {
|
|
1557
|
+
[key: string]: any;
|
|
1491
1558
|
parent_id_obj: string | number;
|
|
1492
1559
|
parent_name_obj: string | number;
|
|
1493
1560
|
user_count_obj?: string | number | undefined;
|
|
@@ -1508,6 +1575,11 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1508
1575
|
} & import("../../shared/types").AnyObject;
|
|
1509
1576
|
queryLoadChildData: (node: import("naive-ui").TreeOption) => Promise<import("../../shared/types").AnyObject>;
|
|
1510
1577
|
queryTreeSearch: (keyWork: string) => Promise<import("../../shared/types").AnyObject[]>;
|
|
1578
|
+
showSelectType: boolean;
|
|
1579
|
+
roleData: (import("naive-ui/es/tree/src/interface").TreeOptionBase & {
|
|
1580
|
+
[k: string]: unknown;
|
|
1581
|
+
} & import("../../shared/types").AnyObject)[];
|
|
1582
|
+
roleFields: Record<string, any>;
|
|
1511
1583
|
}>>;
|
|
1512
1584
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("check" | "changeModalVisible")[], "check" | "changeModalVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1513
1585
|
visible: {
|