@cloudtower/eagle 0.22.10 → 0.22.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/esm/index.js +154 -177
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/store/index.d.ts +3 -8
- package/dist/style.css +667 -671
- package/dist/umd/index.js +156 -176
- package/dist/umd/stats1.html +1 -1
- package/package.json +4 -4
- package/dist/components/Table/TableSelection.d.ts +0 -27
package/dist/umd/index.js
CHANGED
|
@@ -1903,138 +1903,76 @@
|
|
|
1903
1903
|
}
|
|
1904
1904
|
};
|
|
1905
1905
|
|
|
1906
|
-
var __defProp$6 = Object.defineProperty;
|
|
1907
|
-
var __defProps$3 = Object.defineProperties;
|
|
1908
|
-
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
1909
|
-
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
1910
|
-
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
1911
|
-
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
1912
|
-
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1913
|
-
var __spreadValues$6 = (a, b) => {
|
|
1914
|
-
for (var prop in b || (b = {}))
|
|
1915
|
-
if (__hasOwnProp$6.call(b, prop))
|
|
1916
|
-
__defNormalProp$6(a, prop, b[prop]);
|
|
1917
|
-
if (__getOwnPropSymbols$6)
|
|
1918
|
-
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
1919
|
-
if (__propIsEnum$6.call(b, prop))
|
|
1920
|
-
__defNormalProp$6(a, prop, b[prop]);
|
|
1921
|
-
}
|
|
1922
|
-
return a;
|
|
1923
|
-
};
|
|
1924
|
-
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
1925
|
-
const initialTableState = {};
|
|
1926
|
-
const tableReducer = (state = initialTableState, action) => {
|
|
1927
|
-
var _a;
|
|
1928
|
-
switch (action.type) {
|
|
1929
|
-
case "SET_ROWS_SELECTION" /* SET_ROWS_SELECTION */: {
|
|
1930
|
-
const { resource, rows } = action.payload;
|
|
1931
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
1932
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
1933
|
-
selectRows: rows
|
|
1934
|
-
})
|
|
1935
|
-
});
|
|
1936
|
-
}
|
|
1937
|
-
case "REMOVE_ROW_SELECTION" /* REMOVE_ROW_SELECTION */: {
|
|
1938
|
-
const { resource, id } = action.payload;
|
|
1939
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
1940
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
1941
|
-
selectRows: (_a = state[resource].selectRows) == null ? void 0 : _a.filter((r) => r.id !== id)
|
|
1942
|
-
})
|
|
1943
|
-
});
|
|
1944
|
-
}
|
|
1945
|
-
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
1946
|
-
const { resource, rows } = action.payload;
|
|
1947
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
1948
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
1949
|
-
rows
|
|
1950
|
-
})
|
|
1951
|
-
});
|
|
1952
|
-
}
|
|
1953
|
-
case "SET_RESOURCE_QUERY" /* SET_RESOURCE_QUERY */: {
|
|
1954
|
-
const { resource, query } = action.payload;
|
|
1955
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
1956
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
1957
|
-
query
|
|
1958
|
-
})
|
|
1959
|
-
});
|
|
1960
|
-
}
|
|
1961
|
-
default:
|
|
1962
|
-
return state;
|
|
1963
|
-
}
|
|
1964
|
-
};
|
|
1965
|
-
|
|
1966
1906
|
const appReducer = redux.combineReducers({
|
|
1967
1907
|
chart: chartReducer,
|
|
1968
|
-
modal: modalReducer
|
|
1969
|
-
table: tableReducer
|
|
1908
|
+
modal: modalReducer
|
|
1970
1909
|
});
|
|
1971
1910
|
const rootReducer = (state, action) => {
|
|
1972
|
-
if (action.type === "
|
|
1911
|
+
if (action.type === "RESET_UI_KIT_STORE") {
|
|
1973
1912
|
state = {
|
|
1974
1913
|
modal: initialModalState,
|
|
1975
|
-
chart: initialChartState
|
|
1976
|
-
table: initialTableState
|
|
1914
|
+
chart: initialChartState
|
|
1977
1915
|
};
|
|
1978
1916
|
}
|
|
1979
1917
|
return appReducer(state, action);
|
|
1980
1918
|
};
|
|
1981
|
-
const
|
|
1919
|
+
const UIKitStore = redux.createStore(rootReducer);
|
|
1982
1920
|
function pushModal(modal) {
|
|
1983
|
-
|
|
1921
|
+
UIKitStore.dispatch({
|
|
1984
1922
|
type: ModalActions.PUSH_MODAL,
|
|
1985
1923
|
payload: modal
|
|
1986
1924
|
});
|
|
1987
1925
|
}
|
|
1988
1926
|
function popModal() {
|
|
1989
|
-
|
|
1927
|
+
UIKitStore.dispatch({
|
|
1990
1928
|
type: ModalActions.POP_MODAL
|
|
1991
1929
|
});
|
|
1992
1930
|
}
|
|
1993
1931
|
function closeModal(id) {
|
|
1994
|
-
|
|
1932
|
+
UIKitStore.dispatch({
|
|
1995
1933
|
type: ModalActions.CLOSE_MODAL,
|
|
1996
1934
|
id
|
|
1997
1935
|
});
|
|
1998
1936
|
}
|
|
1999
1937
|
|
|
2000
1938
|
const ctx = React.createContext({
|
|
2001
|
-
store,
|
|
2002
|
-
storeState:
|
|
1939
|
+
store: UIKitStore,
|
|
1940
|
+
storeState: UIKitStore.getState()
|
|
2003
1941
|
});
|
|
2004
1942
|
const KitStoreProvider = (props) => {
|
|
2005
1943
|
const { children } = props;
|
|
2006
|
-
return /* @__PURE__ */ React.createElement(reactRedux.Provider, { context: ctx, store }, children);
|
|
1944
|
+
return /* @__PURE__ */ React.createElement(reactRedux.Provider, { context: ctx, store: UIKitStore }, children);
|
|
2007
1945
|
};
|
|
2008
1946
|
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
2009
1947
|
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
2010
1948
|
|
|
2011
|
-
var __defProp$
|
|
2012
|
-
var __defProps$
|
|
2013
|
-
var __getOwnPropDescs$
|
|
2014
|
-
var __getOwnPropSymbols$
|
|
2015
|
-
var __hasOwnProp$
|
|
2016
|
-
var __propIsEnum$
|
|
2017
|
-
var __defNormalProp$
|
|
2018
|
-
var __spreadValues$
|
|
1949
|
+
var __defProp$6 = Object.defineProperty;
|
|
1950
|
+
var __defProps$3 = Object.defineProperties;
|
|
1951
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
1952
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
1953
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
1954
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
1955
|
+
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1956
|
+
var __spreadValues$6 = (a, b) => {
|
|
2019
1957
|
for (var prop in b || (b = {}))
|
|
2020
|
-
if (__hasOwnProp$
|
|
2021
|
-
__defNormalProp$
|
|
2022
|
-
if (__getOwnPropSymbols$
|
|
2023
|
-
for (var prop of __getOwnPropSymbols$
|
|
2024
|
-
if (__propIsEnum$
|
|
2025
|
-
__defNormalProp$
|
|
1958
|
+
if (__hasOwnProp$6.call(b, prop))
|
|
1959
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
1960
|
+
if (__getOwnPropSymbols$6)
|
|
1961
|
+
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
1962
|
+
if (__propIsEnum$6.call(b, prop))
|
|
1963
|
+
__defNormalProp$6(a, prop, b[prop]);
|
|
2026
1964
|
}
|
|
2027
1965
|
return a;
|
|
2028
1966
|
};
|
|
2029
|
-
var __spreadProps$
|
|
1967
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
2030
1968
|
var __objRest$4 = (source, exclude) => {
|
|
2031
1969
|
var target = {};
|
|
2032
1970
|
for (var prop in source)
|
|
2033
|
-
if (__hasOwnProp$
|
|
1971
|
+
if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2034
1972
|
target[prop] = source[prop];
|
|
2035
|
-
if (source != null && __getOwnPropSymbols$
|
|
2036
|
-
for (var prop of __getOwnPropSymbols$
|
|
2037
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1973
|
+
if (source != null && __getOwnPropSymbols$6)
|
|
1974
|
+
for (var prop of __getOwnPropSymbols$6(source)) {
|
|
1975
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))
|
|
2038
1976
|
target[prop] = source[prop];
|
|
2039
1977
|
}
|
|
2040
1978
|
return target;
|
|
@@ -2115,7 +2053,7 @@
|
|
|
2115
2053
|
}
|
|
2116
2054
|
return /* @__PURE__ */ React.createElement(
|
|
2117
2055
|
antd.Modal,
|
|
2118
|
-
__spreadProps$
|
|
2056
|
+
__spreadProps$3(__spreadValues$6({
|
|
2119
2057
|
maskClosable,
|
|
2120
2058
|
className: cs(
|
|
2121
2059
|
className,
|
|
@@ -2150,7 +2088,7 @@
|
|
|
2150
2088
|
prevText
|
|
2151
2089
|
), error && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", { className: "modal-error" }, error))), /* @__PURE__ */ React.createElement("div", { className: "modal-footer-btn-group" }, showCancel && /* @__PURE__ */ React.createElement(
|
|
2152
2090
|
Button,
|
|
2153
|
-
__spreadValues$
|
|
2091
|
+
__spreadValues$6({
|
|
2154
2092
|
type: "quiet",
|
|
2155
2093
|
onMouseDown: (e) => {
|
|
2156
2094
|
e.preventDefault();
|
|
@@ -2164,7 +2102,7 @@
|
|
|
2164
2102
|
cancelText
|
|
2165
2103
|
), showOk && /* @__PURE__ */ React.createElement(
|
|
2166
2104
|
Button,
|
|
2167
|
-
__spreadValues$
|
|
2105
|
+
__spreadValues$6({
|
|
2168
2106
|
onClick: (e) => {
|
|
2169
2107
|
var _a2, _b2;
|
|
2170
2108
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -2310,28 +2248,28 @@
|
|
|
2310
2248
|
}))));
|
|
2311
2249
|
};
|
|
2312
2250
|
|
|
2313
|
-
var __defProp$
|
|
2314
|
-
var __getOwnPropSymbols$
|
|
2315
|
-
var __hasOwnProp$
|
|
2316
|
-
var __propIsEnum$
|
|
2317
|
-
var __defNormalProp$
|
|
2251
|
+
var __defProp$5 = Object.defineProperty;
|
|
2252
|
+
var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
|
|
2253
|
+
var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
|
|
2254
|
+
var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
|
|
2255
|
+
var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, {
|
|
2318
2256
|
enumerable: true,
|
|
2319
2257
|
configurable: true,
|
|
2320
2258
|
writable: true,
|
|
2321
2259
|
value
|
|
2322
2260
|
}) : obj[key] = value;
|
|
2323
|
-
var __spreadValues$
|
|
2324
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2325
|
-
if (__getOwnPropSymbols$
|
|
2326
|
-
if (__propIsEnum$
|
|
2261
|
+
var __spreadValues$5 = (a, b) => {
|
|
2262
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
2263
|
+
if (__getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(b)) {
|
|
2264
|
+
if (__propIsEnum$5.call(b, prop)) __defNormalProp$5(a, prop, b[prop]);
|
|
2327
2265
|
}
|
|
2328
2266
|
return a;
|
|
2329
2267
|
};
|
|
2330
2268
|
var __objRest$3 = (source, exclude) => {
|
|
2331
2269
|
var target = {};
|
|
2332
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2333
|
-
if (source != null && __getOwnPropSymbols$
|
|
2334
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2270
|
+
for (var prop in source) if (__hasOwnProp$5.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2271
|
+
if (source != null && __getOwnPropSymbols$5) for (var prop of __getOwnPropSymbols$5(source)) {
|
|
2272
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$5.call(source, prop)) target[prop] = source[prop];
|
|
2335
2273
|
}
|
|
2336
2274
|
return target;
|
|
2337
2275
|
};
|
|
@@ -2357,7 +2295,7 @@
|
|
|
2357
2295
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
2358
2296
|
}, description));
|
|
2359
2297
|
}
|
|
2360
|
-
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Radio, __spreadValues$
|
|
2298
|
+
return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement(antd.Radio, __spreadValues$5({
|
|
2361
2299
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
2362
2300
|
checked: checked || false,
|
|
2363
2301
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -2375,7 +2313,7 @@
|
|
|
2375
2313
|
disabled: props.disabled,
|
|
2376
2314
|
name: props.name
|
|
2377
2315
|
}
|
|
2378
|
-
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$
|
|
2316
|
+
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$5({
|
|
2379
2317
|
className: core.cx(className, RadioGroupStyle)
|
|
2380
2318
|
}, props), children ? children : null));
|
|
2381
2319
|
};
|
|
@@ -2431,36 +2369,36 @@
|
|
|
2431
2369
|
className: "ant-radio-button-input-label"
|
|
2432
2370
|
}, typeof children === "string" ? children : ""));
|
|
2433
2371
|
};
|
|
2434
|
-
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$
|
|
2372
|
+
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$5({
|
|
2435
2373
|
className: core.cx(className, RadioButtonStyle),
|
|
2436
2374
|
value: radioButtonValue
|
|
2437
2375
|
}, props), renderChildren());
|
|
2438
2376
|
};
|
|
2439
2377
|
|
|
2440
|
-
var __defProp$
|
|
2441
|
-
var __getOwnPropSymbols$
|
|
2442
|
-
var __hasOwnProp$
|
|
2443
|
-
var __propIsEnum$
|
|
2444
|
-
var __defNormalProp$
|
|
2445
|
-
var __spreadValues$
|
|
2378
|
+
var __defProp$4 = Object.defineProperty;
|
|
2379
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
2380
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
2381
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
2382
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2383
|
+
var __spreadValues$4 = (a, b) => {
|
|
2446
2384
|
for (var prop in b || (b = {}))
|
|
2447
|
-
if (__hasOwnProp$
|
|
2448
|
-
__defNormalProp$
|
|
2449
|
-
if (__getOwnPropSymbols$
|
|
2450
|
-
for (var prop of __getOwnPropSymbols$
|
|
2451
|
-
if (__propIsEnum$
|
|
2452
|
-
__defNormalProp$
|
|
2385
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
2386
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
2387
|
+
if (__getOwnPropSymbols$4)
|
|
2388
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
2389
|
+
if (__propIsEnum$4.call(b, prop))
|
|
2390
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
2453
2391
|
}
|
|
2454
2392
|
return a;
|
|
2455
2393
|
};
|
|
2456
2394
|
var __objRest$2 = (source, exclude) => {
|
|
2457
2395
|
var target = {};
|
|
2458
2396
|
for (var prop in source)
|
|
2459
|
-
if (__hasOwnProp$
|
|
2397
|
+
if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2460
2398
|
target[prop] = source[prop];
|
|
2461
|
-
if (source != null && __getOwnPropSymbols$
|
|
2462
|
-
for (var prop of __getOwnPropSymbols$
|
|
2463
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2399
|
+
if (source != null && __getOwnPropSymbols$4)
|
|
2400
|
+
for (var prop of __getOwnPropSymbols$4(source)) {
|
|
2401
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
|
|
2464
2402
|
target[prop] = source[prop];
|
|
2465
2403
|
}
|
|
2466
2404
|
return target;
|
|
@@ -2470,7 +2408,7 @@
|
|
|
2470
2408
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
2471
2409
|
return /* @__PURE__ */ React.createElement(
|
|
2472
2410
|
Input,
|
|
2473
|
-
__spreadValues$
|
|
2411
|
+
__spreadValues$4({
|
|
2474
2412
|
style: { width: 276 },
|
|
2475
2413
|
prefix: /* @__PURE__ */ React.createElement(icons.SearchOutlined, null),
|
|
2476
2414
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -2626,26 +2564,26 @@
|
|
|
2626
2564
|
}));
|
|
2627
2565
|
};
|
|
2628
2566
|
|
|
2629
|
-
var __defProp$
|
|
2630
|
-
var __defProps$
|
|
2631
|
-
var __getOwnPropDescs$
|
|
2632
|
-
var __getOwnPropSymbols$
|
|
2633
|
-
var __hasOwnProp$
|
|
2634
|
-
var __propIsEnum$
|
|
2635
|
-
var __defNormalProp$
|
|
2567
|
+
var __defProp$3 = Object.defineProperty;
|
|
2568
|
+
var __defProps$2 = Object.defineProperties;
|
|
2569
|
+
var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
|
|
2570
|
+
var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
|
|
2571
|
+
var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
|
|
2572
|
+
var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
|
|
2573
|
+
var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
|
|
2636
2574
|
enumerable: true,
|
|
2637
2575
|
configurable: true,
|
|
2638
2576
|
writable: true,
|
|
2639
2577
|
value
|
|
2640
2578
|
}) : obj[key] = value;
|
|
2641
|
-
var __spreadValues$
|
|
2642
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2643
|
-
if (__getOwnPropSymbols$
|
|
2644
|
-
if (__propIsEnum$
|
|
2579
|
+
var __spreadValues$3 = (a, b) => {
|
|
2580
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
2581
|
+
if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
|
|
2582
|
+
if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
|
|
2645
2583
|
}
|
|
2646
2584
|
return a;
|
|
2647
2585
|
};
|
|
2648
|
-
var __spreadProps$
|
|
2586
|
+
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
2649
2587
|
const TableContainerStyle = "t1upn1sz";
|
|
2650
2588
|
const tableStyleCover = "tta5kd2";
|
|
2651
2589
|
const Table = props => {
|
|
@@ -2684,7 +2622,7 @@
|
|
|
2684
2622
|
},
|
|
2685
2623
|
dataSource: dataSource || [],
|
|
2686
2624
|
pagination: pagination || false,
|
|
2687
|
-
columns: columns.map(column => column.sorter ? __spreadProps$
|
|
2625
|
+
columns: columns.map(column => column.sorter ? __spreadProps$2(__spreadValues$3({}, column), {
|
|
2688
2626
|
title: /* @__PURE__ */React.createElement(ColumnTitle, {
|
|
2689
2627
|
title: column.title,
|
|
2690
2628
|
sortOrder: column.sortOrder
|
|
@@ -2705,7 +2643,7 @@
|
|
|
2705
2643
|
}),
|
|
2706
2644
|
rowClassName,
|
|
2707
2645
|
scroll,
|
|
2708
|
-
rowSelection: rowSelection && __spreadProps$
|
|
2646
|
+
rowSelection: rowSelection && __spreadProps$2(__spreadValues$3({}, rowSelection), {
|
|
2709
2647
|
columnWidth: 32
|
|
2710
2648
|
}),
|
|
2711
2649
|
showSorterTooltip: false
|
|
@@ -2819,33 +2757,33 @@
|
|
|
2819
2757
|
}, /* @__PURE__ */React.createElement("span", null, timeZone.text, ", ", timeZone.abbr)));
|
|
2820
2758
|
};
|
|
2821
2759
|
|
|
2822
|
-
var __defProp$
|
|
2823
|
-
var __defProps = Object.defineProperties;
|
|
2824
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2825
|
-
var __getOwnPropSymbols$
|
|
2826
|
-
var __hasOwnProp$
|
|
2827
|
-
var __propIsEnum$
|
|
2828
|
-
var __defNormalProp$
|
|
2829
|
-
var __spreadValues$
|
|
2760
|
+
var __defProp$2 = Object.defineProperty;
|
|
2761
|
+
var __defProps$1 = Object.defineProperties;
|
|
2762
|
+
var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
|
|
2763
|
+
var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
|
|
2764
|
+
var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
|
|
2765
|
+
var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
|
|
2766
|
+
var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2767
|
+
var __spreadValues$2 = (a, b) => {
|
|
2830
2768
|
for (var prop in b || (b = {}))
|
|
2831
|
-
if (__hasOwnProp$
|
|
2832
|
-
__defNormalProp$
|
|
2833
|
-
if (__getOwnPropSymbols$
|
|
2834
|
-
for (var prop of __getOwnPropSymbols$
|
|
2835
|
-
if (__propIsEnum$
|
|
2836
|
-
__defNormalProp$
|
|
2769
|
+
if (__hasOwnProp$2.call(b, prop))
|
|
2770
|
+
__defNormalProp$2(a, prop, b[prop]);
|
|
2771
|
+
if (__getOwnPropSymbols$2)
|
|
2772
|
+
for (var prop of __getOwnPropSymbols$2(b)) {
|
|
2773
|
+
if (__propIsEnum$2.call(b, prop))
|
|
2774
|
+
__defNormalProp$2(a, prop, b[prop]);
|
|
2837
2775
|
}
|
|
2838
2776
|
return a;
|
|
2839
2777
|
};
|
|
2840
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
2778
|
+
var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
|
|
2841
2779
|
var __objRest$1 = (source, exclude) => {
|
|
2842
2780
|
var target = {};
|
|
2843
2781
|
for (var prop in source)
|
|
2844
|
-
if (__hasOwnProp$
|
|
2782
|
+
if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2845
2783
|
target[prop] = source[prop];
|
|
2846
|
-
if (source != null && __getOwnPropSymbols$
|
|
2847
|
-
for (var prop of __getOwnPropSymbols$
|
|
2848
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
2784
|
+
if (source != null && __getOwnPropSymbols$2)
|
|
2785
|
+
for (var prop of __getOwnPropSymbols$2(source)) {
|
|
2786
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))
|
|
2849
2787
|
target[prop] = source[prop];
|
|
2850
2788
|
}
|
|
2851
2789
|
return target;
|
|
@@ -2899,10 +2837,10 @@
|
|
|
2899
2837
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
2900
2838
|
return /* @__PURE__ */ React.createElement(
|
|
2901
2839
|
antd.Tooltip,
|
|
2902
|
-
__spreadProps(__spreadValues$
|
|
2840
|
+
__spreadProps$1(__spreadValues$2({}, restProps), {
|
|
2903
2841
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
2904
2842
|
children: _children,
|
|
2905
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
2843
|
+
overlayStyle: followMouse ? __spreadValues$2({
|
|
2906
2844
|
transform: "translate(-50%, -100%)",
|
|
2907
2845
|
pointerEvents: "none"
|
|
2908
2846
|
}, overlayStyle) : overlayStyle
|
|
@@ -2956,28 +2894,28 @@
|
|
|
2956
2894
|
}
|
|
2957
2895
|
const antdKit = getAntdKit();
|
|
2958
2896
|
|
|
2959
|
-
var __defProp = Object.defineProperty;
|
|
2960
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
2961
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
2962
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
2963
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
2897
|
+
var __defProp$1 = Object.defineProperty;
|
|
2898
|
+
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
2899
|
+
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
2900
|
+
var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
|
|
2901
|
+
var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
|
|
2964
2902
|
enumerable: true,
|
|
2965
2903
|
configurable: true,
|
|
2966
2904
|
writable: true,
|
|
2967
2905
|
value
|
|
2968
2906
|
}) : obj[key] = value;
|
|
2969
|
-
var __spreadValues = (a, b) => {
|
|
2970
|
-
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
2971
|
-
if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) {
|
|
2972
|
-
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
2907
|
+
var __spreadValues$1 = (a, b) => {
|
|
2908
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
|
|
2909
|
+
if (__getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(b)) {
|
|
2910
|
+
if (__propIsEnum$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
|
|
2973
2911
|
}
|
|
2974
2912
|
return a;
|
|
2975
2913
|
};
|
|
2976
2914
|
var __objRest = (source, exclude) => {
|
|
2977
2915
|
var target = {};
|
|
2978
|
-
for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2979
|
-
if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) {
|
|
2980
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop];
|
|
2916
|
+
for (var prop in source) if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
2917
|
+
if (source != null && __getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(source)) {
|
|
2918
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop)) target[prop] = source[prop];
|
|
2981
2919
|
}
|
|
2982
2920
|
return target;
|
|
2983
2921
|
};
|
|
@@ -3021,7 +2959,7 @@
|
|
|
3021
2959
|
style: {
|
|
3022
2960
|
cursor: "not-allowed"
|
|
3023
2961
|
}
|
|
3024
|
-
}, /* @__PURE__ */React.createElement(Button, __spreadValues({
|
|
2962
|
+
}, /* @__PURE__ */React.createElement(Button, __spreadValues$1({
|
|
3025
2963
|
style: {
|
|
3026
2964
|
pointerEvents: "none"
|
|
3027
2965
|
},
|
|
@@ -3031,7 +2969,7 @@
|
|
|
3031
2969
|
ghost,
|
|
3032
2970
|
className: core.cx(ButtonStyle, className2),
|
|
3033
2971
|
prefixIcon: icon
|
|
3034
|
-
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues({
|
|
2972
|
+
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$1({
|
|
3035
2973
|
type,
|
|
3036
2974
|
size,
|
|
3037
2975
|
danger,
|
|
@@ -3040,7 +2978,7 @@
|
|
|
3040
2978
|
prefixIcon: icon
|
|
3041
2979
|
}, buttonPropArgs)));
|
|
3042
2980
|
}
|
|
3043
|
-
return /* @__PURE__ */React.createElement(Button, __spreadValues({
|
|
2981
|
+
return /* @__PURE__ */React.createElement(Button, __spreadValues$1({
|
|
3044
2982
|
key: key || index,
|
|
3045
2983
|
type,
|
|
3046
2984
|
size,
|
|
@@ -3106,6 +3044,45 @@
|
|
|
3106
3044
|
return dayjs(tick).format("MM/DD");
|
|
3107
3045
|
};
|
|
3108
3046
|
|
|
3047
|
+
var __defProp = Object.defineProperty;
|
|
3048
|
+
var __defProps = Object.defineProperties;
|
|
3049
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3050
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3051
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3052
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
3053
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3054
|
+
var __spreadValues = (a, b) => {
|
|
3055
|
+
for (var prop in b || (b = {}))
|
|
3056
|
+
if (__hasOwnProp.call(b, prop))
|
|
3057
|
+
__defNormalProp(a, prop, b[prop]);
|
|
3058
|
+
if (__getOwnPropSymbols)
|
|
3059
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
3060
|
+
if (__propIsEnum.call(b, prop))
|
|
3061
|
+
__defNormalProp(a, prop, b[prop]);
|
|
3062
|
+
}
|
|
3063
|
+
return a;
|
|
3064
|
+
};
|
|
3065
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
3066
|
+
const ModalStack = () => {
|
|
3067
|
+
const stack = useKitSelector(
|
|
3068
|
+
(state) => state.modal.stack
|
|
3069
|
+
);
|
|
3070
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, stack.map((modal) => /* @__PURE__ */ React.createElement(
|
|
3071
|
+
modal.component,
|
|
3072
|
+
__spreadProps(__spreadValues({}, modal.props), {
|
|
3073
|
+
modalId: modal.id,
|
|
3074
|
+
onClose: () => {
|
|
3075
|
+
var _a;
|
|
3076
|
+
if ((_a = modal.props) == null ? void 0 : _a.onClose) {
|
|
3077
|
+
modal.props.onClose();
|
|
3078
|
+
}
|
|
3079
|
+
closeModal(modal.id);
|
|
3080
|
+
},
|
|
3081
|
+
key: modal.id
|
|
3082
|
+
})
|
|
3083
|
+
)));
|
|
3084
|
+
};
|
|
3085
|
+
|
|
3109
3086
|
var Architecture = /* @__PURE__ */ ((Architecture2) => {
|
|
3110
3087
|
Architecture2["Aarch64"] = "AARCH64";
|
|
3111
3088
|
Architecture2["X86_64"] = "X86_64";
|
|
@@ -3153,6 +3130,8 @@
|
|
|
3153
3130
|
exports.EntityAsyncStatus = EntityAsyncStatus;
|
|
3154
3131
|
exports.FailedLoad = FailedLoad;
|
|
3155
3132
|
exports.KitStoreProvider = KitStoreProvider;
|
|
3133
|
+
exports.ModalActions = ModalActions;
|
|
3134
|
+
exports.ModalStack = ModalStack;
|
|
3156
3135
|
exports.PAGINATION_SELECTOR = PAGINATION_SELECTOR;
|
|
3157
3136
|
exports.TABLE_WRAPPER_SELECTOR = TABLE_WRAPPER_SELECTOR;
|
|
3158
3137
|
exports.TBODY_SELECTOR = TBODY_SELECTOR;
|
|
@@ -3160,6 +3139,7 @@
|
|
|
3160
3139
|
exports.TaskStatus = TaskStatus;
|
|
3161
3140
|
exports.Typo = Typo;
|
|
3162
3141
|
exports.UIKitProvider = UIKitProvider;
|
|
3142
|
+
exports.UIKitStore = UIKitStore;
|
|
3163
3143
|
exports.UserSource = UserSource;
|
|
3164
3144
|
exports.antdKit = antdKit;
|
|
3165
3145
|
exports.closeModal = closeModal;
|