@ibiz-template/vue3-components 0.6.11 → 0.6.12
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-oPRPtU0q.js → index-225rMkM4.js} +2 -2
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-5X-82uzW.js → xlsx-util-u4LQibbt.js} +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +18 -2
- package/es/view-engine/index.mjs +5 -0
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +18 -2
- package/lib/view-engine/index.cjs +5 -0
- package/package.json +5 -5
|
@@ -182,6 +182,7 @@ const IBizPickerSelectView = /* @__PURE__ */ defineComponent({
|
|
|
182
182
|
}
|
|
183
183
|
multipleTempText.value = null;
|
|
184
184
|
}
|
|
185
|
+
keySet.value = [];
|
|
185
186
|
}
|
|
186
187
|
return;
|
|
187
188
|
}
|
|
@@ -232,6 +233,20 @@ const IBizPickerSelectView = /* @__PURE__ */ defineComponent({
|
|
|
232
233
|
}
|
|
233
234
|
multipleTempText.value = tempText;
|
|
234
235
|
}
|
|
236
|
+
if (!singleSelect.value) {
|
|
237
|
+
if (event.length === 0) {
|
|
238
|
+
items.value = [];
|
|
239
|
+
keySet.value = [];
|
|
240
|
+
} else if (Array.isArray(event)) {
|
|
241
|
+
items.value = event.map((item) => {
|
|
242
|
+
return {
|
|
243
|
+
srfkey: item[c.keyName] || item.srfkey,
|
|
244
|
+
srfmajortext: item[c.textName] || item.srfmajortext
|
|
245
|
+
};
|
|
246
|
+
});
|
|
247
|
+
keySet.value = items.value.map((item) => item.srfkey);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
235
250
|
};
|
|
236
251
|
const openLinkView = async (e) => {
|
|
237
252
|
e.stopPropagation();
|
|
@@ -330,6 +345,9 @@ const IBizPickerSelectView = /* @__PURE__ */ defineComponent({
|
|
|
330
345
|
emit("change", multipleTempText.value);
|
|
331
346
|
}
|
|
332
347
|
}
|
|
348
|
+
if (e === false) {
|
|
349
|
+
onBlur({});
|
|
350
|
+
}
|
|
333
351
|
};
|
|
334
352
|
const handleDropDownKeyDown = (e) => {
|
|
335
353
|
if (e.code === "Escape") {
|
|
@@ -396,7 +414,6 @@ const IBizPickerSelectView = /* @__PURE__ */ defineComponent({
|
|
|
396
414
|
"onFocus": (e) => {
|
|
397
415
|
this.onFocus(e);
|
|
398
416
|
},
|
|
399
|
-
"onBlur": this.onBlur,
|
|
400
417
|
"onKeyup": this.handleKeyUp
|
|
401
418
|
}, {
|
|
402
419
|
suffix: () => {
|
|
@@ -420,7 +437,6 @@ const IBizPickerSelectView = /* @__PURE__ */ defineComponent({
|
|
|
420
437
|
"onFocus": (e) => {
|
|
421
438
|
this.onFocus(e);
|
|
422
439
|
},
|
|
423
|
-
"onBlur": this.onBlur,
|
|
424
440
|
"onKeyup": this.handleKeyUp,
|
|
425
441
|
"disabled": this.disabled || this.readonly
|
|
426
442
|
}, _isSlot(_slot = this.items.map((item, index) => {
|
package/es/view-engine/index.mjs
CHANGED
|
@@ -18,6 +18,7 @@ import { DataViewExpViewEngine } from './data-view-exp-view.engine.mjs';
|
|
|
18
18
|
import { TreeExpViewEngine } from './tree-exp-view.engine.mjs';
|
|
19
19
|
import { WizardViewEngine } from './wizard-view-engine.mjs';
|
|
20
20
|
import { ChartViewEngine } from './chart-view.engine.mjs';
|
|
21
|
+
import { WFDynaEditViewEngine } from './wf-dyna-edit-view.engine.mjs';
|
|
21
22
|
import { WFDynaEditView3Engine } from './wf-dyna-edit-view3.engine.mjs';
|
|
22
23
|
import { WFDynaActionViewEngine } from './wf-dyna-action-view.engine.mjs';
|
|
23
24
|
import { WFDynaStartViewEngine } from './wf-dyna-start-view.engine.mjs';
|
|
@@ -143,6 +144,10 @@ const IBizViewEngine = {
|
|
|
143
144
|
"VIEW_WizardView",
|
|
144
145
|
(c) => new WizardViewEngine(c)
|
|
145
146
|
);
|
|
147
|
+
ibiz.engine.register(
|
|
148
|
+
"VIEW_WFDynaEditView",
|
|
149
|
+
(c) => new WFDynaEditViewEngine(c)
|
|
150
|
+
);
|
|
146
151
|
ibiz.engine.register(
|
|
147
152
|
"VIEW_DEWFDYNAEDITVIEW3",
|
|
148
153
|
(c) => new WFDynaEditView3Engine(c)
|
|
@@ -184,6 +184,7 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
184
184
|
}
|
|
185
185
|
multipleTempText.value = null;
|
|
186
186
|
}
|
|
187
|
+
keySet.value = [];
|
|
187
188
|
}
|
|
188
189
|
return;
|
|
189
190
|
}
|
|
@@ -234,6 +235,20 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
234
235
|
}
|
|
235
236
|
multipleTempText.value = tempText;
|
|
236
237
|
}
|
|
238
|
+
if (!singleSelect.value) {
|
|
239
|
+
if (event.length === 0) {
|
|
240
|
+
items.value = [];
|
|
241
|
+
keySet.value = [];
|
|
242
|
+
} else if (Array.isArray(event)) {
|
|
243
|
+
items.value = event.map((item) => {
|
|
244
|
+
return {
|
|
245
|
+
srfkey: item[c.keyName] || item.srfkey,
|
|
246
|
+
srfmajortext: item[c.textName] || item.srfmajortext
|
|
247
|
+
};
|
|
248
|
+
});
|
|
249
|
+
keySet.value = items.value.map((item) => item.srfkey);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
237
252
|
};
|
|
238
253
|
const openLinkView = async (e) => {
|
|
239
254
|
e.stopPropagation();
|
|
@@ -332,6 +347,9 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
332
347
|
emit("change", multipleTempText.value);
|
|
333
348
|
}
|
|
334
349
|
}
|
|
350
|
+
if (e === false) {
|
|
351
|
+
onBlur({});
|
|
352
|
+
}
|
|
335
353
|
};
|
|
336
354
|
const handleDropDownKeyDown = (e) => {
|
|
337
355
|
if (e.code === "Escape") {
|
|
@@ -398,7 +416,6 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
398
416
|
"onFocus": (e) => {
|
|
399
417
|
this.onFocus(e);
|
|
400
418
|
},
|
|
401
|
-
"onBlur": this.onBlur,
|
|
402
419
|
"onKeyup": this.handleKeyUp
|
|
403
420
|
}, {
|
|
404
421
|
suffix: () => {
|
|
@@ -422,7 +439,6 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
422
439
|
"onFocus": (e) => {
|
|
423
440
|
this.onFocus(e);
|
|
424
441
|
},
|
|
425
|
-
"onBlur": this.onBlur,
|
|
426
442
|
"onKeyup": this.handleKeyUp,
|
|
427
443
|
"disabled": this.disabled || this.readonly
|
|
428
444
|
}, _isSlot(_slot = this.items.map((item, index) => {
|
|
@@ -20,6 +20,7 @@ var dataViewExpView_engine = require('./data-view-exp-view.engine.cjs');
|
|
|
20
20
|
var treeExpView_engine = require('./tree-exp-view.engine.cjs');
|
|
21
21
|
var wizardViewEngine = require('./wizard-view-engine.cjs');
|
|
22
22
|
var chartView_engine = require('./chart-view.engine.cjs');
|
|
23
|
+
var wfDynaEditView_engine = require('./wf-dyna-edit-view.engine.cjs');
|
|
23
24
|
var wfDynaEditView3_engine = require('./wf-dyna-edit-view3.engine.cjs');
|
|
24
25
|
var wfDynaActionView_engine = require('./wf-dyna-action-view.engine.cjs');
|
|
25
26
|
var wfDynaStartView_engine = require('./wf-dyna-start-view.engine.cjs');
|
|
@@ -145,6 +146,10 @@ const IBizViewEngine = {
|
|
|
145
146
|
"VIEW_WizardView",
|
|
146
147
|
(c) => new wizardViewEngine.WizardViewEngine(c)
|
|
147
148
|
);
|
|
149
|
+
ibiz.engine.register(
|
|
150
|
+
"VIEW_WFDynaEditView",
|
|
151
|
+
(c) => new wfDynaEditView_engine.WFDynaEditViewEngine(c)
|
|
152
|
+
);
|
|
148
153
|
ibiz.engine.register(
|
|
149
154
|
"VIEW_DEWFDYNAEDITVIEW3",
|
|
150
155
|
(c) => new wfDynaEditView3_engine.WFDynaEditView3Engine(c)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12",
|
|
4
4
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"@floating-ui/dom": "^1.5.3",
|
|
31
31
|
"@ibiz-template-plugin/ai-chat": "^0.0.1",
|
|
32
32
|
"@ibiz-template-plugin/gantt": "0.1.3-alpha.46",
|
|
33
|
-
"@ibiz-template/core": "0.6.
|
|
33
|
+
"@ibiz-template/core": "0.6.13",
|
|
34
34
|
"@ibiz-template/devtool": "0.0.1-dev.6",
|
|
35
|
-
"@ibiz-template/model-helper": "0.6.
|
|
36
|
-
"@ibiz-template/runtime": "0.6.
|
|
35
|
+
"@ibiz-template/model-helper": "0.6.13",
|
|
36
|
+
"@ibiz-template/runtime": "0.6.13",
|
|
37
37
|
"@ibiz-template/theme": "^0.6.0",
|
|
38
|
-
"@ibiz-template/vue3-util": "0.6.
|
|
38
|
+
"@ibiz-template/vue3-util": "0.6.13",
|
|
39
39
|
"@ibiz-template/web-theme": "^1.1.12",
|
|
40
40
|
"@ibiz/model-core": "^0.1.18",
|
|
41
41
|
"@imengyu/vue3-context-menu": "^1.3.5",
|