@cdmx/wappler_ag_grid 1.9.6 → 1.9.8

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/README.md CHANGED
@@ -423,7 +423,14 @@ Specify the condition to Show the Button[i] Action button, eg: code==TEST, or st
423
423
 
424
424
  # Button Class Toggles
425
425
  The Button Class Toggles feature provides a way to define and manage classes for action buttons within a grid, based on certain data conditions. This can be useful for dynamically updating button styles based on the state of the row data.
426
- Specify the condition to apply the defined class on the Action button, eg: code==TEST, or status==COMPLETED||status==FINISHED or status==COMPLETED&&user_status==true
426
+ Specify the condition to apply the defined class on the Action button,
427
+ eg: code==TEST, or status==COMPLETED||status==FINISHED or status==COMPLETED&&user_status==true
428
+ You can also specify left-only conditions, where only the field name is provided. The field is then evaluated for its truthiness ie if value present/true(bool) eg: status
429
+
430
+ # Button Icon Class Toggles
431
+ The Icon Class Toggles feature works similarly to Button Class Toggles but is used to apply classes to icons in the action buttons based on conditions in the row data. This allows you to dynamically update the icons
432
+ eg: code==TEST, or status==COMPLETED||status==FINISHED or status==COMPLETED&&user_status==true
433
+ You can also specify left-only conditions, where only the field name is provided. The field is then evaluated for its truthiness ie if value present/true(bool) eg: status
427
434
 
428
435
  # Action Attributes
429
436
 
@@ -119,9 +119,10 @@
119
119
  {title: 'English', value: 'EN'},
120
120
  {title: 'Hebrew', value: 'HE'},
121
121
  {title: 'Russian', value: 'RU'},
122
- {title: 'Portuguese', value: 'PT'}
122
+ {title: 'Portuguese', value: 'PT'},
123
+ {title: 'Spanish', value: 'ES'}
123
124
  ],
124
- "help": "Select locale for the Grid, Currently Supproted Hebrew (HE), Russian (RU) and English (EN) locale"
125
+ "help": "Select locale for the Grid, Currently Supproted Hebrew (HE), Russian (RU), Spanish (ES) and English (EN) locale"
125
126
  }
126
127
  ]
127
128
  },
@@ -2929,7 +2930,7 @@
2929
2930
  "type": "boolean",
2930
2931
  "defaultValue": false,
2931
2932
  "display": "fieldset",
2932
- "show": ["actionBtnsClassToggles"],
2933
+ "show": ["actionBtnsClassToggles","actionBtnsIconClassToggles"],
2933
2934
  "noChangeOnHide": true,
2934
2935
  "groupEnabler": true,
2935
2936
  "children": [
@@ -2996,11 +2997,75 @@
2996
2997
  "class": "",
2997
2998
  "condition": ""
2998
2999
  }
3000
+ },
3001
+ {
3002
+ "name": "actionBtnsIconClassToggles",
3003
+ "attribute": "dmx-bind:action_button_icon_class_toggles",
3004
+ "title": "Buttons Icon Classes",
3005
+ "type": "grid",
3006
+ "jsonFormat": true,
3007
+ "dataBindings": true,
3008
+ "encloseBT": true,
3009
+ "jsonBT": true,
3010
+ "initDisplay": "none",
3011
+ "columns": [
3012
+ {
3013
+ "field": "btn_id",
3014
+ "caption": "Button",
3015
+ "editable": {
3016
+ "type": "list",
3017
+ "items": [
3018
+ {"id": "edit", "text": "Edit"},
3019
+ {"id": "view", "text": "View"},
3020
+ {"id": "delete", "text": "Delete"},
3021
+ {"id": "button1", "text": "Button 1"},
3022
+ {"id": "button2", "text": "Button 2"},
3023
+ {"id": "button3", "text": "Button 3"},
3024
+ {"id": "button4", "text": "Button 4"},
3025
+ {"id": "button5", "text": "Button 5"},
3026
+ {"id": "button6", "text": "Button 6"},
3027
+ {"id": "button7", "text": "Button 7"},
3028
+ {"id": "button8", "text": "Button 8"},
3029
+ {"id": "button9", "text": "Button 9"},
3030
+ {"id": "button10", "text": "Button 10"},
3031
+ {"id": "button11", "text": "Button 11"},
3032
+ {"id": "button12", "text": "Button 12"},
3033
+ {"id": "button13", "text": "Button 13"},
3034
+ {"id": "button14", "text": "Button 14"},
3035
+ {"id": "button15", "text": "Button 15"},
3036
+ {"id": "button16", "text": "Button 16"},
3037
+ {"id": "button17", "text": "Button 17"},
3038
+ {"id": "button18", "text": "Button 18"},
3039
+ {"id": "button19", "text": "Button 19"},
3040
+ {"id": "button20", "text": "Button 20"}
3041
+ ]
3042
+ }
3043
+ },
3044
+ {
3045
+ "field": "class",
3046
+ "caption": "Class",
3047
+ "editable": {
3048
+ "type": "text"
3049
+ }
3050
+ },
3051
+ {
3052
+ "field": "condition",
3053
+ "caption": "Condition",
3054
+ "editable": {
3055
+ "type": "text"
3056
+ }
3057
+ }
3058
+ ],
3059
+ "newRecord": {
3060
+ "btn_id": "",
3061
+ "class": "",
3062
+ "condition": ""
3063
+ }
2999
3064
  }
3000
3065
  ]
3001
3066
  }
3002
- ]
3003
- }
3067
+ ]
3068
+ }
3004
3069
 
3005
3070
  ],
