@ibiz-template/vue3-components 0.7.7-dev.0 → 0.7.8
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-oydyrl0O.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-XnzvMz46.js +1 -0
- package/dist/{xlsx-util-2bS-pf2I.js → xlsx-util-3My8gW7-.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.d.ts +2 -0
- package/es/common/action-toolbar/action-toolbar.mjs +4 -2
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +7 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +19 -6
- package/es/control/dashboard/dashboard-design/dashboard-design.d.ts +3 -2
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +9 -4
- package/es/control/dashboard/dashboard.d.ts +1 -0
- package/es/control/dashboard/dashboard.mjs +10 -3
- package/es/control/dashboard/index.d.ts +1 -0
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.d.ts +1 -0
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +4 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +41 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.d.ts +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +3 -1
- package/es/control/form/form-detail/form-mdctrl/index.d.ts +1 -0
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +21 -10
- package/es/editor/html/wang-editor/wang-editor.css +1 -1
- package/es/editor/html/wang-editor/wang-editor.mjs +9 -6
- package/lib/common/action-toolbar/action-toolbar.cjs +4 -2
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +19 -6
- package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +9 -4
- package/lib/control/dashboard/dashboard.cjs +9 -2
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +4 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +3 -1
- package/lib/control/toolbar/toolbar.cjs +21 -10
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +8 -5
- package/lib/editor/html/wang-editor/wang-editor.css +1 -1
- package/package.json +6 -6
- package/dist/index-FAFZUJRc.js +0 -4
- package/dist/wang-editor-Zc_Y0dGt.js +0 -1
|
@@ -37,6 +37,7 @@ export declare const IBizActionToolbar: import("vue").DefineComponent<{
|
|
|
37
37
|
type: NumberConstructor;
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
|
+
popperClass: StringConstructor;
|
|
40
41
|
}, {
|
|
41
42
|
ns: import("@ibiz-template/core").Namespace;
|
|
42
43
|
dropdownRef: Ref<any>;
|
|
@@ -82,6 +83,7 @@ export declare const IBizActionToolbar: import("vue").DefineComponent<{
|
|
|
82
83
|
type: NumberConstructor;
|
|
83
84
|
required: true;
|
|
84
85
|
};
|
|
86
|
+
popperClass: StringConstructor;
|
|
85
87
|
}>>, {
|
|
86
88
|
mode: "dropdown" | "buttons";
|
|
87
89
|
groupLevelKeys: number[];
|
|
@@ -31,7 +31,8 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
zIndex: {
|
|
32
32
|
type: Number,
|
|
33
33
|
required: true
|
|
34
|
-
}
|
|
34
|
+
},
|
|
35
|
+
popperClass: String
|
|
35
36
|
},
|
|
36
37
|
setup(props, {
|
|
37
38
|
emit
|
|
@@ -151,7 +152,8 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
|
|
|
151
152
|
return createVNode(resolveComponent("el-dropdown"), {
|
|
152
153
|
"ref": "dropdownRef",
|
|
153
154
|
"onCommand": (command) => this.handleClick(command, new MouseEvent("click")),
|
|
154
|
-
"class": [this.ns.b(), this.ns.m("dropdown")]
|
|
155
|
+
"class": [this.ns.b(), this.ns.m("dropdown")],
|
|
156
|
+
"popper-class": this.popperClass
|
|
155
157
|
}, {
|
|
156
158
|
default: () => createVNode("span", {
|
|
157
159
|
"class": this.ns.e("caption")
|
|
@@ -389,6 +389,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
|
|
|
389
389
|
modelType?: string | undefined;
|
|
390
390
|
} | undefined;
|
|
391
391
|
sysPFPluginId?: string | undefined;
|
|
392
|
+
priority?: number | undefined;
|
|
392
393
|
user2ControlAction?: {
|
|
393
394
|
adappDELogicId?: string | undefined;
|
|
394
395
|
actionDesc?: string | undefined;
|
|
@@ -813,6 +814,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
|
|
|
813
814
|
modelType?: string | undefined;
|
|
814
815
|
} | undefined;
|
|
815
816
|
sysPFPluginId?: string | undefined;
|
|
817
|
+
priority?: number | undefined;
|
|
816
818
|
user2ControlAction?: {
|
|
817
819
|
adappDELogicId?: string | undefined;
|
|
818
820
|
actionDesc?: string | undefined;
|
|
@@ -917,6 +919,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
|
|
|
917
919
|
modelType?: string | undefined;
|
|
918
920
|
} | undefined;
|
|
919
921
|
sysPFPluginId?: string | undefined;
|
|
922
|
+
priority?: number | undefined;
|
|
920
923
|
user2ControlAction?: {
|
|
921
924
|
adappDELogicId?: string | undefined;
|
|
922
925
|
actionDesc?: string | undefined;
|
|
@@ -1596,6 +1599,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
|
|
|
1596
1599
|
modelType?: string | undefined;
|
|
1597
1600
|
} | undefined;
|
|
1598
1601
|
sysPFPluginId?: string | undefined;
|
|
1602
|
+
priority?: number | undefined;
|
|
1599
1603
|
user2ControlAction?: {
|
|
1600
1604
|
adappDELogicId?: string | undefined;
|
|
1601
1605
|
actionDesc?: string | undefined;
|
|
@@ -1978,6 +1982,7 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
|
|
|
1978
1982
|
modelType?: string | undefined;
|
|
1979
1983
|
} | undefined;
|
|
1980
1984
|
sysPFPluginId?: string | undefined;
|
|
1985
|
+
priority?: number | undefined;
|
|
1981
1986
|
user2ControlAction?: {
|
|
1982
1987
|
adappDELogicId?: string | undefined;
|
|
1983
1988
|
actionDesc?: string | undefined;
|
|
@@ -2058,7 +2063,8 @@ export declare const CustomDashboardContainer: import("vue").DefineComponent<{
|
|
|
2058
2063
|
isShowDefault: import("vue").ComputedRef<boolean>;
|
|
2059
2064
|
showTypeDir: import("vue").Ref<boolean>;
|
|
2060
2065
|
openDesign: () => void;
|
|
2061
|
-
onSaved: (args: IData) => void
|
|
2066
|
+
onSaved: (args: IData) => Promise<void>;
|
|
2067
|
+
onReset: () => void;
|
|
2062
2068
|
clickCollapse: (type: string) => void;
|
|
2063
2069
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2064
2070
|
modelData: {
|
|
@@ -54,23 +54,34 @@ const CustomDashboardContainer = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
}
|
|
55
55
|
return tempModelDatas;
|
|
56
56
|
};
|
|
57
|
-
const
|
|
57
|
+
const handleCustomModelChange = async (args) => {
|
|
58
|
+
await props.dashboard.initPortlets(args.model);
|
|
59
|
+
await props.dashboard.initPortletsConfig(args.config);
|
|
60
|
+
};
|
|
61
|
+
const onSaved = async (args) => {
|
|
58
62
|
isShowDesign.value = false;
|
|
59
63
|
const tempModelDatas = convertData(args.model);
|
|
64
|
+
await handleCustomModelChange({
|
|
65
|
+
model: tempModelDatas,
|
|
66
|
+
config: args.config
|
|
67
|
+
});
|
|
60
68
|
emit("changed", {
|
|
61
69
|
model: tempModelDatas
|
|
62
70
|
});
|
|
63
71
|
};
|
|
72
|
+
const onReset = () => {
|
|
73
|
+
isShowDesign.value = false;
|
|
74
|
+
props.dashboard.resetPortlets();
|
|
75
|
+
};
|
|
64
76
|
const isShowDefault = computed(() => {
|
|
65
77
|
return customC.customModelData.length === 0;
|
|
66
78
|
});
|
|
67
|
-
const handleCustomModelChange = async (args) => {
|
|
68
|
-
await props.dashboard.initPortlets(args.model);
|
|
69
|
-
await props.dashboard.initPortletsConfig(args.config);
|
|
70
|
-
};
|
|
71
79
|
onMounted(async () => {
|
|
72
80
|
const response = await customC.loadCustomModelData();
|
|
73
81
|
const tempModelDatas = convertData(response.model);
|
|
82
|
+
emit("changed", {
|
|
83
|
+
model: tempModelDatas
|
|
84
|
+
});
|
|
74
85
|
await handleCustomModelChange({
|
|
75
86
|
model: tempModelDatas,
|
|
76
87
|
config: response.config
|
|
@@ -95,6 +106,7 @@ const CustomDashboardContainer = /* @__PURE__ */ defineComponent({
|
|
|
95
106
|
showTypeDir,
|
|
96
107
|
openDesign,
|
|
97
108
|
onSaved,
|
|
109
|
+
onReset,
|
|
98
110
|
clickCollapse
|
|
99
111
|
};
|
|
100
112
|
},
|
|
@@ -137,7 +149,8 @@ const CustomDashboardContainer = /* @__PURE__ */ defineComponent({
|
|
|
137
149
|
"dashboard": this.dashboard,
|
|
138
150
|
"custom-dashboard": this.customC,
|
|
139
151
|
"is-show-design": this.isShowDesign,
|
|
140
|
-
"onSaved": this.onSaved
|
|
152
|
+
"onSaved": this.onSaved,
|
|
153
|
+
"onReset": this.onReset
|
|
141
154
|
}, null)]
|
|
142
155
|
}), this.isInited && (this.isShowDefault ? (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a) : this.customC.customModelData.map((item) => {
|
|
143
156
|
var _a2, _b2;
|
|
@@ -63,7 +63,7 @@ export declare const DashboardDesign: import("vue").DefineComponent<{
|
|
|
63
63
|
filterVal: Ref<string>;
|
|
64
64
|
defaultOpens: import("vue").ComputedRef<string[]>;
|
|
65
65
|
layoutModel: Ref<IData[]>;
|
|
66
|
-
onReset: () => void
|
|
66
|
+
onReset: () => Promise<void>;
|
|
67
67
|
onSave: () => Promise<void>;
|
|
68
68
|
removeItem: (child: IData) => Promise<void>;
|
|
69
69
|
addLayoutItem: (child: IPortletList) => Promise<void>;
|
|
@@ -79,7 +79,7 @@ export declare const DashboardDesign: import("vue").DefineComponent<{
|
|
|
79
79
|
getPortletByCodeName: (codeName: string) => IDBPortletPart | undefined;
|
|
80
80
|
maskSize: import("vue").ComputedRef<string>;
|
|
81
81
|
designPanel: Ref<Element | null>;
|
|
82
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "saved"[], "saved", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
82
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "saved")[], "reset" | "saved", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
dashboard: {
|
|
84
84
|
type: PropType<DashboardController>;
|
|
85
85
|
required: true;
|
|
@@ -93,6 +93,7 @@ export declare const DashboardDesign: import("vue").DefineComponent<{
|
|
|
93
93
|
required: true;
|
|
94
94
|
};
|
|
95
95
|
}>> & {
|
|
96
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
96
97
|
onSaved?: ((...args: any[]) => any) | undefined;
|
|
97
98
|
}, {}, {}>;
|
|
98
99
|
export {};
|
|
@@ -24,7 +24,7 @@ const DashboardDesign = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
required: true
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
-
emits: ["saved"],
|
|
27
|
+
emits: ["saved", "reset"],
|
|
28
28
|
setup(props, {
|
|
29
29
|
emit
|
|
30
30
|
}) {
|
|
@@ -219,13 +219,18 @@ const DashboardDesign = /* @__PURE__ */ defineComponent({
|
|
|
219
219
|
const model = layoutModel.value.find((item) => item.i === child.portletCodeName);
|
|
220
220
|
return !!model;
|
|
221
221
|
};
|
|
222
|
-
const onReset = () => {
|
|
223
|
-
|
|
222
|
+
const onReset = async () => {
|
|
223
|
+
customC.portletConfig = {};
|
|
224
|
+
const res = await customC.saveCustomModelData([]);
|
|
225
|
+
layoutModel.value = res.model;
|
|
226
|
+
layoutConfig.value = res.config;
|
|
227
|
+
emit("reset");
|
|
224
228
|
};
|
|
225
229
|
const onSave = async () => {
|
|
226
230
|
const res = await customC.saveCustomModelData(layoutModel.value);
|
|
227
231
|
emit("saved", {
|
|
228
|
-
model: res.model
|
|
232
|
+
model: res.model,
|
|
233
|
+
config: res.config
|
|
229
234
|
});
|
|
230
235
|
};
|
|
231
236
|
const removeItem = async (child) => {
|
|
@@ -22,6 +22,7 @@ export declare const DashboardControl: import("vue").DefineComponent<{
|
|
|
22
22
|
c: DashboardController;
|
|
23
23
|
ns: import("@ibiz-template/core").Namespace;
|
|
24
24
|
customModelDatas: import("vue").Ref<never[]>;
|
|
25
|
+
handleCustomModelChange: (args: IData) => void;
|
|
25
26
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
27
|
modelData: {
|
|
27
28
|
type: PropType<IDashboard>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode, createVNode, resolveComponent, h, ref, reactive, defineComponent } from 'vue';
|
|
1
|
+
import { isVNode, createVNode, resolveComponent, h, getCurrentInstance, ref, reactive, defineComponent } from 'vue';
|
|
2
2
|
import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './dashboard.css';
|
|
4
4
|
import { DashboardController } from '@ibiz-template/runtime';
|
|
@@ -56,6 +56,7 @@ const DashboardControl = /* @__PURE__ */ defineComponent({
|
|
|
56
56
|
},
|
|
57
57
|
setup() {
|
|
58
58
|
const c = useControlController((...args) => new DashboardController(...args));
|
|
59
|
+
const vue = getCurrentInstance().proxy;
|
|
59
60
|
const customModelDatas = ref([]);
|
|
60
61
|
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
61
62
|
c.evt.on("onCreated", () => {
|
|
@@ -63,10 +64,15 @@ const DashboardControl = /* @__PURE__ */ defineComponent({
|
|
|
63
64
|
portlet.state = reactive(portlet.state);
|
|
64
65
|
});
|
|
65
66
|
});
|
|
67
|
+
const handleCustomModelChange = (args) => {
|
|
68
|
+
customModelDatas.value = args.model;
|
|
69
|
+
vue.$forceUpdate();
|
|
70
|
+
};
|
|
66
71
|
return {
|
|
67
72
|
c,
|
|
68
73
|
ns,
|
|
69
|
-
customModelDatas
|
|
74
|
+
customModelDatas,
|
|
75
|
+
handleCustomModelChange
|
|
70
76
|
};
|
|
71
77
|
},
|
|
72
78
|
render() {
|
|
@@ -112,7 +118,8 @@ const DashboardControl = /* @__PURE__ */ defineComponent({
|
|
|
112
118
|
}, {
|
|
113
119
|
default: () => [state.isCreated && (model.enableCustomized ? createVNode(resolveComponent("iBizCustomDashboardContainer"), {
|
|
114
120
|
"modelData": this.modelData,
|
|
115
|
-
"dashboard": this.c
|
|
121
|
+
"dashboard": this.c,
|
|
122
|
+
"onChanged": this.handleCustomModelChange
|
|
116
123
|
}, _isSlot(_slot2 = renderCustomSlots()) ? _slot2 : {
|
|
117
124
|
default: () => [_slot2]
|
|
118
125
|
}) : renderDefaultContent())]
|
|
@@ -19,6 +19,7 @@ export declare const IBizDashboardControl: import("@ibiz-template/vue3-util").Ty
|
|
|
19
19
|
c: import("@ibiz-template/runtime").DashboardController;
|
|
20
20
|
ns: import("@ibiz-template/core").Namespace;
|
|
21
21
|
customModelDatas: import("vue").Ref<never[]>;
|
|
22
|
+
handleCustomModelChange: (args: IData) => void;
|
|
22
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
24
|
modelData: {
|
|
24
25
|
type: import("vue").PropType<import("@ibiz/model-core").IDashboard>;
|
|
@@ -12,6 +12,7 @@ export declare const PortletLayout: import("vue").DefineComponent<{
|
|
|
12
12
|
}, {
|
|
13
13
|
c: PortletPartController<import("@ibiz/model-core").IDBPortletPart>;
|
|
14
14
|
ns: import("@ibiz-template/core").Namespace;
|
|
15
|
+
portletType: string;
|
|
15
16
|
isShowHeader: import("vue").ComputedRef<string | import("@ibiz/model-core").ISysImage | import("@ibiz/model-core").IUIActionGroup | undefined>;
|
|
16
17
|
onActionClick: (detail: IUIActionGroupDetail, event: MouseEvent) => Promise<void>;
|
|
17
18
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -13,7 +13,9 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
setup(props) {
|
|
16
|
+
var _a;
|
|
16
17
|
const ns = useNamespace("portlet-layout");
|
|
18
|
+
const portletType = "portlet-".concat((_a = props.controller.model.portletType) == null ? void 0 : _a.toLowerCase());
|
|
17
19
|
const c = props.controller;
|
|
18
20
|
const isShowHeader = computed(() => {
|
|
19
21
|
return c.model.showTitleBar && (c.model.title || c.model.sysImage) || c.model.uiactionGroup;
|
|
@@ -24,6 +26,7 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
|
|
|
24
26
|
return {
|
|
25
27
|
c,
|
|
26
28
|
ns,
|
|
29
|
+
portletType,
|
|
27
30
|
isShowHeader,
|
|
28
31
|
onActionClick
|
|
29
32
|
};
|
|
@@ -56,6 +59,7 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
|
|
|
56
59
|
"action-details": model.uiactionGroup.uiactionGroupDetails,
|
|
57
60
|
"actions-state": state.actionGroupState,
|
|
58
61
|
"mode": model.actionGroupExtractMode === "ITEMS" ? "dropdown" : "buttons",
|
|
62
|
+
"popperClass": this.ns.em("toolbar", "".concat(this.portletType, "-").concat(model.id)),
|
|
59
63
|
"onActionClick": this.onActionClick
|
|
60
64
|
}, null)])]), createVNode("div", {
|
|
61
65
|
"key": "content",
|
|
@@ -574,6 +574,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
574
574
|
modelType?: string | undefined;
|
|
575
575
|
} | undefined;
|
|
576
576
|
sysPFPluginId?: string | undefined;
|
|
577
|
+
priority?: number | undefined;
|
|
577
578
|
user2ControlAction?: {
|
|
578
579
|
adappDELogicId?: string | undefined;
|
|
579
580
|
actionDesc?: string | undefined;
|
|
@@ -998,6 +999,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
998
999
|
modelType?: string | undefined;
|
|
999
1000
|
} | undefined;
|
|
1000
1001
|
sysPFPluginId?: string | undefined;
|
|
1002
|
+
priority?: number | undefined;
|
|
1001
1003
|
user2ControlAction?: {
|
|
1002
1004
|
adappDELogicId?: string | undefined;
|
|
1003
1005
|
actionDesc?: string | undefined;
|
|
@@ -1429,6 +1431,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
1429
1431
|
modelType?: string | undefined;
|
|
1430
1432
|
} | undefined;
|
|
1431
1433
|
sysPFPluginId?: string | undefined;
|
|
1434
|
+
priority?: number | undefined;
|
|
1432
1435
|
user2ControlAction?: {
|
|
1433
1436
|
adappDELogicId?: string | undefined;
|
|
1434
1437
|
actionDesc?: string | undefined;
|
|
@@ -1853,6 +1856,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
1853
1856
|
modelType?: string | undefined;
|
|
1854
1857
|
} | undefined;
|
|
1855
1858
|
sysPFPluginId?: string | undefined;
|
|
1859
|
+
priority?: number | undefined;
|
|
1856
1860
|
user2ControlAction?: {
|
|
1857
1861
|
adappDELogicId?: string | undefined;
|
|
1858
1862
|
actionDesc?: string | undefined;
|
|
@@ -1957,6 +1961,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
1957
1961
|
modelType?: string | undefined;
|
|
1958
1962
|
} | undefined;
|
|
1959
1963
|
sysPFPluginId?: string | undefined;
|
|
1964
|
+
priority?: number | undefined;
|
|
1960
1965
|
user2ControlAction?: {
|
|
1961
1966
|
adappDELogicId?: string | undefined;
|
|
1962
1967
|
actionDesc?: string | undefined;
|
|
@@ -2636,6 +2641,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
2636
2641
|
modelType?: string | undefined;
|
|
2637
2642
|
} | undefined;
|
|
2638
2643
|
sysPFPluginId?: string | undefined;
|
|
2644
|
+
priority?: number | undefined;
|
|
2639
2645
|
user2ControlAction?: {
|
|
2640
2646
|
adappDELogicId?: string | undefined;
|
|
2641
2647
|
actionDesc?: string | undefined;
|
|
@@ -3018,6 +3024,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
3018
3024
|
modelType?: string | undefined;
|
|
3019
3025
|
} | undefined;
|
|
3020
3026
|
sysPFPluginId?: string | undefined;
|
|
3027
|
+
priority?: number | undefined;
|
|
3021
3028
|
user2ControlAction?: {
|
|
3022
3029
|
adappDELogicId?: string | undefined;
|
|
3023
3030
|
actionDesc?: string | undefined;
|
|
@@ -3761,6 +3768,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
3761
3768
|
modelType?: string | undefined;
|
|
3762
3769
|
} | undefined;
|
|
3763
3770
|
sysPFPluginId?: string | undefined;
|
|
3771
|
+
priority?: number | undefined;
|
|
3764
3772
|
user2ControlAction?: {
|
|
3765
3773
|
adappDELogicId?: string | undefined;
|
|
3766
3774
|
actionDesc?: string | undefined;
|
|
@@ -4143,6 +4151,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
4143
4151
|
modelType?: string | undefined;
|
|
4144
4152
|
} | undefined;
|
|
4145
4153
|
sysPFPluginId?: string | undefined;
|
|
4154
|
+
priority?: number | undefined;
|
|
4146
4155
|
user2ControlAction?: {
|
|
4147
4156
|
adappDELogicId?: string | undefined;
|
|
4148
4157
|
actionDesc?: string | undefined;
|
|
@@ -4529,6 +4538,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
4529
4538
|
modelType?: string | undefined;
|
|
4530
4539
|
} | undefined;
|
|
4531
4540
|
sysPFPluginId?: string | undefined;
|
|
4541
|
+
priority?: number | undefined;
|
|
4532
4542
|
user2ControlAction?: {
|
|
4533
4543
|
adappDELogicId?: string | undefined;
|
|
4534
4544
|
actionDesc?: string | undefined;
|
|
@@ -4953,6 +4963,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
4953
4963
|
modelType?: string | undefined;
|
|
4954
4964
|
} | undefined;
|
|
4955
4965
|
sysPFPluginId?: string | undefined;
|
|
4966
|
+
priority?: number | undefined;
|
|
4956
4967
|
user2ControlAction?: {
|
|
4957
4968
|
adappDELogicId?: string | undefined;
|
|
4958
4969
|
actionDesc?: string | undefined;
|
|
@@ -5384,6 +5395,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
5384
5395
|
modelType?: string | undefined;
|
|
5385
5396
|
} | undefined;
|
|
5386
5397
|
sysPFPluginId?: string | undefined;
|
|
5398
|
+
priority?: number | undefined;
|
|
5387
5399
|
user2ControlAction?: {
|
|
5388
5400
|
adappDELogicId?: string | undefined;
|
|
5389
5401
|
actionDesc?: string | undefined;
|
|
@@ -5808,6 +5820,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
5808
5820
|
modelType?: string | undefined;
|
|
5809
5821
|
} | undefined;
|
|
5810
5822
|
sysPFPluginId?: string | undefined;
|
|
5823
|
+
priority?: number | undefined;
|
|
5811
5824
|
user2ControlAction?: {
|
|
5812
5825
|
adappDELogicId?: string | undefined;
|
|
5813
5826
|
actionDesc?: string | undefined;
|
|
@@ -5912,6 +5925,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
5912
5925
|
modelType?: string | undefined;
|
|
5913
5926
|
} | undefined;
|
|
5914
5927
|
sysPFPluginId?: string | undefined;
|
|
5928
|
+
priority?: number | undefined;
|
|
5915
5929
|
user2ControlAction?: {
|
|
5916
5930
|
adappDELogicId?: string | undefined;
|
|
5917
5931
|
actionDesc?: string | undefined;
|
|
@@ -6591,6 +6605,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
6591
6605
|
modelType?: string | undefined;
|
|
6592
6606
|
} | undefined;
|
|
6593
6607
|
sysPFPluginId?: string | undefined;
|
|
6608
|
+
priority?: number | undefined;
|
|
6594
6609
|
user2ControlAction?: {
|
|
6595
6610
|
adappDELogicId?: string | undefined;
|
|
6596
6611
|
actionDesc?: string | undefined;
|
|
@@ -6973,6 +6988,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
6973
6988
|
modelType?: string | undefined;
|
|
6974
6989
|
} | undefined;
|
|
6975
6990
|
sysPFPluginId?: string | undefined;
|
|
6991
|
+
priority?: number | undefined;
|
|
6976
6992
|
user2ControlAction?: {
|
|
6977
6993
|
adappDELogicId?: string | undefined;
|
|
6978
6994
|
actionDesc?: string | undefined;
|
|
@@ -7938,6 +7954,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
7938
7954
|
modelType?: string | undefined;
|
|
7939
7955
|
} | undefined;
|
|
7940
7956
|
sysPFPluginId?: string | undefined;
|
|
7957
|
+
priority?: number | undefined;
|
|
7941
7958
|
user2ControlAction?: {
|
|
7942
7959
|
adappDELogicId?: string | undefined;
|
|
7943
7960
|
actionDesc?: string | undefined;
|
|
@@ -8320,6 +8337,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
8320
8337
|
modelType?: string | undefined;
|
|
8321
8338
|
} | undefined;
|
|
8322
8339
|
sysPFPluginId?: string | undefined;
|
|
8340
|
+
priority?: number | undefined;
|
|
8323
8341
|
user2ControlAction?: {
|
|
8324
8342
|
adappDELogicId?: string | undefined;
|
|
8325
8343
|
actionDesc?: string | undefined;
|
|
@@ -8706,6 +8724,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
8706
8724
|
modelType?: string | undefined;
|
|
8707
8725
|
} | undefined;
|
|
8708
8726
|
sysPFPluginId?: string | undefined;
|
|
8727
|
+
priority?: number | undefined;
|
|
8709
8728
|
user2ControlAction?: {
|
|
8710
8729
|
adappDELogicId?: string | undefined;
|
|
8711
8730
|
actionDesc?: string | undefined;
|
|
@@ -9094,6 +9113,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
9094
9113
|
modelType?: string | undefined;
|
|
9095
9114
|
} | undefined;
|
|
9096
9115
|
sysPFPluginId?: string | undefined;
|
|
9116
|
+
priority?: number | undefined;
|
|
9097
9117
|
user2ControlAction?: {
|
|
9098
9118
|
adappDELogicId?: string | undefined;
|
|
9099
9119
|
actionDesc?: string | undefined;
|
|
@@ -9525,6 +9545,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
9525
9545
|
modelType?: string | undefined;
|
|
9526
9546
|
} | undefined;
|
|
9527
9547
|
sysPFPluginId?: string | undefined;
|
|
9548
|
+
priority?: number | undefined;
|
|
9528
9549
|
user2ControlAction?: {
|
|
9529
9550
|
adappDELogicId?: string | undefined;
|
|
9530
9551
|
actionDesc?: string | undefined;
|
|
@@ -9949,6 +9970,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
9949
9970
|
modelType?: string | undefined;
|
|
9950
9971
|
} | undefined;
|
|
9951
9972
|
sysPFPluginId?: string | undefined;
|
|
9973
|
+
priority?: number | undefined;
|
|
9952
9974
|
user2ControlAction?: {
|
|
9953
9975
|
adappDELogicId?: string | undefined;
|
|
9954
9976
|
actionDesc?: string | undefined;
|
|
@@ -10053,6 +10075,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
10053
10075
|
modelType?: string | undefined;
|
|
10054
10076
|
} | undefined;
|
|
10055
10077
|
sysPFPluginId?: string | undefined;
|
|
10078
|
+
priority?: number | undefined;
|
|
10056
10079
|
user2ControlAction?: {
|
|
10057
10080
|
adappDELogicId?: string | undefined;
|
|
10058
10081
|
actionDesc?: string | undefined;
|
|
@@ -10732,6 +10755,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
10732
10755
|
modelType?: string | undefined;
|
|
10733
10756
|
} | undefined;
|
|
10734
10757
|
sysPFPluginId?: string | undefined;
|
|
10758
|
+
priority?: number | undefined;
|
|
10735
10759
|
user2ControlAction?: {
|
|
10736
10760
|
adappDELogicId?: string | undefined;
|
|
10737
10761
|
actionDesc?: string | undefined;
|
|
@@ -11090,6 +11114,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
11090
11114
|
modelType?: string | undefined;
|
|
11091
11115
|
} | undefined;
|
|
11092
11116
|
sysPFPluginId?: string | undefined;
|
|
11117
|
+
priority?: number | undefined;
|
|
11093
11118
|
user2ControlAction?: {
|
|
11094
11119
|
adappDELogicId?: string | undefined;
|
|
11095
11120
|
actionDesc?: string | undefined;
|
|
@@ -11702,6 +11727,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
11702
11727
|
modelType?: string | undefined;
|
|
11703
11728
|
} | undefined;
|
|
11704
11729
|
sysPFPluginId?: string | undefined;
|
|
11730
|
+
priority?: number | undefined;
|
|
11705
11731
|
user2ControlAction?: {
|
|
11706
11732
|
adappDELogicId?: string | undefined;
|
|
11707
11733
|
actionDesc?: string | undefined;
|
|
@@ -12126,6 +12152,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
12126
12152
|
modelType?: string | undefined;
|
|
12127
12153
|
} | undefined;
|
|
12128
12154
|
sysPFPluginId?: string | undefined;
|
|
12155
|
+
priority?: number | undefined;
|
|
12129
12156
|
user2ControlAction?: {
|
|
12130
12157
|
adappDELogicId?: string | undefined;
|
|
12131
12158
|
actionDesc?: string | undefined;
|
|
@@ -12557,6 +12584,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
12557
12584
|
modelType?: string | undefined;
|
|
12558
12585
|
} | undefined;
|
|
12559
12586
|
sysPFPluginId?: string | undefined;
|
|
12587
|
+
priority?: number | undefined;
|
|
12560
12588
|
user2ControlAction?: {
|
|
12561
12589
|
adappDELogicId?: string | undefined;
|
|
12562
12590
|
actionDesc?: string | undefined;
|
|
@@ -12981,6 +13009,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
12981
13009
|
modelType?: string | undefined;
|
|
12982
13010
|
} | undefined;
|
|
12983
13011
|
sysPFPluginId?: string | undefined;
|
|
13012
|
+
priority?: number | undefined;
|
|
12984
13013
|
user2ControlAction?: {
|
|
12985
13014
|
adappDELogicId?: string | undefined;
|
|
12986
13015
|
actionDesc?: string | undefined;
|
|
@@ -13085,6 +13114,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
13085
13114
|
modelType?: string | undefined;
|
|
13086
13115
|
} | undefined;
|
|
13087
13116
|
sysPFPluginId?: string | undefined;
|
|
13117
|
+
priority?: number | undefined;
|
|
13088
13118
|
user2ControlAction?: {
|
|
13089
13119
|
adappDELogicId?: string | undefined;
|
|
13090
13120
|
actionDesc?: string | undefined;
|
|
@@ -13764,6 +13794,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
13764
13794
|
modelType?: string | undefined;
|
|
13765
13795
|
} | undefined;
|
|
13766
13796
|
sysPFPluginId?: string | undefined;
|
|
13797
|
+
priority?: number | undefined;
|
|
13767
13798
|
user2ControlAction?: {
|
|
13768
13799
|
adappDELogicId?: string | undefined;
|
|
13769
13800
|
actionDesc?: string | undefined;
|
|
@@ -14146,6 +14177,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
14146
14177
|
modelType?: string | undefined;
|
|
14147
14178
|
} | undefined;
|
|
14148
14179
|
sysPFPluginId?: string | undefined;
|
|
14180
|
+
priority?: number | undefined;
|
|
14149
14181
|
user2ControlAction?: {
|
|
14150
14182
|
adappDELogicId?: string | undefined;
|
|
14151
14183
|
actionDesc?: string | undefined;
|
|
@@ -15006,6 +15038,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
15006
15038
|
modelType?: string | undefined;
|
|
15007
15039
|
} | undefined;
|
|
15008
15040
|
sysPFPluginId?: string | undefined;
|
|
15041
|
+
priority?: number | undefined;
|
|
15009
15042
|
user2ControlAction?: {
|
|
15010
15043
|
adappDELogicId?: string | undefined;
|
|
15011
15044
|
actionDesc?: string | undefined;
|
|
@@ -15430,6 +15463,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
15430
15463
|
modelType?: string | undefined;
|
|
15431
15464
|
} | undefined;
|
|
15432
15465
|
sysPFPluginId?: string | undefined;
|
|
15466
|
+
priority?: number | undefined;
|
|
15433
15467
|
user2ControlAction?: {
|
|
15434
15468
|
adappDELogicId?: string | undefined;
|
|
15435
15469
|
actionDesc?: string | undefined;
|
|
@@ -16011,6 +16045,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
16011
16045
|
modelType?: string | undefined;
|
|
16012
16046
|
} | undefined;
|
|
16013
16047
|
sysPFPluginId?: string | undefined;
|
|
16048
|
+
priority?: number | undefined;
|
|
16014
16049
|
user2ControlAction?: {
|
|
16015
16050
|
adappDELogicId?: string | undefined;
|
|
16016
16051
|
actionDesc?: string | undefined;
|
|
@@ -16435,6 +16470,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
16435
16470
|
modelType?: string | undefined;
|
|
16436
16471
|
} | undefined;
|
|
16437
16472
|
sysPFPluginId?: string | undefined;
|
|
16473
|
+
priority?: number | undefined;
|
|
16438
16474
|
user2ControlAction?: {
|
|
16439
16475
|
adappDELogicId?: string | undefined;
|
|
16440
16476
|
actionDesc?: string | undefined;
|
|
@@ -16873,6 +16909,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
16873
16909
|
modelType?: string | undefined;
|
|
16874
16910
|
} | undefined;
|
|
16875
16911
|
sysPFPluginId?: string | undefined;
|
|
16912
|
+
priority?: number | undefined;
|
|
16876
16913
|
user2ControlAction?: {
|
|
16877
16914
|
adappDELogicId?: string | undefined;
|
|
16878
16915
|
actionDesc?: string | undefined;
|
|
@@ -17297,6 +17334,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
17297
17334
|
modelType?: string | undefined;
|
|
17298
17335
|
} | undefined;
|
|
17299
17336
|
sysPFPluginId?: string | undefined;
|
|
17337
|
+
priority?: number | undefined;
|
|
17300
17338
|
user2ControlAction?: {
|
|
17301
17339
|
adappDELogicId?: string | undefined;
|
|
17302
17340
|
actionDesc?: string | undefined;
|
|
@@ -17401,6 +17439,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
17401
17439
|
modelType?: string | undefined;
|
|
17402
17440
|
} | undefined;
|
|
17403
17441
|
sysPFPluginId?: string | undefined;
|
|
17442
|
+
priority?: number | undefined;
|
|
17404
17443
|
user2ControlAction?: {
|
|
17405
17444
|
adappDELogicId?: string | undefined;
|
|
17406
17445
|
actionDesc?: string | undefined;
|
|
@@ -18090,6 +18129,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
18090
18129
|
modelType?: string | undefined;
|
|
18091
18130
|
} | undefined;
|
|
18092
18131
|
sysPFPluginId?: string | undefined;
|
|
18132
|
+
priority?: number | undefined;
|
|
18093
18133
|
user2ControlAction?: {
|
|
18094
18134
|
adappDELogicId?: string | undefined;
|
|
18095
18135
|
actionDesc?: string | undefined;
|
|
@@ -18472,6 +18512,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
18472
18512
|
modelType?: string | undefined;
|
|
18473
18513
|
} | undefined;
|
|
18474
18514
|
sysPFPluginId?: string | undefined;
|
|
18515
|
+
priority?: number | undefined;
|
|
18475
18516
|
user2ControlAction?: {
|
|
18476
18517
|
adappDELogicId?: string | undefined;
|
|
18477
18518
|
actionDesc?: string | undefined;
|
|
@@ -15,6 +15,7 @@ export declare const FormMDCtrl: import("vue").DefineComponent<{
|
|
|
15
15
|
c: FormMDCtrlController;
|
|
16
16
|
ns: import("@ibiz-template/core").Namespace;
|
|
17
17
|
hasCaption: boolean | undefined;
|
|
18
|
+
hasHeader: true | import("@ibiz/model-core").IUIActionGroup | undefined;
|
|
18
19
|
onActionClick: (detail: IUIActionGroupDetail, event: MouseEvent) => Promise<void>;
|
|
19
20
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
21
|
modelData: {
|
|
@@ -21,6 +21,7 @@ const FormMDCtrl = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
useController(props.controller);
|
|
22
22
|
const c = props.controller;
|
|
23
23
|
const hasCaption = c.model.showCaption && !!c.model.caption;
|
|
24
|
+
const hasHeader = hasCaption || c.model.uiactionGroup;
|
|
24
25
|
const onActionClick = async (detail, event) => {
|
|
25
26
|
await props.controller.onActionClick(detail, event);
|
|
26
27
|
};
|
|
@@ -28,6 +29,7 @@ const FormMDCtrl = /* @__PURE__ */ defineComponent({
|
|
|
28
29
|
c,
|
|
29
30
|
ns,
|
|
30
31
|
hasCaption,
|
|
32
|
+
hasHeader,
|
|
31
33
|
onActionClick
|
|
32
34
|
};
|
|
33
35
|
},
|
|
@@ -60,7 +62,7 @@ const FormMDCtrl = /* @__PURE__ */ defineComponent({
|
|
|
60
62
|
}
|
|
61
63
|
return createVNode("div", {
|
|
62
64
|
"class": [this.ns.b(), this.ns.m(this.modelData.codeName), ...this.controller.containerClass, this.hasCaption ? this.ns.m("show-caption") : ""]
|
|
63
|
-
}, [createVNode("div", {
|
|
65
|
+
}, [this.hasHeader && createVNode("div", {
|
|
64
66
|
"class": this.ns.b("header")
|
|
65
67
|
}, [createVNode("div", {
|
|
66
68
|
"class": this.ns.e("title")
|