@ahoo-wang/fetcher-viewer 3.11.3 → 3.11.5
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/filter/panel/FilterPanel.d.ts.map +1 -1
- package/dist/index.es.js +560 -560
- 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 An = Object.defineProperty;
|
|
|
2
2
|
var r = (t, e) => An(t, "name", { value: e, configurable: !0 });
|
|
3
3
|
import { jsx as c, jsxs as J, Fragment as Te } from "react/jsx-runtime";
|
|
4
4
|
import { c as G } from "react/compiler-runtime";
|
|
5
|
-
import { Select as rt, InputNumber as tt, Space as Se, Input as Ke, Flex as Ae, Spin as Tt, Empty as nt, Button as me, Row as Et, Col as _t, Checkbox as jt, Divider as Ue, Modal as st, theme as
|
|
6
|
-
import qt, { useState as Q, useCallback as Qt, useEffect as
|
|
5
|
+
import { Select as rt, InputNumber as tt, Space as Se, Input as Ke, Flex as Ae, Spin as Tt, Empty as nt, Button as me, Row as Et, Col as _t, Checkbox as jt, Divider as Ue, Modal as st, theme as Ln, Typography as je, DatePicker as ft, Alert as pn, Dropdown as Fe, Avatar as dt, Tag as Lt, Image as St, Badge as bn, Table as Rn, Popover as On, message as Dn, Pagination as wn, Collapse as Fn, Radio as Pn, Form as mt, Popconfirm as $n, Layout as Ct } from "antd";
|
|
6
|
+
import qt, { useState as Q, useCallback as Qt, useEffect as Ie, useImperativeHandle as be, useRef as De, createElement as xn } from "react";
|
|
7
7
|
import { useDebouncedExecutePromise as Vn, useFullscreen as Mn, useFetcherListQuery as kn, useFetcherPagedQuery as Hn, useRefs as Un } from "@ahoo-wang/fetcher-react";
|
|
8
8
|
import { FullscreenOutlined as zn, FullscreenExitOutlined as gn, MinusOutlined as Bn, ClearOutlined as Yn, SearchOutlined as Wn, PlusOutlined as Xt, DownOutlined as ge, DragOutlined as Zt, SettingOutlined as Jt, ColumnHeightOutlined as Gn, FilterOutlined as Kn, ReloadOutlined as jn, LinkOutlined as qn, ExclamationCircleOutlined as Qn, MenuUnfoldOutlined as Xn, MenuFoldOutlined as Zn, EditOutlined as Jn, DeleteOutlined as el } from "@ant-design/icons";
|
|
9
9
|
import { ContentTypeValues as tl, fetcherRegistrar as en, TextResultExtractor as nl } from "@ahoo-wang/fetcher";
|
|
10
10
|
import { post as ll, path as We, request as ot, attribute as ct, del as il, put as tn, api as nn, autoGeneratedError as Qe } from "@ahoo-wang/fetcher-decorator";
|
|
11
11
|
import { JsonEventStreamResultExtractor as al } from "@ahoo-wang/fetcher-eventstream";
|
|
12
|
-
import { ResourceAttributionPathSpec as ln, QueryClientFactory as an, listQuery as rl, and as lt, eq as Ot, isIn as Dt, all as xe, EMPTY_VALUE_OPERATORS as sl, Operator as
|
|
12
|
+
import { ResourceAttributionPathSpec as ln, QueryClientFactory as an, listQuery as rl, and as lt, eq as Ot, isIn as Dt, all as xe, EMPTY_VALUE_OPERATORS as sl, Operator as z } from "@ahoo-wang/fetcher-wow";
|
|
13
13
|
import { SerialTypedEventBus as ol, BroadcastTypedEventBus as cl } from "@ahoo-wang/fetcher-eventbus";
|
|
14
14
|
const ul = {
|
|
15
15
|
serialize(t) {
|
|
@@ -42,8 +42,8 @@ function ut(t) {
|
|
|
42
42
|
e[7] !== l || e[8] !== d ? (m = /* @__PURE__ */ r((v) => {
|
|
43
43
|
if (!l)
|
|
44
44
|
return;
|
|
45
|
-
const
|
|
46
|
-
l(
|
|
45
|
+
const p = d.deserialize(v);
|
|
46
|
+
l(p);
|
|
47
47
|
}, "t3"), e[7] = l, e[8] = d, e[9] = m) : m = e[9];
|
|
48
48
|
const h = m;
|
|
49
49
|
let T = null;
|
|
@@ -83,12 +83,12 @@ function ml(t) {
|
|
|
83
83
|
e[12] !== m || e[13] !== u ? (E = /* @__PURE__ */ r((x) => {
|
|
84
84
|
m([u, x ?? void 0]);
|
|
85
85
|
}, "t4"), e[12] = m, e[13] = u, e[14] = E) : E = e[14];
|
|
86
|
-
const v = E,
|
|
86
|
+
const v = E, p = f !== void 0 ? f : t.max, D = u !== void 0 ? u : t.min;
|
|
87
87
|
let b;
|
|
88
88
|
e[15] !== t.placeholder ? (b = t.placeholder ? [t.placeholder[0] || ht[0], t.placeholder[1] || ht[1]] : ht, e[15] = t.placeholder, e[16] = b) : b = e[16];
|
|
89
89
|
const R = b;
|
|
90
90
|
let P;
|
|
91
|
-
e[17] !== T || e[18] !== R[0] || e[19] !== t.min || e[20] !== t.precision || e[21] !== u || e[22] !==
|
|
91
|
+
e[17] !== T || e[18] !== R[0] || e[19] !== t.min || e[20] !== t.precision || e[21] !== u || e[22] !== p ? (P = /* @__PURE__ */ c(tt, { value: u, min: t.min, max: p, 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] = p, e[23] = P) : P = e[23];
|
|
92
92
|
let F;
|
|
93
93
|
e[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ c(Ke, { style: {
|
|
94
94
|
width: 30,
|
|
@@ -98,12 +98,12 @@ function ml(t) {
|
|
|
98
98
|
}, placeholder: "~", disabled: !0 }), e[24] = F) : F = e[24];
|
|
99
99
|
let w;
|
|
100
100
|
e[25] !== f || e[26] !== D || e[27] !== v || e[28] !== R[1] || e[29] !== t.max || e[30] !== t.precision ? (w = /* @__PURE__ */ c(tt, { value: f, min: D, max: t.max, precision: t.precision, placeholder: R[1], onChange: v }), e[25] = f, e[26] = D, e[27] = v, e[28] = R[1], e[29] = t.max, e[30] = t.precision, e[31] = w) : w = e[31];
|
|
101
|
-
let
|
|
102
|
-
return e[32] !== P || e[33] !== w ? (
|
|
101
|
+
let H;
|
|
102
|
+
return e[32] !== P || e[33] !== w ? (H = /* @__PURE__ */ J(Se.Compact, { block: !0, children: [
|
|
103
103
|
P,
|
|
104
104
|
F,
|
|
105
105
|
w
|
|
106
|
-
] }), e[32] = P, e[33] = w, e[34] =
|
|
106
|
+
] }), e[32] = P, e[33] = w, e[34] = H) : H = e[34], H;
|
|
107
107
|
}
|
|
108
108
|
r(ml, "NumberRange");
|
|
109
109
|
const hl = {
|
|
@@ -151,8 +151,8 @@ function Tl(t) {
|
|
|
151
151
|
] }) : /* @__PURE__ */ c(nt, { image: nt.PRESENTED_IMAGE_SIMPLE }), e[13] = u, e[14] = E) : E = e[14];
|
|
152
152
|
let v;
|
|
153
153
|
e[15] !== u || e[16] !== l || e[17] !== f ? (v = u ? [] : f ?? l, e[15] = u, e[16] = l, e[17] = f, e[18] = v) : v = e[18];
|
|
154
|
-
let
|
|
155
|
-
return e[19] !== u || e[20] !== i || e[21] !== T || e[22] !== E || e[23] !== v ? (
|
|
154
|
+
let p;
|
|
155
|
+
return e[19] !== u || e[20] !== i || e[21] !== T || e[22] !== E || e[23] !== v ? (p = /* @__PURE__ */ c(rt, { showSearch: T, loading: u, notFoundContent: E, options: v, ...i }), e[19] = u, e[20] = i, e[21] = T, e[22] = E, e[23] = v, e[24] = p) : p = e[24], p;
|
|
156
156
|
}
|
|
157
157
|
r(Tl, "RemoteSelect");
|
|
158
158
|
Tl.displayName = "RemoteSelect";
|
|
@@ -174,17 +174,17 @@ function El(t) {
|
|
|
174
174
|
}
|
|
175
175
|
r(El, "Fullscreen");
|
|
176
176
|
El.displayName = "FullScreen";
|
|
177
|
-
const
|
|
177
|
+
const pt = "viewer";
|
|
178
178
|
var _l = Object.defineProperty, Sl = Object.getOwnPropertyDescriptor, Ve = /* @__PURE__ */ r((t, e, l, n) => {
|
|
179
179
|
for (var i = n > 1 ? void 0 : n ? Sl(e, l) : e, a = t.length - 1, s; a >= 0; a--)
|
|
180
180
|
(s = t[a]) && (i = (n ? s(e, l, i) : s(i)) || i);
|
|
181
181
|
return n && i && _l(e, l, i), i;
|
|
182
182
|
}, "__decorateClass"), Ce = /* @__PURE__ */ r((t, e) => (l, n) => e(l, n, t), "__decorateParam"), Cl = /* @__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))(Cl || {});
|
|
183
183
|
const rn = {
|
|
184
|
-
basePath:
|
|
184
|
+
basePath: pt
|
|
185
185
|
};
|
|
186
186
|
var Pe;
|
|
187
|
-
let
|
|
187
|
+
let pe = (Pe = class {
|
|
188
188
|
constructor(e = rn) {
|
|
189
189
|
this.apiMetadata = e;
|
|
190
190
|
}
|
|
@@ -209,7 +209,7 @@ Ve([
|
|
|
209
209
|
Ce(0, We("type")),
|
|
210
210
|
Ce(1, ot()),
|
|
211
211
|
Ce(2, ct())
|
|
212
|
-
],
|
|
212
|
+
], pe.prototype, "createView", 1);
|
|
213
213
|
Ve([
|
|
214
214
|
il(
|
|
215
215
|
"/tenant/{tenantId}/owner/{ownerId}/view/{id}"
|
|
@@ -218,7 +218,7 @@ Ve([
|
|
|
218
218
|
Ce(0, We("id")),
|
|
219
219
|
Ce(1, ot()),
|
|
220
220
|
Ce(2, ct())
|
|
221
|
-
],
|
|
221
|
+
], pe.prototype, "defaultDeleteAggregate", 1);
|
|
222
222
|
Ve([
|
|
223
223
|
tn(
|
|
224
224
|
"/tenant/{tenantId}/owner/{ownerId}/view/{id}/recover"
|
|
@@ -227,7 +227,7 @@ Ve([
|
|
|
227
227
|
Ce(0, We("id")),
|
|
228
228
|
Ce(1, ot()),
|
|
229
229
|
Ce(2, ct())
|
|
230
|
-
],
|
|
230
|
+
], pe.prototype, "defaultRecoverAggregate", 1);
|
|
231
231
|
Ve([
|
|
232
232
|
tn(
|
|
233
233
|
"/tenant/{tenantId}/owner/{ownerId}/view/{id}/type/{type}"
|
|
@@ -237,12 +237,12 @@ Ve([
|
|
|
237
237
|
Ce(1, We("id")),
|
|
238
238
|
Ce(2, ot()),
|
|
239
239
|
Ce(3, ct())
|
|
240
|
-
],
|
|
241
|
-
|
|
240
|
+
], pe.prototype, "editView", 1);
|
|
241
|
+
pe = Ve([
|
|
242
242
|
nn()
|
|
243
|
-
],
|
|
243
|
+
], pe);
|
|
244
244
|
var $e;
|
|
245
|
-
let Ft = ($e = class extends
|
|
245
|
+
let Ft = ($e = class extends pe {
|
|
246
246
|
constructor(e = rn) {
|
|
247
247
|
super(e);
|
|
248
248
|
}
|
|
@@ -254,26 +254,26 @@ Ft = Ve([
|
|
|
254
254
|
})
|
|
255
255
|
], Ft);
|
|
256
256
|
const vl = {
|
|
257
|
-
contextAlias:
|
|
257
|
+
contextAlias: pt,
|
|
258
258
|
aggregateName: "view",
|
|
259
259
|
resourceAttribution: ln.TENANT
|
|
260
260
|
};
|
|
261
|
-
var
|
|
261
|
+
var Il = /* @__PURE__ */ ((t) => (t.view_created = "视图已创建", t.view_edited = "视图已修改", t))(Il || {});
|
|
262
262
|
const Rr = new an(vl);
|
|
263
263
|
var ze = /* @__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))(ze || {});
|
|
264
|
-
const
|
|
265
|
-
contextAlias:
|
|
264
|
+
const yl = {
|
|
265
|
+
contextAlias: pt,
|
|
266
266
|
aggregateName: "viewer_definition",
|
|
267
267
|
resourceAttribution: ln.NONE
|
|
268
268
|
};
|
|
269
269
|
var Nl = /* @__PURE__ */ ((t) => (t.viewer_definition_saved = "viewer_definition_saved", t))(Nl || {});
|
|
270
|
-
const Al = new an(
|
|
271
|
-
var
|
|
272
|
-
function
|
|
270
|
+
const Al = new an(yl);
|
|
271
|
+
var Ll = /* @__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))(Ll || {});
|
|
272
|
+
function pl(t) {
|
|
273
273
|
const [e, l] = Q(), [n, i] = Q(!0), [a, s] = Q(), [o, u] = Q(0), f = Qt(() => {
|
|
274
274
|
u((d) => d + 1), i(!0), s(void 0);
|
|
275
275
|
}, []);
|
|
276
|
-
return
|
|
276
|
+
return Ie(() => {
|
|
277
277
|
const d = new AbortController(), m = en.default;
|
|
278
278
|
return Al.createSnapshotQueryClient({
|
|
279
279
|
fetcher: m
|
|
@@ -286,7 +286,7 @@ function Ll(t) {
|
|
|
286
286
|
};
|
|
287
287
|
}, [t, o]), { viewerDefinition: e, loading: n, error: a, refetch: f };
|
|
288
288
|
}
|
|
289
|
-
r(
|
|
289
|
+
r(pl, "useViewerDefinition");
|
|
290
290
|
function bl(t, e, l) {
|
|
291
291
|
const {
|
|
292
292
|
loading: n,
|
|
@@ -313,7 +313,7 @@ function Rl(t) {
|
|
|
313
313
|
url: e?.dataUrl || "",
|
|
314
314
|
autoExecute: !0
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return Ie(() => {
|
|
317
317
|
l && e && s({
|
|
318
318
|
condition: l?.condition ? l.internalCondition ? lt(l.internalCondition, l.condition) : xe() : xe(),
|
|
319
319
|
pagination: {
|
|
@@ -340,7 +340,7 @@ function Rl(t) {
|
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
r(Rl, "useFetchData");
|
|
343
|
-
const bt = new
|
|
343
|
+
const bt = new pe();
|
|
344
344
|
function Or(t) {
|
|
345
345
|
const e = G(41);
|
|
346
346
|
let l, n, i;
|
|
@@ -359,16 +359,16 @@ function Or(t) {
|
|
|
359
359
|
enableRowSelection: T,
|
|
360
360
|
onSwitchView: E,
|
|
361
361
|
viewTableSetting: v,
|
|
362
|
-
primaryAction:
|
|
362
|
+
primaryAction: p,
|
|
363
363
|
secondaryActions: D,
|
|
364
364
|
batchActions: b
|
|
365
365
|
} = l, {
|
|
366
366
|
viewerDefinition: R,
|
|
367
367
|
loading: P,
|
|
368
368
|
error: F
|
|
369
|
-
} =
|
|
369
|
+
} = pl(u), {
|
|
370
370
|
views: w,
|
|
371
|
-
loading:
|
|
371
|
+
loading: H
|
|
372
372
|
} = bl(u, s, a);
|
|
373
373
|
let x;
|
|
374
374
|
e[4] !== f || e[5] !== w ? (x = Pl(w, f), e[4] = f, e[5] = w, e[6] = x) : x = e[6];
|
|
@@ -379,73 +379,73 @@ function Or(t) {
|
|
|
379
379
|
defaultView: V
|
|
380
380
|
}, e[7] = V, e[8] = R, e[9] = $) : $ = e[9];
|
|
381
381
|
const {
|
|
382
|
-
dataSource:
|
|
382
|
+
dataSource: L,
|
|
383
383
|
loading: M,
|
|
384
384
|
setQuery: W,
|
|
385
385
|
reload: N
|
|
386
386
|
} = Rl($);
|
|
387
387
|
let _;
|
|
388
|
-
e[10] !== W ? (_ = /* @__PURE__ */ r((
|
|
389
|
-
W?.(
|
|
388
|
+
e[10] !== W ? (_ = /* @__PURE__ */ r((U, Z, ee, j) => {
|
|
389
|
+
W?.(U, Z, ee, j);
|
|
390
390
|
}, "t5"), e[10] = W, e[11] = _) : _ = e[11];
|
|
391
391
|
const S = _;
|
|
392
|
-
let
|
|
393
|
-
e[12] !== E ? (
|
|
394
|
-
E?.(
|
|
395
|
-
}, "t6"), e[12] = E, e[13] =
|
|
396
|
-
const C =
|
|
397
|
-
publish:
|
|
392
|
+
let y;
|
|
393
|
+
e[12] !== E ? (y = /* @__PURE__ */ r((U) => {
|
|
394
|
+
E?.(U);
|
|
395
|
+
}, "t6"), e[12] = E, e[13] = y) : y = e[13];
|
|
396
|
+
const C = y, A = Fl, O = wl, g = Dl, I = Ol, {
|
|
397
|
+
publish: B,
|
|
398
398
|
subscribe: Y
|
|
399
399
|
} = Rt();
|
|
400
|
-
let
|
|
401
|
-
if (e[14] !==
|
|
402
|
-
refreshData:
|
|
403
|
-
}), "t7"), e[14] =
|
|
400
|
+
let k;
|
|
401
|
+
if (e[14] !== B ? (k = /* @__PURE__ */ r(() => ({
|
|
402
|
+
refreshData: B
|
|
403
|
+
}), "t7"), e[14] = B, e[15] = k) : k = e[15], be(o, k), Y({
|
|
404
404
|
name: "Viewer-Refresh-Data",
|
|
405
405
|
handle: /* @__PURE__ */ r(async () => {
|
|
406
406
|
await N();
|
|
407
407
|
}, "handle")
|
|
408
|
-
}), P ||
|
|
409
|
-
let
|
|
410
|
-
return e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
408
|
+
}), P || H) {
|
|
409
|
+
let U;
|
|
410
|
+
return e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c("div", { style: {
|
|
411
411
|
display: "flex",
|
|
412
412
|
justifyContent: "center",
|
|
413
413
|
alignItems: "center",
|
|
414
414
|
height: "100vh"
|
|
415
|
-
}, children: /* @__PURE__ */ c(Tt, { size: "large" }) }), e[16] =
|
|
415
|
+
}, children: /* @__PURE__ */ c(Tt, { size: "large" }) }), e[16] = U) : U = e[16], U;
|
|
416
416
|
}
|
|
417
417
|
if (F) {
|
|
418
|
-
let
|
|
419
|
-
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
418
|
+
let U;
|
|
419
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = {
|
|
420
420
|
padding: 24,
|
|
421
421
|
color: "#ff4d4f"
|
|
422
|
-
}, e[17] =
|
|
422
|
+
}, e[17] = U) : U = e[17];
|
|
423
423
|
let Z;
|
|
424
|
-
return e[18] !== F.message ? (Z = /* @__PURE__ */ J("div", { style:
|
|
424
|
+
return e[18] !== F.message ? (Z = /* @__PURE__ */ J("div", { style: U, children: [
|
|
425
425
|
"加载视图定义失败: ",
|
|
426
426
|
F.message
|
|
427
427
|
] }), e[18] = F.message, e[19] = Z) : Z = e[19], Z;
|
|
428
428
|
}
|
|
429
429
|
if (!R) {
|
|
430
|
-
let
|
|
431
|
-
return e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
430
|
+
let U;
|
|
431
|
+
return e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c("div", { style: {
|
|
432
432
|
padding: 24
|
|
433
|
-
}, children: "未找到视图定义" }), e[20] =
|
|
433
|
+
}, children: "未找到视图定义" }), e[20] = U) : U = e[20], U;
|
|
434
434
|
}
|
|
435
435
|
if (w && w.length === 0) {
|
|
436
|
-
let
|
|
437
|
-
return e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
436
|
+
let U;
|
|
437
|
+
return e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c("div", { style: {
|
|
438
438
|
padding: 24
|
|
439
|
-
}, children: "未找到视图" }), e[21] =
|
|
439
|
+
}, children: "未找到视图" }), e[21] = U) : U = e[21], U;
|
|
440
440
|
}
|
|
441
441
|
if (w && w.length > 0 && V) {
|
|
442
|
-
let
|
|
443
|
-
e[22] !==
|
|
442
|
+
let U;
|
|
443
|
+
e[22] !== L ? (U = L || {
|
|
444
444
|
list: [],
|
|
445
445
|
total: 0
|
|
446
|
-
}, e[22] =
|
|
446
|
+
}, e[22] = L, e[23] = U) : U = e[23];
|
|
447
447
|
let Z;
|
|
448
|
-
return e[24] !== m || e[25] !== b || e[26] !== V || e[27] !== T || e[28] !== M || e[29] !== S || e[30] !== C || e[31] !== h || e[32] !== d || e[33] !==
|
|
448
|
+
return e[24] !== m || e[25] !== b || e[26] !== V || e[27] !== T || e[28] !== M || e[29] !== S || e[30] !== C || e[31] !== h || e[32] !== d || e[33] !== p || e[34] !== D || e[35] !== U || e[36] !== v || e[37] !== R || e[38] !== w ? (Z = /* @__PURE__ */ c(hr, { defaultViews: w, defaultView: V, definition: R, loading: M, dataSource: U, pagination: d, actionColumn: m, onClickPrimaryKey: h, enableRowSelection: T, primaryAction: p, secondaryActions: D, batchActions: b, onGetRecordCount: A, onSwitchView: C, onLoadData: S, viewTableSetting: v, onCreateView: O, onUpdateView: g, onDeleteView: I }), e[24] = m, e[25] = b, e[26] = V, e[27] = T, e[28] = M, e[29] = S, e[30] = C, e[31] = h, e[32] = d, e[33] = p, e[34] = D, e[35] = U, e[36] = v, e[37] = R, e[38] = w, e[39] = Z) : Z = e[39], Z;
|
|
449
449
|
}
|
|
450
450
|
let K;
|
|
451
451
|
return e[40] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = /* @__PURE__ */ c("div", { style: {
|
|
@@ -577,7 +577,7 @@ function kl(t) {
|
|
|
577
577
|
let T, E;
|
|
578
578
|
e[8] !== o ? (T = /* @__PURE__ */ r(() => {
|
|
579
579
|
f(o);
|
|
580
|
-
}, "t4"), E = [o], e[8] = o, e[9] = T, e[10] = E) : (T = e[9], E = e[10]),
|
|
580
|
+
}, "t4"), E = [o], e[8] = o, e[9] = T, e[10] = E) : (T = e[9], E = e[10]), Ie(T, E);
|
|
581
581
|
let v;
|
|
582
582
|
if (e[11] !== a || e[12] !== l || e[13] !== h || e[14] !== u) {
|
|
583
583
|
let D;
|
|
@@ -590,8 +590,8 @@ function kl(t) {
|
|
|
590
590
|
] }, b.label), "t72"), e[16] = a, e[17] = l.length, e[18] = h, e[19] = u, e[20] = D) : D = e[20], v = l.map(D), e[11] = a, e[12] = l, e[13] = h, e[14] = u, e[15] = v;
|
|
591
591
|
} else
|
|
592
592
|
v = e[15];
|
|
593
|
-
let
|
|
594
|
-
return e[21] !== v ? (
|
|
593
|
+
let p;
|
|
594
|
+
return e[21] !== v ? (p = /* @__PURE__ */ c("div", { className: Pt.filterContent, children: v }), e[21] = v, e[22] = p) : p = e[22], p;
|
|
595
595
|
}
|
|
596
596
|
r(kl, "AvailableFilterSelect");
|
|
597
597
|
function Hl(t) {
|
|
@@ -623,7 +623,7 @@ function Dr() {
|
|
|
623
623
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
624
624
|
}
|
|
625
625
|
r(Dr, "currentTimeZone");
|
|
626
|
-
const gl = /* @__PURE__ */ r(() => !0, "TrueValidateValue"), Bl = /* @__PURE__ */ r((t, e) => t ? sl.has(t) ? !0 : e == null || e === "" || Array.isArray(e) && e.length === 0 ? !1 : t ===
|
|
626
|
+
const gl = /* @__PURE__ */ r(() => !0, "TrueValidateValue"), Bl = /* @__PURE__ */ r((t, e) => t ? sl.has(t) ? !0 : e == null || e === "" || Array.isArray(e) && e.length === 0 ? !1 : t === z.BETWEEN ? zl(e) : !0 : !1, "defaultValidateValue"), Yl = /* @__PURE__ */ r((t, e) => e, "defaultConditionValueParser"), Wl = /* @__PURE__ */ r((t, e, l) => l, "defaultValueConverter"), Gl = /* @__PURE__ */ r((t) => t, "defaultFilterValueConverter");
|
|
627
627
|
function Kl(t) {
|
|
628
628
|
const [e, l] = Q(t.operator), [n, i] = Q(t.value), a = t.validate ?? Bl, s = t.conditionValueParser ?? Yl, o = t.onOperatorChangeValueConverter ?? Wl, u = t.filterValueConverter ?? Gl, f = /* @__PURE__ */ r((T, E) => {
|
|
629
629
|
if (T === Ge.UNDEFINED || !a(T, E))
|
|
@@ -667,7 +667,7 @@ function Kl(t) {
|
|
|
667
667
|
r(Kl, "useFilterState");
|
|
668
668
|
const {
|
|
669
669
|
useToken: jl
|
|
670
|
-
} =
|
|
670
|
+
} = Ln;
|
|
671
671
|
function Me(t) {
|
|
672
672
|
const e = G(22), {
|
|
673
673
|
ref: l,
|
|
@@ -711,8 +711,8 @@ function Me(t) {
|
|
|
711
711
|
...T
|
|
712
712
|
}, e[2] = h, e[3] = T, e[4] = d.colorBgContainer, e[5] = E) : E = e[5];
|
|
713
713
|
const v = n.label?.className;
|
|
714
|
-
let
|
|
715
|
-
e[6] !== n.field.label || e[7] !== E || e[8] !== v ? (
|
|
714
|
+
let p;
|
|
715
|
+
e[6] !== n.field.label || e[7] !== E || e[8] !== v ? (p = /* @__PURE__ */ c(je, { style: E, className: v, children: n.field.label }), e[6] = n.field.label, e[7] = E, e[8] = v, e[9] = p) : p = e[9];
|
|
716
716
|
let D;
|
|
717
717
|
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = {
|
|
718
718
|
minWidth: 120
|
|
@@ -720,23 +720,23 @@ function Me(t) {
|
|
|
720
720
|
let b;
|
|
721
721
|
e[11] !== o.operator || e[12] !== o.setOperator || e[13] !== f || e[14] !== n.operator ? (b = /* @__PURE__ */ c(rt, { style: D, ...n.operator, onChange: o.setOperator, value: o.operator, options: f }), e[11] = o.operator, e[12] = o.setOperator, e[13] = f, e[14] = n.operator, e[15] = b) : b = e[15];
|
|
722
722
|
let R;
|
|
723
|
-
return e[16] !== n.className || e[17] !== m || e[18] !==
|
|
724
|
-
|
|
723
|
+
return e[16] !== n.className || e[17] !== m || e[18] !== p || e[19] !== b || e[20] !== u ? (R = /* @__PURE__ */ J(Se.Compact, { block: !0, style: m, className: n.className, children: [
|
|
724
|
+
p,
|
|
725
725
|
b,
|
|
726
726
|
u
|
|
727
|
-
] }), e[16] = n.className, e[17] = m, e[18] =
|
|
727
|
+
] }), e[16] = n.className, e[17] = m, e[18] = p, e[19] = b, e[20] = u, e[21] = R) : R = e[21], R;
|
|
728
728
|
}
|
|
729
729
|
r(Me, "AssemblyFilter");
|
|
730
730
|
const ql = "text";
|
|
731
731
|
function sn(t) {
|
|
732
732
|
const e = G(6);
|
|
733
733
|
let l;
|
|
734
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
734
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [z.EQ, z.NE, z.CONTAINS, z.STARTS_WITH, z.ENDS_WITH, z.IN, z.NOT_IN], e[0] = l) : l = e[0];
|
|
735
735
|
let n;
|
|
736
736
|
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => {
|
|
737
737
|
switch (a.operator) {
|
|
738
|
-
case
|
|
739
|
-
case
|
|
738
|
+
case z.IN:
|
|
739
|
+
case z.NOT_IN:
|
|
740
740
|
return /* @__PURE__ */ c(ut, { value: a.value, onChange: a.setValue, ...t.value });
|
|
741
741
|
default:
|
|
742
742
|
return /* @__PURE__ */ c(Ke, { style: {
|
|
@@ -761,7 +761,7 @@ sn.displayName = "TextFilter";
|
|
|
761
761
|
const Ql = "id", Xl = /* @__PURE__ */ r((t, e, l) => {
|
|
762
762
|
if (l == null)
|
|
763
763
|
return l;
|
|
764
|
-
if (e ===
|
|
764
|
+
if (e === z.ID)
|
|
765
765
|
return Array.isArray(l) ? l[0] : l;
|
|
766
766
|
if (Array.isArray(l))
|
|
767
767
|
return l;
|
|
@@ -771,9 +771,9 @@ const Ql = "id", Xl = /* @__PURE__ */ r((t, e, l) => {
|
|
|
771
771
|
function on(t) {
|
|
772
772
|
const e = G(6);
|
|
773
773
|
let l;
|
|
774
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
774
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [z.ID, z.IDS], e[0] = l) : l = e[0];
|
|
775
775
|
let n;
|
|
776
|
-
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => a.operator ===
|
|
776
|
+
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => a.operator === z.ID ? /* @__PURE__ */ c(Ke, { value: a.value, onChange: /* @__PURE__ */ r((s) => a.setValue(s.target.value), "onChange"), allowClear: !0, ...t.value }) : /* @__PURE__ */ c(ut, { value: a.value, onChange: a.setValue, ...t.value }), "t1"), e[1] = t.value, e[2] = n) : n = e[2];
|
|
777
777
|
let i;
|
|
778
778
|
if (e[3] !== t || e[4] !== n) {
|
|
779
779
|
const a = {
|
|
@@ -793,14 +793,14 @@ const Zl = "number";
|
|
|
793
793
|
function cn(t) {
|
|
794
794
|
const e = G(6);
|
|
795
795
|
let l;
|
|
796
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
796
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [z.EQ, z.NE, z.GT, z.LT, z.GTE, z.LTE, z.BETWEEN, z.IN, z.NOT_IN], e[0] = l) : l = e[0];
|
|
797
797
|
let n;
|
|
798
798
|
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => {
|
|
799
799
|
switch (a.operator) {
|
|
800
|
-
case
|
|
801
|
-
case
|
|
800
|
+
case z.IN:
|
|
801
|
+
case z.NOT_IN:
|
|
802
802
|
return /* @__PURE__ */ c(ut, { value: a.value, serializer: fl, onChange: /* @__PURE__ */ r((s) => a.setValue(s), "onChange"), ...t.value });
|
|
803
|
-
case
|
|
803
|
+
case z.BETWEEN: {
|
|
804
804
|
const {
|
|
805
805
|
placeholder: s,
|
|
806
806
|
...o
|
|
@@ -833,7 +833,7 @@ function cn(t) {
|
|
|
833
833
|
}
|
|
834
834
|
r(cn, "NumberFilter");
|
|
835
835
|
function Jl(t, e) {
|
|
836
|
-
return t ===
|
|
836
|
+
return t === z.BETWEEN ? Array.isArray(e) ? e[0] !== void 0 && e[1] !== void 0 : !1 : e != null;
|
|
837
837
|
}
|
|
838
838
|
r(Jl, "_temp$a");
|
|
839
839
|
cn.displayName = "NumberFilter";
|
|
@@ -841,7 +841,7 @@ const ei = "select";
|
|
|
841
841
|
function un(t) {
|
|
842
842
|
const e = G(6);
|
|
843
843
|
let l;
|
|
844
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
844
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [z.IN, z.NOT_IN], e[0] = l) : l = e[0];
|
|
845
845
|
let n;
|
|
846
846
|
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];
|
|
847
847
|
let i;
|
|
@@ -862,7 +862,7 @@ const ti = "bool";
|
|
|
862
862
|
function fn(t) {
|
|
863
863
|
const e = G(3);
|
|
864
864
|
let l;
|
|
865
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [Ge.UNDEFINED,
|
|
865
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [Ge.UNDEFINED, z.TRUE, z.FALSE], e[0] = l) : l = e[0];
|
|
866
866
|
let n;
|
|
867
867
|
if (e[1] !== t) {
|
|
868
868
|
const i = {
|
|
@@ -887,19 +887,19 @@ function li() {
|
|
|
887
887
|
(function(l, n) {
|
|
888
888
|
t.exports = n();
|
|
889
889
|
})(ni, (function() {
|
|
890
|
-
var l = 1e3, n = 6e4, i = 36e5, a = "millisecond", s = "second", o = "minute", u = "hour", f = "day", d = "week", m = "month", h = "quarter", T = "year", E = "date", v = "Invalid Date",
|
|
890
|
+
var l = 1e3, n = 6e4, i = 36e5, a = "millisecond", s = "second", o = "minute", u = "hour", f = "day", d = "week", m = "month", h = "quarter", T = "year", E = "date", v = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, D = /\[([^\]]+)]|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, b = { 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(N) {
|
|
891
891
|
var _ = ["th", "st", "nd", "rd"], S = N % 100;
|
|
892
892
|
return "[" + N + (_[(S - 20) % 10] || _[S] || _[0]) + "]";
|
|
893
893
|
}, "ordinal") }, R = /* @__PURE__ */ r(function(N, _, S) {
|
|
894
|
-
var
|
|
895
|
-
return !
|
|
894
|
+
var y = String(N);
|
|
895
|
+
return !y || y.length >= _ ? N : "" + Array(_ + 1 - y.length).join(S) + N;
|
|
896
896
|
}, "m"), P = { s: R, z: /* @__PURE__ */ r(function(N) {
|
|
897
|
-
var _ = -N.utcOffset(), S = Math.abs(_),
|
|
898
|
-
return (_ <= 0 ? "+" : "-") + R(
|
|
897
|
+
var _ = -N.utcOffset(), S = Math.abs(_), y = Math.floor(S / 60), C = S % 60;
|
|
898
|
+
return (_ <= 0 ? "+" : "-") + R(y, 2, "0") + ":" + R(C, 2, "0");
|
|
899
899
|
}, "z"), m: /* @__PURE__ */ r(function N(_, S) {
|
|
900
900
|
if (_.date() < S.date()) return -N(S, _);
|
|
901
|
-
var
|
|
902
|
-
return +(-(
|
|
901
|
+
var y = 12 * (S.year() - _.year()) + (S.month() - _.month()), C = _.clone().add(y, m), A = S - C < 0, O = _.clone().add(y + (A ? -1 : 1), m);
|
|
902
|
+
return +(-(y + (S - C) / (A ? C - O : O - C)) || 0);
|
|
903
903
|
}, "t"), a: /* @__PURE__ */ r(function(N) {
|
|
904
904
|
return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
|
|
905
905
|
}, "a"), p: /* @__PURE__ */ r(function(N) {
|
|
@@ -908,9 +908,9 @@ function li() {
|
|
|
908
908
|
return N === void 0;
|
|
909
909
|
}, "u") }, F = "en", w = {};
|
|
910
910
|
w[F] = b;
|
|
911
|
-
var
|
|
912
|
-
return N instanceof M || !(!N || !N[
|
|
913
|
-
}, "S"), V = /* @__PURE__ */ r(function N(_, S,
|
|
911
|
+
var H = "$isDayjsObject", x = /* @__PURE__ */ r(function(N) {
|
|
912
|
+
return N instanceof M || !(!N || !N[H]);
|
|
913
|
+
}, "S"), V = /* @__PURE__ */ r(function N(_, S, y) {
|
|
914
914
|
var C;
|
|
915
915
|
if (!_) return F;
|
|
916
916
|
if (typeof _ == "string") {
|
|
@@ -919,35 +919,35 @@ function li() {
|
|
|
919
919
|
var O = _.split("-");
|
|
920
920
|
if (!C && O.length > 1) return N(O[0]);
|
|
921
921
|
} else {
|
|
922
|
-
var
|
|
923
|
-
w[
|
|
922
|
+
var g = _.name;
|
|
923
|
+
w[g] = _, C = g;
|
|
924
924
|
}
|
|
925
|
-
return !
|
|
925
|
+
return !y && C && (F = C), C || !y && F;
|
|
926
926
|
}, "t"), $ = /* @__PURE__ */ r(function(N, _) {
|
|
927
927
|
if (x(N)) return N.clone();
|
|
928
928
|
var S = typeof _ == "object" ? _ : {};
|
|
929
929
|
return S.date = N, S.args = arguments, new M(S);
|
|
930
|
-
}, "O"),
|
|
931
|
-
|
|
930
|
+
}, "O"), L = P;
|
|
931
|
+
L.l = V, L.i = x, L.w = function(N, _) {
|
|
932
932
|
return $(N, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
|
|
933
933
|
};
|
|
934
934
|
var M = (function() {
|
|
935
935
|
function N(S) {
|
|
936
|
-
this.$L = V(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[
|
|
936
|
+
this.$L = V(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[H] = !0;
|
|
937
937
|
}
|
|
938
938
|
r(N, "M");
|
|
939
939
|
var _ = N.prototype;
|
|
940
940
|
return _.parse = function(S) {
|
|
941
|
-
this.$d = (function(
|
|
942
|
-
var C =
|
|
941
|
+
this.$d = (function(y) {
|
|
942
|
+
var C = y.date, A = y.utc;
|
|
943
943
|
if (C === null) return /* @__PURE__ */ new Date(NaN);
|
|
944
|
-
if (
|
|
944
|
+
if (L.u(C)) return /* @__PURE__ */ new Date();
|
|
945
945
|
if (C instanceof Date) return new Date(C);
|
|
946
946
|
if (typeof C == "string" && !/Z$/i.test(C)) {
|
|
947
|
-
var O = C.match(
|
|
947
|
+
var O = C.match(p);
|
|
948
948
|
if (O) {
|
|
949
|
-
var
|
|
950
|
-
return A ? new Date(Date.UTC(O[1],
|
|
949
|
+
var g = O[2] - 1 || 0, I = (O[7] || "0").substring(0, 3);
|
|
950
|
+
return A ? new Date(Date.UTC(O[1], g, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, I)) : new Date(O[1], g, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, I);
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
return new Date(C);
|
|
@@ -956,84 +956,84 @@ function li() {
|
|
|
956
956
|
var S = this.$d;
|
|
957
957
|
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();
|
|
958
958
|
}, _.$utils = function() {
|
|
959
|
-
return
|
|
959
|
+
return L;
|
|
960
960
|
}, _.isValid = function() {
|
|
961
961
|
return this.$d.toString() !== v;
|
|
962
|
-
}, _.isSame = function(S,
|
|
962
|
+
}, _.isSame = function(S, y) {
|
|
963
963
|
var C = $(S);
|
|
964
|
-
return this.startOf(
|
|
965
|
-
}, _.isAfter = function(S,
|
|
966
|
-
return $(S) < this.startOf(
|
|
967
|
-
}, _.isBefore = function(S,
|
|
968
|
-
return this.endOf(
|
|
969
|
-
}, _.$g = function(S,
|
|
970
|
-
return
|
|
964
|
+
return this.startOf(y) <= C && C <= this.endOf(y);
|
|
965
|
+
}, _.isAfter = function(S, y) {
|
|
966
|
+
return $(S) < this.startOf(y);
|
|
967
|
+
}, _.isBefore = function(S, y) {
|
|
968
|
+
return this.endOf(y) < $(S);
|
|
969
|
+
}, _.$g = function(S, y, C) {
|
|
970
|
+
return L.u(S) ? this[y] : this.set(C, S);
|
|
971
971
|
}, _.unix = function() {
|
|
972
972
|
return Math.floor(this.valueOf() / 1e3);
|
|
973
973
|
}, _.valueOf = function() {
|
|
974
974
|
return this.$d.getTime();
|
|
975
|
-
}, _.startOf = function(S,
|
|
976
|
-
var C = this, A = !!
|
|
977
|
-
var ne =
|
|
975
|
+
}, _.startOf = function(S, y) {
|
|
976
|
+
var C = this, A = !!L.u(y) || y, O = L.p(S), g = /* @__PURE__ */ r(function(ee, j) {
|
|
977
|
+
var ne = L.w(C.$u ? Date.UTC(C.$y, j, ee) : new Date(C.$y, j, ee), C);
|
|
978
978
|
return A ? ne : ne.endOf(f);
|
|
979
|
-
}, "l"),
|
|
980
|
-
return
|
|
981
|
-
}, "$"),
|
|
979
|
+
}, "l"), I = /* @__PURE__ */ r(function(ee, j) {
|
|
980
|
+
return L.w(C.toDate()[ee].apply(C.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), C);
|
|
981
|
+
}, "$"), B = this.$W, Y = this.$M, k = this.$D, K = "set" + (this.$u ? "UTC" : "");
|
|
982
982
|
switch (O) {
|
|
983
983
|
case T:
|
|
984
|
-
return A ?
|
|
984
|
+
return A ? g(1, 0) : g(31, 11);
|
|
985
985
|
case m:
|
|
986
|
-
return A ?
|
|
986
|
+
return A ? g(1, Y) : g(0, Y + 1);
|
|
987
987
|
case d:
|
|
988
|
-
var
|
|
989
|
-
return
|
|
988
|
+
var U = this.$locale().weekStart || 0, Z = (B < U ? B + 7 : B) - U;
|
|
989
|
+
return g(A ? k - Z : k + (6 - Z), Y);
|
|
990
990
|
case f:
|
|
991
991
|
case E:
|
|
992
|
-
return
|
|
992
|
+
return I(K + "Hours", 0);
|
|
993
993
|
case u:
|
|
994
|
-
return
|
|
994
|
+
return I(K + "Minutes", 1);
|
|
995
995
|
case o:
|
|
996
|
-
return
|
|
996
|
+
return I(K + "Seconds", 2);
|
|
997
997
|
case s:
|
|
998
|
-
return
|
|
998
|
+
return I(K + "Milliseconds", 3);
|
|
999
999
|
default:
|
|
1000
1000
|
return this.clone();
|
|
1001
1001
|
}
|
|
1002
1002
|
}, _.endOf = function(S) {
|
|
1003
1003
|
return this.startOf(S, !1);
|
|
1004
|
-
}, _.$set = function(S,
|
|
1005
|
-
var C, A =
|
|
1004
|
+
}, _.$set = function(S, y) {
|
|
1005
|
+
var C, A = L.p(S), O = "set" + (this.$u ? "UTC" : ""), g = (C = {}, C[f] = 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)[A], I = A === f ? this.$D + (y - this.$W) : y;
|
|
1006
1006
|
if (A === m || A === T) {
|
|
1007
|
-
var
|
|
1008
|
-
|
|
1009
|
-
} else
|
|
1007
|
+
var B = this.clone().set(E, 1);
|
|
1008
|
+
B.$d[g](I), B.init(), this.$d = B.set(E, Math.min(this.$D, B.daysInMonth())).$d;
|
|
1009
|
+
} else g && this.$d[g](I);
|
|
1010
1010
|
return this.init(), this;
|
|
1011
|
-
}, _.set = function(S,
|
|
1012
|
-
return this.clone().$set(S,
|
|
1011
|
+
}, _.set = function(S, y) {
|
|
1012
|
+
return this.clone().$set(S, y);
|
|
1013
1013
|
}, _.get = function(S) {
|
|
1014
|
-
return this[
|
|
1015
|
-
}, _.add = function(S,
|
|
1014
|
+
return this[L.p(S)]();
|
|
1015
|
+
}, _.add = function(S, y) {
|
|
1016
1016
|
var C, A = this;
|
|
1017
1017
|
S = Number(S);
|
|
1018
|
-
var O =
|
|
1019
|
-
var
|
|
1020
|
-
return
|
|
1018
|
+
var O = L.p(y), g = /* @__PURE__ */ r(function(Y) {
|
|
1019
|
+
var k = $(A);
|
|
1020
|
+
return L.w(k.date(k.date() + Math.round(Y * S)), A);
|
|
1021
1021
|
}, "y");
|
|
1022
1022
|
if (O === m) return this.set(m, this.$M + S);
|
|
1023
1023
|
if (O === T) return this.set(T, this.$y + S);
|
|
1024
|
-
if (O === f) return
|
|
1025
|
-
if (O === d) return
|
|
1026
|
-
var
|
|
1027
|
-
return
|
|
1028
|
-
}, _.subtract = function(S,
|
|
1029
|
-
return this.add(-1 * S,
|
|
1024
|
+
if (O === f) return g(1);
|
|
1025
|
+
if (O === d) return g(7);
|
|
1026
|
+
var I = (C = {}, C[o] = n, C[u] = i, C[s] = l, C)[O] || 1, B = this.$d.getTime() + S * I;
|
|
1027
|
+
return L.w(B, this);
|
|
1028
|
+
}, _.subtract = function(S, y) {
|
|
1029
|
+
return this.add(-1 * S, y);
|
|
1030
1030
|
}, _.format = function(S) {
|
|
1031
|
-
var
|
|
1031
|
+
var y = this, C = this.$locale();
|
|
1032
1032
|
if (!this.isValid()) return C.invalidDate || v;
|
|
1033
|
-
var A = S || "YYYY-MM-DDTHH:mm:ssZ", O =
|
|
1034
|
-
return j && (j[ne] || j(
|
|
1033
|
+
var A = S || "YYYY-MM-DDTHH:mm:ssZ", O = L.z(this), g = this.$H, I = this.$m, B = this.$M, Y = C.weekdays, k = C.months, K = C.meridiem, U = /* @__PURE__ */ r(function(j, ne, te, ie) {
|
|
1034
|
+
return j && (j[ne] || j(y, A)) || te[ne].slice(0, ie);
|
|
1035
1035
|
}, "h"), Z = /* @__PURE__ */ r(function(j) {
|
|
1036
|
-
return
|
|
1036
|
+
return L.s(g % 12 || 12, j, "0");
|
|
1037
1037
|
}, "d"), ee = K || function(j, ne, te) {
|
|
1038
1038
|
var ie = j < 12 ? "AM" : "PM";
|
|
1039
1039
|
return te ? ie.toLowerCase() : ie;
|
|
@@ -1042,51 +1042,51 @@ function li() {
|
|
|
1042
1042
|
return ne || (function(te) {
|
|
1043
1043
|
switch (te) {
|
|
1044
1044
|
case "YY":
|
|
1045
|
-
return String(
|
|
1045
|
+
return String(y.$y).slice(-2);
|
|
1046
1046
|
case "YYYY":
|
|
1047
|
-
return
|
|
1047
|
+
return L.s(y.$y, 4, "0");
|
|
1048
1048
|
case "M":
|
|
1049
|
-
return
|
|
1049
|
+
return B + 1;
|
|
1050
1050
|
case "MM":
|
|
1051
|
-
return
|
|
1051
|
+
return L.s(B + 1, 2, "0");
|
|
1052
1052
|
case "MMM":
|
|
1053
|
-
return
|
|
1053
|
+
return U(C.monthsShort, B, k, 3);
|
|
1054
1054
|
case "MMMM":
|
|
1055
|
-
return
|
|
1055
|
+
return U(k, B);
|
|
1056
1056
|
case "D":
|
|
1057
|
-
return
|
|
1057
|
+
return y.$D;
|
|
1058
1058
|
case "DD":
|
|
1059
|
-
return
|
|
1059
|
+
return L.s(y.$D, 2, "0");
|
|
1060
1060
|
case "d":
|
|
1061
|
-
return String(
|
|
1061
|
+
return String(y.$W);
|
|
1062
1062
|
case "dd":
|
|
1063
|
-
return
|
|
1063
|
+
return U(C.weekdaysMin, y.$W, Y, 2);
|
|
1064
1064
|
case "ddd":
|
|
1065
|
-
return
|
|
1065
|
+
return U(C.weekdaysShort, y.$W, Y, 3);
|
|
1066
1066
|
case "dddd":
|
|
1067
|
-
return Y[
|
|
1067
|
+
return Y[y.$W];
|
|
1068
1068
|
case "H":
|
|
1069
|
-
return String(
|
|
1069
|
+
return String(g);
|
|
1070
1070
|
case "HH":
|
|
1071
|
-
return
|
|
1071
|
+
return L.s(g, 2, "0");
|
|
1072
1072
|
case "h":
|
|
1073
1073
|
return Z(1);
|
|
1074
1074
|
case "hh":
|
|
1075
1075
|
return Z(2);
|
|
1076
1076
|
case "a":
|
|
1077
|
-
return ee(
|
|
1077
|
+
return ee(g, I, !0);
|
|
1078
1078
|
case "A":
|
|
1079
|
-
return ee(
|
|
1079
|
+
return ee(g, I, !1);
|
|
1080
1080
|
case "m":
|
|
1081
|
-
return String(
|
|
1081
|
+
return String(I);
|
|
1082
1082
|
case "mm":
|
|
1083
|
-
return
|
|
1083
|
+
return L.s(I, 2, "0");
|
|
1084
1084
|
case "s":
|
|
1085
|
-
return String(
|
|
1085
|
+
return String(y.$s);
|
|
1086
1086
|
case "ss":
|
|
1087
|
-
return
|
|
1087
|
+
return L.s(y.$s, 2, "0");
|
|
1088
1088
|
case "SSS":
|
|
1089
|
-
return
|
|
1089
|
+
return L.s(y.$ms, 3, "0");
|
|
1090
1090
|
case "Z":
|
|
1091
1091
|
return O;
|
|
1092
1092
|
}
|
|
@@ -1095,25 +1095,25 @@ function li() {
|
|
|
1095
1095
|
}));
|
|
1096
1096
|
}, _.utcOffset = function() {
|
|
1097
1097
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1098
|
-
}, _.diff = function(S,
|
|
1099
|
-
var A, O = this,
|
|
1100
|
-
return
|
|
1098
|
+
}, _.diff = function(S, y, C) {
|
|
1099
|
+
var A, O = this, g = L.p(y), I = $(S), B = (I.utcOffset() - this.utcOffset()) * n, Y = this - I, k = /* @__PURE__ */ r(function() {
|
|
1100
|
+
return L.m(O, I);
|
|
1101
1101
|
}, "D");
|
|
1102
|
-
switch (
|
|
1102
|
+
switch (g) {
|
|
1103
1103
|
case T:
|
|
1104
|
-
A =
|
|
1104
|
+
A = k() / 12;
|
|
1105
1105
|
break;
|
|
1106
1106
|
case m:
|
|
1107
|
-
A =
|
|
1107
|
+
A = k();
|
|
1108
1108
|
break;
|
|
1109
1109
|
case h:
|
|
1110
|
-
A =
|
|
1110
|
+
A = k() / 3;
|
|
1111
1111
|
break;
|
|
1112
1112
|
case d:
|
|
1113
|
-
A = (Y -
|
|
1113
|
+
A = (Y - B) / 6048e5;
|
|
1114
1114
|
break;
|
|
1115
1115
|
case f:
|
|
1116
|
-
A = (Y -
|
|
1116
|
+
A = (Y - B) / 864e5;
|
|
1117
1117
|
break;
|
|
1118
1118
|
case u:
|
|
1119
1119
|
A = Y / i;
|
|
@@ -1127,17 +1127,17 @@ function li() {
|
|
|
1127
1127
|
default:
|
|
1128
1128
|
A = Y;
|
|
1129
1129
|
}
|
|
1130
|
-
return C ? A :
|
|
1130
|
+
return C ? A : L.a(A);
|
|
1131
1131
|
}, _.daysInMonth = function() {
|
|
1132
1132
|
return this.endOf(m).$D;
|
|
1133
1133
|
}, _.$locale = function() {
|
|
1134
1134
|
return w[this.$L];
|
|
1135
|
-
}, _.locale = function(S,
|
|
1135
|
+
}, _.locale = function(S, y) {
|
|
1136
1136
|
if (!S) return this.$L;
|
|
1137
|
-
var C = this.clone(), A = V(S,
|
|
1137
|
+
var C = this.clone(), A = V(S, y, !0);
|
|
1138
1138
|
return A && (C.$L = A), C;
|
|
1139
1139
|
}, _.clone = function() {
|
|
1140
|
-
return
|
|
1140
|
+
return L.w(this.$d, this);
|
|
1141
1141
|
}, _.toDate = function() {
|
|
1142
1142
|
return new Date(this.valueOf());
|
|
1143
1143
|
}, _.toJSON = function() {
|
|
@@ -1162,27 +1162,27 @@ function li() {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
r(li, "requireDayjs_min");
|
|
1164
1164
|
var vt = li();
|
|
1165
|
-
const
|
|
1166
|
-
if (t === Ge.UNDEFINED || e === Ge.UNDEFINED ||
|
|
1165
|
+
const It = /* @__PURE__ */ dn(vt), ii = "datetime", ai = "HH:mm:ss", Vt = "day", yt = /* @__PURE__ */ new Set([z.RECENT_DAYS, z.EARLIER_DAYS]), Mt = /* @__PURE__ */ new Set([z.GT, z.LT, z.GTE, z.LTE]), ri = /* @__PURE__ */ r((t, e, l) => {
|
|
1166
|
+
if (t === Ge.UNDEFINED || e === Ge.UNDEFINED || yt.has(t) && yt.has(e))
|
|
1167
1167
|
return l;
|
|
1168
1168
|
if (Mt.has(t)) {
|
|
1169
1169
|
if (Mt.has(e))
|
|
1170
1170
|
return l;
|
|
1171
|
-
if (e ===
|
|
1171
|
+
if (e === z.BETWEEN)
|
|
1172
1172
|
return [l, void 0];
|
|
1173
1173
|
}
|
|
1174
1174
|
}, "DateTimeOnOperatorChangeValueConverter"), si = /* @__PURE__ */ r((t, e) => {
|
|
1175
1175
|
if (e) {
|
|
1176
|
-
if (t ===
|
|
1176
|
+
if (t === z.BETWEEN) {
|
|
1177
1177
|
if (!Array.isArray(e) || e.length !== 2)
|
|
1178
1178
|
return;
|
|
1179
1179
|
const l = e[0];
|
|
1180
1180
|
let n = e[1];
|
|
1181
1181
|
return n.startOf(Vt).isSame(n) && (n = n.endOf(Vt)), [l.valueOf(), n.valueOf()];
|
|
1182
1182
|
}
|
|
1183
|
-
if (
|
|
1183
|
+
if (yt.has(t))
|
|
1184
1184
|
return e;
|
|
1185
|
-
if (t ===
|
|
1185
|
+
if (t === z.BEFORE_TODAY)
|
|
1186
1186
|
return vt.isDayjs(e) ? e.format(ai) : void 0;
|
|
1187
1187
|
if (vt.isDayjs(e))
|
|
1188
1188
|
return e.valueOf();
|
|
@@ -1191,29 +1191,29 @@ const yt = /* @__PURE__ */ dn(vt), ii = "datetime", ai = "HH:mm:ss", Vt = "day",
|
|
|
1191
1191
|
function mn(t) {
|
|
1192
1192
|
const e = G(6);
|
|
1193
1193
|
let l;
|
|
1194
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [
|
|
1194
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = [z.GT, z.LT, z.GTE, z.LTE, z.BETWEEN, z.TODAY, z.BEFORE_TODAY, z.TOMORROW, z.THIS_WEEK, z.NEXT_WEEK, z.LAST_WEEK, z.THIS_MONTH, z.LAST_MONTH, z.RECENT_DAYS, z.EARLIER_DAYS], e[0] = l) : l = e[0];
|
|
1195
1195
|
let n;
|
|
1196
1196
|
e[1] !== t.value ? (n = /* @__PURE__ */ r((a) => {
|
|
1197
1197
|
switch (a.operator) {
|
|
1198
|
-
case
|
|
1198
|
+
case z.BETWEEN: {
|
|
1199
1199
|
const {
|
|
1200
1200
|
placeholder: s,
|
|
1201
1201
|
...o
|
|
1202
1202
|
} = t.value || {};
|
|
1203
1203
|
return /* @__PURE__ */ c(ft.RangePicker, { value: a.value, onChange: a.setValue, ...o });
|
|
1204
1204
|
}
|
|
1205
|
-
case
|
|
1206
|
-
case
|
|
1207
|
-
case
|
|
1208
|
-
case
|
|
1209
|
-
case
|
|
1210
|
-
case
|
|
1211
|
-
case
|
|
1205
|
+
case z.TODAY:
|
|
1206
|
+
case z.TOMORROW:
|
|
1207
|
+
case z.THIS_WEEK:
|
|
1208
|
+
case z.NEXT_WEEK:
|
|
1209
|
+
case z.LAST_WEEK:
|
|
1210
|
+
case z.THIS_MONTH:
|
|
1211
|
+
case z.LAST_MONTH:
|
|
1212
1212
|
return null;
|
|
1213
|
-
case
|
|
1214
|
-
case
|
|
1213
|
+
case z.RECENT_DAYS:
|
|
1214
|
+
case z.EARLIER_DAYS:
|
|
1215
1215
|
return /* @__PURE__ */ c(tt, { value: a.value, min: 1, onChange: a.setValue, ...t.value });
|
|
1216
|
-
case
|
|
1216
|
+
case z.BEFORE_TODAY:
|
|
1217
1217
|
return /* @__PURE__ */ c(ft, { picker: "time", value: a.value, onChange: a.setValue, ...t.value });
|
|
1218
1218
|
default:
|
|
1219
1219
|
return /* @__PURE__ */ c(ft, { value: a.value, picker: "date", showNow: !1, onChange: a.setValue, ...t.value });
|
|
@@ -1356,7 +1356,7 @@ function hn(t) {
|
|
|
1356
1356
|
be(n, ci);
|
|
1357
1357
|
const i = `Unsupported filter type:[${l}]`;
|
|
1358
1358
|
let a;
|
|
1359
|
-
return e[0] !== i ? (a = /* @__PURE__ */ c(
|
|
1359
|
+
return e[0] !== i ? (a = /* @__PURE__ */ c(pn, { title: i, type: "warning", showIcon: !0 }), e[0] = i, e[1] = a) : a = e[1], a;
|
|
1360
1360
|
}
|
|
1361
1361
|
r(hn, "FallbackFilter");
|
|
1362
1362
|
function ci() {
|
|
@@ -1505,24 +1505,24 @@ function En(t) {
|
|
|
1505
1505
|
} = t, m = n === void 0 ? Ei : n, h = i === void 0 ? Tn : i, T = a === void 0 ? _i : a, E = Un(), {
|
|
1506
1506
|
locale: v
|
|
1507
1507
|
} = Re();
|
|
1508
|
-
let
|
|
1509
|
-
e[0] !== E ? (
|
|
1510
|
-
const
|
|
1511
|
-
return lt(...
|
|
1512
|
-
}, "t3"), e[0] = E, e[1] =
|
|
1513
|
-
const D =
|
|
1508
|
+
let p;
|
|
1509
|
+
e[0] !== E ? (p = /* @__PURE__ */ r(() => {
|
|
1510
|
+
const I = Array.from(E.values()).map(Si).filter(Boolean);
|
|
1511
|
+
return lt(...I);
|
|
1512
|
+
}, "t3"), e[0] = E, e[1] = p) : p = e[1];
|
|
1513
|
+
const D = p;
|
|
1514
1514
|
let b;
|
|
1515
1515
|
e[2] !== D || e[3] !== o ? (b = /* @__PURE__ */ r(() => {
|
|
1516
1516
|
if (!o)
|
|
1517
1517
|
return;
|
|
1518
|
-
const
|
|
1519
|
-
o(
|
|
1518
|
+
const I = D();
|
|
1519
|
+
o(I);
|
|
1520
1520
|
}, "t4"), e[2] = D, e[3] = o, e[4] = b) : b = e[4];
|
|
1521
1521
|
const R = b;
|
|
1522
1522
|
let P;
|
|
1523
1523
|
e[5] !== E ? (P = /* @__PURE__ */ r(() => {
|
|
1524
|
-
for (const
|
|
1525
|
-
|
|
1524
|
+
for (const I of E.values())
|
|
1525
|
+
I.reset();
|
|
1526
1526
|
}, "t5"), e[5] = E, e[6] = P) : P = e[6];
|
|
1527
1527
|
const F = P;
|
|
1528
1528
|
let w;
|
|
@@ -1530,7 +1530,7 @@ function En(t) {
|
|
|
1530
1530
|
search: R,
|
|
1531
1531
|
reset: F
|
|
1532
1532
|
}), "t6"), e[7] = F, e[8] = R, e[9] = w) : w = e[9], be(l, w);
|
|
1533
|
-
const
|
|
1533
|
+
const H = f !== !1;
|
|
1534
1534
|
let x;
|
|
1535
1535
|
e[10] !== f ? (x = typeof f == "object" ? f : {}, e[10] = f, e[11] = x) : x = e[11];
|
|
1536
1536
|
const V = x;
|
|
@@ -1539,14 +1539,14 @@ function En(t) {
|
|
|
1539
1539
|
maxHeight: "128px",
|
|
1540
1540
|
overflowY: "auto"
|
|
1541
1541
|
}, e[12] = $) : $ = e[12];
|
|
1542
|
-
let
|
|
1542
|
+
let L;
|
|
1543
1543
|
if (e[13] !== h || e[14] !== E || e[15] !== s) {
|
|
1544
|
-
let
|
|
1545
|
-
e[17] !== h || e[18] !== E ? (
|
|
1544
|
+
let I;
|
|
1545
|
+
e[17] !== h || e[18] !== E ? (I = /* @__PURE__ */ r((B) => /* @__PURE__ */ xn(_t, { ...h, key: B.key }, /* @__PURE__ */ c(mi, { ...B, ref: E.register(B.key) })), "t102"), e[17] = h, e[18] = E, e[19] = I) : I = e[19], L = s.map(I), e[13] = h, e[14] = E, e[15] = s, e[16] = L;
|
|
1546
1546
|
} else
|
|
1547
|
-
|
|
1547
|
+
L = e[16];
|
|
1548
1548
|
let M;
|
|
1549
|
-
e[20] !== m || e[21] !==
|
|
1549
|
+
e[20] !== m || e[21] !== L ? (M = /* @__PURE__ */ c(Et, { ...m, style: $, children: L }), e[20] = m, e[21] = L, e[22] = M) : M = e[22];
|
|
1550
1550
|
let W;
|
|
1551
1551
|
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = {
|
|
1552
1552
|
marginTop: "16px"
|
|
@@ -1556,12 +1556,12 @@ function En(t) {
|
|
|
1556
1556
|
textAlign: "right"
|
|
1557
1557
|
}, e[24] = N) : N = e[24];
|
|
1558
1558
|
let _;
|
|
1559
|
-
e[25] !== F || e[26] !== V || e[27] !==
|
|
1559
|
+
e[25] !== F || e[26] !== V || e[27] !== H ? (_ = H && /* @__PURE__ */ c(me, { icon: /* @__PURE__ */ c(Yn, {}), onClick: F, ...V, children: V?.children || "Reset" }), e[25] = F, e[26] = V, e[27] = H, e[28] = _) : _ = e[28];
|
|
1560
1560
|
let S;
|
|
1561
1561
|
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ c(Wn, {}), e[29] = S) : S = e[29];
|
|
1562
|
-
const
|
|
1562
|
+
const y = d?.children || v.filterPanel?.searchButtonTitle || "Search";
|
|
1563
1563
|
let C;
|
|
1564
|
-
e[30] !== R || e[31] !== d || e[32] !==
|
|
1564
|
+
e[30] !== R || e[31] !== d || e[32] !== y ? (C = /* @__PURE__ */ c(me, { type: "primary", icon: S, onClick: R, ...d, children: y }), e[30] = R, e[31] = d, e[32] = y, e[33] = C) : C = e[33];
|
|
1565
1565
|
let A;
|
|
1566
1566
|
e[34] !== u || e[35] !== _ || e[36] !== C ? (A = /* @__PURE__ */ J(Se.Compact, { children: [
|
|
1567
1567
|
u,
|
|
@@ -1570,11 +1570,11 @@ function En(t) {
|
|
|
1570
1570
|
] }), e[34] = u, e[35] = _, e[36] = C, e[37] = A) : A = e[37];
|
|
1571
1571
|
let O;
|
|
1572
1572
|
e[38] !== T || e[39] !== A ? (O = /* @__PURE__ */ c(Et, { justify: "end", style: W, children: /* @__PURE__ */ c(_t, { ...T, style: N, children: A }) }), e[38] = T, e[39] = A, e[40] = O) : O = e[40];
|
|
1573
|
-
let
|
|
1574
|
-
return e[41] !== M || e[42] !== O ? (
|
|
1573
|
+
let g;
|
|
1574
|
+
return e[41] !== M || e[42] !== O ? (g = /* @__PURE__ */ J(Te, { children: [
|
|
1575
1575
|
M,
|
|
1576
1576
|
O
|
|
1577
|
-
] }), e[41] = M, e[42] = O, e[43] =
|
|
1577
|
+
] }), e[41] = M, e[42] = O, e[43] = g) : g = e[43], g;
|
|
1578
1578
|
}
|
|
1579
1579
|
r(En, "FilterPanel");
|
|
1580
1580
|
function Si(t) {
|
|
@@ -1600,13 +1600,13 @@ function Ci(t) {
|
|
|
1600
1600
|
T(!1);
|
|
1601
1601
|
return;
|
|
1602
1602
|
}
|
|
1603
|
-
const S = _.map(vi),
|
|
1604
|
-
m(
|
|
1603
|
+
const S = _.map(vi), y = [...d, ...S];
|
|
1604
|
+
m(y), f && f(y), T(!1);
|
|
1605
1605
|
}, "t0"), e[0] = d, e[1] = f, e[2] = v) : v = e[2];
|
|
1606
|
-
const
|
|
1606
|
+
const p = v;
|
|
1607
1607
|
let D;
|
|
1608
1608
|
e[3] !== d || e[4] !== f ? (D = /* @__PURE__ */ r((_) => {
|
|
1609
|
-
const S = d.filter((
|
|
1609
|
+
const S = d.filter((y) => y.key !== _);
|
|
1610
1610
|
m(S), f && f(S);
|
|
1611
1611
|
}, "t1"), e[3] = d, e[4] = f, e[5] = D) : D = e[5];
|
|
1612
1612
|
const b = D;
|
|
@@ -1622,21 +1622,21 @@ function Ci(t) {
|
|
|
1622
1622
|
const P = R;
|
|
1623
1623
|
let F, w;
|
|
1624
1624
|
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ r(() => T(!0), "t3"), w = /* @__PURE__ */ c(Xt, {}), e[11] = F, e[12] = w) : (F = e[11], w = e[12]);
|
|
1625
|
-
const
|
|
1625
|
+
const H = E.filterPanel?.addFilterTitle || "Add Filter";
|
|
1626
1626
|
let x;
|
|
1627
|
-
e[13] !==
|
|
1627
|
+
e[13] !== H ? (x = /* @__PURE__ */ c(me, { onClick: F, icon: w, children: H }), e[13] = H, e[14] = x) : x = e[14];
|
|
1628
1628
|
let V;
|
|
1629
1629
|
e[15] !== i || e[16] !== P || e[17] !== u || e[18] !== l || e[19] !== o || e[20] !== n || e[21] !== x ? (V = /* @__PURE__ */ c(En, { ref: l, filters: P, onSearch: u, actions: x, resetButton: o, row: n, col: i }), e[15] = i, e[16] = P, e[17] = u, e[18] = l, e[19] = o, e[20] = n, e[21] = x, e[22] = V) : V = e[22];
|
|
1630
1630
|
const $ = E.filterPanel?.addFilterTitle || "Add Filter";
|
|
1631
|
-
let
|
|
1632
|
-
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1631
|
+
let L;
|
|
1632
|
+
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ r(() => T(!1), "t9"), e[23] = L) : L = e[23];
|
|
1633
1633
|
let M;
|
|
1634
1634
|
e[24] !== d || e[25] !== a ? (M = {
|
|
1635
1635
|
filters: a,
|
|
1636
1636
|
activeFilters: d
|
|
1637
1637
|
}, e[24] = d, e[25] = a, e[26] = M) : M = e[26];
|
|
1638
1638
|
let W;
|
|
1639
|
-
e[27] !==
|
|
1639
|
+
e[27] !== p || e[28] !== h || e[29] !== M || e[30] !== $ ? (W = /* @__PURE__ */ c(Ul, { title: $, open: h, onCancel: L, onSave: p, availableFilters: M }), e[27] = p, e[28] = h, e[29] = M, e[30] = $, e[31] = W) : W = e[31];
|
|
1640
1640
|
let N;
|
|
1641
1641
|
return e[32] !== W || e[33] !== V ? (N = /* @__PURE__ */ J(Te, { children: [
|
|
1642
1642
|
V,
|
|
@@ -1654,10 +1654,10 @@ function vi(t) {
|
|
|
1654
1654
|
};
|
|
1655
1655
|
}
|
|
1656
1656
|
r(vi, "_temp$7");
|
|
1657
|
-
const
|
|
1657
|
+
const Ii = "REFRESH_DATA_EVENTS", yi = new ol(Ii), He = new cl({ delegate: yi });
|
|
1658
1658
|
function Rt() {
|
|
1659
1659
|
const t = /* @__PURE__ */ r(() => He.emit("REFRESH"), "publish"), e = /* @__PURE__ */ r((l) => He.on(l), "subscribe");
|
|
1660
|
-
return
|
|
1660
|
+
return Ie(() => () => {
|
|
1661
1661
|
He.handlers.forEach((l) => {
|
|
1662
1662
|
He.off(l.name);
|
|
1663
1663
|
});
|
|
@@ -1677,29 +1677,29 @@ function Sn({
|
|
|
1677
1677
|
defaultSorter: i = [],
|
|
1678
1678
|
...a
|
|
1679
1679
|
}) {
|
|
1680
|
-
const { defaultColumns: s, defaultActiveFilters: o } = a, [u, f] = Q(s), [d, m] = Q(o), [h, T] = Q(t), [E, v] = Q(e), [
|
|
1680
|
+
const { defaultColumns: s, defaultActiveFilters: o } = a, [u, f] = Q(s), [d, m] = Q(o), [h, T] = Q(t), [E, v] = Q(e), [p, D] = Q(l), [b, R] = Q(i), [P, F] = Q(n);
|
|
1681
1681
|
return {
|
|
1682
1682
|
columns: u,
|
|
1683
|
-
setColumns: /* @__PURE__ */ r((
|
|
1684
|
-
f(
|
|
1683
|
+
setColumns: /* @__PURE__ */ r((L) => {
|
|
1684
|
+
f(L.map((M) => ({ ...M })));
|
|
1685
1685
|
}, "setColumnsFn"),
|
|
1686
1686
|
activeFilters: d,
|
|
1687
|
-
setActiveFilters: /* @__PURE__ */ r((
|
|
1688
|
-
m(
|
|
1687
|
+
setActiveFilters: /* @__PURE__ */ r((L) => {
|
|
1688
|
+
m(L.map((M) => ({ ...M })));
|
|
1689
1689
|
}, "setActiveFiltersFn"),
|
|
1690
1690
|
page: h,
|
|
1691
1691
|
setPage: T,
|
|
1692
1692
|
pageSize: E,
|
|
1693
1693
|
setPageSize: v,
|
|
1694
1694
|
condition: P,
|
|
1695
|
-
setCondition: /* @__PURE__ */ r((
|
|
1696
|
-
F({ ...
|
|
1695
|
+
setCondition: /* @__PURE__ */ r((L) => {
|
|
1696
|
+
F({ ...L });
|
|
1697
1697
|
}, "setConditionFn"),
|
|
1698
1698
|
sorter: b,
|
|
1699
|
-
setSorter: /* @__PURE__ */ r((
|
|
1700
|
-
R(
|
|
1699
|
+
setSorter: /* @__PURE__ */ r((L) => {
|
|
1700
|
+
R(L.map((M) => ({ ...M })));
|
|
1701
1701
|
}, "setSorterFn"),
|
|
1702
|
-
tableSize:
|
|
1702
|
+
tableSize: p,
|
|
1703
1703
|
setTableSize: D,
|
|
1704
1704
|
reset: /* @__PURE__ */ r(() => {
|
|
1705
1705
|
f(s), m(o), T(t), v(e), F(n), R(i), D(l);
|
|
@@ -1730,7 +1730,7 @@ function Be(t) {
|
|
|
1730
1730
|
}
|
|
1731
1731
|
r(Be, "ActionCell");
|
|
1732
1732
|
const Ai = "actions";
|
|
1733
|
-
function
|
|
1733
|
+
function Li(t) {
|
|
1734
1734
|
const {
|
|
1735
1735
|
data: e
|
|
1736
1736
|
} = t;
|
|
@@ -1753,15 +1753,15 @@ function pi(t) {
|
|
|
1753
1753
|
] }) }) })
|
|
1754
1754
|
] }) : /* @__PURE__ */ c(Te, { children: Ht(e.value.primaryAction) ? /* @__PURE__ */ c(Be, { ...e.value.primaryAction }) : /* @__PURE__ */ c(Te, { children: e.value.primaryAction(e.record) }) });
|
|
1755
1755
|
}
|
|
1756
|
-
r(
|
|
1756
|
+
r(Li, "renderActions");
|
|
1757
1757
|
function Cn(t) {
|
|
1758
|
-
return
|
|
1758
|
+
return Li(t);
|
|
1759
1759
|
}
|
|
1760
1760
|
r(Cn, "ActionsCell");
|
|
1761
|
-
function
|
|
1762
|
-
return
|
|
1761
|
+
function pi(t) {
|
|
1762
|
+
return It.isDayjs(t) ? t : It(t);
|
|
1763
1763
|
}
|
|
1764
|
-
r(
|
|
1764
|
+
r(pi, "parseDayjs");
|
|
1765
1765
|
function bi(t) {
|
|
1766
1766
|
return t == null;
|
|
1767
1767
|
}
|
|
@@ -1832,7 +1832,7 @@ function vn(t) {
|
|
|
1832
1832
|
o = /* @__PURE__ */ c(Xe, { ...m, children: "-" });
|
|
1833
1833
|
break e;
|
|
1834
1834
|
}
|
|
1835
|
-
const T =
|
|
1835
|
+
const T = pi(l.value);
|
|
1836
1836
|
if (!T.isValid()) {
|
|
1837
1837
|
o = /* @__PURE__ */ c(Xe, { ...m, children: "-" });
|
|
1838
1838
|
break e;
|
|
@@ -1852,7 +1852,7 @@ function vn(t) {
|
|
|
1852
1852
|
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;
|
|
1853
1853
|
}
|
|
1854
1854
|
r(vn, "DateTimeCell");
|
|
1855
|
-
|
|
1855
|
+
It.extend($i);
|
|
1856
1856
|
const Vi = "calendar-time", Mi = {
|
|
1857
1857
|
sameDay: "[今天] HH:mm",
|
|
1858
1858
|
nextDay: "[明天] HH:mm",
|
|
@@ -1890,14 +1890,14 @@ r(ki, "CalendarTimeCell");
|
|
|
1890
1890
|
const {
|
|
1891
1891
|
Text: Hi
|
|
1892
1892
|
} = je, Ui = "text";
|
|
1893
|
-
function
|
|
1893
|
+
function In(t) {
|
|
1894
1894
|
const e = G(3), l = t.attributes?.children ?? (t.data.value || "-");
|
|
1895
1895
|
let n;
|
|
1896
1896
|
return e[0] !== t.attributes || e[1] !== l ? (n = /* @__PURE__ */ c(Hi, { ...t.attributes, children: l }), e[0] = t.attributes, e[1] = l, e[2] = n) : n = e[2], n;
|
|
1897
1897
|
}
|
|
1898
|
-
r(
|
|
1898
|
+
r(In, "TextCell");
|
|
1899
1899
|
const zi = "tag";
|
|
1900
|
-
function
|
|
1900
|
+
function yn(t) {
|
|
1901
1901
|
const e = G(3), {
|
|
1902
1902
|
data: l,
|
|
1903
1903
|
attributes: n
|
|
@@ -1906,9 +1906,9 @@ function In(t) {
|
|
|
1906
1906
|
return null;
|
|
1907
1907
|
const i = n?.children ?? l.value;
|
|
1908
1908
|
let a;
|
|
1909
|
-
return e[0] !== n || e[1] !== i ? (a = /* @__PURE__ */ c(
|
|
1909
|
+
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;
|
|
1910
1910
|
}
|
|
1911
|
-
r(
|
|
1911
|
+
r(yn, "TagCell");
|
|
1912
1912
|
const gi = "tags";
|
|
1913
1913
|
function Bi(t) {
|
|
1914
1914
|
const e = G(14), {
|
|
@@ -1926,7 +1926,7 @@ function Bi(t) {
|
|
|
1926
1926
|
let f;
|
|
1927
1927
|
e[7] !== s || e[8] !== n.index || e[9] !== n.record ? (f = /* @__PURE__ */ r((d, m) => {
|
|
1928
1928
|
const h = s[d];
|
|
1929
|
-
return /* @__PURE__ */ c(
|
|
1929
|
+
return /* @__PURE__ */ c(yn, { data: {
|
|
1930
1930
|
value: d,
|
|
1931
1931
|
record: n.record,
|
|
1932
1932
|
index: n.index
|
|
@@ -2060,8 +2060,8 @@ r(ia, "CurrencyCell");
|
|
|
2060
2060
|
const aa = it.create([
|
|
2061
2061
|
[Ni, Be],
|
|
2062
2062
|
[Ai, Cn],
|
|
2063
|
-
[Ui,
|
|
2064
|
-
[zi,
|
|
2063
|
+
[Ui, In],
|
|
2064
|
+
[zi, yn],
|
|
2065
2065
|
[gi, Bi],
|
|
2066
2066
|
[xi, vn],
|
|
2067
2067
|
[Vi, ki],
|
|
@@ -2124,20 +2124,20 @@ function fa(t) {
|
|
|
2124
2124
|
let m, h;
|
|
2125
2125
|
e[0] !== i ? (m = /* @__PURE__ */ r(() => {
|
|
2126
2126
|
d(i);
|
|
2127
|
-
}, "t0"), h = [i], e[0] = i, e[1] = m, e[2] = h) : (m = e[1], h = e[2]),
|
|
2128
|
-
const T = f.map(_a), E = T.filter(Ea), v = T.filter(Ta),
|
|
2129
|
-
const Y = T.map((
|
|
2130
|
-
...
|
|
2131
|
-
hidden:
|
|
2132
|
-
} :
|
|
2127
|
+
}, "t0"), h = [i], e[0] = i, e[1] = m, e[2] = h) : (m = e[1], h = e[2]), Ie(m, h);
|
|
2128
|
+
const T = f.map(_a), E = T.filter(Ea), v = T.filter(Ta), p = T.filter(ha), D = /* @__PURE__ */ r((I, B) => {
|
|
2129
|
+
const Y = T.map((k, K) => K === I ? {
|
|
2130
|
+
...k,
|
|
2131
|
+
hidden: B
|
|
2132
|
+
} : k);
|
|
2133
2133
|
d(Y), a?.(Y);
|
|
2134
2134
|
}, "handleVisibilityChange");
|
|
2135
2135
|
let b;
|
|
2136
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ r((
|
|
2137
|
-
const
|
|
2138
|
-
|
|
2136
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ r((I, B, Y) => {
|
|
2137
|
+
const k = I.currentTarget.cloneNode(!0);
|
|
2138
|
+
k.style.backgroundColor = "#F5F5F5", k.style.transform = "scale(1.02)", k.style.opacity = "1.0", k.style.boxShadow = "0 2px 8px rgba(0, 0, 0, 0.15)", k.style.position = "absolute", k.style.top = "-1000px", k.style.width = `${I.currentTarget.clientWidth}px`, k.style.height = `${I.currentTarget.clientHeight}px`, document.body.appendChild(k), I.dataTransfer.setDragImage(k, I.nativeEvent.offsetX, I.nativeEvent.offsetY), setTimeout(() => document.body.removeChild(k), 0), I.dataTransfer.effectAllowed = "move", u({
|
|
2139
2139
|
index: Y,
|
|
2140
|
-
group:
|
|
2140
|
+
group: B
|
|
2141
2141
|
});
|
|
2142
2142
|
}, "t2"), e[3] = b) : b = e[3];
|
|
2143
2143
|
const R = b, P = ma;
|
|
@@ -2145,17 +2145,17 @@ function fa(t) {
|
|
|
2145
2145
|
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ r(() => {
|
|
2146
2146
|
u(null);
|
|
2147
2147
|
}, "t3"), e[4] = F) : F = e[4];
|
|
2148
|
-
const w = F,
|
|
2149
|
-
if (!o || o.index === Y ||
|
|
2148
|
+
const w = F, H = /* @__PURE__ */ r((I, B, Y) => {
|
|
2149
|
+
if (!o || o.index === Y || B === "fixed" && E.length >= 3)
|
|
2150
2150
|
return;
|
|
2151
|
-
const
|
|
2152
|
-
|
|
2153
|
-
}, "handleDrop"), x = /* @__PURE__ */ r((
|
|
2154
|
-
const Y = n.find((
|
|
2155
|
-
return Y ? /* @__PURE__ */ c("div", { className: `${we.item} ${o?.index ===
|
|
2156
|
-
}, "renderDraggableItem"), V = /* @__PURE__ */ r((
|
|
2157
|
-
const
|
|
2158
|
-
return
|
|
2151
|
+
const k = B === "fixed" ? Y + 1 : Y, K = [...T], [U] = K.splice(o.index, 1);
|
|
2152
|
+
U.fixed = B === "fixed", K.splice(k, 0, U), K.forEach(da), d(K), a?.(K);
|
|
2153
|
+
}, "handleDrop"), x = /* @__PURE__ */ r((I, B) => {
|
|
2154
|
+
const Y = n.find((k) => k.name === I.name);
|
|
2155
|
+
return Y ? /* @__PURE__ */ c("div", { className: `${we.item} ${o?.index === I.index ? we.dragging : ""}`, draggable: !Y.primaryKey, onDragStart: /* @__PURE__ */ r((k) => R(k, B, I.index), "onDragStart"), onDragOver: P, onDragEnd: w, onDrop: /* @__PURE__ */ r((k) => H(k, B, I.index), "onDrop"), children: /* @__PURE__ */ c(zt, { columnDefinition: Y, fixed: I.fixed || !1, hidden: I.hidden, onVisibleChange: /* @__PURE__ */ r((k) => D(I.index, k), "onVisibleChange") }) }, Y.name) : /* @__PURE__ */ c(Te, {});
|
|
2156
|
+
}, "renderDraggableItem"), V = /* @__PURE__ */ r((I) => {
|
|
2157
|
+
const B = n.find((Y) => Y.name === I.name);
|
|
2158
|
+
return B ? /* @__PURE__ */ c("div", { className: we.item, children: /* @__PURE__ */ c(zt, { columnDefinition: B, fixed: I.fixed || !1, hidden: I.hidden, onVisibleChange: /* @__PURE__ */ r((Y) => D(I.index, Y), "onVisibleChange") }) }, B.name) : /* @__PURE__ */ c(Te, {});
|
|
2159
2159
|
}, "renderStaticItem");
|
|
2160
2160
|
let $;
|
|
2161
2161
|
e[5] !== t.initialColumns ? ($ = /* @__PURE__ */ r(() => ({
|
|
@@ -2163,29 +2163,29 @@ function fa(t) {
|
|
|
2163
2163
|
d(t.initialColumns);
|
|
2164
2164
|
}, "reset")
|
|
2165
2165
|
}), "t4"), e[5] = t.initialColumns, e[6] = $) : $ = e[6], be(l, $);
|
|
2166
|
-
const
|
|
2166
|
+
const L = Se, M = 0, W = "vertical";
|
|
2167
2167
|
let N;
|
|
2168
2168
|
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = {
|
|
2169
2169
|
display: "flex"
|
|
2170
2170
|
}, e[7] = N) : N = e[7];
|
|
2171
2171
|
let _;
|
|
2172
2172
|
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ c("div", { className: we.groupTitle, children: "已显示字段" }), e[8] = _) : _ = e[8];
|
|
2173
|
-
const S = E.map((
|
|
2174
|
-
let
|
|
2175
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2176
|
-
const C = v.map((
|
|
2173
|
+
const S = E.map((I) => x(I, "fixed"));
|
|
2174
|
+
let y;
|
|
2175
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ c("div", { className: we.tips, children: "请将需要锁定的字段拖至上方(最多支持3列)" }), e[9] = y) : y = e[9];
|
|
2176
|
+
const C = v.map((I) => x(I, "visible"));
|
|
2177
2177
|
let A;
|
|
2178
2178
|
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ c("div", { className: we.groupTitle, children: "未显示字段" }), e[10] = A) : A = e[10];
|
|
2179
|
-
const O =
|
|
2180
|
-
let
|
|
2181
|
-
return e[11] !==
|
|
2179
|
+
const O = p.map((I) => V(I));
|
|
2180
|
+
let g;
|
|
2181
|
+
return e[11] !== L || e[12] !== s || e[13] !== y || e[14] !== C || e[15] !== A || e[16] !== O || e[17] !== N || e[18] !== _ || e[19] !== S ? (g = /* @__PURE__ */ J(L, { size: M, orientation: W, style: N, className: s, children: [
|
|
2182
2182
|
_,
|
|
2183
2183
|
S,
|
|
2184
|
-
|
|
2184
|
+
y,
|
|
2185
2185
|
C,
|
|
2186
2186
|
A,
|
|
2187
2187
|
O
|
|
2188
|
-
] }), e[11] =
|
|
2188
|
+
] }), e[11] = L, e[12] = s, e[13] = y, e[14] = C, e[15] = A, e[16] = O, e[17] = N, e[18] = _, e[19] = S, e[20] = g) : g = e[20], g;
|
|
2189
2189
|
}
|
|
2190
2190
|
r(fa, "TableSettingPanel");
|
|
2191
2191
|
function da(t, e) {
|
|
@@ -2240,15 +2240,15 @@ function va(t) {
|
|
|
2240
2240
|
})) : [];
|
|
2241
2241
|
}
|
|
2242
2242
|
r(va, "mapToTableRecord");
|
|
2243
|
-
function
|
|
2243
|
+
function Ia(t, ...e) {
|
|
2244
2244
|
let l = 0;
|
|
2245
2245
|
return t.replace(/%@/g, () => e[l++] ?? "");
|
|
2246
2246
|
}
|
|
2247
|
-
r(
|
|
2247
|
+
r(Ia, "format");
|
|
2248
2248
|
String.prototype.format = function(...t) {
|
|
2249
|
-
return
|
|
2249
|
+
return Ia(this.toString(), ...t);
|
|
2250
2250
|
};
|
|
2251
|
-
function
|
|
2251
|
+
function ya(t) {
|
|
2252
2252
|
const e = G(41), {
|
|
2253
2253
|
ref: l,
|
|
2254
2254
|
fields: n,
|
|
@@ -2265,7 +2265,7 @@ function Ia(t) {
|
|
|
2265
2265
|
loading: E,
|
|
2266
2266
|
attributes: v
|
|
2267
2267
|
} = t, {
|
|
2268
|
-
selectedRowKeys:
|
|
2268
|
+
selectedRowKeys: p,
|
|
2269
2269
|
setSelectedRowKeys: D,
|
|
2270
2270
|
reset: b,
|
|
2271
2271
|
clearSelectedRowKeys: R
|
|
@@ -2284,13 +2284,13 @@ function Ia(t) {
|
|
|
2284
2284
|
sortOrder: N.sortOrder,
|
|
2285
2285
|
width: N.width,
|
|
2286
2286
|
hidden: N.hidden,
|
|
2287
|
-
render: /* @__PURE__ */ r((S,
|
|
2287
|
+
render: /* @__PURE__ */ r((S, y, C) => {
|
|
2288
2288
|
if (_?.render)
|
|
2289
|
-
return _.render(S,
|
|
2289
|
+
return _.render(S, y, C);
|
|
2290
2290
|
if (_?.primaryKey)
|
|
2291
2291
|
return /* @__PURE__ */ c(Be, { data: {
|
|
2292
2292
|
value: S,
|
|
2293
|
-
record:
|
|
2293
|
+
record: y,
|
|
2294
2294
|
index: C
|
|
2295
2295
|
}, attributes: {
|
|
2296
2296
|
onClick: /* @__PURE__ */ r((O) => {
|
|
@@ -2299,9 +2299,9 @@ function Ia(t) {
|
|
|
2299
2299
|
..._.attributes
|
|
2300
2300
|
} });
|
|
2301
2301
|
const A = ra(_?.type || "text", _?.attributes || {});
|
|
2302
|
-
return A ? A(S,
|
|
2302
|
+
return A ? A(S, y, C) : /* @__PURE__ */ c(In, { data: {
|
|
2303
2303
|
value: String(S),
|
|
2304
|
-
record:
|
|
2304
|
+
record: y,
|
|
2305
2305
|
index: C
|
|
2306
2306
|
} });
|
|
2307
2307
|
}, "render"),
|
|
@@ -2312,16 +2312,16 @@ function Ia(t) {
|
|
|
2312
2312
|
let _;
|
|
2313
2313
|
e[11] !== s.title || e[12] !== i || e[13] !== n || e[14] !== a || e[15] !== T ? (_ = /* @__PURE__ */ r(() => {
|
|
2314
2314
|
if (T) {
|
|
2315
|
-
const
|
|
2315
|
+
const y = /* @__PURE__ */ c(fa, { fields: n, initialColumns: i, onChange: a });
|
|
2316
2316
|
return /* @__PURE__ */ J("div", { className: Ca.configurableColumnHeader, children: [
|
|
2317
2317
|
/* @__PURE__ */ c("span", { children: s.title }),
|
|
2318
|
-
/* @__PURE__ */ c(On, { content:
|
|
2318
|
+
/* @__PURE__ */ c(On, { content: y, title: T.title || "Setting", placement: "bottomRight", trigger: "click", children: /* @__PURE__ */ c(Jt, {}) })
|
|
2319
2319
|
] });
|
|
2320
2320
|
}
|
|
2321
2321
|
return s.title;
|
|
2322
2322
|
}, "t12"), e[11] = s.title, e[12] = i, e[13] = n, e[14] = a, e[15] = T, e[16] = _) : _ = e[16];
|
|
2323
2323
|
let S;
|
|
2324
|
-
e[17] !== i.length || e[18] !== t.actionColumn ? (S = /* @__PURE__ */ r((
|
|
2324
|
+
e[17] !== i.length || e[18] !== t.actionColumn ? (S = /* @__PURE__ */ r((y, C) => {
|
|
2325
2325
|
const O = {
|
|
2326
2326
|
value: t.actionColumn.actions(C),
|
|
2327
2327
|
record: C,
|
|
@@ -2341,19 +2341,19 @@ function Ia(t) {
|
|
|
2341
2341
|
} else
|
|
2342
2342
|
P = e[7];
|
|
2343
2343
|
let F;
|
|
2344
|
-
e[20] !== f || e[21] !== m || e[22] !==
|
|
2345
|
-
selectedRowKeys:
|
|
2344
|
+
e[20] !== f || e[21] !== m || e[22] !== p || e[23] !== D ? (F = f ? {
|
|
2345
|
+
selectedRowKeys: p,
|
|
2346
2346
|
fixed: !0,
|
|
2347
2347
|
onChange: /* @__PURE__ */ r((W, N) => {
|
|
2348
2348
|
D(W), m?.(N);
|
|
2349
2349
|
}, "onChange")
|
|
2350
|
-
} : void 0, e[20] = f, e[21] = m, e[22] =
|
|
2350
|
+
} : void 0, e[20] = f, e[21] = m, e[22] = p, e[23] = D, e[24] = F) : F = e[24];
|
|
2351
2351
|
const w = F;
|
|
2352
|
-
let
|
|
2353
|
-
e[25] !== R || e[26] !== b ? (
|
|
2352
|
+
let H;
|
|
2353
|
+
e[25] !== R || e[26] !== b ? (H = /* @__PURE__ */ r(() => ({
|
|
2354
2354
|
clearSelectedRowKeys: R,
|
|
2355
2355
|
reset: b
|
|
2356
|
-
}), "t1"), e[25] = R, e[26] = b, e[27] =
|
|
2356
|
+
}), "t1"), e[25] = R, e[26] = b, e[27] = H) : H = e[27], be(l, H);
|
|
2357
2357
|
let x;
|
|
2358
2358
|
e[28] !== u ? (x = va(u), e[28] = u, e[29] = x) : x = e[29];
|
|
2359
2359
|
let V;
|
|
@@ -2361,14 +2361,14 @@ function Ia(t) {
|
|
|
2361
2361
|
x: "max-content"
|
|
2362
2362
|
}, e[30] = V) : V = e[30];
|
|
2363
2363
|
const $ = o || "middle";
|
|
2364
|
-
let
|
|
2365
|
-
e[31] !== d ? (
|
|
2364
|
+
let L;
|
|
2365
|
+
e[31] !== d ? (L = /* @__PURE__ */ r((W, N, _, S) => {
|
|
2366
2366
|
S.action === "sort" && d && (Array.isArray(_) ? d(_) : d([_]));
|
|
2367
|
-
}, "t5"), e[31] = d, e[32] =
|
|
2367
|
+
}, "t5"), e[31] = d, e[32] = L) : L = e[32];
|
|
2368
2368
|
let M;
|
|
2369
|
-
return e[33] !== v || e[34] !== E || e[35] !== w || e[36] !== x || e[37] !== $ || e[38] !==
|
|
2369
|
+
return e[33] !== v || e[34] !== E || e[35] !== w || e[36] !== x || e[37] !== $ || e[38] !== L || e[39] !== P ? (M = /* @__PURE__ */ c(Rn, { loading: E, dataSource: x, rowSelection: w, columns: P, ...v, scroll: V, size: $, onChange: L }), e[33] = v, e[34] = E, e[35] = w, e[36] = x, e[37] = $, e[38] = L, e[39] = P, e[40] = M) : M = e[40], M;
|
|
2370
2370
|
}
|
|
2371
|
-
r(
|
|
2371
|
+
r(ya, "ViewTable");
|
|
2372
2372
|
function Na(t) {
|
|
2373
2373
|
return t.primaryKey;
|
|
2374
2374
|
}
|
|
@@ -2387,7 +2387,7 @@ function Aa() {
|
|
|
2387
2387
|
};
|
|
2388
2388
|
}
|
|
2389
2389
|
r(Aa, "useViewTableState");
|
|
2390
|
-
const
|
|
2390
|
+
const La = [{
|
|
2391
2391
|
label: "1 分钟",
|
|
2392
2392
|
key: "1",
|
|
2393
2393
|
refreshInterval: 60 * 1e3
|
|
@@ -2404,10 +2404,10 @@ const pa = [{
|
|
|
2404
2404
|
key: "0",
|
|
2405
2405
|
refreshInterval: 0
|
|
2406
2406
|
};
|
|
2407
|
-
function
|
|
2407
|
+
function pa(t) {
|
|
2408
2408
|
const e = G(26), {
|
|
2409
2409
|
items: l
|
|
2410
|
-
} = t, n = l === void 0 ?
|
|
2410
|
+
} = t, n = l === void 0 ? La : l;
|
|
2411
2411
|
let i;
|
|
2412
2412
|
e[0] !== n ? (i = [...n, gt], e[0] = n, e[1] = i) : i = e[1];
|
|
2413
2413
|
const a = i, [s, o] = Q(gt), u = De(null), {
|
|
@@ -2417,7 +2417,7 @@ function La(t) {
|
|
|
2417
2417
|
} = Re();
|
|
2418
2418
|
let m;
|
|
2419
2419
|
e[2] !== a ? (m = /* @__PURE__ */ r((V) => {
|
|
2420
|
-
const $ = a.find((
|
|
2420
|
+
const $ = a.find((L) => L.key === V.key);
|
|
2421
2421
|
$ && o($);
|
|
2422
2422
|
}, "t3"), e[2] = a, e[3] = m) : m = e[3];
|
|
2423
2423
|
const h = m;
|
|
@@ -2428,35 +2428,35 @@ function La(t) {
|
|
|
2428
2428
|
u.current && clearInterval(u.current);
|
|
2429
2429
|
}), "t4"), e[4] = f, e[5] = s.refreshInterval, e[6] = T) : T = e[6];
|
|
2430
2430
|
let E;
|
|
2431
|
-
e[7] !== f || e[8] !== s ? (E = [s, f], e[7] = f, e[8] = s, e[9] = E) : E = e[9],
|
|
2431
|
+
e[7] !== f || e[8] !== s ? (E = [s, f], e[7] = f, e[8] = s, e[9] = E) : E = e[9], Ie(T, E);
|
|
2432
2432
|
let v;
|
|
2433
2433
|
e[10] !== a ? (v = a.map(ba), e[10] = a, e[11] = v) : v = e[11];
|
|
2434
|
-
const
|
|
2434
|
+
const p = v;
|
|
2435
2435
|
let D;
|
|
2436
2436
|
e[12] !== s.key ? (D = [s.key], e[12] = s.key, e[13] = D) : D = e[13];
|
|
2437
2437
|
let b;
|
|
2438
|
-
e[14] !== h || e[15] !==
|
|
2439
|
-
items:
|
|
2438
|
+
e[14] !== h || e[15] !== p || e[16] !== D ? (b = {
|
|
2439
|
+
items: p,
|
|
2440
2440
|
onClick: h,
|
|
2441
2441
|
selectable: !0,
|
|
2442
2442
|
defaultSelectedKeys: D
|
|
2443
|
-
}, e[14] = h, e[15] =
|
|
2443
|
+
}, e[14] = h, e[15] = p, e[16] = D, e[17] = b) : b = e[17];
|
|
2444
2444
|
const R = b;
|
|
2445
2445
|
let P;
|
|
2446
2446
|
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = ["click"], e[18] = P) : P = e[18];
|
|
2447
2447
|
let F;
|
|
2448
2448
|
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ c(ge, {}), e[19] = F) : F = e[19];
|
|
2449
2449
|
const w = d.topBar?.autoRefresh?.title || "刷新率";
|
|
2450
|
-
let
|
|
2451
|
-
e[20] !== s.label || e[21] !== w ? (
|
|
2450
|
+
let H;
|
|
2451
|
+
e[20] !== s.label || e[21] !== w ? (H = /* @__PURE__ */ J(me, { icon: F, iconPlacement: "end", children: [
|
|
2452
2452
|
w,
|
|
2453
2453
|
" :",
|
|
2454
2454
|
s.label
|
|
2455
|
-
] }), e[20] = s.label, e[21] = w, e[22] =
|
|
2455
|
+
] }), e[20] = s.label, e[21] = w, e[22] = H) : H = e[22];
|
|
2456
2456
|
let x;
|
|
2457
|
-
return e[23] !== R || e[24] !==
|
|
2457
|
+
return e[23] !== R || e[24] !== H ? (x = /* @__PURE__ */ c(Fe, { menu: R, trigger: P, children: H }), e[23] = R, e[24] = H, e[25] = x) : x = e[25], x;
|
|
2458
2458
|
}
|
|
2459
|
-
r(
|
|
2459
|
+
r(pa, "AutoRefreshBarItem");
|
|
2460
2460
|
function ba(t) {
|
|
2461
2461
|
return {
|
|
2462
2462
|
key: t.key,
|
|
@@ -2488,7 +2488,7 @@ function Da(t) {
|
|
|
2488
2488
|
let u, f;
|
|
2489
2489
|
e[0] !== n ? (u = /* @__PURE__ */ r(() => {
|
|
2490
2490
|
s(n);
|
|
2491
|
-
}, "t0"), f = [n], e[0] = n, e[1] = u, e[2] = f) : (u = e[1], f = e[2]),
|
|
2491
|
+
}, "t0"), f = [n], e[0] = n, e[1] = u, e[2] = f) : (u = e[1], f = e[2]), Ie(u, f);
|
|
2492
2492
|
const d = o.topBar?.tableSize?.middle || "标准";
|
|
2493
2493
|
let m;
|
|
2494
2494
|
e[3] !== d ? (m = {
|
|
@@ -2504,14 +2504,14 @@ function Da(t) {
|
|
|
2504
2504
|
let E;
|
|
2505
2505
|
e[7] !== m || e[8] !== T ? (E = [m, T], e[7] = m, e[8] = T, e[9] = E) : E = e[9];
|
|
2506
2506
|
const v = E;
|
|
2507
|
-
let
|
|
2508
|
-
e[10] !== i ? (
|
|
2507
|
+
let p;
|
|
2508
|
+
e[10] !== i ? (p = /* @__PURE__ */ r((x) => {
|
|
2509
2509
|
const {
|
|
2510
2510
|
key: V
|
|
2511
2511
|
} = x;
|
|
2512
2512
|
s(V), i?.(V);
|
|
2513
|
-
}, "t7"), e[10] = i, e[11] =
|
|
2514
|
-
const D =
|
|
2513
|
+
}, "t7"), e[10] = i, e[11] = p) : p = e[11];
|
|
2514
|
+
const D = p, b = a || "middle";
|
|
2515
2515
|
let R;
|
|
2516
2516
|
e[12] !== b ? (R = [b], e[12] = b, e[13] = R) : R = e[13];
|
|
2517
2517
|
let P;
|
|
@@ -2525,8 +2525,8 @@ function Da(t) {
|
|
|
2525
2525
|
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = ["click"], e[18] = F) : F = e[18];
|
|
2526
2526
|
let w;
|
|
2527
2527
|
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ c("div", { onClick: wa, children: /* @__PURE__ */ c(ke, { icon: /* @__PURE__ */ c(Gn, {}), active: !1 }) }), e[19] = w) : w = e[19];
|
|
2528
|
-
let
|
|
2529
|
-
return e[20] !== l || e[21] !== P ? (
|
|
2528
|
+
let H;
|
|
2529
|
+
return e[20] !== l || e[21] !== P ? (H = /* @__PURE__ */ c(Fe, { className: l, menu: P, trigger: F, children: w }), e[20] = l, e[21] = P, e[22] = H) : H = e[22], H;
|
|
2530
2530
|
}
|
|
2531
2531
|
r(Da, "ColumnHeightBarItem");
|
|
2532
2532
|
function wa(t) {
|
|
@@ -2543,7 +2543,7 @@ function Fa(t) {
|
|
|
2543
2543
|
let u, f;
|
|
2544
2544
|
e[0] !== i ? (u = /* @__PURE__ */ r(() => {
|
|
2545
2545
|
o(i);
|
|
2546
|
-
}, "t0"), f = [i], e[0] = i, e[1] = u, e[2] = f) : (u = e[1], f = e[2]),
|
|
2546
|
+
}, "t0"), f = [i], e[0] = i, e[1] = u, e[2] = f) : (u = e[1], f = e[2]), Ie(u, f);
|
|
2547
2547
|
let d;
|
|
2548
2548
|
e[3] !== s || e[4] !== a ? (d = /* @__PURE__ */ r(() => {
|
|
2549
2549
|
o(!s), a?.(!s);
|
|
@@ -2650,12 +2650,12 @@ function Ha(t) {
|
|
|
2650
2650
|
onShowFilterChange: T,
|
|
2651
2651
|
defaultTableSize: E,
|
|
2652
2652
|
onTableSizeChange: v,
|
|
2653
|
-
onCreateView:
|
|
2653
|
+
onCreateView: p,
|
|
2654
2654
|
onUpdateView: D
|
|
2655
2655
|
} = t, [b, R] = Q("Create"), [P, F] = Q(!1), [w] = Q("PERSONAL");
|
|
2656
|
-
let
|
|
2657
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2658
|
-
let x =
|
|
2656
|
+
let H;
|
|
2657
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = [], e[0] = H) : H = e[0];
|
|
2658
|
+
let x = H;
|
|
2659
2659
|
if (s?.enabled) {
|
|
2660
2660
|
let le;
|
|
2661
2661
|
if (e[1] !== s.actions || e[2] !== o) {
|
|
@@ -2677,12 +2677,12 @@ function Ha(t) {
|
|
|
2677
2677
|
le = e[9];
|
|
2678
2678
|
$ = le;
|
|
2679
2679
|
}
|
|
2680
|
-
const [
|
|
2680
|
+
const [L, M] = st.useModal();
|
|
2681
2681
|
let W;
|
|
2682
|
-
e[12] !== n || e[13] !==
|
|
2682
|
+
e[12] !== n || e[13] !== L || e[14] !== D ? (W = /* @__PURE__ */ r((le) => {
|
|
2683
2683
|
e: switch (le) {
|
|
2684
2684
|
case "Update": {
|
|
2685
|
-
|
|
2685
|
+
L.confirm({
|
|
2686
2686
|
title: "确认覆盖当前视图?",
|
|
2687
2687
|
icon: /* @__PURE__ */ c(Qn, {}),
|
|
2688
2688
|
content: "确认后将覆盖原筛选条件",
|
|
@@ -2697,11 +2697,11 @@ function Ha(t) {
|
|
|
2697
2697
|
case "SaveAs":
|
|
2698
2698
|
F(!0), R("SaveAs");
|
|
2699
2699
|
}
|
|
2700
|
-
}, "t2"), e[12] = n, e[13] =
|
|
2700
|
+
}, "t2"), e[12] = n, e[13] = L, e[14] = D, e[15] = W) : W = e[15];
|
|
2701
2701
|
const N = W;
|
|
2702
2702
|
let _;
|
|
2703
|
-
e[16] !== n || e[17] !==
|
|
2704
|
-
|
|
2703
|
+
e[16] !== n || e[17] !== p ? (_ = /* @__PURE__ */ r((le, X) => {
|
|
2704
|
+
p?.({
|
|
2705
2705
|
...n,
|
|
2706
2706
|
name: le,
|
|
2707
2707
|
type: X,
|
|
@@ -2710,33 +2710,33 @@ function Ha(t) {
|
|
|
2710
2710
|
}, () => {
|
|
2711
2711
|
F(!1);
|
|
2712
2712
|
});
|
|
2713
|
-
}, "t3"), e[16] = n, e[17] =
|
|
2713
|
+
}, "t3"), e[16] = n, e[17] = p, e[18] = _) : _ = e[18];
|
|
2714
2714
|
const S = _;
|
|
2715
|
-
let
|
|
2716
|
-
e[19] !== N ? (
|
|
2715
|
+
let y;
|
|
2716
|
+
e[19] !== N ? (y = {
|
|
2717
2717
|
items: ka,
|
|
2718
2718
|
onClick: /* @__PURE__ */ r((X) => {
|
|
2719
2719
|
N(X.key);
|
|
2720
2720
|
}, "handleMenuClick")
|
|
2721
|
-
}, e[19] = N, e[20] =
|
|
2722
|
-
const C =
|
|
2721
|
+
}, e[19] = N, e[20] = y) : y = e[20];
|
|
2722
|
+
const C = y;
|
|
2723
2723
|
let A;
|
|
2724
2724
|
e[21] !== m ? (A = /* @__PURE__ */ r(() => {
|
|
2725
2725
|
m?.();
|
|
2726
2726
|
}, "t5"), e[21] = m, e[22] = A) : A = e[22];
|
|
2727
2727
|
const O = A;
|
|
2728
|
-
let
|
|
2729
|
-
e[23] !== f ? (
|
|
2728
|
+
let g;
|
|
2729
|
+
e[23] !== f ? (g = /* @__PURE__ */ r(() => {
|
|
2730
2730
|
f?.(!0);
|
|
2731
|
-
}, "t6"), e[23] = f, e[24] =
|
|
2732
|
-
const
|
|
2733
|
-
let
|
|
2734
|
-
e[25] !==
|
|
2735
|
-
/* @__PURE__ */ c("div", { onClick:
|
|
2731
|
+
}, "t6"), e[23] = f, e[24] = g) : g = e[24];
|
|
2732
|
+
const I = g;
|
|
2733
|
+
let B;
|
|
2734
|
+
e[25] !== I || e[26] !== u || e[27] !== l ? (B = !u && /* @__PURE__ */ J(Te, { children: [
|
|
2735
|
+
/* @__PURE__ */ c("div", { onClick: I, children: /* @__PURE__ */ c(ke, { icon: /* @__PURE__ */ c(Xn, {}), active: !1 }) }),
|
|
2736
2736
|
/* @__PURE__ */ c(Ue, { orientation: "vertical" }),
|
|
2737
2737
|
l,
|
|
2738
2738
|
/* @__PURE__ */ c(Pa, {})
|
|
2739
|
-
] }), e[25] =
|
|
2739
|
+
] }), e[25] = I, e[26] = u, e[27] = l, e[28] = B) : B = e[28];
|
|
2740
2740
|
let Y;
|
|
2741
2741
|
e[29] !== n.source || e[30] !== O || e[31] !== C || e[32] !== N || e[33] !== d ? (Y = d && /* @__PURE__ */ J(Te, { children: [
|
|
2742
2742
|
/* @__PURE__ */ c("div", { style: {
|
|
@@ -2745,20 +2745,20 @@ function Ha(t) {
|
|
|
2745
2745
|
n.source === "SYSTEM" ? /* @__PURE__ */ c(me, { type: "default", size: "small", onClick: /* @__PURE__ */ r(() => N("SaveAs"), "onClick"), children: "另存为" }) : /* @__PURE__ */ c(Fe, { menu: C, trigger: ["click"], children: /* @__PURE__ */ c(me, { size: "small", icon: /* @__PURE__ */ c(ge, {}), iconPlacement: "end", children: "保存" }) }),
|
|
2746
2746
|
/* @__PURE__ */ c(me, { type: "default", size: "small", onClick: O, children: "重置" })
|
|
2747
2747
|
] }), e[29] = n.source, e[30] = O, e[31] = C, e[32] = N, e[33] = d, e[34] = Y) : Y = e[34];
|
|
2748
|
-
let
|
|
2749
|
-
e[35] !== n.name || e[36] !==
|
|
2750
|
-
|
|
2748
|
+
let k;
|
|
2749
|
+
e[35] !== n.name || e[36] !== B || e[37] !== Y ? (k = /* @__PURE__ */ J(Ae, { gap: "8px", align: "center", className: Yt.leftItems, children: [
|
|
2750
|
+
B,
|
|
2751
2751
|
n.name,
|
|
2752
2752
|
Y
|
|
2753
|
-
] }), e[35] = n.name, e[36] =
|
|
2753
|
+
] }), e[35] = n.name, e[36] = B, e[37] = Y, e[38] = k) : k = e[38];
|
|
2754
2754
|
let K;
|
|
2755
2755
|
e[39] !== T || e[40] !== h ? (K = /* @__PURE__ */ c(Fa, { defaultShowFilter: h, onChange: T }), e[39] = T, e[40] = h, e[41] = K) : K = e[41];
|
|
2756
|
-
let
|
|
2757
|
-
e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2756
|
+
let U;
|
|
2757
|
+
e[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ c($a, {}), e[42] = U) : U = e[42];
|
|
2758
2758
|
let Z;
|
|
2759
2759
|
e[43] !== E || e[44] !== v ? (Z = /* @__PURE__ */ c(Da, { defaultTableSize: E, onChange: v }), e[43] = E, e[44] = v, e[45] = Z) : Z = e[45];
|
|
2760
2760
|
let ee, j, ne;
|
|
2761
|
-
e[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ c(xa, {}), j = /* @__PURE__ */ c(Ue, { orientation: "vertical" }), ne = /* @__PURE__ */ c(
|
|
2761
|
+
e[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ c(xa, {}), j = /* @__PURE__ */ c(Ue, { orientation: "vertical" }), ne = /* @__PURE__ */ c(pa, {}), e[46] = ee, e[47] = j, e[48] = ne) : (ee = e[46], j = e[47], ne = e[48]);
|
|
2762
2762
|
let te;
|
|
2763
2763
|
e[49] !== s?.enabled || e[50] !== s?.title || e[51] !== x ? (te = s?.enabled && /* @__PURE__ */ J(Te, { children: [
|
|
2764
2764
|
/* @__PURE__ */ c(Ue, { orientation: "vertical" }),
|
|
@@ -2779,7 +2779,7 @@ function Ha(t) {
|
|
|
2779
2779
|
let re;
|
|
2780
2780
|
e[57] !== K || e[58] !== Z || e[59] !== te || e[60] !== ie ? (re = /* @__PURE__ */ J(Ae, { gap: "8px", align: "center", className: Yt.rightItems, children: [
|
|
2781
2781
|
K,
|
|
2782
|
-
|
|
2782
|
+
U,
|
|
2783
2783
|
Z,
|
|
2784
2784
|
ee,
|
|
2785
2785
|
j,
|
|
@@ -2788,10 +2788,10 @@ function Ha(t) {
|
|
|
2788
2788
|
ie
|
|
2789
2789
|
] }), e[57] = K, e[58] = Z, e[59] = te, e[60] = ie, e[61] = re) : re = e[61];
|
|
2790
2790
|
let se;
|
|
2791
|
-
e[62] !== re || e[63] !==
|
|
2792
|
-
|
|
2791
|
+
e[62] !== re || e[63] !== k ? (se = /* @__PURE__ */ J(Ae, { align: "center", justify: "space-between", children: [
|
|
2792
|
+
k,
|
|
2793
2793
|
re
|
|
2794
|
-
] }), e[62] = re, e[63] =
|
|
2794
|
+
] }), e[62] = re, e[63] = k, e[64] = se) : se = e[64];
|
|
2795
2795
|
let ue;
|
|
2796
2796
|
e[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ue = /* @__PURE__ */ r(() => F(!1), "t20"), e[65] = ue) : ue = e[65];
|
|
2797
2797
|
let oe;
|
|
@@ -2830,18 +2830,18 @@ function Ya(t) {
|
|
|
2830
2830
|
...E
|
|
2831
2831
|
} = 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] = f, e[9] = d, e[10] = m, e[11] = h, e[12] = T, e[13] = E, e[14] = v) : (l = e[1], n = e[2], i = e[3], a = e[4], s = e[5], o = e[6], u = e[7], f = e[8], d = e[9], m = e[10], h = e[11], T = e[12], E = e[13], v = e[14]);
|
|
2832
2832
|
const {
|
|
2833
|
-
page:
|
|
2833
|
+
page: p,
|
|
2834
2834
|
setPage: D,
|
|
2835
2835
|
activeFilters: b,
|
|
2836
2836
|
setActiveFilters: R,
|
|
2837
2837
|
columns: P,
|
|
2838
2838
|
setColumns: F,
|
|
2839
2839
|
pageSize: w,
|
|
2840
|
-
setPageSize:
|
|
2840
|
+
setPageSize: H,
|
|
2841
2841
|
tableSize: x,
|
|
2842
2842
|
setTableSize: V,
|
|
2843
2843
|
setCondition: $,
|
|
2844
|
-
setSorter:
|
|
2844
|
+
setSorter: L,
|
|
2845
2845
|
selectedCount: M,
|
|
2846
2846
|
updateSelectedCount: W
|
|
2847
2847
|
} = Qa(E), {
|
|
@@ -2852,18 +2852,18 @@ function Ya(t) {
|
|
|
2852
2852
|
$(X);
|
|
2853
2853
|
}, "t1"), e[15] = $, e[16] = _) : _ = e[16];
|
|
2854
2854
|
const S = _;
|
|
2855
|
-
let
|
|
2856
|
-
e[17] !==
|
|
2857
|
-
|
|
2858
|
-
}, "t2"), e[17] =
|
|
2859
|
-
const C =
|
|
2855
|
+
let y;
|
|
2856
|
+
e[17] !== p || e[18] !== w || e[19] !== D || e[20] !== H ? (y = /* @__PURE__ */ r((X, ce) => {
|
|
2857
|
+
p !== X && D(X), w !== ce && H(ce);
|
|
2858
|
+
}, "t2"), e[17] = p, e[18] = w, e[19] = D, e[20] = H, e[21] = y) : y = e[21];
|
|
2859
|
+
const C = y;
|
|
2860
2860
|
let A;
|
|
2861
2861
|
e[22] !== d || e[23] !== W ? (A = /* @__PURE__ */ r((X) => {
|
|
2862
2862
|
d?.(X), W(X.length);
|
|
2863
2863
|
}, "t3"), e[22] = d, e[23] = W, e[24] = A) : A = e[24];
|
|
2864
2864
|
const O = A;
|
|
2865
|
-
let
|
|
2866
|
-
e[25] !== P || e[26] !== F || e[27] !==
|
|
2865
|
+
let g;
|
|
2866
|
+
e[25] !== P || e[26] !== F || e[27] !== L ? (g = /* @__PURE__ */ r((X) => {
|
|
2867
2867
|
let ce = [];
|
|
2868
2868
|
Array.isArray(X) ? ce = X.filter(Ka).map(Ga) : X.field ? ce = [{
|
|
2869
2869
|
field: Array.isArray(X.field) ? [...X.field].join(".") : X.field,
|
|
@@ -2879,19 +2879,19 @@ function Ya(t) {
|
|
|
2879
2879
|
sortOrder: null
|
|
2880
2880
|
};
|
|
2881
2881
|
});
|
|
2882
|
-
|
|
2883
|
-
}, "t4"), e[25] = P, e[26] = F, e[27] =
|
|
2884
|
-
const
|
|
2885
|
-
let
|
|
2886
|
-
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2887
|
-
|
|
2888
|
-
}, "t5"), e[29] =
|
|
2889
|
-
const K =
|
|
2890
|
-
let
|
|
2891
|
-
e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
2882
|
+
L(ce), F(fe);
|
|
2883
|
+
}, "t4"), e[25] = P, e[26] = F, e[27] = L, e[28] = g) : g = e[28];
|
|
2884
|
+
const I = g, B = De(null), Y = De(null);
|
|
2885
|
+
let k;
|
|
2886
|
+
e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ r(() => {
|
|
2887
|
+
B.current?.reset(), Y.current?.reset();
|
|
2888
|
+
}, "t5"), e[29] = k) : k = e[29];
|
|
2889
|
+
const K = k;
|
|
2890
|
+
let U;
|
|
2891
|
+
e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ r(() => {
|
|
2892
2892
|
Y.current?.clearSelectedRowKeys();
|
|
2893
|
-
}, "t6"), e[30] =
|
|
2894
|
-
const Z =
|
|
2893
|
+
}, "t6"), e[30] = U) : U = e[30];
|
|
2894
|
+
const Z = U;
|
|
2895
2895
|
let ee;
|
|
2896
2896
|
e[31] !== V ? (ee = /* @__PURE__ */ r(() => ({
|
|
2897
2897
|
clearSelectedRowKeys: Z,
|
|
@@ -2903,7 +2903,7 @@ function Ya(t) {
|
|
|
2903
2903
|
Z();
|
|
2904
2904
|
}, "t8"), e[33] = j) : j = e[33];
|
|
2905
2905
|
let ne;
|
|
2906
|
-
e[34] !== i ? (ne = [i], e[34] = i, e[35] = ne) : ne = e[35],
|
|
2906
|
+
e[34] !== i ? (ne = [i], e[34] = i, e[35] = ne) : ne = e[35], Ie(j, ne);
|
|
2907
2907
|
let te;
|
|
2908
2908
|
e[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = {
|
|
2909
2909
|
display: "flex"
|
|
@@ -2921,27 +2921,27 @@ function Ya(t) {
|
|
|
2921
2921
|
md: 12,
|
|
2922
2922
|
sm: 24,
|
|
2923
2923
|
xs: 24
|
|
2924
|
-
}, ref:
|
|
2924
|
+
}, ref: B, filters: b, availableFilters: n, resetButton: !1, onSearch: S, onChange: R }) }), e[37] = b, e[38] = n, e[39] = o, e[40] = S, e[41] = R, e[42] = T, e[43] = ie) : ie = e[43];
|
|
2925
2925
|
let re;
|
|
2926
2926
|
e[44] !== b || e[45] !== o || e[46] !== S || e[47] !== T ? (re = o === "normal" && /* @__PURE__ */ c("div", { className: Ye.filterPanel, style: {
|
|
2927
2927
|
display: T ? "block" : "none"
|
|
2928
|
-
}, children: /* @__PURE__ */ c(En, { ref:
|
|
2928
|
+
}, children: /* @__PURE__ */ c(En, { ref: B, filters: b, resetButton: !1, onSearch: S }) }), e[44] = b, e[45] = o, e[46] = S, e[47] = T, e[48] = re) : re = e[48];
|
|
2929
2929
|
let se;
|
|
2930
2930
|
e[49] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (se = {
|
|
2931
2931
|
pagination: !1
|
|
2932
2932
|
}, e[49] = se) : se = e[49];
|
|
2933
2933
|
const ue = v || !1;
|
|
2934
2934
|
let oe;
|
|
2935
|
-
e[50] !== l || e[51] !== P || e[52] !== i.list || e[53] !== a || e[54] !== s || e[55] !==
|
|
2935
|
+
e[50] !== l || e[51] !== P || e[52] !== i.list || e[53] !== a || e[54] !== s || e[55] !== I || e[56] !== O || e[57] !== u || e[58] !== f || e[59] !== F || e[60] !== ue || e[61] !== x ? (oe = /* @__PURE__ */ c(ya, { ref: Y, loading: u, dataSource: i.list, fields: s, columns: P, onColumnsChange: F, tableSize: x, actionColumn: l, onSortChanged: I, onSelectChange: O, attributes: se, enableRowSelection: a, onClickPrimaryKey: f, viewTableSetting: ue }), e[50] = l, e[51] = P, e[52] = i.list, e[53] = a, e[54] = s, e[55] = I, e[56] = O, e[57] = u, e[58] = f, e[59] = F, e[60] = ue, e[61] = x, e[62] = oe) : oe = e[62];
|
|
2936
2936
|
let ae;
|
|
2937
|
-
e[63] !== i.total || e[64] !== a || e[65] !== C || e[66] !== N || e[67] !==
|
|
2937
|
+
e[63] !== i.total || e[64] !== a || e[65] !== C || e[66] !== N || e[67] !== p || e[68] !== w || e[69] !== m || e[70] !== M ? (ae = (m !== !1 || a) && /* @__PURE__ */ J("div", { style: {
|
|
2938
2938
|
display: "flex",
|
|
2939
2939
|
alignItems: "center",
|
|
2940
2940
|
justifyContent: "space-between"
|
|
2941
2941
|
}, children: [
|
|
2942
2942
|
/* @__PURE__ */ c("span", { children: M ? N.selectedCountLabel ? N.selectedCountLabel.format(M) : `已选择 ${M} 条数据` : "" }),
|
|
2943
|
-
/* @__PURE__ */ c(wn, { showTotal: Wa, defaultCurrent:
|
|
2944
|
-
] }), e[63] = i.total, e[64] = a, e[65] = C, e[66] = N, e[67] =
|
|
2943
|
+
/* @__PURE__ */ c(wn, { showTotal: Wa, defaultCurrent: p, current: p, pageSize: w || 10, total: i.total, pageSizeOptions: ["10", "20", "50", "100"], ...m, onChange: C })
|
|
2944
|
+
] }), e[63] = i.total, e[64] = a, e[65] = C, e[66] = N, e[67] = p, e[68] = w, e[69] = m, e[70] = M, e[71] = ae) : ae = e[71];
|
|
2945
2945
|
let le;
|
|
2946
2946
|
return e[72] !== ie || e[73] !== re || e[74] !== oe || e[75] !== ae ? (le = /* @__PURE__ */ J(Se, { orientation: "vertical", style: te, size: "small", children: [
|
|
2947
2947
|
ie,
|
|
@@ -2986,7 +2986,7 @@ function Qa({
|
|
|
2986
2986
|
defaultTableSize: T,
|
|
2987
2987
|
externalTableSize: E,
|
|
2988
2988
|
externalUpdateTableSize: v,
|
|
2989
|
-
defaultSorter:
|
|
2989
|
+
defaultSorter: p,
|
|
2990
2990
|
externalSorter: D,
|
|
2991
2991
|
externalUpdateSorter: b,
|
|
2992
2992
|
defaultCondition: R,
|
|
@@ -2994,42 +2994,42 @@ function Qa({
|
|
|
2994
2994
|
externalUpdateCondition: F,
|
|
2995
2995
|
onChange: w
|
|
2996
2996
|
} = l, {
|
|
2997
|
-
columns:
|
|
2997
|
+
columns: H,
|
|
2998
2998
|
setColumns: x,
|
|
2999
2999
|
activeFilters: V,
|
|
3000
3000
|
setActiveFilters: $,
|
|
3001
|
-
page:
|
|
3001
|
+
page: L,
|
|
3002
3002
|
setPage: M,
|
|
3003
3003
|
pageSize: W,
|
|
3004
3004
|
setPageSize: N,
|
|
3005
3005
|
tableSize: _,
|
|
3006
3006
|
setTableSize: S,
|
|
3007
|
-
condition:
|
|
3007
|
+
condition: y,
|
|
3008
3008
|
setCondition: C,
|
|
3009
3009
|
sorter: A,
|
|
3010
3010
|
setSorter: O,
|
|
3011
|
-
reset:
|
|
3011
|
+
reset: g
|
|
3012
3012
|
} = Sn({
|
|
3013
3013
|
defaultColumns: n,
|
|
3014
3014
|
defaultPageSize: e,
|
|
3015
3015
|
defaultActiveFilters: s || [],
|
|
3016
3016
|
defaultTableSize: T,
|
|
3017
3017
|
defaultCondition: R,
|
|
3018
|
-
defaultSorter:
|
|
3019
|
-
}),
|
|
3018
|
+
defaultSorter: p
|
|
3019
|
+
}), I = i ?? H, B = a ?? x, Y = o ?? V, k = u ?? $, K = f ?? L, U = d ?? M, Z = m ?? W, ee = h ?? N, j = P ?? y, ne = F ?? C, te = D ?? A, ie = b ?? O, re = E ?? _, se = v ?? S, [ue, oe] = Q(0);
|
|
3020
3020
|
return {
|
|
3021
3021
|
page: K,
|
|
3022
3022
|
setPage: /* @__PURE__ */ r((q) => {
|
|
3023
|
-
|
|
3023
|
+
U(q), w?.(j, q, Z, te);
|
|
3024
3024
|
}, "setPageFn"),
|
|
3025
3025
|
pageSize: Z,
|
|
3026
3026
|
setPageSize: /* @__PURE__ */ r((q) => {
|
|
3027
3027
|
ee(q), w?.(j, K, q, te);
|
|
3028
3028
|
}, "setPageSizeFn"),
|
|
3029
|
-
columns:
|
|
3030
|
-
setColumns:
|
|
3029
|
+
columns: I,
|
|
3030
|
+
setColumns: B,
|
|
3031
3031
|
activeFilters: Y,
|
|
3032
|
-
setActiveFilters:
|
|
3032
|
+
setActiveFilters: k,
|
|
3033
3033
|
tableSize: re,
|
|
3034
3034
|
setTableSize: /* @__PURE__ */ r((q) => {
|
|
3035
3035
|
se(q);
|
|
@@ -3047,17 +3047,17 @@ function Qa({
|
|
|
3047
3047
|
oe(q);
|
|
3048
3048
|
}, "updateSelectedCountFn"),
|
|
3049
3049
|
reset: /* @__PURE__ */ r(() => {
|
|
3050
|
-
|
|
3050
|
+
g(), w?.(
|
|
3051
3051
|
R || _n,
|
|
3052
3052
|
t,
|
|
3053
3053
|
e,
|
|
3054
|
-
|
|
3054
|
+
p
|
|
3055
3055
|
);
|
|
3056
3056
|
}, "resetFn")
|
|
3057
3057
|
};
|
|
3058
3058
|
}
|
|
3059
3059
|
r(Qa, "useViewState");
|
|
3060
|
-
const Xa = "_top_1wlaq_1", Za = "_title_1wlaq_4", Ja = "_customCollapse_1wlaq_8", er = "_viewItem_1wlaq_24", tr = "_active_1wlaq_32", nr = "_viewName_1wlaq_36", lr = "_viewNameText_1wlaq_48", ir = "_viewNameTag_1wlaq_85",
|
|
3060
|
+
const Xa = "_top_1wlaq_1", Za = "_title_1wlaq_4", Ja = "_customCollapse_1wlaq_8", er = "_viewItem_1wlaq_24", tr = "_active_1wlaq_32", nr = "_viewName_1wlaq_36", lr = "_viewNameText_1wlaq_48", ir = "_viewNameTag_1wlaq_85", Le = {
|
|
3061
3061
|
top: Xa,
|
|
3062
3062
|
title: Za,
|
|
3063
3063
|
customCollapse: Ja,
|
|
@@ -3076,17 +3076,17 @@ function ar(t) {
|
|
|
3076
3076
|
} = t, [s, o] = Q(0);
|
|
3077
3077
|
let u, f;
|
|
3078
3078
|
e[0] !== n || e[1] !== a || e[2] !== l.condition ? (u = /* @__PURE__ */ r(() => {
|
|
3079
|
-
a && a(n, l.condition || xe()).then((
|
|
3080
|
-
o(
|
|
3079
|
+
a && a(n, l.condition || xe()).then((p) => {
|
|
3080
|
+
o(p || 0);
|
|
3081
3081
|
});
|
|
3082
|
-
}, "t0"), f = [n, a, l.condition], e[0] = n, e[1] = a, e[2] = l.condition, e[3] = u, e[4] = f) : (u = e[3], f = e[4]),
|
|
3083
|
-
const d = `${
|
|
3082
|
+
}, "t0"), f = [n, a, l.condition], e[0] = n, e[1] = a, e[2] = l.condition, e[3] = u, e[4] = f) : (u = e[3], f = e[4]), Ie(u, f);
|
|
3083
|
+
const d = `${Le.viewItem} ${i ? Le.active : ""}`;
|
|
3084
3084
|
let m;
|
|
3085
|
-
e[5] !== l.name ? (m = /* @__PURE__ */ c("span", { className:
|
|
3085
|
+
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];
|
|
3086
3086
|
let h;
|
|
3087
|
-
e[7] !== l.source ? (h = l.source === "SYSTEM" && /* @__PURE__ */ c(
|
|
3087
|
+
e[7] !== l.source ? (h = l.source === "SYSTEM" && /* @__PURE__ */ c(Lt, { className: Le.viewNameTag, children: "系统" }), e[7] = l.source, e[8] = h) : h = e[8];
|
|
3088
3088
|
let T;
|
|
3089
|
-
e[9] !== m || e[10] !== h ? (T = /* @__PURE__ */ J("div", { className:
|
|
3089
|
+
e[9] !== m || e[10] !== h ? (T = /* @__PURE__ */ J("div", { className: Le.viewName, children: [
|
|
3090
3090
|
m,
|
|
3091
3091
|
h
|
|
3092
3092
|
] }), e[9] = m, e[10] = h, e[11] = T) : T = e[11];
|
|
@@ -3138,11 +3138,11 @@ function rr(t) {
|
|
|
3138
3138
|
const T = h;
|
|
3139
3139
|
let E;
|
|
3140
3140
|
e[2] !== n ? (E = n.filter(sr), e[2] = n, e[3] = E) : E = e[3];
|
|
3141
|
-
const v = E, [
|
|
3141
|
+
const v = E, [p, D] = Q(!1), [b, R] = Q(!1), [P, F] = Q("Create"), [w, H] = Q(!1), [x, V] = Q("PERSONAL"), {
|
|
3142
3142
|
locale: $
|
|
3143
3143
|
} = Re();
|
|
3144
|
-
let
|
|
3145
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3144
|
+
let L;
|
|
3145
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ r((de, Ne) => {
|
|
3146
3146
|
de.preventDefault(), de.stopPropagation();
|
|
3147
3147
|
e: switch (Ne) {
|
|
3148
3148
|
case "PERSONAL": {
|
|
@@ -3152,11 +3152,11 @@ function rr(t) {
|
|
|
3152
3152
|
case "SHARED":
|
|
3153
3153
|
R(!0);
|
|
3154
3154
|
}
|
|
3155
|
-
}, "t2"), e[4] =
|
|
3156
|
-
const M =
|
|
3155
|
+
}, "t2"), e[4] = L) : L = e[4];
|
|
3156
|
+
const M = L;
|
|
3157
3157
|
let W;
|
|
3158
3158
|
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ r((de, Ne) => {
|
|
3159
|
-
de.stopPropagation(), V(Ne), F("Create"),
|
|
3159
|
+
de.stopPropagation(), V(Ne), F("Create"), H(!0);
|
|
3160
3160
|
}, "t3"), e[5] = W) : W = e[5];
|
|
3161
3161
|
const N = W;
|
|
3162
3162
|
let _;
|
|
@@ -3168,46 +3168,46 @@ function rr(t) {
|
|
|
3168
3168
|
source: "CUSTOM",
|
|
3169
3169
|
isDefault: !1
|
|
3170
3170
|
}, () => {
|
|
3171
|
-
|
|
3171
|
+
H(!1);
|
|
3172
3172
|
});
|
|
3173
3173
|
}, "t4"), e[6] = i, e[7] = u, e[8] = _) : _ = e[8];
|
|
3174
3174
|
const S = _;
|
|
3175
|
-
let
|
|
3176
|
-
e[9] !== f ? (
|
|
3175
|
+
let y;
|
|
3176
|
+
e[9] !== f ? (y = /* @__PURE__ */ r((de, Ne) => {
|
|
3177
3177
|
f?.(de, Ne);
|
|
3178
|
-
}, "t5"), e[9] = f, e[10] =
|
|
3179
|
-
const C =
|
|
3178
|
+
}, "t5"), e[9] = f, e[10] = y) : y = e[10];
|
|
3179
|
+
const C = y;
|
|
3180
3180
|
let A;
|
|
3181
3181
|
e[11] !== d ? (A = /* @__PURE__ */ r((de) => {
|
|
3182
3182
|
d?.(de);
|
|
3183
3183
|
}, "t6"), e[11] = d, e[12] = A) : A = e[12];
|
|
3184
3184
|
const O = A;
|
|
3185
|
-
let
|
|
3186
|
-
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3185
|
+
let g;
|
|
3186
|
+
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ r((de) => /* @__PURE__ */ J(Se, { children: [
|
|
3187
3187
|
/* @__PURE__ */ c(Jt, { onClick: /* @__PURE__ */ r((Ne) => M(Ne, de), "onClick") }),
|
|
3188
3188
|
/* @__PURE__ */ c(Xt, { onClick: /* @__PURE__ */ r((Ne) => N(Ne, de), "onClick") })
|
|
3189
|
-
] }), "t7"), e[13] =
|
|
3190
|
-
const
|
|
3189
|
+
] }), "t7"), e[13] = g) : g = e[13];
|
|
3190
|
+
const I = g, B = $.view?.viewType?.personal || "个人";
|
|
3191
3191
|
let Y;
|
|
3192
3192
|
e[14] !== s ? (Y = /* @__PURE__ */ r((de) => s(de), "t9"), e[14] = s, e[15] = Y) : Y = e[15];
|
|
3193
|
-
let
|
|
3194
|
-
e[16] !== i || e[17] !== a || e[18] !== m || e[19] !== T || e[20] !== Y ? (
|
|
3193
|
+
let k;
|
|
3194
|
+
e[16] !== i || e[17] !== a || e[18] !== m || e[19] !== T || e[20] !== Y ? (k = /* @__PURE__ */ c(Gt, { views: T, activeView: i, countUrl: a, onSwitchView: Y, onGetRecordCount: m }), e[16] = i, e[17] = a, e[18] = m, e[19] = T, e[20] = Y, e[21] = k) : k = e[21];
|
|
3195
3195
|
let K;
|
|
3196
|
-
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K =
|
|
3197
|
-
let
|
|
3198
|
-
e[23] !==
|
|
3196
|
+
e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (K = I("PERSONAL"), e[22] = K) : K = e[22];
|
|
3197
|
+
let U;
|
|
3198
|
+
e[23] !== k || e[24] !== B ? (U = {
|
|
3199
3199
|
key: "1",
|
|
3200
|
-
label:
|
|
3201
|
-
children:
|
|
3200
|
+
label: B,
|
|
3201
|
+
children: k,
|
|
3202
3202
|
extra: K
|
|
3203
|
-
}, e[23] =
|
|
3203
|
+
}, e[23] = k, e[24] = B, e[25] = U) : U = e[25];
|
|
3204
3204
|
const Z = $.view?.viewType?.shared || "公共";
|
|
3205
3205
|
let ee;
|
|
3206
3206
|
e[26] !== s ? (ee = /* @__PURE__ */ r((de) => s(de), "t14"), e[26] = s, e[27] = ee) : ee = e[27];
|
|
3207
3207
|
let j;
|
|
3208
3208
|
e[28] !== i || e[29] !== a || e[30] !== m || e[31] !== v || e[32] !== ee ? (j = /* @__PURE__ */ c(Gt, { views: v, activeView: i, countUrl: a, onSwitchView: ee, onGetRecordCount: m }), e[28] = i, e[29] = a, e[30] = m, e[31] = v, e[32] = ee, e[33] = j) : j = e[33];
|
|
3209
3209
|
let ne;
|
|
3210
|
-
e[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ne =
|
|
3210
|
+
e[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ne = I("SHARED"), e[34] = ne) : ne = e[34];
|
|
3211
3211
|
let te;
|
|
3212
3212
|
e[35] !== Z || e[36] !== j ? (te = {
|
|
3213
3213
|
key: "2",
|
|
@@ -3216,10 +3216,10 @@ function rr(t) {
|
|
|
3216
3216
|
extra: ne
|
|
3217
3217
|
}, e[35] = Z, e[36] = j, e[37] = te) : te = e[37];
|
|
3218
3218
|
let ie;
|
|
3219
|
-
e[38] !==
|
|
3219
|
+
e[38] !== U || e[39] !== te ? (ie = [U, te], e[38] = U, e[39] = te, e[40] = ie) : ie = e[40];
|
|
3220
3220
|
const re = ie;
|
|
3221
3221
|
let se;
|
|
3222
|
-
e[41] !== l ? (se = /* @__PURE__ */ c("div", { className:
|
|
3222
|
+
e[41] !== l ? (se = /* @__PURE__ */ c("div", { className: Le.title, children: l }), e[41] = l, e[42] = se) : se = e[42];
|
|
3223
3223
|
let ue;
|
|
3224
3224
|
e[43] !== o ? (ue = /* @__PURE__ */ r(() => {
|
|
3225
3225
|
o(!1);
|
|
@@ -3229,14 +3229,14 @@ function rr(t) {
|
|
|
3229
3229
|
let ae;
|
|
3230
3230
|
e[46] !== ue ? (ae = /* @__PURE__ */ c("div", { onClick: ue, children: oe }), e[46] = ue, e[47] = ae) : ae = e[47];
|
|
3231
3231
|
let le;
|
|
3232
|
-
e[48] !== se || e[49] !== ae ? (le = /* @__PURE__ */ J(Ae, { align: "center", justify: "space-between", className:
|
|
3232
|
+
e[48] !== se || e[49] !== ae ? (le = /* @__PURE__ */ J(Ae, { align: "center", justify: "space-between", className: Le.top, children: [
|
|
3233
3233
|
se,
|
|
3234
3234
|
ae
|
|
3235
3235
|
] }), e[48] = se, e[49] = ae, e[50] = le) : le = e[50];
|
|
3236
3236
|
let X;
|
|
3237
3237
|
e[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = ["1", "2"], e[51] = X) : X = e[51];
|
|
3238
3238
|
let ce;
|
|
3239
|
-
e[52] !== re ? (ce = /* @__PURE__ */ c(Fn, { items: re, defaultActiveKey: X, className:
|
|
3239
|
+
e[52] !== re ? (ce = /* @__PURE__ */ c(Fn, { items: re, defaultActiveKey: X, className: Le.customCollapse }), e[52] = re, e[53] = ce) : ce = e[53];
|
|
3240
3240
|
let fe;
|
|
3241
3241
|
e[54] !== le || e[55] !== ce ? (fe = /* @__PURE__ */ J(Ae, { vertical: !0, gap: "16px", children: [
|
|
3242
3242
|
le,
|
|
@@ -3245,22 +3245,22 @@ function rr(t) {
|
|
|
3245
3245
|
let he;
|
|
3246
3246
|
e[57] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (he = /* @__PURE__ */ r(() => D(!1), "t27"), e[57] = he) : he = e[57];
|
|
3247
3247
|
let Ee;
|
|
3248
|
-
e[58] !== O || e[59] !== C || e[60] !==
|
|
3248
|
+
e[58] !== O || e[59] !== C || e[60] !== p || e[61] !== T ? (Ee = /* @__PURE__ */ c(Kt, { viewType: "PERSONAL", views: T, open: p, onCancel: he, onEditViewName: C, onDeleteView: O }), e[58] = O, e[59] = C, e[60] = p, e[61] = T, e[62] = Ee) : Ee = e[62];
|
|
3249
3249
|
let q;
|
|
3250
3250
|
e[63] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ r(() => R(!1), "t29"), e[63] = q) : q = e[63];
|
|
3251
3251
|
let ve;
|
|
3252
3252
|
e[64] !== O || e[65] !== C || e[66] !== b || e[67] !== v ? (ve = /* @__PURE__ */ c(Kt, { viewType: "SHARED", views: v, open: b, onCancel: q, onEditViewName: C, onDeleteView: O }), e[64] = O, e[65] = C, e[66] = b, e[67] = v, e[68] = ve) : ve = e[68];
|
|
3253
3253
|
let _e;
|
|
3254
|
-
e[69] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ r(() =>
|
|
3255
|
-
let
|
|
3256
|
-
e[70] !== x || e[71] !== S || e[72] !== w || e[73] !== P ? (
|
|
3254
|
+
e[69] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_e = /* @__PURE__ */ r(() => H(!1), "t31"), e[69] = _e) : _e = e[69];
|
|
3255
|
+
let ye;
|
|
3256
|
+
e[70] !== x || e[71] !== S || e[72] !== w || e[73] !== P ? (ye = /* @__PURE__ */ c(Nn, { mode: P, open: w, defaultViewType: x, onSaveView: S, onCancel: _e }), e[70] = x, e[71] = S, e[72] = w, e[73] = P, e[74] = ye) : ye = e[74];
|
|
3257
3257
|
let qe;
|
|
3258
|
-
return e[75] !== fe || e[76] !== Ee || e[77] !== ve || e[78] !==
|
|
3258
|
+
return e[75] !== fe || e[76] !== Ee || e[77] !== ve || e[78] !== ye ? (qe = /* @__PURE__ */ J(Te, { children: [
|
|
3259
3259
|
fe,
|
|
3260
3260
|
Ee,
|
|
3261
3261
|
ve,
|
|
3262
|
-
|
|
3263
|
-
] }), e[75] = fe, e[76] = Ee, e[77] = ve, e[78] =
|
|
3262
|
+
ye
|
|
3263
|
+
] }), e[75] = fe, e[76] = Ee, e[77] = ve, e[78] = ye, e[79] = qe) : qe = e[79], qe;
|
|
3264
3264
|
}
|
|
3265
3265
|
r(rr, "ViewPanel");
|
|
3266
3266
|
function sr(t) {
|
|
@@ -3290,17 +3290,17 @@ function Nn(t) {
|
|
|
3290
3290
|
let m, h;
|
|
3291
3291
|
e[1] !== a || e[2] !== i ? (m = /* @__PURE__ */ r(() => {
|
|
3292
3292
|
F.current?.setFieldValue("type", i || "PERSONAL"), F.current?.setFieldValue("name", a || "");
|
|
3293
|
-
}, "t1"), h = [i, a], e[1] = a, e[2] = i, e[3] = m, e[4] = h) : (m = e[3], h = e[4]),
|
|
3293
|
+
}, "t1"), h = [i, a], e[1] = a, e[2] = i, e[3] = m, e[4] = h) : (m = e[3], h = e[4]), Ie(m, h);
|
|
3294
3294
|
let T;
|
|
3295
3295
|
e[5] !== o ? (T = /* @__PURE__ */ r(() => {
|
|
3296
3296
|
o?.();
|
|
3297
3297
|
}, "t3"), e[5] = o, e[6] = T) : T = e[6];
|
|
3298
3298
|
const E = T, v = u.personalView || "个人视图";
|
|
3299
|
-
let
|
|
3300
|
-
e[7] !== v ? (
|
|
3299
|
+
let p;
|
|
3300
|
+
e[7] !== v ? (p = {
|
|
3301
3301
|
label: v,
|
|
3302
3302
|
value: "PERSONAL"
|
|
3303
|
-
}, e[7] = v, e[8] =
|
|
3303
|
+
}, e[7] = v, e[8] = p) : p = e[8];
|
|
3304
3304
|
const D = u.sharedView || "公共视图";
|
|
3305
3305
|
let b;
|
|
3306
3306
|
e[9] !== D ? (b = {
|
|
@@ -3308,22 +3308,22 @@ function Nn(t) {
|
|
|
3308
3308
|
value: "SHARED"
|
|
3309
3309
|
}, e[9] = D, e[10] = b) : b = e[10];
|
|
3310
3310
|
let R;
|
|
3311
|
-
e[11] !==
|
|
3311
|
+
e[11] !== p || e[12] !== b ? (R = [p, b], e[11] = p, e[12] = b, e[13] = R) : R = e[13];
|
|
3312
3312
|
const P = R, F = De(null);
|
|
3313
3313
|
let w;
|
|
3314
|
-
e[14] !== s ? (w = /* @__PURE__ */ r((
|
|
3315
|
-
s?.(
|
|
3314
|
+
e[14] !== s ? (w = /* @__PURE__ */ r((I) => {
|
|
3315
|
+
s?.(I.name, I.type);
|
|
3316
3316
|
}, "t9"), e[14] = s, e[15] = w) : w = e[15];
|
|
3317
|
-
const
|
|
3317
|
+
const H = w, x = l === "Create" ? u.createViewMethod?.create || "创建视图" : u.createViewMethod?.saveAs || "另存为新视图";
|
|
3318
3318
|
let V;
|
|
3319
3319
|
e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = {
|
|
3320
3320
|
span: 5
|
|
3321
3321
|
}, e[16] = V) : V = e[16];
|
|
3322
3322
|
const $ = i || "PERSONAL";
|
|
3323
|
-
let
|
|
3324
|
-
e[17] !== $ ? (
|
|
3323
|
+
let L;
|
|
3324
|
+
e[17] !== $ ? (L = {
|
|
3325
3325
|
type: $
|
|
3326
|
-
}, e[17] = $, e[18] =
|
|
3326
|
+
}, e[17] = $, e[18] = L) : L = e[18];
|
|
3327
3327
|
const M = u.view?.viewType?.name || "视图类型";
|
|
3328
3328
|
let W;
|
|
3329
3329
|
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = [{
|
|
@@ -3334,22 +3334,22 @@ function Nn(t) {
|
|
|
3334
3334
|
let _;
|
|
3335
3335
|
e[22] !== M || e[23] !== N ? (_ = /* @__PURE__ */ c(mt.Item, { label: M, name: "type", rules: W, children: N }), e[22] = M, e[23] = N, e[24] = _) : _ = e[24];
|
|
3336
3336
|
const S = u.view?.viewName || "视图名称";
|
|
3337
|
-
let
|
|
3338
|
-
e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3337
|
+
let y, C;
|
|
3338
|
+
e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = [{
|
|
3339
3339
|
required: !0
|
|
3340
3340
|
}, {
|
|
3341
3341
|
type: "string",
|
|
3342
3342
|
min: 1
|
|
3343
|
-
}], C = /* @__PURE__ */ c(Ke, {}), e[25] =
|
|
3343
|
+
}], C = /* @__PURE__ */ c(Ke, {}), e[25] = y, e[26] = C) : (y = e[25], C = e[26]);
|
|
3344
3344
|
let A;
|
|
3345
|
-
e[27] !== S ? (A = /* @__PURE__ */ c(mt.Item, { label: S, name: "name", rules:
|
|
3345
|
+
e[27] !== S ? (A = /* @__PURE__ */ c(mt.Item, { label: S, name: "name", rules: y, children: C }), e[27] = S, e[28] = A) : A = e[28];
|
|
3346
3346
|
let O;
|
|
3347
|
-
e[29] !==
|
|
3347
|
+
e[29] !== H || e[30] !== L || e[31] !== _ || e[32] !== A ? (O = /* @__PURE__ */ J(mt, { ref: F, name: "basic", labelCol: V, initialValues: L, onFinish: H, autoComplete: "off", children: [
|
|
3348
3348
|
_,
|
|
3349
3349
|
A
|
|
3350
|
-
] }), e[29] =
|
|
3351
|
-
let
|
|
3352
|
-
return e[34] !== E || e[35] !== n || e[36] !== x || e[37] !== O ? (
|
|
3350
|
+
] }), e[29] = H, e[30] = L, e[31] = _, e[32] = A, e[33] = O) : O = e[33];
|
|
3351
|
+
let g;
|
|
3352
|
+
return e[34] !== E || e[35] !== n || e[36] !== x || e[37] !== O ? (g = /* @__PURE__ */ c(st, { title: x, open: n, onOk: d, okText: "确认", onCancel: E, cancelText: "取消", children: O }), e[34] = E, e[35] = n, e[36] = x, e[37] = O, e[38] = g) : g = e[38], g;
|
|
3353
3353
|
}
|
|
3354
3354
|
r(Nn, "SaveViewModal");
|
|
3355
3355
|
function cr(t) {
|
|
@@ -3380,7 +3380,7 @@ function cr(t) {
|
|
|
3380
3380
|
return e[7] !== n || e[8] !== h || e[9] !== E || e[10] !== d || e[11] !== o || e[12] !== i || e[13] !== l || e[14] !== u ? (v = /* @__PURE__ */ c(Te, { children: n ? /* @__PURE__ */ J(Ae, { align: "center", justify: "space-between", gap: 12, style: {
|
|
3381
3381
|
width: "100%"
|
|
3382
3382
|
}, children: [
|
|
3383
|
-
/* @__PURE__ */ c(Ke, { value: u, onChange: /* @__PURE__ */ r((
|
|
3383
|
+
/* @__PURE__ */ c(Ke, { value: u, onChange: /* @__PURE__ */ r((p) => f(p.target.value), "onChange") }),
|
|
3384
3384
|
/* @__PURE__ */ J(Se, { orientation: "horizontal", children: [
|
|
3385
3385
|
/* @__PURE__ */ c(me, { type: "default", size: "small", onClick: h, children: d.viewPanel?.cancelButton || "取消" }),
|
|
3386
3386
|
/* @__PURE__ */ c(me, { type: "primary", size: "small", onClick: E, children: d.viewPanel?.saveButton || "保存" })
|
|
@@ -3398,7 +3398,7 @@ function cr(t) {
|
|
|
3398
3398
|
l.source === "CUSTOM" ? /* @__PURE__ */ J(Se, { orientation: "horizontal", children: [
|
|
3399
3399
|
/* @__PURE__ */ c(Jn, { onClick: /* @__PURE__ */ r(() => i(l), "onClick") }),
|
|
3400
3400
|
/* @__PURE__ */ c($n, { title: "确认删除此视图?", description: "视图删除后不可恢复,其数据不受影响,是否确认删除?", onConfirm: /* @__PURE__ */ r(() => o(l), "onConfirm"), okText: "确认", cancelText: "取消", children: /* @__PURE__ */ c(el, {}) })
|
|
3401
|
-
] }) : /* @__PURE__ */ c(
|
|
3401
|
+
] }) : /* @__PURE__ */ c(Lt, { children: "系统" })
|
|
3402
3402
|
] }) }), e[7] = n, e[8] = h, e[9] = E, e[10] = d, e[11] = o, e[12] = i, e[13] = l, e[14] = u, e[15] = v) : v = e[15], v;
|
|
3403
3403
|
}
|
|
3404
3404
|
r(cr, "ViewManageItem");
|
|
@@ -3423,7 +3423,7 @@ function Kt(t) {
|
|
|
3423
3423
|
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ r(() => {
|
|
3424
3424
|
f(null);
|
|
3425
3425
|
}, "t2"), e[4] = v) : v = e[4];
|
|
3426
|
-
const
|
|
3426
|
+
const p = v;
|
|
3427
3427
|
let D;
|
|
3428
3428
|
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ r((M) => {
|
|
3429
3429
|
f(M);
|
|
@@ -3442,7 +3442,7 @@ function Kt(t) {
|
|
|
3442
3442
|
f(null);
|
|
3443
3443
|
});
|
|
3444
3444
|
}, "t5"), e[8] = s, e[9] = F) : F = e[9];
|
|
3445
|
-
const w = F,
|
|
3445
|
+
const w = F, H = `${l === "PERSONAL" ? "个人" : "公共"}视图`;
|
|
3446
3446
|
let x;
|
|
3447
3447
|
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (x = {
|
|
3448
3448
|
width: "100%"
|
|
@@ -3450,13 +3450,13 @@ function Kt(t) {
|
|
|
3450
3450
|
let V;
|
|
3451
3451
|
if (e[11] !== P || e[12] !== w || e[13] !== m || e[14] !== n) {
|
|
3452
3452
|
let M;
|
|
3453
|
-
e[16] !== P || e[17] !== w || e[18] !== m ? (M = /* @__PURE__ */ r((W) => /* @__PURE__ */ c(cr, { editing: m(W), onCancel:
|
|
3453
|
+
e[16] !== P || e[17] !== w || e[18] !== m ? (M = /* @__PURE__ */ r((W) => /* @__PURE__ */ c(cr, { editing: m(W), onCancel: p, onDelete: P, onEdit: b, onSave: w, view: W }), "t92"), e[16] = P, e[17] = w, e[18] = m, e[19] = M) : M = e[19], V = n.map(M), e[11] = P, e[12] = w, e[13] = m, e[14] = n, e[15] = V;
|
|
3454
3454
|
} else
|
|
3455
3455
|
V = e[15];
|
|
3456
3456
|
let $;
|
|
3457
3457
|
e[20] !== V ? ($ = /* @__PURE__ */ c(Se, { orientation: "vertical", size: 12, style: x, children: V }), e[20] = V, e[21] = $) : $ = e[21];
|
|
3458
|
-
let
|
|
3459
|
-
return e[22] !== E || e[23] !== i || e[24] !==
|
|
3458
|
+
let L;
|
|
3459
|
+
return e[22] !== E || e[23] !== i || e[24] !== H || e[25] !== $ ? (L = /* @__PURE__ */ c(st, { title: H, open: i, onOk: h, okText: "确认", cancelText: "取消", onCancel: E, children: $ }), e[22] = E, e[23] = i, e[24] = H, e[25] = $, e[26] = L) : L = e[26], L;
|
|
3460
3460
|
}
|
|
3461
3461
|
r(Kt, "ViewManageModal");
|
|
3462
3462
|
function ur() {
|
|
@@ -3495,50 +3495,50 @@ function hr(t) {
|
|
|
3495
3495
|
const {
|
|
3496
3496
|
activeView: E,
|
|
3497
3497
|
showFilter: v,
|
|
3498
|
-
setShowFilter:
|
|
3498
|
+
setShowFilter: p,
|
|
3499
3499
|
showViewPanel: D,
|
|
3500
3500
|
setShowViewPanel: b,
|
|
3501
3501
|
viewChanged: R,
|
|
3502
3502
|
columns: P,
|
|
3503
3503
|
setColumns: F,
|
|
3504
3504
|
activeFilters: w,
|
|
3505
|
-
setActiveFilters:
|
|
3505
|
+
setActiveFilters: H,
|
|
3506
3506
|
page: x,
|
|
3507
3507
|
setPage: V,
|
|
3508
3508
|
pageSize: $,
|
|
3509
|
-
setPageSize:
|
|
3509
|
+
setPageSize: L,
|
|
3510
3510
|
tableSize: M,
|
|
3511
3511
|
setTableSize: W,
|
|
3512
3512
|
condition: N,
|
|
3513
3513
|
setCondition: _,
|
|
3514
3514
|
sorter: S,
|
|
3515
|
-
setSorter:
|
|
3515
|
+
setSorter: y,
|
|
3516
3516
|
onSwitchView: C,
|
|
3517
3517
|
views: A,
|
|
3518
3518
|
setViews: O,
|
|
3519
|
-
reset:
|
|
3519
|
+
reset: g
|
|
3520
3520
|
} = Tr(T);
|
|
3521
|
-
let
|
|
3522
|
-
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3523
|
-
const [
|
|
3521
|
+
let I;
|
|
3522
|
+
e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = [], e[17] = I) : I = e[17];
|
|
3523
|
+
const [B, Y] = Q(I), k = De(null);
|
|
3524
3524
|
let K;
|
|
3525
3525
|
e[18] !== s || e[19] !== d || e[20] !== O || e[21] !== C || e[22] !== A ? (K = /* @__PURE__ */ r((q, ve) => {
|
|
3526
3526
|
console.log("onCreateView", q), s?.(q, (_e) => {
|
|
3527
3527
|
O([...A, _e]), C(_e), d?.(_e), ve?.();
|
|
3528
3528
|
});
|
|
3529
3529
|
}, "t3"), e[18] = s, e[19] = d, e[20] = O, e[21] = C, e[22] = A, e[23] = K) : K = e[23];
|
|
3530
|
-
const
|
|
3530
|
+
const U = K;
|
|
3531
3531
|
let Z;
|
|
3532
3532
|
e[24] !== m || e[25] !== O || e[26] !== C || e[27] !== A ? (Z = /* @__PURE__ */ r((q, ve) => {
|
|
3533
3533
|
console.log("onUpdateView", q), m?.(q, (_e) => {
|
|
3534
|
-
O(A.map((
|
|
3534
|
+
O(A.map((ye) => ye.id === _e.id ? _e : ye)), C(_e), ve?.();
|
|
3535
3535
|
});
|
|
3536
3536
|
}, "t4"), e[24] = m, e[25] = O, e[26] = C, e[27] = A, e[28] = Z) : Z = e[28];
|
|
3537
3537
|
const ee = Z;
|
|
3538
3538
|
let j;
|
|
3539
3539
|
e[29] !== E.id || e[30] !== o || e[31] !== d || e[32] !== O || e[33] !== C || e[34] !== A ? (j = /* @__PURE__ */ r((q, ve) => {
|
|
3540
3540
|
console.log("onDeleteView", q), o?.(q, (_e) => {
|
|
3541
|
-
O(A.filter((
|
|
3541
|
+
O(A.filter((ye) => ye.id !== _e.id)), E.id === _e.id && (C(A[0]), d?.(A[0])), ve?.();
|
|
3542
3542
|
});
|
|
3543
3543
|
}, "t5"), e[29] = E.id, e[30] = o, e[31] = d, e[32] = O, e[33] = C, e[34] = A, e[35] = j) : j = e[35];
|
|
3544
3544
|
const ne = j;
|
|
@@ -3553,22 +3553,22 @@ function hr(t) {
|
|
|
3553
3553
|
}, "t7"), e[38] = f, e[39] = d, e[40] = C, e[41] = re) : re = e[41];
|
|
3554
3554
|
const se = re;
|
|
3555
3555
|
let ue;
|
|
3556
|
-
e[42] !== f || e[43] !==
|
|
3557
|
-
const q =
|
|
3558
|
-
|
|
3559
|
-
}, "t8"), e[42] = f, e[43] =
|
|
3556
|
+
e[42] !== f || e[43] !== g ? (ue = /* @__PURE__ */ r(() => {
|
|
3557
|
+
const q = g();
|
|
3558
|
+
k.current?.reset(), f?.(q.condition, 1, q.pageSize, q.sorter);
|
|
3559
|
+
}, "t8"), e[42] = f, e[43] = g, e[44] = ue) : ue = e[44];
|
|
3560
3560
|
const oe = ue;
|
|
3561
3561
|
let ae;
|
|
3562
|
-
e[45] !== E || e[46] !== a.countUrl || e[47] !== a.name || e[48] !==
|
|
3562
|
+
e[45] !== E || e[46] !== a.countUrl || e[47] !== a.name || e[48] !== U || e[49] !== ne || e[50] !== ie || e[51] !== se || e[52] !== ee || e[53] !== u || e[54] !== D || e[55] !== A ? (ae = D && /* @__PURE__ */ c(dr, { className: Ye.userViews, width: 220, children: /* @__PURE__ */ c(rr, { name: a.name, views: A, activeView: E, countUrl: a.countUrl, onSwitchView: se, onShowViewPanelChange: ie, onGetRecordCount: u, onCreateView: U, onUpdateView: ee, onDeleteView: ne }) }), e[45] = E, e[46] = a.countUrl, e[47] = a.name, e[48] = U, e[49] = ne, e[50] = ie, e[51] = se, e[52] = ee, e[53] = u, e[54] = D, e[55] = A, e[56] = ae) : ae = e[56];
|
|
3563
3563
|
let le;
|
|
3564
3564
|
e[57] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (le = {
|
|
3565
3565
|
display: "flex"
|
|
3566
3566
|
}, e[57] = le) : le = e[57];
|
|
3567
3567
|
let X;
|
|
3568
|
-
e[58] !== E || e[59] !== a.name || e[60] !==
|
|
3568
|
+
e[58] !== E || e[59] !== a.name || e[60] !== U || e[61] !== ne || e[62] !== oe || e[63] !== ee || e[64] !== h.batchActions || e[65] !== h.primaryAction || e[66] !== h.secondaryActions || e[67] !== p || e[68] !== b || e[69] !== W || e[70] !== v || e[71] !== D || e[72] !== B || e[73] !== R || e[74] !== A ? (X = /* @__PURE__ */ c(fr, { className: Ye.topBar, children: /* @__PURE__ */ c(Ha, { tableSelectedItems: B, title: a.name, activeView: E, views: A, defaultTableSize: E.tableSize, primaryAction: h.primaryAction, secondaryActions: h.secondaryActions, batchActions: h.batchActions, viewChanged: R, onReset: oe, showViewPanel: D, showFilter: v, onShowFilterChange: p, onShowViewPanelChange: b, onTableSizeChange: W, onCreateView: U, onUpdateView: ee, onDeleteView: ne }) }), e[58] = E, e[59] = a.name, e[60] = U, e[61] = ne, e[62] = oe, e[63] = ee, e[64] = h.batchActions, e[65] = h.primaryAction, e[66] = h.secondaryActions, e[67] = p, e[68] = b, e[69] = W, e[70] = v, e[71] = D, e[72] = B, e[73] = R, e[74] = A, e[75] = X) : X = e[75];
|
|
3569
3569
|
const ce = h.enableRowSelection ?? !0;
|
|
3570
3570
|
let fe;
|
|
3571
|
-
e[76] !== w || e[77] !== E.id || e[78] !== P || e[79] !== N || e[80] !== a.availableFilters || e[81] !== a.fields || e[82] !== f || e[83] !== h.actionColumn || e[84] !== h.dataSource || e[85] !== h.loading || e[86] !== h.onClickPrimaryKey || e[87] !== h.pagination || e[88] !== h.viewTableSetting || e[89] !== x || e[90] !== $ || e[91] !==
|
|
3571
|
+
e[76] !== w || e[77] !== E.id || e[78] !== P || e[79] !== N || e[80] !== a.availableFilters || e[81] !== a.fields || e[82] !== f || e[83] !== h.actionColumn || e[84] !== h.dataSource || e[85] !== h.loading || e[86] !== h.onClickPrimaryKey || e[87] !== h.pagination || e[88] !== h.viewTableSetting || e[89] !== x || e[90] !== $ || e[91] !== H || e[92] !== F || e[93] !== _ || e[94] !== V || e[95] !== L || e[96] !== y || e[97] !== W || e[98] !== v || e[99] !== S || e[100] !== ce || e[101] !== M ? (fe = /* @__PURE__ */ c(Ya, { ref: k, fields: a.fields, availableFilters: a.availableFilters, dataSource: h.dataSource, enableRowSelection: ce, loading: h.loading, filterMode: "editable", pagination: h.pagination, showFilter: v, viewTableSetting: h.viewTableSetting, actionColumn: h.actionColumn, onClickPrimaryKey: h.onClickPrimaryKey, onSelectedDataChange: Y, defaultActiveFilters: w, externalActiveFilters: w, externalUpdateActiveFilters: H, defaultColumns: P, externalColumns: P, externalUpdateColumns: F, defaultPage: x, externalPage: x, externalUpdatePage: V, defaultPageSize: $, externalPageSize: $, externalUpdatePageSize: L, defaultTableSize: M, externalTableSize: M, externalUpdateTableSize: W, defaultCondition: N, externalCondition: N, externalUpdateCondition: _, defaultSorter: S, externalSorter: S, externalUpdateSorter: y, onChange: f }, E.id), e[76] = w, e[77] = E.id, e[78] = P, e[79] = N, e[80] = a.availableFilters, e[81] = a.fields, e[82] = f, e[83] = h.actionColumn, e[84] = h.dataSource, e[85] = h.loading, e[86] = h.onClickPrimaryKey, e[87] = h.pagination, e[88] = h.viewTableSetting, e[89] = x, e[90] = $, e[91] = H, e[92] = F, e[93] = _, e[94] = V, e[95] = L, e[96] = y, e[97] = W, e[98] = v, e[99] = S, e[100] = ce, e[101] = M, e[102] = fe) : fe = e[102];
|
|
3572
3572
|
let he;
|
|
3573
3573
|
e[103] !== X || e[104] !== fe ? (he = /* @__PURE__ */ c(Ct, { className: Ye.container, children: /* @__PURE__ */ c(mr, { children: /* @__PURE__ */ J(Se, { orientation: "vertical", style: le, size: "small", children: [
|
|
3574
3574
|
X,
|
|
@@ -3591,14 +3591,14 @@ function Tr({
|
|
|
3591
3591
|
setColumns: T,
|
|
3592
3592
|
page: E,
|
|
3593
3593
|
setPage: v,
|
|
3594
|
-
pageSize:
|
|
3594
|
+
pageSize: p,
|
|
3595
3595
|
setPageSize: D,
|
|
3596
3596
|
activeFilters: b,
|
|
3597
3597
|
setActiveFilters: R,
|
|
3598
3598
|
tableSize: P,
|
|
3599
3599
|
setTableSize: F,
|
|
3600
3600
|
condition: w,
|
|
3601
|
-
setCondition:
|
|
3601
|
+
setCondition: H,
|
|
3602
3602
|
sorter: x,
|
|
3603
3603
|
setSorter: V
|
|
3604
3604
|
} = Sn({
|
|
@@ -3608,96 +3608,96 @@ function Tr({
|
|
|
3608
3608
|
defaultTableSize: s.tableSize,
|
|
3609
3609
|
defaultCondition: s.condition,
|
|
3610
3610
|
defaultSorter: s.sorter
|
|
3611
|
-
}), [$,
|
|
3612
|
-
return
|
|
3613
|
-
|
|
3611
|
+
}), [$, L] = Q(!1);
|
|
3612
|
+
return Ie(() => {
|
|
3613
|
+
L(!At(s, n.current));
|
|
3614
3614
|
}, [s]), {
|
|
3615
3615
|
activeView: s,
|
|
3616
3616
|
showFilter: u,
|
|
3617
|
-
setShowFilter: /* @__PURE__ */ r((
|
|
3618
|
-
f(
|
|
3617
|
+
setShowFilter: /* @__PURE__ */ r((I) => {
|
|
3618
|
+
f(I);
|
|
3619
3619
|
}, "setShowFilterFn"),
|
|
3620
3620
|
showViewPanel: d,
|
|
3621
|
-
setShowViewPanel: /* @__PURE__ */ r((
|
|
3622
|
-
m(
|
|
3621
|
+
setShowViewPanel: /* @__PURE__ */ r((I) => {
|
|
3622
|
+
m(I);
|
|
3623
3623
|
}, "setShowViewPanelFn"),
|
|
3624
3624
|
columns: h,
|
|
3625
|
-
setColumns: /* @__PURE__ */ r((
|
|
3626
|
-
T(
|
|
3625
|
+
setColumns: /* @__PURE__ */ r((I) => {
|
|
3626
|
+
T(I), o({
|
|
3627
3627
|
...s,
|
|
3628
|
-
columns:
|
|
3628
|
+
columns: I
|
|
3629
3629
|
});
|
|
3630
3630
|
}, "setColumnsFn"),
|
|
3631
3631
|
page: E,
|
|
3632
3632
|
setPage: v,
|
|
3633
|
-
pageSize:
|
|
3634
|
-
setPageSize: /* @__PURE__ */ r((
|
|
3635
|
-
D(
|
|
3633
|
+
pageSize: p,
|
|
3634
|
+
setPageSize: /* @__PURE__ */ r((I) => {
|
|
3635
|
+
D(I), o({
|
|
3636
3636
|
...s,
|
|
3637
|
-
pageSize:
|
|
3637
|
+
pageSize: I
|
|
3638
3638
|
});
|
|
3639
3639
|
}, "setPageSizeFn"),
|
|
3640
3640
|
activeFilters: b,
|
|
3641
|
-
setActiveFilters: /* @__PURE__ */ r((
|
|
3642
|
-
R(
|
|
3641
|
+
setActiveFilters: /* @__PURE__ */ r((I) => {
|
|
3642
|
+
R(I), o({
|
|
3643
3643
|
...s,
|
|
3644
|
-
filters:
|
|
3644
|
+
filters: I
|
|
3645
3645
|
});
|
|
3646
3646
|
}, "setActiveFiltersFn"),
|
|
3647
3647
|
tableSize: P,
|
|
3648
|
-
setTableSize: /* @__PURE__ */ r((
|
|
3649
|
-
F(
|
|
3648
|
+
setTableSize: /* @__PURE__ */ r((I) => {
|
|
3649
|
+
F(I), o({
|
|
3650
3650
|
...s,
|
|
3651
|
-
tableSize:
|
|
3651
|
+
tableSize: I
|
|
3652
3652
|
});
|
|
3653
3653
|
}, "setTableSizeFn"),
|
|
3654
3654
|
condition: w,
|
|
3655
|
-
setCondition: /* @__PURE__ */ r((
|
|
3656
|
-
|
|
3657
|
-
const
|
|
3658
|
-
if (
|
|
3659
|
-
const
|
|
3655
|
+
setCondition: /* @__PURE__ */ r((I) => {
|
|
3656
|
+
H(I);
|
|
3657
|
+
const B = b.map((Y) => {
|
|
3658
|
+
if (I.operator === z.AND) {
|
|
3659
|
+
const k = I.children?.find(
|
|
3660
3660
|
(K) => K.field === Y.field.name
|
|
3661
3661
|
);
|
|
3662
|
-
return
|
|
3662
|
+
return k ? {
|
|
3663
3663
|
...Y,
|
|
3664
|
-
value: { defaultValue:
|
|
3665
|
-
operator: { defaultValue:
|
|
3664
|
+
value: { defaultValue: k.value },
|
|
3665
|
+
operator: { defaultValue: k.operator }
|
|
3666
3666
|
} : {
|
|
3667
3667
|
...Y,
|
|
3668
3668
|
value: null,
|
|
3669
3669
|
operator: null
|
|
3670
3670
|
};
|
|
3671
|
-
} else return
|
|
3671
|
+
} else return I.field === Y.field.name ? {
|
|
3672
3672
|
...Y,
|
|
3673
|
-
value: { defaultValue:
|
|
3674
|
-
operator: { defaultValue:
|
|
3673
|
+
value: { defaultValue: I.value },
|
|
3674
|
+
operator: { defaultValue: I.operator }
|
|
3675
3675
|
} : {
|
|
3676
3676
|
...Y,
|
|
3677
3677
|
value: null,
|
|
3678
3678
|
operator: null
|
|
3679
3679
|
};
|
|
3680
3680
|
});
|
|
3681
|
-
R(
|
|
3681
|
+
R(B), o({
|
|
3682
3682
|
...s,
|
|
3683
|
-
condition:
|
|
3684
|
-
filters:
|
|
3683
|
+
condition: I,
|
|
3684
|
+
filters: B
|
|
3685
3685
|
});
|
|
3686
3686
|
}, "setConditionFn"),
|
|
3687
3687
|
sorter: x,
|
|
3688
|
-
setSorter: /* @__PURE__ */ r((
|
|
3689
|
-
V(
|
|
3688
|
+
setSorter: /* @__PURE__ */ r((I) => {
|
|
3689
|
+
V(I), o({
|
|
3690
3690
|
...s,
|
|
3691
|
-
sorter:
|
|
3691
|
+
sorter: I
|
|
3692
3692
|
});
|
|
3693
3693
|
}, "setSorterFn"),
|
|
3694
3694
|
viewChanged: $,
|
|
3695
3695
|
views: i,
|
|
3696
3696
|
setViews: a,
|
|
3697
|
-
onSwitchView: /* @__PURE__ */ r((
|
|
3698
|
-
n.current =
|
|
3697
|
+
onSwitchView: /* @__PURE__ */ r((I) => {
|
|
3698
|
+
n.current = I, o(I), v(1), D(I.pageSize), T(I.columns), H(I.condition || xe()), R(I.filters), F(I.tableSize), V(I.sorter || []);
|
|
3699
3699
|
}, "onSwitchViewFn"),
|
|
3700
|
-
reset: /* @__PURE__ */ r(() => (o(n.current), v(1), D(n.current.pageSize), T(n.current.columns), R(n.current.filters),
|
|
3700
|
+
reset: /* @__PURE__ */ r(() => (o(n.current), v(1), D(n.current.pageSize), T(n.current.columns), R(n.current.filters), H(n.current.condition || xe()), F(n.current.tableSize), V(n.current.sorter || []), n.current), "resetFn")
|
|
3701
3701
|
};
|
|
3702
3702
|
}
|
|
3703
3703
|
r(Tr, "useViewerState");
|
|
@@ -3708,7 +3708,7 @@ export {
|
|
|
3708
3708
|
Be as ActionCell,
|
|
3709
3709
|
Cn as ActionsCell,
|
|
3710
3710
|
Me as AssemblyFilter,
|
|
3711
|
-
|
|
3711
|
+
pa as AutoRefreshBarItem,
|
|
3712
3712
|
kl as AvailableFilterSelect,
|
|
3713
3713
|
Ul as AvailableFilterSelectModal,
|
|
3714
3714
|
Di as AvatarCell,
|
|
@@ -3762,30 +3762,30 @@ export {
|
|
|
3762
3762
|
ql as TEXT_FILTER,
|
|
3763
3763
|
zt as TableFieldItem,
|
|
3764
3764
|
fa as TableSettingPanel,
|
|
3765
|
-
|
|
3765
|
+
yn as TagCell,
|
|
3766
3766
|
ut as TagInput,
|
|
3767
3767
|
Bi as TagsCell,
|
|
3768
|
-
|
|
3768
|
+
In as TextCell,
|
|
3769
3769
|
sn as TextFilter,
|
|
3770
3770
|
Ha as TopBar,
|
|
3771
3771
|
gl as TrueValidateValue,
|
|
3772
3772
|
it as TypedComponentRegistry,
|
|
3773
3773
|
Nt as TypedFilter,
|
|
3774
|
-
|
|
3774
|
+
pt as VIEWER_BOUNDED_CONTEXT_ALIAS,
|
|
3775
3775
|
Ya as View,
|
|
3776
3776
|
ze as ViewAggregatedFields,
|
|
3777
|
-
|
|
3777
|
+
pe as ViewCommandClient,
|
|
3778
3778
|
Cl as ViewCommandEndpointPaths,
|
|
3779
|
-
|
|
3779
|
+
Il as ViewDomainEventTypeMapTitle,
|
|
3780
3780
|
ar as ViewItem,
|
|
3781
3781
|
Gt as ViewItemGroup,
|
|
3782
3782
|
cr as ViewManageItem,
|
|
3783
3783
|
Kt as ViewManageModal,
|
|
3784
3784
|
rr as ViewPanel,
|
|
3785
3785
|
Ft as ViewStreamCommandClient,
|
|
3786
|
-
|
|
3786
|
+
ya as ViewTable,
|
|
3787
3787
|
hr as Viewer,
|
|
3788
|
-
|
|
3788
|
+
Ll as ViewerDefinitionAggregatedFields,
|
|
3789
3789
|
Nl as ViewerDefinitionDomainEventTypeMapTitle,
|
|
3790
3790
|
aa as cellRegistry,
|
|
3791
3791
|
Dr as currentTimeZone,
|
|
@@ -3798,7 +3798,7 @@ export {
|
|
|
3798
3798
|
Ri as isValidImageSrc,
|
|
3799
3799
|
$t as isValidValue,
|
|
3800
3800
|
va as mapToTableRecord,
|
|
3801
|
-
|
|
3801
|
+
pi as parseDayjs,
|
|
3802
3802
|
ra as typedCellRender,
|
|
3803
3803
|
Sn as useActiveViewState,
|
|
3804
3804
|
Rl as useFetchData,
|
|
@@ -3807,7 +3807,7 @@ export {
|
|
|
3807
3807
|
Rt as useRefreshDataEventBus,
|
|
3808
3808
|
Qa as useViewState,
|
|
3809
3809
|
Aa as useViewTableState,
|
|
3810
|
-
|
|
3810
|
+
pl as useViewerDefinition,
|
|
3811
3811
|
Tr as useViewerState,
|
|
3812
3812
|
bl as useViewerViews,
|
|
3813
3813
|
Rr as viewQueryClientFactory,
|