@cloudtower/eagle 0.22.8 → 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/TableWidget.d.ts +0 -40
- package/dist/components/Table/index.d.ts +1 -3
- package/dist/components/index.d.ts +0 -2
- package/dist/esm/index.js +864 -1039
- package/dist/esm/stats1.html +1 -1
- package/dist/hooks/index.d.ts +0 -5
- package/dist/index.d.ts +4 -4
- package/dist/spec/base.d.ts +13 -0
- package/dist/store/index.d.ts +3 -8
- package/dist/style.css +168 -192
- package/dist/umd/index.js +869 -1040
- package/dist/umd/stats1.html +1 -1
- package/dist/utils/index.d.ts +0 -2
- package/package.json +4 -6
- package/dist/components/Table/SidebarTable.d.ts +0 -7
- package/dist/components/Table/TableSelection.d.ts +0 -27
- package/dist/components/TowerTable/TableEmpty.d.ts +0 -7
- package/dist/components/TowerTable/TablePagination.d.ts +0 -9
- package/dist/components/TowerTable/WrapperComponent.d.ts +0 -7
- package/dist/components/TowerTable/index.d.ts +0 -42
- package/dist/hooks/useHistory.d.ts +0 -2
- package/dist/hooks/useMatchMediaQueries.d.ts +0 -10
- package/dist/hooks/useSearch.d.ts +0 -12
- package/dist/utils/history.d.ts +0 -1
- package/dist/utils/router.d.ts +0 -34
package/dist/umd/index.js
CHANGED
|
@@ -1,8 +1,306 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('antd'), require('classnames'), require('react'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'antd', 'classnames', 'react', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.antd, global.cs, global.React, global.
|
|
5
|
-
})(this, (function (exports, antd, cs, React,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('antd'), require('classnames'), require('react'), require('lodash'), require('moment'), require('react-dom'), require('react-is'), require('@linaria/react'), require('@ant-design/icons'), require('@cloudtower/parrot'), require('redux'), require('react-redux'), require('@linaria/core'), require('rc-util/lib/getScrollBarSize'), require('timezones.json'), require('react-i18next'), require('dayjs'), require('recharts')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'antd', 'classnames', 'react', 'lodash', 'moment', 'react-dom', 'react-is', '@linaria/react', '@ant-design/icons', '@cloudtower/parrot', 'redux', 'react-redux', '@linaria/core', 'rc-util/lib/getScrollBarSize', 'timezones.json', 'react-i18next', 'dayjs', 'recharts'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}, global.antd, global.cs, global.React, global._, global.moment, global.reactDom, global.reactIs, global.react, global.icons, global.parrot, global.redux, global.reactRedux, global.core, null, global.TimeZones, global.reactI18next, global.dayjs));
|
|
5
|
+
})(this, (function (exports, antd, cs, React, _, moment, reactDom, reactIs, react, icons, parrot, redux, reactRedux, core, getScrollBarSize, TimeZones, reactI18next, dayjs) { 'use strict';
|
|
6
|
+
|
|
7
|
+
const SECOND = 1;
|
|
8
|
+
const MINUTE = 60 * SECOND;
|
|
9
|
+
const HOUR = 60 * MINUTE;
|
|
10
|
+
const DAY = 24 * HOUR;
|
|
11
|
+
|
|
12
|
+
const EMPTY_FUNCTION = () => {
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
function getSize(el) {
|
|
16
|
+
if (!el) {
|
|
17
|
+
return {
|
|
18
|
+
width: 0,
|
|
19
|
+
height: 0
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
width: el.offsetWidth,
|
|
24
|
+
height: el.offsetHeight
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
var img$9 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.11092 7.0535C3.91566 6.85824 3.91566 6.54166 4.11092 6.3464C4.30619 6.15114 4.62277 6.15114 4.81803 6.3464L8.00001 9.52838L8.35226 9.17613L8.35356 9.17482L11.182 6.3464C11.3773 6.15114 11.6938 6.15114 11.8891 6.3464C12.0844 6.54166 12.0844 6.85824 11.8891 7.0535L10.4408 8.50184C10.4288 8.51384 10.4166 8.52604 10.4042 8.53843L9.13138 9.81122C9.11899 9.82361 9.1068 9.83581 9.09479 9.84781L9.06067 9.88193L9.057 9.88556C8.70964 10.2323 8.5226 10.41 8.30903 10.4794C8.10819 10.5447 7.89184 10.5447 7.691 10.4794C7.47748 10.4101 7.29048 10.2324 6.94327 9.88581L6.93935 9.88193L4.11092 7.0535Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
29
|
+
|
|
30
|
+
var img$8 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.11092 7.0535C3.91566 6.85824 3.91566 6.54166 4.11092 6.3464C4.30619 6.15114 4.62277 6.15114 4.81803 6.3464L8.00001 9.52838L8.35226 9.17613L8.35356 9.17482L11.182 6.3464C11.3773 6.15114 11.6938 6.15114 11.8891 6.3464C12.0844 6.54166 12.0844 6.85824 11.8891 7.0535L10.4408 8.50184C10.4288 8.51384 10.4166 8.52604 10.4042 8.53843L9.13138 9.81122C9.11899 9.82361 9.1068 9.83581 9.09479 9.84781L9.06067 9.88193L9.057 9.88556C8.70964 10.2323 8.5226 10.41 8.30903 10.4794C8.10819 10.5447 7.89184 10.5447 7.691 10.4794C7.47748 10.4101 7.29048 10.2324 6.94327 9.88581L6.93935 9.88193L4.11092 7.0535Z' fill='%232C3852' fill-opacity='0.6'/%3e%3c/svg%3e";
|
|
31
|
+
|
|
32
|
+
var img$7 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.06067 3.75725C9.45119 3.36672 10.0844 3.36672 10.4749 3.75725C10.8654 4.14777 10.8654 4.78094 10.4749 5.17146L7.64645 7.99989L10.4749 10.8283C10.8654 11.2188 10.8654 11.852 10.4749 12.2425C10.0844 12.6331 9.45119 12.6331 9.06067 12.2425L5.9494 9.13126C5.55338 8.73524 5.35537 8.53723 5.28118 8.30891C5.21592 8.10806 5.21592 7.89172 5.28118 7.69087C5.35537 7.46254 5.55338 7.26454 5.9494 6.86852L9.06067 3.75725Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
33
|
+
|
|
34
|
+
var img$6 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.05028 9.4142L6.86865 5.59582C6.87513 5.58934 6.88156 5.58292 6.88793 5.57655C7.27116 5.19336 7.46641 5.00058 7.69101 4.92761C7.89185 4.86235 8.1082 4.86235 8.30904 4.92761C8.53737 5.00179 8.73538 5.1998 9.1314 5.59582L12.9498 9.4142C13.3403 9.80472 13.3403 10.4379 12.9498 10.8284C12.5592 11.2189 11.9261 11.2189 11.5356 10.8284L8.00003 7.29288L4.46449 10.8284C4.07397 11.2189 3.4408 11.2189 3.05028 10.8284C2.65975 10.4379 2.65975 9.80472 3.05028 9.4142Z' fill='%232C3852' fill-opacity='0.6'/%3e%3c/svg%3e";
|
|
35
|
+
|
|
36
|
+
var img$5 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5ZM11.134 6.56615C11.3346 6.28527 11.2696 5.89493 10.9887 5.6943C10.7078 5.49367 10.3175 5.55872 10.1168 5.83961L7.26389 9.83372L5.81653 8.38635C5.57245 8.14227 5.17672 8.14227 4.93265 8.38635C4.68857 8.63043 4.68857 9.02616 4.93265 9.27023L6.90171 11.2393C7.03162 11.3692 7.2121 11.4354 7.3952 11.4202C7.57829 11.4051 7.74545 11.3101 7.85223 11.1606L11.134 6.56615Z' fill='%2300BA5D'/%3e%3c/svg%3e";
|
|
37
|
+
|
|
38
|
+
var img$4 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.81662 7.33209C10.1545 7.55506 10.3235 7.66655 10.3822 7.80742C10.4336 7.93055 10.4336 8.0691 10.3822 8.19224C10.3235 8.33311 10.1545 8.4446 9.81662 8.66757L6.81921 10.6454C6.4159 10.9115 6.21424 11.0445 6.04715 11.034C5.90158 11.0248 5.76727 10.9525 5.67943 10.8361C5.57861 10.7024 5.57861 10.4608 5.57861 9.97761L5.57861 6.02205C5.57861 5.53885 5.57861 5.29726 5.67943 5.16359C5.76727 5.04714 5.90158 4.97485 6.04715 4.96567C6.21424 4.95513 6.4159 5.08819 6.81921 5.35431L9.81662 7.33209Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
39
|
+
|
|
40
|
+
var img$3 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5ZM8.75 11.5C8.75 11.9142 8.41421 12.25 8 12.25C7.58579 12.25 7.25 11.9142 7.25 11.5V7.99812C7.25 7.58391 7.58579 7.24812 8 7.24812C8.41421 7.24812 8.75 7.58391 8.75 7.99812V11.5ZM8.875 5.125C8.875 5.60825 8.48325 6 8 6C7.51675 6 7.125 5.60825 7.125 5.125C7.125 4.64175 7.51675 4.25 8 4.25C8.48325 4.25 8.875 4.64175 8.875 5.125Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
41
|
+
|
|
42
|
+
var img$2 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5ZM8.75 11.5C8.75 11.9142 8.41421 12.25 8 12.25C7.58579 12.25 7.25 11.9142 7.25 11.5V7.99812C7.25 7.58391 7.58579 7.24812 8 7.24812C8.41421 7.24812 8.75 7.58391 8.75 7.99812V11.5ZM8.875 5.125C8.875 5.60825 8.48325 6 8 6C7.51675 6 7.125 5.60825 7.125 5.125C7.125 4.64175 7.51675 4.25 8 4.25C8.48325 4.25 8.875 4.64175 8.875 5.125Z' fill='%232C3852' fill-opacity='0.6'/%3e%3c/svg%3e";
|
|
43
|
+
|
|
44
|
+
var img$1 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.60245 1.88247C7.31193 2.00834 7.08625 2.37752 6.63487 3.11589L1.69402 11.1983C1.20753 11.9941 0.964285 12.392 0.992929 12.7198C1.0179 13.0056 1.16444 13.267 1.39527 13.4373C1.66005 13.6328 2.12641 13.6328 3.05915 13.6328H12.9408C13.8736 13.6328 14.34 13.6328 14.6047 13.4373C14.8356 13.267 14.9821 13.0056 15.0071 12.7198C15.0357 12.392 14.7925 11.9941 14.306 11.1983L9.36513 3.11589C8.91375 2.37752 8.68807 2.00834 8.39755 1.88247C8.14391 1.77258 7.85609 1.77258 7.60245 1.88247ZM7.25 5.38278C7.25 4.96856 7.58579 4.63278 8 4.63278C8.41421 4.63278 8.75 4.96856 8.75 5.38278V9.38278C8.75 9.79699 8.41421 10.1328 8 10.1328C7.58579 10.1328 7.25 9.79699 7.25 9.38278V5.38278ZM7.125 11.7578C7.125 11.2745 7.51675 10.8828 8 10.8828C8.48325 10.8828 8.875 11.2745 8.875 11.7578C8.875 12.241 8.48325 12.6328 8 12.6328C7.51675 12.6328 7.125 12.241 7.125 11.7578Z' fill='%23FEA008'/%3e%3c/svg%3e";
|
|
45
|
+
|
|
46
|
+
var img = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.47964 2.70117L2.70108 4.47973C2.35518 4.82563 2.18223 4.99859 2.05854 5.20042C1.94889 5.37936 1.86808 5.57445 1.81908 5.77853C1.76382 6.0087 1.76382 6.25329 1.76382 6.74247V9.25773C1.76382 9.74691 1.76382 9.9915 1.81908 10.2217C1.86808 10.4258 1.94889 10.6208 2.05854 10.7998C2.18223 11.0016 2.35518 11.1746 2.70108 11.5205L4.47964 13.299C4.82554 13.6449 4.9985 13.8179 5.20033 13.9416C5.37927 14.0512 5.57436 14.132 5.77843 14.181C6.00861 14.2363 6.2532 14.2363 6.74238 14.2363H9.25764C9.74682 14.2363 9.99141 14.2363 10.2216 14.181C10.4257 14.132 10.6207 14.0512 10.7997 13.9416C11.0015 13.8179 11.1745 13.6449 11.5204 13.299L13.2989 11.5205C13.6448 11.1746 13.8178 11.0016 13.9415 10.7998C14.0511 10.6208 14.1319 10.4258 14.1809 10.2217C14.2362 9.9915 14.2362 9.74691 14.2362 9.25773V6.74247C14.2362 6.25329 14.2362 6.0087 14.1809 5.77853C14.1319 5.57445 14.0511 5.37936 13.9415 5.20042C13.8178 4.99859 13.6448 4.82563 13.2989 4.47973L11.5204 2.70117C11.1745 2.35527 11.0015 2.18232 10.7997 2.05864C10.6207 1.94898 10.4257 1.86817 10.2216 1.81918C9.99141 1.76392 9.74682 1.76392 9.25764 1.76392H6.74238C6.2532 1.76392 6.00861 1.76392 5.77843 1.81918C5.57436 1.86817 5.37927 1.94898 5.20033 2.05864C4.99849 2.18232 4.82554 2.35527 4.47964 2.70117ZM9.94454 5.17157C10.1886 4.92749 10.5843 4.92749 10.8284 5.17157C11.0725 5.41564 11.0725 5.81137 10.8284 6.05545L8.88389 7.99998L10.8285 9.94457C11.0726 10.1886 11.0726 10.5844 10.8285 10.8284C10.5844 11.0725 10.1887 11.0725 9.9446 10.8284L8.00001 8.88386L6.05545 10.8284C5.81138 11.0725 5.41565 11.0725 5.17157 10.8284C4.92749 10.5843 4.92749 10.1886 5.17157 9.94454L7.11613 7.99998L5.17162 6.05548C4.92755 5.8114 4.92755 5.41567 5.17162 5.17159C5.4157 4.92752 5.81143 4.92752 6.05551 5.17159L8.00001 7.1161L9.94454 5.17157Z' fill='%23F0483E'/%3e%3c/svg%3e";
|
|
47
|
+
|
|
48
|
+
function getAlertIcon(type) {
|
|
49
|
+
switch (type) {
|
|
50
|
+
case "success":
|
|
51
|
+
return img$5;
|
|
52
|
+
case "info":
|
|
53
|
+
return img$3;
|
|
54
|
+
case "warning":
|
|
55
|
+
return img$1;
|
|
56
|
+
case "error":
|
|
57
|
+
return img;
|
|
58
|
+
case "normal":
|
|
59
|
+
return img$2;
|
|
60
|
+
default:
|
|
61
|
+
return img$2;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var __defProp$s = Object.defineProperty;
|
|
66
|
+
var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
|
|
67
|
+
var __hasOwnProp$t = Object.prototype.hasOwnProperty;
|
|
68
|
+
var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
|
|
69
|
+
var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
70
|
+
var __spreadValues$s = (a, b) => {
|
|
71
|
+
for (var prop in b || (b = {}))
|
|
72
|
+
if (__hasOwnProp$t.call(b, prop))
|
|
73
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
74
|
+
if (__getOwnPropSymbols$t)
|
|
75
|
+
for (var prop of __getOwnPropSymbols$t(b)) {
|
|
76
|
+
if (__propIsEnum$t.call(b, prop))
|
|
77
|
+
__defNormalProp$s(a, prop, b[prop]);
|
|
78
|
+
}
|
|
79
|
+
return a;
|
|
80
|
+
};
|
|
81
|
+
var __objRest$o = (source, exclude) => {
|
|
82
|
+
var target = {};
|
|
83
|
+
for (var prop in source)
|
|
84
|
+
if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
85
|
+
target[prop] = source[prop];
|
|
86
|
+
if (source != null && __getOwnPropSymbols$t)
|
|
87
|
+
for (var prop of __getOwnPropSymbols$t(source)) {
|
|
88
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop))
|
|
89
|
+
target[prop] = source[prop];
|
|
90
|
+
}
|
|
91
|
+
return target;
|
|
92
|
+
};
|
|
93
|
+
const BaseIcon = React.forwardRef(
|
|
94
|
+
(props, ref) => {
|
|
95
|
+
const _a = props, {
|
|
96
|
+
alt,
|
|
97
|
+
className,
|
|
98
|
+
width,
|
|
99
|
+
height,
|
|
100
|
+
cursor,
|
|
101
|
+
style,
|
|
102
|
+
children,
|
|
103
|
+
prefixNode,
|
|
104
|
+
suffixIconSrc,
|
|
105
|
+
src
|
|
106
|
+
} = _a, HTMLSpanElementProps = __objRest$o(_a, [
|
|
107
|
+
"alt",
|
|
108
|
+
"className",
|
|
109
|
+
"width",
|
|
110
|
+
"height",
|
|
111
|
+
"cursor",
|
|
112
|
+
"style",
|
|
113
|
+
"children",
|
|
114
|
+
"prefixNode",
|
|
115
|
+
"suffixIconSrc",
|
|
116
|
+
"src"
|
|
117
|
+
]);
|
|
118
|
+
return /* @__PURE__ */ React.createElement(
|
|
119
|
+
"span",
|
|
120
|
+
__spreadValues$s({
|
|
121
|
+
ref,
|
|
122
|
+
className,
|
|
123
|
+
style: _.pickBy(__spreadValues$s({ cursor }, style))
|
|
124
|
+
}, HTMLSpanElementProps),
|
|
125
|
+
prefixNode,
|
|
126
|
+
/* @__PURE__ */ React.createElement("span", { className: "icon-inner" }, /* @__PURE__ */ React.createElement("img", { alt, src, width, height })),
|
|
127
|
+
children && /* @__PURE__ */ React.createElement("span", { className: "icon-children" }, children),
|
|
128
|
+
suffixIconSrc && /* @__PURE__ */ React.createElement("span", { className: "icon-inner suffix" }, /* @__PURE__ */ React.createElement("img", { alt, src: suffixIconSrc, width, height }))
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
);
|
|
132
|
+
|
|
133
|
+
var __defProp$r = Object.defineProperty;
|
|
134
|
+
var __defProps$k = Object.defineProperties;
|
|
135
|
+
var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
|
|
136
|
+
var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
|
|
137
|
+
var __hasOwnProp$s = Object.prototype.hasOwnProperty;
|
|
138
|
+
var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
|
|
139
|
+
var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
configurable: true,
|
|
142
|
+
writable: true,
|
|
143
|
+
value
|
|
144
|
+
}) : obj[key] = value;
|
|
145
|
+
var __spreadValues$r = (a, b) => {
|
|
146
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
147
|
+
if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
|
|
148
|
+
if (__propIsEnum$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
|
|
149
|
+
}
|
|
150
|
+
return a;
|
|
151
|
+
};
|
|
152
|
+
var __spreadProps$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
|
|
153
|
+
var __objRest$n = (source, exclude) => {
|
|
154
|
+
var target = {};
|
|
155
|
+
for (var prop in source) if (__hasOwnProp$s.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
156
|
+
if (source != null && __getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(source)) {
|
|
157
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop)) target[prop] = source[prop];
|
|
158
|
+
}
|
|
159
|
+
return target;
|
|
160
|
+
};
|
|
161
|
+
const IconWrapper = "i1mrf09m";
|
|
162
|
+
const Icon = React.forwardRef((props, ref) => {
|
|
163
|
+
const _a = props,
|
|
164
|
+
{
|
|
165
|
+
src,
|
|
166
|
+
hoverSrc,
|
|
167
|
+
active,
|
|
168
|
+
activeSrc,
|
|
169
|
+
onMouseEnter,
|
|
170
|
+
onMouseLeave,
|
|
171
|
+
onMouseMove,
|
|
172
|
+
className,
|
|
173
|
+
iconWidth = 16,
|
|
174
|
+
iconHeight,
|
|
175
|
+
cursor,
|
|
176
|
+
style,
|
|
177
|
+
children,
|
|
178
|
+
isRotate,
|
|
179
|
+
prefix,
|
|
180
|
+
suffix
|
|
181
|
+
} = _a,
|
|
182
|
+
restProps = __objRest$n(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "children", "isRotate", "prefix", "suffix"]);
|
|
183
|
+
const [hover, setHover] = React.useState(false);
|
|
184
|
+
const _src = React.useMemo(() => {
|
|
185
|
+
if (active && activeSrc) {
|
|
186
|
+
return activeSrc;
|
|
187
|
+
}
|
|
188
|
+
if (hover && hoverSrc) {
|
|
189
|
+
return hoverSrc;
|
|
190
|
+
}
|
|
191
|
+
return src;
|
|
192
|
+
}, [active, activeSrc, hover, hoverSrc, src]);
|
|
193
|
+
const suffixIconSrc = React.useMemo(() => {
|
|
194
|
+
if (!suffix) {
|
|
195
|
+
return void 0;
|
|
196
|
+
}
|
|
197
|
+
const {
|
|
198
|
+
activeSrc: activeSrc2,
|
|
199
|
+
hoverSrc: hoverSrc2,
|
|
200
|
+
src: src2
|
|
201
|
+
} = suffix;
|
|
202
|
+
if (active && activeSrc2) {
|
|
203
|
+
return activeSrc2;
|
|
204
|
+
}
|
|
205
|
+
if (hover && hoverSrc2) {
|
|
206
|
+
return hoverSrc2;
|
|
207
|
+
}
|
|
208
|
+
return src2;
|
|
209
|
+
}, [active, hover, suffix]);
|
|
210
|
+
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$k(__spreadValues$r({
|
|
211
|
+
src: _src,
|
|
212
|
+
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
213
|
+
suffixIconSrc,
|
|
214
|
+
height: iconHeight,
|
|
215
|
+
width: iconWidth,
|
|
216
|
+
prefixNode: prefix,
|
|
217
|
+
style: _.pickBy(__spreadValues$r({
|
|
218
|
+
cursor
|
|
219
|
+
}, style))
|
|
220
|
+
}, restProps), {
|
|
221
|
+
onMouseEnter: e => {
|
|
222
|
+
onMouseEnter == null ? void 0 : onMouseEnter(e);
|
|
223
|
+
if (hover) {
|
|
224
|
+
setHover(true);
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
onMouseMove: e => {
|
|
228
|
+
onMouseMove == null ? void 0 : onMouseMove(e);
|
|
229
|
+
if (hoverSrc) {
|
|
230
|
+
setHover(true);
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
onMouseLeave: e => {
|
|
234
|
+
onMouseLeave == null ? void 0 : onMouseLeave(e);
|
|
235
|
+
if (hoverSrc) {
|
|
236
|
+
setHover(false);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}));
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
var __defProp$q = Object.defineProperty;
|
|
243
|
+
var __defProps$j = Object.defineProperties;
|
|
244
|
+
var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
|
|
245
|
+
var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
|
|
246
|
+
var __hasOwnProp$r = Object.prototype.hasOwnProperty;
|
|
247
|
+
var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
|
|
248
|
+
var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
249
|
+
var __spreadValues$q = (a, b) => {
|
|
250
|
+
for (var prop in b || (b = {}))
|
|
251
|
+
if (__hasOwnProp$r.call(b, prop))
|
|
252
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
253
|
+
if (__getOwnPropSymbols$r)
|
|
254
|
+
for (var prop of __getOwnPropSymbols$r(b)) {
|
|
255
|
+
if (__propIsEnum$r.call(b, prop))
|
|
256
|
+
__defNormalProp$q(a, prop, b[prop]);
|
|
257
|
+
}
|
|
258
|
+
return a;
|
|
259
|
+
};
|
|
260
|
+
var __spreadProps$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
|
|
261
|
+
var __objRest$m = (source, exclude) => {
|
|
262
|
+
var target = {};
|
|
263
|
+
for (var prop in source)
|
|
264
|
+
if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
265
|
+
target[prop] = source[prop];
|
|
266
|
+
if (source != null && __getOwnPropSymbols$r)
|
|
267
|
+
for (var prop of __getOwnPropSymbols$r(source)) {
|
|
268
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
|
|
269
|
+
target[prop] = source[prop];
|
|
270
|
+
}
|
|
271
|
+
return target;
|
|
272
|
+
};
|
|
273
|
+
const Alert = (_a) => {
|
|
274
|
+
var _b = _a, {
|
|
275
|
+
type,
|
|
276
|
+
icon,
|
|
277
|
+
showIcon = true,
|
|
278
|
+
className,
|
|
279
|
+
onClose,
|
|
280
|
+
closeText
|
|
281
|
+
} = _b, props = __objRest$m(_b, [
|
|
282
|
+
"type",
|
|
283
|
+
"icon",
|
|
284
|
+
"showIcon",
|
|
285
|
+
"className",
|
|
286
|
+
"onClose",
|
|
287
|
+
"closeText"
|
|
288
|
+
]);
|
|
289
|
+
const _icon = /* @__PURE__ */ React.createElement(Icon, { src: getAlertIcon(type) });
|
|
290
|
+
const _type = type === "normal" ? "info" : type;
|
|
291
|
+
return /* @__PURE__ */ React.createElement(
|
|
292
|
+
antd.Alert,
|
|
293
|
+
__spreadProps$j(__spreadValues$q({}, props), {
|
|
294
|
+
className: cs(type ? `alert-${type}` : "", className),
|
|
295
|
+
type: _type,
|
|
296
|
+
icon: icon || _icon,
|
|
297
|
+
showIcon,
|
|
298
|
+
onClose,
|
|
299
|
+
closeText,
|
|
300
|
+
closable: !!onClose
|
|
301
|
+
})
|
|
302
|
+
);
|
|
303
|
+
};
|
|
6
304
|
|
|
7
305
|
const d1_bold_title = "d6j0lbj";
|
|
8
306
|
const d1s_bold_title = "d1xhvvxe";
|
|
@@ -139,28 +437,28 @@
|
|
|
139
437
|
return icon != null ? React.cloneElement(icon, { className }) : null;
|
|
140
438
|
};
|
|
141
439
|
|
|
142
|
-
var __defProp$
|
|
143
|
-
var __getOwnPropSymbols$
|
|
144
|
-
var __hasOwnProp$
|
|
145
|
-
var __propIsEnum$
|
|
146
|
-
var __defNormalProp$
|
|
440
|
+
var __defProp$p = Object.defineProperty;
|
|
441
|
+
var __getOwnPropSymbols$q = Object.getOwnPropertySymbols;
|
|
442
|
+
var __hasOwnProp$q = Object.prototype.hasOwnProperty;
|
|
443
|
+
var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
|
|
444
|
+
var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, {
|
|
147
445
|
enumerable: true,
|
|
148
446
|
configurable: true,
|
|
149
447
|
writable: true,
|
|
150
448
|
value
|
|
151
449
|
}) : obj[key] = value;
|
|
152
|
-
var __spreadValues$
|
|
153
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
154
|
-
if (__getOwnPropSymbols$
|
|
155
|
-
if (__propIsEnum$
|
|
450
|
+
var __spreadValues$p = (a, b) => {
|
|
451
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$q.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
452
|
+
if (__getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(b)) {
|
|
453
|
+
if (__propIsEnum$q.call(b, prop)) __defNormalProp$p(a, prop, b[prop]);
|
|
156
454
|
}
|
|
157
455
|
return a;
|
|
158
456
|
};
|
|
159
|
-
var __objRest$
|
|
457
|
+
var __objRest$l = (source, exclude) => {
|
|
160
458
|
var target = {};
|
|
161
|
-
for (var prop in source) if (__hasOwnProp$
|
|
162
|
-
if (source != null && __getOwnPropSymbols$
|
|
163
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
459
|
+
for (var prop in source) if (__hasOwnProp$q.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
460
|
+
if (source != null && __getOwnPropSymbols$q) for (var prop of __getOwnPropSymbols$q(source)) {
|
|
461
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop)) target[prop] = source[prop];
|
|
164
462
|
}
|
|
165
463
|
return target;
|
|
166
464
|
};
|
|
@@ -183,11 +481,11 @@
|
|
|
183
481
|
onMouseLeave,
|
|
184
482
|
size = "middle"
|
|
185
483
|
} = _a,
|
|
186
|
-
restProps = __objRest$
|
|
484
|
+
restProps = __objRest$l(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
187
485
|
const [status, setStatus] = React.useState("normal");
|
|
188
486
|
const hasIcon = prefixIcon || suffixIcon;
|
|
189
487
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
190
|
-
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$
|
|
488
|
+
return /* @__PURE__ */React.createElement(antd.Button, __spreadValues$p({
|
|
191
489
|
ref,
|
|
192
490
|
className: cs(className, ButtonStyle$1, type === "link" && NoPadding, (prefixIcon || suffixIcon) && "has-icon", size === "large" && Typo.Label.l1_regular_title, size === "middle" && Typo.Label.l2_regular_title, size === "small" && Typo.Label.l3_regular_title, type && `ant-btn-${type}`, !children && children !== 0 && restProps.icon && "ant-btn-icon-only"),
|
|
193
491
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -217,31 +515,31 @@
|
|
|
217
515
|
}));
|
|
218
516
|
});
|
|
219
517
|
|
|
220
|
-
var __defProp$
|
|
221
|
-
var __defProps$
|
|
222
|
-
var __getOwnPropDescs$
|
|
223
|
-
var __getOwnPropSymbols$
|
|
224
|
-
var __hasOwnProp$
|
|
225
|
-
var __propIsEnum$
|
|
226
|
-
var __defNormalProp$
|
|
227
|
-
enumerable: true,
|
|
228
|
-
configurable: true,
|
|
518
|
+
var __defProp$o = Object.defineProperty;
|
|
519
|
+
var __defProps$i = Object.defineProperties;
|
|
520
|
+
var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
|
|
521
|
+
var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
|
|
522
|
+
var __hasOwnProp$p = Object.prototype.hasOwnProperty;
|
|
523
|
+
var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
|
|
524
|
+
var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
|
|
525
|
+
enumerable: true,
|
|
526
|
+
configurable: true,
|
|
229
527
|
writable: true,
|
|
230
528
|
value
|
|
231
529
|
}) : obj[key] = value;
|
|
232
|
-
var __spreadValues$
|
|
233
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
234
|
-
if (__getOwnPropSymbols$
|
|
235
|
-
if (__propIsEnum$
|
|
530
|
+
var __spreadValues$o = (a, b) => {
|
|
531
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
532
|
+
if (__getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(b)) {
|
|
533
|
+
if (__propIsEnum$p.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
|
|
236
534
|
}
|
|
237
535
|
return a;
|
|
238
536
|
};
|
|
239
|
-
var __spreadProps$
|
|
240
|
-
var __objRest$
|
|
537
|
+
var __spreadProps$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
|
|
538
|
+
var __objRest$k = (source, exclude) => {
|
|
241
539
|
var target = {};
|
|
242
|
-
for (var prop in source) if (__hasOwnProp$
|
|
243
|
-
if (source != null && __getOwnPropSymbols$
|
|
244
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
540
|
+
for (var prop in source) if (__hasOwnProp$p.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
541
|
+
if (source != null && __getOwnPropSymbols$p) for (var prop of __getOwnPropSymbols$p(source)) {
|
|
542
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$p.call(source, prop)) target[prop] = source[prop];
|
|
245
543
|
}
|
|
246
544
|
return target;
|
|
247
545
|
};
|
|
@@ -254,8 +552,8 @@
|
|
|
254
552
|
description,
|
|
255
553
|
compact
|
|
256
554
|
} = _b,
|
|
257
|
-
props = __objRest$
|
|
258
|
-
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$
|
|
555
|
+
props = __objRest$k(_b, ["className", "children", "description", "compact"]);
|
|
556
|
+
return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$i(__spreadValues$o({}, props), {
|
|
259
557
|
"data-test": props["data-test"] || props.value,
|
|
260
558
|
className: cs(className, CheckboxStyle, compact && "compact")
|
|
261
559
|
}), children ? /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("div", {
|
|
@@ -265,39 +563,39 @@
|
|
|
265
563
|
}, description) : null) : null);
|
|
266
564
|
};
|
|
267
565
|
|
|
268
|
-
var __defProp$
|
|
269
|
-
var __getOwnPropSymbols$
|
|
270
|
-
var __hasOwnProp$
|
|
271
|
-
var __propIsEnum$
|
|
272
|
-
var __defNormalProp$
|
|
273
|
-
var __spreadValues$
|
|
566
|
+
var __defProp$n = Object.defineProperty;
|
|
567
|
+
var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
|
|
568
|
+
var __hasOwnProp$o = Object.prototype.hasOwnProperty;
|
|
569
|
+
var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
|
|
570
|
+
var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
571
|
+
var __spreadValues$n = (a, b) => {
|
|
274
572
|
for (var prop in b || (b = {}))
|
|
275
|
-
if (__hasOwnProp$
|
|
276
|
-
__defNormalProp$
|
|
277
|
-
if (__getOwnPropSymbols$
|
|
278
|
-
for (var prop of __getOwnPropSymbols$
|
|
279
|
-
if (__propIsEnum$
|
|
280
|
-
__defNormalProp$
|
|
573
|
+
if (__hasOwnProp$o.call(b, prop))
|
|
574
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
575
|
+
if (__getOwnPropSymbols$o)
|
|
576
|
+
for (var prop of __getOwnPropSymbols$o(b)) {
|
|
577
|
+
if (__propIsEnum$o.call(b, prop))
|
|
578
|
+
__defNormalProp$n(a, prop, b[prop]);
|
|
281
579
|
}
|
|
282
580
|
return a;
|
|
283
581
|
};
|
|
284
|
-
var __objRest$
|
|
582
|
+
var __objRest$j = (source, exclude) => {
|
|
285
583
|
var target = {};
|
|
286
584
|
for (var prop in source)
|
|
287
|
-
if (__hasOwnProp$
|
|
585
|
+
if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
288
586
|
target[prop] = source[prop];
|
|
289
|
-
if (source != null && __getOwnPropSymbols$
|
|
290
|
-
for (var prop of __getOwnPropSymbols$
|
|
291
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
587
|
+
if (source != null && __getOwnPropSymbols$o)
|
|
588
|
+
for (var prop of __getOwnPropSymbols$o(source)) {
|
|
589
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop))
|
|
292
590
|
target[prop] = source[prop];
|
|
293
591
|
}
|
|
294
592
|
return target;
|
|
295
593
|
};
|
|
296
594
|
const FieldsBoolean = (_a) => {
|
|
297
|
-
var _b = _a, { input, children } = _b, props = __objRest$
|
|
595
|
+
var _b = _a, { input, children } = _b, props = __objRest$j(_b, ["input", "children"]);
|
|
298
596
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
299
597
|
Checkbox,
|
|
300
|
-
__spreadValues$
|
|
598
|
+
__spreadValues$n({
|
|
301
599
|
checked: Boolean(input.value),
|
|
302
600
|
onChange: (e) => input.onChange(e.target.checked)
|
|
303
601
|
}, props),
|
|
@@ -322,17 +620,17 @@
|
|
|
322
620
|
}
|
|
323
621
|
));
|
|
324
622
|
|
|
325
|
-
var __getOwnPropSymbols$
|
|
326
|
-
var __hasOwnProp$
|
|
327
|
-
var __propIsEnum$
|
|
328
|
-
var __objRest$
|
|
623
|
+
var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
|
|
624
|
+
var __hasOwnProp$n = Object.prototype.hasOwnProperty;
|
|
625
|
+
var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
|
|
626
|
+
var __objRest$i = (source, exclude) => {
|
|
329
627
|
var target = {};
|
|
330
628
|
for (var prop in source)
|
|
331
|
-
if (__hasOwnProp$
|
|
629
|
+
if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
332
630
|
target[prop] = source[prop];
|
|
333
|
-
if (source != null && __getOwnPropSymbols$
|
|
334
|
-
for (var prop of __getOwnPropSymbols$
|
|
335
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
631
|
+
if (source != null && __getOwnPropSymbols$n)
|
|
632
|
+
for (var prop of __getOwnPropSymbols$n(source)) {
|
|
633
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
|
|
336
634
|
target[prop] = source[prop];
|
|
337
635
|
}
|
|
338
636
|
return target;
|
|
@@ -340,7 +638,7 @@
|
|
|
340
638
|
const FieldsDateTimeRange = (_a) => {
|
|
341
639
|
var _b = _a, {
|
|
342
640
|
input
|
|
343
|
-
} = _b, props = __objRest$
|
|
641
|
+
} = _b, props = __objRest$i(_b, [
|
|
344
642
|
"input"
|
|
345
643
|
]);
|
|
346
644
|
var _a2, _b2;
|
|
@@ -382,53 +680,53 @@
|
|
|
382
680
|
const TBODY_SELECTOR = ".ant-table-tbody";
|
|
383
681
|
const MODAL_WHITELIST = [".ant-select-dropdown", ".ant-picker-dropdown", ".ant-dropdown", ".ant-dropdown-menu-submenu", ".ant-tooltip", ".ant-dropdown-menu-item-group-list"];
|
|
384
682
|
|
|
385
|
-
var __defProp$
|
|
386
|
-
var __getOwnPropSymbols$
|
|
387
|
-
var __hasOwnProp$
|
|
388
|
-
var __propIsEnum$
|
|
389
|
-
var __defNormalProp$
|
|
390
|
-
var __spreadValues$
|
|
683
|
+
var __defProp$m = Object.defineProperty;
|
|
684
|
+
var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
|
|
685
|
+
var __hasOwnProp$m = Object.prototype.hasOwnProperty;
|
|
686
|
+
var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
|
|
687
|
+
var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
688
|
+
var __spreadValues$m = (a, b) => {
|
|
391
689
|
for (var prop in b || (b = {}))
|
|
392
|
-
if (__hasOwnProp$
|
|
393
|
-
__defNormalProp$
|
|
394
|
-
if (__getOwnPropSymbols$
|
|
395
|
-
for (var prop of __getOwnPropSymbols$
|
|
396
|
-
if (__propIsEnum$
|
|
397
|
-
__defNormalProp$
|
|
690
|
+
if (__hasOwnProp$m.call(b, prop))
|
|
691
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
692
|
+
if (__getOwnPropSymbols$m)
|
|
693
|
+
for (var prop of __getOwnPropSymbols$m(b)) {
|
|
694
|
+
if (__propIsEnum$m.call(b, prop))
|
|
695
|
+
__defNormalProp$m(a, prop, b[prop]);
|
|
398
696
|
}
|
|
399
697
|
return a;
|
|
400
698
|
};
|
|
401
699
|
const Loading = ({ fullView = true }) => {
|
|
402
700
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
403
701
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
404
|
-
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$
|
|
702
|
+
return /* @__PURE__ */ React.createElement(Wrapper, __spreadValues$m({}, props), /* @__PURE__ */ React.createElement("div", { className: "loading" }, /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" }), /* @__PURE__ */ React.createElement("div", { className: "loading__sugar" })));
|
|
405
703
|
};
|
|
406
704
|
|
|
407
|
-
var __defProp$
|
|
408
|
-
var __defProps$
|
|
409
|
-
var __getOwnPropDescs$
|
|
410
|
-
var __getOwnPropSymbols$
|
|
411
|
-
var __hasOwnProp$
|
|
412
|
-
var __propIsEnum$
|
|
413
|
-
var __defNormalProp$
|
|
705
|
+
var __defProp$l = Object.defineProperty;
|
|
706
|
+
var __defProps$h = Object.defineProperties;
|
|
707
|
+
var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
|
|
708
|
+
var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
|
|
709
|
+
var __hasOwnProp$l = Object.prototype.hasOwnProperty;
|
|
710
|
+
var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
|
|
711
|
+
var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, {
|
|
414
712
|
enumerable: true,
|
|
415
713
|
configurable: true,
|
|
416
714
|
writable: true,
|
|
417
715
|
value
|
|
418
716
|
}) : obj[key] = value;
|
|
419
|
-
var __spreadValues$
|
|
420
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
421
|
-
if (__getOwnPropSymbols$
|
|
422
|
-
if (__propIsEnum$
|
|
717
|
+
var __spreadValues$l = (a, b) => {
|
|
718
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$l.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
719
|
+
if (__getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(b)) {
|
|
720
|
+
if (__propIsEnum$l.call(b, prop)) __defNormalProp$l(a, prop, b[prop]);
|
|
423
721
|
}
|
|
424
722
|
return a;
|
|
425
723
|
};
|
|
426
|
-
var __spreadProps$
|
|
427
|
-
var __objRest$
|
|
724
|
+
var __spreadProps$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
|
|
725
|
+
var __objRest$h = (source, exclude) => {
|
|
428
726
|
var target = {};
|
|
429
|
-
for (var prop in source) if (__hasOwnProp$
|
|
430
|
-
if (source != null && __getOwnPropSymbols$
|
|
431
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
727
|
+
for (var prop in source) if (__hasOwnProp$l.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
728
|
+
if (source != null && __getOwnPropSymbols$l) for (var prop of __getOwnPropSymbols$l(source)) {
|
|
729
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop)) target[prop] = source[prop];
|
|
432
730
|
}
|
|
433
731
|
return target;
|
|
434
732
|
};
|
|
@@ -456,7 +754,7 @@
|
|
|
456
754
|
meta,
|
|
457
755
|
placeholder
|
|
458
756
|
} = _b,
|
|
459
|
-
restProps = __objRest$
|
|
757
|
+
restProps = __objRest$h(_b, ["input", "multiple", "className", "scrollBottomBuffer", "onScrollBottom", "onPopupScroll", "onSearch", "showSearch", "filterOption", "loading", "notFoundContent", "children", "error", "selectLimit", "dropdownClassName", "danger", "size", "meta", "placeholder"]);
|
|
460
758
|
var _a2;
|
|
461
759
|
const limitExceeded = multiple && selectLimit && selectLimit <= (((_a2 = input.value) == null ? void 0 : _a2.length) || 0);
|
|
462
760
|
const typo = {
|
|
@@ -482,7 +780,7 @@
|
|
|
482
780
|
inputDom && (placeholder || item) && inputDom.setAttribute("data-test", String(placeholder || item.textContent));
|
|
483
781
|
}
|
|
484
782
|
}, [selectRef, placeholder]);
|
|
485
|
-
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$
|
|
783
|
+
return /* @__PURE__ */React.createElement(antd.Select, __spreadValues$l(__spreadProps$h(__spreadValues$l({}, input), {
|
|
486
784
|
ref: selectRef,
|
|
487
785
|
size,
|
|
488
786
|
value: multiple ? input.value || [] : input.value || void 0,
|
|
@@ -522,38 +820,38 @@
|
|
|
522
820
|
loading,
|
|
523
821
|
placeholder
|
|
524
822
|
}), restProps), React.Children.map(children, child => {
|
|
525
|
-
return reactIs.isElement(child) ? __spreadProps$
|
|
526
|
-
props: __spreadProps$
|
|
823
|
+
return reactIs.isElement(child) ? __spreadProps$h(__spreadValues$l({}, child), {
|
|
824
|
+
props: __spreadProps$h(__spreadValues$l({}, child.props), {
|
|
527
825
|
"data-test": child.props.value
|
|
528
826
|
})
|
|
529
827
|
}) : child;
|
|
530
828
|
}));
|
|
531
829
|
};
|
|
532
830
|
|
|
533
|
-
var __defProp$
|
|
534
|
-
var __getOwnPropSymbols$
|
|
535
|
-
var __hasOwnProp$
|
|
536
|
-
var __propIsEnum$
|
|
537
|
-
var __defNormalProp$
|
|
538
|
-
var __spreadValues$
|
|
831
|
+
var __defProp$k = Object.defineProperty;
|
|
832
|
+
var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
|
|
833
|
+
var __hasOwnProp$k = Object.prototype.hasOwnProperty;
|
|
834
|
+
var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
|
|
835
|
+
var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
836
|
+
var __spreadValues$k = (a, b) => {
|
|
539
837
|
for (var prop in b || (b = {}))
|
|
540
|
-
if (__hasOwnProp$
|
|
541
|
-
__defNormalProp$
|
|
542
|
-
if (__getOwnPropSymbols$
|
|
543
|
-
for (var prop of __getOwnPropSymbols$
|
|
544
|
-
if (__propIsEnum$
|
|
545
|
-
__defNormalProp$
|
|
838
|
+
if (__hasOwnProp$k.call(b, prop))
|
|
839
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
840
|
+
if (__getOwnPropSymbols$k)
|
|
841
|
+
for (var prop of __getOwnPropSymbols$k(b)) {
|
|
842
|
+
if (__propIsEnum$k.call(b, prop))
|
|
843
|
+
__defNormalProp$k(a, prop, b[prop]);
|
|
546
844
|
}
|
|
547
845
|
return a;
|
|
548
846
|
};
|
|
549
|
-
var __objRest$
|
|
847
|
+
var __objRest$g = (source, exclude) => {
|
|
550
848
|
var target = {};
|
|
551
849
|
for (var prop in source)
|
|
552
|
-
if (__hasOwnProp$
|
|
850
|
+
if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
553
851
|
target[prop] = source[prop];
|
|
554
|
-
if (source != null && __getOwnPropSymbols$
|
|
555
|
-
for (var prop of __getOwnPropSymbols$
|
|
556
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
852
|
+
if (source != null && __getOwnPropSymbols$k)
|
|
853
|
+
for (var prop of __getOwnPropSymbols$k(source)) {
|
|
854
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
|
|
557
855
|
target[prop] = source[prop];
|
|
558
856
|
}
|
|
559
857
|
return target;
|
|
@@ -563,12 +861,12 @@
|
|
|
563
861
|
meta: __,
|
|
564
862
|
enumValues,
|
|
565
863
|
emptyLabel
|
|
566
|
-
} = _b, restProps = __objRest$
|
|
864
|
+
} = _b, restProps = __objRest$g(_b, [
|
|
567
865
|
"meta",
|
|
568
866
|
"enumValues",
|
|
569
867
|
"emptyLabel"
|
|
570
868
|
]);
|
|
571
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$
|
|
869
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Select, __spreadValues$k({}, restProps), emptyLabel && /* @__PURE__ */ React.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
|
|
572
870
|
const item = typeof v === "string" ? { value: v, text: v } : v;
|
|
573
871
|
return /* @__PURE__ */ React.createElement(
|
|
574
872
|
antd.Select.Option,
|
|
@@ -582,31 +880,31 @@
|
|
|
582
880
|
})));
|
|
583
881
|
};
|
|
584
882
|
|
|
585
|
-
var __defProp$
|
|
586
|
-
var __defProps$
|
|
587
|
-
var __getOwnPropDescs$
|
|
588
|
-
var __getOwnPropSymbols$
|
|
589
|
-
var __hasOwnProp$
|
|
590
|
-
var __propIsEnum$
|
|
591
|
-
var __defNormalProp$
|
|
883
|
+
var __defProp$j = Object.defineProperty;
|
|
884
|
+
var __defProps$g = Object.defineProperties;
|
|
885
|
+
var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
|
|
886
|
+
var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
|
|
887
|
+
var __hasOwnProp$j = Object.prototype.hasOwnProperty;
|
|
888
|
+
var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
|
|
889
|
+
var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, {
|
|
592
890
|
enumerable: true,
|
|
593
891
|
configurable: true,
|
|
594
892
|
writable: true,
|
|
595
893
|
value
|
|
596
894
|
}) : obj[key] = value;
|
|
597
|
-
var __spreadValues$
|
|
598
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
599
|
-
if (__getOwnPropSymbols$
|
|
600
|
-
if (__propIsEnum$
|
|
895
|
+
var __spreadValues$j = (a, b) => {
|
|
896
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
897
|
+
if (__getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(b)) {
|
|
898
|
+
if (__propIsEnum$j.call(b, prop)) __defNormalProp$j(a, prop, b[prop]);
|
|
601
899
|
}
|
|
602
900
|
return a;
|
|
603
901
|
};
|
|
604
|
-
var __spreadProps$
|
|
605
|
-
var __objRest$
|
|
902
|
+
var __spreadProps$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
|
|
903
|
+
var __objRest$f = (source, exclude) => {
|
|
606
904
|
var target = {};
|
|
607
|
-
for (var prop in source) if (__hasOwnProp$
|
|
608
|
-
if (source != null && __getOwnPropSymbols$
|
|
609
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
905
|
+
for (var prop in source) if (__hasOwnProp$j.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
906
|
+
if (source != null && __getOwnPropSymbols$j) for (var prop of __getOwnPropSymbols$j(source)) {
|
|
907
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop)) target[prop] = source[prop];
|
|
610
908
|
}
|
|
611
909
|
return target;
|
|
612
910
|
};
|
|
@@ -642,13 +940,13 @@
|
|
|
642
940
|
prefix,
|
|
643
941
|
controls = true
|
|
644
942
|
} = _b,
|
|
645
|
-
props = __objRest$
|
|
943
|
+
props = __objRest$f(_b, ["className", "error", "size", "suffix", "prefix", "controls"]);
|
|
646
944
|
const typo = {
|
|
647
945
|
large: Typo.Label.l2_regular,
|
|
648
946
|
middle: Typo.Label.l3_regular,
|
|
649
947
|
small: Typo.Label.l4_regular
|
|
650
948
|
}[size];
|
|
651
|
-
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$
|
|
949
|
+
return /* @__PURE__ */React.createElement(AntdInputNumberStyled, __spreadProps$g(__spreadValues$j({}, props), {
|
|
652
950
|
size,
|
|
653
951
|
controls,
|
|
654
952
|
"data-test": props.name,
|
|
@@ -658,33 +956,33 @@
|
|
|
658
956
|
}));
|
|
659
957
|
};
|
|
660
958
|
|
|
661
|
-
var __defProp$
|
|
662
|
-
var __defProps$
|
|
663
|
-
var __getOwnPropDescs$
|
|
664
|
-
var __getOwnPropSymbols$
|
|
665
|
-
var __hasOwnProp$
|
|
666
|
-
var __propIsEnum$
|
|
667
|
-
var __defNormalProp$
|
|
668
|
-
var __spreadValues$
|
|
959
|
+
var __defProp$i = Object.defineProperty;
|
|
960
|
+
var __defProps$f = Object.defineProperties;
|
|
961
|
+
var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
|
|
962
|
+
var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
|
|
963
|
+
var __hasOwnProp$i = Object.prototype.hasOwnProperty;
|
|
964
|
+
var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
|
|
965
|
+
var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
966
|
+
var __spreadValues$i = (a, b) => {
|
|
669
967
|
for (var prop in b || (b = {}))
|
|
670
|
-
if (__hasOwnProp$
|
|
671
|
-
__defNormalProp$
|
|
672
|
-
if (__getOwnPropSymbols$
|
|
673
|
-
for (var prop of __getOwnPropSymbols$
|
|
674
|
-
if (__propIsEnum$
|
|
675
|
-
__defNormalProp$
|
|
968
|
+
if (__hasOwnProp$i.call(b, prop))
|
|
969
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
970
|
+
if (__getOwnPropSymbols$i)
|
|
971
|
+
for (var prop of __getOwnPropSymbols$i(b)) {
|
|
972
|
+
if (__propIsEnum$i.call(b, prop))
|
|
973
|
+
__defNormalProp$i(a, prop, b[prop]);
|
|
676
974
|
}
|
|
677
975
|
return a;
|
|
678
976
|
};
|
|
679
|
-
var __spreadProps$
|
|
680
|
-
var __objRest$
|
|
977
|
+
var __spreadProps$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
|
|
978
|
+
var __objRest$e = (source, exclude) => {
|
|
681
979
|
var target = {};
|
|
682
980
|
for (var prop in source)
|
|
683
|
-
if (__hasOwnProp$
|
|
981
|
+
if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
684
982
|
target[prop] = source[prop];
|
|
685
|
-
if (source != null && __getOwnPropSymbols$
|
|
686
|
-
for (var prop of __getOwnPropSymbols$
|
|
687
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
983
|
+
if (source != null && __getOwnPropSymbols$i)
|
|
984
|
+
for (var prop of __getOwnPropSymbols$i(source)) {
|
|
985
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop))
|
|
688
986
|
target[prop] = source[prop];
|
|
689
987
|
}
|
|
690
988
|
return target;
|
|
@@ -695,7 +993,7 @@
|
|
|
695
993
|
meta,
|
|
696
994
|
onBlur,
|
|
697
995
|
autoComplete = "off"
|
|
698
|
-
} = _b, props = __objRest$
|
|
996
|
+
} = _b, props = __objRest$e(_b, [
|
|
699
997
|
"input",
|
|
700
998
|
"meta",
|
|
701
999
|
"onBlur",
|
|
@@ -703,7 +1001,7 @@
|
|
|
703
1001
|
]);
|
|
704
1002
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
705
1003
|
InputNumber,
|
|
706
|
-
__spreadValues$
|
|
1004
|
+
__spreadValues$i(__spreadProps$f(__spreadValues$i({}, input), {
|
|
707
1005
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
708
1006
|
autoComplete,
|
|
709
1007
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
@@ -711,33 +1009,33 @@
|
|
|
711
1009
|
));
|
|
712
1010
|
};
|
|
713
1011
|
|
|
714
|
-
var __defProp$
|
|
715
|
-
var __defProps$
|
|
716
|
-
var __getOwnPropDescs$
|
|
717
|
-
var __getOwnPropSymbols$
|
|
718
|
-
var __hasOwnProp$
|
|
719
|
-
var __propIsEnum$
|
|
720
|
-
var __defNormalProp$
|
|
721
|
-
var __spreadValues$
|
|
1012
|
+
var __defProp$h = Object.defineProperty;
|
|
1013
|
+
var __defProps$e = Object.defineProperties;
|
|
1014
|
+
var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
|
|
1015
|
+
var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
|
|
1016
|
+
var __hasOwnProp$h = Object.prototype.hasOwnProperty;
|
|
1017
|
+
var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
|
|
1018
|
+
var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1019
|
+
var __spreadValues$h = (a, b) => {
|
|
722
1020
|
for (var prop in b || (b = {}))
|
|
723
|
-
if (__hasOwnProp$
|
|
724
|
-
__defNormalProp$
|
|
725
|
-
if (__getOwnPropSymbols$
|
|
726
|
-
for (var prop of __getOwnPropSymbols$
|
|
727
|
-
if (__propIsEnum$
|
|
728
|
-
__defNormalProp$
|
|
1021
|
+
if (__hasOwnProp$h.call(b, prop))
|
|
1022
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
1023
|
+
if (__getOwnPropSymbols$h)
|
|
1024
|
+
for (var prop of __getOwnPropSymbols$h(b)) {
|
|
1025
|
+
if (__propIsEnum$h.call(b, prop))
|
|
1026
|
+
__defNormalProp$h(a, prop, b[prop]);
|
|
729
1027
|
}
|
|
730
1028
|
return a;
|
|
731
1029
|
};
|
|
732
|
-
var __spreadProps$
|
|
733
|
-
var __objRest$
|
|
1030
|
+
var __spreadProps$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
|
|
1031
|
+
var __objRest$d = (source, exclude) => {
|
|
734
1032
|
var target = {};
|
|
735
1033
|
for (var prop in source)
|
|
736
|
-
if (__hasOwnProp$
|
|
1034
|
+
if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
737
1035
|
target[prop] = source[prop];
|
|
738
|
-
if (source != null && __getOwnPropSymbols$
|
|
739
|
-
for (var prop of __getOwnPropSymbols$
|
|
740
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1036
|
+
if (source != null && __getOwnPropSymbols$h)
|
|
1037
|
+
for (var prop of __getOwnPropSymbols$h(source)) {
|
|
1038
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
|
|
741
1039
|
target[prop] = source[prop];
|
|
742
1040
|
}
|
|
743
1041
|
return target;
|
|
@@ -747,7 +1045,7 @@
|
|
|
747
1045
|
className,
|
|
748
1046
|
error,
|
|
749
1047
|
size = "middle"
|
|
750
|
-
} = _b, props = __objRest$
|
|
1048
|
+
} = _b, props = __objRest$d(_b, [
|
|
751
1049
|
"className",
|
|
752
1050
|
"error",
|
|
753
1051
|
"size"
|
|
@@ -759,7 +1057,7 @@
|
|
|
759
1057
|
}[size];
|
|
760
1058
|
return /* @__PURE__ */ React.createElement(
|
|
761
1059
|
antd.Input,
|
|
762
|
-
__spreadProps$
|
|
1060
|
+
__spreadProps$e(__spreadValues$h({}, props), {
|
|
763
1061
|
size,
|
|
764
1062
|
"data-test": props.name,
|
|
765
1063
|
className: cs(className, InputStyle, typo, error ? "error" : "")
|
|
@@ -767,33 +1065,33 @@
|
|
|
767
1065
|
);
|
|
768
1066
|
};
|
|
769
1067
|
|
|
770
|
-
var __defProp$
|
|
771
|
-
var __defProps$
|
|
772
|
-
var __getOwnPropDescs$
|
|
773
|
-
var __getOwnPropSymbols$
|
|
774
|
-
var __hasOwnProp$
|
|
775
|
-
var __propIsEnum$
|
|
776
|
-
var __defNormalProp$
|
|
777
|
-
var __spreadValues$
|
|
1068
|
+
var __defProp$g = Object.defineProperty;
|
|
1069
|
+
var __defProps$d = Object.defineProperties;
|
|
1070
|
+
var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
|
|
1071
|
+
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
1072
|
+
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
1073
|
+
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
1074
|
+
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1075
|
+
var __spreadValues$g = (a, b) => {
|
|
778
1076
|
for (var prop in b || (b = {}))
|
|
779
|
-
if (__hasOwnProp$
|
|
780
|
-
__defNormalProp$
|
|
781
|
-
if (__getOwnPropSymbols$
|
|
782
|
-
for (var prop of __getOwnPropSymbols$
|
|
783
|
-
if (__propIsEnum$
|
|
784
|
-
__defNormalProp$
|
|
1077
|
+
if (__hasOwnProp$g.call(b, prop))
|
|
1078
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
1079
|
+
if (__getOwnPropSymbols$g)
|
|
1080
|
+
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
1081
|
+
if (__propIsEnum$g.call(b, prop))
|
|
1082
|
+
__defNormalProp$g(a, prop, b[prop]);
|
|
785
1083
|
}
|
|
786
1084
|
return a;
|
|
787
1085
|
};
|
|
788
|
-
var __spreadProps$
|
|
789
|
-
var __objRest$
|
|
1086
|
+
var __spreadProps$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
|
|
1087
|
+
var __objRest$c = (source, exclude) => {
|
|
790
1088
|
var target = {};
|
|
791
1089
|
for (var prop in source)
|
|
792
|
-
if (__hasOwnProp$
|
|
1090
|
+
if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
793
1091
|
target[prop] = source[prop];
|
|
794
|
-
if (source != null && __getOwnPropSymbols$
|
|
795
|
-
for (var prop of __getOwnPropSymbols$
|
|
796
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1092
|
+
if (source != null && __getOwnPropSymbols$g)
|
|
1093
|
+
for (var prop of __getOwnPropSymbols$g(source)) {
|
|
1094
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
|
|
797
1095
|
target[prop] = source[prop];
|
|
798
1096
|
}
|
|
799
1097
|
return target;
|
|
@@ -805,7 +1103,7 @@
|
|
|
805
1103
|
onBlur,
|
|
806
1104
|
autoComplete = "off",
|
|
807
1105
|
supportNegativeValue = false
|
|
808
|
-
} = _b, props = __objRest$
|
|
1106
|
+
} = _b, props = __objRest$c(_b, [
|
|
809
1107
|
"input",
|
|
810
1108
|
"meta",
|
|
811
1109
|
"onBlur",
|
|
@@ -814,7 +1112,7 @@
|
|
|
814
1112
|
]);
|
|
815
1113
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
816
1114
|
Input,
|
|
817
|
-
__spreadValues$
|
|
1115
|
+
__spreadValues$g(__spreadProps$d(__spreadValues$g({}, input), {
|
|
818
1116
|
onChange: (e) => {
|
|
819
1117
|
const value = e.currentTarget.value;
|
|
820
1118
|
if (supportNegativeValue) {
|
|
@@ -849,31 +1147,31 @@
|
|
|
849
1147
|
}
|
|
850
1148
|
};
|
|
851
1149
|
|
|
852
|
-
var __defProp$
|
|
853
|
-
var __defProps$
|
|
854
|
-
var __getOwnPropDescs$
|
|
855
|
-
var __getOwnPropSymbols$
|
|
856
|
-
var __hasOwnProp$
|
|
857
|
-
var __propIsEnum$
|
|
858
|
-
var __defNormalProp$
|
|
1150
|
+
var __defProp$f = Object.defineProperty;
|
|
1151
|
+
var __defProps$c = Object.defineProperties;
|
|
1152
|
+
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
1153
|
+
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
1154
|
+
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
1155
|
+
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
1156
|
+
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, {
|
|
859
1157
|
enumerable: true,
|
|
860
1158
|
configurable: true,
|
|
861
1159
|
writable: true,
|
|
862
1160
|
value
|
|
863
1161
|
}) : obj[key] = value;
|
|
864
|
-
var __spreadValues$
|
|
865
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
866
|
-
if (__getOwnPropSymbols$
|
|
867
|
-
if (__propIsEnum$
|
|
1162
|
+
var __spreadValues$f = (a, b) => {
|
|
1163
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
1164
|
+
if (__getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(b)) {
|
|
1165
|
+
if (__propIsEnum$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
868
1166
|
}
|
|
869
1167
|
return a;
|
|
870
1168
|
};
|
|
871
|
-
var __spreadProps$
|
|
872
|
-
var __objRest$
|
|
1169
|
+
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
1170
|
+
var __objRest$b = (source, exclude) => {
|
|
873
1171
|
var target = {};
|
|
874
|
-
for (var prop in source) if (__hasOwnProp$
|
|
875
|
-
if (source != null && __getOwnPropSymbols$
|
|
876
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1172
|
+
for (var prop in source) if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1173
|
+
if (source != null && __getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(source)) {
|
|
1174
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop)) target[prop] = source[prop];
|
|
877
1175
|
}
|
|
878
1176
|
return target;
|
|
879
1177
|
};
|
|
@@ -911,13 +1209,13 @@
|
|
|
911
1209
|
min,
|
|
912
1210
|
controls = false
|
|
913
1211
|
} = _b,
|
|
914
|
-
props = __objRest$
|
|
1212
|
+
props = __objRest$b(_b, ["className", "error", "size", "suffix", "prefix", "max", "min", "controls"]);
|
|
915
1213
|
const typo = {
|
|
916
1214
|
large: Typo.Label.l2_regular,
|
|
917
1215
|
middle: Typo.Label.l3_regular,
|
|
918
1216
|
small: Typo.Label.l4_regular
|
|
919
1217
|
}[size];
|
|
920
|
-
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$
|
|
1218
|
+
return /* @__PURE__ */React.createElement(AntdIntStyled, __spreadProps$c(__spreadValues$f({}, props), {
|
|
921
1219
|
size,
|
|
922
1220
|
formatter: formatterInteger,
|
|
923
1221
|
parser: formatterInteger,
|
|
@@ -931,33 +1229,33 @@
|
|
|
931
1229
|
}));
|
|
932
1230
|
};
|
|
933
1231
|
|
|
934
|
-
var __defProp$
|
|
935
|
-
var __defProps$
|
|
936
|
-
var __getOwnPropDescs$
|
|
937
|
-
var __getOwnPropSymbols$
|
|
938
|
-
var __hasOwnProp$
|
|
939
|
-
var __propIsEnum$
|
|
940
|
-
var __defNormalProp$
|
|
941
|
-
var __spreadValues$
|
|
1232
|
+
var __defProp$e = Object.defineProperty;
|
|
1233
|
+
var __defProps$b = Object.defineProperties;
|
|
1234
|
+
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
1235
|
+
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
1236
|
+
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
1237
|
+
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
1238
|
+
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1239
|
+
var __spreadValues$e = (a, b) => {
|
|
942
1240
|
for (var prop in b || (b = {}))
|
|
943
|
-
if (__hasOwnProp$
|
|
944
|
-
__defNormalProp$
|
|
945
|
-
if (__getOwnPropSymbols$
|
|
946
|
-
for (var prop of __getOwnPropSymbols$
|
|
947
|
-
if (__propIsEnum$
|
|
948
|
-
__defNormalProp$
|
|
1241
|
+
if (__hasOwnProp$e.call(b, prop))
|
|
1242
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
1243
|
+
if (__getOwnPropSymbols$e)
|
|
1244
|
+
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
1245
|
+
if (__propIsEnum$e.call(b, prop))
|
|
1246
|
+
__defNormalProp$e(a, prop, b[prop]);
|
|
949
1247
|
}
|
|
950
1248
|
return a;
|
|
951
1249
|
};
|
|
952
|
-
var __spreadProps$
|
|
953
|
-
var __objRest$
|
|
1250
|
+
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
1251
|
+
var __objRest$a = (source, exclude) => {
|
|
954
1252
|
var target = {};
|
|
955
1253
|
for (var prop in source)
|
|
956
|
-
if (__hasOwnProp$
|
|
1254
|
+
if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
957
1255
|
target[prop] = source[prop];
|
|
958
|
-
if (source != null && __getOwnPropSymbols$
|
|
959
|
-
for (var prop of __getOwnPropSymbols$
|
|
960
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1256
|
+
if (source != null && __getOwnPropSymbols$e)
|
|
1257
|
+
for (var prop of __getOwnPropSymbols$e(source)) {
|
|
1258
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$e.call(source, prop))
|
|
961
1259
|
target[prop] = source[prop];
|
|
962
1260
|
}
|
|
963
1261
|
return target;
|
|
@@ -967,638 +1265,87 @@
|
|
|
967
1265
|
meta,
|
|
968
1266
|
input,
|
|
969
1267
|
onBlur
|
|
970
|
-
} = _b, props = __objRest$
|
|
1268
|
+
} = _b, props = __objRest$a(_b, [
|
|
971
1269
|
"meta",
|
|
972
1270
|
"input",
|
|
973
1271
|
"onBlur"
|
|
974
1272
|
]);
|
|
975
1273
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
976
1274
|
InputInteger,
|
|
977
|
-
__spreadProps$
|
|
1275
|
+
__spreadProps$b(__spreadValues$e(__spreadValues$e({}, props), input), {
|
|
978
1276
|
onBlur: (e) => onBlur ? onBlur(input, e) : input.onBlur(e),
|
|
979
1277
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
980
1278
|
})
|
|
981
|
-
));
|
|
982
|
-
};
|
|
983
|
-
|
|
984
|
-
var __defProp$g = Object.defineProperty;
|
|
985
|
-
var __getOwnPropSymbols$g = Object.getOwnPropertySymbols;
|
|
986
|
-
var __hasOwnProp$g = Object.prototype.hasOwnProperty;
|
|
987
|
-
var __propIsEnum$g = Object.prototype.propertyIsEnumerable;
|
|
988
|
-
var __defNormalProp$g = (obj, key, value) => key in obj ? __defProp$g(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
989
|
-
var __spreadValues$g = (a, b) => {
|
|
990
|
-
for (var prop in b || (b = {}))
|
|
991
|
-
if (__hasOwnProp$g.call(b, prop))
|
|
992
|
-
__defNormalProp$g(a, prop, b[prop]);
|
|
993
|
-
if (__getOwnPropSymbols$g)
|
|
994
|
-
for (var prop of __getOwnPropSymbols$g(b)) {
|
|
995
|
-
if (__propIsEnum$g.call(b, prop))
|
|
996
|
-
__defNormalProp$g(a, prop, b[prop]);
|
|
997
|
-
}
|
|
998
|
-
return a;
|
|
999
|
-
};
|
|
1000
|
-
var __objRest$b = (source, exclude) => {
|
|
1001
|
-
var target = {};
|
|
1002
|
-
for (var prop in source)
|
|
1003
|
-
if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1004
|
-
target[prop] = source[prop];
|
|
1005
|
-
if (source != null && __getOwnPropSymbols$g)
|
|
1006
|
-
for (var prop of __getOwnPropSymbols$g(source)) {
|
|
1007
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$g.call(source, prop))
|
|
1008
|
-
target[prop] = source[prop];
|
|
1009
|
-
}
|
|
1010
|
-
return target;
|
|
1011
|
-
};
|
|
1012
|
-
const BaseIcon = React.forwardRef(
|
|
1013
|
-
(props, ref) => {
|
|
1014
|
-
const _a = props, {
|
|
1015
|
-
alt,
|
|
1016
|
-
className,
|
|
1017
|
-
width,
|
|
1018
|
-
height,
|
|
1019
|
-
cursor,
|
|
1020
|
-
style,
|
|
1021
|
-
children,
|
|
1022
|
-
prefixNode,
|
|
1023
|
-
suffixIconSrc,
|
|
1024
|
-
src
|
|
1025
|
-
} = _a, HTMLSpanElementProps = __objRest$b(_a, [
|
|
1026
|
-
"alt",
|
|
1027
|
-
"className",
|
|
1028
|
-
"width",
|
|
1029
|
-
"height",
|
|
1030
|
-
"cursor",
|
|
1031
|
-
"style",
|
|
1032
|
-
"children",
|
|
1033
|
-
"prefixNode",
|
|
1034
|
-
"suffixIconSrc",
|
|
1035
|
-
"src"
|
|
1036
|
-
]);
|
|
1037
|
-
return /* @__PURE__ */ React.createElement(
|
|
1038
|
-
"span",
|
|
1039
|
-
__spreadValues$g({
|
|
1040
|
-
ref,
|
|
1041
|
-
className,
|
|
1042
|
-
style: _.pickBy(__spreadValues$g({ cursor }, style))
|
|
1043
|
-
}, HTMLSpanElementProps),
|
|
1044
|
-
prefixNode,
|
|
1045
|
-
/* @__PURE__ */ React.createElement("span", { className: "icon-inner" }, /* @__PURE__ */ React.createElement("img", { alt, src, width, height })),
|
|
1046
|
-
children && /* @__PURE__ */ React.createElement("span", { className: "icon-children" }, children),
|
|
1047
|
-
suffixIconSrc && /* @__PURE__ */ React.createElement("span", { className: "icon-inner suffix" }, /* @__PURE__ */ React.createElement("img", { alt, src: suffixIconSrc, width, height }))
|
|
1048
|
-
);
|
|
1049
|
-
}
|
|
1050
|
-
);
|
|
1051
|
-
|
|
1052
|
-
var __defProp$f = Object.defineProperty;
|
|
1053
|
-
var __defProps$c = Object.defineProperties;
|
|
1054
|
-
var __getOwnPropDescs$c = Object.getOwnPropertyDescriptors;
|
|
1055
|
-
var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
|
|
1056
|
-
var __hasOwnProp$f = Object.prototype.hasOwnProperty;
|
|
1057
|
-
var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
|
|
1058
|
-
var __defNormalProp$f = (obj, key, value) => key in obj ? __defProp$f(obj, key, {
|
|
1059
|
-
enumerable: true,
|
|
1060
|
-
configurable: true,
|
|
1061
|
-
writable: true,
|
|
1062
|
-
value
|
|
1063
|
-
}) : obj[key] = value;
|
|
1064
|
-
var __spreadValues$f = (a, b) => {
|
|
1065
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
1066
|
-
if (__getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(b)) {
|
|
1067
|
-
if (__propIsEnum$f.call(b, prop)) __defNormalProp$f(a, prop, b[prop]);
|
|
1068
|
-
}
|
|
1069
|
-
return a;
|
|
1070
|
-
};
|
|
1071
|
-
var __spreadProps$c = (a, b) => __defProps$c(a, __getOwnPropDescs$c(b));
|
|
1072
|
-
var __objRest$a = (source, exclude) => {
|
|
1073
|
-
var target = {};
|
|
1074
|
-
for (var prop in source) if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1075
|
-
if (source != null && __getOwnPropSymbols$f) for (var prop of __getOwnPropSymbols$f(source)) {
|
|
1076
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop)) target[prop] = source[prop];
|
|
1077
|
-
}
|
|
1078
|
-
return target;
|
|
1079
|
-
};
|
|
1080
|
-
const IconWrapper = "i1mrf09m";
|
|
1081
|
-
const Icon = React.forwardRef((props, ref) => {
|
|
1082
|
-
const _a = props,
|
|
1083
|
-
{
|
|
1084
|
-
src,
|
|
1085
|
-
hoverSrc,
|
|
1086
|
-
active,
|
|
1087
|
-
activeSrc,
|
|
1088
|
-
onMouseEnter,
|
|
1089
|
-
onMouseLeave,
|
|
1090
|
-
onMouseMove,
|
|
1091
|
-
className,
|
|
1092
|
-
iconWidth = 16,
|
|
1093
|
-
iconHeight,
|
|
1094
|
-
cursor,
|
|
1095
|
-
style,
|
|
1096
|
-
children,
|
|
1097
|
-
isRotate,
|
|
1098
|
-
prefix,
|
|
1099
|
-
suffix
|
|
1100
|
-
} = _a,
|
|
1101
|
-
restProps = __objRest$a(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "children", "isRotate", "prefix", "suffix"]);
|
|
1102
|
-
const [hover, setHover] = React.useState(false);
|
|
1103
|
-
const _src = React.useMemo(() => {
|
|
1104
|
-
if (active && activeSrc) {
|
|
1105
|
-
return activeSrc;
|
|
1106
|
-
}
|
|
1107
|
-
if (hover && hoverSrc) {
|
|
1108
|
-
return hoverSrc;
|
|
1109
|
-
}
|
|
1110
|
-
return src;
|
|
1111
|
-
}, [active, activeSrc, hover, hoverSrc, src]);
|
|
1112
|
-
const suffixIconSrc = React.useMemo(() => {
|
|
1113
|
-
if (!suffix) {
|
|
1114
|
-
return void 0;
|
|
1115
|
-
}
|
|
1116
|
-
const {
|
|
1117
|
-
activeSrc: activeSrc2,
|
|
1118
|
-
hoverSrc: hoverSrc2,
|
|
1119
|
-
src: src2
|
|
1120
|
-
} = suffix;
|
|
1121
|
-
if (active && activeSrc2) {
|
|
1122
|
-
return activeSrc2;
|
|
1123
|
-
}
|
|
1124
|
-
if (hover && hoverSrc2) {
|
|
1125
|
-
return hoverSrc2;
|
|
1126
|
-
}
|
|
1127
|
-
return src2;
|
|
1128
|
-
}, [active, hover, suffix]);
|
|
1129
|
-
return /* @__PURE__ */React.createElement(BaseIcon, __spreadProps$c(__spreadValues$f({
|
|
1130
|
-
src: _src,
|
|
1131
|
-
className: cs(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
1132
|
-
suffixIconSrc,
|
|
1133
|
-
height: iconHeight,
|
|
1134
|
-
width: iconWidth,
|
|
1135
|
-
prefixNode: prefix,
|
|
1136
|
-
style: _.pickBy(__spreadValues$f({
|
|
1137
|
-
cursor
|
|
1138
|
-
}, style))
|
|
1139
|
-
}, restProps), {
|
|
1140
|
-
onMouseEnter: e => {
|
|
1141
|
-
onMouseEnter == null ? void 0 : onMouseEnter(e);
|
|
1142
|
-
if (hover) {
|
|
1143
|
-
setHover(true);
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
onMouseMove: e => {
|
|
1147
|
-
onMouseMove == null ? void 0 : onMouseMove(e);
|
|
1148
|
-
if (hoverSrc) {
|
|
1149
|
-
setHover(true);
|
|
1150
|
-
}
|
|
1151
|
-
},
|
|
1152
|
-
onMouseLeave: e => {
|
|
1153
|
-
onMouseLeave == null ? void 0 : onMouseLeave(e);
|
|
1154
|
-
if (hoverSrc) {
|
|
1155
|
-
setHover(false);
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
}));
|
|
1159
|
-
});
|
|
1160
|
-
|
|
1161
|
-
var img$2 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.06067 3.75725C9.45119 3.36672 10.0844 3.36672 10.4749 3.75725C10.8654 4.14777 10.8654 4.78094 10.4749 5.17146L7.64645 7.99989L10.4749 10.8283C10.8654 11.2188 10.8654 11.852 10.4749 12.2425C10.0844 12.6331 9.45119 12.6331 9.06067 12.2425L5.9494 9.13126C5.55338 8.73524 5.35537 8.53723 5.28118 8.30891C5.21592 8.10806 5.21592 7.89172 5.28118 7.69087C5.35537 7.46254 5.55338 7.26454 5.9494 6.86852L9.06067 3.75725Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
1162
|
-
|
|
1163
|
-
var img$1 = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.05028 9.4142L6.86865 5.59582C6.87513 5.58934 6.88156 5.58292 6.88793 5.57655C7.27116 5.19336 7.46641 5.00058 7.69101 4.92761C7.89185 4.86235 8.1082 4.86235 8.30904 4.92761C8.53737 5.00179 8.73538 5.1998 9.1314 5.59582L12.9498 9.4142C13.3403 9.80472 13.3403 10.4379 12.9498 10.8284C12.5592 11.2189 11.9261 11.2189 11.5356 10.8284L8.00003 7.29288L4.46449 10.8284C4.07397 11.2189 3.4408 11.2189 3.05028 10.8284C2.65975 10.4379 2.65975 9.80472 3.05028 9.4142Z' fill='%232C3852' fill-opacity='0.6'/%3e%3c/svg%3e";
|
|
1164
|
-
|
|
1165
|
-
var img = "data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.81662 7.33209C10.1545 7.55506 10.3235 7.66655 10.3822 7.80742C10.4336 7.93055 10.4336 8.0691 10.3822 8.19224C10.3235 8.33311 10.1545 8.4446 9.81662 8.66757L6.81921 10.6454C6.4159 10.9115 6.21424 11.0445 6.04715 11.034C5.90158 11.0248 5.76727 10.9525 5.67943 10.8361C5.57861 10.7024 5.57861 10.4608 5.57861 9.97761L5.57861 6.02205C5.57861 5.53885 5.57861 5.29726 5.67943 5.16359C5.76727 5.04714 5.90158 4.97485 6.04715 4.96567C6.21424 4.95513 6.4159 5.08819 6.81921 5.35431L9.81662 7.33209Z' fill='%230080FF'/%3e%3c/svg%3e";
|
|
1166
|
-
|
|
1167
|
-
const InputTagItem = /*#__PURE__*/react.styled('span')({
|
|
1168
|
-
name: "InputTagItem",
|
|
1169
|
-
class: "iap75of",
|
|
1170
|
-
propsAsIs: false
|
|
1171
|
-
});
|
|
1172
|
-
|
|
1173
|
-
const transformToArray = (stringOrArray) => {
|
|
1174
|
-
return stringOrArray instanceof Array ? stringOrArray : [stringOrArray];
|
|
1175
|
-
};
|
|
1176
|
-
const onResizeElem = (element, callback) => {
|
|
1177
|
-
const els = transformToArray(element);
|
|
1178
|
-
const data = {
|
|
1179
|
-
els,
|
|
1180
|
-
offsetWidth: els.map((el) => el.offsetWidth),
|
|
1181
|
-
offsetHeight: els.map((el) => el.offsetHeight),
|
|
1182
|
-
callback
|
|
1183
|
-
};
|
|
1184
|
-
const checkForChanges = () => {
|
|
1185
|
-
const nextOffsetWidth = data.els.map((el) => el.offsetWidth);
|
|
1186
|
-
const nextOffsetHeight = data.els.map((el) => el.offsetWidth);
|
|
1187
|
-
if (!_.isEqual(nextOffsetWidth, data.offsetWidth) || _.isEqual(nextOffsetHeight, data.offsetHeight)) {
|
|
1188
|
-
data.offsetWidth = nextOffsetWidth;
|
|
1189
|
-
data.offsetHeight = nextOffsetHeight;
|
|
1190
|
-
data.callback();
|
|
1191
|
-
}
|
|
1192
|
-
};
|
|
1193
|
-
const mutationObserver = new MutationObserver(checkForChanges);
|
|
1194
|
-
mutationObserver.observe(document.body, {
|
|
1195
|
-
attributes: true,
|
|
1196
|
-
subtree: true
|
|
1197
|
-
});
|
|
1198
|
-
window.addEventListener("resize", checkForChanges);
|
|
1199
|
-
const disconnect = () => {
|
|
1200
|
-
window.removeEventListener("resize", checkForChanges);
|
|
1201
|
-
mutationObserver.disconnect();
|
|
1202
|
-
};
|
|
1203
|
-
return disconnect;
|
|
1204
|
-
};
|
|
1205
|
-
const useElementResize = (klass, cb, depend) => {
|
|
1206
|
-
const klasses = transformToArray(klass);
|
|
1207
|
-
React.useEffect(() => {
|
|
1208
|
-
let els = [];
|
|
1209
|
-
if (typeof klass === "object" && "current" in klass) {
|
|
1210
|
-
els = klass.current ? [klass.current] : [];
|
|
1211
|
-
} else {
|
|
1212
|
-
klasses.forEach((klass2) => {
|
|
1213
|
-
const arr = Array.from(
|
|
1214
|
-
document.querySelectorAll(klass2)
|
|
1215
|
-
);
|
|
1216
|
-
if (arr.length > 0) {
|
|
1217
|
-
els = [...els, ...arr];
|
|
1218
|
-
}
|
|
1219
|
-
});
|
|
1220
|
-
}
|
|
1221
|
-
if (!els.length)
|
|
1222
|
-
return;
|
|
1223
|
-
if (typeof ResizeObserver === "function") {
|
|
1224
|
-
const resizeObserver = new ResizeObserver(cb);
|
|
1225
|
-
els.forEach((el) => {
|
|
1226
|
-
resizeObserver.observe(el);
|
|
1227
|
-
});
|
|
1228
|
-
return () => resizeObserver.disconnect();
|
|
1229
|
-
} else {
|
|
1230
|
-
return onResizeElem(Array.from(els), cb);
|
|
1231
|
-
}
|
|
1232
|
-
}, [cb, ...depend || []]);
|
|
1233
|
-
};
|
|
1234
|
-
|
|
1235
|
-
const SECOND = 1;
|
|
1236
|
-
const MINUTE = 60 * SECOND;
|
|
1237
|
-
const HOUR = 60 * MINUTE;
|
|
1238
|
-
const DAY = 24 * HOUR;
|
|
1239
|
-
|
|
1240
|
-
const EMPTY_FUNCTION = () => {
|
|
1241
|
-
};
|
|
1242
|
-
|
|
1243
|
-
function getSize(el) {
|
|
1244
|
-
if (!el) {
|
|
1245
|
-
return {
|
|
1246
|
-
width: 0,
|
|
1247
|
-
height: 0
|
|
1248
|
-
};
|
|
1249
|
-
}
|
|
1250
|
-
return {
|
|
1251
|
-
width: el.offsetWidth,
|
|
1252
|
-
height: el.offsetHeight
|
|
1253
|
-
};
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
const hashHistory = history.createHashHistory();
|
|
1257
|
-
|
|
1258
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
|
1259
|
-
//
|
|
1260
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
1261
|
-
// copy of this software and associated documentation files (the
|
|
1262
|
-
// "Software"), to deal in the Software without restriction, including
|
|
1263
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
|
1264
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
1265
|
-
// persons to whom the Software is furnished to do so, subject to the
|
|
1266
|
-
// following conditions:
|
|
1267
|
-
//
|
|
1268
|
-
// The above copyright notice and this permission notice shall be included
|
|
1269
|
-
// in all copies or substantial portions of the Software.
|
|
1270
|
-
//
|
|
1271
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
1272
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1273
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
1274
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
1275
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
1276
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
1277
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
// If obj.hasOwnProperty has been overridden, then calling
|
|
1281
|
-
// obj.hasOwnProperty(prop) will break.
|
|
1282
|
-
// See: https://github.com/joyent/node/issues/1707
|
|
1283
|
-
function hasOwnProperty(obj, prop) {
|
|
1284
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
1285
|
-
}
|
|
1286
|
-
var isArray = Array.isArray || function (xs) {
|
|
1287
|
-
return Object.prototype.toString.call(xs) === '[object Array]';
|
|
1288
|
-
};
|
|
1289
|
-
function stringifyPrimitive(v) {
|
|
1290
|
-
switch (typeof v) {
|
|
1291
|
-
case 'string':
|
|
1292
|
-
return v;
|
|
1293
|
-
|
|
1294
|
-
case 'boolean':
|
|
1295
|
-
return v ? 'true' : 'false';
|
|
1296
|
-
|
|
1297
|
-
case 'number':
|
|
1298
|
-
return isFinite(v) ? v : '';
|
|
1299
|
-
|
|
1300
|
-
default:
|
|
1301
|
-
return '';
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
function stringify (obj, sep, eq, name) {
|
|
1306
|
-
sep = sep || '&';
|
|
1307
|
-
eq = eq || '=';
|
|
1308
|
-
if (obj === null) {
|
|
1309
|
-
obj = undefined;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
if (typeof obj === 'object') {
|
|
1313
|
-
return map(objectKeys(obj), function(k) {
|
|
1314
|
-
var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;
|
|
1315
|
-
if (isArray(obj[k])) {
|
|
1316
|
-
return map(obj[k], function(v) {
|
|
1317
|
-
return ks + encodeURIComponent(stringifyPrimitive(v));
|
|
1318
|
-
}).join(sep);
|
|
1319
|
-
} else {
|
|
1320
|
-
return ks + encodeURIComponent(stringifyPrimitive(obj[k]));
|
|
1321
|
-
}
|
|
1322
|
-
}).join(sep);
|
|
1323
|
-
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
if (!name) return '';
|
|
1327
|
-
return encodeURIComponent(stringifyPrimitive(name)) + eq +
|
|
1328
|
-
encodeURIComponent(stringifyPrimitive(obj));
|
|
1329
|
-
}
|
|
1330
|
-
function map (xs, f) {
|
|
1331
|
-
if (xs.map) return xs.map(f);
|
|
1332
|
-
var res = [];
|
|
1333
|
-
for (var i = 0; i < xs.length; i++) {
|
|
1334
|
-
res.push(f(xs[i], i));
|
|
1335
|
-
}
|
|
1336
|
-
return res;
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
var objectKeys = Object.keys || function (obj) {
|
|
1340
|
-
var res = [];
|
|
1341
|
-
for (var key in obj) {
|
|
1342
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);
|
|
1343
|
-
}
|
|
1344
|
-
return res;
|
|
1345
|
-
};
|
|
1346
|
-
|
|
1347
|
-
function parse(qs, sep, eq, options) {
|
|
1348
|
-
sep = sep || '&';
|
|
1349
|
-
eq = eq || '=';
|
|
1350
|
-
var obj = {};
|
|
1351
|
-
|
|
1352
|
-
if (typeof qs !== 'string' || qs.length === 0) {
|
|
1353
|
-
return obj;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
var regexp = /\+/g;
|
|
1357
|
-
qs = qs.split(sep);
|
|
1358
|
-
|
|
1359
|
-
var maxKeys = 1000;
|
|
1360
|
-
if (options && typeof options.maxKeys === 'number') {
|
|
1361
|
-
maxKeys = options.maxKeys;
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
var len = qs.length;
|
|
1365
|
-
// maxKeys <= 0 means that we should not limit keys count
|
|
1366
|
-
if (maxKeys > 0 && len > maxKeys) {
|
|
1367
|
-
len = maxKeys;
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
for (var i = 0; i < len; ++i) {
|
|
1371
|
-
var x = qs[i].replace(regexp, '%20'),
|
|
1372
|
-
idx = x.indexOf(eq),
|
|
1373
|
-
kstr, vstr, k, v;
|
|
1374
|
-
|
|
1375
|
-
if (idx >= 0) {
|
|
1376
|
-
kstr = x.substr(0, idx);
|
|
1377
|
-
vstr = x.substr(idx + 1);
|
|
1378
|
-
} else {
|
|
1379
|
-
kstr = x;
|
|
1380
|
-
vstr = '';
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
k = decodeURIComponent(kstr);
|
|
1384
|
-
v = decodeURIComponent(vstr);
|
|
1385
|
-
|
|
1386
|
-
if (!hasOwnProperty(obj, k)) {
|
|
1387
|
-
obj[k] = v;
|
|
1388
|
-
} else if (isArray(obj[k])) {
|
|
1389
|
-
obj[k].push(v);
|
|
1390
|
-
} else {
|
|
1391
|
-
obj[k] = [obj[k], v];
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
return obj;
|
|
1396
|
-
}var qs = {
|
|
1397
|
-
encode: stringify,
|
|
1398
|
-
stringify: stringify,
|
|
1399
|
-
decode: parse,
|
|
1400
|
-
parse: parse
|
|
1401
|
-
};
|
|
1402
|
-
|
|
1403
|
-
var __defProp$e = Object.defineProperty;
|
|
1404
|
-
var __defProps$b = Object.defineProperties;
|
|
1405
|
-
var __getOwnPropDescs$b = Object.getOwnPropertyDescriptors;
|
|
1406
|
-
var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
|
|
1407
|
-
var __hasOwnProp$e = Object.prototype.hasOwnProperty;
|
|
1408
|
-
var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
|
|
1409
|
-
var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1410
|
-
var __spreadValues$e = (a, b) => {
|
|
1411
|
-
for (var prop in b || (b = {}))
|
|
1412
|
-
if (__hasOwnProp$e.call(b, prop))
|
|
1413
|
-
__defNormalProp$e(a, prop, b[prop]);
|
|
1414
|
-
if (__getOwnPropSymbols$e)
|
|
1415
|
-
for (var prop of __getOwnPropSymbols$e(b)) {
|
|
1416
|
-
if (__propIsEnum$e.call(b, prop))
|
|
1417
|
-
__defNormalProp$e(a, prop, b[prop]);
|
|
1418
|
-
}
|
|
1419
|
-
return a;
|
|
1420
|
-
};
|
|
1421
|
-
var __spreadProps$b = (a, b) => __defProps$b(a, __getOwnPropDescs$b(b));
|
|
1422
|
-
const routes = {
|
|
1423
|
-
overview: {
|
|
1424
|
-
path: ""
|
|
1425
|
-
},
|
|
1426
|
-
datacenters: {
|
|
1427
|
-
path: "datacenters",
|
|
1428
|
-
views: [
|
|
1429
|
-
"detail",
|
|
1430
|
-
"clusters",
|
|
1431
|
-
"hosts",
|
|
1432
|
-
"vms",
|
|
1433
|
-
"elfImages",
|
|
1434
|
-
"vmTemplates",
|
|
1435
|
-
"vmVolumes",
|
|
1436
|
-
"disks",
|
|
1437
|
-
"usbDevices",
|
|
1438
|
-
"vmPlacementGroup",
|
|
1439
|
-
"iscsiTargets",
|
|
1440
|
-
"nvmfSubsystems",
|
|
1441
|
-
"labels"
|
|
1442
|
-
]
|
|
1443
|
-
},
|
|
1444
|
-
clusters: {
|
|
1445
|
-
path: "clusters",
|
|
1446
|
-
views: [
|
|
1447
|
-
"detail",
|
|
1448
|
-
"hosts",
|
|
1449
|
-
"disks",
|
|
1450
|
-
"nics",
|
|
1451
|
-
"usbDevices",
|
|
1452
|
-
"vms",
|
|
1453
|
-
"vmPlacementGroup",
|
|
1454
|
-
"elfImages",
|
|
1455
|
-
"vmTemplates",
|
|
1456
|
-
"vmVolumes",
|
|
1457
|
-
"nfsExports",
|
|
1458
|
-
"iscsiTargets",
|
|
1459
|
-
"nvmfSubsystems",
|
|
1460
|
-
"connection",
|
|
1461
|
-
"vds",
|
|
1462
|
-
"vm_vlan",
|
|
1463
|
-
"system_vlan",
|
|
1464
|
-
"snapshot-plans",
|
|
1465
|
-
"metro",
|
|
1466
|
-
"monitor",
|
|
1467
|
-
"alerts",
|
|
1468
|
-
"logCollection",
|
|
1469
|
-
"consistencyGroups",
|
|
1470
|
-
"labels",
|
|
1471
|
-
"hardware_topo",
|
|
1472
|
-
"setting"
|
|
1473
|
-
]
|
|
1474
|
-
},
|
|
1475
|
-
hosts: {
|
|
1476
|
-
path: "hosts",
|
|
1477
|
-
views: [
|
|
1478
|
-
"detail",
|
|
1479
|
-
"disks",
|
|
1480
|
-
"nics",
|
|
1481
|
-
"vms",
|
|
1482
|
-
"monitor",
|
|
1483
|
-
"usbDevices",
|
|
1484
|
-
"labels"
|
|
1485
|
-
]
|
|
1486
|
-
},
|
|
1487
|
-
vms: {
|
|
1488
|
-
path: "vms"
|
|
1489
|
-
},
|
|
1490
|
-
vm_folders: {
|
|
1491
|
-
path: "vm_folders"
|
|
1492
|
-
},
|
|
1493
|
-
login: {
|
|
1494
|
-
path: "login"
|
|
1495
|
-
},
|
|
1496
|
-
tasks: {
|
|
1497
|
-
path: "tasks"
|
|
1498
|
-
},
|
|
1499
|
-
"vm-recycle": {
|
|
1500
|
-
path: "vm-recycle"
|
|
1501
|
-
},
|
|
1502
|
-
alerts: {
|
|
1503
|
-
path: "alerts"
|
|
1504
|
-
},
|
|
1505
|
-
alert_rules: {
|
|
1506
|
-
path: "alert_rules"
|
|
1507
|
-
},
|
|
1508
|
-
disks: { path: "disks" },
|
|
1509
|
-
elfImages: { path: "elfImages" },
|
|
1510
|
-
vmTemplates: { path: "vmTemplates" },
|
|
1511
|
-
vmVolumes: { path: "vmVolumes" },
|
|
1512
|
-
iscsiTargets: {
|
|
1513
|
-
path: "iscsiTargets",
|
|
1514
|
-
views: ["detail", "lun", "snapshot", "connection"]
|
|
1515
|
-
},
|
|
1516
|
-
nfsExports: {
|
|
1517
|
-
path: "nfsExports",
|
|
1518
|
-
views: ["detail", "inode"]
|
|
1519
|
-
},
|
|
1520
|
-
monitor: { path: "monitor" },
|
|
1521
|
-
"report-tasks": { path: "report-tasks" },
|
|
1522
|
-
"report-templates": { path: "report-templates" },
|
|
1523
|
-
usbDevices: { path: "usbDevices" },
|
|
1524
|
-
"snapshot-plans": { path: "snapshot-plans" },
|
|
1525
|
-
vmPlacementGroup: {
|
|
1526
|
-
path: "vmPlacementGroup"
|
|
1527
|
-
},
|
|
1528
|
-
settings: {
|
|
1529
|
-
path: "settings"
|
|
1530
|
-
},
|
|
1531
|
-
zones: {
|
|
1532
|
-
path: "zones",
|
|
1533
|
-
views: ["detail", "vms", "hosts", "disks"]
|
|
1534
|
-
},
|
|
1535
|
-
nvmfSubsystems: {
|
|
1536
|
-
path: "nvmfSubsystems",
|
|
1537
|
-
views: ["detail", "namespaceGroup", "namespace", "snapshot", "connection"]
|
|
1538
|
-
},
|
|
1539
|
-
namespaceGroups: {
|
|
1540
|
-
path: "namespaceGroups",
|
|
1541
|
-
views: ["namespace"]
|
|
1542
|
-
},
|
|
1543
|
-
"content-library": { path: "content-library" }
|
|
1279
|
+
));
|
|
1544
1280
|
};
|
|
1545
|
-
|
|
1546
|
-
|
|
1281
|
+
|
|
1282
|
+
const InputTagItem = /*#__PURE__*/react.styled('span')({
|
|
1283
|
+
name: "InputTagItem",
|
|
1284
|
+
class: "iap75of",
|
|
1285
|
+
propsAsIs: false
|
|
1286
|
+
});
|
|
1287
|
+
|
|
1288
|
+
const transformToArray = (stringOrArray) => {
|
|
1289
|
+
return stringOrArray instanceof Array ? stringOrArray : [stringOrArray];
|
|
1547
1290
|
};
|
|
1548
|
-
const
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1291
|
+
const onResizeElem = (element, callback) => {
|
|
1292
|
+
const els = transformToArray(element);
|
|
1293
|
+
const data = {
|
|
1294
|
+
els,
|
|
1295
|
+
offsetWidth: els.map((el) => el.offsetWidth),
|
|
1296
|
+
offsetHeight: els.map((el) => el.offsetHeight),
|
|
1297
|
+
callback
|
|
1298
|
+
};
|
|
1299
|
+
const checkForChanges = () => {
|
|
1300
|
+
const nextOffsetWidth = data.els.map((el) => el.offsetWidth);
|
|
1301
|
+
const nextOffsetHeight = data.els.map((el) => el.offsetWidth);
|
|
1302
|
+
if (!_.isEqual(nextOffsetWidth, data.offsetWidth) || _.isEqual(nextOffsetHeight, data.offsetHeight)) {
|
|
1303
|
+
data.offsetWidth = nextOffsetWidth;
|
|
1304
|
+
data.offsetHeight = nextOffsetHeight;
|
|
1305
|
+
data.callback();
|
|
1306
|
+
}
|
|
1307
|
+
};
|
|
1308
|
+
const mutationObserver = new MutationObserver(checkForChanges);
|
|
1309
|
+
mutationObserver.observe(document.body, {
|
|
1310
|
+
attributes: true,
|
|
1311
|
+
subtree: true
|
|
1312
|
+
});
|
|
1313
|
+
window.addEventListener("resize", checkForChanges);
|
|
1314
|
+
const disconnect = () => {
|
|
1315
|
+
window.removeEventListener("resize", checkForChanges);
|
|
1316
|
+
mutationObserver.disconnect();
|
|
1317
|
+
};
|
|
1318
|
+
return disconnect;
|
|
1319
|
+
};
|
|
1320
|
+
const useElementResize = (klass, cb, depend) => {
|
|
1321
|
+
const klasses = transformToArray(klass);
|
|
1322
|
+
React.useEffect(() => {
|
|
1323
|
+
let els = [];
|
|
1324
|
+
if (typeof klass === "object" && "current" in klass) {
|
|
1325
|
+
els = klass.current ? [klass.current] : [];
|
|
1326
|
+
} else {
|
|
1327
|
+
klasses.forEach((klass2) => {
|
|
1328
|
+
const arr = Array.from(
|
|
1329
|
+
document.querySelectorAll(klass2)
|
|
1330
|
+
);
|
|
1331
|
+
if (arr.length > 0) {
|
|
1332
|
+
els = [...els, ...arr];
|
|
1586
1333
|
}
|
|
1587
|
-
}
|
|
1588
|
-
hashHistory[action]({
|
|
1589
|
-
pathname: `/${resource}/${id}`,
|
|
1590
|
-
state: state2,
|
|
1591
|
-
search: _search
|
|
1592
1334
|
});
|
|
1335
|
+
}
|
|
1336
|
+
if (!els.length)
|
|
1337
|
+
return;
|
|
1338
|
+
if (typeof ResizeObserver === "function") {
|
|
1339
|
+
const resizeObserver = new ResizeObserver(cb);
|
|
1340
|
+
els.forEach((el) => {
|
|
1341
|
+
resizeObserver.observe(el);
|
|
1342
|
+
});
|
|
1343
|
+
return () => resizeObserver.disconnect();
|
|
1593
1344
|
} else {
|
|
1594
|
-
|
|
1345
|
+
return onResizeElem(Array.from(els), cb);
|
|
1595
1346
|
}
|
|
1596
|
-
};
|
|
1347
|
+
}, [cb, ...depend || []]);
|
|
1597
1348
|
};
|
|
1598
|
-
__spreadProps$b(__spreadValues$e({}, hashHistory), {
|
|
1599
|
-
push: pushOrReplace("push"),
|
|
1600
|
-
replace: pushOrReplace("replace")
|
|
1601
|
-
});
|
|
1602
1349
|
|
|
1603
1350
|
function getAllSize(classMap) {
|
|
1604
1351
|
return Object.keys(classMap).reduce((prev, cur) => {
|
|
@@ -1777,7 +1524,7 @@
|
|
|
1777
1524
|
size,
|
|
1778
1525
|
allowClear,
|
|
1779
1526
|
onClick,
|
|
1780
|
-
prefix: focusIndicator ? /* @__PURE__ */ React.createElement(Icon, { src: img }) : void 0,
|
|
1527
|
+
prefix: focusIndicator ? /* @__PURE__ */ React.createElement(Icon, { src: img$4 }) : void 0,
|
|
1781
1528
|
error: meta.touched && (meta.error || !meta.dirtySinceLastSubmit && meta.submitError)
|
|
1782
1529
|
}), props), {
|
|
1783
1530
|
onChange: (e) => {
|
|
@@ -2156,138 +1903,76 @@
|
|
|
2156
1903
|
}
|
|
2157
1904
|
};
|
|
2158
1905
|
|
|
2159
|
-
var __defProp$6 = Object.defineProperty;
|
|
2160
|
-
var __defProps$3 = Object.defineProperties;
|
|
2161
|
-
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
2162
|
-
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
2163
|
-
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
2164
|
-
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
2165
|
-
var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
2166
|
-
var __spreadValues$6 = (a, b) => {
|
|
2167
|
-
for (var prop in b || (b = {}))
|
|
2168
|
-
if (__hasOwnProp$6.call(b, prop))
|
|
2169
|
-
__defNormalProp$6(a, prop, b[prop]);
|
|
2170
|
-
if (__getOwnPropSymbols$6)
|
|
2171
|
-
for (var prop of __getOwnPropSymbols$6(b)) {
|
|
2172
|
-
if (__propIsEnum$6.call(b, prop))
|
|
2173
|
-
__defNormalProp$6(a, prop, b[prop]);
|
|
2174
|
-
}
|
|
2175
|
-
return a;
|
|
2176
|
-
};
|
|
2177
|
-
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
2178
|
-
const initialTableState = {};
|
|
2179
|
-
const tableReducer = (state = initialTableState, action) => {
|
|
2180
|
-
var _a;
|
|
2181
|
-
switch (action.type) {
|
|
2182
|
-
case "SET_ROWS_SELECTION" /* SET_ROWS_SELECTION */: {
|
|
2183
|
-
const { resource, rows } = action.payload;
|
|
2184
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
2185
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
2186
|
-
selectRows: rows
|
|
2187
|
-
})
|
|
2188
|
-
});
|
|
2189
|
-
}
|
|
2190
|
-
case "REMOVE_ROW_SELECTION" /* REMOVE_ROW_SELECTION */: {
|
|
2191
|
-
const { resource, id } = action.payload;
|
|
2192
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
2193
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
2194
|
-
selectRows: (_a = state[resource].selectRows) == null ? void 0 : _a.filter((r) => r.id !== id)
|
|
2195
|
-
})
|
|
2196
|
-
});
|
|
2197
|
-
}
|
|
2198
|
-
case "SET_RESOURCE_DATA" /* SET_RESOURCE_DATA */: {
|
|
2199
|
-
const { resource, rows } = action.payload;
|
|
2200
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
2201
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
2202
|
-
rows
|
|
2203
|
-
})
|
|
2204
|
-
});
|
|
2205
|
-
}
|
|
2206
|
-
case "SET_RESOURCE_QUERY" /* SET_RESOURCE_QUERY */: {
|
|
2207
|
-
const { resource, query } = action.payload;
|
|
2208
|
-
return __spreadProps$3(__spreadValues$6({}, state), {
|
|
2209
|
-
[resource]: __spreadProps$3(__spreadValues$6({}, state[resource]), {
|
|
2210
|
-
query
|
|
2211
|
-
})
|
|
2212
|
-
});
|
|
2213
|
-
}
|
|
2214
|
-
default:
|
|
2215
|
-
return state;
|
|
2216
|
-
}
|
|
2217
|
-
};
|
|
2218
|
-
|
|
2219
1906
|
const appReducer = redux.combineReducers({
|
|
2220
1907
|
chart: chartReducer,
|
|
2221
|
-
modal: modalReducer
|
|
2222
|
-
table: tableReducer
|
|
1908
|
+
modal: modalReducer
|
|
2223
1909
|
});
|
|
2224
1910
|
const rootReducer = (state, action) => {
|
|
2225
|
-
if (action.type === "
|
|
1911
|
+
if (action.type === "RESET_UI_KIT_STORE") {
|
|
2226
1912
|
state = {
|
|
2227
1913
|
modal: initialModalState,
|
|
2228
|
-
chart: initialChartState
|
|
2229
|
-
table: initialTableState
|
|
1914
|
+
chart: initialChartState
|
|
2230
1915
|
};
|
|
2231
1916
|
}
|
|
2232
1917
|
return appReducer(state, action);
|
|
2233
1918
|
};
|
|
2234
|
-
const
|
|
1919
|
+
const UIKitStore = redux.createStore(rootReducer);
|
|
2235
1920
|
function pushModal(modal) {
|
|
2236
|
-
|
|
1921
|
+
UIKitStore.dispatch({
|
|
2237
1922
|
type: ModalActions.PUSH_MODAL,
|
|
2238
1923
|
payload: modal
|
|
2239
1924
|
});
|
|
2240
1925
|
}
|
|
2241
1926
|
function popModal() {
|
|
2242
|
-
|
|
1927
|
+
UIKitStore.dispatch({
|
|
2243
1928
|
type: ModalActions.POP_MODAL
|
|
2244
1929
|
});
|
|
2245
1930
|
}
|
|
2246
1931
|
function closeModal(id) {
|
|
2247
|
-
|
|
1932
|
+
UIKitStore.dispatch({
|
|
2248
1933
|
type: ModalActions.CLOSE_MODAL,
|
|
2249
1934
|
id
|
|
2250
1935
|
});
|
|
2251
1936
|
}
|
|
2252
1937
|
|
|
2253
1938
|
const ctx = React.createContext({
|
|
2254
|
-
store,
|
|
2255
|
-
storeState:
|
|
1939
|
+
store: UIKitStore,
|
|
1940
|
+
storeState: UIKitStore.getState()
|
|
2256
1941
|
});
|
|
2257
1942
|
const KitStoreProvider = (props) => {
|
|
2258
1943
|
const { children } = props;
|
|
2259
|
-
return /* @__PURE__ */ React.createElement(reactRedux.Provider, { context: ctx, store }, children);
|
|
1944
|
+
return /* @__PURE__ */ React.createElement(reactRedux.Provider, { context: ctx, store: UIKitStore }, children);
|
|
2260
1945
|
};
|
|
2261
1946
|
const useKitDispatch = reactRedux.createDispatchHook(ctx);
|
|
2262
1947
|
const useKitSelector = reactRedux.createSelectorHook(ctx);
|
|
2263
1948
|
|
|
2264
|
-
var __defProp$
|
|
2265
|
-
var __defProps$
|
|
2266
|
-
var __getOwnPropDescs$
|
|
2267
|
-
var __getOwnPropSymbols$
|
|
2268
|
-
var __hasOwnProp$
|
|
2269
|
-
var __propIsEnum$
|
|
2270
|
-
var __defNormalProp$
|
|
2271
|
-
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) => {
|
|
2272
1957
|
for (var prop in b || (b = {}))
|
|
2273
|
-
if (__hasOwnProp$
|
|
2274
|
-
__defNormalProp$
|
|
2275
|
-
if (__getOwnPropSymbols$
|
|
2276
|
-
for (var prop of __getOwnPropSymbols$
|
|
2277
|
-
if (__propIsEnum$
|
|
2278
|
-
__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]);
|
|
2279
1964
|
}
|
|
2280
1965
|
return a;
|
|
2281
1966
|
};
|
|
2282
|
-
var __spreadProps$
|
|
1967
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
2283
1968
|
var __objRest$4 = (source, exclude) => {
|
|
2284
1969
|
var target = {};
|
|
2285
1970
|
for (var prop in source)
|
|
2286
|
-
if (__hasOwnProp$
|
|
1971
|
+
if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2287
1972
|
target[prop] = source[prop];
|
|
2288
|
-
if (source != null && __getOwnPropSymbols$
|
|
2289
|
-
for (var prop of __getOwnPropSymbols$
|
|
2290
|
-
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))
|
|
2291
1976
|
target[prop] = source[prop];
|
|
2292
1977
|
}
|
|
2293
1978
|
return target;
|
|
@@ -2368,7 +2053,7 @@
|
|
|
2368
2053
|
}
|
|
2369
2054
|
return /* @__PURE__ */ React.createElement(
|
|
2370
2055
|
antd.Modal,
|
|
2371
|
-
__spreadProps$
|
|
2056
|
+
__spreadProps$3(__spreadValues$6({
|
|
2372
2057
|
maskClosable,
|
|
2373
2058
|
className: cs(
|
|
2374
2059
|
className,
|
|
@@ -2403,7 +2088,7 @@
|
|
|
2403
2088
|
prevText
|
|
2404
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(
|
|
2405
2090
|
Button,
|
|
2406
|
-
__spreadValues$
|
|
2091
|
+
__spreadValues$6({
|
|
2407
2092
|
type: "quiet",
|
|
2408
2093
|
onMouseDown: (e) => {
|
|
2409
2094
|
e.preventDefault();
|
|
@@ -2417,7 +2102,7 @@
|
|
|
2417
2102
|
cancelText
|
|
2418
2103
|
), showOk && /* @__PURE__ */ React.createElement(
|
|
2419
2104
|
Button,
|
|
2420
|
-
__spreadValues$
|
|
2105
|
+
__spreadValues$6({
|
|
2421
2106
|
onClick: (e) => {
|
|
2422
2107
|
var _a2, _b2;
|
|
2423
2108
|
onOk == null ? void 0 : onOk(e);
|
|
@@ -2464,28 +2149,127 @@
|
|
|
2464
2149
|
);
|
|
2465
2150
|
};
|
|
2466
2151
|
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2152
|
+
const PaginationStyle = "p12gwtiw";
|
|
2153
|
+
const DropdownOverlayStyle = "d1bnu0in";
|
|
2154
|
+
const Pagination = props => {
|
|
2155
|
+
const {
|
|
2156
|
+
current,
|
|
2157
|
+
count,
|
|
2158
|
+
onChange,
|
|
2159
|
+
size,
|
|
2160
|
+
onSizeChange,
|
|
2161
|
+
showTotal = true,
|
|
2162
|
+
className,
|
|
2163
|
+
selectorVisible = true
|
|
2164
|
+
} = props;
|
|
2165
|
+
const sizeRef = React.useRef(size);
|
|
2166
|
+
React.useEffect(() => {
|
|
2167
|
+
if (sizeRef.current === size) return;
|
|
2168
|
+
sizeRef.current = size;
|
|
2169
|
+
onSizeChange == null ? void 0 : onSizeChange(size);
|
|
2170
|
+
}, [count, size, onSizeChange]);
|
|
2171
|
+
const selectOptions = React.useMemo(() => {
|
|
2172
|
+
if (!selectorVisible) return [];
|
|
2173
|
+
return Array.from({
|
|
2174
|
+
length: Math.ceil(count / size)
|
|
2175
|
+
}, (r, i) => {
|
|
2176
|
+
const value = i * size;
|
|
2177
|
+
const lastRange2 = value + size;
|
|
2178
|
+
return {
|
|
2179
|
+
value: i + 1,
|
|
2180
|
+
text: parrot.parrotI18n.t("components.pagination_range", {
|
|
2181
|
+
range1: value + 1,
|
|
2182
|
+
range2: lastRange2 > count ? count : lastRange2
|
|
2183
|
+
})
|
|
2184
|
+
};
|
|
2185
|
+
});
|
|
2186
|
+
}, [selectorVisible, count, size]);
|
|
2187
|
+
let lastRange = current * size;
|
|
2188
|
+
lastRange = lastRange > count ? count : lastRange;
|
|
2189
|
+
const renderLeft = () => {
|
|
2190
|
+
if (!showTotal) return null;
|
|
2191
|
+
const content = parrot.parrotI18n.t("components.pagination_total", {
|
|
2192
|
+
range1: (current - 1) * size + 1,
|
|
2193
|
+
range2: lastRange,
|
|
2194
|
+
total: count
|
|
2195
|
+
});
|
|
2196
|
+
if (selectorVisible) {
|
|
2197
|
+
return /* @__PURE__ */React.createElement(antd.Dropdown, {
|
|
2198
|
+
placement: "topLeft",
|
|
2199
|
+
overlayClassName: DropdownOverlayStyle,
|
|
2200
|
+
overlay: /* @__PURE__ */React.createElement(antd.Menu, null, /* @__PURE__ */React.createElement(antd.Menu.ItemGroup, {
|
|
2201
|
+
title: parrot.parrotI18n.t("components.push_to")
|
|
2202
|
+
}, selectOptions.map(option => /* @__PURE__ */React.createElement(antd.Menu.Item, {
|
|
2203
|
+
key: option.value,
|
|
2204
|
+
onClick: () => onChange(option.value)
|
|
2205
|
+
}, option.text))))
|
|
2206
|
+
}, /* @__PURE__ */React.createElement(Icon, {
|
|
2207
|
+
className: "pagination-left dropdown-trigger",
|
|
2208
|
+
src: img$8,
|
|
2209
|
+
hoverSrc: img$9,
|
|
2210
|
+
prefix: content
|
|
2211
|
+
}));
|
|
2212
|
+
}
|
|
2213
|
+
return /* @__PURE__ */React.createElement("span", {
|
|
2214
|
+
className: "pagination-left"
|
|
2215
|
+
}, content);
|
|
2216
|
+
};
|
|
2217
|
+
if (count === 0) {
|
|
2218
|
+
return null;
|
|
2219
|
+
}
|
|
2220
|
+
return /* @__PURE__ */React.createElement("div", {
|
|
2221
|
+
className: cs(PaginationStyle, "pagination-wrapper", className, selectorVisible && "has-selector")
|
|
2222
|
+
}, renderLeft(), /* @__PURE__ */React.createElement("span", {
|
|
2223
|
+
className: "pagination-right"
|
|
2224
|
+
}, current > 1 && /* @__PURE__ */React.createElement(Button, {
|
|
2225
|
+
className: "prev-btn",
|
|
2226
|
+
type: "quiet",
|
|
2227
|
+
size: "small",
|
|
2228
|
+
prefixIcon: /* @__PURE__ */React.createElement(Icon, {
|
|
2229
|
+
src: img$7
|
|
2230
|
+
}),
|
|
2231
|
+
onClick: () => {
|
|
2232
|
+
onChange == null ? void 0 : onChange(current - 1);
|
|
2233
|
+
}
|
|
2234
|
+
}, parrot.parrotI18n.t("components.previous_items", {
|
|
2235
|
+
size
|
|
2236
|
+
})), current * size < count && /* @__PURE__ */React.createElement(Button, {
|
|
2237
|
+
className: "next-btn",
|
|
2238
|
+
type: "quiet",
|
|
2239
|
+
size: "small",
|
|
2240
|
+
prefixIcon: /* @__PURE__ */React.createElement(Icon, {
|
|
2241
|
+
src: img$7
|
|
2242
|
+
}),
|
|
2243
|
+
onClick: () => {
|
|
2244
|
+
onChange == null ? void 0 : onChange(current + 1);
|
|
2245
|
+
}
|
|
2246
|
+
}, parrot.parrotI18n.t("components.next_items", {
|
|
2247
|
+
size
|
|
2248
|
+
}))));
|
|
2249
|
+
};
|
|
2250
|
+
|
|
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, {
|
|
2472
2256
|
enumerable: true,
|
|
2473
2257
|
configurable: true,
|
|
2474
2258
|
writable: true,
|
|
2475
2259
|
value
|
|
2476
2260
|
}) : obj[key] = value;
|
|
2477
|
-
var __spreadValues$
|
|
2478
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2479
|
-
if (__getOwnPropSymbols$
|
|
2480
|
-
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]);
|
|
2481
2265
|
}
|
|
2482
2266
|
return a;
|
|
2483
2267
|
};
|
|
2484
2268
|
var __objRest$3 = (source, exclude) => {
|
|
2485
2269
|
var target = {};
|
|
2486
|
-
for (var prop in source) if (__hasOwnProp$
|
|
2487
|
-
if (source != null && __getOwnPropSymbols$
|
|
2488
|
-
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];
|
|
2489
2273
|
}
|
|
2490
2274
|
return target;
|
|
2491
2275
|
};
|
|
@@ -2511,7 +2295,7 @@
|
|
|
2511
2295
|
className: core.cx("radio-description", Typo.Label.l4_regular)
|
|
2512
2296
|
}, description));
|
|
2513
2297
|
}
|
|
2514
|
-
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({
|
|
2515
2299
|
className: core.cx(className, RadioStyle, compact && "compact"),
|
|
2516
2300
|
checked: checked || false,
|
|
2517
2301
|
"data-test": context.name ? `${context.name}-${String(props.value)}` : String(props.value)
|
|
@@ -2529,7 +2313,7 @@
|
|
|
2529
2313
|
disabled: props.disabled,
|
|
2530
2314
|
name: props.name
|
|
2531
2315
|
}
|
|
2532
|
-
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$
|
|
2316
|
+
}, /* @__PURE__ */React.createElement(antd.Radio.Group, __spreadValues$5({
|
|
2533
2317
|
className: core.cx(className, RadioGroupStyle)
|
|
2534
2318
|
}, props), children ? children : null));
|
|
2535
2319
|
};
|
|
@@ -2585,36 +2369,36 @@
|
|
|
2585
2369
|
className: "ant-radio-button-input-label"
|
|
2586
2370
|
}, typeof children === "string" ? children : ""));
|
|
2587
2371
|
};
|
|
2588
|
-
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$
|
|
2372
|
+
return /* @__PURE__ */React.createElement(antd.Radio.Button, __spreadValues$5({
|
|
2589
2373
|
className: core.cx(className, RadioButtonStyle),
|
|
2590
2374
|
value: radioButtonValue
|
|
2591
2375
|
}, props), renderChildren());
|
|
2592
2376
|
};
|
|
2593
2377
|
|
|
2594
|
-
var __defProp$
|
|
2595
|
-
var __getOwnPropSymbols$
|
|
2596
|
-
var __hasOwnProp$
|
|
2597
|
-
var __propIsEnum$
|
|
2598
|
-
var __defNormalProp$
|
|
2599
|
-
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) => {
|
|
2600
2384
|
for (var prop in b || (b = {}))
|
|
2601
|
-
if (__hasOwnProp$
|
|
2602
|
-
__defNormalProp$
|
|
2603
|
-
if (__getOwnPropSymbols$
|
|
2604
|
-
for (var prop of __getOwnPropSymbols$
|
|
2605
|
-
if (__propIsEnum$
|
|
2606
|
-
__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]);
|
|
2607
2391
|
}
|
|
2608
2392
|
return a;
|
|
2609
2393
|
};
|
|
2610
2394
|
var __objRest$2 = (source, exclude) => {
|
|
2611
2395
|
var target = {};
|
|
2612
2396
|
for (var prop in source)
|
|
2613
|
-
if (__hasOwnProp$
|
|
2397
|
+
if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
2614
2398
|
target[prop] = source[prop];
|
|
2615
|
-
if (source != null && __getOwnPropSymbols$
|
|
2616
|
-
for (var prop of __getOwnPropSymbols$
|
|
2617
|
-
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))
|
|
2618
2402
|
target[prop] = source[prop];
|
|
2619
2403
|
}
|
|
2620
2404
|
return target;
|
|
@@ -2624,7 +2408,7 @@
|
|
|
2624
2408
|
const onSearch = _.debounce(onChange, debounceWait);
|
|
2625
2409
|
return /* @__PURE__ */ React.createElement(
|
|
2626
2410
|
Input,
|
|
2627
|
-
__spreadValues$
|
|
2411
|
+
__spreadValues$4({
|
|
2628
2412
|
style: { width: 276 },
|
|
2629
2413
|
prefix: /* @__PURE__ */ React.createElement(icons.SearchOutlined, null),
|
|
2630
2414
|
onChange: (e) => onSearch(e.target.value)
|
|
@@ -2632,8 +2416,6 @@
|
|
|
2632
2416
|
);
|
|
2633
2417
|
};
|
|
2634
2418
|
|
|
2635
|
-
const PaginationStyle = "p12gwtiw";
|
|
2636
|
-
|
|
2637
2419
|
const inputStyle = "igz4le8";
|
|
2638
2420
|
const SimplePagination = props => {
|
|
2639
2421
|
const {
|
|
@@ -2670,7 +2452,7 @@
|
|
|
2670
2452
|
marginRight: "8px"
|
|
2671
2453
|
},
|
|
2672
2454
|
prefixIcon: /* @__PURE__ */React.createElement(Icon, {
|
|
2673
|
-
src: img$
|
|
2455
|
+
src: img$7
|
|
2674
2456
|
}),
|
|
2675
2457
|
onClick: () => {
|
|
2676
2458
|
onPageChange == null ? void 0 : onPageChange(current - 1);
|
|
@@ -2697,7 +2479,7 @@
|
|
|
2697
2479
|
marginLeft: "8px"
|
|
2698
2480
|
},
|
|
2699
2481
|
prefixIcon: /* @__PURE__ */React.createElement(Icon, {
|
|
2700
|
-
src: img$
|
|
2482
|
+
src: img$7
|
|
2701
2483
|
}),
|
|
2702
2484
|
onClick: () => {
|
|
2703
2485
|
onPageChange == null ? void 0 : onPageChange(current + 1);
|
|
@@ -2746,7 +2528,7 @@
|
|
|
2746
2528
|
return hasScrollBar;
|
|
2747
2529
|
};
|
|
2748
2530
|
|
|
2749
|
-
const TableLoadingStyle = "
|
|
2531
|
+
const TableLoadingStyle = "t1gz6wqf";
|
|
2750
2532
|
const TableLoading = () => {
|
|
2751
2533
|
const sizes = useElementsSize({
|
|
2752
2534
|
loading: ".ant-table-wrapper .ant-spin"
|
|
@@ -2778,30 +2560,30 @@
|
|
|
2778
2560
|
} = props;
|
|
2779
2561
|
return /* @__PURE__ */React.createElement(React.Fragment, null, title, /* @__PURE__ */React.createElement(Icon, {
|
|
2780
2562
|
className: cs("order-icon", sortOrder),
|
|
2781
|
-
src: img$
|
|
2563
|
+
src: img$6
|
|
2782
2564
|
}));
|
|
2783
2565
|
};
|
|
2784
2566
|
|
|
2785
|
-
var __defProp$
|
|
2786
|
-
var __defProps$
|
|
2787
|
-
var __getOwnPropDescs$
|
|
2788
|
-
var __getOwnPropSymbols$
|
|
2789
|
-
var __hasOwnProp$
|
|
2790
|
-
var __propIsEnum$
|
|
2791
|
-
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, {
|
|
2792
2574
|
enumerable: true,
|
|
2793
2575
|
configurable: true,
|
|
2794
2576
|
writable: true,
|
|
2795
2577
|
value
|
|
2796
2578
|
}) : obj[key] = value;
|
|
2797
|
-
var __spreadValues$
|
|
2798
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
2799
|
-
if (__getOwnPropSymbols$
|
|
2800
|
-
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]);
|
|
2801
2583
|
}
|
|
2802
2584
|
return a;
|
|
2803
2585
|
};
|
|
2804
|
-
var __spreadProps$
|
|
2586
|
+
var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
|
|
2805
2587
|
const TableContainerStyle = "t1upn1sz";
|
|
2806
2588
|
const tableStyleCover = "tta5kd2";
|
|
2807
2589
|
const Table = props => {
|
|
@@ -2840,7 +2622,7 @@
|
|
|
2840
2622
|
},
|
|
2841
2623
|
dataSource: dataSource || [],
|
|
2842
2624
|
pagination: pagination || false,
|
|
2843
|
-
columns: columns.map(column => column.sorter ? __spreadProps$
|
|
2625
|
+
columns: columns.map(column => column.sorter ? __spreadProps$2(__spreadValues$3({}, column), {
|
|
2844
2626
|
title: /* @__PURE__ */React.createElement(ColumnTitle, {
|
|
2845
2627
|
title: column.title,
|
|
2846
2628
|
sortOrder: column.sortOrder
|
|
@@ -2861,7 +2643,7 @@
|
|
|
2861
2643
|
}),
|
|
2862
2644
|
rowClassName,
|
|
2863
2645
|
scroll,
|
|
2864
|
-
rowSelection: rowSelection && __spreadProps$
|
|
2646
|
+
rowSelection: rowSelection && __spreadProps$2(__spreadValues$3({}, rowSelection), {
|
|
2865
2647
|
columnWidth: 32
|
|
2866
2648
|
}),
|
|
2867
2649
|
showSorterTooltip: false
|
|
@@ -2975,33 +2757,33 @@
|
|
|
2975
2757
|
}, /* @__PURE__ */React.createElement("span", null, timeZone.text, ", ", timeZone.abbr)));
|
|
2976
2758
|
};
|
|
2977
2759
|
|
|
2978
|
-
var __defProp$
|
|
2979
|
-
var __defProps = Object.defineProperties;
|
|
2980
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2981
|
-
var __getOwnPropSymbols$
|
|
2982
|
-
var __hasOwnProp$
|
|
2983
|
-
var __propIsEnum$
|
|
2984
|
-
var __defNormalProp$
|
|
2985
|
-
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) => {
|
|
2986
2768
|
for (var prop in b || (b = {}))
|
|
2987
|
-
if (__hasOwnProp$
|
|
2988
|
-
__defNormalProp$
|
|
2989
|
-
if (__getOwnPropSymbols$
|
|
2990
|
-
for (var prop of __getOwnPropSymbols$
|
|
2991
|
-
if (__propIsEnum$
|
|
2992
|
-
__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]);
|
|
2993
2775
|
}
|
|
2994
2776
|
return a;
|
|
2995
2777
|
};
|
|
2996
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
2778
|
+
var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
|
|
2997
2779
|
var __objRest$1 = (source, exclude) => {
|
|
2998
2780
|
var target = {};
|
|
2999
2781
|
for (var prop in source)
|
|
3000
|
-
if (__hasOwnProp$
|
|
2782
|
+
if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3001
2783
|
target[prop] = source[prop];
|
|
3002
|
-
if (source != null && __getOwnPropSymbols$
|
|
3003
|
-
for (var prop of __getOwnPropSymbols$
|
|
3004
|
-
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))
|
|
3005
2787
|
target[prop] = source[prop];
|
|
3006
2788
|
}
|
|
3007
2789
|
return target;
|
|
@@ -3055,10 +2837,10 @@
|
|
|
3055
2837
|
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
3056
2838
|
return /* @__PURE__ */ React.createElement(
|
|
3057
2839
|
antd.Tooltip,
|
|
3058
|
-
__spreadProps(__spreadValues$
|
|
2840
|
+
__spreadProps$1(__spreadValues$2({}, restProps), {
|
|
3059
2841
|
overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
3060
2842
|
children: _children,
|
|
3061
|
-
overlayStyle: followMouse ? __spreadValues$
|
|
2843
|
+
overlayStyle: followMouse ? __spreadValues$2({
|
|
3062
2844
|
transform: "translate(-50%, -100%)",
|
|
3063
2845
|
pointerEvents: "none"
|
|
3064
2846
|
}, overlayStyle) : overlayStyle
|
|
@@ -3073,6 +2855,8 @@
|
|
|
3073
2855
|
THEAD_SELECTOR,
|
|
3074
2856
|
TBODY_SELECTOR,
|
|
3075
2857
|
MODAL_WHITELIST,
|
|
2858
|
+
loading: Loading,
|
|
2859
|
+
pagination: Pagination,
|
|
3076
2860
|
select: Select,
|
|
3077
2861
|
option: antd.Select.Option,
|
|
3078
2862
|
table: Table,
|
|
@@ -3087,6 +2871,7 @@
|
|
|
3087
2871
|
checkbox: Checkbox,
|
|
3088
2872
|
fields,
|
|
3089
2873
|
inputGroup: InputGroup,
|
|
2874
|
+
alert: Alert,
|
|
3090
2875
|
searchInput: SearchInput,
|
|
3091
2876
|
radio: Radio,
|
|
3092
2877
|
radioGroup: RadioGroup,
|
|
@@ -3097,7 +2882,9 @@
|
|
|
3097
2882
|
menu: antd.Menu,
|
|
3098
2883
|
menuItem: antd.Menu.Item,
|
|
3099
2884
|
menuItemGroup: antd.Menu.ItemGroup,
|
|
2885
|
+
layout: antd.Layout,
|
|
3100
2886
|
autoComplete: antd.AutoComplete,
|
|
2887
|
+
tag: antd.Tag,
|
|
3101
2888
|
simplePagination: SimplePagination,
|
|
3102
2889
|
space: antd.Space,
|
|
3103
2890
|
timeZoneSelect: TimeZoneSelect
|
|
@@ -3107,28 +2894,28 @@
|
|
|
3107
2894
|
}
|
|
3108
2895
|
const antdKit = getAntdKit();
|
|
3109
2896
|
|
|
3110
|
-
var __defProp = Object.defineProperty;
|
|
3111
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3112
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3113
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
3114
|
-
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, {
|
|
3115
2902
|
enumerable: true,
|
|
3116
2903
|
configurable: true,
|
|
3117
2904
|
writable: true,
|
|
3118
2905
|
value
|
|
3119
2906
|
}) : obj[key] = value;
|
|
3120
|
-
var __spreadValues = (a, b) => {
|
|
3121
|
-
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
3122
|
-
if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) {
|
|
3123
|
-
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]);
|
|
3124
2911
|
}
|
|
3125
2912
|
return a;
|
|
3126
2913
|
};
|
|
3127
2914
|
var __objRest = (source, exclude) => {
|
|
3128
2915
|
var target = {};
|
|
3129
|
-
for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
3130
|
-
if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) {
|
|
3131
|
-
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];
|
|
3132
2919
|
}
|
|
3133
2920
|
return target;
|
|
3134
2921
|
};
|
|
@@ -3172,7 +2959,7 @@
|
|
|
3172
2959
|
style: {
|
|
3173
2960
|
cursor: "not-allowed"
|
|
3174
2961
|
}
|
|
3175
|
-
}, /* @__PURE__ */React.createElement(Button, __spreadValues({
|
|
2962
|
+
}, /* @__PURE__ */React.createElement(Button, __spreadValues$1({
|
|
3176
2963
|
style: {
|
|
3177
2964
|
pointerEvents: "none"
|
|
3178
2965
|
},
|
|
@@ -3182,7 +2969,7 @@
|
|
|
3182
2969
|
ghost,
|
|
3183
2970
|
className: core.cx(ButtonStyle, className2),
|
|
3184
2971
|
prefixIcon: icon
|
|
3185
|
-
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues({
|
|
2972
|
+
}, buttonPropArgs))) : /* @__PURE__ */React.createElement(Button, __spreadValues$1({
|
|
3186
2973
|
type,
|
|
3187
2974
|
size,
|
|
3188
2975
|
danger,
|
|
@@ -3191,7 +2978,7 @@
|
|
|
3191
2978
|
prefixIcon: icon
|
|
3192
2979
|
}, buttonPropArgs)));
|
|
3193
2980
|
}
|
|
3194
|
-
return /* @__PURE__ */React.createElement(Button, __spreadValues({
|
|
2981
|
+
return /* @__PURE__ */React.createElement(Button, __spreadValues$1({
|
|
3195
2982
|
key: key || index,
|
|
3196
2983
|
type,
|
|
3197
2984
|
size,
|
|
@@ -3257,6 +3044,45 @@
|
|
|
3257
3044
|
return dayjs(tick).format("MM/DD");
|
|
3258
3045
|
};
|
|
3259
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
|
+
|
|
3260
3086
|
var Architecture = /* @__PURE__ */ ((Architecture2) => {
|
|
3261
3087
|
Architecture2["Aarch64"] = "AARCH64";
|
|
3262
3088
|
Architecture2["X86_64"] = "X86_64";
|
|
@@ -3304,6 +3130,8 @@
|
|
|
3304
3130
|
exports.EntityAsyncStatus = EntityAsyncStatus;
|
|
3305
3131
|
exports.FailedLoad = FailedLoad;
|
|
3306
3132
|
exports.KitStoreProvider = KitStoreProvider;
|
|
3133
|
+
exports.ModalActions = ModalActions;
|
|
3134
|
+
exports.ModalStack = ModalStack;
|
|
3307
3135
|
exports.PAGINATION_SELECTOR = PAGINATION_SELECTOR;
|
|
3308
3136
|
exports.TABLE_WRAPPER_SELECTOR = TABLE_WRAPPER_SELECTOR;
|
|
3309
3137
|
exports.TBODY_SELECTOR = TBODY_SELECTOR;
|
|
@@ -3311,6 +3139,7 @@
|
|
|
3311
3139
|
exports.TaskStatus = TaskStatus;
|
|
3312
3140
|
exports.Typo = Typo;
|
|
3313
3141
|
exports.UIKitProvider = UIKitProvider;
|
|
3142
|
+
exports.UIKitStore = UIKitStore;
|
|
3314
3143
|
exports.UserSource = UserSource;
|
|
3315
3144
|
exports.antdKit = antdKit;
|
|
3316
3145
|
exports.closeModal = closeModal;
|