@ibiz-template/vue3-util 0.7.31-alpha.1 → 0.7.37-alpha.3
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 +1 -1
- package/es/common/badge/badge.d.ts +1 -1
- package/es/common/code-list/code-list.d.ts +1 -1
- package/es/common/code-list/code-list.d.ts.map +1 -1
- package/es/common/code-list/code-list.mjs +17 -3
- package/es/common/control-loading-placeholder/control-loading-placeholder.d.ts +1 -1
- package/es/common/control-shell/control-shell.d.ts +1 -1
- package/es/common/icon/icon.d.ts +1 -1
- package/es/common/router-view/router-view.d.ts +3 -4
- package/es/common/router-view/router-view.d.ts.map +1 -1
- package/es/common/view-shell/view-shell.d.ts +11 -8
- package/es/common/view-shell/view-shell.d.ts.map +1 -1
- package/es/common/view-shell/view-shell.mjs +61 -32
- package/es/control/panel/panel/index.d.ts +1 -1
- package/es/control/panel/panel/panel.d.ts +1 -1
- package/es/control/panel/view-layout-panel/index.d.ts +1 -1
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts +2 -2
- package/es/control/panel/view-layout-panel/view-layout-panel.d.ts.map +1 -1
- package/es/panel-component/grid-container/grid-container.d.ts +1 -1
- package/es/panel-component/grid-container/index.d.ts +1 -1
- package/es/panel-component/multi-data-container/index.d.ts +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts +9 -0
- package/es/panel-component/multi-data-container/multi-data-container.controller.d.ts.map +1 -1
- package/es/panel-component/multi-data-container/multi-data-container.controller.mjs +32 -7
- package/es/panel-component/multi-data-container/multi-data-container.d.ts +2 -2
- package/es/panel-component/multi-data-container/multi-data-container.d.ts.map +1 -1
- package/es/panel-component/nav-pos/index.d.ts +1 -1
- package/es/panel-component/nav-pos/nav-pos.d.ts +1 -1
- package/es/panel-component/nav-pos/nav-pos.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.mjs +1 -1
- package/es/panel-component/panel-container/index.d.ts +1 -1
- package/es/panel-component/panel-container/panel-container.d.ts +1 -1
- package/es/panel-component/panel-container-group/index.d.ts +1 -1
- package/es/panel-component/panel-container-group/panel-container-group.d.ts +1 -1
- package/es/panel-component/panel-container-image/index.d.ts +1 -1
- package/es/panel-component/panel-container-image/panel-container-image.d.ts +1 -1
- package/es/panel-component/panel-container-tabs/index.d.ts +1 -1
- package/es/panel-component/panel-container-tabs/panel-container-tabs.d.ts +1 -1
- package/es/panel-component/panel-ctrl-pos/index.d.ts +1 -1
- package/es/panel-component/panel-ctrl-pos/panel-ctrl-pos.d.ts +1 -1
- package/es/panel-component/panel-field/index.d.ts +1 -1
- package/es/panel-component/panel-field/panel-field.d.ts +1 -1
- package/es/panel-component/panel-item-render/index.d.ts +1 -1
- package/es/panel-component/panel-item-render/panel-item-render.d.ts +1 -1
- package/es/panel-component/panel-rawitem/index.d.ts +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.d.ts +1 -1
- package/es/panel-component/panel-rawitem/panel-rawitem.mjs +2 -2
- package/es/panel-component/panel-tab-page/index.d.ts +1 -1
- package/es/panel-component/panel-tab-page/panel-tab-page.d.ts +1 -1
- package/es/panel-component/scroll-container/index.d.ts +1 -1
- package/es/panel-component/scroll-container/scroll-container/scroll-container.d.ts +1 -1
- package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts +1 -1
- package/es/panel-component/single-data-container/index.d.ts +1 -1
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts +9 -0
- package/es/panel-component/single-data-container/single-data-container.controller.d.ts.map +1 -1
- package/es/panel-component/single-data-container/single-data-container.controller.mjs +31 -6
- package/es/panel-component/single-data-container/single-data-container.d.ts +2 -2
- package/es/panel-component/single-data-container/single-data-container.d.ts.map +1 -1
- package/es/panel-component/teleport-placeholder/index.d.ts +1 -1
- package/es/panel-component/teleport-placeholder/teleport-placeholder.d.ts +1 -1
- package/es/util/install.d.ts.map +1 -1
- package/es/view/app-redirect-view/app-redirect-view.d.ts +1 -1
- package/es/view/app-redirect-view/app-redirect-view.d.ts.map +1 -1
- package/es/view/common/index.d.ts +1 -1
- package/es/view/common/view.d.ts +1 -1
- package/es/view/de-redirect-view/de-redirect-view.d.ts +1 -1
- package/es/view/de-redirect-view/index.d.ts +1 -1
- package/es/view/portal-view/index.d.ts +1 -1
- package/es/view/portal-view/portal-view.d.ts +1 -1
- package/es/view/todo-redirect/todo-redirect.d.ts +1 -1
- package/es/view/todo-redirect/todo-redirect.d.ts.map +1 -1
- package/lib/common/code-list/code-list.cjs +15 -1
- package/lib/common/view-shell/view-shell.cjs +59 -30
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +31 -6
- package/lib/panel-component/nav-pos/nav-pos.cjs +1 -1
- package/lib/panel-component/panel-rawitem/panel-rawitem.cjs +2 -2
- package/lib/panel-component/single-data-container/single-data-container.controller.cjs +30 -5
- package/package.json +8 -7
|
@@ -91,6 +91,29 @@ class SingleDataContainerController extends runtime.PanelItemController {
|
|
|
91
91
|
})
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* 计算导航参数
|
|
96
|
+
*
|
|
97
|
+
* @author tony001
|
|
98
|
+
* @date 2024-07-30 18:07:52
|
|
99
|
+
* @protected
|
|
100
|
+
* @return {*} {IData}
|
|
101
|
+
*/
|
|
102
|
+
computeNavParams() {
|
|
103
|
+
const { navigateContexts, navigateParams } = this.model;
|
|
104
|
+
const context = this.panel.context.clone();
|
|
105
|
+
Object.assign(
|
|
106
|
+
context,
|
|
107
|
+
runtime.convertNavData(navigateContexts, this.panel.params, this.panel.context)
|
|
108
|
+
);
|
|
109
|
+
const params = runtime.convertNavData(
|
|
110
|
+
navigateParams,
|
|
111
|
+
this.panel.params,
|
|
112
|
+
this.panel.context
|
|
113
|
+
);
|
|
114
|
+
Object.assign(params, this.panel.params);
|
|
115
|
+
return { context, params };
|
|
116
|
+
}
|
|
94
117
|
/**
|
|
95
118
|
* 根据来源类型初始化容器数据
|
|
96
119
|
* @author lxm
|
|
@@ -235,12 +258,13 @@ class SingleDataContainerController extends runtime.PanelItemController {
|
|
|
235
258
|
ibiz.i18n.t("vue3Util.panelComponent.noConfiguredEntity")
|
|
236
259
|
);
|
|
237
260
|
}
|
|
261
|
+
const { context, params } = this.computeNavParams();
|
|
238
262
|
const data = await runtime.execDELogicById(
|
|
239
263
|
appDELogicId,
|
|
240
264
|
appDataEntityId,
|
|
241
|
-
|
|
265
|
+
context,
|
|
242
266
|
this.panel.data,
|
|
243
|
-
|
|
267
|
+
params
|
|
244
268
|
);
|
|
245
269
|
if (!data) {
|
|
246
270
|
throw new core.RuntimeError(
|
|
@@ -288,12 +312,13 @@ class SingleDataContainerController extends runtime.PanelItemController {
|
|
|
288
312
|
);
|
|
289
313
|
}
|
|
290
314
|
const app = ibiz.hub.getApp(this.panel.context.srfappid);
|
|
315
|
+
const { context, params } = this.computeNavParams();
|
|
291
316
|
const res = await app.deService.exec(
|
|
292
317
|
appDataEntityId,
|
|
293
318
|
appDEMethodId,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
319
|
+
context,
|
|
320
|
+
void 0,
|
|
321
|
+
params
|
|
297
322
|
);
|
|
298
323
|
if (res.ok && res.data) {
|
|
299
324
|
this.setData(res.data);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-util",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.37-alpha.3",
|
|
4
4
|
"description": "vue3 工具包",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"types": "es/index.d.ts",
|
|
@@ -33,16 +33,17 @@
|
|
|
33
33
|
"publish:dev": "npm run build && npm publish --access public --tag=dev --registry=https://registry.npmjs.org/",
|
|
34
34
|
"publish:alpha": "npm run build && npm publish --access public --tag=alpha --registry=https://registry.npmjs.org/",
|
|
35
35
|
"publish:beta": "npm run build && npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
|
|
36
|
-
"publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
|
|
36
|
+
"publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/",
|
|
37
|
+
"publish:local": "npm run build && npm publish --access public --registry=http://172.16.240.221:8081/repository/local/"
|
|
37
38
|
},
|
|
38
39
|
"author": "chitanda",
|
|
39
40
|
"license": "MIT",
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@ibiz-template/cli": "^0.3.10",
|
|
42
|
-
"@ibiz-template/core": "^0.7.
|
|
43
|
-
"@ibiz-template/runtime": "^0.7.
|
|
44
|
-
"@ibiz-template/theme": "^0.7.
|
|
45
|
-
"@ibiz/model-core": "^0.1.
|
|
43
|
+
"@ibiz-template/core": "^0.7.35-alpha.1",
|
|
44
|
+
"@ibiz-template/runtime": "^0.7.37-alpha.3",
|
|
45
|
+
"@ibiz-template/theme": "^0.7.32",
|
|
46
|
+
"@ibiz/model-core": "^0.1.53",
|
|
46
47
|
"@types/path-browserify": "^1.0.2",
|
|
47
48
|
"@types/qs": "^6.9.11",
|
|
48
49
|
"@types/systemjs": "^6.13.5",
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
"peerDependencies": {
|
|
60
61
|
"@ibiz-template/core": "^0.6.0",
|
|
61
62
|
"@ibiz-template/runtime": "^0.6.0",
|
|
62
|
-
"@ibiz/model-core": "^0.1.
|
|
63
|
+
"@ibiz/model-core": "^0.1.53",
|
|
63
64
|
"dayjs": "^1.11.10",
|
|
64
65
|
"path-browserify": "^1.0.1",
|
|
65
66
|
"pinia": "^2.1.7",
|