@aplus-frontend/ui 0.2.15 → 0.2.17

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.
@@ -1,164 +1,173 @@
1
- import { ref as x, nextTick as I, unref as o, onMounted as k, computed as V, createVNode as P } from "vue";
2
- import { parseFieldValue as ee, dataIndexToStr as te } from "../utils.mjs";
3
- import { isArray as B } from "lodash-unified";
1
+ import { ref as P, nextTick as ae, unref as o, onMounted as oe, computed as V, createVNode as b } from "vue";
2
+ import { parseFieldValue as re, dataIndexToStr as ne, isEqualCustom as se } from "../utils.mjs";
3
+ import { isArray as q, isEqualWith as ie } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
5
- import { useLocale as ae } from "../../config-provider/hooks/use-locale.mjs";
6
- import { useNamespace as oe } from "../../config-provider/hooks/use-namespace.mjs";
7
- const ue = ({
8
- manual: E = !1,
9
- defaultCurrent: M = 1,
10
- defaultPageSize: w = 10,
11
- request: N,
12
- defaultParams: $ = {},
13
- defaultData: q = [],
14
- formatParams: y,
15
- paramsValueTypeMap: C,
5
+ import { useTableSortedAndFiltered as le } from "./use-sorted-filtered.mjs";
6
+ import { useLocale as ce } from "../../config-provider/hooks/use-locale.mjs";
7
+ import { useNamespace as ue } from "../../config-provider/hooks/use-namespace.mjs";
8
+ const Te = ({
9
+ manual: B = !1,
10
+ defaultCurrent: K = 1,
11
+ defaultPageSize: y = 10,
12
+ request: M,
13
+ defaultParams: N = {},
14
+ defaultData: $ = [],
15
+ formatParams: w,
16
+ paramsValueTypeMap: A,
16
17
  resetFieldsIgnores: D,
17
18
  filterFields: J,
18
- sortFields: K,
19
- showLessItems: b = !1,
20
- showTotal: L = !0
19
+ sortFields: L,
20
+ showLessItems: z = !1,
21
+ showTotal: Q = !0
21
22
  }) => {
22
- let z = 0, l = {};
23
- const Q = (e) => y ? y(e) : e, u = x(), c = x(M), p = x(w), {
24
- t: F
25
- } = ae(), {
26
- b: S
27
- } = oe("ap-table"), n = x({
23
+ let C = 0, s = {};
24
+ const W = (e) => w ? w(e) : e, u = P(), c = P(K), p = P(y), {
25
+ getColumnSFConfig: G,
26
+ setSF: H,
27
+ clearAll: U
28
+ } = le(), {
29
+ t: T
30
+ } = ce(), {
31
+ b: F
32
+ } = ue("ap-table"), r = P({
28
33
  total: 0,
29
- records: q,
34
+ records: $,
30
35
  loading: !1
31
- }), O = async (e) => {
32
- var r;
33
- const a = Q(e), t = Date.now();
34
- z = t, n.value.loading = !0;
36
+ }), E = async (e) => {
37
+ var n;
38
+ const a = W(e), t = Date.now();
39
+ C = t, r.value.loading = !0;
35
40
  try {
36
- const s = await N({
37
- ...$,
41
+ const i = await M({
42
+ ...N,
38
43
  ...a
39
44
  });
40
- z === t && (n.value.total = s.total || ((r = s.data) == null ? void 0 : r.length) || 0, n.value.records = [...s.data || []]);
45
+ C === t && (r.value.total = i.total || ((n = i.data) == null ? void 0 : n.length) || 0, r.value.records = [...i.data || []]);
41
46
  } catch {
42
- z === t && (n.value.records = [], n.value.total = 0);
47
+ C === t && (r.value.records = [], r.value.total = 0);
43
48
  } finally {
44
- n.value.loading = !1;
49
+ r.value.loading = !1;
45
50
  }
46
- }, R = (e) => {
51
+ }, O = (e) => {
47
52
  const a = {};
48
- return Object.entries(e).forEach(([t, r]) => {
49
- if (a[t] = r, C && r) {
50
- const s = C[t];
51
- s && (a[t] = ee(s, r));
53
+ return Object.entries(e).forEach(([t, n]) => {
54
+ if (a[t] = n, A && n) {
55
+ const i = A[t];
56
+ i && (a[t] = re(i, n));
52
57
  }
53
58
  }), a;
54
- }, G = async (e) => {
55
- var r, s, g, d, m, f, h;
56
- const a = ((s = (r = u.value) == null ? void 0 : r.apForm) == null ? void 0 : s.getFieldsValue()) || {}, t = {};
57
- Object.entries(a).forEach(([v, i]) => {
58
- D && D.indexOf(v) > -1 && (t[v] = i);
59
- }), await ((d = (g = u.value) == null ? void 0 : g.apForm) == null ? void 0 : d.resetFields()), (h = (f = (m = u.value) == null ? void 0 : m.apForm) == null ? void 0 : f.setFieldsValue) == null || h.call(f, t), I(() => {
59
+ }, X = async (e) => {
60
+ var n, i, g, d, m, f, h;
61
+ const a = ((i = (n = u.value) == null ? void 0 : n.apForm) == null ? void 0 : i.getFieldsValueTransformed(!0)) || {}, t = {};
62
+ Object.entries(a).forEach(([v, x]) => {
63
+ D && D.indexOf(v) > -1 && (t[v] = x);
64
+ }), await ((d = (g = u.value) == null ? void 0 : g.apForm) == null ? void 0 : d.resetFields()), (h = (f = (m = u.value) == null ? void 0 : m.apForm) == null ? void 0 : f.setFieldsValue) == null || h.call(f, t), ae(() => {
60
65
  e == null || e();
61
66
  });
62
- }, T = (e) => {
63
- l = e;
64
- const a = R(e);
65
- O(a);
66
- }, H = (e) => {
67
- T({
68
- ...l,
67
+ }, S = (e) => {
68
+ s = e;
69
+ const a = O(e);
70
+ E(a);
71
+ }, Y = (e) => {
72
+ S({
73
+ ...s,
69
74
  ...e
70
75
  });
71
- }, j = () => {
76
+ }, R = () => {
72
77
  var a, t;
73
- const e = ((t = (a = u.value) == null ? void 0 : a.apForm) == null ? void 0 : t.getFieldsValue(!0)) || {};
74
- c.value = 1, T({
78
+ const e = ((t = (a = u.value) == null ? void 0 : a.apForm) == null ? void 0 : t.getFieldsValueTransformed(!0)) || {};
79
+ c.value = 1, S({
75
80
  ...e,
76
- filter: l.filter,
77
- sort: l.sort,
81
+ filter: s.filter,
82
+ sort: s.sort,
78
83
  current: 1,
79
- pageSize: l.pageSize || w
84
+ pageSize: s.pageSize || y
80
85
  });
81
- }, U = () => {
82
- G(j);
83
- }, W = () => {
84
- T(l);
85
- }, X = (e) => {
86
- const a = o(n).total - e, t = Math.ceil(a / o(p)), r = o(c) > t ? t : o(c);
87
- H({
88
- current: r > 0 ? r : 1
86
+ }, Z = () => {
87
+ U(), s.sort = {}, s.filter = {}, X(R);
88
+ }, _ = () => {
89
+ S(s);
90
+ }, I = (e) => {
91
+ const a = o(r).total - e, t = Math.ceil(a / o(p)), n = o(c) > t ? t : o(c);
92
+ Y({
93
+ current: n > 0 ? n : 1
89
94
  });
90
- }, A = (e, a, t) => {
91
- var m, f, h, v;
92
- const r = ((f = (m = u.value) == null ? void 0 : m.apForm) == null ? void 0 : f.getFieldsValue(!0)) || {};
93
- c.value = e.current, p.value = e.pageSize;
94
- const s = B(t) ? [...t] : [t], g = {};
95
- for (const i of s)
96
- (h = o(K)) != null && h.includes(i.columnKey || i.field) && (g[te(i.field)] = i.order);
95
+ }, j = (e, a, t) => {
96
+ var f, h, v, x;
97
+ const n = ((h = (f = u.value) == null ? void 0 : f.apForm) == null ? void 0 : h.getFieldsValueTransformed(!0)) || {};
98
+ c.value = e.current, p.value = e.pageSize, H(a, t);
99
+ const i = q(t) ? [...t] : [t], g = {};
100
+ for (const l of i)
101
+ (v = o(L)) != null && v.includes(l.columnKey || l.field) && (g[ne(l.columnKey || l.field)] = l.order);
97
102
  const d = {};
98
- for (const i of Object.keys(a))
99
- (v = o(J)) != null && v.includes(i) && (d[i] = a[i]);
100
- T({
101
- ...r,
103
+ for (const l of Object.keys(a))
104
+ (x = o(J)) != null && x.includes(l) && (d[l] = a[l]);
105
+ const m = {
106
+ ...n,
102
107
  filter: d,
103
108
  sort: g,
104
109
  current: e.current,
105
110
  pageSize: e.pageSize
106
- });
111
+ };
112
+ ie(s, m, se) || S(m);
107
113
  };
108
- k(() => {
114
+ oe(() => {
109
115
  var a, t;
110
- const e = ((t = (a = u.value) == null ? void 0 : a.apForm) == null ? void 0 : t.getFieldsValue(!0)) || {};
111
- if (l = {
116
+ const e = ((t = (a = u.value) == null ? void 0 : a.apForm) == null ? void 0 : t.getFieldsValueTransformed(!0)) || {};
117
+ if (s = {
112
118
  current: o(c),
113
119
  pageSize: o(p),
120
+ filter: {},
121
+ sort: {},
114
122
  ...e
115
- }, !E) {
116
- const r = R(l);
117
- O(r);
123
+ }, !B) {
124
+ const n = O(s);
125
+ E(n);
118
126
  }
119
127
  });
120
- const Y = V(() => o(n).total === 0 ? "-" : `${o(c.value)}/${Math.ceil(o(n).total / o(p))}`);
121
- function Z(e) {
122
- B(e) && (n.value.records = e, n.value.total = e.length);
128
+ const k = V(() => o(r).total === 0 ? "-" : `${o(c.value)}/${Math.ceil(o(r).total / o(p))}`);
129
+ function ee(e) {
130
+ q(e) && (r.value.records = e, r.value.total = e.length);
123
131
  }
124
- const _ = V(() => ({
125
- loading: o(n).loading,
132
+ const te = V(() => ({
133
+ loading: o(r).loading,
126
134
  pagination: {
127
135
  current: o(c),
128
136
  pageSize: o(p),
129
- total: o(n).total,
130
- showSizeChanger: !b,
131
- showQuickJumper: !b,
132
- showLessItems: b,
137
+ total: o(r).total,
138
+ showSizeChanger: !z,
139
+ showQuickJumper: !z,
140
+ showLessItems: z,
133
141
  size: "default",
134
- showTotal: L ? (e) => P("span", {
135
- class: S("pagination-total-wrapper")
136
- }, [F("ap.apTable.pagination.totalLeftPrefix"), " ", P("span", {
137
- class: S("pagination-count-text")
138
- }, [e]), " ", F("ap.apTable.pagination.totalLeftSuffix"), P("span", {
139
- class: S("pagination--total-right")
140
- }, [F("ap.apTable.pagination.totalRightPrefix"), " ", P("span", {
141
- class: S("pagination-count-text")
142
- }, [o(Y)]), " ", F("ap.apTable.pagination.totalRightSuffix")])]) : void 0
142
+ showTotal: Q ? (e) => b("span", {
143
+ class: F("pagination-total-wrapper")
144
+ }, [T("ap.apTable.pagination.totalLeftPrefix"), " ", b("span", {
145
+ class: F("pagination-count-text")
146
+ }, [e]), " ", T("ap.apTable.pagination.totalLeftSuffix"), b("span", {
147
+ class: F("pagination--total-right")
148
+ }, [T("ap.apTable.pagination.totalRightPrefix"), " ", b("span", {
149
+ class: F("pagination-count-text")
150
+ }, [o(k)]), " ", T("ap.apTable.pagination.totalRightSuffix")])]) : void 0
143
151
  },
144
- onChange: A,
145
- dataSource: o(n).records
152
+ onChange: j,
153
+ dataSource: o(r).records
146
154
  }));
147
155
  return {
148
156
  formRef: u,
149
- submit: j,
150
- reset: U,
151
- refresh: W,
152
- refreshByDelete: X,
153
- data: n,
157
+ submit: R,
158
+ reset: Z,
159
+ refresh: _,
160
+ refreshByDelete: I,
161
+ data: r,
154
162
  current: c,
155
163
  pageSize: p,
156
- handleTableChange: A,
157
- tableProps: _,
158
- dataSource: V(() => o(n).records),
159
- setDataSource: Z
164
+ handleTableChange: j,
165
+ tableProps: te,
166
+ dataSource: V(() => o(r).records),
167
+ setDataSource: ee,
168
+ getColumnSFConfig: G
160
169
  };
161
170
  };
162
171
  export {
163
- ue as useTablePaging
172
+ Te as useTablePaging
164
173
  };
@@ -8546,4 +8546,5 @@ export declare function getTableTitle(column: ApColumnType<any>, titleNodeClassN
8546
8546
  [key: string]: any;
8547
8547
  }> | ((props: ColumnTitleProps<any>) => VNodeArrayChildren | VueNode) | null;
8548
8548
  export declare function recursionApColumns<ReturnType = any>(columns: (ColumnType | ColumnGroupType<any>)[], handler: (column: ColumnType) => ReturnType): ReturnType[];
8549
+ export declare function isEqualCustom(value: any, other: any): boolean | undefined;
8549
8550
  export {};
@@ -1,32 +1,32 @@
1
- import { isVNode as b, createVNode as u, mergeProps as a, cloneVNode as T, Fragment as h } from "vue";
2
- import { isObject as f, isArray as p, isUndefined as g, isFunction as d, omit as j, isBoolean as O, isString as E } from "lodash-unified";
3
- import { apTableRenderItemMap as F, apTableFormItemMap as N } from "./constants.mjs";
4
- import { isType as S } from "@fruits-chain/utils";
1
+ import { isVNode as g, createVNode as u, mergeProps as m, cloneVNode as h, Fragment as j } from "vue";
2
+ import { isObject as a, isArray as l, isUndefined as E, isFunction as y, omit as O, isBoolean as F, isString as N, isEqual as S, sortBy as p, isPlainObject as d, every as I, isEmpty as v } from "lodash-unified";
3
+ import { apTableRenderItemMap as C, apTableFormItemMap as P } from "./constants.mjs";
4
+ import { isType as V } from "@fruits-chain/utils";
5
5
  import "../ap-form/index.mjs";
6
- import { Tooltip as v } from "@aplus-frontend/antdv";
7
- import { QuestionCircleOutlined as I } from "@ant-design/icons-vue";
8
- import C from "../ap-form/item/index.vue.mjs";
9
- function V(t) {
10
- return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !b(t);
6
+ import { Tooltip as w } from "@aplus-frontend/antdv";
7
+ import { QuestionCircleOutlined as A } from "@ant-design/icons-vue";
8
+ import x from "../ap-form/item/index.vue.mjs";
9
+ function _(t) {
10
+ return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !g(t);
11
11
  }
12
- const w = (t, e, n) => {
13
- let i = {};
14
- return f(t) ? Object.keys(t).forEach((o) => {
15
- f(t[o]) ? i[o] = w(t[o], e[o], n) : i[o] = n(t[o], e);
16
- }) : i = n(t, e), i;
17
- }, Q = (t, e) => {
12
+ const q = (t, e, n) => {
13
+ let o = {};
14
+ return a(t) ? Object.keys(t).forEach((r) => {
15
+ a(t[r]) ? o[r] = q(t[r], e[r], n) : o[r] = n(t[r], e);
16
+ }) : o = n(t, e), o;
17
+ }, X = (t, e) => {
18
18
  switch (t) {
19
19
  case "dayjs":
20
20
  return e.valueOf();
21
21
  case "dayjsRange":
22
22
  return e.map((n) => n.valueOf());
23
23
  case "dayjsDayRange": {
24
- const [n, i] = e;
25
- return [n.startOf("day").valueOf(), i.endOf("day").valueOf()];
24
+ const [n, o] = e;
25
+ return [n.startOf("day").valueOf(), o.endOf("day").valueOf()];
26
26
  }
27
27
  case "multiple":
28
28
  case "multipleNumber":
29
- return p(e) ? e : [e];
29
+ return l(e) ? e : [e];
30
30
  case "boolean":
31
31
  return e;
32
32
  case "object":
@@ -35,103 +35,103 @@ const w = (t, e, n) => {
35
35
  return e;
36
36
  }
37
37
  };
38
- function U(t) {
39
- return p(t) ? t.join(".") : t;
38
+ function Y(t) {
39
+ return l(t) ? t.join(".") : t;
40
40
  }
41
- function A(t) {
41
+ function W(t) {
42
42
  const e = Object.prototype.toString.call(t).match(/^\[object (.*)\]$/)[1].toLowerCase();
43
43
  return e === "string" && typeof t == "object" ? "object" : t === null ? "null" : t === void 0 ? "undefined" : e;
44
44
  }
45
- const P = (t) => A(t) === "map" ? t : new Map(Object.entries(t || {})), m = (t) => {
46
- const e = [], n = P(t);
47
- return n.forEach((i, o) => {
48
- const r = n.get(o) || n.get(`${o}`);
49
- if (r) {
50
- if (typeof r == "object" && (r != null && r.text)) {
45
+ const B = (t) => W(t) === "map" ? t : new Map(Object.entries(t || {})), b = (t) => {
46
+ const e = [], n = B(t);
47
+ return n.forEach((o, r) => {
48
+ const i = n.get(r) || n.get(`${r}`);
49
+ if (i) {
50
+ if (typeof i == "object" && (i != null && i.text)) {
51
51
  e.push({
52
- text: r == null ? void 0 : r.text,
53
- value: o,
54
- label: r == null ? void 0 : r.text,
55
- disabled: r.disabled
52
+ text: i == null ? void 0 : i.text,
53
+ value: r,
54
+ label: i == null ? void 0 : i.text,
55
+ disabled: i.disabled
56
56
  });
57
57
  return;
58
58
  }
59
59
  e.push({
60
- text: r,
61
- label: r,
62
- value: o
60
+ text: i,
61
+ label: i,
62
+ value: r
63
63
  });
64
64
  }
65
65
  }), e;
66
- }, z = (t) => g(t) || t < 0 ? 0 : t;
67
- function x(t, e) {
68
- return !t || !d(t) ? t : t(e);
66
+ }, Z = (t) => E(t) || t < 0 ? 0 : t;
67
+ function R(t, e) {
68
+ return !t || !y(t) ? t : t(e);
69
69
  }
70
- function G(t) {
70
+ function k(t) {
71
71
  let e = t.valueType || "text";
72
72
  return t.valueEnum && (e = "status"), e;
73
73
  }
74
- function K(t, e, n, i) {
74
+ function H(t, e, n, o) {
75
75
  var s;
76
- const o = F[t];
77
- if (o)
78
- return u(o, a(e, {
76
+ const r = C[t];
77
+ if (r)
78
+ return u(r, m(e, {
79
79
  mode: "read"
80
80
  }), null);
81
- const r = i == null ? void 0 : i[t];
82
- return ((s = r == null ? void 0 : r.render) == null ? void 0 : s.call(r, e.value, n, e)) || e.value;
81
+ const i = o == null ? void 0 : o[t];
82
+ return ((s = i == null ? void 0 : i.render) == null ? void 0 : s.call(i, e.value, n, e)) || e.value;
83
83
  }
84
- function X(t, e) {
84
+ function M(t, e) {
85
85
  if (t.customRenderFormItem)
86
86
  return () => {
87
- const o = t.customRenderFormItem(t);
88
- return T(o, {
87
+ const r = t.customRenderFormItem(t);
88
+ return h(r, {
89
89
  ...t.fieldProps,
90
90
  span: t.span,
91
- ...o.props || {}
91
+ ...r.props || {}
92
92
  });
93
93
  };
94
- const n = N[t.valueType];
94
+ const n = P[t.valueType];
95
95
  if (n)
96
96
  return n;
97
- const i = e == null ? void 0 : e[t.valueType];
97
+ const o = e == null ? void 0 : e[t.valueType];
98
98
  return () => {
99
- var r;
100
- const o = (r = i == null ? void 0 : i.renderFormItem) == null ? void 0 : r.call(i, t.fieldProps.field);
101
- return o ? u(C, a(t.fieldProps, {
99
+ var i;
100
+ const r = (i = o == null ? void 0 : o.renderFormItem) == null ? void 0 : i.call(o, t.fieldProps.field);
101
+ return r ? u(x, m(t.fieldProps, {
102
102
  span: t.span
103
- }), V(o) ? o : {
104
- default: () => [o]
103
+ }), _(r) ? r : {
104
+ default: () => [r]
105
105
  }) : null;
106
106
  };
107
107
  }
108
- function Y(t, e) {
109
- const n = x(t.fieldProps, e), i = (n == null ? void 0 : n.field) || n || {}, o = t.valueType === "switch", r = t.valueType === "index", s = o ? {
108
+ function tt(t, e) {
109
+ const n = R(t.fieldProps, e), o = (n == null ? void 0 : n.field) || n || {}, r = t.valueType === "switch", i = t.valueType === "index", s = r ? {
110
110
  checked: e.value
111
111
  } : {
112
- value: r ? e.index + 1 : e.value
112
+ value: i ? e.index + 1 : e.value
113
113
  };
114
- return t.valueEnum && (i.valueEnum = t.valueEnum), {
115
- ...j(i, ["request"]),
114
+ return t.valueEnum && (o.valueEnum = t.valueEnum), {
115
+ ...O(o, ["request"]),
116
116
  ...s
117
117
  };
118
118
  }
119
- function Z(t) {
119
+ function et(t) {
120
120
  const e = {
121
121
  ...t
122
122
  };
123
- return O(t.filters) && t.filters && t.valueEnum && (e.filters = m(t.valueEnum)), e;
123
+ return F(t.filters) && t.filters && t.valueEnum && (e.filters = b(t.valueEnum)), e;
124
124
  }
125
- function k(t, e) {
126
- var i;
125
+ function nt(t, e) {
126
+ var o;
127
127
  const n = e || {};
128
- return t.valueEnum && !((i = n.field) != null && i.options) && (n.field = {
128
+ return t.valueEnum && !((o = n.field) != null && o.options) && (n.field = {
129
129
  ...n.field,
130
- options: m(t.valueEnum)
130
+ options: b(t.valueEnum)
131
131
  }), n;
132
132
  }
133
- function H(t) {
134
- if (!S("Object")(t))
133
+ function rt(t) {
134
+ if (!V("Object")(t))
135
135
  return t;
136
136
  try {
137
137
  return JSON.stringify(t);
@@ -139,60 +139,70 @@ function H(t) {
139
139
  return t;
140
140
  }
141
141
  }
142
- function M(t, e, n, i) {
143
- const o = n == null ? void 0 : n({
142
+ function ot(t, e, n, o) {
143
+ const r = n == null ? void 0 : n({
144
144
  title: t.title,
145
145
  column: t
146
- }), r = (o == null ? void 0 : o.filter((y) => y.type !== Symbol.for("v-cmt"))) || [];
147
- if (o && r.length > 0)
148
- return o;
149
- const l = E(t.title) ? u("span", {
146
+ }), i = (r == null ? void 0 : r.filter((T) => T.type !== Symbol.for("v-cmt"))) || [];
147
+ if (r && i.length > 0)
148
+ return r;
149
+ const c = N(t.title) ? u("span", {
150
150
  class: e,
151
151
  title: t.title
152
- }, [t.title]) : t.title, c = t.tooltip ? d(t.tooltip) ? t.tooltip(t) : u(h, null, [t.tooltip]) : null;
153
- return c ? u("span", {
152
+ }, [t.title]) : t.title, f = t.tooltip ? y(t.tooltip) ? t.tooltip(t) : u(j, null, [t.tooltip]) : null;
153
+ return f ? u("span", {
154
154
  style: {
155
155
  display: "inline-flex",
156
156
  alignItems: "center",
157
157
  maxWidth: "100%"
158
158
  }
159
- }, [l, u(v, {
160
- title: c,
159
+ }, [c, u(w, {
160
+ title: f,
161
161
  placement: "bottom"
162
162
  }, {
163
- default: () => [u(I, {
163
+ default: () => [u(A, {
164
164
  style: {
165
165
  padding: "4px",
166
- color: i,
166
+ color: o,
167
167
  verticalAlign: "middle"
168
168
  }
169
169
  }, null)]
170
- })]) : l;
170
+ })]) : c;
171
171
  }
172
- function tt(t, e) {
172
+ function it(t, e) {
173
173
  const n = [];
174
- function i(o) {
175
- var r;
176
- for (const s of o)
177
- (r = s.children) != null && r.length ? i(s.children) : n.push(e(s));
174
+ function o(r) {
175
+ var i;
176
+ for (const s of r)
177
+ (i = s.children) != null && i.length ? o(s.children) : n.push(e(s));
178
+ }
179
+ return o(t), n;
180
+ }
181
+ function st(t, e) {
182
+ if (l(t) && l(e))
183
+ return S(p(t), p(e));
184
+ if (d(t) && d(e)) {
185
+ const n = (o) => I(o, (r) => r == null) || v(o);
186
+ if (n(t) && n(e))
187
+ return !0;
178
188
  }
179
- return i(t), n;
180
189
  }
181
190
  export {
182
- Z as apColumnToColumn,
183
- U as dataIndexToStr,
184
- w as formatParamsValueType,
185
- z as getColumnOrder,
186
- x as getFieldProps,
187
- X as getSearchFormItemRenderNode,
188
- K as getTableCellRenderNode,
189
- Y as getTableRenderProps,
190
- G as getTableRenderType,
191
- M as getTableTitle,
192
- P as objectToMap,
193
- H as objectToString,
194
- Q as parseFieldValue,
195
- tt as recursionApColumns,
196
- k as updateFormProps,
197
- m as valueEnumToArray
191
+ et as apColumnToColumn,
192
+ Y as dataIndexToStr,
193
+ q as formatParamsValueType,
194
+ Z as getColumnOrder,
195
+ R as getFieldProps,
196
+ M as getSearchFormItemRenderNode,
197
+ H as getTableCellRenderNode,
198
+ tt as getTableRenderProps,
199
+ k as getTableRenderType,
200
+ ot as getTableTitle,
201
+ st as isEqualCustom,
202
+ B as objectToMap,
203
+ rt as objectToString,
204
+ X as parseFieldValue,
205
+ it as recursionApColumns,
206
+ nt as updateFormProps,
207
+ b as valueEnumToArray
198
208
  };