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 { IClassifyListType } from '
|
|
1
|
+
import { IClassifyListType } from '../../../../../components/table-filter/src/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
visibleIn: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -27,6 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
};
|
|
28
28
|
type: {
|
|
29
29
|
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
30
31
|
};
|
|
31
32
|
transitionName: {
|
|
32
33
|
type: StringConstructor;
|
|
@@ -36,12 +37,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
37
|
default: () => HTMLElement;
|
|
37
38
|
};
|
|
38
39
|
}, {
|
|
39
|
-
instance: import("axios").AxiosInstance;
|
|
40
|
-
attrs: {
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
};
|
|
43
|
-
$message: import("naive-ui").MessageApi;
|
|
44
|
-
$dialog: import("naive-ui").DialogApi;
|
|
45
40
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
46
41
|
visibleIn: {
|
|
47
42
|
type: BooleanConstructor;
|
|
@@ -70,6 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
65
|
};
|
|
71
66
|
type: {
|
|
72
67
|
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
73
69
|
};
|
|
74
70
|
transitionName: {
|
|
75
71
|
type: StringConstructor;
|
|
@@ -81,12 +77,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
77
|
}>> & {
|
|
82
78
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
83
79
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
85
80
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
86
81
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
87
82
|
}>>;
|
|
88
|
-
emits: (event: "close" | "handleOk" | "
|
|
89
|
-
isAdmin: import("vue").ComputedRef<unknown>;
|
|
83
|
+
emits: (event: "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", ...args: any[]) => void;
|
|
90
84
|
homeList: any;
|
|
91
85
|
visible: import("vue").Ref<boolean>;
|
|
92
86
|
isChangeWindow: import("vue").Ref<boolean>;
|
|
@@ -94,24 +88,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
88
|
modalHeight: import("vue").Ref<string>;
|
|
95
89
|
isShowResetButton: boolean;
|
|
96
90
|
handleOk: () => void;
|
|
97
|
-
rinkTo: () => void;
|
|
98
91
|
close: () => void;
|
|
99
92
|
resetChangeWindow: () => void;
|
|
100
|
-
dragEnd: () => void;
|
|
101
93
|
clickli: (item: IClassifyListType) => void;
|
|
102
94
|
clickChecked: (item: IClassifyListType) => void;
|
|
103
95
|
changeSwitch: (item: IClassifyListType) => void;
|
|
104
|
-
changecommonSwitch: (item: IClassifyListType) => void;
|
|
105
96
|
formatParams: (type: string) => {
|
|
106
97
|
id: string;
|
|
107
98
|
tableId: string;
|
|
108
99
|
setting: string;
|
|
109
|
-
type?: undefined;
|
|
110
|
-
} | {
|
|
111
|
-
type: string;
|
|
112
|
-
tableId: string;
|
|
113
|
-
setting: string;
|
|
114
|
-
id?: undefined;
|
|
115
100
|
} | undefined;
|
|
116
101
|
changeModalWindow: () => void;
|
|
117
102
|
popconfirm: (e: any) => void;
|
|
@@ -190,6 +175,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
175
|
modelValue: unknown[];
|
|
191
176
|
componentData: Record<string, any>;
|
|
192
177
|
} & {
|
|
178
|
+
/**
|
|
179
|
+
* 改变弹窗大小
|
|
180
|
+
*/
|
|
193
181
|
itemKey?: string | Function | undefined;
|
|
194
182
|
}>, {
|
|
195
183
|
move: Function;
|
|
@@ -199,7 +187,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
187
|
modelValue: unknown[];
|
|
200
188
|
componentData: Record<string, any>;
|
|
201
189
|
}>;
|
|
202
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "
|
|
190
|
+
}, 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<{
|
|
203
191
|
visibleIn: {
|
|
204
192
|
type: BooleanConstructor;
|
|
205
193
|
};
|
|
@@ -227,6 +215,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
227
215
|
};
|
|
228
216
|
type: {
|
|
229
217
|
type: StringConstructor;
|
|
218
|
+
default: string;
|
|
230
219
|
};
|
|
231
220
|
transitionName: {
|
|
232
221
|
type: StringConstructor;
|
|
@@ -238,11 +227,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
238
227
|
}>> & {
|
|
239
228
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
240
229
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
241
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
242
230
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
243
231
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
244
232
|
}, {
|
|
245
233
|
loading: boolean;
|
|
234
|
+
type: string;
|
|
246
235
|
dataSource: unknown[];
|
|
247
236
|
visibleIn: boolean;
|
|
248
237
|
getContainer: Function;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,
|
|
1
|
+
import{defineComponent as e,ref as t,inject as i,watch as l,openBlock as a,createBlock as n,unref as o,normalizeClass as s,withCtx as c,createVNode as r,normalizeStyle as u,createSlots as d,createElementVNode as p,withDirectives as v,createTextVNode as m,toDisplayString as h,createCommentVNode as f,withModifiers as y,vShow as g,createElementBlock as w,renderSlot as k}from"vue";import{NModal as x,NCard as b,NTooltip as C,NIcon as z,NSwitch as S,NPopconfirm as _,NButton as D}from"naive-ui";import{ReorderTwo as I,Brush as E,DocumentOutline as N}from"@vicons/ionicons5";import P from"../../../../../shared/components/VueDraggable/src/vuedraggable.js";import{root_isShowResetButton as F}from"../../const/index.js";import{cloneDeep as M}from"lodash-es";const U={class:"svg-wrap"},V={class:"flex_between"},B={class:"table-modal-list"},O=p("div",{class:"list-title"},[p("span",{class:"list-title-item",style:{width:"6%"}}),p("span",{class:"list-title-item"}," 名称 "),p("span",{class:"list-title-item"}," 父类名称 "),p("span",{class:"list-title-item"}," 是否显示 "),p("span",{class:"list-title-item"}," 设置为默认 "),p("span",{class:"list-title-item"}," 操作 ")],-1),j=["onClick"],Y={class:"list-content-item",style:{width:"6%","text-align":"center",overflow:"initial"}},$=["title"],A=["title"],H={class:"list-content-item list-content-switch"},J={class:"list-content-item list-content-radio"},q={class:"list-content-item"},G={key:0},K=p("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},[p("path",{d:"M12 12h2v12h-2z",fill:"currentColor"}),p("path",{d:"M18 12h2v12h-2z",fill:"currentColor"}),p("path",{d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20z",fill:"currentColor"}),p("path",{d:"M12 2h8v2h-8z",fill:"currentColor"})],-1);var L=e({__name:"index",props:{visibleIn:{type:Boolean},loading:{type:Boolean},confirm:{type:Function},edit:{type:Function,defdault:()=>({})},copy:{type:Function,defdault:()=>({})},delItem:{type:Function,defdault:()=>({})},dataSource:{type:Array,default:()=>[]},type:{type:String,default:"search"},transitionName:{type:String},getContainer:{type:Function,default:()=>document.body}},emits:["handleOk","close","resetPopconfirm","finishSubmit"],setup(e,{emit:L}){const Q=e,R=t([]),T=t(Q.visibleIn),W=t(!1),X=t("other"==Q.type?"100%":"860px"),Z=t("654px"),ee=i(F);function te(){var e;Q.type&&(le(),L("handleOk","search"==(e=Q.type)||"other"==e?{id:"",tableId:"",setting:JSON.stringify(R.value.map((e=>({isDefault:e.isDefault,isShow:e.isShow,name:e.name,type:e.type,classifyId:e.sid}))))}:void 0))}function ie(){T.value=!1,le(),L("close")}function le(){X.value="860px",Z.value="654px",W.value=!1}function ae(){W.value=!W.value;let e=document.body.clientHeight;X.value="860px"===X.value?"100%":"860px",Z.value="654px"===Z.value?`${e}px`:"654px"}function ne(e){L("resetPopconfirm",e)}function oe(e,t,i){const l=Q[e];l&&l(t,i)}return l((()=>Q.visibleIn),(e=>{T.value=e})),l((()=>Q.dataSource),(e=>{R.value=M(e)}),{immediate:!0,deep:!0}),(t,i)=>(a(),n(o(x),{show:T.value,bodyStyle:{height:Z.value,overflowY:"auto"},width:X.value,maskClosable:!1,class:s(["classification-modal-block standard-modal standard-modal-white",{"modal-screen":W.value}]),closable:!1,centered:"",transitionName:e.transitionName,getContainer:e.getContainer,"positive-text":"保存","negative-text":"取消",onPositiveClick:te,onNegativeClick:ie},{default:c((()=>[r(o(b),{style:u({width:X.value,height:Z.value,overflowY:"auto"}),title:"设置分类",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},d({"header-extra":c((()=>[p("div",U,[p("i",{onClick:ae,class:s(["iconfont-table-filter",W.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),p("i",{onClick:ie,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),default:c((()=>[p("div",B,[O,r(o(P),{class:"list-content",tag:"ul",list:R.value,"item-key":"sid",animation:"300"},{item:c((({element:t})=>[v(p("li",{class:s({checked:t.checked}),onClick:e=>{return i=t,void R.value.forEach((e=>{e.sid==i.sid?e.checked=!0:e.checked=!1}));var i}},[p("span",Y,[r(o(C),{mouseEnterDelay:1},{trigger:c((()=>[r(o(z),{component:o(I),size:"24"},null,8,["component"])])),default:c((()=>[m(" 拖拽调整顺序 ")])),_:1})]),p("span",{title:t.displayCategory,class:"list-content-item"},h(t.name),9,$),p("span",{title:t.name,class:"list-content-item"},h(t.displayCategory),9,A),p("span",H,[r(o(S),{"onUpdate:value":e=>{return i=t,void R.value.forEach((e=>{e.sid==i.sid&&(e.isShow=!e.isShow,e.isShow||(i.isDefault=!1))}));var i},size:"small",value:t.isShow},null,8,["onUpdate:value","value"])]),p("span",J,[r(o(S),{"onUpdate:value":e=>{var i;(i=t).isShow&&R.value.forEach((e=>{e.sid==i.sid?e.isDefault=!e.isDefault:e.isDefault=!1}))},size:"small",value:t.isDefault},null,8,["onUpdate:value","value"])]),p("span",q,[f(" 编辑 "),v(p("span",null,[r(o(C),null,{trigger:c((()=>[r(o(z),{component:o(E),onClick:y((e=>oe("edit",t,"编辑")),["prevent","stop"])},null,8,["component","onClick"])])),default:c((()=>[m(" 编辑 ")])),_:2},1024)],512),[[g,"other"==e.type||"search"==e.type&&t.isEdit]]),f(" 复制 "),v(p("span",null,[r(o(C),null,{trigger:c((()=>[r(o(z),{component:o(N),onClick:y((e=>oe("copy",t,"复制")),["prevent","stop"])},null,8,["component","onClick"])])),default:c((()=>[m(" 复制 ")])),_:2},1024)],512),[[g,"search"==e.type||"other"==e.type]]),f(" 删除 "),t.isEdit?(a(),w("span",G,[r(o(_),{onPositiveClick:e=>oe("delItem",t,"删除")},{trigger:c((()=>[r(o(z),null,{default:c((()=>[K])),_:1})])),default:c((()=>[m(" 是否确认删除? ")])),_:2},1032,["onPositiveClick"])])):f("v-if",!0)])],10,j),[[g,"line"!=t.type]])])),_:1},8,["list"])])])),_:2},["search"==e.type?{name:"footer",fn:c((()=>[p("div",V,[p("div",null,[o(ee)?(a(),n(o(_),{key:0,placement:"top-start","positive-text":"确认","negative-text":"取消",onPositiveClick:ne},{trigger:c((()=>[r(o(D),null,{default:c((()=>[m("恢复默认设置")])),_:1})])),default:c((()=>[m(" 确认要恢复系统默认设置吗? ")])),_:1})):f("v-if",!0)]),p("div",null,[r(o(D),{onClick:ie},{default:c((()=>[m("取消")])),_:1}),k(t.$slots,"add"),r(o(D),{type:"info",onClick:te},{default:c((()=>[m("保存")])),_:1})])])])),key:"0"}:void 0]),1032,["style"])])),_:3},8,["show","bodyStyle","width","class","transitionName","getContainer"]))}});export{L as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { IClassifyListType, ITreeDataType, IConditionMapType, IClassifyItemType } from '
|
|
2
|
+
import { IClassifyListType, ITreeDataType, IConditionMapType, IClassifyItemType } from '../../../components/table-filter/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
tableId: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -259,7 +259,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
259
259
|
$message: import("naive-ui").MessageApi;
|
|
260
260
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
261
261
|
conditionList: import("vue").Ref<unknown[]>;
|
|
262
|
-
checkedItem: import("vue").Ref<any>;
|
|
263
262
|
addVisible: import("vue").Ref<boolean>;
|
|
264
263
|
actionList_prop: import("vue").Ref<{}>;
|
|
265
264
|
newSearchFieldList: any;
|
|
@@ -276,7 +275,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
276
275
|
copy: (item: IClassifyListType) => void;
|
|
277
276
|
saveAdd: (params: any) => Promise<void>;
|
|
278
277
|
cancelSaveAdd: () => void;
|
|
279
|
-
changeData: (data: any, checkedItemVal: any) => void;
|
|
280
278
|
delItem: (checkedItemVal: any) => Promise<void>;
|
|
281
279
|
setOneVisible: (flag: boolean) => void;
|
|
282
280
|
resetPopconfirm: () => Promise<void>;
|
|
@@ -310,6 +308,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
308
|
};
|
|
311
309
|
type: {
|
|
312
310
|
type: StringConstructor;
|
|
311
|
+
default: string;
|
|
313
312
|
};
|
|
314
313
|
transitionName: {
|
|
315
314
|
type: StringConstructor;
|
|
@@ -319,12 +318,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
319
318
|
default: () => HTMLElement;
|
|
320
319
|
};
|
|
321
320
|
}, {
|
|
322
|
-
instance: import("axios").AxiosInstance;
|
|
323
|
-
attrs: {
|
|
324
|
-
[x: string]: unknown;
|
|
325
|
-
};
|
|
326
|
-
$message: import("naive-ui").MessageApi;
|
|
327
|
-
$dialog: import("naive-ui").DialogApi;
|
|
328
321
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
329
322
|
visibleIn: {
|
|
330
323
|
type: BooleanConstructor;
|
|
@@ -353,6 +346,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
353
346
|
};
|
|
354
347
|
type: {
|
|
355
348
|
type: StringConstructor;
|
|
349
|
+
default: string;
|
|
356
350
|
};
|
|
357
351
|
transitionName: {
|
|
358
352
|
type: StringConstructor;
|
|
@@ -364,12 +358,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
364
358
|
}>> & {
|
|
365
359
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
366
360
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
367
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
368
361
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
369
362
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
370
363
|
}>>;
|
|
371
|
-
emits: (event: "close" | "handleOk" | "
|
|
372
|
-
isAdmin: import("vue").ComputedRef<unknown>;
|
|
364
|
+
emits: (event: "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", ...args: any[]) => void;
|
|
373
365
|
homeList: any;
|
|
374
366
|
visible: import("vue").Ref<boolean>;
|
|
375
367
|
isChangeWindow: import("vue").Ref<boolean>;
|
|
@@ -377,24 +369,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
377
369
|
modalHeight: import("vue").Ref<string>;
|
|
378
370
|
isShowResetButton: boolean;
|
|
379
371
|
handleOk: () => void;
|
|
380
|
-
rinkTo: () => void;
|
|
381
372
|
close: () => void;
|
|
382
373
|
resetChangeWindow: () => void;
|
|
383
|
-
dragEnd: () => void;
|
|
384
374
|
clickli: (item: IClassifyListType) => void;
|
|
385
375
|
clickChecked: (item: IClassifyListType) => void;
|
|
386
376
|
changeSwitch: (item: IClassifyListType) => void;
|
|
387
|
-
changecommonSwitch: (item: IClassifyListType) => void;
|
|
388
377
|
formatParams: (type: string) => {
|
|
389
378
|
id: string;
|
|
390
379
|
tableId: string;
|
|
391
380
|
setting: string;
|
|
392
|
-
type?: undefined;
|
|
393
|
-
} | {
|
|
394
|
-
type: string;
|
|
395
|
-
tableId: string;
|
|
396
|
-
setting: string;
|
|
397
|
-
id?: undefined;
|
|
398
381
|
} | undefined;
|
|
399
382
|
changeModalWindow: () => void;
|
|
400
383
|
popconfirm: (e: any) => void;
|
|
@@ -482,7 +465,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
482
465
|
modelValue: unknown[];
|
|
483
466
|
componentData: Record<string, any>;
|
|
484
467
|
}>;
|
|
485
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "handleOk" | "
|
|
468
|
+
}, 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<{
|
|
486
469
|
visibleIn: {
|
|
487
470
|
type: BooleanConstructor;
|
|
488
471
|
};
|
|
@@ -510,6 +493,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
510
493
|
};
|
|
511
494
|
type: {
|
|
512
495
|
type: StringConstructor;
|
|
496
|
+
default: string;
|
|
513
497
|
};
|
|
514
498
|
transitionName: {
|
|
515
499
|
type: StringConstructor;
|
|
@@ -521,11 +505,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
521
505
|
}>> & {
|
|
522
506
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
523
507
|
onHandleOk?: ((...args: any[]) => any) | undefined;
|
|
524
|
-
onChangeData?: ((...args: any[]) => any) | undefined;
|
|
525
508
|
onResetPopconfirm?: ((...args: any[]) => any) | undefined;
|
|
526
509
|
onFinishSubmit?: ((...args: any[]) => any) | undefined;
|
|
527
510
|
}, {
|
|
528
511
|
loading: boolean;
|
|
512
|
+
type: string;
|
|
529
513
|
dataSource: unknown[];
|
|
530
514
|
visibleIn: boolean;
|
|
531
515
|
getContainer: Function;
|
|
@@ -678,9 +662,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
678
662
|
showAdd: boolean;
|
|
679
663
|
};
|
|
680
664
|
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
681
|
-
editDisplayCategory: (item: import("
|
|
682
|
-
handleDisplayCategorySelect: (item: import("
|
|
683
|
-
handleDisplayCategoryRemove: (index: number, item: import("
|
|
665
|
+
editDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
|
|
666
|
+
handleDisplayCategorySelect: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
667
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
684
668
|
handleDisplayCategoryAdd: (cb?: any) => void;
|
|
685
669
|
handlerBlur: () => void;
|
|
686
670
|
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
@@ -691,12 +675,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
691
675
|
updateKey: (index: number, val: any) => void;
|
|
692
676
|
updateCondition: (index: number, val: any) => void;
|
|
693
677
|
getParamCfg: (key: string) => any;
|
|
694
|
-
initFilterConditions: (tableId: string, rawConditions: import("
|
|
678
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
|
|
695
679
|
getRawFilterConditions: () => any[];
|
|
696
|
-
handleEditDisplayCategory: (item: import("
|
|
680
|
+
handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
697
681
|
handleDisplayCategoryAddState: () => void;
|
|
698
682
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
699
|
-
handleDisplayCategorySelectProxy: (item: import("
|
|
683
|
+
handleDisplayCategorySelectProxy: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
700
684
|
clearFormData: () => void;
|
|
701
685
|
handleInitConditions: () => Promise<void>;
|
|
702
686
|
validate: () => Promise<unknown>;
|
|
@@ -1175,6 +1159,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1175
1159
|
type: BooleanConstructor;
|
|
1176
1160
|
default: boolean;
|
|
1177
1161
|
};
|
|
1162
|
+
loading: {
|
|
1163
|
+
type: BooleanConstructor;
|
|
1164
|
+
default: boolean;
|
|
1165
|
+
};
|
|
1178
1166
|
}, {
|
|
1179
1167
|
selectMinWidth: number;
|
|
1180
1168
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1206,6 +1194,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1206
1194
|
type: BooleanConstructor;
|
|
1207
1195
|
default: boolean;
|
|
1208
1196
|
};
|
|
1197
|
+
loading: {
|
|
1198
|
+
type: BooleanConstructor;
|
|
1199
|
+
default: boolean;
|
|
1200
|
+
};
|
|
1209
1201
|
}>> & {
|
|
1210
1202
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1211
1203
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
@@ -1214,6 +1206,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1214
1206
|
dragEndWidth: import("vue").Ref<number>;
|
|
1215
1207
|
showKeys: import("vue").ComputedRef<any>;
|
|
1216
1208
|
titleList: import("vue").ComputedRef<string[]>;
|
|
1209
|
+
isOptionsNull: import("vue").ComputedRef<boolean>;
|
|
1217
1210
|
handleSelect: (option: any) => void;
|
|
1218
1211
|
searchByPage: (onePage: number) => void;
|
|
1219
1212
|
changeWidth: ({ distance }: any) => void;
|
|
@@ -1289,10 +1282,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1289
1282
|
type: BooleanConstructor;
|
|
1290
1283
|
default: boolean;
|
|
1291
1284
|
};
|
|
1285
|
+
loading: {
|
|
1286
|
+
type: BooleanConstructor;
|
|
1287
|
+
default: boolean;
|
|
1288
|
+
};
|
|
1292
1289
|
}>> & {
|
|
1293
1290
|
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1294
1291
|
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
1295
1292
|
}, {
|
|
1293
|
+
loading: boolean;
|
|
1296
1294
|
dynamicOptionInfo: import("../..").AnyObject;
|
|
1297
1295
|
fieldTitleList: import("../..").AnyObject[];
|
|
1298
1296
|
optionList: import("../..").AnyObject[];
|
|
@@ -1778,9 +1776,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1778
1776
|
showAdd: boolean;
|
|
1779
1777
|
};
|
|
1780
1778
|
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
1781
|
-
editDisplayCategory: (item: import("
|
|
1782
|
-
handleDisplayCategorySelect: (item: import("
|
|
1783
|
-
handleDisplayCategoryRemove: (index: number, item: import("
|
|
1779
|
+
editDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType, cb?: any) => void;
|
|
1780
|
+
handleDisplayCategorySelect: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1781
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1784
1782
|
handleDisplayCategoryAdd: (cb?: any) => void;
|
|
1785
1783
|
handlerBlur: () => void;
|
|
1786
1784
|
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
@@ -1791,13 +1789,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1791
1789
|
updateKey: (index: number, val: any) => void;
|
|
1792
1790
|
updateCondition: (index: number, val: any) => void;
|
|
1793
1791
|
getParamCfg: (key: string) => any;
|
|
1794
|
-
initFilterConditions: (tableId: string, rawConditions: import("
|
|
1792
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
|
|
1795
1793
|
getRawFilterConditions: () => any;
|
|
1796
1794
|
isShowValueCfg: (con: string) => boolean;
|
|
1797
|
-
handleEditDisplayCategory: (item: import("
|
|
1795
|
+
handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1798
1796
|
handleDisplayCategoryAddState: () => void;
|
|
1799
1797
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
1800
|
-
handleDisplayCategorySelectProxy: (item: import("
|
|
1798
|
+
handleDisplayCategorySelectProxy: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
|
|
1801
1799
|
clearFormData: () => void;
|
|
1802
1800
|
handleInitConditions: () => Promise<void>;
|
|
1803
1801
|
validate: () => Promise<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,nextTick as s,watch as o,openBlock as d,createElementBlock as c,normalizeClass as r,unref as h,normalizeStyle as u,withDirectives as f,createVNode as p,createTextVNode as m,toDisplayString as g,createCommentVNode as v,createElementVNode as y,Fragment as C,renderList as k,createBlock as S,withCtx as b}from"vue";import{useMessage as x,NIcon as O,NTooltip as _}from"naive-ui";import{Repeat as w,SettingsOutline as I,ChevronDown as L,ChevronForward as N,Checkmark as z,Close as j,ChevronUp as B}from"@vicons/ionicons5";import P from"./components/set-classification/index.vue.js";import{vFlexibleResize as J}from"../../../shared/directive/flexibleResize.js";import{InjectionFilterApiConfig as M,InjectionClassifyfilterType as A}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as T}from"./const/index.js";import E from"../../table-filter/src/hooks/useMixins.js";import F from"../../table-filter/src/hooks/useAdvanced.js";const R={key:0,class:"header"},W={class:"tree"},q=["onClick"],G=["onClick"],Q=["onClick"],$={class:"child-item-name"},D={key:1,class:"tree-type-footer"},V={class:"selected-num"},H=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),K={key:0,class:"tile-type classify-1"},U={key:0,class:"header"},X={class:"right-setting"},Y=["onClick"],Z={class:"parent ellips"},ee={class:"children"},ie=["onClick"],ne={key:1,class:"selected-list"},le={class:"selected-num"},te=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),ae={class:"name"},se={class:"name"},oe={key:0,class:"main-wrapper"},de=["onClick"],ce={class:"tree-footer"},re=["onClick"],he=["onClick"],ue={key:0,class:"select-type-footer"},fe={class:"selected-num"},pe=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var me=e({__name:"index",props:{tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},conditionMap:{type:Object,default:()=>({})},conditionSid:{type:Array,default:()=>["all_data"]},curClassificationIndex:{type:Number,default:0},curClassificationWidth:{type:Number},hideConditionChangeBtn:{type:Number,default:0},hideConditionChangeSetting:{type:Number,default:0},hideClearConditionChange:{type:Number,default:1},isShowResetButton:{type:Boolean,default:!0},filterApiConfig:{type:Object,default:()=>({})},filterType:{type:String,default:"1"}},emits:["changeSearch","setClassificationIndex","getQuickSearchListObj"],setup(e,{emit:me}){const ge=e,{handleGetConfigApi:ve}=E(),{transformClassifyChild:ye}=F(),Ce=i(),ke=x(),Se=n(null);let be=n(150),xe=n(!1),Oe=n([]),_e=n([]),we=n([]),Ie=n(2),Le=n({name:"全部数据",sid:"all_data"}),Ne=n([]),ze=n(""),je=n(!1),Be=n("全部数据");l(T,ge.isShowResetButton),l(M,ge.filterApiConfig),l(A,ge.filterType);let Pe=t((()=>0===Ie.value?{marginRight:"8px"}:2===Ie.value?{display:"inline-block"}:{})),Je=t((()=>{let e=_e.value.filter((e=>-1!==ge.conditionSid.indexOf(e.sid)));if(-1!==ge.conditionSid.indexOf("all_data"))return"全部数据";{let i=[];return e.map((e=>{i.push(e.name)})),i.join(",")}})),Me=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return Xe(n,l)+i}));function Ae(e){e.open?e.open=!1:e.open=!0}function Te(e,i,n){Be.value=e.name;let l=function(e){let i=[];return Oe.value.forEach((n=>{n.children?n.children.forEach((n=>{-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})):-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})),i}(function(e,i,n){let l=JSON.parse(JSON.stringify(i));l="all_data"===e||-1!==l.indexOf(e)?["all_data"]:[e];return l}(e.sid,ge.conditionSid));qe(!1);const t=ye(null==e?void 0:e.conObj,ge.searchFieldList);me("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ee(){let e="";if(2===Ie.value)e=0;else{let i=Ie.value;e=++i}be.value=150,Fe(e)}async function Fe(e,i){let n={tableId:ge.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await ve(n,"requestSaveListPersonaSetting",{},ge.filterApiConfig)&&me("setClassificationIndex",e)}catch(e){console.log(e)}}function Re(){je.value=!0,qe(!1)}function We(e){je.value=e}function qe(e){xe.value=void 0===e?!xe.value:e}function Ge(){if(!ge.tableId)return ke.warning("请传入tableId");Oe.value=[];let{displayCategoryList:e=[],conditionList:i=[]}=ge.conditionMap;Ne.value=JSON.parse(JSON.stringify(e))||[],we.value=JSON.parse(JSON.stringify(i)),_e.value=JSON.parse(JSON.stringify([{name:"全部数据",sid:"all_data"},...i]));let n=[];var l;0===Ne.value.length&&(Ne.value=["未分类"]),Ne.value.forEach((e=>{let i={name:e,children:[]};_e.value.forEach((n=>{if(n.displayCategory===e||!n.displayCategory&&"未分类"===e&&"all_data"!==n.sid){if(-1!==ge.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=ye(null==n?void 0:n.conObj,ge.searchFieldList);me("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&n.push(i)})),n.unshift({name:"全部数据",sid:"all_data"}),Oe.value=n,0===Ie.value&&(l=!0,Oe.value.forEach((e=>{e.children&&e.children.length&&(e.open=l)})))}function Qe({distance:e}){const i=be.value+e;be.value=Math.min(Math.max(i,50),650)}function $e(){Fe(Ie.value,be.value)}async function De(){await Ue(ge.tableId),He()}async function Ve(e){await Ue(ge.tableId),Ke()}function He(e){Ke(e).then((e=>({})))}function Ke(e,i={}){if(!ge.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(ge.conditionMap));return new Promise(((i,l)=>{var t,a,s,o,d,c,r;if(Object.keys(n).length>0){we.value=n.conditionList||[],Ne.value=n.displayCategoryList||[];let l={conditionList:we.value,displayCategoryList:Ne.value};me("getQuickSearchListObj",l),ze.value=null!=(t=n.settingId)?t:"";const h=we.value.find((e=>e.isDefault))||{name:"全部数据",sid:"all_data"};(null==(s=null==(a=Ce.tableOptions)?void 0:a.filterCondition)?void 0:s.displayCategory)&&e&&i({name:null==(d=null==(o=Ce.tableOptions)?void 0:o.filterCondition)?void 0:d.name,sid:null==(r=null==(c=Ce.tableOptions)?void 0:c.filterCondition)?void 0:r.displayCategory}),i(h)}else i({})}))}async function Ue(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await ve(i,"requestTableCondiTionList",{},ge.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function Xe(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}return a((()=>{document.addEventListener("click",(e=>{s((()=>{let i=e.composedPath&&e.composedPath();Se.value&&i.includes(Se.value)||qe(!1)}))}))})),o((()=>ge.tableId),(e=>{e&&He(!0)}),{immediate:!0,deep:!0}),o((()=>ge.curClassificationIndex),(e=>{void 0!==e&&(Ie.value=e,Ge())}),{immediate:!0,deep:!0}),o((()=>ge.curClassificationWidth),(e=>{e&&(be.value=Number(e)||150)}),{immediate:!0}),o((()=>ge.conditionMap),(e=>{!async function(){try{await Ge()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),(i,n)=>(d(),c("div",{class:r(["classification-block","classificationIndex-"+h(Ie)]),style:u(h(Pe))},[0===h(Ie)?f((d(),c("div",{key:0,class:"tree-type classify-0",style:u({width:h(be)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",R,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"header-1",onClick:Ee},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"header-1",onClick:Re},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])):v("v-if",!0),y("ul",W,[(d(!0),c(C,null,k(h(Oe),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[y("span",{class:r(["parent",{open:i.open}]),onClick:e=>Ae(i)},[y("span",null,g(i.name),1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,G),i.open?(d(!0),c(C,{key:0},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Te(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,trigger:"hover",placement:"right"},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",$,g(Xe(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[y("span",null,g(h(Me)(e)),1)])),_:2},1024)):v("v-if",!0)],8,Q)))),128)):v("v-if",!0)],64)):(d(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Te(i)},g(i.name),11,q))],2)):v("v-if",!0)],64)))),256))]),1!=e.hideClearConditionChange?(d(),c("div",D,[y("div",V,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[H,m(" 清空筛选 ")])])):v("v-if",!0)],4)),[[h(J),{mode:"VR",onMove:Qe,onEnd:$e}]]):v("v-if",!0),1===h(Ie)?(d(),c(C,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||h(we).filter((e=>e.isShow)).length>0?(d(),c("div",K,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",U,[y("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[m(" 全部数据 "),h(Le).digital||0===h(Le).digital?(d(),c(C,{key:0},[m(" ("+g(h(Le).digital||0)+") ",1)],64)):v("v-if",!0)],2),y("div",X,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"setting-1",onClick:Ee,style:{"margin-right":"30px"}},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"setting-1",onClick:Re},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])])):v("v-if",!0),y("ul",{class:"tile",style:u({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(d(!0),c(C,null,k(h(Oe).slice(1),((e,i)=>(d(),c(C,null,[e.children&&e.children.length>0?(d(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(d(),c(C,{key:1},[y("span",Z,g(e.name),1),y("div",ee,[(d(!0),c(C,null,k(e.children,((i,n)=>(d(),c(C,null,[i.isShow?(d(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Te(i,0,e)},g(Xe(i.name,null==i?void 0:i.isPublic)),11,ie)):v("v-if",!0)],64)))),256))])],64)):(d(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Te(e)},g(e.name)+" "+g(e.digital),11,Y))])):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ne,[y("div",le,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),(d(!0),c(C,null,k(h(Oe).slice(1),(e=>(d(),c(C,null,[e.children&&0!==e.children.length?(d(!0),c(C,{key:1},k(e.children,((i,n)=>(d(),c(C,null,[i.selected?(d(),c("div",{class:"selected-item",key:i.sid},[m(g(i.name)+" ",1),p(h(O),{component:h(j),onClick:n=>Te(i,0,e)},null,8,["component","onClick"])])):v("v-if",!0)],64)))),256)):(d(),c("div",{class:"selected-item",key:e.sid},[m(g(e.name)+" ",1),p(h(O),{component:h(j),onClick:i=>Te(e)},null,8,["component","onClick"])]))],64)))),256)),y("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[te,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],64)):v("v-if",!0),2===h(Ie)?(d(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:Se},[y("span",{class:"title",onClick:n[3]||(n[3]=()=>qe())},[p(h(_),{trigger:"hover",placement:"top"},{trigger:b((()=>[y("span",ae,g(h(Je)),1)])),default:b((()=>[y("span",se,g(h(Je)),1)])),_:1}),p(h(O),{component:h(xe)?h(B):h(L)},null,8,["component"])]),h(xe)?(d(),c("div",oe,[y("ul",{class:"tree",style:u({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(d(!0),c(C,null,k(h(Oe),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(d(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>Ae(i)},[m(g(i.name)+g(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,re)):v("v-if",!0),i.open?(d(!0),c(C,{key:1},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Te(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",null,g(Xe(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[y("span",null,g(h(Me)(e)),1)])),_:2},1024)):v("v-if",!0)],8,he)))),128)):v("v-if",!0)],64)):(d(),c(C,{key:0},[y("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Te(i)},g(i.name),11,de),y("div",ce,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"tree-footer-icon",onClick:Ee},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"tree-footer-icon",onClick:Re},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])],64))],2)):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ue,[y("div",fe,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[pe,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],512)):v("v-if",!0),v(" 弹出弹窗 "),p(P,{ref:"search",searchFieldList:e.searchFieldList,conditionList:h(we),displayCategoryList:h(Ne),settingId:h(ze),tableId:e.tableId,classifyModal:h(je),onSaveGetTableCondiTionList:Ve,onCondiTionListInit:De,onSetClassifyModal:We},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6))}});export{me as default};
|
|
1
|
+
import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,nextTick as s,watch as o,openBlock as d,createElementBlock as c,normalizeClass as r,unref as h,normalizeStyle as u,withDirectives as f,createVNode as p,createTextVNode as m,toDisplayString as g,createCommentVNode as v,createElementVNode as y,Fragment as C,renderList as k,createBlock as S,withCtx as b}from"vue";import{useMessage as x,NIcon as O,NTooltip as _}from"naive-ui";import{Repeat as I,SettingsOutline as w,ChevronDown as L,ChevronForward as N,Checkmark as z,Close as j,ChevronUp as B}from"@vicons/ionicons5";import P from"./components/set-classification/index.vue.js";import{vFlexibleResize as J}from"../../../shared/directive/flexibleResize.js";import{InjectionFilterApiConfig as M,InjectionClassifyfilterType as A}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as T}from"./const/index.js";import E from"../../table-filter/src/hooks/useMixins.js";import F from"../../table-filter/src/hooks/useAdvanced.js";const R={key:0,class:"header"},W={class:"tree"},q=["onClick"],G=["onClick"],Q=["onClick"],$={class:"child-item-name"},D={key:1,class:"tree-type-footer"},V={class:"selected-num"},H=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),K={key:0,class:"tile-type classify-1"},U={key:0,class:"header"},X={class:"right-setting"},Y=["onClick"],Z={class:"parent ellips"},ee={class:"children"},ie=["onClick"],ne={key:1,class:"selected-list"},le={class:"selected-num"},te=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),ae={class:"name"},se={class:"name"},oe={key:0,class:"main-wrapper"},de=["onClick"],ce={class:"tree-footer"},re=["onClick"],he=["onClick"],ue={key:0,class:"select-type-footer"},fe={class:"selected-num"},pe=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var me=e({__name:"index",props:{tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},conditionMap:{type:Object,default:()=>({})},conditionSid:{type:Array,default:()=>["all_data"]},curClassificationIndex:{type:Number,default:0},curClassificationWidth:{type:Number},hideConditionChangeBtn:{type:Number,default:0},hideConditionChangeSetting:{type:Number,default:0},hideClearConditionChange:{type:Number,default:1},isShowResetButton:{type:Boolean,default:!0},filterApiConfig:{type:Object,default:()=>({})},filterType:{type:String,default:"1"}},emits:["changeSearch","setClassificationIndex","getQuickSearchListObj"],setup(e,{emit:me}){const ge=e,{handleGetConfigApi:ve}=E(),{transformClassifyChild:ye}=F(),Ce=i(),ke=x(),Se=n(null);let be=n(150),xe=n(!1),Oe=n([]),_e=n([]),Ie=n([]),we=n(2),Le=n({name:"全部数据",sid:"all_data"}),Ne=n([]),ze=n(""),je=n(!1),Be=n("全部数据");l(T,ge.isShowResetButton),l(M,ge.filterApiConfig),l(A,ge.filterType);let Pe=t((()=>0===we.value?{marginRight:"8px"}:2===we.value?{display:"inline-block"}:{})),Je=t((()=>{let e=_e.value.filter((e=>-1!==ge.conditionSid.indexOf(e.sid)));if(-1!==ge.conditionSid.indexOf("all_data"))return"全部数据";{let i=[];return e.map((e=>{i.push(e.name)})),i.join(",")}})),Me=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return Xe(n,l)+i}));function Ae(e){e.open?e.open=!1:e.open=!0}function Te(e,i,n){Be.value=e.name;let l=function(e){let i=[];return Oe.value.forEach((n=>{n.children?n.children.forEach((n=>{-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})):-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})),i}(function(e,i,n){let l=JSON.parse(JSON.stringify(i));l="all_data"===e||-1!==l.indexOf(e)?["all_data"]:[e];return l}(e.sid,ge.conditionSid));qe(!1);const t=ye(null==e?void 0:e.conObj,ge.searchFieldList);me("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ee(){let e="";if(2===we.value)e=0;else{let i=we.value;e=++i}be.value=150,Fe(e)}async function Fe(e,i){let n={tableId:ge.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await ve(n,"requestSaveListPersonaSetting",{},ge.filterApiConfig)&&me("setClassificationIndex",e)}catch(e){console.log(e)}}function Re(){je.value=!0,qe(!1)}function We(e){je.value=e}function qe(e){xe.value=void 0===e?!xe.value:e}function Ge(){if(!ge.tableId)return ke.warning("请传入tableId");Oe.value=[];let{displayCategoryList:e=[],conditionList:i=[],settingId:n=""}=ge.conditionMap;Ne.value=JSON.parse(JSON.stringify(e))||[],Ie.value=JSON.parse(JSON.stringify(i)),_e.value=JSON.parse(JSON.stringify([{name:"全部数据",sid:"all_data"},...i])),ze.value=n;let l=[];var t;0===Ne.value.length&&(Ne.value=["未分类"]),Ne.value.forEach((e=>{let i={name:e,children:[]};_e.value.forEach((n=>{if(n.displayCategory===e||!n.displayCategory&&"未分类"===e&&"all_data"!==n.sid){if(-1!==ge.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=ye(null==n?void 0:n.conObj,ge.searchFieldList);me("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&l.push(i)})),l.unshift({name:"全部数据",sid:"all_data"}),Oe.value=l,0===we.value&&(t=!0,Oe.value.forEach((e=>{e.children&&e.children.length&&(e.open=t)})))}function Qe({distance:e}){const i=be.value+e;be.value=Math.min(Math.max(i,50),650)}function $e(){Fe(we.value,be.value)}async function De(){await Ue(ge.tableId),He()}async function Ve(e){await Ue(ge.tableId),Ke()}function He(e){Ke(e).then((e=>({})))}function Ke(e,i={}){if(!ge.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(ge.conditionMap));return new Promise(((i,l)=>{var t,a,s,o,d,c,r;if(Object.keys(n).length>0){Ie.value=n.conditionList||[],Ne.value=n.displayCategoryList||[];let l={conditionList:Ie.value,displayCategoryList:Ne.value};me("getQuickSearchListObj",l),ze.value=null!=(t=n.settingId)?t:"";const h=Ie.value.find((e=>e.isDefault))||{name:"全部数据",sid:"all_data"};(null==(s=null==(a=Ce.tableOptions)?void 0:a.filterCondition)?void 0:s.displayCategory)&&e&&i({name:null==(d=null==(o=Ce.tableOptions)?void 0:o.filterCondition)?void 0:d.name,sid:null==(r=null==(c=Ce.tableOptions)?void 0:c.filterCondition)?void 0:r.displayCategory}),i(h)}else i({})}))}async function Ue(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await ve(i,"requestTableCondiTionList",{},ge.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function Xe(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}return a((()=>{document.addEventListener("click",(e=>{s((()=>{let i=e.composedPath&&e.composedPath();Se.value&&i.includes(Se.value)||qe(!1)}))}))})),o((()=>ge.tableId),(e=>{e&&He(!0)}),{immediate:!0}),o((()=>ge.curClassificationIndex),(e=>{void 0!==e&&(we.value=e,Ge())}),{immediate:!0}),o((()=>ge.curClassificationWidth),(e=>{e&&(be.value=Number(e)||150)}),{immediate:!0}),o((()=>ge.conditionMap),(e=>{!async function(){try{await Ge()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),(i,n)=>(d(),c("div",{class:r(["classification-block","classificationIndex-"+h(we)]),style:u(h(Pe))},[0===h(we)?f((d(),c("div",{key:0,class:"tree-type classify-0",style:u({width:h(be)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",R,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"header-1",onClick:Ee},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"header-1",onClick:Re},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])):v("v-if",!0),y("ul",W,[(d(!0),c(C,null,k(h(Oe),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[y("span",{class:r(["parent",{open:i.open}]),onClick:e=>Ae(i)},[y("span",null,g(i.name),1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,G),i.open?(d(!0),c(C,{key:0},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Te(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,trigger:"hover",placement:"right"},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",$,g(Xe(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[y("span",null,g(h(Me)(e)),1)])),_:2},1024)):v("v-if",!0)],8,Q)))),128)):v("v-if",!0)],64)):(d(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Te(i)},g(i.name),11,q))],2)):v("v-if",!0)],64)))),256))]),1!=e.hideClearConditionChange?(d(),c("div",D,[y("div",V,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[H,m(" 清空筛选 ")])])):v("v-if",!0)],4)),[[h(J),{mode:"VR",onMove:Qe,onEnd:$e}]]):v("v-if",!0),1===h(we)?(d(),c(C,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||h(Ie).filter((e=>e.isShow)).length>0?(d(),c("div",K,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",U,[y("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[m(" 全部数据 "),h(Le).digital||0===h(Le).digital?(d(),c(C,{key:0},[m(" ("+g(h(Le).digital||0)+") ",1)],64)):v("v-if",!0)],2),y("div",X,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"setting-1",onClick:Ee,style:{"margin-right":"30px"}},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"setting-1",onClick:Re},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])])):v("v-if",!0),y("ul",{class:"tile",style:u({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(d(!0),c(C,null,k(h(Oe).slice(1),((e,i)=>(d(),c(C,null,[e.children&&e.children.length>0?(d(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(d(),c(C,{key:1},[y("span",Z,g(e.name),1),y("div",ee,[(d(!0),c(C,null,k(e.children,((i,n)=>(d(),c(C,null,[i.isShow?(d(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Te(i,0,e)},g(Xe(i.name,null==i?void 0:i.isPublic)),11,ie)):v("v-if",!0)],64)))),256))])],64)):(d(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Te(e)},g(e.name)+" "+g(e.digital),11,Y))])):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ne,[y("div",le,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),(d(!0),c(C,null,k(h(Oe).slice(1),(e=>(d(),c(C,null,[e.children&&0!==e.children.length?(d(!0),c(C,{key:1},k(e.children,((i,n)=>(d(),c(C,null,[i.selected?(d(),c("div",{class:"selected-item",key:i.sid},[m(g(i.name)+" ",1),p(h(O),{component:h(j),onClick:n=>Te(i,0,e)},null,8,["component","onClick"])])):v("v-if",!0)],64)))),256)):(d(),c("div",{class:"selected-item",key:e.sid},[m(g(e.name)+" ",1),p(h(O),{component:h(j),onClick:i=>Te(e)},null,8,["component","onClick"])]))],64)))),256)),y("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[te,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],64)):v("v-if",!0),2===h(we)?(d(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:Se},[y("span",{class:"title",onClick:n[3]||(n[3]=()=>qe())},[p(h(_),{trigger:"hover",placement:"top"},{trigger:b((()=>[y("span",ae,g(h(Je)),1)])),default:b((()=>[y("span",se,g(h(Je)),1)])),_:1}),p(h(O),{component:h(xe)?h(B):h(L)},null,8,["component"])]),h(xe)?(d(),c("div",oe,[y("ul",{class:"tree",style:u({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(d(!0),c(C,null,k(h(Oe),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(d(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>Ae(i)},[m(g(i.name)+g(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,re)):v("v-if",!0),i.open?(d(!0),c(C,{key:1},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Te(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",null,g(Xe(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[y("span",null,g(h(Me)(e)),1)])),_:2},1024)):v("v-if",!0)],8,he)))),128)):v("v-if",!0)],64)):(d(),c(C,{key:0},[y("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Te(i)},g(i.name),11,de),y("div",ce,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"tree-footer-icon",onClick:Ee},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"tree-footer-icon",onClick:Re},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])],64))],2)):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ue,[y("div",fe,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[pe,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],512)):v("v-if",!0),v(" 弹出弹窗 "),p(P,{ref:"search",searchFieldList:e.searchFieldList,conditionList:h(Ie),displayCategoryList:h(Ne),settingId:h(ze),tableId:e.tableId,classifyModal:h(je),onSaveGetTableCondiTionList:Ve,onCondiTionListInit:De,onSetClassifyModal:We},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6))}});export{me as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SFCWithInstall } from '
|
|
1
|
+
import { SFCWithInstall } from '../../shared/types';
|
|
2
2
|
declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
updateUnchangedValue: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -39,7 +39,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
39
39
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}>>;
|
|
41
41
|
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
|
42
|
-
datePickerRef: import("vue").Ref<import("
|
|
42
|
+
datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
|
|
43
43
|
panelInstRef: import("vue").Ref<null>;
|
|
44
44
|
placeholderRef: import("vue").Ref<any>;
|
|
45
45
|
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AnyObject } from '
|
|
2
|
+
import { AnyObject } from '../../../shared/types';
|
|
3
3
|
declare type FormattedValue = string | [string, string];
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
updateUnchangedValue: {
|