@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.setLocale("en-US"), this.curLangName = this.i18nt("application." + this.getLocale), this.changeLocale(this.getLocale);
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));
@@ -1,9 +1,9 @@
1
- import p from "../../../../utils/i18n.js";
2
- import { resolveComponent as o, createBlock as i, openBlock as t, withCtx as l, createVNode as _, createElementBlock as b, Fragment as m, renderList as f, createTextVNode as v, toDisplayString as I } from "vue";
3
- import P from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const g = {
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: [p],
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: "标签前面", value: "front" },
16
- { label: "标签后面", value: "rear" }
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, c, j) {
22
- const s = o("a-select-option"), d = o("a-select"), u = o("a-form-item");
23
- return t(), i(u, {
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
- _(d, {
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
- (t(!0), b(m, null, f(c.labelIconPosition, (e) => (t(), i(s, {
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(I(e.label), 1)
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 y = /* @__PURE__ */ P(g, [["render", x]]);
49
+ const h = /* @__PURE__ */ I(P, [["render", x]]);
50
50
  export {
51
- y as default
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)",
package/src/lang/zh-CN.js CHANGED
@@ -286,6 +286,8 @@ const e = {
286
286
  addColumn: "增加栅格",
287
287
  responsive: "响应式布局",
288
288
  customRender: "自定义渲染",
289
+ labelBefore: "标签前面",
290
+ labelAfter: "标签后面",
289
291
  tabPaneSetting: "选项卡设置",
290
292
  addTabPane: "增加选项卡页",
291
293
  paneActive: "激活",