@ibiz-template/vue3-components 0.5.7-alpha.0 → 0.5.7-alpha.2
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-aOoL8-48.js → ibiz-markdown-editor-RaswfMqH.js} +1 -1
- package/dist/index-p-YChWUE.js +2 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-8iEE3iXJ.js +1 -0
- package/dist/{xlsx-util-ohTMZYHr.js → xlsx-util-BE5Eyj1T.js} +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +5 -6
- package/es/editor/html/wang-editor/wang-editor.css +1 -1
- package/es/editor/html/wang-editor/wang-editor.d.ts +1 -0
- package/es/editor/html/wang-editor/wang-editor.mjs +27 -18
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +3 -0
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.mjs +0 -1
- package/es/panel-component/user-message/user-message.mjs +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +5 -6
- package/lib/editor/html/wang-editor/wang-editor.cjs +25 -16
- package/lib/editor/html/wang-editor/wang-editor.css +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +3 -0
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.cjs +0 -1
- package/lib/panel-component/user-message/user-message.cjs +1 -1
- package/package.json +5 -5
- package/dist/index-dfn6FnHv.js +0 -2
- package/dist/wang-editor-jrOHJc0e.js +0 -1
|
@@ -13,6 +13,7 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
setup(props, {
|
|
14
14
|
emit
|
|
15
15
|
}) {
|
|
16
|
+
var _a;
|
|
16
17
|
const ns = useNamespace("dropdown");
|
|
17
18
|
const c = props.controller;
|
|
18
19
|
const items = ref([]);
|
|
@@ -22,7 +23,7 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
22
23
|
const treeNodes = ref([]);
|
|
23
24
|
const isEditable = ref(false);
|
|
24
25
|
const editorRef = ref();
|
|
25
|
-
const editorItems = c.model.editorItems;
|
|
26
|
+
const editorItems = (_a = c.model.editorItems) == null ? void 0 : _a.filter((item) => item.id !== c.model.id);
|
|
26
27
|
const isLoading = ref(false);
|
|
27
28
|
let editorState = "";
|
|
28
29
|
let funcs;
|
|
@@ -102,7 +103,7 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
102
103
|
};
|
|
103
104
|
const curValue = computed({
|
|
104
105
|
get() {
|
|
105
|
-
var
|
|
106
|
+
var _a2, _b;
|
|
106
107
|
if (!isLoadedCodeList.value) {
|
|
107
108
|
return "";
|
|
108
109
|
}
|
|
@@ -110,7 +111,7 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
110
111
|
return props.data[editorItems[0].id];
|
|
111
112
|
}
|
|
112
113
|
if (props.value) {
|
|
113
|
-
return c.multiple ? (
|
|
114
|
+
return c.multiple ? (_a2 = props.value) == null ? void 0 : _a2.toString().split(",") : props.value.toString();
|
|
114
115
|
}
|
|
115
116
|
return (_b = props.value) == null ? void 0 : _b.toString();
|
|
116
117
|
},
|
|
@@ -118,9 +119,7 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
118
119
|
if (Array.isArray(select)) {
|
|
119
120
|
emit("change", select.length === 0 ? null : select.join(","));
|
|
120
121
|
} else if (editorItems && editorItems.length > 0) {
|
|
121
|
-
editorItems.
|
|
122
|
-
emit("change", select, item.id);
|
|
123
|
-
});
|
|
122
|
+
emit("change", select, editorItems[0].id);
|
|
124
123
|
const selectItem = getCodeListItemByValue(select);
|
|
125
124
|
if (selectItem) {
|
|
126
125
|
emit("change", selectItem.text);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-html{--ibiz-html-height:300px;display:inline-block;width:100%;height:100%;--w-e-textarea-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-color:var(--ibiz-color-text-2);--w-e-textarea-border-color:var(--ibiz-color-border);--w-e-textarea-slight-border-color:var(--ibiz-color-border);--w-e-textarea-slight-color:var(--ibiz-color-text-1);--w-e-textarea-slight-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-selected-border-color:var(--ibiz-color-border);--w-e-textarea-handler-bg-color:var(--ibiz-color-primary);--w-e-toolbar-color:var(--ibiz-color-text-0);--w-e-toolbar-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-active-color:var(--ibiz-color-text-0);--w-e-toolbar-active-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-disabled-color:var(--ibiz-color-disabled-text);--w-e-toolbar-border-color:var(--ibiz-color-border);--w-e-modal-button-bg-color:var(--ibiz-color-bg-1);--w-e-modal-button-border-color:var(--ibiz-color-border)}.ibiz-html .ibiz-html-content{display:flex;flex-direction:column;height:100
|
|
1
|
+
.ibiz-html{--ibiz-html-height:300px;display:inline-block;width:100%;height:100%;--w-e-textarea-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-color:var(--ibiz-color-text-2);--w-e-textarea-border-color:var(--ibiz-color-border);--w-e-textarea-slight-border-color:var(--ibiz-color-border);--w-e-textarea-slight-color:var(--ibiz-color-text-1);--w-e-textarea-slight-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-selected-border-color:var(--ibiz-color-border);--w-e-textarea-handler-bg-color:var(--ibiz-color-primary);--w-e-toolbar-color:var(--ibiz-color-text-0);--w-e-toolbar-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-active-color:var(--ibiz-color-text-0);--w-e-toolbar-active-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-disabled-color:var(--ibiz-color-disabled-text);--w-e-toolbar-border-color:var(--ibiz-color-border);--w-e-modal-button-bg-color:var(--ibiz-color-bg-1);--w-e-modal-button-border-color:var(--ibiz-color-border)}.ibiz-html .ibiz-html-content{display:flex;flex-direction:column;height:100%;background-color:var(--ibiz-color-bg-0)}.ibiz-html .ibiz-html-editor{height:var(--ibiz-html-height)!important;padding:0;overflow-y:scroll;border:1px solid var(--ibiz-color-border)}.ibiz-html .w-e-menu-tooltip-v5::before{color:var(--ibiz-color-text-0);background-color:var(--w-e-toolbar-bg-color)}.ibiz-html .w-e-full-screen-container{z-index:9999}.ibiz-html .w-e-scroll>div{background-color:var(--ibiz-color-bg-0)}.ibiz-html-editor-readonly .ibiz-html-toolbar{display:none}.ibiz-html-editor-readonly .ibiz-html-editor{border:none}.ibiz-html-footer{display:flex;align-items:center;justify-content:end;margin-top:12px;margin-right:8px}.ibiz-html-footer>*+*{margin-left:16px}.ibiz-html-footer__cancel{height:36px;line-height:36px;color:var(--ibiz-color-text-1);cursor:pointer;opacity:.7}.ibiz-html-footer__cancel:hover{color:var(--ibiz-color-primary);opacity:1}.ibiz-html-footer__save{width:96px;height:36px;line-height:36px;color:var(--ibiz-color-primary-active-text);text-align:center;cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:5px}.ibiz-html-footer__save:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-primary)}.ibiz-html-custom-toolbar{display:flex;align-items:center;justify-content:end;width:100%;height:32px;padding-right:16px;font-size:16px}.ibiz-html-custom-toolbar>*+*{margin-left:20px}.ibiz-html-custom-toolbar i{cursor:pointer}.ibiz-html-custom-toolbar i:hover{color:var(--ibiz-color-primary)}.ibiz-html-message{width:500px;max-width:unset}.ibiz-html-message__message-content--message-tip{color:var(--ibiz-color-text-3)}.ibiz-html-message__message-cancel{color:var(--ibiz-color-text-1);background-color:transparent}.ibiz-html-message__message-cancel:hover{color:var(--ibiz-color-primary);background-color:transparent}.ibiz-html-message__message-comfire{background-color:var(--ibiz-color-danger)!important}.ibiz-html-message__message-comfire:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-danger)}.ibiz-html-dialog-full-screen{height:80%}.ibiz-html-dialog-full-screen .ibiz-html{padding:0 32px;--w-e-toolbar-bg-color:var(--ibiz-color-bg-0)}.ibiz-html-dialog-full-screen .ibiz-html-custom-toolbar{height:56px}.ibiz-html-dialog-full-screen .ibiz-html-content{height:calc(100% - 124px)}.ibiz-html-dialog-full-screen .ibiz-html-content .ibiz-html-editor{height:100%!important}.ibiz-html-footer-dialog{height:68px;margin-top:0}
|
|
@@ -52,6 +52,7 @@ declare const IBizHtml: import("vue").DefineComponent<{
|
|
|
52
52
|
toolbarRef: Ref<any>;
|
|
53
53
|
isFullScreen: Ref<boolean>;
|
|
54
54
|
readonlyState: Ref<boolean>;
|
|
55
|
+
changeFullScreenState: () => void;
|
|
55
56
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
56
57
|
change: (_value: unknown, _name?: string | undefined) => boolean;
|
|
57
58
|
blur: (_event?: IData | undefined) => boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref, shallowRef, watch, onBeforeUnmount, onMounted, createTextVNode, createVNode, nextTick, resolveComponent, defineComponent } from 'vue';
|
|
1
|
+
import { ref, shallowRef, watch, onBeforeUnmount, onMounted, createTextVNode, createVNode, nextTick, onUnmounted, resolveComponent, defineComponent } from 'vue';
|
|
2
2
|
import { Toolbar, Editor } from '@wangeditor/editor-for-vue';
|
|
3
3
|
import { getCookie } from 'qx-util';
|
|
4
4
|
import { isNil } from 'ramda';
|
|
5
5
|
import { getHtmlProps, getEditorEmits, useNamespace } from '@ibiz-template/vue3-util';
|
|
6
|
-
import { CoreConst } from '@ibiz-template/core';
|
|
6
|
+
import { CoreConst, awaitTimeout } from '@ibiz-template/core';
|
|
7
7
|
import { ElMessageBox } from 'element-plus';
|
|
8
8
|
import './wang-editor.css';
|
|
9
9
|
|
|
@@ -214,20 +214,22 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
214
214
|
});
|
|
215
215
|
});
|
|
216
216
|
const calcHtmlStyle = () => {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
217
|
+
awaitTimeout(0, () => {
|
|
218
|
+
if (htmlContent.value && toolbarRef.value) {
|
|
219
|
+
const htmlContentHeight = htmlContent.value.offsetHeight;
|
|
220
|
+
resizeObserver = new ResizeObserver((entries) => {
|
|
221
|
+
const height = entries[0].contentRect.height;
|
|
222
|
+
if (height !== lastToolbarHeight) {
|
|
223
|
+
const tempCssVars = {
|
|
224
|
+
height: "".concat(htmlContentHeight - entries[0].contentRect.height, "px")
|
|
225
|
+
};
|
|
226
|
+
cssVars.value = ns.cssVarBlock(tempCssVars);
|
|
227
|
+
lastToolbarHeight = height;
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
resizeObserver.observe(toolbarRef.value.selector);
|
|
231
|
+
}
|
|
232
|
+
});
|
|
231
233
|
};
|
|
232
234
|
const moveToLastStr = () => {
|
|
233
235
|
var _a, _b;
|
|
@@ -372,6 +374,11 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
372
374
|
onMounted(() => {
|
|
373
375
|
calcHtmlStyle();
|
|
374
376
|
});
|
|
377
|
+
onUnmounted(() => {
|
|
378
|
+
if (resizeObserver) {
|
|
379
|
+
resizeObserver.disconnect();
|
|
380
|
+
}
|
|
381
|
+
});
|
|
375
382
|
return {
|
|
376
383
|
ns,
|
|
377
384
|
editorRef,
|
|
@@ -398,7 +405,8 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
398
405
|
cssVars,
|
|
399
406
|
toolbarRef,
|
|
400
407
|
isFullScreen,
|
|
401
|
-
readonlyState
|
|
408
|
+
readonlyState,
|
|
409
|
+
changeFullScreenState
|
|
402
410
|
};
|
|
403
411
|
},
|
|
404
412
|
render() {
|
|
@@ -411,7 +419,8 @@ const IBizHtml = /* @__PURE__ */ defineComponent({
|
|
|
411
419
|
"onUpdate:modelValue": ($event) => this.isFullScreen = $event,
|
|
412
420
|
"width": "80%",
|
|
413
421
|
"top": "10vh",
|
|
414
|
-
"class": this.ns.b("dialog-full-screen")
|
|
422
|
+
"class": this.ns.b("dialog-full-screen"),
|
|
423
|
+
"onClose": () => this.changeFullScreenState()
|
|
415
424
|
}, {
|
|
416
425
|
default: () => [createVNode("div", {
|
|
417
426
|
"class": [this.ns.b(), {
|
|
@@ -15,6 +15,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
15
15
|
setup(props, {
|
|
16
16
|
emit
|
|
17
17
|
}) {
|
|
18
|
+
var _a;
|
|
18
19
|
const ns = vue3Util.useNamespace("dropdown");
|
|
19
20
|
const c = props.controller;
|
|
20
21
|
const items = vue.ref([]);
|
|
@@ -24,7 +25,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
24
25
|
const treeNodes = vue.ref([]);
|
|
25
26
|
const isEditable = vue.ref(false);
|
|
26
27
|
const editorRef = vue.ref();
|
|
27
|
-
const editorItems = c.model.editorItems;
|
|
28
|
+
const editorItems = (_a = c.model.editorItems) == null ? void 0 : _a.filter((item) => item.id !== c.model.id);
|
|
28
29
|
const isLoading = vue.ref(false);
|
|
29
30
|
let editorState = "";
|
|
30
31
|
let funcs;
|
|
@@ -104,7 +105,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
104
105
|
};
|
|
105
106
|
const curValue = vue.computed({
|
|
106
107
|
get() {
|
|
107
|
-
var
|
|
108
|
+
var _a2, _b;
|
|
108
109
|
if (!isLoadedCodeList.value) {
|
|
109
110
|
return "";
|
|
110
111
|
}
|
|
@@ -112,7 +113,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
112
113
|
return props.data[editorItems[0].id];
|
|
113
114
|
}
|
|
114
115
|
if (props.value) {
|
|
115
|
-
return c.multiple ? (
|
|
116
|
+
return c.multiple ? (_a2 = props.value) == null ? void 0 : _a2.toString().split(",") : props.value.toString();
|
|
116
117
|
}
|
|
117
118
|
return (_b = props.value) == null ? void 0 : _b.toString();
|
|
118
119
|
},
|
|
@@ -120,9 +121,7 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
120
121
|
if (Array.isArray(select)) {
|
|
121
122
|
emit("change", select.length === 0 ? null : select.join(","));
|
|
122
123
|
} else if (editorItems && editorItems.length > 0) {
|
|
123
|
-
editorItems.
|
|
124
|
-
emit("change", select, item.id);
|
|
125
|
-
});
|
|
124
|
+
emit("change", select, editorItems[0].id);
|
|
126
125
|
const selectItem = getCodeListItemByValue(select);
|
|
127
126
|
if (selectItem) {
|
|
128
127
|
emit("change", selectItem.text);
|
|
@@ -218,20 +218,22 @@ const IBizHtml = /* @__PURE__ */ vue.defineComponent({
|
|
|
218
218
|
});
|
|
219
219
|
});
|
|
220
220
|
const calcHtmlStyle = () => {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
221
|
+
core.awaitTimeout(0, () => {
|
|
222
|
+
if (htmlContent.value && toolbarRef.value) {
|
|
223
|
+
const htmlContentHeight = htmlContent.value.offsetHeight;
|
|
224
|
+
resizeObserver = new ResizeObserver((entries) => {
|
|
225
|
+
const height = entries[0].contentRect.height;
|
|
226
|
+
if (height !== lastToolbarHeight) {
|
|
227
|
+
const tempCssVars = {
|
|
228
|
+
height: "".concat(htmlContentHeight - entries[0].contentRect.height, "px")
|
|
229
|
+
};
|
|
230
|
+
cssVars.value = ns.cssVarBlock(tempCssVars);
|
|
231
|
+
lastToolbarHeight = height;
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
resizeObserver.observe(toolbarRef.value.selector);
|
|
235
|
+
}
|
|
236
|
+
});
|
|
235
237
|
};
|
|
236
238
|
const moveToLastStr = () => {
|
|
237
239
|
var _a, _b;
|
|
@@ -376,6 +378,11 @@ const IBizHtml = /* @__PURE__ */ vue.defineComponent({
|
|
|
376
378
|
vue.onMounted(() => {
|
|
377
379
|
calcHtmlStyle();
|
|
378
380
|
});
|
|
381
|
+
vue.onUnmounted(() => {
|
|
382
|
+
if (resizeObserver) {
|
|
383
|
+
resizeObserver.disconnect();
|
|
384
|
+
}
|
|
385
|
+
});
|
|
379
386
|
return {
|
|
380
387
|
ns,
|
|
381
388
|
editorRef,
|
|
@@ -402,7 +409,8 @@ const IBizHtml = /* @__PURE__ */ vue.defineComponent({
|
|
|
402
409
|
cssVars,
|
|
403
410
|
toolbarRef,
|
|
404
411
|
isFullScreen,
|
|
405
|
-
readonlyState
|
|
412
|
+
readonlyState,
|
|
413
|
+
changeFullScreenState
|
|
406
414
|
};
|
|
407
415
|
},
|
|
408
416
|
render() {
|
|
@@ -415,7 +423,8 @@ const IBizHtml = /* @__PURE__ */ vue.defineComponent({
|
|
|
415
423
|
"onUpdate:modelValue": ($event) => this.isFullScreen = $event,
|
|
416
424
|
"width": "80%",
|
|
417
425
|
"top": "10vh",
|
|
418
|
-
"class": this.ns.b("dialog-full-screen")
|
|
426
|
+
"class": this.ns.b("dialog-full-screen"),
|
|
427
|
+
"onClose": () => this.changeFullScreenState()
|
|
419
428
|
}, {
|
|
420
429
|
default: () => [vue.createVNode("div", {
|
|
421
430
|
"class": [this.ns.b(), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-html{--ibiz-html-height:300px;display:inline-block;width:100%;height:100%;--w-e-textarea-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-color:var(--ibiz-color-text-2);--w-e-textarea-border-color:var(--ibiz-color-border);--w-e-textarea-slight-border-color:var(--ibiz-color-border);--w-e-textarea-slight-color:var(--ibiz-color-text-1);--w-e-textarea-slight-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-selected-border-color:var(--ibiz-color-border);--w-e-textarea-handler-bg-color:var(--ibiz-color-primary);--w-e-toolbar-color:var(--ibiz-color-text-0);--w-e-toolbar-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-active-color:var(--ibiz-color-text-0);--w-e-toolbar-active-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-disabled-color:var(--ibiz-color-disabled-text);--w-e-toolbar-border-color:var(--ibiz-color-border);--w-e-modal-button-bg-color:var(--ibiz-color-bg-1);--w-e-modal-button-border-color:var(--ibiz-color-border)}.ibiz-html .ibiz-html-content{display:flex;flex-direction:column;height:100
|
|
1
|
+
.ibiz-html{--ibiz-html-height:300px;display:inline-block;width:100%;height:100%;--w-e-textarea-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-color:var(--ibiz-color-text-2);--w-e-textarea-border-color:var(--ibiz-color-border);--w-e-textarea-slight-border-color:var(--ibiz-color-border);--w-e-textarea-slight-color:var(--ibiz-color-text-1);--w-e-textarea-slight-bg-color:var(--ibiz-color-bg-1);--w-e-textarea-selected-border-color:var(--ibiz-color-border);--w-e-textarea-handler-bg-color:var(--ibiz-color-primary);--w-e-toolbar-color:var(--ibiz-color-text-0);--w-e-toolbar-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-active-color:var(--ibiz-color-text-0);--w-e-toolbar-active-bg-color:var(--ibiz-color-bg-1);--w-e-toolbar-disabled-color:var(--ibiz-color-disabled-text);--w-e-toolbar-border-color:var(--ibiz-color-border);--w-e-modal-button-bg-color:var(--ibiz-color-bg-1);--w-e-modal-button-border-color:var(--ibiz-color-border)}.ibiz-html .ibiz-html-content{display:flex;flex-direction:column;height:100%;background-color:var(--ibiz-color-bg-0)}.ibiz-html .ibiz-html-editor{height:var(--ibiz-html-height)!important;padding:0;overflow-y:scroll;border:1px solid var(--ibiz-color-border)}.ibiz-html .w-e-menu-tooltip-v5::before{color:var(--ibiz-color-text-0);background-color:var(--w-e-toolbar-bg-color)}.ibiz-html .w-e-full-screen-container{z-index:9999}.ibiz-html .w-e-scroll>div{background-color:var(--ibiz-color-bg-0)}.ibiz-html-editor-readonly .ibiz-html-toolbar{display:none}.ibiz-html-editor-readonly .ibiz-html-editor{border:none}.ibiz-html-footer{display:flex;align-items:center;justify-content:end;margin-top:12px;margin-right:8px}.ibiz-html-footer>*+*{margin-left:16px}.ibiz-html-footer__cancel{height:36px;line-height:36px;color:var(--ibiz-color-text-1);cursor:pointer;opacity:.7}.ibiz-html-footer__cancel:hover{color:var(--ibiz-color-primary);opacity:1}.ibiz-html-footer__save{width:96px;height:36px;line-height:36px;color:var(--ibiz-color-primary-active-text);text-align:center;cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:5px}.ibiz-html-footer__save:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-primary)}.ibiz-html-custom-toolbar{display:flex;align-items:center;justify-content:end;width:100%;height:32px;padding-right:16px;font-size:16px}.ibiz-html-custom-toolbar>*+*{margin-left:20px}.ibiz-html-custom-toolbar i{cursor:pointer}.ibiz-html-custom-toolbar i:hover{color:var(--ibiz-color-primary)}.ibiz-html-message{width:500px;max-width:unset}.ibiz-html-message__message-content--message-tip{color:var(--ibiz-color-text-3)}.ibiz-html-message__message-cancel{color:var(--ibiz-color-text-1);background-color:transparent}.ibiz-html-message__message-cancel:hover{color:var(--ibiz-color-primary);background-color:transparent}.ibiz-html-message__message-comfire{background-color:var(--ibiz-color-danger)!important}.ibiz-html-message__message-comfire:hover{box-shadow:0 2px 5px 1px var(--ibiz-color-danger)}.ibiz-html-dialog-full-screen{height:80%}.ibiz-html-dialog-full-screen .ibiz-html{padding:0 32px;--w-e-toolbar-bg-color:var(--ibiz-color-bg-0)}.ibiz-html-dialog-full-screen .ibiz-html-custom-toolbar{height:56px}.ibiz-html-dialog-full-screen .ibiz-html-content{height:calc(100% - 124px)}.ibiz-html-dialog-full-screen .ibiz-html-content .ibiz-html-editor{height:100%!important}.ibiz-html-footer-dialog{height:68px;margin-top:0}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.5.7-alpha.
|
|
3
|
+
"version": "0.5.7-alpha.2",
|
|
4
4
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"@ibiz-template-plugin/ai-chat": "^0.0.1",
|
|
29
29
|
"@ibiz-template-plugin/gantt": "0.1.1",
|
|
30
30
|
"@ibiz-template/core": "^0.5.7-alpha.0",
|
|
31
|
-
"@ibiz-template/model-helper": "^0.5.7-alpha.
|
|
32
|
-
"@ibiz-template/runtime": "^0.5.7-alpha.
|
|
31
|
+
"@ibiz-template/model-helper": "^0.5.7-alpha.2",
|
|
32
|
+
"@ibiz-template/runtime": "^0.5.7-alpha.2",
|
|
33
33
|
"@ibiz-template/theme": "^0.5.0",
|
|
34
|
-
"@ibiz-template/vue3-util": "^0.5.7-alpha.
|
|
35
|
-
"@ibiz/model-core": "^0.1.
|
|
34
|
+
"@ibiz-template/vue3-util": "^0.5.7-alpha.2",
|
|
35
|
+
"@ibiz/model-core": "^0.1.7",
|
|
36
36
|
"@imengyu/vue3-context-menu": "^1.3.5",
|
|
37
37
|
"@monaco-editor/loader": "^1.4.0",
|
|
38
38
|
"@wangeditor/editor": "^5.1.23",
|