cnhis-design-vue 3.4.0-beta.0 → 3.4.0-beta.10
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/audio-sdk/src/Index.vue2.js +56 -87
- package/es/components/audio-sdk/src/audioSDK.js +16 -16
- package/es/components/audio-sdk/src/components/recording.vue2.js +5 -32
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +10 -16
- package/es/components/audio-sdk/src/svgs/Close.vue.js +6 -4
- package/es/components/audio-sdk/src/svgs/Continue.vue.js +3 -1
- package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +3 -1
- package/es/components/audio-sdk/src/svgs/Pause.vue.js +3 -1
- package/es/components/audio-sdk/src/svgs/WaveView.vue.js +3 -1
- package/es/components/audio-sdk/src/svgs/Zoom.vue.js +6 -4
- package/es/components/audio-sdk/src/utils/index.js +5 -19
- package/es/components/base-search/src/index.vue2.js +4 -24
- package/es/components/big-table/src/BigTable.vue2.js +12 -95
- 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.vue2.js +4 -24
- 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.js +2 -8
- 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.vue2.js +29 -38
- package/es/components/big-table/src/components/edit-form/edit-time.js +2 -8
- package/es/components/big-table/src/components/input-button.vue2.js +2 -8
- package/es/components/big-table/src/components/separate.vue2.js +8 -17
- package/es/components/big-table/src/hooks/useAnchor.js +2 -9
- package/es/components/big-table/src/hooks/useBatchEditing.js +64 -65
- 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.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/src/hooks/renderCanvas.js +1 -4
- package/es/components/body-select/src/index.vue2.js +4 -24
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue2.js +47 -51
- 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/src/BranchNotice.vue2.js +18 -25
- package/es/components/branch-notice/src/components/NoticeItem.vue2.js +71 -55
- package/es/components/branch-notice/src/components/NoticeItemAside.vue2.js +44 -33
- 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 +60 -5
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +60 -5
- package/es/components/button-print/src/ButtonPrint.vue2.js +17 -49
- package/es/components/button-print/src/api.js +2 -8
- package/es/components/button-print/src/components/EditFormat.vue2.js +3 -16
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +8 -0
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +13 -74
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +34 -5
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +221 -297
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +8 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +9 -64
- package/es/components/button-print/src/components/Preview.vue2.js +2 -8
- 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/callback/src/components/dialog/drawer.vue2.js +49 -67
- package/es/components/callback/src/components/dialog/modal.vue2.js +56 -66
- package/es/components/callback/src/components/popup/index.vue.js +7 -13
- package/es/components/callback/src/components/render/drawerIframe/index.vue2.js +30 -33
- package/es/components/callback/src/components/render/index.vue.js +14 -33
- package/es/components/callback/src/components/render/popupMaps.js +29 -20
- package/es/components/callback/src/index.vue2.js +1 -3
- package/es/components/card-reader-sdk/src/cardReaderSDK.js +7 -31
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -8
- 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/src/components/Box.vue2.js +24 -40
- package/es/components/card-render/src/components/Button.vue2.js +24 -33
- package/es/components/card-render/src/components/Divider.vue2.js +2 -8
- package/es/components/card-render/src/components/Field.vue2.js +55 -73
- package/es/components/card-render/src/components/FieldGroup.vue2.js +33 -48
- package/es/components/card-render/src/components/Image.vue2.js +7 -21
- package/es/components/card-render/src/components/Label.vue2.js +18 -29
- package/es/components/card-render/src/components/Row.vue2.js +33 -49
- package/es/components/card-render/src/components/ScaleView.vue2.js +30 -33
- package/es/components/card-render/src/components/Table.vue2.js +71 -74
- package/es/components/card-render/src/components/Text.vue2.js +4 -17
- package/es/components/card-render/src/components/index.d.ts +23 -23
- 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/src/components/search-filter/index.vue2.js +4 -24
- package/es/components/classification/src/components/set-classification/index.vue2.js +4 -24
- package/es/components/classification/src/components/table-modal/index.vue2.js +30 -232
- package/es/components/classification/src/index.vue2.js +28 -237
- package/es/components/date-picker/src/DatePicker.vue2.js +2 -8
- package/es/components/default-page/src/constants/index.js +19 -144
- package/es/components/default-page/src/index.vue2.js +2 -8
- package/es/components/drag-scroll/src/index.js +48 -58
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +6 -40
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +3 -16
- package/es/components/expand-field/src/components/PersonModal.vue2.js +4 -24
- package/es/components/expand-field/src/components/form.vue2.js +64 -504
- package/es/components/expand-field/src/constants/index.js +3 -1
- package/es/components/expand-field/src/index.vue2.js +12 -88
- 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/src/FabricChart.vue2.js +20 -40
- package/es/components/fabric-chart/src/components/PopupMenu.js +3 -23
- 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.js +39 -63
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +21 -26
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +38 -51
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +27 -71
- 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.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.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.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/src/FieldEditor.vue2.js +7 -11
- package/es/components/field-editor/src/fields.js +31 -232
- package/es/components/field-set/src/FieldColor.vue2.js +12 -88
- package/es/components/field-set/src/FieldFilter.vue2.js +5 -32
- package/es/components/field-set/src/FieldSet.vue2.js +28 -195
- package/es/components/field-set/src/Index.vue2.js +6 -40
- package/es/components/field-set/src/TableStyle.vue2.js +7 -48
- package/es/components/field-set/src/components/condition.vue2.js +4 -24
- package/es/components/field-set/src/components/edit-dialog.vue2.js +14 -111
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -24
- package/es/components/field-set/src/components/table-row.vue2.js +18 -115
- 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 +14 -9
- package/es/components/form-config/index.js +0 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +14 -9
- package/es/components/form-config/src/FormConfig.vue2.js +13 -15
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +0 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue2.js +15 -11
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +12 -21
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +8 -2
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +8 -8
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +6 -5
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +15 -83
- package/es/components/form-config/src/components/renderer/CloseButton.vue2.js +4 -7
- package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +28 -28
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +33 -34
- 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/useSortalbeConfig.js +4 -21
- package/es/components/form-config/src/utils/index.js +10 -6
- package/es/components/form-render/src/FormRender.vue2.js +117 -242
- package/es/components/form-render/src/FormRenderWrapper.vue2.js +17 -5
- 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.js +2 -8
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -8
- package/es/components/form-render/src/components/renderer/formItem.js +8 -9
- package/es/components/form-render/src/components/renderer/inputGroup.js +6 -8
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +48 -70
- package/es/components/form-render/src/components/renderer/lineBar/index.js +6 -6
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -8
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -8
- package/es/components/form-render/src/components/renderer/switch.js +4 -24
- 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.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.js +6 -21
- package/es/components/form-render/src/hooks/useCommonLog.js +4 -4
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +60 -66
- 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/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.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/types/fieldItem.d.ts +1 -0
- 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/schema.js +4 -24
- package/es/components/form-render/src/utils/valueFormatter.js +6 -5
- package/es/components/grid/src/hooks.js +151 -1
- package/es/components/guide/src/utils/index.js +121 -184
- package/es/components/iho-chat/index.d.ts +2 -0
- package/es/components/iho-chat/src/Index.vue.d.ts +2 -0
- package/es/components/iho-chat/src/Index.vue2.js +2 -8
- package/es/components/iho-chat/src/api/index.js +1 -3
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +10 -86
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +8 -63
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +2 -0
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +68 -150
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +6 -40
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +33 -49
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +7 -48
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +11 -80
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +17 -128
- package/es/components/iho-chat/src/components/ContextMenu.js +47 -63
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +7 -9
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +3 -16
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -8
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +10 -100
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +10 -65
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -8
- package/es/components/iho-chat/src/components/SiderList.vue2.js +6 -40
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -32
- package/es/components/iho-chat/src/hooks/useData.js +83 -123
- package/es/components/iho-chat/src/hooks/useDraggable.js +14 -54
- package/es/components/iho-chat/src/hooks/useSearchPatientList.js +1 -3
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -3
- 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.js +10 -79
- package/es/components/iho-table/index.js +27 -5
- package/es/components/iho-table/src/IhoTable.vue2.js +96 -137
- package/es/components/iho-table/src/constants/index.js +77 -3
- package/es/components/iho-table/src/hooks/tapHooks/index.js +57 -36
- 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.js +233 -50
- 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.js +6 -4
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -8
- 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/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.vue2.js +5 -39
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +1 -3
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +5 -39
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +7 -55
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +3 -16
- 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/index.js +5 -9
- 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.js +2 -8
- package/es/components/iho-table/src/plugins/pluginHooks/useFilter.js +3 -14
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +22 -75
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue2.js +17 -60
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +2 -8
- 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.vue2.js +30 -48
- 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.vue2.js +2 -8
- 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.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/types/index.d.ts +1 -0
- package/es/components/index.js +1 -5
- package/es/components/info-header/src/InfoHeader.vue2.js +81 -95
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +77 -103
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +28 -42
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue2.js +32 -41
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +22 -24
- package/es/components/info-header/src/components/infoDescription/index.vue2.js +76 -86
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -160
- package/es/components/info-header/src/hooks/useThemeOverrides.js +2 -6
- package/es/components/keyboard/src/Keyboard.vue2.js +3 -16
- package/es/components/keyboard/src/components/InputNumber.vue2.js +31 -35
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +4 -24
- package/es/components/map/src/Map.vue2.js +2 -8
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +3 -16
- package/es/components/quick-search/src/index.vue2.js +10 -72
- package/es/components/recommend-search/src/RecommendSearch.vue2.js +17 -53
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -8
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -24
- package/es/components/recommend-search/src/components/RecommendMenu.vue2.js +54 -54
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -16
- package/es/components/recommend-search/src/constant/index.js +3 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +7 -48
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +9 -71
- package/es/components/scale-view/src/components/DescribeContent.vue2.js +10 -13
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +4 -24
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +4 -24
- package/es/components/scale-view/src/components/LoadingCom.vue.js +3 -1
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -24
- package/es/components/scale-view/src/components/ScaleScore.js +4 -45
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -40
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-radio.js +4 -24
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -8
- package/es/components/scale-view/src/components/formitem/r-sign.js +9 -64
- package/es/components/scale-view/src/components/formitem/r-upload.js +8 -56
- package/es/components/scale-view/src/components/formitem/sign-com.js +2 -8
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -16
- 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/src/SearchCascader.vue2.js +2 -8
- package/es/components/search-cascader/src/components/ClearIcon.vue.js +16 -16
- package/es/components/search-cascader/src/constants/index.js +12 -4
- package/es/components/select-label/src/LabelFormContent.vue2.js +5 -39
- package/es/components/select-label/src/SelectLabel.vue2.js +6 -40
- package/es/components/select-label/src/components/label-classify.vue2.js +4 -24
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -16
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +5 -32
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -16
- package/es/components/select-person/src/SelectPerson.vue2.js +7 -48
- package/es/components/select-person/src/SelectPersonRole.vue2.js +12 -95
- package/es/components/select-person/src/SelectPersonType.vue2.js +6 -40
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +101 -103
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -8
- package/es/components/select-person/src/index.vue2.js +3 -16
- package/es/components/shortcut-provider/src/ShortcutProvider.vue2.js +6 -8
- 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 +2 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue2.js +6 -22
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue2.js +22 -45
- package/es/components/slider-tree/src/index.vue2.js +3 -16
- package/es/components/step-notice/src/StepNotice.vue2.js +40 -51
- package/es/components/step-notice/src/components/NoticeConnection.vue2.js +27 -27
- package/es/components/step-notice/src/components/NoticeItem.vue2.js +78 -52
- package/es/components/step-notice/src/components/NoticeItemAside.vue2.js +44 -33
- package/es/components/step-notice/src/components/NoticeOperationList.vue2.js +43 -37
- package/es/components/steps-wheel/src/StepsWheel.vue2.js +221 -208
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +14 -104
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +12 -88
- package/es/components/table-export-field/src/constants/index.js +3 -1
- package/es/components/table-export-field/src/index.vue2.js +4 -24
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -32
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +4 -4
- package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +5 -7
- package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +4 -4
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +5 -7
- 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.vue2.js +14 -104
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +11 -80
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +5 -46
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue2.js +4 -4
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -16
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +49 -72
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +5 -7
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +13 -33
- package/es/components/table-filter/src/components/classify-filter/components/SelectTreeDynamic.vue2.js +10 -31
- 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.vue2.js +12 -88
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue2.js +13 -11
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +4 -24
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +2 -8
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +16 -17
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +5 -32
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -16
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -8
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -16
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -16
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +13 -33
- package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +15 -19
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +54 -88
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +4 -24
- package/es/components/table-filter/src/components/render-widget/components/SelectTree.vue2.js +6 -10
- package/es/components/table-filter/src/components/render-widget/components/SelectTreeDynamic.vue2.js +10 -32
- 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.js +26 -64
- 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.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/src/TimeLine.vue2.js +49 -44
- package/es/components/time-picker/src/TimePicker.vue2.js +55 -58
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +5 -32
- package/es/components/vertify/src/components/IdentityVerification.vue2.js +10 -72
- package/es/components/vertify/src/utils/dialog.js +3 -16
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +14 -104
- 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.vue2.js +11 -80
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +3 -16
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/AbbrText/AbbrText.d.ts +8 -0
- package/es/shared/components/AbbrText/AbbrText.js +27 -0
- package/es/shared/components/AbbrText/index.d.ts +2 -0
- package/es/shared/components/AbbrText/index.js +2 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/index.js +1 -14
- package/package.json +2 -2
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/form-config/src/hooks/useLocale.d.ts +0 -60
- package/es/components/form-config/src/hooks/useLocale.js +0 -307
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1,3 +1,4 @@
|
|
1
|
+
import { i18n } from '../../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { defineComponent, computed, openBlock, createElementBlock, createCommentVNode, unref, createBlock } from 'vue';
|
2
3
|
import { InputNumber, InputFilter, SelectFilter, Date, SelectDynamic, InputNumberGroup, DateRange, SelectLabel, SelectTreeDynamic } from './components/index.js';
|
3
4
|
import { WidgetTypeEnums } from '../../types/enums.js';
|
@@ -75,26 +76,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
76
|
return (_a = props.paramCfg) == null ? void 0 : _a.type;
|
76
77
|
});
|
77
78
|
return (_ctx, _cache) => {
|
78
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(
|
79
|
-
var _a, _b, _c;
|
80
|
-
try {
|
81
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846";
|
82
|
-
} catch (e) {
|
83
|
-
return "\u6570\u5B57\u6846";
|
84
|
-
}
|
85
|
-
}()), widgetType.value === unref(WidgetTypeEnums).INPUT_NUMBER ? (openBlock(), createBlock(unref(InputNumber), {
|
79
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(i18n("10010.1.292", "\u6570\u5B57\u6846")), widgetType.value === unref(WidgetTypeEnums).INPUT_NUMBER ? (openBlock(), createBlock(unref(InputNumber), {
|
86
80
|
key: 0,
|
87
81
|
paramCfg: __props.paramCfg,
|
88
82
|
modelValue: valueCp.value,
|
89
83
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueCp.value = $event)
|
90
|
-
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(
|
91
|
-
var _a, _b, _c;
|
92
|
-
try {
|
93
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.293")) || "\u6587\u672C\u6846";
|
94
|
-
} catch (e) {
|
95
|
-
return "\u6587\u672C\u6846";
|
96
|
-
}
|
97
|
-
}()), widgetType.value === unref(WidgetTypeEnums).INPUT ? (openBlock(), createBlock(unref(InputFilter), {
|
84
|
+
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(i18n("10010.1.293", "\u6587\u672C\u6846")), widgetType.value === unref(WidgetTypeEnums).INPUT ? (openBlock(), createBlock(unref(InputFilter), {
|
98
85
|
key: 1,
|
99
86
|
paramCfg: __props.paramCfg,
|
100
87
|
modelValue: valueCp.value,
|
package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { i18n } from '../../../../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, Fragment, createVNode, unref, createCommentVNode, createElementVNode } from 'vue';
|
2
3
|
import { isString } from 'lodash-es';
|
3
4
|
import { NInputNumber, NSelect } from 'naive-ui';
|
@@ -45,105 +46,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
45
46
|
emit: __emit
|
46
47
|
}) {
|
47
48
|
const widgetOptions = [{
|
48
|
-
label:
|
49
|
-
var _a, _b, _c;
|
50
|
-
try {
|
51
|
-
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";
|
52
|
-
} catch (e) {
|
53
|
-
return "\u5929";
|
54
|
-
}
|
55
|
-
}(),
|
49
|
+
label: i18n("10010.1.144", "\u5929"),
|
56
50
|
value: "DAY"
|
57
51
|
}, {
|
58
|
-
label:
|
59
|
-
var _a, _b, _c;
|
60
|
-
try {
|
61
|
-
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";
|
62
|
-
} catch (e) {
|
63
|
-
return "\u5468";
|
64
|
-
}
|
65
|
-
}(),
|
52
|
+
label: i18n("10010.1.346", "\u5468"),
|
66
53
|
value: "WEEK"
|
67
54
|
}, {
|
68
|
-
label:
|
69
|
-
var _a, _b, _c;
|
70
|
-
try {
|
71
|
-
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";
|
72
|
-
} catch (e) {
|
73
|
-
return "\u6708";
|
74
|
-
}
|
75
|
-
}(),
|
55
|
+
label: i18n("10010.1.347", "\u6708"),
|
76
56
|
value: "MONTH"
|
77
57
|
}, {
|
78
|
-
label:
|
79
|
-
var _a, _b, _c;
|
80
|
-
try {
|
81
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.348")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.348")) || "\u5B63\u5EA6";
|
82
|
-
} catch (e) {
|
83
|
-
return "\u5B63\u5EA6";
|
84
|
-
}
|
85
|
-
}(),
|
58
|
+
label: i18n("10010.1.348", "\u5B63\u5EA6"),
|
86
59
|
value: "QUARTER"
|
87
60
|
}, {
|
88
|
-
label:
|
89
|
-
var _a, _b, _c;
|
90
|
-
try {
|
91
|
-
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";
|
92
|
-
} catch (e) {
|
93
|
-
return "\u5E74";
|
94
|
-
}
|
95
|
-
}(),
|
61
|
+
label: i18n("10010.1.349", "\u5E74"),
|
96
62
|
value: "YEAR"
|
97
63
|
}, {
|
98
|
-
label:
|
99
|
-
var _a, _b, _c;
|
100
|
-
try {
|
101
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.350")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.350")) || "\u5C0F\u65F6";
|
102
|
-
} catch (e) {
|
103
|
-
return "\u5C0F\u65F6";
|
104
|
-
}
|
105
|
-
}(),
|
64
|
+
label: i18n("10010.1.350", "\u5C0F\u65F6"),
|
106
65
|
value: "HOUR"
|
107
66
|
}];
|
108
67
|
const widgetRangeOptions = [{
|
109
|
-
label:
|
110
|
-
var _a, _b, _c;
|
111
|
-
try {
|
112
|
-
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";
|
113
|
-
} catch (e) {
|
114
|
-
return "\u5929";
|
115
|
-
}
|
116
|
-
}(),
|
68
|
+
label: i18n("10010.1.144", "\u5929"),
|
117
69
|
value: "DAY"
|
118
70
|
}, {
|
119
|
-
label:
|
120
|
-
var _a, _b, _c;
|
121
|
-
try {
|
122
|
-
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";
|
123
|
-
} catch (e) {
|
124
|
-
return "\u5468";
|
125
|
-
}
|
126
|
-
}(),
|
71
|
+
label: i18n("10010.1.346", "\u5468"),
|
127
72
|
value: "WEEK"
|
128
73
|
}, {
|
129
|
-
label:
|
130
|
-
var _a, _b, _c;
|
131
|
-
try {
|
132
|
-
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";
|
133
|
-
} catch (e) {
|
134
|
-
return "\u6708";
|
135
|
-
}
|
136
|
-
}(),
|
74
|
+
label: i18n("10010.1.347", "\u6708"),
|
137
75
|
value: "MONTH"
|
138
76
|
}, {
|
139
|
-
label:
|
140
|
-
var _a, _b, _c;
|
141
|
-
try {
|
142
|
-
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";
|
143
|
-
} catch (e) {
|
144
|
-
return "\u5E74";
|
145
|
-
}
|
146
|
-
}(),
|
77
|
+
label: i18n("10010.1.349", "\u5E74"),
|
147
78
|
value: "YEAR"
|
148
79
|
}];
|
149
80
|
const startDateNum = ref();
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, unref, createBlock, createCommentVNode } from 'vue';
|
2
3
|
import DatePicker from '../../../../../date-picker/index.js';
|
3
4
|
import { NSelect } from 'naive-ui';
|
@@ -124,14 +125,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
124
125
|
};
|
125
126
|
});
|
126
127
|
options2.unshift({
|
127
|
-
label:
|
128
|
-
var _a2, _b, _c;
|
129
|
-
try {
|
130
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
131
|
-
} catch (e) {
|
132
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
133
|
-
}
|
134
|
-
}(),
|
128
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
135
129
|
value: WidgetValEnums.CUSTOM
|
136
130
|
});
|
137
131
|
return options2;
|
@@ -147,14 +141,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
147
141
|
};
|
148
142
|
});
|
149
143
|
options.unshift({
|
150
|
-
label:
|
151
|
-
var _a2, _b, _c;
|
152
|
-
try {
|
153
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
154
|
-
} catch (e) {
|
155
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
156
|
-
}
|
157
|
-
}(),
|
144
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
158
145
|
value: WidgetValEnums.CUSTOM
|
159
146
|
});
|
160
147
|
return options;
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, Fragment, createVNode, unref, withCtx, toDisplayString, createCommentVNode, createBlock } from 'vue';
|
2
3
|
import { NSelect, NPopover } from 'naive-ui';
|
3
4
|
import DatePicker from '../../../../../date-picker/index.js';
|
@@ -106,38 +107,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
106
107
|
const isPastTime = computed(() => optionSetting.value === WidgetOptionEnums.PAST_TIME);
|
107
108
|
const isFutureTime = computed(() => optionSetting.value === WidgetOptionEnums.FUTURE_TIME);
|
108
109
|
const startPlaceholder = computed(() => {
|
109
|
-
return compType.value === WidgetTypeEnums.DATE ?
|
110
|
-
var _a, _b, _c;
|
111
|
-
try {
|
112
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.366")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.366")) || "\u521D\u59CB\u65E5\u671F";
|
113
|
-
} catch (e) {
|
114
|
-
return "\u521D\u59CB\u65E5\u671F";
|
115
|
-
}
|
116
|
-
}() : function() {
|
117
|
-
var _a, _b, _c;
|
118
|
-
try {
|
119
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.367")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.367")) || "\u521D\u59CB\u65F6\u95F4";
|
120
|
-
} catch (e) {
|
121
|
-
return "\u521D\u59CB\u65F6\u95F4";
|
122
|
-
}
|
123
|
-
}();
|
110
|
+
return compType.value === WidgetTypeEnums.DATE ? i18n("10010.1.366", "\u521D\u59CB\u65E5\u671F") : i18n("10010.1.367", "\u521D\u59CB\u65F6\u95F4");
|
124
111
|
});
|
125
112
|
const endPlaceholder = computed(() => {
|
126
|
-
return compType.value === WidgetTypeEnums.DATE ?
|
127
|
-
var _a, _b, _c;
|
128
|
-
try {
|
129
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.368")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.368")) || "\u622A\u6B62\u65E5\u671F";
|
130
|
-
} catch (e) {
|
131
|
-
return "\u622A\u6B62\u65E5\u671F";
|
132
|
-
}
|
133
|
-
}() : function() {
|
134
|
-
var _a, _b, _c;
|
135
|
-
try {
|
136
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.369")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.369")) || "\u622A\u6B62\u65F6\u95F4";
|
137
|
-
} catch (e) {
|
138
|
-
return "\u622A\u6B62\u65F6\u95F4";
|
139
|
-
}
|
140
|
-
}();
|
113
|
+
return compType.value === WidgetTypeEnums.DATE ? i18n("10010.1.368", "\u622A\u6B62\u65E5\u671F") : i18n("10010.1.369", "\u622A\u6B62\u65F6\u95F4");
|
141
114
|
});
|
142
115
|
const startDefault = computed(() => {
|
143
116
|
if (isFutureTime.value)
|
@@ -172,14 +145,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
172
145
|
};
|
173
146
|
});
|
174
147
|
options2.unshift({
|
175
|
-
label:
|
176
|
-
var _a2, _b, _c;
|
177
|
-
try {
|
178
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
179
|
-
} catch (e) {
|
180
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
181
|
-
}
|
182
|
-
}(),
|
148
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
183
149
|
value: WidgetValEnums.CUSTOM
|
184
150
|
});
|
185
151
|
return options2;
|
@@ -195,14 +161,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
195
161
|
};
|
196
162
|
});
|
197
163
|
options.unshift({
|
198
|
-
label:
|
199
|
-
var _a2, _b, _c;
|
200
|
-
try {
|
201
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
202
|
-
} catch (e) {
|
203
|
-
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
204
|
-
}
|
205
|
-
}(),
|
164
|
+
label: i18n("10010.1.345", "\u81EA\u5B9A\u4E49\u8F93\u5165"),
|
206
165
|
value: WidgetValEnums.CUSTOM
|
207
166
|
});
|
208
167
|
return options;
|
package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { defineComponent, ref, computed, openBlock, createElementBlock, createBlock, unref, createCommentVNode, createVNode } from 'vue';
|
2
3
|
import { NSelect, NInput } from 'naive-ui';
|
3
4
|
|
@@ -29,24 +30,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
30
|
const props = __props;
|
30
31
|
const emit = __emit;
|
31
32
|
const optionList = ref([{
|
32
|
-
label:
|
33
|
-
var _a, _b, _c;
|
34
|
-
try {
|
35
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.370")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.370")) || "\u7CBE\u786E\u67E5\u8BE2";
|
36
|
-
} catch (e) {
|
37
|
-
return "\u7CBE\u786E\u67E5\u8BE2";
|
38
|
-
}
|
39
|
-
}(),
|
33
|
+
label: i18n("10010.1.370", "\u7CBE\u786E\u67E5\u8BE2"),
|
40
34
|
value: 1
|
41
35
|
}, {
|
42
|
-
label:
|
43
|
-
var _a, _b, _c;
|
44
|
-
try {
|
45
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.371")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.371")) || "\u6A21\u7CCA\u67E5\u8BE2";
|
46
|
-
} catch (e) {
|
47
|
-
return "\u6A21\u7CCA\u67E5\u8BE2";
|
48
|
-
}
|
49
|
-
}(),
|
36
|
+
label: i18n("10010.1.371", "\u6A21\u7CCA\u67E5\u8BE2"),
|
50
37
|
value: 0
|
51
38
|
}]);
|
52
39
|
const valueCp = computed({
|
package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue2.js
CHANGED
@@ -9,10 +9,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
default: null
|
10
10
|
}
|
11
11
|
},
|
12
|
-
emits: [
|
13
|
-
|
14
|
-
|
15
|
-
}) {
|
12
|
+
emits: [
|
13
|
+
"update:modelValue"
|
14
|
+
],
|
15
|
+
setup(__props, { emit: __emit }) {
|
16
16
|
const props = __props;
|
17
17
|
const emit = __emit;
|
18
18
|
const valueCp = computed({
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { i18n } from '../../../../../../_virtual/_virtual_i18n-methods.js';
|
1
2
|
import { defineComponent, ref, watch, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode } from 'vue';
|
2
3
|
import { NInputGroup, NInputNumber } from 'naive-ui';
|
3
4
|
import { isString } from 'lodash-es';
|
@@ -59,14 +60,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
59
60
|
style: {
|
60
61
|
"width": "106px"
|
61
62
|
},
|
62
|
-
placeholder:
|
63
|
-
var _a, _b, _c;
|
64
|
-
try {
|
65
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.372")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.372")) || "\u6700\u5C0F\u503C";
|
66
|
-
} catch (e) {
|
67
|
-
return "\u6700\u5C0F\u503C";
|
68
|
-
}
|
69
|
-
}(),
|
63
|
+
placeholder: i18n("10010.1.372", "\u6700\u5C0F\u503C"),
|
70
64
|
value: startNumber.value,
|
71
65
|
"onUpdate:value": _cache[0] || (_cache[0] = (e) => handleChange(e, "startNumber"))
|
72
66
|
}, null, 8, ["value"]), _cache[2] || (_cache[2] = createElementVNode("span", {
|
@@ -75,14 +69,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
75
69
|
style: {
|
76
70
|
"width": "106px"
|
77
71
|
},
|
78
|
-
placeholder:
|
79
|
-
var _a, _b, _c;
|
80
|
-
try {
|
81
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.373")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.373")) || "\u6700\u5927\u503C";
|
82
|
-
} catch (e) {
|
83
|
-
return "\u6700\u5927\u503C";
|
84
|
-
}
|
85
|
-
}(),
|
72
|
+
placeholder: i18n("10010.1.373", "\u6700\u5927\u503C"),
|
86
73
|
value: endNumber.value,
|
87
74
|
"onUpdate:value": _cache[1] || (_cache[1] = (e) => handleChange(e, "endNumber"))
|
88
75
|
}, null, 8, ["value"])]),
|
package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js
CHANGED
@@ -20,24 +20,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
20
20
|
default: null
|
21
21
|
}
|
22
22
|
},
|
23
|
-
emits: [
|
24
|
-
|
25
|
-
|
26
|
-
}) {
|
23
|
+
emits: [
|
24
|
+
"update:modelValue"
|
25
|
+
],
|
26
|
+
setup(__props, { emit: __emit }) {
|
27
27
|
const message = useMessage();
|
28
28
|
const props = __props;
|
29
|
-
const {
|
30
|
-
getDynamicSelectData
|
31
|
-
} = useAsyncData();
|
29
|
+
const { getDynamicSelectData } = useAsyncData();
|
32
30
|
const emit = __emit;
|
33
31
|
const selectDynamicRef = ref(null);
|
34
32
|
const isLoading = ref(false);
|
35
33
|
const filterApiConfig = inject(InjectionFilterApiConfig);
|
36
34
|
const classifyFilterList = inject(InjectionClassifyFilterList);
|
37
35
|
const totalPage = ref(0);
|
38
|
-
const menuProps = {
|
39
|
-
class: "select-dynamic-popover"
|
40
|
-
};
|
36
|
+
const menuProps = { class: "select-dynamic-popover" };
|
41
37
|
const curPage = ref(1);
|
42
38
|
const fieldTitleList = ref();
|
43
39
|
const selectOptions = ref([]);
|
@@ -48,9 +44,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
48
44
|
});
|
49
45
|
const isMultiple = computed(() => optionSetting.value === WidgetOptionEnums.MULTIPLE);
|
50
46
|
const dynamicOptionInfos = computed(() => {
|
51
|
-
const {
|
52
|
-
dynamicOptionInfo = {}
|
53
|
-
} = props.paramCfg.optionInfo;
|
47
|
+
const { dynamicOptionInfo = {} } = props.paramCfg.optionInfo;
|
54
48
|
return dynamicOptionInfo;
|
55
49
|
});
|
56
50
|
const isLastPage = computed(() => totalPage.value > 0 && curPage.value >= totalPage.value);
|
@@ -79,9 +73,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
79
73
|
});
|
80
74
|
const isInitRequest = computed(() => {
|
81
75
|
if (Object.keys(dynamicOptionInfos.value).length > 0) {
|
82
|
-
const {
|
83
|
-
defaultParams = []
|
84
|
-
} = dynamicOptionInfos.value;
|
76
|
+
const { defaultParams = [] } = dynamicOptionInfos.value;
|
85
77
|
return !judgmentVariable(defaultParams);
|
86
78
|
}
|
87
79
|
return true;
|
@@ -96,9 +88,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
96
88
|
}
|
97
89
|
function handleUpdateSelect(value) {
|
98
90
|
var _a;
|
99
|
-
const {
|
100
|
-
defaultValue
|
101
|
-
} = props.paramCfg._rawData;
|
91
|
+
const { defaultValue } = props.paramCfg._rawData;
|
102
92
|
if (((_a = defaultValue == null ? void 0 : defaultValue.linkageFieldKeys) == null ? void 0 : _a.length) > 0) {
|
103
93
|
defaultValue.linkageFieldKeys.forEach((key) => {
|
104
94
|
const curItem = classifyFilterList.value.find((searchItem) => searchItem.key === key);
|
@@ -122,15 +112,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
122
112
|
async function getOptionsData(keyword, curPage2) {
|
123
113
|
try {
|
124
114
|
if (Object.keys(dynamicOptionInfos.value).length > 0) {
|
125
|
-
const {
|
126
|
-
autograph,
|
127
|
-
dataSourceId,
|
128
|
-
dataSourceType,
|
129
|
-
filterKeys,
|
130
|
-
defaultParams = [],
|
131
|
-
showKeys,
|
132
|
-
valueKey
|
133
|
-
} = dynamicOptionInfos.value;
|
115
|
+
const { autograph, dataSourceId, dataSourceType, filterKeys, defaultParams = [], showKeys, valueKey } = dynamicOptionInfos.value;
|
134
116
|
let params = {
|
135
117
|
wordbookId: dataSourceId,
|
136
118
|
autograph,
|
@@ -153,11 +135,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
153
135
|
}
|
154
136
|
let res = await getDynamicSelectData(params, filterApiConfig);
|
155
137
|
if (res) {
|
156
|
-
const {
|
157
|
-
fieldList = [],
|
158
|
-
rows = [],
|
159
|
-
total = 0
|
160
|
-
} = res.map;
|
138
|
+
const { fieldList = [], rows = [], total = 0 } = res.map;
|
161
139
|
const optionList = rows.map((item) => {
|
162
140
|
return {
|
163
141
|
...item,
|
@@ -207,37 +185,36 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
207
185
|
handleInitData();
|
208
186
|
}
|
209
187
|
}
|
210
|
-
function renderTag({
|
211
|
-
option,
|
212
|
-
handleClose
|
213
|
-
}) {
|
188
|
+
function renderTag({ option, handleClose }) {
|
214
189
|
if (isMultiple.value) {
|
215
190
|
const currentOption2 = option.value;
|
216
|
-
return h(
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
sList.
|
229
|
-
|
230
|
-
|
191
|
+
return h(
|
192
|
+
NTag,
|
193
|
+
{
|
194
|
+
style: {
|
195
|
+
padding: "0 8px"
|
196
|
+
},
|
197
|
+
closable: true,
|
198
|
+
onClose: (e) => {
|
199
|
+
e.stopPropagation();
|
200
|
+
handleClose();
|
201
|
+
if (Array.isArray(props.modelValue) && props.modelValue.length > 0) {
|
202
|
+
const sList = props.modelValue;
|
203
|
+
const index = sList.indexOf(currentOption2.value);
|
204
|
+
if (index > -1) {
|
205
|
+
sList.splice(index, 1);
|
206
|
+
emit("update:modelValue", sList.length > 0 ? sList : null);
|
207
|
+
saveDynamicBaseList(sList.length > 0 ? sList : null);
|
208
|
+
}
|
231
209
|
}
|
232
210
|
}
|
211
|
+
},
|
212
|
+
{
|
213
|
+
default: () => h("div", currentOption2.label)
|
233
214
|
}
|
234
|
-
|
235
|
-
default: () => h("div", currentOption2.label)
|
236
|
-
});
|
215
|
+
);
|
237
216
|
}
|
238
|
-
const currentOption = option.value ? JSON.parse(option.value) : {
|
239
|
-
label: ""
|
240
|
-
};
|
217
|
+
const currentOption = option.value ? JSON.parse(option.value) : { label: "" };
|
241
218
|
return h("div", currentOption.label);
|
242
219
|
}
|
243
220
|
function init() {
|
@@ -264,9 +241,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
264
241
|
id: "select-dynamic-popover",
|
265
242
|
ref_key: "selectDynamicRef",
|
266
243
|
ref: selectDynamicRef,
|
267
|
-
style: {
|
268
|
-
"width": "200px"
|
269
|
-
},
|
244
|
+
style: { "width": "200px" },
|
270
245
|
value: valueCp.value,
|
271
246
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => valueCp.value = $event),
|
272
247
|
remote: "",
|
@@ -283,17 +258,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
283
258
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
284
259
|
}, ["stop"]))
|
285
260
|
}, {
|
286
|
-
empty: withCtx(() => [
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
261
|
+
empty: withCtx(() => [
|
262
|
+
createVNode(SelectDynamicOption, {
|
263
|
+
oldValue: props.modelValue,
|
264
|
+
dynamicOptionInfo: dynamicOptionInfos.value,
|
265
|
+
fieldTitleList: fieldTitleList.value,
|
266
|
+
optionList: selectOptions.value,
|
267
|
+
isMultiple: isMultiple.value,
|
268
|
+
curPage: curPage.value,
|
269
|
+
isLastPage: isLastPage.value,
|
270
|
+
onUpdateSelect: handleUpdateSelect,
|
271
|
+
onUpdatePage: handleUpdatePage
|
272
|
+
}, null, 8, ["oldValue", "dynamicOptionInfo", "fieldTitleList", "optionList", "isMultiple", "curPage", "isLastPage"])
|
273
|
+
]),
|
297
274
|
_: 1
|
298
275
|
}, 8, ["value", "loading", "multiple", "onSearch"]);
|
299
276
|
};
|
package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js
CHANGED
@@ -18,10 +18,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
default: ""
|
19
19
|
}
|
20
20
|
},
|
21
|
-
emits: [
|
22
|
-
|
23
|
-
|
24
|
-
}) {
|
21
|
+
emits: [
|
22
|
+
"update:modelValue"
|
23
|
+
],
|
24
|
+
setup(__props, { emit: __emit }) {
|
25
25
|
const props = __props;
|
26
26
|
const emit = __emit;
|
27
27
|
const valueCp = computed({
|
@@ -46,9 +46,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
46
46
|
});
|
47
47
|
return (_ctx, _cache) => {
|
48
48
|
return openBlock(), createBlock(unref(NSelect), {
|
49
|
-
style: {
|
50
|
-
"width": "200px"
|
51
|
-
},
|
49
|
+
style: { "width": "200px" },
|
52
50
|
class: "form-item",
|
53
51
|
value: valueCp.value,
|
54
52
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => valueCp.value = $event),
|
package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js
CHANGED
@@ -15,13 +15,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
default: null
|
16
16
|
}
|
17
17
|
},
|
18
|
-
emits: [
|
19
|
-
|
20
|
-
|
21
|
-
}) {
|
22
|
-
const {
|
23
|
-
getDynamicLabelData
|
24
|
-
} = useAsyncData();
|
18
|
+
emits: [
|
19
|
+
"update:modelValue"
|
20
|
+
],
|
21
|
+
setup(__props, { emit: __emit }) {
|
22
|
+
const { getDynamicLabelData } = useAsyncData();
|
25
23
|
const message = useMessage();
|
26
24
|
const props = __props;
|
27
25
|
const emit = __emit;
|
@@ -60,19 +58,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
60
58
|
});
|
61
59
|
const initTagList = async () => {
|
62
60
|
try {
|
63
|
-
const {
|
64
|
-
|
65
|
-
|
66
|
-
const {
|
67
|
-
classifyStr = ""
|
68
|
-
} = defaultValue;
|
69
|
-
let res = await getDynamicLabelData({
|
70
|
-
classifyStr
|
71
|
-
}, filterApiConfig);
|
61
|
+
const { defaultValue = {} } = props.paramCfg._rawData;
|
62
|
+
const { classifyStr = "" } = defaultValue;
|
63
|
+
let res = await getDynamicLabelData({ classifyStr }, filterApiConfig);
|
72
64
|
if (res) {
|
73
|
-
const {
|
74
|
-
list = []
|
75
|
-
} = res;
|
65
|
+
const { list = [] } = res;
|
76
66
|
tagList.value = list;
|
77
67
|
}
|
78
68
|
} catch (error) {
|
@@ -80,13 +70,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
80
70
|
console.log(error);
|
81
71
|
}
|
82
72
|
};
|
83
|
-
const renderOption = ({
|
84
|
-
|
85
|
-
option
|
86
|
-
}) => {
|
87
|
-
return h(NTooltip, {
|
88
|
-
to: "body"
|
89
|
-
}, {
|
73
|
+
const renderOption = ({ node, option }) => {
|
74
|
+
return h(NTooltip, { to: "body" }, {
|
90
75
|
trigger: () => node,
|
91
76
|
default: () => option.label
|
92
77
|
});
|
@@ -96,10 +81,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
96
81
|
return h("img", {
|
97
82
|
src: option.bsv13 || "",
|
98
83
|
alt: option.label,
|
99
|
-
style: {
|
100
|
-
height: "28px",
|
101
|
-
display: "block"
|
102
|
-
}
|
84
|
+
style: { height: "28px", display: "block" }
|
103
85
|
});
|
104
86
|
}
|
105
87
|
return option.label;
|
@@ -115,9 +97,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
115
97
|
value: valueCp.value,
|
116
98
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => valueCp.value = $event),
|
117
99
|
options: optionList.value,
|
118
|
-
style: {
|
119
|
-
"width": "200px"
|
120
|
-
},
|
100
|
+
style: { "width": "200px" },
|
121
101
|
renderOption,
|
122
102
|
renderLabel
|
123
103
|
}, null, 8, ["value", "options"]);
|