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,7 +1,7 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
2
|
import { Position } from '@vueuse/core';
|
3
3
|
import type { KeyboardInstance } from './types';
|
4
|
-
declare const _default: import("vue").DefineComponent<
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
5
5
|
mode: {
|
6
6
|
type: PropType<"number" | "day" | "dose" | "english">;
|
7
7
|
default: string;
|
@@ -34,14 +34,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
34
34
|
y: number;
|
35
35
|
};
|
36
36
|
};
|
37
|
-
}
|
37
|
+
}, {
|
38
38
|
ENGLISHKEY: string;
|
39
39
|
ENGLISHOTHERKEY: string[];
|
40
40
|
ENGLISHKEYS: string[];
|
41
41
|
ENGLISHKEYS_: string[];
|
42
42
|
cssVars: import("vue").ComputedRef<import("../../../shared/types").AnyObject>;
|
43
|
-
toSelectInputContent: import("vue").Ref<number
|
44
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
43
|
+
toSelectInputContent: import("vue").Ref<number>;
|
44
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
45
45
|
mode: {
|
46
46
|
type: PropType<"number" | "day" | "dose" | "english">;
|
47
47
|
default: string;
|
@@ -74,10 +74,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
74
74
|
y: number;
|
75
75
|
};
|
76
76
|
};
|
77
|
-
}>> &
|
77
|
+
}>> & {
|
78
78
|
onChange?: ((...args: any[]) => any) | undefined;
|
79
79
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
80
|
-
}
|
80
|
+
}>>;
|
81
81
|
emit: (event: "change" | "keydown", ...args: any[]) => void;
|
82
82
|
isDefault: import("vue").ComputedRef<boolean>;
|
83
83
|
moveNumberPaneOptions: import("vue").ComputedRef<{
|
@@ -90,19 +90,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
90
90
|
onChange: (value: number) => void;
|
91
91
|
}>;
|
92
92
|
style: import("vue").ComputedRef<string>;
|
93
|
-
englishKeys: import("vue").Ref<string[]
|
94
|
-
popoverRef: import("vue").Ref<any
|
95
|
-
englishKeyboardRef: import("vue").Ref<HTMLDivElement | undefined
|
96
|
-
keyboardDragRef: import("vue").Ref<HTMLElement | undefined
|
97
|
-
numberPanelRef: import("vue").Ref<KeyboardInstance | undefined
|
98
|
-
currentValue: import("vue").Ref<any
|
99
|
-
draggableInstance:
|
100
|
-
position: import("vue").Ref<Position, Position>;
|
101
|
-
isDragging: import("vue").ComputedRef<boolean>;
|
102
|
-
style: import("vue").ComputedRef<string>;
|
103
|
-
x: import("vue").Ref<number, number>;
|
104
|
-
y: import("vue").Ref<number, number>;
|
105
|
-
} | null;
|
93
|
+
englishKeys: import("vue").Ref<string[]>;
|
94
|
+
popoverRef: import("vue").Ref<any>;
|
95
|
+
englishKeyboardRef: import("vue").Ref<HTMLDivElement | undefined>;
|
96
|
+
keyboardDragRef: import("vue").Ref<HTMLElement | undefined>;
|
97
|
+
numberPanelRef: import("vue").Ref<KeyboardInstance | undefined>;
|
98
|
+
currentValue: import("vue").Ref<any>;
|
99
|
+
draggableInstance: null;
|
106
100
|
_style: import("vue").ComputedRef<string> | undefined;
|
107
101
|
init: () => import("vue").ComputedRef<string> | undefined;
|
108
102
|
keydown: (key: string | number) => void;
|
@@ -110,14 +104,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
110
104
|
select: () => void;
|
111
105
|
setPosition: (position: Position) => void;
|
112
106
|
getPosition: () => Position;
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
NumberPanel: import("vue").DefineComponent<
|
107
|
+
NPopover: any;
|
108
|
+
NInputNumber: any;
|
109
|
+
NIcon: any;
|
110
|
+
NSpace: any;
|
111
|
+
ArrowUndoSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
112
|
+
Close: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
113
|
+
GitCompareOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
114
|
+
NumberPanel: import("vue").DefineComponent<{
|
121
115
|
defaultValue: {
|
122
116
|
type: NumberConstructor;
|
123
117
|
};
|
@@ -145,12 +139,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
145
139
|
type: BooleanConstructor;
|
146
140
|
default: boolean;
|
147
141
|
};
|
148
|
-
}
|
142
|
+
}, {
|
149
143
|
NUMBERKEYS: string;
|
150
144
|
DAYS: number[];
|
151
145
|
DOSENUMBERKEYS: string;
|
152
146
|
CALCULATIONSYMBOLS: string[];
|
153
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
147
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
154
148
|
defaultValue: {
|
155
149
|
type: NumberConstructor;
|
156
150
|
};
|
@@ -178,32 +172,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
178
172
|
type: BooleanConstructor;
|
179
173
|
default: boolean;
|
180
174
|
};
|
181
|
-
}>> &
|
175
|
+
}>> & {
|
182
176
|
onChange?: ((...args: any[]) => any) | undefined;
|
183
|
-
}
|
177
|
+
}>>;
|
184
178
|
emit: (event: "change", ...args: any[]) => void;
|
185
179
|
isNumber: import("vue").ComputedRef<boolean>;
|
186
180
|
isDay: import("vue").ComputedRef<boolean>;
|
187
181
|
isDose: import("vue").ComputedRef<boolean>;
|
188
182
|
numberKeys: import("vue").ComputedRef<string[]>;
|
189
|
-
days: import("vue").Ref<number[]
|
190
|
-
doses: import("vue").Ref<number[]
|
191
|
-
inputValue: import("vue").Ref<string
|
192
|
-
integerValue: import("vue").Ref<any
|
193
|
-
numeratorValue: import("vue").Ref<any
|
194
|
-
denominatorValue: import("vue").Ref<any
|
195
|
-
inputValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus
|
196
|
-
numeratorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus
|
197
|
-
denominatorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus
|
198
|
-
keyboardRef: import("vue").Ref<HTMLElement | null
|
199
|
-
inputRef:
|
200
|
-
draggableInstance:
|
201
|
-
position: import("vue").Ref<Position, Position>;
|
202
|
-
isDragging: import("vue").ComputedRef<boolean>;
|
203
|
-
style: import("vue").ComputedRef<string>;
|
204
|
-
x: import("vue").Ref<number, number>;
|
205
|
-
y: import("vue").Ref<number, number>;
|
206
|
-
} | null;
|
183
|
+
days: import("vue").Ref<number[]>;
|
184
|
+
doses: import("vue").Ref<number[]>;
|
185
|
+
inputValue: import("vue").Ref<string>;
|
186
|
+
integerValue: import("vue").Ref<any>;
|
187
|
+
numeratorValue: import("vue").Ref<any>;
|
188
|
+
denominatorValue: import("vue").Ref<any>;
|
189
|
+
inputValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
190
|
+
numeratorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
191
|
+
denominatorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
192
|
+
keyboardRef: import("vue").Ref<HTMLElement | null>;
|
193
|
+
inputRef: any;
|
194
|
+
draggableInstance: null;
|
207
195
|
style: import("vue").ComputedRef<string> | undefined;
|
208
196
|
init: () => import("vue").ComputedRef<string> | undefined;
|
209
197
|
setFocus: () => Promise<void>;
|
@@ -213,15 +201,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
213
201
|
validator: () => boolean;
|
214
202
|
updateFraction: (value: number) => void;
|
215
203
|
calculateFraction: () => void;
|
216
|
-
setInputStatus: (valueRef: import("vue").Ref<string
|
204
|
+
setInputStatus: (valueRef: import("vue").Ref<string>, statusRef: import("vue").Ref<string>, isInteger?: boolean | undefined) => true | undefined;
|
217
205
|
setInputValueStatus: () => void;
|
218
206
|
safeEval: (expression: string) => number;
|
219
207
|
setPosition: (position: Position) => void;
|
220
208
|
getPosition: () => Position;
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
InputNumber: import("vue").DefineComponent<
|
209
|
+
NIcon: any;
|
210
|
+
NSpace: any;
|
211
|
+
ArrowUndoSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
212
|
+
InputNumber: import("vue").DefineComponent<{
|
225
213
|
modelValue: {
|
226
214
|
type: StringConstructor;
|
227
215
|
default: string;
|
@@ -234,8 +222,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
234
222
|
type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
235
223
|
default: string;
|
236
224
|
};
|
237
|
-
}
|
238
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
225
|
+
}, {
|
226
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
239
227
|
modelValue: {
|
240
228
|
type: StringConstructor;
|
241
229
|
default: string;
|
@@ -248,22 +236,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
248
236
|
type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
249
237
|
default: string;
|
250
238
|
};
|
251
|
-
}>> &
|
239
|
+
}>> & {
|
252
240
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
253
241
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
254
|
-
}
|
242
|
+
}>>;
|
255
243
|
emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
|
256
|
-
inputRef:
|
257
|
-
toSelectInputContent: import("vue").Ref<number
|
244
|
+
inputRef: any;
|
245
|
+
toSelectInputContent: import("vue").Ref<number>;
|
258
246
|
update: (value: string | [string, string]) => void;
|
259
247
|
validator: (value: string) => boolean;
|
260
248
|
calculate: (type: string) => void;
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
},
|
249
|
+
NInput: any;
|
250
|
+
NIcon: any;
|
251
|
+
NSpace: any;
|
252
|
+
CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
253
|
+
CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
254
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
267
255
|
modelValue: {
|
268
256
|
type: StringConstructor;
|
269
257
|
default: string;
|
@@ -276,15 +264,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
276
264
|
type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
277
265
|
default: string;
|
278
266
|
};
|
279
|
-
}>> &
|
267
|
+
}>> & {
|
280
268
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
281
269
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
282
|
-
}
|
270
|
+
}, {
|
283
271
|
modelValue: string;
|
284
272
|
status: import("naive-ui/es/form/src/interface").FormValidationStatus;
|
285
273
|
integer: boolean;
|
286
|
-
}
|
287
|
-
},
|
274
|
+
}>;
|
275
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
288
276
|
defaultValue: {
|
289
277
|
type: NumberConstructor;
|
290
278
|
};
|
@@ -312,14 +300,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
312
300
|
type: BooleanConstructor;
|
313
301
|
default: boolean;
|
314
302
|
};
|
315
|
-
}>> &
|
303
|
+
}>> & {
|
316
304
|
onChange?: ((...args: any[]) => any) | undefined;
|
317
|
-
}
|
305
|
+
}, {
|
318
306
|
drag: boolean;
|
319
307
|
positionInitialValue: Position;
|
320
308
|
moveOffset: Position;
|
321
|
-
}
|
322
|
-
},
|
309
|
+
}>;
|
310
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "keydown")[], "change" | "keydown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
323
311
|
mode: {
|
324
312
|
type: PropType<"number" | "day" | "dose" | "english">;
|
325
313
|
default: string;
|
@@ -352,14 +340,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
352
340
|
y: number;
|
353
341
|
};
|
354
342
|
};
|
355
|
-
}>> &
|
343
|
+
}>> & {
|
356
344
|
onChange?: ((...args: any[]) => any) | undefined;
|
357
345
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
358
|
-
}
|
346
|
+
}, {
|
359
347
|
mode: "number" | "day" | "dose" | "english";
|
360
348
|
drag: boolean;
|
361
349
|
positionInitialValue: Position;
|
362
350
|
panel: boolean;
|
363
351
|
moveOffset: Position;
|
364
|
-
}
|
352
|
+
}>;
|
365
353
|
export default _default;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { i18n } from '../../../_virtual/_virtual_i18n-methods.js';
|
2
|
+
import { createElementVNode, defineComponent, ref, provide, computed, unref, openBlock, createBlock, normalizeStyle, withCtx, createVNode, mergeProps, createElementBlock, normalizeClass, Fragment, renderList, createCommentVNode, createTextVNode, toDisplayString } from 'vue';
|
2
3
|
import { NPopover, NInputNumber, NSpace, NIcon } from 'naive-ui';
|
3
4
|
import { Close, GitCompareOutline, ArrowUndoSharp } from '@vicons/ionicons5';
|
4
5
|
import NumberPanel from './components/NumberPanel.vue.js';
|
@@ -13,11 +14,11 @@ import '../../../shared/hooks/selectHooks/useSearchContent.js';
|
|
13
14
|
import '../../../shared/hooks/useScrollLoading.js';
|
14
15
|
import { defaultCssVars } from './constants/index.js';
|
15
16
|
|
16
|
-
const _hoisted_1 =
|
17
|
+
const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", null, i18n("10010.1.142", "\u952E\u76D8"), -1);
|
18
|
+
const _hoisted_2 = {
|
17
19
|
class: "keys"
|
18
20
|
};
|
19
|
-
const
|
20
|
-
const ENGLISHKEY = "QWERTYUIOPASDFGHJKLZXCVBNM.";
|
21
|
+
const _hoisted_3 = ["onClick"];
|
21
22
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
22
23
|
__name: "Keyboard",
|
23
24
|
props: {
|
@@ -59,17 +60,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
59
60
|
"keydown"
|
60
61
|
],
|
61
62
|
setup(__props, {
|
62
|
-
expose
|
63
|
-
emit
|
63
|
+
expose,
|
64
|
+
emit
|
64
65
|
}) {
|
66
|
+
const props = __props;
|
67
|
+
const ENGLISHKEY = "QWERTYUIOPASDFGHJKLZXCVBNM.";
|
65
68
|
const ENGLISHOTHERKEY = ["Switch", " ", "Undo", "Enter"];
|
66
69
|
const ENGLISHKEYS = ENGLISHKEY.split("").concat(ENGLISHOTHERKEY);
|
67
70
|
const ENGLISHKEYS_ = ENGLISHKEY.split(".")[0].split("").sort().concat(["."], ENGLISHOTHERKEY);
|
68
71
|
const cssVars = useTheme(defaultCssVars, "Keyboard");
|
69
72
|
let toSelectInputContent = ref(Date.now());
|
70
73
|
provide("toSelectInputContent", toSelectInputContent);
|
71
|
-
const props = __props;
|
72
|
-
const emit = __emit;
|
73
74
|
const isDefault = computed(() => props.mode === "english");
|
74
75
|
const moveNumberPaneOptions = computed(() => {
|
75
76
|
return {
|
@@ -147,13 +148,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
147
148
|
y: 0
|
148
149
|
};
|
149
150
|
}
|
150
|
-
|
151
|
+
expose({
|
151
152
|
select,
|
152
153
|
setPosition,
|
153
154
|
getPosition
|
154
155
|
});
|
155
156
|
return (_ctx, _cache) => {
|
156
|
-
return !isDefault
|
157
|
+
return !unref(isDefault) && !__props.panel ? (openBlock(), createBlock(unref(NPopover), {
|
157
158
|
key: 0,
|
158
159
|
ref_key: "popoverRef",
|
159
160
|
ref: popoverRef,
|
@@ -176,11 +177,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
176
177
|
onChange
|
177
178
|
}, null, 8, ["mode", "defaultValue"])]),
|
178
179
|
_: 1
|
179
|
-
}, 8, ["style"])) : !isDefault
|
180
|
+
}, 8, ["style"])) : !unref(isDefault) && __props.panel ? (openBlock(), createBlock(NumberPanel, mergeProps({
|
180
181
|
key: 1,
|
181
182
|
ref_key: "numberPanelRef",
|
182
183
|
ref: numberPanelRef
|
183
|
-
}, moveNumberPaneOptions
|
184
|
+
}, unref(moveNumberPaneOptions), {
|
184
185
|
style: unref(cssVars)
|
185
186
|
}), null, 16, ["style"])) : (openBlock(), createElementBlock("div", {
|
186
187
|
key: 2,
|
@@ -189,7 +190,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
189
190
|
}]),
|
190
191
|
ref_key: "englishKeyboardRef",
|
191
192
|
ref: englishKeyboardRef,
|
192
|
-
style: normalizeStyle(style
|
193
|
+
style: normalizeStyle(unref(style))
|
193
194
|
}, [createVNode(unref(NSpace), {
|
194
195
|
"wrap-item": false,
|
195
196
|
align: "center",
|
@@ -200,19 +201,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
200
201
|
cursor: __props.drag ? "move" : "default"
|
201
202
|
})
|
202
203
|
}, {
|
203
|
-
default: withCtx(() => [
|
204
|
-
var _a, _b, _c;
|
205
|
-
try {
|
206
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.142")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.142")) || "\u952E\u76D8";
|
207
|
-
} catch (e) {
|
208
|
-
return "\u952E\u76D8";
|
209
|
-
}
|
210
|
-
}(), -1)), createVNode(unref(NIcon), {
|
204
|
+
default: withCtx(() => [_hoisted_1, createVNode(unref(NIcon), {
|
211
205
|
onClick: _cache[1] || (_cache[1] = ($event) => keydown("close")),
|
212
206
|
component: unref(Close)
|
213
207
|
}, null, 8, ["component"])]),
|
214
208
|
_: 1
|
215
|
-
}, 8, ["style"]), createElementVNode("div",
|
209
|
+
}, 8, ["style"]), createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(englishKeys.value, (key, index) => {
|
216
210
|
return openBlock(), createElementBlock("span", {
|
217
211
|
key,
|
218
212
|
class: normalizeClass(["key" + index]),
|
@@ -223,14 +217,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
223
217
|
}, null, 8, ["component"])) : createCommentVNode("v-if", true), key === "Undo" ? (openBlock(), createBlock(unref(NIcon), {
|
224
218
|
key: 1,
|
225
219
|
component: unref(ArrowUndoSharp)
|
226
|
-
}, null, 8, ["component"])) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(!ENGLISHOTHERKEY.includes(key) || key === "Enter" ? key : key === "" ?
|
227
|
-
var _a, _b, _c;
|
228
|
-
try {
|
229
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.143")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.143")) || "\u7A7A\u683C";
|
230
|
-
} catch (e) {
|
231
|
-
return "\u7A7A\u683C";
|
232
|
-
}
|
233
|
-
}() : ""), 1)], 10, _hoisted_2);
|
220
|
+
}, null, 8, ["component"])) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(!ENGLISHOTHERKEY.includes(key) || key === "Enter" ? key : key === "" ? i18n("10010.1.143", "\u7A7A\u683C") : ""), 1)], 10, _hoisted_3);
|
234
221
|
}), 128))])], 6));
|
235
222
|
};
|
236
223
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PropType, Ref } from 'vue';
|
2
2
|
import { FormValidationStatus } from 'naive-ui/es/form/src/interface';
|
3
|
-
declare const _default: import("vue").DefineComponent<
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
4
|
modelValue: {
|
5
5
|
type: StringConstructor;
|
6
6
|
default: string;
|
@@ -13,8 +13,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
13
13
|
type: PropType<FormValidationStatus>;
|
14
14
|
default: string;
|
15
15
|
};
|
16
|
-
}
|
17
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
16
|
+
}, {
|
17
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
18
18
|
modelValue: {
|
19
19
|
type: StringConstructor;
|
20
20
|
default: string;
|
@@ -27,22 +27,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
27
27
|
type: PropType<FormValidationStatus>;
|
28
28
|
default: string;
|
29
29
|
};
|
30
|
-
}>> &
|
30
|
+
}>> & {
|
31
31
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
32
32
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
33
|
-
}
|
33
|
+
}>>;
|
34
34
|
emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
|
35
|
-
inputRef:
|
36
|
-
toSelectInputContent: Ref<number
|
35
|
+
inputRef: any;
|
36
|
+
toSelectInputContent: Ref<number>;
|
37
37
|
update: (value: string | [string, string]) => void;
|
38
38
|
validator: (value: string) => boolean;
|
39
39
|
calculate: (type: string) => void;
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
},
|
40
|
+
NInput: any;
|
41
|
+
NIcon: any;
|
42
|
+
NSpace: any;
|
43
|
+
CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
44
|
+
CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
45
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
46
46
|
modelValue: {
|
47
47
|
type: StringConstructor;
|
48
48
|
default: string;
|
@@ -55,12 +55,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
55
55
|
type: PropType<FormValidationStatus>;
|
56
56
|
default: string;
|
57
57
|
};
|
58
|
-
}>> &
|
58
|
+
}>> & {
|
59
59
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
60
60
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
61
|
-
}
|
61
|
+
}, {
|
62
62
|
modelValue: string;
|
63
63
|
status: FormValidationStatus;
|
64
64
|
integer: boolean;
|
65
|
-
}
|
65
|
+
}>;
|
66
66
|
export default _default;
|
@@ -6,26 +6,13 @@ import { getNumber } from '../utils/index.js';
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
7
7
|
__name: "InputNumber",
|
8
8
|
props: {
|
9
|
-
modelValue: {
|
10
|
-
|
11
|
-
|
12
|
-
},
|
13
|
-
integer: {
|
14
|
-
type: Boolean,
|
15
|
-
default: false
|
16
|
-
},
|
17
|
-
status: {
|
18
|
-
type: String,
|
19
|
-
default: "success"
|
20
|
-
}
|
9
|
+
modelValue: { type: String, default: "" },
|
10
|
+
integer: { type: Boolean, default: false },
|
11
|
+
status: { type: String, default: "success" }
|
21
12
|
},
|
22
13
|
emits: ["update:modelValue", "update:status"],
|
23
|
-
setup(__props, {
|
24
|
-
expose: __expose,
|
25
|
-
emit: __emit
|
26
|
-
}) {
|
14
|
+
setup(__props, { expose, emit }) {
|
27
15
|
const props = __props;
|
28
|
-
const emit = __emit;
|
29
16
|
const inputRef = ref(null);
|
30
17
|
const toSelectInputContent = inject("toSelectInputContent");
|
31
18
|
function update(value) {
|
@@ -47,11 +34,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
34
|
emit("update:modelValue", newValue.toString());
|
48
35
|
emit("update:status", "success");
|
49
36
|
}
|
50
|
-
watch(
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
37
|
+
watch(
|
38
|
+
() => toSelectInputContent.value,
|
39
|
+
(value) => {
|
40
|
+
var _a, _b;
|
41
|
+
!props.integer && ((_b = (_a = inputRef.value) == null ? void 0 : _a.select) == null ? void 0 : _b.call(_a));
|
42
|
+
}
|
43
|
+
);
|
44
|
+
expose({
|
55
45
|
$childrenRefs: inputRef
|
56
46
|
});
|
57
47
|
return (_ctx, _cache) => {
|
@@ -65,21 +55,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
65
55
|
status: __props.status,
|
66
56
|
clearable: !__props.integer
|
67
57
|
}, {
|
68
|
-
suffix: withCtx(() => [
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
58
|
+
suffix: withCtx(() => [
|
59
|
+
createVNode(unref(NSpace), {
|
60
|
+
justify: "center",
|
61
|
+
vertical: ""
|
62
|
+
}, {
|
63
|
+
default: withCtx(() => [
|
64
|
+
createVNode(unref(NIcon), {
|
65
|
+
size: "13",
|
66
|
+
component: unref(CaretUp),
|
67
|
+
onClick: _cache[0] || (_cache[0] = ($event) => calculate("+"))
|
68
|
+
}, null, 8, ["component"]),
|
69
|
+
createVNode(unref(NIcon), {
|
70
|
+
size: "13",
|
71
|
+
component: unref(CaretDown),
|
72
|
+
onClick: _cache[1] || (_cache[1] = ($event) => calculate("-"))
|
73
|
+
}, null, 8, ["component"])
|
74
|
+
]),
|
75
|
+
_: 1
|
76
|
+
})
|
77
|
+
]),
|
83
78
|
_: 1
|
84
79
|
}, 8, ["value", "status", "clearable"]);
|
85
80
|
};
|