@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,27 +0,0 @@
|
|
|
1
|
-
import { onUnmounted, onMounted, createTextVNode, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { IBizContext } from '@ibiz-template/core';
|
|
3
|
-
import { toLocalOpenWFRedirectView } from '@ibiz-template/runtime';
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
const AppRedirectView = /* @__PURE__ */ defineComponent({
|
|
7
|
-
setup() {
|
|
8
|
-
var _a;
|
|
9
|
-
const context = IBizContext.create(((_a = ibiz.appData) == null ? void 0 : _a.context) || {});
|
|
10
|
-
onUnmounted(() => {
|
|
11
|
-
context.destroy();
|
|
12
|
-
});
|
|
13
|
-
const {
|
|
14
|
-
href
|
|
15
|
-
} = window.location;
|
|
16
|
-
async function toRedirect() {
|
|
17
|
-
await toLocalOpenWFRedirectView(context, href);
|
|
18
|
-
}
|
|
19
|
-
onMounted(() => ibiz.util.hiddenAppLoading());
|
|
20
|
-
toRedirect();
|
|
21
|
-
},
|
|
22
|
-
render() {
|
|
23
|
-
return createVNode("div", null, [createTextVNode("\u91CD\u5B9A\u5411\u8DF3\u8F6C\u4E2D")]);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
export { AppRedirectView };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { ViewProvider } from './view.provider';
|
|
2
|
-
export { ViewProvider };
|
|
3
|
-
export declare const IBizView: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
-
context: import("vue").PropType<IContext>;
|
|
5
|
-
params: {
|
|
6
|
-
type: import("vue").PropType<IParams>;
|
|
7
|
-
default: () => {};
|
|
8
|
-
};
|
|
9
|
-
modelData: {
|
|
10
|
-
type: import("vue").PropType<import("@ibiz/model-core").IAppView>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
modal: {
|
|
14
|
-
type: import("vue").PropType<import("@ibiz-template/runtime").IModal>;
|
|
15
|
-
};
|
|
16
|
-
state: {
|
|
17
|
-
type: import("vue").PropType<IData>;
|
|
18
|
-
};
|
|
19
|
-
provider: {
|
|
20
|
-
type: import("vue").PropType<import("@ibiz-template/runtime").IViewProvider>;
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
c: import("@ibiz-template/runtime").ViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
24
|
-
controls: import("@ibiz/model-core").IControl[];
|
|
25
|
-
viewClassNames: import("vue").ComputedRef<(string | undefined)[]>;
|
|
26
|
-
container: import("vue").Ref<HTMLElement | null>;
|
|
27
|
-
onLayoutPanelCreated: (controller: import("@ibiz-template/runtime").IViewLayoutPanelController) => void;
|
|
28
|
-
renderViewMessage: (position: "TOP" | "BOTTOM" | "BODY") => JSX.Element | null;
|
|
29
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
context: import("vue").PropType<IContext>;
|
|
31
|
-
params: {
|
|
32
|
-
type: import("vue").PropType<IParams>;
|
|
33
|
-
default: () => {};
|
|
34
|
-
};
|
|
35
|
-
modelData: {
|
|
36
|
-
type: import("vue").PropType<import("@ibiz/model-core").IAppView>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
modal: {
|
|
40
|
-
type: import("vue").PropType<import("@ibiz-template/runtime").IModal>;
|
|
41
|
-
};
|
|
42
|
-
state: {
|
|
43
|
-
type: import("vue").PropType<IData>;
|
|
44
|
-
};
|
|
45
|
-
provider: {
|
|
46
|
-
type: import("vue").PropType<import("@ibiz-template/runtime").IViewProvider>;
|
|
47
|
-
};
|
|
48
|
-
}>>, {
|
|
49
|
-
params: IParams;
|
|
50
|
-
}, {}>>;
|
package/es/view/common/index.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { withInstall } from '@ibiz-template/vue3-util';
|
|
2
|
-
import { registerViewProvider } from '@ibiz-template/runtime';
|
|
3
|
-
import { ViewProvider } from './view.provider.mjs';
|
|
4
|
-
import { View } from './view.mjs';
|
|
5
|
-
import { IBizViewEngine } from '../../view-engine/index.mjs';
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const IBizView = withInstall(View, function(v) {
|
|
9
|
-
v.use(IBizViewEngine);
|
|
10
|
-
v.component(View.name, View);
|
|
11
|
-
registerViewProvider("DEFAULT", () => new ViewProvider());
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export { IBizView, ViewProvider };
|
package/es/view/common/view.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-view{--ibiz-view-bg-color:var(--ibiz-color-bg-1);--ibiz-view-border-radius:var(--ibiz-border-radius-medium);width:100%;height:100%}.ibiz-view .ibiz-view{background-color:var(--ibiz-view-bg-color);border-radius:var(--ibiz-view-border-radius)}.ibiz-view .ibiz-view-appportalview{background-color:transparent}.ibiz-view.has-bottom-message,.ibiz-view.has-top-message{display:flex;flex-flow:column nowrap}.ibiz-view.has-bottom-message>.ibiz-view-message,.ibiz-view.has-top-message>.ibiz-view-message{flex-grow:0;flex-shrink:0}.ibiz-view.has-bottom-message>.ibiz-control-viewlayoutpanel,.ibiz-view.has-top-message>.ibiz-control-viewlayoutpanel{flex-grow:1;flex-shrink:1}
|
package/es/view/common/view.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { IModal, IViewLayoutPanelController, IViewProvider, ViewController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IAppView } from '@ibiz/model-core';
|
|
3
|
-
import { PropType } from 'vue';
|
|
4
|
-
import './view.scss';
|
|
5
|
-
export declare const View: import("vue").DefineComponent<{
|
|
6
|
-
context: PropType<IContext>;
|
|
7
|
-
params: {
|
|
8
|
-
type: PropType<IParams>;
|
|
9
|
-
default: () => {};
|
|
10
|
-
};
|
|
11
|
-
modelData: {
|
|
12
|
-
type: PropType<IAppView>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
modal: {
|
|
16
|
-
type: PropType<IModal>;
|
|
17
|
-
};
|
|
18
|
-
state: {
|
|
19
|
-
type: PropType<IData>;
|
|
20
|
-
};
|
|
21
|
-
provider: {
|
|
22
|
-
type: PropType<IViewProvider>;
|
|
23
|
-
};
|
|
24
|
-
}, {
|
|
25
|
-
c: ViewController<IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
26
|
-
controls: import("@ibiz/model-core").IControl[];
|
|
27
|
-
viewClassNames: import("vue").ComputedRef<(string | undefined)[]>;
|
|
28
|
-
container: import("vue").Ref<HTMLElement | null>;
|
|
29
|
-
onLayoutPanelCreated: (controller: IViewLayoutPanelController) => void;
|
|
30
|
-
renderViewMessage: (position: 'TOP' | 'BOTTOM' | 'BODY') => JSX.Element | null;
|
|
31
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
-
context: PropType<IContext>;
|
|
33
|
-
params: {
|
|
34
|
-
type: PropType<IParams>;
|
|
35
|
-
default: () => {};
|
|
36
|
-
};
|
|
37
|
-
modelData: {
|
|
38
|
-
type: PropType<IAppView>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
modal: {
|
|
42
|
-
type: PropType<IModal>;
|
|
43
|
-
};
|
|
44
|
-
state: {
|
|
45
|
-
type: PropType<IData>;
|
|
46
|
-
};
|
|
47
|
-
provider: {
|
|
48
|
-
type: PropType<IViewProvider>;
|
|
49
|
-
};
|
|
50
|
-
}>>, {
|
|
51
|
-
params: IParams;
|
|
52
|
-
}, {}>;
|
package/es/view/common/view.mjs
DELETED
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { computed, ref, onMounted, onUnmounted, onActivated, onDeactivated, resolveComponent, createVNode, h, createTextVNode, resolveDirective, withDirectives, defineComponent } from 'vue';
|
|
2
|
-
import { ViewController, getControlsByView } from '@ibiz-template/runtime';
|
|
3
|
-
import { useNamespace, useViewController } from '@ibiz-template/vue3-util';
|
|
4
|
-
import './view.css';
|
|
5
|
-
import { createUUID } from 'qx-util';
|
|
6
|
-
import { devtool } from '../../devtool/index.mjs';
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
const View = /* @__PURE__ */ defineComponent({
|
|
10
|
-
name: "IBizView",
|
|
11
|
-
props: {
|
|
12
|
-
context: Object,
|
|
13
|
-
params: {
|
|
14
|
-
type: Object,
|
|
15
|
-
default: () => ({})
|
|
16
|
-
},
|
|
17
|
-
modelData: {
|
|
18
|
-
type: Object,
|
|
19
|
-
required: true
|
|
20
|
-
},
|
|
21
|
-
modal: {
|
|
22
|
-
type: Object
|
|
23
|
-
},
|
|
24
|
-
state: {
|
|
25
|
-
type: Object
|
|
26
|
-
},
|
|
27
|
-
provider: {
|
|
28
|
-
type: Object
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
setup() {
|
|
32
|
-
const ns = useNamespace("view");
|
|
33
|
-
const c = useViewController((...args) => new ViewController(...args));
|
|
34
|
-
const controls = getControlsByView(c.model);
|
|
35
|
-
const {
|
|
36
|
-
viewType,
|
|
37
|
-
sysCss,
|
|
38
|
-
codeName
|
|
39
|
-
} = c.model;
|
|
40
|
-
const typeClass = viewType.toLowerCase();
|
|
41
|
-
const sysCssName = sysCss == null ? void 0 : sysCss.cssName;
|
|
42
|
-
const viewClassNames = computed(() => [ns.b(), ns.b(typeClass), ns.m(codeName), sysCssName, c.state.viewMessages.TOP ? "has-top-message" : "", c.state.viewMessages.BOTTOM ? "has-bottom-message" : ""]);
|
|
43
|
-
const onLayoutPanelCreated = (controller) => {
|
|
44
|
-
c.setLayoutPanel(controller);
|
|
45
|
-
};
|
|
46
|
-
const container = ref(null);
|
|
47
|
-
const key = createUUID();
|
|
48
|
-
onMounted(() => {
|
|
49
|
-
devtool.registerView(key, c, container);
|
|
50
|
-
});
|
|
51
|
-
onUnmounted(() => {
|
|
52
|
-
devtool.unRegisterView(key);
|
|
53
|
-
});
|
|
54
|
-
onActivated(() => c.onActivated());
|
|
55
|
-
onDeactivated(() => c.onDeactivated());
|
|
56
|
-
const renderViewMessage = (position) => {
|
|
57
|
-
if (c.state.isCreated) {
|
|
58
|
-
const viewMessages = c.state.viewMessages[position];
|
|
59
|
-
if (viewMessages == null ? void 0 : viewMessages.length) {
|
|
60
|
-
return createVNode(resolveComponent("view-message"), {
|
|
61
|
-
"class": [ns.e(`${position.toLowerCase()}-message`)],
|
|
62
|
-
"messages": viewMessages
|
|
63
|
-
}, null);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return null;
|
|
67
|
-
};
|
|
68
|
-
return {
|
|
69
|
-
c,
|
|
70
|
-
controls,
|
|
71
|
-
viewClassNames,
|
|
72
|
-
container,
|
|
73
|
-
onLayoutPanelCreated,
|
|
74
|
-
renderViewMessage
|
|
75
|
-
};
|
|
76
|
-
},
|
|
77
|
-
render() {
|
|
78
|
-
var _a;
|
|
79
|
-
let layoutPanel = null;
|
|
80
|
-
if (this.c.state.isCreated) {
|
|
81
|
-
const slots = {
|
|
82
|
-
...this.$slots
|
|
83
|
-
};
|
|
84
|
-
if ((_a = this.controls) == null ? void 0 : _a.length) {
|
|
85
|
-
this.controls.forEach((ctrl) => {
|
|
86
|
-
const slotKey = ctrl.name || ctrl.id;
|
|
87
|
-
const ctrlProps = {
|
|
88
|
-
context: this.c.context,
|
|
89
|
-
params: this.c.params
|
|
90
|
-
};
|
|
91
|
-
if (this.c.slotProps[slotKey]) {
|
|
92
|
-
Object.assign(ctrlProps, this.c.slotProps[slotKey]);
|
|
93
|
-
}
|
|
94
|
-
const outCtrlSlot = slots[slotKey];
|
|
95
|
-
if (outCtrlSlot) {
|
|
96
|
-
slots[slotKey] = () => {
|
|
97
|
-
return outCtrlSlot(ctrlProps);
|
|
98
|
-
};
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
const provider = this.c.providers[slotKey];
|
|
102
|
-
if (provider) {
|
|
103
|
-
slots[slotKey] = () => {
|
|
104
|
-
const comp = resolveComponent(provider.component);
|
|
105
|
-
return h(comp, {
|
|
106
|
-
modelData: ctrl,
|
|
107
|
-
...ctrlProps,
|
|
108
|
-
provider
|
|
109
|
-
});
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
if (this.c.engines.length === 0) {
|
|
115
|
-
layoutPanel = createVNode("span", {
|
|
116
|
-
"style": "color:red;"
|
|
117
|
-
}, [createTextVNode("\u89C6\u56FE\u7C7B\u578B"), this.modelData.viewType, createTextVNode("\u6682\u672A\u652F\u6301")]);
|
|
118
|
-
} else {
|
|
119
|
-
const viewLayoutPanel = this.c.model.viewLayoutPanel;
|
|
120
|
-
const provider = this.c.providers[viewLayoutPanel.name];
|
|
121
|
-
layoutPanel = h(resolveComponent(provider.component), {
|
|
122
|
-
modelData: viewLayoutPanel,
|
|
123
|
-
context: this.c.context,
|
|
124
|
-
params: this.c.params,
|
|
125
|
-
provider,
|
|
126
|
-
onControllerAppear: this.onLayoutPanelCreated
|
|
127
|
-
}, slots);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
return withDirectives(createVNode("div", {
|
|
131
|
-
"ref": "container",
|
|
132
|
-
"class": this.viewClassNames
|
|
133
|
-
}, [this.renderViewMessage("TOP"), layoutPanel, this.renderViewMessage("BOTTOM")]), [[resolveDirective("loading"), this.c.state.isLoading]]);
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
export { View };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IViewProvider } from '@ibiz-template/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* 视图适配器
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2022-10-25 18:10:57
|
|
7
|
-
* @export
|
|
8
|
-
* @class ViewProvider
|
|
9
|
-
* @implements {IViewProvider}
|
|
10
|
-
*/
|
|
11
|
-
export declare class ViewProvider implements IViewProvider {
|
|
12
|
-
component: string;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
class ViewProvider {
|
|
9
|
-
constructor() {
|
|
10
|
-
__publicField(this, "component", "IBizView");
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { ViewProvider };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { PortalViewProvider } from './portal-view.provider';
|
|
2
|
-
export { PortalViewProvider };
|
|
3
|
-
export declare const IBizPortalView: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
4
|
-
context: import("vue").PropType<IContext>;
|
|
5
|
-
params: {
|
|
6
|
-
type: import("vue").PropType<IParams>;
|
|
7
|
-
default: () => {};
|
|
8
|
-
};
|
|
9
|
-
modelData: {
|
|
10
|
-
type: import("vue").PropType<import("@ibiz/model-core").IAppPortalView>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
modal: {
|
|
14
|
-
type: import("vue").PropType<import("@ibiz-template/runtime").IModal>;
|
|
15
|
-
};
|
|
16
|
-
state: {
|
|
17
|
-
type: import("vue").PropType<IData>;
|
|
18
|
-
};
|
|
19
|
-
}, {
|
|
20
|
-
c: import("@ibiz-template/runtime").ViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
21
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
22
|
-
controls: import("@ibiz/model-core").IControl[] | undefined;
|
|
23
|
-
viewClassNames: (string | undefined)[];
|
|
24
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
-
context: import("vue").PropType<IContext>;
|
|
26
|
-
params: {
|
|
27
|
-
type: import("vue").PropType<IParams>;
|
|
28
|
-
default: () => {};
|
|
29
|
-
};
|
|
30
|
-
modelData: {
|
|
31
|
-
type: import("vue").PropType<import("@ibiz/model-core").IAppPortalView>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
modal: {
|
|
35
|
-
type: import("vue").PropType<import("@ibiz-template/runtime").IModal>;
|
|
36
|
-
};
|
|
37
|
-
state: {
|
|
38
|
-
type: import("vue").PropType<IData>;
|
|
39
|
-
};
|
|
40
|
-
}>>, {
|
|
41
|
-
params: IParams;
|
|
42
|
-
}, {}>>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { withInstall } from '@ibiz-template/vue3-util';
|
|
2
|
-
import { ViewType, registerViewProvider } from '@ibiz-template/runtime';
|
|
3
|
-
import { PortalViewProvider } from './portal-view.provider.mjs';
|
|
4
|
-
import { PortalView } from './portal-view.mjs';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
const IBizPortalView = withInstall(PortalView, function(v) {
|
|
8
|
-
v.component(PortalView.name, PortalView);
|
|
9
|
-
registerViewProvider(
|
|
10
|
-
ViewType.APP_PORTAL_VIEW,
|
|
11
|
-
() => new PortalViewProvider()
|
|
12
|
-
);
|
|
13
|
-
registerViewProvider(ViewType.DE_PORTAL_VIEW, () => new PortalViewProvider());
|
|
14
|
-
registerViewProvider(
|
|
15
|
-
ViewType.DE_PORTAL_VIEW9,
|
|
16
|
-
() => new PortalViewProvider()
|
|
17
|
-
);
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
export { IBizPortalView, PortalViewProvider };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { IModal, ViewController } from '@ibiz-template/runtime';
|
|
2
|
-
import { IAppPortalView } from '@ibiz/model-core';
|
|
3
|
-
import { PropType } from 'vue';
|
|
4
|
-
export declare const PortalView: import("vue").DefineComponent<{
|
|
5
|
-
context: PropType<IContext>;
|
|
6
|
-
params: {
|
|
7
|
-
type: PropType<IParams>;
|
|
8
|
-
default: () => {};
|
|
9
|
-
};
|
|
10
|
-
modelData: {
|
|
11
|
-
type: PropType<IAppPortalView>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
modal: {
|
|
15
|
-
type: PropType<IModal>;
|
|
16
|
-
};
|
|
17
|
-
state: {
|
|
18
|
-
type: PropType<IData>;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
c: ViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
22
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
23
|
-
controls: import("@ibiz/model-core").IControl[] | undefined;
|
|
24
|
-
viewClassNames: (string | undefined)[];
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
-
context: PropType<IContext>;
|
|
27
|
-
params: {
|
|
28
|
-
type: PropType<IParams>;
|
|
29
|
-
default: () => {};
|
|
30
|
-
};
|
|
31
|
-
modelData: {
|
|
32
|
-
type: PropType<IAppPortalView>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
modal: {
|
|
36
|
-
type: PropType<IModal>;
|
|
37
|
-
};
|
|
38
|
-
state: {
|
|
39
|
-
type: PropType<IData>;
|
|
40
|
-
};
|
|
41
|
-
}>>, {
|
|
42
|
-
params: IParams;
|
|
43
|
-
}, {}>;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { resolveComponent, h, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { ViewController } from '@ibiz-template/runtime';
|
|
3
|
-
import { useNamespace, useViewController } from '@ibiz-template/vue3-util';
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
const PortalView = /* @__PURE__ */ defineComponent({
|
|
7
|
-
name: "IBizPortalView",
|
|
8
|
-
props: {
|
|
9
|
-
context: Object,
|
|
10
|
-
params: {
|
|
11
|
-
type: Object,
|
|
12
|
-
default: () => ({})
|
|
13
|
-
},
|
|
14
|
-
modelData: {
|
|
15
|
-
type: Object,
|
|
16
|
-
required: true
|
|
17
|
-
},
|
|
18
|
-
modal: {
|
|
19
|
-
type: Object
|
|
20
|
-
},
|
|
21
|
-
state: {
|
|
22
|
-
type: Object
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
setup() {
|
|
26
|
-
var _a;
|
|
27
|
-
const ns = useNamespace("view");
|
|
28
|
-
const c = useViewController((...args) => new ViewController(...args));
|
|
29
|
-
const controls = ((_a = c.model.viewLayoutPanel) == null ? void 0 : _a.controls) || c.model.controls;
|
|
30
|
-
const {
|
|
31
|
-
viewType,
|
|
32
|
-
sysCss,
|
|
33
|
-
codeName
|
|
34
|
-
} = c.model;
|
|
35
|
-
const typeClass = viewType.toLowerCase();
|
|
36
|
-
const sysCssName = sysCss == null ? void 0 : sysCss.cssName;
|
|
37
|
-
const viewClassNames = [ns.b(), ns.b(typeClass), ns.m(codeName), sysCssName];
|
|
38
|
-
return {
|
|
39
|
-
c,
|
|
40
|
-
ns,
|
|
41
|
-
controls,
|
|
42
|
-
viewClassNames
|
|
43
|
-
};
|
|
44
|
-
},
|
|
45
|
-
render() {
|
|
46
|
-
var _a;
|
|
47
|
-
let content = null;
|
|
48
|
-
if (this.c.state.isCreated) {
|
|
49
|
-
const slots = {
|
|
50
|
-
...this.$slots
|
|
51
|
-
};
|
|
52
|
-
if ((_a = this.controls) == null ? void 0 : _a.length) {
|
|
53
|
-
this.controls.forEach((ctrl) => {
|
|
54
|
-
const slotKey = ctrl.name || ctrl.id;
|
|
55
|
-
const crtlProps = {
|
|
56
|
-
context: this.c.context,
|
|
57
|
-
params: this.c.params
|
|
58
|
-
};
|
|
59
|
-
if (this.c.slotProps[slotKey]) {
|
|
60
|
-
Object.assign(crtlProps, this.c.slotProps[slotKey]);
|
|
61
|
-
}
|
|
62
|
-
const outCtrlSlot = slots[slotKey];
|
|
63
|
-
if (outCtrlSlot) {
|
|
64
|
-
slots[slotKey] = () => {
|
|
65
|
-
return outCtrlSlot(crtlProps);
|
|
66
|
-
};
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
const provider = this.c.providers[slotKey];
|
|
70
|
-
if (provider) {
|
|
71
|
-
slots[slotKey] = () => {
|
|
72
|
-
const comp = resolveComponent(provider.component);
|
|
73
|
-
return h(comp, {
|
|
74
|
-
modelData: ctrl,
|
|
75
|
-
...crtlProps
|
|
76
|
-
});
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
if (slots.dashboard) {
|
|
82
|
-
content = slots.dashboard();
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
return createVNode("div", {
|
|
86
|
-
"class": this.viewClassNames
|
|
87
|
-
}, [content]);
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
export { PortalView };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IViewProvider } from '@ibiz-template/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* 应用门户视图,实体数据看板视图适配器
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2022-10-25 18:10:57
|
|
7
|
-
* @export
|
|
8
|
-
* @class ViewProvider
|
|
9
|
-
* @implements {IViewProvider}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PortalViewProvider implements IViewProvider {
|
|
12
|
-
component: string;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
class PortalViewProvider {
|
|
9
|
-
constructor() {
|
|
10
|
-
__publicField(this, "component", "IBizPortalView");
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { PortalViewProvider };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const TodoRedirect: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { createTextVNode, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import qs from 'qs';
|
|
3
|
-
import { useRouter } from 'vue-router';
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
const TodoRedirect = /* @__PURE__ */ defineComponent({
|
|
7
|
-
setup() {
|
|
8
|
-
const router = useRouter();
|
|
9
|
-
const {
|
|
10
|
-
href
|
|
11
|
-
} = window.location;
|
|
12
|
-
const i = href.lastIndexOf("?");
|
|
13
|
-
const queryStr = decodeURIComponent(href.substring(i + 1, href.length));
|
|
14
|
-
if (!queryStr) {
|
|
15
|
-
throw new Error(`\u91CD\u5B9A\u5411\u53C2\u6570\u4E0D\u8DB3\u65E0\u6CD5\u8DF3\u8F6C`);
|
|
16
|
-
}
|
|
17
|
-
const params = qs.parse(queryStr, {
|
|
18
|
-
delimiter: ";"
|
|
19
|
-
});
|
|
20
|
-
const {
|
|
21
|
-
apptype,
|
|
22
|
-
todotype,
|
|
23
|
-
todoid
|
|
24
|
-
} = params;
|
|
25
|
-
const data = {
|
|
26
|
-
srfapptype: "pc",
|
|
27
|
-
srfapp: ""
|
|
28
|
-
};
|
|
29
|
-
if (!apptype) {
|
|
30
|
-
data.todourltype = "RouterUrl";
|
|
31
|
-
}
|
|
32
|
-
async function getLinkUrl() {
|
|
33
|
-
const res = await ibiz.net.post(`/systodos/${todoid}/getlinkurl`, data);
|
|
34
|
-
let url = res.data.linkurl;
|
|
35
|
-
if (apptype) {
|
|
36
|
-
window.location.href = url;
|
|
37
|
-
} else {
|
|
38
|
-
if (url.indexOf("/") !== 0) {
|
|
39
|
-
url = `/${url}`;
|
|
40
|
-
}
|
|
41
|
-
url += `;srfwf=${todotype}`;
|
|
42
|
-
router.push(`/index${url}`);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
getLinkUrl();
|
|
46
|
-
},
|
|
47
|
-
render() {
|
|
48
|
-
return createVNode("div", null, [createTextVNode("\u5F85\u529E\u5217\u8868\u91CD\u5B9A\u5411")]);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export { TodoRedirect };
|