@cloudtower/eagle 0.22.7 → 0.22.10

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/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('moment'), require('lodash'), require('react-dom'), require('react-is'), require('@linaria/react'), require('@ant-design/icons'), require('history'), 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', 'moment', 'lodash', 'react-dom', 'react-is', '@linaria/react', '@ant-design/icons', 'history', '@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.moment, global._, global.reactDom, global.reactIs, global.react, global.icons, global.history, 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, history, parrot, redux, reactRedux, core, getScrollBarSize, TimeZones, reactI18next, dayjs) { 'use strict';
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$s = Object.defineProperty;
143
- var __getOwnPropSymbols$t = Object.getOwnPropertySymbols;
144
- var __hasOwnProp$t = Object.prototype.hasOwnProperty;
145
- var __propIsEnum$t = Object.prototype.propertyIsEnumerable;
146
- var __defNormalProp$s = (obj, key, value) => key in obj ? __defProp$s(obj, key, {
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$s = (a, b) => {
153
- for (var prop in b || (b = {})) if (__hasOwnProp$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
154
- if (__getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(b)) {
155
- if (__propIsEnum$t.call(b, prop)) __defNormalProp$s(a, prop, b[prop]);
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$n = (source, exclude) => {
457
+ var __objRest$l = (source, exclude) => {
160
458
  var target = {};
161
- for (var prop in source) if (__hasOwnProp$t.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
162
- if (source != null && __getOwnPropSymbols$t) for (var prop of __getOwnPropSymbols$t(source)) {
163
- if (exclude.indexOf(prop) < 0 && __propIsEnum$t.call(source, prop)) target[prop] = source[prop];
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$n(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
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$s({
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$r = Object.defineProperty;
221
- var __defProps$k = Object.defineProperties;
222
- var __getOwnPropDescs$k = Object.getOwnPropertyDescriptors;
223
- var __getOwnPropSymbols$s = Object.getOwnPropertySymbols;
224
- var __hasOwnProp$s = Object.prototype.hasOwnProperty;
225
- var __propIsEnum$s = Object.prototype.propertyIsEnumerable;
226
- var __defNormalProp$r = (obj, key, value) => key in obj ? __defProp$r(obj, key, {
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$r = (a, b) => {
233
- for (var prop in b || (b = {})) if (__hasOwnProp$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
234
- if (__getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(b)) {
235
- if (__propIsEnum$s.call(b, prop)) __defNormalProp$r(a, prop, b[prop]);
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$k = (a, b) => __defProps$k(a, __getOwnPropDescs$k(b));
240
- var __objRest$m = (source, exclude) => {
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$s.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
243
- if (source != null && __getOwnPropSymbols$s) for (var prop of __getOwnPropSymbols$s(source)) {
244
- if (exclude.indexOf(prop) < 0 && __propIsEnum$s.call(source, prop)) target[prop] = source[prop];
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$m(_b, ["className", "children", "description", "compact"]);
258
- return /* @__PURE__ */React.createElement(antd.Checkbox, __spreadProps$k(__spreadValues$r({}, props), {
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$q = Object.defineProperty;
269
- var __getOwnPropSymbols$r = Object.getOwnPropertySymbols;
270
- var __hasOwnProp$r = Object.prototype.hasOwnProperty;
271
- var __propIsEnum$r = Object.prototype.propertyIsEnumerable;
272
- var __defNormalProp$q = (obj, key, value) => key in obj ? __defProp$q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
273
- var __spreadValues$q = (a, b) => {
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$r.call(b, prop))
276
- __defNormalProp$q(a, prop, b[prop]);
277
- if (__getOwnPropSymbols$r)
278
- for (var prop of __getOwnPropSymbols$r(b)) {
279
- if (__propIsEnum$r.call(b, prop))
280
- __defNormalProp$q(a, prop, b[prop]);
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$l = (source, exclude) => {
582
+ var __objRest$j = (source, exclude) => {
285
583
  var target = {};
286
584
  for (var prop in source)
287
- if (__hasOwnProp$r.call(source, prop) && exclude.indexOf(prop) < 0)
585
+ if (__hasOwnProp$o.call(source, prop) && exclude.indexOf(prop) < 0)
288
586
  target[prop] = source[prop];
289
- if (source != null && __getOwnPropSymbols$r)
290
- for (var prop of __getOwnPropSymbols$r(source)) {
291
- if (exclude.indexOf(prop) < 0 && __propIsEnum$r.call(source, prop))
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$l(_b, ["input", "children"]);
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$q({
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$q = Object.getOwnPropertySymbols;
326
- var __hasOwnProp$q = Object.prototype.hasOwnProperty;
327
- var __propIsEnum$q = Object.prototype.propertyIsEnumerable;
328
- var __objRest$k = (source, exclude) => {
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$q.call(source, prop) && exclude.indexOf(prop) < 0)
629
+ if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
332
630
  target[prop] = source[prop];
333
- if (source != null && __getOwnPropSymbols$q)
334
- for (var prop of __getOwnPropSymbols$q(source)) {
335
- if (exclude.indexOf(prop) < 0 && __propIsEnum$q.call(source, prop))
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$k(_b, [
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$p = Object.defineProperty;
386
- var __getOwnPropSymbols$p = Object.getOwnPropertySymbols;
387
- var __hasOwnProp$p = Object.prototype.hasOwnProperty;
388
- var __propIsEnum$p = Object.prototype.propertyIsEnumerable;
389
- var __defNormalProp$p = (obj, key, value) => key in obj ? __defProp$p(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
390
- var __spreadValues$p = (a, b) => {
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$p.call(b, prop))
393
- __defNormalProp$p(a, prop, b[prop]);
394
- if (__getOwnPropSymbols$p)
395
- for (var prop of __getOwnPropSymbols$p(b)) {
396
- if (__propIsEnum$p.call(b, prop))
397
- __defNormalProp$p(a, prop, b[prop]);
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$p({}, 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" })));
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$o = Object.defineProperty;
408
- var __defProps$j = Object.defineProperties;
409
- var __getOwnPropDescs$j = Object.getOwnPropertyDescriptors;
410
- var __getOwnPropSymbols$o = Object.getOwnPropertySymbols;
411
- var __hasOwnProp$o = Object.prototype.hasOwnProperty;
412
- var __propIsEnum$o = Object.prototype.propertyIsEnumerable;
413
- var __defNormalProp$o = (obj, key, value) => key in obj ? __defProp$o(obj, key, {
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$o = (a, b) => {
420
- for (var prop in b || (b = {})) if (__hasOwnProp$o.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
421
- if (__getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(b)) {
422
- if (__propIsEnum$o.call(b, prop)) __defNormalProp$o(a, prop, b[prop]);
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$j = (a, b) => __defProps$j(a, __getOwnPropDescs$j(b));
427
- var __objRest$j = (source, exclude) => {
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$o.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
430
- if (source != null && __getOwnPropSymbols$o) for (var prop of __getOwnPropSymbols$o(source)) {
431
- if (exclude.indexOf(prop) < 0 && __propIsEnum$o.call(source, prop)) target[prop] = source[prop];
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$j(_b, ["input", "multiple", "className", "scrollBottomBuffer", "onScrollBottom", "onPopupScroll", "onSearch", "showSearch", "filterOption", "loading", "notFoundContent", "children", "error", "selectLimit", "dropdownClassName", "danger", "size", "meta", "placeholder"]);
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$o(__spreadProps$j(__spreadValues$o({}, input), {
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$j(__spreadValues$o({}, child), {
526
- props: __spreadProps$j(__spreadValues$o({}, child.props), {
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$n = Object.defineProperty;
534
- var __getOwnPropSymbols$n = Object.getOwnPropertySymbols;
535
- var __hasOwnProp$n = Object.prototype.hasOwnProperty;
536
- var __propIsEnum$n = Object.prototype.propertyIsEnumerable;
537
- var __defNormalProp$n = (obj, key, value) => key in obj ? __defProp$n(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
538
- var __spreadValues$n = (a, b) => {
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$n.call(b, prop))
541
- __defNormalProp$n(a, prop, b[prop]);
542
- if (__getOwnPropSymbols$n)
543
- for (var prop of __getOwnPropSymbols$n(b)) {
544
- if (__propIsEnum$n.call(b, prop))
545
- __defNormalProp$n(a, prop, b[prop]);
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$i = (source, exclude) => {
847
+ var __objRest$g = (source, exclude) => {
550
848
  var target = {};
551
849
  for (var prop in source)
552
- if (__hasOwnProp$n.call(source, prop) && exclude.indexOf(prop) < 0)
850
+ if (__hasOwnProp$k.call(source, prop) && exclude.indexOf(prop) < 0)
553
851
  target[prop] = source[prop];
554
- if (source != null && __getOwnPropSymbols$n)
555
- for (var prop of __getOwnPropSymbols$n(source)) {
556
- if (exclude.indexOf(prop) < 0 && __propIsEnum$n.call(source, prop))
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$i(_b, [
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$n({}, restProps), emptyLabel && /* @__PURE__ */ React.createElement(antd.Select.Option, { value: "" }, emptyLabel), enumValues.map((v) => {
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$m = Object.defineProperty;
586
- var __defProps$i = Object.defineProperties;
587
- var __getOwnPropDescs$i = Object.getOwnPropertyDescriptors;
588
- var __getOwnPropSymbols$m = Object.getOwnPropertySymbols;
589
- var __hasOwnProp$m = Object.prototype.hasOwnProperty;
590
- var __propIsEnum$m = Object.prototype.propertyIsEnumerable;
591
- var __defNormalProp$m = (obj, key, value) => key in obj ? __defProp$m(obj, key, {
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$m = (a, b) => {
598
- for (var prop in b || (b = {})) if (__hasOwnProp$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
599
- if (__getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(b)) {
600
- if (__propIsEnum$m.call(b, prop)) __defNormalProp$m(a, prop, b[prop]);
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$i = (a, b) => __defProps$i(a, __getOwnPropDescs$i(b));
605
- var __objRest$h = (source, exclude) => {
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$m.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
608
- if (source != null && __getOwnPropSymbols$m) for (var prop of __getOwnPropSymbols$m(source)) {
609
- if (exclude.indexOf(prop) < 0 && __propIsEnum$m.call(source, prop)) target[prop] = source[prop];
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$h(_b, ["className", "error", "size", "suffix", "prefix", "controls"]);
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$i(__spreadValues$m({}, props), {
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$l = Object.defineProperty;
662
- var __defProps$h = Object.defineProperties;
663
- var __getOwnPropDescs$h = Object.getOwnPropertyDescriptors;
664
- var __getOwnPropSymbols$l = Object.getOwnPropertySymbols;
665
- var __hasOwnProp$l = Object.prototype.hasOwnProperty;
666
- var __propIsEnum$l = Object.prototype.propertyIsEnumerable;
667
- var __defNormalProp$l = (obj, key, value) => key in obj ? __defProp$l(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
668
- var __spreadValues$l = (a, b) => {
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$l.call(b, prop))
671
- __defNormalProp$l(a, prop, b[prop]);
672
- if (__getOwnPropSymbols$l)
673
- for (var prop of __getOwnPropSymbols$l(b)) {
674
- if (__propIsEnum$l.call(b, prop))
675
- __defNormalProp$l(a, prop, b[prop]);
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$h = (a, b) => __defProps$h(a, __getOwnPropDescs$h(b));
680
- var __objRest$g = (source, exclude) => {
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$l.call(source, prop) && exclude.indexOf(prop) < 0)
981
+ if (__hasOwnProp$i.call(source, prop) && exclude.indexOf(prop) < 0)
684
982
  target[prop] = source[prop];
685
- if (source != null && __getOwnPropSymbols$l)
686
- for (var prop of __getOwnPropSymbols$l(source)) {
687
- if (exclude.indexOf(prop) < 0 && __propIsEnum$l.call(source, prop))
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$g(_b, [
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$l(__spreadProps$h(__spreadValues$l({}, input), {
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$k = Object.defineProperty;
715
- var __defProps$g = Object.defineProperties;
716
- var __getOwnPropDescs$g = Object.getOwnPropertyDescriptors;
717
- var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
718
- var __hasOwnProp$k = Object.prototype.hasOwnProperty;
719
- var __propIsEnum$k = Object.prototype.propertyIsEnumerable;
720
- var __defNormalProp$k = (obj, key, value) => key in obj ? __defProp$k(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
721
- var __spreadValues$k = (a, b) => {
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$k.call(b, prop))
724
- __defNormalProp$k(a, prop, b[prop]);
725
- if (__getOwnPropSymbols$k)
726
- for (var prop of __getOwnPropSymbols$k(b)) {
727
- if (__propIsEnum$k.call(b, prop))
728
- __defNormalProp$k(a, prop, b[prop]);
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$g = (a, b) => __defProps$g(a, __getOwnPropDescs$g(b));
733
- var __objRest$f = (source, exclude) => {
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$k.call(source, prop) && exclude.indexOf(prop) < 0)
1034
+ if (__hasOwnProp$h.call(source, prop) && exclude.indexOf(prop) < 0)
737
1035
  target[prop] = source[prop];
738
- if (source != null && __getOwnPropSymbols$k)
739
- for (var prop of __getOwnPropSymbols$k(source)) {
740
- if (exclude.indexOf(prop) < 0 && __propIsEnum$k.call(source, prop))
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$f(_b, [
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$g(__spreadValues$k({}, props), {
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$j = Object.defineProperty;
771
- var __defProps$f = Object.defineProperties;
772
- var __getOwnPropDescs$f = Object.getOwnPropertyDescriptors;
773
- var __getOwnPropSymbols$j = Object.getOwnPropertySymbols;
774
- var __hasOwnProp$j = Object.prototype.hasOwnProperty;
775
- var __propIsEnum$j = Object.prototype.propertyIsEnumerable;
776
- var __defNormalProp$j = (obj, key, value) => key in obj ? __defProp$j(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
777
- var __spreadValues$j = (a, b) => {
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$j.call(b, prop))
780
- __defNormalProp$j(a, prop, b[prop]);
781
- if (__getOwnPropSymbols$j)
782
- for (var prop of __getOwnPropSymbols$j(b)) {
783
- if (__propIsEnum$j.call(b, prop))
784
- __defNormalProp$j(a, prop, b[prop]);
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$f = (a, b) => __defProps$f(a, __getOwnPropDescs$f(b));
789
- var __objRest$e = (source, exclude) => {
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$j.call(source, prop) && exclude.indexOf(prop) < 0)
1090
+ if (__hasOwnProp$g.call(source, prop) && exclude.indexOf(prop) < 0)
793
1091
  target[prop] = source[prop];
794
- if (source != null && __getOwnPropSymbols$j)
795
- for (var prop of __getOwnPropSymbols$j(source)) {
796
- if (exclude.indexOf(prop) < 0 && __propIsEnum$j.call(source, prop))
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$e(_b, [
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$j(__spreadProps$f(__spreadValues$j({}, input), {
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$i = Object.defineProperty;
853
- var __defProps$e = Object.defineProperties;
854
- var __getOwnPropDescs$e = Object.getOwnPropertyDescriptors;
855
- var __getOwnPropSymbols$i = Object.getOwnPropertySymbols;
856
- var __hasOwnProp$i = Object.prototype.hasOwnProperty;
857
- var __propIsEnum$i = Object.prototype.propertyIsEnumerable;
858
- var __defNormalProp$i = (obj, key, value) => key in obj ? __defProp$i(obj, key, {
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$i = (a, b) => {
865
- for (var prop in b || (b = {})) if (__hasOwnProp$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
866
- if (__getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(b)) {
867
- if (__propIsEnum$i.call(b, prop)) __defNormalProp$i(a, prop, b[prop]);
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$e = (a, b) => __defProps$e(a, __getOwnPropDescs$e(b));
872
- var __objRest$d = (source, exclude) => {
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$i.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
875
- if (source != null && __getOwnPropSymbols$i) for (var prop of __getOwnPropSymbols$i(source)) {
876
- if (exclude.indexOf(prop) < 0 && __propIsEnum$i.call(source, prop)) target[prop] = source[prop];
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$d(_b, ["className", "error", "size", "suffix", "prefix", "max", "min", "controls"]);
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$e(__spreadValues$i({}, props), {
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$h = Object.defineProperty;
935
- var __defProps$d = Object.defineProperties;
936
- var __getOwnPropDescs$d = Object.getOwnPropertyDescriptors;
937
- var __getOwnPropSymbols$h = Object.getOwnPropertySymbols;
938
- var __hasOwnProp$h = Object.prototype.hasOwnProperty;
939
- var __propIsEnum$h = Object.prototype.propertyIsEnumerable;
940
- var __defNormalProp$h = (obj, key, value) => key in obj ? __defProp$h(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
941
- var __spreadValues$h = (a, b) => {
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$h.call(b, prop))
944
- __defNormalProp$h(a, prop, b[prop]);
945
- if (__getOwnPropSymbols$h)
946
- for (var prop of __getOwnPropSymbols$h(b)) {
947
- if (__propIsEnum$h.call(b, prop))
948
- __defNormalProp$h(a, prop, b[prop]);
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$d = (a, b) => __defProps$d(a, __getOwnPropDescs$d(b));
953
- var __objRest$c = (source, exclude) => {
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$h.call(source, prop) && exclude.indexOf(prop) < 0)
1254
+ if (__hasOwnProp$e.call(source, prop) && exclude.indexOf(prop) < 0)
957
1255
  target[prop] = source[prop];
958
- if (source != null && __getOwnPropSymbols$h)
959
- for (var prop of __getOwnPropSymbols$h(source)) {
960
- if (exclude.indexOf(prop) < 0 && __propIsEnum$h.call(source, prop))
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,203 +1265,20 @@
967
1265
  meta,
968
1266
  input,
969
1267
  onBlur
970
- } = _b, props = __objRest$c(_b, [
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$d(__spreadValues$h(__spreadValues$h({}, props), input), {
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
1279
  ));
982
1280
  };
983
1281
 
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
1282
  const InputTagItem = /*#__PURE__*/react.styled('span')({
1168
1283
  name: "InputTagItem",
1169
1284
  class: "iap75of",
@@ -1198,407 +1313,39 @@
1198
1313
  window.addEventListener("resize", checkForChanges);
1199
1314
  const disconnect = () => {
1200
1315
  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" }
1544
- };
1545
- const getAllSearch = () => {
1546
- return qs.parse(hashHistory.location.search.replace(/^\?/, ""));
1547
- };
1548
- const routeHasView = (route, view) => {
1549
- var _a;
1550
- if (!view)
1551
- return false;
1552
- return (_a = routes[route].views) == null ? void 0 : _a.includes(view);
1553
- };
1554
- const pushOrReplace = (action) => {
1555
- return (path, state) => {
1556
- if (typeof path === "object") {
1557
- const { resource, id = "", search, state: state2, keepView } = path;
1558
- let _search = {};
1559
- if (typeof search === "object") {
1560
- for (const key in search) {
1561
- if (key === "view") {
1562
- if (routeHasView(resource, search[key])) {
1563
- _search[key] = JSON.stringify(search[key]);
1564
- }
1565
- } else if (search[key] || typeof search[key] === "number") {
1566
- _search[key] = JSON.stringify(search[key]);
1567
- }
1568
- }
1569
- if (keepView && !search.view) {
1570
- const search2 = getAllSearch();
1571
- if ("view" in search2 && routeHasView(resource, search2["view"])) {
1572
- _search["view"] = JSON.stringify(search2["view"]);
1573
- }
1574
- }
1575
- _search = qs.stringify(_search);
1576
- } else {
1577
- if (!search && keepView) {
1578
- let view;
1579
- try {
1580
- view = JSON.parse(getAllSearch()["view"]);
1581
- } catch (e) {
1582
- }
1583
- _search = routeHasView(resource, view) ? `?view="${view}"` : search;
1584
- } else {
1585
- _search = search;
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
- hashHistory[action](path, state);
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) => {
@@ -2464,6 +2211,105 @@
2464
2211
  );
2465
2212
  };
2466
2213
 
2214
+ const PaginationStyle = "p12gwtiw";
2215
+ const DropdownOverlayStyle = "d1bnu0in";
2216
+ const Pagination = props => {
2217
+ const {
2218
+ current,
2219
+ count,
2220
+ onChange,
2221
+ size,
2222
+ onSizeChange,
2223
+ showTotal = true,
2224
+ className,
2225
+ selectorVisible = true
2226
+ } = props;
2227
+ const sizeRef = React.useRef(size);
2228
+ React.useEffect(() => {
2229
+ if (sizeRef.current === size) return;
2230
+ sizeRef.current = size;
2231
+ onSizeChange == null ? void 0 : onSizeChange(size);
2232
+ }, [count, size, onSizeChange]);
2233
+ const selectOptions = React.useMemo(() => {
2234
+ if (!selectorVisible) return [];
2235
+ return Array.from({
2236
+ length: Math.ceil(count / size)
2237
+ }, (r, i) => {
2238
+ const value = i * size;
2239
+ const lastRange2 = value + size;
2240
+ return {
2241
+ value: i + 1,
2242
+ text: parrot.parrotI18n.t("components.pagination_range", {
2243
+ range1: value + 1,
2244
+ range2: lastRange2 > count ? count : lastRange2
2245
+ })
2246
+ };
2247
+ });
2248
+ }, [selectorVisible, count, size]);
2249
+ let lastRange = current * size;
2250
+ lastRange = lastRange > count ? count : lastRange;
2251
+ const renderLeft = () => {
2252
+ if (!showTotal) return null;
2253
+ const content = parrot.parrotI18n.t("components.pagination_total", {
2254
+ range1: (current - 1) * size + 1,
2255
+ range2: lastRange,
2256
+ total: count
2257
+ });
2258
+ if (selectorVisible) {
2259
+ return /* @__PURE__ */React.createElement(antd.Dropdown, {
2260
+ placement: "topLeft",
2261
+ overlayClassName: DropdownOverlayStyle,
2262
+ overlay: /* @__PURE__ */React.createElement(antd.Menu, null, /* @__PURE__ */React.createElement(antd.Menu.ItemGroup, {
2263
+ title: parrot.parrotI18n.t("components.push_to")
2264
+ }, selectOptions.map(option => /* @__PURE__ */React.createElement(antd.Menu.Item, {
2265
+ key: option.value,
2266
+ onClick: () => onChange(option.value)
2267
+ }, option.text))))
2268
+ }, /* @__PURE__ */React.createElement(Icon, {
2269
+ className: "pagination-left dropdown-trigger",
2270
+ src: img$8,
2271
+ hoverSrc: img$9,
2272
+ prefix: content
2273
+ }));
2274
+ }
2275
+ return /* @__PURE__ */React.createElement("span", {
2276
+ className: "pagination-left"
2277
+ }, content);
2278
+ };
2279
+ if (count === 0) {
2280
+ return null;
2281
+ }
2282
+ return /* @__PURE__ */React.createElement("div", {
2283
+ className: cs(PaginationStyle, "pagination-wrapper", className, selectorVisible && "has-selector")
2284
+ }, renderLeft(), /* @__PURE__ */React.createElement("span", {
2285
+ className: "pagination-right"
2286
+ }, current > 1 && /* @__PURE__ */React.createElement(Button, {
2287
+ className: "prev-btn",
2288
+ type: "quiet",
2289
+ size: "small",
2290
+ prefixIcon: /* @__PURE__ */React.createElement(Icon, {
2291
+ src: img$7
2292
+ }),
2293
+ onClick: () => {
2294
+ onChange == null ? void 0 : onChange(current - 1);
2295
+ }
2296
+ }, parrot.parrotI18n.t("components.previous_items", {
2297
+ size
2298
+ })), current * size < count && /* @__PURE__ */React.createElement(Button, {
2299
+ className: "next-btn",
2300
+ type: "quiet",
2301
+ size: "small",
2302
+ prefixIcon: /* @__PURE__ */React.createElement(Icon, {
2303
+ src: img$7
2304
+ }),
2305
+ onClick: () => {
2306
+ onChange == null ? void 0 : onChange(current + 1);
2307
+ }
2308
+ }, parrot.parrotI18n.t("components.next_items", {
2309
+ size
2310
+ }))));
2311
+ };
2312
+
2467
2313
  var __defProp$4 = Object.defineProperty;
2468
2314
  var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
2469
2315
  var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
@@ -2632,8 +2478,6 @@
2632
2478
  );
2633
2479
  };
2634
2480
 
2635
- const PaginationStyle = "p12gwtiw";
2636
-
2637
2481
  const inputStyle = "igz4le8";
2638
2482
  const SimplePagination = props => {
2639
2483
  const {
@@ -2670,7 +2514,7 @@
2670
2514
  marginRight: "8px"
2671
2515
  },
2672
2516
  prefixIcon: /* @__PURE__ */React.createElement(Icon, {
2673
- src: img$2
2517
+ src: img$7
2674
2518
  }),
2675
2519
  onClick: () => {
2676
2520
  onPageChange == null ? void 0 : onPageChange(current - 1);
@@ -2697,7 +2541,7 @@
2697
2541
  marginLeft: "8px"
2698
2542
  },
2699
2543
  prefixIcon: /* @__PURE__ */React.createElement(Icon, {
2700
- src: img$2
2544
+ src: img$7
2701
2545
  }),
2702
2546
  onClick: () => {
2703
2547
  onPageChange == null ? void 0 : onPageChange(current + 1);
@@ -2746,7 +2590,7 @@
2746
2590
  return hasScrollBar;
2747
2591
  };
2748
2592
 
2749
- const TableLoadingStyle = "t1xo8w88";
2593
+ const TableLoadingStyle = "t1gz6wqf";
2750
2594
  const TableLoading = () => {
2751
2595
  const sizes = useElementsSize({
2752
2596
  loading: ".ant-table-wrapper .ant-spin"
@@ -2778,7 +2622,7 @@
2778
2622
  } = props;
2779
2623
  return /* @__PURE__ */React.createElement(React.Fragment, null, title, /* @__PURE__ */React.createElement(Icon, {
2780
2624
  className: cs("order-icon", sortOrder),
2781
- src: img$1
2625
+ src: img$6
2782
2626
  }));
2783
2627
  };
2784
2628
 
@@ -2868,97 +2712,6 @@
2868
2712
  }));
2869
2713
  };
2870
2714
 
2871
- var __defProp$1 = Object.defineProperty;
2872
- var __defProps = Object.defineProperties;
2873
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
2874
- var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
2875
- var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
2876
- var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
2877
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2878
- var __spreadValues$1 = (a, b) => {
2879
- for (var prop in b || (b = {}))
2880
- if (__hasOwnProp$1.call(b, prop))
2881
- __defNormalProp$1(a, prop, b[prop]);
2882
- if (__getOwnPropSymbols$1)
2883
- for (var prop of __getOwnPropSymbols$1(b)) {
2884
- if (__propIsEnum$1.call(b, prop))
2885
- __defNormalProp$1(a, prop, b[prop]);
2886
- }
2887
- return a;
2888
- };
2889
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2890
- var __objRest$1 = (source, exclude) => {
2891
- var target = {};
2892
- for (var prop in source)
2893
- if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
2894
- target[prop] = source[prop];
2895
- if (source != null && __getOwnPropSymbols$1)
2896
- for (var prop of __getOwnPropSymbols$1(source)) {
2897
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
2898
- target[prop] = source[prop];
2899
- }
2900
- return target;
2901
- };
2902
- let componentId = 0;
2903
- const Tooltip = (props) => {
2904
- const _a = props, {
2905
- followMouse,
2906
- overlayClassName,
2907
- overlayStyle,
2908
- children
2909
- } = _a, restProps = __objRest$1(_a, [
2910
- "followMouse",
2911
- "overlayClassName",
2912
- "overlayStyle",
2913
- "children"
2914
- ]);
2915
- const id = React.useRef(++componentId);
2916
- const uniquePopupClass = `kit-popup-${id.current}`;
2917
- const uniqueContainerClass = `kit-tooltip-${id.current}`;
2918
- const _children = React.useMemo(() => {
2919
- if (followMouse) {
2920
- const child = React.isValidElement(children) ? children : /* @__PURE__ */ React.createElement("span", null, children);
2921
- return React.cloneElement(child, {
2922
- className: cs(child.props.className, uniqueContainerClass)
2923
- });
2924
- } else {
2925
- return children;
2926
- }
2927
- }, [children, followMouse, uniqueContainerClass]);
2928
- const onmousemove = React.useCallback(
2929
- (event) => {
2930
- const popup = document.querySelector(`.${uniquePopupClass}`);
2931
- if (!popup)
2932
- return;
2933
- popup.style.left = event.pageX + "px";
2934
- popup.style.top = event.pageY + "px";
2935
- },
2936
- [uniquePopupClass]
2937
- );
2938
- React.useEffect(() => {
2939
- if (followMouse) {
2940
- const container = document.querySelector(
2941
- `.${uniqueContainerClass}`
2942
- );
2943
- container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
2944
- return () => {
2945
- container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
2946
- };
2947
- }
2948
- }, [followMouse, onmousemove, uniqueContainerClass]);
2949
- return /* @__PURE__ */ React.createElement(
2950
- antd.Tooltip,
2951
- __spreadProps(__spreadValues$1({}, restProps), {
2952
- overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
2953
- children: _children,
2954
- overlayStyle: followMouse ? __spreadValues$1({
2955
- transform: "translate(-50%, -100%)",
2956
- pointerEvents: "none"
2957
- }, overlayStyle) : overlayStyle
2958
- })
2959
- );
2960
- };
2961
-
2962
2715
  const flatTimeZones = _.sortBy(_.uniqBy(TimeZones.reduce((sum, zone) => {
2963
2716
  const utcZones = zone.utc.map(utc => {
2964
2717
  return {
@@ -3066,6 +2819,97 @@
3066
2819
  }, /* @__PURE__ */React.createElement("span", null, timeZone.text, ", ", timeZone.abbr)));
3067
2820
  };
3068
2821
 
2822
+ var __defProp$1 = Object.defineProperty;
2823
+ var __defProps = Object.defineProperties;
2824
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
2825
+ var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
2826
+ var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
2827
+ var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
2828
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2829
+ var __spreadValues$1 = (a, b) => {
2830
+ for (var prop in b || (b = {}))
2831
+ if (__hasOwnProp$1.call(b, prop))
2832
+ __defNormalProp$1(a, prop, b[prop]);
2833
+ if (__getOwnPropSymbols$1)
2834
+ for (var prop of __getOwnPropSymbols$1(b)) {
2835
+ if (__propIsEnum$1.call(b, prop))
2836
+ __defNormalProp$1(a, prop, b[prop]);
2837
+ }
2838
+ return a;
2839
+ };
2840
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2841
+ var __objRest$1 = (source, exclude) => {
2842
+ var target = {};
2843
+ for (var prop in source)
2844
+ if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
2845
+ target[prop] = source[prop];
2846
+ if (source != null && __getOwnPropSymbols$1)
2847
+ for (var prop of __getOwnPropSymbols$1(source)) {
2848
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
2849
+ target[prop] = source[prop];
2850
+ }
2851
+ return target;
2852
+ };
2853
+ let componentId = 0;
2854
+ const Tooltip = (props) => {
2855
+ const _a = props, {
2856
+ followMouse,
2857
+ overlayClassName,
2858
+ overlayStyle,
2859
+ children
2860
+ } = _a, restProps = __objRest$1(_a, [
2861
+ "followMouse",
2862
+ "overlayClassName",
2863
+ "overlayStyle",
2864
+ "children"
2865
+ ]);
2866
+ const id = React.useRef(++componentId);
2867
+ const uniquePopupClass = `kit-popup-${id.current}`;
2868
+ const uniqueContainerClass = `kit-tooltip-${id.current}`;
2869
+ const _children = React.useMemo(() => {
2870
+ if (followMouse) {
2871
+ const child = React.isValidElement(children) ? children : /* @__PURE__ */ React.createElement("span", null, children);
2872
+ return React.cloneElement(child, {
2873
+ className: cs(child.props.className, uniqueContainerClass)
2874
+ });
2875
+ } else {
2876
+ return children;
2877
+ }
2878
+ }, [children, followMouse, uniqueContainerClass]);
2879
+ const onmousemove = React.useCallback(
2880
+ (event) => {
2881
+ const popup = document.querySelector(`.${uniquePopupClass}`);
2882
+ if (!popup)
2883
+ return;
2884
+ popup.style.left = event.pageX + "px";
2885
+ popup.style.top = event.pageY + "px";
2886
+ },
2887
+ [uniquePopupClass]
2888
+ );
2889
+ React.useEffect(() => {
2890
+ if (followMouse) {
2891
+ const container = document.querySelector(
2892
+ `.${uniqueContainerClass}`
2893
+ );
2894
+ container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
2895
+ return () => {
2896
+ container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
2897
+ };
2898
+ }
2899
+ }, [followMouse, onmousemove, uniqueContainerClass]);
2900
+ return /* @__PURE__ */ React.createElement(
2901
+ antd.Tooltip,
2902
+ __spreadProps(__spreadValues$1({}, restProps), {
2903
+ overlayClassName: followMouse ? cs(overlayClassName, uniquePopupClass) : overlayClassName,
2904
+ children: _children,
2905
+ overlayStyle: followMouse ? __spreadValues$1({
2906
+ transform: "translate(-50%, -100%)",
2907
+ pointerEvents: "none"
2908
+ }, overlayStyle) : overlayStyle
2909
+ })
2910
+ );
2911
+ };
2912
+
3069
2913
  function getAntdKit() {
3070
2914
  const kit = {
3071
2915
  PAGINATION_SELECTOR,
@@ -3073,10 +2917,14 @@
3073
2917
  THEAD_SELECTOR,
3074
2918
  TBODY_SELECTOR,
3075
2919
  MODAL_WHITELIST,
2920
+ loading: Loading,
2921
+ pagination: Pagination,
3076
2922
  select: Select,
3077
2923
  option: antd.Select.Option,
3078
2924
  table: Table,
3079
2925
  button: Button,
2926
+ row: antd.Row,
2927
+ col: antd.Col,
3080
2928
  modal: Modal,
3081
2929
  dropdown: antd.Dropdown,
3082
2930
  tooltip: Tooltip,
@@ -3085,6 +2933,7 @@
3085
2933
  checkbox: Checkbox,
3086
2934
  fields,
3087
2935
  inputGroup: InputGroup,
2936
+ alert: Alert,
3088
2937
  searchInput: SearchInput,
3089
2938
  radio: Radio,
3090
2939
  radioGroup: RadioGroup,
@@ -3095,7 +2944,9 @@
3095
2944
  menu: antd.Menu,
3096
2945
  menuItem: antd.Menu.Item,
3097
2946
  menuItemGroup: antd.Menu.ItemGroup,
2947
+ layout: antd.Layout,
3098
2948
  autoComplete: antd.AutoComplete,
2949
+ tag: antd.Tag,
3099
2950
  simplePagination: SimplePagination,
3100
2951
  space: antd.Space,
3101
2952
  timeZoneSelect: TimeZoneSelect
@@ -3289,6 +3140,14 @@
3289
3140
  return React.useContext(kitContext);
3290
3141
  };
3291
3142
 
3143
+ Object.defineProperty(exports, 'Col', {
3144
+ enumerable: true,
3145
+ get: function () { return antd.Col; }
3146
+ });
3147
+ Object.defineProperty(exports, 'Row', {
3148
+ enumerable: true,
3149
+ get: function () { return antd.Row; }
3150
+ });
3292
3151
  exports.Architecture = Architecture;
3293
3152
  exports.Button = Button;
3294
3153
  exports.EntityAsyncStatus = EntityAsyncStatus;