@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,41 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class PanelCtrlPosController extends runtime.PanelItemController {
|
|
13
|
-
constructor() {
|
|
14
|
-
super(...arguments);
|
|
15
|
-
/**
|
|
16
|
-
* 部件占位对应部件控制器
|
|
17
|
-
* @author lxm
|
|
18
|
-
* @date 2023-08-09 10:41:38
|
|
19
|
-
* @type {IControlController}
|
|
20
|
-
*/
|
|
21
|
-
__publicField(this, "control");
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* 绑定部件控制器
|
|
25
|
-
* @author lxm
|
|
26
|
-
* @date 2023-08-09 10:42:30
|
|
27
|
-
* @param {IControlController} controller
|
|
28
|
-
*/
|
|
29
|
-
bindControl(controller) {
|
|
30
|
-
this.control = controller;
|
|
31
|
-
controller.evt.onAll((eventName, event) => {
|
|
32
|
-
this.panel.evt.emit("onControlEvent", {
|
|
33
|
-
triggerControlName: this.model.id,
|
|
34
|
-
triggerEventName: eventName,
|
|
35
|
-
triggerEvent: event
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
exports.PanelCtrlPosController = PanelCtrlPosController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-ctrl-pos{width:100%;height:100%}.ibiz-panel-ctrl-pos.is-hidden{display:none}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var panelCtrlPos_controller = require('./panel-ctrl-pos.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class PanelCtrlPosProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizPanelCtrlPos");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new panelCtrlPos_controller.PanelCtrlPosController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.PanelCtrlPosProvider = PanelCtrlPosProvider;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('@ibiz-template/runtime');
|
|
6
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
7
|
-
var panelField = require('./panel-field.cjs');
|
|
8
|
-
var panelField_provider = require('./panel-field.provider.cjs');
|
|
9
|
-
var panelField_controller = require('./panel-field.controller.cjs');
|
|
10
|
-
|
|
11
|
-
"use strict";
|
|
12
|
-
const IBizPanelField = vue3Util.withInstall(panelField.PanelField, function(v) {
|
|
13
|
-
v.component(panelField.PanelField.name, panelField.PanelField);
|
|
14
|
-
runtime.registerPanelItemProvider("FIELD", () => new panelField_provider.PanelFieldProvider());
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
exports.PanelFieldProvider = panelField_provider.PanelFieldProvider;
|
|
18
|
-
exports.PanelFieldController = panelField_controller.PanelFieldController;
|
|
19
|
-
exports.IBizPanelField = IBizPanelField;
|
|
20
|
-
exports.default = IBizPanelField;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var panelField_controller = require('./panel-field.controller.cjs');
|
|
6
|
-
require('./panel-field.css');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
const PanelField = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
name: "IBizPanelField",
|
|
11
|
-
props: {
|
|
12
|
-
modelData: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
controller: {
|
|
17
|
-
type: panelField_controller.PanelFieldController,
|
|
18
|
-
required: true
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(props) {
|
|
22
|
-
const ns = vue3Util.useNamespace("panel-field");
|
|
23
|
-
const classArr = vue.computed(() => {
|
|
24
|
-
const {
|
|
25
|
-
id
|
|
26
|
-
} = props.modelData;
|
|
27
|
-
const result = [ns.b(), ns.m(id)];
|
|
28
|
-
result.push(...props.controller.containerClass);
|
|
29
|
-
return result;
|
|
30
|
-
});
|
|
31
|
-
const onValueChange = (val, name) => {
|
|
32
|
-
props.controller.setDataValue(val, name);
|
|
33
|
-
};
|
|
34
|
-
return {
|
|
35
|
-
ns,
|
|
36
|
-
classArr,
|
|
37
|
-
onValueChange
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
render() {
|
|
41
|
-
let editor = null;
|
|
42
|
-
if (this.controller.data) {
|
|
43
|
-
const editorProps = {
|
|
44
|
-
value: this.controller.value,
|
|
45
|
-
data: this.controller.data,
|
|
46
|
-
controller: this.controller.editor,
|
|
47
|
-
disabled: this.controller.state.disabled,
|
|
48
|
-
class: this.ns.b("content"),
|
|
49
|
-
readonly: this.controller.model.editor.readOnly,
|
|
50
|
-
onChange: this.onValueChange
|
|
51
|
-
};
|
|
52
|
-
if (this.$slots.default) {
|
|
53
|
-
editor = this.$slots.default(editorProps);
|
|
54
|
-
} else if (this.controller.editorProvider) {
|
|
55
|
-
const component = vue.resolveComponent(this.controller.editorProvider.formEditor);
|
|
56
|
-
editor = vue.h(component, {
|
|
57
|
-
...editorProps
|
|
58
|
-
});
|
|
59
|
-
} else {
|
|
60
|
-
editor = vue.createVNode(vue.resolveComponent("not-supported-editor"), {
|
|
61
|
-
"modelData": this.modelData.editor
|
|
62
|
-
}, null);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return vue.createVNode("div", {
|
|
66
|
-
"class": this.classArr,
|
|
67
|
-
"onClick": () => {
|
|
68
|
-
this.controller.onClick();
|
|
69
|
-
}
|
|
70
|
-
}, [editor]);
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
exports.PanelField = PanelField;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
var panelField_state = require('./panel-field.state.cjs');
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
var __defProp = Object.defineProperty;
|
|
8
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
-
var __publicField = (obj, key, value) => {
|
|
10
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
|
-
return value;
|
|
12
|
-
};
|
|
13
|
-
class PanelFieldController extends runtime.PanelItemController {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
__publicField(this, "unitName");
|
|
17
|
-
/**
|
|
18
|
-
* 编辑器控制器
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-08-24 20:08:42
|
|
22
|
-
* @type {IEditorController}
|
|
23
|
-
*/
|
|
24
|
-
__publicField(this, "editor");
|
|
25
|
-
/**
|
|
26
|
-
* 编辑器适配器
|
|
27
|
-
*
|
|
28
|
-
* @author lxm
|
|
29
|
-
* @date 2022-08-24 20:08:42
|
|
30
|
-
*/
|
|
31
|
-
__publicField(this, "editorProvider");
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* 值格式化
|
|
35
|
-
* @author lxm
|
|
36
|
-
* @date 2023-05-24 05:46:56
|
|
37
|
-
* @readonly
|
|
38
|
-
* @type {(string | undefined)}
|
|
39
|
-
*/
|
|
40
|
-
get valueFormat() {
|
|
41
|
-
return this.model.valueFormat;
|
|
42
|
-
}
|
|
43
|
-
get dataType() {
|
|
44
|
-
return void 0;
|
|
45
|
-
}
|
|
46
|
-
get context() {
|
|
47
|
-
return this.panel.context;
|
|
48
|
-
}
|
|
49
|
-
get params() {
|
|
50
|
-
return this.panel.params;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* 父容器数据对象数据
|
|
54
|
-
* @author lxm
|
|
55
|
-
* @date 2023-07-15 01:33:58
|
|
56
|
-
* @readonly
|
|
57
|
-
* @type {IData}
|
|
58
|
-
*/
|
|
59
|
-
get data() {
|
|
60
|
-
return this.dataParent.data;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* 面板属性成员的值
|
|
64
|
-
* @author lxm
|
|
65
|
-
* @date 2023-07-14 02:30:58
|
|
66
|
-
* @readonly
|
|
67
|
-
*/
|
|
68
|
-
get value() {
|
|
69
|
-
return this.data[this.model.id];
|
|
70
|
-
}
|
|
71
|
-
createState() {
|
|
72
|
-
var _a;
|
|
73
|
-
return new panelField_state.PanelFieldState((_a = this.parent) == null ? void 0 : _a.state);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* 初始化
|
|
77
|
-
*
|
|
78
|
-
* @author lxm
|
|
79
|
-
* @date 2022-08-24 20:08:42
|
|
80
|
-
* @protected
|
|
81
|
-
* @returns {*} {Promise<void>}
|
|
82
|
-
*/
|
|
83
|
-
async onInit() {
|
|
84
|
-
await super.onInit();
|
|
85
|
-
this.state.required = !this.model.allowEmpty;
|
|
86
|
-
if (this.model.editor && this.model.editor.editorType !== "HIDDEN") {
|
|
87
|
-
this.editorProvider = await runtime.getEditorProvider(this.model.editor);
|
|
88
|
-
if (this.editorProvider) {
|
|
89
|
-
this.editor = await this.editorProvider.createController(
|
|
90
|
-
this.model.editor,
|
|
91
|
-
this
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* 设置面板数据的值
|
|
98
|
-
*
|
|
99
|
-
* @author lxm
|
|
100
|
-
* @date 2022-08-24 10:08:40
|
|
101
|
-
* @param {unknown} value 要设置的值
|
|
102
|
-
* @param {string} name 要设置的面板数据的属性名称
|
|
103
|
-
*/
|
|
104
|
-
async setDataValue(value, name) {
|
|
105
|
-
const { id } = this.model;
|
|
106
|
-
name = name || id;
|
|
107
|
-
if (this.dataParent.setDataValue) {
|
|
108
|
-
await this.dataParent.setDataValue(name, value);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
exports.PanelFieldController = PanelFieldController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-field{--ibiz-form-item-label-color:var(--ibiz-color-text-1);--ibiz-form-item-text-color:var(--ibiz-color-text-2);--ibiz-form-item-hover-color:var(--ibiz-color-text-0);--ibiz-form-item-hover-bg-color:var(--ibiz-color-fill-1);--ibiz-form-item-readonly-color:var(--ibiz-color-disabled-text);--ibiz-form-item-border-color:transparent;--ibiz-form-item-font-size:var(--ibiz-font-size-regular);--ibiz-form-item-placeholder-color:var(--ibiz-color-text-3);--ibiz-form-item-disabled-color:var(--ibiz-color-disabled-text);--ibiz-form-item-disabled-bg-color:var(--ibiz-color-disabled-fill);--ibiz-form-item-disabled-border-color:var(--ibiz-color-disabled-border);--ibiz-form-item-active-bg:var(--ibiz-color-fill-2);--ibiz-form-item-active-border:var(--ibiz-active-bg);--ibiz-form-item-focus-bg:var(--ibiz-color-fill-0);--ibiz-form-item-focus-border:var(--ibiz-color-focus-border);--ibiz-form-item-line-height:var(--ibiz-editor-default-line-height);--ibiz-form-item-font-weight:var(--ibiz-font-weight-regular);width:100%;height:100%}.ibiz-panel-field .ibiz-panel-field-content{line-height:inherit}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var panelField_controller = require('./panel-field.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class PanelFieldProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizPanelField");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new panelField_controller.PanelFieldController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.PanelFieldProvider = PanelFieldProvider;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('@ibiz-template/runtime');
|
|
6
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
7
|
-
var panelRawitem = require('./panel-rawitem.cjs');
|
|
8
|
-
var panelRawitem_provider = require('./panel-rawitem.provider.cjs');
|
|
9
|
-
var panelRawitem_controller = require('./panel-rawitem.controller.cjs');
|
|
10
|
-
|
|
11
|
-
"use strict";
|
|
12
|
-
const IBizPanelRawItem = vue3Util.withInstall(panelRawitem.PanelRawItem, function(v) {
|
|
13
|
-
v.component(panelRawitem.PanelRawItem.name, panelRawitem.PanelRawItem);
|
|
14
|
-
runtime.registerPanelItemProvider("RAWITEM", () => new panelRawitem_provider.PanelRawItemProvider());
|
|
15
|
-
runtime.registerPanelItemProvider(
|
|
16
|
-
"RAWITEM_STATIC_IMAGE",
|
|
17
|
-
() => new panelRawitem_provider.PanelRawItemProvider()
|
|
18
|
-
);
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
exports.PanelRawItemProvider = panelRawitem_provider.PanelRawItemProvider;
|
|
22
|
-
exports.PanelRawItemController = panelRawitem_controller.PanelRawItemController;
|
|
23
|
-
exports.IBizPanelRawItem = IBizPanelRawItem;
|
|
24
|
-
exports.default = IBizPanelRawItem;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var panelRawitem_controller = require('./panel-rawitem.controller.cjs');
|
|
6
|
-
require('./panel-rawitem.css');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
const PanelRawItem = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
name: "IBizPanelRawItem",
|
|
11
|
-
props: {
|
|
12
|
-
modelData: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
controller: {
|
|
17
|
-
type: panelRawitem_controller.PanelRawItemController,
|
|
18
|
-
required: true
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(props) {
|
|
22
|
-
const ns = vue3Util.useNamespace("panel-rawitem");
|
|
23
|
-
const classArr = vue.computed(() => {
|
|
24
|
-
const {
|
|
25
|
-
id
|
|
26
|
-
} = props.modelData;
|
|
27
|
-
const result = [ns.b(), ns.m(id)];
|
|
28
|
-
result.push(...props.controller.containerClass);
|
|
29
|
-
return result;
|
|
30
|
-
});
|
|
31
|
-
return {
|
|
32
|
-
ns,
|
|
33
|
-
classArr
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
render() {
|
|
37
|
-
if (!this.controller.state.visible) {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
return vue.createVNode("div", {
|
|
41
|
-
"class": this.classArr,
|
|
42
|
-
"onClick": () => {
|
|
43
|
-
this.controller.onClick();
|
|
44
|
-
}
|
|
45
|
-
}, [vue.createVNode(vue.resolveComponent("iBizRawItem"), {
|
|
46
|
-
"rawItem": this.modelData
|
|
47
|
-
}, null)]);
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
exports.PanelRawItem = PanelRawItem;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
class PanelRawItemController extends runtime.PanelItemController {
|
|
7
|
-
/**
|
|
8
|
-
* 父容器数据对象数据
|
|
9
|
-
* @author lxm
|
|
10
|
-
* @date 2023-07-15 01:33:58
|
|
11
|
-
* @readonly
|
|
12
|
-
* @type {IData}
|
|
13
|
-
*/
|
|
14
|
-
get data() {
|
|
15
|
-
return this.dataParent.data;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* 初始化
|
|
19
|
-
*
|
|
20
|
-
* @author lxm
|
|
21
|
-
* @date 2022-08-24 20:08:42
|
|
22
|
-
* @protected
|
|
23
|
-
* @returns {*} {Promise<void>}
|
|
24
|
-
*/
|
|
25
|
-
async onInit() {
|
|
26
|
-
await super.onInit();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
exports.PanelRawItemController = PanelRawItemController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-rawitem{width:100%;height:100%}.ibiz-panel-rawitem .ibiz-panel-rawitem-content{width:100%}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var panelRawitem_controller = require('./panel-rawitem.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class PanelRawItemProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizPanelRawItem");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new panelRawitem_controller.PanelRawItemController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.PanelRawItemProvider = PanelRawItemProvider;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var runtime = require('@ibiz-template/runtime');
|
|
6
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
7
|
-
var scrollContainerItem = require('./scroll-container-item/scroll-container-item.cjs');
|
|
8
|
-
var scrollContainerItem_provider = require('./scroll-container-item/scroll-container-item.provider.cjs');
|
|
9
|
-
var scrollContainer = require('./scroll-container/scroll-container.cjs');
|
|
10
|
-
var scrollContainer_provider = require('./scroll-container/scroll-container.provider.cjs');
|
|
11
|
-
require('./scroll-container/index.cjs');
|
|
12
|
-
require('./scroll-container-item/index.cjs');
|
|
13
|
-
var scrollContainer_controller = require('./scroll-container/scroll-container.controller.cjs');
|
|
14
|
-
var scrollContainerItem_controller = require('./scroll-container-item/scroll-container-item.controller.cjs');
|
|
15
|
-
|
|
16
|
-
"use strict";
|
|
17
|
-
const IBizScrollContainer = vue3Util.withInstall(
|
|
18
|
-
scrollContainer.ScrollContainer,
|
|
19
|
-
function(v) {
|
|
20
|
-
v.component(scrollContainer.ScrollContainer.name, scrollContainer.ScrollContainer);
|
|
21
|
-
v.component(scrollContainerItem.ScrollContainerItem.name, scrollContainerItem.ScrollContainerItem);
|
|
22
|
-
runtime.registerPanelItemProvider(
|
|
23
|
-
"CONTAINER_CONTAINER_SCROLL",
|
|
24
|
-
() => new scrollContainer_provider.ScrollContainerProvider()
|
|
25
|
-
);
|
|
26
|
-
runtime.registerPanelItemProvider(
|
|
27
|
-
"CONTAINER_CONTAINER_SCROLL_LEFT",
|
|
28
|
-
() => new scrollContainerItem_provider.ScrollContainerItemProvider()
|
|
29
|
-
);
|
|
30
|
-
runtime.registerPanelItemProvider(
|
|
31
|
-
"CONTAINER_CONTAINER_SCROLL_HEADER",
|
|
32
|
-
() => new scrollContainerItem_provider.ScrollContainerItemProvider()
|
|
33
|
-
);
|
|
34
|
-
runtime.registerPanelItemProvider(
|
|
35
|
-
"CONTAINER_CONTAINER_SCROLL_RIGHT",
|
|
36
|
-
() => new scrollContainerItem_provider.ScrollContainerItemProvider()
|
|
37
|
-
);
|
|
38
|
-
runtime.registerPanelItemProvider(
|
|
39
|
-
"CONTAINER_CONTAINER_SCROLL_BOTTOM",
|
|
40
|
-
() => new scrollContainerItem_provider.ScrollContainerItemProvider()
|
|
41
|
-
);
|
|
42
|
-
runtime.registerPanelItemProvider(
|
|
43
|
-
"CONTAINER_CONTAINER_SCROLL_MAIN",
|
|
44
|
-
() => new scrollContainerItem_provider.ScrollContainerItemProvider()
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
exports.ScrollContainerItem = scrollContainerItem.ScrollContainerItem;
|
|
50
|
-
exports.ScrollContainerItemProvider = scrollContainerItem_provider.ScrollContainerItemProvider;
|
|
51
|
-
exports.ScrollContainer = scrollContainer.ScrollContainer;
|
|
52
|
-
exports.ScrollContainerProvider = scrollContainer_provider.ScrollContainerProvider;
|
|
53
|
-
exports.ScrollContainerController = scrollContainer_controller.ScrollContainerController;
|
|
54
|
-
exports.ScrollContainerItemController = scrollContainerItem_controller.ScrollContainerItemController;
|
|
55
|
-
exports.IBizScrollContainer = IBizScrollContainer;
|
|
56
|
-
exports.default = IBizScrollContainer;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var scrollContainer_provider = require('./scroll-container.provider.cjs');
|
|
4
|
-
var scrollContainer_controller = require('./scroll-container.controller.cjs');
|
|
5
|
-
var scrollContainer = require('./scroll-container.cjs');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
|
|
9
|
-
exports.ScrollContainerProvider = scrollContainer_provider.ScrollContainerProvider;
|
|
10
|
-
exports.ScrollContainerController = scrollContainer_controller.ScrollContainerController;
|
|
11
|
-
exports.ScrollContainer = scrollContainer.ScrollContainer;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var scrollContainer_controller = require('./scroll-container.controller.cjs');
|
|
6
|
-
require('./scroll-container.css');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
const ScrollContainer = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
name: "IBizScrollContainer",
|
|
11
|
-
props: {
|
|
12
|
-
modelData: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
controller: {
|
|
17
|
-
type: scrollContainer_controller.ScrollContainerController,
|
|
18
|
-
required: true
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(props) {
|
|
22
|
-
const ns = vue3Util.useNamespace("scroll-container");
|
|
23
|
-
const {
|
|
24
|
-
id
|
|
25
|
-
} = props.modelData;
|
|
26
|
-
const classArr = vue.computed(() => {
|
|
27
|
-
const result = [ns.b(), ns.m(id), ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
28
|
-
return result;
|
|
29
|
-
});
|
|
30
|
-
return {
|
|
31
|
-
ns,
|
|
32
|
-
classArr
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
render() {
|
|
36
|
-
var _a, _b;
|
|
37
|
-
let left = null;
|
|
38
|
-
let top = null;
|
|
39
|
-
let right = null;
|
|
40
|
-
let bottom = null;
|
|
41
|
-
let center = null;
|
|
42
|
-
const slotStylle = {};
|
|
43
|
-
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
44
|
-
defaultSlots.forEach((slot) => {
|
|
45
|
-
const props = slot.props;
|
|
46
|
-
if (!props || !props.controller) {
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
const {
|
|
50
|
-
width,
|
|
51
|
-
height
|
|
52
|
-
} = props.controller.state.layout;
|
|
53
|
-
switch (props.modelData.layoutPos.layoutPos) {
|
|
54
|
-
case "WEST":
|
|
55
|
-
left = slot;
|
|
56
|
-
slotStylle.left = {
|
|
57
|
-
width
|
|
58
|
-
};
|
|
59
|
-
break;
|
|
60
|
-
case "EAST":
|
|
61
|
-
right = slot;
|
|
62
|
-
slotStylle.right = {
|
|
63
|
-
width
|
|
64
|
-
};
|
|
65
|
-
break;
|
|
66
|
-
case "NORTH":
|
|
67
|
-
top = slot;
|
|
68
|
-
slotStylle.top = {
|
|
69
|
-
height
|
|
70
|
-
};
|
|
71
|
-
break;
|
|
72
|
-
case "SOUTH":
|
|
73
|
-
bottom = slot;
|
|
74
|
-
slotStylle.bottom = {
|
|
75
|
-
height
|
|
76
|
-
};
|
|
77
|
-
break;
|
|
78
|
-
case "CENTER":
|
|
79
|
-
center = slot;
|
|
80
|
-
break;
|
|
81
|
-
default:
|
|
82
|
-
ibiz.log.debug(`\u672A\u9002\u914D\u7684\u5E03\u5C40\u5360\u4F4D${props.modelData.layoutPos.layoutPos}`);
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
for (const key in slotStylle) {
|
|
87
|
-
if (slotStylle[key].width || slotStylle[key].height) {
|
|
88
|
-
slotStylle[key].flexShrink = 0;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return vue.createVNode("div", {
|
|
92
|
-
"class": this.classArr
|
|
93
|
-
}, [vue.createVNode("div", {
|
|
94
|
-
"class": [this.ns.e("header")],
|
|
95
|
-
"style": slotStylle.top
|
|
96
|
-
}, [top]), vue.createVNode("div", {
|
|
97
|
-
"class": [this.ns.b("content")]
|
|
98
|
-
}, [vue.createVNode("div", {
|
|
99
|
-
"class": this.ns.be("content", "left"),
|
|
100
|
-
"style": slotStylle.left
|
|
101
|
-
}, [left]), vue.createVNode("div", {
|
|
102
|
-
"class": this.ns.be("content", "center")
|
|
103
|
-
}, [center]), vue.createVNode("div", {
|
|
104
|
-
"class": this.ns.be("content", "right"),
|
|
105
|
-
"style": slotStylle.right
|
|
106
|
-
}, [right])]), vue.createVNode("div", {
|
|
107
|
-
"class": [this.ns.e("footer")],
|
|
108
|
-
"style": slotStylle.bottom
|
|
109
|
-
}, [bottom])]);
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
exports.ScrollContainer = ScrollContainer;
|
package/lib/panel-component/scroll-container/scroll-container/scroll-container.controller.cjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
class ScrollContainerController extends runtime.PanelItemController {
|
|
7
|
-
async onInit() {
|
|
8
|
-
await super.onInit();
|
|
9
|
-
this.state.layout.width = "100%";
|
|
10
|
-
this.state.layout.height = "100%";
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.ScrollContainerController = ScrollContainerController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-scroll-container{width:100%;height:100%;display:flex;flex-flow:column nowrap}.ibiz-scroll-container.is-hidden{display:none}.ibiz-scroll-container-content{flex-grow:1;overflow:auto;display:flex}.ibiz-scroll-container-content__center{flex-grow:1;overflow:auto}.ibiz-scroll-container-content__left{overflow:auto}.ibiz-scroll-container-content__right{overflow:auto}.ibiz-scroll-container-header{overflow:auto}.ibiz-scroll-container-footer{overflow:auto}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var scrollContainer_controller = require('./scroll-container.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class ScrollContainerProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizScrollContainer");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new scrollContainer_controller.ScrollContainerController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.ScrollContainerProvider = ScrollContainerProvider;
|