3006
3071
  actionsScheme: [
@@ -3212,17 +3277,13 @@
3212
3277
  "dst": "js/dmx-ag-grid.js"
3213
3278
  },
3214
3279
  {
3215
- "src": "he.js",
3216
- "dst": "js/locale/he.js"
3280
+ "src": "../../../node_modules/@ag-grid-community/locale/dist/umd/@ag-grid-community/locale.min.js",
3281
+ "dst": "js/locale/locale.min.js"
3217
3282
  },
3218
3283
  {
3219
3284
  "src": "ru.js",
3220
3285
  "dst": "js/locale/ru.js"
3221
3286
  },
3222
- {
3223
- "src": "pt.js",
3224
- "dst": "js/locale/pt.js"
3225
- },
3226
3287
  {
3227
3288
  "src": "../../../node_modules/pdfmake/build/pdfmake.min.js",
3228
3289
  "dst": "js/pdfmake.min.js"
@@ -3244,7 +3305,7 @@
3244
3305
  "defer": true
3245
3306
  },
3246
3307
  {
3247
- "src": "js/exceljs.min.js",
3308
+ "src": "js/read-excel-file.min.js",
3248
3309
  "type": "js",
3249
3310
  "defer": true
3250
3311
  },
@@ -3254,7 +3315,7 @@
3254
3315
  "defer": true
3255
3316
  },
3256
3317
  {
3257
- "src": "js/locale/he.js",
3318
+ "src": "js/locale/locale.min.js",
3258
3319
  "type": "js",
3259
3320
  "defer": true
3260
3321
  },
@@ -3263,11 +3324,6 @@
3263
3324
  "type": "js",
3264
3325
  "defer": true
3265
3326
  },
