@ibiz-template/vue3-components 0.7.41-alpha.110 → 0.7.41-alpha.112
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/ibiz-markdown-editor-B1eF2FNS.js +1 -0
- package/dist/index-BLBroBhu.js +1 -0
- package/dist/index-C-9vEACb.js +1 -0
- package/dist/{index-DWSenYP7.js → index-XI8ySm9i.js} +7 -7
- package/dist/{index.es-BsB4zr7o.js → index.es-Dsu1bPbQ.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-nwkjjlMK.js +1 -0
- package/dist/map-chart-user-BqadFpkw.js +1 -0
- package/dist/{wang-editor-DRSeYDm8.js → wang-editor-4OTQfjW9.js} +1 -1
- package/dist/{xlsx-util-BP1V2Kg2.js → xlsx-util--TUzshNx.js} +1 -1
- package/es/common/map-chart/map-chart.mjs +2 -9
- package/es/common/map-chart-user/map-chart-user.mjs +3 -11
- package/es/control/calendar/calendar.mjs +17 -4
- package/es/control/calendar/components/calendar-user/calendar-user.mjs +4 -2
- package/es/control/calendar/components/calendar-user2/calendar-user2.mjs +4 -3
- package/es/control/drtab/drtab-control.util.mjs +1 -1
- package/es/control/drtab/drtab.mjs +4 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid2/repeater-grid2.mjs +1 -0
- package/es/control/grid/grid/grid-control.util.mjs +14 -1
- package/es/control/grid/grid/grid.css +1 -1
- package/es/control/grid/grid/grid.mjs +5 -2
- package/es/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/es/control/map/map.mjs +33 -7
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +2 -2
- package/es/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.mjs +5 -3
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +2 -2
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +2 -2
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +2 -2
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +2 -2
- package/es/editor/date-range-select/date-range-select-picker/date-range-select.mjs +17 -15
- package/es/editor/dropdown-list/dropdown-list-editor.controller.mjs +15 -5
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +19 -4
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +6 -5
- package/es/index.mjs +1 -0
- package/es/locale/en/index.mjs +2 -1
- package/es/locale/zh-CN/index.mjs +2 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/view/index.mjs +1 -0
- package/es/view/unauthorized-view/unauthorized-view.css +1 -0
- package/es/view/unauthorized-view/unauthorized-view.mjs +56 -0
- package/es/web-app/adaptive-screen-width.mjs +11 -8
- package/es/web-app/router/index.mjs +10 -0
- package/lib/common/map-chart/map-chart.cjs +1 -8
- package/lib/common/map-chart-user/map-chart-user.cjs +2 -10
- package/lib/control/calendar/calendar.cjs +16 -3
- package/lib/control/calendar/components/calendar-user/calendar-user.cjs +4 -2
- package/lib/control/calendar/components/calendar-user2/calendar-user2.cjs +4 -3
- package/lib/control/drtab/drtab-control.util.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +4 -2
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid2/repeater-grid2.cjs +1 -0
- package/lib/control/grid/grid/grid-control.util.cjs +14 -1
- package/lib/control/grid/grid/grid.cjs +5 -2
- package/lib/control/grid/grid/grid.css +1 -1
- package/lib/control/grid/grid-column/grid-field-column/grid-field-column.css +1 -1
- package/lib/control/map/map.cjs +32 -6
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +2 -2
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.css +1 -1
- package/lib/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.cjs +5 -3
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +2 -2
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +2 -2
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +2 -2
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +2 -2
- package/lib/editor/date-range-select/date-range-select-picker/date-range-select.cjs +17 -15
- package/lib/editor/dropdown-list/dropdown-list-editor.controller.cjs +15 -5
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +19 -4
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +6 -5
- package/lib/index.cjs +2 -0
- package/lib/locale/en/index.cjs +2 -1
- package/lib/locale/zh-CN/index.cjs +2 -1
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/view/index.cjs +2 -0
- package/lib/view/unauthorized-view/unauthorized-view.cjs +58 -0
- package/lib/view/unauthorized-view/unauthorized-view.css +1 -0
- package/lib/web-app/adaptive-screen-width.cjs +11 -8
- package/lib/web-app/router/index.cjs +10 -0
- package/package.json +8 -8
- package/src/common/map-chart/map-chart.tsx +3 -5
- package/src/common/map-chart-user/map-chart-user.tsx +3 -8
- package/src/control/calendar/calendar.tsx +27 -1
- package/src/control/calendar/components/calendar-user/calendar-user.tsx +8 -2
- package/src/control/calendar/components/calendar-user2/calendar-user2.tsx +7 -3
- package/src/control/drtab/drtab.tsx +10 -2
- package/src/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.tsx +1 -0
- package/src/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid2/repeater-grid2.tsx +1 -0
- package/src/control/grid/grid/grid-control.util.ts +20 -0
- package/src/control/grid/grid/grid.scss +1 -1
- package/src/control/grid/grid/grid.tsx +3 -0
- package/src/control/grid/grid-column/grid-field-column/grid-field-column.scss +3 -3
- package/src/control/map/map.tsx +44 -4
- package/src/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.scss +12 -1
- package/src/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.tsx +2 -1
- package/src/editor/color-picker/ibiz-color-mpicker-default/ibiz-color-mpicker-default.tsx +10 -2
- package/src/editor/data-picker/ibiz-mpicker/ibiz-mpicker.tsx +2 -1
- package/src/editor/data-picker/ibiz-picker/ibiz-picker.tsx +2 -1
- package/src/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.tsx +2 -1
- package/src/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.tsx +2 -5
- package/src/editor/date-range-select/date-range-select-picker/date-range-select.tsx +27 -13
- package/src/editor/dropdown-list/dropdown-list-editor.controller.ts +12 -2
- package/src/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.tsx +32 -4
- package/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx +5 -5
- package/src/locale/en/index.ts +1 -0
- package/src/locale/zh-CN/index.ts +1 -0
- package/src/panel-component/auth-userinfo/auth-userinfo.scss +5 -1
- package/src/view/index.ts +1 -0
- package/src/view/unauthorized-view/unauthorized-view.scss +20 -0
- package/src/view/unauthorized-view/unauthorized-view.tsx +81 -0
- package/src/web-app/adaptive-screen-width.ts +22 -10
- package/src/web-app/router/index.ts +14 -1
- package/dist/ibiz-markdown-editor-CWm3E2Yp.js +0 -1
- package/dist/index-B_EuifAN.js +0 -1
- package/dist/index-DtplUClV.js +0 -1
- package/dist/map-chart-DbBbP4qh.js +0 -1
- package/dist/map-chart-user-CfTAGaU5.js +0 -1
- /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.113_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.41-alpha.117_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
- /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.113_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.41-alpha.117_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
|
@@ -32,32 +32,32 @@ const IBizDateRangeSelect = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
class: semanticClass("editor.label"),
|
|
33
33
|
selector: ".".concat(ns.e("label"))
|
|
34
34
|
}, {
|
|
35
|
-
class: semanticClass("editor.
|
|
35
|
+
class: semanticClass("editor.dateType"),
|
|
36
36
|
selector: ".".concat(ns.em("date-range", "editor"))
|
|
37
37
|
}, {
|
|
38
|
-
class: semanticClass("editor.
|
|
38
|
+
class: semanticClass("editor.dateType.suffix"),
|
|
39
39
|
selector: ".".concat(ns.em("date-range", "editor-suffix"))
|
|
40
40
|
}, {
|
|
41
|
-
class: semanticClass("editor.
|
|
41
|
+
class: semanticClass("editor.dateUnit"),
|
|
42
42
|
selector: ".el-input__inner"
|
|
43
43
|
}, {
|
|
44
|
-
class: semanticClass("editor.
|
|
44
|
+
class: semanticClass("editor.dateUnit.suffix"),
|
|
45
45
|
selector: ".el-input__suffix"
|
|
46
46
|
}];
|
|
47
47
|
const childStyle = [{
|
|
48
48
|
style: semanticStyle("editor.label"),
|
|
49
49
|
selector: ".".concat(ns.e("label"))
|
|
50
50
|
}, {
|
|
51
|
-
style: semanticStyle("editor.
|
|
51
|
+
style: semanticStyle("editor.dateType"),
|
|
52
52
|
selector: ".".concat(ns.em("date-range", "editor"))
|
|
53
53
|
}, {
|
|
54
|
-
style: semanticStyle("editor.
|
|
54
|
+
style: semanticStyle("editor.dateType.suffix"),
|
|
55
55
|
selector: ".".concat(ns.em("date-range", "editor-suffix"))
|
|
56
56
|
}, {
|
|
57
|
-
style: semanticStyle("editor.
|
|
57
|
+
style: semanticStyle("editor.dateUnit"),
|
|
58
58
|
selector: ".el-input__inner"
|
|
59
59
|
}, {
|
|
60
|
-
style: semanticStyle("editor.
|
|
60
|
+
style: semanticStyle("editor.dateUnit.suffix"),
|
|
61
61
|
selector: ".el-input__suffix"
|
|
62
62
|
}];
|
|
63
63
|
const unitValue = ref(c.defaultUnit);
|
|
@@ -130,14 +130,16 @@ const IBizDateRangeSelect = /* @__PURE__ */ defineComponent({
|
|
|
130
130
|
}, [createVNode(resolveComponent("el-select"), {
|
|
131
131
|
"modelValue": unitValue.value,
|
|
132
132
|
"onUpdate:modelValue": ($event) => unitValue.value = $event,
|
|
133
|
+
"onChange": unitChange,
|
|
133
134
|
"class": ns.em("date-unit", "editor-select"),
|
|
134
|
-
"
|
|
135
|
+
"popper-class": [ns.b("popper"), semanticClass("editor.popup")],
|
|
136
|
+
"popper-style": semanticStyle("editor.popup")
|
|
135
137
|
}, _isSlot(_slot = units.map((item) => {
|
|
136
138
|
return createVNode(resolveComponent("el-option"), {
|
|
137
|
-
"class": semanticClass("editor.popup.item", {
|
|
139
|
+
"class": [ns.em("date-unit", "item"), semanticClass("editor.dateUnit.popup.item", {
|
|
138
140
|
item
|
|
139
|
-
}),
|
|
140
|
-
"style": semanticStyle("editor.popup.item", {
|
|
141
|
+
})],
|
|
142
|
+
"style": semanticStyle("editor.dateUnit.popup.item", {
|
|
141
143
|
item
|
|
142
144
|
}),
|
|
143
145
|
"key": item.value,
|
|
@@ -270,7 +272,7 @@ const IBizDateRangeSelect = /* @__PURE__ */ defineComponent({
|
|
|
270
272
|
"visible": popVisible.value.ALL || popVisible.value.DYNAMIC || popVisible.value.STATIC,
|
|
271
273
|
"trigger": "click",
|
|
272
274
|
"width": "240px",
|
|
273
|
-
"popper-class": [ns.b("date-range-select"), semanticClass("editor.popup")],
|
|
275
|
+
"popper-class": [ns.b("popper"), ns.b("date-range-select"), semanticClass("editor.popup")],
|
|
274
276
|
"popper-style": semanticStyle("editor.popup")
|
|
275
277
|
}, {
|
|
276
278
|
reference: () => {
|
|
@@ -289,10 +291,10 @@ const IBizDateRangeSelect = /* @__PURE__ */ defineComponent({
|
|
|
289
291
|
"class": ns.e("date-type")
|
|
290
292
|
}, [timeTypes.map((item) => {
|
|
291
293
|
return createVNode("div", {
|
|
292
|
-
"class": [ns.em("date-type", "item"), semanticClass("editor.popup.item", {
|
|
294
|
+
"class": [ns.em("date-type", "item"), semanticClass("editor.dateType.popup.item", {
|
|
293
295
|
item
|
|
294
296
|
})],
|
|
295
|
-
"style": semanticStyle("editor.popup.item", {
|
|
297
|
+
"style": semanticStyle("editor.dateType.popup.item", {
|
|
296
298
|
item
|
|
297
299
|
}),
|
|
298
300
|
"onClick": (event) => onTypeClick(item.type, event)
|
|
@@ -27,9 +27,14 @@ class DropDownListEditorController extends CodeListEditorController {
|
|
|
27
27
|
/**
|
|
28
28
|
* 默认选中第一个
|
|
29
29
|
*
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof DropDownListEditorController
|
|
31
31
|
*/
|
|
32
32
|
__publicField(this, "defaultFirstOption", false);
|
|
33
|
+
/**
|
|
34
|
+
* @description 自动选中第一个
|
|
35
|
+
* @memberof DropDownListEditorController
|
|
36
|
+
*/
|
|
37
|
+
__publicField(this, "autoSelectFirstOption", false);
|
|
33
38
|
/**
|
|
34
39
|
* 预置项空白项名称
|
|
35
40
|
*
|
|
@@ -44,7 +49,7 @@ class DropDownListEditorController extends CodeListEditorController {
|
|
|
44
49
|
__publicField(this, "blankItemValue");
|
|
45
50
|
}
|
|
46
51
|
async onInit() {
|
|
47
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
52
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
48
53
|
super.onInit();
|
|
49
54
|
if (this.model.editorType === "MDROPDOWNLIST" || this.model.editorType === "MOBCHECKLIST") {
|
|
50
55
|
this.multiple = true;
|
|
@@ -65,13 +70,18 @@ class DropDownListEditorController extends CodeListEditorController {
|
|
|
65
70
|
this.editorParams.defaultfirstoption
|
|
66
71
|
);
|
|
67
72
|
}
|
|
68
|
-
if ((_e = this.editorParams) == null ? void 0 : _e.
|
|
73
|
+
if ((_e = this.editorParams) == null ? void 0 : _e.autoselectfirstoption) {
|
|
74
|
+
this.autoSelectFirstOption = this.toBoolean(
|
|
75
|
+
this.editorParams.autoselectfirstoption
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
if ((_f = this.editorParams) == null ? void 0 : _f.blankItemName) {
|
|
69
79
|
this.blankItemName = this.editorParams.blankItemName;
|
|
70
80
|
}
|
|
71
|
-
if ((
|
|
81
|
+
if ((_g = this.editorParams) == null ? void 0 : _g.blankitemname) {
|
|
72
82
|
this.blankItemName = this.editorParams.blankitemname;
|
|
73
83
|
}
|
|
74
|
-
if ((
|
|
84
|
+
if ((_h = this.editorParams) == null ? void 0 : _h.blankitemvalue)
|
|
75
85
|
this.blankItemValue = this.editorParams.blankitemvalue;
|
|
76
86
|
}
|
|
77
87
|
}
|
|
@@ -99,6 +99,10 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
99
99
|
const codeItemValueNumber = ref(false);
|
|
100
100
|
const hiddenInputRef = ref();
|
|
101
101
|
const valueSeparator = ((_a = c.editorParams) == null ? void 0 : _a.valueseparator) || ",";
|
|
102
|
+
const {
|
|
103
|
+
getSelection,
|
|
104
|
+
getSelectionValue
|
|
105
|
+
} = useCodeListSelection(c.allItemsValue);
|
|
102
106
|
const showFormDefaultContent = computed(() => {
|
|
103
107
|
if (props.controlParams && props.controlParams.editmode === "hover" && !props.readonly) {
|
|
104
108
|
return true;
|
|
@@ -140,6 +144,20 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
140
144
|
});
|
|
141
145
|
return list;
|
|
142
146
|
};
|
|
147
|
+
const autoSelectFirstOption = () => {
|
|
148
|
+
const item = items.value[0];
|
|
149
|
+
if (!c.autoSelectFirstOption || props.value || !item)
|
|
150
|
+
return;
|
|
151
|
+
if (c.multiple) {
|
|
152
|
+
const value = c.allItems && !hasChildren.value ? getSelectionValue(item.value).map((v) => "".concat(v)) : [item.value];
|
|
153
|
+
emit("change", c.model.valueType === "SIMPLES" ? value : value.join(valueSeparator), void 0, true);
|
|
154
|
+
} else if (editorItems && editorItems.length > 0) {
|
|
155
|
+
emit("change", item.value, editorItems[0].id, true);
|
|
156
|
+
emit("change", item.text, void 0, true);
|
|
157
|
+
} else {
|
|
158
|
+
emit("change", item.value, void 0, true);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
143
161
|
const afterLoadCodeList = (codeList) => {
|
|
144
162
|
items.value = [];
|
|
145
163
|
codeListItems.value = [];
|
|
@@ -162,6 +180,7 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
162
180
|
break;
|
|
163
181
|
}
|
|
164
182
|
}
|
|
183
|
+
autoSelectFirstOption();
|
|
165
184
|
};
|
|
166
185
|
const loadCodeList = async () => {
|
|
167
186
|
if (c.model.appCodeListId) {
|
|
@@ -228,10 +247,6 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
228
247
|
const list = hasChildren.value ? codeListItems.value : items.value;
|
|
229
248
|
return list.find((item) => item.value === value);
|
|
230
249
|
};
|
|
231
|
-
const {
|
|
232
|
-
getSelection,
|
|
233
|
-
getSelectionValue
|
|
234
|
-
} = useCodeListSelection(c.allItemsValue);
|
|
235
250
|
const curValue = computed({
|
|
236
251
|
get() {
|
|
237
252
|
var _a2, _b, _c;
|
|
@@ -107,7 +107,7 @@ const IBizMarkDown = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
selector: ".cherry-bubble"
|
|
108
108
|
}, {
|
|
109
109
|
style: semanticStyle == null ? void 0 : semanticStyle("editor.hoverToolbar.item"),
|
|
110
|
-
selector: "
|
|
110
|
+
selector: ".cherry-bubble .cherry-toolbar-button"
|
|
111
111
|
}, {
|
|
112
112
|
style: semanticStyle == null ? void 0 : semanticStyle("editor.floatMenu"),
|
|
113
113
|
selector: ".cherry-floatmenu"
|
|
@@ -810,19 +810,20 @@ const IBizMarkDown = /* @__PURE__ */ defineComponent({
|
|
|
810
810
|
};
|
|
811
811
|
},
|
|
812
812
|
render() {
|
|
813
|
+
var _a, _b, _c, _d;
|
|
813
814
|
const isShowEditorSwitchMenu = !!this.$slots.editorSwitchMenu;
|
|
814
815
|
return withDirectives(createVNode("div", {
|
|
815
816
|
"ref": "markDownBox",
|
|
816
|
-
"class": [this.ns.b(), this.semanticClass("editor.root"), this.ns.is("disabled", this.disabled), this.ns.is("manual", this.showmode === "manual"), this.ns.is("editing", this.isEditing), this.ns.is("show-editor-switch-menu", isShowEditorSwitchMenu), this.ns.is("editor-content-fixed", this.isFullScreen || this.isImgPreview)],
|
|
817
|
-
"style": this.semanticStyle("editor.root")
|
|
817
|
+
"class": [this.ns.b(), (_a = this.semanticClass) == null ? void 0 : _a.call(this, "editor.root"), this.ns.is("disabled", this.disabled), this.ns.is("manual", this.showmode === "manual"), this.ns.is("editing", this.isEditing), this.ns.is("show-editor-switch-menu", isShowEditorSwitchMenu), this.ns.is("editor-content-fixed", this.isFullScreen || this.isImgPreview)],
|
|
818
|
+
"style": (_b = this.semanticStyle) == null ? void 0 : _b.call(this, "editor.root")
|
|
818
819
|
}, [isShowEditorSwitchMenu ? this.renderEditorSwitchMenu() : null, this.renderHeader(), this.renderFooter(), this.renderImgPreview(), createVNode("div", {
|
|
819
820
|
"tabindex": "-1",
|
|
820
821
|
"id": this.id,
|
|
821
822
|
"style": {
|
|
822
823
|
...this.cssVars,
|
|
823
|
-
...this.semanticStyle("editor.content")
|
|
824
|
+
...(_c = this.semanticStyle) == null ? void 0 : _c.call(this, "editor.content")
|
|
824
825
|
},
|
|
825
|
-
"class": [this.ns.b("cherry"), this.semanticClass("editor.content"), this.ns.m(this.UIStore.theme === "dark" ? "dark" : "light")]
|
|
826
|
+
"class": [this.ns.b("cherry"), (_d = this.semanticClass) == null ? void 0 : _d.call(this, "editor.content"), this.ns.m(this.UIStore.theme === "dark" ? "dark" : "light")]
|
|
826
827
|
}, null)]), [[resolveDirective("child-class"), this.childClass], [resolveDirective("child-style"), this.childStyle]]);
|
|
827
828
|
}
|
|
828
829
|
});
|
package/es/index.mjs
CHANGED
|
@@ -115,6 +115,7 @@ export { LoginView } from './view/login-view/login-view.mjs';
|
|
|
115
115
|
export { IBizWFStepTraceView } from './view/wf-step-trace-view/index.mjs';
|
|
116
116
|
export { IBizSubAppRefView } from './view/sub-app-ref-view/index.mjs';
|
|
117
117
|
export { ErrorView } from './view/error-view/error-view.mjs';
|
|
118
|
+
export { UnauthorizedView } from './view/unauthorized-view/unauthorized-view.mjs';
|
|
118
119
|
export { GridViewEngine } from './view-engine/grid-view.engine.mjs';
|
|
119
120
|
export { IndexViewEngine } from './view-engine/index-view.engine.mjs';
|
|
120
121
|
export { DataViewEngine } from './view-engine/data-view.engine.mjs';
|
package/es/locale/en/index.mjs
CHANGED
|
@@ -50,7 +50,8 @@ var index = {
|
|
|
50
50
|
},
|
|
51
51
|
noResourcesView: {
|
|
52
52
|
noResourcePrompt: "Sorry, the resource you are accessing does not exist",
|
|
53
|
-
resourceNoExist: "The resource you are looking for does not exist. Please"
|
|
53
|
+
resourceNoExist: "The resource you are looking for does not exist. Please",
|
|
54
|
+
noExistPrompt: "Application view does not exist{code}"
|
|
54
55
|
},
|
|
55
56
|
errorView: {
|
|
56
57
|
noExistPrompt: "Error view does not exist {code}"
|
|
@@ -50,7 +50,8 @@ var index = {
|
|
|
50
50
|
},
|
|
51
51
|
noResourcesView: {
|
|
52
52
|
noResourcePrompt: "\u62B1\u6B49\uFF0C\u60A8\u8BBF\u95EE\u7684\u8D44\u6E90\u4E0D\u5B58\u5728",
|
|
53
|
-
resourceNoExist: "\u60A8\u8981\u627E\u7684\u8D44\u6E90\u4E0D\u5B58\u5728\uFF0C\u8BF7"
|
|
53
|
+
resourceNoExist: "\u60A8\u8981\u627E\u7684\u8D44\u6E90\u4E0D\u5B58\u5728\uFF0C\u8BF7",
|
|
54
|
+
noExistPrompt: "\u5E94\u7528\u89C6\u56FE\u4E0D\u5B58\u5728{code}"
|
|
54
55
|
},
|
|
55
56
|
errorView: {
|
|
56
57
|
noExistPrompt: "\u9519\u8BEF\u89C6\u56FE\u4E0D\u5B58\u5728{code}"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-user-info{--ibiz-user-info-padding:0 var(--ibiz-spacing-loose);--ibiz-user-info-color:var(--ibiz-color-text-0);--ibiz-user-info-font-size:var(--ibiz-font-size-header-5);--ibiz-user-info-height:44px;--ibiz-user-info-collapse-padding:0 var(--ibiz-spacing-base-tight);--ibiz-user-info-avatar-max-width:32px;--ibiz-user-info-avatar-max-height:32px;--ibiz-user-info-avatar-gap:var(--ibiz-spacing-base);--ibiz-user-info-name-max-width:130px;--ibiz-user-info-name-font-size:var(--ibiz-user-info-font-size);--ibiz-user-info-name-person-font-size:var(--ibiz-font-size-small);--ibiz-user-info-name-person-gap:var(--ibiz-spacing-extra-tight);--ibiz-user-info-name-arrow-gap:var(--ibiz-spacing-base-tight);display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}.ibiz-user-info .el-dropdown{width:100%;height:var(--ibiz-user-info-height);padding:var(--ibiz-user-info-padding);cursor:pointer}.ibiz-user-info.is-left .ibiz-user-info__down{display:none}.ibiz-user-info.is-top .ibiz-user-info__down{margin-left:var(--ibiz-user-info-name-arrow-gap);font-size:var(--ibiz-user-info-font-size)}.ibiz-user-info.is-top .ibiz-user-info-avatar{max-width:var(--ibiz-user-info-avatar-max-width);max-height:var(--ibiz-user-info-avatar-max-height);margin-right:var(--ibiz-user-info-avatar-gap)}.ibiz-user-info.is-collapse .el-dropdown{padding:
|
|
1
|
+
.ibiz-user-info{--ibiz-user-info-padding:0 var(--ibiz-spacing-loose);--ibiz-user-info-color:var(--ibiz-color-text-0);--ibiz-user-info-font-size:var(--ibiz-font-size-header-5);--ibiz-user-info-height:44px;--ibiz-user-info-collapse-padding:0 var(--ibiz-spacing-base-tight);--ibiz-user-info-avatar-max-width:32px;--ibiz-user-info-avatar-max-height:32px;--ibiz-user-info-avatar-gap:var(--ibiz-spacing-base);--ibiz-user-info-name-max-width:130px;--ibiz-user-info-name-font-size:var(--ibiz-user-info-font-size);--ibiz-user-info-name-person-font-size:var(--ibiz-font-size-small);--ibiz-user-info-name-person-gap:var(--ibiz-spacing-extra-tight);--ibiz-user-info-name-arrow-gap:var(--ibiz-spacing-base-tight);display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}.ibiz-user-info .el-dropdown{width:100%;height:var(--ibiz-user-info-height);padding:var(--ibiz-user-info-padding);cursor:pointer}.ibiz-user-info__icon{margin-right:var(--ibiz-spacing-extra-tight)}.ibiz-user-info.is-left .ibiz-user-info__down{display:none}.ibiz-user-info.is-top .ibiz-user-info__down{margin-left:var(--ibiz-user-info-name-arrow-gap);font-size:var(--ibiz-user-info-font-size)}.ibiz-user-info.is-top .ibiz-user-info-avatar{max-width:var(--ibiz-user-info-avatar-max-width);max-height:var(--ibiz-user-info-avatar-max-height);margin-right:var(--ibiz-user-info-avatar-gap)}.ibiz-user-info.is-collapse .el-dropdown{padding:var(--ibiz-user-info-collapse-padding)}.ibiz-user-info.is-collapse .ibiz-user-info-avatar{max-width:var(--ibiz-user-info-avatar-max-width);max-height:var(--ibiz-user-info-avatar-max-height);margin:0}.ibiz-user-info.is-readonly .el-dropdown{cursor:default}.ibiz-user-info-avatar{width:var(--ibiz-user-info-height);height:var(--ibiz-user-info-height);margin-right:10px}.ibiz-user-info-info{width:100%;display:flex;align-items:center;justify-content:space-between;color:var(--ibiz-user-info-color)}.ibiz-user-info-info.is-collapse{justify-content:center}.ibiz-user-info-name__user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--ibiz-user-info-name-max-width);font-size:var(--ibiz-user-info-name-font-size);line-height:1.3}.ibiz-user-info-name__person-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--ibiz-user-info-name-max-width);margin-top:var(--ibiz-user-info-name-person-gap);font-size:var(--ibiz-user-info-name-person-font-size);line-height:1.2}.ibiz-user-info-name.is-collapse{display:none}.ibiz-user-info-label{display:flex;align-items:center;justify-content:flex-start;font-size:var(--ibiz-user-info-font-size);color:var(--ibiz-user-info-color);outline:0}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createApp } from 'vue';
|
|
2
2
|
import ElementPlus from 'element-plus';
|
|
3
|
-
import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.
|
|
3
|
+
import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.117_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
|
|
4
4
|
import { IBizFullscreenToolbar } from '../../common/fullscreen-toolbar/fullscreen-toolbar.mjs';
|
|
5
5
|
|
|
6
6
|
"use strict";
|
package/es/view/index.mjs
CHANGED
|
@@ -4,5 +4,6 @@ export { LoginView } from './login-view/login-view.mjs';
|
|
|
4
4
|
export { IBizWFStepTraceView } from './wf-step-trace-view/index.mjs';
|
|
5
5
|
export { IBizSubAppRefView } from './sub-app-ref-view/index.mjs';
|
|
6
6
|
export { ErrorView } from './error-view/error-view.mjs';
|
|
7
|
+
export { UnauthorizedView } from './unauthorized-view/unauthorized-view.mjs';
|
|
7
8
|
|
|
8
9
|
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-unauthorized-view{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.ibiz-unauthorized-view__img{width:375px;max-width:100%;-o-object-fit:contain;object-fit:contain;overflow:hidden}.ibiz-unauthorized-view__tips{margin-top:var(--ibiz-spacing-super-loose);text-align:center;display:flex;flex-flow:column nowrap;align-items:center;justify-content:center}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent, computed, ref, resolveComponent, onMounted, h, createVNode } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { useRoute } from 'vue-router';
|
|
4
|
+
import { IBizContext } from '@ibiz-template/core';
|
|
5
|
+
import './unauthorized-view.css';
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const UnauthorizedView = /* @__PURE__ */ defineComponent({
|
|
9
|
+
setup() {
|
|
10
|
+
const ns = useNamespace("unauthorized-view");
|
|
11
|
+
const route = useRoute();
|
|
12
|
+
const viewCodeName = computed(() => {
|
|
13
|
+
return "".concat(route.params.viewcodename);
|
|
14
|
+
});
|
|
15
|
+
const hasAppView = ref(false);
|
|
16
|
+
const appView = ref(null);
|
|
17
|
+
const viewShell = resolveComponent("IBizViewShell");
|
|
18
|
+
const context = IBizContext.create({});
|
|
19
|
+
const params = {};
|
|
20
|
+
const isMounted = ref(false);
|
|
21
|
+
onMounted(async () => {
|
|
22
|
+
try {
|
|
23
|
+
const appViewConfig = await ibiz.hub.config.view.get(viewCodeName.value);
|
|
24
|
+
if (appViewConfig) {
|
|
25
|
+
appView.value = appViewConfig;
|
|
26
|
+
hasAppView.value = true;
|
|
27
|
+
}
|
|
28
|
+
} catch (err) {
|
|
29
|
+
ibiz.log.warn(err);
|
|
30
|
+
}
|
|
31
|
+
ibiz.util.hiddenAppLoading();
|
|
32
|
+
isMounted.value = true;
|
|
33
|
+
});
|
|
34
|
+
return () => {
|
|
35
|
+
if (isMounted.value) {
|
|
36
|
+
return hasAppView.value ? h(viewShell, {
|
|
37
|
+
context,
|
|
38
|
+
params,
|
|
39
|
+
viewId: appView.value.id
|
|
40
|
+
}) : createVNode("div", {
|
|
41
|
+
"class": ns.b()
|
|
42
|
+
}, [createVNode("img", {
|
|
43
|
+
"class": ns.e("img"),
|
|
44
|
+
"src": "".concat(ibiz.env.assetsUrl, "/images/404.png")
|
|
45
|
+
}, null), createVNode("div", {
|
|
46
|
+
"class": ns.e("tips")
|
|
47
|
+
}, [ibiz.i18n.t("view.noResourcesView.noResourcePrompt"), createVNode("br", null, null), ibiz.i18n.t("view.noResourcesView.noExistPrompt", {
|
|
48
|
+
code: viewCodeName.value
|
|
49
|
+
})])]);
|
|
50
|
+
}
|
|
51
|
+
return null;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export { UnauthorizedView };
|
|
@@ -51,7 +51,7 @@ const fixContextMenuPosition = (el) => {
|
|
|
51
51
|
el.style.top = fixedTop;
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
|
-
const
|
|
54
|
+
const fixPopperTransform = (el) => {
|
|
55
55
|
if (currentScale === 1)
|
|
56
56
|
return;
|
|
57
57
|
const transform = el.style.transform;
|
|
@@ -61,8 +61,8 @@ const fixFormItemContainerPopperTransform = (el) => {
|
|
|
61
61
|
return;
|
|
62
62
|
el.dataset.zoomOriginalTransform = transform;
|
|
63
63
|
const fixed = transform.replace(
|
|
64
|
-
/translate3d\(\s*([^,)]+),\s*([^,)]+),\s*([^,)]+)\s*\)/g,
|
|
65
|
-
(_,
|
|
64
|
+
/translate3d\(\s*([^,)]+),\s*([^,)]+),\s*([^,)]+)\s*\)|translate\(\s*([^,)]+),\s*([^,)]+)\s*\)/g,
|
|
65
|
+
(_, x3d, y3d, z3d, x2d, y2d) => {
|
|
66
66
|
const fixAxis = (val) => {
|
|
67
67
|
const part = val.trim();
|
|
68
68
|
const match = part.match(/^(-?[\d.]+)(px|rem|em|%)?$/);
|
|
@@ -73,7 +73,10 @@ const fixFormItemContainerPopperTransform = (el) => {
|
|
|
73
73
|
}
|
|
74
74
|
return part;
|
|
75
75
|
};
|
|
76
|
-
|
|
76
|
+
if (x3d !== void 0) {
|
|
77
|
+
return "translate3d(".concat(fixAxis(x3d), ", ").concat(fixAxis(y3d), ", ").concat(fixAxis(z3d), ")");
|
|
78
|
+
}
|
|
79
|
+
return "translate(".concat(fixAxis(x2d), ", ").concat(fixAxis(y2d), ")");
|
|
77
80
|
}
|
|
78
81
|
);
|
|
79
82
|
el.style.transform = fixed;
|
|
@@ -94,8 +97,8 @@ const startObservePoppers = () => {
|
|
|
94
97
|
const el = node;
|
|
95
98
|
if ((_a2 = el.classList) == null ? void 0 : _a2.contains("el-popper")) {
|
|
96
99
|
fixPopperInset(el);
|
|
97
|
-
if (el.classList.contains("ibiz-form-item-container__popper")) {
|
|
98
|
-
|
|
100
|
+
if (el.classList.contains("ibiz-form-item-container__popper") || el.classList.contains("ibiz-form-mdctrl-popper")) {
|
|
101
|
+
fixPopperTransform(el);
|
|
99
102
|
}
|
|
100
103
|
} else if ((_b2 = el.classList) == null ? void 0 : _b2.contains("mx-context-menu")) {
|
|
101
104
|
fixContextMenuPosition(el);
|
|
@@ -105,8 +108,8 @@ const startObservePoppers = () => {
|
|
|
105
108
|
const el = mutation.target;
|
|
106
109
|
if ((_a = el.classList) == null ? void 0 : _a.contains("el-popper")) {
|
|
107
110
|
fixPopperInset(el);
|
|
108
|
-
if (el.classList.contains("ibiz-form-item-container__popper")) {
|
|
109
|
-
|
|
111
|
+
if (el.classList.contains("ibiz-form-item-container__popper") || el.classList.contains("ibiz-form-mdctrl-popper")) {
|
|
112
|
+
fixPopperTransform(el);
|
|
110
113
|
}
|
|
111
114
|
} else if ((_b = el.classList) == null ? void 0 : _b.contains("mx-context-menu")) {
|
|
112
115
|
fixContextMenuPosition(el);
|
|
@@ -10,6 +10,7 @@ import '../../util/index.mjs';
|
|
|
10
10
|
import 'nprogress/nprogress.css';
|
|
11
11
|
import { LoginView } from '../../view/login-view/login-view.mjs';
|
|
12
12
|
import { ErrorView } from '../../view/error-view/error-view.mjs';
|
|
13
|
+
import { UnauthorizedView } from '../../view/unauthorized-view/unauthorized-view.mjs';
|
|
13
14
|
import { ModalRouterShell } from '../components/modal-router-shell/modal-router-shell.mjs';
|
|
14
15
|
import { RouterShell } from '../components/router-shell/router-shell.mjs';
|
|
15
16
|
import { splitPathToSegments, validateRouteSegments } from '../../util/user-route-util/user-route-util.mjs';
|
|
@@ -84,6 +85,15 @@ class AppRouter {
|
|
|
84
85
|
},
|
|
85
86
|
component: AppRedirectView
|
|
86
87
|
},
|
|
88
|
+
{
|
|
89
|
+
path: "/unauthorized/:viewcodename",
|
|
90
|
+
name: "unauthorizedView",
|
|
91
|
+
beforeEnter: async (_to, from, next) => {
|
|
92
|
+
await this.authGuard(this.getAppContext(_to), false);
|
|
93
|
+
next();
|
|
94
|
+
},
|
|
95
|
+
component: UnauthorizedView
|
|
96
|
+
},
|
|
87
97
|
{
|
|
88
98
|
path: "/:appContext(".concat(paramReg, ")/:view1(").concat(viewReg, ")/:params1(").concat(paramReg, ")"),
|
|
89
99
|
beforeEnter: async (_to, from, next) => {
|
|
@@ -33,10 +33,6 @@ const IBizMapChart = /* @__PURE__ */ vue.defineComponent({
|
|
|
33
33
|
emit
|
|
34
34
|
}) {
|
|
35
35
|
const ns = vue3Util.useNamespace("map-chart");
|
|
36
|
-
const {
|
|
37
|
-
semanticClass,
|
|
38
|
-
semanticStyle
|
|
39
|
-
} = vue3Util.useSemanticNode(props.controller);
|
|
40
36
|
const options = vue.computed(() => {
|
|
41
37
|
return ramda.mergeDeepWithKey((_key, x, z) => {
|
|
42
38
|
return ramda.isNil(z) ? x : z;
|
|
@@ -203,8 +199,6 @@ const IBizMapChart = /* @__PURE__ */ vue.defineComponent({
|
|
|
203
199
|
ns,
|
|
204
200
|
chartRef,
|
|
205
201
|
historyNames,
|
|
206
|
-
semanticClass,
|
|
207
|
-
semanticStyle,
|
|
208
202
|
goBack
|
|
209
203
|
};
|
|
210
204
|
},
|
|
@@ -215,8 +209,7 @@ const IBizMapChart = /* @__PURE__ */ vue.defineComponent({
|
|
|
215
209
|
"class": this.ns.e("chart"),
|
|
216
210
|
"ref": "chartRef"
|
|
217
211
|
}, null), this.historyNames.length > 1 && vue.createVNode("div", {
|
|
218
|
-
"
|
|
219
|
-
"class": [this.ns.e("goback"), this.semanticClass("goback")],
|
|
212
|
+
"class": this.ns.e("goback"),
|
|
220
213
|
"onClick": () => {
|
|
221
214
|
this.goBack();
|
|
222
215
|
}
|
|
@@ -33,10 +33,6 @@ const IBizMapChartUser = /* @__PURE__ */ vue.defineComponent({
|
|
|
33
33
|
},
|
|
34
34
|
setup(props) {
|
|
35
35
|
const ns = vue3Util.useNamespace("map-chart-user");
|
|
36
|
-
const {
|
|
37
|
-
semanticClass,
|
|
38
|
-
semanticStyle
|
|
39
|
-
} = vue3Util.useSemanticNode(props.controller);
|
|
40
36
|
const c = props.controller;
|
|
41
37
|
let option = mapChartUser_util.defaultOpts;
|
|
42
38
|
const mapRef = vue.ref();
|
|
@@ -154,8 +150,6 @@ const IBizMapChartUser = /* @__PURE__ */ vue.defineComponent({
|
|
|
154
150
|
isFull,
|
|
155
151
|
chartRef,
|
|
156
152
|
historyNames,
|
|
157
|
-
semanticClass,
|
|
158
|
-
semanticStyle,
|
|
159
153
|
onBack,
|
|
160
154
|
toggleFullScreen
|
|
161
155
|
};
|
|
@@ -170,8 +164,7 @@ const IBizMapChartUser = /* @__PURE__ */ vue.defineComponent({
|
|
|
170
164
|
}, [enabledFullScreen ? vue.createVNode(vue.resolveComponent("el-button"), {
|
|
171
165
|
"type": "info",
|
|
172
166
|
"onClick": this.toggleFullScreen,
|
|
173
|
-
"
|
|
174
|
-
"class": [this.ns.e("fullscreen"), this.semanticClass("fullscreen")],
|
|
167
|
+
"class": this.ns.e("fullscreen"),
|
|
175
168
|
"title": this.isFull ? ibiz.i18n.t("app.cancelFullscreen") : ibiz.i18n.t("app.fullscreen")
|
|
176
169
|
}, {
|
|
177
170
|
default: () => [vue.createVNode("ion-icon", {
|
|
@@ -181,8 +174,7 @@ const IBizMapChartUser = /* @__PURE__ */ vue.defineComponent({
|
|
|
181
174
|
"class": this.ns.e("chart"),
|
|
182
175
|
"ref": "chartRef"
|
|
183
176
|
}, null), this.historyNames.length > 1 && vue.createVNode("div", {
|
|
184
|
-
"
|
|
185
|
-
"class": [this.ns.e("goback"), this.semanticClass("goback")],
|
|
177
|
+
"class": this.ns.e("goback"),
|
|
186
178
|
"onClick": () => {
|
|
187
179
|
this.onBack();
|
|
188
180
|
}
|
|
@@ -90,6 +90,14 @@ const CalendarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
90
90
|
const curPopover = vue.ref();
|
|
91
91
|
const showDateRange = vue.ref(c.controlParams.showmode === "daterange");
|
|
92
92
|
const showDateList = vue.ref(c.controlParams.showmode === "expand");
|
|
93
|
+
const childClass = [{
|
|
94
|
+
class: semanticClass("body"),
|
|
95
|
+
selector: ".el-calendar__body"
|
|
96
|
+
}];
|
|
97
|
+
const childStyle = [{
|
|
98
|
+
style: semanticStyle("body"),
|
|
99
|
+
selector: ".el-calendar__body"
|
|
100
|
+
}];
|
|
93
101
|
const infiniteScroll = vue.ref();
|
|
94
102
|
const disabledLodeMore = vue.computed(() => {
|
|
95
103
|
if (c.model.calendarStyle !== "TIMELINE" || c.state.isLoading)
|
|
@@ -393,6 +401,8 @@ const CalendarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
393
401
|
c,
|
|
394
402
|
ns,
|
|
395
403
|
legends,
|
|
404
|
+
childClass,
|
|
405
|
+
childStyle,
|
|
396
406
|
semanticClass,
|
|
397
407
|
semanticStyle,
|
|
398
408
|
curPopover,
|
|
@@ -485,13 +495,16 @@ const CalendarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
485
495
|
this.curPopover = el;
|
|
486
496
|
}
|
|
487
497
|
},
|
|
498
|
+
"popper-class": [this.semanticClass("popup"), this.ns.be("more", "popper")],
|
|
499
|
+
"popper-style": this.semanticStyle("popup"),
|
|
488
500
|
"onShow": () => {
|
|
489
501
|
this.popoverValue = items[0].id;
|
|
490
502
|
}
|
|
491
503
|
}, {
|
|
492
504
|
reference: () => {
|
|
493
505
|
return vue.createVNode("span", {
|
|
494
|
-
"
|
|
506
|
+
"style": this.semanticStyle("more"),
|
|
507
|
+
"class": [this.ns.b("more"), this.semanticClass("more")]
|
|
495
508
|
}, ["+".concat(items.length - 1, " ").concat(ibiz.i18n.t("app.more"), "...")]);
|
|
496
509
|
},
|
|
497
510
|
default: () => {
|
|
@@ -513,7 +526,7 @@ const CalendarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
513
526
|
return vue.createVNode("div", {
|
|
514
527
|
"class": [this.ns.b("content"), this.ns.be("content", "month"), this.semanticClass("content"), this.ns.is("show-date-range", this.showDateRange)],
|
|
515
528
|
"style": this.semanticStyle("content")
|
|
516
|
-
}, [vue.createVNode(vue.resolveComponent("el-calendar"), {
|
|
529
|
+
}, [vue.withDirectives(vue.createVNode(vue.resolveComponent("el-calendar"), {
|
|
517
530
|
"ref": "calendarRef",
|
|
518
531
|
"modelValue": this.c.state.selectedDate,
|
|
519
532
|
"onUpdate:modelValue": ($event) => this.c.state.selectedDate = $event,
|
|
@@ -617,7 +630,7 @@ const CalendarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
617
630
|
"class": this.ns.b("items")
|
|
618
631
|
}, [renderCalendarItems(date)])]);
|
|
619
632
|
}
|
|
620
|
-
})]);
|
|
633
|
+
}), [[vue.resolveDirective("child-class"), this.childClass], [vue.resolveDirective("child-style"), this.childStyle]])]);
|
|
621
634
|
};
|
|
622
635
|
const renderNoData = () => {
|
|
623
636
|
const {
|
|
@@ -47,19 +47,21 @@ const CalendarUser = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
47
|
data: items[0]
|
|
48
48
|
}), vue.createVNode(vue.resolveComponent("el-popover"), {
|
|
49
49
|
"trigger": "click",
|
|
50
|
-
"popper-class": ns.e("custom-user-popover"),
|
|
51
50
|
"ref": (el) => {
|
|
52
51
|
if (el && items[0].id === popoverValue.value) {
|
|
53
52
|
curPopover.value = el;
|
|
54
53
|
}
|
|
55
54
|
},
|
|
55
|
+
"popper-class": [ns.em("more", "popper"), ns.e("custom-user-popover"), props.semanticClass("popup")],
|
|
56
|
+
"popper-style": props.semanticStyle("popup"),
|
|
56
57
|
"onShow": () => {
|
|
57
58
|
popoverValue.value = items[0].id;
|
|
58
59
|
}
|
|
59
60
|
}, {
|
|
60
61
|
reference: () => {
|
|
61
62
|
return vue.createVNode("span", {
|
|
62
|
-
"
|
|
63
|
+
"style": props.semanticStyle("more"),
|
|
64
|
+
"class": [ns.e("more"), props.semanticClass("more")]
|
|
63
65
|
}, ["+".concat(items.length - 1, " ").concat(ibiz.i18n.t("app.more"), "...")]);
|
|
64
66
|
},
|
|
65
67
|
default: () => {
|
|
@@ -176,7 +176,8 @@ const CalendarUser2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
176
176
|
"trigger": "click",
|
|
177
177
|
"persistent": false,
|
|
178
178
|
"disabled": !marks.length,
|
|
179
|
-
"
|
|
179
|
+
"popper-style": this.semanticStyle("popup"),
|
|
180
|
+
"popper-class": [this.ns.e("popover"), this.semanticClass("popup")]
|
|
180
181
|
}, {
|
|
181
182
|
default: () => {
|
|
182
183
|
return vue.createVNode("div", {
|
|
@@ -201,12 +202,12 @@ const CalendarUser2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
201
202
|
}, [marks.map((mark) => {
|
|
202
203
|
if (mark.isShow)
|
|
203
204
|
return vue.createVNode("div", {
|
|
204
|
-
"class": [this.ns.e("mark"), this.ns.e("item"), this.semanticClass("
|
|
205
|
+
"class": [this.ns.e("mark"), this.ns.e("item"), this.semanticClass("mark", {
|
|
205
206
|
item: mark
|
|
206
207
|
})],
|
|
207
208
|
"style": {
|
|
208
209
|
backgroundColor: mark.bkcolor,
|
|
209
|
-
...this.semanticStyle("
|
|
210
|
+
...this.semanticStyle("mark", {
|
|
210
211
|
item: mark
|
|
211
212
|
})
|
|
212
213
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
|
-
var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.
|
|
4
|
+
var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.117_axios@1.12.2_lodash-es@4.17.21_qs@6.14.0_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
7
7
|
function useAppDRTab(c, controlRef, counterData) {
|
|
@@ -145,7 +145,8 @@ const DRTabControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
145
145
|
"style": semanticStyle("dropdown", {
|
|
146
146
|
item: activeTab.value
|
|
147
147
|
}),
|
|
148
|
-
"popper-class": ns.be("dropdown-list", "popper"),
|
|
148
|
+
"popper-class": [semanticClass("popup"), ns.be("dropdown-list", "popper")],
|
|
149
|
+
"popper-style": semanticStyle("popup"),
|
|
149
150
|
"class": [ns.b("dropdown-list"), ns.e("dropdown"), semanticClass("dropdown", {
|
|
150
151
|
item: activeTab.value
|
|
151
152
|
})]
|
|
@@ -274,7 +275,8 @@ const DRTabControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
274
275
|
const more = vue.createVNode(vue.resolveComponent("el-dropdown"), {
|
|
275
276
|
"trigger": "click",
|
|
276
277
|
"style": this.semanticStyle("more"),
|
|
277
|
-
"popper-class": this.ns.b("more-dropdown-popper"),
|
|
278
|
+
"popper-class": [this.semanticClass("popup"), this.ns.b("more-dropdown-popper")],
|
|
279
|
+
"popper-style": this.semanticStyle("popup"),
|
|
278
280
|
"class": [this.ns.b("more-dropdown"), this.semanticClass("more")]
|
|
279
281
|
}, {
|
|
280
282
|
default: () => {
|
|
@@ -138,6 +138,7 @@ const RepeaterGrid = /* @__PURE__ */ vue.defineComponent({
|
|
|
138
138
|
if (ibiz.config.form.mdCtrlConfirmBeforeRemove) {
|
|
139
139
|
return vue.createVNode(vue.resolveComponent("el-popconfirm"), {
|
|
140
140
|
"title": core.showTitle(ibiz.i18n.t("control.form.repeaterGrid.promptInformation")),
|
|
141
|
+
"popper-class": ["el-popover", ns2.b("popper")],
|
|
141
142
|
"confirm-button-text": ibiz.i18n.t("app.confirm"),
|
|
142
143
|
"cancel-button-text": ibiz.i18n.t("app.cancel"),
|
|
143
144
|
"onConfirm": () => props.controller.remove(index)
|