@kp-ui/lowcode 2.14.0-beta.26 → 2.14.0-beta.28

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-beta.26",
3
+ "version": "2.14.0-beta.28",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as r } from "vue";
2
2
  import { getFileName as m } from "../../../../utils/getFileName.js";
3
- const t = /* @__PURE__ */ Object.assign({ "./container-wrapper.vue": () => import("./container-wrapper.vue.js"), "./data-table-widget.vue": () => import("./data-table-widget.vue.js"), "./grid-col-widget.vue": () => import("./grid-col-widget.vue.js"), "./grid-sub-form-widget.vue": () => import("./grid-sub-form-widget.vue.js"), "./grid-widget.vue": () => import("./grid-widget.vue.js"), "./sub-form-widget.vue": () => import("./sub-form-widget.vue.js"), "./tab-widget.vue": () => import("./tab-widget.vue.js"), "./table-cell-widget.vue": () => import("./table-cell-widget.vue.js"), "./table-widget.vue": () => import("./table-widget.vue.js"), "./vf-box-item.vue": () => import("./vf-box-item.vue.js"), "./vf-box-widget.vue": () => import("./vf-box-widget.vue.js"), "./vf-collapse-widget.vue": () => import("./vf-collapse-widget.vue.js"), "./vf-dialog-widget.vue": () => import("./vf-dialog-widget.vue.js"), "./vf-drawer-widget.vue": () => import("./vf-drawer-widget.vue.js") }), a = {
3
+ const t = /* @__PURE__ */ Object.assign({ "./container-wrapper.vue": () => import("./container-wrapper.vue.js"), "./data-table-widget.vue": () => import("./data-table-widget.vue.js"), "./grid-col-widget.vue": () => import("./grid-col-widget.vue.js"), "./grid-sub-form-widget.vue": () => import("./grid-sub-form-widget.vue.js"), "./grid-widget.vue": () => import("./grid-widget.vue.js"), "./sub-form-widget.vue": () => import("./sub-form-widget.vue.js"), "./tab-widget.vue": () => import("./tab-widget.vue.js"), "./table-cell-widget.vue": () => import("./table-cell-widget.vue.js"), "./table-widget.vue": () => import("./table-widget.vue.js"), "./vf-box-widget.vue": () => import("./vf-box-widget.vue.js"), "./vf-collapse-widget.vue": () => import("./vf-collapse-widget.vue.js"), "./vf-dialog-widget.vue": () => import("./vf-dialog-widget.vue.js"), "./vf-drawer-widget.vue": () => import("./vf-drawer-widget.vue.js") }), a = {
4
4
  install(i) {
5
5
  for (const e in t) {
6
6
  const o = m(e);
@@ -1,24 +1,25 @@
1
- import * as a from "./container-item-wrapper.vue.js";
2
- import * as o from "./data-table-item.vue.js";
1
+ import * as r from "./container-item-wrapper.vue.js";
2
+ import * as a from "./data-table-item.vue.js";
3
3
  import * as i from "./grid-col-item.vue.js";
4
4
  import * as s from "./grid-item.vue.js";
5
5
  import * as f from "./grid-sub-form-item.vue.js";
6
6
  import * as l from "./sub-form-item.vue.js";
7
7
  import * as p from "./tab-item.vue.js";
8
8
  import * as u from "./table-cell-item.vue.js";
9
- import * as n from "./table-item.vue.js";
10
- import * as v from "./vf-collapse-item.vue.js";
11
- import * as d from "./vf-dialog-item.vue.js";
12
- import * as b from "./vf-drawer-item.vue.js";
13
- const e = /* @__PURE__ */ Object.assign({ "./container-item-wrapper.vue": a, "./data-table-item.vue": o, "./grid-col-item.vue": i, "./grid-item.vue": s, "./grid-sub-form-item.vue": f, "./sub-form-item.vue": l, "./tab-item.vue": p, "./table-cell-item.vue": u, "./table-item.vue": n, "./vf-collapse-item.vue": v, "./vf-dialog-item.vue": d, "./vf-drawer-item.vue": b }), I = {
9
+ import * as v from "./table-item.vue.js";
10
+ import * as n from "./vf-box-item.vue.js";
11
+ import * as d from "./vf-collapse-item.vue.js";
12
+ import * as b from "./vf-dialog-item.vue.js";
13
+ import * as I from "./vf-drawer-item.vue.js";
14
+ const e = /* @__PURE__ */ Object.assign({ "./container-item-wrapper.vue": r, "./data-table-item.vue": a, "./grid-col-item.vue": i, "./grid-item.vue": s, "./grid-sub-form-item.vue": f, "./sub-form-item.vue": l, "./tab-item.vue": p, "./table-cell-item.vue": u, "./table-item.vue": v, "./vf-box-item.vue": n, "./vf-collapse-item.vue": d, "./vf-dialog-item.vue": b, "./vf-drawer-item.vue": I }), c = {
14
15
  install(m) {
15
16
  for (const t in e) {
16
- const r = e[t].default.name;
17
- m.component(r, e[t].default);
17
+ const o = e[t].default.name;
18
+ m.component(o, e[t].default);
18
19
  }
19
20
  }
20
21
  };
21
22
  export {
22
23
  e as ContainerWidgetMap,
23
- I as default
24
+ c as default
24
25
  };
@@ -1,23 +1,23 @@
1
- import F from "../../../form-render/container-item/container-item-wrapper.vue2.js";
2
- import R from "../../../../utils/emitter.js";
3
- import { defineAsyncComponent as O, resolveComponent as c, withDirectives as _, createBlock as a, openBlock as n, withCtx as m, createElementBlock as f, normalizeStyle as L, normalizeClass as S, createCommentVNode as g, Fragment as p, renderList as u, resolveDynamicComponent as w, createSlots as b, renderSlot as h, mergeProps as x, vShow as k } from "vue";
4
- import $ from "../../../../utils/i18n.js";
5
- import j from "../field-widget/index.js";
6
- import B from "../../../form-render/refMixin.js";
7
- import I from "../../../form-render/container-item/containerItemMixin.js";
8
- import M from "../../../svg-icon/index.vue.js";
1
+ import x from "./container-item-wrapper.vue2.js";
2
+ import y from "../../../utils/emitter.js";
3
+ import { defineAsyncComponent as C, resolveComponent as F, withDirectives as R, createBlock as s, openBlock as n, withCtx as m, createElementBlock as f, normalizeStyle as O, normalizeClass as L, createCommentVNode as S, Fragment as p, renderList as u, resolveDynamicComponent as c, createSlots as g, renderSlot as w, mergeProps as b, vShow as _ } from "vue";
4
+ import $ from "../../../utils/i18n.js";
5
+ import k from "../../form-designer/form-widget/field-widget/index.js";
6
+ import j from "../refMixin.js";
7
+ import B from "./containerItemMixin.js";
8
+ import I from "../../svg-icon/index.vue.js";
9
9
  /* empty css */
10
- import v from "../../../../../_virtual/_plugin-vue_export-helper.js";
11
- const D = {
10
+ import v from "../../../../_virtual/_plugin-vue_export-helper.js";
11
+ const M = {
12
12
  name: "VfBoxItem",
13
13
  componentName: "boxItem",
14
14
  // 必须固定为ContainerItem,用于接收父级组件的broadcast事件
15
- mixins: [R, $, B, I],
15
+ mixins: [y, $, j, B],
16
16
  components: {
17
- ContainerItemWrapper: F,
18
- SvgIcon: M,
19
- ...j,
20
- VFormRender: O(() => import("../../../form-render/index.vue.js"))
17
+ ContainerItemWrapper: x,
18
+ SvgIcon: I,
19
+ ...k,
20
+ VFormRender: C(() => import("../index.vue.js"))
21
21
  },
22
22
  props: {
23
23
  widget: Object,
@@ -116,24 +116,17 @@ const D = {
116
116
  }
117
117
  }
118
118
  };
119
- function N(e, o, t, T, V, l) {
120
- const y = c("VFormRender"), C = c("container-item-wrapper");
121
- return _((n(), a(C, { widget: t.widget }, {
119
+ function D(e, o, t, N, T, l) {
120
+ const h = F("container-item-wrapper");
121
+ return R((n(), s(h, { widget: t.widget }, {
122
122
  default: m(() => [
123
123
  (n(), f("div", {
124
- class: S(["box-container-item", [l.customClass]]),
125
- style: L(l.boxStyle),
124
+ class: L(["box-container-item", [l.customClass]]),
125
+ style: O(l.boxStyle),
126
126
  key: t.widget.id
127
127
  }, [
128
- t.widget.options.formCode ? (n(), a(y, {
129
- key: 0,
130
- ref: "dFormRef",
131
- "parent-form": t.parentFormRef,
132
- "disabled-mode": t.widget.options.disabledMode,
133
- "dynamic-creation": !0
134
- }, null, 8, ["parent-form", "disabled-mode"])) : g("", !0),
135
- t.widget.widgetList && t.widget.widgetList.length > 0 ? (n(!0), f(p, { key: 1 }, u(t.widget.widgetList, (i, d) => (n(), f(p, null, [
136
- i.category === "container" ? (n(), a(w(e.getComponentByContainer(i)), {
128
+ t.widget.widgetList && t.widget.widgetList.length > 0 ? (n(!0), f(p, { key: 0 }, u(t.widget.widgetList, (i, d) => (n(), f(p, null, [
129
+ i.category === "container" ? (n(), s(c(e.getComponentByContainer(i)), {
137
130
  widget: i,
138
131
  key: d,
139
132
  "parent-list": t.widget.widgetList,
@@ -142,37 +135,37 @@ function N(e, o, t, T, V, l) {
142
135
  "sub-form-row-id": t.subFormRowId,
143
136
  "sub-form-row-index": t.subFormRowIndex,
144
137
  "sub-form-col-index": t.subFormColIndex
145
- }, b({ _: 2 }, [
138
+ }, g({ _: 2 }, [
146
139
  u(Object.keys(e.$slots), (r) => ({
147
140
  name: r,
148
- fn: m((s) => [
149
- h(e.$slots, r, x({ ref_for: !0 }, s), void 0, !0)
141
+ fn: m((a) => [
142
+ w(e.$slots, r, b({ ref_for: !0 }, a), void 0, !0)
150
143
  ])
151
144
  }))
152
- ]), 1032, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"])) : (n(), a(w(i.type + "-widget"), {
145
+ ]), 1032, ["widget", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"])) : (n(), s(c(i.type + "-widget"), {
153
146
  field: i,
154
147
  designer: null,
155
148
  key: d,
156
149
  "parent-list": t.widget.widgetList,
157
150
  "index-of-parent-list": d,
158
151
  "parent-widget": t.widget
159
- }, b({ _: 2 }, [
152
+ }, g({ _: 2 }, [
160
153
  u(Object.keys(e.$slots), (r) => ({
161
154
  name: r,
162
- fn: m((s) => [
163
- h(e.$slots, r, x({ ref_for: !0 }, s), void 0, !0)
155
+ fn: m((a) => [
156
+ w(e.$slots, r, b({ ref_for: !0 }, a), void 0, !0)
164
157
  ])
165
158
  }))
166
159
  ]), 1032, ["field", "parent-list", "index-of-parent-list", "parent-widget"]))
167
- ], 64))), 256)) : g("", !0)
160
+ ], 64))), 256)) : S("", !0)
168
161
  ], 6))
169
162
  ]),
170
163
  _: 3
171
164
  }, 8, ["widget"])), [
172
- [k, !t.widget.options.hidden]
165
+ [_, !t.widget.options.hidden]
173
166
  ]);
174
167
  }
175
- const Y = /* @__PURE__ */ v(D, [["render", N], ["__scopeId", "data-v-7b4bc88d"]]);
168
+ const X = /* @__PURE__ */ v(M, [["render", D], ["__scopeId", "data-v-1828915a"]]);
176
169
  export {
177
- Y as default
170
+ X as default
178
171
  };