@ibiz-template/vue3-util 0.6.1-dev.0 → 0.6.1-dev.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/dist/index.min.css +1 -1
- package/lib/_virtual/_commonjsHelpers.cjs +46 -0
- package/lib/common/badge/badge.cjs +34 -0
- package/lib/common/badge/badge.css +1 -0
- package/lib/common/code-list/code-list.cjs +105 -0
- package/lib/common/code-list/code-list.css +1 -0
- package/lib/common/control-base/control-base.cjs +102 -0
- package/lib/common/control-base/control-base.css +1 -0
- package/lib/common/control-loading-placeholder/control-loading-placeholder.cjs +32 -0
- package/lib/common/control-shell/control-shell.cjs +58 -0
- package/lib/common/control-shell/control-shell.css +1 -0
- package/lib/common/icon/icon.cjs +103 -0
- package/lib/common/index.cjs +21 -0
- package/lib/common/router-view/router-view.cjs +77 -0
- package/lib/common/view-shell/view-shell.cjs +137 -0
- package/lib/common/view-shell/view-shell.css +1 -0
- package/lib/control/index.cjs +10 -0
- package/lib/control/panel/index.cjs +9 -0
- package/lib/control/panel/panel/index.cjs +18 -0
- package/lib/control/panel/panel/panel.cjs +142 -0
- package/lib/control/panel/panel/panel.css +1 -0
- package/lib/control/panel/panel/panel.provider.cjs +10 -0
- package/lib/control/panel/view-layout-panel/index.cjs +24 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel.cjs +144 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel.css +1 -0
- package/lib/control/panel/view-layout-panel/view-layout-panel.provider.cjs +10 -0
- package/lib/hooks/app/app.hooks.cjs +26 -0
- package/lib/hooks/index.cjs +7 -0
- package/lib/interface/index.cjs +5 -0
- package/lib/interface/util/index.cjs +5 -0
- package/lib/interface/util/route/route.cjs +3 -0
- package/lib/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.cjs +540 -0
- package/lib/panel-component/grid-container/grid-container.cjs +108 -0
- package/lib/panel-component/grid-container/grid-container.controller.cjs +14 -0
- package/lib/panel-component/grid-container/grid-container.css +1 -0
- package/lib/panel-component/grid-container/grid-container.provider.cjs +17 -0
- package/lib/panel-component/grid-container/grid-container.state.cjs +9 -0
- package/lib/panel-component/grid-container/index.cjs +25 -0
- package/lib/panel-component/index.cjs +73 -0
- package/lib/panel-component/multi-data-container/index.cjs +28 -0
- package/lib/panel-component/multi-data-container/multi-data-container-item.controller.cjs +119 -0
- package/lib/panel-component/multi-data-container/multi-data-container-itm.state.cjs +19 -0
- package/lib/panel-component/multi-data-container/multi-data-container.cjs +89 -0
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +262 -0
- package/lib/panel-component/multi-data-container/multi-data-container.css +1 -0
- package/lib/panel-component/multi-data-container/multi-data-container.provider.cjs +17 -0
- package/lib/panel-component/multi-data-container/multi-data-container.state.cjs +19 -0
- package/lib/panel-component/nav-pos/index.cjs +22 -0
- package/lib/panel-component/nav-pos/nav-pos.cjs +107 -0
- package/lib/panel-component/nav-pos/nav-pos.controller.cjs +312 -0
- package/lib/panel-component/nav-pos/nav-pos.css +1 -0
- package/lib/panel-component/nav-pos/nav-pos.provider.cjs +26 -0
- package/lib/panel-component/nav-pos/nav-pos.state.cjs +49 -0
- package/lib/panel-component/panel-container/index.cjs +29 -0
- package/lib/panel-component/panel-container/panel-container.cjs +72 -0
- package/lib/panel-component/panel-container/panel-container.controller.cjs +14 -0
- package/lib/panel-component/panel-container/panel-container.css +1 -0
- package/lib/panel-component/panel-container/panel-container.provider.cjs +17 -0
- package/lib/panel-component/panel-container/panel-container.state.cjs +9 -0
- package/lib/panel-component/panel-container-group/index.cjs +28 -0
- package/lib/panel-component/panel-container-group/panel-container-group.cjs +110 -0
- package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +37 -0
- package/lib/panel-component/panel-container-group/panel-container-group.css +1 -0
- package/lib/panel-component/panel-container-group/panel-container-group.provider.cjs +17 -0
- package/lib/panel-component/panel-container-group/panel-container-group.state.cjs +9 -0
- package/lib/panel-component/panel-container-image/index.cjs +28 -0
- package/lib/panel-component/panel-container-image/panel-container-image.cjs +95 -0
- package/lib/panel-component/panel-container-image/panel-container-image.controller.cjs +14 -0
- package/lib/panel-component/panel-container-image/panel-container-image.css +1 -0
- package/lib/panel-component/panel-container-image/panel-container-image.provider.cjs +17 -0
- package/lib/panel-component/panel-container-image/panel-container-image.state.cjs +9 -0
- package/lib/panel-component/panel-ctrl-pos/index.cjs +20 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.cjs +47 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.cjs +25 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +1 -0
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.cjs +17 -0
- package/lib/panel-component/panel-field/index.cjs +20 -0
- package/lib/panel-component/panel-field/panel-field.cjs +78 -0
- package/lib/panel-component/panel-field/panel-field.controller.cjs +132 -0
- package/lib/panel-component/panel-field/panel-field.css +1 -0
- package/lib/panel-component/panel-field/panel-field.provider.cjs +17 -0
- package/lib/panel-component/panel-field/panel-field.state.cjs +9 -0
- package/lib/panel-component/panel-item-render/index.cjs +24 -0
- package/lib/panel-component/panel-item-render/panel-item-render.cjs +49 -0
- package/lib/panel-component/panel-item-render/panel-item-render.controller.cjs +31 -0
- package/lib/panel-component/panel-item-render/panel-item-render.provider.cjs +17 -0
- package/lib/panel-component/panel-rawitem/index.cjs +32 -0
- package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +61 -0
- package/lib/panel-component/panel-rawitem/panel-rawitem.controller.cjs +30 -0
- package/lib/panel-component/panel-rawitem/panel-rawitem.css +1 -0
- package/lib/panel-component/panel-rawitem/panel-rawitem.provider.cjs +17 -0
- package/lib/panel-component/panel-tab-page/index.cjs +18 -0
- package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +65 -0
- package/lib/panel-component/panel-tab-page/panel-tab-page.provider.cjs +17 -0
- package/lib/panel-component/scroll-container/index.cjs +55 -0
- package/lib/panel-component/scroll-container/scroll-container/index.cjs +9 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.cjs +114 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.cjs +14 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.css +1 -0
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.provider.cjs +17 -0
- package/lib/panel-component/scroll-container/scroll-container-item/index.cjs +9 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.cjs +66 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.cjs +9 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +1 -0
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.cjs +17 -0
- package/lib/panel-component/single-data-container/index.cjs +28 -0
- package/lib/panel-component/single-data-container/single-data-container.cjs +79 -0
- package/lib/panel-component/single-data-container/single-data-container.controller.cjs +287 -0
- package/lib/panel-component/single-data-container/single-data-container.css +1 -0
- package/lib/panel-component/single-data-container/single-data-container.provider.cjs +17 -0
- package/lib/panel-component/single-data-container/single-data-container.state.cjs +19 -0
- package/lib/plugin/index.cjs +7 -0
- package/{src/plugin/plugin-factory/plugin-factory.ts → lib/plugin/plugin-factory/plugin-factory.cjs} +137 -182
- package/lib/props/common.cjs +17 -0
- package/lib/props/editor/array.cjs +14 -0
- package/lib/props/editor/autocomplete.cjs +14 -0
- package/lib/props/editor/cascader.cjs +14 -0
- package/lib/props/editor/check-box-list.cjs +14 -0
- package/lib/props/editor/check-box.cjs +14 -0
- package/lib/props/editor/code.cjs +23 -0
- package/lib/props/editor/color-picker.cjs +14 -0
- package/lib/props/editor/common.cjs +62 -0
- package/lib/props/editor/data-picker.cjs +14 -0
- package/lib/props/editor/date-picker.cjs +14 -0
- package/lib/props/editor/date-range.cjs +14 -0
- package/lib/props/editor/dropdown-list.cjs +14 -0
- package/lib/props/editor/html.cjs +14 -0
- package/lib/props/editor/index.cjs +86 -0
- package/lib/props/editor/list-box.cjs +14 -0
- package/lib/props/editor/markdown.cjs +22 -0
- package/lib/props/editor/number-range.cjs +14 -0
- package/lib/props/editor/radio-button-list.cjs +14 -0
- package/lib/props/editor/rate.cjs +14 -0
- package/lib/props/editor/raw.cjs +14 -0
- package/lib/props/editor/slider.cjs +14 -0
- package/lib/props/editor/span.cjs +14 -0
- package/lib/props/editor/stepper.cjs +14 -0
- package/lib/props/editor/switch.cjs +14 -0
- package/lib/props/editor/text-box.cjs +30 -0
- package/lib/props/editor/upload.cjs +14 -0
- package/lib/props/index.cjs +89 -0
- package/lib/use/click-outside/click-outside.cjs +50 -0
- package/lib/use/control/index.cjs +7 -0
- package/lib/use/control/use-control-controller/use-control-controller.cjs +78 -0
- package/lib/use/event/event.cjs +39 -0
- package/lib/use/focus-blur/focus-blur.cjs +48 -0
- package/lib/use/index.cjs +34 -0
- package/lib/use/namespace/namespace.cjs +10 -0
- package/lib/use/route/route.cjs +31 -0
- package/lib/use/util/index.cjs +14 -0
- package/lib/use/view/index.cjs +7 -0
- package/lib/use/view/use-view-controller/use-view-controller.cjs +86 -0
- package/lib/use/vue/vue.cjs +64 -0
- package/lib/util/control/prepare-control.cjs +24 -0
- package/lib/util/index.cjs +43 -0
- package/lib/util/install.cjs +11 -0
- package/lib/util/overlay-container/overlay-container.cjs +116 -0
- package/lib/util/overlay-popover-container/overlay-popover-container.cjs +12 -0
- package/lib/util/overlay-view-util/overlay-view-util.cjs +70 -0
- package/lib/util/render/render.cjs +22 -0
- package/lib/util/route/route-listener.cjs +75 -0
- package/lib/util/route/route.cjs +302 -0
- package/lib/util/router-callback/router-callback-item.cjs +74 -0
- package/{src/util/router-callback/router-callback.ts → lib/util/router-callback/router-callback.cjs} +28 -40
- package/lib/util/store/app-store/app-store.cjs +12 -0
- package/lib/util/store/index.cjs +12 -0
- package/lib/util/store/ui-store/ui-store.cjs +17 -0
- package/lib/util/store/ui-store/z-index.cjs +20 -0
- package/lib/view/app-redirect-view/app-redirect-view.cjs +29 -0
- package/lib/view/common/index.cjs +15 -0
- package/lib/view/common/view.cjs +129 -0
- package/lib/view/common/view.css +1 -0
- package/lib/view/common/view.provider.cjs +10 -0
- package/lib/view/de-redirect-view/de-redirect-view.cjs +64 -0
- package/lib/view/de-redirect-view/de-redirect-view.provider.cjs +10 -0
- package/lib/view/de-redirect-view/index.cjs +22 -0
- package/lib/view/index.cjs +15 -0
- package/lib/view/portal-view/index.cjs +23 -0
- package/lib/view/portal-view/portal-view.cjs +95 -0
- package/lib/view/portal-view/portal-view.provider.cjs +10 -0
- package/lib/view/todo-redirect/todo-redirect.cjs +54 -0
- package/package.json +5 -5
- package/src/common/badge/badge.scss +0 -29
- package/src/common/badge/badge.tsx +0 -26
- package/src/common/code-list/code-list.scss +0 -15
- package/src/common/code-list/code-list.tsx +0 -127
- package/src/common/control-base/control-base.scss +0 -4
- package/src/common/control-base/control-base.tsx +0 -130
- package/src/common/control-loading-placeholder/control-loading-placeholder.tsx +0 -22
- package/src/common/control-shell/control-shell.scss +0 -5
- package/src/common/control-shell/control-shell.tsx +0 -70
- package/src/common/icon/icon.tsx +0 -82
- package/src/common/index.ts +0 -8
- package/src/common/router-view/router-view.tsx +0 -74
- package/src/common/view-shell/view-shell.scss +0 -5
- package/src/common/view-shell/view-shell.tsx +0 -163
- package/src/control/index.ts +0 -1
- package/src/control/panel/index.ts +0 -2
- package/src/control/panel/panel/index.ts +0 -12
- package/src/control/panel/panel/panel.provider.ts +0 -14
- package/src/control/panel/panel/panel.scss +0 -9
- package/src/control/panel/panel/panel.tsx +0 -166
- package/src/control/panel/view-layout-panel/index.ts +0 -18
- package/src/control/panel/view-layout-panel/view-layout-panel.provider.ts +0 -14
- package/src/control/panel/view-layout-panel/view-layout-panel.scss +0 -9
- package/src/control/panel/view-layout-panel/view-layout-panel.tsx +0 -178
- package/src/hooks/app/app.hooks.ts +0 -31
- package/src/hooks/index.ts +0 -1
- package/src/index.ts +0 -18
- package/src/interface/index.ts +0 -1
- package/src/interface/util/index.ts +0 -1
- package/src/interface/util/route/route.ts +0 -116
- package/src/panel-component/grid-container/grid-container.controller.ts +0 -18
- package/src/panel-component/grid-container/grid-container.provider.ts +0 -30
- package/src/panel-component/grid-container/grid-container.scss +0 -17
- package/src/panel-component/grid-container/grid-container.state.ts +0 -12
- package/src/panel-component/grid-container/grid-container.tsx +0 -119
- package/src/panel-component/grid-container/index.ts +0 -19
- package/src/panel-component/index.ts +0 -13
- package/src/panel-component/multi-data-container/index.ts +0 -22
- package/src/panel-component/multi-data-container/multi-data-container-item.controller.ts +0 -166
- package/src/panel-component/multi-data-container/multi-data-container-itm.state.ts +0 -20
- package/src/panel-component/multi-data-container/multi-data-container.controller.ts +0 -308
- package/src/panel-component/multi-data-container/multi-data-container.provider.ts +0 -30
- package/src/panel-component/multi-data-container/multi-data-container.scss +0 -10
- package/src/panel-component/multi-data-container/multi-data-container.state.ts +0 -20
- package/src/panel-component/multi-data-container/multi-data-container.tsx +0 -109
- package/src/panel-component/nav-pos/index.ts +0 -16
- package/src/panel-component/nav-pos/nav-pos.controller.ts +0 -401
- package/src/panel-component/nav-pos/nav-pos.provider.ts +0 -38
- package/src/panel-component/nav-pos/nav-pos.scss +0 -4
- package/src/panel-component/nav-pos/nav-pos.state.ts +0 -52
- package/src/panel-component/nav-pos/nav-pos.tsx +0 -121
- package/src/panel-component/panel-container/index.ts +0 -27
- package/src/panel-component/panel-container/panel-container.controller.ts +0 -18
- package/src/panel-component/panel-container/panel-container.provider.ts +0 -30
- package/src/panel-component/panel-container/panel-container.scss +0 -15
- package/src/panel-component/panel-container/panel-container.state.ts +0 -12
- package/src/panel-component/panel-container/panel-container.tsx +0 -72
- package/src/panel-component/panel-container-group/index.ts +0 -22
- package/src/panel-component/panel-container-group/panel-container-group.controller.ts +0 -43
- package/src/panel-component/panel-container-group/panel-container-group.provider.ts +0 -30
- package/src/panel-component/panel-container-group/panel-container-group.scss +0 -91
- package/src/panel-component/panel-container-group/panel-container-group.state.ts +0 -12
- package/src/panel-component/panel-container-group/panel-container-group.tsx +0 -112
- package/src/panel-component/panel-container-image/index.ts +0 -22
- package/src/panel-component/panel-container-image/panel-container-image.controller.ts +0 -18
- package/src/panel-component/panel-container-image/panel-container-image.provider.ts +0 -30
- package/src/panel-component/panel-container-image/panel-container-image.scss +0 -18
- package/src/panel-component/panel-container-image/panel-container-image.state.ts +0 -12
- package/src/panel-component/panel-container-image/panel-container-image.tsx +0 -95
- package/src/panel-component/panel-ctrl-pos/index.ts +0 -14
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.ts +0 -53
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.ts +0 -30
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.scss +0 -8
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.tsx +0 -53
- package/src/panel-component/panel-field/index.ts +0 -14
- package/src/panel-component/panel-field/panel-field.controller.ts +0 -174
- package/src/panel-component/panel-field/panel-field.provider.ts +0 -28
- package/src/panel-component/panel-field/panel-field.scss +0 -36
- package/src/panel-component/panel-field/panel-field.state.ts +0 -12
- package/src/panel-component/panel-field/panel-field.tsx +0 -81
- package/src/panel-component/panel-item-render/index.ts +0 -18
- package/src/panel-component/panel-item-render/panel-item-render.controller.ts +0 -52
- package/src/panel-component/panel-item-render/panel-item-render.provider.ts +0 -30
- package/src/panel-component/panel-item-render/panel-item-render.tsx +0 -50
- package/src/panel-component/panel-rawitem/index.ts +0 -26
- package/src/panel-component/panel-rawitem/panel-rawitem.controller.ts +0 -34
- package/src/panel-component/panel-rawitem/panel-rawitem.provider.ts +0 -28
- package/src/panel-component/panel-rawitem/panel-rawitem.scss +0 -8
- package/src/panel-component/panel-rawitem/panel-rawitem.tsx +0 -61
- package/src/panel-component/panel-tab-page/index.ts +0 -12
- package/src/panel-component/panel-tab-page/panel-tab-page.provider.ts +0 -27
- package/src/panel-component/panel-tab-page/panel-tab-page.tsx +0 -55
- package/src/panel-component/scroll-container/index.ts +0 -44
- package/src/panel-component/scroll-container/scroll-container/index.ts +0 -2
- package/src/panel-component/scroll-container/scroll-container/scroll-container.controller.ts +0 -32
- package/src/panel-component/scroll-container/scroll-container/scroll-container.provider.ts +0 -30
- package/src/panel-component/scroll-container/scroll-container/scroll-container.scss +0 -34
- package/src/panel-component/scroll-container/scroll-container/scroll-container.tsx +0 -110
- package/src/panel-component/scroll-container/scroll-container-item/index.ts +0 -2
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.ts +0 -25
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.ts +0 -30
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.scss +0 -9
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.tsx +0 -60
- package/src/panel-component/single-data-container/index.ts +0 -22
- package/src/panel-component/single-data-container/single-data-container.controller.ts +0 -345
- package/src/panel-component/single-data-container/single-data-container.provider.ts +0 -30
- package/src/panel-component/single-data-container/single-data-container.scss +0 -10
- package/src/panel-component/single-data-container/single-data-container.state.ts +0 -20
- package/src/panel-component/single-data-container/single-data-container.tsx +0 -95
- package/src/plugin/index.ts +0 -1
- package/src/props/common.ts +0 -30
- package/src/props/editor/array.ts +0 -27
- package/src/props/editor/autocomplete.ts +0 -27
- package/src/props/editor/cascader.ts +0 -27
- package/src/props/editor/check-box-list.ts +0 -27
- package/src/props/editor/check-box.ts +0 -27
- package/src/props/editor/code.ts +0 -36
- package/src/props/editor/color-picker.ts +0 -27
- package/src/props/editor/common.ts +0 -94
- package/src/props/editor/data-picker.ts +0 -27
- package/src/props/editor/date-picker.ts +0 -27
- package/src/props/editor/date-range.ts +0 -23
- package/src/props/editor/dropdown-list.ts +0 -27
- package/src/props/editor/html.ts +0 -27
- package/src/props/editor/index.ts +0 -25
- package/src/props/editor/list-box.ts +0 -27
- package/src/props/editor/markdown.ts +0 -35
- package/src/props/editor/number-range.ts +0 -23
- package/src/props/editor/radio-button-list.ts +0 -27
- package/src/props/editor/rate.ts +0 -23
- package/src/props/editor/raw.ts +0 -23
- package/src/props/editor/slider.ts +0 -23
- package/src/props/editor/span.ts +0 -27
- package/src/props/editor/stepper.ts +0 -23
- package/src/props/editor/switch.ts +0 -23
- package/src/props/editor/text-box.ts +0 -79
- package/src/props/editor/upload.ts +0 -27
- package/src/props/index.ts +0 -2
- package/src/types/index.d.ts +0 -8
- package/src/use/click-outside/click-outside.ts +0 -72
- package/src/use/control/index.ts +0 -1
- package/src/use/control/use-control-controller/use-control-controller.ts +0 -153
- package/src/use/event/event.ts +0 -57
- package/src/use/focus-blur/focus-blur.ts +0 -83
- package/src/use/index.ts +0 -9
- package/src/use/namespace/namespace.ts +0 -14
- package/src/use/route/route.ts +0 -47
- package/src/use/util/index.ts +0 -26
- package/src/use/view/index.ts +0 -1
- package/src/use/view/use-view-controller/use-view-controller.ts +0 -153
- package/src/use/vue/vue.ts +0 -142
- package/src/util/control/prepare-control.ts +0 -33
- package/src/util/index.ts +0 -10
- package/src/util/install.ts +0 -14
- package/src/util/overlay-container/overlay-container.ts +0 -155
- package/src/util/overlay-popover-container/overlay-popover-container.ts +0 -30
- package/src/util/overlay-view-util/overlay-view-util.ts +0 -89
- package/src/util/render/render.ts +0 -28
- package/src/util/route/route-listener.ts +0 -91
- package/src/util/route/route.ts +0 -520
- package/src/util/router-callback/router-callback-item.ts +0 -98
- package/src/util/store/app-store/app-store.ts +0 -10
- package/src/util/store/index.ts +0 -6
- package/src/util/store/ui-store/ui-store.ts +0 -27
- package/src/util/store/ui-store/z-index.ts +0 -53
- package/src/view/app-redirect-view/app-redirect-view.tsx +0 -26
- package/src/view/common/index.ts +0 -10
- package/src/view/common/view.provider.ts +0 -14
- package/src/view/common/view.scss +0 -38
- package/src/view/common/view.tsx +0 -152
- package/src/view/de-redirect-view/de-redirect-view.provider.ts +0 -14
- package/src/view/de-redirect-view/de-redirect-view.tsx +0 -62
- package/src/view/de-redirect-view/index.ts +0 -17
- package/src/view/index.ts +0 -5
- package/src/view/portal-view/index.ts +0 -18
- package/src/view/portal-view/portal-view.provider.ts +0 -14
- package/src/view/portal-view/portal-view.tsx +0 -79
- package/src/view/todo-redirect/todo-redirect.tsx +0 -51
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取自动完成的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getAutoCompleteProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格自动完成的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridAutoCompleteProps<C>() {
|
|
26
|
-
return { ...getAutoCompleteProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取级联选择器的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getCascaderProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: String };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格级联选择器的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridCascaderProps<C>() {
|
|
26
|
-
return { ...getCascaderProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取选项框列表的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getCheckboxListProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格选项框列表的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridCheckboxListProps<C>() {
|
|
26
|
-
return { ...getCheckboxListProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取选项框的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getCheckboxProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格选项框列表的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridCheckboxProps<C>() {
|
|
26
|
-
return { ...getCheckboxProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
package/src/props/editor/code.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取代码编辑器的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getCodeProps<C>() {
|
|
13
|
-
return {
|
|
14
|
-
...getEditorProps<C>(),
|
|
15
|
-
value: String,
|
|
16
|
-
language: {
|
|
17
|
-
type: String,
|
|
18
|
-
},
|
|
19
|
-
theme: {
|
|
20
|
-
type: String,
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* 获取表格代码编辑器的props
|
|
27
|
-
*
|
|
28
|
-
* @author lxm
|
|
29
|
-
* @date 2022-11-01 19:11:12
|
|
30
|
-
* @export
|
|
31
|
-
* @template C
|
|
32
|
-
* @returns {*}
|
|
33
|
-
*/
|
|
34
|
-
export function getGridCodeProps<C>() {
|
|
35
|
-
return { ...getCodeProps<C>(), ...getGridEditorCommonProps() };
|
|
36
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取颜色选择器的props
|
|
5
|
-
*
|
|
6
|
-
* @author zzq
|
|
7
|
-
* @date 2323-8-14 19:42:00
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getColorPickerProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: String };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格颜色选择器的props
|
|
18
|
-
*
|
|
19
|
-
* @author zzq
|
|
20
|
-
* @date 2323-8-14 19:42:00
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridColorPickerProps<C>() {
|
|
26
|
-
return { ...getColorPickerProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { RequiredProp } from '../common';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* 获取编辑器通用props
|
|
7
|
-
*
|
|
8
|
-
* @author lxm
|
|
9
|
-
* @date 2022-11-01 19:11:04
|
|
10
|
-
* @export
|
|
11
|
-
* @template C
|
|
12
|
-
* @returns {*}
|
|
13
|
-
*/
|
|
14
|
-
export function getEditorProps<C>() {
|
|
15
|
-
return {
|
|
16
|
-
value: String,
|
|
17
|
-
controller: new RequiredProp(Object as PropType<C>),
|
|
18
|
-
data: new RequiredProp(Object as PropType<IData>),
|
|
19
|
-
disabled: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
},
|
|
22
|
-
readonly: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false,
|
|
25
|
-
},
|
|
26
|
-
autoFocus: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: false,
|
|
29
|
-
},
|
|
30
|
-
overflowMode: { type: String },
|
|
31
|
-
controlParams: {
|
|
32
|
-
type: Object,
|
|
33
|
-
required: false,
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* 获取编辑器通用emits
|
|
40
|
-
*
|
|
41
|
-
* @author lxm
|
|
42
|
-
* @date 2022-11-03 19:11:04
|
|
43
|
-
* @export
|
|
44
|
-
* @template V
|
|
45
|
-
* @returns {*}
|
|
46
|
-
*/
|
|
47
|
-
export function getEditorEmits<V>() {
|
|
48
|
-
return {
|
|
49
|
-
/** 值变更事件 */
|
|
50
|
-
change: (_value: V, _name?: string) => true,
|
|
51
|
-
/** 失焦事件 */
|
|
52
|
-
blur: (_event?: IData) => true,
|
|
53
|
-
/** 聚焦事件 */
|
|
54
|
-
focus: (_event?: IData) => true,
|
|
55
|
-
/** 回车事件 */
|
|
56
|
-
enter: (_event?: IData) => true,
|
|
57
|
-
/** 信息文本变更事件 */
|
|
58
|
-
infoTextChange: (_text: string) => true,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* 获取表格列编辑器通用emits
|
|
64
|
-
*
|
|
65
|
-
* @author lxm
|
|
66
|
-
* @date 2022-11-01 19:11:04
|
|
67
|
-
* @export
|
|
68
|
-
* @template V
|
|
69
|
-
* @returns {*}
|
|
70
|
-
*/
|
|
71
|
-
export function getGridEditorEmits<V>() {
|
|
72
|
-
return {
|
|
73
|
-
/** 值变更事件 */
|
|
74
|
-
change: (_value: V, _name?: string) => true,
|
|
75
|
-
/** 是否正在操作事件 */
|
|
76
|
-
rowSave: () => true,
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* 表格编辑器通用props
|
|
82
|
-
*
|
|
83
|
-
* @author lxm
|
|
84
|
-
* @date 2022-11-02 10:11:02
|
|
85
|
-
* @export
|
|
86
|
-
* @returns {*}
|
|
87
|
-
*/
|
|
88
|
-
export function getGridEditorCommonProps() {
|
|
89
|
-
return {
|
|
90
|
-
hasError: {
|
|
91
|
-
type: Boolean,
|
|
92
|
-
},
|
|
93
|
-
};
|
|
94
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取数据选择的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getDataPickerProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Array, Object, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格数据选择的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridDataPickerProps<C>() {
|
|
26
|
-
return { ...getDataPickerProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取日期选择器的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getDatePickerProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格日期选择器的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridDatePickerProps<C>() {
|
|
26
|
-
return { ...getDatePickerProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取时间范围的props
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @template C
|
|
8
|
-
* @returns {*}
|
|
9
|
-
*/
|
|
10
|
-
export function getDateRangeProps<C>() {
|
|
11
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* 获取表格时间范围的props
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @template C
|
|
19
|
-
* @returns {*}
|
|
20
|
-
*/
|
|
21
|
-
export function getGridDateRangeProps<C>() {
|
|
22
|
-
return { ...getDateRangeProps<C>(), ...getGridEditorCommonProps() };
|
|
23
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取下拉列表的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getDropdownProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格下拉列表的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridDropdownProps<C>() {
|
|
26
|
-
return { ...getDropdownProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
package/src/props/editor/html.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取html编辑框的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getHtmlProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: String };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格html编辑框的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridHtmlProps<C>() {
|
|
26
|
-
return { ...getHtmlProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export * from './text-box';
|
|
2
|
-
export * from './span';
|
|
3
|
-
export * from './common';
|
|
4
|
-
export * from './dropdown-list';
|
|
5
|
-
export * from './check-box-list';
|
|
6
|
-
export * from './check-box';
|
|
7
|
-
export * from './data-picker';
|
|
8
|
-
export * from './date-picker';
|
|
9
|
-
export * from './date-range';
|
|
10
|
-
export * from './list-box';
|
|
11
|
-
export * from './number-range';
|
|
12
|
-
export * from './radio-button-list';
|
|
13
|
-
export * from './rate';
|
|
14
|
-
export * from './raw';
|
|
15
|
-
export * from './slider';
|
|
16
|
-
export * from './stepper';
|
|
17
|
-
export * from './switch';
|
|
18
|
-
export * from './upload';
|
|
19
|
-
export * from './autocomplete';
|
|
20
|
-
export * from './code';
|
|
21
|
-
export * from './html';
|
|
22
|
-
export * from './markdown';
|
|
23
|
-
export * from './array';
|
|
24
|
-
export * from './cascader';
|
|
25
|
-
export * from './color-picker';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取列表框的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getListBoxProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格列表框的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridListBoxProps<C>() {
|
|
26
|
-
return { ...getListBoxProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取MARKDOWN的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getMarkDownProps<C>() {
|
|
13
|
-
return {
|
|
14
|
-
...getEditorProps<C>(),
|
|
15
|
-
data: { type: Object, required: false },
|
|
16
|
-
controller: { type: Object, required: false },
|
|
17
|
-
disabled: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
required: false,
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* 获取表格MARKDOWN的props
|
|
26
|
-
*
|
|
27
|
-
* @author lxm
|
|
28
|
-
* @date 2022-11-01 19:11:12
|
|
29
|
-
* @export
|
|
30
|
-
* @template C
|
|
31
|
-
* @returns {*}
|
|
32
|
-
*/
|
|
33
|
-
export function getGridMarkDownProps<C>() {
|
|
34
|
-
return { ...getMarkDownProps<C>(), ...getGridEditorCommonProps() };
|
|
35
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取数值范围的props
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @template C
|
|
8
|
-
* @returns {*}
|
|
9
|
-
*/
|
|
10
|
-
export function getNumberRangeProps<C>() {
|
|
11
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* 获取表格数值范围的props
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @template C
|
|
19
|
-
* @returns {*}
|
|
20
|
-
*/
|
|
21
|
-
export function getGridNumberRangeProps<C>() {
|
|
22
|
-
return { ...getNumberRangeProps<C>(), ...getGridEditorCommonProps() };
|
|
23
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取单选框的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getRadioProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格单选框的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridRadioProps<C>() {
|
|
26
|
-
return { ...getRadioProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
package/src/props/editor/rate.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取评分器的props
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @template C
|
|
8
|
-
* @returns {*}
|
|
9
|
-
*/
|
|
10
|
-
export function getRateProps<C>() {
|
|
11
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* 获取表格评分器的props
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @template C
|
|
19
|
-
* @returns {*}
|
|
20
|
-
*/
|
|
21
|
-
export function getGridRateProps<C>() {
|
|
22
|
-
return { ...getRateProps<C>(), ...getGridEditorCommonProps() };
|
|
23
|
-
}
|
package/src/props/editor/raw.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取直接内容的props
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @template C
|
|
8
|
-
* @returns {*}
|
|
9
|
-
*/
|
|
10
|
-
export function getRawProps<C>() {
|
|
11
|
-
return { ...getEditorProps<C>(), value: [String, Number, Array] };
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* 获取表格步进器的props
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @template C
|
|
19
|
-
* @returns {*}
|
|
20
|
-
*/
|
|
21
|
-
export function getGridRawProps<C>() {
|
|
22
|
-
return { ...getRawProps<C>(), ...getGridEditorCommonProps() };
|
|
23
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取滑动输入条的props
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @template C
|
|
8
|
-
* @returns {*}
|
|
9
|
-
*/
|
|
10
|
-
export function getSliderProps<C>() {
|
|
11
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* 获取表格滑动输入条的props
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @template C
|
|
19
|
-
* @returns {*}
|
|
20
|
-
*/
|
|
21
|
-
export function getGridSliderProps<C>() {
|
|
22
|
-
return { ...getSliderProps<C>(), ...getGridEditorCommonProps() };
|
|
23
|
-
}
|
package/src/props/editor/span.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取标签的props
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-11-01 19:11:12
|
|
8
|
-
* @export
|
|
9
|
-
* @template C
|
|
10
|
-
* @returns {*}
|
|
11
|
-
*/
|
|
12
|
-
export function getSpanProps<C>() {
|
|
13
|
-
return { ...getEditorProps<C>(), value: [String, Number, Object, Array] };
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取表格标签的props
|
|
18
|
-
*
|
|
19
|
-
* @author lxm
|
|
20
|
-
* @date 2022-11-01 19:11:12
|
|
21
|
-
* @export
|
|
22
|
-
* @template C
|
|
23
|
-
* @returns {*}
|
|
24
|
-
*/
|
|
25
|
-
export function getGridSpanProps<C>() {
|
|
26
|
-
return { ...getSpanProps<C>(), ...getGridEditorCommonProps() };
|
|
27
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { getEditorProps, getGridEditorCommonProps } from './common';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取步进器的props
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @template C
|
|
8
|
-
* @returns {*}
|
|
9
|
-
*/
|
|
10
|
-
export function getStepperProps<C>() {
|
|
11
|
-
return { ...getEditorProps<C>(), value: [String, Number] };
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* 获取表格步进器的props
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @template C
|
|
19
|
-
* @returns {*}
|
|
20
|
-
*/
|
|
21
|
-
export function getGridStepperProps<C>() {
|
|
22
|
-
return { ...getStepperProps<C>(), ...getGridEditorCommonProps() };
|
|
23
|
-
}
|