@aplus-frontend/ui 6.34.0 → 6.35.1

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.
Files changed (65) hide show
  1. package/es/src/ag-grid/components/tooltip/index.vue2.mjs +1 -1
  2. package/es/src/ag-grid/hooks/use-selection-col-def.mjs +28 -22
  3. package/es/src/ag-grid/index.vue.mjs +77 -72
  4. package/es/src/ag-grid/interface.d.ts +5 -1
  5. package/es/src/ap-form/ap-form.vue.d.ts +2 -6
  6. package/es/src/ap-form/ap-form.vue2.mjs +71 -69
  7. package/es/src/ap-form/item/index.vue.mjs +13 -12
  8. package/es/src/ap-grid/editable/form-item.vue.mjs +74 -71
  9. package/es/src/ap-grid/editable/index.vue.mjs +94 -91
  10. package/es/src/ap-grid/index.vue.mjs +74 -69
  11. package/es/src/ap-pro-card/components/statistic/index.vue.d.ts +1 -1
  12. package/es/src/ap-table/ap-table.vue2.mjs +72 -69
  13. package/es/src/ap-tag/ap-tag-group.vue.mjs +33 -30
  14. package/es/src/ap-upload/components/SingleFile.vue2.mjs +103 -103
  15. package/es/src/business/ap-attachment/ApAttachment.mjs +16 -15
  16. package/es/src/business/ap-copy/ApCopy.mjs +5 -6
  17. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +176 -175
  18. package/es/src/business/ap-keep-alive/keeper/ap-view-keeper.mjs +4 -4
  19. package/es/src/business/ap-label/ApLabel.d.ts +1 -1
  20. package/es/src/business/ap-label/index.d.ts +3 -3
  21. package/es/src/business/hooks/useKeepAliveFlag.d.ts +3 -0
  22. package/es/src/business/hooks/useKeepAliveFlag.mjs +10 -7
  23. package/es/src/business/hooks/usePageListAgGrid.d.ts +1 -2
  24. package/es/src/business/hooks/usePageListAgGrid.mjs +29 -38
  25. package/es/src/business/hooks/usePageListApTable.mjs +10 -9
  26. package/es/src/editable-table/form-item.vue.mjs +75 -72
  27. package/es/src/editable-table/hooks/use-get-columns.mjs +35 -34
  28. package/es/src/editable-table/index.vue.mjs +68 -65
  29. package/es/src/utils/warning.d.ts +25 -0
  30. package/es/src/utils/warning.mjs +74 -0
  31. package/es/src/version.d.ts +1 -1
  32. package/es/src/version.mjs +1 -1
  33. package/lib/src/ag-grid/components/tooltip/index.vue2.js +1 -1
  34. package/lib/src/ag-grid/hooks/use-selection-col-def.js +1 -1
  35. package/lib/src/ag-grid/index.vue.js +1 -1
  36. package/lib/src/ag-grid/interface.d.ts +5 -1
  37. package/lib/src/ap-form/ap-form.vue.d.ts +2 -6
  38. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  39. package/lib/src/ap-form/item/index.vue.js +1 -1
  40. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  41. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  42. package/lib/src/ap-grid/index.vue.js +1 -1
  43. package/lib/src/ap-pro-card/components/statistic/index.vue.d.ts +1 -1
  44. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  45. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  46. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  47. package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
  48. package/lib/src/business/ap-copy/ApCopy.js +1 -1
  49. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  50. package/lib/src/business/ap-keep-alive/keeper/ap-view-keeper.js +1 -1
  51. package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
  52. package/lib/src/business/ap-label/index.d.ts +3 -3
  53. package/lib/src/business/hooks/useKeepAliveFlag.d.ts +3 -0
  54. package/lib/src/business/hooks/useKeepAliveFlag.js +1 -1
  55. package/lib/src/business/hooks/usePageListAgGrid.d.ts +1 -2
  56. package/lib/src/business/hooks/usePageListAgGrid.js +1 -1
  57. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  58. package/lib/src/editable-table/form-item.vue.js +1 -1
  59. package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
  60. package/lib/src/editable-table/index.vue.js +1 -1
  61. package/lib/src/utils/warning.d.ts +25 -0
  62. package/lib/src/utils/warning.js +1 -0
  63. package/lib/src/version.d.ts +1 -1
  64. package/lib/src/version.js +1 -1
  65. package/package.json +3 -3
