@ibiz-template/vue3-util 0.7.41-alpha.13 → 0.7.41-alpha.131
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/dist/index.system.min.js +1 -1
- package/es/common/badge/badge.css +1 -1
- package/es/common/badge/badge.d.ts +6 -8
- package/es/common/badge/badge.d.ts.map +1 -1
- package/es/common/badge/badge.mjs +13 -7
- package/es/common/code-list/code-list.d.ts +10 -10
- package/es/common/code-list/code-list.d.ts.map +1 -1
- package/es/common/code-list/code-list.mjs +1 -1
- package/es/common/control-base/control-base.d.ts.map +1 -1
- package/es/common/control-base/control-base.mjs +9 -15
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +4 -4
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts.map +1 -1
- package/es/common/control-shell/control-shell.d.ts +7 -7
- package/es/common/control-shell/control-shell.d.ts.map +1 -1
- package/es/common/control-shell/control-shell.mjs +1 -1
- package/es/common/custom-render/custom-render.d.ts +4 -4
- package/es/common/custom-render/custom-render.d.ts.map +1 -1
- package/es/common/icon/icon.d.ts +4 -4
- package/es/common/icon/icon.d.ts.map +1 -1
- package/es/common/icon/icon.mjs +12 -0
- package/es/common/index.d.ts +1 -0
- package/es/common/index.d.ts.map +1 -1
- package/es/common/index.mjs +1 -0
- package/es/common/router-view/router-view.d.ts +7 -8
- package/es/common/router-view/router-view.d.ts.map +1 -1
- package/es/common/router-view/router-view.mjs +1 -1
- package/es/common/signature-pad/signature-pad.css +1 -0
- package/es/common/signature-pad/signature-pad.d.ts +19 -0
- package/es/common/signature-pad/signature-pad.d.ts.map +1 -0
- package/es/common/signature-pad/signature-pad.mjs +165 -0
- package/es/common/signature-pad/util/bezier.d.ts +58 -0
- package/es/common/signature-pad/util/bezier.d.ts.map +1 -0
- package/es/common/signature-pad/util/bezier.mjs +109 -0
- package/es/common/signature-pad/util/point.d.ts +55 -0
- package/es/common/signature-pad/util/point.d.ts.map +1 -0
- package/es/common/signature-pad/util/point.mjs +51 -0
- package/es/common/signature-pad/util/signature_pad.d.ts +593 -0
- package/es/common/signature-pad/util/signature_pad.d.ts.map +1 -0
- package/es/common/signature-pad/util/signature_pad.mjs +1018 -0
- package/es/common/view-shell/view-shell.d.ts +19 -12
- package/es/common/view-shell/view-shell.d.ts.map +1 -1
- package/es/common/view-shell/view-shell.mjs +42 -23
- package/es/control/panel/panel/index.d.ts +5 -5
- package/es/control/panel/panel/index.d.ts.map +1 -1
- package/es/control/panel/panel/panel.d.ts +6 -6
- package/es/control/panel/panel/panel.d.ts.map +1 -1
- package/es/control/panel/panel/panel.mjs +13 -5
- package/es/control/panel/view-layout-panel/index.d.ts +5 -5
- package/es/control/panel/view-layout-panel/index.d.ts.map +1 -1
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts +7 -7
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts.map +1 -1
- package/es/control/panel/view-layout-panel/view-layout-panel.mjs +6 -6
- package/es/index.mjs +9 -11
- package/es/locale/en/index.d.ts +1 -0
- package/es/locale/en/index.d.ts.map +1 -1
- package/es/locale/en/index.mjs +2 -1
- package/es/locale/zh-CN/index.d.ts +1 -0
- package/es/locale/zh-CN/index.d.ts.map +1 -1
- package/es/locale/zh-CN/index.mjs +2 -1
- package/es/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.mjs +2 -2
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.d.ts.map +1 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.mjs +3 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.css +1 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.d.ts +6 -4
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.d.ts.map +1 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.mjs +17 -6
- package/es/panel-component/auth-wxmp-qrcode/index.d.ts +6 -4
- package/es/panel-component/auth-wxmp-qrcode/index.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.controller.d.ts +3 -3
- package/es/panel-component/grid-container/grid-container.controller.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.controller.mjs +2 -2
- package/es/panel-component/grid-container/grid-container.d.ts +8 -6
- package/es/panel-component/grid-container/grid-container.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.mjs +17 -6
- package/es/panel-component/grid-container/grid-container.state.d.ts +3 -3
- package/es/panel-component/grid-container/grid-container.state.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.state.mjs +2 -2
- package/es/panel-component/grid-container/index.d.ts +8 -6
- package/es/panel-component/grid-container/index.d.ts.map +1 -1
- package/es/panel-component/index.d.ts +0 -1
- package/es/panel-component/index.d.ts.map +1 -1
- package/es/panel-component/index.mjs +1 -5
- package/es/panel-component/multi-data-container/index.d.ts +6 -4
- package/es/panel-component/multi-data-container/index.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +4 -4
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +88 -69
- package/es/panel-component/multi-data-container/multi-data-container.d.ts +7 -5
- package/es/panel-component/multi-data-container/multi-data-container.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.mjs +20 -6
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts +3 -3
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.state.mjs +2 -2
- package/es/panel-component/multi-data-container-raw/index.d.ts +6 -4
- package/es/panel-component/multi-data-container-raw/index.d.ts.map +1 -1
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts +4 -4
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts.map +1 -1
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.mjs +88 -69
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts +7 -5
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts.map +1 -1
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.mjs +23 -7
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts +3 -3
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts.map +1 -1
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.mjs +2 -2
- package/es/panel-component/nav-pos/index.d.ts +7 -5
- package/es/panel-component/nav-pos/index.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts +1 -1
- package/es/panel-component/nav-pos/nav-pos.d.ts +8 -6
- package/es/panel-component/nav-pos/nav-pos.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.mjs +20 -5
- package/es/panel-component/panel-container/index.d.ts +7 -6
- package/es/panel-component/panel-container/index.d.ts.map +1 -1
- package/es/panel-component/panel-container/index.mjs +1 -2
- package/es/panel-component/panel-container/panel-container.d.ts +7 -5
- package/es/panel-component/panel-container/panel-container.d.ts.map +1 -1
- package/es/panel-component/panel-container/panel-container.mjs +36 -15
- package/es/panel-component/panel-container/panel-container.provider.d.ts +2 -2
- package/es/panel-component/panel-container/panel-container.provider.d.ts.map +1 -1
- package/es/panel-component/panel-container/panel-container.provider.mjs +1 -1
- package/es/panel-component/panel-container-image/index.d.ts +6 -4
- package/es/panel-component/panel-container-image/index.d.ts.map +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts +3 -3
- package/es/panel-component/panel-container-image/panel-container-image.controller.d.ts.map +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.controller.mjs +2 -2
- package/es/panel-component/panel-container-image/panel-container-image.css +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.d.ts +6 -4
- package/es/panel-component/panel-container-image/panel-container-image.d.ts.map +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.mjs +24 -10
- package/es/panel-component/panel-container-image/panel-container-image.state.d.ts +3 -3
- package/es/panel-component/panel-container-image/panel-container-image.state.d.ts.map +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.state.mjs +2 -2
- package/es/panel-component/panel-container-tabs/index.d.ts +6 -6
- package/es/panel-component/panel-container-tabs/index.d.ts.map +1 -1
- package/es/panel-component/panel-container-tabs/panel-container-tabs.d.ts +5 -5
- package/es/panel-component/panel-container-tabs/panel-container-tabs.d.ts.map +1 -1
- package/es/panel-component/panel-container-tabs/panel-container-tabs.mjs +1 -1
- package/es/panel-component/panel-container-tabs/panel-container-tabs.provider.d.ts +2 -2
- package/es/panel-component/panel-container-tabs/panel-container-tabs.provider.d.ts.map +1 -1
- package/es/panel-component/panel-container-tabs/panel-container-tabs.provider.mjs +1 -1
- package/es/panel-component/panel-ctrl-pos/index.d.ts +6 -4
- package/es/panel-component/panel-ctrl-pos/index.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +6 -4
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.mjs +12 -4
- package/es/panel-component/panel-ctrl-view-page-caption/index.d.ts +6 -4
- package/es/panel-component/panel-ctrl-view-page-caption/index.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.css +1 -0
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.d.ts +7 -4
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.d.ts.map +1 -1
- package/es/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.mjs +16 -8
- package/es/panel-component/panel-field/index.d.ts +7 -4
- package/es/panel-component/panel-field/index.d.ts.map +1 -1
- package/es/panel-component/panel-field/panel-field.controller.d.ts +12 -0
- package/es/panel-component/panel-field/panel-field.controller.d.ts.map +1 -1
- package/es/panel-component/panel-field/panel-field.controller.mjs +37 -3
- package/es/panel-component/panel-field/panel-field.css +1 -1
- package/es/panel-component/panel-field/panel-field.d.ts +7 -4
- package/es/panel-component/panel-field/panel-field.d.ts.map +1 -1
- package/es/panel-component/panel-field/panel-field.mjs +29 -12
- package/es/panel-component/panel-item-render/index.d.ts +6 -4
- package/es/panel-component/panel-item-render/index.d.ts.map +1 -1
- package/es/panel-component/panel-item-render/panel-item-render.controller.d.ts.map +1 -1
- package/es/panel-component/panel-item-render/panel-item-render.controller.mjs +7 -5
- package/es/panel-component/panel-item-render/panel-item-render.d.ts +6 -4
- package/es/panel-component/panel-item-render/panel-item-render.d.ts.map +1 -1
- package/es/panel-component/panel-item-render/panel-item-render.mjs +13 -4
- package/es/panel-component/panel-rawitem/index.d.ts +8 -6
- package/es/panel-component/panel-rawitem/index.d.ts.map +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +8 -6
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts.map +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.mjs +15 -10
- package/es/panel-component/panel-tab-page/index.d.ts +8 -6
- package/es/panel-component/panel-tab-page/index.d.ts.map +1 -1
- package/es/panel-component/panel-tab-page/panel-tab-page.d.ts +10 -8
- package/es/panel-component/panel-tab-page/panel-tab-page.d.ts.map +1 -1
- package/es/panel-component/panel-tab-page/panel-tab-page.mjs +23 -8
- package/es/panel-component/panel-tab-page/panel-tab-page.provider.d.ts +2 -2
- package/es/panel-component/panel-tab-page/panel-tab-page.provider.d.ts.map +1 -1
- package/es/panel-component/panel-tab-page/panel-tab-page.provider.mjs +2 -2
- package/es/panel-component/scroll-container/index.d.ts +6 -4
- package/es/panel-component/scroll-container/index.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +3 -3
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.mjs +2 -2
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +6 -4
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.mjs +26 -15
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +3 -3
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.mjs +2 -2
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +6 -4
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts.map +1 -1
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.mjs +21 -6
- package/es/panel-component/single-data-container/index.d.ts +6 -4
- package/es/panel-component/single-data-container/index.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts +4 -4
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.controller.mjs +98 -73
- package/es/panel-component/single-data-container/single-data-container.d.ts +7 -5
- package/es/panel-component/single-data-container/single-data-container.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.mjs +22 -6
- package/es/panel-component/single-data-container/single-data-container.state.d.ts +3 -3
- package/es/panel-component/single-data-container/single-data-container.state.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.state.mjs +2 -2
- package/es/panel-component/teleport-placeholder/index.d.ts +7 -5
- package/es/panel-component/teleport-placeholder/index.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts +7 -5
- package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.mjs +11 -4
- package/es/plugin/plugin-factory/plugin-factory.d.ts +15 -0
- package/es/plugin/plugin-factory/plugin-factory.d.ts.map +1 -1
- package/es/plugin/plugin-factory/plugin-factory.mjs +34 -6
- package/es/props/editor/autocomplete.d.ts +2 -2
- package/es/props/editor/check-box-list.d.ts +2 -2
- package/es/props/editor/check-box.d.ts +2 -2
- package/es/props/editor/code.d.ts +17 -0
- package/es/props/editor/code.d.ts.map +1 -1
- package/es/props/editor/code.mjs +7 -2
- package/es/props/editor/common.d.ts +7 -0
- package/es/props/editor/common.d.ts.map +1 -1
- package/es/props/editor/common.mjs +5 -1
- package/es/props/editor/data-picker.d.ts +2 -2
- package/es/props/editor/date-picker.d.ts +2 -2
- package/es/props/editor/date-range-select.d.ts +4 -0
- package/es/props/editor/date-range-select.d.ts.map +1 -1
- package/es/props/editor/date-range.d.ts +2 -2
- package/es/props/editor/dropdown-list.d.ts +2 -2
- package/es/props/editor/html.d.ts +17 -0
- package/es/props/editor/html.d.ts.map +1 -1
- package/es/props/editor/html.mjs +7 -2
- package/es/props/editor/index.mjs +3 -3
- package/es/props/editor/list-box.d.ts +2 -2
- package/es/props/editor/markdown.d.ts +89 -0
- package/es/props/editor/markdown.d.ts.map +1 -1
- package/es/props/editor/markdown.mjs +28 -3
- package/es/props/editor/number-range.d.ts +2 -2
- package/es/props/editor/radio-button-list.d.ts +2 -2
- package/es/props/editor/rate.d.ts +2 -2
- package/es/props/editor/raw.d.ts +2 -2
- package/es/props/editor/slider.d.ts +2 -2
- package/es/props/editor/span.d.ts +18 -2
- package/es/props/editor/span.d.ts.map +1 -1
- package/es/props/editor/span.mjs +6 -1
- package/es/props/editor/stepper.d.ts +2 -2
- package/es/props/editor/switch.d.ts +2 -2
- package/es/props/editor/text-box.d.ts +2 -2
- package/es/props/index.mjs +3 -3
- package/es/use/index.d.ts +2 -0
- package/es/use/index.d.ts.map +1 -1
- package/es/use/index.mjs +4 -2
- package/es/use/popover/popover.d.ts +7 -0
- package/es/use/popover/popover.d.ts.map +1 -1
- package/es/use/popover/popover.mjs +9 -2
- package/es/use/storage/index.d.ts +4 -6
- package/es/use/storage/index.d.ts.map +1 -1
- package/es/use/storage/index.mjs +16 -11
- package/es/use/tooltip/tooltip.d.ts +103 -0
- package/es/use/tooltip/tooltip.d.ts.map +1 -0
- package/es/use/tooltip/tooltip.mjs +68 -0
- package/es/use/use-semantic-node/use-semantic-node.d.ts +15 -0
- package/es/use/use-semantic-node/use-semantic-node.d.ts.map +1 -0
- package/es/use/use-semantic-node/use-semantic-node.mjs +100 -0
- package/es/use/vue/vue.d.ts +9 -0
- package/es/use/vue/vue.d.ts.map +1 -1
- package/es/use/vue/vue.mjs +15 -2
- package/es/util/index.d.ts +0 -1
- package/es/util/index.d.ts.map +1 -1
- package/es/util/index.mjs +0 -1
- package/es/util/install.d.ts.map +1 -1
- package/es/util/overlay-container/overlay-container.d.ts +1 -1
- package/es/util/overlay-container/overlay-container.d.ts.map +1 -1
- package/es/util/overlay-container/overlay-container.mjs +7 -2
- package/es/util/overlay-view-util/overlay-view-util.d.ts +2 -2
- package/es/util/overlay-view-util/overlay-view-util.d.ts.map +1 -1
- package/es/util/overlay-view-util/overlay-view-util.mjs +2 -1
- package/es/util/route/route.d.ts.map +1 -1
- package/es/util/route/route.mjs +13 -3
- package/es/util/store/app-store/app-store.d.ts +2 -2
- package/es/util/store/ui-store/ui-store.d.ts +2 -2
- package/es/view/app-redirect-view/app-redirect-view.d.ts +1 -1
- package/es/view/app-redirect-view/app-redirect-view.d.ts.map +1 -1
- package/es/view/app-redirect-view/app-redirect-view.mjs +1 -1
- package/es/view/common/index.d.ts +5 -5
- package/es/view/common/index.d.ts.map +1 -1
- package/es/view/common/view.d.ts +5 -5
- package/es/view/common/view.d.ts.map +1 -1
- package/es/view/common/view.mjs +17 -3
- package/es/view/de-redirect-view/de-redirect-view.d.ts +8 -8
- package/es/view/de-redirect-view/de-redirect-view.d.ts.map +1 -1
- package/es/view/de-redirect-view/de-redirect-view.mjs +1 -1
- package/es/view/de-redirect-view/index.d.ts +8 -8
- package/es/view/de-redirect-view/index.d.ts.map +1 -1
- package/es/view/html-view/html-view.d.ts +8 -9
- package/es/view/html-view/html-view.d.ts.map +1 -1
- package/es/view/html-view/html-view.mjs +10 -17
- package/es/view/html-view/index.d.ts +7 -8
- package/es/view/html-view/index.d.ts.map +1 -1
- package/es/view/portal-view/index.d.ts +5 -5
- package/es/view/portal-view/index.d.ts.map +1 -1
- package/es/view/portal-view/portal-view.d.ts +5 -5
- package/es/view/portal-view/portal-view.d.ts.map +1 -1
- package/es/view/todo-redirect/todo-redirect.d.ts +1 -1
- package/es/view/todo-redirect/todo-redirect.d.ts.map +1 -1
- package/lib/common/badge/badge.cjs +12 -6
- package/lib/common/badge/badge.css +1 -1
- package/lib/common/control-base/control-base.cjs +8 -14
- package/lib/common/icon/icon.cjs +12 -0
- package/lib/common/index.cjs +2 -0
- package/lib/common/signature-pad/signature-pad.cjs +167 -0
- package/lib/common/signature-pad/signature-pad.css +1 -0
- package/lib/common/signature-pad/util/bezier.cjs +111 -0
- package/lib/common/signature-pad/util/point.cjs +53 -0
- package/lib/common/signature-pad/util/signature_pad.cjs +1022 -0
- package/lib/common/view-shell/view-shell.cjs +40 -21
- package/lib/control/panel/panel/panel.cjs +11 -3
- package/lib/control/panel/view-layout-panel/view-layout-panel.cjs +4 -4
- package/lib/index.cjs +57 -47
- package/lib/locale/en/index.cjs +2 -1
- package/lib/locale/zh-CN/index.cjs +2 -1
- package/lib/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.cjs +2 -2
- package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.cjs +16 -5
- package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.cjs +3 -1
- package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.css +1 -1
- package/lib/panel-component/grid-container/grid-container.cjs +16 -5
- package/lib/panel-component/grid-container/grid-container.controller.cjs +1 -1
- package/lib/panel-component/grid-container/grid-container.state.cjs +1 -1
- package/lib/panel-component/index.cjs +21 -22
- package/lib/panel-component/multi-data-container/multi-data-container.cjs +19 -5
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +87 -68
- package/lib/panel-component/multi-data-container/multi-data-container.state.cjs +1 -1
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.cjs +22 -6
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.controller.cjs +87 -68
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.state.cjs +1 -1
- package/lib/panel-component/nav-pos/nav-pos.cjs +18 -3
- package/lib/panel-component/panel-container/index.cjs +8 -4
- package/lib/panel-component/panel-container/panel-container.cjs +36 -15
- package/lib/panel-component/panel-container/panel-container.provider.cjs +2 -2
- package/lib/panel-component/panel-container-image/panel-container-image.cjs +23 -9
- package/lib/panel-component/panel-container-image/panel-container-image.controller.cjs +1 -1
- package/lib/panel-component/panel-container-image/panel-container-image.css +1 -1
- package/lib/panel-component/panel-container-image/panel-container-image.state.cjs +1 -1
- package/lib/panel-component/panel-container-tabs/panel-container-tabs.cjs +2 -2
- package/lib/panel-component/panel-container-tabs/panel-container-tabs.provider.cjs +2 -2
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.cjs +11 -3
- package/lib/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.cjs +15 -7
- package/lib/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.css +1 -0
- package/lib/panel-component/panel-field/panel-field.cjs +28 -11
- package/lib/panel-component/panel-field/panel-field.controller.cjs +37 -3
- package/lib/panel-component/panel-field/panel-field.css +1 -1
- package/lib/panel-component/panel-item-render/panel-item-render.cjs +12 -3
- package/lib/panel-component/panel-item-render/panel-item-render.controller.cjs +7 -5
- package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +14 -9
- package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +21 -6
- package/lib/panel-component/panel-tab-page/panel-tab-page.provider.cjs +1 -1
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.cjs +25 -14
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.cjs +1 -1
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.cjs +20 -5
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.cjs +1 -1
- package/lib/panel-component/single-data-container/single-data-container.cjs +21 -5
- package/lib/panel-component/single-data-container/single-data-container.controller.cjs +97 -72
- package/lib/panel-component/single-data-container/single-data-container.state.cjs +1 -1
- package/lib/panel-component/teleport-placeholder/teleport-placeholder.cjs +10 -3
- package/lib/plugin/plugin-factory/plugin-factory.cjs +33 -5
- package/lib/props/editor/code.cjs +6 -0
- package/lib/props/editor/common.cjs +5 -1
- package/lib/props/editor/html.cjs +6 -0
- package/lib/props/editor/index.cjs +3 -0
- package/lib/props/editor/markdown.cjs +27 -1
- package/lib/props/editor/span.cjs +6 -1
- package/lib/props/index.cjs +3 -0
- package/lib/use/index.cjs +8 -0
- package/lib/use/popover/popover.cjs +8 -0
- package/lib/use/storage/index.cjs +16 -11
- package/lib/use/tooltip/tooltip.cjs +72 -0
- package/lib/use/use-semantic-node/use-semantic-node.cjs +102 -0
- package/lib/use/vue/vue.cjs +14 -0
- package/lib/util/index.cjs +0 -2
- package/lib/util/overlay-container/overlay-container.cjs +7 -2
- package/lib/util/overlay-view-util/overlay-view-util.cjs +2 -1
- package/lib/util/route/route.cjs +13 -3
- package/lib/view/common/view.cjs +15 -1
- package/lib/view/html-view/html-view.cjs +8 -15
- package/package.json +8 -7
- package/src/common/badge/badge.scss +49 -0
- package/src/common/badge/badge.tsx +55 -0
- package/src/common/code-list/code-list.scss +15 -0
- package/src/common/code-list/code-list.tsx +184 -0
- package/src/common/control-base/control-base.scss +42 -0
- package/src/common/control-base/control-base.tsx +308 -0
- package/src/common/control-loading-placeholder/control-loading-placeholder.tsx +22 -0
- package/src/common/control-shell/control-shell.scss +5 -0
- package/src/common/control-shell/control-shell.tsx +90 -0
- package/src/common/custom-render/custom-render.scss +4 -0
- package/src/common/custom-render/custom-render.tsx +111 -0
- package/src/common/icon/icon.scss +13 -0
- package/src/common/icon/icon.tsx +105 -0
- package/src/common/index.ts +10 -0
- package/src/common/router-view/router-view.tsx +74 -0
- package/src/common/signature-pad/signature-pad.scss +10 -0
- package/src/common/signature-pad/signature-pad.tsx +174 -0
- package/src/common/signature-pad/util/bezier.ts +164 -0
- package/src/common/signature-pad/util/point.ts +96 -0
- package/src/common/signature-pad/util/signature_pad.ts +1543 -0
- package/src/common/view-shell/view-shell.scss +5 -0
- package/src/common/view-shell/view-shell.tsx +337 -0
- package/src/control/index.ts +1 -0
- package/src/control/panel/index.ts +2 -0
- package/src/control/panel/panel/index.ts +12 -0
- package/src/control/panel/panel/panel.provider.ts +14 -0
- package/src/control/panel/panel/panel.scss +9 -0
- package/src/control/panel/panel/panel.tsx +273 -0
- package/src/control/panel/view-layout-panel/index.ts +18 -0
- package/src/control/panel/view-layout-panel/view-layout-panel.provider.ts +14 -0
- package/src/control/panel/view-layout-panel/view-layout-panel.scss +9 -0
- package/src/control/panel/view-layout-panel/view-layout-panel.tsx +266 -0
- package/src/hooks/app/app.hooks.ts +63 -0
- package/src/hooks/index.ts +1 -0
- package/src/index.ts +19 -0
- package/src/interface/index.ts +1 -0
- package/src/interface/util/index.ts +1 -0
- package/src/interface/util/route/route.ts +116 -0
- package/src/locale/en/index.ts +74 -0
- package/src/locale/index.ts +2 -0
- package/src/locale/zh-CN/index.ts +66 -0
- package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.controller.ts +248 -0
- package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.provider.ts +28 -0
- package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.scss +51 -0
- package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.state.ts +58 -0
- package/src/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.tsx +109 -0
- package/src/panel-component/auth-wxmp-qrcode/index.ts +18 -0
- package/src/panel-component/grid-container/grid-container.controller.ts +24 -0
- package/src/panel-component/grid-container/grid-container.provider.ts +30 -0
- package/src/panel-component/grid-container/grid-container.scss +17 -0
- package/src/panel-component/grid-container/grid-container.state.ts +12 -0
- package/src/panel-component/grid-container/grid-container.tsx +141 -0
- package/src/panel-component/grid-container/index.ts +19 -0
- package/src/panel-component/index.ts +17 -0
- package/src/panel-component/multi-data-container/index.ts +22 -0
- package/src/panel-component/multi-data-container/multi-data-container-item.controller.ts +179 -0
- package/src/panel-component/multi-data-container/multi-data-container-itm.state.ts +20 -0
- package/src/panel-component/multi-data-container/multi-data-container.controller.ts +456 -0
- package/src/panel-component/multi-data-container/multi-data-container.provider.ts +30 -0
- package/src/panel-component/multi-data-container/multi-data-container.scss +10 -0
- package/src/panel-component/multi-data-container/multi-data-container.state.ts +19 -0
- package/src/panel-component/multi-data-container/multi-data-container.tsx +137 -0
- package/src/panel-component/multi-data-container-raw/index.ts +22 -0
- package/src/panel-component/multi-data-container-raw/multi-data-container-raw.controller.ts +448 -0
- package/src/panel-component/multi-data-container-raw/multi-data-container-raw.provider.ts +30 -0
- package/src/panel-component/multi-data-container-raw/multi-data-container-raw.scss +12 -0
- package/src/panel-component/multi-data-container-raw/multi-data-container-raw.state.ts +19 -0
- package/src/panel-component/multi-data-container-raw/multi-data-container-raw.tsx +129 -0
- package/src/panel-component/nav-pos/index.ts +16 -0
- package/src/panel-component/nav-pos/nav-pos.controller.ts +438 -0
- package/src/panel-component/nav-pos/nav-pos.provider.ts +38 -0
- package/src/panel-component/nav-pos/nav-pos.scss +4 -0
- package/src/panel-component/nav-pos/nav-pos.state.ts +55 -0
- package/src/panel-component/nav-pos/nav-pos.tsx +166 -0
- package/src/panel-component/panel-container/index.ts +30 -0
- package/src/panel-component/panel-container/panel-container.provider.ts +30 -0
- package/src/panel-component/panel-container/panel-container.scss +21 -0
- package/src/panel-component/panel-container/panel-container.tsx +138 -0
- package/src/panel-component/panel-container-image/index.ts +22 -0
- package/src/panel-component/panel-container-image/panel-container-image.controller.ts +24 -0
- package/src/panel-component/panel-container-image/panel-container-image.provider.ts +30 -0
- package/src/panel-component/panel-container-image/panel-container-image.scss +17 -0
- package/src/panel-component/panel-container-image/panel-container-image.state.ts +12 -0
- package/src/panel-component/panel-container-image/panel-container-image.tsx +116 -0
- package/src/panel-component/panel-container-tabs/index.ts +18 -0
- package/src/panel-component/panel-container-tabs/panel-container-tabs.provider.ts +30 -0
- package/src/panel-component/panel-container-tabs/panel-container-tabs.scss +25 -0
- package/src/panel-component/panel-container-tabs/panel-container-tabs.tsx +47 -0
- package/src/panel-component/panel-ctrl-pos/index.ts +14 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.ts +50 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.ts +30 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.scss +8 -0
- package/src/panel-component/panel-ctrl-pos/panel-ctrl-pos.tsx +72 -0
- package/src/panel-component/panel-ctrl-view-page-caption/index.ts +18 -0
- package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.controller.ts +32 -0
- package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.provider.ts +30 -0
- package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.scss +13 -0
- package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.state.ts +17 -0
- package/src/panel-component/panel-ctrl-view-page-caption/panel-ctrl-view-page-caption.tsx +77 -0
- package/src/panel-component/panel-field/index.ts +14 -0
- package/src/panel-component/panel-field/panel-field.controller.ts +272 -0
- package/src/panel-component/panel-field/panel-field.provider.ts +28 -0
- package/src/panel-component/panel-field/panel-field.scss +79 -0
- package/src/panel-component/panel-field/panel-field.state.ts +17 -0
- package/src/panel-component/panel-field/panel-field.tsx +138 -0
- package/src/panel-component/panel-item-render/index.ts +18 -0
- package/src/panel-component/panel-item-render/panel-item-render.controller.ts +53 -0
- package/src/panel-component/panel-item-render/panel-item-render.provider.ts +30 -0
- package/src/panel-component/panel-item-render/panel-item-render.tsx +69 -0
- package/src/panel-component/panel-rawitem/index.ts +26 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.controller.ts +54 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.provider.ts +28 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.scss +8 -0
- package/src/panel-component/panel-rawitem/panel-rawitem.tsx +126 -0
- package/src/panel-component/panel-tab-page/index.ts +12 -0
- package/src/panel-component/panel-tab-page/panel-tab-page.provider.ts +28 -0
- package/src/panel-component/panel-tab-page/panel-tab-page.tsx +83 -0
- package/src/panel-component/scroll-container/index.ts +44 -0
- package/src/panel-component/scroll-container/scroll-container/index.ts +2 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.controller.ts +29 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.provider.ts +30 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.scss +40 -0
- package/src/panel-component/scroll-container/scroll-container/scroll-container.tsx +155 -0
- package/src/panel-component/scroll-container/scroll-container-item/index.ts +2 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.ts +21 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.ts +30 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.scss +9 -0
- package/src/panel-component/scroll-container/scroll-container-item/scroll-container-item.tsx +80 -0
- package/src/panel-component/single-data-container/index.ts +22 -0
- package/src/panel-component/single-data-container/single-data-container.controller.ts +507 -0
- package/src/panel-component/single-data-container/single-data-container.provider.ts +30 -0
- package/src/panel-component/single-data-container/single-data-container.scss +10 -0
- package/src/panel-component/single-data-container/single-data-container.state.ts +17 -0
- package/src/panel-component/single-data-container/single-data-container.tsx +124 -0
- package/src/panel-component/teleport-placeholder/index.ts +20 -0
- package/src/panel-component/teleport-placeholder/teleport-placeholder.controller.ts +54 -0
- package/src/panel-component/teleport-placeholder/teleport-placeholder.provider.ts +30 -0
- package/src/panel-component/teleport-placeholder/teleport-placeholder.scss +8 -0
- package/src/panel-component/teleport-placeholder/teleport-placeholder.state.ts +17 -0
- package/src/panel-component/teleport-placeholder/teleport-placeholder.tsx +65 -0
- package/src/plugin/index.ts +1 -0
- package/src/plugin/plugin-factory/plugin-factory.ts +519 -0
- package/src/props/common.ts +30 -0
- package/src/props/editor/array.ts +28 -0
- package/src/props/editor/autocomplete.ts +28 -0
- package/src/props/editor/cascader.ts +28 -0
- package/src/props/editor/check-box-list.ts +28 -0
- package/src/props/editor/check-box.ts +28 -0
- package/src/props/editor/code.ts +56 -0
- package/src/props/editor/color-picker.ts +28 -0
- package/src/props/editor/common.ts +120 -0
- package/src/props/editor/data-picker.ts +28 -0
- package/src/props/editor/date-picker.ts +29 -0
- package/src/props/editor/date-range-select.ts +52 -0
- package/src/props/editor/date-range.ts +29 -0
- package/src/props/editor/dropdown-list.ts +28 -0
- package/src/props/editor/html.ts +44 -0
- package/src/props/editor/index.ts +29 -0
- package/src/props/editor/input-ip.ts +28 -0
- package/src/props/editor/input-number.ts +28 -0
- package/src/props/editor/list-box.ts +28 -0
- package/src/props/editor/map-picker.ts +28 -0
- package/src/props/editor/markdown.ts +74 -0
- package/src/props/editor/number-range.ts +28 -0
- package/src/props/editor/radio-button-list.ts +28 -0
- package/src/props/editor/rate.ts +28 -0
- package/src/props/editor/raw.ts +28 -0
- package/src/props/editor/slider.ts +28 -0
- package/src/props/editor/span.ts +33 -0
- package/src/props/editor/stepper.ts +28 -0
- package/src/props/editor/switch.ts +28 -0
- package/src/props/editor/text-box.ts +28 -0
- package/src/props/editor/upload.ts +28 -0
- package/src/props/index.ts +2 -0
- package/src/types/index.d.ts +8 -0
- package/src/use/autofocus-blur/autofocus-blur.ts +31 -0
- package/src/use/click-outside/click-outside.ts +72 -0
- package/src/use/codeList-listen/codelist-listen.ts +28 -0
- package/src/use/control/index.ts +1 -0
- package/src/use/control/use-control-controller/use-control-controller.ts +186 -0
- package/src/use/event/event.ts +57 -0
- package/src/use/focus-blur/focus-blur.ts +83 -0
- package/src/use/index.ts +16 -0
- package/src/use/namespace/namespace.ts +14 -0
- package/src/use/popover/popover.ts +157 -0
- package/src/use/route/route.ts +47 -0
- package/src/use/storage/index.ts +46 -0
- package/src/use/tooltip/tooltip.ts +153 -0
- package/src/use/use-semantic-node/use-semantic-node.ts +154 -0
- package/src/use/util/index.ts +26 -0
- package/src/use/view/index.ts +2 -0
- package/src/use/view/use-view-controller/use-view-controller.ts +163 -0
- package/src/use/view/use-view-operation/use-view-operation.ts +44 -0
- package/src/use/vue/vue.ts +168 -0
- package/src/use/vue-use/computed-async.ts +151 -0
- package/src/use/vue-use/index.ts +1 -0
- package/src/util/index.ts +9 -0
- package/src/util/install.ts +14 -0
- package/src/util/overlay-container/overlay-container.ts +162 -0
- package/src/util/overlay-popover-container/overlay-popover-container.ts +30 -0
- package/src/util/overlay-view-util/overlay-view-util.ts +93 -0
- package/src/util/render/render.ts +54 -0
- package/src/util/route/route-listener.ts +91 -0
- package/src/util/route/route.ts +606 -0
- package/src/util/router-callback/router-callback-item.ts +98 -0
- package/src/util/router-callback/router-callback.ts +110 -0
- package/src/util/store/app-store/app-store.ts +10 -0
- package/src/util/store/index.ts +6 -0
- package/src/util/store/ui-store/ui-store.ts +37 -0
- package/src/util/store/ui-store/z-index.ts +53 -0
- package/src/view/app-data-upload-view/app-data-upload-view.provider.ts +31 -0
- package/src/view/app-redirect-view/app-redirect-view.tsx +26 -0
- package/src/view/common/index.ts +19 -0
- package/src/view/common/view.provider.ts +14 -0
- package/src/view/common/view.scss +39 -0
- package/src/view/common/view.tsx +285 -0
- package/src/view/de-redirect-view/de-redirect-view.provider.ts +14 -0
- package/src/view/de-redirect-view/de-redirect-view.tsx +86 -0
- package/src/view/de-redirect-view/index.ts +17 -0
- package/src/view/html-view/html-view.provider.ts +14 -0
- package/src/view/html-view/html-view.scss +7 -0
- package/src/view/html-view/html-view.tsx +86 -0
- package/src/view/html-view/index.ts +10 -0
- package/src/view/index.ts +6 -0
- package/src/view/md-custom-view/md-custom-view.provider.ts +30 -0
- package/src/view/portal-view/index.ts +18 -0
- package/src/view/portal-view/portal-view.provider.ts +14 -0
- package/src/view/portal-view/portal-view.tsx +83 -0
- package/src/view/todo-redirect/todo-redirect.tsx +51 -0
- package/es/panel-component/panel-container/panel-container.controller.d.ts +0 -21
- package/es/panel-component/panel-container/panel-container.controller.d.ts.map +0 -1
- package/es/panel-component/panel-container/panel-container.controller.mjs +0 -12
- package/es/panel-component/panel-container/panel-container.state.d.ts +0 -10
- package/es/panel-component/panel-container/panel-container.state.d.ts.map +0 -1
- package/es/panel-component/panel-container/panel-container.state.mjs +0 -7
- package/es/panel-component/panel-container-group/index.d.ts +0 -29
- package/es/panel-component/panel-container-group/index.d.ts.map +0 -1
- package/es/panel-component/panel-container-group/index.mjs +0 -21
- package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts +0 -34
- package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts.map +0 -1
- package/es/panel-component/panel-container-group/panel-container-group.controller.mjs +0 -31
- package/es/panel-component/panel-container-group/panel-container-group.css +0 -1
- package/es/panel-component/panel-container-group/panel-container-group.d.ts +0 -46
- package/es/panel-component/panel-container-group/panel-container-group.d.ts.map +0 -1
- package/es/panel-component/panel-container-group/panel-container-group.mjs +0 -119
- package/es/panel-component/panel-container-group/panel-container-group.provider.d.ts +0 -16
- package/es/panel-component/panel-container-group/panel-container-group.provider.d.ts.map +0 -1
- package/es/panel-component/panel-container-group/panel-container-group.provider.mjs +0 -15
- package/es/panel-component/panel-container-group/panel-container-group.state.d.ts +0 -13
- package/es/panel-component/panel-container-group/panel-container-group.state.d.ts.map +0 -1
- package/es/panel-component/panel-container-group/panel-container-group.state.mjs +0 -7
- package/es/util/control/prepare-control.d.ts +0 -15
- package/es/util/control/prepare-control.d.ts.map +0 -1
- package/es/util/control/prepare-control.mjs +0 -22
- package/lib/panel-component/panel-container/panel-container.controller.cjs +0 -14
- package/lib/panel-component/panel-container/panel-container.state.cjs +0 -9
- package/lib/panel-component/panel-container-group/index.cjs +0 -28
- package/lib/panel-component/panel-container-group/panel-container-group.cjs +0 -121
- package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +0 -33
- package/lib/panel-component/panel-container-group/panel-container-group.css +0 -1
- package/lib/panel-component/panel-container-group/panel-container-group.provider.cjs +0 -17
- package/lib/panel-component/panel-container-group/panel-container-group.state.cjs +0 -9
- package/lib/util/control/prepare-control.cjs +0 -24
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { RuntimeError } from '@ibiz-template/core';
|
|
2
|
+
import { getDERedirectToView, ViewController } from '@ibiz-template/runtime';
|
|
3
|
+
import { IAppDERedirectView } from '@ibiz/model-core';
|
|
4
|
+
import {
|
|
5
|
+
defineComponent,
|
|
6
|
+
h,
|
|
7
|
+
PropType,
|
|
8
|
+
ref,
|
|
9
|
+
resolveComponent,
|
|
10
|
+
toRaw,
|
|
11
|
+
watch,
|
|
12
|
+
} from 'vue';
|
|
13
|
+
import { useViewController } from '../../use';
|
|
14
|
+
|
|
15
|
+
export const DeRedirectView = defineComponent({
|
|
16
|
+
name: 'IBizDeRedirectView',
|
|
17
|
+
props: {
|
|
18
|
+
context: { type: Object as PropType<IContext>, required: true },
|
|
19
|
+
params: { type: Object as PropType<IParams>, default: () => ({}) },
|
|
20
|
+
modelData: { type: Object as PropType<IAppDERedirectView>, required: true },
|
|
21
|
+
isEmbedCtrlNav: { type: Boolean, default: false },
|
|
22
|
+
},
|
|
23
|
+
setup(props) {
|
|
24
|
+
const c = useViewController((...args) => new ViewController(...args));
|
|
25
|
+
const toViewId = ref<string>();
|
|
26
|
+
const toViewContext = ref<IContext>();
|
|
27
|
+
const toViewParams = ref<IParams>();
|
|
28
|
+
|
|
29
|
+
c.evt.on('onCreated', () => {
|
|
30
|
+
getDERedirectToView(
|
|
31
|
+
toRaw(props.modelData),
|
|
32
|
+
toRaw(c.context),
|
|
33
|
+
toRaw(c.params),
|
|
34
|
+
).then(async result => {
|
|
35
|
+
if (result.type === 'view') {
|
|
36
|
+
toViewId.value = result.viewId;
|
|
37
|
+
toViewContext.value = result.context;
|
|
38
|
+
toViewParams.value = result.params;
|
|
39
|
+
} else {
|
|
40
|
+
throw new RuntimeError(
|
|
41
|
+
ibiz.i18n.t('vue3Util.view.embeddedRedirectionView'),
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
if (props.isEmbedCtrlNav) {
|
|
47
|
+
watch(
|
|
48
|
+
() => [c.context, c.params],
|
|
49
|
+
() => {
|
|
50
|
+
getDERedirectToView(
|
|
51
|
+
toRaw(props.modelData),
|
|
52
|
+
toRaw(c.context),
|
|
53
|
+
toRaw(c.params),
|
|
54
|
+
).then(async result => {
|
|
55
|
+
if (result.type === 'view') {
|
|
56
|
+
toViewId.value = result.viewId;
|
|
57
|
+
toViewContext.value = result.context;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
deep: true,
|
|
63
|
+
},
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return { c, toViewId, toViewContext, toViewParams };
|
|
68
|
+
},
|
|
69
|
+
render() {
|
|
70
|
+
if (this.toViewId) {
|
|
71
|
+
return h(
|
|
72
|
+
resolveComponent('IBizViewShell'),
|
|
73
|
+
{
|
|
74
|
+
context: this.toViewContext,
|
|
75
|
+
params: this.toViewParams,
|
|
76
|
+
viewId: this.toViewId,
|
|
77
|
+
...this.$attrs,
|
|
78
|
+
},
|
|
79
|
+
this.$slots,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
return (
|
|
83
|
+
<div style='width: 100%; height: 100%;' v-loading={!this.toViewId}></div>
|
|
84
|
+
);
|
|
85
|
+
},
|
|
86
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { registerViewProvider, ViewType } from '@ibiz-template/runtime';
|
|
3
|
+
import { withInstall } from '../../util';
|
|
4
|
+
import { DeRedirectView } from './de-redirect-view';
|
|
5
|
+
import { DeRedirectViewProvider } from './de-redirect-view.provider';
|
|
6
|
+
|
|
7
|
+
export const IBizDeRedirectView = withInstall(
|
|
8
|
+
DeRedirectView,
|
|
9
|
+
function (v: App) {
|
|
10
|
+
v.component(DeRedirectView.name!, DeRedirectView);
|
|
11
|
+
const deRedirectViewProvider = new DeRedirectViewProvider();
|
|
12
|
+
registerViewProvider(
|
|
13
|
+
ViewType.DE_REDIRECT_VIEW,
|
|
14
|
+
() => deRedirectViewProvider,
|
|
15
|
+
);
|
|
16
|
+
},
|
|
17
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IViewProvider } from '@ibiz-template/runtime';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 实体html视图适配器
|
|
5
|
+
*
|
|
6
|
+
* @author fzh
|
|
7
|
+
* @date 2024-08-21 18:00:57
|
|
8
|
+
* @export
|
|
9
|
+
* @class HtmlViewProvider
|
|
10
|
+
* @implements {IViewProvider}
|
|
11
|
+
*/
|
|
12
|
+
export class HtmlViewProvider implements IViewProvider {
|
|
13
|
+
component: string = 'IBizHtmlView';
|
|
14
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { IAppDEHtmlView } from '@ibiz/model-core';
|
|
2
|
+
import {
|
|
3
|
+
HtmlViewController,
|
|
4
|
+
getErrorViewProvider,
|
|
5
|
+
} from '@ibiz-template/runtime';
|
|
6
|
+
import {
|
|
7
|
+
h,
|
|
8
|
+
ref,
|
|
9
|
+
PropType,
|
|
10
|
+
onBeforeMount,
|
|
11
|
+
defineComponent,
|
|
12
|
+
resolveComponent,
|
|
13
|
+
} from 'vue';
|
|
14
|
+
import { useNamespace, useViewController } from '../../use';
|
|
15
|
+
import './html-view.scss';
|
|
16
|
+
|
|
17
|
+
export const HtmlView = defineComponent({
|
|
18
|
+
name: 'IBizHtmlView',
|
|
19
|
+
props: {
|
|
20
|
+
context: Object as PropType<IContext>,
|
|
21
|
+
params: { type: Object as PropType<IParams>, default: () => ({}) },
|
|
22
|
+
modelData: { type: Object as PropType<IAppDEHtmlView>, required: true },
|
|
23
|
+
modal: { type: Object as PropType<IAppDEHtmlView> },
|
|
24
|
+
state: { type: Object as PropType<IData> },
|
|
25
|
+
},
|
|
26
|
+
setup() {
|
|
27
|
+
const ns = useNamespace('view');
|
|
28
|
+
const c = useViewController(
|
|
29
|
+
(model, ...args) =>
|
|
30
|
+
new HtmlViewController(model as IAppDEHtmlView, ...args),
|
|
31
|
+
);
|
|
32
|
+
// 视图部件模型在viewlayoutPanel里面。
|
|
33
|
+
const controls = c.model.viewLayoutPanel?.controls || c.model.controls;
|
|
34
|
+
const { viewType, sysCss, codeName } = c.model;
|
|
35
|
+
const typeClass = viewType!.toLowerCase();
|
|
36
|
+
const sysCssName = sysCss?.cssName;
|
|
37
|
+
const viewClassNames = [
|
|
38
|
+
ns.b(),
|
|
39
|
+
true && ns.b(typeClass),
|
|
40
|
+
true && ns.m(codeName),
|
|
41
|
+
true && sysCssName,
|
|
42
|
+
];
|
|
43
|
+
const isLoading = ref(false);
|
|
44
|
+
|
|
45
|
+
onBeforeMount(() => {
|
|
46
|
+
if (c.state.htmlUrl) {
|
|
47
|
+
isLoading.value = true;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
const onLoad = () => {
|
|
52
|
+
isLoading.value = false;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
return { c, ns, controls, viewClassNames, isLoading, onLoad };
|
|
56
|
+
},
|
|
57
|
+
render() {
|
|
58
|
+
if (!this.c.state.isCreated) return;
|
|
59
|
+
|
|
60
|
+
if (this.c.state.htmlUrl) {
|
|
61
|
+
return (
|
|
62
|
+
<div
|
|
63
|
+
class={this.viewClassNames}
|
|
64
|
+
v-loading={this.isLoading}
|
|
65
|
+
element-loading-text={this.c.state.loadingText}
|
|
66
|
+
>
|
|
67
|
+
<iframe
|
|
68
|
+
src={this.c.state.htmlUrl}
|
|
69
|
+
onLoad={() => this.onLoad()}
|
|
70
|
+
></iframe>
|
|
71
|
+
</div>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
let Content = null;
|
|
76
|
+
const provider = getErrorViewProvider('404');
|
|
77
|
+
if (provider) {
|
|
78
|
+
if (typeof provider.component === 'string') {
|
|
79
|
+
Content = h(resolveComponent(provider.component) as string);
|
|
80
|
+
}
|
|
81
|
+
Content = h(provider.component);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return <div class={this.viewClassNames}>{Content}</div>;
|
|
85
|
+
},
|
|
86
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { registerViewProvider, ViewType } from '@ibiz-template/runtime';
|
|
3
|
+
import { withInstall } from '../../util';
|
|
4
|
+
import { HtmlViewProvider } from './html-view.provider';
|
|
5
|
+
import { HtmlView } from './html-view';
|
|
6
|
+
|
|
7
|
+
export const IBizHtmlView = withInstall(HtmlView, function (v: App) {
|
|
8
|
+
v.component(HtmlView.name!, HtmlView);
|
|
9
|
+
registerViewProvider(ViewType.DE_HTML_VIEW, () => new HtmlViewProvider());
|
|
10
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CTX,
|
|
3
|
+
IMDCustomViewState,
|
|
4
|
+
IViewController,
|
|
5
|
+
IViewEvent,
|
|
6
|
+
IViewProvider,
|
|
7
|
+
MDCustomViewController,
|
|
8
|
+
} from '@ibiz-template/runtime';
|
|
9
|
+
import { IAppDECustomView } from '@ibiz/model-core';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @description 实体多数据自定义视图适配器
|
|
13
|
+
* @export
|
|
14
|
+
* @class MDCustomViewProvider
|
|
15
|
+
* @implements {IViewProvider}
|
|
16
|
+
*/
|
|
17
|
+
export class MDCustomViewProvider implements IViewProvider {
|
|
18
|
+
component: string = 'IBizView';
|
|
19
|
+
|
|
20
|
+
createController(
|
|
21
|
+
model: IAppDECustomView,
|
|
22
|
+
context: IContext,
|
|
23
|
+
params?: IParams | undefined,
|
|
24
|
+
ctx?:
|
|
25
|
+
| CTX<IViewController<IAppDECustomView, IMDCustomViewState, IViewEvent>>
|
|
26
|
+
| undefined,
|
|
27
|
+
): IViewController<IAppDECustomView, IMDCustomViewState, IViewEvent> {
|
|
28
|
+
return new MDCustomViewController(model, context, params, ctx);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { registerViewProvider, ViewType } from '@ibiz-template/runtime';
|
|
3
|
+
import { withInstall } from '../../util';
|
|
4
|
+
import { PortalViewProvider } from './portal-view.provider';
|
|
5
|
+
import { PortalView } from './portal-view';
|
|
6
|
+
|
|
7
|
+
export const IBizPortalView = withInstall(PortalView, function (v: App) {
|
|
8
|
+
v.component(PortalView.name!, PortalView);
|
|
9
|
+
registerViewProvider(
|
|
10
|
+
ViewType.APP_PORTAL_VIEW,
|
|
11
|
+
() => new PortalViewProvider(),
|
|
12
|
+
);
|
|
13
|
+
registerViewProvider(ViewType.DE_PORTAL_VIEW, () => new PortalViewProvider());
|
|
14
|
+
registerViewProvider(
|
|
15
|
+
ViewType.DE_PORTAL_VIEW9,
|
|
16
|
+
() => new PortalViewProvider(),
|
|
17
|
+
);
|
|
18
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IViewProvider } from '@ibiz-template/runtime';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 应用门户视图,实体数据看板视图适配器
|
|
5
|
+
*
|
|
6
|
+
* @author lxm
|
|
7
|
+
* @date 2022-10-25 18:10:57
|
|
8
|
+
* @export
|
|
9
|
+
* @class ViewProvider
|
|
10
|
+
* @implements {IViewProvider}
|
|
11
|
+
*/
|
|
12
|
+
export class PortalViewProvider implements IViewProvider {
|
|
13
|
+
component: string = 'IBizPortalView';
|
|
14
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { IModal, ViewController } from '@ibiz-template/runtime';
|
|
2
|
+
import { IAppPortalView } from '@ibiz/model-core';
|
|
3
|
+
import { defineComponent, h, PropType, resolveComponent } from 'vue';
|
|
4
|
+
import { useNamespace, useViewController } from '../../use';
|
|
5
|
+
|
|
6
|
+
export const PortalView = defineComponent({
|
|
7
|
+
name: 'IBizPortalView',
|
|
8
|
+
props: {
|
|
9
|
+
context: Object as PropType<IContext>,
|
|
10
|
+
params: { type: Object as PropType<IParams>, default: () => ({}) },
|
|
11
|
+
modelData: { type: Object as PropType<IAppPortalView>, required: true },
|
|
12
|
+
modal: { type: Object as PropType<IModal> },
|
|
13
|
+
state: { type: Object as PropType<IData> },
|
|
14
|
+
},
|
|
15
|
+
setup() {
|
|
16
|
+
const ns = useNamespace('view');
|
|
17
|
+
const c = useViewController((...args) => new ViewController(...args));
|
|
18
|
+
// 视图部件模型在viewlayoutPanel里面。
|
|
19
|
+
const controls = c.model.viewLayoutPanel?.controls || c.model.controls;
|
|
20
|
+
|
|
21
|
+
const { viewType, sysCss, codeName } = c.model;
|
|
22
|
+
const typeClass = viewType!.toLowerCase();
|
|
23
|
+
const sysCssName = sysCss?.cssName;
|
|
24
|
+
const viewClassNames = [
|
|
25
|
+
ns.b(),
|
|
26
|
+
true && ns.b(typeClass),
|
|
27
|
+
true && ns.m(codeName),
|
|
28
|
+
true && sysCssName,
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
return { c, ns, controls, viewClassNames };
|
|
32
|
+
},
|
|
33
|
+
render() {
|
|
34
|
+
let content = null;
|
|
35
|
+
if (this.c.state.isCreated) {
|
|
36
|
+
// 绘制部件插槽,外部插槽优先
|
|
37
|
+
const slots: IData = {
|
|
38
|
+
...this.$slots,
|
|
39
|
+
};
|
|
40
|
+
if (this.controls?.length) {
|
|
41
|
+
this.controls.forEach(ctrl => {
|
|
42
|
+
const slotKey = ctrl.name || ctrl.id!;
|
|
43
|
+
const ctrlProps = {
|
|
44
|
+
context: this.c.context,
|
|
45
|
+
params: this.c.params,
|
|
46
|
+
};
|
|
47
|
+
if (this.c.slotProps[slotKey]) {
|
|
48
|
+
Object.assign(ctrlProps, this.c.slotProps[slotKey]);
|
|
49
|
+
}
|
|
50
|
+
// 已经有插槽的不用自己绘制了。
|
|
51
|
+
const outCtrlSlot = slots[slotKey];
|
|
52
|
+
if (outCtrlSlot) {
|
|
53
|
+
slots[slotKey] = () => {
|
|
54
|
+
return outCtrlSlot({
|
|
55
|
+
modelData: ctrl,
|
|
56
|
+
...ctrlProps,
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const provider = this.c.providers[slotKey];
|
|
62
|
+
if (provider) {
|
|
63
|
+
slots[slotKey] = () => {
|
|
64
|
+
const comp = resolveComponent(provider.component) as string;
|
|
65
|
+
return h(comp, {
|
|
66
|
+
modelData: ctrl,
|
|
67
|
+
...ctrlProps,
|
|
68
|
+
provider,
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// 绘制内容区
|
|
76
|
+
if (slots.dashboard) {
|
|
77
|
+
content = slots.dashboard();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return <div class={this.viewClassNames}>{content}</div>;
|
|
82
|
+
},
|
|
83
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import qs from 'qs';
|
|
2
|
+
import { defineComponent } from 'vue';
|
|
3
|
+
import { useRouter } from 'vue-router';
|
|
4
|
+
|
|
5
|
+
export const TodoRedirect = defineComponent({
|
|
6
|
+
setup() {
|
|
7
|
+
const router = useRouter();
|
|
8
|
+
|
|
9
|
+
const { href } = window.location;
|
|
10
|
+
|
|
11
|
+
const i = href.lastIndexOf('?');
|
|
12
|
+
|
|
13
|
+
const queryStr: string = decodeURIComponent(
|
|
14
|
+
href.substring(i + 1, href.length),
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
if (!queryStr) {
|
|
18
|
+
throw new Error(ibiz.i18n.t('vue3Util.view.insufficientRedirection'));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const params = qs.parse(queryStr, { delimiter: ';' }) as IData;
|
|
22
|
+
|
|
23
|
+
const { apptype, todotype, todoid } = params;
|
|
24
|
+
|
|
25
|
+
const data: IData = { srfapptype: 'pc', srfapp: '' };
|
|
26
|
+
|
|
27
|
+
if (!apptype) {
|
|
28
|
+
data.todourltype = 'RouterUrl';
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
async function getLinkUrl(): Promise<void> {
|
|
32
|
+
const res = await ibiz.net.post(`/systodos/${todoid}/getlinkurl`, data);
|
|
33
|
+
let url: string = res.data.linkurl;
|
|
34
|
+
// apptype存在,带ip、端口等完整数据
|
|
35
|
+
if (apptype) {
|
|
36
|
+
window.location.href = url;
|
|
37
|
+
} else {
|
|
38
|
+
if (url.indexOf('/') !== 0) {
|
|
39
|
+
url = `/${url}`;
|
|
40
|
+
}
|
|
41
|
+
url += `;srfwf=${todotype}`;
|
|
42
|
+
router.push(`/index${url}`);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
getLinkUrl();
|
|
47
|
+
},
|
|
48
|
+
render() {
|
|
49
|
+
return <div>{ibiz.i18n.t('vue3Util.view.toDoList')}</div>;
|
|
50
|
+
},
|
|
51
|
+
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
|
-
import { PanelContainerState } from './panel-container.state';
|
|
4
|
-
/**
|
|
5
|
-
* 面板容器控制器
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @class PanelContainerController
|
|
9
|
-
* @extends {PanelItemController}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelContainerController extends PanelItemController<IPanelContainer> {
|
|
12
|
-
/**
|
|
13
|
-
* @description 面板容器状态
|
|
14
|
-
* @exposedoc
|
|
15
|
-
* @type {PanelContainerState}
|
|
16
|
-
* @memberof PanelContainerController
|
|
17
|
-
*/
|
|
18
|
-
state: PanelContainerState;
|
|
19
|
-
protected createState(): PanelContainerState;
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=panel-container.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/panel-container.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D;;;;;;GAMG;AACH,qBAAa,wBAAyB,SAAQ,mBAAmB,CAAC,eAAe,CAAC;IAChF;;;;;OAKG;IACK,KAAK,EAAE,mBAAmB,CAAC;IAEnC,SAAS,CAAC,WAAW,IAAI,mBAAmB;CAG7C"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { PanelContainerState } from './panel-container.state.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
class PanelContainerController extends PanelItemController {
|
|
6
|
-
createState() {
|
|
7
|
-
var _a;
|
|
8
|
-
return new PanelContainerState((_a = this.parent) == null ? void 0 : _a.state);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { PanelContainerController };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* @description 面板容器状态
|
|
4
|
-
* @export
|
|
5
|
-
* @class PanelContainerState
|
|
6
|
-
* @extends {PanelItemState}
|
|
7
|
-
*/
|
|
8
|
-
export declare class PanelContainerState extends PanelItemState {
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=panel-container.state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container.state.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/panel-container.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;;GAKG;AACH,qBAAa,mBAAoB,SAAQ,cAAc;CAAG"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { PanelContainerGroupState } from './panel-container-group.state';
|
|
2
|
-
import { PanelContainerGroupController } from './panel-container-group.controller';
|
|
3
|
-
export { PanelContainerGroupState, PanelContainerGroupController };
|
|
4
|
-
export declare const IBizPanelContainerGroup: import("../../util").TypeWithInstall<import("vue").DefineComponent<{
|
|
5
|
-
modelData: {
|
|
6
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
controller: {
|
|
10
|
-
type: typeof PanelContainerGroupController;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}, {
|
|
14
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
15
|
-
captionText: import("vue").ComputedRef<any>;
|
|
16
|
-
changeCollapse: () => void;
|
|
17
|
-
isCollapse: import("vue").Ref<boolean>;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
modelData: {
|
|
20
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
controller: {
|
|
24
|
-
type: typeof PanelContainerGroupController;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
}>>, {}, {}>>;
|
|
28
|
-
export default IBizPanelContainerGroup;
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-group/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAInF,OAAO,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;aASnC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
-
export { PanelContainerGroupState } from './panel-container-group.state.mjs';
|
|
3
|
-
import { PanelContainerGroupProvider } from './panel-container-group.provider.mjs';
|
|
4
|
-
export { PanelContainerGroupController } from './panel-container-group.controller.mjs';
|
|
5
|
-
import { PanelContainerGroup } from './panel-container-group.mjs';
|
|
6
|
-
import '../../util/index.mjs';
|
|
7
|
-
import { withInstall } from '../../util/install.mjs';
|
|
8
|
-
|
|
9
|
-
"use strict";
|
|
10
|
-
const IBizPanelContainerGroup = withInstall(
|
|
11
|
-
PanelContainerGroup,
|
|
12
|
-
function(v) {
|
|
13
|
-
v.component(PanelContainerGroup.name, PanelContainerGroup);
|
|
14
|
-
registerPanelItemProvider(
|
|
15
|
-
"CONTAINER_CONTAINER_GROUP",
|
|
16
|
-
() => new PanelContainerGroupProvider()
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
export { IBizPanelContainerGroup, IBizPanelContainerGroup as default };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
|
-
import { PanelContainerGroupState } from './panel-container-group.state';
|
|
4
|
-
/**
|
|
5
|
-
* 面板分组容器控制器
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @class PanelContainerGroupController
|
|
9
|
-
* @extends {PanelItemController}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelContainerGroupController extends PanelItemController<IPanelContainer> {
|
|
12
|
-
/**
|
|
13
|
-
* @description 状态
|
|
14
|
-
* @exposedoc
|
|
15
|
-
* @type {PanelContainerGroupState}
|
|
16
|
-
* @memberof PanelContainerGroupController
|
|
17
|
-
*/
|
|
18
|
-
state: PanelContainerGroupState;
|
|
19
|
-
protected createState(): PanelContainerGroupState;
|
|
20
|
-
/**
|
|
21
|
-
* @description 禁用关闭
|
|
22
|
-
* @exposedoc
|
|
23
|
-
* @readonly
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
*/
|
|
26
|
-
get disableClose(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* @description 是否默认展开分组
|
|
29
|
-
* @exposedoc
|
|
30
|
-
* @readonly
|
|
31
|
-
*/
|
|
32
|
-
get defaultExpansion(): boolean;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=panel-container-group.controller.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container-group.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-group/panel-container-group.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE;;;;;;GAMG;AACH,qBAAa,6BAA8B,SAAQ,mBAAmB,CAAC,eAAe,CAAC;IACrF;;;;;OAKG;IACK,KAAK,EAAE,wBAAwB,CAAC;IAExC,SAAS,CAAC,WAAW,IAAI,wBAAwB;IAIjD;;;;;OAKG;IACH,IAAI,YAAY,IAAI,OAAO,CAG1B;IAED;;;;OAIG;IACH,IAAI,gBAAgB,IAAI,OAAO,CAG9B;CACF"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { PanelContainerGroupState } from './panel-container-group.state.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
class PanelContainerGroupController extends PanelItemController {
|
|
6
|
-
createState() {
|
|
7
|
-
var _a;
|
|
8
|
-
return new PanelContainerGroupState((_a = this.parent) == null ? void 0 : _a.state);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @description 禁用关闭
|
|
12
|
-
* @exposedoc
|
|
13
|
-
* @readonly
|
|
14
|
-
* @type {boolean}
|
|
15
|
-
*/
|
|
16
|
-
get disableClose() {
|
|
17
|
-
const { titleBarCloseMode: mode } = this.model;
|
|
18
|
-
return mode === 0 || mode === void 0;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @description 是否默认展开分组
|
|
22
|
-
* @exposedoc
|
|
23
|
-
* @readonly
|
|
24
|
-
*/
|
|
25
|
-
get defaultExpansion() {
|
|
26
|
-
const { titleBarCloseMode: mode } = this.model;
|
|
27
|
-
return this.disableClose || mode === 1;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { PanelContainerGroupController };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-container-group{--ibiz-panel-container-group-bg-color:transparent;--ibiz-panel-container-group-header-bg-color:transparent;--ibiz-panel-container-group-header-padding:var(--ibiz-spacing-base-tight);--ibiz-panel-container-group-header-border-color:var(--ibiz-color-border);--ibiz-panel-container-group-header-height:49px;--ibiz-panel-container-group-caption-text-color:var(--ibiz-color-text-0);--ibiz-panel-container-group-caption-font-size:var(--ibiz-font-size-header-5);--ibiz-panel-container-group-caption-font-weight:var(--ibiz-font-weight-bold);--ibiz-panel-container-group-content-bg-color:transparent;--ibiz-panel-container-group-content-padding:var(--ibiz-spacing-tight)}.ibiz-panel-container-group{height:100%;background-color:var(--ibiz-panel-container-group-bg-color);border-radius:var(--ibiz-border-radius-base)}.ibiz-panel-container-group__caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-panel-container-group-caption-font-size);font-weight:var(--ibiz-panel-container-group-caption-font-weight);color:var(--ibiz-panel-container-group-caption-text-color)}.ibiz-panel-container-group__caption--icon{padding-right:var(--ibiz-spacing-tight)}.ibiz-panel-container-group-collapse>.ibiz-panel-container-group-content{display:block}.ibiz-panel-container-group-collapse.is-collapse>.ibiz-panel-container-group-content{display:none}.ibiz-panel-container-group-header{display:flex;height:var(--ibiz-panel-container-group-header-height);padding:var(--ibiz-panel-container-group-header-padding);margin:var(--ibiz-panel-container-group-header-margin);border-bottom:1px solid var(--ibiz-panel-container-group-header-border-color)}.ibiz-panel-container-group-header__left,.ibiz-panel-container-group-header__right{display:inline-block;width:50%}.ibiz-panel-container-group-header__right{text-align:right;display:flex;align-items:center;justify-content:flex-end}.ibiz-panel-container-group-content{width:100%;height:100%}.ibiz-panel-container-group-content>.ibiz-row{width:100%;height:100%}.ibiz-panel-container-group--show-header>.ibiz-panel-container-group-content{height:calc(100% - var(--ibiz-panel-container-group-header-height));padding:var(--ibiz-panel-container-group-content-padding);background-color:var(--ibiz-panel-container-group-content-bg-color)}
|