@ibiz-template/vue3-components 0.5.7-alpha.5 → 0.5.7-alpha.6
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-CzVC8rhd.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-74o5wGKy.js → xlsx-util-TVsJdNUI.js} +1 -1
- package/es/common/grid-setting/grid-setting.css +1 -1
- package/es/common/grid-setting/grid-setting.mjs +23 -4
- package/es/control/calendar/calendar.mjs +1 -1
- package/es/control/data-view/data-view.mjs +3 -2
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +32 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/es/index.d.ts +0 -1
- package/es/index.mjs +0 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/util/app-drawer/app-drawer-component.mjs +3 -2
- package/es/util/app-modal/app-modal-component.mjs +11 -2
- package/es/util/app-popover/app-popover-component.mjs +25 -2
- package/es/util/notification-util/notification-util.mjs +1 -0
- package/es/util/open-view-util/open-view-util.mjs +8 -1
- package/es/view-engine/report-view.engine.d.ts +19 -0
- package/es/view-engine/report-view.engine.mjs +37 -10
- package/es/view-engine/tab-exp-view.engine.mjs +3 -3
- package/lib/common/grid-setting/grid-setting.cjs +23 -4
- package/lib/common/grid-setting/grid-setting.css +1 -1
- package/lib/control/calendar/calendar.cjs +1 -1
- package/lib/control/data-view/data-view.cjs +3 -2
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/search-bar/search-groups/search-groups.cjs +2 -2
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +31 -0
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +2 -2
- package/lib/index.cjs +181 -183
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +2 -2
- package/lib/util/app-drawer/app-drawer-component.cjs +3 -2
- package/lib/util/app-modal/app-modal-component.cjs +11 -2
- package/lib/util/app-popover/app-popover-component.cjs +24 -1
- package/lib/util/confirm-util/confirm-util.cjs +5 -5
- package/lib/util/loading-util/loading-util.cjs +2 -2
- package/lib/util/message-util/message-util.cjs +5 -5
- package/lib/util/modal-util/modal-util.cjs +6 -6
- package/lib/util/notice-util/notice-util.cjs +3 -3
- package/lib/util/notification-util/notification-util.cjs +3 -2
- package/lib/util/open-view-util/open-view-util.cjs +8 -1
- package/lib/view-engine/report-view.engine.cjs +36 -9
- package/lib/view-engine/tab-exp-view.engine.cjs +2 -2
- package/package.json +5 -5
- package/dist/index--KqYDzjn.js +0 -2
- package/es/devtool/devtool-action.css +0 -1
- package/es/devtool/devtool-action.d.ts +0 -26
- package/es/devtool/devtool-action.mjs +0 -219
- package/es/devtool/index.d.ts +0 -50
- package/es/devtool/index.mjs +0 -81
- package/es/devtool/interface/devtool-event.d.ts +0 -12
- package/es/devtool/interface/devtool-event.mjs +0 -1
- package/es/devtool/interface/devtool-view.d.ts +0 -15
- package/es/devtool/interface/devtool-view.mjs +0 -1
- package/es/node_modules/.pnpm/element-plus@2.4.2_vue@3.3.8/node_modules/element-plus/dist/locale/zh-cn.mjs +0 -131
- package/lib/devtool/devtool-action.cjs +0 -221
- package/lib/devtool/devtool-action.css +0 -1
- package/lib/devtool/index.cjs +0 -84
- package/lib/devtool/interface/devtool-event.cjs +0 -3
- package/lib/devtool/interface/devtool-view.cjs +0 -3
- package/lib/node_modules/.pnpm/element-plus@2.4.2_vue@3.3.8/node_modules/element-plus/dist/locale/zh-cn.cjs +0 -135
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-grid-setting-column-states{max-height:500px;overflow-y:auto}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state{display:flex;align-items:center;justify-content:flex-start;padding:var(--ibiz-spacing-extra-tight) 0;font-size:var(--ibiz-font-size-regular);cursor:pointer}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state
|
|
1
|
+
.ibiz-grid-setting-column-states{width:100%;max-height:500px;overflow-y:auto}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:var(--ibiz-spacing-extra-tight) 0;font-size:var(--ibiz-font-size-regular);cursor:pointer}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state ion-icon{display:inline-block;width:var(--ibiz-font-size-small);margin-right:var(--ibiz-spacing-extra-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-drag-icon{color:var(--ibiz-color-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-enable-icon{color:var(--ibiz-color-success)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-disable-icon{display:none;color:var(--ibiz-color-danger)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-state-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-enable-icon{display:none}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-disable-icon{display:block}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-state-caption{color:var(--ibiz-color-disabled-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state-ghost{background-color:var(--ibiz-color-primary-light-default);opacity:.5}.ibiz-grid-setting-set-icon{color:var(--ibiz-color-primary);cursor:pointer}
|
|
@@ -60,7 +60,8 @@ const IBizGridSetting = /* @__PURE__ */ defineComponent({
|
|
|
60
60
|
render() {
|
|
61
61
|
return createVNode(resolveComponent("el-popover"), {
|
|
62
62
|
"placement": "right-start",
|
|
63
|
-
"trigger": "click"
|
|
63
|
+
"trigger": "click",
|
|
64
|
+
"width": "auto"
|
|
64
65
|
}, {
|
|
65
66
|
reference: () => {
|
|
66
67
|
return createVNode("ion-icon", {
|
|
@@ -89,9 +90,27 @@ const IBizGridSetting = /* @__PURE__ */ defineComponent({
|
|
|
89
90
|
return createVNode("div", {
|
|
90
91
|
"class": [this.ns.b("column-state"), this.ns.is("disabled", state.hidden), this.ns.is("fixed", !!state.fixed), !!state.fixed && "unmover"],
|
|
91
92
|
"onClick": () => this.handleClick(state)
|
|
92
|
-
}, [this.isDraggable && !state.fixed && createVNode("
|
|
93
|
-
"
|
|
94
|
-
|
|
93
|
+
}, [this.isDraggable && !state.fixed && createVNode(resolveComponent("iBizIcon"), {
|
|
94
|
+
"class": this.ns.b("drag-icon"),
|
|
95
|
+
"icon": {
|
|
96
|
+
imagePath: "svg/drag.svg"
|
|
97
|
+
},
|
|
98
|
+
"baseDir": "iconfont"
|
|
99
|
+
}, null), createVNode(resolveComponent("iBizIcon"), {
|
|
100
|
+
"class": this.ns.b("disable-icon"),
|
|
101
|
+
"icon": {
|
|
102
|
+
imagePath: "svg/disable.svg"
|
|
103
|
+
},
|
|
104
|
+
"baseDir": "iconfont"
|
|
105
|
+
}, null), createVNode(resolveComponent("iBizIcon"), {
|
|
106
|
+
"class": this.ns.b("enable-icon"),
|
|
107
|
+
"icon": {
|
|
108
|
+
imagePath: "svg/enable.svg"
|
|
109
|
+
},
|
|
110
|
+
"baseDir": "iconfont"
|
|
111
|
+
}, null), createVNode("div", {
|
|
112
|
+
"class": this.ns.b("state-caption")
|
|
113
|
+
}, [state.caption])]);
|
|
95
114
|
}
|
|
96
115
|
});
|
|
97
116
|
}
|
|
@@ -107,7 +107,7 @@ const CalendarControl = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
"style": style,
|
|
108
108
|
"onClick": () => this.c.onRowClick(item),
|
|
109
109
|
"onDblclick": () => this.c.onDbRowClick(item)
|
|
110
|
-
}, [
|
|
110
|
+
}, [item.text]);
|
|
111
111
|
};
|
|
112
112
|
const renderCalendarList = (items) => {
|
|
113
113
|
return items.map((item) => {
|
|
@@ -141,10 +141,11 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
141
141
|
cardColXS,
|
|
142
142
|
cardColSM,
|
|
143
143
|
cardColMD,
|
|
144
|
-
cardColLG
|
|
144
|
+
cardColLG,
|
|
145
|
+
groupSysCss
|
|
145
146
|
} = c.model;
|
|
146
147
|
return createVNode("div", {
|
|
147
|
-
"class": ns.be("group-content", "item")
|
|
148
|
+
"class": [ns.be("group-content", "item"), groupSysCss == null ? void 0 : groupSysCss.cssName]
|
|
148
149
|
}, [createVNode("div", {
|
|
149
150
|
"class": ns.be("group-content", "item-header")
|
|
150
151
|
}, [createVNode("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-drtab__counter{margin-left:8px}
|
|
1
|
+
.ibiz-control-drtab__counter{margin-left:8px}.ibiz-control-drtab .el-tabs .el-tabs__header{margin:0}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap{margin:0}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__active-bar{background-color:var(--ibiz-color-primary)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item{font-size:var(--ibiz-font-size-regular);color:var(--ibiz-color-text-2)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item:hover{color:var(--ibiz-color-text-0)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item.is-active{color:var(--ibiz-color-primary)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item.is-top:last-child{padding-right:0}.ibiz-control-drtab .el-tabs.el-tabs--bottom,.ibiz-control-drtab .el-tabs.el-tabs--top{padding-left:var(--ibiz-spacing-base)}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { isVNode, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
1
|
+
import { isVNode, watch, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './tab-exp-panel.css';
|
|
4
4
|
import { TabExpPanelController } from '@ibiz-template/runtime';
|
|
5
|
+
import { useRoute } from 'vue-router';
|
|
5
6
|
|
|
6
7
|
"use strict";
|
|
7
8
|
function _isSlot(s) {
|
|
@@ -38,6 +39,36 @@ const TabExpPanelControl = /* @__PURE__ */ defineComponent({
|
|
|
38
39
|
c.handleTabChange();
|
|
39
40
|
};
|
|
40
41
|
const tabPosition = ((_a = c.view.model.tabLayout) == null ? void 0 : _a.toLowerCase()) || "top";
|
|
42
|
+
const route = useRoute();
|
|
43
|
+
watch(() => route.fullPath, (newVal, oldVal) => {
|
|
44
|
+
if (newVal !== oldVal) {
|
|
45
|
+
const viewCodeName = c.view.model.codeName.toLowerCase();
|
|
46
|
+
const viewRouteKey = Object.keys(route.params).find((key) => {
|
|
47
|
+
return route.params[key] === viewCodeName;
|
|
48
|
+
});
|
|
49
|
+
if (!viewRouteKey) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
const nextKeyNumber = (parseInt(viewRouteKey[viewRouteKey.length - 1], 10) + 2) * 2;
|
|
53
|
+
const tempFullPath = route.fullPath.split("/").slice(0, nextKeyNumber).join("/");
|
|
54
|
+
c.state.tabPages.forEach((page) => {
|
|
55
|
+
if (page.fullPath === tempFullPath) {
|
|
56
|
+
c.state.activeName = page.tabTag;
|
|
57
|
+
c.handleTabChange();
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (c.state.activeName) {
|
|
61
|
+
const currentPage = c.state.tabPages.find((page) => {
|
|
62
|
+
return page.tabTag === c.state.activeName;
|
|
63
|
+
});
|
|
64
|
+
if (currentPage) {
|
|
65
|
+
currentPage.fullPath = tempFullPath;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}, {
|
|
70
|
+
immediate: true
|
|
71
|
+
});
|
|
41
72
|
return {
|
|
42
73
|
c,
|
|
43
74
|
ns,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-date-range-picker .el-date-editor{width:100%;line-height:var(--ibiz-editor-default-line-height);display:flex;align-items:center;justify-content:flex-start}.ibiz-date-range-picker .el-date-editor .el-range-input{color:var(--ibiz-form-item-text-color)}.ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-input{display:flex}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content{display:flex;align-items:center;width:100%;font-family:Arial,sans-serif;font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-text-color)}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content .ibiz-date-range-picker-default-input{box-shadow:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-
|
|
1
|
+
.ibiz-date-range-picker .el-date-editor{width:100%;line-height:var(--ibiz-editor-default-line-height);display:flex;align-items:center;justify-content:flex-start}.ibiz-date-range-picker .el-date-editor .el-range-input{color:var(--ibiz-form-item-text-color)}.ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-input{display:flex}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content{display:flex;align-items:center;width:100%;font-family:Arial,sans-serif;font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-text-color)}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content .ibiz-date-range-picker-default-input{box-shadow:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-input{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default.is-editable .ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default.is-editable .ibiz-date-range-picker-input{display:flex}
|
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -8,7 +8,6 @@ import { iBizI18n } from './locale/index.mjs';
|
|
|
8
8
|
export { i18n } from './locale/index.mjs';
|
|
9
9
|
import { IBizViewEngine } from './view-engine/index.mjs';
|
|
10
10
|
import './util/index.mjs';
|
|
11
|
-
export { devtool } from './devtool/index.mjs';
|
|
12
11
|
import { IBizWFStepTraceView } from './view/wf-step-trace-view/index.mjs';
|
|
13
12
|
import { IBizSubAppRefView } from './view/sub-app-ref-view/index.mjs';
|
|
14
13
|
import { IBizDataViewControl } from './control/data-view/index.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-user-info{--ibiz-user-info-padding:0 var(--ibiz-spacing-loose);--ibiz-user-info-color:var(--ibiz-color-text-0);display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}.ibiz-user-info .el-dropdown{width:100%;padding:var(--ibiz-user-info-padding);cursor:pointer}.ibiz-user-info.is-left .ibiz-user-info__down{position:relative;top:12px}.ibiz-user-info.is-top .ibiz-user-info__down{margin-left:35px}.ibiz-user-info.is-top .ibiz-user-info-avatar{max-width:24px;max-height:24px}.ibiz-user-info.is-collapse .el-dropdown{padding:0 var(--ibiz-spacing-base-tight)}.ibiz-user-info.is-collapse .ibiz-user-info-avatar{max-width:32px;max-height:32px;margin:0}.ibiz-user-info-avatar{max-width:44px;max-height:44px;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-name__user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px;font-size:var(--ibiz-font-size-header-6)}.ibiz-user-info-name__person-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px;margin-top:10px;font-size:var(--ibiz-font-size-small)}.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
|
+
.ibiz-user-info{--ibiz-user-info-padding:0 var(--ibiz-spacing-loose);--ibiz-user-info-color:var(--ibiz-color-text-0);display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}.ibiz-user-info .el-dropdown{width:100%;padding:var(--ibiz-user-info-padding);cursor:pointer}.ibiz-user-info.is-left .ibiz-user-info__down{position:relative;top:12px}.ibiz-user-info.is-top .ibiz-user-info__down{margin-left:35px}.ibiz-user-info.is-top .ibiz-user-info-avatar{max-width:24px;max-height:24px}.ibiz-user-info.is-collapse .el-dropdown{padding:0 var(--ibiz-spacing-base-tight)}.ibiz-user-info.is-collapse .ibiz-user-info-avatar{max-width:32px;max-height:32px;margin:0}.ibiz-user-info-avatar{max-width:44px;max-height:44px;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-name__user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px;font-size:var(--ibiz-font-size-header-6);line-height:1.3}.ibiz-user-info-name__person-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px;margin-top:10px;font-size:var(--ibiz-font-size-small);line-height:1.2}.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}
|
|
@@ -3,6 +3,7 @@ import { useNamespace, useUIStore, OverlayContainer } from '@ibiz-template/vue3-
|
|
|
3
3
|
import { ViewMode, Modal } from '@ibiz-template/runtime';
|
|
4
4
|
import { isNumber } from 'lodash-es';
|
|
5
5
|
import './app-drawer-component.css';
|
|
6
|
+
import { calcOpenModeStyle } from '@ibiz-template/core';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
const AppDrawerComponent = /* @__PURE__ */ defineComponent({
|
|
@@ -28,14 +29,14 @@ const AppDrawerComponent = /* @__PURE__ */ defineComponent({
|
|
|
28
29
|
} = props.opts;
|
|
29
30
|
if (placement === "top" || placement === "bottom") {
|
|
30
31
|
if (isNumber(height)) {
|
|
31
|
-
size.value = height;
|
|
32
|
+
size.value = calcOpenModeStyle(height, "drawer");
|
|
32
33
|
} else {
|
|
33
34
|
size.value = "100%";
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
if (placement === "left" || placement === "right") {
|
|
37
38
|
if (isNumber(width)) {
|
|
38
|
-
size.value = width;
|
|
39
|
+
size.value = calcOpenModeStyle(width, "drawer");
|
|
39
40
|
} else {
|
|
40
41
|
size.value = 800;
|
|
41
42
|
}
|
|
@@ -3,6 +3,7 @@ import { useNamespace, useUIStore, OverlayContainer } from '@ibiz-template/vue3-
|
|
|
3
3
|
import { isNumber } from 'lodash-es';
|
|
4
4
|
import { ViewMode, Modal } from '@ibiz-template/runtime';
|
|
5
5
|
import './app-modal-component.css';
|
|
6
|
+
import { calcOpenModeStyle } from '@ibiz-template/core';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
const AppModalComponent = /* @__PURE__ */ defineComponent({
|
|
@@ -26,10 +27,18 @@ const AppModalComponent = /* @__PURE__ */ defineComponent({
|
|
|
26
27
|
height
|
|
27
28
|
} = props.opts;
|
|
28
29
|
if (width) {
|
|
29
|
-
|
|
30
|
+
if (isNumber(width)) {
|
|
31
|
+
customStyle.width = calcOpenModeStyle(width, "modal");
|
|
32
|
+
} else {
|
|
33
|
+
customStyle.width = width;
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
if (height) {
|
|
32
|
-
|
|
37
|
+
if (isNumber(height)) {
|
|
38
|
+
customStyle.height = calcOpenModeStyle(height, "modal");
|
|
39
|
+
} else {
|
|
40
|
+
customStyle.height = height;
|
|
41
|
+
}
|
|
33
42
|
}
|
|
34
43
|
const options = ref({
|
|
35
44
|
footerHide: true,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ref, onUnmounted, createVNode, defineComponent } from 'vue';
|
|
1
|
+
import { ref, reactive, onUnmounted, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import { offset, flip, shift, arrow, computePosition, autoUpdate } from '@floating-ui/dom';
|
|
3
3
|
import { ViewMode, Modal } from '@ibiz-template/runtime';
|
|
4
4
|
import { useNamespace, useUIStore, OverlayPopoverContainer } from '@ibiz-template/vue3-util';
|
|
5
5
|
import './app-popover-component.css';
|
|
6
|
+
import { isNumber } from 'lodash-es';
|
|
7
|
+
import { calcOpenModeStyle } from '@ibiz-template/core';
|
|
6
8
|
|
|
7
9
|
"use strict";
|
|
8
10
|
async function computePos(element, el, arrEl, opts) {
|
|
@@ -70,6 +72,25 @@ const AppPopoverComponent = /* @__PURE__ */ defineComponent({
|
|
|
70
72
|
zIndex
|
|
71
73
|
} = useUIStore();
|
|
72
74
|
const popoverZIndex = zIndex.increment();
|
|
75
|
+
const customStyle = reactive({});
|
|
76
|
+
const {
|
|
77
|
+
width,
|
|
78
|
+
height
|
|
79
|
+
} = props.opts;
|
|
80
|
+
if (width) {
|
|
81
|
+
if (isNumber(width)) {
|
|
82
|
+
customStyle.width = calcOpenModeStyle(width, "popover");
|
|
83
|
+
} else {
|
|
84
|
+
customStyle.width = width;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
if (height) {
|
|
88
|
+
if (isNumber(height)) {
|
|
89
|
+
customStyle.height = calcOpenModeStyle(height, "popover");
|
|
90
|
+
} else {
|
|
91
|
+
customStyle.height = height;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
73
94
|
const modal = new Modal({
|
|
74
95
|
mode: ViewMode.POPOVER,
|
|
75
96
|
viewUsage: 2,
|
|
@@ -107,7 +128,8 @@ const AppPopoverComponent = /* @__PURE__ */ defineComponent({
|
|
|
107
128
|
popoverZIndex,
|
|
108
129
|
onMaskClick,
|
|
109
130
|
present,
|
|
110
|
-
dismiss
|
|
131
|
+
dismiss,
|
|
132
|
+
customStyle
|
|
111
133
|
};
|
|
112
134
|
},
|
|
113
135
|
render() {
|
|
@@ -115,6 +137,7 @@ const AppPopoverComponent = /* @__PURE__ */ defineComponent({
|
|
|
115
137
|
const content = createVNode("div", {
|
|
116
138
|
"class": [this.ns.b(), this.ns.is("show", this.isShow)],
|
|
117
139
|
"ref": "el",
|
|
140
|
+
"style": this.customStyle,
|
|
118
141
|
"onClick": (e) => {
|
|
119
142
|
e.stopPropagation();
|
|
120
143
|
}
|
|
@@ -57,6 +57,13 @@ class OpenViewUtil {
|
|
|
57
57
|
}
|
|
58
58
|
async popover(appViewId, event, context, params, options = {}) {
|
|
59
59
|
const appView = await ibiz.hub.config.view.get(appViewId);
|
|
60
|
+
const opts = {
|
|
61
|
+
width: appView.width,
|
|
62
|
+
height: appView.height,
|
|
63
|
+
autoClose: true,
|
|
64
|
+
placement: "bottom",
|
|
65
|
+
...options
|
|
66
|
+
};
|
|
60
67
|
return openViewPopover(
|
|
61
68
|
event,
|
|
62
69
|
{
|
|
@@ -64,7 +71,7 @@ class OpenViewUtil {
|
|
|
64
71
|
params,
|
|
65
72
|
viewId: appView.id
|
|
66
73
|
},
|
|
67
|
-
|
|
74
|
+
opts
|
|
68
75
|
);
|
|
69
76
|
}
|
|
70
77
|
/**
|
|
@@ -87,6 +87,25 @@ export declare class ReportViewEngine extends ViewEngineBase {
|
|
|
87
87
|
* @memberof ReportViewEngine
|
|
88
88
|
*/
|
|
89
89
|
protected calcViewHeaderVisible(): boolean;
|
|
90
|
+
/**
|
|
91
|
+
* 计算搜索栏显示
|
|
92
|
+
*
|
|
93
|
+
* @author zk
|
|
94
|
+
* @date 2024-01-29 05:01:36
|
|
95
|
+
* @protected
|
|
96
|
+
* @return {*} {boolean}
|
|
97
|
+
* @memberof MDViewEngine
|
|
98
|
+
*/
|
|
99
|
+
protected calcViewSearchBarVisible(): boolean;
|
|
100
|
+
/**
|
|
101
|
+
* 计算移除的模型名称
|
|
102
|
+
*
|
|
103
|
+
* @author zk
|
|
104
|
+
* @date 2024-01-29 03:01:42
|
|
105
|
+
* @return {*} {string[]}
|
|
106
|
+
* @memberof MDViewEngine
|
|
107
|
+
*/
|
|
108
|
+
calcRemoveLayoutModel(): string[];
|
|
90
109
|
/**
|
|
91
110
|
* 切换搜索表单的显示与否
|
|
92
111
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewEngineBase, SysUIActionTag } from '@ibiz-template/runtime';
|
|
1
|
+
import { ViewEngineBase, SysUIActionTag, getControl } from '@ibiz-template/runtime';
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
4
|
class ReportViewEngine extends ViewEngineBase {
|
|
@@ -149,16 +149,43 @@ class ReportViewEngine extends ViewEngineBase {
|
|
|
149
149
|
* @memberof ReportViewEngine
|
|
150
150
|
*/
|
|
151
151
|
calcViewHeaderVisible() {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
152
|
+
const showHeader = super.calcViewHeaderVisible();
|
|
153
|
+
const visible = this.calcViewSearchBarVisible();
|
|
154
|
+
return visible || showHeader;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* 计算搜索栏显示
|
|
158
|
+
*
|
|
159
|
+
* @author zk
|
|
160
|
+
* @date 2024-01-29 05:01:36
|
|
161
|
+
* @protected
|
|
162
|
+
* @return {*} {boolean}
|
|
163
|
+
* @memberof MDViewEngine
|
|
164
|
+
*/
|
|
165
|
+
calcViewSearchBarVisible() {
|
|
166
|
+
const { model } = this.view;
|
|
167
|
+
const has = this.isExistAndInLayout("searchbar");
|
|
168
|
+
if (!has) {
|
|
169
|
+
return has;
|
|
170
|
+
}
|
|
171
|
+
const searchBar = getControl(model, "searchbar");
|
|
172
|
+
const visible = !!(searchBar.enableQuickSearch || searchBar.enableGroup || searchBar.enableFilter === true);
|
|
173
|
+
return visible;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* 计算移除的模型名称
|
|
177
|
+
*
|
|
178
|
+
* @author zk
|
|
179
|
+
* @date 2024-01-29 03:01:42
|
|
180
|
+
* @return {*} {string[]}
|
|
181
|
+
* @memberof MDViewEngine
|
|
182
|
+
*/
|
|
183
|
+
calcRemoveLayoutModel() {
|
|
184
|
+
const names = super.calcRemoveLayoutModel();
|
|
185
|
+
if (!this.calcViewSearchBarVisible()) {
|
|
186
|
+
names.push("view_searchbar");
|
|
160
187
|
}
|
|
161
|
-
return
|
|
188
|
+
return names;
|
|
162
189
|
}
|
|
163
190
|
/**
|
|
164
191
|
* 切换搜索表单的显示与否
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelError } from '@ibiz-template/core';
|
|
2
|
-
import { ViewEngineBase, calcDeCodeNameById } from '@ibiz-template/runtime';
|
|
2
|
+
import { ViewEngineBase, calcDeCodeNameById, getControl } from '@ibiz-template/runtime';
|
|
3
3
|
|
|
4
4
|
"use strict";
|
|
5
5
|
class TabExpViewEngine extends ViewEngineBase {
|
|
@@ -20,6 +20,7 @@ class TabExpViewEngine extends ViewEngineBase {
|
|
|
20
20
|
*/
|
|
21
21
|
async onCreated() {
|
|
22
22
|
var _a;
|
|
23
|
+
this.preprocessTabExpModelLayout();
|
|
23
24
|
await super.onCreated();
|
|
24
25
|
const { childNames, model } = this.view;
|
|
25
26
|
childNames.push("tabexppanel");
|
|
@@ -31,7 +32,6 @@ class TabExpViewEngine extends ViewEngineBase {
|
|
|
31
32
|
(item) => item.id === "srfdefaultnav"
|
|
32
33
|
)) == null ? void 0 : _a.value;
|
|
33
34
|
this.view.slotProps.tabexppanel.defaultTabName = this.view.state.srfnav || srfdefaultnav;
|
|
34
|
-
this.preprocessTabExpModelLayout();
|
|
35
35
|
}
|
|
36
36
|
async onMounted() {
|
|
37
37
|
await super.onMounted();
|
|
@@ -142,7 +142,7 @@ class TabExpViewEngine extends ViewEngineBase {
|
|
|
142
142
|
calcViewHeaderVisible() {
|
|
143
143
|
let showHeader = super.calcViewHeaderVisible();
|
|
144
144
|
const { tabLayout } = this.view.model;
|
|
145
|
-
if (
|
|
145
|
+
if (tabLayout === void 0 || tabLayout === "TOP" && getControl(this.view.model, "tabexppanel")) {
|
|
146
146
|
showHeader = true;
|
|
147
147
|
}
|
|
148
148
|
return showHeader;
|
|
@@ -62,7 +62,8 @@ const IBizGridSetting = /* @__PURE__ */ vue.defineComponent({
|
|
|
62
62
|
render() {
|
|
63
63
|
return vue.createVNode(vue.resolveComponent("el-popover"), {
|
|
64
64
|
"placement": "right-start",
|
|
65
|
-
"trigger": "click"
|
|
65
|
+
"trigger": "click",
|
|
66
|
+
"width": "auto"
|
|
66
67
|
}, {
|
|
67
68
|
reference: () => {
|
|
68
69
|
return vue.createVNode("ion-icon", {
|
|
@@ -91,9 +92,27 @@ const IBizGridSetting = /* @__PURE__ */ vue.defineComponent({
|
|
|
91
92
|
return vue.createVNode("div", {
|
|
92
93
|
"class": [this.ns.b("column-state"), this.ns.is("disabled", state.hidden), this.ns.is("fixed", !!state.fixed), !!state.fixed && "unmover"],
|
|
93
94
|
"onClick": () => this.handleClick(state)
|
|
94
|
-
}, [this.isDraggable && !state.fixed && vue.createVNode("
|
|
95
|
-
"
|
|
96
|
-
|
|
95
|
+
}, [this.isDraggable && !state.fixed && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
96
|
+
"class": this.ns.b("drag-icon"),
|
|
97
|
+
"icon": {
|
|
98
|
+
imagePath: "svg/drag.svg"
|
|
99
|
+
},
|
|
100
|
+
"baseDir": "iconfont"
|
|
101
|
+
}, null), vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
102
|
+
"class": this.ns.b("disable-icon"),
|
|
103
|
+
"icon": {
|
|
104
|
+
imagePath: "svg/disable.svg"
|
|
105
|
+
},
|
|
106
|
+
"baseDir": "iconfont"
|
|
107
|
+
}, null), vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
108
|
+
"class": this.ns.b("enable-icon"),
|
|
109
|
+
"icon": {
|
|
110
|
+
imagePath: "svg/enable.svg"
|
|
111
|
+
},
|
|
112
|
+
"baseDir": "iconfont"
|
|
113
|
+
}, null), vue.createVNode("div", {
|
|
114
|
+
"class": this.ns.b("state-caption")
|
|
115
|
+
}, [state.caption])]);
|
|
97
116
|
}
|
|
98
117
|
});
|
|
99
118
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-grid-setting-column-states{max-height:500px;overflow-y:auto}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state{display:flex;align-items:center;justify-content:flex-start;padding:var(--ibiz-spacing-extra-tight) 0;font-size:var(--ibiz-font-size-regular);cursor:pointer}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state
|
|
1
|
+
.ibiz-grid-setting-column-states{width:100%;max-height:500px;overflow-y:auto}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state{display:flex;align-items:center;justify-content:flex-start;width:100%;padding:var(--ibiz-spacing-extra-tight) 0;font-size:var(--ibiz-font-size-regular);cursor:pointer}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state ion-icon{display:inline-block;width:var(--ibiz-font-size-small);margin-right:var(--ibiz-spacing-extra-tight);font-size:var(--ibiz-font-size-regular)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-drag-icon{color:var(--ibiz-color-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-enable-icon{color:var(--ibiz-color-success)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-disable-icon{display:none;color:var(--ibiz-color-danger)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state .ibiz-grid-setting-state-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-enable-icon{display:none}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-disable-icon{display:block}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state.is-disabled .ibiz-grid-setting-state-caption{color:var(--ibiz-color-disabled-text)}.ibiz-grid-setting-column-states .ibiz-grid-setting-column-state-ghost{background-color:var(--ibiz-color-primary-light-default);opacity:.5}.ibiz-grid-setting-set-icon{color:var(--ibiz-color-primary);cursor:pointer}
|
|
@@ -109,7 +109,7 @@ const CalendarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
109
109
|
"style": style,
|
|
110
110
|
"onClick": () => this.c.onRowClick(item),
|
|
111
111
|
"onDblclick": () => this.c.onDbRowClick(item)
|
|
112
|
-
}, [
|
|
112
|
+
}, [item.text]);
|
|
113
113
|
};
|
|
114
114
|
const renderCalendarList = (items) => {
|
|
115
115
|
return items.map((item) => {
|
|
@@ -143,10 +143,11 @@ const DataViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
143
143
|
cardColXS,
|
|
144
144
|
cardColSM,
|
|
145
145
|
cardColMD,
|
|
146
|
-
cardColLG
|
|
146
|
+
cardColLG,
|
|
147
|
+
groupSysCss
|
|
147
148
|
} = c.model;
|
|
148
149
|
return vue.createVNode("div", {
|
|
149
|
-
"class": ns.be("group-content", "item")
|
|
150
|
+
"class": [ns.be("group-content", "item"), groupSysCss == null ? void 0 : groupSysCss.cssName]
|
|
150
151
|
}, [vue.createVNode("div", {
|
|
151
152
|
"class": ns.be("group-content", "item-header")
|
|
152
153
|
}, [vue.createVNode("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-drtab__counter{margin-left:8px}
|
|
1
|
+
.ibiz-control-drtab__counter{margin-left:8px}.ibiz-control-drtab .el-tabs .el-tabs__header{margin:0}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap{margin:0}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__active-bar{background-color:var(--ibiz-color-primary)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item{font-size:var(--ibiz-font-size-regular);color:var(--ibiz-color-text-2)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item:hover{color:var(--ibiz-color-text-0)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item.is-active{color:var(--ibiz-color-primary)}.ibiz-control-drtab .el-tabs .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav .el-tabs__item.is-top:last-child{padding-right:0}.ibiz-control-drtab .el-tabs.el-tabs--bottom,.ibiz-control-drtab .el-tabs.el-tabs--top{padding-left:var(--ibiz-spacing-base)}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
require('./search-groups.css');
|
|
6
|
-
var
|
|
6
|
+
var elementPlus = require('element-plus');
|
|
7
7
|
var draggable = require('vuedraggable');
|
|
8
8
|
var core = require('@ibiz-template/core');
|
|
9
9
|
var newGroupUtil = require('./new-group-util.cjs');
|
|
@@ -80,7 +80,7 @@ const SearchGroups = /* @__PURE__ */ vue.defineComponent({
|
|
|
80
80
|
editForm.caption = groupItem.caption || groupItem.name;
|
|
81
81
|
};
|
|
82
82
|
const removeGroup = (groupItem) => {
|
|
83
|
-
|
|
83
|
+
elementPlus.ElMessageBox({
|
|
84
84
|
title: "\u786E\u8BA4\u5220\u9664",
|
|
85
85
|
message: () => {
|
|
86
86
|
return vue.createVNode("div", {
|
|
@@ -4,6 +4,7 @@ var vue = require('vue');
|
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
5
|
require('./tab-exp-panel.css');
|
|
6
6
|
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
var vueRouter = require('vue-router');
|
|
7
8
|
|
|
8
9
|
"use strict";
|
|
9
10
|
function _isSlot(s) {
|
|
@@ -40,6 +41,36 @@ const TabExpPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
40
41
|
c.handleTabChange();
|
|
41
42
|
};
|
|
42
43
|
const tabPosition = ((_a = c.view.model.tabLayout) == null ? void 0 : _a.toLowerCase()) || "top";
|
|
44
|
+
const route = vueRouter.useRoute();
|
|
45
|
+
vue.watch(() => route.fullPath, (newVal, oldVal) => {
|
|
46
|
+
if (newVal !== oldVal) {
|
|
47
|
+
const viewCodeName = c.view.model.codeName.toLowerCase();
|
|
48
|
+
const viewRouteKey = Object.keys(route.params).find((key) => {
|
|
49
|
+
return route.params[key] === viewCodeName;
|
|
50
|
+
});
|
|
51
|
+
if (!viewRouteKey) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const nextKeyNumber = (parseInt(viewRouteKey[viewRouteKey.length - 1], 10) + 2) * 2;
|
|
55
|
+
const tempFullPath = route.fullPath.split("/").slice(0, nextKeyNumber).join("/");
|
|
56
|
+
c.state.tabPages.forEach((page) => {
|
|
57
|
+
if (page.fullPath === tempFullPath) {
|
|
58
|
+
c.state.activeName = page.tabTag;
|
|
59
|
+
c.handleTabChange();
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
if (c.state.activeName) {
|
|
63
|
+
const currentPage = c.state.tabPages.find((page) => {
|
|
64
|
+
return page.tabTag === c.state.activeName;
|
|
65
|
+
});
|
|
66
|
+
if (currentPage) {
|
|
67
|
+
currentPage.fullPath = tempFullPath;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}, {
|
|
72
|
+
immediate: true
|
|
73
|
+
});
|
|
43
74
|
return {
|
|
44
75
|
c,
|
|
45
76
|
ns,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-date-range-picker .el-date-editor{width:100%;line-height:var(--ibiz-editor-default-line-height);display:flex;align-items:center;justify-content:flex-start}.ibiz-date-range-picker .el-date-editor .el-range-input{color:var(--ibiz-form-item-text-color)}.ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-input{display:flex}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content{display:flex;align-items:center;width:100%;font-family:Arial,sans-serif;font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-text-color)}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content .ibiz-date-range-picker-default-input{box-shadow:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-
|
|
1
|
+
.ibiz-date-range-picker .el-date-editor{width:100%;line-height:var(--ibiz-editor-default-line-height);display:flex;align-items:center;justify-content:flex-start}.ibiz-date-range-picker .el-date-editor .el-range-input{color:var(--ibiz-form-item-text-color)}.ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default:hover .ibiz-date-range-picker-input{display:flex}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content{display:flex;align-items:center;width:100%;font-family:Arial,sans-serif;font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-form-item-text-color)}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-form-default-content .ibiz-date-range-picker-default-input{box-shadow:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default .ibiz-date-range-picker-input{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default.is-editable .ibiz-date-range-picker-form-default-content{display:none}.ibiz-form-item .ibiz-date-range-picker.is-show-default.is-editable .ibiz-date-range-picker-input{display:flex}
|
|
@@ -8,7 +8,7 @@ var qxUtil = require('qx-util');
|
|
|
8
8
|
var ramda = require('ramda');
|
|
9
9
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
10
10
|
var core = require('@ibiz-template/core');
|
|
11
|
-
var
|
|
11
|
+
var elementPlus = require('element-plus');
|
|
12
12
|
require('./wang-editor.css');
|
|
13
13
|
|
|
14
14
|
"use strict";
|
|
@@ -267,7 +267,7 @@ const IBizHtml = /* @__PURE__ */ vue.defineComponent({
|
|
|
267
267
|
};
|
|
268
268
|
const cancelEdit = () => {
|
|
269
269
|
if (props.value !== valueHtml.value) {
|
|
270
|
-
|
|
270
|
+
elementPlus.ElMessageBox({
|
|
271
271
|
title: "\u786E\u8BA4\u53D6\u6D88",
|
|
272
272
|
type: "warning",
|
|
273
273
|
customClass: ns.b("message"),
|