@@ -1,53 +1,49 @@
1
- import "../index.mjs";
2
- import { merge as v, cloneDeep as A } from "lodash-unified";
3
- import { ref as F } from "vue";
1
+ import { isFunction as g, merge as A, cloneDeep as F } from "lodash-unified";
2
+ import { ref as w } from "vue";
4
3
  import { useKeepAliveFlag as R } from "./useKeepAliveFlag.mjs";
5
- import { useTableRefresh as w } from "./useTableRefresh.mjs";
6
- function y(a) {
7
- const r = F(null), {
8
- isShowRowSelection: c = !0,
9
- clearSelectionOnRequest: i = !0,
4
+ function O(l) {
5
+ const r = w(null), {
6
+ isShowRowSelection: u = !0,
7
+ clearSelectionOnRequest: d = !0,
10
8
  transformSearchFormValues: o,
11
- api: s,
12
- tableRefresh: f = !0,
13
- clearDataOnDeactivated: d = !0,
9
+ api: a,
10
+ tableRefresh: s = !0,
11
+ clearDataOnDeactivated: f = !0,
14
12
  ...m
15
- } = a || {};
13
+ } = l || {};
16
14
  let n = null;
17
- const l = () => {
15
+ const i = () => {
18
16
  r.value?.rowSelection?.clearAll();
19
- };
20
- w({
21
- ...V(f),
22
- apTableRef: r
23
- });
24
- const u = (e) => {
17
+ }, c = (e) => {
25
18
  r.value?.submitWith(e);
26
19
  }, p = () => {
27
20
  r.value?.reset();
28
21
  }, { isDeactivated: h } = R({
29
- afterDeactivated: u
22
+ afterActivated() {
23
+ (g(s) ? s() : s) && c();
24
+ },
25
+ afterDeactivated: c
30
26
  });
31
- return [v(
27
+ return [A(
32
28
  {
33
29
  // scroll,tableLayout,columnResizable设置表格可拖动
34
30
  columnResizable: !0,
35
- request: s ? async (e) => {
36
- if (h() && d)
31
+ request: a ? async (e) => {
32
+ if (h() && f)
37
33
  return {
38
34
  data: [],
39
35
  total: 0
40
36
  };
41
37
  n = e.sort;
42
38
  const t = o ? o(e) : e;
43
- if (!s) throw new Error("api is not defined");
44
- const { records: S, total: g } = await s(t);
45
- return i && l(), {
46
- data: S,
47
- total: g
39
+ if (!a) throw new Error("api is not defined");
40
+ const { records: v, total: S } = await a(t);
41
+ return d && i(), {
42
+ data: v,
43
+ total: S
48
44
  };
49
45
  } : void 0,
50
- rowSelection: c ? {
46
+ rowSelection: u ? {
51
47
  fixed: "left",
52
48
  columnWidth: 38
53
49
  } : void 0,
@@ -59,7 +55,7 @@ function y(a) {
59
55
  },
60
56
  m
61
57
  ), {
62
- reload: u,
58
+ reload: c,
63
59
  reset: p,
64
60
  getSearchFormValues: (e = !0) => {
65
61
  const t = r.value?.getSearchFormValues(!!e) || {};
@@ -68,16 +64,11 @@ function y(a) {
68
64
  getAgGridInstance: () => r.value,
69
65
  getSearchFormValuesAndSorted: (e = !0) => {
70
66
  const t = r.value?.getSearchFormValues(!!e) || {};
71
- return t.sort = n && A(n), o ? o(t) : t;
67
+ return t.sort = n && F(n), o ? o(t) : t;
72
68
  },
73
- clearSelection: l
69
+ clearSelection: i
74
70
  }];
75
71
  }
76
- function V(a) {
77
- return a === !0 ? {} : a === !1 ? {
78
- refreshBefore: () => !1
79
- } : a;
80
- }
81
72
  export {
82
- y as usePageListAgGrid
73
+ O as usePageListAgGrid
83
74
  };
@@ -1,12 +1,13 @@
1
- import { merge as p, cloneDeep as h } from "lodash-unified";
1
+ import { merge as d, cloneDeep as h } from "lodash-unified";
2
2
  import { ref as S } from "vue";
3
3
  import { useTableRefresh as b } from "./useTableRefresh.mjs";
4
- function g(o) {
4
+ import { warning as g } from "../../utils/warning.mjs";
5
+ function v(o) {
5
6
  return o === !0 ? {} : o === !1 ? {
6
7
  refreshBefore: () => !1
7
8
  } : o;
8
9
  }
9
- function I(o) {
10
+ function O(o) {
10
11
  const r = S(null), {
11
12
  isShowRowSelection: u = !0,
12
13
  clearSelectionOnRequest: i = !0,
@@ -20,9 +21,9 @@ function I(o) {
20
21
  r.value?.rowSelection?.clearAll();
21
22
  };
22
23
  return b({
23
- ...g(f),
24
+ ...v(f),
24
25
  apTableRef: r
25
- }), [p(
26
+ }), [d(
26
27
  {
27
28
  // scroll,tableLayout,columnResizable设置表格可拖动
28
29
  scroll: { x: "100%", y: "100%" },
@@ -35,13 +36,13 @@ function I(o) {
35
36
  const t = a ? a(e) : e;
36
37
  try {
37
38
  if (!s) throw new Error("api is not defined");
38
- const { records: n, total: d } = await s(t);
39
+ const { records: n, total: p } = await s(t);
39
40
  return i && c(), {
40
41
  data: n,
41
- total: d
42
+ total: p
42
43
  };
43
44
  } catch (n) {
44
- return console.error(n), {
45
+ return g(!1, n), {
45
46
  data: [],
46
47
  total: 0
47
48
  };
@@ -79,5 +80,5 @@ function I(o) {
79
80
  }];
80
81
  }
81
82
  export {
82
- I as usePageListApTable
83
+ O as usePageListApTable
83
84
  };
@@ -1,16 +1,17 @@
1
- import { defineComponent as K, ref as p, unref as r, useSlots as P, toRef as A, watch as O, nextTick as G, createBlock as H, openBlock as U, mergeProps as c, withCtx as h, createVNode as W, createSlots as $, renderList as q, renderSlot as J, normalizeProps as Q, guardReactiveProps as X } from "vue";
1
+ import { defineComponent as z, ref as p, unref as r, useSlots as A, toRef as K, watch as O, nextTick as G, createBlock as W, openBlock as H, mergeProps as c, withCtx as g, createVNode as U, createSlots as $, renderList as q, renderSlot as J, normalizeProps as Q, guardReactiveProps as X } from "vue";
2
2
  import { Table as Y } from "@aplus-frontend/antdv";
3
- import { ApForm as g } from "../ap-form/index.mjs";
4
- import { isUndefined as Z, isNumber as d, cloneDeep as M, isArray as ee, omit as w } from "lodash-unified";
3
+ import { ApForm as h } from "../ap-form/index.mjs";
4
+ import { isUndefined as Z, isNumber as d, cloneDeep as M, isArray as ee, omit as b } from "lodash-unified";
5
5
  import "../config-provider/index.mjs";
6
6
  import { useInjectForm as te } from "../ap-form/context.mjs";
7
- import { isDef as x } from "../utils/index.mjs";
8
- import oe from "./hooks/use-get-columns.mjs";
9
- import { scrollToRowIndex as ae } from "./utils.mjs";
7
+ import { isDef as w } from "../utils/index.mjs";
8
+ import ae from "./hooks/use-get-columns.mjs";
9
+ import { scrollToRowIndex as oe } from "./utils.mjs";
10
10
  import { getModelValue as ne } from "../ap-form/utils/get.mjs";
11
- import { useNamespace as le } from "../config-provider/hooks/use-namespace.mjs";
12
- import { useGlobalConfig as se } from "../config-provider/hooks/use-global-config.mjs";
13
- const ye = /* @__PURE__ */ K({
11
+ import { useDevWarning as le } from "../utils/warning.mjs";
12
+ import { useNamespace as se } from "../config-provider/hooks/use-namespace.mjs";
13
+ import { useGlobalConfig as re } from "../config-provider/hooks/use-global-config.mjs";
14
+ const Re = /* @__PURE__ */ z({
14
15
  name: "EditableTableFormItem",
15
16
  __name: "form-item",
16
17
  props: {
@@ -111,116 +112,118 @@ const ye = /* @__PURE__ */ K({
111
112
  default: () => ({})
112
113
  }
113
114
  },
114
- setup(y, {
115
- expose: b
115
+ setup(x, {
116
+ expose: y
116
117
  }) {
117
- const a = y, {
118
- internalInstance: u,
118
+ const o = x;
119
+ le("EditableTableFormItem")(!1, "breaking", "EditableTableFormItem has been EOL, Please use EditableAgGridFormItem(https://aplus.aplnk.com/aplus-ui/components/ag-grid/editable/) instead.");
120
+ const {
121
+ internalInstance: i,
119
122
  model: C
120
- } = te(), i = p(ne(r(C), a.name) || []), R = P(), B = A(a, "name"), F = g.useWatch(B);
121
- O(() => F.value, async (e) => {
122
- await G(), i.value = e, a.onChange?.(e);
123
+ } = te(), u = p(ne(r(C), o.name) || []), R = A(), F = K(o, "name"), B = h.useWatch(F);
124
+ O(() => B.value, async (e) => {
125
+ await G(), u.value = e, o.onChange?.(e);
123
126
  }, {
124
127
  deep: !0
125
128
  });
126
129
  const {
127
- b: v
128
- } = le("editable-table"), m = p(), T = se("valueTypeMap"), D = oe(a, T);
129
- function I(e, n) {
130
- const l = r(i)?.length || 0;
131
- if (x(a.maxLength) && l >= a.maxLength)
130
+ b: T
131
+ } = se("editable-table"), m = p(), v = re("valueTypeMap"), I = ae(o, v);
132
+ function D(e, n) {
133
+ const l = r(u)?.length || 0;
134
+ if (w(o.maxLength) && l >= o.maxLength)
132
135
  return;
133
136
  const t = {
134
137
  ...e || {}
135
138
  };
136
- u?.setFieldValue(a.name, t, !0, (o, s) => {
137
- if (!o[s]) {
138
- o[s] = [t];
139
+ i?.setFieldValue(o.name, t, !0, (a, s) => {
140
+ if (!a[s]) {
141
+ a[s] = [t];
139
142
  return;
140
143
  }
141
- Z(n) ? o[s].push(t) : o[s].splice(n, 0, t);
144
+ Z(n) ? a[s].push(t) : a[s].splice(n, 0, t);
142
145
  });
143
146
  }
144
- function S(e, n = "suffix") {
145
- const l = r(i)?.length || 0, t = d(e) ? e : e.length;
146
- if (x(a.maxLength) && l + t > a.maxLength)
147
+ function E(e, n = "suffix") {
148
+ const l = r(u)?.length || 0, t = d(e) ? e : e.length;
149
+ if (w(o.maxLength) && l + t > o.maxLength)
147
150
  return;
148
- const o = d(e) ? new Array(e).fill(0).map(() => ({})) : M(e);
149
- u?.setFieldValue(a.name, o, !0, (s, f) => {
151
+ const a = d(e) ? new Array(e).fill(0).map(() => ({})) : M(e);
152
+ i?.setFieldValue(o.name, a, !0, (s, f) => {
150
153
  if (!s[f]) {
151
- s[f] = [...o];
154
+ s[f] = [...a];
152
155
  return;
153
156
  }
154
- n === "suffix" ? s[f].push(...o) : s[f].unshift(...o);
157
+ n === "suffix" ? s[f].push(...a) : s[f].unshift(...a);
155
158
  });
156
159
  }
157
- function V(e) {
160
+ function L(e) {
158
161
  const n = new Set(d(e) ? [e] : e);
159
- u?.setFieldValue(a.name, void 0, !0, (l, t) => {
160
- l[t] = l[t].filter((o, s) => !n.has(s));
162
+ i?.setFieldValue(o.name, void 0, !0, (l, t) => {
163
+ l[t] = l[t].filter((a, s) => !n.has(s));
161
164
  });
162
165
  }
163
- function L(e) {
166
+ function S(e) {
164
167
  const n = new Set(ee(e) ? e : [e]);
165
- n.size !== 0 && u?.setFieldValue?.(a.name, void 0, !0, (l, t) => {
166
- l[t] = l[t].filter((o) => !n.has(o[a.rowKey]));
168
+ n.size !== 0 && i?.setFieldValue?.(o.name, void 0, !0, (l, t) => {
169
+ l[t] = l[t].filter((a) => !n.has(a[o.rowKey]));
167
170
  });
168
171
  }
169
- function N() {
170
- return r(i);
172
+ function V() {
173
+ return r(u);
171
174
  }
172
- function E(e) {
173
- return r(i)?.[e];
175
+ function k(e) {
176
+ return r(u)?.[e];
174
177
  }
175
- function _(e, n, l = !0) {
176
- u?.setFieldValue(a.name, void 0, !0, (t, o) => {
177
- !t[o] || !t[o][e] || (t[o][e] = {
178
- ...l ? t[o][e] : {},
178
+ function N(e, n, l = !0) {
179
+ i?.setFieldValue(o.name, void 0, !0, (t, a) => {
180
+ !t[a] || !t[a][e] || (t[a][e] = {
181
+ ...l ? t[a][e] : {},
179
182
  ...n
180
183
  });
181
184
  });
182
185
  }
183
- function k(e) {
184
- u?.setFieldValue(a.name, e);
186
+ function _(e) {
187
+ i?.setFieldValue(o.name, e);
185
188
  }
186
- function j(e, n) {
187
- const l = e === "end" ? i.value.length - 1 : e;
188
- ae(l, m.value?.$el, n);
189
+ function P(e, n) {
190
+ const l = e === "end" ? u.value.length - 1 : e;
191
+ oe(l, m.value?.$el, n);
189
192
  }
190
- function z() {
191
- u?.setFieldValue?.(a.name, []);
193
+ function j() {
194
+ i?.setFieldValue?.(o.name, []);
192
195
  }
193
- return b({
194
- add: I,
195
- remove: V,
196
- getRowData: E,
197
- getRowsData: N,
198
- setRowData: _,
199
- addMultiple: S,
200
- scrollTo: j,
201
- setTableData: k,
202
- clear: z,
203
- removeByKey: L
204
- }), (e, n) => (U(), H(r(g).FormItem, c(e.formItem, {
196
+ return y({
197
+ add: D,
198
+ remove: L,
199
+ getRowData: k,
200
+ getRowsData: V,
201
+ setRowData: N,
202
+ addMultiple: E,
203
+ scrollTo: P,
204
+ setTableData: _,
205
+ clear: j,
206
+ removeByKey: S
207
+ }), (e, n) => (H(), W(r(h).FormItem, c(e.formItem, {
205
208
  name: e.name,
206
209
  label: e.label
207
210
  }), {
208
- default: h(() => [W(r(Y), c(r(w)(a, ["name", "maxLength", "onChange"]), {
211
+ default: g(() => [U(r(Y), c(r(b)(o, ["name", "maxLength", "onChange"]), {
209
212
  ref_key: "tableRef",
210
213
  ref: m,
211
- class: r(v)(),
212
- columns: r(D),
213
- "data-source": i.value
214
+ class: r(T)(),
215
+ columns: r(I),
216
+ "data-source": u.value
214
217
  }), $({
215
218
  _: 2
216
- }, [q(r(w)(R, ["headerCell"]), (l, t) => ({
219
+ }, [q(r(b)(R, ["headerCell"]), (l, t) => ({
217
220
  name: t,
218
- fn: h((o) => [J(e.$slots, t, Q(X(o || {})))])
221
+ fn: g((a) => [J(e.$slots, t, Q(X(a || {})))])
219
222
  }))]), 1040, ["class", "columns", "data-source"])]),
220
223
  _: 3
221
224
  }, 16, ["name", "label"]));
222
225
  }
223
226
  });
224
227
  export {
225
- ye as default
228
+ Re as default
226
229
  };
@@ -1,61 +1,62 @@
1
- import { useSlots as T, computed as C, unref as i } from "vue";
2
- import { omit as p, isFunction as N, isArray as m } from "lodash-unified";
3
- import { getEditableTableTitle as y, mergeClass as k, getFinalNode as w } from "../utils.mjs";
4
- import { updateFormProps as A, getFieldProps as q, getTableRenderProps as v } from "../../ap-table/utils.mjs";
1
+ import { useSlots as p, computed as C, unref as u } from "vue";
2
+ import { omit as N, isFunction as y, isArray as m } from "lodash-unified";
3
+ import { getEditableTableTitle as k, mergeClass as v, getFinalNode as w } from "../utils.mjs";
4
+ import { updateFormProps as A, getFieldProps as E, getTableRenderProps as q } from "../../ap-table/utils.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import { useToken as E } from "@aplus-frontend/antdv/es/theme/internal";
7
- import { useNamespace as G } from "../../config-provider/hooks/use-namespace.mjs";
8
- const K = (o, f) => {
6
+ import { useToken as D } from "@aplus-frontend/antdv/es/theme/internal";
7
+ import { useDevWarning as G } from "../../utils/warning.mjs";
8
+ import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
9
+ const M = (r, f) => {
9
10
  const {
10
11
  em: b,
11
- be: x
12
- } = G("editable-table"), g = T(), [, F] = E();
12
+ be: g
13
+ } = S("editable-table"), x = G("EditableTable"), F = p(), [, T] = D();
13
14
  return C(() => {
14
- const d = o.columns;
15
+ const d = r.columns;
15
16
  if (!d)
16
17
  return [];
17
18
  function c(h) {
18
19
  return h.map((e) => ({
19
- ...p(e, ["ellipsis"]),
20
+ ...N(e, ["ellipsis"]),
20
21
  children: c(e.children || []),
21
- title: y(e, x("table-header", "title"), b("header-cell", "required"), g.headerCell, i(F).colorTextTertiary),
22
+ title: k(e, g("table-header", "title"), b("header-cell", "required"), F.headerCell, u(T).colorTextTertiary),
22
23
  customRender({
23
- value: r,
24
+ value: a,
24
25
  ...n
25
26
  }) {
26
- const t = N(e.editable) ? e.editable(n.text, n.record, n.index) : !!e.editable;
27
+ const l = y(e.editable) ? e.editable(n.text, n.record, n.index) : !!e.editable;
27
28
  if (!e.valueType && !e.customRender && !e.customRenderFormItem)
28
- return console.warn("can not render table cell because no `valueType` / `customRender` / `customRenderFormItem`"), null;
29
- let a;
30
- if (t) {
31
- const l = A(e, q(e.fieldProps, {
32
- value: r,
29
+ return x(!1, "usage", "'can not render table cell because no `valueType` / `customRender` / `customRenderFormItem`'"), null;
30
+ let t;
31
+ if (l) {
32
+ const o = A(e, E(e.fieldProps, {
33
+ value: a,
33
34
  ...n
34
- })), u = {};
35
- o.onFieldChange && (u[`onUpdate:${l.valuePropName || "value"}`] = (R) => o.onFieldChange?.(n.index, e.dataIndex, R));
35
+ })), i = {};
36
+ r.onFieldChange && (i[`onUpdate:${o.valuePropName || "value"}`] = (R) => r.onFieldChange?.(n.index, e.dataIndex, R));
36
37
  const I = m(e.dataIndex) ? e.dataIndex : [e.dataIndex];
37
- a = {
38
- name: [...m(o.name) ? o.name : [o.name], n.index, ...I],
39
- ...l || {},
38
+ t = {
39
+ name: [...m(r.name) ? r.name : [r.name], n.index, ...I],
40
+ ...o || {},
40
41
  field: {
41
42
  style: "width: 100%",
42
- ...l?.field || {},
43
- ...u,
44
- class: k("is-editable", l.class)
43
+ ...o?.field || {},
44
+ ...i,
45
+ class: v("is-editable", o.class)
45
46
  }
46
47
  };
47
48
  } else
48
- a = {
49
- field: v(e, {
50
- value: r,
49
+ t = {
50
+ field: q(e, {
51
+ value: a,
51
52
  ...n
52
53
  })
53
54
  };
54
- const s = w(e, t, a, r, n.record, i(f));
55
+ const s = w(e, l, t, a, n.record, u(f));
55
56
  return e.customRender ? e.customRender({
56
- value: r,
57
+ value: a,
57
58
  ...n,
58
- editable: t,
59
+ editable: l,
59
60
  originalNode: s
60
61
  }) : s;
61
62
  }
@@ -65,5 +66,5 @@ const K = (o, f) => {
65
66
  });
66
67
  };
67
68
  export {
68
- K as default
69
+ M as default
69
70
  };