cnhis-design-vue 3.4.0-beta.9 → 3.4.0-release.7
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/_virtual/_virtual_i18n-methods.js +5 -1
- package/es/components/audio-sdk/index.d.ts +4 -4
- package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
- package/es/components/base-search/index.d.ts +34 -0
- package/es/components/base-search/src/index.vue.d.ts +34 -0
- package/es/components/base-search/src/index.vue2.js +9 -1
- package/es/components/button-print/index.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +77 -50
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
- package/es/components/button-print/src/utils/print.d.ts +2 -1
- package/es/components/button-print/src/utils/print.js +13 -8
- package/es/components/callback/src/components/render/popupMaps.d.ts +110 -222
- package/es/components/classification/index.d.ts +123 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +123 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +123 -0
- package/es/components/classification/src/index.vue.d.ts +123 -0
- package/es/components/classification/src/index.vue2.js +7 -0
- package/es/components/date-picker/index.d.ts +41 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +41 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +34 -4
- package/es/components/expand-field/index.d.ts +31 -0
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
- package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
- package/es/components/expand-field/src/index.vue.d.ts +31 -0
- package/es/components/fabric-chart/index.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
- package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
- package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
- package/es/components/fabric-chart/src/constants/index.js +26 -11
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +18 -12
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +61 -33
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -120
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +21 -14
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +16 -14
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
- package/es/components/fabric-chart/src/interface.d.ts +15 -1
- package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
- package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -10
- package/es/components/fabric-chart/style/index.css +1 -1
- package/es/components/field-editor/index.d.ts +1 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +83 -1
- package/es/components/field-set/src/FieldColor.vue2.js +2 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +2 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldSet.vue2.js +4 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +41 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +82 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +41 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +1 -0
- package/es/components/form-config/index.d.ts +24 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
- package/es/components/form-config/src/constants/index.d.ts +2 -0
- package/es/components/form-config/src/constants/index.js +2 -0
- package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
- package/es/components/form-render/index.d.ts +1 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
- package/es/components/form-render/src/components/renderer/textarea.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/index.js +5 -2
- package/es/components/iho-chat/index.d.ts +2785 -302
- package/es/components/iho-chat/src/Index.vue.d.ts +2785 -302
- package/es/components/iho-chat/src/Index.vue2.js +5 -3
- package/es/components/iho-chat/src/api/index.d.ts +89 -16
- package/es/components/iho-chat/src/api/index.js +8 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +3 -0
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +796 -101
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +217 -14
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +158 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
- package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -0
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +2 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +134 -11
- package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
- package/es/components/iho-chat/src/components/userItemRender.js +2 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
- package/es/components/iho-chat/src/hooks/useData.js +31 -10
- package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
- package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
- package/es/components/iho-chat/src/types/index.d.ts +39 -7
- package/es/components/iho-chat/src/utils/index.d.ts +2 -1
- package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
- package/es/components/iho-chat/src/utils/sseClient.js +97 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +109 -222
- package/es/components/iho-table/src/IhoTable.vue.d.ts +109 -222
- package/es/components/iho-table/src/IhoTable.vue2.js +23 -14
- package/es/components/iho-table/src/constants/index.d.ts +3 -3
- package/es/components/iho-table/src/constants/index.js +0 -21
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +39 -60
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +43 -4
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +41 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +25 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.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 +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.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/editSeparate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
- package/es/components/iho-table/src/types/index.d.ts +3 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +46 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
- package/es/components/scale-view/src/hooks/use-event.js +56 -22
- package/es/components/select-person/index.d.ts +31 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +38 -9
- package/es/components/select-person/src/index.vue.d.ts +31 -0
- package/es/components/select-person/src/index.vue2.js +4 -0
- package/es/components/select-person/src/utils/index.js +11 -9
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +3 -0
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +9 -3
- package/es/components/shortcut-setter/index.d.ts +2 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -0
- package/es/components/table-export-field/index.d.ts +6 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +2 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +49 -18
- package/es/components/table-export-field/src/index.vue.d.ts +6 -0
- package/es/components/table-export-field/src/types/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +41 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +82 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +82 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +82 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +43 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +41 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +43 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +168 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +168 -0
- package/es/components/table-filter/src/constants/index.d.ts +1 -0
- package/es/components/table-filter/src/constants/index.js +4 -1
- package/es/shared/components/CancelRadio/CancelRadio.js +3 -1
- package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
- package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
- package/es/shared/components/Ellipsis/index.d.ts +2 -0
- package/es/shared/components/Ellipsis/index.js +2 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +3 -2
- package/es/shared/utils/business.js +16 -0
- package/es/shared/utils/ho-edge.d.ts +12 -0
- package/es/shared/utils/ho-edge.js +58 -0
- package/package.json +3 -3
|
@@ -29,9 +29,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
29
|
type: StringConstructor;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
|
+
updateValueOnClose: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
32
36
|
isDateDisabled: {
|
|
33
37
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
34
38
|
};
|
|
39
|
+
propKey: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
shortcutListenerConfig: {
|
|
43
|
+
type: PropType<{
|
|
44
|
+
enable: boolean;
|
|
45
|
+
callback: (value: string, propKey?: string) => void;
|
|
46
|
+
}>;
|
|
47
|
+
};
|
|
35
48
|
}>, {
|
|
36
49
|
attrs: {
|
|
37
50
|
[x: string]: unknown;
|
|
@@ -64,9 +77,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
64
77
|
type: StringConstructor;
|
|
65
78
|
default: string;
|
|
66
79
|
};
|
|
80
|
+
updateValueOnClose: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
67
84
|
isDateDisabled: {
|
|
68
85
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
69
86
|
};
|
|
87
|
+
propKey: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
};
|
|
90
|
+
shortcutListenerConfig: {
|
|
91
|
+
type: PropType<{
|
|
92
|
+
enable: boolean;
|
|
93
|
+
callback: (value: string, propKey?: string) => void;
|
|
94
|
+
}>;
|
|
95
|
+
};
|
|
70
96
|
}>> & Readonly<{
|
|
71
97
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
72
98
|
}> & {}>;
|
|
@@ -83,6 +109,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
109
|
focus: () => any;
|
|
84
110
|
blur: () => any;
|
|
85
111
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
112
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
86
113
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
87
114
|
watchers: AnyFn[];
|
|
88
115
|
stopWatcher: () => void;
|
|
@@ -119,9 +146,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
146
|
type: StringConstructor;
|
|
120
147
|
default: string;
|
|
121
148
|
};
|
|
149
|
+
updateValueOnClose: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
122
153
|
isDateDisabled: {
|
|
123
154
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
|
124
155
|
};
|
|
156
|
+
propKey: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
};
|
|
159
|
+
shortcutListenerConfig: {
|
|
160
|
+
type: PropType<{
|
|
161
|
+
enable: boolean;
|
|
162
|
+
callback: (value: string, propKey?: string) => void;
|
|
163
|
+
}>;
|
|
164
|
+
};
|
|
125
165
|
}>> & Readonly<{
|
|
126
166
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
127
167
|
}>, {
|
|
@@ -129,5 +169,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
169
|
updateUnchangedValue: boolean;
|
|
130
170
|
to: string | false | HTMLElement;
|
|
131
171
|
holidays: Date[];
|
|
172
|
+
updateValueOnClose: boolean;
|
|
132
173
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
133
174
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i18n } from '../../../_virtual/_virtual_i18n-methods.js';
|
|
2
|
-
import { defineComponent, useAttrs, ref, computed, onBeforeUnmount, watch, openBlock, createBlock, unref, createSlots, renderList, withCtx, renderSlot, nextTick } from 'vue';
|
|
2
|
+
import { defineComponent, useAttrs, ref, computed, onMounted, onBeforeUnmount, watch, openBlock, createBlock, unref, createSlots, renderList, withCtx, renderSlot, nextTick } from 'vue';
|
|
3
3
|
import { promiseTimeout } from '@vueuse/shared';
|
|
4
4
|
import { NDatePicker } from 'naive-ui';
|
|
5
5
|
import '../../../shared/utils/index.js';
|
|
@@ -10,6 +10,7 @@ import '../../../shared/hooks/selectHooks/useSearchContent.js';
|
|
|
10
10
|
import '@vicons/ionicons5';
|
|
11
11
|
import '../../../shared/hooks/useScrollLoading.js';
|
|
12
12
|
import { subYears, addYears, isWithinInterval, format, sub, startOfDay, endOfDay } from 'date-fns';
|
|
13
|
+
import { useEventListener } from '@vueuse/core';
|
|
13
14
|
|
|
14
15
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
16
|
__name: "DatePicker",
|
|
@@ -41,8 +42,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
42
|
type: String,
|
|
42
43
|
default: "date"
|
|
43
44
|
},
|
|
45
|
+
updateValueOnClose: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: false
|
|
48
|
+
},
|
|
44
49
|
isDateDisabled: {
|
|
45
50
|
type: Function
|
|
51
|
+
},
|
|
52
|
+
propKey: {
|
|
53
|
+
type: String
|
|
54
|
+
},
|
|
55
|
+
shortcutListenerConfig: {
|
|
56
|
+
type: Object
|
|
46
57
|
}
|
|
47
58
|
},
|
|
48
59
|
emits: ["update:formatted-value"],
|
|
@@ -113,6 +124,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
124
|
emit,
|
|
114
125
|
allowedInvalidValue: props.allowedInvalidValue
|
|
115
126
|
});
|
|
127
|
+
function handleShortcutClick(event) {
|
|
128
|
+
var _a, _b, _c, _d, _e, _f;
|
|
129
|
+
const target = event.target;
|
|
130
|
+
if (!target)
|
|
131
|
+
return;
|
|
132
|
+
const actionsPanelEl = (_d = (_c = (_b = (_a = datePickerRef.value) == null ? void 0 : _a.panelInstRef) == null ? void 0 : _b.$el) == null ? void 0 : _c.querySelector) == null ? void 0 : _d.call(_c, ".n-date-panel-actions");
|
|
133
|
+
if (!actionsPanelEl)
|
|
134
|
+
return;
|
|
135
|
+
if (((_e = target.parentElement) == null ? void 0 : _e.className.includes("n-button--default-type")) && actionsPanelEl.contains(target)) {
|
|
136
|
+
(_f = props.shortcutListenerConfig) == null ? void 0 : _f.callback(target.innerText, props.propKey);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
onMounted(() => {
|
|
140
|
+
var _a;
|
|
141
|
+
if (!((_a = props.shortcutListenerConfig) == null ? void 0 : _a.enable))
|
|
142
|
+
return;
|
|
143
|
+
useEventListener(document, "click", handleShortcutClick, true);
|
|
144
|
+
});
|
|
116
145
|
async function onUpdateShow(show) {
|
|
117
146
|
setHoliday(show);
|
|
118
147
|
if (!show || !isDateTime.value)
|
|
@@ -200,9 +229,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
200
229
|
(_e = props.onConfirm) == null ? void 0 : _e.call(props, ...args);
|
|
201
230
|
} else {
|
|
202
231
|
await nextTick();
|
|
203
|
-
target.focus();
|
|
232
|
+
!props.updateValueOnClose && target.focus();
|
|
204
233
|
handleConfirm(target);
|
|
205
|
-
target.blur();
|
|
234
|
+
!props.updateValueOnClose && target.blur();
|
|
206
235
|
(_f = props.onConfirm) == null ? void 0 : _f.call(props, Date.parse(target.value), target.value);
|
|
207
236
|
}
|
|
208
237
|
if (!(target == null ? void 0 : target.value) || !props.updateUnchangedValue || props.type.includes("range"))
|
|
@@ -259,6 +288,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
259
288
|
placeholder: placeholderRef.value,
|
|
260
289
|
to: __props.to,
|
|
261
290
|
type: __props.type,
|
|
291
|
+
"update-value-on-close": __props.updateValueOnClose,
|
|
262
292
|
"formatted-value": currentFormattedValue.value,
|
|
263
293
|
"onUpdate:formattedValue": _cache[0] || (_cache[0] = ($event) => currentFormattedValue.value = $event),
|
|
264
294
|
"is-date-disabled": _isDateDisabled.value
|
|
@@ -269,7 +299,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
269
299
|
name: k,
|
|
270
300
|
fn: withCtx(() => [renderSlot(_ctx.$slots, k)])
|
|
271
301
|
};
|
|
272
|
-
})]), 1032, ["placeholder", "to", "type", "formatted-value", "is-date-disabled"]);
|
|
302
|
+
})]), 1032, ["placeholder", "to", "type", "update-value-on-close", "formatted-value", "is-date-disabled"]);
|
|
273
303
|
};
|
|
274
304
|
}
|
|
275
305
|
});
|
|
@@ -643,6 +643,10 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
643
643
|
type: BooleanConstructor;
|
|
644
644
|
default: boolean;
|
|
645
645
|
};
|
|
646
|
+
onlyCheckChildNode: {
|
|
647
|
+
type: BooleanConstructor;
|
|
648
|
+
default: boolean;
|
|
649
|
+
};
|
|
646
650
|
itemKey: {
|
|
647
651
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number>;
|
|
648
652
|
default: undefined;
|
|
@@ -770,6 +774,10 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
770
774
|
type: BooleanConstructor;
|
|
771
775
|
default: boolean;
|
|
772
776
|
};
|
|
777
|
+
onlyCheckChildNode: {
|
|
778
|
+
type: BooleanConstructor;
|
|
779
|
+
default: boolean;
|
|
780
|
+
};
|
|
773
781
|
itemKey: {
|
|
774
782
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number>;
|
|
775
783
|
default: undefined;
|
|
@@ -1914,6 +1922,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
1914
1922
|
type: BooleanConstructor;
|
|
1915
1923
|
default: boolean;
|
|
1916
1924
|
};
|
|
1925
|
+
onlyCheckChildNode: {
|
|
1926
|
+
type: BooleanConstructor;
|
|
1927
|
+
};
|
|
1917
1928
|
itemKey: {
|
|
1918
1929
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number>;
|
|
1919
1930
|
default: undefined;
|
|
@@ -2000,6 +2011,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
2000
2011
|
type: BooleanConstructor;
|
|
2001
2012
|
default: boolean;
|
|
2002
2013
|
};
|
|
2014
|
+
onlyCheckChildNode: {
|
|
2015
|
+
type: BooleanConstructor;
|
|
2016
|
+
};
|
|
2003
2017
|
itemKey: {
|
|
2004
2018
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number>;
|
|
2005
2019
|
default: undefined;
|
|
@@ -2156,6 +2170,10 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
2156
2170
|
node: import("naive-ui").TreeOption | null;
|
|
2157
2171
|
action: "check" | "uncheck";
|
|
2158
2172
|
}) => void;
|
|
2173
|
+
updateTreeSelected: (keys: (string | number)[], _: any, meta: {
|
|
2174
|
+
node: import("naive-ui").TreeOption | null;
|
|
2175
|
+
action: "check" | "uncheck";
|
|
2176
|
+
}) => void;
|
|
2159
2177
|
clearAll: () => void;
|
|
2160
2178
|
updateChecked: (key: string | number, checked: boolean) => void;
|
|
2161
2179
|
notifyCheck: (key: string | number, isChecked?: boolean) => void;
|
|
@@ -2567,6 +2585,9 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
2567
2585
|
type: BooleanConstructor;
|
|
2568
2586
|
default: boolean;
|
|
2569
2587
|
};
|
|
2588
|
+
onlyCheckChildNode: {
|
|
2589
|
+
type: BooleanConstructor;
|
|
2590
|
+
};
|
|
2570
2591
|
itemKey: {
|
|
2571
2592
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number>;
|
|
2572
2593
|
default: undefined;
|
|
@@ -2596,6 +2617,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
2596
2617
|
forceShowSelectAll: boolean;
|
|
2597
2618
|
onlyForwardCascade: boolean;
|
|
2598
2619
|
hideLeaf: boolean;
|
|
2620
|
+
onlyCheckChildNode: boolean;
|
|
2599
2621
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number;
|
|
2600
2622
|
showTagHover: boolean;
|
|
2601
2623
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -2714,6 +2736,10 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
2714
2736
|
type: BooleanConstructor;
|
|
2715
2737
|
default: boolean;
|
|
2716
2738
|
};
|
|
2739
|
+
onlyCheckChildNode: {
|
|
2740
|
+
type: BooleanConstructor;
|
|
2741
|
+
default: boolean;
|
|
2742
|
+
};
|
|
2717
2743
|
itemKey: {
|
|
2718
2744
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number>;
|
|
2719
2745
|
default: undefined;
|
|
@@ -2845,6 +2871,10 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
2845
2871
|
type: BooleanConstructor;
|
|
2846
2872
|
default: boolean;
|
|
2847
2873
|
};
|
|
2874
|
+
onlyCheckChildNode: {
|
|
2875
|
+
type: BooleanConstructor;
|
|
2876
|
+
default: boolean;
|
|
2877
|
+
};
|
|
2848
2878
|
itemKey: {
|
|
2849
2879
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number>;
|
|
2850
2880
|
default: undefined;
|
|
@@ -2894,6 +2924,7 @@ declare const ExpandField: SFCWithInstall<import("vue").DefineComponent<import("
|
|
|
2894
2924
|
forceShowSelectAll: boolean;
|
|
2895
2925
|
onlyForwardCascade: boolean;
|
|
2896
2926
|
hideLeaf: boolean;
|
|
2927
|
+
onlyCheckChildNode: boolean;
|
|
2897
2928
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../shared/types").AnyObject) => string | number;
|
|
2898
2929
|
showTagHover: boolean;
|
|
2899
2930
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -221,6 +221,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
221
221
|
type: BooleanConstructor;
|
|
222
222
|
default: boolean;
|
|
223
223
|
};
|
|
224
|
+
onlyCheckChildNode: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
224
228
|
itemKey: {
|
|
225
229
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number>;
|
|
226
230
|
default: undefined;
|
|
@@ -348,6 +352,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
348
352
|
type: BooleanConstructor;
|
|
349
353
|
default: boolean;
|
|
350
354
|
};
|
|
355
|
+
onlyCheckChildNode: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
351
359
|
itemKey: {
|
|
352
360
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number>;
|
|
353
361
|
default: undefined;
|
|
@@ -1492,6 +1500,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1492
1500
|
type: BooleanConstructor;
|
|
1493
1501
|
default: boolean;
|
|
1494
1502
|
};
|
|
1503
|
+
onlyCheckChildNode: {
|
|
1504
|
+
type: BooleanConstructor;
|
|
1505
|
+
};
|
|
1495
1506
|
itemKey: {
|
|
1496
1507
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number>;
|
|
1497
1508
|
default: undefined;
|
|
@@ -1578,6 +1589,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1578
1589
|
type: BooleanConstructor;
|
|
1579
1590
|
default: boolean;
|
|
1580
1591
|
};
|
|
1592
|
+
onlyCheckChildNode: {
|
|
1593
|
+
type: BooleanConstructor;
|
|
1594
|
+
};
|
|
1581
1595
|
itemKey: {
|
|
1582
1596
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number>;
|
|
1583
1597
|
default: undefined;
|
|
@@ -1734,6 +1748,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1734
1748
|
node: import("naive-ui").TreeOption | null;
|
|
1735
1749
|
action: "check" | "uncheck";
|
|
1736
1750
|
}) => void;
|
|
1751
|
+
updateTreeSelected: (keys: (string | number)[], _: any, meta: {
|
|
1752
|
+
node: import("naive-ui").TreeOption | null;
|
|
1753
|
+
action: "check" | "uncheck";
|
|
1754
|
+
}) => void;
|
|
1737
1755
|
clearAll: () => void;
|
|
1738
1756
|
updateChecked: (key: string | number, checked: boolean) => void;
|
|
1739
1757
|
notifyCheck: (key: string | number, isChecked?: boolean) => void;
|
|
@@ -2145,6 +2163,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2145
2163
|
type: BooleanConstructor;
|
|
2146
2164
|
default: boolean;
|
|
2147
2165
|
};
|
|
2166
|
+
onlyCheckChildNode: {
|
|
2167
|
+
type: BooleanConstructor;
|
|
2168
|
+
};
|
|
2148
2169
|
itemKey: {
|
|
2149
2170
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number>;
|
|
2150
2171
|
default: undefined;
|
|
@@ -2174,6 +2195,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2174
2195
|
forceShowSelectAll: boolean;
|
|
2175
2196
|
onlyForwardCascade: boolean;
|
|
2176
2197
|
hideLeaf: boolean;
|
|
2198
|
+
onlyCheckChildNode: boolean;
|
|
2177
2199
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number;
|
|
2178
2200
|
showTagHover: boolean;
|
|
2179
2201
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -2292,6 +2314,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2292
2314
|
type: BooleanConstructor;
|
|
2293
2315
|
default: boolean;
|
|
2294
2316
|
};
|
|
2317
|
+
onlyCheckChildNode: {
|
|
2318
|
+
type: BooleanConstructor;
|
|
2319
|
+
default: boolean;
|
|
2320
|
+
};
|
|
2295
2321
|
itemKey: {
|
|
2296
2322
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number>;
|
|
2297
2323
|
default: undefined;
|
|
@@ -2423,6 +2449,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2423
2449
|
type: BooleanConstructor;
|
|
2424
2450
|
default: boolean;
|
|
2425
2451
|
};
|
|
2452
|
+
onlyCheckChildNode: {
|
|
2453
|
+
type: BooleanConstructor;
|
|
2454
|
+
default: boolean;
|
|
2455
|
+
};
|
|
2426
2456
|
itemKey: {
|
|
2427
2457
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number>;
|
|
2428
2458
|
default: undefined;
|
|
@@ -2472,6 +2502,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2472
2502
|
forceShowSelectAll: boolean;
|
|
2473
2503
|
onlyForwardCascade: boolean;
|
|
2474
2504
|
hideLeaf: boolean;
|
|
2505
|
+
onlyCheckChildNode: boolean;
|
|
2475
2506
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & import("../../../../shared/types").AnyObject) => string | number;
|
|
2476
2507
|
showTagHover: boolean;
|
|
2477
2508
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -180,6 +180,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
180
180
|
type: BooleanConstructor;
|
|
181
181
|
default: boolean;
|
|
182
182
|
};
|
|
183
|
+
onlyCheckChildNode: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
183
187
|
itemKey: {
|
|
184
188
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
185
189
|
default: undefined;
|
|
@@ -307,6 +311,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
307
311
|
type: BooleanConstructor;
|
|
308
312
|
default: boolean;
|
|
309
313
|
};
|
|
314
|
+
onlyCheckChildNode: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default: boolean;
|
|
317
|
+
};
|
|
310
318
|
itemKey: {
|
|
311
319
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
312
320
|
default: undefined;
|
|
@@ -1451,6 +1459,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1451
1459
|
type: BooleanConstructor;
|
|
1452
1460
|
default: boolean;
|
|
1453
1461
|
};
|
|
1462
|
+
onlyCheckChildNode: {
|
|
1463
|
+
type: BooleanConstructor;
|
|
1464
|
+
};
|
|
1454
1465
|
itemKey: {
|
|
1455
1466
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
1456
1467
|
default: undefined;
|
|
@@ -1537,6 +1548,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1537
1548
|
type: BooleanConstructor;
|
|
1538
1549
|
default: boolean;
|
|
1539
1550
|
};
|
|
1551
|
+
onlyCheckChildNode: {
|
|
1552
|
+
type: BooleanConstructor;
|
|
1553
|
+
};
|
|
1540
1554
|
itemKey: {
|
|
1541
1555
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
1542
1556
|
default: undefined;
|
|
@@ -1693,6 +1707,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1693
1707
|
node: import("naive-ui").TreeOption | null;
|
|
1694
1708
|
action: "check" | "uncheck";
|
|
1695
1709
|
}) => void;
|
|
1710
|
+
updateTreeSelected: (keys: (string | number)[], _: any, meta: {
|
|
1711
|
+
node: import("naive-ui").TreeOption | null;
|
|
1712
|
+
action: "check" | "uncheck";
|
|
1713
|
+
}) => void;
|
|
1696
1714
|
clearAll: () => void;
|
|
1697
1715
|
updateChecked: (key: string | number, checked: boolean) => void;
|
|
1698
1716
|
notifyCheck: (key: string | number, isChecked?: boolean) => void;
|
|
@@ -2104,6 +2122,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2104
2122
|
type: BooleanConstructor;
|
|
2105
2123
|
default: boolean;
|
|
2106
2124
|
};
|
|
2125
|
+
onlyCheckChildNode: {
|
|
2126
|
+
type: BooleanConstructor;
|
|
2127
|
+
};
|
|
2107
2128
|
itemKey: {
|
|
2108
2129
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2109
2130
|
default: undefined;
|
|
@@ -2133,6 +2154,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2133
2154
|
forceShowSelectAll: boolean;
|
|
2134
2155
|
onlyForwardCascade: boolean;
|
|
2135
2156
|
hideLeaf: boolean;
|
|
2157
|
+
onlyCheckChildNode: boolean;
|
|
2136
2158
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number;
|
|
2137
2159
|
showTagHover: boolean;
|
|
2138
2160
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -2251,6 +2273,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2251
2273
|
type: BooleanConstructor;
|
|
2252
2274
|
default: boolean;
|
|
2253
2275
|
};
|
|
2276
|
+
onlyCheckChildNode: {
|
|
2277
|
+
type: BooleanConstructor;
|
|
2278
|
+
default: boolean;
|
|
2279
|
+
};
|
|
2254
2280
|
itemKey: {
|
|
2255
2281
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2256
2282
|
default: undefined;
|
|
@@ -2382,6 +2408,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2382
2408
|
type: BooleanConstructor;
|
|
2383
2409
|
default: boolean;
|
|
2384
2410
|
};
|
|
2411
|
+
onlyCheckChildNode: {
|
|
2412
|
+
type: BooleanConstructor;
|
|
2413
|
+
default: boolean;
|
|
2414
|
+
};
|
|
2385
2415
|
itemKey: {
|
|
2386
2416
|
type: PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2387
2417
|
default: undefined;
|
|
@@ -2431,6 +2461,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2431
2461
|
forceShowSelectAll: boolean;
|
|
2432
2462
|
onlyForwardCascade: boolean;
|
|
2433
2463
|
hideLeaf: boolean;
|
|
2464
|
+
onlyCheckChildNode: boolean;
|
|
2434
2465
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number;
|
|
2435
2466
|
showTagHover: boolean;
|
|
2436
2467
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -585,6 +585,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
585
585
|
type: BooleanConstructor;
|
|
586
586
|
default: boolean;
|
|
587
587
|
};
|
|
588
|
+
onlyCheckChildNode: {
|
|
589
|
+
type: BooleanConstructor;
|
|
590
|
+
default: boolean;
|
|
591
|
+
};
|
|
588
592
|
itemKey: {
|
|
589
593
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
590
594
|
default: undefined;
|
|
@@ -712,6 +716,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
712
716
|
type: BooleanConstructor;
|
|
713
717
|
default: boolean;
|
|
714
718
|
};
|
|
719
|
+
onlyCheckChildNode: {
|
|
720
|
+
type: BooleanConstructor;
|
|
721
|
+
default: boolean;
|
|
722
|
+
};
|
|
715
723
|
itemKey: {
|
|
716
724
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
717
725
|
default: undefined;
|
|
@@ -1856,6 +1864,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1856
1864
|
type: BooleanConstructor;
|
|
1857
1865
|
default: boolean;
|
|
1858
1866
|
};
|
|
1867
|
+
onlyCheckChildNode: {
|
|
1868
|
+
type: BooleanConstructor;
|
|
1869
|
+
};
|
|
1859
1870
|
itemKey: {
|
|
1860
1871
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
1861
1872
|
default: undefined;
|
|
@@ -1942,6 +1953,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1942
1953
|
type: BooleanConstructor;
|
|
1943
1954
|
default: boolean;
|
|
1944
1955
|
};
|
|
1956
|
+
onlyCheckChildNode: {
|
|
1957
|
+
type: BooleanConstructor;
|
|
1958
|
+
};
|
|
1945
1959
|
itemKey: {
|
|
1946
1960
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
1947
1961
|
default: undefined;
|
|
@@ -2098,6 +2112,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2098
2112
|
node: import("naive-ui").TreeOption | null;
|
|
2099
2113
|
action: "check" | "uncheck";
|
|
2100
2114
|
}) => void;
|
|
2115
|
+
updateTreeSelected: (keys: (string | number)[], _: any, meta: {
|
|
2116
|
+
node: import("naive-ui").TreeOption | null;
|
|
2117
|
+
action: "check" | "uncheck";
|
|
2118
|
+
}) => void;
|
|
2101
2119
|
clearAll: () => void;
|
|
2102
2120
|
updateChecked: (key: string | number, checked: boolean) => void;
|
|
2103
2121
|
notifyCheck: (key: string | number, isChecked?: boolean) => void;
|
|
@@ -2509,6 +2527,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2509
2527
|
type: BooleanConstructor;
|
|
2510
2528
|
default: boolean;
|
|
2511
2529
|
};
|
|
2530
|
+
onlyCheckChildNode: {
|
|
2531
|
+
type: BooleanConstructor;
|
|
2532
|
+
};
|
|
2512
2533
|
itemKey: {
|
|
2513
2534
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2514
2535
|
default: undefined;
|
|
@@ -2538,6 +2559,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2538
2559
|
forceShowSelectAll: boolean;
|
|
2539
2560
|
onlyForwardCascade: boolean;
|
|
2540
2561
|
hideLeaf: boolean;
|
|
2562
|
+
onlyCheckChildNode: boolean;
|
|
2541
2563
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number;
|
|
2542
2564
|
showTagHover: boolean;
|
|
2543
2565
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
@@ -2656,6 +2678,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2656
2678
|
type: BooleanConstructor;
|
|
2657
2679
|
default: boolean;
|
|
2658
2680
|
};
|
|
2681
|
+
onlyCheckChildNode: {
|
|
2682
|
+
type: BooleanConstructor;
|
|
2683
|
+
default: boolean;
|
|
2684
|
+
};
|
|
2659
2685
|
itemKey: {
|
|
2660
2686
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2661
2687
|
default: undefined;
|
|
@@ -2787,6 +2813,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2787
2813
|
type: BooleanConstructor;
|
|
2788
2814
|
default: boolean;
|
|
2789
2815
|
};
|
|
2816
|
+
onlyCheckChildNode: {
|
|
2817
|
+
type: BooleanConstructor;
|
|
2818
|
+
default: boolean;
|
|
2819
|
+
};
|
|
2790
2820
|
itemKey: {
|
|
2791
2821
|
type: import("vue").PropType<(node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number>;
|
|
2792
2822
|
default: undefined;
|
|
@@ -2836,6 +2866,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2836
2866
|
forceShowSelectAll: boolean;
|
|
2837
2867
|
onlyForwardCascade: boolean;
|
|
2838
2868
|
hideLeaf: boolean;
|
|
2869
|
+
onlyCheckChildNode: boolean;
|
|
2839
2870
|
itemKey: (node: import("naive-ui/es/tree/src/interface").TreeOptionBase & Record<string, unknown> & AnyObject) => string | number;
|
|
2840
2871
|
showTagHover: boolean;
|
|
2841
2872
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|