@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
|
@@ -8,7 +8,7 @@ import './multi-data-container-raw.scss';
|
|
|
8
8
|
* @primary
|
|
9
9
|
* @description 与多项数据容器类似,唯一不同的是不根据数据循环绘制所有子,只绘制一遍,但所有数据都会传递给子组件。
|
|
10
10
|
*/
|
|
11
|
-
export declare const MultiDataContainerRaw: import("vue").DefineComponent<{
|
|
11
|
+
export declare const MultiDataContainerRaw: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
/**
|
|
13
13
|
* @description 多项数据容器(仅数据)模型
|
|
14
14
|
*/
|
|
@@ -23,7 +23,7 @@ export declare const MultiDataContainerRaw: import("vue").DefineComponent<{
|
|
|
23
23
|
type: typeof MultiDataContainerRawController;
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}>, {
|
|
27
27
|
ns: import("@ibiz-template/core").Namespace;
|
|
28
28
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
29
29
|
renderPanelItem: (panelItem: IPanelItem, options?: {
|
|
@@ -33,8 +33,10 @@ export declare const MultiDataContainerRaw: import("vue").DefineComponent<{
|
|
|
33
33
|
panelItems: {
|
|
34
34
|
[key: string]: IPanelItemController;
|
|
35
35
|
};
|
|
36
|
-
}
|
|
37
|
-
|
|
36
|
+
}) => VNode | null;
|
|
37
|
+
semanticClass: import("../../use").UseSemanticClassReturn;
|
|
38
|
+
semanticStyle: import("../../use").UseSemanticStyleReturn;
|
|
39
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
40
|
/**
|
|
39
41
|
* @description 多项数据容器(仅数据)模型
|
|
40
42
|
*/
|
|
@@ -49,5 +51,5 @@ export declare const MultiDataContainerRaw: import("vue").DefineComponent<{
|
|
|
49
51
|
type: typeof MultiDataContainerRawController;
|
|
50
52
|
required: true;
|
|
51
53
|
};
|
|
52
|
-
}
|
|
54
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
55
|
//# sourceMappingURL=multi-data-container-raw.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-data-container-raw.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container-raw/multi-data-container-raw.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAIL,QAAQ,EAER,KAAK,EAEN,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,iCAAiC,CAAC;AAEzC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;IAG9B;;OAEG;;;;;IAKH;;OAEG;;;;;;;;
|
|
1
|
+
{"version":3,"file":"multi-data-container-raw.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container-raw/multi-data-container-raw.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAIL,QAAQ,EAER,KAAK,EAEN,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,iCAAiC,CAAC;AAEzC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;IAG9B;;OAEG;;;;;IAKH;;OAEG;;;;;;;;iCA2BY,UAAU,YACX;QACR,SAAS,EAAE;YACT,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,CAAC;SACnC,CAAC;QACF,UAAU,EAAE;YACV,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAC;SACrC,CAAC;KACH,KACE,KAAK,GAAG,IAAI;;;;IA7CnB;;OAEG;;;;;IAKH;;OAEG;;;;;iGA6FL,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { isVNode, defineComponent, watch, reactive, inject, computed
|
|
1
|
+
import { isVNode, defineComponent, createVNode, resolveComponent, withDirectives, resolveDirective, watch, reactive, inject, computed } from 'vue';
|
|
2
2
|
import '../../use/index.mjs';
|
|
3
3
|
import { MultiDataContainerRawController } from './multi-data-container-raw.controller.mjs';
|
|
4
4
|
import './multi-data-container-raw.css';
|
|
5
5
|
import { useNamespace } from '../../use/namespace/namespace.mjs';
|
|
6
|
+
import { useSemanticNode } from '../../use/use-semantic-node/use-semantic-node.mjs';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
function _isSlot(s) {
|
|
@@ -31,6 +32,10 @@ const MultiDataContainerRaw = /* @__PURE__ */ defineComponent({
|
|
|
31
32
|
const {
|
|
32
33
|
id
|
|
33
34
|
} = props.modelData;
|
|
35
|
+
const {
|
|
36
|
+
semanticClass,
|
|
37
|
+
semanticStyle
|
|
38
|
+
} = useSemanticNode(props.controller);
|
|
34
39
|
watch(() => props.controller.state.items, () => {
|
|
35
40
|
const keys = Object.keys(props.controller.panelItems);
|
|
36
41
|
keys.forEach((key) => {
|
|
@@ -49,7 +54,9 @@ const MultiDataContainerRaw = /* @__PURE__ */ defineComponent({
|
|
|
49
54
|
return {
|
|
50
55
|
ns,
|
|
51
56
|
classArr,
|
|
52
|
-
renderPanelItem
|
|
57
|
+
renderPanelItem,
|
|
58
|
+
semanticClass,
|
|
59
|
+
semanticStyle
|
|
53
60
|
};
|
|
54
61
|
},
|
|
55
62
|
render() {
|
|
@@ -58,7 +65,8 @@ const MultiDataContainerRaw = /* @__PURE__ */ defineComponent({
|
|
|
58
65
|
content = this.$slots.default();
|
|
59
66
|
} else {
|
|
60
67
|
content = createVNode(resolveComponent("iBizRow"), {
|
|
61
|
-
"class": this.ns.b("content"),
|
|
68
|
+
"class": [this.ns.b("content"), this.semanticClass("content")],
|
|
69
|
+
"style": this.semanticStyle("content"),
|
|
62
70
|
"layout": this.modelData.layout
|
|
63
71
|
}, {
|
|
64
72
|
default: () => {
|
|
@@ -68,7 +76,13 @@ const MultiDataContainerRaw = /* @__PURE__ */ defineComponent({
|
|
|
68
76
|
const childController = this.controller.panelItems[panelItem.id];
|
|
69
77
|
return createVNode(resolveComponent("iBizCol"), {
|
|
70
78
|
"layoutPos": panelItem.layoutPos,
|
|
71
|
-
"state": childController.state
|
|
79
|
+
"state": childController.state,
|
|
80
|
+
"class": this.semanticClass("item", {
|
|
81
|
+
item: childController
|
|
82
|
+
}),
|
|
83
|
+
"style": this.semanticStyle("item", {
|
|
84
|
+
item: childController
|
|
85
|
+
})
|
|
72
86
|
}, _isSlot(_slot = this.renderPanelItem(panelItem, {
|
|
73
87
|
providers: this.controller.providers,
|
|
74
88
|
panelItems: this.controller.panelItems
|
|
@@ -79,9 +93,11 @@ const MultiDataContainerRaw = /* @__PURE__ */ defineComponent({
|
|
|
79
93
|
}
|
|
80
94
|
});
|
|
81
95
|
}
|
|
82
|
-
return createVNode("div", {
|
|
83
|
-
"class": this.classArr
|
|
84
|
-
|
|
96
|
+
return withDirectives(createVNode("div", {
|
|
97
|
+
"class": [this.classArr, this.semanticClass("root")],
|
|
98
|
+
"style": this.semanticStyle("root"),
|
|
99
|
+
"element-loading-text": this.controller.state.loadingText
|
|
100
|
+
}, [content]), [[resolveDirective("loading"), this.controller.state.loading]]);
|
|
85
101
|
}
|
|
86
102
|
});
|
|
87
103
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PanelContainerState } from '@ibiz-template/runtime';
|
|
2
2
|
/**
|
|
3
3
|
* 多项数据容器状态
|
|
4
4
|
*
|
|
@@ -6,9 +6,9 @@ import { PanelItemState } from '@ibiz-template/runtime';
|
|
|
6
6
|
* @date 2024-09-09 16:04:27
|
|
7
7
|
* @export
|
|
8
8
|
* @class MultiDataContainerRawState
|
|
9
|
-
* @extends {
|
|
9
|
+
* @extends {PanelContainerState}
|
|
10
10
|
*/
|
|
11
|
-
export declare class MultiDataContainerRawState extends
|
|
11
|
+
export declare class MultiDataContainerRawState extends PanelContainerState {
|
|
12
12
|
/**
|
|
13
13
|
* @description 多项数据容器数据
|
|
14
14
|
* @exposedoc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-data-container-raw.state.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container-raw/multi-data-container-raw.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"multi-data-container-raw.state.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container-raw/multi-data-container-raw.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D;;;;;;;;GAQG;AACH,qBAAa,0BAA2B,SAAQ,mBAAmB;IACjE;;;;OAIG;IACH,KAAK,EAAE,KAAK,EAAE,CAAM;CACrB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PanelContainerState } from '@ibiz-template/runtime';
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
|
-
class MultiDataContainerRawState extends
|
|
4
|
+
class MultiDataContainerRawState extends PanelContainerState {
|
|
5
5
|
constructor() {
|
|
6
6
|
super(...arguments);
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NavPosState } from './nav-pos.state';
|
|
2
2
|
import { NavPosController } from './nav-pos.controller';
|
|
3
3
|
export { NavPosState, NavPosController };
|
|
4
|
-
export declare const IBizNavPos: import("../../util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
+
export declare const IBizNavPos: import("../../util").TypeWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
modelData: {
|
|
6
6
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
7
7
|
required: true;
|
|
@@ -10,12 +10,14 @@ export declare const IBizNavPos: import("../../util").TypeWithInstall<import("vu
|
|
|
10
10
|
type: typeof NavPosController;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>, {
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
15
|
c: NavPosController;
|
|
16
|
-
isPresetView: import("vue").Ref<boolean>;
|
|
16
|
+
isPresetView: import("vue").Ref<boolean, boolean>;
|
|
17
17
|
onViewCreated: (event: import("@ibiz-template/runtime").EventBase) => void;
|
|
18
|
-
|
|
18
|
+
semanticClass: import("../..").UseSemanticClassReturn;
|
|
19
|
+
semanticStyle: import("../..").UseSemanticStyleReturn;
|
|
20
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
21
|
modelData: {
|
|
20
22
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
21
23
|
required: true;
|
|
@@ -24,6 +26,6 @@ export declare const IBizNavPos: import("../../util").TypeWithInstall<import("vu
|
|
|
24
26
|
type: typeof NavPosController;
|
|
25
27
|
required: true;
|
|
26
28
|
};
|
|
27
|
-
}
|
|
29
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
28
30
|
export default IBizNavPos;
|
|
29
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;AAEzC,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;AAEzC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;kGAGrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -11,7 +11,7 @@ import { NavPosState } from './nav-pos.state';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class NavPosController extends PanelItemController<IPanelRawItem> implements IPanelItemNavPosController {
|
|
13
13
|
/**
|
|
14
|
-
* 导航占位状态
|
|
14
|
+
* @description 导航占位状态
|
|
15
15
|
* @exposedoc
|
|
16
16
|
* @type {NavPosState}
|
|
17
17
|
* @memberof NavPosController
|
|
@@ -7,13 +7,13 @@ import './nav-pos.scss';
|
|
|
7
7
|
* 导航占位
|
|
8
8
|
* @primary
|
|
9
9
|
* @description 面板中的导航视图占位组件,用于绘制导航视图,并存储导航视图信息与缓存。
|
|
10
|
-
* @panelitemparams {name:expcache,parameterType:
|
|
10
|
+
* @panelitemparams {name:expcache,parameterType:'CACHE' | 'NO_CACHE',defaultvalue:-,description:当值为NO_CACHE时禁用缓存,即每次导航切换时都是重新绘制新的视图,否则使用keepAlive包裹绘制的导航视图}
|
|
11
11
|
* @panelitemparams {name:ignoreembedkey,parameterType:boolean,defaultvalue:-,description:忽略嵌入视图key参数}
|
|
12
12
|
* @panelitemparams {name:expmode,parameterType:'ROUTE' | 'NO_ROUTE',defaultvalue:-,description:导航模式,ROUTE为路由模式,NO_ROUTE为非路由模式,在路由模式下会通过路由打开视图,在非路由的模式下,则会通过视图模型去绘制视图}
|
|
13
13
|
* @panelitemparams {"name":"routeattributekeys","parameterType":"string","defaultvalue":"-","description":"路由透传参数,参数值为上下文对象的key,多个值用竖线`|`分隔,透传的参数将会在路由组件进行解析,并显示声明在路由上进行传递"}
|
|
14
14
|
* @panelitemparams {"name":"REFCTRL","parameterType":"string","defaultvalue":"-","description":"关联部件标识,可指定关联部件,多个关联部件标识以`;`分隔"}
|
|
15
15
|
*/
|
|
16
|
-
export declare const NavPos: import("vue").DefineComponent<{
|
|
16
|
+
export declare const NavPos: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
17
|
/**
|
|
18
18
|
* @description 导航占位模型
|
|
19
19
|
*/
|
|
@@ -28,12 +28,14 @@ export declare const NavPos: import("vue").DefineComponent<{
|
|
|
28
28
|
type: typeof NavPosController;
|
|
29
29
|
required: true;
|
|
30
30
|
};
|
|
31
|
-
}
|
|
31
|
+
}>, {
|
|
32
32
|
ns: import("@ibiz-template/core").Namespace;
|
|
33
33
|
c: NavPosController;
|
|
34
|
-
isPresetView: import("vue").Ref<boolean>;
|
|
34
|
+
isPresetView: import("vue").Ref<boolean, boolean>;
|
|
35
35
|
onViewCreated: (event: EventBase) => void;
|
|
36
|
-
|
|
36
|
+
semanticClass: import("../../use").UseSemanticClassReturn;
|
|
37
|
+
semanticStyle: import("../../use").UseSemanticStyleReturn;
|
|
38
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
39
|
/**
|
|
38
40
|
* @description 导航占位模型
|
|
39
41
|
*/
|
|
@@ -48,5 +50,5 @@ export declare const NavPos: import("vue").DefineComponent<{
|
|
|
48
50
|
type: typeof NavPosController;
|
|
49
51
|
required: true;
|
|
50
52
|
};
|
|
51
|
-
}
|
|
53
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
54
|
//# sourceMappingURL=nav-pos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav-pos.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/nav-pos.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EAKT,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,gBAAgB,CAAC;AAIxB;;;;;;;;;GASG;AACH,eAAO,MAAM,MAAM;IAGf;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"nav-pos.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/nav-pos.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EAKT,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,gBAAgB,CAAC;AAIxB;;;;;;;;;GASG;AACH,eAAO,MAAM,MAAM;IAGf;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;2BAW2B,SAAS,KAAG,IAAI;;;;IApB9C;;OAEG;;;;;IAKH;;OAEG;;;;;iGA8HL,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { isVNode, defineComponent,
|
|
2
|
-
import { useRouter, useRoute
|
|
1
|
+
import { isVNode, defineComponent, createVNode, resolveComponent, h, ref, watch } from 'vue';
|
|
2
|
+
import { RouterView, useRouter, useRoute } from 'vue-router';
|
|
3
3
|
import { NavPosController } from './nav-pos.controller.mjs';
|
|
4
4
|
import './nav-pos.css';
|
|
5
5
|
import '../../use/index.mjs';
|
|
6
6
|
import '../../util/index.mjs';
|
|
7
7
|
import { useNamespace } from '../../use/namespace/namespace.mjs';
|
|
8
|
+
import { useSemanticNode } from '../../use/use-semantic-node/use-semantic-node.mjs';
|
|
8
9
|
import { getNestedRoutePath } from '../../util/route/route.mjs';
|
|
9
10
|
|
|
10
11
|
"use strict";
|
|
@@ -32,6 +33,10 @@ const NavPos = /* @__PURE__ */ defineComponent({
|
|
|
32
33
|
setup(props) {
|
|
33
34
|
const c = props.controller;
|
|
34
35
|
const ns = useNamespace("nav-pos");
|
|
36
|
+
const {
|
|
37
|
+
semanticClass,
|
|
38
|
+
semanticStyle
|
|
39
|
+
} = useSemanticNode(props.controller);
|
|
35
40
|
const onViewCreated = (event) => {
|
|
36
41
|
c.onViewCreated(event);
|
|
37
42
|
};
|
|
@@ -60,7 +65,9 @@ const NavPos = /* @__PURE__ */ defineComponent({
|
|
|
60
65
|
ns,
|
|
61
66
|
c,
|
|
62
67
|
isPresetView,
|
|
63
|
-
onViewCreated
|
|
68
|
+
onViewCreated,
|
|
69
|
+
semanticClass,
|
|
70
|
+
semanticStyle
|
|
64
71
|
};
|
|
65
72
|
},
|
|
66
73
|
render() {
|
|
@@ -77,9 +84,14 @@ const NavPos = /* @__PURE__ */ defineComponent({
|
|
|
77
84
|
let content = null;
|
|
78
85
|
if (state.routeOpen) {
|
|
79
86
|
if (this.isPresetView) {
|
|
80
|
-
return createVNode(RouterView,
|
|
87
|
+
return createVNode(RouterView, {
|
|
88
|
+
"class": this.semanticClass("root"),
|
|
89
|
+
"style": this.semanticStyle("root")
|
|
90
|
+
}, null);
|
|
81
91
|
}
|
|
82
92
|
content = createVNode(resolveComponent("iBizRouterView"), {
|
|
93
|
+
"class": this.semanticClass("content"),
|
|
94
|
+
"style": this.semanticStyle("content"),
|
|
83
95
|
"manualKey": currentKey,
|
|
84
96
|
"modal": viewModals[currentKey],
|
|
85
97
|
"onCreated": this.onViewCreated
|
|
@@ -99,6 +111,8 @@ const NavPos = /* @__PURE__ */ defineComponent({
|
|
|
99
111
|
});
|
|
100
112
|
} else {
|
|
101
113
|
const view = currentKey && navViewMsgs[currentKey] ? h(resolveComponent("IBizViewShell"), {
|
|
114
|
+
class: this.semanticClass("content"),
|
|
115
|
+
style: this.semanticStyle("content"),
|
|
102
116
|
context: navViewMsgs[currentKey].context,
|
|
103
117
|
params: navViewMsgs[currentKey].params,
|
|
104
118
|
key: !this.c.ignoreEmbedKey ? currentKey : void 0,
|
|
@@ -114,7 +128,8 @@ const NavPos = /* @__PURE__ */ defineComponent({
|
|
|
114
128
|
}) : view;
|
|
115
129
|
}
|
|
116
130
|
return createVNode("div", {
|
|
117
|
-
"class": [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass]
|
|
131
|
+
"class": [this.ns.b(), this.ns.m(this.modelData.id), this.semanticClass("root"), ...this.controller.containerClass],
|
|
132
|
+
"style": this.semanticStyle("root")
|
|
118
133
|
}, [content]);
|
|
119
134
|
}
|
|
120
135
|
});
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PanelContainerState } from '
|
|
2
|
-
import { PanelContainerController } from './panel-container.controller';
|
|
1
|
+
import { PanelContainerController, PanelContainerState } from '@ibiz-template/runtime';
|
|
3
2
|
export { PanelContainerState, PanelContainerController };
|
|
4
|
-
export declare const IBizPanelContainer: import("../../util").TypeWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
export declare const IBizPanelContainer: import("../../util").TypeWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
4
|
modelData: {
|
|
6
5
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
7
6
|
required: true;
|
|
@@ -10,10 +9,12 @@ export declare const IBizPanelContainer: import("../../util").TypeWithInstall<im
|
|
|
10
9
|
type: typeof PanelContainerController;
|
|
11
10
|
required: true;
|
|
12
11
|
};
|
|
13
|
-
}
|
|
12
|
+
}>, {
|
|
14
13
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
14
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
16
|
-
|
|
15
|
+
semanticClass: import("../..").UseSemanticClassReturn;
|
|
16
|
+
semanticStyle: import("../..").UseSemanticStyleReturn;
|
|
17
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
18
|
modelData: {
|
|
18
19
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
19
20
|
required: true;
|
|
@@ -22,6 +23,6 @@ export declare const IBizPanelContainer: import("../../util").TypeWithInstall<im
|
|
|
22
23
|
type: typeof PanelContainerController;
|
|
23
24
|
required: true;
|
|
24
25
|
};
|
|
25
|
-
}
|
|
26
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
26
27
|
export default IBizPanelContainer;
|
|
27
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EAEpB,MAAM,wBAAwB,CAAC;AAMhC,OAAO,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;AAEzD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;kGAc9B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
+
export { PanelContainerController, PanelContainerState } from '@ibiz-template/runtime';
|
|
2
3
|
import '../../util/index.mjs';
|
|
3
4
|
import { PanelContainer } from './panel-container.mjs';
|
|
4
5
|
import { PanelContainerProvider } from './panel-container.provider.mjs';
|
|
5
|
-
export { PanelContainerState } from './panel-container.state.mjs';
|
|
6
|
-
export { PanelContainerController } from './panel-container.controller.mjs';
|
|
7
6
|
import { withInstall } from '../../util/install.mjs';
|
|
8
7
|
|
|
9
8
|
"use strict";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { PanelContainerController } from '@ibiz-template/runtime';
|
|
1
2
|
import { IPanelContainer } from '@ibiz/model-core';
|
|
2
3
|
import { PropType } from 'vue';
|
|
3
|
-
import { PanelContainerController } from './panel-container.controller';
|
|
4
4
|
import './panel-container.scss';
|
|
5
5
|
/**
|
|
6
6
|
* 面板容器
|
|
7
7
|
* @primary
|
|
8
8
|
* @description 面板中最常见容器控件,承载面板组件,可以配置布局来控制内容呈现方式。
|
|
9
9
|
*/
|
|
10
|
-
export declare const PanelContainer: import("vue").DefineComponent<{
|
|
10
|
+
export declare const PanelContainer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
11
|
/**
|
|
12
12
|
* @description 面板容器模型
|
|
13
13
|
*/
|
|
@@ -22,10 +22,12 @@ export declare const PanelContainer: import("vue").DefineComponent<{
|
|
|
22
22
|
type: typeof PanelContainerController;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}>, {
|
|
26
26
|
ns: import("@ibiz-template/core").Namespace;
|
|
27
27
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
28
|
-
|
|
28
|
+
semanticClass: import("../../use").UseSemanticClassReturn;
|
|
29
|
+
semanticStyle: import("../../use").UseSemanticStyleReturn;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
31
|
/**
|
|
30
32
|
* @description 面板容器模型
|
|
31
33
|
*/
|
|
@@ -40,5 +42,5 @@ export declare const PanelContainer: import("vue").DefineComponent<{
|
|
|
40
42
|
type: typeof PanelContainerController;
|
|
41
43
|
required: true;
|
|
42
44
|
};
|
|
43
|
-
}
|
|
45
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
46
|
//# sourceMappingURL=panel-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/panel-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"panel-container.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/panel-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAA6B,QAAQ,EAAS,MAAM,KAAK,CAAC;AAEjE,OAAO,wBAAwB,CAAC;AAEhC;;;;GAIG;AACH,eAAO,MAAM,cAAc;IAGvB;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;IANH;;OAEG;;;;;IAEH;;OAEG;;;;;iGAqHL,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { isVNode, defineComponent,
|
|
1
|
+
import { isVNode, defineComponent, createVNode, resolveComponent, mergeProps, withDirectives, resolveDirective, computed } from 'vue';
|
|
2
|
+
import { PanelContainerController } from '@ibiz-template/runtime';
|
|
2
3
|
import '../../use/index.mjs';
|
|
3
|
-
import { PanelContainerController } from './panel-container.controller.mjs';
|
|
4
4
|
import './panel-container.css';
|
|
5
5
|
import { useNamespace } from '../../use/namespace/namespace.mjs';
|
|
6
|
+
import { useSemanticNode } from '../../use/use-semantic-node/use-semantic-node.mjs';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
function _isSlot(s) {
|
|
@@ -31,6 +32,10 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
31
32
|
const {
|
|
32
33
|
id
|
|
33
34
|
} = props.modelData;
|
|
35
|
+
const {
|
|
36
|
+
semanticClass,
|
|
37
|
+
semanticStyle
|
|
38
|
+
} = useSemanticNode(props.controller);
|
|
34
39
|
const classArr = computed(() => {
|
|
35
40
|
let result = [ns.b(), ns.m(id)];
|
|
36
41
|
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
@@ -38,7 +43,9 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
38
43
|
});
|
|
39
44
|
return {
|
|
40
45
|
ns,
|
|
41
|
-
classArr
|
|
46
|
+
classArr,
|
|
47
|
+
semanticClass,
|
|
48
|
+
semanticStyle
|
|
42
49
|
};
|
|
43
50
|
},
|
|
44
51
|
render() {
|
|
@@ -47,6 +54,8 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
47
54
|
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
48
55
|
const content = createVNode(resolveComponent("iBizRow"), {
|
|
49
56
|
"slot": "content",
|
|
57
|
+
"class": this.semanticClass("content"),
|
|
58
|
+
"style": this.semanticStyle("content"),
|
|
50
59
|
"layout": this.modelData.layout
|
|
51
60
|
}, _isSlot(_slot = defaultSlots.map((slot) => {
|
|
52
61
|
const props = slot.props;
|
|
@@ -55,7 +64,13 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
55
64
|
}
|
|
56
65
|
return createVNode(resolveComponent("iBizCol"), {
|
|
57
66
|
"layoutPos": props.modelData.layoutPos,
|
|
58
|
-
"state": props.controller.state
|
|
67
|
+
"state": props.controller.state,
|
|
68
|
+
"class": this.semanticClass("item", {
|
|
69
|
+
props
|
|
70
|
+
}),
|
|
71
|
+
"style": this.semanticStyle("item", {
|
|
72
|
+
props
|
|
73
|
+
})
|
|
59
74
|
}, _isSlot(slot) ? slot : {
|
|
60
75
|
default: () => [slot]
|
|
61
76
|
});
|
|
@@ -64,13 +79,18 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
64
79
|
});
|
|
65
80
|
const attrs = (_c = this.$attrs) == null ? void 0 : _c.attrs;
|
|
66
81
|
if (attrs && attrs.dynamictooltip) {
|
|
67
|
-
|
|
82
|
+
const attributes = {
|
|
83
|
+
...attrs.dynamictooltip
|
|
84
|
+
};
|
|
85
|
+
delete attributes.content;
|
|
86
|
+
return createVNode(resolveComponent("el-tooltip"), mergeProps({
|
|
68
87
|
"placement": "right",
|
|
69
88
|
"popper-class": this.ns.e("dynamic-tooltip")
|
|
70
|
-
}, {
|
|
89
|
+
}, attributes), {
|
|
71
90
|
default: () => {
|
|
72
91
|
return createVNode("div", mergeProps({
|
|
73
|
-
"class": this.classArr,
|
|
92
|
+
"class": [this.classArr, this.semanticClass("root")],
|
|
93
|
+
"style": this.semanticStyle("root"),
|
|
74
94
|
"onClick": () => {
|
|
75
95
|
this.controller.onClick();
|
|
76
96
|
}
|
|
@@ -80,20 +100,21 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
80
100
|
},
|
|
81
101
|
content: () => {
|
|
82
102
|
return createVNode("div", {
|
|
83
|
-
"class": this.ns.e("dynamic-tooltip-content"),
|
|
84
|
-
"
|
|
103
|
+
"class": [this.ns.e("dynamic-tooltip-content"), this.semanticClass("tooltip")],
|
|
104
|
+
"style": this.semanticStyle("tooltip"),
|
|
105
|
+
"innerHTML": attrs.dynamictooltip.content
|
|
85
106
|
}, null);
|
|
86
107
|
}
|
|
87
108
|
});
|
|
88
109
|
}
|
|
89
|
-
return createVNode("div", {
|
|
90
|
-
"class": this.classArr,
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
110
|
+
return withDirectives(createVNode("div", {
|
|
111
|
+
"class": [this.classArr, this.semanticClass("root")],
|
|
112
|
+
"style": this.semanticStyle("root"),
|
|
113
|
+
"element-loading-text": this.controller.state.loadingText,
|
|
114
|
+
"onClick": (event) => this.controller.onClick(event)
|
|
94
115
|
}, [this.controller.model.cssStyle ? createVNode("style", {
|
|
95
116
|
"type": "text/css"
|
|
96
|
-
}, [this.controller.model.cssStyle]) : null, content]);
|
|
117
|
+
}, [this.controller.model.cssStyle]) : null, content]), [[resolveDirective("loading"), this.controller.state.loading]]);
|
|
97
118
|
}
|
|
98
119
|
});
|
|
99
120
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
1
|
+
import { IPanelItemProvider, PanelContainerController, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
2
|
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
3
|
/**
|
|
4
4
|
* 面板容器适配器
|
|
@@ -11,6 +11,6 @@ import { IPanelContainer } from '@ibiz/model-core';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare class PanelContainerProvider implements IPanelItemProvider {
|
|
13
13
|
component: string;
|
|
14
|
-
createController(panelItem: IPanelContainer, panel: PanelController, parent: PanelItemController | undefined): Promise<
|
|
14
|
+
createController(panelItem: IPanelContainer, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelContainerController>;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=panel-container.provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container.provider.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/panel-container.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"panel-container.provider.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container/panel-container.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;;;;;;;GAQG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,SAAS,EAAE,MAAM,CAAwB;IAEnC,gBAAgB,CACpB,SAAS,EAAE,eAAe,EAC1B,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,mBAAmB,GAAG,SAAS,GACtC,OAAO,CAAC,wBAAwB,CAAC;CAKrC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PanelContainerImageState } from './panel-container-image.state';
|
|
2
2
|
import { PanelContainerImageController } from './panel-container-image.controller';
|
|
3
3
|
export { PanelContainerImageState, PanelContainerImageController };
|
|
4
|
-
export declare const IBizPanelContainerImage: import("../../util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
+
export declare const IBizPanelContainerImage: import("../../util").TypeWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
modelData: {
|
|
6
6
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
7
7
|
required: true;
|
|
@@ -10,11 +10,13 @@ export declare const IBizPanelContainerImage: import("../../util").TypeWithInsta
|
|
|
10
10
|
type: typeof PanelContainerImageController;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>, {
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
15
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
16
16
|
backgroundStyle: import("vue").ComputedRef<{}>;
|
|
17
|
-
|
|
17
|
+
semanticClass: import("../..").UseSemanticClassReturn;
|
|
18
|
+
semanticStyle: import("../..").UseSemanticStyleReturn;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
20
|
modelData: {
|
|
19
21
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
20
22
|
required: true;
|
|
@@ -23,6 +25,6 @@ export declare const IBizPanelContainerImage: import("../../util").TypeWithInsta
|
|
|
23
25
|
type: typeof PanelContainerImageController;
|
|
24
26
|
required: true;
|
|
25
27
|
};
|
|
26
|
-
}
|
|
28
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
27
29
|
export default IBizPanelContainerImage;
|
|
28
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-image/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,OAAO,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,CAAC;AAEnE,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-image/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,OAAO,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,CAAC;AAEnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;kGASnC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PanelContainerController } from '@ibiz-template/runtime';
|
|
2
2
|
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
3
|
import { PanelContainerImageState } from './panel-container-image.state';
|
|
4
4
|
/**
|
|
@@ -6,9 +6,9 @@ import { PanelContainerImageState } from './panel-container-image.state';
|
|
|
6
6
|
*
|
|
7
7
|
* @export
|
|
8
8
|
* @class PanelContainerImageController
|
|
9
|
-
* @extends {
|
|
9
|
+
* @extends {PanelContainerController}
|
|
10
10
|
*/
|
|
11
|
-
export declare class PanelContainerImageController extends
|
|
11
|
+
export declare class PanelContainerImageController extends PanelContainerController<IPanelContainer> {
|
|
12
12
|
/**
|
|
13
13
|
* @description 状态
|
|
14
14
|
* @exposedoc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container-image.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-image/panel-container-image.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"panel-container-image.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-image/panel-container-image.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE;;;;;;GAMG;AACH,qBAAa,6BAA8B,SAAQ,wBAAwB,CAAC,eAAe,CAAC;IAC1F;;;;;OAKG;IACK,KAAK,EAAE,wBAAwB,CAAC;IAExC,SAAS,CAAC,WAAW,IAAI,wBAAwB;CAGlD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PanelContainerController } from '@ibiz-template/runtime';
|
|
2
2
|
import { PanelContainerImageState } from './panel-container-image.state.mjs';
|
|
3
3
|
|
|
4
4
|
"use strict";
|
|
5
|
-
class PanelContainerImageController extends
|
|
5
|
+
class PanelContainerImageController extends PanelContainerController {
|
|
6
6
|
createState() {
|
|
7
7
|
var _a;
|
|
8
8
|
return new PanelContainerImageState((_a = this.parent) == null ? void 0 : _a.state);
|