@ibiz-template/vue3-components 0.2.11 → 0.2.12
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/ibiz-markdown-editor-7GWpRewm.js +2 -0
- package/dist/ibiz-markdown-editor-7GWpRewm.js.map +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +5 -5
- package/dist/index.system.min.js.map +1 -1
- package/es/common/index.d.ts +0 -8
- package/es/common/index.mjs +2 -8
- package/es/control/chart/index.mjs +1 -2
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.mjs +7 -3
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-grid/form-mdctrl-grid.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.mjs +1 -1
- package/es/control/toolbar/toolbar.mjs +2 -2
- package/es/control/tree/el-tree-util.d.ts +1 -1
- package/es/control/tree/index.d.ts +1 -1
- package/es/control/tree/tree.d.ts +1 -1
- package/es/devtool/index.mjs +1 -1
- package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.mjs +1 -3
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +4 -3
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +25 -5
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +1 -1
- package/es/editor/html/wang-editor/wang-editor.d.ts +1 -1
- package/es/editor/index.mjs +54 -1
- package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +1 -3
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -1
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.d.ts +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -1
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +1 -1
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +1 -1
- package/es/editor/span/span/span.d.ts +3 -3
- package/es/editor/span/span/span.mjs +30 -2
- package/es/editor/span/span-link/span-link.d.ts +3 -3
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -1
- package/es/editor/text-box/input/input.d.ts +2 -2
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -1
- package/es/editor/upload/ibiz-image-preview/ibiz-image-preview.d.ts +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -1
- package/es/index.mjs +4 -45
- package/es/node_modules/.pnpm/{element-plus@2.4.1_vue@3.3.7 → element-plus@2.4.2_vue@3.3.8}/node_modules/element-plus/dist/locale/zh-cn.mjs +1 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +1 -3
- package/es/panel-component/index-actions/index-actions.d.ts +1 -1
- package/es/panel-component/index-actions/index-actions.mjs +1 -3
- package/es/panel-component/index-actions/index-actions.provider.mjs +1 -2
- package/es/panel-component/index-actions/index.d.ts +2 -2
- package/es/panel-component/index.d.ts +0 -7
- package/es/panel-component/index.mjs +2 -28
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +1 -2
- package/es/panel-component/panel-button/index.d.ts +1 -1
- package/es/panel-component/panel-button/panel-button.d.ts +1 -1
- package/es/util/app-drawer/app-drawer-component.mjs +1 -4
- package/es/util/app-float-window/app-float-window-component.mjs +1 -4
- package/es/util/app-modal/app-modal-component.mjs +1 -4
- package/es/util/app-popover/app-popover-component.d.ts +1 -1
- package/es/util/app-popover/app-popover-component.mjs +1 -4
- package/es/util/index.d.ts +0 -4
- package/es/util/index.mjs +0 -6
- package/es/util/open-view-util/open-view-util.mjs +1 -3
- package/es/view/index.d.ts +0 -4
- package/es/view/index.mjs +0 -6
- package/lib/common/index.cjs +7 -20
- package/lib/control/chart/index.cjs +2 -3
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.cjs +6 -2
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-container/form-mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-data-view/form-mdctrl-data-view.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-grid/form-mdctrl-grid.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-list/form-mdctrl-list.cjs +1 -1
- package/lib/control/toolbar/toolbar.cjs +2 -2
- package/lib/devtool/index.cjs +1 -1
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +1 -3
- package/lib/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +25 -5
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/index.cjs +54 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +1 -3
- package/lib/editor/span/span/span.cjs +30 -2
- package/lib/index.cjs +30 -114
- package/lib/node_modules/.pnpm/{element-plus@2.4.1_vue@3.3.7 → element-plus@2.4.2_vue@3.3.8}/node_modules/element-plus/dist/locale/zh-cn.cjs +1 -1
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +1 -3
- package/lib/panel-component/index-actions/index-actions.cjs +1 -3
- package/lib/panel-component/index-actions/index-actions.provider.cjs +2 -3
- package/lib/panel-component/index.cjs +51 -101
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +3 -4
- package/lib/util/app-drawer/app-drawer-component.cjs +2 -5
- package/lib/util/app-float-window/app-float-window-component.cjs +2 -5
- package/lib/util/app-modal/app-modal-component.cjs +2 -5
- package/lib/util/app-popover/app-popover-component.cjs +2 -5
- package/lib/util/index.cjs +0 -12
- package/lib/util/open-view-util/open-view-util.cjs +6 -8
- package/lib/view/index.cjs +2 -14
- package/package.json +4 -4
- package/dist/ibiz-markdown-editor-ruHo8Z-f.js +0 -2
- package/dist/ibiz-markdown-editor-ruHo8Z-f.js.map +0 -1
- package/es/common/code-list/code-list.css +0 -1
- package/es/common/code-list/code-list.d.ts +0 -57
- package/es/common/code-list/code-list.mjs +0 -84
- package/es/common/control-base/control-base.css +0 -1
- package/es/common/control-base/control-base.d.ts +0 -1
- package/es/common/control-base/control-base.mjs +0 -98
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +0 -30
- package/es/common/control-loading-placeholder/control-loading-placeholder.mjs +0 -30
- package/es/common/control-shell/control-shell.css +0 -1
- package/es/common/control-shell/control-shell.d.ts +0 -20
- package/es/common/control-shell/control-shell.mjs +0 -55
- package/es/common/icon/icon.d.ts +0 -28
- package/es/common/icon/icon.mjs +0 -88
- package/es/common/router-view/router-view.d.ts +0 -29
- package/es/common/router-view/router-view.mjs +0 -75
- package/es/common/view-shell/view-shell.css +0 -1
- package/es/common/view-shell/view-shell.d.ts +0 -39
- package/es/common/view-shell/view-shell.mjs +0 -76
- package/es/panel-component/grid-container/grid-container.controller.d.ts +0 -14
- package/es/panel-component/grid-container/grid-container.controller.mjs +0 -12
- package/es/panel-component/grid-container/grid-container.css +0 -1
- package/es/panel-component/grid-container/grid-container.d.ts +0 -37
- package/es/panel-component/grid-container/grid-container.mjs +0 -105
- package/es/panel-component/grid-container/grid-container.provider.d.ts +0 -15
- package/es/panel-component/grid-container/grid-container.provider.mjs +0 -21
- package/es/panel-component/grid-container/grid-container.state.d.ts +0 -12
- package/es/panel-component/grid-container/grid-container.state.mjs +0 -7
- package/es/panel-component/grid-container/index.d.ts +0 -38
- package/es/panel-component/grid-container/index.mjs +0 -17
- package/es/panel-component/multi-data-container/index.d.ts +0 -37
- package/es/panel-component/multi-data-container/index.mjs +0 -20
- package/es/panel-component/multi-data-container/multi-data-container-item.controller.d.ts +0 -60
- package/es/panel-component/multi-data-container/multi-data-container-item.controller.mjs +0 -123
- package/es/panel-component/multi-data-container/multi-data-container-itm.state.d.ts +0 -19
- package/es/panel-component/multi-data-container/multi-data-container-itm.state.mjs +0 -23
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +0 -106
- package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +0 -266
- package/es/panel-component/multi-data-container/multi-data-container.css +0 -1
- package/es/panel-component/multi-data-container/multi-data-container.d.ts +0 -35
- package/es/panel-component/multi-data-container/multi-data-container.mjs +0 -86
- package/es/panel-component/multi-data-container/multi-data-container.provider.d.ts +0 -15
- package/es/panel-component/multi-data-container/multi-data-container.provider.mjs +0 -21
- package/es/panel-component/multi-data-container/multi-data-container.state.d.ts +0 -19
- package/es/panel-component/multi-data-container/multi-data-container.state.mjs +0 -23
- package/es/panel-component/nav-pos/index.d.ts +0 -28
- package/es/panel-component/nav-pos/index.mjs +0 -14
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts +0 -161
- package/es/panel-component/nav-pos/nav-pos.controller.mjs +0 -281
- package/es/panel-component/nav-pos/nav-pos.css +0 -1
- package/es/panel-component/nav-pos/nav-pos.d.ts +0 -28
- package/es/panel-component/nav-pos/nav-pos.mjs +0 -102
- package/es/panel-component/nav-pos/nav-pos.provider.d.ts +0 -22
- package/es/panel-component/nav-pos/nav-pos.provider.mjs +0 -30
- package/es/panel-component/nav-pos/nav-pos.state.d.ts +0 -49
- package/es/panel-component/nav-pos/nav-pos.state.mjs +0 -53
- package/es/panel-component/panel-container/index.d.ts +0 -27
- package/es/panel-component/panel-container/index.mjs +0 -21
- package/es/panel-component/panel-container/panel-container.controller.d.ts +0 -14
- package/es/panel-component/panel-container/panel-container.controller.mjs +0 -12
- package/es/panel-component/panel-container/panel-container.css +0 -1
- package/es/panel-component/panel-container/panel-container.d.ts +0 -26
- package/es/panel-component/panel-container/panel-container.mjs +0 -69
- package/es/panel-component/panel-container/panel-container.provider.d.ts +0 -15
- package/es/panel-component/panel-container/panel-container.provider.mjs +0 -21
- package/es/panel-component/panel-container/panel-container.state.d.ts +0 -12
- package/es/panel-component/panel-container/panel-container.state.mjs +0 -7
- package/es/panel-component/panel-ctrl-pos/index.d.ts +0 -25
- package/es/panel-component/panel-ctrl-pos/index.mjs +0 -13
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.d.ts +0 -35
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.mjs +0 -39
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +0 -1
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +0 -24
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.mjs +0 -44
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.d.ts +0 -16
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.mjs +0 -21
- package/es/panel-component/panel-field/index.d.ts +0 -26
- package/es/panel-component/panel-field/index.mjs +0 -13
- package/es/panel-component/panel-field/panel-field.controller.d.ts +0 -74
- package/es/panel-component/panel-field/panel-field.controller.mjs +0 -111
- package/es/panel-component/panel-field/panel-field.css +0 -1
- package/es/panel-component/panel-field/panel-field.d.ts +0 -27
- package/es/panel-component/panel-field/panel-field.mjs +0 -72
- package/es/panel-component/panel-field/panel-field.provider.d.ts +0 -14
- package/es/panel-component/panel-field/panel-field.provider.mjs +0 -21
- package/es/panel-component/panel-field/panel-field.state.d.ts +0 -12
- package/es/panel-component/panel-field/panel-field.state.mjs +0 -7
- package/es/panel-component/panel-rawitem/index.d.ts +0 -25
- package/es/panel-component/panel-rawitem/index.mjs +0 -17
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.d.ts +0 -28
- package/es/panel-component/panel-rawitem/panel-rawitem.controller.mjs +0 -28
- package/es/panel-component/panel-rawitem/panel-rawitem.css +0 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +0 -26
- package/es/panel-component/panel-rawitem/panel-rawitem.mjs +0 -49
- package/es/panel-component/panel-rawitem/panel-rawitem.provider.d.ts +0 -14
- package/es/panel-component/panel-rawitem/panel-rawitem.provider.mjs +0 -21
- package/es/panel-component/scroll-container/index.d.ts +0 -25
- package/es/panel-component/scroll-container/index.mjs +0 -45
- package/es/panel-component/scroll-container/scroll-container/index.d.ts +0 -3
- package/es/panel-component/scroll-container/scroll-container/index.mjs +0 -5
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.d.ts +0 -22
- package/es/panel-component/scroll-container/scroll-container/scroll-container.controller.mjs +0 -12
- package/es/panel-component/scroll-container/scroll-container/scroll-container.css +0 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +0 -26
- package/es/panel-component/scroll-container/scroll-container/scroll-container.mjs +0 -111
- package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.d.ts +0 -16
- package/es/panel-component/scroll-container/scroll-container/scroll-container.provider.mjs +0 -21
- package/es/panel-component/scroll-container/scroll-container-item/index.d.ts +0 -3
- package/es/panel-component/scroll-container/scroll-container-item/index.mjs +0 -5
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.d.ts +0 -21
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.mjs +0 -7
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +0 -1
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +0 -26
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.mjs +0 -63
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.d.ts +0 -16
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.mjs +0 -21
- package/es/panel-component/single-data-container/index.d.ts +0 -37
- package/es/panel-component/single-data-container/index.mjs +0 -20
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts +0 -121
- package/es/panel-component/single-data-container/single-data-container.controller.mjs +0 -291
- package/es/panel-component/single-data-container/single-data-container.css +0 -1
- package/es/panel-component/single-data-container/single-data-container.d.ts +0 -35
- package/es/panel-component/single-data-container/single-data-container.mjs +0 -76
- package/es/panel-component/single-data-container/single-data-container.provider.d.ts +0 -15
- package/es/panel-component/single-data-container/single-data-container.provider.mjs +0 -21
- package/es/panel-component/single-data-container/single-data-container.state.d.ts +0 -19
- package/es/panel-component/single-data-container/single-data-container.state.mjs +0 -23
- package/es/util/overlay-container/overlay-container.d.ts +0 -92
- package/es/util/overlay-container/overlay-container.mjs +0 -139
- package/es/util/overlay-popover-container/overlay-popover-container.d.ts +0 -16
- package/es/util/overlay-popover-container/overlay-popover-container.mjs +0 -10
- package/es/util/overlay-view-util/overlay-view-util.d.ts +0 -8
- package/es/util/overlay-view-util/overlay-view-util.mjs +0 -63
- package/es/util/router-callback/router-callback-item.d.ts +0 -61
- package/es/util/router-callback/router-callback-item.mjs +0 -88
- package/es/util/router-callback/router-callback.d.ts +0 -59
- package/es/util/router-callback/router-callback.mjs +0 -92
- package/es/util/store/app-store/app-store.d.ts +0 -9
- package/es/util/store/app-store/app-store.mjs +0 -10
- package/es/util/store/index.d.ts +0 -3
- package/es/util/store/index.mjs +0 -8
- package/es/util/store/ui-store/ui-store.d.ts +0 -31
- package/es/util/store/ui-store/ui-store.mjs +0 -15
- package/es/util/store/ui-store/z-index.d.ts +0 -34
- package/es/util/store/ui-store/z-index.mjs +0 -18
- package/es/view/app-redirect-view/app-redirect-view.d.ts +0 -1
- package/es/view/app-redirect-view/app-redirect-view.mjs +0 -27
- package/es/view/common/index.d.ts +0 -50
- package/es/view/common/index.mjs +0 -14
- package/es/view/common/view.css +0 -1
- package/es/view/common/view.d.ts +0 -52
- package/es/view/common/view.mjs +0 -137
- package/es/view/common/view.provider.d.ts +0 -13
- package/es/view/common/view.provider.mjs +0 -14
- package/es/view/portal-view/index.d.ts +0 -42
- package/es/view/portal-view/index.mjs +0 -20
- package/es/view/portal-view/portal-view.d.ts +0 -43
- package/es/view/portal-view/portal-view.mjs +0 -91
- package/es/view/portal-view/portal-view.provider.d.ts +0 -13
- package/es/view/portal-view/portal-view.provider.mjs +0 -14
- package/es/view/todo-redirect/todo-redirect.d.ts +0 -1
- package/es/view/todo-redirect/todo-redirect.mjs +0 -52
- package/lib/common/code-list/code-list.cjs +0 -86
- package/lib/common/code-list/code-list.css +0 -1
- package/lib/common/control-base/control-base.cjs +0 -100
- package/lib/common/control-base/control-base.css +0 -1
- package/lib/common/control-loading-placeholder/control-loading-placeholder.cjs +0 -32
- package/lib/common/control-shell/control-shell.cjs +0 -57
- package/lib/common/control-shell/control-shell.css +0 -1
- package/lib/common/icon/icon.cjs +0 -90
- package/lib/common/router-view/router-view.cjs +0 -77
- package/lib/common/view-shell/view-shell.cjs +0 -78
- package/lib/common/view-shell/view-shell.css +0 -1
- package/lib/panel-component/grid-container/grid-container.cjs +0 -107
- package/lib/panel-component/grid-container/grid-container.controller.cjs +0 -14
- package/lib/panel-component/grid-container/grid-container.css +0 -1
- package/lib/panel-component/grid-container/grid-container.provider.cjs +0 -23
- package/lib/panel-component/grid-container/grid-container.state.cjs +0 -9
- package/lib/panel-component/grid-container/index.cjs +0 -25
- package/lib/panel-component/multi-data-container/index.cjs +0 -28
- package/lib/panel-component/multi-data-container/multi-data-container-item.controller.cjs +0 -125
- package/lib/panel-component/multi-data-container/multi-data-container-itm.state.cjs +0 -25
- package/lib/panel-component/multi-data-container/multi-data-container.cjs +0 -88
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +0 -268
- package/lib/panel-component/multi-data-container/multi-data-container.css +0 -1
- package/lib/panel-component/multi-data-container/multi-data-container.provider.cjs +0 -23
- package/lib/panel-component/multi-data-container/multi-data-container.state.cjs +0 -25
- package/lib/panel-component/nav-pos/index.cjs +0 -22
- package/lib/panel-component/nav-pos/nav-pos.cjs +0 -104
- package/lib/panel-component/nav-pos/nav-pos.controller.cjs +0 -283
- package/lib/panel-component/nav-pos/nav-pos.css +0 -1
- package/lib/panel-component/nav-pos/nav-pos.provider.cjs +0 -32
- package/lib/panel-component/nav-pos/nav-pos.state.cjs +0 -55
- package/lib/panel-component/panel-container/index.cjs +0 -29
- package/lib/panel-component/panel-container/panel-container.cjs +0 -71
- package/lib/panel-component/panel-container/panel-container.controller.cjs +0 -14
- package/lib/panel-component/panel-container/panel-container.css +0 -1
- package/lib/panel-component/panel-container/panel-container.provider.cjs +0 -23
- package/lib/panel-component/panel-container/panel-container.state.cjs +0 -9
- package/lib/panel-component/panel-ctrl-pos/index.cjs +0 -20
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.cjs +0 -46
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.controller.cjs +0 -41
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.css +0 -1
- package/lib/panel-component/panel-ctrl-pos/panel-ctrl-pos.provider.cjs +0 -23
- package/lib/panel-component/panel-field/index.cjs +0 -20
- package/lib/panel-component/panel-field/panel-field.cjs +0 -74
- package/lib/panel-component/panel-field/panel-field.controller.cjs +0 -113
- package/lib/panel-component/panel-field/panel-field.css +0 -1
- package/lib/panel-component/panel-field/panel-field.provider.cjs +0 -23
- package/lib/panel-component/panel-field/panel-field.state.cjs +0 -9
- package/lib/panel-component/panel-rawitem/index.cjs +0 -24
- package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +0 -51
- package/lib/panel-component/panel-rawitem/panel-rawitem.controller.cjs +0 -30
- package/lib/panel-component/panel-rawitem/panel-rawitem.css +0 -1
- package/lib/panel-component/panel-rawitem/panel-rawitem.provider.cjs +0 -23
- package/lib/panel-component/scroll-container/index.cjs +0 -56
- package/lib/panel-component/scroll-container/scroll-container/index.cjs +0 -11
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.cjs +0 -113
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.cjs +0 -14
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.css +0 -1
- package/lib/panel-component/scroll-container/scroll-container/scroll-container.provider.cjs +0 -23
- package/lib/panel-component/scroll-container/scroll-container-item/index.cjs +0 -11
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.cjs +0 -65
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.controller.cjs +0 -9
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.css +0 -1
- package/lib/panel-component/scroll-container/scroll-container-item/scroll-container-item.provider.cjs +0 -23
- package/lib/panel-component/single-data-container/index.cjs +0 -28
- package/lib/panel-component/single-data-container/single-data-container.cjs +0 -78
- package/lib/panel-component/single-data-container/single-data-container.controller.cjs +0 -293
- package/lib/panel-component/single-data-container/single-data-container.css +0 -1
- package/lib/panel-component/single-data-container/single-data-container.provider.cjs +0 -23
- package/lib/panel-component/single-data-container/single-data-container.state.cjs +0 -25
- package/lib/util/overlay-container/overlay-container.cjs +0 -141
- package/lib/util/overlay-popover-container/overlay-popover-container.cjs +0 -12
- package/lib/util/overlay-view-util/overlay-view-util.cjs +0 -70
- package/lib/util/router-callback/router-callback-item.cjs +0 -90
- package/lib/util/router-callback/router-callback.cjs +0 -95
- package/lib/util/store/app-store/app-store.cjs +0 -12
- package/lib/util/store/index.cjs +0 -12
- package/lib/util/store/ui-store/ui-store.cjs +0 -17
- package/lib/util/store/ui-store/z-index.cjs +0 -20
- package/lib/view/app-redirect-view/app-redirect-view.cjs +0 -29
- package/lib/view/common/index.cjs +0 -17
- package/lib/view/common/view.cjs +0 -139
- package/lib/view/common/view.css +0 -1
- package/lib/view/common/view.provider.cjs +0 -16
- package/lib/view/portal-view/index.cjs +0 -23
- package/lib/view/portal-view/portal-view.cjs +0 -93
- package/lib/view/portal-view/portal-view.provider.cjs +0 -16
- package/lib/view/todo-redirect/todo-redirect.cjs +0 -54
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { isVNode, watch, resolveComponent, createVNode, h, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace, getNestedRoutePath } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { useRouter, useRoute } from 'vue-router';
|
|
4
|
-
import { NavPosController } from './nav-pos.controller.mjs';
|
|
5
|
-
import './nav-pos.css';
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
function _isSlot(s) {
|
|
9
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
10
|
-
}
|
|
11
|
-
const NavPos = /* @__PURE__ */ defineComponent({
|
|
12
|
-
name: "IBizNavPos",
|
|
13
|
-
props: {
|
|
14
|
-
modelData: {
|
|
15
|
-
type: Object,
|
|
16
|
-
required: true
|
|
17
|
-
},
|
|
18
|
-
controller: {
|
|
19
|
-
type: NavPosController,
|
|
20
|
-
required: true
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
setup(props) {
|
|
24
|
-
const c = props.controller;
|
|
25
|
-
const ns = useNamespace("nav-pos");
|
|
26
|
-
const onViewCreated = (event) => {
|
|
27
|
-
c.onViewCreated(event);
|
|
28
|
-
};
|
|
29
|
-
const router = useRouter();
|
|
30
|
-
const route = useRoute();
|
|
31
|
-
c.setRouter(router);
|
|
32
|
-
if (c.routeDepth) {
|
|
33
|
-
const expViewRoutePath = getNestedRoutePath(route, c.routeDepth);
|
|
34
|
-
watch(() => route.fullPath, () => {
|
|
35
|
-
const currentRoutePath = getNestedRoutePath(route, c.routeDepth);
|
|
36
|
-
if (expViewRoutePath === currentRoutePath && route.matched.length > c.routeDepth) {
|
|
37
|
-
c.onRouteChange(route);
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
immediate: true
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
ns,
|
|
45
|
-
c,
|
|
46
|
-
onViewCreated
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
render() {
|
|
50
|
-
const {
|
|
51
|
-
viewModals,
|
|
52
|
-
state
|
|
53
|
-
} = this.c;
|
|
54
|
-
const {
|
|
55
|
-
currentKey,
|
|
56
|
-
cacheKeys,
|
|
57
|
-
navViewMsgs,
|
|
58
|
-
cache
|
|
59
|
-
} = state;
|
|
60
|
-
let content = null;
|
|
61
|
-
if (state.routeOpen) {
|
|
62
|
-
content = createVNode(resolveComponent("iBizRouterView"), {
|
|
63
|
-
"manualKey": currentKey,
|
|
64
|
-
"modal": viewModals[currentKey],
|
|
65
|
-
"onCreated": this.onViewCreated
|
|
66
|
-
}, {
|
|
67
|
-
default: ({
|
|
68
|
-
Component
|
|
69
|
-
}) => {
|
|
70
|
-
const routerContent = currentKey === "" || !Component ? null : createVNode(Component, null, null);
|
|
71
|
-
return cache ? createVNode(resolveComponent("keepAlive"), {
|
|
72
|
-
"include": cacheKeys,
|
|
73
|
-
"max": 30,
|
|
74
|
-
"isKey": true
|
|
75
|
-
}, _isSlot(routerContent) ? routerContent : {
|
|
76
|
-
default: () => [routerContent]
|
|
77
|
-
}) : routerContent;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
} else {
|
|
81
|
-
const view = currentKey ? h(resolveComponent("IBizViewShell"), {
|
|
82
|
-
context: navViewMsgs[currentKey].context,
|
|
83
|
-
params: navViewMsgs[currentKey].params,
|
|
84
|
-
key: navViewMsgs[currentKey].key,
|
|
85
|
-
viewId: navViewMsgs[currentKey].viewId,
|
|
86
|
-
onCreated: this.onViewCreated
|
|
87
|
-
}) : null;
|
|
88
|
-
content = cache ? createVNode(resolveComponent("keepAlive"), {
|
|
89
|
-
"include": cacheKeys,
|
|
90
|
-
"max": 30,
|
|
91
|
-
"isKey": true
|
|
92
|
-
}, _isSlot(view) ? view : {
|
|
93
|
-
default: () => [view]
|
|
94
|
-
}) : view;
|
|
95
|
-
}
|
|
96
|
-
return createVNode("div", {
|
|
97
|
-
"class": [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass]
|
|
98
|
-
}, [content]);
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
export { NavPos };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IPanelItemNavPosController, IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
-
/**
|
|
4
|
-
* 导航占位适配器
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @class NavPosProvider
|
|
8
|
-
* @implements {IPanelItemProvider}
|
|
9
|
-
*/
|
|
10
|
-
export declare class NavPosProvider implements IPanelItemProvider {
|
|
11
|
-
component: string;
|
|
12
|
-
/**
|
|
13
|
-
* 创建控制器
|
|
14
|
-
*
|
|
15
|
-
* @param {IPanelItem} panelItem
|
|
16
|
-
* @param {PanelController} panel
|
|
17
|
-
* @param {(PanelItemController | undefined)} parent
|
|
18
|
-
* @return {*} {Promise<IPanelItemNavPosController>}
|
|
19
|
-
* @memberof NavPosProvider
|
|
20
|
-
*/
|
|
21
|
-
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<IPanelItemNavPosController>;
|
|
22
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { NavPosController } from './nav-pos.controller.mjs';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => {
|
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
class NavPosProvider {
|
|
11
|
-
constructor() {
|
|
12
|
-
__publicField(this, "component", "IBizNavPos");
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 创建控制器
|
|
16
|
-
*
|
|
17
|
-
* @param {IPanelItem} panelItem
|
|
18
|
-
* @param {PanelController} panel
|
|
19
|
-
* @param {(PanelItemController | undefined)} parent
|
|
20
|
-
* @return {*} {Promise<IPanelItemNavPosController>}
|
|
21
|
-
* @memberof NavPosProvider
|
|
22
|
-
*/
|
|
23
|
-
async createController(panelItem, panel, parent) {
|
|
24
|
-
const c = new NavPosController(panelItem, panel, parent);
|
|
25
|
-
await c.init();
|
|
26
|
-
return c;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { NavPosProvider };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { INavViewMsg, PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* 导航占位状态
|
|
4
|
-
*
|
|
5
|
-
* @export
|
|
6
|
-
* @class NavPosState
|
|
7
|
-
* @extends {PanelItemState}
|
|
8
|
-
*/
|
|
9
|
-
export declare class NavPosState extends PanelItemState {
|
|
10
|
-
/**
|
|
11
|
-
* 是否启用缓存
|
|
12
|
-
*
|
|
13
|
-
* @type {boolean}
|
|
14
|
-
* @memberof NavPosState
|
|
15
|
-
*/
|
|
16
|
-
cache: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* 是否是路由打开
|
|
19
|
-
*
|
|
20
|
-
* @author zk
|
|
21
|
-
* @date 2023-09-26 04:09:23
|
|
22
|
-
* @type {boolean}
|
|
23
|
-
* @memberof NavPosState
|
|
24
|
-
*/
|
|
25
|
-
routeOpen: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* 当前导航视图标识
|
|
28
|
-
* @author lxm
|
|
29
|
-
* @date 2023-05-25 06:24:48
|
|
30
|
-
* @type {string}
|
|
31
|
-
*/
|
|
32
|
-
currentKey: string;
|
|
33
|
-
/**
|
|
34
|
-
* 缓存的视图标识
|
|
35
|
-
* @author lxm
|
|
36
|
-
* @date 2023-05-25 06:25:21
|
|
37
|
-
* @type {string[]}
|
|
38
|
-
*/
|
|
39
|
-
cacheKeys: string[];
|
|
40
|
-
/**
|
|
41
|
-
* 导航视图详细信息
|
|
42
|
-
* @author lxm
|
|
43
|
-
* @date 2023-05-25 07:07:05
|
|
44
|
-
* @type {INavViewMsg[]}
|
|
45
|
-
*/
|
|
46
|
-
navViewMsgs: {
|
|
47
|
-
[p: string]: INavViewMsg;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => {
|
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
class NavPosState extends PanelItemState {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
/**
|
|
14
|
-
* 是否启用缓存
|
|
15
|
-
*
|
|
16
|
-
* @type {boolean}
|
|
17
|
-
* @memberof NavPosState
|
|
18
|
-
*/
|
|
19
|
-
__publicField(this, "cache", true);
|
|
20
|
-
/**
|
|
21
|
-
* 是否是路由打开
|
|
22
|
-
*
|
|
23
|
-
* @author zk
|
|
24
|
-
* @date 2023-09-26 04:09:23
|
|
25
|
-
* @type {boolean}
|
|
26
|
-
* @memberof NavPosState
|
|
27
|
-
*/
|
|
28
|
-
__publicField(this, "routeOpen", true);
|
|
29
|
-
/**
|
|
30
|
-
* 当前导航视图标识
|
|
31
|
-
* @author lxm
|
|
32
|
-
* @date 2023-05-25 06:24:48
|
|
33
|
-
* @type {string}
|
|
34
|
-
*/
|
|
35
|
-
__publicField(this, "currentKey", "");
|
|
36
|
-
/**
|
|
37
|
-
* 缓存的视图标识
|
|
38
|
-
* @author lxm
|
|
39
|
-
* @date 2023-05-25 06:25:21
|
|
40
|
-
* @type {string[]}
|
|
41
|
-
*/
|
|
42
|
-
__publicField(this, "cacheKeys", ["RouterShell"]);
|
|
43
|
-
/**
|
|
44
|
-
* 导航视图详细信息
|
|
45
|
-
* @author lxm
|
|
46
|
-
* @date 2023-05-25 07:07:05
|
|
47
|
-
* @type {INavViewMsg[]}
|
|
48
|
-
*/
|
|
49
|
-
__publicField(this, "navViewMsgs", {});
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { NavPosState };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PanelContainerProvider } from './panel-container.provider';
|
|
2
|
-
import { PanelContainerState } from './panel-container.state';
|
|
3
|
-
import { PanelContainerController } from './panel-container.controller';
|
|
4
|
-
export { PanelContainerProvider, PanelContainerState, PanelContainerController, };
|
|
5
|
-
export declare const IBizPanelContainer: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
6
|
-
modelData: {
|
|
7
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
controller: {
|
|
11
|
-
type: typeof PanelContainerController;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
-
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
modelData: {
|
|
19
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
controller: {
|
|
23
|
-
type: typeof PanelContainerController;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
}>>, {}, {}>>;
|
|
27
|
-
export default IBizPanelContainer;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { withInstall } from '@ibiz-template/vue3-util';
|
|
2
|
-
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
3
|
-
import { PanelContainer } from './panel-container.mjs';
|
|
4
|
-
import { PanelContainerProvider } from './panel-container.provider.mjs';
|
|
5
|
-
export { PanelContainerState } from './panel-container.state.mjs';
|
|
6
|
-
export { PanelContainerController } from './panel-container.controller.mjs';
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
const IBizPanelContainer = withInstall(
|
|
10
|
-
PanelContainer,
|
|
11
|
-
function(v) {
|
|
12
|
-
v.component(PanelContainer.name, PanelContainer);
|
|
13
|
-
registerPanelItemProvider("CONTAINER", () => new PanelContainerProvider());
|
|
14
|
-
registerPanelItemProvider(
|
|
15
|
-
"CONTAINER_DEFAULT",
|
|
16
|
-
() => new PanelContainerProvider()
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
export { IBizPanelContainer, PanelContainerProvider, IBizPanelContainer as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
|
-
import { PanelContainerState } from './panel-container.state';
|
|
4
|
-
/**
|
|
5
|
-
* 面板容器控制器
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @class PanelContainerController
|
|
9
|
-
* @extends {PanelItemController}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelContainerController extends PanelItemController<IPanelContainer> {
|
|
12
|
-
state: PanelContainerState;
|
|
13
|
-
protected createState(): PanelContainerState;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { PanelContainerState } from './panel-container.state.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
class PanelContainerController extends PanelItemController {
|
|
6
|
-
createState() {
|
|
7
|
-
var _a;
|
|
8
|
-
return new PanelContainerState((_a = this.parent) == null ? void 0 : _a.state);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { PanelContainerController };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-container{width:100%;height:100%}.ibiz-panel-container>.ibiz-row{height:100%;overflow-x:hidden;overflow-y:auto}.ibiz-panel-container.is-hidden{display:none}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IPanelContainer } from '@ibiz/model-core';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { PanelContainerController } from './panel-container.controller';
|
|
4
|
-
import './panel-container.scss';
|
|
5
|
-
export declare const PanelContainer: import("vue").DefineComponent<{
|
|
6
|
-
modelData: {
|
|
7
|
-
type: PropType<IPanelContainer>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
controller: {
|
|
11
|
-
type: typeof PanelContainerController;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
-
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
modelData: {
|
|
19
|
-
type: PropType<IPanelContainer>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
controller: {
|
|
23
|
-
type: typeof PanelContainerController;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
}>>, {}, {}>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { isVNode, computed, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { PanelContainerController } from './panel-container.controller.mjs';
|
|
4
|
-
import './panel-container.css';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
function _isSlot(s) {
|
|
8
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9
|
-
}
|
|
10
|
-
const PanelContainer = /* @__PURE__ */ defineComponent({
|
|
11
|
-
name: "IBizPanelContainer",
|
|
12
|
-
props: {
|
|
13
|
-
modelData: {
|
|
14
|
-
type: Object,
|
|
15
|
-
required: true
|
|
16
|
-
},
|
|
17
|
-
controller: {
|
|
18
|
-
type: PanelContainerController,
|
|
19
|
-
required: true
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setup(props) {
|
|
23
|
-
const ns = useNamespace("panel-container");
|
|
24
|
-
const {
|
|
25
|
-
id
|
|
26
|
-
} = props.modelData;
|
|
27
|
-
const classArr = computed(() => {
|
|
28
|
-
let result = [ns.b(), ns.m(id)];
|
|
29
|
-
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
30
|
-
return result;
|
|
31
|
-
});
|
|
32
|
-
return {
|
|
33
|
-
ns,
|
|
34
|
-
classArr
|
|
35
|
-
};
|
|
36
|
-
},
|
|
37
|
-
render() {
|
|
38
|
-
var _a, _b;
|
|
39
|
-
let _slot;
|
|
40
|
-
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
41
|
-
const content = createVNode(resolveComponent("iBizRow"), {
|
|
42
|
-
"slot": "content",
|
|
43
|
-
"layout": this.modelData.layout
|
|
44
|
-
}, _isSlot(_slot = defaultSlots.map((slot) => {
|
|
45
|
-
const props = slot.props;
|
|
46
|
-
if (!props || !props.controller) {
|
|
47
|
-
return slot;
|
|
48
|
-
}
|
|
49
|
-
return createVNode(resolveComponent("iBizCol"), {
|
|
50
|
-
"layoutPos": props.modelData.layoutPos,
|
|
51
|
-
"state": props.controller.state
|
|
52
|
-
}, _isSlot(slot) ? slot : {
|
|
53
|
-
default: () => [slot]
|
|
54
|
-
});
|
|
55
|
-
})) ? _slot : {
|
|
56
|
-
default: () => [_slot]
|
|
57
|
-
});
|
|
58
|
-
return createVNode("div", {
|
|
59
|
-
"class": this.classArr,
|
|
60
|
-
"onClick": () => {
|
|
61
|
-
this.controller.onClick();
|
|
62
|
-
}
|
|
63
|
-
}, [this.controller.model.cssStyle ? createVNode("style", {
|
|
64
|
-
"type": "text/css"
|
|
65
|
-
}, [this.controller.model.cssStyle]) : null, content]);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
export { PanelContainer };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelContainer } from '@ibiz/model-core';
|
|
3
|
-
/**
|
|
4
|
-
* 面板容器适配器
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2022-09-19 22:09:03
|
|
8
|
-
* @export
|
|
9
|
-
* @class PanelContainerProvider
|
|
10
|
-
* @implements {EditorProvider}
|
|
11
|
-
*/
|
|
12
|
-
export declare class PanelContainerProvider implements IPanelItemProvider {
|
|
13
|
-
component: string;
|
|
14
|
-
createController(panelItem: IPanelContainer, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelItemController>;
|
|
15
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PanelContainerController } from './panel-container.controller.mjs';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => {
|
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
class PanelContainerProvider {
|
|
11
|
-
constructor() {
|
|
12
|
-
__publicField(this, "component", "IBizPanelContainer");
|
|
13
|
-
}
|
|
14
|
-
async createController(panelItem, panel, parent) {
|
|
15
|
-
const c = new PanelContainerController(panelItem, panel, parent);
|
|
16
|
-
await c.init();
|
|
17
|
-
return c;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { PanelContainerProvider };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* 面板容器状态
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2023-02-07 06:04:27
|
|
7
|
-
* @export
|
|
8
|
-
* @class PanelContainerState
|
|
9
|
-
* @extends {PanelItemState}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelContainerState extends PanelItemState {
|
|
12
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PanelCtrlPosProvider } from './panel-ctrl-pos.provider';
|
|
2
|
-
import { PanelCtrlPosController } from './panel-ctrl-pos.controller';
|
|
3
|
-
export { PanelCtrlPosProvider, PanelCtrlPosController };
|
|
4
|
-
export declare const IBizPanelCtrlPos: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
5
|
-
modelData: {
|
|
6
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelItem>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
controller: {
|
|
10
|
-
type: import("vue").PropType<PanelCtrlPosController>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}, {
|
|
14
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
15
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
modelData: {
|
|
17
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelItem>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
controller: {
|
|
21
|
-
type: import("vue").PropType<PanelCtrlPosController>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
}>>, {}, {}>>;
|
|
25
|
-
export default IBizPanelCtrlPos;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { withInstall } from '@ibiz-template/vue3-util';
|
|
2
|
-
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
3
|
-
import { PanelCtrlPos } from './panel-ctrl-pos.mjs';
|
|
4
|
-
import { PanelCtrlPosProvider } from './panel-ctrl-pos.provider.mjs';
|
|
5
|
-
export { PanelCtrlPosController } from './panel-ctrl-pos.controller.mjs';
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const IBizPanelCtrlPos = withInstall(PanelCtrlPos, function(v) {
|
|
9
|
-
v.component(PanelCtrlPos.name, PanelCtrlPos);
|
|
10
|
-
registerPanelItemProvider("CTRLPOS", () => new PanelCtrlPosProvider());
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
export { IBizPanelCtrlPos, PanelCtrlPosProvider, IBizPanelCtrlPos as default };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IControlController, PanelItemController, ViewLayoutPanelController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelCtrlPos } from '@ibiz/model-core';
|
|
3
|
-
/**
|
|
4
|
-
* 面板控件占位控制器
|
|
5
|
-
*
|
|
6
|
-
* @author lxm
|
|
7
|
-
* @date 2023-02-07 06:05:23
|
|
8
|
-
* @export
|
|
9
|
-
* @class PanelButtonController
|
|
10
|
-
* @extends {PanelItemController}
|
|
11
|
-
*/
|
|
12
|
-
export declare class PanelCtrlPosController extends PanelItemController<IPanelCtrlPos> {
|
|
13
|
-
/**
|
|
14
|
-
* 面板控制器
|
|
15
|
-
*
|
|
16
|
-
* @author lxm
|
|
17
|
-
* @date 2022-08-24 22:08:59
|
|
18
|
-
* @type {PanelController}
|
|
19
|
-
*/
|
|
20
|
-
panel: ViewLayoutPanelController;
|
|
21
|
-
/**
|
|
22
|
-
* 部件占位对应部件控制器
|
|
23
|
-
* @author lxm
|
|
24
|
-
* @date 2023-08-09 10:41:38
|
|
25
|
-
* @type {IControlController}
|
|
26
|
-
*/
|
|
27
|
-
control?: IControlController;
|
|
28
|
-
/**
|
|
29
|
-
* 绑定部件控制器
|
|
30
|
-
* @author lxm
|
|
31
|
-
* @date 2023-08-09 10:42:30
|
|
32
|
-
* @param {IControlController} controller
|
|
33
|
-
*/
|
|
34
|
-
bindControl(controller: IControlController): void;
|
|
35
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => {
|
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
class PanelCtrlPosController extends PanelItemController {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
/**
|
|
14
|
-
* 部件占位对应部件控制器
|
|
15
|
-
* @author lxm
|
|
16
|
-
* @date 2023-08-09 10:41:38
|
|
17
|
-
* @type {IControlController}
|
|
18
|
-
*/
|
|
19
|
-
__publicField(this, "control");
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* 绑定部件控制器
|
|
23
|
-
* @author lxm
|
|
24
|
-
* @date 2023-08-09 10:42:30
|
|
25
|
-
* @param {IControlController} controller
|
|
26
|
-
*/
|
|
27
|
-
bindControl(controller) {
|
|
28
|
-
this.control = controller;
|
|
29
|
-
controller.evt.onAll((eventName, event) => {
|
|
30
|
-
this.panel.evt.emit("onControlEvent", {
|
|
31
|
-
triggerControlName: this.model.id,
|
|
32
|
-
triggerEventName: eventName,
|
|
33
|
-
triggerEvent: event
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { PanelCtrlPosController };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-ctrl-pos{width:100%;height:100%}.ibiz-panel-ctrl-pos.is-hidden{display:none}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { PanelCtrlPosController } from './panel-ctrl-pos.controller';
|
|
3
|
-
import './panel-ctrl-pos.scss';
|
|
4
|
-
export declare const PanelCtrlPos: import("vue").DefineComponent<{
|
|
5
|
-
modelData: {
|
|
6
|
-
type: PropType<import("@ibiz/model-core").IPanelItem>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
controller: {
|
|
10
|
-
type: PropType<PanelCtrlPosController>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}, {
|
|
14
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
15
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
modelData: {
|
|
17
|
-
type: PropType<import("@ibiz/model-core").IPanelItem>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
controller: {
|
|
21
|
-
type: PropType<PanelCtrlPosController>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
}>>, {}, {}>;
|