@cloudtower/eagle 0.27.0 → 0.27.1
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/UIKitProvider/UIKitProvider.stories.d.ts +7 -0
- package/dist/UIKitProvider/index.d.ts +1 -1
- package/dist/components/Alert/Alert.stories.d.ts +11 -0
- package/dist/components/Arch/Arch.stories.d.ts +18 -0
- package/dist/components/BaseIcon/BaseIcon.stories.d.ts +4 -0
- package/dist/components/Bit/Bit.stories.d.ts +17 -0
- package/dist/components/BitPerSecond/BitPerSecond.stories.d.ts +17 -0
- package/dist/components/Bps/Bps.stories.d.ts +17 -0
- package/dist/components/Button/Button.stories.d.ts +20 -0
- package/dist/components/Button/HoverableElement.stories.d.ts +3 -0
- package/dist/components/Byte/Byte.stories.d.ts +17 -0
- package/dist/components/Card/Card.stories.d.ts +23 -0
- package/dist/components/ExpandableList/CustomHeader.stories.d.ts +4 -0
- package/dist/components/ExpandableList/ExpandableItem.stories.d.ts +10 -0
- package/dist/components/ExpandableList/ExpandableList.stories.d.ts +5 -0
- package/dist/components/Fields/FieldsBoolean/FieldsBoolean.stories.d.ts +9 -0
- package/dist/components/Fields/FieldsDateTimeRange/FieldsDateTimeRange.stories.d.ts +5 -0
- package/dist/components/Fields/FieldsDateTimeRange/index.d.ts +2 -2
- package/dist/components/Fields/FieldsEnum/FieldsEnum.stories.d.ts +7 -0
- package/dist/components/Fields/FieldsInteger/FieldsInteger.stories.d.ts +7 -0
- package/dist/components/Fields/FieldsString/FieldsString.stories.d.ts +17 -0
- package/dist/components/Fields/FieldsTimePicker/FieldsTimePicker.stories.d.ts +9 -0
- package/dist/components/Fields/index.d.ts +2 -2
- package/dist/components/FormItem/Form.stories.d.ts +3 -0
- package/dist/components/Frequency/Frequency.stories.d.ts +17 -0
- package/dist/components/I18nNameTag/I18nNameTag.stories.d.ts +13 -0
- package/dist/components/Icon/Icon.stories.d.ts +21 -0
- package/dist/components/Input/Input.simple.stories.d.ts +12 -0
- package/dist/components/Input/Input.stories.d.ts +28 -0
- package/dist/components/InputGroup/inputGroup.stories.d.ts +6 -0
- package/dist/components/Loading/Loading.stories.d.ts +12 -0
- package/dist/components/Loading/style.d.ts +4 -0
- package/dist/components/Metric/Metric.stories.d.ts +4 -0
- package/dist/components/Modal/Modal.stories.d.ts +16 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.stories.d.ts +17 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +6 -0
- package/dist/components/Percent/Percent.stories.d.ts +32 -0
- package/dist/components/Radio/Radio.stories.d.ts +29 -0
- package/dist/components/Radio/RadioButton.stories.d.ts +8 -0
- package/dist/components/Radio/RadioGroup.stories.d.ts +23 -0
- package/dist/components/SearchInput/SearchInput.stories.d.ts +14 -0
- package/dist/components/Second/Second.stories.d.ts +22 -0
- package/dist/components/Select/Select.Simple.stories.d.ts +10 -0
- package/dist/components/Select/Select.stories.d.ts +16 -0
- package/dist/components/SimplePagination/SimplePagination.stories.d.ts +7 -0
- package/dist/components/Space/Space.stories.d.ts +8 -0
- package/dist/components/Speed/Speed.stories.d.ts +17 -0
- package/dist/components/StatusCapsule/StatusCapsule.stories.d.ts +12 -0
- package/dist/components/Steps/Steps.stories.d.ts +8 -0
- package/dist/components/Switch/Switch.stories.d.ts +17 -0
- package/dist/components/Table/Table.stories.d.ts +16 -0
- package/dist/components/TableForm/TableForm.stories.d.ts +17 -0
- package/dist/components/Tag/Tag.stories.d.ts +29 -0
- package/dist/components/Time/time.stories.d.ts +6 -0
- package/dist/components/TimeZoneSelect/TimeZoneSelect.stories.d.ts +17 -0
- package/dist/components/Token/Token.stories.d.ts +24 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +6 -0
- package/dist/components/Truncate/Truncate.stories.d.ts +8 -0
- package/dist/components/message-group/message-group.stories.d.ts +17 -0
- package/dist/components.css +990 -1287
- package/dist/core/AccordionCard/AccordionCard.stories.d.ts +7 -0
- package/dist/core/Breadcrumb/Breadcrumb.stories.d.ts +6 -0
- package/dist/core/Breadcrumb/index.d.ts +7 -0
- package/dist/core/DetailCard/DetailCard.stories.d.ts +7 -0
- package/dist/coreX/Counting/Counting.stories.d.ts +29 -0
- package/dist/coreX/Counting/index.d.ts +4 -0
- package/dist/coreX/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +7 -0
- package/dist/coreX/TruncatedTextWithTooltip/index.d.ts +10 -0
- package/dist/esm/index.js +510 -378
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +8 -1
- package/dist/spec/type.d.ts +15 -0
- package/dist/{components/Stack/index.d.ts → stories/Stack.d.ts} +2 -2
- package/dist/stories/Story.d.ts +5 -0
- package/dist/stories/changeLng.stories.d.ts +8 -0
- package/dist/stories/icons-react.stories.d.ts +3 -0
- package/dist/stories/index.d.ts +2 -0
- package/dist/stories/menu.stories.d.ts +17 -0
- package/dist/style.css +857 -1154
- package/dist/umd/index.js +508 -376
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
- /package/dist/components/Card/__test__/{Card.spec.d.ts → Card.test.d.ts} +0 -0
- /package/dist/components/TableForm/__test__/{utils.spec.d.ts → utils.test.d.ts} +0 -0
package/dist/umd/index.js
CHANGED
|
@@ -39,30 +39,30 @@
|
|
|
39
39
|
var enUS__default = /*#__PURE__*/_interopDefault(enUS);
|
|
40
40
|
var zhCN__default = /*#__PURE__*/_interopDefault(zhCN);
|
|
41
41
|
|
|
42
|
-
var __defProp$
|
|
43
|
-
var __getOwnPropSymbols$
|
|
44
|
-
var __hasOwnProp$
|
|
45
|
-
var __propIsEnum$
|
|
46
|
-
var __defNormalProp$
|
|
47
|
-
var __spreadValues$
|
|
42
|
+
var __defProp$Y = Object.defineProperty;
|
|
43
|
+
var __getOwnPropSymbols$_ = Object.getOwnPropertySymbols;
|
|
44
|
+
var __hasOwnProp$_ = Object.prototype.hasOwnProperty;
|
|
45
|
+
var __propIsEnum$_ = Object.prototype.propertyIsEnumerable;
|
|
46
|
+
var __defNormalProp$Y = (obj, key, value) => key in obj ? __defProp$Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
47
|
+
var __spreadValues$Y = (a, b) => {
|
|
48
48
|
for (var prop in b || (b = {}))
|
|
49
|
-
if (__hasOwnProp$
|
|
50
|
-
__defNormalProp$
|
|
51
|
-
if (__getOwnPropSymbols$
|
|
52
|
-
for (var prop of __getOwnPropSymbols$
|
|
53
|
-
if (__propIsEnum$
|
|
54
|
-
__defNormalProp$
|
|
49
|
+
if (__hasOwnProp$_.call(b, prop))
|
|
50
|
+
__defNormalProp$Y(a, prop, b[prop]);
|
|
51
|
+
if (__getOwnPropSymbols$_)
|
|
52
|
+
for (var prop of __getOwnPropSymbols$_(b)) {
|
|
53
|
+
if (__propIsEnum$_.call(b, prop))
|
|
54
|
+
__defNormalProp$Y(a, prop, b[prop]);
|
|
55
55
|
}
|
|
56
56
|
return a;
|
|
57
57
|
};
|
|
58
|
-
var __objRest$
|
|
58
|
+
var __objRest$B = (source, exclude) => {
|
|
59
59
|
var target = {};
|
|
60
60
|
for (var prop in source)
|
|
61
|
-
if (__hasOwnProp$
|
|
61
|
+
if (__hasOwnProp$_.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
62
62
|
target[prop] = source[prop];
|
|
63
|
-
if (source != null && __getOwnPropSymbols$
|
|
64
|
-
for (var prop of __getOwnPropSymbols$
|
|
65
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
63
|
+
if (source != null && __getOwnPropSymbols$_)
|
|
64
|
+
for (var prop of __getOwnPropSymbols$_(source)) {
|
|
65
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$_.call(source, prop))
|
|
66
66
|
target[prop] = source[prop];
|
|
67
67
|
}
|
|
68
68
|
return target;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
prefixNode,
|
|
81
81
|
suffixIconSrc: SuffixSrc,
|
|
82
82
|
src: Src
|
|
83
|
-
} = _a, HTMLSpanElementProps = __objRest$
|
|
83
|
+
} = _a, HTMLSpanElementProps = __objRest$B(_a, [
|
|
84
84
|
"alt",
|
|
85
85
|
"className",
|
|
86
86
|
"width",
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
]);
|
|
95
95
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
96
96
|
"span",
|
|
97
|
-
__spreadValues$
|
|
97
|
+
__spreadValues$Y({
|
|
98
98
|
ref,
|
|
99
99
|
className,
|
|
100
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
100
|
+
style: ___default.default.pickBy(__spreadValues$Y({ cursor }, style))
|
|
101
101
|
}, HTMLSpanElementProps),
|
|
102
102
|
prefixNode,
|
|
103
103
|
/* @__PURE__ */ React__namespace.default.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React__namespace.default.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React__namespace.default.createElement(reactSvgUniqueId.SVGUniqueID, null, Src({ width, height }))),
|
|
@@ -107,31 +107,31 @@
|
|
|
107
107
|
}
|
|
108
108
|
);
|
|
109
109
|
|
|
110
|
-
var __defProp$
|
|
111
|
-
var __defProps$
|
|
112
|
-
var __getOwnPropDescs$
|
|
113
|
-
var __getOwnPropSymbols$
|
|
114
|
-
var __hasOwnProp$
|
|
115
|
-
var __propIsEnum$
|
|
116
|
-
var __defNormalProp$
|
|
110
|
+
var __defProp$X = Object.defineProperty;
|
|
111
|
+
var __defProps$E = Object.defineProperties;
|
|
112
|
+
var __getOwnPropDescs$E = Object.getOwnPropertyDescriptors;
|
|
113
|
+
var __getOwnPropSymbols$Z = Object.getOwnPropertySymbols;
|
|
114
|
+
var __hasOwnProp$Z = Object.prototype.hasOwnProperty;
|
|
115
|
+
var __propIsEnum$Z = Object.prototype.propertyIsEnumerable;
|
|
116
|
+
var __defNormalProp$X = (obj, key, value) => key in obj ? __defProp$X(obj, key, {
|
|
117
117
|
enumerable: true,
|
|
118
118
|
configurable: true,
|
|
119
119
|
writable: true,
|
|
120
120
|
value
|
|
121
121
|
}) : obj[key] = value;
|
|
122
|
-
var __spreadValues$
|
|
123
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
124
|
-
if (__getOwnPropSymbols$
|
|
125
|
-
if (__propIsEnum$
|
|
122
|
+
var __spreadValues$X = (a, b) => {
|
|
123
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$Z.call(b, prop)) __defNormalProp$X(a, prop, b[prop]);
|
|
124
|
+
if (__getOwnPropSymbols$Z) for (var prop of __getOwnPropSymbols$Z(b)) {
|
|
125
|
+
if (__propIsEnum$Z.call(b, prop)) __defNormalProp$X(a, prop, b[prop]);
|
|
126
126
|
}
|
|
127
127
|
return a;
|
|
128
128
|
};
|
|
129
|
-
var __spreadProps$
|
|
130
|
-
var __objRest$
|
|
129
|
+
var __spreadProps$E = (a, b) => __defProps$E(a, __getOwnPropDescs$E(b));
|
|
130
|
+
var __objRest$A = (source, exclude) => {
|
|
131
131
|
var target = {};
|
|
132
|
-
for (var prop in source) if (__hasOwnProp$
|
|
133
|
-
if (source != null && __getOwnPropSymbols$
|
|
134
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
132
|
+
for (var prop in source) if (__hasOwnProp$Z.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
133
|
+
if (source != null && __getOwnPropSymbols$Z) for (var prop of __getOwnPropSymbols$Z(source)) {
|
|
134
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Z.call(source, prop)) target[prop] = source[prop];
|
|
135
135
|
}
|
|
136
136
|
return target;
|
|
137
137
|
};
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
prefix,
|
|
156
156
|
suffix
|
|
157
157
|
} = _a,
|
|
158
|
-
restProps = __objRest$
|
|
158
|
+
restProps = __objRest$A(_a, ["src", "hoverSrc", "active", "activeSrc", "onMouseEnter", "onMouseLeave", "onMouseMove", "className", "iconWidth", "iconHeight", "cursor", "style", "isRotate", "prefix", "suffix"]);
|
|
159
159
|
const [hover, setHover] = React.useState(false);
|
|
160
160
|
const _src = React.useMemo(() => {
|
|
161
161
|
if (active && activeSrc) {
|
|
@@ -183,14 +183,14 @@
|
|
|
183
183
|
}
|
|
184
184
|
return src2;
|
|
185
185
|
}, [active, hover, suffix]);
|
|
186
|
-
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$
|
|
186
|
+
return /* @__PURE__ */React__namespace.default.createElement(BaseIcon, __spreadProps$E(__spreadValues$X({
|
|
187
187
|
src: _src,
|
|
188
188
|
className: cs__default.default(IconWrapper, "icon-wrapper", className, isRotate && "is-rotate"),
|
|
189
189
|
suffixIconSrc,
|
|
190
190
|
height: iconHeight,
|
|
191
191
|
width: iconWidth,
|
|
192
192
|
prefixNode: prefix,
|
|
193
|
-
style: ___default.default.pickBy(__spreadValues$
|
|
193
|
+
style: ___default.default.pickBy(__spreadValues$X({
|
|
194
194
|
cursor
|
|
195
195
|
}, style))
|
|
196
196
|
}, restProps), {
|
|
@@ -215,30 +215,30 @@
|
|
|
215
215
|
}));
|
|
216
216
|
});
|
|
217
217
|
|
|
218
|
-
var __defProp$
|
|
219
|
-
var __getOwnPropSymbols$
|
|
220
|
-
var __hasOwnProp$
|
|
221
|
-
var __propIsEnum$
|
|
222
|
-
var __defNormalProp$
|
|
223
|
-
var __spreadValues$
|
|
218
|
+
var __defProp$W = Object.defineProperty;
|
|
219
|
+
var __getOwnPropSymbols$Y = Object.getOwnPropertySymbols;
|
|
220
|
+
var __hasOwnProp$Y = Object.prototype.hasOwnProperty;
|
|
221
|
+
var __propIsEnum$Y = Object.prototype.propertyIsEnumerable;
|
|
222
|
+
var __defNormalProp$W = (obj, key, value) => key in obj ? __defProp$W(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
223
|
+
var __spreadValues$W = (a, b) => {
|
|
224
224
|
for (var prop in b || (b = {}))
|
|
225
|
-
if (__hasOwnProp$
|
|
226
|
-
__defNormalProp$
|
|
227
|
-
if (__getOwnPropSymbols$
|
|
228
|
-
for (var prop of __getOwnPropSymbols$
|
|
229
|
-
if (__propIsEnum$
|
|
230
|
-
__defNormalProp$
|
|
225
|
+
if (__hasOwnProp$Y.call(b, prop))
|
|
226
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
227
|
+
if (__getOwnPropSymbols$Y)
|
|
228
|
+
for (var prop of __getOwnPropSymbols$Y(b)) {
|
|
229
|
+
if (__propIsEnum$Y.call(b, prop))
|
|
230
|
+
__defNormalProp$W(a, prop, b[prop]);
|
|
231
231
|
}
|
|
232
232
|
return a;
|
|
233
233
|
};
|
|
234
|
-
var __objRest$
|
|
234
|
+
var __objRest$z = (source, exclude) => {
|
|
235
235
|
var target = {};
|
|
236
236
|
for (var prop in source)
|
|
237
|
-
if (__hasOwnProp$
|
|
237
|
+
if (__hasOwnProp$Y.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
238
238
|
target[prop] = source[prop];
|
|
239
|
-
if (source != null && __getOwnPropSymbols$
|
|
240
|
-
for (var prop of __getOwnPropSymbols$
|
|
241
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
239
|
+
if (source != null && __getOwnPropSymbols$Y)
|
|
240
|
+
for (var prop of __getOwnPropSymbols$Y(source)) {
|
|
241
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Y.call(source, prop))
|
|
242
242
|
target[prop] = source[prop];
|
|
243
243
|
}
|
|
244
244
|
return target;
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
children,
|
|
251
251
|
mountOnEnter = true,
|
|
252
252
|
unmountOnExit = true
|
|
253
|
-
} = _a, restProps = __objRest$
|
|
253
|
+
} = _a, restProps = __objRest$z(_a, [
|
|
254
254
|
"visible",
|
|
255
255
|
"timeout",
|
|
256
256
|
"children",
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
]);
|
|
260
260
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
261
261
|
reactTransitionGroup.CSSTransition,
|
|
262
|
-
__spreadValues$
|
|
262
|
+
__spreadValues$W({
|
|
263
263
|
in: visible,
|
|
264
264
|
timeout: timeout || 200,
|
|
265
265
|
mountOnEnter,
|
|
@@ -329,6 +329,180 @@
|
|
|
329
329
|
};
|
|
330
330
|
AccordionCard.CloseButton = CloseButton;
|
|
331
331
|
|
|
332
|
+
const d1_bold_title = "d6j0lbj";
|
|
333
|
+
const d1s_bold_title = "d1xhvvxe";
|
|
334
|
+
const d1_regular_title = "dk10mxq";
|
|
335
|
+
const d2_bold_title = "dxsait";
|
|
336
|
+
const d2_regular_title = "dokn0h3";
|
|
337
|
+
const d3_bold_title = "dobau4p";
|
|
338
|
+
const d3_regular_title = "dvolwok";
|
|
339
|
+
const h1_bold_title = "h181qhg4";
|
|
340
|
+
const h1_regular_title = "h1phgmcq";
|
|
341
|
+
const h2_bold_title = "h173xnl1";
|
|
342
|
+
const h2_regular_title = "hedm4pz";
|
|
343
|
+
const h3_bold_title = "h1kd8xld";
|
|
344
|
+
const h3_regular_title = "hp14fr";
|
|
345
|
+
const h3_bold_upper = "hgrg7mn";
|
|
346
|
+
const h3_regular_upper = "h6zme9x";
|
|
347
|
+
const l1_regular = "locjvsv";
|
|
348
|
+
const l1_bold = "l13gi131";
|
|
349
|
+
const l1_regular_title = "l1ynemsu";
|
|
350
|
+
const l1_bold_title = "l1cft1cx";
|
|
351
|
+
const l1_regular_upper = "l17tqc8p";
|
|
352
|
+
const l1_bold_upper = "l1j1e5w7";
|
|
353
|
+
const l2_regular = "l1gf91jb";
|
|
354
|
+
const l2_medium = "lu7hlr6";
|
|
355
|
+
const l2_bold = "l3l3jf0";
|
|
356
|
+
const l2_regular_title = "l12j5nqp";
|
|
357
|
+
const l2_bold_title = "l1tecqht";
|
|
358
|
+
const l2_regular_upper = "l6sa990";
|
|
359
|
+
const l2_bold_upper = "lckqe8j";
|
|
360
|
+
const l3_regular = "l1kuminb";
|
|
361
|
+
const l3_semibold = "l1pbuf5j";
|
|
362
|
+
const l3_bold = "l1r4ztu";
|
|
363
|
+
const l3_regular_title = "ly8vzok";
|
|
364
|
+
const l3_semibold_title = "lumfmf";
|
|
365
|
+
const l3_bold_title = "l16ujwmv";
|
|
366
|
+
const l3_regular_upper = "l17o1ffr";
|
|
367
|
+
const l3_bold_upper = "lngllvn";
|
|
368
|
+
const l4_regular = "l2i7fo9";
|
|
369
|
+
const l4_medium = "l1x7hscx";
|
|
370
|
+
const l4_bold = "le1jwan";
|
|
371
|
+
const l4_regular_title = "lyxynfj";
|
|
372
|
+
const l4_medium_title = "lpb2nxv";
|
|
373
|
+
const l4_bold_title = "l1r8o3vv";
|
|
374
|
+
const l4_regular_upper = "lemnjy2";
|
|
375
|
+
const l4_bold_upper = "lrc42gb";
|
|
376
|
+
const f1_regular = "fqaz4mb";
|
|
377
|
+
const f1_regular_title = "f13we5o";
|
|
378
|
+
const f2_regular = "ffmjua2";
|
|
379
|
+
const f2_regular_title = "fz2mxw0";
|
|
380
|
+
const t1_regular_mono = "t1ertzoh";
|
|
381
|
+
const t1_regular_slash = "t19bge8r";
|
|
382
|
+
const t2_regular_mono = "tjrzfyl";
|
|
383
|
+
const t2_medium_mono = "tm6s7bo";
|
|
384
|
+
const t2_regular_slash = "t19zq6ic";
|
|
385
|
+
const t2_medium_slash = "t1gduru8";
|
|
386
|
+
const t16_bold_slash = "t55raab";
|
|
387
|
+
const u1 = "u1w9abfe";
|
|
388
|
+
const Typo = {
|
|
389
|
+
Display: {
|
|
390
|
+
d1_bold_title,
|
|
391
|
+
d1s_bold_title,
|
|
392
|
+
d1_regular_title,
|
|
393
|
+
d2_bold_title,
|
|
394
|
+
d2_regular_title,
|
|
395
|
+
d3_bold_title,
|
|
396
|
+
d3_regular_title
|
|
397
|
+
},
|
|
398
|
+
Heading: {
|
|
399
|
+
h1_bold_title,
|
|
400
|
+
h1_regular_title,
|
|
401
|
+
h2_bold_title,
|
|
402
|
+
h2_regular_title,
|
|
403
|
+
h3_bold_title,
|
|
404
|
+
h3_bold_upper,
|
|
405
|
+
h3_regular_title,
|
|
406
|
+
h3_regular_upper
|
|
407
|
+
},
|
|
408
|
+
Label: {
|
|
409
|
+
l1_bold,
|
|
410
|
+
l1_bold_title,
|
|
411
|
+
l1_bold_upper,
|
|
412
|
+
l1_regular,
|
|
413
|
+
l1_regular_title,
|
|
414
|
+
l1_regular_upper,
|
|
415
|
+
l2_bold,
|
|
416
|
+
l2_bold_title,
|
|
417
|
+
l2_bold_upper,
|
|
418
|
+
l2_regular,
|
|
419
|
+
l2_regular_title,
|
|
420
|
+
l2_regular_upper,
|
|
421
|
+
l2_medium,
|
|
422
|
+
l3_bold,
|
|
423
|
+
l3_semibold,
|
|
424
|
+
l3_bold_title,
|
|
425
|
+
l3_bold_upper,
|
|
426
|
+
l3_regular,
|
|
427
|
+
l3_regular_title,
|
|
428
|
+
l3_semibold_title,
|
|
429
|
+
l3_regular_upper,
|
|
430
|
+
l4_bold,
|
|
431
|
+
l4_bold_title,
|
|
432
|
+
l4_bold_upper,
|
|
433
|
+
l4_regular,
|
|
434
|
+
l4_medium,
|
|
435
|
+
l4_regular_title,
|
|
436
|
+
l4_medium_title,
|
|
437
|
+
l4_regular_upper
|
|
438
|
+
},
|
|
439
|
+
Footnote: {
|
|
440
|
+
f1_regular,
|
|
441
|
+
f1_regular_title,
|
|
442
|
+
f2_regular,
|
|
443
|
+
f2_regular_title
|
|
444
|
+
},
|
|
445
|
+
Tabular: {
|
|
446
|
+
t1_regular_mono,
|
|
447
|
+
t1_regular_slash,
|
|
448
|
+
t2_regular_mono,
|
|
449
|
+
t2_medium_mono,
|
|
450
|
+
t2_regular_slash,
|
|
451
|
+
t2_medium_slash,
|
|
452
|
+
t16_bold_slash
|
|
453
|
+
},
|
|
454
|
+
UNKNOWN: {
|
|
455
|
+
u1
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
const BreadWrapper = /*#__PURE__*/react$1.styled('div')({
|
|
460
|
+
name: "BreadWrapper",
|
|
461
|
+
class: "berrcjl",
|
|
462
|
+
propsAsIs: false
|
|
463
|
+
});
|
|
464
|
+
const Breadcrumb = props => {
|
|
465
|
+
const {
|
|
466
|
+
items
|
|
467
|
+
} = props;
|
|
468
|
+
return /* @__PURE__ */React__namespace.default.createElement(BreadWrapper, {
|
|
469
|
+
className: Typo.Heading.h3_bold_title
|
|
470
|
+
}, items.map((item, index) => {
|
|
471
|
+
return /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
472
|
+
key: index
|
|
473
|
+
}, index > 0 ? /* @__PURE__ */React__namespace.default.createElement("svg", {
|
|
474
|
+
style: {
|
|
475
|
+
margin: "0 9.6px"
|
|
476
|
+
},
|
|
477
|
+
width: "6",
|
|
478
|
+
height: "8",
|
|
479
|
+
viewBox: "0 0 6 8",
|
|
480
|
+
fill: "none",
|
|
481
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
482
|
+
}, /* @__PURE__ */React__namespace.default.createElement("path", {
|
|
483
|
+
d: "M4.81662 3.33203C5.15455 3.555 5.32351 3.66649 5.38224 3.80736C5.43358 3.93049 5.43358 4.06904 5.38224 4.19218C5.32351 4.33305 5.15455 4.44454 4.81662 4.66751L1.81921 6.64529C1.4159 6.91141 1.21424 7.04446 1.04715 7.03393C0.901576 7.02475 0.767265 6.95246 0.679429 6.836C0.578613 6.70234 0.578613 6.46074 0.578613 5.97755L0.578613 2.02199C0.578613 1.53879 0.578613 1.2972 0.679429 1.16353C0.767265 1.04708 0.901576 0.974785 1.04715 0.965607C1.21424 0.955073 1.4159 1.08813 1.81921 1.35425L4.81662 3.33203Z",
|
|
484
|
+
fill: "#031E4F",
|
|
485
|
+
fillOpacity: "0.18"
|
|
486
|
+
})) : null, /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
487
|
+
className: "breadcrumb-link",
|
|
488
|
+
onClick: item.onClick
|
|
489
|
+
}, item.name), index === items.length - 1 && /* @__PURE__ */React__namespace.default.createElement("svg", {
|
|
490
|
+
style: {
|
|
491
|
+
margin: "0 9.6px"
|
|
492
|
+
},
|
|
493
|
+
width: "6",
|
|
494
|
+
height: "8",
|
|
495
|
+
viewBox: "0 0 6 8",
|
|
496
|
+
fill: "none",
|
|
497
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
498
|
+
}, /* @__PURE__ */React__namespace.default.createElement("path", {
|
|
499
|
+
d: "M4.81662 3.33203C5.15455 3.555 5.32351 3.66649 5.38224 3.80736C5.43358 3.93049 5.43358 4.06904 5.38224 4.19218C5.32351 4.33305 5.15455 4.44454 4.81662 4.66751L1.81921 6.64529C1.4159 6.91141 1.21424 7.04446 1.04715 7.03393C0.901576 7.02475 0.767265 6.95246 0.679429 6.836C0.578613 6.70234 0.578613 6.46074 0.578613 5.97755L0.578613 2.02199C0.578613 1.53879 0.578613 1.2972 0.679429 1.16353C0.767265 1.04708 0.901576 0.974785 1.04715 0.965607C1.21424 0.955073 1.4159 1.08813 1.81921 1.35425L4.81662 3.33203Z",
|
|
500
|
+
fill: "#031E4F",
|
|
501
|
+
fillOpacity: "0.18"
|
|
502
|
+
})));
|
|
503
|
+
}));
|
|
504
|
+
};
|
|
505
|
+
|
|
332
506
|
const CardWrapper$1 = /*#__PURE__*/react$1.styled('div')({
|
|
333
507
|
name: "CardWrapper",
|
|
334
508
|
class: "c1uzzomf",
|
|
@@ -345,6 +519,174 @@
|
|
|
345
519
|
}, props.children));
|
|
346
520
|
};
|
|
347
521
|
|
|
522
|
+
const Counting = (props) => {
|
|
523
|
+
const { stop, interval = 1e3, render } = props;
|
|
524
|
+
const [, setState] = React.useState(true);
|
|
525
|
+
React.useEffect(() => {
|
|
526
|
+
if (stop)
|
|
527
|
+
return;
|
|
528
|
+
const timer = setInterval(() => {
|
|
529
|
+
setState((state) => !state);
|
|
530
|
+
}, interval);
|
|
531
|
+
return () => {
|
|
532
|
+
clearInterval(timer);
|
|
533
|
+
};
|
|
534
|
+
}, [stop, interval]);
|
|
535
|
+
return /* @__PURE__ */ React__namespace.default.createElement(React__namespace.default.Fragment, null, render());
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
var __defProp$V = Object.defineProperty;
|
|
539
|
+
var __defProps$D = Object.defineProperties;
|
|
540
|
+
var __getOwnPropDescs$D = Object.getOwnPropertyDescriptors;
|
|
541
|
+
var __getOwnPropSymbols$X = Object.getOwnPropertySymbols;
|
|
542
|
+
var __hasOwnProp$X = Object.prototype.hasOwnProperty;
|
|
543
|
+
var __propIsEnum$X = Object.prototype.propertyIsEnumerable;
|
|
544
|
+
var __defNormalProp$V = (obj, key, value) => key in obj ? __defProp$V(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
545
|
+
var __spreadValues$V = (a, b) => {
|
|
546
|
+
for (var prop in b || (b = {}))
|
|
547
|
+
if (__hasOwnProp$X.call(b, prop))
|
|
548
|
+
__defNormalProp$V(a, prop, b[prop]);
|
|
549
|
+
if (__getOwnPropSymbols$X)
|
|
550
|
+
for (var prop of __getOwnPropSymbols$X(b)) {
|
|
551
|
+
if (__propIsEnum$X.call(b, prop))
|
|
552
|
+
__defNormalProp$V(a, prop, b[prop]);
|
|
553
|
+
}
|
|
554
|
+
return a;
|
|
555
|
+
};
|
|
556
|
+
var __spreadProps$D = (a, b) => __defProps$D(a, __getOwnPropDescs$D(b));
|
|
557
|
+
var __objRest$y = (source, exclude) => {
|
|
558
|
+
var target = {};
|
|
559
|
+
for (var prop in source)
|
|
560
|
+
if (__hasOwnProp$X.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
561
|
+
target[prop] = source[prop];
|
|
562
|
+
if (source != null && __getOwnPropSymbols$X)
|
|
563
|
+
for (var prop of __getOwnPropSymbols$X(source)) {
|
|
564
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$X.call(source, prop))
|
|
565
|
+
target[prop] = source[prop];
|
|
566
|
+
}
|
|
567
|
+
return target;
|
|
568
|
+
};
|
|
569
|
+
let componentId = 0;
|
|
570
|
+
const Tooltip = (props) => {
|
|
571
|
+
const _a = props, {
|
|
572
|
+
followMouse,
|
|
573
|
+
overlayClassName,
|
|
574
|
+
overlayStyle,
|
|
575
|
+
children
|
|
576
|
+
} = _a, restProps = __objRest$y(_a, [
|
|
577
|
+
"followMouse",
|
|
578
|
+
"overlayClassName",
|
|
579
|
+
"overlayStyle",
|
|
580
|
+
"children"
|
|
581
|
+
]);
|
|
582
|
+
const id = React.useRef(++componentId);
|
|
583
|
+
const uniquePopupClass = `kit-popup-${id.current}`;
|
|
584
|
+
const uniqueContainerClass = `kit-tooltip-${id.current}`;
|
|
585
|
+
const _children = React.useMemo(() => {
|
|
586
|
+
if (followMouse) {
|
|
587
|
+
const child = React__namespace.default.isValidElement(children) ? children : /* @__PURE__ */ React__namespace.default.createElement("span", null, children);
|
|
588
|
+
return React__namespace.default.cloneElement(child, {
|
|
589
|
+
className: cs__default.default(child.props.className, uniqueContainerClass)
|
|
590
|
+
});
|
|
591
|
+
} else {
|
|
592
|
+
return children;
|
|
593
|
+
}
|
|
594
|
+
}, [children, followMouse, uniqueContainerClass]);
|
|
595
|
+
const onmousemove = React.useCallback(
|
|
596
|
+
(event) => {
|
|
597
|
+
const popup = document.querySelector(`.${uniquePopupClass}`);
|
|
598
|
+
if (!popup)
|
|
599
|
+
return;
|
|
600
|
+
popup.style.left = event.pageX + "px";
|
|
601
|
+
popup.style.top = event.pageY + "px";
|
|
602
|
+
},
|
|
603
|
+
[uniquePopupClass]
|
|
604
|
+
);
|
|
605
|
+
React.useEffect(() => {
|
|
606
|
+
if (followMouse) {
|
|
607
|
+
const container = document.querySelector(
|
|
608
|
+
`.${uniqueContainerClass}`
|
|
609
|
+
);
|
|
610
|
+
container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
|
|
611
|
+
return () => {
|
|
612
|
+
container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
616
|
+
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
617
|
+
antd.Tooltip,
|
|
618
|
+
__spreadProps$D(__spreadValues$V({}, restProps), {
|
|
619
|
+
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
620
|
+
children: _children,
|
|
621
|
+
overlayStyle: followMouse ? __spreadValues$V({
|
|
622
|
+
transform: "translate(-50%, -100%)",
|
|
623
|
+
pointerEvents: "none"
|
|
624
|
+
}, overlayStyle) : overlayStyle
|
|
625
|
+
})
|
|
626
|
+
);
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
var __defProp$U = Object.defineProperty;
|
|
630
|
+
var __defProps$C = Object.defineProperties;
|
|
631
|
+
var __getOwnPropDescs$C = Object.getOwnPropertyDescriptors;
|
|
632
|
+
var __getOwnPropSymbols$W = Object.getOwnPropertySymbols;
|
|
633
|
+
var __hasOwnProp$W = Object.prototype.hasOwnProperty;
|
|
634
|
+
var __propIsEnum$W = Object.prototype.propertyIsEnumerable;
|
|
635
|
+
var __defNormalProp$U = (obj, key, value) => key in obj ? __defProp$U(obj, key, {
|
|
636
|
+
enumerable: true,
|
|
637
|
+
configurable: true,
|
|
638
|
+
writable: true,
|
|
639
|
+
value
|
|
640
|
+
}) : obj[key] = value;
|
|
641
|
+
var __spreadValues$U = (a, b) => {
|
|
642
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$W.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
643
|
+
if (__getOwnPropSymbols$W) for (var prop of __getOwnPropSymbols$W(b)) {
|
|
644
|
+
if (__propIsEnum$W.call(b, prop)) __defNormalProp$U(a, prop, b[prop]);
|
|
645
|
+
}
|
|
646
|
+
return a;
|
|
647
|
+
};
|
|
648
|
+
var __spreadProps$C = (a, b) => __defProps$C(a, __getOwnPropDescs$C(b));
|
|
649
|
+
var __objRest$x = (source, exclude) => {
|
|
650
|
+
var target = {};
|
|
651
|
+
for (var prop in source) if (__hasOwnProp$W.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
652
|
+
if (source != null && __getOwnPropSymbols$W) for (var prop of __getOwnPropSymbols$W(source)) {
|
|
653
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$W.call(source, prop)) target[prop] = source[prop];
|
|
654
|
+
}
|
|
655
|
+
return target;
|
|
656
|
+
};
|
|
657
|
+
const TruncatedTextWrapper = /*#__PURE__*/react.styled('div')({
|
|
658
|
+
name: "TruncatedTextWrapper",
|
|
659
|
+
class: "tje3huy",
|
|
660
|
+
propsAsIs: false
|
|
661
|
+
});
|
|
662
|
+
const TruncatedTextWithTooltip = props => {
|
|
663
|
+
const _a = props,
|
|
664
|
+
{
|
|
665
|
+
text,
|
|
666
|
+
textWrapperCls
|
|
667
|
+
} = _a,
|
|
668
|
+
restProps = __objRest$x(_a, ["text", "textWrapperCls"]);
|
|
669
|
+
const [isTextTruncated, setTextTruncated] = React.useState(false);
|
|
670
|
+
const textWrapper = React.useRef(null);
|
|
671
|
+
React.useLayoutEffect(() => {
|
|
672
|
+
const ele = textWrapper.current;
|
|
673
|
+
if (ele) {
|
|
674
|
+
const parent = ele.parentElement;
|
|
675
|
+
if (parent && (parent == null ? void 0 : parent.scrollWidth) > (parent == null ? void 0 : parent.clientWidth)) {
|
|
676
|
+
setTextTruncated(true);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}, [text]);
|
|
680
|
+
const renderName = () => /* @__PURE__ */React__namespace.default.createElement("span", {
|
|
681
|
+
ref: textWrapper,
|
|
682
|
+
className: textWrapperCls
|
|
683
|
+
}, text);
|
|
684
|
+
return isTextTruncated ? /* @__PURE__ */React__namespace.default.createElement(Tooltip, __spreadProps$C(__spreadValues$U({}, restProps), {
|
|
685
|
+
title: text,
|
|
686
|
+
"data-testid": "text-tooltip"
|
|
687
|
+
}), /* @__PURE__ */React__namespace.default.createElement(TruncatedTextWrapper, null, renderName())) : renderName();
|
|
688
|
+
};
|
|
689
|
+
|
|
348
690
|
const EMPTY_FUNCTION = () => {
|
|
349
691
|
};
|
|
350
692
|
|
|
@@ -567,31 +909,31 @@
|
|
|
567
909
|
}
|
|
568
910
|
}
|
|
569
911
|
|
|
570
|
-
var __defProp$
|
|
571
|
-
var __defProps$
|
|
572
|
-
var __getOwnPropDescs$
|
|
573
|
-
var __getOwnPropSymbols$
|
|
574
|
-
var __hasOwnProp$
|
|
575
|
-
var __propIsEnum$
|
|
576
|
-
var __defNormalProp$
|
|
912
|
+
var __defProp$T = Object.defineProperty;
|
|
913
|
+
var __defProps$B = Object.defineProperties;
|
|
914
|
+
var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
|
|
915
|
+
var __getOwnPropSymbols$V = Object.getOwnPropertySymbols;
|
|
916
|
+
var __hasOwnProp$V = Object.prototype.hasOwnProperty;
|
|
917
|
+
var __propIsEnum$V = Object.prototype.propertyIsEnumerable;
|
|
918
|
+
var __defNormalProp$T = (obj, key, value) => key in obj ? __defProp$T(obj, key, {
|
|
577
919
|
enumerable: true,
|
|
578
920
|
configurable: true,
|
|
579
921
|
writable: true,
|
|
580
922
|
value
|
|
581
923
|
}) : obj[key] = value;
|
|
582
|
-
var __spreadValues$
|
|
583
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
584
|
-
if (__getOwnPropSymbols$
|
|
585
|
-
if (__propIsEnum$
|
|
924
|
+
var __spreadValues$T = (a, b) => {
|
|
925
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$V.call(b, prop)) __defNormalProp$T(a, prop, b[prop]);
|
|
926
|
+
if (__getOwnPropSymbols$V) for (var prop of __getOwnPropSymbols$V(b)) {
|
|
927
|
+
if (__propIsEnum$V.call(b, prop)) __defNormalProp$T(a, prop, b[prop]);
|
|
586
928
|
}
|
|
587
929
|
return a;
|
|
588
930
|
};
|
|
589
|
-
var __spreadProps$
|
|
590
|
-
var __objRest$
|
|
931
|
+
var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
|
|
932
|
+
var __objRest$w = (source, exclude) => {
|
|
591
933
|
var target = {};
|
|
592
|
-
for (var prop in source) if (__hasOwnProp$
|
|
593
|
-
if (source != null && __getOwnPropSymbols$
|
|
594
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
934
|
+
for (var prop in source) if (__hasOwnProp$V.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
935
|
+
if (source != null && __getOwnPropSymbols$V) for (var prop of __getOwnPropSymbols$V(source)) {
|
|
936
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$V.call(source, prop)) target[prop] = source[prop];
|
|
595
937
|
}
|
|
596
938
|
return target;
|
|
597
939
|
};
|
|
@@ -609,13 +951,13 @@
|
|
|
609
951
|
action,
|
|
610
952
|
message
|
|
611
953
|
} = _b,
|
|
612
|
-
props = __objRest$
|
|
954
|
+
props = __objRest$w(_b, ["type", "icon", "showIcon", "className", "onClose", "closeText", "action", "message"]);
|
|
613
955
|
const _icon = /* @__PURE__ */React__namespace.default.createElement(Icon, {
|
|
614
956
|
alt: type,
|
|
615
957
|
src: getAlertIcon(type)
|
|
616
958
|
});
|
|
617
959
|
const _type = type === "normal" ? "info" : type;
|
|
618
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$
|
|
960
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Alert, __spreadProps$B(__spreadValues$T({}, props), {
|
|
619
961
|
className: cs__default.default(AlertStyle, type ? `alert-${type}` : "", className, {
|
|
620
962
|
action
|
|
621
963
|
}),
|
|
@@ -653,89 +995,59 @@
|
|
|
653
995
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, text);
|
|
654
996
|
};
|
|
655
997
|
|
|
656
|
-
var __defProp$
|
|
657
|
-
var __defProps$
|
|
658
|
-
var __getOwnPropDescs$
|
|
659
|
-
var __getOwnPropSymbols$
|
|
660
|
-
var __hasOwnProp$
|
|
661
|
-
var __propIsEnum$
|
|
662
|
-
var __defNormalProp$
|
|
663
|
-
var __spreadValues$
|
|
998
|
+
var __defProp$S = Object.defineProperty;
|
|
999
|
+
var __defProps$A = Object.defineProperties;
|
|
1000
|
+
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
1001
|
+
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
1002
|
+
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
1003
|
+
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
1004
|
+
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1005
|
+
var __spreadValues$S = (a, b) => {
|
|
664
1006
|
for (var prop in b || (b = {}))
|
|
665
|
-
if (__hasOwnProp$
|
|
666
|
-
__defNormalProp$
|
|
667
|
-
if (__getOwnPropSymbols$
|
|
668
|
-
for (var prop of __getOwnPropSymbols$
|
|
669
|
-
if (__propIsEnum$
|
|
670
|
-
__defNormalProp$
|
|
1007
|
+
if (__hasOwnProp$U.call(b, prop))
|
|
1008
|
+
__defNormalProp$S(a, prop, b[prop]);
|
|
1009
|
+
if (__getOwnPropSymbols$U)
|
|
1010
|
+
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
1011
|
+
if (__propIsEnum$U.call(b, prop))
|
|
1012
|
+
__defNormalProp$S(a, prop, b[prop]);
|
|
671
1013
|
}
|
|
672
1014
|
return a;
|
|
673
1015
|
};
|
|
674
|
-
var __spreadProps$
|
|
675
|
-
var __objRest$
|
|
1016
|
+
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
1017
|
+
var __objRest$v = (source, exclude) => {
|
|
676
1018
|
var target = {};
|
|
677
1019
|
for (var prop in source)
|
|
678
|
-
if (__hasOwnProp$
|
|
1020
|
+
if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
679
1021
|
target[prop] = source[prop];
|
|
680
|
-
if (source != null && __getOwnPropSymbols$
|
|
681
|
-
for (var prop of __getOwnPropSymbols$
|
|
682
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1022
|
+
if (source != null && __getOwnPropSymbols$U)
|
|
1023
|
+
for (var prop of __getOwnPropSymbols$U(source)) {
|
|
1024
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
|
|
683
1025
|
target[prop] = source[prop];
|
|
684
1026
|
}
|
|
685
1027
|
return target;
|
|
686
1028
|
};
|
|
687
1029
|
const Badge = (_a) => {
|
|
688
|
-
var _b = _a, { type = "error", className } = _b, props = __objRest$
|
|
1030
|
+
var _b = _a, { type = "error", className } = _b, props = __objRest$v(_b, ["type", "className"]);
|
|
689
1031
|
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
690
1032
|
antd.Badge,
|
|
691
|
-
__spreadProps$
|
|
1033
|
+
__spreadProps$A(__spreadValues$S({
|
|
692
1034
|
className: core.cx(`badge-${type}`, className)
|
|
693
1035
|
}, props), {
|
|
694
1036
|
showZero: false
|
|
695
1037
|
})
|
|
696
1038
|
);
|
|
697
|
-
};
|
|
698
|
-
|
|
699
|
-
function isEmpty(rawValue) {
|
|
700
|
-
if (rawValue === null || rawValue === void 0 || rawValue === MAGIC_METRIC_NULL || Number.isNaN(rawValue) || !Number.isFinite(rawValue)) {
|
|
701
|
-
return true;
|
|
702
|
-
}
|
|
703
|
-
return false;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
const Empty = (props) => {
|
|
707
|
-
const { className, style } = props;
|
|
708
|
-
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
709
|
-
};
|
|
710
|
-
|
|
711
|
-
var __defProp$S = Object.defineProperty;
|
|
712
|
-
var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
|
|
713
|
-
var __hasOwnProp$U = Object.prototype.hasOwnProperty;
|
|
714
|
-
var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
|
|
715
|
-
var __defNormalProp$S = (obj, key, value) => key in obj ? __defProp$S(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
716
|
-
var __spreadValues$S = (a, b) => {
|
|
717
|
-
for (var prop in b || (b = {}))
|
|
718
|
-
if (__hasOwnProp$U.call(b, prop))
|
|
719
|
-
__defNormalProp$S(a, prop, b[prop]);
|
|
720
|
-
if (__getOwnPropSymbols$U)
|
|
721
|
-
for (var prop of __getOwnPropSymbols$U(b)) {
|
|
722
|
-
if (__propIsEnum$U.call(b, prop))
|
|
723
|
-
__defNormalProp$S(a, prop, b[prop]);
|
|
724
|
-
}
|
|
725
|
-
return a;
|
|
726
|
-
};
|
|
727
|
-
const Bit = ({
|
|
728
|
-
rawValue,
|
|
729
|
-
decimals,
|
|
730
|
-
unitClassName,
|
|
731
|
-
valueClassName,
|
|
732
|
-
emptyProps
|
|
733
|
-
}) => {
|
|
734
|
-
if (isEmpty(rawValue)) {
|
|
735
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$S({}, emptyProps));
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1041
|
+
function isEmpty(rawValue) {
|
|
1042
|
+
if (rawValue === null || rawValue === void 0 || rawValue === MAGIC_METRIC_NULL || Number.isNaN(rawValue) || !Number.isFinite(rawValue)) {
|
|
1043
|
+
return true;
|
|
736
1044
|
}
|
|
737
|
-
|
|
738
|
-
|
|
1045
|
+
return false;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
const Empty = (props) => {
|
|
1049
|
+
const { className, style } = props;
|
|
1050
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", { className, style }, "-");
|
|
739
1051
|
};
|
|
740
1052
|
|
|
741
1053
|
var __defProp$R = Object.defineProperty;
|
|
@@ -754,17 +1066,17 @@
|
|
|
754
1066
|
}
|
|
755
1067
|
return a;
|
|
756
1068
|
};
|
|
757
|
-
const
|
|
1069
|
+
const Bit = ({
|
|
758
1070
|
rawValue,
|
|
759
1071
|
decimals,
|
|
760
|
-
valueClassName,
|
|
761
1072
|
unitClassName,
|
|
1073
|
+
valueClassName,
|
|
762
1074
|
emptyProps
|
|
763
1075
|
}) => {
|
|
764
1076
|
if (isEmpty(rawValue)) {
|
|
765
1077
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$R({}, emptyProps));
|
|
766
1078
|
}
|
|
767
|
-
const { value, unit } =
|
|
1079
|
+
const { value, unit } = formatBits(rawValue, decimals);
|
|
768
1080
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
769
1081
|
};
|
|
770
1082
|
|
|
@@ -784,7 +1096,7 @@
|
|
|
784
1096
|
}
|
|
785
1097
|
return a;
|
|
786
1098
|
};
|
|
787
|
-
const
|
|
1099
|
+
const BitPerSeconds = ({
|
|
788
1100
|
rawValue,
|
|
789
1101
|
decimals,
|
|
790
1102
|
valueClassName,
|
|
@@ -794,135 +1106,38 @@
|
|
|
794
1106
|
if (isEmpty(rawValue)) {
|
|
795
1107
|
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$Q({}, emptyProps));
|
|
796
1108
|
}
|
|
797
|
-
const { value, unit } =
|
|
1109
|
+
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
798
1110
|
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
799
1111
|
};
|
|
800
1112
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
const
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
const l2_bold_title = "l1tecqht";
|
|
827
|
-
const l2_regular_upper = "l6sa990";
|
|
828
|
-
const l2_bold_upper = "lckqe8j";
|
|
829
|
-
const l3_regular = "l1kuminb";
|
|
830
|
-
const l3_semibold = "l1pbuf5j";
|
|
831
|
-
const l3_bold = "l1r4ztu";
|
|
832
|
-
const l3_regular_title = "ly8vzok";
|
|
833
|
-
const l3_semibold_title = "lumfmf";
|
|
834
|
-
const l3_bold_title = "l16ujwmv";
|
|
835
|
-
const l3_regular_upper = "l17o1ffr";
|
|
836
|
-
const l3_bold_upper = "lngllvn";
|
|
837
|
-
const l4_regular = "l2i7fo9";
|
|
838
|
-
const l4_medium = "l1x7hscx";
|
|
839
|
-
const l4_bold = "le1jwan";
|
|
840
|
-
const l4_regular_title = "lyxynfj";
|
|
841
|
-
const l4_medium_title = "lpb2nxv";
|
|
842
|
-
const l4_bold_title = "l1r8o3vv";
|
|
843
|
-
const l4_regular_upper = "lemnjy2";
|
|
844
|
-
const l4_bold_upper = "lrc42gb";
|
|
845
|
-
const f1_regular = "fqaz4mb";
|
|
846
|
-
const f1_regular_title = "f13we5o";
|
|
847
|
-
const f2_regular = "ffmjua2";
|
|
848
|
-
const f2_regular_title = "fz2mxw0";
|
|
849
|
-
const t1_regular_mono = "t1ertzoh";
|
|
850
|
-
const t1_regular_slash = "t19bge8r";
|
|
851
|
-
const t2_regular_mono = "tjrzfyl";
|
|
852
|
-
const t2_medium_mono = "tm6s7bo";
|
|
853
|
-
const t2_regular_slash = "t19zq6ic";
|
|
854
|
-
const t2_medium_slash = "t1gduru8";
|
|
855
|
-
const t16_bold_slash = "t55raab";
|
|
856
|
-
const u1 = "u1w9abfe";
|
|
857
|
-
const Typo = {
|
|
858
|
-
Display: {
|
|
859
|
-
d1_bold_title,
|
|
860
|
-
d1s_bold_title,
|
|
861
|
-
d1_regular_title,
|
|
862
|
-
d2_bold_title,
|
|
863
|
-
d2_regular_title,
|
|
864
|
-
d3_bold_title,
|
|
865
|
-
d3_regular_title
|
|
866
|
-
},
|
|
867
|
-
Heading: {
|
|
868
|
-
h1_bold_title,
|
|
869
|
-
h1_regular_title,
|
|
870
|
-
h2_bold_title,
|
|
871
|
-
h2_regular_title,
|
|
872
|
-
h3_bold_title,
|
|
873
|
-
h3_bold_upper,
|
|
874
|
-
h3_regular_title,
|
|
875
|
-
h3_regular_upper
|
|
876
|
-
},
|
|
877
|
-
Label: {
|
|
878
|
-
l1_bold,
|
|
879
|
-
l1_bold_title,
|
|
880
|
-
l1_bold_upper,
|
|
881
|
-
l1_regular,
|
|
882
|
-
l1_regular_title,
|
|
883
|
-
l1_regular_upper,
|
|
884
|
-
l2_bold,
|
|
885
|
-
l2_bold_title,
|
|
886
|
-
l2_bold_upper,
|
|
887
|
-
l2_regular,
|
|
888
|
-
l2_regular_title,
|
|
889
|
-
l2_regular_upper,
|
|
890
|
-
l2_medium,
|
|
891
|
-
l3_bold,
|
|
892
|
-
l3_semibold,
|
|
893
|
-
l3_bold_title,
|
|
894
|
-
l3_bold_upper,
|
|
895
|
-
l3_regular,
|
|
896
|
-
l3_regular_title,
|
|
897
|
-
l3_semibold_title,
|
|
898
|
-
l3_regular_upper,
|
|
899
|
-
l4_bold,
|
|
900
|
-
l4_bold_title,
|
|
901
|
-
l4_bold_upper,
|
|
902
|
-
l4_regular,
|
|
903
|
-
l4_medium,
|
|
904
|
-
l4_regular_title,
|
|
905
|
-
l4_medium_title,
|
|
906
|
-
l4_regular_upper
|
|
907
|
-
},
|
|
908
|
-
Footnote: {
|
|
909
|
-
f1_regular,
|
|
910
|
-
f1_regular_title,
|
|
911
|
-
f2_regular,
|
|
912
|
-
f2_regular_title
|
|
913
|
-
},
|
|
914
|
-
Tabular: {
|
|
915
|
-
t1_regular_mono,
|
|
916
|
-
t1_regular_slash,
|
|
917
|
-
t2_regular_mono,
|
|
918
|
-
t2_medium_mono,
|
|
919
|
-
t2_regular_slash,
|
|
920
|
-
t2_medium_slash,
|
|
921
|
-
t16_bold_slash
|
|
922
|
-
},
|
|
923
|
-
UNKNOWN: {
|
|
924
|
-
u1
|
|
1113
|
+
var __defProp$P = Object.defineProperty;
|
|
1114
|
+
var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
|
|
1115
|
+
var __hasOwnProp$R = Object.prototype.hasOwnProperty;
|
|
1116
|
+
var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
|
|
1117
|
+
var __defNormalProp$P = (obj, key, value) => key in obj ? __defProp$P(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1118
|
+
var __spreadValues$P = (a, b) => {
|
|
1119
|
+
for (var prop in b || (b = {}))
|
|
1120
|
+
if (__hasOwnProp$R.call(b, prop))
|
|
1121
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
1122
|
+
if (__getOwnPropSymbols$R)
|
|
1123
|
+
for (var prop of __getOwnPropSymbols$R(b)) {
|
|
1124
|
+
if (__propIsEnum$R.call(b, prop))
|
|
1125
|
+
__defNormalProp$P(a, prop, b[prop]);
|
|
1126
|
+
}
|
|
1127
|
+
return a;
|
|
1128
|
+
};
|
|
1129
|
+
const Bps = ({
|
|
1130
|
+
rawValue,
|
|
1131
|
+
decimals,
|
|
1132
|
+
valueClassName,
|
|
1133
|
+
unitClassName,
|
|
1134
|
+
emptyProps
|
|
1135
|
+
}) => {
|
|
1136
|
+
if (isEmpty(rawValue)) {
|
|
1137
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Empty, __spreadValues$P({}, emptyProps));
|
|
925
1138
|
}
|
|
1139
|
+
const { value, unit } = formatBps(rawValue, decimals);
|
|
1140
|
+
return /* @__PURE__ */ React__namespace.default.createElement("span", null, /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("value", valueClassName) }, value), /* @__PURE__ */ React__namespace.default.createElement("span", { className: core.cx("unit", unitClassName) }, ` ${unit}`));
|
|
926
1141
|
};
|
|
927
1142
|
|
|
928
1143
|
const HoverableElement = (props) => {
|
|
@@ -933,28 +1148,28 @@
|
|
|
933
1148
|
return icon != null ? React__namespace.default.cloneElement(icon, { className }) : null;
|
|
934
1149
|
};
|
|
935
1150
|
|
|
936
|
-
var __defProp$
|
|
937
|
-
var __getOwnPropSymbols$
|
|
938
|
-
var __hasOwnProp$
|
|
939
|
-
var __propIsEnum$
|
|
940
|
-
var __defNormalProp$
|
|
1151
|
+
var __defProp$O = Object.defineProperty;
|
|
1152
|
+
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
1153
|
+
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
1154
|
+
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
1155
|
+
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, {
|
|
941
1156
|
enumerable: true,
|
|
942
1157
|
configurable: true,
|
|
943
1158
|
writable: true,
|
|
944
1159
|
value
|
|
945
1160
|
}) : obj[key] = value;
|
|
946
|
-
var __spreadValues$
|
|
947
|
-
for (var prop in b || (b = {})) if (__hasOwnProp$
|
|
948
|
-
if (__getOwnPropSymbols$
|
|
949
|
-
if (__propIsEnum$
|
|
1161
|
+
var __spreadValues$O = (a, b) => {
|
|
1162
|
+
for (var prop in b || (b = {})) if (__hasOwnProp$Q.call(b, prop)) __defNormalProp$O(a, prop, b[prop]);
|
|
1163
|
+
if (__getOwnPropSymbols$Q) for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
1164
|
+
if (__propIsEnum$Q.call(b, prop)) __defNormalProp$O(a, prop, b[prop]);
|
|
950
1165
|
}
|
|
951
1166
|
return a;
|
|
952
1167
|
};
|
|
953
|
-
var __objRest$
|
|
1168
|
+
var __objRest$u = (source, exclude) => {
|
|
954
1169
|
var target = {};
|
|
955
|
-
for (var prop in source) if (__hasOwnProp$
|
|
956
|
-
if (source != null && __getOwnPropSymbols$
|
|
957
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
1170
|
+
for (var prop in source) if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1171
|
+
if (source != null && __getOwnPropSymbols$Q) for (var prop of __getOwnPropSymbols$Q(source)) {
|
|
1172
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop)) target[prop] = source[prop];
|
|
958
1173
|
}
|
|
959
1174
|
return target;
|
|
960
1175
|
};
|
|
@@ -977,12 +1192,12 @@
|
|
|
977
1192
|
onMouseLeave,
|
|
978
1193
|
size = "middle"
|
|
979
1194
|
} = _a,
|
|
980
|
-
restProps = __objRest$
|
|
1195
|
+
restProps = __objRest$u(_a, ["type", "className", "children", "prefixIcon", "hoverPrefixIcon", "suffixIcon", "hoverSuffixIcon", "onMouseEnter", "onMouseLeave", "size"]);
|
|
981
1196
|
const [status, setStatus] = React.useState("normal");
|
|
982
1197
|
const hasIcon = prefixIcon || suffixIcon;
|
|
983
1198
|
const hasHoverIcon = hoverPrefixIcon || hoverSuffixIcon;
|
|
984
1199
|
const onlyIcon = !children && (prefixIcon || suffixIcon);
|
|
985
|
-
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$
|
|
1200
|
+
return /* @__PURE__ */React__namespace.default.createElement(antd.Button, __spreadValues$O({
|
|
986
1201
|
ref,
|
|
987
1202
|
className: cs__default.default(className, ButtonStyle$1, type === "link" && NoPadding, 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}`, onlyIcon && "ant-btn-icon-only"),
|
|
988
1203
|
type: isAntdButtonTypes(type) ? type : void 0,
|
|
@@ -1012,97 +1227,6 @@
|
|
|
1012
1227
|
}));
|
|
1013
1228
|
});
|
|
1014
1229
|
|
|
1015
|
-
var __defProp$O = Object.defineProperty;
|
|
1016
|
-
var __defProps$A = Object.defineProperties;
|
|
1017
|
-
var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
|
|
1018
|
-
var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
|
|
1019
|
-
var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
|
|
1020
|
-
var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
|
|
1021
|
-
var __defNormalProp$O = (obj, key, value) => key in obj ? __defProp$O(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
1022
|
-
var __spreadValues$O = (a, b) => {
|
|
1023
|
-
for (var prop in b || (b = {}))
|
|
1024
|
-
if (__hasOwnProp$Q.call(b, prop))
|
|
1025
|
-
__defNormalProp$O(a, prop, b[prop]);
|
|
1026
|
-
if (__getOwnPropSymbols$Q)
|
|
1027
|
-
for (var prop of __getOwnPropSymbols$Q(b)) {
|
|
1028
|
-
if (__propIsEnum$Q.call(b, prop))
|
|
1029
|
-
__defNormalProp$O(a, prop, b[prop]);
|
|
1030
|
-
}
|
|
1031
|
-
return a;
|
|
1032
|
-
};
|
|
1033
|
-
var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
|
|
1034
|
-
var __objRest$u = (source, exclude) => {
|
|
1035
|
-
var target = {};
|
|
1036
|
-
for (var prop in source)
|
|
1037
|
-
if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
1038
|
-
target[prop] = source[prop];
|
|
1039
|
-
if (source != null && __getOwnPropSymbols$Q)
|
|
1040
|
-
for (var prop of __getOwnPropSymbols$Q(source)) {
|
|
1041
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop))
|
|
1042
|
-
target[prop] = source[prop];
|
|
1043
|
-
}
|
|
1044
|
-
return target;
|
|
1045
|
-
};
|
|
1046
|
-
let componentId = 0;
|
|
1047
|
-
const Tooltip = (props) => {
|
|
1048
|
-
const _a = props, {
|
|
1049
|
-
followMouse,
|
|
1050
|
-
overlayClassName,
|
|
1051
|
-
overlayStyle,
|
|
1052
|
-
children
|
|
1053
|
-
} = _a, restProps = __objRest$u(_a, [
|
|
1054
|
-
"followMouse",
|
|
1055
|
-
"overlayClassName",
|
|
1056
|
-
"overlayStyle",
|
|
1057
|
-
"children"
|
|
1058
|
-
]);
|
|
1059
|
-
const id = React.useRef(++componentId);
|
|
1060
|
-
const uniquePopupClass = `kit-popup-${id.current}`;
|
|
1061
|
-
const uniqueContainerClass = `kit-tooltip-${id.current}`;
|
|
1062
|
-
const _children = React.useMemo(() => {
|
|
1063
|
-
if (followMouse) {
|
|
1064
|
-
const child = React__namespace.default.isValidElement(children) ? children : /* @__PURE__ */ React__namespace.default.createElement("span", null, children);
|
|
1065
|
-
return React__namespace.default.cloneElement(child, {
|
|
1066
|
-
className: cs__default.default(child.props.className, uniqueContainerClass)
|
|
1067
|
-
});
|
|
1068
|
-
} else {
|
|
1069
|
-
return children;
|
|
1070
|
-
}
|
|
1071
|
-
}, [children, followMouse, uniqueContainerClass]);
|
|
1072
|
-
const onmousemove = React.useCallback(
|
|
1073
|
-
(event) => {
|
|
1074
|
-
const popup = document.querySelector(`.${uniquePopupClass}`);
|
|
1075
|
-
if (!popup)
|
|
1076
|
-
return;
|
|
1077
|
-
popup.style.left = event.pageX + "px";
|
|
1078
|
-
popup.style.top = event.pageY + "px";
|
|
1079
|
-
},
|
|
1080
|
-
[uniquePopupClass]
|
|
1081
|
-
);
|
|
1082
|
-
React.useEffect(() => {
|
|
1083
|
-
if (followMouse) {
|
|
1084
|
-
const container = document.querySelector(
|
|
1085
|
-
`.${uniqueContainerClass}`
|
|
1086
|
-
);
|
|
1087
|
-
container == null ? void 0 : container.addEventListener("mousemove", onmousemove);
|
|
1088
|
-
return () => {
|
|
1089
|
-
container == null ? void 0 : container.removeEventListener("mousemove", onmousemove);
|
|
1090
|
-
};
|
|
1091
|
-
}
|
|
1092
|
-
}, [followMouse, onmousemove, uniqueContainerClass]);
|
|
1093
|
-
return /* @__PURE__ */ React__namespace.default.createElement(
|
|
1094
|
-
antd.Tooltip,
|
|
1095
|
-
__spreadProps$A(__spreadValues$O({}, restProps), {
|
|
1096
|
-
overlayClassName: followMouse ? cs__default.default(overlayClassName, uniquePopupClass) : overlayClassName,
|
|
1097
|
-
children: _children,
|
|
1098
|
-
overlayStyle: followMouse ? __spreadValues$O({
|
|
1099
|
-
transform: "translate(-50%, -100%)",
|
|
1100
|
-
pointerEvents: "none"
|
|
1101
|
-
}, overlayStyle) : overlayStyle
|
|
1102
|
-
})
|
|
1103
|
-
);
|
|
1104
|
-
};
|
|
1105
|
-
|
|
1106
1230
|
var __defProp$N = Object.defineProperty;
|
|
1107
1231
|
var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
|
|
1108
1232
|
var __hasOwnProp$P = Object.prototype.hasOwnProperty;
|
|
@@ -1608,6 +1732,11 @@
|
|
|
1608
1732
|
const InputStyle = "ipd9bk";
|
|
1609
1733
|
const KitInputStyle = "kypn5o5";
|
|
1610
1734
|
|
|
1735
|
+
const LoadingWrapper = "l4bld33";
|
|
1736
|
+
const LoadingLine1 = "lgitjoj";
|
|
1737
|
+
const LoadingLine2 = "l13g0exg";
|
|
1738
|
+
const LoadingLine3 = "l1exo3h6";
|
|
1739
|
+
|
|
1611
1740
|
var __defProp$H = Object.defineProperty;
|
|
1612
1741
|
var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
|
|
1613
1742
|
var __hasOwnProp$I = Object.prototype.hasOwnProperty;
|
|
@@ -1627,7 +1756,7 @@
|
|
|
1627
1756
|
const Loading = ({ fullView = true }) => {
|
|
1628
1757
|
const Wrapper = fullView ? FullView : React.Fragment;
|
|
1629
1758
|
const props = fullView ? { className: "loading-full-view" } : {};
|
|
1630
|
-
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$H({}, props), /* @__PURE__ */ React__namespace.default.createElement("div", { className:
|
|
1759
|
+
return /* @__PURE__ */ React__namespace.default.createElement(Wrapper, __spreadValues$H({}, props), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingWrapper }, /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine1 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine2 }), /* @__PURE__ */ React__namespace.default.createElement("div", { className: LoadingLine3 })));
|
|
1631
1760
|
};
|
|
1632
1761
|
|
|
1633
1762
|
var __defProp$G = Object.defineProperty;
|
|
@@ -5836,7 +5965,10 @@
|
|
|
5836
5965
|
time: Time,
|
|
5837
5966
|
DropdownTransition,
|
|
5838
5967
|
AccordionCard,
|
|
5839
|
-
DetailCard
|
|
5968
|
+
DetailCard,
|
|
5969
|
+
TruncatedTextWithTooltip,
|
|
5970
|
+
Counting,
|
|
5971
|
+
Breadcrumb
|
|
5840
5972
|
};
|
|
5841
5973
|
kit.option.isSelectOption = true;
|
|
5842
5974
|
kit.button.__ANT_BUTTON = true;
|