@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/modern/index.js
CHANGED
|
@@ -54602,6 +54602,32 @@ function SingleSelectFilterRenderer({
|
|
|
54602
54602
|
);
|
|
54603
54603
|
}
|
|
54604
54604
|
|
|
54605
|
+
// src/utils/columnEditableHelpers.ts
|
|
54606
|
+
function createColumnEditableUtils(options) {
|
|
54607
|
+
return {
|
|
54608
|
+
overrideEditable: (columnEditable) => {
|
|
54609
|
+
return (params) => {
|
|
54610
|
+
const isGroupNodeExpanded = params.node.group && params.node.expanded;
|
|
54611
|
+
if (params.node?.rowPinned || !options.enableGroupHeaderEdit && isGroupNodeExpanded && !params.node.footer) {
|
|
54612
|
+
return false;
|
|
54613
|
+
}
|
|
54614
|
+
if (typeof columnEditable === "boolean") {
|
|
54615
|
+
return columnEditable;
|
|
54616
|
+
}
|
|
54617
|
+
return columnEditable?.(params) ?? false;
|
|
54618
|
+
};
|
|
54619
|
+
}
|
|
54620
|
+
};
|
|
54621
|
+
}
|
|
54622
|
+
function isColumnEditable(columnEditable) {
|
|
54623
|
+
return (params) => {
|
|
54624
|
+
if (typeof columnEditable === "boolean") {
|
|
54625
|
+
return columnEditable;
|
|
54626
|
+
}
|
|
54627
|
+
return columnEditable?.(params) ?? false;
|
|
54628
|
+
};
|
|
54629
|
+
}
|
|
54630
|
+
|
|
54605
54631
|
// src/utils/transformers.ts
|
|
54606
54632
|
var emptyObject = {};
|
|
54607
54633
|
var DEFAULT_AUTO_GROUP_COLUMN_DEFINITION = {
|
|
@@ -54682,22 +54708,11 @@ function transformToColumnDefinition(colDef = emptyObject) {
|
|
|
54682
54708
|
valueSetter: colDef.valueSetter
|
|
54683
54709
|
};
|
|
54684
54710
|
}
|
|
54685
|
-
function isEditable(columnEditable) {
|
|
54686
|
-
return (params) => {
|
|
54687
|
-
if (params.node?.rowPinned || params.node.group && params.node.expanded && !params.node.footer) {
|
|
54688
|
-
return false;
|
|
54689
|
-
}
|
|
54690
|
-
if (typeof columnEditable === "boolean") {
|
|
54691
|
-
return columnEditable;
|
|
54692
|
-
}
|
|
54693
|
-
return columnEditable?.(params) ?? false;
|
|
54694
|
-
};
|
|
54695
|
-
}
|
|
54696
54711
|
function shouldHaveEditStyles(params) {
|
|
54697
54712
|
if (!params.colDef?.cellEditor) {
|
|
54698
54713
|
return false;
|
|
54699
54714
|
}
|
|
54700
|
-
return
|
|
54715
|
+
return isColumnEditable(params.colDef.editable);
|
|
54701
54716
|
}
|
|
54702
54717
|
var toExcelCellClass = (className) => `excel-export--${className}`;
|
|
54703
54718
|
function transformToExcelStyles(excelDataFormats) {
|
|
@@ -54820,11 +54835,11 @@ function transformColumnDefinitionToColDef(dataTableColumnDefinition, enableGrou
|
|
|
54820
54835
|
parentData: context?.parentData,
|
|
54821
54836
|
parentId: context?.parentId
|
|
54822
54837
|
}) : aggFunc,
|
|
54823
|
-
bulkEditable:
|
|
54838
|
+
bulkEditable: isColumnEditable(bulkEditable),
|
|
54824
54839
|
cellClass: cellExcelDataType ? toExcelCellClass(cellExcelDataType) : void 0,
|
|
54825
54840
|
cellClassRules,
|
|
54826
54841
|
comparator,
|
|
54827
|
-
editable:
|
|
54842
|
+
editable: isColumnEditable(_editable),
|
|
54828
54843
|
filter: getFilter(dataTableColumnDefinition),
|
|
54829
54844
|
// set filter by default
|
|
54830
54845
|
filterParams: {
|
|
@@ -55145,12 +55160,12 @@ function getDecoratedAutoGroupColDef(columnDefinition, enableGroupEditAndValidat
|
|
|
55145
55160
|
}
|
|
55146
55161
|
|
|
55147
55162
|
// src/CellRenderers/AutoGroupCell.scss
|
|
55148
|
-
var css5 = `.
|
|
55163
|
+
var css5 = `._autoGroupCell_1qx8z_1 {
|
|
55149
55164
|
height: 100%;
|
|
55150
55165
|
width: 100%;
|
|
55151
55166
|
}
|
|
55152
55167
|
|
|
55153
|
-
.
|
|
55168
|
+
._indent_1qx8z_6 {
|
|
55154
55169
|
border-right: 1px solid #d6dadc;
|
|
55155
55170
|
background: #f4f5f6;
|
|
55156
55171
|
position: absolute;
|
|
@@ -55158,44 +55173,45 @@ var css5 = `._autoGroupCell_pq41h_1 {
|
|
|
55158
55173
|
bottom: -1px;
|
|
55159
55174
|
width: 12px;
|
|
55160
55175
|
}
|
|
55161
|
-
.
|
|
55176
|
+
._indent_1qx8z_6._innermostLastIndent_1qx8z_14 {
|
|
55162
55177
|
bottom: 0px;
|
|
55163
55178
|
}
|
|
55164
55179
|
|
|
55165
|
-
.
|
|
55180
|
+
._expandableCaret_1qx8z_18 {
|
|
55166
55181
|
margin-left: -8px;
|
|
55167
55182
|
margin-right: 4px;
|
|
55168
55183
|
width: 24px;
|
|
55184
|
+
flex-shrink: 0;
|
|
55169
55185
|
}
|
|
55170
55186
|
|
|
55171
|
-
.
|
|
55187
|
+
._expandCaret_1qx8z_25 {
|
|
55172
55188
|
color: #2066df;
|
|
55173
55189
|
cursor: pointer;
|
|
55174
55190
|
}
|
|
55175
55191
|
|
|
55176
|
-
.
|
|
55192
|
+
._collapseCaret_1qx8z_30 {
|
|
55177
55193
|
color: #75838a;
|
|
55178
55194
|
cursor: pointer;
|
|
55179
55195
|
}
|
|
55180
55196
|
|
|
55181
|
-
.
|
|
55197
|
+
._value_1qx8z_35 {
|
|
55182
55198
|
overflow: hidden;
|
|
55183
55199
|
text-overflow: ellipsis;
|
|
55184
55200
|
font-size: 12px;
|
|
55185
55201
|
}
|
|
55186
|
-
.
|
|
55202
|
+
._value_1qx8z_35._footer_1qx8z_40 {
|
|
55187
55203
|
color: #6a767c;
|
|
55188
55204
|
}`;
|
|
55189
55205
|
document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css5));
|
|
55190
55206
|
var AutoGroupCell_default = {
|
|
55191
|
-
"autoGroupCell": "
|
|
55192
|
-
"indent": "
|
|
55193
|
-
"innermostLastIndent": "
|
|
55194
|
-
"expandableCaret": "
|
|
55195
|
-
"expandCaret": "
|
|
55196
|
-
"collapseCaret": "
|
|
55197
|
-
"value": "
|
|
55198
|
-
"footer": "
|
|
55207
|
+
"autoGroupCell": "_autoGroupCell_1qx8z_1",
|
|
55208
|
+
"indent": "_indent_1qx8z_6",
|
|
55209
|
+
"innermostLastIndent": "_innermostLastIndent_1qx8z_14",
|
|
55210
|
+
"expandableCaret": "_expandableCaret_1qx8z_18",
|
|
55211
|
+
"expandCaret": "_expandCaret_1qx8z_25",
|
|
55212
|
+
"collapseCaret": "_collapseCaret_1qx8z_30",
|
|
55213
|
+
"value": "_value_1qx8z_35",
|
|
55214
|
+
"footer": "_footer_1qx8z_40"
|
|
55199
55215
|
};
|
|
55200
55216
|
|
|
55201
55217
|
// src/utils/rowSelectionHelpers.ts
|
|
@@ -76259,12 +76275,12 @@ var MenuItemMapper = class MenuItemMapper2 extends BeanStub {
|
|
|
76259
76275
|
if (ModuleRegistry.__assertRegistered(ModuleNames.ClipboardModule, "Cut from Menu", this.context.getGridId())) {
|
|
76260
76276
|
const focusedCell = this.focusService.getFocusedCell();
|
|
76261
76277
|
const rowNode = focusedCell ? this.rowPositionUtils.getRowNode(focusedCell) : null;
|
|
76262
|
-
const
|
|
76278
|
+
const isEditable = rowNode ? focusedCell === null || focusedCell === void 0 ? void 0 : focusedCell.column.isCellEditable(rowNode) : false;
|
|
76263
76279
|
return {
|
|
76264
76280
|
name: localeTextFunc("cut", "Cut"),
|
|
76265
76281
|
shortcut: localeTextFunc("ctrlX", "Ctrl+X"),
|
|
76266
76282
|
icon: _.createIconNoSpan("clipboardCut", this.gridOptionsService, null),
|
|
76267
|
-
disabled: !
|
|
76283
|
+
disabled: !isEditable || this.gridOptionsService.is("suppressCutToClipboard"),
|
|
76268
76284
|
action: () => this.clipboardService.cutToClipboard(void 0, "contextMenu")
|
|
76269
76285
|
};
|
|
76270
76286
|
} else {
|
|
@@ -106117,6 +106133,177 @@ var is_IS_default = {
|
|
|
106117
106133
|
}
|
|
106118
106134
|
};
|
|
106119
106135
|
|
|
106136
|
+
// src/locales/it-IT.json
|
|
106137
|
+
var it_IT_default = {
|
|
106138
|
+
dataTable: {
|
|
106139
|
+
emptyState: {
|
|
106140
|
+
noFilteredResults: {
|
|
106141
|
+
description: "Controllare l'ortografia e le opzioni di filtro oppure effettuare la ricerca con una parola chiave diversa.",
|
|
106142
|
+
title: "Nessun elemento corrispondente alla ricerca",
|
|
106143
|
+
itemsTitle: "Nessuna corrispondenza %{itemsLabel} con la ricerca"
|
|
106144
|
+
},
|
|
106145
|
+
noResults: {
|
|
106146
|
+
description: "Gli elementi creati dal team saranno accessibili qui. ",
|
|
106147
|
+
title: "Al momento non sono presenti elementi da visualizzare",
|
|
106148
|
+
itemsTitle: "Al momento non sono presenti %{itemsLabel} da visualizzare",
|
|
106149
|
+
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni a %{tableName}",
|
|
106150
|
+
searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni a %{tableName}",
|
|
106151
|
+
featureFilter: "Filtro",
|
|
106152
|
+
featureQuickFilter: "Filtro rapido",
|
|
106153
|
+
featureGroupBy: "Raggruppa per",
|
|
106154
|
+
featureConfigure: "Configura",
|
|
106155
|
+
tableNameFallback: "tabella"
|
|
106156
|
+
}
|
|
106157
|
+
},
|
|
106158
|
+
bulkActions: {
|
|
106159
|
+
apply: "Applica",
|
|
106160
|
+
bulkEdit: "Modifica in blocco",
|
|
106161
|
+
cancel: "Annulla",
|
|
106162
|
+
editValues: "Modifica valori",
|
|
106163
|
+
error: "Impossibile aggiornare gli elementi. Riprovare.",
|
|
106164
|
+
placeholderForField: "Inserire %{fieldName}",
|
|
106165
|
+
selection: "%{count} %{number} selezionati",
|
|
106166
|
+
selection_count: {
|
|
106167
|
+
zero: "%{count} elementi selezionati",
|
|
106168
|
+
one: "%{count} elemento selezionato",
|
|
106169
|
+
other: "%{count} elementi selezionati"
|
|
106170
|
+
},
|
|
106171
|
+
success: "Gli elementi sono stati aggiornati correttamente.",
|
|
106172
|
+
one: "elemento",
|
|
106173
|
+
many: "elementi"
|
|
106174
|
+
},
|
|
106175
|
+
exporting: "Esportazione in corso...",
|
|
106176
|
+
filters: {
|
|
106177
|
+
filters: "Filtri",
|
|
106178
|
+
moreFilters: "Altri filtri",
|
|
106179
|
+
clearAllFilters: "Cancella tutti i filtri",
|
|
106180
|
+
close: "Chiudi",
|
|
106181
|
+
locationFilter: {
|
|
106182
|
+
selectAll: "Seleziona tutto",
|
|
106183
|
+
includeSublocations: "Includi posizioni secondarie",
|
|
106184
|
+
searchLocations: "Cerca posizioni",
|
|
106185
|
+
locations: "Posizioni"
|
|
106186
|
+
},
|
|
106187
|
+
numberFilter: {
|
|
106188
|
+
labels: {
|
|
106189
|
+
and: "e",
|
|
106190
|
+
input_placeholder: "Inserisci valore",
|
|
106191
|
+
placeholder: "Selezionare un elemento"
|
|
106192
|
+
},
|
|
106193
|
+
options: {
|
|
106194
|
+
any_value: "Qualsiasi valore",
|
|
106195
|
+
is_between: "\xC8 compreso tra",
|
|
106196
|
+
greater_than: "\xC8 maggiore di",
|
|
106197
|
+
greater_than_equal_to: "\xC8 maggiore o uguale a",
|
|
106198
|
+
less_than: "\xC8 minore di",
|
|
106199
|
+
less_than_equal_to: "\xC8 minore o uguale a",
|
|
106200
|
+
no_value: "Nessun valore"
|
|
106201
|
+
}
|
|
106202
|
+
},
|
|
106203
|
+
singleSelectFilter: {
|
|
106204
|
+
placeholder: "Selezionare un valore"
|
|
106205
|
+
},
|
|
106206
|
+
multiSelectQuickFilter: {
|
|
106207
|
+
ariaLabel: "Filtro rapido: selezionare pi\xF9 opzioni"
|
|
106208
|
+
},
|
|
106209
|
+
singleSelectQuickFilter: {
|
|
106210
|
+
ariaLabel: "Filtro rapido: selezionare un'opzione"
|
|
106211
|
+
}
|
|
106212
|
+
},
|
|
106213
|
+
loading: {
|
|
106214
|
+
initial: "Caricamento delle informazioni in corso.",
|
|
106215
|
+
secondary: "Caricamento delle informazioni in corso, grazie per la pazienza."
|
|
106216
|
+
},
|
|
106217
|
+
menuOptions: {
|
|
106218
|
+
sortMenuItem: {
|
|
106219
|
+
label: "Ordina per questa colonna",
|
|
106220
|
+
sortAscItem: "Ordina colonna (crescente)",
|
|
106221
|
+
sortDescItem: "Ordina colonna (decrescente)",
|
|
106222
|
+
sortResetItem: "Colonna non ordinata"
|
|
106223
|
+
},
|
|
106224
|
+
expandAllGroups: "Espandi tutti i gruppi",
|
|
106225
|
+
collapseAllGroups: "Comprimi tutti i gruppi",
|
|
106226
|
+
pinColumn: "Fissa colonna",
|
|
106227
|
+
pinLeft: "Fissa a sinistra",
|
|
106228
|
+
pinRight: "Fissa a destra",
|
|
106229
|
+
noPin: "Sblocca",
|
|
106230
|
+
autoSizeThisColumn: "Dimensione automatica per questa colonna",
|
|
106231
|
+
autoSizeAllColumns: "Dimensione automatica per tutte le colonne",
|
|
106232
|
+
hideColumn: "Nascondi colonna",
|
|
106233
|
+
resetColumns: "Reimposta colonne",
|
|
106234
|
+
unGroupBy: "Annulla raggruppamento per {{label}}",
|
|
106235
|
+
groupBy: "Raggruppa per {{label}}"
|
|
106236
|
+
},
|
|
106237
|
+
grandTotals: "Totali generali",
|
|
106238
|
+
search: "Cerca",
|
|
106239
|
+
subtotals: "Subtotali",
|
|
106240
|
+
tableSettings: {
|
|
106241
|
+
configureColumns: "Configura colonne",
|
|
106242
|
+
resetToDefault: "Mostra tutto",
|
|
106243
|
+
rowHeight: "Altezza riga",
|
|
106244
|
+
small: "Piccola",
|
|
106245
|
+
medium: "Media",
|
|
106246
|
+
large: "Grande",
|
|
106247
|
+
tableSettings: "Impostazioni tabella",
|
|
106248
|
+
groupBy: "Raggruppa per:",
|
|
106249
|
+
reset: "Reimposta",
|
|
106250
|
+
selectColumnGroup: "Selezionare una colonna da usare per il raggruppamento",
|
|
106251
|
+
configure: "Configura"
|
|
106252
|
+
},
|
|
106253
|
+
rowGroupToggle: {
|
|
106254
|
+
expandTierOne: "Aprire i primi gruppi nella tabella.",
|
|
106255
|
+
expandAll: "Aprire tutti i gruppi nella tabella.",
|
|
106256
|
+
collapseAll: "Chiudere tutti i gruppi nella tabella."
|
|
106257
|
+
},
|
|
106258
|
+
columnGroupToggle: {
|
|
106259
|
+
collapse: "Comprimi gruppo di colonne",
|
|
106260
|
+
expand: "Espandi gruppo di colonne"
|
|
106261
|
+
},
|
|
106262
|
+
cells: {
|
|
106263
|
+
textCell: {
|
|
106264
|
+
placeholder: "Inserisci testo"
|
|
106265
|
+
},
|
|
106266
|
+
currencyCell: {
|
|
106267
|
+
placeholder: "Inserisci valuta"
|
|
106268
|
+
},
|
|
106269
|
+
numberCell: {
|
|
106270
|
+
placeholder: "Inserisci numero"
|
|
106271
|
+
},
|
|
106272
|
+
percentCell: {
|
|
106273
|
+
placeholder: "Inserisci %"
|
|
106274
|
+
},
|
|
106275
|
+
pillCell: {
|
|
106276
|
+
placeholder: "Seleziona {{label}}"
|
|
106277
|
+
},
|
|
106278
|
+
selectCell: {
|
|
106279
|
+
placeholder: "Seleziona {{label}}"
|
|
106280
|
+
},
|
|
106281
|
+
multiSelectCell: {
|
|
106282
|
+
placeholder: "Seleziona valori"
|
|
106283
|
+
},
|
|
106284
|
+
booleanCell: {
|
|
106285
|
+
options: {
|
|
106286
|
+
yes: "S\xEC",
|
|
106287
|
+
no: "No"
|
|
106288
|
+
}
|
|
106289
|
+
}
|
|
106290
|
+
},
|
|
106291
|
+
filterRenders: {
|
|
106292
|
+
dateFilter: {
|
|
106293
|
+
single: "Singolo",
|
|
106294
|
+
range: "Intervallo"
|
|
106295
|
+
}
|
|
106296
|
+
},
|
|
106297
|
+
groupCell: {
|
|
106298
|
+
expand: "Espandi gruppo",
|
|
106299
|
+
collapse: "Comprimi gruppo"
|
|
106300
|
+
},
|
|
106301
|
+
rowCheckbox: {
|
|
106302
|
+
ariaLabel: "Seleziona riga"
|
|
106303
|
+
}
|
|
106304
|
+
}
|
|
106305
|
+
};
|
|
106306
|
+
|
|
106120
106307
|
// src/locales/ja-JP.json
|
|
106121
106308
|
var ja_JP_default = {
|
|
106122
106309
|
dataTable: {
|
|
@@ -106288,6 +106475,177 @@ var ja_JP_default = {
|
|
|
106288
106475
|
}
|
|
106289
106476
|
};
|
|
106290
106477
|
|
|
106478
|
+
// src/locales/nb-NO.json
|
|
106479
|
+
var nb_NO_default = {
|
|
106480
|
+
dataTable: {
|
|
106481
|
+
emptyState: {
|
|
106482
|
+
noFilteredResults: {
|
|
106483
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
106484
|
+
title: "No Items Match Your Search",
|
|
106485
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
106486
|
+
},
|
|
106487
|
+
noResults: {
|
|
106488
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
106489
|
+
title: "There Are No Items to Display Right Now",
|
|
106490
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
106491
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
106492
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
106493
|
+
featureFilter: "Filter",
|
|
106494
|
+
featureQuickFilter: "Quick Filter",
|
|
106495
|
+
featureGroupBy: "Group By",
|
|
106496
|
+
featureConfigure: "Configure",
|
|
106497
|
+
tableNameFallback: "table"
|
|
106498
|
+
}
|
|
106499
|
+
},
|
|
106500
|
+
bulkActions: {
|
|
106501
|
+
apply: "Apply",
|
|
106502
|
+
bulkEdit: "Bulk Edit",
|
|
106503
|
+
cancel: "Cancel",
|
|
106504
|
+
editValues: "Edit Values",
|
|
106505
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
106506
|
+
placeholderForField: "Enter %{fieldName}",
|
|
106507
|
+
selection: "%{count} %{number} selected",
|
|
106508
|
+
selection_count: {
|
|
106509
|
+
zero: "%{count} items selected",
|
|
106510
|
+
one: "%{count} item selected",
|
|
106511
|
+
other: "%{count} items selected"
|
|
106512
|
+
},
|
|
106513
|
+
success: "The items were successfully updated.",
|
|
106514
|
+
one: "item",
|
|
106515
|
+
many: "items"
|
|
106516
|
+
},
|
|
106517
|
+
exporting: "Exporting...",
|
|
106518
|
+
filters: {
|
|
106519
|
+
filters: "Filters",
|
|
106520
|
+
moreFilters: "More Filters",
|
|
106521
|
+
clearAllFilters: "Clear All Filters",
|
|
106522
|
+
close: "Close",
|
|
106523
|
+
locationFilter: {
|
|
106524
|
+
selectAll: "Select all",
|
|
106525
|
+
includeSublocations: "Include sublocations",
|
|
106526
|
+
searchLocations: "Search locations",
|
|
106527
|
+
locations: "Locations"
|
|
106528
|
+
},
|
|
106529
|
+
numberFilter: {
|
|
106530
|
+
labels: {
|
|
106531
|
+
and: "and",
|
|
106532
|
+
input_placeholder: "Enter Value",
|
|
106533
|
+
placeholder: "Select an item"
|
|
106534
|
+
},
|
|
106535
|
+
options: {
|
|
106536
|
+
any_value: "Any Value",
|
|
106537
|
+
is_between: "Is Between",
|
|
106538
|
+
greater_than: "Is Greater Than",
|
|
106539
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
106540
|
+
less_than: "Is Less Than",
|
|
106541
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
106542
|
+
no_value: "No Value"
|
|
106543
|
+
}
|
|
106544
|
+
},
|
|
106545
|
+
singleSelectFilter: {
|
|
106546
|
+
placeholder: "Select a Value"
|
|
106547
|
+
},
|
|
106548
|
+
multiSelectQuickFilter: {
|
|
106549
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
106550
|
+
},
|
|
106551
|
+
singleSelectQuickFilter: {
|
|
106552
|
+
ariaLabel: "Quick filter: Select an option"
|
|
106553
|
+
}
|
|
106554
|
+
},
|
|
106555
|
+
loading: {
|
|
106556
|
+
initial: "Information loading.",
|
|
106557
|
+
secondary: "Information loading, thanks for your patience."
|
|
106558
|
+
},
|
|
106559
|
+
menuOptions: {
|
|
106560
|
+
sortMenuItem: {
|
|
106561
|
+
label: "Sort By This Column",
|
|
106562
|
+
sortAscItem: "Sort Column Ascending",
|
|
106563
|
+
sortDescItem: "Sort Column Descending",
|
|
106564
|
+
sortResetItem: "Column Not Sorted"
|
|
106565
|
+
},
|
|
106566
|
+
expandAllGroups: "Expand All Groups",
|
|
106567
|
+
collapseAllGroups: "Collapse All Groups",
|
|
106568
|
+
pinColumn: "Pin Column",
|
|
106569
|
+
pinLeft: "Pin Left",
|
|
106570
|
+
pinRight: "Pin Right",
|
|
106571
|
+
noPin: "No Pin",
|
|
106572
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
106573
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
106574
|
+
hideColumn: "Hide Column",
|
|
106575
|
+
resetColumns: "Reset Columns",
|
|
106576
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
106577
|
+
groupBy: "Group by {{label}}"
|
|
106578
|
+
},
|
|
106579
|
+
grandTotals: "Grand Totals",
|
|
106580
|
+
search: "Search",
|
|
106581
|
+
subtotals: "Subtotals",
|
|
106582
|
+
tableSettings: {
|
|
106583
|
+
configureColumns: "Configure Columns",
|
|
106584
|
+
resetToDefault: "Show All",
|
|
106585
|
+
rowHeight: "Row Height",
|
|
106586
|
+
small: "Small",
|
|
106587
|
+
medium: "Medium",
|
|
106588
|
+
large: "Large",
|
|
106589
|
+
tableSettings: "Table Settings",
|
|
106590
|
+
groupBy: "Group by:",
|
|
106591
|
+
reset: "Reset",
|
|
106592
|
+
selectColumnGroup: "Select a column to group",
|
|
106593
|
+
configure: "Configure"
|
|
106594
|
+
},
|
|
106595
|
+
rowGroupToggle: {
|
|
106596
|
+
expandTierOne: "Open first groups in the table.",
|
|
106597
|
+
expandAll: "Open all groups in the table.",
|
|
106598
|
+
collapseAll: "Close all groups in the table."
|
|
106599
|
+
},
|
|
106600
|
+
columnGroupToggle: {
|
|
106601
|
+
collapse: "Collapse column group",
|
|
106602
|
+
expand: "Expand column group"
|
|
106603
|
+
},
|
|
106604
|
+
cells: {
|
|
106605
|
+
textCell: {
|
|
106606
|
+
placeholder: "Enter text"
|
|
106607
|
+
},
|
|
106608
|
+
currencyCell: {
|
|
106609
|
+
placeholder: "Enter currency"
|
|
106610
|
+
},
|
|
106611
|
+
numberCell: {
|
|
106612
|
+
placeholder: "Enter number"
|
|
106613
|
+
},
|
|
106614
|
+
percentCell: {
|
|
106615
|
+
placeholder: "Enter %"
|
|
106616
|
+
},
|
|
106617
|
+
pillCell: {
|
|
106618
|
+
placeholder: "Select {{label}}"
|
|
106619
|
+
},
|
|
106620
|
+
selectCell: {
|
|
106621
|
+
placeholder: "Select {{label}}"
|
|
106622
|
+
},
|
|
106623
|
+
multiSelectCell: {
|
|
106624
|
+
placeholder: "Select Values"
|
|
106625
|
+
},
|
|
106626
|
+
booleanCell: {
|
|
106627
|
+
options: {
|
|
106628
|
+
yes: "Yes",
|
|
106629
|
+
no: "No"
|
|
106630
|
+
}
|
|
106631
|
+
}
|
|
106632
|
+
},
|
|
106633
|
+
filterRenders: {
|
|
106634
|
+
dateFilter: {
|
|
106635
|
+
single: "Single",
|
|
106636
|
+
range: "Range"
|
|
106637
|
+
}
|
|
106638
|
+
},
|
|
106639
|
+
groupCell: {
|
|
106640
|
+
expand: "Expand group",
|
|
106641
|
+
collapse: "Collapse group"
|
|
106642
|
+
},
|
|
106643
|
+
rowCheckbox: {
|
|
106644
|
+
ariaLabel: "Select Row"
|
|
106645
|
+
}
|
|
106646
|
+
}
|
|
106647
|
+
};
|
|
106648
|
+
|
|
106291
106649
|
// src/locales/pl-PL.json
|
|
106292
106650
|
var pl_PL_default = {
|
|
106293
106651
|
dataTable: {
|
|
@@ -106801,6 +107159,177 @@ var pt_BR_default = {
|
|
|
106801
107159
|
}
|
|
106802
107160
|
};
|
|
106803
107161
|
|
|
107162
|
+
// src/locales/pt-PT.json
|
|
107163
|
+
var pt_PT_default = {
|
|
107164
|
+
dataTable: {
|
|
107165
|
+
emptyState: {
|
|
107166
|
+
noFilteredResults: {
|
|
107167
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
107168
|
+
title: "No Items Match Your Search",
|
|
107169
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107170
|
+
},
|
|
107171
|
+
noResults: {
|
|
107172
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
107173
|
+
title: "There Are No Items to Display Right Now",
|
|
107174
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107175
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107176
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
107177
|
+
featureFilter: "Filter",
|
|
107178
|
+
featureQuickFilter: "Quick Filter",
|
|
107179
|
+
featureGroupBy: "Group By",
|
|
107180
|
+
featureConfigure: "Configure",
|
|
107181
|
+
tableNameFallback: "table"
|
|
107182
|
+
}
|
|
107183
|
+
},
|
|
107184
|
+
bulkActions: {
|
|
107185
|
+
apply: "Apply",
|
|
107186
|
+
bulkEdit: "Bulk Edit",
|
|
107187
|
+
cancel: "Cancel",
|
|
107188
|
+
editValues: "Edit Values",
|
|
107189
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
107190
|
+
placeholderForField: "Enter %{fieldName}",
|
|
107191
|
+
selection: "%{count} %{number} selected",
|
|
107192
|
+
selection_count: {
|
|
107193
|
+
zero: "%{count} items selected",
|
|
107194
|
+
one: "%{count} item selected",
|
|
107195
|
+
other: "%{count} items selected"
|
|
107196
|
+
},
|
|
107197
|
+
success: "The items were successfully updated.",
|
|
107198
|
+
one: "item",
|
|
107199
|
+
many: "items"
|
|
107200
|
+
},
|
|
107201
|
+
exporting: "Exporting...",
|
|
107202
|
+
filters: {
|
|
107203
|
+
filters: "Filters",
|
|
107204
|
+
moreFilters: "More Filters",
|
|
107205
|
+
clearAllFilters: "Clear All Filters",
|
|
107206
|
+
close: "Close",
|
|
107207
|
+
locationFilter: {
|
|
107208
|
+
selectAll: "Select all",
|
|
107209
|
+
includeSublocations: "Include sublocations",
|
|
107210
|
+
searchLocations: "Search locations",
|
|
107211
|
+
locations: "Locations"
|
|
107212
|
+
},
|
|
107213
|
+
numberFilter: {
|
|
107214
|
+
labels: {
|
|
107215
|
+
and: "and",
|
|
107216
|
+
input_placeholder: "Enter Value",
|
|
107217
|
+
placeholder: "Select an item"
|
|
107218
|
+
},
|
|
107219
|
+
options: {
|
|
107220
|
+
any_value: "Any Value",
|
|
107221
|
+
is_between: "Is Between",
|
|
107222
|
+
greater_than: "Is Greater Than",
|
|
107223
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107224
|
+
less_than: "Is Less Than",
|
|
107225
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
107226
|
+
no_value: "No Value"
|
|
107227
|
+
}
|
|
107228
|
+
},
|
|
107229
|
+
singleSelectFilter: {
|
|
107230
|
+
placeholder: "Select a Value"
|
|
107231
|
+
},
|
|
107232
|
+
multiSelectQuickFilter: {
|
|
107233
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
107234
|
+
},
|
|
107235
|
+
singleSelectQuickFilter: {
|
|
107236
|
+
ariaLabel: "Quick filter: Select an option"
|
|
107237
|
+
}
|
|
107238
|
+
},
|
|
107239
|
+
loading: {
|
|
107240
|
+
initial: "Information loading.",
|
|
107241
|
+
secondary: "Information loading, thanks for your patience."
|
|
107242
|
+
},
|
|
107243
|
+
menuOptions: {
|
|
107244
|
+
sortMenuItem: {
|
|
107245
|
+
label: "Sort By This Column",
|
|
107246
|
+
sortAscItem: "Sort Column Ascending",
|
|
107247
|
+
sortDescItem: "Sort Column Descending",
|
|
107248
|
+
sortResetItem: "Column Not Sorted"
|
|
107249
|
+
},
|
|
107250
|
+
expandAllGroups: "Expand All Groups",
|
|
107251
|
+
collapseAllGroups: "Collapse All Groups",
|
|
107252
|
+
pinColumn: "Pin Column",
|
|
107253
|
+
pinLeft: "Pin Left",
|
|
107254
|
+
pinRight: "Pin Right",
|
|
107255
|
+
noPin: "No Pin",
|
|
107256
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
107257
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
107258
|
+
hideColumn: "Hide Column",
|
|
107259
|
+
resetColumns: "Reset Columns",
|
|
107260
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
107261
|
+
groupBy: "Group by {{label}}"
|
|
107262
|
+
},
|
|
107263
|
+
grandTotals: "Grand Totals",
|
|
107264
|
+
search: "Search",
|
|
107265
|
+
subtotals: "Subtotals",
|
|
107266
|
+
tableSettings: {
|
|
107267
|
+
configureColumns: "Configure Columns",
|
|
107268
|
+
resetToDefault: "Show All",
|
|
107269
|
+
rowHeight: "Row Height",
|
|
107270
|
+
small: "Small",
|
|
107271
|
+
medium: "Medium",
|
|
107272
|
+
large: "Large",
|
|
107273
|
+
tableSettings: "Table Settings",
|
|
107274
|
+
groupBy: "Group by:",
|
|
107275
|
+
reset: "Reset",
|
|
107276
|
+
selectColumnGroup: "Select a column to group",
|
|
107277
|
+
configure: "Configure"
|
|
107278
|
+
},
|
|
107279
|
+
rowGroupToggle: {
|
|
107280
|
+
expandTierOne: "Open first groups in the table.",
|
|
107281
|
+
expandAll: "Open all groups in the table.",
|
|
107282
|
+
collapseAll: "Close all groups in the table."
|
|
107283
|
+
},
|
|
107284
|
+
columnGroupToggle: {
|
|
107285
|
+
collapse: "Collapse column group",
|
|
107286
|
+
expand: "Expand column group"
|
|
107287
|
+
},
|
|
107288
|
+
cells: {
|
|
107289
|
+
textCell: {
|
|
107290
|
+
placeholder: "Enter text"
|
|
107291
|
+
},
|
|
107292
|
+
currencyCell: {
|
|
107293
|
+
placeholder: "Enter currency"
|
|
107294
|
+
},
|
|
107295
|
+
numberCell: {
|
|
107296
|
+
placeholder: "Enter number"
|
|
107297
|
+
},
|
|
107298
|
+
percentCell: {
|
|
107299
|
+
placeholder: "Enter %"
|
|
107300
|
+
},
|
|
107301
|
+
pillCell: {
|
|
107302
|
+
placeholder: "Select {{label}}"
|
|
107303
|
+
},
|
|
107304
|
+
selectCell: {
|
|
107305
|
+
placeholder: "Select {{label}}"
|
|
107306
|
+
},
|
|
107307
|
+
multiSelectCell: {
|
|
107308
|
+
placeholder: "Select Values"
|
|
107309
|
+
},
|
|
107310
|
+
booleanCell: {
|
|
107311
|
+
options: {
|
|
107312
|
+
yes: "Yes",
|
|
107313
|
+
no: "No"
|
|
107314
|
+
}
|
|
107315
|
+
}
|
|
107316
|
+
},
|
|
107317
|
+
filterRenders: {
|
|
107318
|
+
dateFilter: {
|
|
107319
|
+
single: "Single",
|
|
107320
|
+
range: "Range"
|
|
107321
|
+
}
|
|
107322
|
+
},
|
|
107323
|
+
groupCell: {
|
|
107324
|
+
expand: "Expand group",
|
|
107325
|
+
collapse: "Collapse group"
|
|
107326
|
+
},
|
|
107327
|
+
rowCheckbox: {
|
|
107328
|
+
ariaLabel: "Select Row"
|
|
107329
|
+
}
|
|
107330
|
+
}
|
|
107331
|
+
};
|
|
107332
|
+
|
|
106804
107333
|
// src/locales/th-TH.json
|
|
106805
107334
|
var th_TH_default = {
|
|
106806
107335
|
dataTable: {
|
|
@@ -107143,6 +107672,177 @@ var zh_SG_default = {
|
|
|
107143
107672
|
}
|
|
107144
107673
|
};
|
|
107145
107674
|
|
|
107675
|
+
// src/locales/zh-TW.json
|
|
107676
|
+
var zh_TW_default = {
|
|
107677
|
+
dataTable: {
|
|
107678
|
+
emptyState: {
|
|
107679
|
+
noFilteredResults: {
|
|
107680
|
+
description: "Check your spelling and filter options, or search for a different keyword.",
|
|
107681
|
+
title: "No Items Match Your Search",
|
|
107682
|
+
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107683
|
+
},
|
|
107684
|
+
noResults: {
|
|
107685
|
+
description: "Once your team creates these items, you can access them here. ",
|
|
107686
|
+
title: "There Are No Items to Display Right Now",
|
|
107687
|
+
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107688
|
+
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107689
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
107690
|
+
featureFilter: "Filter",
|
|
107691
|
+
featureQuickFilter: "Quick Filter",
|
|
107692
|
+
featureGroupBy: "Group By",
|
|
107693
|
+
featureConfigure: "Configure",
|
|
107694
|
+
tableNameFallback: "table"
|
|
107695
|
+
}
|
|
107696
|
+
},
|
|
107697
|
+
bulkActions: {
|
|
107698
|
+
apply: "Apply",
|
|
107699
|
+
bulkEdit: "Bulk Edit",
|
|
107700
|
+
cancel: "Cancel",
|
|
107701
|
+
editValues: "Edit Values",
|
|
107702
|
+
error: "Sorry, the items couldn't be updated. Try again.",
|
|
107703
|
+
placeholderForField: "Enter %{fieldName}",
|
|
107704
|
+
selection: "%{count} %{number} selected",
|
|
107705
|
+
selection_count: {
|
|
107706
|
+
zero: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE",
|
|
107707
|
+
one: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE",
|
|
107708
|
+
other: "\u5DF2\u9078\u64C7%{count}\u9805\u76EE"
|
|
107709
|
+
},
|
|
107710
|
+
success: "The items were successfully updated.",
|
|
107711
|
+
one: "item",
|
|
107712
|
+
many: "items"
|
|
107713
|
+
},
|
|
107714
|
+
exporting: "Exporting...",
|
|
107715
|
+
filters: {
|
|
107716
|
+
filters: "Filters",
|
|
107717
|
+
moreFilters: "More Filters",
|
|
107718
|
+
clearAllFilters: "Clear All Filters",
|
|
107719
|
+
close: "Close",
|
|
107720
|
+
locationFilter: {
|
|
107721
|
+
selectAll: "Select all",
|
|
107722
|
+
includeSublocations: "Include sublocations",
|
|
107723
|
+
searchLocations: "Search locations",
|
|
107724
|
+
locations: "Locations"
|
|
107725
|
+
},
|
|
107726
|
+
numberFilter: {
|
|
107727
|
+
labels: {
|
|
107728
|
+
and: "and",
|
|
107729
|
+
input_placeholder: "Enter Value",
|
|
107730
|
+
placeholder: "Select an item"
|
|
107731
|
+
},
|
|
107732
|
+
options: {
|
|
107733
|
+
any_value: "Any Value",
|
|
107734
|
+
is_between: "Is Between",
|
|
107735
|
+
greater_than: "Is Greater Than",
|
|
107736
|
+
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107737
|
+
less_than: "Is Less Than",
|
|
107738
|
+
less_than_equal_to: "Is Less Than or Equal To",
|
|
107739
|
+
no_value: "No Value"
|
|
107740
|
+
}
|
|
107741
|
+
},
|
|
107742
|
+
singleSelectFilter: {
|
|
107743
|
+
placeholder: "Select a Value"
|
|
107744
|
+
},
|
|
107745
|
+
multiSelectQuickFilter: {
|
|
107746
|
+
ariaLabel: "Quick filter: Select multiple options"
|
|
107747
|
+
},
|
|
107748
|
+
singleSelectQuickFilter: {
|
|
107749
|
+
ariaLabel: "Quick filter: Select an option"
|
|
107750
|
+
}
|
|
107751
|
+
},
|
|
107752
|
+
loading: {
|
|
107753
|
+
initial: "Information loading.",
|
|
107754
|
+
secondary: "Information loading, thanks for your patience."
|
|
107755
|
+
},
|
|
107756
|
+
menuOptions: {
|
|
107757
|
+
sortMenuItem: {
|
|
107758
|
+
label: "Sort By This Column",
|
|
107759
|
+
sortAscItem: "Sort Column Ascending",
|
|
107760
|
+
sortDescItem: "Sort Column Descending",
|
|
107761
|
+
sortResetItem: "Column Not Sorted"
|
|
107762
|
+
},
|
|
107763
|
+
expandAllGroups: "Expand All Groups",
|
|
107764
|
+
collapseAllGroups: "Collapse All Groups",
|
|
107765
|
+
pinColumn: "Pin Column",
|
|
107766
|
+
pinLeft: "Pin Left",
|
|
107767
|
+
pinRight: "Pin Right",
|
|
107768
|
+
noPin: "No Pin",
|
|
107769
|
+
autoSizeThisColumn: "Autosize This Column",
|
|
107770
|
+
autoSizeAllColumns: "Autosize All Columns",
|
|
107771
|
+
hideColumn: "Hide Column",
|
|
107772
|
+
resetColumns: "Reset Columns",
|
|
107773
|
+
unGroupBy: "Un-Group by {{label}}",
|
|
107774
|
+
groupBy: "Group by {{label}}"
|
|
107775
|
+
},
|
|
107776
|
+
grandTotals: "Grand Totals",
|
|
107777
|
+
search: "Search",
|
|
107778
|
+
subtotals: "Subtotals",
|
|
107779
|
+
tableSettings: {
|
|
107780
|
+
configureColumns: "Configure Columns",
|
|
107781
|
+
resetToDefault: "Show All",
|
|
107782
|
+
rowHeight: "Row Height",
|
|
107783
|
+
small: "Small",
|
|
107784
|
+
medium: "Medium",
|
|
107785
|
+
large: "Large",
|
|
107786
|
+
tableSettings: "Table Settings",
|
|
107787
|
+
groupBy: "Group by:",
|
|
107788
|
+
reset: "Reset",
|
|
107789
|
+
selectColumnGroup: "Select a column to group",
|
|
107790
|
+
configure: "Configure"
|
|
107791
|
+
},
|
|
107792
|
+
rowGroupToggle: {
|
|
107793
|
+
expandTierOne: "Open first groups in the table.",
|
|
107794
|
+
expandAll: "Open all groups in the table.",
|
|
107795
|
+
collapseAll: "Close all groups in the table."
|
|
107796
|
+
},
|
|
107797
|
+
columnGroupToggle: {
|
|
107798
|
+
collapse: "Collapse column group",
|
|
107799
|
+
expand: "Expand column group"
|
|
107800
|
+
},
|
|
107801
|
+
cells: {
|
|
107802
|
+
textCell: {
|
|
107803
|
+
placeholder: "Enter text"
|
|
107804
|
+
},
|
|
107805
|
+
currencyCell: {
|
|
107806
|
+
placeholder: "Enter currency"
|
|
107807
|
+
},
|
|
107808
|
+
numberCell: {
|
|
107809
|
+
placeholder: "Enter number"
|
|
107810
|
+
},
|
|
107811
|
+
percentCell: {
|
|
107812
|
+
placeholder: "\u9032\u5165 \uFF05"
|
|
107813
|
+
},
|
|
107814
|
+
pillCell: {
|
|
107815
|
+
placeholder: "Select {{label}}"
|
|
107816
|
+
},
|
|
107817
|
+
selectCell: {
|
|
107818
|
+
placeholder: "Select {{label}}"
|
|
107819
|
+
},
|
|
107820
|
+
multiSelectCell: {
|
|
107821
|
+
placeholder: "\u9078\u64C7\u503C"
|
|
107822
|
+
},
|
|
107823
|
+
booleanCell: {
|
|
107824
|
+
options: {
|
|
107825
|
+
yes: "Yes",
|
|
107826
|
+
no: "No"
|
|
107827
|
+
}
|
|
107828
|
+
}
|
|
107829
|
+
},
|
|
107830
|
+
filterRenders: {
|
|
107831
|
+
dateFilter: {
|
|
107832
|
+
single: "Single",
|
|
107833
|
+
range: "Range"
|
|
107834
|
+
}
|
|
107835
|
+
},
|
|
107836
|
+
groupCell: {
|
|
107837
|
+
expand: "Expand group",
|
|
107838
|
+
collapse: "Collapse group"
|
|
107839
|
+
},
|
|
107840
|
+
rowCheckbox: {
|
|
107841
|
+
ariaLabel: "Select Row"
|
|
107842
|
+
}
|
|
107843
|
+
}
|
|
107844
|
+
};
|
|
107845
|
+
|
|
107146
107846
|
// src/utils/translations.ts
|
|
107147
107847
|
var translations = {
|
|
107148
107848
|
"de-DE": de_DE_default,
|
|
@@ -107160,7 +107860,11 @@ var translations = {
|
|
|
107160
107860
|
"pt-BR": pt_BR_default,
|
|
107161
107861
|
"th-TH": th_TH_default,
|
|
107162
107862
|
"zh-SG": zh_SG_default,
|
|
107163
|
-
"pl-PL": pl_PL_default
|
|
107863
|
+
"pl-PL": pl_PL_default,
|
|
107864
|
+
"it-IT": it_IT_default,
|
|
107865
|
+
"pt-PT": pt_PT_default,
|
|
107866
|
+
"nb-NO": nb_NO_default,
|
|
107867
|
+
"zh-TW": zh_TW_default
|
|
107164
107868
|
};
|
|
107165
107869
|
var PRINCE_XML_DPI = 96;
|
|
107166
107870
|
var DEFAULT_PAGE_MARGIN = 40;
|
|
@@ -108452,6 +109156,20 @@ function getServerSideDatasource(onServerSideDataRequestCallbackRef, onEmptyResp
|
|
|
108452
109156
|
};
|
|
108453
109157
|
}
|
|
108454
109158
|
var minimumColumnWidth = 140;
|
|
109159
|
+
function useComputeAgGridProps(props) {
|
|
109160
|
+
const internalTableContext = useInternalTableContext();
|
|
109161
|
+
const onSSDR = internalTableContext.onServerSideDataRequest;
|
|
109162
|
+
return {
|
|
109163
|
+
groupIncludeFooter: !onSSDR && props.groupIncludeFooter === void 0 ? true : props.groupIncludeFooter,
|
|
109164
|
+
rowDragManaged: onSSDR ? false : props.rowDragManaged ?? true,
|
|
109165
|
+
rowModelType: onSSDR ? "serverSide" : void 0,
|
|
109166
|
+
groupSelectsChildren: (
|
|
109167
|
+
// Always true for client side, defaults to true for server side
|
|
109168
|
+
internalTableContext.totalRowCount > 0 && props.groupSelectsChildren !== false || !onSSDR
|
|
109169
|
+
),
|
|
109170
|
+
groupDefaultExpanded: props.groupsAlwaysExpanded ? -1 : props.groupDefaultExpanded
|
|
109171
|
+
};
|
|
109172
|
+
}
|
|
108455
109173
|
var Table = (props) => {
|
|
108456
109174
|
const { suppressColumnVirtualisation = true, rowActionsConfig = {} } = props;
|
|
108457
109175
|
const I18n = useI18nContext();
|
|
@@ -108501,14 +109219,28 @@ var Table = (props) => {
|
|
|
108501
109219
|
React80.useImperativeHandle(internalTableContext.tableRef, () => tableApi, [
|
|
108502
109220
|
tableApi
|
|
108503
109221
|
]);
|
|
109222
|
+
const {
|
|
109223
|
+
groupIncludeFooter,
|
|
109224
|
+
rowDragManaged,
|
|
109225
|
+
rowModelType,
|
|
109226
|
+
groupSelectsChildren,
|
|
109227
|
+
groupDefaultExpanded
|
|
109228
|
+
} = useComputeAgGridProps(props);
|
|
109229
|
+
const { overrideEditable } = createColumnEditableUtils({
|
|
109230
|
+
enableGroupHeaderEdit: props.enableGroupHeaderEdit
|
|
109231
|
+
});
|
|
108504
109232
|
const decoratedColDefs = React80.useMemo(
|
|
108505
|
-
() => internalTableContext.columnDefinitions?.map(
|
|
108506
|
-
|
|
109233
|
+
() => internalTableContext.columnDefinitions?.map((colDef) => {
|
|
109234
|
+
const newColDef = transformToColDef(
|
|
108507
109235
|
colDef,
|
|
108508
109236
|
internalTableContext.enableGroupEditAndValidation,
|
|
108509
109237
|
internalTableContext.enableDynamicRowHeight
|
|
108510
|
-
)
|
|
108511
|
-
|
|
109238
|
+
);
|
|
109239
|
+
return {
|
|
109240
|
+
...newColDef,
|
|
109241
|
+
editable: overrideEditable(colDef.editable)
|
|
109242
|
+
};
|
|
109243
|
+
}),
|
|
108512
109244
|
[internalTableContext.columnDefinitions]
|
|
108513
109245
|
);
|
|
108514
109246
|
const hasRowActions = React80.useMemo(
|
|
@@ -109250,13 +109982,10 @@ var Table = (props) => {
|
|
|
109250
109982
|
getRowId: internalTableContext.getRowId,
|
|
109251
109983
|
getRowStyle,
|
|
109252
109984
|
groupAllowUnbalanced: true,
|
|
109253
|
-
groupDefaultExpanded
|
|
109254
|
-
groupIncludeFooter
|
|
109985
|
+
groupDefaultExpanded,
|
|
109986
|
+
groupIncludeFooter,
|
|
109255
109987
|
getGroupRowAgg: props.getGroupRowAgg ? getGroupRowAgg : void 0,
|
|
109256
|
-
groupSelectsChildren
|
|
109257
|
-
// Always true for client side, defaults to true for server side
|
|
109258
|
-
internalTableContext.totalRowCount > 0 && props.groupSelectsChildren !== false || !onSSDR
|
|
109259
|
-
),
|
|
109988
|
+
groupSelectsChildren,
|
|
109260
109989
|
groupSelectsFiltered: true,
|
|
109261
109990
|
headerHeight: props.headerHeight,
|
|
109262
109991
|
icons: tableIcons,
|
|
@@ -109314,8 +110043,8 @@ var Table = (props) => {
|
|
|
109314
110043
|
pinnedBottomRowData: props.pinnedBottomRowData,
|
|
109315
110044
|
rowBuffer: props.rowBuffer,
|
|
109316
110045
|
rowClassRules,
|
|
109317
|
-
rowDragManaged
|
|
109318
|
-
rowModelType
|
|
110046
|
+
rowDragManaged,
|
|
110047
|
+
rowModelType,
|
|
109319
110048
|
rowSelection: "multiple",
|
|
109320
110049
|
...serverSideInfiniteScroll,
|
|
109321
110050
|
suppressClickEdit: true,
|