@ibiz-template/vue3-util 0.7.41-alpha.4 → 0.7.41-alpha.40
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 +5 -5
- package/es/common/badge/badge.d.ts.map +1 -1
- package/es/common/badge/badge.mjs +1 -1
- package/es/common/code-list/code-list.d.ts +8 -8
- 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.css +1 -1
- package/es/common/control-base/control-base.d.ts +1 -0
- package/es/common/control-base/control-base.d.ts.map +1 -1
- package/es/common/control-base/control-base.mjs +39 -5
- 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/custom-render/custom-render.mjs +2 -2
- package/es/common/icon/icon.d.ts +4 -4
- package/es/common/icon/icon.d.ts.map +1 -1
- 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 +43 -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 +5 -5
- package/es/control/panel/panel/panel.d.ts.map +1 -1
- package/es/control/panel/panel/panel.mjs +12 -1
- 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 +6 -6
- 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 +13 -2
- package/es/index.mjs +5 -5
- 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/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.css +1 -1
- package/es/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.d.ts +4 -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 +1 -1
- package/es/panel-component/auth-wxmp-qrcode/index.d.ts +4 -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 +6 -6
- package/es/panel-component/grid-container/grid-container.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.mjs +3 -3
- 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 +6 -6
- package/es/panel-component/grid-container/index.d.ts.map +1 -1
- package/es/panel-component/index.mjs +1 -2
- package/es/panel-component/multi-data-container/index.d.ts +4 -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 +3 -3
- 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 +12 -5
- package/es/panel-component/multi-data-container/multi-data-container.d.ts +5 -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 +3 -3
- 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 +4 -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 +3 -3
- 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 +2 -2
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts +5 -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 +3 -3
- 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 +5 -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 +6 -6
- package/es/panel-component/nav-pos/nav-pos.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.mjs +2 -2
- package/es/panel-component/panel-container/index.d.ts +5 -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 +5 -5
- package/es/panel-component/panel-container/panel-container.d.ts.map +1 -1
- package/es/panel-component/panel-container/panel-container.mjs +34 -8
- 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-group/index.d.ts +5 -5
- package/es/panel-component/panel-container-group/index.d.ts.map +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts +3 -3
- package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts.map +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.controller.mjs +2 -2
- package/es/panel-component/panel-container-group/panel-container-group.css +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.d.ts +5 -5
- package/es/panel-component/panel-container-group/panel-container-group.d.ts.map +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.mjs +12 -10
- package/es/panel-component/panel-container-group/panel-container-group.state.d.ts +3 -3
- package/es/panel-component/panel-container-group/panel-container-group.state.d.ts.map +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.state.mjs +2 -2
- package/es/panel-component/panel-container-image/index.d.ts +4 -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 +4 -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 +4 -6
- 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 +4 -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 +4 -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 +1 -1
- package/es/panel-component/panel-ctrl-view-page-caption/index.d.ts +4 -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 +5 -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 +4 -5
- package/es/panel-component/panel-field/index.d.ts +4 -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 +34 -3
- package/es/panel-component/panel-field/panel-field.css +1 -1
- package/es/panel-component/panel-field/panel-field.d.ts +4 -4
- package/es/panel-component/panel-field/panel-field.d.ts.map +1 -1
- package/es/panel-component/panel-field/panel-field.mjs +3 -5
- package/es/panel-component/panel-item-render/index.d.ts +4 -4
- package/es/panel-component/panel-item-render/index.d.ts.map +1 -1
- package/es/panel-component/panel-item-render/panel-item-render.d.ts +4 -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 +3 -2
- package/es/panel-component/panel-rawitem/index.d.ts +6 -6
- package/es/panel-component/panel-rawitem/index.d.ts.map +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +6 -6
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts.map +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.mjs +3 -6
- package/es/panel-component/panel-tab-page/index.d.ts +6 -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 +8 -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 +5 -5
- 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 +4 -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 +4 -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 +3 -3
- 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 +4 -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 +3 -3
- package/es/panel-component/single-data-container/index.d.ts +4 -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 +3 -3
- 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 +2 -2
- package/es/panel-component/single-data-container/single-data-container.d.ts +5 -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 +3 -3
- 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 +5 -5
- package/es/panel-component/teleport-placeholder/index.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts +6 -5
- package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.mjs +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.state.d.ts +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.state.mjs +1 -1
- package/es/plugin/plugin-factory/plugin-factory.d.ts +13 -12
- package/es/plugin/plugin-factory/plugin-factory.d.ts.map +1 -1
- package/es/plugin/plugin-factory/plugin-factory.mjs +24 -18
- package/es/use/index.d.ts +1 -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/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/use/vue-use/computed-async.d.ts +51 -0
- package/es/use/vue-use/computed-async.d.ts.map +1 -0
- package/es/use/vue-use/computed-async.mjs +66 -0
- package/es/use/vue-use/index.d.ts +2 -0
- package/es/use/vue-use/index.d.ts.map +1 -0
- package/es/use/vue-use/index.mjs +3 -0
- 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/render/render.d.ts.map +1 -1
- package/es/util/render/render.mjs +4 -1
- package/es/util/route/route.d.ts.map +1 -1
- package/es/util/route/route.mjs +19 -4
- 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/index.mjs +2 -0
- 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 +15 -2
- 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 +8 -16
- package/es/view/html-view/index.d.ts +7 -8
- package/es/view/html-view/index.d.ts.map +1 -1
- package/es/view/md-custom-view/md-custom-view.provider.d.ts +13 -0
- package/es/view/md-custom-view/md-custom-view.provider.d.ts.map +1 -0
- package/es/view/md-custom-view/md-custom-view.provider.mjs +13 -0
- 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 +1 -1
- package/lib/common/badge/badge.css +1 -1
- package/lib/common/control-base/control-base.cjs +37 -3
- package/lib/common/control-base/control-base.css +1 -1
- package/lib/common/custom-render/custom-render.cjs +1 -1
- 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 +41 -21
- package/lib/control/panel/panel/panel.cjs +12 -1
- package/lib/control/panel/view-layout-panel/view-layout-panel.cjs +12 -1
- package/lib/index.cjs +15 -6
- package/lib/locale/en/index.cjs +2 -1
- package/lib/locale/zh-CN/index.cjs +2 -1
- package/lib/panel-component/auth-wxmp-qrcode/auth-wxmp-qrcode.css +1 -1
- package/lib/panel-component/grid-container/grid-container.cjs +2 -2
- 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 +9 -4
- package/lib/panel-component/multi-data-container/multi-data-container.cjs +2 -2
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +11 -4
- 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 +2 -2
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.controller.cjs +1 -1
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.state.cjs +1 -1
- package/lib/panel-component/panel-container/index.cjs +8 -4
- package/lib/panel-component/panel-container/panel-container.cjs +34 -8
- package/lib/panel-component/panel-container/panel-container.provider.cjs +2 -2
- package/lib/panel-component/panel-container-group/panel-container-group.cjs +11 -9
- package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +1 -1
- package/lib/panel-component/panel-container-group/panel-container-group.css +1 -1
- package/lib/panel-component/panel-container-group/panel-container-group.state.cjs +1 -1
- package/lib/panel-component/panel-container-image/panel-container-image.cjs +3 -5
- 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-view-page-caption/panel-ctrl-view-page-caption.cjs +3 -4
- 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 +2 -4
- package/lib/panel-component/panel-field/panel-field.controller.cjs +34 -3
- package/lib/panel-component/panel-field/panel-field.css +1 -1
- package/lib/panel-component/panel-item-render/panel-item-render.cjs +2 -1
- package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +2 -5
- package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/panel-component/single-data-container/single-data-container.controller.cjs +1 -1
- package/lib/panel-component/single-data-container/single-data-container.state.cjs +1 -1
- package/lib/panel-component/teleport-placeholder/teleport-placeholder.state.cjs +1 -1
- package/lib/plugin/plugin-factory/plugin-factory.cjs +24 -18
- package/lib/use/index.cjs +5 -0
- package/lib/use/popover/popover.cjs +8 -0
- package/lib/use/storage/index.cjs +16 -11
- package/lib/use/vue/vue.cjs +14 -0
- package/lib/use/vue-use/computed-async.cjs +68 -0
- package/lib/use/vue-use/index.cjs +7 -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/render/render.cjs +4 -1
- package/lib/util/route/route.cjs +19 -4
- package/lib/view/common/index.cjs +2 -0
- package/lib/view/common/view.cjs +13 -0
- package/lib/view/html-view/html-view.cjs +6 -14
- package/lib/view/md-custom-view/md-custom-view.provider.cjs +15 -0
- package/package.json +7 -7
- 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/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/util/control/prepare-control.cjs +0 -24
|
@@ -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,12 @@ 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
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
/**
|
|
38
38
|
* @description 导航占位模型
|
|
39
39
|
*/
|
|
@@ -48,5 +48,5 @@ export declare const NavPos: import("vue").DefineComponent<{
|
|
|
48
48
|
type: typeof NavPosController;
|
|
49
49
|
required: true;
|
|
50
50
|
};
|
|
51
|
-
}
|
|
51
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
52
|
//# 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;;;;;;;;;2BAS2B,SAAS,KAAG,IAAI;;IAlB9C;;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;;;;;;;;;2BAS2B,SAAS,KAAG,IAAI;;IAlB9C;;OAEG;;;;;IAKH;;OAEG;;;;;iGAiHL,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
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';
|
|
@@ -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,10 @@ 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
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
16
|
modelData: {
|
|
18
17
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
19
18
|
required: true;
|
|
@@ -22,6 +21,6 @@ export declare const IBizPanelContainer: import("../../util").TypeWithInstall<im
|
|
|
22
21
|
type: typeof PanelContainerController;
|
|
23
22
|
required: true;
|
|
24
23
|
};
|
|
25
|
-
}
|
|
24
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
26
25
|
export default IBizPanelContainer;
|
|
27
26
|
//# 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,10 @@ 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
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
/**
|
|
30
30
|
* @description 面板容器模型
|
|
31
31
|
*/
|
|
@@ -40,5 +40,5 @@ export declare const PanelContainer: import("vue").DefineComponent<{
|
|
|
40
40
|
type: typeof PanelContainerController;
|
|
41
41
|
required: true;
|
|
42
42
|
};
|
|
43
|
-
}
|
|
43
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
44
|
//# 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;;;;;iGAsGL,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
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
6
|
|
|
@@ -42,7 +42,7 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
};
|
|
43
43
|
},
|
|
44
44
|
render() {
|
|
45
|
-
var _a, _b;
|
|
45
|
+
var _a, _b, _c;
|
|
46
46
|
let _slot;
|
|
47
47
|
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
48
48
|
const content = createVNode(resolveComponent("iBizRow"), {
|
|
@@ -62,14 +62,40 @@ const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
})) ? _slot : {
|
|
63
63
|
default: () => [_slot]
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
const attrs = (_c = this.$attrs) == null ? void 0 : _c.attrs;
|
|
66
|
+
if (attrs && attrs.dynamictooltip) {
|
|
67
|
+
const attributes = {
|
|
68
|
+
...attrs.dynamictooltip
|
|
69
|
+
};
|
|
70
|
+
delete attributes.content;
|
|
71
|
+
return createVNode(resolveComponent("el-tooltip"), mergeProps({
|
|
72
|
+
"placement": "right",
|
|
73
|
+
"popper-class": this.ns.e("dynamic-tooltip")
|
|
74
|
+
}, attributes), {
|
|
75
|
+
default: () => {
|
|
76
|
+
return createVNode("div", mergeProps({
|
|
77
|
+
"class": this.classArr,
|
|
78
|
+
"onClick": () => {
|
|
79
|
+
this.controller.onClick();
|
|
80
|
+
}
|
|
81
|
+
}, this.$attrs), [this.controller.model.cssStyle ? createVNode("style", {
|
|
82
|
+
"type": "text/css"
|
|
83
|
+
}, [this.controller.model.cssStyle]) : null, content]);
|
|
84
|
+
},
|
|
85
|
+
content: () => {
|
|
86
|
+
return createVNode("div", {
|
|
87
|
+
"class": this.ns.e("dynamic-tooltip-content"),
|
|
88
|
+
"innerHTML": attrs.dynamictooltip.content
|
|
89
|
+
}, null);
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
return withDirectives(createVNode("div", {
|
|
66
94
|
"class": this.classArr,
|
|
67
|
-
"onClick": () =>
|
|
68
|
-
this.controller.onClick();
|
|
69
|
-
}
|
|
95
|
+
"onClick": (event) => this.controller.onClick(event)
|
|
70
96
|
}, [this.controller.model.cssStyle ? createVNode("style", {
|
|
71
97
|
"type": "text/css"
|
|
72
|
-
}, [this.controller.model.cssStyle]) : null, content]);
|
|
98
|
+
}, [this.controller.model.cssStyle]) : null, content]), [[resolveDirective("loading"), this.controller.state.loading]]);
|
|
73
99
|
}
|
|
74
100
|
});
|
|
75
101
|
|
|
@@ -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 { PanelContainerGroupState } from './panel-container-group.state';
|
|
2
2
|
import { PanelContainerGroupController } from './panel-container-group.controller';
|
|
3
3
|
export { PanelContainerGroupState, PanelContainerGroupController };
|
|
4
|
-
export declare const IBizPanelContainerGroup: import("../../util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
+
export declare const IBizPanelContainerGroup: 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,12 +10,12 @@ export declare const IBizPanelContainerGroup: import("../../util").TypeWithInsta
|
|
|
10
10
|
type: typeof PanelContainerGroupController;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>, {
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
15
|
captionText: import("vue").ComputedRef<any>;
|
|
16
|
+
isCollapse: import("vue").Ref<boolean, boolean>;
|
|
16
17
|
changeCollapse: () => void;
|
|
17
|
-
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
modelData: {
|
|
20
20
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
21
21
|
required: true;
|
|
@@ -24,6 +24,6 @@ export declare const IBizPanelContainerGroup: import("../../util").TypeWithInsta
|
|
|
24
24
|
type: typeof PanelContainerGroupController;
|
|
25
25
|
required: true;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
28
28
|
export default IBizPanelContainerGroup;
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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;;;;;;;;;;;;;;;;;;;;;;;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;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 { PanelContainerGroupState } from './panel-container-group.state';
|
|
4
4
|
/**
|
|
@@ -6,9 +6,9 @@ import { PanelContainerGroupState } from './panel-container-group.state';
|
|
|
6
6
|
*
|
|
7
7
|
* @export
|
|
8
8
|
* @class PanelContainerGroupController
|
|
9
|
-
* @extends {
|
|
9
|
+
* @extends {PanelContainerController}
|
|
10
10
|
*/
|
|
11
|
-
export declare class PanelContainerGroupController extends
|
|
11
|
+
export declare class PanelContainerGroupController extends PanelContainerController<IPanelContainer> {
|
|
12
12
|
/**
|
|
13
13
|
* @description 状态
|
|
14
14
|
* @exposedoc
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,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;IAIjD;;;;;OAKG;IACH,IAAI,YAAY,IAAI,OAAO,CAG1B;IAED;;;;OAIG;IACH,IAAI,gBAAgB,IAAI,OAAO,CAG9B;CACF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PanelContainerController } from '@ibiz-template/runtime';
|
|
2
2
|
import { PanelContainerGroupState } from './panel-container-group.state.mjs';
|
|
3
3
|
|
|
4
4
|
"use strict";
|
|
5
|
-
class PanelContainerGroupController extends
|
|
5
|
+
class PanelContainerGroupController extends PanelContainerController {
|
|
6
6
|
createState() {
|
|
7
7
|
var _a;
|
|
8
8
|
return new PanelContainerGroupState((_a = this.parent) == null ? void 0 : _a.state);
|
|
@@ -1 +1 @@
|
|
|
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-
|
|
1
|
+
.ibiz-panel-container-group{--ibiz-panel-container-group-bg-color:transparent;--ibiz-panel-container-group-icon-padding-right:var(--ibiz-spacing-tight);--ibiz-panel-container-group-counter-padding-left:var(--ibiz-spacing-tight);--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;display:flex;align-items:center;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-panel-container-group-icon-padding-right)}.ibiz-panel-container-group__counter{margin-left:var(--ibiz-panel-container-group-counter-padding-left)}.ibiz-panel-container-group.is-mob{--ibiz-panel-container-group-header-height:3rem;--ibiz-panel-container-group-header-padding:var(--ibiz-spacing-base);--ibiz-panel-container-group-header-bg-color:var(--ibiz-color-bg-0);--ibiz-panel-container-group-content-padding:0.5rem 1rem;--ibiz-panel-container-group-caption-text-color:var(--ibiz-color-text-2);--ibiz-panel-container-group-caption-font-size:var(--ibiz-font-size-5);--ibiz-panel-container-group-caption-font-weight:var(--ibiz-font-weight-regular);--ibiz-panel-container-group-content-bg-color:var(--ibiz-color-bg-1)}.ibiz-panel-container-group.is-mob .ibiz-panel-container-group__caption{line-height:1rem}.ibiz-panel-container-group.is-mob .ibiz-panel-container-group-header{background-color:var(--ibiz-panel-container-group-header-bg-color);border-bottom:none}.ibiz-panel-container-group.is-mob .ibiz-panel-container-group-content{padding:var(--ibiz-panel-container-group-content-padding);background-color:var(--ibiz-panel-container-group-content-bg-color)}.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-header.is-is-mob .ibiz-panel-container-group-header__left{flex-grow:1;width:auto}.ibiz-panel-container-group-header.is-is-mob .ibiz-panel-container-group-header__right{flex-grow:1;width:auto}.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)}
|
|
@@ -7,7 +7,7 @@ import './panel-container-group.scss';
|
|
|
7
7
|
* @primary
|
|
8
8
|
* @description 可将多个具有特定意义或相近功能的面板项聚合到一起进行展示,并可通过分组容器进行统一管理,支持配置分组标题,可折叠。
|
|
9
9
|
*/
|
|
10
|
-
export declare const PanelContainerGroup: import("vue").DefineComponent<{
|
|
10
|
+
export declare const PanelContainerGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
11
|
/**
|
|
12
12
|
* @description 分组容器模型
|
|
13
13
|
*/
|
|
@@ -22,12 +22,12 @@ export declare const PanelContainerGroup: import("vue").DefineComponent<{
|
|
|
22
22
|
type: typeof PanelContainerGroupController;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}>, {
|
|
26
26
|
ns: import("@ibiz-template/core").Namespace;
|
|
27
27
|
captionText: import("vue").ComputedRef<any>;
|
|
28
|
+
isCollapse: import("vue").Ref<boolean, boolean>;
|
|
28
29
|
changeCollapse: () => void;
|
|
29
|
-
|
|
30
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
/**
|
|
32
32
|
* @description 分组容器模型
|
|
33
33
|
*/
|
|
@@ -42,5 +42,5 @@ export declare const PanelContainerGroup: import("vue").DefineComponent<{
|
|
|
42
42
|
type: typeof PanelContainerGroupController;
|
|
43
43
|
required: true;
|
|
44
44
|
};
|
|
45
|
-
}
|
|
45
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
46
|
//# sourceMappingURL=panel-container-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container-group.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-group/panel-container-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"panel-container-group.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-group/panel-container-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAwB,QAAQ,EAAmB,MAAM,KAAK,CAAC;AACtE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,8BAA8B,CAAC;AAEtC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAG5B;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;0BAWwB,IAAI;;IApB/B;;OAEG;;;;;IAKH;;OAEG;;;;;iGAmHL,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { isVNode, defineComponent,
|
|
1
|
+
import { isVNode, defineComponent, createVNode, resolveComponent, createTextVNode, withDirectives, resolveDirective, ref, computed } from 'vue';
|
|
2
2
|
import { PanelContainerGroupController } from './panel-container-group.controller.mjs';
|
|
3
|
-
import './panel-container-group.css';
|
|
4
3
|
import '../../use/index.mjs';
|
|
5
4
|
import '../../common/index.mjs';
|
|
6
|
-
import
|
|
5
|
+
import './panel-container-group.css';
|
|
7
6
|
import { IBizIcon } from '../../common/icon/icon.mjs';
|
|
7
|
+
import { useNamespace } from '../../use/namespace/namespace.mjs';
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
10
|
function _isSlot(s) {
|
|
@@ -54,14 +54,14 @@ const PanelContainerGroup = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
return {
|
|
55
55
|
ns,
|
|
56
56
|
captionText,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
isCollapse,
|
|
58
|
+
changeCollapse
|
|
59
59
|
};
|
|
60
60
|
},
|
|
61
61
|
render() {
|
|
62
62
|
var _a, _b;
|
|
63
63
|
let _slot;
|
|
64
|
-
const classArr = [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass, this.ns.is("hidden", !this.controller.state.visible)];
|
|
64
|
+
const classArr = [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass, this.ns.is("hidden", !this.controller.state.visible), this.ns.is("mob", ibiz.env.isMob)];
|
|
65
65
|
if (this.modelData.showCaption === true) {
|
|
66
66
|
classArr.push(this.ns.m("show-header"));
|
|
67
67
|
classArr.push(this.ns.b("collapse"));
|
|
@@ -91,7 +91,7 @@ const PanelContainerGroup = /* @__PURE__ */ defineComponent({
|
|
|
91
91
|
let header = null;
|
|
92
92
|
if (this.modelData.showCaption) {
|
|
93
93
|
header = createVNode("div", {
|
|
94
|
-
"class": [this.ns.b("header")],
|
|
94
|
+
"class": [this.ns.b("header"), this.ns.is("is-mob", ibiz.env.isMob)],
|
|
95
95
|
"onClick": this.changeCollapse
|
|
96
96
|
}, [createVNode("div", {
|
|
97
97
|
"class": [this.ns.be("header", "left")]
|
|
@@ -100,7 +100,9 @@ const PanelContainerGroup = /* @__PURE__ */ defineComponent({
|
|
|
100
100
|
}, [this.modelData.sysImage && createVNode(IBizIcon, {
|
|
101
101
|
"class": this.ns.em("caption", "icon"),
|
|
102
102
|
"icon": this.modelData.sysImage
|
|
103
|
-
}, null), this.captionText
|
|
103
|
+
}, null), this.captionText, this.modelData.counterId && createVNode("span", {
|
|
104
|
+
"class": this.ns.e("counter")
|
|
105
|
+
}, [createTextVNode("("), this.controller.state.counterData[this.modelData.counterId], createTextVNode(")")])])]), createVNode("div", {
|
|
104
106
|
"class": [this.ns.be("header", "right")]
|
|
105
107
|
}, [this.modelData.titleBarCloseMode !== void 0 && this.modelData.titleBarCloseMode !== 0 && (this.isCollapse ? createVNode("ion-icon", {
|
|
106
108
|
"name": "caret-forward-sharp"
|
|
@@ -108,11 +110,11 @@ const PanelContainerGroup = /* @__PURE__ */ defineComponent({
|
|
|
108
110
|
"name": "caret-down-sharp"
|
|
109
111
|
}, null))])]);
|
|
110
112
|
}
|
|
111
|
-
return createVNode("div", {
|
|
113
|
+
return withDirectives(createVNode("div", {
|
|
112
114
|
"class": classArr
|
|
113
115
|
}, [header, createVNode("div", {
|
|
114
116
|
"class": [this.ns.b("content")]
|
|
115
|
-
}, [content])]);
|
|
117
|
+
}, [content])]), [[resolveDirective("loading"), this.controller.state.loading]]);
|
|
116
118
|
}
|
|
117
119
|
});
|
|
118
120
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PanelContainerState } from '@ibiz-template/runtime';
|
|
2
2
|
/**
|
|
3
3
|
* 面板分组容器状态
|
|
4
4
|
*
|
|
@@ -6,8 +6,8 @@ import { PanelItemState } from '@ibiz-template/runtime';
|
|
|
6
6
|
* @date 2023-02-07 06:04:27
|
|
7
7
|
* @export
|
|
8
8
|
* @class PanelContainerGroupState
|
|
9
|
-
* @extends {
|
|
9
|
+
* @extends {PanelContainerState}
|
|
10
10
|
*/
|
|
11
|
-
export declare class PanelContainerGroupState extends
|
|
11
|
+
export declare class PanelContainerGroupState extends PanelContainerState {
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=panel-container-group.state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container-group.state.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-group/panel-container-group.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"panel-container-group.state.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-group/panel-container-group.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D;;;;;;;;GAQG;AACH,qBAAa,wBAAyB,SAAQ,mBAAmB;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PanelContainerState } from '@ibiz-template/runtime';
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
|
-
class PanelContainerGroupState extends
|
|
4
|
+
class PanelContainerGroupState extends PanelContainerState {
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export { PanelContainerGroupState };
|
|
@@ -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,11 @@ 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
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
modelData: {
|
|
19
19
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
20
20
|
required: true;
|
|
@@ -23,6 +23,6 @@ export declare const IBizPanelContainerImage: import("../../util").TypeWithInsta
|
|
|
23
23
|
type: typeof PanelContainerImageController;
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
27
27
|
export default IBizPanelContainerImage;
|
|
28
28
|
//# 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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-panel-container-image{position:relative;width:100%;height:100%;background-repeat:no-repeat;background-position:center center}.ibiz-panel-container-image>.ibiz-row{height:100%;overflow
|
|
1
|
+
.ibiz-panel-container-image{position:relative;width:100%;height:100%;background-repeat:no-repeat;background-position:center center}.ibiz-panel-container-image>.ibiz-row{height:100%;overflow:hidden auto}.ibiz-panel-container-image.is-hidden{display:none}
|
|
@@ -7,7 +7,7 @@ import './panel-container-image.scss';
|
|
|
7
7
|
* @primary
|
|
8
8
|
* @description 图片背景容器,可以配置容器的背景图片。
|
|
9
9
|
*/
|
|
10
|
-
export declare const PanelContainerImage: import("vue").DefineComponent<{
|
|
10
|
+
export declare const PanelContainerImage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
11
|
/**
|
|
12
12
|
* @description 图片背景容器模型数据
|
|
13
13
|
*/
|
|
@@ -22,11 +22,11 @@ export declare const PanelContainerImage: import("vue").DefineComponent<{
|
|
|
22
22
|
type: typeof PanelContainerImageController;
|
|
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
|
backgroundStyle: import("vue").ComputedRef<{}>;
|
|
29
|
-
},
|
|
29
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
30
|
/**
|
|
31
31
|
* @description 图片背景容器模型数据
|
|
32
32
|
*/
|
|
@@ -41,5 +41,5 @@ export declare const PanelContainerImage: import("vue").DefineComponent<{
|
|
|
41
41
|
type: typeof PanelContainerImageController;
|
|
42
42
|
required: true;
|
|
43
43
|
};
|
|
44
|
-
}
|
|
44
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
//# sourceMappingURL=panel-container-image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-container-image.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-image/panel-container-image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAA6B,QAAQ,EAAS,MAAM,KAAK,CAAC;AAGjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,8BAA8B,CAAC;AAEtC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAG5B;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;;IATH;;OAEG;;;;;IAKH;;OAEG;;;;;
|
|
1
|
+
{"version":3,"file":"panel-container-image.d.ts","sourceRoot":"","sources":["../../../src/panel-component/panel-container-image/panel-container-image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAA6B,QAAQ,EAAS,MAAM,KAAK,CAAC;AAGjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,8BAA8B,CAAC;AAEtC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAG5B;;OAEG;;;;;IAKH;;OAEG;;;;;;;;;;IATH;;OAEG;;;;;IAKH;;OAEG;;;;;iGAkFL,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode, defineComponent,
|
|
1
|
+
import { isVNode, defineComponent, createVNode, resolveComponent, withDirectives, resolveDirective, computed } from 'vue';
|
|
2
2
|
import { isSvg } from '@ibiz-template/core';
|
|
3
3
|
import '../../use/index.mjs';
|
|
4
4
|
import { PanelContainerImageController } from './panel-container-image.controller.mjs';
|
|
@@ -85,15 +85,13 @@ const PanelContainerImage = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
})) ? _slot : {
|
|
86
86
|
default: () => [_slot]
|
|
87
87
|
});
|
|
88
|
-
return createVNode("div", {
|
|
88
|
+
return withDirectives(createVNode("div", {
|
|
89
89
|
"class": this.classArr,
|
|
90
|
-
"onClick": () =>
|
|
91
|
-
this.controller.onClick();
|
|
92
|
-
},
|
|
90
|
+
"onClick": (event) => this.controller.onClick(event),
|
|
93
91
|
"style": this.backgroundStyle
|
|
94
92
|
}, [this.controller.model.cssStyle ? createVNode("style", {
|
|
95
93
|
"type": "text/css"
|
|
96
|
-
}, [this.controller.model.cssStyle]) : null, content]);
|
|
94
|
+
}, [this.controller.model.cssStyle]) : null, content]), [[resolveDirective("loading"), this.controller.state.loading]]);
|
|
97
95
|
}
|
|
98
96
|
});
|
|
99
97
|
|