complexqa_frontend_core 1.17.6 → 1.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "1.17.6",
3
+ "version": "1.17.8",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -20,7 +20,7 @@ function build_bug_listing_columns(locale, { include_select = true } = {})
20
20
 
21
21
  columns.push(createPrimaryKeyColumn(model, locale, { is_editable: false }));
22
22
  columns.push(createColumn(model, locale, 'bug_title', {
23
- width : '220',
23
+ width : '420',
24
24
  is_editable: true,
25
25
  is_required: true,
26
26
  }));
@@ -30,8 +30,8 @@ function build_bug_listing_columns(locale, { include_select = true } = {})
30
30
  columns.push(createColumn(model, locale, 'bug_type', { width: '150', is_editable: true, is_required: true }));
31
31
  columns.push(createColumn(model, locale, 'bug_resolution', { width: '150', is_editable: true, is_required: true, hide: true }));
32
32
  columns.push(createColumn(model, locale, 'assigned_to', { width: '220', is_editable: true, is_required: true }));
33
- columns.push(createColumn(model, locale, 'created_at', { width: '150', is_required: true }));
34
- columns.push(createColumn(model, locale, 'completed_at', { width: '150', is_required: true, hide: true }));
33
+ columns.push(createColumn(model, locale, 'created_at', { width: '170', is_required: true }));
34
+ columns.push(createColumn(model, locale, 'completed_at', { width: '170', is_required: true, hide: true }));
35
35
  columns.push(createGoToColumn(model, locale));
36
36
 
37
37
  return columns;
@@ -38,7 +38,10 @@ export class TableBaseConfig
38
38
  */
39
39
  static get_config(element_type, section, lang)
40
40
  {
41
- let response = this.config;
41
+ let response = {
42
+ ...this.config,
43
+ defaultColDef: { ...this.config.defaultColDef },
44
+ };
42
45
 
43
46
  response.getRowNodeId = this.#getRowNodeId(element_type);
44
47
 
@@ -108,41 +111,16 @@ export class TableBaseConfig
108
111
  wrapText : true,
109
112
  autoHeight: true,
110
113
  },
111
- sideBar : {
112
- toolPanels : [
113
- {
114
- id : 'columns',
115
- labelKey : 'columns',
116
- labelDefault : 'Columns',
117
- iconKey : 'menu',
118
- toolPanel : 'agColumnsToolPanel',
119
- toolPanelParams:
120
- {
121
- suppressValues: true,
122
- }
123
- },
124
- {
125
- id : 'filters',
126
- labelKey : 'filters',
127
- labelDefault: 'Filters',
128
- iconKey : 'menu',
129
- toolPanel : 'agFiltersToolPanel',
130
- }
131
- ],
132
- defaultToolPanel: '',
133
- hiddenByDefault : false
134
- },
114
+ // sideBar (Columns/Filters Tool Panel) — только ag-grid Enterprise.
115
+ // В Community: columnMenu + floating filters (см. defaultColDef.filter).
135
116
  suppressMenuHide : true,
136
- columnMenu : 'legacy',
117
+ columnMenu : 'new',
137
118
  columnHoverHighlight : false,
138
119
  enableBrowserTooltips : false,
139
120
  rowSelection : 'multiple',
140
121
  rowMultiSelectWithClick : false,
141
122
  suppressRowClickSelection: true,
142
- enableRangeSelection : true,
143
- wrapText : true,
144
- autoHeight : true,
145
- resizable : true,
123
+ //enableRangeSelection : true,
146
124
  /*headerHeight : '44',
147
125
  rowHeight : '44',*/
148
126
  groupIncludeFooter : false,