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 { FormConfigItem, FormConfigTextFormatter } from '../../../../../components/form-config';
|
3
3
|
import { bindHover } from '../../../../../components/form-config/src/utils';
|
4
|
-
declare const _default: import("vue").DefineComponent<
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
5
5
|
formConfigItem: {
|
6
6
|
type: PropType<FormConfigItem>;
|
7
7
|
required: true;
|
@@ -18,8 +18,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
18
18
|
type: BooleanConstructor;
|
19
19
|
default: boolean;
|
20
20
|
};
|
21
|
-
}
|
22
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
21
|
+
}, {
|
22
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
23
23
|
formConfigItem: {
|
24
24
|
type: PropType<FormConfigItem>;
|
25
25
|
required: true;
|
@@ -36,8 +36,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
36
36
|
type: BooleanConstructor;
|
37
37
|
default: boolean;
|
38
38
|
};
|
39
|
-
}>> &
|
40
|
-
currentActiveEditField: import("vue").Ref<import("../../../../../shared/types").UndefinedAble<FormConfigItem
|
39
|
+
}>> & {}>>;
|
40
|
+
currentActiveEditField: import("vue").Ref<import("../../../../../shared/types").UndefinedAble<FormConfigItem>>;
|
41
41
|
setActiveField: () => void;
|
42
42
|
ellipsisClassList: import("vue").ComputedRef<(string | {
|
43
43
|
'is-required': boolean | undefined;
|
@@ -50,33 +50,33 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
50
50
|
disabled: import("vue").ComputedRef<boolean>;
|
51
51
|
displayText: import("vue").ComputedRef<string>;
|
52
52
|
showCloseBtn: import("vue").ComputedRef<boolean | undefined>;
|
53
|
-
|
54
|
-
CloseButton: import("vue").DefineComponent<
|
53
|
+
NEllipsis: any;
|
54
|
+
CloseButton: import("vue").DefineComponent<{
|
55
55
|
formConfigItem: {
|
56
56
|
type: PropType<FormConfigItem>;
|
57
57
|
required: true;
|
58
58
|
};
|
59
|
-
}
|
60
|
-
props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
59
|
+
}, {
|
60
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
61
61
|
formConfigItem: {
|
62
62
|
type: PropType<FormConfigItem>;
|
63
63
|
required: true;
|
64
64
|
};
|
65
|
-
}>> &
|
66
|
-
fieldList: import("vue").Ref<FormConfigItem[]
|
67
|
-
materialList: import("vue").Ref<FormConfigItem[]
|
65
|
+
}>> & {}>>;
|
66
|
+
fieldList: import("vue").Ref<FormConfigItem[]>;
|
67
|
+
materialList: import("vue").Ref<FormConfigItem[]>;
|
68
68
|
remove: () => void;
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
},
|
69
|
+
CloseCircle: 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<{}>>, {}>;
|
70
|
+
NButton: any;
|
71
|
+
NIcon: any;
|
72
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
73
73
|
formConfigItem: {
|
74
74
|
type: PropType<FormConfigItem>;
|
75
75
|
required: true;
|
76
76
|
};
|
77
|
-
}
|
78
|
-
|
79
|
-
},
|
77
|
+
}>>, {}>;
|
78
|
+
bindHover: typeof bindHover;
|
79
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
80
80
|
formConfigItem: {
|
81
81
|
type: PropType<FormConfigItem>;
|
82
82
|
required: true;
|
@@ -93,8 +93,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
93
93
|
type: BooleanConstructor;
|
94
94
|
default: boolean;
|
95
95
|
};
|
96
|
-
}
|
96
|
+
}>>, {
|
97
97
|
showCloseButton: boolean;
|
98
98
|
allowClick: boolean;
|
99
|
-
}
|
99
|
+
}>;
|
100
100
|
export default _default;
|
@@ -4,26 +4,14 @@ import CloseButton from './CloseButton.vue.js';
|
|
4
4
|
import { InjectionActiveFieldItem, getWidgetText } from '../../constants/index.js';
|
5
5
|
import { getFormConfigTitle, bindHover } from '../../utils/index.js';
|
6
6
|
|
7
|
-
const _hoisted_1 = ["data-type", "data-key", "data-required", "data-extra"];
|
7
|
+
const _hoisted_1 = ["onClick", "data-type", "data-key", "data-required", "data-extra"];
|
8
8
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
9
9
|
__name: "DefaultNode",
|
10
10
|
props: {
|
11
|
-
formConfigItem: {
|
12
|
-
|
13
|
-
|
14
|
-
}
|
15
|
-
textFormatter: {
|
16
|
-
type: Function,
|
17
|
-
required: true
|
18
|
-
},
|
19
|
-
showCloseButton: {
|
20
|
-
type: Boolean,
|
21
|
-
default: true
|
22
|
-
},
|
23
|
-
allowClick: {
|
24
|
-
type: Boolean,
|
25
|
-
default: true
|
26
|
-
}
|
11
|
+
formConfigItem: { type: Object, required: true },
|
12
|
+
textFormatter: { type: Function, required: true },
|
13
|
+
showCloseButton: { type: Boolean, default: true },
|
14
|
+
allowClick: { type: Boolean, default: true }
|
27
15
|
},
|
28
16
|
setup(__props) {
|
29
17
|
const props = __props;
|
@@ -34,24 +22,29 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
22
|
currentActiveEditField.value = props.formConfigItem;
|
35
23
|
}
|
36
24
|
const ellipsisClassList = computed(() => {
|
37
|
-
return ["form-config__renderer--default", {
|
38
|
-
"is-required": props.formConfigItem.required
|
39
|
-
}];
|
25
|
+
return ["form-config__renderer--default", { "is-required": props.formConfigItem.required }];
|
40
26
|
});
|
41
27
|
const classList = computed(() => {
|
42
28
|
var _a;
|
43
|
-
return [
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
29
|
+
return [
|
30
|
+
{
|
31
|
+
"is-active": currentActiveEditField.value === props.formConfigItem,
|
32
|
+
"is-disabled": disabled.value,
|
33
|
+
"is-extra": (_a = props.formConfigItem) == null ? void 0 : _a.__extra
|
34
|
+
},
|
35
|
+
"form-config__renderer",
|
36
|
+
"form-config__renderer--defaultWrapper"
|
37
|
+
];
|
48
38
|
});
|
49
39
|
const disabled = computed(() => {
|
50
40
|
return props.formConfigItem.editable === false;
|
51
41
|
});
|
52
42
|
const displayText = computed(() => {
|
53
43
|
const type = getWidgetText(props.formConfigItem.type);
|
54
|
-
return props.textFormatter(
|
44
|
+
return props.textFormatter(
|
45
|
+
props.formConfigItem,
|
46
|
+
`${getFormConfigTitle(props.formConfigItem)}${type ? `(${type})` : ""}`
|
47
|
+
);
|
55
48
|
});
|
56
49
|
const showCloseBtn = computed(() => {
|
57
50
|
return props.showCloseButton && (!props.formConfigItem.required && !props.formConfigItem.__isCombinationChild || props.formConfigItem.__extra);
|
@@ -59,20 +52,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
59
52
|
return (_ctx, _cache) => {
|
60
53
|
return openBlock(), createElementBlock("div", mergeProps(unref(bindHover)(__props.formConfigItem), {
|
61
54
|
onClick: withModifiers(setActiveField, ["stop"]),
|
62
|
-
class: classList
|
55
|
+
class: unref(classList),
|
63
56
|
"data-type": __props.formConfigItem.type,
|
64
57
|
"data-key": __props.formConfigItem.key,
|
65
58
|
"data-required": !!__props.formConfigItem.required,
|
66
59
|
"data-extra": !!__props.formConfigItem.__extra
|
67
|
-
}), [
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
60
|
+
}), [
|
61
|
+
createVNode(unref(NEllipsis), {
|
62
|
+
class: normalizeClass(unref(ellipsisClassList))
|
63
|
+
}, {
|
64
|
+
default: withCtx(() => [
|
65
|
+
createTextVNode(toDisplayString(unref(displayText)), 1)
|
66
|
+
]),
|
67
|
+
_: 1
|
68
|
+
}, 8, ["class"]),
|
69
|
+
renderSlot(_ctx.$slots, "default"),
|
70
|
+
unref(showCloseBtn) ? (openBlock(), createBlock(CloseButton, {
|
71
|
+
key: 0,
|
72
|
+
"form-config-item": __props.formConfigItem
|
73
|
+
}, null, 8, ["form-config-item"])) : createCommentVNode("v-if", true)
|
74
|
+
], 16, _hoisted_1);
|
76
75
|
};
|
77
76
|
}
|
78
77
|
});
|
@@ -1,8 +1,8 @@
|
|
1
|
+
import { i18n } from '../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { range } from 'lodash-es';
|
2
|
-
import { useFormConfigLocale } from '../hooks/useLocale.js';
|
3
3
|
|
4
4
|
function getWidgetText(type) {
|
5
|
-
const WidgetTextMap = /* @__PURE__ */ new Map([["LINE_BAR",
|
5
|
+
const WidgetTextMap = /* @__PURE__ */ new Map([["LINE_BAR", i18n("10010.1.5", "\u5206\u7EBF\u680F")], ["NEWLINE", i18n("10010.1.4", "\u5206\u884C\u7B26")]]);
|
6
6
|
return WidgetTextMap.get(type) || "";
|
7
7
|
}
|
8
8
|
var EditAbleField = /* @__PURE__ */ ((EditAbleField2) => {
|
@@ -38,10 +38,10 @@ var EditAbleField = /* @__PURE__ */ ((EditAbleField2) => {
|
|
38
38
|
function widgetWidthOptionConfig() {
|
39
39
|
return {
|
40
40
|
option: [{
|
41
|
-
text:
|
41
|
+
text: i18n("10010.1.29", "\u6574\u884C"),
|
42
42
|
value: "ALL_LINE"
|
43
43
|
}, {
|
44
|
-
text:
|
44
|
+
text: i18n("10010.1.30", "\u534A\u884C"),
|
45
45
|
value: "HALF_LINE"
|
46
46
|
}, {
|
47
47
|
text: "5/6",
|
@@ -70,60 +70,25 @@ function widgetWidthOptionConfig() {
|
|
70
70
|
function dateUnitOptionConfig() {
|
71
71
|
return {
|
72
72
|
option: [{
|
73
|
-
text:
|
74
|
-
var _a, _b, _c;
|
75
|
-
try {
|
76
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.606")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.606")) || "\u65E0";
|
77
|
-
} catch (e) {
|
78
|
-
return "\u65E0";
|
79
|
-
}
|
80
|
-
}(),
|
73
|
+
text: i18n("10010.1.606", "\u65E0"),
|
81
74
|
value: ""
|
82
75
|
}, {
|
83
76
|
text: "\u65F6",
|
84
77
|
value: "HOUR"
|
85
78
|
}, {
|
86
|
-
text:
|
87
|
-
var _a, _b, _c;
|
88
|
-
try {
|
89
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.144")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.144")) || "\u5929";
|
90
|
-
} catch (e) {
|
91
|
-
return "\u5929";
|
92
|
-
}
|
93
|
-
}(),
|
79
|
+
text: i18n("10010.1.144", "\u5929"),
|
94
80
|
value: "DAY"
|
95
81
|
}, {
|
96
|
-
text:
|
97
|
-
var _a, _b, _c;
|
98
|
-
try {
|
99
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.346")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.346")) || "\u5468";
|
100
|
-
} catch (e) {
|
101
|
-
return "\u5468";
|
102
|
-
}
|
103
|
-
}(),
|
82
|
+
text: i18n("10010.1.346", "\u5468"),
|
104
83
|
value: "WEEK"
|
105
84
|
}, {
|
106
|
-
text:
|
107
|
-
var _a, _b, _c;
|
108
|
-
try {
|
109
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.347")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.347")) || "\u6708";
|
110
|
-
} catch (e) {
|
111
|
-
return "\u6708";
|
112
|
-
}
|
113
|
-
}(),
|
85
|
+
text: i18n("10010.1.347", "\u6708"),
|
114
86
|
value: "MONTH"
|
115
87
|
}, {
|
116
88
|
text: "\u5B63",
|
117
89
|
value: "QUARTER"
|
118
90
|
}, {
|
119
|
-
text:
|
120
|
-
var _a, _b, _c;
|
121
|
-
try {
|
122
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.349")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.349")) || "\u5E74";
|
123
|
-
} catch (e) {
|
124
|
-
return "\u5E74";
|
125
|
-
}
|
126
|
-
}(),
|
91
|
+
text: i18n("10010.1.349", "\u5E74"),
|
127
92
|
value: "YEAR"
|
128
93
|
}]
|
129
94
|
};
|
@@ -131,14 +96,7 @@ function dateUnitOptionConfig() {
|
|
131
96
|
function dateConditionOptionConfig() {
|
132
97
|
return {
|
133
98
|
option: [{
|
134
|
-
text:
|
135
|
-
var _a, _b, _c;
|
136
|
-
try {
|
137
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.376")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.376")) || "\u81EA\u5B9A\u4E49";
|
138
|
-
} catch (e) {
|
139
|
-
return "\u81EA\u5B9A\u4E49";
|
140
|
-
}
|
141
|
-
}(),
|
99
|
+
text: i18n("10010.1.376", "\u81EA\u5B9A\u4E49"),
|
142
100
|
value: "0"
|
143
101
|
}, {
|
144
102
|
text: "\u8FC7\u53BB",
|
@@ -147,14 +105,7 @@ function dateConditionOptionConfig() {
|
|
147
105
|
text: "\u672A\u6765",
|
148
106
|
value: "IN_THE_FUTURE"
|
149
107
|
}, {
|
150
|
-
text:
|
151
|
-
var _a, _b, _c;
|
152
|
-
try {
|
153
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.305")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.305")) || "\u5F53\u524D\u65F6\u95F4";
|
154
|
-
} catch (e) {
|
155
|
-
return "\u5F53\u524D\u65F6\u95F4";
|
156
|
-
}
|
157
|
-
}(),
|
108
|
+
text: i18n("10010.1.305", "\u5F53\u524D\u65F6\u95F4"),
|
158
109
|
value: "CURRENT_TIME"
|
159
110
|
}]
|
160
111
|
};
|
@@ -162,45 +113,17 @@ function dateConditionOptionConfig() {
|
|
162
113
|
function dateFormatOptionConfig() {
|
163
114
|
return {
|
164
115
|
option: [{
|
165
|
-
text:
|
166
|
-
|
167
|
-
try {
|
168
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.551")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.551")) || "\u5E74-\u6708";
|
169
|
-
} catch (e) {
|
170
|
-
return "\u5E74-\u6708";
|
171
|
-
}
|
172
|
-
}(),
|
173
|
-
value: "YYYY-MM"
|
116
|
+
text: i18n("10010.1.551", "\u5E74-\u6708"),
|
117
|
+
value: "yyyy-MM"
|
174
118
|
}, {
|
175
|
-
text:
|
176
|
-
|
177
|
-
try {
|
178
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.550")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.550")) || "\u5E74-\u6708-\u65E5";
|
179
|
-
} catch (e) {
|
180
|
-
return "\u5E74-\u6708-\u65E5";
|
181
|
-
}
|
182
|
-
}(),
|
183
|
-
value: "YYYY-MM-DD"
|
119
|
+
text: i18n("10010.1.550", "\u5E74-\u6708-\u65E5"),
|
120
|
+
value: "yyyy-MM-dd"
|
184
121
|
}, {
|
185
|
-
text:
|
186
|
-
|
187
|
-
try {
|
188
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.548")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.548")) || "\u5E74-\u6708-\u65E5 \u65F6:\u5206:\u79D2";
|
189
|
-
} catch (e) {
|
190
|
-
return "\u5E74-\u6708-\u65E5 \u65F6:\u5206:\u79D2";
|
191
|
-
}
|
192
|
-
}(),
|
193
|
-
value: "YYYY-MM-DD HH:mm:ss"
|
122
|
+
text: i18n("10010.1.548", "\u5E74-\u6708-\u65E5 \u65F6:\u5206:\u79D2"),
|
123
|
+
value: "yyyy-MM-dd HH:mm:ss"
|
194
124
|
}, {
|
195
|
-
text:
|
196
|
-
|
197
|
-
try {
|
198
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.549")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.549")) || "\u5E74-\u6708-\u65E5 \u65F6:\u5206";
|
199
|
-
} catch (e) {
|
200
|
-
return "\u5E74-\u6708-\u65E5 \u65F6:\u5206";
|
201
|
-
}
|
202
|
-
}(),
|
203
|
-
value: "YYYY-MM-DD HH:mm"
|
125
|
+
text: i18n("10010.1.549", "\u5E74-\u6708-\u65E5 \u65F6:\u5206"),
|
126
|
+
value: "yyyy-MM-dd HH:mm"
|
204
127
|
}]
|
205
128
|
};
|
206
129
|
}
|
@@ -278,104 +201,34 @@ const conditionOppositeMap = {
|
|
278
201
|
};
|
279
202
|
const conditionTypeOptions = [{
|
280
203
|
value: "EQ",
|
281
|
-
label:
|
282
|
-
var _a, _b, _c;
|
283
|
-
try {
|
284
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.317")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.317")) || "\u7B49\u4E8E";
|
285
|
-
} catch (e) {
|
286
|
-
return "\u7B49\u4E8E";
|
287
|
-
}
|
288
|
-
}()
|
204
|
+
label: i18n("10010.1.317", "\u7B49\u4E8E")
|
289
205
|
}, {
|
290
206
|
value: "NEQ",
|
291
|
-
label:
|
292
|
-
var _a, _b, _c;
|
293
|
-
try {
|
294
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.318")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.318")) || "\u4E0D\u7B49\u4E8E";
|
295
|
-
} catch (e) {
|
296
|
-
return "\u4E0D\u7B49\u4E8E";
|
297
|
-
}
|
298
|
-
}()
|
207
|
+
label: i18n("10010.1.318", "\u4E0D\u7B49\u4E8E")
|
299
208
|
}, {
|
300
209
|
value: "CL",
|
301
|
-
label:
|
302
|
-
var _a, _b, _c;
|
303
|
-
try {
|
304
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.340")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.340")) || "\u5305\u542B";
|
305
|
-
} catch (e) {
|
306
|
-
return "\u5305\u542B";
|
307
|
-
}
|
308
|
-
}()
|
210
|
+
label: i18n("10010.1.340", "\u5305\u542B")
|
309
211
|
}, {
|
310
212
|
value: "NC",
|
311
|
-
label:
|
312
|
-
var _a, _b, _c;
|
313
|
-
try {
|
314
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.341")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.341")) || "\u4E0D\u5305\u542B";
|
315
|
-
} catch (e) {
|
316
|
-
return "\u4E0D\u5305\u542B";
|
317
|
-
}
|
318
|
-
}()
|
213
|
+
label: i18n("10010.1.341", "\u4E0D\u5305\u542B")
|
319
214
|
}, {
|
320
215
|
value: "NULL",
|
321
|
-
label:
|
322
|
-
var _a, _b, _c;
|
323
|
-
try {
|
324
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.338")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.338")) || "\u4E3A\u7A7A";
|
325
|
-
} catch (e) {
|
326
|
-
return "\u4E3A\u7A7A";
|
327
|
-
}
|
328
|
-
}()
|
216
|
+
label: i18n("10010.1.338", "\u4E3A\u7A7A")
|
329
217
|
}, {
|
330
218
|
value: "NOT_NULL",
|
331
|
-
label:
|
332
|
-
var _a, _b, _c;
|
333
|
-
try {
|
334
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.339")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.339")) || "\u4E0D\u4E3A\u7A7A";
|
335
|
-
} catch (e) {
|
336
|
-
return "\u4E0D\u4E3A\u7A7A";
|
337
|
-
}
|
338
|
-
}()
|
219
|
+
label: i18n("10010.1.339", "\u4E0D\u4E3A\u7A7A")
|
339
220
|
}, {
|
340
221
|
value: "BIG",
|
341
|
-
label:
|
342
|
-
var _a, _b, _c;
|
343
|
-
try {
|
344
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.319")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.319")) || "\u5927\u4E8E";
|
345
|
-
} catch (e) {
|
346
|
-
return "\u5927\u4E8E";
|
347
|
-
}
|
348
|
-
}()
|
222
|
+
label: i18n("10010.1.319", "\u5927\u4E8E")
|
349
223
|
}, {
|
350
224
|
value: "BIGEQ",
|
351
|
-
label:
|
352
|
-
var _a, _b, _c;
|
353
|
-
try {
|
354
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.321")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.321")) || "\u5927\u4E8E\u7B49\u4E8E";
|
355
|
-
} catch (e) {
|
356
|
-
return "\u5927\u4E8E\u7B49\u4E8E";
|
357
|
-
}
|
358
|
-
}()
|
225
|
+
label: i18n("10010.1.321", "\u5927\u4E8E\u7B49\u4E8E")
|
359
226
|
}, {
|
360
227
|
value: "LESS",
|
361
|
-
label:
|
362
|
-
var _a, _b, _c;
|
363
|
-
try {
|
364
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.320")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.320")) || "\u5C0F\u4E8E";
|
365
|
-
} catch (e) {
|
366
|
-
return "\u5C0F\u4E8E";
|
367
|
-
}
|
368
|
-
}()
|
228
|
+
label: i18n("10010.1.320", "\u5C0F\u4E8E")
|
369
229
|
}, {
|
370
230
|
value: "LESSEQ",
|
371
|
-
label:
|
372
|
-
var _a, _b, _c;
|
373
|
-
try {
|
374
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.322")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.322")) || "\u5C0F\u4E8E\u7B49\u4E8E";
|
375
|
-
} catch (e) {
|
376
|
-
return "\u5C0F\u4E8E\u7B49\u4E8E";
|
377
|
-
}
|
378
|
-
}()
|
231
|
+
label: i18n("10010.1.322", "\u5C0F\u4E8E\u7B49\u4E8E")
|
379
232
|
}];
|
380
233
|
const connectionTypeOppositeMap = {
|
381
234
|
showField: "hideField",
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { i18n } from '../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { omit, pick, range } from 'lodash-es';
|
2
3
|
import { EditAbleField, widgetWidthOptionConfig, isShowOptionConfig, isNotFoldOptionConfig, isEditOptionConfig, isNullOptionConfig, isVisibleOptionConfig, rowsOptionConfig, dateFormatOptionConfig, dateConditionOptionConfig, dateUnitOptionConfig } from '../constants/index.js';
|
3
|
-
import { useFormConfigLocale } from './useLocale.js';
|
4
4
|
import '../../../form-render/index.js';
|
5
5
|
import { useFieldNormalize } from '../../../form-render/src/hooks/useFieldNormalize.js';
|
6
6
|
|
@@ -9,7 +9,7 @@ const {
|
|
9
9
|
} = useFieldNormalize();
|
10
10
|
function useConfigurationField() {
|
11
11
|
const fieldMap = /* @__PURE__ */ new Map([[EditAbleField.KEY, (formConfigItem) => ({
|
12
|
-
alias:
|
12
|
+
alias: i18n("10010.1.9", "\u5B57\u6BB5"),
|
13
13
|
elem_width: 6,
|
14
14
|
html_type: "TEXT",
|
15
15
|
content: formConfigItem == null ? void 0 : formConfigItem.key,
|
@@ -17,26 +17,26 @@ function useConfigurationField() {
|
|
17
17
|
labelPlacement: "left"
|
18
18
|
}
|
19
19
|
})], [EditAbleField.ALIAS, () => ({
|
20
|
-
alias:
|
20
|
+
alias: i18n("10010.1.11", "\u522B\u540D"),
|
21
21
|
elem_width: 6,
|
22
22
|
default_val: "",
|
23
23
|
html_type: "INPUT"
|
24
24
|
})], [EditAbleField.NAME, () => ({
|
25
|
-
alias:
|
25
|
+
alias: i18n("10010.1.10", "\u540D\u79F0"),
|
26
26
|
elem_width: 6,
|
27
27
|
html_type: "TEXT",
|
28
28
|
decoratorProps: {
|
29
29
|
labelPlacement: "left"
|
30
30
|
}
|
31
31
|
})], [EditAbleField.NOTES, () => ({
|
32
|
-
alias:
|
32
|
+
alias: i18n("10010.1.15", "\u95EE\u53F7\u63D0\u793A"),
|
33
33
|
elem_width: 6,
|
34
34
|
html_type: "INPUT",
|
35
35
|
is_empty: "0"
|
36
36
|
})], [EditAbleField.DEFAULT_VALUE, (formConfigItem, fieldItem) => {
|
37
37
|
const originalSetting = FieldNormalizeWaterfallHook.call(Object.assign({}, formConfigItem == null ? void 0 : formConfigItem.originalSetting, fieldItem), {});
|
38
38
|
return {
|
39
|
-
alias:
|
39
|
+
alias: i18n("10010.1.12", "\u9ED8\u8BA4\u503C"),
|
40
40
|
elem_width: 6,
|
41
41
|
html_type: "INPUT",
|
42
42
|
is_empty: "0",
|
@@ -44,13 +44,13 @@ function useConfigurationField() {
|
|
44
44
|
...pick(originalSetting, ["html_type", "validate", "option", "multi_select", "multi_select_value", "wordbook", "open", "close", "date_format", "step_length", "urlConfig", "autograph", "defined_error_msg", "free_entry", "validator", "allowSlash", "is_allow_check_mid", "allow_check_mid_level"])
|
45
45
|
};
|
46
46
|
}], [EditAbleField.LAYOUT_WIDTH_ENUM, () => ({
|
47
|
-
alias:
|
47
|
+
alias: i18n("10010.1.13", "\u5BBD\u5EA6"),
|
48
48
|
fieldType: "number",
|
49
49
|
html_type: "SELECT",
|
50
50
|
elem_width: 6,
|
51
51
|
...widgetWidthOptionConfig()
|
52
52
|
})], [EditAbleField.DESC, () => ({
|
53
|
-
alias:
|
53
|
+
alias: i18n("10010.1.14", "\u8BF4\u660E\u6587\u672C"),
|
54
54
|
elem_width: 6,
|
55
55
|
html_type: "INPUT",
|
56
56
|
is_empty: "0",
|
@@ -58,23 +58,23 @@ function useConfigurationField() {
|
|
58
58
|
max_length: 30
|
59
59
|
}
|
60
60
|
})], [EditAbleField.DEFAULT_EXPAND, () => ({
|
61
|
-
alias:
|
61
|
+
alias: i18n("10010.1.18", "\u662F\u5426\u9ED8\u8BA4\u5C55\u5F00"),
|
62
62
|
html_type: "SWITCH",
|
63
63
|
elem_width: 6,
|
64
64
|
...isShowOptionConfig()
|
65
65
|
})], [EditAbleField.FOLD, () => ({
|
66
|
-
alias:
|
66
|
+
alias: i18n("10010.1.19", "\u662F\u5426\u53EF\u6298\u53E0"),
|
67
67
|
html_type: "SWITCH",
|
68
68
|
elem_width: 6,
|
69
69
|
...isNotFoldOptionConfig()
|
70
70
|
})], [EditAbleField.EDITABLE, (formConfigItem) => ({
|
71
|
-
alias:
|
71
|
+
alias: i18n("10010.1.17", "\u662F\u5426\u53EF\u7F16\u8F91"),
|
72
72
|
html_type: "SWITCH",
|
73
73
|
elem_width: 6,
|
74
74
|
is_edit: (formConfigItem == null ? void 0 : formConfigItem.editableDisabled) ? "0" : "1",
|
75
75
|
...isEditOptionConfig()
|
76
76
|
})], [EditAbleField.CONFIRM, () => ({
|
77
|
-
alias:
|
77
|
+
alias: "\u662F\u5426\u5728\u4FEE\u6539\u503C\u540E\u5F39\u7A97\u63D0\u9192",
|
78
78
|
html_type: "SWITCH",
|
79
79
|
elem_width: 6,
|
80
80
|
reactions: [{
|
@@ -92,39 +92,39 @@ function useConfigurationField() {
|
|
92
92
|
}],
|
93
93
|
...isEditOptionConfig()
|
94
94
|
})], [EditAbleField.REQUIRED, (formConfigItem) => ({
|
95
|
-
alias:
|
95
|
+
alias: i18n("10010.1.16", "\u662F\u5426\u5FC5\u586B"),
|
96
96
|
html_type: "SWITCH",
|
97
97
|
elem_width: 6,
|
98
98
|
is_edit: (formConfigItem == null ? void 0 : formConfigItem.requiredDisabled) ? "0" : "1",
|
99
99
|
requiredReminderContent: formConfigItem == null ? void 0 : formConfigItem.requiredReminderContent,
|
100
100
|
...isNullOptionConfig()
|
101
101
|
})], [EditAbleField.SHOW, (formConfigItem) => ({
|
102
|
-
alias:
|
102
|
+
alias: i18n("10010.1.20", "\u662F\u5426\u663E\u793A"),
|
103
103
|
html_type: "SWITCH",
|
104
104
|
elem_width: 6,
|
105
105
|
is_show: (formConfigItem == null ? void 0 : formConfigItem.__isCombinationChild) ? "1" : "0",
|
106
106
|
...isVisibleOptionConfig()
|
107
107
|
})], [EditAbleField.ROWS, () => ({
|
108
|
-
alias:
|
108
|
+
alias: i18n("10010.1.25", "\u9AD8\u5EA6"),
|
109
109
|
elem_width: 6,
|
110
|
-
remark:
|
110
|
+
remark: i18n("10010.1.26", "\u9ED8\u8BA4\u4E3A3\u884C\u9AD8\u5EA6\uFF0C\u53EF\u8C03\u6574\u4E3A1-10\u884C\u9AD8\u5EA6"),
|
111
111
|
default_val: 3,
|
112
112
|
is_empty: "0",
|
113
113
|
html_type: "SELECT",
|
114
114
|
...rowsOptionConfig()
|
115
115
|
})], [EditAbleField.TITLE_RED, () => ({
|
116
|
-
alias:
|
116
|
+
alias: "\u6807\u9898\u663E\u793A\u7EA2\u8272",
|
117
117
|
elem_width: 6,
|
118
118
|
default_val: false,
|
119
119
|
html_type: "SWITCH"
|
120
120
|
})], [EditAbleField.ALLOW_PARTIAL, () => ({
|
121
|
-
alias:
|
121
|
+
alias: "\u5141\u8BB8\u9009\u62E9\u4E2D\u95F4\u5C42\u7EA7",
|
122
122
|
elem_width: 6,
|
123
123
|
html_type: "SWITCH"
|
124
124
|
})], [EditAbleField.PARTIAL_LEVEL, (field) => {
|
125
125
|
var _a, _b;
|
126
126
|
return {
|
127
|
-
alias:
|
127
|
+
alias: "\u81F3\u5C11\u9009\u62E9\u591A\u5C11\u7EA7",
|
128
128
|
elem_width: 6,
|
129
129
|
html_type: "SELECT",
|
130
130
|
componentProps: {
|
@@ -135,11 +135,11 @@ function useConfigurationField() {
|
|
135
135
|
}
|
136
136
|
};
|
137
137
|
}], [EditAbleField.DATE_FORMAT, () => ({
|
138
|
-
alias:
|
138
|
+
alias: i18n("10010.1.541", "\u65E5\u671F\u683C\u5F0F"),
|
139
139
|
elem_width: 6,
|
140
140
|
html_type: "SELECT",
|
141
141
|
...dateFormatOptionConfig()
|
142
|
-
})], [EditAbleField.DATE_DEFAULT_VALUE_CONDITION, () => createDateField(EditAbleField.DATE_DEFAULT_VALUE_CONDITION, EditAbleField.DATE_DEFAULT_VALUE_UNIT, EditAbleField.DATE_DEFAULT_VALUE_VALUE,
|
142
|
+
})], [EditAbleField.DATE_DEFAULT_VALUE_CONDITION, () => createDateField(EditAbleField.DATE_DEFAULT_VALUE_CONDITION, EditAbleField.DATE_DEFAULT_VALUE_UNIT, EditAbleField.DATE_DEFAULT_VALUE_VALUE, i18n("10010.1.12", "\u9ED8\u8BA4\u503C"))], [EditAbleField.DATE_MAX_VALUE_CONDITION, () => createDateField(EditAbleField.DATE_MAX_VALUE_CONDITION, EditAbleField.DATE_MAX_VALUE_UNIT, EditAbleField.DATE_MAX_VALUE_VALUE, i18n("10010.1.373", "\u6700\u5927\u503C"))], [EditAbleField.DATE_MIN_VALUE_CONDITION, () => createDateField(EditAbleField.DATE_MIN_VALUE_CONDITION, EditAbleField.DATE_MIN_VALUE_UNIT, EditAbleField.DATE_MIN_VALUE_VALUE, i18n("10010.1.372", "\u6700\u5C0F\u503C"))]]);
|
143
143
|
function createDateField(conditionKey, unitKey, valueKey, alias) {
|
144
144
|
return {
|
145
145
|
val_key: conditionKey,
|