complexqa_frontend_core 1.17.5 → 1.17.6

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.5",
3
+ "version": "1.17.6",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,16 +12,16 @@ import { typeUser } from '../../types/family_elements/typeUser.js';
12
12
  import { typeTeam } from '../../types/family_elements/typeTeam.js';
13
13
 
14
14
  const ROW_NODE_MODELS = {
15
- test_case : typeTestCase,
16
- project : typeProject,
17
- test_run : typeTestRun,
18
- bug : typeBug,
19
- test_run_result : typeTestRunResult,
20
- test_account : typeTestAccount,
21
- team_member : typeTeamMember,
22
- test_case_step : typeTestCaseStep,
23
- user : typeUser,
24
- team : typeTeam,
15
+ test_case : typeTestCase,
16
+ project : typeProject,
17
+ test_run : typeTestRun,
18
+ bug : typeBug,
19
+ test_run_result: typeTestRunResult,
20
+ test_account : typeTestAccount,
21
+ team_member : typeTeamMember,
22
+ test_case_step : typeTestCaseStep,
23
+ user : typeUser,
24
+ team : typeTeam,
25
25
  };
26
26
 
27
27
  /**
@@ -80,13 +80,13 @@ export class TableBaseConfig
80
80
  {
81
81
  return function (data)
82
82
  {
83
- let id = 0;
83
+ let id = 0;
84
84
  const ModelClass = ROW_NODE_MODELS[ element_type ];
85
85
 
86
86
  if (ModelClass)
87
87
  {
88
88
  const model = new ModelClass();
89
- const key = model.get_primary_key();
89
+ const key = model.get_primary_key();
90
90
 
91
91
  if (data?.[ key ])
92
92
  {
@@ -100,21 +100,51 @@ export class TableBaseConfig
100
100
 
101
101
 
102
102
  static config = {
103
- defaultColDef: {
104
- filter : true,
105
- sortable : true,
106
- resizable: true,
107
- editable : false,
103
+ defaultColDef : {
104
+ filter : true,
105
+ sortable : true,
106
+ resizable : true,
107
+ editable : false,
108
+ wrapText : true,
109
+ autoHeight: true,
110
+ },
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
108
134
  },
109
135
  suppressMenuHide : true,
136
+ columnMenu : 'legacy',
110
137
  columnHoverHighlight : false,
111
138
  enableBrowserTooltips : false,
112
139
  rowSelection : 'multiple',
113
140
  rowMultiSelectWithClick : false,
114
141
  suppressRowClickSelection: true,
115
142
  enableRangeSelection : true,
116
- headerHeight: '44',
117
- rowHeight : '44',
143
+ wrapText : true,
144
+ autoHeight : true,
145
+ resizable : true,
146
+ /*headerHeight : '44',
147
+ rowHeight : '44',*/
118
148
  groupIncludeFooter : false,
119
149
  groupIncludeTotalFooter: false,
120
150
  overlayLoadingTemplate : '<span class="ag-overlay-loading-center">wait</span>',