@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.js
CHANGED
|
@@ -54647,6 +54647,33 @@ function SingleSelectFilterRenderer({
|
|
|
54647
54647
|
);
|
|
54648
54648
|
}
|
|
54649
54649
|
|
|
54650
|
+
// src/utils/columnEditableHelpers.ts
|
|
54651
|
+
function createColumnEditableUtils(options) {
|
|
54652
|
+
return {
|
|
54653
|
+
overrideEditable: (columnEditable) => {
|
|
54654
|
+
return (params) => {
|
|
54655
|
+
var _a;
|
|
54656
|
+
const isGroupNodeExpanded = params.node.group && params.node.expanded;
|
|
54657
|
+
if (((_a = params.node) == null ? void 0 : _a.rowPinned) || !options.enableGroupHeaderEdit && isGroupNodeExpanded && !params.node.footer) {
|
|
54658
|
+
return false;
|
|
54659
|
+
}
|
|
54660
|
+
if (typeof columnEditable === "boolean") {
|
|
54661
|
+
return columnEditable;
|
|
54662
|
+
}
|
|
54663
|
+
return (columnEditable == null ? void 0 : columnEditable(params)) ?? false;
|
|
54664
|
+
};
|
|
54665
|
+
}
|
|
54666
|
+
};
|
|
54667
|
+
}
|
|
54668
|
+
function isColumnEditable(columnEditable) {
|
|
54669
|
+
return (params) => {
|
|
54670
|
+
if (typeof columnEditable === "boolean") {
|
|
54671
|
+
return columnEditable;
|
|
54672
|
+
}
|
|
54673
|
+
return (columnEditable == null ? void 0 : columnEditable(params)) ?? false;
|
|
54674
|
+
};
|
|
54675
|
+
}
|
|
54676
|
+
|
|
54650
54677
|
// src/utils/transformers.ts
|
|
54651
54678
|
var emptyObject = {};
|
|
54652
54679
|
var DEFAULT_AUTO_GROUP_COLUMN_DEFINITION = {
|
|
@@ -54730,24 +54757,12 @@ function transformToColumnDefinition(colDef = emptyObject) {
|
|
|
54730
54757
|
valueSetter: colDef.valueSetter
|
|
54731
54758
|
};
|
|
54732
54759
|
}
|
|
54733
|
-
function isEditable(columnEditable) {
|
|
54734
|
-
return (params) => {
|
|
54735
|
-
var _a;
|
|
54736
|
-
if (((_a = params.node) == null ? void 0 : _a.rowPinned) || params.node.group && params.node.expanded && !params.node.footer) {
|
|
54737
|
-
return false;
|
|
54738
|
-
}
|
|
54739
|
-
if (typeof columnEditable === "boolean") {
|
|
54740
|
-
return columnEditable;
|
|
54741
|
-
}
|
|
54742
|
-
return (columnEditable == null ? void 0 : columnEditable(params)) ?? false;
|
|
54743
|
-
};
|
|
54744
|
-
}
|
|
54745
54760
|
function shouldHaveEditStyles(params) {
|
|
54746
54761
|
var _a;
|
|
54747
54762
|
if (!((_a = params.colDef) == null ? void 0 : _a.cellEditor)) {
|
|
54748
54763
|
return false;
|
|
54749
54764
|
}
|
|
54750
|
-
return
|
|
54765
|
+
return isColumnEditable(params.colDef.editable);
|
|
54751
54766
|
}
|
|
54752
54767
|
var toExcelCellClass = (className) => `excel-export--${className}`;
|
|
54753
54768
|
function transformToExcelStyles(excelDataFormats) {
|
|
@@ -54872,11 +54887,11 @@ function transformColumnDefinitionToColDef(dataTableColumnDefinition, enableGrou
|
|
|
54872
54887
|
parentData: context == null ? void 0 : context.parentData,
|
|
54873
54888
|
parentId: context == null ? void 0 : context.parentId
|
|
54874
54889
|
}) : aggFunc,
|
|
54875
|
-
bulkEditable:
|
|
54890
|
+
bulkEditable: isColumnEditable(bulkEditable),
|
|
54876
54891
|
cellClass: cellExcelDataType ? toExcelCellClass(cellExcelDataType) : void 0,
|
|
54877
54892
|
cellClassRules,
|
|
54878
54893
|
comparator,
|
|
54879
|
-
editable:
|
|
54894
|
+
editable: isColumnEditable(_editable),
|
|
54880
54895
|
filter: getFilter(dataTableColumnDefinition),
|
|
54881
54896
|
// set filter by default
|
|
54882
54897
|
filterParams: {
|
|
@@ -55201,12 +55216,12 @@ function getDecoratedAutoGroupColDef(columnDefinition, enableGroupEditAndValidat
|
|
|
55201
55216
|
}
|
|
55202
55217
|
|
|
55203
55218
|
// src/CellRenderers/AutoGroupCell.scss
|
|
55204
|
-
var css5 = `.
|
|
55219
|
+
var css5 = `._autoGroupCell_1qx8z_1 {
|
|
55205
55220
|
height: 100%;
|
|
55206
55221
|
width: 100%;
|
|
55207
55222
|
}
|
|
55208
55223
|
|
|
55209
|
-
.
|
|
55224
|
+
._indent_1qx8z_6 {
|
|
55210
55225
|
border-right: 1px solid #d6dadc;
|
|
55211
55226
|
background: #f4f5f6;
|
|
55212
55227
|
position: absolute;
|
|
@@ -55214,44 +55229,45 @@ var css5 = `._autoGroupCell_pq41h_1 {
|
|
|
55214
55229
|
bottom: -1px;
|
|
55215
55230
|
width: 12px;
|
|
55216
55231
|
}
|
|
55217
|
-
.
|
|
55232
|
+
._indent_1qx8z_6._innermostLastIndent_1qx8z_14 {
|
|
55218
55233
|
bottom: 0px;
|
|
55219
55234
|
}
|
|
55220
55235
|
|
|
55221
|
-
.
|
|
55236
|
+
._expandableCaret_1qx8z_18 {
|
|
55222
55237
|
margin-left: -8px;
|
|
55223
55238
|
margin-right: 4px;
|
|
55224
55239
|
width: 24px;
|
|
55240
|
+
flex-shrink: 0;
|
|
55225
55241
|
}
|
|
55226
55242
|
|
|
55227
|
-
.
|
|
55243
|
+
._expandCaret_1qx8z_25 {
|
|
55228
55244
|
color: #2066df;
|
|
55229
55245
|
cursor: pointer;
|
|
55230
55246
|
}
|
|
55231
55247
|
|
|
55232
|
-
.
|
|
55248
|
+
._collapseCaret_1qx8z_30 {
|
|
55233
55249
|
color: #75838a;
|
|
55234
55250
|
cursor: pointer;
|
|
55235
55251
|
}
|
|
55236
55252
|
|
|
55237
|
-
.
|
|
55253
|
+
._value_1qx8z_35 {
|
|
55238
55254
|
overflow: hidden;
|
|
55239
55255
|
text-overflow: ellipsis;
|
|
55240
55256
|
font-size: 12px;
|
|
55241
55257
|
}
|
|
55242
|
-
.
|
|
55258
|
+
._value_1qx8z_35._footer_1qx8z_40 {
|
|
55243
55259
|
color: #6a767c;
|
|
55244
55260
|
}`;
|
|
55245
55261
|
document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css5));
|
|
55246
55262
|
var AutoGroupCell_default = {
|
|
55247
|
-
"autoGroupCell": "
|
|
55248
|
-
"indent": "
|
|
55249
|
-
"innermostLastIndent": "
|
|
55250
|
-
"expandableCaret": "
|
|
55251
|
-
"expandCaret": "
|
|
55252
|
-
"collapseCaret": "
|
|
55253
|
-
"value": "
|
|
55254
|
-
"footer": "
|
|
55263
|
+
"autoGroupCell": "_autoGroupCell_1qx8z_1",
|
|
55264
|
+
"indent": "_indent_1qx8z_6",
|
|
55265
|
+
"innermostLastIndent": "_innermostLastIndent_1qx8z_14",
|
|
55266
|
+
"expandableCaret": "_expandableCaret_1qx8z_18",
|
|
55267
|
+
"expandCaret": "_expandCaret_1qx8z_25",
|
|
55268
|
+
"collapseCaret": "_collapseCaret_1qx8z_30",
|
|
55269
|
+
"value": "_value_1qx8z_35",
|
|
55270
|
+
"footer": "_footer_1qx8z_40"
|
|
55255
55271
|
};
|
|
55256
55272
|
|
|
55257
55273
|
// src/utils/rowSelectionHelpers.ts
|
|
@@ -76362,12 +76378,12 @@ var MenuItemMapper = class MenuItemMapper2 extends BeanStub {
|
|
|
76362
76378
|
if (ModuleRegistry.__assertRegistered(ModuleNames.ClipboardModule, "Cut from Menu", this.context.getGridId())) {
|
|
76363
76379
|
const focusedCell = this.focusService.getFocusedCell();
|
|
76364
76380
|
const rowNode = focusedCell ? this.rowPositionUtils.getRowNode(focusedCell) : null;
|
|
76365
|
-
const
|
|
76381
|
+
const isEditable = rowNode ? focusedCell === null || focusedCell === void 0 ? void 0 : focusedCell.column.isCellEditable(rowNode) : false;
|
|
76366
76382
|
return {
|
|
76367
76383
|
name: localeTextFunc("cut", "Cut"),
|
|
76368
76384
|
shortcut: localeTextFunc("ctrlX", "Ctrl+X"),
|
|
76369
76385
|
icon: _.createIconNoSpan("clipboardCut", this.gridOptionsService, null),
|
|
76370
|
-
disabled: !
|
|
76386
|
+
disabled: !isEditable || this.gridOptionsService.is("suppressCutToClipboard"),
|
|
76371
76387
|
action: () => this.clipboardService.cutToClipboard(void 0, "contextMenu")
|
|
76372
76388
|
};
|
|
76373
76389
|
} else {
|
|
@@ -106254,6 +106270,177 @@ var is_IS_default = {
|
|
|
106254
106270
|
}
|
|
106255
106271
|
};
|
|
106256
106272
|
|
|
106273
|
+
// src/locales/it-IT.json
|
|
106274
|
+
var it_IT_default = {
|
|
106275
|
+
dataTable: {
|
|
106276
|
+
emptyState: {
|
|
106277
|
+
noFilteredResults: {
|
|
106278
|
+
description: "Controllare l'ortografia e le opzioni di filtro oppure effettuare la ricerca con una parola chiave diversa.",
|
|
106279
|
+
title: "Nessun elemento corrispondente alla ricerca",
|
|
106280
|
+
itemsTitle: "Nessuna corrispondenza %{itemsLabel} con la ricerca"
|
|
106281
|
+
},
|
|
106282
|
+
noResults: {
|
|
106283
|
+
description: "Gli elementi creati dal team saranno accessibili qui. ",
|
|
106284
|
+
title: "Al momento non sono presenti elementi da visualizzare",
|
|
106285
|
+
itemsTitle: "Al momento non sono presenti %{itemsLabel} da visualizzare",
|
|
106286
|
+
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni a %{tableName}",
|
|
106287
|
+
searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni a %{tableName}",
|
|
106288
|
+
featureFilter: "Filtro",
|
|
106289
|
+
featureQuickFilter: "Filtro rapido",
|
|
106290
|
+
featureGroupBy: "Raggruppa per",
|
|
106291
|
+
featureConfigure: "Configura",
|
|
106292
|
+
tableNameFallback: "tabella"
|
|
106293
|
+
}
|
|
106294
|
+
},
|
|
106295
|
+
bulkActions: {
|
|
106296
|
+
apply: "Applica",
|
|
106297
|
+
bulkEdit: "Modifica in blocco",
|
|
106298
|
+
cancel: "Annulla",
|
|
106299
|
+
editValues: "Modifica valori",
|
|
106300
|
+
error: "Impossibile aggiornare gli elementi. Riprovare.",
|
|
106301
|
+
placeholderForField: "Inserire %{fieldName}",
|
|
106302
|
+
selection: "%{count} %{number} selezionati",
|
|
106303
|
+
selection_count: {
|
|
106304
|
+
zero: "%{count} elementi selezionati",
|
|
106305
|
+
one: "%{count} elemento selezionato",
|
|
106306
|
+
other: "%{count} elementi selezionati"
|
|
106307
|
+
},
|
|
106308
|
+
success: "Gli elementi sono stati aggiornati correttamente.",
|
|
106309
|
+
one: "elemento",
|
|
106310
|
+
many: "elementi"
|
|
106311
|
+
},
|
|
106312
|
+
exporting: "Esportazione in corso...",
|
|
106313
|
+
filters: {
|
|
106314
|
+
filters: "Filtri",
|
|
106315
|
+
moreFilters: "Altri filtri",
|
|
106316
|
+
clearAllFilters: "Cancella tutti i filtri",
|
|
106317
|
+
close: "Chiudi",
|
|
106318
|
+
locationFilter: {
|
|
106319
|
+
selectAll: "Seleziona tutto",
|
|
106320
|
+
includeSublocations: "Includi posizioni secondarie",
|
|
106321
|
+
searchLocations: "Cerca posizioni",
|
|
106322
|
+
locations: "Posizioni"
|
|
106323
|
+
},
|
|
106324
|
+
numberFilter: {
|
|
106325
|
+
labels: {
|
|
106326
|
+
and: "e",
|
|
106327
|
+
input_placeholder: "Inserisci valore",
|
|
106328
|
+
placeholder: "Selezionare un elemento"
|
|
106329
|
+
},
|
|
106330
|
+
options: {
|
|
106331
|
+
any_value: "Qualsiasi valore",
|
|
106332
|
+
is_between: "\xC8 compreso tra",
|
|
106333
|
+
greater_than: "\xC8 maggiore di",
|
|
106334
|
+
greater_than_equal_to: "\xC8 maggiore o uguale a",
|
|
106335
|
+
less_than: "\xC8 minore di",
|
|
106336
|
+
less_than_equal_to: "\xC8 minore o uguale a",
|
|
106337
|
+
no_value: "Nessun valore"
|
|
106338
|
+
}
|
|
106339
|
+
},
|
|
106340
|
+
singleSelectFilter: {
|
|
106341
|
+
placeholder: "Selezionare un valore"
|
|
106342
|
+
},
|
|
106343
|
+
multiSelectQuickFilter: {
|
|
106344
|
+
ariaLabel: "Filtro rapido: selezionare pi\xF9 opzioni"
|
|
106345
|
+
},
|
|
106346
|
+
singleSelectQuickFilter: {
|
|
106347
|
+
ariaLabel: "Filtro rapido: selezionare un'opzione"
|
|
106348
|
+
}
|
|
106349
|
+
},
|
|
106350
|
+
loading: {
|
|
106351
|
+
initial: "Caricamento delle informazioni in corso.",
|
|
106352
|
+
secondary: "Caricamento delle informazioni in corso, grazie per la pazienza."
|
|
106353
|
+
},
|
|
106354
|
+
menuOptions: {
|
|
106355
|
+
sortMenuItem: {
|
|
106356
|
+
label: "Ordina per questa colonna",
|
|
106357
|
+
sortAscItem: "Ordina colonna (crescente)",
|
|
106358
|
+
sortDescItem: "Ordina colonna (decrescente)",
|
|
106359
|
+
sortResetItem: "Colonna non ordinata"
|
|
106360
|
+
},
|
|
106361
|
+
expandAllGroups: "Espandi tutti i gruppi",
|
|
106362
|
+
collapseAllGroups: "Comprimi tutti i gruppi",
|
|
106363
|
+
pinColumn: "Fissa colonna",
|
|
106364
|
+
pinLeft: "Fissa a sinistra",
|
|
106365
|
+
pinRight: "Fissa a destra",
|
|
106366
|
+
noPin: "Sblocca",
|
|
106367
|
+
autoSizeThisColumn: "Dimensione automatica per questa colonna",
|
|
106368
|
+
autoSizeAllColumns: "Dimensione automatica per tutte le colonne",
|
|
106369
|
+
hideColumn: "Nascondi colonna",
|
|
106370
|
+
resetColumns: "Reimposta colonne",
|
|
106371
|
+
unGroupBy: "Annulla raggruppamento per {{label}}",
|
|
106372
|
+
groupBy: "Raggruppa per {{label}}"
|
|
106373
|
+
},
|
|
106374
|
+
grandTotals: "Totali generali",
|
|
106375
|
+
search: "Cerca",
|
|
106376
|
+
subtotals: "Subtotali",
|
|
106377
|
+
tableSettings: {
|
|
106378
|
+
configureColumns: "Configura colonne",
|
|
106379
|
+
resetToDefault: "Mostra tutto",
|
|
106380
|
+
rowHeight: "Altezza riga",
|
|
106381
|
+
small: "Piccola",
|
|
106382
|
+
medium: "Media",
|
|
106383
|
+
large: "Grande",
|
|
106384
|
+
tableSettings: "Impostazioni tabella",
|
|
106385
|
+
groupBy: "Raggruppa per:",
|
|
106386
|
+
reset: "Reimposta",
|
|
106387
|
+
selectColumnGroup: "Selezionare una colonna da usare per il raggruppamento",
|
|
106388
|
+
configure: "Configura"
|
|
106389
|
+
},
|
|
106390
|
+
rowGroupToggle: {
|
|
106391
|
+
expandTierOne: "Aprire i primi gruppi nella tabella.",
|
|
106392
|
+
expandAll: "Aprire tutti i gruppi nella tabella.",
|
|
106393
|
+
collapseAll: "Chiudere tutti i gruppi nella tabella."
|
|
106394
|
+
},
|
|
106395
|
+
columnGroupToggle: {
|
|
106396
|
+
collapse: "Comprimi gruppo di colonne",
|
|
106397
|
+
expand: "Espandi gruppo di colonne"
|
|
106398
|
+
},
|
|
106399
|
+
cells: {
|
|
106400
|
+
textCell: {
|
|
106401
|
+
placeholder: "Inserisci testo"
|
|
106402
|
+
},
|
|
106403
|
+
currencyCell: {
|
|
106404
|
+
placeholder: "Inserisci valuta"
|
|
106405
|
+
},
|
|
106406
|
+
numberCell: {
|
|
106407
|
+
placeholder: "Inserisci numero"
|
|
106408
|
+
},
|
|
106409
|
+
percentCell: {
|
|
106410
|
+
placeholder: "Inserisci %"
|
|
106411
|
+
},
|
|
106412
|
+
pillCell: {
|
|
106413
|
+
placeholder: "Seleziona {{label}}"
|
|
106414
|
+
},
|
|
106415
|
+
selectCell: {
|
|
106416
|
+
placeholder: "Seleziona {{label}}"
|
|
106417
|
+
},
|
|
106418
|
+
multiSelectCell: {
|
|
106419
|
+
placeholder: "Seleziona valori"
|
|
106420
|
+
},
|
|
106421
|
+
booleanCell: {
|
|
106422
|
+
options: {
|
|
106423
|
+
yes: "S\xEC",
|
|
106424
|
+
no: "No"
|
|
106425
|
+
}
|
|
106426
|
+
}
|
|
106427
|
+
},
|
|
106428
|
+
filterRenders: {
|
|
106429
|
+
dateFilter: {
|
|
106430
|
+
single: "Singolo",
|
|
106431
|
+
range: "Intervallo"
|
|
106432
|
+
}
|
|
106433
|
+
},
|
|
106434
|
+
groupCell: {
|
|
106435
|
+
expand: "Espandi gruppo",
|
|
106436
|
+
collapse: "Comprimi gruppo"
|
|
106437
|
+
},
|
|
106438
|
+
rowCheckbox: {
|
|
106439
|
+
ariaLabel: "Seleziona riga"
|
|
106440
|
+
}
|
|
106441
|
+
}
|
|
106442
|
+
};
|
|
106443
|
+
|
|
106257
106444
|
// src/locales/ja-JP.json
|
|
106258
106445
|
var ja_JP_default = {
|
|
106259
106446
|
dataTable: {
|
|
@@ -106425,6 +106612,177 @@ var ja_JP_default = {
|
|
|
106425
106612
|
}
|
|
106426
106613
|
};
|
|
106427
106614
|
|
|
106615
|
+
// src/locales/nb-NO.json
|
|
106616
|
+
var nb_NO_default = {
|
|
106617
|
+
dataTable: {
|
|
106618
|
+
emptyState: {
|
|
106619
|
+
noFilteredResults: {
|
|
106620
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
106621
|
+
title: "No Items Match Your Search",
|
|
106622
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
106623
|
+
},
|
|
106624
|
+
noResults: {
|
|
106625
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
106626
|
+
title: "There Are No Items to Display Right Now",
|
|
106627
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
106628
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
106629
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
106630
|
+
featureFilter: "Filter",
|
|
106631
|
+
featureQuickFilter: "Quick Filter",
|
|
106632
|
+
featureGroupBy: "Group By",
|
|
106633
|
+
featureConfigure: "Configure",
|
|
106634
|
+
tableNameFallback: "table"
|
|
106635
|
+
}
|
|
106636
|
+
},
|
|
106637
|
+
bulkActions: {
|
|
106638
|
+
apply: "Apply",
|
|
106639
|
+
bulkEdit: "Bulk Edit",
|
|
106640
|
+
cancel: "Cancel",
|
|
106641
|
+
editValues: "Edit Values",
|
|
106642
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
106643
|
+
placeholderForField: "Enter %{fieldName}",
|
|
106644
|
+
selection: "%{count} %{number} selected",
|
|
106645
|
+
selection_count: {
|
|
106646
|
+
zero: "%{count} items selected",
|
|
106647
|
+
one: "%{count} item selected",
|
|
106648
|
+
other: "%{count} items selected"
|
|
106649
|
+
},
|
|
106650
|
+
success: "The items were successfully updated.",
|
|
106651
|
+
one: "item",
|
|
106652
|
+
many: "items"
|
|
106653
|
+
},
|
|
106654
|
+
exporting: "Exporting...",
|
|
106655
|
+
filters: {
|
|
106656
|
+
filters: "Filters",
|
|
106657
|
+
moreFilters: "More Filters",
|
|
106658
|
+
clearAllFilters: "Clear All Filters",
|
|
106659
|
+
close: "Close",
|
|
106660
|
+
locationFilter: {
|
|
106661
|
+
selectAll: "Select all",
|
|
106662
|
+
includeSublocations: "Include sublocations",
|
|
106663
|
+
searchLocations: "Search locations",
|
|
106664
|
+
locations: "Locations"
|
|
106665
|
+
},
|
|
106666
|
+
numberFilter: {
|
|
106667
|
+
labels: {
|
|
106668
|
+
and: "and",
|
|
106669
|
+
input_placeholder: "Enter Value",
|
|
106670
|
+
placeholder: "Select an item"
|
|
106671
|
+
},
|
|
106672
|
+
options: {
|
|
106673
|
+
any_value: "Any Value",
|
|
106674
|
+
is_between: "Is Between",
|
|
106675
|
+
greater_than: "Is Greater Than",
|
|
106676
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
106677
|
+
less_than: "Is Less Than",
|
|
106678
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
106679
|
+
no_value: "No Value"
|
|
106680
|
+
}
|
|
106681
|
+
},
|
|
106682
|
+
singleSelectFilter: {
|
|
106683
|
+
placeholder: "Select a Value"
|
|
106684
|
+
},
|
|
106685
|
+
multiSelectQuickFilter: {
|
|
106686
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
106687
|
+
},
|
|
106688
|
+
singleSelectQuickFilter: {
|
|
106689
|
+
ariaLabel: "Quick filter: Select an option"
|
|
106690
|
+
}
|
|
106691
|
+
},
|
|
106692
|
+
loading: {
|
|
106693
|
+
initial: "Information loading.",
|
|
106694
|
+
secondary: "Information loading, thanks for your patience."
|
|
106695
|
+
},
|
|
106696
|
+
menuOptions: {
|
|
106697
|
+
sortMenuItem: {
|
|
106698
|
+
label: "Sort By This Column",
|
|
106699
|
+
sortAscItem: "Sort Column Ascending",
|
|
106700
|
+
sortDescItem: "Sort Column Descending",
|
|
106701
|
+
sortResetItem: "Column Not Sorted"
|
|
106702
|
+
},
|
|
106703
|
+
expandAllGroups: "Expand All Groups",
|
|
106704
|
+
collapseAllGroups: "Collapse All Groups",
|
|
106705
|
+
pinColumn: "Pin Column",
|
|
106706
|
+
pinLeft: "Pin Left",
|
|
106707
|
+
pinRight: "Pin Right",
|
|
106708
|
+
noPin: "No Pin",
|
|
106709
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
106710
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
106711
|
+
hideColumn: "Hide Column",
|
|
106712
|
+
resetColumns: "Reset Columns",
|
|
106713
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
106714
|
+
groupBy: "Group by {{label}}"
|
|
106715
|
+
},
|
|
106716
|
+
grandTotals: "Grand Totals",
|
|
106717
|
+
search: "Search",
|
|
106718
|
+
subtotals: "Subtotals",
|
|
106719
|
+
tableSettings: {
|
|
106720
|
+
configureColumns: "Configure Columns",
|
|
106721
|
+
resetToDefault: "Show All",
|
|
106722
|
+
rowHeight: "Row Height",
|
|
106723
|
+
small: "Small",
|
|
106724
|
+
medium: "Medium",
|
|
106725
|
+
large: "Large",
|
|
106726
|
+
tableSettings: "Table Settings",
|
|
106727
|
+
groupBy: "Group by:",
|
|
106728
|
+
reset: "Reset",
|
|
106729
|
+
selectColumnGroup: "Select a column to group",
|
|
106730
|
+
configure: "Configure"
|
|
106731
|
+
},
|
|
106732
|
+
rowGroupToggle: {
|
|
106733
|
+
expandTierOne: "Open first groups in the table.",
|
|
106734
|
+
expandAll: "Open all groups in the table.",
|
|
106735
|
+
collapseAll: "Close all groups in the table."
|
|
106736
|
+
},
|
|
106737
|
+
columnGroupToggle: {
|
|
106738
|
+
collapse: "Collapse column group",
|
|
106739
|
+
expand: "Expand column group"
|
|
106740
|
+
},
|
|
106741
|
+
cells: {
|
|
106742
|
+
textCell: {
|
|
106743
|
+
placeholder: "Enter text"
|
|
106744
|
+
},
|
|
106745
|
+
currencyCell: {
|
|
106746
|
+
placeholder: "Enter currency"
|
|
106747
|
+
},
|
|
106748
|
+
numberCell: {
|
|
106749
|
+
placeholder: "Enter number"
|
|
106750
|
+
},
|
|
106751
|
+
percentCell: {
|
|
106752
|
+
placeholder: "Enter %"
|
|
106753
|
+
},
|
|
106754
|
+
pillCell: {
|
|
106755
|
+
placeholder: "Select {{label}}"
|
|
106756
|
+
},
|
|
106757
|
+
selectCell: {
|
|
106758
|
+
placeholder: "Select {{label}}"
|
|
106759
|
+
},
|
|
106760
|
+
multiSelectCell: {
|
|
106761
|
+
placeholder: "Select Values"
|
|
106762
|
+
},
|
|
106763
|
+
booleanCell: {
|
|
106764
|
+
options: {
|
|
106765
|
+
yes: "Yes",
|
|
106766
|
+
no: "No"
|
|
106767
|
+
}
|
|
106768
|
+
}
|
|
106769
|
+
},
|
|
106770
|
+
filterRenders: {
|
|
106771
|
+
dateFilter: {
|
|
106772
|
+
single: "Single",
|
|
106773
|
+
range: "Range"
|
|
106774
|
+
}
|
|
106775
|
+
},
|
|
106776
|
+
groupCell: {
|
|
106777
|
+
expand: "Expand group",
|
|
106778
|
+
collapse: "Collapse group"
|
|
106779
|
+
},
|
|
106780
|
+
rowCheckbox: {
|
|
106781
|
+
ariaLabel: "Select Row"
|
|
106782
|
+
}
|
|
106783
|
+
}
|
|
106784
|
+
};
|
|
106785
|
+
|
|
106428
106786
|
// src/locales/pl-PL.json
|
|
106429
106787
|
var pl_PL_default = {
|
|
106430
106788
|
dataTable: {
|
|
@@ -106938,6 +107296,177 @@ var pt_BR_default = {
|
|
|
106938
107296
|
}
|
|
106939
107297
|
};
|
|
106940
107298
|
|
|
107299
|
+
// src/locales/pt-PT.json
|
|
107300
|
+
var pt_PT_default = {
|
|
107301
|
+
dataTable: {
|
|
107302
|
+
emptyState: {
|
|
107303
|
+
noFilteredResults: {
|
|
107304
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
107305
|
+
title: "No Items Match Your Search",
|
|
107306
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107307
|
+
},
|
|
107308
|
+
noResults: {
|
|
107309
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
107310
|
+
title: "There Are No Items to Display Right Now",
|
|
107311
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107312
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107313
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
107314
|
+
featureFilter: "Filter",
|
|
107315
|
+
featureQuickFilter: "Quick Filter",
|
|
107316
|
+
featureGroupBy: "Group By",
|
|
107317
|
+
featureConfigure: "Configure",
|
|
107318
|
+
tableNameFallback: "table"
|
|
107319
|
+
}
|
|
107320
|
+
},
|
|
107321
|
+
bulkActions: {
|
|
107322
|
+
apply: "Apply",
|
|
107323
|
+
bulkEdit: "Bulk Edit",
|
|
107324
|
+
cancel: "Cancel",
|
|
107325
|
+
editValues: "Edit Values",
|
|
107326
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
107327
|
+
placeholderForField: "Enter %{fieldName}",
|
|
107328
|
+
selection: "%{count} %{number} selected",
|
|
107329
|
+
selection_count: {
|
|
107330
|
+
zero: "%{count} items selected",
|
|
107331
|
+
one: "%{count} item selected",
|
|
107332
|
+
other: "%{count} items selected"
|
|
107333
|
+
},
|
|
107334
|
+
success: "The items were successfully updated.",
|
|
107335
|
+
one: "item",
|
|
107336
|
+
many: "items"
|
|
107337
|
+
},
|
|
107338
|
+
exporting: "Exporting...",
|
|
107339
|
+
filters: {
|
|
107340
|
+
filters: "Filters",
|
|
107341
|
+
moreFilters: "More Filters",
|
|
107342
|
+
clearAllFilters: "Clear All Filters",
|
|
107343
|
+
close: "Close",
|
|
107344
|
+
locationFilter: {
|
|
107345
|
+
selectAll: "Select all",
|
|
107346
|
+
includeSublocations: "Include sublocations",
|
|
107347
|
+
searchLocations: "Search locations",
|
|
107348
|
+
locations: "Locations"
|
|
107349
|
+
},
|
|
107350
|
+
numberFilter: {
|
|
107351
|
+
labels: {
|
|
107352
|
+
and: "and",
|
|
107353
|
+
input_placeholder: "Enter Value",
|
|
107354
|
+
placeholder: "Select an item"
|
|
107355
|
+
},
|
|
107356
|
+
options: {
|
|
107357
|
+
any_value: "Any Value",
|
|
107358
|
+
is_between: "Is Between",
|
|
107359
|
+
greater_than: "Is Greater Than",
|
|
107360
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107361
|
+
less_than: "Is Less Than",
|
|
107362
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
107363
|
+
no_value: "No Value"
|
|
107364
|
+
}
|
|
107365
|
+
},
|
|
107366
|
+
singleSelectFilter: {
|
|
107367
|
+
placeholder: "Select a Value"
|
|
107368
|
+
},
|
|
107369
|
+
multiSelectQuickFilter: {
|
|
107370
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
107371
|
+
},
|
|
107372
|
+
singleSelectQuickFilter: {
|
|
107373
|
+
ariaLabel: "Quick filter: Select an option"
|
|
107374
|
+
}
|
|
107375
|
+
},
|
|
107376
|
+
loading: {
|
|
107377
|
+
initial: "Information loading.",
|
|
107378
|
+
secondary: "Information loading, thanks for your patience."
|
|
107379
|
+
},
|
|
107380
|
+
menuOptions: {
|
|
107381
|
+
sortMenuItem: {
|
|
107382
|
+
label: "Sort By This Column",
|
|
107383
|
+
sortAscItem: "Sort Column Ascending",
|
|
107384
|
+
sortDescItem: "Sort Column Descending",
|
|
107385
|
+
sortResetItem: "Column Not Sorted"
|
|
107386
|
+
},
|
|
107387
|
+
expandAllGroups: "Expand All Groups",
|
|
107388
|
+
collapseAllGroups: "Collapse All Groups",
|
|
107389
|
+
pinColumn: "Pin Column",
|
|
107390
|
+
pinLeft: "Pin Left",
|
|
107391
|
+
pinRight: "Pin Right",
|
|
107392
|
+
noPin: "No Pin",
|
|
107393
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
107394
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
107395
|
+
hideColumn: "Hide Column",
|
|
107396
|
+
resetColumns: "Reset Columns",
|
|
107397
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
107398
|
+
groupBy: "Group by {{label}}"
|
|
107399
|
+
},
|
|
107400
|
+
grandTotals: "Grand Totals",
|
|
107401
|
+
search: "Search",
|
|
107402
|
+
subtotals: "Subtotals",
|
|
107403
|
+
tableSettings: {
|
|
107404
|
+
configureColumns: "Configure Columns",
|
|
107405
|
+
resetToDefault: "Show All",
|
|
107406
|
+
rowHeight: "Row Height",
|
|
107407
|
+
small: "Small",
|
|
107408
|
+
medium: "Medium",
|
|
107409
|
+
large: "Large",
|
|
107410
|
+
tableSettings: "Table Settings",
|
|
107411
|
+
groupBy: "Group by:",
|
|
107412
|
+
reset: "Reset",
|
|
107413
|
+
selectColumnGroup: "Select a column to group",
|
|
107414
|
+
configure: "Configure"
|
|
107415
|
+
},
|
|
107416
|
+
rowGroupToggle: {
|
|
107417
|
+
expandTierOne: "Open first groups in the table.",
|
|
107418
|
+
expandAll: "Open all groups in the table.",
|
|
107419
|
+
collapseAll: "Close all groups in the table."
|
|
107420
|
+
},
|
|
107421
|
+
columnGroupToggle: {
|
|
107422
|
+
collapse: "Collapse column group",
|
|
107423
|
+
expand: "Expand column group"
|
|
107424
|
+
},
|
|
107425
|
+
cells: {
|
|
107426
|
+
textCell: {
|
|
107427
|
+
placeholder: "Enter text"
|
|
107428
|
+
},
|
|
107429
|
+
currencyCell: {
|
|
107430
|
+
placeholder: "Enter currency"
|
|
107431
|
+
},
|
|
107432
|
+
numberCell: {
|
|
107433
|
+
placeholder: "Enter number"
|
|
107434
|
+
},
|
|
107435
|
+
percentCell: {
|
|
107436
|
+
placeholder: "Enter %"
|
|
107437
|
+
},
|
|
107438
|
+
pillCell: {
|
|
107439
|
+
placeholder: "Select {{label}}"
|
|
107440
|
+
},
|
|
107441
|
+
selectCell: {
|
|
107442
|
+
placeholder: "Select {{label}}"
|
|
107443
|
+
},
|
|
107444
|
+
multiSelectCell: {
|
|
107445
|
+
placeholder: "Select Values"
|
|
107446
|
+
},
|
|
107447
|
+
booleanCell: {
|
|
107448
|
+
options: {
|
|
107449
|
+
yes: "Yes",
|
|
107450
|
+
no: "No"
|
|
107451
|
+
}
|
|
107452
|
+
}
|
|
107453
|
+
},
|
|
107454
|
+
filterRenders: {
|
|
107455
|
+
dateFilter: {
|
|
107456
|
+
single: "Single",
|
|
107457
|
+
range: "Range"
|
|
107458
|
+
}
|
|
107459
|
+
},
|
|
107460
|
+
groupCell: {
|
|
107461
|
+
expand: "Expand group",
|
|
107462
|
+
collapse: "Collapse group"
|
|
107463
|
+
},
|
|
107464
|
+
rowCheckbox: {
|
|
107465
|
+
ariaLabel: "Select Row"
|
|
107466
|
+
}
|
|
107467
|
+
}
|
|
107468
|
+
};
|
|
107469
|
+
|
|
106941
107470
|
// src/locales/th-TH.json
|
|
106942
107471
|
var th_TH_default = {
|
|
106943
107472
|
dataTable: {
|
|
@@ -107280,6 +107809,177 @@ var zh_SG_default = {
|
|
|
107280
107809
|
}
|
|
107281
107810
|
};
|
|
107282
107811
|
|
|
107812
|
+
// src/locales/zh-TW.json
|
|
107813
|
+
var zh_TW_default = {
|
|
107814
|
+
dataTable: {
|
|
107815
|
+
emptyState: {
|
|
107816
|
+
noFilteredResults: {
|
|
107817
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
107818
|
+
title: "No Items Match Your Search",
|
|
107819
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107820
|
+
},
|
|
107821
|
+
noResults: {
|
|
107822
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
107823
|
+
title: "There Are No Items to Display Right Now",
|
|
107824
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107825
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107826
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
107827
|
+
featureFilter: "Filter",
|
|
107828
|
+
featureQuickFilter: "Quick Filter",
|
|
107829
|
+
featureGroupBy: "Group By",
|
|
107830
|
+
featureConfigure: "Configure",
|
|
107831
|
+
tableNameFallback: "table"
|
|
107832
|
+
}
|
|
107833
|
+
},
|
|
107834
|
+
bulkActions: {
|
|
107835
|
+
apply: "Apply",
|
|
107836
|
+
bulkEdit: "Bulk Edit",
|
|
107837
|
+
cancel: "Cancel",
|
|
107838
|
+
editValues: "Edit Values",
|
|
107839
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
107840
|
+
placeholderForField: "Enter %{fieldName}",
|
|
107841
|
+
selection: "%{count} %{number} selected",
|
|
107842
|
+
selection_count: {
|
|
107843
|
+
zero: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE",
|
|
107844
|
+
one: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE",
|
|
107845
|
+
other: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE"
|
|
107846
|
+
},
|
|
107847
|
+
success: "The items were successfully updated.",
|
|
107848
|
+
one: "item",
|
|
107849
|
+
many: "items"
|
|
107850
|
+
},
|
|
107851
|
+
exporting: "Exporting...",
|
|
107852
|
+
filters: {
|
|
107853
|
+
filters: "Filters",
|
|
107854
|
+
moreFilters: "More Filters",
|
|
107855
|
+
clearAllFilters: "Clear All Filters",
|
|
107856
|
+
close: "Close",
|
|
107857
|
+
locationFilter: {
|
|
107858
|
+
selectAll: "Select all",
|
|
107859
|
+
includeSublocations: "Include sublocations",
|
|
107860
|
+
searchLocations: "Search locations",
|
|
107861
|
+
locations: "Locations"
|
|
107862
|
+
},
|
|
107863
|
+
numberFilter: {
|
|
107864
|
+
labels: {
|
|
107865
|
+
and: "and",
|
|
107866
|
+
input_placeholder: "Enter Value",
|
|
107867
|
+
placeholder: "Select an item"
|
|
107868
|
+
},
|
|
107869
|
+
options: {
|
|
107870
|
+
any_value: "Any Value",
|
|
107871
|
+
is_between: "Is Between",
|
|
107872
|
+
greater_than: "Is Greater Than",
|
|
107873
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107874
|
+
less_than: "Is Less Than",
|
|
107875
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
107876
|
+
no_value: "No Value"
|
|
107877
|
+
}
|
|
107878
|
+
},
|
|
107879
|
+
singleSelectFilter: {
|
|
107880
|
+
placeholder: "Select a Value"
|
|
107881
|
+
},
|
|
107882
|
+
multiSelectQuickFilter: {
|
|
107883
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
107884
|
+
},
|
|
107885
|
+
singleSelectQuickFilter: {
|
|
107886
|
+
ariaLabel: "Quick filter: Select an option"
|
|
107887
|
+
}
|
|
107888
|
+
},
|
|
107889
|
+
loading: {
|
|
107890
|
+
initial: "Information loading.",
|
|
107891
|
+
secondary: "Information loading, thanks for your patience."
|
|
107892
|
+
},
|
|
107893
|
+
menuOptions: {
|
|
107894
|
+
sortMenuItem: {
|
|
107895
|
+
label: "Sort By This Column",
|
|
107896
|
+
sortAscItem: "Sort Column Ascending",
|
|
107897
|
+
sortDescItem: "Sort Column Descending",
|
|
107898
|
+
sortResetItem: "Column Not Sorted"
|
|
107899
|
+
},
|
|
107900
|
+
expandAllGroups: "Expand All Groups",
|
|
107901
|
+
collapseAllGroups: "Collapse All Groups",
|
|
107902
|
+
pinColumn: "Pin Column",
|
|
107903
|
+
pinLeft: "Pin Left",
|
|
107904
|
+
pinRight: "Pin Right",
|
|
107905
|
+
noPin: "No Pin",
|
|
107906
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
107907
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
107908
|
+
hideColumn: "Hide Column",
|
|
107909
|
+
resetColumns: "Reset Columns",
|
|
107910
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
107911
|
+
groupBy: "Group by {{label}}"
|
|
107912
|
+
},
|
|
107913
|
+
grandTotals: "Grand Totals",
|
|
107914
|
+
search: "Search",
|
|
107915
|
+
subtotals: "Subtotals",
|
|
107916
|
+
tableSettings: {
|
|
107917
|
+
configureColumns: "Configure Columns",
|
|
107918
|
+
resetToDefault: "Show All",
|
|
107919
|
+
rowHeight: "Row Height",
|
|
107920
|
+
small: "Small",
|
|
107921
|
+
medium: "Medium",
|
|
107922
|
+
large: "Large",
|
|
107923
|
+
tableSettings: "Table Settings",
|
|
107924
|
+
groupBy: "Group by:",
|
|
107925
|
+
reset: "Reset",
|
|
107926
|
+
selectColumnGroup: "Select a column to group",
|
|
107927
|
+
configure: "Configure"
|
|
107928
|
+
},
|
|
107929
|
+
rowGroupToggle: {
|
|
107930
|
+
expandTierOne: "Open first groups in the table.",
|
|
107931
|
+
expandAll: "Open all groups in the table.",
|
|
107932
|
+
collapseAll: "Close all groups in the table."
|
|
107933
|
+
},
|
|
107934
|
+
columnGroupToggle: {
|
|
107935
|
+
collapse: "Collapse column group",
|
|
107936
|
+
expand: "Expand column group"
|
|
107937
|
+
},
|
|
107938
|
+
cells: {
|
|
107939
|
+
textCell: {
|
|
107940
|
+
placeholder: "Enter text"
|
|
107941
|
+
},
|
|
107942
|
+
currencyCell: {
|
|
107943
|
+
placeholder: "Enter currency"
|
|
107944
|
+
},
|
|
107945
|
+
numberCell: {
|
|
107946
|
+
placeholder: "Enter number"
|
|
107947
|
+
},
|
|
107948
|
+
percentCell: {
|
|
107949
|
+
placeholder: "\u9032\u5165 \uFF05"
|
|
107950
|
+
},
|
|
107951
|
+
pillCell: {
|
|
107952
|
+
placeholder: "Select {{label}}"
|
|
107953
|
+
},
|
|
107954
|
+
selectCell: {
|
|
107955
|
+
placeholder: "Select {{label}}"
|
|
107956
|
+
},
|
|
107957
|
+
multiSelectCell: {
|
|
107958
|
+
placeholder: "\u9078\u64C7\u503C"
|
|
107959
|
+
},
|
|
107960
|
+
booleanCell: {
|
|
107961
|
+
options: {
|
|
107962
|
+
yes: "Yes",
|
|
107963
|
+
no: "No"
|
|
107964
|
+
}
|
|
107965
|
+
}
|
|
107966
|
+
},
|
|
107967
|
+
filterRenders: {
|
|
107968
|
+
dateFilter: {
|
|
107969
|
+
single: "Single",
|
|
107970
|
+
range: "Range"
|
|
107971
|
+
}
|
|
107972
|
+
},
|
|
107973
|
+
groupCell: {
|
|
107974
|
+
expand: "Expand group",
|
|
107975
|
+
collapse: "Collapse group"
|
|
107976
|
+
},
|
|
107977
|
+
rowCheckbox: {
|
|
107978
|
+
ariaLabel: "Select Row"
|
|
107979
|
+
}
|
|
107980
|
+
}
|
|
107981
|
+
};
|
|
107982
|
+
|
|
107283
107983
|
// src/utils/translations.ts
|
|
107284
107984
|
var translations = {
|
|
107285
107985
|
"de-DE": de_DE_default,
|
|
@@ -107297,7 +107997,11 @@ var translations = {
|
|
|
107297
107997
|
"pt-BR": pt_BR_default,
|
|
107298
107998
|
"th-TH": th_TH_default,
|
|
107299
107999
|
"zh-SG": zh_SG_default,
|
|
107300
|
-
"pl-PL": pl_PL_default
|
|
108000
|
+
"pl-PL": pl_PL_default,
|
|
108001
|
+
"it-IT": it_IT_default,
|
|
108002
|
+
"pt-PT": pt_PT_default,
|
|
108003
|
+
"nb-NO": nb_NO_default,
|
|
108004
|
+
"zh-TW": zh_TW_default
|
|
107301
108005
|
};
|
|
107302
108006
|
var PRINCE_XML_DPI = 96;
|
|
107303
108007
|
var DEFAULT_PAGE_MARGIN = 40;
|
|
@@ -108607,6 +109311,20 @@ function getServerSideDatasource(onServerSideDataRequestCallbackRef, onEmptyResp
|
|
|
108607
109311
|
};
|
|
108608
109312
|
}
|
|
108609
109313
|
var minimumColumnWidth = 140;
|
|
109314
|
+
function useComputeAgGridProps(props) {
|
|
109315
|
+
const internalTableContext = useInternalTableContext();
|
|
109316
|
+
const onSSDR = internalTableContext.onServerSideDataRequest;
|
|
109317
|
+
return {
|
|
109318
|
+
groupIncludeFooter: !onSSDR && props.groupIncludeFooter === void 0 ? true : props.groupIncludeFooter,
|
|
109319
|
+
rowDragManaged: onSSDR ? false : props.rowDragManaged ?? true,
|
|
109320
|
+
rowModelType: onSSDR ? "serverSide" : void 0,
|
|
109321
|
+
groupSelectsChildren: (
|
|
109322
|
+
// Always true for client side, defaults to true for server side
|
|
109323
|
+
internalTableContext.totalRowCount > 0 && props.groupSelectsChildren !== false || !onSSDR
|
|
109324
|
+
),
|
|
109325
|
+
groupDefaultExpanded: props.groupsAlwaysExpanded ? -1 : props.groupDefaultExpanded
|
|
109326
|
+
};
|
|
109327
|
+
}
|
|
108610
109328
|
var Table = (props) => {
|
|
108611
109329
|
var _a, _b, _c;
|
|
108612
109330
|
const { suppressColumnVirtualisation = true, rowActionsConfig = {} } = props;
|
|
@@ -108657,16 +109375,30 @@ var Table = (props) => {
|
|
|
108657
109375
|
React80.useImperativeHandle(internalTableContext.tableRef, () => tableApi, [
|
|
108658
109376
|
tableApi
|
|
108659
109377
|
]);
|
|
109378
|
+
const {
|
|
109379
|
+
groupIncludeFooter,
|
|
109380
|
+
rowDragManaged,
|
|
109381
|
+
rowModelType,
|
|
109382
|
+
groupSelectsChildren,
|
|
109383
|
+
groupDefaultExpanded
|
|
109384
|
+
} = useComputeAgGridProps(props);
|
|
109385
|
+
const { overrideEditable } = createColumnEditableUtils({
|
|
109386
|
+
enableGroupHeaderEdit: props.enableGroupHeaderEdit
|
|
109387
|
+
});
|
|
108660
109388
|
const decoratedColDefs = React80.useMemo(
|
|
108661
109389
|
() => {
|
|
108662
109390
|
var _a2;
|
|
108663
|
-
return (_a2 = internalTableContext.columnDefinitions) == null ? void 0 : _a2.map(
|
|
108664
|
-
|
|
109391
|
+
return (_a2 = internalTableContext.columnDefinitions) == null ? void 0 : _a2.map((colDef) => {
|
|
109392
|
+
const newColDef = transformToColDef(
|
|
108665
109393
|
colDef,
|
|
108666
109394
|
internalTableContext.enableGroupEditAndValidation,
|
|
108667
109395
|
internalTableContext.enableDynamicRowHeight
|
|
108668
|
-
)
|
|
108669
|
-
|
|
109396
|
+
);
|
|
109397
|
+
return {
|
|
109398
|
+
...newColDef,
|
|
109399
|
+
editable: overrideEditable(colDef.editable)
|
|
109400
|
+
};
|
|
109401
|
+
});
|
|
108670
109402
|
},
|
|
108671
109403
|
[internalTableContext.columnDefinitions]
|
|
108672
109404
|
);
|
|
@@ -109438,13 +110170,10 @@ var Table = (props) => {
|
|
|
109438
110170
|
getRowId: internalTableContext.getRowId,
|
|
109439
110171
|
getRowStyle,
|
|
109440
110172
|
groupAllowUnbalanced: true,
|
|
109441
|
-
groupDefaultExpanded
|
|
109442
|
-
groupIncludeFooter
|
|
110173
|
+
groupDefaultExpanded,
|
|
110174
|
+
groupIncludeFooter,
|
|
109443
110175
|
getGroupRowAgg: props.getGroupRowAgg ? getGroupRowAgg : void 0,
|
|
109444
|
-
groupSelectsChildren
|
|
109445
|
-
// Always true for client side, defaults to true for server side
|
|
109446
|
-
internalTableContext.totalRowCount > 0 && props.groupSelectsChildren !== false || !onSSDR
|
|
109447
|
-
),
|
|
110176
|
+
groupSelectsChildren,
|
|
109448
110177
|
groupSelectsFiltered: true,
|
|
109449
110178
|
headerHeight: props.headerHeight,
|
|
109450
110179
|
icons: tableIcons,
|
|
@@ -109502,8 +110231,8 @@ var Table = (props) => {
|
|
|
109502
110231
|
pinnedBottomRowData: props.pinnedBottomRowData,
|
|
109503
110232
|
rowBuffer: props.rowBuffer,
|
|
109504
110233
|
rowClassRules,
|
|
109505
|
-
rowDragManaged
|
|
109506
|
-
rowModelType
|
|
110234
|
+
rowDragManaged,
|
|
110235
|
+
rowModelType,
|
|
109507
110236
|
rowSelection: "multiple",
|
|
109508
110237
|
...serverSideInfiniteScroll,
|
|
109509
110238
|
suppressClickEdit: true,
|