@ibiz-template/mob-vue3-components 0.0.4 → 0.0.6
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/index.min.css +1 -1
- package/dist/index.system.min.js +6 -6
- package/dist/index.system.min.js.map +1 -1
- package/es/_virtual/customParseFormat.mjs +3 -0
- package/es/common/index.mjs +6 -1
- package/es/common/preset-view-back/preset-view-back.css +1 -0
- package/es/common/preset-view-back/preset-view-back.d.ts +17 -0
- package/es/common/preset-view-back/preset-view-back.mjs +49 -0
- package/es/common/preset-view-header/preset-view-header.css +1 -0
- package/es/common/preset-view-header/preset-view-header.d.ts +20 -0
- package/es/common/preset-view-header/preset-view-header.mjs +47 -0
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.d.ts +1 -3
- package/es/control/app-menu/app-menu.mjs +35 -134
- package/es/control/app-menu/index.d.ts +1 -3
- package/es/control/app-menu-icon-view/app-menu-icon-view.css +1 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.d.ts +38 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +76 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.provider.d.ts +13 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.provider.mjs +14 -0
- package/es/control/app-menu-icon-view/index.d.ts +35 -0
- package/es/control/app-menu-icon-view/index.mjs +18 -0
- package/es/control/app-menu-list-view/app-menu-list-view.css +1 -0
- package/es/control/app-menu-list-view/app-menu-list-view.d.ts +37 -0
- package/es/control/app-menu-list-view/app-menu-list-view.mjs +84 -0
- package/es/control/app-menu-list-view/app-menu-list-view.provider.d.ts +13 -0
- package/es/control/app-menu-list-view/app-menu-list-view.provider.mjs +14 -0
- package/es/control/app-menu-list-view/index.d.ts +34 -0
- package/es/control/app-menu-list-view/index.mjs +18 -0
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +1 -2
- package/es/control/form/form-detail/form-button/form-button.css +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +2 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +2 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +7 -3
- package/es/control/form/form-detail/form-mdctrl/index.d.ts +8 -0
- package/es/control/form/form-detail/form-mdctrl/index.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.d.ts +10 -2
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +29 -17
- package/es/control/form/form-detail/form-page/form-page-item/form-page-item.css +1 -1
- package/es/control/form/form-detail/form-page/form-page-item/form-page-item.mjs +1 -1
- package/es/control/form/form-detail/form-tab-page/form-tab-page.mjs +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.mjs +14 -6
- package/es/control/form/form-detail/index.mjs +6 -0
- package/es/control/form/index.mjs +6 -0
- package/es/control/index.d.ts +2 -0
- package/es/control/index.mjs +8 -0
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.css +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/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -1
- package/es/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -0
- package/es/editor/common/data-mpicker/ibiz-data-mpicker.d.ts +44 -0
- package/es/editor/common/data-mpicker/ibiz-data-mpicker.mjs +139 -0
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +4 -3
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +38 -31
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +1 -1
- 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.css +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/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.d.ts +3 -6
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs +28 -104
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.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/slider/ibiz-slider/ibiz-slider.d.ts +1 -1
- package/es/editor/span/span/span.css +1 -1
- package/es/editor/span/span/span.d.ts +27 -1
- package/es/editor/span/span/span.mjs +78 -28
- package/es/editor/span/span-link/span-link.d.ts +1 -1
- 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-number/ibiz-input-number.d.ts +1 -1
- package/es/editor/text-box/input/input.d.ts +1 -1
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.d.ts +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -1
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.d.ts +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +55 -1
- package/es/node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/customParseFormat.mjs +13 -0
- package/es/panel-component/panel-button/index.d.ts +1 -1
- package/es/panel-component/panel-button/panel-button.d.ts +1 -1
- package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +7 -2
- package/es/panel-component/view-header-panel-container/index.d.ts +1 -1
- package/es/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/es/panel-component/view-header-panel-container/view-header-panel-container.d.ts +1 -1
- package/es/panel-component/view-header-panel-container/view-header-panel-container.mjs +6 -12
- package/es/util/store/view-stack/view-stack.d.ts +1 -1
- package/es/view-engine/mob-edit-view.engine.mjs +1 -2
- package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +1 -1
- package/es/view-engine/mob-wf-dyna-start-view.engine.mjs +1 -1
- package/lib/_virtual/customParseFormat.cjs +5 -0
- package/lib/common/index.cjs +5 -0
- package/lib/common/preset-view-back/preset-view-back.cjs +51 -0
- package/lib/common/preset-view-back/preset-view-back.css +1 -0
- package/lib/common/preset-view-header/preset-view-header.cjs +49 -0
- package/lib/common/preset-view-header/preset-view-header.css +1 -0
- package/lib/control/app-menu/app-menu.cjs +34 -133
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +78 -0
- package/lib/control/app-menu-icon-view/app-menu-icon-view.css +1 -0
- package/lib/control/app-menu-icon-view/app-menu-icon-view.provider.cjs +16 -0
- package/lib/control/app-menu-icon-view/index.cjs +23 -0
- package/lib/control/app-menu-list-view/app-menu-list-view.cjs +86 -0
- package/lib/control/app-menu-list-view/app-menu-list-view.css +1 -0
- package/lib/control/app-menu-list-view/app-menu-list-view.provider.cjs +16 -0
- package/lib/control/app-menu-list-view/index.cjs +23 -0
- package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +1 -2
- package/lib/control/form/form-detail/form-button/form-button.cjs +2 -1
- package/lib/control/form/form-detail/form-button/form-button.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.cjs +2 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +6 -2
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/index.cjs +6 -0
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +28 -16
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-page/form-page-item/form-page-item.cjs +1 -1
- package/lib/control/form/form-detail/form-page/form-page-item/form-page-item.css +1 -1
- package/lib/control/form/form-detail/form-tab-page/form-tab-page.cjs +1 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.cjs +14 -6
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/lib/control/form/form-detail/index.cjs +12 -0
- package/lib/control/form/index.cjs +12 -0
- package/lib/control/index.cjs +72 -56
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/lib/editor/common/data-mpicker/ibiz-data-mpicker.cjs +141 -0
- package/lib/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -0
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +38 -31
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +27 -103
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
- package/lib/editor/span/span/span.cjs +77 -27
- package/lib/editor/span/span/span.css +1 -1
- package/lib/index.cjs +160 -36
- package/lib/node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/customParseFormat.cjs +17 -0
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +7 -2
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.cjs +6 -12
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/lib/view-engine/mob-edit-view.engine.cjs +1 -2
- package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +1 -1
- package/lib/view-engine/mob-wf-dyna-start-view.engine.cjs +1 -1
- package/package.json +6 -6
|
@@ -12,7 +12,7 @@ export declare const IBizPanelButton: import("@ibiz-template/vue3-util").TypeWit
|
|
|
12
12
|
}, {
|
|
13
13
|
ns: import("@ibiz-template/core").Namespace;
|
|
14
14
|
captionText: import("vue").ComputedRef<any>;
|
|
15
|
-
buttonType: import("vue").ComputedRef<"default" | "text" | "
|
|
15
|
+
buttonType: import("vue").ComputedRef<"default" | "text" | "success" | "primary" | "danger" | "warning">;
|
|
16
16
|
showCaption: boolean | undefined;
|
|
17
17
|
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
18
18
|
codeName: string | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const PanelButton: import("vue").DefineComponent<{
|
|
|
14
14
|
}, {
|
|
15
15
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
16
|
captionText: import("vue").ComputedRef<any>;
|
|
17
|
-
buttonType: import("vue").ComputedRef<"default" | "text" | "
|
|
17
|
+
buttonType: import("vue").ComputedRef<"default" | "text" | "success" | "primary" | "danger" | "warning">;
|
|
18
18
|
showCaption: boolean | undefined;
|
|
19
19
|
sysImage: import("@ibiz/model-core").ISysImage | undefined;
|
|
20
20
|
codeName: string | undefined;
|
|
@@ -62,12 +62,14 @@ const ViewContentPanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
];
|
|
63
63
|
return result;
|
|
64
64
|
});
|
|
65
|
+
const contentRef = ref();
|
|
65
66
|
return {
|
|
66
67
|
ns,
|
|
67
68
|
viewModel,
|
|
68
69
|
isRefreshing,
|
|
69
70
|
isScrollable,
|
|
70
71
|
classArr,
|
|
72
|
+
contentRef,
|
|
71
73
|
refresh
|
|
72
74
|
};
|
|
73
75
|
},
|
|
@@ -76,9 +78,12 @@ const ViewContentPanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
76
78
|
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
77
79
|
const content = createVNode(resolveComponent("iBizRow"), {
|
|
78
80
|
"class": this.classArr,
|
|
79
|
-
"layout": this.modelData.layout
|
|
81
|
+
"layout": this.modelData.layout,
|
|
82
|
+
"ref": "contentRef"
|
|
80
83
|
}, {
|
|
81
|
-
default: () => [this.isScrollable && createVNode(resolveComponent("van-back-top"),
|
|
84
|
+
default: () => [this.isScrollable && this.contentRef && createVNode(resolveComponent("van-back-top"), {
|
|
85
|
+
"teleport": this.contentRef.$el
|
|
86
|
+
}, null), defaultSlots.map((slot) => {
|
|
82
87
|
const props = slot.props;
|
|
83
88
|
if (!props || !props.controller) {
|
|
84
89
|
return slot;
|
|
@@ -9,9 +9,9 @@ export declare const IBizViewHeaderPanelContainer: import("@ibiz-template/vue3-u
|
|
|
9
9
|
};
|
|
10
10
|
}, {
|
|
11
11
|
ns: import("@ibiz-template/core").Namespace;
|
|
12
|
-
goBack: () => void;
|
|
13
12
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
14
13
|
backButtonVisible: import("vue").Ref<boolean>;
|
|
14
|
+
view: import("@ibiz-template/runtime").IViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
15
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
modelData: {
|
|
17
17
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-view-header{--ibiz-panel-component-view-header-bg-color:var(--ibiz-color-bg-1);--ibiz-panel-component-view-header-back-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-component-view-header-back-padding:0 var(--ibiz-spacing-tight);--ibiz-panel-component-view-header-back-width:2.5rem;--ibiz-panel-component-view-header-back-height:100%;--ibiz-panel-component-view-header-color:var(--ibiz-color-text-0);position:relative;color:var(--ibiz-panel-component-view-header-color);background-color:var(--ibiz-panel-component-view-header-bg-color)}
|
|
1
|
+
.ibiz-view-header{--ibiz-panel-component-view-header-bg-color:var(--ibiz-color-bg-1);--ibiz-panel-component-view-header-back-font-size:var(--ibiz-font-size-header-3);--ibiz-panel-component-view-header-back-padding:0 var(--ibiz-spacing-tight);--ibiz-panel-component-view-header-back-width:2.5rem;--ibiz-panel-component-view-header-back-height:100%;--ibiz-panel-component-view-header-color:var(--ibiz-color-text-0);position:relative;color:var(--ibiz-panel-component-view-header-color);background-color:var(--ibiz-panel-component-view-header-bg-color)}
|
|
@@ -13,9 +13,9 @@ export declare const ViewHeaderPanelContainer: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
}, {
|
|
15
15
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
-
goBack: () => void;
|
|
17
16
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
18
17
|
backButtonVisible: import("vue").Ref<boolean>;
|
|
18
|
+
view: import("@ibiz-template/runtime").IViewController<import("@ibiz/model-core").IAppView, import("@ibiz-template/runtime").IViewState, import("@ibiz-template/runtime").IViewEvent>;
|
|
19
19
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
modelData: {
|
|
21
21
|
type: PropType<IPanelContainer>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isVNode, ref, computed, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { PanelContainerController, useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import './view-header-panel-container.css';
|
|
3
4
|
import { useRoute } from 'vue-router';
|
|
4
5
|
import '../../util/index.mjs';
|
|
5
|
-
import './view-header-panel-container.css';
|
|
6
6
|
import { useViewStack } from '../../util/store/view-stack/view-stack.mjs';
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
@@ -35,9 +35,6 @@ const ViewHeaderPanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
};
|
|
36
36
|
initButtonVisible();
|
|
37
37
|
const view = props.controller.panel.view;
|
|
38
|
-
const goBack = () => {
|
|
39
|
-
view.modal.dismiss();
|
|
40
|
-
};
|
|
41
38
|
const {
|
|
42
39
|
id
|
|
43
40
|
} = props.modelData;
|
|
@@ -48,9 +45,9 @@ const ViewHeaderPanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
48
45
|
});
|
|
49
46
|
return {
|
|
50
47
|
ns,
|
|
51
|
-
goBack,
|
|
52
48
|
classArr,
|
|
53
|
-
backButtonVisible
|
|
49
|
+
backButtonVisible,
|
|
50
|
+
view
|
|
54
51
|
};
|
|
55
52
|
},
|
|
56
53
|
render() {
|
|
@@ -63,12 +60,9 @@ const ViewHeaderPanelContainer = /* @__PURE__ */ defineComponent({
|
|
|
63
60
|
"class": this.classArr,
|
|
64
61
|
"layout": this.modelData.layout
|
|
65
62
|
}, {
|
|
66
|
-
default: () => [
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
}, [createVNode("ion-icon", {
|
|
70
|
-
"name": "chevron-back-outline"
|
|
71
|
-
}, null)]), defaultSlots.map((slot, index) => {
|
|
63
|
+
default: () => [createVNode(resolveComponent("iBizPresetViewBack"), {
|
|
64
|
+
"view": this.view
|
|
65
|
+
}, null), defaultSlots.map((slot, index) => {
|
|
72
66
|
const props = slot.props;
|
|
73
67
|
if (!props || !props.controller) {
|
|
74
68
|
return slot;
|
|
@@ -57,5 +57,5 @@ export declare const useViewStack: import("pinia").StoreDefinition<"viewStack",
|
|
|
57
57
|
on: <K extends "onBeforeStackChange">(name: K, cb: (...args: Parameters<ViewStackEvent[K]>) => ReturnType<ViewStackEvent[K]>) => void;
|
|
58
58
|
off: <K_1 extends "onBeforeStackChange">(name: K_1, cb: (...args: Parameters<ViewStackEvent[K_1]>) => ReturnType<ViewStackEvent[K_1]>) => void;
|
|
59
59
|
goBack: () => void;
|
|
60
|
-
}, "
|
|
60
|
+
}, "init" | "on" | "off" | "goBack">>;
|
|
61
61
|
export {};
|
|
@@ -214,8 +214,7 @@ class MobEditViewEngine extends ViewEngineBase {
|
|
|
214
214
|
const entityService = await app.deService.getService(
|
|
215
215
|
this.view.model.appDataEntityId
|
|
216
216
|
);
|
|
217
|
-
await entityService.wf.
|
|
218
|
-
"withdraw",
|
|
217
|
+
await entityService.wf.wfWithdraw(
|
|
219
218
|
this.view.context,
|
|
220
219
|
{
|
|
221
220
|
...this.view.params,
|
|
@@ -14,7 +14,7 @@ class MobWFDynaActionViewEngine extends MobWFDynaEditViewEngine {
|
|
|
14
14
|
__publicField(this, "isCalcWFToolbar", false);
|
|
15
15
|
}
|
|
16
16
|
async calcProcessFormName() {
|
|
17
|
-
this.isEditable = this.view.context.isEditable
|
|
17
|
+
this.isEditable = this.view.context.isEditable;
|
|
18
18
|
const processForm = this.view.context.processForm ? `wfform_${this.view.context.processForm}` : "form";
|
|
19
19
|
return processForm;
|
|
20
20
|
}
|
|
@@ -14,7 +14,7 @@ class MobWFDynaStartViewEngine extends MobWFDynaEditViewEngine {
|
|
|
14
14
|
__publicField(this, "isCalcWFToolbar", false);
|
|
15
15
|
}
|
|
16
16
|
async calcProcessFormName() {
|
|
17
|
-
this.isEditable = this.view.context.isEditable
|
|
17
|
+
this.isEditable = this.view.context.isEditable;
|
|
18
18
|
const processForm = this.view.context.processForm ? `wfform_${this.view.context.processForm}` : "form";
|
|
19
19
|
return processForm;
|
|
20
20
|
}
|
package/lib/common/index.cjs
CHANGED
|
@@ -10,6 +10,8 @@ var keepAlive = require('./keep-alive/keep-alive.cjs');
|
|
|
10
10
|
var noData = require('./no-data/no-data.cjs');
|
|
11
11
|
var rawitem = require('./rawitem/rawitem.cjs');
|
|
12
12
|
var row = require('./row/row.cjs');
|
|
13
|
+
var presetViewBack = require('./preset-view-back/preset-view-back.cjs');
|
|
14
|
+
var presetViewHeader = require('./preset-view-header/preset-view-header.cjs');
|
|
13
15
|
|
|
14
16
|
"use strict";
|
|
15
17
|
const IBizCommonComponents = {
|
|
@@ -26,6 +28,9 @@ const IBizCommonComponents = {
|
|
|
26
28
|
v.component(vue3Util.IBizControlShell.name, vue3Util.IBizControlShell);
|
|
27
29
|
v.component(rawitem.IBizRawItem.name, rawitem.IBizRawItem);
|
|
28
30
|
v.component(carousel.IBizCarousel.name, carousel.IBizCarousel);
|
|
31
|
+
v.component(presetViewBack.IBizPresetViewBack.name, presetViewBack.IBizPresetViewBack);
|
|
32
|
+
v.component(presetViewHeader.IBizPresetViewHeader.name, presetViewHeader.IBizPresetViewHeader);
|
|
33
|
+
v.component(vue3Util.IBizCodeList.name, vue3Util.IBizCodeList);
|
|
29
34
|
}
|
|
30
35
|
};
|
|
31
36
|
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
require('./preset-view-back.css');
|
|
6
|
+
var vueRouter = require('vue-router');
|
|
7
|
+
require('../../util/index.cjs');
|
|
8
|
+
var viewStack = require('../../util/store/view-stack/view-stack.cjs');
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
const IBizPresetViewBack = /* @__PURE__ */ vue.defineComponent({
|
|
12
|
+
name: "IBizPresetViewBack",
|
|
13
|
+
props: {
|
|
14
|
+
view: {
|
|
15
|
+
type: Object,
|
|
16
|
+
required: true
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(props) {
|
|
20
|
+
const ns = vue3Util.useNamespace("preset-view-back");
|
|
21
|
+
const route = vueRouter.useRoute();
|
|
22
|
+
const {
|
|
23
|
+
viewStack: viewStack$1
|
|
24
|
+
} = viewStack.useViewStack();
|
|
25
|
+
const backButtonVisible = vue.ref(false);
|
|
26
|
+
const initButtonVisible = () => {
|
|
27
|
+
if (props.view.modal.viewUsage === 1 && viewStack$1.cacheKeys.length > 1 && route.meta.home || props.view.modal.viewUsage === 2) {
|
|
28
|
+
backButtonVisible.value = true;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
initButtonVisible();
|
|
32
|
+
const goBack = () => {
|
|
33
|
+
props.view.modal.dismiss();
|
|
34
|
+
};
|
|
35
|
+
return {
|
|
36
|
+
ns,
|
|
37
|
+
backButtonVisible,
|
|
38
|
+
goBack
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
render() {
|
|
42
|
+
return this.backButtonVisible && vue.createVNode("div", {
|
|
43
|
+
"class": this.ns.b(),
|
|
44
|
+
"onClick": this.goBack
|
|
45
|
+
}, [vue.createVNode("ion-icon", {
|
|
46
|
+
"name": "chevron-back-outline"
|
|
47
|
+
}, null)]);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
exports.IBizPresetViewBack = IBizPresetViewBack;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-preset-view-back{position:absolute;display:flex;align-items:center;width:var(--ibiz-panel-component-view-header-back-width);height:var(--ibiz-panel-component-view-header-back-height);padding:var(--ibiz-panel-component-view-header-back-padding);font-size:var(--ibiz-panel-component-view-header-back-font-size)}.ibiz-view-header-precut-back .ibiz-control-toolbar-left{padding-left:var(--ibiz-panel-component-view-header-back-width)}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
require('./preset-view-header.css');
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const IBizPresetViewHeader = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
+
name: "IBizPresetViewHeader",
|
|
10
|
+
props: {
|
|
11
|
+
modelData: {
|
|
12
|
+
type: Object,
|
|
13
|
+
required: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
setup() {
|
|
17
|
+
const ns = vue3Util.useNamespace("preset-view-header");
|
|
18
|
+
const ns2 = vue3Util.useNamespace("view-header");
|
|
19
|
+
const ctx = vue3Util.useCtx();
|
|
20
|
+
const view = ctx.view;
|
|
21
|
+
const context = ctx.view.context;
|
|
22
|
+
const captionBar = view.model.controls.find((item) => item.controlType === "CAPTIONBAR");
|
|
23
|
+
return {
|
|
24
|
+
ns,
|
|
25
|
+
ns2,
|
|
26
|
+
view,
|
|
27
|
+
captionBar,
|
|
28
|
+
context
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
render() {
|
|
32
|
+
return this.view.model.showCaptionBar && vue.createVNode("div", {
|
|
33
|
+
"class": [this.ns.b(), this.ns2.b()]
|
|
34
|
+
}, [vue.createVNode("div", {
|
|
35
|
+
"class": this.ns.b("left")
|
|
36
|
+
}, [vue.createVNode(vue.resolveComponent("iBizPresetViewBack"), {
|
|
37
|
+
"view": this.view
|
|
38
|
+
}, null)]), vue.createVNode("div", {
|
|
39
|
+
"class": this.ns.b("center")
|
|
40
|
+
}, [this.captionBar && this.view.model.showCaptionBar && vue.createVNode(vue.resolveComponent("iBizCaptionBarControl"), {
|
|
41
|
+
"modelData": this.captionBar,
|
|
42
|
+
"context": this.context
|
|
43
|
+
}, null)]), vue.createVNode("div", {
|
|
44
|
+
"class": this.ns.b("right")
|
|
45
|
+
}, null)]);
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
exports.IBizPresetViewHeader = IBizPresetViewHeader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-preset-view-header{display:flex;justify-content:center;width:100%}.ibiz-preset-view-header .ibiz-preset-view-back{left:0}
|
|
@@ -26,16 +26,13 @@ const AppMenuControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
26
|
default: () => ({})
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
29
|
+
setup() {
|
|
30
30
|
const c = vue3Util.useControlController((...args) => new runtime.AppMenuController(...args));
|
|
31
31
|
const {
|
|
32
32
|
controlClass,
|
|
33
33
|
ns
|
|
34
34
|
} = vue3Util.prepareControl(c);
|
|
35
35
|
const activeName = vue.ref();
|
|
36
|
-
const columnNum = vue.computed(() => {
|
|
37
|
-
return 5;
|
|
38
|
-
});
|
|
39
36
|
const route = vueRouter.useRoute();
|
|
40
37
|
const calcCurMenu = () => {
|
|
41
38
|
const allItems = c.getAllItems();
|
|
@@ -65,145 +62,49 @@ const AppMenuControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
65
62
|
activeName.value = activeMenu ? activeMenu.id : "";
|
|
66
63
|
}
|
|
67
64
|
});
|
|
68
|
-
const renderDefault = () => {
|
|
69
|
-
var _a;
|
|
70
|
-
const {
|
|
71
|
-
model,
|
|
72
|
-
state
|
|
73
|
-
} = c;
|
|
74
|
-
let appMenu = null;
|
|
75
|
-
if (state.isCreated && ((_a = model.appMenuItems) == null ? void 0 : _a.length)) {
|
|
76
|
-
appMenu = model.appMenuItems.map((item) => {
|
|
77
|
-
if (item.itemType === "MENUITEM") {
|
|
78
|
-
const itemState = state.menuItemsState[item.id];
|
|
79
|
-
if (itemState.visible) {
|
|
80
|
-
return vue.createVNode(vue.resolveComponent("van-tabbar-item"), {
|
|
81
|
-
"name": item.id
|
|
82
|
-
}, {
|
|
83
|
-
icon: () => vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
84
|
-
"slot": "icon",
|
|
85
|
-
"class": ns.e("icon"),
|
|
86
|
-
"icon": item.sysImage
|
|
87
|
-
}, null),
|
|
88
|
-
default: () => vue.createVNode("span", null, [item.caption])
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
return null;
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
return vue.createVNode("div", {
|
|
96
|
-
"class": [ns.b(), ns.m(props.modelData.id), ns.m(model.controlStyle || "default")]
|
|
97
|
-
}, [vue.createVNode(vue.resolveComponent("van-tabbar"), {
|
|
98
|
-
"modelValue": activeName.value,
|
|
99
|
-
"onChange": onTabChange
|
|
100
|
-
}, _isSlot(appMenu) ? appMenu : {
|
|
101
|
-
default: () => [appMenu]
|
|
102
|
-
})]);
|
|
103
|
-
};
|
|
104
|
-
const renderIconView = () => {
|
|
105
|
-
const {
|
|
106
|
-
model
|
|
107
|
-
} = c;
|
|
108
|
-
const {
|
|
109
|
-
controlStyle
|
|
110
|
-
} = model;
|
|
111
|
-
return vue.createVNode(vue.resolveComponent("van-grid"), {
|
|
112
|
-
"clickable": true,
|
|
113
|
-
"column-num": columnNum.value,
|
|
114
|
-
"border": false,
|
|
115
|
-
"class": [ns.b(), ns.b(controlStyle.toLowerCase()), ns.m(props.modelData.id)]
|
|
116
|
-
}, {
|
|
117
|
-
default: () => {
|
|
118
|
-
var _a;
|
|
119
|
-
return [(_a = model == null ? void 0 : model.appMenuItems) == null ? void 0 : _a.map((item) => {
|
|
120
|
-
return item.itemType === "MENUITEM" && vue.createVNode(vue.resolveComponent("van-grid-item"), {
|
|
121
|
-
"class": ns.b("item"),
|
|
122
|
-
"text": item.caption,
|
|
123
|
-
"onClick": (event) => c.onClickMenuItem(item.id, event, false)
|
|
124
|
-
}, {
|
|
125
|
-
icon: () => {
|
|
126
|
-
return vue.createVNode("div", {
|
|
127
|
-
"class": ns.b("icon")
|
|
128
|
-
}, [item.sysImage ? vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
129
|
-
"icon": item.sysImage
|
|
130
|
-
}, null) : vue.createVNode(vue.resolveComponent("van-icon"), {
|
|
131
|
-
"name": "setting-o"
|
|
132
|
-
}, null)]);
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
})];
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
};
|
|
139
|
-
const renderListView = () => {
|
|
140
|
-
const {
|
|
141
|
-
model
|
|
142
|
-
} = c;
|
|
143
|
-
const {
|
|
144
|
-
controlStyle
|
|
145
|
-
} = model;
|
|
146
|
-
return vue.createVNode(vue.resolveComponent("van-list"), {
|
|
147
|
-
"class": [ns.b(), ns.b(controlStyle.toLowerCase()), ns.m(props.modelData.id)]
|
|
148
|
-
}, {
|
|
149
|
-
default: () => {
|
|
150
|
-
var _a;
|
|
151
|
-
return [(_a = model == null ? void 0 : model.appMenuItems) == null ? void 0 : _a.map((item) => {
|
|
152
|
-
let renderItem = null;
|
|
153
|
-
switch (item.itemType) {
|
|
154
|
-
case "MENUITEM":
|
|
155
|
-
renderItem = vue.createVNode(vue.resolveComponent("van-cell"), {
|
|
156
|
-
"class": [ns.b("item")],
|
|
157
|
-
"is-link": true,
|
|
158
|
-
"center": true,
|
|
159
|
-
"title": item.caption,
|
|
160
|
-
"onClick": (event) => c.onClickMenuItem(item.id, event, false)
|
|
161
|
-
}, {
|
|
162
|
-
icon: () => {
|
|
163
|
-
return item.sysImage && vue.createVNode("div", {
|
|
164
|
-
"class": ns.b("icon")
|
|
165
|
-
}, [vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
166
|
-
"icon": item.sysImage
|
|
167
|
-
}, null)]);
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
break;
|
|
171
|
-
case "SEPERATOR":
|
|
172
|
-
renderItem = vue.createVNode(vue.resolveComponent("van-divider"), null, null);
|
|
173
|
-
break;
|
|
174
|
-
default:
|
|
175
|
-
break;
|
|
176
|
-
}
|
|
177
|
-
return renderItem;
|
|
178
|
-
})];
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
};
|
|
182
65
|
return {
|
|
183
66
|
controlClass,
|
|
67
|
+
activeName,
|
|
184
68
|
c,
|
|
185
69
|
onTabChange,
|
|
186
|
-
ns
|
|
187
|
-
renderDefault,
|
|
188
|
-
renderIconView,
|
|
189
|
-
renderListView
|
|
70
|
+
ns
|
|
190
71
|
};
|
|
191
72
|
},
|
|
192
73
|
render() {
|
|
74
|
+
var _a;
|
|
193
75
|
const {
|
|
194
|
-
model
|
|
76
|
+
model,
|
|
77
|
+
state
|
|
195
78
|
} = this.c;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
79
|
+
let appMenu = null;
|
|
80
|
+
if (state.isCreated && ((_a = model.appMenuItems) == null ? void 0 : _a.length)) {
|
|
81
|
+
appMenu = model.appMenuItems.map((item) => {
|
|
82
|
+
if (item.itemType === "MENUITEM" && item.hidden !== true) {
|
|
83
|
+
const itemState = state.menuItemsState[item.id];
|
|
84
|
+
if (itemState.visible) {
|
|
85
|
+
return vue.createVNode(vue.resolveComponent("van-tabbar-item"), {
|
|
86
|
+
"name": item.id
|
|
87
|
+
}, {
|
|
88
|
+
icon: () => vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
89
|
+
"slot": "icon",
|
|
90
|
+
"class": this.ns.e("icon"),
|
|
91
|
+
"icon": item.sysImage
|
|
92
|
+
}, null),
|
|
93
|
+
default: () => vue.createVNode("span", null, [item.caption])
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return null;
|
|
98
|
+
});
|
|
206
99
|
}
|
|
100
|
+
return vue.createVNode("div", {
|
|
101
|
+
"class": [this.ns.b(), this.ns.m(this.modelData.id), this.ns.m(model.controlStyle || "default")]
|
|
102
|
+
}, [vue.createVNode(vue.resolveComponent("van-tabbar"), {
|
|
103
|
+
"modelValue": this.activeName,
|
|
104
|
+
"onChange": this.onTabChange
|
|
105
|
+
}, _isSlot(appMenu) ? appMenu : {
|
|
106
|
+
default: () => [appMenu]
|
|
107
|
+
})]);
|
|
207
108
|
}
|
|
208
109
|
});
|
|
209
110
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-appmenu{
|
|
1
|
+
.ibiz-control-appmenu{width:100%;height:100%}.ibiz-control-appmenu--default{height:var(--van-tabbar-height)}.ibiz-control-appmenu-nav{height:calc(100% - var(--van-tabbar-height))}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
require('./app-menu-icon-view.css');
|
|
6
|
+
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
const AppMenuIconViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
name: "IBizAppMenuIconViewControl",
|
|
11
|
+
props: {
|
|
12
|
+
modelData: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
context: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: true
|
|
19
|
+
},
|
|
20
|
+
params: {
|
|
21
|
+
type: Object,
|
|
22
|
+
default: () => ({})
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup() {
|
|
26
|
+
const c = vue3Util.useControlController((...args) => new runtime.AppMenuController(...args));
|
|
27
|
+
const {
|
|
28
|
+
controlClass,
|
|
29
|
+
ns
|
|
30
|
+
} = vue3Util.prepareControl(c);
|
|
31
|
+
const columnNum = vue.computed(() => {
|
|
32
|
+
return 5;
|
|
33
|
+
});
|
|
34
|
+
return {
|
|
35
|
+
controlClass,
|
|
36
|
+
c,
|
|
37
|
+
columnNum,
|
|
38
|
+
ns
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
render() {
|
|
42
|
+
const {
|
|
43
|
+
model
|
|
44
|
+
} = this.c;
|
|
45
|
+
const {
|
|
46
|
+
controlStyle
|
|
47
|
+
} = model;
|
|
48
|
+
return vue.createVNode(vue.resolveComponent("van-grid"), {
|
|
49
|
+
"clickable": true,
|
|
50
|
+
"column-num": this.columnNum,
|
|
51
|
+
"border": false,
|
|
52
|
+
"class": [this.ns.b(), this.ns.b(controlStyle.toLowerCase()), this.ns.m(this.modelData.id)]
|
|
53
|
+
}, {
|
|
54
|
+
default: () => {
|
|
55
|
+
var _a;
|
|
56
|
+
return [(_a = model == null ? void 0 : model.appMenuItems) == null ? void 0 : _a.map((item) => {
|
|
57
|
+
return item.itemType === "MENUITEM" && item.hidden !== true && vue.createVNode(vue.resolveComponent("van-grid-item"), {
|
|
58
|
+
"class": this.ns.b("item"),
|
|
59
|
+
"text": item.caption,
|
|
60
|
+
"onClick": (event) => this.c.onClickMenuItem(item.id, event, false)
|
|
61
|
+
}, {
|
|
62
|
+
icon: () => {
|
|
63
|
+
return vue.createVNode("div", {
|
|
64
|
+
"class": this.ns.b("icon")
|
|
65
|
+
}, [item.sysImage ? vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
66
|
+
"icon": item.sysImage
|
|
67
|
+
}, null) : vue.createVNode(vue.resolveComponent("van-icon"), {
|
|
68
|
+
"name": "setting-o"
|
|
69
|
+
}, null)]);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
})];
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
exports.AppMenuIconViewControl = AppMenuIconViewControl;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-control-appmenu-iconview{--ibiz-control-appmenu-icon-width:100%;--ibiz-control-appmenu-icon-view-icon-size:2.1875rem;--ibiz-control-appmenu-icon-view-icon-margin:0.3125rem}.ibiz-control-appmenu-iconview .van-grid-item__text{display:-webkit-box;flex:1;height:-moz-fit-content;height:fit-content;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ibiz-control-appmenu-iconview .van-badge__wrapper{display:flex;justify-content:center;width:100%}.ibiz-control-appmenu-iconview .van-grid-item__content--clickable:active{background-color:inherit}.ibiz-control-appmenu-iconview .ibiz-control-appmenu-icon{display:flex;align-items:center;justify-content:center;width:var(--ibiz-control-appmenu-icon-width);margin-bottom:var(--ibiz-control-appmenu-icon-view-icon-margin);font-size:var(--ibiz-control-appmenu-icon-view-icon-size)}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => {
|
|
7
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
+
return value;
|
|
9
|
+
};
|
|
10
|
+
class AppMenuIconViewProvider {
|
|
11
|
+
constructor() {
|
|
12
|
+
__publicField(this, "component", "IBizAppMenuIconViewControl");
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
exports.AppMenuIconViewProvider = AppMenuIconViewProvider;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('@ibiz-template/runtime');
|
|
6
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
7
|
+
var appMenuIconView_provider = require('./app-menu-icon-view.provider.cjs');
|
|
8
|
+
var appMenuIconView = require('./app-menu-icon-view.cjs');
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
const IBizAppMenuIconViewControl = vue3Util.withInstall(
|
|
12
|
+
appMenuIconView.AppMenuIconViewControl,
|
|
13
|
+
function(v) {
|
|
14
|
+
v.component(appMenuIconView.AppMenuIconViewControl.name, appMenuIconView.AppMenuIconViewControl);
|
|
15
|
+
runtime.registerControlProvider(
|
|
16
|
+
`${runtime.ControlType.APP_MENU}_ICONVIEW`,
|
|
17
|
+
() => new appMenuIconView_provider.AppMenuIconViewProvider()
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
exports.IBizAppMenuIconViewControl = IBizAppMenuIconViewControl;
|
|
23
|
+
exports.default = IBizAppMenuIconViewControl;
|