@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/modern/index.cjs
CHANGED
|
@@ -8025,7 +8025,7 @@ var InternalBooleanCellEditor = React76__default.default.forwardRef(({ columnDef
|
|
|
8025
8025
|
return /* @__PURE__ */ React76__default.default.createElement(
|
|
8026
8026
|
coreReact.Select,
|
|
8027
8027
|
{
|
|
8028
|
-
afterHide: stopEditing,
|
|
8028
|
+
afterHide: () => stopEditing(),
|
|
8029
8029
|
block: true,
|
|
8030
8030
|
className: cx("input-cell"),
|
|
8031
8031
|
label: value ? I18n.t("dataTable.cells.booleanCell.options.yes") : I18n.t("dataTable.cells.booleanCell.options.no"),
|
|
@@ -8243,8 +8243,8 @@ var Editor = React76__default.default.forwardRef(
|
|
|
8243
8243
|
if (isEmptyValue(value) && !columnDefinition.editable) {
|
|
8244
8244
|
return null;
|
|
8245
8245
|
}
|
|
8246
|
-
function onBlur() {
|
|
8247
|
-
stopEditing();
|
|
8246
|
+
function onBlur(event) {
|
|
8247
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
8248
8248
|
}
|
|
8249
8249
|
const defaultValue = eventKey ? value : labsFinancialsUtils.formatNumber(value, {
|
|
8250
8250
|
...columnDefinition.cellEditorParams?.formatConfig ?? columnDefinition.cellRendererParams?.formatConfig ?? {},
|
|
@@ -8682,8 +8682,8 @@ var Renderer4 = (props) => {
|
|
|
8682
8682
|
var DateCellRenderer = withDataTableRenderer(Renderer4, "date");
|
|
8683
8683
|
var Editor2 = React76__default.default.forwardRef(
|
|
8684
8684
|
({ columnDefinition, setDataValue, stopEditing, value }, ref) => {
|
|
8685
|
-
function afterHide() {
|
|
8686
|
-
stopEditing();
|
|
8685
|
+
function afterHide(event) {
|
|
8686
|
+
stopEditing(ensureIsHTMLElement(event?.target));
|
|
8687
8687
|
}
|
|
8688
8688
|
function onChange(date) {
|
|
8689
8689
|
if (date) {
|
|
@@ -8753,8 +8753,8 @@ var Renderer5 = (props) => {
|
|
|
8753
8753
|
var DateTimeCellRenderer = withDataTableRenderer(Renderer5, "date");
|
|
8754
8754
|
var Editor3 = React76__default.default.forwardRef(
|
|
8755
8755
|
({ columnDefinition, setDataValue, stopEditing, value }, ref) => {
|
|
8756
|
-
function afterHide() {
|
|
8757
|
-
stopEditing();
|
|
8756
|
+
function afterHide(event) {
|
|
8757
|
+
stopEditing(ensureIsHTMLElement(event?.target));
|
|
8758
8758
|
}
|
|
8759
8759
|
function onChange(date) {
|
|
8760
8760
|
if (date) {
|
|
@@ -53026,8 +53026,8 @@ var InternalNumberCellEditor = React76__default.default.forwardRef(({ columnDefi
|
|
|
53026
53026
|
if (isEmptyValue(value) && !columnDefinition.editable) {
|
|
53027
53027
|
return null;
|
|
53028
53028
|
}
|
|
53029
|
-
function onBlur() {
|
|
53030
|
-
stopEditing();
|
|
53029
|
+
function onBlur(event) {
|
|
53030
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53031
53031
|
}
|
|
53032
53032
|
return /* @__PURE__ */ React76__default.default.createElement(
|
|
53033
53033
|
coreReact.Input,
|
|
@@ -53310,8 +53310,8 @@ var Renderer7 = ({
|
|
|
53310
53310
|
var PercentCellRenderer = withDataTableRenderer(Renderer7, "input");
|
|
53311
53311
|
var Editor4 = React76__default.default.forwardRef(({ columnDefinition, eventKey, stopEditing, value }, ref) => {
|
|
53312
53312
|
const I18n = coreReact.useI18nContext();
|
|
53313
|
-
function onBlur() {
|
|
53314
|
-
stopEditing();
|
|
53313
|
+
function onBlur(event) {
|
|
53314
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53315
53315
|
}
|
|
53316
53316
|
if (isEmptyValue(value) && !columnDefinition.editable) {
|
|
53317
53317
|
return null;
|
|
@@ -53702,8 +53702,8 @@ var Renderer11 = ({
|
|
|
53702
53702
|
var TextCellRenderer = withDataTableRenderer(Renderer11, "input");
|
|
53703
53703
|
var Editor7 = React76__default.default.forwardRef(
|
|
53704
53704
|
({ columnDefinition, eventKey, stopEditing, value }, ref) => {
|
|
53705
|
-
function onBlur() {
|
|
53706
|
-
stopEditing();
|
|
53705
|
+
function onBlur(event) {
|
|
53706
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53707
53707
|
}
|
|
53708
53708
|
const I18n = coreReact.useI18nContext();
|
|
53709
53709
|
const internalValue = eventKey ? value : columnDefinition.getStringFormattedValue?.(value) ?? value;
|
|
@@ -53773,8 +53773,8 @@ var Renderer12 = ({
|
|
|
53773
53773
|
};
|
|
53774
53774
|
var Editor8 = React76__default.default.forwardRef(
|
|
53775
53775
|
({ columnDefinition, stopEditing, value }, ref) => {
|
|
53776
|
-
function onBlur() {
|
|
53777
|
-
stopEditing();
|
|
53776
|
+
function onBlur(event) {
|
|
53777
|
+
stopEditing(ensureIsHTMLElement(event.relatedTarget));
|
|
53778
53778
|
}
|
|
53779
53779
|
const I18n = coreReact.useI18nContext();
|
|
53780
53780
|
const internalValue = columnDefinition.getStringFormattedValue?.(value) ?? value;
|
|
@@ -55984,7 +55984,14 @@ var DataTableCellEditor = React76__default.default.forwardRef(
|
|
|
55984
55984
|
node.setDataValue(field, newValue);
|
|
55985
55985
|
setCurrentValue(newValue);
|
|
55986
55986
|
},
|
|
55987
|
-
stopEditing
|
|
55987
|
+
stopEditing: (relatedTarget) => {
|
|
55988
|
+
const isRelatedTargetOutsideTable = relatedTarget?.closest('[data-qa="data-table-table') === null;
|
|
55989
|
+
stopEditing(isRelatedTargetOutsideTable);
|
|
55990
|
+
if (isRelatedTargetOutsideTable) {
|
|
55991
|
+
api.clearFocusedCell();
|
|
55992
|
+
relatedTarget.focus();
|
|
55993
|
+
}
|
|
55994
|
+
},
|
|
55988
55995
|
tableApi: tableRef?.current,
|
|
55989
55996
|
value: currentValue,
|
|
55990
55997
|
ref: handleRefs(editorType)
|
|
@@ -56856,6 +56863,9 @@ function withDataTableRenderer(Component4, editorType) {
|
|
|
56856
56863
|
}
|
|
56857
56864
|
);
|
|
56858
56865
|
}
|
|
56866
|
+
function ensureIsHTMLElement(element) {
|
|
56867
|
+
return element instanceof HTMLElement ? element : null;
|
|
56868
|
+
}
|
|
56859
56869
|
function getGroupNodes(params) {
|
|
56860
56870
|
const currentParentId = params.node?.parent?.id ?? "root";
|
|
56861
56871
|
let groupNodes = {
|
|
@@ -57095,7 +57105,7 @@ var MultiSelectEditor = React76__default.default.forwardRef(({ columnDefinition,
|
|
|
57095
57105
|
coreReact.MultiSelect,
|
|
57096
57106
|
{
|
|
57097
57107
|
beforeShow,
|
|
57098
|
-
afterHide: stopEditing,
|
|
57108
|
+
afterHide: () => stopEditing(),
|
|
57099
57109
|
block: true,
|
|
57100
57110
|
loading: isSearching || loading,
|
|
57101
57111
|
getId: (option) => {
|
|
@@ -78012,8 +78022,9 @@ var de_DE_default = {
|
|
|
78012
78022
|
title: "Aktuell gibt es keine anzuzeigenden Elemente.",
|
|
78013
78023
|
itemsTitle: "Aktuell gibt es keine anzuzeigenden %{itemsLabel}",
|
|
78014
78024
|
tooltip: "Die Schaltfl\xE4che %{featureName} wird aktiviert, sobald Sie dem Feld %{tableName} Informationen hinzuf\xFCgen.",
|
|
78025
|
+
searchTooltip: "Die Suche wird aktiviert, sobald Sie Informationen zu den %{tableName}",
|
|
78015
78026
|
featureFilter: "Filtern",
|
|
78016
|
-
|
|
78027
|
+
featureQuickFilter: "Schnell-Filter",
|
|
78017
78028
|
featureGroupBy: "Gruppieren nach",
|
|
78018
78029
|
featureConfigure: "Konfigurieren",
|
|
78019
78030
|
tableNameFallback: "Tabelle"
|
|
@@ -78139,6 +78150,10 @@ var de_DE_default = {
|
|
|
78139
78150
|
single: "Einzeln",
|
|
78140
78151
|
range: "Bereich"
|
|
78141
78152
|
}
|
|
78153
|
+
},
|
|
78154
|
+
groupCell: {
|
|
78155
|
+
expand: "Gruppe erweitern",
|
|
78156
|
+
collapse: "Gruppe ausblenden"
|
|
78142
78157
|
}
|
|
78143
78158
|
}
|
|
78144
78159
|
};
|
|
@@ -78157,8 +78172,9 @@ var en_AU_default = {
|
|
|
78157
78172
|
title: "There Are No Items to Display Right Now",
|
|
78158
78173
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
78159
78174
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
78175
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
78160
78176
|
featureFilter: "Filter",
|
|
78161
|
-
|
|
78177
|
+
featureQuickFilter: "Quick Filter",
|
|
78162
78178
|
featureGroupBy: "Group By",
|
|
78163
78179
|
featureConfigure: "Configure",
|
|
78164
78180
|
tableNameFallback: "Table"
|
|
@@ -78284,6 +78300,10 @@ var en_AU_default = {
|
|
|
78284
78300
|
single: "Single",
|
|
78285
78301
|
range: "Range"
|
|
78286
78302
|
}
|
|
78303
|
+
},
|
|
78304
|
+
groupCell: {
|
|
78305
|
+
expand: "Expand group",
|
|
78306
|
+
collapse: "Collapse group"
|
|
78287
78307
|
}
|
|
78288
78308
|
}
|
|
78289
78309
|
};
|
|
@@ -78302,8 +78322,9 @@ var en_CA_default = {
|
|
|
78302
78322
|
title: "There Are No Items to Display Right Now",
|
|
78303
78323
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
78304
78324
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
78325
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
78305
78326
|
featureFilter: "Filter",
|
|
78306
|
-
|
|
78327
|
+
featureQuickFilter: "Quick Filter",
|
|
78307
78328
|
featureGroupBy: "Group By",
|
|
78308
78329
|
featureConfigure: "Configure",
|
|
78309
78330
|
tableNameFallback: "Table"
|
|
@@ -78429,6 +78450,10 @@ var en_CA_default = {
|
|
|
78429
78450
|
single: "Single",
|
|
78430
78451
|
range: "Range"
|
|
78431
78452
|
}
|
|
78453
|
+
},
|
|
78454
|
+
groupCell: {
|
|
78455
|
+
expand: "Expand group",
|
|
78456
|
+
collapse: "Collapse group"
|
|
78432
78457
|
}
|
|
78433
78458
|
}
|
|
78434
78459
|
};
|
|
@@ -78447,8 +78472,9 @@ var en_GB_default = {
|
|
|
78447
78472
|
title: "There Are No Items to Display Right Now",
|
|
78448
78473
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
78449
78474
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
78475
|
+
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
78450
78476
|
featureFilter: "Filter",
|
|
78451
|
-
|
|
78477
|
+
featureQuickFilter: "Quick Filter",
|
|
78452
78478
|
featureGroupBy: "Group By",
|
|
78453
78479
|
featureConfigure: "Configure",
|
|
78454
78480
|
tableNameFallback: "Table"
|
|
@@ -78574,6 +78600,10 @@ var en_GB_default = {
|
|
|
78574
78600
|
single: "Single",
|
|
78575
78601
|
range: "Range"
|
|
78576
78602
|
}
|
|
78603
|
+
},
|
|
78604
|
+
groupCell: {
|
|
78605
|
+
expand: "Expand group",
|
|
78606
|
+
collapse: "Collapse group"
|
|
78577
78607
|
}
|
|
78578
78608
|
}
|
|
78579
78609
|
};
|
|
@@ -78742,8 +78772,9 @@ var es_ES_default = {
|
|
|
78742
78772
|
title: "No hay elementos para mostrar en este momento",
|
|
78743
78773
|
itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
|
|
78744
78774
|
tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que a\xF1ada informaci\xF3n a la %{tableName}",
|
|
78775
|
+
searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
|
|
78745
78776
|
featureFilter: "Filtro",
|
|
78746
|
-
|
|
78777
|
+
featureQuickFilter: "Filtro r\xE1pido",
|
|
78747
78778
|
featureGroupBy: "Agrupar por",
|
|
78748
78779
|
featureConfigure: "Configurar",
|
|
78749
78780
|
tableNameFallback: "tabla"
|
|
@@ -78869,6 +78900,10 @@ var es_ES_default = {
|
|
|
78869
78900
|
single: "\xDAnica",
|
|
78870
78901
|
range: "Rango"
|
|
78871
78902
|
}
|
|
78903
|
+
},
|
|
78904
|
+
groupCell: {
|
|
78905
|
+
expand: "Expandir grupo",
|
|
78906
|
+
collapse: "Contraer grupo"
|
|
78872
78907
|
}
|
|
78873
78908
|
}
|
|
78874
78909
|
};
|
|
@@ -78887,8 +78922,9 @@ var es_default = {
|
|
|
78887
78922
|
title: "No hay \xEDtems para mostrar en este momento",
|
|
78888
78923
|
itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
|
|
78889
78924
|
tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que agregue informaci\xF3n al %{tableName}",
|
|
78925
|
+
searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
|
|
78890
78926
|
featureFilter: "Filtro",
|
|
78891
|
-
|
|
78927
|
+
featureQuickFilter: "Filtro r\xE1pido",
|
|
78892
78928
|
featureGroupBy: "Agrupar por",
|
|
78893
78929
|
featureConfigure: "Configurar",
|
|
78894
78930
|
tableNameFallback: "tabla"
|
|
@@ -79014,6 +79050,10 @@ var es_default = {
|
|
|
79014
79050
|
single: "\xDAnico",
|
|
79015
79051
|
range: "Intervalo"
|
|
79016
79052
|
}
|
|
79053
|
+
},
|
|
79054
|
+
groupCell: {
|
|
79055
|
+
expand: "Expandir grupo",
|
|
79056
|
+
collapse: "Colapsar grupo"
|
|
79017
79057
|
}
|
|
79018
79058
|
}
|
|
79019
79059
|
};
|
|
@@ -79032,8 +79072,9 @@ var fr_CA_default = {
|
|
|
79032
79072
|
title: "Il n'y a aucun item \xE0 afficher pour le moment",
|
|
79033
79073
|
itemsTitle: "Il n'y a pas de %{itemsLabel} \xE0 afficher pour le moment",
|
|
79034
79074
|
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
79075
|
+
searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 de l'information au %{tableName}",
|
|
79035
79076
|
featureFilter: "Filtre",
|
|
79036
|
-
|
|
79077
|
+
featureQuickFilter: "Filtre rapide",
|
|
79037
79078
|
featureGroupBy: "Regrouper par",
|
|
79038
79079
|
featureConfigure: "Configurer",
|
|
79039
79080
|
tableNameFallback: "tableau"
|
|
@@ -79120,9 +79161,9 @@ var fr_CA_default = {
|
|
|
79120
79161
|
configure: "Configurer"
|
|
79121
79162
|
},
|
|
79122
79163
|
rowGroupToggle: {
|
|
79123
|
-
expandTierOne: "
|
|
79164
|
+
expandTierOne: "Ouvrir les premiers groupes du tableau.",
|
|
79124
79165
|
expandAll: "Ouvrez tous les groupes du tableau.",
|
|
79125
|
-
collapseAll: "
|
|
79166
|
+
collapseAll: "Fermer tous les groupes du tableau."
|
|
79126
79167
|
},
|
|
79127
79168
|
columnGroupToggle: {
|
|
79128
79169
|
collapse: "R\xE9duire le groupe de colonnes",
|
|
@@ -79159,6 +79200,10 @@ var fr_CA_default = {
|
|
|
79159
79200
|
single: "Seul",
|
|
79160
79201
|
range: "Intervalle"
|
|
79161
79202
|
}
|
|
79203
|
+
},
|
|
79204
|
+
groupCell: {
|
|
79205
|
+
expand: "D\xE9velopper le groupe",
|
|
79206
|
+
collapse: "R\xE9duire le groupe"
|
|
79162
79207
|
}
|
|
79163
79208
|
}
|
|
79164
79209
|
};
|
|
@@ -79177,8 +79222,9 @@ var fr_FR_default = {
|
|
|
79177
79222
|
title: "Aucun \xE9l\xE9ment \xE0 afficher pour l'instant",
|
|
79178
79223
|
itemsTitle: "Aucun %{itemsLabel} \xE0 afficher pour l'instant",
|
|
79179
79224
|
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au tableau %{tableName}",
|
|
79225
|
+
searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
79180
79226
|
featureFilter: "Filtrer",
|
|
79181
|
-
|
|
79227
|
+
featureQuickFilter: "Filtre rapide",
|
|
79182
79228
|
featureGroupBy: "Regrouper par",
|
|
79183
79229
|
featureConfigure: "Configurer",
|
|
79184
79230
|
tableNameFallback: "Tableau"
|
|
@@ -79304,6 +79350,10 @@ var fr_FR_default = {
|
|
|
79304
79350
|
single: "Unique",
|
|
79305
79351
|
range: "Plage"
|
|
79306
79352
|
}
|
|
79353
|
+
},
|
|
79354
|
+
groupCell: {
|
|
79355
|
+
expand: "D\xE9velopper le groupe",
|
|
79356
|
+
collapse: "R\xE9duire le groupe"
|
|
79307
79357
|
}
|
|
79308
79358
|
}
|
|
79309
79359
|
};
|
|
@@ -79322,8 +79372,9 @@ var is_IS_default = {
|
|
|
79322
79372
|
title: "\xDEa\xF0 eru engir hlutir til a\xF0 s\xFDna n\xFAna",
|
|
79323
79373
|
itemsTitle: "\xDEa\xF0 eru engin %{itemsLabel} til a\xF0 s\xFDna n\xFAna",
|
|
79324
79374
|
tooltip: "%{featureName} hnappurinn ver\xF0ur virkur \xFEegar \xFE\xFA b\xE6tir uppl\xFDsingum vi\xF0 %{tableName}",
|
|
79375
|
+
searchTooltip: "Leit ver\xF0ur virkju\xF0 \xFEegar \xFE\xFA b\xE6tir uppl\xFDsingum vi\xF0 %{tableName}",
|
|
79325
79376
|
featureFilter: "S\xEDa",
|
|
79326
|
-
|
|
79377
|
+
featureQuickFilter: "Flj\xF3tleg s\xEDa",
|
|
79327
79378
|
featureGroupBy: "H\xF3pur eftir",
|
|
79328
79379
|
featureConfigure: "Stilla",
|
|
79329
79380
|
tableNameFallback: "Tafla"
|
|
@@ -79449,6 +79500,10 @@ var is_IS_default = {
|
|
|
79449
79500
|
single: "Einhleypur",
|
|
79450
79501
|
range: "Svi\xF0"
|
|
79451
79502
|
}
|
|
79503
|
+
},
|
|
79504
|
+
groupCell: {
|
|
79505
|
+
expand: "St\xE6kka h\xF3pinn",
|
|
79506
|
+
collapse: "Hrunh\xF3pur"
|
|
79452
79507
|
}
|
|
79453
79508
|
}
|
|
79454
79509
|
};
|
|
@@ -79467,8 +79522,9 @@ var ja_JP_default = {
|
|
|
79467
79522
|
title: "\u73FE\u5728\u3001\u8868\u793A\u3059\u308B\u9805\u76EE\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
79468
79523
|
itemsTitle: "\u73FE\u5728\u3001\u8868\u793A\u3059\u308B%{itemsLabel}\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
79469
79524
|
tooltip: "\u60C5\u5831\u3092%{tableName}\u306B\u8FFD\u52A0\u3059\u308B\u3068\u3001[%{featureName}]\u30DC\u30BF\u30F3\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
|
|
79525
|
+
searchTooltip: "%{tableName}\u306B\u60C5\u5831\u3092\u8FFD\u52A0\u3059\u308B\u3068\u691C\u7D22\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
|
|
79470
79526
|
featureFilter: "\u30D5\u30A3\u30EB\u30BF\u30FC",
|
|
79471
|
-
|
|
79527
|
+
featureQuickFilter: "\u30AF\u30A4\u30C3\u30AF\u30D5\u30A3\u30EB\u30BF\u30FC",
|
|
79472
79528
|
featureGroupBy: "\u30B0\u30EB\u30FC\u30D7\u5316",
|
|
79473
79529
|
featureConfigure: "\u69CB\u6210",
|
|
79474
79530
|
tableNameFallback: "\u8868"
|
|
@@ -79594,6 +79650,10 @@ var ja_JP_default = {
|
|
|
79594
79650
|
single: "\u5358\u72EC",
|
|
79595
79651
|
range: "\u7BC4\u56F2"
|
|
79596
79652
|
}
|
|
79653
|
+
},
|
|
79654
|
+
groupCell: {
|
|
79655
|
+
expand: "\u30B0\u30EB\u30FC\u30D7\u3092\u5C55\u958B\u3059\u308B",
|
|
79656
|
+
collapse: "\u30B0\u30EB\u30FC\u30D7\u3092\u6298\u308A\u305F\u305F\u3080"
|
|
79597
79657
|
}
|
|
79598
79658
|
}
|
|
79599
79659
|
};
|
|
@@ -79762,8 +79822,9 @@ var pt_BR_default = {
|
|
|
79762
79822
|
title: "N\xE3o H\xE1 Itens para Exibir Agora",
|
|
79763
79823
|
itemsTitle: "N\xE3o H\xE1 %{itemsLabel} para Exibir Agora",
|
|
79764
79824
|
tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado assim que voc\xEA adicionar informa\xE7\xF5es ao %{tableName}",
|
|
79825
|
+
searchTooltip: "A pesquisa ser\xE1 ativada assim que voc\xEA adicionar informa\xE7\xF5es \xE0 tabela %{tableName}",
|
|
79765
79826
|
featureFilter: "Filtrar",
|
|
79766
|
-
|
|
79827
|
+
featureQuickFilter: "Filtro r\xE1pido",
|
|
79767
79828
|
featureGroupBy: "Agrupar por",
|
|
79768
79829
|
featureConfigure: "Configurar",
|
|
79769
79830
|
tableNameFallback: "tabela"
|
|
@@ -79889,6 +79950,10 @@ var pt_BR_default = {
|
|
|
79889
79950
|
single: "\xDAnico",
|
|
79890
79951
|
range: "Intervalo"
|
|
79891
79952
|
}
|
|
79953
|
+
},
|
|
79954
|
+
groupCell: {
|
|
79955
|
+
expand: "Expandir grupo",
|
|
79956
|
+
collapse: "Recolher grupo"
|
|
79892
79957
|
}
|
|
79893
79958
|
}
|
|
79894
79959
|
};
|
|
@@ -79907,8 +79972,9 @@ var th_TH_default = {
|
|
|
79907
79972
|
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",
|
|
79908
79973
|
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",
|
|
79909
79974
|
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}",
|
|
79975
|
+
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}",
|
|
79910
79976
|
featureFilter: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07",
|
|
79911
|
-
|
|
79977
|
+
featureQuickFilter: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E14\u0E48\u0E27\u0E19",
|
|
79912
79978
|
featureGroupBy: "\u0E41\u0E1A\u0E48\u0E07\u0E01\u0E25\u0E38\u0E48\u0E21\u0E15\u0E32\u0E21",
|
|
79913
79979
|
featureConfigure: "\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E04\u0E48\u0E32",
|
|
79914
79980
|
tableNameFallback: "\u0E15\u0E32\u0E23\u0E32\u0E07"
|
|
@@ -80034,6 +80100,10 @@ var th_TH_default = {
|
|
|
80034
80100
|
single: "\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27",
|
|
80035
80101
|
range: "\u0E41\u0E19\u0E27"
|
|
80036
80102
|
}
|
|
80103
|
+
},
|
|
80104
|
+
groupCell: {
|
|
80105
|
+
expand: "\u0E02\u0E22\u0E32\u0E22\u0E01\u0E25\u0E38\u0E48\u0E21",
|
|
80106
|
+
collapse: "\u0E01\u0E32\u0E23\u0E22\u0E38\u0E1A\u0E01\u0E25\u0E38\u0E48\u0E21"
|
|
80037
80107
|
}
|
|
80038
80108
|
}
|
|
80039
80109
|
};
|
|
@@ -80052,8 +80122,9 @@ var zh_SG_default = {
|
|
|
80052
80122
|
title: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684\u9879",
|
|
80053
80123
|
itemsTitle: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684%{itemsLabel}",
|
|
80054
80124
|
tooltip: "\u4F60\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230 %{tableName} \u540E\uFF0C\u7CFB\u7EDF\u5C06\u542F\u7528%{featureName}\u6309\u94AE",
|
|
80125
|
+
searchTooltip: "\u4E00\u65E6\u60A8\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u641C\u7D22\u529F\u80FD\u5C31\u4F1A\u542F\u7528",
|
|
80055
80126
|
featureFilter: "\u7B5B\u9009\u5668",
|
|
80056
|
-
|
|
80127
|
+
featureQuickFilter: "\u5FEB\u901F\u7B5B\u9009",
|
|
80057
80128
|
featureGroupBy: "\u5206\u7EC4\u4F9D\u636E",
|
|
80058
80129
|
featureConfigure: "\u914D\u7F6E",
|
|
80059
80130
|
tableNameFallback: "\u8868\u683C"
|
|
@@ -80179,6 +80250,10 @@ var zh_SG_default = {
|
|
|
80179
80250
|
single: "\u5355\u4E2A",
|
|
80180
80251
|
range: "\u8303\u56F4"
|
|
80181
80252
|
}
|
|
80253
|
+
},
|
|
80254
|
+
groupCell: {
|
|
80255
|
+
expand: "\u5C55\u5F00\u7EC4",
|
|
80256
|
+
collapse: "\u6298\u53E0\u7EC4"
|
|
80182
80257
|
}
|
|
80183
80258
|
}
|
|
80184
80259
|
};
|
|
@@ -81760,10 +81835,27 @@ var Table = (props) => {
|
|
|
81760
81835
|
},
|
|
81761
81836
|
[columnApi, internalTableContext]
|
|
81762
81837
|
);
|
|
81763
|
-
const onColumnResized = React76__default.default.useCallback(
|
|
81764
|
-
|
|
81765
|
-
|
|
81766
|
-
|
|
81838
|
+
const onColumnResized = React76__default.default.useCallback(
|
|
81839
|
+
(params) => {
|
|
81840
|
+
internalTableContext.onTableConfigChange();
|
|
81841
|
+
setHeaderHeight();
|
|
81842
|
+
if (wrapperRef.current && params.column) {
|
|
81843
|
+
const { columnApi: columnApi2, column: column2 } = params;
|
|
81844
|
+
const tableWidth = wrapperRef.current.clientWidth;
|
|
81845
|
+
const columnState = columnApi2.getColumnState();
|
|
81846
|
+
const pinnedColumns = columnState.filter(
|
|
81847
|
+
(column3) => column3.pinned
|
|
81848
|
+
);
|
|
81849
|
+
const totalPinnedWidth = pinnedColumns.reduce(
|
|
81850
|
+
(acc, column3) => acc + column3.width,
|
|
81851
|
+
0
|
|
81852
|
+
);
|
|
81853
|
+
const currentPinnedColumnMaxWidth = tableWidth - totalPinnedWidth + column2.actualWidth - 50;
|
|
81854
|
+
column2.maxWidth = currentPinnedColumnMaxWidth;
|
|
81855
|
+
}
|
|
81856
|
+
},
|
|
81857
|
+
[internalTableContext.onTableConfigChange]
|
|
81858
|
+
);
|
|
81767
81859
|
const onDisplayedColumnsChanged = React76__default.default.useCallback(
|
|
81768
81860
|
(event) => {
|
|
81769
81861
|
if (props.onRowDragEnd) {
|
|
@@ -82063,6 +82155,7 @@ var Table = (props) => {
|
|
|
82063
82155
|
return /* @__PURE__ */ React76__default.default.createElement(
|
|
82064
82156
|
Spinner,
|
|
82065
82157
|
{
|
|
82158
|
+
"data-qa": "data-table-table",
|
|
82066
82159
|
loading: loadingStatus.loading,
|
|
82067
82160
|
label: loadingStatus.message,
|
|
82068
82161
|
style: {
|
package/dist/modern/index.d.cts
CHANGED
|
@@ -198,7 +198,7 @@ interface DataTableCellEditorProps<TValue = any, TColumnDefinition extends Colum
|
|
|
198
198
|
eventKey: string | null;
|
|
199
199
|
ref?: ((instance: HTMLElement | null) => void) | React__default.MutableRefObject<HTMLElement | null> | null;
|
|
200
200
|
setDataValue: (field: string, newValue: TValue) => void;
|
|
201
|
-
stopEditing: () => void;
|
|
201
|
+
stopEditing: (relatedTarget?: HTMLElement | null) => void;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
interface BooleanCellRendererParams {
|
package/dist/modern/index.d.ts
CHANGED
|
@@ -198,7 +198,7 @@ interface DataTableCellEditorProps<TValue = any, TColumnDefinition extends Colum
|
|
|
198
198
|
eventKey: string | null;
|
|
199
199
|
ref?: ((instance: HTMLElement | null) => void) | React__default.MutableRefObject<HTMLElement | null> | null;
|
|
200
200
|
setDataValue: (field: string, newValue: TValue) => void;
|
|
201
|
-
stopEditing: () => void;
|
|
201
|
+
stopEditing: (relatedTarget?: HTMLElement | null) => void;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
interface BooleanCellRendererParams {
|