@procore/data-table 14.36.1 → 14.38.0
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/CHANGELOG.md +16 -0
- package/dist/legacy/index.cjs +775 -46
- package/dist/legacy/index.d.cts +1 -0
- package/dist/legacy/index.d.ts +1 -0
- package/dist/legacy/index.js +775 -46
- package/dist/modern/index.cjs +774 -45
- package/dist/modern/index.d.cts +1 -0
- package/dist/modern/index.d.ts +1 -0
- package/dist/modern/index.js +774 -45
- package/package.json +4 -5
package/dist/legacy/index.cjs
CHANGED
|
@@ -54660,6 +54660,33 @@ function SingleSelectFilterRenderer({
|
|
|
54660
54660
|
);
|
|
54661
54661
|
}
|
|
54662
54662
|
|
|
54663
|
+
// src/utils/columnEditableHelpers.ts
|
|
54664
|
+
function createColumnEditableUtils(options) {
|
|
54665
|
+
return {
|
|
54666
|
+
overrideEditable: (columnEditable) => {
|
|
54667
|
+
return (params) => {
|
|
54668
|
+
var _a;
|
|
54669
|
+
const isGroupNodeExpanded = params.node.group && params.node.expanded;
|
|
54670
|
+
if (((_a = params.node) == null ? void 0 : _a.rowPinned) || !options.enableGroupHeaderEdit && isGroupNodeExpanded && !params.node.footer) {
|
|
54671
|
+
return false;
|
|
54672
|
+
}
|
|
54673
|
+
if (typeof columnEditable === "boolean") {
|
|
54674
|
+
return columnEditable;
|
|
54675
|
+
}
|
|
54676
|
+
return (columnEditable == null ? void 0 : columnEditable(params)) ?? false;
|
|
54677
|
+
};
|
|
54678
|
+
}
|
|
54679
|
+
};
|
|
54680
|
+
}
|
|
54681
|
+
function isColumnEditable(columnEditable) {
|
|
54682
|
+
return (params) => {
|
|
54683
|
+
if (typeof columnEditable === "boolean") {
|
|
54684
|
+
return columnEditable;
|
|
54685
|
+
}
|
|
54686
|
+
return (columnEditable == null ? void 0 : columnEditable(params)) ?? false;
|
|
54687
|
+
};
|
|
54688
|
+
}
|
|
54689
|
+
|
|
54663
54690
|
// src/utils/transformers.ts
|
|
54664
54691
|
var emptyObject = {};
|
|
54665
54692
|
var DEFAULT_AUTO_GROUP_COLUMN_DEFINITION = {
|
|
@@ -54743,24 +54770,12 @@ function transformToColumnDefinition(colDef = emptyObject) {
|
|
|
54743
54770
|
valueSetter: colDef.valueSetter
|
|
54744
54771
|
};
|
|
54745
54772
|
}
|
|
54746
|
-
function isEditable(columnEditable) {
|
|
54747
|
-
return (params) => {
|
|
54748
|
-
var _a;
|
|
54749
|
-
if (((_a = params.node) == null ? void 0 : _a.rowPinned) || params.node.group && params.node.expanded && !params.node.footer) {
|
|
54750
|
-
return false;
|
|
54751
|
-
}
|
|
54752
|
-
if (typeof columnEditable === "boolean") {
|
|
54753
|
-
return columnEditable;
|
|
54754
|
-
}
|
|
54755
|
-
return (columnEditable == null ? void 0 : columnEditable(params)) ?? false;
|
|
54756
|
-
};
|
|
54757
|
-
}
|
|
54758
54773
|
function shouldHaveEditStyles(params) {
|
|
54759
54774
|
var _a;
|
|
54760
54775
|
if (!((_a = params.colDef) == null ? void 0 : _a.cellEditor)) {
|
|
54761
54776
|
return false;
|
|
54762
54777
|
}
|
|
54763
|
-
return
|
|
54778
|
+
return isColumnEditable(params.colDef.editable);
|
|
54764
54779
|
}
|
|
54765
54780
|
var toExcelCellClass = (className) => `excel-export--${className}`;
|
|
54766
54781
|
function transformToExcelStyles(excelDataFormats) {
|
|
@@ -54885,11 +54900,11 @@ function transformColumnDefinitionToColDef(dataTableColumnDefinition, enableGrou
|
|
|
54885
54900
|
parentData: context == null ? void 0 : context.parentData,
|
|
54886
54901
|
parentId: context == null ? void 0 : context.parentId
|
|
54887
54902
|
}) : aggFunc,
|
|
54888
|
-
bulkEditable:
|
|
54903
|
+
bulkEditable: isColumnEditable(bulkEditable),
|
|
54889
54904
|
cellClass: cellExcelDataType ? toExcelCellClass(cellExcelDataType) : void 0,
|
|
54890
54905
|
cellClassRules,
|
|
54891
54906
|
comparator,
|
|
54892
|
-
editable:
|
|
54907
|
+
editable: isColumnEditable(_editable),
|
|
54893
54908
|
filter: getFilter(dataTableColumnDefinition),
|
|
54894
54909
|
// set filter by default
|
|
54895
54910
|
filterParams: {
|
|
@@ -55214,12 +55229,12 @@ function getDecoratedAutoGroupColDef(columnDefinition, enableGroupEditAndValidat
|
|
|
55214
55229
|
}
|
|
55215
55230
|
|
|
55216
55231
|
// src/CellRenderers/AutoGroupCell.scss
|
|
55217
|
-
var css5 = `.
|
|
55232
|
+
var css5 = `._autoGroupCell_1qx8z_1 {
|
|
55218
55233
|
height: 100%;
|
|
55219
55234
|
width: 100%;
|
|
55220
55235
|
}
|
|
55221
55236
|
|
|
55222
|
-
.
|
|
55237
|
+
._indent_1qx8z_6 {
|
|
55223
55238
|
border-right: 1px solid #d6dadc;
|
|
55224
55239
|
background: #f4f5f6;
|
|
55225
55240
|
position: absolute;
|
|
@@ -55227,44 +55242,45 @@ var css5 = `._autoGroupCell_pq41h_1 {
|
|
|
55227
55242
|
bottom: -1px;
|
|
55228
55243
|
width: 12px;
|
|
55229
55244
|
}
|
|
55230
|
-
.
|
|
55245
|
+
._indent_1qx8z_6._innermostLastIndent_1qx8z_14 {
|
|
55231
55246
|
bottom: 0px;
|
|
55232
55247
|
}
|
|
55233
55248
|
|
|
55234
|
-
.
|
|
55249
|
+
._expandableCaret_1qx8z_18 {
|
|
55235
55250
|
margin-left: -8px;
|
|
55236
55251
|
margin-right: 4px;
|
|
55237
55252
|
width: 24px;
|
|
55253
|
+
flex-shrink: 0;
|
|
55238
55254
|
}
|
|
55239
55255
|
|
|
55240
|
-
.
|
|
55256
|
+
._expandCaret_1qx8z_25 {
|
|
55241
55257
|
color: #2066df;
|
|
55242
55258
|
cursor: pointer;
|
|
55243
55259
|
}
|
|
55244
55260
|
|
|
55245
|
-
.
|
|
55261
|
+
._collapseCaret_1qx8z_30 {
|
|
55246
55262
|
color: #75838a;
|
|
55247
55263
|
cursor: pointer;
|
|
55248
55264
|
}
|
|
55249
55265
|
|
|
55250
|
-
.
|
|
55266
|
+
._value_1qx8z_35 {
|
|
55251
55267
|
overflow: hidden;
|
|
55252
55268
|
text-overflow: ellipsis;
|
|
55253
55269
|
font-size: 12px;
|
|
55254
55270
|
}
|
|
55255
|
-
.
|
|
55271
|
+
._value_1qx8z_35._footer_1qx8z_40 {
|
|
55256
55272
|
color: #6a767c;
|
|
55257
55273
|
}`;
|
|
55258
55274
|
document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css5));
|
|
55259
55275
|
var AutoGroupCell_default = {
|
|
55260
|
-
"autoGroupCell": "
|
|
55261
|
-
"indent": "
|
|
55262
|
-
"innermostLastIndent": "
|
|
55263
|
-
"expandableCaret": "
|
|
55264
|
-
"expandCaret": "
|
|
55265
|
-
"collapseCaret": "
|
|
55266
|
-
"value": "
|
|
55267
|
-
"footer": "
|
|
55276
|
+
"autoGroupCell": "_autoGroupCell_1qx8z_1",
|
|
55277
|
+
"indent": "_indent_1qx8z_6",
|
|
55278
|
+
"innermostLastIndent": "_innermostLastIndent_1qx8z_14",
|
|
55279
|
+
"expandableCaret": "_expandableCaret_1qx8z_18",
|
|
55280
|
+
"expandCaret": "_expandCaret_1qx8z_25",
|
|
55281
|
+
"collapseCaret": "_collapseCaret_1qx8z_30",
|
|
55282
|
+
"value": "_value_1qx8z_35",
|
|
55283
|
+
"footer": "_footer_1qx8z_40"
|
|
55268
55284
|
};
|
|
55269
55285
|
|
|
55270
55286
|
// src/utils/rowSelectionHelpers.ts
|
|
@@ -76375,12 +76391,12 @@ var MenuItemMapper = class MenuItemMapper2 extends BeanStub {
|
|
|
76375
76391
|
if (ModuleRegistry.__assertRegistered(ModuleNames.ClipboardModule, "Cut from Menu", this.context.getGridId())) {
|
|
76376
76392
|
const focusedCell = this.focusService.getFocusedCell();
|
|
76377
76393
|
const rowNode = focusedCell ? this.rowPositionUtils.getRowNode(focusedCell) : null;
|
|
76378
|
-
const
|
|
76394
|
+
const isEditable = rowNode ? focusedCell === null || focusedCell === void 0 ? void 0 : focusedCell.column.isCellEditable(rowNode) : false;
|
|
76379
76395
|
return {
|
|
76380
76396
|
name: localeTextFunc("cut", "Cut"),
|
|
76381
76397
|
shortcut: localeTextFunc("ctrlX", "Ctrl+X"),
|
|
76382
76398
|
icon: _.createIconNoSpan("clipboardCut", this.gridOptionsService, null),
|
|
76383
|
-
disabled: !
|
|
76399
|
+
disabled: !isEditable || this.gridOptionsService.is("suppressCutToClipboard"),
|
|
76384
76400
|
action: () => this.clipboardService.cutToClipboard(void 0, "contextMenu")
|
|
76385
76401
|
};
|
|
76386
76402
|
} else {
|
|
@@ -106267,6 +106283,177 @@ var is_IS_default = {
|
|
|
106267
106283
|
}
|
|
106268
106284
|
};
|
|
106269
106285
|
|
|
106286
|
+
// src/locales/it-IT.json
|
|
106287
|
+
var it_IT_default = {
|
|
106288
|
+
dataTable: {
|
|
106289
|
+
emptyState: {
|
|
106290
|
+
noFilteredResults: {
|
|
106291
|
+
description: "Controllare l'ortografia e le opzioni di filtro oppure effettuare la ricerca con una parola chiave diversa.",
|
|
106292
|
+
title: "Nessun elemento corrispondente alla ricerca",
|
|
106293
|
+
itemsTitle: "Nessuna corrispondenza %{itemsLabel} con la ricerca"
|
|
106294
|
+
},
|
|
106295
|
+
noResults: {
|
|
106296
|
+
description: "Gli elementi creati dal team saranno accessibili qui. ",
|
|
106297
|
+
title: "Al momento non sono presenti elementi da visualizzare",
|
|
106298
|
+
itemsTitle: "Al momento non sono presenti %{itemsLabel} da visualizzare",
|
|
106299
|
+
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni a %{tableName}",
|
|
106300
|
+
searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni a %{tableName}",
|
|
106301
|
+
featureFilter: "Filtro",
|
|
106302
|
+
featureQuickFilter: "Filtro rapido",
|
|
106303
|
+
featureGroupBy: "Raggruppa per",
|
|
106304
|
+
featureConfigure: "Configura",
|
|
106305
|
+
tableNameFallback: "tabella"
|
|
106306
|
+
}
|
|
106307
|
+
},
|
|
106308
|
+
bulkActions: {
|
|
106309
|
+
apply: "Applica",
|
|
106310
|
+
bulkEdit: "Modifica in blocco",
|
|
106311
|
+
cancel: "Annulla",
|
|
106312
|
+
editValues: "Modifica valori",
|
|
106313
|
+
error: "Impossibile aggiornare gli elementi. Riprovare.",
|
|
106314
|
+
placeholderForField: "Inserire %{fieldName}",
|
|
106315
|
+
selection: "%{count} %{number} selezionati",
|
|
106316
|
+
selection_count: {
|
|
106317
|
+
zero: "%{count} elementi selezionati",
|
|
106318
|
+
one: "%{count} elemento selezionato",
|
|
106319
|
+
other: "%{count} elementi selezionati"
|
|
106320
|
+
},
|
|
106321
|
+
success: "Gli elementi sono stati aggiornati correttamente.",
|
|
106322
|
+
one: "elemento",
|
|
106323
|
+
many: "elementi"
|
|
106324
|
+
},
|
|
106325
|
+
exporting: "Esportazione in corso...",
|
|
106326
|
+
filters: {
|
|
106327
|
+
filters: "Filtri",
|
|
106328
|
+
moreFilters: "Altri filtri",
|
|
106329
|
+
clearAllFilters: "Cancella tutti i filtri",
|
|
106330
|
+
close: "Chiudi",
|
|
106331
|
+
locationFilter: {
|
|
106332
|
+
selectAll: "Seleziona tutto",
|
|
106333
|
+
includeSublocations: "Includi posizioni secondarie",
|
|
106334
|
+
searchLocations: "Cerca posizioni",
|
|
106335
|
+
locations: "Posizioni"
|
|
106336
|
+
},
|
|
106337
|
+
numberFilter: {
|
|
106338
|
+
labels: {
|
|
106339
|
+
and: "e",
|
|
106340
|
+
input_placeholder: "Inserisci valore",
|
|
106341
|
+
placeholder: "Selezionare un elemento"
|
|
106342
|
+
},
|
|
106343
|
+
options: {
|
|
106344
|
+
any_value: "Qualsiasi valore",
|
|
106345
|
+
is_between: "\xC8 compreso tra",
|
|
106346
|
+
greater_than: "\xC8 maggiore di",
|
|
106347
|
+
greater_than_equal_to: "\xC8 maggiore o uguale a",
|
|
106348
|
+
less_than: "\xC8 minore di",
|
|
106349
|
+
less_than_equal_to: "\xC8 minore o uguale a",
|
|
106350
|
+
no_value: "Nessun valore"
|
|
106351
|
+
}
|
|
106352
|
+
},
|
|
106353
|
+
singleSelectFilter: {
|
|
106354
|
+
placeholder: "Selezionare un valore"
|
|
106355
|
+
},
|
|
106356
|
+
multiSelectQuickFilter: {
|
|
106357
|
+
ariaLabel: "Filtro rapido: selezionare pi\xF9 opzioni"
|
|
106358
|
+
},
|
|
106359
|
+
singleSelectQuickFilter: {
|
|
106360
|
+
ariaLabel: "Filtro rapido: selezionare un'opzione"
|
|
106361
|
+
}
|
|
106362
|
+
},
|
|
106363
|
+
loading: {
|
|
106364
|
+
initial: "Caricamento delle informazioni in corso.",
|
|
106365
|
+
secondary: "Caricamento delle informazioni in corso, grazie per la pazienza."
|
|
106366
|
+
},
|
|
106367
|
+
menuOptions: {
|
|
106368
|
+
sortMenuItem: {
|
|
106369
|
+
label: "Ordina per questa colonna",
|
|
106370
|
+
sortAscItem: "Ordina colonna (crescente)",
|
|
106371
|
+
sortDescItem: "Ordina colonna (decrescente)",
|
|
106372
|
+
sortResetItem: "Colonna non ordinata"
|
|
106373
|
+
},
|
|
106374
|
+
expandAllGroups: "Espandi tutti i gruppi",
|
|
106375
|
+
collapseAllGroups: "Comprimi tutti i gruppi",
|
|
106376
|
+
pinColumn: "Fissa colonna",
|
|
106377
|
+
pinLeft: "Fissa a sinistra",
|
|
106378
|
+
pinRight: "Fissa a destra",
|
|
106379
|
+
noPin: "Sblocca",
|
|
106380
|
+
autoSizeThisColumn: "Dimensione automatica per questa colonna",
|
|
106381
|
+
autoSizeAllColumns: "Dimensione automatica per tutte le colonne",
|
|
106382
|
+
hideColumn: "Nascondi colonna",
|
|
106383
|
+
resetColumns: "Reimposta colonne",
|
|
106384
|
+
unGroupBy: "Annulla raggruppamento per {{label}}",
|
|
106385
|
+
groupBy: "Raggruppa per {{label}}"
|
|
106386
|
+
},
|
|
106387
|
+
grandTotals: "Totali generali",
|
|
106388
|
+
search: "Cerca",
|
|
106389
|
+
subtotals: "Subtotali",
|
|
106390
|
+
tableSettings: {
|
|
106391
|
+
configureColumns: "Configura colonne",
|
|
106392
|
+
resetToDefault: "Mostra tutto",
|
|
106393
|
+
rowHeight: "Altezza riga",
|
|
106394
|
+
small: "Piccola",
|
|
106395
|
+
medium: "Media",
|
|
106396
|
+
large: "Grande",
|
|
106397
|
+
tableSettings: "Impostazioni tabella",
|
|
106398
|
+
groupBy: "Raggruppa per:",
|
|
106399
|
+
reset: "Reimposta",
|
|
106400
|
+
selectColumnGroup: "Selezionare una colonna da usare per il raggruppamento",
|
|
106401
|
+
configure: "Configura"
|
|
106402
|
+
},
|
|
106403
|
+
rowGroupToggle: {
|
|
106404
|
+
expandTierOne: "Aprire i primi gruppi nella tabella.",
|
|
106405
|
+
expandAll: "Aprire tutti i gruppi nella tabella.",
|
|
106406
|
+
collapseAll: "Chiudere tutti i gruppi nella tabella."
|
|
106407
|
+
},
|
|
106408
|
+
columnGroupToggle: {
|
|
106409
|
+
collapse: "Comprimi gruppo di colonne",
|
|
106410
|
+
expand: "Espandi gruppo di colonne"
|
|
106411
|
+
},
|
|
106412
|
+
cells: {
|
|
106413
|
+
textCell: {
|
|
106414
|
+
placeholder: "Inserisci testo"
|
|
106415
|
+
},
|
|
106416
|
+
currencyCell: {
|
|
106417
|
+
placeholder: "Inserisci valuta"
|
|
106418
|
+
},
|
|
106419
|
+
numberCell: {
|
|
106420
|
+
placeholder: "Inserisci numero"
|
|
106421
|
+
},
|
|
106422
|
+
percentCell: {
|
|
106423
|
+
placeholder: "Inserisci %"
|
|
106424
|
+
},
|
|
106425
|
+
pillCell: {
|
|
106426
|
+
placeholder: "Seleziona {{label}}"
|
|
106427
|
+
},
|
|
106428
|
+
selectCell: {
|
|
106429
|
+
placeholder: "Seleziona {{label}}"
|
|
106430
|
+
},
|
|
106431
|
+
multiSelectCell: {
|
|
106432
|
+
placeholder: "Seleziona valori"
|
|
106433
|
+
},
|
|
106434
|
+
booleanCell: {
|
|
106435
|
+
options: {
|
|
106436
|
+
yes: "S\xEC",
|
|
106437
|
+
no: "No"
|
|
106438
|
+
}
|
|
106439
|
+
}
|
|
106440
|
+
},
|
|
106441
|
+
filterRenders: {
|
|
106442
|
+
dateFilter: {
|
|
106443
|
+
single: "Singolo",
|
|
106444
|
+
range: "Intervallo"
|
|
106445
|
+
}
|
|
106446
|
+
},
|
|
106447
|
+
groupCell: {
|
|
106448
|
+
expand: "Espandi gruppo",
|
|
106449
|
+
collapse: "Comprimi gruppo"
|
|
106450
|
+
},
|
|
106451
|
+
rowCheckbox: {
|
|
106452
|
+
ariaLabel: "Seleziona riga"
|
|
106453
|
+
}
|
|
106454
|
+
}
|
|
106455
|
+
};
|
|
106456
|
+
|
|
106270
106457
|
// src/locales/ja-JP.json
|
|
106271
106458
|
var ja_JP_default = {
|
|
106272
106459
|
dataTable: {
|
|
@@ -106438,6 +106625,177 @@ var ja_JP_default = {
|
|
|
106438
106625
|
}
|
|
106439
106626
|
};
|
|
106440
106627
|
|
|
106628
|
+
// src/locales/nb-NO.json
|
|
106629
|
+
var nb_NO_default = {
|
|
106630
|
+
dataTable: {
|
|
106631
|
+
emptyState: {
|
|
106632
|
+
noFilteredResults: {
|
|
106633
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
106634
|
+
title: "No Items Match Your Search",
|
|
106635
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
106636
|
+
},
|
|
106637
|
+
noResults: {
|
|
106638
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
106639
|
+
title: "There Are No Items to Display Right Now",
|
|
106640
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
106641
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
106642
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
106643
|
+
featureFilter: "Filter",
|
|
106644
|
+
featureQuickFilter: "Quick Filter",
|
|
106645
|
+
featureGroupBy: "Group By",
|
|
106646
|
+
featureConfigure: "Configure",
|
|
106647
|
+
tableNameFallback: "table"
|
|
106648
|
+
}
|
|
106649
|
+
},
|
|
106650
|
+
bulkActions: {
|
|
106651
|
+
apply: "Apply",
|
|
106652
|
+
bulkEdit: "Bulk Edit",
|
|
106653
|
+
cancel: "Cancel",
|
|
106654
|
+
editValues: "Edit Values",
|
|
106655
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
106656
|
+
placeholderForField: "Enter %{fieldName}",
|
|
106657
|
+
selection: "%{count} %{number} selected",
|
|
106658
|
+
selection_count: {
|
|
106659
|
+
zero: "%{count} items selected",
|
|
106660
|
+
one: "%{count} item selected",
|
|
106661
|
+
other: "%{count} items selected"
|
|
106662
|
+
},
|
|
106663
|
+
success: "The items were successfully updated.",
|
|
106664
|
+
one: "item",
|
|
106665
|
+
many: "items"
|
|
106666
|
+
},
|
|
106667
|
+
exporting: "Exporting...",
|
|
106668
|
+
filters: {
|
|
106669
|
+
filters: "Filters",
|
|
106670
|
+
moreFilters: "More Filters",
|
|
106671
|
+
clearAllFilters: "Clear All Filters",
|
|
106672
|
+
close: "Close",
|
|
106673
|
+
locationFilter: {
|
|
106674
|
+
selectAll: "Select all",
|
|
106675
|
+
includeSublocations: "Include sublocations",
|
|
106676
|
+
searchLocations: "Search locations",
|
|
106677
|
+
locations: "Locations"
|
|
106678
|
+
},
|
|
106679
|
+
numberFilter: {
|
|
106680
|
+
labels: {
|
|
106681
|
+
and: "and",
|
|
106682
|
+
input_placeholder: "Enter Value",
|
|
106683
|
+
placeholder: "Select an item"
|
|
106684
|
+
},
|
|
106685
|
+
options: {
|
|
106686
|
+
any_value: "Any Value",
|
|
106687
|
+
is_between: "Is Between",
|
|
106688
|
+
greater_than: "Is Greater Than",
|
|
106689
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
106690
|
+
less_than: "Is Less Than",
|
|
106691
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
106692
|
+
no_value: "No Value"
|
|
106693
|
+
}
|
|
106694
|
+
},
|
|
106695
|
+
singleSelectFilter: {
|
|
106696
|
+
placeholder: "Select a Value"
|
|
106697
|
+
},
|
|
106698
|
+
multiSelectQuickFilter: {
|
|
106699
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
106700
|
+
},
|
|
106701
|
+
singleSelectQuickFilter: {
|
|
106702
|
+
ariaLabel: "Quick filter: Select an option"
|
|
106703
|
+
}
|
|
106704
|
+
},
|
|
106705
|
+
loading: {
|
|
106706
|
+
initial: "Information loading.",
|
|
106707
|
+
secondary: "Information loading, thanks for your patience."
|
|
106708
|
+
},
|
|
106709
|
+
menuOptions: {
|
|
106710
|
+
sortMenuItem: {
|
|
106711
|
+
label: "Sort By This Column",
|
|
106712
|
+
sortAscItem: "Sort Column Ascending",
|
|
106713
|
+
sortDescItem: "Sort Column Descending",
|
|
106714
|
+
sortResetItem: "Column Not Sorted"
|
|
106715
|
+
},
|
|
106716
|
+
expandAllGroups: "Expand All Groups",
|
|
106717
|
+
collapseAllGroups: "Collapse All Groups",
|
|
106718
|
+
pinColumn: "Pin Column",
|
|
106719
|
+
pinLeft: "Pin Left",
|
|
106720
|
+
pinRight: "Pin Right",
|
|
106721
|
+
noPin: "No Pin",
|
|
106722
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
106723
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
106724
|
+
hideColumn: "Hide Column",
|
|
106725
|
+
resetColumns: "Reset Columns",
|
|
106726
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
106727
|
+
groupBy: "Group by {{label}}"
|
|
106728
|
+
},
|
|
106729
|
+
grandTotals: "Grand Totals",
|
|
106730
|
+
search: "Search",
|
|
106731
|
+
subtotals: "Subtotals",
|
|
106732
|
+
tableSettings: {
|
|
106733
|
+
configureColumns: "Configure Columns",
|
|
106734
|
+
resetToDefault: "Show All",
|
|
106735
|
+
rowHeight: "Row Height",
|
|
106736
|
+
small: "Small",
|
|
106737
|
+
medium: "Medium",
|
|
106738
|
+
large: "Large",
|
|
106739
|
+
tableSettings: "Table Settings",
|
|
106740
|
+
groupBy: "Group by:",
|
|
106741
|
+
reset: "Reset",
|
|
106742
|
+
selectColumnGroup: "Select a column to group",
|
|
106743
|
+
configure: "Configure"
|
|
106744
|
+
},
|
|
106745
|
+
rowGroupToggle: {
|
|
106746
|
+
expandTierOne: "Open first groups in the table.",
|
|
106747
|
+
expandAll: "Open all groups in the table.",
|
|
106748
|
+
collapseAll: "Close all groups in the table."
|
|
106749
|
+
},
|
|
106750
|
+
columnGroupToggle: {
|
|
106751
|
+
collapse: "Collapse column group",
|
|
106752
|
+
expand: "Expand column group"
|
|
106753
|
+
},
|
|
106754
|
+
cells: {
|
|
106755
|
+
textCell: {
|
|
106756
|
+
placeholder: "Enter text"
|
|
106757
|
+
},
|
|
106758
|
+
currencyCell: {
|
|
106759
|
+
placeholder: "Enter currency"
|
|
106760
|
+
},
|
|
106761
|
+
numberCell: {
|
|
106762
|
+
placeholder: "Enter number"
|
|
106763
|
+
},
|
|
106764
|
+
percentCell: {
|
|
106765
|
+
placeholder: "Enter %"
|
|
106766
|
+
},
|
|
106767
|
+
pillCell: {
|
|
106768
|
+
placeholder: "Select {{label}}"
|
|
106769
|
+
},
|
|
106770
|
+
selectCell: {
|
|
106771
|
+
placeholder: "Select {{label}}"
|
|
106772
|
+
},
|
|
106773
|
+
multiSelectCell: {
|
|
106774
|
+
placeholder: "Select Values"
|
|
106775
|
+
},
|
|
106776
|
+
booleanCell: {
|
|
106777
|
+
options: {
|
|
106778
|
+
yes: "Yes",
|
|
106779
|
+
no: "No"
|
|
106780
|
+
}
|
|
106781
|
+
}
|
|
106782
|
+
},
|
|
106783
|
+
filterRenders: {
|
|
106784
|
+
dateFilter: {
|
|
106785
|
+
single: "Single",
|
|
106786
|
+
range: "Range"
|
|
106787
|
+
}
|
|
106788
|
+
},
|
|
106789
|
+
groupCell: {
|
|
106790
|
+
expand: "Expand group",
|
|
106791
|
+
collapse: "Collapse group"
|
|
106792
|
+
},
|
|
106793
|
+
rowCheckbox: {
|
|
106794
|
+
ariaLabel: "Select Row"
|
|
106795
|
+
}
|
|
106796
|
+
}
|
|
106797
|
+
};
|
|
106798
|
+
|
|
106441
106799
|
// src/locales/pl-PL.json
|
|
106442
106800
|
var pl_PL_default = {
|
|
106443
106801
|
dataTable: {
|
|
@@ -106951,6 +107309,177 @@ var pt_BR_default = {
|
|
|
106951
107309
|
}
|
|
106952
107310
|
};
|
|
106953
107311
|
|
|
107312
|
+
// src/locales/pt-PT.json
|
|
107313
|
+
var pt_PT_default = {
|
|
107314
|
+
dataTable: {
|
|
107315
|
+
emptyState: {
|
|
107316
|
+
noFilteredResults: {
|
|
107317
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
107318
|
+
title: "No Items Match Your Search",
|
|
107319
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107320
|
+
},
|
|
107321
|
+
noResults: {
|
|
107322
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
107323
|
+
title: "There Are No Items to Display Right Now",
|
|
107324
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107325
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107326
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
107327
|
+
featureFilter: "Filter",
|
|
107328
|
+
featureQuickFilter: "Quick Filter",
|
|
107329
|
+
featureGroupBy: "Group By",
|
|
107330
|
+
featureConfigure: "Configure",
|
|
107331
|
+
tableNameFallback: "table"
|
|
107332
|
+
}
|
|
107333
|
+
},
|
|
107334
|
+
bulkActions: {
|
|
107335
|
+
apply: "Apply",
|
|
107336
|
+
bulkEdit: "Bulk Edit",
|
|
107337
|
+
cancel: "Cancel",
|
|
107338
|
+
editValues: "Edit Values",
|
|
107339
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
107340
|
+
placeholderForField: "Enter %{fieldName}",
|
|
107341
|
+
selection: "%{count} %{number} selected",
|
|
107342
|
+
selection_count: {
|
|
107343
|
+
zero: "%{count} items selected",
|
|
107344
|
+
one: "%{count} item selected",
|
|
107345
|
+
other: "%{count} items selected"
|
|
107346
|
+
},
|
|
107347
|
+
success: "The items were successfully updated.",
|
|
107348
|
+
one: "item",
|
|
107349
|
+
many: "items"
|
|
107350
|
+
},
|
|
107351
|
+
exporting: "Exporting...",
|
|
107352
|
+
filters: {
|
|
107353
|
+
filters: "Filters",
|
|
107354
|
+
moreFilters: "More Filters",
|
|
107355
|
+
clearAllFilters: "Clear All Filters",
|
|
107356
|
+
close: "Close",
|
|
107357
|
+
locationFilter: {
|
|
107358
|
+
selectAll: "Select all",
|
|
107359
|
+
includeSublocations: "Include sublocations",
|
|
107360
|
+
searchLocations: "Search locations",
|
|
107361
|
+
locations: "Locations"
|
|
107362
|
+
},
|
|
107363
|
+
numberFilter: {
|
|
107364
|
+
labels: {
|
|
107365
|
+
and: "and",
|
|
107366
|
+
input_placeholder: "Enter Value",
|
|
107367
|
+
placeholder: "Select an item"
|
|
107368
|
+
},
|
|
107369
|
+
options: {
|
|
107370
|
+
any_value: "Any Value",
|
|
107371
|
+
is_between: "Is Between",
|
|
107372
|
+
greater_than: "Is Greater Than",
|
|
107373
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107374
|
+
less_than: "Is Less Than",
|
|
107375
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
107376
|
+
no_value: "No Value"
|
|
107377
|
+
}
|
|
107378
|
+
},
|
|
107379
|
+
singleSelectFilter: {
|
|
107380
|
+
placeholder: "Select a Value"
|
|
107381
|
+
},
|
|
107382
|
+
multiSelectQuickFilter: {
|
|
107383
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
107384
|
+
},
|
|
107385
|
+
singleSelectQuickFilter: {
|
|
107386
|
+
ariaLabel: "Quick filter: Select an option"
|
|
107387
|
+
}
|
|
107388
|
+
},
|
|
107389
|
+
loading: {
|
|
107390
|
+
initial: "Information loading.",
|
|
107391
|
+
secondary: "Information loading, thanks for your patience."
|
|
107392
|
+
},
|
|
107393
|
+
menuOptions: {
|
|
107394
|
+
sortMenuItem: {
|
|
107395
|
+
label: "Sort By This Column",
|
|
107396
|
+
sortAscItem: "Sort Column Ascending",
|
|
107397
|
+
sortDescItem: "Sort Column Descending",
|
|
107398
|
+
sortResetItem: "Column Not Sorted"
|
|
107399
|
+
},
|
|
107400
|
+
expandAllGroups: "Expand All Groups",
|
|
107401
|
+
collapseAllGroups: "Collapse All Groups",
|
|
107402
|
+
pinColumn: "Pin Column",
|
|
107403
|
+
pinLeft: "Pin Left",
|
|
107404
|
+
pinRight: "Pin Right",
|
|
107405
|
+
noPin: "No Pin",
|
|
107406
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
107407
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
107408
|
+
hideColumn: "Hide Column",
|
|
107409
|
+
resetColumns: "Reset Columns",
|
|
107410
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
107411
|
+
groupBy: "Group by {{label}}"
|
|
107412
|
+
},
|
|
107413
|
+
grandTotals: "Grand Totals",
|
|
107414
|
+
search: "Search",
|
|
107415
|
+
subtotals: "Subtotals",
|
|
107416
|
+
tableSettings: {
|
|
107417
|
+
configureColumns: "Configure Columns",
|
|
107418
|
+
resetToDefault: "Show All",
|
|
107419
|
+
rowHeight: "Row Height",
|
|
107420
|
+
small: "Small",
|
|
107421
|
+
medium: "Medium",
|
|
107422
|
+
large: "Large",
|
|
107423
|
+
tableSettings: "Table Settings",
|
|
107424
|
+
groupBy: "Group by:",
|
|
107425
|
+
reset: "Reset",
|
|
107426
|
+
selectColumnGroup: "Select a column to group",
|
|
107427
|
+
configure: "Configure"
|
|
107428
|
+
},
|
|
107429
|
+
rowGroupToggle: {
|
|
107430
|
+
expandTierOne: "Open first groups in the table.",
|
|
107431
|
+
expandAll: "Open all groups in the table.",
|
|
107432
|
+
collapseAll: "Close all groups in the table."
|
|
107433
|
+
},
|
|
107434
|
+
columnGroupToggle: {
|
|
107435
|
+
collapse: "Collapse column group",
|
|
107436
|
+
expand: "Expand column group"
|
|
107437
|
+
},
|
|
107438
|
+
cells: {
|
|
107439
|
+
textCell: {
|
|
107440
|
+
placeholder: "Enter text"
|
|
107441
|
+
},
|
|
107442
|
+
currencyCell: {
|
|
107443
|
+
placeholder: "Enter currency"
|
|
107444
|
+
},
|
|
107445
|
+
numberCell: {
|
|
107446
|
+
placeholder: "Enter number"
|
|
107447
|
+
},
|
|
107448
|
+
percentCell: {
|
|
107449
|
+
placeholder: "Enter %"
|
|
107450
|
+
},
|
|
107451
|
+
pillCell: {
|
|
107452
|
+
placeholder: "Select {{label}}"
|
|
107453
|
+
},
|
|
107454
|
+
selectCell: {
|
|
107455
|
+
placeholder: "Select {{label}}"
|
|
107456
|
+
},
|
|
107457
|
+
multiSelectCell: {
|
|
107458
|
+
placeholder: "Select Values"
|
|
107459
|
+
},
|
|
107460
|
+
booleanCell: {
|
|
107461
|
+
options: {
|
|
107462
|
+
yes: "Yes",
|
|
107463
|
+
no: "No"
|
|
107464
|
+
}
|
|
107465
|
+
}
|
|
107466
|
+
},
|
|
107467
|
+
filterRenders: {
|
|
107468
|
+
dateFilter: {
|
|
107469
|
+
single: "Single",
|
|
107470
|
+
range: "Range"
|
|
107471
|
+
}
|
|
107472
|
+
},
|
|
107473
|
+
groupCell: {
|
|
107474
|
+
expand: "Expand group",
|
|
107475
|
+
collapse: "Collapse group"
|
|
107476
|
+
},
|
|
107477
|
+
rowCheckbox: {
|
|
107478
|
+
ariaLabel: "Select Row"
|
|
107479
|
+
}
|
|
107480
|
+
}
|
|
107481
|
+
};
|
|
107482
|
+
|
|
106954
107483
|
// src/locales/th-TH.json
|
|
106955
107484
|
var th_TH_default = {
|
|
106956
107485
|
dataTable: {
|
|
@@ -107293,6 +107822,177 @@ var zh_SG_default = {
|
|
|
107293
107822
|
}
|
|
107294
107823
|
};
|
|
107295
107824
|
|
|
107825
|
+
// src/locales/zh-TW.json
|
|
107826
|
+
var zh_TW_default = {
|
|
107827
|
+
dataTable: {
|
|
107828
|
+
emptyState: {
|
|
107829
|
+
noFilteredResults: {
|
|
107830
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
107831
|
+
title: "No Items Match Your Search",
|
|
107832
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107833
|
+
},
|
|
107834
|
+
noResults: {
|
|
107835
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
107836
|
+
title: "There Are No Items to Display Right Now",
|
|
107837
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107838
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107839
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
107840
|
+
featureFilter: "Filter",
|
|
107841
|
+
featureQuickFilter: "Quick Filter",
|
|
107842
|
+
featureGroupBy: "Group By",
|
|
107843
|
+
featureConfigure: "Configure",
|
|
107844
|
+
tableNameFallback: "table"
|
|
107845
|
+
}
|
|
107846
|
+
},
|
|
107847
|
+
bulkActions: {
|
|
107848
|
+
apply: "Apply",
|
|
107849
|
+
bulkEdit: "Bulk Edit",
|
|
107850
|
+
cancel: "Cancel",
|
|
107851
|
+
editValues: "Edit Values",
|
|
107852
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
107853
|
+
placeholderForField: "Enter %{fieldName}",
|
|
107854
|
+
selection: "%{count} %{number} selected",
|
|
107855
|
+
selection_count: {
|
|
107856
|
+
zero: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE",
|
|
107857
|
+
one: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE",
|
|
107858
|
+
other: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE"
|
|
107859
|
+
},
|
|
107860
|
+
success: "The items were successfully updated.",
|
|
107861
|
+
one: "item",
|
|
107862
|
+
many: "items"
|
|
107863
|
+
},
|
|
107864
|
+
exporting: "Exporting...",
|
|
107865
|
+
filters: {
|
|
107866
|
+
filters: "Filters",
|
|
107867
|
+
moreFilters: "More Filters",
|
|
107868
|
+
clearAllFilters: "Clear All Filters",
|
|
107869
|
+
close: "Close",
|
|
107870
|
+
locationFilter: {
|
|
107871
|
+
selectAll: "Select all",
|
|
107872
|
+
includeSublocations: "Include sublocations",
|
|
107873
|
+
searchLocations: "Search locations",
|
|
107874
|
+
locations: "Locations"
|
|
107875
|
+
},
|
|
107876
|
+
numberFilter: {
|
|
107877
|
+
labels: {
|
|
107878
|
+
and: "and",
|
|
107879
|
+
input_placeholder: "Enter Value",
|
|
107880
|
+
placeholder: "Select an item"
|
|
107881
|
+
},
|
|
107882
|
+
options: {
|
|
107883
|
+
any_value: "Any Value",
|
|
107884
|
+
is_between: "Is Between",
|
|
107885
|
+
greater_than: "Is Greater Than",
|
|
107886
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107887
|
+
less_than: "Is Less Than",
|
|
107888
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
107889
|
+
no_value: "No Value"
|
|
107890
|
+
}
|
|
107891
|
+
},
|
|
107892
|
+
singleSelectFilter: {
|
|
107893
|
+
placeholder: "Select a Value"
|
|
107894
|
+
},
|
|
107895
|
+
multiSelectQuickFilter: {
|
|
107896
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
107897
|
+
},
|
|
107898
|
+
singleSelectQuickFilter: {
|
|
107899
|
+
ariaLabel: "Quick filter: Select an option"
|
|
107900
|
+
}
|
|
107901
|
+
},
|
|
107902
|
+
loading: {
|
|
107903
|
+
initial: "Information loading.",
|
|
107904
|
+
secondary: "Information loading, thanks for your patience."
|
|
107905
|
+
},
|
|
107906
|
+
menuOptions: {
|
|
107907
|
+
sortMenuItem: {
|
|
107908
|
+
label: "Sort By This Column",
|
|
107909
|
+
sortAscItem: "Sort Column Ascending",
|
|
107910
|
+
sortDescItem: "Sort Column Descending",
|
|
107911
|
+
sortResetItem: "Column Not Sorted"
|
|
107912
|
+
},
|
|
107913
|
+
expandAllGroups: "Expand All Groups",
|
|
107914
|
+
collapseAllGroups: "Collapse All Groups",
|
|
107915
|
+
pinColumn: "Pin Column",
|
|
107916
|
+
pinLeft: "Pin Left",
|
|
107917
|
+
pinRight: "Pin Right",
|
|
107918
|
+
noPin: "No Pin",
|
|
107919
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
107920
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
107921
|
+
hideColumn: "Hide Column",
|
|
107922
|
+
resetColumns: "Reset Columns",
|
|
107923
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
107924
|
+
groupBy: "Group by {{label}}"
|
|
107925
|
+
},
|
|
107926
|
+
grandTotals: "Grand Totals",
|
|
107927
|
+
search: "Search",
|
|
107928
|
+
subtotals: "Subtotals",
|
|
107929
|
+
tableSettings: {
|
|
107930
|
+
configureColumns: "Configure Columns",
|
|
107931
|
+
resetToDefault: "Show All",
|
|
107932
|
+
rowHeight: "Row Height",
|
|
107933
|
+
small: "Small",
|
|
107934
|
+
medium: "Medium",
|
|
107935
|
+
large: "Large",
|
|
107936
|
+
tableSettings: "Table Settings",
|
|
107937
|
+
groupBy: "Group by:",
|
|
107938
|
+
reset: "Reset",
|
|
107939
|
+
selectColumnGroup: "Select a column to group",
|
|
107940
|
+
configure: "Configure"
|
|
107941
|
+
},
|
|
107942
|
+
rowGroupToggle: {
|
|
107943
|
+
expandTierOne: "Open first groups in the table.",
|
|
107944
|
+
expandAll: "Open all groups in the table.",
|
|
107945
|
+
collapseAll: "Close all groups in the table."
|
|
107946
|
+
},
|
|
107947
|
+
columnGroupToggle: {
|
|
107948
|
+
collapse: "Collapse column group",
|
|
107949
|
+
expand: "Expand column group"
|
|
107950
|
+
},
|
|
107951
|
+
cells: {
|
|
107952
|
+
textCell: {
|
|
107953
|
+
placeholder: "Enter text"
|
|
107954
|
+
},
|
|
107955
|
+
currencyCell: {
|
|
107956
|
+
placeholder: "Enter currency"
|
|
107957
|
+
},
|
|
107958
|
+
numberCell: {
|
|
107959
|
+
placeholder: "Enter number"
|
|
107960
|
+
},
|
|
107961
|
+
percentCell: {
|
|
107962
|
+
placeholder: "\u9032\u5165 \uFF05"
|
|
107963
|
+
},
|
|
107964
|
+
pillCell: {
|
|
107965
|
+
placeholder: "Select {{label}}"
|
|
107966
|
+
},
|
|
107967
|
+
selectCell: {
|
|
107968
|
+
placeholder: "Select {{label}}"
|
|
107969
|
+
},
|
|
107970
|
+
multiSelectCell: {
|
|
107971
|
+
placeholder: "\u9078\u64C7\u503C"
|
|
107972
|
+
},
|
|
107973
|
+
booleanCell: {
|
|
107974
|
+
options: {
|
|
107975
|
+
yes: "Yes",
|
|
107976
|
+
no: "No"
|
|
107977
|
+
}
|
|
107978
|
+
}
|
|
107979
|
+
},
|
|
107980
|
+
filterRenders: {
|
|
107981
|
+
dateFilter: {
|
|
107982
|
+
single: "Single",
|
|
107983
|
+
range: "Range"
|
|
107984
|
+
}
|
|
107985
|
+
},
|
|
107986
|
+
groupCell: {
|
|
107987
|
+
expand: "Expand group",
|
|
107988
|
+
collapse: "Collapse group"
|
|
107989
|
+
},
|
|
107990
|
+
rowCheckbox: {
|
|
107991
|
+
ariaLabel: "Select Row"
|
|
107992
|
+
}
|
|
107993
|
+
}
|
|
107994
|
+
};
|
|
107995
|
+
|
|
107296
107996
|
// src/utils/translations.ts
|
|
107297
107997
|
var translations = {
|
|
107298
107998
|
"de-DE": de_DE_default,
|
|
@@ -107310,7 +108010,11 @@ var translations = {
|
|
|
107310
108010
|
"pt-BR": pt_BR_default,
|
|
107311
108011
|
"th-TH": th_TH_default,
|
|
107312
108012
|
"zh-SG": zh_SG_default,
|
|
107313
|
-
"pl-PL": pl_PL_default
|
|
108013
|
+
"pl-PL": pl_PL_default,
|
|
108014
|
+
"it-IT": it_IT_default,
|
|
108015
|
+
"pt-PT": pt_PT_default,
|
|
108016
|
+
"nb-NO": nb_NO_default,
|
|
108017
|
+
"zh-TW": zh_TW_default
|
|
107314
108018
|
};
|
|
107315
108019
|
var PRINCE_XML_DPI = 96;
|
|
107316
108020
|
var DEFAULT_PAGE_MARGIN = 40;
|
|
@@ -108620,6 +109324,20 @@ function getServerSideDatasource(onServerSideDataRequestCallbackRef, onEmptyResp
|
|
|
108620
109324
|
};
|
|
108621
109325
|
}
|
|
108622
109326
|
var minimumColumnWidth = 140;
|
|
109327
|
+
function useComputeAgGridProps(props) {
|
|
109328
|
+
const internalTableContext = useInternalTableContext();
|
|
109329
|
+
const onSSDR = internalTableContext.onServerSideDataRequest;
|
|
109330
|
+
return {
|
|
109331
|
+
groupIncludeFooter: !onSSDR && props.groupIncludeFooter === void 0 ? true : props.groupIncludeFooter,
|
|
109332
|
+
rowDragManaged: onSSDR ? false : props.rowDragManaged ?? true,
|
|
109333
|
+
rowModelType: onSSDR ? "serverSide" : void 0,
|
|
109334
|
+
groupSelectsChildren: (
|
|
109335
|
+
// Always true for client side, defaults to true for server side
|
|
109336
|
+
internalTableContext.totalRowCount > 0 && props.groupSelectsChildren !== false || !onSSDR
|
|
109337
|
+
),
|
|
109338
|
+
groupDefaultExpanded: props.groupsAlwaysExpanded ? -1 : props.groupDefaultExpanded
|
|
109339
|
+
};
|
|
109340
|
+
}
|
|
108623
109341
|
var Table = (props) => {
|
|
108624
109342
|
var _a, _b, _c;
|
|
108625
109343
|
const { suppressColumnVirtualisation = true, rowActionsConfig = {} } = props;
|
|
@@ -108670,16 +109388,30 @@ var Table = (props) => {
|
|
|
108670
109388
|
React80__default.default.useImperativeHandle(internalTableContext.tableRef, () => tableApi, [
|
|
108671
109389
|
tableApi
|
|
108672
109390
|
]);
|
|
109391
|
+
const {
|
|
109392
|
+
groupIncludeFooter,
|
|
109393
|
+
rowDragManaged,
|
|
109394
|
+
rowModelType,
|
|
109395
|
+
groupSelectsChildren,
|
|
109396
|
+
groupDefaultExpanded
|
|
109397
|
+
} = useComputeAgGridProps(props);
|
|
109398
|
+
const { overrideEditable } = createColumnEditableUtils({
|
|
109399
|
+
enableGroupHeaderEdit: props.enableGroupHeaderEdit
|
|
109400
|
+
});
|
|
108673
109401
|
const decoratedColDefs = React80__default.default.useMemo(
|
|
108674
109402
|
() => {
|
|
108675
109403
|
var _a2;
|
|
108676
|
-
return (_a2 = internalTableContext.columnDefinitions) == null ? void 0 : _a2.map(
|
|
108677
|
-
|
|
109404
|
+
return (_a2 = internalTableContext.columnDefinitions) == null ? void 0 : _a2.map((colDef) => {
|
|
109405
|
+
const newColDef = transformToColDef(
|
|
108678
109406
|
colDef,
|
|
108679
109407
|
internalTableContext.enableGroupEditAndValidation,
|
|
108680
109408
|
internalTableContext.enableDynamicRowHeight
|
|
108681
|
-
)
|
|
108682
|
-
|
|
109409
|
+
);
|
|
109410
|
+
return {
|
|
109411
|
+
...newColDef,
|
|
109412
|
+
editable: overrideEditable(colDef.editable)
|
|
109413
|
+
};
|
|
109414
|
+
});
|
|
108683
109415
|
},
|
|
108684
109416
|
[internalTableContext.columnDefinitions]
|
|
108685
109417
|
);
|
|
@@ -109451,13 +110183,10 @@ var Table = (props) => {
|
|
|
109451
110183
|
getRowId: internalTableContext.getRowId,
|
|
109452
110184
|
getRowStyle,
|
|
109453
110185
|
groupAllowUnbalanced: true,
|
|
109454
|
-
groupDefaultExpanded
|
|
109455
|
-
groupIncludeFooter
|
|
110186
|
+
groupDefaultExpanded,
|
|
110187
|
+
groupIncludeFooter,
|
|
109456
110188
|
getGroupRowAgg: props.getGroupRowAgg ? getGroupRowAgg : void 0,
|
|
109457
|
-
groupSelectsChildren
|
|
109458
|
-
// Always true for client side, defaults to true for server side
|
|
109459
|
-
internalTableContext.totalRowCount > 0 && props.groupSelectsChildren !== false || !onSSDR
|
|
109460
|
-
),
|
|
110189
|
+
groupSelectsChildren,
|
|
109461
110190
|
groupSelectsFiltered: true,
|
|
109462
110191
|
headerHeight: props.headerHeight,
|
|
109463
110192
|
icons: tableIcons,
|
|
@@ -109515,8 +110244,8 @@ var Table = (props) => {
|
|
|
109515
110244
|
pinnedBottomRowData: props.pinnedBottomRowData,
|
|
109516
110245
|
rowBuffer: props.rowBuffer,
|
|
109517
110246
|
rowClassRules,
|
|
109518
|
-
rowDragManaged
|
|
109519
|
-
rowModelType
|
|
110247
|
+
rowDragManaged,
|
|
110248
|
+
rowModelType,
|
|
109520
110249
|
rowSelection: "multiple",
|
|
109521
110250
|
...serverSideInfiniteScroll,
|
|
109522
110251
|
suppressClickEdit: true,
|