@zeedhi/teknisa-components-common 1.112.0 → 1.114.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.
@@ -1337,6 +1337,7 @@ Messages.add({
1337
1337
  TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Ano Atual',
1338
1338
  TEKGRID_WITH_GROUPS: '(Com grupos)',
1339
1339
  TEKGRID_GRID_MIRROR: '(Espelho do grid)',
1340
+ TEKGRID_NO_DATA: 'Não há dados para exportar',
1340
1341
  },
1341
1342
  },
1342
1343
  'en-US': {
@@ -1410,6 +1411,7 @@ Messages.add({
1410
1411
  TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Current Year',
1411
1412
  TEKGRID_WITH_GROUPS: '(With groups)',
1412
1413
  TEKGRID_GRID_MIRROR: '(Grid mirror)',
1414
+ TEKGRID_NO_DATA: 'There is no data to export',
1413
1415
  },
1414
1416
  },
1415
1417
  'es-CL': {
@@ -1483,6 +1485,7 @@ Messages.add({
1483
1485
  TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Año actual',
1484
1486
  TEKGRID_WITH_GROUPS: '(Con grupos)',
1485
1487
  TEKGRID_GRID_MIRROR: '(Espejo de grid)',
1488
+ TEKGRID_NO_DATA: 'No hay datos para exportar',
1486
1489
  },
1487
1490
  },
1488
1491
  });
@@ -4101,6 +4104,7 @@ class TekTreeGrid extends TreeGridEditable {
4101
4104
  this.showExport = this.getInitValue('showExport', props.showExport, this.showExport);
4102
4105
  this.showReload = this.getInitValue('showReload', props.showReload, this.showReload);
4103
4106
  this.exportConfig = this.getInitValue('exportConfig', props.exportConfig, this.exportConfig);
4107
+ this.modalFilterProps = this.getInitValue('modalFilterProps', props.modalFilterProps, this.modalFilterProps);
4104
4108
  this.showCheckboxAllFilter = this.getInitValue('showCheckboxAllFilter', props.showCheckboxAllFilter, this.showCheckboxAllFilter);
4105
4109
  this.defaultFilter = this.getInitValue('defaultFilter', props.defaultFilter, this.defaultFilter);
4106
4110
  this.toolbarConfig = this.getInitValue('toolbarConfig', props.toolbarConfig, this.toolbarConfig);
@@ -1341,6 +1341,7 @@
1341
1341
  TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Ano Atual',
1342
1342
  TEKGRID_WITH_GROUPS: '(Com grupos)',
1343
1343
  TEKGRID_GRID_MIRROR: '(Espelho do grid)',
1344
+ TEKGRID_NO_DATA: 'Não há dados para exportar',
1344
1345
  },
1345
1346
  },
1346
1347
  'en-US': {
@@ -1414,6 +1415,7 @@
1414
1415
  TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Current Year',
1415
1416
  TEKGRID_WITH_GROUPS: '(With groups)',
1416
1417
  TEKGRID_GRID_MIRROR: '(Grid mirror)',
1418
+ TEKGRID_NO_DATA: 'There is no data to export',
1417
1419
  },
1418
1420
  },
1419
1421
  'es-CL': {
@@ -1487,6 +1489,7 @@
1487
1489
  TEKGRID_HELPERVALUE_CURRENT_YEAR: 'Año actual',
1488
1490
  TEKGRID_WITH_GROUPS: '(Con grupos)',
1489
1491
  TEKGRID_GRID_MIRROR: '(Espejo de grid)',
1492
+ TEKGRID_NO_DATA: 'No hay datos para exportar',
1490
1493
  },
1491
1494
  },
1492
1495
  });
@@ -4105,6 +4108,7 @@
4105
4108
  this.showExport = this.getInitValue('showExport', props.showExport, this.showExport);
4106
4109
  this.showReload = this.getInitValue('showReload', props.showReload, this.showReload);
4107
4110
  this.exportConfig = this.getInitValue('exportConfig', props.exportConfig, this.exportConfig);
4111
+ this.modalFilterProps = this.getInitValue('modalFilterProps', props.modalFilterProps, this.modalFilterProps);
4108
4112
  this.showCheckboxAllFilter = this.getInitValue('showCheckboxAllFilter', props.showCheckboxAllFilter, this.showCheckboxAllFilter);
4109
4113
  this.defaultFilter = this.getInitValue('defaultFilter', props.defaultFilter, this.defaultFilter);
4110
4114
  this.toolbarConfig = this.getInitValue('toolbarConfig', props.toolbarConfig, this.toolbarConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/teknisa-components-common",
3
- "version": "1.112.0",
3
+ "version": "1.114.0",
4
4
  "description": "Teknisa Components Common",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -32,5 +32,5 @@
32
32
  "peerDependencies": {
33
33
  "@zeedhi/core": "^1.97.0"
34
34
  },
35
- "gitHead": "6bb547678e3e35d7bef320fdc80215bd96153b69"
35
+ "gitHead": "e17c5b68aa70bce1f5114e0094289b29343d9288"
36
36
  }
@@ -63,6 +63,18 @@ describe('TekTreeGrid', () => {
63
63
  ],
64
64
  columnsButton: true,
65
65
  columnsButtonIgnore: ['id'],
66
+ modalFilterProps: {
67
+ name: 'name',
68
+ height: 'auto',
69
+ persistent: true,
70
+ cssClass: '',
71
+ cssStyle: '',
72
+ dark: false,
73
+ draggable: false,
74
+ fullscreen: false,
75
+ dragHandle: '',
76
+ title: 'EXAMPLE',
77
+ },
66
78
  });
67
79
  expect(instance.title).toBe('title');
68
80
  expect(instance.addButton).toBeTruthy();
@@ -76,6 +88,18 @@ describe('TekTreeGrid', () => {
76
88
  expect(instance.columns[0]).toBeInstanceOf(TekGridColumn);
77
89
  expect(instance.columnsButton).toBeTruthy();
78
90
  expect(instance.columnsButtonIgnore).toEqual(['id']);
91
+ expect(instance.modalFilterProps).toEqual({
92
+ name: 'name',
93
+ height: 'auto',
94
+ persistent: true,
95
+ cssClass: '',
96
+ cssStyle: '',
97
+ dark: false,
98
+ draggable: false,
99
+ fullscreen: false,
100
+ dragHandle: '',
101
+ title: 'EXAMPLE',
102
+ });
79
103
  });
80
104
 
81
105
  it('should create toolbar and footer', () => {