cnhis-design-vue 3.1.23-beta.9 → 3.1.24-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/annotation-edit/index.js +10 -1
- package/es/components/big-table/index.d.ts +4 -9
- package/es/components/big-table/index.js +16 -2
- package/es/components/big-table/src/BigTable.vue.d.ts +20 -10
- package/es/components/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +14 -32
- package/es/components/big-table/src/bigTableEmits.js +53 -1
- package/es/components/big-table/src/bigTableProps.js +119 -1
- package/es/components/big-table/src/bigTableState.js +62 -1
- package/es/components/big-table/src/components/NoData.vue.d.ts +2 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.js +1 -1
- package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +3 -5
- package/es/components/big-table/src/components/edit-form/edit-time.js +1 -1
- package/es/components/big-table/src/components/edit-form/useCommon.js +19 -1
- package/es/components/big-table/src/components/input-button.js +1 -2
- package/es/components/big-table/src/components/input-button.vue.d.ts +1 -1
- package/es/components/big-table/src/components/separate.js +1 -1
- package/es/components/big-table/src/components/separate.vue.d.ts +2 -4
- package/es/components/big-table/src/constants/index.js +3 -1
- package/es/components/big-table/src/hooks/export.js +1 -1
- package/es/components/big-table/src/hooks/index.js +8 -8
- package/es/components/big-table/src/hooks/useAnchor.js +49 -1
- package/es/components/big-table/src/hooks/useAnnotation.js +1 -1
- package/es/components/big-table/src/hooks/useBatchEditing.js +301 -1
- package/es/components/big-table/src/hooks/useColumnConfigAdaptor.js +158 -1
- package/es/components/big-table/src/hooks/useEdit.d.ts +3 -5
- package/es/components/big-table/src/hooks/useEdit.js +135 -1
- package/es/components/big-table/src/hooks/useEvent.js +81 -1
- package/es/components/big-table/src/hooks/useFormat.js +507 -1
- package/es/components/big-table/src/hooks/useNestTable.js +86 -1
- package/es/components/big-table/src/hooks/useSeparateRow.js +132 -1
- package/es/components/big-table/src/hooks/useTableParse.js +142 -1
- package/es/components/big-table/src/utils.js +608 -1
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/bpmn-workflow/index.d.ts +2 -4
- package/es/components/bpmn-workflow/index.js +10 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.js +34 -30
- package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +2 -4
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.js +65 -33
- package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.js +3 -1
- package/es/components/button-print/index.js +11 -2
- package/es/components/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/components/button-print/src/components/IdentityVerification.js +9 -7
- package/es/components/button-print/src/utils/index.js +1 -1
- package/es/components/button-print/src/utils/print.js +357 -1
- package/es/components/chunk-upload/index.d.ts +1 -1
- package/es/components/chunk-upload/index.js +14 -1
- package/es/components/chunk-upload/src/chunk-upload-new.js +11 -9
- package/es/components/chunk-upload/src/hooks/upload-computed.js +70 -1
- package/es/components/chunk-upload/src/hooks/upload-data.js +96 -1
- package/es/components/chunk-upload/src/hooks/vod-computed.js +79 -1
- package/es/components/chunk-upload/src/hooks/vod-data.js +28 -1
- package/es/components/chunk-upload/src/vod-chunk-upload/index.js +1 -0
- package/es/components/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.js +20 -18
- package/es/components/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +1 -1
- package/es/components/drag-layout/index.d.ts +1 -1
- package/es/components/drag-layout/index.js +11 -1
- package/es/components/drag-layout/src/DragFormLeftItem.js +10 -12
- package/es/components/drag-layout/src/DragFormLeftItem.vue.d.ts +1 -1
- package/es/components/drag-layout/src/DragFormRightItem.js +19 -21
- package/es/components/drag-layout/src/DragLayout.js +19 -17
- package/es/components/drag-layout/src/DragLayout.vue.d.ts +1 -1
- package/es/components/editor/index.js +10 -1
- package/es/components/fabric-chart/index.d.ts +1 -1
- package/es/components/fabric-chart/index.js +10 -1
- package/es/components/fabric-chart/src/FabricChart.js +30 -11
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
- package/es/components/fabric-chart/src/components/PopupTip.js +1 -1
- package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/components/useStyle.js +36 -1
- package/es/components/fabric-chart/src/hooks/constant.js +78 -1
- package/es/components/fabric-chart/src/hooks/index.js +9 -9
- package/es/components/fabric-chart/src/hooks/useBottom.js +97 -1
- package/es/components/fabric-chart/src/hooks/useCenter.js +588 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +60 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +182 -1
- package/es/components/fabric-chart/src/hooks/useEvent.js +161 -1
- package/es/components/fabric-chart/src/hooks/useGrid.js +50 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +331 -1
- package/es/components/fabric-chart/src/hooks/useOther.js +100 -1
- package/es/components/fabric-chart/src/hooks/useRight.js +27 -1
- package/es/components/fabric-chart/src/hooks/useShadow.js +132 -1
- package/es/components/fabric-chart/src/hooks/useTop.js +160 -1
- package/es/components/fabric-chart/src/interface.js +4 -1
- package/es/components/fabric-chart/src/utils/index.js +9713 -9169
- package/es/components/field-set/index.d.ts +1 -0
- package/es/components/field-set/index.js +10 -1
- package/es/components/field-set/src/FieldSet.js +67 -65
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -0
- package/es/components/form-config/index.d.ts +17 -23
- package/es/components/form-config/index.js +10 -1
- package/es/components/form-config/src/FormConfig.js +10 -11
- package/es/components/form-config/src/FormConfig.vue.d.ts +17 -23
- package/es/components/form-config/src/components/FormConfigCreator.js +6 -8
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.js +2 -2
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.js +24 -20
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +13 -17
- package/es/components/form-config/src/components/renderer/CloseButton.js +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +2 -4
- package/es/components/form-config/src/components/renderer/ComplexNode.js +2 -2
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +5 -9
- package/es/components/form-config/src/components/renderer/DefaultNode.js +2 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +4 -8
- package/es/components/form-config/src/constants/index.js +60 -1
- package/es/components/form-config/src/hooks/index.js +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.js +54 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +27 -1
- package/es/components/form-config/src/utils/index.js +26 -1
- package/es/components/form-render/index.js +23 -14
- package/es/components/form-render/src/FormRender.js +21 -14
- package/es/components/form-render/src/components/renderer/checkbox.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/combination.js +4 -4
- package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/complex.js +1 -1
- package/es/components/form-render/src/components/renderer/date.js +3 -3
- package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +3 -3
- package/es/components/form-render/src/components/renderer/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/index.js +2 -2
- package/es/components/form-render/src/components/renderer/input.js +9 -3
- package/es/components/form-render/src/components/renderer/inputGroup.js +11 -1
- package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/inputNumber.js +2 -2
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate.js +35 -1
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +2 -2
- package/es/components/form-render/src/components/renderer/labelSelect.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascade.d.ts +11 -0
- package/es/components/form-render/src/components/renderer/levelSearchCascade.js +105 -55
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.js +57 -0
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +54 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +53 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.js +11 -0
- package/es/components/form-render/src/components/renderer/radio.js +1 -1
- package/es/components/form-render/src/components/renderer/search.d.ts +11 -0
- package/es/components/form-render/src/components/renderer/search.js +16 -10
- package/es/components/form-render/src/components/renderer/searchCascade.d.ts +9 -0
- package/es/components/form-render/src/components/renderer/searchCascade.js +18 -11
- package/es/components/form-render/src/components/renderer/select.d.ts +9 -0
- package/es/components/form-render/src/components/renderer/select.js +15 -9
- package/es/components/form-render/src/components/renderer/slider.js +1 -1
- package/es/components/form-render/src/components/renderer/switch.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/components/renderer/textarea.js +2 -2
- package/es/components/form-render/src/constants/index.js +45 -1
- package/es/components/form-render/src/hooks/index.js +13 -13
- package/es/components/form-render/src/hooks/useAnchor.js +99 -1
- package/es/components/form-render/src/hooks/useAsyncQueue.js +151 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +107 -1
- package/es/components/form-render/src/hooks/useChangeContext.js +20 -1
- package/es/components/form-render/src/hooks/useCommonInjection.js +36 -1
- package/es/components/form-render/src/hooks/useCommonLog.js +12 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +287 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.js +65 -1
- package/es/components/form-render/src/hooks/useFieldVisitor.js +46 -1
- package/es/components/form-render/src/hooks/useFormContext.js +68 -1
- package/es/components/form-render/src/hooks/useFormField.js +13 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.js +31 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.js +10 -1
- package/es/components/form-render/src/hooks/useFormRequest.js +19 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +70 -1
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +18 -1
- package/es/components/form-render/src/hooks/usePresetScope.js +22 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +6 -1
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/business.js +78 -1
- package/es/components/form-render/src/utils/dom.js +14 -1
- package/es/components/form-render/src/utils/index.d.ts +2 -2
- package/es/components/form-render/src/utils/index.js +6 -6
- package/es/components/form-render/src/utils/schema.js +105 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/grid/index.d.ts +1 -1
- package/es/components/grid/index.js +11 -1
- package/es/components/grid/src/Grid.d.ts +1 -1
- package/es/components/grid/src/Grid.js +1 -1
- package/es/components/grid/src/hooks.js +167 -1
- package/es/components/iho-table/index.d.ts +1 -1
- package/es/components/iho-table/index.js +34 -3
- package/es/components/iho-table/src/IhoTable.js +21 -13
- package/es/components/iho-table/src/IhoTable.vue.d.ts +1 -1
- package/es/components/iho-table/src/components/IhoTableColumn.d.ts +1 -1
- package/es/components/iho-table/src/components/IhoTableColumn.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +5 -3
- package/es/components/iho-table/src/constants/index.js +123 -1
- package/es/components/iho-table/src/hooks/index.js +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.js +140 -1
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.js +67 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +26 -1
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +252 -1
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.js +33 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +27 -1
- package/es/components/iho-table/src/hooks/useTablePlugin.js +20 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +33 -1
- package/es/components/iho-table/src/plugins/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/index.js +7 -3
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +36 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.d.ts +31 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.js +205 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +39 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useCommon.d.ts +4 -0
- package/es/components/{big-table/src/components/edit-form/useCommon2.js → iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useCommon.js} +3 -5
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/index.js +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +31 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +60 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +40 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +20 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{edit-separate.js → editSeparate.js} +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{edit-separate.vue.d.ts → editSeparate.vue.d.ts} +0 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +8 -8
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{separate-utils.d.ts → separateUtils.d.ts} +0 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{separate-utils2.js → separateUtils.js} +15 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.d.ts +31 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.js +60 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +39 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/index.js +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +4 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +5 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +8 -6
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.js +18 -28
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.js +30 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/{row-group-utils.d.ts → rowGroupUtils.d.ts} +0 -0
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/{row-group-utils2.js → rowGroupUtils.js} +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +89 -0
- package/es/components/iho-table/src/types/index.d.ts +1 -0
- package/es/components/iho-table/src/types/index.js +1 -1
- package/es/components/iho-table/src/types/pluginType.js +12 -1
- package/es/components/iho-table/src/utils/index.js +23 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +98 -41
- package/es/components/info-header/index.d.ts +5 -7
- package/es/components/info-header/index.js +10 -1
- package/es/components/info-header/src/HiddenContent.js +5 -1
- package/es/components/info-header/src/HiddenContent.vue.d.ts +3 -5
- package/es/components/info-header/src/InfoEllipsis.vue.d.ts +1 -1
- package/es/components/info-header/src/InfoHeader.js +24 -19
- package/es/components/info-header/src/InfoHeader.vue.d.ts +5 -7
- package/es/components/info-header/style/iconfont.ttf +0 -0
- package/es/components/info-header/style/index.css +1 -1
- package/es/components/map/index.js +10 -1
- package/es/components/map/src/Map.js +10 -12
- package/es/components/scale-view/index.d.ts +7 -11
- package/es/components/scale-view/index.js +35 -1
- package/es/components/scale-view/src/ScaleView.js +51 -42
- package/es/components/scale-view/src/ScaleView.vue.d.ts +7 -11
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +3 -5
- package/es/components/scale-view/src/components/EvaluateCountdown.js +16 -8
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +1 -1
- package/es/components/scale-view/src/components/EvaluatePage.js +1 -1
- package/es/components/scale-view/src/components/NoData.vue.d.ts +2 -4
- package/es/components/scale-view/src/components/composables/choose-common.js +83 -1
- package/es/components/scale-view/src/components/formitem/address.js +3993 -1
- package/es/components/scale-view/src/components/formitem/r-address.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-map.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-radio.js +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +309 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +437 -1
- package/es/components/scale-view/src/hooks/scaleview-props.js +81 -1
- package/es/components/scale-view/src/hooks/scaleview-state.js +38 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +154 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +187 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +3 -2
- package/es/components/scale-view/src/hooks/use-component.js +82 -1
- package/es/components/scale-view/src/hooks/use-evaluate.js +150 -1
- package/es/components/scale-view/src/hooks/use-event.js +129 -1
- package/es/components/scale-view/src/hooks/use-noData.js +41 -1
- package/es/components/scale-view/src/utils/judge-types.js +36 -1
- package/es/components/search-cascader/index.d.ts +20 -4
- package/es/components/search-cascader/index.js +10 -1
- package/es/components/search-cascader/src/SearchCascader.js +41 -21
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +20 -4
- package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.js +2 -2
- package/es/components/search-cascader/src/constants/index.js +5 -1
- package/es/components/search-cascader/src/hooks/index.js +1 -1
- package/es/components/search-cascader/src/hooks/useCssVariable.js +7 -1
- package/es/components/search-cascader/src/utils/index.js +11 -1
- package/es/components/search-cascader/style/index.css +1 -1
- package/es/components/select-label/index.d.ts +3 -2
- package/es/components/select-label/index.js +15 -1
- package/es/components/select-label/src/LabelFormContent.js +10 -6
- package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
- package/es/components/select-label/src/SelectLabel.vue.d.ts +2 -1
- package/es/components/select-label/src/SelectLabel.vue_vue_type_script_setup_true_lang.js +22 -11
- package/es/components/select-label/src/components/label-classify.js +8 -5
- package/es/components/select-label/src/components/label-classify.vue.d.ts +1 -1
- package/es/components/select-person/index.js +10 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +3 -1
- package/es/components/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.js +7 -9
- package/es/components/select-person/src/utils/index.js +84 -1
- package/es/components/shortcut-provider/index.d.ts +2 -4
- package/es/components/shortcut-provider/index.js +12 -3
- package/es/components/shortcut-provider/src/ShortcutProvider.js +4 -4
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -4
- package/es/components/shortcut-provider/src/constants/index.js +8 -1
- package/es/components/shortcut-provider/src/hooks/index.js +2 -2
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature.js +12 -1
- package/es/components/shortcut-provider/src/hooks/useShortcuts.js +185 -1
- package/es/components/shortcut-provider/src/utils/index.js +59 -1
- package/es/components/shortcut-setter/index.d.ts +12 -16
- package/es/components/shortcut-setter/index.js +10 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.js +4 -4
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +12 -16
- package/es/components/shortcut-setter/src/ShortcutSetterItem.js +1 -1
- package/es/components/steps-wheel/index.d.ts +2 -4
- package/es/components/steps-wheel/index.js +10 -1
- package/es/components/steps-wheel/src/StepsWheel.js +10 -6
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +2 -4
- package/es/components/time-line/index.d.ts +1 -1
- package/es/components/time-line/index.js +10 -1
- package/es/components/time-line/src/TimeLine.vue.d.ts +1 -1
- package/es/shared/components/SelectPage/SelectPage.js +2 -4
- package/es/shared/components/SelectPage/SelectPage.vue.d.ts +2 -4
- package/es/shared/components/SelectPage/index.js +1 -0
- package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
- package/es/shared/components/SlotRender/index.js +1 -0
- package/es/shared/components/SvgIcon/SvgIcon.vue.d.ts +1 -1
- package/es/shared/components/SvgIcon/index.js +1 -0
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/components/TextOverTooltip/index.js +1 -0
- package/es/shared/components/no-data/NoData.vue.d.ts +2 -4
- package/es/shared/components/no-data/index.js +1 -0
- package/es/shared/components/player-vod/index.vue.d.ts +1 -1
- package/es/shared/components/player-vod/player.d.ts +1 -1
- package/es/shared/components/player-vod/video-list.d.ts +1 -1
- package/es/shared/components/player-vod/video-modal.d.ts +1 -1
- package/es/shared/global/variable.js +3 -1
- package/es/shared/utils/anime.js +129 -1
- package/es/shared/utils/clickoutside.js +52 -1
- package/es/shared/utils/colorLog.js +53 -1
- package/es/shared/utils/index.d.ts +2 -1
- package/es/shared/utils/index.js +98 -1
- package/es/shared/utils/loadViewer.js +11 -1
- package/es/shared/utils/state.js +44 -1
- package/es/shared/utils/tapable/HookCodeFactory.js +80 -67
- package/es/shared/utils/utilExpand.js +46 -46
- package/package.json +68 -68
- package/es/components/annotation-edit/index2.js +0 -10
- package/es/components/big-table/index2.js +0 -17
- package/es/components/big-table/src/bigTableEmits2.js +0 -53
- package/es/components/big-table/src/bigTableProps2.js +0 -119
- package/es/components/big-table/src/bigTableState2.js +0 -62
- package/es/components/big-table/src/constants/index2.js +0 -3
- package/es/components/big-table/src/hooks/useAnchor2.js +0 -49
- package/es/components/big-table/src/hooks/useBatchEditing2.js +0 -289
- package/es/components/big-table/src/hooks/useColumnConfigAdaptor2.js +0 -154
- package/es/components/big-table/src/hooks/useEdit2.js +0 -126
- package/es/components/big-table/src/hooks/useEvent2.js +0 -81
- package/es/components/big-table/src/hooks/useFormat2.js +0 -501
- package/es/components/big-table/src/hooks/useNestTable2.js +0 -86
- package/es/components/big-table/src/hooks/useSeparateRow2.js +0 -125
- package/es/components/big-table/src/hooks/useTableParse2.js +0 -136
- package/es/components/big-table/src/utils2.js +0 -603
- package/es/components/bpmn-workflow/index2.js +0 -10
- package/es/components/button-print/index2.js +0 -11
- package/es/components/button-print/src/utils/print2.js +0 -349
- package/es/components/chunk-upload/index2.js +0 -14
- package/es/components/chunk-upload/src/hooks/upload-computed2.js +0 -70
- package/es/components/chunk-upload/src/hooks/upload-data2.js +0 -96
- package/es/components/chunk-upload/src/hooks/vod-computed2.js +0 -79
- package/es/components/chunk-upload/src/hooks/vod-data2.js +0 -28
- package/es/components/chunk-upload/src/vod-chunk-upload/index2.js +0 -2
- package/es/components/drag-layout/index2.js +0 -11
- package/es/components/editor/index2.js +0 -10
- package/es/components/fabric-chart/index2.js +0 -10
- package/es/components/fabric-chart/src/components/useStyle2.js +0 -36
- package/es/components/fabric-chart/src/hooks/constant2.js +0 -78
- package/es/components/fabric-chart/src/hooks/useBottom2.js +0 -85
- package/es/components/fabric-chart/src/hooks/useCenter2.js +0 -583
- package/es/components/fabric-chart/src/hooks/useCumputedPoint2.js +0 -60
- package/es/components/fabric-chart/src/hooks/useDraw2.js +0 -182
- package/es/components/fabric-chart/src/hooks/useEvent2.js +0 -119
- package/es/components/fabric-chart/src/hooks/useGrid2.js +0 -50
- package/es/components/fabric-chart/src/hooks/useLeft2.js +0 -321
- package/es/components/fabric-chart/src/hooks/useOther2.js +0 -100
- package/es/components/fabric-chart/src/hooks/useRight2.js +0 -27
- package/es/components/fabric-chart/src/hooks/useShadow2.js +0 -127
- package/es/components/fabric-chart/src/hooks/useTop2.js +0 -140
- package/es/components/fabric-chart/src/interface2.js +0 -4
- package/es/components/field-set/index2.js +0 -10
- package/es/components/form-config/index2.js +0 -10
- package/es/components/form-config/src/constants/index2.js +0 -60
- package/es/components/form-config/src/hooks/useConfigurationField2.js +0 -52
- package/es/components/form-config/src/hooks/useSortalbeConfig2.js +0 -27
- package/es/components/form-config/src/utils/index2.js +0 -26
- package/es/components/form-render/index2.js +0 -47
- package/es/components/form-render/src/components/renderer/index2.js +0 -20
- package/es/components/form-render/src/components/renderer/inputGroup2.js +0 -8
- package/es/components/form-render/src/components/renderer/jsonCombination/hooks/useDeepValidate2.js +0 -33
- package/es/components/form-render/src/components/renderer/linebar.d.ts +0 -31
- package/es/components/form-render/src/components/renderer/linebar.js +0 -61
- package/es/components/form-render/src/constants/index2.js +0 -41
- package/es/components/form-render/src/hooks/useAnchor2.js +0 -88
- package/es/components/form-render/src/hooks/useAsyncQueue2.js +0 -144
- package/es/components/form-render/src/hooks/useBusinessBinding2.js +0 -107
- package/es/components/form-render/src/hooks/useChangeContext2.js +0 -20
- package/es/components/form-render/src/hooks/useCommonInjection2.js +0 -36
- package/es/components/form-render/src/hooks/useCommonLog2.js +0 -10
- package/es/components/form-render/src/hooks/useFieldListAdaptor2.js +0 -282
- package/es/components/form-render/src/hooks/useFieldNormalize2.js +0 -65
- package/es/components/form-render/src/hooks/useFieldVisitor2.js +0 -46
- package/es/components/form-render/src/hooks/useFormContext2.js +0 -59
- package/es/components/form-render/src/hooks/useFormField2.js +0 -13
- package/es/components/form-render/src/hooks/useFormItemDeps2.js +0 -31
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle2.js +0 -10
- package/es/components/form-render/src/hooks/useFormRequest2.js +0 -19
- package/es/components/form-render/src/hooks/useFormValidator2.js +0 -68
- package/es/components/form-render/src/hooks/useNuiThemeOverrides2.js +0 -18
- package/es/components/form-render/src/hooks/usePresetScope2.js +0 -22
- package/es/components/form-render/src/utils/business2.js +0 -78
- package/es/components/form-render/src/utils/dom2.js +0 -14
- package/es/components/form-render/src/utils/schema2.js +0 -105
- package/es/components/grid/index2.js +0 -11
- package/es/components/grid/src/hooks2.js +0 -167
- package/es/components/iho-table/index2.js +0 -30
- package/es/components/iho-table/src/constants/index2.js +0 -121
- package/es/components/iho-table/src/hooks/tapHooks/index2.js +0 -132
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks2.js +0 -67
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks2.js +0 -26
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks2.js +0 -248
- package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks2.js +0 -33
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks2.js +0 -27
- package/es/components/iho-table/src/hooks/useTablePlugin2.js +0 -20
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index2.js +0 -30
- package/es/components/iho-table/src/plugins/index2.js +0 -11
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index2.js +0 -36
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separate-utils.js +0 -1
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index2.js +0 -27
- package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/row-group-utils.js +0 -1
- package/es/components/iho-table/src/types/pluginType2.js +0 -12
- package/es/components/iho-table/src/utils/index2.js +0 -23
- package/es/components/index2.js +0 -79
- package/es/components/info-header/index2.js +0 -10
- package/es/components/map/index2.js +0 -10
- package/es/components/scale-view/index2.js +0 -35
- package/es/components/scale-view/src/components/composables/choose-common2.js +0 -83
- package/es/components/scale-view/src/components/formitem/address2.js +0 -3993
- package/es/components/scale-view/src/hooks/scaleview-computed2.js +0 -309
- package/es/components/scale-view/src/hooks/scaleview-init2.js +0 -437
- package/es/components/scale-view/src/hooks/scaleview-props2.js +0 -81
- package/es/components/scale-view/src/hooks/scaleview-state2.js +0 -38
- package/es/components/scale-view/src/hooks/scaleview-submit2.js +0 -154
- package/es/components/scale-view/src/hooks/scaleview-validate2.js +0 -187
- package/es/components/scale-view/src/hooks/use-component2.js +0 -82
- package/es/components/scale-view/src/hooks/use-evaluate2.js +0 -150
- package/es/components/scale-view/src/hooks/use-event2.js +0 -129
- package/es/components/scale-view/src/hooks/use-noData2.js +0 -41
- package/es/components/scale-view/src/utils/judge-types2.js +0 -36
- package/es/components/search-cascader/index2.js +0 -10
- package/es/components/search-cascader/src/constants/index2.js +0 -3
- package/es/components/search-cascader/src/hooks/useCssVariable2.js +0 -7
- package/es/components/search-cascader/src/utils/index2.js +0 -11
- package/es/components/select-label/index2.js +0 -15
- package/es/components/select-person/index2.js +0 -10
- package/es/components/select-person/src/utils/index2.js +0 -84
- package/es/components/shortcut-provider/index2.js +0 -13
- package/es/components/shortcut-provider/src/constants/index2.js +0 -8
- package/es/components/shortcut-provider/src/hooks/useShortcutSignature2.js +0 -12
- package/es/components/shortcut-provider/src/hooks/useShortcuts2.js +0 -183
- package/es/components/shortcut-provider/src/utils/index2.js +0 -59
- package/es/components/shortcut-setter/index2.js +0 -10
- package/es/components/steps-wheel/index2.js +0 -10
- package/es/components/time-line/index2.js +0 -10
- package/es/shared/components/SelectPage/index2.js +0 -2
- package/es/shared/components/SlotRender/index2.js +0 -2
- package/es/shared/components/SvgIcon/index2.js +0 -2
- package/es/shared/components/TextOverTooltip/index2.js +0 -2
- package/es/shared/components/no-data/index2.js +0 -2
- package/es/shared/global/variable2.js +0 -3
- package/es/shared/utils/anime2.js +0 -129
- package/es/shared/utils/clickoutside2.js +0 -48
- package/es/shared/utils/colorLog2.js +0 -44
- package/es/shared/utils/index2.js +0 -97
- package/es/shared/utils/loadViewer2.js +0 -11
- package/es/shared/utils/state2.js +0 -44
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import '../../../../../shared/utils/tapable/SyncHook.js';
|
|
2
|
-
import '../../../../../shared/utils/tapable/SyncBailHook.js';
|
|
3
|
-
import SyncWaterfallHook from '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
4
|
-
import '../../../../../shared/utils/tapable/SyncLoopHook.js';
|
|
5
|
-
import '../../../../../shared/utils/tapable/AsyncParallelHook.js';
|
|
6
|
-
import '../../../../../shared/utils/tapable/AsyncParallelBailHook.js';
|
|
7
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
8
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
9
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
10
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
11
|
-
import { AbstractConfigHooks } from '../../types/pluginType2.js';
|
|
12
|
-
|
|
13
|
-
class ConfigHooks extends AbstractConfigHooks {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.config = new SyncWaterfallHook(["config"]);
|
|
17
|
-
this.rowConfig = new SyncWaterfallHook(["rowConfig", "config"]);
|
|
18
|
-
this.editConfig = new SyncWaterfallHook(["editConfig", "config"]);
|
|
19
|
-
this.columnConfig = new SyncWaterfallHook([
|
|
20
|
-
"columnConfig",
|
|
21
|
-
"config"
|
|
22
|
-
]);
|
|
23
|
-
this.resizableConfig = new SyncWaterfallHook([
|
|
24
|
-
"resizableConfig",
|
|
25
|
-
"config"
|
|
26
|
-
]);
|
|
27
|
-
this.seqConfig = new SyncWaterfallHook(["seqConfig", "config"]);
|
|
28
|
-
this.sortConfig = new SyncWaterfallHook(["sortConfig", "config"]);
|
|
29
|
-
this.filterConfig = new SyncWaterfallHook([
|
|
30
|
-
"filterConfig",
|
|
31
|
-
"config"
|
|
32
|
-
]);
|
|
33
|
-
this.radioConfig = new SyncWaterfallHook([
|
|
34
|
-
"radioConfig",
|
|
35
|
-
"config"
|
|
36
|
-
]);
|
|
37
|
-
this.checkboxConfig = new SyncWaterfallHook([
|
|
38
|
-
"checkboxConfig",
|
|
39
|
-
"config"
|
|
40
|
-
]);
|
|
41
|
-
this.expandConfig = new SyncWaterfallHook([
|
|
42
|
-
"expandConfig",
|
|
43
|
-
"config"
|
|
44
|
-
]);
|
|
45
|
-
this.treeConfig = new SyncWaterfallHook(["treeConfig", "config"]);
|
|
46
|
-
this.mouseConfig = new SyncWaterfallHook([
|
|
47
|
-
"mouseConfig",
|
|
48
|
-
"config"
|
|
49
|
-
]);
|
|
50
|
-
this.menuConfig = new SyncWaterfallHook(["menuConfig", "config"]);
|
|
51
|
-
this.keyboardConfig = new SyncWaterfallHook([
|
|
52
|
-
"keyboardConfig",
|
|
53
|
-
"config"
|
|
54
|
-
]);
|
|
55
|
-
this.scrollY = new SyncWaterfallHook(["scrollY", "config"]);
|
|
56
|
-
this.scrollX = new SyncWaterfallHook(["scrollX", "config"]);
|
|
57
|
-
this.editRules = new SyncWaterfallHook(["editRules", "config"]);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
function useConfigHooks() {
|
|
61
|
-
function create() {
|
|
62
|
-
return new ConfigHooks();
|
|
63
|
-
}
|
|
64
|
-
return { create };
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export { useConfigHooks };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import '../../../../../shared/utils/tapable/SyncHook.js';
|
|
2
|
-
import '../../../../../shared/utils/tapable/SyncBailHook.js';
|
|
3
|
-
import '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
4
|
-
import '../../../../../shared/utils/tapable/SyncLoopHook.js';
|
|
5
|
-
import '../../../../../shared/utils/tapable/AsyncParallelHook.js';
|
|
6
|
-
import '../../../../../shared/utils/tapable/AsyncParallelBailHook.js';
|
|
7
|
-
import AsyncSeriesHook from '../../../../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
8
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
9
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
10
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
11
|
-
import { AbstractDataHooks } from '../../types/pluginType2.js';
|
|
12
|
-
|
|
13
|
-
class TableDataHooks extends AbstractDataHooks {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.data = new AsyncSeriesHook(["rowData", "context", "config"]);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function useDataHooks() {
|
|
20
|
-
function create() {
|
|
21
|
-
return new TableDataHooks();
|
|
22
|
-
}
|
|
23
|
-
return { create };
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { useDataHooks };
|
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import '../../../../../shared/utils/tapable/SyncHook.js';
|
|
2
|
-
import '../../../../../shared/utils/tapable/SyncBailHook.js';
|
|
3
|
-
import '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
4
|
-
import '../../../../../shared/utils/tapable/SyncLoopHook.js';
|
|
5
|
-
import AsyncParallelHook from '../../../../../shared/utils/tapable/AsyncParallelHook.js';
|
|
6
|
-
import '../../../../../shared/utils/tapable/AsyncParallelBailHook.js';
|
|
7
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
8
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
9
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
10
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
11
|
-
import { AbstractEventHooks } from '../../types/pluginType2.js';
|
|
12
|
-
|
|
13
|
-
class EventHooks extends AbstractEventHooks {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.onKeydownStart = new AsyncParallelHook([
|
|
17
|
-
"event",
|
|
18
|
-
"context",
|
|
19
|
-
"config"
|
|
20
|
-
]);
|
|
21
|
-
this.onKeydown = new AsyncParallelHook([
|
|
22
|
-
"event",
|
|
23
|
-
"context",
|
|
24
|
-
"config"
|
|
25
|
-
]);
|
|
26
|
-
this.onKeydownEnd = new AsyncParallelHook([
|
|
27
|
-
"event",
|
|
28
|
-
"context",
|
|
29
|
-
"config"
|
|
30
|
-
]);
|
|
31
|
-
this.onPaste = new AsyncParallelHook([
|
|
32
|
-
"event",
|
|
33
|
-
"context",
|
|
34
|
-
"config"
|
|
35
|
-
]);
|
|
36
|
-
this.onCopy = new AsyncParallelHook([
|
|
37
|
-
"event",
|
|
38
|
-
"context",
|
|
39
|
-
"config"
|
|
40
|
-
]);
|
|
41
|
-
this.onCut = new AsyncParallelHook([
|
|
42
|
-
"event",
|
|
43
|
-
"context",
|
|
44
|
-
"config"
|
|
45
|
-
]);
|
|
46
|
-
this.onCurrentChange = new AsyncParallelHook([
|
|
47
|
-
"event",
|
|
48
|
-
"context",
|
|
49
|
-
"config"
|
|
50
|
-
]);
|
|
51
|
-
this.onRadioChange = new AsyncParallelHook([
|
|
52
|
-
"event",
|
|
53
|
-
"context",
|
|
54
|
-
"config"
|
|
55
|
-
]);
|
|
56
|
-
this.onCheckboxChange = new AsyncParallelHook([
|
|
57
|
-
"event",
|
|
58
|
-
"context",
|
|
59
|
-
"config"
|
|
60
|
-
]);
|
|
61
|
-
this.onCheckboxAll = new AsyncParallelHook([
|
|
62
|
-
"event",
|
|
63
|
-
"context",
|
|
64
|
-
"config"
|
|
65
|
-
]);
|
|
66
|
-
this.onCheckboxRangeStart = new AsyncParallelHook(["event", "context", "config"]);
|
|
67
|
-
this.onCheckboxRangeChange = new AsyncParallelHook(["event", "context", "config"]);
|
|
68
|
-
this.onCheckboxRangeEnd = new AsyncParallelHook(["event", "context", "config"]);
|
|
69
|
-
this.onCellClick = new AsyncParallelHook([
|
|
70
|
-
"event",
|
|
71
|
-
"context",
|
|
72
|
-
"config"
|
|
73
|
-
]);
|
|
74
|
-
this.onCellDblclick = new AsyncParallelHook([
|
|
75
|
-
"event",
|
|
76
|
-
"context",
|
|
77
|
-
"config"
|
|
78
|
-
]);
|
|
79
|
-
this.onCellMenu = new AsyncParallelHook([
|
|
80
|
-
"event",
|
|
81
|
-
"context",
|
|
82
|
-
"config"
|
|
83
|
-
]);
|
|
84
|
-
this.onCellMouseenter = new AsyncParallelHook([
|
|
85
|
-
"event",
|
|
86
|
-
"context",
|
|
87
|
-
"config"
|
|
88
|
-
]);
|
|
89
|
-
this.onCellMouseleave = new AsyncParallelHook([
|
|
90
|
-
"event",
|
|
91
|
-
"context",
|
|
92
|
-
"config"
|
|
93
|
-
]);
|
|
94
|
-
this.onHeaderCellClick = new AsyncParallelHook([
|
|
95
|
-
"event",
|
|
96
|
-
"context",
|
|
97
|
-
"config"
|
|
98
|
-
]);
|
|
99
|
-
this.onHeaderCellDblclick = new AsyncParallelHook(["event", "context", "config"]);
|
|
100
|
-
this.onHeaderCellMenu = new AsyncParallelHook([
|
|
101
|
-
"event",
|
|
102
|
-
"context",
|
|
103
|
-
"config"
|
|
104
|
-
]);
|
|
105
|
-
this.onFooterCellClick = new AsyncParallelHook([
|
|
106
|
-
"event",
|
|
107
|
-
"context",
|
|
108
|
-
"config"
|
|
109
|
-
]);
|
|
110
|
-
this.onFooterCellDblclick = new AsyncParallelHook(["event", "context", "config"]);
|
|
111
|
-
this.onFooterCellMenu = new AsyncParallelHook([
|
|
112
|
-
"event",
|
|
113
|
-
"context",
|
|
114
|
-
"config"
|
|
115
|
-
]);
|
|
116
|
-
this.onSortChange = new AsyncParallelHook([
|
|
117
|
-
"event",
|
|
118
|
-
"context",
|
|
119
|
-
"config"
|
|
120
|
-
]);
|
|
121
|
-
this.onFilterChange = new AsyncParallelHook([
|
|
122
|
-
"event",
|
|
123
|
-
"context",
|
|
124
|
-
"config"
|
|
125
|
-
]);
|
|
126
|
-
this.onFilterVisible = new AsyncParallelHook([
|
|
127
|
-
"event",
|
|
128
|
-
"context",
|
|
129
|
-
"config"
|
|
130
|
-
]);
|
|
131
|
-
this.onResizableChange = new AsyncParallelHook([
|
|
132
|
-
"event",
|
|
133
|
-
"context",
|
|
134
|
-
"config"
|
|
135
|
-
]);
|
|
136
|
-
this.onToggleRowExpand = new AsyncParallelHook([
|
|
137
|
-
"event",
|
|
138
|
-
"context",
|
|
139
|
-
"config"
|
|
140
|
-
]);
|
|
141
|
-
this.onToggleTreeExpand = new AsyncParallelHook(["event", "context", "config"]);
|
|
142
|
-
this.onMenuClick = new AsyncParallelHook([
|
|
143
|
-
"event",
|
|
144
|
-
"context",
|
|
145
|
-
"config"
|
|
146
|
-
]);
|
|
147
|
-
this.onEditClosed = new AsyncParallelHook([
|
|
148
|
-
"event",
|
|
149
|
-
"context",
|
|
150
|
-
"config"
|
|
151
|
-
]);
|
|
152
|
-
this.onEditActived = new AsyncParallelHook([
|
|
153
|
-
"event",
|
|
154
|
-
"context",
|
|
155
|
-
"config"
|
|
156
|
-
]);
|
|
157
|
-
this.onEditDisabled = new AsyncParallelHook([
|
|
158
|
-
"event",
|
|
159
|
-
"context",
|
|
160
|
-
"config"
|
|
161
|
-
]);
|
|
162
|
-
this.onValidError = new AsyncParallelHook([
|
|
163
|
-
"event",
|
|
164
|
-
"context",
|
|
165
|
-
"config"
|
|
166
|
-
]);
|
|
167
|
-
this.onScroll = new AsyncParallelHook([
|
|
168
|
-
"event",
|
|
169
|
-
"context",
|
|
170
|
-
"config"
|
|
171
|
-
]);
|
|
172
|
-
this.onCustom = new AsyncParallelHook([
|
|
173
|
-
"event",
|
|
174
|
-
"context",
|
|
175
|
-
"config"
|
|
176
|
-
]);
|
|
177
|
-
this.onOpenFnr = new AsyncParallelHook([
|
|
178
|
-
"event",
|
|
179
|
-
"context",
|
|
180
|
-
"config"
|
|
181
|
-
]);
|
|
182
|
-
this.onFnrChange = new AsyncParallelHook([
|
|
183
|
-
"event",
|
|
184
|
-
"context",
|
|
185
|
-
"config"
|
|
186
|
-
]);
|
|
187
|
-
this.onFnrFind = new AsyncParallelHook([
|
|
188
|
-
"event",
|
|
189
|
-
"context",
|
|
190
|
-
"config"
|
|
191
|
-
]);
|
|
192
|
-
this.onFnrFindAll = new AsyncParallelHook([
|
|
193
|
-
"event",
|
|
194
|
-
"context",
|
|
195
|
-
"config"
|
|
196
|
-
]);
|
|
197
|
-
this.onFnrReplace = new AsyncParallelHook([
|
|
198
|
-
"event",
|
|
199
|
-
"context",
|
|
200
|
-
"config"
|
|
201
|
-
]);
|
|
202
|
-
this.onFnrReplaceAll = new AsyncParallelHook([
|
|
203
|
-
"event",
|
|
204
|
-
"context",
|
|
205
|
-
"config"
|
|
206
|
-
]);
|
|
207
|
-
this.onCellAreaCopy = new AsyncParallelHook([
|
|
208
|
-
"event",
|
|
209
|
-
"context",
|
|
210
|
-
"config"
|
|
211
|
-
]);
|
|
212
|
-
this.onCellAreaCut = new AsyncParallelHook([
|
|
213
|
-
"event",
|
|
214
|
-
"context",
|
|
215
|
-
"config"
|
|
216
|
-
]);
|
|
217
|
-
this.onCellAreaPaste = new AsyncParallelHook([
|
|
218
|
-
"event",
|
|
219
|
-
"context",
|
|
220
|
-
"config"
|
|
221
|
-
]);
|
|
222
|
-
this.onCellAreaMerge = new AsyncParallelHook([
|
|
223
|
-
"event",
|
|
224
|
-
"context",
|
|
225
|
-
"config"
|
|
226
|
-
]);
|
|
227
|
-
this.onClearCellAreaMerge = new AsyncParallelHook(["event", "context", "config"]);
|
|
228
|
-
this.onHeaderCellAreaSelection = new AsyncParallelHook(["event", "context", "config"]);
|
|
229
|
-
this.onCellAreaSelectionStart = new AsyncParallelHook(["event", "context", "config"]);
|
|
230
|
-
this.onCellAreaSelectionDrag = new AsyncParallelHook(["event", "context", "config"]);
|
|
231
|
-
this.onCellAreaSelectionEnd = new AsyncParallelHook(["event", "context", "config"]);
|
|
232
|
-
this.onCellAreaExtensionStart = new AsyncParallelHook(["event", "context", "config"]);
|
|
233
|
-
this.onCellAreaExtensionDrag = new AsyncParallelHook(["event", "context", "config"]);
|
|
234
|
-
this.onCellAreaExtensionEnd = new AsyncParallelHook(["event", "context", "config"]);
|
|
235
|
-
this.onCellAreaArrowsStart = new AsyncParallelHook(["event", "context", "config"]);
|
|
236
|
-
this.onCellAreaArrowsEnd = new AsyncParallelHook(["event", "context", "config"]);
|
|
237
|
-
this.onActiveCellChangeStart = new AsyncParallelHook(["event", "context", "config"]);
|
|
238
|
-
this.onActiveCellChangeEnd = new AsyncParallelHook(["event", "context", "config"]);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
function useEventHooks() {
|
|
242
|
-
function create() {
|
|
243
|
-
return new EventHooks();
|
|
244
|
-
}
|
|
245
|
-
return { create };
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
export { useEventHooks };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import '../../../../../shared/utils/tapable/SyncHook.js';
|
|
2
|
-
import '../../../../../shared/utils/tapable/SyncBailHook.js';
|
|
3
|
-
import SyncWaterfallHook from '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
4
|
-
import '../../../../../shared/utils/tapable/SyncLoopHook.js';
|
|
5
|
-
import AsyncParallelHook from '../../../../../shared/utils/tapable/AsyncParallelHook.js';
|
|
6
|
-
import '../../../../../shared/utils/tapable/AsyncParallelBailHook.js';
|
|
7
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
8
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
9
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
10
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
11
|
-
import { AbstractFieldHooks } from '../../types/pluginType2.js';
|
|
12
|
-
|
|
13
|
-
class FieldHooks extends AbstractFieldHooks {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.fieldStart = new AsyncParallelHook(["config"]);
|
|
17
|
-
this.field = new SyncWaterfallHook([
|
|
18
|
-
"fieldItem",
|
|
19
|
-
"context",
|
|
20
|
-
"config"
|
|
21
|
-
]);
|
|
22
|
-
this.fieldList = new SyncWaterfallHook(["fieldList", "config"]);
|
|
23
|
-
this.fieldEnd = new AsyncParallelHook(["config"]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function useFieldHooks() {
|
|
27
|
-
function create() {
|
|
28
|
-
return new FieldHooks();
|
|
29
|
-
}
|
|
30
|
-
return { create };
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { useFieldHooks };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import SyncHook from '../../../../../shared/utils/tapable/SyncHook.js';
|
|
2
|
-
import '../../../../../shared/utils/tapable/SyncBailHook.js';
|
|
3
|
-
import '../../../../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
4
|
-
import '../../../../../shared/utils/tapable/SyncLoopHook.js';
|
|
5
|
-
import '../../../../../shared/utils/tapable/AsyncParallelHook.js';
|
|
6
|
-
import '../../../../../shared/utils/tapable/AsyncParallelBailHook.js';
|
|
7
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesHook.js';
|
|
8
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesBailHook.js';
|
|
9
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesLoopHook.js';
|
|
10
|
-
import '../../../../../shared/utils/tapable/AsyncSeriesWaterfallHook.js';
|
|
11
|
-
import '../../../index2.js';
|
|
12
|
-
import { AbstractSetupHooks } from '../../types/pluginType2.js';
|
|
13
|
-
|
|
14
|
-
class SetupHooks extends AbstractSetupHooks {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.setup = new SyncHook(["config", "fieldList"]);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function useSetupHooks() {
|
|
21
|
-
function create() {
|
|
22
|
-
return new SetupHooks();
|
|
23
|
-
}
|
|
24
|
-
return { create };
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { useSetupHooks };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { arrayed } from '../../../../shared/utils/index2.js';
|
|
2
|
-
import { isFunction } from 'lodash-es';
|
|
3
|
-
import { createTableHooks } from './tapHooks/index2.js';
|
|
4
|
-
|
|
5
|
-
function useTablePlugin() {
|
|
6
|
-
const hooks = createTableHooks();
|
|
7
|
-
function use(plugin, instance) {
|
|
8
|
-
arrayed(plugin).forEach(({ vxe, apply }) => {
|
|
9
|
-
isFunction(vxe) && vxe(instance);
|
|
10
|
-
isFunction(apply) && apply(hooks);
|
|
11
|
-
});
|
|
12
|
-
return { use };
|
|
13
|
-
}
|
|
14
|
-
return { use };
|
|
15
|
-
}
|
|
16
|
-
function defineTablePlugin(plugin) {
|
|
17
|
-
return plugin;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export { defineTablePlugin, useTablePlugin };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { mergeWith } from 'lodash-es';
|
|
2
|
-
import { HIGHEST_PRIORITY } from '../../constants/index2.js';
|
|
3
|
-
import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
|
|
4
|
-
|
|
5
|
-
function defaultConfigPlugin() {
|
|
6
|
-
const pluginName = "defaultTablePlugin";
|
|
7
|
-
return defineTablePlugin({
|
|
8
|
-
name: pluginName,
|
|
9
|
-
apply(hooks) {
|
|
10
|
-
hooks.configHooks.config.tap({ name: pluginName, stage: HIGHEST_PRIORITY }, (config) => {
|
|
11
|
-
return mergeWith({
|
|
12
|
-
height: "100%",
|
|
13
|
-
border: true,
|
|
14
|
-
showSeq: true,
|
|
15
|
-
selectType: "checkbox",
|
|
16
|
-
columnConfig: { resizable: true },
|
|
17
|
-
rowConfig: { height: 32, isHover: true, isCurrent: true, keyField: "theUniqueKey" },
|
|
18
|
-
editConfig: {
|
|
19
|
-
trigger: "click",
|
|
20
|
-
mode: "cell",
|
|
21
|
-
autoClear: false,
|
|
22
|
-
showIcon: false
|
|
23
|
-
}
|
|
24
|
-
}, config);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { defaultConfigPlugin };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { defaultConfigPlugin } from './defaultConfigPlugin/index2.js';
|
|
2
|
-
export { lowCodeFieldAdaptorPlugin } from './lowCodeFieldAdaptorPlugin/index2.js';
|
|
3
|
-
export { labelRendererPlugin } from './rendererPlugins/widgets/labelRendererPlugin.js';
|
|
4
|
-
export { defaultRendererPlugin } from './rendererPlugins/widgets/defaultRendererPlugin.js';
|
|
5
|
-
export { colorRendererPlugin } from './rendererPlugins/widgets/colorRendererPlugin.js';
|
|
6
|
-
export { seqRendererPlugin } from './rendererPlugins/widgets/seqRendererPlugin.js';
|
|
7
|
-
export { checkRendererPlugin } from './rendererPlugins/widgets/checkRendererPlugin.js';
|
|
8
|
-
export { pictureRendererPlugin } from './rendererPlugins/widgets/pictureRendererPlugin.js';
|
|
9
|
-
export { inputRendererPlugin } from './rendererPlugins/editableWidgets/inputRendererPlugin.js';
|
|
10
|
-
export { separateRendererPlugins } from './rendererPlugins/editableWidgets/separateRendererPlugin/index.js';
|
|
11
|
-
export { rowGroupSettingPlugin } from './rowGroupSettingPlugin/index2.js';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { pick, cloneDeep } from 'lodash-es';
|
|
2
|
-
import { toRaw } from 'vue';
|
|
3
|
-
import { HIGHEST_PRIORITY, WIDGET_TYPE } from '../../constants/index2.js';
|
|
4
|
-
import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
|
|
5
|
-
|
|
6
|
-
function lowCodeFieldAdaptorPlugin() {
|
|
7
|
-
const pluginName = "lowCodeFieldAdaptorPlugin";
|
|
8
|
-
return defineTablePlugin({
|
|
9
|
-
name: pluginName,
|
|
10
|
-
apply(hooks) {
|
|
11
|
-
hooks.fieldHooks.field.tap({ name: pluginName, stage: HIGHEST_PRIORITY }, (field) => {
|
|
12
|
-
const _field = field;
|
|
13
|
-
const result = {
|
|
14
|
-
field: _field.columnName,
|
|
15
|
-
width: _field.colWidth,
|
|
16
|
-
showOverflow: "tooltip",
|
|
17
|
-
...pick(_field, ["title"])
|
|
18
|
-
};
|
|
19
|
-
settingObjAdaptor(result, _field);
|
|
20
|
-
return result;
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
function settingObjAdaptor(fieldItem, lowCodeField) {
|
|
26
|
-
if (!lowCodeField.settingObj)
|
|
27
|
-
return;
|
|
28
|
-
fieldItem.editRender = {
|
|
29
|
-
name: lowCodeField.settingObj.attr || "DEFAULT",
|
|
30
|
-
props: cloneDeep(toRaw(lowCodeField))
|
|
31
|
-
};
|
|
32
|
-
fieldItem.editRender.enabled = !Reflect.get(WIDGET_TYPE, fieldItem.editRender.name);
|
|
33
|
-
fieldItem.visible = lowCodeField.settingObj.isHide !== "1";
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { lowCodeFieldAdaptorPlugin };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { contentSeparate, generateSeparateRowData, getColumnInfoMaxLength, getColumnRenderWidth, isSeparateColumn } from './separate-utils2.js';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { isObject } from '@vue/shared';
|
|
2
|
-
import '../../../index2.js';
|
|
3
|
-
import { groupTraverser, createRowGroupList } from './row-group-utils2.js';
|
|
4
|
-
import { defineTablePlugin } from '../../hooks/useTablePlugin2.js';
|
|
5
|
-
|
|
6
|
-
function rowGroupSettingPlugin() {
|
|
7
|
-
const pluginName = "rowGroupSettingPlugin";
|
|
8
|
-
return defineTablePlugin({
|
|
9
|
-
name: pluginName,
|
|
10
|
-
apply(hooks) {
|
|
11
|
-
hooks.fieldHooks.fieldList.tap(pluginName, (fieldList, config) => {
|
|
12
|
-
if (!isObject(config.rowGroupSetting))
|
|
13
|
-
return fieldList;
|
|
14
|
-
return groupTraverser(createRowGroupList(config.rowGroupSetting, fieldList), (fieldName, isBlock) => {
|
|
15
|
-
if (isBlock)
|
|
16
|
-
return { field: fieldName, title: fieldName };
|
|
17
|
-
return fieldSearcher(fieldName, fieldList);
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
function fieldSearcher(fieldName, fieldList) {
|
|
24
|
-
return fieldList.find((field) => field.field === fieldName);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { rowGroupSettingPlugin };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { createRowGroupList, groupTraverser } from './row-group-utils2.js';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
class AbstractConfigHooks {
|
|
2
|
-
}
|
|
3
|
-
class AbstractFieldHooks {
|
|
4
|
-
}
|
|
5
|
-
class AbstractEventHooks {
|
|
6
|
-
}
|
|
7
|
-
class AbstractDataHooks {
|
|
8
|
-
}
|
|
9
|
-
class AbstractSetupHooks {
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { AbstractConfigHooks, AbstractDataHooks, AbstractEventHooks, AbstractFieldHooks, AbstractSetupHooks };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { inject } from 'vue';
|
|
2
|
-
import { InjectionIhoTableConfig } from '../constants/index2.js';
|
|
3
|
-
|
|
4
|
-
function IhoTableLog(message) {
|
|
5
|
-
return console.log(`[IhoTable]: ${message}`);
|
|
6
|
-
}
|
|
7
|
-
function IhoTableWarn(message) {
|
|
8
|
-
return console.warn(`[IhoTable]: ${message}`);
|
|
9
|
-
}
|
|
10
|
-
function getRowHeight() {
|
|
11
|
-
var _a, _b, _c;
|
|
12
|
-
const config = inject(InjectionIhoTableConfig);
|
|
13
|
-
if (!config) {
|
|
14
|
-
IhoTableWarn("this function(getRowHeight) only can be used in setup environment");
|
|
15
|
-
}
|
|
16
|
-
return (_c = (_b = (_a = config == null ? void 0 : config.value) == null ? void 0 : _a.rowConfig) == null ? void 0 : _b.height) != null ? _c : 32;
|
|
17
|
-
}
|
|
18
|
-
function getEventName(eventListenerName) {
|
|
19
|
-
const eventName = eventListenerName.slice(2);
|
|
20
|
-
return `${eventName[0].toLowerCase()}${eventName.slice(1)}`;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export { IhoTableLog, IhoTableWarn, getEventName, getRowHeight };
|
package/es/components/index2.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import Grid from './grid/index2.js';
|
|
2
|
-
export { default as CGrid } from './grid/index2.js';
|
|
3
|
-
import BigTable from './big-table/index2.js';
|
|
4
|
-
export { default as CBigTable } from './big-table/index2.js';
|
|
5
|
-
import FieldSet from './field-set/index2.js';
|
|
6
|
-
export { default as CFieldSet } from './field-set/index2.js';
|
|
7
|
-
import DragLayout from './drag-layout/index2.js';
|
|
8
|
-
export { default as CDragLayout } from './drag-layout/index2.js';
|
|
9
|
-
import ButtonPrint from './button-print/index2.js';
|
|
10
|
-
export { default as CButtonPrint } from './button-print/index2.js';
|
|
11
|
-
import SelectPerson from './select-person/index2.js';
|
|
12
|
-
export { default as CSelectPerson } from './select-person/index2.js';
|
|
13
|
-
import SelectLabel, { CLabelFormContent as LabelFormContent } from './select-label/index2.js';
|
|
14
|
-
export { CLabelFormContent, default as CSelectLabel } from './select-label/index2.js';
|
|
15
|
-
import Map from './map/index2.js';
|
|
16
|
-
export { default as CMap } from './map/index2.js';
|
|
17
|
-
import VodChunkUpload from './chunk-upload/index2.js';
|
|
18
|
-
export { default as CVodChunkUpload } from './chunk-upload/index2.js';
|
|
19
|
-
import { CScaleView, CRadio, CCheckbox, CSelect, CDatetime } from './scale-view/index2.js';
|
|
20
|
-
export { CCheckbox, CDatetime, CRadio, CScaleView, CSelect } from './scale-view/index2.js';
|
|
21
|
-
import InfoHeader from './info-header/index2.js';
|
|
22
|
-
export { default as CInfoHeader } from './info-header/index2.js';
|
|
23
|
-
import TimeLine from './time-line/index2.js';
|
|
24
|
-
export { default as CTimeLine } from './time-line/index2.js';
|
|
25
|
-
import BpmnWorkflow from './bpmn-workflow/index2.js';
|
|
26
|
-
export { default as CBpmnWorkflow } from './bpmn-workflow/index2.js';
|
|
27
|
-
import StepsWheel from './steps-wheel/index2.js';
|
|
28
|
-
export { default as CStepsWheel } from './steps-wheel/index2.js';
|
|
29
|
-
import Editor from './editor/index2.js';
|
|
30
|
-
export { default as Editor } from './editor/index2.js';
|
|
31
|
-
import FormRender from './form-render/index2.js';
|
|
32
|
-
export { default as CFormRender } from './form-render/index2.js';
|
|
33
|
-
import FabricChart from './fabric-chart/index2.js';
|
|
34
|
-
export { default as CFabricChart } from './fabric-chart/index2.js';
|
|
35
|
-
import ShortcutProvider from './shortcut-provider/index2.js';
|
|
36
|
-
export { default as CShortcutProvider } from './shortcut-provider/index2.js';
|
|
37
|
-
import ShortcutSetter from './shortcut-setter/index2.js';
|
|
38
|
-
export { default as CShortcutSetter } from './shortcut-setter/index2.js';
|
|
39
|
-
import FormConfig from './form-config/index2.js';
|
|
40
|
-
export { default as CFormConfig } from './form-config/index2.js';
|
|
41
|
-
import IhoTable from './iho-table/index2.js';
|
|
42
|
-
export { default as CIhoTable, useIhoTablePresetPlugins } from './iho-table/index2.js';
|
|
43
|
-
|
|
44
|
-
const components = {
|
|
45
|
-
CGrid: Grid,
|
|
46
|
-
CBigTable: BigTable,
|
|
47
|
-
CFieldSet: FieldSet,
|
|
48
|
-
CDragLayout: DragLayout,
|
|
49
|
-
CButtonPrint: ButtonPrint,
|
|
50
|
-
CSelectPerson: SelectPerson,
|
|
51
|
-
CSelectLabel: SelectLabel,
|
|
52
|
-
CLabelFormContent: LabelFormContent,
|
|
53
|
-
CScaleView,
|
|
54
|
-
CMap: Map,
|
|
55
|
-
CVodChunkUpload: VodChunkUpload,
|
|
56
|
-
CRadio,
|
|
57
|
-
CCheckbox,
|
|
58
|
-
CSelect,
|
|
59
|
-
CDatetime,
|
|
60
|
-
CInfoHeader: InfoHeader,
|
|
61
|
-
CTimeLine: TimeLine,
|
|
62
|
-
CBpmnWorkflow: BpmnWorkflow,
|
|
63
|
-
CStepsWheel: StepsWheel,
|
|
64
|
-
Editor,
|
|
65
|
-
CFormRender: FormRender,
|
|
66
|
-
CFabricChart: FabricChart,
|
|
67
|
-
CShortcutProvider: ShortcutProvider,
|
|
68
|
-
CShortcutSetter: ShortcutSetter,
|
|
69
|
-
CFormConfig: FormConfig,
|
|
70
|
-
CIhoTable: IhoTable
|
|
71
|
-
};
|
|
72
|
-
function install(app) {
|
|
73
|
-
Object.values(components).forEach((component) => {
|
|
74
|
-
component.install(app);
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
var index = { install, ...components };
|
|
78
|
-
|
|
79
|
-
export { index as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_NAMESPACE } from '../../shared/global/variable2.js';
|
|
2
|
-
import { safeComponentRegister } from '../../shared/utils/index2.js';
|
|
3
|
-
import script from './src/InfoHeader.js';
|
|
4
|
-
|
|
5
|
-
const InfoHeader = script;
|
|
6
|
-
InfoHeader.install = function(app) {
|
|
7
|
-
safeComponentRegister(app, InfoHeader, COMPONENT_NAMESPACE + "InfoHeader");
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export { InfoHeader as default };
|