@ibiz-template/mob-vue3-components 0.0.1-alpha.24 → 0.0.1
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 +5 -5
- package/dist/index.system.min.js.map +1 -1
- package/es/common/col/col.mjs +0 -3
- package/es/common/rawitem/rawitem.mjs +1 -1
- package/es/control/calendar/calendar.d.ts +1 -1
- package/es/control/calendar/calendar.mjs +1 -1
- package/es/control/calendar/index.d.ts +1 -1
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/chart/chart.d.ts +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.d.ts +1 -1
- package/es/control/data-view/index.d.ts +1 -1
- package/es/control/form/edit-form/edit-form.d.ts +1 -1
- package/es/control/form/edit-form/index.d.ts +1 -1
- package/es/control/form/form-detail/form-button/form-button.css +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -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-item/form-item.css +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-repeater/repeater-multi-form/repeater-multi-form.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-multi-form/repeater-multi-form.mjs +15 -3
- 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 +4 -3
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +14 -6
- package/es/control/form/form-detail/form-page/form-page.css +1 -1
- package/es/control/index.d.ts +0 -1
- package/es/control/index.mjs +0 -5
- package/es/control/md-ctrl/md-ctrl.css +1 -1
- package/es/control/search-bar/search-bar.css +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +2 -2
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +3 -0
- 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 +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +6 -6
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +7 -8
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs +3 -0
- package/es/editor/span/span/span.css +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +2 -2
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +2 -0
- package/es/index.mjs +1 -3
- package/es/panel-component/index.mjs +5 -1
- package/es/panel-component/panel-tab-panel/index.d.ts +23 -0
- package/es/panel-component/panel-tab-panel/index.mjs +12 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.css +1 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +26 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +70 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.provider.d.ts +13 -0
- package/{lib/control/panel/view-layout-panel/view-layout-panel.provider.cjs → es/panel-component/panel-tab-panel/panel-tab-panel.provider.mjs} +9 -4
- package/es/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/es/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/lib/common/col/col.cjs +0 -3
- package/lib/common/rawitem/rawitem.cjs +1 -1
- package/lib/control/calendar/calendar.cjs +1 -1
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/form/form-detail/form-button/form-button.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.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-item/form-item.css +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-repeater/repeater-multi-form/repeater-multi-form.cjs +15 -3
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +14 -6
- 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.css +1 -1
- package/lib/control/index.cjs +58 -67
- package/lib/control/md-ctrl/md-ctrl.css +1 -1
- package/lib/control/search-bar/search-bar.css +1 -1
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +2 -2
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +3 -0
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +6 -6
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +7 -8
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +3 -0
- package/lib/editor/span/span/span.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +2 -2
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +2 -0
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/lib/index.cjs +38 -40
- package/lib/panel-component/index.cjs +4 -0
- package/lib/panel-component/panel-tab-panel/index.cjs +17 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +72 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.css +1 -0
- package/lib/{control/panel/panel/panel.provider.cjs → panel-component/panel-tab-panel/panel-tab-panel.provider.cjs} +10 -3
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/package.json +4 -4
- package/es/control/panel/index.d.ts +0 -2
- package/es/control/panel/index.mjs +0 -6
- package/es/control/panel/panel/index.d.ts +0 -51
- package/es/control/panel/panel/index.mjs +0 -12
- package/es/control/panel/panel/panel.css +0 -1
- package/es/control/panel/panel/panel.d.ts +0 -56
- package/es/control/panel/panel/panel.mjs +0 -130
- package/es/control/panel/panel/panel.provider.d.ts +0 -13
- package/es/control/panel/panel/panel.provider.mjs +0 -14
- package/es/control/panel/view-layout-panel/index.d.ts +0 -36
- package/es/control/panel/view-layout-panel/index.mjs +0 -18
- package/es/control/panel/view-layout-panel/view-layout-panel.css +0 -1
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts +0 -41
- package/es/control/panel/view-layout-panel/view-layout-panel.mjs +0 -109
- package/es/control/panel/view-layout-panel/view-layout-panel.provider.d.ts +0 -13
- package/es/control/panel/view-layout-panel/view-layout-panel.provider.mjs +0 -14
- package/lib/control/panel/index.cjs +0 -13
- package/lib/control/panel/panel/index.cjs +0 -18
- package/lib/control/panel/panel/panel.cjs +0 -132
- package/lib/control/panel/panel/panel.css +0 -1
- package/lib/control/panel/view-layout-panel/index.cjs +0 -24
- package/lib/control/panel/view-layout-panel/view-layout-panel.cjs +0 -111
- package/lib/control/panel/view-layout-panel/view-layout-panel.css +0 -1
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/Calendar.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarDate.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarScrollContainer.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarTime.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarYearMonth.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/constant/img.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/constant/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/use-expose.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/use-mounted-or-activated.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/use-rect.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/language/cn.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/language/en.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/language/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/basic.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/props.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/validate.mjs +0 -0
- /package/es/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/with-install.mjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/Calendar.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarDate.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarScrollContainer.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarTime.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/CalendarYearMonth.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/constant/img.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/constant/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/use-expose.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/use-mounted-or-activated.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/hooks/use-rect.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/language/cn.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/language/en.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/language/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/basic.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/props.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/validate.cjs +0 -0
- /package/lib/node_modules/.pnpm/{vue3-hash-calendar@1.1.3_vue@3.3.8 → vue3-hash-calendar@1.1.3_vue@3.3.9}/node_modules/vue3-hash-calendar/es/utils/with-install.cjs +0 -0
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { isVNode, createTextVNode, createVNode, resolveComponent, h, watch, reactive, defineComponent } from 'vue';
|
|
2
|
-
import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import './panel.css';
|
|
4
|
-
import { PanelController } from '@ibiz-template/runtime';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
function _isSlot(s) {
|
|
8
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9
|
-
}
|
|
10
|
-
function renderPanelItem(panelItem, c, ins) {
|
|
11
|
-
var _a, _b;
|
|
12
|
-
if (panelItem.hidden) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
const {
|
|
16
|
-
providers,
|
|
17
|
-
panelItems
|
|
18
|
-
} = c;
|
|
19
|
-
const provider = providers[panelItem.id];
|
|
20
|
-
if (!provider) {
|
|
21
|
-
return createVNode("div", null, [createTextVNode("\u6682\u672A\u652F\u6301\u7684\u9762\u677F\u9879: "), panelItem.id, createTextVNode(" - "), panelItem.itemType]);
|
|
22
|
-
}
|
|
23
|
-
const component = resolveComponent(provider.component);
|
|
24
|
-
let children;
|
|
25
|
-
if (panelItem.itemType === "CTRLPOS" && ins.$slots[panelItem.id]) {
|
|
26
|
-
children = () => {
|
|
27
|
-
return ins.$slots[panelItem.id]();
|
|
28
|
-
};
|
|
29
|
-
} else if (panelItem.itemType === "TABPANEL" && ((_a = panelItem.panelTabPages) == null ? void 0 : _a.length)) {
|
|
30
|
-
children = () => {
|
|
31
|
-
return panelItem.panelTabPages.map((child) => {
|
|
32
|
-
return renderPanelItem(child, c, ins);
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
} else if ((_b = panelItem.panelItems) == null ? void 0 : _b.length) {
|
|
36
|
-
children = () => {
|
|
37
|
-
return panelItem.panelItems.map((child) => {
|
|
38
|
-
return renderPanelItem(child, c, ins);
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
return h(component, {
|
|
43
|
-
modelData: panelItem,
|
|
44
|
-
controller: panelItems[panelItem.id],
|
|
45
|
-
key: panelItem.id
|
|
46
|
-
}, children);
|
|
47
|
-
}
|
|
48
|
-
const PanelControl = /* @__PURE__ */ defineComponent({
|
|
49
|
-
name: "IBizPanelControl",
|
|
50
|
-
props: {
|
|
51
|
-
modelData: {
|
|
52
|
-
type: Object,
|
|
53
|
-
required: true
|
|
54
|
-
},
|
|
55
|
-
context: {
|
|
56
|
-
type: Object,
|
|
57
|
-
required: true
|
|
58
|
-
},
|
|
59
|
-
params: {
|
|
60
|
-
type: Object,
|
|
61
|
-
default: () => ({})
|
|
62
|
-
},
|
|
63
|
-
provider: {
|
|
64
|
-
type: Object
|
|
65
|
-
},
|
|
66
|
-
data: Object,
|
|
67
|
-
loadDefault: {
|
|
68
|
-
type: Boolean,
|
|
69
|
-
default: true
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
setup(props) {
|
|
73
|
-
const c = useControlController((...args) => new PanelController(...args));
|
|
74
|
-
const ns = useNamespace(`control-${c.model.controlType.toLowerCase()}`);
|
|
75
|
-
watch(() => props.data, (newVal) => {
|
|
76
|
-
if (newVal) {
|
|
77
|
-
c.setInputData(newVal);
|
|
78
|
-
c.load();
|
|
79
|
-
}
|
|
80
|
-
}, {
|
|
81
|
-
immediate: true
|
|
82
|
-
});
|
|
83
|
-
c.evt.on("onCreated", () => {
|
|
84
|
-
const keys = Object.keys(c.panelItems);
|
|
85
|
-
keys.forEach((key) => {
|
|
86
|
-
const panelItem = c.panelItems[key];
|
|
87
|
-
panelItem.state = reactive(panelItem.state);
|
|
88
|
-
});
|
|
89
|
-
});
|
|
90
|
-
return {
|
|
91
|
-
c,
|
|
92
|
-
ns
|
|
93
|
-
};
|
|
94
|
-
},
|
|
95
|
-
render() {
|
|
96
|
-
const {
|
|
97
|
-
state,
|
|
98
|
-
model
|
|
99
|
-
} = this.c;
|
|
100
|
-
return createVNode(resolveComponent("iBizControlBase"), {
|
|
101
|
-
"controller": this.c
|
|
102
|
-
}, {
|
|
103
|
-
default: () => [createVNode(resolveComponent("iBizRow"), {
|
|
104
|
-
"class": this.ns.b("content"),
|
|
105
|
-
"layout": {
|
|
106
|
-
layout: "FLEX"
|
|
107
|
-
}
|
|
108
|
-
}, {
|
|
109
|
-
default: () => {
|
|
110
|
-
var _a;
|
|
111
|
-
return [state.isCreated && (this.$slots.default ? this.$slots.default({
|
|
112
|
-
panelItems: this.c.panelItems
|
|
113
|
-
}) : (_a = model.rootPanelItems) == null ? void 0 : _a.map((panelItem) => {
|
|
114
|
-
let _slot;
|
|
115
|
-
const subC = this.c.panelItems[panelItem.id];
|
|
116
|
-
panelItem.layoutPos.layout = "FLEX";
|
|
117
|
-
return createVNode(resolveComponent("iBizCol"), {
|
|
118
|
-
"layoutPos": panelItem.layoutPos,
|
|
119
|
-
"state": subC.state
|
|
120
|
-
}, _isSlot(_slot = renderPanelItem(panelItem, this.c, this)) ? _slot : {
|
|
121
|
-
default: () => [_slot]
|
|
122
|
-
});
|
|
123
|
-
}))];
|
|
124
|
-
}
|
|
125
|
-
})]
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
export { PanelControl };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IControlProvider } from '@ibiz-template/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* 面板部件适配器
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2022-10-25 18:10:57
|
|
7
|
-
* @export
|
|
8
|
-
* @class ViewLayoutPanelProvider
|
|
9
|
-
* @implements {IControlProvider}
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanelProvider implements IControlProvider {
|
|
12
|
-
component: string;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
class PanelProvider {
|
|
9
|
-
constructor() {
|
|
10
|
-
__publicField(this, "component", "IBizPanelControl");
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { PanelProvider };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export * from './view-layout-panel.provider';
|
|
2
|
-
export declare const IBizViewLayoutPanelControl: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
|
|
3
|
-
modelData: {
|
|
4
|
-
type: import("vue").PropType<import("@ibiz/model-core").IViewLayoutPanel>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
context: {
|
|
8
|
-
type: import("vue").PropType<IContext>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
params: {
|
|
12
|
-
type: import("vue").PropType<IParams>;
|
|
13
|
-
default: () => {};
|
|
14
|
-
};
|
|
15
|
-
inputData: import("vue").PropType<IData>;
|
|
16
|
-
}, {
|
|
17
|
-
c: import("@ibiz-template/runtime").ViewLayoutPanelController;
|
|
18
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
19
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
modelData: {
|
|
21
|
-
type: import("vue").PropType<import("@ibiz/model-core").IViewLayoutPanel>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
context: {
|
|
25
|
-
type: import("vue").PropType<IContext>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
params: {
|
|
29
|
-
type: import("vue").PropType<IParams>;
|
|
30
|
-
default: () => {};
|
|
31
|
-
};
|
|
32
|
-
inputData: import("vue").PropType<IData>;
|
|
33
|
-
}>>, {
|
|
34
|
-
params: IParams;
|
|
35
|
-
}, {}>>;
|
|
36
|
-
export default IBizViewLayoutPanelControl;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ControlType, registerControlProvider } from '@ibiz-template/runtime';
|
|
2
|
-
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
-
import { ViewLayoutPanelControl } from './view-layout-panel.mjs';
|
|
4
|
-
import { ViewLayoutPanelProvider } from './view-layout-panel.provider.mjs';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
const IBizViewLayoutPanelControl = withInstall(
|
|
8
|
-
ViewLayoutPanelControl,
|
|
9
|
-
function(v) {
|
|
10
|
-
v.component(ViewLayoutPanelControl.name, ViewLayoutPanelControl);
|
|
11
|
-
registerControlProvider(
|
|
12
|
-
ControlType.VIEW_LAYOUT_PANEL,
|
|
13
|
-
() => new ViewLayoutPanelProvider()
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
export { IBizViewLayoutPanelControl, ViewLayoutPanelProvider, IBizViewLayoutPanelControl as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-control-viewlayoutpanel{width:100%;height:100%}.ibiz-control-viewlayoutpanel-content{width:100%;height:100%}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { IViewLayoutPanel } from '@ibiz/model-core';
|
|
3
|
-
import './view-layout-panel.scss';
|
|
4
|
-
import { ViewLayoutPanelController } from '@ibiz-template/runtime';
|
|
5
|
-
/**
|
|
6
|
-
* 视图布局面板组件
|
|
7
|
-
*/
|
|
8
|
-
export declare const ViewLayoutPanelControl: import("vue").DefineComponent<{
|
|
9
|
-
modelData: {
|
|
10
|
-
type: PropType<IViewLayoutPanel>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
context: {
|
|
14
|
-
type: PropType<IContext>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
params: {
|
|
18
|
-
type: PropType<IParams>;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
|
-
inputData: PropType<IData>;
|
|
22
|
-
}, {
|
|
23
|
-
c: ViewLayoutPanelController;
|
|
24
|
-
ns: import("@ibiz-template/core").Namespace;
|
|
25
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
-
modelData: {
|
|
27
|
-
type: PropType<IViewLayoutPanel>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
context: {
|
|
31
|
-
type: PropType<IContext>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
params: {
|
|
35
|
-
type: PropType<IParams>;
|
|
36
|
-
default: () => {};
|
|
37
|
-
};
|
|
38
|
-
inputData: PropType<IData>;
|
|
39
|
-
}>>, {
|
|
40
|
-
params: IParams;
|
|
41
|
-
}, {}>;
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { isVNode, createTextVNode, createVNode, resolveComponent, h, reactive, defineComponent } from 'vue';
|
|
2
|
-
import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
-
import './view-layout-panel.css';
|
|
4
|
-
import { ViewLayoutPanelController } from '@ibiz-template/runtime';
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
function _isSlot(s) {
|
|
8
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9
|
-
}
|
|
10
|
-
function renderPanelItem(panelItem, c, ins) {
|
|
11
|
-
var _a;
|
|
12
|
-
if (panelItem.hidden) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
const {
|
|
16
|
-
providers,
|
|
17
|
-
panelItems
|
|
18
|
-
} = c;
|
|
19
|
-
const provider = providers[panelItem.id];
|
|
20
|
-
if (!provider) {
|
|
21
|
-
return createVNode("div", null, [createTextVNode("\u6682\u672A\u652F\u6301\u7684\u9762\u677F\u9879: "), panelItem.id, createTextVNode(" - "), panelItem.itemType]);
|
|
22
|
-
}
|
|
23
|
-
const component = resolveComponent(provider.component);
|
|
24
|
-
let children;
|
|
25
|
-
if (panelItem.itemType === "CTRLPOS" && ins.$slots[panelItem.id]) {
|
|
26
|
-
children = () => {
|
|
27
|
-
return ins.$slots[panelItem.id]();
|
|
28
|
-
};
|
|
29
|
-
} else if ((_a = panelItem.panelItems) == null ? void 0 : _a.length) {
|
|
30
|
-
children = () => {
|
|
31
|
-
return panelItem.panelItems.map((child) => {
|
|
32
|
-
return renderPanelItem(child, c, ins);
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
return h(component, {
|
|
37
|
-
modelData: panelItem,
|
|
38
|
-
controller: panelItems[panelItem.id],
|
|
39
|
-
key: panelItem.id
|
|
40
|
-
}, children);
|
|
41
|
-
}
|
|
42
|
-
const ViewLayoutPanelControl = /* @__PURE__ */ defineComponent({
|
|
43
|
-
name: "IBizViewLayoutPanelControl",
|
|
44
|
-
props: {
|
|
45
|
-
modelData: {
|
|
46
|
-
type: Object,
|
|
47
|
-
required: true
|
|
48
|
-
},
|
|
49
|
-
context: {
|
|
50
|
-
type: Object,
|
|
51
|
-
required: true
|
|
52
|
-
},
|
|
53
|
-
params: {
|
|
54
|
-
type: Object,
|
|
55
|
-
default: () => ({})
|
|
56
|
-
},
|
|
57
|
-
inputData: Object
|
|
58
|
-
},
|
|
59
|
-
setup() {
|
|
60
|
-
const c = useControlController((...args) => new ViewLayoutPanelController(...args));
|
|
61
|
-
const ns = useNamespace(`control-${c.model.controlType.toLowerCase()}`);
|
|
62
|
-
c.evt.on("onCreated", () => {
|
|
63
|
-
const keys = Object.keys(c.panelItems);
|
|
64
|
-
keys.forEach((key) => {
|
|
65
|
-
const panelItem = c.panelItems[key];
|
|
66
|
-
panelItem.state = reactive(panelItem.state);
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
return {
|
|
70
|
-
c,
|
|
71
|
-
ns
|
|
72
|
-
};
|
|
73
|
-
},
|
|
74
|
-
render() {
|
|
75
|
-
const {
|
|
76
|
-
state,
|
|
77
|
-
model
|
|
78
|
-
} = this.c;
|
|
79
|
-
return createVNode(resolveComponent("iBizControlBase"), {
|
|
80
|
-
"controller": this.c
|
|
81
|
-
}, {
|
|
82
|
-
default: () => [createVNode(resolveComponent("iBizRow"), {
|
|
83
|
-
"class": this.ns.b("content"),
|
|
84
|
-
"layout": {
|
|
85
|
-
layout: "FLEX"
|
|
86
|
-
}
|
|
87
|
-
}, {
|
|
88
|
-
default: () => {
|
|
89
|
-
var _a;
|
|
90
|
-
return [state.isCreated && (this.$slots.default ? this.$slots.default({
|
|
91
|
-
panelItems: this.c.panelItems
|
|
92
|
-
}) : (_a = model.rootPanelItems) == null ? void 0 : _a.map((panelItem) => {
|
|
93
|
-
let _slot;
|
|
94
|
-
const subC = this.c.panelItems[panelItem.id];
|
|
95
|
-
panelItem.layoutPos.layout = "FLEX";
|
|
96
|
-
return createVNode(resolveComponent("iBizCol"), {
|
|
97
|
-
"layoutPos": panelItem.layoutPos,
|
|
98
|
-
"state": subC.state
|
|
99
|
-
}, _isSlot(_slot = renderPanelItem(panelItem, this.c, this)) ? _slot : {
|
|
100
|
-
default: () => [_slot]
|
|
101
|
-
});
|
|
102
|
-
}))];
|
|
103
|
-
}
|
|
104
|
-
})]
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
export { ViewLayoutPanelControl };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IControlProvider } from '@ibiz-template/runtime';
|
|
2
|
-
/**
|
|
3
|
-
* 视图布局面板部件适配器
|
|
4
|
-
*
|
|
5
|
-
* @author lxm
|
|
6
|
-
* @date 2022-10-25 18:10:57
|
|
7
|
-
* @export
|
|
8
|
-
* @class ViewLayoutPanelProvider
|
|
9
|
-
* @implements {IControlProvider}
|
|
10
|
-
*/
|
|
11
|
-
export declare class ViewLayoutPanelProvider implements IControlProvider {
|
|
12
|
-
component: string;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
class ViewLayoutPanelProvider {
|
|
9
|
-
constructor() {
|
|
10
|
-
__publicField(this, "component", "IBizViewLayoutPanelControl");
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { ViewLayoutPanelProvider };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./view-layout-panel/index.cjs');
|
|
4
|
-
var index$1 = require('./panel/index.cjs');
|
|
5
|
-
var viewLayoutPanel_provider = require('./view-layout-panel/view-layout-panel.provider.cjs');
|
|
6
|
-
var panel_provider = require('./panel/panel.provider.cjs');
|
|
7
|
-
|
|
8
|
-
"use strict";
|
|
9
|
-
|
|
10
|
-
exports.IBizViewLayoutPanelControl = index.IBizViewLayoutPanelControl;
|
|
11
|
-
exports.IBizPanelControl = index$1.IBizPanelControl;
|
|
12
|
-
exports.ViewLayoutPanelProvider = viewLayoutPanel_provider.ViewLayoutPanelProvider;
|
|
13
|
-
exports.PanelProvider = panel_provider.PanelProvider;
|
|
@@ -1,18 +0,0 @@
|
|
|
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 panel = require('./panel.cjs');
|
|
8
|
-
var panel_provider = require('./panel.provider.cjs');
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
const IBizPanelControl = vue3Util.withInstall(panel.PanelControl, function(v) {
|
|
12
|
-
v.component(panel.PanelControl.name, panel.PanelControl);
|
|
13
|
-
runtime.registerControlProvider(runtime.ControlType.PANEL, () => new panel_provider.PanelProvider());
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
exports.PanelProvider = panel_provider.PanelProvider;
|
|
17
|
-
exports.IBizPanelControl = IBizPanelControl;
|
|
18
|
-
exports.default = IBizPanelControl;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./panel.css');
|
|
6
|
-
var runtime = require('@ibiz-template/runtime');
|
|
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
|
-
function renderPanelItem(panelItem, c, ins) {
|
|
13
|
-
var _a, _b;
|
|
14
|
-
if (panelItem.hidden) {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
const {
|
|
18
|
-
providers,
|
|
19
|
-
panelItems
|
|
20
|
-
} = c;
|
|
21
|
-
const provider = providers[panelItem.id];
|
|
22
|
-
if (!provider) {
|
|
23
|
-
return vue.createVNode("div", null, [vue.createTextVNode("\u6682\u672A\u652F\u6301\u7684\u9762\u677F\u9879: "), panelItem.id, vue.createTextVNode(" - "), panelItem.itemType]);
|
|
24
|
-
}
|
|
25
|
-
const component = vue.resolveComponent(provider.component);
|
|
26
|
-
let children;
|
|
27
|
-
if (panelItem.itemType === "CTRLPOS" && ins.$slots[panelItem.id]) {
|
|
28
|
-
children = () => {
|
|
29
|
-
return ins.$slots[panelItem.id]();
|
|
30
|
-
};
|
|
31
|
-
} else if (panelItem.itemType === "TABPANEL" && ((_a = panelItem.panelTabPages) == null ? void 0 : _a.length)) {
|
|
32
|
-
children = () => {
|
|
33
|
-
return panelItem.panelTabPages.map((child) => {
|
|
34
|
-
return renderPanelItem(child, c, ins);
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
} else if ((_b = panelItem.panelItems) == null ? void 0 : _b.length) {
|
|
38
|
-
children = () => {
|
|
39
|
-
return panelItem.panelItems.map((child) => {
|
|
40
|
-
return renderPanelItem(child, c, ins);
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
return vue.h(component, {
|
|
45
|
-
modelData: panelItem,
|
|
46
|
-
controller: panelItems[panelItem.id],
|
|
47
|
-
key: panelItem.id
|
|
48
|
-
}, children);
|
|
49
|
-
}
|
|
50
|
-
const PanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
51
|
-
name: "IBizPanelControl",
|
|
52
|
-
props: {
|
|
53
|
-
modelData: {
|
|
54
|
-
type: Object,
|
|
55
|
-
required: true
|
|
56
|
-
},
|
|
57
|
-
context: {
|
|
58
|
-
type: Object,
|
|
59
|
-
required: true
|
|
60
|
-
},
|
|
61
|
-
params: {
|
|
62
|
-
type: Object,
|
|
63
|
-
default: () => ({})
|
|
64
|
-
},
|
|
65
|
-
provider: {
|
|
66
|
-
type: Object
|
|
67
|
-
},
|
|
68
|
-
data: Object,
|
|
69
|
-
loadDefault: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: true
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
setup(props) {
|
|
75
|
-
const c = vue3Util.useControlController((...args) => new runtime.PanelController(...args));
|
|
76
|
-
const ns = vue3Util.useNamespace(`control-${c.model.controlType.toLowerCase()}`);
|
|
77
|
-
vue.watch(() => props.data, (newVal) => {
|
|
78
|
-
if (newVal) {
|
|
79
|
-
c.setInputData(newVal);
|
|
80
|
-
c.load();
|
|
81
|
-
}
|
|
82
|
-
}, {
|
|
83
|
-
immediate: true
|
|
84
|
-
});
|
|
85
|
-
c.evt.on("onCreated", () => {
|
|
86
|
-
const keys = Object.keys(c.panelItems);
|
|
87
|
-
keys.forEach((key) => {
|
|
88
|
-
const panelItem = c.panelItems[key];
|
|
89
|
-
panelItem.state = vue.reactive(panelItem.state);
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
return {
|
|
93
|
-
c,
|
|
94
|
-
ns
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
render() {
|
|
98
|
-
const {
|
|
99
|
-
state,
|
|
100
|
-
model
|
|
101
|
-
} = this.c;
|
|
102
|
-
return vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
103
|
-
"controller": this.c
|
|
104
|
-
}, {
|
|
105
|
-
default: () => [vue.createVNode(vue.resolveComponent("iBizRow"), {
|
|
106
|
-
"class": this.ns.b("content"),
|
|
107
|
-
"layout": {
|
|
108
|
-
layout: "FLEX"
|
|
109
|
-
}
|
|
110
|
-
}, {
|
|
111
|
-
default: () => {
|
|
112
|
-
var _a;
|
|
113
|
-
return [state.isCreated && (this.$slots.default ? this.$slots.default({
|
|
114
|
-
panelItems: this.c.panelItems
|
|
115
|
-
}) : (_a = model.rootPanelItems) == null ? void 0 : _a.map((panelItem) => {
|
|
116
|
-
let _slot;
|
|
117
|
-
const subC = this.c.panelItems[panelItem.id];
|
|
118
|
-
panelItem.layoutPos.layout = "FLEX";
|
|
119
|
-
return vue.createVNode(vue.resolveComponent("iBizCol"), {
|
|
120
|
-
"layoutPos": panelItem.layoutPos,
|
|
121
|
-
"state": subC.state
|
|
122
|
-
}, _isSlot(_slot = renderPanelItem(panelItem, this.c, this)) ? _slot : {
|
|
123
|
-
default: () => [_slot]
|
|
124
|
-
});
|
|
125
|
-
}))];
|
|
126
|
-
}
|
|
127
|
-
})]
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
exports.PanelControl = PanelControl;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-control-panel{width:100%;height:100%}.ibiz-control-panel-content{width:100%;height:100%}
|
|
@@ -1,24 +0,0 @@
|
|
|
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 viewLayoutPanel = require('./view-layout-panel.cjs');
|
|
8
|
-
var viewLayoutPanel_provider = require('./view-layout-panel.provider.cjs');
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
const IBizViewLayoutPanelControl = vue3Util.withInstall(
|
|
12
|
-
viewLayoutPanel.ViewLayoutPanelControl,
|
|
13
|
-
function(v) {
|
|
14
|
-
v.component(viewLayoutPanel.ViewLayoutPanelControl.name, viewLayoutPanel.ViewLayoutPanelControl);
|
|
15
|
-
runtime.registerControlProvider(
|
|
16
|
-
runtime.ControlType.VIEW_LAYOUT_PANEL,
|
|
17
|
-
() => new viewLayoutPanel_provider.ViewLayoutPanelProvider()
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
exports.ViewLayoutPanelProvider = viewLayoutPanel_provider.ViewLayoutPanelProvider;
|
|
23
|
-
exports.IBizViewLayoutPanelControl = IBizViewLayoutPanelControl;
|
|
24
|
-
exports.default = IBizViewLayoutPanelControl;
|