@kp-ui/lowcode 2.14.0-alpha → 2.14.0-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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kp-ui/lowcode",
|
|
3
|
-
"version": "2.14.0-alpha",
|
|
3
|
+
"version": "2.14.0-alpha.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
},
|
|
33
33
|
"main": "install.js",
|
|
34
34
|
"types": "types/install.d.ts",
|
|
35
|
-
"sideEffects": false,
|
|
36
35
|
"exports": {
|
|
37
36
|
".": {
|
|
38
37
|
"import": "./install.js",
|
|
@@ -136,7 +136,7 @@ const N = {
|
|
|
136
136
|
console.log("test", e), console.log("test222222", t);
|
|
137
137
|
},
|
|
138
138
|
initLocale() {
|
|
139
|
-
this.
|
|
139
|
+
this.curLangName = this.i18nt("application." + this.getLocale), this.changeLocale(this.getLocale);
|
|
140
140
|
},
|
|
141
141
|
async loadFieldListFromServer() {
|
|
142
142
|
this.fieldListApi && (this.fieldList = await this.fieldListApi(), console.log("this.fieldList: ", this.fieldList));
|
package/src/components/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import u from "../../../../utils/i18n.js";
|
|
2
|
+
import { resolveComponent as t, createBlock as i, openBlock as o, withCtx as l, createVNode as p, createElementBlock as _, Fragment as f, renderList as m, createTextVNode as g, toDisplayString as v } from "vue";
|
|
3
|
+
import I from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const P = {
|
|
5
5
|
name: "labelIconPosition-editor",
|
|
6
|
-
mixins: [
|
|
6
|
+
mixins: [u],
|
|
7
7
|
props: {
|
|
8
8
|
designer: Object,
|
|
9
9
|
selectedWidget: Object,
|
|
@@ -12,30 +12,30 @@ const g = {
|
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
labelIconPosition: [
|
|
15
|
-
{ label: "
|
|
16
|
-
{ label: "
|
|
15
|
+
{ label: this.i18nt("designer.setting.labelBefore"), value: "front" },
|
|
16
|
+
{ label: this.i18nt("designer.setting.labelAfter"), value: "rear" }
|
|
17
17
|
]
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
function x(r, n, a, k,
|
|
22
|
-
const
|
|
23
|
-
return
|
|
21
|
+
function x(r, n, a, k, s, B) {
|
|
22
|
+
const c = t("a-select-option"), d = t("a-select"), b = t("a-form-item");
|
|
23
|
+
return o(), i(b, {
|
|
24
24
|
label: r.i18nt("designer.setting.labelIconPosition")
|
|
25
25
|
}, {
|
|
26
26
|
default: l(() => [
|
|
27
|
-
|
|
27
|
+
p(d, {
|
|
28
28
|
value: a.optionModel.labelIconPosition,
|
|
29
29
|
"onUpdate:value": n[0] || (n[0] = (e) => a.optionModel.labelIconPosition = e)
|
|
30
30
|
}, {
|
|
31
31
|
default: l(() => [
|
|
32
|
-
(
|
|
32
|
+
(o(!0), _(f, null, m(s.labelIconPosition, (e) => (o(), i(c, {
|
|
33
33
|
key: e.value,
|
|
34
34
|
label: e.label,
|
|
35
35
|
value: e.value
|
|
36
36
|
}, {
|
|
37
37
|
default: l(() => [
|
|
38
|
-
v(
|
|
38
|
+
g(v(e.label), 1)
|
|
39
39
|
]),
|
|
40
40
|
_: 2
|
|
41
41
|
}, 1032, ["label", "value"]))), 128))
|
|
@@ -46,7 +46,7 @@ function x(r, n, a, k, c, j) {
|
|
|
46
46
|
_: 1
|
|
47
47
|
}, 8, ["label"]);
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const h = /* @__PURE__ */ I(P, [["render", x]]);
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
h as default
|
|
52
52
|
};
|
package/src/lang/en-US.js
CHANGED
|
@@ -279,6 +279,8 @@ const e = {
|
|
|
279
279
|
headers: "Request Headers",
|
|
280
280
|
uploadListType: "Upload List Type",
|
|
281
281
|
customRender: "Custom Render",
|
|
282
|
+
labelBefore: "Label Before",
|
|
283
|
+
labelAfter: "Label After",
|
|
282
284
|
cellWidth: "Width",
|
|
283
285
|
cellHeight: "Height",
|
|
284
286
|
gridColHeight: "Height Of Col(px)",
|