@ahoo-wang/fetcher-viewer 3.12.1 → 3.12.3
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/dist/components/RemoteSelect.d.ts +56 -2
- package/dist/components/RemoteSelect.d.ts.map +1 -1
- package/dist/filter/panel/FilterPanel.d.ts.map +1 -1
- package/dist/index.es.js +1493 -1471
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2,14 +2,14 @@ var Ln = Object.defineProperty;
|
|
|
2
2
|
var r = (t, e) => Ln(t, "name", { value: e, configurable: !0 });
|
|
3
3
|
import { jsx as c, jsxs as Z, Fragment as _e } from "react/jsx-runtime";
|
|
4
4
|
import { c as j } from "react/compiler-runtime";
|
|
5
|
-
import { Select as rt, InputNumber as tt, Space as Se, Input as je, Flex as pe, Spin as Et, Empty as nt, Button as Ee, Row as _t, Col as St, Checkbox as Qt, Divider as ze, Modal as st, theme as bn, Typography as qe, DatePicker as dt, Alert as Rn, Dropdown as Pe, Avatar as mt, Tag as Lt, Image as Ct, Badge as On, Table as Dn, Popover as wn, Tooltip as ot, message as Fn, Pagination as Pn, Collapse as xn, Radio as $n, Form as ht, Popconfirm as
|
|
5
|
+
import { Select as rt, InputNumber as tt, Space as Se, Input as je, Flex as pe, Spin as Et, Empty as nt, Button as Ee, Row as _t, Col as St, Checkbox as Qt, Divider as ze, Modal as st, theme as bn, Typography as qe, DatePicker as dt, Alert as Rn, Dropdown as Pe, Avatar as mt, Tag as Lt, Image as Ct, Badge as On, Table as Dn, Popover as wn, Tooltip as ot, message as Fn, Pagination as Pn, Collapse as xn, Radio as $n, Form as ht, Popconfirm as kn, Layout as vt } from "antd";
|
|
6
6
|
import Xt, { useState as X, useCallback as Zt, useEffect as Ae, useImperativeHandle as Re, useRef as we, createElement as Dt } from "react";
|
|
7
|
-
import { useDebouncedExecutePromise as
|
|
8
|
-
import { FullscreenOutlined as Bn, FullscreenExitOutlined as Yn, MinusOutlined as Wn, ClearOutlined as
|
|
7
|
+
import { useDebouncedExecutePromise as Vn, useFullscreen as Mn, useFetcherListQuery as Hn, useFetcherPagedQuery as Un, useKeyStorage as zn, useRefs as gn } from "@ahoo-wang/fetcher-react";
|
|
8
|
+
import { FullscreenOutlined as Bn, FullscreenExitOutlined as Yn, MinusOutlined as Wn, ClearOutlined as Kn, SearchOutlined as Gn, PlusOutlined as Jt, DownOutlined as Be, DragOutlined as en, SettingOutlined as tn, ColumnHeightOutlined as jn, FilterOutlined as qn, ReloadOutlined as Qn, LinkOutlined as Xn, ExclamationCircleOutlined as Zn, MenuUnfoldOutlined as Jn, MenuFoldOutlined as el, EditOutlined as tl, DeleteOutlined as nl } from "@ant-design/icons";
|
|
9
9
|
import { ContentTypeValues as ll, fetcherRegistrar as nn, TextResultExtractor as il } from "@ahoo-wang/fetcher";
|
|
10
|
-
import { post as al, path as
|
|
10
|
+
import { post as al, path as Ke, request as ct, attribute as ut, del as rl, put as ln, api as an, autoGeneratedError as Qe } from "@ahoo-wang/fetcher-decorator";
|
|
11
11
|
import { JsonEventStreamResultExtractor as sl } from "@ahoo-wang/fetcher-eventstream";
|
|
12
|
-
import { ResourceAttributionPathSpec as rn, QueryClientFactory as sn, listQuery as ol, and as lt, eq as wt, isIn as Ft, all as
|
|
12
|
+
import { ResourceAttributionPathSpec as rn, QueryClientFactory as sn, listQuery as ol, and as lt, eq as wt, isIn as Ft, all as ke, EMPTY_VALUE_OPERATORS as cl, Operator as B } from "@ahoo-wang/fetcher-wow";
|
|
13
13
|
import { SerialTypedEventBus as ul, BroadcastTypedEventBus as fl } from "@ahoo-wang/fetcher-eventbus";
|
|
14
14
|
import { KeyStorage as dl } from "@ahoo-wang/fetcher-storage";
|
|
15
15
|
const ml = {
|
|
@@ -38,26 +38,26 @@ function ft(t) {
|
|
|
38
38
|
onChange: l,
|
|
39
39
|
...n
|
|
40
40
|
} = t, e[0] = t, e[1] = l, e[2] = n, e[3] = i, e[4] = a, e[5] = s, e[6] = o) : (l = e[1], n = e[2], i = e[3], a = e[4], s = e[5], o = e[6]);
|
|
41
|
-
const u = i === void 0 ? Tl : i,
|
|
41
|
+
const u = i === void 0 ? Tl : i, d = a === void 0 ? !0 : a, f = s === void 0 ? ml : s;
|
|
42
42
|
let m;
|
|
43
|
-
e[7] !== l || e[8] !==
|
|
43
|
+
e[7] !== l || e[8] !== f ? (m = /* @__PURE__ */ r((y) => {
|
|
44
44
|
if (!l)
|
|
45
45
|
return;
|
|
46
|
-
const
|
|
47
|
-
l(
|
|
48
|
-
}, "t3"), e[7] = l, e[8] =
|
|
46
|
+
const b = f.deserialize(y);
|
|
47
|
+
l(b);
|
|
48
|
+
}, "t3"), e[7] = l, e[8] = f, e[9] = m) : m = e[9];
|
|
49
49
|
const h = m;
|
|
50
50
|
let T = null;
|
|
51
51
|
if (o)
|
|
52
52
|
if (Array.isArray(o)) {
|
|
53
53
|
let y;
|
|
54
|
-
e[10] !==
|
|
54
|
+
e[10] !== f || e[11] !== o ? (y = f.serialize(o), e[10] = f, e[11] = o, e[12] = y) : y = e[12], T = y;
|
|
55
55
|
} else {
|
|
56
56
|
let y;
|
|
57
|
-
e[13] !==
|
|
57
|
+
e[13] !== f || e[14] !== o ? (y = f.serialize([o]), e[13] = f, e[14] = o, e[15] = y) : y = e[15], T = y;
|
|
58
58
|
}
|
|
59
59
|
let E;
|
|
60
|
-
return e[16] !==
|
|
60
|
+
return e[16] !== d || e[17] !== h || e[18] !== n || e[19] !== T || e[20] !== u ? (E = /* @__PURE__ */ c(rt, { ...n, mode: "tags", open: !1, suffixIcon: null, allowClear: d, tokenSeparators: u, value: T, onChange: h }), e[16] = d, e[17] = h, e[18] = n, e[19] = T, e[20] = u, e[21] = E) : E = e[21], E;
|
|
61
61
|
}
|
|
62
62
|
r(ft, "TagInput");
|
|
63
63
|
ft.displayName = "TagInput";
|
|
@@ -69,95 +69,113 @@ function El(t) {
|
|
|
69
69
|
const [i, a] = X(n);
|
|
70
70
|
let s;
|
|
71
71
|
e[2] !== i || e[3] !== l || e[4] !== t.value ? (s = l ? Pt(t.value) : i, e[2] = i, e[3] = l, e[4] = t.value, e[5] = s) : s = e[5];
|
|
72
|
-
const o = s, [u,
|
|
73
|
-
let
|
|
74
|
-
e[6] !== l || e[7] !== t ? (
|
|
75
|
-
l || a(
|
|
76
|
-
}, "t2"), e[6] = l, e[7] = t, e[8] =
|
|
77
|
-
const m =
|
|
72
|
+
const o = s, [u, d] = o;
|
|
73
|
+
let f;
|
|
74
|
+
e[6] !== l || e[7] !== t ? (f = /* @__PURE__ */ r((H) => {
|
|
75
|
+
l || a(H), t.onChange?.(H);
|
|
76
|
+
}, "t2"), e[6] = l, e[7] = t, e[8] = f) : f = e[8];
|
|
77
|
+
const m = f;
|
|
78
78
|
let h;
|
|
79
|
-
e[9] !==
|
|
80
|
-
m([
|
|
81
|
-
}, "t3"), e[9] =
|
|
79
|
+
e[9] !== d || e[10] !== m ? (h = /* @__PURE__ */ r((H) => {
|
|
80
|
+
m([H ?? void 0, d]);
|
|
81
|
+
}, "t3"), e[9] = d, e[10] = m, e[11] = h) : h = e[11];
|
|
82
82
|
const T = h;
|
|
83
83
|
let E;
|
|
84
|
-
e[12] !== m || e[13] !== u ? (E = /* @__PURE__ */ r((
|
|
85
|
-
m([u,
|
|
84
|
+
e[12] !== m || e[13] !== u ? (E = /* @__PURE__ */ r((H) => {
|
|
85
|
+
m([u, H ?? void 0]);
|
|
86
86
|
}, "t4"), e[12] = m, e[13] = u, e[14] = E) : E = e[14];
|
|
87
|
-
const y = E,
|
|
88
|
-
let
|
|
89
|
-
e[15] !== t.placeholder ? (
|
|
90
|
-
const
|
|
91
|
-
let
|
|
92
|
-
e[17] !== T || e[18] !==
|
|
93
|
-
let
|
|
94
|
-
e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
87
|
+
const y = E, b = d !== void 0 ? d : t.max, w = u !== void 0 ? u : t.min;
|
|
88
|
+
let A;
|
|
89
|
+
e[15] !== t.placeholder ? (A = t.placeholder ? [t.placeholder[0] || Tt[0], t.placeholder[1] || Tt[1]] : Tt, e[15] = t.placeholder, e[16] = A) : A = e[16];
|
|
90
|
+
const R = A;
|
|
91
|
+
let x;
|
|
92
|
+
e[17] !== T || e[18] !== R[0] || e[19] !== t.min || e[20] !== t.precision || e[21] !== u || e[22] !== b ? (x = /* @__PURE__ */ c(tt, { value: u, min: t.min, max: b, precision: t.precision, placeholder: R[0], onChange: T }), e[17] = T, e[18] = R[0], e[19] = t.min, e[20] = t.precision, e[21] = u, e[22] = b, e[23] = x) : x = e[23];
|
|
93
|
+
let D;
|
|
94
|
+
e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ c(je, { style: {
|
|
95
95
|
width: 30,
|
|
96
96
|
borderInlineStart: 0,
|
|
97
97
|
borderInlineEnd: 0,
|
|
98
98
|
pointerEvents: "none"
|
|
99
|
-
}, placeholder: "~", disabled: !0 }), e[24] =
|
|
100
|
-
let
|
|
101
|
-
e[25] !==
|
|
102
|
-
let
|
|
103
|
-
return e[32] !==
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
] }), e[32] =
|
|
99
|
+
}, placeholder: "~", disabled: !0 }), e[24] = D) : D = e[24];
|
|
100
|
+
let F;
|
|
101
|
+
e[25] !== d || e[26] !== w || e[27] !== y || e[28] !== R[1] || e[29] !== t.max || e[30] !== t.precision ? (F = /* @__PURE__ */ c(tt, { value: d, min: w, max: t.max, precision: t.precision, placeholder: R[1], onChange: y }), e[25] = d, e[26] = w, e[27] = y, e[28] = R[1], e[29] = t.max, e[30] = t.precision, e[31] = F) : F = e[31];
|
|
102
|
+
let $;
|
|
103
|
+
return e[32] !== x || e[33] !== F ? ($ = /* @__PURE__ */ Z(Se.Compact, { block: !0, children: [
|
|
104
|
+
x,
|
|
105
|
+
D,
|
|
106
|
+
F
|
|
107
|
+
] }), e[32] = x, e[33] = F, e[34] = $) : $ = e[34], $;
|
|
108
108
|
}
|
|
109
109
|
r(El, "NumberRange");
|
|
110
110
|
const _l = {
|
|
111
111
|
delay: 300,
|
|
112
112
|
leading: !1,
|
|
113
113
|
trailing: !0
|
|
114
|
-
};
|
|
115
|
-
function
|
|
116
|
-
const
|
|
117
|
-
|
|
114
|
+
}, Sl = [], Cl = [];
|
|
115
|
+
function vl(t, e) {
|
|
116
|
+
const l = /* @__PURE__ */ new Set();
|
|
117
|
+
return t.filter((n) => {
|
|
118
|
+
const i = e(n);
|
|
119
|
+
return l.has(i) ? !1 : (l.add(i), !0);
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
r(vl, "uniqueBy");
|
|
123
|
+
function yl(t) {
|
|
124
|
+
const e = j(32);
|
|
125
|
+
let l, n, i, a, s, o;
|
|
118
126
|
e[0] !== t ? ({
|
|
119
|
-
debounce:
|
|
120
|
-
search:
|
|
121
|
-
options:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
debounce: i,
|
|
128
|
+
search: l,
|
|
129
|
+
options: a,
|
|
130
|
+
uniqueKey: s,
|
|
131
|
+
additionalOptions: o,
|
|
132
|
+
...n
|
|
133
|
+
} = t, e[0] = t, e[1] = l, e[2] = n, e[3] = i, e[4] = a, e[5] = s, e[6] = o) : (l = e[1], n = e[2], i = e[3], a = e[4], s = e[5], o = e[6]);
|
|
134
|
+
const u = i === void 0 ? _l : i, d = a === void 0 ? Sl : a, f = s === void 0 ? "value" : s, m = o === void 0 ? Cl : o;
|
|
135
|
+
let h;
|
|
136
|
+
e[7] !== u ? (h = {
|
|
137
|
+
debounce: u
|
|
138
|
+
}, e[7] = u, e[8] = h) : h = e[8];
|
|
129
139
|
const {
|
|
130
|
-
loading:
|
|
131
|
-
result:
|
|
132
|
-
run:
|
|
133
|
-
} =
|
|
134
|
-
let
|
|
135
|
-
e[
|
|
136
|
-
|
|
137
|
-
}, "
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
e[
|
|
140
|
+
loading: T,
|
|
141
|
+
result: E,
|
|
142
|
+
run: y
|
|
143
|
+
} = Vn(h);
|
|
144
|
+
let b;
|
|
145
|
+
e[9] !== E || e[10] !== y || e[11] !== l ? (b = /* @__PURE__ */ r((U) => {
|
|
146
|
+
U.trim() === "" && E || y(() => l(U));
|
|
147
|
+
}, "t5"), e[9] = E, e[10] = y, e[11] = l, e[12] = b) : b = e[12];
|
|
148
|
+
const w = b, A = E ?? d;
|
|
149
|
+
let R;
|
|
150
|
+
if (e[13] !== m || e[14] !== A || e[15] !== f) {
|
|
151
|
+
const U = [...A, ...m];
|
|
152
|
+
let P;
|
|
153
|
+
e[17] !== f ? (P = /* @__PURE__ */ r((L) => L[f], "t82"), e[17] = f, e[18] = P) : P = e[18], R = vl(U, P), e[13] = m, e[14] = A, e[15] = f, e[16] = R;
|
|
154
|
+
} else
|
|
155
|
+
R = e[16];
|
|
156
|
+
const x = R;
|
|
157
|
+
let D;
|
|
158
|
+
e[19] !== w ? (D = {
|
|
141
159
|
filterOption: !1,
|
|
142
|
-
onSearch:
|
|
143
|
-
}, e[
|
|
144
|
-
let
|
|
145
|
-
e[
|
|
160
|
+
onSearch: w
|
|
161
|
+
}, e[19] = w, e[20] = D) : D = e[20];
|
|
162
|
+
let F;
|
|
163
|
+
e[21] !== T ? (F = T ? /* @__PURE__ */ Z(pe, { align: "center", gap: 4, children: [
|
|
146
164
|
/* @__PURE__ */ c(Et, { size: "small", styles: {
|
|
147
165
|
indicator: {
|
|
148
166
|
color: "rgba(0, 0, 0, 0.25)"
|
|
149
167
|
}
|
|
150
168
|
} }),
|
|
151
169
|
/* @__PURE__ */ c("span", { children: "数据加载中..." })
|
|
152
|
-
] }) : /* @__PURE__ */ c(nt, { image: nt.PRESENTED_IMAGE_SIMPLE }), e[
|
|
153
|
-
let
|
|
154
|
-
e[
|
|
155
|
-
let
|
|
156
|
-
return e[
|
|
170
|
+
] }) : /* @__PURE__ */ c(nt, { image: nt.PRESENTED_IMAGE_SIMPLE }), e[21] = T, e[22] = F) : F = e[22];
|
|
171
|
+
let $;
|
|
172
|
+
e[23] !== T || e[24] !== x ? ($ = T ? [] : x, e[23] = T, e[24] = x, e[25] = $) : $ = e[25];
|
|
173
|
+
let H;
|
|
174
|
+
return e[26] !== T || e[27] !== n || e[28] !== $ || e[29] !== D || e[30] !== F ? (H = /* @__PURE__ */ c(rt, { showSearch: D, loading: T, notFoundContent: F, options: $, ...n }), e[26] = T, e[27] = n, e[28] = $, e[29] = D, e[30] = F, e[31] = H) : H = e[31], H;
|
|
157
175
|
}
|
|
158
|
-
r(
|
|
159
|
-
|
|
160
|
-
function
|
|
176
|
+
r(yl, "RemoteSelect");
|
|
177
|
+
yl.displayName = "RemoteSelect";
|
|
178
|
+
function Il(t) {
|
|
161
179
|
const {
|
|
162
180
|
target: e,
|
|
163
181
|
onChange: l,
|
|
@@ -173,14 +191,14 @@ function Cl(t) {
|
|
|
173
191
|
});
|
|
174
192
|
return /* @__PURE__ */ c(Ee, { ...a, icon: s ? i : n, onClick: o });
|
|
175
193
|
}
|
|
176
|
-
r(
|
|
177
|
-
|
|
194
|
+
r(Il, "Fullscreen");
|
|
195
|
+
Il.displayName = "FullScreen";
|
|
178
196
|
const bt = "viewer";
|
|
179
|
-
var
|
|
180
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
197
|
+
var Nl = Object.defineProperty, pl = Object.getOwnPropertyDescriptor, Ve = /* @__PURE__ */ r((t, e, l, n) => {
|
|
198
|
+
for (var i = n > 1 ? void 0 : n ? pl(e, l) : e, a = t.length - 1, s; a >= 0; a--)
|
|
181
199
|
(s = t[a]) && (i = (n ? s(e, l, i) : s(i)) || i);
|
|
182
|
-
return n && i &&
|
|
183
|
-
}, "__decorateClass"), ye = /* @__PURE__ */ r((t, e) => (l, n) => e(l, n, t), "__decorateParam"),
|
|
200
|
+
return n && i && Nl(e, l, i), i;
|
|
201
|
+
}, "__decorateClass"), ye = /* @__PURE__ */ r((t, e) => (l, n) => e(l, n, t), "__decorateParam"), Al = /* @__PURE__ */ ((t) => (t.CREATE_VIEW = "/tenant/{tenantId}/owner/{ownerId}/view/type/{type}", t.DEFAULT_DELETE_AGGREGATE = "/tenant/{tenantId}/owner/{ownerId}/view/{id}", t.DEFAULT_RECOVER_AGGREGATE = "/tenant/{tenantId}/owner/{ownerId}/view/{id}/recover", t.EDIT_VIEW = "/tenant/{tenantId}/owner/{ownerId}/view/{id}/type/{type}", t))(Al || {});
|
|
184
202
|
const on = {
|
|
185
203
|
basePath: bt
|
|
186
204
|
};
|
|
@@ -202,44 +220,44 @@ let be = (xe = class {
|
|
|
202
220
|
throw Qe(e, l, n, i);
|
|
203
221
|
}
|
|
204
222
|
}, r(xe, "ViewCommandClient"), xe);
|
|
205
|
-
|
|
223
|
+
Ve([
|
|
206
224
|
al(
|
|
207
225
|
"/tenant/{tenantId}/owner/{ownerId}/view/type/{type}"
|
|
208
226
|
/* CREATE_VIEW */
|
|
209
227
|
),
|
|
210
|
-
ye(0,
|
|
228
|
+
ye(0, Ke("type")),
|
|
211
229
|
ye(1, ct()),
|
|
212
230
|
ye(2, ut())
|
|
213
231
|
], be.prototype, "createView", 1);
|
|
214
|
-
|
|
232
|
+
Ve([
|
|
215
233
|
rl(
|
|
216
234
|
"/tenant/{tenantId}/owner/{ownerId}/view/{id}"
|
|
217
235
|
/* DEFAULT_DELETE_AGGREGATE */
|
|
218
236
|
),
|
|
219
|
-
ye(0,
|
|
237
|
+
ye(0, Ke("id")),
|
|
220
238
|
ye(1, ct()),
|
|
221
239
|
ye(2, ut())
|
|
222
240
|
], be.prototype, "defaultDeleteAggregate", 1);
|
|
223
|
-
|
|
241
|
+
Ve([
|
|
224
242
|
ln(
|
|
225
243
|
"/tenant/{tenantId}/owner/{ownerId}/view/{id}/recover"
|
|
226
244
|
/* DEFAULT_RECOVER_AGGREGATE */
|
|
227
245
|
),
|
|
228
|
-
ye(0,
|
|
246
|
+
ye(0, Ke("id")),
|
|
229
247
|
ye(1, ct()),
|
|
230
248
|
ye(2, ut())
|
|
231
249
|
], be.prototype, "defaultRecoverAggregate", 1);
|
|
232
|
-
|
|
250
|
+
Ve([
|
|
233
251
|
ln(
|
|
234
252
|
"/tenant/{tenantId}/owner/{ownerId}/view/{id}/type/{type}"
|
|
235
253
|
/* EDIT_VIEW */
|
|
236
254
|
),
|
|
237
|
-
ye(0,
|
|
238
|
-
ye(1,
|
|
255
|
+
ye(0, Ke("type")),
|
|
256
|
+
ye(1, Ke("id")),
|
|
239
257
|
ye(2, ct()),
|
|
240
258
|
ye(3, ut())
|
|
241
259
|
], be.prototype, "editView", 1);
|
|
242
|
-
be =
|
|
260
|
+
be = Ve([
|
|
243
261
|
an()
|
|
244
262
|
], be);
|
|
245
263
|
var $e;
|
|
@@ -248,47 +266,47 @@ let xt = ($e = class extends be {
|
|
|
248
266
|
super(e);
|
|
249
267
|
}
|
|
250
268
|
}, r($e, "ViewStreamCommandClient"), $e);
|
|
251
|
-
xt =
|
|
269
|
+
xt = Ve([
|
|
252
270
|
an("", {
|
|
253
271
|
headers: { Accept: ll.TEXT_EVENT_STREAM },
|
|
254
272
|
resultExtractor: sl
|
|
255
273
|
})
|
|
256
274
|
], xt);
|
|
257
|
-
const
|
|
275
|
+
const Ll = {
|
|
258
276
|
contextAlias: bt,
|
|
259
277
|
aggregateName: "view",
|
|
260
278
|
resourceAttribution: rn.TENANT
|
|
261
279
|
};
|
|
262
|
-
var
|
|
263
|
-
const
|
|
280
|
+
var bl = /* @__PURE__ */ ((t) => (t.view_created = "视图已创建", t.view_edited = "视图已修改", t))(bl || {});
|
|
281
|
+
const xr = new sn(Ll);
|
|
264
282
|
var ge = /* @__PURE__ */ ((t) => (t.AGGREGATE_ID = "aggregateId", t.TENANT_ID = "tenantId", t.OWNER_ID = "ownerId", t.VERSION = "version", t.EVENT_ID = "eventId", t.FIRST_OPERATOR = "firstOperator", t.OPERATOR = "operator", t.FIRST_EVENT_TIME = "firstEventTime", t.EVENT_TIME = "eventTime", t.DELETED = "deleted", t.STATE = "state", t.STATE_COLUMNS = "state.columns", t.STATE_COLUMNS_FIXED = "state.columns.fixed", t.STATE_COLUMNS_HIDDEN = "state.columns.hidden", t.STATE_COLUMNS_NAME = "state.columns.name", t.STATE_COLUMNS_SORT_ORDER = "state.columns.sortOrder", t.STATE_COLUMNS_WIDTH = "state.columns.width", t.STATE_CONDITION = "state.condition", t.STATE_CONDITION_CHILDREN = "state.condition.children", t.STATE_CONDITION_CHILDREN_CHILDREN = "state.condition.children.children", t.STATE_CONDITION_CHILDREN_CHILDREN_CHILDREN = "state.condition.children.children.children", t.STATE_CONDITION_CHILDREN_CHILDREN_CHILDREN_CHILDREN = "state.condition.children.children.children.children", t.STATE_CONDITION_CHILDREN_CHILDREN_CHILDREN_FIELD = "state.condition.children.children.children.field", t.STATE_CONDITION_CHILDREN_CHILDREN_CHILDREN_OPERATOR = "state.condition.children.children.children.operator", t.STATE_CONDITION_CHILDREN_CHILDREN_CHILDREN_OPTIONS = "state.condition.children.children.children.options", t.STATE_CONDITION_CHILDREN_CHILDREN_CHILDREN_VALUE = "state.condition.children.children.children.value", t.STATE_CONDITION_CHILDREN_CHILDREN_FIELD = "state.condition.children.children.field", t.STATE_CONDITION_CHILDREN_CHILDREN_OPERATOR = "state.condition.children.children.operator", t.STATE_CONDITION_CHILDREN_CHILDREN_OPTIONS = "state.condition.children.children.options", t.STATE_CONDITION_CHILDREN_CHILDREN_VALUE = "state.condition.children.children.value", t.STATE_CONDITION_CHILDREN_FIELD = "state.condition.children.field", t.STATE_CONDITION_CHILDREN_OPERATOR = "state.condition.children.operator", t.STATE_CONDITION_CHILDREN_OPTIONS = "state.condition.children.options", t.STATE_CONDITION_CHILDREN_VALUE = "state.condition.children.value", t.STATE_CONDITION_FIELD = "state.condition.field", t.STATE_CONDITION_OPERATOR = "state.condition.operator", t.STATE_CONDITION_OPTIONS = "state.condition.options", t.STATE_CONDITION_VALUE = "state.condition.value", t.STATE_DEFINITION_ID = "state.definitionId", t.STATE_FILTERS = "state.filters", t.STATE_FILTERS_CONDITION_OPTIONS = "state.filters.conditionOptions", t.STATE_FILTERS_FIELD = "state.filters.field", t.STATE_FILTERS_FIELD_FORMAT = "state.filters.field.format", t.STATE_FILTERS_FIELD_LABEL = "state.filters.field.label", t.STATE_FILTERS_FIELD_NAME = "state.filters.field.name", t.STATE_FILTERS_FIELD_TYPE = "state.filters.field.type", t.STATE_FILTERS_KEY = "state.filters.key", t.STATE_FILTERS_LABEL = "state.filters.label", t.STATE_FILTERS_LABEL_CLASS_NAME = "state.filters.label.className", t.STATE_FILTERS_LABEL_STYLE = "state.filters.label.style", t.STATE_FILTERS_OPERATOR = "state.filters.operator", t.STATE_FILTERS_OPERATOR_DEFAULT_OPERATOR = "state.filters.operator.defaultOperator", t.STATE_FILTERS_OPERATOR_LOCALE = "state.filters.operator.locale", t.STATE_FILTERS_OPERATOR_SUPPORTED_OPERATORS = "state.filters.operator.supportedOperators", t.STATE_FILTERS_TYPE = "state.filters.type", t.STATE_FILTERS_VALUE = "state.filters.value", t.STATE_FILTERS_VALUE_CLASS_NAME = "state.filters.value.className", t.STATE_FILTERS_VALUE_DEFAULT_VALUE = "state.filters.value.defaultValue", t.STATE_FILTERS_VALUE_PLACEHOLDER = "state.filters.value.placeholder", t.STATE_FILTERS_VALUE_STYLE = "state.filters.value.style", t.STATE_ID = "state.id", t.STATE_INTERNAL_CONDITION = "state.internalCondition", t.STATE_INTERNAL_CONDITION_CHILDREN = "state.internalCondition.children", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN = "state.internalCondition.children.children", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_CHILDREN = "state.internalCondition.children.children.children", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_CHILDREN_CHILDREN = "state.internalCondition.children.children.children.children", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_CHILDREN_FIELD = "state.internalCondition.children.children.children.field", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_CHILDREN_OPERATOR = "state.internalCondition.children.children.children.operator", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_CHILDREN_OPTIONS = "state.internalCondition.children.children.children.options", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_CHILDREN_VALUE = "state.internalCondition.children.children.children.value", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_FIELD = "state.internalCondition.children.children.field", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_OPERATOR = "state.internalCondition.children.children.operator", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_OPTIONS = "state.internalCondition.children.children.options", t.STATE_INTERNAL_CONDITION_CHILDREN_CHILDREN_VALUE = "state.internalCondition.children.children.value", t.STATE_INTERNAL_CONDITION_CHILDREN_FIELD = "state.internalCondition.children.field", t.STATE_INTERNAL_CONDITION_CHILDREN_OPERATOR = "state.internalCondition.children.operator", t.STATE_INTERNAL_CONDITION_CHILDREN_OPTIONS = "state.internalCondition.children.options", t.STATE_INTERNAL_CONDITION_CHILDREN_VALUE = "state.internalCondition.children.value", t.STATE_INTERNAL_CONDITION_FIELD = "state.internalCondition.field", t.STATE_INTERNAL_CONDITION_OPERATOR = "state.internalCondition.operator", t.STATE_INTERNAL_CONDITION_OPTIONS = "state.internalCondition.options", t.STATE_INTERNAL_CONDITION_VALUE = "state.internalCondition.value", t.STATE_IS_DEFAULT = "state.isDefault", t.STATE_NAME = "state.name", t.STATE_PAGE_SIZE = "state.pageSize", t.STATE_SORTER = "state.sorter", t.STATE_SORTER_COLUMN_KEY = "state.sorter.columnKey", t.STATE_SORTER_FIELD = "state.sorter.field", t.STATE_SORTER_ORDER = "state.sorter.order", t.STATE_SOURCE = "state.source", t.STATE_TABLE_SIZE = "state.tableSize", t.STATE_TYPE = "state.type", t))(ge || {});
|
|
265
|
-
const
|
|
283
|
+
const Rl = {
|
|
266
284
|
contextAlias: bt,
|
|
267
285
|
aggregateName: "viewer_definition",
|
|
268
286
|
resourceAttribution: rn.NONE
|
|
269
287
|
};
|
|
270
|
-
var
|
|
271
|
-
const
|
|
272
|
-
var
|
|
273
|
-
function
|
|
274
|
-
const [e, l] = X(), [n, i] = X(!0), [a, s] = X(), [o, u] = X(0),
|
|
275
|
-
u((
|
|
288
|
+
var Ol = /* @__PURE__ */ ((t) => (t.viewer_definition_saved = "viewer_definition_saved", t))(Ol || {});
|
|
289
|
+
const Dl = new sn(Rl);
|
|
290
|
+
var wl = /* @__PURE__ */ ((t) => (t.AGGREGATE_ID = "aggregateId", t.TENANT_ID = "tenantId", t.OWNER_ID = "ownerId", t.VERSION = "version", t.EVENT_ID = "eventId", t.FIRST_OPERATOR = "firstOperator", t.OPERATOR = "operator", t.FIRST_EVENT_TIME = "firstEventTime", t.EVENT_TIME = "eventTime", t.DELETED = "deleted", t.STATE = "state", t.STATE_AVAILABLE_FILTERS = "state.availableFilters", t.STATE_AVAILABLE_FILTERS_FILTERS = "state.availableFilters.filters", t.STATE_AVAILABLE_FILTERS_FILTERS_COMPONENT = "state.availableFilters.filters.component", t.STATE_AVAILABLE_FILTERS_FILTERS_FIELD = "state.availableFilters.filters.field", t.STATE_AVAILABLE_FILTERS_FILTERS_FIELD_FORMAT = "state.availableFilters.filters.field.format", t.STATE_AVAILABLE_FILTERS_FILTERS_FIELD_LABEL = "state.availableFilters.filters.field.label", t.STATE_AVAILABLE_FILTERS_FILTERS_FIELD_NAME = "state.availableFilters.filters.field.name", t.STATE_AVAILABLE_FILTERS_FILTERS_FIELD_TYPE = "state.availableFilters.filters.field.type", t.STATE_AVAILABLE_FILTERS_FILTERS_OPERATOR = "state.availableFilters.filters.operator", t.STATE_AVAILABLE_FILTERS_FILTERS_OPERATOR_DEFAULT_OPERATOR = "state.availableFilters.filters.operator.defaultOperator", t.STATE_AVAILABLE_FILTERS_FILTERS_OPERATOR_LOCALE = "state.availableFilters.filters.operator.locale", t.STATE_AVAILABLE_FILTERS_FILTERS_OPERATOR_SUPPORTED_OPERATORS = "state.availableFilters.filters.operator.supportedOperators", t.STATE_AVAILABLE_FILTERS_FILTERS_VALUE = "state.availableFilters.filters.value", t.STATE_AVAILABLE_FILTERS_FILTERS_VALUE_CLASS_NAME = "state.availableFilters.filters.value.className", t.STATE_AVAILABLE_FILTERS_FILTERS_VALUE_DEFAULT_VALUE = "state.availableFilters.filters.value.defaultValue", t.STATE_AVAILABLE_FILTERS_FILTERS_VALUE_PLACEHOLDER = "state.availableFilters.filters.value.placeholder", t.STATE_AVAILABLE_FILTERS_FILTERS_VALUE_STYLE = "state.availableFilters.filters.value.style", t.STATE_AVAILABLE_FILTERS_LABEL = "state.availableFilters.label", t.STATE_CHECKABLE = "state.checkable", t.STATE_COUNT_URL = "state.countUrl", t.STATE_DATA_URL = "state.dataUrl", t.STATE_FIELDS = "state.fields", t.STATE_FIELDS_ATTRIBUTES = "state.fields.attributes", t.STATE_FIELDS_LABEL = "state.fields.label", t.STATE_FIELDS_NAME = "state.fields.name", t.STATE_FIELDS_PRIMARY_KEY = "state.fields.primaryKey", t.STATE_FIELDS_SORTER = "state.fields.sorter", t.STATE_FIELDS_SORTER_MULTIPLE = "state.fields.sorter.multiple", t.STATE_ID = "state.id", t.STATE_NAME = "state.name", t))(wl || {});
|
|
291
|
+
function Fl(t) {
|
|
292
|
+
const [e, l] = X(), [n, i] = X(!0), [a, s] = X(), [o, u] = X(0), d = Zt(() => {
|
|
293
|
+
u((f) => f + 1), i(!0), s(void 0);
|
|
276
294
|
}, []);
|
|
277
295
|
return Ae(() => {
|
|
278
|
-
const
|
|
279
|
-
return
|
|
296
|
+
const f = new AbortController(), m = nn.default;
|
|
297
|
+
return Dl.createSnapshotQueryClient({
|
|
280
298
|
fetcher: m
|
|
281
|
-
}).getStateById(t, {},
|
|
282
|
-
|
|
299
|
+
}).getStateById(t, {}, f).then((T) => {
|
|
300
|
+
f.signal.aborted || (l(T), i(!1));
|
|
283
301
|
}).catch((T) => {
|
|
284
|
-
|
|
302
|
+
f.signal.aborted || (s(T), i(!1));
|
|
285
303
|
}), () => {
|
|
286
|
-
|
|
304
|
+
f.abort();
|
|
287
305
|
};
|
|
288
|
-
}, [t, o]), { viewerDefinition: e, loading: n, error: a, refetch:
|
|
306
|
+
}, [t, o]), { viewerDefinition: e, loading: n, error: a, refetch: d };
|
|
289
307
|
}
|
|
290
|
-
r(
|
|
291
|
-
function
|
|
308
|
+
r(Fl, "useViewerDefinition");
|
|
309
|
+
function Pl(t, e, l) {
|
|
292
310
|
const {
|
|
293
311
|
loading: n,
|
|
294
312
|
result: i,
|
|
@@ -308,15 +326,15 @@ function Dl(t, e, l) {
|
|
|
308
326
|
});
|
|
309
327
|
return { views: i, loading: n, error: a };
|
|
310
328
|
}
|
|
311
|
-
r(
|
|
312
|
-
function
|
|
329
|
+
r(Pl, "useViewerViews");
|
|
330
|
+
function xl(t) {
|
|
313
331
|
const { viewerDefinition: e, defaultView: l } = t, { result: n, loading: i, error: a, setQuery: s, execute: o } = Un({
|
|
314
332
|
url: e?.dataUrl || "",
|
|
315
333
|
autoExecute: !0
|
|
316
334
|
});
|
|
317
335
|
return Ae(() => {
|
|
318
336
|
l && e && s({
|
|
319
|
-
condition: l?.condition ? l.internalCondition ? lt(l.internalCondition, l.condition) :
|
|
337
|
+
condition: l?.condition ? l.internalCondition ? lt(l.internalCondition, l.condition) : ke() : ke(),
|
|
320
338
|
pagination: {
|
|
321
339
|
index: 1,
|
|
322
340
|
size: l.pageSize
|
|
@@ -326,11 +344,11 @@ function wl(t) {
|
|
|
326
344
|
}, [e, l, s]), {
|
|
327
345
|
dataSource: n,
|
|
328
346
|
loading: i,
|
|
329
|
-
setQuery: /* @__PURE__ */ r((
|
|
347
|
+
setQuery: /* @__PURE__ */ r((d, f, m, h) => {
|
|
330
348
|
s({
|
|
331
|
-
condition: l?.internalCondition ? lt(l.internalCondition,
|
|
349
|
+
condition: l?.internalCondition ? lt(l.internalCondition, d) : d,
|
|
332
350
|
pagination: {
|
|
333
|
-
index:
|
|
351
|
+
index: f,
|
|
334
352
|
size: m
|
|
335
353
|
},
|
|
336
354
|
sort: h
|
|
@@ -340,9 +358,9 @@ function wl(t) {
|
|
|
340
358
|
reload: o
|
|
341
359
|
};
|
|
342
360
|
}
|
|
343
|
-
r(
|
|
361
|
+
r(xl, "useFetchData");
|
|
344
362
|
const Rt = new be();
|
|
345
|
-
function
|
|
363
|
+
function $r(t) {
|
|
346
364
|
const e = j(44);
|
|
347
365
|
let l, n, i;
|
|
348
366
|
e[0] !== t ? ({
|
|
@@ -353,54 +371,54 @@ function Fr(t) {
|
|
|
353
371
|
const a = n === void 0 ? "(0)" : n, s = i === void 0 ? "(0)" : i, {
|
|
354
372
|
ref: o,
|
|
355
373
|
viewerDefinitionId: u,
|
|
356
|
-
defaultViewId:
|
|
357
|
-
pagination:
|
|
374
|
+
defaultViewId: d,
|
|
375
|
+
pagination: f,
|
|
358
376
|
actionColumn: m,
|
|
359
377
|
onClickPrimaryKey: h,
|
|
360
378
|
enableRowSelection: T,
|
|
361
379
|
onSwitchView: E,
|
|
362
380
|
viewTableSetting: y,
|
|
363
|
-
primaryAction:
|
|
364
|
-
secondaryActions:
|
|
365
|
-
batchActions:
|
|
381
|
+
primaryAction: b,
|
|
382
|
+
secondaryActions: w,
|
|
383
|
+
batchActions: A
|
|
366
384
|
} = l;
|
|
367
|
-
let
|
|
368
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
385
|
+
let R;
|
|
386
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (R = new dl({
|
|
369
387
|
key: "fetcher-viewer-local-default-view-id",
|
|
370
388
|
defaultValue: void 0
|
|
371
|
-
}), e[4] =
|
|
372
|
-
const
|
|
373
|
-
viewerDefinition:
|
|
374
|
-
loading:
|
|
389
|
+
}), e[4] = R) : R = e[4];
|
|
390
|
+
const x = R, [D, F] = zn(x), {
|
|
391
|
+
viewerDefinition: $,
|
|
392
|
+
loading: H,
|
|
375
393
|
error: U
|
|
376
|
-
} =
|
|
377
|
-
views:
|
|
378
|
-
loading:
|
|
379
|
-
} =
|
|
380
|
-
let
|
|
381
|
-
e[5] !==
|
|
382
|
-
const
|
|
394
|
+
} = Fl(u), {
|
|
395
|
+
views: P,
|
|
396
|
+
loading: L
|
|
397
|
+
} = Pl(u, s, a);
|
|
398
|
+
let W;
|
|
399
|
+
e[5] !== d || e[6] !== D || e[7] !== P ? (W = Hl(P, D, d), e[5] = d, e[6] = D, e[7] = P, e[8] = W) : W = e[8];
|
|
400
|
+
const k = W;
|
|
383
401
|
let I;
|
|
384
|
-
e[9] !==
|
|
385
|
-
viewerDefinition:
|
|
386
|
-
defaultView:
|
|
387
|
-
}, e[9] =
|
|
402
|
+
e[9] !== k || e[10] !== $ ? (I = {
|
|
403
|
+
viewerDefinition: $,
|
|
404
|
+
defaultView: k
|
|
405
|
+
}, e[9] = k, e[10] = $, e[11] = I) : I = e[11];
|
|
388
406
|
const {
|
|
389
407
|
dataSource: _,
|
|
390
408
|
loading: S,
|
|
391
409
|
setQuery: N,
|
|
392
|
-
reload:
|
|
393
|
-
} =
|
|
410
|
+
reload: C
|
|
411
|
+
} = xl(I);
|
|
394
412
|
let p;
|
|
395
|
-
e[12] !== N ? (p = /* @__PURE__ */ r((
|
|
396
|
-
N?.(
|
|
413
|
+
e[12] !== N ? (p = /* @__PURE__ */ r((Y, Q, le, fe) => {
|
|
414
|
+
N?.(Y, Q, le, fe);
|
|
397
415
|
}, "t6"), e[12] = N, e[13] = p) : p = e[13];
|
|
398
|
-
const
|
|
399
|
-
let
|
|
400
|
-
e[14] !== E || e[15] !==
|
|
401
|
-
E?.(
|
|
402
|
-
}, "t7"), e[14] = E, e[15] =
|
|
403
|
-
const
|
|
416
|
+
const O = p;
|
|
417
|
+
let z;
|
|
418
|
+
e[14] !== E || e[15] !== F ? (z = /* @__PURE__ */ r((Y) => {
|
|
419
|
+
E?.(Y), F(Y.id);
|
|
420
|
+
}, "t7"), e[14] = E, e[15] = F, e[16] = z) : z = e[16];
|
|
421
|
+
const v = z, g = Ml, V = Vl, M = kl, K = $l, {
|
|
404
422
|
publish: q,
|
|
405
423
|
subscribe: te
|
|
406
424
|
} = Ot();
|
|
@@ -410,68 +428,68 @@ function Fr(t) {
|
|
|
410
428
|
}), "t8"), e[17] = q, e[18] = J) : J = e[18], Re(o, J), te({
|
|
411
429
|
name: "Viewer-Refresh-Data",
|
|
412
430
|
handle: /* @__PURE__ */ r(async () => {
|
|
413
|
-
await
|
|
431
|
+
await C();
|
|
414
432
|
}, "handle")
|
|
415
|
-
}),
|
|
416
|
-
let
|
|
417
|
-
return e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
433
|
+
}), H || L) {
|
|
434
|
+
let Y;
|
|
435
|
+
return e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ c("div", { style: {
|
|
418
436
|
display: "flex",
|
|
419
437
|
justifyContent: "center",
|
|
420
438
|
alignItems: "center",
|
|
421
439
|
height: "100vh"
|
|
422
|
-
}, children: /* @__PURE__ */ c(Et, { size: "large" }) }), e[19] =
|
|
440
|
+
}, children: /* @__PURE__ */ c(Et, { size: "large" }) }), e[19] = Y) : Y = e[19], Y;
|
|
423
441
|
}
|
|
424
442
|
if (U) {
|
|
425
|
-
let
|
|
426
|
-
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
443
|
+
let Y;
|
|
444
|
+
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = {
|
|
427
445
|
padding: 24,
|
|
428
446
|
color: "#ff4d4f"
|
|
429
|
-
}, e[20] =
|
|
447
|
+
}, e[20] = Y) : Y = e[20];
|
|
430
448
|
let Q;
|
|
431
|
-
return e[21] !== U.message ? (Q = /* @__PURE__ */ Z("div", { style:
|
|
449
|
+
return e[21] !== U.message ? (Q = /* @__PURE__ */ Z("div", { style: Y, children: [
|
|
432
450
|
"加载视图定义失败: ",
|
|
433
451
|
U.message
|
|
434
452
|
] }), e[21] = U.message, e[22] = Q) : Q = e[22], Q;
|
|
435
453
|
}
|
|
436
|
-
if (
|
|
437
|
-
let
|
|
438
|
-
return e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
454
|
+
if (!$) {
|
|
455
|
+
let Y;
|
|
456
|
+
return e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ c("div", { style: {
|
|
439
457
|
padding: 24
|
|
440
|
-
}, children: "未找到视图定义" }), e[23] =
|
|
458
|
+
}, children: "未找到视图定义" }), e[23] = Y) : Y = e[23], Y;
|
|
441
459
|
}
|
|
442
|
-
if (
|
|
443
|
-
let
|
|
444
|
-
return e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
460
|
+
if (P && P.length === 0) {
|
|
461
|
+
let Y;
|
|
462
|
+
return e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ c("div", { style: {
|
|
445
463
|
padding: 24
|
|
446
|
-
}, children: "未找到视图" }), e[24] =
|
|
464
|
+
}, children: "未找到视图" }), e[24] = Y) : Y = e[24], Y;
|
|
447
465
|
}
|
|
448
|
-
if (
|
|
449
|
-
let
|
|
450
|
-
e[25] !== _ ? (
|
|
466
|
+
if (P && P.length > 0 && k) {
|
|
467
|
+
let Y;
|
|
468
|
+
e[25] !== _ ? (Y = _ || {
|
|
451
469
|
list: [],
|
|
452
470
|
total: 0
|
|
453
|
-
}, e[25] = _, e[26] =
|
|
471
|
+
}, e[25] = _, e[26] = Y) : Y = e[26];
|
|
454
472
|
let Q;
|
|
455
|
-
return e[27] !== m || e[28] !==
|
|
473
|
+
return e[27] !== m || e[28] !== A || e[29] !== k || e[30] !== T || e[31] !== S || e[32] !== O || e[33] !== v || e[34] !== h || e[35] !== f || e[36] !== b || e[37] !== w || e[38] !== Y || e[39] !== y || e[40] !== $ || e[41] !== P ? (Q = /* @__PURE__ */ c(Cr, { defaultViews: P, defaultView: k, definition: $, loading: S, dataSource: Y, pagination: f, actionColumn: m, onClickPrimaryKey: h, enableRowSelection: T, primaryAction: b, secondaryActions: w, batchActions: A, onGetRecordCount: g, onSwitchView: v, onLoadData: O, viewTableSetting: y, onCreateView: V, onUpdateView: M, onDeleteView: K }), e[27] = m, e[28] = A, e[29] = k, e[30] = T, e[31] = S, e[32] = O, e[33] = v, e[34] = h, e[35] = f, e[36] = b, e[37] = w, e[38] = Y, e[39] = y, e[40] = $, e[41] = P, e[42] = Q) : Q = e[42], Q;
|
|
456
474
|
}
|
|
457
|
-
let
|
|
458
|
-
return e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
475
|
+
let G;
|
|
476
|
+
return e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ c("div", { style: {
|
|
459
477
|
display: "flex",
|
|
460
478
|
justifyContent: "center",
|
|
461
479
|
alignItems: "center",
|
|
462
480
|
height: "100vh"
|
|
463
|
-
}, children: /* @__PURE__ */ c(Et, { size: "large" }) }), e[43] =
|
|
481
|
+
}, children: /* @__PURE__ */ c(Et, { size: "large" }) }), e[43] = G) : G = e[43], G;
|
|
464
482
|
}
|
|
465
|
-
r(
|
|
466
|
-
function
|
|
483
|
+
r($r, "FetcherViewer");
|
|
484
|
+
function $l(t, e) {
|
|
467
485
|
Rt.defaultDeleteAggregate(t.id, {
|
|
468
486
|
body: {}
|
|
469
487
|
}).then(() => {
|
|
470
488
|
e?.(t);
|
|
471
489
|
});
|
|
472
490
|
}
|
|
473
|
-
r(
|
|
474
|
-
function
|
|
491
|
+
r($l, "_temp4$1");
|
|
492
|
+
function kl(t, e) {
|
|
475
493
|
const l = {
|
|
476
494
|
...t
|
|
477
495
|
};
|
|
@@ -481,8 +499,8 @@ function Pl(t, e) {
|
|
|
481
499
|
e?.(t);
|
|
482
500
|
});
|
|
483
501
|
}
|
|
484
|
-
r(
|
|
485
|
-
function
|
|
502
|
+
r(kl, "_temp3$2");
|
|
503
|
+
function Vl(t, e) {
|
|
486
504
|
const l = {
|
|
487
505
|
...t
|
|
488
506
|
};
|
|
@@ -496,22 +514,22 @@ function xl(t, e) {
|
|
|
496
514
|
e?.(i);
|
|
497
515
|
});
|
|
498
516
|
}
|
|
499
|
-
r(
|
|
500
|
-
function
|
|
517
|
+
r(Vl, "_temp2$3");
|
|
518
|
+
function Ml(t, e) {
|
|
501
519
|
return nn.default.post(t, {
|
|
502
520
|
body: e
|
|
503
521
|
}, {
|
|
504
522
|
resultExtractor: il
|
|
505
523
|
});
|
|
506
524
|
}
|
|
507
|
-
r(
|
|
508
|
-
function
|
|
525
|
+
r(Ml, "_temp$b");
|
|
526
|
+
function Hl(t, e, l) {
|
|
509
527
|
if (!t || t.length === 0) return;
|
|
510
528
|
let n;
|
|
511
529
|
return l && (n = t.find((i) => i.id === l), n) || e && (n = t.find((i) => i.id === e), n) || (n = t.find((i) => i.isDefault), n) ? n : t[0];
|
|
512
530
|
}
|
|
513
|
-
r(
|
|
514
|
-
const
|
|
531
|
+
r(Hl, "getDefaultView");
|
|
532
|
+
const Ul = {
|
|
515
533
|
AND: "与",
|
|
516
534
|
OR: "或",
|
|
517
535
|
NOR: "非或",
|
|
@@ -556,56 +574,56 @@ const kl = {
|
|
|
556
574
|
RAW: "原始查询",
|
|
557
575
|
UNDEFINED: "未设置"
|
|
558
576
|
};
|
|
559
|
-
var
|
|
560
|
-
const
|
|
561
|
-
filterContent:
|
|
562
|
-
filterGroupLabel:
|
|
563
|
-
},
|
|
564
|
-
function
|
|
577
|
+
var Ge = /* @__PURE__ */ ((t) => (t.UNDEFINED = "UNDEFINED", t))(Ge || {});
|
|
578
|
+
const zl = "_filterContent_goy0q_1", gl = "_filterGroupLabel_goy0q_6", $t = {
|
|
579
|
+
filterContent: zl,
|
|
580
|
+
filterGroupLabel: gl
|
|
581
|
+
}, Bl = [];
|
|
582
|
+
function Yl(t) {
|
|
565
583
|
const e = j(23), {
|
|
566
584
|
filters: l,
|
|
567
585
|
activeFilters: n,
|
|
568
586
|
ref: i
|
|
569
|
-
} = t, a = n === void 0 ?
|
|
587
|
+
} = t, a = n === void 0 ? Bl : n;
|
|
570
588
|
let s;
|
|
571
|
-
e[0] !== a ? (s = a?.map(
|
|
572
|
-
const o = s, [u,
|
|
573
|
-
let
|
|
574
|
-
e[2] !== a || e[3] !== t.filters || e[4] !== u ? (
|
|
589
|
+
e[0] !== a ? (s = a?.map(Wl).sort(), e[0] = a, e[1] = s) : s = e[1];
|
|
590
|
+
const o = s, [u, d] = X(o);
|
|
591
|
+
let f;
|
|
592
|
+
e[2] !== a || e[3] !== t.filters || e[4] !== u ? (f = /* @__PURE__ */ r(() => ({
|
|
575
593
|
getValue() {
|
|
576
|
-
return t.filters.flatMap((
|
|
594
|
+
return t.filters.flatMap((w) => w.filters.filter((A) => u.includes(A.key) && !a.some((R) => R.key === A.key)));
|
|
577
595
|
}
|
|
578
|
-
}), "t2"), e[2] = a, e[3] = t.filters, e[4] = u, e[5] =
|
|
596
|
+
}), "t2"), e[2] = a, e[3] = t.filters, e[4] = u, e[5] = f) : f = e[5], Re(i, f);
|
|
579
597
|
let m;
|
|
580
|
-
e[6] !== u ? (m = /* @__PURE__ */ r((
|
|
581
|
-
|
|
598
|
+
e[6] !== u ? (m = /* @__PURE__ */ r((w, A) => {
|
|
599
|
+
d(A ? [...u, w.key] : u.filter((R) => R !== w.key));
|
|
582
600
|
}, "t3"), e[6] = u, e[7] = m) : m = e[7];
|
|
583
601
|
const h = m;
|
|
584
602
|
let T, E;
|
|
585
603
|
e[8] !== o ? (T = /* @__PURE__ */ r(() => {
|
|
586
|
-
|
|
604
|
+
d(o);
|
|
587
605
|
}, "t4"), E = [o], e[8] = o, e[9] = T, e[10] = E) : (T = e[9], E = e[10]), Ae(T, E);
|
|
588
606
|
let y;
|
|
589
607
|
if (e[11] !== a || e[12] !== l || e[13] !== h || e[14] !== u) {
|
|
590
|
-
let
|
|
591
|
-
e[16] !== a || e[17] !== l.length || e[18] !== h || e[19] !== u ? (
|
|
592
|
-
/* @__PURE__ */ c("span", { className: $t.filterGroupLabel, children:
|
|
593
|
-
/* @__PURE__ */ c(_t, { wrap: !0, gutter: [16, 16], children:
|
|
594
|
-
h(
|
|
595
|
-
}, "onChange"), disabled: a.some((
|
|
596
|
-
|
|
597
|
-
] },
|
|
608
|
+
let w;
|
|
609
|
+
e[16] !== a || e[17] !== l.length || e[18] !== h || e[19] !== u ? (w = /* @__PURE__ */ r((A, R) => /* @__PURE__ */ Z("div", { children: [
|
|
610
|
+
/* @__PURE__ */ c("span", { className: $t.filterGroupLabel, children: A.label }),
|
|
611
|
+
/* @__PURE__ */ c(_t, { wrap: !0, gutter: [16, 16], children: A.filters.map((x) => /* @__PURE__ */ c(St, { span: 6, children: /* @__PURE__ */ c(Qt, { checked: u.includes(x.key), onChange: /* @__PURE__ */ r((D) => {
|
|
612
|
+
h(x, D.target.checked);
|
|
613
|
+
}, "onChange"), disabled: a.some((D) => D.key === x.key), children: x.field.label }) }, x.key)) }, R),
|
|
614
|
+
R < l.length - 1 && /* @__PURE__ */ c(ze, { size: "middle" })
|
|
615
|
+
] }, A.label), "t72"), e[16] = a, e[17] = l.length, e[18] = h, e[19] = u, e[20] = w) : w = e[20], y = l.map(w), e[11] = a, e[12] = l, e[13] = h, e[14] = u, e[15] = y;
|
|
598
616
|
} else
|
|
599
617
|
y = e[15];
|
|
600
|
-
let
|
|
601
|
-
return e[21] !== y ? (
|
|
618
|
+
let b;
|
|
619
|
+
return e[21] !== y ? (b = /* @__PURE__ */ c("div", { className: $t.filterContent, children: y }), e[21] = y, e[22] = b) : b = e[22], b;
|
|
602
620
|
}
|
|
603
|
-
r(
|
|
604
|
-
function
|
|
621
|
+
r(Yl, "AvailableFilterSelect");
|
|
622
|
+
function Wl(t) {
|
|
605
623
|
return t.key;
|
|
606
624
|
}
|
|
607
|
-
r(
|
|
608
|
-
function
|
|
625
|
+
r(Wl, "_temp$a");
|
|
626
|
+
function Kl(t) {
|
|
609
627
|
const e = j(8), l = we(null);
|
|
610
628
|
let n;
|
|
611
629
|
e[0] !== t ? (n = /* @__PURE__ */ r(() => {
|
|
@@ -613,29 +631,29 @@ function Bl(t) {
|
|
|
613
631
|
}, "t0"), e[0] = t, e[1] = n) : n = e[1];
|
|
614
632
|
const i = n;
|
|
615
633
|
let a;
|
|
616
|
-
e[2] !== t.availableFilters ? (a = /* @__PURE__ */ c(
|
|
634
|
+
e[2] !== t.availableFilters ? (a = /* @__PURE__ */ c(Yl, { ...t.availableFilters, ref: l }), e[2] = t.availableFilters, e[3] = a) : a = e[3];
|
|
617
635
|
let s;
|
|
618
636
|
return e[4] !== i || e[5] !== t || e[6] !== a ? (s = /* @__PURE__ */ c(st, { ...t, onOk: i, width: 880, children: a }), e[4] = i, e[5] = t, e[6] = a, e[7] = s) : s = e[7], s;
|
|
619
637
|
}
|
|
620
|
-
r(
|
|
621
|
-
function
|
|
622
|
-
return !Array.isArray(t) || t.length !== 2 ? !1 :
|
|
638
|
+
r(Kl, "AvailableFilterSelectModal");
|
|
639
|
+
function Gl(t) {
|
|
640
|
+
return !Array.isArray(t) || t.length !== 2 ? !1 : kt(t[0]) && kt(t[1]);
|
|
623
641
|
}
|
|
624
|
-
r(
|
|
625
|
-
function
|
|
642
|
+
r(Gl, "isValidBetweenValue");
|
|
643
|
+
function kt(t) {
|
|
626
644
|
return t != null;
|
|
627
645
|
}
|
|
628
|
-
r(
|
|
629
|
-
function
|
|
646
|
+
r(kt, "isValidValue");
|
|
647
|
+
function kr() {
|
|
630
648
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
631
649
|
}
|
|
632
|
-
r(
|
|
633
|
-
const
|
|
634
|
-
function
|
|
635
|
-
const [e, l] = X(t.operator), [n, i] = X(t.value), a = t.validate ??
|
|
636
|
-
if (T ===
|
|
650
|
+
r(kr, "currentTimeZone");
|
|
651
|
+
const jl = /* @__PURE__ */ r(() => !0, "TrueValidateValue"), ql = /* @__PURE__ */ r((t, e) => t ? cl.has(t) ? !0 : e == null || e === "" || Array.isArray(e) && e.length === 0 ? !1 : t === B.BETWEEN ? Gl(e) : !0 : !1, "defaultValidateValue"), Ql = /* @__PURE__ */ r((t, e) => e, "defaultConditionValueParser"), Xl = /* @__PURE__ */ r((t, e, l) => l, "defaultValueConverter"), Zl = /* @__PURE__ */ r((t) => t, "defaultFilterValueConverter");
|
|
652
|
+
function Jl(t) {
|
|
653
|
+
const [e, l] = X(t.operator), [n, i] = X(t.value), a = t.validate ?? ql, s = t.conditionValueParser ?? Ql, o = t.onOperatorChangeValueConverter ?? Xl, u = t.filterValueConverter ?? Zl, d = /* @__PURE__ */ r((T, E) => {
|
|
654
|
+
if (T === Ge.UNDEFINED || !a(T, E))
|
|
637
655
|
return;
|
|
638
|
-
const y = s(T, E),
|
|
656
|
+
const y = s(T, E), w = {
|
|
639
657
|
condition: {
|
|
640
658
|
field: t.field,
|
|
641
659
|
operator: T,
|
|
@@ -643,37 +661,37 @@ function Ql(t) {
|
|
|
643
661
|
options: t.conditionOptions
|
|
644
662
|
}
|
|
645
663
|
};
|
|
646
|
-
return u(
|
|
647
|
-
}, "resolveFilterValue"),
|
|
664
|
+
return u(w);
|
|
665
|
+
}, "resolveFilterValue"), f = /* @__PURE__ */ r((T) => {
|
|
648
666
|
const E = o(e, T, n);
|
|
649
667
|
l(T), i(E);
|
|
650
|
-
const y =
|
|
668
|
+
const y = d(T, E);
|
|
651
669
|
t.onChange?.(y);
|
|
652
670
|
}, "setOperatorFn"), m = /* @__PURE__ */ r((T) => {
|
|
653
671
|
i(T);
|
|
654
|
-
const E =
|
|
672
|
+
const E = d(e, T);
|
|
655
673
|
t.onChange?.(E);
|
|
656
674
|
}, "setValueFn"), h = /* @__PURE__ */ r(() => {
|
|
657
675
|
l(t.operator), i(t.value);
|
|
658
|
-
const T =
|
|
676
|
+
const T = d(t.operator, t.value);
|
|
659
677
|
t.onChange?.(T);
|
|
660
678
|
}, "resetFn");
|
|
661
679
|
return Re(t.ref, () => ({
|
|
662
680
|
getValue() {
|
|
663
|
-
return
|
|
681
|
+
return d(e, n);
|
|
664
682
|
},
|
|
665
683
|
reset: h
|
|
666
684
|
})), {
|
|
667
685
|
operator: e,
|
|
668
686
|
value: n,
|
|
669
|
-
setOperator:
|
|
687
|
+
setOperator: f,
|
|
670
688
|
setValue: m,
|
|
671
689
|
reset: h
|
|
672
690
|
};
|
|
673
691
|
}
|
|
674
|
-
r(
|
|
692
|
+
r(Jl, "useFilterState");
|
|
675
693
|
const {
|
|
676
|
-
useToken:
|
|
694
|
+
useToken: ei
|
|
677
695
|
} = bn;
|
|
678
696
|
function Me(t) {
|
|
679
697
|
const e = j(22), {
|
|
@@ -682,10 +700,10 @@ function Me(t) {
|
|
|
682
700
|
} = t, i = n.operator?.supportedOperators ?? n.supportedOperators;
|
|
683
701
|
if (!i || i.length === 0)
|
|
684
702
|
throw new Error("supportedOperators must be a non-empty array");
|
|
685
|
-
const a = n.operator?.locale ??
|
|
703
|
+
const a = n.operator?.locale ?? Ul;
|
|
686
704
|
let s = n.operator?.defaultValue;
|
|
687
705
|
(!s || !i.includes(s)) && (s = i[0]);
|
|
688
|
-
const o =
|
|
706
|
+
const o = Jl({
|
|
689
707
|
field: n.field.name,
|
|
690
708
|
operator: s,
|
|
691
709
|
value: n.value?.defaultValue,
|
|
@@ -695,56 +713,56 @@ function Me(t) {
|
|
|
695
713
|
conditionValueParser: n.conditionValueParser,
|
|
696
714
|
filterValueConverter: n.filterValueConverter,
|
|
697
715
|
onChange: n.onChange
|
|
698
|
-
}), u = n.valueInputRender?.(o),
|
|
699
|
-
value:
|
|
700
|
-
label: a[
|
|
716
|
+
}), u = n.valueInputRender?.(o), d = i.map((x) => ({
|
|
717
|
+
value: x,
|
|
718
|
+
label: a[x]
|
|
701
719
|
})), {
|
|
702
|
-
token:
|
|
703
|
-
} =
|
|
720
|
+
token: f
|
|
721
|
+
} = ei();
|
|
704
722
|
let m;
|
|
705
723
|
e[0] !== n.style ? (m = {
|
|
706
724
|
...n.style
|
|
707
725
|
}, e[0] = n.style, e[1] = m) : m = e[1];
|
|
708
|
-
const h = `1px solid ${
|
|
726
|
+
const h = `1px solid ${f.colorBorder}`, T = n.label?.style;
|
|
709
727
|
let E;
|
|
710
|
-
e[2] !== h || e[3] !== T || e[4] !==
|
|
728
|
+
e[2] !== h || e[3] !== T || e[4] !== f.colorBgContainer ? (E = {
|
|
711
729
|
minWidth: 140,
|
|
712
730
|
height: "32px",
|
|
713
731
|
lineHeight: "32px",
|
|
714
732
|
padding: "0 12px",
|
|
715
|
-
background:
|
|
733
|
+
background: f.colorBgContainer,
|
|
716
734
|
border: h,
|
|
717
735
|
borderRight: "none",
|
|
718
736
|
whiteSpace: "nowrap",
|
|
719
737
|
...T
|
|
720
|
-
}, e[2] = h, e[3] = T, e[4] =
|
|
738
|
+
}, e[2] = h, e[3] = T, e[4] = f.colorBgContainer, e[5] = E) : E = e[5];
|
|
721
739
|
const y = n.label?.className;
|
|
722
|
-
let L;
|
|
723
|
-
e[6] !== n.field.label || e[7] !== E || e[8] !== y ? (L = /* @__PURE__ */ c(qe, { style: E, className: y, children: n.field.label }), e[6] = n.field.label, e[7] = E, e[8] = y, e[9] = L) : L = e[9];
|
|
724
|
-
let O;
|
|
725
|
-
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = {
|
|
726
|
-
minWidth: 120
|
|
727
|
-
}, e[10] = O) : O = e[10];
|
|
728
740
|
let b;
|
|
729
|
-
e[
|
|
730
|
-
let
|
|
731
|
-
|
|
732
|
-
|
|
741
|
+
e[6] !== n.field.label || e[7] !== E || e[8] !== y ? (b = /* @__PURE__ */ c(qe, { style: E, className: y, children: n.field.label }), e[6] = n.field.label, e[7] = E, e[8] = y, e[9] = b) : b = e[9];
|
|
742
|
+
let w;
|
|
743
|
+
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = {
|
|
744
|
+
minWidth: 120
|
|
745
|
+
}, e[10] = w) : w = e[10];
|
|
746
|
+
let A;
|
|
747
|
+
e[11] !== o.operator || e[12] !== o.setOperator || e[13] !== d || e[14] !== n.operator ? (A = /* @__PURE__ */ c(rt, { style: w, ...n.operator, onChange: o.setOperator, value: o.operator, options: d }), e[11] = o.operator, e[12] = o.setOperator, e[13] = d, e[14] = n.operator, e[15] = A) : A = e[15];
|
|
748
|
+
let R;
|
|
749
|
+
return e[16] !== n.className || e[17] !== m || e[18] !== b || e[19] !== A || e[20] !== u ? (R = /* @__PURE__ */ Z(Se.Compact, { block: !0, style: m, className: n.className, children: [
|
|
733
750
|
b,
|
|
751
|
+
A,
|
|
734
752
|
u
|
|
735
|
-
] }), e[16] = n.className, e[17] = m, e[18] =
|
|
753
|
+
] }), e[16] = n.className, e[17] = m, e[18] = b, e[19] = A, e[20] = u, e[21] = R) : R = e[21], R;
|
|
736
754
|
}
|
|
737
755
|
r(Me, "AssemblyFilter");
|
|
738
|
-
const
|
|
756
|
+
const ti = "text";
|
|
739
757
|
function cn(t) {
|
|
740
758
|
const e = j(6);
|
|
741
759
|
let l;
|
|
742
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
760
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [B.EQ, B.NE, B.CONTAINS, B.STARTS_WITH, B.ENDS_WITH, B.IN, B.NOT_IN], e[0] = l) : l = e[0];
|
|
743
761
|
let n;
|
|
744
762
|
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => {
|
|
745
763
|
switch (a.operator) {
|
|
746
|
-
case
|
|
747
|
-
case
|
|
764
|
+
case B.IN:
|
|
765
|
+
case B.NOT_IN:
|
|
748
766
|
return /* @__PURE__ */ c(ft, { value: a.value, onChange: a.setValue, ...t.value });
|
|
749
767
|
default:
|
|
750
768
|
return /* @__PURE__ */ c(je, { style: {
|
|
@@ -766,10 +784,10 @@ function cn(t) {
|
|
|
766
784
|
}
|
|
767
785
|
r(cn, "TextFilter");
|
|
768
786
|
cn.displayName = "TextFilter";
|
|
769
|
-
const
|
|
787
|
+
const ni = "id", li = /* @__PURE__ */ r((t, e, l) => {
|
|
770
788
|
if (l == null)
|
|
771
789
|
return l;
|
|
772
|
-
if (e ===
|
|
790
|
+
if (e === B.ID)
|
|
773
791
|
return Array.isArray(l) ? l[0] : l;
|
|
774
792
|
if (Array.isArray(l))
|
|
775
793
|
return l;
|
|
@@ -779,15 +797,15 @@ const Jl = "id", ei = /* @__PURE__ */ r((t, e, l) => {
|
|
|
779
797
|
function un(t) {
|
|
780
798
|
const e = j(6);
|
|
781
799
|
let l;
|
|
782
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
800
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [B.ID, B.IDS], e[0] = l) : l = e[0];
|
|
783
801
|
let n;
|
|
784
|
-
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => a.operator ===
|
|
802
|
+
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => a.operator === B.ID ? /* @__PURE__ */ c(je, { value: a.value, onChange: /* @__PURE__ */ r((s) => a.setValue(s.target.value), "onChange"), allowClear: !0, ...t.value }) : /* @__PURE__ */ c(ft, { value: a.value, onChange: a.setValue, ...t.value }), "t1"), e[1] = t.value, e[2] = n) : n = e[2];
|
|
785
803
|
let i;
|
|
786
804
|
if (e[3] !== t || e[4] !== n) {
|
|
787
805
|
const a = {
|
|
788
806
|
...t,
|
|
789
807
|
supportedOperators: l,
|
|
790
|
-
onOperatorChangeValueConverter:
|
|
808
|
+
onOperatorChangeValueConverter: li,
|
|
791
809
|
valueInputRender: n
|
|
792
810
|
};
|
|
793
811
|
i = /* @__PURE__ */ c(Me, { ...a }), e[3] = t, e[4] = n, e[5] = i;
|
|
@@ -797,18 +815,18 @@ function un(t) {
|
|
|
797
815
|
}
|
|
798
816
|
r(un, "IdFilter");
|
|
799
817
|
un.displayName = "IdConditionFilter";
|
|
800
|
-
const
|
|
818
|
+
const ii = "number";
|
|
801
819
|
function fn(t) {
|
|
802
820
|
const e = j(6);
|
|
803
821
|
let l;
|
|
804
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
822
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [B.EQ, B.NE, B.GT, B.LT, B.GTE, B.LTE, B.BETWEEN, B.IN, B.NOT_IN], e[0] = l) : l = e[0];
|
|
805
823
|
let n;
|
|
806
824
|
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => {
|
|
807
825
|
switch (a.operator) {
|
|
808
|
-
case
|
|
809
|
-
case
|
|
826
|
+
case B.IN:
|
|
827
|
+
case B.NOT_IN:
|
|
810
828
|
return /* @__PURE__ */ c(ft, { value: a.value, serializer: hl, onChange: /* @__PURE__ */ r((s) => a.setValue(s), "onChange"), ...t.value });
|
|
811
|
-
case
|
|
829
|
+
case B.BETWEEN: {
|
|
812
830
|
const {
|
|
813
831
|
placeholder: s,
|
|
814
832
|
...o
|
|
@@ -819,9 +837,9 @@ function fn(t) {
|
|
|
819
837
|
const {
|
|
820
838
|
defaultValue: s,
|
|
821
839
|
...o
|
|
822
|
-
} = t.value ?? {}, u = Array.isArray(s) ? s[0] : s,
|
|
823
|
-
return /* @__PURE__ */ c(tt, { value:
|
|
824
|
-
a.setValue(
|
|
840
|
+
} = t.value ?? {}, u = Array.isArray(s) ? s[0] : s, d = Array.isArray(a.value) ? a.value[0] : a.value;
|
|
841
|
+
return /* @__PURE__ */ c(tt, { value: d, defaultValue: u, onChange: /* @__PURE__ */ r((f) => {
|
|
842
|
+
a.setValue(f ?? void 0);
|
|
825
843
|
}, "onChange"), ...o });
|
|
826
844
|
}
|
|
827
845
|
}
|
|
@@ -831,7 +849,7 @@ function fn(t) {
|
|
|
831
849
|
const a = {
|
|
832
850
|
...t,
|
|
833
851
|
supportedOperators: l,
|
|
834
|
-
validate:
|
|
852
|
+
validate: ai,
|
|
835
853
|
valueInputRender: n
|
|
836
854
|
};
|
|
837
855
|
i = /* @__PURE__ */ c(Me, { ...a }), e[3] = t, e[4] = n, e[5] = i;
|
|
@@ -840,16 +858,16 @@ function fn(t) {
|
|
|
840
858
|
return i;
|
|
841
859
|
}
|
|
842
860
|
r(fn, "NumberFilter");
|
|
843
|
-
function
|
|
844
|
-
return t ===
|
|
861
|
+
function ai(t, e) {
|
|
862
|
+
return t === B.BETWEEN ? Array.isArray(e) ? e[0] !== void 0 && e[1] !== void 0 : !1 : e != null;
|
|
845
863
|
}
|
|
846
|
-
r(
|
|
864
|
+
r(ai, "_temp$9");
|
|
847
865
|
fn.displayName = "NumberFilter";
|
|
848
|
-
const
|
|
866
|
+
const ri = "select";
|
|
849
867
|
function dn(t) {
|
|
850
868
|
const e = j(6);
|
|
851
869
|
let l;
|
|
852
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
870
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [B.IN, B.NOT_IN], e[0] = l) : l = e[0];
|
|
853
871
|
let n;
|
|
854
872
|
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => /* @__PURE__ */ c(rt, { mode: "multiple", value: a.value, onChange: a.setValue, allowClear: !0, ...t.value }), "t1"), e[1] = t.value, e[2] = n) : n = e[2];
|
|
855
873
|
let i;
|
|
@@ -866,17 +884,17 @@ function dn(t) {
|
|
|
866
884
|
}
|
|
867
885
|
r(dn, "SelectFilter");
|
|
868
886
|
dn.displayName = "SelectFilter";
|
|
869
|
-
const
|
|
887
|
+
const si = "bool";
|
|
870
888
|
function mn(t) {
|
|
871
889
|
const e = j(3);
|
|
872
890
|
let l;
|
|
873
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
891
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [Ge.UNDEFINED, B.TRUE, B.FALSE], e[0] = l) : l = e[0];
|
|
874
892
|
let n;
|
|
875
893
|
if (e[1] !== t) {
|
|
876
894
|
const i = {
|
|
877
895
|
...t,
|
|
878
896
|
supportedOperators: l,
|
|
879
|
-
validate:
|
|
897
|
+
validate: jl
|
|
880
898
|
};
|
|
881
899
|
n = /* @__PURE__ */ c(Me, { ...i }), e[1] = t, e[2] = n;
|
|
882
900
|
} else
|
|
@@ -889,225 +907,225 @@ function hn(t) {
|
|
|
889
907
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
890
908
|
}
|
|
891
909
|
r(hn, "getDefaultExportFromCjs");
|
|
892
|
-
var Ze = { exports: {} },
|
|
893
|
-
function
|
|
894
|
-
return
|
|
910
|
+
var Ze = { exports: {} }, oi = Ze.exports, Vt;
|
|
911
|
+
function ci() {
|
|
912
|
+
return Vt || (Vt = 1, (function(t, e) {
|
|
895
913
|
(function(l, n) {
|
|
896
914
|
t.exports = n();
|
|
897
|
-
})(
|
|
898
|
-
var l = 1e3, n = 6e4, i = 36e5, a = "millisecond", s = "second", o = "minute", u = "hour",
|
|
915
|
+
})(oi, (function() {
|
|
916
|
+
var l = 1e3, n = 6e4, i = 36e5, a = "millisecond", s = "second", o = "minute", u = "hour", d = "day", f = "week", m = "month", h = "quarter", T = "year", E = "date", y = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: /* @__PURE__ */ r(function(I) {
|
|
899
917
|
var _ = ["th", "st", "nd", "rd"], S = I % 100;
|
|
900
918
|
return "[" + I + (_[(S - 20) % 10] || _[S] || _[0]) + "]";
|
|
901
|
-
}, "ordinal") },
|
|
919
|
+
}, "ordinal") }, R = /* @__PURE__ */ r(function(I, _, S) {
|
|
902
920
|
var N = String(I);
|
|
903
921
|
return !N || N.length >= _ ? I : "" + Array(_ + 1 - N.length).join(S) + I;
|
|
904
|
-
}, "m"),
|
|
905
|
-
var _ = -I.utcOffset(), S = Math.abs(_), N = Math.floor(S / 60),
|
|
906
|
-
return (_ <= 0 ? "+" : "-") +
|
|
922
|
+
}, "m"), x = { s: R, z: /* @__PURE__ */ r(function(I) {
|
|
923
|
+
var _ = -I.utcOffset(), S = Math.abs(_), N = Math.floor(S / 60), C = S % 60;
|
|
924
|
+
return (_ <= 0 ? "+" : "-") + R(N, 2, "0") + ":" + R(C, 2, "0");
|
|
907
925
|
}, "z"), m: /* @__PURE__ */ r(function I(_, S) {
|
|
908
926
|
if (_.date() < S.date()) return -I(S, _);
|
|
909
|
-
var N = 12 * (S.year() - _.year()) + (S.month() - _.month()),
|
|
910
|
-
return +(-(N + (S -
|
|
927
|
+
var N = 12 * (S.year() - _.year()) + (S.month() - _.month()), C = _.clone().add(N, m), p = S - C < 0, O = _.clone().add(N + (p ? -1 : 1), m);
|
|
928
|
+
return +(-(N + (S - C) / (p ? C - O : O - C)) || 0);
|
|
911
929
|
}, "t"), a: /* @__PURE__ */ r(function(I) {
|
|
912
930
|
return I < 0 ? Math.ceil(I) || 0 : Math.floor(I);
|
|
913
931
|
}, "a"), p: /* @__PURE__ */ r(function(I) {
|
|
914
|
-
return { M: m, y: T, w:
|
|
932
|
+
return { M: m, y: T, w: f, d, D: E, h: u, m: o, s, ms: a, Q: h }[I] || String(I || "").toLowerCase().replace(/s$/, "");
|
|
915
933
|
}, "p"), u: /* @__PURE__ */ r(function(I) {
|
|
916
934
|
return I === void 0;
|
|
917
|
-
}, "u") },
|
|
918
|
-
|
|
919
|
-
var
|
|
920
|
-
return I instanceof
|
|
935
|
+
}, "u") }, D = "en", F = {};
|
|
936
|
+
F[D] = A;
|
|
937
|
+
var $ = "$isDayjsObject", H = /* @__PURE__ */ r(function(I) {
|
|
938
|
+
return I instanceof W || !(!I || !I[$]);
|
|
921
939
|
}, "S"), U = /* @__PURE__ */ r(function I(_, S, N) {
|
|
922
|
-
var
|
|
923
|
-
if (!_) return
|
|
940
|
+
var C;
|
|
941
|
+
if (!_) return D;
|
|
924
942
|
if (typeof _ == "string") {
|
|
925
943
|
var p = _.toLowerCase();
|
|
926
|
-
|
|
927
|
-
var
|
|
928
|
-
if (!
|
|
944
|
+
F[p] && (C = p), S && (F[p] = S, C = p);
|
|
945
|
+
var O = _.split("-");
|
|
946
|
+
if (!C && O.length > 1) return I(O[0]);
|
|
929
947
|
} else {
|
|
930
|
-
var
|
|
931
|
-
|
|
948
|
+
var z = _.name;
|
|
949
|
+
F[z] = _, C = z;
|
|
932
950
|
}
|
|
933
|
-
return !N &&
|
|
934
|
-
}, "t"),
|
|
935
|
-
if (
|
|
951
|
+
return !N && C && (D = C), C || !N && D;
|
|
952
|
+
}, "t"), P = /* @__PURE__ */ r(function(I, _) {
|
|
953
|
+
if (H(I)) return I.clone();
|
|
936
954
|
var S = typeof _ == "object" ? _ : {};
|
|
937
|
-
return S.date = I, S.args = arguments, new
|
|
938
|
-
}, "O"),
|
|
939
|
-
|
|
940
|
-
return
|
|
955
|
+
return S.date = I, S.args = arguments, new W(S);
|
|
956
|
+
}, "O"), L = x;
|
|
957
|
+
L.l = U, L.i = H, L.w = function(I, _) {
|
|
958
|
+
return P(I, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
|
|
941
959
|
};
|
|
942
|
-
var
|
|
960
|
+
var W = (function() {
|
|
943
961
|
function I(S) {
|
|
944
|
-
this.$L = U(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[
|
|
962
|
+
this.$L = U(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[$] = !0;
|
|
945
963
|
}
|
|
946
964
|
r(I, "M");
|
|
947
965
|
var _ = I.prototype;
|
|
948
966
|
return _.parse = function(S) {
|
|
949
967
|
this.$d = (function(N) {
|
|
950
|
-
var
|
|
951
|
-
if (
|
|
952
|
-
if (
|
|
953
|
-
if (
|
|
954
|
-
if (typeof
|
|
955
|
-
var
|
|
956
|
-
if (
|
|
957
|
-
var
|
|
958
|
-
return p ? new Date(Date.UTC(
|
|
968
|
+
var C = N.date, p = N.utc;
|
|
969
|
+
if (C === null) return /* @__PURE__ */ new Date(NaN);
|
|
970
|
+
if (L.u(C)) return /* @__PURE__ */ new Date();
|
|
971
|
+
if (C instanceof Date) return new Date(C);
|
|
972
|
+
if (typeof C == "string" && !/Z$/i.test(C)) {
|
|
973
|
+
var O = C.match(b);
|
|
974
|
+
if (O) {
|
|
975
|
+
var z = O[2] - 1 || 0, v = (O[7] || "0").substring(0, 3);
|
|
976
|
+
return p ? new Date(Date.UTC(O[1], z, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, v)) : new Date(O[1], z, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, v);
|
|
959
977
|
}
|
|
960
978
|
}
|
|
961
|
-
return new Date(
|
|
979
|
+
return new Date(C);
|
|
962
980
|
})(S), this.init();
|
|
963
981
|
}, _.init = function() {
|
|
964
982
|
var S = this.$d;
|
|
965
983
|
this.$y = S.getFullYear(), this.$M = S.getMonth(), this.$D = S.getDate(), this.$W = S.getDay(), this.$H = S.getHours(), this.$m = S.getMinutes(), this.$s = S.getSeconds(), this.$ms = S.getMilliseconds();
|
|
966
984
|
}, _.$utils = function() {
|
|
967
|
-
return
|
|
985
|
+
return L;
|
|
968
986
|
}, _.isValid = function() {
|
|
969
987
|
return this.$d.toString() !== y;
|
|
970
988
|
}, _.isSame = function(S, N) {
|
|
971
|
-
var
|
|
972
|
-
return this.startOf(N) <=
|
|
989
|
+
var C = P(S);
|
|
990
|
+
return this.startOf(N) <= C && C <= this.endOf(N);
|
|
973
991
|
}, _.isAfter = function(S, N) {
|
|
974
|
-
return
|
|
992
|
+
return P(S) < this.startOf(N);
|
|
975
993
|
}, _.isBefore = function(S, N) {
|
|
976
|
-
return this.endOf(N) <
|
|
977
|
-
}, _.$g = function(S, N,
|
|
978
|
-
return
|
|
994
|
+
return this.endOf(N) < P(S);
|
|
995
|
+
}, _.$g = function(S, N, C) {
|
|
996
|
+
return L.u(S) ? this[N] : this.set(C, S);
|
|
979
997
|
}, _.unix = function() {
|
|
980
998
|
return Math.floor(this.valueOf() / 1e3);
|
|
981
999
|
}, _.valueOf = function() {
|
|
982
1000
|
return this.$d.getTime();
|
|
983
1001
|
}, _.startOf = function(S, N) {
|
|
984
|
-
var
|
|
985
|
-
var
|
|
986
|
-
return p ?
|
|
987
|
-
}, "l"),
|
|
988
|
-
return
|
|
989
|
-
}, "$"),
|
|
990
|
-
switch (
|
|
1002
|
+
var C = this, p = !!L.u(N) || N, O = L.p(S), z = /* @__PURE__ */ r(function(J, G) {
|
|
1003
|
+
var Y = L.w(C.$u ? Date.UTC(C.$y, G, J) : new Date(C.$y, G, J), C);
|
|
1004
|
+
return p ? Y : Y.endOf(d);
|
|
1005
|
+
}, "l"), v = /* @__PURE__ */ r(function(J, G) {
|
|
1006
|
+
return L.w(C.toDate()[J].apply(C.toDate("s"), (p ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), C);
|
|
1007
|
+
}, "$"), g = this.$W, V = this.$M, M = this.$D, K = "set" + (this.$u ? "UTC" : "");
|
|
1008
|
+
switch (O) {
|
|
991
1009
|
case T:
|
|
992
|
-
return p ?
|
|
1010
|
+
return p ? z(1, 0) : z(31, 11);
|
|
993
1011
|
case m:
|
|
994
|
-
return p ?
|
|
995
|
-
case d:
|
|
996
|
-
var q = this.$locale().weekStart || 0, te = (z < q ? z + 7 : z) - q;
|
|
997
|
-
return H(p ? M - te : M + (6 - te), W);
|
|
1012
|
+
return p ? z(1, V) : z(0, V + 1);
|
|
998
1013
|
case f:
|
|
1014
|
+
var q = this.$locale().weekStart || 0, te = (g < q ? g + 7 : g) - q;
|
|
1015
|
+
return z(p ? M - te : M + (6 - te), V);
|
|
1016
|
+
case d:
|
|
999
1017
|
case E:
|
|
1000
|
-
return
|
|
1018
|
+
return v(K + "Hours", 0);
|
|
1001
1019
|
case u:
|
|
1002
|
-
return
|
|
1020
|
+
return v(K + "Minutes", 1);
|
|
1003
1021
|
case o:
|
|
1004
|
-
return
|
|
1022
|
+
return v(K + "Seconds", 2);
|
|
1005
1023
|
case s:
|
|
1006
|
-
return
|
|
1024
|
+
return v(K + "Milliseconds", 3);
|
|
1007
1025
|
default:
|
|
1008
1026
|
return this.clone();
|
|
1009
1027
|
}
|
|
1010
1028
|
}, _.endOf = function(S) {
|
|
1011
1029
|
return this.startOf(S, !1);
|
|
1012
1030
|
}, _.$set = function(S, N) {
|
|
1013
|
-
var
|
|
1031
|
+
var C, p = L.p(S), O = "set" + (this.$u ? "UTC" : ""), z = (C = {}, C[d] = O + "Date", C[E] = O + "Date", C[m] = O + "Month", C[T] = O + "FullYear", C[u] = O + "Hours", C[o] = O + "Minutes", C[s] = O + "Seconds", C[a] = O + "Milliseconds", C)[p], v = p === d ? this.$D + (N - this.$W) : N;
|
|
1014
1032
|
if (p === m || p === T) {
|
|
1015
|
-
var
|
|
1016
|
-
|
|
1017
|
-
} else
|
|
1033
|
+
var g = this.clone().set(E, 1);
|
|
1034
|
+
g.$d[z](v), g.init(), this.$d = g.set(E, Math.min(this.$D, g.daysInMonth())).$d;
|
|
1035
|
+
} else z && this.$d[z](v);
|
|
1018
1036
|
return this.init(), this;
|
|
1019
1037
|
}, _.set = function(S, N) {
|
|
1020
1038
|
return this.clone().$set(S, N);
|
|
1021
1039
|
}, _.get = function(S) {
|
|
1022
|
-
return this[
|
|
1040
|
+
return this[L.p(S)]();
|
|
1023
1041
|
}, _.add = function(S, N) {
|
|
1024
|
-
var
|
|
1042
|
+
var C, p = this;
|
|
1025
1043
|
S = Number(S);
|
|
1026
|
-
var
|
|
1027
|
-
var M =
|
|
1028
|
-
return
|
|
1044
|
+
var O = L.p(N), z = /* @__PURE__ */ r(function(V) {
|
|
1045
|
+
var M = P(p);
|
|
1046
|
+
return L.w(M.date(M.date() + Math.round(V * S)), p);
|
|
1029
1047
|
}, "y");
|
|
1030
|
-
if (
|
|
1031
|
-
if (
|
|
1032
|
-
if (
|
|
1033
|
-
if (
|
|
1034
|
-
var
|
|
1035
|
-
return
|
|
1048
|
+
if (O === m) return this.set(m, this.$M + S);
|
|
1049
|
+
if (O === T) return this.set(T, this.$y + S);
|
|
1050
|
+
if (O === d) return z(1);
|
|
1051
|
+
if (O === f) return z(7);
|
|
1052
|
+
var v = (C = {}, C[o] = n, C[u] = i, C[s] = l, C)[O] || 1, g = this.$d.getTime() + S * v;
|
|
1053
|
+
return L.w(g, this);
|
|
1036
1054
|
}, _.subtract = function(S, N) {
|
|
1037
1055
|
return this.add(-1 * S, N);
|
|
1038
1056
|
}, _.format = function(S) {
|
|
1039
|
-
var N = this,
|
|
1040
|
-
if (!this.isValid()) return
|
|
1041
|
-
var p = S || "YYYY-MM-DDTHH:mm:ssZ",
|
|
1042
|
-
return
|
|
1043
|
-
}, "h"), te = /* @__PURE__ */ r(function(
|
|
1044
|
-
return
|
|
1045
|
-
}, "d"), J =
|
|
1046
|
-
var le =
|
|
1057
|
+
var N = this, C = this.$locale();
|
|
1058
|
+
if (!this.isValid()) return C.invalidDate || y;
|
|
1059
|
+
var p = S || "YYYY-MM-DDTHH:mm:ssZ", O = L.z(this), z = this.$H, v = this.$m, g = this.$M, V = C.weekdays, M = C.months, K = C.meridiem, q = /* @__PURE__ */ r(function(G, Y, Q, le) {
|
|
1060
|
+
return G && (G[Y] || G(N, p)) || Q[Y].slice(0, le);
|
|
1061
|
+
}, "h"), te = /* @__PURE__ */ r(function(G) {
|
|
1062
|
+
return L.s(z % 12 || 12, G, "0");
|
|
1063
|
+
}, "d"), J = K || function(G, Y, Q) {
|
|
1064
|
+
var le = G < 12 ? "AM" : "PM";
|
|
1047
1065
|
return Q ? le.toLowerCase() : le;
|
|
1048
1066
|
};
|
|
1049
|
-
return p.replace(
|
|
1050
|
-
return
|
|
1067
|
+
return p.replace(w, (function(G, Y) {
|
|
1068
|
+
return Y || (function(Q) {
|
|
1051
1069
|
switch (Q) {
|
|
1052
1070
|
case "YY":
|
|
1053
1071
|
return String(N.$y).slice(-2);
|
|
1054
1072
|
case "YYYY":
|
|
1055
|
-
return
|
|
1073
|
+
return L.s(N.$y, 4, "0");
|
|
1056
1074
|
case "M":
|
|
1057
|
-
return
|
|
1075
|
+
return g + 1;
|
|
1058
1076
|
case "MM":
|
|
1059
|
-
return
|
|
1077
|
+
return L.s(g + 1, 2, "0");
|
|
1060
1078
|
case "MMM":
|
|
1061
|
-
return q(
|
|
1079
|
+
return q(C.monthsShort, g, M, 3);
|
|
1062
1080
|
case "MMMM":
|
|
1063
|
-
return q(M,
|
|
1081
|
+
return q(M, g);
|
|
1064
1082
|
case "D":
|
|
1065
1083
|
return N.$D;
|
|
1066
1084
|
case "DD":
|
|
1067
|
-
return
|
|
1085
|
+
return L.s(N.$D, 2, "0");
|
|
1068
1086
|
case "d":
|
|
1069
1087
|
return String(N.$W);
|
|
1070
1088
|
case "dd":
|
|
1071
|
-
return q(
|
|
1089
|
+
return q(C.weekdaysMin, N.$W, V, 2);
|
|
1072
1090
|
case "ddd":
|
|
1073
|
-
return q(
|
|
1091
|
+
return q(C.weekdaysShort, N.$W, V, 3);
|
|
1074
1092
|
case "dddd":
|
|
1075
|
-
return
|
|
1093
|
+
return V[N.$W];
|
|
1076
1094
|
case "H":
|
|
1077
|
-
return String(
|
|
1095
|
+
return String(z);
|
|
1078
1096
|
case "HH":
|
|
1079
|
-
return
|
|
1097
|
+
return L.s(z, 2, "0");
|
|
1080
1098
|
case "h":
|
|
1081
1099
|
return te(1);
|
|
1082
1100
|
case "hh":
|
|
1083
1101
|
return te(2);
|
|
1084
1102
|
case "a":
|
|
1085
|
-
return J(
|
|
1103
|
+
return J(z, v, !0);
|
|
1086
1104
|
case "A":
|
|
1087
|
-
return J(
|
|
1105
|
+
return J(z, v, !1);
|
|
1088
1106
|
case "m":
|
|
1089
|
-
return String(
|
|
1107
|
+
return String(v);
|
|
1090
1108
|
case "mm":
|
|
1091
|
-
return
|
|
1109
|
+
return L.s(v, 2, "0");
|
|
1092
1110
|
case "s":
|
|
1093
1111
|
return String(N.$s);
|
|
1094
1112
|
case "ss":
|
|
1095
|
-
return
|
|
1113
|
+
return L.s(N.$s, 2, "0");
|
|
1096
1114
|
case "SSS":
|
|
1097
|
-
return
|
|
1115
|
+
return L.s(N.$ms, 3, "0");
|
|
1098
1116
|
case "Z":
|
|
1099
|
-
return
|
|
1117
|
+
return O;
|
|
1100
1118
|
}
|
|
1101
1119
|
return null;
|
|
1102
|
-
})(
|
|
1120
|
+
})(G) || O.replace(":", "");
|
|
1103
1121
|
}));
|
|
1104
1122
|
}, _.utcOffset = function() {
|
|
1105
1123
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1106
|
-
}, _.diff = function(S, N,
|
|
1107
|
-
var p,
|
|
1108
|
-
return
|
|
1124
|
+
}, _.diff = function(S, N, C) {
|
|
1125
|
+
var p, O = this, z = L.p(N), v = P(S), g = (v.utcOffset() - this.utcOffset()) * n, V = this - v, M = /* @__PURE__ */ r(function() {
|
|
1126
|
+
return L.m(O, v);
|
|
1109
1127
|
}, "D");
|
|
1110
|
-
switch (
|
|
1128
|
+
switch (z) {
|
|
1111
1129
|
case T:
|
|
1112
1130
|
p = M() / 12;
|
|
1113
1131
|
break;
|
|
@@ -1117,35 +1135,35 @@ function ri() {
|
|
|
1117
1135
|
case h:
|
|
1118
1136
|
p = M() / 3;
|
|
1119
1137
|
break;
|
|
1120
|
-
case d:
|
|
1121
|
-
p = (W - z) / 6048e5;
|
|
1122
|
-
break;
|
|
1123
1138
|
case f:
|
|
1124
|
-
p = (
|
|
1139
|
+
p = (V - g) / 6048e5;
|
|
1140
|
+
break;
|
|
1141
|
+
case d:
|
|
1142
|
+
p = (V - g) / 864e5;
|
|
1125
1143
|
break;
|
|
1126
1144
|
case u:
|
|
1127
|
-
p =
|
|
1145
|
+
p = V / i;
|
|
1128
1146
|
break;
|
|
1129
1147
|
case o:
|
|
1130
|
-
p =
|
|
1148
|
+
p = V / n;
|
|
1131
1149
|
break;
|
|
1132
1150
|
case s:
|
|
1133
|
-
p =
|
|
1151
|
+
p = V / l;
|
|
1134
1152
|
break;
|
|
1135
1153
|
default:
|
|
1136
|
-
p =
|
|
1154
|
+
p = V;
|
|
1137
1155
|
}
|
|
1138
|
-
return
|
|
1156
|
+
return C ? p : L.a(p);
|
|
1139
1157
|
}, _.daysInMonth = function() {
|
|
1140
1158
|
return this.endOf(m).$D;
|
|
1141
1159
|
}, _.$locale = function() {
|
|
1142
|
-
return
|
|
1160
|
+
return F[this.$L];
|
|
1143
1161
|
}, _.locale = function(S, N) {
|
|
1144
1162
|
if (!S) return this.$L;
|
|
1145
|
-
var
|
|
1146
|
-
return p && (
|
|
1163
|
+
var C = this.clone(), p = U(S, N, !0);
|
|
1164
|
+
return p && (C.$L = p), C;
|
|
1147
1165
|
}, _.clone = function() {
|
|
1148
|
-
return
|
|
1166
|
+
return L.w(this.$d, this);
|
|
1149
1167
|
}, _.toDate = function() {
|
|
1150
1168
|
return new Date(this.valueOf());
|
|
1151
1169
|
}, _.toJSON = function() {
|
|
@@ -1155,33 +1173,33 @@ function ri() {
|
|
|
1155
1173
|
}, _.toString = function() {
|
|
1156
1174
|
return this.$d.toUTCString();
|
|
1157
1175
|
}, I;
|
|
1158
|
-
})(),
|
|
1159
|
-
return
|
|
1160
|
-
|
|
1176
|
+
})(), k = W.prototype;
|
|
1177
|
+
return P.prototype = k, [["$ms", a], ["$s", s], ["$m", o], ["$H", u], ["$W", d], ["$M", m], ["$y", T], ["$D", E]].forEach((function(I) {
|
|
1178
|
+
k[I[1]] = function(_) {
|
|
1161
1179
|
return this.$g(_, I[0], I[1]);
|
|
1162
1180
|
};
|
|
1163
|
-
})),
|
|
1164
|
-
return I.$i || (I(_,
|
|
1165
|
-
},
|
|
1166
|
-
return
|
|
1167
|
-
},
|
|
1181
|
+
})), P.extend = function(I, _) {
|
|
1182
|
+
return I.$i || (I(_, W, P), I.$i = !0), P;
|
|
1183
|
+
}, P.locale = U, P.isDayjs = H, P.unix = function(I) {
|
|
1184
|
+
return P(1e3 * I);
|
|
1185
|
+
}, P.en = F[D], P.Ls = F, P.p = {}, P;
|
|
1168
1186
|
}));
|
|
1169
1187
|
})(Ze)), Ze.exports;
|
|
1170
1188
|
}
|
|
1171
|
-
r(
|
|
1172
|
-
var yt =
|
|
1173
|
-
const It = /* @__PURE__ */ hn(yt),
|
|
1174
|
-
if (t ===
|
|
1189
|
+
r(ci, "requireDayjs_min");
|
|
1190
|
+
var yt = ci();
|
|
1191
|
+
const It = /* @__PURE__ */ hn(yt), ui = "datetime", fi = "HH:mm:ss", Mt = "day", Nt = /* @__PURE__ */ new Set([B.RECENT_DAYS, B.EARLIER_DAYS]), Ht = /* @__PURE__ */ new Set([B.GT, B.LT, B.GTE, B.LTE]), di = /* @__PURE__ */ r((t, e, l) => {
|
|
1192
|
+
if (t === Ge.UNDEFINED || e === Ge.UNDEFINED || Nt.has(t) && Nt.has(e))
|
|
1175
1193
|
return l;
|
|
1176
1194
|
if (Ht.has(t)) {
|
|
1177
1195
|
if (Ht.has(e))
|
|
1178
1196
|
return l;
|
|
1179
|
-
if (e ===
|
|
1197
|
+
if (e === B.BETWEEN)
|
|
1180
1198
|
return [l, void 0];
|
|
1181
1199
|
}
|
|
1182
|
-
}, "DateTimeOnOperatorChangeValueConverter"),
|
|
1200
|
+
}, "DateTimeOnOperatorChangeValueConverter"), mi = /* @__PURE__ */ r((t, e) => {
|
|
1183
1201
|
if (e) {
|
|
1184
|
-
if (t ===
|
|
1202
|
+
if (t === B.BETWEEN) {
|
|
1185
1203
|
if (!Array.isArray(e) || e.length !== 2)
|
|
1186
1204
|
return;
|
|
1187
1205
|
const l = e[0];
|
|
@@ -1190,8 +1208,8 @@ const It = /* @__PURE__ */ hn(yt), si = "datetime", oi = "HH:mm:ss", Mt = "day",
|
|
|
1190
1208
|
}
|
|
1191
1209
|
if (Nt.has(t))
|
|
1192
1210
|
return e;
|
|
1193
|
-
if (t ===
|
|
1194
|
-
return yt.isDayjs(e) ? e.format(
|
|
1211
|
+
if (t === B.BEFORE_TODAY)
|
|
1212
|
+
return yt.isDayjs(e) ? e.format(fi) : void 0;
|
|
1195
1213
|
if (yt.isDayjs(e))
|
|
1196
1214
|
return e.valueOf();
|
|
1197
1215
|
}
|
|
@@ -1199,29 +1217,29 @@ const It = /* @__PURE__ */ hn(yt), si = "datetime", oi = "HH:mm:ss", Mt = "day",
|
|
|
1199
1217
|
function Tn(t) {
|
|
1200
1218
|
const e = j(6);
|
|
1201
1219
|
let l;
|
|
1202
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
1220
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [B.GT, B.LT, B.GTE, B.LTE, B.BETWEEN, B.TODAY, B.BEFORE_TODAY, B.TOMORROW, B.THIS_WEEK, B.NEXT_WEEK, B.LAST_WEEK, B.THIS_MONTH, B.LAST_MONTH, B.RECENT_DAYS, B.EARLIER_DAYS], e[0] = l) : l = e[0];
|
|
1203
1221
|
let n;
|
|
1204
1222
|
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => {
|
|
1205
1223
|
switch (a.operator) {
|
|
1206
|
-
case
|
|
1224
|
+
case B.BETWEEN: {
|
|
1207
1225
|
const {
|
|
1208
1226
|
placeholder: s,
|
|
1209
1227
|
...o
|
|
1210
1228
|
} = t.value || {};
|
|
1211
1229
|
return /* @__PURE__ */ c(dt.RangePicker, { value: a.value, onChange: a.setValue, ...o });
|
|
1212
1230
|
}
|
|
1213
|
-
case
|
|
1214
|
-
case
|
|
1215
|
-
case
|
|
1216
|
-
case
|
|
1217
|
-
case
|
|
1218
|
-
case
|
|
1219
|
-
case
|
|
1231
|
+
case B.TODAY:
|
|
1232
|
+
case B.TOMORROW:
|
|
1233
|
+
case B.THIS_WEEK:
|
|
1234
|
+
case B.NEXT_WEEK:
|
|
1235
|
+
case B.LAST_WEEK:
|
|
1236
|
+
case B.THIS_MONTH:
|
|
1237
|
+
case B.LAST_MONTH:
|
|
1220
1238
|
return null;
|
|
1221
|
-
case
|
|
1222
|
-
case
|
|
1239
|
+
case B.RECENT_DAYS:
|
|
1240
|
+
case B.EARLIER_DAYS:
|
|
1223
1241
|
return /* @__PURE__ */ c(tt, { value: a.value, min: 1, onChange: a.setValue, ...t.value });
|
|
1224
|
-
case
|
|
1242
|
+
case B.BEFORE_TODAY:
|
|
1225
1243
|
return /* @__PURE__ */ c(dt, { picker: "time", value: a.value, onChange: a.setValue, ...t.value });
|
|
1226
1244
|
default:
|
|
1227
1245
|
return /* @__PURE__ */ c(dt, { value: a.value, picker: "date", showNow: !1, onChange: a.setValue, ...t.value });
|
|
@@ -1232,8 +1250,8 @@ function Tn(t) {
|
|
|
1232
1250
|
const a = {
|
|
1233
1251
|
...t,
|
|
1234
1252
|
supportedOperators: l,
|
|
1235
|
-
onOperatorChangeValueConverter:
|
|
1236
|
-
conditionValueParser:
|
|
1253
|
+
onOperatorChangeValueConverter: di,
|
|
1254
|
+
conditionValueParser: mi,
|
|
1237
1255
|
valueInputRender: n
|
|
1238
1256
|
};
|
|
1239
1257
|
i = /* @__PURE__ */ c(Me, { ...a }), e[3] = t, e[4] = n, e[5] = i;
|
|
@@ -1348,26 +1366,26 @@ const at = class at {
|
|
|
1348
1366
|
};
|
|
1349
1367
|
r(at, "TypedComponentRegistry");
|
|
1350
1368
|
let it = at;
|
|
1351
|
-
const
|
|
1352
|
-
[
|
|
1353
|
-
[
|
|
1354
|
-
[
|
|
1355
|
-
[
|
|
1356
|
-
[
|
|
1357
|
-
[
|
|
1369
|
+
const hi = it.create([
|
|
1370
|
+
[ni, un],
|
|
1371
|
+
[ti, cn],
|
|
1372
|
+
[ii, fn],
|
|
1373
|
+
[ri, dn],
|
|
1374
|
+
[si, mn],
|
|
1375
|
+
[ui, Tn]
|
|
1358
1376
|
]);
|
|
1359
1377
|
function En(t) {
|
|
1360
1378
|
const e = j(2), {
|
|
1361
1379
|
type: l,
|
|
1362
1380
|
ref: n
|
|
1363
1381
|
} = t;
|
|
1364
|
-
Re(n,
|
|
1382
|
+
Re(n, Ti);
|
|
1365
1383
|
const i = `Unsupported filter type:[${l}]`;
|
|
1366
1384
|
let a;
|
|
1367
1385
|
return e[0] !== i ? (a = /* @__PURE__ */ c(Rn, { title: i, type: "warning", showIcon: !0 }), e[0] = i, e[1] = a) : a = e[1], a;
|
|
1368
1386
|
}
|
|
1369
1387
|
r(En, "FallbackFilter");
|
|
1370
|
-
function
|
|
1388
|
+
function Ti() {
|
|
1371
1389
|
return {
|
|
1372
1390
|
getValue() {
|
|
1373
1391
|
},
|
|
@@ -1375,20 +1393,20 @@ function di() {
|
|
|
1375
1393
|
}
|
|
1376
1394
|
};
|
|
1377
1395
|
}
|
|
1378
|
-
r(
|
|
1396
|
+
r(Ti, "_temp$8");
|
|
1379
1397
|
En.displayName = "FallbackFilter";
|
|
1380
|
-
const
|
|
1398
|
+
const Ei = {
|
|
1381
1399
|
flex: "auto",
|
|
1382
1400
|
width: "100%"
|
|
1383
1401
|
};
|
|
1384
1402
|
function pt(t) {
|
|
1385
1403
|
const e = j(10);
|
|
1386
1404
|
let l;
|
|
1387
|
-
e[0] !== t.type ? (l =
|
|
1405
|
+
e[0] !== t.type ? (l = hi.get(t.type) || En, e[0] = t.type, e[1] = l) : l = e[1];
|
|
1388
1406
|
const n = l;
|
|
1389
1407
|
let i;
|
|
1390
1408
|
e[2] !== t.value ? (i = {
|
|
1391
|
-
style:
|
|
1409
|
+
style: Ei,
|
|
1392
1410
|
...t.value
|
|
1393
1411
|
}, e[2] = t.value, e[3] = i) : i = e[3];
|
|
1394
1412
|
const a = i;
|
|
@@ -1403,10 +1421,10 @@ function pt(t) {
|
|
|
1403
1421
|
}
|
|
1404
1422
|
r(pt, "TypedFilter");
|
|
1405
1423
|
pt.displayName = "TypedFilter";
|
|
1406
|
-
const
|
|
1407
|
-
fullWidthItem:
|
|
1424
|
+
const _i = "_fullWidthItem_tosqa_1", Si = {
|
|
1425
|
+
fullWidthItem: _i
|
|
1408
1426
|
};
|
|
1409
|
-
function
|
|
1427
|
+
function Ci(t) {
|
|
1410
1428
|
const e = j(16);
|
|
1411
1429
|
let l, n;
|
|
1412
1430
|
e[0] !== t ? ({
|
|
@@ -1422,18 +1440,18 @@ function Ei(t) {
|
|
|
1422
1440
|
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ r(() => a(!0), "t0"), o = /* @__PURE__ */ r(() => a(!1), "t1"), u = {
|
|
1423
1441
|
width: "100%"
|
|
1424
1442
|
}, e[5] = s, e[6] = o, e[7] = u) : (s = e[5], o = e[6], u = e[7]);
|
|
1425
|
-
let f;
|
|
1426
|
-
e[8] !== n ? (f = /* @__PURE__ */ c(pt, { ...n }), e[8] = n, e[9] = f) : f = e[9];
|
|
1427
1443
|
let d;
|
|
1428
|
-
e[
|
|
1444
|
+
e[8] !== n ? (d = /* @__PURE__ */ c(pt, { ...n }), e[8] = n, e[9] = d) : d = e[9];
|
|
1445
|
+
let f;
|
|
1446
|
+
e[10] !== l || e[11] !== i ? (f = i && /* @__PURE__ */ c(Ee, { type: "dashed", shape: "circle", size: "small", onClick: l, icon: /* @__PURE__ */ c(Wn, {}) }), e[10] = l, e[11] = i, e[12] = f) : f = e[12];
|
|
1429
1447
|
let m;
|
|
1430
|
-
return e[13] !==
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
] }), e[13] =
|
|
1448
|
+
return e[13] !== d || e[14] !== f ? (m = /* @__PURE__ */ Z(Se, { onMouseOver: s, onMouseOut: o, style: u, className: Si.fullWidthItem, children: [
|
|
1449
|
+
d,
|
|
1450
|
+
f
|
|
1451
|
+
] }), e[13] = d, e[14] = f, e[15] = m) : m = e[15], m;
|
|
1434
1452
|
}
|
|
1435
|
-
r(
|
|
1436
|
-
const
|
|
1453
|
+
r(Ci, "RemovableTypedFilter");
|
|
1454
|
+
const vi = {
|
|
1437
1455
|
personalView: "个人视图",
|
|
1438
1456
|
sharedView: "共享视图",
|
|
1439
1457
|
view: {
|
|
@@ -1466,11 +1484,11 @@ const _i = {
|
|
|
1466
1484
|
saveButton: "保存",
|
|
1467
1485
|
cancelButton: "取消"
|
|
1468
1486
|
}
|
|
1469
|
-
}, Ut =
|
|
1487
|
+
}, Ut = vi;
|
|
1470
1488
|
function Oe() {
|
|
1471
1489
|
const [t, e] = X(Ut), l = Zt(
|
|
1472
1490
|
(n) => {
|
|
1473
|
-
e(
|
|
1491
|
+
e(yi(Ut, n));
|
|
1474
1492
|
},
|
|
1475
1493
|
[e]
|
|
1476
1494
|
);
|
|
@@ -1480,15 +1498,15 @@ function Oe() {
|
|
|
1480
1498
|
};
|
|
1481
1499
|
}
|
|
1482
1500
|
r(Oe, "useLocale");
|
|
1483
|
-
function
|
|
1501
|
+
function yi(t, e) {
|
|
1484
1502
|
const l = Object.fromEntries(
|
|
1485
1503
|
// Object.entries把对象转成[key, value]数组,再过滤掉value=undefined的项
|
|
1486
1504
|
Object.entries(e).filter(([, n]) => n !== void 0)
|
|
1487
1505
|
);
|
|
1488
1506
|
return Object.assign({}, t, l);
|
|
1489
1507
|
}
|
|
1490
|
-
r(
|
|
1491
|
-
const
|
|
1508
|
+
r(yi, "mergeWithAssign");
|
|
1509
|
+
const Ii = {
|
|
1492
1510
|
gutter: [8, 8],
|
|
1493
1511
|
wrap: !0
|
|
1494
1512
|
}, _n = {
|
|
@@ -1498,9 +1516,9 @@ const Ci = {
|
|
|
1498
1516
|
md: 12,
|
|
1499
1517
|
sm: 24,
|
|
1500
1518
|
xs: 24
|
|
1501
|
-
},
|
|
1519
|
+
}, Ni = _n;
|
|
1502
1520
|
function Sn(t) {
|
|
1503
|
-
const e = j(
|
|
1521
|
+
const e = j(47), {
|
|
1504
1522
|
ref: l,
|
|
1505
1523
|
row: n,
|
|
1506
1524
|
col: i,
|
|
@@ -1508,88 +1526,92 @@ function Sn(t) {
|
|
|
1508
1526
|
filters: s,
|
|
1509
1527
|
onSearch: o,
|
|
1510
1528
|
actions: u,
|
|
1511
|
-
resetButton:
|
|
1512
|
-
searchButton:
|
|
1513
|
-
} = t, m = n === void 0 ?
|
|
1529
|
+
resetButton: d,
|
|
1530
|
+
searchButton: f
|
|
1531
|
+
} = t, m = n === void 0 ? Ii : n, h = i === void 0 ? _n : i, T = a === void 0 ? Ni : a, E = gn(), {
|
|
1514
1532
|
locale: y
|
|
1515
1533
|
} = Oe();
|
|
1516
|
-
let L;
|
|
1517
|
-
e[0] !== E ? (L = /* @__PURE__ */ r(() => {
|
|
1518
|
-
const C = Array.from(E.values()).map(yi).filter(Boolean);
|
|
1519
|
-
return lt(...C);
|
|
1520
|
-
}, "t3"), e[0] = E, e[1] = L) : L = e[1];
|
|
1521
|
-
const O = L;
|
|
1522
1534
|
let b;
|
|
1523
|
-
e[
|
|
1535
|
+
e[0] !== E ? (b = /* @__PURE__ */ r(() => {
|
|
1536
|
+
const V = Array.from(E.values()).map(pi).filter(Boolean);
|
|
1537
|
+
return lt(...V);
|
|
1538
|
+
}, "t3"), e[0] = E, e[1] = b) : b = e[1];
|
|
1539
|
+
const w = b;
|
|
1540
|
+
let A;
|
|
1541
|
+
e[2] !== w || e[3] !== o ? (A = /* @__PURE__ */ r(() => {
|
|
1524
1542
|
if (!o)
|
|
1525
1543
|
return;
|
|
1526
|
-
const
|
|
1527
|
-
o(
|
|
1528
|
-
}, "t4"), e[2] =
|
|
1529
|
-
const
|
|
1530
|
-
let P;
|
|
1531
|
-
e[5] !== E ? (P = /* @__PURE__ */ r(() => {
|
|
1532
|
-
for (const C of E.values())
|
|
1533
|
-
C.reset();
|
|
1534
|
-
}, "t5"), e[5] = E, e[6] = P) : P = e[6];
|
|
1535
|
-
const w = P;
|
|
1544
|
+
const V = w();
|
|
1545
|
+
o(V);
|
|
1546
|
+
}, "t4"), e[2] = w, e[3] = o, e[4] = A) : A = e[4];
|
|
1547
|
+
const R = A;
|
|
1536
1548
|
let x;
|
|
1537
|
-
e[
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
}
|
|
1541
|
-
const
|
|
1542
|
-
let k;
|
|
1543
|
-
e[10] !== f ? (k = typeof f == "object" ? f : {}, e[10] = f, e[11] = k) : k = e[11];
|
|
1544
|
-
const U = k;
|
|
1549
|
+
e[5] !== E ? (x = /* @__PURE__ */ r(() => {
|
|
1550
|
+
for (const V of E.values())
|
|
1551
|
+
V.reset();
|
|
1552
|
+
}, "t5"), e[5] = E, e[6] = x) : x = e[6];
|
|
1553
|
+
const D = x;
|
|
1545
1554
|
let F;
|
|
1546
|
-
e[
|
|
1555
|
+
e[7] !== D || e[8] !== R ? (F = /* @__PURE__ */ r(() => ({
|
|
1556
|
+
search: R,
|
|
1557
|
+
reset: D
|
|
1558
|
+
}), "t6"), e[7] = D, e[8] = R, e[9] = F) : F = e[9], Re(l, F);
|
|
1559
|
+
let $;
|
|
1560
|
+
e[10] !== R ? ($ = /* @__PURE__ */ r((V) => {
|
|
1561
|
+
V.key === "Enter" && R();
|
|
1562
|
+
}, "t7"), e[10] = R, e[11] = $) : $ = e[11];
|
|
1563
|
+
const H = $, U = d !== !1;
|
|
1564
|
+
let P;
|
|
1565
|
+
e[12] !== d ? (P = typeof d == "object" ? d : {}, e[12] = d, e[13] = P) : P = e[13];
|
|
1566
|
+
const L = P;
|
|
1567
|
+
let W;
|
|
1568
|
+
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = {
|
|
1547
1569
|
maxHeight: "128px",
|
|
1548
1570
|
overflowY: "auto"
|
|
1549
|
-
}, e[
|
|
1550
|
-
let
|
|
1551
|
-
if (e[
|
|
1552
|
-
let
|
|
1553
|
-
e[
|
|
1571
|
+
}, e[14] = W) : W = e[14];
|
|
1572
|
+
let k;
|
|
1573
|
+
if (e[15] !== h || e[16] !== E || e[17] !== s) {
|
|
1574
|
+
let V;
|
|
1575
|
+
e[19] !== h || e[20] !== E ? (V = /* @__PURE__ */ r((M) => /* @__PURE__ */ Dt(St, { ...h, key: M.key }, /* @__PURE__ */ Dt(Ci, { ...M, key: M.key, ref: E.register(M.key) })), "t112"), e[19] = h, e[20] = E, e[21] = V) : V = e[21], k = s.map(V), e[15] = h, e[16] = E, e[17] = s, e[18] = k;
|
|
1554
1576
|
} else
|
|
1555
|
-
|
|
1556
|
-
let Y;
|
|
1557
|
-
e[20] !== m || e[21] !== A ? (Y = /* @__PURE__ */ c(_t, { style: F, ...m, children: A }), e[20] = m, e[21] = A, e[22] = Y) : Y = e[22];
|
|
1558
|
-
let $;
|
|
1559
|
-
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = {
|
|
1560
|
-
marginTop: "16px"
|
|
1561
|
-
}, e[23] = $) : $ = e[23];
|
|
1577
|
+
k = e[18];
|
|
1562
1578
|
let I;
|
|
1563
|
-
e[24]
|
|
1564
|
-
textAlign: "right"
|
|
1565
|
-
}, e[24] = I) : I = e[24];
|
|
1579
|
+
e[22] !== H || e[23] !== m || e[24] !== k ? (I = /* @__PURE__ */ c(_t, { style: W, onKeyDown: H, ...m, children: k }), e[22] = H, e[23] = m, e[24] = k, e[25] = I) : I = e[25];
|
|
1566
1580
|
let _;
|
|
1567
|
-
e[
|
|
1581
|
+
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = {
|
|
1582
|
+
marginTop: "16px"
|
|
1583
|
+
}, e[26] = _) : _ = e[26];
|
|
1568
1584
|
let S;
|
|
1569
|
-
e[
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1585
|
+
e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = {
|
|
1586
|
+
textAlign: "right"
|
|
1587
|
+
}, e[27] = S) : S = e[27];
|
|
1588
|
+
let N;
|
|
1589
|
+
e[28] !== D || e[29] !== L || e[30] !== U ? (N = U && /* @__PURE__ */ c(Ee, { icon: /* @__PURE__ */ c(Kn, {}), onClick: D, ...L, children: L?.children || "Reset" }), e[28] = D, e[29] = L, e[30] = U, e[31] = N) : N = e[31];
|
|
1590
|
+
let C;
|
|
1591
|
+
e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ c(Gn, {}), e[32] = C) : C = e[32];
|
|
1592
|
+
const p = f?.children || y.filterPanel?.searchButtonTitle || "Search";
|
|
1593
|
+
let O;
|
|
1594
|
+
e[33] !== R || e[34] !== f || e[35] !== p ? (O = /* @__PURE__ */ c(Ee, { type: "primary", icon: C, onClick: R, ...f, children: p }), e[33] = R, e[34] = f, e[35] = p, e[36] = O) : O = e[36];
|
|
1595
|
+
let z;
|
|
1596
|
+
e[37] !== u || e[38] !== N || e[39] !== O ? (z = /* @__PURE__ */ Z(Se.Compact, { children: [
|
|
1575
1597
|
u,
|
|
1576
|
-
|
|
1598
|
+
N,
|
|
1599
|
+
O
|
|
1600
|
+
] }), e[37] = u, e[38] = N, e[39] = O, e[40] = z) : z = e[40];
|
|
1601
|
+
let v;
|
|
1602
|
+
e[41] !== T || e[42] !== z ? (v = /* @__PURE__ */ c(_t, { justify: "end", style: _, children: /* @__PURE__ */ c(St, { style: S, ...T, children: z }) }), e[41] = T, e[42] = z, e[43] = v) : v = e[43];
|
|
1603
|
+
let g;
|
|
1604
|
+
return e[44] !== I || e[45] !== v ? (g = /* @__PURE__ */ Z(_e, { children: [
|
|
1605
|
+
I,
|
|
1577
1606
|
v
|
|
1578
|
-
] }), e[
|
|
1579
|
-
let R;
|
|
1580
|
-
e[38] !== T || e[39] !== p ? (R = /* @__PURE__ */ c(_t, { justify: "end", style: $, children: /* @__PURE__ */ c(St, { style: I, ...T, children: p }) }), e[38] = T, e[39] = p, e[40] = R) : R = e[40];
|
|
1581
|
-
let H;
|
|
1582
|
-
return e[41] !== Y || e[42] !== R ? (H = /* @__PURE__ */ Z(_e, { children: [
|
|
1583
|
-
Y,
|
|
1584
|
-
R
|
|
1585
|
-
] }), e[41] = Y, e[42] = R, e[43] = H) : H = e[43], H;
|
|
1607
|
+
] }), e[44] = I, e[45] = v, e[46] = g) : g = e[46], g;
|
|
1586
1608
|
}
|
|
1587
1609
|
r(Sn, "FilterPanel");
|
|
1588
|
-
function
|
|
1610
|
+
function pi(t) {
|
|
1589
1611
|
return t?.getValue()?.condition;
|
|
1590
1612
|
}
|
|
1591
|
-
r(
|
|
1592
|
-
function
|
|
1613
|
+
r(pi, "_temp$7");
|
|
1614
|
+
function Ai(t) {
|
|
1593
1615
|
const e = j(35), {
|
|
1594
1616
|
ref: l,
|
|
1595
1617
|
row: n,
|
|
@@ -1598,61 +1620,61 @@ function Ii(t) {
|
|
|
1598
1620
|
filters: s,
|
|
1599
1621
|
resetButton: o,
|
|
1600
1622
|
onSearch: u,
|
|
1601
|
-
onChange:
|
|
1602
|
-
} = t, [
|
|
1623
|
+
onChange: d
|
|
1624
|
+
} = t, [f, m] = X(s), [h, T] = X(!1), {
|
|
1603
1625
|
locale: E
|
|
1604
1626
|
} = Oe();
|
|
1605
1627
|
let y;
|
|
1606
|
-
e[0] !==
|
|
1628
|
+
e[0] !== f || e[1] !== d ? (y = /* @__PURE__ */ r((_) => {
|
|
1607
1629
|
if (_.length === 0) {
|
|
1608
1630
|
T(!1);
|
|
1609
1631
|
return;
|
|
1610
1632
|
}
|
|
1611
|
-
const S = _.map(
|
|
1612
|
-
m(N),
|
|
1613
|
-
}, "t0"), e[0] =
|
|
1614
|
-
const
|
|
1615
|
-
let
|
|
1616
|
-
e[3] !==
|
|
1617
|
-
const S =
|
|
1618
|
-
m(S),
|
|
1619
|
-
}, "t1"), e[3] =
|
|
1620
|
-
const
|
|
1621
|
-
let
|
|
1622
|
-
if (e[6] !==
|
|
1633
|
+
const S = _.map(Li), N = [...f, ...S];
|
|
1634
|
+
m(N), d && d(N), T(!1);
|
|
1635
|
+
}, "t0"), e[0] = f, e[1] = d, e[2] = y) : y = e[2];
|
|
1636
|
+
const b = y;
|
|
1637
|
+
let w;
|
|
1638
|
+
e[3] !== f || e[4] !== d ? (w = /* @__PURE__ */ r((_) => {
|
|
1639
|
+
const S = f.filter((N) => N.key !== _);
|
|
1640
|
+
m(S), d && d(S);
|
|
1641
|
+
}, "t1"), e[3] = f, e[4] = d, e[5] = w) : w = e[5];
|
|
1642
|
+
const A = w;
|
|
1643
|
+
let R;
|
|
1644
|
+
if (e[6] !== f || e[7] !== A) {
|
|
1623
1645
|
let _;
|
|
1624
|
-
e[9] !==
|
|
1646
|
+
e[9] !== A ? (_ = /* @__PURE__ */ r((S) => ({
|
|
1625
1647
|
...S,
|
|
1626
|
-
onRemove: /* @__PURE__ */ r(() =>
|
|
1627
|
-
}), "t32"), e[9] =
|
|
1648
|
+
onRemove: /* @__PURE__ */ r(() => A(S.key), "onRemove")
|
|
1649
|
+
}), "t32"), e[9] = A, e[10] = _) : _ = e[10], R = f.map(_), e[6] = f, e[7] = A, e[8] = R;
|
|
1628
1650
|
} else
|
|
1629
|
-
|
|
1630
|
-
const
|
|
1631
|
-
let
|
|
1632
|
-
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1633
|
-
const
|
|
1634
|
-
let
|
|
1635
|
-
e[13] !==
|
|
1651
|
+
R = e[8];
|
|
1652
|
+
const x = R;
|
|
1653
|
+
let D, F;
|
|
1654
|
+
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ r(() => T(!0), "t3"), F = /* @__PURE__ */ c(Jt, {}), e[11] = D, e[12] = F) : (D = e[11], F = e[12]);
|
|
1655
|
+
const $ = E.filterPanel?.addFilterTitle || "Add Filter";
|
|
1656
|
+
let H;
|
|
1657
|
+
e[13] !== $ ? (H = /* @__PURE__ */ c(Ee, { onClick: D, icon: F, children: $ }), e[13] = $, e[14] = H) : H = e[14];
|
|
1636
1658
|
let U;
|
|
1637
|
-
e[15] !== i || e[16] !==
|
|
1638
|
-
const
|
|
1639
|
-
let
|
|
1640
|
-
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1641
|
-
let
|
|
1642
|
-
e[24] !==
|
|
1659
|
+
e[15] !== i || e[16] !== x || e[17] !== u || e[18] !== l || e[19] !== o || e[20] !== n || e[21] !== H ? (U = /* @__PURE__ */ c(Sn, { ref: l, filters: x, onSearch: u, actions: H, resetButton: o, row: n, col: i }), e[15] = i, e[16] = x, e[17] = u, e[18] = l, e[19] = o, e[20] = n, e[21] = H, e[22] = U) : U = e[22];
|
|
1660
|
+
const P = E.filterPanel?.addFilterTitle || "Add Filter";
|
|
1661
|
+
let L;
|
|
1662
|
+
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ r(() => T(!1), "t9"), e[23] = L) : L = e[23];
|
|
1663
|
+
let W;
|
|
1664
|
+
e[24] !== f || e[25] !== a ? (W = {
|
|
1643
1665
|
filters: a,
|
|
1644
|
-
activeFilters:
|
|
1645
|
-
}, e[24] =
|
|
1646
|
-
let
|
|
1647
|
-
e[27] !==
|
|
1666
|
+
activeFilters: f
|
|
1667
|
+
}, e[24] = f, e[25] = a, e[26] = W) : W = e[26];
|
|
1668
|
+
let k;
|
|
1669
|
+
e[27] !== b || e[28] !== h || e[29] !== W || e[30] !== P ? (k = /* @__PURE__ */ c(Kl, { title: P, open: h, onCancel: L, onSave: b, availableFilters: W }), e[27] = b, e[28] = h, e[29] = W, e[30] = P, e[31] = k) : k = e[31];
|
|
1648
1670
|
let I;
|
|
1649
|
-
return e[32] !==
|
|
1671
|
+
return e[32] !== k || e[33] !== U ? (I = /* @__PURE__ */ Z(_e, { children: [
|
|
1650
1672
|
U,
|
|
1651
|
-
|
|
1652
|
-
] }), e[32] =
|
|
1673
|
+
k
|
|
1674
|
+
] }), e[32] = k, e[33] = U, e[34] = I) : I = e[34], I;
|
|
1653
1675
|
}
|
|
1654
|
-
r(
|
|
1655
|
-
function
|
|
1676
|
+
r(Ai, "EditableFilterPanel");
|
|
1677
|
+
function Li(t) {
|
|
1656
1678
|
return {
|
|
1657
1679
|
key: t.key,
|
|
1658
1680
|
type: t.component,
|
|
@@ -1662,8 +1684,8 @@ function Ni(t) {
|
|
|
1662
1684
|
attributes: t.attributes
|
|
1663
1685
|
};
|
|
1664
1686
|
}
|
|
1665
|
-
r(
|
|
1666
|
-
const
|
|
1687
|
+
r(Li, "_temp$6");
|
|
1688
|
+
const bi = "REFRESH_DATA_EVENTS", Ri = new ul(bi), Ue = new fl({ delegate: Ri });
|
|
1667
1689
|
function Ot() {
|
|
1668
1690
|
const t = /* @__PURE__ */ r(() => Ue.emit("REFRESH"), "publish"), e = /* @__PURE__ */ r((l) => Ue.on(l), "subscribe");
|
|
1669
1691
|
return Ae(() => () => {
|
|
@@ -1677,7 +1699,7 @@ function Ot() {
|
|
|
1677
1699
|
};
|
|
1678
1700
|
}
|
|
1679
1701
|
r(Ot, "useRefreshDataEventBus");
|
|
1680
|
-
const Cn =
|
|
1702
|
+
const Cn = ke();
|
|
1681
1703
|
function vn({
|
|
1682
1704
|
defaultPage: t = 1,
|
|
1683
1705
|
defaultPageSize: e = 10,
|
|
@@ -1686,37 +1708,37 @@ function vn({
|
|
|
1686
1708
|
defaultSorter: i = [],
|
|
1687
1709
|
...a
|
|
1688
1710
|
}) {
|
|
1689
|
-
const { defaultColumns: s, defaultActiveFilters: o } = a, [u,
|
|
1711
|
+
const { defaultColumns: s, defaultActiveFilters: o } = a, [u, d] = X(s), [f, m] = X(o), [h, T] = X(t), [E, y] = X(e), [b, w] = X(l), [A, R] = X(i), [x, D] = X(n);
|
|
1690
1712
|
return {
|
|
1691
1713
|
columns: u,
|
|
1692
|
-
setColumns: /* @__PURE__ */ r((
|
|
1693
|
-
|
|
1714
|
+
setColumns: /* @__PURE__ */ r((L) => {
|
|
1715
|
+
d(L.map((W) => ({ ...W })));
|
|
1694
1716
|
}, "setColumnsFn"),
|
|
1695
|
-
activeFilters:
|
|
1696
|
-
setActiveFilters: /* @__PURE__ */ r((
|
|
1697
|
-
m(
|
|
1717
|
+
activeFilters: f,
|
|
1718
|
+
setActiveFilters: /* @__PURE__ */ r((L) => {
|
|
1719
|
+
m(L.map((W) => ({ ...W })));
|
|
1698
1720
|
}, "setActiveFiltersFn"),
|
|
1699
1721
|
page: h,
|
|
1700
1722
|
setPage: T,
|
|
1701
1723
|
pageSize: E,
|
|
1702
1724
|
setPageSize: y,
|
|
1703
|
-
condition:
|
|
1704
|
-
setCondition: /* @__PURE__ */ r((
|
|
1705
|
-
|
|
1725
|
+
condition: x,
|
|
1726
|
+
setCondition: /* @__PURE__ */ r((L) => {
|
|
1727
|
+
D({ ...L });
|
|
1706
1728
|
}, "setConditionFn"),
|
|
1707
|
-
sorter:
|
|
1708
|
-
setSorter: /* @__PURE__ */ r((
|
|
1709
|
-
|
|
1729
|
+
sorter: A,
|
|
1730
|
+
setSorter: /* @__PURE__ */ r((L) => {
|
|
1731
|
+
R(L.map((W) => ({ ...W })));
|
|
1710
1732
|
}, "setSorterFn"),
|
|
1711
|
-
tableSize:
|
|
1712
|
-
setTableSize:
|
|
1733
|
+
tableSize: b,
|
|
1734
|
+
setTableSize: w,
|
|
1713
1735
|
reset: /* @__PURE__ */ r(() => {
|
|
1714
|
-
|
|
1736
|
+
d(s), m(o), T(t), y(e), D(n), R(i), w(l);
|
|
1715
1737
|
}, "resetFn")
|
|
1716
1738
|
};
|
|
1717
1739
|
}
|
|
1718
1740
|
r(vn, "useActiveViewState");
|
|
1719
|
-
const
|
|
1741
|
+
const Oi = "action";
|
|
1720
1742
|
function zt(t) {
|
|
1721
1743
|
return typeof t.data == "object" && typeof t.data.value == "string" && typeof t.data.record == "object" && typeof t.data.index == "number" && (t.attributes === void 0 || typeof t.attributes == "object");
|
|
1722
1744
|
}
|
|
@@ -1739,8 +1761,8 @@ function Ye(t) {
|
|
|
1739
1761
|
return e[4] !== n || e[5] !== l.value || e[6] !== i ? (s = /* @__PURE__ */ c(Ee, { type: "link", ...n, onClick: i, style: a, children: l.value }), e[4] = n, e[5] = l.value, e[6] = i, e[7] = s) : s = e[7], s;
|
|
1740
1762
|
}
|
|
1741
1763
|
r(Ye, "ActionCell");
|
|
1742
|
-
const
|
|
1743
|
-
function
|
|
1764
|
+
const Di = "actions";
|
|
1765
|
+
function wi(t) {
|
|
1744
1766
|
const {
|
|
1745
1767
|
data: e
|
|
1746
1768
|
} = t;
|
|
@@ -1763,28 +1785,28 @@ function Ri(t) {
|
|
|
1763
1785
|
] }) }) })
|
|
1764
1786
|
] }) : /* @__PURE__ */ c(_e, { children: zt(e.value.primaryAction) ? /* @__PURE__ */ c(Ye, { ...e.value.primaryAction }) : /* @__PURE__ */ c(_e, { children: e.value.primaryAction(e.record) }) });
|
|
1765
1787
|
}
|
|
1766
|
-
r(
|
|
1788
|
+
r(wi, "renderActions");
|
|
1767
1789
|
function yn(t) {
|
|
1768
|
-
return
|
|
1790
|
+
return wi(t);
|
|
1769
1791
|
}
|
|
1770
1792
|
r(yn, "ActionsCell");
|
|
1771
|
-
function
|
|
1793
|
+
function Fi(t) {
|
|
1772
1794
|
return It.isDayjs(t) ? t : It(t);
|
|
1773
1795
|
}
|
|
1774
|
-
r(
|
|
1775
|
-
function
|
|
1796
|
+
r(Fi, "parseDayjs");
|
|
1797
|
+
function Pi(t) {
|
|
1776
1798
|
return t == null;
|
|
1777
1799
|
}
|
|
1778
|
-
r(
|
|
1779
|
-
function
|
|
1800
|
+
r(Pi, "isNullOrUndefined");
|
|
1801
|
+
function xi(t) {
|
|
1780
1802
|
if (typeof t != "string" || t.trim() === "")
|
|
1781
1803
|
return !1;
|
|
1782
1804
|
const e = t.trim().toLowerCase();
|
|
1783
1805
|
return e.startsWith("http://") || e.startsWith("https://") || t.trim().startsWith("/") ? !0 : e.startsWith("data:image/") ? /^data:image\/[a-z]+(;[a-z0-9]+)?,/i.test(t.trim()) : !1;
|
|
1784
1806
|
}
|
|
1785
|
-
r(
|
|
1786
|
-
const
|
|
1787
|
-
function
|
|
1807
|
+
r(xi, "isValidImageSrc");
|
|
1808
|
+
const $i = "avatar";
|
|
1809
|
+
function ki(t) {
|
|
1788
1810
|
const e = j(10), {
|
|
1789
1811
|
data: l,
|
|
1790
1812
|
attributes: n
|
|
@@ -1796,35 +1818,35 @@ function Pi(t) {
|
|
|
1796
1818
|
let o;
|
|
1797
1819
|
return e[2] !== a ? (o = /* @__PURE__ */ c(mt, { ...a }), e[2] = a, e[3] = o) : o = e[3], o;
|
|
1798
1820
|
}
|
|
1799
|
-
if (
|
|
1821
|
+
if (xi(l.value)) {
|
|
1800
1822
|
let o;
|
|
1801
1823
|
return e[4] !== a || e[5] !== l.value ? (o = /* @__PURE__ */ c(mt, { src: l.value, ...a }), e[4] = a, e[5] = l.value, e[6] = o) : o = e[6], o;
|
|
1802
1824
|
}
|
|
1803
1825
|
let s;
|
|
1804
1826
|
return e[7] !== a || e[8] !== l.value ? (s = /* @__PURE__ */ c(mt, { ...a, children: l.value }), e[7] = a, e[8] = l.value, e[9] = s) : s = e[9], s;
|
|
1805
1827
|
}
|
|
1806
|
-
r(
|
|
1807
|
-
var Je = { exports: {} },
|
|
1808
|
-
function
|
|
1828
|
+
r(ki, "AvatarCell");
|
|
1829
|
+
var Je = { exports: {} }, Vi = Je.exports, gt;
|
|
1830
|
+
function Mi() {
|
|
1809
1831
|
return gt || (gt = 1, (function(t, e) {
|
|
1810
1832
|
(function(l, n) {
|
|
1811
1833
|
t.exports = n();
|
|
1812
|
-
})(
|
|
1834
|
+
})(Vi, (function() {
|
|
1813
1835
|
return function(l, n, i) {
|
|
1814
1836
|
var a = "h:mm A", s = { lastDay: "[Yesterday at] " + a, sameDay: "[Today at] " + a, nextDay: "[Tomorrow at] " + a, nextWeek: "dddd [at] " + a, lastWeek: "[Last] dddd [at] " + a, sameElse: "MM/DD/YYYY" };
|
|
1815
1837
|
n.prototype.calendar = function(o, u) {
|
|
1816
|
-
var
|
|
1838
|
+
var d = u || this.$locale().calendar || s, f = i(o || void 0).startOf("d"), m = this.diff(f, "d", !0), h = "sameElse", T = m < -6 ? h : m < -1 ? "lastWeek" : m < 0 ? "lastDay" : m < 1 ? "sameDay" : m < 2 ? "nextDay" : m < 7 ? "nextWeek" : h, E = d[T] || s[T];
|
|
1817
1839
|
return typeof E == "function" ? E.call(this, i()) : this.format(E);
|
|
1818
1840
|
};
|
|
1819
1841
|
};
|
|
1820
1842
|
}));
|
|
1821
1843
|
})(Je)), Je.exports;
|
|
1822
1844
|
}
|
|
1823
|
-
r(
|
|
1824
|
-
var
|
|
1825
|
-
const
|
|
1845
|
+
r(Mi, "requireCalendar");
|
|
1846
|
+
var Hi = Mi();
|
|
1847
|
+
const Ui = /* @__PURE__ */ hn(Hi), {
|
|
1826
1848
|
Text: Xe
|
|
1827
|
-
} = qe,
|
|
1849
|
+
} = qe, zi = "datetime", et = "YYYY-MM-DD HH:mm:ss";
|
|
1828
1850
|
function In(t) {
|
|
1829
1851
|
const e = j(10), {
|
|
1830
1852
|
data: l,
|
|
@@ -1834,15 +1856,15 @@ function In(t) {
|
|
|
1834
1856
|
if (e[0] !== l.value || e[1] !== n) {
|
|
1835
1857
|
o = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
1836
1858
|
e: {
|
|
1837
|
-
const
|
|
1838
|
-
format:
|
|
1859
|
+
const d = n === void 0 ? {} : n, {
|
|
1860
|
+
format: f,
|
|
1839
1861
|
...m
|
|
1840
|
-
} =
|
|
1862
|
+
} = d, h = f === void 0 ? et : f;
|
|
1841
1863
|
if (!l.value) {
|
|
1842
1864
|
o = /* @__PURE__ */ c(Xe, { ...m, children: "-" });
|
|
1843
1865
|
break e;
|
|
1844
1866
|
}
|
|
1845
|
-
const T =
|
|
1867
|
+
const T = Fi(l.value);
|
|
1846
1868
|
if (!T.isValid()) {
|
|
1847
1869
|
o = /* @__PURE__ */ c(Xe, { ...m, children: "-" });
|
|
1848
1870
|
break e;
|
|
@@ -1862,8 +1884,8 @@ function In(t) {
|
|
|
1862
1884
|
return e[6] !== i || e[7] !== a || e[8] !== s ? (u = /* @__PURE__ */ c(i, { ...a, children: s }), e[6] = i, e[7] = a, e[8] = s, e[9] = u) : u = e[9], u;
|
|
1863
1885
|
}
|
|
1864
1886
|
r(In, "DateTimeCell");
|
|
1865
|
-
It.extend(
|
|
1866
|
-
const
|
|
1887
|
+
It.extend(Ui);
|
|
1888
|
+
const gi = "calendar-time", Bi = {
|
|
1867
1889
|
sameDay: "[今天] HH:mm",
|
|
1868
1890
|
nextDay: "[明天] HH:mm",
|
|
1869
1891
|
lastDay: "[昨天] HH:mm",
|
|
@@ -1871,7 +1893,7 @@ const Hi = "calendar-time", Ui = {
|
|
|
1871
1893
|
lastWeek: et,
|
|
1872
1894
|
sameElse: et
|
|
1873
1895
|
};
|
|
1874
|
-
function
|
|
1896
|
+
function Yi(t) {
|
|
1875
1897
|
const e = j(13), {
|
|
1876
1898
|
data: l,
|
|
1877
1899
|
attributes: n
|
|
@@ -1884,29 +1906,29 @@ function zi(t) {
|
|
|
1884
1906
|
formats: s,
|
|
1885
1907
|
...o
|
|
1886
1908
|
} = a, e[2] = a, e[3] = s, e[4] = o) : (s = e[3], o = e[4]);
|
|
1887
|
-
const u = s === void 0 ?
|
|
1888
|
-
let
|
|
1889
|
-
e[5] !== u ? (
|
|
1890
|
-
const
|
|
1909
|
+
const u = s === void 0 ? Bi : s;
|
|
1910
|
+
let d;
|
|
1911
|
+
e[5] !== u ? (d = /* @__PURE__ */ r((T) => T.calendar(null, u), "t3"), e[5] = u, e[6] = d) : d = e[6];
|
|
1912
|
+
const f = d;
|
|
1891
1913
|
let m;
|
|
1892
|
-
e[7] !==
|
|
1893
|
-
format:
|
|
1914
|
+
e[7] !== f || e[8] !== o ? (m = {
|
|
1915
|
+
format: f,
|
|
1894
1916
|
...o
|
|
1895
|
-
}, e[7] =
|
|
1917
|
+
}, e[7] = f, e[8] = o, e[9] = m) : m = e[9];
|
|
1896
1918
|
let h;
|
|
1897
1919
|
return e[10] !== l || e[11] !== m ? (h = /* @__PURE__ */ c(In, { data: l, attributes: m }), e[10] = l, e[11] = m, e[12] = h) : h = e[12], h;
|
|
1898
1920
|
}
|
|
1899
|
-
r(
|
|
1921
|
+
r(Yi, "CalendarTimeCell");
|
|
1900
1922
|
const {
|
|
1901
|
-
Text:
|
|
1902
|
-
} = qe,
|
|
1923
|
+
Text: Wi
|
|
1924
|
+
} = qe, Ki = "text";
|
|
1903
1925
|
function Nn(t) {
|
|
1904
1926
|
const e = j(3), l = t.attributes?.children ?? (t.data.value || "-");
|
|
1905
1927
|
let n;
|
|
1906
|
-
return e[0] !== t.attributes || e[1] !== l ? (n = /* @__PURE__ */ c(
|
|
1928
|
+
return e[0] !== t.attributes || e[1] !== l ? (n = /* @__PURE__ */ c(Wi, { ...t.attributes, children: l }), e[0] = t.attributes, e[1] = l, e[2] = n) : n = e[2], n;
|
|
1907
1929
|
}
|
|
1908
1930
|
r(Nn, "TextCell");
|
|
1909
|
-
const
|
|
1931
|
+
const Gi = "tag";
|
|
1910
1932
|
function pn(t) {
|
|
1911
1933
|
const e = j(3), {
|
|
1912
1934
|
data: l,
|
|
@@ -1919,8 +1941,8 @@ function pn(t) {
|
|
|
1919
1941
|
return e[0] !== n || e[1] !== i ? (a = /* @__PURE__ */ c(Lt, { ...n, children: i }), e[0] = n, e[1] = i, e[2] = a) : a = e[2], a;
|
|
1920
1942
|
}
|
|
1921
1943
|
r(pn, "TagCell");
|
|
1922
|
-
const
|
|
1923
|
-
function
|
|
1944
|
+
const ji = "tags";
|
|
1945
|
+
function qi(t) {
|
|
1924
1946
|
const e = j(14), {
|
|
1925
1947
|
space: l,
|
|
1926
1948
|
data: n,
|
|
@@ -1933,23 +1955,23 @@ function Gi(t) {
|
|
|
1933
1955
|
return null;
|
|
1934
1956
|
let o;
|
|
1935
1957
|
if (e[2] !== s || e[3] !== n.index || e[4] !== n.record || e[5] !== n.value) {
|
|
1936
|
-
let
|
|
1937
|
-
e[7] !== s || e[8] !== n.index || e[9] !== n.record ? (
|
|
1938
|
-
const h = s[
|
|
1958
|
+
let d;
|
|
1959
|
+
e[7] !== s || e[8] !== n.index || e[9] !== n.record ? (d = /* @__PURE__ */ r((f, m) => {
|
|
1960
|
+
const h = s[f];
|
|
1939
1961
|
return /* @__PURE__ */ c(pn, { data: {
|
|
1940
|
-
value:
|
|
1962
|
+
value: f,
|
|
1941
1963
|
record: n.record,
|
|
1942
1964
|
index: n.index
|
|
1943
1965
|
}, attributes: h }, m);
|
|
1944
|
-
}, "t32"), e[7] = s, e[8] = n.index, e[9] = n.record, e[10] =
|
|
1966
|
+
}, "t32"), e[7] = s, e[8] = n.index, e[9] = n.record, e[10] = d) : d = e[10], o = n.value.map(d), e[2] = s, e[3] = n.index, e[4] = n.record, e[5] = n.value, e[6] = o;
|
|
1945
1967
|
} else
|
|
1946
1968
|
o = e[6];
|
|
1947
1969
|
let u;
|
|
1948
1970
|
return e[11] !== l || e[12] !== o ? (u = /* @__PURE__ */ c(Se, { ...l, children: o }), e[11] = l, e[12] = o, e[13] = u) : u = e[13], u;
|
|
1949
1971
|
}
|
|
1950
|
-
r(
|
|
1951
|
-
const
|
|
1952
|
-
function
|
|
1972
|
+
r(qi, "TagsCell");
|
|
1973
|
+
const Qi = "image";
|
|
1974
|
+
function Xi(t) {
|
|
1953
1975
|
const e = j(6), {
|
|
1954
1976
|
data: l,
|
|
1955
1977
|
attributes: n
|
|
@@ -1964,9 +1986,9 @@ function ji(t) {
|
|
|
1964
1986
|
let s;
|
|
1965
1987
|
return e[3] !== a || e[4] !== l.value ? (s = /* @__PURE__ */ c(Ct, { src: l.value, ...a }), e[3] = a, e[4] = l.value, e[5] = s) : s = e[5], s;
|
|
1966
1988
|
}
|
|
1967
|
-
r(
|
|
1968
|
-
const
|
|
1969
|
-
function
|
|
1989
|
+
r(Xi, "ImageCell");
|
|
1990
|
+
const Zi = "image-group";
|
|
1991
|
+
function Ji(t) {
|
|
1970
1992
|
const e = j(14), {
|
|
1971
1993
|
data: l,
|
|
1972
1994
|
attributes: n
|
|
@@ -1981,21 +2003,21 @@ function Qi(t) {
|
|
|
1981
2003
|
const s = l.value.length > 1, o = a;
|
|
1982
2004
|
let u;
|
|
1983
2005
|
e[3] !== l.value[0] || e[4] !== o ? (u = /* @__PURE__ */ c(Ct, { src: l.value[0], ...o }), e[3] = l.value[0], e[4] = o, e[5] = u) : u = e[5];
|
|
1984
|
-
const
|
|
1985
|
-
let
|
|
1986
|
-
e[6] !== l.value.length || e[7] !== s || e[8] !==
|
|
2006
|
+
const d = u;
|
|
2007
|
+
let f;
|
|
2008
|
+
e[6] !== l.value.length || e[7] !== s || e[8] !== d ? (f = s ? /* @__PURE__ */ c(On, { count: l.value.length, children: d }) : d, e[6] = l.value.length, e[7] = s, e[8] = d, e[9] = f) : f = e[9];
|
|
1987
2009
|
let m;
|
|
1988
|
-
return e[10] !== a || e[11] !== l.value || e[12] !==
|
|
2010
|
+
return e[10] !== a || e[11] !== l.value || e[12] !== f ? (m = /* @__PURE__ */ c(Ct.PreviewGroup, { items: l.value, ...a, children: f }), e[10] = a, e[11] = l.value, e[12] = f, e[13] = m) : m = e[13], m;
|
|
1989
2011
|
}
|
|
1990
|
-
r(
|
|
2012
|
+
r(Ji, "ImageGroupCell");
|
|
1991
2013
|
const {
|
|
1992
|
-
Link:
|
|
1993
|
-
} = qe,
|
|
1994
|
-
function
|
|
2014
|
+
Link: ea
|
|
2015
|
+
} = qe, ta = "link", na = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, la = "mailto:";
|
|
2016
|
+
function ia(t) {
|
|
1995
2017
|
const e = j(9);
|
|
1996
2018
|
let l;
|
|
1997
|
-
e[0] !== t.data.value ? (l = t.data.value &&
|
|
1998
|
-
const n = l, i = t.attributes?.href ?? (n ? `${
|
|
2019
|
+
e[0] !== t.data.value ? (l = t.data.value && na.test(t.data.value), e[0] = t.data.value, e[1] = l) : l = e[1];
|
|
2020
|
+
const n = l, i = t.attributes?.href ?? (n ? `${la}${t.data.value}` : t.data.value);
|
|
1999
2021
|
let a;
|
|
2000
2022
|
e[2] !== n || e[3] !== t.attributes ? (a = n ? t.attributes : {
|
|
2001
2023
|
...t.attributes,
|
|
@@ -2005,9 +2027,9 @@ function ta(t) {
|
|
|
2005
2027
|
}, e[2] = n, e[3] = t.attributes, e[4] = a) : a = e[4];
|
|
2006
2028
|
const s = a, o = t.attributes?.children ?? t.data.value;
|
|
2007
2029
|
let u;
|
|
2008
|
-
return e[5] !== i || e[6] !== s || e[7] !== o ? (u = /* @__PURE__ */ c(
|
|
2030
|
+
return e[5] !== i || e[6] !== s || e[7] !== o ? (u = /* @__PURE__ */ c(ea, { href: i, ...s, children: o }), e[5] = i, e[6] = s, e[7] = o, e[8] = u) : u = e[8], u;
|
|
2009
2031
|
}
|
|
2010
|
-
r(
|
|
2032
|
+
r(ia, "LinkCell");
|
|
2011
2033
|
const De = {
|
|
2012
2034
|
currency: "CNY",
|
|
2013
2035
|
currencyDisplay: "symbol",
|
|
@@ -2015,8 +2037,8 @@ const De = {
|
|
|
2015
2037
|
locale: "zh-CN",
|
|
2016
2038
|
useGrouping: !0,
|
|
2017
2039
|
fallback: "-"
|
|
2018
|
-
},
|
|
2019
|
-
function
|
|
2040
|
+
}, aa = "currency";
|
|
2041
|
+
function ra(t, e = De) {
|
|
2020
2042
|
const {
|
|
2021
2043
|
currency: l = De.currency,
|
|
2022
2044
|
currencyDisplay: n = De.currencyDisplay,
|
|
@@ -2024,9 +2046,9 @@ function la(t, e = De) {
|
|
|
2024
2046
|
locale: a = De.locale,
|
|
2025
2047
|
useGrouping: s = De.useGrouping,
|
|
2026
2048
|
fallback: o = De.fallback
|
|
2027
|
-
} = e, u =
|
|
2049
|
+
} = e, u = sa(t);
|
|
2028
2050
|
return isNaN(u) || !isFinite(u) ? o : new Intl.NumberFormat(a, {
|
|
2029
|
-
style:
|
|
2051
|
+
style: aa,
|
|
2030
2052
|
currency: l,
|
|
2031
2053
|
currencyDisplay: n,
|
|
2032
2054
|
minimumFractionDigits: i,
|
|
@@ -2034,20 +2056,20 @@ function la(t, e = De) {
|
|
|
2034
2056
|
useGrouping: s
|
|
2035
2057
|
}).format(u);
|
|
2036
2058
|
}
|
|
2037
|
-
r(
|
|
2038
|
-
function
|
|
2059
|
+
r(ra, "formatCurrency");
|
|
2060
|
+
function sa(t) {
|
|
2039
2061
|
if (typeof t == "number")
|
|
2040
2062
|
return t;
|
|
2041
|
-
if (
|
|
2063
|
+
if (Pi(t))
|
|
2042
2064
|
return NaN;
|
|
2043
2065
|
const e = t.replace(/[^\d.-]/g, "");
|
|
2044
2066
|
return parseFloat(e);
|
|
2045
2067
|
}
|
|
2046
|
-
r(
|
|
2068
|
+
r(sa, "parseAmount");
|
|
2047
2069
|
const {
|
|
2048
|
-
Text:
|
|
2049
|
-
} = qe,
|
|
2050
|
-
function
|
|
2070
|
+
Text: oa
|
|
2071
|
+
} = qe, ca = "currency";
|
|
2072
|
+
function ua(t) {
|
|
2051
2073
|
const e = j(11), {
|
|
2052
2074
|
data: l,
|
|
2053
2075
|
attributes: n
|
|
@@ -2061,28 +2083,28 @@ function sa(t) {
|
|
|
2061
2083
|
...o
|
|
2062
2084
|
} = a, e[2] = a, e[3] = s, e[4] = o) : (s = e[3], o = e[4]);
|
|
2063
2085
|
let u;
|
|
2064
|
-
e[5] !== l.value || e[6] !== s ? (u =
|
|
2065
|
-
const
|
|
2086
|
+
e[5] !== l.value || e[6] !== s ? (u = ra(l.value, s), e[5] = l.value, e[6] = s, e[7] = u) : u = e[7];
|
|
2087
|
+
const d = u, f = o.children ?? d;
|
|
2066
2088
|
let m;
|
|
2067
|
-
return e[8] !==
|
|
2068
|
-
}
|
|
2069
|
-
r(
|
|
2070
|
-
const
|
|
2071
|
-
[
|
|
2072
|
-
[
|
|
2073
|
-
[
|
|
2074
|
-
[
|
|
2075
|
-
[
|
|
2076
|
-
[
|
|
2077
|
-
[
|
|
2078
|
-
[
|
|
2079
|
-
[
|
|
2080
|
-
[
|
|
2081
|
-
[
|
|
2082
|
-
[
|
|
2089
|
+
return e[8] !== f || e[9] !== o ? (m = /* @__PURE__ */ c(oa, { ...o, children: f }), e[8] = f, e[9] = o, e[10] = m) : m = e[10], m;
|
|
2090
|
+
}
|
|
2091
|
+
r(ua, "CurrencyCell");
|
|
2092
|
+
const fa = it.create([
|
|
2093
|
+
[Oi, Ye],
|
|
2094
|
+
[Di, yn],
|
|
2095
|
+
[Ki, Nn],
|
|
2096
|
+
[Gi, pn],
|
|
2097
|
+
[ji, qi],
|
|
2098
|
+
[zi, In],
|
|
2099
|
+
[gi, Yi],
|
|
2100
|
+
[Qi, Xi],
|
|
2101
|
+
[Zi, Ji],
|
|
2102
|
+
[ta, ia],
|
|
2103
|
+
[ca, ua],
|
|
2104
|
+
[$i, ki]
|
|
2083
2105
|
]);
|
|
2084
|
-
function
|
|
2085
|
-
const l =
|
|
2106
|
+
function da(t, e) {
|
|
2107
|
+
const l = fa.get(t);
|
|
2086
2108
|
if (l)
|
|
2087
2109
|
return (n, i, a) => {
|
|
2088
2110
|
const s = {
|
|
@@ -2096,7 +2118,7 @@ function ca(t, e) {
|
|
|
2096
2118
|
});
|
|
2097
2119
|
};
|
|
2098
2120
|
}
|
|
2099
|
-
r(
|
|
2121
|
+
r(da, "typedCellRender");
|
|
2100
2122
|
function Bt(t) {
|
|
2101
2123
|
const e = j(11);
|
|
2102
2124
|
let l;
|
|
@@ -2117,116 +2139,116 @@ function Bt(t) {
|
|
|
2117
2139
|
] }), e[9] = a, e[10] = o) : o = e[10], o;
|
|
2118
2140
|
}
|
|
2119
2141
|
r(Bt, "TableFieldItem");
|
|
2120
|
-
const
|
|
2121
|
-
item:
|
|
2122
|
-
dragging:
|
|
2123
|
-
tips:
|
|
2124
|
-
groupTitle:
|
|
2142
|
+
const ma = "_item_59wbi_1", ha = "_dragging_59wbi_9", Ta = "_tips_59wbi_31", Ea = "_groupTitle_59wbi_38", Fe = {
|
|
2143
|
+
item: ma,
|
|
2144
|
+
dragging: ha,
|
|
2145
|
+
tips: Ta,
|
|
2146
|
+
groupTitle: Ea
|
|
2125
2147
|
};
|
|
2126
|
-
function
|
|
2148
|
+
function _a(t) {
|
|
2127
2149
|
const e = j(21), {
|
|
2128
2150
|
ref: l,
|
|
2129
2151
|
fields: n,
|
|
2130
2152
|
initialColumns: i,
|
|
2131
2153
|
onChange: a,
|
|
2132
2154
|
className: s
|
|
2133
|
-
} = t, [o, u] = X(null), [
|
|
2155
|
+
} = t, [o, u] = X(null), [d, f] = X(i);
|
|
2134
2156
|
let m, h;
|
|
2135
2157
|
e[0] !== i ? (m = /* @__PURE__ */ r(() => {
|
|
2136
|
-
|
|
2158
|
+
f(i);
|
|
2137
2159
|
}, "t0"), h = [i], e[0] = i, e[1] = m, e[2] = h) : (m = e[1], h = e[2]), Ae(m, h);
|
|
2138
|
-
const T =
|
|
2139
|
-
const
|
|
2160
|
+
const T = d.map(Na), E = T.filter(Ia), y = T.filter(ya), b = T.filter(va), w = /* @__PURE__ */ r((v, g) => {
|
|
2161
|
+
const V = T.map((M, K) => K === v ? {
|
|
2140
2162
|
...M,
|
|
2141
|
-
hidden:
|
|
2163
|
+
hidden: g
|
|
2142
2164
|
} : M);
|
|
2143
|
-
|
|
2165
|
+
f(V), a?.(V);
|
|
2144
2166
|
}, "handleVisibilityChange");
|
|
2145
|
-
let
|
|
2146
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2147
|
-
const M =
|
|
2148
|
-
M.style.backgroundColor = "#F5F5F5", M.style.transform = "scale(1.02)", M.style.opacity = "1.0", M.style.boxShadow = "0 2px 8px rgba(0, 0, 0, 0.15)", M.style.position = "absolute", M.style.top = "-1000px", M.style.width = `${
|
|
2149
|
-
index:
|
|
2150
|
-
group:
|
|
2167
|
+
let A;
|
|
2168
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ r((v, g, V) => {
|
|
2169
|
+
const M = v.currentTarget.cloneNode(!0);
|
|
2170
|
+
M.style.backgroundColor = "#F5F5F5", M.style.transform = "scale(1.02)", M.style.opacity = "1.0", M.style.boxShadow = "0 2px 8px rgba(0, 0, 0, 0.15)", M.style.position = "absolute", M.style.top = "-1000px", M.style.width = `${v.currentTarget.clientWidth}px`, M.style.height = `${v.currentTarget.clientHeight}px`, document.body.appendChild(M), v.dataTransfer.setDragImage(M, v.nativeEvent.offsetX, v.nativeEvent.offsetY), setTimeout(() => document.body.removeChild(M), 0), v.dataTransfer.effectAllowed = "move", u({
|
|
2171
|
+
index: V,
|
|
2172
|
+
group: g
|
|
2151
2173
|
});
|
|
2152
|
-
}, "t2"), e[3] =
|
|
2153
|
-
const
|
|
2154
|
-
let
|
|
2155
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2174
|
+
}, "t2"), e[3] = A) : A = e[3];
|
|
2175
|
+
const R = A, x = Ca;
|
|
2176
|
+
let D;
|
|
2177
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ r(() => {
|
|
2156
2178
|
u(null);
|
|
2157
|
-
}, "t3"), e[4] =
|
|
2158
|
-
const
|
|
2159
|
-
if (!o || o.index ===
|
|
2179
|
+
}, "t3"), e[4] = D) : D = e[4];
|
|
2180
|
+
const F = D, $ = /* @__PURE__ */ r((v, g, V) => {
|
|
2181
|
+
if (!o || o.index === V || g === "fixed" && E.length >= 3)
|
|
2160
2182
|
return;
|
|
2161
|
-
const M =
|
|
2162
|
-
q.fixed =
|
|
2163
|
-
}, "handleDrop"),
|
|
2164
|
-
const
|
|
2165
|
-
return
|
|
2166
|
-
}, "renderDraggableItem"), U = /* @__PURE__ */ r((
|
|
2167
|
-
const
|
|
2168
|
-
return
|
|
2183
|
+
const M = g === "fixed" ? V + 1 : V, K = [...T], [q] = K.splice(o.index, 1);
|
|
2184
|
+
q.fixed = g === "fixed", K.splice(M, 0, q), K.forEach(Sa), f(K), a?.(K);
|
|
2185
|
+
}, "handleDrop"), H = /* @__PURE__ */ r((v, g) => {
|
|
2186
|
+
const V = n.find((M) => M.name === v.name);
|
|
2187
|
+
return V ? /* @__PURE__ */ c("div", { className: `${Fe.item} ${o?.index === v.index ? Fe.dragging : ""}`, draggable: !V.primaryKey, onDragStart: /* @__PURE__ */ r((M) => R(M, g, v.index), "onDragStart"), onDragOver: x, onDragEnd: F, onDrop: /* @__PURE__ */ r((M) => $(M, g, v.index), "onDrop"), children: /* @__PURE__ */ c(Bt, { columnDefinition: V, fixed: v.fixed || !1, hidden: v.hidden, onVisibleChange: /* @__PURE__ */ r((M) => w(v.index, M), "onVisibleChange") }) }, V.name) : /* @__PURE__ */ c(_e, {});
|
|
2188
|
+
}, "renderDraggableItem"), U = /* @__PURE__ */ r((v) => {
|
|
2189
|
+
const g = n.find((V) => V.name === v.name);
|
|
2190
|
+
return g ? /* @__PURE__ */ c("div", { className: Fe.item, children: /* @__PURE__ */ c(Bt, { columnDefinition: g, fixed: v.fixed || !1, hidden: v.hidden, onVisibleChange: /* @__PURE__ */ r((V) => w(v.index, V), "onVisibleChange") }) }, g.name) : /* @__PURE__ */ c(_e, {});
|
|
2169
2191
|
}, "renderStaticItem");
|
|
2170
|
-
let
|
|
2171
|
-
e[5] !== t.initialColumns ? (
|
|
2192
|
+
let P;
|
|
2193
|
+
e[5] !== t.initialColumns ? (P = /* @__PURE__ */ r(() => ({
|
|
2172
2194
|
reset: /* @__PURE__ */ r(() => {
|
|
2173
|
-
|
|
2195
|
+
f(t.initialColumns);
|
|
2174
2196
|
}, "reset")
|
|
2175
|
-
}), "t4"), e[5] = t.initialColumns, e[6] =
|
|
2176
|
-
const
|
|
2197
|
+
}), "t4"), e[5] = t.initialColumns, e[6] = P) : P = e[6], Re(l, P);
|
|
2198
|
+
const L = Se, W = 0, k = "vertical";
|
|
2177
2199
|
let I;
|
|
2178
2200
|
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = {
|
|
2179
2201
|
display: "flex"
|
|
2180
2202
|
}, e[7] = I) : I = e[7];
|
|
2181
2203
|
let _;
|
|
2182
2204
|
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ c("div", { className: Fe.groupTitle, children: "已显示字段" }), e[8] = _) : _ = e[8];
|
|
2183
|
-
const S = E.map((
|
|
2205
|
+
const S = E.map((v) => H(v, "fixed"));
|
|
2184
2206
|
let N;
|
|
2185
2207
|
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ c("div", { className: Fe.tips, children: "请将需要锁定的字段拖至上方(最多支持3列)" }), e[9] = N) : N = e[9];
|
|
2186
|
-
const
|
|
2208
|
+
const C = y.map((v) => H(v, "visible"));
|
|
2187
2209
|
let p;
|
|
2188
2210
|
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ c("div", { className: Fe.groupTitle, children: "未显示字段" }), e[10] = p) : p = e[10];
|
|
2189
|
-
const
|
|
2190
|
-
let
|
|
2191
|
-
return e[11] !==
|
|
2211
|
+
const O = b.map((v) => U(v));
|
|
2212
|
+
let z;
|
|
2213
|
+
return e[11] !== L || e[12] !== s || e[13] !== N || e[14] !== C || e[15] !== p || e[16] !== O || e[17] !== I || e[18] !== _ || e[19] !== S ? (z = /* @__PURE__ */ Z(L, { size: W, orientation: k, style: I, className: s, children: [
|
|
2192
2214
|
_,
|
|
2193
2215
|
S,
|
|
2194
2216
|
N,
|
|
2195
|
-
|
|
2217
|
+
C,
|
|
2196
2218
|
p,
|
|
2197
|
-
|
|
2198
|
-
] }), e[11] =
|
|
2219
|
+
O
|
|
2220
|
+
] }), e[11] = L, e[12] = s, e[13] = N, e[14] = C, e[15] = p, e[16] = O, e[17] = I, e[18] = _, e[19] = S, e[20] = z) : z = e[20], z;
|
|
2199
2221
|
}
|
|
2200
|
-
r(
|
|
2201
|
-
function
|
|
2222
|
+
r(_a, "TableSettingPanel");
|
|
2223
|
+
function Sa(t, e) {
|
|
2202
2224
|
return t.index = e;
|
|
2203
2225
|
}
|
|
2204
|
-
r(
|
|
2205
|
-
function
|
|
2226
|
+
r(Sa, "_temp6");
|
|
2227
|
+
function Ca(t) {
|
|
2206
2228
|
t.preventDefault(), t.dataTransfer.dropEffect = "move";
|
|
2207
2229
|
}
|
|
2208
|
-
r(
|
|
2209
|
-
function
|
|
2230
|
+
r(Ca, "_temp5");
|
|
2231
|
+
function va(t) {
|
|
2210
2232
|
return t.hidden;
|
|
2211
2233
|
}
|
|
2212
|
-
r(
|
|
2213
|
-
function
|
|
2234
|
+
r(va, "_temp4");
|
|
2235
|
+
function ya(t) {
|
|
2214
2236
|
return !t.hidden && !t.fixed;
|
|
2215
2237
|
}
|
|
2216
|
-
r(
|
|
2217
|
-
function
|
|
2238
|
+
r(ya, "_temp3$1");
|
|
2239
|
+
function Ia(t) {
|
|
2218
2240
|
return t.fixed;
|
|
2219
2241
|
}
|
|
2220
|
-
r(
|
|
2221
|
-
function
|
|
2242
|
+
r(Ia, "_temp2$2");
|
|
2243
|
+
function Na(t, e) {
|
|
2222
2244
|
return {
|
|
2223
2245
|
...t,
|
|
2224
2246
|
index: e
|
|
2225
2247
|
};
|
|
2226
2248
|
}
|
|
2227
|
-
r(
|
|
2228
|
-
const
|
|
2229
|
-
configurableColumnHeader:
|
|
2249
|
+
r(Na, "_temp$5");
|
|
2250
|
+
const pa = "_configurableColumnHeader_1gpsi_1", Aa = {
|
|
2251
|
+
configurableColumnHeader: pa
|
|
2230
2252
|
};
|
|
2231
2253
|
function At(t, e) {
|
|
2232
2254
|
if (t === e)
|
|
@@ -2243,22 +2265,22 @@ function At(t, e) {
|
|
|
2243
2265
|
return !1;
|
|
2244
2266
|
}
|
|
2245
2267
|
r(At, "deepEqual");
|
|
2246
|
-
function
|
|
2268
|
+
function La(t) {
|
|
2247
2269
|
return t && t.length > 0 ? t.map((e, l) => ({
|
|
2248
2270
|
...e,
|
|
2249
2271
|
key: l
|
|
2250
2272
|
})) : [];
|
|
2251
2273
|
}
|
|
2252
|
-
r(
|
|
2253
|
-
function
|
|
2274
|
+
r(La, "mapToTableRecord");
|
|
2275
|
+
function ba(t, ...e) {
|
|
2254
2276
|
let l = 0;
|
|
2255
2277
|
return t.replace(/%@/g, () => e[l++] ?? "");
|
|
2256
2278
|
}
|
|
2257
|
-
r(
|
|
2279
|
+
r(ba, "format");
|
|
2258
2280
|
String.prototype.format = function(...t) {
|
|
2259
|
-
return
|
|
2281
|
+
return ba(this.toString(), ...t);
|
|
2260
2282
|
};
|
|
2261
|
-
function
|
|
2283
|
+
function Ra(t) {
|
|
2262
2284
|
const e = j(41), {
|
|
2263
2285
|
ref: l,
|
|
2264
2286
|
fields: n,
|
|
@@ -2267,23 +2289,23 @@ function Aa(t) {
|
|
|
2267
2289
|
actionColumn: s,
|
|
2268
2290
|
tableSize: o,
|
|
2269
2291
|
dataSource: u,
|
|
2270
|
-
enableRowSelection:
|
|
2271
|
-
onSortChanged:
|
|
2292
|
+
enableRowSelection: d,
|
|
2293
|
+
onSortChanged: f,
|
|
2272
2294
|
onSelectChange: m,
|
|
2273
2295
|
onClickPrimaryKey: h,
|
|
2274
2296
|
viewTableSetting: T,
|
|
2275
2297
|
loading: E,
|
|
2276
2298
|
attributes: y
|
|
2277
2299
|
} = t, {
|
|
2278
|
-
selectedRowKeys:
|
|
2279
|
-
setSelectedRowKeys:
|
|
2280
|
-
reset:
|
|
2281
|
-
clearSelectedRowKeys:
|
|
2282
|
-
} =
|
|
2283
|
-
let
|
|
2300
|
+
selectedRowKeys: b,
|
|
2301
|
+
setSelectedRowKeys: w,
|
|
2302
|
+
reset: A,
|
|
2303
|
+
clearSelectedRowKeys: R
|
|
2304
|
+
} = Da();
|
|
2305
|
+
let x;
|
|
2284
2306
|
if (e[0] !== s || e[1] !== i || e[2] !== n || e[3] !== h || e[4] !== a || e[5] !== t.actionColumn || e[6] !== T) {
|
|
2285
|
-
let
|
|
2286
|
-
if (e[8] !== n || e[9] !== h ? (
|
|
2307
|
+
let k;
|
|
2308
|
+
if (e[8] !== n || e[9] !== h ? (k = /* @__PURE__ */ r((I) => {
|
|
2287
2309
|
const _ = n.find((S) => S.name === I.name);
|
|
2288
2310
|
return {
|
|
2289
2311
|
key: I.key,
|
|
@@ -2294,36 +2316,36 @@ function Aa(t) {
|
|
|
2294
2316
|
sortOrder: I.sortOrder,
|
|
2295
2317
|
width: I.width,
|
|
2296
2318
|
hidden: I.hidden,
|
|
2297
|
-
render: /* @__PURE__ */ r((S, N,
|
|
2319
|
+
render: /* @__PURE__ */ r((S, N, C) => {
|
|
2298
2320
|
if (_?.render)
|
|
2299
|
-
return _.render(S, N,
|
|
2321
|
+
return _.render(S, N, C);
|
|
2300
2322
|
if (_?.primaryKey)
|
|
2301
2323
|
return /* @__PURE__ */ c(Ye, { data: {
|
|
2302
2324
|
value: S,
|
|
2303
2325
|
record: N,
|
|
2304
|
-
index:
|
|
2326
|
+
index: C
|
|
2305
2327
|
}, attributes: {
|
|
2306
|
-
onClick: /* @__PURE__ */ r((
|
|
2307
|
-
h?.(S,
|
|
2328
|
+
onClick: /* @__PURE__ */ r((O) => {
|
|
2329
|
+
h?.(S, O);
|
|
2308
2330
|
}, "onClick"),
|
|
2309
2331
|
..._.attributes
|
|
2310
2332
|
} });
|
|
2311
|
-
const p =
|
|
2312
|
-
return p ? p(S, N,
|
|
2333
|
+
const p = da(_?.type || "text", _?.attributes || {});
|
|
2334
|
+
return p ? p(S, N, C) : /* @__PURE__ */ c(Nn, { data: {
|
|
2313
2335
|
value: String(S),
|
|
2314
2336
|
record: N,
|
|
2315
|
-
index:
|
|
2337
|
+
index: C
|
|
2316
2338
|
} });
|
|
2317
2339
|
}, "render"),
|
|
2318
2340
|
..._?.attributes || {}
|
|
2319
2341
|
};
|
|
2320
|
-
}, "t02"), e[8] = n, e[9] = h, e[10] =
|
|
2321
|
-
const I = s.dataIndex || n.find(
|
|
2342
|
+
}, "t02"), e[8] = n, e[9] = h, e[10] = k) : k = e[10], x = i.map(k), s) {
|
|
2343
|
+
const I = s.dataIndex || n.find(Oa)?.name || "id";
|
|
2322
2344
|
let _;
|
|
2323
2345
|
e[11] !== s.title || e[12] !== i || e[13] !== n || e[14] !== a || e[15] !== T ? (_ = /* @__PURE__ */ r(() => {
|
|
2324
2346
|
if (T) {
|
|
2325
|
-
const N = /* @__PURE__ */ c(
|
|
2326
|
-
return /* @__PURE__ */ Z("div", { className:
|
|
2347
|
+
const N = /* @__PURE__ */ c(_a, { fields: n, initialColumns: i, onChange: a });
|
|
2348
|
+
return /* @__PURE__ */ Z("div", { className: Aa.configurableColumnHeader, children: [
|
|
2327
2349
|
/* @__PURE__ */ c("span", { children: s.title }),
|
|
2328
2350
|
/* @__PURE__ */ c(wn, { content: N, title: T.title || "Setting", placement: "bottomRight", trigger: "click", children: /* @__PURE__ */ c(tn, {}) })
|
|
2329
2351
|
] });
|
|
@@ -2331,14 +2353,14 @@ function Aa(t) {
|
|
|
2331
2353
|
return s.title;
|
|
2332
2354
|
}, "t12"), e[11] = s.title, e[12] = i, e[13] = n, e[14] = a, e[15] = T, e[16] = _) : _ = e[16];
|
|
2333
2355
|
let S;
|
|
2334
|
-
e[17] !== i.length || e[18] !== t.actionColumn ? (S = /* @__PURE__ */ r((N,
|
|
2335
|
-
const
|
|
2336
|
-
value: t.actionColumn.actions(
|
|
2337
|
-
record:
|
|
2356
|
+
e[17] !== i.length || e[18] !== t.actionColumn ? (S = /* @__PURE__ */ r((N, C) => {
|
|
2357
|
+
const O = {
|
|
2358
|
+
value: t.actionColumn.actions(C),
|
|
2359
|
+
record: C,
|
|
2338
2360
|
index: i.length + 1
|
|
2339
2361
|
};
|
|
2340
|
-
return /* @__PURE__ */ c(yn, { data:
|
|
2341
|
-
}, "t22"), e[17] = i.length, e[18] = t.actionColumn, e[19] = S) : S = e[19],
|
|
2362
|
+
return /* @__PURE__ */ c(yn, { data: O });
|
|
2363
|
+
}, "t22"), e[17] = i.length, e[18] = t.actionColumn, e[19] = S) : S = e[19], x.push({
|
|
2342
2364
|
key: "action",
|
|
2343
2365
|
title: _,
|
|
2344
2366
|
dataIndex: I,
|
|
@@ -2347,43 +2369,43 @@ function Aa(t) {
|
|
|
2347
2369
|
render: S
|
|
2348
2370
|
});
|
|
2349
2371
|
}
|
|
2350
|
-
e[0] = s, e[1] = i, e[2] = n, e[3] = h, e[4] = a, e[5] = t.actionColumn, e[6] = T, e[7] =
|
|
2372
|
+
e[0] = s, e[1] = i, e[2] = n, e[3] = h, e[4] = a, e[5] = t.actionColumn, e[6] = T, e[7] = x;
|
|
2351
2373
|
} else
|
|
2352
|
-
|
|
2353
|
-
let
|
|
2354
|
-
e[20] !==
|
|
2355
|
-
selectedRowKeys:
|
|
2374
|
+
x = e[7];
|
|
2375
|
+
let D;
|
|
2376
|
+
e[20] !== d || e[21] !== m || e[22] !== b || e[23] !== w ? (D = d ? {
|
|
2377
|
+
selectedRowKeys: b,
|
|
2356
2378
|
fixed: !0,
|
|
2357
|
-
onChange: /* @__PURE__ */ r((
|
|
2358
|
-
|
|
2379
|
+
onChange: /* @__PURE__ */ r((k, I) => {
|
|
2380
|
+
w(k), m?.(I);
|
|
2359
2381
|
}, "onChange")
|
|
2360
|
-
} : void 0, e[20] =
|
|
2361
|
-
const
|
|
2362
|
-
let
|
|
2363
|
-
e[25] !==
|
|
2364
|
-
clearSelectedRowKeys:
|
|
2365
|
-
reset:
|
|
2366
|
-
}), "t1"), e[25] =
|
|
2367
|
-
let
|
|
2368
|
-
e[28] !== u ? (
|
|
2382
|
+
} : void 0, e[20] = d, e[21] = m, e[22] = b, e[23] = w, e[24] = D) : D = e[24];
|
|
2383
|
+
const F = D;
|
|
2384
|
+
let $;
|
|
2385
|
+
e[25] !== R || e[26] !== A ? ($ = /* @__PURE__ */ r(() => ({
|
|
2386
|
+
clearSelectedRowKeys: R,
|
|
2387
|
+
reset: A
|
|
2388
|
+
}), "t1"), e[25] = R, e[26] = A, e[27] = $) : $ = e[27], Re(l, $);
|
|
2389
|
+
let H;
|
|
2390
|
+
e[28] !== u ? (H = La(u), e[28] = u, e[29] = H) : H = e[29];
|
|
2369
2391
|
let U;
|
|
2370
2392
|
e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = {
|
|
2371
2393
|
x: "max-content"
|
|
2372
2394
|
}, e[30] = U) : U = e[30];
|
|
2373
|
-
const
|
|
2374
|
-
let
|
|
2375
|
-
e[31] !==
|
|
2376
|
-
S.action === "sort" &&
|
|
2377
|
-
}, "t5"), e[31] =
|
|
2378
|
-
let
|
|
2379
|
-
return e[33] !== y || e[34] !== E || e[35] !==
|
|
2395
|
+
const P = o || "middle";
|
|
2396
|
+
let L;
|
|
2397
|
+
e[31] !== f ? (L = /* @__PURE__ */ r((k, I, _, S) => {
|
|
2398
|
+
S.action === "sort" && f && (Array.isArray(_) ? f(_) : f([_]));
|
|
2399
|
+
}, "t5"), e[31] = f, e[32] = L) : L = e[32];
|
|
2400
|
+
let W;
|
|
2401
|
+
return e[33] !== y || e[34] !== E || e[35] !== F || e[36] !== H || e[37] !== P || e[38] !== L || e[39] !== x ? (W = /* @__PURE__ */ c(Dn, { loading: E, dataSource: H, rowSelection: F, columns: x, ...y, scroll: U, size: P, onChange: L }), e[33] = y, e[34] = E, e[35] = F, e[36] = H, e[37] = P, e[38] = L, e[39] = x, e[40] = W) : W = e[40], W;
|
|
2380
2402
|
}
|
|
2381
|
-
r(
|
|
2382
|
-
function
|
|
2403
|
+
r(Ra, "ViewTable");
|
|
2404
|
+
function Oa(t) {
|
|
2383
2405
|
return t.primaryKey;
|
|
2384
2406
|
}
|
|
2385
|
-
r(
|
|
2386
|
-
function
|
|
2407
|
+
r(Oa, "_temp$4");
|
|
2408
|
+
function Da() {
|
|
2387
2409
|
const [t, e] = X([]), l = /* @__PURE__ */ r(() => {
|
|
2388
2410
|
e([]);
|
|
2389
2411
|
}, "clearSelectedRowKeysFn");
|
|
@@ -2396,8 +2418,8 @@ function ba() {
|
|
|
2396
2418
|
}, "resetFn")
|
|
2397
2419
|
};
|
|
2398
2420
|
}
|
|
2399
|
-
r(
|
|
2400
|
-
const
|
|
2421
|
+
r(Da, "useViewTableState");
|
|
2422
|
+
const wa = [{
|
|
2401
2423
|
label: "1 分钟",
|
|
2402
2424
|
key: "1",
|
|
2403
2425
|
refreshInterval: 60 * 1e3
|
|
@@ -2414,69 +2436,69 @@ const Ra = [{
|
|
|
2414
2436
|
key: "0",
|
|
2415
2437
|
refreshInterval: 0
|
|
2416
2438
|
};
|
|
2417
|
-
function
|
|
2439
|
+
function Fa(t) {
|
|
2418
2440
|
const e = j(26), {
|
|
2419
2441
|
items: l
|
|
2420
|
-
} = t, n = l === void 0 ?
|
|
2442
|
+
} = t, n = l === void 0 ? wa : l;
|
|
2421
2443
|
let i;
|
|
2422
2444
|
e[0] !== n ? (i = [...n, Yt], e[0] = n, e[1] = i) : i = e[1];
|
|
2423
2445
|
const a = i, [s, o] = X(Yt), u = we(null), {
|
|
2424
|
-
publish:
|
|
2446
|
+
publish: d
|
|
2425
2447
|
} = Ot(), {
|
|
2426
|
-
locale:
|
|
2448
|
+
locale: f
|
|
2427
2449
|
} = Oe();
|
|
2428
2450
|
let m;
|
|
2429
2451
|
e[2] !== a ? (m = /* @__PURE__ */ r((U) => {
|
|
2430
|
-
const
|
|
2431
|
-
|
|
2452
|
+
const P = a.find((L) => L.key === U.key);
|
|
2453
|
+
P && o(P);
|
|
2432
2454
|
}, "t3"), e[2] = a, e[3] = m) : m = e[3];
|
|
2433
2455
|
const h = m;
|
|
2434
2456
|
let T;
|
|
2435
|
-
e[4] !==
|
|
2436
|
-
await
|
|
2457
|
+
e[4] !== d || e[5] !== s.refreshInterval ? (T = /* @__PURE__ */ r(() => (u.current && (clearInterval(u.current), u.current = null), s.refreshInterval > 0 && (u.current = setInterval(async () => {
|
|
2458
|
+
await d();
|
|
2437
2459
|
}, s.refreshInterval)), () => {
|
|
2438
2460
|
u.current && clearInterval(u.current);
|
|
2439
|
-
}), "t4"), e[4] =
|
|
2461
|
+
}), "t4"), e[4] = d, e[5] = s.refreshInterval, e[6] = T) : T = e[6];
|
|
2440
2462
|
let E;
|
|
2441
|
-
e[7] !==
|
|
2463
|
+
e[7] !== d || e[8] !== s ? (E = [s, d], e[7] = d, e[8] = s, e[9] = E) : E = e[9], Ae(T, E);
|
|
2442
2464
|
let y;
|
|
2443
|
-
e[10] !== a ? (y = a.map(
|
|
2444
|
-
const
|
|
2445
|
-
let
|
|
2446
|
-
e[12] !== s.key ? (
|
|
2447
|
-
let
|
|
2448
|
-
e[14] !== h || e[15] !==
|
|
2449
|
-
items:
|
|
2465
|
+
e[10] !== a ? (y = a.map(Pa), e[10] = a, e[11] = y) : y = e[11];
|
|
2466
|
+
const b = y;
|
|
2467
|
+
let w;
|
|
2468
|
+
e[12] !== s.key ? (w = [s.key], e[12] = s.key, e[13] = w) : w = e[13];
|
|
2469
|
+
let A;
|
|
2470
|
+
e[14] !== h || e[15] !== b || e[16] !== w ? (A = {
|
|
2471
|
+
items: b,
|
|
2450
2472
|
onClick: h,
|
|
2451
2473
|
selectable: !0,
|
|
2452
|
-
defaultSelectedKeys:
|
|
2453
|
-
}, e[14] = h, e[15] =
|
|
2454
|
-
const
|
|
2455
|
-
let
|
|
2456
|
-
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2457
|
-
let
|
|
2458
|
-
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2459
|
-
const
|
|
2460
|
-
let
|
|
2461
|
-
e[20] !== s.label || e[21] !==
|
|
2462
|
-
|
|
2474
|
+
defaultSelectedKeys: w
|
|
2475
|
+
}, e[14] = h, e[15] = b, e[16] = w, e[17] = A) : A = e[17];
|
|
2476
|
+
const R = A;
|
|
2477
|
+
let x;
|
|
2478
|
+
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = ["click"], e[18] = x) : x = e[18];
|
|
2479
|
+
let D;
|
|
2480
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ c(Be, {}), e[19] = D) : D = e[19];
|
|
2481
|
+
const F = f.topBar?.autoRefresh?.title || "刷新率";
|
|
2482
|
+
let $;
|
|
2483
|
+
e[20] !== s.label || e[21] !== F ? ($ = /* @__PURE__ */ Z(Ee, { icon: D, iconPlacement: "end", children: [
|
|
2484
|
+
F,
|
|
2463
2485
|
" :",
|
|
2464
2486
|
s.label
|
|
2465
|
-
] }), e[20] = s.label, e[21] =
|
|
2466
|
-
let
|
|
2467
|
-
return e[23] !==
|
|
2487
|
+
] }), e[20] = s.label, e[21] = F, e[22] = $) : $ = e[22];
|
|
2488
|
+
let H;
|
|
2489
|
+
return e[23] !== R || e[24] !== $ ? (H = /* @__PURE__ */ c(Pe, { menu: R, trigger: x, children: $ }), e[23] = R, e[24] = $, e[25] = H) : H = e[25], H;
|
|
2468
2490
|
}
|
|
2469
|
-
r(
|
|
2470
|
-
function
|
|
2491
|
+
r(Fa, "AutoRefreshBarItem");
|
|
2492
|
+
function Pa(t) {
|
|
2471
2493
|
return {
|
|
2472
2494
|
key: t.key,
|
|
2473
2495
|
label: t.label
|
|
2474
2496
|
};
|
|
2475
2497
|
}
|
|
2476
|
-
r(
|
|
2477
|
-
const
|
|
2478
|
-
item:
|
|
2479
|
-
active:
|
|
2498
|
+
r(Pa, "_temp$3");
|
|
2499
|
+
const xa = "_item_1c27u_1", $a = "_active_1c27u_16", Wt = {
|
|
2500
|
+
item: xa,
|
|
2501
|
+
active: $a
|
|
2480
2502
|
};
|
|
2481
2503
|
function He(t) {
|
|
2482
2504
|
const e = j(3), {
|
|
@@ -2487,7 +2509,7 @@ function He(t) {
|
|
|
2487
2509
|
return e[0] !== l || e[1] !== i ? (a = /* @__PURE__ */ c("div", { className: i, children: l }), e[0] = l, e[1] = i, e[2] = a) : a = e[2], a;
|
|
2488
2510
|
}
|
|
2489
2511
|
r(He, "BarItem");
|
|
2490
|
-
function
|
|
2512
|
+
function ka(t) {
|
|
2491
2513
|
const e = j(23), {
|
|
2492
2514
|
className: l,
|
|
2493
2515
|
defaultTableSize: n,
|
|
@@ -2495,16 +2517,16 @@ function Pa(t) {
|
|
|
2495
2517
|
} = t, [a, s] = X(n), {
|
|
2496
2518
|
locale: o
|
|
2497
2519
|
} = Oe();
|
|
2498
|
-
let u,
|
|
2520
|
+
let u, d;
|
|
2499
2521
|
e[0] !== n ? (u = /* @__PURE__ */ r(() => {
|
|
2500
2522
|
s(n);
|
|
2501
|
-
}, "t0"),
|
|
2502
|
-
const
|
|
2523
|
+
}, "t0"), d = [n], e[0] = n, e[1] = u, e[2] = d) : (u = e[1], d = e[2]), Ae(u, d);
|
|
2524
|
+
const f = o.topBar?.tableSize?.middle || "标准";
|
|
2503
2525
|
let m;
|
|
2504
|
-
e[3] !==
|
|
2526
|
+
e[3] !== f ? (m = {
|
|
2505
2527
|
key: "middle",
|
|
2506
|
-
label:
|
|
2507
|
-
}, e[3] =
|
|
2528
|
+
label: f
|
|
2529
|
+
}, e[3] = f, e[4] = m) : m = e[4];
|
|
2508
2530
|
const h = o.topBar?.tableSize?.small || "紧凑";
|
|
2509
2531
|
let T;
|
|
2510
2532
|
e[5] !== h ? (T = {
|
|
@@ -2514,51 +2536,51 @@ function Pa(t) {
|
|
|
2514
2536
|
let E;
|
|
2515
2537
|
e[7] !== m || e[8] !== T ? (E = [m, T], e[7] = m, e[8] = T, e[9] = E) : E = e[9];
|
|
2516
2538
|
const y = E;
|
|
2517
|
-
let
|
|
2518
|
-
e[10] !== i ? (
|
|
2539
|
+
let b;
|
|
2540
|
+
e[10] !== i ? (b = /* @__PURE__ */ r((H) => {
|
|
2519
2541
|
const {
|
|
2520
2542
|
key: U
|
|
2521
|
-
} =
|
|
2543
|
+
} = H;
|
|
2522
2544
|
s(U), i?.(U);
|
|
2523
|
-
}, "t7"), e[10] = i, e[11] =
|
|
2524
|
-
const
|
|
2525
|
-
let
|
|
2526
|
-
e[12] !==
|
|
2527
|
-
let
|
|
2528
|
-
e[14] !==
|
|
2545
|
+
}, "t7"), e[10] = i, e[11] = b) : b = e[11];
|
|
2546
|
+
const w = b, A = a || "middle";
|
|
2547
|
+
let R;
|
|
2548
|
+
e[12] !== A ? (R = [A], e[12] = A, e[13] = R) : R = e[13];
|
|
2549
|
+
let x;
|
|
2550
|
+
e[14] !== w || e[15] !== y || e[16] !== R ? (x = {
|
|
2529
2551
|
items: y,
|
|
2530
2552
|
selectable: !0,
|
|
2531
|
-
defaultSelectedKeys:
|
|
2532
|
-
onSelect:
|
|
2533
|
-
}, e[14] =
|
|
2534
|
-
let
|
|
2535
|
-
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2536
|
-
let
|
|
2537
|
-
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2538
|
-
let
|
|
2539
|
-
return e[20] !== l || e[21] !==
|
|
2553
|
+
defaultSelectedKeys: R,
|
|
2554
|
+
onSelect: w
|
|
2555
|
+
}, e[14] = w, e[15] = y, e[16] = R, e[17] = x) : x = e[17];
|
|
2556
|
+
let D;
|
|
2557
|
+
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = ["click"], e[18] = D) : D = e[18];
|
|
2558
|
+
let F;
|
|
2559
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ c("div", { onClick: Va, children: /* @__PURE__ */ c(He, { icon: /* @__PURE__ */ c(jn, {}), active: !1 }) }), e[19] = F) : F = e[19];
|
|
2560
|
+
let $;
|
|
2561
|
+
return e[20] !== l || e[21] !== x ? ($ = /* @__PURE__ */ c(ot, { placement: "top", title: "行高", children: /* @__PURE__ */ c(Pe, { className: l, menu: x, trigger: D, placement: "bottom", children: F }) }), e[20] = l, e[21] = x, e[22] = $) : $ = e[22], $;
|
|
2540
2562
|
}
|
|
2541
|
-
r(
|
|
2542
|
-
function
|
|
2563
|
+
r(ka, "ColumnHeightBarItem");
|
|
2564
|
+
function Va(t) {
|
|
2543
2565
|
return t.preventDefault();
|
|
2544
2566
|
}
|
|
2545
|
-
r(
|
|
2546
|
-
function
|
|
2567
|
+
r(Va, "_temp$2");
|
|
2568
|
+
function Ma(t) {
|
|
2547
2569
|
const e = j(14), {
|
|
2548
2570
|
style: l,
|
|
2549
2571
|
className: n,
|
|
2550
2572
|
defaultShowFilter: i,
|
|
2551
2573
|
onChange: a
|
|
2552
2574
|
} = t, [s, o] = X(i);
|
|
2553
|
-
let u,
|
|
2575
|
+
let u, d;
|
|
2554
2576
|
e[0] !== i ? (u = /* @__PURE__ */ r(() => {
|
|
2555
2577
|
o(i);
|
|
2556
|
-
}, "t0"),
|
|
2557
|
-
let
|
|
2558
|
-
e[3] !== s || e[4] !== a ? (
|
|
2578
|
+
}, "t0"), d = [i], e[0] = i, e[1] = u, e[2] = d) : (u = e[1], d = e[2]), Ae(u, d);
|
|
2579
|
+
let f;
|
|
2580
|
+
e[3] !== s || e[4] !== a ? (f = /* @__PURE__ */ r(() => {
|
|
2559
2581
|
o(!s), a?.(!s);
|
|
2560
|
-
}, "t2"), e[3] = s, e[4] = a, e[5] =
|
|
2561
|
-
const m =
|
|
2582
|
+
}, "t2"), e[3] = s, e[4] = a, e[5] = f) : f = e[5];
|
|
2583
|
+
const m = f;
|
|
2562
2584
|
let h;
|
|
2563
2585
|
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ c(qn, {}), e[6] = h) : h = e[6];
|
|
2564
2586
|
const T = s || !1;
|
|
@@ -2567,8 +2589,8 @@ function $a(t) {
|
|
|
2567
2589
|
let y;
|
|
2568
2590
|
return e[9] !== n || e[10] !== m || e[11] !== l || e[12] !== E ? (y = /* @__PURE__ */ c(ot, { placement: "top", title: "过滤器", children: /* @__PURE__ */ c("div", { className: n, style: l, onClick: m, children: E }) }), e[9] = n, e[10] = m, e[11] = l, e[12] = E, e[13] = y) : y = e[13], y;
|
|
2569
2591
|
}
|
|
2570
|
-
r(
|
|
2571
|
-
function
|
|
2592
|
+
r(Ma, "FilterBarItem");
|
|
2593
|
+
function Ha() {
|
|
2572
2594
|
const t = j(1);
|
|
2573
2595
|
let e;
|
|
2574
2596
|
return t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ c("div", { style: {
|
|
@@ -2578,8 +2600,8 @@ function Va() {
|
|
|
2578
2600
|
borderRadius: "50%"
|
|
2579
2601
|
} }), t[0] = e) : e = t[0], e;
|
|
2580
2602
|
}
|
|
2581
|
-
r(
|
|
2582
|
-
function
|
|
2603
|
+
r(Ha, "Point");
|
|
2604
|
+
function Ua(t) {
|
|
2583
2605
|
const e = j(7), {
|
|
2584
2606
|
style: l,
|
|
2585
2607
|
className: n
|
|
@@ -2596,8 +2618,8 @@ function ka(t) {
|
|
|
2596
2618
|
let u;
|
|
2597
2619
|
return e[3] !== n || e[4] !== s || e[5] !== l ? (u = /* @__PURE__ */ c(ot, { placement: "top", title: "刷新", children: /* @__PURE__ */ c("div", { className: n, style: l, onClick: s, children: o }) }), e[3] = n, e[4] = s, e[5] = l, e[6] = u) : u = e[6], u;
|
|
2598
2620
|
}
|
|
2599
|
-
r(
|
|
2600
|
-
function
|
|
2621
|
+
r(Ua, "RefreshDataBarItem");
|
|
2622
|
+
function za(t) {
|
|
2601
2623
|
const e = j(10), {
|
|
2602
2624
|
className: l,
|
|
2603
2625
|
style: n
|
|
@@ -2614,20 +2636,20 @@ function Ma(t) {
|
|
|
2614
2636
|
const o = s;
|
|
2615
2637
|
let u;
|
|
2616
2638
|
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ c(He, { icon: /* @__PURE__ */ c(Xn, {}), active: !1 }), e[2] = u) : u = e[2];
|
|
2617
|
-
let f;
|
|
2618
|
-
e[3] !== l || e[4] !== o || e[5] !== n ? (f = /* @__PURE__ */ c(ot, { placement: "top", title: "分享视图", children: /* @__PURE__ */ c("div", { className: l, style: n, onClick: o, children: u }) }), e[3] = l, e[4] = o, e[5] = n, e[6] = f) : f = e[6];
|
|
2619
2639
|
let d;
|
|
2620
|
-
|
|
2640
|
+
e[3] !== l || e[4] !== o || e[5] !== n ? (d = /* @__PURE__ */ c(ot, { placement: "top", title: "分享视图", children: /* @__PURE__ */ c("div", { className: l, style: n, onClick: o, children: u }) }), e[3] = l, e[4] = o, e[5] = n, e[6] = d) : d = e[6];
|
|
2641
|
+
let f;
|
|
2642
|
+
return e[7] !== a || e[8] !== d ? (f = /* @__PURE__ */ Z(_e, { children: [
|
|
2621
2643
|
a,
|
|
2622
|
-
|
|
2623
|
-
] }), e[7] = a, e[8] =
|
|
2644
|
+
d
|
|
2645
|
+
] }), e[7] = a, e[8] = d, e[9] = f) : f = e[9], f;
|
|
2624
2646
|
}
|
|
2625
|
-
r(
|
|
2626
|
-
const
|
|
2627
|
-
leftItems:
|
|
2628
|
-
rightItems:
|
|
2647
|
+
r(za, "ShareLinkBarItem");
|
|
2648
|
+
const ga = "_leftItems_1hvhw_1", Ba = "_rightItems_1hvhw_6", Kt = {
|
|
2649
|
+
leftItems: ga,
|
|
2650
|
+
rightItems: Ba
|
|
2629
2651
|
};
|
|
2630
|
-
function
|
|
2652
|
+
function Gt(t, e, l) {
|
|
2631
2653
|
return t.render ? {
|
|
2632
2654
|
key: e,
|
|
2633
2655
|
label: t.render(l)
|
|
@@ -2636,15 +2658,15 @@ function Kt(t, e, l) {
|
|
|
2636
2658
|
label: /* @__PURE__ */ c(Ee, { type: "link", ...t.attributes, onClick: /* @__PURE__ */ r(() => t.onClick?.(l), "onClick"), children: t.title })
|
|
2637
2659
|
};
|
|
2638
2660
|
}
|
|
2639
|
-
r(
|
|
2640
|
-
const
|
|
2661
|
+
r(Gt, "renderMenuItem");
|
|
2662
|
+
const Ya = [{
|
|
2641
2663
|
label: "覆盖当前视图",
|
|
2642
2664
|
key: "Update"
|
|
2643
2665
|
}, {
|
|
2644
2666
|
label: "另存为新视图",
|
|
2645
2667
|
key: "SaveAs"
|
|
2646
2668
|
}];
|
|
2647
|
-
function
|
|
2669
|
+
function Wa(t) {
|
|
2648
2670
|
const e = j(79), {
|
|
2649
2671
|
title: l,
|
|
2650
2672
|
activeView: n,
|
|
@@ -2653,184 +2675,184 @@ function ga(t) {
|
|
|
2653
2675
|
batchActions: s,
|
|
2654
2676
|
tableSelectedItems: o,
|
|
2655
2677
|
showViewPanel: u,
|
|
2656
|
-
onShowViewPanelChange:
|
|
2657
|
-
viewChanged:
|
|
2678
|
+
onShowViewPanelChange: d,
|
|
2679
|
+
viewChanged: f,
|
|
2658
2680
|
onReset: m,
|
|
2659
2681
|
showFilter: h,
|
|
2660
2682
|
onShowFilterChange: T,
|
|
2661
2683
|
defaultTableSize: E,
|
|
2662
2684
|
onTableSizeChange: y,
|
|
2663
|
-
onCreateView:
|
|
2664
|
-
onUpdateView:
|
|
2665
|
-
} = t, [
|
|
2666
|
-
let
|
|
2667
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2668
|
-
let
|
|
2685
|
+
onCreateView: b,
|
|
2686
|
+
onUpdateView: w
|
|
2687
|
+
} = t, [A, R] = X("Create"), [x, D] = X(!1), [F] = X("PERSONAL");
|
|
2688
|
+
let $;
|
|
2689
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = [], e[0] = $) : $ = e[0];
|
|
2690
|
+
let H = $;
|
|
2669
2691
|
if (s?.enabled) {
|
|
2670
2692
|
let ae;
|
|
2671
2693
|
if (e[1] !== s.actions || e[2] !== o) {
|
|
2672
2694
|
let ne;
|
|
2673
|
-
e[4] !== o ? (ne = /* @__PURE__ */ r((ve, me) =>
|
|
2695
|
+
e[4] !== o ? (ne = /* @__PURE__ */ r((ve, me) => Gt(ve, me, o), "t25"), e[4] = o, e[5] = ne) : ne = e[5], ae = s.actions.map(ne), e[1] = s.actions, e[2] = o, e[3] = ae;
|
|
2674
2696
|
} else
|
|
2675
2697
|
ae = e[3];
|
|
2676
|
-
|
|
2698
|
+
H = ae;
|
|
2677
2699
|
}
|
|
2678
2700
|
let U;
|
|
2679
2701
|
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = [], e[6] = U) : U = e[6];
|
|
2680
|
-
let
|
|
2702
|
+
let P = U;
|
|
2681
2703
|
if (a?.length) {
|
|
2682
2704
|
let ae;
|
|
2683
2705
|
if (e[7] !== a || e[8] !== o) {
|
|
2684
2706
|
let ne;
|
|
2685
|
-
e[10] !== o ? (ne = /* @__PURE__ */ r((ve, me) =>
|
|
2707
|
+
e[10] !== o ? (ne = /* @__PURE__ */ r((ve, me) => Gt(ve, me, o), "t32"), e[10] = o, e[11] = ne) : ne = e[11], ae = a.map(ne), e[7] = a, e[8] = o, e[9] = ae;
|
|
2686
2708
|
} else
|
|
2687
2709
|
ae = e[9];
|
|
2688
|
-
|
|
2710
|
+
P = ae;
|
|
2689
2711
|
}
|
|
2690
|
-
const [
|
|
2691
|
-
let
|
|
2692
|
-
e[12] !== n || e[13] !==
|
|
2712
|
+
const [L, W] = st.useModal();
|
|
2713
|
+
let k;
|
|
2714
|
+
e[12] !== n || e[13] !== L || e[14] !== w ? (k = /* @__PURE__ */ r((ae) => {
|
|
2693
2715
|
e: switch (ae) {
|
|
2694
2716
|
case "Update": {
|
|
2695
|
-
|
|
2717
|
+
L.confirm({
|
|
2696
2718
|
title: "确认覆盖当前视图?",
|
|
2697
2719
|
icon: /* @__PURE__ */ c(Zn, {}),
|
|
2698
2720
|
content: "确认后将覆盖原筛选条件",
|
|
2699
2721
|
okText: "确认",
|
|
2700
2722
|
cancelText: "取消",
|
|
2701
2723
|
onOk: /* @__PURE__ */ r(() => {
|
|
2702
|
-
|
|
2724
|
+
w?.(n);
|
|
2703
2725
|
}, "onOk")
|
|
2704
2726
|
});
|
|
2705
2727
|
break e;
|
|
2706
2728
|
}
|
|
2707
2729
|
case "SaveAs":
|
|
2708
|
-
|
|
2730
|
+
D(!0), R("SaveAs");
|
|
2709
2731
|
}
|
|
2710
|
-
}, "t2"), e[12] = n, e[13] =
|
|
2711
|
-
const I =
|
|
2732
|
+
}, "t2"), e[12] = n, e[13] = L, e[14] = w, e[15] = k) : k = e[15];
|
|
2733
|
+
const I = k;
|
|
2712
2734
|
let _;
|
|
2713
|
-
e[16] !== n || e[17] !==
|
|
2714
|
-
|
|
2735
|
+
e[16] !== n || e[17] !== b ? (_ = /* @__PURE__ */ r((ae, ne) => {
|
|
2736
|
+
b?.({
|
|
2715
2737
|
...n,
|
|
2716
2738
|
name: ae,
|
|
2717
2739
|
type: ne,
|
|
2718
2740
|
source: "CUSTOM",
|
|
2719
2741
|
isDefault: !1
|
|
2720
2742
|
}, () => {
|
|
2721
|
-
|
|
2743
|
+
D(!1);
|
|
2722
2744
|
});
|
|
2723
|
-
}, "t3"), e[16] = n, e[17] =
|
|
2745
|
+
}, "t3"), e[16] = n, e[17] = b, e[18] = _) : _ = e[18];
|
|
2724
2746
|
const S = _;
|
|
2725
2747
|
let N;
|
|
2726
2748
|
e[19] !== I ? (N = {
|
|
2727
|
-
items:
|
|
2749
|
+
items: Ya,
|
|
2728
2750
|
onClick: /* @__PURE__ */ r((ne) => {
|
|
2729
2751
|
I(ne.key);
|
|
2730
2752
|
}, "handleMenuClick")
|
|
2731
2753
|
}, e[19] = I, e[20] = N) : N = e[20];
|
|
2732
|
-
const
|
|
2754
|
+
const C = N;
|
|
2733
2755
|
let p;
|
|
2734
2756
|
e[21] !== m ? (p = /* @__PURE__ */ r(() => {
|
|
2735
2757
|
m?.();
|
|
2736
2758
|
}, "t5"), e[21] = m, e[22] = p) : p = e[22];
|
|
2737
|
-
const
|
|
2738
|
-
let H;
|
|
2739
|
-
e[23] !== f ? (H = /* @__PURE__ */ r(() => {
|
|
2740
|
-
f?.(!0);
|
|
2741
|
-
}, "t6"), e[23] = f, e[24] = H) : H = e[24];
|
|
2742
|
-
const C = H;
|
|
2759
|
+
const O = p;
|
|
2743
2760
|
let z;
|
|
2744
|
-
e[
|
|
2745
|
-
|
|
2761
|
+
e[23] !== d ? (z = /* @__PURE__ */ r(() => {
|
|
2762
|
+
d?.(!0);
|
|
2763
|
+
}, "t6"), e[23] = d, e[24] = z) : z = e[24];
|
|
2764
|
+
const v = z;
|
|
2765
|
+
let g;
|
|
2766
|
+
e[25] !== v || e[26] !== u || e[27] !== l ? (g = !u && /* @__PURE__ */ Z(_e, { children: [
|
|
2767
|
+
/* @__PURE__ */ c("div", { onClick: v, children: /* @__PURE__ */ c(He, { icon: /* @__PURE__ */ c(Jn, {}), active: !1 }) }),
|
|
2746
2768
|
/* @__PURE__ */ c(ze, { orientation: "vertical" }),
|
|
2747
2769
|
/* @__PURE__ */ c("span", { style: {
|
|
2748
2770
|
fontSize: "16px"
|
|
2749
2771
|
}, children: l }),
|
|
2750
|
-
/* @__PURE__ */ c(
|
|
2751
|
-
] }), e[25] =
|
|
2752
|
-
let
|
|
2753
|
-
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2772
|
+
/* @__PURE__ */ c(Ha, {})
|
|
2773
|
+
] }), e[25] = v, e[26] = u, e[27] = l, e[28] = g) : g = e[28];
|
|
2774
|
+
let V;
|
|
2775
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = {
|
|
2754
2776
|
fontSize: "16px"
|
|
2755
|
-
}, e[29] =
|
|
2777
|
+
}, e[29] = V) : V = e[29];
|
|
2756
2778
|
let M;
|
|
2757
|
-
e[30] !== n.name ? (M = /* @__PURE__ */ c("span", { style:
|
|
2758
|
-
let
|
|
2759
|
-
e[32] !== n.source || e[33] !==
|
|
2779
|
+
e[30] !== n.name ? (M = /* @__PURE__ */ c("span", { style: V, children: n.name }), e[30] = n.name, e[31] = M) : M = e[31];
|
|
2780
|
+
let K;
|
|
2781
|
+
e[32] !== n.source || e[33] !== O || e[34] !== C || e[35] !== I || e[36] !== f ? (K = f && /* @__PURE__ */ Z(_e, { children: [
|
|
2760
2782
|
/* @__PURE__ */ c("div", { style: {
|
|
2761
2783
|
color: "rgba(0,0,0,0.45)"
|
|
2762
2784
|
}, children: "(已编辑)" }),
|
|
2763
|
-
n.source === "SYSTEM" ? /* @__PURE__ */ c(Ee, { type: "default", size: "small", onClick: /* @__PURE__ */ r(() => I("SaveAs"), "onClick"), children: "另存为" }) : /* @__PURE__ */ c(Pe, { menu:
|
|
2764
|
-
/* @__PURE__ */ c(Ee, { type: "default", size: "small", onClick:
|
|
2765
|
-
] }), e[32] = n.source, e[33] =
|
|
2785
|
+
n.source === "SYSTEM" ? /* @__PURE__ */ c(Ee, { type: "default", size: "small", onClick: /* @__PURE__ */ r(() => I("SaveAs"), "onClick"), children: "另存为" }) : /* @__PURE__ */ c(Pe, { menu: C, trigger: ["click"], children: /* @__PURE__ */ c(Ee, { size: "small", icon: /* @__PURE__ */ c(Be, {}), iconPlacement: "end", children: "保存" }) }),
|
|
2786
|
+
/* @__PURE__ */ c(Ee, { type: "default", size: "small", onClick: O, children: "重置" })
|
|
2787
|
+
] }), e[32] = n.source, e[33] = O, e[34] = C, e[35] = I, e[36] = f, e[37] = K) : K = e[37];
|
|
2766
2788
|
let q;
|
|
2767
|
-
e[38] !==
|
|
2768
|
-
|
|
2789
|
+
e[38] !== K || e[39] !== g || e[40] !== M ? (q = /* @__PURE__ */ Z(pe, { gap: "8px", align: "center", className: Kt.leftItems, children: [
|
|
2790
|
+
g,
|
|
2769
2791
|
M,
|
|
2770
|
-
|
|
2771
|
-
] }), e[38] =
|
|
2792
|
+
K
|
|
2793
|
+
] }), e[38] = K, e[39] = g, e[40] = M, e[41] = q) : q = e[41];
|
|
2772
2794
|
let te;
|
|
2773
|
-
e[42] !== T || e[43] !== h ? (te = /* @__PURE__ */ c(
|
|
2795
|
+
e[42] !== T || e[43] !== h ? (te = /* @__PURE__ */ c(Ma, { defaultShowFilter: h, onChange: T }), e[42] = T, e[43] = h, e[44] = te) : te = e[44];
|
|
2774
2796
|
let J;
|
|
2775
|
-
e[45] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = /* @__PURE__ */ c(
|
|
2776
|
-
let
|
|
2777
|
-
e[46] !== E || e[47] !== y ? (
|
|
2778
|
-
let
|
|
2779
|
-
e[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2797
|
+
e[45] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = /* @__PURE__ */ c(Ua, {}), e[45] = J) : J = e[45];
|
|
2798
|
+
let G;
|
|
2799
|
+
e[46] !== E || e[47] !== y ? (G = /* @__PURE__ */ c(ka, { defaultTableSize: E, onChange: y }), e[46] = E, e[47] = y, e[48] = G) : G = e[48];
|
|
2800
|
+
let Y, Q, le;
|
|
2801
|
+
e[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ c(za, {}), Q = /* @__PURE__ */ c(ze, { orientation: "vertical" }), le = /* @__PURE__ */ c(Fa, {}), e[49] = Y, e[50] = Q, e[51] = le) : (Y = e[49], Q = e[50], le = e[51]);
|
|
2780
2802
|
let fe;
|
|
2781
|
-
e[52] !== s?.enabled || e[53] !== s?.title || e[54] !==
|
|
2803
|
+
e[52] !== s?.enabled || e[53] !== s?.title || e[54] !== H ? (fe = s?.enabled && /* @__PURE__ */ Z(_e, { children: [
|
|
2782
2804
|
/* @__PURE__ */ c(ze, { orientation: "vertical" }),
|
|
2783
2805
|
/* @__PURE__ */ c(Pe, { menu: {
|
|
2784
|
-
items:
|
|
2806
|
+
items: H
|
|
2785
2807
|
}, trigger: ["click"], children: /* @__PURE__ */ c(Ee, { icon: /* @__PURE__ */ c(Be, {}), iconPlacement: "end", children: s?.title && "批量操作" }) })
|
|
2786
|
-
] }), e[52] = s?.enabled, e[53] = s?.title, e[54] =
|
|
2808
|
+
] }), e[52] = s?.enabled, e[53] = s?.title, e[54] = H, e[55] = fe) : fe = e[55];
|
|
2787
2809
|
let se;
|
|
2788
|
-
e[56] !== i || e[57] !==
|
|
2810
|
+
e[56] !== i || e[57] !== P || e[58] !== o ? (se = i && /* @__PURE__ */ Z(_e, { children: [
|
|
2789
2811
|
/* @__PURE__ */ c(ze, { orientation: "vertical" }),
|
|
2790
2812
|
/* @__PURE__ */ Z(Se.Compact, { children: [
|
|
2791
2813
|
i.render ? i.render(o) : /* @__PURE__ */ c(Ee, { type: "primary", ...i.attributes, onClick: /* @__PURE__ */ r(() => i.onClick?.(o), "onClick"), children: i.title }),
|
|
2792
|
-
|
|
2793
|
-
items:
|
|
2814
|
+
P.length > 0 && /* @__PURE__ */ c(Pe, { menu: {
|
|
2815
|
+
items: P
|
|
2794
2816
|
}, trigger: ["click"], placement: "bottomRight", children: /* @__PURE__ */ c(Ee, { type: "primary", icon: /* @__PURE__ */ c(Be, {}) }) })
|
|
2795
2817
|
] })
|
|
2796
|
-
] }), e[56] = i, e[57] =
|
|
2818
|
+
] }), e[56] = i, e[57] = P, e[58] = o, e[59] = se) : se = e[59];
|
|
2797
2819
|
let ie;
|
|
2798
|
-
e[60] !== te || e[61] !==
|
|
2820
|
+
e[60] !== te || e[61] !== G || e[62] !== fe || e[63] !== se ? (ie = /* @__PURE__ */ Z(pe, { gap: "8px", align: "center", className: Kt.rightItems, children: [
|
|
2799
2821
|
te,
|
|
2800
2822
|
J,
|
|
2801
|
-
|
|
2802
|
-
|
|
2823
|
+
G,
|
|
2824
|
+
Y,
|
|
2803
2825
|
Q,
|
|
2804
2826
|
le,
|
|
2805
2827
|
fe,
|
|
2806
2828
|
se
|
|
2807
|
-
] }), e[60] = te, e[61] =
|
|
2829
|
+
] }), e[60] = te, e[61] = G, e[62] = fe, e[63] = se, e[64] = ie) : ie = e[64];
|
|
2808
2830
|
let de;
|
|
2809
2831
|
e[65] !== q || e[66] !== ie ? (de = /* @__PURE__ */ Z(pe, { align: "center", justify: "space-between", children: [
|
|
2810
2832
|
q,
|
|
2811
2833
|
ie
|
|
2812
2834
|
] }), e[65] = q, e[66] = ie, e[67] = de) : de = e[67];
|
|
2813
2835
|
let ee;
|
|
2814
|
-
e[68] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ r(() =>
|
|
2836
|
+
e[68] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ r(() => D(!1), "t22"), e[68] = ee) : ee = e[68];
|
|
2815
2837
|
let oe;
|
|
2816
|
-
e[69] !== n.name || e[70] !==
|
|
2838
|
+
e[69] !== n.name || e[70] !== F || e[71] !== S || e[72] !== x || e[73] !== A ? (oe = /* @__PURE__ */ c(An, { mode: A, open: x, defaultViewType: F, defaultViewName: n.name, onSaveView: S, onCancel: ee }), e[69] = n.name, e[70] = F, e[71] = S, e[72] = x, e[73] = A, e[74] = oe) : oe = e[74];
|
|
2817
2839
|
let he;
|
|
2818
|
-
return e[75] !==
|
|
2840
|
+
return e[75] !== W || e[76] !== de || e[77] !== oe ? (he = /* @__PURE__ */ Z(_e, { children: [
|
|
2819
2841
|
de,
|
|
2820
|
-
|
|
2842
|
+
W,
|
|
2821
2843
|
oe
|
|
2822
|
-
] }), e[75] =
|
|
2823
|
-
}
|
|
2824
|
-
r(
|
|
2825
|
-
const
|
|
2826
|
-
userViews:
|
|
2827
|
-
container:
|
|
2828
|
-
topBar:
|
|
2829
|
-
filterPanel:
|
|
2844
|
+
] }), e[75] = W, e[76] = de, e[77] = oe, e[78] = he) : he = e[78], he;
|
|
2845
|
+
}
|
|
2846
|
+
r(Wa, "TopBar");
|
|
2847
|
+
const Ka = "_userViews_1rq5j_1", Ga = "_container_1rq5j_7", ja = "_topBar_1rq5j_12", qa = "_filterPanel_1rq5j_27", We = {
|
|
2848
|
+
userViews: Ka,
|
|
2849
|
+
container: Ga,
|
|
2850
|
+
topBar: ja,
|
|
2851
|
+
filterPanel: qa
|
|
2830
2852
|
};
|
|
2831
|
-
function
|
|
2853
|
+
function Qa(t) {
|
|
2832
2854
|
const e = j(77);
|
|
2833
|
-
let l, n, i, a, s, o, u,
|
|
2855
|
+
let l, n, i, a, s, o, u, d, f, m, h, T, E, y;
|
|
2834
2856
|
e[0] !== t ? ({
|
|
2835
2857
|
ref: h,
|
|
2836
2858
|
fields: s,
|
|
@@ -2842,77 +2864,77 @@ function Ka(t) {
|
|
|
2842
2864
|
pagination: m,
|
|
2843
2865
|
enableRowSelection: a,
|
|
2844
2866
|
viewTableSetting: y,
|
|
2845
|
-
onClickPrimaryKey:
|
|
2846
|
-
onSelectedDataChange:
|
|
2867
|
+
onClickPrimaryKey: d,
|
|
2868
|
+
onSelectedDataChange: f,
|
|
2847
2869
|
loading: u,
|
|
2848
2870
|
...E
|
|
2849
|
-
} = t, e[0] = t, e[1] = l, e[2] = n, e[3] = i, e[4] = a, e[5] = s, e[6] = o, e[7] = u, e[8] =
|
|
2871
|
+
} = t, e[0] = t, e[1] = l, e[2] = n, e[3] = i, e[4] = a, e[5] = s, e[6] = o, e[7] = u, e[8] = d, e[9] = f, e[10] = m, e[11] = h, e[12] = T, e[13] = E, e[14] = y) : (l = e[1], n = e[2], i = e[3], a = e[4], s = e[5], o = e[6], u = e[7], d = e[8], f = e[9], m = e[10], h = e[11], T = e[12], E = e[13], y = e[14]);
|
|
2850
2872
|
const {
|
|
2851
|
-
page:
|
|
2852
|
-
setPage:
|
|
2853
|
-
activeFilters:
|
|
2854
|
-
setActiveFilters:
|
|
2855
|
-
columns:
|
|
2856
|
-
setColumns:
|
|
2857
|
-
pageSize:
|
|
2858
|
-
setPageSize:
|
|
2859
|
-
tableSize:
|
|
2873
|
+
page: b,
|
|
2874
|
+
setPage: w,
|
|
2875
|
+
activeFilters: A,
|
|
2876
|
+
setActiveFilters: R,
|
|
2877
|
+
columns: x,
|
|
2878
|
+
setColumns: D,
|
|
2879
|
+
pageSize: F,
|
|
2880
|
+
setPageSize: $,
|
|
2881
|
+
tableSize: H,
|
|
2860
2882
|
setTableSize: U,
|
|
2861
|
-
setCondition:
|
|
2862
|
-
setSorter:
|
|
2863
|
-
selectedCount:
|
|
2864
|
-
updateSelectedCount:
|
|
2865
|
-
} =
|
|
2883
|
+
setCondition: P,
|
|
2884
|
+
setSorter: L,
|
|
2885
|
+
selectedCount: W,
|
|
2886
|
+
updateSelectedCount: k
|
|
2887
|
+
} = nr(E), {
|
|
2866
2888
|
locale: I
|
|
2867
2889
|
} = Oe();
|
|
2868
2890
|
let _;
|
|
2869
|
-
e[15] !==
|
|
2870
|
-
|
|
2871
|
-
}, "t1"), e[15] =
|
|
2891
|
+
e[15] !== P ? (_ = /* @__PURE__ */ r((ee) => {
|
|
2892
|
+
P(ee);
|
|
2893
|
+
}, "t1"), e[15] = P, e[16] = _) : _ = e[16];
|
|
2872
2894
|
const S = _;
|
|
2873
2895
|
let N;
|
|
2874
|
-
e[17] !==
|
|
2875
|
-
|
|
2876
|
-
}, "t2"), e[17] =
|
|
2877
|
-
const
|
|
2896
|
+
e[17] !== b || e[18] !== F || e[19] !== w || e[20] !== $ ? (N = /* @__PURE__ */ r((ee, oe) => {
|
|
2897
|
+
b !== ee && w(ee), F !== oe && $(oe);
|
|
2898
|
+
}, "t2"), e[17] = b, e[18] = F, e[19] = w, e[20] = $, e[21] = N) : N = e[21];
|
|
2899
|
+
const C = N;
|
|
2878
2900
|
let p;
|
|
2879
|
-
e[22] !==
|
|
2880
|
-
|
|
2881
|
-
}, "t3"), e[22] =
|
|
2882
|
-
const
|
|
2883
|
-
let
|
|
2884
|
-
e[25] !==
|
|
2901
|
+
e[22] !== f || e[23] !== k ? (p = /* @__PURE__ */ r((ee) => {
|
|
2902
|
+
f?.(ee), k(ee.length);
|
|
2903
|
+
}, "t3"), e[22] = f, e[23] = k, e[24] = p) : p = e[24];
|
|
2904
|
+
const O = p;
|
|
2905
|
+
let z;
|
|
2906
|
+
e[25] !== L ? (z = /* @__PURE__ */ r((ee) => {
|
|
2885
2907
|
let oe;
|
|
2886
|
-
Array.isArray(ee) ? oe = ee.filter(
|
|
2908
|
+
Array.isArray(ee) ? oe = ee.filter(Ja).map(Za) : ee.field ? oe = [{
|
|
2887
2909
|
field: Array.isArray(ee.field) ? [...ee.field].join(".") : ee.field,
|
|
2888
2910
|
direction: ee.order === "ascend" ? "ASC" : "DESC"
|
|
2889
|
-
}] : oe = [],
|
|
2890
|
-
}, "t4"), e[25] =
|
|
2891
|
-
const
|
|
2911
|
+
}] : oe = [], L(oe);
|
|
2912
|
+
}, "t4"), e[25] = L, e[26] = z) : z = e[26];
|
|
2913
|
+
const v = z, g = we(null), V = we(null);
|
|
2892
2914
|
let M;
|
|
2893
|
-
e[27] !==
|
|
2894
|
-
|
|
2895
|
-
}, "t5"), e[27] =
|
|
2896
|
-
const
|
|
2915
|
+
e[27] !== f || e[28] !== k ? (M = /* @__PURE__ */ r(() => {
|
|
2916
|
+
V.current?.clearSelectedRowKeys(), f?.([]), k(0);
|
|
2917
|
+
}, "t5"), e[27] = f, e[28] = k, e[29] = M) : M = e[29];
|
|
2918
|
+
const K = M;
|
|
2897
2919
|
let q;
|
|
2898
|
-
e[30] !==
|
|
2899
|
-
|
|
2900
|
-
}, "t6"), e[30] =
|
|
2920
|
+
e[30] !== K ? (q = /* @__PURE__ */ r(() => {
|
|
2921
|
+
g.current?.reset(), K();
|
|
2922
|
+
}, "t6"), e[30] = K, e[31] = q) : q = e[31];
|
|
2901
2923
|
const te = q;
|
|
2902
2924
|
let J;
|
|
2903
|
-
e[32] !==
|
|
2904
|
-
clearSelectedRowKeys:
|
|
2925
|
+
e[32] !== K || e[33] !== te || e[34] !== U ? (J = /* @__PURE__ */ r(() => ({
|
|
2926
|
+
clearSelectedRowKeys: K,
|
|
2905
2927
|
updateTableSize: U,
|
|
2906
2928
|
reset: te
|
|
2907
|
-
}), "t7"), e[32] =
|
|
2908
|
-
let
|
|
2909
|
-
e[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2929
|
+
}), "t7"), e[32] = K, e[33] = te, e[34] = U, e[35] = J) : J = e[35], Re(h, J);
|
|
2930
|
+
let G;
|
|
2931
|
+
e[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = {
|
|
2910
2932
|
display: "flex"
|
|
2911
|
-
}, e[36] =
|
|
2912
|
-
let
|
|
2913
|
-
e[37] !==
|
|
2933
|
+
}, e[36] = G) : G = e[36];
|
|
2934
|
+
let Y;
|
|
2935
|
+
e[37] !== A || e[38] !== n || e[39] !== o || e[40] !== S || e[41] !== R || e[42] !== T ? (Y = o === "editable" && /* @__PURE__ */ c("div", { className: We.filterPanel, style: {
|
|
2914
2936
|
display: T ? "block" : "none"
|
|
2915
|
-
}, children: /* @__PURE__ */ c(
|
|
2937
|
+
}, children: /* @__PURE__ */ c(Ai, { row: {
|
|
2916
2938
|
gutter: [24, 16],
|
|
2917
2939
|
wrap: !0
|
|
2918
2940
|
}, col: {
|
|
@@ -2922,55 +2944,55 @@ function Ka(t) {
|
|
|
2922
2944
|
md: 12,
|
|
2923
2945
|
sm: 24,
|
|
2924
2946
|
xs: 24
|
|
2925
|
-
}, ref:
|
|
2947
|
+
}, ref: g, filters: A, availableFilters: n, resetButton: !1, onSearch: S, onChange: R }) }), e[37] = A, e[38] = n, e[39] = o, e[40] = S, e[41] = R, e[42] = T, e[43] = Y) : Y = e[43];
|
|
2926
2948
|
let Q;
|
|
2927
|
-
e[44] !==
|
|
2949
|
+
e[44] !== A || e[45] !== o || e[46] !== S || e[47] !== T ? (Q = o === "normal" && /* @__PURE__ */ c("div", { className: We.filterPanel, style: {
|
|
2928
2950
|
display: T ? "block" : "none"
|
|
2929
|
-
}, children: /* @__PURE__ */ c(Sn, { ref:
|
|
2951
|
+
}, children: /* @__PURE__ */ c(Sn, { ref: g, filters: A, resetButton: !1, onSearch: S }) }), e[44] = A, e[45] = o, e[46] = S, e[47] = T, e[48] = Q) : Q = e[48];
|
|
2930
2952
|
let le;
|
|
2931
2953
|
e[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (le = {
|
|
2932
2954
|
pagination: !1
|
|
2933
2955
|
}, e[49] = le) : le = e[49];
|
|
2934
2956
|
const fe = y || !1;
|
|
2935
2957
|
let se;
|
|
2936
|
-
e[50] !== l || e[51] !==
|
|
2958
|
+
e[50] !== l || e[51] !== x || e[52] !== i.list || e[53] !== a || e[54] !== s || e[55] !== v || e[56] !== O || e[57] !== u || e[58] !== d || e[59] !== D || e[60] !== fe || e[61] !== H ? (se = /* @__PURE__ */ c(Ra, { ref: V, loading: u, dataSource: i.list, fields: s, columns: x, onColumnsChange: D, tableSize: H, actionColumn: l, onSortChanged: v, onSelectChange: O, attributes: le, enableRowSelection: a, onClickPrimaryKey: d, viewTableSetting: fe }), e[50] = l, e[51] = x, e[52] = i.list, e[53] = a, e[54] = s, e[55] = v, e[56] = O, e[57] = u, e[58] = d, e[59] = D, e[60] = fe, e[61] = H, e[62] = se) : se = e[62];
|
|
2937
2959
|
let ie;
|
|
2938
|
-
e[63] !== i.total || e[64] !== a || e[65] !==
|
|
2960
|
+
e[63] !== i.total || e[64] !== a || e[65] !== C || e[66] !== I || e[67] !== b || e[68] !== F || e[69] !== m || e[70] !== W ? (ie = (m !== !1 || a) && /* @__PURE__ */ Z("div", { style: {
|
|
2939
2961
|
display: "flex",
|
|
2940
2962
|
alignItems: "center",
|
|
2941
2963
|
justifyContent: "space-between"
|
|
2942
2964
|
}, children: [
|
|
2943
|
-
/* @__PURE__ */ c("span", { children:
|
|
2944
|
-
/* @__PURE__ */ c(Pn, { showTotal:
|
|
2945
|
-
] }), e[63] = i.total, e[64] = a, e[65] =
|
|
2965
|
+
/* @__PURE__ */ c("span", { children: W ? I.selectedCountLabel ? I.selectedCountLabel.format(W) : `已选择 ${W} 条数据` : "" }),
|
|
2966
|
+
/* @__PURE__ */ c(Pn, { showTotal: Xa, defaultCurrent: b, current: b, pageSize: F || 10, total: i.total, pageSizeOptions: ["10", "20", "50", "100"], ...m, onChange: C })
|
|
2967
|
+
] }), e[63] = i.total, e[64] = a, e[65] = C, e[66] = I, e[67] = b, e[68] = F, e[69] = m, e[70] = W, e[71] = ie) : ie = e[71];
|
|
2946
2968
|
let de;
|
|
2947
|
-
return e[72] !== Q || e[73] !== se || e[74] !== ie || e[75] !==
|
|
2948
|
-
|
|
2969
|
+
return e[72] !== Q || e[73] !== se || e[74] !== ie || e[75] !== Y ? (de = /* @__PURE__ */ Z(Se, { orientation: "vertical", style: G, size: "small", children: [
|
|
2970
|
+
Y,
|
|
2949
2971
|
Q,
|
|
2950
2972
|
se,
|
|
2951
2973
|
ie
|
|
2952
|
-
] }), e[72] = Q, e[73] = se, e[74] = ie, e[75] =
|
|
2974
|
+
] }), e[72] = Q, e[73] = se, e[74] = ie, e[75] = Y, e[76] = de) : de = e[76], de;
|
|
2953
2975
|
}
|
|
2954
|
-
r(
|
|
2955
|
-
function
|
|
2976
|
+
r(Qa, "View");
|
|
2977
|
+
function Xa(t) {
|
|
2956
2978
|
return `共 ${t} 条数据`;
|
|
2957
2979
|
}
|
|
2958
|
-
r(
|
|
2959
|
-
function
|
|
2980
|
+
r(Xa, "_temp3");
|
|
2981
|
+
function Za(t) {
|
|
2960
2982
|
return {
|
|
2961
2983
|
field: Array.isArray(t.field) ? [...t.field].join(".") : t.field,
|
|
2962
2984
|
direction: t.order === "ascend" ? "ASC" : "DESC"
|
|
2963
2985
|
};
|
|
2964
2986
|
}
|
|
2965
|
-
r(
|
|
2966
|
-
function
|
|
2987
|
+
r(Za, "_temp2$1");
|
|
2988
|
+
function Ja(t) {
|
|
2967
2989
|
return t.field;
|
|
2968
2990
|
}
|
|
2969
|
-
r(
|
|
2970
|
-
const
|
|
2971
|
-
function
|
|
2972
|
-
defaultPage: t =
|
|
2973
|
-
defaultPageSize: e =
|
|
2991
|
+
r(Ja, "_temp$1");
|
|
2992
|
+
const er = 1, tr = 10;
|
|
2993
|
+
function nr({
|
|
2994
|
+
defaultPage: t = er,
|
|
2995
|
+
defaultPageSize: e = tr,
|
|
2974
2996
|
...l
|
|
2975
2997
|
}) {
|
|
2976
2998
|
const {
|
|
@@ -2980,108 +3002,108 @@ function Ja({
|
|
|
2980
3002
|
defaultActiveFilters: s,
|
|
2981
3003
|
externalActiveFilters: o,
|
|
2982
3004
|
externalUpdateActiveFilters: u,
|
|
2983
|
-
externalPage:
|
|
2984
|
-
externalUpdatePage:
|
|
3005
|
+
externalPage: d,
|
|
3006
|
+
externalUpdatePage: f,
|
|
2985
3007
|
externalPageSize: m,
|
|
2986
3008
|
externalUpdatePageSize: h,
|
|
2987
3009
|
defaultTableSize: T,
|
|
2988
3010
|
externalTableSize: E,
|
|
2989
3011
|
externalUpdateTableSize: y,
|
|
2990
|
-
defaultSorter:
|
|
2991
|
-
externalSorter:
|
|
2992
|
-
externalUpdateSorter:
|
|
2993
|
-
defaultCondition:
|
|
2994
|
-
externalCondition:
|
|
2995
|
-
externalUpdateCondition:
|
|
2996
|
-
onChange:
|
|
3012
|
+
defaultSorter: b,
|
|
3013
|
+
externalSorter: w,
|
|
3014
|
+
externalUpdateSorter: A,
|
|
3015
|
+
defaultCondition: R,
|
|
3016
|
+
externalCondition: x,
|
|
3017
|
+
externalUpdateCondition: D,
|
|
3018
|
+
onChange: F
|
|
2997
3019
|
} = l, {
|
|
2998
|
-
columns:
|
|
2999
|
-
setColumns:
|
|
3020
|
+
columns: $,
|
|
3021
|
+
setColumns: H,
|
|
3000
3022
|
activeFilters: U,
|
|
3001
|
-
setActiveFilters:
|
|
3002
|
-
page:
|
|
3003
|
-
setPage:
|
|
3004
|
-
pageSize:
|
|
3023
|
+
setActiveFilters: P,
|
|
3024
|
+
page: L,
|
|
3025
|
+
setPage: W,
|
|
3026
|
+
pageSize: k,
|
|
3005
3027
|
setPageSize: I,
|
|
3006
3028
|
tableSize: _,
|
|
3007
3029
|
setTableSize: S,
|
|
3008
3030
|
condition: N,
|
|
3009
|
-
setCondition:
|
|
3031
|
+
setCondition: C,
|
|
3010
3032
|
sorter: p,
|
|
3011
|
-
setSorter:
|
|
3012
|
-
reset:
|
|
3033
|
+
setSorter: O,
|
|
3034
|
+
reset: z
|
|
3013
3035
|
} = vn({
|
|
3014
3036
|
defaultColumns: n,
|
|
3015
3037
|
defaultPageSize: e,
|
|
3016
3038
|
defaultActiveFilters: s || [],
|
|
3017
3039
|
defaultTableSize: T,
|
|
3018
|
-
defaultCondition:
|
|
3019
|
-
defaultSorter:
|
|
3020
|
-
}),
|
|
3040
|
+
defaultCondition: R,
|
|
3041
|
+
defaultSorter: b
|
|
3042
|
+
}), v = i ?? $, g = a ?? H, V = o ?? U, M = u ?? P, K = d ?? L, q = f ?? W, te = m ?? k, J = h ?? I, G = x ?? N, Y = D ?? C, Q = w ?? p, le = A ?? O, fe = E ?? _, se = y ?? S, [ie, de] = X(0);
|
|
3021
3043
|
return {
|
|
3022
|
-
page:
|
|
3044
|
+
page: K,
|
|
3023
3045
|
setPage: /* @__PURE__ */ r((re) => {
|
|
3024
|
-
q(re),
|
|
3046
|
+
q(re), F?.(G, re, te, Q);
|
|
3025
3047
|
}, "setPageFn"),
|
|
3026
3048
|
pageSize: te,
|
|
3027
3049
|
setPageSize: /* @__PURE__ */ r((re) => {
|
|
3028
|
-
J(re),
|
|
3050
|
+
J(re), F?.(G, K, re, Q);
|
|
3029
3051
|
}, "setPageSizeFn"),
|
|
3030
|
-
columns:
|
|
3031
|
-
setColumns:
|
|
3032
|
-
activeFilters:
|
|
3052
|
+
columns: v,
|
|
3053
|
+
setColumns: g,
|
|
3054
|
+
activeFilters: V,
|
|
3033
3055
|
setActiveFilters: M,
|
|
3034
3056
|
tableSize: fe,
|
|
3035
3057
|
setTableSize: /* @__PURE__ */ r((re) => {
|
|
3036
3058
|
se(re);
|
|
3037
3059
|
}, "setTableSizeFn"),
|
|
3038
|
-
condition:
|
|
3060
|
+
condition: G,
|
|
3039
3061
|
setCondition: /* @__PURE__ */ r((re) => {
|
|
3040
|
-
|
|
3062
|
+
Y(re), q(1), F?.(re, 1, te, Q);
|
|
3041
3063
|
}, "setConditionFn"),
|
|
3042
3064
|
sorter: Q,
|
|
3043
3065
|
setSorter: /* @__PURE__ */ r((re) => {
|
|
3044
|
-
le(re), q(1),
|
|
3066
|
+
le(re), q(1), F?.(G, 1, te, re);
|
|
3045
3067
|
}, "setSorterFn"),
|
|
3046
3068
|
selectedCount: ie,
|
|
3047
3069
|
updateSelectedCount: /* @__PURE__ */ r((re) => {
|
|
3048
3070
|
de(re);
|
|
3049
3071
|
}, "updateSelectedCountFn"),
|
|
3050
3072
|
reset: /* @__PURE__ */ r(() => {
|
|
3051
|
-
|
|
3052
|
-
|
|
3073
|
+
z(), F?.(
|
|
3074
|
+
R || Cn,
|
|
3053
3075
|
t,
|
|
3054
3076
|
e,
|
|
3055
|
-
|
|
3077
|
+
b
|
|
3056
3078
|
);
|
|
3057
3079
|
}, "resetFn")
|
|
3058
3080
|
};
|
|
3059
3081
|
}
|
|
3060
|
-
r(
|
|
3061
|
-
const
|
|
3062
|
-
top:
|
|
3063
|
-
title:
|
|
3064
|
-
customCollapse:
|
|
3065
|
-
viewItem:
|
|
3066
|
-
active:
|
|
3067
|
-
viewName:
|
|
3068
|
-
viewNameText:
|
|
3069
|
-
viewNameTag:
|
|
3082
|
+
r(nr, "useViewState");
|
|
3083
|
+
const lr = "_top_1wlaq_1", ir = "_title_1wlaq_4", ar = "_customCollapse_1wlaq_8", rr = "_viewItem_1wlaq_24", sr = "_active_1wlaq_32", or = "_viewName_1wlaq_36", cr = "_viewNameText_1wlaq_48", ur = "_viewNameTag_1wlaq_85", Le = {
|
|
3084
|
+
top: lr,
|
|
3085
|
+
title: ir,
|
|
3086
|
+
customCollapse: ar,
|
|
3087
|
+
viewItem: rr,
|
|
3088
|
+
active: sr,
|
|
3089
|
+
viewName: or,
|
|
3090
|
+
viewNameText: cr,
|
|
3091
|
+
viewNameTag: ur
|
|
3070
3092
|
};
|
|
3071
|
-
function
|
|
3093
|
+
function fr(t) {
|
|
3072
3094
|
const e = j(19), {
|
|
3073
3095
|
view: l,
|
|
3074
3096
|
countUrl: n,
|
|
3075
3097
|
active: i,
|
|
3076
3098
|
onGetRecordCount: a
|
|
3077
3099
|
} = t, [s, o] = X(0);
|
|
3078
|
-
let u,
|
|
3100
|
+
let u, d;
|
|
3079
3101
|
e[0] !== n || e[1] !== a || e[2] !== l.condition ? (u = /* @__PURE__ */ r(() => {
|
|
3080
|
-
a && a(n, l.condition ||
|
|
3081
|
-
o(
|
|
3102
|
+
a && a(n, l.condition || ke()).then((b) => {
|
|
3103
|
+
o(b || 0);
|
|
3082
3104
|
});
|
|
3083
|
-
}, "t0"),
|
|
3084
|
-
const
|
|
3105
|
+
}, "t0"), d = [n, a, l.condition], e[0] = n, e[1] = a, e[2] = l.condition, e[3] = u, e[4] = d) : (u = e[3], d = e[4]), Ae(u, d);
|
|
3106
|
+
const f = `${Le.viewItem} ${i ? Le.active : ""}`;
|
|
3085
3107
|
let m;
|
|
3086
3108
|
e[5] !== l.name ? (m = /* @__PURE__ */ c("span", { className: Le.viewNameText, "data-tooltip": l.name, children: l.name }), e[5] = l.name, e[6] = m) : m = e[6];
|
|
3087
3109
|
let h;
|
|
@@ -3094,12 +3116,12 @@ function or(t) {
|
|
|
3094
3116
|
let E;
|
|
3095
3117
|
e[12] !== i || e[13] !== s ? (E = !i && /* @__PURE__ */ c("div", { children: s && s > 999 ? "999+" : s || 0 }), e[12] = i, e[13] = s, e[14] = E) : E = e[14];
|
|
3096
3118
|
let y;
|
|
3097
|
-
return e[15] !==
|
|
3119
|
+
return e[15] !== f || e[16] !== T || e[17] !== E ? (y = /* @__PURE__ */ Z(pe, { align: "center", justify: "space-between", className: f, children: [
|
|
3098
3120
|
T,
|
|
3099
3121
|
E
|
|
3100
|
-
] }), e[15] =
|
|
3122
|
+
] }), e[15] = f, e[16] = T, e[17] = E, e[18] = y) : y = e[18], y;
|
|
3101
3123
|
}
|
|
3102
|
-
r(
|
|
3124
|
+
r(fr, "ViewItem");
|
|
3103
3125
|
function jt(t) {
|
|
3104
3126
|
const e = j(13), {
|
|
3105
3127
|
views: l,
|
|
@@ -3110,18 +3132,18 @@ function jt(t) {
|
|
|
3110
3132
|
} = t;
|
|
3111
3133
|
let o;
|
|
3112
3134
|
if (e[0] !== n || e[1] !== i || e[2] !== s || e[3] !== a || e[4] !== l) {
|
|
3113
|
-
let
|
|
3114
|
-
e[6] !== n || e[7] !== i || e[8] !== s || e[9] !== a ? (
|
|
3135
|
+
let d;
|
|
3136
|
+
e[6] !== n || e[7] !== i || e[8] !== s || e[9] !== a ? (d = /* @__PURE__ */ r((f) => /* @__PURE__ */ c("div", { onClick: /* @__PURE__ */ r(() => a(f), "onClick"), style: {
|
|
3115
3137
|
width: "100%",
|
|
3116
3138
|
cursor: "pointer"
|
|
3117
|
-
}, children: /* @__PURE__ */ c(
|
|
3139
|
+
}, children: /* @__PURE__ */ c(fr, { active: f.id === n.id, countUrl: i, view: f, onGetRecordCount: s }) }, f.id), "t12"), e[6] = n, e[7] = i, e[8] = s, e[9] = a, e[10] = d) : d = e[10], o = l.map(d), e[0] = n, e[1] = i, e[2] = s, e[3] = a, e[4] = l, e[5] = o;
|
|
3118
3140
|
} else
|
|
3119
3141
|
o = e[5];
|
|
3120
3142
|
let u;
|
|
3121
3143
|
return e[11] !== o ? (u = /* @__PURE__ */ c(pe, { vertical: !0, align: "start", children: o }), e[11] = o, e[12] = u) : u = e[12], u;
|
|
3122
3144
|
}
|
|
3123
3145
|
r(jt, "ViewItemGroup");
|
|
3124
|
-
function
|
|
3146
|
+
function dr(t) {
|
|
3125
3147
|
const e = j(80), {
|
|
3126
3148
|
name: l,
|
|
3127
3149
|
views: n,
|
|
@@ -3130,36 +3152,36 @@ function cr(t) {
|
|
|
3130
3152
|
onSwitchView: s,
|
|
3131
3153
|
onShowViewPanelChange: o,
|
|
3132
3154
|
onCreateView: u,
|
|
3133
|
-
onUpdateView:
|
|
3134
|
-
onDeleteView:
|
|
3155
|
+
onUpdateView: d,
|
|
3156
|
+
onDeleteView: f,
|
|
3135
3157
|
onGetRecordCount: m
|
|
3136
3158
|
} = t;
|
|
3137
3159
|
let h;
|
|
3138
|
-
e[0] !== n ? (h = n.filter(
|
|
3160
|
+
e[0] !== n ? (h = n.filter(hr), e[0] = n, e[1] = h) : h = e[1];
|
|
3139
3161
|
const T = h;
|
|
3140
3162
|
let E;
|
|
3141
|
-
e[2] !== n ? (E = n.filter(
|
|
3142
|
-
const y = E, [
|
|
3143
|
-
locale:
|
|
3163
|
+
e[2] !== n ? (E = n.filter(mr), e[2] = n, e[3] = E) : E = e[3];
|
|
3164
|
+
const y = E, [b, w] = X(!1), [A, R] = X(!1), [x, D] = X("Create"), [F, $] = X(!1), [H, U] = X("PERSONAL"), {
|
|
3165
|
+
locale: P
|
|
3144
3166
|
} = Oe();
|
|
3145
|
-
let
|
|
3146
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3167
|
+
let L;
|
|
3168
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ r((ue, Ne) => {
|
|
3147
3169
|
ue.preventDefault(), ue.stopPropagation();
|
|
3148
3170
|
e: switch (Ne) {
|
|
3149
3171
|
case "PERSONAL": {
|
|
3150
|
-
|
|
3172
|
+
w(!0);
|
|
3151
3173
|
break e;
|
|
3152
3174
|
}
|
|
3153
3175
|
case "SHARED":
|
|
3154
|
-
|
|
3176
|
+
R(!0);
|
|
3155
3177
|
}
|
|
3156
|
-
}, "t2"), e[4] =
|
|
3157
|
-
const
|
|
3158
|
-
let
|
|
3159
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3160
|
-
ue.stopPropagation(), U(Ne),
|
|
3161
|
-
}, "t3"), e[5] =
|
|
3162
|
-
const I =
|
|
3178
|
+
}, "t2"), e[4] = L) : L = e[4];
|
|
3179
|
+
const W = L;
|
|
3180
|
+
let k;
|
|
3181
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ r((ue, Ne) => {
|
|
3182
|
+
ue.stopPropagation(), U(Ne), D("Create"), $(!0);
|
|
3183
|
+
}, "t3"), e[5] = k) : k = e[5];
|
|
3184
|
+
const I = k;
|
|
3163
3185
|
let _;
|
|
3164
3186
|
e[6] !== i || e[7] !== u ? (_ = /* @__PURE__ */ r((ue, Ne) => {
|
|
3165
3187
|
u?.({
|
|
@@ -3169,53 +3191,53 @@ function cr(t) {
|
|
|
3169
3191
|
source: "CUSTOM",
|
|
3170
3192
|
isDefault: !1
|
|
3171
3193
|
}, () => {
|
|
3172
|
-
|
|
3194
|
+
$(!1);
|
|
3173
3195
|
});
|
|
3174
3196
|
}, "t4"), e[6] = i, e[7] = u, e[8] = _) : _ = e[8];
|
|
3175
3197
|
const S = _;
|
|
3176
3198
|
let N;
|
|
3177
|
-
e[9] !==
|
|
3178
|
-
|
|
3179
|
-
}, "t5"), e[9] =
|
|
3180
|
-
const
|
|
3199
|
+
e[9] !== d ? (N = /* @__PURE__ */ r((ue, Ne) => {
|
|
3200
|
+
d?.(ue, Ne);
|
|
3201
|
+
}, "t5"), e[9] = d, e[10] = N) : N = e[10];
|
|
3202
|
+
const C = N;
|
|
3181
3203
|
let p;
|
|
3182
|
-
e[11] !==
|
|
3183
|
-
|
|
3184
|
-
}, "t6"), e[11] =
|
|
3185
|
-
const
|
|
3186
|
-
let
|
|
3187
|
-
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3188
|
-
/* @__PURE__ */ c(tn, { onClick: /* @__PURE__ */ r((Ne) =>
|
|
3204
|
+
e[11] !== f ? (p = /* @__PURE__ */ r((ue) => {
|
|
3205
|
+
f?.(ue);
|
|
3206
|
+
}, "t6"), e[11] = f, e[12] = p) : p = e[12];
|
|
3207
|
+
const O = p;
|
|
3208
|
+
let z;
|
|
3209
|
+
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ r((ue) => /* @__PURE__ */ Z(Se, { children: [
|
|
3210
|
+
/* @__PURE__ */ c(tn, { onClick: /* @__PURE__ */ r((Ne) => W(Ne, ue), "onClick") }),
|
|
3189
3211
|
/* @__PURE__ */ c(Jt, { onClick: /* @__PURE__ */ r((Ne) => I(Ne, ue), "onClick") })
|
|
3190
|
-
] }), "t7"), e[13] =
|
|
3191
|
-
const
|
|
3192
|
-
let
|
|
3193
|
-
e[14] !== s ? (
|
|
3212
|
+
] }), "t7"), e[13] = z) : z = e[13];
|
|
3213
|
+
const v = z, g = P.view?.viewType?.personal || "个人";
|
|
3214
|
+
let V;
|
|
3215
|
+
e[14] !== s ? (V = /* @__PURE__ */ r((ue) => s(ue), "t9"), e[14] = s, e[15] = V) : V = e[15];
|
|
3194
3216
|
let M;
|
|
3195
|
-
e[16] !== i || e[17] !== a || e[18] !== m || e[19] !== T || e[20] !==
|
|
3196
|
-
let
|
|
3197
|
-
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3217
|
+
e[16] !== i || e[17] !== a || e[18] !== m || e[19] !== T || e[20] !== V ? (M = /* @__PURE__ */ c(jt, { views: T, activeView: i, countUrl: a, onSwitchView: V, onGetRecordCount: m }), e[16] = i, e[17] = a, e[18] = m, e[19] = T, e[20] = V, e[21] = M) : M = e[21];
|
|
3218
|
+
let K;
|
|
3219
|
+
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = v("PERSONAL"), e[22] = K) : K = e[22];
|
|
3198
3220
|
let q;
|
|
3199
|
-
e[23] !== M || e[24] !==
|
|
3221
|
+
e[23] !== M || e[24] !== g ? (q = {
|
|
3200
3222
|
key: "1",
|
|
3201
|
-
label:
|
|
3223
|
+
label: g,
|
|
3202
3224
|
children: M,
|
|
3203
|
-
extra:
|
|
3204
|
-
}, e[23] = M, e[24] =
|
|
3205
|
-
const te =
|
|
3225
|
+
extra: K
|
|
3226
|
+
}, e[23] = M, e[24] = g, e[25] = q) : q = e[25];
|
|
3227
|
+
const te = P.view?.viewType?.shared || "公共";
|
|
3206
3228
|
let J;
|
|
3207
3229
|
e[26] !== s ? (J = /* @__PURE__ */ r((ue) => s(ue), "t14"), e[26] = s, e[27] = J) : J = e[27];
|
|
3208
|
-
let
|
|
3209
|
-
e[28] !== i || e[29] !== a || e[30] !== m || e[31] !== y || e[32] !== J ? (
|
|
3210
|
-
let
|
|
3211
|
-
e[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3230
|
+
let G;
|
|
3231
|
+
e[28] !== i || e[29] !== a || e[30] !== m || e[31] !== y || e[32] !== J ? (G = /* @__PURE__ */ c(jt, { views: y, activeView: i, countUrl: a, onSwitchView: J, onGetRecordCount: m }), e[28] = i, e[29] = a, e[30] = m, e[31] = y, e[32] = J, e[33] = G) : G = e[33];
|
|
3232
|
+
let Y;
|
|
3233
|
+
e[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = v("SHARED"), e[34] = Y) : Y = e[34];
|
|
3212
3234
|
let Q;
|
|
3213
|
-
e[35] !== te || e[36] !==
|
|
3235
|
+
e[35] !== te || e[36] !== G ? (Q = {
|
|
3214
3236
|
key: "2",
|
|
3215
3237
|
label: te,
|
|
3216
|
-
children:
|
|
3217
|
-
extra:
|
|
3218
|
-
}, e[35] = te, e[36] =
|
|
3238
|
+
children: G,
|
|
3239
|
+
extra: Y
|
|
3240
|
+
}, e[35] = te, e[36] = G, e[37] = Q) : Q = e[37];
|
|
3219
3241
|
let le;
|
|
3220
3242
|
e[38] !== q || e[39] !== Q ? (le = [q, Q], e[38] = q, e[39] = Q, e[40] = le) : le = e[40];
|
|
3221
3243
|
const fe = le;
|
|
@@ -3244,17 +3266,17 @@ function cr(t) {
|
|
|
3244
3266
|
ae
|
|
3245
3267
|
] }), e[54] = oe, e[55] = ae, e[56] = ne) : ne = e[56];
|
|
3246
3268
|
let ve;
|
|
3247
|
-
e[57] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = /* @__PURE__ */ r(() =>
|
|
3269
|
+
e[57] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ve = /* @__PURE__ */ r(() => w(!1), "t27"), e[57] = ve) : ve = e[57];
|
|
3248
3270
|
let me;
|
|
3249
|
-
e[58] !==
|
|
3271
|
+
e[58] !== O || e[59] !== C || e[60] !== b || e[61] !== T ? (me = /* @__PURE__ */ c(qt, { viewType: "PERSONAL", views: T, open: b, onCancel: ve, onEditViewName: C, onDeleteView: O }), e[58] = O, e[59] = C, e[60] = b, e[61] = T, e[62] = me) : me = e[62];
|
|
3250
3272
|
let re;
|
|
3251
|
-
e[63] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ r(() =>
|
|
3273
|
+
e[63] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ r(() => R(!1), "t29"), e[63] = re) : re = e[63];
|
|
3252
3274
|
let Ie;
|
|
3253
|
-
e[64] !==
|
|
3275
|
+
e[64] !== O || e[65] !== C || e[66] !== A || e[67] !== y ? (Ie = /* @__PURE__ */ c(qt, { viewType: "SHARED", views: y, open: A, onCancel: re, onEditViewName: C, onDeleteView: O }), e[64] = O, e[65] = C, e[66] = A, e[67] = y, e[68] = Ie) : Ie = e[68];
|
|
3254
3276
|
let ce;
|
|
3255
|
-
e[69] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ce = /* @__PURE__ */ r(() =>
|
|
3277
|
+
e[69] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ce = /* @__PURE__ */ r(() => $(!1), "t31"), e[69] = ce) : ce = e[69];
|
|
3256
3278
|
let Ce;
|
|
3257
|
-
e[70] !==
|
|
3279
|
+
e[70] !== H || e[71] !== S || e[72] !== F || e[73] !== x ? (Ce = /* @__PURE__ */ c(An, { mode: x, open: F, defaultViewType: H, onSaveView: S, onCancel: ce }), e[70] = H, e[71] = S, e[72] = F, e[73] = x, e[74] = Ce) : Ce = e[74];
|
|
3258
3280
|
let Te;
|
|
3259
3281
|
return e[75] !== ne || e[76] !== me || e[77] !== Ie || e[78] !== Ce ? (Te = /* @__PURE__ */ Z(_e, { children: [
|
|
3260
3282
|
ne,
|
|
@@ -3263,15 +3285,15 @@ function cr(t) {
|
|
|
3263
3285
|
Ce
|
|
3264
3286
|
] }), e[75] = ne, e[76] = me, e[77] = Ie, e[78] = Ce, e[79] = Te) : Te = e[79], Te;
|
|
3265
3287
|
}
|
|
3266
|
-
r(
|
|
3267
|
-
function
|
|
3288
|
+
r(dr, "ViewPanel");
|
|
3289
|
+
function mr(t) {
|
|
3268
3290
|
return t.type === "SHARED";
|
|
3269
3291
|
}
|
|
3270
|
-
r(
|
|
3271
|
-
function
|
|
3292
|
+
r(mr, "_temp2");
|
|
3293
|
+
function hr(t) {
|
|
3272
3294
|
return t.type === "PERSONAL";
|
|
3273
3295
|
}
|
|
3274
|
-
r(
|
|
3296
|
+
r(hr, "_temp");
|
|
3275
3297
|
function An(t) {
|
|
3276
3298
|
const e = j(39), {
|
|
3277
3299
|
mode: l,
|
|
@@ -3283,77 +3305,77 @@ function An(t) {
|
|
|
3283
3305
|
} = t, {
|
|
3284
3306
|
locale: u
|
|
3285
3307
|
} = Oe();
|
|
3286
|
-
let
|
|
3287
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3288
|
-
|
|
3289
|
-
}, "t0"), e[0] =
|
|
3290
|
-
const
|
|
3308
|
+
let d;
|
|
3309
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ r(() => {
|
|
3310
|
+
D.current?.submit();
|
|
3311
|
+
}, "t0"), e[0] = d) : d = e[0];
|
|
3312
|
+
const f = d;
|
|
3291
3313
|
let m, h;
|
|
3292
3314
|
e[1] !== a || e[2] !== i ? (m = /* @__PURE__ */ r(() => {
|
|
3293
|
-
|
|
3315
|
+
D.current?.setFieldValue("type", i || "PERSONAL"), D.current?.setFieldValue("name", a || "");
|
|
3294
3316
|
}, "t1"), h = [i, a], e[1] = a, e[2] = i, e[3] = m, e[4] = h) : (m = e[3], h = e[4]), Ae(m, h);
|
|
3295
3317
|
let T;
|
|
3296
3318
|
e[5] !== o ? (T = /* @__PURE__ */ r(() => {
|
|
3297
3319
|
o?.();
|
|
3298
3320
|
}, "t3"), e[5] = o, e[6] = T) : T = e[6];
|
|
3299
3321
|
const E = T, y = u.personalView || "个人视图";
|
|
3300
|
-
let
|
|
3301
|
-
e[7] !== y ? (
|
|
3322
|
+
let b;
|
|
3323
|
+
e[7] !== y ? (b = {
|
|
3302
3324
|
label: y,
|
|
3303
3325
|
value: "PERSONAL"
|
|
3304
|
-
}, e[7] = y, e[8] =
|
|
3305
|
-
const
|
|
3306
|
-
let
|
|
3307
|
-
e[9] !==
|
|
3308
|
-
label:
|
|
3326
|
+
}, e[7] = y, e[8] = b) : b = e[8];
|
|
3327
|
+
const w = u.sharedView || "公共视图";
|
|
3328
|
+
let A;
|
|
3329
|
+
e[9] !== w ? (A = {
|
|
3330
|
+
label: w,
|
|
3309
3331
|
value: "SHARED"
|
|
3310
|
-
}, e[9] =
|
|
3311
|
-
let
|
|
3312
|
-
e[11] !==
|
|
3313
|
-
const
|
|
3314
|
-
let
|
|
3315
|
-
e[14] !== s ? (
|
|
3316
|
-
s?.(
|
|
3317
|
-
}, "t9"), e[14] = s, e[15] =
|
|
3318
|
-
const
|
|
3332
|
+
}, e[9] = w, e[10] = A) : A = e[10];
|
|
3333
|
+
let R;
|
|
3334
|
+
e[11] !== b || e[12] !== A ? (R = [b, A], e[11] = b, e[12] = A, e[13] = R) : R = e[13];
|
|
3335
|
+
const x = R, D = we(null);
|
|
3336
|
+
let F;
|
|
3337
|
+
e[14] !== s ? (F = /* @__PURE__ */ r((v) => {
|
|
3338
|
+
s?.(v.name, v.type);
|
|
3339
|
+
}, "t9"), e[14] = s, e[15] = F) : F = e[15];
|
|
3340
|
+
const $ = F, H = l === "Create" ? u.createViewMethod?.create || "创建视图" : u.createViewMethod?.saveAs || "另存为新视图";
|
|
3319
3341
|
let U;
|
|
3320
3342
|
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = {
|
|
3321
3343
|
span: 5
|
|
3322
3344
|
}, e[16] = U) : U = e[16];
|
|
3323
|
-
const
|
|
3324
|
-
let
|
|
3325
|
-
e[17] !==
|
|
3326
|
-
type:
|
|
3327
|
-
}, e[17] =
|
|
3328
|
-
const
|
|
3329
|
-
let
|
|
3330
|
-
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3345
|
+
const P = i || "PERSONAL";
|
|
3346
|
+
let L;
|
|
3347
|
+
e[17] !== P ? (L = {
|
|
3348
|
+
type: P
|
|
3349
|
+
}, e[17] = P, e[18] = L) : L = e[18];
|
|
3350
|
+
const W = u.view?.viewType?.name || "视图类型";
|
|
3351
|
+
let k;
|
|
3352
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = [{
|
|
3331
3353
|
required: !0
|
|
3332
|
-
}], e[19] =
|
|
3354
|
+
}], e[19] = k) : k = e[19];
|
|
3333
3355
|
let I;
|
|
3334
|
-
e[20] !==
|
|
3356
|
+
e[20] !== x ? (I = /* @__PURE__ */ c($n.Group, { options: x, optionType: "button" }), e[20] = x, e[21] = I) : I = e[21];
|
|
3335
3357
|
let _;
|
|
3336
|
-
e[22] !==
|
|
3358
|
+
e[22] !== W || e[23] !== I ? (_ = /* @__PURE__ */ c(ht.Item, { label: W, name: "type", rules: k, children: I }), e[22] = W, e[23] = I, e[24] = _) : _ = e[24];
|
|
3337
3359
|
const S = u.view?.viewName || "视图名称";
|
|
3338
|
-
let N,
|
|
3360
|
+
let N, C;
|
|
3339
3361
|
e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = [{
|
|
3340
3362
|
required: !0
|
|
3341
3363
|
}, {
|
|
3342
3364
|
type: "string",
|
|
3343
3365
|
min: 1
|
|
3344
|
-
}],
|
|
3366
|
+
}], C = /* @__PURE__ */ c(je, {}), e[25] = N, e[26] = C) : (N = e[25], C = e[26]);
|
|
3345
3367
|
let p;
|
|
3346
|
-
e[27] !== S ? (p = /* @__PURE__ */ c(ht.Item, { label: S, name: "name", rules: N, children:
|
|
3347
|
-
let
|
|
3348
|
-
e[29] !==
|
|
3368
|
+
e[27] !== S ? (p = /* @__PURE__ */ c(ht.Item, { label: S, name: "name", rules: N, children: C }), e[27] = S, e[28] = p) : p = e[28];
|
|
3369
|
+
let O;
|
|
3370
|
+
e[29] !== $ || e[30] !== L || e[31] !== _ || e[32] !== p ? (O = /* @__PURE__ */ Z(ht, { ref: D, name: "basic", labelCol: U, initialValues: L, onFinish: $, autoComplete: "off", children: [
|
|
3349
3371
|
_,
|
|
3350
3372
|
p
|
|
3351
|
-
] }), e[29] =
|
|
3352
|
-
let
|
|
3353
|
-
return e[34] !== E || e[35] !== n || e[36] !==
|
|
3373
|
+
] }), e[29] = $, e[30] = L, e[31] = _, e[32] = p, e[33] = O) : O = e[33];
|
|
3374
|
+
let z;
|
|
3375
|
+
return e[34] !== E || e[35] !== n || e[36] !== H || e[37] !== O ? (z = /* @__PURE__ */ c(st, { title: H, open: n, onOk: f, okText: "确认", onCancel: E, cancelText: "取消", children: O }), e[34] = E, e[35] = n, e[36] = H, e[37] = O, e[38] = z) : z = e[38], z;
|
|
3354
3376
|
}
|
|
3355
3377
|
r(An, "SaveViewModal");
|
|
3356
|
-
function
|
|
3378
|
+
function Tr(t) {
|
|
3357
3379
|
const e = j(16), {
|
|
3358
3380
|
view: l,
|
|
3359
3381
|
editing: n,
|
|
@@ -3361,12 +3383,12 @@ function dr(t) {
|
|
|
3361
3383
|
onCancel: a,
|
|
3362
3384
|
onSave: s,
|
|
3363
3385
|
onDelete: o
|
|
3364
|
-
} = t, [u,
|
|
3365
|
-
locale:
|
|
3386
|
+
} = t, [u, d] = X(l.name), {
|
|
3387
|
+
locale: f
|
|
3366
3388
|
} = Oe();
|
|
3367
3389
|
let m;
|
|
3368
3390
|
e[0] !== a || e[1] !== l.name ? (m = /* @__PURE__ */ r(() => {
|
|
3369
|
-
|
|
3391
|
+
d(l.name), a();
|
|
3370
3392
|
}, "t0"), e[0] = a, e[1] = l.name, e[2] = m) : m = e[2];
|
|
3371
3393
|
const h = m;
|
|
3372
3394
|
let T;
|
|
@@ -3378,13 +3400,13 @@ function dr(t) {
|
|
|
3378
3400
|
}, "t1"), e[3] = s, e[4] = l, e[5] = u, e[6] = T) : T = e[6];
|
|
3379
3401
|
const E = T;
|
|
3380
3402
|
let y;
|
|
3381
|
-
return e[7] !== n || e[8] !== h || e[9] !== E || e[10] !==
|
|
3403
|
+
return e[7] !== n || e[8] !== h || e[9] !== E || e[10] !== f || e[11] !== o || e[12] !== i || e[13] !== l || e[14] !== u ? (y = /* @__PURE__ */ c(_e, { children: n ? /* @__PURE__ */ Z(pe, { align: "center", justify: "space-between", gap: 12, style: {
|
|
3382
3404
|
width: "100%"
|
|
3383
3405
|
}, children: [
|
|
3384
|
-
/* @__PURE__ */ c(je, { value: u, onChange: /* @__PURE__ */ r((
|
|
3406
|
+
/* @__PURE__ */ c(je, { value: u, onChange: /* @__PURE__ */ r((b) => d(b.target.value), "onChange") }),
|
|
3385
3407
|
/* @__PURE__ */ Z(Se, { orientation: "horizontal", children: [
|
|
3386
|
-
/* @__PURE__ */ c(Ee, { type: "default", size: "small", onClick: h, children:
|
|
3387
|
-
/* @__PURE__ */ c(Ee, { type: "primary", size: "small", onClick: E, children:
|
|
3408
|
+
/* @__PURE__ */ c(Ee, { type: "default", size: "small", onClick: h, children: f.viewPanel?.cancelButton || "取消" }),
|
|
3409
|
+
/* @__PURE__ */ c(Ee, { type: "primary", size: "small", onClick: E, children: f.viewPanel?.saveButton || "保存" })
|
|
3388
3410
|
] })
|
|
3389
3411
|
] }) : /* @__PURE__ */ Z(pe, { align: "center", justify: "space-between", gap: 12, style: {
|
|
3390
3412
|
width: "100%"
|
|
@@ -3398,11 +3420,11 @@ function dr(t) {
|
|
|
3398
3420
|
}, children: u }),
|
|
3399
3421
|
l.source === "CUSTOM" ? /* @__PURE__ */ Z(Se, { orientation: "horizontal", children: [
|
|
3400
3422
|
/* @__PURE__ */ c(tl, { onClick: /* @__PURE__ */ r(() => i(l), "onClick") }),
|
|
3401
|
-
/* @__PURE__ */ c(
|
|
3423
|
+
/* @__PURE__ */ c(kn, { title: "确认删除此视图?", description: "视图删除后不可恢复,其数据不受影响,是否确认删除?", onConfirm: /* @__PURE__ */ r(() => o(l), "onConfirm"), okText: "确认", cancelText: "取消", children: /* @__PURE__ */ c(nl, {}) })
|
|
3402
3424
|
] }) : /* @__PURE__ */ c(Lt, { children: "系统" })
|
|
3403
|
-
] }) }), e[7] = n, e[8] = h, e[9] = E, e[10] =
|
|
3425
|
+
] }) }), e[7] = n, e[8] = h, e[9] = E, e[10] = f, e[11] = o, e[12] = i, e[13] = l, e[14] = u, e[15] = y) : y = e[15], y;
|
|
3404
3426
|
}
|
|
3405
|
-
r(
|
|
3427
|
+
r(Tr, "ViewManageItem");
|
|
3406
3428
|
function qt(t) {
|
|
3407
3429
|
const e = j(30), {
|
|
3408
3430
|
viewType: l,
|
|
@@ -3411,10 +3433,10 @@ function qt(t) {
|
|
|
3411
3433
|
onCancel: a,
|
|
3412
3434
|
onEditViewName: s,
|
|
3413
3435
|
onDeleteView: o
|
|
3414
|
-
} = t, [u,
|
|
3415
|
-
let
|
|
3416
|
-
e[0] !== u?.id ? (
|
|
3417
|
-
const m =
|
|
3436
|
+
} = t, [u, d] = X(null);
|
|
3437
|
+
let f;
|
|
3438
|
+
e[0] !== u?.id ? (f = /* @__PURE__ */ r((k) => u?.id === k.id, "t0"), e[0] = u?.id, e[1] = f) : f = e[1];
|
|
3439
|
+
const m = f;
|
|
3418
3440
|
let h;
|
|
3419
3441
|
e[2] !== a ? (h = /* @__PURE__ */ r(() => {
|
|
3420
3442
|
a?.();
|
|
@@ -3425,70 +3447,70 @@ function qt(t) {
|
|
|
3425
3447
|
a?.();
|
|
3426
3448
|
}, "t2"), e[4] = a, e[5] = E) : E = e[5];
|
|
3427
3449
|
const y = E;
|
|
3428
|
-
let L;
|
|
3429
|
-
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ r(() => {
|
|
3430
|
-
f(null);
|
|
3431
|
-
}, "t3"), e[6] = L) : L = e[6];
|
|
3432
|
-
const O = L;
|
|
3433
3450
|
let b;
|
|
3434
|
-
e[
|
|
3435
|
-
|
|
3436
|
-
}, "
|
|
3437
|
-
const
|
|
3438
|
-
let
|
|
3439
|
-
e[
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
}, "t5"), e[8] = o, e[9] = P) : P = e[9];
|
|
3444
|
-
const w = P;
|
|
3451
|
+
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ r(() => {
|
|
3452
|
+
d(null);
|
|
3453
|
+
}, "t3"), e[6] = b) : b = e[6];
|
|
3454
|
+
const w = b;
|
|
3455
|
+
let A;
|
|
3456
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ r((k) => {
|
|
3457
|
+
d(k);
|
|
3458
|
+
}, "t4"), e[7] = A) : A = e[7];
|
|
3459
|
+
const R = A;
|
|
3445
3460
|
let x;
|
|
3446
|
-
e[
|
|
3447
|
-
|
|
3448
|
-
|
|
3461
|
+
e[8] !== o ? (x = /* @__PURE__ */ r((k) => {
|
|
3462
|
+
o?.(k, () => {
|
|
3463
|
+
d(null);
|
|
3464
|
+
});
|
|
3465
|
+
}, "t5"), e[8] = o, e[9] = x) : x = e[9];
|
|
3466
|
+
const D = x;
|
|
3467
|
+
let F;
|
|
3468
|
+
e[10] !== s ? (F = /* @__PURE__ */ r((k) => {
|
|
3469
|
+
s?.(k, () => {
|
|
3470
|
+
d(null);
|
|
3449
3471
|
});
|
|
3450
|
-
}, "t6"), e[10] = s, e[11] =
|
|
3451
|
-
const
|
|
3472
|
+
}, "t6"), e[10] = s, e[11] = F) : F = e[11];
|
|
3473
|
+
const $ = F, H = `${l === "PERSONAL" ? "个人" : "公共"}视图`;
|
|
3452
3474
|
let U;
|
|
3453
3475
|
e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = {
|
|
3454
3476
|
width: "100%"
|
|
3455
3477
|
}, e[12] = U) : U = e[12];
|
|
3456
|
-
let
|
|
3457
|
-
if (e[13] !==
|
|
3458
|
-
let
|
|
3459
|
-
e[18] !==
|
|
3478
|
+
let P;
|
|
3479
|
+
if (e[13] !== D || e[14] !== $ || e[15] !== m || e[16] !== n) {
|
|
3480
|
+
let k;
|
|
3481
|
+
e[18] !== D || e[19] !== $ || e[20] !== m ? (k = /* @__PURE__ */ r((I) => /* @__PURE__ */ c(Tr, { editing: m(I), onCancel: w, onDelete: D, onEdit: R, onSave: $, view: I }), "t102"), e[18] = D, e[19] = $, e[20] = m, e[21] = k) : k = e[21], P = n.map(k), e[13] = D, e[14] = $, e[15] = m, e[16] = n, e[17] = P;
|
|
3460
3482
|
} else
|
|
3461
|
-
|
|
3462
|
-
let
|
|
3463
|
-
e[22] !==
|
|
3464
|
-
let
|
|
3465
|
-
return e[24] !== y || e[25] !== T || e[26] !== i || e[27] !==
|
|
3483
|
+
P = e[17];
|
|
3484
|
+
let L;
|
|
3485
|
+
e[22] !== P ? (L = /* @__PURE__ */ c(Se, { orientation: "vertical", size: 12, style: U, children: P }), e[22] = P, e[23] = L) : L = e[23];
|
|
3486
|
+
let W;
|
|
3487
|
+
return e[24] !== y || e[25] !== T || e[26] !== i || e[27] !== L || e[28] !== H ? (W = /* @__PURE__ */ c(st, { title: H, open: i, onOk: T, okText: "确定", cancelText: "取消", onCancel: y, children: L }), e[24] = y, e[25] = T, e[26] = i, e[27] = L, e[28] = H, e[29] = W) : W = e[29], W;
|
|
3466
3488
|
}
|
|
3467
3489
|
r(qt, "ViewManageModal");
|
|
3468
3490
|
const {
|
|
3469
|
-
Header:
|
|
3470
|
-
Sider:
|
|
3471
|
-
Content:
|
|
3491
|
+
Header: Er,
|
|
3492
|
+
Sider: _r,
|
|
3493
|
+
Content: Sr
|
|
3472
3494
|
} = vt;
|
|
3473
|
-
function
|
|
3495
|
+
function Cr(t) {
|
|
3474
3496
|
const e = j(111);
|
|
3475
3497
|
let l;
|
|
3476
3498
|
e[0] !== t ? ({
|
|
3477
3499
|
...l
|
|
3478
3500
|
} = t, e[0] = t, e[1] = l) : l = e[1];
|
|
3479
|
-
let n, i, a, s, o, u,
|
|
3501
|
+
let n, i, a, s, o, u, d, f, m, h;
|
|
3480
3502
|
e[2] !== l ? ({
|
|
3481
3503
|
defaultViews: i,
|
|
3482
3504
|
defaultView: n,
|
|
3483
3505
|
definition: a,
|
|
3484
|
-
onLoadData:
|
|
3506
|
+
onLoadData: d,
|
|
3485
3507
|
onGetRecordCount: u,
|
|
3486
3508
|
onCreateView: s,
|
|
3487
3509
|
onUpdateView: m,
|
|
3488
3510
|
onDeleteView: o,
|
|
3489
|
-
onSwitchView:
|
|
3511
|
+
onSwitchView: f,
|
|
3490
3512
|
...h
|
|
3491
|
-
} = l, e[2] = l, e[3] = n, e[4] = i, e[5] = a, e[6] = s, e[7] = o, e[8] = u, e[9] =
|
|
3513
|
+
} = l, e[2] = l, e[3] = n, e[4] = i, e[5] = a, e[6] = s, e[7] = o, e[8] = u, e[9] = d, e[10] = f, e[11] = m, e[12] = h) : (n = e[3], i = e[4], a = e[5], s = e[6], o = e[7], u = e[8], d = e[9], f = e[10], m = e[11], h = e[12]);
|
|
3492
3514
|
let T;
|
|
3493
3515
|
e[13] !== n || e[14] !== i || e[15] !== a ? (T = {
|
|
3494
3516
|
views: i,
|
|
@@ -3498,87 +3520,87 @@ function Er(t) {
|
|
|
3498
3520
|
const {
|
|
3499
3521
|
activeView: E,
|
|
3500
3522
|
showFilter: y,
|
|
3501
|
-
setShowFilter:
|
|
3502
|
-
showViewPanel:
|
|
3503
|
-
setShowViewPanel:
|
|
3504
|
-
viewChanged:
|
|
3505
|
-
columns:
|
|
3506
|
-
setColumns:
|
|
3507
|
-
activeFilters:
|
|
3508
|
-
setActiveFilters:
|
|
3509
|
-
page:
|
|
3523
|
+
setShowFilter: b,
|
|
3524
|
+
showViewPanel: w,
|
|
3525
|
+
setShowViewPanel: A,
|
|
3526
|
+
viewChanged: R,
|
|
3527
|
+
columns: x,
|
|
3528
|
+
setColumns: D,
|
|
3529
|
+
activeFilters: F,
|
|
3530
|
+
setActiveFilters: $,
|
|
3531
|
+
page: H,
|
|
3510
3532
|
setPage: U,
|
|
3511
|
-
pageSize:
|
|
3512
|
-
setPageSize:
|
|
3513
|
-
tableSize:
|
|
3514
|
-
setTableSize:
|
|
3533
|
+
pageSize: P,
|
|
3534
|
+
setPageSize: L,
|
|
3535
|
+
tableSize: W,
|
|
3536
|
+
setTableSize: k,
|
|
3515
3537
|
condition: I,
|
|
3516
3538
|
setCondition: _,
|
|
3517
3539
|
sorter: S,
|
|
3518
3540
|
setSorter: N,
|
|
3519
|
-
onSwitchView:
|
|
3541
|
+
onSwitchView: C,
|
|
3520
3542
|
views: p,
|
|
3521
|
-
setViews:
|
|
3522
|
-
reset:
|
|
3523
|
-
} =
|
|
3524
|
-
let
|
|
3525
|
-
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3526
|
-
const [
|
|
3527
|
-
let
|
|
3528
|
-
e[18] !== s || e[19] !==
|
|
3543
|
+
setViews: O,
|
|
3544
|
+
reset: z
|
|
3545
|
+
} = vr(T);
|
|
3546
|
+
let v;
|
|
3547
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = [], e[17] = v) : v = e[17];
|
|
3548
|
+
const [g, V] = X(v), M = we(null);
|
|
3549
|
+
let K;
|
|
3550
|
+
e[18] !== s || e[19] !== f || e[20] !== O || e[21] !== C || e[22] !== p ? (K = /* @__PURE__ */ r((ce, Ce) => {
|
|
3529
3551
|
s?.(ce, (Te) => {
|
|
3530
|
-
|
|
3552
|
+
O([...p, Te]), C(Te), f?.(Te), Ce?.();
|
|
3531
3553
|
});
|
|
3532
|
-
}, "t3"), e[18] = s, e[19] =
|
|
3533
|
-
const q =
|
|
3554
|
+
}, "t3"), e[18] = s, e[19] = f, e[20] = O, e[21] = C, e[22] = p, e[23] = K) : K = e[23];
|
|
3555
|
+
const q = K;
|
|
3534
3556
|
let te;
|
|
3535
|
-
e[24] !== m || e[25] !==
|
|
3557
|
+
e[24] !== m || e[25] !== O || e[26] !== C || e[27] !== p ? (te = /* @__PURE__ */ r((ce, Ce) => {
|
|
3536
3558
|
m?.(ce, (Te) => {
|
|
3537
|
-
|
|
3559
|
+
O(p.map((ue) => ue.id === Te.id ? Te : ue)), C(Te), Ce?.();
|
|
3538
3560
|
});
|
|
3539
|
-
}, "t4"), e[24] = m, e[25] =
|
|
3561
|
+
}, "t4"), e[24] = m, e[25] = O, e[26] = C, e[27] = p, e[28] = te) : te = e[28];
|
|
3540
3562
|
const J = te;
|
|
3541
|
-
let
|
|
3542
|
-
e[29] !== E.id || e[30] !== o || e[31] !==
|
|
3563
|
+
let G;
|
|
3564
|
+
e[29] !== E.id || e[30] !== o || e[31] !== f || e[32] !== O || e[33] !== C || e[34] !== p ? (G = /* @__PURE__ */ r((ce, Ce) => {
|
|
3543
3565
|
o?.(ce, (Te) => {
|
|
3544
|
-
|
|
3566
|
+
O(p.filter((ue) => ue.id !== Te.id)), E.id === Te.id && (C(p[0]), f?.(p[0])), Ce?.();
|
|
3545
3567
|
});
|
|
3546
|
-
}, "t5"), e[29] = E.id, e[30] = o, e[31] =
|
|
3547
|
-
const
|
|
3568
|
+
}, "t5"), e[29] = E.id, e[30] = o, e[31] = f, e[32] = O, e[33] = C, e[34] = p, e[35] = G) : G = e[35];
|
|
3569
|
+
const Y = G;
|
|
3548
3570
|
let Q;
|
|
3549
|
-
e[36] !==
|
|
3550
|
-
|
|
3551
|
-
}, "t6"), e[36] =
|
|
3571
|
+
e[36] !== A ? (Q = /* @__PURE__ */ r((ce) => {
|
|
3572
|
+
A(ce);
|
|
3573
|
+
}, "t6"), e[36] = A, e[37] = Q) : Q = e[37];
|
|
3552
3574
|
const le = Q;
|
|
3553
3575
|
let fe;
|
|
3554
|
-
e[38] !==
|
|
3555
|
-
|
|
3556
|
-
}, "t7"), e[38] =
|
|
3576
|
+
e[38] !== d || e[39] !== f || e[40] !== C ? (fe = /* @__PURE__ */ r((ce) => {
|
|
3577
|
+
C(ce), d?.(ce.condition, 1, ce.pageSize, ce.sorter), f?.(ce);
|
|
3578
|
+
}, "t7"), e[38] = d, e[39] = f, e[40] = C, e[41] = fe) : fe = e[41];
|
|
3557
3579
|
const se = fe;
|
|
3558
3580
|
let ie;
|
|
3559
|
-
e[42] !==
|
|
3560
|
-
const ce =
|
|
3561
|
-
M.current?.reset(),
|
|
3562
|
-
}, "t8"), e[42] =
|
|
3581
|
+
e[42] !== d || e[43] !== z ? (ie = /* @__PURE__ */ r(() => {
|
|
3582
|
+
const ce = z();
|
|
3583
|
+
M.current?.reset(), d?.(ce.condition, 1, ce.pageSize, ce.sorter);
|
|
3584
|
+
}, "t8"), e[42] = d, e[43] = z, e[44] = ie) : ie = e[44];
|
|
3563
3585
|
const de = ie;
|
|
3564
3586
|
let ee;
|
|
3565
|
-
e[45] !==
|
|
3566
|
-
|
|
3567
|
-
}, "t9"), e[45] =
|
|
3587
|
+
e[45] !== d ? (ee = /* @__PURE__ */ r((ce, Ce, Te, ue) => {
|
|
3588
|
+
d?.(ce, Ce, Te, ue), M.current?.clearSelectedRowKeys();
|
|
3589
|
+
}, "t9"), e[45] = d, e[46] = ee) : ee = e[46];
|
|
3568
3590
|
const oe = ee;
|
|
3569
3591
|
let he;
|
|
3570
|
-
e[47] !== E || e[48] !== a.countUrl || e[49] !== a.name || e[50] !== q || e[51] !==
|
|
3592
|
+
e[47] !== E || e[48] !== a.countUrl || e[49] !== a.name || e[50] !== q || e[51] !== Y || e[52] !== le || e[53] !== se || e[54] !== J || e[55] !== u || e[56] !== w || e[57] !== p ? (he = w && /* @__PURE__ */ c(_r, { className: We.userViews, width: 220, children: /* @__PURE__ */ c(dr, { name: a.name, views: p, activeView: E, countUrl: a.countUrl, onSwitchView: se, onShowViewPanelChange: le, onGetRecordCount: u, onCreateView: q, onUpdateView: J, onDeleteView: Y }) }), e[47] = E, e[48] = a.countUrl, e[49] = a.name, e[50] = q, e[51] = Y, e[52] = le, e[53] = se, e[54] = J, e[55] = u, e[56] = w, e[57] = p, e[58] = he) : he = e[58];
|
|
3571
3593
|
let ae;
|
|
3572
3594
|
e[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ae = {
|
|
3573
3595
|
display: "flex"
|
|
3574
3596
|
}, e[59] = ae) : ae = e[59];
|
|
3575
3597
|
let ne;
|
|
3576
|
-
e[60] !== E || e[61] !== a.name || e[62] !== q || e[63] !==
|
|
3598
|
+
e[60] !== E || e[61] !== a.name || e[62] !== q || e[63] !== Y || e[64] !== de || e[65] !== J || e[66] !== h.batchActions || e[67] !== h.primaryAction || e[68] !== h.secondaryActions || e[69] !== b || e[70] !== A || e[71] !== k || e[72] !== y || e[73] !== w || e[74] !== g || e[75] !== R || e[76] !== p ? (ne = /* @__PURE__ */ c(Er, { className: We.topBar, children: /* @__PURE__ */ c(Wa, { tableSelectedItems: g, title: a.name, activeView: E, views: p, defaultTableSize: E.tableSize, primaryAction: h.primaryAction, secondaryActions: h.secondaryActions, batchActions: h.batchActions, viewChanged: R, onReset: de, showViewPanel: w, showFilter: y, onShowFilterChange: b, onShowViewPanelChange: A, onTableSizeChange: k, onCreateView: q, onUpdateView: J, onDeleteView: Y }) }), e[60] = E, e[61] = a.name, e[62] = q, e[63] = Y, e[64] = de, e[65] = J, e[66] = h.batchActions, e[67] = h.primaryAction, e[68] = h.secondaryActions, e[69] = b, e[70] = A, e[71] = k, e[72] = y, e[73] = w, e[74] = g, e[75] = R, e[76] = p, e[77] = ne) : ne = e[77];
|
|
3577
3599
|
const ve = h.enableRowSelection ?? !0;
|
|
3578
3600
|
let me;
|
|
3579
|
-
e[78] !==
|
|
3601
|
+
e[78] !== F || e[79] !== E.id || e[80] !== x || e[81] !== I || e[82] !== a.availableFilters || e[83] !== a.fields || e[84] !== oe || e[85] !== h.actionColumn || e[86] !== h.dataSource || e[87] !== h.loading || e[88] !== h.onClickPrimaryKey || e[89] !== h.pagination || e[90] !== h.viewTableSetting || e[91] !== H || e[92] !== P || e[93] !== $ || e[94] !== D || e[95] !== _ || e[96] !== U || e[97] !== L || e[98] !== N || e[99] !== k || e[100] !== y || e[101] !== S || e[102] !== ve || e[103] !== W ? (me = /* @__PURE__ */ c(Qa, { ref: M, fields: a.fields, availableFilters: a.availableFilters, dataSource: h.dataSource, enableRowSelection: ve, loading: h.loading, filterMode: "editable", pagination: h.pagination, showFilter: y, viewTableSetting: h.viewTableSetting, actionColumn: h.actionColumn, onClickPrimaryKey: h.onClickPrimaryKey, onSelectedDataChange: V, defaultActiveFilters: F, externalActiveFilters: F, externalUpdateActiveFilters: $, defaultColumns: x, externalColumns: x, externalUpdateColumns: D, defaultPage: H, externalPage: H, externalUpdatePage: U, defaultPageSize: P, externalPageSize: P, externalUpdatePageSize: L, defaultTableSize: W, externalTableSize: W, externalUpdateTableSize: k, defaultCondition: I, externalCondition: I, externalUpdateCondition: _, defaultSorter: S, externalSorter: S, externalUpdateSorter: N, onChange: oe }, E.id), e[78] = F, e[79] = E.id, e[80] = x, e[81] = I, e[82] = a.availableFilters, e[83] = a.fields, e[84] = oe, e[85] = h.actionColumn, e[86] = h.dataSource, e[87] = h.loading, e[88] = h.onClickPrimaryKey, e[89] = h.pagination, e[90] = h.viewTableSetting, e[91] = H, e[92] = P, e[93] = $, e[94] = D, e[95] = _, e[96] = U, e[97] = L, e[98] = N, e[99] = k, e[100] = y, e[101] = S, e[102] = ve, e[103] = W, e[104] = me) : me = e[104];
|
|
3580
3602
|
let re;
|
|
3581
|
-
e[105] !== ne || e[106] !== me ? (re = /* @__PURE__ */ c(vt, { className: We.container, children: /* @__PURE__ */ c(
|
|
3603
|
+
e[105] !== ne || e[106] !== me ? (re = /* @__PURE__ */ c(vt, { className: We.container, children: /* @__PURE__ */ c(Sr, { children: /* @__PURE__ */ Z(Se, { orientation: "vertical", style: ae, size: "small", children: [
|
|
3582
3604
|
ne,
|
|
3583
3605
|
me
|
|
3584
3606
|
] }) }) }), e[105] = ne, e[106] = me, e[107] = re) : re = e[107];
|
|
@@ -3588,26 +3610,26 @@ function Er(t) {
|
|
|
3588
3610
|
re
|
|
3589
3611
|
] }), e[108] = he, e[109] = re, e[110] = Ie) : Ie = e[110], Ie;
|
|
3590
3612
|
}
|
|
3591
|
-
r(
|
|
3592
|
-
function
|
|
3613
|
+
r(Cr, "Viewer");
|
|
3614
|
+
function vr({
|
|
3593
3615
|
defaultShowFilter: t = !0,
|
|
3594
3616
|
defaultShowViewPanel: e = !0,
|
|
3595
3617
|
...l
|
|
3596
3618
|
}) {
|
|
3597
|
-
const n = we(l.defaultView), [i, a] = X(l.views), [s, o] = X(l.defaultView), [u,
|
|
3619
|
+
const n = we(l.defaultView), [i, a] = X(l.views), [s, o] = X(l.defaultView), [u, d] = X(t), [f, m] = X(e), {
|
|
3598
3620
|
columns: h,
|
|
3599
3621
|
setColumns: T,
|
|
3600
3622
|
page: E,
|
|
3601
3623
|
setPage: y,
|
|
3602
|
-
pageSize:
|
|
3603
|
-
setPageSize:
|
|
3604
|
-
activeFilters:
|
|
3605
|
-
setActiveFilters:
|
|
3606
|
-
tableSize:
|
|
3607
|
-
setTableSize:
|
|
3608
|
-
condition:
|
|
3609
|
-
setCondition:
|
|
3610
|
-
sorter:
|
|
3624
|
+
pageSize: b,
|
|
3625
|
+
setPageSize: w,
|
|
3626
|
+
activeFilters: A,
|
|
3627
|
+
setActiveFilters: R,
|
|
3628
|
+
tableSize: x,
|
|
3629
|
+
setTableSize: D,
|
|
3630
|
+
condition: F,
|
|
3631
|
+
setCondition: $,
|
|
3632
|
+
sorter: H,
|
|
3611
3633
|
setSorter: U
|
|
3612
3634
|
} = vn({
|
|
3613
3635
|
defaultColumns: s.columns,
|
|
@@ -3616,220 +3638,220 @@ function _r({
|
|
|
3616
3638
|
defaultTableSize: s.tableSize,
|
|
3617
3639
|
defaultCondition: s.condition,
|
|
3618
3640
|
defaultSorter: s.sorter
|
|
3619
|
-
}), [
|
|
3641
|
+
}), [P, L] = X(!1);
|
|
3620
3642
|
return Ae(() => {
|
|
3621
|
-
|
|
3643
|
+
L(!At(s, n.current));
|
|
3622
3644
|
}, [s]), {
|
|
3623
3645
|
activeView: s,
|
|
3624
3646
|
showFilter: u,
|
|
3625
|
-
setShowFilter: /* @__PURE__ */ r((
|
|
3626
|
-
|
|
3647
|
+
setShowFilter: /* @__PURE__ */ r((v) => {
|
|
3648
|
+
d(v);
|
|
3627
3649
|
}, "setShowFilterFn"),
|
|
3628
|
-
showViewPanel:
|
|
3629
|
-
setShowViewPanel: /* @__PURE__ */ r((
|
|
3630
|
-
m(
|
|
3650
|
+
showViewPanel: f,
|
|
3651
|
+
setShowViewPanel: /* @__PURE__ */ r((v) => {
|
|
3652
|
+
m(v);
|
|
3631
3653
|
}, "setShowViewPanelFn"),
|
|
3632
3654
|
columns: h,
|
|
3633
|
-
setColumns: /* @__PURE__ */ r((
|
|
3634
|
-
T(
|
|
3655
|
+
setColumns: /* @__PURE__ */ r((v) => {
|
|
3656
|
+
T(v), o({
|
|
3635
3657
|
...s,
|
|
3636
|
-
columns:
|
|
3658
|
+
columns: v
|
|
3637
3659
|
});
|
|
3638
3660
|
}, "setColumnsFn"),
|
|
3639
3661
|
page: E,
|
|
3640
3662
|
setPage: y,
|
|
3641
|
-
pageSize:
|
|
3642
|
-
setPageSize: /* @__PURE__ */ r((
|
|
3643
|
-
|
|
3663
|
+
pageSize: b,
|
|
3664
|
+
setPageSize: /* @__PURE__ */ r((v) => {
|
|
3665
|
+
w(v), o({
|
|
3644
3666
|
...s,
|
|
3645
|
-
pageSize:
|
|
3667
|
+
pageSize: v
|
|
3646
3668
|
});
|
|
3647
3669
|
}, "setPageSizeFn"),
|
|
3648
|
-
activeFilters:
|
|
3649
|
-
setActiveFilters: /* @__PURE__ */ r((
|
|
3650
|
-
|
|
3670
|
+
activeFilters: A,
|
|
3671
|
+
setActiveFilters: /* @__PURE__ */ r((v) => {
|
|
3672
|
+
R(v), o({
|
|
3651
3673
|
...s,
|
|
3652
|
-
filters:
|
|
3674
|
+
filters: v
|
|
3653
3675
|
});
|
|
3654
3676
|
}, "setActiveFiltersFn"),
|
|
3655
|
-
tableSize:
|
|
3656
|
-
setTableSize: /* @__PURE__ */ r((
|
|
3657
|
-
|
|
3677
|
+
tableSize: x,
|
|
3678
|
+
setTableSize: /* @__PURE__ */ r((v) => {
|
|
3679
|
+
D(v), o({
|
|
3658
3680
|
...s,
|
|
3659
|
-
tableSize:
|
|
3681
|
+
tableSize: v
|
|
3660
3682
|
});
|
|
3661
3683
|
}, "setTableSizeFn"),
|
|
3662
|
-
condition:
|
|
3663
|
-
setCondition: /* @__PURE__ */ r((
|
|
3664
|
-
|
|
3665
|
-
const
|
|
3666
|
-
if (
|
|
3667
|
-
const M =
|
|
3668
|
-
(
|
|
3684
|
+
condition: F,
|
|
3685
|
+
setCondition: /* @__PURE__ */ r((v) => {
|
|
3686
|
+
$(v);
|
|
3687
|
+
const g = A.map((V) => {
|
|
3688
|
+
if (v.operator === B.AND) {
|
|
3689
|
+
const M = v.children?.find(
|
|
3690
|
+
(K) => K.field === V.field.name
|
|
3669
3691
|
);
|
|
3670
3692
|
return M ? {
|
|
3671
|
-
...
|
|
3693
|
+
...V,
|
|
3672
3694
|
value: { defaultValue: M.value },
|
|
3673
3695
|
operator: { defaultValue: M.operator }
|
|
3674
3696
|
} : {
|
|
3675
|
-
...
|
|
3697
|
+
...V,
|
|
3676
3698
|
value: null,
|
|
3677
3699
|
operator: null
|
|
3678
3700
|
};
|
|
3679
|
-
} else return
|
|
3680
|
-
...
|
|
3681
|
-
value: { defaultValue:
|
|
3682
|
-
operator: { defaultValue:
|
|
3701
|
+
} else return v.field === V.field.name ? {
|
|
3702
|
+
...V,
|
|
3703
|
+
value: { defaultValue: v.value },
|
|
3704
|
+
operator: { defaultValue: v.operator }
|
|
3683
3705
|
} : {
|
|
3684
|
-
...
|
|
3706
|
+
...V,
|
|
3685
3707
|
value: null,
|
|
3686
3708
|
operator: null
|
|
3687
3709
|
};
|
|
3688
3710
|
});
|
|
3689
|
-
|
|
3711
|
+
R(g), o({
|
|
3690
3712
|
...s,
|
|
3691
|
-
condition:
|
|
3692
|
-
filters:
|
|
3713
|
+
condition: v,
|
|
3714
|
+
filters: g
|
|
3693
3715
|
});
|
|
3694
3716
|
}, "setConditionFn"),
|
|
3695
|
-
sorter:
|
|
3696
|
-
setSorter: /* @__PURE__ */ r((
|
|
3697
|
-
U(
|
|
3698
|
-
const
|
|
3699
|
-
const
|
|
3700
|
-
return
|
|
3717
|
+
sorter: H,
|
|
3718
|
+
setSorter: /* @__PURE__ */ r((v) => {
|
|
3719
|
+
U(v);
|
|
3720
|
+
const g = h.map((M) => {
|
|
3721
|
+
const K = v.find((q) => q.field == M.name);
|
|
3722
|
+
return K ? {
|
|
3701
3723
|
...M,
|
|
3702
|
-
sortOrder:
|
|
3724
|
+
sortOrder: K.direction === "ASC" ? "ascend" : "descend"
|
|
3703
3725
|
} : { ...M, sortOrder: null };
|
|
3704
3726
|
});
|
|
3705
|
-
T(
|
|
3706
|
-
const
|
|
3727
|
+
T(g);
|
|
3728
|
+
const V = {
|
|
3707
3729
|
...s,
|
|
3708
|
-
sorter:
|
|
3709
|
-
columns:
|
|
3730
|
+
sorter: v,
|
|
3731
|
+
columns: g
|
|
3710
3732
|
};
|
|
3711
|
-
o(
|
|
3733
|
+
o(V);
|
|
3712
3734
|
}, "setSorterFn"),
|
|
3713
|
-
viewChanged:
|
|
3735
|
+
viewChanged: P,
|
|
3714
3736
|
views: i,
|
|
3715
3737
|
setViews: a,
|
|
3716
|
-
onSwitchView: /* @__PURE__ */ r((
|
|
3717
|
-
n.current =
|
|
3738
|
+
onSwitchView: /* @__PURE__ */ r((v) => {
|
|
3739
|
+
n.current = v, o(v), y(1), w(v.pageSize), T(v.columns), $(v.condition || ke()), R(v.filters), D(v.tableSize), U(v.sorter || []);
|
|
3718
3740
|
}, "onSwitchViewFn"),
|
|
3719
|
-
reset: /* @__PURE__ */ r(() => (o(n.current), y(1),
|
|
3741
|
+
reset: /* @__PURE__ */ r(() => (o(n.current), y(1), w(n.current.pageSize), T(n.current.columns), R(n.current.filters), $(n.current.condition || ke()), D(n.current.tableSize), U(n.current.sorter || []), n.current), "resetFn")
|
|
3720
3742
|
};
|
|
3721
3743
|
}
|
|
3722
|
-
r(
|
|
3744
|
+
r(vr, "useViewerState");
|
|
3723
3745
|
export {
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3746
|
+
Di as ACTIONS_CELL_TYPE,
|
|
3747
|
+
Oi as ACTION_CELL_TYPE,
|
|
3748
|
+
$i as AVATAR_CELL_TYPE,
|
|
3727
3749
|
Ye as ActionCell,
|
|
3728
3750
|
yn as ActionsCell,
|
|
3729
3751
|
Me as AssemblyFilter,
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3752
|
+
Fa as AutoRefreshBarItem,
|
|
3753
|
+
Yl as AvailableFilterSelect,
|
|
3754
|
+
Kl as AvailableFilterSelectModal,
|
|
3755
|
+
ki as AvatarCell,
|
|
3756
|
+
si as BOOL_FILTER,
|
|
3735
3757
|
He as BarItem,
|
|
3736
3758
|
mn as BoolFilter,
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3759
|
+
gi as CALENDAR_CELL_TYPE,
|
|
3760
|
+
ca as CURRENCY_CELL_TYPE,
|
|
3761
|
+
Yi as CalendarTimeCell,
|
|
3762
|
+
ka as ColumnHeightBarItem,
|
|
3763
|
+
ua as CurrencyCell,
|
|
3764
|
+
zi as DATETIME_CELL_TYPE,
|
|
3765
|
+
Bi as DEFAULT_CALENDAR_FORMATS,
|
|
3744
3766
|
Cn as DEFAULT_CONDITION,
|
|
3745
3767
|
De as DEFAULT_CURRENCY_FORMAT_OPTIONS,
|
|
3746
3768
|
et as DEFAULT_DATE_TIME_FORMAT,
|
|
3747
3769
|
In as DateTimeCell,
|
|
3748
|
-
|
|
3749
|
-
|
|
3770
|
+
Ai as EditableFilterPanel,
|
|
3771
|
+
Ge as ExtendedOperator,
|
|
3750
3772
|
En as FallbackFilter,
|
|
3751
|
-
|
|
3752
|
-
|
|
3773
|
+
$r as FetcherViewer,
|
|
3774
|
+
Ma as FilterBarItem,
|
|
3753
3775
|
Sn as FilterPanel,
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3776
|
+
Il as Fullscreen,
|
|
3777
|
+
ni as ID_FILTER,
|
|
3778
|
+
Qi as IMAGE_CELL_TYPE,
|
|
3779
|
+
Zi as IMAGE_GROUP_CELL_TYPE,
|
|
3758
3780
|
un as IdFilter,
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3781
|
+
li as IdOnOperatorChangeValueConverter,
|
|
3782
|
+
Xi as ImageCell,
|
|
3783
|
+
Ji as ImageGroupCell,
|
|
3784
|
+
ta as LINK_CELL_TYPE,
|
|
3785
|
+
ia as LinkCell,
|
|
3786
|
+
ii as NUMBER_FILTER,
|
|
3765
3787
|
fn as NumberFilter,
|
|
3766
3788
|
El as NumberRange,
|
|
3767
3789
|
hl as NumberTagValueItemSerializer,
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3790
|
+
Ul as OPERATOR_zh_CN,
|
|
3791
|
+
Ha as Point,
|
|
3792
|
+
Ua as RefreshDataBarItem,
|
|
3793
|
+
yl as RemoteSelect,
|
|
3794
|
+
Ci as RemovableTypedFilter,
|
|
3795
|
+
ri as SELECT_FILTER,
|
|
3774
3796
|
An as SaveViewModal,
|
|
3775
3797
|
dn as SelectFilter,
|
|
3776
|
-
|
|
3798
|
+
za as ShareLinkBarItem,
|
|
3777
3799
|
ml as StringTagValueItemSerializer,
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3800
|
+
ji as TAGS_CELL_TYPE,
|
|
3801
|
+
Gi as TAG_CELL_TYPE,
|
|
3802
|
+
Ki as TEXT_CELL_TYPE,
|
|
3803
|
+
ti as TEXT_FILTER,
|
|
3782
3804
|
Bt as TableFieldItem,
|
|
3783
|
-
|
|
3805
|
+
_a as TableSettingPanel,
|
|
3784
3806
|
pn as TagCell,
|
|
3785
3807
|
ft as TagInput,
|
|
3786
|
-
|
|
3808
|
+
qi as TagsCell,
|
|
3787
3809
|
Nn as TextCell,
|
|
3788
3810
|
cn as TextFilter,
|
|
3789
|
-
|
|
3790
|
-
|
|
3811
|
+
Wa as TopBar,
|
|
3812
|
+
jl as TrueValidateValue,
|
|
3791
3813
|
it as TypedComponentRegistry,
|
|
3792
3814
|
pt as TypedFilter,
|
|
3793
3815
|
bt as VIEWER_BOUNDED_CONTEXT_ALIAS,
|
|
3794
|
-
|
|
3816
|
+
Qa as View,
|
|
3795
3817
|
ge as ViewAggregatedFields,
|
|
3796
3818
|
be as ViewCommandClient,
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3819
|
+
Al as ViewCommandEndpointPaths,
|
|
3820
|
+
bl as ViewDomainEventTypeMapTitle,
|
|
3821
|
+
fr as ViewItem,
|
|
3800
3822
|
jt as ViewItemGroup,
|
|
3801
|
-
|
|
3823
|
+
Tr as ViewManageItem,
|
|
3802
3824
|
qt as ViewManageModal,
|
|
3803
|
-
|
|
3825
|
+
dr as ViewPanel,
|
|
3804
3826
|
xt as ViewStreamCommandClient,
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3827
|
+
Ra as ViewTable,
|
|
3828
|
+
Cr as Viewer,
|
|
3829
|
+
wl as ViewerDefinitionAggregatedFields,
|
|
3830
|
+
Ol as ViewerDefinitionDomainEventTypeMapTitle,
|
|
3831
|
+
fa as cellRegistry,
|
|
3832
|
+
kr as currentTimeZone,
|
|
3811
3833
|
At as deepEqual,
|
|
3812
|
-
|
|
3813
|
-
|
|
3834
|
+
hi as filterRegistry,
|
|
3835
|
+
ra as formatCurrency,
|
|
3814
3836
|
zt as isActionCellProps,
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3837
|
+
Pi as isNullOrUndefined,
|
|
3838
|
+
Gl as isValidBetweenValue,
|
|
3839
|
+
xi as isValidImageSrc,
|
|
3840
|
+
kt as isValidValue,
|
|
3841
|
+
La as mapToTableRecord,
|
|
3842
|
+
Fi as parseDayjs,
|
|
3843
|
+
da as typedCellRender,
|
|
3822
3844
|
vn as useActiveViewState,
|
|
3823
|
-
|
|
3824
|
-
|
|
3845
|
+
xl as useFetchData,
|
|
3846
|
+
Jl as useFilterState,
|
|
3825
3847
|
Oe as useLocale,
|
|
3826
3848
|
Ot as useRefreshDataEventBus,
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3849
|
+
nr as useViewState,
|
|
3850
|
+
Da as useViewTableState,
|
|
3851
|
+
Fl as useViewerDefinition,
|
|
3852
|
+
vr as useViewerState,
|
|
3853
|
+
Pl as useViewerViews,
|
|
3854
|
+
xr as viewQueryClientFactory,
|
|
3855
|
+
Dl as viewerDefinitionQueryClientFactory
|
|
3834
3856
|
};
|
|
3835
3857
|
//# sourceMappingURL=index.es.js.map
|