@ibiz-template/vue3-components 0.7.41-alpha.36 → 0.7.41-alpha.37
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-Dds3BDDF.js +11 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{wang-editor-BIllIvre.js → wang-editor-4cJ6X_hb.js} +1 -1
- package/dist/{xlsx-util-CxXULY47.js → xlsx-util-DZ5-cWNj.js} +1 -1
- package/es/control/calendar/calendar.mjs +33 -8
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.util.mjs +30 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +114 -85
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +4 -17
- package/es/editor/text-box/input/input.css +1 -1
- package/es/panel-component/nav-breadcrumb/nav-breadcrumb.util.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.mjs +2 -2
- package/lib/control/calendar/calendar.cjs +32 -7
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.util.cjs +32 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +113 -84
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +3 -16
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/panel-component/nav-breadcrumb/nav-breadcrumb.util.cjs +1 -1
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.provider.cjs +2 -2
- package/package.json +4 -4
- package/dist/index-CCKb6xlM.js +0 -11
|
@@ -6,6 +6,7 @@ var runtime = require('@ibiz-template/runtime');
|
|
|
6
6
|
var qxUtil = require('qx-util');
|
|
7
7
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
8
8
|
var core = require('@ibiz-template/core');
|
|
9
|
+
var formMdctrlRepeater_util = require('../form-mdctrl-repeater.util.cjs');
|
|
9
10
|
require('./repeater-grid.css');
|
|
10
11
|
|
|
11
12
|
"use strict";
|
|
@@ -26,14 +27,21 @@ const RepeaterGrid = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
27
|
setup(props, {
|
|
27
28
|
emit
|
|
28
29
|
}) {
|
|
30
|
+
var _a, _b;
|
|
29
31
|
const ns = vue3Util.useNamespace("repeater-grid");
|
|
30
32
|
const formItems = [];
|
|
31
33
|
const tableRef = vue.ref();
|
|
32
34
|
const tableKey = vue.ref(qxUtil.createUUID());
|
|
35
|
+
const chunkSize = ((_a = props.controller.model.ctrlParams) == null ? void 0 : _a.chunkSize) ? Number((_b = props.controller.model.ctrlParams) == null ? void 0 : _b.chunkSize) : 100;
|
|
36
|
+
const {
|
|
37
|
+
renderItems,
|
|
38
|
+
loadMore,
|
|
39
|
+
updateTotalItems
|
|
40
|
+
} = formMdctrlRepeater_util.useLoadMore(props.controller.value, chunkSize);
|
|
33
41
|
core.recursiveIterate(props.controller.repeatedForm, (item) => {
|
|
34
|
-
var
|
|
42
|
+
var _a2;
|
|
35
43
|
if (item.detailType === "FORMITEM") {
|
|
36
|
-
if (((
|
|
44
|
+
if (((_a2 = item.editor) == null ? void 0 : _a2.editorType) !== "HIDDEN") {
|
|
37
45
|
formItems.push(item);
|
|
38
46
|
}
|
|
39
47
|
}
|
|
@@ -87,14 +95,15 @@ const RepeaterGrid = /* @__PURE__ */ vue.defineComponent({
|
|
|
87
95
|
});
|
|
88
96
|
}
|
|
89
97
|
}
|
|
98
|
+
updateTotalItems(newVal || []);
|
|
90
99
|
}, {
|
|
91
100
|
immediate: true,
|
|
92
101
|
deep: true
|
|
93
102
|
});
|
|
94
103
|
let sortable;
|
|
95
104
|
const rowDrop = () => {
|
|
96
|
-
var
|
|
97
|
-
const wrapper = (
|
|
105
|
+
var _a2, _b2;
|
|
106
|
+
const wrapper = (_b2 = (_a2 = tableRef.value) == null ? void 0 : _a2.$el) == null ? void 0 : _b2.querySelector(".el-table__body-wrapper tbody");
|
|
98
107
|
if (!wrapper || !props.controller.enableSort)
|
|
99
108
|
return;
|
|
100
109
|
sortable = sortable_esm.default.create(wrapper, {
|
|
@@ -154,12 +163,19 @@ const RepeaterGrid = /* @__PURE__ */ vue.defineComponent({
|
|
|
154
163
|
tableRef,
|
|
155
164
|
tableKey,
|
|
156
165
|
formItems,
|
|
166
|
+
renderItems,
|
|
157
167
|
formControllers,
|
|
158
|
-
renderRemoveBtn
|
|
168
|
+
renderRemoveBtn,
|
|
169
|
+
loadMore
|
|
159
170
|
};
|
|
160
171
|
},
|
|
161
172
|
render() {
|
|
173
|
+
var _a;
|
|
162
174
|
let _slot3;
|
|
175
|
+
const tableHeight = (_a = this.controller.model.layoutPos) == null ? void 0 : _a.height;
|
|
176
|
+
const heightObject = tableHeight ? {
|
|
177
|
+
height: tableHeight
|
|
178
|
+
} : {};
|
|
163
179
|
return vue.createVNode("div", {
|
|
164
180
|
"class": this.ns.b()
|
|
165
181
|
}, [this.controller.enableCreate && vue.createVNode(vue.resolveComponent("el-button"), {
|
|
@@ -169,104 +185,117 @@ const RepeaterGrid = /* @__PURE__ */ vue.defineComponent({
|
|
|
169
185
|
}
|
|
170
186
|
}, _isSlot(_slot3 = ibiz.i18n.t("app.add")) ? _slot3 : {
|
|
171
187
|
default: () => [_slot3]
|
|
172
|
-
}), vue.createVNode(vue.resolveComponent("el-table"), {
|
|
188
|
+
}), vue.createVNode(vue.resolveComponent("el-table"), vue.mergeProps({
|
|
173
189
|
"ref": "tableRef",
|
|
174
190
|
"key": this.tableKey,
|
|
175
191
|
"show-header": true,
|
|
176
192
|
"class": this.ns.e("table"),
|
|
177
|
-
"data": this.
|
|
193
|
+
"data": this.renderItems,
|
|
178
194
|
"cell-class-name": ({
|
|
179
195
|
columnIndex
|
|
180
196
|
}) => {
|
|
181
197
|
const shouldShowIndex = this.controller.enableSort ? columnIndex === 1 : columnIndex === 0;
|
|
182
198
|
return shouldShowIndex ? this.ns.b("index") : "";
|
|
183
199
|
}
|
|
184
|
-
}, {
|
|
185
|
-
default: () =>
|
|
186
|
-
"
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}, {
|
|
211
|
-
default: (opts) => {
|
|
212
|
-
const {
|
|
213
|
-
$index
|
|
214
|
-
} = opts;
|
|
215
|
-
if (!this.controller.enableDelete) {
|
|
216
|
-
return vue.createVNode("span", null, [$index + 1]);
|
|
217
|
-
}
|
|
218
|
-
return [this.renderRemoveBtn($index), vue.createVNode("span", {
|
|
219
|
-
"class": this.ns.be("index", "text")
|
|
220
|
-
}, [$index + 1])];
|
|
221
|
-
}
|
|
222
|
-
}), this.formItems.length > 0 && this.formItems.map((item) => {
|
|
223
|
-
const width = item.labelWidth;
|
|
224
|
-
let columnWidth = "";
|
|
225
|
-
if (typeof width === "number") {
|
|
226
|
-
columnWidth = "".concat(width, "px");
|
|
227
|
-
}
|
|
228
|
-
return vue.createVNode(vue.resolveComponent("el-table-column"), {
|
|
229
|
-
"label": item.caption,
|
|
230
|
-
"prop": item.id,
|
|
231
|
-
"width": columnWidth,
|
|
200
|
+
}, heightObject), {
|
|
201
|
+
default: () => {
|
|
202
|
+
return [this.controller.enableSort && vue.createVNode(vue.resolveComponent("el-table-column"), {
|
|
203
|
+
"width": 26,
|
|
204
|
+
"type": "default"
|
|
205
|
+
}, {
|
|
206
|
+
default: () => vue.createVNode("svg", {
|
|
207
|
+
"viewBox": "0 0 16 16",
|
|
208
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
209
|
+
"height": "1em",
|
|
210
|
+
"width": "1em",
|
|
211
|
+
"class": this.ns.e("drag-icon"),
|
|
212
|
+
"preserveAspectRatio": "xMidYMid meet",
|
|
213
|
+
"focusable": "false"
|
|
214
|
+
}, [vue.createVNode("g", {
|
|
215
|
+
"stroke-width": "1",
|
|
216
|
+
"fill-rule": "evenodd"
|
|
217
|
+
}, [vue.createVNode("g", {
|
|
218
|
+
"transform": "translate(5 1)",
|
|
219
|
+
"fill-rule": "nonzero"
|
|
220
|
+
}, [vue.createVNode("path", {
|
|
221
|
+
"d": "M1 2a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm4 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2zM1 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm4 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm-4 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm4 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm-4 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm4 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"
|
|
222
|
+
}, null)])])])
|
|
223
|
+
}), vue.createVNode(vue.resolveComponent("el-table-column"), {
|
|
224
|
+
"type": "index",
|
|
225
|
+
"width": 66,
|
|
232
226
|
"align": "center"
|
|
233
227
|
}, {
|
|
234
228
|
default: (opts) => {
|
|
235
229
|
const {
|
|
236
230
|
$index
|
|
237
231
|
} = opts;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
return vue.createVNode("div", null, [ibiz.i18n.t("control.form.repeaterGrid.absentOrLoad")]);
|
|
232
|
+
if (!this.controller.enableDelete) {
|
|
233
|
+
return vue.createVNode("span", null, [$index + 1]);
|
|
241
234
|
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
controller: formItemC.editor,
|
|
254
|
-
disabled: formItemC.state.disabled,
|
|
255
|
-
readonly: formItemC.state.readonly,
|
|
256
|
-
onChange: (val, name) => {
|
|
257
|
-
formItemC.setDataValue(val, name);
|
|
258
|
-
}
|
|
259
|
-
});
|
|
235
|
+
return [this.renderRemoveBtn($index), vue.createVNode("span", {
|
|
236
|
+
"class": this.ns.be("index", "text")
|
|
237
|
+
}, [$index + 1])];
|
|
238
|
+
}
|
|
239
|
+
}), this.formItems.length > 0 && this.formItems.map((item) => {
|
|
240
|
+
const width = item.labelWidth;
|
|
241
|
+
let widthName = "width";
|
|
242
|
+
let columnWidth = "";
|
|
243
|
+
if (typeof width === "number") {
|
|
244
|
+
if (width === 1) {
|
|
245
|
+
widthName = "min-width";
|
|
260
246
|
}
|
|
261
|
-
|
|
262
|
-
"error": formItemC.state.error,
|
|
263
|
-
"required": formItemC.state.required
|
|
264
|
-
}, _isSlot(editor) ? editor : {
|
|
265
|
-
default: () => [editor]
|
|
266
|
-
});
|
|
247
|
+
columnWidth = "".concat(width, "px");
|
|
267
248
|
}
|
|
268
|
-
|
|
269
|
-
|
|
249
|
+
return vue.createVNode(vue.resolveComponent("el-table-column"), vue.mergeProps({
|
|
250
|
+
"label": item.caption,
|
|
251
|
+
"prop": item.id
|
|
252
|
+
}, {
|
|
253
|
+
[widthName]: columnWidth
|
|
254
|
+
}, {
|
|
255
|
+
"align": "center"
|
|
256
|
+
}), {
|
|
257
|
+
default: (opts) => {
|
|
258
|
+
const {
|
|
259
|
+
$index
|
|
260
|
+
} = opts;
|
|
261
|
+
const formC = vue.toRaw(this.formControllers[$index]);
|
|
262
|
+
if (!formC || !formC.state.isLoaded) {
|
|
263
|
+
return vue.createVNode("div", null, [ibiz.i18n.t("control.form.repeaterGrid.absentOrLoad")]);
|
|
264
|
+
}
|
|
265
|
+
const formItemC = formC.formItems.find((x) => x.name === item.id);
|
|
266
|
+
let editor = null;
|
|
267
|
+
if (!formItemC.editorProvider) {
|
|
268
|
+
editor = vue.createVNode(vue.resolveComponent("not-supported-editor"), {
|
|
269
|
+
"modelData": item.editor
|
|
270
|
+
}, null);
|
|
271
|
+
} else {
|
|
272
|
+
const component = vue.resolveComponent(formItemC.editorProvider.formEditor);
|
|
273
|
+
editor = vue.h(component, {
|
|
274
|
+
value: formItemC.value,
|
|
275
|
+
data: formItemC.data,
|
|
276
|
+
controller: formItemC.editor,
|
|
277
|
+
disabled: formItemC.state.disabled,
|
|
278
|
+
readonly: formItemC.state.readonly,
|
|
279
|
+
onChange: (val, name) => {
|
|
280
|
+
formItemC.setDataValue(val, name);
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
return vue.createVNode(vue.resolveComponent("iBizGridEditItem"), {
|
|
285
|
+
"error": formItemC.state.error,
|
|
286
|
+
"required": formItemC.state.required
|
|
287
|
+
}, _isSlot(editor) ? editor : {
|
|
288
|
+
default: () => [editor]
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
})];
|
|
293
|
+
},
|
|
294
|
+
append: () => {
|
|
295
|
+
return [tableHeight && vue.withDirectives(vue.createVNode("div", {
|
|
296
|
+
"infinite-scroll-distance": 20
|
|
297
|
+
}, null), [[vue.resolveDirective("infinite-scroll"), () => this.loadMore()]])];
|
|
298
|
+
}
|
|
270
299
|
})]);
|
|
271
300
|
}
|
|
272
301
|
});
|
|
@@ -54,19 +54,6 @@ const TabExpPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
54
54
|
var _a;
|
|
55
55
|
const c = vue3Util.useControlController((...args) => new runtime.TabExpPanelController(...args));
|
|
56
56
|
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
57
|
-
const counterData = vue.ref({});
|
|
58
|
-
const fn = (counter) => {
|
|
59
|
-
counterData.value = counter;
|
|
60
|
-
};
|
|
61
|
-
c.evt.on("onCreated", () => {
|
|
62
|
-
if (c.counter) {
|
|
63
|
-
c.counter.onChange(fn, true);
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
vue.onUnmounted(() => {
|
|
67
|
-
var _a2;
|
|
68
|
-
(_a2 = c.counter) == null ? void 0 : _a2.offChange(fn);
|
|
69
|
-
});
|
|
70
57
|
const handleTabChange = () => {
|
|
71
58
|
c.handleTabChange();
|
|
72
59
|
};
|
|
@@ -100,7 +87,6 @@ const TabExpPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
100
87
|
c,
|
|
101
88
|
ns,
|
|
102
89
|
tabPosition,
|
|
103
|
-
counterData,
|
|
104
90
|
handleTabChange
|
|
105
91
|
};
|
|
106
92
|
},
|
|
@@ -108,7 +94,8 @@ const TabExpPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
108
94
|
let _slot;
|
|
109
95
|
const {
|
|
110
96
|
isCreated,
|
|
111
|
-
tabPages
|
|
97
|
+
tabPages,
|
|
98
|
+
counterData
|
|
112
99
|
} = this.c.state;
|
|
113
100
|
return vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
114
101
|
"controller": this.c
|
|
@@ -119,7 +106,7 @@ const TabExpPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
119
106
|
"tabPosition": this.tabPosition,
|
|
120
107
|
"onTabChange": this.handleTabChange
|
|
121
108
|
}, _isSlot(_slot = tabPages.map((tab) => {
|
|
122
|
-
const counterNum = tab.counterId ?
|
|
109
|
+
const counterNum = tab.counterId ? counterData[tab.counterId] : void 0;
|
|
123
110
|
return vue.createVNode(vue.resolveComponent("el-tab-pane"), {
|
|
124
111
|
"class": [this.ns.e("tab-item")],
|
|
125
112
|
"label": tab.caption,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-input{width:100%;height:100%;font-size:var(--ibiz-form-item-font-size);font-weight:var(--ibiz-form-item-regular);--ibiz-input-min-height:var(--ibiz-editor-default-line-height);--ibiz-input-ai-chat-bottom-tight:10px}.ibiz-input__ai-chat{display:flex;align-items:center;justify-content:center;position:absolute;right:var(--ibiz-spacing-base-tight);bottom:var(--ibiz-input-ai-chat-bottom-tight);width:calc(var(--ibiz-width-icon-medium) + 2 * var(--ibiz-spacing-tight));height:calc(var(--ibiz-width-icon-medium) + 2 * var(--ibiz-spacing-tight));padding:var(--ibiz-spacing-tight);font-size:var(--ibiz-width-icon-medium);color:var(--ibiz-color-primary-text);cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:var(--ibiz-border-radius-circle)}.ibiz-input__ai-chat:hover{color:var(--ibiz-color-primary-hover-text);background-color:var(--ibiz-color-primary-hover)}.ibiz-input .el-input .el-input__inner{height:100%}.ibiz-input .el-input .el-input__inner::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-input .el-input .el-input__inner::placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-input .el-textarea .el-textarea__inner{height:100%}.ibiz-input .el-textarea .el-textarea__inner::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color);word-break:break-word;white-space:pre-wrap}.ibiz-input .el-textarea .el-textarea__inner::placeholder{color:var(--ibiz-form-item-placeholder-color);word-break:break-word;white-space:pre-wrap}.ibiz-input .el-input__count{bottom:0}.ibiz-input .ibiz-input-input{height:100%}.ibiz-input .ibiz-input-input .el-input__wrapper{width:100%;min-height:var(--ibiz-input-min-height)}.ibiz-input--readonly{height:auto;overflow:auto;line-height:var(--ibiz-input-min-height);color:var(--ibiz-form-item-readonly-color);word-break:break-word;white-space:pre-wrap}.ibiz-input .el-input__suffix .ibiz-input__unit{font-style:normal}.ibiz-input .el-textarea__inner{min-height:32px!important}.ibiz-input-form-default-content{display:none}.ibiz-form-item .ibiz-input.is-show-default.is-textarea{
|
|
1
|
+
.ibiz-input{width:100%;height:100%;font-size:var(--ibiz-form-item-font-size);font-weight:var(--ibiz-form-item-regular);--ibiz-input-min-height:var(--ibiz-editor-default-line-height);--ibiz-input-ai-chat-bottom-tight:10px}.ibiz-input__ai-chat{display:flex;align-items:center;justify-content:center;position:absolute;right:var(--ibiz-spacing-base-tight);bottom:var(--ibiz-input-ai-chat-bottom-tight);width:calc(var(--ibiz-width-icon-medium) + 2 * var(--ibiz-spacing-tight));height:calc(var(--ibiz-width-icon-medium) + 2 * var(--ibiz-spacing-tight));padding:var(--ibiz-spacing-tight);font-size:var(--ibiz-width-icon-medium);color:var(--ibiz-color-primary-text);cursor:pointer;background-color:var(--ibiz-color-primary);border-radius:var(--ibiz-border-radius-circle)}.ibiz-input__ai-chat:hover{color:var(--ibiz-color-primary-hover-text);background-color:var(--ibiz-color-primary-hover)}.ibiz-input .el-input .el-input__inner{height:100%}.ibiz-input .el-input .el-input__inner::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-input .el-input .el-input__inner::placeholder{color:var(--ibiz-form-item-placeholder-color)}.ibiz-input .el-textarea .el-textarea__inner{height:100%}.ibiz-input .el-textarea .el-textarea__inner::-moz-placeholder{color:var(--ibiz-form-item-placeholder-color);word-break:break-word;white-space:pre-wrap}.ibiz-input .el-textarea .el-textarea__inner::placeholder{color:var(--ibiz-form-item-placeholder-color);word-break:break-word;white-space:pre-wrap}.ibiz-input .el-input__count{bottom:0}.ibiz-input .ibiz-input-input{height:100%}.ibiz-input .ibiz-input-input .el-input__wrapper{width:100%;min-height:var(--ibiz-input-min-height)}.ibiz-input--readonly{height:auto;overflow:auto;line-height:var(--ibiz-input-min-height);color:var(--ibiz-form-item-readonly-color);word-break:break-word;white-space:pre-wrap}.ibiz-input .el-input__suffix .ibiz-input__unit{font-style:normal}.ibiz-input .el-textarea__inner{min-height:32px!important}.ibiz-input-form-default-content{display:none}.ibiz-form-item .ibiz-input.is-show-default.is-textarea{overflow:hidden}.ibiz-form-item .ibiz-input.is-show-default.is-textarea .ibiz-input-form-default-content{display:block}.ibiz-form-item .ibiz-input.is-show-default.is-textarea .ibiz-input-input{display:none}.ibiz-form-item .ibiz-input.is-show-default:hover .ibiz-input-form-default-content{display:none}.ibiz-form-item .ibiz-input.is-show-default:hover .ibiz-input-input{display:inline-flex}.ibiz-form-item .ibiz-input.is-show-default .ibiz-input-form-default-content{display:flex;align-items:center;width:100%;padding:var(--ibiz-form-item-hover-edit-padding);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);word-wrap:break-word;white-space:pre-wrap}.ibiz-form-item .ibiz-input.is-show-default .ibiz-input-input{display:none;font-family:Arial,sans-serif}.ibiz-form-item .ibiz-input.is-show-default .ibiz-input-input.el-textarea .el-textarea__inner{word-wrap:break-word;white-space:pre-wrap}.ibiz-form-item .ibiz-input.is-show-default.is-editable .ibiz-input-form-default-content{display:none}.ibiz-form-item .ibiz-input.is-show-default.is-editable .ibiz-input-input{display:inline-flex}
|
|
@@ -73,7 +73,7 @@ function getViewInfoByViewStack(viewName, context) {
|
|
|
73
73
|
const indexViewName = getAppIndexViewName(context);
|
|
74
74
|
if (view) {
|
|
75
75
|
let isEmbed = false;
|
|
76
|
-
if (view.parentView && view.parentView.model.codeName !== indexViewName) {
|
|
76
|
+
if (view.parentView && view.parentView.model.codeName !== indexViewName && view.parentView.model.viewType !== "APPINDEXVIEW") {
|
|
77
77
|
isEmbed = true;
|
|
78
78
|
}
|
|
79
79
|
const data = view.state.srfactiveviewdata;
|
|
@@ -68,8 +68,8 @@ class InternalMessageJSONtProvider extends internalMessageDefault_provider.Inter
|
|
|
68
68
|
{
|
|
69
69
|
srfapptype: "pc",
|
|
70
70
|
srfapp: mainApp.model.codeName,
|
|
71
|
-
todosubtype: subType
|
|
72
|
-
|
|
71
|
+
todosubtype: subType,
|
|
72
|
+
todourltype: "RouterUrl"
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
if (res.data && res.data.linkurl) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.7.41-alpha.
|
|
3
|
+
"version": "0.7.41-alpha.37",
|
|
4
4
|
"description": "web端组件库(vue3)",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@ibiz-template-plugin/data-view": "0.0.6",
|
|
37
37
|
"@ibiz-template/core": "0.7.41-alpha.35",
|
|
38
38
|
"@ibiz-template/devtool": "0.0.13",
|
|
39
|
-
"@ibiz-template/model-helper": "0.7.41-alpha.
|
|
40
|
-
"@ibiz-template/runtime": "0.7.41-alpha.
|
|
39
|
+
"@ibiz-template/model-helper": "0.7.41-alpha.36",
|
|
40
|
+
"@ibiz-template/runtime": "0.7.41-alpha.36",
|
|
41
41
|
"@ibiz-template/theme": "0.7.39",
|
|
42
|
-
"@ibiz-template/vue3-util": "0.7.41-alpha.
|
|
42
|
+
"@ibiz-template/vue3-util": "0.7.41-alpha.36",
|
|
43
43
|
"@ibiz-template/web-theme": "3.9.0",
|
|
44
44
|
"@ibiz/model-core": "^0.1.83",
|
|
45
45
|
"@imengyu/vue3-context-menu": "^1.3.5",
|