@ibiz-template/vue3-util 0.7.34 → 0.7.38-alpha.12
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 +10 -1
- package/es/common/code-list/code-list.d.ts.map +1 -1
- package/es/common/code-list/code-list.mjs +23 -5
- 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/control/panel/view-layout-panel/view-layout-panel.mjs +12 -4
- package/es/index.mjs +4 -0
- package/es/locale/en/index.mjs +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/index.d.ts +1 -0
- package/es/panel-component/index.d.ts.map +1 -1
- package/es/panel-component/index.mjs +3 -0
- 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/multi-data-container-raw/index.d.ts +37 -0
- package/es/panel-component/multi-data-container-raw/index.d.ts.map +1 -0
- package/es/panel-component/multi-data-container-raw/index.mjs +21 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts +118 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.d.ts.map +1 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.controller.mjs +351 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.css +1 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts +36 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.d.ts.map +1 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.mjs +82 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.provider.d.ts +16 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.provider.d.ts.map +1 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.provider.mjs +15 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts +20 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.d.ts.map +1 -0
- package/es/panel-component/multi-data-container-raw/multi-data-container-raw.state.mjs +17 -0
- package/es/panel-component/nav-pos/index.d.ts +1 -1
- package/es/panel-component/nav-pos/nav-pos.controller.d.ts.map +1 -1
- package/es/panel-component/nav-pos/nav-pos.controller.mjs +5 -0
- 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/use/click-outside/click-outside.d.ts.map +1 -1
- package/es/util/install.d.ts.map +1 -1
- package/es/util/store/ui-store/ui-store.d.ts.map +1 -1
- package/es/util/store/ui-store/ui-store.mjs +8 -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 +3 -3
- package/es/view/common/view.d.ts +3 -3
- package/es/view/common/view.d.ts.map +1 -1
- package/es/view/common/view.mjs +7 -6
- 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/html-view/html-view.css +1 -0
- package/es/view/html-view/html-view.d.ts +48 -0
- package/es/view/html-view/html-view.d.ts.map +1 -0
- package/es/view/html-view/html-view.mjs +94 -0
- package/es/view/html-view/html-view.provider.d.ts +14 -0
- package/es/view/html-view/html-view.provider.d.ts.map +1 -0
- package/es/view/html-view/html-view.provider.mjs +8 -0
- package/es/view/html-view/index.d.ts +44 -0
- package/es/view/html-view/index.d.ts.map +1 -0
- package/es/view/html-view/index.mjs +13 -0
- package/es/view/index.d.ts +1 -0
- package/es/view/index.d.ts.map +1 -1
- package/es/view/index.mjs +1 -0
- 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 +21 -3
- package/lib/common/view-shell/view-shell.cjs +59 -30
- package/lib/control/panel/view-layout-panel/view-layout-panel.cjs +11 -3
- package/lib/index.cjs +45 -37
- package/lib/locale/en/index.cjs +1 -1
- package/lib/panel-component/index.cjs +22 -16
- package/lib/panel-component/multi-data-container/multi-data-container.controller.cjs +31 -6
- package/lib/panel-component/multi-data-container-raw/index.cjs +28 -0
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.cjs +84 -0
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.controller.cjs +353 -0
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.css +1 -0
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.provider.cjs +17 -0
- package/lib/panel-component/multi-data-container-raw/multi-data-container-raw.state.cjs +19 -0
- package/lib/panel-component/nav-pos/nav-pos.cjs +1 -1
- package/lib/panel-component/nav-pos/nav-pos.controller.cjs +5 -0
- 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/lib/util/store/ui-store/ui-store.cjs +8 -1
- package/lib/view/common/view.cjs +7 -6
- package/lib/view/html-view/html-view.cjs +96 -0
- package/lib/view/html-view/html-view.css +1 -0
- package/lib/view/html-view/html-view.provider.cjs +10 -0
- package/lib/view/html-view/index.cjs +15 -0
- package/lib/view/index.cjs +2 -0
- package/package.json +5 -5
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MultiDataContainerRawController } from './multi-data-container-raw.controller.mjs';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
class MultiDataContainerRawProvider {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.component = "IBizMultiDataContainerRaw";
|
|
7
|
+
}
|
|
8
|
+
async createController(panelItem, panel, parent) {
|
|
9
|
+
const c = new MultiDataContainerRawController(panelItem, panel, parent);
|
|
10
|
+
await c.init();
|
|
11
|
+
return c;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { MultiDataContainerRawProvider };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 多项数据容器状态
|
|
4
|
+
*
|
|
5
|
+
* @author zzq
|
|
6
|
+
* @date 2024-09-09 16:04:27
|
|
7
|
+
* @export
|
|
8
|
+
* @class MultiDataContainerRawState
|
|
9
|
+
* @extends {PanelItemState}
|
|
10
|
+
*/
|
|
11
|
+
export declare class MultiDataContainerRawState extends PanelItemState {
|
|
12
|
+
/**
|
|
13
|
+
* 多项数据容器数据
|
|
14
|
+
* @author zzq
|
|
15
|
+
* @date 2024-09-09 16:04:27
|
|
16
|
+
* @type {(IData | IData[])}
|
|
17
|
+
*/
|
|
18
|
+
items: IData[];
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=multi-data-container-raw.state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multi-data-container-raw.state.d.ts","sourceRoot":"","sources":["../../../src/panel-component/multi-data-container-raw/multi-data-container-raw.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;;;;;GAQG;AACH,qBAAa,0BAA2B,SAAQ,cAAc;IAC5D;;;;;OAKG;IACH,KAAK,EAAE,KAAK,EAAE,CAAM;CACrB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PanelItemState } from '@ibiz-template/runtime';
|
|
2
|
+
|
|
3
|
+
"use strict";
|
|
4
|
+
class MultiDataContainerRawState extends PanelItemState {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments);
|
|
7
|
+
/**
|
|
8
|
+
* 多项数据容器数据
|
|
9
|
+
* @author zzq
|
|
10
|
+
* @date 2024-09-09 16:04:27
|
|
11
|
+
* @type {(IData | IData[])}
|
|
12
|
+
*/
|
|
13
|
+
this.items = [];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { MultiDataContainerRawState };
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav-pos.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/nav-pos.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAGN,0BAA0B,EAE1B,WAAW,EAEX,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGnE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAK9C;;;;;;GAMG;AACH,qBAAa,gBACX,SAAQ,mBAAmB,CAAC,aAAa,CACzC,YAAW,0BAA0B;IAErC;;;;;OAKG;IACK,KAAK,EAAE,WAAW,CAAC;IAE3B;;;;;OAKG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAM;IAE3C;;;;;OAKG;IACH,aAAa,EAAG,WAAW,CAAC;IAE5B;;;;;OAKG;IACH,MAAM,EAAG,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,EAAE,CAAM;IAE3B;;;;;;;OAOG;IACH,aAAa,EAAE,KAAK,CAAM;IAE1B;;;;;OAKG;IACH,cAAc,EAAE,OAAO,CAAS;IAEhC;;;;;;;OAOG;IACH,IAAI,KAAK,IAAI,6BAA6B,CAEzC;IAED;;;;;;;;OAQG;IACH,iBAAiB,CAAC,UAAU,EAAE,WAAW,GAAG,OAAO;IAUnD;;;;;OAKG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;cAIf,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAoDvC;;;;;;OAMG;IACH,SAAS,CAAC,WAAW,IAAI,WAAW;IAIpC;;;;;;OAMG;IACH,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAEnC;IAED;;;;;;;;OAQG;IACH,SAAS,CAAC,YAAY,CAAC,GAAG,EAAE,WAAW,GAAG,MAAM;IAOhD;;;;OAIG;IACH,aAAa,CAAC,KAAK,EAAE,6BAA6B,GAAG,IAAI;IAazD;;;;;;;OAOG;IACH,cAAc,CAAC,UAAU,EAAE,WAAW,GAAG,IAAI;IAiC7C;;;;;OAKG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI1B;;;;;OAKG;IACH,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"nav-pos.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/nav-pos/nav-pos.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAGN,0BAA0B,EAE1B,WAAW,EAEX,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGnE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAK9C;;;;;;GAMG;AACH,qBAAa,gBACX,SAAQ,mBAAmB,CAAC,aAAa,CACzC,YAAW,0BAA0B;IAErC;;;;;OAKG;IACK,KAAK,EAAE,WAAW,CAAC;IAE3B;;;;;OAKG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAM;IAE3C;;;;;OAKG;IACH,aAAa,EAAG,WAAW,CAAC;IAE5B;;;;;OAKG;IACH,MAAM,EAAG,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,EAAE,CAAM;IAE3B;;;;;;;OAOG;IACH,aAAa,EAAE,KAAK,CAAM;IAE1B;;;;;OAKG;IACH,cAAc,EAAE,OAAO,CAAS;IAEhC;;;;;;;OAOG;IACH,IAAI,KAAK,IAAI,6BAA6B,CAEzC;IAED;;;;;;;;OAQG;IACH,iBAAiB,CAAC,UAAU,EAAE,WAAW,GAAG,OAAO;IAUnD;;;;;OAKG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;cAIf,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAoDvC;;;;;;OAMG;IACH,SAAS,CAAC,WAAW,IAAI,WAAW;IAIpC;;;;;;OAMG;IACH,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAEnC;IAED;;;;;;;;OAQG;IACH,SAAS,CAAC,YAAY,CAAC,GAAG,EAAE,WAAW,GAAG,MAAM;IAOhD;;;;OAIG;IACH,aAAa,CAAC,KAAK,EAAE,6BAA6B,GAAG,IAAI;IAazD;;;;;;;OAOG;IACH,cAAc,CAAC,UAAU,EAAE,WAAW,GAAG,IAAI;IAiC7C;;;;;OAKG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAI1B;;;;;OAKG;IACH,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IASrC,YAAY,IAAI,IAAI;IAKpB;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAiBxC;;;;;OAKG;IACG,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IA0E7D;;;;;OAKG;IACH,eAAe,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAM/C;;;;;;;OAOG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAWtC"}
|
|
@@ -210,6 +210,11 @@ class NavPosController extends PanelItemController {
|
|
|
210
210
|
* @memberof NavPosController
|
|
211
211
|
*/
|
|
212
212
|
onViewCreated(event) {
|
|
213
|
+
this.panel.evt.emit("onPresetPanelItemEvent", {
|
|
214
|
+
panelItemName: this.model.id,
|
|
215
|
+
panelItemEventName: "onViewCreated",
|
|
216
|
+
presetParams: event
|
|
217
|
+
});
|
|
213
218
|
ibiz.log.debug(this.constructor.name, "onViewCreated", event);
|
|
214
219
|
}
|
|
215
220
|
toBlankRoute() {
|
|
@@ -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;
|
|
@@ -11,7 +11,7 @@ export declare const IBizPanelItemRender: import("../../util").TypeWithInstall<i
|
|
|
11
11
|
ns: import("@ibiz-template/core").Namespace;
|
|
12
12
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
13
13
|
htmlCode: import("vue").ComputedRef<string | undefined>;
|
|
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").IPanelContainer>;
|
|
17
17
|
required: true;
|
|
@@ -14,7 +14,7 @@ export declare const PanelItemRender: import("vue").DefineComponent<{
|
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
15
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
16
16
|
htmlCode: import("vue").ComputedRef<string | undefined>;
|
|
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;
|
|
@@ -13,7 +13,7 @@ export declare const IBizPanelRawItem: import("../../util").TypeWithInstall<impo
|
|
|
13
13
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
14
14
|
tempStyle: import("vue").Ref<string>;
|
|
15
15
|
content: import("vue").Ref<string | number | undefined>;
|
|
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").IPanelRawItem>;
|
|
19
19
|
required: true;
|
|
@@ -16,7 +16,7 @@ export declare const PanelRawItem: import("vue").DefineComponent<{
|
|
|
16
16
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
17
|
tempStyle: Ref<string>;
|
|
18
18
|
content: Ref<string | number | undefined>;
|
|
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<IPanelRawItem>;
|
|
22
22
|
required: true;
|
|
@@ -77,8 +77,8 @@ const PanelRawItem = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
return createVNode("div", {
|
|
78
78
|
"class": this.classArr,
|
|
79
79
|
"style": this.tempStyle,
|
|
80
|
-
"onClick": () => {
|
|
81
|
-
this.controller.onClick();
|
|
80
|
+
"onClick": (event) => {
|
|
81
|
+
this.controller.onClick(event);
|
|
82
82
|
}
|
|
83
83
|
}, [createVNode(resolveComponent("iBizRawItem"), {
|
|
84
84
|
"rawItem": this.modelData,
|
|
@@ -10,7 +10,7 @@ export declare const IBizPanelTabPage: import("../../util").TypeWithInstall<impo
|
|
|
10
10
|
}, {
|
|
11
11
|
ns: import("@ibiz-template/core").Namespace;
|
|
12
12
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
13
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
13
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
modelData: {
|
|
15
15
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
16
16
|
required: true;
|
|
@@ -13,7 +13,7 @@ export declare const PanelTabPage: import("vue").DefineComponent<{
|
|
|
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: PropType<IPanelContainer>;
|
|
19
19
|
required: true;
|
|
@@ -12,7 +12,7 @@ export declare const IBizScrollContainer: import("../../util").TypeWithInstall<i
|
|
|
12
12
|
}, {
|
|
13
13
|
ns: import("@ibiz-template/core").Namespace;
|
|
14
14
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
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: import("vue").PropType<import("@ibiz/model-core").IPanelContainer>;
|
|
18
18
|
required: true;
|
|
@@ -14,7 +14,7 @@ export declare const ScrollContainer: 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;
|
package/es/panel-component/scroll-container/scroll-container-item/scroll-container-item.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const ScrollContainerItem: 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;
|
|
@@ -23,7 +23,7 @@ export declare const IBizSingleDataContainer: import("../../util").TypeWithInsta
|
|
|
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;
|
|
@@ -49,6 +49,15 @@ export declare class SingleDataContainerController extends PanelItemController<I
|
|
|
49
49
|
* @protected
|
|
50
50
|
*/
|
|
51
51
|
protected initPanelItemControllers(panelItems?: IPanelItem[] | undefined, panel?: IPanelController, parent?: IPanelItemContainerController | undefined): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* 计算导航参数
|
|
54
|
+
*
|
|
55
|
+
* @author tony001
|
|
56
|
+
* @date 2024-07-30 18:07:52
|
|
57
|
+
* @protected
|
|
58
|
+
* @return {*} {IData}
|
|
59
|
+
*/
|
|
60
|
+
protected computeNavParams(): IData;
|
|
52
61
|
/**
|
|
53
62
|
* 根据来源类型初始化容器数据
|
|
54
63
|
* @author lxm
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"single-data-container.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/single-data-container/single-data-container.controller.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"single-data-container.controller.d.ts","sourceRoot":"","sources":["../../../src/panel-component/single-data-container/single-data-container.controller.ts"],"names":[],"mappings":"AAKA,OAAO,EAKL,gBAAgB,EAChB,6BAA6B,EAC7B,6BAA6B,EAC7B,oBAAoB,EACpB,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,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE;;;;;;GAMG;AACH,qBAAa,6BACX,SAAQ,mBAAmB,CAAC,eAAe,CAC3C,YAAW,6BAA6B;IAEhC,KAAK,EAAE,wBAAwB,CAAC;IAExC,QAAQ,CAAC,eAAe,QAAQ;IAEhC;;;;;;OAMG;IACH,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAA;KAAE,CAAM;IAEzD;;;;;;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,wBAAwB;cAIjC,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAMvC;;;;;;OAMG;cACa,wBAAwB,CACtC,UAAU,GAAE,UAAU,EAAE,GAAG,SAAiC,EAC5D,KAAK,GAAE,gBAA6B,EACpC,MAAM,GAAE,6BAA6B,GAAG,SAAgB,GACvD,OAAO,CAAC,IAAI,CAAC;IA4ChB;;;;;;;OAOG;IACH,SAAS,CAAC,gBAAgB,IAAI,KAAK;IAgBnC;;;;;OAKG;IACH,SAAS,CAAC,iBAAiB,IAAI,IAAI;IA+EnC;;;;;OAKG;IACH,mBAAmB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAMlD;;;;;OAKG;IACG,OAAO,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBzC;;;;;OAKG;IACH,SAAS,CAAC,YAAY,IAAI,IAAI;IAI9B;;;;;;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;;;;;;OAMG;IACH,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI;IAM5C;;;;;OAKG;IACG,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAa/D,OAAO,IAAI,IAAI;CAOhB"}
|
|
@@ -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 { SingleDataContainerState } from './single-data-container.state.mjs';
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
@@ -89,6 +89,29 @@ class SingleDataContainerController extends PanelItemController {
|
|
|
89
89
|
})
|
|
90
90
|
);
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* 计算导航参数
|
|
94
|
+
*
|
|
95
|
+
* @author tony001
|
|
96
|
+
* @date 2024-07-30 18:07:52
|
|
97
|
+
* @protected
|
|
98
|
+
* @return {*} {IData}
|
|
99
|
+
*/
|
|
100
|
+
computeNavParams() {
|
|
101
|
+
const { navigateContexts, navigateParams } = this.model;
|
|
102
|
+
const context = this.panel.context.clone();
|
|
103
|
+
Object.assign(
|
|
104
|
+
context,
|
|
105
|
+
convertNavData(navigateContexts, this.panel.params, this.panel.context)
|
|
106
|
+
);
|
|
107
|
+
const params = convertNavData(
|
|
108
|
+
navigateParams,
|
|
109
|
+
this.panel.params,
|
|
110
|
+
this.panel.context
|
|
111
|
+
);
|
|
112
|
+
Object.assign(params, this.panel.params);
|
|
113
|
+
return { context, params };
|
|
114
|
+
}
|
|
92
115
|
/**
|
|
93
116
|
* 根据来源类型初始化容器数据
|
|
94
117
|
* @author lxm
|
|
@@ -233,12 +256,13 @@ class SingleDataContainerController extends PanelItemController {
|
|
|
233
256
|
ibiz.i18n.t("vue3Util.panelComponent.noConfiguredEntity")
|
|
234
257
|
);
|
|
235
258
|
}
|
|
259
|
+
const { context, params } = this.computeNavParams();
|
|
236
260
|
const data = await execDELogicById(
|
|
237
261
|
appDELogicId,
|
|
238
262
|
appDataEntityId,
|
|
239
|
-
|
|
263
|
+
context,
|
|
240
264
|
this.panel.data,
|
|
241
|
-
|
|
265
|
+
params
|
|
242
266
|
);
|
|
243
267
|
if (!data) {
|
|
244
268
|
throw new RuntimeError(
|
|
@@ -286,12 +310,13 @@ class SingleDataContainerController extends PanelItemController {
|
|
|
286
310
|
);
|
|
287
311
|
}
|
|
288
312
|
const app = ibiz.hub.getApp(this.panel.context.srfappid);
|
|
313
|
+
const { context, params } = this.computeNavParams();
|
|
289
314
|
const res = await app.deService.exec(
|
|
290
315
|
appDataEntityId,
|
|
291
316
|
appDEMethodId,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
317
|
+
context,
|
|
318
|
+
void 0,
|
|
319
|
+
params
|
|
295
320
|
);
|
|
296
321
|
if (res.ok && res.data) {
|
|
297
322
|
this.setData(res.data);
|
|
@@ -22,8 +22,8 @@ export declare const SingleDataContainer: 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":"single-data-container.d.ts","sourceRoot":"","sources":["../../../src/panel-component/single-data-container/single-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,EACN,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,8BAA8B,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;iCA0Bb,UAAU
|
|
1
|
+
{"version":3,"file":"single-data-container.d.ts","sourceRoot":"","sources":["../../../src/panel-component/single-data-container/single-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,EACN,MAAM,KAAK,CAAC;AAEb,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,8BAA8B,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;iCA0Bb,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;;;;;;;;;;YA0CrB,CAAC"}
|
|
@@ -13,7 +13,7 @@ export declare const IBizTeleportPlaceholder: import("../../util").TypeWithInsta
|
|
|
13
13
|
ns: import("@ibiz-template/core").Namespace;
|
|
14
14
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
15
15
|
tempStyle: import("vue").Ref<string>;
|
|
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").IPanelRawItem>;
|
|
19
19
|
required: true;
|
|
@@ -15,7 +15,7 @@ export declare const TeleportPlaceholder: import("vue").DefineComponent<{
|
|
|
15
15
|
ns: import("@ibiz-template/core").Namespace;
|
|
16
16
|
classArr: import("vue").ComputedRef<(string | false)[]>;
|
|
17
17
|
tempStyle: import("vue").Ref<string>;
|
|
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<IPanelRawItem>;
|
|
21
21
|
required: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"click-outside.d.ts","sourceRoot":"","sources":["../../../src/use/click-outside/click-outside.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"click-outside.d.ts","sourceRoot":"","sources":["../../../src/use/click-outside/click-outside.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAmB,GAAG,EAAS,MAAM,KAAK,CAAC;AAElD;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,GAAG,EACV,OAAO,EAAE,qBAAqB,EAC9B,OAAO,GAAE,qBAA0B,GAClC,oBAAoB,CA8CtB"}
|
package/es/util/install.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/util/install.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAEvC,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC;AAE5C,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/util/install.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AAEvC,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC;AAE5C,eAAO,MAAM,WAAW,YAChB,CAAC,WACE,CAAC,EAAE,EAAE,GAAG,KAAK,IAAI,KACzB,gBAAgB,CAAC,CAKnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-store.d.ts","sourceRoot":"","sources":["../../../../src/util/store/ui-store/ui-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-store.d.ts","sourceRoot":"","sources":["../../../../src/util/store/ui-store/ui-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,GAAG,EAAE,MAAM,KAAK,CAAC;AAGpC,MAAM,WAAW,QAAQ;IACvB;;;;;;OAMG;IACH,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAEpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU;;;eAHd,MAAM;;;;;;eAAN,MAAM;;;;;;eAAN,MAAM;;;UAqBb,CAAC"}
|
|
@@ -5,9 +5,16 @@ import { useZIndexStore } from './z-index.mjs';
|
|
|
5
5
|
"use strict";
|
|
6
6
|
const useUIStore = defineStore("uiStore", () => {
|
|
7
7
|
const zIndex = useZIndexStore();
|
|
8
|
+
const getTheme = () => {
|
|
9
|
+
const themeTag = ibiz.util.theme.getTheme();
|
|
10
|
+
return themeTag.includes("dark") ? "dark" : "light";
|
|
11
|
+
};
|
|
8
12
|
const UIStore = reactive({
|
|
9
13
|
zIndex: zIndex.zIndex,
|
|
10
|
-
theme:
|
|
14
|
+
theme: getTheme()
|
|
15
|
+
});
|
|
16
|
+
ibiz.util.theme.evt.on("onChange", () => {
|
|
17
|
+
UIStore.theme = getTheme();
|
|
11
18
|
});
|
|
12
19
|
return { UIStore, zIndex };
|
|
13
20
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AppRedirectView: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
export declare const AppRedirectView: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
//# sourceMappingURL=app-redirect-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-redirect-view.d.ts","sourceRoot":"","sources":["../../../src/view/app-redirect-view/app-redirect-view.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"app-redirect-view.d.ts","sourceRoot":"","sources":["../../../src/view/app-redirect-view/app-redirect-view.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,4NAqB1B,CAAC"}
|
|
@@ -24,13 +24,13 @@ export declare const IBizView: import("../../util").TypeWithInstall<import("vue"
|
|
|
24
24
|
teleportControls: import("@ibiz/model-core").IControl[];
|
|
25
25
|
viewClassNames: import("vue").ComputedRef<(string | undefined)[]>;
|
|
26
26
|
onLayoutPanelCreated: (controller: import("@ibiz-template/runtime").IViewLayoutPanelController) => void;
|
|
27
|
-
getCtrlProps: (ctrl: import("@ibiz/model-core").IControl) => IParams;
|
|
28
|
-
renderControl: (ctrl: import("@ibiz/model-core").IControl) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
getCtrlProps: (ctrl: import("@ibiz/model-core").IControl, slotProps?: IData) => IParams;
|
|
28
|
+
renderControl: (ctrl: import("@ibiz/model-core").IControl, slotProps?: IData) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
29
|
[key: string]: any;
|
|
30
30
|
}>;
|
|
31
31
|
getCtrlTeleportTag: (ctrl: import("@ibiz/model-core").IControl) => string | undefined;
|
|
32
32
|
getControlStyle: () => {};
|
|
33
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
34
|
context: import("vue").PropType<IContext>;
|
|
35
35
|
params: {
|
|
36
36
|
type: import("vue").PropType<IParams>;
|
package/es/view/common/view.d.ts
CHANGED
|
@@ -28,11 +28,11 @@ export declare const View: import("vue").DefineComponent<{
|
|
|
28
28
|
teleportControls: IControl[];
|
|
29
29
|
viewClassNames: import("vue").ComputedRef<(string | undefined)[]>;
|
|
30
30
|
onLayoutPanelCreated: (controller: IViewLayoutPanelController) => void;
|
|
31
|
-
getCtrlProps: (ctrl: IControl) => IParams;
|
|
32
|
-
renderControl: (ctrl: IControl) => VNode;
|
|
31
|
+
getCtrlProps: (ctrl: IControl, slotProps?: IData) => IParams;
|
|
32
|
+
renderControl: (ctrl: IControl, slotProps?: IData) => VNode;
|
|
33
33
|
getCtrlTeleportTag: (ctrl: IControl) => string | undefined;
|
|
34
34
|
getControlStyle: () => {};
|
|
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
|
context: PropType<IContext>;
|
|
37
37
|
params: {
|
|
38
38
|
type: PropType<IParams>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../src/view/common/view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACN,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAGL,QAAQ,EAER,KAAK,EAIN,MAAM,KAAK,CAAC;AACb,OAAO,aAAa,CAAC;AAGrB,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;uCAsDC,0BAA0B,KACrC,IAAI;yBAmBqB,QAAQ,
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../src/view/common/view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACN,0BAA0B,EAC1B,aAAa,EACb,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAGL,QAAQ,EAER,KAAK,EAIN,MAAM,KAAK,CAAC;AACb,OAAO,aAAa,CAAC;AAGrB,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;uCAsDC,0BAA0B,KACrC,IAAI;yBAmBqB,QAAQ,cAAa,KAAK,KAAQ,OAAO;0BAkBxC,QAAQ,cAAa,KAAK,KAAQ,KAAK;+BA9DlC,QAAQ,KAAG,MAAM,GAAG,SAAS;;;;;;;;;;;;;;;;;;;;;;;MAsLjE,CAAC"}
|