@kp-ui/lowcode 2.15.0-alpha.1 → 2.15.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,12 +1,13 @@
1
1
  {
2
2
  "name": "@kp-ui/lowcode",
3
- "version": "2.15.0-alpha.1",
3
+ "version": "2.15.0-alpha.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "module": "install.js",
8
8
  "dependencies": {
9
- "@kp-ui/i18n": "0.0.12",
9
+ "vxe-pc-ui": "^4.10.29",
10
+ "vxe-table": "4.17.18",
10
11
  "@surely-vue/table": "5.0.3",
11
12
  "monaco-editor": "^0.44.0",
12
13
  "animate.css": "^4.1.1",
@@ -1,19 +1,19 @@
1
- import { defineComponent as g, computed as c, ref as y } from "vue";
2
- import { useI18n as _ } from "../../../../utils/i18n.js";
3
- import h from "../RenderDesignerWigetList.vue.js";
4
- import C from "../widgetAction.vue.js";
5
- import { useContainerWidget as q } from "./useContainerWidget.js";
6
- import { useAppRef as w } from "../../useAppRef.js";
7
- import { ComponentNameEnum as b, ContainerTypeEnum as W } from "../../../../constants/WidgetTypeEnum.js";
8
- const D = /* @__PURE__ */ g({
1
+ import { defineComponent as c, computed as g, ref as y } from "vue";
2
+ import { useI18n as b } from "../../../../utils/i18n.js";
3
+ import _ from "../RenderDesignerWigetList.vue.js";
4
+ import h from "../widgetAction.vue.js";
5
+ import { useContainerWidget as C } from "./useContainerWidget.js";
6
+ import { useAppRef as q } from "../../useAppRef.js";
7
+ import { ComponentNameEnum as w, ContainerTypeEnum as W } from "../../../../constants/WidgetTypeEnum.js";
8
+ const H = /* @__PURE__ */ c({
9
9
  name: W.GridColWidget,
10
- componentName: b.ContainerWidget,
10
+ componentName: w.ContainerWidget,
11
11
  inheritAttrs: !1,
12
12
  __name: "grid-col-widget",
13
13
  props: {
14
- widget: { type: null, required: !0 },
15
- field: { type: null, required: !0 },
16
- parentWidget: { type: null, required: !0 },
14
+ widget: { type: Object, required: !0 },
15
+ field: { type: Object, required: !0 },
16
+ parentWidget: { type: [Object, null], required: !0 },
17
17
  parentList: { type: Array, required: !0 },
18
18
  indexOfParentList: { type: Number, required: !1 },
19
19
  subFormRowIndex: { type: Number, required: !1 },
@@ -22,24 +22,24 @@ const D = /* @__PURE__ */ g({
22
22
  },
23
23
  setup(i, { expose: o }) {
24
24
  o();
25
- const e = i, { i18nt: n } = _(), {
25
+ const e = i, { i18nt: n } = b(), {
26
26
  designState: s,
27
27
  selected: p,
28
28
  selectWidget: u,
29
29
  customClass: d,
30
- onContainerDragAdd: l,
31
- onContainerDragUpdate: a
32
- } = q(e), m = c(() => e.colHeight ? { height: e.colHeight } : {}), f = y({
30
+ onContainerDragAdd: a,
31
+ onContainerDragUpdate: l
32
+ } = C(e), m = g(() => e.colHeight ? { height: e.colHeight } : {}), f = y({
33
33
  span: e.widget.options.span || 12,
34
34
  offset: e.widget.options.offset || 0,
35
35
  push: e.widget.options.push || 0,
36
36
  pull: e.widget.options.pull || 0
37
- }), { initRefList: t } = w(e);
37
+ }), { initRefList: t } = q(e);
38
38
  t();
39
- const r = { props: e, i18nt: n, designState: s, selected: p, selectWidget: u, customClass: d, onContainerDragAdd: l, onContainerDragUpdate: a, colHeightStyle: m, layoutProps: f, initRefList: t, RenderDesignerWigetList: h, WidgetAction: C };
39
+ const r = { props: e, i18nt: n, designState: s, selected: p, selectWidget: u, customClass: d, onContainerDragAdd: a, onContainerDragUpdate: l, colHeightStyle: m, layoutProps: f, initRefList: t, RenderDesignerWigetList: _, WidgetAction: h };
40
40
  return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
41
41
  }
42
42
  });
43
43
  export {
44
- D as default
44
+ H as default
45
45
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as u, computed as s, ref as d } from "vue";
2
- import l from "../RenderWigetList.vue.js";
1
+ import { defineComponent as u, computed as s, ref as l } from "vue";
2
+ import d from "../RenderWigetList.vue.js";
3
3
  import { ComponentNameEnum as m, ContainerTypeEnum as a } from "../../../constants/WidgetTypeEnum.js";
4
4
  import { useAppRef as f } from "../../form-designer/useAppRef.js";
5
- const _ = /* @__PURE__ */ u({
5
+ const h = /* @__PURE__ */ u({
6
6
  name: a.GridColWidget,
7
7
  componentName: m.ContainerWidget,
8
8
  inheritAttrs: !1,
9
9
  __name: "grid-col-widget",
10
10
  props: {
11
- widget: { type: Object, required: !0 },
12
- field: { type: Object, required: !0 },
13
- parentWidget: { type: [Object, null], required: !0 },
11
+ widget: { type: null, required: !0 },
12
+ field: { type: null, required: !0 },
13
+ parentWidget: { type: null, required: !0 },
14
14
  parentList: { type: Array, required: !0 },
15
15
  indexOfParentList: { type: Number, required: !1 },
16
16
  subFormRowIndex: { type: Number, required: !1 },
@@ -19,17 +19,17 @@ const _ = /* @__PURE__ */ u({
19
19
  },
20
20
  setup(i, { expose: o }) {
21
21
  o();
22
- const e = i, n = s(() => e.colHeight ? { height: e.colHeight } : {}), p = d({
22
+ const e = i, n = s(() => e.colHeight ? { height: e.colHeight } : {}), p = l({
23
23
  span: e.widget.options.span || 12,
24
24
  offset: e.widget.options.offset || 0,
25
25
  push: e.widget.options.push || 0,
26
26
  pull: e.widget.options.pull || 0
27
27
  }), { initRefList: t } = f();
28
28
  t();
29
- const r = { props: e, colHeightStyle: n, layoutProps: p, initRefList: t, RenderWigetList: l };
29
+ const r = { props: e, colHeightStyle: n, layoutProps: p, initRefList: t, RenderWigetList: d };
30
30
  return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
31
31
  }
32
32
  });
33
33
  export {
34
- _ as default
34
+ h as default
35
35
  };