@ibiz-template/vue3-components 0.2.11 → 0.2.13
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/app-menu/index.d.ts +0 -1
- package/es/control/app-menu/index.mjs +1 -1
- package/es/control/app-menu-icon-view/index.d.ts +0 -1
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- package/es/control/calendar/calendar.mjs +1 -2
- package/es/control/calendar/index.d.ts +0 -1
- package/es/control/calendar/index.mjs +1 -1
- package/es/control/caption-bar/index.d.ts +0 -1
- package/es/control/caption-bar/index.mjs +1 -1
- package/es/control/chart/index.mjs +1 -2
- package/es/control/dashboard/index.d.ts +0 -1
- package/es/control/dashboard/index.mjs +1 -9
- package/es/control/dashboard/portlet/actionbar-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/actionbar-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/chart-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/chart-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/container-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/container-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/html-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/html-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/index.mjs +0 -8
- package/es/control/dashboard/portlet/list-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/list-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/menu-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/rawitem-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/rawitem-portlet/index.mjs +1 -1
- package/es/control/dashboard/portlet/view-portlet/index.d.ts +0 -1
- package/es/control/dashboard/portlet/view-portlet/index.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +50 -2
- package/es/control/drbar/index.d.ts +0 -1
- package/es/control/drbar/index.mjs +1 -1
- package/es/control/drtab/index.d.ts +0 -1
- package/es/control/drtab/index.mjs +1 -1
- package/es/control/exp-bar/calendar-exp-bar/index.d.ts +0 -1
- package/es/control/exp-bar/calendar-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/index.mjs +0 -3
- package/es/control/exp-bar/list-exp-bar/index.d.ts +0 -1
- package/es/control/exp-bar/list-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/render-util.mjs +1 -1
- package/es/control/exp-bar/tree-exp-bar/index.d.ts +0 -1
- package/es/control/exp-bar/tree-exp-bar/index.mjs +1 -1
- package/es/control/exp-bar/tree-exp-bar/tree-exp-bar.mjs +1 -0
- package/es/control/form/form-detail/form-button/index.d.ts +0 -1
- package/es/control/form/form-detail/form-button/index.mjs +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-druipart/index.d.ts +0 -1
- package/es/control/form/form-detail/form-druipart/index.mjs +1 -1
- package/es/control/form/form-detail/form-group-panel/index.d.ts +0 -1
- package/es/control/form/form-detail/form-group-panel/index.mjs +1 -1
- package/es/control/form/form-detail/form-item/index.d.ts +0 -1
- package/es/control/form/form-detail/form-item/index.mjs +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/form/form-detail/form-mdctrl/index.d.ts +0 -1
- package/es/control/form/form-detail/form-mdctrl/index.mjs +1 -1
- package/es/control/form/form-detail/form-page/index.d.ts +0 -1
- package/es/control/form/form-detail/form-page/index.mjs +1 -1
- package/es/control/form/form-detail/form-rawitem/index.d.ts +0 -1
- package/es/control/form/form-detail/form-rawitem/index.mjs +1 -1
- package/es/control/form/form-detail/form-tab-page/index.d.ts +0 -1
- package/es/control/form/form-detail/form-tab-page/index.mjs +1 -1
- package/es/control/form/form-detail/form-tab-panel/index.d.ts +0 -1
- package/es/control/form/form-detail/form-tab-panel/index.mjs +1 -1
- package/es/control/form/form-detail/index.mjs +0 -9
- package/es/control/form/index.mjs +0 -10
- package/es/control/form/search-form/index.d.ts +0 -1
- package/es/control/form/search-form/index.mjs +1 -1
- package/es/control/grid/grid/index.d.ts +0 -1
- package/es/control/grid/grid/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-field-column/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-field-edit-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-field-edit-column/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-group-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-group-column/index.mjs +1 -1
- package/es/control/grid/grid-column/grid-ua-column/index.d.ts +0 -1
- package/es/control/grid/grid-column/grid-ua-column/index.mjs +1 -1
- package/es/control/grid/grid-column/index.mjs +0 -4
- package/es/control/grid/index.mjs +0 -5
- package/es/control/index.mjs +0 -45
- package/es/control/kanban/index.d.ts +0 -1
- package/es/control/kanban/index.mjs +1 -1
- package/es/control/list/index.d.ts +0 -1
- package/es/control/list/index.mjs +1 -1
- package/es/control/medit-view-panel/index.d.ts +0 -1
- package/es/control/medit-view-panel/index.mjs +1 -1
- package/es/control/panel/index.mjs +0 -2
- package/es/control/panel/panel/index.d.ts +0 -1
- package/es/control/panel/panel/index.mjs +1 -1
- package/es/control/panel/view-layout-panel/index.d.ts +0 -1
- package/es/control/panel/view-layout-panel/index.mjs +1 -1
- package/es/control/pickup-view-panel/index.d.ts +0 -1
- package/es/control/pickup-view-panel/index.mjs +1 -1
- package/es/control/search-bar/index.d.ts +0 -1
- package/es/control/search-bar/index.mjs +1 -1
- package/es/control/tab-exp-panel/index.d.ts +0 -1
- package/es/control/tab-exp-panel/index.mjs +1 -1
- package/es/control/toolbar/toolbar.mjs +2 -2
- package/es/control/tree/el-tree-util.d.ts +2 -1
- package/es/control/tree/el-tree-util.mjs +13 -1
- package/es/control/tree/index.d.ts +10 -2
- package/es/control/tree/index.mjs +1 -1
- package/es/control/tree/tree.d.ts +10 -1
- package/es/control/tree/tree.mjs +14 -1
- package/es/control/tree-grid/index.d.ts +0 -1
- package/es/control/tree-grid/index.mjs +1 -1
- package/es/control/tree-grid-ex/index.d.ts +0 -1
- package/es/control/tree-grid-ex/index.mjs +1 -1
- package/es/control/wizard-panel/index.d.ts +0 -1
- package/es/control/wizard-panel/index.mjs +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 -100
- 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/auth-userinfo/index.d.ts +0 -2
- package/es/panel-component/auth-userinfo/index.mjs +1 -1
- 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 -4
- package/es/panel-component/index-actions/index.mjs +1 -1
- package/es/panel-component/index.d.ts +0 -7
- package/es/panel-component/index.mjs +2 -37
- package/es/panel-component/nav-pos-index/index.d.ts +1 -2
- package/es/panel-component/nav-pos-index/index.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +1 -2
- package/es/panel-component/nav-tabs/index.d.ts +0 -1
- package/es/panel-component/nav-tabs/index.mjs +1 -1
- package/es/panel-component/panel-app-header/index.d.ts +0 -2
- package/es/panel-component/panel-app-header/index.mjs +1 -1
- package/es/panel-component/panel-app-login-view/index.d.ts +1 -2
- package/es/panel-component/panel-app-login-view/index.mjs +1 -1
- package/es/panel-component/panel-app-title/index.d.ts +0 -1
- package/es/panel-component/panel-app-title/index.mjs +1 -1
- package/es/panel-component/panel-button/index.d.ts +1 -2
- package/es/panel-component/panel-button/index.mjs +1 -1
- package/es/panel-component/panel-button/panel-button.d.ts +1 -1
- package/es/panel-component/panel-exp-header/index.d.ts +0 -2
- package/es/panel-component/panel-exp-header/index.mjs +1 -1
- package/es/panel-component/panel-index-view-search/index.d.ts +0 -1
- package/es/panel-component/panel-index-view-search/index.mjs +1 -1
- package/es/panel-component/panel-remember-me/index.d.ts +1 -2
- package/es/panel-component/panel-remember-me/index.mjs +1 -1
- package/es/panel-component/panel-tab-page/index.d.ts +0 -1
- package/es/panel-component/panel-tab-page/index.mjs +1 -1
- package/es/panel-component/panel-tab-panel/index.d.ts +0 -1
- package/es/panel-component/panel-tab-panel/index.mjs +1 -1
- package/es/panel-component/panel-view-content/index.d.ts +0 -2
- package/es/panel-component/panel-view-content/index.mjs +1 -1
- package/es/panel-component/panel-view-header/index.d.ts +0 -2
- package/es/panel-component/panel-view-header/index.mjs +1 -1
- package/es/panel-component/split-container/index.d.ts +1 -2
- package/es/panel-component/split-container/index.mjs +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 -7
- package/es/view/wf-step-trace-view/index.d.ts +0 -2
- package/es/view/wf-step-trace-view/index.mjs +1 -1
- package/es/view-engine/tab-exp-view.engine.d.ts +9 -0
- package/es/view-engine/tab-exp-view.engine.mjs +15 -0
- package/lib/common/index.cjs +7 -20
- package/lib/control/app-menu/index.cjs +0 -1
- package/lib/control/app-menu-icon-view/index.cjs +0 -1
- package/lib/control/calendar/calendar.cjs +1 -2
- package/lib/control/calendar/index.cjs +0 -1
- package/lib/control/caption-bar/index.cjs +0 -1
- package/lib/control/chart/index.cjs +2 -3
- package/lib/control/dashboard/index.cjs +0 -17
- package/lib/control/dashboard/portlet/actionbar-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/chart-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/container-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/html-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/index.cjs +0 -16
- package/lib/control/dashboard/portlet/list-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/menu-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/rawitem-portlet/index.cjs +0 -1
- package/lib/control/dashboard/portlet/view-portlet/index.cjs +0 -1
- package/lib/control/data-view/data-view.cjs +50 -2
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/index.cjs +0 -1
- package/lib/control/drtab/index.cjs +0 -1
- package/lib/control/exp-bar/calendar-exp-bar/index.cjs +0 -1
- package/lib/control/exp-bar/index.cjs +0 -6
- package/lib/control/exp-bar/list-exp-bar/index.cjs +0 -1
- package/lib/control/exp-bar/render-util.cjs +1 -1
- package/lib/control/exp-bar/tree-exp-bar/index.cjs +0 -1
- package/lib/control/exp-bar/tree-exp-bar/tree-exp-bar.cjs +1 -0
- package/lib/control/form/form-detail/form-button/index.cjs +0 -1
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-druipart/index.cjs +0 -1
- package/lib/control/form/form-detail/form-group-panel/index.cjs +0 -1
- package/lib/control/form/form-detail/form-item/index.cjs +0 -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/form/form-detail/form-mdctrl/index.cjs +0 -1
- package/lib/control/form/form-detail/form-page/index.cjs +0 -1
- package/lib/control/form/form-detail/form-rawitem/index.cjs +0 -1
- package/lib/control/form/form-detail/form-tab-page/index.cjs +0 -1
- package/lib/control/form/form-detail/form-tab-panel/index.cjs +0 -1
- package/lib/control/form/form-detail/index.cjs +0 -18
- package/lib/control/form/index.cjs +0 -20
- package/lib/control/form/search-form/index.cjs +0 -1
- package/lib/control/grid/grid/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-field-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-field-edit-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-group-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/grid-ua-column/index.cjs +0 -1
- package/lib/control/grid/grid-column/index.cjs +0 -8
- package/lib/control/grid/index.cjs +0 -10
- package/lib/control/index.cjs +0 -90
- package/lib/control/kanban/index.cjs +0 -1
- package/lib/control/list/index.cjs +0 -1
- package/lib/control/medit-view-panel/index.cjs +0 -1
- package/lib/control/panel/index.cjs +0 -4
- package/lib/control/panel/panel/index.cjs +0 -1
- package/lib/control/panel/view-layout-panel/index.cjs +0 -1
- package/lib/control/pickup-view-panel/index.cjs +0 -1
- package/lib/control/search-bar/index.cjs +0 -1
- package/lib/control/tab-exp-panel/index.cjs +0 -1
- package/lib/control/toolbar/toolbar.cjs +2 -2
- package/lib/control/tree/el-tree-util.cjs +13 -1
- package/lib/control/tree/index.cjs +0 -1
- package/lib/control/tree/tree.cjs +14 -1
- package/lib/control/tree-grid/index.cjs +0 -1
- package/lib/control/tree-grid-ex/index.cjs +0 -1
- package/lib/control/wizard-panel/index.cjs +0 -1
- 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 -224
- 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/auth-userinfo/index.cjs +0 -1
- 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-actions/index.cjs +0 -1
- package/lib/panel-component/index.cjs +51 -119
- package/lib/panel-component/nav-pos-index/index.cjs +0 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +3 -4
- package/lib/panel-component/nav-tabs/index.cjs +0 -1
- package/lib/panel-component/panel-app-header/index.cjs +0 -1
- package/lib/panel-component/panel-app-login-view/index.cjs +0 -1
- package/lib/panel-component/panel-app-title/index.cjs +0 -1
- package/lib/panel-component/panel-button/index.cjs +0 -1
- package/lib/panel-component/panel-exp-header/index.cjs +0 -1
- package/lib/panel-component/panel-index-view-search/index.cjs +0 -1
- package/lib/panel-component/panel-remember-me/index.cjs +0 -1
- package/lib/panel-component/panel-tab-page/index.cjs +0 -1
- package/lib/panel-component/panel-tab-panel/index.cjs +0 -1
- package/lib/panel-component/panel-view-content/index.cjs +0 -1
- package/lib/panel-component/panel-view-header/index.cjs +0 -1
- package/lib/panel-component/split-container/index.cjs +0 -1
- 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 -16
- package/lib/view/wf-step-trace-view/index.cjs +0 -1
- package/lib/view-engine/tab-exp-view.engine.cjs +15 -0
- package/package.json +10 -10
- 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,86 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var ramda = require('ramda');
|
|
6
|
-
require('./code-list.css');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
const IBizCodeList = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
name: "IBizCodeList",
|
|
11
|
-
props: {
|
|
12
|
-
codeListItems: {
|
|
13
|
-
type: Array
|
|
14
|
-
},
|
|
15
|
-
codeList: {
|
|
16
|
-
type: Object,
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
value: {
|
|
20
|
-
type: [String, Number]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
setup(props) {
|
|
24
|
-
const ns = vue3Util.useNamespace("code-list");
|
|
25
|
-
const items = vue.ref([]);
|
|
26
|
-
const findCodeListItem = (codelist, value) => {
|
|
27
|
-
if (codelist) {
|
|
28
|
-
const findItem = codelist.find((item) => item.value == value);
|
|
29
|
-
if (findItem) {
|
|
30
|
-
return findItem;
|
|
31
|
-
}
|
|
32
|
-
for (let i = 0; i < codelist.length; i++) {
|
|
33
|
-
const childrenItem = findCodeListItem(codelist[i].children, value);
|
|
34
|
-
if (childrenItem) {
|
|
35
|
-
return childrenItem;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
vue.watch(() => props.value, (newVal, oldVal) => {
|
|
41
|
-
if (newVal !== oldVal) {
|
|
42
|
-
if (ramda.isNil(newVal) || newVal === "") {
|
|
43
|
-
items.value = [];
|
|
44
|
-
} else {
|
|
45
|
-
let values;
|
|
46
|
-
if (typeof newVal === "string") {
|
|
47
|
-
values = newVal.split(",");
|
|
48
|
-
} else {
|
|
49
|
-
values = [newVal];
|
|
50
|
-
}
|
|
51
|
-
items.value = values.map((val) => {
|
|
52
|
-
const findItem = findCodeListItem(props.codeListItems, val);
|
|
53
|
-
return {
|
|
54
|
-
text: (findItem == null ? void 0 : findItem.text) || val,
|
|
55
|
-
color: findItem == null ? void 0 : findItem.color,
|
|
56
|
-
textCls: findItem == null ? void 0 : findItem.textCls
|
|
57
|
-
};
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}, {
|
|
62
|
-
immediate: true
|
|
63
|
-
});
|
|
64
|
-
const emptyText = props.codeList.emptyText === "\u672A\u5B9A\u4E49" ? "- - -" : props.codeList.emptyText;
|
|
65
|
-
return {
|
|
66
|
-
items,
|
|
67
|
-
ns,
|
|
68
|
-
emptyText
|
|
69
|
-
};
|
|
70
|
-
},
|
|
71
|
-
render() {
|
|
72
|
-
return vue.createVNode("span", {
|
|
73
|
-
"class": this.ns.b()
|
|
74
|
-
}, [this.items.length === 0 ? this.emptyText : this.items.map((item, index) => {
|
|
75
|
-
var _a;
|
|
76
|
-
return [index !== 0 ? (_a = this.codeList) == null ? void 0 : _a.textSeparator : null, vue.createVNode("span", {
|
|
77
|
-
"class": [this.ns.e("item"), item.textCls ? item.textCls : null],
|
|
78
|
-
"style": this.ns.cssVarBlock({
|
|
79
|
-
"item-color": `${item.color}`
|
|
80
|
-
})
|
|
81
|
-
}, [item.text])];
|
|
82
|
-
})]);
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
exports.IBizCodeList = IBizCodeList;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-code-list__item{color:var(--ibiz-code-list-item-color)}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var ramda = require('ramda');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const IBizControlBase = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
-
name: "IBizControlBase",
|
|
10
|
-
props: {
|
|
11
|
-
controller: {
|
|
12
|
-
type: Object,
|
|
13
|
-
required: true
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setup(props) {
|
|
17
|
-
const ns = vue3Util.useNamespace("control");
|
|
18
|
-
const {
|
|
19
|
-
controlType,
|
|
20
|
-
sysCss,
|
|
21
|
-
codeName
|
|
22
|
-
} = props.controller.model;
|
|
23
|
-
const typeClass = controlType.toLowerCase();
|
|
24
|
-
const sysCssName = sysCss == null ? void 0 : sysCss.cssName;
|
|
25
|
-
const model = props.controller.model;
|
|
26
|
-
const controls = props.controller.model.controls;
|
|
27
|
-
const onLayoutPanelCreated = (controller) => {
|
|
28
|
-
props.controller.setLayoutPanel(controller);
|
|
29
|
-
};
|
|
30
|
-
const inlineStyle = vue.reactive({});
|
|
31
|
-
if (model.controlType.endsWith("EXPBAR") === false) {
|
|
32
|
-
if (!ramda.isNil(model.width)) {
|
|
33
|
-
inlineStyle.width = `${model.width}px`;
|
|
34
|
-
}
|
|
35
|
-
if (!ramda.isNil(model.height)) {
|
|
36
|
-
inlineStyle.height = `${model.height}px`;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
ns,
|
|
41
|
-
typeClass,
|
|
42
|
-
sysCssName,
|
|
43
|
-
inlineStyle,
|
|
44
|
-
codeName,
|
|
45
|
-
controls,
|
|
46
|
-
onLayoutPanelCreated
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
render() {
|
|
50
|
-
var _a, _b, _c;
|
|
51
|
-
const {
|
|
52
|
-
state,
|
|
53
|
-
controlPanel,
|
|
54
|
-
providers
|
|
55
|
-
} = this.controller;
|
|
56
|
-
let layoutPanel = null;
|
|
57
|
-
if (state.isCreated && controlPanel) {
|
|
58
|
-
const slots = {
|
|
59
|
-
...this.$slots
|
|
60
|
-
};
|
|
61
|
-
if ((_a = this.controls) == null ? void 0 : _a.length) {
|
|
62
|
-
this.controls.forEach((ctrl) => {
|
|
63
|
-
const slotKey = ctrl.name;
|
|
64
|
-
const ctrlProps = {
|
|
65
|
-
context: this.controller.context,
|
|
66
|
-
params: this.controller.params
|
|
67
|
-
};
|
|
68
|
-
const outCtrlSlot = slots[slotKey];
|
|
69
|
-
if (outCtrlSlot) {
|
|
70
|
-
slots[slotKey] = () => {
|
|
71
|
-
return outCtrlSlot(ctrlProps);
|
|
72
|
-
};
|
|
73
|
-
} else {
|
|
74
|
-
slots[slotKey] = () => {
|
|
75
|
-
const comp = vue.resolveComponent("IBizControlShell");
|
|
76
|
-
return vue.h(comp, {
|
|
77
|
-
modelData: ctrl,
|
|
78
|
-
...ctrlProps
|
|
79
|
-
});
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
const provider = providers[controlPanel.name];
|
|
85
|
-
layoutPanel = vue.h(vue.resolveComponent(provider.component), {
|
|
86
|
-
modelData: controlPanel,
|
|
87
|
-
context: this.controller.context,
|
|
88
|
-
params: this.controller.params,
|
|
89
|
-
provider,
|
|
90
|
-
onControllerAppear: this.onLayoutPanelCreated
|
|
91
|
-
}, slots);
|
|
92
|
-
}
|
|
93
|
-
return vue.createVNode("div", {
|
|
94
|
-
"class": [this.ns.b(), this.ns.b(this.typeClass), this.ns.m(this.codeName), this.sysCssName],
|
|
95
|
-
"style": this.inlineStyle
|
|
96
|
-
}, [layoutPanel || ((_c = (_b = this.$slots).default) == null ? void 0 : _c.call(_b))]);
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
exports.IBizControlBase = IBizControlBase;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-control{width:100%;height:100%}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
const ControlLoadingPlaceholder = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
-
name: "ControlLoadingPlaceholder",
|
|
8
|
-
props: {
|
|
9
|
-
modelData: {
|
|
10
|
-
type: Object,
|
|
11
|
-
required: true
|
|
12
|
-
},
|
|
13
|
-
context: {
|
|
14
|
-
type: Object,
|
|
15
|
-
required: true
|
|
16
|
-
},
|
|
17
|
-
params: {
|
|
18
|
-
type: Object,
|
|
19
|
-
default: () => ({})
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setup(props) {
|
|
23
|
-
const ctx = vue.inject("ctx");
|
|
24
|
-
ctx.evt.emit("onForecast", props.modelData.name);
|
|
25
|
-
return {};
|
|
26
|
-
},
|
|
27
|
-
render() {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
exports.ControlLoadingPlaceholder = ControlLoadingPlaceholder;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var runtime = require('@ibiz-template/runtime');
|
|
5
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
-
require('./control-shell.css');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
const IBizControlShell = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
name: "IBizControlShell",
|
|
11
|
-
props: {
|
|
12
|
-
modelData: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: true
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(props) {
|
|
18
|
-
const ctx = vue.inject("ctx");
|
|
19
|
-
ctx.evt.emit("onForecast", props.modelData.name);
|
|
20
|
-
const isComplete = vue.ref(false);
|
|
21
|
-
const errMsg = vue.ref("");
|
|
22
|
-
const provider = vue.ref();
|
|
23
|
-
runtime.getControlProvider(props.modelData).then((item) => {
|
|
24
|
-
if (!item) {
|
|
25
|
-
errMsg.value = `\u672A\u627E\u5230\u5BF9\u5E94\u90E8\u4EF6\u7684\u9002\u914D\u5668`;
|
|
26
|
-
} else {
|
|
27
|
-
provider.value = item;
|
|
28
|
-
}
|
|
29
|
-
isComplete.value = true;
|
|
30
|
-
}).catch((err) => {
|
|
31
|
-
ibiz.log.error(err);
|
|
32
|
-
errMsg.value = err.message;
|
|
33
|
-
isComplete.value = true;
|
|
34
|
-
});
|
|
35
|
-
const ns = vue3Util.useNamespace("control-shell");
|
|
36
|
-
return {
|
|
37
|
-
ns,
|
|
38
|
-
isComplete,
|
|
39
|
-
errMsg,
|
|
40
|
-
provider
|
|
41
|
-
};
|
|
42
|
-
},
|
|
43
|
-
render() {
|
|
44
|
-
if (this.isComplete && this.provider) {
|
|
45
|
-
return vue.h(vue.resolveComponent(this.provider.component), {
|
|
46
|
-
provider: this.provider,
|
|
47
|
-
...this.$props,
|
|
48
|
-
...this.$attrs
|
|
49
|
-
}, this.$slots);
|
|
50
|
-
}
|
|
51
|
-
return vue.withDirectives(vue.createVNode("div", {
|
|
52
|
-
"class": this.ns.b()
|
|
53
|
-
}, [this.isComplete ? this.errMsg : null]), [[vue.resolveDirective("loading"), !this.isComplete]]);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
exports.IBizControlShell = IBizControlShell;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-control-shell{position:relative;width:100%;height:100%}
|
package/lib/common/icon/icon.cjs
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var core = require('@ibiz-template/core');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
const IBizIcon = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
-
name: "IBizIcon",
|
|
10
|
-
props: {
|
|
11
|
-
icon: {
|
|
12
|
-
type: Object
|
|
13
|
-
},
|
|
14
|
-
size: {
|
|
15
|
-
type: String
|
|
16
|
-
},
|
|
17
|
-
baseDir: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "images"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setup(props) {
|
|
23
|
-
const ns = vue3Util.useNamespace("icon");
|
|
24
|
-
const BaseUrl = `${ibiz.env.assetsUrl}/${props.baseDir}/`;
|
|
25
|
-
function getContent(icon) {
|
|
26
|
-
if (icon) {
|
|
27
|
-
if (icon.htmlStr) {
|
|
28
|
-
return vue.createVNode("span", {
|
|
29
|
-
"class": ns.b(),
|
|
30
|
-
"innerHTML": icon.htmlStr
|
|
31
|
-
}, null);
|
|
32
|
-
}
|
|
33
|
-
if (icon.cssClass) {
|
|
34
|
-
if (icon.cssClass.indexOf("fa-") !== -1) {
|
|
35
|
-
return vue.createVNode("i", {
|
|
36
|
-
"class": [ns.b(), icon.cssClass]
|
|
37
|
-
}, null);
|
|
38
|
-
}
|
|
39
|
-
return vue.createVNode("ion-icon", {
|
|
40
|
-
"class": ns.b(),
|
|
41
|
-
"name": icon.cssClass
|
|
42
|
-
}, null);
|
|
43
|
-
}
|
|
44
|
-
if (icon.imagePath) {
|
|
45
|
-
if (icon.imagePath.endsWith("svg")) {
|
|
46
|
-
if (icon.imagePath.startsWith("http")) {
|
|
47
|
-
return vue.createVNode("img", {
|
|
48
|
-
"class": ns.b(),
|
|
49
|
-
"src": icon.imagePath
|
|
50
|
-
}, null);
|
|
51
|
-
}
|
|
52
|
-
return vue.createVNode("ion-icon", {
|
|
53
|
-
"src": BaseUrl + icon.imagePath,
|
|
54
|
-
"class": ns.b()
|
|
55
|
-
}, null);
|
|
56
|
-
}
|
|
57
|
-
if (icon.imagePath.startsWith("http")) {
|
|
58
|
-
return vue.createVNode("img", {
|
|
59
|
-
"class": ns.b(),
|
|
60
|
-
"src": icon.imagePath
|
|
61
|
-
}, null);
|
|
62
|
-
}
|
|
63
|
-
return vue.createVNode("img", {
|
|
64
|
-
"class": ns.b(),
|
|
65
|
-
"src": BaseUrl + icon.imagePath
|
|
66
|
-
}, null);
|
|
67
|
-
}
|
|
68
|
-
if (icon.rawContent) {
|
|
69
|
-
if (core.isSvg(icon.rawContent)) {
|
|
70
|
-
return vue.createVNode("div", {
|
|
71
|
-
"class": ns.b(),
|
|
72
|
-
"innerHTML": icon.rawContent
|
|
73
|
-
}, null);
|
|
74
|
-
}
|
|
75
|
-
return vue.createVNode("img", {
|
|
76
|
-
"class": ns.b(),
|
|
77
|
-
"src": icon.rawContent
|
|
78
|
-
}, null);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
return null;
|
|
82
|
-
}
|
|
83
|
-
const content = vue.computed(() => {
|
|
84
|
-
return getContent(props.icon);
|
|
85
|
-
});
|
|
86
|
-
return () => content.value;
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
exports.IBizIcon = IBizIcon;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var ramda = require('ramda');
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
const IBizRouterView = /* @__PURE__ */ vue.defineComponent({
|
|
8
|
-
name: "IBizRouterView",
|
|
9
|
-
inheritAttrs: false,
|
|
10
|
-
props: {
|
|
11
|
-
name: {
|
|
12
|
-
type: String,
|
|
13
|
-
default: "default"
|
|
14
|
-
},
|
|
15
|
-
route: Object,
|
|
16
|
-
manualKey: {
|
|
17
|
-
type: String
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
setup(props, {
|
|
21
|
-
attrs
|
|
22
|
-
}) {
|
|
23
|
-
const cache = {};
|
|
24
|
-
let isActive = true;
|
|
25
|
-
vue.watch(() => props.manualKey, (newVal, oldVal) => {
|
|
26
|
-
if (ramda.isNotNil(newVal) && newVal !== oldVal) {
|
|
27
|
-
isActive = true;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
const renderComp = (Component, _route) => {
|
|
31
|
-
if (!isActive) {
|
|
32
|
-
return cache.vNode;
|
|
33
|
-
}
|
|
34
|
-
isActive = false;
|
|
35
|
-
if (Component) {
|
|
36
|
-
const tempProps = {
|
|
37
|
-
...Component.props
|
|
38
|
-
};
|
|
39
|
-
delete tempProps.onVnodeUnmounted;
|
|
40
|
-
delete tempProps.ref;
|
|
41
|
-
const hNode = vue.h(Component.type, {
|
|
42
|
-
...tempProps,
|
|
43
|
-
...attrs,
|
|
44
|
-
key: props.manualKey
|
|
45
|
-
});
|
|
46
|
-
cache.vNode = hNode;
|
|
47
|
-
return hNode;
|
|
48
|
-
}
|
|
49
|
-
return void 0;
|
|
50
|
-
};
|
|
51
|
-
return {
|
|
52
|
-
renderComp
|
|
53
|
-
};
|
|
54
|
-
},
|
|
55
|
-
render() {
|
|
56
|
-
return vue.createVNode(vue.resolveComponent("router-view"), {
|
|
57
|
-
"name": this.name,
|
|
58
|
-
"route": this.route
|
|
59
|
-
}, {
|
|
60
|
-
default: ({
|
|
61
|
-
Component,
|
|
62
|
-
route
|
|
63
|
-
}) => {
|
|
64
|
-
const newComp = this.renderComp(Component, route);
|
|
65
|
-
if (this.$slots.default) {
|
|
66
|
-
return this.$slots.default({
|
|
67
|
-
Component: newComp,
|
|
68
|
-
route
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
return newComp;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
exports.IBizRouterView = IBizRouterView;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var runtime = require('@ibiz-template/runtime');
|
|
5
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
-
require('./view-shell.css');
|
|
7
|
-
var core = require('@ibiz-template/core');
|
|
8
|
-
|
|
9
|
-
"use strict";
|
|
10
|
-
const IBizViewShell = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
-
name: "IBizViewShell",
|
|
12
|
-
props: {
|
|
13
|
-
context: {
|
|
14
|
-
type: Object,
|
|
15
|
-
required: true
|
|
16
|
-
},
|
|
17
|
-
params: {
|
|
18
|
-
type: Object
|
|
19
|
-
},
|
|
20
|
-
modelData: {
|
|
21
|
-
type: Object
|
|
22
|
-
},
|
|
23
|
-
viewId: {
|
|
24
|
-
type: String
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
setup(props) {
|
|
28
|
-
const ns = vue3Util.useNamespace("view-shell");
|
|
29
|
-
const isComplete = vue.ref(false);
|
|
30
|
-
const errMsg = vue.ref("");
|
|
31
|
-
const provider = vue.ref();
|
|
32
|
-
const viewModelData = vue.ref();
|
|
33
|
-
const init = async () => {
|
|
34
|
-
let viewModel;
|
|
35
|
-
if (props.modelData) {
|
|
36
|
-
viewModel = props.modelData;
|
|
37
|
-
} else {
|
|
38
|
-
viewModel = await ibiz.hub.getAppView(props.viewId);
|
|
39
|
-
}
|
|
40
|
-
if (!viewModel) {
|
|
41
|
-
throw new core.RuntimeError("\u672A\u627E\u5230\u89C6\u56FE\u6A21\u578B");
|
|
42
|
-
}
|
|
43
|
-
viewModelData.value = viewModel;
|
|
44
|
-
try {
|
|
45
|
-
provider.value = await runtime.getViewProvider(viewModel);
|
|
46
|
-
} catch (error) {
|
|
47
|
-
ibiz.log.error(error);
|
|
48
|
-
errMsg.value = error.message;
|
|
49
|
-
} finally {
|
|
50
|
-
isComplete.value = true;
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
init();
|
|
54
|
-
return {
|
|
55
|
-
ns,
|
|
56
|
-
isComplete,
|
|
57
|
-
errMsg,
|
|
58
|
-
viewModelData,
|
|
59
|
-
provider
|
|
60
|
-
};
|
|
61
|
-
},
|
|
62
|
-
render() {
|
|
63
|
-
if (this.isComplete && this.provider) {
|
|
64
|
-
return vue.h(vue.resolveComponent(this.provider.component), {
|
|
65
|
-
context: this.$props.context,
|
|
66
|
-
params: this.$props.params,
|
|
67
|
-
modelData: this.viewModelData,
|
|
68
|
-
...this.$attrs,
|
|
69
|
-
provider: this.provider
|
|
70
|
-
}, this.$slots);
|
|
71
|
-
}
|
|
72
|
-
return vue.withDirectives(vue.createVNode("div", {
|
|
73
|
-
"class": this.ns.b()
|
|
74
|
-
}, [this.isComplete ? this.errMsg : null]), [[vue.resolveDirective("loading"), !this.isComplete]]);
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
exports.IBizViewShell = IBizViewShell;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-view-shell{position:relative;width:100%;height:100%}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var gridContainer_controller = require('./grid-container.controller.cjs');
|
|
6
|
-
require('./grid-container.css');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
function _isSlot(s) {
|
|
10
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
11
|
-
}
|
|
12
|
-
const GridContainer = /* @__PURE__ */ vue.defineComponent({
|
|
13
|
-
name: "IBizGridContainer",
|
|
14
|
-
props: {
|
|
15
|
-
modelData: {
|
|
16
|
-
type: Object,
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
controller: {
|
|
20
|
-
type: gridContainer_controller.GridContainerController,
|
|
21
|
-
required: true
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(props) {
|
|
25
|
-
const ns = vue3Util.useNamespace("grid-container");
|
|
26
|
-
const {
|
|
27
|
-
id
|
|
28
|
-
} = props.modelData;
|
|
29
|
-
const classArr = vue.computed(() => {
|
|
30
|
-
let result = [ns.b(), ns.m(id)];
|
|
31
|
-
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
32
|
-
return result;
|
|
33
|
-
});
|
|
34
|
-
const layoutModel = vue.computed(() => {
|
|
35
|
-
return {
|
|
36
|
-
...props.modelData.layout,
|
|
37
|
-
layout: "TABLE_12COL"
|
|
38
|
-
};
|
|
39
|
-
});
|
|
40
|
-
const convertLayoutPos = (layoutPos, adaptGrow2) => {
|
|
41
|
-
const result = {
|
|
42
|
-
...layoutPos,
|
|
43
|
-
layout: "TABLE_12COL",
|
|
44
|
-
colXS: layoutPos.grow || adaptGrow2,
|
|
45
|
-
colSM: layoutPos.grow || adaptGrow2,
|
|
46
|
-
colMD: layoutPos.grow || adaptGrow2,
|
|
47
|
-
colLG: layoutPos.grow || adaptGrow2
|
|
48
|
-
};
|
|
49
|
-
delete result.grow;
|
|
50
|
-
return result;
|
|
51
|
-
};
|
|
52
|
-
const adaptCols = vue.ref(void 0);
|
|
53
|
-
const adaptGrow = vue.ref(12);
|
|
54
|
-
return {
|
|
55
|
-
ns,
|
|
56
|
-
classArr,
|
|
57
|
-
layoutModel,
|
|
58
|
-
convertLayoutPos,
|
|
59
|
-
adaptGrow,
|
|
60
|
-
adaptCols
|
|
61
|
-
};
|
|
62
|
-
},
|
|
63
|
-
render() {
|
|
64
|
-
var _a, _b;
|
|
65
|
-
let _slot;
|
|
66
|
-
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
67
|
-
if (this.adaptCols === void 0) {
|
|
68
|
-
let currentGrow = 0;
|
|
69
|
-
let adaptCols = 0;
|
|
70
|
-
defaultSlots.forEach((slot) => {
|
|
71
|
-
const props = slot.props;
|
|
72
|
-
if (props && props.modelData && props.modelData.layoutPos) {
|
|
73
|
-
if (typeof props.modelData.layoutPos.grow === "number") {
|
|
74
|
-
currentGrow += props.modelData.layoutPos.grow;
|
|
75
|
-
} else if (typeof props.modelData.layoutPos.grow === "undefined") {
|
|
76
|
-
adaptCols += 1;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
let adaptGrow = 12;
|
|
81
|
-
if (adaptCols > 0) {
|
|
82
|
-
adaptGrow = (12 - currentGrow) / adaptCols;
|
|
83
|
-
}
|
|
84
|
-
this.adaptCols = adaptCols;
|
|
85
|
-
this.adaptGrow = adaptGrow;
|
|
86
|
-
}
|
|
87
|
-
return vue.createVNode(vue.resolveComponent("iBizRow"), {
|
|
88
|
-
"class": this.classArr,
|
|
89
|
-
"layout": this.layoutModel
|
|
90
|
-
}, _isSlot(_slot = defaultSlots.map((slot) => {
|
|
91
|
-
const props = slot.props;
|
|
92
|
-
if (!props || !props.controller) {
|
|
93
|
-
return slot;
|
|
94
|
-
}
|
|
95
|
-
return vue.createVNode(vue.resolveComponent("iBizCol"), {
|
|
96
|
-
"layoutPos": this.convertLayoutPos(props.modelData.layoutPos, this.adaptGrow),
|
|
97
|
-
"state": props.controller.state
|
|
98
|
-
}, _isSlot(slot) ? slot : {
|
|
99
|
-
default: () => [slot]
|
|
100
|
-
});
|
|
101
|
-
})) ? _slot : {
|
|
102
|
-
default: () => [_slot]
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
exports.GridContainer = GridContainer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
var gridContainer_state = require('./grid-container.state.cjs');
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
class GridContainerController extends runtime.PanelItemController {
|
|
8
|
-
createState() {
|
|
9
|
-
var _a;
|
|
10
|
-
return new gridContainer_state.GridContainerState((_a = this.parent) == null ? void 0 : _a.state);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
exports.GridContainerController = GridContainerController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-grid-container{--ibiz-grid-container-bg-color:var(--ibiz-bg-color-overlay);--ibiz-grid-container-padding:var(--ibiz-padding);width:100%;height:100%;overflow:auto}.ibiz-grid-container.is-hidden{display:none}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var gridContainer_controller = require('./grid-container.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class GridContainerProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizGridContainer");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new gridContainer_controller.GridContainerController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.GridContainerProvider = GridContainerProvider;
|