@ibiz-template/vue3-components 0.7.41-alpha.41 → 0.7.41-alpha.43
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-DJ662N4_.js +1 -0
- package/dist/{index-CaWTEUU1.js → index-CG3sQH0b.js} +1 -1
- package/dist/index-D3x_MFr-.js +11 -0
- package/dist/{index-CD2XM6M6.js → index-kZrZndeH.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/wang-editor-DDSO3Ha9.js +1 -0
- package/dist/{xlsx-util-Dvg2kWh7.js → xlsx-util-8YSXhmdI.js} +1 -1
- package/es/control/form/form-detail/form-item/composite-form-item-ex/composite-form-item-ex.controller.mjs +16 -6
- package/es/control/toolbar/export-excel/export-excel.mjs +19 -4
- package/es/editor/code/monaco-editor/monaco-editor.mjs +13 -195
- package/es/editor/html/wang-editor/module/ai-module.mjs +1 -1
- package/es/editor/html/wang-editor/wang-editor.mjs +31 -202
- package/es/editor/markdown/ibiz-markdown-editor/custom-menu.mjs +16 -223
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +2 -1
- package/es/editor/text-box/input/input.mjs +9 -197
- package/es/locale/en/index.mjs +24 -1
- package/es/locale/zh-CN/index.mjs +24 -1
- package/es/panel-component/panel-app-title/panel-app-title.mjs +19 -42
- package/es/util/ai-chat-util/ai-chat-util.mjs +644 -15
- package/es/util/ai-chat-util/ai-feedback/ai-feedback.css +1 -0
- package/es/util/ai-chat-util/ai-feedback/ai-feedback.mjs +130 -0
- package/es/util/app-util/app-util.mjs +24 -246
- package/es/util/inline-ai-util/inline-ai-textarea/inline-ai-textarea.hook.mjs +12 -4
- package/es/util/inline-ai-util/inline-ai-textarea/inline-ai-textarea.mjs +3 -1
- package/lib/control/form/form-detail/form-item/composite-form-item-ex/composite-form-item-ex.controller.cjs +16 -6
- package/lib/control/toolbar/export-excel/export-excel.cjs +18 -3
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +13 -195
- package/lib/editor/html/wang-editor/module/ai-module.cjs +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +30 -201
- package/lib/editor/markdown/ibiz-markdown-editor/custom-menu.cjs +16 -223
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +2 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/text-box/input/input.cjs +8 -196
- package/lib/locale/en/index.cjs +24 -1
- package/lib/locale/zh-CN/index.cjs +24 -1
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +18 -41
- package/lib/util/ai-chat-util/ai-chat-util.cjs +642 -13
- package/lib/util/ai-chat-util/ai-feedback/ai-feedback.cjs +132 -0
- package/lib/util/ai-chat-util/ai-feedback/ai-feedback.css +1 -0
- package/lib/util/app-util/app-util.cjs +23 -245
- package/lib/util/inline-ai-util/inline-ai-textarea/inline-ai-textarea.cjs +3 -1
- package/lib/util/inline-ai-util/inline-ai-textarea/inline-ai-textarea.hook.cjs +12 -4
- package/package.json +7 -7
- package/dist/ibiz-markdown-editor-DEV-iSvz.js +0 -1
- package/dist/index-Bv2fgePf.js +0 -11
- package/dist/wang-editor-4cNAgOaJ.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createVNode, inject, computed } from 'vue';
|
|
1
|
+
import { defineComponent, createVNode, resolveComponent, inject, computed } from 'vue';
|
|
2
2
|
import { useNamespace, route2routePath, routePath2string } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { useRoute, useRouter } from 'vue-router';
|
|
4
4
|
import { PanelAppTitleController } from './panel-app-title.controller.mjs';
|
|
@@ -85,7 +85,6 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
render() {
|
|
86
86
|
const {
|
|
87
87
|
icon,
|
|
88
|
-
isSvg,
|
|
89
88
|
caption,
|
|
90
89
|
caption2,
|
|
91
90
|
subCaption,
|
|
@@ -102,22 +101,14 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
102
101
|
if (this.menuAlign === "LEFT") {
|
|
103
102
|
if (this.isCollapse) {
|
|
104
103
|
if (icon) {
|
|
105
|
-
let tempIcon = null;
|
|
106
|
-
if (isSvg) {
|
|
107
|
-
tempIcon = createVNode("ion-icon", {
|
|
108
|
-
"class": this.ns.e("logo"),
|
|
109
|
-
"icon": icon
|
|
110
|
-
}, null);
|
|
111
|
-
} else {
|
|
112
|
-
tempIcon = createVNode("span", {
|
|
113
|
-
"class": this.ns.e("logo")
|
|
114
|
-
}, [createVNode("img", {
|
|
115
|
-
"src": icon
|
|
116
|
-
}, null)]);
|
|
117
|
-
}
|
|
118
104
|
iconVNode = createVNode("div", {
|
|
119
105
|
"class": this.ns.e("collpase-icon")
|
|
120
|
-
}, [
|
|
106
|
+
}, [createVNode(resolveComponent("iBizIcon"), {
|
|
107
|
+
"class": this.ns.e("logo"),
|
|
108
|
+
"icon": {
|
|
109
|
+
rawContent: icon
|
|
110
|
+
}
|
|
111
|
+
}, null)]);
|
|
121
112
|
} else {
|
|
122
113
|
iconVNode = createVNode("div", {
|
|
123
114
|
"class": this.ns.e("collapse-title")
|
|
@@ -128,19 +119,6 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
128
119
|
}, [subCaption2])]);
|
|
129
120
|
}
|
|
130
121
|
} else if (this.showIcon && icon) {
|
|
131
|
-
let tempIcon = null;
|
|
132
|
-
if (isSvg) {
|
|
133
|
-
tempIcon = createVNode("ion-icon", {
|
|
134
|
-
"class": this.ns.em("logo", "expand"),
|
|
135
|
-
"icon": icon
|
|
136
|
-
}, null);
|
|
137
|
-
} else {
|
|
138
|
-
tempIcon = createVNode("span", {
|
|
139
|
-
"class": this.ns.em("logo", "expand")
|
|
140
|
-
}, [createVNode("img", {
|
|
141
|
-
"src": icon
|
|
142
|
-
}, null)]);
|
|
143
|
-
}
|
|
144
122
|
let tempContent = createVNode("g", {
|
|
145
123
|
"id": "app-caption-panel",
|
|
146
124
|
"stroke": "none",
|
|
@@ -181,7 +159,12 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
181
159
|
}
|
|
182
160
|
iconVNode = createVNode("span", {
|
|
183
161
|
"class": this.ns.e("logo")
|
|
184
|
-
}, [
|
|
162
|
+
}, [createVNode(resolveComponent("iBizIcon"), {
|
|
163
|
+
"class": this.ns.em("logo", "expand"),
|
|
164
|
+
"icon": {
|
|
165
|
+
rawContent: icon
|
|
166
|
+
}
|
|
167
|
+
}, null), createVNode("svg", {
|
|
185
168
|
"width": "166px",
|
|
186
169
|
"height": "80px",
|
|
187
170
|
"viewBox": "0 0 166 90",
|
|
@@ -220,18 +203,12 @@ const PanelAppTitle = /* @__PURE__ */ defineComponent({
|
|
|
220
203
|
}
|
|
221
204
|
} else if (this.menuAlign === "TOP") {
|
|
222
205
|
if (icon) {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
iconVNode = createVNode("span", {
|
|
230
|
-
"class": this.ns.e("logo")
|
|
231
|
-
}, [createVNode("img", {
|
|
232
|
-
"src": icon
|
|
233
|
-
}, null)]);
|
|
234
|
-
}
|
|
206
|
+
iconVNode = createVNode(resolveComponent("iBizIcon"), {
|
|
207
|
+
"class": this.ns.e("logo"),
|
|
208
|
+
"icon": {
|
|
209
|
+
rawContent: icon
|
|
210
|
+
}
|
|
211
|
+
}, null);
|
|
235
212
|
}
|
|
236
213
|
}
|
|
237
214
|
if (this.menuAlign === "LEFT") {
|