cnhis-design-vue 3.1.40 → 3.1.41-beta.1
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/big-table/src/BigTable.vue.js +1 -0
- package/es/components/big-table/src/components/NoData.vue.js +1 -0
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.js +1 -0
- package/es/components/big-table/src/components/input-button.vue.js +1 -0
- package/es/components/big-table/src/components/separate.vue.js +1 -0
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -0
- package/es/components/button-print/src/ButtonPrint.vue.js +1 -0
- package/es/components/button-print/src/components/EditFormat.vue.js +1 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.js +1 -0
- package/es/components/button-print/src/components/Preview.vue.d.ts +1 -0
- package/es/components/button-print/src/components/Preview.vue.js +1 -0
- package/es/components/button-print/src/components/Preview.vue2.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 -0
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/form.d.ts +0 -0
- package/es/components/callback/src/components/page.d.ts +0 -0
- package/es/components/callback/src/components/table.d.ts +0 -0
- package/es/components/callback/src/types/index.d.ts +0 -0
- package/es/components/fabric-chart/src/FabricChart.vue.js +1 -0
- package/es/components/fabric-chart/src/components/PopupTip.vue.js +1 -0
- package/es/components/field-set/src/FieldSet.vue.js +1 -0
- package/es/components/form-config/index.d.ts +1 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +1 -0
- package/es/components/form-config/src/FormConfig.vue.js +1 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -0
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -0
- package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -0
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -0
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -0
- package/es/components/form-render/src/FormRender.vue.js +1 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -0
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/formItem.js +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -0
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -0
- package/es/components/form-render/src/components/tooltipMessage.vue.js +1 -0
- package/es/components/form-render/src/hooks/useAnchor.js +1 -0
- package/es/components/form-render/src/hooks/useAutoHidden.js +1 -0
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -0
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -1
- package/es/components/iho-table/src/IhoTable.vue.js +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -0
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/HiddenContent.vue.js +1 -0
- package/es/components/info-header/src/InfoEllipsis.vue.js +1 -0
- package/es/components/info-header/src/InfoHeader.vue.js +1 -0
- package/es/components/keyboard/src/Keyboard.vue.js +1 -0
- package/es/components/keyboard/src/components/InputNumber.vue.js +1 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.js +1 -0
- package/es/components/map/src/Map.vue.js +1 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.js +1 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -0
- package/es/components/scale-view/src/ScaleView.vue.js +1 -0
- package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -0
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -0
- package/es/components/scale-view/src/components/EvaluatePage.vue.js +1 -0
- package/es/components/scale-view/src/components/LoadingCom.vue.js +1 -0
- package/es/components/scale-view/src/components/NoData.vue.js +1 -0
- package/es/components/search-cascader/src/SearchCascader.vue.js +1 -0
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -0
- package/es/components/select-label/src/SelectLabel.vue.js +1 -0
- package/es/components/select-label/src/components/label-classify.vue.js +1 -0
- package/es/components/select-person/src/SelectPerson.vue.js +1 -0
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +1 -0
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.js +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -0
- package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -0
- package/es/components/table-filter/index.d.ts +383 -249
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +46 -257
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -0
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +350 -2
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -0
- package/es/components/table-filter/src/classification/search-class-name.vue.js +1 -0
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +318 -1
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +1 -0
- package/es/components/table-filter/src/components/age-com/index.vue.js +1 -0
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +1 -0
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -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/useDisplayCategory.js +1 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +27 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +1 -0
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +1 -0
- package/es/components/table-filter/src/components/range-age/index.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -0
- package/es/{packages/components → components}/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +1 -0
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +28 -1
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +1 -0
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +28 -1
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +1 -0
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -0
- package/es/components/table-filter/src/hooks/useMixins.d.ts +2 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -0
- package/es/components/table-filter/style/index.css +1 -1
- package/es/components/time-line/src/TimeLine.vue.js +1 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -0
- package/es/shared/components/SelectPage/SelectPage.vue.js +1 -0
- package/es/shared/components/SvgIcon/SvgIcon.vue.js +1 -0
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -0
- package/es/shared/components/no-data/NoData.vue.js +1 -0
- package/es/shared/types/index.js +1 -0
- package/package.json +3 -3
- package/es/node_modules/@formily/reactive/esm/action.js +0 -1
- package/es/node_modules/@formily/reactive/esm/annotations/box.js +0 -1
- package/es/node_modules/@formily/reactive/esm/annotations/computed.js +0 -1
- package/es/node_modules/@formily/reactive/esm/annotations/observable.js +0 -1
- package/es/node_modules/@formily/reactive/esm/annotations/ref.js +0 -1
- package/es/node_modules/@formily/reactive/esm/annotations/shallow.js +0 -1
- package/es/node_modules/@formily/reactive/esm/array.js +0 -1
- package/es/node_modules/@formily/reactive/esm/autorun.js +0 -1
- package/es/node_modules/@formily/reactive/esm/batch.js +0 -1
- package/es/node_modules/@formily/reactive/esm/checkers.js +0 -1
- package/es/node_modules/@formily/reactive/esm/environment.js +0 -1
- package/es/node_modules/@formily/reactive/esm/externals.js +0 -1
- package/es/node_modules/@formily/reactive/esm/handlers.js +0 -1
- package/es/node_modules/@formily/reactive/esm/internals.js +0 -1
- package/es/node_modules/@formily/reactive/esm/observable.js +0 -1
- package/es/node_modules/@formily/reactive/esm/reaction.js +0 -1
- package/es/node_modules/@formily/reactive/esm/tree.js +0 -1
- package/es/node_modules/@formily/reactive/esm/untracked.js +0 -1
- package/es/packages/components/big-table/src/BigTable.vue.js +0 -1
- package/es/packages/components/big-table/src/components/NoData.vue.js +0 -1
- package/es/packages/components/big-table/src/components/edit-form/edit-separate.vue.js +0 -1
- package/es/packages/components/big-table/src/components/input-button.vue.js +0 -1
- package/es/packages/components/big-table/src/components/separate.vue.js +0 -1
- package/es/packages/components/bpmn-workflow/src/BpmnWorkflow.vue.js +0 -1
- package/es/packages/components/button-print/src/ButtonPrint.vue.js +0 -1
- package/es/packages/components/button-print/src/components/EditFormat.vue.js +0 -1
- package/es/packages/components/button-print/src/components/IdentityVerification.vue.js +0 -1
- package/es/packages/components/button-print/src/components/Preview.vue.js +0 -1
- package/es/packages/components/button-print/src/components/Preview.vue2.js +0 -1
- package/es/packages/components/button-print/src/utils/print.js +0 -1
- package/es/packages/components/fabric-chart/src/FabricChart.vue.js +0 -1
- package/es/packages/components/fabric-chart/src/components/PopupTip.vue.js +0 -1
- package/es/packages/components/field-set/src/FieldSet.vue.js +0 -1
- package/es/packages/components/form-config/src/FormConfig.vue.js +0 -1
- package/es/packages/components/form-config/src/components/FormConfigCreator.vue.js +0 -1
- package/es/packages/components/form-config/src/components/FormConfigDragDisplay.vue.js +0 -1
- package/es/packages/components/form-config/src/components/FormConfigEdit.vue.js +0 -1
- package/es/packages/components/form-config/src/components/renderer/CloseButton.vue.js +0 -1
- package/es/packages/components/form-config/src/components/renderer/ComplexNode.vue.js +0 -1
- package/es/packages/components/form-config/src/components/renderer/DefaultNode.vue.js +0 -1
- package/es/packages/components/form-render/src/FormRender.vue.js +0 -1
- package/es/packages/components/form-render/src/FormRenderWrapper.vue.js +0 -1
- package/es/packages/components/form-render/src/components/renderer/formItem.js +0 -1
- package/es/packages/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +0 -1
- package/es/packages/components/form-render/src/components/renderer/searchCascade.js +0 -1
- package/es/packages/components/form-render/src/components/renderer/select.js +0 -1
- package/es/packages/components/form-render/src/components/tooltipMessage.vue.js +0 -1
- package/es/packages/components/form-render/src/hooks/useAnchor.js +0 -1
- package/es/packages/components/form-render/src/hooks/useAutoHidden.js +0 -1
- package/es/packages/components/form-render/src/hooks/useFieldListAdaptor.js +0 -1
- package/es/packages/components/form-render/src/hooks/useFormEvent.js +0 -1
- package/es/packages/components/iho-table/src/IhoTable.vue.js +0 -1
- package/es/packages/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
- package/es/packages/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +0 -1
- package/es/packages/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +0 -1
- package/es/packages/components/info-header/src/HiddenContent.vue.js +0 -1
- package/es/packages/components/info-header/src/InfoEllipsis.vue.js +0 -1
- package/es/packages/components/info-header/src/InfoHeader.vue.js +0 -1
- package/es/packages/components/keyboard/src/Keyboard.vue.js +0 -1
- package/es/packages/components/keyboard/src/components/InputNumber.vue.js +0 -1
- package/es/packages/components/keyboard/src/components/NumberPanel.vue.js +0 -1
- package/es/packages/components/map/src/Map.vue.js +0 -1
- package/es/packages/components/recommend-search/src/RecommendSearch.vue.js +0 -1
- package/es/packages/components/recommend-search/src/components/BaseSearch.vue.js +0 -1
- package/es/packages/components/recommend-search/src/components/RecommendInput.vue.js +0 -1
- package/es/packages/components/recommend-search/src/components/RecommendMenu.vue.js +0 -1
- package/es/packages/components/recommend-search/src/components/RecommendSelect.vue.js +0 -1
- package/es/packages/components/scale-view/src/ScaleView.vue.js +0 -1
- package/es/packages/components/scale-view/src/components/AnswerParse.vue.js +0 -1
- package/es/packages/components/scale-view/src/components/EvaluateCountdown.vue.js +0 -1
- package/es/packages/components/scale-view/src/components/EvaluatePage.vue.js +0 -1
- package/es/packages/components/scale-view/src/components/LoadingCom.vue.js +0 -1
- package/es/packages/components/scale-view/src/components/NoData.vue.js +0 -1
- package/es/packages/components/search-cascader/src/SearchCascader.vue.js +0 -1
- package/es/packages/components/select-label/src/LabelFormContent.vue.js +0 -1
- package/es/packages/components/select-label/src/SelectLabel.vue.js +0 -1
- package/es/packages/components/select-label/src/components/label-classify.vue.js +0 -1
- package/es/packages/components/select-person/src/SelectPerson.vue.js +0 -1
- package/es/packages/components/shortcut-provider/src/ShortcutProvider.vue.js +0 -1
- package/es/packages/components/shortcut-setter/src/ShortcutSetter.vue.js +0 -1
- package/es/packages/components/shortcut-setter/src/ShortcutSetterItem.vue.js +0 -1
- package/es/packages/components/steps-wheel/src/StepsWheel.vue.js +0 -1
- package/es/packages/components/table-filter/src/base-search-com/BaseSearch.vue.js +0 -1
- package/es/packages/components/table-filter/src/classification/Classification-com.vue.js +0 -1
- package/es/packages/components/table-filter/src/classification/search-class-name.vue.js +0 -1
- package/es/packages/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/age-com/index.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +0 -1
- package/es/packages/components/table-filter/src/components/classify-filter/index.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/range-age/index.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/render-widget/components/Select.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/render-widget/index.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
- package/es/packages/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
- package/es/packages/components/table-filter/src/hooks/useAdvanced.js +0 -1
- package/es/packages/components/table-filter/src/quick-search/QuickSearch.vue.js +0 -1
- package/es/packages/components/time-line/src/TimeLine.vue.js +0 -1
- package/es/packages/components/vod-chunk-upload/src/chunk-upload-new.vue.js +0 -1
- package/es/packages/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +0 -1
- package/es/packages/shared/components/SelectPage/SelectPage.vue.js +0 -1
- package/es/packages/shared/components/SvgIcon/SvgIcon.vue.js +0 -1
- package/es/packages/shared/components/TextOverTooltip/TextOverTooltip.vue.js +0 -1
- package/es/packages/shared/components/no-data/NoData.vue.js +0 -1
- /package/es/{packages/components → components}/annotation-edit/index.js +0 -0
- /package/es/{packages/components → components}/annotation-edit/src/AnnotationEdit.js +0 -0
- /package/es/{packages/components → components}/annotation-edit/src/type.js +0 -0
- /package/es/{packages/components → components}/big-table/index.js +0 -0
- /package/es/{packages/components → components}/big-table/src/BigTable.vue2.js +0 -0
- /package/es/{packages/components → components}/big-table/src/bigTableEmits.js +0 -0
- /package/es/{packages/components → components}/big-table/src/bigTableProps.js +0 -0
- /package/es/{packages/components → components}/big-table/src/bigTableState.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-date.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-input.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-select.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/edit-time.js +0 -0
- /package/es/{packages/components → components}/big-table/src/components/edit-form/useCommon.js +0 -0
- /package/es/{packages/components → components}/big-table/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useAnchor.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useAnnotation.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useBatchEditing.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useEdit.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useEvent.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useFormat.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useNestTable.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useSeparateRow.js +0 -0
- /package/es/{packages/components → components}/big-table/src/hooks/useTableParse.js +0 -0
- /package/es/{packages/components → components}/big-table/src/utils.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/index.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.js +0 -0
- /package/es/{packages/components → components}/bpmn-workflow/src/custom/customOtherModule/zoomScroll.js +0 -0
- /package/es/{packages/components → components}/button-print/index.js +0 -0
- /package/es/{packages/components → components}/button-print/src/ButtonPrint.vue2.js +0 -0
- /package/es/{packages/components → components}/button-print/src/utils/browserPrint.js +0 -0
- /package/es/{packages/components → components}/button-print/src/utils/dialog.js +0 -0
- /package/es/{packages/components → components}/button-print/src/utils/index.js +0 -0
- /package/es/{packages/components/form-config → components/callback}/src/types/index.js +0 -0
- /package/es/{packages/components → components}/editor/index.js +0 -0
- /package/es/{packages/components → components}/editor/src/Editor.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/index.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/components/PopupMenu.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/components/useStyle.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/constant.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useBirthProcess.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useBirthProcessChart.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useBottom.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useCenter.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useCommon.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useCumputedPoint.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useDraw.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useEvent.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useGrid.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useLeft.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useOther.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useRight.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useShadow.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useTemperatureChart.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/hooks/useTop.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/interface.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/fabric-chart/src/utils/utils.js +0 -0
- /package/es/{packages/components → components}/field-set/index.js +0 -0
- /package/es/{packages/components → components}/form-config/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/components/FormConfigMaterialItem.js +0 -0
- /package/es/{packages/components → components}/form-config/src/components/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/components/renderer/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/useConfigurationField.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/useDataNormalize.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/usePresetRenderer.js +0 -0
- /package/es/{packages/components → components}/form-config/src/hooks/useSortalbeConfig.js +0 -0
- /package/es/{packages/components/recommend-search → components/form-config}/src/types/index.js +0 -0
- /package/es/{packages/components → components}/form-config/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/form-render/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/combination.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/complex.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/date.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/input.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/inputGroup.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/inputNumber.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/jsonCombination/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/levelSearchCascader.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/lineBar/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/radio_checkbox.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/remoteSearch.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/simpleComponent.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/slider.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/switch.js +0 -0
- /package/es/{packages/components → components}/form-render/src/components/renderer/textarea.js +0 -0
- /package/es/{packages/components → components}/form-render/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useAsyncQueue.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useBusinessBinding.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useChangeContext.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useCommonInjection.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useCommonLog.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useComplexOptions.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFieldNormalize.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFieldVisitor.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormContext.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormField.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormItemDeps.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormRenderLifeCycle.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormRenderOptions.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormRequest.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useFormValidator.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useLowCodeReactions.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/useNuiThemeOverrides.js +0 -0
- /package/es/{packages/components → components}/form-render/src/hooks/usePresetScope.js +0 -0
- /package/es/{packages/components → components}/form-render/src/types/fieldItem.js +0 -0
- /package/es/{packages/components → components}/form-render/src/types/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/business.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/dom.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/form-render/src/utils/schema.js +0 -0
- /package/es/{packages/components → components}/grid/index.js +0 -0
- /package/es/{packages/components → components}/grid/src/Grid.js +0 -0
- /package/es/{packages/components → components}/grid/src/hooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/export.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useConfigHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useDataHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useDomInsertHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useEventHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useExposeHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useFieldHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/tapHooks/useSetupHooks.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/useColumnConfigAdaptor.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/useTableContext.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/hooks/useTablePlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/tableAnchor.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/anchorPlugin/useAnchor.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/defaultConfigPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/filterPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/filterPlugin/types.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/keyboardEventPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rowClickPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rowGroupSettingPlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/plugins/virtualTreePlugin/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/types/index.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/types/pluginType.js +0 -0
- /package/es/{packages/components → components}/iho-table/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/index.js +0 -0
- /package/es/{packages/components → components}/info-header/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/insurance-sdk/src/utils/insurance.js +0 -0
- /package/es/{packages/components → components}/keyboard/index.js +0 -0
- /package/es/{packages/components → components}/keyboard/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/map/index.js +0 -0
- /package/es/{packages/components → components}/recommend-search/index.js +0 -0
- /package/es/{packages/components → components}/recommend-search/src/constant/index.js +0 -0
- /package/es/{packages/components/shortcut-provider → components/recommend-search}/src/types/index.js +0 -0
- /package/es/{packages/components → components}/scale-view/index.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/ScaleScore.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/composables/choose-common.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/address.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-address.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-cascader.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-checkbox.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-collection.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-datetime.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-input.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-map.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-radio.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-select.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-sign.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/r-upload.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/sign-com.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/components/formitem/standard-modal.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-computed.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-init.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-props.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-state.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-submit.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/scaleview-validate.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-component.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-evaluate.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-event.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/hooks/use-noData.js +0 -0
- /package/es/{packages/components → components}/scale-view/src/utils/judge-types.js +0 -0
- /package/es/{packages/components → components}/search-cascader/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/components/SearchMenu.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/components/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/hooks/useCssVariable.js +0 -0
- /package/es/{packages/components → components}/search-cascader/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/select-label/index.js +0 -0
- /package/es/{packages/components → components}/select-label/src/SelectLabel.vue2.js +0 -0
- /package/es/{packages/components → components}/select-person/index.js +0 -0
- /package/es/{packages/components → components}/select-person/src/SelectPerson.vue2.js +0 -0
- /package/es/{packages/components → components}/select-person/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/constants/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/hooks/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/hooks/useShortcutSignature.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/hooks/useShortcuts.js +0 -0
- /package/es/{packages/components/shortcut-setter → components/shortcut-provider}/src/types/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-provider/src/utils/index.js +0 -0
- /package/es/{packages/components → components}/shortcut-setter/index.js +0 -0
- /package/es/{packages/components/table-filter → components/shortcut-setter}/src/types/index.js +0 -0
- /package/es/{packages/components → components}/steps-wheel/index.js +0 -0
- /package/es/{packages/components → components}/table-filter/index.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/components/button-icon/getBtnIcon.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/components/classify-filter/helpers/options.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/components/render-widget/components/index.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/components/render-widget/enums.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/components/search-condition/fieldTypeList.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/const/dataOptions.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/const/index.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/directive/flexibleResize.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/directive/preventReClick.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/directive/resize.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/hooks/export.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/hooks/useMixins.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/hooks/useRenderWidget.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/hooks/useTableSearchCon.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/hooks/useWordBookutils.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/tool/generateDefOptions.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/tool/getWidgetType.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/tool/options.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/tool/resizeSensor.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/tool/time-domain.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/tool/transformData.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/tool/utils.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/types/enums.js +0 -0
- /package/es/{packages/shared → components/table-filter/src/types}/index.js +0 -0
- /package/es/{packages/components → components}/table-filter/src/types/tool.js +0 -0
- /package/es/{packages/components → components}/time-line/index.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/index.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/upload-computed.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/upload-data.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/vod-computed.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/hooks/vod-data.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/vod-chunk-upload/index.js +0 -0
- /package/es/{packages/components → components}/vod-chunk-upload/src/vod-upload-modal.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/failure.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/no-permission.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/nodata.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/notfound.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/qr.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/success.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/video.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/video_default_cover.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/xb_big.png.js +0 -0
- /package/es/{packages/shared → shared}/assets/img/xb_small.png.js +0 -0
- /package/es/{packages/shared → shared}/components/SelectPage/index.js +0 -0
- /package/es/{packages/shared → shared}/components/SlotRender/SlotRender.js +0 -0
- /package/es/{packages/shared → shared}/components/SlotRender/index.js +0 -0
- /package/es/{packages/shared → shared}/components/SvgIcon/index.js +0 -0
- /package/es/{packages/shared → shared}/components/TextOverTooltip/index.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/index.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/componentBuilderHelper.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/componentStructure.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/renderHelper.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/core/sortableEvents.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/console.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/htmlHelper.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/string.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/util/tags.js +0 -0
- /package/es/{packages/shared → shared}/components/VueDraggable/src/vuedraggable.js +0 -0
- /package/es/{packages/shared → shared}/components/no-data/index.js +0 -0
- /package/es/{packages/shared → shared}/components/player-vod/player.js +0 -0
- /package/es/{packages/shared → shared}/components/player-vod/video-modal.js +0 -0
- /package/es/{packages/shared → shared}/global/variable.js +0 -0
- /package/es/{packages/shared/types → shared}/index.js +0 -0
- /package/es/{packages/shared → shared}/utils/anime.js +0 -0
- /package/es/{packages/shared → shared}/utils/colorLog.js +0 -0
- /package/es/{packages/shared → shared}/utils/index.js +0 -0
- /package/es/{packages/shared → shared}/utils/loadViewer.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncParallelBailHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncParallelHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesBailHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesLoopHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/AsyncSeriesWaterfallHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/Hook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/HookCodeFactory.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncBailHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncLoopHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/tapable/SyncWaterfallHook.js +0 -0
- /package/es/{packages/shared → shared}/utils/utilExpand.js +0 -0
- /package/es/{packages/shared → shared}/utils/vexutils.js +0 -0
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ISearchType, IClassifyListType, ISaveType, ITreeDataType } from '../../../../../es/components/table-filter/src/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
tableDataType: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
4
8
|
originConditionList: {
|
|
5
9
|
type: PropType<IClassifyListType[]>;
|
|
6
10
|
default: () => never[];
|
|
@@ -20,6 +24,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
24
|
}, {
|
|
21
25
|
validConObj: (conObj: any, fieldList: ISearchType[], fieldSearchLimit: any) => any;
|
|
22
26
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
tableDataType: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
23
31
|
originConditionList: {
|
|
24
32
|
type: PropType<IClassifyListType[]>;
|
|
25
33
|
default: () => never[];
|
|
@@ -47,7 +55,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
55
|
instance: import("axios").AxiosInstance;
|
|
48
56
|
$message: import("naive-ui").MessageApi;
|
|
49
57
|
comWrap: any;
|
|
50
|
-
|
|
58
|
+
conditionApiRef: any;
|
|
59
|
+
conditionSqlRef: any;
|
|
51
60
|
className: any;
|
|
52
61
|
actionList_prop: import("vue").Ref<IClassifyListType | undefined>;
|
|
53
62
|
conOjbConfig: import("vue").Ref<IClassifyListType | undefined>;
|
|
@@ -64,6 +73,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
73
|
conObjLen: import("vue").ComputedRef<any>;
|
|
65
74
|
showConditionList: import("vue").ComputedRef<IClassifyListType[]>;
|
|
66
75
|
saveBtnName: import("vue").ComputedRef<"保存模板" | "另存为模板">;
|
|
76
|
+
isApiFilter: import("vue").ComputedRef<boolean>;
|
|
67
77
|
init: () => void;
|
|
68
78
|
handleAddCondition: () => void;
|
|
69
79
|
handleSearch: () => void;
|
|
@@ -933,6 +943,308 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
933
943
|
showCompareField: boolean;
|
|
934
944
|
hideAddBtn: boolean;
|
|
935
945
|
}>;
|
|
946
|
+
SearchConditionByApi: import("vue").DefineComponent<{
|
|
947
|
+
actionList_prop: {
|
|
948
|
+
type: PropType<IClassifyListType>;
|
|
949
|
+
default: () => {};
|
|
950
|
+
};
|
|
951
|
+
conditionList: {
|
|
952
|
+
type: ArrayConstructor;
|
|
953
|
+
default: () => never[];
|
|
954
|
+
};
|
|
955
|
+
tableId: {
|
|
956
|
+
type: StringConstructor;
|
|
957
|
+
default: string;
|
|
958
|
+
};
|
|
959
|
+
showItemName: {
|
|
960
|
+
type: BooleanConstructor;
|
|
961
|
+
default: boolean;
|
|
962
|
+
};
|
|
963
|
+
hideAddBtn: {
|
|
964
|
+
type: BooleanConstructor;
|
|
965
|
+
default: boolean;
|
|
966
|
+
};
|
|
967
|
+
}, {
|
|
968
|
+
$message: import("naive-ui").MessageApi;
|
|
969
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
970
|
+
actionList_prop: {
|
|
971
|
+
type: PropType<IClassifyListType>;
|
|
972
|
+
default: () => {};
|
|
973
|
+
};
|
|
974
|
+
conditionList: {
|
|
975
|
+
type: ArrayConstructor;
|
|
976
|
+
default: () => never[];
|
|
977
|
+
};
|
|
978
|
+
tableId: {
|
|
979
|
+
type: StringConstructor;
|
|
980
|
+
default: string;
|
|
981
|
+
};
|
|
982
|
+
showItemName: {
|
|
983
|
+
type: BooleanConstructor;
|
|
984
|
+
default: boolean;
|
|
985
|
+
};
|
|
986
|
+
hideAddBtn: {
|
|
987
|
+
type: BooleanConstructor;
|
|
988
|
+
default: boolean;
|
|
989
|
+
};
|
|
990
|
+
}>> & {
|
|
991
|
+
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
992
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
993
|
+
}>>;
|
|
994
|
+
emit: (event: "saveAdd" | "cancelSaveAdd", ...args: any[]) => void;
|
|
995
|
+
$attrs: {
|
|
996
|
+
[x: string]: unknown;
|
|
997
|
+
};
|
|
998
|
+
FormState: {
|
|
999
|
+
className: string;
|
|
1000
|
+
displayCategory: string;
|
|
1001
|
+
filterConditions: {
|
|
1002
|
+
value: string;
|
|
1003
|
+
key: string;
|
|
1004
|
+
condition: string;
|
|
1005
|
+
presetVal: string;
|
|
1006
|
+
}[];
|
|
1007
|
+
};
|
|
1008
|
+
loading: import("vue").Ref<boolean>;
|
|
1009
|
+
DisplayCategoryState: {
|
|
1010
|
+
addDisplayCategory: string;
|
|
1011
|
+
displayCategories: {
|
|
1012
|
+
disabled: boolean;
|
|
1013
|
+
value: string;
|
|
1014
|
+
}[];
|
|
1015
|
+
displayCategoryOriginLen: number;
|
|
1016
|
+
showAdd: boolean;
|
|
1017
|
+
};
|
|
1018
|
+
isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
|
|
1019
|
+
editDisplayCategory: (e: any, item: import("../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
|
|
1020
|
+
handleDisplayCategorySelect: (item: import("../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
|
|
1021
|
+
handleDisplayCategoryRemove: (index: number, item: import("../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
|
|
1022
|
+
handleDisplayCategoryAdd: (e: any) => void;
|
|
1023
|
+
handlerBlur: () => void;
|
|
1024
|
+
initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
|
|
1025
|
+
FilterConditionsState: any;
|
|
1026
|
+
paramOptions: import("vue").ComputedRef<any>;
|
|
1027
|
+
addFilterCondition: () => void;
|
|
1028
|
+
delFilterCondition: (index: number) => void;
|
|
1029
|
+
updateKey: (index: number, val: any) => void;
|
|
1030
|
+
updateCondition: (index: number, val: any) => void;
|
|
1031
|
+
getParamCfg: (key: string) => any;
|
|
1032
|
+
initFilterConditions: (tableId: string, rawConditions: import("../../../../../es/components/table-filter/src/types").ISearchConfigType) => Promise<void>;
|
|
1033
|
+
getRawFilterConditions: () => {
|
|
1034
|
+
field_key: any;
|
|
1035
|
+
con: any;
|
|
1036
|
+
value: any;
|
|
1037
|
+
unit: any;
|
|
1038
|
+
}[];
|
|
1039
|
+
findConditionByDisplayCategory: (displayCategory: string) => unknown;
|
|
1040
|
+
handleDisplayCategorySelectProxy: (item: import("../../../../../es/components/table-filter/src/types").ICategoryItemType) => void;
|
|
1041
|
+
clearFormData: () => void;
|
|
1042
|
+
handleInitConditions: () => Promise<void>;
|
|
1043
|
+
validate: () => Promise<unknown>;
|
|
1044
|
+
saveAdd: () => void;
|
|
1045
|
+
cancelSaveAdd: () => void;
|
|
1046
|
+
checkActionList: () => boolean;
|
|
1047
|
+
NSpin: any;
|
|
1048
|
+
NIcon: any;
|
|
1049
|
+
NInput: any;
|
|
1050
|
+
NButton: any;
|
|
1051
|
+
NTooltip: any;
|
|
1052
|
+
NSelect: any;
|
|
1053
|
+
AddOutline: 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<{}>>, {}>;
|
|
1054
|
+
AddCircleSharp: 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<{}>>, {}>;
|
|
1055
|
+
CloseOutline: 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<{}>>, {}>;
|
|
1056
|
+
SvgIcon: import("vue").DefineComponent<{
|
|
1057
|
+
iconClass: {
|
|
1058
|
+
type: StringConstructor;
|
|
1059
|
+
required: true;
|
|
1060
|
+
default: string;
|
|
1061
|
+
};
|
|
1062
|
+
title: {
|
|
1063
|
+
type: StringConstructor;
|
|
1064
|
+
required: false;
|
|
1065
|
+
default: string;
|
|
1066
|
+
};
|
|
1067
|
+
className: {
|
|
1068
|
+
type: StringConstructor;
|
|
1069
|
+
required: false;
|
|
1070
|
+
};
|
|
1071
|
+
}, {
|
|
1072
|
+
props: {
|
|
1073
|
+
iconClass: string;
|
|
1074
|
+
title: string;
|
|
1075
|
+
className?: string | undefined;
|
|
1076
|
+
};
|
|
1077
|
+
iconName: import("vue").ComputedRef<string>;
|
|
1078
|
+
svgClass: import("vue").ComputedRef<string>;
|
|
1079
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1080
|
+
iconClass: {
|
|
1081
|
+
type: StringConstructor;
|
|
1082
|
+
required: true;
|
|
1083
|
+
default: string;
|
|
1084
|
+
};
|
|
1085
|
+
title: {
|
|
1086
|
+
type: StringConstructor;
|
|
1087
|
+
required: false;
|
|
1088
|
+
default: string;
|
|
1089
|
+
};
|
|
1090
|
+
className: {
|
|
1091
|
+
type: StringConstructor;
|
|
1092
|
+
required: false;
|
|
1093
|
+
};
|
|
1094
|
+
}>>, {
|
|
1095
|
+
title: string;
|
|
1096
|
+
iconClass: string;
|
|
1097
|
+
}>;
|
|
1098
|
+
ValueCfg: import("vue").DefineComponent<{
|
|
1099
|
+
paramCfg: {
|
|
1100
|
+
type: ObjectConstructor;
|
|
1101
|
+
default: null;
|
|
1102
|
+
};
|
|
1103
|
+
modelValue: {
|
|
1104
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1105
|
+
default: null;
|
|
1106
|
+
};
|
|
1107
|
+
presetVal: {
|
|
1108
|
+
type: StringConstructor;
|
|
1109
|
+
default: null;
|
|
1110
|
+
};
|
|
1111
|
+
}, {
|
|
1112
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1113
|
+
paramCfg: {
|
|
1114
|
+
type: ObjectConstructor;
|
|
1115
|
+
default: null;
|
|
1116
|
+
};
|
|
1117
|
+
modelValue: {
|
|
1118
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1119
|
+
default: null;
|
|
1120
|
+
};
|
|
1121
|
+
presetVal: {
|
|
1122
|
+
type: StringConstructor;
|
|
1123
|
+
default: null;
|
|
1124
|
+
};
|
|
1125
|
+
}>> & {
|
|
1126
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1127
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
1128
|
+
}>>;
|
|
1129
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
|
1130
|
+
valueCp: import("vue").WritableComputedRef<unknown>;
|
|
1131
|
+
presetValCp: import("vue").WritableComputedRef<unknown>;
|
|
1132
|
+
widgetType: import("vue").ComputedRef<any>;
|
|
1133
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
1134
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
1135
|
+
widgetOptions: import("vue").ComputedRef<{
|
|
1136
|
+
label: string;
|
|
1137
|
+
value: string;
|
|
1138
|
+
}[]>;
|
|
1139
|
+
NInputNumber: any;
|
|
1140
|
+
NInput: any;
|
|
1141
|
+
NSelect: any;
|
|
1142
|
+
NDatePicker: any;
|
|
1143
|
+
WidgetTypeEnums: {
|
|
1144
|
+
INPUT_NUMBER: string;
|
|
1145
|
+
INPUT: string;
|
|
1146
|
+
SELECT: string;
|
|
1147
|
+
DATE: string;
|
|
1148
|
+
DATE_TIME: string;
|
|
1149
|
+
};
|
|
1150
|
+
WidgetValEnums: {
|
|
1151
|
+
CUSTOM: string;
|
|
1152
|
+
FIRST_VAL: string;
|
|
1153
|
+
NOW: string;
|
|
1154
|
+
TODAY: string;
|
|
1155
|
+
TODAY_START: string;
|
|
1156
|
+
TODAY_END: string;
|
|
1157
|
+
TOMORROW: string;
|
|
1158
|
+
TOMORROW_START: string;
|
|
1159
|
+
TOMORROW_END: string;
|
|
1160
|
+
YESTERDAY: string;
|
|
1161
|
+
YESTERDAY_START: string;
|
|
1162
|
+
YESTERDAY_END: string;
|
|
1163
|
+
THIS_WEEK: string;
|
|
1164
|
+
WEEK_START: string;
|
|
1165
|
+
WEEK_END: string;
|
|
1166
|
+
NEXT_WEEK: string;
|
|
1167
|
+
LAST_WEEK: string;
|
|
1168
|
+
THIS_MONTH: string;
|
|
1169
|
+
MONTH_START: string;
|
|
1170
|
+
MONTH_END: string;
|
|
1171
|
+
NEXT_MONTH: string;
|
|
1172
|
+
LAST_MONTH: string;
|
|
1173
|
+
THIS_QUARTER: string;
|
|
1174
|
+
NEXT_QUARTER: string;
|
|
1175
|
+
LAST_QUARTER: string;
|
|
1176
|
+
THIS_YEAR: string;
|
|
1177
|
+
NEXT_YEAR: string;
|
|
1178
|
+
LAST_YEAR: string;
|
|
1179
|
+
};
|
|
1180
|
+
WidgetOptionEnums: {
|
|
1181
|
+
RADIO: string;
|
|
1182
|
+
MULTIPLE: string;
|
|
1183
|
+
ALL: string;
|
|
1184
|
+
SELECT_TIME: string;
|
|
1185
|
+
PAST_TIME: string;
|
|
1186
|
+
FUTURE_TIME: string;
|
|
1187
|
+
};
|
|
1188
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1189
|
+
paramCfg: {
|
|
1190
|
+
type: ObjectConstructor;
|
|
1191
|
+
default: null;
|
|
1192
|
+
};
|
|
1193
|
+
modelValue: {
|
|
1194
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
1195
|
+
default: null;
|
|
1196
|
+
};
|
|
1197
|
+
presetVal: {
|
|
1198
|
+
type: StringConstructor;
|
|
1199
|
+
default: null;
|
|
1200
|
+
};
|
|
1201
|
+
}>> & {
|
|
1202
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1203
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
1204
|
+
}, {
|
|
1205
|
+
modelValue: string | number | unknown[];
|
|
1206
|
+
presetVal: string;
|
|
1207
|
+
paramCfg: Record<string, any>;
|
|
1208
|
+
}>;
|
|
1209
|
+
ConditionEnums: {
|
|
1210
|
+
NULL: string;
|
|
1211
|
+
EQUAL: string;
|
|
1212
|
+
};
|
|
1213
|
+
conditionOptions: {
|
|
1214
|
+
label: string;
|
|
1215
|
+
value: string;
|
|
1216
|
+
}[];
|
|
1217
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("saveAdd" | "cancelSaveAdd")[], "saveAdd" | "cancelSaveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1218
|
+
actionList_prop: {
|
|
1219
|
+
type: PropType<IClassifyListType>;
|
|
1220
|
+
default: () => {};
|
|
1221
|
+
};
|
|
1222
|
+
conditionList: {
|
|
1223
|
+
type: ArrayConstructor;
|
|
1224
|
+
default: () => never[];
|
|
1225
|
+
};
|
|
1226
|
+
tableId: {
|
|
1227
|
+
type: StringConstructor;
|
|
1228
|
+
default: string;
|
|
1229
|
+
};
|
|
1230
|
+
showItemName: {
|
|
1231
|
+
type: BooleanConstructor;
|
|
1232
|
+
default: boolean;
|
|
1233
|
+
};
|
|
1234
|
+
hideAddBtn: {
|
|
1235
|
+
type: BooleanConstructor;
|
|
1236
|
+
default: boolean;
|
|
1237
|
+
};
|
|
1238
|
+
}>> & {
|
|
1239
|
+
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
1240
|
+
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
1241
|
+
}, {
|
|
1242
|
+
tableId: string;
|
|
1243
|
+
actionList_prop: IClassifyListType;
|
|
1244
|
+
showItemName: boolean;
|
|
1245
|
+
conditionList: unknown[];
|
|
1246
|
+
hideAddBtn: boolean;
|
|
1247
|
+
}>;
|
|
936
1248
|
TextOverTooltip: import("vue").DefineComponent<{
|
|
937
1249
|
content: {
|
|
938
1250
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1089,6 +1401,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1089
1401
|
showItemName: boolean;
|
|
1090
1402
|
}>;
|
|
1091
1403
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeSearch" | "changeShowName" | "handleItemClick" | "reloadClassification")[], "changeSearch" | "changeShowName" | "handleItemClick" | "reloadClassification", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1404
|
+
tableDataType: {
|
|
1405
|
+
type: StringConstructor;
|
|
1406
|
+
default: string;
|
|
1407
|
+
};
|
|
1092
1408
|
originConditionList: {
|
|
1093
1409
|
type: PropType<IClassifyListType[]>;
|
|
1094
1410
|
default: () => never[];
|
|
@@ -1114,6 +1430,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1114
1430
|
searchFieldList: ISearchType[];
|
|
1115
1431
|
searchFieldLimit: Record<string, any>;
|
|
1116
1432
|
originConditionList: IClassifyListType[];
|
|
1433
|
+
tableDataType: string;
|
|
1117
1434
|
treeData: ITreeDataType[];
|
|
1118
1435
|
}>;
|
|
1119
1436
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,useAttrs as t,ref as a,computed as i,watch as n,nextTick as o,openBlock as l,createElementBlock as s,createCommentVNode as c,createElementVNode as r,unref as u,createBlock as d,mergeProps as v,createVNode as p,withCtx as f,createTextVNode as h,toDisplayString as m,withDirectives as g,vShow as b,withModifiers as k,Fragment as y,renderList as C,normalizeClass as S,isRef as L}from"vue";import{useMessage as A,NButton as _,NPopover as I,NIcon as w,NInputGroup as T,NInput as D,NTooltip as O,NPopconfirm as j,NModal as N,NCard as P}from"naive-ui";import x from"axios";import{FileTray as Q,Close as E}from"@vicons/ionicons5";import z from"xe-utils";import"moment";import J from"../../../../shared/components/SvgIcon/SvgIcon.vue.js";import U from"../components/search-condition/SearchCondition.vue.js";import F from"../components/classify-filter/index.vue.js";import R from"../../../../shared/components/TextOverTooltip/TextOverTooltip.vue.js";import W from"./search-class-name.vue.js";import q from"../hooks/useTableSearchCon.js";import{DataTypeEnums as B}from"../types/enums.js";import $ from"../../../../_virtual/plugin-vue_export-helper.js";const H={class:"search-professional-container"},M={class:"left-content"},G={class:"left-content-btn"},K={class:"right-content"},V={class:"list"},X={class:"list-title"},Y=r("span",{class:"list-title-parent"},"父类名称",-1),Z={class:"list-title-name"},ee=r("span",null,"筛选名称",-1),te=r("h4",{class:"name"},"筛选名称",-1),ae={class:"search-condition-f-content"},ie={class:"search-condition-f-footer"},ne=r("span",{class:"list-title-name"},m("创建人"),-1),oe=r("span",{class:"list-title-btn"},"操作",-1),le={class:"list-content"},se=["onClick"],ce={class:"list-content-parent"},re={class:"list-content-name"},ue={class:"list-content-name"},de={class:"list-content-btn"},ve={class:"svg-wrap"};var pe=$(e({__name:"search-professional-model",props:{tableDataType:{type:String,default:""},originConditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]},searchFieldLimit:{type:Object,default:()=>({})},treeData:{type:Array,default:()=>[]}},emits:["changeShowName","changeSearch","handleItemClick","reloadClassification"],setup(e,{emit:$}){const pe=e,{validConObj:fe}=q(),he=t(),me=x.create({}),ge=A();let be=a(null),ke=a(null),ye=a(null),Ce=a(null),Se=a(),Le=a(),Ae=a(!1),_e=a(""),Ie=a({visible:!1,keyWord:""}),we=a(""),Te=a();const De={},Oe=i((()=>((null==pe?void 0:pe.searchFieldList)||[]).filter((e=>"operatorColumn"!==e.columnName)))),je=i((()=>{var e,t;return(null==(t=null==(e=Le.value)?void 0:e.conObj)?void 0:t.length)||0})),Ne=i((()=>"string"==typeof _e.value&&_e.value?pe.originConditionList.filter((e=>e.name.includes(_e.value))):pe.originConditionList)),Pe=i((()=>{var e;return"edit"==(null==(e=Se.value)?void 0:e.from)?"保存模板":"另存为模板"})),xe=i((()=>pe.tableDataType===B.API));function Qe(){switch(pe.tableDataType){case B.API:ke&&ke.value.addAction({noDefault:!0});break;case B.SQL:ye&&ye.value.addAction({noDefault:!0})}o((()=>{let e=be.value;e.scrollTop=e.scrollHeight}))}function Ee(){let e=null;switch(pe.tableDataType){case B.API:e=ke.value.checkActionList();break;case B.SQL:e=ye.value.checkActionList()}if(e)$("changeSearch","all",{},{},[]),$("changeShowName","全部数据"),Le.value=De;else switch(we.value="search",pe.tableDataType){case B.API:ke&&ke.value.saveAdd();break;case B.SQL:ye&&ye.value.saveAdd()}pe.originConditionList.forEach((e=>{e.checked=!1}))}function ze(){switch(we.value="SaveToClass",pe.tableDataType){case B.API:ke&&ke.value.saveAdd();break;case B.SQL:ye&&ye.value.saveAdd()}}function Je(e){"search"===we.value?function(e){let t=null==e?void 0:e.setting;z.isJSON(t)&&(t=JSON.parse(t));Le.value=t,$("changeSearch","",t,{},[t]),$("changeShowName","自定义筛选")}(e):"SaveToClass"===we.value&&function(e){Ae.value=!0,Te.value=e,o((()=>{Ce.value.init()}))}(e)}function Ue(e){Se.value=Object.assign({},e,{from:"edit"}),o((()=>{switch(pe.tableDataType){case B.API:ke&&ke.value.handleInitConditions();break;case B.SQL:ye&&ye.value.handleInitConditions()}}))}function Fe(e){Se.value=Object.assign({},e,{from:"copy"}),o((()=>{switch(pe.tableDataType){case B.API:ke&&ke.value.handleInitConditions();break;case B.SQL:ye&&ye.value.handleInitConditions()}}))}function Re(e){let t="";for(const a in e)t+=encodeURIComponent(a)+"="+encodeURIComponent(e[a])+"&";return t=t.slice(0,-1),t}function We(){let e=Ce.value.handleGetParams();if(!e)return;let t=Te.value.setting;z.isJSON(t)&&(t=JSON.parse(t),Object.assign(t,e)),Te.value.setting=JSON.stringify(t),function(e){const t=JSON.parse(e.setting);if(!fe(t.conObj,Oe.value,pe.searchFieldLimit))return;Object.assign(e,{tableId:he.tableId,conditionList:JSON.stringify(pe.originConditionList)}),me({url:"/tableList/saveTableCondiTion",method:"post",data:e,transformRequest:[Re]}).then((({data:e})=>{if("SUCCESS"==e.result){switch(qe(),$("reloadClassification"),pe.tableDataType){case B.API:ke&&ke.value.cancelSaveAdd();break;case B.SQL:ye&&ye.value.cancelSaveAdd()}o((()=>{switch(pe.tableDataType){case B.API:ke&&ke.value.addAction();break;case B.SQL:ye&&ye.value.addAction()}}))}else ge.error(e.resultMsg)}))}(Te.value)}function qe(){Ae.value=!1}function Be(){Ie.value.visible=!1}function $e(){_e.value=Ie.value.keyWord,Ie.value.visible=!1}function He(){$e()}return n((()=>pe.originConditionList),(e=>{e.length>0&&function(){let e=pe.originConditionList.find((e=>e.isDefault)),t="全部数据";if(e)e.checked=!0,Le.value=e,e.isEdit?Ue(e):Fe(e),t=e.name||"全部数据",$("changeShowName",t);else if("全部数据"===t){const e=Object.assign({},{from:"copy"});Se.value=e}}()}),{deep:!0,immediate:!0}),(t,a)=>(l(),s("div",H,[c(" 左侧筛选分类设置 "),r("div",M,[r("div",{ref_key:"comWrap",ref:be,class:"left-content-com"},[c(' API筛选分类弹窗 :conditionList="props.conditionList"'),u(xe)?(l(),d(F,v({key:0},t.$attrs,{ref_key:"conditionApiRef",ref:ke,actionList_prop:u(Se),conditionList:e.originConditionList,showItemName:!1,hideAddBtn:!0}),null,16,["actionList_prop","conditionList"])):(l(),d(U,v({key:1},t.$attrs,{ref_key:"conditionSqlRef",ref:ye,searchFieldList:u(Oe),actionList_prop:u(Se),showItemName:!1,isCnHis:!1,saveEmpty:!0,isOnlyCondition:!1,hideAddBtn:!0,isInSearch:!0,source:"search-professional",onSaveAdd:Je}),null,16,["searchFieldList","actionList_prop"]))],512),r("div",G,[p(u(_),{onClick:Qe},{default:f((()=>[h(" 添加条件 ")])),_:1}),p(u(_),{type:"primary",onClick:Ee},{default:f((()=>[h(" 查询 ")])),_:1}),p(u(_),{type:"primary",onClick:ze},{default:f((()=>[h(m(u(Pe)),1)])),_:1}),g(r("span",{class:"selected-item-del",onClick:a[0]||(a[0]=e=>function(e=!0){switch(pe.tableDataType){case B.API:ke&&ke.value.cancelSaveAdd();break;case B.SQL:ye&&ye.value.cancelSaveAdd()}Le.value=De,Se.value=De,pe.originConditionList.forEach((e=>{e.checked=!1})),o((()=>{switch(e&&$("changeSearch","all",{},{},[]),pe.tableDataType){case B.API:ke&&ke.value.addAction();break;case B.SQL:ye&&ye.value.addAction()}$("changeShowName","全部数据")}))}(!0))},[p(u(J),{"class-name":"svg-icon-btn","icon-class":"xitongtubiaoliebiaocaozuoanniushanchu"}),h(" 清空筛选 "),r("span",null,"("+m(u(je))+")",1)],512),[[b,u(je)>0]])])]),c(" 右侧筛选分类列表 "),r("div",K,[r("div",V,[r("div",X,[Y,r("span",Z,[ee,p(u(I),{show:u(Ie).visible,"onUpdate:show":a[3]||(a[3]=e=>u(Ie).visible=e),placement:"bottom",trigger:"click"},{trigger:f((()=>[p(u(w),{component:u(Q),class:"svg-icon-filter",onClick:a[1]||(a[1]=k((()=>{}),["prevent","stop"]))},null,8,["component"])])),default:f((()=>[te,r("div",ae,[p(u(T),null,{default:f((()=>[p(u(D),{value:u(Ie).keyWord,"onUpdate:value":a[2]||(a[2]=e=>u(Ie).keyWord=e),placeholder:"请输入关键字",style:{width:"200px"}},null,8,["value"]),p(u(_),{type:"primary",ghost:"",onClick:He},{default:f((()=>[h("搜索")])),_:1})])),_:1})]),r("div",ie,[p(u(_),{ghost:"",onClick:Be,style:{"margin-right":"10px"}},{default:f((()=>[h("取消")])),_:1}),p(u(_),{type:"primary",onClick:$e},{default:f((()=>[h("筛选")])),_:1})])])),_:1},8,["show"])]),ne,oe]),r("ul",le,[r("template",null,[(l(!0),s(y,null,C(u(Ne),((e,t)=>(l(),s("li",{key:e.sid,class:S({checked:e.checked}),onClick:t=>function(e){const t=e.checked?{}:e;Le.value=t,pe.originConditionList.forEach((t=>{t.sid!=e.sid||t.checked?t.checked=!1:t.checked=!0}));let a=Array.isArray(pe.treeData)&&pe.treeData.find((t=>t.name==e.displayCategory));if($("handleItemClick",e,0,a||{},0),0===Object.keys(Le.value||{}).length){switch(pe.tableDataType){case B.API:ke&&ke.value.cancelSaveAdd();break;case B.SQL:ye&&ye.value.cancelSaveAdd()}return Se.value=De,void o((()=>{switch(pe.tableDataType){case B.API:ke&&ke.value.addAction();break;case B.SQL:ye&&ye.value.addAction()}}))}"copy"==(e.isEdit?"edit":"copy")?Fe(e):Ue(e)}(e)},[r("span",ce,[p(u(R),{content:e.displayCategory},null,8,["content"])]),r("span",re,[p(u(R),{content:e.name},null,8,["content"])]),r("span",ue,[p(u(R),{content:e.createdByName},null,8,["content"])]),r("span",de,[c(" 编辑 "),g(r("template",null,[p(u(O),null,{trigger:f((()=>[p(u(J),{onClick:k((t=>Ue(e)),["prevent","stop"]),"icon-class":"xitongtubiaoliebiaocaozuoanniubianjixiugai",class:"svg-icon-btn"},null,8,["onClick"])])),default:f((()=>[h(" 编辑 ")])),_:2},1024)],512),[[b,e.isEdit]]),c(" 复制 "),p(u(O),null,{trigger:f((()=>[p(u(J),{onClick:k((t=>Fe(e)),["prevent","stop"]),"icon-class":"xitongtubiaoliebiaocaozuoanniufuzhi",class:"svg-icon-btn"},null,8,["onClick"])])),default:f((()=>[h(" 复制 ")])),_:2},1024),c(" 删除 "),g(r("template",null,[p(u(j),{onClick:a[5]||(a[5]=k((()=>{}),["prevent","stop"])),onPositiveClick:a=>function(e,t){if(!e)return void ge.info("请选择行");let a={id:e.sid};me({url:"/tableList/deleteTableCondiTion",method:"post",data:a,transformRequest:[Re]}).then((({data:e})=>{"SUCCESS"==e.result?(ge.success("删除成功"),pe.originConditionList.splice(t,1)):ge.error(e.resultMsg)}))}(e,t)},{trigger:f((()=>[p(u(J),{onClick:a[4]||(a[4]=k((()=>{}),["prevent","stop"])),"class-name":"svg-icon-btn is-danger thumb","icon-class":"xitongtubiaoliebiaocaozuoanniushanchu"})])),default:f((()=>[h(" 是否确认删除? ")])),_:2},1032,["onPositiveClick"])],512),[[b,e.isEdit]])])],10,se)))),128))])])])]),c(" 保存到分类弹窗 "),p(u(N),{show:u(Ae),"onUpdate:show":a[6]||(a[6]=e=>L(Ae)?Ae.value=e:Ae=e),maskClosable:!1,class:"quickSearch-saveToClass-modal",closable:!1,centered:"",onPositiveClick:We,onNegativeClick:qe},{default:f((()=>[p(u(P),{title:"保存到分类",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":f((()=>[r("div",ve,[p(u(w),{component:u(E),size:"24",onClick:qe},null,8,["component"])])])),footer:f((()=>[p(u(_),{onClick:qe},{default:f((()=>[h("取消")])),_:1}),p(u(_),{type:"info",onClick:We},{default:f((()=>[h("保存")])),_:1})])),default:f((()=>[p(W,v({ref_key:"className",ref:Ce},t.$attrs,{actionList_prop:u(Se)}),null,16,["actionList_prop"])])),_:1})])),_:1},8,["show"])]))}}),[["__file","search-professional-model.vue"]]);export{pe as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as a,computed as t,watch as l,openBlock as n,createElementBlock as i,normalizeClass as u,unref as s,Fragment as d,createVNode as o,createCommentVNode as c,createBlock as r,createElementVNode as f}from"vue";import{NInputNumber as y}from"naive-ui";import m from"../../../../../_virtual/plugin-vue_export-helper.js";const v=f("span",{class:"age-com-suffix"},"岁",-1),p=f("span",{class:"age-com-suffix"},"月",-1),b=f("span",{class:"age-com-suffix"},"日",-1);var g=m(e({__name:"index",props:{value:{type:Object,default:()=>{}},format:{type:String,default:"YYYY-MM-DD"},disabled:{type:Boolean,default:!1},isDetail:{type:Boolean,default:!1},defaultValue:{type:Object,default:()=>({})},itemData:{type:Object,default:()=>({})},shortcutFieldsList:{type:Array,default:()=>[]}},emits:["change"],setup(e,{emit:f}){const m=e;let g=a({year:null,month:null,day:null,days:null}),j=t((()=>m.format&&"[object String]"==D(m.format)?m.format.toUpperCase():"YYYY-MM-DD")),h=t((()=>m.disabled||!1));function D(e){return Object.prototype.toString.call(e)}function Y(e){x(e,"year")}function O(e){x(e,"month")}function k(e){x(e,"day")}function x(e,a){let t=parseInt(e,10);(isNaN(t)||function(e,a){return e>{day:31,month:12,year:200}[a]}(e,a))&&(t=""),M({[a]:t})}function M(e){Object.assign(g.value,e),function(){const e=e=>e||0;let a=365*e(g.value.year)+30*e(g.value.month)+e(g.value.day);g.value.days=a||0}();const{year:a=0,month:t=0,day:l=0,days:n=""}=g.value;f("change",Object.assign({},{year:a,month:t,day:l,days:n}))}return l((()=>m.defaultValue),(()=>{Object.keys(m.defaultValue||{}).length&&M({...m.defaultValue})}),{immediate:!0}),l((()=>m.value),(e=>{!function(e={}){if(0===Object.keys(e||{}).length)Object.assign(g.value,{year:null,month:null,day:null,days:null});else{let a=D(e);["[object String]","[object Number]"].includes(a)?x(e,"year"):"[object Object]"==a&&Object.assign(g.value,{...e})}}(e)}),{immediate:!0}),(a,t)=>(n(),i("div",{class:u(["container age-com-block",{"form-item-disabled":e.isDetail}])},[s(j).includes("YYYY")?(n(),i(d,{key:0},[o(s(y),{value:s(g).year,"onUpdate:value":[t[0]||(t[0]=e=>s(g).year=e),Y],disabled:s(h)||e.isDetail,min:0},null,8,["value","disabled"]),v],64)):c("v-if",!0),s(j).includes("MM")?(n(),i(d,{key:1},[o(s(y),{value:s(g).month,"onUpdate:value":[t[1]||(t[1]=e=>s(g).month=e),O],disabled:s(h)||e.isDetail,min:0},null,8,["value","disabled"]),p],64)):c("v-if",!0),s(j).includes("DD")?(n(),i(d,{key:2},[s(j).includes("DD")?(n(),r(s(y),{key:0,value:s(g).day,"onUpdate:value":[t[2]||(t[2]=e=>s(g).day=e),k],disabled:s(h)||e.isDetail,min:0},null,8,["value","disabled"])):c("v-if",!0),b],64)):c("v-if",!0)],2))}}),[["__file","index.vue"]]);export{g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,openBlock as o,createElementBlock as r,createVNode as i,unref as n,withCtx as l}from"vue";import{NDropdown as p,NButton as u}from"naive-ui";import c from"../../../../../shared/components/TextOverTooltip/TextOverTooltip.vue.js";import s from"../../../../../shared/components/SvgIcon/SvgIcon.vue.js";import a from"../../../../../_virtual/plugin-vue_export-helper.js";const d={class:"buttonGroup-com-block"};var m=a(e({__name:"ButtonGroup",props:{title:{type:[String,Number]},list:{type:Array,default:[]},currentTempId:{type:[String,Number]}},emits:["showDrawer","clickGroupBtn"],setup(e,{emit:a}){const m=e;function f(e,t){const o=m.list.findIndex((e=>e.sid==t.sid));"ADD"==t.type?function(e,t){a("showDrawer",e,t)}(t,o):"LINK"!=t.type&&"0"==m.currentTempId&&function(e,t){a("clickGroupBtn",e,t)}(t,o)}return t({copy:"copy",pencil:"edit",delete:"delete",add:"plus-circle",download:"download",label:"tag",queding:"check",del:"close"}),(t,a)=>(o(),r("div",d,[i(n(p),{trigger:"hover",options:e.list,"key-field":"sid","label-field":"alias",onSelect:f},{default:l((()=>[i(n(u),{type:"primary",class:"group-btn"},{default:l((()=>[i(n(c),{refName:"buttonGroupTitle",class:"group-left",content:e.title},null,8,["content"]),i(n(s),{"icon-class":"xitongtubiaoliebiaocaozuoanniuzhankai"})])),_:1})])),_:1},8,["options"])]))}}),[["__file","ButtonGroup.vue"]]);export{m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,computed as l,onMounted as i,watch as a,getCurrentInstance as n,openBlock as o,createBlock as r,unref as u,normalizeStyle as c,normalizeClass as s,withCtx as d,createElementBlock as p,createVNode as v,createCommentVNode as f}from"vue";import{NTreeSelect as m,NSpin as h}from"naive-ui";import y from"xe-utils";import"moment";import g from"../../../../../_virtual/plugin-vue_export-helper.js";const w={key:0,class:"init-key-loading",slot:"title",style:{color:"#08c"}};var _=g(e({__name:"tree-select",props:{item:{type:Object,default:()=>({value:[]})},handleGetConfigApi:{type:Function,default:()=>{}},filterApiConfig:{type:Object},outFilterChange:{type:Function,default:()=>{}}},setup(e){const g=e,_=t(null),b=t([{label:"_init_key_",key:"_init_key_",selectable:!1,scopedSlots:{title:"title"}}]);let k=l((()=>function(e){let t=function(e){return Array.isArray(e.value)?e.value.length:1}(e);return t<=1?1:0})),C=l((()=>{var e;let t=g.item.value,l=1==(null==(e=null==g?void 0:g.item)?void 0:e.filterExplicit);if(Array.isArray(t)&&l){let e=t.length;if(1==g.item.explicitRequired)return e>1}return!0}));function x(e=[],t={}){if(Array.isArray(e)&&e.length){const l=[];return e.forEach((e=>{let i=function(e){let t=e;try{return t&&"string"==typeof t&&t.startsWith("###")&&(t=t.slice(3),t=JSON.parse(t),t=t.change_text),t||""}catch(e){return""}}(t[e]);l.push(i)})),0==l.length?"":l.join(" ")}return""}function A(e=[],t){var l;let{showKeys:i=[],field_key:a=""}=(null==(l=null==t?void 0:t.setting)?void 0:l.wordbook)||{};e.forEach(((e,l)=>{let n=y.stringToValue(e[a],"value");e.myLabel=x(i,e)||n,e.key=e.theUniqueKey,e.title=e.myLabel,e.value=`${n}<&=&>${l}<&=&>${e.key}`,e.children&&e.children.length&&A(e.children,t)}))}function q(e,t){}function O(){}function S(e=[],t={}){e.forEach(((e,l)=>{let i=!t.showRemoveIcon&&g.item.value.includes(e.value);e.disabled=i,e.children&&e.children.length&&S(e.children,t)}))}return i((()=>{!async function(){try{let e=await async function(e){let t=function(e){var t;let l={},{params:i=[],autograph:a,filterKeys:n,id:o,wordbookType:r}=(null==(t=null==e?void 0:e.settingObj)?void 0:t.wordbook)||{};i&&i.forEach((e=>{l[e.p_name]=e.p_value}));a&&(l.autograph=a);let u=Array.isArray(n)?JSON.stringify(n):n;return{wordbookId:o,fieldKeys:u,wordbookType:r||"WORDBOOK",isLevelLazyLoad:!1,...l}}(e);return await g.handleGetConfigApi(t,"requestGetWordbookData",{fields:e},g.filterApiConfig)}(g.item),{result:t,map:l}=e.data;if("SUCCESS"!==t)return void(b.value=[]);let i=l.rows||[];i&&(A(i,g.item),b.value=i.map((e=>({...e,label:e.value}))))}catch(e){console.log(e),b.value=[]}finally{!function(){var e,t;let l=1==(null==(e=null==g?void 0:g.item)?void 0:e.filterExplicit);if("firstOption"===((null==(t=null==g?void 0:g.item)?void 0:t.explicitDefaultVal)||"")&&l){let e=b.value[0];g.item.value=(null==e?void 0:e.value)?[null==e?void 0:e.value]:[],"function"==typeof g.outFilterChange&&g.outFilterChange({type:"outSearchInit"})}}()}}(),function(){let e=_.value;if(!e)return;let t=e.$el;if(!t)return;let l=t.querySelector(".ant-select-selection--multiple");if(!l.querySelector(".quick-input-select-span")){let e=document.createElement("span");e.className="quick-input-select-span";let t='<i aria-label="图标: down" class="anticon anticon-down ant-select-arrow-icon"><svg viewBox="64 64 896 896" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" focusable="false" class=""><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></i>';e.innerHTML=t,l.appendChild(e)}}()})),a((()=>g.item),(e=>{var t;let l=null==(t=n())?void 0:t.ctx;S(b.value,{showRemoveIcon:C.value}),l.$forceUpdate()}),{immediate:!0,deep:!0}),(t,l)=>(o(),r(u(m),{value:e.item.value,"onUpdate:value":[l[0]||(l[0]=t=>e.item.value=t),O],maxTagCount:u(k)(e.item),multiple:"",filterable:"",clearable:"",style:c(`width: ${e.item.advanceColWidth||160}px`),class:s([!u(C)&&"c-a-tree-select-show-hide-icon","c-a-quick-input-tree-mul"]),options:b.value,allowClear:1!=e.item.explicitRequired,placeholder:e.item.placeholder||`请选择${e.item.alias||e.item.title}`,"onUpdate:indeterminateKeys":q},{action:d((({key:e,value:t})=>["_init_key_"===e?(o(),p("span",w,[v(u(h),{tip:"加载中..."},null,8,["tip"])])):f("v-if",!0)])),_:1},8,["value","maxTagCount","style","class","options","allowClear","placeholder"]))}}),[["__file","tree-select.vue"]]);export{_ as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as l,openBlock as a,createElementBlock as t,unref as u,createBlock as r,isRef as o,createCommentVNode as p,Fragment as n,createVNode as v}from"vue";import{NInputNumber as i,NInput as m,NSelect as s,NDatePicker as f}from"naive-ui";import{WidgetTypeEnums as d,WidgetValEnums as y,WidgetOptionEnums as g}from"../../types/enums.js";import{generateDefOptionsInApi as T}from"../../tool/generateDefOptions.js";import c from"../../../../../_virtual/plugin-vue_export-helper.js";const C={class:"value-cfg_wrapper"};var U=c(e({__name:"ValueCfg",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:c}){const U=e,E=l({set(e){c("update:modelValue",e)},get:()=>U.modelValue}),V=l({set(e){c("update:presetVal",e)},get:()=>U.presetVal}),_=l((()=>{var e;return null==(e=U.paramCfg)?void 0:e.type})),M=l((()=>{var e;return null==(e=U.paramCfg)?void 0:e.optionSetting})),x=l((()=>{var e;return null==(e=U.paramCfg)?void 0:e.mappingConfig})),S=l((()=>{const e=T(_.value,x.value).slice(0);return _.value!==d.DATE&&_.value!==d.DATE_TIME||e.unshift({label:"自定义输入",value:y.CUSTOM}),e}));return(e,l)=>(a(),t("div",C,[u(_)===u(d).INPUT_NUMBER?(a(),r(u(i),{key:0,class:"form-item",value:u(E),"onUpdate:value":l[0]||(l[0]=e=>o(E)?E.value=e:null)},null,8,["value"])):p("v-if",!0),u(_)===u(d).INPUT?(a(),r(u(m),{key:1,value:u(E),"onUpdate:value":l[1]||(l[1]=e=>o(E)?E.value=e:null),maxlength:"255",clearable:""},null,8,["value"])):p("v-if",!0),u(_)===u(d).SELECT?(a(),r(u(s),{key:2,style:{width:"120px"},class:"form-item",value:u(E),"onUpdate:value":l[2]||(l[2]=e=>o(E)?E.value=e:null),filterable:"",options:u(S),multiple:u(M)===u(g).MULTIPLE,maxTagCount:1},null,8,["value","options","multiple"])):p("v-if",!0),u(_)===u(d).DATE||u(_)===u(d).DATE_TIME?(a(),t(n,{key:3},[v(u(s),{style:{width:"120px"},class:"form-item",value:u(V),"onUpdate:value":l[3]||(l[3]=e=>o(V)?V.value=e:null),options:u(S)},null,8,["value","options"]),u(V)===u(y).CUSTOM?(a(),r(u(f),{key:0,class:"form-item",type:u(_).toLowerCase(),format:"yyyy-MM-dd HH:mm:ss","formatted-value":u(E),"onUpdate:formatted-value":l[4]||(l[4]=e=>o(E)?E.value=e:null)},null,8,["type","formatted-value"])):p("v-if",!0)],64)):p("v-if",!0)]))}}),[["__file","ValueCfg.vue"]]);export{U as default};
|
package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { ICategoryItemType } from '../../../../../../../es/components/table-filter/src/types';
|
|
3
|
-
export declare const useDisplayCategory: (selectedDisplayCategory: Ref, { conditionList }: any) => {
|
|
3
|
+
export declare const useDisplayCategory: (selectedDisplayCategory: Ref, { conditionList }: any, $message: any) => {
|
|
4
4
|
State: {
|
|
5
5
|
addDisplayCategory: string;
|
|
6
6
|
displayCategories: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{reactive as e,computed as a}from"vue";const i=(i,{conditionList:l},t)=>{const s=e({displayCategories:[],displayCategoryOriginLen:0,showAdd:!1,addDisplayCategory:""}),d=a((()=>s.displayCategories.length===s.displayCategoryOriginLen));return{State:s,isEnableAddDisplayCategory:d,editDisplayCategory:(e,a)=>{a.disabled=!1,setTimeout((()=>{e.target.focus()}),0)},handleDisplayCategorySelect:e=>{e.disabled&&(i.value===e.value?i.value="":i.value=e.value)},handleDisplayCategoryRemove:(e,a)=>{if(!l||!l.length)return void s.displayCategories.splice(e,1);const i=l.filter((e=>e.displayCategory==a.value));i&&i.length?t.error("该分类下有已有数据,请删除该分类下的筛选集后重试!"):s.displayCategories.splice(e,1)},handleDisplayCategoryAdd:e=>{var a;const i=null==(a=null==e?void 0:e.target)?void 0:a.nextElementSibling;setTimeout((()=>{i&&i.focus()})),s.showAdd=!0},handlerBlur:()=>{s.showAdd=!1,s.addDisplayCategory&&(s.displayCategories.push({disabled:!0,value:s.addDisplayCategory}),i.value=s.addDisplayCategory,s.addDisplayCategory="")},initDisplayCategories:(e,a)=>{const l=[];e.forEach((e=>{"未分类"!==e&&l.push({disabled:!0,value:e})})),s.displayCategories=l,s.displayCategoryOriginLen=s.displayCategories.length,i.value=a}}};export{i as useDisplayCategory};
|
|
@@ -13,6 +13,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
|
+
showItemName: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
hideAddBtn: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
16
24
|
}, {
|
|
17
25
|
$message: import("naive-ui").MessageApi;
|
|
18
26
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -28,6 +36,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
36
|
type: StringConstructor;
|
|
29
37
|
default: string;
|
|
30
38
|
};
|
|
39
|
+
showItemName: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
hideAddBtn: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
31
47
|
}>> & {
|
|
32
48
|
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
33
49
|
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
@@ -84,6 +100,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
100
|
validate: () => Promise<unknown>;
|
|
85
101
|
saveAdd: () => void;
|
|
86
102
|
cancelSaveAdd: () => void;
|
|
103
|
+
checkActionList: () => boolean;
|
|
87
104
|
NSpin: any;
|
|
88
105
|
NIcon: any;
|
|
89
106
|
NInput: any;
|
|
@@ -267,12 +284,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
267
284
|
type: StringConstructor;
|
|
268
285
|
default: string;
|
|
269
286
|
};
|
|
287
|
+
showItemName: {
|
|
288
|
+
type: BooleanConstructor;
|
|
289
|
+
default: boolean;
|
|
290
|
+
};
|
|
291
|
+
hideAddBtn: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
default: boolean;
|
|
294
|
+
};
|
|
270
295
|
}>> & {
|
|
271
296
|
onSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
272
297
|
onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
|
|
273
298
|
}, {
|
|
274
299
|
tableId: string;
|
|
275
300
|
actionList_prop: IClassifyListType;
|
|
301
|
+
showItemName: boolean;
|
|
276
302
|
conditionList: unknown[];
|
|
303
|
+
hideAddBtn: boolean;
|
|
277
304
|
}>;
|
|
278
305
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,useAttrs as a,reactive as i,ref as l,toRef as t,openBlock as n,createElementBlock as o,createVNode as s,unref as d,withCtx as r,createElementVNode as p,createCommentVNode as c,Fragment as u,renderList as m,normalizeClass as y,toDisplayString as v,createBlock as f,withDirectives as g,createTextVNode as C,vShow as h}from"vue";import{useMessage as k,NSpin as b,NInput as A,NIcon as _,NButton as w,NSelect as L,NTooltip as x}from"naive-ui";import{CloseOutline as U,AddOutline as N,AddCircleSharp as V}from"@vicons/ionicons5";import D from"../../../../../shared/components/SvgIcon/SvgIcon.vue.js";import I from"./ValueCfg.vue.js";import{DataTypeEnums as j,ConditionEnums as B}from"../../types/enums.js";import{useDisplayCategory as S}from"./hooks/useDisplayCategory.js";import{useFilterConditions as F}from"./hooks/useFilterConditions.js";import{conditionOptions as O}from"./helpers/options.js";import z from"../../../../../_virtual/plugin-vue_export-helper.js";const P={class:"searchConditionByApi_wrapper"},E={class:"inner-content"},R={key:0,class:"item-name"},J=p("span",{class:"label"},"筛选分类名称:",-1),K={key:1,class:"parent-names"},M=p("span",{class:"label"},"父类名称:",-1),Q=["onDblclick","onClick"],q={key:0,class:"s-content"},G={key:2,class:"item-name"},H=p("span",{class:"label"}," 过滤条件: ",-1),T=p("span",null,"添加",-1),W={class:"item-list"},X={class:"index-span"};var Y=z(e({__name:"index",props:{actionList_prop:{type:Object,default:()=>({})},conditionList:{type:Array,default:()=>[]},tableId:{type:String,default:""},showItemName:{type:Boolean,default:!0},hideAddBtn:{type:Boolean,default:!1}},emits:["saveAdd","cancelSaveAdd"],setup(e,{expose:z,emit:Y}){const Z=e,$=k(),ee=a(),ae=i({className:"",displayCategory:"",filterConditions:[]}),ie=l(!1),{State:le,isEnableAddDisplayCategory:te,editDisplayCategory:ne,handleDisplayCategorySelect:oe,handleDisplayCategoryRemove:se,handleDisplayCategoryAdd:de,handlerBlur:re,initDisplayCategories:pe}=S(t(ae,"displayCategory"),{conditionList:Z.conditionList},$),{State:ce,paramOptions:ue,addFilterCondition:me,delFilterCondition:ye,updateKey:ve,updateCondition:fe,getParamCfg:ge,initFilterConditions:Ce,getRawFilterConditions:he}=F(t(ae,"filterConditions"),j.API);function ke(){ae.className="",ae.displayCategory="",ae.filterConditions=[]}async function be(){var e;try{if(ke(),ie.value=!0,pe(ee.displayCategoryList,Z.actionList_prop.displayCategory||"custom"),Z.actionList_prop){ae.className=Z.actionList_prop.name,await Ce(Z.tableId,null!=(e=Z.actionList_prop.conObj)?e:[]);ae.filterConditions.length<1&&ue.value&&ue.value.length>0&&me()}}finally{ie.value=!1}}return be(),z({handleInitConditions:be,saveAdd:function(){new Promise((e=>{ae.className?0!==ae.filterConditions.length?ae.filterConditions.some((({key:e,condition:a,value:i,presetVal:l})=>!e||!a||a===B.EQUAL&&!i&&!l))?$.warning("请补充完整条件内容"):e(!0):$.warning("请至少添加一个条件"):$.warning("请输入分类名称")})).then((()=>{let e;var a;"edit"===Z.actionList_prop.from&&(a=Z.actionList_prop.displayCategory,e=null==Z?void 0:Z.conditionList.find((e=>e.displayCategory===a)));const i={displayCategory:ae.displayCategory,name:ae.className,conObj:he()},l={id:e?e.sid:"",tableId:Z.tableId,setting:JSON.stringify(i)};Y("saveAdd",l,!1)}))},cancelSaveAdd:function(){ke(),Y("cancelSaveAdd")},addAction:me,checkActionList:function(){return ae.filterConditions.every((e=>!e.field_key))}}),(a,i)=>(n(),o("div",P,[s(d(b),{show:ie.value},{default:r((()=>[p("div",E,[e.showItemName?(n(),o("div",R,[J,s(d(A),{value:ae.className,"onUpdate:value":i[0]||(i[0]=e=>ae.className=e),placeholder:"请输入分类名称",style:{width:"250px"},maxlength:"10"},null,8,["value"])])):c("v-if",!0),e.showItemName?(n(),o("div",K,[M,(n(!0),o(u,null,m(d(le).displayCategories,((e,a)=>(n(),o("div",{class:y(["edit-tag",{"edit-tag-select":e.value===ae.displayCategory&&e.disabled}]),key:a,onDblclick:a=>d(ne)(a,e),onClick:a=>function(e){oe(e)}(e)},[e.disabled?(n(),o("div",q,[p("span",null,v(e.value),1)])):(n(),f(d(A),{key:1,style:{width:"100px"},disabled:e.disabled,onBlur:()=>e.disabled=!0,value:e.value,"onUpdate:value":a=>e.value=a,maxlength:10},null,8,["disabled","onBlur","value","onUpdate:value"])),s(d(_),{component:d(U),class:"anticon-close",size:"20",onClick:i=>d(se)(a,e)},null,8,["component","onClick"])],42,Q)))),128)),d(te)?(n(),o(u,{key:0},[g(s(d(w),{class:"ant-btn",icon:"plus",dashed:"",onClick:d(de)},{default:r((()=>[s(d(_),{component:d(N),size:"20"},null,8,["component"]),C(" "+v("添加父类"))])),_:1},8,["onClick"]),[[h,!d(le).showAdd]]),g(s(d(A),{class:"edit-tag",value:d(le).addDisplayCategory,"onUpdate:value":i[1]||(i[1]=e=>d(le).addDisplayCategory=e),valueModifiers:{trim:!0},style:{width:"100px"},onBlur:d(re),maxLength:10},null,8,["value","onBlur"]),[[h,d(le).showAdd]])],64)):c("v-if",!0)])):c("v-if",!0),e.hideAddBtn?c("v-if",!0):(n(),o("div",G,[H,p("span",{class:"addAction",onClick:i[2]||(i[2]=(...e)=>d(me)&&d(me)(...e)),style:{cursor:"pointer"}},[s(d(_),{component:d(V),class:"blue",size:"18"},null,8,["component"]),T])])),p("ul",W,[(n(!0),o(u,null,m(ae.filterConditions,((e,a)=>(n(),o("li",{key:a},[p("span",X,v(a+1)+" ",1),c(" 选择 field_key "),s(d(L),{class:"form-item",placeholder:"请选择",value:e.key,filterable:"",options:d(ue),"onUpdate:value":e=>d(ve)(a,e)},null,8,["value","options","onUpdate:value"]),c(" 选择 关系 "),e.key?(n(),f(d(L),{key:0,class:"form-item",placeholder:"请选择",value:e.condition,filterable:"",options:d(O),"onUpdate:value":e=>d(fe)(a,e)},null,8,["value","options","onUpdate:value"])):c("v-if",!0),c(" 自定义 "),e.key&&e.condition&&e.condition!==d(B).NULL?(n(),f(I,{key:1,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,presetVal:e.presetVal,"onUpdate:presetVal":a=>e.presetVal=a,"param-cfg":d(ge)(e.key)},null,8,["modelValue","onUpdate:modelValue","presetVal","onUpdate:presetVal","param-cfg"])):c("v-if",!0),s(d(x),{title:"删除",trigger:"hover"},{trigger:r((()=>[s(d(D),{onClick:e=>d(ye)(a),"class-name":"svg-icon-btn is-danger form-action","icon-class":"xitongtubiaoliebiaocaozuoanniushanchushixin"},null,8,["onClick"])])),default:r((()=>[C(" 删除 ")])),_:2},1024)])))),128))])])])),_:1},8,["show"])]))}}),[["__file","index.vue"]]);export{Y as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,computed as l,onMounted as i,openBlock as a,createBlock as n,unref as o,normalizeClass as u,normalizeStyle as r,createCommentVNode as c}from"vue";import{NSelect as s}from"naive-ui";import"xe-utils";import"moment";import m from"../../../../../_virtual/plugin-vue_export-helper.js";var d=m(e({__name:"multi-select",props:{item:{type:Object,default:()=>{}},maxTagPlaceholder:{type:Function,default:()=>({})},outFilterChange:{type:Function,default:()=>({})},handleWordBookSearch:{type:Function,default:()=>({})},dropdownVisibleChange:{type:Function,default:()=>({})},source:{type:String,default:""},fetchingWordbook:{type:Boolean,default:!1}},setup(e){const m=e,d=t(null);let p=l((()=>function(e){return m.maxTagPlaceholder(e)<=1?1:0}));l((()=>{const{searchPageConfig:e}=m.item||{};return!e||e.page<=1&&!e.hasNextPage}));let v=l((()=>{var e,t,l;return((null==(l=null==(t=null==(e=null==m?void 0:m.item)?void 0:e.setting)?void 0:t.wordbook)?void 0:l.showKeys)||[]).length>0})),h=l((()=>{var e;let t=m.item.value,l=1==(null==(e=null==m?void 0:m.item)?void 0:e.filterExplicit);if(Array.isArray(t)&&l){let e=t.length;if(1==m.item.explicitRequired)return e>1}return!0})),f=l((()=>{var e;return"0"===String(null==(e=null==m?void 0:m.item)?void 0:e.advanceOptionSetting)})),g=l((()=>{var e,t;return"SelectMuiWordBook"==m.item.comType?m.item.dataSource.map(((e,t)=>{const l=m.item.hasFieldList&&e.showKeys?e.showKeys.split("<&=&>").join(" "):e._show_title||e.showKeys||e.myName;return{...e,value:e.myName,label:l,disabled:0===t&&v.value&&m.item.hasFieldList||!h.value&&m.item.value&&m.item.value.includes(e.myName)}})):null==(t=null==(e=m.item)?void 0:e.labelList)?void 0:t.map(((e,t)=>({...e,value:t,label:e.labelName||"",disabled:!h.value&&m.item.value&&m.item.value.includes(t)})))}));function y(){f.value&&m.outFilterChange()}return i((()=>{!function(){if(f.value)return;let e=d.value;if(!e)return;let t=e.$el;if(!t)return;let l=t.querySelector(".ant-select-selection--multiple");if(!l.querySelector(".quick-input-select-span")){let e=document.createElement("span");e.className="quick-input-select-span";let t='<i aria-label="图标: down" class="anticon anticon-down ant-select-arrow-icon"><svg viewBox="64 64 896 896" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" focusable="false" class=""><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></i>';e.innerHTML=t,l.appendChild(e)}}()})),(t,l)=>"SelectMui"==e.item.com?(a(),n(o(s),{key:0,ref_key:"quickInputSelect",ref:d,class:u(["quick-input-select",{"quick-input-select-mul":o(p)(e.item)>0}]),multiple:!o(f),placeholder:e.item.placeholder||`请选择${e.item.alias||e.item.title}`,style:r({width:`${e.item.advanceColWidth||160}px`}),maxTagCount:o(p)(e.item),filterable:"",value:e.item.value,"onUpdate:value":[l[0]||(l[0]=t=>e.item.value=t),y],onSearch:l[1]||(l[1]=t=>e.handleWordBookSearch(t,e.item)),"onUpdate:show":l[2]||(l[2]=t=>e.dropdownVisibleChange(t,e.item)),clearable:1!=e.item.explicitRequired,options:o(g)},null,8,["class","multiple","placeholder","style","maxTagCount","value","clearable","options"])):c("v-if",!0)}}),[["__file","multi-select.vue"]]);export{d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as t,computed as i,onMounted as a,openBlock as l,createElementBlock as o,renderSlot as r,createVNode as n,unref as u,withKeys as s,normalizeStyle as c,createCommentVNode as m,Fragment as p,createBlock as d,createElementVNode as f,normalizeClass as h,withDirectives as v,vModelText as g,createTextVNode as y,toDisplayString as k}from"vue";import{NInput as b,NDatePicker as x}from"naive-ui";import w from"../multi-select/multi-select.vue.js";import V from"../c-tree-select/tree-select.vue.js";import C from"../../hooks/useMixins.js";import O from"../../hooks/useWordBookutils.js";import j from"moment";import S from"../../../../../_virtual/plugin-vue_export-helper.js";const D={class:"outQuickSearch-li-block"},W={key:4,class:"ant-calendar-picker",style:{margin:"0 8px 8px 0",width:"200px"}},_=["title","placeholder"],A=f("span",{class:"ant-calendar-range-picker-separator"}," ~ ",-1),F=["title","placeholder"],P=[f("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[f("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[f("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],T=f("span",{class:"ant-calendar-picker-icon"},null,-1);var $=S(e({__name:"out-quick-search",props:{item:{type:Object,default:()=>{}},filterApiConfig:{type:Object,default:()=>{}}},emits:["outFilterChange"],setup(e,{emit:S}){const $=e,{handleGetConfigApi:L}=C(),{wordBookutils:U}=O(),K=t(!1),q=t(!1);function B(e,t,i={type:""}){var a,l,o;if("SelectMuiWordBook"!=t.comType)return;let r={keyword:e,autograph:t.settingObj.wordbook&&t.settingObj.wordbook.autograph},n={};((null==(l=null==(a=null==t?void 0:t.setting)?void 0:a.wordbook)?void 0:l.params)||void 0)&&(null==(o=t.setting.wordbook)||o.params.forEach((e=>{n[e.p_name]=e.p_value})));let u={...r,...n,...i};R(t.setting.wordbook,u).then((({data:e})=>{N(t,e,u)}))}function M(e,t,i={type:""}){var a;if("SelectMuiWordBook"==t.comType&&e){let e={};(null==(a=t.setting.wordbook)?void 0:a.params)&&t.setting.wordbook.params.forEach((t=>{e[t.p_name]=t.p_value})),t.settingObj.wordbook&&(e.autograph=t.settingObj.wordbook.autograph);let l=t.explicitDefaultVal;"firstOption"!=l&&(e.keyword=l),R(t.setting.wordbook,e).then((({data:a})=>{N(t,a,e),"hasDefaultInit"==(null==i?void 0:i.type)&&G({type:"outSearchInit"})}))}}function N(e,t,i){var a,l;e.hasFieldList=!1;const{rows:o,hasFieldList:r,searchPageConfig:n}=U.handleWordbookData(e,t,i);e.hasFieldList=r,e.dataSource=o;let u=(null==(l=null==(a=null==e?void 0:e.setting)?void 0:a.wordbook)?void 0:l.showKeys)||[];if(e.searchPageConfig=Object.assign(e.searchPageConfig,n),!q.value){let t=e.explicitDefaultVal;if(t){let i=[];if("firstOption"===t){let[t,a]=o;u.length>0&&e.hasFieldList&&(t=a),t&&(i=[t.myName])}else{let e=o.find((e=>e.myName.includes(t)));e&&(i=[e.myName])}e.value=[...i],e.search_DefaultValue=[...i]}q.value=!0}}function R(e,t){let{id:i,filterKeys:a,wordbookType:l}=e;K.value=!0;let o={wordbookId:i,fieldKeys:Array.isArray(a)?JSON.stringify(a):a,wordbookType:l||"WORDBOOK",asyncCount:1,...t};return L(o,"requestGetWordbookData",{fields:e},$.filterApiConfig).then((e=>(K.value=!1,"object"==typeof e.data&&(e.data.reqParams=o),e))).catch((()=>{K.value=!1}))}function G(e={}){S("outFilterChange",e)}function H(e){return Array.isArray(e.value)?e.value.length:1}function I(e){if(e.lessValue&&e.bigValue){const t=e.lessValue,i=e.bigValue;return i<t&&(e.lessValue=i,e.bigValue=t),void G()}""==e.lessValue&&""==e.bigValue&&G()}return i((()=>function(e){return!!e.showTime&&{defaultValue:[j("00:00:00","HH:mm:ss"),j("23:59:59","HH:mm:ss")]}})),a((()=>{!function(){let e=$.item,t=e.explicitDefaultVal;"SelectMui"==e.com&&t&&M(!0,e,{type:"hasDefaultInit"})}()})),(t,i)=>(l(),o("li",D,["Text"==e.item.com?r(t.$slots,"default",{key:0},(()=>[n(u(b),{onKeyup:s(G,["enter"]),class:"CL-input",style:c({width:`${e.item.advanceColWidth||200}px`,margin:"0 8px 8px 0","font-family":e.item.PASSWORDTYPE?"text-security-disc":"inherit"}),placeholder:e.item.placeholder||`搜索${e.item.alias||e.item.title}`,value:e.item.value,"onUpdate:value":i[0]||(i[0]=t=>e.item.value=t),clearable:""},null,8,["onKeyup","style","placeholder","value"])])):m("v-if",!0),"SelectMui"==e.item.com?(l(),o(p,{key:1},["treeSelect"===e.item.comType?(l(),d(V,{key:0,item:e.item,handleGetConfigApi:u(L),maxTagPlaceholder:H,outFilterChange:G,style:{margin:"0 8px 8px 0"}},null,8,["item","handleGetConfigApi"])):(l(),d(w,{key:1,item:e.item,maxTagPlaceholder:H,outFilterChange:G,handleWordBookSearch:B,dropdownVisibleChange:M,fetchingWordbook:K.value,style:{margin:"0 8px 8px 0"}},null,8,["item","fetchingWordbook"]))],64)):m("v-if",!0),"DatePicker"==e.item.com?(l(),d(u(x),{key:2,clearable:1!=e.item.explicitRequired,format:e.item.showFormat,value:e.item.value,"onUpdate:value":[i[1]||(i[1]=t=>e.item.value=t),G],type:"datetimerange",placeholder:[`${e.item.alias||e.item.title}起始日期`,`${e.item.alias||e.item.title}截止日期`],style:{margin:"0 8px 8px 0"}},null,8,["clearable","format","value","placeholder"])):m("v-if",!0),"DayPicker"==e.item.com?(l(),d(u(x),{key:3,"input-readonly":1==e.item.explicitRequired,clearable:1!=e.item.explicitRequired,"value-format":e.item.showFormat,"formatted-value":e.item.value,"onUpdate:formatted-value":i[2]||(i[2]=t=>e.item.value=t),placeholder:e.item.placeholder||`请选择${e.item.alias||e.item.title}`,style:{margin:"0 8px 8px 0"},"onUpdate:value":G},null,8,["input-readonly","clearable","value-format","formatted-value","placeholder"])):m("v-if",!0),"Number"==e.item.com?(l(),o("span",W,[f("span",{class:h(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":e.item.inputUnit}])},[v(f("input",{"onUpdate:modelValue":i[3]||(i[3]=t=>e.item.lessValue=t),onKeyup:i[4]||(i[4]=s((()=>I(e.item)),["enter"])),title:`起始${e.item.alias||e.item.title}`,placeholder:`起始${e.item.alias||e.item.title}`,class:"ant-calendar-range-picker-input"},null,40,_),[[g,e.item.lessValue]]),A,v(f("input",{"onUpdate:modelValue":i[5]||(i[5]=t=>e.item.bigValue=t),title:`截止${e.item.alias||e.item.title}`,onKeyup:i[6]||(i[6]=s((()=>I(e.item)),["enter"])),placeholder:`截止${e.item.alias||e.item.title}`,class:"ant-calendar-range-picker-input"},null,40,F),[[g,e.item.bigValue]]),e.item.inputUnit?(l(),o(p,{key:0},[y(" "+k(e.item.inputUnit),1)],64)):m("v-if",!0),e.item.lessValue||e.item.bigValue?(l(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:i[7]||(i[7]=t=>{return(i=e.item).lessValue=i.bigValue="",void G();var i})},P)):m("v-if",!0),T],2)])):m("v-if",!0)]))}}),[["__file","out-quick-search.vue"]]);export{$ as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,ref as a,onMounted as t,watch as l,openBlock as d,createElementBlock as u,createElementVNode as n,createVNode as i,unref as r}from"vue";import o from"../age-com/index.vue.js";import s from"../../../../../_virtual/plugin-vue_export-helper.js";const f={class:"range-grid-con-block"},v={class:"grid-item"},m=n("div",{class:"middle-tips"},"—",-1),c={class:"grid-item"};var p=s(e({__name:"index",props:{value:{value:Object,default:()=>({star_val:"",end_val:""})},options:{type:Array,default:()=>[]},item:{type:Object,default:()=>({})},defaultValue:{type:Object,default:()=>({})},format:{type:String,default:"YYYY-MM-DD"},disabled:{type:Boolean,default:!1},dataName:{type:String}},emits:["change"],setup(e,{expose:s,emit:p}){const y=e;let b=a({star_val:0,end_val:0}),g=a({}),_=a({});function h(e){if(isNaN(e))return{};if("number"==typeof e){let a=0,t=Math.floor(e/365);a=e%365;let l=Math.floor(a/30);return a%=30,{year:t||"",month:l||"",day:a||"",days:e||""}}return{}}function j(e){p("change",Object.assign(b.value,{star_val:e.days}))}function x(e){p("change",Object.assign(b.value,{end_val:e.days}))}return t((()=>{!function(){const{star_val:e,end_val:a}=y.defaultValue||{};let t=h(+e),l=h(+a);g.value=t,_.value=l}()})),l((()=>y.value),(e=>{if("object"==typeof e&&Object.keys(e).length>0){const{star_val:e,end_val:a}=y.value||{};if(+e){let a=h(+e);g.value=a}if(+a){let e=h(+a);_.value=e}}}),{immediate:!0}),s({reset:function(){let e={year:null,month:null,day:null,days:null};g.value={...e},_.value={...e}},dataName:y.dataName}),(a,t)=>(d(),u("div",f,[n("div",v,[i(o,{disabled:e.disabled,format:e.format,onChange:j,defaultValue:r(g)},null,8,["disabled","format","defaultValue"])]),m,n("div",c,[i(o,{disabled:e.disabled,format:e.format,onChange:x,defaultValue:r(_)},null,8,["disabled","format","defaultValue"])])]))}}),[["__file","index.vue"]]);export{p as default};
|
package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as u,openBlock as l,createBlock as a,unref as r,mergeProps as t,withCtx as o,createElementBlock as v,Fragment as i,renderList as p}from"vue";import{NCheckboxGroup as n,NCheckbox as m}from"naive-ui";import s from"../../../../../../_virtual/plugin-vue_export-helper.js";var f=s(e({__name:"CheckboxGroup",props:{options:{type:[Array,String,Number]},value:{type:[Array,String,Number],default:[""]},multiple:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:s}){const f=e,y=u({set(e){s("update:value",e)},get:()=>Array.isArray(f.value)?f.value:f.value?[f.value]:[]});function d(e){f.multiple||!Array.isArray(e)?y.value=e:y.value=function(e){return e.filter((e=>!y.value.includes(e)))}(e)[0]}return(u,s)=>(l(),a(r(n),t(u.$attrs,{value:r(y),"onUpdate:value":d}),{default:o((()=>[(l(!0),v(i,null,p(e.options,(e=>(l(),a(r(m),{key:e.value,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:1},16,["value"]))}}),[["__file","CheckboxGroup.vue"]]);export{f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,computed as t,openBlock as u,createBlock as a,unref as r,mergeProps as l,isRef as n}from"vue";import{NSelect as p}from"naive-ui";import v from"../../../../../../_virtual/plugin-vue_export-helper.js";var o=v(e({__name:"Select",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:v}){const o=e,i=t({set(e){v("update:value",e)},get:()=>o.value}),m=t((()=>{if(!Array.isArray(o.value))return;return(o.value.length||0)>1?0:1}));return(e,t)=>(u(),a(r(p),l(e.$attrs,{value:r(i),"onUpdate:value":t[0]||(t[0]=e=>n(i)?i.value=e:null),"max-tag-count":r(m)}),null,16,["value","max-tag-count"]))}}),[["__file","Select.vue"]]);export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,h as t}from"vue";import{WidgetTypeEnums as i}from"./enums.js";import{WidgetCfgMaps as r,formatItemData as a}from"./widgetCfgMaps.js";import l from"moment";import s from"../../../../../_virtual/plugin-vue_export-helper.js";const n=[i.DATE,i.DATE_TIME,i.CHECKBOX_GROUP];var o=s(e({props:{cfg:{type:Object,required:!0},modelValue:{type:[Array,String,Number]}},emits:["update:modelValue"],computed:{valueCp(){const{widgetType:e}=this.cfg;return[i.DATE,i.DATE_TIME].includes(e)?this.cfg.value?l(this.cfg.value).valueOf():null:this.cfg.value}},data:()=>({initialProps:{}}),methods:{search(){this.$emit("outFilterChange")},getEleWidth(e){const{widgetType:t}=e;if(!n.includes(t))return`${e.advanceColWidth||200}px`},initComponentProps(e){const{widgetType:t,alias:i,title:a,placeholder:l,widgetCfg:s}=e,{props:n,handlerProps:o}=r.get(t);let p={...n};o&&(p=o(p,{...s,title:i||a})),l&&(p.placeholder=l),this.initialProps=p,p.value&&(this.valueCp=p.value)},generateWidget(e){const{widgetType:i}=e,{defValueUnit:a}=e.widgetCfg||{};if(!r.has(i))return null;const{value:l}=e,{component:s,style:n,eventsBySearch:o=[]}=r.get(i),p={...this.initialProps,value:l},u=o.reduce(((e,t)=>{const{name:i,handler:r}=t;let a=this.search;return r&&(a=e=>{r(e,this.search,p)}),{...e,[`on${i}`]:a}}),{});return t(s,{...n,...p,style:{width:this.getEleWidth(e)},value:this.valueCp,"onUpdate:value":e=>this.handleUpdate(e,i,a),...u})},handleUpdate(e,t,i){const r=a(e,t);this.$emit("update:modelValue",r)}},created(){this.initComponentProps(this.cfg)},render(){return this.generateWidget(this.cfg)}}),[["__file","index.vue"]]);export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{WidgetTypeEnums as e,DatePresetValEnums as l}from"./enums.js";import{NInputNumber as t,NInput as a,NDatePicker as o}from"naive-ui";import r from"./components/CheckboxGroup.vue.js";import p from"./components/Select.vue.js";import s from"moment";import{presetValToTimestamp as
|
|
1
|
+
import{WidgetTypeEnums as e,DatePresetValEnums as l}from"./enums.js";import{NInputNumber as t,NInput as a,NDatePicker as o}from"naive-ui";import r from"./components/CheckboxGroup.vue.js";import p from"./components/Select.vue.js";import s from"moment";import{presetValToTimestamp as n}from"./helpers/presetValToTimestamp.js";const m=e=>e,u=new Map([[e.INPUT_NUMBER,{component:t,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&(console.log("点击keyup>>>>>",l),l())}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`输入${l}`}),setDefaultValue:m}],[e.INPUT,{component:a,props:{clearable:!0},eventsBySearch:[{name:"keydown",handler(e,l){"Enter"===e.key&&l()}}],handlerProps:(e,{title:l}={})=>({...e,placeholder:`搜索${l}`}),setDefaultValue:m}],[e.SELECT,{component:p,props:{clearable:!0,options:[],filterable:!0,multiple:!1},eventsBySearch:[{name:"change",handler(e,l,t){const{multiple:a}=t;a&&l()}}],handlerProps(e,{valueList:l,multiple:t,title:a}={}){const o={...e,placeholder:`请选择${a}`};return Array.isArray(l)&&(o.options=l.map((({value:e,label:l})=>({value:e,label:l})))),t&&(o.multiple=!0),o},setDefaultValue:m}],[e.DATE,{component:o,props:{type:"date",clearable:!0,valueFormat:"yyyy-MM-dd"},handlerProps:(e,{title:l}={})=>({...e,placeholder:`请选择${l}`}),setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?n(t,"YYYY-MM-DD HH:mm:ss"):e}],[e.DATE_TIME,{component:o,props:{type:"datetime",clearable:!0,valueFormat:"yyyy-MM-dd HH:mm:ss"},handlerProps:(e,{title:l}={})=>({...e,placeholder:`请选择${l}`}),setDefaultValue:(e,t)=>t&&t!==l.CUSTOM?n(t,"YYYY-MM-DD HH:mm:ss"):e}],[e.CHECKBOX_GROUP,{component:r,props:{},style:{"line-height":"32px"},handlerProps(e,{valueList:l,multiple:t}={}){const a={...e,multiple:t};return Array.isArray(l)&&(a.options=l.map((({value:e,label:l})=>({value:e,label:l})))),a},setDefaultValue:m}]]),i=(l,t)=>t===e.DATE||t===e.DATE_TIME?s(l).format("YYYY-MM-DD HH:mm:ss"):l;export{u as WidgetCfgMaps,i as formatItemData};
|