@ibiz-template/vue3-components 0.7.6 → 0.7.7
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-Rqr5SnvQ.js +1 -0
- package/dist/index-ntRuv0hC.js +4 -0
- package/dist/index-x-jLCilD.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-0uYWEddj.js +1 -0
- package/dist/{xlsx-util-QjtIWX97.js → xlsx-util-2u3vZn2l.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.d.ts +3 -0
- package/es/common/action-toolbar/action-toolbar.mjs +13 -3
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +5 -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 +45 -0
- package/es/control/toolbar/toolbar.mjs +14 -8
- package/es/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/es/editor/code/monaco-editor/monaco-editor.d.ts +7 -0
- package/es/editor/code/monaco-editor/monaco-editor.mjs +179 -16
- package/es/editor/html/wang-editor/wang-editor.mjs +7 -3
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -0
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +10 -3
- package/es/editor/text-box/input/input.d.ts +1 -0
- package/es/editor/text-box/input/input.mjs +9 -2
- package/es/ibiz-vue3.mjs +2 -0
- package/es/index.mjs +1 -0
- package/es/locale/en/index.d.ts +9 -1
- package/es/locale/en/index.mjs +10 -2
- package/es/locale/zh-CN/index.d.ts +9 -1
- package/es/locale/zh-CN/index.mjs +10 -2
- package/es/util/open-view-util/open-view-util.mjs +2 -3
- package/es/view/403-view/403-view.css +1 -0
- package/es/view/403-view/403-view.d.ts +6 -0
- package/es/view/403-view/403-view.mjs +45 -0
- package/es/view/404-view/404-view.mjs +2 -2
- package/es/view/index.d.ts +1 -0
- package/es/view/index.mjs +1 -0
- package/es/web-app/components/modal-router-shell/modal-router-shell.mjs +5 -2
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.d.ts +1 -1
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.mjs +3 -12
- package/lib/common/action-toolbar/action-toolbar.cjs +13 -3
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +4 -0
- package/lib/control/toolbar/toolbar.cjs +14 -8
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +178 -15
- package/lib/editor/code/monaco-editor/monaco-editor.css +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +6 -2
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +10 -3
- package/lib/editor/text-box/input/input.cjs +9 -2
- package/lib/ibiz-vue3.cjs +2 -0
- package/lib/index.cjs +2 -0
- package/lib/locale/en/index.cjs +10 -2
- package/lib/locale/zh-CN/index.cjs +10 -2
- package/lib/util/open-view-util/open-view-util.cjs +2 -3
- package/lib/view/403-view/403-view.cjs +47 -0
- package/lib/view/403-view/403-view.css +1 -0
- package/lib/view/404-view/404-view.cjs +2 -2
- package/lib/view/index.cjs +2 -0
- package/lib/web-app/components/modal-router-shell/modal-router-shell.cjs +4 -1
- package/lib/web-app/util/unauthorized-handler/unauthorized-handler.cjs +3 -12
- package/package.json +7 -7
- package/dist/index-13Oh42A8.js +0 -1
- package/dist/index-ZIuDbCjc.js +0 -1
- package/dist/index-rHXmoO9Y.js +0 -4
- package/dist/wang-editor-Zc_Y0dGt.js +0 -1
|
@@ -37,8 +37,10 @@ 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;
|
|
43
|
+
dropdownRef: Ref<any>;
|
|
42
44
|
popoverIndex: number;
|
|
43
45
|
expandDetails: Ref<IAppDEUIActionGroupDetail[]>;
|
|
44
46
|
groupDetails: Ref<IAppDEUIActionGroupDetail[]>;
|
|
@@ -81,6 +83,7 @@ export declare const IBizActionToolbar: import("vue").DefineComponent<{
|
|
|
81
83
|
type: NumberConstructor;
|
|
82
84
|
required: true;
|
|
83
85
|
};
|
|
86
|
+
popperClass: StringConstructor;
|
|
84
87
|
}>>, {
|
|
85
88
|
mode: "dropdown" | "buttons";
|
|
86
89
|
groupLevelKeys: number[];
|
|
@@ -31,12 +31,15 @@ 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
|
|
38
39
|
}) {
|
|
39
40
|
const ns = useNamespace("action-toolbar");
|
|
41
|
+
const dropdownRef = ref();
|
|
42
|
+
const popoverVisible = ref(false);
|
|
40
43
|
props.actionDetails.forEach((detail) => {
|
|
41
44
|
if (detail.capLanguageRes && detail.capLanguageRes.lanResTag) {
|
|
42
45
|
detail.caption = ibiz.i18n.t(detail.capLanguageRes.lanResTag, detail.caption);
|
|
@@ -47,6 +50,11 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
|
|
|
47
50
|
});
|
|
48
51
|
const handleClick = async (detail, e) => {
|
|
49
52
|
e.stopPropagation();
|
|
53
|
+
if (props.mode === "buttons") {
|
|
54
|
+
popoverVisible.value = false;
|
|
55
|
+
} else if (dropdownRef.value) {
|
|
56
|
+
dropdownRef.value.handleClose();
|
|
57
|
+
}
|
|
50
58
|
emit("action-click", detail, e);
|
|
51
59
|
};
|
|
52
60
|
const expandDetails = ref([]);
|
|
@@ -61,7 +69,6 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
|
|
|
61
69
|
});
|
|
62
70
|
}
|
|
63
71
|
const groupButtonRef = ref();
|
|
64
|
-
const popoverVisible = ref(false);
|
|
65
72
|
const calcActionItemClass = (item) => {
|
|
66
73
|
const {
|
|
67
74
|
actionLevel
|
|
@@ -71,6 +78,7 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
|
|
|
71
78
|
const popoverIndex = props.zIndex;
|
|
72
79
|
return {
|
|
73
80
|
ns,
|
|
81
|
+
dropdownRef,
|
|
74
82
|
popoverIndex,
|
|
75
83
|
expandDetails,
|
|
76
84
|
groupDetails,
|
|
@@ -142,8 +150,10 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
|
|
|
142
150
|
})]]);
|
|
143
151
|
}
|
|
144
152
|
return createVNode(resolveComponent("el-dropdown"), {
|
|
153
|
+
"ref": "dropdownRef",
|
|
145
154
|
"onCommand": (command) => this.handleClick(command, new MouseEvent("click")),
|
|
146
|
-
"class": [this.ns.b(), this.ns.m("dropdown")]
|
|
155
|
+
"class": [this.ns.b(), this.ns.m("dropdown")],
|
|
156
|
+
"popper-class": this.popperClass
|
|
147
157
|
}, {
|
|
148
158
|
default: () => createVNode("span", {
|
|
149
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;
|
|
@@ -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",
|
|
@@ -72,6 +72,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
72
72
|
};
|
|
73
73
|
dismiss: (data?: import("@ibiz-template/runtime").IModalData | undefined) => Promise<boolean>;
|
|
74
74
|
};
|
|
75
|
+
error: IData;
|
|
75
76
|
slotProps: {
|
|
76
77
|
[key: string]: IData;
|
|
77
78
|
};
|
|
@@ -573,6 +574,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
573
574
|
modelType?: string | undefined;
|
|
574
575
|
} | undefined;
|
|
575
576
|
sysPFPluginId?: string | undefined;
|
|
577
|
+
priority?: number | undefined;
|
|
576
578
|
user2ControlAction?: {
|
|
577
579
|
adappDELogicId?: string | undefined;
|
|
578
580
|
actionDesc?: string | undefined;
|
|
@@ -997,6 +999,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
997
999
|
modelType?: string | undefined;
|
|
998
1000
|
} | undefined;
|
|
999
1001
|
sysPFPluginId?: string | undefined;
|
|
1002
|
+
priority?: number | undefined;
|
|
1000
1003
|
user2ControlAction?: {
|
|
1001
1004
|
adappDELogicId?: string | undefined;
|
|
1002
1005
|
actionDesc?: string | undefined;
|
|
@@ -1428,6 +1431,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
1428
1431
|
modelType?: string | undefined;
|
|
1429
1432
|
} | undefined;
|
|
1430
1433
|
sysPFPluginId?: string | undefined;
|
|
1434
|
+
priority?: number | undefined;
|
|
1431
1435
|
user2ControlAction?: {
|
|
1432
1436
|
adappDELogicId?: string | undefined;
|
|
1433
1437
|
actionDesc?: string | undefined;
|
|
@@ -1852,6 +1856,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
1852
1856
|
modelType?: string | undefined;
|
|
1853
1857
|
} | undefined;
|
|
1854
1858
|
sysPFPluginId?: string | undefined;
|
|
1859
|
+
priority?: number | undefined;
|
|
1855
1860
|
user2ControlAction?: {
|
|
1856
1861
|
adappDELogicId?: string | undefined;
|
|
1857
1862
|
actionDesc?: string | undefined;
|
|
@@ -1956,6 +1961,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
1956
1961
|
modelType?: string | undefined;
|
|
1957
1962
|
} | undefined;
|
|
1958
1963
|
sysPFPluginId?: string | undefined;
|
|
1964
|
+
priority?: number | undefined;
|
|
1959
1965
|
user2ControlAction?: {
|
|
1960
1966
|
adappDELogicId?: string | undefined;
|
|
1961
1967
|
actionDesc?: string | undefined;
|
|
@@ -2635,6 +2641,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
2635
2641
|
modelType?: string | undefined;
|
|
2636
2642
|
} | undefined;
|
|
2637
2643
|
sysPFPluginId?: string | undefined;
|
|
2644
|
+
priority?: number | undefined;
|
|
2638
2645
|
user2ControlAction?: {
|
|
2639
2646
|
adappDELogicId?: string | undefined;
|
|
2640
2647
|
actionDesc?: string | undefined;
|
|
@@ -3017,6 +3024,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
3017
3024
|
modelType?: string | undefined;
|
|
3018
3025
|
} | undefined;
|
|
3019
3026
|
sysPFPluginId?: string | undefined;
|
|
3027
|
+
priority?: number | undefined;
|
|
3020
3028
|
user2ControlAction?: {
|
|
3021
3029
|
adappDELogicId?: string | undefined;
|
|
3022
3030
|
actionDesc?: string | undefined;
|
|
@@ -3099,6 +3107,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
3099
3107
|
readonly id: string;
|
|
3100
3108
|
state: {
|
|
3101
3109
|
activated: boolean;
|
|
3110
|
+
hasError: boolean;
|
|
3102
3111
|
caption: string;
|
|
3103
3112
|
isLoading: boolean;
|
|
3104
3113
|
noLoadDefault: boolean;
|
|
@@ -3759,6 +3768,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
3759
3768
|
modelType?: string | undefined;
|
|
3760
3769
|
} | undefined;
|
|
3761
3770
|
sysPFPluginId?: string | undefined;
|
|
3771
|
+
priority?: number | undefined;
|
|
3762
3772
|
user2ControlAction?: {
|
|
3763
3773
|
adappDELogicId?: string | undefined;
|
|
3764
3774
|
actionDesc?: string | undefined;
|
|
@@ -4141,6 +4151,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
4141
4151
|
modelType?: string | undefined;
|
|
4142
4152
|
} | undefined;
|
|
4143
4153
|
sysPFPluginId?: string | undefined;
|
|
4154
|
+
priority?: number | undefined;
|
|
4144
4155
|
user2ControlAction?: {
|
|
4145
4156
|
adappDELogicId?: string | undefined;
|
|
4146
4157
|
actionDesc?: string | undefined;
|
|
@@ -4527,6 +4538,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
4527
4538
|
modelType?: string | undefined;
|
|
4528
4539
|
} | undefined;
|
|
4529
4540
|
sysPFPluginId?: string | undefined;
|
|
4541
|
+
priority?: number | undefined;
|
|
4530
4542
|
user2ControlAction?: {
|
|
4531
4543
|
adappDELogicId?: string | undefined;
|
|
4532
4544
|
actionDesc?: string | undefined;
|
|
@@ -4951,6 +4963,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
4951
4963
|
modelType?: string | undefined;
|
|
4952
4964
|
} | undefined;
|
|
4953
4965
|
sysPFPluginId?: string | undefined;
|
|
4966
|
+
priority?: number | undefined;
|
|
4954
4967
|
user2ControlAction?: {
|
|
4955
4968
|
adappDELogicId?: string | undefined;
|
|
4956
4969
|
actionDesc?: string | undefined;
|
|
@@ -5382,6 +5395,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
5382
5395
|
modelType?: string | undefined;
|
|
5383
5396
|
} | undefined;
|
|
5384
5397
|
sysPFPluginId?: string | undefined;
|
|
5398
|
+
priority?: number | undefined;
|
|
5385
5399
|
user2ControlAction?: {
|
|
5386
5400
|
adappDELogicId?: string | undefined;
|
|
5387
5401
|
actionDesc?: string | undefined;
|
|
@@ -5806,6 +5820,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
5806
5820
|
modelType?: string | undefined;
|
|
5807
5821
|
} | undefined;
|
|
5808
5822
|
sysPFPluginId?: string | undefined;
|
|
5823
|
+
priority?: number | undefined;
|
|
5809
5824
|
user2ControlAction?: {
|
|
5810
5825
|
adappDELogicId?: string | undefined;
|
|
5811
5826
|
actionDesc?: string | undefined;
|
|
@@ -5910,6 +5925,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
5910
5925
|
modelType?: string | undefined;
|
|
5911
5926
|
} | undefined;
|
|
5912
5927
|
sysPFPluginId?: string | undefined;
|
|
5928
|
+
priority?: number | undefined;
|
|
5913
5929
|
user2ControlAction?: {
|
|
5914
5930
|
adappDELogicId?: string | undefined;
|
|
5915
5931
|
actionDesc?: string | undefined;
|
|
@@ -6589,6 +6605,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
6589
6605
|
modelType?: string | undefined;
|
|
6590
6606
|
} | undefined;
|
|
6591
6607
|
sysPFPluginId?: string | undefined;
|
|
6608
|
+
priority?: number | undefined;
|
|
6592
6609
|
user2ControlAction?: {
|
|
6593
6610
|
adappDELogicId?: string | undefined;
|
|
6594
6611
|
actionDesc?: string | undefined;
|
|
@@ -6971,6 +6988,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
6971
6988
|
modelType?: string | undefined;
|
|
6972
6989
|
} | undefined;
|
|
6973
6990
|
sysPFPluginId?: string | undefined;
|
|
6991
|
+
priority?: number | undefined;
|
|
6974
6992
|
user2ControlAction?: {
|
|
6975
6993
|
adappDELogicId?: string | undefined;
|
|
6976
6994
|
actionDesc?: string | undefined;
|
|
@@ -7244,6 +7262,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
7244
7262
|
};
|
|
7245
7263
|
dismiss: (data?: import("@ibiz-template/runtime").IModalData | undefined) => Promise<boolean>;
|
|
7246
7264
|
};
|
|
7265
|
+
error: IData;
|
|
7247
7266
|
slotProps: {
|
|
7248
7267
|
[key: string]: IData;
|
|
7249
7268
|
};
|
|
@@ -7274,6 +7293,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
7274
7293
|
readonly id: string;
|
|
7275
7294
|
state: {
|
|
7276
7295
|
activated: boolean;
|
|
7296
|
+
hasError: boolean;
|
|
7277
7297
|
caption: string;
|
|
7278
7298
|
isLoading: boolean;
|
|
7279
7299
|
noLoadDefault: boolean;
|
|
@@ -7934,6 +7954,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
7934
7954
|
modelType?: string | undefined;
|
|
7935
7955
|
} | undefined;
|
|
7936
7956
|
sysPFPluginId?: string | undefined;
|
|
7957
|
+
priority?: number | undefined;
|
|
7937
7958
|
user2ControlAction?: {
|
|
7938
7959
|
adappDELogicId?: string | undefined;
|
|
7939
7960
|
actionDesc?: string | undefined;
|
|
@@ -8316,6 +8337,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
8316
8337
|
modelType?: string | undefined;
|
|
8317
8338
|
} | undefined;
|
|
8318
8339
|
sysPFPluginId?: string | undefined;
|
|
8340
|
+
priority?: number | undefined;
|
|
8319
8341
|
user2ControlAction?: {
|
|
8320
8342
|
adappDELogicId?: string | undefined;
|
|
8321
8343
|
actionDesc?: string | undefined;
|
|
@@ -8702,6 +8724,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
8702
8724
|
modelType?: string | undefined;
|
|
8703
8725
|
} | undefined;
|
|
8704
8726
|
sysPFPluginId?: string | undefined;
|
|
8727
|
+
priority?: number | undefined;
|
|
8705
8728
|
user2ControlAction?: {
|
|
8706
8729
|
adappDELogicId?: string | undefined;
|
|
8707
8730
|
actionDesc?: string | undefined;
|
|
@@ -9090,6 +9113,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
9090
9113
|
modelType?: string | undefined;
|
|
9091
9114
|
} | undefined;
|
|
9092
9115
|
sysPFPluginId?: string | undefined;
|
|
9116
|
+
priority?: number | undefined;
|
|
9093
9117
|
user2ControlAction?: {
|
|
9094
9118
|
adappDELogicId?: string | undefined;
|
|
9095
9119
|
actionDesc?: string | undefined;
|
|
@@ -9521,6 +9545,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
9521
9545
|
modelType?: string | undefined;
|
|
9522
9546
|
} | undefined;
|
|
9523
9547
|
sysPFPluginId?: string | undefined;
|
|
9548
|
+
priority?: number | undefined;
|
|
9524
9549
|
user2ControlAction?: {
|
|
9525
9550
|
adappDELogicId?: string | undefined;
|
|
9526
9551
|
actionDesc?: string | undefined;
|
|
@@ -9945,6 +9970,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
9945
9970
|
modelType?: string | undefined;
|
|
9946
9971
|
} | undefined;
|
|
9947
9972
|
sysPFPluginId?: string | undefined;
|
|
9973
|
+
priority?: number | undefined;
|
|
9948
9974
|
user2ControlAction?: {
|
|
9949
9975
|
adappDELogicId?: string | undefined;
|
|
9950
9976
|
actionDesc?: string | undefined;
|
|
@@ -10049,6 +10075,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
10049
10075
|
modelType?: string | undefined;
|
|
10050
10076
|
} | undefined;
|
|
10051
10077
|
sysPFPluginId?: string | undefined;
|
|
10078
|
+
priority?: number | undefined;
|
|
10052
10079
|
user2ControlAction?: {
|
|
10053
10080
|
adappDELogicId?: string | undefined;
|
|
10054
10081
|
actionDesc?: string | undefined;
|
|
@@ -10728,6 +10755,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
10728
10755
|
modelType?: string | undefined;
|
|
10729
10756
|
} | undefined;
|
|
10730
10757
|
sysPFPluginId?: string | undefined;
|
|
10758
|
+
priority?: number | undefined;
|
|
10731
10759
|
user2ControlAction?: {
|
|
10732
10760
|
adappDELogicId?: string | undefined;
|
|
10733
10761
|
actionDesc?: string | undefined;
|
|
@@ -11086,6 +11114,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
11086
11114
|
modelType?: string | undefined;
|
|
11087
11115
|
} | undefined;
|
|
11088
11116
|
sysPFPluginId?: string | undefined;
|
|
11117
|
+
priority?: number | undefined;
|
|
11089
11118
|
user2ControlAction?: {
|
|
11090
11119
|
adappDELogicId?: string | undefined;
|
|
11091
11120
|
actionDesc?: string | undefined;
|
|
@@ -11698,6 +11727,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
11698
11727
|
modelType?: string | undefined;
|
|
11699
11728
|
} | undefined;
|
|
11700
11729
|
sysPFPluginId?: string | undefined;
|
|
11730
|
+
priority?: number | undefined;
|
|
11701
11731
|
user2ControlAction?: {
|
|
11702
11732
|
adappDELogicId?: string | undefined;
|
|
11703
11733
|
actionDesc?: string | undefined;
|
|
@@ -12122,6 +12152,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
12122
12152
|
modelType?: string | undefined;
|
|
12123
12153
|
} | undefined;
|
|
12124
12154
|
sysPFPluginId?: string | undefined;
|
|
12155
|
+
priority?: number | undefined;
|
|
12125
12156
|
user2ControlAction?: {
|
|
12126
12157
|
adappDELogicId?: string | undefined;
|
|
12127
12158
|
actionDesc?: string | undefined;
|
|
@@ -12553,6 +12584,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
12553
12584
|
modelType?: string | undefined;
|
|
12554
12585
|
} | undefined;
|
|
12555
12586
|
sysPFPluginId?: string | undefined;
|
|
12587
|
+
priority?: number | undefined;
|
|
12556
12588
|
user2ControlAction?: {
|
|
12557
12589
|
adappDELogicId?: string | undefined;
|
|
12558
12590
|
actionDesc?: string | undefined;
|
|
@@ -12977,6 +13009,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
12977
13009
|
modelType?: string | undefined;
|
|
12978
13010
|
} | undefined;
|
|
12979
13011
|
sysPFPluginId?: string | undefined;
|
|
13012
|
+
priority?: number | undefined;
|
|
12980
13013
|
user2ControlAction?: {
|
|
12981
13014
|
adappDELogicId?: string | undefined;
|
|
12982
13015
|
actionDesc?: string | undefined;
|
|
@@ -13081,6 +13114,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
13081
13114
|
modelType?: string | undefined;
|
|
13082
13115
|
} | undefined;
|
|
13083
13116
|
sysPFPluginId?: string | undefined;
|
|
13117
|
+
priority?: number | undefined;
|
|
13084
13118
|
user2ControlAction?: {
|
|
13085
13119
|
adappDELogicId?: string | undefined;
|
|
13086
13120
|
actionDesc?: string | undefined;
|
|
@@ -13760,6 +13794,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
13760
13794
|
modelType?: string | undefined;
|
|
13761
13795
|
} | undefined;
|
|
13762
13796
|
sysPFPluginId?: string | undefined;
|
|
13797
|
+
priority?: number | undefined;
|
|
13763
13798
|
user2ControlAction?: {
|
|
13764
13799
|
adappDELogicId?: string | undefined;
|
|
13765
13800
|
actionDesc?: string | undefined;
|
|
@@ -14142,6 +14177,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
14142
14177
|
modelType?: string | undefined;
|
|
14143
14178
|
} | undefined;
|
|
14144
14179
|
sysPFPluginId?: string | undefined;
|
|
14180
|
+
priority?: number | undefined;
|
|
14145
14181
|
user2ControlAction?: {
|
|
14146
14182
|
adappDELogicId?: string | undefined;
|
|
14147
14183
|
actionDesc?: string | undefined;
|
|
@@ -15002,6 +15038,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
15002
15038
|
modelType?: string | undefined;
|
|
15003
15039
|
} | undefined;
|
|
15004
15040
|
sysPFPluginId?: string | undefined;
|
|
15041
|
+
priority?: number | undefined;
|
|
15005
15042
|
user2ControlAction?: {
|
|
15006
15043
|
adappDELogicId?: string | undefined;
|
|
15007
15044
|
actionDesc?: string | undefined;
|
|
@@ -15426,6 +15463,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
15426
15463
|
modelType?: string | undefined;
|
|
15427
15464
|
} | undefined;
|
|
15428
15465
|
sysPFPluginId?: string | undefined;
|
|
15466
|
+
priority?: number | undefined;
|
|
15429
15467
|
user2ControlAction?: {
|
|
15430
15468
|
adappDELogicId?: string | undefined;
|
|
15431
15469
|
actionDesc?: string | undefined;
|
|
@@ -16007,6 +16045,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
16007
16045
|
modelType?: string | undefined;
|
|
16008
16046
|
} | undefined;
|
|
16009
16047
|
sysPFPluginId?: string | undefined;
|
|
16048
|
+
priority?: number | undefined;
|
|
16010
16049
|
user2ControlAction?: {
|
|
16011
16050
|
adappDELogicId?: string | undefined;
|
|
16012
16051
|
actionDesc?: string | undefined;
|
|
@@ -16431,6 +16470,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
16431
16470
|
modelType?: string | undefined;
|
|
16432
16471
|
} | undefined;
|
|
16433
16472
|
sysPFPluginId?: string | undefined;
|
|
16473
|
+
priority?: number | undefined;
|
|
16434
16474
|
user2ControlAction?: {
|
|
16435
16475
|
adappDELogicId?: string | undefined;
|
|
16436
16476
|
actionDesc?: string | undefined;
|
|
@@ -16869,6 +16909,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
16869
16909
|
modelType?: string | undefined;
|
|
16870
16910
|
} | undefined;
|
|
16871
16911
|
sysPFPluginId?: string | undefined;
|
|
16912
|
+
priority?: number | undefined;
|
|
16872
16913
|
user2ControlAction?: {
|
|
16873
16914
|
adappDELogicId?: string | undefined;
|
|
16874
16915
|
actionDesc?: string | undefined;
|
|
@@ -17293,6 +17334,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
17293
17334
|
modelType?: string | undefined;
|
|
17294
17335
|
} | undefined;
|
|
17295
17336
|
sysPFPluginId?: string | undefined;
|
|
17337
|
+
priority?: number | undefined;
|
|
17296
17338
|
user2ControlAction?: {
|
|
17297
17339
|
adappDELogicId?: string | undefined;
|
|
17298
17340
|
actionDesc?: string | undefined;
|
|
@@ -17397,6 +17439,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
17397
17439
|
modelType?: string | undefined;
|
|
17398
17440
|
} | undefined;
|
|
17399
17441
|
sysPFPluginId?: string | undefined;
|
|
17442
|
+
priority?: number | undefined;
|
|
17400
17443
|
user2ControlAction?: {
|
|
17401
17444
|
adappDELogicId?: string | undefined;
|
|
17402
17445
|
actionDesc?: string | undefined;
|
|
@@ -18086,6 +18129,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
18086
18129
|
modelType?: string | undefined;
|
|
18087
18130
|
} | undefined;
|
|
18088
18131
|
sysPFPluginId?: string | undefined;
|
|
18132
|
+
priority?: number | undefined;
|
|
18089
18133
|
user2ControlAction?: {
|
|
18090
18134
|
adappDELogicId?: string | undefined;
|
|
18091
18135
|
actionDesc?: string | undefined;
|
|
@@ -18468,6 +18512,7 @@ export declare const RepeaterGrid: import("vue").DefineComponent<{
|
|
|
18468
18512
|
modelType?: string | undefined;
|
|
18469
18513
|
} | undefined;
|
|
18470
18514
|
sysPFPluginId?: string | undefined;
|
|
18515
|
+
priority?: number | undefined;
|
|
18471
18516
|
user2ControlAction?: {
|
|
18472
18517
|
adappDELogicId?: string | undefined;
|
|
18473
18518
|
actionDesc?: string | undefined;
|
|
@@ -26,6 +26,10 @@ const btnContent = (item) => {
|
|
|
26
26
|
}
|
|
27
27
|
return result;
|
|
28
28
|
};
|
|
29
|
+
const calcCssName = (item) => {
|
|
30
|
+
var _a;
|
|
31
|
+
return (_a = item == null ? void 0 : item.sysCss) == null ? void 0 : _a.cssName;
|
|
32
|
+
};
|
|
29
33
|
const ToolbarControl = /* @__PURE__ */ defineComponent({
|
|
30
34
|
name: "IBizToolbarControl",
|
|
31
35
|
props: {
|
|
@@ -76,15 +80,16 @@ const ToolbarControl = /* @__PURE__ */ defineComponent({
|
|
|
76
80
|
const renderSubmenu = (item) => {
|
|
77
81
|
const detoolbarItems = item.detoolbarItems || [];
|
|
78
82
|
const loading = detoolbarItems.findIndex((item2) => c.state.buttonsState[item2.id].loading) !== -1;
|
|
83
|
+
const groupButtonStyle = item.buttonStyle || "";
|
|
79
84
|
return createVNode(resolveComponent("el-sub-menu"), {
|
|
80
|
-
"class": ns.b("submenu"),
|
|
85
|
+
"class": [ns.b("submenu"), ns.em("item", groupButtonStyle.toLowerCase()), calcCssName(item)],
|
|
81
86
|
"index": item.id,
|
|
82
87
|
"title": item.tooltip,
|
|
83
|
-
"popper-class": [ns.b("submenu-popper"), ns.bm("submenu-popper", toolbarStyle)]
|
|
88
|
+
"popper-class": [ns.b("submenu-popper"), ns.bm("submenu-popper", toolbarStyle), ns.em("submenu-popper", groupButtonStyle.toLowerCase()), ns.bm("submenu-popper", calcCssName(item))]
|
|
84
89
|
}, {
|
|
85
90
|
default: () => {
|
|
86
91
|
return detoolbarItems.map((item2) => {
|
|
87
|
-
var _a2;
|
|
92
|
+
var _a2, _b;
|
|
88
93
|
const actionId = item2.uiactionId;
|
|
89
94
|
const visible = (_a2 = c.state.buttonsState[item2.id]) == null ? void 0 : _a2.visible;
|
|
90
95
|
if (!visible) {
|
|
@@ -106,9 +111,10 @@ const ToolbarControl = /* @__PURE__ */ defineComponent({
|
|
|
106
111
|
}
|
|
107
112
|
if (item2.itemType === "DEUIACTION") {
|
|
108
113
|
let _slot2;
|
|
114
|
+
const buttonType = (_b = item2.buttonStyle) == null ? void 0 : _b.toLowerCase();
|
|
109
115
|
if (actionId === "exportexcel") {
|
|
110
116
|
return createVNode(IBizExportExcel, {
|
|
111
|
-
"class": [ns.e("menu-exportexcel")],
|
|
117
|
+
"class": [ns.e("menu-exportexcel"), ns.em("item", buttonType), calcCssName(item2)],
|
|
112
118
|
"mode": "menu",
|
|
113
119
|
"item": item2,
|
|
114
120
|
"btnContent": btnContent,
|
|
@@ -120,7 +126,7 @@ const ToolbarControl = /* @__PURE__ */ defineComponent({
|
|
|
120
126
|
}, null);
|
|
121
127
|
}
|
|
122
128
|
return createVNode(resolveComponent("el-menu-item"), {
|
|
123
|
-
"class": [ns.is("loading", c.state.buttonsState[item2.id].loading)],
|
|
129
|
+
"class": [ns.is("loading", c.state.buttonsState[item2.id].loading), ns.em("item", buttonType), calcCssName(item2)],
|
|
124
130
|
"index": "menuitem".concat(item2.id),
|
|
125
131
|
"disabled": c.state.buttonsState[item2.id].disabled,
|
|
126
132
|
"title": item2.tooltip,
|
|
@@ -173,9 +179,10 @@ const ToolbarControl = /* @__PURE__ */ defineComponent({
|
|
|
173
179
|
if (item.itemType === "DEUIACTION") {
|
|
174
180
|
let _slot4;
|
|
175
181
|
const actionId = item.uiactionId;
|
|
182
|
+
const buttonType = (_b = item.buttonStyle) == null ? void 0 : _b.toLowerCase();
|
|
176
183
|
if (actionId === "exportexcel") {
|
|
177
184
|
return createVNode(IBizExportExcel, {
|
|
178
|
-
"class": [ns.e("item"), ns.e("item-deuiaction")],
|
|
185
|
+
"class": [ns.e("item"), ns.e("item-deuiaction"), ns.em("item", buttonType), calcCssName(item)],
|
|
179
186
|
"item": item,
|
|
180
187
|
"btnContent": btnContent,
|
|
181
188
|
"size": btnSize.value,
|
|
@@ -185,10 +192,9 @@ const ToolbarControl = /* @__PURE__ */ defineComponent({
|
|
|
185
192
|
}
|
|
186
193
|
}, null);
|
|
187
194
|
}
|
|
188
|
-
const buttonType = (_b = item.buttonStyle) == null ? void 0 : _b.toLowerCase();
|
|
189
195
|
return createVNode("div", {
|
|
190
196
|
"key": itemId,
|
|
191
|
-
"class": [ns.e("item"), ns.e("item-deuiaction"), ns.em("item", buttonType), ns.is("loading", c.state.buttonsState[itemId].loading)]
|
|
197
|
+
"class": [ns.e("item"), ns.e("item-deuiaction"), ns.em("item", buttonType), calcCssName(item), ns.is("loading", c.state.buttonsState[itemId].loading)]
|
|
192
198
|
}, [createVNode(resolveComponent("el-button"), {
|
|
193
199
|
"title": item.tooltip,
|
|
194
200
|
"size": btnSize.value,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-code{display:
|
|
1
|
+
.ibiz-code{display:flex;flex-direction:column;width:100%;height:100%}.ibiz-code__box{width:100%;height:100%;min-height:200px;overflow:hidden}.ibiz-code-toolbar{display:flex;align-items:center;justify-content:end;width:100%;min-height:32px;padding-right:var(--ibiz-spacing-base);font-size:var(--ibiz-font-size-header-6)}.ibiz-code-toolbar>*+*{margin-left:var(--ibiz-spacing-base-loose)}.ibiz-code-toolbar i{cursor:pointer}.ibiz-code-toolbar i:hover{color:var(--ibiz-color-primary)}.ibiz-code-footer{display:flex;align-items:center;justify-content:end;width:100%;min-height:36px;margin-top:var(--ibiz-spacing-base-tight);margin-right:var(--ibiz-spacing-tight)}.ibiz-code-footer>*+*{margin-left:var(--ibiz-spacing-base)}.ibiz-code-footer__cancel{height:36px;line-height:36px;color:var(--ibiz-color-text-1);cursor:pointer;opacity:.7}.ibiz-code-footer__cancel:hover{color:var(--ibiz-color-primary);opacity:1}.ibiz-code-footer__save{width:96px;height:36px;line-height:36px;color:var(--ibiz-color-primary-active-text);text-align:center;cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:5px}.ibiz-code-footer__save:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-primary)}.ibiz-code-message{width:500px;max-width:unset}.ibiz-code-message__message-content--message-tip{color:var(--ibiz-color-text-3)}.ibiz-code-message__message-cancel{color:var(--ibiz-color-text-1);background-color:transparent}.ibiz-code-message__message-cancel:hover{color:var(--ibiz-color-primary);background-color:transparent}.ibiz-code-message__message-comfire{background-color:var(--ibiz-color-danger)!important}.ibiz-code-message__message-comfire:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-danger)}.ibiz-code-editor-enable .ibiz-code__box{height:calc(100% - 68px)}.ibiz-code-dialog-full-screen{height:80%!important}.ibiz-code-dialog-full-screen .ibiz-code{gap:0;padding:0 var(--ibiz-spacing-extra-loose);--w-e-toolbar-bg-color:var(--ibiz-color-bg-0)}.ibiz-code-dialog-full-screen .ibiz-code .ibiz-code__box{height:calc(100% - 124px)}.ibiz-code-dialog-full-screen .ibiz-code .ibiz-code-toolbar{min-height:56px}.ibiz-code-footer-dialog{min-height:68px;margin-top:0}
|
|
@@ -32,6 +32,13 @@ export declare const IBizCode: import("vue").DefineComponent<{
|
|
|
32
32
|
ns: import("@ibiz-template/core").Namespace;
|
|
33
33
|
currentVal: import("vue").Ref<string>;
|
|
34
34
|
codeEditBox: import("vue").Ref<any>;
|
|
35
|
+
isFullScreen: import("vue").Ref<boolean>;
|
|
36
|
+
hasEnableEdit: import("vue").Ref<boolean>;
|
|
37
|
+
readonlyState: import("vue").Ref<boolean>;
|
|
38
|
+
renderFooter: () => JSX.Element | null;
|
|
39
|
+
renderHeaderToolbar: () => JSX.Element | null;
|
|
40
|
+
renderCodeContent: () => JSX.Element;
|
|
41
|
+
changeFullScreenState: () => Promise<void>;
|
|
35
42
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
43
|
change: (_value: unknown, _name?: string | undefined) => boolean;
|
|
37
44
|
blur: (_event?: IData | undefined) => boolean;
|