3266
- {
3267
- "src": "js/locale/pt.js",
3268
- "type": "js",
3269
- "defer": true
3270
- },
3271
3327
  {
3272
3328
  "src": "js/pdfmake.min.js",
3273
3329
  "type": "js",
package/dmx-ag-grid.js CHANGED
@@ -62,7 +62,6 @@ dmx.Component('ag-grid', {
62
62
  suppress_agg_at_root_level: { type: Boolean, default: false },
63
63
  suppress_clipboard_paste: { type: Boolean, default: false },
64
64
  suppress_scroll_on_new_data: { type: Boolean, default: false },
65
- suppress_property_names_check: { type: Boolean, default: false },
66
65
  hide_id_field: { type: Boolean, default: false },
67
66
  numeric_column_align: { type: Boolean, default: false },
68
67
  enable_rtl: { type: Boolean, default: false },
@@ -128,6 +127,7 @@ dmx.Component('ag-grid', {
128
127
  delete_action_btn_condition: {type: String, default: null },
129
128
  enable_custom_action_btns: { type: Boolean, default: false },
130
129
  action_button_class_toggles: { type: Array, default: [] },
130
+ action_button_icon_class_toggles: { type: Array, default: [] },
131
131
  button1_action_btn: { type: "Boolean", default: false },
132
132
  button1_action_title: { type: "String", default: "" },
133
133
  button1_action_tooltip: { type: "String", default: "" },
@@ -474,6 +474,7 @@ dmx.Component('ag-grid', {
474
474
  const enableCellClickEvent = this.props.row_click_event && (this.props.enable_actions || this.props.row_checkbox_event);
475
475
  const enableCellDoubleClickEvent = this.props.row_double_click_event && (this.props.enable_actions || this.props.row_checkbox_event);
476
476
  const actionButtonClassToggles = options.action_button_class_toggles
477
+ const actionButtonIconClassToggles = options.action_button_icon_class_toggles
477
478
  let localeText;
478
479
  let columnDefs = [];
479
480
  let groupedColumnDefs = [];
@@ -621,10 +622,19 @@ dmx.Component('ag-grid', {
621
622
  button.innerHTML = `<i class="${buttonConfig.icon}"></i> ${buttonConfig.action}`;
622
623
  container.appendChild(button);
623
624
  // Handle dynamic classes based on conditions and buttonConfig.id
625
+
624
626
  actionButtonClassToggles.forEach((toggle) => {
625
- if (toggle.btn_id === buttonConfig.id && evaluateConditions([toggle.condition], params)) {
627
+ if (toggle.btn_id.toLowerCase() === buttonConfig.id && evaluateConditions([toggle.condition], params)) {
626
628
  button.classList.add(...toggle.class.split(' '));
627
629
  }
630
+ });
631
+ actionButtonIconClassToggles.forEach((iconToggle) => {
632
+ if (iconToggle.btn_id.toLowerCase() === buttonConfig.id && evaluateConditions([iconToggle.condition], params)) {
633
+ const iconElement = button.querySelector('i');
634
+ if (iconElement) {
635
+ iconElement.classList.add(...iconToggle.class.split(' '));
636
+ }
637
+ }
628
638
  });
629
639
  // Check if the button should be hidden based on the condition string and row data
630
640
  if (buttonConfig.condition) {
@@ -714,22 +724,29 @@ dmx.Component('ag-grid', {
714
724
  if (part === '||' || part === '&&') {
715
725
  operators.push(part);
716
726
  } else {
717
- const [left, operator, right] = extractConditionParts(part);
718
- const result = params.data[left] !== null ? evaluateCondition(params.data[left], operator, right) : false;
719
- results.push(result);
727
+ const hasOperator = /(==|!=|<=|>=|<|>)/.test(part);
728
+ if (!hasOperator) {
729
+ const left = part;
730
+ const result = params.data[left] !== null && params.data[left] !== undefined && params.data[left] !== "";
731
+ results.push(result);
732
+ } else {
733
+ const [left, operator, right] = extractConditionParts(part);
734
+ const result = params.data[left] !== null ? evaluateCondition(params.data[left], operator, right) : false;
735
+ results.push(result);
736
+ }
720
737
  }
721
738
  }
722
739
  let finalResult = results[0];
723
-
740
+
724
741
  for (let i = 0; i < operators.length; i++) {
725
- if (operators[i] === '||') {
726
- finalResult = finalResult || results[i + 1];
727
- } else if (operators[i] === '&&') {
728
- finalResult = finalResult && results[i + 1];
729
- }
730
- }
742
+ if (operators[i] === '||') {
743
+ finalResult = finalResult || results[i + 1];
744
+ } else if (operators[i] === '&&') {
745
+ finalResult = finalResult && results[i + 1];
746
+ }
747
+ }
731
748
  return finalResult;
732
- }
749
+ }
733
750
 
734
751
  function evaluateCondition(left, operator, right) {
735
752
  switch (operator) {
@@ -1527,7 +1544,7 @@ dmx.Component('ag-grid', {
1527
1544
  options.actions_column_position=='right' ? columnDefs.push(actionsColumn):columnDefs.unshift(actionsColumn);
1528
1545
  }
1529
1546
  if (options.locale_text == 'HE') {
1530
- localeText = AG_GRID_LOCALE_HE
1547
+ localeText = AG_GRID_LOCALE_IL
1531
1548
  }
1532
1549
  else if (options.locale_text == 'RU') {
1533
1550
  localeText = AG_GRID_LOCALE_RU
@@ -1535,6 +1552,9 @@ dmx.Component('ag-grid', {
1535
1552
  else if (options.locale_text == 'PT') {
1536
1553
  localeText = AG_GRID_LOCALE_PT
1537
1554
  }
1555
+ else if (options.locale_text == 'ES') {
1556
+ localeText = AG_GRID_LOCALE_ES
1557
+ }
1538
1558
  const gridOptions = {
1539
1559
  ...(idFieldPresent ? { getRowId: params => String(params.data.id) } : {}),
1540
1560
  columnDefs: (groupedColumnDefs && groupedColumnDefs.length > 0) ? groupedColumnDefs : columnDefs,
@@ -1582,7 +1602,6 @@ dmx.Component('ag-grid', {
1582
1602
  suppressAggFuncInHeader: this.props.suppress_agg_func_in_header,
1583
1603
  suppressClipboardPaste: this.props.suppress_clipboard_paste,
1584
1604
  suppressScrollOnNewData: this.props.suppress_scroll_on_new_data,
1585
- suppressPropertyNamesCheck: this.props.suppress_property_names_check,
1586
1605
  columnHoverHighlight: this.props.column_hover_highlight,
1587
1606
  onFilterModified: function (params) {
1588
1607
  const columnApi = params.api;
@@ -1826,11 +1845,10 @@ dmx.Component('ag-grid', {
1826
1845
  console.error('Grid container not found.');
1827
1846
  return;
1828
1847
  }
1829
- const agHeader = gridElement.querySelector('.ag-header');
1830
- const agRootWrapper = gridElement.querySelector('.ag-root-wrapper');
1831
-
1832
1848
  // Function to adjust the header width
1833
1849
  function adjustHeaderWidth() {
1850
+ const agHeader = gridElement.querySelector('.ag-header');
1851
+ const agRootWrapper = gridElement.querySelector('.ag-root-wrapper');
1834
1852
  if (agHeader && agRootWrapper) {
1835
1853
  const rootWrapperWidth = agRootWrapper.clientWidth;
1836
1854
  const newHeaderWidth = rootWrapperWidth * 1.0;
@@ -2314,7 +2332,12 @@ dmx.Component('ag-grid', {
2314
2332
  },
2315
2333
 
2316
2334
  requestUpdate: function (props, oldValue) {
2317
- this.set('count', this.props.data.length);
2335
+ // Check if data exists before trying to access its length
2336
+ if (this.props.data) {
2337
+ this.set('count', this.props.data.length);
2338
+ } else {
2339
+ this.set('count', 0);
2340
+ }
2318
2341
  if (!dmx.equal(this.props.data, oldValue?.data) && !this.props.noload) {
2319
2342
  let gridInstance = this.refreshGrid();
2320
2343
  this.set('gridInstance', gridInstance);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.9.6",
3
+ "version": "1.9.8",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",
@@ -14,6 +14,7 @@
14
14
  "ag-grid"
15
15
  ],
16
16
  "dependencies": {
17
+ "@ag-grid-community/locale": "~32.3.3",
17
18
  "ag-grid-community": "~32.3.3",
18
19
  "papaparse": "~5.4.1",
19
20
  "pdfmake": "~0.2.16",
package/he.js DELETED
@@ -1,355 +0,0 @@
1
- const AG_GRID_LOCALE_HE = {
2
- // Set Filter
3
- selectAll: '(בחר הכל)',
4
- selectAllSearchResults: '(בחר את כל תוצאות החיפוש)',
5
- searchOoo: 'חיפוש...',
6
- blanks: '(ריק)',
7
- noMatches: 'אין התאמות',
8
-
9
- // Number Filter & Text Filter
10
- filterOoo: 'סינון...',
11
- equals: 'שווה',
12
- notEqual: 'לא שווה',
13
- blank: 'ריק',
14
- notBlank: 'לא ריק',
15
- empty: 'בחר',
16
-
17
- // Number Filter
18
- lessThan: 'פחות מ',
19
- greaterThan: 'גדול מ',
20
- lessThanOrEqual: 'פחות או שווה ל',
21
- greaterThanOrEqual: 'גדול או שווה ל',
22
- inRange: 'בטווח',
23
- inRangeStart: 'מ',
24
- inRangeEnd: 'עד',
25
-
26
- // Text Filter
27
- contains: 'מכיל',
28
- notContains: 'לא מכיל',
29
- startsWith: 'מתחיל עם',
30
- endsWith: 'מסתיים עם',
31
-
32
- // Date Filter
33
- dateFormatOoo: 'yyyy-mm-dd',
34
-
35
- // Filter Conditions
36
- andCondition: 'וגם',
37
- orCondition: 'או',
38
-
39
- // Filter Buttons
40
- applyFilter: 'החל',
41
- resetFilter: 'אפס',
42
- clearFilter: 'נקה',
43
- cancelFilter: 'ביטול',
44
-
45
- // Filter Titles
46
- textFilter: 'סינון טקסט',
47
- numberFilter: 'סינון מספרים',
48
- dateFilter: 'סינון תאריכים',
49
- setFilter: 'הגדר סינון',
50
-
51
- // Group Column Filter
52
- groupFilterSelect: 'בחר שדה:',
53
-
54
- // Side Bar
55
- columns: 'עמודות',
56
- filters: 'מסננים',
57
-
58
- // columns tool panel
59
- pivotMode: 'מצב צירופים',
60
- groups: 'קבוצות שורות',
61
- rowGroupColumnsEmptyMessage: 'גרור לכאן כדי להגדיר קבוצות שורות',
62
- values: 'ערכים',
63
- valueColumnsEmptyMessage: 'גרור לכאן כדי לסכם',
64
- pivots: 'תגיות עמודות',
65
- pivotColumnsEmptyMessage: 'גרור לכאן כדי להגדיר תגיות עמודות',
66
-
67
- // Header of the Default Group Column
68
- group: 'קבוצה',
69
-
70
- // Row Drag
71
- rowDragRow: 'שורה',
72
- rowDragRows:'שורות',
73
-
74
- // Other
75
- loadingOoo: 'טוען...',
76
- loadingError: 'שגיאה',
77
- noRowsToShow: 'אין שורות להצגה',
78
- enabled: 'מאופשר',
79
-
80
- // Menu
81
- pinColumn: 'נעיצת עמודה',
82
- pinLeft: 'נעיצה לשמאל',
83
- pinRight: 'נעיצה לימין',
84
- noPin: 'לא לנעיצה',
85
- valueAggregation: 'סיכום ערכים',
86
- noAggregation: 'אין',
87
- autosizeThiscolumn: 'התאם רוחב עמודה זו',
88
- autosizeAllColumns: 'התאם רוחב לכל העמודות',
89
- groupBy: 'קיבוץ לפי',
90
- ungroupBy: 'הפסק קיבוץ לפי',
91
- addToValues: 'הוסף ${variable} לערכים',
92
- removeFromValues: 'הסר ${variable} מהערכים',
93
- addToLabels: 'הוסף ${variable} לתוויות',
94
- removeFromLabels: 'הסר ${variable} מהתוויות',
95
- resetColumns: 'איפוס עמודות',
96
- expandAll: 'הרחבת כל קבוצות השורות',
97
- collapseAll: 'כיווץ כל קבוצות השורות',
98
- copy: 'העתק',
99
- ctrlC: 'Ctrl+C',
100
- ctrlX: 'Ctrl+X',
101
- copyWithHeaders: 'העתק עם כותרות',
102
- copyWithGroupHeaders: 'העתק עם כותרות קבוצה',
103
- cut: 'גזור',
104
- paste: 'הדבק',
105
- ctrlV: 'Ctrl+V',
106
- export: 'יצוא',
107
- csvExport: 'יצוא ל-CSV',
108
- excelExport: 'יצוא ל-Excel',
109
-
110
- // Enterprise Menu Aggregation and Status Bar
111
- sum: 'סכום',
112
- first: 'ראשון',
113
- last: 'אחרון',
114
- min: 'מינימום',
115
- max: 'מקסימום',
116
- none: 'ללא',
117
- count: 'ספירה',
118
- avg: 'ממוצע',
119
- filteredRows: 'סוננו',
120
- selectedRows: 'נבחרו',
121
- totalRows: 'סך הכל שורות',
122
- totalAndFilteredRows: 'שורות',
123
- more: 'עוד',
124
- to: 'עד',
125
- of: 'מתוך',
126
- page: 'עמוד',
127
- pageLastRowUnknown: '?',
128
- nextPage: 'עמוד הבא',
129
- lastPage: 'עמוד אחרון',
130
- firstPage: 'עמוד ראשון',
131
- previousPage: 'עמוד קודם',
132
- pageSizeSelectorLabel: 'גודל עמוד:',
133
- // Pivoting
134
- pivotColumnGroupTotals: 'סכומים',
135
-
136
- // Enterprise Menu (Charts)
137
- pivotChartAndPivotMode: 'תרשים צירופים ומצב צירופים',
138
- pivotChart: 'תרשים צירופים',
139
- chartRange: 'טווח תרשים',
140
-
141
- columnChart: 'עמודות',
142
- groupedColumn: 'קיבוץ',
143
- stackedColumn: 'מוערכות',
144
- normalizedColumn: 'מוערכות 100%',
145
-
146
- barChart: 'טורים',
147
- groupedBar: 'קיבוץ',
148
- stackedBar: 'מוערכות',
149
- normalizedBar: 'מוערכות 100%',
150
-
151
- pieChart: 'עוגה',
152
- pie: 'עוגה',
153
- doughnut: 'תופסת',
154
-
155
- line: 'קו',
156
-
157
- xyChart: 'XY (פיזור)',
158
- scatter: 'פיזור',
159
- bubble: 'בועה',
160
-
161
- areaChart: 'אזור',
162
- area: 'אזור',
163
- stackedArea: 'מוערכות',
164
- normalizedArea: 'מוערכות 100%',
165
-
166
- histogramChart: 'היסטוגרמה',
167
- histogramFrequency: 'תדירות',
168
-
169
- combinationChart: 'שילוב',
170
- columnLineCombo: 'עמודות וקו',
171
- AreaColumnCombo: 'אזור ועמודות',
172
-
173
- // Charts
174
- pivotChartTitle: 'תרשים צירופים',
175
- rangeChartTitle: 'תרשים טווח',
176
- settings: 'הגדרות',
177
- data: 'נתונים',
178
- format: 'תבנית',
179
- categories: 'קטגוריות',
180
- defaultCategory: '(ללא)',
181
- series: 'סדרות',
182
- xyValues: 'ערכי XY',
183
- paired: 'מצב זוגי',
184
- axis: 'ציר',
185
- navigator: 'נווט',
186
- color: 'צבע',
187
- thickness: 'עובי',
188
- xType: 'סוג X',
189
- automatic: 'אוטומטי',
190
- category: 'קטגוריה',
191
- number: 'מספר',
192
- time: 'זמן',
193
- autoRotate: 'סיבוב אוטומטי',
194
- xRotation: 'סיבוב X',
195
- yRotation: 'סיבוב Y',
196
- ticks: 'סימניות',
197
- width: 'רוחב',
198
- height: 'גובה',
199
- length: 'אורך',
200
- padding: 'ריפוד',
201
- spacing: 'ריווח',
202
- chart: 'תרשים',
203
- title: 'כותרת',
204
- titlePlaceholder: 'כותרת התרשים - לחץ פעמיים לעריכה',
205
- background: 'רקע',
206
- font: 'גופן',
207
- top: 'עליון',
208
- right: 'ימין',
209
- bottom: 'תחתון',
210
- left: 'שמאל',
211
- labels: 'תוויות',
212
- size: 'גודל',
213
- minSize: 'גודל מינימלי',
214
- maxSize: 'גודל מקסימלי',
215
- legend: 'מקרא',
216
- position: 'מיקום',
217
- markerSize: 'גודל מרקר',
218
- markerStroke: 'מסגרת מרקר',
219
- markerPadding: 'ריפוד מרקר',
220
- itemSpacing: 'ריווח פריט',
221
- itemPaddingX: 'ריפוד פריט X',
222
- itemPaddingY: 'ריפוד פריט Y',
223
- layoutHorizontalSpacing: 'ריווח אופקי',
224
- layoutVerticalSpacing: 'ריווח אנכי',
225
- strokeWidth: 'רוחב קו',
226
- lineDash: 'קו מקווקו',
227
- offset: 'היסט',
228
- offsets: 'היסטים',
229
- tooltips: 'תיבות מידע',
230
- callout: 'תיבת התראה',
231
- markers: 'מרקרים',
232
- shadow: 'צל',
233
- blur: 'טשטוש',
234
- xOffset: 'היסט X',
235
- yOffset: 'היסט Y',
236
- lineWidth: 'עובי קו',
237
- normal: 'רגיל',
238
- bold: 'מודגש',
239
- italic: 'נטוי',
240
- boldItalic: 'מודגש נטוי',
241
- predefined: 'מוגדר מראש',
242
- fillOpacity: 'אטימות מילוי',
243
- strokeOpacity: 'אטימות קו',
244
- histogramBinCount: 'ספירת תאים',
245
- columnGroup: 'עמודה',
246
- barGroup: 'טור',
247
- pieGroup: 'עוגה',
248
- lineGroup: 'קו',
249
- scatterGroup: 'XY (פיזור)',
250
- areaGroup: 'אזור',
251
- histogramGroup: 'היסטוגרמה',
252
- combinationGroup: 'שילוב',
253
- groupedColumnTooltip: 'קיבוץ',
254
- stackedColumnTooltip: 'מוערכות',
255
- normalizedColumnTooltip: 'מוערכות 100%',
256
- groupedBarTooltip: 'קיבוץ',
257
- stackedBarTooltip: 'מוערכות',
258
- normalizedBarTooltip: 'מוערכות 100%',
259
- pieTooltip: 'עוגה',
260
- doughnutTooltip: 'תופסת',
261
- lineTooltip: 'קו',
262
- groupedAreaTooltip: 'אזור',
263
- stackedAreaTooltip: 'מוערכות',
264
- normalizedAreaTooltip: 'מוערכות 100%',
265
- scatterTooltip: 'פיזור',
266
- bubbleTooltip: 'בועה',
267
- histogramTooltip: 'היסטוגרמה',
268
- columnLineComboTooltip: 'עמודות וקו',
269
- areaColumnComboTooltip: 'אזור ועמודות',
270
- customComboTooltip: 'שילוב מותאם אישית',
271
- noDataToChart: 'אין נתונים זמינים לתרשים.',
272
- pivotChartRequiresPivotMode: 'תרשים צירופים דורש מצב צירופים מופעל.',
273
- chartSettingsToolbarTooltip: 'תפריט',
274
- chartLinkToolbarTooltip: 'קישור לגריד',
275
- chartUnlinkToolbarTooltip: 'ביטול קישור מהגריד',
276
- chartDownloadToolbarTooltip: 'הורדת התרשים',
277
- seriesChartType: 'סוג תרשים סדרות',
278
- seriesType: 'סוג סדרות',
279
- secondaryAxis: 'ציר משני',
280
-
281
- // ARIA
282
- ariaChecked: 'מסומן',
283
- ariaColumn: 'עמודה',
284
- ariaColumnGroup: 'קבוצת עמודות',
285
- ariaColumnList: 'רשימת עמודות',
286
- ariaColumnSelectAll: 'בחר את כל העמודות',
287
- ariaDateFilterInput: 'תיבת קלט סינון תאריכים',
288
- ariaDefaultListName: 'רשימה',
289
- ariaFilterColumnsInput: 'תיבת קלט סינון עמודות',
290
- ariaFilterFromValue: 'ערך מסנן מ',
291
- ariaFilterInput: 'תיבת קלט סינון',
292
- ariaFilterList: 'רשימת סינון',
293
- ariaFilterToValue: 'ערך מסנן אל',
294
- ariaFilterValue: 'ערך מסנן',
295
- ariaFilterMenuOpen: 'פתח תפריט סינון',
296
- ariaFilteringOperator: 'מפעיל סינון',
297
- ariaHidden: 'מוסתר',
298
- ariaIndeterminate:'לא מוגדר',
299
- ariaInputEditor: 'עורך קלט',
300
- ariaMenuColumn: 'לחץ על CTRL ENTER כדי לפתוח תפריט עמודה.',
301
- ariaRowDeselect: 'לחץ על SPACE כדי לבטל בחירה בשורה זו',
302
- ariaRowSelectAll: 'לחץ על SPACE כדי לשנות את בחירת כל השורות',
303
- ariaRowToggleSelection: 'לחץ על SPACE כדי לשנות את בחירת השורה',
304
- ariaRowSelect: 'לחץ על SPACE כדי לבחור את השורה',
305
- ariaSearch: 'חיפוש',
306
- ariaSortableColumn: 'לחץ על ENTER כדי למיין',
307
- ariaToggleVisibility: 'לחץ על SPACE כדי לשנות את הראות',
308
- ariaToggleCellValue: 'לחץ על SPACE כדי לשנות את ערך התא',
309
- ariaUnchecked: 'לא מסומן',
310
- ariaVisible: 'מוצג',
311
- ariaSearchFilterValues: 'חיפוש בערכי הסינון',
312
-
313
- // ARIA Labels for Drop Zones
314
- ariaRowGroupDropZonePanelLabel: 'קבוצות שורות',
315
- ariaValuesDropZonePanelLabel: 'ערכים',
316
- ariaPivotDropZonePanelLabel: 'תגיות עמודות',
317
- ariaDropZoneColumnComponentDescription: 'לחץ DELETE כדי להסיר',
318
- ariaDropZoneColumnValueItemDescription: 'לחץ ENTER כדי לשנות את סוג האגרגציה',
319
- ariaDropZoneColumnGroupItemDescription: 'לחץ ENTER כדי למיין',
320
- ariaDropZoneColumnComponentAggFuncSeparator: ' של ',
321
- ariaDropZoneColumnComponentSortAscending: 'מיון עולה',
322
- ariaDropZoneColumnComponentSortDescending: 'מיון יורד',
323
-
324
- // ARIA Labels for Dialogs
325
- ariaLabelColumnMenu: 'תפריט עמודות',
326
- ariaLabelCellEditor: 'עורך תא',
327
- ariaLabelDialog: 'דיאלוג',
328
- ariaLabelSelectField: 'בחירת שדה',
329
- ariaLabelTooltip: 'הסבר קצר',
330
- ariaLabelContextMenu: 'תפריט הקשר',
331
- ariaLabelSubMenu: 'תת תפריט',
332
- ariaLabelAggregationFunction: 'פונקציית אגרגציה',
333
-
334
- // Number Format (Status Bar, Pagination Panel)
335
- thousandSeparator: ',',
336
- decimalSeparator: '.',
337
-
338
- // Data types
339
- true: 'נכון',
340
- false: 'לא נכון',
341
- invalidDate: 'תאריך לא תקין',
342
- invalidNumber: 'מספר לא תקין',
343
- january: 'ינואר',
344
- february: 'פברואר',
345
- march: 'מרץ',
346
- april: 'אפריל',
347
- may: 'מאי',
348
- june: 'יוני',
349
- july: 'יולי',
350
- august: 'אוגוסט',
351
- september: 'ספטמבר',
352
- october: 'אוקטובר',
353
- november: 'נובמבר',
354
- december: 'דצמבר',
355
- };
package/pt.js DELETED
@@ -1,268 +0,0 @@
1
- const AG_GRID_LOCALE_PT = {
2
- // Seleção do filtro
3
- selectAll: '(Destacar tudo)',
4
- selectAllSearchResults: '(Destacar todos os resultados da pesquisa)',
5
- searchOoo: 'Pesquisar...',
6
- blanks: '(Espaços em branco)',
7
- noMatches: 'Nenhuma correspondência',
8
-
9
- // Filtro numérico e filtro de texto
10
- filterOoo: 'Filtragem...',
11
- equals: 'Igual',
12
- notEqual: 'Diferente',
13
- empty: 'Vazio',
14
-
15
- // Filtro numérico
16
- lessThan: 'Menos de',
17
- greaterThan: 'Mais de',
18
- lessThanOrEqual: 'Menor ou igual a',
19
- greaterThanOrEqual: 'Maior ou igual a',
20
- inRange: 'Entre',
21
- inRangeStart: 'De',
22
- inRangeEnd: 'Até',
23
-
24
- // Filtro de texto
25
- contains: 'Contém',
26
- notContains: 'Não contém',
27
- startsWith: 'Começa com',
28
- endsWith: 'Termina em',
29
-
30
- // Filtro de data
31
- dateFormatOoo: 'dd-mm-yyyy',
32
-
33
- // Condições de filtragem
34
- andCondition: 'E',
35
- orCondition: 'OU',
36
-
37
- // Botões de filtro
38
- applyFilter: 'Aplicar filtro',
39
- resetFilter: 'Reiniciar filtro',
40
- clearFilter: 'Limpar filtro',
41
- cancelFilter: 'Cancelar',
42
-
43
- // Cabeçalhos de filtro
44
- textFilter: 'Filtro de texto',
45
- numberFilter: 'Filtro numérico',
46
- dateFilter: 'Filtrar por data',
47
- setFilter: 'Selecionar filtro',
48
-
49
- // Painel lateral
50
- columns: 'Colunas',
51
- filters: 'Filtros',
52
-
53
- // Barra de ferramentas da coluna
54
- pivotMode: 'Modo de quadro resumo',
55
- groups: 'Grupos de linhas',
56
- rowGroupColumnsEmptyMessage: 'Arrastar e largar aqui para agrupar por linhas',
57
- values: 'Valores',
58
- valueColumnsEmptyMessage: 'Arrastar e largar aqui para agregação',
59
- pivots: 'Títulos de coluna',
60
- pivotColumnsEmptyMessage: 'Arrastar e largar aqui para definir os títulos das colunas',
61
-
62
- // Cabeçalho de grupo de colunas por defeito
63
- group: 'Grupo',
64
-
65
- // Outros
66
- loadingOoo: 'A carregar...',
67
- noRowsToShow: 'Sem dados',
68
- enabled: 'Incluído',
69
-
70
- // Menu
71
- pinColumn: 'Fixar a coluna',
72
- pinLeft: 'Fixar à esquerda',
73
- pinRight: 'Fixar à direita',
74
- noPin: 'Não fixar',
75
- valueAggregation: 'Agregação por valor',
76
- autosizeThiscolumn: 'Define automaticamente o tamanho desta coluna',
77
- autosizeAllColumns: 'Dimensionar automaticamente todas as colunas',
78
- groupBy: 'Agrupar por',
79
- ungroupBy: 'Desagrupar por',
80
- resetColumns: 'Repor colunas',
81
- expandAll: 'Expandir tudo',
82
- collapseAll: 'Recolher tudo',
83
- copy: 'Copiar',
84
- ctrlC: 'Ctrl+C',
85
- copyWithHeaders: 'Copiar com cabeçalhos',
86
- paste: 'Colar',
87
- ctrlV: 'Ctrl+V',
88
- export: 'Exportar',
89
- csvExport: 'Exportar para CSV (.csv)',
90
- excelExport: 'Exportar para Excel (.xlsx)',
91
- excelXmlExport: 'Exportar para XML (.xml)',
92
-
93
- // Agregação do menu corporativo e da barra de estado
94
- sum: 'Soma',
95
- min: 'Mínimo',
96
- max: 'Máximo',
97
- none: 'Nenhum',
98
- count: 'Contar',
99
- avg: 'Média',
100
- filteredRows: 'Linhas filtradas',
101
- selectedRows: 'Linhas selecionadas',
102
- totalRows: 'Total de linhas',
103
- totalAndFilteredRows: 'Linhas totais e filtradas',
104
- more: 'Mais',
105
- to: 'até',
106
- of: 'de',
107
- page: 'Página',
108
- nextPage: 'Página seguinte',
109
- lastPage: 'Última página',
110
- firstPage: 'Primeira página',
111
- previousPage: 'Página anterior',
112
- pageSizeSelectorLabel: 'Tamanho da página:',
113
- // Menu empresarial (gráficos)
114
- pivotChartAndPivotMode: 'Gráfico de resumo e modo de resumo',
115
- pivotChart: 'Pivot chart',
116
- chartRange: 'Chart range',
117
-
118
- columnChart: 'Column chart',
119
- groupedColumn: 'Grouped column',
120
- stackedColumn: 'Stacked column',
121
- normalizedColumn: 'Normalized column',
122
-
123
- barChart: 'Bar chart',
124
- groupedBar: 'Grouped bar',
125
- stackedBar: 'Stacked bar',
126
- normalizedBar: 'Normalized bar',
127
-
128
- pieChart: 'Pie chart',
129
- pie: 'Pie',
130
- doughnut: 'Donuts',
131
-
132
- line: 'Line',
133
-
134
- xyChart: 'XY chart',
135
- scatter: 'Scatter',
136
- bubble: 'Bubble',
137
-
138
- areaChart: 'Area chart',
139
- area: 'Area',
140
- stackedArea: 'Stacked area',
141
- normalizedArea: 'Normalized area',
142
-
143
- histogramChart: 'Histogram chart',
144
-
145
- // Gráficos
146
- pivotChartTitle: 'Título do gráfico',
147
- rangeChartTitle: 'Título do gráfico',
148
- settings: 'Definições',
149
- data: 'Dados',
150
- format: 'formato',
151
- categories: 'Categorias',
152
- defaultCategory: '(Categoria predefinida)',
153
- series: 'Series',
154
- xyValues: 'X Y Valores',
155
- paired: 'Emparelhado',
156
- axis: 'axis',
157
- navigator: 'Navegação',
158
- color: 'Cor',
159
- thickness: 'Espessura',
160
- xType: 'X Tipo',
161
- automatic: 'Automaticamente',
162
- category: 'Categoria',
163
- number: 'Número',
164
- time: 'Tempo',
165
- xRotation: 'Rotação X',
166
- yRotation: 'Rotação Y',
167
- ticks: 'Marcas',
168
- width: 'Largura',
169
- height: 'Altura',
170
- length: 'Comprimento',
171
- padding: 'Preenchimento',
172
- spacing: 'Espaçamento',
173
- chart: 'Gráfico',
174
- title: 'Título',
175
- titlePlaceholder: 'Título do gráfico - clique duas vezes para editar',
176
- background: 'Fundo',
177
- font: 'Fonte',
178
- top: 'Topo',
179
- right: 'Direita',
180
- bottom: 'Fundo',
181
- left: 'Esquerda',
182
- labels: 'Etiquetas',
183
- size: 'Tamanho',
184
- minSize: 'Tamanho mínimo',
185
- maxSize: 'Tamanho máximo',
186
- legend: 'Legenda',
187
- position: 'Posição',
188
- markerSize: 'Tamanho do marcador',
189
- markerStroke: 'Traço do marcador',
190
- markerPadding: 'Preenchimento do marcador',
191
- itemSpacing: 'Distância entre itens',
192
- itemPaddingX: 'Preenchimento de item X',
193
- itemPaddingY: 'Preenchimento de item Y',
194
- layoutHorizontalSpacing: 'Espaçamento horizontal',
195
- layoutVerticalSpacing: 'Espaçamento vertical',
196
- strokeWidth: 'Largura do marcador',
197
- offset: 'Offset',
198
- offsets: 'Offsets',
199
- tooltips: 'Dicas',
200
- callout: 'Desafio',
201
- markers: 'Marcadores',
202
- shadow: 'Sombra',
203
- blur: 'Desfocagem',
204
- xOffset: 'Offset по X',
205
- yOffset: 'Offset по Y',
206
- lineWidth: 'Largura da linha',
207
- normal: 'Normal',
208
- bold: 'Negrito',
209
- italic: 'Itálico',
210
- boldItalic: 'Negrito itálico',
211
- predefined: 'Pré-definido',
212
- fillOpacity: 'Opacidade do preenchimento',
213
- strokeOpacity: 'Opacidade do marcador',
214
- histogramBinCount: 'Número de segmentos',
215
- columnGroup: 'Column group',
216
- barGroup: 'Bar group',
217
- pieGroup: 'Pie group',
218
- lineGroup: 'Line group',
219
- scatterGroup: 'Scatter group',
220
- areaGroup: 'Area group',
221
- histogramGroup: 'Histogram group',
222
- groupedColumnTooltip: 'Grouped column tooltip',
223
- stackedColumnTooltip: 'Stacked column tooltip',
224
- normalizedColumnTooltip: 'Normalized column Tooltip',
225
- groupedBarTooltip: 'GroupedBar tooltip',
226
- stackedBarTooltip: 'StackedBar tooltip',
227
- normalizedBarTooltip: 'NormalizedBar tooltip',
228
- pieTooltip: 'Pie tooltip',
229
- doughnutTooltip: 'doughnut tooltip',
230
- lineTooltip: 'Line tooltip',
231
- groupedAreaTooltip: 'Grouped area tooltip',
232
- stackedAreaTooltip: 'Stacked area tooltip',
233
- normalizedAreaTooltip: 'Normalized area tooltip',
234
- scatterTooltip: 'Scatter tooltip',
235
- bubbleTooltip: 'Bubble tooltip',
236
- histogramTooltip: 'Histogram tooltip',
237
- noDataToChart: 'Não há dados para apresentar no gráfico.',
238
- pivotChartRequiresPivotMode: 'Para um gráfico de resumo, é necessário ativar o modo de gráfico de resumo.',
239
- chartSettingsToolbarTooltip: 'Chart settings toolbar tooltip',
240
- chartLinkToolbarTooltip: 'Chart link toolbar tooltip',
241
- chartUnlinkToolbarTooltip: 'Chart unlink toolbar tooltip',
242
- chartDownloadToolbarTooltip: 'Chart download toolbar tooltip',
243
-
244
- // ARIA
245
- ariaHidden: 'Oculto',
246
- ariaVisible: 'Visível',
247
- ariaChecked: 'Verificado',
248
- ariaUnchecked: 'Não verificado',
249
- ariaIndeterminate: 'Indeterminado',
250
- ariaColumnSelectAll: 'Mudar para a seleção de todas as colunas',
251
- ariaInputEditor: 'Editor de entradas',
252
- ariaDateFilterInput: 'Introduzir um filtro de data',
253
- ariaFilterInput: 'Entrada do filtro',
254
- ariaFilterColumnsInput: 'Introduzir um filtro de coluna',
255
- ariaFilterValue: 'Valor do filtro',
256
- ariaFilterFromValue: 'Filtrar a partir do valor',
257
- ariaFilterToValue: 'Filtrar para um valor',
258
- ariaFilteringOperator: 'Operador de filtro',
259
- ariaColumnToggleVisibility: 'Alternar a visibilidade da coluna',
260
- ariaColumnGroupToggleVisibility: 'Alternar a visibilidade de um grupo de colunas',
261
- ariaRowSelect: 'Prima a tecla ESPAÇO para realçar esta linha',
262
- ariaRowDeselect: 'Prima ESPAÇO para anular a seleção desta linha',
263
- ariaRowToggleSelection: 'Prima ESPAÇO para alternar a seleção de linha',
264
- ariaRowSelectAll: 'Prima ESPAÇO para alternar a seleção de todas as linhas',
265
- ariaSearch: 'Pesquisar',
266
- ariaSearchFilterValues: 'Pesquisa de valores por filtro',
267
- }
268
-