@procore/data-table 14.12.0 → 14.12.2
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 +12 -0
- package/dist/legacy/index.cjs +129 -36
- package/dist/legacy/index.d.cts +1 -1
- package/dist/legacy/index.d.ts +1 -1
- package/dist/legacy/index.js +129 -36
- package/dist/modern/index.cjs +129 -36
- package/dist/modern/index.d.cts +1 -1
- package/dist/modern/index.d.ts +1 -1
- package/dist/modern/index.js +129 -36
- package/package.json +2 -2
package/dist/legacy/index.js
CHANGED
|
@@ -8014,7 +8014,7 @@ var InternalBooleanCellEditor = React76.forwardRef(({ columnDefinition, setDataV
|
|
|
8014
8014
|
return /* @__PURE__ */ React76.createElement(
|
|
8015
8015
|
Select,
|
|
8016
8016
|
{
|
|
8017
|
-
afterHide: stopEditing,
|
|
8017
|
+
afterHide: () => stopEditing(),
|
|
8018
8018
|
block: true,
|
|
8019
8019
|
className: cx("input-cell"),
|
|
8020
8020
|
label: value ? I18n.t("dataTable.cells.booleanCell.options.yes") : I18n.t("dataTable.cells.booleanCell.options.no"),
|
|
@@ -8235,8 +8235,8 @@ var Editor = React76.forwardRef(
|
|
|
8235
8235
|
if (isEmptyValue(value) && !columnDefinition.editable) {
|
|
8236
8236
|
return null;
|
|
8237
8237
|
}
|
|
8238
|
-
function onBlur() {
|
|
8239
|
-
stopEditing();
|
|
8238
|
+
function onBlur(event) {
|
|
8239
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
8240
8240
|
}
|
|
8241
8241
|
const defaultValue = eventKey ? value : formatNumber(value, {
|
|
8242
8242
|
...((_a = columnDefinition.cellEditorParams) == null ? void 0 : _a.formatConfig) ?? ((_b = columnDefinition.cellRendererParams) == null ? void 0 : _b.formatConfig) ?? {},
|
|
@@ -8679,8 +8679,8 @@ var DateCellRenderer = withDataTableRenderer(Renderer4, "date");
|
|
|
8679
8679
|
var Editor2 = React76.forwardRef(
|
|
8680
8680
|
({ columnDefinition, setDataValue, stopEditing, value }, ref) => {
|
|
8681
8681
|
var _a, _b;
|
|
8682
|
-
function afterHide() {
|
|
8683
|
-
stopEditing();
|
|
8682
|
+
function afterHide(event) {
|
|
8683
|
+
stopEditing(ensureIsHTMLElement(event == null ? void 0 : event.target));
|
|
8684
8684
|
}
|
|
8685
8685
|
function onChange(date) {
|
|
8686
8686
|
if (date) {
|
|
@@ -8753,8 +8753,8 @@ var DateTimeCellRenderer = withDataTableRenderer(Renderer5, "date");
|
|
|
8753
8753
|
var Editor3 = React76.forwardRef(
|
|
8754
8754
|
({ columnDefinition, setDataValue, stopEditing, value }, ref) => {
|
|
8755
8755
|
var _a, _b;
|
|
8756
|
-
function afterHide() {
|
|
8757
|
-
stopEditing();
|
|
8756
|
+
function afterHide(event) {
|
|
8757
|
+
stopEditing(ensureIsHTMLElement(event == null ? void 0 : event.target));
|
|
8758
8758
|
}
|
|
8759
8759
|
function onChange(date) {
|
|
8760
8760
|
if (date) {
|
|
@@ -53029,8 +53029,8 @@ var InternalNumberCellEditor = React76.forwardRef(({ columnDefinition, stopEditi
|
|
|
53029
53029
|
if (isEmptyValue(value) && !columnDefinition.editable) {
|
|
53030
53030
|
return null;
|
|
53031
53031
|
}
|
|
53032
|
-
function onBlur() {
|
|
53033
|
-
stopEditing();
|
|
53032
|
+
function onBlur(event) {
|
|
53033
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53034
53034
|
}
|
|
53035
53035
|
return /* @__PURE__ */ React76.createElement(
|
|
53036
53036
|
Input,
|
|
@@ -53321,8 +53321,8 @@ var PercentCellRenderer = withDataTableRenderer(Renderer7, "input");
|
|
|
53321
53321
|
var Editor4 = React76.forwardRef(({ columnDefinition, eventKey, stopEditing, value }, ref) => {
|
|
53322
53322
|
var _a, _b, _c, _d, _e;
|
|
53323
53323
|
const I18n = useI18nContext();
|
|
53324
|
-
function onBlur() {
|
|
53325
|
-
stopEditing();
|
|
53324
|
+
function onBlur(event) {
|
|
53325
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53326
53326
|
}
|
|
53327
53327
|
if (isEmptyValue(value) && !columnDefinition.editable) {
|
|
53328
53328
|
return null;
|
|
@@ -53727,8 +53727,8 @@ var TextCellRenderer = withDataTableRenderer(Renderer11, "input");
|
|
|
53727
53727
|
var Editor7 = React76.forwardRef(
|
|
53728
53728
|
({ columnDefinition, eventKey, stopEditing, value }, ref) => {
|
|
53729
53729
|
var _a, _b, _c, _d;
|
|
53730
|
-
function onBlur() {
|
|
53731
|
-
stopEditing();
|
|
53730
|
+
function onBlur(event) {
|
|
53731
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53732
53732
|
}
|
|
53733
53733
|
const I18n = useI18nContext();
|
|
53734
53734
|
const internalValue = eventKey ? value : ((_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value)) ?? value;
|
|
@@ -53801,8 +53801,8 @@ var Renderer12 = ({
|
|
|
53801
53801
|
var Editor8 = React76.forwardRef(
|
|
53802
53802
|
({ columnDefinition, stopEditing, value }, ref) => {
|
|
53803
53803
|
var _a, _b, _c, _d;
|
|
53804
|
-
function onBlur() {
|
|
53805
|
-
stopEditing();
|
|
53804
|
+
function onBlur(event) {
|
|
53805
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53806
53806
|
}
|
|
53807
53807
|
const I18n = useI18nContext();
|
|
53808
53808
|
const internalValue = ((_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value)) ?? value;
|
|
@@ -56056,7 +56056,14 @@ var DataTableCellEditor = React76.forwardRef(
|
|
|
56056
56056
|
node.setDataValue(field, newValue);
|
|
56057
56057
|
setCurrentValue(newValue);
|
|
56058
56058
|
},
|
|
56059
|
-
stopEditing
|
|
56059
|
+
stopEditing: (relatedTarget) => {
|
|
56060
|
+
const isRelatedTargetOutsideTable = (relatedTarget == null ? void 0 : relatedTarget.closest('[data-qa="data-table-table')) === null;
|
|
56061
|
+
stopEditing(isRelatedTargetOutsideTable);
|
|
56062
|
+
if (isRelatedTargetOutsideTable) {
|
|
56063
|
+
api.clearFocusedCell();
|
|
56064
|
+
relatedTarget.focus();
|
|
56065
|
+
}
|
|
56066
|
+
},
|
|
56060
56067
|
tableApi: tableRef == null ? void 0 : tableRef.current,
|
|
56061
56068
|
value: currentValue,
|
|
56062
56069
|
ref: handleRefs(editorType)
|
|
@@ -56938,6 +56945,9 @@ function withDataTableRenderer(Component4, editorType) {
|
|
|
56938
56945
|
}
|
|
56939
56946
|
);
|
|
56940
56947
|
}
|
|
56948
|
+
function ensureIsHTMLElement(element) {
|
|
56949
|
+
return element instanceof HTMLElement ? element : null;
|
|
56950
|
+
}
|
|
56941
56951
|
function getGroupNodes(params) {
|
|
56942
56952
|
var _a, _b;
|
|
56943
56953
|
const currentParentId = ((_b = (_a = params.node) == null ? void 0 : _a.parent) == null ? void 0 : _b.id) ?? "root";
|
|
@@ -57186,7 +57196,7 @@ var MultiSelectEditor = React76.forwardRef(({ columnDefinition, value = [], setD
|
|
|
57186
57196
|
MultiSelect,
|
|
57187
57197
|
{
|
|
57188
57198
|
beforeShow,
|
|
57189
|
-
afterHide: stopEditing,
|
|
57199
|
+
afterHide: () => stopEditing(),
|
|
57190
57200
|
block: true,
|
|
57191
57201
|
loading: isSearching || loading,
|
|
57192
57202
|
getId: (option) => {
|
|
@@ -78150,8 +78160,9 @@ var de_DE_default = {
|
|
|
78150
78160
|
title: "Aktuell gibt es keine anzuzeigenden Elemente.",
|
|
78151
78161
|
itemsTitle: "Aktuell gibt es keine anzuzeigenden %{itemsLabel}",
|
|
78152
78162
|
tooltip: "Die Schaltfl\xE4che %{featureName} wird aktiviert, sobald Sie dem Feld %{tableName} Informationen hinzuf\xFCgen.",
|
|
78163
|
+
searchTooltip: "Die Suche wird aktiviert, sobald Sie Informationen zu den %{tableName}",
|
|
78153
78164
|
featureFilter: "Filtern",
|
|
78154
|
-
|
|
78165
|
+
featureQuickFilter: "Schnell-Filter",
|
|
78155
78166
|
featureGroupBy: "Gruppieren nach",
|
|
78156
78167
|
featureConfigure: "Konfigurieren",
|
|
78157
78168
|
tableNameFallback: "Tabelle"
|
|
@@ -78277,6 +78288,10 @@ var de_DE_default = {
|
|
|
78277
78288
|
single: "Einzeln",
|
|
78278
78289
|
range: "Bereich"
|
|
78279
78290
|
}
|
|
78291
|
+
},
|
|
78292
|
+
groupCell: {
|
|
78293
|
+
expand: "Gruppe erweitern",
|
|
78294
|
+
collapse: "Gruppe ausblenden"
|
|
78280
78295
|
}
|
|
78281
78296
|
}
|
|
78282
78297
|
};
|
|
@@ -78295,8 +78310,9 @@ var en_AU_default = {
|
|
|
78295
78310
|
title: "There Are No Items to Display Right Now",
|
|
78296
78311
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
78297
78312
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
78313
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
78298
78314
|
featureFilter: "Filter",
|
|
78299
|
-
|
|
78315
|
+
featureQuickFilter: "Quick Filter",
|
|
78300
78316
|
featureGroupBy: "Group By",
|
|
78301
78317
|
featureConfigure: "Configure",
|
|
78302
78318
|
tableNameFallback: "Table"
|
|
@@ -78422,6 +78438,10 @@ var en_AU_default = {
|
|
|
78422
78438
|
single: "Single",
|
|
78423
78439
|
range: "Range"
|
|
78424
78440
|
}
|
|
78441
|
+
},
|
|
78442
|
+
groupCell: {
|
|
78443
|
+
expand: "Expand group",
|
|
78444
|
+
collapse: "Collapse group"
|
|
78425
78445
|
}
|
|
78426
78446
|
}
|
|
78427
78447
|
};
|
|
@@ -78440,8 +78460,9 @@ var en_CA_default = {
|
|
|
78440
78460
|
title: "There Are No Items to Display Right Now",
|
|
78441
78461
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
78442
78462
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
78463
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
78443
78464
|
featureFilter: "Filter",
|
|
78444
|
-
|
|
78465
|
+
featureQuickFilter: "Quick Filter",
|
|
78445
78466
|
featureGroupBy: "Group By",
|
|
78446
78467
|
featureConfigure: "Configure",
|
|
78447
78468
|
tableNameFallback: "Table"
|
|
@@ -78567,6 +78588,10 @@ var en_CA_default = {
|
|
|
78567
78588
|
single: "Single",
|
|
78568
78589
|
range: "Range"
|
|
78569
78590
|
}
|
|
78591
|
+
},
|
|
78592
|
+
groupCell: {
|
|
78593
|
+
expand: "Expand group",
|
|
78594
|
+
collapse: "Collapse group"
|
|
78570
78595
|
}
|
|
78571
78596
|
}
|
|
78572
78597
|
};
|
|
@@ -78585,8 +78610,9 @@ var en_GB_default = {
|
|
|
78585
78610
|
title: "There Are No Items to Display Right Now",
|
|
78586
78611
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
78587
78612
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
78613
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
78588
78614
|
featureFilter: "Filter",
|
|
78589
|
-
|
|
78615
|
+
featureQuickFilter: "Quick Filter",
|
|
78590
78616
|
featureGroupBy: "Group By",
|
|
78591
78617
|
featureConfigure: "Configure",
|
|
78592
78618
|
tableNameFallback: "Table"
|
|
@@ -78712,6 +78738,10 @@ var en_GB_default = {
|
|
|
78712
78738
|
single: "Single",
|
|
78713
78739
|
range: "Range"
|
|
78714
78740
|
}
|
|
78741
|
+
},
|
|
78742
|
+
groupCell: {
|
|
78743
|
+
expand: "Expand group",
|
|
78744
|
+
collapse: "Collapse group"
|
|
78715
78745
|
}
|
|
78716
78746
|
}
|
|
78717
78747
|
};
|
|
@@ -78880,8 +78910,9 @@ var es_ES_default = {
|
|
|
78880
78910
|
title: "No hay elementos para mostrar en este momento",
|
|
78881
78911
|
itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
|
|
78882
78912
|
tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que a\xF1ada informaci\xF3n a la %{tableName}",
|
|
78913
|
+
searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
|
|
78883
78914
|
featureFilter: "Filtro",
|
|
78884
|
-
|
|
78915
|
+
featureQuickFilter: "Filtro r\xE1pido",
|
|
78885
78916
|
featureGroupBy: "Agrupar por",
|
|
78886
78917
|
featureConfigure: "Configurar",
|
|
78887
78918
|
tableNameFallback: "tabla"
|
|
@@ -79007,6 +79038,10 @@ var es_ES_default = {
|
|
|
79007
79038
|
single: "\xDAnica",
|
|
79008
79039
|
range: "Rango"
|
|
79009
79040
|
}
|
|
79041
|
+
},
|
|
79042
|
+
groupCell: {
|
|
79043
|
+
expand: "Expandir grupo",
|
|
79044
|
+
collapse: "Contraer grupo"
|
|
79010
79045
|
}
|
|
79011
79046
|
}
|
|
79012
79047
|
};
|
|
@@ -79025,8 +79060,9 @@ var es_default = {
|
|
|
79025
79060
|
title: "No hay \xEDtems para mostrar en este momento",
|
|
79026
79061
|
itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
|
|
79027
79062
|
tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que agregue informaci\xF3n al %{tableName}",
|
|
79063
|
+
searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
|
|
79028
79064
|
featureFilter: "Filtro",
|
|
79029
|
-
|
|
79065
|
+
featureQuickFilter: "Filtro r\xE1pido",
|
|
79030
79066
|
featureGroupBy: "Agrupar por",
|
|
79031
79067
|
featureConfigure: "Configurar",
|
|
79032
79068
|
tableNameFallback: "tabla"
|
|
@@ -79152,6 +79188,10 @@ var es_default = {
|
|
|
79152
79188
|
single: "\xDAnico",
|
|
79153
79189
|
range: "Intervalo"
|
|
79154
79190
|
}
|
|
79191
|
+
},
|
|
79192
|
+
groupCell: {
|
|
79193
|
+
expand: "Expandir grupo",
|
|
79194
|
+
collapse: "Colapsar grupo"
|
|
79155
79195
|
}
|
|
79156
79196
|
}
|
|
79157
79197
|
};
|
|
@@ -79170,8 +79210,9 @@ var fr_CA_default = {
|
|
|
79170
79210
|
title: "Il n'y a aucun item \xE0 afficher pour le moment",
|
|
79171
79211
|
itemsTitle: "Il n'y a pas de %{itemsLabel} \xE0 afficher pour le moment",
|
|
79172
79212
|
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
79213
|
+
searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 de l'information au %{tableName}",
|
|
79173
79214
|
featureFilter: "Filtre",
|
|
79174
|
-
|
|
79215
|
+
featureQuickFilter: "Filtre rapide",
|
|
79175
79216
|
featureGroupBy: "Regrouper par",
|
|
79176
79217
|
featureConfigure: "Configurer",
|
|
79177
79218
|
tableNameFallback: "tableau"
|
|
@@ -79258,9 +79299,9 @@ var fr_CA_default = {
|
|
|
79258
79299
|
configure: "Configurer"
|
|
79259
79300
|
},
|
|
79260
79301
|
rowGroupToggle: {
|
|
79261
|
-
expandTierOne: "
|
|
79302
|
+
expandTierOne: "Ouvrir les premiers groupes du tableau.",
|
|
79262
79303
|
expandAll: "Ouvrez tous les groupes du tableau.",
|
|
79263
|
-
collapseAll: "
|
|
79304
|
+
collapseAll: "Fermer tous les groupes du tableau."
|
|
79264
79305
|
},
|
|
79265
79306
|
columnGroupToggle: {
|
|
79266
79307
|
collapse: "R\xE9duire le groupe de colonnes",
|
|
@@ -79297,6 +79338,10 @@ var fr_CA_default = {
|
|
|
79297
79338
|
single: "Seul",
|
|
79298
79339
|
range: "Intervalle"
|
|
79299
79340
|
}
|
|
79341
|
+
},
|
|
79342
|
+
groupCell: {
|
|
79343
|
+
expand: "D\xE9velopper le groupe",
|
|
79344
|
+
collapse: "R\xE9duire le groupe"
|
|
79300
79345
|
}
|
|
79301
79346
|
}
|
|
79302
79347
|
};
|
|
@@ -79315,8 +79360,9 @@ var fr_FR_default = {
|
|
|
79315
79360
|
title: "Aucun \xE9l\xE9ment \xE0 afficher pour l'instant",
|
|
79316
79361
|
itemsTitle: "Aucun %{itemsLabel} \xE0 afficher pour l'instant",
|
|
79317
79362
|
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au tableau %{tableName}",
|
|
79363
|
+
searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
79318
79364
|
featureFilter: "Filtrer",
|
|
79319
|
-
|
|
79365
|
+
featureQuickFilter: "Filtre rapide",
|
|
79320
79366
|
featureGroupBy: "Regrouper par",
|
|
79321
79367
|
featureConfigure: "Configurer",
|
|
79322
79368
|
tableNameFallback: "Tableau"
|
|
@@ -79442,6 +79488,10 @@ var fr_FR_default = {
|
|
|
79442
79488
|
single: "Unique",
|
|
79443
79489
|
range: "Plage"
|
|
79444
79490
|
}
|
|
79491
|
+
},
|
|
79492
|
+
groupCell: {
|
|
79493
|
+
expand: "D\xE9velopper le groupe",
|
|
79494
|
+
collapse: "R\xE9duire le groupe"
|
|
79445
79495
|
}
|
|
79446
79496
|
}
|
|
79447
79497
|
};
|
|
@@ -79460,8 +79510,9 @@ var is_IS_default = {
|
|
|
79460
79510
|
title: "\xDEa\xF0 eru engir hlutir til a\xF0 s\xFDna n\xFAna",
|
|
79461
79511
|
itemsTitle: "\xDEa\xF0 eru engin %{itemsLabel} til a\xF0 s\xFDna n\xFAna",
|
|
79462
79512
|
tooltip: "%{featureName} hnappurinn ver\xF0ur virkur \xFEegar \xFE\xFA b\xE6tir uppl\xFDsingum vi\xF0 %{tableName}",
|
|
79513
|
+
searchTooltip: "Leit ver\xF0ur virkju\xF0 \xFEegar \xFE\xFA b\xE6tir uppl\xFDsingum vi\xF0 %{tableName}",
|
|
79463
79514
|
featureFilter: "S\xEDa",
|
|
79464
|
-
|
|
79515
|
+
featureQuickFilter: "Flj\xF3tleg s\xEDa",
|
|
79465
79516
|
featureGroupBy: "H\xF3pur eftir",
|
|
79466
79517
|
featureConfigure: "Stilla",
|
|
79467
79518
|
tableNameFallback: "Tafla"
|
|
@@ -79587,6 +79638,10 @@ var is_IS_default = {
|
|
|
79587
79638
|
single: "Einhleypur",
|
|
79588
79639
|
range: "Svi\xF0"
|
|
79589
79640
|
}
|
|
79641
|
+
},
|
|
79642
|
+
groupCell: {
|
|
79643
|
+
expand: "St\xE6kka h\xF3pinn",
|
|
79644
|
+
collapse: "Hrunh\xF3pur"
|
|
79590
79645
|
}
|
|
79591
79646
|
}
|
|
79592
79647
|
};
|
|
@@ -79605,8 +79660,9 @@ var ja_JP_default = {
|
|
|
79605
79660
|
title: "\u73FE\u5728\u3001\u8868\u793A\u3059\u308B\u9805\u76EE\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
79606
79661
|
itemsTitle: "\u73FE\u5728\u3001\u8868\u793A\u3059\u308B%{itemsLabel}\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
79607
79662
|
tooltip: "\u60C5\u5831\u3092%{tableName}\u306B\u8FFD\u52A0\u3059\u308B\u3068\u3001[%{featureName}]\u30DC\u30BF\u30F3\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
|
|
79663
|
+
searchTooltip: "%{tableName}\u306B\u60C5\u5831\u3092\u8FFD\u52A0\u3059\u308B\u3068\u691C\u7D22\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
|
|
79608
79664
|
featureFilter: "\u30D5\u30A3\u30EB\u30BF\u30FC",
|
|
79609
|
-
|
|
79665
|
+
featureQuickFilter: "\u30AF\u30A4\u30C3\u30AF\u30D5\u30A3\u30EB\u30BF\u30FC",
|
|
79610
79666
|
featureGroupBy: "\u30B0\u30EB\u30FC\u30D7\u5316",
|
|
79611
79667
|
featureConfigure: "\u69CB\u6210",
|
|
79612
79668
|
tableNameFallback: "\u8868"
|
|
@@ -79732,6 +79788,10 @@ var ja_JP_default = {
|
|
|
79732
79788
|
single: "\u5358\u72EC",
|
|
79733
79789
|
range: "\u7BC4\u56F2"
|
|
79734
79790
|
}
|
|
79791
|
+
},
|
|
79792
|
+
groupCell: {
|
|
79793
|
+
expand: "\u30B0\u30EB\u30FC\u30D7\u3092\u5C55\u958B\u3059\u308B",
|
|
79794
|
+
collapse: "\u30B0\u30EB\u30FC\u30D7\u3092\u6298\u308A\u305F\u305F\u3080"
|
|
79735
79795
|
}
|
|
79736
79796
|
}
|
|
79737
79797
|
};
|
|
@@ -79900,8 +79960,9 @@ var pt_BR_default = {
|
|
|
79900
79960
|
title: "N\xE3o H\xE1 Itens para Exibir Agora",
|
|
79901
79961
|
itemsTitle: "N\xE3o H\xE1 %{itemsLabel} para Exibir Agora",
|
|
79902
79962
|
tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado assim que voc\xEA adicionar informa\xE7\xF5es ao %{tableName}",
|
|
79963
|
+
searchTooltip: "A pesquisa ser\xE1 ativada assim que voc\xEA adicionar informa\xE7\xF5es \xE0 tabela %{tableName}",
|
|
79903
79964
|
featureFilter: "Filtrar",
|
|
79904
|
-
|
|
79965
|
+
featureQuickFilter: "Filtro r\xE1pido",
|
|
79905
79966
|
featureGroupBy: "Agrupar por",
|
|
79906
79967
|
featureConfigure: "Configurar",
|
|
79907
79968
|
tableNameFallback: "tabela"
|
|
@@ -80027,6 +80088,10 @@ var pt_BR_default = {
|
|
|
80027
80088
|
single: "\xDAnico",
|
|
80028
80089
|
range: "Intervalo"
|
|
80029
80090
|
}
|
|
80091
|
+
},
|
|
80092
|
+
groupCell: {
|
|
80093
|
+
expand: "Expandir grupo",
|
|
80094
|
+
collapse: "Recolher grupo"
|
|
80030
80095
|
}
|
|
80031
80096
|
}
|
|
80032
80097
|
};
|
|
@@ -80045,8 +80110,9 @@ var th_TH_default = {
|
|
|
80045
80110
|
title: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E17\u0E35\u0E48\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E43\u0E19\u0E02\u0E13\u0E30\u0E19\u0E35\u0E49",
|
|
80046
80111
|
itemsTitle: "\u0E44\u0E21\u0E48\u0E21\u0E35 %{itemsLabel} \u0E17\u0E35\u0E48\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E43\u0E19\u0E02\u0E13\u0E30\u0E19\u0E35\u0E49",
|
|
80047
80112
|
tooltip: "\u0E1B\u0E38\u0E48\u0E21 %{featureName} \u0E08\u0E30\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E25\u0E07\u0E43\u0E19 %{tableName}",
|
|
80113
|
+
searchTooltip: "\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E08\u0E30\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E40\u0E21\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E25\u0E07\u0E43\u0E19 %{tableName}",
|
|
80048
80114
|
featureFilter: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07",
|
|
80049
|
-
|
|
80115
|
+
featureQuickFilter: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E14\u0E48\u0E27\u0E19",
|
|
80050
80116
|
featureGroupBy: "\u0E41\u0E1A\u0E48\u0E07\u0E01\u0E25\u0E38\u0E48\u0E21\u0E15\u0E32\u0E21",
|
|
80051
80117
|
featureConfigure: "\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E48\u0E32",
|
|
80052
80118
|
tableNameFallback: "\u0E15\u0E32\u0E23\u0E32\u0E07"
|
|
@@ -80172,6 +80238,10 @@ var th_TH_default = {
|
|
|
80172
80238
|
single: "\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27",
|
|
80173
80239
|
range: "\u0E41\u0E19\u0E27"
|
|
80174
80240
|
}
|
|
80241
|
+
},
|
|
80242
|
+
groupCell: {
|
|
80243
|
+
expand: "\u0E02\u0E22\u0E32\u0E22\u0E01\u0E25\u0E38\u0E48\u0E21",
|
|
80244
|
+
collapse: "\u0E01\u0E32\u0E23\u0E22\u0E38\u0E1A\u0E01\u0E25\u0E38\u0E48\u0E21"
|
|
80175
80245
|
}
|
|
80176
80246
|
}
|
|
80177
80247
|
};
|
|
@@ -80190,8 +80260,9 @@ var zh_SG_default = {
|
|
|
80190
80260
|
title: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684\u9879",
|
|
80191
80261
|
itemsTitle: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684%{itemsLabel}",
|
|
80192
80262
|
tooltip: "\u4F60\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230 %{tableName} \u540E\uFF0C\u7CFB\u7EDF\u5C06\u542F\u7528%{featureName}\u6309\u94AE",
|
|
80263
|
+
searchTooltip: "\u4E00\u65E6\u60A8\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u641C\u7D22\u529F\u80FD\u5C31\u4F1A\u542F\u7528",
|
|
80193
80264
|
featureFilter: "\u7B5B\u9009\u5668",
|
|
80194
|
-
|
|
80265
|
+
featureQuickFilter: "\u5FEB\u901F\u7B5B\u9009",
|
|
80195
80266
|
featureGroupBy: "\u5206\u7EC4\u4F9D\u636E",
|
|
80196
80267
|
featureConfigure: "\u914D\u7F6E",
|
|
80197
80268
|
tableNameFallback: "\u8868\u683C"
|
|
@@ -80317,6 +80388,10 @@ var zh_SG_default = {
|
|
|
80317
80388
|
single: "\u5355\u4E2A",
|
|
80318
80389
|
range: "\u8303\u56F4"
|
|
80319
80390
|
}
|
|
80391
|
+
},
|
|
80392
|
+
groupCell: {
|
|
80393
|
+
expand: "\u5C55\u5F00\u7EC4",
|
|
80394
|
+
collapse: "\u6298\u53E0\u7EC4"
|
|
80320
80395
|
}
|
|
80321
80396
|
}
|
|
80322
80397
|
};
|
|
@@ -81938,10 +82013,27 @@ var Table = (props) => {
|
|
|
81938
82013
|
},
|
|
81939
82014
|
[columnApi, internalTableContext]
|
|
81940
82015
|
);
|
|
81941
|
-
const onColumnResized = React76.useCallback(
|
|
81942
|
-
|
|
81943
|
-
|
|
81944
|
-
|
|
82016
|
+
const onColumnResized = React76.useCallback(
|
|
82017
|
+
(params) => {
|
|
82018
|
+
internalTableContext.onTableConfigChange();
|
|
82019
|
+
setHeaderHeight();
|
|
82020
|
+
if (wrapperRef.current && params.column) {
|
|
82021
|
+
const { columnApi: columnApi2, column: column2 } = params;
|
|
82022
|
+
const tableWidth = wrapperRef.current.clientWidth;
|
|
82023
|
+
const columnState = columnApi2.getColumnState();
|
|
82024
|
+
const pinnedColumns = columnState.filter(
|
|
82025
|
+
(column3) => column3.pinned
|
|
82026
|
+
);
|
|
82027
|
+
const totalPinnedWidth = pinnedColumns.reduce(
|
|
82028
|
+
(acc, column3) => acc + column3.width,
|
|
82029
|
+
0
|
|
82030
|
+
);
|
|
82031
|
+
const currentPinnedColumnMaxWidth = tableWidth - totalPinnedWidth + column2.actualWidth - 50;
|
|
82032
|
+
column2.maxWidth = currentPinnedColumnMaxWidth;
|
|
82033
|
+
}
|
|
82034
|
+
},
|
|
82035
|
+
[internalTableContext.onTableConfigChange]
|
|
82036
|
+
);
|
|
81945
82037
|
const onDisplayedColumnsChanged = React76.useCallback(
|
|
81946
82038
|
(event) => {
|
|
81947
82039
|
var _a2;
|
|
@@ -82250,6 +82342,7 @@ var Table = (props) => {
|
|
|
82250
82342
|
return /* @__PURE__ */ React76.createElement(
|
|
82251
82343
|
Spinner,
|
|
82252
82344
|
{
|
|
82345
|
+
"data-qa": "data-table-table",
|
|
82253
82346
|
loading: loadingStatus.loading,
|
|
82254
82347
|
label: loadingStatus.message,
|
|
82255
82348
|
style: {
|