sti-antd-package 0.0.47 → 0.0.48
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.esm.js +1260 -1508
- package/dist/index.js +1260 -1508
- package/package.json +5 -9
package/dist/index.esm.js
CHANGED
|
@@ -1023,15 +1023,13 @@ function requireReactJsxRuntime_development () {
|
|
|
1023
1023
|
function getComponentNameFromType(type) {
|
|
1024
1024
|
if (null == type) return null;
|
|
1025
1025
|
if ("function" === typeof type)
|
|
1026
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
1026
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
1027
1027
|
? null
|
|
1028
1028
|
: type.displayName || type.name || null;
|
|
1029
1029
|
if ("string" === typeof type) return type;
|
|
1030
1030
|
switch (type) {
|
|
1031
1031
|
case REACT_FRAGMENT_TYPE:
|
|
1032
1032
|
return "Fragment";
|
|
1033
|
-
case REACT_PORTAL_TYPE:
|
|
1034
|
-
return "Portal";
|
|
1035
1033
|
case REACT_PROFILER_TYPE:
|
|
1036
1034
|
return "Profiler";
|
|
1037
1035
|
case REACT_STRICT_MODE_TYPE:
|
|
@@ -1040,6 +1038,8 @@ function requireReactJsxRuntime_development () {
|
|
|
1040
1038
|
return "Suspense";
|
|
1041
1039
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
1042
1040
|
return "SuspenseList";
|
|
1041
|
+
case REACT_ACTIVITY_TYPE:
|
|
1042
|
+
return "Activity";
|
|
1043
1043
|
}
|
|
1044
1044
|
if ("object" === typeof type)
|
|
1045
1045
|
switch (
|
|
@@ -1049,6 +1049,8 @@ function requireReactJsxRuntime_development () {
|
|
|
1049
1049
|
),
|
|
1050
1050
|
type.$$typeof)
|
|
1051
1051
|
) {
|
|
1052
|
+
case REACT_PORTAL_TYPE:
|
|
1053
|
+
return "Portal";
|
|
1052
1054
|
case REACT_CONTEXT_TYPE:
|
|
1053
1055
|
return (type.displayName || "Context") + ".Provider";
|
|
1054
1056
|
case REACT_CONSUMER_TYPE:
|
|
@@ -1103,260 +1105,28 @@ function requireReactJsxRuntime_development () {
|
|
|
1103
1105
|
return testStringCoercion(value);
|
|
1104
1106
|
}
|
|
1105
1107
|
}
|
|
1106
|
-
function
|
|
1107
|
-
|
|
1108
|
-
if (
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
prevGroupCollapsed = console.groupCollapsed;
|
|
1115
|
-
prevGroupEnd = console.groupEnd;
|
|
1116
|
-
var props = {
|
|
1117
|
-
configurable: true,
|
|
1118
|
-
enumerable: true,
|
|
1119
|
-
value: disabledLog,
|
|
1120
|
-
writable: true
|
|
1121
|
-
};
|
|
1122
|
-
Object.defineProperties(console, {
|
|
1123
|
-
info: props,
|
|
1124
|
-
log: props,
|
|
1125
|
-
warn: props,
|
|
1126
|
-
error: props,
|
|
1127
|
-
group: props,
|
|
1128
|
-
groupCollapsed: props,
|
|
1129
|
-
groupEnd: props
|
|
1130
|
-
});
|
|
1131
|
-
}
|
|
1132
|
-
disabledDepth++;
|
|
1133
|
-
}
|
|
1134
|
-
function reenableLogs() {
|
|
1135
|
-
disabledDepth--;
|
|
1136
|
-
if (0 === disabledDepth) {
|
|
1137
|
-
var props = { configurable: true, enumerable: true, writable: true };
|
|
1138
|
-
Object.defineProperties(console, {
|
|
1139
|
-
log: assign({}, props, { value: prevLog }),
|
|
1140
|
-
info: assign({}, props, { value: prevInfo }),
|
|
1141
|
-
warn: assign({}, props, { value: prevWarn }),
|
|
1142
|
-
error: assign({}, props, { value: prevError }),
|
|
1143
|
-
group: assign({}, props, { value: prevGroup }),
|
|
1144
|
-
groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
1145
|
-
groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
1146
|
-
});
|
|
1147
|
-
}
|
|
1148
|
-
0 > disabledDepth &&
|
|
1149
|
-
console.error(
|
|
1150
|
-
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
1151
|
-
);
|
|
1152
|
-
}
|
|
1153
|
-
function describeBuiltInComponentFrame(name) {
|
|
1154
|
-
if (void 0 === prefix)
|
|
1155
|
-
try {
|
|
1156
|
-
throw Error();
|
|
1157
|
-
} catch (x) {
|
|
1158
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
1159
|
-
prefix = (match && match[1]) || "";
|
|
1160
|
-
suffix =
|
|
1161
|
-
-1 < x.stack.indexOf("\n at")
|
|
1162
|
-
? " (<anonymous>)"
|
|
1163
|
-
: -1 < x.stack.indexOf("@")
|
|
1164
|
-
? "@unknown:0:0"
|
|
1165
|
-
: "";
|
|
1166
|
-
}
|
|
1167
|
-
return "\n" + prefix + name + suffix;
|
|
1168
|
-
}
|
|
1169
|
-
function describeNativeComponentFrame(fn, construct) {
|
|
1170
|
-
if (!fn || reentry) return "";
|
|
1171
|
-
var frame = componentFrameCache.get(fn);
|
|
1172
|
-
if (void 0 !== frame) return frame;
|
|
1173
|
-
reentry = true;
|
|
1174
|
-
frame = Error.prepareStackTrace;
|
|
1175
|
-
Error.prepareStackTrace = void 0;
|
|
1176
|
-
var previousDispatcher = null;
|
|
1177
|
-
previousDispatcher = ReactSharedInternals.H;
|
|
1178
|
-
ReactSharedInternals.H = null;
|
|
1179
|
-
disableLogs();
|
|
1108
|
+
function getTaskName(type) {
|
|
1109
|
+
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
1110
|
+
if (
|
|
1111
|
+
"object" === typeof type &&
|
|
1112
|
+
null !== type &&
|
|
1113
|
+
type.$$typeof === REACT_LAZY_TYPE
|
|
1114
|
+
)
|
|
1115
|
+
return "<...>";
|
|
1180
1116
|
try {
|
|
1181
|
-
var
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
var Fake = function () {
|
|
1186
|
-
throw Error();
|
|
1187
|
-
};
|
|
1188
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
1189
|
-
set: function () {
|
|
1190
|
-
throw Error();
|
|
1191
|
-
}
|
|
1192
|
-
});
|
|
1193
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
|
1194
|
-
try {
|
|
1195
|
-
Reflect.construct(Fake, []);
|
|
1196
|
-
} catch (x) {
|
|
1197
|
-
var control = x;
|
|
1198
|
-
}
|
|
1199
|
-
Reflect.construct(fn, [], Fake);
|
|
1200
|
-
} else {
|
|
1201
|
-
try {
|
|
1202
|
-
Fake.call();
|
|
1203
|
-
} catch (x$0) {
|
|
1204
|
-
control = x$0;
|
|
1205
|
-
}
|
|
1206
|
-
fn.call(Fake.prototype);
|
|
1207
|
-
}
|
|
1208
|
-
} else {
|
|
1209
|
-
try {
|
|
1210
|
-
throw Error();
|
|
1211
|
-
} catch (x$1) {
|
|
1212
|
-
control = x$1;
|
|
1213
|
-
}
|
|
1214
|
-
(Fake = fn()) &&
|
|
1215
|
-
"function" === typeof Fake.catch &&
|
|
1216
|
-
Fake.catch(function () {});
|
|
1217
|
-
}
|
|
1218
|
-
} catch (sample) {
|
|
1219
|
-
if (sample && control && "string" === typeof sample.stack)
|
|
1220
|
-
return [sample.stack, control.stack];
|
|
1221
|
-
}
|
|
1222
|
-
return [null, null];
|
|
1223
|
-
}
|
|
1224
|
-
};
|
|
1225
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
1226
|
-
"DetermineComponentFrameRoot";
|
|
1227
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
1228
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
1229
|
-
"name"
|
|
1230
|
-
);
|
|
1231
|
-
namePropDescriptor &&
|
|
1232
|
-
namePropDescriptor.configurable &&
|
|
1233
|
-
Object.defineProperty(
|
|
1234
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
1235
|
-
"name",
|
|
1236
|
-
{ value: "DetermineComponentFrameRoot" }
|
|
1237
|
-
);
|
|
1238
|
-
var _RunInRootFrame$Deter =
|
|
1239
|
-
RunInRootFrame.DetermineComponentFrameRoot(),
|
|
1240
|
-
sampleStack = _RunInRootFrame$Deter[0],
|
|
1241
|
-
controlStack = _RunInRootFrame$Deter[1];
|
|
1242
|
-
if (sampleStack && controlStack) {
|
|
1243
|
-
var sampleLines = sampleStack.split("\n"),
|
|
1244
|
-
controlLines = controlStack.split("\n");
|
|
1245
|
-
for (
|
|
1246
|
-
_RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
1247
|
-
namePropDescriptor < sampleLines.length &&
|
|
1248
|
-
!sampleLines[namePropDescriptor].includes(
|
|
1249
|
-
"DetermineComponentFrameRoot"
|
|
1250
|
-
);
|
|
1251
|
-
|
|
1252
|
-
)
|
|
1253
|
-
namePropDescriptor++;
|
|
1254
|
-
for (
|
|
1255
|
-
;
|
|
1256
|
-
_RunInRootFrame$Deter < controlLines.length &&
|
|
1257
|
-
!controlLines[_RunInRootFrame$Deter].includes(
|
|
1258
|
-
"DetermineComponentFrameRoot"
|
|
1259
|
-
);
|
|
1260
|
-
|
|
1261
|
-
)
|
|
1262
|
-
_RunInRootFrame$Deter++;
|
|
1263
|
-
if (
|
|
1264
|
-
namePropDescriptor === sampleLines.length ||
|
|
1265
|
-
_RunInRootFrame$Deter === controlLines.length
|
|
1266
|
-
)
|
|
1267
|
-
for (
|
|
1268
|
-
namePropDescriptor = sampleLines.length - 1,
|
|
1269
|
-
_RunInRootFrame$Deter = controlLines.length - 1;
|
|
1270
|
-
1 <= namePropDescriptor &&
|
|
1271
|
-
0 <= _RunInRootFrame$Deter &&
|
|
1272
|
-
sampleLines[namePropDescriptor] !==
|
|
1273
|
-
controlLines[_RunInRootFrame$Deter];
|
|
1274
|
-
|
|
1275
|
-
)
|
|
1276
|
-
_RunInRootFrame$Deter--;
|
|
1277
|
-
for (
|
|
1278
|
-
;
|
|
1279
|
-
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
1280
|
-
namePropDescriptor--, _RunInRootFrame$Deter--
|
|
1281
|
-
)
|
|
1282
|
-
if (
|
|
1283
|
-
sampleLines[namePropDescriptor] !==
|
|
1284
|
-
controlLines[_RunInRootFrame$Deter]
|
|
1285
|
-
) {
|
|
1286
|
-
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
1287
|
-
do
|
|
1288
|
-
if (
|
|
1289
|
-
(namePropDescriptor--,
|
|
1290
|
-
_RunInRootFrame$Deter--,
|
|
1291
|
-
0 > _RunInRootFrame$Deter ||
|
|
1292
|
-
sampleLines[namePropDescriptor] !==
|
|
1293
|
-
controlLines[_RunInRootFrame$Deter])
|
|
1294
|
-
) {
|
|
1295
|
-
var _frame =
|
|
1296
|
-
"\n" +
|
|
1297
|
-
sampleLines[namePropDescriptor].replace(
|
|
1298
|
-
" at new ",
|
|
1299
|
-
" at "
|
|
1300
|
-
);
|
|
1301
|
-
fn.displayName &&
|
|
1302
|
-
_frame.includes("<anonymous>") &&
|
|
1303
|
-
(_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
1304
|
-
"function" === typeof fn &&
|
|
1305
|
-
componentFrameCache.set(fn, _frame);
|
|
1306
|
-
return _frame;
|
|
1307
|
-
}
|
|
1308
|
-
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
1309
|
-
}
|
|
1310
|
-
break;
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
} finally {
|
|
1314
|
-
(reentry = false),
|
|
1315
|
-
(ReactSharedInternals.H = previousDispatcher),
|
|
1316
|
-
reenableLogs(),
|
|
1317
|
-
(Error.prepareStackTrace = frame);
|
|
1318
|
-
}
|
|
1319
|
-
sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
1320
|
-
? describeBuiltInComponentFrame(sampleLines)
|
|
1321
|
-
: "";
|
|
1322
|
-
"function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
1323
|
-
return sampleLines;
|
|
1324
|
-
}
|
|
1325
|
-
function describeUnknownElementTypeFrameInDEV(type) {
|
|
1326
|
-
if (null == type) return "";
|
|
1327
|
-
if ("function" === typeof type) {
|
|
1328
|
-
var prototype = type.prototype;
|
|
1329
|
-
return describeNativeComponentFrame(
|
|
1330
|
-
type,
|
|
1331
|
-
!(!prototype || !prototype.isReactComponent)
|
|
1332
|
-
);
|
|
1333
|
-
}
|
|
1334
|
-
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
1335
|
-
switch (type) {
|
|
1336
|
-
case REACT_SUSPENSE_TYPE:
|
|
1337
|
-
return describeBuiltInComponentFrame("Suspense");
|
|
1338
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
1339
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
|
1117
|
+
var name = getComponentNameFromType(type);
|
|
1118
|
+
return name ? "<" + name + ">" : "<...>";
|
|
1119
|
+
} catch (x) {
|
|
1120
|
+
return "<...>";
|
|
1340
1121
|
}
|
|
1341
|
-
if ("object" === typeof type)
|
|
1342
|
-
switch (type.$$typeof) {
|
|
1343
|
-
case REACT_FORWARD_REF_TYPE:
|
|
1344
|
-
return (type = describeNativeComponentFrame(type.render, false)), type;
|
|
1345
|
-
case REACT_MEMO_TYPE:
|
|
1346
|
-
return describeUnknownElementTypeFrameInDEV(type.type);
|
|
1347
|
-
case REACT_LAZY_TYPE:
|
|
1348
|
-
prototype = type._payload;
|
|
1349
|
-
type = type._init;
|
|
1350
|
-
try {
|
|
1351
|
-
return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
1352
|
-
} catch (x) {}
|
|
1353
|
-
}
|
|
1354
|
-
return "";
|
|
1355
1122
|
}
|
|
1356
1123
|
function getOwner() {
|
|
1357
1124
|
var dispatcher = ReactSharedInternals.A;
|
|
1358
1125
|
return null === dispatcher ? null : dispatcher.getOwner();
|
|
1359
1126
|
}
|
|
1127
|
+
function UnknownOwner() {
|
|
1128
|
+
return Error("react-stack-top-frame");
|
|
1129
|
+
}
|
|
1360
1130
|
function hasValidKey(config) {
|
|
1361
1131
|
if (hasOwnProperty.call(config, "key")) {
|
|
1362
1132
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
@@ -1389,7 +1159,16 @@ function requireReactJsxRuntime_development () {
|
|
|
1389
1159
|
componentName = this.props.ref;
|
|
1390
1160
|
return void 0 !== componentName ? componentName : null;
|
|
1391
1161
|
}
|
|
1392
|
-
function ReactElement(
|
|
1162
|
+
function ReactElement(
|
|
1163
|
+
type,
|
|
1164
|
+
key,
|
|
1165
|
+
self,
|
|
1166
|
+
source,
|
|
1167
|
+
owner,
|
|
1168
|
+
props,
|
|
1169
|
+
debugStack,
|
|
1170
|
+
debugTask
|
|
1171
|
+
) {
|
|
1393
1172
|
self = props.ref;
|
|
1394
1173
|
type = {
|
|
1395
1174
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
@@ -1417,6 +1196,18 @@ function requireReactJsxRuntime_development () {
|
|
|
1417
1196
|
writable: true,
|
|
1418
1197
|
value: null
|
|
1419
1198
|
});
|
|
1199
|
+
Object.defineProperty(type, "_debugStack", {
|
|
1200
|
+
configurable: false,
|
|
1201
|
+
enumerable: false,
|
|
1202
|
+
writable: true,
|
|
1203
|
+
value: debugStack
|
|
1204
|
+
});
|
|
1205
|
+
Object.defineProperty(type, "_debugTask", {
|
|
1206
|
+
configurable: false,
|
|
1207
|
+
enumerable: false,
|
|
1208
|
+
writable: true,
|
|
1209
|
+
value: debugTask
|
|
1210
|
+
});
|
|
1420
1211
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
1421
1212
|
return type;
|
|
1422
1213
|
}
|
|
@@ -1426,71 +1217,26 @@ function requireReactJsxRuntime_development () {
|
|
|
1426
1217
|
maybeKey,
|
|
1427
1218
|
isStaticChildren,
|
|
1428
1219
|
source,
|
|
1429
|
-
self
|
|
1220
|
+
self,
|
|
1221
|
+
debugStack,
|
|
1222
|
+
debugTask
|
|
1430
1223
|
) {
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
1448
|
-
void 0 !== type.getModuleId))
|
|
1449
|
-
) {
|
|
1450
|
-
var children = config.children;
|
|
1451
|
-
if (void 0 !== children)
|
|
1452
|
-
if (isStaticChildren)
|
|
1453
|
-
if (isArrayImpl(children)) {
|
|
1454
|
-
for (
|
|
1455
|
-
isStaticChildren = 0;
|
|
1456
|
-
isStaticChildren < children.length;
|
|
1457
|
-
isStaticChildren++
|
|
1458
|
-
)
|
|
1459
|
-
validateChildKeys(children[isStaticChildren], type);
|
|
1460
|
-
Object.freeze && Object.freeze(children);
|
|
1461
|
-
} else
|
|
1462
|
-
console.error(
|
|
1463
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
1464
|
-
);
|
|
1465
|
-
else validateChildKeys(children, type);
|
|
1466
|
-
} else {
|
|
1467
|
-
children = "";
|
|
1468
|
-
if (
|
|
1469
|
-
void 0 === type ||
|
|
1470
|
-
("object" === typeof type &&
|
|
1471
|
-
null !== type &&
|
|
1472
|
-
0 === Object.keys(type).length)
|
|
1473
|
-
)
|
|
1474
|
-
children +=
|
|
1475
|
-
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
1476
|
-
null === type
|
|
1477
|
-
? (isStaticChildren = "null")
|
|
1478
|
-
: isArrayImpl(type)
|
|
1479
|
-
? (isStaticChildren = "array")
|
|
1480
|
-
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
1481
|
-
? ((isStaticChildren =
|
|
1482
|
-
"<" +
|
|
1483
|
-
(getComponentNameFromType(type.type) || "Unknown") +
|
|
1484
|
-
" />"),
|
|
1485
|
-
(children =
|
|
1486
|
-
" Did you accidentally export a JSX literal instead of a component?"))
|
|
1487
|
-
: (isStaticChildren = typeof type);
|
|
1488
|
-
console.error(
|
|
1489
|
-
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
1490
|
-
isStaticChildren,
|
|
1491
|
-
children
|
|
1492
|
-
);
|
|
1493
|
-
}
|
|
1224
|
+
var children = config.children;
|
|
1225
|
+
if (void 0 !== children)
|
|
1226
|
+
if (isStaticChildren)
|
|
1227
|
+
if (isArrayImpl(children)) {
|
|
1228
|
+
for (
|
|
1229
|
+
isStaticChildren = 0;
|
|
1230
|
+
isStaticChildren < children.length;
|
|
1231
|
+
isStaticChildren++
|
|
1232
|
+
)
|
|
1233
|
+
validateChildKeys(children[isStaticChildren]);
|
|
1234
|
+
Object.freeze && Object.freeze(children);
|
|
1235
|
+
} else
|
|
1236
|
+
console.error(
|
|
1237
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
1238
|
+
);
|
|
1239
|
+
else validateChildKeys(children);
|
|
1494
1240
|
if (hasOwnProperty.call(config, "key")) {
|
|
1495
1241
|
children = getComponentNameFromType(type);
|
|
1496
1242
|
var keys = Object.keys(config).filter(function (k) {
|
|
@@ -1529,88 +1275,23 @@ function requireReactJsxRuntime_development () {
|
|
|
1529
1275
|
? type.displayName || type.name || "Unknown"
|
|
1530
1276
|
: type
|
|
1531
1277
|
);
|
|
1532
|
-
return ReactElement(
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
for (var i = 0; i < node.length; i++) {
|
|
1542
|
-
var child = node[i];
|
|
1543
|
-
isValidElement(child) && validateExplicitKey(child, parentType);
|
|
1544
|
-
}
|
|
1545
|
-
else if (isValidElement(node))
|
|
1546
|
-
node._store && (node._store.validated = 1);
|
|
1547
|
-
else if (
|
|
1548
|
-
(null === node || "object" !== typeof node
|
|
1549
|
-
? (i = null)
|
|
1550
|
-
: ((i =
|
|
1551
|
-
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
1552
|
-
node["@@iterator"]),
|
|
1553
|
-
(i = "function" === typeof i ? i : null)),
|
|
1554
|
-
"function" === typeof i &&
|
|
1555
|
-
i !== node.entries &&
|
|
1556
|
-
((i = i.call(node)), i !== node))
|
|
1557
|
-
)
|
|
1558
|
-
for (; !(node = i.next()).done; )
|
|
1559
|
-
isValidElement(node.value) &&
|
|
1560
|
-
validateExplicitKey(node.value, parentType);
|
|
1561
|
-
}
|
|
1562
|
-
function isValidElement(object) {
|
|
1563
|
-
return (
|
|
1564
|
-
"object" === typeof object &&
|
|
1565
|
-
null !== object &&
|
|
1566
|
-
object.$$typeof === REACT_ELEMENT_TYPE
|
|
1278
|
+
return ReactElement(
|
|
1279
|
+
type,
|
|
1280
|
+
children,
|
|
1281
|
+
self,
|
|
1282
|
+
source,
|
|
1283
|
+
getOwner(),
|
|
1284
|
+
maybeKey,
|
|
1285
|
+
debugStack,
|
|
1286
|
+
debugTask
|
|
1567
1287
|
);
|
|
1568
1288
|
}
|
|
1569
|
-
function
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
(
|
|
1575
|
-
(parentType = getCurrentComponentErrorInfo(parentType)),
|
|
1576
|
-
!ownerHasKeyUseWarning[parentType])
|
|
1577
|
-
) {
|
|
1578
|
-
ownerHasKeyUseWarning[parentType] = true;
|
|
1579
|
-
var childOwner = "";
|
|
1580
|
-
element &&
|
|
1581
|
-
null != element._owner &&
|
|
1582
|
-
element._owner !== getOwner() &&
|
|
1583
|
-
((childOwner = null),
|
|
1584
|
-
"number" === typeof element._owner.tag
|
|
1585
|
-
? (childOwner = getComponentNameFromType(element._owner.type))
|
|
1586
|
-
: "string" === typeof element._owner.name &&
|
|
1587
|
-
(childOwner = element._owner.name),
|
|
1588
|
-
(childOwner = " It was passed a child from " + childOwner + "."));
|
|
1589
|
-
var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1590
|
-
ReactSharedInternals.getCurrentStack = function () {
|
|
1591
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
1592
|
-
prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
1593
|
-
return stack;
|
|
1594
|
-
};
|
|
1595
|
-
console.error(
|
|
1596
|
-
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
1597
|
-
parentType,
|
|
1598
|
-
childOwner
|
|
1599
|
-
);
|
|
1600
|
-
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
function getCurrentComponentErrorInfo(parentType) {
|
|
1604
|
-
var info = "",
|
|
1605
|
-
owner = getOwner();
|
|
1606
|
-
owner &&
|
|
1607
|
-
(owner = getComponentNameFromType(owner.type)) &&
|
|
1608
|
-
(info = "\n\nCheck the render method of `" + owner + "`.");
|
|
1609
|
-
info ||
|
|
1610
|
-
((parentType = getComponentNameFromType(parentType)) &&
|
|
1611
|
-
(info =
|
|
1612
|
-
"\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
1613
|
-
return info;
|
|
1289
|
+
function validateChildKeys(node) {
|
|
1290
|
+
"object" === typeof node &&
|
|
1291
|
+
null !== node &&
|
|
1292
|
+
node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
1293
|
+
node._store &&
|
|
1294
|
+
(node._store.validated = 1);
|
|
1614
1295
|
}
|
|
1615
1296
|
var React = React__default,
|
|
1616
1297
|
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
@@ -1625,41 +1306,62 @@ function requireReactJsxRuntime_development () {
|
|
|
1625
1306
|
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
1626
1307
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
1627
1308
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
1309
|
+
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
|
1310
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
1631
1311
|
ReactSharedInternals =
|
|
1632
1312
|
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
1633
1313
|
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
1634
|
-
assign = Object.assign,
|
|
1635
|
-
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
1636
1314
|
isArrayImpl = Array.isArray,
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
reentry = false;
|
|
1649
|
-
var componentFrameCache = new (
|
|
1650
|
-
"function" === typeof WeakMap ? WeakMap : Map
|
|
1651
|
-
)();
|
|
1652
|
-
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
1653
|
-
specialPropKeyWarningShown;
|
|
1315
|
+
createTask = console.createTask
|
|
1316
|
+
? console.createTask
|
|
1317
|
+
: function () {
|
|
1318
|
+
return null;
|
|
1319
|
+
};
|
|
1320
|
+
React = {
|
|
1321
|
+
react_stack_bottom_frame: function (callStackForError) {
|
|
1322
|
+
return callStackForError();
|
|
1323
|
+
}
|
|
1324
|
+
};
|
|
1325
|
+
var specialPropKeyWarningShown;
|
|
1654
1326
|
var didWarnAboutElementRef = {};
|
|
1655
|
-
var
|
|
1656
|
-
|
|
1327
|
+
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
|
1328
|
+
React,
|
|
1329
|
+
UnknownOwner
|
|
1330
|
+
)();
|
|
1331
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1332
|
+
var didWarnAboutKeySpread = {};
|
|
1657
1333
|
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
1658
1334
|
reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
|
|
1659
|
-
|
|
1335
|
+
var trackActualOwner =
|
|
1336
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1337
|
+
return jsxDEVImpl(
|
|
1338
|
+
type,
|
|
1339
|
+
config,
|
|
1340
|
+
maybeKey,
|
|
1341
|
+
false,
|
|
1342
|
+
source,
|
|
1343
|
+
self,
|
|
1344
|
+
trackActualOwner
|
|
1345
|
+
? Error("react-stack-top-frame")
|
|
1346
|
+
: unknownOwnerDebugStack,
|
|
1347
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1348
|
+
);
|
|
1660
1349
|
};
|
|
1661
1350
|
reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
|
|
1662
|
-
|
|
1351
|
+
var trackActualOwner =
|
|
1352
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1353
|
+
return jsxDEVImpl(
|
|
1354
|
+
type,
|
|
1355
|
+
config,
|
|
1356
|
+
maybeKey,
|
|
1357
|
+
true,
|
|
1358
|
+
source,
|
|
1359
|
+
self,
|
|
1360
|
+
trackActualOwner
|
|
1361
|
+
? Error("react-stack-top-frame")
|
|
1362
|
+
: unknownOwnerDebugStack,
|
|
1363
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1364
|
+
);
|
|
1663
1365
|
};
|
|
1664
1366
|
})();
|
|
1665
1367
|
return reactJsxRuntime_development;
|
|
@@ -2781,249 +2483,355 @@ function generate$3(color, opts = {}) {
|
|
|
2781
2483
|
const blue$1 = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
|
|
2782
2484
|
blue$1.primary = blue$1[5];
|
|
2783
2485
|
|
|
2784
|
-
|
|
2785
|
-
return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
2786
|
-
}
|
|
2486
|
+
var dynamicCSS = {};
|
|
2787
2487
|
|
|
2788
|
-
|
|
2789
|
-
if (!root) {
|
|
2790
|
-
return false;
|
|
2791
|
-
}
|
|
2488
|
+
var canUseDom$1 = {};
|
|
2792
2489
|
|
|
2793
|
-
|
|
2794
|
-
if (root.contains) {
|
|
2795
|
-
return root.contains(n);
|
|
2796
|
-
}
|
|
2490
|
+
var hasRequiredCanUseDom;
|
|
2797
2491
|
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
if (node === root) {
|
|
2802
|
-
return true;
|
|
2803
|
-
}
|
|
2804
|
-
node = node.parentNode;
|
|
2805
|
-
}
|
|
2806
|
-
return false;
|
|
2807
|
-
}
|
|
2492
|
+
function requireCanUseDom () {
|
|
2493
|
+
if (hasRequiredCanUseDom) return canUseDom$1;
|
|
2494
|
+
hasRequiredCanUseDom = 1;
|
|
2808
2495
|
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
function
|
|
2814
|
-
|
|
2815
|
-
}
|
|
2816
|
-
|
|
2817
|
-
return mark.startsWith('data-') ? mark : `data-${mark}`;
|
|
2818
|
-
}
|
|
2819
|
-
return MARK_KEY$1;
|
|
2820
|
-
}
|
|
2821
|
-
function getContainer$1(option) {
|
|
2822
|
-
if (option.attachTo) {
|
|
2823
|
-
return option.attachTo;
|
|
2824
|
-
}
|
|
2825
|
-
const head = document.querySelector('head');
|
|
2826
|
-
return head || document.body;
|
|
2827
|
-
}
|
|
2828
|
-
function getOrder$1(prepend) {
|
|
2829
|
-
if (prepend === 'queue') {
|
|
2830
|
-
return 'prependQueue';
|
|
2831
|
-
}
|
|
2832
|
-
return prepend ? 'prepend' : 'append';
|
|
2496
|
+
Object.defineProperty(canUseDom$1, "__esModule", {
|
|
2497
|
+
value: true
|
|
2498
|
+
});
|
|
2499
|
+
canUseDom$1.default = canUseDom;
|
|
2500
|
+
function canUseDom() {
|
|
2501
|
+
return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
2502
|
+
}
|
|
2503
|
+
return canUseDom$1;
|
|
2833
2504
|
}
|
|
2834
2505
|
|
|
2835
|
-
|
|
2836
|
-
* Find style which inject by rc-util
|
|
2837
|
-
*/
|
|
2838
|
-
function findStyles$1(container) {
|
|
2839
|
-
return Array.from((containerCache$1.get(container) || container).children).filter(node => node.tagName === 'STYLE');
|
|
2840
|
-
}
|
|
2841
|
-
function injectCSS$1(css, option = {}) {
|
|
2842
|
-
if (!canUseDom$1()) {
|
|
2843
|
-
return null;
|
|
2844
|
-
}
|
|
2845
|
-
const {
|
|
2846
|
-
csp,
|
|
2847
|
-
prepend,
|
|
2848
|
-
priority = 0
|
|
2849
|
-
} = option;
|
|
2850
|
-
const mergedOrder = getOrder$1(prepend);
|
|
2851
|
-
const isPrependQueue = mergedOrder === 'prependQueue';
|
|
2852
|
-
const styleNode = document.createElement('style');
|
|
2853
|
-
styleNode.setAttribute(APPEND_ORDER$1, mergedOrder);
|
|
2854
|
-
if (isPrependQueue && priority) {
|
|
2855
|
-
styleNode.setAttribute(APPEND_PRIORITY$1, `${priority}`);
|
|
2856
|
-
}
|
|
2857
|
-
if (csp?.nonce) {
|
|
2858
|
-
styleNode.nonce = csp?.nonce;
|
|
2859
|
-
}
|
|
2860
|
-
styleNode.innerHTML = css;
|
|
2861
|
-
const container = getContainer$1(option);
|
|
2862
|
-
const {
|
|
2863
|
-
firstChild
|
|
2864
|
-
} = container;
|
|
2865
|
-
if (prepend) {
|
|
2866
|
-
// If is queue `prepend`, it will prepend first style and then append rest style
|
|
2867
|
-
if (isPrependQueue) {
|
|
2868
|
-
const existStyle = (option.styles || findStyles$1(container)).filter(node => {
|
|
2869
|
-
// Ignore style which not injected by rc-util with prepend
|
|
2870
|
-
if (!['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER$1))) {
|
|
2871
|
-
return false;
|
|
2872
|
-
}
|
|
2506
|
+
var contains$1 = {};
|
|
2873
2507
|
|
|
2874
|
-
|
|
2875
|
-
const nodePriority = Number(node.getAttribute(APPEND_PRIORITY$1) || 0);
|
|
2876
|
-
return priority >= nodePriority;
|
|
2877
|
-
});
|
|
2878
|
-
if (existStyle.length) {
|
|
2879
|
-
container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);
|
|
2880
|
-
return styleNode;
|
|
2881
|
-
}
|
|
2882
|
-
}
|
|
2508
|
+
var hasRequiredContains;
|
|
2883
2509
|
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
container.appendChild(styleNode);
|
|
2888
|
-
}
|
|
2889
|
-
return styleNode;
|
|
2890
|
-
}
|
|
2891
|
-
function findExistNode$1(key, option = {}) {
|
|
2892
|
-
let {
|
|
2893
|
-
styles
|
|
2894
|
-
} = option;
|
|
2895
|
-
styles ||= findStyles$1(getContainer$1(option));
|
|
2896
|
-
return styles.find(node => node.getAttribute(getMark$1(option)) === key);
|
|
2897
|
-
}
|
|
2510
|
+
function requireContains () {
|
|
2511
|
+
if (hasRequiredContains) return contains$1;
|
|
2512
|
+
hasRequiredContains = 1;
|
|
2898
2513
|
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2514
|
+
Object.defineProperty(contains$1, "__esModule", {
|
|
2515
|
+
value: true
|
|
2516
|
+
});
|
|
2517
|
+
contains$1.default = contains;
|
|
2518
|
+
function contains(root, n) {
|
|
2519
|
+
if (!root) {
|
|
2520
|
+
return false;
|
|
2521
|
+
}
|
|
2904
2522
|
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
parentNode
|
|
2910
|
-
} = placeholderStyle;
|
|
2911
|
-
containerCache$1.set(container, parentNode);
|
|
2912
|
-
container.removeChild(placeholderStyle);
|
|
2913
|
-
}
|
|
2914
|
-
}
|
|
2915
|
-
function updateCSS$1(css, key, originOption = {}) {
|
|
2916
|
-
const container = getContainer$1(originOption);
|
|
2917
|
-
const styles = findStyles$1(container);
|
|
2918
|
-
const option = {
|
|
2919
|
-
...originOption,
|
|
2920
|
-
styles
|
|
2921
|
-
};
|
|
2523
|
+
// Use native if support
|
|
2524
|
+
if (root.contains) {
|
|
2525
|
+
return root.contains(n);
|
|
2526
|
+
}
|
|
2922
2527
|
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2528
|
+
// `document.contains` not support with IE11
|
|
2529
|
+
let node = n;
|
|
2530
|
+
while (node) {
|
|
2531
|
+
if (node === root) {
|
|
2532
|
+
return true;
|
|
2533
|
+
}
|
|
2534
|
+
node = node.parentNode;
|
|
2535
|
+
}
|
|
2536
|
+
return false;
|
|
2537
|
+
}
|
|
2538
|
+
return contains$1;
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
var hasRequiredDynamicCSS;
|
|
2542
|
+
|
|
2543
|
+
function requireDynamicCSS () {
|
|
2544
|
+
if (hasRequiredDynamicCSS) return dynamicCSS;
|
|
2545
|
+
hasRequiredDynamicCSS = 1;
|
|
2546
|
+
|
|
2547
|
+
Object.defineProperty(dynamicCSS, "__esModule", {
|
|
2548
|
+
value: true
|
|
2549
|
+
});
|
|
2550
|
+
dynamicCSS.clearContainerCache = clearContainerCache;
|
|
2551
|
+
dynamicCSS.injectCSS = injectCSS;
|
|
2552
|
+
dynamicCSS.removeCSS = removeCSS;
|
|
2553
|
+
dynamicCSS.updateCSS = updateCSS;
|
|
2554
|
+
var _canUseDom = _interopRequireDefault(requireCanUseDom());
|
|
2555
|
+
var _contains = _interopRequireDefault(requireContains());
|
|
2556
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2557
|
+
const APPEND_ORDER = 'data-rc-order';
|
|
2558
|
+
const APPEND_PRIORITY = 'data-rc-priority';
|
|
2559
|
+
const MARK_KEY = `rc-util-key`;
|
|
2560
|
+
const containerCache = new Map();
|
|
2561
|
+
function getMark({
|
|
2562
|
+
mark
|
|
2563
|
+
} = {}) {
|
|
2564
|
+
if (mark) {
|
|
2565
|
+
return mark.startsWith('data-') ? mark : `data-${mark}`;
|
|
2566
|
+
}
|
|
2567
|
+
return MARK_KEY;
|
|
2568
|
+
}
|
|
2569
|
+
function getContainer(option) {
|
|
2570
|
+
if (option.attachTo) {
|
|
2571
|
+
return option.attachTo;
|
|
2572
|
+
}
|
|
2573
|
+
const head = document.querySelector('head');
|
|
2574
|
+
return head || document.body;
|
|
2575
|
+
}
|
|
2576
|
+
function getOrder(prepend) {
|
|
2577
|
+
if (prepend === 'queue') {
|
|
2578
|
+
return 'prependQueue';
|
|
2579
|
+
}
|
|
2580
|
+
return prepend ? 'prepend' : 'append';
|
|
2581
|
+
}
|
|
2939
2582
|
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2583
|
+
/**
|
|
2584
|
+
* Find style which inject by rc-util
|
|
2585
|
+
*/
|
|
2586
|
+
function findStyles(container) {
|
|
2587
|
+
return Array.from((containerCache.get(container) || container).children).filter(node => node.tagName === 'STYLE');
|
|
2588
|
+
}
|
|
2589
|
+
function injectCSS(css, option = {}) {
|
|
2590
|
+
if (!(0, _canUseDom.default)()) {
|
|
2591
|
+
return null;
|
|
2592
|
+
}
|
|
2593
|
+
const {
|
|
2594
|
+
csp,
|
|
2595
|
+
prepend,
|
|
2596
|
+
priority = 0
|
|
2597
|
+
} = option;
|
|
2598
|
+
const mergedOrder = getOrder(prepend);
|
|
2599
|
+
const isPrependQueue = mergedOrder === 'prependQueue';
|
|
2600
|
+
const styleNode = document.createElement('style');
|
|
2601
|
+
styleNode.setAttribute(APPEND_ORDER, mergedOrder);
|
|
2602
|
+
if (isPrependQueue && priority) {
|
|
2603
|
+
styleNode.setAttribute(APPEND_PRIORITY, `${priority}`);
|
|
2604
|
+
}
|
|
2605
|
+
if (csp?.nonce) {
|
|
2606
|
+
styleNode.nonce = csp?.nonce;
|
|
2607
|
+
}
|
|
2608
|
+
styleNode.innerHTML = css;
|
|
2609
|
+
const container = getContainer(option);
|
|
2610
|
+
const {
|
|
2611
|
+
firstChild
|
|
2612
|
+
} = container;
|
|
2613
|
+
if (prepend) {
|
|
2614
|
+
// If is queue `prepend`, it will prepend first style and then append rest style
|
|
2615
|
+
if (isPrependQueue) {
|
|
2616
|
+
const existStyle = (option.styles || findStyles(container)).filter(node => {
|
|
2617
|
+
// Ignore style which not injected by rc-util with prepend
|
|
2618
|
+
if (!['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER))) {
|
|
2619
|
+
return false;
|
|
2620
|
+
}
|
|
2943
2621
|
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2622
|
+
// Ignore style which priority less then new style
|
|
2623
|
+
const nodePriority = Number(node.getAttribute(APPEND_PRIORITY) || 0);
|
|
2624
|
+
return priority >= nodePriority;
|
|
2625
|
+
});
|
|
2626
|
+
if (existStyle.length) {
|
|
2627
|
+
container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling);
|
|
2628
|
+
return styleNode;
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2950
2631
|
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2632
|
+
// Use `insertBefore` as `prepend`
|
|
2633
|
+
container.insertBefore(styleNode, firstChild);
|
|
2634
|
+
} else {
|
|
2635
|
+
container.appendChild(styleNode);
|
|
2636
|
+
}
|
|
2637
|
+
return styleNode;
|
|
2638
|
+
}
|
|
2639
|
+
function findExistNode(key, option = {}) {
|
|
2640
|
+
let {
|
|
2641
|
+
styles
|
|
2642
|
+
} = option;
|
|
2643
|
+
styles ||= findStyles(getContainer(option));
|
|
2644
|
+
return styles.find(node => node.getAttribute(getMark(option)) === key);
|
|
2645
|
+
}
|
|
2646
|
+
function removeCSS(key, option = {}) {
|
|
2647
|
+
const existNode = findExistNode(key, option);
|
|
2648
|
+
if (existNode) {
|
|
2649
|
+
const container = getContainer(option);
|
|
2650
|
+
container.removeChild(existNode);
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2957
2653
|
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2654
|
+
/**
|
|
2655
|
+
* qiankun will inject `appendChild` to insert into other
|
|
2656
|
+
*/
|
|
2657
|
+
function syncRealContainer(container, option) {
|
|
2658
|
+
const cachedRealContainer = containerCache.get(container);
|
|
2659
|
+
|
|
2660
|
+
// Find real container when not cached or cached container removed
|
|
2661
|
+
if (!cachedRealContainer || !(0, _contains.default)(document, cachedRealContainer)) {
|
|
2662
|
+
const placeholderStyle = injectCSS('', option);
|
|
2663
|
+
const {
|
|
2664
|
+
parentNode
|
|
2665
|
+
} = placeholderStyle;
|
|
2666
|
+
containerCache.set(container, parentNode);
|
|
2667
|
+
container.removeChild(placeholderStyle);
|
|
2668
|
+
}
|
|
2669
|
+
}
|
|
2961
2670
|
|
|
2962
|
-
/**
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
}
|
|
2671
|
+
/**
|
|
2672
|
+
* manually clear container cache to avoid global cache in unit testes
|
|
2673
|
+
*/
|
|
2674
|
+
function clearContainerCache() {
|
|
2675
|
+
containerCache.clear();
|
|
2676
|
+
}
|
|
2677
|
+
function updateCSS(css, key, originOption = {}) {
|
|
2678
|
+
const container = getContainer(originOption);
|
|
2679
|
+
const styles = findStyles(container);
|
|
2680
|
+
const option = {
|
|
2681
|
+
...originOption,
|
|
2682
|
+
styles
|
|
2683
|
+
};
|
|
2969
2684
|
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
}
|
|
2685
|
+
// Sync real parent
|
|
2686
|
+
syncRealContainer(container, option);
|
|
2687
|
+
const existNode = findExistNode(key, option);
|
|
2688
|
+
if (existNode) {
|
|
2689
|
+
if (option.csp?.nonce && existNode.nonce !== option.csp?.nonce) {
|
|
2690
|
+
existNode.nonce = option.csp?.nonce;
|
|
2691
|
+
}
|
|
2692
|
+
if (existNode.innerHTML !== css) {
|
|
2693
|
+
existNode.innerHTML = css;
|
|
2694
|
+
}
|
|
2695
|
+
return existNode;
|
|
2696
|
+
}
|
|
2697
|
+
const newNode = injectCSS(css, option);
|
|
2698
|
+
newNode.setAttribute(getMark(option), key);
|
|
2699
|
+
return newNode;
|
|
2700
|
+
}
|
|
2701
|
+
return dynamicCSS;
|
|
2988
2702
|
}
|
|
2989
2703
|
|
|
2990
|
-
|
|
2991
|
-
function note$1(valid, message) {
|
|
2992
|
-
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
2993
|
-
const finalMessage = preWarningFns$1.reduce((msg, preMessageFn) => preMessageFn(msg ?? '', 'note'), message);
|
|
2994
|
-
if (finalMessage) {
|
|
2995
|
-
console.warn(`Note: ${finalMessage}`);
|
|
2996
|
-
}
|
|
2997
|
-
}
|
|
2998
|
-
}
|
|
2999
|
-
function resetWarned$2() {
|
|
3000
|
-
warned$1 = {};
|
|
3001
|
-
}
|
|
3002
|
-
function call$1(method, valid, message) {
|
|
3003
|
-
if (!valid && !warned$1[message]) {
|
|
3004
|
-
method(false, message);
|
|
3005
|
-
warned$1[message] = true;
|
|
3006
|
-
}
|
|
3007
|
-
}
|
|
2704
|
+
var dynamicCSSExports = requireDynamicCSS();
|
|
3008
2705
|
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
2706
|
+
var shadow = {};
|
|
2707
|
+
|
|
2708
|
+
var hasRequiredShadow;
|
|
2709
|
+
|
|
2710
|
+
function requireShadow () {
|
|
2711
|
+
if (hasRequiredShadow) return shadow;
|
|
2712
|
+
hasRequiredShadow = 1;
|
|
2713
|
+
|
|
2714
|
+
Object.defineProperty(shadow, "__esModule", {
|
|
2715
|
+
value: true
|
|
2716
|
+
});
|
|
2717
|
+
shadow.getShadowRoot = getShadowRoot;
|
|
2718
|
+
shadow.inShadow = inShadow;
|
|
2719
|
+
function getRoot(ele) {
|
|
2720
|
+
return ele?.getRootNode?.();
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
/**
|
|
2724
|
+
* Check if is in shadowRoot
|
|
2725
|
+
*/
|
|
2726
|
+
function inShadow(ele) {
|
|
2727
|
+
return getRoot(ele) instanceof ShadowRoot;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
/**
|
|
2731
|
+
* Return shadowRoot if possible
|
|
2732
|
+
*/
|
|
2733
|
+
function getShadowRoot(ele) {
|
|
2734
|
+
return inShadow(ele) ? getRoot(ele) : null;
|
|
2735
|
+
}
|
|
2736
|
+
return shadow;
|
|
3012
2737
|
}
|
|
3013
2738
|
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
2739
|
+
var shadowExports = requireShadow();
|
|
2740
|
+
|
|
2741
|
+
var warning$6 = {};
|
|
2742
|
+
|
|
2743
|
+
var hasRequiredWarning;
|
|
2744
|
+
|
|
2745
|
+
function requireWarning () {
|
|
2746
|
+
if (hasRequiredWarning) return warning$6;
|
|
2747
|
+
hasRequiredWarning = 1;
|
|
2748
|
+
|
|
2749
|
+
Object.defineProperty(warning$6, "__esModule", {
|
|
2750
|
+
value: true
|
|
2751
|
+
});
|
|
2752
|
+
warning$6.call = call;
|
|
2753
|
+
warning$6.default = void 0;
|
|
2754
|
+
warning$6.note = note;
|
|
2755
|
+
warning$6.noteOnce = noteOnce;
|
|
2756
|
+
warning$6.preMessage = void 0;
|
|
2757
|
+
warning$6.resetWarned = resetWarned;
|
|
2758
|
+
warning$6.warning = warning;
|
|
2759
|
+
warning$6.warningOnce = warningOnce;
|
|
2760
|
+
/* eslint-disable no-console */
|
|
2761
|
+
let warned = {};
|
|
2762
|
+
const preWarningFns = [];
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* Pre warning enable you to parse content before console.error.
|
|
2766
|
+
* Modify to null will prevent warning.
|
|
2767
|
+
*/
|
|
2768
|
+
const preMessage = fn => {
|
|
2769
|
+
preWarningFns.push(fn);
|
|
2770
|
+
};
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* Warning if condition not match.
|
|
2774
|
+
* @param valid Condition
|
|
2775
|
+
* @param message Warning message
|
|
2776
|
+
* @example
|
|
2777
|
+
* ```js
|
|
2778
|
+
* warning(false, 'some error'); // print some error
|
|
2779
|
+
* warning(true, 'some error'); // print nothing
|
|
2780
|
+
* warning(1 === 2, 'some error'); // print some error
|
|
2781
|
+
* ```
|
|
2782
|
+
*/
|
|
2783
|
+
warning$6.preMessage = preMessage;
|
|
2784
|
+
function warning(valid, message) {
|
|
2785
|
+
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
2786
|
+
const finalMessage = preWarningFns.reduce((msg, preMessageFn) => preMessageFn(msg ?? '', 'warning'), message);
|
|
2787
|
+
if (finalMessage) {
|
|
2788
|
+
console.error(`Warning: ${finalMessage}`);
|
|
2789
|
+
}
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
/** @see Similar to {@link warning} */
|
|
2794
|
+
function note(valid, message) {
|
|
2795
|
+
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
2796
|
+
const finalMessage = preWarningFns.reduce((msg, preMessageFn) => preMessageFn(msg ?? '', 'note'), message);
|
|
2797
|
+
if (finalMessage) {
|
|
2798
|
+
console.warn(`Note: ${finalMessage}`);
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
function resetWarned() {
|
|
2803
|
+
warned = {};
|
|
2804
|
+
}
|
|
2805
|
+
function call(method, valid, message) {
|
|
2806
|
+
if (!valid && !warned[message]) {
|
|
2807
|
+
method(false, message);
|
|
2808
|
+
warned[message] = true;
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
/** @see Same as {@link warning}, but only warn once for the same message */
|
|
2813
|
+
function warningOnce(valid, message) {
|
|
2814
|
+
call(warning, valid, message);
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
/** @see Same as {@link warning}, but only warn once for the same message */
|
|
2818
|
+
function noteOnce(valid, message) {
|
|
2819
|
+
call(note, valid, message);
|
|
2820
|
+
}
|
|
2821
|
+
warningOnce.preMessage = preMessage;
|
|
2822
|
+
warningOnce.resetWarned = resetWarned;
|
|
2823
|
+
warningOnce.noteOnce = noteOnce;
|
|
2824
|
+
warning$6.default = warningOnce;
|
|
2825
|
+
return warning$6;
|
|
3017
2826
|
}
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
warningOnce$2.noteOnce = noteOnce$1;
|
|
2827
|
+
|
|
2828
|
+
var warningExports = requireWarning();
|
|
3021
2829
|
|
|
3022
2830
|
function camelCase$1(input) {
|
|
3023
2831
|
return input.replace(/-(.)/g, (match, g) => g.toUpperCase());
|
|
3024
2832
|
}
|
|
3025
|
-
function warning$
|
|
3026
|
-
warningOnce
|
|
2833
|
+
function warning$5(valid, message) {
|
|
2834
|
+
warningExports.warningOnce(valid, `[@ant-design/icons] ${message}`);
|
|
3027
2835
|
}
|
|
3028
2836
|
function isIconDefinition$1(target) {
|
|
3029
2837
|
return typeof target === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && (typeof target.icon === 'object' || typeof target.icon === 'function');
|
|
@@ -3087,6 +2895,7 @@ const iconStyles$1 = `
|
|
|
3087
2895
|
|
|
3088
2896
|
.anticon svg {
|
|
3089
2897
|
display: inline-block;
|
|
2898
|
+
vertical-align: inherit;
|
|
3090
2899
|
}
|
|
3091
2900
|
|
|
3092
2901
|
.anticon::before {
|
|
@@ -3137,8 +2946,8 @@ const useInsertStyles$1 = eleRef => {
|
|
|
3137
2946
|
}
|
|
3138
2947
|
useEffect(() => {
|
|
3139
2948
|
const ele = eleRef.current;
|
|
3140
|
-
const shadowRoot = getShadowRoot
|
|
3141
|
-
updateCSS
|
|
2949
|
+
const shadowRoot = shadowExports.getShadowRoot(ele);
|
|
2950
|
+
dynamicCSSExports.updateCSS(mergedStyleStr, '@ant-design-icons', {
|
|
3142
2951
|
prepend: !layer,
|
|
3143
2952
|
csp,
|
|
3144
2953
|
attachTo: shadowRoot
|
|
@@ -3183,7 +2992,7 @@ const IconBase$1 = props => {
|
|
|
3183
2992
|
};
|
|
3184
2993
|
}
|
|
3185
2994
|
useInsertStyles$1(svgRef);
|
|
3186
|
-
warning$
|
|
2995
|
+
warning$5(isIconDefinition$1(icon), `icon should be icon definiton, but got ${icon}`);
|
|
3187
2996
|
if (!isIconDefinition$1(icon)) {
|
|
3188
2997
|
return null;
|
|
3189
2998
|
}
|
|
@@ -3283,13 +3092,27 @@ Icon$1.displayName = 'AntdIcon';
|
|
|
3283
3092
|
Icon$1.getTwoToneColor = getTwoToneColor$1;
|
|
3284
3093
|
Icon$1.setTwoToneColor = setTwoToneColor$1;
|
|
3285
3094
|
|
|
3286
|
-
|
|
3287
|
-
|
|
3095
|
+
var ArrowLeftOutlined$1 = {};
|
|
3096
|
+
|
|
3097
|
+
var hasRequiredArrowLeftOutlined;
|
|
3098
|
+
|
|
3099
|
+
function requireArrowLeftOutlined () {
|
|
3100
|
+
if (hasRequiredArrowLeftOutlined) return ArrowLeftOutlined$1;
|
|
3101
|
+
hasRequiredArrowLeftOutlined = 1;
|
|
3102
|
+
// This icon file is generated automatically.
|
|
3103
|
+
Object.defineProperty(ArrowLeftOutlined$1, "__esModule", { value: true });
|
|
3104
|
+
var ArrowLeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" };
|
|
3105
|
+
ArrowLeftOutlined$1.default = ArrowLeftOutlined;
|
|
3106
|
+
return ArrowLeftOutlined$1;
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
var ArrowLeftOutlinedExports = /*@__PURE__*/ requireArrowLeftOutlined();
|
|
3110
|
+
var ArrowLeftOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(ArrowLeftOutlinedExports);
|
|
3288
3111
|
|
|
3289
3112
|
function _extends$h() { _extends$h = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$h.apply(this, arguments); }
|
|
3290
3113
|
const ArrowLeftOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$h({}, props, {
|
|
3291
3114
|
ref: ref,
|
|
3292
|
-
icon:
|
|
3115
|
+
icon: ArrowLeftOutlinedSvg
|
|
3293
3116
|
}));
|
|
3294
3117
|
|
|
3295
3118
|
/** */
|
|
@@ -3298,13 +3121,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3298
3121
|
RefIcon$h.displayName = 'ArrowLeftOutlined';
|
|
3299
3122
|
}
|
|
3300
3123
|
|
|
3301
|
-
|
|
3302
|
-
|
|
3124
|
+
var CheckCircleOutlined$1 = {};
|
|
3125
|
+
|
|
3126
|
+
var hasRequiredCheckCircleOutlined;
|
|
3127
|
+
|
|
3128
|
+
function requireCheckCircleOutlined () {
|
|
3129
|
+
if (hasRequiredCheckCircleOutlined) return CheckCircleOutlined$1;
|
|
3130
|
+
hasRequiredCheckCircleOutlined = 1;
|
|
3131
|
+
// This icon file is generated automatically.
|
|
3132
|
+
Object.defineProperty(CheckCircleOutlined$1, "__esModule", { value: true });
|
|
3133
|
+
var CheckCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z" } }, { "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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "check-circle", "theme": "outlined" };
|
|
3134
|
+
CheckCircleOutlined$1.default = CheckCircleOutlined;
|
|
3135
|
+
return CheckCircleOutlined$1;
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
var CheckCircleOutlinedExports = /*@__PURE__*/ requireCheckCircleOutlined();
|
|
3139
|
+
var CheckCircleOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(CheckCircleOutlinedExports);
|
|
3303
3140
|
|
|
3304
3141
|
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
3305
3142
|
const CheckCircleOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$g({}, props, {
|
|
3306
3143
|
ref: ref,
|
|
3307
|
-
icon:
|
|
3144
|
+
icon: CheckCircleOutlinedSvg
|
|
3308
3145
|
}));
|
|
3309
3146
|
|
|
3310
3147
|
/** */
|
|
@@ -3313,13 +3150,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3313
3150
|
RefIcon$g.displayName = 'CheckCircleOutlined';
|
|
3314
3151
|
}
|
|
3315
3152
|
|
|
3316
|
-
|
|
3317
|
-
|
|
3153
|
+
var CheckOutlined$1 = {};
|
|
3154
|
+
|
|
3155
|
+
var hasRequiredCheckOutlined;
|
|
3156
|
+
|
|
3157
|
+
function requireCheckOutlined () {
|
|
3158
|
+
if (hasRequiredCheckOutlined) return CheckOutlined$1;
|
|
3159
|
+
hasRequiredCheckOutlined = 1;
|
|
3160
|
+
// This icon file is generated automatically.
|
|
3161
|
+
Object.defineProperty(CheckOutlined$1, "__esModule", { value: true });
|
|
3162
|
+
var CheckOutlined = { "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" };
|
|
3163
|
+
CheckOutlined$1.default = CheckOutlined;
|
|
3164
|
+
return CheckOutlined$1;
|
|
3165
|
+
}
|
|
3166
|
+
|
|
3167
|
+
var CheckOutlinedExports = /*@__PURE__*/ requireCheckOutlined();
|
|
3168
|
+
var CheckOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(CheckOutlinedExports);
|
|
3318
3169
|
|
|
3319
3170
|
function _extends$f() { _extends$f = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$f.apply(this, arguments); }
|
|
3320
3171
|
const CheckOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$f({}, props, {
|
|
3321
3172
|
ref: ref,
|
|
3322
|
-
icon:
|
|
3173
|
+
icon: CheckOutlinedSvg
|
|
3323
3174
|
}));
|
|
3324
3175
|
|
|
3325
3176
|
/** */
|
|
@@ -3328,58 +3179,114 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3328
3179
|
RefIcon$f.displayName = 'CheckOutlined';
|
|
3329
3180
|
}
|
|
3330
3181
|
|
|
3331
|
-
|
|
3332
|
-
|
|
3182
|
+
var CloseCircleFilled$3 = {};
|
|
3183
|
+
|
|
3184
|
+
var hasRequiredCloseCircleFilled;
|
|
3185
|
+
|
|
3186
|
+
function requireCloseCircleFilled () {
|
|
3187
|
+
if (hasRequiredCloseCircleFilled) return CloseCircleFilled$3;
|
|
3188
|
+
hasRequiredCloseCircleFilled = 1;
|
|
3189
|
+
// This icon file is generated automatically.
|
|
3190
|
+
Object.defineProperty(CloseCircleFilled$3, "__esModule", { value: true });
|
|
3191
|
+
var CloseCircleFilled = { "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 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, "name": "close-circle", "theme": "filled" };
|
|
3192
|
+
CloseCircleFilled$3.default = CloseCircleFilled;
|
|
3193
|
+
return CloseCircleFilled$3;
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
var CloseCircleFilledExports = /*@__PURE__*/ requireCloseCircleFilled();
|
|
3197
|
+
var CloseCircleFilledSvg = /*@__PURE__*/getDefaultExportFromCjs(CloseCircleFilledExports);
|
|
3333
3198
|
|
|
3334
3199
|
function _extends$e() { _extends$e = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$e.apply(this, arguments); }
|
|
3335
|
-
const CloseCircleFilled$
|
|
3200
|
+
const CloseCircleFilled$2 = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$e({}, props, {
|
|
3336
3201
|
ref: ref,
|
|
3337
|
-
icon:
|
|
3202
|
+
icon: CloseCircleFilledSvg
|
|
3338
3203
|
}));
|
|
3339
3204
|
|
|
3340
|
-
/** */
|
|
3206
|
+
const RefIcon$e = /*#__PURE__*/React.forwardRef(CloseCircleFilled$2);
|
|
3342
3207
|
if (process.env.NODE_ENV !== 'production') {
|
|
3343
3208
|
RefIcon$e.displayName = 'CloseCircleFilled';
|
|
3344
3209
|
}
|
|
3345
3210
|
|
|
3346
|
-
|
|
3347
|
-
|
|
3211
|
+
var CloseCircleOutlined$1 = {};
|
|
3212
|
+
|
|
3213
|
+
var hasRequiredCloseCircleOutlined;
|
|
3214
|
+
|
|
3215
|
+
function requireCloseCircleOutlined () {
|
|
3216
|
+
if (hasRequiredCloseCircleOutlined) return CloseCircleOutlined$1;
|
|
3217
|
+
hasRequiredCloseCircleOutlined = 1;
|
|
3218
|
+
// This icon file is generated automatically.
|
|
3219
|
+
Object.defineProperty(CloseCircleOutlined$1, "__esModule", { value: true });
|
|
3220
|
+
var CloseCircleOutlined = { "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" };
|
|
3221
|
+
CloseCircleOutlined$1.default = CloseCircleOutlined;
|
|
3222
|
+
return CloseCircleOutlined$1;
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
var CloseCircleOutlinedExports = /*@__PURE__*/ requireCloseCircleOutlined();
|
|
3226
|
+
var CloseCircleOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(CloseCircleOutlinedExports);
|
|
3348
3227
|
|
|
3349
3228
|
function _extends$d() { _extends$d = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$d.apply(this, arguments); }
|
|
3350
3229
|
const CloseCircleOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$d({}, props, {
|
|
3351
3230
|
ref: ref,
|
|
3352
|
-
icon:
|
|
3231
|
+
icon: CloseCircleOutlinedSvg
|
|
3353
3232
|
}));
|
|
3354
3233
|
|
|
3355
|
-
/** */
|
|
3356
3235
|
const RefIcon$d = /*#__PURE__*/React.forwardRef(CloseCircleOutlined);
|
|
3357
3236
|
if (process.env.NODE_ENV !== 'production') {
|
|
3358
3237
|
RefIcon$d.displayName = 'CloseCircleOutlined';
|
|
3359
3238
|
}
|
|
3360
3239
|
|
|
3361
|
-
|
|
3362
|
-
|
|
3240
|
+
var CloseOutlined$1 = {};
|
|
3241
|
+
|
|
3242
|
+
var hasRequiredCloseOutlined;
|
|
3243
|
+
|
|
3244
|
+
function requireCloseOutlined () {
|
|
3245
|
+
if (hasRequiredCloseOutlined) return CloseOutlined$1;
|
|
3246
|
+
hasRequiredCloseOutlined = 1;
|
|
3247
|
+
// This icon file is generated automatically.
|
|
3248
|
+
Object.defineProperty(CloseOutlined$1, "__esModule", { value: true });
|
|
3249
|
+
var CloseOutlined = { "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" };
|
|
3250
|
+
CloseOutlined$1.default = CloseOutlined;
|
|
3251
|
+
return CloseOutlined$1;
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3254
|
+
var CloseOutlinedExports = /*@__PURE__*/ requireCloseOutlined();
|
|
3255
|
+
var CloseOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(CloseOutlinedExports);
|
|
3363
3256
|
|
|
3364
3257
|
function _extends$c() { _extends$c = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$c.apply(this, arguments); }
|
|
3365
3258
|
const CloseOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$c({}, props, {
|
|
3366
3259
|
ref: ref,
|
|
3367
|
-
icon:
|
|
3260
|
+
icon: CloseOutlinedSvg
|
|
3368
3261
|
}));
|
|
3369
3262
|
|
|
3370
|
-
/** */
|
|
3371
3264
|
const RefIcon$c = /*#__PURE__*/React.forwardRef(CloseOutlined);
|
|
3372
3265
|
if (process.env.NODE_ENV !== 'production') {
|
|
3373
3266
|
RefIcon$c.displayName = 'CloseOutlined';
|
|
3374
3267
|
}
|
|
3375
3268
|
|
|
3376
|
-
|
|
3377
|
-
|
|
3269
|
+
var DeleteOutlined$1 = {};
|
|
3270
|
+
|
|
3271
|
+
var hasRequiredDeleteOutlined;
|
|
3272
|
+
|
|
3273
|
+
function requireDeleteOutlined () {
|
|
3274
|
+
if (hasRequiredDeleteOutlined) return DeleteOutlined$1;
|
|
3275
|
+
hasRequiredDeleteOutlined = 1;
|
|
3276
|
+
// This icon file is generated automatically.
|
|
3277
|
+
Object.defineProperty(DeleteOutlined$1, "__esModule", { value: true });
|
|
3278
|
+
var DeleteOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
|
|
3279
|
+
DeleteOutlined$1.default = DeleteOutlined;
|
|
3280
|
+
return DeleteOutlined$1;
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
var DeleteOutlinedExports = /*@__PURE__*/ requireDeleteOutlined();
|
|
3284
|
+
var DeleteOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(DeleteOutlinedExports);
|
|
3378
3285
|
|
|
3379
3286
|
function _extends$b() { _extends$b = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$b.apply(this, arguments); }
|
|
3380
3287
|
const DeleteOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$b({}, props, {
|
|
3381
3288
|
ref: ref,
|
|
3382
|
-
icon:
|
|
3289
|
+
icon: DeleteOutlinedSvg
|
|
3383
3290
|
}));
|
|
3384
3291
|
|
|
3385
3292
|
/** */
|
|
@@ -3388,13 +3295,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3388
3295
|
RefIcon$b.displayName = 'DeleteOutlined';
|
|
3389
3296
|
}
|
|
3390
3297
|
|
|
3391
|
-
|
|
3392
|
-
|
|
3298
|
+
var EditOutlined$1 = {};
|
|
3299
|
+
|
|
3300
|
+
var hasRequiredEditOutlined;
|
|
3301
|
+
|
|
3302
|
+
function requireEditOutlined () {
|
|
3303
|
+
if (hasRequiredEditOutlined) return EditOutlined$1;
|
|
3304
|
+
hasRequiredEditOutlined = 1;
|
|
3305
|
+
// This icon file is generated automatically.
|
|
3306
|
+
Object.defineProperty(EditOutlined$1, "__esModule", { value: true });
|
|
3307
|
+
var EditOutlined = { "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" };
|
|
3308
|
+
EditOutlined$1.default = EditOutlined;
|
|
3309
|
+
return EditOutlined$1;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
var EditOutlinedExports = /*@__PURE__*/ requireEditOutlined();
|
|
3313
|
+
var EditOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(EditOutlinedExports);
|
|
3393
3314
|
|
|
3394
3315
|
function _extends$a() { _extends$a = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$a.apply(this, arguments); }
|
|
3395
3316
|
const EditOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$a({}, props, {
|
|
3396
3317
|
ref: ref,
|
|
3397
|
-
icon:
|
|
3318
|
+
icon: EditOutlinedSvg
|
|
3398
3319
|
}));
|
|
3399
3320
|
|
|
3400
3321
|
/** */
|
|
@@ -3403,13 +3324,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3403
3324
|
RefIcon$a.displayName = 'EditOutlined';
|
|
3404
3325
|
}
|
|
3405
3326
|
|
|
3406
|
-
|
|
3407
|
-
|
|
3327
|
+
var EllipsisOutlined$1 = {};
|
|
3328
|
+
|
|
3329
|
+
var hasRequiredEllipsisOutlined;
|
|
3330
|
+
|
|
3331
|
+
function requireEllipsisOutlined () {
|
|
3332
|
+
if (hasRequiredEllipsisOutlined) return EllipsisOutlined$1;
|
|
3333
|
+
hasRequiredEllipsisOutlined = 1;
|
|
3334
|
+
// This icon file is generated automatically.
|
|
3335
|
+
Object.defineProperty(EllipsisOutlined$1, "__esModule", { value: true });
|
|
3336
|
+
var EllipsisOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "ellipsis", "theme": "outlined" };
|
|
3337
|
+
EllipsisOutlined$1.default = EllipsisOutlined;
|
|
3338
|
+
return EllipsisOutlined$1;
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
var EllipsisOutlinedExports = /*@__PURE__*/ requireEllipsisOutlined();
|
|
3342
|
+
var EllipsisOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(EllipsisOutlinedExports);
|
|
3408
3343
|
|
|
3409
3344
|
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
3410
3345
|
const EllipsisOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$9({}, props, {
|
|
3411
3346
|
ref: ref,
|
|
3412
|
-
icon:
|
|
3347
|
+
icon: EllipsisOutlinedSvg
|
|
3413
3348
|
}));
|
|
3414
3349
|
|
|
3415
3350
|
/** */
|
|
@@ -3418,13 +3353,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3418
3353
|
RefIcon$9.displayName = 'EllipsisOutlined';
|
|
3419
3354
|
}
|
|
3420
3355
|
|
|
3421
|
-
|
|
3422
|
-
|
|
3356
|
+
var FileSearchOutlined$1 = {};
|
|
3357
|
+
|
|
3358
|
+
var hasRequiredFileSearchOutlined;
|
|
3359
|
+
|
|
3360
|
+
function requireFileSearchOutlined () {
|
|
3361
|
+
if (hasRequiredFileSearchOutlined) return FileSearchOutlined$1;
|
|
3362
|
+
hasRequiredFileSearchOutlined = 1;
|
|
3363
|
+
// This icon file is generated automatically.
|
|
3364
|
+
Object.defineProperty(FileSearchOutlined$1, "__esModule", { value: true });
|
|
3365
|
+
var FileSearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "file-search", "theme": "outlined" };
|
|
3366
|
+
FileSearchOutlined$1.default = FileSearchOutlined;
|
|
3367
|
+
return FileSearchOutlined$1;
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
var FileSearchOutlinedExports = /*@__PURE__*/ requireFileSearchOutlined();
|
|
3371
|
+
var FileSearchOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(FileSearchOutlinedExports);
|
|
3423
3372
|
|
|
3424
3373
|
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
3425
3374
|
const FileSearchOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$8({}, props, {
|
|
3426
3375
|
ref: ref,
|
|
3427
|
-
icon:
|
|
3376
|
+
icon: FileSearchOutlinedSvg
|
|
3428
3377
|
}));
|
|
3429
3378
|
|
|
3430
3379
|
/** */
|
|
@@ -3433,13 +3382,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3433
3382
|
RefIcon$8.displayName = 'FileSearchOutlined';
|
|
3434
3383
|
}
|
|
3435
3384
|
|
|
3436
|
-
|
|
3437
|
-
|
|
3385
|
+
var FilterOutlined$1 = {};
|
|
3386
|
+
|
|
3387
|
+
var hasRequiredFilterOutlined;
|
|
3388
|
+
|
|
3389
|
+
function requireFilterOutlined () {
|
|
3390
|
+
if (hasRequiredFilterOutlined) return FilterOutlined$1;
|
|
3391
|
+
hasRequiredFilterOutlined = 1;
|
|
3392
|
+
// This icon file is generated automatically.
|
|
3393
|
+
Object.defineProperty(FilterOutlined$1, "__esModule", { value: true });
|
|
3394
|
+
var FilterOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z" } }] }, "name": "filter", "theme": "outlined" };
|
|
3395
|
+
FilterOutlined$1.default = FilterOutlined;
|
|
3396
|
+
return FilterOutlined$1;
|
|
3397
|
+
}
|
|
3398
|
+
|
|
3399
|
+
var FilterOutlinedExports = /*@__PURE__*/ requireFilterOutlined();
|
|
3400
|
+
var FilterOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(FilterOutlinedExports);
|
|
3438
3401
|
|
|
3439
3402
|
function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
|
|
3440
3403
|
const FilterOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$7({}, props, {
|
|
3441
3404
|
ref: ref,
|
|
3442
|
-
icon:
|
|
3405
|
+
icon: FilterOutlinedSvg
|
|
3443
3406
|
}));
|
|
3444
3407
|
|
|
3445
3408
|
/** */
|
|
@@ -3448,13 +3411,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3448
3411
|
RefIcon$7.displayName = 'FilterOutlined';
|
|
3449
3412
|
}
|
|
3450
3413
|
|
|
3451
|
-
|
|
3452
|
-
|
|
3414
|
+
var InboxOutlined$1 = {};
|
|
3415
|
+
|
|
3416
|
+
var hasRequiredInboxOutlined;
|
|
3417
|
+
|
|
3418
|
+
function requireInboxOutlined () {
|
|
3419
|
+
if (hasRequiredInboxOutlined) return InboxOutlined$1;
|
|
3420
|
+
hasRequiredInboxOutlined = 1;
|
|
3421
|
+
// This icon file is generated automatically.
|
|
3422
|
+
Object.defineProperty(InboxOutlined$1, "__esModule", { value: true });
|
|
3423
|
+
var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z" } }] }, "name": "inbox", "theme": "outlined" };
|
|
3424
|
+
InboxOutlined$1.default = InboxOutlined;
|
|
3425
|
+
return InboxOutlined$1;
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
var InboxOutlinedExports = /*@__PURE__*/ requireInboxOutlined();
|
|
3429
|
+
var InboxOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(InboxOutlinedExports);
|
|
3453
3430
|
|
|
3454
3431
|
function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
|
|
3455
3432
|
const InboxOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$6({}, props, {
|
|
3456
3433
|
ref: ref,
|
|
3457
|
-
icon:
|
|
3434
|
+
icon: InboxOutlinedSvg
|
|
3458
3435
|
}));
|
|
3459
3436
|
|
|
3460
3437
|
/** */
|
|
@@ -3463,13 +3440,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3463
3440
|
RefIcon$6.displayName = 'InboxOutlined';
|
|
3464
3441
|
}
|
|
3465
3442
|
|
|
3466
|
-
|
|
3467
|
-
|
|
3443
|
+
var PlusOutlined$1 = {};
|
|
3444
|
+
|
|
3445
|
+
var hasRequiredPlusOutlined;
|
|
3446
|
+
|
|
3447
|
+
function requirePlusOutlined () {
|
|
3448
|
+
if (hasRequiredPlusOutlined) return PlusOutlined$1;
|
|
3449
|
+
hasRequiredPlusOutlined = 1;
|
|
3450
|
+
// This icon file is generated automatically.
|
|
3451
|
+
Object.defineProperty(PlusOutlined$1, "__esModule", { value: true });
|
|
3452
|
+
var PlusOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
|
|
3453
|
+
PlusOutlined$1.default = PlusOutlined;
|
|
3454
|
+
return PlusOutlined$1;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
var PlusOutlinedExports = /*@__PURE__*/ requirePlusOutlined();
|
|
3458
|
+
var PlusOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(PlusOutlinedExports);
|
|
3468
3459
|
|
|
3469
3460
|
function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
|
|
3470
3461
|
const PlusOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$5({}, props, {
|
|
3471
3462
|
ref: ref,
|
|
3472
|
-
icon:
|
|
3463
|
+
icon: PlusOutlinedSvg
|
|
3473
3464
|
}));
|
|
3474
3465
|
|
|
3475
3466
|
/** */
|
|
@@ -3478,13 +3469,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3478
3469
|
RefIcon$5.displayName = 'PlusOutlined';
|
|
3479
3470
|
}
|
|
3480
3471
|
|
|
3481
|
-
|
|
3482
|
-
|
|
3472
|
+
var RestOutlined$1 = {};
|
|
3473
|
+
|
|
3474
|
+
var hasRequiredRestOutlined;
|
|
3475
|
+
|
|
3476
|
+
function requireRestOutlined () {
|
|
3477
|
+
if (hasRequiredRestOutlined) return RestOutlined$1;
|
|
3478
|
+
hasRequiredRestOutlined = 1;
|
|
3479
|
+
// This icon file is generated automatically.
|
|
3480
|
+
Object.defineProperty(RestOutlined$1, "__esModule", { value: true });
|
|
3481
|
+
var RestOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M508 704c79.5 0 144-64.5 144-144s-64.5-144-144-144-144 64.5-144 144 64.5 144 144 144zm0-224c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z" } }, { "tag": "path", "attrs": { "d": "M832 256h-28.1l-35.7-120.9c-4-13.7-16.5-23.1-30.7-23.1h-451c-14.3 0-26.8 9.4-30.7 23.1L220.1 256H192c-17.7 0-32 14.3-32 32v28c0 4.4 3.6 8 8 8h45.8l47.7 558.7a32 32 0 0031.9 29.3h429.2a32 32 0 0031.9-29.3L802.2 324H856c4.4 0 8-3.6 8-8v-28c0-17.7-14.3-32-32-32zm-518.6-76h397.2l22.4 76H291l22.4-76zm376.2 664H326.4L282 324h451.9l-44.3 520z" } }] }, "name": "rest", "theme": "outlined" };
|
|
3482
|
+
RestOutlined$1.default = RestOutlined;
|
|
3483
|
+
return RestOutlined$1;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
var RestOutlinedExports = /*@__PURE__*/ requireRestOutlined();
|
|
3487
|
+
var RestOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(RestOutlinedExports);
|
|
3483
3488
|
|
|
3484
3489
|
function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
|
|
3485
3490
|
const RestOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$4({}, props, {
|
|
3486
3491
|
ref: ref,
|
|
3487
|
-
icon:
|
|
3492
|
+
icon: RestOutlinedSvg
|
|
3488
3493
|
}));
|
|
3489
3494
|
|
|
3490
3495
|
/** */
|
|
@@ -3493,13 +3498,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3493
3498
|
RefIcon$4.displayName = 'RestOutlined';
|
|
3494
3499
|
}
|
|
3495
3500
|
|
|
3496
|
-
|
|
3497
|
-
|
|
3501
|
+
var SaveOutlined$1 = {};
|
|
3502
|
+
|
|
3503
|
+
var hasRequiredSaveOutlined;
|
|
3504
|
+
|
|
3505
|
+
function requireSaveOutlined () {
|
|
3506
|
+
if (hasRequiredSaveOutlined) return SaveOutlined$1;
|
|
3507
|
+
hasRequiredSaveOutlined = 1;
|
|
3508
|
+
// This icon file is generated automatically.
|
|
3509
|
+
Object.defineProperty(SaveOutlined$1, "__esModule", { value: true });
|
|
3510
|
+
var SaveOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z" } }] }, "name": "save", "theme": "outlined" };
|
|
3511
|
+
SaveOutlined$1.default = SaveOutlined;
|
|
3512
|
+
return SaveOutlined$1;
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
var SaveOutlinedExports = /*@__PURE__*/ requireSaveOutlined();
|
|
3516
|
+
var SaveOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(SaveOutlinedExports);
|
|
3498
3517
|
|
|
3499
3518
|
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
3500
3519
|
const SaveOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$3({}, props, {
|
|
3501
3520
|
ref: ref,
|
|
3502
|
-
icon:
|
|
3521
|
+
icon: SaveOutlinedSvg
|
|
3503
3522
|
}));
|
|
3504
3523
|
|
|
3505
3524
|
/** */
|
|
@@ -3508,13 +3527,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3508
3527
|
RefIcon$3.displayName = 'SaveOutlined';
|
|
3509
3528
|
}
|
|
3510
3529
|
|
|
3511
|
-
|
|
3512
|
-
|
|
3530
|
+
var SearchOutlined$1 = {};
|
|
3531
|
+
|
|
3532
|
+
var hasRequiredSearchOutlined;
|
|
3533
|
+
|
|
3534
|
+
function requireSearchOutlined () {
|
|
3535
|
+
if (hasRequiredSearchOutlined) return SearchOutlined$1;
|
|
3536
|
+
hasRequiredSearchOutlined = 1;
|
|
3537
|
+
// This icon file is generated automatically.
|
|
3538
|
+
Object.defineProperty(SearchOutlined$1, "__esModule", { value: true });
|
|
3539
|
+
var SearchOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
|
|
3540
|
+
SearchOutlined$1.default = SearchOutlined;
|
|
3541
|
+
return SearchOutlined$1;
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
var SearchOutlinedExports = /*@__PURE__*/ requireSearchOutlined();
|
|
3545
|
+
var SearchOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(SearchOutlinedExports);
|
|
3513
3546
|
|
|
3514
3547
|
function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
|
|
3515
3548
|
const SearchOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$2({}, props, {
|
|
3516
3549
|
ref: ref,
|
|
3517
|
-
icon:
|
|
3550
|
+
icon: SearchOutlinedSvg
|
|
3518
3551
|
}));
|
|
3519
3552
|
|
|
3520
3553
|
/** */
|
|
@@ -3523,13 +3556,27 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3523
3556
|
RefIcon$2.displayName = 'SearchOutlined';
|
|
3524
3557
|
}
|
|
3525
3558
|
|
|
3526
|
-
|
|
3527
|
-
|
|
3559
|
+
var SyncOutlined$1 = {};
|
|
3560
|
+
|
|
3561
|
+
var hasRequiredSyncOutlined;
|
|
3562
|
+
|
|
3563
|
+
function requireSyncOutlined () {
|
|
3564
|
+
if (hasRequiredSyncOutlined) return SyncOutlined$1;
|
|
3565
|
+
hasRequiredSyncOutlined = 1;
|
|
3566
|
+
// This icon file is generated automatically.
|
|
3567
|
+
Object.defineProperty(SyncOutlined$1, "__esModule", { value: true });
|
|
3568
|
+
var SyncOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z" } }] }, "name": "sync", "theme": "outlined" };
|
|
3569
|
+
SyncOutlined$1.default = SyncOutlined;
|
|
3570
|
+
return SyncOutlined$1;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
var SyncOutlinedExports = /*@__PURE__*/ requireSyncOutlined();
|
|
3574
|
+
var SyncOutlinedSvg = /*@__PURE__*/getDefaultExportFromCjs(SyncOutlinedExports);
|
|
3528
3575
|
|
|
3529
3576
|
function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
|
|
3530
3577
|
const SyncOutlined = (props, ref) => /*#__PURE__*/React.createElement(Icon$1, _extends$1({}, props, {
|
|
3531
3578
|
ref: ref,
|
|
3532
|
-
icon:
|
|
3579
|
+
icon: SyncOutlinedSvg
|
|
3533
3580
|
}));
|
|
3534
3581
|
|
|
3535
3582
|
/** */
|
|
@@ -3808,8 +3855,6 @@ function requireReactIs () {
|
|
|
3808
3855
|
return reactIs.exports;
|
|
3809
3856
|
}
|
|
3810
3857
|
|
|
3811
|
-
var reactIsExports = requireReactIs();
|
|
3812
|
-
|
|
3813
3858
|
const ButtonGroupAddComponent = ({ formColLayout, disabled, loading, showTextbutton, textBack, textSave, onBack, onSave, classNames, className, }) => {
|
|
3814
3859
|
const saveMethod = onSave
|
|
3815
3860
|
? { onClick: onSave }
|
|
@@ -3942,7 +3987,15 @@ const CheckboxComponent = ({ noItem, loading, disabled, options, value, defaultV
|
|
|
3942
3987
|
value: () => valueCheckboxGroup,
|
|
3943
3988
|
setValue: setValueCheckboxGroup,
|
|
3944
3989
|
}));
|
|
3945
|
-
const checkbox = !loading ? (jsxRuntimeExports.jsx(Checkbox.Group, { disabled: disabled, onChange: handleChange,
|
|
3990
|
+
const checkbox = !loading ? (jsxRuntimeExports.jsx(Checkbox.Group, { disabled: disabled, onChange: handleChange,
|
|
3991
|
+
// options={options}
|
|
3992
|
+
value: value !== null && value !== void 0 ? value : valueCheckboxGroup, defaultValue: defaultValue, children: (options === null || options === void 0 ? void 0 : options.length) && (jsxRuntimeExports.jsx(Row, { gutter: [8, 8], children: options.map((option, index) => {
|
|
3993
|
+
const isObject = typeof option === 'object';
|
|
3994
|
+
const checkboxProps = isObject ? option : {
|
|
3995
|
+
value: option,
|
|
3996
|
+
};
|
|
3997
|
+
return (jsxRuntimeExports.jsx(Col, { span: 8, children: jsxRuntimeExports.jsx(Checkbox, Object.assign({}, checkboxProps, { children: isObject ? option.label : option })) }, `cb${index}`));
|
|
3998
|
+
}) })) })) : jsxRuntimeExports.jsx(Skeleton.Input, { active: true });
|
|
3946
3999
|
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: !noItem ? (jsxRuntimeExports.jsx(FormItemComponent$1, Object.assign({}, formColLayout, { name: name, label: label, classNames: formClassNames, required: required, ruleType: ruleType, ruleMessage: ruleMessage, rules: rules, validateStatus: validateStatus, help: help, shouldUpdate: shouldUpdate, children: checkbox })))
|
|
3947
4000
|
: checkbox }));
|
|
3948
4001
|
};
|
|
@@ -5512,319 +5565,69 @@ var formColLayout = {
|
|
|
5512
5565
|
xs: { span: 24 },
|
|
5513
5566
|
sm: { span: 16 },
|
|
5514
5567
|
md: { span: 14 },
|
|
5515
|
-
},
|
|
5516
|
-
},
|
|
5517
|
-
nolabel: {
|
|
5518
|
-
labelCol: {
|
|
5519
|
-
xs: { span: 0 },
|
|
5520
|
-
},
|
|
5521
|
-
wrapperCol: {
|
|
5522
|
-
xs: { span: 24 },
|
|
5523
|
-
},
|
|
5524
|
-
},
|
|
5525
|
-
notInline: {},
|
|
5526
|
-
};
|
|
5527
|
-
|
|
5528
|
-
const DatePickerComponent = ({ noItem, size, variant, placeholder, prefix, prefixCls, suffixIcon, picker, format, disabledDate, disabledTime, loading, readOnly, disabled, value, defaultValue, removeError, onChange, style, formColLayout, name, label, formClassNames, classNames = [], className, required, rules, ruleMessage, validateStatus, help, shouldUpdate, ref, }) => {
|
|
5529
|
-
const [valueDate, setValueDate] = useState(defaultValue !== null && defaultValue !== void 0 ? defaultValue : null);
|
|
5530
|
-
const handleChange = (date, dateString) => {
|
|
5531
|
-
setValueDate(date);
|
|
5532
|
-
removeError === null || removeError === void 0 ? void 0 : removeError(name);
|
|
5533
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(date, dateString);
|
|
5534
|
-
};
|
|
5535
|
-
useImperativeHandle(ref, () => ({
|
|
5536
|
-
value: () => valueDate,
|
|
5537
|
-
setValue: setValueDate,
|
|
5538
|
-
}));
|
|
5539
|
-
const classDate = useMemo$1(() => {
|
|
5540
|
-
const className = [styleCSS['w-100']];
|
|
5541
|
-
readOnly && className.push(styleDatePicker['readonly']);
|
|
5542
|
-
classNames && className.push(...classNames);
|
|
5543
|
-
return className;
|
|
5544
|
-
}, [readOnly]);
|
|
5545
|
-
const datePicker = !loading ? (jsxRuntimeExports.jsx(DatePicker, { className: classDate === null || classDate === void 0 ? void 0 : classDate.join(' '), classNames: className, size: size !== null && size !== void 0 ? size : 'middle', variant: variant, placeholder: placeholder, prefix: prefix, prefixCls: prefixCls === null || prefixCls === void 0 ? void 0 : prefixCls.join(' '), suffixIcon: suffixIcon, picker: picker, format: datePickerFormat[format !== null && format !== void 0 ? format : 'default'], allowClear: !required, inputReadOnly: readOnly, readOnly: readOnly, disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, disabledDate: disabledDate, disabledTime: disabledTime, value: value !== null && value !== void 0 ? value : valueDate, onChange: handleChange, style: style })) : jsxRuntimeExports.jsx(Skeleton.Input, { block: true, active: true });
|
|
5546
|
-
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: !noItem ? (jsxRuntimeExports.jsx(FormItemComponent$1, Object.assign({}, formColLayout, { name: name, label: label, classNames: formClassNames, required: required, ruleType: "date", ruleMessage: ruleMessage, rules: rules, validateStatus: validateStatus, help: help, shouldUpdate: shouldUpdate, children: datePicker })))
|
|
5547
|
-
: datePicker }));
|
|
5548
|
-
};
|
|
5549
|
-
var DatePickerComponent$1 = React__default.memo(DatePickerComponent);
|
|
5550
|
-
|
|
5551
|
-
const { RangePicker } = DatePicker;
|
|
5552
|
-
const DateRangePickerComponent = ({ noItem, size, variant, placeholder, prefix, prefixCls, suffixIcon, picker, format, disabledDate, disabledTime, loading, readOnly, disabled, value, defaultValue, removeError, onChange, style, formColLayout, name, label, formClassNames, classNames = [], className, required, rules, ruleMessage, validateStatus, help, shouldUpdate, ref, }) => {
|
|
5553
|
-
var _a;
|
|
5554
|
-
const [valueDateRange, setValueDateRange] = useState(defaultValue !== null && defaultValue !== void 0 ? defaultValue : null);
|
|
5555
|
-
const handleChange = (date, dateStrings) => {
|
|
5556
|
-
setValueDateRange(date);
|
|
5557
|
-
removeError === null || removeError === void 0 ? void 0 : removeError(name);
|
|
5558
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(date, dateStrings);
|
|
5559
|
-
};
|
|
5560
|
-
useImperativeHandle(ref, () => ({
|
|
5561
|
-
value: () => valueDateRange,
|
|
5562
|
-
setValue: setValueDateRange,
|
|
5563
|
-
}));
|
|
5564
|
-
const classDateRange = useMemo$1(() => {
|
|
5565
|
-
const className = [styleCSS['w-100']];
|
|
5566
|
-
readOnly && className.push(styleDatePicker['readonly']);
|
|
5567
|
-
classNames && className.push(...classNames);
|
|
5568
|
-
return className;
|
|
5569
|
-
}, [readOnly]);
|
|
5570
|
-
const datePicker = !loading ? (jsxRuntimeExports.jsx(RangePicker, { className: classDateRange.join(' '), classNames: className, size: size !== null && size !== void 0 ? size : 'middle', variant: variant, placeholder: placeholder, prefix: prefix, prefixCls: prefixCls === null || prefixCls === void 0 ? void 0 : prefixCls.join(' '), suffixIcon: suffixIcon, picker: picker, format: datePickerFormat[format !== null && format !== void 0 ? format : 'default'], allowEmpty: !required, allowClear: !required, inputReadOnly: readOnly, readOnly: readOnly, disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, disabledDate: disabledDate, disabledTime: disabledTime, value: (_a = value !== null && value !== void 0 ? value : valueDateRange) !== null && _a !== void 0 ? _a : null, onChange: handleChange, style: style })) : jsxRuntimeExports.jsx(Skeleton.Input, { block: true, active: true });
|
|
5571
|
-
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: !noItem ? (jsxRuntimeExports.jsx(FormItemComponent$1, Object.assign({}, formColLayout, { name: name, label: label, classNames: formClassNames, required: required, ruleType: "array", ruleMessage: ruleMessage, rules: rules, validateStatus: validateStatus, help: help, shouldUpdate: shouldUpdate, children: datePicker })))
|
|
5572
|
-
: datePicker }));
|
|
5573
|
-
};
|
|
5574
|
-
var DateRangePickerComponent$1 = React__default.memo(DateRangePickerComponent);
|
|
5575
|
-
|
|
5576
|
-
var dist = {};
|
|
5577
|
-
|
|
5578
|
-
var hasRequiredDist;
|
|
5579
|
-
|
|
5580
|
-
function requireDist () {
|
|
5581
|
-
if (hasRequiredDist) return dist;
|
|
5582
|
-
hasRequiredDist = 1;
|
|
5583
|
-
Object.defineProperty(dist, "__esModule", { value: true });
|
|
5584
|
-
dist.parse = parse;
|
|
5585
|
-
dist.serialize = serialize;
|
|
5586
|
-
/**
|
|
5587
|
-
* RegExp to match cookie-name in RFC 6265 sec 4.1.1
|
|
5588
|
-
* This refers out to the obsoleted definition of token in RFC 2616 sec 2.2
|
|
5589
|
-
* which has been replaced by the token definition in RFC 7230 appendix B.
|
|
5590
|
-
*
|
|
5591
|
-
* cookie-name = token
|
|
5592
|
-
* token = 1*tchar
|
|
5593
|
-
* tchar = "!" / "#" / "$" / "%" / "&" / "'" /
|
|
5594
|
-
* "*" / "+" / "-" / "." / "^" / "_" /
|
|
5595
|
-
* "`" / "|" / "~" / DIGIT / ALPHA
|
|
5596
|
-
*
|
|
5597
|
-
* Note: Allowing more characters - https://github.com/jshttp/cookie/issues/191
|
|
5598
|
-
* Allow same range as cookie value, except `=`, which delimits end of name.
|
|
5599
|
-
*/
|
|
5600
|
-
const cookieNameRegExp = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/;
|
|
5601
|
-
/**
|
|
5602
|
-
* RegExp to match cookie-value in RFC 6265 sec 4.1.1
|
|
5603
|
-
*
|
|
5604
|
-
* cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )
|
|
5605
|
-
* cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
|
|
5606
|
-
* ; US-ASCII characters excluding CTLs,
|
|
5607
|
-
* ; whitespace DQUOTE, comma, semicolon,
|
|
5608
|
-
* ; and backslash
|
|
5609
|
-
*
|
|
5610
|
-
* Allowing more characters: https://github.com/jshttp/cookie/issues/191
|
|
5611
|
-
* Comma, backslash, and DQUOTE are not part of the parsing algorithm.
|
|
5612
|
-
*/
|
|
5613
|
-
const cookieValueRegExp = /^[\u0021-\u003A\u003C-\u007E]*$/;
|
|
5614
|
-
/**
|
|
5615
|
-
* RegExp to match domain-value in RFC 6265 sec 4.1.1
|
|
5616
|
-
*
|
|
5617
|
-
* domain-value = <subdomain>
|
|
5618
|
-
* ; defined in [RFC1034], Section 3.5, as
|
|
5619
|
-
* ; enhanced by [RFC1123], Section 2.1
|
|
5620
|
-
* <subdomain> = <label> | <subdomain> "." <label>
|
|
5621
|
-
* <label> = <let-dig> [ [ <ldh-str> ] <let-dig> ]
|
|
5622
|
-
* Labels must be 63 characters or less.
|
|
5623
|
-
* 'let-dig' not 'letter' in the first char, per RFC1123
|
|
5624
|
-
* <ldh-str> = <let-dig-hyp> | <let-dig-hyp> <ldh-str>
|
|
5625
|
-
* <let-dig-hyp> = <let-dig> | "-"
|
|
5626
|
-
* <let-dig> = <letter> | <digit>
|
|
5627
|
-
* <letter> = any one of the 52 alphabetic characters A through Z in
|
|
5628
|
-
* upper case and a through z in lower case
|
|
5629
|
-
* <digit> = any one of the ten digits 0 through 9
|
|
5630
|
-
*
|
|
5631
|
-
* Keep support for leading dot: https://github.com/jshttp/cookie/issues/173
|
|
5632
|
-
*
|
|
5633
|
-
* > (Note that a leading %x2E ("."), if present, is ignored even though that
|
|
5634
|
-
* character is not permitted, but a trailing %x2E ("."), if present, will
|
|
5635
|
-
* cause the user agent to ignore the attribute.)
|
|
5636
|
-
*/
|
|
5637
|
-
const domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;
|
|
5638
|
-
/**
|
|
5639
|
-
* RegExp to match path-value in RFC 6265 sec 4.1.1
|
|
5640
|
-
*
|
|
5641
|
-
* path-value = <any CHAR except CTLs or ";">
|
|
5642
|
-
* CHAR = %x01-7F
|
|
5643
|
-
* ; defined in RFC 5234 appendix B.1
|
|
5644
|
-
*/
|
|
5645
|
-
const pathValueRegExp = /^[\u0020-\u003A\u003D-\u007E]*$/;
|
|
5646
|
-
const __toString = Object.prototype.toString;
|
|
5647
|
-
const NullObject = /* @__PURE__ */ (() => {
|
|
5648
|
-
const C = function () { };
|
|
5649
|
-
C.prototype = Object.create(null);
|
|
5650
|
-
return C;
|
|
5651
|
-
})();
|
|
5652
|
-
/**
|
|
5653
|
-
* Parse a cookie header.
|
|
5654
|
-
*
|
|
5655
|
-
* Parse the given cookie header string into an object
|
|
5656
|
-
* The object has the various cookies as keys(names) => values
|
|
5657
|
-
*/
|
|
5658
|
-
function parse(str, options) {
|
|
5659
|
-
const obj = new NullObject();
|
|
5660
|
-
const len = str.length;
|
|
5661
|
-
// RFC 6265 sec 4.1.1, RFC 2616 2.2 defines a cookie name consists of one char minimum, plus '='.
|
|
5662
|
-
if (len < 2)
|
|
5663
|
-
return obj;
|
|
5664
|
-
const dec = options?.decode || decode;
|
|
5665
|
-
let index = 0;
|
|
5666
|
-
do {
|
|
5667
|
-
const eqIdx = str.indexOf("=", index);
|
|
5668
|
-
if (eqIdx === -1)
|
|
5669
|
-
break; // No more cookie pairs.
|
|
5670
|
-
const colonIdx = str.indexOf(";", index);
|
|
5671
|
-
const endIdx = colonIdx === -1 ? len : colonIdx;
|
|
5672
|
-
if (eqIdx > endIdx) {
|
|
5673
|
-
// backtrack on prior semicolon
|
|
5674
|
-
index = str.lastIndexOf(";", eqIdx - 1) + 1;
|
|
5675
|
-
continue;
|
|
5676
|
-
}
|
|
5677
|
-
const keyStartIdx = startIndex(str, index, eqIdx);
|
|
5678
|
-
const keyEndIdx = endIndex(str, eqIdx, keyStartIdx);
|
|
5679
|
-
const key = str.slice(keyStartIdx, keyEndIdx);
|
|
5680
|
-
// only assign once
|
|
5681
|
-
if (obj[key] === undefined) {
|
|
5682
|
-
let valStartIdx = startIndex(str, eqIdx + 1, endIdx);
|
|
5683
|
-
let valEndIdx = endIndex(str, endIdx, valStartIdx);
|
|
5684
|
-
const value = dec(str.slice(valStartIdx, valEndIdx));
|
|
5685
|
-
obj[key] = value;
|
|
5686
|
-
}
|
|
5687
|
-
index = endIdx + 1;
|
|
5688
|
-
} while (index < len);
|
|
5689
|
-
return obj;
|
|
5690
|
-
}
|
|
5691
|
-
function startIndex(str, index, max) {
|
|
5692
|
-
do {
|
|
5693
|
-
const code = str.charCodeAt(index);
|
|
5694
|
-
if (code !== 0x20 /* */ && code !== 0x09 /* \t */)
|
|
5695
|
-
return index;
|
|
5696
|
-
} while (++index < max);
|
|
5697
|
-
return max;
|
|
5698
|
-
}
|
|
5699
|
-
function endIndex(str, index, min) {
|
|
5700
|
-
while (index > min) {
|
|
5701
|
-
const code = str.charCodeAt(--index);
|
|
5702
|
-
if (code !== 0x20 /* */ && code !== 0x09 /* \t */)
|
|
5703
|
-
return index + 1;
|
|
5704
|
-
}
|
|
5705
|
-
return min;
|
|
5706
|
-
}
|
|
5707
|
-
/**
|
|
5708
|
-
* Serialize data into a cookie header.
|
|
5709
|
-
*
|
|
5710
|
-
* Serialize a name value pair into a cookie string suitable for
|
|
5711
|
-
* http headers. An optional options object specifies cookie parameters.
|
|
5712
|
-
*
|
|
5713
|
-
* serialize('foo', 'bar', { httpOnly: true })
|
|
5714
|
-
* => "foo=bar; httpOnly"
|
|
5715
|
-
*/
|
|
5716
|
-
function serialize(name, val, options) {
|
|
5717
|
-
const enc = options?.encode || encodeURIComponent;
|
|
5718
|
-
if (!cookieNameRegExp.test(name)) {
|
|
5719
|
-
throw new TypeError(`argument name is invalid: ${name}`);
|
|
5720
|
-
}
|
|
5721
|
-
const value = enc(val);
|
|
5722
|
-
if (!cookieValueRegExp.test(value)) {
|
|
5723
|
-
throw new TypeError(`argument val is invalid: ${val}`);
|
|
5724
|
-
}
|
|
5725
|
-
let str = name + "=" + value;
|
|
5726
|
-
if (!options)
|
|
5727
|
-
return str;
|
|
5728
|
-
if (options.maxAge !== undefined) {
|
|
5729
|
-
if (!Number.isInteger(options.maxAge)) {
|
|
5730
|
-
throw new TypeError(`option maxAge is invalid: ${options.maxAge}`);
|
|
5731
|
-
}
|
|
5732
|
-
str += "; Max-Age=" + options.maxAge;
|
|
5733
|
-
}
|
|
5734
|
-
if (options.domain) {
|
|
5735
|
-
if (!domainValueRegExp.test(options.domain)) {
|
|
5736
|
-
throw new TypeError(`option domain is invalid: ${options.domain}`);
|
|
5737
|
-
}
|
|
5738
|
-
str += "; Domain=" + options.domain;
|
|
5739
|
-
}
|
|
5740
|
-
if (options.path) {
|
|
5741
|
-
if (!pathValueRegExp.test(options.path)) {
|
|
5742
|
-
throw new TypeError(`option path is invalid: ${options.path}`);
|
|
5743
|
-
}
|
|
5744
|
-
str += "; Path=" + options.path;
|
|
5745
|
-
}
|
|
5746
|
-
if (options.expires) {
|
|
5747
|
-
if (!isDate(options.expires) ||
|
|
5748
|
-
!Number.isFinite(options.expires.valueOf())) {
|
|
5749
|
-
throw new TypeError(`option expires is invalid: ${options.expires}`);
|
|
5750
|
-
}
|
|
5751
|
-
str += "; Expires=" + options.expires.toUTCString();
|
|
5752
|
-
}
|
|
5753
|
-
if (options.httpOnly) {
|
|
5754
|
-
str += "; HttpOnly";
|
|
5755
|
-
}
|
|
5756
|
-
if (options.secure) {
|
|
5757
|
-
str += "; Secure";
|
|
5758
|
-
}
|
|
5759
|
-
if (options.partitioned) {
|
|
5760
|
-
str += "; Partitioned";
|
|
5761
|
-
}
|
|
5762
|
-
if (options.priority) {
|
|
5763
|
-
const priority = typeof options.priority === "string"
|
|
5764
|
-
? options.priority.toLowerCase()
|
|
5765
|
-
: undefined;
|
|
5766
|
-
switch (priority) {
|
|
5767
|
-
case "low":
|
|
5768
|
-
str += "; Priority=Low";
|
|
5769
|
-
break;
|
|
5770
|
-
case "medium":
|
|
5771
|
-
str += "; Priority=Medium";
|
|
5772
|
-
break;
|
|
5773
|
-
case "high":
|
|
5774
|
-
str += "; Priority=High";
|
|
5775
|
-
break;
|
|
5776
|
-
default:
|
|
5777
|
-
throw new TypeError(`option priority is invalid: ${options.priority}`);
|
|
5778
|
-
}
|
|
5779
|
-
}
|
|
5780
|
-
if (options.sameSite) {
|
|
5781
|
-
const sameSite = typeof options.sameSite === "string"
|
|
5782
|
-
? options.sameSite.toLowerCase()
|
|
5783
|
-
: options.sameSite;
|
|
5784
|
-
switch (sameSite) {
|
|
5785
|
-
case true:
|
|
5786
|
-
case "strict":
|
|
5787
|
-
str += "; SameSite=Strict";
|
|
5788
|
-
break;
|
|
5789
|
-
case "lax":
|
|
5790
|
-
str += "; SameSite=Lax";
|
|
5791
|
-
break;
|
|
5792
|
-
case "none":
|
|
5793
|
-
str += "; SameSite=None";
|
|
5794
|
-
break;
|
|
5795
|
-
default:
|
|
5796
|
-
throw new TypeError(`option sameSite is invalid: ${options.sameSite}`);
|
|
5797
|
-
}
|
|
5798
|
-
}
|
|
5799
|
-
return str;
|
|
5800
|
-
}
|
|
5801
|
-
/**
|
|
5802
|
-
* URL-decode string value. Optimized to skip native call when no %.
|
|
5803
|
-
*/
|
|
5804
|
-
function decode(str) {
|
|
5805
|
-
if (str.indexOf("%") === -1)
|
|
5806
|
-
return str;
|
|
5807
|
-
try {
|
|
5808
|
-
return decodeURIComponent(str);
|
|
5809
|
-
}
|
|
5810
|
-
catch (e) {
|
|
5811
|
-
return str;
|
|
5812
|
-
}
|
|
5813
|
-
}
|
|
5814
|
-
/**
|
|
5815
|
-
* Determine if value is a Date.
|
|
5816
|
-
*/
|
|
5817
|
-
function isDate(val) {
|
|
5818
|
-
return __toString.call(val) === "[object Date]";
|
|
5819
|
-
}
|
|
5820
|
-
|
|
5821
|
-
return dist;
|
|
5822
|
-
}
|
|
5568
|
+
},
|
|
5569
|
+
},
|
|
5570
|
+
nolabel: {
|
|
5571
|
+
labelCol: {
|
|
5572
|
+
xs: { span: 0 },
|
|
5573
|
+
},
|
|
5574
|
+
wrapperCol: {
|
|
5575
|
+
xs: { span: 24 },
|
|
5576
|
+
},
|
|
5577
|
+
},
|
|
5578
|
+
notInline: {},
|
|
5579
|
+
};
|
|
5580
|
+
|
|
5581
|
+
const DatePickerComponent = ({ noItem, size, variant, placeholder, prefix, prefixCls, suffixIcon, picker, format, disabledDate, disabledTime, loading, readOnly, disabled, value, defaultValue, removeError, onChange, style, formColLayout, name, label, formClassNames, classNames = [], className, required, rules, ruleMessage, validateStatus, help, shouldUpdate, ref, }) => {
|
|
5582
|
+
const [valueDate, setValueDate] = useState(defaultValue !== null && defaultValue !== void 0 ? defaultValue : null);
|
|
5583
|
+
const handleChange = (date, dateString) => {
|
|
5584
|
+
setValueDate(date);
|
|
5585
|
+
removeError === null || removeError === void 0 ? void 0 : removeError(name);
|
|
5586
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(date, dateString);
|
|
5587
|
+
};
|
|
5588
|
+
useImperativeHandle(ref, () => ({
|
|
5589
|
+
value: () => valueDate,
|
|
5590
|
+
setValue: setValueDate,
|
|
5591
|
+
}));
|
|
5592
|
+
const classDate = useMemo$1(() => {
|
|
5593
|
+
const className = [styleCSS['w-100']];
|
|
5594
|
+
readOnly && className.push(styleDatePicker['readonly']);
|
|
5595
|
+
classNames && className.push(...classNames);
|
|
5596
|
+
return className;
|
|
5597
|
+
}, [readOnly]);
|
|
5598
|
+
const datePicker = !loading ? (jsxRuntimeExports.jsx(DatePicker, { className: classDate === null || classDate === void 0 ? void 0 : classDate.join(' '), classNames: className, size: size !== null && size !== void 0 ? size : 'middle', variant: variant, placeholder: placeholder, prefix: prefix, prefixCls: prefixCls === null || prefixCls === void 0 ? void 0 : prefixCls.join(' '), suffixIcon: suffixIcon, picker: picker, format: datePickerFormat[format !== null && format !== void 0 ? format : 'default'], allowClear: !required, inputReadOnly: readOnly, readOnly: readOnly, disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, disabledDate: disabledDate, disabledTime: disabledTime, value: value !== null && value !== void 0 ? value : valueDate, onChange: handleChange, style: style })) : jsxRuntimeExports.jsx(Skeleton.Input, { block: true, active: true });
|
|
5599
|
+
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: !noItem ? (jsxRuntimeExports.jsx(FormItemComponent$1, Object.assign({}, formColLayout, { name: name, label: label, classNames: formClassNames, required: required, ruleType: "date", ruleMessage: ruleMessage, rules: rules, validateStatus: validateStatus, help: help, shouldUpdate: shouldUpdate, children: datePicker })))
|
|
5600
|
+
: datePicker }));
|
|
5601
|
+
};
|
|
5602
|
+
var DatePickerComponent$1 = React__default.memo(DatePickerComponent);
|
|
5823
5603
|
|
|
5824
|
-
|
|
5604
|
+
const { RangePicker } = DatePicker;
|
|
5605
|
+
const DateRangePickerComponent = ({ noItem, size, variant, placeholder, prefix, prefixCls, suffixIcon, picker, format, disabledDate, disabledTime, loading, readOnly, disabled, value, defaultValue, removeError, onChange, style, formColLayout, name, label, formClassNames, classNames = [], className, required, rules, ruleMessage, validateStatus, help, shouldUpdate, ref, }) => {
|
|
5606
|
+
var _a;
|
|
5607
|
+
const [valueDateRange, setValueDateRange] = useState(defaultValue !== null && defaultValue !== void 0 ? defaultValue : null);
|
|
5608
|
+
const handleChange = (date, dateStrings) => {
|
|
5609
|
+
setValueDateRange(date);
|
|
5610
|
+
removeError === null || removeError === void 0 ? void 0 : removeError(name);
|
|
5611
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(date, dateStrings);
|
|
5612
|
+
};
|
|
5613
|
+
useImperativeHandle(ref, () => ({
|
|
5614
|
+
value: () => valueDateRange,
|
|
5615
|
+
setValue: setValueDateRange,
|
|
5616
|
+
}));
|
|
5617
|
+
const classDateRange = useMemo$1(() => {
|
|
5618
|
+
const className = [styleCSS['w-100']];
|
|
5619
|
+
readOnly && className.push(styleDatePicker['readonly']);
|
|
5620
|
+
classNames && className.push(...classNames);
|
|
5621
|
+
return className;
|
|
5622
|
+
}, [readOnly]);
|
|
5623
|
+
const datePicker = !loading ? (jsxRuntimeExports.jsx(RangePicker, { className: classDateRange.join(' '), classNames: className, size: size !== null && size !== void 0 ? size : 'middle', variant: variant, placeholder: placeholder, prefix: prefix, prefixCls: prefixCls === null || prefixCls === void 0 ? void 0 : prefixCls.join(' '), suffixIcon: suffixIcon, picker: picker, format: datePickerFormat[format !== null && format !== void 0 ? format : 'default'], allowEmpty: !required, allowClear: !required, inputReadOnly: readOnly, readOnly: readOnly, disabled: disabled !== null && disabled !== void 0 ? disabled : readOnly, disabledDate: disabledDate, disabledTime: disabledTime, value: (_a = value !== null && value !== void 0 ? value : valueDateRange) !== null && _a !== void 0 ? _a : null, onChange: handleChange, style: style })) : jsxRuntimeExports.jsx(Skeleton.Input, { block: true, active: true });
|
|
5624
|
+
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: !noItem ? (jsxRuntimeExports.jsx(FormItemComponent$1, Object.assign({}, formColLayout, { name: name, label: label, classNames: formClassNames, required: required, ruleType: "array", ruleMessage: ruleMessage, rules: rules, validateStatus: validateStatus, help: help, shouldUpdate: shouldUpdate, children: datePicker })))
|
|
5625
|
+
: datePicker }));
|
|
5626
|
+
};
|
|
5627
|
+
var DateRangePickerComponent$1 = React__default.memo(DateRangePickerComponent);
|
|
5825
5628
|
|
|
5826
5629
|
/**
|
|
5827
|
-
* react-router v7.
|
|
5630
|
+
* react-router v7.9.3
|
|
5828
5631
|
*
|
|
5829
5632
|
* Copyright (c) Remix Software Inc.
|
|
5830
5633
|
*
|
|
@@ -5838,7 +5641,7 @@ function invariant(value, message) {
|
|
|
5838
5641
|
throw new Error(message);
|
|
5839
5642
|
}
|
|
5840
5643
|
}
|
|
5841
|
-
function warning$
|
|
5644
|
+
function warning$4(cond, message) {
|
|
5842
5645
|
if (!cond) {
|
|
5843
5646
|
if (typeof console !== "undefined") console.warn(message);
|
|
5844
5647
|
try {
|
|
@@ -5899,8 +5702,8 @@ function matchRoutesImpl(routes, locationArg, basename, allowPartial) {
|
|
|
5899
5702
|
}
|
|
5900
5703
|
return matches;
|
|
5901
5704
|
}
|
|
5902
|
-
function flattenRoutes(routes, branches = [], parentsMeta = [], parentPath = "") {
|
|
5903
|
-
let flattenRoute = (route, index, relativePath) => {
|
|
5705
|
+
function flattenRoutes(routes, branches = [], parentsMeta = [], parentPath = "", _hasParentOptionalSegments = false) {
|
|
5706
|
+
let flattenRoute = (route, index, hasParentOptionalSegments = _hasParentOptionalSegments, relativePath) => {
|
|
5904
5707
|
let meta = {
|
|
5905
5708
|
relativePath: relativePath === void 0 ? route.path || "" : relativePath,
|
|
5906
5709
|
caseSensitive: route.caseSensitive === true,
|
|
@@ -5908,6 +5711,9 @@ function flattenRoutes(routes, branches = [], parentsMeta = [], parentPath = "")
|
|
|
5908
5711
|
route
|
|
5909
5712
|
};
|
|
5910
5713
|
if (meta.relativePath.startsWith("/")) {
|
|
5714
|
+
if (!meta.relativePath.startsWith(parentPath) && hasParentOptionalSegments) {
|
|
5715
|
+
return;
|
|
5716
|
+
}
|
|
5911
5717
|
invariant(
|
|
5912
5718
|
meta.relativePath.startsWith(parentPath),
|
|
5913
5719
|
`Absolute route path "${meta.relativePath}" nested under path "${parentPath}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
|
|
@@ -5923,7 +5729,13 @@ function flattenRoutes(routes, branches = [], parentsMeta = [], parentPath = "")
|
|
|
5923
5729
|
route.index !== true,
|
|
5924
5730
|
`Index routes must not have child routes. Please remove all child routes from route path "${path}".`
|
|
5925
5731
|
);
|
|
5926
|
-
flattenRoutes(
|
|
5732
|
+
flattenRoutes(
|
|
5733
|
+
route.children,
|
|
5734
|
+
branches,
|
|
5735
|
+
routesMeta,
|
|
5736
|
+
path,
|
|
5737
|
+
hasParentOptionalSegments
|
|
5738
|
+
);
|
|
5927
5739
|
}
|
|
5928
5740
|
if (route.path == null && !route.index) {
|
|
5929
5741
|
return;
|
|
@@ -5939,7 +5751,7 @@ function flattenRoutes(routes, branches = [], parentsMeta = [], parentPath = "")
|
|
|
5939
5751
|
flattenRoute(route, index);
|
|
5940
5752
|
} else {
|
|
5941
5753
|
for (let exploded of explodeOptionalSegments(route.path)) {
|
|
5942
|
-
flattenRoute(route, index, exploded);
|
|
5754
|
+
flattenRoute(route, index, true, exploded);
|
|
5943
5755
|
}
|
|
5944
5756
|
}
|
|
5945
5757
|
});
|
|
@@ -6092,7 +5904,7 @@ function matchPath(pattern, pathname) {
|
|
|
6092
5904
|
};
|
|
6093
5905
|
}
|
|
6094
5906
|
function compilePath(path, caseSensitive = false, end = true) {
|
|
6095
|
-
warning$
|
|
5907
|
+
warning$4(
|
|
6096
5908
|
path === "*" || !path.endsWith("*") || path.endsWith("/*"),
|
|
6097
5909
|
`Route path "${path}" will be treated as if it were "${path.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${path.replace(/\*$/, "/*")}".`
|
|
6098
5910
|
);
|
|
@@ -6103,7 +5915,7 @@ function compilePath(path, caseSensitive = false, end = true) {
|
|
|
6103
5915
|
params.push({ paramName, isOptional: isOptional != null });
|
|
6104
5916
|
return isOptional ? "/?([^\\/]+)?" : "/([^\\/]+)";
|
|
6105
5917
|
}
|
|
6106
|
-
);
|
|
5918
|
+
).replace(/\/([\w-]+)\?(\/|$)/g, "(/$1)?$2");
|
|
6107
5919
|
if (path.endsWith("*")) {
|
|
6108
5920
|
params.push({ paramName: "*" });
|
|
6109
5921
|
regexpSource += path === "*" || path === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$";
|
|
@@ -6119,7 +5931,7 @@ function decodePath(value) {
|
|
|
6119
5931
|
try {
|
|
6120
5932
|
return value.split("/").map((v) => decodeURIComponent(v).replace(/\//g, "%2F")).join("/");
|
|
6121
5933
|
} catch (error) {
|
|
6122
|
-
warning$
|
|
5934
|
+
warning$4(
|
|
6123
5935
|
false,
|
|
6124
5936
|
`The URL path "${value}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${error}).`
|
|
6125
5937
|
);
|
|
@@ -6250,6 +6062,7 @@ var DataRouterContext = React.createContext(null);
|
|
|
6250
6062
|
DataRouterContext.displayName = "DataRouter";
|
|
6251
6063
|
var DataRouterStateContext = React.createContext(null);
|
|
6252
6064
|
DataRouterStateContext.displayName = "DataRouterState";
|
|
6065
|
+
React.createContext(false);
|
|
6253
6066
|
var ViewTransitionContext = React.createContext({
|
|
6254
6067
|
isTransitioning: false
|
|
6255
6068
|
});
|
|
@@ -6283,13 +6096,13 @@ function useHref(to, { relative } = {}) {
|
|
|
6283
6096
|
// router loaded. We can help them understand how to avoid that.
|
|
6284
6097
|
`useHref() may be used only in the context of a <Router> component.`
|
|
6285
6098
|
);
|
|
6286
|
-
let { basename, navigator
|
|
6099
|
+
let { basename, navigator } = React.useContext(NavigationContext);
|
|
6287
6100
|
let { hash, pathname, search } = useResolvedPath(to, { relative });
|
|
6288
6101
|
let joinedPathname = pathname;
|
|
6289
6102
|
if (basename !== "/") {
|
|
6290
6103
|
joinedPathname = pathname === "/" ? basename : joinPaths([basename, pathname]);
|
|
6291
6104
|
}
|
|
6292
|
-
return
|
|
6105
|
+
return navigator.createHref({ pathname: joinedPathname, search, hash });
|
|
6293
6106
|
}
|
|
6294
6107
|
function useInRouterContext() {
|
|
6295
6108
|
return React.useContext(LocationContext) != null;
|
|
@@ -6322,7 +6135,7 @@ function useNavigateUnstable() {
|
|
|
6322
6135
|
`useNavigate() may be used only in the context of a <Router> component.`
|
|
6323
6136
|
);
|
|
6324
6137
|
let dataRouterContext = React.useContext(DataRouterContext);
|
|
6325
|
-
let { basename, navigator
|
|
6138
|
+
let { basename, navigator } = React.useContext(NavigationContext);
|
|
6326
6139
|
let { matches } = React.useContext(RouteContext);
|
|
6327
6140
|
let { pathname: locationPathname } = useLocation();
|
|
6328
6141
|
let routePathnamesJson = JSON.stringify(getResolveToMatches(matches));
|
|
@@ -6332,10 +6145,10 @@ function useNavigateUnstable() {
|
|
|
6332
6145
|
});
|
|
6333
6146
|
let navigate = React.useCallback(
|
|
6334
6147
|
(to, options = {}) => {
|
|
6335
|
-
warning$
|
|
6148
|
+
warning$4(activeRef.current, navigateEffectWarning);
|
|
6336
6149
|
if (!activeRef.current) return;
|
|
6337
6150
|
if (typeof to === "number") {
|
|
6338
|
-
|
|
6151
|
+
navigator.go(to);
|
|
6339
6152
|
return;
|
|
6340
6153
|
}
|
|
6341
6154
|
let path = resolveTo(
|
|
@@ -6347,7 +6160,7 @@ function useNavigateUnstable() {
|
|
|
6347
6160
|
if (dataRouterContext == null && basename !== "/") {
|
|
6348
6161
|
path.pathname = path.pathname === "/" ? basename : joinPaths([basename, path.pathname]);
|
|
6349
6162
|
}
|
|
6350
|
-
(!!options.replace ?
|
|
6163
|
+
(!!options.replace ? navigator.replace : navigator.push)(
|
|
6351
6164
|
path,
|
|
6352
6165
|
options.state,
|
|
6353
6166
|
options
|
|
@@ -6355,7 +6168,7 @@ function useNavigateUnstable() {
|
|
|
6355
6168
|
},
|
|
6356
6169
|
[
|
|
6357
6170
|
basename,
|
|
6358
|
-
|
|
6171
|
+
navigator,
|
|
6359
6172
|
routePathnamesJson,
|
|
6360
6173
|
locationPathname,
|
|
6361
6174
|
dataRouterContext
|
|
@@ -6378,14 +6191,14 @@ function useResolvedPath(to, { relative } = {}) {
|
|
|
6378
6191
|
[to, routePathnamesJson, locationPathname, relative]
|
|
6379
6192
|
);
|
|
6380
6193
|
}
|
|
6381
|
-
function useRoutesImpl(routes, locationArg, dataRouterState, future) {
|
|
6194
|
+
function useRoutesImpl(routes, locationArg, dataRouterState, unstable_onError, future) {
|
|
6382
6195
|
invariant(
|
|
6383
6196
|
useInRouterContext(),
|
|
6384
6197
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
6385
6198
|
// router loaded. We can help them understand how to avoid that.
|
|
6386
6199
|
`useRoutes() may be used only in the context of a <Router> component.`
|
|
6387
6200
|
);
|
|
6388
|
-
let { navigator
|
|
6201
|
+
let { navigator } = React.useContext(NavigationContext);
|
|
6389
6202
|
let { matches: parentMatches } = React.useContext(RouteContext);
|
|
6390
6203
|
let routeMatch = parentMatches[parentMatches.length - 1];
|
|
6391
6204
|
let parentParams = routeMatch ? routeMatch.params : {};
|
|
@@ -6414,13 +6227,13 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
|
|
|
6414
6227
|
let segments = pathname.replace(/^\//, "").split("/");
|
|
6415
6228
|
remainingPathname = "/" + segments.slice(parentSegments.length).join("/");
|
|
6416
6229
|
}
|
|
6417
|
-
let matches =
|
|
6230
|
+
let matches = matchRoutes(routes, { pathname: remainingPathname });
|
|
6418
6231
|
{
|
|
6419
|
-
warning$
|
|
6232
|
+
warning$4(
|
|
6420
6233
|
parentRoute || matches != null,
|
|
6421
6234
|
`No routes matched location "${location.pathname}${location.search}${location.hash}" `
|
|
6422
6235
|
);
|
|
6423
|
-
warning$
|
|
6236
|
+
warning$4(
|
|
6424
6237
|
matches == null || matches[matches.length - 1].route.element !== void 0 || matches[matches.length - 1].route.Component !== void 0 || matches[matches.length - 1].route.lazy !== void 0,
|
|
6425
6238
|
`Matched leaf route at location "${location.pathname}${location.search}${location.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
|
|
6426
6239
|
);
|
|
@@ -6431,18 +6244,29 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
|
|
|
6431
6244
|
params: Object.assign({}, parentParams, match.params),
|
|
6432
6245
|
pathname: joinPaths([
|
|
6433
6246
|
parentPathnameBase,
|
|
6434
|
-
// Re-encode pathnames that were decoded inside matchRoutes
|
|
6435
|
-
|
|
6247
|
+
// Re-encode pathnames that were decoded inside matchRoutes.
|
|
6248
|
+
// Pre-encode `?` and `#` ahead of `encodeLocation` because it uses
|
|
6249
|
+
// `new URL()` internally and we need to prevent it from treating
|
|
6250
|
+
// them as separators
|
|
6251
|
+
navigator.encodeLocation ? navigator.encodeLocation(
|
|
6252
|
+
match.pathname.replace(/\?/g, "%3F").replace(/#/g, "%23")
|
|
6253
|
+
).pathname : match.pathname
|
|
6436
6254
|
]),
|
|
6437
6255
|
pathnameBase: match.pathnameBase === "/" ? parentPathnameBase : joinPaths([
|
|
6438
6256
|
parentPathnameBase,
|
|
6439
6257
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
6440
|
-
|
|
6258
|
+
// Pre-encode `?` and `#` ahead of `encodeLocation` because it uses
|
|
6259
|
+
// `new URL()` internally and we need to prevent it from treating
|
|
6260
|
+
// them as separators
|
|
6261
|
+
navigator.encodeLocation ? navigator.encodeLocation(
|
|
6262
|
+
match.pathnameBase.replace(/\?/g, "%3F").replace(/#/g, "%23")
|
|
6263
|
+
).pathname : match.pathnameBase
|
|
6441
6264
|
])
|
|
6442
6265
|
})
|
|
6443
6266
|
),
|
|
6444
6267
|
parentMatches,
|
|
6445
6268
|
dataRouterState,
|
|
6269
|
+
unstable_onError,
|
|
6446
6270
|
future
|
|
6447
6271
|
);
|
|
6448
6272
|
return renderedMatches;
|
|
@@ -6492,11 +6316,14 @@ var RenderErrorBoundary = class extends React.Component {
|
|
|
6492
6316
|
};
|
|
6493
6317
|
}
|
|
6494
6318
|
componentDidCatch(error, errorInfo) {
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6319
|
+
if (this.props.unstable_onError) {
|
|
6320
|
+
this.props.unstable_onError(error, errorInfo);
|
|
6321
|
+
} else {
|
|
6322
|
+
console.error(
|
|
6323
|
+
"React Router caught the following error during render",
|
|
6324
|
+
error
|
|
6325
|
+
);
|
|
6326
|
+
}
|
|
6500
6327
|
}
|
|
6501
6328
|
render() {
|
|
6502
6329
|
return this.state.error !== void 0 ? /* @__PURE__ */ React.createElement(RouteContext.Provider, { value: this.props.routeContext }, /* @__PURE__ */ React.createElement(
|
|
@@ -6515,7 +6342,7 @@ function RenderedRoute({ routeContext, match, children }) {
|
|
|
6515
6342
|
}
|
|
6516
6343
|
return /* @__PURE__ */ React.createElement(RouteContext.Provider, { value: routeContext }, children);
|
|
6517
6344
|
}
|
|
6518
|
-
function _renderMatches(matches, parentMatches = [], dataRouterState = null, future = null) {
|
|
6345
|
+
function _renderMatches(matches, parentMatches = [], dataRouterState = null, unstable_onError = null, future = null) {
|
|
6519
6346
|
if (matches == null) {
|
|
6520
6347
|
if (!dataRouterState) {
|
|
6521
6348
|
return null;
|
|
@@ -6568,68 +6395,72 @@ function _renderMatches(matches, parentMatches = [], dataRouterState = null, fut
|
|
|
6568
6395
|
}
|
|
6569
6396
|
}
|
|
6570
6397
|
}
|
|
6571
|
-
return renderedMatches.reduceRight(
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
if (
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6398
|
+
return renderedMatches.reduceRight(
|
|
6399
|
+
(outlet, match, index) => {
|
|
6400
|
+
let error;
|
|
6401
|
+
let shouldRenderHydrateFallback = false;
|
|
6402
|
+
let errorElement = null;
|
|
6403
|
+
let hydrateFallbackElement = null;
|
|
6404
|
+
if (dataRouterState) {
|
|
6405
|
+
error = errors && match.route.id ? errors[match.route.id] : void 0;
|
|
6406
|
+
errorElement = match.route.errorElement || defaultErrorElement;
|
|
6407
|
+
if (renderFallback) {
|
|
6408
|
+
if (fallbackIndex < 0 && index === 0) {
|
|
6409
|
+
warningOnce$1(
|
|
6410
|
+
"route-fallback",
|
|
6411
|
+
false,
|
|
6412
|
+
"No `HydrateFallback` element provided to render during initial hydration"
|
|
6413
|
+
);
|
|
6414
|
+
shouldRenderHydrateFallback = true;
|
|
6415
|
+
hydrateFallbackElement = null;
|
|
6416
|
+
} else if (fallbackIndex === index) {
|
|
6417
|
+
shouldRenderHydrateFallback = true;
|
|
6418
|
+
hydrateFallbackElement = match.route.hydrateFallbackElement || null;
|
|
6419
|
+
}
|
|
6591
6420
|
}
|
|
6592
6421
|
}
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6422
|
+
let matches2 = parentMatches.concat(renderedMatches.slice(0, index + 1));
|
|
6423
|
+
let getChildren = () => {
|
|
6424
|
+
let children;
|
|
6425
|
+
if (error) {
|
|
6426
|
+
children = errorElement;
|
|
6427
|
+
} else if (shouldRenderHydrateFallback) {
|
|
6428
|
+
children = hydrateFallbackElement;
|
|
6429
|
+
} else if (match.route.Component) {
|
|
6430
|
+
children = /* @__PURE__ */ React.createElement(match.route.Component, null);
|
|
6431
|
+
} else if (match.route.element) {
|
|
6432
|
+
children = match.route.element;
|
|
6433
|
+
} else {
|
|
6434
|
+
children = outlet;
|
|
6435
|
+
}
|
|
6436
|
+
return /* @__PURE__ */ React.createElement(
|
|
6437
|
+
RenderedRoute,
|
|
6438
|
+
{
|
|
6439
|
+
match,
|
|
6440
|
+
routeContext: {
|
|
6441
|
+
outlet,
|
|
6442
|
+
matches: matches2,
|
|
6443
|
+
isDataRoute: dataRouterState != null
|
|
6444
|
+
},
|
|
6445
|
+
children
|
|
6446
|
+
}
|
|
6447
|
+
);
|
|
6448
|
+
};
|
|
6449
|
+
return dataRouterState && (match.route.ErrorBoundary || match.route.errorElement || index === 0) ? /* @__PURE__ */ React.createElement(
|
|
6450
|
+
RenderErrorBoundary,
|
|
6610
6451
|
{
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
},
|
|
6617
|
-
|
|
6452
|
+
location: dataRouterState.location,
|
|
6453
|
+
revalidation: dataRouterState.revalidation,
|
|
6454
|
+
component: errorElement,
|
|
6455
|
+
error,
|
|
6456
|
+
children: getChildren(),
|
|
6457
|
+
routeContext: { outlet: null, matches: matches2, isDataRoute: true },
|
|
6458
|
+
unstable_onError
|
|
6618
6459
|
}
|
|
6619
|
-
);
|
|
6620
|
-
}
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
{
|
|
6624
|
-
location: dataRouterState.location,
|
|
6625
|
-
revalidation: dataRouterState.revalidation,
|
|
6626
|
-
component: errorElement,
|
|
6627
|
-
error,
|
|
6628
|
-
children: getChildren(),
|
|
6629
|
-
routeContext: { outlet: null, matches: matches2, isDataRoute: true }
|
|
6630
|
-
}
|
|
6631
|
-
) : getChildren();
|
|
6632
|
-
}, null);
|
|
6460
|
+
) : getChildren();
|
|
6461
|
+
},
|
|
6462
|
+
null
|
|
6463
|
+
);
|
|
6633
6464
|
}
|
|
6634
6465
|
function getDataRouterConsoleError(hookName) {
|
|
6635
6466
|
return `${hookName} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
|
|
@@ -6679,7 +6510,7 @@ function useNavigateStable() {
|
|
|
6679
6510
|
});
|
|
6680
6511
|
let navigate = React.useCallback(
|
|
6681
6512
|
async (to, options = {}) => {
|
|
6682
|
-
warning$
|
|
6513
|
+
warning$4(activeRef.current, navigateEffectWarning);
|
|
6683
6514
|
if (!activeRef.current) return;
|
|
6684
6515
|
if (typeof to === "number") {
|
|
6685
6516
|
router.navigate(to);
|
|
@@ -6695,16 +6526,17 @@ var alreadyWarned = {};
|
|
|
6695
6526
|
function warningOnce$1(key, cond, message) {
|
|
6696
6527
|
if (!cond && !alreadyWarned[key]) {
|
|
6697
6528
|
alreadyWarned[key] = true;
|
|
6698
|
-
warning$
|
|
6529
|
+
warning$4(false, message);
|
|
6699
6530
|
}
|
|
6700
6531
|
}
|
|
6701
6532
|
React.memo(DataRoutes);
|
|
6702
6533
|
function DataRoutes({
|
|
6703
6534
|
routes,
|
|
6704
6535
|
future,
|
|
6705
|
-
state
|
|
6536
|
+
state,
|
|
6537
|
+
unstable_onError
|
|
6706
6538
|
}) {
|
|
6707
|
-
return useRoutesImpl(routes, void 0, state, future);
|
|
6539
|
+
return useRoutesImpl(routes, void 0, state, unstable_onError, future);
|
|
6708
6540
|
}
|
|
6709
6541
|
|
|
6710
6542
|
// lib/dom/dom.ts
|
|
@@ -6753,7 +6585,7 @@ var supportedFormEncTypes = /* @__PURE__ */ new Set([
|
|
|
6753
6585
|
]);
|
|
6754
6586
|
function getFormEncType(encType) {
|
|
6755
6587
|
if (encType != null && !supportedFormEncTypes.has(encType)) {
|
|
6756
|
-
warning$
|
|
6588
|
+
warning$4(
|
|
6757
6589
|
false,
|
|
6758
6590
|
`"${encType}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${defaultEncType}"`
|
|
6759
6591
|
);
|
|
@@ -6811,6 +6643,7 @@ function getFormSubmissionInfo(target, basename) {
|
|
|
6811
6643
|
}
|
|
6812
6644
|
return { action, method: method.toLowerCase(), encType, formData, body };
|
|
6813
6645
|
}
|
|
6646
|
+
Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
6814
6647
|
|
|
6815
6648
|
// lib/dom/ssr/invariant.ts
|
|
6816
6649
|
function invariant2(value, message) {
|
|
@@ -6818,6 +6651,22 @@ function invariant2(value, message) {
|
|
|
6818
6651
|
throw new Error(message);
|
|
6819
6652
|
}
|
|
6820
6653
|
}
|
|
6654
|
+
function singleFetchUrl(reqUrl, basename, extension) {
|
|
6655
|
+
let url = typeof reqUrl === "string" ? new URL(
|
|
6656
|
+
reqUrl,
|
|
6657
|
+
// This can be called during the SSR flow via PrefetchPageLinksImpl so
|
|
6658
|
+
// don't assume window is available
|
|
6659
|
+
typeof window === "undefined" ? "server://singlefetch/" : window.location.origin
|
|
6660
|
+
) : reqUrl;
|
|
6661
|
+
if (url.pathname === "/") {
|
|
6662
|
+
url.pathname = `_root.${extension}`;
|
|
6663
|
+
} else if (basename && stripBasename(url.pathname, basename) === "/") {
|
|
6664
|
+
url.pathname = `${basename.replace(/\/$/, "")}/_root.${extension}`;
|
|
6665
|
+
} else {
|
|
6666
|
+
url.pathname = `${url.pathname.replace(/\/$/, "")}.${extension}`;
|
|
6667
|
+
}
|
|
6668
|
+
return url;
|
|
6669
|
+
}
|
|
6821
6670
|
|
|
6822
6671
|
// lib/dom/ssr/routeModules.ts
|
|
6823
6672
|
async function loadRouteModule(route, routeModulesCache) {
|
|
@@ -6964,22 +6813,6 @@ function dedupeLinkDescriptors(descriptors, preloads) {
|
|
|
6964
6813
|
return deduped;
|
|
6965
6814
|
}, []);
|
|
6966
6815
|
}
|
|
6967
|
-
function singleFetchUrl(reqUrl, basename) {
|
|
6968
|
-
let url = typeof reqUrl === "string" ? new URL(
|
|
6969
|
-
reqUrl,
|
|
6970
|
-
// This can be called during the SSR flow via PrefetchPageLinksImpl so
|
|
6971
|
-
// don't assume window is available
|
|
6972
|
-
typeof window === "undefined" ? "server://singlefetch/" : window.location.origin
|
|
6973
|
-
) : reqUrl;
|
|
6974
|
-
if (url.pathname === "/") {
|
|
6975
|
-
url.pathname = "_root.data";
|
|
6976
|
-
} else if (basename && stripBasename(url.pathname, basename) === "/") {
|
|
6977
|
-
url.pathname = `${basename.replace(/\/$/, "")}/_root.data`;
|
|
6978
|
-
} else {
|
|
6979
|
-
url.pathname = `${url.pathname.replace(/\/$/, "")}.data`;
|
|
6980
|
-
}
|
|
6981
|
-
return url;
|
|
6982
|
-
}
|
|
6983
6816
|
|
|
6984
6817
|
// lib/dom/ssr/components.tsx
|
|
6985
6818
|
function useDataRouterContext2() {
|
|
@@ -7074,10 +6907,7 @@ function composeEventHandlers(theirHandler, ourHandler) {
|
|
|
7074
6907
|
}
|
|
7075
6908
|
};
|
|
7076
6909
|
}
|
|
7077
|
-
function PrefetchPageLinks({
|
|
7078
|
-
page,
|
|
7079
|
-
...dataLinkProps
|
|
7080
|
-
}) {
|
|
6910
|
+
function PrefetchPageLinks({ page, ...linkProps }) {
|
|
7081
6911
|
let { router } = useDataRouterContext2();
|
|
7082
6912
|
let matches = React.useMemo(
|
|
7083
6913
|
() => matchRoutes(router.routes, page, router.basename),
|
|
@@ -7086,7 +6916,7 @@ function PrefetchPageLinks({
|
|
|
7086
6916
|
if (!matches) {
|
|
7087
6917
|
return null;
|
|
7088
6918
|
}
|
|
7089
|
-
return /* @__PURE__ */ React.createElement(PrefetchPageLinksImpl, { page, matches, ...
|
|
6919
|
+
return /* @__PURE__ */ React.createElement(PrefetchPageLinksImpl, { page, matches, ...linkProps });
|
|
7090
6920
|
}
|
|
7091
6921
|
function useKeyedPrefetchLinks(matches) {
|
|
7092
6922
|
let { manifest, routeModules } = useFrameworkContext();
|
|
@@ -7159,7 +6989,7 @@ function PrefetchPageLinksImpl({
|
|
|
7159
6989
|
if (routesParams.size === 0) {
|
|
7160
6990
|
return [];
|
|
7161
6991
|
}
|
|
7162
|
-
let url = singleFetchUrl(page, basename);
|
|
6992
|
+
let url = singleFetchUrl(page, basename, "data");
|
|
7163
6993
|
if (foundOptOutRoute && routesParams.size > 0) {
|
|
7164
6994
|
url.searchParams.set(
|
|
7165
6995
|
"_routes",
|
|
@@ -7182,10 +7012,10 @@ function PrefetchPageLinksImpl({
|
|
|
7182
7012
|
[newMatchesForAssets, manifest]
|
|
7183
7013
|
);
|
|
7184
7014
|
let keyedPrefetchLinks = useKeyedPrefetchLinks(newMatchesForAssets);
|
|
7185
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, dataHrefs.map((
|
|
7015
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, dataHrefs.map((href) => /* @__PURE__ */ React.createElement("link", { key: href, rel: "prefetch", as: "fetch", href, ...linkProps })), moduleHrefs.map((href) => /* @__PURE__ */ React.createElement("link", { key: href, rel: "modulepreload", href, ...linkProps })), keyedPrefetchLinks.map(({ key, link }) => (
|
|
7186
7016
|
// these don't spread `linkProps` because they are full link descriptors
|
|
7187
7017
|
// already with their own props
|
|
7188
|
-
/* @__PURE__ */ React.createElement("link", { key, ...link })
|
|
7018
|
+
/* @__PURE__ */ React.createElement("link", { key, nonce: linkProps.nonce, ...link })
|
|
7189
7019
|
)));
|
|
7190
7020
|
}
|
|
7191
7021
|
function mergeRefs(...refs) {
|
|
@@ -7199,12 +7029,11 @@ function mergeRefs(...refs) {
|
|
|
7199
7029
|
});
|
|
7200
7030
|
};
|
|
7201
7031
|
}
|
|
7202
|
-
|
|
7203
|
-
// lib/dom/lib.tsx
|
|
7204
7032
|
var isBrowser$1 = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7205
7033
|
try {
|
|
7206
7034
|
if (isBrowser$1) {
|
|
7207
|
-
window.__reactRouterVersion =
|
|
7035
|
+
window.__reactRouterVersion = // @ts-expect-error
|
|
7036
|
+
"7.9.3";
|
|
7208
7037
|
}
|
|
7209
7038
|
} catch (e) {
|
|
7210
7039
|
}
|
|
@@ -7241,14 +7070,14 @@ var Link$1 = React.forwardRef(
|
|
|
7241
7070
|
isExternal = true;
|
|
7242
7071
|
}
|
|
7243
7072
|
} catch (e) {
|
|
7244
|
-
warning$
|
|
7073
|
+
warning$4(
|
|
7245
7074
|
false,
|
|
7246
7075
|
`<Link to="${to}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
7247
7076
|
);
|
|
7248
7077
|
}
|
|
7249
7078
|
}
|
|
7250
7079
|
}
|
|
7251
|
-
let
|
|
7080
|
+
let href = useHref(to, { relative });
|
|
7252
7081
|
let [shouldPrefetch, prefetchRef, prefetchHandlers] = usePrefetchBehavior(
|
|
7253
7082
|
prefetch,
|
|
7254
7083
|
rest
|
|
@@ -7274,7 +7103,7 @@ var Link$1 = React.forwardRef(
|
|
|
7274
7103
|
{
|
|
7275
7104
|
...rest,
|
|
7276
7105
|
...prefetchHandlers,
|
|
7277
|
-
href: absoluteHref ||
|
|
7106
|
+
href: absoluteHref || href,
|
|
7278
7107
|
onClick: isExternal || reloadDocument ? onClick : handleClick,
|
|
7279
7108
|
ref: mergeRefs(forwardedRef, prefetchRef),
|
|
7280
7109
|
target,
|
|
@@ -7282,7 +7111,7 @@ var Link$1 = React.forwardRef(
|
|
|
7282
7111
|
}
|
|
7283
7112
|
)
|
|
7284
7113
|
);
|
|
7285
|
-
return shouldPrefetch && !isAbsolute ? /* @__PURE__ */ React.createElement(React.Fragment, null, link, /* @__PURE__ */ React.createElement(PrefetchPageLinks, { page:
|
|
7114
|
+
return shouldPrefetch && !isAbsolute ? /* @__PURE__ */ React.createElement(React.Fragment, null, link, /* @__PURE__ */ React.createElement(PrefetchPageLinks, { page: href })) : link;
|
|
7286
7115
|
}
|
|
7287
7116
|
);
|
|
7288
7117
|
Link$1.displayName = "Link";
|
|
@@ -7301,11 +7130,11 @@ var NavLink = React.forwardRef(
|
|
|
7301
7130
|
let path = useResolvedPath(to, { relative: rest.relative });
|
|
7302
7131
|
let location = useLocation();
|
|
7303
7132
|
let routerState = React.useContext(DataRouterStateContext);
|
|
7304
|
-
let { navigator
|
|
7133
|
+
let { navigator, basename } = React.useContext(NavigationContext);
|
|
7305
7134
|
let isTransitioning = routerState != null && // Conditional usage is OK here because the usage of a data router is static
|
|
7306
7135
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
7307
7136
|
useViewTransitionState(path) && viewTransition === true;
|
|
7308
|
-
let toPathname =
|
|
7137
|
+
let toPathname = navigator.encodeLocation ? navigator.encodeLocation(path).pathname : path.pathname;
|
|
7309
7138
|
let locationPathname = location.pathname;
|
|
7310
7139
|
let nextLocationPathname = routerState && routerState.navigation && routerState.navigation.location ? routerState.navigation.location.pathname : null;
|
|
7311
7140
|
if (!caseSensitive) {
|
|
@@ -7518,7 +7347,7 @@ function useFormAction(action, { relative } = {}) {
|
|
|
7518
7347
|
}
|
|
7519
7348
|
return createPath(path);
|
|
7520
7349
|
}
|
|
7521
|
-
function useViewTransitionState(to,
|
|
7350
|
+
function useViewTransitionState(to, { relative } = {}) {
|
|
7522
7351
|
let vtContext = React.useContext(ViewTransitionContext);
|
|
7523
7352
|
invariant(
|
|
7524
7353
|
vtContext != null,
|
|
@@ -7527,7 +7356,7 @@ function useViewTransitionState(to, opts = {}) {
|
|
|
7527
7356
|
let { basename } = useDataRouterContext3(
|
|
7528
7357
|
"useViewTransitionState" /* useViewTransitionState */
|
|
7529
7358
|
);
|
|
7530
|
-
let path = useResolvedPath(to, { relative
|
|
7359
|
+
let path = useResolvedPath(to, { relative });
|
|
7531
7360
|
if (!vtContext.isTransitioning) {
|
|
7532
7361
|
return false;
|
|
7533
7362
|
}
|
|
@@ -7536,9 +7365,6 @@ function useViewTransitionState(to, opts = {}) {
|
|
|
7536
7365
|
return matchPath(path.pathname, nextPath) != null || matchPath(path.pathname, currentPath) != null;
|
|
7537
7366
|
}
|
|
7538
7367
|
|
|
7539
|
-
// lib/server-runtime/crypto.ts
|
|
7540
|
-
new TextEncoder();
|
|
7541
|
-
|
|
7542
7368
|
const DropdownButtonComponent = ({ trigger, placement, menuItems, disabled, data, }) => {
|
|
7543
7369
|
const config = useConfig$1();
|
|
7544
7370
|
const isInertia = config.linkType === 'inertia';
|
|
@@ -7634,10 +7460,18 @@ const LinkComponent = ({ href, children, }) => {
|
|
|
7634
7460
|
};
|
|
7635
7461
|
|
|
7636
7462
|
const RadioComponent = ({ noItem, loading, disabled, buttonStyle, formClassNames, options, optionType, removeError, onChange, formColLayout, name, label, required, rules, ruleType, ruleMessage, validateStatus, help, }) => {
|
|
7637
|
-
const radio = !loading ? (jsxRuntimeExports.jsx(Radio.Group, { block: true, buttonStyle: buttonStyle, disabled: disabled,
|
|
7463
|
+
const radio = !loading ? (jsxRuntimeExports.jsx(Radio.Group, { block: true, buttonStyle: buttonStyle, disabled: disabled,
|
|
7464
|
+
// options={options}
|
|
7465
|
+
optionType: optionType, onChange: event => {
|
|
7638
7466
|
removeError === null || removeError === void 0 ? void 0 : removeError(event.target.id);
|
|
7639
7467
|
onChange === null || onChange === void 0 ? void 0 : onChange(event);
|
|
7640
|
-
}
|
|
7468
|
+
}, children: (options === null || options === void 0 ? void 0 : options.length) && (jsxRuntimeExports.jsx(Row, { gutter: [8, 8], children: options.map((option, index) => {
|
|
7469
|
+
const isObject = typeof option === 'object';
|
|
7470
|
+
const checkboxProps = isObject ? option : {
|
|
7471
|
+
value: option,
|
|
7472
|
+
};
|
|
7473
|
+
return (jsxRuntimeExports.jsx(Col, { span: 8, children: jsxRuntimeExports.jsx(Radio, Object.assign({}, checkboxProps, { children: isObject ? option.label : option })) }, `radio${index}`));
|
|
7474
|
+
}) })) })) : jsxRuntimeExports.jsx(Skeleton, { active: true });
|
|
7641
7475
|
return (jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: !noItem ? (jsxRuntimeExports.jsx(FormItemComponent$1, Object.assign({}, formColLayout, { name: name, label: label, classNames: formClassNames, required: required, ruleType: ruleType, ruleMessage: ruleMessage, rules: rules, validateStatus: validateStatus, help: help, children: radio })))
|
|
7642
7476
|
: radio }));
|
|
7643
7477
|
};
|
|
@@ -9570,7 +9404,7 @@ var preMessage = function preMessage(fn) {
|
|
|
9570
9404
|
* warning(1 === 2, 'some error'); // print some error
|
|
9571
9405
|
* ```
|
|
9572
9406
|
*/
|
|
9573
|
-
function warning$
|
|
9407
|
+
function warning$3(valid, message) {
|
|
9574
9408
|
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
9575
9409
|
var finalMessage = preWarningFns.reduce(function (msg, preMessageFn) {
|
|
9576
9410
|
return preMessageFn(msg !== null && msg !== void 0 ? msg : '', 'warning');
|
|
@@ -9604,7 +9438,7 @@ function call(method, valid, message) {
|
|
|
9604
9438
|
|
|
9605
9439
|
/** @see Same as {@link warning}, but only warn once for the same message */
|
|
9606
9440
|
function warningOnce(valid, message) {
|
|
9607
|
-
call(warning$
|
|
9441
|
+
call(warning$3, valid, message);
|
|
9608
9442
|
}
|
|
9609
9443
|
|
|
9610
9444
|
/** @see Same as {@link warning}, but only warn once for the same message */
|
|
@@ -9649,6 +9483,8 @@ function findDOMNode(node) {
|
|
|
9649
9483
|
return null;
|
|
9650
9484
|
}
|
|
9651
9485
|
|
|
9486
|
+
var reactIsExports = requireReactIs();
|
|
9487
|
+
|
|
9652
9488
|
function useMemo(getValue, condition, shouldUpdate) {
|
|
9653
9489
|
var cacheRef = React.useRef({});
|
|
9654
9490
|
if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) {
|
|
@@ -10941,9 +10777,9 @@ function ResizeObserver(props, ref) {
|
|
|
10941
10777
|
var childNodes = typeof children === 'function' ? [children] : toArray$1(children);
|
|
10942
10778
|
if (process.env.NODE_ENV !== 'production') {
|
|
10943
10779
|
if (childNodes.length > 1) {
|
|
10944
|
-
warning$
|
|
10780
|
+
warning$3(false, 'Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.');
|
|
10945
10781
|
} else if (childNodes.length === 0) {
|
|
10946
|
-
warning$
|
|
10782
|
+
warning$3(false, '`children` of ResizeObserver is empty. Nothing is in observe.');
|
|
10947
10783
|
}
|
|
10948
10784
|
}
|
|
10949
10785
|
return childNodes.map(function (child, index) {
|
|
@@ -11182,33 +11018,6 @@ var ResizableTextArea = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
11182
11018
|
maxRows = _React$useMemo2[1];
|
|
11183
11019
|
var needAutoSize = !!autoSize;
|
|
11184
11020
|
|
|
11185
|
-
// =============================== Scroll ===============================
|
|
11186
|
-
// https://github.com/ant-design/ant-design/issues/21870
|
|
11187
|
-
var fixFirefoxAutoScroll = function fixFirefoxAutoScroll() {
|
|
11188
|
-
try {
|
|
11189
|
-
// FF has bug with jump of scroll to top. We force back here.
|
|
11190
|
-
if (document.activeElement === textareaRef.current) {
|
|
11191
|
-
var _textareaRef$current = textareaRef.current,
|
|
11192
|
-
selectionStart = _textareaRef$current.selectionStart,
|
|
11193
|
-
selectionEnd = _textareaRef$current.selectionEnd,
|
|
11194
|
-
scrollTop = _textareaRef$current.scrollTop;
|
|
11195
|
-
|
|
11196
|
-
// Fix Safari bug which not rollback when break line
|
|
11197
|
-
// This makes Chinese IME can't input. Do not fix this
|
|
11198
|
-
// const { value: tmpValue } = textareaRef.current;
|
|
11199
|
-
// textareaRef.current.value = '';
|
|
11200
|
-
// textareaRef.current.value = tmpValue;
|
|
11201
|
-
|
|
11202
|
-
textareaRef.current.setSelectionRange(selectionStart, selectionEnd);
|
|
11203
|
-
textareaRef.current.scrollTop = scrollTop;
|
|
11204
|
-
}
|
|
11205
|
-
} catch (e) {
|
|
11206
|
-
// Fix error in Chrome:
|
|
11207
|
-
// Failed to read the 'selectionStart' property from 'HTMLInputElement'
|
|
11208
|
-
// http://stackoverflow.com/q/21177489/3040605
|
|
11209
|
-
}
|
|
11210
|
-
};
|
|
11211
|
-
|
|
11212
11021
|
// =============================== Resize ===============================
|
|
11213
11022
|
var _React$useState = React.useState(RESIZE_STABLE),
|
|
11214
11023
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -11251,9 +11060,7 @@ var ResizableTextArea = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
11251
11060
|
|
|
11252
11061
|
setResizeState(RESIZE_STABLE);
|
|
11253
11062
|
setAutoSizeStyle(textareaStyles);
|
|
11254
|
-
} else
|
|
11255
|
-
fixFirefoxAutoScroll();
|
|
11256
|
-
}
|
|
11063
|
+
} else ;
|
|
11257
11064
|
}, [resizeState]);
|
|
11258
11065
|
|
|
11259
11066
|
// We lock resize trigger by raf to avoid Safari warning
|
|
@@ -11511,6 +11318,9 @@ var TextArea$1 = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
11511
11318
|
})));
|
|
11512
11319
|
});
|
|
11513
11320
|
|
|
11321
|
+
// This icon file is generated automatically.
|
|
11322
|
+
var CloseCircleFilled$1 = { "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 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, "name": "close-circle", "theme": "filled" };
|
|
11323
|
+
|
|
11514
11324
|
const round = Math.round;
|
|
11515
11325
|
|
|
11516
11326
|
/**
|
|
@@ -12415,7 +12225,7 @@ function camelCase(input) {
|
|
|
12415
12225
|
return g.toUpperCase();
|
|
12416
12226
|
});
|
|
12417
12227
|
}
|
|
12418
|
-
function warning$
|
|
12228
|
+
function warning$2(valid, message) {
|
|
12419
12229
|
warningOnce(valid, "[@ant-design/icons] ".concat(message));
|
|
12420
12230
|
}
|
|
12421
12231
|
function isIconDefinition(target) {
|
|
@@ -12518,7 +12328,7 @@ var IconBase = function IconBase(props) {
|
|
|
12518
12328
|
};
|
|
12519
12329
|
}
|
|
12520
12330
|
useInsertStyles(svgRef);
|
|
12521
|
-
warning$
|
|
12331
|
+
warning$2(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon));
|
|
12522
12332
|
if (!isIconDefinition(icon)) {
|
|
12523
12333
|
return null;
|
|
12524
12334
|
}
|
|
@@ -12618,7 +12428,7 @@ Icon.setTwoToneColor = setTwoToneColor;
|
|
|
12618
12428
|
var CloseCircleFilled = function CloseCircleFilled(props, ref) {
|
|
12619
12429
|
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
12620
12430
|
ref: ref,
|
|
12621
|
-
icon: CloseCircleFilled$
|
|
12431
|
+
icon: CloseCircleFilled$1
|
|
12622
12432
|
}));
|
|
12623
12433
|
};
|
|
12624
12434
|
|
|
@@ -12657,9 +12467,9 @@ function resetWarned() {
|
|
|
12657
12467
|
deprecatedWarnList = null;
|
|
12658
12468
|
resetWarned$1();
|
|
12659
12469
|
}
|
|
12660
|
-
let
|
|
12470
|
+
let _warning = noop$1;
|
|
12661
12471
|
if (process.env.NODE_ENV !== 'production') {
|
|
12662
|
-
|
|
12472
|
+
_warning = (valid, component, message) => {
|
|
12663
12473
|
warningOnce(valid, `[antd: ${component}] ${message}`);
|
|
12664
12474
|
// StrictMode will inject console which will not throw warning in React 17.
|
|
12665
12475
|
if (process.env.NODE_ENV === 'test') {
|
|
@@ -12667,6 +12477,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
12667
12477
|
}
|
|
12668
12478
|
};
|
|
12669
12479
|
}
|
|
12480
|
+
const warning$1 = _warning;
|
|
12670
12481
|
const WarningContext = /*#__PURE__*/React.createContext({});
|
|
12671
12482
|
/**
|
|
12672
12483
|
* This is a hook but we not named as `useWarning`
|
|
@@ -12706,7 +12517,6 @@ const devUseWarning = process.env.NODE_ENV !== 'production' ? component => {
|
|
|
12706
12517
|
noopWarning.deprecated = noop$1;
|
|
12707
12518
|
return noopWarning;
|
|
12708
12519
|
};
|
|
12709
|
-
var warning$2 = warning$1;
|
|
12710
12520
|
|
|
12711
12521
|
const defaultPrefixCls = 'ant';
|
|
12712
12522
|
const defaultIconPrefixCls = 'anticon';
|
|
@@ -12884,6 +12694,7 @@ var Entity = /*#__PURE__*/function () {
|
|
|
12884
12694
|
_defineProperty(this, "instanceId", void 0);
|
|
12885
12695
|
/** @private Internal cache map. Do not access this directly */
|
|
12886
12696
|
_defineProperty(this, "cache", new Map());
|
|
12697
|
+
_defineProperty(this, "extracted", new Set());
|
|
12887
12698
|
this.instanceId = instanceId;
|
|
12888
12699
|
}
|
|
12889
12700
|
_createClass(Entity, [{
|
|
@@ -13118,7 +12929,7 @@ var Theme = /*#__PURE__*/function () {
|
|
|
13118
12929
|
this.derivatives = Array.isArray(derivatives) ? derivatives : [derivatives];
|
|
13119
12930
|
this.id = uuid;
|
|
13120
12931
|
if (derivatives.length === 0) {
|
|
13121
|
-
warning$
|
|
12932
|
+
warning$3(derivatives.length > 0, '[Ant Design CSS-in-JS] Theme should have at least one derivative function.');
|
|
13122
12933
|
}
|
|
13123
12934
|
uuid += 1;
|
|
13124
12935
|
}
|
|
@@ -13213,13 +13024,12 @@ function unit$1(num) {
|
|
|
13213
13024
|
return num;
|
|
13214
13025
|
}
|
|
13215
13026
|
function toStyleStr(style, tokenKey, styleId) {
|
|
13216
|
-
var _objectSpread2$1;
|
|
13217
13027
|
var customizeAttrs = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
13218
13028
|
var plain = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
13219
13029
|
if (plain) {
|
|
13220
13030
|
return style;
|
|
13221
13031
|
}
|
|
13222
|
-
var attrs = _objectSpread2(_objectSpread2({}, customizeAttrs), {}, (
|
|
13032
|
+
var attrs = _objectSpread2(_objectSpread2({}, customizeAttrs), {}, _defineProperty(_defineProperty({}, ATTR_TOKEN, tokenKey), ATTR_MARK, styleId));
|
|
13223
13033
|
var attrStr = Object.keys(attrs).map(function (attr) {
|
|
13224
13034
|
var val = attrs[attr];
|
|
13225
13035
|
return val ? "".concat(attr, "=\"").concat(val, "\"") : null;
|
|
@@ -13305,7 +13115,7 @@ var useCleanupRegister = function useCleanupRegister(deps) {
|
|
|
13305
13115
|
function register(fn) {
|
|
13306
13116
|
if (cleanupFlag) {
|
|
13307
13117
|
if (process.env.NODE_ENV !== 'production') {
|
|
13308
|
-
warning$
|
|
13118
|
+
warning$3(false, '[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.');
|
|
13309
13119
|
}
|
|
13310
13120
|
return;
|
|
13311
13121
|
}
|
|
@@ -13398,7 +13208,6 @@ onCacheEffect) {
|
|
|
13398
13208
|
}, /* eslint-disable react-hooks/exhaustive-deps */
|
|
13399
13209
|
[fullPathStr]
|
|
13400
13210
|
/* eslint-enable */);
|
|
13401
|
-
|
|
13402
13211
|
var cacheEntity = globalCache.opGet(fullPathStr);
|
|
13403
13212
|
|
|
13404
13213
|
// HMR clean the cache but not trigger `useMemo` again
|
|
@@ -13478,14 +13287,13 @@ var TOKEN_THRESHOLD = 0;
|
|
|
13478
13287
|
// Remove will check current keys first
|
|
13479
13288
|
function cleanTokenStyle(tokenKey, instanceId) {
|
|
13480
13289
|
tokenKeys.set(tokenKey, (tokenKeys.get(tokenKey) || 0) - 1);
|
|
13481
|
-
var
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
return count <= 0;
|
|
13290
|
+
var cleanableKeyList = new Set();
|
|
13291
|
+
tokenKeys.forEach(function (value, key) {
|
|
13292
|
+
if (value <= 0) cleanableKeyList.add(key);
|
|
13485
13293
|
});
|
|
13486
13294
|
|
|
13487
13295
|
// Should keep tokens under threshold for not to insert style too often
|
|
13488
|
-
if (
|
|
13296
|
+
if (tokenKeys.size - cleanableKeyList.size > TOKEN_THRESHOLD) {
|
|
13489
13297
|
cleanableKeyList.forEach(function (key) {
|
|
13490
13298
|
removeStyleTags(key, instanceId);
|
|
13491
13299
|
tokenKeys.delete(key);
|
|
@@ -14560,7 +14368,8 @@ function useStyleRegister(info, styleFn) {
|
|
|
14560
14368
|
styleId = _ref3[2];
|
|
14561
14369
|
if ((fromHMR || autoClear) && isClientSide) {
|
|
14562
14370
|
removeCSS(styleId, {
|
|
14563
|
-
mark: ATTR_MARK
|
|
14371
|
+
mark: ATTR_MARK,
|
|
14372
|
+
attachTo: container
|
|
14564
14373
|
});
|
|
14565
14374
|
}
|
|
14566
14375
|
},
|
|
@@ -14634,8 +14443,7 @@ function useStyleRegister(info, styleFn) {
|
|
|
14634
14443
|
if (!ssrInline || isMergedClientSide || !defaultCache) {
|
|
14635
14444
|
styleNode = /*#__PURE__*/React.createElement(Empty, null);
|
|
14636
14445
|
} else {
|
|
14637
|
-
|
|
14638
|
-
styleNode = /*#__PURE__*/React.createElement("style", _extends({}, (_ref6 = {}, _defineProperty(_ref6, ATTR_TOKEN, cachedTokenKey), _defineProperty(_ref6, ATTR_MARK, cachedStyleId), _ref6), {
|
|
14446
|
+
styleNode = /*#__PURE__*/React.createElement("style", _extends({}, _defineProperty(_defineProperty({}, ATTR_TOKEN, cachedTokenKey), ATTR_MARK, cachedStyleId), {
|
|
14639
14447
|
dangerouslySetInnerHTML: {
|
|
14640
14448
|
__html: cachedStyleStr
|
|
14641
14449
|
}
|
|
@@ -14722,7 +14530,8 @@ var useCSSVarRegister = function useCSSVarRegister(config, fn) {
|
|
|
14722
14530
|
styleId = _ref2[2];
|
|
14723
14531
|
if (isClientSide) {
|
|
14724
14532
|
removeCSS(styleId, {
|
|
14725
|
-
mark: ATTR_MARK
|
|
14533
|
+
mark: ATTR_MARK,
|
|
14534
|
+
attachTo: container
|
|
14726
14535
|
});
|
|
14727
14536
|
}
|
|
14728
14537
|
}, function (_ref3) {
|
|
@@ -14767,8 +14576,7 @@ var extract = function extract(cache, effectStyles, options) {
|
|
|
14767
14576
|
return [order, styleId, styleText];
|
|
14768
14577
|
};
|
|
14769
14578
|
|
|
14770
|
-
|
|
14771
|
-
(_ExtractStyleFns = {}, _defineProperty(_ExtractStyleFns, STYLE_PREFIX, extract$1), _defineProperty(_ExtractStyleFns, TOKEN_PREFIX, extract$2), _defineProperty(_ExtractStyleFns, CSS_VAR_PREFIX, extract), _ExtractStyleFns);
|
|
14579
|
+
_defineProperty(_defineProperty(_defineProperty({}, STYLE_PREFIX, extract$1), TOKEN_PREFIX, extract$2), CSS_VAR_PREFIX, extract);
|
|
14772
14580
|
|
|
14773
14581
|
function noSplit(list) {
|
|
14774
14582
|
list.notSplit = true;
|
|
@@ -15555,7 +15363,7 @@ function getFontSizes(base) {
|
|
|
15555
15363
|
}));
|
|
15556
15364
|
}
|
|
15557
15365
|
|
|
15558
|
-
var version = '5.
|
|
15366
|
+
var version = '5.27.4';
|
|
15559
15367
|
|
|
15560
15368
|
const defaultPresetColors = {
|
|
15561
15369
|
blue: '#1677FF',
|
|
@@ -15907,7 +15715,6 @@ function derivative(token) {
|
|
|
15907
15715
|
return prev;
|
|
15908
15716
|
}, {});
|
|
15909
15717
|
}).reduce((prev, cur) => {
|
|
15910
|
-
// biome-ignore lint/style/noParameterAssign: it is a reduce
|
|
15911
15718
|
prev = Object.assign(Object.assign({}, prev), cur);
|
|
15912
15719
|
return prev;
|
|
15913
15720
|
}, {});
|
|
@@ -16169,17 +15976,6 @@ const unitless = {
|
|
|
16169
15976
|
opacityImage: true
|
|
16170
15977
|
};
|
|
16171
15978
|
const ignore = {
|
|
16172
|
-
size: true,
|
|
16173
|
-
sizeSM: true,
|
|
16174
|
-
sizeLG: true,
|
|
16175
|
-
sizeMD: true,
|
|
16176
|
-
sizeXS: true,
|
|
16177
|
-
sizeXXS: true,
|
|
16178
|
-
sizeMS: true,
|
|
16179
|
-
sizeXL: true,
|
|
16180
|
-
sizeXXL: true,
|
|
16181
|
-
sizeUnit: true,
|
|
16182
|
-
sizeStep: true,
|
|
16183
15979
|
motionBase: true,
|
|
16184
15980
|
motionUnit: true
|
|
16185
15981
|
};
|
|
@@ -16418,7 +16214,7 @@ const useResetIconStyle = (iconPrefixCls, csp) => {
|
|
|
16418
16214
|
layer: {
|
|
16419
16215
|
name: 'antd'
|
|
16420
16216
|
}
|
|
16421
|
-
}, () =>
|
|
16217
|
+
}, () => genIconStyle(iconPrefixCls));
|
|
16422
16218
|
};
|
|
16423
16219
|
|
|
16424
16220
|
/**
|
|
@@ -16459,306 +16255,257 @@ const useSize = customSize => {
|
|
|
16459
16255
|
return mergedSize;
|
|
16460
16256
|
};
|
|
16461
16257
|
|
|
16462
|
-
function
|
|
16463
|
-
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
|
|
16468
|
-
r = Object.prototype,
|
|
16469
|
-
n = r.hasOwnProperty,
|
|
16470
|
-
o = Object.defineProperty || function (t, e, r) {
|
|
16471
|
-
t[e] = r.value;
|
|
16472
|
-
},
|
|
16473
|
-
i = "function" == typeof Symbol ? Symbol : {},
|
|
16474
|
-
a = i.iterator || "@@iterator",
|
|
16475
|
-
c = i.asyncIterator || "@@asyncIterator",
|
|
16476
|
-
u = i.toStringTag || "@@toStringTag";
|
|
16477
|
-
function define(t, e, r) {
|
|
16478
|
-
return Object.defineProperty(t, e, {
|
|
16479
|
-
value: r,
|
|
16480
|
-
enumerable: true,
|
|
16481
|
-
configurable: true,
|
|
16482
|
-
writable: true
|
|
16483
|
-
}), t[e];
|
|
16484
|
-
}
|
|
16258
|
+
function _OverloadYield(e, d) {
|
|
16259
|
+
this.v = e, this.k = d;
|
|
16260
|
+
}
|
|
16261
|
+
|
|
16262
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
16263
|
+
var i = Object.defineProperty;
|
|
16485
16264
|
try {
|
|
16486
|
-
|
|
16487
|
-
} catch (
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16492
|
-
|
|
16493
|
-
|
|
16494
|
-
|
|
16495
|
-
c = new Context(n || []);
|
|
16496
|
-
return o(a, "_invoke", {
|
|
16497
|
-
value: makeInvokeMethod(t, r, c)
|
|
16498
|
-
}), a;
|
|
16499
|
-
}
|
|
16500
|
-
function tryCatch(t, e, r) {
|
|
16501
|
-
try {
|
|
16502
|
-
return {
|
|
16503
|
-
type: "normal",
|
|
16504
|
-
arg: t.call(e, r)
|
|
16505
|
-
};
|
|
16506
|
-
} catch (t) {
|
|
16507
|
-
return {
|
|
16508
|
-
type: "throw",
|
|
16509
|
-
arg: t
|
|
16510
|
-
};
|
|
16265
|
+
i({}, "", {});
|
|
16266
|
+
} catch (e) {
|
|
16267
|
+
i = 0;
|
|
16268
|
+
}
|
|
16269
|
+
_regeneratorDefine = function regeneratorDefine(e, r, n, t) {
|
|
16270
|
+
function o(r, n) {
|
|
16271
|
+
_regeneratorDefine(e, r, function (e) {
|
|
16272
|
+
return this._invoke(r, n, e);
|
|
16273
|
+
});
|
|
16511
16274
|
}
|
|
16275
|
+
r ? i ? i(e, r, {
|
|
16276
|
+
value: n,
|
|
16277
|
+
enumerable: !t,
|
|
16278
|
+
configurable: !t,
|
|
16279
|
+
writable: !t
|
|
16280
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
16281
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
16282
|
+
}
|
|
16283
|
+
|
|
16284
|
+
function _regenerator() {
|
|
16285
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
16286
|
+
var e,
|
|
16287
|
+
t,
|
|
16288
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
16289
|
+
n = r.iterator || "@@iterator",
|
|
16290
|
+
o = r.toStringTag || "@@toStringTag";
|
|
16291
|
+
function i(r, n, o, i) {
|
|
16292
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
16293
|
+
u = Object.create(c.prototype);
|
|
16294
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
16295
|
+
var i,
|
|
16296
|
+
c,
|
|
16297
|
+
u,
|
|
16298
|
+
f = 0,
|
|
16299
|
+
p = o || [],
|
|
16300
|
+
y = false,
|
|
16301
|
+
G = {
|
|
16302
|
+
p: 0,
|
|
16303
|
+
n: 0,
|
|
16304
|
+
v: e,
|
|
16305
|
+
a: d,
|
|
16306
|
+
f: d.bind(e, 4),
|
|
16307
|
+
d: function d(t, r) {
|
|
16308
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
16309
|
+
}
|
|
16310
|
+
};
|
|
16311
|
+
function d(r, n) {
|
|
16312
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
16313
|
+
var o,
|
|
16314
|
+
i = p[t],
|
|
16315
|
+
d = G.p,
|
|
16316
|
+
l = i[2];
|
|
16317
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
16318
|
+
}
|
|
16319
|
+
if (o || r > 1) return a;
|
|
16320
|
+
throw y = true, n;
|
|
16321
|
+
}
|
|
16322
|
+
return function (o, p, l) {
|
|
16323
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
16324
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
16325
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
16326
|
+
try {
|
|
16327
|
+
if (f = 2, i) {
|
|
16328
|
+
if (c || (o = "next"), t = i[o]) {
|
|
16329
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
16330
|
+
if (!t.done) return t;
|
|
16331
|
+
u = t.value, c < 2 && (c = 0);
|
|
16332
|
+
} else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
16333
|
+
i = e;
|
|
16334
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
16335
|
+
} catch (t) {
|
|
16336
|
+
i = e, c = 1, u = t;
|
|
16337
|
+
} finally {
|
|
16338
|
+
f = 1;
|
|
16339
|
+
}
|
|
16340
|
+
}
|
|
16341
|
+
return {
|
|
16342
|
+
value: t,
|
|
16343
|
+
done: y
|
|
16344
|
+
};
|
|
16345
|
+
};
|
|
16346
|
+
}(r, o, i), true), u;
|
|
16512
16347
|
}
|
|
16513
|
-
|
|
16514
|
-
var h = "suspendedStart",
|
|
16515
|
-
l = "suspendedYield",
|
|
16516
|
-
f = "executing",
|
|
16517
|
-
s = "completed",
|
|
16518
|
-
y = {};
|
|
16348
|
+
var a = {};
|
|
16519
16349
|
function Generator() {}
|
|
16520
16350
|
function GeneratorFunction() {}
|
|
16521
16351
|
function GeneratorFunctionPrototype() {}
|
|
16522
|
-
|
|
16523
|
-
|
|
16352
|
+
t = Object.getPrototypeOf;
|
|
16353
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
16354
|
+
return this;
|
|
16355
|
+
}), t),
|
|
16356
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
16357
|
+
function f(e) {
|
|
16358
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
16359
|
+
}
|
|
16360
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
16524
16361
|
return this;
|
|
16525
|
-
})
|
|
16526
|
-
|
|
16527
|
-
|
|
16528
|
-
|
|
16529
|
-
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16362
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
16363
|
+
return "[object Generator]";
|
|
16364
|
+
}), (_regenerator = function _regenerator() {
|
|
16365
|
+
return {
|
|
16366
|
+
w: i,
|
|
16367
|
+
m: f
|
|
16368
|
+
};
|
|
16369
|
+
})();
|
|
16370
|
+
}
|
|
16371
|
+
|
|
16372
|
+
function AsyncIterator(t, e) {
|
|
16373
|
+
function n(r, o, i, f) {
|
|
16374
|
+
try {
|
|
16375
|
+
var c = t[r](o),
|
|
16376
|
+
u = c.value;
|
|
16377
|
+
return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) {
|
|
16378
|
+
n("next", t, i, f);
|
|
16379
|
+
}, function (t) {
|
|
16380
|
+
n("throw", t, i, f);
|
|
16381
|
+
}) : e.resolve(u).then(function (t) {
|
|
16382
|
+
c.value = t, i(c);
|
|
16383
|
+
}, function (t) {
|
|
16384
|
+
return n("throw", t, i, f);
|
|
16534
16385
|
});
|
|
16535
|
-
})
|
|
16536
|
-
|
|
16537
|
-
|
|
16538
|
-
function invoke(r, o, i, a) {
|
|
16539
|
-
var c = tryCatch(t[r], t, o);
|
|
16540
|
-
if ("throw" !== c.type) {
|
|
16541
|
-
var u = c.arg,
|
|
16542
|
-
h = u.value;
|
|
16543
|
-
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
16544
|
-
invoke("next", t, i, a);
|
|
16545
|
-
}, function (t) {
|
|
16546
|
-
invoke("throw", t, i, a);
|
|
16547
|
-
}) : e.resolve(h).then(function (t) {
|
|
16548
|
-
u.value = t, i(u);
|
|
16549
|
-
}, function (t) {
|
|
16550
|
-
return invoke("throw", t, i, a);
|
|
16551
|
-
});
|
|
16552
|
-
}
|
|
16553
|
-
a(c.arg);
|
|
16554
|
-
}
|
|
16555
|
-
var r;
|
|
16556
|
-
o(this, "_invoke", {
|
|
16557
|
-
value: function value(t, n) {
|
|
16558
|
-
function callInvokeWithMethodAndArg() {
|
|
16559
|
-
return new e(function (e, r) {
|
|
16560
|
-
invoke(t, n, e, r);
|
|
16561
|
-
});
|
|
16562
|
-
}
|
|
16563
|
-
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
16564
|
-
}
|
|
16565
|
-
});
|
|
16386
|
+
} catch (t) {
|
|
16387
|
+
f(t);
|
|
16388
|
+
}
|
|
16566
16389
|
}
|
|
16567
|
-
|
|
16568
|
-
|
|
16569
|
-
return
|
|
16570
|
-
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16390
|
+
var r;
|
|
16391
|
+
this.next || (_regeneratorDefine(AsyncIterator.prototype), _regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
|
|
16392
|
+
return this;
|
|
16393
|
+
})), _regeneratorDefine(this, "_invoke", function (t, o, i) {
|
|
16394
|
+
function f() {
|
|
16395
|
+
return new e(function (e, r) {
|
|
16396
|
+
n(t, i, e, r);
|
|
16397
|
+
});
|
|
16398
|
+
}
|
|
16399
|
+
return r = r ? r.then(f, f) : f();
|
|
16400
|
+
}, true);
|
|
16401
|
+
}
|
|
16402
|
+
|
|
16403
|
+
function _regeneratorAsyncGen(r, e, t, o, n) {
|
|
16404
|
+
return new AsyncIterator(_regenerator().w(r, e, t, o), n || Promise);
|
|
16405
|
+
}
|
|
16406
|
+
|
|
16407
|
+
function _regeneratorAsync(n, e, r, t, o) {
|
|
16408
|
+
var a = _regeneratorAsyncGen(n, e, r, t, o);
|
|
16409
|
+
return a.next().then(function (n) {
|
|
16410
|
+
return n.done ? n.value : a.next();
|
|
16411
|
+
});
|
|
16412
|
+
}
|
|
16413
|
+
|
|
16414
|
+
function _regeneratorKeys(e) {
|
|
16415
|
+
var n = Object(e),
|
|
16416
|
+
r = [];
|
|
16417
|
+
for (var t in n) r.unshift(t);
|
|
16418
|
+
return function e() {
|
|
16419
|
+
for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = false, e;
|
|
16420
|
+
return e.done = true, e;
|
|
16421
|
+
};
|
|
16422
|
+
}
|
|
16423
|
+
|
|
16424
|
+
function _regeneratorValues(e) {
|
|
16425
|
+
if (null != e) {
|
|
16426
|
+
var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
|
|
16427
|
+
r = 0;
|
|
16428
|
+
if (t) return t.call(e);
|
|
16429
|
+
if ("function" == typeof e.next) return e;
|
|
16430
|
+
if (!isNaN(e.length)) return {
|
|
16431
|
+
next: function next() {
|
|
16432
|
+
return e && r >= e.length && (e = void 0), {
|
|
16433
|
+
value: e && e[r++],
|
|
16434
|
+
done: !e
|
|
16576
16435
|
};
|
|
16577
16436
|
}
|
|
16578
|
-
|
|
16579
|
-
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16437
|
+
};
|
|
16438
|
+
}
|
|
16439
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
|
16440
|
+
}
|
|
16441
|
+
|
|
16442
|
+
function _regeneratorRuntime() {
|
|
16443
|
+
|
|
16444
|
+
var r = _regenerator(),
|
|
16445
|
+
e = r.m(_regeneratorRuntime),
|
|
16446
|
+
t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
|
|
16447
|
+
function n(r) {
|
|
16448
|
+
var e = "function" == typeof r && r.constructor;
|
|
16449
|
+
return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
|
|
16450
|
+
}
|
|
16451
|
+
var o = {
|
|
16452
|
+
"throw": 1,
|
|
16453
|
+
"return": 2,
|
|
16454
|
+
"break": 3,
|
|
16455
|
+
"continue": 3
|
|
16456
|
+
};
|
|
16457
|
+
function a(r) {
|
|
16458
|
+
var e, t;
|
|
16459
|
+
return function (n) {
|
|
16460
|
+
e || (e = {
|
|
16461
|
+
stop: function stop() {
|
|
16462
|
+
return t(n.a, 2);
|
|
16463
|
+
},
|
|
16464
|
+
"catch": function _catch() {
|
|
16465
|
+
return n.v;
|
|
16466
|
+
},
|
|
16467
|
+
abrupt: function abrupt(r, e) {
|
|
16468
|
+
return t(n.a, o[r], e);
|
|
16469
|
+
},
|
|
16470
|
+
delegateYield: function delegateYield(r, o, a) {
|
|
16471
|
+
return e.resultName = o, t(n.d, _regeneratorValues(r), a);
|
|
16472
|
+
},
|
|
16473
|
+
finish: function finish(r) {
|
|
16474
|
+
return t(n.f, r);
|
|
16586
16475
|
}
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
|
|
16592
|
-
|
|
16593
|
-
if ("normal" === p.type) {
|
|
16594
|
-
if (o = n.done ? s : l, p.arg === y) continue;
|
|
16595
|
-
return {
|
|
16596
|
-
value: p.arg,
|
|
16597
|
-
done: n.done
|
|
16598
|
-
};
|
|
16476
|
+
}, t = function t(r, _t, o) {
|
|
16477
|
+
n.p = e.prev, n.n = e.next;
|
|
16478
|
+
try {
|
|
16479
|
+
return r(_t, o);
|
|
16480
|
+
} finally {
|
|
16481
|
+
e.next = n.n;
|
|
16599
16482
|
}
|
|
16600
|
-
|
|
16483
|
+
}), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
|
|
16484
|
+
try {
|
|
16485
|
+
return r.call(this, e);
|
|
16486
|
+
} finally {
|
|
16487
|
+
n.p = e.prev, n.n = e.next;
|
|
16601
16488
|
}
|
|
16602
16489
|
};
|
|
16603
16490
|
}
|
|
16604
|
-
function
|
|
16605
|
-
var n = r.method,
|
|
16606
|
-
o = e.iterator[n];
|
|
16607
|
-
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
16608
|
-
var i = tryCatch(o, e.iterator, r.arg);
|
|
16609
|
-
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
16610
|
-
var a = i.arg;
|
|
16611
|
-
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
16612
|
-
}
|
|
16613
|
-
function pushTryEntry(t) {
|
|
16614
|
-
var e = {
|
|
16615
|
-
tryLoc: t[0]
|
|
16616
|
-
};
|
|
16617
|
-
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
16618
|
-
}
|
|
16619
|
-
function resetTryEntry(t) {
|
|
16620
|
-
var e = t.completion || {};
|
|
16621
|
-
e.type = "normal", delete e.arg, t.completion = e;
|
|
16622
|
-
}
|
|
16623
|
-
function Context(t) {
|
|
16624
|
-
this.tryEntries = [{
|
|
16625
|
-
tryLoc: "root"
|
|
16626
|
-
}], t.forEach(pushTryEntry, this), this.reset(true);
|
|
16627
|
-
}
|
|
16628
|
-
function values(e) {
|
|
16629
|
-
if (e || "" === e) {
|
|
16630
|
-
var r = e[a];
|
|
16631
|
-
if (r) return r.call(e);
|
|
16632
|
-
if ("function" == typeof e.next) return e;
|
|
16633
|
-
if (!isNaN(e.length)) {
|
|
16634
|
-
var o = -1,
|
|
16635
|
-
i = function next() {
|
|
16636
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = false, next;
|
|
16637
|
-
return next.value = t, next.done = true, next;
|
|
16638
|
-
};
|
|
16639
|
-
return i.next = i;
|
|
16640
|
-
}
|
|
16641
|
-
}
|
|
16642
|
-
throw new TypeError(_typeof(e) + " is not iterable");
|
|
16643
|
-
}
|
|
16644
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
16645
|
-
value: GeneratorFunctionPrototype,
|
|
16646
|
-
configurable: true
|
|
16647
|
-
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
16648
|
-
value: GeneratorFunction,
|
|
16649
|
-
configurable: true
|
|
16650
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
16651
|
-
var e = "function" == typeof t && t.constructor;
|
|
16652
|
-
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
16653
|
-
}, e.mark = function (t) {
|
|
16654
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
16655
|
-
}, e.awrap = function (t) {
|
|
16491
|
+
return (_regeneratorRuntime = function _regeneratorRuntime() {
|
|
16656
16492
|
return {
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
}), e.keys = function (t) {
|
|
16672
|
-
var e = Object(t),
|
|
16673
|
-
r = [];
|
|
16674
|
-
for (var n in e) r.push(n);
|
|
16675
|
-
return r.reverse(), function next() {
|
|
16676
|
-
for (; r.length;) {
|
|
16677
|
-
var t = r.pop();
|
|
16678
|
-
if (t in e) return next.value = t, next.done = false, next;
|
|
16679
|
-
}
|
|
16680
|
-
return next.done = true, next;
|
|
16493
|
+
wrap: function wrap(e, t, n, o) {
|
|
16494
|
+
return r.w(a(e), t, n, o && o.reverse());
|
|
16495
|
+
},
|
|
16496
|
+
isGeneratorFunction: n,
|
|
16497
|
+
mark: r.m,
|
|
16498
|
+
awrap: function awrap(r, e) {
|
|
16499
|
+
return new _OverloadYield(r, e);
|
|
16500
|
+
},
|
|
16501
|
+
AsyncIterator: AsyncIterator,
|
|
16502
|
+
async: function async(r, e, t, o, u) {
|
|
16503
|
+
return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u);
|
|
16504
|
+
},
|
|
16505
|
+
keys: _regeneratorKeys,
|
|
16506
|
+
values: _regeneratorValues
|
|
16681
16507
|
};
|
|
16682
|
-
}
|
|
16683
|
-
constructor: Context,
|
|
16684
|
-
reset: function reset(e) {
|
|
16685
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
16686
|
-
},
|
|
16687
|
-
stop: function stop() {
|
|
16688
|
-
this.done = true;
|
|
16689
|
-
var t = this.tryEntries[0].completion;
|
|
16690
|
-
if ("throw" === t.type) throw t.arg;
|
|
16691
|
-
return this.rval;
|
|
16692
|
-
},
|
|
16693
|
-
dispatchException: function dispatchException(e) {
|
|
16694
|
-
if (this.done) throw e;
|
|
16695
|
-
var r = this;
|
|
16696
|
-
function handle(n, o) {
|
|
16697
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
16698
|
-
}
|
|
16699
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
16700
|
-
var i = this.tryEntries[o],
|
|
16701
|
-
a = i.completion;
|
|
16702
|
-
if ("root" === i.tryLoc) return handle("end");
|
|
16703
|
-
if (i.tryLoc <= this.prev) {
|
|
16704
|
-
var c = n.call(i, "catchLoc"),
|
|
16705
|
-
u = n.call(i, "finallyLoc");
|
|
16706
|
-
if (c && u) {
|
|
16707
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
|
|
16708
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
16709
|
-
} else if (c) {
|
|
16710
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, true);
|
|
16711
|
-
} else {
|
|
16712
|
-
if (!u) throw Error("try statement without catch or finally");
|
|
16713
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
16714
|
-
}
|
|
16715
|
-
}
|
|
16716
|
-
}
|
|
16717
|
-
},
|
|
16718
|
-
abrupt: function abrupt(t, e) {
|
|
16719
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
16720
|
-
var o = this.tryEntries[r];
|
|
16721
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
16722
|
-
var i = o;
|
|
16723
|
-
break;
|
|
16724
|
-
}
|
|
16725
|
-
}
|
|
16726
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
16727
|
-
var a = i ? i.completion : {};
|
|
16728
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
16729
|
-
},
|
|
16730
|
-
complete: function complete(t, e) {
|
|
16731
|
-
if ("throw" === t.type) throw t.arg;
|
|
16732
|
-
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
16733
|
-
},
|
|
16734
|
-
finish: function finish(t) {
|
|
16735
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
16736
|
-
var r = this.tryEntries[e];
|
|
16737
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
16738
|
-
}
|
|
16739
|
-
},
|
|
16740
|
-
"catch": function _catch(t) {
|
|
16741
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
16742
|
-
var r = this.tryEntries[e];
|
|
16743
|
-
if (r.tryLoc === t) {
|
|
16744
|
-
var n = r.completion;
|
|
16745
|
-
if ("throw" === n.type) {
|
|
16746
|
-
var o = n.arg;
|
|
16747
|
-
resetTryEntry(r);
|
|
16748
|
-
}
|
|
16749
|
-
return o;
|
|
16750
|
-
}
|
|
16751
|
-
}
|
|
16752
|
-
throw Error("illegal catch attempt");
|
|
16753
|
-
},
|
|
16754
|
-
delegateYield: function delegateYield(e, r, n) {
|
|
16755
|
-
return this.delegate = {
|
|
16756
|
-
iterator: values(e),
|
|
16757
|
-
resultName: r,
|
|
16758
|
-
nextLoc: n
|
|
16759
|
-
}, "next" === this.method && (this.arg = t), y;
|
|
16760
|
-
}
|
|
16761
|
-
}, e;
|
|
16508
|
+
})();
|
|
16762
16509
|
}
|
|
16763
16510
|
|
|
16764
16511
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
@@ -20614,7 +20361,7 @@ function registerTheme(globalPrefixCls, theme) {
|
|
|
20614
20361
|
if (canUseDom()) {
|
|
20615
20362
|
updateCSS(style, `${dynamicStyleMark}-dynamic-theme`);
|
|
20616
20363
|
} else {
|
|
20617
|
-
process.env.NODE_ENV !== "production" ? warning$
|
|
20364
|
+
process.env.NODE_ENV !== "production" ? warning$1(false, 'ConfigProvider', 'SSR do not support dynamic theme with css variables.') : void 0;
|
|
20618
20365
|
}
|
|
20619
20366
|
}
|
|
20620
20367
|
|
|
@@ -21564,7 +21311,7 @@ var __rest$2 = undefined && undefined.__rest || function (s, e) {
|
|
|
21564
21311
|
*/
|
|
21565
21312
|
let existThemeConfig = false;
|
|
21566
21313
|
process.env.NODE_ENV !== 'production' ? componentName => {
|
|
21567
|
-
process.env.NODE_ENV !== "production" ? warning$
|
|
21314
|
+
process.env.NODE_ENV !== "production" ? warning$1(!existThemeConfig, componentName, `Static function can not consume context like dynamic theme. Please use 'App' component instead.`) : void 0;
|
|
21568
21315
|
} : /* istanbul ignore next */
|
|
21569
21316
|
null;
|
|
21570
21317
|
// These props is used by `useContext` directly in sub component
|
|
@@ -21588,7 +21335,7 @@ const setGlobalConfig = props => {
|
|
|
21588
21335
|
}
|
|
21589
21336
|
if (theme) {
|
|
21590
21337
|
if (isLegacyTheme(theme)) {
|
|
21591
|
-
process.env.NODE_ENV !== "production" ? warning$
|
|
21338
|
+
process.env.NODE_ENV !== "production" ? warning$1(false, 'ConfigProvider', '`config` of css variable theme is not work in v5. Please use new `theme` config instead.') : void 0;
|
|
21592
21339
|
registerTheme(getGlobalPrefixCls(), theme);
|
|
21593
21340
|
}
|
|
21594
21341
|
}
|
|
@@ -21670,6 +21417,7 @@ const ProviderChildren = props => {
|
|
|
21670
21417
|
tooltip,
|
|
21671
21418
|
popover,
|
|
21672
21419
|
popconfirm,
|
|
21420
|
+
floatButton,
|
|
21673
21421
|
floatButtonGroup,
|
|
21674
21422
|
variant,
|
|
21675
21423
|
inputNumber,
|
|
@@ -21765,6 +21513,7 @@ const ProviderChildren = props => {
|
|
|
21765
21513
|
tooltip,
|
|
21766
21514
|
popover,
|
|
21767
21515
|
popconfirm,
|
|
21516
|
+
floatButton,
|
|
21768
21517
|
floatButtonGroup,
|
|
21769
21518
|
variant,
|
|
21770
21519
|
inputNumber,
|
|
@@ -21908,7 +21657,7 @@ ConfigProvider.config = setGlobalConfig;
|
|
|
21908
21657
|
ConfigProvider.useConfig = useConfig;
|
|
21909
21658
|
Object.defineProperty(ConfigProvider, 'SizeContext', {
|
|
21910
21659
|
get: () => {
|
|
21911
|
-
process.env.NODE_ENV !== "production" ? warning$
|
|
21660
|
+
process.env.NODE_ENV !== "production" ? warning$1(false, 'ConfigProvider', 'ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead.') : void 0;
|
|
21912
21661
|
return SizeContext;
|
|
21913
21662
|
}
|
|
21914
21663
|
});
|
|
@@ -22028,7 +21777,7 @@ function useRemovePasswordTimeout(inputRef, triggerOnMount) {
|
|
|
22028
21777
|
}
|
|
22029
21778
|
|
|
22030
21779
|
// handle border collapse
|
|
22031
|
-
function compactItemBorder(token, parentCls, options) {
|
|
21780
|
+
function compactItemBorder(token, parentCls, options, prefixCls) {
|
|
22032
21781
|
const {
|
|
22033
21782
|
focusElCls,
|
|
22034
21783
|
focus,
|
|
@@ -22040,13 +21789,16 @@ function compactItemBorder(token, parentCls, options) {
|
|
|
22040
21789
|
[`&-item:not(${parentCls}-last-item)`]: {
|
|
22041
21790
|
marginInlineEnd: token.calc(token.lineWidth).mul(-1).equal()
|
|
22042
21791
|
},
|
|
21792
|
+
[`&-item:not(${prefixCls}-status-success)`]: {
|
|
21793
|
+
zIndex: 2
|
|
21794
|
+
},
|
|
22043
21795
|
'&-item': Object.assign(Object.assign({
|
|
22044
21796
|
[hoverEffects]: {
|
|
22045
|
-
zIndex:
|
|
21797
|
+
zIndex: 3
|
|
22046
21798
|
}
|
|
22047
21799
|
}, focusElCls ? {
|
|
22048
21800
|
[`&${focusElCls}`]: {
|
|
22049
|
-
zIndex:
|
|
21801
|
+
zIndex: 3
|
|
22050
21802
|
}
|
|
22051
21803
|
} : {}), {
|
|
22052
21804
|
[`&[disabled] ${childCombinator}`]: {
|
|
@@ -22087,7 +21839,7 @@ function genCompactItemStyle(token, options = {
|
|
|
22087
21839
|
} = token;
|
|
22088
21840
|
const compactCls = `${componentCls}-compact`;
|
|
22089
21841
|
return {
|
|
22090
|
-
[compactCls]: Object.assign(Object.assign({}, compactItemBorder(token, compactCls, options)), compactItemBorderRadius(componentCls, compactCls, options))
|
|
21842
|
+
[compactCls]: Object.assign(Object.assign({}, compactItemBorder(token, compactCls, options, componentCls)), compactItemBorderRadius(componentCls, compactCls, options))
|
|
22091
21843
|
};
|
|
22092
21844
|
}
|
|
22093
21845
|
|
|
@@ -22394,7 +22146,7 @@ const genBaseUnderlinedStyle = (token, options) => ({
|
|
|
22394
22146
|
backgroundColor: token.hoverBg
|
|
22395
22147
|
},
|
|
22396
22148
|
'&:focus, &:focus-within': {
|
|
22397
|
-
borderColor: `transparent transparent ${options.
|
|
22149
|
+
borderColor: `transparent transparent ${options.activeBorderColor} transparent`,
|
|
22398
22150
|
outline: 0,
|
|
22399
22151
|
backgroundColor: token.activeBg
|
|
22400
22152
|
}
|
|
@@ -22974,7 +22726,7 @@ const genSearchInputStyle = token => {
|
|
|
22974
22726
|
return {
|
|
22975
22727
|
[searchPrefixCls]: {
|
|
22976
22728
|
[componentCls]: {
|
|
22977
|
-
'&:hover, &:focus': {
|
|
22729
|
+
'&:not([disabled]):hover, &:not([disabled]):focus': {
|
|
22978
22730
|
[`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(${antCls}-btn-color-primary):not(${antCls}-btn-variant-text)`]: {
|
|
22979
22731
|
borderInlineStartColor: token.colorPrimaryHover
|
|
22980
22732
|
}
|
|
@@ -23003,7 +22755,7 @@ const genSearchInputStyle = token => {
|
|
|
23003
22755
|
},
|
|
23004
22756
|
[`${searchPrefixCls}-button:not(${antCls}-btn-color-primary)`]: {
|
|
23005
22757
|
color: token.colorTextDescription,
|
|
23006
|
-
'&:hover': {
|
|
22758
|
+
'&:not([disabled]):hover': {
|
|
23007
22759
|
color: token.colorPrimaryHover
|
|
23008
22760
|
},
|
|
23009
22761
|
'&:active': {
|
|
@@ -23124,7 +22876,7 @@ const Input = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
23124
22876
|
styles,
|
|
23125
22877
|
rootClassName,
|
|
23126
22878
|
onChange,
|
|
23127
|
-
classNames:
|
|
22879
|
+
classNames: classNames$1,
|
|
23128
22880
|
variant: customVariant
|
|
23129
22881
|
} = props,
|
|
23130
22882
|
rest = __rest$1(props, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "style", "styles", "rootClassName", "onChange", "classNames", "variant"]);
|
|
@@ -23224,12 +22976,12 @@ const Input = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
23224
22976
|
form: true,
|
|
23225
22977
|
space: true
|
|
23226
22978
|
}, addonAfter)),
|
|
23227
|
-
classNames: Object.assign(Object.assign(Object.assign({},
|
|
22979
|
+
classNames: Object.assign(Object.assign(Object.assign({}, classNames$1), contextClassNames), {
|
|
23228
22980
|
input: classNames({
|
|
23229
22981
|
[`${prefixCls}-sm`]: mergedSize === 'small',
|
|
23230
22982
|
[`${prefixCls}-lg`]: mergedSize === 'large',
|
|
23231
22983
|
[`${prefixCls}-rtl`]: direction === 'rtl'
|
|
23232
|
-
},
|
|
22984
|
+
}, classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.input, contextClassNames.input, hashId),
|
|
23233
22985
|
variant: classNames({
|
|
23234
22986
|
[`${prefixCls}-${variant}`]: enableVariantCls
|
|
23235
22987
|
}, getStatusClassNames(prefixCls, mergedStatus)),
|
|
@@ -23355,7 +23107,7 @@ const genTextAreaStyle = token => {
|
|
|
23355
23107
|
// ============================== Export ==============================
|
|
23356
23108
|
var useStyle = genStyleHooks(['Input', 'TextArea'], token => {
|
|
23357
23109
|
const inputToken = merge(token, initInputToken(token));
|
|
23358
|
-
return
|
|
23110
|
+
return genTextAreaStyle(inputToken);
|
|
23359
23111
|
}, initComponentToken, {
|
|
23360
23112
|
resetFont: false
|
|
23361
23113
|
});
|