cnhis-design-vue 3.4.0-beta.4 → 3.4.0-beta.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/README.md +87 -87
- package/es/_virtual/_virtual_i18n-methods.js +10 -0
- package/es/components/annotation-edit/index.d.ts +5 -5
- package/es/components/annotation-edit/src/AnnotationEdit.d.ts +5 -5
- package/es/components/audio-sdk/index.d.ts +52 -54
- package/es/components/audio-sdk/src/Index.vue.d.ts +52 -54
- package/es/components/audio-sdk/src/Index.vue2.js +61 -93
- package/es/components/audio-sdk/src/audioSDK.d.ts +1 -1
- package/es/components/audio-sdk/src/audioSDK.js +16 -16
- package/es/components/audio-sdk/src/components/form.vue.d.ts +16 -16
- package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +10 -10
- package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +6 -5
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +47 -49
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +39 -41
- package/es/components/audio-sdk/src/components/recording.vue2.js +42 -64
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +5 -5
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +10 -16
- package/es/components/audio-sdk/src/svgs/Close.vue.js +8 -4
- package/es/components/audio-sdk/src/svgs/Continue.vue.js +5 -1
- package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +5 -1
- package/es/components/audio-sdk/src/svgs/Pause.vue.js +5 -1
- package/es/components/audio-sdk/src/svgs/WaveView.vue.js +5 -1
- package/es/components/audio-sdk/src/svgs/Zoom.vue.js +8 -4
- package/es/components/audio-sdk/src/utils/index.d.ts +1 -1
- package/es/components/audio-sdk/src/utils/index.js +5 -19
- package/es/components/audio-sdk/src/utils/recordingModal.d.ts +2 -2
- package/es/components/base-search/index.d.ts +19 -61
- package/es/components/base-search/src/index.vue.d.ts +19 -61
- package/es/components/base-search/src/index.vue2.js +32 -51
- package/es/components/big-table/index.d.ts +43 -67
- package/es/components/big-table/src/BigTable.vue.d.ts +43 -67
- package/es/components/big-table/src/BigTable.vue2.js +30 -113
- package/es/components/big-table/src/bigTableEmits.js +51 -1
- package/es/components/big-table/src/bigTableProps.js +33 -131
- package/es/components/big-table/src/bigTableState.js +2 -9
- package/es/components/big-table/src/components/NoData.vue.d.ts +7 -7
- package/es/components/big-table/src/components/NoData.vue2.js +8 -28
- package/es/components/big-table/src/components/edit-form/edit-date.d.ts +5 -7
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -8
- package/es/components/big-table/src/components/edit-form/edit-input.d.ts +5 -8
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -8
- package/es/components/big-table/src/components/edit-form/edit-select-table.d.ts +5 -12
- package/es/components/big-table/src/components/edit-form/edit-select.d.ts +5 -7
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -8
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +23 -47
- package/es/components/big-table/src/components/edit-form/edit-separate.vue2.js +29 -39
- package/es/components/big-table/src/components/edit-form/edit-time.d.ts +5 -7
- package/es/components/big-table/src/components/edit-form/edit-time.js +2 -8
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +2 -2
- package/es/components/big-table/src/components/input-button.vue.d.ts +5 -5
- package/es/components/big-table/src/components/input-button.vue2.js +4 -11
- package/es/components/big-table/src/components/separate.vue.d.ts +7 -31
- package/es/components/big-table/src/components/separate.vue2.js +10 -18
- package/es/components/big-table/src/hooks/useAnchor.js +2 -9
- package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
- package/es/components/big-table/src/hooks/useBatchEditing.js +64 -65
- package/es/components/big-table/src/hooks/useEdit.d.ts +48 -84
- package/es/components/big-table/src/hooks/useEdit.js +4 -15
- package/es/components/big-table/src/hooks/useEvent.js +6 -26
- package/es/components/big-table/src/hooks/useFormat.js +16 -27
- package/es/components/big-table/src/hooks/useNestTable.js +3 -16
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +2 -50
- package/es/components/big-table/src/hooks/useSeparateRow.js +48 -80
- package/es/components/big-table/src/hooks/useTableParse.js +4 -24
- package/es/components/big-table/src/utils.js +21 -55
- package/es/components/body-select/index.d.ts +17 -17
- package/es/components/body-select/src/hooks/renderCanvas.js +1 -4
- package/es/components/body-select/src/index.vue.d.ts +17 -17
- package/es/components/body-select/src/index.vue2.js +11 -29
- package/es/components/bpmn-workflow/index.d.ts +9 -9
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +9 -9
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue2.js +48 -52
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.js +91 -119
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.js +4 -4
- package/es/components/branch-notice/index.d.ts +49 -72
- package/es/components/branch-notice/src/BranchNotice.vue.d.ts +47 -70
- package/es/components/branch-notice/src/BranchNotice.vue2.js +21 -29
- package/es/components/branch-notice/src/components/NoticeItem.vue.d.ts +34 -57
- package/es/components/branch-notice/src/components/NoticeItem.vue2.js +73 -57
- package/es/components/branch-notice/src/components/NoticeItemAside.vue.d.ts +12 -12
- package/es/components/branch-notice/src/components/NoticeItemAside.vue2.js +45 -33
- package/es/components/branch-notice/src/components/NoticeOperationList.vue.d.ts +9 -9
- package/es/components/branch-notice/src/components/NoticeOperationList.vue2.js +43 -37
- package/es/components/branch-notice/src/drawLine.js +157 -140
- package/es/components/button-print/index.d.ts +171 -201
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +171 -201
- package/es/components/button-print/src/ButtonPrint.vue2.js +18 -56
- package/es/components/button-print/src/api.js +2 -8
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +18 -48
- package/es/components/button-print/src/components/EditFormat.vue2.js +9 -22
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +43 -72
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +19 -82
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +84 -101
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +148 -301
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +58 -88
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +15 -70
- package/es/components/button-print/src/components/Preview.vue.d.ts +13 -13
- package/es/components/button-print/src/components/Preview.vue2.js +4 -11
- package/es/components/button-print/src/utils/browserPrint.js +1 -3
- package/es/components/button-print/src/utils/dialog.js +4 -24
- package/es/components/button-print/src/utils/print.js +12 -95
- package/es/components/calendar/index.d.ts +277 -32
- package/es/components/calendar/src/Calendar.vue.d.ts +276 -31
- package/es/components/calendar/src/Calendar.vue2.js +4 -5
- package/es/components/callback/index.d.ts +11 -11
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +21 -20
- package/es/components/callback/src/components/dialog/drawer.vue2.js +49 -68
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +22 -22
- package/es/components/callback/src/components/dialog/modal.vue2.js +56 -67
- package/es/components/callback/src/components/popup/index.vue.d.ts +6 -6
- package/es/components/callback/src/components/popup/index.vue.js +7 -13
- package/es/components/callback/src/components/render/drawerIframe/index.vue.d.ts +12 -12
- package/es/components/callback/src/components/render/drawerIframe/index.vue2.js +31 -34
- package/es/components/callback/src/components/render/index.vue.d.ts +6 -6
- package/es/components/callback/src/components/render/index.vue.js +14 -33
- package/es/components/callback/src/components/render/popupMaps.d.ts +1624 -3184
- package/es/components/callback/src/components/render/popupMaps.js +29 -20
- package/es/components/callback/src/index.vue.d.ts +11 -11
- package/es/components/callback/src/index.vue2.js +1 -4
- package/es/components/card-reader-sdk/src/cardReaderSDK.js +7 -31
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +15 -12
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -15
- package/es/components/card-reader-sdk/src/insuranceSDK.js +5 -20
- package/es/components/card-reader-sdk/src/utils/ensureUID2IdCard.js +3 -15
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +3 -16
- package/es/components/card-reader-sdk-cn/src/henan/index.js +6 -40
- package/es/components/card-render/index.d.ts +10 -10
- package/es/components/card-render/src/CardRender.vue.d.ts +10 -10
- package/es/components/card-render/src/CardRender.vue2.js +5 -8
- package/es/components/card-render/src/components/Box.vue.d.ts +8 -8
- package/es/components/card-render/src/components/Box.vue2.js +26 -42
- package/es/components/card-render/src/components/Button.vue.d.ts +8 -8
- package/es/components/card-render/src/components/Button.vue2.js +27 -36
- package/es/components/card-render/src/components/Divider.vue.d.ts +8 -8
- package/es/components/card-render/src/components/Divider.vue2.js +3 -9
- package/es/components/card-render/src/components/Field.vue.d.ts +8 -8
- package/es/components/card-render/src/components/Field.vue2.js +59 -77
- package/es/components/card-render/src/components/FieldGroup.vue.d.ts +8 -8
- package/es/components/card-render/src/components/FieldGroup.vue2.js +36 -51
- package/es/components/card-render/src/components/Image.vue.d.ts +8 -8
- package/es/components/card-render/src/components/Image.vue2.js +8 -22
- package/es/components/card-render/src/components/Label.vue.d.ts +8 -8
- package/es/components/card-render/src/components/Label.vue2.js +19 -30
- package/es/components/card-render/src/components/Row.vue.d.ts +8 -8
- package/es/components/card-render/src/components/Row.vue2.js +35 -51
- package/es/components/card-render/src/components/ScaleView.vue.d.ts +8 -8
- package/es/components/card-render/src/components/ScaleView.vue2.js +31 -34
- package/es/components/card-render/src/components/Slot.d.ts +5 -5
- package/es/components/card-render/src/components/Table.vue.d.ts +16 -16
- package/es/components/card-render/src/components/Table.vue2.js +72 -75
- package/es/components/card-render/src/components/Text.vue.d.ts +7 -7
- package/es/components/card-render/src/components/Text.vue2.js +8 -21
- package/es/components/card-render/src/components/index.d.ts +113 -113
- package/es/components/card-render/src/hooks/useCommon.js +4 -8
- package/es/components/card-render/src/utils/index.js +1 -3
- package/es/components/classification/index.d.ts +432 -509
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +358 -370
- package/es/components/classification/src/components/search-filter/index.vue2.js +7 -28
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +402 -414
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -26
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +27 -27
- package/es/components/classification/src/components/table-modal/index.vue2.js +76 -277
- package/es/components/classification/src/index.vue.d.ts +432 -509
- package/es/components/classification/src/index.vue2.js +78 -285
- package/es/components/config-provider/index.d.ts +5 -7
- package/es/components/config-provider/src/ConfigProvider.d.ts +5 -7
- package/es/components/date-picker/index.d.ts +15 -15
- package/es/components/date-picker/src/DatePicker.vue.d.ts +15 -15
- package/es/components/date-picker/src/DatePicker.vue2.js +10 -17
- package/es/components/default-page/index.d.ts +11 -11
- package/es/components/default-page/src/constants/index.js +19 -144
- package/es/components/default-page/src/index.vue.d.ts +11 -11
- package/es/components/default-page/src/index.vue2.js +16 -21
- package/es/components/drag-scroll/src/index.js +48 -58
- package/es/components/editor/index.d.ts +7 -77
- package/es/components/editor/src/Editor.d.ts +7 -78
- package/es/components/expand-field/index.d.ts +303 -478
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue.d.ts +14 -14
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +9 -43
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +225 -304
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +5 -19
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +205 -284
- package/es/components/expand-field/src/components/PersonModal.vue2.js +5 -26
- package/es/components/expand-field/src/components/form.vue.d.ts +285 -458
- package/es/components/expand-field/src/components/form.vue2.js +123 -555
- package/es/components/expand-field/src/constants/index.js +3 -1
- package/es/components/expand-field/src/index.vue.d.ts +304 -479
- package/es/components/expand-field/src/index.vue2.js +35 -111
- package/es/components/expand-field/src/utils/constant.js +13 -88
- package/es/components/expand-field/src/utils/index.js +8 -1
- package/es/components/fabric-chart/index.d.ts +29 -29
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +29 -29
- package/es/components/fabric-chart/src/FabricChart.vue2.js +23 -44
- package/es/components/fabric-chart/src/components/PopupMenu.d.ts +6 -6
- package/es/components/fabric-chart/src/components/PopupMenu.js +3 -23
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +7 -7
- package/es/components/fabric-chart/src/components/PopupTip.vue2.js +17 -35
- package/es/components/fabric-chart/src/components/useStyle.js +2 -8
- package/es/components/fabric-chart/src/constants/index.js +11 -72
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -16
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +9 -9
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +39 -63
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +18 -25
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +35 -49
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +9 -9
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +27 -71
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +58 -245
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -8
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +38 -51
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -32
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +51 -74
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +91 -275
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +9 -9
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +81 -101
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -8
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +35 -25
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +2 -8
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +45 -58
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +3 -15
- package/es/components/fabric-chart/src/hooks/temperature/useRight.js +2 -9
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +9 -9
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +82 -125
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +88 -72
- package/es/components/fabric-chart/src/hooks/useCommon.js +5 -24
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +10 -56
- package/es/components/fabric-chart/src/hooks/useDraw.js +52 -116
- package/es/components/fabric-chart/src/hooks/useEvent.js +56 -49
- package/es/components/fabric-chart/src/hooks/useGrid.js +4 -15
- package/es/components/fabric-chart/src/hooks/useScaleColumn.js +2 -10
- package/es/components/fabric-chart/src/hooks/useShadow.js +7 -4
- package/es/components/fabric-chart/src/utils/index.js +2 -12
- package/es/components/field-editor/index.d.ts +42 -50
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +42 -50
- package/es/components/field-editor/src/FieldEditor.vue2.js +11 -15
- package/es/components/field-editor/src/fields.js +31 -232
- package/es/components/field-set/index.d.ts +13 -13
- package/es/components/field-set/src/FieldColor.vue.d.ts +153 -215
- package/es/components/field-set/src/FieldColor.vue2.js +15 -92
- package/es/components/field-set/src/FieldFilter.vue.d.ts +50 -76
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -36
- package/es/components/field-set/src/FieldSet.vue.d.ts +63 -77
- package/es/components/field-set/src/FieldSet.vue2.js +45 -213
- package/es/components/field-set/src/Index.vue.d.ts +13 -13
- package/es/components/field-set/src/Index.vue2.js +19 -56
- package/es/components/field-set/src/TableStyle.vue.d.ts +13 -21
- package/es/components/field-set/src/TableStyle.vue2.js +28 -69
- package/es/components/field-set/src/components/condition.vue.d.ts +32 -47
- package/es/components/field-set/src/components/condition.vue2.js +13 -30
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +102 -149
- package/es/components/field-set/src/components/edit-dialog.vue2.js +17 -115
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +43 -67
- package/es/components/field-set/src/components/edit-filter.vue2.js +5 -26
- package/es/components/field-set/src/components/table-row.vue.d.ts +32 -32
- package/es/components/field-set/src/components/table-row.vue2.js +26 -125
- package/es/components/field-set/src/constants/filter.js +43 -328
- package/es/components/field-set/src/constants/index.js +65 -504
- package/es/components/field-set/src/utils/index.js +6 -18
- package/es/components/form-config/index.d.ts +516 -1497
- package/es/components/form-config/index.js +0 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +516 -1497
- package/es/components/form-config/src/FormConfig.vue2.js +21 -22
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +49 -59
- package/es/components/form-config/src/components/FormConfigCreator.vue2.js +16 -13
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +9 -9
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +12 -21
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +214 -1114
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +12 -11
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +86 -123
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +36 -104
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +4 -4
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +11 -11
- package/es/components/form-config/src/components/renderer/CloseButton.vue2.js +5 -8
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +29 -29
- package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +31 -30
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +21 -21
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +35 -36
- package/es/components/form-config/src/constants/index.js +29 -176
- package/es/components/form-config/src/hooks/useConfigurationField.js +21 -21
- package/es/components/form-config/src/hooks/useDataNormalize.js +2 -8
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +4 -21
- package/es/components/form-config/src/utils/index.js +10 -6
- package/es/components/form-render/index.d.ts +40 -48
- package/es/components/form-render/src/FormRender.vue.d.ts +37 -45
- package/es/components/form-render/src/FormRender.vue2.js +118 -244
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +40 -48
- package/es/components/form-render/src/FormRenderWrapper.vue2.js +18 -6
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +6 -6
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -8
- package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.js +17 -16
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +6 -6
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -8
- package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +6 -6
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
- package/es/components/form-render/src/components/renderer/complex.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/date.d.ts +9 -7
- package/es/components/form-render/src/components/renderer/formItem.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/formItem.js +2 -8
- package/es/components/form-render/src/components/renderer/input.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/inputGroup.js +6 -8
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +7 -7
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +31 -31
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +49 -71
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +31 -31
- package/es/components/form-render/src/components/renderer/lineBar/index.js +6 -6
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +18 -18
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -8
- package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/select.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/slider.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/switch.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/switch.js +4 -24
- package/es/components/form-render/src/components/renderer/text.d.ts +3 -3
- package/es/components/form-render/src/components/renderer/textarea.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/time.d.ts +3 -3
- package/es/components/form-render/src/components/tooltipMessage.vue.d.ts +9 -9
- package/es/components/form-render/src/components/tooltipMessage.vue2.js +14 -18
- package/es/components/form-render/src/constants/index.js +6 -2
- package/es/components/form-render/src/hooks/useAnchor.d.ts +1 -9
- package/es/components/form-render/src/hooks/useAnchor.js +12 -10
- package/es/components/form-render/src/hooks/useBusinessBinding.js +18 -20
- package/es/components/form-render/src/hooks/useChangeContext.js +1 -3
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
- package/es/components/form-render/src/hooks/useCommonInjection.js +6 -21
- package/es/components/form-render/src/hooks/useCommonLog.js +4 -4
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +3 -3
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +60 -66
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +6 -6
- package/es/components/form-render/src/hooks/useFieldNormalize.js +110 -97
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -3
- package/es/components/form-render/src/hooks/useFormContext.js +27 -27
- package/es/components/form-render/src/hooks/useFormEvent.js +36 -50
- package/es/components/form-render/src/hooks/useFormField.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormGraph.js +1 -5
- package/es/components/form-render/src/hooks/useFormItemDeps.js +4 -15
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.js +1 -3
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +12 -12
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +75 -138
- package/es/components/form-render/src/hooks/useFormValidator.js +2 -8
- package/es/components/form-render/src/hooks/useLowCodeEvent.js +2 -8
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -4
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +29 -22
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +2 -7
- package/es/components/form-render/src/hooks/useOperationalForm.js +26 -24
- package/es/components/form-render/src/hooks/usePresetScope.js +3 -1
- package/es/components/form-render/src/hooks/useSelectedSetting.js +1 -3
- package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -3
- package/es/components/form-render/src/utils/business.js +38 -48
- package/es/components/form-render/src/utils/dom.js +5 -9
- package/es/components/form-render/src/utils/index.d.ts +3 -3
- package/es/components/form-render/src/utils/schema.js +4 -24
- package/es/components/form-render/src/utils/valueFormatter.js +6 -5
- package/es/components/grid/index.d.ts +1 -1
- package/es/components/grid/src/Grid.d.ts +1 -1
- package/es/components/grid/src/hooks.js +151 -1
- package/es/components/guide/src/renderer.d.ts +5 -5
- package/es/components/guide/src/utils/index.js +121 -184
- package/es/components/iho-chat/index.d.ts +760 -832
- package/es/components/iho-chat/src/Index.vue.d.ts +760 -832
- package/es/components/iho-chat/src/Index.vue2.js +5 -12
- package/es/components/iho-chat/src/api/index.js +1 -3
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +42 -42
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +49 -125
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +88 -122
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +11 -66
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +64 -64
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +60 -150
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +272 -306
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +9 -43
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +177 -191
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +9 -43
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +61 -61
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +66 -101
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +34 -34
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +43 -109
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +65 -65
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +71 -172
- package/es/components/iho-chat/src/components/ContextMenu.d.ts +5 -5
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -48
- package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +22 -40
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +21 -26
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +9 -9
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +15 -26
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +32 -32
- package/es/components/iho-chat/src/components/MessageMergeForward.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MessageTemplate.vue.d.ts +22 -18
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +36 -40
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +64 -82
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +47 -131
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +13 -13
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +12 -67
- package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +15 -15
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +4 -11
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +63 -69
- package/es/components/iho-chat/src/components/SiderList.vue2.js +8 -42
- package/es/components/iho-chat/src/components/Video.vue.d.ts +13 -13
- package/es/components/iho-chat/src/components/Video.vue2.js +13 -36
- package/es/components/iho-chat/src/components/userItemRender.d.ts +5 -5
- package/es/components/iho-chat/src/hooks/useData.d.ts +6 -6
- package/es/components/iho-chat/src/hooks/useData.js +83 -123
- package/es/components/iho-chat/src/hooks/useDraggable.d.ts +2 -8
- package/es/components/iho-chat/src/hooks/useDraggable.js +14 -54
- package/es/components/iho-chat/src/hooks/useSearchPatientList.d.ts +1 -1
- package/es/components/iho-chat/src/hooks/useSearchPatientList.js +1 -3
- package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +1 -1
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -3
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +6 -11
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -15
- package/es/components/iho-chat/src/hooks/useWebSocket.js +49 -71
- package/es/components/iho-chat/src/utils/chatSock.js +17 -18
- package/es/components/iho-chat/src/utils/index.d.ts +1 -1
- package/es/components/iho-chat/src/utils/index.js +10 -79
- package/es/components/iho-table/index.d.ts +1572 -3124
- package/es/components/iho-table/index.js +27 -5
- package/es/components/iho-table/src/IhoTable.vue.d.ts +1573 -3125
- package/es/components/iho-table/src/IhoTable.vue2.js +98 -140
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/constants/index.js +77 -3
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.js +57 -36
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +11 -5
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -3
- package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +1 -3
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +233 -50
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.js +1 -3
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.js +12 -5
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +6 -4
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +3 -3
- package/es/components/iho-table/src/hooks/useTableContext.js +1 -9
- package/es/components/iho-table/src/hooks/useTablePlugin.js +3 -11
- package/es/components/iho-table/src/plugins/anchorPlugin/tableAnchor.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +2 -6
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +9 -17
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin.js +2 -8
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.js +1 -4
- package/es/components/iho-table/src/plugins/copyPastePlugin.js +12 -32
- package/es/components/iho-table/src/plugins/crossHeaderPlugin.js +8 -35
- package/es/components/iho-table/src/plugins/defaultConfigPlugin.js +26 -46
- package/es/components/iho-table/src/plugins/defaultValuePlugin.js +19 -18
- package/es/components/iho-table/src/plugins/dragScrollPlugin.js +23 -37
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue.d.ts +207 -477
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +12 -47
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +21 -21
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +2 -4
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue.d.ts +21 -21
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +12 -49
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +31 -31
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +24 -75
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue.d.ts +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -17
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.js +2 -8
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.js +15 -22
- package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue.d.ts +8 -8
- package/es/components/iho-table/src/plugins/headerPlugin/tooltipMessage.vue2.js +15 -18
- package/es/components/iho-table/src/plugins/keyboardEventPlugin.js +45 -55
- package/es/components/iho-table/src/plugins/maxCheckSizePlugin.js +2 -6
- package/es/components/iho-table/src/plugins/operationalFormPlugin.js +25 -23
- package/es/components/iho-table/src/plugins/pagerScrollPlugin/index.js +32 -50
- package/es/components/iho-table/src/plugins/pagerScrollPlugin/utils.d.ts +9 -9
- package/es/components/iho-table/src/plugins/pagerScrollPlugin/utils.js +2 -8
- package/es/components/iho-table/src/plugins/pluginHooks/useFilter.d.ts +2 -2
- package/es/components/iho-table/src/plugins/pluginHooks/useFilter.js +3 -14
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +26 -26
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +27 -81
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +47 -50
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue2.js +17 -61
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +2 -8
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +6 -6
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +2 -8
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -5
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +13 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue2.js +31 -49
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +14 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +39 -39
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -16
- package/es/components/iho-table/src/plugins/rowClickPlugin.js +2 -10
- package/es/components/iho-table/src/plugins/rowDragPlugin.js +23 -52
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.js +18 -13
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.js +4 -5
- package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +16 -16
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.js +3 -10
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.js +4 -12
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.js +43 -43
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.js +14 -37
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.js +1 -5
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.js +7 -23
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowClassName.js +4 -12
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowHeight.js +2 -7
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.js +3 -9
- 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 +54 -64
- package/es/components/iho-table/src/plugins/virtualTreePlugin.js +27 -44
- package/es/components/iho-table/src/plugins/wordbookSettingPlugin.js +1 -6
- package/es/components/iho-table/src/utils/index.d.ts +2 -2
- package/es/components/iho-table/src/utils/separateMap.d.ts +1 -14
- package/es/components/index.js +1 -5
- package/es/components/info-header/index.d.ts +355 -195
- package/es/components/info-header/src/InfoHeader.vue.d.ts +355 -195
- package/es/components/info-header/src/InfoHeader.vue2.js +82 -97
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +46 -37
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +81 -107
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +63 -44
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +31 -45
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +15 -15
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue2.js +34 -43
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +7 -7
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +22 -24
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +129 -109
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +77 -87
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +68 -65
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +31 -172
- package/es/components/info-header/src/hooks/useThemeOverrides.js +2 -6
- package/es/components/keyboard/index.d.ts +65 -77
- package/es/components/keyboard/src/Keyboard.vue.d.ts +65 -77
- package/es/components/keyboard/src/Keyboard.vue2.js +17 -30
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +16 -16
- package/es/components/keyboard/src/components/InputNumber.vue2.js +32 -37
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +40 -46
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +16 -36
- package/es/components/map/index.d.ts +12 -12
- package/es/components/map/src/Map.vue.d.ts +12 -12
- package/es/components/map/src/Map.vue2.js +12 -18
- package/es/components/picture-clipper/index.d.ts +11 -11
- package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +11 -11
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +7 -21
- package/es/components/quick-search/index.d.ts +32 -73
- package/es/components/quick-search/src/index.vue.d.ts +32 -73
- package/es/components/quick-search/src/index.vue2.js +23 -85
- package/es/components/recommend-search/index.d.ts +79 -79
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +79 -79
- package/es/components/recommend-search/src/RecommendSearch.vue2.js +20 -57
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +7 -7
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -8
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +34 -34
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +16 -35
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +9 -9
- package/es/components/recommend-search/src/components/RecommendMenu.vue2.js +55 -55
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +29 -29
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +10 -23
- package/es/components/recommend-search/src/constant/index.js +3 -1
- package/es/components/scale-view/index.d.ts +87 -107
- package/es/components/scale-view/src/ScaleView.vue.d.ts +63 -66
- package/es/components/scale-view/src/ScaleView.vue2.js +17 -60
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +7 -7
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +13 -75
- package/es/components/scale-view/src/components/DescribeContent.vue.d.ts +7 -7
- package/es/components/scale-view/src/components/DescribeContent.vue2.js +10 -13
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +12 -12
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +24 -44
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +10 -10
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +6 -27
- package/es/components/scale-view/src/components/LoadingCom.vue.js +5 -1
- package/es/components/scale-view/src/components/NoData.vue.d.ts +7 -7
- package/es/components/scale-view/src/components/NoData.vue2.js +8 -28
- package/es/components/scale-view/src/components/ScaleScore.d.ts +5 -5
- package/es/components/scale-view/src/components/ScaleScore.js +4 -45
- package/es/components/scale-view/src/components/formitem/r-address.d.ts +6 -9
- package/es/components/scale-view/src/components/formitem/r-cascader.d.ts +6 -10
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +6 -11
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -40
- package/es/components/scale-view/src/components/formitem/r-collection.d.ts +5 -8
- package/es/components/scale-view/src/components/formitem/r-datetime.d.ts +6 -9
- package/es/components/scale-view/src/components/formitem/r-input.d.ts +6 -8
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-map.d.ts +6 -70
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-radio.d.ts +6 -11
- package/es/components/scale-view/src/components/formitem/r-radio.js +4 -24
- package/es/components/scale-view/src/components/formitem/r-select.d.ts +6 -10
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-sign.d.ts +6 -155
- package/es/components/scale-view/src/components/formitem/r-sign.js +9 -64
- package/es/components/scale-view/src/components/formitem/r-upload.d.ts +6 -11
- package/es/components/scale-view/src/components/formitem/r-upload.js +8 -56
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +6 -6
- package/es/components/scale-view/src/components/formitem/sign-com.js +2 -8
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +5 -9
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +17 -9
- package/es/components/scale-view/src/directive/drag-move.js +5 -40
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -39
- package/es/components/scale-view/src/hooks/scaleview-init.js +4 -24
- package/es/components/scale-view/src/hooks/scaleview-methods.js +8 -56
- package/es/components/scale-view/src/hooks/scaleview-props.js +30 -132
- package/es/components/scale-view/src/hooks/scaleview-state.js +1 -3
- package/es/components/scale-view/src/hooks/scaleview-submit.js +11 -80
- package/es/components/scale-view/src/hooks/scaleview-validate.js +14 -104
- package/es/components/scale-view/src/hooks/use-evaluate.js +3 -16
- package/es/components/scale-view/src/hooks/use-event.js +6 -23
- package/es/components/scale-view/src/hooks/use-noData.js +5 -32
- package/es/components/scale-view/src/utils/judge-types.js +8 -6
- package/es/components/search-cascader/index.d.ts +27 -27
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +27 -27
- package/es/components/search-cascader/src/SearchCascader.vue2.js +10 -17
- package/es/components/search-cascader/src/components/ClearIcon.vue.js +17 -15
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +5 -5
- package/es/components/search-cascader/src/constants/index.js +12 -4
- package/es/components/select-label/index.d.ts +155 -119
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +48 -26
- package/es/components/select-label/src/LabelFormContent.vue2.js +27 -59
- package/es/components/select-label/src/SelectLabel.vue.d.ts +64 -42
- package/es/components/select-label/src/SelectLabel.vue2.js +15 -48
- package/es/components/select-label/src/components/label-classify.vue.d.ts +24 -14
- package/es/components/select-label/src/components/label-classify.vue2.js +30 -47
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +21 -29
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +17 -28
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +37 -45
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +9 -36
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +9 -17
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +14 -24
- package/es/components/select-label/src/index.vue.d.ts +107 -93
- package/es/components/select-label/src/index.vue2.js +1 -2
- package/es/components/select-person/index.d.ts +190 -257
- package/es/components/select-person/src/SelectPerson.vue.d.ts +87 -124
- package/es/components/select-person/src/SelectPerson.vue2.js +22 -67
- package/es/components/select-person/src/SelectPersonRole.vue.d.ts +66 -80
- package/es/components/select-person/src/SelectPersonRole.vue2.js +24 -107
- package/es/components/select-person/src/SelectPersonType.vue.d.ts +31 -41
- package/es/components/select-person/src/SelectPersonType.vue2.js +11 -45
- package/es/components/select-person/src/components/GroupItem.vue.d.ts +5 -5
- package/es/components/select-person/src/components/GroupItem.vue2.js +1 -2
- package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +39 -39
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +102 -105
- package/es/components/select-person/src/components/SearchMultiple.vue.d.ts +18 -17
- package/es/components/select-person/src/components/SearchMultiple.vue2.js +2 -3
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue.d.ts +20 -19
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +8 -15
- package/es/components/select-person/src/components/TagItem.vue.d.ts +11 -11
- package/es/components/select-person/src/components/TagItem.vue2.js +1 -2
- package/es/components/select-person/src/index.vue.d.ts +240 -307
- package/es/components/select-person/src/index.vue2.js +10 -24
- package/es/components/select-person/src/utils/index.d.ts +1 -1
- package/es/components/shortcut-provider/index.d.ts +9 -9
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +9 -9
- package/es/components/shortcut-provider/src/ShortcutProvider.vue2.js +6 -8
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature.d.ts +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature.js +1 -4
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +11 -25
- package/es/components/shortcut-provider/src/utils/index.js +5 -27
- package/es/components/shortcut-setter/index.d.ts +81 -287
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +81 -287
- package/es/components/shortcut-setter/src/ShortcutSetter.vue2.js +7 -24
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +23 -13
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue2.js +27 -51
- package/es/components/slider-tree/index.d.ts +22 -22
- package/es/components/slider-tree/src/index.vue.d.ts +22 -22
- package/es/components/slider-tree/src/index.vue2.js +8 -22
- package/es/components/step-notice/index.d.ts +58 -58
- package/es/components/step-notice/src/StepNotice.vue.d.ts +57 -57
- package/es/components/step-notice/src/StepNotice.vue2.js +42 -54
- package/es/components/step-notice/src/components/NoticeConnection.vue.d.ts +12 -12
- package/es/components/step-notice/src/components/NoticeConnection.vue2.js +27 -27
- package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +40 -40
- package/es/components/step-notice/src/components/NoticeItem.vue2.js +80 -54
- package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +9 -9
- package/es/components/step-notice/src/components/NoticeItemAside.vue2.js +45 -33
- package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +9 -9
- package/es/components/step-notice/src/components/NoticeOperationList.vue2.js +43 -37
- package/es/components/steps-wheel/index.d.ts +17 -17
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +17 -17
- package/es/components/steps-wheel/src/StepsWheel.vue2.js +221 -208
- package/es/components/table-export-field/index.d.ts +66 -82
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +27 -33
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +20 -111
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +23 -23
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +15 -92
- package/es/components/table-export-field/src/constants/index.js +3 -1
- package/es/components/table-export-field/src/index.vue.d.ts +66 -82
- package/es/components/table-export-field/src/index.vue2.js +7 -28
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +71 -71
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +19 -47
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +25 -25
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +9 -10
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +11 -11
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +8 -11
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +11 -11
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +7 -8
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +12 -12
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +10 -13
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +59 -59
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -264
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +4 -15
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +94 -94
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +48 -133
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +224 -230
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +41 -55
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +15 -15
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +20 -90
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +44 -44
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +21 -35
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +47 -47
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +31 -73
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.d.ts +13 -19
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +10 -24
- package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue.d.ts +11 -11
- package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue2.js +7 -8
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +13 -13
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +8 -21
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +43 -43
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +54 -78
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +12 -12
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +10 -13
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +14 -14
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +18 -39
- package/es/components/table-filter/src/components/classify-filter/components/SelectTreeDynamic.vue.d.ts +14 -14
- package/es/components/table-filter/src/components/classify-filter/components/SelectTreeDynamic.vue2.js +15 -37
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +210 -216
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +9 -64
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -8
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +4 -15
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +247 -253
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +43 -116
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +12 -12
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue2.js +14 -13
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +39 -39
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +13 -34
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +27 -27
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +3 -10
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +10 -10
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +16 -18
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +39 -39
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +19 -46
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +27 -27
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +4 -18
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +13 -13
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +10 -17
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.d.ts +13 -13
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +8 -21
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +18 -18
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +10 -22
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +14 -14
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +18 -39
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +11 -11
- package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +18 -23
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +43 -49
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +58 -93
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +24 -24
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +9 -30
- package/es/components/table-filter/src/components/render-widget/components/SelectTree.vue.d.ts +11 -11
- package/es/components/table-filter/src/components/render-widget/components/SelectTree.vue2.js +11 -16
- package/es/components/table-filter/src/components/render-widget/components/SelectTreeDynamic.vue.d.ts +13 -13
- package/es/components/table-filter/src/components/render-widget/components/SelectTreeDynamic.vue2.js +14 -37
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +279 -285
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +211 -1680
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +194 -39
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -8
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.js +5 -22
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +5 -5
- package/es/components/table-filter/src/components/render-widget/index.vue.js +26 -64
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +266 -272
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -16
- package/es/components/table-filter/src/constants/index.js +12 -4
- package/es/components/table-filter/src/hooks/useAdvanced.js +21 -31
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useMixins.js +2 -8
- package/es/components/table-filter/src/hooks/useRenderWidget.js +15 -33
- package/es/components/table-filter/src/tool/baseOptions.js +20 -152
- package/es/components/table-filter/src/tool/date.js +5 -10
- package/es/components/table-filter/src/tool/transformData.js +5 -26
- package/es/components/time-line/index.d.ts +11 -11
- package/es/components/time-line/src/TimeLine.vue.d.ts +11 -11
- package/es/components/time-line/src/TimeLine.vue2.js +49 -44
- package/es/components/time-picker/index.d.ts +19 -19
- package/es/components/time-picker/src/TimePicker.vue.d.ts +19 -19
- package/es/components/time-picker/src/TimePicker.vue2.js +57 -61
- package/es/components/tooth-bitmap/index.d.ts +14 -14
- package/es/components/tooth-bitmap/src/ToothBitmap.vue.d.ts +12 -12
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -36
- package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +22 -19
- package/es/components/vertify/src/components/IdentityVerification.vue2.js +17 -80
- package/es/components/vertify/src/utils/dialog.js +3 -16
- package/es/components/vod-chunk-upload/index.d.ts +28 -248
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +18 -18
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +36 -125
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -36
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +11 -72
- package/es/components/vod-chunk-upload/src/hooks/vod-computed.js +5 -17
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +28 -248
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +34 -102
- package/es/components/vod-chunk-upload/src/vod-upload-modal.d.ts +5 -207
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +3 -16
- package/es/env.d.ts +25 -25
- package/es/shared/components/AbbrText/AbbrText.d.ts +3 -3
- package/es/shared/components/ArrowIcon/ArrowIcon.vue.js +8 -6
- package/es/shared/components/CancelRadio/CancelRadio.d.ts +6 -6
- package/es/shared/components/DateIcon/DateIcon.vue.js +13 -11
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -5
- package/es/shared/components/JSONTree/JSONTree.vue.d.ts +8 -8
- package/es/shared/components/JSONTree/JSONTree.vue2.js +1 -1
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +10 -10
- package/es/shared/components/SelectPage/SelectPage.vue2.js +2 -2
- package/es/shared/components/SlotRender/SlotRender.d.ts +3 -3
- package/es/shared/components/SvgIcon/SvgIcon.vue.d.ts +10 -6
- package/es/shared/components/SvgIcon/SvgIcon.vue2.js +5 -5
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +17 -9
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue2.js +9 -9
- package/es/shared/components/no-data/NoData.vue.d.ts +7 -7
- package/es/shared/components/no-data/NoData.vue2.js +5 -5
- package/es/shared/components/player-vod/index.vue.d.ts +1 -1
- package/es/shared/components/player-vod/player.d.ts +4 -4
- package/es/shared/components/player-vod/video-list.d.ts +4 -77
- package/es/shared/components/player-vod/video-modal.d.ts +5 -23
- package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +2 -2
- package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +4 -4
- package/es/shared/hooks/useLevelSearchCascader.d.ts +4 -7
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/index.js +1 -14
- package/package.json +2 -2
- package/es/components/form-config/src/hooks/useLocale.d.ts +0 -60
- package/es/components/form-config/src/hooks/useLocale.js +0 -307
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
2
|
+
import { defineComponent, computed, openBlock, createElementBlock, unref, Fragment, createVNode, isRef, createBlock, createCommentVNode } from 'vue';
|
2
3
|
import DatePicker from '../../../../../date-picker/index.js';
|
3
4
|
import { NSelect } from 'naive-ui';
|
4
5
|
import DateOption from './Base/DateOption.vue.js';
|
@@ -42,10 +43,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
43
|
},
|
43
44
|
emits: ["update:modelValue", "update:presetVal", "update:customDate"],
|
44
45
|
setup(__props, {
|
45
|
-
emit
|
46
|
+
emit
|
46
47
|
}) {
|
47
48
|
const props = __props;
|
48
|
-
const emit = __emit;
|
49
49
|
const filterType = computed(() => {
|
50
50
|
switch (props.item.condition) {
|
51
51
|
case ConditionEnums.EQUAL:
|
@@ -124,14 +124,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
124
124
|
};
|
125
125
|
});
|
126
126
|
options2.unshift({
|
127
|
-
label:
|
128
|
-
var _a2, _b, _c;
|
129
|
-
try {
|
130
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
131
|
-
} catch (e) {
|
132
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
133
|
-
}
|
134
|
-
}(),
|
127
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
135
128
|
value: WidgetValEnums.CUSTOM
|
136
129
|
});
|
137
130
|
return options2;
|
@@ -147,14 +140,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
147
140
|
};
|
148
141
|
});
|
149
142
|
options.unshift({
|
150
|
-
label:
|
151
|
-
var _a2, _b, _c;
|
152
|
-
try {
|
153
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
154
|
-
} catch (e) {
|
155
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
156
|
-
}
|
157
|
-
}(),
|
143
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
158
144
|
value: WidgetValEnums.CUSTOM
|
159
145
|
});
|
160
146
|
return options;
|
@@ -168,7 +154,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
168
154
|
return setTimeDisabled(ts, optionSetting.value);
|
169
155
|
}
|
170
156
|
return (_ctx, _cache) => {
|
171
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [filterType
|
157
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [unref(filterType) === "1" ? (openBlock(), createElementBlock(Fragment, {
|
172
158
|
key: 0
|
173
159
|
}, [createVNode(unref(NSelect), {
|
174
160
|
style: {
|
@@ -176,31 +162,31 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
176
162
|
},
|
177
163
|
class: "form-item",
|
178
164
|
to: "body",
|
179
|
-
value: presetValCp
|
180
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => presetValCp.value = $event),
|
181
|
-
options: widgetOptions
|
182
|
-
}, null, 8, ["value", "options"]), presetValCp
|
165
|
+
value: unref(presetValCp),
|
166
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null),
|
167
|
+
options: unref(widgetOptions)
|
168
|
+
}, null, 8, ["value", "options"]), unref(presetValCp) === unref(WidgetValEnums).CUSTOM ? (openBlock(), createBlock(unref(DatePicker), {
|
183
169
|
key: 0,
|
184
170
|
class: "form-item",
|
185
|
-
type: dateType
|
171
|
+
type: unref(dateType),
|
186
172
|
clearable: "",
|
187
173
|
to: "body",
|
188
174
|
"is-date-disabled": isDateDisabled,
|
189
175
|
"is-time-disabled": timeDisabled,
|
190
|
-
valueFormat: valueFormat
|
191
|
-
"formatted-value": valueCp
|
192
|
-
"onUpdate:
|
176
|
+
valueFormat: unref(valueFormat),
|
177
|
+
"formatted-value": unref(valueCp),
|
178
|
+
"onUpdate:formatted-value": _cache[1] || (_cache[1] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
193
179
|
}, null, 8, ["type", "valueFormat", "formatted-value"])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createBlock(DateOption, {
|
194
180
|
key: 1,
|
195
|
-
filterType: filterType
|
196
|
-
dateType: dateType
|
181
|
+
filterType: unref(filterType),
|
182
|
+
dateType: unref(dateType),
|
197
183
|
isDateDisabled,
|
198
184
|
timeDisabled,
|
199
|
-
valueFormat: valueFormat
|
200
|
-
modelValue: valueCp
|
201
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => valueCp.value = $event),
|
202
|
-
presetVal: presetValCp
|
203
|
-
"onUpdate:presetVal": _cache[3] || (_cache[3] = ($event) => presetValCp.value = $event)
|
185
|
+
valueFormat: unref(valueFormat),
|
186
|
+
modelValue: unref(valueCp),
|
187
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
188
|
+
presetVal: unref(presetValCp),
|
189
|
+
"onUpdate:presetVal": _cache[3] || (_cache[3] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null)
|
204
190
|
}, null, 8, ["filterType", "dateType", "valueFormat", "modelValue", "presetVal"]))]);
|
205
191
|
};
|
206
192
|
}
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
3
3
|
item: {
|
4
4
|
type: ObjectConstructor;
|
5
5
|
required: true;
|
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
20
20
|
type: StringConstructor;
|
21
21
|
default: null;
|
22
22
|
};
|
23
|
-
}
|
24
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
23
|
+
}, {
|
24
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
25
25
|
item: {
|
26
26
|
type: ObjectConstructor;
|
27
27
|
required: true;
|
@@ -42,15 +42,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
42
42
|
type: StringConstructor;
|
43
43
|
default: null;
|
44
44
|
};
|
45
|
-
}>> &
|
45
|
+
}>> & {
|
46
46
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
47
47
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
48
48
|
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
49
|
-
}
|
49
|
+
}>>;
|
50
50
|
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
51
|
-
startDate: import("vue").Ref<any
|
52
|
-
endDate: import("vue").Ref<any
|
53
|
-
filterType: import("vue").ComputedRef<"1" | "
|
51
|
+
startDate: import("vue").Ref<any>;
|
52
|
+
endDate: import("vue").Ref<any>;
|
53
|
+
filterType: import("vue").ComputedRef<"1" | "2" | "3">;
|
54
54
|
valueFormat: import("vue").ComputedRef<string>;
|
55
55
|
dateFormat: import("vue").ComputedRef<string>;
|
56
56
|
compType: import("vue").ComputedRef<any>;
|
@@ -68,8 +68,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
68
68
|
label: string;
|
69
69
|
value: string;
|
70
70
|
}[]>;
|
71
|
-
presetValCp: import("vue").WritableComputedRef<string
|
72
|
-
valueDateCp: import("vue").WritableComputedRef<
|
71
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
72
|
+
valueDateCp: import("vue").WritableComputedRef<unknown>;
|
73
73
|
handleChange: (val: any, type: 'start' | 'end') => void;
|
74
74
|
isStartDateDisabled: (ts: number) => boolean;
|
75
75
|
timeStartDisabled: (ts: number) => {
|
@@ -83,9 +83,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
83
83
|
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
84
84
|
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
85
85
|
};
|
86
|
-
|
87
|
-
|
88
|
-
|
86
|
+
NSelect: any;
|
87
|
+
NPopover: any;
|
88
|
+
CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
89
89
|
updateUnchangedValue: {
|
90
90
|
type: BooleanConstructor;
|
91
91
|
};
|
@@ -116,11 +116,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
116
116
|
isDateDisabled: {
|
117
117
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
118
118
|
};
|
119
|
-
}
|
119
|
+
}, {
|
120
120
|
attrs: {
|
121
121
|
[x: string]: unknown;
|
122
122
|
};
|
123
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
123
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
124
124
|
updateUnchangedValue: {
|
125
125
|
type: BooleanConstructor;
|
126
126
|
};
|
@@ -151,15 +151,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
151
151
|
isDateDisabled: {
|
152
152
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
153
153
|
};
|
154
|
-
}>> &
|
154
|
+
}>> & {
|
155
155
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
156
|
-
}
|
156
|
+
}>>;
|
157
157
|
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
158
|
-
datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null
|
159
|
-
panelInstRef: import("vue").Ref<null
|
160
|
-
placeholderRef: import("vue").Ref<any
|
161
|
-
oldValue:
|
162
|
-
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined
|
158
|
+
datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
|
159
|
+
panelInstRef: import("vue").Ref<null>;
|
160
|
+
placeholderRef: import("vue").Ref<any>;
|
161
|
+
oldValue: string;
|
162
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
163
163
|
isDateTime: import("vue").ComputedRef<boolean>;
|
164
164
|
formatRef: import("vue").ComputedRef<string>;
|
165
165
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
@@ -174,8 +174,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
174
174
|
onConfirm: (...args: any[]) => Promise<void>;
|
175
175
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
176
176
|
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
177
|
-
|
178
|
-
},
|
177
|
+
NDatePicker: any;
|
178
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
179
179
|
updateUnchangedValue: {
|
180
180
|
type: BooleanConstructor;
|
181
181
|
};
|
@@ -206,15 +206,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
206
206
|
isDateDisabled: {
|
207
207
|
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
208
208
|
};
|
209
|
-
}>> &
|
209
|
+
}>> & {
|
210
210
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
211
|
-
}
|
211
|
+
}, {
|
212
212
|
type: string;
|
213
213
|
updateUnchangedValue: boolean;
|
214
214
|
to: string | false | HTMLElement;
|
215
215
|
holidays: Date[];
|
216
|
-
}
|
217
|
-
DateOption: import("vue").DefineComponent<
|
216
|
+
}>>;
|
217
|
+
DateOption: import("vue").DefineComponent<{
|
218
218
|
filterType: {
|
219
219
|
type: StringConstructor;
|
220
220
|
required: true;
|
@@ -239,7 +239,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
239
239
|
valueFormat: {
|
240
240
|
type: StringConstructor;
|
241
241
|
};
|
242
|
-
}
|
242
|
+
}, {
|
243
243
|
widgetOptions: {
|
244
244
|
label: string;
|
245
245
|
value: string;
|
@@ -248,9 +248,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
248
248
|
label: string;
|
249
249
|
value: string;
|
250
250
|
}[];
|
251
|
-
startDateNum: import("vue").Ref<any
|
252
|
-
endDateNum: import("vue").Ref<any
|
253
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
251
|
+
startDateNum: import("vue").Ref<any>;
|
252
|
+
endDateNum: import("vue").Ref<any>;
|
253
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
254
254
|
filterType: {
|
255
255
|
type: StringConstructor;
|
256
256
|
required: true;
|
@@ -275,17 +275,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
275
275
|
valueFormat: {
|
276
276
|
type: StringConstructor;
|
277
277
|
};
|
278
|
-
}>> &
|
278
|
+
}>> & {
|
279
279
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
280
280
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
281
|
-
}
|
281
|
+
}>>;
|
282
282
|
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
283
|
-
valueCp: import("vue").WritableComputedRef<any
|
284
|
-
presetValCp: import("vue").WritableComputedRef<string
|
283
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
284
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
285
285
|
handleChange: (val: any, type: "start" | "end") => void;
|
286
|
-
|
287
|
-
|
288
|
-
},
|
286
|
+
NSelect: any;
|
287
|
+
NInputNumber: any;
|
288
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
289
289
|
filterType: {
|
290
290
|
type: StringConstructor;
|
291
291
|
required: true;
|
@@ -310,14 +310,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
310
310
|
valueFormat: {
|
311
311
|
type: StringConstructor;
|
312
312
|
};
|
313
|
-
}>> &
|
313
|
+
}>> & {
|
314
314
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
315
315
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
316
|
-
}
|
316
|
+
}, {
|
317
317
|
modelValue: string | number | unknown[];
|
318
318
|
presetVal: string;
|
319
|
-
}
|
320
|
-
|
319
|
+
}>;
|
320
|
+
WidgetValEnums: {
|
321
321
|
CUSTOM: string;
|
322
322
|
FIRST_VAL: string;
|
323
323
|
WHOLE: string;
|
@@ -348,7 +348,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
348
348
|
NEXT_YEAR: string;
|
349
349
|
LAST_YEAR: string;
|
350
350
|
};
|
351
|
-
},
|
351
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
352
352
|
item: {
|
353
353
|
type: ObjectConstructor;
|
354
354
|
required: true;
|
@@ -369,14 +369,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
369
369
|
type: StringConstructor;
|
370
370
|
default: null;
|
371
371
|
};
|
372
|
-
}>> &
|
372
|
+
}>> & {
|
373
373
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
374
374
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
375
375
|
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
376
|
-
}
|
376
|
+
}, {
|
377
377
|
modelValue: string | number | unknown[];
|
378
378
|
paramCfg: Record<string, any>;
|
379
379
|
presetVal: string;
|
380
380
|
customDate: string;
|
381
|
-
}
|
381
|
+
}>;
|
382
382
|
export default _default;
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
2
|
+
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, unref, Fragment, createVNode, isRef, withCtx, toDisplayString, createCommentVNode, createBlock } from 'vue';
|
2
3
|
import { NSelect, NPopover } from 'naive-ui';
|
3
4
|
import DatePicker from '../../../../../date-picker/index.js';
|
4
5
|
import DateOption from './Base/DateOption.vue.js';
|
@@ -53,10 +54,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
54
|
},
|
54
55
|
emits: ["update:modelValue", "update:presetVal", "update:customDate"],
|
55
56
|
setup(__props, {
|
56
|
-
emit
|
57
|
+
emit
|
57
58
|
}) {
|
58
59
|
const props = __props;
|
59
|
-
const emit = __emit;
|
60
60
|
const startDate = ref();
|
61
61
|
const endDate = ref();
|
62
62
|
const filterType = computed(() => {
|
@@ -106,38 +106,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
106
106
|
const isPastTime = computed(() => optionSetting.value === WidgetOptionEnums.PAST_TIME);
|
107
107
|
const isFutureTime = computed(() => optionSetting.value === WidgetOptionEnums.FUTURE_TIME);
|
108
108
|
const startPlaceholder = computed(() => {
|
109
|
-
return compType.value === WidgetTypeEnums.DATE ?
|
110
|
-
var _a, _b, _c;
|
111
|
-
try {
|
112
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.366")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.366")) || "\u521D\u59CB\u65E5\u671F";
|
113
|
-
} catch (e) {
|
114
|
-
return "\u521D\u59CB\u65E5\u671F";
|
115
|
-
}
|
116
|
-
}() : function() {
|
117
|
-
var _a, _b, _c;
|
118
|
-
try {
|
119
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.367")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.367")) || "\u521D\u59CB\u65F6\u95F4";
|
120
|
-
} catch (e) {
|
121
|
-
return "\u521D\u59CB\u65F6\u95F4";
|
122
|
-
}
|
123
|
-
}();
|
109
|
+
return compType.value === WidgetTypeEnums.DATE ? i18n("10010.1.366", "\u521D\u59CB\u65E5\u671F") : i18n("10010.1.367", "\u521D\u59CB\u65F6\u95F4");
|
124
110
|
});
|
125
111
|
const endPlaceholder = computed(() => {
|
126
|
-
return compType.value === WidgetTypeEnums.DATE ?
|
127
|
-
var _a, _b, _c;
|
128
|
-
try {
|
129
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.368")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.368")) || "\u622A\u6B62\u65E5\u671F";
|
130
|
-
} catch (e) {
|
131
|
-
return "\u622A\u6B62\u65E5\u671F";
|
132
|
-
}
|
133
|
-
}() : function() {
|
134
|
-
var _a, _b, _c;
|
135
|
-
try {
|
136
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.369")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.369")) || "\u622A\u6B62\u65F6\u95F4";
|
137
|
-
} catch (e) {
|
138
|
-
return "\u622A\u6B62\u65F6\u95F4";
|
139
|
-
}
|
140
|
-
}();
|
112
|
+
return compType.value === WidgetTypeEnums.DATE ? i18n("10010.1.368", "\u622A\u6B62\u65E5\u671F") : i18n("10010.1.369", "\u622A\u6B62\u65F6\u95F4");
|
141
113
|
});
|
142
114
|
const startDefault = computed(() => {
|
143
115
|
if (isFutureTime.value)
|
@@ -172,14 +144,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
172
144
|
};
|
173
145
|
});
|
174
146
|
options2.unshift({
|
175
|
-
label:
|
176
|
-
var _a2, _b, _c;
|
177
|
-
try {
|
178
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
179
|
-
} catch (e) {
|
180
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
181
|
-
}
|
182
|
-
}(),
|
147
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
183
148
|
value: WidgetValEnums.CUSTOM
|
184
149
|
});
|
185
150
|
return options2;
|
@@ -195,14 +160,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
195
160
|
};
|
196
161
|
});
|
197
162
|
options.unshift({
|
198
|
-
label:
|
199
|
-
var _a2, _b, _c;
|
200
|
-
try {
|
201
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
202
|
-
} catch (e) {
|
203
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
204
|
-
}
|
205
|
-
}(),
|
163
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
206
164
|
value: WidgetValEnums.CUSTOM
|
207
165
|
});
|
208
166
|
return options;
|
@@ -277,7 +235,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
277
235
|
return isTimeEndRangeDisabled(ts, optionSetting.value, startDate.value);
|
278
236
|
}
|
279
237
|
return (_ctx, _cache) => {
|
280
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [filterType
|
238
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [unref(filterType) === "1" ? (openBlock(), createElementBlock(Fragment, {
|
281
239
|
key: 0
|
282
240
|
}, [createVNode(unref(NSelect), {
|
283
241
|
style: {
|
@@ -285,57 +243,57 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
285
243
|
},
|
286
244
|
class: "form-item",
|
287
245
|
to: "body",
|
288
|
-
value: presetValCp
|
289
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => presetValCp.value = $event),
|
290
|
-
options: widgetOptions
|
291
|
-
}, null, 8, ["value", "options"]), presetValCp
|
246
|
+
value: unref(presetValCp),
|
247
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null),
|
248
|
+
options: unref(widgetOptions)
|
249
|
+
}, null, 8, ["value", "options"]), unref(presetValCp) === unref(WidgetValEnums).CUSTOM ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(unref(NPopover), {
|
292
250
|
trigger: "hover",
|
293
|
-
disabled: !startDateFormat
|
251
|
+
disabled: !unref(startDateFormat)
|
294
252
|
}, {
|
295
253
|
trigger: withCtx(() => [createVNode(unref(DatePicker), {
|
296
|
-
type: dateType
|
297
|
-
"default-time": startDefault
|
254
|
+
type: unref(dateType),
|
255
|
+
"default-time": unref(startDefault),
|
298
256
|
clearable: "",
|
299
257
|
to: "body",
|
300
|
-
valueFormat: valueFormat
|
301
|
-
placeholder: startPlaceholder
|
258
|
+
valueFormat: unref(valueFormat),
|
259
|
+
placeholder: unref(startPlaceholder),
|
302
260
|
value: startDate.value,
|
303
261
|
"is-date-disabled": isStartDateDisabled,
|
304
262
|
"is-time-disabled": timeStartDisabled,
|
305
263
|
"onUpdate:value": _cache[1] || (_cache[1] = (val) => handleChange(val, "start"))
|
306
264
|
}, null, 8, ["type", "default-time", "valueFormat", "placeholder", "value"])]),
|
307
|
-
default: withCtx(() => [startDateFormat
|
265
|
+
default: withCtx(() => [unref(startDateFormat) ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(unref(startDateFormat)), 1)) : createCommentVNode("v-if", true)]),
|
308
266
|
_: 1
|
309
267
|
}, 8, ["disabled"]), createVNode(unref(NPopover), {
|
310
268
|
trigger: "hover",
|
311
|
-
disabled: !endDateFormat
|
269
|
+
disabled: !unref(endDateFormat)
|
312
270
|
}, {
|
313
271
|
trigger: withCtx(() => [createVNode(unref(DatePicker), {
|
314
272
|
style: {
|
315
273
|
"margin-left": "5px"
|
316
274
|
},
|
317
|
-
type: dateType
|
318
|
-
"default-time": endDefault
|
275
|
+
type: unref(dateType),
|
276
|
+
"default-time": unref(endDefault),
|
319
277
|
clearable: "",
|
320
278
|
to: "body",
|
321
|
-
valueFormat: valueFormat
|
322
|
-
placeholder: endPlaceholder
|
279
|
+
valueFormat: unref(valueFormat),
|
280
|
+
placeholder: unref(endPlaceholder),
|
323
281
|
value: endDate.value,
|
324
282
|
"is-date-disabled": isEndDateDisabled,
|
325
283
|
"is-time-disabled": timeEndDisabled,
|
326
284
|
"onUpdate:value": _cache[2] || (_cache[2] = (val) => handleChange(val, "end"))
|
327
285
|
}, null, 8, ["type", "default-time", "valueFormat", "placeholder", "value"])]),
|
328
|
-
default: withCtx(() => [endDateFormat
|
286
|
+
default: withCtx(() => [unref(endDateFormat) ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(endDateFormat)), 1)) : createCommentVNode("v-if", true)]),
|
329
287
|
_: 1
|
330
288
|
}, 8, ["disabled"])])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createBlock(DateOption, {
|
331
289
|
key: 1,
|
332
|
-
filterType: filterType
|
333
|
-
dateType: dateType
|
334
|
-
valueFormat: valueFormat
|
335
|
-
modelValue: valueDateCp
|
336
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => valueDateCp.value = $event),
|
337
|
-
presetVal: presetValCp
|
338
|
-
"onUpdate:presetVal": _cache[4] || (_cache[4] = ($event) => presetValCp.value = $event)
|
290
|
+
filterType: unref(filterType),
|
291
|
+
dateType: unref(dateType),
|
292
|
+
valueFormat: unref(valueFormat),
|
293
|
+
modelValue: unref(valueDateCp),
|
294
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(valueDateCp) ? valueDateCp.value = $event : null),
|
295
|
+
presetVal: unref(presetValCp),
|
296
|
+
"onUpdate:presetVal": _cache[4] || (_cache[4] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null)
|
339
297
|
}, null, 8, ["filterType", "dateType", "valueFormat", "modelValue", "presetVal"]))]);
|
340
298
|
};
|
341
299
|
}
|
package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
2
|
paramCfg: {
|
3
3
|
type: ObjectConstructor;
|
4
4
|
default: null;
|
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
10
10
|
isAccurateFilter: {
|
11
11
|
type: BooleanConstructor;
|
12
12
|
};
|
13
|
-
}
|
14
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
13
|
+
}, {
|
14
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
15
15
|
paramCfg: {
|
16
16
|
type: ObjectConstructor;
|
17
17
|
default: null;
|
@@ -23,27 +23,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
23
23
|
isAccurateFilter: {
|
24
24
|
type: BooleanConstructor;
|
25
25
|
};
|
26
|
-
}>> &
|
26
|
+
}>> & {
|
27
27
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
28
28
|
"onUpdate:isAccurateFilter"?: ((...args: any[]) => any) | undefined;
|
29
|
-
}
|
29
|
+
}>>;
|
30
30
|
emit: (event: "update:modelValue" | "update:isAccurateFilter", ...args: any[]) => void;
|
31
31
|
optionList: import("vue").Ref<{
|
32
32
|
label: string;
|
33
33
|
value: number;
|
34
|
-
}[], {
|
35
|
-
label: string;
|
36
|
-
value: number;
|
37
|
-
}[] | {
|
38
|
-
label: string;
|
39
|
-
value: number;
|
40
34
|
}[]>;
|
41
|
-
valueCp: import("vue").WritableComputedRef<any
|
42
|
-
isAccurateFilterCp: import("vue").WritableComputedRef<number
|
35
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
36
|
+
isAccurateFilterCp: import("vue").WritableComputedRef<number>;
|
43
37
|
isShowSearch: import("vue").ComputedRef<any>;
|
44
|
-
|
45
|
-
|
46
|
-
},
|
38
|
+
NInput: any;
|
39
|
+
NSelect: any;
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurateFilter")[], "update:modelValue" | "update:isAccurateFilter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
47
41
|
paramCfg: {
|
48
42
|
type: ObjectConstructor;
|
49
43
|
default: null;
|
@@ -55,12 +49,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
55
49
|
isAccurateFilter: {
|
56
50
|
type: BooleanConstructor;
|
57
51
|
};
|
58
|
-
}>> &
|
52
|
+
}>> & {
|
59
53
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
60
54
|
"onUpdate:isAccurateFilter"?: ((...args: any[]) => any) | undefined;
|
61
|
-
}
|
55
|
+
}, {
|
62
56
|
modelValue: string | number | unknown[];
|
63
57
|
paramCfg: Record<string, any>;
|
64
58
|
isAccurateFilter: boolean;
|
65
|
-
}
|
59
|
+
}>;
|
66
60
|
export default _default;
|
package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
2
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, unref, createBlock, isRef, createCommentVNode, createVNode } from 'vue';
|
2
3
|
import { NSelect, NInput } from 'naive-ui';
|
3
4
|
|
4
5
|
const _hoisted_1 = {
|
@@ -24,29 +25,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
25
|
},
|
25
26
|
emits: ["update:modelValue", "update:isAccurateFilter"],
|
26
27
|
setup(__props, {
|
27
|
-
emit
|
28
|
+
emit
|
28
29
|
}) {
|
29
30
|
const props = __props;
|
30
|
-
const emit = __emit;
|
31
31
|
const optionList = ref([{
|
32
|
-
label:
|
33
|
-
var _a, _b, _c;
|
34
|
-
try {
|
35
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.370")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.370")) || "\u7CBE\u786E\u67E5\u8BE2";
|
36
|
-
} catch (e) {
|
37
|
-
return "\u7CBE\u786E\u67E5\u8BE2";
|
38
|
-
}
|
39
|
-
}(),
|
32
|
+
label: i18n("10010.1.370", "\u7CBE\u786E\u67E5\u8BE2"),
|
40
33
|
value: 1
|
41
34
|
}, {
|
42
|
-
label:
|
43
|
-
var _a, _b, _c;
|
44
|
-
try {
|
45
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.371")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.371")) || "\u6A21\u7CCA\u67E5\u8BE2";
|
46
|
-
} catch (e) {
|
47
|
-
return "\u6A21\u7CCA\u67E5\u8BE2";
|
48
|
-
}
|
49
|
-
}(),
|
35
|
+
label: i18n("10010.1.371", "\u6A21\u7CCA\u67E5\u8BE2"),
|
50
36
|
value: 0
|
51
37
|
}]);
|
52
38
|
const valueCp = computed({
|
@@ -70,7 +56,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
70
56
|
return ((_a = props.paramCfg._rawData) == null ? void 0 : _a.filterExplicit) && ((_c = (_b = props.paramCfg._rawData) == null ? void 0 : _b.accurateSearch) == null ? void 0 : _c.switchEnable);
|
71
57
|
});
|
72
58
|
return (_ctx, _cache) => {
|
73
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [isShowSearch
|
59
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [unref(isShowSearch) ? (openBlock(), createBlock(unref(NSelect), {
|
74
60
|
key: 0,
|
75
61
|
class: "form-item",
|
76
62
|
to: "body",
|
@@ -78,15 +64,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
78
64
|
style: {
|
79
65
|
"width": "120px"
|
80
66
|
},
|
81
|
-
value: isAccurateFilterCp
|
82
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isAccurateFilterCp.value = $event),
|
67
|
+
value: unref(isAccurateFilterCp),
|
68
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(isAccurateFilterCp) ? isAccurateFilterCp.value = $event : null),
|
83
69
|
options: optionList.value
|
84
70
|
}, null, 8, ["value", "options"])) : createCommentVNode("v-if", true), createVNode(unref(NInput), {
|
85
71
|
style: {
|
86
72
|
"width": "160px"
|
87
73
|
},
|
88
|
-
value: valueCp
|
89
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => valueCp.value = $event),
|
74
|
+
value: unref(valueCp),
|
75
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
90
76
|
maxlength: "255",
|
91
77
|
clearable: ""
|
92
78
|
}, null, 8, ["value"])]);
|