@ibiz-template/vue3-components 0.5.3 → 0.5.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-JryyIvVw.js → index-13Oh42A8.js} +1 -1
- package/dist/index-Sw1mQx8I.js +2 -0
- package/dist/{index-_-rmev8_.js → index-ZIuDbCjc.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-gLo7UcOH.js → xlsx-util-OwLxXdXL.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +2 -1
- package/es/common/grid-setting/grid-setting.css +1 -1
- package/es/common/grid-setting/grid-setting.mjs +2 -2
- package/es/control/search-bar/search-groups/edit-group-util.mjs +1 -0
- package/es/control/search-bar/search-groups/new-group-util.mjs +8 -0
- package/es/control/search-bar/search-groups/search-groups.d.ts +1 -0
- package/es/control/search-bar/search-groups/search-groups.mjs +34 -14
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +21 -14
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -0
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +8 -3
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +1 -0
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +8 -3
- package/es/locale/en/index.d.ts +3 -0
- package/es/locale/en/index.mjs +4 -1
- package/es/locale/zh-CN/index.d.ts +3 -0
- package/es/locale/zh-CN/index.mjs +4 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +2 -1
- package/lib/common/grid-setting/grid-setting.cjs +2 -2
- package/lib/common/grid-setting/grid-setting.css +1 -1
- package/lib/control/search-bar/search-groups/edit-group-util.cjs +1 -0
- package/lib/control/search-bar/search-groups/new-group-util.cjs +8 -0
- package/lib/control/search-bar/search-groups/search-groups.cjs +34 -14
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +21 -14
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +7 -2
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +7 -2
- package/lib/locale/en/index.cjs +4 -1
- package/lib/locale/zh-CN/index.cjs +4 -1
- package/package.json +5 -5
- package/dist/index-Pgs8_HX2.js +0 -2
|
@@ -35,6 +35,9 @@ const IBizFileUpload = /* @__PURE__ */ vue.defineComponent({
|
|
|
35
35
|
const isGridEditor = vue.computed(() => {
|
|
36
36
|
return !!c.parent.model.columnType;
|
|
37
37
|
});
|
|
38
|
+
const {
|
|
39
|
+
componentRef
|
|
40
|
+
} = vue3Util.useFocusAndBlur(() => emit("focus"), () => emit("blur"));
|
|
38
41
|
return {
|
|
39
42
|
ns,
|
|
40
43
|
c,
|
|
@@ -48,12 +51,14 @@ const IBizFileUpload = /* @__PURE__ */ vue.defineComponent({
|
|
|
48
51
|
onRemove,
|
|
49
52
|
onSuccess,
|
|
50
53
|
beforeUpload,
|
|
51
|
-
isGridEditor
|
|
54
|
+
isGridEditor,
|
|
55
|
+
componentRef
|
|
52
56
|
};
|
|
53
57
|
},
|
|
54
58
|
render() {
|
|
55
59
|
return vue.createVNode("div", {
|
|
56
|
-
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : ""]
|
|
60
|
+
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : ""],
|
|
61
|
+
"ref": "componentRef"
|
|
57
62
|
}, [vue.createVNode(vue.resolveComponent("el-upload"), {
|
|
58
63
|
"class": [this.ns.b("icon"), this.ns.is("not-show", this.noUploadIcon)],
|
|
59
64
|
"file-list": this.files,
|
|
@@ -40,6 +40,9 @@ const IBizImageUpload = /* @__PURE__ */ vue.defineComponent({
|
|
|
40
40
|
const noUploadIcon = vue.computed(() => {
|
|
41
41
|
return limit.value === 1 && files.value.length === 1;
|
|
42
42
|
});
|
|
43
|
+
const {
|
|
44
|
+
componentRef
|
|
45
|
+
} = vue3Util.useFocusAndBlur(() => emit("focus"), () => emit("blur"));
|
|
43
46
|
return {
|
|
44
47
|
ns,
|
|
45
48
|
c,
|
|
@@ -56,12 +59,14 @@ const IBizImageUpload = /* @__PURE__ */ vue.defineComponent({
|
|
|
56
59
|
onRemove,
|
|
57
60
|
onDownload,
|
|
58
61
|
onDialogVisibleChange,
|
|
59
|
-
onPreview
|
|
62
|
+
onPreview,
|
|
63
|
+
componentRef
|
|
60
64
|
};
|
|
61
65
|
},
|
|
62
66
|
render() {
|
|
63
67
|
return vue.createVNode("div", {
|
|
64
|
-
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : ""]
|
|
68
|
+
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : ""],
|
|
69
|
+
"ref": "componentRef"
|
|
65
70
|
}, [vue.createVNode("div", {
|
|
66
71
|
"class": this.ns.e("image-upload-list")
|
|
67
72
|
}, [this.files.map((item) => vue.createVNode("div", {
|
package/lib/locale/en/index.cjs
CHANGED
|
@@ -106,7 +106,10 @@ var index = {
|
|
|
106
106
|
noSupportVideo: "Your browser does not support video tags"
|
|
107
107
|
},
|
|
108
108
|
gridSetting: {
|
|
109
|
-
hideControl: "
|
|
109
|
+
hideControl: "Column selection"
|
|
110
|
+
},
|
|
111
|
+
actionToolbar: {
|
|
112
|
+
more: "More"
|
|
110
113
|
}
|
|
111
114
|
},
|
|
112
115
|
// 编辑器
|
|
@@ -106,7 +106,10 @@ var index = {
|
|
|
106
106
|
noSupportVideo: "\u4F60\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301video\u6807\u7B7E"
|
|
107
107
|
},
|
|
108
108
|
gridSetting: {
|
|
109
|
-
hideControl: "\
|
|
109
|
+
hideControl: "\u5217\u9009\u62E9"
|
|
110
|
+
},
|
|
111
|
+
actionToolbar: {
|
|
112
|
+
more: "\u66F4\u591A"
|
|
110
113
|
}
|
|
111
114
|
},
|
|
112
115
|
// 编辑器
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"@floating-ui/dom": "^1.5.3",
|
|
27
27
|
"@ibiz-template-plugin/ai-chat": "^0.0.1",
|
|
28
28
|
"@ibiz-template-plugin/gantt": "0.1.1",
|
|
29
|
-
"@ibiz-template/core": "^0.5.
|
|
30
|
-
"@ibiz-template/model-helper": "^0.5.
|
|
31
|
-
"@ibiz-template/runtime": "^0.5.
|
|
29
|
+
"@ibiz-template/core": "^0.5.6",
|
|
30
|
+
"@ibiz-template/model-helper": "^0.5.6",
|
|
31
|
+
"@ibiz-template/runtime": "^0.5.6",
|
|
32
32
|
"@ibiz-template/theme": "^0.5.0",
|
|
33
|
-
"@ibiz-template/vue3-util": "^0.5.
|
|
33
|
+
"@ibiz-template/vue3-util": "^0.5.6",
|
|
34
34
|
"@ibiz/model-core": "^0.1.5",
|
|
35
35
|
"@imengyu/vue3-context-menu": "^1.3.5",
|
|
36
36
|
"@monaco-editor/loader": "^1.4.0",
|