cnhis-design-vue 3.1.55-release.1 → 3.1.56-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/es/components/annotation-edit/index.d.ts +19 -1
- package/es/components/annotation-edit/src/AnnotationEdit.d.ts +19 -1
- package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/annotation-edit/src/type.d.ts +4 -0
- package/es/components/audio-sdk/src/audioSDK.d.ts +21 -7
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +14 -0
- package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
- package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +5 -2
- package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/index.d.ts +15 -1
- package/es/components/base-search/src/index.vue.d.ts +18 -4
- package/es/components/base-search/src/index.vue2.js +1 -1
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/big-table/index.d.ts +22 -22
- package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
- package/es/components/big-table/src/bigTableProps.d.ts +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
- package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
- package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
- package/es/components/big-table/src/constants/index.d.ts +1 -1
- package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
- package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
- package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
- package/es/components/big-table/src/utils.d.ts +1 -1
- package/es/components/biunique-chat/index.d.ts +14 -14
- package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/api/index.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
- package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
- package/es/components/body-select/index.d.ts +5 -5
- package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
- package/es/components/body-select/src/index.vue.d.ts +1 -1
- package/es/components/bpmn-workflow/index.d.ts +1 -1
- package/es/components/button-print/index.d.ts +21 -21
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
- package/es/components/button-print/src/api.d.ts +1 -1
- package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
- package/es/components/button-print/src/utils/dialog.d.ts +1 -1
- package/es/components/button-print/src/utils/print.d.ts +5 -2
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/callback/index.d.ts +1 -1
- package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
- package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +74 -166
- package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
- package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
- package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
- package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
- package/es/components/classification/index.d.ts +40 -42
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +14 -0
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +33 -35
- package/es/components/classification/src/components/set-classification/index.vue2.js +1 -1
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +10 -21
- package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
- package/es/components/classification/src/index.vue.d.ts +33 -35
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/config-provider/index.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
- package/es/components/editor/index.d.ts +1 -1
- package/es/components/expand-field/index.d.ts +29 -29
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
- package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
- package/es/components/expand-field/src/constants/index.d.ts +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +2 -2
- package/es/components/fabric-chart/index.d.ts +10 -8
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -3
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +4 -4
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
- package/es/components/fabric-chart/src/interface.d.ts +2 -2
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/field-set/index.d.ts +15 -15
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
- package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
- package/es/components/field-set/src/types/index.d.ts +1 -1
- package/es/components/field-set/src/utils/index.d.ts +3 -3
- package/es/components/form-config/index.d.ts +322 -475
- package/es/components/form-config/src/FormConfig.vue.d.ts +448 -601
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +40 -132
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +214 -291
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
- package/es/components/form-config/src/constants/index.d.ts +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +2 -2
- package/es/components/form-config/src/utils/index.d.ts +3 -3
- package/es/components/form-render/index.d.ts +69 -161
- package/es/components/form-render/src/FormRender.vue.d.ts +39 -131
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +92 -184
- package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
- package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
- package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
- package/es/components/form-render/src/constants/index.d.ts +6 -5
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +3 -3
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +27 -19
- package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +4 -25
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +3 -3
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
- package/es/components/form-render/src/types/index.d.ts +18 -16
- package/es/components/form-render/src/utils/business.d.ts +2 -2
- package/es/components/form-render/src/utils/dom.d.ts +1 -1
- package/es/components/form-render/src/utils/index.d.ts +1 -1
- package/es/components/form-render/src/utils/schema.d.ts +3 -3
- package/es/components/form-render/src/utils/schema.js +1 -1
- package/es/components/grid/index.d.ts +1 -1
- package/es/components/guide/src/renderer.d.ts +1 -1
- package/es/components/guide/src/types/index.d.ts +1 -1
- package/es/components/guide/src/useGuide.d.ts +1 -1
- package/es/components/guide/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/index.d.ts +39 -39
- package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
- package/es/components/iho-table/src/constants/index.d.ts +5 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
- package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
- package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
- package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultValuePlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +8 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +3 -3
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
- package/es/components/iho-table/src/utils/index.d.ts +3 -3
- package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -3
- package/es/components/info-header/index.d.ts +213 -377
- package/es/components/info-header/src/InfoHeader.vue.d.ts +242 -406
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +11 -7
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +13 -9
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +119 -207
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +41 -133
- package/es/components/info-header/src/constants/index.d.ts +1 -1
- package/es/components/info-header/src/types/index.d.ts +1 -1
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/map/index.d.ts +1 -1
- package/es/components/map/src/Map.vue.d.ts +1 -1
- package/es/components/picture-clipper/index.d.ts +1 -1
- package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +1 -1
- package/es/components/quick-search/src/index.vue.d.ts +4 -4
- package/es/components/recommend-search/index.d.ts +33 -33
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +15 -15
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +6 -6
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +5 -5
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
- package/es/components/scale-view/src/types/index.d.ts +1 -1
- package/es/components/search-cascader/index.d.ts +34 -34
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/search-cascader/src/constants/index.d.ts +1 -1
- package/es/components/search-cascader/src/utils/index.d.ts +1 -1
- package/es/components/select-label/index.d.ts +1 -1
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
- package/es/components/select-label/src/index.vue.d.ts +19 -19
- package/es/components/select-person/index.d.ts +22 -22
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/shortcut-provider/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
- package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
- package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
- package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
- package/es/components/shortcut-setter/index.d.ts +85 -176
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +118 -209
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
- package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
- package/es/components/slider-tree/index.d.ts +1 -1
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/table-export-field/index.d.ts +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -1
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
- package/es/components/table-export-field/src/constants/index.d.ts +1 -1
- package/es/components/table-export-field/src/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +14 -0
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +14 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +16 -2
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +19 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +15 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +19 -0
- package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +28 -9
- package/es/components/table-filter/src/constants/index.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
- package/es/components/table-filter/src/types/index.d.ts +1 -0
- package/es/components/time-line/index.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
- package/es/components/vod-chunk-upload/index.d.ts +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -3
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
- package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
- package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +2 -2
- package/es/shared/hooks/selectHooks/useSelectRenders.js +1 -1
- package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
- package/es/shared/hooks/useDateTime.d.ts +1 -1
- package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
- package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
- package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
- package/es/shared/hooks/useTheme.d.ts +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +1 -1
- package/es/shared/utils/business.d.ts +1 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
tableId: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -258,13 +258,12 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
258
258
|
$message: import("naive-ui").MessageApi;
|
|
259
259
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
260
260
|
conditionList: import("vue").Ref<unknown[]>;
|
|
261
|
-
checkedItem: import("vue").Ref<any>;
|
|
262
261
|
addVisible: import("vue").Ref<boolean>;
|
|
263
262
|
actionList_prop: import("vue").Ref<{}>;
|
|
264
263
|
newSearchFieldList: any;
|
|
265
264
|
saveLoading: import("vue").Ref<boolean>;
|
|
266
265
|
searchFilter: any;
|
|
267
|
-
filterApiConfig: import("
|
|
266
|
+
filterApiConfig: import("../../shared/types").AnyObject;
|
|
268
267
|
attrs: {
|
|
269
268
|
[x: string]: unknown;
|
|
270
269
|
};
|
|
@@ -275,7 +274,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
275
274
|
copy: (item: import("..").IClassifyListType) => void;
|
|
276
275
|
saveAdd: (params: any) => Promise<void>;
|
|
277
276
|
cancelSaveAdd: () => void;
|
|
278
|
-
changeData: (data: any, checkedItemVal: any) => void;
|
|
279
277
|
delItem: (checkedItemVal: any) => Promise<void>;
|
|
280
278
|
setOneVisible: (flag: boolean) => void;
|
|
281
279
|
resetPopconfirm: () => Promise<void>;
|
|
@@ -309,6 +307,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
309
307
|
};
|
|
310
308
|
type: {
|
|
311
309
|
type: StringConstructor;
|
|
310
|
+
default: string;
|
|
312
311
|
};
|
|
313
312
|
transitionName: {
|
|
314
313
|
type: StringConstructor;
|
|
@@ -318,12 +317,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
318
317
|
default: () => HTMLElement;
|
|
319
318
|
};
|
|
320
319
|
}, {
|
|
321
|
-
instance: import("axios").AxiosInstance;
|
|
322
|
-
attrs: {
|
|
323
|
-
[x: string]: unknown;
|
|
324
|
-
};
|
|
325
|
-
$message: import("naive-ui").MessageApi;
|
|
326
|
-
$dialog: import("naive-ui").DialogApi;
|
|
327
320
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
328
321
|
visibleIn: {
|
|
329
322
|
type: BooleanConstructor;
|
|
@@ -352,6 +345,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
352
345
|
};
|
|
353
346
|
type: {
|
|
354
347
|
type: StringConstructor;
|
|
348
|
+
default: string;
|
|
355
349
|
};
|
|
356
350
|
transitionName: {
|
|
357
351
|
type: StringConstructor;
|
|
@@ -363,12 +357,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
363
357
|
}>> & {
|
|
364
358
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
365
359
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
366
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
367
360
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
368
361
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
369
362
|
}>>;
|
|
370
|
-
emits: (event: "close" | "handleOk" | "
|
|
371
|
-
isAdmin: import("vue").ComputedRef<unknown>;
|
|
363
|
+
emits: (event: "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", ...args: any[]) => void;
|
|
372
364
|
homeList: any;
|
|
373
365
|
visible: import("vue").Ref<boolean>;
|
|
374
366
|
isChangeWindow: import("vue").Ref<boolean>;
|
|
@@ -376,24 +368,15 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
376
368
|
modalHeight: import("vue").Ref<string>;
|
|
377
369
|
isShowResetButton: boolean;
|
|
378
370
|
handleOk: () => void;
|
|
379
|
-
rinkTo: () => void;
|
|
380
371
|
close: () => void;
|
|
381
372
|
resetChangeWindow: () => void;
|
|
382
|
-
dragEnd: () => void;
|
|
383
373
|
clickli: (item: import("..").IClassifyListType) => void;
|
|
384
374
|
clickChecked: (item: import("..").IClassifyListType) => void;
|
|
385
375
|
changeSwitch: (item: import("..").IClassifyListType) => void;
|
|
386
|
-
changecommonSwitch: (item: import("..").IClassifyListType) => void;
|
|
387
376
|
formatParams: (type: string) => {
|
|
388
377
|
id: string;
|
|
389
378
|
tableId: string;
|
|
390
379
|
setting: string;
|
|
391
|
-
type?: undefined;
|
|
392
|
-
} | {
|
|
393
|
-
type: string;
|
|
394
|
-
tableId: string;
|
|
395
|
-
setting: string;
|
|
396
|
-
id?: undefined;
|
|
397
380
|
} | undefined;
|
|
398
381
|
changeModalWindow: () => void;
|
|
399
382
|
popconfirm: (e: any) => void;
|
|
@@ -481,7 +464,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
481
464
|
modelValue: unknown[];
|
|
482
465
|
componentData: Record<string, any>;
|
|
483
466
|
}>;
|
|
484
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "
|
|
467
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "resetPopconfirm" | "finishSubmit")[], "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
485
468
|
visibleIn: {
|
|
486
469
|
type: BooleanConstructor;
|
|
487
470
|
};
|
|
@@ -509,6 +492,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
509
492
|
};
|
|
510
493
|
type: {
|
|
511
494
|
type: StringConstructor;
|
|
495
|
+
default: string;
|
|
512
496
|
};
|
|
513
497
|
transitionName: {
|
|
514
498
|
type: StringConstructor;
|
|
@@ -520,11 +504,11 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
520
504
|
}>> & {
|
|
521
505
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
522
506
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
523
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
524
507
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
525
508
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
526
509
|
}, {
|
|
527
510
|
loading: boolean;
|
|
511
|
+
type: string;
|
|
528
512
|
dataSource: unknown[];
|
|
529
513
|
visibleIn: boolean;
|
|
530
514
|
getContainer: Function;
|
|
@@ -848,7 +832,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
848
832
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
849
833
|
}>>;
|
|
850
834
|
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
851
|
-
datePickerRef: import("vue").Ref<import("
|
|
835
|
+
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
852
836
|
panelInstRef: import("vue").Ref<null>;
|
|
853
837
|
placeholderRef: import("vue").Ref<any>;
|
|
854
838
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
@@ -1114,8 +1098,8 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1114
1098
|
getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
|
|
1115
1099
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1116
1100
|
isLoading: import("vue").Ref<boolean>;
|
|
1117
|
-
filterApiConfig: import("
|
|
1118
|
-
classifyFilterList: import("vue").Ref<import("
|
|
1101
|
+
filterApiConfig: import("../../shared/types").AnyObject;
|
|
1102
|
+
classifyFilterList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
|
1119
1103
|
totalPage: import("vue").Ref<number>;
|
|
1120
1104
|
menuProps: {
|
|
1121
1105
|
class: string;
|
|
@@ -1147,15 +1131,15 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1147
1131
|
NSelect: any;
|
|
1148
1132
|
SelectDynamicOption: import("vue").DefineComponent<{
|
|
1149
1133
|
dynamicOptionInfo: {
|
|
1150
|
-
type: import("vue").PropType<import("
|
|
1134
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
1151
1135
|
default: () => {};
|
|
1152
1136
|
};
|
|
1153
1137
|
fieldTitleList: {
|
|
1154
|
-
type: import("vue").PropType<import("
|
|
1138
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1155
1139
|
default: () => never[];
|
|
1156
1140
|
};
|
|
1157
1141
|
optionList: {
|
|
1158
|
-
type: import("vue").PropType<import("
|
|
1142
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1159
1143
|
default: () => never[];
|
|
1160
1144
|
};
|
|
1161
1145
|
isMultiple: {
|
|
@@ -1174,19 +1158,23 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1174
1158
|
type: BooleanConstructor;
|
|
1175
1159
|
default: boolean;
|
|
1176
1160
|
};
|
|
1161
|
+
loading: {
|
|
1162
|
+
type: BooleanConstructor;
|
|
1163
|
+
default: boolean;
|
|
1164
|
+
};
|
|
1177
1165
|
}, {
|
|
1178
1166
|
selectMinWidth: number;
|
|
1179
1167
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1180
1168
|
dynamicOptionInfo: {
|
|
1181
|
-
type: import("vue").PropType<import("
|
|
1169
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
1182
1170
|
default: () => {};
|
|
1183
1171
|
};
|
|
1184
1172
|
fieldTitleList: {
|
|
1185
|
-
type: import("vue").PropType<import("
|
|
1173
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1186
1174
|
default: () => never[];
|
|
1187
1175
|
};
|
|
1188
1176
|
optionList: {
|
|
1189
|
-
type: import("vue").PropType<import("
|
|
1177
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1190
1178
|
default: () => never[];
|
|
1191
1179
|
};
|
|
1192
1180
|
isMultiple: {
|
|
@@ -1205,6 +1193,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1205
1193
|
type: BooleanConstructor;
|
|
1206
1194
|
default: boolean;
|
|
1207
1195
|
};
|
|
1196
|
+
loading: {
|
|
1197
|
+
type: BooleanConstructor;
|
|
1198
|
+
default: boolean;
|
|
1199
|
+
};
|
|
1208
1200
|
}>> & {
|
|
1209
1201
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1210
1202
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
@@ -1213,6 +1205,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1213
1205
|
dragEndWidth: import("vue").Ref<number>;
|
|
1214
1206
|
showKeys: import("vue").ComputedRef<any>;
|
|
1215
1207
|
titleList: import("vue").ComputedRef<string[]>;
|
|
1208
|
+
isOptionsNull: import("vue").ComputedRef<boolean>;
|
|
1216
1209
|
handleSelect: (option: any) => void;
|
|
1217
1210
|
searchByPage: (onePage: number) => void;
|
|
1218
1211
|
changeWidth: ({ distance }: any) => void;
|
|
@@ -1261,15 +1254,15 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1261
1254
|
ArrowForward: 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<{}>>, {}>;
|
|
1262
1255
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1263
1256
|
dynamicOptionInfo: {
|
|
1264
|
-
type: import("vue").PropType<import("
|
|
1257
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
1265
1258
|
default: () => {};
|
|
1266
1259
|
};
|
|
1267
1260
|
fieldTitleList: {
|
|
1268
|
-
type: import("vue").PropType<import("
|
|
1261
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1269
1262
|
default: () => never[];
|
|
1270
1263
|
};
|
|
1271
1264
|
optionList: {
|
|
1272
|
-
type: import("vue").PropType<import("
|
|
1265
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
|
1273
1266
|
default: () => never[];
|
|
1274
1267
|
};
|
|
1275
1268
|
isMultiple: {
|
|
@@ -1288,13 +1281,18 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1288
1281
|
type: BooleanConstructor;
|
|
1289
1282
|
default: boolean;
|
|
1290
1283
|
};
|
|
1284
|
+
loading: {
|
|
1285
|
+
type: BooleanConstructor;
|
|
1286
|
+
default: boolean;
|
|
1287
|
+
};
|
|
1291
1288
|
}>> & {
|
|
1292
1289
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1293
1290
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
1294
1291
|
}, {
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1292
|
+
loading: boolean;
|
|
1293
|
+
dynamicOptionInfo: import("../../shared/types").AnyObject;
|
|
1294
|
+
fieldTitleList: import("../../shared/types").AnyObject[];
|
|
1295
|
+
optionList: import("../../shared/types").AnyObject[];
|
|
1298
1296
|
isMultiple: boolean;
|
|
1299
1297
|
curPage: number;
|
|
1300
1298
|
isLastPage: boolean;
|
|
@@ -1475,7 +1473,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1475
1473
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1476
1474
|
}>>;
|
|
1477
1475
|
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
1478
|
-
datePickerRef: import("vue").Ref<import("
|
|
1476
|
+
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
1479
1477
|
panelInstRef: import("vue").Ref<null>;
|
|
1480
1478
|
placeholderRef: import("vue").Ref<any>;
|
|
1481
1479
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
@@ -1588,7 +1586,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1588
1586
|
}>>;
|
|
1589
1587
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1590
1588
|
tagList: import("vue").Ref<never[]>;
|
|
1591
|
-
filterApiConfig: import("
|
|
1589
|
+
filterApiConfig: import("../../shared/types").AnyObject;
|
|
1592
1590
|
valueCp: import("vue").WritableComputedRef<string[]>;
|
|
1593
1591
|
optionList: import("vue").ComputedRef<import("naive-ui").SelectOption[]>;
|
|
1594
1592
|
initTagList: () => Promise<void>;
|
|
@@ -1922,7 +1920,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1922
1920
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
1923
1921
|
}>>;
|
|
1924
1922
|
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
1925
|
-
datePickerRef: import("vue").Ref<import("
|
|
1923
|
+
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
1926
1924
|
panelInstRef: import("vue").Ref<null>;
|
|
1927
1925
|
placeholderRef: import("vue").Ref<any>;
|
|
1928
1926
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
@@ -643,6 +643,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
643
643
|
type: BooleanConstructor;
|
|
644
644
|
default: boolean;
|
|
645
645
|
};
|
|
646
|
+
loading: {
|
|
647
|
+
type: BooleanConstructor;
|
|
648
|
+
default: boolean;
|
|
649
|
+
};
|
|
646
650
|
}, {
|
|
647
651
|
selectMinWidth: number;
|
|
648
652
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -674,6 +678,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
674
678
|
type: BooleanConstructor;
|
|
675
679
|
default: boolean;
|
|
676
680
|
};
|
|
681
|
+
loading: {
|
|
682
|
+
type: BooleanConstructor;
|
|
683
|
+
default: boolean;
|
|
684
|
+
};
|
|
677
685
|
}>> & {
|
|
678
686
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
679
687
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
@@ -682,6 +690,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
682
690
|
dragEndWidth: import("vue").Ref<number>;
|
|
683
691
|
showKeys: import("vue").ComputedRef<any>;
|
|
684
692
|
titleList: import("vue").ComputedRef<string[]>;
|
|
693
|
+
isOptionsNull: import("vue").ComputedRef<boolean>;
|
|
685
694
|
handleSelect: (option: any) => void;
|
|
686
695
|
searchByPage: (onePage: number) => void;
|
|
687
696
|
changeWidth: ({ distance }: any) => void;
|
|
@@ -757,10 +766,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
757
766
|
type: BooleanConstructor;
|
|
758
767
|
default: boolean;
|
|
759
768
|
};
|
|
769
|
+
loading: {
|
|
770
|
+
type: BooleanConstructor;
|
|
771
|
+
default: boolean;
|
|
772
|
+
};
|
|
760
773
|
}>> & {
|
|
761
774
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
762
775
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
763
776
|
}, {
|
|
777
|
+
loading: boolean;
|
|
764
778
|
dynamicOptionInfo: import("../../../..").AnyObject;
|
|
765
779
|
fieldTitleList: import("../../../..").AnyObject[];
|
|
766
780
|
optionList: import("../../../..").AnyObject[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as i,inject as t,onBeforeUnmount as l,watch as a,openBlock as n,createBlock as o,unref as s,normalizeClass as d,withCtx as c,createVNode as r,normalizeStyle as u,createElementVNode as f,createTextVNode as h,
|
|
1
|
+
import{defineComponent as e,ref as i,inject as t,onBeforeUnmount as l,watch as a,openBlock as n,createBlock as o,unref as s,normalizeClass as d,withCtx as c,createVNode as r,normalizeStyle as u,createElementVNode as f,createTextVNode as h,createElementBlock as v,Fragment as m,createCommentVNode as p,mergeProps as x}from"vue";import{NModal as b,NCard as g,NButton as y}from"naive-ui";import{InjectionClassifyfilterType as L}from"../../../../table-filter/src/constants/index.js";import k from"../../../../table-filter/src/components/classify-filter/index.vue.js";import z from"../../../../table-filter/src/components/bi-filter/index.vue.js";const A={class:"svg-wrap"},_={class:"flex_right"};var w=e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveAdd"],setup(e,{expose:w,emit:C}){const F=e,S=i(F.visible),H=i(!1),T=i("860px");let $=i({maxHeight:"496px",height:"496px"}),j=i(null),R=null;const B=t(L);function I(){N(),R=setTimeout((()=>{j&&j.value.handleInitConditions()}),30)}function N(){R&&clearTimeout(R)}function P(){j&&j.value.saveAdd()}function U(){S.value=!1,C("cancelSaveAdd"),T.value="860px",$.value={height:"496px",maxHeight:"496px"},H.value=!1,j&&j.value.cancelSaveAdd()}function q(){H.value=!H.value;let e=document.body.clientHeight;"860px"===T.value?(T.value="100%",$.value.maxHeight=`${e}px`,$.value.height=`${e}px`):(T.value="860px",$.value.maxHeight="496px",$.value.height="")}return l((()=>{N()})),a((()=>F.visible),(e=>{S.value=e,e&&I()})),w({cancelSaveAdd:U}),(e,i)=>(n(),o(s(b),{class:d(["classification-modal-block standard-modal standard-modal-white search-filter-modal",{"modal-screen":H.value}]),show:S.value,"onUpdate:show":i[0]||(i[0]=e=>S.value=e),maskClosable:!1,width:T.value,bodyStyle:s($),closable:!1,centered:"",onPositiveClick:P,onNegativeClick:U},{default:c((()=>[r(s(g),{style:u({width:T.value,...s($)}),title:F.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":c((()=>[f("div",A,[f("i",{onClick:q,class:d(["iconfont-table-filter",H.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),f("i",{onClick:U,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:c((()=>[f("div",_,[r(s(y),{onClick:U},{default:c((()=>[h("取消")])),_:1}),r(s(y),{type:"info",onClick:P},{default:c((()=>[h("保存")])),_:1})])])),default:c((()=>["1"===s(B)?(n(),v(m,{key:0},[p(" 默认配置弹窗 "),r(k,x(e.$attrs,{ref_key:"conditionApiRef",ref:j,searchFieldList:F.searchFieldList,conditionList:F.conditionList}),null,16,["searchFieldList","conditionList"])],64)):"2"===s(B)?(n(),v(m,{key:1},[p(" bi配置弹窗 "),r(z,x(e.$attrs,{ref_key:"conditionApiRef",ref:j,searchFieldList:F.searchFieldList,conditionList:F.conditionList}),null,16,["searchFieldList","conditionList"])],64)):p("v-if",!0)])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{w as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IClassifyListType } from '
|
|
1
|
+
import { IClassifyListType } from '../../../../../components/table-filter/src/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
searchFieldList: {
|
|
4
4
|
type: ArrayConstructor;
|
|
@@ -37,7 +37,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
$message: import("naive-ui").MessageApi;
|
|
38
38
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
39
39
|
conditionList: import("vue").Ref<unknown[]>;
|
|
40
|
-
checkedItem: import("vue").Ref<any>;
|
|
41
40
|
addVisible: import("vue").Ref<boolean>;
|
|
42
41
|
actionList_prop: import("vue").Ref<{}>;
|
|
43
42
|
newSearchFieldList: any;
|
|
@@ -54,7 +53,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
53
|
copy: (item: IClassifyListType) => void;
|
|
55
54
|
saveAdd: (params: any) => Promise<void>;
|
|
56
55
|
cancelSaveAdd: () => void;
|
|
57
|
-
changeData: (data: any, checkedItemVal: any) => void;
|
|
58
56
|
delItem: (checkedItemVal: any) => Promise<void>;
|
|
59
57
|
setOneVisible: (flag: boolean) => void;
|
|
60
58
|
resetPopconfirm: () => Promise<void>;
|
|
@@ -88,6 +86,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
86
|
};
|
|
89
87
|
type: {
|
|
90
88
|
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
91
90
|
};
|
|
92
91
|
transitionName: {
|
|
93
92
|
type: StringConstructor;
|
|
@@ -97,12 +96,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
96
|
default: () => HTMLElement;
|
|
98
97
|
};
|
|
99
98
|
}, {
|
|
100
|
-
instance: import("axios").AxiosInstance;
|
|
101
|
-
attrs: {
|
|
102
|
-
[x: string]: unknown;
|
|
103
|
-
};
|
|
104
|
-
$message: import("naive-ui").MessageApi;
|
|
105
|
-
$dialog: import("naive-ui").DialogApi;
|
|
106
99
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
107
100
|
visibleIn: {
|
|
108
101
|
type: BooleanConstructor;
|
|
@@ -131,6 +124,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
124
|
};
|
|
132
125
|
type: {
|
|
133
126
|
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
134
128
|
};
|
|
135
129
|
transitionName: {
|
|
136
130
|
type: StringConstructor;
|
|
@@ -142,12 +136,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
136
|
}>> & {
|
|
143
137
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
144
138
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
145
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
146
139
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
147
140
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
148
141
|
}>>;
|
|
149
|
-
emits: (event: "close" | "handleOk" | "
|
|
150
|
-
isAdmin: import("vue").ComputedRef<unknown>;
|
|
142
|
+
emits: (event: "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", ...args: any[]) => void;
|
|
151
143
|
homeList: any;
|
|
152
144
|
visible: import("vue").Ref<boolean>;
|
|
153
145
|
isChangeWindow: import("vue").Ref<boolean>;
|
|
@@ -155,24 +147,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
147
|
modalHeight: import("vue").Ref<string>;
|
|
156
148
|
isShowResetButton: boolean;
|
|
157
149
|
handleOk: () => void;
|
|
158
|
-
rinkTo: () => void;
|
|
159
150
|
close: () => void;
|
|
160
151
|
resetChangeWindow: () => void;
|
|
161
|
-
dragEnd: () => void;
|
|
162
152
|
clickli: (item: IClassifyListType) => void;
|
|
163
153
|
clickChecked: (item: IClassifyListType) => void;
|
|
164
154
|
changeSwitch: (item: IClassifyListType) => void;
|
|
165
|
-
changecommonSwitch: (item: IClassifyListType) => void;
|
|
166
155
|
formatParams: (type: string) => {
|
|
167
156
|
id: string;
|
|
168
157
|
tableId: string;
|
|
169
158
|
setting: string;
|
|
170
|
-
type?: undefined;
|
|
171
|
-
} | {
|
|
172
|
-
type: string;
|
|
173
|
-
tableId: string;
|
|
174
|
-
setting: string;
|
|
175
|
-
id?: undefined;
|
|
176
159
|
} | undefined;
|
|
177
160
|
changeModalWindow: () => void;
|
|
178
161
|
popconfirm: (e: any) => void;
|
|
@@ -260,7 +243,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
260
243
|
modelValue: unknown[];
|
|
261
244
|
componentData: Record<string, any>;
|
|
262
245
|
}>;
|
|
263
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "
|
|
246
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "resetPopconfirm" | "finishSubmit")[], "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
264
247
|
visibleIn: {
|
|
265
248
|
type: BooleanConstructor;
|
|
266
249
|
};
|
|
@@ -288,6 +271,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
288
271
|
};
|
|
289
272
|
type: {
|
|
290
273
|
type: StringConstructor;
|
|
274
|
+
default: string;
|
|
291
275
|
};
|
|
292
276
|
transitionName: {
|
|
293
277
|
type: StringConstructor;
|
|
@@ -299,11 +283,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
299
283
|
}>> & {
|
|
300
284
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
301
285
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
302
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
303
286
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
304
287
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
305
288
|
}, {
|
|
306
289
|
loading: boolean;
|
|
290
|
+
type: string;
|
|
307
291
|
dataSource: unknown[];
|
|
308
292
|
visibleIn: boolean;
|
|
309
293
|
getContainer: Function;
|
|
@@ -456,9 +440,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
456
440
|
showAdd: boolean;
|
|
457
441
|
};
|
|
458
442
|
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
459
|
-
editDisplayCategory: (item: import("
|
|
460
|
-
handleDisplayCategorySelect: (item: import("
|
|
461
|
-
handleDisplayCategoryRemove: (index: number, item: import("
|
|
443
|
+
editDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
|
|
444
|
+
handleDisplayCategorySelect: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
445
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
462
446
|
handleDisplayCategoryAdd: (cb?: any) => void;
|
|
463
447
|
handlerBlur: () => void;
|
|
464
448
|
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
@@ -469,12 +453,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
469
453
|
updateKey: (index: number, val: any) => void;
|
|
470
454
|
updateCondition: (index: number, val: any) => void;
|
|
471
455
|
getParamCfg: (key: string) => any;
|
|
472
|
-
initFilterConditions: (tableId: string, rawConditions: import("
|
|
456
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
|
|
473
457
|
getRawFilterConditions: () => any[];
|
|
474
|
-
handleEditDisplayCategory: (item: import("
|
|
458
|
+
handleEditDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
475
459
|
handleDisplayCategoryAddState: () => void;
|
|
476
460
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
477
|
-
handleDisplayCategorySelectProxy: (item: import("
|
|
461
|
+
handleDisplayCategorySelectProxy: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
478
462
|
clearFormData: () => void;
|
|
479
463
|
handleInitConditions: () => Promise<void>;
|
|
480
464
|
validate: () => Promise<unknown>;
|
|
@@ -953,6 +937,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
953
937
|
type: BooleanConstructor;
|
|
954
938
|
default: boolean;
|
|
955
939
|
};
|
|
940
|
+
loading: {
|
|
941
|
+
type: BooleanConstructor;
|
|
942
|
+
default: boolean;
|
|
943
|
+
};
|
|
956
944
|
}, {
|
|
957
945
|
selectMinWidth: number;
|
|
958
946
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -984,6 +972,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
984
972
|
type: BooleanConstructor;
|
|
985
973
|
default: boolean;
|
|
986
974
|
};
|
|
975
|
+
loading: {
|
|
976
|
+
type: BooleanConstructor;
|
|
977
|
+
default: boolean;
|
|
978
|
+
};
|
|
987
979
|
}>> & {
|
|
988
980
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
989
981
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
@@ -992,6 +984,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
992
984
|
dragEndWidth: import("vue").Ref<number>;
|
|
993
985
|
showKeys: import("vue").ComputedRef<any>;
|
|
994
986
|
titleList: import("vue").ComputedRef<string[]>;
|
|
987
|
+
isOptionsNull: import("vue").ComputedRef<boolean>;
|
|
995
988
|
handleSelect: (option: any) => void;
|
|
996
989
|
searchByPage: (onePage: number) => void;
|
|
997
990
|
changeWidth: ({ distance }: any) => void;
|
|
@@ -1067,10 +1060,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1067
1060
|
type: BooleanConstructor;
|
|
1068
1061
|
default: boolean;
|
|
1069
1062
|
};
|
|
1063
|
+
loading: {
|
|
1064
|
+
type: BooleanConstructor;
|
|
1065
|
+
default: boolean;
|
|
1066
|
+
};
|
|
1070
1067
|
}>> & {
|
|
1071
1068
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1072
1069
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
1073
1070
|
}, {
|
|
1071
|
+
loading: boolean;
|
|
1074
1072
|
dynamicOptionInfo: import("../../../..").AnyObject;
|
|
1075
1073
|
fieldTitleList: import("../../../..").AnyObject[];
|
|
1076
1074
|
optionList: import("../../../..").AnyObject[];
|
|
@@ -1556,9 +1554,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1556
1554
|
showAdd: boolean;
|
|
1557
1555
|
};
|
|
1558
1556
|
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
1559
|
-
editDisplayCategory: (item: import("
|
|
1560
|
-
handleDisplayCategorySelect: (item: import("
|
|
1561
|
-
handleDisplayCategoryRemove: (index: number, item: import("
|
|
1557
|
+
editDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
|
|
1558
|
+
handleDisplayCategorySelect: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1559
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1562
1560
|
handleDisplayCategoryAdd: (cb?: any) => void;
|
|
1563
1561
|
handlerBlur: () => void;
|
|
1564
1562
|
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
@@ -1569,13 +1567,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1569
1567
|
updateKey: (index: number, val: any) => void;
|
|
1570
1568
|
updateCondition: (index: number, val: any) => void;
|
|
1571
1569
|
getParamCfg: (key: string) => any;
|
|
1572
|
-
initFilterConditions: (tableId: string, rawConditions: import("
|
|
1570
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
|
|
1573
1571
|
getRawFilterConditions: () => any;
|
|
1574
1572
|
isShowValueCfg: (con: string) => boolean;
|
|
1575
|
-
handleEditDisplayCategory: (item: import("
|
|
1573
|
+
handleEditDisplayCategory: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1576
1574
|
handleDisplayCategoryAddState: () => void;
|
|
1577
1575
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
1578
|
-
handleDisplayCategorySelectProxy: (item: import("
|
|
1576
|
+
handleDisplayCategorySelectProxy: (item: import("../../../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1579
1577
|
clearFormData: () => void;
|
|
1580
1578
|
handleInitConditions: () => Promise<void>;
|
|
1581
1579
|
validate: () => Promise<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as
|
|
1
|
+
import{defineComponent as e,ref as i,inject as t,useAttrs as a,computed as n,watch as o,openBlock as s,createElementBlock as l,unref as c,createBlock as d,mergeProps as r,withCtx as u,createVNode as f,createTextVNode as v,createCommentVNode as y}from"vue";import{useMessage as m,NButton as p}from"naive-ui";import b from"../table-modal/index.vue.js";import h from"../search-filter/index.vue.js";import C from"../../../../table-filter/src/hooks/useMixins.js";import{InjectionFilterApiConfig as g}from"../../../../table-filter/src/constants/index.js";const L={class:"search"};var I=e({__name:"index",props:{searchFieldList:{type:Array,default:()=>[]},conditionList:{type:Array,default:()=>[]},settingId:String,classifyModal:{type:Boolean,default:!1}},emits:["CondiTionListInit","saveGetTableCondiTionList","setClassifyModal"],setup(e,{emit:I}){const T=e,S=m(),{handleGetConfigApi:j}=C();let A=i(T.conditionList),_=i(!1),k=i({}),O=i([]),x=i(!1);const F=i(null),w=t(g),G=a();async function M(e){try{let i=Object.assign(e,{id:T.settingId,tableId:G.tableId});await j(i,"requestSaveTableCondiTionSetting",{},w)&&(I("CondiTionListInit"),$(!1))}catch(e){console.log(e)}}function q(){$(!1),A.value.forEach((e=>{e.checked=!1}))}function R(){_.value=!0}function E(e){_.value=!0,k.value=Object.assign(e,{from:"edit"})}function H(e){_.value=!0,k.value=Object.assign(e,{from:"copy"})}async function K(e){try{if(Object.assign(e,{tableId:G.tableId,conditionList:JSON.stringify(A.value)}),x.value=!0,!await j(e,"requestSaveTableCondiTion",{},w))return;F.value&&F.value.cancelSaveAdd(),I("saveGetTableCondiTionList"),_.value=!1}catch(e){console.log(e)}finally{x.value=!1}}function D(){_.value=!1,k.value={}}async function N(e){if(e)try{let i={id:e.sid};if(!await j(i,"requestDeleteTableCondiTion",{},w))return;S.success("删除成功"),I("saveGetTableCondiTionList",{type:"delete",item:e})}catch(e){console.log(e)}else S.info("请选择行")}function $(e){I("setClassifyModal",e)}async function B(){try{let e={id:T.settingId,tableId:G.tableId,type:"SEARCH_CATEGORY"};await j(e,"requestResetDefaultSetting",{},w)&&(I("CondiTionListInit"),$(!1))}catch(e){console.log(e)}}let J=n((()=>T.classifyModal));return o((()=>G.searchKey),(()=>{G.selectKeys=[G.searchKey||"all"]})),o((()=>T.searchFieldList),(e=>{e&&e.length>0&&(O.value=e.filter((e=>"operatorColumn"!==e.columnName)))}),{immediate:!0,deep:!0}),o((()=>T.conditionList),(e=>{A.value=e}),{immediate:!0,deep:!0}),o((()=>_),(e=>{e||(k.value={})})),(e,i)=>(s(),l("div",L,[c(J)?(s(),d(b,r({key:0,dataSource:c(A),visibleIn:c(J)},e.$attrs,{onHandleOk:M,onClose:q,onResetPopconfirm:B,edit:E,copy:H,delItem:N,type:"search"}),{add:u((()=>[f(c(p),{type:"info",onClick:R},{default:u((()=>[v("新增")])),_:1})])),_:1},16,["dataSource","visibleIn"])):y("v-if",!0),c(_)?(s(),d(h,r({key:1,ref_key:"searchFilter",ref:F},e.$attrs,{visible:c(_),loading:c(x),conditionList:c(A),actionList_prop:c(k),searchFieldList:c(O),isInSearch:!0,isCnHis:!0,showCompareField:!0,onSaveAdd:K,onCancelSaveAdd:D}),null,16,["visible","loading","conditionList","actionList_prop","searchFieldList"])):y("v-if",!0)]))}});export{I as default};
|