@ibiz-template/vue3-util 0.7.34 → 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 +5 -5
package/es/common/icon/icon.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const IBizIcon: import("vue").DefineComponent<{
|
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
|
-
}, () => VNode | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}, () => VNode | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
icon: {
|
|
18
18
|
type: PropType<ISysImage | IIcon>;
|
|
19
19
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropType, VNode } from 'vue';
|
|
2
|
-
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
3
2
|
/**
|
|
4
3
|
* 只会第一次绘制的时候绘制路由相关的内容,后面路由导致的router-view的回调都屏蔽了。
|
|
5
4
|
* 通过变更manualKey,来强制刷新router-view的slot回调。并且吧manualKey传给Component的key,搭配AppKeepAlive可以缓存组件
|
|
@@ -9,18 +8,18 @@ export declare const IBizRouterView: import("vue").DefineComponent<{
|
|
|
9
8
|
type: PropType<string>;
|
|
10
9
|
default: string;
|
|
11
10
|
};
|
|
12
|
-
route: PropType<
|
|
11
|
+
route: PropType<import("vue-router").RouteLocationNormalizedLoadedGeneric>;
|
|
13
12
|
manualKey: {
|
|
14
13
|
type: StringConstructor;
|
|
15
14
|
};
|
|
16
15
|
}, {
|
|
17
16
|
renderComp: (Component: VNode, _route: any) => VNode | undefined;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
18
|
name: {
|
|
20
19
|
type: PropType<string>;
|
|
21
20
|
default: string;
|
|
22
21
|
};
|
|
23
|
-
route: PropType<
|
|
22
|
+
route: PropType<import("vue-router").RouteLocationNormalizedLoadedGeneric>;
|
|
24
23
|
manualKey: {
|
|
25
24
|
type: StringConstructor;
|
|
26
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router-view.d.ts","sourceRoot":"","sources":["../../../src/common/router-view/router-view.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,QAAQ,EAAE,KAAK,EAAS,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"router-view.d.ts","sourceRoot":"","sources":["../../../src/common/router-view/router-view.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,QAAQ,EAAE,KAAK,EAAS,MAAM,KAAK,CAAC;AAGjE;;;GAGG;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;4BA2BQ,KAAK,UAAU,GAAG,KAAG,KAAK,GAAG,SAAS;;;;;;;;;;;;MAoCvE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IViewProvider } from '@ibiz-template/runtime';
|
|
2
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { IViewProvider, RedrawViewEvent } from '@ibiz-template/runtime';
|
|
2
|
+
import { PropType, Ref } from 'vue';
|
|
3
3
|
import { IAppView } from '@ibiz/model-core';
|
|
4
4
|
import './view-shell.scss';
|
|
5
5
|
export declare const IBizViewShell: import("vue").DefineComponent<{
|
|
@@ -18,12 +18,15 @@ export declare const IBizViewShell: import("vue").DefineComponent<{
|
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
20
20
|
ns: import("@ibiz-template/core").Namespace;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hasAuthority:
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
errMsg: Ref<string>;
|
|
22
|
+
provider: Ref<IViewProvider | undefined>;
|
|
23
|
+
isComplete: Ref<boolean>;
|
|
24
|
+
hasAuthority: Ref<boolean>;
|
|
25
|
+
viewModelData: Ref<IAppView | undefined>;
|
|
26
|
+
redrawView: (event: RedrawViewEvent) => Promise<void>;
|
|
27
|
+
curContext: Ref<IContext>;
|
|
28
|
+
curParams: Ref<IParams>;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
30
|
context: {
|
|
28
31
|
type: PropType<IContext>;
|
|
29
32
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-shell.d.ts","sourceRoot":"","sources":["../../../src/common/view-shell/view-shell.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,aAAa,
|
|
1
|
+
{"version":3,"file":"view-shell.d.ts","sourceRoot":"","sources":["../../../src/common/view-shell/view-shell.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,aAAa,EAGb,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGL,QAAQ,EACR,GAAG,EAIJ,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAK5C,OAAO,mBAAmB,CAAC;AAE3B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;wBAyLW,eAAe,KAAG,QAAQ,IAAI,CAAC;;;;;;;;;;;;;;;;;YA2DlE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, h, resolveComponent, withDirectives, createVNode, resolveDirective } from 'vue';
|
|
1
|
+
import { defineComponent, ref, watch, h, resolveComponent, withDirectives, createVNode, resolveDirective } from 'vue';
|
|
2
2
|
import { calcDynaSysParams, getViewProvider, getErrorViewProvider } from '@ibiz-template/runtime';
|
|
3
3
|
import { RuntimeError } from '@ibiz-template/core';
|
|
4
4
|
import { createUUID } from 'qx-util';
|
|
5
|
-
import { isNil, isEmpty } from 'ramda';
|
|
5
|
+
import { isNil, isEmpty, clone } from 'ramda';
|
|
6
6
|
import '../../use/index.mjs';
|
|
7
7
|
import './view-shell.css';
|
|
8
8
|
import { useNamespace } from '../../use/namespace/namespace.mjs';
|
|
@@ -32,12 +32,21 @@ const IBizViewShell = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
const provider = ref();
|
|
33
33
|
const viewModelData = ref();
|
|
34
34
|
const hasAuthority = ref(true);
|
|
35
|
-
const
|
|
35
|
+
const context = ref(props.context);
|
|
36
|
+
const params = ref(props.params || {});
|
|
37
|
+
watch(() => ({
|
|
38
|
+
context: props.context,
|
|
39
|
+
params: props.params
|
|
40
|
+
}), (newVal) => {
|
|
41
|
+
context.value = newVal.context;
|
|
42
|
+
params.value = newVal.params ? newVal.params : {};
|
|
43
|
+
});
|
|
44
|
+
const checkViewAuthority = async (viewModel2) => {
|
|
36
45
|
let checkResult = true;
|
|
37
46
|
const {
|
|
38
47
|
accUserMode,
|
|
39
48
|
accessKey
|
|
40
|
-
} =
|
|
49
|
+
} = viewModel2;
|
|
41
50
|
const authInfo = ibiz.auth.getAuthInfo();
|
|
42
51
|
if (accUserMode !== void 0) {
|
|
43
52
|
switch (accUserMode) {
|
|
@@ -53,7 +62,7 @@ const IBizViewShell = /* @__PURE__ */ defineComponent({
|
|
|
53
62
|
break;
|
|
54
63
|
case 4:
|
|
55
64
|
if (accessKey) {
|
|
56
|
-
const app = await ibiz.hub.getApp(
|
|
65
|
+
const app = await ibiz.hub.getApp(context.value.srfappid);
|
|
57
66
|
const permitted = app.authority.calcByResCode(accessKey);
|
|
58
67
|
if (!permitted) {
|
|
59
68
|
checkResult = false;
|
|
@@ -66,13 +75,16 @@ const IBizViewShell = /* @__PURE__ */ defineComponent({
|
|
|
66
75
|
}
|
|
67
76
|
return checkResult;
|
|
68
77
|
};
|
|
69
|
-
|
|
70
|
-
|
|
78
|
+
let viewModel;
|
|
79
|
+
const initViewModel = async () => {
|
|
71
80
|
if (props.modelData) {
|
|
72
81
|
viewModel = props.modelData;
|
|
73
82
|
} else {
|
|
74
83
|
viewModel = await ibiz.hub.getAppView(props.viewId);
|
|
75
84
|
}
|
|
85
|
+
};
|
|
86
|
+
const init = async () => {
|
|
87
|
+
await initViewModel();
|
|
76
88
|
if (!viewModel) {
|
|
77
89
|
throw new RuntimeError(ibiz.i18n.t("vue3Util.common.noFoundViewModel"));
|
|
78
90
|
}
|
|
@@ -87,30 +99,26 @@ const IBizViewShell = /* @__PURE__ */ defineComponent({
|
|
|
87
99
|
codeName: viewModel.codeName
|
|
88
100
|
}));
|
|
89
101
|
}
|
|
90
|
-
const
|
|
91
|
-
const loadModelParams = await calcDynaSysParams(appDataEntityId, props.context, {
|
|
102
|
+
const loadModelParams = await calcDynaSysParams(appDataEntityId, context.value, {
|
|
92
103
|
viewParams: params,
|
|
93
104
|
appId: viewModel.appId
|
|
94
105
|
});
|
|
95
|
-
if (params.srfdatatype) {
|
|
96
|
-
loadModelParams.srfdatatype = params.srfdatatype;
|
|
106
|
+
if (params.value.srfdatatype) {
|
|
107
|
+
loadModelParams.srfdatatype = params.value.srfdatatype;
|
|
97
108
|
}
|
|
98
|
-
if (params.srfwftag) {
|
|
99
|
-
loadModelParams.srfwftag = params.srfwftag;
|
|
109
|
+
if (params.value.srfwftag) {
|
|
110
|
+
loadModelParams.srfwftag = params.value.srfwftag;
|
|
100
111
|
} else if (appDataEntityId && viewModel.enableWF) {
|
|
101
|
-
const context = {
|
|
102
|
-
...props.context
|
|
103
|
-
};
|
|
104
112
|
if (loadModelParams.srfkey) {
|
|
105
|
-
const noSrfSessionId = isNil(
|
|
113
|
+
const noSrfSessionId = isNil(context.value.srfsessionid) || isEmpty(context.value.srfsessionid);
|
|
106
114
|
const id = createUUID();
|
|
107
115
|
if (noSrfSessionId) {
|
|
108
116
|
const domain = ibiz.uiDomainManager.create(id);
|
|
109
|
-
context.srfsessionid = domain.id;
|
|
117
|
+
context.value.srfsessionid = domain.id;
|
|
110
118
|
}
|
|
111
119
|
const app = ibiz.hub.getApp(viewModel.appId);
|
|
112
|
-
const service = await app.deService.getService(
|
|
113
|
-
const res = await service.get(context,
|
|
120
|
+
const service = await app.deService.getService(context.value, appDataEntityId);
|
|
121
|
+
const res = await service.get(context.value, params.value || {});
|
|
114
122
|
if (res.ok && res.data) {
|
|
115
123
|
const {
|
|
116
124
|
srfwftag,
|
|
@@ -121,12 +129,11 @@ const IBizViewShell = /* @__PURE__ */ defineComponent({
|
|
|
121
129
|
loadModelParams.srfwftag = srfwftag;
|
|
122
130
|
}
|
|
123
131
|
if (["DEWFDYNAEDITVIEW3", "DEWFDYNAEDITVIEW"].includes(viewModel.viewType)) {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
viewParams.processDefinitionKey = processdefinitionkey;
|
|
132
|
+
if (isNil(params.value.processDefinitionKey)) {
|
|
133
|
+
params.value.processDefinitionKey = processdefinitionkey;
|
|
127
134
|
}
|
|
128
|
-
if (isNil(
|
|
129
|
-
|
|
135
|
+
if (isNil(params.value.taskDefinitionKey)) {
|
|
136
|
+
params.value.taskDefinitionKey = taskdefinitionkey;
|
|
130
137
|
}
|
|
131
138
|
}
|
|
132
139
|
}
|
|
@@ -149,23 +156,45 @@ const IBizViewShell = /* @__PURE__ */ defineComponent({
|
|
|
149
156
|
}
|
|
150
157
|
};
|
|
151
158
|
init();
|
|
159
|
+
const redrawView = async (event) => {
|
|
160
|
+
isComplete.value = false;
|
|
161
|
+
const {
|
|
162
|
+
redrawData
|
|
163
|
+
} = event;
|
|
164
|
+
const {
|
|
165
|
+
isReloadModel
|
|
166
|
+
} = redrawData;
|
|
167
|
+
Object.assign(context.value, redrawData.context);
|
|
168
|
+
Object.assign(params.value, redrawData.params);
|
|
169
|
+
if (isReloadModel) {
|
|
170
|
+
await init();
|
|
171
|
+
} else {
|
|
172
|
+
setTimeout(() => {
|
|
173
|
+
isComplete.value = true;
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
};
|
|
152
177
|
return {
|
|
153
178
|
ns,
|
|
154
|
-
isComplete,
|
|
155
179
|
errMsg,
|
|
156
|
-
|
|
180
|
+
provider,
|
|
181
|
+
isComplete,
|
|
157
182
|
hasAuthority,
|
|
158
|
-
|
|
183
|
+
viewModelData,
|
|
184
|
+
redrawView,
|
|
185
|
+
curContext: context,
|
|
186
|
+
curParams: params
|
|
159
187
|
};
|
|
160
188
|
},
|
|
161
189
|
render() {
|
|
162
190
|
if (this.isComplete && this.provider && this.hasAuthority) {
|
|
163
191
|
return h(resolveComponent(this.provider.component), {
|
|
164
|
-
context: this
|
|
165
|
-
params: this
|
|
166
|
-
modelData: this.viewModelData,
|
|
192
|
+
context: this.curContext,
|
|
193
|
+
params: this.curParams,
|
|
194
|
+
modelData: clone(this.viewModelData),
|
|
167
195
|
...this.$attrs,
|
|
168
|
-
provider: this.provider
|
|
196
|
+
provider: this.provider,
|
|
197
|
+
onRedrawView: this.redrawView
|
|
169
198
|
}, this.$slots);
|
|
170
199
|
}
|
|
171
200
|
if (!this.hasAuthority) {
|
|
@@ -25,7 +25,7 @@ export declare const IBizPanelControl: import("../../../util").TypeWithInstall<i
|
|
|
25
25
|
}, {
|
|
26
26
|
c: import("@ibiz-template/runtime").PanelController<import("@ibiz/model-core").IPanel, import("@ibiz-template/runtime").IPanelState, import("@ibiz-template/runtime").IPanelEvent>;
|
|
27
27
|
ns: import("@ibiz-template/core").Namespace;
|
|
28
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
modelData: {
|
|
30
30
|
type: import("vue").PropType<import("@ibiz/model-core").IPanel>;
|
|
31
31
|
required: true;
|
|
@@ -32,7 +32,7 @@ export declare const PanelControl: import("vue").DefineComponent<{
|
|
|
32
32
|
}, {
|
|
33
33
|
c: PanelController<IPanel, import("@ibiz-template/runtime").IPanelState, import("@ibiz-template/runtime").IPanelEvent>;
|
|
34
34
|
ns: import("@ibiz-template/core").Namespace;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
modelData: {
|
|
37
37
|
type: PropType<IPanel>;
|
|
38
38
|
required: true;
|
|
@@ -31,7 +31,7 @@ export declare const IBizViewLayoutPanelControl: import("../../../util").TypeWit
|
|
|
31
31
|
} | undefined) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
32
32
|
[key: string]: any;
|
|
33
33
|
}> | null;
|
|
34
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
34
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
35
|
modelData: {
|
|
36
36
|
type: import("vue").PropType<import("@ibiz/model-core").IViewLayoutPanel>;
|
|
37
37
|
required: true;
|
|
@@ -35,8 +35,8 @@ export declare const ViewLayoutPanelControl: import("vue").DefineComponent<{
|
|
|
35
35
|
panelItems: {
|
|
36
36
|
[key: string]: IPanelItemController;
|
|
37
37
|
};
|
|
38
|
-
}
|
|
39
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
38
|
+
}) => VNode | null;
|
|
39
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
40
|
modelData: {
|
|
41
41
|
type: PropType<IViewLayoutPanel>;
|
|
42
42
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-layout-panel.d.ts","sourceRoot":"","sources":["../../../../src/control/panel/view-layout-panel/view-layout-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAGR,KAAK,EAKN,MAAM,KAAK,CAAC;AACb,OAAO,EAGL,UAAU,EAEV,gBAAgB,EACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAGlB,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AA0BhC;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;iCAiDlB,UAAU
|
|
1
|
+
{"version":3,"file":"view-layout-panel.d.ts","sourceRoot":"","sources":["../../../../src/control/panel/view-layout-panel/view-layout-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,QAAQ,EAGR,KAAK,EAKN,MAAM,KAAK,CAAC;AACb,OAAO,EAGL,UAAU,EAEV,gBAAgB,EACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAGlB,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AA0BhC;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;iCAiDlB,UAAU,YACX;QACR,SAAS,EAAE;YACT,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,CAAC;SACnC,CAAC;QACF,UAAU,EAAE;YACV,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAC;SACrC,CAAC;KACH,KACA,KAAK,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;MAqGjB,CAAC"}
|
|
@@ -27,7 +27,7 @@ export declare const GridContainer: import("vue").DefineComponent<{
|
|
|
27
27
|
convertLayoutPos: (layoutPos: IFlexLayoutPos, adaptGrow: number) => IFlexLayoutPos;
|
|
28
28
|
adaptGrow: Ref<number>;
|
|
29
29
|
adaptCols: Ref<number | undefined>;
|
|
30
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
modelData: {
|
|
32
32
|
type: PropType<IPanelContainer>;
|
|
33
33
|
required: true;
|
|
@@ -26,7 +26,7 @@ export declare const IBizGridContainer: import("../../util").TypeWithInstall<imp
|
|
|
26
26
|
convertLayoutPos: (layoutPos: import("@ibiz/model-core").IFlexLayoutPos, adaptGrow: number) => import("@ibiz/model-core").IFlexLayoutPos;
|
|
27
27
|
adaptGrow: import("vue").Ref<number>;
|
|
28
28
|
adaptCols: import("vue").Ref<number | undefined>;
|
|
29
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
30
|
modelData: {
|
|
31
31
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
32
32
|
required: true;
|
|
@@ -23,7 +23,7 @@ export declare const IBizMultiDataContainer: import("../../util").TypeWithInstal
|
|
|
23
23
|
} | undefined) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
24
|
[key: string]: any;
|
|
25
25
|
}> | null;
|
|
26
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
modelData: {
|
|
28
28
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
29
29
|
required: true;
|
|
@@ -48,6 +48,15 @@ export declare class MultiDataContainerController extends PanelItemController<IP
|
|
|
48
48
|
* @protected
|
|
49
49
|
*/
|
|
50
50
|
protected initPanelItemProviders(panelItems?: IPanelItem[] | undefined): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* 计算导航参数
|
|
53
|
+
*
|
|
54
|
+
* @author tony001
|
|
55
|
+
* @date 2024-07-30 18:07:36
|
|
56
|
+
* @protected
|
|
57
|
+
* @return {*} {IData}
|
|
58
|
+
*/
|
|
59
|
+
protected computeNavParams(): IData;
|
|
51
60
|
/**
|
|
52
61
|
* 根据来源类型初始化容器数据
|
|
53
62
|
* @author lxm
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-data-container.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container/multi-data-container.controller.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"multi-data-container.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container/multi-data-container.controller.ts"],"names":[],"mappings":"AAKA,OAAO,EAKL,6BAA6B,EAC7B,kBAAkB,EAElB,eAAe,EAEf,mBAAmB,EACnB,gBAAgB,EAEjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAkB,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;;;;GAMG;AACH,qBAAa,4BACX,SAAQ,mBAAmB,CAAC,eAAe,CAC3C,YAAW,6BAA6B;IAEhC,KAAK,EAAE,uBAAuB,CAAC;IAEvC,QAAQ,CAAC,eAAe,QAAQ;IAEhC;;;;;;OAMG;IACH,SAAS,EAAE,gCAAgC,EAAE,CAAM;IAEnD;;;;;;OAMG;IACH,SAAS,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,CAAA;KAAE,CAAM;IAEtD;;;;;;OAMG;IACH,IAAI,IAAI,IAAI,KAAK,CAEhB;IAED,SAAS,CAAC,WAAW,IAAI,uBAAuB;cAIhC,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAMvC;;;;;;OAMG;cACa,sBAAsB,CACpC,UAAU,GAAE,UAAU,EAAE,GAAG,SAAiC,GAC3D,OAAO,CAAC,IAAI,CAAC;IAkChB;;;;;;;OAOG;IACH,SAAS,CAAC,gBAAgB,IAAI,KAAK;IAgBnC;;;;;OAKG;IACH,SAAS,CAAC,iBAAiB,IAAI,IAAI;IA0EnC;;;;;OAKG;IACH,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAMlD;;;;;OAKG;IACG,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC;IAOlC;;;;;OAKG;IACG,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAuB5C;;;;;;OAMG;cACa,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAgCjD;;;;;OAKG;IACH,SAAS,CAAC,uBAAuB,IAAI,IAAI;IAYzC;;;;;;OAMG;cACa,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IA4BlD;;;;;;;OAOG;IACH,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IA2BrE,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3D,OAAO,IAAI,IAAI;CAMhB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelError, RuntimeModelError, RuntimeError } from '@ibiz-template/core';
|
|
2
|
-
import { PanelItemController, getPanelItemProvider, isDataContainer, ScriptFactory, getAllPanelField, PanelData, PanelNotifyState, execDELogicById } from '@ibiz-template/runtime';
|
|
2
|
+
import { PanelItemController, getPanelItemProvider, isDataContainer, convertNavData, ScriptFactory, getAllPanelField, PanelData, PanelNotifyState, execDELogicById } from '@ibiz-template/runtime';
|
|
3
3
|
import { MultiDataContainerItemController } from './multi-data-container-item.controller.mjs';
|
|
4
4
|
import { MultiDataContainerState } from './multi-data-container.state.mjs';
|
|
5
5
|
|
|
@@ -80,6 +80,29 @@ class MultiDataContainerController extends PanelItemController {
|
|
|
80
80
|
})
|
|
81
81
|
);
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* 计算导航参数
|
|
85
|
+
*
|
|
86
|
+
* @author tony001
|
|
87
|
+
* @date 2024-07-30 18:07:36
|
|
88
|
+
* @protected
|
|
89
|
+
* @return {*} {IData}
|
|
90
|
+
*/
|
|
91
|
+
computeNavParams() {
|
|
92
|
+
const { navigateContexts, navigateParams } = this.model;
|
|
93
|
+
const context = this.panel.context.clone();
|
|
94
|
+
Object.assign(
|
|
95
|
+
context,
|
|
96
|
+
convertNavData(navigateContexts, this.panel.params, this.panel.context)
|
|
97
|
+
);
|
|
98
|
+
const params = convertNavData(
|
|
99
|
+
navigateParams,
|
|
100
|
+
this.panel.params,
|
|
101
|
+
this.panel.context
|
|
102
|
+
);
|
|
103
|
+
Object.assign(params, this.panel.params);
|
|
104
|
+
return { context, params };
|
|
105
|
+
}
|
|
83
106
|
/**
|
|
84
107
|
* 根据来源类型初始化容器数据
|
|
85
108
|
* @author lxm
|
|
@@ -230,12 +253,13 @@ class MultiDataContainerController extends PanelItemController {
|
|
|
230
253
|
ibiz.i18n.t("vue3Util.panelComponent.noConfiguredEntity")
|
|
231
254
|
);
|
|
232
255
|
}
|
|
256
|
+
const { context, params } = this.computeNavParams();
|
|
233
257
|
const data = await execDELogicById(
|
|
234
258
|
appDELogicId,
|
|
235
259
|
appDataEntityId,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
260
|
+
context,
|
|
261
|
+
this.panel.data,
|
|
262
|
+
params
|
|
239
263
|
);
|
|
240
264
|
if (!data) {
|
|
241
265
|
throw new RuntimeError(
|
|
@@ -283,12 +307,13 @@ class MultiDataContainerController extends PanelItemController {
|
|
|
283
307
|
);
|
|
284
308
|
}
|
|
285
309
|
const app = ibiz.hub.getApp(this.panel.context.srfappid);
|
|
310
|
+
const { context, params } = this.computeNavParams();
|
|
286
311
|
const res = await app.deService.exec(
|
|
287
312
|
appDataEntityId,
|
|
288
313
|
appDEMethodId,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
314
|
+
context,
|
|
315
|
+
void 0,
|
|
316
|
+
params
|
|
292
317
|
);
|
|
293
318
|
if (res.ok && res.data) {
|
|
294
319
|
this.setData(res.data);
|
|
@@ -22,8 +22,8 @@ export declare const MultiDataContainer: import("vue").DefineComponent<{
|
|
|
22
22
|
panelItems: {
|
|
23
23
|
[key: string]: IPanelItemController;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
26
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
25
|
+
}) => VNode | null;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
modelData: {
|
|
28
28
|
type: PropType<IPanelContainer>;
|
|
29
29
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-data-container.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container/multi-data-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAIL,QAAQ,EAER,KAAK,EAEN,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,6BAA6B,CAAC;AAErC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;iCAoCZ,UAAU
|
|
1
|
+
{"version":3,"file":"multi-data-container.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container/multi-data-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAIL,QAAQ,EAER,KAAK,EAEN,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,6BAA6B,CAAC;AAErC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;iCAoCZ,UAAU,YACX;QACR,SAAS,EAAE;YACT,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,CAAC;SACnC,CAAC;QACF,UAAU,EAAE;YACV,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAC;SACrC,CAAC;KACH,KACE,KAAK,GAAG,IAAI;;;;;;;;;;YA6CrB,CAAC"}
|
|
@@ -15,7 +15,7 @@ export declare const IBizNavPos: import("../../util").TypeWithInstall<import("vu
|
|
|
15
15
|
c: NavPosController;
|
|
16
16
|
isPresetView: import("vue").Ref<boolean>;
|
|
17
17
|
onViewCreated: (event: import("@ibiz-template/runtime").EventBase) => void;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
modelData: {
|
|
20
20
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
21
21
|
required: true;
|
|
@@ -17,7 +17,7 @@ export declare const NavPos: import("vue").DefineComponent<{
|
|
|
17
17
|
c: NavPosController;
|
|
18
18
|
isPresetView: import("vue").Ref<boolean>;
|
|
19
19
|
onViewCreated: (event: EventBase) => void;
|
|
20
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
modelData: {
|
|
22
22
|
type: PropType<IPanelRawItem>;
|
|
23
23
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav-pos.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/nav-pos.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EAKT,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,gBAAgB,CAAC;AAIxB,eAAO,MAAM,MAAM;;;;;;;;;;;;;2BAee,SAAS,KAAG,IAAI;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"nav-pos.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/nav-pos.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,QAAQ,EAKT,MAAM,KAAK,CAAC;AACb,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,gBAAgB,CAAC;AAIxB,eAAO,MAAM,MAAM;;;;;;;;;;;;;2BAee,SAAS,KAAG,IAAI;;;;;;;;;;YAwGhD,CAAC"}
|
|
@@ -92,7 +92,7 @@ const NavPos = /* @__PURE__ */ defineComponent({
|
|
|
92
92
|
}
|
|
93
93
|
});
|
|
94
94
|
} else {
|
|
95
|
-
const view = currentKey ? h(resolveComponent("IBizViewShell"), {
|
|
95
|
+
const view = currentKey && navViewMsgs[currentKey] ? h(resolveComponent("IBizViewShell"), {
|
|
96
96
|
context: navViewMsgs[currentKey].context,
|
|
97
97
|
params: navViewMsgs[currentKey].params,
|
|
98
98
|
key: !this.c.ignoreEmbedKey ? currentKey : void 0,
|
|
@@ -13,7 +13,7 @@ export declare const IBizPanelContainer: import("../../util").TypeWithInstall<im
|
|
|
13
13
|
}, {
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
15
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
modelData: {
|
|
18
18
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
19
19
|
required: true;
|
|
@@ -14,7 +14,7 @@ export declare const PanelContainer: import("vue").DefineComponent<{
|
|
|
14
14
|
}, {
|
|
15
15
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
16
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
modelData: {
|
|
19
19
|
type: PropType<IPanelContainer>;
|
|
20
20
|
required: true;
|
|
@@ -15,7 +15,7 @@ export declare const IBizPanelContainerGroup: import("../../util").TypeWithInsta
|
|
|
15
15
|
captionText: import("vue").ComputedRef<any>;
|
|
16
16
|
changeCollapse: () => void;
|
|
17
17
|
isCollapse: import("vue").Ref<boolean>;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
modelData: {
|
|
20
20
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
21
21
|
required: true;
|
|
@@ -16,7 +16,7 @@ export declare const PanelContainerGroup: import("vue").DefineComponent<{
|
|
|
16
16
|
captionText: import("vue").ComputedRef<any>;
|
|
17
17
|
changeCollapse: () => void;
|
|
18
18
|
isCollapse: import("vue").Ref<boolean>;
|
|
19
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
modelData: {
|
|
21
21
|
type: PropType<IPanelContainer>;
|
|
22
22
|
required: true;
|
|
@@ -14,7 +14,7 @@ export declare const IBizPanelContainerImage: import("../../util").TypeWithInsta
|
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
15
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
16
16
|
backgroundStyle: import("vue").ComputedRef<{}>;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
modelData: {
|
|
19
19
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
20
20
|
required: true;
|
|
@@ -15,7 +15,7 @@ export declare const PanelContainerImage: import("vue").DefineComponent<{
|
|
|
15
15
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
16
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
17
|
backgroundStyle: import("vue").ComputedRef<{}>;
|
|
18
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
modelData: {
|
|
20
20
|
type: PropType<IPanelContainer>;
|
|
21
21
|
required: true;
|
|
@@ -9,7 +9,7 @@ export declare const IBizPanelContainerTabs: import("../../util").TypeWithInstal
|
|
|
9
9
|
};
|
|
10
10
|
}, {
|
|
11
11
|
ns: import("@ibiz-template/core").Namespace;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
modelData: {
|
|
14
14
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
15
15
|
required: true;
|
|
@@ -13,7 +13,7 @@ export declare const PanelContainerTabs: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
}, {
|
|
15
15
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
modelData: {
|
|
18
18
|
type: PropType<IPanelContainer>;
|
|
19
19
|
required: true;
|
|
@@ -11,7 +11,7 @@ export declare const IBizPanelCtrlPos: import("../../util").TypeWithInstall<impo
|
|
|
11
11
|
};
|
|
12
12
|
}, {
|
|
13
13
|
ns: import("@ibiz-template/core").Namespace;
|
|
14
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
modelData: {
|
|
16
16
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelItem>;
|
|
17
17
|
required: true;
|
|
@@ -12,7 +12,7 @@ export declare const PanelCtrlPos: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
}, {
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
modelData: {
|
|
17
17
|
type: PropType<import("@ibiz/model-core").IPanelItem>;
|
|
18
18
|
required: true;
|
|
@@ -16,7 +16,7 @@ export declare const IBizPanelField: import("../../util").TypeWithInstall<import
|
|
|
16
16
|
ns: import("@ibiz-template/core").Namespace;
|
|
17
17
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
18
18
|
onValueChange: (val: unknown, name?: string | undefined) => void;
|
|
19
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
19
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
modelData: {
|
|
21
21
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelField>;
|
|
22
22
|
required: true;
|
|
@@ -19,7 +19,7 @@ export declare const PanelField: import("vue").DefineComponent<{
|
|
|
19
19
|
ns: import("@ibiz-template/core").Namespace;
|
|
20
20
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
21
21
|
onValueChange: (val: unknown, name?: string) => void;
|
|
22
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
modelData: {
|
|
24
24
|
type: PropType<IPanelField>;
|
|
25
25
|
required: true;
|