@ibiz-template/vue3-components 0.4.4 → 0.4.6-dev.0
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-ImL2qyp9.js +0 -1
- package/dist/ibiz-markdown-editor-BQsiQfa2.js +0 -1
- package/dist/index-Ry137VIz.js +13 -0
- package/dist/index-UNZ1dtt_.js +0 -1
- package/dist/index-Ul84JXar.js +0 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -2
- package/dist/map-chart-7nfIdU3w.js +0 -1
- package/dist/wang-editor-f4440Xvw.js +0 -1
- package/dist/{xlsx-util-5UOUTynl.js → xlsx-util-9HuMx0Yy.js} +1 -2
- package/es/common/data-import2/data-import2.d.ts +29 -6
- package/es/common/data-import2/data-import2.mjs +19 -13
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +118 -118
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +1 -1
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.mjs +1 -5
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.provider.mjs +1 -5
- package/es/control/dashboard/portlet/container-portlet/container-portlet.provider.mjs +1 -5
- package/es/control/dashboard/portlet/html-portlet/html-portlet.provider.mjs +1 -5
- package/es/control/dashboard/portlet/list-portlet/list-portlet.provider.mjs +1 -5
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.provider.mjs +1 -5
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.mjs +1 -5
- package/es/control/dashboard/portlet/view-portlet/view-portlet.provider.mjs +1 -5
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +1069 -1069
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +2 -2
- package/es/control/tree/tree.mjs +22 -10
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +2 -1
- package/es/editor/data-picker/ibiz-picker-embed-view/ibiz-picker-embed-view.d.ts +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +1 -1
- package/es/editor/span/span/span.d.ts +1 -1
- package/es/index.mjs +0 -1
- package/es/panel-component/index.d.ts +0 -1
- package/es/panel-component/index.mjs +2 -4
- package/es/panel-component/user-message/index.d.ts +3 -1
- package/es/panel-component/user-message/user-message.d.ts +3 -1
- package/es/view-engine/tab-exp-view.engine.mjs +7 -2
- package/es/view-engine/wf-dyna-edit-view.engine.mjs +1 -0
- package/lib/common/data-import2/data-import2.cjs +19 -13
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.cjs +1 -5
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.provider.cjs +1 -5
- package/lib/control/dashboard/portlet/container-portlet/container-portlet.provider.cjs +1 -5
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.provider.cjs +1 -5
- package/lib/control/dashboard/portlet/list-portlet/list-portlet.provider.cjs +1 -5
- package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.provider.cjs +1 -5
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.cjs +1 -5
- package/lib/control/dashboard/portlet/view-portlet/view-portlet.provider.cjs +1 -5
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -1
- package/lib/control/tree/tree.cjs +21 -9
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +2 -1
- package/lib/index.cjs +15 -17
- package/lib/panel-component/index.cjs +29 -32
- package/lib/view-engine/tab-exp-view.engine.cjs +7 -2
- package/lib/view-engine/wf-dyna-edit-view.engine.cjs +1 -0
- package/package.json +7 -7
- package/dist/chart-ImL2qyp9.js.map +0 -1
- package/dist/ibiz-markdown-editor-BQsiQfa2.js.map +0 -1
- package/dist/index-ErDi07y2.js +0 -14
- package/dist/index-ErDi07y2.js.map +0 -1
- package/dist/index-UNZ1dtt_.js.map +0 -1
- package/dist/index-Ul84JXar.js.map +0 -1
- package/dist/index.system.min.js.map +0 -1
- package/dist/map-chart-7nfIdU3w.js.map +0 -1
- package/dist/wang-editor-f4440Xvw.js.map +0 -1
- package/dist/xlsx-util-5UOUTynl.js.map +0 -1
- package/es/panel-component/panel-container-group/index.d.ts +0 -28
- package/es/panel-component/panel-container-group/index.mjs +0 -20
- package/es/panel-component/panel-container-group/panel-container-group.controller.d.ts +0 -31
- package/es/panel-component/panel-container-group/panel-container-group.controller.mjs +0 -35
- package/es/panel-component/panel-container-group/panel-container-group.css +0 -1
- package/es/panel-component/panel-container-group/panel-container-group.d.ts +0 -28
- package/es/panel-component/panel-container-group/panel-container-group.mjs +0 -107
- package/es/panel-component/panel-container-group/panel-container-group.provider.d.ts +0 -15
- package/es/panel-component/panel-container-group/panel-container-group.provider.mjs +0 -21
- package/es/panel-component/panel-container-group/panel-container-group.state.d.ts +0 -12
- package/es/panel-component/panel-container-group/panel-container-group.state.mjs +0 -7
- package/es/panel-component/panel-tab-page/index.d.ts +0 -23
- package/es/panel-component/panel-tab-page/index.mjs +0 -12
- package/es/panel-component/panel-tab-page/panel-tab-page.d.ts +0 -25
- package/es/panel-component/panel-tab-page/panel-tab-page.mjs +0 -62
- package/es/panel-component/panel-tab-page/panel-tab-page.provider.d.ts +0 -13
- package/es/panel-component/panel-tab-page/panel-tab-page.provider.mjs +0 -21
- package/lib/panel-component/panel-container-group/index.cjs +0 -27
- package/lib/panel-component/panel-container-group/panel-container-group.cjs +0 -109
- package/lib/panel-component/panel-container-group/panel-container-group.controller.cjs +0 -37
- package/lib/panel-component/panel-container-group/panel-container-group.css +0 -1
- package/lib/panel-component/panel-container-group/panel-container-group.provider.cjs +0 -23
- package/lib/panel-component/panel-container-group/panel-container-group.state.cjs +0 -9
- package/lib/panel-component/panel-tab-page/index.cjs +0 -17
- package/lib/panel-component/panel-tab-page/panel-tab-page.cjs +0 -64
- package/lib/panel-component/panel-tab-page/panel-tab-page.provider.cjs +0 -23
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var panelContainerGroup_controller = require('./panel-container-group.controller.cjs');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class PanelContainerGroupProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizPanelContainerGroup");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new panelContainerGroup_controller.PanelContainerGroupController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.PanelContainerGroupProvider = PanelContainerGroupProvider;
|
|
@@ -1,17 +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 panelTabPage = require('./panel-tab-page.cjs');
|
|
8
|
-
var panelTabPage_provider = require('./panel-tab-page.provider.cjs');
|
|
9
|
-
|
|
10
|
-
"use strict";
|
|
11
|
-
const IBizPanelTabPage = vue3Util.withInstall(panelTabPage.PanelTabPage, function(v) {
|
|
12
|
-
v.component(panelTabPage.PanelTabPage.name, panelTabPage.PanelTabPage);
|
|
13
|
-
runtime.registerPanelItemProvider("TABPAGE", () => new panelTabPage_provider.PanelTabPageProvider());
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
exports.IBizPanelTabPage = IBizPanelTabPage;
|
|
17
|
-
exports.default = IBizPanelTabPage;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var runtime = require('@ibiz-template/runtime');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
function _isSlot(s) {
|
|
9
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
10
|
-
}
|
|
11
|
-
const PanelTabPage = /* @__PURE__ */ vue.defineComponent({
|
|
12
|
-
name: "IBizPanelTabPage",
|
|
13
|
-
props: {
|
|
14
|
-
modelData: {
|
|
15
|
-
// IPanelTabPage 不能使用 IPanelTabPage模型 否则会类型报错
|
|
16
|
-
type: Object,
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
controller: {
|
|
20
|
-
type: runtime.PanelItemController,
|
|
21
|
-
required: true
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(props) {
|
|
25
|
-
const ns = vue3Util.useNamespace("panel-tab-page");
|
|
26
|
-
const classArr = vue.computed(() => {
|
|
27
|
-
const {
|
|
28
|
-
id
|
|
29
|
-
} = props.modelData;
|
|
30
|
-
const result = [ns.b(), ns.m(id)];
|
|
31
|
-
result.push(...props.controller.containerClass);
|
|
32
|
-
return result;
|
|
33
|
-
});
|
|
34
|
-
return {
|
|
35
|
-
ns,
|
|
36
|
-
classArr
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
render() {
|
|
40
|
-
var _a, _b;
|
|
41
|
-
let _slot;
|
|
42
|
-
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
43
|
-
return vue.createVNode(vue.resolveComponent("iBizRow"), {
|
|
44
|
-
"class": [this.ns.b(), this.ns.m(this.modelData.codeName), this.classArr],
|
|
45
|
-
"layout": this.modelData.layout
|
|
46
|
-
}, _isSlot(_slot = defaultSlots.map((slot) => {
|
|
47
|
-
const props = slot.props;
|
|
48
|
-
if (!props || !props.controller) {
|
|
49
|
-
return slot;
|
|
50
|
-
}
|
|
51
|
-
const c = props.controller;
|
|
52
|
-
return vue.createVNode(vue.resolveComponent("iBizCol"), {
|
|
53
|
-
"layoutPos": c.model.layoutPos,
|
|
54
|
-
"state": c.state
|
|
55
|
-
}, _isSlot(slot) ? slot : {
|
|
56
|
-
default: () => [slot]
|
|
57
|
-
});
|
|
58
|
-
})) ? _slot : {
|
|
59
|
-
default: () => [_slot]
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
exports.PanelTabPage = PanelTabPage;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var runtime = require('@ibiz-template/runtime');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
var __defProp = Object.defineProperty;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __publicField = (obj, key, value) => {
|
|
9
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
-
return value;
|
|
11
|
-
};
|
|
12
|
-
class PanelTabPageProvider {
|
|
13
|
-
constructor() {
|
|
14
|
-
__publicField(this, "component", "IBizPanelTabPage");
|
|
15
|
-
}
|
|
16
|
-
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new runtime.PanelItemController(panelItem, panel, parent);
|
|
18
|
-
await c.init();
|
|
19
|
-
return c;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
exports.PanelTabPageProvider = PanelTabPageProvider;
|