@sawport/react-sdk 1.2.0-alpha.0 → 1.2.0-alpha.2
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/index.js +621 -335
- package/dist/index.umd.js +7 -7
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -119,7 +119,7 @@ function _typeof(o2) {
|
|
|
119
119
|
var REACT_ELEMENT_TYPE_18 = Symbol.for("react.element");
|
|
120
120
|
var REACT_ELEMENT_TYPE_19 = Symbol.for("react.transitional.element");
|
|
121
121
|
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
122
|
-
function isFragment$
|
|
122
|
+
function isFragment$2(object4) {
|
|
123
123
|
return (
|
|
124
124
|
// Base object type
|
|
125
125
|
object4 && _typeof(object4) === "object" && // React Element type
|
|
@@ -136,7 +136,7 @@ function toArray$8(children) {
|
|
|
136
136
|
}
|
|
137
137
|
if (Array.isArray(child)) {
|
|
138
138
|
ret = ret.concat(toArray$8(child));
|
|
139
|
-
} else if (isFragment$
|
|
139
|
+
} else if (isFragment$2(child) && child.props) {
|
|
140
140
|
ret = ret.concat(toArray$8(child.props.children, option));
|
|
141
141
|
} else {
|
|
142
142
|
ret.push(child);
|
|
@@ -144,31 +144,31 @@ function toArray$8(children) {
|
|
|
144
144
|
});
|
|
145
145
|
return ret;
|
|
146
146
|
}
|
|
147
|
-
var warned
|
|
148
|
-
var preMessage
|
|
147
|
+
var warned = {};
|
|
148
|
+
var preMessage = function preMessage2(fn) {
|
|
149
149
|
};
|
|
150
150
|
function warning$4(valid, message) {
|
|
151
151
|
}
|
|
152
|
-
function note
|
|
152
|
+
function note(valid, message) {
|
|
153
153
|
}
|
|
154
|
-
function resetWarned
|
|
155
|
-
warned
|
|
154
|
+
function resetWarned() {
|
|
155
|
+
warned = {};
|
|
156
156
|
}
|
|
157
|
-
function call
|
|
158
|
-
if (!valid && !warned
|
|
157
|
+
function call(method4, valid, message) {
|
|
158
|
+
if (!valid && !warned[message]) {
|
|
159
159
|
method4(false, message);
|
|
160
|
-
warned
|
|
160
|
+
warned[message] = true;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
function warningOnce
|
|
164
|
-
call
|
|
163
|
+
function warningOnce(valid, message) {
|
|
164
|
+
call(warning$4, valid, message);
|
|
165
165
|
}
|
|
166
|
-
function noteOnce
|
|
167
|
-
call
|
|
166
|
+
function noteOnce(valid, message) {
|
|
167
|
+
call(note, valid, message);
|
|
168
168
|
}
|
|
169
|
-
warningOnce
|
|
170
|
-
warningOnce
|
|
171
|
-
warningOnce
|
|
169
|
+
warningOnce.preMessage = preMessage;
|
|
170
|
+
warningOnce.resetWarned = resetWarned;
|
|
171
|
+
warningOnce.noteOnce = noteOnce;
|
|
172
172
|
function toPrimitive(t2, r2) {
|
|
173
173
|
if ("object" != _typeof(t2) || !t2) return t2;
|
|
174
174
|
var e2 = t2[Symbol.toPrimitive];
|
|
@@ -361,14 +361,14 @@ function useMemo$1(getValue2, condition, shouldUpdate) {
|
|
|
361
361
|
return cacheRef.current.value;
|
|
362
362
|
}
|
|
363
363
|
var ReactMajorVersion = Number(version$3.split(".")[0]);
|
|
364
|
-
var fillRef
|
|
364
|
+
var fillRef = function fillRef2(ref2, node2) {
|
|
365
365
|
if (typeof ref2 === "function") {
|
|
366
366
|
ref2(node2);
|
|
367
367
|
} else if (_typeof(ref2) === "object" && ref2 && "current" in ref2) {
|
|
368
368
|
ref2.current = node2;
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
|
-
var composeRef
|
|
371
|
+
var composeRef = function composeRef2() {
|
|
372
372
|
for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
373
373
|
refs[_key] = arguments[_key];
|
|
374
374
|
}
|
|
@@ -378,16 +378,16 @@ var composeRef$1 = function composeRef() {
|
|
|
378
378
|
}
|
|
379
379
|
return function(node2) {
|
|
380
380
|
refs.forEach(function(ref2) {
|
|
381
|
-
fillRef
|
|
381
|
+
fillRef(ref2, node2);
|
|
382
382
|
});
|
|
383
383
|
};
|
|
384
384
|
};
|
|
385
|
-
var useComposeRef
|
|
385
|
+
var useComposeRef = function useComposeRef2() {
|
|
386
386
|
for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
387
387
|
refs[_key2] = arguments[_key2];
|
|
388
388
|
}
|
|
389
389
|
return useMemo$1(function() {
|
|
390
|
-
return composeRef
|
|
390
|
+
return composeRef.apply(void 0, refs);
|
|
391
391
|
}, refs, function(prev2, next2) {
|
|
392
392
|
return prev2.length !== next2.length || prev2.every(function(ref2, i2) {
|
|
393
393
|
return ref2 !== next2[i2];
|
|
@@ -412,7 +412,7 @@ var supportRef = function supportRef2(nodeOrComponent) {
|
|
|
412
412
|
return true;
|
|
413
413
|
};
|
|
414
414
|
function isReactElement$1(node2) {
|
|
415
|
-
return /* @__PURE__ */ isValidElement(node2) && !isFragment$
|
|
415
|
+
return /* @__PURE__ */ isValidElement(node2) && !isFragment$2(node2);
|
|
416
416
|
}
|
|
417
417
|
var supportNodeRef = function supportNodeRef2(node2) {
|
|
418
418
|
return isReactElement$1(node2) && supportRef(node2);
|
|
@@ -1065,7 +1065,7 @@ function SingleObserver(props, ref2) {
|
|
|
1065
1065
|
});
|
|
1066
1066
|
var canRef = !isRenderProps && /* @__PURE__ */ React.isValidElement(mergedChildren) && supportRef(mergedChildren);
|
|
1067
1067
|
var originRef = canRef ? getNodeRef(mergedChildren) : null;
|
|
1068
|
-
var mergedRef = useComposeRef
|
|
1068
|
+
var mergedRef = useComposeRef(originRef, elementRef);
|
|
1069
1069
|
var getDom = function getDom2() {
|
|
1070
1070
|
var _elementRef$current;
|
|
1071
1071
|
return findDOMNode(elementRef.current) || // Support `nativeElement` format
|
|
@@ -1277,61 +1277,61 @@ function contains$1(root2, n2) {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
return false;
|
|
1279
1279
|
}
|
|
1280
|
-
var APPEND_ORDER
|
|
1281
|
-
var APPEND_PRIORITY
|
|
1282
|
-
var MARK_KEY
|
|
1283
|
-
var containerCache
|
|
1284
|
-
function getMark
|
|
1280
|
+
var APPEND_ORDER = "data-rc-order";
|
|
1281
|
+
var APPEND_PRIORITY = "data-rc-priority";
|
|
1282
|
+
var MARK_KEY = "rc-util-key";
|
|
1283
|
+
var containerCache = /* @__PURE__ */ new Map();
|
|
1284
|
+
function getMark() {
|
|
1285
1285
|
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, mark = _ref.mark;
|
|
1286
1286
|
if (mark) {
|
|
1287
1287
|
return mark.startsWith("data-") ? mark : "data-".concat(mark);
|
|
1288
1288
|
}
|
|
1289
|
-
return MARK_KEY
|
|
1289
|
+
return MARK_KEY;
|
|
1290
1290
|
}
|
|
1291
|
-
function getContainer
|
|
1291
|
+
function getContainer(option) {
|
|
1292
1292
|
if (option.attachTo) {
|
|
1293
1293
|
return option.attachTo;
|
|
1294
1294
|
}
|
|
1295
1295
|
var head = document.querySelector("head");
|
|
1296
1296
|
return head || document.body;
|
|
1297
1297
|
}
|
|
1298
|
-
function getOrder
|
|
1298
|
+
function getOrder(prepend) {
|
|
1299
1299
|
if (prepend === "queue") {
|
|
1300
1300
|
return "prependQueue";
|
|
1301
1301
|
}
|
|
1302
1302
|
return prepend ? "prepend" : "append";
|
|
1303
1303
|
}
|
|
1304
|
-
function findStyles
|
|
1305
|
-
return Array.from((containerCache
|
|
1304
|
+
function findStyles(container) {
|
|
1305
|
+
return Array.from((containerCache.get(container) || container).children).filter(function(node2) {
|
|
1306
1306
|
return node2.tagName === "STYLE";
|
|
1307
1307
|
});
|
|
1308
1308
|
}
|
|
1309
|
-
function injectCSS
|
|
1309
|
+
function injectCSS(css) {
|
|
1310
1310
|
var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1311
1311
|
if (!canUseDom$1()) {
|
|
1312
1312
|
return null;
|
|
1313
1313
|
}
|
|
1314
1314
|
var csp = option.csp, prepend = option.prepend, _option$priority = option.priority, priority = _option$priority === void 0 ? 0 : _option$priority;
|
|
1315
|
-
var mergedOrder = getOrder
|
|
1315
|
+
var mergedOrder = getOrder(prepend);
|
|
1316
1316
|
var isPrependQueue = mergedOrder === "prependQueue";
|
|
1317
1317
|
var styleNode = document.createElement("style");
|
|
1318
|
-
styleNode.setAttribute(APPEND_ORDER
|
|
1318
|
+
styleNode.setAttribute(APPEND_ORDER, mergedOrder);
|
|
1319
1319
|
if (isPrependQueue && priority) {
|
|
1320
|
-
styleNode.setAttribute(APPEND_PRIORITY
|
|
1320
|
+
styleNode.setAttribute(APPEND_PRIORITY, "".concat(priority));
|
|
1321
1321
|
}
|
|
1322
1322
|
if (csp !== null && csp !== void 0 && csp.nonce) {
|
|
1323
1323
|
styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce;
|
|
1324
1324
|
}
|
|
1325
1325
|
styleNode.innerHTML = css;
|
|
1326
|
-
var container = getContainer
|
|
1326
|
+
var container = getContainer(option);
|
|
1327
1327
|
var firstChild = container.firstChild;
|
|
1328
1328
|
if (prepend) {
|
|
1329
1329
|
if (isPrependQueue) {
|
|
1330
|
-
var existStyle = (option.styles || findStyles
|
|
1331
|
-
if (!["prepend", "prependQueue"].includes(node2.getAttribute(APPEND_ORDER
|
|
1330
|
+
var existStyle = (option.styles || findStyles(container)).filter(function(node2) {
|
|
1331
|
+
if (!["prepend", "prependQueue"].includes(node2.getAttribute(APPEND_ORDER))) {
|
|
1332
1332
|
return false;
|
|
1333
1333
|
}
|
|
1334
|
-
var nodePriority = Number(node2.getAttribute(APPEND_PRIORITY
|
|
1334
|
+
var nodePriority = Number(node2.getAttribute(APPEND_PRIORITY) || 0);
|
|
1335
1335
|
return priority >= nodePriority;
|
|
1336
1336
|
});
|
|
1337
1337
|
if (existStyle.length) {
|
|
@@ -1345,39 +1345,39 @@ function injectCSS$1(css) {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
return styleNode;
|
|
1347
1347
|
}
|
|
1348
|
-
function findExistNode
|
|
1348
|
+
function findExistNode(key) {
|
|
1349
1349
|
var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1350
|
-
var container = getContainer
|
|
1351
|
-
return (option.styles || findStyles
|
|
1352
|
-
return node2.getAttribute(getMark
|
|
1350
|
+
var container = getContainer(option);
|
|
1351
|
+
return (option.styles || findStyles(container)).find(function(node2) {
|
|
1352
|
+
return node2.getAttribute(getMark(option)) === key;
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
1355
1355
|
function removeCSS(key) {
|
|
1356
1356
|
var option = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1357
|
-
var existNode = findExistNode
|
|
1357
|
+
var existNode = findExistNode(key, option);
|
|
1358
1358
|
if (existNode) {
|
|
1359
|
-
var container = getContainer
|
|
1359
|
+
var container = getContainer(option);
|
|
1360
1360
|
container.removeChild(existNode);
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
|
-
function syncRealContainer
|
|
1364
|
-
var cachedRealContainer = containerCache
|
|
1363
|
+
function syncRealContainer(container, option) {
|
|
1364
|
+
var cachedRealContainer = containerCache.get(container);
|
|
1365
1365
|
if (!cachedRealContainer || !contains$1(document, cachedRealContainer)) {
|
|
1366
|
-
var placeholderStyle = injectCSS
|
|
1366
|
+
var placeholderStyle = injectCSS("", option);
|
|
1367
1367
|
var parentNode = placeholderStyle.parentNode;
|
|
1368
|
-
containerCache
|
|
1368
|
+
containerCache.set(container, parentNode);
|
|
1369
1369
|
container.removeChild(placeholderStyle);
|
|
1370
1370
|
}
|
|
1371
1371
|
}
|
|
1372
|
-
function updateCSS
|
|
1372
|
+
function updateCSS(css, key) {
|
|
1373
1373
|
var originOption = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1374
|
-
var container = getContainer
|
|
1375
|
-
var styles2 = findStyles
|
|
1374
|
+
var container = getContainer(originOption);
|
|
1375
|
+
var styles2 = findStyles(container);
|
|
1376
1376
|
var option = _objectSpread2(_objectSpread2({}, originOption), {}, {
|
|
1377
1377
|
styles: styles2
|
|
1378
1378
|
});
|
|
1379
|
-
syncRealContainer
|
|
1380
|
-
var existNode = findExistNode
|
|
1379
|
+
syncRealContainer(container, option);
|
|
1380
|
+
var existNode = findExistNode(key, option);
|
|
1381
1381
|
if (existNode) {
|
|
1382
1382
|
var _option$csp, _option$csp2;
|
|
1383
1383
|
if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) {
|
|
@@ -1389,8 +1389,8 @@ function updateCSS$1(css, key) {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
return existNode;
|
|
1391
1391
|
}
|
|
1392
|
-
var newNode = injectCSS
|
|
1393
|
-
newNode.setAttribute(getMark
|
|
1392
|
+
var newNode = injectCSS(css, option);
|
|
1393
|
+
newNode.setAttribute(getMark(option), key);
|
|
1394
1394
|
return newNode;
|
|
1395
1395
|
}
|
|
1396
1396
|
function _objectWithoutPropertiesLoose$2(r2, e2) {
|
|
@@ -1417,7 +1417,7 @@ function isEqual$1(obj1, obj2) {
|
|
|
1417
1417
|
function deepEqual(a2, b2) {
|
|
1418
1418
|
var level = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1;
|
|
1419
1419
|
var circular = refSet.has(a2);
|
|
1420
|
-
warningOnce
|
|
1420
|
+
warningOnce(!circular, "Warning: There may be circular references");
|
|
1421
1421
|
if (circular) {
|
|
1422
1422
|
return false;
|
|
1423
1423
|
}
|
|
@@ -1981,7 +1981,7 @@ function useCacheToken(theme, tokens2) {
|
|
|
1981
1981
|
}, function(_ref) {
|
|
1982
1982
|
var _ref2 = _slicedToArray(_ref, 4), token2 = _ref2[0], cssVarsStr = _ref2[3];
|
|
1983
1983
|
if (cssVar && cssVarsStr) {
|
|
1984
|
-
var style2 = updateCSS
|
|
1984
|
+
var style2 = updateCSS(cssVarsStr, murmur2("css-variables-".concat(token2._themeKey)), {
|
|
1985
1985
|
mark: ATTR_MARK,
|
|
1986
1986
|
prepend: "queue",
|
|
1987
1987
|
attachTo: container,
|
|
@@ -2667,15 +2667,15 @@ function useStyleRegister(info, styleFn) {
|
|
|
2667
2667
|
}
|
|
2668
2668
|
});
|
|
2669
2669
|
effectLayerKeys.forEach(function(effectKey) {
|
|
2670
|
-
updateCSS
|
|
2670
|
+
updateCSS(normalizeStyle(effectStyle[effectKey]), "_layer-".concat(effectKey), _objectSpread2(_objectSpread2({}, mergedCSSConfig), {}, {
|
|
2671
2671
|
prepend: true
|
|
2672
2672
|
}));
|
|
2673
2673
|
});
|
|
2674
|
-
var style2 = updateCSS
|
|
2674
|
+
var style2 = updateCSS(styleStr, styleId, mergedCSSConfig);
|
|
2675
2675
|
style2[CSS_IN_JS_INSTANCE] = cache.instanceId;
|
|
2676
2676
|
style2.setAttribute(ATTR_TOKEN, tokenKey);
|
|
2677
2677
|
effectRestKeys.forEach(function(effectKey) {
|
|
2678
|
-
updateCSS
|
|
2678
|
+
updateCSS(normalizeStyle(effectStyle[effectKey]), "_effect-".concat(effectKey), mergedCSSConfig);
|
|
2679
2679
|
});
|
|
2680
2680
|
}
|
|
2681
2681
|
}
|
|
@@ -2751,7 +2751,7 @@ var useCSSVarRegister = function useCSSVarRegister2(config, fn) {
|
|
|
2751
2751
|
if (!cssVarsStr) {
|
|
2752
2752
|
return;
|
|
2753
2753
|
}
|
|
2754
|
-
var style2 = updateCSS
|
|
2754
|
+
var style2 = updateCSS(cssVarsStr, styleId, {
|
|
2755
2755
|
mark: ATTR_MARK,
|
|
2756
2756
|
prepend: "queue",
|
|
2757
2757
|
attachTo: container,
|
|
@@ -4266,7 +4266,7 @@ function getStyle(globalPrefixCls2, theme) {
|
|
|
4266
4266
|
function registerTheme(globalPrefixCls2, theme) {
|
|
4267
4267
|
const style2 = getStyle(globalPrefixCls2, theme);
|
|
4268
4268
|
if (canUseDom$1()) {
|
|
4269
|
-
updateCSS
|
|
4269
|
+
updateCSS(style2, `${dynamicStyleMark}-dynamic-theme`);
|
|
4270
4270
|
}
|
|
4271
4271
|
}
|
|
4272
4272
|
const DisabledContext = /* @__PURE__ */ React.createContext(false);
|
|
@@ -5828,7 +5828,7 @@ function genCSSMotion(config) {
|
|
|
5828
5828
|
}
|
|
5829
5829
|
var setNodeRef = React.useCallback(function(node2) {
|
|
5830
5830
|
nodeRef.current = node2;
|
|
5831
|
-
fillRef
|
|
5831
|
+
fillRef(ref2, node2);
|
|
5832
5832
|
}, [ref2]);
|
|
5833
5833
|
var motionChildren;
|
|
5834
5834
|
var mergedProps = _objectSpread2(_objectSpread2({}, eventProps), {}, {
|
|
@@ -6462,15 +6462,15 @@ Object.defineProperty(ConfigProvider, "SizeContext", {
|
|
|
6462
6462
|
}
|
|
6463
6463
|
});
|
|
6464
6464
|
var CheckCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, "name": "check-circle", "theme": "filled" };
|
|
6465
|
-
function getRoot
|
|
6465
|
+
function getRoot(ele) {
|
|
6466
6466
|
var _ele$getRootNode;
|
|
6467
6467
|
return ele === null || ele === void 0 || (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele);
|
|
6468
6468
|
}
|
|
6469
|
-
function inShadow
|
|
6470
|
-
return getRoot
|
|
6469
|
+
function inShadow(ele) {
|
|
6470
|
+
return getRoot(ele) instanceof ShadowRoot;
|
|
6471
6471
|
}
|
|
6472
|
-
function getShadowRoot
|
|
6473
|
-
return inShadow
|
|
6472
|
+
function getShadowRoot(ele) {
|
|
6473
|
+
return inShadow(ele) ? getRoot(ele) : null;
|
|
6474
6474
|
}
|
|
6475
6475
|
function camelCase$2(input) {
|
|
6476
6476
|
return input.replace(/-(.)/g, function(match5, g2) {
|
|
@@ -6478,7 +6478,7 @@ function camelCase$2(input) {
|
|
|
6478
6478
|
});
|
|
6479
6479
|
}
|
|
6480
6480
|
function warning$3(valid, message) {
|
|
6481
|
-
warningOnce
|
|
6481
|
+
warningOnce(valid, "[@ant-design/icons] ".concat(message));
|
|
6482
6482
|
}
|
|
6483
6483
|
function isIconDefinition$1(target) {
|
|
6484
6484
|
return _typeof(target) === "object" && typeof target.name === "string" && typeof target.theme === "string" && (_typeof(target.icon) === "object" || typeof target.icon === "function");
|
|
@@ -6534,8 +6534,8 @@ var useInsertStyles$1 = function useInsertStyles(eleRef) {
|
|
|
6534
6534
|
}
|
|
6535
6535
|
useEffect(function() {
|
|
6536
6536
|
var ele = eleRef.current;
|
|
6537
|
-
var shadowRoot = getShadowRoot
|
|
6538
|
-
updateCSS
|
|
6537
|
+
var shadowRoot = getShadowRoot(ele);
|
|
6538
|
+
updateCSS(mergedStyleStr, "@ant-design-icons", {
|
|
6539
6539
|
prepend: !layer,
|
|
6540
6540
|
csp,
|
|
6541
6541
|
attachTo: shadowRoot
|
|
@@ -6656,14 +6656,14 @@ var CloseCircleFilled = function CloseCircleFilled2(props, ref2) {
|
|
|
6656
6656
|
}));
|
|
6657
6657
|
};
|
|
6658
6658
|
var RefIcon$o = /* @__PURE__ */ React.forwardRef(CloseCircleFilled);
|
|
6659
|
-
var CloseOutlined$
|
|
6660
|
-
var CloseOutlined$
|
|
6659
|
+
var CloseOutlined$3 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, "name": "close", "theme": "outlined" };
|
|
6660
|
+
var CloseOutlined$2 = function CloseOutlined2(props, ref2) {
|
|
6661
6661
|
return /* @__PURE__ */ React.createElement(Icon$4, _extends$f({}, props, {
|
|
6662
6662
|
ref: ref2,
|
|
6663
|
-
icon: CloseOutlined$
|
|
6663
|
+
icon: CloseOutlined$3
|
|
6664
6664
|
}));
|
|
6665
6665
|
};
|
|
6666
|
-
var RefIcon$n = /* @__PURE__ */ React.forwardRef(CloseOutlined$
|
|
6666
|
+
var RefIcon$n = /* @__PURE__ */ React.forwardRef(CloseOutlined$2);
|
|
6667
6667
|
var ExclamationCircleFilled$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "exclamation-circle", "theme": "filled" };
|
|
6668
6668
|
var ExclamationCircleFilled = function ExclamationCircleFilled2(props, ref2) {
|
|
6669
6669
|
return /* @__PURE__ */ React.createElement(Icon$4, _extends$f({}, props, {
|
|
@@ -6717,7 +6717,7 @@ function pickAttrs(props) {
|
|
|
6717
6717
|
});
|
|
6718
6718
|
return attrs;
|
|
6719
6719
|
}
|
|
6720
|
-
function isFragment(child) {
|
|
6720
|
+
function isFragment$1(child) {
|
|
6721
6721
|
return child && /* @__PURE__ */ React__default.isValidElement(child) && child.type === React__default.Fragment;
|
|
6722
6722
|
}
|
|
6723
6723
|
const replaceElement = (element, replacement, props) => {
|
|
@@ -7060,7 +7060,7 @@ const Alert$1 = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
7060
7060
|
style: motionStyle
|
|
7061
7061
|
}, setRef) => /* @__PURE__ */ React.createElement("div", Object.assign({
|
|
7062
7062
|
id: id2,
|
|
7063
|
-
ref: composeRef
|
|
7063
|
+
ref: composeRef(internalRef, setRef),
|
|
7064
7064
|
"data-show": !closed,
|
|
7065
7065
|
className: classNames(alertCls, motionClassName),
|
|
7066
7066
|
style: Object.assign(Object.assign(Object.assign({}, contextStyle), style2), motionStyle),
|
|
@@ -7983,7 +7983,7 @@ const WaveEffect = (props) => {
|
|
|
7983
7983
|
}, ({
|
|
7984
7984
|
className: motionClassName
|
|
7985
7985
|
}, ref2) => /* @__PURE__ */ React.createElement("div", {
|
|
7986
|
-
ref: composeRef
|
|
7986
|
+
ref: composeRef(divRef, ref2),
|
|
7987
7987
|
className: classNames(className, motionClassName, {
|
|
7988
7988
|
"wave-quick": isSmallComponent
|
|
7989
7989
|
}),
|
|
@@ -8077,7 +8077,7 @@ const Wave = (props) => {
|
|
|
8077
8077
|
if (!/* @__PURE__ */ React__default.isValidElement(children)) {
|
|
8078
8078
|
return children !== null && children !== void 0 ? children : null;
|
|
8079
8079
|
}
|
|
8080
|
-
const ref2 = supportRef(children) ? composeRef
|
|
8080
|
+
const ref2 = supportRef(children) ? composeRef(getNodeRef(children), containerRef) : containerRef;
|
|
8081
8081
|
return cloneElement(children, {
|
|
8082
8082
|
ref: ref2
|
|
8083
8083
|
});
|
|
@@ -8354,7 +8354,7 @@ function splitCNCharsBySpace(child, needInserted) {
|
|
|
8354
8354
|
if (isString$2(child)) {
|
|
8355
8355
|
return isTwoCNChar(child) ? /* @__PURE__ */ React__default.createElement("span", null, child.split("").join(SPACE)) : /* @__PURE__ */ React__default.createElement("span", null, child);
|
|
8356
8356
|
}
|
|
8357
|
-
if (isFragment(child)) {
|
|
8357
|
+
if (isFragment$1(child)) {
|
|
8358
8358
|
return /* @__PURE__ */ React__default.createElement("span", null, child);
|
|
8359
8359
|
}
|
|
8360
8360
|
return child;
|
|
@@ -10050,7 +10050,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React__default.forwardRef((prop
|
|
|
10050
10050
|
const [innerLoading, setLoading] = useState$1(loadingOrDelay.loading);
|
|
10051
10051
|
const [hasTwoCNChar, setHasTwoCNChar] = useState$1(false);
|
|
10052
10052
|
const buttonRef = useRef$1(null);
|
|
10053
|
-
const mergedRef = useComposeRef
|
|
10053
|
+
const mergedRef = useComposeRef(ref2, buttonRef);
|
|
10054
10054
|
const needInserted = Children.count(children) === 1 && !icon && !isUnBorderedButtonVariant(mergedVariant);
|
|
10055
10055
|
const isMountRef = useRef$1(true);
|
|
10056
10056
|
React__default.useEffect(() => {
|
|
@@ -10408,7 +10408,7 @@ function measureScrollbarSize(ele) {
|
|
|
10408
10408
|
try {
|
|
10409
10409
|
var widthStyle = width ? "width: ".concat(webkitScrollbarStyle.width, ";") : "";
|
|
10410
10410
|
var heightStyle = height ? "height: ".concat(webkitScrollbarStyle.height, ";") : "";
|
|
10411
|
-
updateCSS
|
|
10411
|
+
updateCSS("\n#".concat(randomId, "::-webkit-scrollbar {\n").concat(widthStyle, "\n").concat(heightStyle, "\n}"), randomId);
|
|
10412
10412
|
} catch (e2) {
|
|
10413
10413
|
console.error(e2);
|
|
10414
10414
|
fallbackWidth = width;
|
|
@@ -10449,7 +10449,7 @@ function useScrollLocker(lock) {
|
|
|
10449
10449
|
if (mergedLock) {
|
|
10450
10450
|
var scrollbarSize = getTargetScrollBarSize(document.body).width;
|
|
10451
10451
|
var isOverflow = isBodyOverflowing();
|
|
10452
|
-
updateCSS
|
|
10452
|
+
updateCSS("\nhtml body {\n overflow-y: hidden;\n ".concat(isOverflow ? "width: calc(100% - ".concat(scrollbarSize, "px);") : "", "\n}"), id2);
|
|
10453
10453
|
} else {
|
|
10454
10454
|
removeCSS(id2);
|
|
10455
10455
|
}
|
|
@@ -10503,7 +10503,7 @@ var Portal = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
10503
10503
|
var _ref = children;
|
|
10504
10504
|
childRef = _ref.ref;
|
|
10505
10505
|
}
|
|
10506
|
-
var mergedRef = useComposeRef
|
|
10506
|
+
var mergedRef = useComposeRef(childRef, ref2);
|
|
10507
10507
|
if (!mergedRender || !canUseDom$1() || innerContainer === void 0) {
|
|
10508
10508
|
return null;
|
|
10509
10509
|
}
|
|
@@ -10599,7 +10599,7 @@ var entityStyle = {
|
|
|
10599
10599
|
var Panel = /* @__PURE__ */ React__default.forwardRef(function(props, ref2) {
|
|
10600
10600
|
var prefixCls = props.prefixCls, className = props.className, style2 = props.style, title = props.title, ariaId = props.ariaId, footer = props.footer, closable = props.closable, closeIcon2 = props.closeIcon, onClose = props.onClose, children = props.children, bodyStyle = props.bodyStyle, bodyProps = props.bodyProps, modalRender = props.modalRender, onMouseDown = props.onMouseDown, onMouseUp = props.onMouseUp, holderRef = props.holderRef, visible = props.visible, forceRender = props.forceRender, width = props.width, height = props.height, modalClassNames = props.classNames, modalStyles = props.styles;
|
|
10601
10601
|
var _React$useContext = React__default.useContext(RefContext), panelRef = _React$useContext.panel;
|
|
10602
|
-
var mergedRef = useComposeRef
|
|
10602
|
+
var mergedRef = useComposeRef(holderRef, panelRef);
|
|
10603
10603
|
var sentinelStartRef = useRef$1();
|
|
10604
10604
|
var sentinelEndRef = useRef$1();
|
|
10605
10605
|
React__default.useImperativeHandle(ref2, function() {
|
|
@@ -10900,7 +10900,7 @@ var DialogWrap = function DialogWrap2(props) {
|
|
|
10900
10900
|
DialogWrap.displayName = "Dialog";
|
|
10901
10901
|
var HOOK_MARK = "RC_FORM_INTERNAL_HOOKS";
|
|
10902
10902
|
var warningFunc = function warningFunc2() {
|
|
10903
|
-
warningOnce
|
|
10903
|
+
warningOnce(false, "Can not find FormContext. Please make sure you wrap Field under Form.");
|
|
10904
10904
|
};
|
|
10905
10905
|
var Context = /* @__PURE__ */ React.createContext({
|
|
10906
10906
|
getFieldValue: warningFunc,
|
|
@@ -12125,7 +12125,7 @@ function validateRules(namePath, value, rules2, options, validateFirst, messageV
|
|
|
12125
12125
|
args[_key] = arguments[_key];
|
|
12126
12126
|
}
|
|
12127
12127
|
Promise.resolve().then(function() {
|
|
12128
|
-
warningOnce
|
|
12128
|
+
warningOnce(!hasPromise, "Your validator function has already return a promise. `callback` will be ignored.");
|
|
12129
12129
|
if (!hasPromise) {
|
|
12130
12130
|
callback.apply(void 0, args);
|
|
12131
12131
|
}
|
|
@@ -12133,7 +12133,7 @@ function validateRules(namePath, value, rules2, options, validateFirst, messageV
|
|
|
12133
12133
|
};
|
|
12134
12134
|
var promise = originValidatorFunc(rule, val, wrappedCallback);
|
|
12135
12135
|
hasPromise = promise && typeof promise.then === "function" && typeof promise.catch === "function";
|
|
12136
|
-
warningOnce
|
|
12136
|
+
warningOnce(hasPromise, "`callback` is deprecated. Please return a promise instead.");
|
|
12137
12137
|
if (hasPromise) {
|
|
12138
12138
|
promise.then(function() {
|
|
12139
12139
|
callback();
|
|
@@ -12767,7 +12767,7 @@ var Field = /* @__PURE__ */ (function(_React$Component) {
|
|
|
12767
12767
|
} else if (/* @__PURE__ */ React.isValidElement(child)) {
|
|
12768
12768
|
returnChildNode = /* @__PURE__ */ React.cloneElement(child, this.getControlled(child.props));
|
|
12769
12769
|
} else {
|
|
12770
|
-
warningOnce
|
|
12770
|
+
warningOnce(!child, "`children` of Field is not validate ReactElement.");
|
|
12771
12771
|
returnChildNode = child;
|
|
12772
12772
|
}
|
|
12773
12773
|
return /* @__PURE__ */ React.createElement(React.Fragment, {
|
|
@@ -12829,7 +12829,7 @@ function List$1(_ref) {
|
|
|
12829
12829
|
};
|
|
12830
12830
|
}, [prefixName]);
|
|
12831
12831
|
if (typeof children !== "function") {
|
|
12832
|
-
warningOnce
|
|
12832
|
+
warningOnce(false, "Form.List only accepts function as children.");
|
|
12833
12833
|
return null;
|
|
12834
12834
|
}
|
|
12835
12835
|
var shouldUpdate = function shouldUpdate2(prevValue, nextValue, _ref2) {
|
|
@@ -13060,7 +13060,7 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
|
|
|
13060
13060
|
registerWatch: _this.registerWatch
|
|
13061
13061
|
};
|
|
13062
13062
|
}
|
|
13063
|
-
warningOnce
|
|
13063
|
+
warningOnce(false, "`getInternalHooks` is internal usage. Should not call directly.");
|
|
13064
13064
|
return null;
|
|
13065
13065
|
});
|
|
13066
13066
|
_defineProperty$1(this, "useSubscribe", function(subscribable) {
|
|
@@ -13336,11 +13336,11 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
|
|
|
13336
13336
|
var namePath = field.getNamePath();
|
|
13337
13337
|
var formInitialValue = _this.getInitialValue(namePath);
|
|
13338
13338
|
if (formInitialValue !== void 0) {
|
|
13339
|
-
warningOnce
|
|
13339
|
+
warningOnce(false, "Form already set 'initialValues' with path '".concat(namePath.join("."), "'. Field can not overwrite it."));
|
|
13340
13340
|
} else {
|
|
13341
13341
|
var records = cache.get(namePath);
|
|
13342
13342
|
if (records && records.size > 1) {
|
|
13343
|
-
warningOnce
|
|
13343
|
+
warningOnce(false, "Multiple Field with path '".concat(namePath.join("."), "' set 'initialValue'. Can not decide which one to pick."));
|
|
13344
13344
|
} else if (records) {
|
|
13345
13345
|
var originValue = _this.getFieldValue(namePath);
|
|
13346
13346
|
var isListField = field.isListField();
|
|
@@ -15394,7 +15394,7 @@ const Modal$1 = (props) => {
|
|
|
15394
15394
|
closeIconRender: (icon) => renderCloseIcon(prefixCls, icon)
|
|
15395
15395
|
});
|
|
15396
15396
|
const innerPanelRef = usePanelRef(`.${prefixCls}-content`);
|
|
15397
|
-
const mergedPanelRef = composeRef
|
|
15397
|
+
const mergedPanelRef = composeRef(panelRef, innerPanelRef);
|
|
15398
15398
|
const [zIndex, contextZIndex] = useZIndex("Modal", customizeZIndex);
|
|
15399
15399
|
const [numWidth, responsiveWidth] = React.useMemo(() => {
|
|
15400
15400
|
if (width && typeof width === "object") {
|
|
@@ -16570,7 +16570,7 @@ var Input$4 = function Input2(props, ref2) {
|
|
|
16570
16570
|
}, composeProps(restProps, originProps)), {}, {
|
|
16571
16571
|
// Override over origin props
|
|
16572
16572
|
id: id2,
|
|
16573
|
-
ref: composeRef
|
|
16573
|
+
ref: composeRef(ref2, originRef),
|
|
16574
16574
|
autoComplete: autoComplete || "off",
|
|
16575
16575
|
autoFocus,
|
|
16576
16576
|
className: classNames("".concat(prefixCls, "-selection-search-input"), originProps === null || originProps === void 0 ? void 0 : originProps.className),
|
|
@@ -17093,7 +17093,7 @@ var Popup$2 = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
17093
17093
|
var motionClassName = _ref.className, motionStyle = _ref.style;
|
|
17094
17094
|
var cls = classNames(prefixCls, motionClassName, className);
|
|
17095
17095
|
return /* @__PURE__ */ React.createElement("div", {
|
|
17096
|
-
ref: composeRef
|
|
17096
|
+
ref: composeRef(resizeObserverRef, ref2, motionRef),
|
|
17097
17097
|
className: cls,
|
|
17098
17098
|
style: _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
|
|
17099
17099
|
"--arrow-x": "".concat(arrowPos.x || 0, "px"),
|
|
@@ -17122,9 +17122,9 @@ var TriggerWrapper = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
17122
17122
|
var children = props.children, getTriggerDOMNode = props.getTriggerDOMNode;
|
|
17123
17123
|
var canUseRef = supportRef(children);
|
|
17124
17124
|
var setRef = React.useCallback(function(node2) {
|
|
17125
|
-
fillRef
|
|
17125
|
+
fillRef(ref2, getTriggerDOMNode ? getTriggerDOMNode(node2) : node2);
|
|
17126
17126
|
}, [getTriggerDOMNode]);
|
|
17127
|
-
var mergedRef = useComposeRef
|
|
17127
|
+
var mergedRef = useComposeRef(setRef, getNodeRef(children));
|
|
17128
17128
|
return canUseRef ? /* @__PURE__ */ React.cloneElement(children, {
|
|
17129
17129
|
ref: mergedRef
|
|
17130
17130
|
}) : children;
|
|
@@ -17716,7 +17716,7 @@ function useWinClick(open2, clickToHide, targetEle, popupEle, mask, maskClosable
|
|
|
17716
17716
|
win.addEventListener("pointerdown", onPointerDown, true);
|
|
17717
17717
|
win.addEventListener("mousedown", onTriggerClose, true);
|
|
17718
17718
|
win.addEventListener("contextmenu", onTriggerClose, true);
|
|
17719
|
-
var targetShadowRoot = getShadowRoot
|
|
17719
|
+
var targetShadowRoot = getShadowRoot(targetEle);
|
|
17720
17720
|
if (targetShadowRoot) {
|
|
17721
17721
|
targetShadowRoot.addEventListener("mousedown", onTriggerClose, true);
|
|
17722
17722
|
targetShadowRoot.addEventListener("contextmenu", onTriggerClose, true);
|
|
@@ -17781,7 +17781,7 @@ function generateTrigger() {
|
|
|
17781
17781
|
var inPopupOrChild = useEvent(function(ele) {
|
|
17782
17782
|
var _getShadowRoot, _getShadowRoot2;
|
|
17783
17783
|
var childDOM = targetEle;
|
|
17784
|
-
return (childDOM === null || childDOM === void 0 ? void 0 : childDOM.contains(ele)) || ((_getShadowRoot = getShadowRoot
|
|
17784
|
+
return (childDOM === null || childDOM === void 0 ? void 0 : childDOM.contains(ele)) || ((_getShadowRoot = getShadowRoot(childDOM)) === null || _getShadowRoot === void 0 ? void 0 : _getShadowRoot.host) === ele || ele === childDOM || (popupEle === null || popupEle === void 0 ? void 0 : popupEle.contains(ele)) || ((_getShadowRoot2 = getShadowRoot(popupEle)) === null || _getShadowRoot2 === void 0 ? void 0 : _getShadowRoot2.host) === ele || ele === popupEle || Object.values(subPopupElements.current).some(function(subPopupEle) {
|
|
17785
17785
|
return (subPopupEle === null || subPopupEle === void 0 ? void 0 : subPopupEle.contains(ele)) || ele === subPopupEle;
|
|
17786
17786
|
});
|
|
17787
17787
|
});
|
|
@@ -18227,7 +18227,7 @@ function injectPropsWithOption(option) {
|
|
|
18227
18227
|
if (!("props" in newOption)) {
|
|
18228
18228
|
Object.defineProperty(newOption, "props", {
|
|
18229
18229
|
get: function get2() {
|
|
18230
|
-
warningOnce
|
|
18230
|
+
warningOnce(false, "Return type is option instead of Option instance. Please read value directly instead of reading from `props`.");
|
|
18231
18231
|
return newOption;
|
|
18232
18232
|
}
|
|
18233
18233
|
});
|
|
@@ -18328,7 +18328,7 @@ var BaseSelect = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
18328
18328
|
}, [searchValue, mode, displayValues]);
|
|
18329
18329
|
var customizeInputElement = mode === "combobox" && typeof getInputElement === "function" && getInputElement() || null;
|
|
18330
18330
|
var customizeRawInputElement = typeof getRawInputElement === "function" && getRawInputElement();
|
|
18331
|
-
var customizeRawInputRef = useComposeRef
|
|
18331
|
+
var customizeRawInputRef = useComposeRef(selectorDomRef, customizeRawInputElement === null || customizeRawInputElement === void 0 || (_customizeRawInputEle = customizeRawInputElement.props) === null || _customizeRawInputEle === void 0 ? void 0 : _customizeRawInputEle.ref);
|
|
18332
18332
|
var _React$useState3 = React.useState(false), _React$useState4 = _slicedToArray(_React$useState3, 2), rendered = _React$useState4[0], setRendered = _React$useState4[1];
|
|
18333
18333
|
useLayoutEffect$1(function() {
|
|
18334
18334
|
setRendered(true);
|
|
@@ -19133,6 +19133,10 @@ function useScrollDrag(inVirtual, componentRef, onScrollOffset) {
|
|
|
19133
19133
|
continueScroll2();
|
|
19134
19134
|
});
|
|
19135
19135
|
};
|
|
19136
|
+
var clearDragState = function clearDragState2() {
|
|
19137
|
+
mouseDownLock = false;
|
|
19138
|
+
stopScroll();
|
|
19139
|
+
};
|
|
19136
19140
|
var onMouseDown = function onMouseDown2(e2) {
|
|
19137
19141
|
if (e2.target.draggable || e2.button !== 0) {
|
|
19138
19142
|
return;
|
|
@@ -19143,10 +19147,6 @@ function useScrollDrag(inVirtual, componentRef, onScrollOffset) {
|
|
|
19143
19147
|
mouseDownLock = true;
|
|
19144
19148
|
}
|
|
19145
19149
|
};
|
|
19146
|
-
var onMouseUp = function onMouseUp2() {
|
|
19147
|
-
mouseDownLock = false;
|
|
19148
|
-
stopScroll();
|
|
19149
|
-
};
|
|
19150
19150
|
var onMouseMove = function onMouseMove2(e2) {
|
|
19151
19151
|
if (mouseDownLock) {
|
|
19152
19152
|
var mouseY = getPageXY(e2, false);
|
|
@@ -19165,12 +19165,14 @@ function useScrollDrag(inVirtual, componentRef, onScrollOffset) {
|
|
|
19165
19165
|
}
|
|
19166
19166
|
};
|
|
19167
19167
|
ele.addEventListener("mousedown", onMouseDown);
|
|
19168
|
-
ele.ownerDocument.addEventListener("mouseup",
|
|
19168
|
+
ele.ownerDocument.addEventListener("mouseup", clearDragState);
|
|
19169
19169
|
ele.ownerDocument.addEventListener("mousemove", onMouseMove);
|
|
19170
|
+
ele.ownerDocument.addEventListener("dragend", clearDragState);
|
|
19170
19171
|
return function() {
|
|
19171
19172
|
ele.removeEventListener("mousedown", onMouseDown);
|
|
19172
|
-
ele.ownerDocument.removeEventListener("mouseup",
|
|
19173
|
+
ele.ownerDocument.removeEventListener("mouseup", clearDragState);
|
|
19173
19174
|
ele.ownerDocument.removeEventListener("mousemove", onMouseMove);
|
|
19175
|
+
ele.ownerDocument.removeEventListener("dragend", clearDragState);
|
|
19174
19176
|
stopScroll();
|
|
19175
19177
|
};
|
|
19176
19178
|
}
|
|
@@ -22074,14 +22076,14 @@ const useSelectStyle = genStyleHooks("Select", (token2, {
|
|
|
22074
22076
|
optionSelectedFontWeight: true
|
|
22075
22077
|
}
|
|
22076
22078
|
});
|
|
22077
|
-
var CheckOutlined$
|
|
22078
|
-
var CheckOutlined$
|
|
22079
|
+
var CheckOutlined$3 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" };
|
|
22080
|
+
var CheckOutlined$2 = function CheckOutlined2(props, ref2) {
|
|
22079
22081
|
return /* @__PURE__ */ React.createElement(Icon$4, _extends$f({}, props, {
|
|
22080
22082
|
ref: ref2,
|
|
22081
|
-
icon: CheckOutlined$
|
|
22083
|
+
icon: CheckOutlined$3
|
|
22082
22084
|
}));
|
|
22083
22085
|
};
|
|
22084
|
-
var RefIcon$i = /* @__PURE__ */ React.forwardRef(CheckOutlined$
|
|
22086
|
+
var RefIcon$i = /* @__PURE__ */ React.forwardRef(CheckOutlined$2);
|
|
22085
22087
|
var DownOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
22086
22088
|
var DownOutlined = function DownOutlined2(props, ref2) {
|
|
22087
22089
|
return /* @__PURE__ */ React.createElement(Icon$4, _extends$f({}, props, {
|
|
@@ -22651,7 +22653,7 @@ const Avatar$1 = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
22651
22653
|
const [isImgExist, setIsImgExist] = React.useState(true);
|
|
22652
22654
|
const avatarNodeRef = React.useRef(null);
|
|
22653
22655
|
const avatarChildrenRef = React.useRef(null);
|
|
22654
|
-
const avatarNodeMergedRef = composeRef
|
|
22656
|
+
const avatarNodeMergedRef = composeRef(ref2, avatarNodeRef);
|
|
22655
22657
|
const {
|
|
22656
22658
|
getPrefixCls,
|
|
22657
22659
|
avatar
|
|
@@ -23606,7 +23608,7 @@ const InternalTooltip = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
23606
23608
|
if (!("open" in props) && !("visible" in props) && noTitle) {
|
|
23607
23609
|
tempOpen = false;
|
|
23608
23610
|
}
|
|
23609
|
-
const child = /* @__PURE__ */ React.isValidElement(children) && !isFragment(children) ? children : /* @__PURE__ */ React.createElement("span", null, children);
|
|
23611
|
+
const child = /* @__PURE__ */ React.isValidElement(children) && !isFragment$1(children) ? children : /* @__PURE__ */ React.createElement("span", null, children);
|
|
23610
23612
|
const childProps = child.props;
|
|
23611
23613
|
const childCls = !childProps.className || typeof childProps.className === "string" ? classNames(childProps.className, openClassName || `${prefixCls}-open`) : childProps.className;
|
|
23612
23614
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle$c(prefixCls, !injectFromPopover);
|
|
@@ -24128,7 +24130,7 @@ var Overlay$1 = /* @__PURE__ */ forwardRef(function(props, ref2) {
|
|
|
24128
24130
|
}
|
|
24129
24131
|
return overlayElement;
|
|
24130
24132
|
}, [overlay]);
|
|
24131
|
-
var composedRef = composeRef
|
|
24133
|
+
var composedRef = composeRef(ref2, getNodeRef(overlayNode));
|
|
24132
24134
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, arrow && /* @__PURE__ */ React__default.createElement("div", {
|
|
24133
24135
|
className: "".concat(prefixCls, "-arrow")
|
|
24134
24136
|
}), /* @__PURE__ */ React__default.cloneElement(overlayNode, {
|
|
@@ -24238,7 +24240,7 @@ function Dropdown$2(props, ref2) {
|
|
|
24238
24240
|
};
|
|
24239
24241
|
var childrenNode = /* @__PURE__ */ React__default.cloneElement(children, {
|
|
24240
24242
|
className: classNames((_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props.className, mergedVisible && getOpenClassName()),
|
|
24241
|
-
ref: supportRef(children) ? composeRef
|
|
24243
|
+
ref: supportRef(children) ? composeRef(childRef, getNodeRef(children)) : void 0
|
|
24242
24244
|
});
|
|
24243
24245
|
var triggerHideAction = hideAction;
|
|
24244
24246
|
if (!triggerHideAction && trigger.indexOf("contextMenu") !== -1) {
|
|
@@ -24724,7 +24726,7 @@ function warnItemProp(_ref) {
|
|
|
24724
24726
|
var item = _ref.item, restInfo = _objectWithoutProperties(_ref, _excluded$g);
|
|
24725
24727
|
Object.defineProperty(restInfo, "item", {
|
|
24726
24728
|
get: function get2() {
|
|
24727
|
-
warningOnce
|
|
24729
|
+
warningOnce(false, "`info.item` is deprecated since we will move to function component that not provides React Node instance in future.");
|
|
24728
24730
|
return item;
|
|
24729
24731
|
}
|
|
24730
24732
|
});
|
|
@@ -24743,7 +24745,7 @@ var LegacyMenuItem = /* @__PURE__ */ (function(_React$Component) {
|
|
|
24743
24745
|
value: function render2() {
|
|
24744
24746
|
var _this$props = this.props, title = _this$props.title, attribute = _this$props.attribute, elementRef = _this$props.elementRef, restProps = _objectWithoutProperties(_this$props, _excluded$f);
|
|
24745
24747
|
var passedProps = omit(restProps, ["eventKey", "popupClassName", "popupOffset", "onTitleClick"]);
|
|
24746
|
-
warningOnce
|
|
24748
|
+
warningOnce(!attribute, "`attribute` of Menu.Item is deprecated. Please pass attribute directly.");
|
|
24747
24749
|
return /* @__PURE__ */ React.createElement(ForwardOverflow.Item, _extends$f({}, attribute, {
|
|
24748
24750
|
title: typeof title === "string" ? title : void 0
|
|
24749
24751
|
}, passedProps, {
|
|
@@ -24764,7 +24766,7 @@ var InternalMenuItem = /* @__PURE__ */ React.forwardRef(function(props, ref2) {
|
|
|
24764
24766
|
var legacyMenuItemRef = React.useRef();
|
|
24765
24767
|
var elementRef = React.useRef();
|
|
24766
24768
|
var mergedDisabled = contextDisabled || disabled;
|
|
24767
|
-
var mergedEleRef = useComposeRef
|
|
24769
|
+
var mergedEleRef = useComposeRef(ref2, elementRef);
|
|
24768
24770
|
var connectedKeys = useFullPath(eventKey);
|
|
24769
24771
|
var getEventInfo = function getEventInfo2(e2) {
|
|
24770
24772
|
return {
|
|
@@ -25761,7 +25763,7 @@ const OverrideProvider = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
25761
25763
|
// restProps.validator, Not mark as deps since this is a function
|
|
25762
25764
|
]);
|
|
25763
25765
|
const canRef = supportNodeRef(children);
|
|
25764
|
-
const mergedRef = useComposeRef
|
|
25766
|
+
const mergedRef = useComposeRef(ref2, canRef ? getNodeRef(children) : null);
|
|
25765
25767
|
return /* @__PURE__ */ React.createElement(OverrideContext.Provider, {
|
|
25766
25768
|
value: context
|
|
25767
25769
|
}, /* @__PURE__ */ React.createElement(ContextIsolator, {
|
|
@@ -28981,7 +28983,7 @@ function usePresets(presets, legacyRanges) {
|
|
|
28981
28983
|
return presets;
|
|
28982
28984
|
}
|
|
28983
28985
|
if (legacyRanges) {
|
|
28984
|
-
warningOnce
|
|
28986
|
+
warningOnce(false, "`ranges` is deprecated. Please use `presets` instead.");
|
|
28985
28987
|
return Object.entries(legacyRanges).map(function(_ref) {
|
|
28986
28988
|
var _ref2 = _slicedToArray(_ref, 2), label = _ref2[0], value = _ref2[1];
|
|
28987
28989
|
return {
|
|
@@ -35429,7 +35431,7 @@ const Input$1 = /* @__PURE__ */ forwardRef((props, ref2) => {
|
|
|
35429
35431
|
const mergedAllowClear = getAllowClear(allowClear !== null && allowClear !== void 0 ? allowClear : contextAllowClear);
|
|
35430
35432
|
const [variant, enableVariantCls] = useVariant("input", customVariant, bordered);
|
|
35431
35433
|
return wrapSharedCSSVar(wrapCSSVar(/* @__PURE__ */ React__default.createElement(Input$2, Object.assign({
|
|
35432
|
-
ref: composeRef
|
|
35434
|
+
ref: composeRef(ref2, inputRef),
|
|
35433
35435
|
prefixCls,
|
|
35434
35436
|
autoComplete: contextAutoComplete
|
|
35435
35437
|
}, rest, {
|
|
@@ -37284,7 +37286,7 @@ const Password = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
37284
37286
|
omittedProps.size = size;
|
|
37285
37287
|
}
|
|
37286
37288
|
return /* @__PURE__ */ React.createElement(Input$1, Object.assign({
|
|
37287
|
-
ref: composeRef
|
|
37289
|
+
ref: composeRef(ref2, inputRef)
|
|
37288
37290
|
}, omittedProps));
|
|
37289
37291
|
});
|
|
37290
37292
|
var __rest$a = function(s2, e2) {
|
|
@@ -37422,7 +37424,7 @@ const Search = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
37422
37424
|
disabled
|
|
37423
37425
|
});
|
|
37424
37426
|
return /* @__PURE__ */ React.createElement(Input$1, Object.assign({
|
|
37425
|
-
ref: composeRef
|
|
37427
|
+
ref: composeRef(inputRef, ref2)
|
|
37426
37428
|
}, inputProps));
|
|
37427
37429
|
});
|
|
37428
37430
|
var HIDDEN_TEXTAREA_STYLE = "\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n";
|
|
@@ -40227,7 +40229,6 @@ const PurePanel = genPurePanel(TimePicker, "popupAlign", void 0, "picker");
|
|
|
40227
40229
|
TimePicker._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
|
|
40228
40230
|
TimePicker.RangePicker = RangePicker;
|
|
40229
40231
|
TimePicker._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
|
|
40230
|
-
var EditOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, "name": "edit", "theme": "outlined" };
|
|
40231
40232
|
var client = { exports: {} };
|
|
40232
40233
|
var reactDomClient_production = {};
|
|
40233
40234
|
var scheduler = { exports: {} };
|
|
@@ -60280,13 +60281,13 @@ function requireRange() {
|
|
|
60280
60281
|
range2 = RangeError;
|
|
60281
60282
|
return range2;
|
|
60282
60283
|
}
|
|
60283
|
-
var ref;
|
|
60284
|
-
var hasRequiredRef;
|
|
60285
|
-
function requireRef() {
|
|
60286
|
-
if (hasRequiredRef) return ref;
|
|
60287
|
-
hasRequiredRef = 1;
|
|
60288
|
-
ref = ReferenceError;
|
|
60289
|
-
return ref;
|
|
60284
|
+
var ref$1;
|
|
60285
|
+
var hasRequiredRef$1;
|
|
60286
|
+
function requireRef$1() {
|
|
60287
|
+
if (hasRequiredRef$1) return ref$1;
|
|
60288
|
+
hasRequiredRef$1 = 1;
|
|
60289
|
+
ref$1 = ReferenceError;
|
|
60290
|
+
return ref$1;
|
|
60290
60291
|
}
|
|
60291
60292
|
var syntax;
|
|
60292
60293
|
var hasRequiredSyntax;
|
|
@@ -60722,7 +60723,7 @@ function requireGetIntrinsic() {
|
|
|
60722
60723
|
var $Error = /* @__PURE__ */ requireEsErrors();
|
|
60723
60724
|
var $EvalError = /* @__PURE__ */ require_eval();
|
|
60724
60725
|
var $RangeError = /* @__PURE__ */ requireRange();
|
|
60725
|
-
var $ReferenceError = /* @__PURE__ */ requireRef();
|
|
60726
|
+
var $ReferenceError = /* @__PURE__ */ requireRef$1();
|
|
60726
60727
|
var $SyntaxError = /* @__PURE__ */ requireSyntax();
|
|
60727
60728
|
var $TypeError = /* @__PURE__ */ requireType();
|
|
60728
60729
|
var $URIError = /* @__PURE__ */ requireUri();
|
|
@@ -103853,178 +103854,264 @@ function generate$1(color, opts = {}) {
|
|
|
103853
103854
|
}
|
|
103854
103855
|
const blue = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
|
|
103855
103856
|
blue.primary = blue[5];
|
|
103856
|
-
|
|
103857
|
-
|
|
103858
|
-
|
|
103859
|
-
function
|
|
103860
|
-
if (
|
|
103857
|
+
var dynamicCSS = {};
|
|
103858
|
+
var canUseDom = {};
|
|
103859
|
+
var hasRequiredCanUseDom;
|
|
103860
|
+
function requireCanUseDom() {
|
|
103861
|
+
if (hasRequiredCanUseDom) return canUseDom;
|
|
103862
|
+
hasRequiredCanUseDom = 1;
|
|
103863
|
+
Object.defineProperty(canUseDom, "__esModule", {
|
|
103864
|
+
value: true
|
|
103865
|
+
});
|
|
103866
|
+
canUseDom.default = canUseDom$12;
|
|
103867
|
+
function canUseDom$12() {
|
|
103868
|
+
return !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103869
|
+
}
|
|
103870
|
+
return canUseDom;
|
|
103871
|
+
}
|
|
103872
|
+
var contains = {};
|
|
103873
|
+
var hasRequiredContains;
|
|
103874
|
+
function requireContains() {
|
|
103875
|
+
if (hasRequiredContains) return contains;
|
|
103876
|
+
hasRequiredContains = 1;
|
|
103877
|
+
Object.defineProperty(contains, "__esModule", {
|
|
103878
|
+
value: true
|
|
103879
|
+
});
|
|
103880
|
+
contains.default = contains$12;
|
|
103881
|
+
function contains$12(root2, n2) {
|
|
103882
|
+
if (!root2) {
|
|
103883
|
+
return false;
|
|
103884
|
+
}
|
|
103885
|
+
if (root2.contains) {
|
|
103886
|
+
return root2.contains(n2);
|
|
103887
|
+
}
|
|
103888
|
+
let node2 = n2;
|
|
103889
|
+
while (node2) {
|
|
103890
|
+
if (node2 === root2) {
|
|
103891
|
+
return true;
|
|
103892
|
+
}
|
|
103893
|
+
node2 = node2.parentNode;
|
|
103894
|
+
}
|
|
103861
103895
|
return false;
|
|
103862
103896
|
}
|
|
103863
|
-
|
|
103864
|
-
|
|
103897
|
+
return contains;
|
|
103898
|
+
}
|
|
103899
|
+
var hasRequiredDynamicCSS;
|
|
103900
|
+
function requireDynamicCSS() {
|
|
103901
|
+
if (hasRequiredDynamicCSS) return dynamicCSS;
|
|
103902
|
+
hasRequiredDynamicCSS = 1;
|
|
103903
|
+
Object.defineProperty(dynamicCSS, "__esModule", {
|
|
103904
|
+
value: true
|
|
103905
|
+
});
|
|
103906
|
+
dynamicCSS.clearContainerCache = clearContainerCache;
|
|
103907
|
+
dynamicCSS.injectCSS = injectCSS2;
|
|
103908
|
+
dynamicCSS.removeCSS = removeCSS2;
|
|
103909
|
+
dynamicCSS.updateCSS = updateCSS2;
|
|
103910
|
+
var _canUseDom = _interopRequireDefault(requireCanUseDom());
|
|
103911
|
+
var _contains = _interopRequireDefault(requireContains());
|
|
103912
|
+
function _interopRequireDefault(obj) {
|
|
103913
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
103914
|
+
}
|
|
103915
|
+
const APPEND_ORDER2 = "data-rc-order";
|
|
103916
|
+
const APPEND_PRIORITY2 = "data-rc-priority";
|
|
103917
|
+
const MARK_KEY2 = `rc-util-key`;
|
|
103918
|
+
const containerCache2 = /* @__PURE__ */ new Map();
|
|
103919
|
+
function getMark2({
|
|
103920
|
+
mark
|
|
103921
|
+
} = {}) {
|
|
103922
|
+
if (mark) {
|
|
103923
|
+
return mark.startsWith("data-") ? mark : `data-${mark}`;
|
|
103924
|
+
}
|
|
103925
|
+
return MARK_KEY2;
|
|
103926
|
+
}
|
|
103927
|
+
function getContainer2(option) {
|
|
103928
|
+
if (option.attachTo) {
|
|
103929
|
+
return option.attachTo;
|
|
103930
|
+
}
|
|
103931
|
+
const head = document.querySelector("head");
|
|
103932
|
+
return head || document.body;
|
|
103933
|
+
}
|
|
103934
|
+
function getOrder2(prepend) {
|
|
103935
|
+
if (prepend === "queue") {
|
|
103936
|
+
return "prependQueue";
|
|
103937
|
+
}
|
|
103938
|
+
return prepend ? "prepend" : "append";
|
|
103939
|
+
}
|
|
103940
|
+
function findStyles2(container) {
|
|
103941
|
+
return Array.from((containerCache2.get(container) || container).children).filter((node2) => node2.tagName === "STYLE");
|
|
103942
|
+
}
|
|
103943
|
+
function injectCSS2(css, option = {}) {
|
|
103944
|
+
if (!(0, _canUseDom.default)()) {
|
|
103945
|
+
return null;
|
|
103946
|
+
}
|
|
103947
|
+
const {
|
|
103948
|
+
csp,
|
|
103949
|
+
prepend,
|
|
103950
|
+
priority = 0
|
|
103951
|
+
} = option;
|
|
103952
|
+
const mergedOrder = getOrder2(prepend);
|
|
103953
|
+
const isPrependQueue = mergedOrder === "prependQueue";
|
|
103954
|
+
const styleNode = document.createElement("style");
|
|
103955
|
+
styleNode.setAttribute(APPEND_ORDER2, mergedOrder);
|
|
103956
|
+
if (isPrependQueue && priority) {
|
|
103957
|
+
styleNode.setAttribute(APPEND_PRIORITY2, `${priority}`);
|
|
103958
|
+
}
|
|
103959
|
+
if (csp == null ? void 0 : csp.nonce) {
|
|
103960
|
+
styleNode.nonce = csp == null ? void 0 : csp.nonce;
|
|
103961
|
+
}
|
|
103962
|
+
styleNode.innerHTML = css;
|
|
103963
|
+
const container = getContainer2(option);
|
|
103964
|
+
const {
|
|
103965
|
+
firstChild
|
|
103966
|
+
} = container;
|
|
103967
|
+
if (prepend) {
|
|
103968
|
+
if (isPrependQueue) {
|
|
103969
|
+
const existStyle = (option.styles || findStyles2(container)).filter((node2) => {
|
|
103970
|
+
if (!["prepend", "prependQueue"].includes(node2.getAttribute(APPEND_ORDER2))) {
|
|
103971
|
+
return false;
|
|
103972
|
+
}
|
|
103973
|
+
const nodePriority = Number(node2.getAttribute(APPEND_PRIORITY2) || 0);
|
|
103974
|
+
return priority >= nodePriority;
|
|
103975
|
+
});
|
|
103976
|
+
if (existStyle.length) {
|
|
103977
|
+
container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);
|
|
103978
|
+
return styleNode;
|
|
103979
|
+
}
|
|
103980
|
+
}
|
|
103981
|
+
container.insertBefore(styleNode, firstChild);
|
|
103982
|
+
} else {
|
|
103983
|
+
container.appendChild(styleNode);
|
|
103984
|
+
}
|
|
103985
|
+
return styleNode;
|
|
103865
103986
|
}
|
|
103866
|
-
|
|
103867
|
-
|
|
103868
|
-
|
|
103869
|
-
|
|
103987
|
+
function findExistNode2(key, option = {}) {
|
|
103988
|
+
let {
|
|
103989
|
+
styles: styles2
|
|
103990
|
+
} = option;
|
|
103991
|
+
styles2 || (styles2 = findStyles2(getContainer2(option)));
|
|
103992
|
+
return styles2.find((node2) => node2.getAttribute(getMark2(option)) === key);
|
|
103993
|
+
}
|
|
103994
|
+
function removeCSS2(key, option = {}) {
|
|
103995
|
+
const existNode = findExistNode2(key, option);
|
|
103996
|
+
if (existNode) {
|
|
103997
|
+
const container = getContainer2(option);
|
|
103998
|
+
container.removeChild(existNode);
|
|
103999
|
+
}
|
|
104000
|
+
}
|
|
104001
|
+
function syncRealContainer2(container, option) {
|
|
104002
|
+
const cachedRealContainer = containerCache2.get(container);
|
|
104003
|
+
if (!cachedRealContainer || !(0, _contains.default)(document, cachedRealContainer)) {
|
|
104004
|
+
const placeholderStyle = injectCSS2("", option);
|
|
104005
|
+
const {
|
|
104006
|
+
parentNode
|
|
104007
|
+
} = placeholderStyle;
|
|
104008
|
+
containerCache2.set(container, parentNode);
|
|
104009
|
+
container.removeChild(placeholderStyle);
|
|
103870
104010
|
}
|
|
103871
|
-
node2 = node2.parentNode;
|
|
103872
104011
|
}
|
|
103873
|
-
|
|
103874
|
-
|
|
103875
|
-
const APPEND_ORDER = "data-rc-order";
|
|
103876
|
-
const APPEND_PRIORITY = "data-rc-priority";
|
|
103877
|
-
const MARK_KEY = `rc-util-key`;
|
|
103878
|
-
const containerCache = /* @__PURE__ */ new Map();
|
|
103879
|
-
function getMark({
|
|
103880
|
-
mark
|
|
103881
|
-
} = {}) {
|
|
103882
|
-
if (mark) {
|
|
103883
|
-
return mark.startsWith("data-") ? mark : `data-${mark}`;
|
|
104012
|
+
function clearContainerCache() {
|
|
104013
|
+
containerCache2.clear();
|
|
103884
104014
|
}
|
|
103885
|
-
|
|
103886
|
-
|
|
103887
|
-
|
|
103888
|
-
|
|
103889
|
-
|
|
104015
|
+
function updateCSS2(css, key, originOption = {}) {
|
|
104016
|
+
var _a, _b, _c;
|
|
104017
|
+
const container = getContainer2(originOption);
|
|
104018
|
+
const styles2 = findStyles2(container);
|
|
104019
|
+
const option = {
|
|
104020
|
+
...originOption,
|
|
104021
|
+
styles: styles2
|
|
104022
|
+
};
|
|
104023
|
+
syncRealContainer2(container, option);
|
|
104024
|
+
const existNode = findExistNode2(key, option);
|
|
104025
|
+
if (existNode) {
|
|
104026
|
+
if (((_a = option.csp) == null ? void 0 : _a.nonce) && existNode.nonce !== ((_b = option.csp) == null ? void 0 : _b.nonce)) {
|
|
104027
|
+
existNode.nonce = (_c = option.csp) == null ? void 0 : _c.nonce;
|
|
104028
|
+
}
|
|
104029
|
+
if (existNode.innerHTML !== css) {
|
|
104030
|
+
existNode.innerHTML = css;
|
|
104031
|
+
}
|
|
104032
|
+
return existNode;
|
|
104033
|
+
}
|
|
104034
|
+
const newNode = injectCSS2(css, option);
|
|
104035
|
+
newNode.setAttribute(getMark2(option), key);
|
|
104036
|
+
return newNode;
|
|
104037
|
+
}
|
|
104038
|
+
return dynamicCSS;
|
|
104039
|
+
}
|
|
104040
|
+
var dynamicCSSExports = requireDynamicCSS();
|
|
104041
|
+
var shadow = {};
|
|
104042
|
+
var hasRequiredShadow;
|
|
104043
|
+
function requireShadow() {
|
|
104044
|
+
if (hasRequiredShadow) return shadow;
|
|
104045
|
+
hasRequiredShadow = 1;
|
|
104046
|
+
Object.defineProperty(shadow, "__esModule", {
|
|
104047
|
+
value: true
|
|
104048
|
+
});
|
|
104049
|
+
shadow.getShadowRoot = getShadowRoot2;
|
|
104050
|
+
shadow.inShadow = inShadow2;
|
|
104051
|
+
function getRoot2(ele) {
|
|
104052
|
+
var _a;
|
|
104053
|
+
return (_a = ele == null ? void 0 : ele.getRootNode) == null ? void 0 : _a.call(ele);
|
|
103890
104054
|
}
|
|
103891
|
-
|
|
103892
|
-
|
|
103893
|
-
}
|
|
103894
|
-
function getOrder(prepend) {
|
|
103895
|
-
if (prepend === "queue") {
|
|
103896
|
-
return "prependQueue";
|
|
104055
|
+
function inShadow2(ele) {
|
|
104056
|
+
return getRoot2(ele) instanceof ShadowRoot;
|
|
103897
104057
|
}
|
|
103898
|
-
|
|
103899
|
-
|
|
103900
|
-
|
|
103901
|
-
return
|
|
104058
|
+
function getShadowRoot2(ele) {
|
|
104059
|
+
return inShadow2(ele) ? getRoot2(ele) : null;
|
|
104060
|
+
}
|
|
104061
|
+
return shadow;
|
|
103902
104062
|
}
|
|
103903
|
-
|
|
103904
|
-
|
|
103905
|
-
|
|
104063
|
+
var shadowExports = requireShadow();
|
|
104064
|
+
var warning$1 = {};
|
|
104065
|
+
var hasRequiredWarning;
|
|
104066
|
+
function requireWarning() {
|
|
104067
|
+
if (hasRequiredWarning) return warning$1;
|
|
104068
|
+
hasRequiredWarning = 1;
|
|
104069
|
+
Object.defineProperty(warning$1, "__esModule", {
|
|
104070
|
+
value: true
|
|
104071
|
+
});
|
|
104072
|
+
warning$1.call = call2;
|
|
104073
|
+
warning$1.default = void 0;
|
|
104074
|
+
warning$1.note = note2;
|
|
104075
|
+
warning$1.noteOnce = noteOnce2;
|
|
104076
|
+
warning$1.preMessage = void 0;
|
|
104077
|
+
warning$1.resetWarned = resetWarned2;
|
|
104078
|
+
warning$1.warning = warning3;
|
|
104079
|
+
warning$1.warningOnce = warningOnce2;
|
|
104080
|
+
let warned2 = {};
|
|
104081
|
+
const preMessage3 = (fn) => {
|
|
104082
|
+
};
|
|
104083
|
+
warning$1.preMessage = preMessage3;
|
|
104084
|
+
function warning3(valid, message) {
|
|
103906
104085
|
}
|
|
103907
|
-
|
|
103908
|
-
csp,
|
|
103909
|
-
prepend,
|
|
103910
|
-
priority = 0
|
|
103911
|
-
} = option;
|
|
103912
|
-
const mergedOrder = getOrder(prepend);
|
|
103913
|
-
const isPrependQueue = mergedOrder === "prependQueue";
|
|
103914
|
-
const styleNode = document.createElement("style");
|
|
103915
|
-
styleNode.setAttribute(APPEND_ORDER, mergedOrder);
|
|
103916
|
-
if (isPrependQueue && priority) {
|
|
103917
|
-
styleNode.setAttribute(APPEND_PRIORITY, `${priority}`);
|
|
104086
|
+
function note2(valid, message) {
|
|
103918
104087
|
}
|
|
103919
|
-
|
|
103920
|
-
|
|
104088
|
+
function resetWarned2() {
|
|
104089
|
+
warned2 = {};
|
|
103921
104090
|
}
|
|
103922
|
-
|
|
103923
|
-
|
|
103924
|
-
|
|
103925
|
-
|
|
103926
|
-
} = container;
|
|
103927
|
-
if (prepend) {
|
|
103928
|
-
if (isPrependQueue) {
|
|
103929
|
-
const existStyle = (option.styles || findStyles(container)).filter((node2) => {
|
|
103930
|
-
if (!["prepend", "prependQueue"].includes(node2.getAttribute(APPEND_ORDER))) {
|
|
103931
|
-
return false;
|
|
103932
|
-
}
|
|
103933
|
-
const nodePriority = Number(node2.getAttribute(APPEND_PRIORITY) || 0);
|
|
103934
|
-
return priority >= nodePriority;
|
|
103935
|
-
});
|
|
103936
|
-
if (existStyle.length) {
|
|
103937
|
-
container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);
|
|
103938
|
-
return styleNode;
|
|
103939
|
-
}
|
|
104091
|
+
function call2(method4, valid, message) {
|
|
104092
|
+
if (!valid && !warned2[message]) {
|
|
104093
|
+
method4(false, message);
|
|
104094
|
+
warned2[message] = true;
|
|
103940
104095
|
}
|
|
103941
|
-
container.insertBefore(styleNode, firstChild);
|
|
103942
|
-
} else {
|
|
103943
|
-
container.appendChild(styleNode);
|
|
103944
104096
|
}
|
|
103945
|
-
|
|
103946
|
-
|
|
103947
|
-
function findExistNode(key, option = {}) {
|
|
103948
|
-
let {
|
|
103949
|
-
styles: styles2
|
|
103950
|
-
} = option;
|
|
103951
|
-
styles2 || (styles2 = findStyles(getContainer(option)));
|
|
103952
|
-
return styles2.find((node2) => node2.getAttribute(getMark(option)) === key);
|
|
103953
|
-
}
|
|
103954
|
-
function syncRealContainer(container, option) {
|
|
103955
|
-
const cachedRealContainer = containerCache.get(container);
|
|
103956
|
-
if (!cachedRealContainer || !contains(document, cachedRealContainer)) {
|
|
103957
|
-
const placeholderStyle = injectCSS("", option);
|
|
103958
|
-
const {
|
|
103959
|
-
parentNode
|
|
103960
|
-
} = placeholderStyle;
|
|
103961
|
-
containerCache.set(container, parentNode);
|
|
103962
|
-
container.removeChild(placeholderStyle);
|
|
103963
|
-
}
|
|
103964
|
-
}
|
|
103965
|
-
function updateCSS(css, key, originOption = {}) {
|
|
103966
|
-
var _a, _b, _c;
|
|
103967
|
-
const container = getContainer(originOption);
|
|
103968
|
-
const styles2 = findStyles(container);
|
|
103969
|
-
const option = {
|
|
103970
|
-
...originOption,
|
|
103971
|
-
styles: styles2
|
|
103972
|
-
};
|
|
103973
|
-
syncRealContainer(container, option);
|
|
103974
|
-
const existNode = findExistNode(key, option);
|
|
103975
|
-
if (existNode) {
|
|
103976
|
-
if (((_a = option.csp) == null ? void 0 : _a.nonce) && existNode.nonce !== ((_b = option.csp) == null ? void 0 : _b.nonce)) {
|
|
103977
|
-
existNode.nonce = (_c = option.csp) == null ? void 0 : _c.nonce;
|
|
103978
|
-
}
|
|
103979
|
-
if (existNode.innerHTML !== css) {
|
|
103980
|
-
existNode.innerHTML = css;
|
|
103981
|
-
}
|
|
103982
|
-
return existNode;
|
|
104097
|
+
function warningOnce2(valid, message) {
|
|
104098
|
+
call2(warning3, valid, message);
|
|
103983
104099
|
}
|
|
103984
|
-
|
|
103985
|
-
|
|
103986
|
-
return newNode;
|
|
103987
|
-
}
|
|
103988
|
-
function getRoot(ele) {
|
|
103989
|
-
var _a;
|
|
103990
|
-
return (_a = ele == null ? void 0 : ele.getRootNode) == null ? void 0 : _a.call(ele);
|
|
103991
|
-
}
|
|
103992
|
-
function inShadow(ele) {
|
|
103993
|
-
return getRoot(ele) instanceof ShadowRoot;
|
|
103994
|
-
}
|
|
103995
|
-
function getShadowRoot(ele) {
|
|
103996
|
-
return inShadow(ele) ? getRoot(ele) : null;
|
|
103997
|
-
}
|
|
103998
|
-
let warned = {};
|
|
103999
|
-
const preMessage = (fn) => {
|
|
104000
|
-
};
|
|
104001
|
-
function warning$1(valid, message) {
|
|
104002
|
-
}
|
|
104003
|
-
function note(valid, message) {
|
|
104004
|
-
}
|
|
104005
|
-
function resetWarned() {
|
|
104006
|
-
warned = {};
|
|
104007
|
-
}
|
|
104008
|
-
function call(method4, valid, message) {
|
|
104009
|
-
if (!valid && !warned[message]) {
|
|
104010
|
-
method4(false, message);
|
|
104011
|
-
warned[message] = true;
|
|
104100
|
+
function noteOnce2(valid, message) {
|
|
104101
|
+
call2(note2, valid, message);
|
|
104012
104102
|
}
|
|
104103
|
+
warningOnce2.preMessage = preMessage3;
|
|
104104
|
+
warningOnce2.resetWarned = resetWarned2;
|
|
104105
|
+
warningOnce2.noteOnce = noteOnce2;
|
|
104106
|
+
warning$1.default = warningOnce2;
|
|
104107
|
+
return warning$1;
|
|
104013
104108
|
}
|
|
104014
|
-
|
|
104015
|
-
call(warning$1, valid, message);
|
|
104016
|
-
}
|
|
104017
|
-
function noteOnce(valid, message) {
|
|
104018
|
-
call(note, valid, message);
|
|
104019
|
-
}
|
|
104020
|
-
warningOnce.preMessage = preMessage;
|
|
104021
|
-
warningOnce.resetWarned = resetWarned;
|
|
104022
|
-
warningOnce.noteOnce = noteOnce;
|
|
104109
|
+
var warningExports = requireWarning();
|
|
104023
104110
|
function camelCase(input) {
|
|
104024
104111
|
return input.replace(/-(.)/g, (match5, g2) => g2.toUpperCase());
|
|
104025
104112
|
}
|
|
104026
104113
|
function warning(valid, message) {
|
|
104027
|
-
warningOnce(valid, `[@ant-design/icons] ${message}`);
|
|
104114
|
+
warningExports.warningOnce(valid, `[@ant-design/icons] ${message}`);
|
|
104028
104115
|
}
|
|
104029
104116
|
function isIconDefinition(target) {
|
|
104030
104117
|
return typeof target === "object" && typeof target.name === "string" && typeof target.theme === "string" && (typeof target.icon === "object" || typeof target.icon === "function");
|
|
@@ -104147,8 +104234,8 @@ ${mergedStyleStr}
|
|
|
104147
104234
|
}
|
|
104148
104235
|
useEffect(() => {
|
|
104149
104236
|
const ele = eleRef.current;
|
|
104150
|
-
const shadowRoot = getShadowRoot(ele);
|
|
104151
|
-
updateCSS(mergedStyleStr, "@ant-design-icons", {
|
|
104237
|
+
const shadowRoot = shadowExports.getShadowRoot(ele);
|
|
104238
|
+
dynamicCSSExports.updateCSS(mergedStyleStr, "@ant-design-icons", {
|
|
104152
104239
|
prepend: !layer,
|
|
104153
104240
|
csp,
|
|
104154
104241
|
attachTo: shadowRoot
|
|
@@ -104297,6 +104384,18 @@ const Icon$1 = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
104297
104384
|
Icon$1.displayName = "AntdIcon";
|
|
104298
104385
|
Icon$1.getTwoToneColor = getTwoToneColor;
|
|
104299
104386
|
Icon$1.setTwoToneColor = setTwoToneColor;
|
|
104387
|
+
var CheckOutlined$1 = {};
|
|
104388
|
+
var hasRequiredCheckOutlined;
|
|
104389
|
+
function requireCheckOutlined() {
|
|
104390
|
+
if (hasRequiredCheckOutlined) return CheckOutlined$1;
|
|
104391
|
+
hasRequiredCheckOutlined = 1;
|
|
104392
|
+
Object.defineProperty(CheckOutlined$1, "__esModule", { value: true });
|
|
104393
|
+
var CheckOutlined3 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" };
|
|
104394
|
+
CheckOutlined$1.default = CheckOutlined3;
|
|
104395
|
+
return CheckOutlined$1;
|
|
104396
|
+
}
|
|
104397
|
+
var CheckOutlinedExports = /* @__PURE__ */ requireCheckOutlined();
|
|
104398
|
+
const CheckOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(CheckOutlinedExports);
|
|
104300
104399
|
function _extends$8() {
|
|
104301
104400
|
_extends$8 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104302
104401
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104313,10 +104412,21 @@ function _extends$8() {
|
|
|
104313
104412
|
}
|
|
104314
104413
|
const CheckOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$8({}, props, {
|
|
104315
104414
|
ref: ref2,
|
|
104316
|
-
icon:
|
|
104415
|
+
icon: CheckOutlinedSvg
|
|
104317
104416
|
}));
|
|
104318
104417
|
const RefIcon$7 = /* @__PURE__ */ React.forwardRef(CheckOutlined);
|
|
104319
|
-
var CloseCircleOutlined$1 = {
|
|
104418
|
+
var CloseCircleOutlined$1 = {};
|
|
104419
|
+
var hasRequiredCloseCircleOutlined;
|
|
104420
|
+
function requireCloseCircleOutlined() {
|
|
104421
|
+
if (hasRequiredCloseCircleOutlined) return CloseCircleOutlined$1;
|
|
104422
|
+
hasRequiredCloseCircleOutlined = 1;
|
|
104423
|
+
Object.defineProperty(CloseCircleOutlined$1, "__esModule", { value: true });
|
|
104424
|
+
var CloseCircleOutlined2 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" } }] }, "name": "close-circle", "theme": "outlined" };
|
|
104425
|
+
CloseCircleOutlined$1.default = CloseCircleOutlined2;
|
|
104426
|
+
return CloseCircleOutlined$1;
|
|
104427
|
+
}
|
|
104428
|
+
var CloseCircleOutlinedExports = /* @__PURE__ */ requireCloseCircleOutlined();
|
|
104429
|
+
const CloseCircleOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(CloseCircleOutlinedExports);
|
|
104320
104430
|
function _extends$7() {
|
|
104321
104431
|
_extends$7 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104322
104432
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104333,9 +104443,21 @@ function _extends$7() {
|
|
|
104333
104443
|
}
|
|
104334
104444
|
const CloseCircleOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$7({}, props, {
|
|
104335
104445
|
ref: ref2,
|
|
104336
|
-
icon:
|
|
104446
|
+
icon: CloseCircleOutlinedSvg
|
|
104337
104447
|
}));
|
|
104338
104448
|
const RefIcon$6 = /* @__PURE__ */ React.forwardRef(CloseCircleOutlined);
|
|
104449
|
+
var CloseOutlined$1 = {};
|
|
104450
|
+
var hasRequiredCloseOutlined;
|
|
104451
|
+
function requireCloseOutlined() {
|
|
104452
|
+
if (hasRequiredCloseOutlined) return CloseOutlined$1;
|
|
104453
|
+
hasRequiredCloseOutlined = 1;
|
|
104454
|
+
Object.defineProperty(CloseOutlined$1, "__esModule", { value: true });
|
|
104455
|
+
var CloseOutlined3 = { "icon": { "tag": "svg", "attrs": { "fill-rule": "evenodd", "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, "name": "close", "theme": "outlined" };
|
|
104456
|
+
CloseOutlined$1.default = CloseOutlined3;
|
|
104457
|
+
return CloseOutlined$1;
|
|
104458
|
+
}
|
|
104459
|
+
var CloseOutlinedExports = /* @__PURE__ */ requireCloseOutlined();
|
|
104460
|
+
const CloseOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(CloseOutlinedExports);
|
|
104339
104461
|
function _extends$6() {
|
|
104340
104462
|
_extends$6 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104341
104463
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104352,9 +104474,21 @@ function _extends$6() {
|
|
|
104352
104474
|
}
|
|
104353
104475
|
const CloseOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$6({}, props, {
|
|
104354
104476
|
ref: ref2,
|
|
104355
|
-
icon:
|
|
104477
|
+
icon: CloseOutlinedSvg
|
|
104356
104478
|
}));
|
|
104357
104479
|
const RefIcon$5 = /* @__PURE__ */ React.forwardRef(CloseOutlined);
|
|
104480
|
+
var EditOutlined$1 = {};
|
|
104481
|
+
var hasRequiredEditOutlined;
|
|
104482
|
+
function requireEditOutlined() {
|
|
104483
|
+
if (hasRequiredEditOutlined) return EditOutlined$1;
|
|
104484
|
+
hasRequiredEditOutlined = 1;
|
|
104485
|
+
Object.defineProperty(EditOutlined$1, "__esModule", { value: true });
|
|
104486
|
+
var EditOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, "name": "edit", "theme": "outlined" };
|
|
104487
|
+
EditOutlined$1.default = EditOutlined2;
|
|
104488
|
+
return EditOutlined$1;
|
|
104489
|
+
}
|
|
104490
|
+
var EditOutlinedExports = /* @__PURE__ */ requireEditOutlined();
|
|
104491
|
+
const EditOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(EditOutlinedExports);
|
|
104358
104492
|
function _extends$5() {
|
|
104359
104493
|
_extends$5 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104360
104494
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104371,10 +104505,21 @@ function _extends$5() {
|
|
|
104371
104505
|
}
|
|
104372
104506
|
const EditOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$5({}, props, {
|
|
104373
104507
|
ref: ref2,
|
|
104374
|
-
icon:
|
|
104508
|
+
icon: EditOutlinedSvg
|
|
104375
104509
|
}));
|
|
104376
104510
|
const RefIcon$4 = /* @__PURE__ */ React.forwardRef(EditOutlined);
|
|
104377
|
-
var ExpandAltOutlined$1 = {
|
|
104511
|
+
var ExpandAltOutlined$1 = {};
|
|
104512
|
+
var hasRequiredExpandAltOutlined;
|
|
104513
|
+
function requireExpandAltOutlined() {
|
|
104514
|
+
if (hasRequiredExpandAltOutlined) return ExpandAltOutlined$1;
|
|
104515
|
+
hasRequiredExpandAltOutlined = 1;
|
|
104516
|
+
Object.defineProperty(ExpandAltOutlined$1, "__esModule", { value: true });
|
|
104517
|
+
var ExpandAltOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z" } }] }, "name": "expand-alt", "theme": "outlined" };
|
|
104518
|
+
ExpandAltOutlined$1.default = ExpandAltOutlined2;
|
|
104519
|
+
return ExpandAltOutlined$1;
|
|
104520
|
+
}
|
|
104521
|
+
var ExpandAltOutlinedExports = /* @__PURE__ */ requireExpandAltOutlined();
|
|
104522
|
+
const ExpandAltOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(ExpandAltOutlinedExports);
|
|
104378
104523
|
function _extends$4() {
|
|
104379
104524
|
_extends$4 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104380
104525
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104391,10 +104536,21 @@ function _extends$4() {
|
|
|
104391
104536
|
}
|
|
104392
104537
|
const ExpandAltOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$4({}, props, {
|
|
104393
104538
|
ref: ref2,
|
|
104394
|
-
icon:
|
|
104539
|
+
icon: ExpandAltOutlinedSvg
|
|
104395
104540
|
}));
|
|
104396
104541
|
const RefIcon$3 = /* @__PURE__ */ React.forwardRef(ExpandAltOutlined);
|
|
104397
|
-
var MenuOutlined$1 = {
|
|
104542
|
+
var MenuOutlined$1 = {};
|
|
104543
|
+
var hasRequiredMenuOutlined;
|
|
104544
|
+
function requireMenuOutlined() {
|
|
104545
|
+
if (hasRequiredMenuOutlined) return MenuOutlined$1;
|
|
104546
|
+
hasRequiredMenuOutlined = 1;
|
|
104547
|
+
Object.defineProperty(MenuOutlined$1, "__esModule", { value: true });
|
|
104548
|
+
var MenuOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" } }] }, "name": "menu", "theme": "outlined" };
|
|
104549
|
+
MenuOutlined$1.default = MenuOutlined2;
|
|
104550
|
+
return MenuOutlined$1;
|
|
104551
|
+
}
|
|
104552
|
+
var MenuOutlinedExports = /* @__PURE__ */ requireMenuOutlined();
|
|
104553
|
+
const MenuOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(MenuOutlinedExports);
|
|
104398
104554
|
function _extends$3() {
|
|
104399
104555
|
_extends$3 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104400
104556
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104411,10 +104567,21 @@ function _extends$3() {
|
|
|
104411
104567
|
}
|
|
104412
104568
|
const MenuOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$3({}, props, {
|
|
104413
104569
|
ref: ref2,
|
|
104414
|
-
icon:
|
|
104570
|
+
icon: MenuOutlinedSvg
|
|
104415
104571
|
}));
|
|
104416
104572
|
const RefIcon$2 = /* @__PURE__ */ React.forwardRef(MenuOutlined);
|
|
104417
|
-
var SendOutlined$1 = {
|
|
104573
|
+
var SendOutlined$1 = {};
|
|
104574
|
+
var hasRequiredSendOutlined;
|
|
104575
|
+
function requireSendOutlined() {
|
|
104576
|
+
if (hasRequiredSendOutlined) return SendOutlined$1;
|
|
104577
|
+
hasRequiredSendOutlined = 1;
|
|
104578
|
+
Object.defineProperty(SendOutlined$1, "__esModule", { value: true });
|
|
104579
|
+
var SendOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z" } }] }, "name": "send", "theme": "outlined" };
|
|
104580
|
+
SendOutlined$1.default = SendOutlined2;
|
|
104581
|
+
return SendOutlined$1;
|
|
104582
|
+
}
|
|
104583
|
+
var SendOutlinedExports = /* @__PURE__ */ requireSendOutlined();
|
|
104584
|
+
const SendOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(SendOutlinedExports);
|
|
104418
104585
|
function _extends$2() {
|
|
104419
104586
|
_extends$2 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104420
104587
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104431,10 +104598,21 @@ function _extends$2() {
|
|
|
104431
104598
|
}
|
|
104432
104599
|
const SendOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$2({}, props, {
|
|
104433
104600
|
ref: ref2,
|
|
104434
|
-
icon:
|
|
104601
|
+
icon: SendOutlinedSvg
|
|
104435
104602
|
}));
|
|
104436
104603
|
const RefIcon$1 = /* @__PURE__ */ React.forwardRef(SendOutlined);
|
|
104437
|
-
var UsergroupAddOutlined$1 = {
|
|
104604
|
+
var UsergroupAddOutlined$1 = {};
|
|
104605
|
+
var hasRequiredUsergroupAddOutlined;
|
|
104606
|
+
function requireUsergroupAddOutlined() {
|
|
104607
|
+
if (hasRequiredUsergroupAddOutlined) return UsergroupAddOutlined$1;
|
|
104608
|
+
hasRequiredUsergroupAddOutlined = 1;
|
|
104609
|
+
Object.defineProperty(UsergroupAddOutlined$1, "__esModule", { value: true });
|
|
104610
|
+
var UsergroupAddOutlined2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z" } }] }, "name": "usergroup-add", "theme": "outlined" };
|
|
104611
|
+
UsergroupAddOutlined$1.default = UsergroupAddOutlined2;
|
|
104612
|
+
return UsergroupAddOutlined$1;
|
|
104613
|
+
}
|
|
104614
|
+
var UsergroupAddOutlinedExports = /* @__PURE__ */ requireUsergroupAddOutlined();
|
|
104615
|
+
const UsergroupAddOutlinedSvg = /* @__PURE__ */ getDefaultExportFromCjs(UsergroupAddOutlinedExports);
|
|
104438
104616
|
function _extends$1() {
|
|
104439
104617
|
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
104440
104618
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104451,44 +104629,152 @@ function _extends$1() {
|
|
|
104451
104629
|
}
|
|
104452
104630
|
const UsergroupAddOutlined = (props, ref2) => /* @__PURE__ */ React.createElement(Icon$1, _extends$1({}, props, {
|
|
104453
104631
|
ref: ref2,
|
|
104454
|
-
icon:
|
|
104632
|
+
icon: UsergroupAddOutlinedSvg
|
|
104455
104633
|
}));
|
|
104456
104634
|
const RefIcon = /* @__PURE__ */ React.forwardRef(UsergroupAddOutlined);
|
|
104457
|
-
|
|
104458
|
-
|
|
104459
|
-
|
|
104460
|
-
|
|
104461
|
-
|
|
104635
|
+
var ref = {};
|
|
104636
|
+
var useMemo = {};
|
|
104637
|
+
var hasRequiredUseMemo;
|
|
104638
|
+
function requireUseMemo() {
|
|
104639
|
+
if (hasRequiredUseMemo) return useMemo;
|
|
104640
|
+
hasRequiredUseMemo = 1;
|
|
104641
|
+
Object.defineProperty(useMemo, "__esModule", {
|
|
104642
|
+
value: true
|
|
104643
|
+
});
|
|
104644
|
+
useMemo.default = useMemo$12;
|
|
104645
|
+
var React2 = _interopRequireWildcard(React__default);
|
|
104646
|
+
function _getRequireWildcardCache(e2) {
|
|
104647
|
+
if ("function" != typeof WeakMap) return null;
|
|
104648
|
+
var r2 = /* @__PURE__ */ new WeakMap(), t2 = /* @__PURE__ */ new WeakMap();
|
|
104649
|
+
return (_getRequireWildcardCache = function(e3) {
|
|
104650
|
+
return e3 ? t2 : r2;
|
|
104651
|
+
})(e2);
|
|
104652
|
+
}
|
|
104653
|
+
function _interopRequireWildcard(e2, r2) {
|
|
104654
|
+
if (e2 && e2.__esModule) return e2;
|
|
104655
|
+
if (null === e2 || "object" != typeof e2 && "function" != typeof e2) return { default: e2 };
|
|
104656
|
+
var t2 = _getRequireWildcardCache(r2);
|
|
104657
|
+
if (t2 && t2.has(e2)) return t2.get(e2);
|
|
104658
|
+
var n2 = { __proto__: null }, a2 = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
104659
|
+
for (var u2 in e2) if ("default" !== u2 && Object.prototype.hasOwnProperty.call(e2, u2)) {
|
|
104660
|
+
var i2 = a2 ? Object.getOwnPropertyDescriptor(e2, u2) : null;
|
|
104661
|
+
i2 && (i2.get || i2.set) ? Object.defineProperty(n2, u2, i2) : n2[u2] = e2[u2];
|
|
104662
|
+
}
|
|
104663
|
+
return n2.default = e2, t2 && t2.set(e2, n2), n2;
|
|
104664
|
+
}
|
|
104665
|
+
function useMemo$12(getValue2, condition, shouldUpdate) {
|
|
104666
|
+
const cacheRef = React2.useRef({});
|
|
104667
|
+
if (!("value" in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
|
|
104668
|
+
cacheRef.current.value = getValue2();
|
|
104669
|
+
cacheRef.current.condition = condition;
|
|
104670
|
+
}
|
|
104671
|
+
return cacheRef.current.value;
|
|
104672
|
+
}
|
|
104673
|
+
return useMemo;
|
|
104674
|
+
}
|
|
104675
|
+
var isFragment = {};
|
|
104676
|
+
var hasRequiredIsFragment;
|
|
104677
|
+
function requireIsFragment() {
|
|
104678
|
+
if (hasRequiredIsFragment) return isFragment;
|
|
104679
|
+
hasRequiredIsFragment = 1;
|
|
104680
|
+
Object.defineProperty(isFragment, "__esModule", {
|
|
104681
|
+
value: true
|
|
104682
|
+
});
|
|
104683
|
+
isFragment.default = isFragment$12;
|
|
104684
|
+
const REACT_ELEMENT_TYPE_182 = Symbol.for("react.element");
|
|
104685
|
+
const REACT_ELEMENT_TYPE_192 = Symbol.for("react.transitional.element");
|
|
104686
|
+
const REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment");
|
|
104687
|
+
function isFragment$12(object4) {
|
|
104688
|
+
return (
|
|
104689
|
+
// Base object type
|
|
104690
|
+
object4 && typeof object4 === "object" && // React Element type
|
|
104691
|
+
(object4.$$typeof === REACT_ELEMENT_TYPE_182 || object4.$$typeof === REACT_ELEMENT_TYPE_192) && // React Fragment type
|
|
104692
|
+
object4.type === REACT_FRAGMENT_TYPE2
|
|
104693
|
+
);
|
|
104462
104694
|
}
|
|
104463
|
-
return
|
|
104695
|
+
return isFragment;
|
|
104464
104696
|
}
|
|
104465
|
-
|
|
104466
|
-
|
|
104467
|
-
if (
|
|
104468
|
-
|
|
104469
|
-
|
|
104470
|
-
|
|
104471
|
-
}
|
|
104472
|
-
|
|
104473
|
-
|
|
104474
|
-
|
|
104475
|
-
|
|
104476
|
-
|
|
104697
|
+
var hasRequiredRef;
|
|
104698
|
+
function requireRef() {
|
|
104699
|
+
if (hasRequiredRef) return ref;
|
|
104700
|
+
hasRequiredRef = 1;
|
|
104701
|
+
Object.defineProperty(ref, "__esModule", {
|
|
104702
|
+
value: true
|
|
104703
|
+
});
|
|
104704
|
+
ref.useComposeRef = ref.supportRef = ref.supportNodeRef = ref.getNodeRef = ref.fillRef = ref.composeRef = void 0;
|
|
104705
|
+
var _react = React__default;
|
|
104706
|
+
var _reactIs = requireReactIs$1();
|
|
104707
|
+
var _useMemo = _interopRequireDefault(requireUseMemo());
|
|
104708
|
+
var _isFragment = _interopRequireDefault(requireIsFragment());
|
|
104709
|
+
function _interopRequireDefault(obj) {
|
|
104710
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
104711
|
+
}
|
|
104712
|
+
const ReactMajorVersion2 = Number(_react.version.split(".")[0]);
|
|
104713
|
+
const fillRef3 = (ref2, node2) => {
|
|
104714
|
+
if (typeof ref2 === "function") {
|
|
104715
|
+
ref2(node2);
|
|
104716
|
+
} else if (typeof ref2 === "object" && ref2 && "current" in ref2) {
|
|
104717
|
+
ref2.current = node2;
|
|
104718
|
+
}
|
|
104719
|
+
};
|
|
104720
|
+
ref.fillRef = fillRef3;
|
|
104721
|
+
const composeRef3 = (...refs) => {
|
|
104722
|
+
const refList = refs.filter(Boolean);
|
|
104723
|
+
if (refList.length <= 1) {
|
|
104724
|
+
return refList[0];
|
|
104725
|
+
}
|
|
104726
|
+
return (node2) => {
|
|
104727
|
+
refs.forEach((ref2) => {
|
|
104728
|
+
fillRef3(ref2, node2);
|
|
104729
|
+
});
|
|
104730
|
+
};
|
|
104731
|
+
};
|
|
104732
|
+
ref.composeRef = composeRef3;
|
|
104733
|
+
const useComposeRef3 = (...refs) => {
|
|
104734
|
+
return (0, _useMemo.default)(
|
|
104735
|
+
() => composeRef3(...refs),
|
|
104736
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
104737
|
+
refs,
|
|
104738
|
+
(prev2, next2) => prev2.length !== next2.length || prev2.every((ref2, i2) => ref2 !== next2[i2])
|
|
104739
|
+
);
|
|
104740
|
+
};
|
|
104741
|
+
ref.useComposeRef = useComposeRef3;
|
|
104742
|
+
const supportRef3 = (nodeOrComponent) => {
|
|
104743
|
+
var _a, _b;
|
|
104744
|
+
if (!nodeOrComponent) {
|
|
104745
|
+
return false;
|
|
104746
|
+
}
|
|
104747
|
+
if (isReactElement2(nodeOrComponent) && ReactMajorVersion2 >= 19) {
|
|
104748
|
+
return true;
|
|
104749
|
+
}
|
|
104750
|
+
const type4 = (0, _reactIs.isMemo)(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type;
|
|
104751
|
+
if (typeof type4 === "function" && !((_a = type4.prototype) == null ? void 0 : _a.render) && type4.$$typeof !== _reactIs.ForwardRef) {
|
|
104752
|
+
return false;
|
|
104753
|
+
}
|
|
104754
|
+
if (typeof nodeOrComponent === "function" && !((_b = nodeOrComponent.prototype) == null ? void 0 : _b.render) && nodeOrComponent.$$typeof !== _reactIs.ForwardRef) {
|
|
104755
|
+
return false;
|
|
104756
|
+
}
|
|
104757
|
+
return true;
|
|
104758
|
+
};
|
|
104759
|
+
ref.supportRef = supportRef3;
|
|
104760
|
+
function isReactElement2(node2) {
|
|
104761
|
+
return /* @__PURE__ */ (0, _react.isValidElement)(node2) && !(0, _isFragment.default)(node2);
|
|
104477
104762
|
}
|
|
104478
|
-
|
|
104479
|
-
|
|
104480
|
-
fillRef2(ref2, node2);
|
|
104481
|
-
});
|
|
104763
|
+
const supportNodeRef3 = (node2) => {
|
|
104764
|
+
return isReactElement2(node2) && supportRef3(node2);
|
|
104482
104765
|
};
|
|
104483
|
-
|
|
104484
|
-
const
|
|
104485
|
-
|
|
104486
|
-
|
|
104487
|
-
|
|
104488
|
-
|
|
104489
|
-
|
|
104490
|
-
|
|
104491
|
-
|
|
104766
|
+
ref.supportNodeRef = supportNodeRef3;
|
|
104767
|
+
const getNodeRef3 = (node2) => {
|
|
104768
|
+
if (node2 && isReactElement2(node2)) {
|
|
104769
|
+
const ele = node2;
|
|
104770
|
+
return ele.props.propertyIsEnumerable("ref") ? ele.props.ref : ele.ref;
|
|
104771
|
+
}
|
|
104772
|
+
return null;
|
|
104773
|
+
};
|
|
104774
|
+
ref.getNodeRef = getNodeRef3;
|
|
104775
|
+
return ref;
|
|
104776
|
+
}
|
|
104777
|
+
var refExports = requireRef();
|
|
104492
104778
|
function _extends() {
|
|
104493
104779
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
104494
104780
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
@@ -104519,7 +104805,7 @@ const Icon = /* @__PURE__ */ React.forwardRef((props, ref2) => {
|
|
|
104519
104805
|
...restProps
|
|
104520
104806
|
} = props;
|
|
104521
104807
|
const iconRef = React.useRef();
|
|
104522
|
-
const mergedRef =
|
|
104808
|
+
const mergedRef = refExports.useComposeRef(iconRef, ref2);
|
|
104523
104809
|
warning(Boolean(Component || children), "Should have `component` prop or `children`.");
|
|
104524
104810
|
useInsertStyles2(iconRef);
|
|
104525
104811
|
const {
|