@mui/x-data-grid 8.6.0 → 8.8.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 +202 -1
- package/components/GridScrollArea.d.ts +1 -1
- package/components/GridScrollArea.js +134 -28
- package/components/cell/GridActionsCell.js +1 -0
- package/components/cell/GridCell.js +1 -0
- package/components/cell/GridEditBooleanCell.js +1 -0
- package/components/cell/GridEditDateCell.js +1 -0
- package/components/cell/GridEditInputCell.js +1 -0
- package/components/cell/GridEditSingleSelectCell.js +1 -0
- package/components/columnHeaders/GridColumnGroupHeader.js +1 -0
- package/components/columnHeaders/GridColumnHeaderItem.js +1 -0
- package/components/columnHeaders/GridColumnHeaderTitle.js +1 -0
- package/components/columnHeaders/GridGenericColumnHeaderItem.js +1 -0
- package/components/columnSelection/GridCellCheckboxRenderer.js +1 -0
- package/components/columnSelection/GridHeaderCheckbox.js +1 -0
- package/components/columnsManagement/GridColumnsManagement.js +2 -2
- package/components/containers/GridRootStyles.js +2 -5
- package/components/menu/GridMenu.js +1 -0
- package/components/panel/GridPanel.js +1 -0
- package/components/panel/GridPanelContext.js +1 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.js +1 -0
- package/components/panel/filterPanel/GridFilterInputDate.js +1 -0
- package/components/panel/filterPanel/GridFilterInputMultipleValue.js +1 -0
- package/components/panel/filterPanel/GridFilterInputValue.js +1 -0
- package/components/panel/filterPanel/GridFilterPanel.js +1 -0
- package/components/quickFilter/QuickFilter.js +1 -0
- package/components/quickFilter/QuickFilterContext.js +1 -0
- package/components/toolbar/GridToolbarDensitySelector.js +1 -0
- package/components/toolbar/GridToolbarExportContainer.js +1 -0
- package/components/toolbarV8/GridToolbar.js +1 -0
- package/components/toolbarV8/Toolbar.js +1 -0
- package/components/toolbarV8/ToolbarButton.js +1 -0
- package/components/toolbarV8/ToolbarContext.js +1 -0
- package/components/virtualization/GridVirtualScrollbar.js +1 -0
- package/components/virtualization/GridVirtualScroller.js +4 -0
- package/constants/gridClasses.d.ts +8 -0
- package/constants/gridClasses.js +1 -1
- package/esm/components/GridScrollArea.d.ts +1 -1
- package/esm/components/GridScrollArea.js +134 -28
- package/esm/components/cell/GridActionsCell.js +2 -0
- package/esm/components/cell/GridCell.js +2 -0
- package/esm/components/cell/GridEditBooleanCell.js +2 -0
- package/esm/components/cell/GridEditDateCell.js +2 -0
- package/esm/components/cell/GridEditInputCell.js +2 -0
- package/esm/components/cell/GridEditSingleSelectCell.js +2 -0
- package/esm/components/columnHeaders/GridColumnGroupHeader.js +2 -0
- package/esm/components/columnHeaders/GridColumnHeaderItem.js +2 -0
- package/esm/components/columnHeaders/GridColumnHeaderTitle.js +2 -0
- package/esm/components/columnHeaders/GridGenericColumnHeaderItem.js +2 -0
- package/esm/components/columnSelection/GridCellCheckboxRenderer.js +2 -0
- package/esm/components/columnSelection/GridHeaderCheckbox.js +2 -0
- package/esm/components/columnsManagement/GridColumnsManagement.js +3 -1
- package/esm/components/containers/GridRootStyles.js +2 -5
- package/esm/components/menu/GridMenu.js +2 -0
- package/esm/components/panel/GridPanel.js +2 -0
- package/esm/components/panel/GridPanelContext.js +2 -0
- package/esm/components/panel/filterPanel/GridFilterInputBoolean.js +2 -0
- package/esm/components/panel/filterPanel/GridFilterInputDate.js +2 -0
- package/esm/components/panel/filterPanel/GridFilterInputMultipleValue.js +2 -0
- package/esm/components/panel/filterPanel/GridFilterInputValue.js +2 -0
- package/esm/components/panel/filterPanel/GridFilterPanel.js +2 -0
- package/esm/components/quickFilter/QuickFilter.js +2 -0
- package/esm/components/quickFilter/QuickFilterContext.js +2 -0
- package/esm/components/toolbar/GridToolbarDensitySelector.js +2 -0
- package/esm/components/toolbar/GridToolbarExportContainer.js +2 -0
- package/esm/components/toolbarV8/GridToolbar.js +2 -0
- package/esm/components/toolbarV8/Toolbar.js +2 -0
- package/esm/components/toolbarV8/ToolbarButton.js +2 -0
- package/esm/components/toolbarV8/ToolbarContext.js +2 -0
- package/esm/components/virtualization/GridVirtualScrollbar.js +2 -0
- package/esm/components/virtualization/GridVirtualScroller.js +4 -0
- package/esm/constants/gridClasses.d.ts +8 -0
- package/esm/constants/gridClasses.js +1 -1
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +2 -0
- package/esm/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +2 -0
- package/esm/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +2 -0
- package/esm/hooks/core/useGridApiInitialization.js +2 -0
- package/esm/hooks/core/useGridIsRtl.js +2 -0
- package/esm/hooks/core/useGridProps.js +2 -0
- package/esm/hooks/features/columnGrouping/useGridColumnGrouping.js +2 -0
- package/esm/hooks/features/columnHeaders/useGridColumnHeaders.js +2 -0
- package/esm/hooks/features/columnResize/useGridColumnResize.js +2 -0
- package/esm/hooks/features/columns/useGridColumns.js +23 -3
- package/esm/hooks/features/dataSource/useGridDataSource.js +2 -0
- package/esm/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
- package/esm/hooks/features/dataSource/useGridDataSourceBase.js +5 -0
- package/esm/hooks/features/dataSource/utils.js +3 -0
- package/esm/hooks/features/density/useGridDensity.js +2 -0
- package/esm/hooks/features/dimensions/useGridDimensions.js +2 -0
- package/esm/hooks/features/editing/useGridCellEditing.js +2 -0
- package/esm/hooks/features/editing/useGridEditing.js +2 -0
- package/esm/hooks/features/editing/useGridRowEditing.js +2 -0
- package/esm/hooks/features/export/useGridPrintExport.js +2 -0
- package/esm/hooks/features/focus/useGridFocus.js +2 -0
- package/esm/hooks/features/headerFiltering/useGridHeaderFiltering.js +2 -0
- package/esm/hooks/features/listView/useGridListView.js +2 -0
- package/esm/hooks/features/pagination/useGridPaginationMeta.js +2 -0
- package/esm/hooks/features/pagination/useGridPaginationModel.js +2 -0
- package/esm/hooks/features/pagination/useGridRowCount.js +2 -0
- package/esm/hooks/features/rowSelection/useGridRowSelection.js +2 -0
- package/esm/hooks/features/rows/useGridRowSpanning.js +2 -0
- package/esm/hooks/features/rows/useGridRows.js +2 -0
- package/esm/hooks/features/virtualization/useGridVirtualScroller.js +2 -0
- package/esm/hooks/features/virtualization/useGridVirtualization.js +2 -0
- package/esm/hooks/utils/useGridEvent.js +2 -0
- package/esm/hooks/utils/useGridPrivateApiContext.js +2 -0
- package/esm/hooks/utils/useGridSelector.js +6 -0
- package/esm/index.js +1 -1
- package/esm/internals/demo/TailwindDemoContainer.js +2 -0
- package/esm/internals/utils/cache.d.ts +9 -0
- package/esm/internals/utils/cache.js +19 -0
- package/esm/internals/utils/index.d.ts +2 -1
- package/esm/internals/utils/index.js +2 -1
- package/esm/locales/daDK.js +1 -1
- package/esm/locales/idID.d.ts +4 -0
- package/esm/locales/idID.js +261 -0
- package/esm/locales/index.d.ts +2 -1
- package/esm/locales/index.js +2 -1
- package/esm/utils/css/context.js +2 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeApplier.js +1 -0
- package/hooks/core/pipeProcessing/useGridRegisterPipeProcessor.js +1 -0
- package/hooks/core/strategyProcessing/useGridRegisterStrategyProcessor.js +1 -0
- package/hooks/core/useGridApiInitialization.js +1 -0
- package/hooks/core/useGridIsRtl.js +1 -0
- package/hooks/core/useGridProps.js +1 -0
- package/hooks/features/columnGrouping/useGridColumnGrouping.js +1 -0
- package/hooks/features/columnHeaders/useGridColumnHeaders.js +1 -0
- package/hooks/features/columnResize/useGridColumnResize.js +1 -0
- package/hooks/features/columns/useGridColumns.js +22 -3
- package/hooks/features/dataSource/useGridDataSource.js +1 -0
- package/hooks/features/dataSource/useGridDataSourceBase.d.ts +1 -1
- package/hooks/features/dataSource/useGridDataSourceBase.js +4 -0
- package/hooks/features/dataSource/utils.js +3 -0
- package/hooks/features/density/useGridDensity.js +1 -0
- package/hooks/features/dimensions/useGridDimensions.js +1 -0
- package/hooks/features/editing/useGridCellEditing.js +1 -0
- package/hooks/features/editing/useGridEditing.js +1 -0
- package/hooks/features/editing/useGridRowEditing.js +1 -0
- package/hooks/features/export/useGridPrintExport.js +1 -0
- package/hooks/features/focus/useGridFocus.js +1 -0
- package/hooks/features/headerFiltering/useGridHeaderFiltering.js +1 -0
- package/hooks/features/listView/useGridListView.js +1 -0
- package/hooks/features/pagination/useGridPaginationMeta.js +1 -0
- package/hooks/features/pagination/useGridPaginationModel.js +1 -0
- package/hooks/features/pagination/useGridRowCount.js +1 -0
- package/hooks/features/rowSelection/useGridRowSelection.js +1 -0
- package/hooks/features/rows/useGridRowSpanning.js +1 -0
- package/hooks/features/rows/useGridRows.js +1 -0
- package/hooks/features/virtualization/useGridVirtualScroller.js +1 -0
- package/hooks/features/virtualization/useGridVirtualization.js +1 -0
- package/hooks/utils/useGridEvent.js +1 -0
- package/hooks/utils/useGridPrivateApiContext.js +1 -0
- package/hooks/utils/useGridSelector.js +5 -0
- package/index.js +1 -1
- package/internals/demo/TailwindDemoContainer.js +1 -0
- package/internals/utils/cache.d.ts +9 -0
- package/internals/utils/cache.js +26 -0
- package/internals/utils/index.d.ts +2 -1
- package/internals/utils/index.js +11 -0
- package/locales/daDK.js +1 -1
- package/locales/idID.d.ts +4 -0
- package/locales/idID.js +267 -0
- package/locales/index.d.ts +2 -1
- package/locales/index.js +11 -0
- package/package.json +3 -3
- package/utils/css/context.js +1 -0
package/internals/utils/index.js
CHANGED
|
@@ -46,4 +46,15 @@ Object.keys(_attachPinnedStyle).forEach(function (key) {
|
|
|
46
46
|
return _attachPinnedStyle[key];
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
+
});
|
|
50
|
+
var _cache = require("./cache");
|
|
51
|
+
Object.keys(_cache).forEach(function (key) {
|
|
52
|
+
if (key === "default" || key === "__esModule") return;
|
|
53
|
+
if (key in exports && exports[key] === _cache[key]) return;
|
|
54
|
+
Object.defineProperty(exports, key, {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _cache[key];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
49
60
|
});
|
package/locales/daDK.js
CHANGED
|
@@ -47,7 +47,7 @@ const daDKGrid = {
|
|
|
47
47
|
// Columns management text
|
|
48
48
|
columnsManagementSearchTitle: 'Søg',
|
|
49
49
|
columnsManagementNoColumns: 'Ingen søjler',
|
|
50
|
-
columnsManagementShowHideAllText: 'Vis/Skjul
|
|
50
|
+
columnsManagementShowHideAllText: 'Vis/Skjul alle',
|
|
51
51
|
columnsManagementReset: 'Nulstil',
|
|
52
52
|
// columnsManagementDeleteIconLabel: 'Clear',
|
|
53
53
|
|
package/locales/idID.js
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.idIDGrid = exports.idID = void 0;
|
|
7
|
+
var _getGridLocalization = require("../utils/getGridLocalization");
|
|
8
|
+
const idIDGrid = exports.idIDGrid = {
|
|
9
|
+
// Root
|
|
10
|
+
noRowsLabel: 'Tidak ad abaris',
|
|
11
|
+
noResultsOverlayLabel: 'Tidak ada hasil yang ditemukan.',
|
|
12
|
+
noColumnsOverlayLabel: 'Tidak ada kolom',
|
|
13
|
+
noColumnsOverlayManageColumns: 'Kelola columns',
|
|
14
|
+
emptyPivotOverlayLabel: 'Tambahkan bidang ke baris, kolom, dan nilai untuk membuat tabel pivot',
|
|
15
|
+
// Density selector toolbar button text
|
|
16
|
+
toolbarDensity: 'Kepadatan',
|
|
17
|
+
toolbarDensityLabel: 'Kepadatan',
|
|
18
|
+
toolbarDensityCompact: 'Ringkas',
|
|
19
|
+
toolbarDensityStandard: 'Standar',
|
|
20
|
+
toolbarDensityComfortable: 'Nyaman',
|
|
21
|
+
// Columns selector toolbar button text
|
|
22
|
+
toolbarColumns: 'Kolom',
|
|
23
|
+
toolbarColumnsLabel: 'Pilih kolom',
|
|
24
|
+
// Filters toolbar button text
|
|
25
|
+
toolbarFilters: 'Filter',
|
|
26
|
+
toolbarFiltersLabel: 'Tampilkan filter',
|
|
27
|
+
toolbarFiltersTooltipHide: 'Sembunyikan filter',
|
|
28
|
+
toolbarFiltersTooltipShow: 'Tampilkan filter',
|
|
29
|
+
toolbarFiltersTooltipActive: count => `${count} filter aktif`,
|
|
30
|
+
// Quick filter toolbar field
|
|
31
|
+
toolbarQuickFilterPlaceholder: 'Cari…',
|
|
32
|
+
toolbarQuickFilterLabel: 'Cari',
|
|
33
|
+
toolbarQuickFilterDeleteIconLabel: 'Hapus',
|
|
34
|
+
// Export selector toolbar button text
|
|
35
|
+
toolbarExport: 'Ekspor',
|
|
36
|
+
toolbarExportLabel: 'Ekspor',
|
|
37
|
+
toolbarExportCSV: 'Unduh sebagai CSV',
|
|
38
|
+
toolbarExportPrint: 'Cetak',
|
|
39
|
+
toolbarExportExcel: 'Unduh sebagai Excel',
|
|
40
|
+
// Toolbar pivot button
|
|
41
|
+
toolbarPivot: 'Pivot',
|
|
42
|
+
// Toolbar AI Assistant button
|
|
43
|
+
toolbarAssistant: 'Asisten AI',
|
|
44
|
+
// Columns management text
|
|
45
|
+
columnsManagementSearchTitle: 'Cari',
|
|
46
|
+
columnsManagementNoColumns: 'Tidak ada kolom',
|
|
47
|
+
columnsManagementShowHideAllText: 'Tampilkan/Sembunyikan Semua',
|
|
48
|
+
columnsManagementReset: 'Atur ulang',
|
|
49
|
+
columnsManagementDeleteIconLabel: 'Hapus',
|
|
50
|
+
// Filter panel text
|
|
51
|
+
filterPanelAddFilter: 'Tambahkan filter',
|
|
52
|
+
filterPanelRemoveAll: 'Hapus semua',
|
|
53
|
+
filterPanelDeleteIconLabel: 'Hapus',
|
|
54
|
+
filterPanelLogicOperator: 'Operator logika',
|
|
55
|
+
filterPanelOperator: 'Operator',
|
|
56
|
+
filterPanelOperatorAnd: 'Dan',
|
|
57
|
+
filterPanelOperatorOr: 'Atau',
|
|
58
|
+
filterPanelColumns: 'Kolom',
|
|
59
|
+
filterPanelInputLabel: 'Nilai',
|
|
60
|
+
filterPanelInputPlaceholder: 'Nilai filter',
|
|
61
|
+
// Filter operators text
|
|
62
|
+
filterOperatorContains: 'berisi',
|
|
63
|
+
filterOperatorDoesNotContain: 'tidak berisi',
|
|
64
|
+
filterOperatorEquals: 'sama dengan',
|
|
65
|
+
filterOperatorDoesNotEqual: 'tidak sama dengan',
|
|
66
|
+
filterOperatorStartsWith: 'diawali dengan',
|
|
67
|
+
filterOperatorEndsWith: 'diakhiri dengan',
|
|
68
|
+
filterOperatorIs: 'adalah',
|
|
69
|
+
filterOperatorNot: 'bukan',
|
|
70
|
+
filterOperatorAfter: 'setelah',
|
|
71
|
+
filterOperatorOnOrAfter: 'pada atau setelah',
|
|
72
|
+
filterOperatorBefore: 'sebelum',
|
|
73
|
+
filterOperatorOnOrBefore: 'pada atau sebelum',
|
|
74
|
+
filterOperatorIsEmpty: 'kosong',
|
|
75
|
+
filterOperatorIsNotEmpty: 'tidak kosong',
|
|
76
|
+
filterOperatorIsAnyOf: 'salah satu dari',
|
|
77
|
+
'filterOperator=': '=',
|
|
78
|
+
'filterOperator!=': '!=',
|
|
79
|
+
'filterOperator>': '>',
|
|
80
|
+
'filterOperator>=': '>=',
|
|
81
|
+
'filterOperator<': '<',
|
|
82
|
+
'filterOperator<=': '<=',
|
|
83
|
+
// Header filter operators text
|
|
84
|
+
headerFilterOperatorContains: 'Mengandung',
|
|
85
|
+
headerFilterOperatorDoesNotContain: 'Tidak mengandung',
|
|
86
|
+
headerFilterOperatorEquals: 'Sama dengan',
|
|
87
|
+
headerFilterOperatorDoesNotEqual: 'Tidak sama dengan',
|
|
88
|
+
headerFilterOperatorStartsWith: 'Diawali dengan',
|
|
89
|
+
headerFilterOperatorEndsWith: 'Diakhiri dengan',
|
|
90
|
+
headerFilterOperatorIs: 'Adalah',
|
|
91
|
+
headerFilterOperatorNot: 'Bukan',
|
|
92
|
+
headerFilterOperatorAfter: 'Setelah',
|
|
93
|
+
headerFilterOperatorOnOrAfter: 'Pada atau setelah',
|
|
94
|
+
headerFilterOperatorBefore: 'Sebelum',
|
|
95
|
+
headerFilterOperatorOnOrBefore: 'Pada atau sebelum',
|
|
96
|
+
headerFilterOperatorIsEmpty: 'Kosong',
|
|
97
|
+
headerFilterOperatorIsNotEmpty: 'Tidak kosong',
|
|
98
|
+
headerFilterOperatorIsAnyOf: 'Salah satu dari',
|
|
99
|
+
'headerFilterOperator=': 'Sama dengan',
|
|
100
|
+
'headerFilterOperator!=': 'Tidak sama dengan',
|
|
101
|
+
'headerFilterOperator>': 'Lebih dari',
|
|
102
|
+
'headerFilterOperator>=': 'Lebih dari atau sama dengan',
|
|
103
|
+
'headerFilterOperator<': 'Kurang dari',
|
|
104
|
+
'headerFilterOperator<=': 'Kurang dari atau sama dengan',
|
|
105
|
+
headerFilterClear: 'Hapus filter',
|
|
106
|
+
// Filter values text
|
|
107
|
+
filterValueAny: 'apa saja',
|
|
108
|
+
filterValueTrue: 'benar',
|
|
109
|
+
filterValueFalse: 'salah',
|
|
110
|
+
// Column menu text
|
|
111
|
+
columnMenuLabel: 'Menu',
|
|
112
|
+
columnMenuAriaLabel: columnName => `Menu kolom ${columnName}`,
|
|
113
|
+
columnMenuShowColumns: 'Tampilkan kolom',
|
|
114
|
+
columnMenuManageColumns: 'Kelola kolom',
|
|
115
|
+
columnMenuFilter: 'Filter',
|
|
116
|
+
columnMenuHideColumn: 'Sembunyikan kolom',
|
|
117
|
+
columnMenuUnsort: 'Batalkan urutan',
|
|
118
|
+
columnMenuSortAsc: 'Urutkan menaik',
|
|
119
|
+
columnMenuSortDesc: 'Urutkan menurun',
|
|
120
|
+
columnMenuManagePivot: 'Kelola pivot',
|
|
121
|
+
// Column header text
|
|
122
|
+
columnHeaderFiltersTooltipActive: count => `${count} filter aktif`,
|
|
123
|
+
columnHeaderFiltersLabel: 'Tampilkan filter',
|
|
124
|
+
columnHeaderSortIconLabel: 'Urutkan',
|
|
125
|
+
// Rows selected footer text
|
|
126
|
+
footerRowSelected: count => `${count.toLocaleString()} baris dipilih`,
|
|
127
|
+
// Total row amount footer text
|
|
128
|
+
footerTotalRows: 'Total Baris:',
|
|
129
|
+
// Total visible row amount footer text
|
|
130
|
+
footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} dari ${totalCount.toLocaleString()}`,
|
|
131
|
+
// Checkbox selection text
|
|
132
|
+
checkboxSelectionHeaderName: 'Pilihan kotak centang',
|
|
133
|
+
checkboxSelectionSelectAllRows: 'Pilih semua baris',
|
|
134
|
+
checkboxSelectionUnselectAllRows: 'Batal pilih semua baris',
|
|
135
|
+
checkboxSelectionSelectRow: 'Pilih baris',
|
|
136
|
+
checkboxSelectionUnselectRow: 'Batal pilih baris',
|
|
137
|
+
// Boolean cell text
|
|
138
|
+
booleanCellTrueLabel: 'ya',
|
|
139
|
+
booleanCellFalseLabel: 'tidak',
|
|
140
|
+
// Actions cell more text
|
|
141
|
+
actionsCellMore: 'lainnya',
|
|
142
|
+
// Column pinning text
|
|
143
|
+
pinToLeft: 'Sematkan ke kiri',
|
|
144
|
+
pinToRight: 'Sematkan ke kanan',
|
|
145
|
+
unpin: 'Lepas sematan',
|
|
146
|
+
// Tree Data
|
|
147
|
+
treeDataGroupingHeaderName: 'Kelompok',
|
|
148
|
+
treeDataExpand: 'lihat turunan',
|
|
149
|
+
treeDataCollapse: 'sembunyikan turunan',
|
|
150
|
+
// Grouping columns
|
|
151
|
+
groupingColumnHeaderName: 'Kelompok',
|
|
152
|
+
groupColumn: name => `Kelompokkan berdasarkan ${name}`,
|
|
153
|
+
unGroupColumn: name => `Hentikan pengelompokan berdasarkan ${name}`,
|
|
154
|
+
// Master/detail
|
|
155
|
+
detailPanelToggle: 'Pengalih panel detail',
|
|
156
|
+
expandDetailPanel: 'Perluas',
|
|
157
|
+
collapseDetailPanel: 'Ciutkan',
|
|
158
|
+
// Pagination
|
|
159
|
+
paginationRowsPerPage: 'Baris per halaman:',
|
|
160
|
+
paginationDisplayedRows: ({
|
|
161
|
+
from,
|
|
162
|
+
to,
|
|
163
|
+
count,
|
|
164
|
+
estimated
|
|
165
|
+
}) => {
|
|
166
|
+
if (!estimated) {
|
|
167
|
+
return `${from}–${to} dari ${count !== -1 ? count : `lebih dari ${to}`}`;
|
|
168
|
+
}
|
|
169
|
+
const estimatedLabel = estimated && estimated > to ? `sekitar ${estimated}` : `lebih dari ${to}`;
|
|
170
|
+
return `${from}–${to} dari ${count !== -1 ? count : estimatedLabel}`;
|
|
171
|
+
},
|
|
172
|
+
paginationItemAriaLabel: type => {
|
|
173
|
+
if (type === 'first') {
|
|
174
|
+
return 'Pergi ke halaman pertama';
|
|
175
|
+
}
|
|
176
|
+
if (type === 'last') {
|
|
177
|
+
return 'Pergi ke halaman terakhir';
|
|
178
|
+
}
|
|
179
|
+
if (type === 'next') {
|
|
180
|
+
return 'Pergi ke halaman berikutnya';
|
|
181
|
+
}
|
|
182
|
+
// if (type === 'previous') {
|
|
183
|
+
return 'Pergi ke halaman sebelumnya';
|
|
184
|
+
},
|
|
185
|
+
// Row reordering text
|
|
186
|
+
rowReorderingHeaderName: 'Pengurutan ulang baris',
|
|
187
|
+
// Aggregation
|
|
188
|
+
aggregationMenuItemHeader: 'Agregasi',
|
|
189
|
+
aggregationFunctionLabelSum: 'jumlah',
|
|
190
|
+
aggregationFunctionLabelAvg: 'rata-rata',
|
|
191
|
+
aggregationFunctionLabelMin: 'min',
|
|
192
|
+
aggregationFunctionLabelMax: 'maks',
|
|
193
|
+
aggregationFunctionLabelSize: 'ukuran',
|
|
194
|
+
// Pivot panel
|
|
195
|
+
pivotToggleLabel: 'Pivot',
|
|
196
|
+
pivotRows: 'Baris',
|
|
197
|
+
pivotColumns: 'Kolom',
|
|
198
|
+
pivotValues: 'Nilai',
|
|
199
|
+
pivotCloseButton: 'Tutup pengaturan pivot',
|
|
200
|
+
pivotSearchButton: 'Cari bidang',
|
|
201
|
+
pivotSearchControlPlaceholder: 'Cari bidang',
|
|
202
|
+
pivotSearchControlLabel: 'Cari bidang',
|
|
203
|
+
pivotSearchControlClear: 'Hapus pencarian',
|
|
204
|
+
pivotNoFields: 'Tidak ada bidang',
|
|
205
|
+
pivotMenuMoveUp: 'Pindah ke atas',
|
|
206
|
+
pivotMenuMoveDown: 'Pindah ke bawah',
|
|
207
|
+
pivotMenuMoveToTop: 'Pindah ke paling atas',
|
|
208
|
+
pivotMenuMoveToBottom: 'Pindah ke paling bawah',
|
|
209
|
+
pivotMenuRows: 'Baris',
|
|
210
|
+
pivotMenuColumns: 'Kolom',
|
|
211
|
+
pivotMenuValues: 'Nilai',
|
|
212
|
+
pivotMenuOptions: 'Opsi bidang',
|
|
213
|
+
pivotMenuAddToRows: 'Tambahkan ke Baris',
|
|
214
|
+
pivotMenuAddToColumns: 'Tambahkan ke Kolom',
|
|
215
|
+
pivotMenuAddToValues: 'Tambahkan ke Nilai',
|
|
216
|
+
pivotMenuRemove: 'Hapus',
|
|
217
|
+
pivotDragToRows: 'Seret ke sini untuk membuat baris',
|
|
218
|
+
pivotDragToColumns: 'Seret ke sini untuk membuat kolom',
|
|
219
|
+
pivotDragToValues: 'Seret ke sini untuk membuat nilai',
|
|
220
|
+
pivotYearColumnHeaderName: '(Tahun)',
|
|
221
|
+
pivotQuarterColumnHeaderName: '(Kuartal)',
|
|
222
|
+
// AI Assistant panel
|
|
223
|
+
aiAssistantPanelTitle: 'Asisten AI',
|
|
224
|
+
aiAssistantPanelClose: 'Tutup Asisten AI',
|
|
225
|
+
aiAssistantPanelNewConversation: 'Percakapan baru',
|
|
226
|
+
aiAssistantPanelConversationHistory: 'Riwayat percakapan',
|
|
227
|
+
aiAssistantPanelEmptyConversation: 'Tidak ada riwayat percakapan',
|
|
228
|
+
aiAssistantSuggestions: 'Saran',
|
|
229
|
+
// Prompt field
|
|
230
|
+
promptFieldLabel: 'Perintah',
|
|
231
|
+
promptFieldPlaceholder: 'Ketik perintah…',
|
|
232
|
+
promptFieldPlaceholderWithRecording: 'Ketik atau rekam perintah…',
|
|
233
|
+
promptFieldPlaceholderListening: 'Mendengarkan perintah',
|
|
234
|
+
promptFieldSpeechRecognitionNotSupported: 'Pengenalan suara tidak didukung di browser ini',
|
|
235
|
+
promptFieldSend: 'Kirim',
|
|
236
|
+
promptFieldRecord: 'Rekam',
|
|
237
|
+
promptFieldStopRecording: 'Hentikan perekaman',
|
|
238
|
+
// Prompt
|
|
239
|
+
promptRerun: 'Jalankan lagi',
|
|
240
|
+
promptProcessing: 'Memproses…',
|
|
241
|
+
promptAppliedChanges: 'Perubahan diterapkan',
|
|
242
|
+
// Prompt changes
|
|
243
|
+
promptChangeGroupDescription: column => `Kelompokkan berdasarkan ${column}`,
|
|
244
|
+
promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
|
|
245
|
+
promptChangeAggregationDescription: (column, aggregation) => `Agregasikan ${column} (${aggregation})`,
|
|
246
|
+
promptChangeFilterLabel: (column, operator, value) => {
|
|
247
|
+
if (operator === 'is any of') {
|
|
248
|
+
return `${column} salah satu dari: ${value}`;
|
|
249
|
+
}
|
|
250
|
+
return `${column} ${operator} ${value}`;
|
|
251
|
+
},
|
|
252
|
+
promptChangeFilterDescription: (column, operator, value) => {
|
|
253
|
+
if (operator === 'is any of') {
|
|
254
|
+
return `Filter di mana ${column} salah satu dari: ${value}`;
|
|
255
|
+
}
|
|
256
|
+
return `Filter di mana ${column} ${operator} ${value}`;
|
|
257
|
+
},
|
|
258
|
+
promptChangeSortDescription: (column, direction) => `Urutkan berdasarkan ${column} (${direction})`,
|
|
259
|
+
promptChangePivotEnableLabel: 'Pivot',
|
|
260
|
+
promptChangePivotEnableDescription: 'Aktifkan pivot',
|
|
261
|
+
promptChangePivotColumnsLabel: count => `Kolom (${count})`,
|
|
262
|
+
promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ''}`,
|
|
263
|
+
promptChangePivotRowsLabel: count => `Baris (${count})`,
|
|
264
|
+
promptChangePivotValuesLabel: count => `Nilai (${count})`,
|
|
265
|
+
promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
|
|
266
|
+
};
|
|
267
|
+
const idID = exports.idID = (0, _getGridLocalization.getGridLocalization)(idIDGrid);
|
package/locales/index.d.ts
CHANGED
package/locales/index.js
CHANGED
|
@@ -420,4 +420,15 @@ Object.keys(_isIS).forEach(function (key) {
|
|
|
420
420
|
return _isIS[key];
|
|
421
421
|
}
|
|
422
422
|
});
|
|
423
|
+
});
|
|
424
|
+
var _idID = require("./idID");
|
|
425
|
+
Object.keys(_idID).forEach(function (key) {
|
|
426
|
+
if (key === "default" || key === "__esModule") return;
|
|
427
|
+
if (key in exports && exports[key] === _idID[key]) return;
|
|
428
|
+
Object.defineProperty(exports, key, {
|
|
429
|
+
enumerable: true,
|
|
430
|
+
get: function () {
|
|
431
|
+
return _idID[key];
|
|
432
|
+
}
|
|
433
|
+
});
|
|
423
434
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.8.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The Community plan edition of the MUI X Data Grid components.",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@babel/runtime": "^7.27.6",
|
|
43
|
-
"@mui/utils": "^7.
|
|
43
|
+
"@mui/utils": "^7.2.0",
|
|
44
44
|
"clsx": "^2.1.1",
|
|
45
45
|
"prop-types": "^15.8.1",
|
|
46
46
|
"use-sync-external-store": "^1.5.0",
|
|
47
|
-
"@mui/x-internals": "8.
|
|
47
|
+
"@mui/x-internals": "8.8.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@emotion/react": "^11.9.0",
|