@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,44 +0,0 @@
|
|
|
1
|
-
import { inject, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import './panel-ctrl-pos.css';
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
const PanelCtrlPos = /* @__PURE__ */ defineComponent({
|
|
7
|
-
name: "IBizPanelCtrlPos",
|
|
8
|
-
props: {
|
|
9
|
-
modelData: {
|
|
10
|
-
type: Object,
|
|
11
|
-
required: true
|
|
12
|
-
},
|
|
13
|
-
controller: {
|
|
14
|
-
type: Object,
|
|
15
|
-
required: true
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(props) {
|
|
19
|
-
const ctx = inject("ctx");
|
|
20
|
-
ctx.evt.on("onRegister", (name, c) => {
|
|
21
|
-
if (name === props.modelData.id) {
|
|
22
|
-
props.controller.bindControl(c);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const ns = useNamespace("panel-ctrl-pos");
|
|
26
|
-
return {
|
|
27
|
-
ns
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
render() {
|
|
31
|
-
const {
|
|
32
|
-
state
|
|
33
|
-
} = this.controller;
|
|
34
|
-
let content;
|
|
35
|
-
if (this.$slots.default) {
|
|
36
|
-
content = this.$slots.default();
|
|
37
|
-
}
|
|
38
|
-
return createVNode("div", {
|
|
39
|
-
"class": [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass, this.ns.is("hidden", !state.visible)]
|
|
40
|
-
}, [content || (ibiz.env.dev ? `\u672A\u63D0\u4F9B${this.modelData.id}\u63D2\u69FD` : "")]);
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
export { PanelCtrlPos };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelCtrlPos } from '@ibiz/model-core';
|
|
3
|
-
import { PanelCtrlPosController } from './panel-ctrl-pos.controller';
|
|
4
|
-
/**
|
|
5
|
-
* 面板控件占位适配器
|
|
6
|
-
*
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2022-09-19 22:09:03
|
|
9
|
-
* @export
|
|
10
|
-
* @class PanelCtrlPosProvider
|
|
11
|
-
* @implements {EditorProvider}
|
|
12
|
-
*/
|
|
13
|
-
export declare class PanelCtrlPosProvider implements IPanelItemProvider {
|
|
14
|
-
component: string;
|
|
15
|
-
createController(panelItem: IPanelCtrlPos, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelCtrlPosController>;
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PanelCtrlPosController } from './panel-ctrl-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 PanelCtrlPosProvider {
|
|
11
|
-
constructor() {
|
|
12
|
-
__publicField(this, "component", "IBizPanelCtrlPos");
|
|
13
|
-
}
|
|
14
|
-
async createController(panelItem, panel, parent) {
|
|
15
|
-
const c = new PanelCtrlPosController(panelItem, panel, parent);
|
|
16
|
-
await c.init();
|
|
17
|
-
return c;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { PanelCtrlPosProvider };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export * from './panel-field.provider';
|
|
2
|
-
export * from './panel-field.controller';
|
|
3
|
-
export declare const IBizPanelField: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
-
modelData: {
|
|
5
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelField>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
controller: {
|
|
9
|
-
type: typeof import("./panel-field.controller").PanelFieldController;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
14
|
-
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
15
|
-
onValueChange: (val: unknown, name?: string | undefined) => void;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
modelData: {
|
|
18
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelField>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
controller: {
|
|
22
|
-
type: typeof import("./panel-field.controller").PanelFieldController;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
}>>, {}, {}>>;
|
|
26
|
-
export default IBizPanelField;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
-
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { PanelField } from './panel-field.mjs';
|
|
4
|
-
import { PanelFieldProvider } from './panel-field.provider.mjs';
|
|
5
|
-
export { PanelFieldController } from './panel-field.controller.mjs';
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const IBizPanelField = withInstall(PanelField, function(v) {
|
|
9
|
-
v.component(PanelField.name, PanelField);
|
|
10
|
-
registerPanelItemProvider("FIELD", () => new PanelFieldProvider());
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
export { IBizPanelField, PanelFieldProvider, IBizPanelField as default };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { IEditorContainerController, IEditorController, IEditorProvider, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelField } from '@ibiz/model-core';
|
|
3
|
-
import { PanelFieldState } from './panel-field.state';
|
|
4
|
-
/**
|
|
5
|
-
* 面板按钮控制器
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @class PanelFieldController
|
|
9
|
-
* @extends {PanelItemController<IPanelField>}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelFieldController extends PanelItemController<IPanelField> implements IEditorContainerController {
|
|
12
|
-
state: PanelFieldState;
|
|
13
|
-
unitName: string | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* 值格式化
|
|
16
|
-
* @author lxm
|
|
17
|
-
* @date 2023-05-24 05:46:56
|
|
18
|
-
* @readonly
|
|
19
|
-
* @type {(string | undefined)}
|
|
20
|
-
*/
|
|
21
|
-
get valueFormat(): string | undefined;
|
|
22
|
-
get dataType(): number | undefined;
|
|
23
|
-
get context(): IContext;
|
|
24
|
-
get params(): IParams;
|
|
25
|
-
/**
|
|
26
|
-
* 父容器数据对象数据
|
|
27
|
-
* @author lxm
|
|
28
|
-
* @date 2023-07-15 01:33:58
|
|
29
|
-
* @readonly
|
|
30
|
-
* @type {IData}
|
|
31
|
-
*/
|
|
32
|
-
get data(): IData;
|
|
33
|
-
/**
|
|
34
|
-
* 面板属性成员的值
|
|
35
|
-
* @author lxm
|
|
36
|
-
* @date 2023-07-14 02:30:58
|
|
37
|
-
* @readonly
|
|
38
|
-
*/
|
|
39
|
-
get value(): string | number;
|
|
40
|
-
/**
|
|
41
|
-
* 编辑器控制器
|
|
42
|
-
*
|
|
43
|
-
* @author lxm
|
|
44
|
-
* @date 2022-08-24 20:08:42
|
|
45
|
-
* @type {IEditorController}
|
|
46
|
-
*/
|
|
47
|
-
editor?: IEditorController;
|
|
48
|
-
/**
|
|
49
|
-
* 编辑器适配器
|
|
50
|
-
*
|
|
51
|
-
* @author lxm
|
|
52
|
-
* @date 2022-08-24 20:08:42
|
|
53
|
-
*/
|
|
54
|
-
editorProvider?: IEditorProvider;
|
|
55
|
-
protected createState(): PanelFieldState;
|
|
56
|
-
/**
|
|
57
|
-
* 初始化
|
|
58
|
-
*
|
|
59
|
-
* @author lxm
|
|
60
|
-
* @date 2022-08-24 20:08:42
|
|
61
|
-
* @protected
|
|
62
|
-
* @returns {*} {Promise<void>}
|
|
63
|
-
*/
|
|
64
|
-
protected onInit(): Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* 设置面板数据的值
|
|
67
|
-
*
|
|
68
|
-
* @author lxm
|
|
69
|
-
* @date 2022-08-24 10:08:40
|
|
70
|
-
* @param {unknown} value 要设置的值
|
|
71
|
-
* @param {string} name 要设置的面板数据的属性名称
|
|
72
|
-
*/
|
|
73
|
-
setDataValue(value: unknown, name?: string): Promise<void>;
|
|
74
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { PanelItemController, getEditorProvider } from '@ibiz-template/runtime';
|
|
2
|
-
import { PanelFieldState } from './panel-field.state.mjs';
|
|
3
|
-
|
|
4
|
-
"use strict";
|
|
5
|
-
var __defProp = Object.defineProperty;
|
|
6
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
-
var __publicField = (obj, key, value) => {
|
|
8
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
-
return value;
|
|
10
|
-
};
|
|
11
|
-
class PanelFieldController extends PanelItemController {
|
|
12
|
-
constructor() {
|
|
13
|
-
super(...arguments);
|
|
14
|
-
__publicField(this, "unitName");
|
|
15
|
-
/**
|
|
16
|
-
* 编辑器控制器
|
|
17
|
-
*
|
|
18
|
-
* @author lxm
|
|
19
|
-
* @date 2022-08-24 20:08:42
|
|
20
|
-
* @type {IEditorController}
|
|
21
|
-
*/
|
|
22
|
-
__publicField(this, "editor");
|
|
23
|
-
/**
|
|
24
|
-
* 编辑器适配器
|
|
25
|
-
*
|
|
26
|
-
* @author lxm
|
|
27
|
-
* @date 2022-08-24 20:08:42
|
|
28
|
-
*/
|
|
29
|
-
__publicField(this, "editorProvider");
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* 值格式化
|
|
33
|
-
* @author lxm
|
|
34
|
-
* @date 2023-05-24 05:46:56
|
|
35
|
-
* @readonly
|
|
36
|
-
* @type {(string | undefined)}
|
|
37
|
-
*/
|
|
38
|
-
get valueFormat() {
|
|
39
|
-
return this.model.valueFormat;
|
|
40
|
-
}
|
|
41
|
-
get dataType() {
|
|
42
|
-
return void 0;
|
|
43
|
-
}
|
|
44
|
-
get context() {
|
|
45
|
-
return this.panel.context;
|
|
46
|
-
}
|
|
47
|
-
get params() {
|
|
48
|
-
return this.panel.params;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* 父容器数据对象数据
|
|
52
|
-
* @author lxm
|
|
53
|
-
* @date 2023-07-15 01:33:58
|
|
54
|
-
* @readonly
|
|
55
|
-
* @type {IData}
|
|
56
|
-
*/
|
|
57
|
-
get data() {
|
|
58
|
-
return this.dataParent.data;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* 面板属性成员的值
|
|
62
|
-
* @author lxm
|
|
63
|
-
* @date 2023-07-14 02:30:58
|
|
64
|
-
* @readonly
|
|
65
|
-
*/
|
|
66
|
-
get value() {
|
|
67
|
-
return this.data[this.model.id];
|
|
68
|
-
}
|
|
69
|
-
createState() {
|
|
70
|
-
var _a;
|
|
71
|
-
return new PanelFieldState((_a = this.parent) == null ? void 0 : _a.state);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* 初始化
|
|
75
|
-
*
|
|
76
|
-
* @author lxm
|
|
77
|
-
* @date 2022-08-24 20:08:42
|
|
78
|
-
* @protected
|
|
79
|
-
* @returns {*} {Promise<void>}
|
|
80
|
-
*/
|
|
81
|
-
async onInit() {
|
|
82
|
-
await super.onInit();
|
|
83
|
-
this.state.required = !this.model.allowEmpty;
|
|
84
|
-
if (this.model.editor && this.model.editor.editorType !== "HIDDEN") {
|
|
85
|
-
this.editorProvider = await getEditorProvider(this.model.editor);
|
|
86
|
-
if (this.editorProvider) {
|
|
87
|
-
this.editor = await this.editorProvider.createController(
|
|
88
|
-
this.model.editor,
|
|
89
|
-
this
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* 设置面板数据的值
|
|
96
|
-
*
|
|
97
|
-
* @author lxm
|
|
98
|
-
* @date 2022-08-24 10:08:40
|
|
99
|
-
* @param {unknown} value 要设置的值
|
|
100
|
-
* @param {string} name 要设置的面板数据的属性名称
|
|
101
|
-
*/
|
|
102
|
-
async setDataValue(value, name) {
|
|
103
|
-
const { id } = this.model;
|
|
104
|
-
name = name || id;
|
|
105
|
-
if (this.dataParent.setDataValue) {
|
|
106
|
-
await this.dataParent.setDataValue(name, value);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export { 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,27 +0,0 @@
|
|
|
1
|
-
import { IPanelField } from '@ibiz/model-core';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { PanelFieldController } from './panel-field.controller';
|
|
4
|
-
import './panel-field.scss';
|
|
5
|
-
export declare const PanelField: import("vue").DefineComponent<{
|
|
6
|
-
modelData: {
|
|
7
|
-
type: PropType<IPanelField>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
controller: {
|
|
11
|
-
type: typeof PanelFieldController;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
-
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
|
-
onValueChange: (val: unknown, name?: string) => void;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
modelData: {
|
|
20
|
-
type: PropType<IPanelField>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
controller: {
|
|
24
|
-
type: typeof PanelFieldController;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
}>>, {}, {}>;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { computed, resolveComponent, h, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { PanelFieldController } from './panel-field.controller.mjs';
|
|
4
|
-
import './panel-field.css';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
const PanelField = /* @__PURE__ */ defineComponent({
|
|
8
|
-
name: "IBizPanelField",
|
|
9
|
-
props: {
|
|
10
|
-
modelData: {
|
|
11
|
-
type: Object,
|
|
12
|
-
required: true
|
|
13
|
-
},
|
|
14
|
-
controller: {
|
|
15
|
-
type: PanelFieldController,
|
|
16
|
-
required: true
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setup(props) {
|
|
20
|
-
const ns = useNamespace("panel-field");
|
|
21
|
-
const classArr = computed(() => {
|
|
22
|
-
const {
|
|
23
|
-
id
|
|
24
|
-
} = props.modelData;
|
|
25
|
-
const result = [ns.b(), ns.m(id)];
|
|
26
|
-
result.push(...props.controller.containerClass);
|
|
27
|
-
return result;
|
|
28
|
-
});
|
|
29
|
-
const onValueChange = (val, name) => {
|
|
30
|
-
props.controller.setDataValue(val, name);
|
|
31
|
-
};
|
|
32
|
-
return {
|
|
33
|
-
ns,
|
|
34
|
-
classArr,
|
|
35
|
-
onValueChange
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
render() {
|
|
39
|
-
let editor = null;
|
|
40
|
-
if (this.controller.data) {
|
|
41
|
-
const editorProps = {
|
|
42
|
-
value: this.controller.value,
|
|
43
|
-
data: this.controller.data,
|
|
44
|
-
controller: this.controller.editor,
|
|
45
|
-
disabled: this.controller.state.disabled,
|
|
46
|
-
class: this.ns.b("content"),
|
|
47
|
-
readonly: this.controller.model.editor.readOnly,
|
|
48
|
-
onChange: this.onValueChange
|
|
49
|
-
};
|
|
50
|
-
if (this.$slots.default) {
|
|
51
|
-
editor = this.$slots.default(editorProps);
|
|
52
|
-
} else if (this.controller.editorProvider) {
|
|
53
|
-
const component = resolveComponent(this.controller.editorProvider.formEditor);
|
|
54
|
-
editor = h(component, {
|
|
55
|
-
...editorProps
|
|
56
|
-
});
|
|
57
|
-
} else {
|
|
58
|
-
editor = createVNode(resolveComponent("not-supported-editor"), {
|
|
59
|
-
"modelData": this.modelData.editor
|
|
60
|
-
}, null);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return createVNode("div", {
|
|
64
|
-
"class": this.classArr,
|
|
65
|
-
"onClick": () => {
|
|
66
|
-
this.controller.onClick();
|
|
67
|
-
}
|
|
68
|
-
}, [editor]);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
export { PanelField };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
-
import { PanelFieldController } from './panel-field.controller';
|
|
4
|
-
/**
|
|
5
|
-
* 面板属性适配器
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @class PanelFieldProvider
|
|
9
|
-
* @implements {IPanelItemProvider}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelFieldProvider implements IPanelItemProvider {
|
|
12
|
-
component: string;
|
|
13
|
-
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelFieldController>;
|
|
14
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PanelFieldController } from './panel-field.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 PanelFieldProvider {
|
|
11
|
-
constructor() {
|
|
12
|
-
__publicField(this, "component", "IBizPanelField");
|
|
13
|
-
}
|
|
14
|
-
async createController(panelItem, panel, parent) {
|
|
15
|
-
const c = new PanelFieldController(panelItem, panel, parent);
|
|
16
|
-
await c.init();
|
|
17
|
-
return c;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { PanelFieldProvider };
|
|
@@ -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 PanelFieldState
|
|
9
|
-
* @extends {PanelItemState}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelFieldState extends PanelItemState {
|
|
12
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export * from './panel-rawitem.provider';
|
|
2
|
-
export * from './panel-rawitem.controller';
|
|
3
|
-
export declare const IBizPanelRawItem: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
-
modelData: {
|
|
5
|
-
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
controller: {
|
|
9
|
-
type: typeof import("./panel-rawitem.controller").PanelRawItemController;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}, {
|
|
13
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
14
|
-
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
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").IPanelRawItem>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
controller: {
|
|
21
|
-
type: typeof import("./panel-rawitem.controller").PanelRawItemController;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
}>>, {}, {}>>;
|
|
25
|
-
export default IBizPanelRawItem;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
|
-
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { PanelRawItem } from './panel-rawitem.mjs';
|
|
4
|
-
import { PanelRawItemProvider } from './panel-rawitem.provider.mjs';
|
|
5
|
-
export { PanelRawItemController } from './panel-rawitem.controller.mjs';
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const IBizPanelRawItem = withInstall(PanelRawItem, function(v) {
|
|
9
|
-
v.component(PanelRawItem.name, PanelRawItem);
|
|
10
|
-
registerPanelItemProvider("RAWITEM", () => new PanelRawItemProvider());
|
|
11
|
-
registerPanelItemProvider(
|
|
12
|
-
"RAWITEM_STATIC_IMAGE",
|
|
13
|
-
() => new PanelRawItemProvider()
|
|
14
|
-
);
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
export { IBizPanelRawItem, PanelRawItemProvider, IBizPanelRawItem as default };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IPanelRawItem } from '@ibiz/model-core';
|
|
2
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
3
|
-
/**
|
|
4
|
-
* 面板按钮控制器
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @class PanelRawItemController
|
|
8
|
-
* @extends {PanelItemController<IPanelRawItem>}
|
|
9
|
-
*/
|
|
10
|
-
export declare class PanelRawItemController extends PanelItemController<IPanelRawItem> {
|
|
11
|
-
/**
|
|
12
|
-
* 父容器数据对象数据
|
|
13
|
-
* @author lxm
|
|
14
|
-
* @date 2023-07-15 01:33:58
|
|
15
|
-
* @readonly
|
|
16
|
-
* @type {IData}
|
|
17
|
-
*/
|
|
18
|
-
get data(): IData;
|
|
19
|
-
/**
|
|
20
|
-
* 初始化
|
|
21
|
-
*
|
|
22
|
-
* @author lxm
|
|
23
|
-
* @date 2022-08-24 20:08:42
|
|
24
|
-
* @protected
|
|
25
|
-
* @returns {*} {Promise<void>}
|
|
26
|
-
*/
|
|
27
|
-
protected onInit(): Promise<void>;
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
class PanelRawItemController extends PanelItemController {
|
|
5
|
-
/**
|
|
6
|
-
* 父容器数据对象数据
|
|
7
|
-
* @author lxm
|
|
8
|
-
* @date 2023-07-15 01:33:58
|
|
9
|
-
* @readonly
|
|
10
|
-
* @type {IData}
|
|
11
|
-
*/
|
|
12
|
-
get data() {
|
|
13
|
-
return this.dataParent.data;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 初始化
|
|
17
|
-
*
|
|
18
|
-
* @author lxm
|
|
19
|
-
* @date 2022-08-24 20:08:42
|
|
20
|
-
* @protected
|
|
21
|
-
* @returns {*} {Promise<void>}
|
|
22
|
-
*/
|
|
23
|
-
async onInit() {
|
|
24
|
-
await super.onInit();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export { PanelRawItemController };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-panel-rawitem{width:100%;height:100%}.ibiz-panel-rawitem .ibiz-panel-rawitem-content{width:100%}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IPanelRawItem } from '@ibiz/model-core';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { PanelRawItemController } from './panel-rawitem.controller';
|
|
4
|
-
import './panel-rawitem.scss';
|
|
5
|
-
export declare const PanelRawItem: import("vue").DefineComponent<{
|
|
6
|
-
modelData: {
|
|
7
|
-
type: PropType<IPanelRawItem>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
controller: {
|
|
11
|
-
type: typeof PanelRawItemController;
|
|
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<IPanelRawItem>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
controller: {
|
|
23
|
-
type: typeof PanelRawItemController;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
}>>, {}, {}>;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { computed, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { PanelRawItemController } from './panel-rawitem.controller.mjs';
|
|
4
|
-
import './panel-rawitem.css';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
const PanelRawItem = /* @__PURE__ */ defineComponent({
|
|
8
|
-
name: "IBizPanelRawItem",
|
|
9
|
-
props: {
|
|
10
|
-
modelData: {
|
|
11
|
-
type: Object,
|
|
12
|
-
required: true
|
|
13
|
-
},
|
|
14
|
-
controller: {
|
|
15
|
-
type: PanelRawItemController,
|
|
16
|
-
required: true
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setup(props) {
|
|
20
|
-
const ns = useNamespace("panel-rawitem");
|
|
21
|
-
const classArr = computed(() => {
|
|
22
|
-
const {
|
|
23
|
-
id
|
|
24
|
-
} = props.modelData;
|
|
25
|
-
const result = [ns.b(), ns.m(id)];
|
|
26
|
-
result.push(...props.controller.containerClass);
|
|
27
|
-
return result;
|
|
28
|
-
});
|
|
29
|
-
return {
|
|
30
|
-
ns,
|
|
31
|
-
classArr
|
|
32
|
-
};
|
|
33
|
-
},
|
|
34
|
-
render() {
|
|
35
|
-
if (!this.controller.state.visible) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
return createVNode("div", {
|
|
39
|
-
"class": this.classArr,
|
|
40
|
-
"onClick": () => {
|
|
41
|
-
this.controller.onClick();
|
|
42
|
-
}
|
|
43
|
-
}, [createVNode(resolveComponent("iBizRawItem"), {
|
|
44
|
-
"rawItem": this.modelData
|
|
45
|
-
}, null)]);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
export { PanelRawItem };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IPanelItemProvider, PanelController, PanelItemController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IPanelItem } from '@ibiz/model-core';
|
|
3
|
-
import { PanelRawItemController } from './panel-rawitem.controller';
|
|
4
|
-
/**
|
|
5
|
-
* 面板属性适配器
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @class PanelRawItemProvider
|
|
9
|
-
* @implements {IPanelItemProvider}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelRawItemProvider implements IPanelItemProvider {
|
|
12
|
-
component: string;
|
|
13
|
-
createController(panelItem: IPanelItem, panel: PanelController, parent: PanelItemController | undefined): Promise<PanelRawItemController>;
|
|
14
|
-
}
|