cnhis-design-vue 3.1.41-beta.4 → 3.1.41-beta.40
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/base-search/index.d.ts +293 -0
- package/es/components/base-search/index.js +1 -0
- package/es/components/base-search/src/index.vue.d.ts +294 -0
- package/es/components/base-search/src/index.vue.js +1 -0
- package/es/components/base-search/style/iconfont.ttf +0 -0
- package/es/components/base-search/style/index.css +1 -0
- package/es/components/big-table/index.d.ts +1 -0
- package/es/components/big-table/src/BigTable.vue.d.ts +1 -0
- package/es/components/big-table/src/BigTable.vue2.js +1 -1
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +3 -2
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +3 -2
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/api.d.ts +3 -0
- package/es/components/button-print/src/api.js +1 -0
- package/es/components/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +995 -0
- package/es/components/classification/index.js +1 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +373 -0
- package/es/components/classification/src/components/search-filter/index.vue.js +1 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +718 -0
- package/es/components/classification/src/components/set-classification/index.vue.js +1 -0
- package/es/components/{table-filter/src/components/table-modal/TableModal.vue.d.ts → classification/src/components/table-modal/index.vue.d.ts} +0 -42
- package/es/components/classification/src/components/table-modal/index.vue.js +1 -0
- package/es/components/classification/src/const/index.d.ts +2 -0
- package/es/components/classification/src/const/index.js +1 -0
- package/es/components/classification/src/index.vue.d.ts +996 -0
- package/es/components/classification/src/index.vue.js +1 -0
- package/es/components/classification/style/iconfont.ttf +0 -0
- package/es/components/classification/style/index.css +1 -0
- package/es/components/config-provider/index.d.ts +14 -0
- package/es/components/config-provider/index.js +1 -0
- package/es/components/config-provider/src/ConfigProvider.d.ts +14 -0
- package/es/components/config-provider/src/ConfigProvider.js +1 -0
- package/es/components/config-provider/src/interface.d.ts +18 -0
- package/es/components/config-provider/src/utils/index.d.ts +2 -0
- package/es/components/config-provider/src/utils/index.js +1 -0
- package/es/components/date-picker/index.d.ts +20 -0
- package/es/components/date-picker/index.js +1 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
- package/es/components/date-picker/src/DatePicker.vue.js +1 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
- package/es/components/field-set/index.d.ts +8 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
- package/es/components/field-set/src/FieldSet.vue.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +6780 -69
- package/es/components/form-config/src/FormConfig.vue.d.ts +6918 -206
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -13
- package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3423 -71
- package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
- package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +8 -2
- package/es/components/form-config/src/utils/index.d.ts +4 -1
- package/es/components/form-config/src/utils/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +13 -13
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +12 -12
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +33 -32
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.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/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -12
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
- 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/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
- package/es/components/form-render/src/hooks/useFormField.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -2
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +5 -3
- package/es/components/form-render/src/utils/dom.d.ts +2 -1
- package/es/components/form-render/src/utils/dom.js +1 -1
- package/es/components/iho-table/index.d.ts +6 -5
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +6 -5
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +4 -4
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/useTableTheme.d.ts +4 -0
- package/es/components/iho-table/src/hooks/useTableTheme.js +1 -0
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +102 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +20 -11
- package/es/components/iho-table/src/utils/index.d.ts +1 -0
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +8 -2
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +3967 -190
- package/es/components/info-header/src/InfoHeader.vue.d.ts +3969 -192
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/index.d.ts +3 -0
- package/es/components/info-header/src/components/index.js +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1842 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1972 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2796 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +783 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
- package/es/components/info-header/src/constants/index.d.ts +4 -0
- package/es/components/info-header/src/constants/index.js +1 -0
- package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +4 -0
- package/es/components/info-header/src/hooks/useThemeOverrides.js +1 -0
- package/es/components/info-header/src/types/index.d.ts +43 -0
- package/es/components/info-header/src/types/index.js +1 -0
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/keyboard/index.d.ts +3 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +3 -1
- package/es/components/keyboard/src/Keyboard.vue.js +1 -1
- package/es/components/keyboard/src/constants/index.d.ts +2 -0
- package/es/components/keyboard/src/constants/index.js +1 -0
- package/es/components/keyboard/style/index.css +1 -1
- package/es/components/quick-search/index.d.ts +713 -0
- package/es/components/quick-search/index.js +1 -0
- package/es/components/quick-search/src/index.vue.d.ts +715 -0
- package/es/components/quick-search/src/index.vue.js +1 -0
- package/es/components/quick-search/style/index.css +1 -0
- package/es/components/recommend-search/index.d.ts +12 -12
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +12 -12
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +5 -5
- package/es/components/scale-view/index.d.ts +1 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -5
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/sign-com.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +82 -116
- package/es/components/scale-view/src/utils/judge-types.js +1 -1
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/search-cascader/index.d.ts +2 -2
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/select-label/index.d.ts +83 -169
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -53
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +83 -116
- package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
- package/es/components/select-label/src/components/label-classify.vue.js +1 -1
- package/es/components/select-label/style/iconfont.ttf +0 -0
- package/es/components/select-label/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +14 -14
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +14 -14
- package/es/components/steps-wheel/index.d.ts +2 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +2 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
- package/es/components/steps-wheel/src/constants/index.d.ts +2 -0
- package/es/components/steps-wheel/src/constants/index.js +1 -0
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/table-filter/index.d.ts +0 -9098
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +3 -2
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +21 -49
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +0 -8
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/export.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +6 -3
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +2 -55
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/generateDefOptions.js +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -37
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +12 -178
- package/es/components/time-picker/index.d.ts +18 -0
- package/es/components/time-picker/index.js +1 -0
- package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
- package/es/components/time-picker/src/TimePicker.vue.js +1 -0
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
- package/es/shared/components/no-data/NoData.vue.js +1 -1
- package/es/shared/mixins/index.d.ts +1 -0
- package/es/shared/mixins/index.js +1 -0
- package/es/shared/mixins/useTheme.d.ts +3 -0
- package/es/shared/mixins/useTheme.js +1 -0
- package/es/shared/utils/index.d.ts +17 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
- package/es/components/info-header/src/HiddenContent.vue.js +0 -1
- package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +0 -3630
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +0 -3582
- package/es/components/table-filter/src/classification/Classification-com.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
- package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1472
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
- package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
- package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
- package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
- package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
- package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
- package/es/components/table-filter/src/const/dataOptions.js +0 -1
- package/es/components/table-filter/src/const/index.d.ts +0 -5
- package/es/components/table-filter/src/const/index.js +0 -1
- package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
- package/es/components/table-filter/src/directive/preventReClick.js +0 -1
- package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +0 -8
- package/es/components/table-filter/src/hooks/useTableSearchCon.js +0 -1
- package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +0 -12
- package/es/components/table-filter/src/hooks/useWordBookutils.js +0 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +0 -1942
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
- package/es/components/table-filter/src/tool/time-domain.d.ts +0 -39
- package/es/components/table-filter/src/tool/time-domain.js +0 -1
- package/es/components/table-filter/src/tool/utils.d.ts +0 -4
- package/es/components/table-filter/src/tool/utils.js +0 -1
- package/es/components/table-filter/style/index.css +0 -1
- package/es/components/{table-filter → base-search}/src/directive/resize.d.ts +0 -0
- package/es/components/{table-filter → base-search}/src/directive/resize.js +0 -0
- package/es/components/{table-filter → base-search}/src/tool/resizeSensor.d.ts +0 -0
- package/es/components/{table-filter → base-search}/src/tool/resizeSensor.js +0 -0
- package/es/components/{table-filter → classification}/src/directive/flexibleResize.d.ts +0 -0
- package/es/components/{table-filter → classification}/src/directive/flexibleResize.js +0 -0
- package/es/components/{iho-table/src/plugins/filterPlugin/types.js → config-provider/src/interface.js} +0 -0
- package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
- package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
- /package/es/components/table-filter/src/tool/{options.d.ts → baseOptions.d.ts} +0 -0
- /package/es/components/table-filter/src/tool/{options.js → baseOptions.js} +0 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
|
+
declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
showSettings: {
|
|
4
|
+
type: import("vue").PropType<import("..").IsettingsType>;
|
|
5
|
+
default: () => {
|
|
6
|
+
hideQuickSearch: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
searchFieldList: {
|
|
10
|
+
type: import("vue").PropType<import("..").IApiServerType[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
classificationIndex: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
};
|
|
16
|
+
qqConObjCount: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
outQuickSearchFn: {
|
|
22
|
+
handlerInitSearchItem(arr: import("..").ISearchType[]): void;
|
|
23
|
+
};
|
|
24
|
+
isRender: (cfg: import("..").ISearchType) => any;
|
|
25
|
+
getRenderSearchConObj: (cfg: import("..").ISearchType) => {
|
|
26
|
+
field_key: string;
|
|
27
|
+
con: string | undefined;
|
|
28
|
+
value: any[] | null;
|
|
29
|
+
unit: null;
|
|
30
|
+
} | null;
|
|
31
|
+
isExistDefValByRenderWidget: (cfg: import("..").ISearchType) => boolean;
|
|
32
|
+
resetRenderWidgetValue: (cfg: import("..").ISearchType) => any;
|
|
33
|
+
transformData: (advancedFilterData: import("..").IApiServerType[]) => {
|
|
34
|
+
fieldType: string;
|
|
35
|
+
columnName: string;
|
|
36
|
+
settingObj: {};
|
|
37
|
+
setting: string;
|
|
38
|
+
widgetCfg: {
|
|
39
|
+
isRender: boolean;
|
|
40
|
+
widgetType: string | null;
|
|
41
|
+
valueList: {
|
|
42
|
+
value: any;
|
|
43
|
+
label: string;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
defaultValue: any;
|
|
46
|
+
defValueUnit: any;
|
|
47
|
+
multiple: boolean;
|
|
48
|
+
};
|
|
49
|
+
title: string;
|
|
50
|
+
alias: string | undefined;
|
|
51
|
+
isShowSearch: number;
|
|
52
|
+
filterExplicit: number;
|
|
53
|
+
explicitRequired: number;
|
|
54
|
+
advanceOptionSetting: string;
|
|
55
|
+
placeholder: string | undefined;
|
|
56
|
+
advanceColWidth: string;
|
|
57
|
+
}[];
|
|
58
|
+
transformParams: (paramsList: any) => {};
|
|
59
|
+
baseLeft: any;
|
|
60
|
+
quickSearchLi: any;
|
|
61
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
showSettings: {
|
|
63
|
+
type: import("vue").PropType<import("..").IsettingsType>;
|
|
64
|
+
default: () => {
|
|
65
|
+
hideQuickSearch: number;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
searchFieldList: {
|
|
69
|
+
type: import("vue").PropType<import("..").IApiServerType[]>;
|
|
70
|
+
default: () => never[];
|
|
71
|
+
};
|
|
72
|
+
classificationIndex: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
};
|
|
75
|
+
qqConObjCount: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
}>> & {
|
|
80
|
+
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onHandleReset?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
onGetFilterParam?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}>>;
|
|
85
|
+
emit: (event: "foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam", ...args: any[]) => void;
|
|
86
|
+
baseLeftWidth: import("vue").Ref<number>;
|
|
87
|
+
classificationWidth: import("vue").Ref<number>;
|
|
88
|
+
quickSearchWidth: import("vue").Ref<number>;
|
|
89
|
+
diffWidth: import("vue").Ref<number>;
|
|
90
|
+
curConObj: import("vue").Ref<{
|
|
91
|
+
field_key: string;
|
|
92
|
+
con: string;
|
|
93
|
+
value: any;
|
|
94
|
+
unit: string | null;
|
|
95
|
+
}[]>;
|
|
96
|
+
showResetFilterBtn: import("vue").Ref<boolean>;
|
|
97
|
+
resizeFlag: import("vue").Ref<boolean>;
|
|
98
|
+
outSearchFieldList: import("vue").Ref<{
|
|
99
|
+
columnName: string;
|
|
100
|
+
title: string;
|
|
101
|
+
fieldType?: string | undefined;
|
|
102
|
+
filterExplicit?: number | undefined;
|
|
103
|
+
isShowSearch?: number | undefined;
|
|
104
|
+
setting?: any;
|
|
105
|
+
settingObj?: any;
|
|
106
|
+
placeholder?: string | undefined;
|
|
107
|
+
AGEAttr?: boolean | undefined;
|
|
108
|
+
CL?: string | undefined;
|
|
109
|
+
CONVERT?: any;
|
|
110
|
+
EVALUATEAttr?: boolean | undefined;
|
|
111
|
+
EQ?: string | undefined;
|
|
112
|
+
LABELAttr?: boolean | undefined;
|
|
113
|
+
_isBlock?: boolean | undefined;
|
|
114
|
+
_frontId?: any;
|
|
115
|
+
NUMBERFiled?: boolean | undefined;
|
|
116
|
+
PASSWORDTYPE?: boolean | undefined;
|
|
117
|
+
advanceColWidth?: string | undefined;
|
|
118
|
+
advanceOptionSetting?: string | undefined;
|
|
119
|
+
alias?: string | undefined;
|
|
120
|
+
ageObj?: any;
|
|
121
|
+
attr?: string | undefined;
|
|
122
|
+
bigValue?: string | number | undefined;
|
|
123
|
+
classify?: string | undefined;
|
|
124
|
+
colWidth?: number | undefined;
|
|
125
|
+
columnFullName?: string | undefined;
|
|
126
|
+
com?: string | undefined;
|
|
127
|
+
comType?: string | undefined;
|
|
128
|
+
comAttr?: string | undefined;
|
|
129
|
+
con?: string | undefined;
|
|
130
|
+
dataSource?: any;
|
|
131
|
+
dictionarieObj?: any;
|
|
132
|
+
explicitRequired?: number | undefined;
|
|
133
|
+
explicitDefaultVal?: string | undefined;
|
|
134
|
+
extraField?: boolean | undefined;
|
|
135
|
+
fieldSetting?: string | undefined;
|
|
136
|
+
format?: string | undefined;
|
|
137
|
+
i18n?: string | undefined;
|
|
138
|
+
id?: string | undefined;
|
|
139
|
+
inputVal?: string | undefined;
|
|
140
|
+
inputUnit?: string | undefined;
|
|
141
|
+
isAvg?: number | undefined;
|
|
142
|
+
isEdit?: number | undefined;
|
|
143
|
+
isFixed?: number | undefined;
|
|
144
|
+
isFixedShow?: number | undefined;
|
|
145
|
+
isFontWeight?: number | undefined;
|
|
146
|
+
isMerge?: number | undefined;
|
|
147
|
+
isOrder?: number | undefined;
|
|
148
|
+
isPreciseSearch?: boolean | undefined;
|
|
149
|
+
isRender?: boolean | undefined;
|
|
150
|
+
isSearch?: number | undefined;
|
|
151
|
+
isShow?: number | undefined;
|
|
152
|
+
isSort?: number | undefined;
|
|
153
|
+
isSum?: number | undefined;
|
|
154
|
+
labelObj?: any;
|
|
155
|
+
labelList?: {
|
|
156
|
+
labelId?: string | undefined;
|
|
157
|
+
change_text: string;
|
|
158
|
+
field_key: string;
|
|
159
|
+
filter: {
|
|
160
|
+
con: string;
|
|
161
|
+
conName?: string | undefined;
|
|
162
|
+
field_key: string;
|
|
163
|
+
key?: string | undefined;
|
|
164
|
+
value: string;
|
|
165
|
+
}[];
|
|
166
|
+
label: string;
|
|
167
|
+
labelName: string;
|
|
168
|
+
sqlExpression: string;
|
|
169
|
+
value: string;
|
|
170
|
+
isSelect?: boolean | undefined;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
labelSelectList?: {
|
|
173
|
+
labelId?: string | undefined;
|
|
174
|
+
change_text: string;
|
|
175
|
+
field_key: string;
|
|
176
|
+
filter: {
|
|
177
|
+
con: string;
|
|
178
|
+
conName?: string | undefined;
|
|
179
|
+
field_key: string;
|
|
180
|
+
key?: string | undefined;
|
|
181
|
+
value: string;
|
|
182
|
+
}[];
|
|
183
|
+
label: string;
|
|
184
|
+
labelName: string;
|
|
185
|
+
sqlExpression: string;
|
|
186
|
+
value: string;
|
|
187
|
+
isSelect?: boolean | undefined;
|
|
188
|
+
}[] | undefined;
|
|
189
|
+
lessValue?: string | number | undefined;
|
|
190
|
+
marginx?: string | undefined;
|
|
191
|
+
notParticipatingSearch?: number | undefined;
|
|
192
|
+
order?: string | undefined;
|
|
193
|
+
QUOTE?: any;
|
|
194
|
+
searchPageConfig?: any;
|
|
195
|
+
selecteds?: any;
|
|
196
|
+
sequence?: number | undefined;
|
|
197
|
+
showDate?: boolean | undefined;
|
|
198
|
+
showFormat?: string | undefined;
|
|
199
|
+
showTime?: boolean | undefined;
|
|
200
|
+
sid?: string | undefined;
|
|
201
|
+
start_val?: number | null | undefined;
|
|
202
|
+
end_val?: number | null | undefined;
|
|
203
|
+
tempCon?: any;
|
|
204
|
+
tableId?: string | undefined;
|
|
205
|
+
value?: any;
|
|
206
|
+
unit?: string | undefined;
|
|
207
|
+
widgetCfg?: any;
|
|
208
|
+
formTitle?: string | undefined;
|
|
209
|
+
random_key?: string | undefined;
|
|
210
|
+
widgetType?: any;
|
|
211
|
+
hasFieldList?: any;
|
|
212
|
+
search_DefaultValue?: any;
|
|
213
|
+
}[]>;
|
|
214
|
+
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
215
|
+
initOutSearchFieldList: (config?: any) => void;
|
|
216
|
+
pageResize: (obj: any) => any;
|
|
217
|
+
handleTileBtnWidth: () => void;
|
|
218
|
+
onResize: () => void;
|
|
219
|
+
isShowSetting: (v: string) => boolean;
|
|
220
|
+
foldQuickSearch: () => void;
|
|
221
|
+
outFilterChange: (config?: {}) => void;
|
|
222
|
+
getConObjParams: () => any;
|
|
223
|
+
getConObj: (arr: any) => any;
|
|
224
|
+
onFilterSearch: (obj: import("..").ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
|
|
225
|
+
handleReset: () => void;
|
|
226
|
+
resetFunc: (arr: import("..").ISearchType[]) => void;
|
|
227
|
+
vResize: {
|
|
228
|
+
mounted(el: any, binding: any): void;
|
|
229
|
+
};
|
|
230
|
+
RenderWidget: import("vue").DefineComponent<{
|
|
231
|
+
cfg: {
|
|
232
|
+
type: ObjectConstructor;
|
|
233
|
+
required: true;
|
|
234
|
+
};
|
|
235
|
+
modelValue: {
|
|
236
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
237
|
+
};
|
|
238
|
+
}, any, {
|
|
239
|
+
initialProps: {};
|
|
240
|
+
}, {
|
|
241
|
+
valueCp(): any;
|
|
242
|
+
}, {
|
|
243
|
+
search(): void;
|
|
244
|
+
getEleWidth(cfg: any): string | undefined;
|
|
245
|
+
initComponentProps(cfg: any): void;
|
|
246
|
+
generateWidget(cfg: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
}> | null;
|
|
249
|
+
handleUpdate(val: any, widgetType: any, defValueUnit: any): void;
|
|
250
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange")[], "update:modelValue" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
251
|
+
cfg: {
|
|
252
|
+
type: ObjectConstructor;
|
|
253
|
+
required: true;
|
|
254
|
+
};
|
|
255
|
+
modelValue: {
|
|
256
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
257
|
+
};
|
|
258
|
+
}>> & {
|
|
259
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
260
|
+
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
}, {}>;
|
|
262
|
+
NIcon: any;
|
|
263
|
+
NButton: any;
|
|
264
|
+
Search: 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<{}>>, {}>;
|
|
265
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam")[], "foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
266
|
+
showSettings: {
|
|
267
|
+
type: import("vue").PropType<import("..").IsettingsType>;
|
|
268
|
+
default: () => {
|
|
269
|
+
hideQuickSearch: number;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
searchFieldList: {
|
|
273
|
+
type: import("vue").PropType<import("..").IApiServerType[]>;
|
|
274
|
+
default: () => never[];
|
|
275
|
+
};
|
|
276
|
+
classificationIndex: {
|
|
277
|
+
type: NumberConstructor;
|
|
278
|
+
};
|
|
279
|
+
qqConObjCount: {
|
|
280
|
+
type: NumberConstructor;
|
|
281
|
+
default: number;
|
|
282
|
+
};
|
|
283
|
+
}>> & {
|
|
284
|
+
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
285
|
+
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
286
|
+
onHandleReset?: ((...args: any[]) => any) | undefined;
|
|
287
|
+
onGetFilterParam?: ((...args: any[]) => any) | undefined;
|
|
288
|
+
}, {
|
|
289
|
+
showSettings: import("..").IsettingsType;
|
|
290
|
+
searchFieldList: import("..").IApiServerType[];
|
|
291
|
+
qqConObjCount: number;
|
|
292
|
+
}>>;
|
|
293
|
+
export default CBaseSearch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as s}from"../../shared/utils/index.js";import a from"./src/index.vue.js";const e=a;e.install=function(a){s(a,e,r+"BaseSearch")};export{e as default};
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { ISearchType, IsettingsType, IApiServerType, ISearchParamsType } from '../../../../es/components/table-filter/src/types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
showSettings: {
|
|
5
|
+
type: PropType<IsettingsType>;
|
|
6
|
+
default: () => {
|
|
7
|
+
hideQuickSearch: number;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
searchFieldList: {
|
|
11
|
+
type: PropType<IApiServerType[]>;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
classificationIndex: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
};
|
|
17
|
+
qqConObjCount: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
outQuickSearchFn: {
|
|
23
|
+
handlerInitSearchItem(arr: ISearchType[]): void;
|
|
24
|
+
};
|
|
25
|
+
isRender: (cfg: ISearchType) => any;
|
|
26
|
+
getRenderSearchConObj: (cfg: ISearchType) => {
|
|
27
|
+
field_key: string;
|
|
28
|
+
con: string | undefined;
|
|
29
|
+
value: any[] | null;
|
|
30
|
+
unit: null;
|
|
31
|
+
} | null;
|
|
32
|
+
isExistDefValByRenderWidget: (cfg: ISearchType) => boolean;
|
|
33
|
+
resetRenderWidgetValue: (cfg: ISearchType) => any;
|
|
34
|
+
transformData: (advancedFilterData: IApiServerType[]) => {
|
|
35
|
+
fieldType: string;
|
|
36
|
+
columnName: string;
|
|
37
|
+
settingObj: {};
|
|
38
|
+
setting: string;
|
|
39
|
+
widgetCfg: {
|
|
40
|
+
isRender: boolean;
|
|
41
|
+
widgetType: string | null;
|
|
42
|
+
valueList: {
|
|
43
|
+
value: any;
|
|
44
|
+
label: string;
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
defaultValue: any;
|
|
47
|
+
defValueUnit: any;
|
|
48
|
+
multiple: boolean;
|
|
49
|
+
};
|
|
50
|
+
title: string;
|
|
51
|
+
alias: string | undefined;
|
|
52
|
+
isShowSearch: number;
|
|
53
|
+
filterExplicit: number;
|
|
54
|
+
explicitRequired: number;
|
|
55
|
+
advanceOptionSetting: string;
|
|
56
|
+
placeholder: string | undefined;
|
|
57
|
+
advanceColWidth: string;
|
|
58
|
+
}[];
|
|
59
|
+
transformParams: (paramsList: any) => {};
|
|
60
|
+
baseLeft: any;
|
|
61
|
+
quickSearchLi: any;
|
|
62
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
showSettings: {
|
|
64
|
+
type: PropType<IsettingsType>;
|
|
65
|
+
default: () => {
|
|
66
|
+
hideQuickSearch: number;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
searchFieldList: {
|
|
70
|
+
type: PropType<IApiServerType[]>;
|
|
71
|
+
default: () => never[];
|
|
72
|
+
};
|
|
73
|
+
classificationIndex: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
};
|
|
76
|
+
qqConObjCount: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
}>> & {
|
|
81
|
+
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
onHandleReset?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
onGetFilterParam?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
}>>;
|
|
86
|
+
emit: (event: "foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam", ...args: any[]) => void;
|
|
87
|
+
baseLeftWidth: import("vue").Ref<number>;
|
|
88
|
+
classificationWidth: import("vue").Ref<number>;
|
|
89
|
+
quickSearchWidth: import("vue").Ref<number>;
|
|
90
|
+
diffWidth: import("vue").Ref<number>;
|
|
91
|
+
curConObj: import("vue").Ref<{
|
|
92
|
+
field_key: string;
|
|
93
|
+
con: string;
|
|
94
|
+
value: any;
|
|
95
|
+
unit: string | null;
|
|
96
|
+
}[]>;
|
|
97
|
+
showResetFilterBtn: import("vue").Ref<boolean>;
|
|
98
|
+
resizeFlag: import("vue").Ref<boolean>;
|
|
99
|
+
outSearchFieldList: import("vue").Ref<{
|
|
100
|
+
columnName: string;
|
|
101
|
+
title: string;
|
|
102
|
+
fieldType?: string | undefined;
|
|
103
|
+
filterExplicit?: number | undefined;
|
|
104
|
+
isShowSearch?: number | undefined;
|
|
105
|
+
setting?: any;
|
|
106
|
+
settingObj?: any;
|
|
107
|
+
placeholder?: string | undefined;
|
|
108
|
+
AGEAttr?: boolean | undefined;
|
|
109
|
+
CL?: string | undefined;
|
|
110
|
+
CONVERT?: any;
|
|
111
|
+
EVALUATEAttr?: boolean | undefined;
|
|
112
|
+
EQ?: string | undefined;
|
|
113
|
+
LABELAttr?: boolean | undefined;
|
|
114
|
+
_isBlock?: boolean | undefined;
|
|
115
|
+
_frontId?: any;
|
|
116
|
+
NUMBERFiled?: boolean | undefined;
|
|
117
|
+
PASSWORDTYPE?: boolean | undefined;
|
|
118
|
+
advanceColWidth?: string | undefined;
|
|
119
|
+
advanceOptionSetting?: string | undefined;
|
|
120
|
+
alias?: string | undefined;
|
|
121
|
+
ageObj?: any;
|
|
122
|
+
attr?: string | undefined;
|
|
123
|
+
bigValue?: string | number | undefined;
|
|
124
|
+
classify?: string | undefined;
|
|
125
|
+
colWidth?: number | undefined;
|
|
126
|
+
columnFullName?: string | undefined;
|
|
127
|
+
com?: string | undefined;
|
|
128
|
+
comType?: string | undefined;
|
|
129
|
+
comAttr?: string | undefined;
|
|
130
|
+
con?: string | undefined;
|
|
131
|
+
dataSource?: any;
|
|
132
|
+
dictionarieObj?: any;
|
|
133
|
+
explicitRequired?: number | undefined;
|
|
134
|
+
explicitDefaultVal?: string | undefined;
|
|
135
|
+
extraField?: boolean | undefined;
|
|
136
|
+
fieldSetting?: string | undefined;
|
|
137
|
+
format?: string | undefined;
|
|
138
|
+
i18n?: string | undefined;
|
|
139
|
+
id?: string | undefined;
|
|
140
|
+
inputVal?: string | undefined;
|
|
141
|
+
inputUnit?: string | undefined;
|
|
142
|
+
isAvg?: number | undefined;
|
|
143
|
+
isEdit?: number | undefined;
|
|
144
|
+
isFixed?: number | undefined;
|
|
145
|
+
isFixedShow?: number | undefined;
|
|
146
|
+
isFontWeight?: number | undefined;
|
|
147
|
+
isMerge?: number | undefined;
|
|
148
|
+
isOrder?: number | undefined;
|
|
149
|
+
isPreciseSearch?: boolean | undefined;
|
|
150
|
+
isRender?: boolean | undefined;
|
|
151
|
+
isSearch?: number | undefined;
|
|
152
|
+
isShow?: number | undefined;
|
|
153
|
+
isSort?: number | undefined;
|
|
154
|
+
isSum?: number | undefined;
|
|
155
|
+
labelObj?: any;
|
|
156
|
+
labelList?: {
|
|
157
|
+
labelId?: string | undefined;
|
|
158
|
+
change_text: string;
|
|
159
|
+
field_key: string;
|
|
160
|
+
filter: {
|
|
161
|
+
con: string;
|
|
162
|
+
conName?: string | undefined;
|
|
163
|
+
field_key: string;
|
|
164
|
+
key?: string | undefined;
|
|
165
|
+
value: string;
|
|
166
|
+
}[];
|
|
167
|
+
label: string;
|
|
168
|
+
labelName: string;
|
|
169
|
+
sqlExpression: string;
|
|
170
|
+
value: string;
|
|
171
|
+
isSelect?: boolean | undefined;
|
|
172
|
+
}[] | undefined;
|
|
173
|
+
labelSelectList?: {
|
|
174
|
+
labelId?: string | undefined;
|
|
175
|
+
change_text: string;
|
|
176
|
+
field_key: string;
|
|
177
|
+
filter: {
|
|
178
|
+
con: string;
|
|
179
|
+
conName?: string | undefined;
|
|
180
|
+
field_key: string;
|
|
181
|
+
key?: string | undefined;
|
|
182
|
+
value: string;
|
|
183
|
+
}[];
|
|
184
|
+
label: string;
|
|
185
|
+
labelName: string;
|
|
186
|
+
sqlExpression: string;
|
|
187
|
+
value: string;
|
|
188
|
+
isSelect?: boolean | undefined;
|
|
189
|
+
}[] | undefined;
|
|
190
|
+
lessValue?: string | number | undefined;
|
|
191
|
+
marginx?: string | undefined;
|
|
192
|
+
notParticipatingSearch?: number | undefined;
|
|
193
|
+
order?: string | undefined;
|
|
194
|
+
QUOTE?: any;
|
|
195
|
+
searchPageConfig?: any;
|
|
196
|
+
selecteds?: any;
|
|
197
|
+
sequence?: number | undefined;
|
|
198
|
+
showDate?: boolean | undefined;
|
|
199
|
+
showFormat?: string | undefined;
|
|
200
|
+
showTime?: boolean | undefined;
|
|
201
|
+
sid?: string | undefined;
|
|
202
|
+
start_val?: number | null | undefined;
|
|
203
|
+
end_val?: number | null | undefined;
|
|
204
|
+
tempCon?: any;
|
|
205
|
+
tableId?: string | undefined;
|
|
206
|
+
value?: any;
|
|
207
|
+
unit?: string | undefined;
|
|
208
|
+
widgetCfg?: any;
|
|
209
|
+
formTitle?: string | undefined;
|
|
210
|
+
random_key?: string | undefined;
|
|
211
|
+
widgetType?: any;
|
|
212
|
+
hasFieldList?: any;
|
|
213
|
+
search_DefaultValue?: any;
|
|
214
|
+
}[]>;
|
|
215
|
+
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
216
|
+
initOutSearchFieldList: (config?: any) => void;
|
|
217
|
+
pageResize: (obj: any) => any;
|
|
218
|
+
handleTileBtnWidth: () => void;
|
|
219
|
+
onResize: () => void;
|
|
220
|
+
isShowSetting: (v: string) => boolean;
|
|
221
|
+
foldQuickSearch: () => void;
|
|
222
|
+
outFilterChange: (config?: {}) => void;
|
|
223
|
+
getConObjParams: () => any;
|
|
224
|
+
getConObj: (arr: any) => any;
|
|
225
|
+
onFilterSearch: (obj: ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
|
|
226
|
+
handleReset: () => void;
|
|
227
|
+
resetFunc: (arr: ISearchType[]) => void;
|
|
228
|
+
vResize: {
|
|
229
|
+
mounted(el: any, binding: any): void;
|
|
230
|
+
};
|
|
231
|
+
RenderWidget: import("vue").DefineComponent<{
|
|
232
|
+
cfg: {
|
|
233
|
+
type: ObjectConstructor;
|
|
234
|
+
required: true;
|
|
235
|
+
};
|
|
236
|
+
modelValue: {
|
|
237
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
238
|
+
};
|
|
239
|
+
}, any, {
|
|
240
|
+
initialProps: {};
|
|
241
|
+
}, {
|
|
242
|
+
valueCp(): any;
|
|
243
|
+
}, {
|
|
244
|
+
search(): void;
|
|
245
|
+
getEleWidth(cfg: any): string | undefined;
|
|
246
|
+
initComponentProps(cfg: any): void;
|
|
247
|
+
generateWidget(cfg: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
248
|
+
[key: string]: any;
|
|
249
|
+
}> | null;
|
|
250
|
+
handleUpdate(val: any, widgetType: any, defValueUnit: any): void;
|
|
251
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange")[], "update:modelValue" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
252
|
+
cfg: {
|
|
253
|
+
type: ObjectConstructor;
|
|
254
|
+
required: true;
|
|
255
|
+
};
|
|
256
|
+
modelValue: {
|
|
257
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
258
|
+
};
|
|
259
|
+
}>> & {
|
|
260
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
262
|
+
}, {}>;
|
|
263
|
+
NIcon: any;
|
|
264
|
+
NButton: any;
|
|
265
|
+
Search: 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<{}>>, {}>;
|
|
266
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam")[], "foldQuickSearch" | "onFilterSearch" | "handleReset" | "getFilterParam", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
267
|
+
showSettings: {
|
|
268
|
+
type: PropType<IsettingsType>;
|
|
269
|
+
default: () => {
|
|
270
|
+
hideQuickSearch: number;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
searchFieldList: {
|
|
274
|
+
type: PropType<IApiServerType[]>;
|
|
275
|
+
default: () => never[];
|
|
276
|
+
};
|
|
277
|
+
classificationIndex: {
|
|
278
|
+
type: NumberConstructor;
|
|
279
|
+
};
|
|
280
|
+
qqConObjCount: {
|
|
281
|
+
type: NumberConstructor;
|
|
282
|
+
default: number;
|
|
283
|
+
};
|
|
284
|
+
}>> & {
|
|
285
|
+
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
286
|
+
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
287
|
+
onHandleReset?: ((...args: any[]) => any) | undefined;
|
|
288
|
+
onGetFilterParam?: ((...args: any[]) => any) | undefined;
|
|
289
|
+
}, {
|
|
290
|
+
showSettings: IsettingsType;
|
|
291
|
+
searchFieldList: IApiServerType[];
|
|
292
|
+
qqConObjCount: number;
|
|
293
|
+
}>;
|
|
294
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,computed as l,watch as i,openBlock as a,createElementBlock as r,createElementVNode as n,withDirectives as u,createCommentVNode as s,renderSlot as o,unref as c,createVNode as f,withCtx as d,createTextVNode as m,toDisplayString as v,Fragment as h,renderList as p}from"vue";import b from"xe-utils";import"moment";import g from"./directive/resize.js";import y from"../../table-filter/src/components/render-widget/index.vue.js";import x from"../../table-filter/src/hooks/useMixins.js";import k from"../../table-filter/src/hooks/useAdvanced.js";import S from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as C,NIcon as j}from"naive-ui";import{Search as _}from"@vicons/ionicons5";import{cloneDeep as q}from"lodash-es";import F from"../../../_virtual/plugin-vue_export-helper.js";const R={class:"base-search-block"},O={class:"base-container"},I={class:"base-ul"},Q=n("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),V={key:1,class:"baseli"},A={key:2,class:"baseli"},L=n("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var W=F(e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0})},searchFieldList:{type:Array,default:()=>[]},classificationIndex:{type:Number},qqConObjCount:{type:Number,default:0}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{emit:F}){const W=e,{outQuickSearchFn:w}=x(),{isRender:z,getRenderSearchConObj:N,isExistDefValByRenderWidget:D,resetRenderWidgetValue:E}=S(),{transformData:P,transformParams:U}=k(),$=t(null),B=t(null),M=t(0),T=t(0),G=t(0),H=t(0),J=t([]),K=t(!1),X=t(!1),Y=t([]),Z=l((()=>{var e;return e="hideQuickSearch",0==W.showSettings[e]}));function ee(e){var t;if(X.value)return;let l=$.value;if(!l)return;X.value=!0,M.value=l.clientWidth,T.value=2===W.classificationIndex?160:0,G.value=(null==(t=B.value)?void 0:t.clientWidth)||0;let i=T.value+G.value,a=M.value-i;H.value=a,e.type&&"resize"===e.type&&function(){if(Y.value.length>0)return;X.value=!1}()}function te(){b.debounce(ee({type:"resize"}),300)}function le(){F("foldQuickSearch",!0)}function ie(e={}){const t=ae()||[];!function(e,t,l=!1,i={}){let a=[];Y.value.length>0&&(a=q(Y.value));F("onFilterSearch",e,t,l,a,i)}(t,U(t),!0,e)}function ae(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let l=0;l<e.length;l++){let i=e[l];const a=N(i);a&&t.push(a)}return t.filter((e=>e.value))}(Y.value)}function re(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{E(e)})),w.handlerInitSearchItem(e)}(Y.value),F("handleReset",{targetType:"outQuickSearchReset"})}return i((()=>W.searchFieldList),(e=>{e&&e.length>0&&function(e={}){Y.value=[];let t=q(P(W.searchFieldList)).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));Y.value=t,w.handlerInitSearchItem(Y.value),Y.value.some((e=>z(e)?D(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),i((()=>W.qqConObjCount),(e=>{const t=J.value.length||0;K.value=t+Number(e)>0}),{immediate:!0}),i((()=>Y),(()=>{J.value=ae()||[];const e=U(J.value);K.value=J.value.length+Number(W.qqConObjCount)>0,F("getFilterParam",J.value,e)}),{immediate:!0,deep:!0}),(t,l)=>(a(),r("div",R,[n("div",O,[u((a(),r("div",{class:"bease-left",ref_key:"baseLeft",ref:$},[n("ul",I,[s(" 筛选分类插槽内容 "),o(t.$slots,"classification"),c(Z)?(a(),r("li",{key:0,class:"baseli",ref_key:"quickSearchLi",ref:B},[f(c(C),{class:"search-default",type:"default",onClick:le},{default:d((()=>[Q,m(" 筛选 "+v(e.qqConObjCount?`(${e.qqConObjCount})`:""),1)])),_:1})],512)):s("v-if",!0),s(" start--筛选外显--start "),(a(!0),r(h,null,p(Y.value,(e=>(a(),r(h,null,[e.isRender?(a(),r("li",{class:"baseli outQuickSearch-li",key:e._frontId},[f(y,{style:{margin:"0 8px 8px 0"},cfg:e,modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,onOutFilterChange:ie},null,8,["cfg","modelValue","onUpdate:modelValue"])])):s("v-if",!0)],64)))),256)),s(" end--筛选外显--end "),s(" 查询按钮 "),Y.value&&Y.value.length>0?(a(),r("li",V,[f(c(C),{type:"primary",onClick:ie,style:{margin:"0 8px 8px 0"}},{default:d((()=>[f(c(j),{component:c(_),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),m(" 查询 ")])),_:1})])):s("v-if",!0),s(" 重置按钮 "),K.value?(a(),r("li",A,[f(c(C),{onClick:re,style:{margin:"0 8px 8px 0"}},{default:d((()=>[L,m(" 重置 ")])),_:1})])):s("v-if",!0)])])),[[c(g),te]])])]))}}),[["__file","index.vue"]]);export{W as default};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:iconfont;src:url(iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:8px}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px}
|
|
@@ -483,6 +483,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
483
483
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
484
484
|
}>>;
|
|
485
485
|
attr: import("../../../es/shared/types").AnyObject;
|
|
486
|
+
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
486
487
|
formatData: (data?: {
|
|
487
488
|
tableList: any[];
|
|
488
489
|
fieldList: any[];
|
|
@@ -485,6 +485,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
485
485
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
486
486
|
}>>;
|
|
487
487
|
attr: AnyObject;
|
|
488
|
+
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
488
489
|
formatData: (data?: {
|
|
489
490
|
tableList: any[];
|
|
490
491
|
fieldList: any[];
|