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
|
@@ -216,9 +216,22 @@ declare const DateInner: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
216
216
|
type: StringConstructor;
|
|
217
217
|
default: string;
|
|
218
218
|
};
|
|
219
|
+
updateValueOnClose: {
|
|
220
|
+
type: BooleanConstructor;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
219
223
|
isDateDisabled: {
|
|
220
224
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
221
225
|
};
|
|
226
|
+
propKey: {
|
|
227
|
+
type: StringConstructor;
|
|
228
|
+
};
|
|
229
|
+
shortcutListenerConfig: {
|
|
230
|
+
type: import("vue").PropType<{
|
|
231
|
+
enable: boolean;
|
|
232
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
233
|
+
}>;
|
|
234
|
+
};
|
|
222
235
|
}>, {
|
|
223
236
|
attrs: {
|
|
224
237
|
[x: string]: unknown;
|
|
@@ -251,9 +264,22 @@ declare const DateInner: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
251
264
|
type: StringConstructor;
|
|
252
265
|
default: string;
|
|
253
266
|
};
|
|
267
|
+
updateValueOnClose: {
|
|
268
|
+
type: BooleanConstructor;
|
|
269
|
+
default: boolean;
|
|
270
|
+
};
|
|
254
271
|
isDateDisabled: {
|
|
255
272
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
256
273
|
};
|
|
274
|
+
propKey: {
|
|
275
|
+
type: StringConstructor;
|
|
276
|
+
};
|
|
277
|
+
shortcutListenerConfig: {
|
|
278
|
+
type: import("vue").PropType<{
|
|
279
|
+
enable: boolean;
|
|
280
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
281
|
+
}>;
|
|
282
|
+
};
|
|
257
283
|
}>> & Readonly<{
|
|
258
284
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
259
285
|
}> & {}>;
|
|
@@ -270,6 +296,7 @@ declare const DateInner: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
270
296
|
focus: () => any;
|
|
271
297
|
blur: () => any;
|
|
272
298
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
299
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
273
300
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
274
301
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
275
302
|
stopWatcher: () => void;
|
|
@@ -306,9 +333,22 @@ declare const DateInner: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
306
333
|
type: StringConstructor;
|
|
307
334
|
default: string;
|
|
308
335
|
};
|
|
336
|
+
updateValueOnClose: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
309
340
|
isDateDisabled: {
|
|
310
341
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
311
342
|
};
|
|
343
|
+
propKey: {
|
|
344
|
+
type: StringConstructor;
|
|
345
|
+
};
|
|
346
|
+
shortcutListenerConfig: {
|
|
347
|
+
type: import("vue").PropType<{
|
|
348
|
+
enable: boolean;
|
|
349
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
350
|
+
}>;
|
|
351
|
+
};
|
|
312
352
|
}>> & Readonly<{
|
|
313
353
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
314
354
|
}>, {
|
|
@@ -316,6 +356,7 @@ declare const DateInner: import("vue").DefineComponent<import("vue").ExtractProp
|
|
|
316
356
|
updateUnchangedValue: boolean;
|
|
317
357
|
to: string | false | HTMLElement;
|
|
318
358
|
holidays: Date[];
|
|
359
|
+
updateValueOnClose: boolean;
|
|
319
360
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
320
361
|
DateQuickBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
321
362
|
componentCfg: {
|
|
@@ -478,8 +519,10 @@ declare const DateOut: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
478
519
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
479
520
|
valueCp: import("vue").Ref<any, any>;
|
|
480
521
|
rangeShortcuts: import("vue").Ref<any, any>;
|
|
522
|
+
shortcutListenerConfig: import("../../../../../../shared/types").AnyObject;
|
|
481
523
|
dateFormat: import("vue").ComputedRef<string>;
|
|
482
524
|
optionSetting: import("vue").ComputedRef<any>;
|
|
525
|
+
compName: import("vue").ComputedRef<any>;
|
|
483
526
|
handleChange: (val: any) => void;
|
|
484
527
|
isDateDisabled: (ts: number) => boolean;
|
|
485
528
|
timeDisabled: (ts: number) => {
|
|
@@ -516,9 +559,22 @@ declare const DateOut: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
516
559
|
type: StringConstructor;
|
|
517
560
|
default: string;
|
|
518
561
|
};
|
|
562
|
+
updateValueOnClose: {
|
|
563
|
+
type: BooleanConstructor;
|
|
564
|
+
default: boolean;
|
|
565
|
+
};
|
|
519
566
|
isDateDisabled: {
|
|
520
567
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
521
568
|
};
|
|
569
|
+
propKey: {
|
|
570
|
+
type: StringConstructor;
|
|
571
|
+
};
|
|
572
|
+
shortcutListenerConfig: {
|
|
573
|
+
type: import("vue").PropType<{
|
|
574
|
+
enable: boolean;
|
|
575
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
576
|
+
}>;
|
|
577
|
+
};
|
|
522
578
|
}>, {
|
|
523
579
|
attrs: {
|
|
524
580
|
[x: string]: unknown;
|
|
@@ -551,9 +607,22 @@ declare const DateOut: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
551
607
|
type: StringConstructor;
|
|
552
608
|
default: string;
|
|
553
609
|
};
|
|
610
|
+
updateValueOnClose: {
|
|
611
|
+
type: BooleanConstructor;
|
|
612
|
+
default: boolean;
|
|
613
|
+
};
|
|
554
614
|
isDateDisabled: {
|
|
555
615
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
556
616
|
};
|
|
617
|
+
propKey: {
|
|
618
|
+
type: StringConstructor;
|
|
619
|
+
};
|
|
620
|
+
shortcutListenerConfig: {
|
|
621
|
+
type: import("vue").PropType<{
|
|
622
|
+
enable: boolean;
|
|
623
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
624
|
+
}>;
|
|
625
|
+
};
|
|
557
626
|
}>> & Readonly<{
|
|
558
627
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
559
628
|
}> & {}>;
|
|
@@ -570,6 +639,7 @@ declare const DateOut: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
570
639
|
focus: () => any;
|
|
571
640
|
blur: () => any;
|
|
572
641
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
642
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
573
643
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
574
644
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
575
645
|
stopWatcher: () => void;
|
|
@@ -606,9 +676,22 @@ declare const DateOut: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
606
676
|
type: StringConstructor;
|
|
607
677
|
default: string;
|
|
608
678
|
};
|
|
679
|
+
updateValueOnClose: {
|
|
680
|
+
type: BooleanConstructor;
|
|
681
|
+
default: boolean;
|
|
682
|
+
};
|
|
609
683
|
isDateDisabled: {
|
|
610
684
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
611
685
|
};
|
|
686
|
+
propKey: {
|
|
687
|
+
type: StringConstructor;
|
|
688
|
+
};
|
|
689
|
+
shortcutListenerConfig: {
|
|
690
|
+
type: import("vue").PropType<{
|
|
691
|
+
enable: boolean;
|
|
692
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
693
|
+
}>;
|
|
694
|
+
};
|
|
612
695
|
}>> & Readonly<{
|
|
613
696
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
614
697
|
}>, {
|
|
@@ -616,6 +699,7 @@ declare const DateOut: import("vue").DefineComponent<import("vue").ExtractPropTy
|
|
|
616
699
|
updateUnchangedValue: boolean;
|
|
617
700
|
to: string | false | HTMLElement;
|
|
618
701
|
holidays: Date[];
|
|
702
|
+
updateValueOnClose: boolean;
|
|
619
703
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
620
704
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
621
705
|
componentCfg: {
|
|
@@ -778,9 +862,22 @@ declare const DateRangeInner: import("vue").DefineComponent<import("vue").Extrac
|
|
|
778
862
|
type: StringConstructor;
|
|
779
863
|
default: string;
|
|
780
864
|
};
|
|
865
|
+
updateValueOnClose: {
|
|
866
|
+
type: BooleanConstructor;
|
|
867
|
+
default: boolean;
|
|
868
|
+
};
|
|
781
869
|
isDateDisabled: {
|
|
782
870
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
783
871
|
};
|
|
872
|
+
propKey: {
|
|
873
|
+
type: StringConstructor;
|
|
874
|
+
};
|
|
875
|
+
shortcutListenerConfig: {
|
|
876
|
+
type: import("vue").PropType<{
|
|
877
|
+
enable: boolean;
|
|
878
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
879
|
+
}>;
|
|
880
|
+
};
|
|
784
881
|
}>, {
|
|
785
882
|
attrs: {
|
|
786
883
|
[x: string]: unknown;
|
|
@@ -813,9 +910,22 @@ declare const DateRangeInner: import("vue").DefineComponent<import("vue").Extrac
|
|
|
813
910
|
type: StringConstructor;
|
|
814
911
|
default: string;
|
|
815
912
|
};
|
|
913
|
+
updateValueOnClose: {
|
|
914
|
+
type: BooleanConstructor;
|
|
915
|
+
default: boolean;
|
|
916
|
+
};
|
|
816
917
|
isDateDisabled: {
|
|
817
918
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
818
919
|
};
|
|
920
|
+
propKey: {
|
|
921
|
+
type: StringConstructor;
|
|
922
|
+
};
|
|
923
|
+
shortcutListenerConfig: {
|
|
924
|
+
type: import("vue").PropType<{
|
|
925
|
+
enable: boolean;
|
|
926
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
927
|
+
}>;
|
|
928
|
+
};
|
|
819
929
|
}>> & Readonly<{
|
|
820
930
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
821
931
|
}> & {}>;
|
|
@@ -832,6 +942,7 @@ declare const DateRangeInner: import("vue").DefineComponent<import("vue").Extrac
|
|
|
832
942
|
focus: () => any;
|
|
833
943
|
blur: () => any;
|
|
834
944
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
945
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
835
946
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
836
947
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
837
948
|
stopWatcher: () => void;
|
|
@@ -868,9 +979,22 @@ declare const DateRangeInner: import("vue").DefineComponent<import("vue").Extrac
|
|
|
868
979
|
type: StringConstructor;
|
|
869
980
|
default: string;
|
|
870
981
|
};
|
|
982
|
+
updateValueOnClose: {
|
|
983
|
+
type: BooleanConstructor;
|
|
984
|
+
default: boolean;
|
|
985
|
+
};
|
|
871
986
|
isDateDisabled: {
|
|
872
987
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
873
988
|
};
|
|
989
|
+
propKey: {
|
|
990
|
+
type: StringConstructor;
|
|
991
|
+
};
|
|
992
|
+
shortcutListenerConfig: {
|
|
993
|
+
type: import("vue").PropType<{
|
|
994
|
+
enable: boolean;
|
|
995
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
996
|
+
}>;
|
|
997
|
+
};
|
|
874
998
|
}>> & Readonly<{
|
|
875
999
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
876
1000
|
}>, {
|
|
@@ -878,6 +1002,7 @@ declare const DateRangeInner: import("vue").DefineComponent<import("vue").Extrac
|
|
|
878
1002
|
updateUnchangedValue: boolean;
|
|
879
1003
|
to: string | false | HTMLElement;
|
|
880
1004
|
holidays: Date[];
|
|
1005
|
+
updateValueOnClose: boolean;
|
|
881
1006
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
882
1007
|
DateQuickBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
883
1008
|
componentCfg: {
|
|
@@ -1047,8 +1172,10 @@ declare const DateRangeOut: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1047
1172
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
1048
1173
|
valueCp: import("vue").Ref<any, any>;
|
|
1049
1174
|
rangeShortcuts: import("vue").Ref<any, any>;
|
|
1175
|
+
shortcutListenerConfig: import("../../../../../../shared/types").AnyObject;
|
|
1050
1176
|
dateFormat: import("vue").ComputedRef<string>;
|
|
1051
1177
|
optionSetting: import("vue").ComputedRef<any>;
|
|
1178
|
+
compName: import("vue").ComputedRef<any>;
|
|
1052
1179
|
handleChange: (val: any) => void;
|
|
1053
1180
|
isDateDisabled: (ts: number) => boolean;
|
|
1054
1181
|
timeDisabled: (ts: number) => {
|
|
@@ -1085,9 +1212,22 @@ declare const DateRangeOut: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1085
1212
|
type: StringConstructor;
|
|
1086
1213
|
default: string;
|
|
1087
1214
|
};
|
|
1215
|
+
updateValueOnClose: {
|
|
1216
|
+
type: BooleanConstructor;
|
|
1217
|
+
default: boolean;
|
|
1218
|
+
};
|
|
1088
1219
|
isDateDisabled: {
|
|
1089
1220
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1090
1221
|
};
|
|
1222
|
+
propKey: {
|
|
1223
|
+
type: StringConstructor;
|
|
1224
|
+
};
|
|
1225
|
+
shortcutListenerConfig: {
|
|
1226
|
+
type: import("vue").PropType<{
|
|
1227
|
+
enable: boolean;
|
|
1228
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
1229
|
+
}>;
|
|
1230
|
+
};
|
|
1091
1231
|
}>, {
|
|
1092
1232
|
attrs: {
|
|
1093
1233
|
[x: string]: unknown;
|
|
@@ -1120,9 +1260,22 @@ declare const DateRangeOut: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1120
1260
|
type: StringConstructor;
|
|
1121
1261
|
default: string;
|
|
1122
1262
|
};
|
|
1263
|
+
updateValueOnClose: {
|
|
1264
|
+
type: BooleanConstructor;
|
|
1265
|
+
default: boolean;
|
|
1266
|
+
};
|
|
1123
1267
|
isDateDisabled: {
|
|
1124
1268
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1125
1269
|
};
|
|
1270
|
+
propKey: {
|
|
1271
|
+
type: StringConstructor;
|
|
1272
|
+
};
|
|
1273
|
+
shortcutListenerConfig: {
|
|
1274
|
+
type: import("vue").PropType<{
|
|
1275
|
+
enable: boolean;
|
|
1276
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
1277
|
+
}>;
|
|
1278
|
+
};
|
|
1126
1279
|
}>> & Readonly<{
|
|
1127
1280
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1128
1281
|
}> & {}>;
|
|
@@ -1139,6 +1292,7 @@ declare const DateRangeOut: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1139
1292
|
focus: () => any;
|
|
1140
1293
|
blur: () => any;
|
|
1141
1294
|
handleConfirm: (target: HTMLInputElement) => void;
|
|
1295
|
+
handleShortcutClick: (event: MouseEvent) => void;
|
|
1142
1296
|
onUpdateShow: (show: boolean) => Promise<void>;
|
|
1143
1297
|
watchers: import("../../../../../../shared/types").AnyFn[];
|
|
1144
1298
|
stopWatcher: () => void;
|
|
@@ -1175,9 +1329,22 @@ declare const DateRangeOut: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1175
1329
|
type: StringConstructor;
|
|
1176
1330
|
default: string;
|
|
1177
1331
|
};
|
|
1332
|
+
updateValueOnClose: {
|
|
1333
|
+
type: BooleanConstructor;
|
|
1334
|
+
default: boolean;
|
|
1335
|
+
};
|
|
1178
1336
|
isDateDisabled: {
|
|
1179
1337
|
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
|
1180
1338
|
};
|
|
1339
|
+
propKey: {
|
|
1340
|
+
type: StringConstructor;
|
|
1341
|
+
};
|
|
1342
|
+
shortcutListenerConfig: {
|
|
1343
|
+
type: import("vue").PropType<{
|
|
1344
|
+
enable: boolean;
|
|
1345
|
+
callback: (value: string, propKey?: string | undefined) => void;
|
|
1346
|
+
}>;
|
|
1347
|
+
};
|
|
1181
1348
|
}>> & Readonly<{
|
|
1182
1349
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1183
1350
|
}>, {
|
|
@@ -1185,6 +1352,7 @@ declare const DateRangeOut: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
1185
1352
|
updateUnchangedValue: boolean;
|
|
1186
1353
|
to: string | false | HTMLElement;
|
|
1187
1354
|
holidays: Date[];
|
|
1355
|
+
updateValueOnClose: boolean;
|
|
1188
1356
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
1189
1357
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1190
1358
|
type: {
|
package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js
CHANGED
|
@@ -46,11 +46,11 @@ const Maps = /* @__PURE__ */ new Map([
|
|
|
46
46
|
],
|
|
47
47
|
[
|
|
48
48
|
DatePresetValEnums.WEEK_START,
|
|
49
|
-
() => moment().
|
|
49
|
+
() => moment().startOf("isoWeek")
|
|
50
50
|
],
|
|
51
51
|
[
|
|
52
52
|
DatePresetValEnums.WEEK_END,
|
|
53
|
-
() => moment().
|
|
53
|
+
() => moment().endOf("isoWeek")
|
|
54
54
|
],
|
|
55
55
|
[
|
|
56
56
|
DatePresetValEnums.MONTH_START,
|
|
@@ -101,15 +101,15 @@ const dateRangeMapInner = /* @__PURE__ */ new Map([
|
|
|
101
101
|
],
|
|
102
102
|
[
|
|
103
103
|
DateRangeInnerValEnums.THIS_WEEK,
|
|
104
|
-
() => [moment().
|
|
104
|
+
() => [moment().startOf("isoWeek"), moment().endOf("isoWeek")]
|
|
105
105
|
],
|
|
106
106
|
[
|
|
107
107
|
DateRangeInnerValEnums.NEXT_WEEK,
|
|
108
|
-
() => [moment().add(1, "w").
|
|
108
|
+
() => [moment().add(1, "w").startOf("isoWeek"), moment().add(1, "w").endOf("isoWeek")]
|
|
109
109
|
],
|
|
110
110
|
[
|
|
111
111
|
DateRangeInnerValEnums.LAST_WEEK,
|
|
112
|
-
() => [moment().subtract(1, "w").
|
|
112
|
+
() => [moment().subtract(1, "w").startOf("isoWeek"), moment().subtract(1, "w").endOf("isoWeek")]
|
|
113
113
|
],
|
|
114
114
|
[
|
|
115
115
|
DateRangeInnerValEnums.PAST_WEEK,
|
|
@@ -187,17 +187,17 @@ const formatDateRangeInfo = (key, format = "x", optionSetting = WidgetOptionEnum
|
|
|
187
187
|
[
|
|
188
188
|
DateRangeInnerValEnums.THIS_WEEK,
|
|
189
189
|
() => [
|
|
190
|
-
isFutureTime ? currentTime : moment().
|
|
191
|
-
isPastTime ? currentTime : moment().
|
|
190
|
+
isFutureTime ? currentTime : moment().startOf("isoWeek"),
|
|
191
|
+
isPastTime ? currentTime : moment().endOf("isoWeek")
|
|
192
192
|
]
|
|
193
193
|
],
|
|
194
194
|
[
|
|
195
195
|
DateRangeInnerValEnums.NEXT_WEEK,
|
|
196
|
-
() => [moment().add(1, "w").
|
|
196
|
+
() => [moment().add(1, "w").startOf("isoWeek"), moment().add(1, "w").endOf("isoWeek")]
|
|
197
197
|
],
|
|
198
198
|
[
|
|
199
199
|
DateRangeInnerValEnums.LAST_WEEK,
|
|
200
|
-
() => [moment().subtract(1, "w").
|
|
200
|
+
() => [moment().subtract(1, "w").startOf("isoWeek"), moment().subtract(1, "w").endOf("isoWeek")]
|
|
201
201
|
],
|
|
202
202
|
[
|
|
203
203
|
DateRangeInnerValEnums.PAST_WEEK,
|