@limetech/lime-elements 35.0.0-next.31 → 35.0.0-next.34
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/cjs/limel-file.cjs.entry.js +5 -3
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +971 -647
- package/dist/cjs/limel-table.cjs.entry.js +3 -3
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.css +1 -1
- package/dist/collection/components/file/icon-background-colors.js +2 -1
- package/dist/collection/components/file/icon-fill-colors.js +2 -1
- package/dist/collection/components/file/icons.js +1 -1
- package/dist/collection/components/table/table.css +197 -151
- package/dist/collection/components/table/table.js +8 -8
- package/dist/esm/limel-file.entry.js +5 -3
- package/dist/esm/limel-flatpickr-adapter.entry.js +971 -647
- package/dist/esm/limel-table.entry.js +3 -3
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-dd62c71b.entry.js → p-2a6217f9.entry.js} +1 -1
- package/dist/lime-elements/p-87a8afd2.entry.js +16 -0
- package/dist/lime-elements/{p-2542b5a3.entry.js → p-c9a8d4ca.entry.js} +1 -1
- package/package.json +7 -7
- package/dist/lime-elements/p-75846313.entry.js +0 -16
|
@@ -935,6 +935,144 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
935
935
|
background: #333;
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
+
:host {
|
|
939
|
+
display: block;
|
|
940
|
+
--table-header-background-color: var(--contrast-500);
|
|
941
|
+
--table-header-background-color--hover: var(--contrast-400);
|
|
942
|
+
--table-header-background-color-when-being-dragged: var(--contrast-100);
|
|
943
|
+
--table-row-background-color--odd: var(--contrast-200);
|
|
944
|
+
--table-row-background-color--even: var(--contrast-100);
|
|
945
|
+
--table-row-background-color--hover: var(--contrast-100);
|
|
946
|
+
--table-row-background-color--active: var(--color-teal-lighter);
|
|
947
|
+
--table-arrow-color: var(--contrast-800);
|
|
948
|
+
--table-arrow-color--active: var(--mdc-theme-primary);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
#tabulator-container,
|
|
952
|
+
#tabulator-table {
|
|
953
|
+
height: 100%;
|
|
954
|
+
width: 100%;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.tabulator {
|
|
958
|
+
display: flex;
|
|
959
|
+
flex-direction: column;
|
|
960
|
+
}
|
|
961
|
+
.tabulator * {
|
|
962
|
+
box-sizing: border-box;
|
|
963
|
+
}
|
|
964
|
+
.tabulator .tabulator-header {
|
|
965
|
+
flex-shrink: 0;
|
|
966
|
+
}
|
|
967
|
+
.tabulator .tabulator-tableHolder {
|
|
968
|
+
isolation: isolate;
|
|
969
|
+
flex-grow: 1;
|
|
970
|
+
height: unset !important;
|
|
971
|
+
max-height: unset !important;
|
|
972
|
+
min-height: unset !important;
|
|
973
|
+
}
|
|
974
|
+
.tabulator .tabulator-footer {
|
|
975
|
+
flex-shrink: 0;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
#tabulator-container:not(.has-pagination) .tabulator-paginator {
|
|
979
|
+
visibility: hidden;
|
|
980
|
+
display: none !important;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
#tabulator-container {
|
|
984
|
+
position: relative;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
#tabulator-container,
|
|
988
|
+
#tabulator-table {
|
|
989
|
+
-moz-osx-font-smoothing: grayscale;
|
|
990
|
+
-webkit-font-smoothing: antialiased;
|
|
991
|
+
font-family: Roboto, sans-serif;
|
|
992
|
+
/* @alternate */
|
|
993
|
+
font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
|
|
994
|
+
background-color: transparent;
|
|
995
|
+
border: none;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.tabulator .tabulator-header {
|
|
999
|
+
border-bottom: 0;
|
|
1000
|
+
background-color: rgb(var(--table-header-background-color));
|
|
1001
|
+
}
|
|
1002
|
+
.tabulator .tabulator-header .tabulator-headers {
|
|
1003
|
+
width: fit-content;
|
|
1004
|
+
}
|
|
1005
|
+
.tabulator .tabulator-header .tabulator-col {
|
|
1006
|
+
transition: background-color 0.2s ease;
|
|
1007
|
+
background-color: rgb(var(--table-header-background-color));
|
|
1008
|
+
border-right-color: rgb(var(--contrast-200));
|
|
1009
|
+
}
|
|
1010
|
+
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
|
|
1011
|
+
background-color: rgb(var(--table-header-background-color--hover));
|
|
1012
|
+
}
|
|
1013
|
+
.tabulator .tabulator-header .tabulator-col-title {
|
|
1014
|
+
font-weight: 500;
|
|
1015
|
+
padding-left: 0.125rem;
|
|
1016
|
+
line-height: 1.25rem;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.tabulator-row.tabulator-selectable {
|
|
1020
|
+
transition: background-color 0.2s ease;
|
|
1021
|
+
}
|
|
1022
|
+
.tabulator-row.tabulator-selectable:not(.active):hover {
|
|
1023
|
+
background-color: rgb(var(--table-header-background-color));
|
|
1024
|
+
}
|
|
1025
|
+
.tabulator-row.tabulator-row-odd {
|
|
1026
|
+
background-color: rgb(var(--table-row-background-color--odd));
|
|
1027
|
+
}
|
|
1028
|
+
.tabulator-row.tabulator-row-even {
|
|
1029
|
+
background-color: rgb(var(--table-row-background-color--even));
|
|
1030
|
+
}
|
|
1031
|
+
.tabulator-row.active, .tabulator-row.active:hover {
|
|
1032
|
+
background-color: rgb(var(--table-row-background-color--active));
|
|
1033
|
+
}
|
|
1034
|
+
.tabulator-row .tabulator-cell {
|
|
1035
|
+
border-right: transparent;
|
|
1036
|
+
padding: 0.5rem;
|
|
1037
|
+
display: inline-flex;
|
|
1038
|
+
align-items: center;
|
|
1039
|
+
}
|
|
1040
|
+
.tabulator-row .tabulator-cell[style*="text-align: right;"] {
|
|
1041
|
+
justify-content: flex-end;
|
|
1042
|
+
}
|
|
1043
|
+
.tabulator-row .tabulator-cell[style*="text-align: center;"] {
|
|
1044
|
+
justify-content: center;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.tabulator-col,
|
|
1048
|
+
.tabulator-cell {
|
|
1049
|
+
max-width: 37.5rem;
|
|
1050
|
+
font-size: 0.8125rem;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
#tabulator-loader,
|
|
1054
|
+
#tabulator-empty-text {
|
|
1055
|
+
position: absolute;
|
|
1056
|
+
width: 100%;
|
|
1057
|
+
height: 100%;
|
|
1058
|
+
z-index: 1;
|
|
1059
|
+
display: flex;
|
|
1060
|
+
align-items: center;
|
|
1061
|
+
justify-content: center;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
#tabulator-loader {
|
|
1065
|
+
background-color: rgba(var(--contrast-100), 0.6);
|
|
1066
|
+
cursor: wait;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
#tabulator-empty-text {
|
|
1070
|
+
color: rgb(var(--contrast-800));
|
|
1071
|
+
font-weight: bold;
|
|
1072
|
+
font-size: 1.25rem;
|
|
1073
|
+
pointer-events: none;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
938
1076
|
/*
|
|
939
1077
|
* This file is imported into every component!
|
|
940
1078
|
*
|
|
@@ -1018,13 +1156,13 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1018
1156
|
* Nothing in this file may output any CSS
|
|
1019
1157
|
* without being explicitly called by outside code.
|
|
1020
1158
|
*/
|
|
1021
|
-
.tabulator .tabulator-footer {
|
|
1022
|
-
transition: transform 0.5s ease-out, opacity 0.35s ease;
|
|
1023
|
-
}
|
|
1024
1159
|
.tabulator .tabulator-footer .tabulator-paginator {
|
|
1160
|
+
box-sizing: border-box;
|
|
1025
1161
|
display: grid;
|
|
1026
1162
|
grid-auto-flow: column;
|
|
1027
1163
|
justify-content: end;
|
|
1164
|
+
padding-top: 0.25rem;
|
|
1165
|
+
padding-bottom: 0.25rem;
|
|
1028
1166
|
}
|
|
1029
1167
|
.tabulator .tabulator-footer .tabulator-paginator .tabulator-pages {
|
|
1030
1168
|
margin: 0 0.5rem;
|
|
@@ -1040,7 +1178,7 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1040
1178
|
margin: 0;
|
|
1041
1179
|
border: none;
|
|
1042
1180
|
border-radius: 2.5rem;
|
|
1043
|
-
color:
|
|
1181
|
+
color: rgb(var(--contrast-1200)) !important;
|
|
1044
1182
|
background-color: transparent;
|
|
1045
1183
|
}
|
|
1046
1184
|
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:not([disabled]) {
|
|
@@ -1054,12 +1192,11 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1054
1192
|
transform: translate3d(0, 0.08rem, 0);
|
|
1055
1193
|
}
|
|
1056
1194
|
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:hover {
|
|
1057
|
-
color:
|
|
1058
|
-
background-color: rgb(var(--contrast-200));
|
|
1195
|
+
background-color: rgb(var(--contrast-100));
|
|
1059
1196
|
}
|
|
1060
1197
|
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page.active {
|
|
1198
|
+
background-color: rgb(var(--contrast-100));
|
|
1061
1199
|
box-shadow: var(--button-shadow-inset);
|
|
1062
|
-
background-color: #fff;
|
|
1063
1200
|
}
|
|
1064
1201
|
.tabulator .tabulator-footer .tabulator-paginator .tabulator-page:disabled {
|
|
1065
1202
|
cursor: not-allowed;
|
|
@@ -1068,27 +1205,6 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1068
1205
|
background-color: transparent;
|
|
1069
1206
|
}
|
|
1070
1207
|
|
|
1071
|
-
.tabulator:not(.has-pagination):not(.has-aggregation) .tabulator-tableHolder {
|
|
1072
|
-
height: calc(100% - 2.125rem) !important;
|
|
1073
|
-
max-height: calc(100% - 2.125rem) !important;
|
|
1074
|
-
}
|
|
1075
|
-
.tabulator:not(.has-pagination).has-aggregation .tabulator-tableHolder {
|
|
1076
|
-
height: calc(100% - (
|
|
1077
|
-
2.125rem + 2.25rem
|
|
1078
|
-
)) !important;
|
|
1079
|
-
max-height: calc(100% - (
|
|
1080
|
-
2.125rem + 2.25rem
|
|
1081
|
-
)) !important;
|
|
1082
|
-
}
|
|
1083
|
-
.tabulator:not(.has-pagination) .tabulator-footer {
|
|
1084
|
-
pointer-events: none;
|
|
1085
|
-
}
|
|
1086
|
-
.tabulator:not(.has-pagination) .tabulator-footer .tabulator-paginator {
|
|
1087
|
-
visibility: hidden;
|
|
1088
|
-
opacity: 0;
|
|
1089
|
-
transform: translateY(2.5rem);
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
1208
|
.tabulator-page[data-page=first], .tabulator-page[data-page=prev], .tabulator-page[data-page=next], .tabulator-page[data-page=last] {
|
|
1093
1209
|
font-size: 0;
|
|
1094
1210
|
color: transparent !important;
|
|
@@ -1221,6 +1337,31 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1221
1337
|
border-radius: 0 0.5rem 0.5rem 0;
|
|
1222
1338
|
}
|
|
1223
1339
|
|
|
1340
|
+
:host(.has-pagination-on-top) .tabulator .tabulator-header {
|
|
1341
|
+
order: 2;
|
|
1342
|
+
}
|
|
1343
|
+
:host(.has-pagination-on-top) .tabulator .tabulator-tableHolder {
|
|
1344
|
+
order: 3;
|
|
1345
|
+
}
|
|
1346
|
+
:host(.has-pagination-on-top) .tabulator .tabulator-footer {
|
|
1347
|
+
order: 1;
|
|
1348
|
+
background-color: transparent;
|
|
1349
|
+
}
|
|
1350
|
+
:host(.has-pagination-on-top) .tabulator .tabulator-calcs-holder {
|
|
1351
|
+
position: absolute;
|
|
1352
|
+
bottom: 0;
|
|
1353
|
+
}
|
|
1354
|
+
:host(.has-pagination-on-top) .has-aggregation .tabulator-tableHolder {
|
|
1355
|
+
padding-bottom: 1.75rem;
|
|
1356
|
+
}
|
|
1357
|
+
:host(.has-pagination-on-top) .select-all {
|
|
1358
|
+
top: 2.625rem;
|
|
1359
|
+
}
|
|
1360
|
+
:host(.has-pagination-on-top) #tabulator-container:not(.has-pagination) .tabulator-paginator {
|
|
1361
|
+
display: grid !important;
|
|
1362
|
+
opacity: 0;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1224
1365
|
/*
|
|
1225
1366
|
* This file is imported into every component!
|
|
1226
1367
|
*
|
|
@@ -1261,13 +1402,13 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1261
1402
|
transform: rotate(-2deg);
|
|
1262
1403
|
}
|
|
1263
1404
|
}
|
|
1264
|
-
.
|
|
1405
|
+
.has-movable-columns .tabulator-header {
|
|
1265
1406
|
overflow-y: visible;
|
|
1266
1407
|
}
|
|
1267
|
-
.
|
|
1408
|
+
.has-movable-columns .tabulator-header .tabulator-col:not(.tabulator-frozen) {
|
|
1268
1409
|
cursor: move !important;
|
|
1269
1410
|
}
|
|
1270
|
-
.
|
|
1411
|
+
.has-movable-columns .tabulator-header .tabulator-col:not(.tabulator-frozen).tabulator-sortable.tabulator-moving {
|
|
1271
1412
|
animation: detach-a-column-header 0.2s ease forwards;
|
|
1272
1413
|
opacity: 0.9;
|
|
1273
1414
|
border: none;
|
|
@@ -1275,13 +1416,34 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1275
1416
|
background-color: rgb(var(---table-header-background-color-when-being-dragged));
|
|
1276
1417
|
box-shadow: var(--shadow-depth-16);
|
|
1277
1418
|
}
|
|
1278
|
-
.
|
|
1419
|
+
.has-movable-columns .tabulator-header .tabulator-col:not(.tabulator-frozen).tabulator-sortable.tabulator-moving:hover {
|
|
1279
1420
|
background-color: rgb(var(---table-header-background-color-when-being-dragged));
|
|
1280
1421
|
}
|
|
1281
|
-
.
|
|
1422
|
+
.has-movable-columns .tabulator-header .tabulator-col:not(.tabulator-frozen).tabulator-sortable.tabulator-moving .tabulator-arrow:before {
|
|
1282
1423
|
background-color: rgb(var(---table-header-background-color-when-being-dragged));
|
|
1283
1424
|
}
|
|
1284
1425
|
|
|
1426
|
+
.tabulator .tabulator-footer {
|
|
1427
|
+
transition: transform 0.5s ease-out, opacity 0.35s ease;
|
|
1428
|
+
padding-top: 0;
|
|
1429
|
+
padding-bottom: 0;
|
|
1430
|
+
background-color: rgb(var(--table-header-background-color--hover));
|
|
1431
|
+
border: none;
|
|
1432
|
+
user-select: auto;
|
|
1433
|
+
}
|
|
1434
|
+
.tabulator .tabulator-footer .tabulator-calcs-holder {
|
|
1435
|
+
border-color: rgb(var(--contrast-600));
|
|
1436
|
+
margin-top: 0;
|
|
1437
|
+
margin-bottom: 0;
|
|
1438
|
+
}
|
|
1439
|
+
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-calcs {
|
|
1440
|
+
cursor: default;
|
|
1441
|
+
}
|
|
1442
|
+
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-cell {
|
|
1443
|
+
padding-top: 0.1875rem;
|
|
1444
|
+
padding-bottom: 0.1875rem;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1285
1447
|
/*
|
|
1286
1448
|
* This file is imported into every component!
|
|
1287
1449
|
*
|
|
@@ -1349,131 +1511,15 @@ body.tabulator-print-fullscreen-hide > *:not(.tabulator-print-fullscreen) {
|
|
|
1349
1511
|
display: none;
|
|
1350
1512
|
}
|
|
1351
1513
|
|
|
1352
|
-
.
|
|
1514
|
+
.has-movable-columns .tabulator-header .tabulator-col.limel-table--row-selector {
|
|
1353
1515
|
border: none;
|
|
1354
|
-
cursor: default;
|
|
1516
|
+
cursor: default !important;
|
|
1355
1517
|
pointer-events: none;
|
|
1356
1518
|
background-color: transparent;
|
|
1357
1519
|
background-image: linear-gradient(to right, rgb(var(--table-header-background-color--hover)) 70%, rgb(var(--table-header-background-color--hover), 0));
|
|
1358
|
-
position: sticky;
|
|
1359
1520
|
left: 0;
|
|
1360
1521
|
}
|
|
1361
1522
|
|
|
1362
1523
|
.has-selection .tabulator-calcs .tabulator-cell {
|
|
1363
1524
|
color: var(--table-arrow-color--active);
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
:host {
|
|
1367
|
-
display: block;
|
|
1368
|
-
--table-header-background-color: var(--contrast-500);
|
|
1369
|
-
--table-header-background-color--hover: var(--contrast-400);
|
|
1370
|
-
--table-header-background-color-when-being-dragged: var(--contrast-100);
|
|
1371
|
-
--table-row-background-color--odd: var(--contrast-200);
|
|
1372
|
-
--table-row-background-color--even: var(--contrast-100);
|
|
1373
|
-
--table-row-background-color--hover: var(--contrast-100);
|
|
1374
|
-
--table-row-background-color--active: var(--color-teal-lighter);
|
|
1375
|
-
--table-arrow-color: var(--contrast-800);
|
|
1376
|
-
--table-arrow-color--active: var(--mdc-theme-primary);
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
#tabulator-container {
|
|
1380
|
-
position: relative;
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
#tabulator-container,
|
|
1384
|
-
#tabulator-table {
|
|
1385
|
-
-moz-osx-font-smoothing: grayscale;
|
|
1386
|
-
-webkit-font-smoothing: antialiased;
|
|
1387
|
-
font-family: Roboto, sans-serif;
|
|
1388
|
-
/* @alternate */
|
|
1389
|
-
font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
|
|
1390
|
-
height: 100%;
|
|
1391
|
-
width: 100%;
|
|
1392
|
-
background-color: transparent;
|
|
1393
|
-
border: none;
|
|
1394
|
-
}
|
|
1395
|
-
|
|
1396
|
-
.tabulator .tabulator-header {
|
|
1397
|
-
border-bottom: 0;
|
|
1398
|
-
background-color: rgb(var(--table-header-background-color));
|
|
1399
|
-
}
|
|
1400
|
-
.tabulator .tabulator-header .tabulator-col {
|
|
1401
|
-
transition: background-color 0.2s ease;
|
|
1402
|
-
background-color: rgb(var(--table-header-background-color));
|
|
1403
|
-
border-right-color: rgb(var(--contrast-200));
|
|
1404
|
-
}
|
|
1405
|
-
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
|
|
1406
|
-
background-color: rgb(var(--table-header-background-color--hover));
|
|
1407
|
-
}
|
|
1408
|
-
.tabulator .tabulator-header .tabulator-col-title {
|
|
1409
|
-
font-weight: 500;
|
|
1410
|
-
padding-left: 0.125rem;
|
|
1411
|
-
}
|
|
1412
|
-
.tabulator .tabulator-footer {
|
|
1413
|
-
background-color: rgb(var(--table-header-background-color--hover));
|
|
1414
|
-
border: none;
|
|
1415
|
-
user-select: auto;
|
|
1416
|
-
}
|
|
1417
|
-
.tabulator .tabulator-footer .tabulator-calcs-holder {
|
|
1418
|
-
border-color: rgb(var(--contrast-600));
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
.tabulator-row.tabulator-calcs {
|
|
1422
|
-
cursor: default !important;
|
|
1423
|
-
}
|
|
1424
|
-
.tabulator-row.tabulator-selectable {
|
|
1425
|
-
transition: background-color 0.2s ease;
|
|
1426
|
-
}
|
|
1427
|
-
.tabulator-row.tabulator-selectable:not(.active):hover {
|
|
1428
|
-
background-color: rgb(var(--table-header-background-color));
|
|
1429
|
-
}
|
|
1430
|
-
.tabulator-row.tabulator-row-odd {
|
|
1431
|
-
background-color: rgb(var(--table-row-background-color--odd));
|
|
1432
|
-
}
|
|
1433
|
-
.tabulator-row.tabulator-row-even {
|
|
1434
|
-
background-color: rgb(var(--table-row-background-color--even));
|
|
1435
|
-
}
|
|
1436
|
-
.tabulator-row.active, .tabulator-row.active:hover {
|
|
1437
|
-
background-color: rgb(var(--table-row-background-color--active));
|
|
1438
|
-
}
|
|
1439
|
-
.tabulator-row .tabulator-cell {
|
|
1440
|
-
border-right: transparent;
|
|
1441
|
-
padding: 0.5rem;
|
|
1442
|
-
display: inline-flex;
|
|
1443
|
-
align-items: center;
|
|
1444
|
-
}
|
|
1445
|
-
.tabulator-row .tabulator-cell[style*="text-align: right;"] {
|
|
1446
|
-
justify-content: flex-end;
|
|
1447
|
-
}
|
|
1448
|
-
.tabulator-row .tabulator-cell[style*="text-align: center;"] {
|
|
1449
|
-
justify-content: center;
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
.tabulator-col,
|
|
1453
|
-
.tabulator-cell {
|
|
1454
|
-
max-width: 37.5rem;
|
|
1455
|
-
font-size: 0.8125rem;
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
#tabulator-loader,
|
|
1459
|
-
#tabulator-empty-text {
|
|
1460
|
-
position: absolute;
|
|
1461
|
-
width: 100%;
|
|
1462
|
-
height: 100%;
|
|
1463
|
-
z-index: 1;
|
|
1464
|
-
display: flex;
|
|
1465
|
-
align-items: center;
|
|
1466
|
-
justify-content: center;
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
#tabulator-loader {
|
|
1470
|
-
background-color: rgba(var(--contrast-100), 0.6);
|
|
1471
|
-
cursor: wait;
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
#tabulator-empty-text {
|
|
1475
|
-
color: rgb(var(--contrast-800));
|
|
1476
|
-
font-weight: bold;
|
|
1477
|
-
font-size: 1.25rem;
|
|
1478
|
-
pointer-events: none;
|
|
1479
1525
|
}
|
|
@@ -433,18 +433,18 @@ export class Table {
|
|
|
433
433
|
}
|
|
434
434
|
render() {
|
|
435
435
|
var _a;
|
|
436
|
-
return (h("div", { id: "tabulator-container"
|
|
436
|
+
return (h("div", { id: "tabulator-container", class: {
|
|
437
|
+
'has-pagination': this.totalRows > this.pageSize,
|
|
438
|
+
'has-aggregation': this.hasAggregation(this.columns),
|
|
439
|
+
'has-movable-columns': this.movableColumns,
|
|
440
|
+
'has-rowselector': this.selectable,
|
|
441
|
+
'has-selection': (_a = this.tableSelection) === null || _a === void 0 ? void 0 : _a.hasSelection,
|
|
442
|
+
} },
|
|
437
443
|
h("div", { id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } },
|
|
438
444
|
h("limel-spinner", { size: "large" })),
|
|
439
445
|
this.renderEmptyMessage(),
|
|
440
446
|
this.renderSelectAll(),
|
|
441
|
-
h("div", { id: "tabulator-table"
|
|
442
|
-
'has-pagination': this.totalRows > this.pageSize,
|
|
443
|
-
'has-aggregation': this.hasAggregation(this.columns),
|
|
444
|
-
'has-movable-columns': this.movableColumns,
|
|
445
|
-
'has-rowselector': this.selectable,
|
|
446
|
-
'has-selection': (_a = this.tableSelection) === null || _a === void 0 ? void 0 : _a.hasSelection,
|
|
447
|
-
} })));
|
|
447
|
+
h("div", { id: "tabulator-table" })));
|
|
448
448
|
}
|
|
449
449
|
renderSelectAll() {
|
|
450
450
|
var _a, _b, _c;
|
|
@@ -117,7 +117,7 @@ const filetypeIconTable = {
|
|
|
117
117
|
dbf: DATA_ICON,
|
|
118
118
|
};
|
|
119
119
|
function getIconForFile(extension) {
|
|
120
|
-
return filetypeIconTable[extension] || DEFAULT_ICON;
|
|
120
|
+
return filetypeIconTable[extension.toLowerCase()] || DEFAULT_ICON;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
const DEFAULT_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
|
|
@@ -229,7 +229,8 @@ const filetypeFillColorTable = {
|
|
|
229
229
|
dbf: DATA_ICON_FILL_COLOR,
|
|
230
230
|
};
|
|
231
231
|
function getIconFillColorForFile(extension) {
|
|
232
|
-
return filetypeFillColorTable[extension] ||
|
|
232
|
+
return (filetypeFillColorTable[extension.toLowerCase()] ||
|
|
233
|
+
DEFAULT_ICON_FILL_COLOR);
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
const DEFAULT_ICON_BACKGROUND_COLOR = 'rgba(var(--color-gray-lighter), 0.4)';
|
|
@@ -341,7 +342,8 @@ const filetypeBackgroundColorTable = {
|
|
|
341
342
|
dbf: DATA_ICON_BACKGROUND_COLOR,
|
|
342
343
|
};
|
|
343
344
|
function getIconBackgroundColorForFile(extension) {
|
|
344
|
-
return (filetypeBackgroundColorTable[extension] ||
|
|
345
|
+
return (filetypeBackgroundColorTable[extension.toLowerCase()] ||
|
|
346
|
+
DEFAULT_ICON_BACKGROUND_COLOR);
|
|
345
347
|
}
|
|
346
348
|
|
|
347
349
|
function getFileIcon(file) {
|