@faasjs/ant-design 0.0.3-beta.59 → 0.0.3-beta.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +12 -4
- package/dist/index.mjs +12 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1265,7 +1265,9 @@ function Table(props) {
|
|
|
1265
1265
|
return false;
|
|
1266
1266
|
return row[item.id].toLowerCase().includes(value.toLowerCase());
|
|
1267
1267
|
};
|
|
1268
|
-
if (
|
|
1268
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1269
|
+
break;
|
|
1270
|
+
if (!item.filters && item.optionsType !== "auto")
|
|
1269
1271
|
item.filterDropdown = ({
|
|
1270
1272
|
setSelectedKeys,
|
|
1271
1273
|
confirm,
|
|
@@ -1295,7 +1297,9 @@ function Table(props) {
|
|
|
1295
1297
|
return false;
|
|
1296
1298
|
return row[item.id].some((v) => v.toLowerCase().includes(value.toLowerCase()));
|
|
1297
1299
|
};
|
|
1298
|
-
if (
|
|
1300
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1301
|
+
break;
|
|
1302
|
+
if (!item.filters && item.optionsType !== "auto")
|
|
1299
1303
|
item.filterDropdown = ({
|
|
1300
1304
|
setSelectedKeys,
|
|
1301
1305
|
confirm,
|
|
@@ -1325,7 +1329,9 @@ function Table(props) {
|
|
|
1325
1329
|
return true;
|
|
1326
1330
|
return value == row[item.id];
|
|
1327
1331
|
};
|
|
1328
|
-
if (
|
|
1332
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1333
|
+
break;
|
|
1334
|
+
if (!item.filters)
|
|
1329
1335
|
item.filterDropdown = ({
|
|
1330
1336
|
setSelectedKeys,
|
|
1331
1337
|
confirm,
|
|
@@ -1355,7 +1361,9 @@ function Table(props) {
|
|
|
1355
1361
|
return false;
|
|
1356
1362
|
return row[item.id].includes(Number(value));
|
|
1357
1363
|
};
|
|
1358
|
-
if (
|
|
1364
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1365
|
+
break;
|
|
1366
|
+
if (!item.filters)
|
|
1359
1367
|
item.filterDropdown = ({
|
|
1360
1368
|
setSelectedKeys,
|
|
1361
1369
|
confirm,
|
package/dist/index.mjs
CHANGED
|
@@ -1271,7 +1271,9 @@ function Table(props) {
|
|
|
1271
1271
|
return false;
|
|
1272
1272
|
return row[item.id].toLowerCase().includes(value.toLowerCase());
|
|
1273
1273
|
};
|
|
1274
|
-
if (
|
|
1274
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1275
|
+
break;
|
|
1276
|
+
if (!item.filters && item.optionsType !== "auto")
|
|
1275
1277
|
item.filterDropdown = ({
|
|
1276
1278
|
setSelectedKeys,
|
|
1277
1279
|
confirm,
|
|
@@ -1301,7 +1303,9 @@ function Table(props) {
|
|
|
1301
1303
|
return false;
|
|
1302
1304
|
return row[item.id].some((v) => v.toLowerCase().includes(value.toLowerCase()));
|
|
1303
1305
|
};
|
|
1304
|
-
if (
|
|
1306
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1307
|
+
break;
|
|
1308
|
+
if (!item.filters && item.optionsType !== "auto")
|
|
1305
1309
|
item.filterDropdown = ({
|
|
1306
1310
|
setSelectedKeys,
|
|
1307
1311
|
confirm,
|
|
@@ -1331,7 +1335,9 @@ function Table(props) {
|
|
|
1331
1335
|
return true;
|
|
1332
1336
|
return value == row[item.id];
|
|
1333
1337
|
};
|
|
1334
|
-
if (
|
|
1338
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1339
|
+
break;
|
|
1340
|
+
if (!item.filters)
|
|
1335
1341
|
item.filterDropdown = ({
|
|
1336
1342
|
setSelectedKeys,
|
|
1337
1343
|
confirm,
|
|
@@ -1361,7 +1367,9 @@ function Table(props) {
|
|
|
1361
1367
|
return false;
|
|
1362
1368
|
return row[item.id].includes(Number(value));
|
|
1363
1369
|
};
|
|
1364
|
-
if (
|
|
1370
|
+
if (item.filterDropdown === false || item.filterDropdown)
|
|
1371
|
+
break;
|
|
1372
|
+
if (!item.filters)
|
|
1365
1373
|
item.filterDropdown = ({
|
|
1366
1374
|
setSelectedKeys,
|
|
1367
1375
|
confirm,
|