@ibiz-template/mob-vue3-components 0.0.55 → 0.7.41-alpha.7
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/chart-GD7RhhzY.js.map +1 -1
- package/dist/ibiz-markdown-editor-KT8uap_I.js.map +1 -1
- package/dist/index-komJV5bQ.js +76 -0
- package/dist/index-komJV5bQ.js.map +1 -0
- package/dist/index.min.css +3 -3
- package/dist/index.system.min.js +1 -1
- package/dist/{quill-t_EJUjVi.js → quill-O7hIDmrl.js} +2 -2
- package/dist/{quill-t_EJUjVi.js.map → quill-O7hIDmrl.js.map} +1 -1
- package/dist/{quill-editor-ybZrwyoG.js → quill-editor-BMC0diFC.js} +2 -2
- package/dist/quill-editor-BMC0diFC.js.map +1 -0
- package/dist/{quill-editor-preview-G9EjDfQE.js → quill-editor-preview-Dui7L0ne.js} +2 -2
- package/dist/{quill-editor-preview-G9EjDfQE.js.map → quill-editor-preview-Dui7L0ne.js.map} +1 -1
- package/dist/tree-nburezSg.js.map +1 -1
- package/es/_virtual/index12.mjs +2 -2
- package/es/_virtual/index13.mjs +2 -2
- package/es/common/carousel/carousel.d.ts +2 -2
- package/es/common/cropping/cropping.d.ts +4 -4
- package/es/common/date-range-picker/date-range-picker.d.ts +1 -1
- package/es/common/emoji-select/components/categories/categories.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-item/emoji-item.d.ts +3 -3
- package/es/common/emoji-select/components/emoji-list/emoji-list.d.ts +7 -7
- package/es/common/emoji-select/emoji-select.d.ts +3 -3
- package/es/common/preset-view-back/preset-view-back.d.ts +2 -2
- package/es/common/preset-view-header/preset-view-header.d.ts +1 -1
- package/es/common/rawitem/rawitem.d.ts +2 -2
- package/es/control/app-menu/app-menu.d.ts +31 -5
- package/es/control/app-menu/app-menu.mjs +13 -0
- package/es/control/app-menu/index.d.ts +6 -6
- package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +5 -5
- package/es/control/app-menu-icon-view/index.d.ts +5 -5
- package/es/control/app-menu-list-view/app-menu-list-view.d.ts +5 -5
- package/es/control/app-menu-list-view/index.d.ts +5 -5
- package/es/control/calendar/calendar.d.ts +46 -6
- package/es/control/calendar/calendar.mjs +20 -0
- package/es/control/calendar/index.d.ts +7 -7
- package/es/control/caption-bar/caption-bar.d.ts +31 -5
- package/es/control/caption-bar/caption-bar.mjs +13 -0
- package/es/control/caption-bar/index.d.ts +5 -5
- package/es/control/chart/chart.d.ts +45 -5
- package/es/control/chart/chart.mjs +20 -0
- package/es/control/dashboard/dashboard.d.ts +32 -6
- package/es/control/dashboard/dashboard.mjs +13 -0
- package/es/control/dashboard/index.d.ts +6 -6
- package/es/control/data-view/data-view.d.ts +47 -5
- package/es/control/data-view/data-view.mjs +21 -0
- package/es/control/data-view/index.d.ts +5 -5
- package/es/control/drbar/drbar.d.ts +43 -14
- package/es/control/drbar/drbar.mjs +19 -4
- package/es/control/drbar/index.d.ts +5 -14
- package/es/control/drtab/drtab.d.ts +31 -5
- package/es/control/drtab/drtab.mjs +13 -0
- package/es/control/drtab/index.d.ts +5 -5
- package/es/control/form/edit-form/edit-form.mjs +23 -0
- package/es/control/form/form/form.d.ts +7 -1
- package/es/control/form/form/form.mjs +3 -0
- package/es/control/form/form/index.d.ts +1 -1
- package/es/control/form/form-detail/form-item/form-item.d.ts +2 -2
- package/es/control/form/form-detail/form-item/index.d.ts +2 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.d.ts +3 -3
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +3 -3
- package/es/control/form/search-form/index.d.ts +5 -5
- package/es/control/form/search-form/search-form.d.ts +31 -5
- package/es/control/form/search-form/search-form.mjs +13 -0
- package/es/control/list/list/index.d.ts +5 -5
- package/es/control/list/list/list.d.ts +79 -5
- package/es/control/list/list/list.mjs +37 -0
- package/es/control/list/md-ctrl/index.d.ts +7 -7
- package/es/control/list/md-ctrl/md-ctrl.d.ts +69 -7
- package/es/control/list/md-ctrl/md-ctrl.mjs +31 -0
- package/es/control/pickup-view-panel/index.d.ts +7 -7
- package/es/control/pickup-view-panel/pickup-view-panel.d.ts +47 -7
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +20 -0
- package/es/control/search-bar/filter-field-select/filter-field-select.d.ts +3 -3
- package/es/control/search-bar/filter-tree/filter-tree.d.ts +4 -4
- package/es/control/search-bar/index.d.ts +5 -5
- package/es/control/search-bar/search-bar.d.ts +31 -5
- package/es/control/search-bar/search-bar.mjs +13 -0
- package/es/control/tab-exp-panel/index.d.ts +5 -5
- package/es/control/tab-exp-panel/tab-exp-panel.d.ts +37 -5
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +16 -0
- package/es/control/toolbar/index.d.ts +5 -5
- package/es/control/toolbar/popper-toolbar/popper-toolbar.d.ts +6 -6
- package/es/control/toolbar/toolbar.d.ts +31 -5
- package/es/control/toolbar/toolbar.mjs +13 -0
- package/es/control/tree/tree.d.ts +48 -6
- package/es/control/tree/tree.mjs +21 -0
- package/es/control/tree-exp-bar/index.d.ts +5 -5
- package/es/control/tree-exp-bar/tree-exp-bar.d.ts +49 -5
- package/es/control/tree-exp-bar/tree-exp-bar.mjs +22 -0
- package/es/control/wizard-panel/index.d.ts +5 -5
- package/es/control/wizard-panel/wizard-panel.d.ts +31 -5
- package/es/control/wizard-panel/wizard-panel.mjs +13 -0
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +22 -13
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +17 -8
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +16 -9
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +15 -8
- package/es/editor/common/data-mpicker/ibiz-data-mpicker.d.ts +4 -4
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +17 -10
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +16 -9
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +17 -9
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +15 -8
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +20 -8
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +18 -11
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +17 -10
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.d.ts +15 -8
- package/es/editor/html/quill-editor/quill-editor.d.ts +15 -0
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +9 -0
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +22 -8
- package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.d.ts +15 -8
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +16 -9
- package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +16 -8
- package/es/editor/raw/ibiz-raw/ibiz-raw.d.ts +17 -8
- package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +23 -8
- package/es/editor/span/span/span.d.ts +15 -3
- package/es/editor/span/span-link/span-link.d.ts +16 -8
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +20 -8
- package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +16 -8
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +17 -8
- package/es/editor/text-box/input/input.d.ts +16 -8
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +19 -8
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +24 -12
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.d.ts +27 -13
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +18 -8
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +24 -12
- package/es/locale/en/index.d.ts +20 -0
- package/es/locale/zh-CN/index.d.ts +20 -0
- package/es/mob-app/App.mjs +2 -1
- package/es/mob-app/components/router-shell/router-shell.d.ts +3 -3
- package/es/mob-app/guard/auth-guard/auth-guard.mjs +46 -53
- package/es/mob-app/main.mjs +1 -0
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.mjs +1 -1
- package/es/panel-component/async-action/index.d.ts +2 -2
- package/es/panel-component/async-action/mob-async-action.d.ts +7 -2
- package/es/panel-component/auth-sso/auth-sso.d.ts +18 -0
- package/es/panel-component/auth-sso/auth-sso.mjs +6 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.d.ts +18 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +6 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.d.ts +23 -37
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +23 -37
- package/es/panel-component/nav-pos-index/nav-pos-index.d.ts +18 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +6 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.state.d.ts +8 -12
- package/es/panel-component/nav-pos-index/nav-pos-index.state.mjs +8 -12
- package/es/panel-component/panel-app-title/panel-app-title.controller.d.ts +3 -2
- package/es/panel-component/panel-app-title/panel-app-title.controller.mjs +1 -0
- package/es/panel-component/panel-app-title/panel-app-title.d.ts +17 -0
- package/es/panel-component/panel-app-title/panel-app-title.mjs +6 -0
- package/es/panel-component/panel-app-title/panel-app-title.state.d.ts +14 -28
- package/es/panel-component/panel-app-title/panel-app-title.state.mjs +14 -28
- package/es/panel-component/panel-button/panel-button.controller.d.ts +4 -5
- package/es/panel-component/panel-button/panel-button.controller.mjs +2 -3
- package/es/panel-component/panel-button/panel-button.d.ts +17 -0
- package/es/panel-component/panel-button/panel-button.mjs +6 -0
- package/es/panel-component/panel-button/panel-button.state.d.ts +4 -6
- package/es/panel-component/panel-button/panel-button.state.mjs +4 -6
- package/es/panel-component/panel-button-list/panel-button-list.controller.d.ts +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.controller.mjs +4 -5
- package/es/panel-component/panel-button-list/panel-button-list.d.ts +17 -0
- package/es/panel-component/panel-button-list/panel-button-list.mjs +6 -0
- package/es/panel-component/panel-button-list/panel-button-list.state.d.ts +2 -2
- package/es/panel-component/panel-button-list/panel-button-list.state.mjs +2 -2
- package/es/panel-component/panel-carousel/index.d.ts +2 -2
- package/es/panel-component/panel-carousel/panel-carousel.controller.d.ts +2 -4
- package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +2 -4
- package/es/panel-component/panel-carousel/panel-carousel.d.ts +19 -2
- package/es/panel-component/panel-carousel/panel-carousel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +2 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +2 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +17 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +6 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +2 -4
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +2 -4
- package/es/panel-component/panel-video-player/panel-video-player.controller.d.ts +2 -4
- package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -4
- package/es/panel-component/panel-video-player/panel-video-player.d.ts +11 -0
- package/es/panel-component/panel-video-player/panel-video-player.mjs +3 -0
- package/es/panel-component/user-message/index.d.ts +2 -2
- package/es/panel-component/user-message/user-message.d.ts +7 -2
- package/es/panel-component/view-content-panel-container/view-content-panel-container.d.ts +5 -0
- package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +6 -0
- package/es/panel-component/view-footer-panel-container/view-footer-panel-container.d.ts +17 -0
- package/es/panel-component/view-footer-panel-container/view-footer-panel-container.mjs +6 -0
- package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +17 -0
- package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +6 -0
- package/es/panel-component/wf-action-button/index.d.ts +1 -1
- package/es/panel-component/wf-action-button/wf-action-button.controller.d.ts +4 -6
- package/es/panel-component/wf-action-button/wf-action-button.controller.mjs +2 -4
- package/es/panel-component/wf-action-button/wf-action-button.d.ts +17 -0
- package/es/panel-component/wf-action-button/wf-action-button.mjs +6 -0
- package/es/panel-component/wf-action-button/wf-action-button.state.d.ts +2 -4
- package/es/panel-component/wf-action-button/wf-action-button.state.mjs +2 -4
- package/es/panel-component/wf-step-trace/index.d.ts +1 -1
- package/es/panel-component/wf-step-trace/wf-step-trace.controller.d.ts +2 -4
- package/es/panel-component/wf-step-trace/wf-step-trace.controller.mjs +2 -4
- package/es/panel-component/wf-step-trace/wf-step-trace.d.ts +12 -1
- package/es/panel-component/wf-step-trace/wf-step-trace.mjs +3 -0
- package/es/panel-component/wf-step-trace/wf-step-trace.state.d.ts +2 -4
- package/es/panel-component/wf-step-trace/wf-step-trace.state.mjs +2 -4
- package/es/util/app-drawer/app-drawer-component.d.ts +1 -1
- package/es/util/app-modal/app-modal-component.d.ts +2 -2
- package/es/util/app-util/app-util.d.ts +7 -0
- package/es/util/app-util/app-util.mjs +11 -0
- package/es/util/scan-qrcode/scan-qrcode.d.ts +3 -3
- package/es/view/login-view/login-view.d.ts +1 -1
- package/es/view/portal-view/index.d.ts +7 -7
- package/es/view/portal-view/portal-view.d.ts +7 -7
- package/lib/_virtual/index12.cjs +2 -2
- package/lib/_virtual/index13.cjs +2 -2
- package/lib/control/app-menu/app-menu.cjs +13 -0
- package/lib/control/calendar/calendar.cjs +20 -0
- package/lib/control/caption-bar/caption-bar.cjs +13 -0
- package/lib/control/chart/chart.cjs +20 -0
- package/lib/control/dashboard/dashboard.cjs +13 -0
- package/lib/control/data-view/data-view.cjs +21 -0
- package/lib/control/drbar/drbar.cjs +19 -4
- package/lib/control/drtab/drtab.cjs +13 -0
- package/lib/control/form/edit-form/edit-form.cjs +23 -0
- package/lib/control/form/form/form.cjs +3 -0
- package/lib/control/form/search-form/search-form.cjs +13 -0
- package/lib/control/list/list/list.cjs +37 -0
- package/lib/control/list/md-ctrl/md-ctrl.cjs +31 -0
- package/lib/control/pickup-view-panel/pickup-view-panel.cjs +20 -0
- package/lib/control/search-bar/search-bar.cjs +13 -0
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +16 -0
- package/lib/control/toolbar/toolbar.cjs +13 -0
- package/lib/control/tree/tree.cjs +21 -0
- package/lib/control/tree-exp-bar/tree-exp-bar.cjs +22 -0
- package/lib/control/wizard-panel/wizard-panel.cjs +13 -0
- package/lib/mob-app/App.cjs +1 -0
- package/lib/mob-app/guard/auth-guard/auth-guard.cjs +46 -53
- package/lib/mob-app/main.cjs +1 -0
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.0.38/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.cjs +1 -1
- package/lib/panel-component/auth-sso/auth-sso.cjs +6 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +6 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +6 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +23 -37
- package/lib/panel-component/nav-pos-index/nav-pos-index.state.cjs +8 -12
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +6 -0
- package/lib/panel-component/panel-app-title/panel-app-title.controller.cjs +1 -0
- package/lib/panel-component/panel-app-title/panel-app-title.state.cjs +14 -28
- package/lib/panel-component/panel-button/panel-button.cjs +6 -0
- package/lib/panel-component/panel-button/panel-button.controller.cjs +2 -3
- package/lib/panel-component/panel-button/panel-button.state.cjs +4 -6
- package/lib/panel-component/panel-button-list/panel-button-list.cjs +6 -0
- package/lib/panel-component/panel-button-list/panel-button-list.controller.cjs +4 -5
- package/lib/panel-component/panel-button-list/panel-button-list.state.cjs +2 -2
- package/lib/panel-component/panel-carousel/panel-carousel.cjs +6 -0
- package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +2 -4
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +6 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +2 -4
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +2 -4
- package/lib/panel-component/panel-video-player/panel-video-player.cjs +3 -0
- package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -4
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +6 -0
- package/lib/panel-component/view-footer-panel-container/view-footer-panel-container.cjs +6 -0
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.cjs +6 -0
- package/lib/panel-component/wf-action-button/wf-action-button.cjs +6 -0
- package/lib/panel-component/wf-action-button/wf-action-button.controller.cjs +2 -4
- package/lib/panel-component/wf-action-button/wf-action-button.state.cjs +2 -4
- package/lib/panel-component/wf-step-trace/wf-step-trace.cjs +3 -0
- package/lib/panel-component/wf-step-trace/wf-step-trace.controller.cjs +2 -4
- package/lib/panel-component/wf-step-trace/wf-step-trace.state.cjs +2 -4
- package/lib/util/app-util/app-util.cjs +11 -0
- package/package.json +7 -7
- package/dist/index-TfgOIExu.js +0 -76
- package/dist/index-TfgOIExu.js.map +0 -1
- package/dist/quill-editor-ybZrwyoG.js.map +0 -1
|
@@ -20,25 +20,46 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
20
|
"vs-tree": vsTreeEx.VsTreeComponent
|
|
21
21
|
},
|
|
22
22
|
props: {
|
|
23
|
+
/**
|
|
24
|
+
* @description 树控件模型数据
|
|
25
|
+
*/
|
|
23
26
|
modelData: {
|
|
24
27
|
type: Object,
|
|
25
28
|
required: true
|
|
26
29
|
},
|
|
30
|
+
/**
|
|
31
|
+
* @description 应用上下文对象
|
|
32
|
+
*/
|
|
27
33
|
context: {
|
|
28
34
|
type: Object,
|
|
29
35
|
required: true
|
|
30
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* @description 视图参数对象
|
|
39
|
+
* @default {}
|
|
40
|
+
*/
|
|
31
41
|
params: {
|
|
32
42
|
type: Object,
|
|
33
43
|
default: () => ({})
|
|
34
44
|
},
|
|
45
|
+
/**
|
|
46
|
+
* @description 部件适配器
|
|
47
|
+
*/
|
|
35
48
|
provider: {
|
|
36
49
|
type: Object
|
|
37
50
|
},
|
|
51
|
+
/**
|
|
52
|
+
* @description 部件激活模式,值为0:无激活,值为1:单击激活,值为2:双击激活
|
|
53
|
+
* @default 2
|
|
54
|
+
*/
|
|
38
55
|
mdctrlActiveMode: {
|
|
39
56
|
type: Number,
|
|
40
57
|
default: 2
|
|
41
58
|
},
|
|
59
|
+
/**
|
|
60
|
+
* @description 是否单选
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
42
63
|
singleSelect: {
|
|
43
64
|
type: Boolean,
|
|
44
65
|
default: true
|
|
@@ -13,29 +13,51 @@ function _isSlot(s) {
|
|
|
13
13
|
const TreeExpBarControl = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
name: "IBizTreeExpBarControl",
|
|
15
15
|
props: {
|
|
16
|
+
/**
|
|
17
|
+
* @description 树导航栏模型数据
|
|
18
|
+
*/
|
|
16
19
|
modelData: {
|
|
17
20
|
type: Object,
|
|
18
21
|
required: true
|
|
19
22
|
},
|
|
23
|
+
/**
|
|
24
|
+
* @description 应用上下文对象
|
|
25
|
+
*/
|
|
20
26
|
context: {
|
|
21
27
|
type: Object,
|
|
22
28
|
required: true
|
|
23
29
|
},
|
|
30
|
+
/**
|
|
31
|
+
* @description 视图参数对象
|
|
32
|
+
*/
|
|
24
33
|
params: {
|
|
25
34
|
type: Object,
|
|
26
35
|
default: () => ({})
|
|
27
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* @description 部件适配器
|
|
39
|
+
*/
|
|
28
40
|
provider: {
|
|
29
41
|
type: Object
|
|
30
42
|
},
|
|
43
|
+
/**
|
|
44
|
+
* @description 导航数据
|
|
45
|
+
*/
|
|
31
46
|
srfnav: {
|
|
32
47
|
type: String,
|
|
33
48
|
required: false
|
|
34
49
|
},
|
|
50
|
+
/**
|
|
51
|
+
* @description 是否不需要导航视图
|
|
52
|
+
*/
|
|
35
53
|
noNeedNavView: {
|
|
36
54
|
type: Boolean,
|
|
37
55
|
required: false
|
|
38
56
|
},
|
|
57
|
+
/**
|
|
58
|
+
* @description 是否默认加载数据
|
|
59
|
+
* @default true
|
|
60
|
+
*/
|
|
39
61
|
loadDefault: {
|
|
40
62
|
type: Boolean,
|
|
41
63
|
default: true
|
|
@@ -12,18 +12,31 @@ function _isSlot(s) {
|
|
|
12
12
|
const WizardPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
13
13
|
name: "IBizWizardPanelControl",
|
|
14
14
|
props: {
|
|
15
|
+
/**
|
|
16
|
+
* @description 向导面板模型数据
|
|
17
|
+
*/
|
|
15
18
|
modelData: {
|
|
16
19
|
type: Object,
|
|
17
20
|
required: true
|
|
18
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* @description 应用上下文对象
|
|
24
|
+
*/
|
|
19
25
|
context: {
|
|
20
26
|
type: Object,
|
|
21
27
|
required: true
|
|
22
28
|
},
|
|
29
|
+
/**
|
|
30
|
+
* @description 视图参数对象
|
|
31
|
+
* @default {}
|
|
32
|
+
*/
|
|
23
33
|
params: {
|
|
24
34
|
type: Object,
|
|
25
35
|
default: () => ({})
|
|
26
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* @description 部件适配器
|
|
39
|
+
*/
|
|
27
40
|
provider: {
|
|
28
41
|
type: Object
|
|
29
42
|
}
|
package/lib/mob-app/App.cjs
CHANGED
|
@@ -26,6 +26,7 @@ var App = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
26
|
vue.onUnmounted(() => {
|
|
27
27
|
off("onBeforeStackChange", onViewStackChange);
|
|
28
28
|
ibiz.platform.destroyed();
|
|
29
|
+
vue3Util.AppHooks.destoryApp.call(null);
|
|
29
30
|
});
|
|
30
31
|
const viewModals = /* @__PURE__ */ new Map();
|
|
31
32
|
const getViewModal = (key) => {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var core = require('@ibiz-template/core');
|
|
4
3
|
var modelHelper = require('@ibiz-template/model-helper');
|
|
5
4
|
var ramda = require('ramda');
|
|
6
5
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
@@ -9,8 +8,13 @@ var index = require('../../../locale/index.cjs');
|
|
|
9
8
|
var authGuardHooks = require('../auth-guard-hooks.cjs');
|
|
10
9
|
|
|
11
10
|
"use strict";
|
|
12
|
-
async function loadAppData() {
|
|
13
|
-
|
|
11
|
+
async function loadAppData(context) {
|
|
12
|
+
let res;
|
|
13
|
+
if (context && Object.keys(context).length > 0) {
|
|
14
|
+
res = await ibiz.net.get("/appdata", context);
|
|
15
|
+
} else {
|
|
16
|
+
res = await ibiz.net.get("/appdata");
|
|
17
|
+
}
|
|
14
18
|
if (res.ok) {
|
|
15
19
|
ibiz.appData = res.data;
|
|
16
20
|
devtool.updateDevToolConfig();
|
|
@@ -26,24 +30,6 @@ async function loadOrgData() {
|
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
|
-
function setRefreshToken() {
|
|
30
|
-
const token = core.getAppCookie(core.CoreConst.TOKEN);
|
|
31
|
-
const expirein = core.getAppCookie(core.CoreConst.TOKEN_EXPIRES);
|
|
32
|
-
if (token && expirein) {
|
|
33
|
-
let wait = Number(expirein) - (/* @__PURE__ */ new Date()).getTime();
|
|
34
|
-
const early = 5 * 60 * 1e3;
|
|
35
|
-
wait = wait > early ? wait - early : 0;
|
|
36
|
-
setTimeout(async () => {
|
|
37
|
-
const res = await ibiz.net.get(`/uaa/refreshtoken2`);
|
|
38
|
-
if (res.ok) {
|
|
39
|
-
core.setAppCookie(core.CoreConst.TOKEN, res.data.token, 0);
|
|
40
|
-
const expiredDate = (/* @__PURE__ */ new Date()).getTime() + (res.data.expirein || 7199) * 1e3;
|
|
41
|
-
core.setAppCookie(core.CoreConst.TOKEN_EXPIRES, `${expiredDate}`, 0);
|
|
42
|
-
}
|
|
43
|
-
setRefreshToken();
|
|
44
|
-
}, wait);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
33
|
async function loadTheme() {
|
|
48
34
|
const app = ibiz.hub.getApp();
|
|
49
35
|
const uiThemes = app.model.appUIThemes || [];
|
|
@@ -65,7 +51,33 @@ async function loadTheme() {
|
|
|
65
51
|
}
|
|
66
52
|
}
|
|
67
53
|
let helper;
|
|
68
|
-
async function
|
|
54
|
+
async function initEnvironment() {
|
|
55
|
+
if (helper) {
|
|
56
|
+
const app = await helper.getAppModel();
|
|
57
|
+
const userParam = app.userParam;
|
|
58
|
+
if (userParam) {
|
|
59
|
+
Object.keys(userParam).forEach((key) => {
|
|
60
|
+
const value = ibiz.util.rawValue.format(userParam[key]);
|
|
61
|
+
const keys = key.split(".");
|
|
62
|
+
let currentObj = ibiz.env;
|
|
63
|
+
for (let i = 0; i < keys.length; i++) {
|
|
64
|
+
const k = keys[i];
|
|
65
|
+
if (i === keys.length - 1) {
|
|
66
|
+
currentObj[k] = value;
|
|
67
|
+
} else {
|
|
68
|
+
currentObj[k] = currentObj[k] || {};
|
|
69
|
+
currentObj = currentObj[k];
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
if (ibiz.env.globalConfig) {
|
|
74
|
+
ibiz.config = ramda.mergeDeepRight(ibiz.config, ibiz.env.globalConfig);
|
|
75
|
+
}
|
|
76
|
+
ibiz.log.setLevel(ibiz.env.logLevel);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
async function initModel(context, permission = true) {
|
|
69
81
|
if (!helper) {
|
|
70
82
|
helper = new modelHelper.ModelHelper(
|
|
71
83
|
async (url) => {
|
|
@@ -81,10 +93,12 @@ async function initModel(appContext, permission = true) {
|
|
|
81
93
|
return res.data;
|
|
82
94
|
},
|
|
83
95
|
ibiz.env.appId,
|
|
84
|
-
|
|
96
|
+
context,
|
|
85
97
|
permission
|
|
86
98
|
);
|
|
87
99
|
const app = await ibiz.hub.getAppAsync(ibiz.env.appId);
|
|
100
|
+
await initEnvironment();
|
|
101
|
+
await vue3Util.AppHooks.initedApp.call({ context, app });
|
|
88
102
|
const appModel = app.model;
|
|
89
103
|
ibiz.env.isMob = appModel.mobileApp === true;
|
|
90
104
|
if (ibiz.env.isEnableMultiLan) {
|
|
@@ -100,6 +114,8 @@ async function initModel(appContext, permission = true) {
|
|
|
100
114
|
const module = await import('@ibiz-template/mob-theme');
|
|
101
115
|
const theme = module.default || module;
|
|
102
116
|
vue3Util.AppHooks.useComponent.callSync(null, theme);
|
|
117
|
+
if (ibiz.config.theme)
|
|
118
|
+
ibiz.util.theme.setTheme(ibiz.config.theme);
|
|
103
119
|
if (appModel.appUIThemes) {
|
|
104
120
|
await loadTheme();
|
|
105
121
|
}
|
|
@@ -108,41 +124,18 @@ async function initModel(appContext, permission = true) {
|
|
|
108
124
|
}
|
|
109
125
|
}
|
|
110
126
|
}
|
|
111
|
-
async function
|
|
112
|
-
|
|
113
|
-
const app = await helper.getAppModel();
|
|
114
|
-
const userParam = app.userParam;
|
|
115
|
-
if (userParam) {
|
|
116
|
-
Object.keys(userParam).forEach((key) => {
|
|
117
|
-
const value = ibiz.util.rawValue.format(userParam[key]);
|
|
118
|
-
const keys = key.split(".");
|
|
119
|
-
let currentObj = ibiz.env;
|
|
120
|
-
for (let i = 0; i < keys.length; i++) {
|
|
121
|
-
const k = keys[i];
|
|
122
|
-
if (i === keys.length - 1) {
|
|
123
|
-
currentObj[k] = value;
|
|
124
|
-
} else {
|
|
125
|
-
currentObj[k] = currentObj[k] || {};
|
|
126
|
-
currentObj = currentObj[k];
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
if (ibiz.env.globalConfig) {
|
|
131
|
-
ibiz.config = ramda.mergeDeepRight(ibiz.config, ibiz.env.globalConfig);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
async function appInit(appContext) {
|
|
127
|
+
async function appInit(context) {
|
|
128
|
+
await vue3Util.AppHooks.beforeInitApp.call({ context });
|
|
137
129
|
await authGuardHooks.AuthGuardHooks.beforeAuth.call(null, null);
|
|
138
130
|
if (ibiz.env.isSaaSMode === true) {
|
|
139
131
|
await loadOrgData();
|
|
140
132
|
}
|
|
141
|
-
await loadAppData();
|
|
133
|
+
await loadAppData(context);
|
|
142
134
|
await authGuardHooks.AuthGuardHooks.afterAuth.call(null, null);
|
|
143
|
-
await
|
|
144
|
-
await
|
|
145
|
-
|
|
135
|
+
await vue3Util.AppHooks.authedApp.call({ context });
|
|
136
|
+
await initModel(context);
|
|
137
|
+
await ibiz.auth.extendLogin(context);
|
|
138
|
+
await ibiz.hub.notice.init();
|
|
146
139
|
}
|
|
147
140
|
async function AuthGuard(appContext, permission = true) {
|
|
148
141
|
if (permission) {
|
package/lib/mob-app/main.cjs
CHANGED
|
@@ -33,6 +33,7 @@ async function runApp(plugins) {
|
|
|
33
33
|
});
|
|
34
34
|
core.install();
|
|
35
35
|
runtime.install();
|
|
36
|
+
vue3Util.AppHooks.appResorceInited.call(ibiz.hub);
|
|
36
37
|
ibiz.plugin = new vue3Util.PluginFactory();
|
|
37
38
|
ibiz.util.error.register(new unauthorizedHandler.UnauthorizedHandler());
|
|
38
39
|
const app = createVueApp.createVueApp(App.default);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
4
|
-
var index = require('../../../../../../../../_virtual/
|
|
4
|
+
var index = require('../../../../../../../../_virtual/index13.cjs');
|
|
5
5
|
|
|
6
6
|
var frameTalkClientPc = index.__module.exports;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _commonjsHelpers = require('../../../../../../../../_virtual/_commonjsHelpers.cjs');
|
|
4
|
-
var index = require('../../../../../../../../_virtual/
|
|
4
|
+
var index = require('../../../../../../../../_virtual/index12.cjs');
|
|
5
5
|
require('../../../../../../../../_virtual/bridge.cjs');
|
|
6
6
|
var retry = require('./retry.cjs');
|
|
7
7
|
require('../../../../../../../../_virtual/dealParamsAndResult.cjs');
|
|
@@ -9,10 +9,16 @@ require('./auth-sso.css');
|
|
|
9
9
|
const AuthSso = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
name: "IBizAuthSsO",
|
|
11
11
|
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @description 第三方登录组件模型数据
|
|
14
|
+
*/
|
|
12
15
|
modelData: {
|
|
13
16
|
type: Object,
|
|
14
17
|
required: true
|
|
15
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 第三方登录组件控制器
|
|
21
|
+
*/
|
|
16
22
|
controller: {
|
|
17
23
|
type: runtime.PanelItemController,
|
|
18
24
|
required: true
|
|
@@ -9,10 +9,16 @@ var runtime = require('@ibiz-template/runtime');
|
|
|
9
9
|
const AuthUserinfo = /* @__PURE__ */ vue.defineComponent({
|
|
10
10
|
name: "IBizAuthUserinfo",
|
|
11
11
|
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @description 用户信息组件模型数据
|
|
14
|
+
*/
|
|
12
15
|
modelData: {
|
|
13
16
|
type: Object,
|
|
14
17
|
required: true
|
|
15
18
|
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 用户信息组件控制器
|
|
21
|
+
*/
|
|
16
22
|
controller: {
|
|
17
23
|
type: runtime.PanelItemController,
|
|
18
24
|
required: true
|
|
@@ -10,10 +10,16 @@ require('./nav-pos-index.css');
|
|
|
10
10
|
const NavPosIndex = /* @__PURE__ */ vue.defineComponent({
|
|
11
11
|
name: "IBizNavPosIndex",
|
|
12
12
|
props: {
|
|
13
|
+
/**
|
|
14
|
+
* @description 首页导航占位模型数据
|
|
15
|
+
*/
|
|
13
16
|
modelData: {
|
|
14
17
|
type: Object,
|
|
15
18
|
required: true
|
|
16
19
|
},
|
|
20
|
+
/**
|
|
21
|
+
* @description 首页导航占位控制器
|
|
22
|
+
*/
|
|
17
23
|
controller: {
|
|
18
24
|
type: navPosIndex_controller.NavPosIndexController,
|
|
19
25
|
required: true
|
|
@@ -16,39 +16,31 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
18
|
/**
|
|
19
|
-
* 导航视图的modal
|
|
20
|
-
* @
|
|
21
|
-
* @date 2023-05-12 09:47:52
|
|
19
|
+
* @description 导航视图的modal
|
|
20
|
+
* @exposedoc
|
|
22
21
|
* @type {{ [key: string]: IModal }}
|
|
23
22
|
*/
|
|
24
23
|
__publicField(this, "viewModals", {});
|
|
25
24
|
/**
|
|
26
|
-
* router对象
|
|
27
|
-
* @author lxm
|
|
28
|
-
* @date 2023-05-25 08:02:43
|
|
25
|
+
* @description router对象
|
|
29
26
|
* @type {Router}
|
|
30
27
|
*/
|
|
31
28
|
__publicField(this, "router");
|
|
32
29
|
/**
|
|
33
|
-
* 是否关闭后自动跳转上一个页面
|
|
34
|
-
* @
|
|
35
|
-
* @date 2023-05-25 08:43:49
|
|
30
|
+
* @description 是否关闭后自动跳转上一个页面
|
|
31
|
+
* @exposedoc
|
|
36
32
|
* @type {boolean}
|
|
37
33
|
*/
|
|
38
34
|
__publicField(this, "autoGoLast", true);
|
|
39
35
|
/**
|
|
40
|
-
* 自定义补充参数
|
|
41
|
-
*
|
|
42
|
-
* @author tony001
|
|
43
|
-
* @date 2025-01-21 16:01:25
|
|
36
|
+
* @description 自定义补充参数
|
|
37
|
+
* @exposedoc
|
|
44
38
|
* @type {IData}
|
|
45
39
|
*/
|
|
46
40
|
__publicField(this, "rawItemParams", {});
|
|
47
41
|
/**
|
|
48
|
-
* 无缓存
|
|
49
|
-
*
|
|
50
|
-
* @author tony001
|
|
51
|
-
* @date 2025-01-21 16:01:25
|
|
42
|
+
* @description 无缓存
|
|
43
|
+
* @exposedoc
|
|
52
44
|
* @type {boolean}
|
|
53
45
|
*/
|
|
54
46
|
__publicField(this, "noCache", false);
|
|
@@ -66,18 +58,16 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
66
58
|
this.router = router;
|
|
67
59
|
}
|
|
68
60
|
/**
|
|
69
|
-
* 当前视图的路由层级,非路由模式不存在。
|
|
70
|
-
* @
|
|
71
|
-
* @date 2023-05-09 12:46:26
|
|
61
|
+
* @description 当前视图的路由层级,非路由模式不存在。
|
|
62
|
+
* @exposedoc
|
|
72
63
|
* @readonly
|
|
73
64
|
*/
|
|
74
65
|
get routeDepth() {
|
|
75
66
|
return this.panel.view.modal.routeDepth;
|
|
76
67
|
}
|
|
77
68
|
/**
|
|
78
|
-
* 应用菜单控制器
|
|
79
|
-
* @
|
|
80
|
-
* @date 2023-05-10 08:41:42
|
|
69
|
+
* @description 应用菜单控制器
|
|
70
|
+
* @exposedoc
|
|
81
71
|
* @readonly
|
|
82
72
|
* @type {(IAppMenuController | undefined)}
|
|
83
73
|
*/
|
|
@@ -85,9 +75,8 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
85
75
|
return this.panel.getController("appmenu");
|
|
86
76
|
}
|
|
87
77
|
/**
|
|
88
|
-
* 改变显示视图
|
|
89
|
-
* @
|
|
90
|
-
* @date 2023-05-25 01:28:49
|
|
78
|
+
* @description 改变显示视图
|
|
79
|
+
* @exposedoc
|
|
91
80
|
* @param {string} key
|
|
92
81
|
*/
|
|
93
82
|
changeView(key) {
|
|
@@ -149,9 +138,8 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
149
138
|
}
|
|
150
139
|
}
|
|
151
140
|
/**
|
|
152
|
-
* 删除单个缓存
|
|
153
|
-
* @
|
|
154
|
-
* @date 2023-05-09 02:19:09
|
|
141
|
+
* @description 删除单个缓存
|
|
142
|
+
* @exposedoc
|
|
155
143
|
* @param {string} key
|
|
156
144
|
*/
|
|
157
145
|
removeCache(key) {
|
|
@@ -167,19 +155,16 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
167
155
|
}
|
|
168
156
|
}
|
|
169
157
|
/**
|
|
170
|
-
* 清空缓存
|
|
171
|
-
* @
|
|
172
|
-
* @date 2023-05-09 02:19:55
|
|
158
|
+
* @description 清空缓存
|
|
159
|
+
* @exposedoc
|
|
173
160
|
*/
|
|
174
161
|
clearCache() {
|
|
175
162
|
this.state.cacheKeys = [];
|
|
176
163
|
this.viewModals = {};
|
|
177
164
|
}
|
|
178
165
|
/**
|
|
179
|
-
* 关闭视图
|
|
180
|
-
*
|
|
181
|
-
* @author lxm
|
|
182
|
-
* @date 2023-05-25 03:10:23
|
|
166
|
+
* @description 关闭视图
|
|
167
|
+
* @exposedoc
|
|
183
168
|
* @param {string} keys
|
|
184
169
|
*/
|
|
185
170
|
async closeViewByKeys(keys) {
|
|
@@ -210,7 +195,8 @@ class NavPosIndexController extends runtime.PanelItemController {
|
|
|
210
195
|
}
|
|
211
196
|
}
|
|
212
197
|
/**
|
|
213
|
-
* 返回上一个页面或上一层空白路由
|
|
198
|
+
* @description 返回上一个页面或上一层空白路由
|
|
199
|
+
* @exposedoc
|
|
214
200
|
* @author lxm
|
|
215
201
|
* @date 2023-05-25 06:46:27
|
|
216
202
|
* @protected
|
|
@@ -13,30 +13,26 @@ class NavPosIndexState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 当前导航视图标识
|
|
17
|
-
* @
|
|
18
|
-
* @date 2023-05-25 06:24:48
|
|
16
|
+
* @description 当前导航视图标识
|
|
17
|
+
* @exposedoc
|
|
19
18
|
* @type {string}
|
|
20
19
|
*/
|
|
21
20
|
__publicField(this, "currentKey", "");
|
|
22
21
|
/**
|
|
23
|
-
* 缓存的视图标识
|
|
24
|
-
* @
|
|
25
|
-
* @date 2023-05-25 06:25:21
|
|
22
|
+
* @description 缓存的视图标识
|
|
23
|
+
* @exposedoc
|
|
26
24
|
* @type {string[]}
|
|
27
25
|
*/
|
|
28
26
|
__publicField(this, "cacheKeys", ["RouterShell"]);
|
|
29
27
|
/**
|
|
30
|
-
* 导航视图详细信息
|
|
31
|
-
* @
|
|
32
|
-
* @date 2023-05-25 07:07:05
|
|
28
|
+
* @description 导航视图详细信息
|
|
29
|
+
* @exposedoc
|
|
33
30
|
* @type {INavViewMsg[]}
|
|
34
31
|
*/
|
|
35
32
|
__publicField(this, "navViewMsgs", {});
|
|
36
33
|
/**
|
|
37
|
-
* 导航的视图的操作顺序
|
|
38
|
-
* @
|
|
39
|
-
* @date 2023-05-25 06:25:34
|
|
34
|
+
* @description 导航的视图的操作顺序
|
|
35
|
+
* @exposedoc
|
|
40
36
|
* @type {string[]}
|
|
41
37
|
*/
|
|
42
38
|
__publicField(this, "operateSort", []);
|
|
@@ -12,10 +12,16 @@ require('./panel-app-title.css');
|
|
|
12
12
|
const PanelAppTitle = /* @__PURE__ */ vue.defineComponent({
|
|
13
13
|
name: "IBizPanelAppTitle",
|
|
14
14
|
props: {
|
|
15
|
+
/**
|
|
16
|
+
* @description 应用标题模型数据
|
|
17
|
+
*/
|
|
15
18
|
modelData: {
|
|
16
19
|
type: Object,
|
|
17
20
|
required: true
|
|
18
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* @description 应用标题控制器
|
|
24
|
+
*/
|
|
19
25
|
controller: {
|
|
20
26
|
type: panelAppTitle_controller.PanelAppTitleController,
|
|
21
27
|
required: true
|
|
@@ -13,58 +13,44 @@ class PanelAppTitleState extends runtime.PanelItemState {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
15
15
|
/**
|
|
16
|
-
* 应用标题
|
|
17
|
-
*
|
|
18
|
-
* @author chitanda
|
|
19
|
-
* @date 2023-07-20 17:07:22
|
|
16
|
+
* @description 应用标题
|
|
17
|
+
* @exposedoc
|
|
20
18
|
* @type {string}
|
|
21
19
|
*/
|
|
22
20
|
__publicField(this, "caption", "");
|
|
23
21
|
/**
|
|
24
|
-
* 应用标题(收缩时)
|
|
25
|
-
*
|
|
26
|
-
* @author chitanda
|
|
27
|
-
* @date 2023-07-20 17:07:22
|
|
22
|
+
* @description 应用标题(收缩时)
|
|
23
|
+
* @exposedoc
|
|
28
24
|
* @type {string}
|
|
29
25
|
*/
|
|
30
26
|
__publicField(this, "caption2", "");
|
|
31
27
|
/**
|
|
32
|
-
* 应用子标题
|
|
33
|
-
*
|
|
34
|
-
* @author chitanda
|
|
35
|
-
* @date 2023-07-20 17:07:22
|
|
28
|
+
* @description 应用子标题
|
|
29
|
+
* @exposedoc
|
|
36
30
|
* @type {string}
|
|
37
31
|
*/
|
|
38
32
|
__publicField(this, "subCaption", "");
|
|
39
33
|
/**
|
|
40
|
-
* 应用子标题(收缩时)
|
|
41
|
-
*
|
|
42
|
-
* @author chitanda
|
|
43
|
-
* @date 2023-07-20 17:07:22
|
|
34
|
+
* @description 应用子标题(收缩时)
|
|
35
|
+
* @exposedoc
|
|
44
36
|
* @type {string}
|
|
45
37
|
*/
|
|
46
38
|
__publicField(this, "subCaption2", "");
|
|
47
39
|
/**
|
|
48
|
-
* 应用 logo 图片地址
|
|
49
|
-
*
|
|
50
|
-
* @author chitanda
|
|
51
|
-
* @date 2023-07-20 17:07:11
|
|
40
|
+
* @description 应用 logo 图片地址
|
|
41
|
+
* @exposedoc
|
|
52
42
|
* @type {string}
|
|
53
43
|
*/
|
|
54
44
|
__publicField(this, "icon", "");
|
|
55
45
|
/**
|
|
56
|
-
* 应用 logo 图片2地址(收缩时)
|
|
57
|
-
*
|
|
58
|
-
* @author chitanda
|
|
59
|
-
* @date 2023-07-20 17:07:11
|
|
46
|
+
* @description 应用 logo 图片2地址(收缩时)
|
|
47
|
+
* @exposedoc
|
|
60
48
|
* @type {string}
|
|
61
49
|
*/
|
|
62
50
|
__publicField(this, "icon2", "");
|
|
63
51
|
/**
|
|
64
|
-
* 是否为 svg 图标
|
|
65
|
-
*
|
|
66
|
-
* @author chitanda
|
|
67
|
-
* @date 2023-07-20 17:07:26
|
|
52
|
+
* @description 是否为 svg 图标
|
|
53
|
+
* @exposedoc
|
|
68
54
|
* @type {boolean}
|
|
69
55
|
*/
|
|
70
56
|
__publicField(this, "isSvg", false);
|
|
@@ -13,10 +13,16 @@ var buttonUtil = require('../../util/button-util/button-util.cjs');
|
|
|
13
13
|
const PanelButton = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
name: "IBizPanelButton",
|
|
15
15
|
props: {
|
|
16
|
+
/**
|
|
17
|
+
* @description 按钮模型
|
|
18
|
+
*/
|
|
16
19
|
modelData: {
|
|
17
20
|
type: Object,
|
|
18
21
|
required: true
|
|
19
22
|
},
|
|
23
|
+
/**
|
|
24
|
+
* @description 按钮控制器
|
|
25
|
+
*/
|
|
20
26
|
controller: {
|
|
21
27
|
type: panelButton_controller.PanelButtonController,
|
|
22
28
|
required: true
|
|
@@ -10,9 +10,8 @@ class PanelButtonController extends runtime.PanelItemController {
|
|
|
10
10
|
return new panelButton_state.PanelButtonState((_a = this.parent) == null ? void 0 : _a.state);
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* 父容器数据对象数据
|
|
14
|
-
* @
|
|
15
|
-
* @date 2023-07-15 01:33:58
|
|
13
|
+
* @description 父容器数据对象数据
|
|
14
|
+
* @exposedoc
|
|
16
15
|
* @readonly
|
|
17
16
|
* @type {IData}
|
|
18
17
|
*/
|