@ibiz-template/vue3-components 0.7.41-alpha.111 → 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/{index-BP7a4gcG.js → index-XI8ySm9i.js} +4 -4
- package/dist/{index.es-Ur-QLCI4.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-lUuJmqAh.js → wang-editor-4OTQfjW9.js} +1 -1
- package/dist/{xlsx-util-C1ySj_kQ.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/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.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/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/web-app/adaptive-screen-width.mjs +5 -5
- 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/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-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/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/web-app/adaptive-screen-width.cjs +5 -5
- package/package.json +7 -7
- 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/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.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/panel-component/auth-userinfo/auth-userinfo.scss +1 -1
- package/src/web-app/adaptive-screen-width.ts +12 -6
- 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
|
@@ -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;
|
|
@@ -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__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:
|
|
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";
|
|
@@ -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;
|
|
@@ -97,8 +97,8 @@ const startObservePoppers = () => {
|
|
|
97
97
|
const el = node;
|
|
98
98
|
if ((_a2 = el.classList) == null ? void 0 : _a2.contains("el-popper")) {
|
|
99
99
|
fixPopperInset(el);
|
|
100
|
-
if (el.classList.contains("ibiz-form-item-container__popper")) {
|
|
101
|
-
|
|
100
|
+
if (el.classList.contains("ibiz-form-item-container__popper") || el.classList.contains("ibiz-form-mdctrl-popper")) {
|
|
101
|
+
fixPopperTransform(el);
|
|
102
102
|
}
|
|
103
103
|
} else if ((_b2 = el.classList) == null ? void 0 : _b2.contains("mx-context-menu")) {
|
|
104
104
|
fixContextMenuPosition(el);
|
|
@@ -108,8 +108,8 @@ const startObservePoppers = () => {
|
|
|
108
108
|
const el = mutation.target;
|
|
109
109
|
if ((_a = el.classList) == null ? void 0 : _a.contains("el-popper")) {
|
|
110
110
|
fixPopperInset(el);
|
|
111
|
-
if (el.classList.contains("ibiz-form-item-container__popper")) {
|
|
112
|
-
|
|
111
|
+
if (el.classList.contains("ibiz-form-item-container__popper") || el.classList.contains("ibiz-form-mdctrl-popper")) {
|
|
112
|
+
fixPopperTransform(el);
|
|
113
113
|
}
|
|
114
114
|
} else if ((_b = el.classList) == null ? void 0 : _b.contains("mx-context-menu")) {
|
|
115
115
|
fixContextMenuPosition(el);
|
|
@@ -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) {
|
|
@@ -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)
|
|
@@ -126,6 +126,7 @@ const RepeaterGrid2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
126
126
|
const renderRemoveBtn = (index) => {
|
|
127
127
|
if (ibiz.config.form.mdCtrlConfirmBeforeRemove) {
|
|
128
128
|
return vue.createVNode(vue.resolveComponent("el-popconfirm"), {
|
|
129
|
+
"popper-class": ["el-popover", ns2.b("popper")],
|
|
129
130
|
"title": ibiz.i18n.t("control.form.repeaterGrid.promptInformation"),
|
|
130
131
|
"confirm-button-text": ibiz.i18n.t("app.confirm"),
|
|
131
132
|
"cancel-button-text": ibiz.i18n.t("app.cancel"),
|
|
@@ -278,6 +278,11 @@ function useITableEvent(c) {
|
|
|
278
278
|
function onSelectionChange(selection) {
|
|
279
279
|
if (!forbidChange && !c.state.isLoading)
|
|
280
280
|
c.setSelection(selection);
|
|
281
|
+
if (c.state.selectedData.length === c.state.items.length && c.state.items.length !== 0) {
|
|
282
|
+
c.state.isSelectedAll = true;
|
|
283
|
+
} else {
|
|
284
|
+
c.state.isSelectedAll = false;
|
|
285
|
+
}
|
|
281
286
|
}
|
|
282
287
|
const elSelection = vue.computed(() => {
|
|
283
288
|
const items = [];
|
|
@@ -416,6 +421,13 @@ function useITableEvent(c) {
|
|
|
416
421
|
}
|
|
417
422
|
}
|
|
418
423
|
);
|
|
424
|
+
function onSelectAll(selections) {
|
|
425
|
+
if (selections.length === c.state.items.length) {
|
|
426
|
+
c.state.isSelectedAll = true;
|
|
427
|
+
} else {
|
|
428
|
+
c.state.isSelectedAll = false;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
419
431
|
return {
|
|
420
432
|
tableRef,
|
|
421
433
|
onRowClick,
|
|
@@ -426,7 +438,8 @@ function useITableEvent(c) {
|
|
|
426
438
|
handleHeaderCellClassName,
|
|
427
439
|
cleanClick,
|
|
428
440
|
cleanEnter,
|
|
429
|
-
cleanTab
|
|
441
|
+
cleanTab,
|
|
442
|
+
onSelectAll
|
|
430
443
|
};
|
|
431
444
|
}
|
|
432
445
|
function useAppGridPagination(c) {
|
|
@@ -346,7 +346,8 @@ const GridControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
346
346
|
handleHeaderCellClassName,
|
|
347
347
|
cleanClick = core.NOOP,
|
|
348
348
|
cleanEnter = core.NOOP,
|
|
349
|
-
cleanTab = core.NOOP
|
|
349
|
+
cleanTab = core.NOOP,
|
|
350
|
+
onSelectAll
|
|
350
351
|
} = gridControl_util.useITableEvent(c);
|
|
351
352
|
const {
|
|
352
353
|
pageSemantic,
|
|
@@ -581,7 +582,8 @@ const GridControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
581
582
|
handleRowClassName,
|
|
582
583
|
renderBatchToolBar,
|
|
583
584
|
renderDragIconColumn,
|
|
584
|
-
handleHeaderCellClassName
|
|
585
|
+
handleHeaderCellClassName,
|
|
586
|
+
onSelectAll
|
|
585
587
|
};
|
|
586
588
|
},
|
|
587
589
|
render() {
|
|
@@ -612,6 +614,7 @@ const GridControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
612
614
|
"default-sort": this.defaultSort,
|
|
613
615
|
"show-summary": this.c.enableAgg,
|
|
614
616
|
"onSortChange": this.onSortChange,
|
|
617
|
+
"onSelectAll": this.onSelectAll,
|
|
615
618
|
"onRowDblclick": this.onDbRowClick,
|
|
616
619
|
"summary-method": this.summaryMethod,
|
|
617
620
|
"onHeaderDragend": this.headerDragend,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-grid-field-column{--ibiz-grid-field-column-cell-padding:var(--ibiz-control-grid-body-cell-padding);--ibiz-grid-field-column-clickable-text-color:var(--ibiz-control-grid-body-cell-link-color);--ibiz-grid-field-column-clickable-hover-text-color:var(--ibiz-control-grid-body-cell-link-hover-color);--ibiz-grid-field-column-color:var(--ibiz-control-grid-body-cell-text-color);--ibiz-grid-field-column-font-size:var(--ibiz-control-grid-body-cell-font-size);--ibiz-grid-field-column-font-weight:var(--ibiz-control-grid-body-cell-font-weight);display:inline-flex;align-items:center;justify-content:var(--ibiz-grid-column-justify-content);width:100%;height:100%;padding:var(--ibiz-grid-field-column-cell-padding)}.ibiz-grid-field-column__text{font-size:var(--ibiz-grid-field-column-font-size);font-weight:var(--ibiz-grid-field-column-font-weight);color:var(--ibiz-grid-field-column-color)}.ibiz-grid-field-column--clickable .ibiz-grid-field-column__text{color:var(--ibiz-grid-field-column-clickable-text-color)}.ibiz-grid-field-column--clickable .ibiz-grid-field-column__text:hover{color:var(--ibiz-grid-field-column-clickable-hover-text-color)}.ibiz-grid-field-column--clickable{cursor:pointer}.ibiz-grid-field-column--ellipsis{overflow:hidden}.ibiz-grid-field-column--ellipsis .ibiz-grid-field-column-text-container{min-width:0}.ibiz-grid-field-column--ellipsis .ibiz-grid-field-column-toolbar-container{flex-shrink:0}.ibiz-grid-field-column--ellipsis .ibiz-grid-field-column__script{max-height:calc(var(--ibiz-control-grid-
|
|
1
|
+
.ibiz-grid-field-column{--ibiz-grid-field-column-cell-padding:var(--ibiz-control-grid-body-cell-padding);--ibiz-grid-field-column-clickable-text-color:var(--ibiz-control-grid-body-cell-link-color);--ibiz-grid-field-column-clickable-hover-text-color:var(--ibiz-control-grid-body-cell-link-hover-color);--ibiz-grid-field-column-color:var(--ibiz-control-grid-body-cell-text-color);--ibiz-grid-field-column-font-size:var(--ibiz-control-grid-body-cell-font-size);--ibiz-grid-field-column-font-weight:var(--ibiz-control-grid-body-cell-font-weight);display:inline-flex;align-items:center;justify-content:var(--ibiz-grid-column-justify-content);width:100%;height:100%;padding:var(--ibiz-grid-field-column-cell-padding)}.ibiz-grid-field-column__text{font-size:var(--ibiz-grid-field-column-font-size);font-weight:var(--ibiz-grid-field-column-font-weight);color:var(--ibiz-grid-field-column-color)}.ibiz-grid-field-column--clickable .ibiz-grid-field-column__text{color:var(--ibiz-grid-field-column-clickable-text-color)}.ibiz-grid-field-column--clickable .ibiz-grid-field-column__text:hover{color:var(--ibiz-grid-field-column-clickable-hover-text-color)}.ibiz-grid-field-column--clickable{cursor:pointer}.ibiz-grid-field-column--ellipsis{overflow:hidden}.ibiz-grid-field-column--ellipsis .ibiz-grid-field-column-text-container{min-width:0}.ibiz-grid-field-column--ellipsis .ibiz-grid-field-column-toolbar-container{flex-shrink:0}.ibiz-grid-field-column--ellipsis .ibiz-grid-field-column__script{max-height:calc(var(--ibiz-control-grid-body-row-height) - 2 * var(--ibiz-grid-field-column-cell-padding));line-height:calc(var(--ibiz-control-grid-body-row-height) - 2 * var(--ibiz-grid-field-column-cell-padding))}.ibiz-grid-field-column--ellipsis .ibiz-grid-field-column__script *{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-grid-field-column--ellipsis span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-grid-field-column--wrap{word-break:break-word;white-space:pre-wrap}.ibiz-grid-field-column.is-has-action{justify-content:space-between}.ibiz-grid-field-column-text-container{display:inline-flex;flex-grow:1;align-items:center;justify-content:var(--ibiz-grid-column-justify-content);height:100%}.ibiz-grid-field-column-toolbar-container .ibiz-action-toolbar__item:not(.ibiz-action-toolbar__item--level-250){display:none}.ibiz-grid-field-column-toolbar-container .ibiz-action-toolbar__separator{display:none}.ibiz-grid-field-column-toolbar-container .ibiz-action-toolbar__item.is-group{display:inline-flex;opacity:0}.el-table .el-table__body-wrapper tr:hover .ibiz-action-toolbar__item{display:inline-flex;opacity:1}.el-table .el-table__body-wrapper tr:hover .ibiz-action-toolbar__separator{display:inline-flex;opacity:1}.el-table .el-table__body-wrapper tr .ibiz-action-toolbar__item.is-expand{display:inline-flex;opacity:1}
|
package/lib/control/map/map.cjs
CHANGED
|
@@ -71,6 +71,32 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
71
71
|
semanticClass,
|
|
72
72
|
semanticStyle
|
|
73
73
|
} = vue3Util.useSemanticNode(c);
|
|
74
|
+
const childClass = [{
|
|
75
|
+
class: semanticClass("editor.content"),
|
|
76
|
+
selector: ".ibiz-control-map__map"
|
|
77
|
+
}, {
|
|
78
|
+
class: semanticClass("editor.goback"),
|
|
79
|
+
selector: ".ibiz-map-chart-user__goback"
|
|
80
|
+
}, {
|
|
81
|
+
class: semanticClass("editor.goback"),
|
|
82
|
+
selector: ".ibiz-map-chart__goback"
|
|
83
|
+
}, {
|
|
84
|
+
class: semanticClass("editor.fullscreen"),
|
|
85
|
+
selector: ".ibiz-map-chart-user__fullscreen"
|
|
86
|
+
}];
|
|
87
|
+
const childStyle = [{
|
|
88
|
+
style: semanticStyle("editor.content"),
|
|
89
|
+
selector: ".ibiz-control-map__map"
|
|
90
|
+
}, {
|
|
91
|
+
style: semanticStyle("editor.goback"),
|
|
92
|
+
selector: ".ibiz-map-chart-user__goback"
|
|
93
|
+
}, {
|
|
94
|
+
style: semanticStyle("editor.goback"),
|
|
95
|
+
selector: ".ibiz-map-chart__goback"
|
|
96
|
+
}, {
|
|
97
|
+
style: semanticStyle("editor.fullscreen"),
|
|
98
|
+
selector: ".ibiz-map-chart-user__fullscreen"
|
|
99
|
+
}];
|
|
74
100
|
const mapOpts = vue.computed(() => {
|
|
75
101
|
return {
|
|
76
102
|
strAreaCode: c.state.strAreaCode,
|
|
@@ -84,6 +110,8 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
84
110
|
mapRef,
|
|
85
111
|
mapOpts,
|
|
86
112
|
mapStyle,
|
|
113
|
+
childClass,
|
|
114
|
+
childStyle,
|
|
87
115
|
semanticClass,
|
|
88
116
|
semanticStyle
|
|
89
117
|
};
|
|
@@ -101,15 +129,13 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
101
129
|
"options": this.mapOpts,
|
|
102
130
|
"areaData": state.areaData,
|
|
103
131
|
"pointData": state.pointData,
|
|
104
|
-
"
|
|
105
|
-
"class": [this.ns.e("map"), this.semanticClass("content")]
|
|
132
|
+
"class": this.ns.e("map")
|
|
106
133
|
}), null) : vue.createVNode(vue.resolveComponent("iBizMapChart"), vue.mergeProps(this.$attrs, {
|
|
107
134
|
"controller": this.c,
|
|
108
135
|
"options": this.mapOpts,
|
|
109
136
|
"areaData": state.areaData,
|
|
110
137
|
"pointData": state.pointData,
|
|
111
|
-
"
|
|
112
|
-
"class": [this.ns.e("map"), this.semanticClass("content")],
|
|
138
|
+
"class": this.ns.e("map"),
|
|
113
139
|
"onPointClick": (e) => {
|
|
114
140
|
this.c.onPointClick(e);
|
|
115
141
|
},
|
|
@@ -121,7 +147,7 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
121
147
|
return vue.createVNode(vue.resolveComponent("iBizControlNavigation"), {
|
|
122
148
|
"controller": this.c
|
|
123
149
|
}, {
|
|
124
|
-
default: () => [vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
150
|
+
default: () => [vue.withDirectives(vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
125
151
|
"controller": this.c,
|
|
126
152
|
"class": this.semanticClass("root"),
|
|
127
153
|
"style": this.semanticStyle("root")
|
|
@@ -137,7 +163,7 @@ const MapControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
137
163
|
"name": "eye-off-outline",
|
|
138
164
|
"onClick": () => this.c.onShowNavViewChange()
|
|
139
165
|
}, null) : null]
|
|
140
|
-
})]
|
|
166
|
+
}), [[vue.resolveDirective("child-class"), this.childClass], [vue.resolveDirective("child-style"), this.childStyle]])]
|
|
141
167
|
});
|
|
142
168
|
}
|
|
143
169
|
});
|
|
@@ -200,7 +200,7 @@ const IBizAutoComplete = /* @__PURE__ */ vue.defineComponent({
|
|
|
200
200
|
state: c.groupActionState[detail.id]
|
|
201
201
|
};
|
|
202
202
|
return vue.createVNode("div", {
|
|
203
|
-
"class": [ns.e("action-item"), ns.be("popper", "
|
|
203
|
+
"class": [ns.e("action-item"), ns.be("popper", "action"), semanticClass("editor.popup.action", semanticParams), ns.is("disabled", c.groupActionState[detail.id].disabled)],
|
|
204
204
|
"style": semanticStyle("editor.popup.action", semanticParams),
|
|
205
205
|
"onClick": (event) => c.onActionClick(detail, props.data, event),
|
|
206
206
|
"title": core.showTitle(detail.tooltip)
|
|
@@ -209,7 +209,7 @@ const IBizAutoComplete = /* @__PURE__ */ vue.defineComponent({
|
|
|
209
209
|
"class": [ns.em("action-item", "icon"), semanticClass("editor.popup.action.icon", semanticParams)],
|
|
210
210
|
"style": semanticStyle("editor.popup.action.icon", semanticParams)
|
|
211
211
|
}, null), vue.createVNode("span", {
|
|
212
|
-
"class": [ns.em("action-item", "caption"), semanticClass("editor.popup.action.label", semanticParams)],
|
|
212
|
+
"class": [ns.em("action-item", "label"), ns.em("action-item", "caption"), semanticClass("editor.popup.action.label", semanticParams)],
|
|
213
213
|
"style": semanticStyle("editor.popup.action.label", semanticParams)
|
|
214
214
|
}, [detail.showCaption ? detail.caption : ""])]);
|
|
215
215
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-autocomplete{--ibiz-autocomplete-font-size:var(--ibiz-form-item-font-size);--ibiz-autocomplete-text-color:var(--ibiz-form-item-text-color);--ibiz-autocomplete-line-height:var(--ibiz-form-item-line-height);--ibiz-autocomplete-empty-bg-color:var(--ibiz-color-bg-3);--ibiz-autocomplete-readonly-color:var(--ibiz-form-item-readonly-color);--ibiz-autocomplete-hover-edit-padding:var(--ibiz-form-item-hover-edit-padding);--ibiz-autocomplete-action-text-color:var(--ibiz-color-link);width:100%}.ibiz-autocomplete__transfer-item.is-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-autocomplete__action-item{color:var(--ibiz-autocomplete-action-text-color)
|
|
1
|
+
.ibiz-autocomplete{--ibiz-autocomplete-font-size:var(--ibiz-form-item-font-size);--ibiz-autocomplete-text-color:var(--ibiz-form-item-text-color);--ibiz-autocomplete-line-height:var(--ibiz-form-item-line-height);--ibiz-autocomplete-empty-bg-color:var(--ibiz-color-bg-3);--ibiz-autocomplete-readonly-color:var(--ibiz-form-item-readonly-color);--ibiz-autocomplete-disabled-color:var(--ibiz-form-item-disabled-color);--ibiz-autocomplete-hover-edit-padding:var(--ibiz-form-item-hover-edit-padding);--ibiz-autocomplete-action-text-color:var(--ibiz-color-link);width:100%}.ibiz-autocomplete__transfer-item.is-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-autocomplete__action-item{display:flex;align-items:center;justify-content:center;color:var(--ibiz-autocomplete-action-text-color)}.ibiz-autocomplete__action-item--icon{margin-right:var(--ibiz-spacing-extra-tight)}.ibiz-autocomplete__action-item.is-disabled{color:var(--ibiz-autocomplete-disabled-color);cursor:not-allowed}.ibiz-autocomplete__empty{padding:0;--ibiz-no-data-min-height:100px;--el-empty-image-width:100px}.ibiz-autocomplete__suffix{cursor:pointer;visibility:inherit;transition:var(--el-transition-duration);transform:rotate(0)}.ibiz-autocomplete__suffix.is-reverse{transform:rotate(-180deg)}.ibiz-autocomplete__transfer{--ibiz-autocomplete-font-size:var(--ibiz-form-item-font-size);--ibiz-autocomplete-text-color:var(--ibiz-form-item-text-color);--ibiz-autocomplete-line-height:var(--ibiz-form-item-line-height);--ibiz-autocomplete-empty-bg-color:var(--ibiz-color-bg-3);--ibiz-autocomplete-readonly-color:var(--ibiz-form-item-readonly-color);--ibiz-autocomplete-disabled-color:var(--ibiz-form-item-disabled-color);--ibiz-autocomplete-hover-edit-padding:var(--ibiz-form-item-hover-edit-padding);--ibiz-autocomplete-action-text-color:var(--ibiz-color-link)}.ibiz-autocomplete__transfer.is-empty .el-autocomplete-suggestion li{padding:0}.ibiz-autocomplete__transfer.is-empty .ibiz-no-data{background-color:var(--ibiz-autocomplete-empty-bg-color)}.ibiz-autocomplete .ibiz-autocomplete-input{width:100%}.ibiz-autocomplete--readonly{font-size:var(--ibiz-autocomplete-font-size);line-height:var(--ibiz-autocomplete-line-height);color:var(--ibiz-autocomplete-readonly-color)}.ibiz-autocomplete .el-autocomplete{vertical-align:middle}.ibiz-autocomplete-form-default-content{display:none}.ibiz-form-item .ibiz-autocomplete.is-show-default:hover .ibiz-autocomplete-form-default-content{display:none}.ibiz-form-item .ibiz-autocomplete.is-show-default:hover .ibiz-autocomplete-input{display:block}.ibiz-form-item .ibiz-autocomplete.is-show-default .ibiz-autocomplete-form-default-content{display:flex;align-items:center;width:100%;padding:var(--ibiz-autocomplete-hover-edit-padding);font-family:Arial,sans-serif;font-size:var(--ibiz-autocomplete-font-size);line-height:var(--ibiz-autocomplete-line-height);color:var(--ibiz-autocomplete-text-color)}.ibiz-form-item .ibiz-autocomplete.is-show-default .ibiz-autocomplete-input{display:none}.ibiz-form-item .ibiz-autocomplete.is-show-default.is-editable .ibiz-autocomplete-form-default-content{display:none}.ibiz-form-item .ibiz-autocomplete.is-show-default.is-editable .ibiz-autocomplete-input{display:block}
|
|
@@ -134,7 +134,7 @@ const IBizColorMPickerDefault = /* @__PURE__ */ vue.defineComponent({
|
|
|
134
134
|
};
|
|
135
135
|
},
|
|
136
136
|
render() {
|
|
137
|
-
var _a, _b;
|
|
137
|
+
var _a, _b, _c, _d, _e, _f;
|
|
138
138
|
return vue.withDirectives(vue.createVNode("div", {
|
|
139
139
|
"style": (_a = this.semanticStyle) == null ? void 0 : _a.call(this, "editor.root"),
|
|
140
140
|
"class": [this.ns.b(), (_b = this.semanticClass) == null ? void 0 : _b.call(this, "editor.root")]
|
|
@@ -142,7 +142,8 @@ const IBizColorMPickerDefault = /* @__PURE__ */ vue.defineComponent({
|
|
|
142
142
|
"modelValue": this.curType,
|
|
143
143
|
"onUpdate:modelValue": ($event) => this.curType = $event,
|
|
144
144
|
"class": this.ns.b("picker"),
|
|
145
|
-
"popper-class": this.ns.b("popper"),
|
|
145
|
+
"popper-class": [this.ns.b("popper"), (_c = this.semanticClass) == null ? void 0 : _c.call(this, "editor.popup")],
|
|
146
|
+
"popper-style": (_d = this.semanticStyle) == null ? void 0 : _d.call(this, "editor.popup"),
|
|
146
147
|
"onChange": this.handleSchemeChange
|
|
147
148
|
}, {
|
|
148
149
|
default: () => {
|
|
@@ -163,7 +164,8 @@ const IBizColorMPickerDefault = /* @__PURE__ */ vue.defineComponent({
|
|
|
163
164
|
}
|
|
164
165
|
}), this.showTemplateList && vue.createVNode(vue.resolveComponent("el-select"), {
|
|
165
166
|
"class": this.ns.b("template-color-picker"),
|
|
166
|
-
"popper-class": this.ns.b("popper"),
|
|
167
|
+
"popper-class": [this.ns.b("popper"), (_e = this.semanticClass) == null ? void 0 : _e.call(this, "editor.popup")],
|
|
168
|
+
"popper-style": (_f = this.semanticStyle) == null ? void 0 : _f.call(this, "editor.popup"),
|
|
167
169
|
"modelValue": this.curTemplateColor,
|
|
168
170
|
"onUpdate:modelValue": ($event) => this.curTemplateColor = $event,
|
|
169
171
|
"onChange": this.handleTemplateColorChange
|
|
@@ -367,7 +367,7 @@ const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
367
367
|
"value": "DEUIACTION-".concat(item.id),
|
|
368
368
|
"disabled": c.groupActionState[item.id].disabled,
|
|
369
369
|
"title": core.showTitle(isEllipsis ? item.tooltip : ""),
|
|
370
|
-
"class": [ns.be("popper", "
|
|
370
|
+
"class": [ns.be("popper", "action"), semanticClass("editor.popup.action")],
|
|
371
371
|
"style": semanticStyle("editor.popup.action")
|
|
372
372
|
}, {
|
|
373
373
|
default: () => vue.createVNode("div", {
|
|
@@ -381,7 +381,7 @@ const IBizMPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
381
381
|
"class": [ns.em("action-item", "icon"), semanticClass("editor.popup.action.icon", semanticParams)],
|
|
382
382
|
"style": semanticStyle("editor.popup.action.icon", semanticParams)
|
|
383
383
|
}, null), vue.createVNode("span", {
|
|
384
|
-
"class": [ns.em("action-item", "caption"), semanticClass("editor.popup.action.label", semanticParams)],
|
|
384
|
+
"class": [ns.em("action-item", "caption"), ns.em("action-item", "label"), semanticClass("editor.popup.action.label", semanticParams)],
|
|
385
385
|
"style": semanticStyle("editor.popup.action.label", semanticParams)
|
|
386
386
|
}, [item.showCaption ? item.caption : ""])])
|
|
387
387
|
});
|
|
@@ -342,7 +342,7 @@ const IBizPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
342
342
|
};
|
|
343
343
|
return vue.createVNode("div", {
|
|
344
344
|
"title": core.showTitle(detail.tooltip),
|
|
345
|
-
"class": [ns.e("action-item"), ns.be("popper", "
|
|
345
|
+
"class": [ns.e("action-item"), ns.be("popper", "action"), semanticClass("editor.popup.action", semanticParams), ns.is("disabled", c.groupActionState[detail.id].disabled)],
|
|
346
346
|
"style": semanticStyle("editor.popup.action", semanticParams),
|
|
347
347
|
"onClick": (event) => {
|
|
348
348
|
if (!c.groupActionState[detail.id].disabled)
|
|
@@ -353,7 +353,7 @@ const IBizPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
353
353
|
"class": [ns.em("action-item", "icon"), semanticClass("editor.popup.action.icon", semanticParams)],
|
|
354
354
|
"style": semanticStyle("editor.popup.action.icon", semanticParams)
|
|
355
355
|
}, null), vue.createVNode("span", {
|
|
356
|
-
"class": [ns.em("action-item", "caption"), semanticClass("editor.popup.action.label", semanticParams)],
|
|
356
|
+
"class": [ns.em("action-item", "label"), ns.em("action-item", "caption"), semanticClass("editor.popup.action.label", semanticParams)],
|
|
357
357
|
"style": semanticStyle("editor.popup.action.label", semanticParams)
|
|
358
358
|
}, [detail.showCaption ? detail.caption : ""])]);
|
|
359
359
|
};
|