@ibiz-template/vue3-components 0.7.0 → 0.7.2
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-8RikZoLN.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-keqImqNu.js → xlsx-util-vcRxGFII.js} +1 -1
- package/es/common/data-import/data-import.d.ts +1 -3
- package/es/common/data-import/data-import.mjs +34 -77
- package/es/common/view-message/view-message.mjs +3 -0
- package/es/control/form/form/form.mjs +7 -9
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +40 -0
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +2 -1
- package/es/control/grid/grid/grid.d.ts +1 -0
- package/es/control/grid/grid/grid.mjs +15 -3
- package/es/control/grid/grid/index.d.ts +3 -0
- package/es/control/tree-grid/index.d.ts +3 -0
- package/es/control/tree-grid/tree-grid.d.ts +3 -1
- package/es/control/tree-grid/tree-grid.mjs +15 -3
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +7 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +7 -3
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +5 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +7 -3
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +5 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +18 -3
- package/es/editor/text-box/input/input.d.ts +1 -1
- package/es/index.mjs +1 -0
- package/es/panel-component/data-import/data-import-shell.css +0 -0
- package/es/panel-component/data-import/data-import-shell.d.ts +27 -0
- package/es/panel-component/data-import/data-import-shell.mjs +49 -0
- package/es/panel-component/data-import/data-import.provider.d.ts +15 -0
- package/es/panel-component/data-import/data-import.provider.mjs +21 -0
- package/es/panel-component/data-import/index.d.ts +24 -0
- package/es/panel-component/data-import/index.mjs +15 -0
- package/es/panel-component/index.d.ts +1 -0
- package/es/panel-component/index.mjs +5 -1
- package/es/panel-component/panel-index-view-search/index.d.ts +1 -0
- package/es/panel-component/panel-index-view-search/panel-index-view-search.d.ts +1 -0
- package/es/panel-component/panel-index-view-search/panel-index-view-search.mjs +9 -3
- package/es/panel-component/user-action/index.d.ts +25 -0
- package/es/panel-component/user-action/index.mjs +14 -0
- package/es/panel-component/user-action/user-action-provider.d.ts +6 -0
- package/es/panel-component/user-action/user-action-provider.mjs +21 -0
- package/es/panel-component/user-action/user-action.css +1 -0
- package/es/panel-component/user-action/user-action.d.ts +28 -0
- package/es/panel-component/user-action/user-action.mjs +74 -0
- package/es/view-engine/app-data-upload-view.engine.d.ts +13 -0
- package/es/view-engine/app-data-upload-view.engine.mjs +7 -0
- package/es/view-engine/index-view.engine.mjs +13 -1
- package/es/view-engine/index.mjs +5 -0
- package/es/view-engine/tab-search-view.engine.mjs +5 -0
- package/lib/common/data-import/data-import.cjs +33 -76
- package/lib/common/view-message/view-message.cjs +3 -0
- package/lib/control/form/form/form.cjs +7 -9
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +2 -1
- package/lib/control/grid/grid/grid.cjs +14 -2
- package/lib/control/tree-grid/tree-grid.cjs +14 -2
- package/lib/control/tree-grid-ex/tree-grid-ex.cjs +6 -0
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +7 -3
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +5 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +7 -3
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +5 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +18 -3
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/index.cjs +12 -10
- package/lib/panel-component/data-import/data-import-shell.cjs +51 -0
- package/lib/panel-component/data-import/data-import-shell.css +0 -0
- package/lib/panel-component/data-import/data-import.provider.cjs +23 -0
- package/lib/panel-component/data-import/index.cjs +20 -0
- package/lib/panel-component/index.cjs +31 -26
- package/lib/panel-component/panel-index-view-search/panel-index-view-search.cjs +9 -3
- package/lib/panel-component/user-action/index.cjs +19 -0
- package/lib/panel-component/user-action/user-action-provider.cjs +23 -0
- package/lib/panel-component/user-action/user-action.cjs +76 -0
- package/lib/panel-component/user-action/user-action.css +1 -0
- package/lib/view-engine/app-data-upload-view.engine.cjs +9 -0
- package/lib/view-engine/index-view.engine.cjs +12 -0
- package/lib/view-engine/index.cjs +5 -0
- package/lib/view-engine/tab-search-view.engine.cjs +5 -0
- package/package.json +6 -6
- package/dist/index-Wk7Kbc7Z.js +0 -4
|
@@ -0,0 +1,20 @@
|
|
|
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 dataImportShell = require('./data-import-shell.cjs');
|
|
8
|
+
var dataImport_provider = require('./data-import.provider.cjs');
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
const IBizDataImport = vue3Util.withInstall(dataImportShell.DataImportShell, function(v) {
|
|
12
|
+
v.component(dataImportShell.DataImportShell.name, dataImportShell.DataImportShell);
|
|
13
|
+
runtime.registerPanelItemProvider(
|
|
14
|
+
"RAWITEM_DATA_IMPORT",
|
|
15
|
+
() => new dataImport_provider.DataImportProvider()
|
|
16
|
+
);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
exports.IBizDataImport = IBizDataImport;
|
|
20
|
+
exports.default = IBizDataImport;
|
|
@@ -5,25 +5,27 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
6
|
var index = require('./auth-userinfo/index.cjs');
|
|
7
7
|
var index$1 = require('./nav-pos-index/index.cjs');
|
|
8
|
-
var index$
|
|
8
|
+
var index$9 = require('./nav-tabs/index.cjs');
|
|
9
9
|
var index$2 = require('./panel-button/index.cjs');
|
|
10
10
|
var index$3 = require('./panel-app-title/index.cjs');
|
|
11
|
-
var index$
|
|
12
|
-
var index$
|
|
13
|
-
var index$
|
|
14
|
-
var index$
|
|
11
|
+
var index$a = require('./panel-app-header/index.cjs');
|
|
12
|
+
var index$b = require('./panel-view-header/index.cjs');
|
|
13
|
+
var index$c = require('./panel-exp-header/index.cjs');
|
|
14
|
+
var index$d = require('./panel-view-content/index.cjs');
|
|
15
15
|
var index$4 = require('./panel-tab-panel/index.cjs');
|
|
16
16
|
var index$5 = require('./split-container/index.cjs');
|
|
17
17
|
var index$6 = require('./panel-index-view-search/index.cjs');
|
|
18
|
-
var index$
|
|
19
|
-
var index$
|
|
18
|
+
var index$e = require('./panel-app-login-view/index.cjs');
|
|
19
|
+
var index$f = require('./panel-remember-me/index.cjs');
|
|
20
20
|
var index$7 = require('./index-actions/index.cjs');
|
|
21
|
-
var index$
|
|
22
|
-
var index$
|
|
23
|
-
var index$
|
|
24
|
-
var index$
|
|
25
|
-
var index$
|
|
26
|
-
var index$
|
|
21
|
+
var index$g = require('./user-message/index.cjs');
|
|
22
|
+
var index$h = require('./searchform-buttons/index.cjs');
|
|
23
|
+
var index$i = require('./view-message/index.cjs');
|
|
24
|
+
var index$j = require('./panel-static-carousel/index.cjs');
|
|
25
|
+
var index$k = require('./coop-pos/index.cjs');
|
|
26
|
+
var index$l = require('./view-msg-pos/index.cjs');
|
|
27
|
+
var index$8 = require('./user-action/index.cjs');
|
|
28
|
+
var index$m = require('./data-import/index.cjs');
|
|
27
29
|
var navPosIndex_state = require('./nav-pos-index/nav-pos-index.state.cjs');
|
|
28
30
|
var navPosIndex_controller = require('./nav-pos-index/nav-pos-index.controller.cjs');
|
|
29
31
|
var panelButton_controller = require('./panel-button/panel-button.controller.cjs');
|
|
@@ -38,37 +40,39 @@ const IBizPanelComponents = {
|
|
|
38
40
|
v.use(vue3Util.IBizScrollContainer);
|
|
39
41
|
v.use(index.IBizAuthUserinfo);
|
|
40
42
|
v.use(index$1.IBizNavPosIndex);
|
|
41
|
-
v.use(index$
|
|
43
|
+
v.use(index$9.IBizNavTabs);
|
|
42
44
|
v.use(index$2.IBizPanelButton);
|
|
43
45
|
v.use(vue3Util.IBizNavPos);
|
|
44
46
|
v.use(index$3.IBizPanelAppTitle);
|
|
45
47
|
v.use(vue3Util.IBizSingleDataContainer);
|
|
46
48
|
v.use(vue3Util.IBizMultiDataContainer);
|
|
47
49
|
v.use(vue3Util.IBizPanelField);
|
|
48
|
-
v.use(index$
|
|
49
|
-
v.use(index$
|
|
50
|
-
v.use(index$
|
|
50
|
+
v.use(index$a.IBizPanelAppHeader);
|
|
51
|
+
v.use(index$b.IBizPanelViewHeader);
|
|
52
|
+
v.use(index$c.IBizPanelExpHeader);
|
|
51
53
|
v.use(vue3Util.IBizPanelRawItem);
|
|
52
|
-
v.use(index$
|
|
54
|
+
v.use(index$d.IBizPanelViewContent);
|
|
53
55
|
v.use(vue3Util.IBizGridContainer);
|
|
54
56
|
v.use(index$4.IBizPanelTabPanel);
|
|
55
57
|
v.use(vue3Util.IBizPanelTabPage);
|
|
56
58
|
v.use(index$5.IBizSplitContainer);
|
|
57
59
|
v.use(index$6.IBizPanelIndexViewSearch);
|
|
58
|
-
v.use(index$
|
|
59
|
-
v.use(index$
|
|
60
|
+
v.use(index$e.IBizPanelAppLoginView);
|
|
61
|
+
v.use(index$f.IBizPanelRememberMe);
|
|
60
62
|
v.use(index$7.IBizIndexActions);
|
|
61
63
|
v.use(vue3Util.IBizPanelContainerGroup);
|
|
62
|
-
v.use(index$
|
|
64
|
+
v.use(index$g.IBizUserMessage);
|
|
63
65
|
v.use(vue3Util.IBizPanelContainerImage);
|
|
64
|
-
v.use(index$
|
|
66
|
+
v.use(index$h.IBizSearchFormButtons);
|
|
65
67
|
v.use(vue3Util.IBizPanelItemRender);
|
|
66
|
-
v.use(index$
|
|
67
|
-
v.use(index$
|
|
68
|
+
v.use(index$i.IBizViewMessage);
|
|
69
|
+
v.use(index$j.IBizPanelStaticCarousel);
|
|
68
70
|
v.use(vue3Util.IBizTeleportPlaceholder);
|
|
69
71
|
v.use(vue3Util.IBizPanelContainerTabs);
|
|
70
|
-
v.use(index$
|
|
71
|
-
v.use(index$
|
|
72
|
+
v.use(index$k.IBizCoopPos);
|
|
73
|
+
v.use(index$l.IBizViewMsgPos);
|
|
74
|
+
v.use(index$8.IBizUserAction);
|
|
75
|
+
v.use(index$m.IBizDataImport);
|
|
72
76
|
}
|
|
73
77
|
};
|
|
74
78
|
|
|
@@ -80,6 +84,7 @@ exports.IBizPanelTabPanel = index$4.IBizPanelTabPanel;
|
|
|
80
84
|
exports.IBizSplitContainer = index$5.IBizSplitContainer;
|
|
81
85
|
exports.IBizPanelIndexViewSearch = index$6.IBizPanelIndexViewSearch;
|
|
82
86
|
exports.IBizIndexActions = index$7.IBizIndexActions;
|
|
87
|
+
exports.IBizUserAction = index$8.IBizUserAction;
|
|
83
88
|
exports.NavPosIndexState = navPosIndex_state.NavPosIndexState;
|
|
84
89
|
exports.NavPosIndexController = navPosIndex_controller.NavPosIndexController;
|
|
85
90
|
exports.PanelButtonController = panelButton_controller.PanelButtonController;
|
|
@@ -60,11 +60,16 @@ const PanelIndexViewSearch = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
60
|
tempContext.srfappid = targetMenu.appId || ibiz.env.appId;
|
|
61
61
|
await ibiz.commands.execute(runtime.AppFuncCommand.TAG, targetMenu.appFuncId, tempContext, {
|
|
62
62
|
...tempParam,
|
|
63
|
-
|
|
63
|
+
srfquery: query.value
|
|
64
64
|
}, {});
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
|
+
const onEnter = (event) => {
|
|
69
|
+
if (event.key === "Enter") {
|
|
70
|
+
onSearch();
|
|
71
|
+
}
|
|
72
|
+
};
|
|
68
73
|
return {
|
|
69
74
|
ns,
|
|
70
75
|
classArr,
|
|
@@ -73,7 +78,8 @@ const PanelIndexViewSearch = /* @__PURE__ */ vue.defineComponent({
|
|
|
73
78
|
onSearch,
|
|
74
79
|
c,
|
|
75
80
|
query,
|
|
76
|
-
menuAlign
|
|
81
|
+
menuAlign,
|
|
82
|
+
onEnter
|
|
77
83
|
};
|
|
78
84
|
},
|
|
79
85
|
render() {
|
|
@@ -87,7 +93,7 @@ const PanelIndexViewSearch = /* @__PURE__ */ vue.defineComponent({
|
|
|
87
93
|
"class": this.ns.b("search"),
|
|
88
94
|
"placeholder": ibiz.i18n.t("component.indexSearch.placeholder"),
|
|
89
95
|
"onInput": this.onInput,
|
|
90
|
-
"
|
|
96
|
+
"onKeyup": this.onEnter
|
|
91
97
|
}, {
|
|
92
98
|
prefix: () => {
|
|
93
99
|
return vue.createVNode("ion-icon", {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
+
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
var userAction = require('./user-action.cjs');
|
|
8
|
+
var userActionProvider = require('./user-action-provider.cjs');
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
const IBizUserAction = vue3Util.withInstall(userAction.UserAction, function(v) {
|
|
12
|
+
v.component(userAction.UserAction.name, userAction.UserAction);
|
|
13
|
+
runtime.registerPanelItemProvider("RAWITEM_SETTING", () => new userActionProvider.UserActionProvider());
|
|
14
|
+
runtime.registerPanelItemProvider("RAWITEM_HELPER", () => new userActionProvider.UserActionProvider());
|
|
15
|
+
runtime.registerPanelItemProvider("RAWITEM_CUSTOM", () => new userActionProvider.UserActionProvider());
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
exports.IBizUserAction = IBizUserAction;
|
|
19
|
+
exports.default = IBizUserAction;
|
|
@@ -0,0 +1,23 @@
|
|
|
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 UserActionProvider {
|
|
13
|
+
constructor() {
|
|
14
|
+
__publicField(this, "component", "IBizUserAction");
|
|
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.UserActionProvider = UserActionProvider;
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
require('./user-action.css');
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
const UserAction = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
name: "IBizUserAction",
|
|
11
|
+
props: {
|
|
12
|
+
modelData: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
controller: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(props) {
|
|
22
|
+
const ns = vue3Util.useNamespace("user-action");
|
|
23
|
+
const c = props.controller;
|
|
24
|
+
const imgConfig = {
|
|
25
|
+
SETTING: {
|
|
26
|
+
imagePath: "svg/setting.svg"
|
|
27
|
+
},
|
|
28
|
+
HELPER: {
|
|
29
|
+
imagePath: "svg/helper.svg"
|
|
30
|
+
},
|
|
31
|
+
CUSTOM: {
|
|
32
|
+
imagePath: "svg/custom-workbench.svg"
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
let sysImage = props.modelData.sysImage;
|
|
36
|
+
if (!sysImage && props.modelData && props.modelData.rawItem) {
|
|
37
|
+
const predefinedType = props.modelData.rawItem.predefinedType;
|
|
38
|
+
if (predefinedType) {
|
|
39
|
+
sysImage = imgConfig[predefinedType];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
const onClick = async () => {
|
|
43
|
+
const id = props.modelData.id;
|
|
44
|
+
const menuC = c.panel.view.getController("appmenu");
|
|
45
|
+
if (menuC) {
|
|
46
|
+
const targetMenu = menuC.allAppMenuItems.find((item) => {
|
|
47
|
+
return item.id === id;
|
|
48
|
+
});
|
|
49
|
+
if (targetMenu) {
|
|
50
|
+
const tempContext = c.panel.context.clone();
|
|
51
|
+
const tempParam = c.panel.params;
|
|
52
|
+
tempContext.srfappid = targetMenu.appId || ibiz.env.appId;
|
|
53
|
+
await ibiz.commands.execute(runtime.AppFuncCommand.TAG, targetMenu.appFuncId, tempContext, tempParam, {});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
return {
|
|
58
|
+
ns,
|
|
59
|
+
c,
|
|
60
|
+
sysImage,
|
|
61
|
+
onClick
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
render() {
|
|
65
|
+
return vue.createVNode("div", {
|
|
66
|
+
"class": this.ns.b(),
|
|
67
|
+
"onClick": this.onClick,
|
|
68
|
+
"title": this.modelData.caption
|
|
69
|
+
}, [vue.createVNode(vue.resolveComponent("i-biz-icon"), {
|
|
70
|
+
"class": [this.ns.e("image")],
|
|
71
|
+
"icon": this.sysImage
|
|
72
|
+
}, null)]);
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
exports.UserAction = UserAction;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-user-action{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ibiz-user-action__image{display:flex;place-items:center center;justify-content:center;width:28px;height:28px;margin-bottom:6px;cursor:pointer}
|
|
@@ -32,6 +32,18 @@ class IndexViewEngine extends runtime.ViewEngineBase {
|
|
|
32
32
|
}
|
|
33
33
|
async onMounted() {
|
|
34
34
|
await super.onMounted();
|
|
35
|
+
if (!this.isExistAndInLayout("appmenu")) {
|
|
36
|
+
const { model, context, params } = this.view;
|
|
37
|
+
const { defAppViewId } = model;
|
|
38
|
+
if (defAppViewId) {
|
|
39
|
+
ibiz.commands.execute(
|
|
40
|
+
runtime.OpenAppViewCommand.TAG,
|
|
41
|
+
defAppViewId,
|
|
42
|
+
context,
|
|
43
|
+
params
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
35
47
|
if (window.innerWidth <= 1200) {
|
|
36
48
|
this.toggleCollapse();
|
|
37
49
|
}
|
|
@@ -46,6 +46,7 @@ var ganttView_engine = require('./gantt-view.engine.cjs');
|
|
|
46
46
|
var deIndexViewEngine = require('./de-index-view-engine.cjs');
|
|
47
47
|
var subAppRefView_engine = require('./sub-app-ref-view.engine.cjs');
|
|
48
48
|
var tabSearchView_engine = require('./tab-search-view.engine.cjs');
|
|
49
|
+
var appDataUploadView_engine = require('./app-data-upload-view.engine.cjs');
|
|
49
50
|
|
|
50
51
|
"use strict";
|
|
51
52
|
const IBizViewEngine = {
|
|
@@ -238,6 +239,10 @@ const IBizViewEngine = {
|
|
|
238
239
|
"VIEW_DESUBAPPREFVIEW",
|
|
239
240
|
(c) => new subAppRefView_engine.SubAppRefViewEngine(c)
|
|
240
241
|
);
|
|
242
|
+
ibiz.engine.register(
|
|
243
|
+
"VIEW_APPDATAUPLOADVIEW",
|
|
244
|
+
(c) => new appDataUploadView_engine.AppDataUploadViewEngine(c)
|
|
245
|
+
);
|
|
241
246
|
ibiz.engine.register(
|
|
242
247
|
"VIEW_GridView9",
|
|
243
248
|
(c) => new gridView_engine.GridViewEngine(c)
|
|
@@ -62,6 +62,11 @@ class TabSearchViewEngine extends tabExpView_engine.TabExpViewEngine {
|
|
|
62
62
|
this.calcViewParams();
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
+
if (this.tabExpPanel) {
|
|
66
|
+
this.tabExpPanel.evt.on("onTabChange", () => {
|
|
67
|
+
this.calcViewParams();
|
|
68
|
+
});
|
|
69
|
+
}
|
|
65
70
|
}
|
|
66
71
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
|
|
67
72
|
async call(key, args) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"@floating-ui/dom": "^1.5.3",
|
|
31
31
|
"@ibiz-template-plugin/ai-chat": "^0.0.1",
|
|
32
32
|
"@ibiz-template-plugin/gantt": "0.1.3-alpha.46",
|
|
33
|
-
"@ibiz-template/core": "0.7.
|
|
33
|
+
"@ibiz-template/core": "0.7.2",
|
|
34
34
|
"@ibiz-template/devtool": "0.0.1-dev.6",
|
|
35
|
-
"@ibiz-template/model-helper": "0.7.
|
|
36
|
-
"@ibiz-template/runtime": "0.7.
|
|
35
|
+
"@ibiz-template/model-helper": "0.7.2",
|
|
36
|
+
"@ibiz-template/runtime": "0.7.2",
|
|
37
37
|
"@ibiz-template/theme": "^0.7.0",
|
|
38
|
-
"@ibiz-template/vue3-util": "0.7.
|
|
39
|
-
"@ibiz-template/web-theme": "^1.1.
|
|
38
|
+
"@ibiz-template/vue3-util": "0.7.2",
|
|
39
|
+
"@ibiz-template/web-theme": "^1.1.16",
|
|
40
40
|
"@ibiz/model-core": "^0.1.20",
|
|
41
41
|
"@imengyu/vue3-context-menu": "^1.3.5",
|
|
42
42
|
"@monaco-editor/loader": "^1.4.0",
|