@things-factory/operato-tools 7.0.1-alpha.3 → 7.0.1-alpha.4

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.
@@ -1,335 +1,339 @@
1
- import { html } from 'lit-element'
1
+ import { html } from 'lit'
2
2
 
3
3
  import { TermsUtil } from '@things-factory/meta-ui/client/utils/terms-util'
4
4
  import { MetaApi } from '@things-factory/meta-ui/client/utils/meta-api'
5
5
 
6
+ export const GraphQlConfigTabMixin = baseElement =>
7
+ class extends baseElement {
8
+ setGraphqlConfigTabValues(data) {
9
+ // 1. 조회 데이터 설정
10
+ if (data) {
11
+ var graphQl = {
12
+ query: data.query || {},
13
+ multiple: data.mutation?.multiple || {},
14
+ delete: data.mutation?.delete || {}
15
+ }
6
16
 
7
- export const GraphQlConfigTabMixin = (baseElement) => class extends baseElement {
8
-
9
- setGraphqlConfigTabValues(data) {
10
- // 1. 조회 데이터 설정
11
- if (data) {
12
- var graphQl = {
13
- query: data.query || {},
14
- multiple: data.mutation?.multiple || {},
15
- delete: data.mutation?.delete || {}
16
- }
17
-
18
- this.viewGraphqlData = {
19
- query_list: graphQl.query.list_func || '',
20
- query_find: graphQl.query.find_one_func || '',
21
- query_parent_id: graphQl.query.parent_id || '',
22
- after_set_fields_data: graphQl.query.after_set_fields || [],
23
- mutation_multiple: graphQl.multiple.func || '',
24
- mutation_multiple_type: graphQl.multiple.type || '',
25
- mutation_multiple_parent_id: graphQl.multiple.parent_id || '',
26
- skip_fields_data: graphQl.multiple.skip_fields || [],
27
- mutation_delete: graphQl.delete.func || ''
28
- }
17
+ this.viewGraphqlData = {
18
+ query_list: graphQl.query.list_func || '',
19
+ query_find: graphQl.query.find_one_func || '',
20
+ query_parent_id: graphQl.query.parent_id || '',
21
+ after_set_fields_data: graphQl.query.after_set_fields || [],
22
+ mutation_multiple: graphQl.multiple.func || '',
23
+ mutation_multiple_type: graphQl.multiple.type || '',
24
+ mutation_multiple_parent_id: graphQl.multiple.parent_id || '',
25
+ skip_fields_data: graphQl.multiple.skip_fields || [],
26
+ mutation_delete: graphQl.delete.func || ''
27
+ }
29
28
 
30
- let idx = 1;
31
- this.viewGraphqlData.after_set_fields_data
32
- = Object.keys(this.viewGraphqlData.after_set_fields_data).map(key => {
29
+ let idx = 1
30
+ this.viewGraphqlData.after_set_fields_data = Object.keys(this.viewGraphqlData.after_set_fields_data).map(key => {
33
31
  return {
34
32
  id: idx++,
35
33
  set_field: key,
36
34
  get_field: this.viewGraphqlData.after_set_fields_data[key]
37
- };
35
+ }
38
36
  })
39
37
 
40
- this.viewGraphqlData.skip_fields_data
41
- = this.viewGraphqlData.skip_fields_data.map(x => {
38
+ this.viewGraphqlData.skip_fields_data = this.viewGraphqlData.skip_fields_data.map(x => {
42
39
  return {
43
40
  id: idx++,
44
41
  except_field: x
45
- };
42
+ }
46
43
  })
47
44
 
48
-
49
- this.graphqlTabAfterSetFieldGrist?.fetch();
50
- this.graphqlTabSkipFieldGrist?.fetch();
51
- } else {
52
- this.setGraphqlConfigTabDefaultValues();
45
+ this.graphqlTabAfterSetFieldGrist?.fetch()
46
+ this.graphqlTabSkipFieldGrist?.fetch()
47
+ } else {
48
+ this.setGraphqlConfigTabDefaultValues()
49
+ }
53
50
  }
54
51
 
55
- }
56
-
57
- getGraphqlConfigTabValues() {
58
- let valueSet = {};
59
-
60
- // 설정 데이터
61
- let query_list = this.getElementValueById('query_list');
62
- let query_find = this.getElementValueById('query_find');
63
- let mutation_multiple = this.getElementValueById('mutation_multiple');
64
- let mutation_multiple_type = this.getElementValueById('mutation_multiple_type');
65
- let mutation_delete = this.getElementValueById('mutation_delete');
66
- let query_parent_id = this.getElementValueById('query_parent_id');
67
- let mutation_multiple_parent_id = this.getElementValueById('mutation_multiple_parent_id');
68
- let after_set_fields_data = this.getElementValueById('after-set-fields-grist');
69
- let skip_fields_data = this.getElementValueById('skip-fields-grist');
70
-
71
- if (query_list) valueSet.query_list = query_list;
72
- if (query_find) valueSet.query_find = query_find;
73
- if (query_parent_id) valueSet.query_parent_id = query_parent_id;
74
- if (after_set_fields_data) valueSet.query_after_set_fields_data = after_set_fields_data;
75
-
76
- if (mutation_multiple) valueSet.mutation_multiple = mutation_multiple;
77
- if (mutation_multiple_type) valueSet.mutation_multiple_type = mutation_multiple_type;
78
- if (mutation_multiple_parent_id) valueSet.mutation_multiple_parent_id = mutation_multiple_parent_id;
79
- if (skip_fields_data) valueSet.mutation_multiple_skip_fields_data = skip_fields_data;
80
-
81
- if (mutation_delete) valueSet.mutation_delete = mutation_delete;
82
-
83
-
84
- // 리턴 오브젝트로 가공
85
- let retObject = {
86
- gql: {}
87
- };
88
- let valueKeys = Object.keys(valueSet);
52
+ getGraphqlConfigTabValues() {
53
+ let valueSet = {}
54
+
55
+ // 설정 데이터
56
+ let query_list = this.getElementValueById('query_list')
57
+ let query_find = this.getElementValueById('query_find')
58
+ let mutation_multiple = this.getElementValueById('mutation_multiple')
59
+ let mutation_multiple_type = this.getElementValueById('mutation_multiple_type')
60
+ let mutation_delete = this.getElementValueById('mutation_delete')
61
+ let query_parent_id = this.getElementValueById('query_parent_id')
62
+ let mutation_multiple_parent_id = this.getElementValueById('mutation_multiple_parent_id')
63
+ let after_set_fields_data = this.getElementValueById('after-set-fields-grist')
64
+ let skip_fields_data = this.getElementValueById('skip-fields-grist')
65
+
66
+ if (query_list) valueSet.query_list = query_list
67
+ if (query_find) valueSet.query_find = query_find
68
+ if (query_parent_id) valueSet.query_parent_id = query_parent_id
69
+ if (after_set_fields_data) valueSet.query_after_set_fields_data = after_set_fields_data
70
+
71
+ if (mutation_multiple) valueSet.mutation_multiple = mutation_multiple
72
+ if (mutation_multiple_type) valueSet.mutation_multiple_type = mutation_multiple_type
73
+ if (mutation_multiple_parent_id) valueSet.mutation_multiple_parent_id = mutation_multiple_parent_id
74
+ if (skip_fields_data) valueSet.mutation_multiple_skip_fields_data = skip_fields_data
75
+
76
+ if (mutation_delete) valueSet.mutation_delete = mutation_delete
77
+
78
+ // 리턴 오브젝트로 가공
79
+ let retObject = {
80
+ gql: {}
81
+ }
82
+ let valueKeys = Object.keys(valueSet)
89
83
 
90
- // query 가 포함 되어 있으면
91
- if (valueKeys.filter(x => x.startsWith('query'))) {
92
- retObject.gql.query = {};
84
+ // query 가 포함 되어 있으면
85
+ if (valueKeys.filter(x => x.startsWith('query'))) {
86
+ retObject.gql.query = {}
93
87
 
94
- if (valueSet.query_list) retObject.gql.query.list_func = valueSet.query_list;
95
- if (valueSet.query_find) retObject.gql.query.find_one_func = valueSet.query_find;
96
- if (valueSet.query_parent_id) retObject.gql.query.parent_id = valueSet.query_parent_id;
97
- if (valueSet.query_after_set_fields_data) {
98
- retObject.gql.query.after_set_fields = {};
88
+ if (valueSet.query_list) retObject.gql.query.list_func = valueSet.query_list
89
+ if (valueSet.query_find) retObject.gql.query.find_one_func = valueSet.query_find
90
+ if (valueSet.query_parent_id) retObject.gql.query.parent_id = valueSet.query_parent_id
91
+ if (valueSet.query_after_set_fields_data) {
92
+ retObject.gql.query.after_set_fields = {}
99
93
 
100
- valueSet.query_after_set_fields_data.forEach(x => {
101
- retObject.gql.query.after_set_fields[x.set_field] = x.get_field;
102
- });
94
+ valueSet.query_after_set_fields_data.forEach(x => {
95
+ retObject.gql.query.after_set_fields[x.set_field] = x.get_field
96
+ })
97
+ }
103
98
  }
104
- }
105
99
 
106
- // mutation 이 포함되어 있으면
107
- if (valueKeys.filter(x => x.startsWith('mutation'))) {
108
- retObject.gql.mutation = {};
100
+ // mutation 이 포함되어 있으면
101
+ if (valueKeys.filter(x => x.startsWith('mutation'))) {
102
+ retObject.gql.mutation = {}
103
+
104
+ // multiple 이 포함 되어 있으면
105
+ if (valueKeys.filter(x => x.startsWith('mutation_multiple'))) {
106
+ retObject.gql.mutation.multiple = {}
107
+
108
+ if (valueSet.mutation_multiple) retObject.gql.mutation.multiple.func = valueSet.mutation_multiple
109
+ if (valueSet.mutation_multiple_type) retObject.gql.mutation.multiple.type = valueSet.mutation_multiple_type
110
+ if (valueSet.mutation_multiple_parent_id) retObject.gql.mutation.multiple.parent_id = valueSet.mutation_multiple_parent_id
111
+ if (valueSet.mutation_multiple_skip_fields_data)
112
+ retObject.gql.mutation.multiple.skip_fields = valueSet.mutation_multiple_skip_fields_data.map(x => {
113
+ return x.except_field
114
+ })
115
+ }
109
116
 
110
- // multiple 포함 되어 있으면
111
- if (valueKeys.filter(x => x.startsWith('mutation_multiple'))) {
112
- retObject.gql.mutation.multiple = {};
117
+ // delete 포함되어 있으면
118
+ if (valueKeys.filter(x => x.startsWith('mutation_delete'))) {
119
+ retObject.gql.mutation.delete = {}
113
120
 
114
- if (valueSet.mutation_multiple) retObject.gql.mutation.multiple.func = valueSet.mutation_multiple;
115
- if (valueSet.mutation_multiple_type) retObject.gql.mutation.multiple.type = valueSet.mutation_multiple_type;
116
- if (valueSet.mutation_multiple_parent_id) retObject.gql.mutation.multiple.parent_id = valueSet.mutation_multiple_parent_id;
117
- if (valueSet.mutation_multiple_skip_fields_data) retObject.gql.mutation.multiple.skip_fields = valueSet.mutation_multiple_skip_fields_data.map(x => {
118
- return x.except_field;
119
- });
121
+ if (valueSet.mutation_delete) retObject.gql.mutation.delete.func = valueSet.mutation_delete
122
+ }
120
123
  }
121
124
 
122
- // delete 가 포함되어 있으면
123
- if (valueKeys.filter(x => x.startsWith('mutation_delete'))) {
124
- retObject.gql.mutation.delete = {};
125
-
126
- if (valueSet.mutation_delete) retObject.gql.mutation.delete.func = valueSet.mutation_delete;
127
- }
125
+ return retObject
128
126
  }
129
127
 
130
- return retObject;
131
- }
132
-
133
- get graphqlTabAfterSetFieldGrist() {
134
- return this.shadowRoot.querySelector('#after-set-fields-grist')
135
- }
136
- get graphqlTabSkipFieldGrist() {
137
- return this.shadowRoot.querySelector('#skip-fields-grist')
138
- }
139
-
140
-
141
- setGraphqlConfigTabConfig() {
128
+ get graphqlTabAfterSetFieldGrist() {
129
+ return this.shadowRoot.querySelector('#after-set-fields-grist')
130
+ }
131
+ get graphqlTabSkipFieldGrist() {
132
+ return this.shadowRoot.querySelector('#skip-fields-grist')
133
+ }
142
134
 
143
- // 1. 조회후 필드 변경 그리드 설정
144
- this.afterSetFieldsConfig = {
145
- rows: MetaApi.getGristSelectableConfig(false),
146
- pagination: { infinite: true },
147
- appendable: true,
148
- columns: [
149
- ...MetaApi.getGristGuttersConfig(false, false),
150
- {
151
- type: 'gutter', gutterName: 'button', icon: 'delete',
152
- handlers: {
153
- click: (_columns, _data, _column, record, _rowIndex) => {
154
- if (record.id) {
155
- this.deleteRow(this.graphqlTabAfterSetFieldGrist, record);
135
+ setGraphqlConfigTabConfig() {
136
+ // 1. 조회후 필드 변경 그리드 설정
137
+ this.afterSetFieldsConfig = {
138
+ rows: MetaApi.getGristSelectableConfig(false),
139
+ pagination: { infinite: true },
140
+ appendable: true,
141
+ columns: [
142
+ ...MetaApi.getGristGuttersConfig(false, false),
143
+ {
144
+ type: 'gutter',
145
+ gutterName: 'button',
146
+ icon: 'delete',
147
+ handlers: {
148
+ click: (_columns, _data, _column, record, _rowIndex) => {
149
+ if (record.id) {
150
+ this.deleteRow(this.graphqlTabAfterSetFieldGrist, record)
151
+ }
156
152
  }
157
153
  }
158
154
  },
159
- },
160
- {
161
- type: 'string',
162
- name: 'id',
163
- hidden: true
164
- },
165
- {
166
- type: 'string',
167
- name: 'set_field',
168
- header: TermsUtil.tLabel('set_field_name'),
169
- record: {
170
- align: 'left',
171
- editable: true,
172
- mandatory: true
155
+ {
156
+ type: 'string',
157
+ name: 'id',
158
+ hidden: true
173
159
  },
174
- width: 150
175
- },
176
- {
177
- type: 'string',
178
- name: 'get_field',
179
- header: TermsUtil.tLabel('get_field_name'),
180
- record: {
181
- align: 'left',
182
- editable: true,
183
- mandatory: true
160
+ {
161
+ type: 'string',
162
+ name: 'set_field',
163
+ header: TermsUtil.tLabel('set_field_name'),
164
+ record: {
165
+ align: 'left',
166
+ editable: true,
167
+ mandatory: true
168
+ },
169
+ width: 150
184
170
  },
185
- width: 150
186
- }
187
- ]
188
- };
171
+ {
172
+ type: 'string',
173
+ name: 'get_field',
174
+ header: TermsUtil.tLabel('get_field_name'),
175
+ record: {
176
+ align: 'left',
177
+ editable: true,
178
+ mandatory: true
179
+ },
180
+ width: 150
181
+ }
182
+ ]
183
+ }
189
184
 
190
- // 1. mutation 시 제외 필드 설정
191
- this.skipFieldsConfig = {
192
- rows: MetaApi.getGristSelectableConfig(false),
193
- pagination: { infinite: true },
194
- appendable: true,
195
- columns: [
196
- ...MetaApi.getGristGuttersConfig(false, false),
197
- {
198
- type: 'gutter', gutterName: 'button', icon: 'delete',
199
- handlers: {
200
- click: (_columns, _data, _column, record, _rowIndex) => {
201
- if (record.id) {
202
- this.deleteRow(this.graphqlTabSkipFieldGrist, record);
185
+ // 1. mutation 시 제외 필드 설정
186
+ this.skipFieldsConfig = {
187
+ rows: MetaApi.getGristSelectableConfig(false),
188
+ pagination: { infinite: true },
189
+ appendable: true,
190
+ columns: [
191
+ ...MetaApi.getGristGuttersConfig(false, false),
192
+ {
193
+ type: 'gutter',
194
+ gutterName: 'button',
195
+ icon: 'delete',
196
+ handlers: {
197
+ click: (_columns, _data, _column, record, _rowIndex) => {
198
+ if (record.id) {
199
+ this.deleteRow(this.graphqlTabSkipFieldGrist, record)
200
+ }
203
201
  }
204
202
  }
205
203
  },
206
- },
207
- {
208
- type: 'string',
209
- name: 'id',
210
- hidden: true
211
- },
212
- {
213
- type: 'string',
214
- name: 'except_field',
215
- header: TermsUtil.tLabel('field_name'),
216
- record: {
217
- align: 'left',
218
- editable: true,
219
- mandatory: true
204
+ {
205
+ type: 'string',
206
+ name: 'id',
207
+ hidden: true
220
208
  },
221
- width: 250
222
- }
223
- ]
224
- };
225
- }
226
-
227
-
228
- setGraphqlConfigTabDefaultValues() {
229
- if (!this.viewGraphqlData) {
230
- this.viewGraphqlData = {
231
- query_list: '',
232
- query_find: '',
233
- mutation_multiple: '',
234
- mutation_multiple_type: '',
235
- mutation_delete: '',
236
- query_parent_id: '',
237
- mutation_multiple_parent_id: '',
238
- after_set_fields_data: [],
239
- skip_fields_data: []
209
+ {
210
+ type: 'string',
211
+ name: 'except_field',
212
+ header: TermsUtil.tLabel('field_name'),
213
+ record: {
214
+ align: 'left',
215
+ editable: true,
216
+ mandatory: true
217
+ },
218
+ width: 250
219
+ }
220
+ ]
240
221
  }
241
222
  }
242
- }
243
223
 
224
+ setGraphqlConfigTabDefaultValues() {
225
+ if (!this.viewGraphqlData) {
226
+ this.viewGraphqlData = {
227
+ query_list: '',
228
+ query_find: '',
229
+ mutation_multiple: '',
230
+ mutation_multiple_type: '',
231
+ mutation_delete: '',
232
+ query_parent_id: '',
233
+ mutation_multiple_parent_id: '',
234
+ after_set_fields_data: [],
235
+ skip_fields_data: []
236
+ }
237
+ }
238
+ }
244
239
 
245
- // 화면
246
- renderGraphqlConfigTab() {
247
- this.setGraphqlConfigTabDefaultValues();
240
+ // 화면
241
+ renderGraphqlConfigTab() {
242
+ this.setGraphqlConfigTabDefaultValues()
248
243
 
249
- let renderHtml = html`
250
- <div field-2column>
251
- <div field>
252
- <label>${TermsUtil.tLabel('query_list_function')}
253
- <input id="query_list" name="query_list" type="text" value=${this.viewGraphqlData.query_list} />
254
- </label>
255
- </div>
256
- <div field>
257
- <label>${TermsUtil.tLabel('query_find_function')}
258
- <input id="query_find" name="query_find" type="text" value=${this.viewGraphqlData.query_find} />
259
- </label>
260
- </div>
261
- <div field>
262
- <label>${TermsUtil.tLabel('multiple_update_function')}
263
- <input id="mutation_multiple" name="mutation_multiple" type="text"
264
- value=${this.viewGraphqlData.mutation_multiple} />
265
- </label>
266
- </div>
267
- <div field>
268
- <label>${TermsUtil.tLabel('multiple_update_type')}
269
- <input id="mutation_multiple_type" name="mutation_multiple_type" type="text"
270
- value=${this.viewGraphqlData.mutation_multiple_type} />
271
- </label>
272
- </div>
273
- <div field>
274
- <label>${TermsUtil.tLabel('delete_function')}
275
- <input id="mutation_delete" name="mutation_delete" type="text" value=${this.viewGraphqlData.mutation_delete} />
276
- </label>
277
- </div>
278
- <div field>
279
- </div>
280
- <div field>
281
- <h2>
282
- <mwc-icon>list_alt</mwc-icon>${TermsUtil.tLabel('query_option')}
283
- </h2>
284
- <div subfield>
285
- <label>${TermsUtil.tLabel('parent_id')}
286
- <input id="query_parent_id" name="query_parent_id" type="text" value=${this.viewGraphqlData.query_parent_id} />
244
+ let renderHtml = html`
245
+ <div field-2column>
246
+ <div field>
247
+ <label
248
+ >${TermsUtil.tLabel('query_list_function')}
249
+ <input id="query_list" name="query_list" type="text" value=${this.viewGraphqlData.query_list} />
287
250
  </label>
288
-
289
- <label>${TermsUtil.tLabel('after_set_fields')}
290
- <div style="display:flex;height:200px">
291
- <ox-grist id="after-set-fields-grist" .config=${this.afterSetFieldsConfig} .mode=${'GRID'} auto-fetch
292
- .fetchHandler=${this.fetchAfterSetFields.bind(this)}></ox-grist>
293
- </div>
251
+ </div>
252
+ <div field>
253
+ <label
254
+ >${TermsUtil.tLabel('query_find_function')}
255
+ <input id="query_find" name="query_find" type="text" value=${this.viewGraphqlData.query_find} />
294
256
  </label>
295
257
  </div>
296
- </div>
297
- <div field>
298
- <h2>
299
- <mwc-icon>list_alt</mwc-icon>${TermsUtil.tLabel('multiple_update_option')}
300
- </h2>
301
- <div subfield>
302
- <label>${TermsUtil.tLabel('parent_id')}
303
- <input id="mutation_multiple_parent_id" name="mutation_multiple_parent_id" type="text"
304
- value=${this.viewGraphqlData.mutation_multiple_parent_id} />
258
+ <div field>
259
+ <label
260
+ >${TermsUtil.tLabel('multiple_update_function')}
261
+ <input id="mutation_multiple" name="mutation_multiple" type="text" value=${this.viewGraphqlData.mutation_multiple} />
305
262
  </label>
306
-
307
- <label>${TermsUtil.tLabel('skip_fields')}
308
- <div style="display:flex;height:200px">
309
- <ox-grist id="skip-fields-grist" .config=${this.skipFieldsConfig} .mode=${'GRID'} auto-fetch
310
- .fetchHandler=${this.fetchSkipFields.bind(this)}></ox-grist>
311
- </div>
263
+ </div>
264
+ <div field>
265
+ <label
266
+ >${TermsUtil.tLabel('multiple_update_type')}
267
+ <input id="mutation_multiple_type" name="mutation_multiple_type" type="text" value=${this.viewGraphqlData.mutation_multiple_type} />
268
+ </label>
269
+ </div>
270
+ <div field>
271
+ <label
272
+ >${TermsUtil.tLabel('delete_function')}
273
+ <input id="mutation_delete" name="mutation_delete" type="text" value=${this.viewGraphqlData.mutation_delete} />
312
274
  </label>
313
275
  </div>
276
+ <div field></div>
277
+ <div field>
278
+ <h2><mwc-icon>list_alt</mwc-icon>${TermsUtil.tLabel('query_option')}</h2>
279
+ <div subfield>
280
+ <label
281
+ >${TermsUtil.tLabel('parent_id')}
282
+ <input id="query_parent_id" name="query_parent_id" type="text" value=${this.viewGraphqlData.query_parent_id} />
283
+ </label>
284
+
285
+ <label
286
+ >${TermsUtil.tLabel('after_set_fields')}
287
+ <div style="display:flex;height:200px">
288
+ <ox-grist
289
+ id="after-set-fields-grist"
290
+ .config=${this.afterSetFieldsConfig}
291
+ .mode=${'GRID'}
292
+ auto-fetch
293
+ .fetchHandler=${this.fetchAfterSetFields.bind(this)}
294
+ ></ox-grist>
295
+ </div>
296
+ </label>
297
+ </div>
298
+ </div>
299
+ <div field>
300
+ <h2><mwc-icon>list_alt</mwc-icon>${TermsUtil.tLabel('multiple_update_option')}</h2>
301
+ <div subfield>
302
+ <label
303
+ >${TermsUtil.tLabel('parent_id')}
304
+ <input id="mutation_multiple_parent_id" name="mutation_multiple_parent_id" type="text" value=${this.viewGraphqlData.mutation_multiple_parent_id} />
305
+ </label>
306
+
307
+ <label
308
+ >${TermsUtil.tLabel('skip_fields')}
309
+ <div style="display:flex;height:200px">
310
+ <ox-grist
311
+ id="skip-fields-grist"
312
+ .config=${this.skipFieldsConfig}
313
+ .mode=${'GRID'}
314
+ auto-fetch
315
+ .fetchHandler=${this.fetchSkipFields.bind(this)}
316
+ ></ox-grist>
317
+ </div>
318
+ </label>
319
+ </div>
320
+ </div>
314
321
  </div>
315
- </div>
316
-
317
- `
318
- return renderHtml;
319
- }
320
-
322
+ `
323
+ return renderHtml
324
+ }
321
325
 
322
- async fetchAfterSetFields() {
323
- return {
324
- records: this.viewGraphqlData.after_set_fields_data,
325
- total: 0
326
+ async fetchAfterSetFields() {
327
+ return {
328
+ records: this.viewGraphqlData.after_set_fields_data,
329
+ total: 0
330
+ }
326
331
  }
327
- }
328
332
 
329
- async fetchSkipFields() {
330
- return {
331
- records: this.viewGraphqlData.skip_fields_data,
332
- total: 0
333
+ async fetchSkipFields() {
334
+ return {
335
+ records: this.viewGraphqlData.skip_fields_data,
336
+ total: 0
337
+ }
333
338
  }
334
339
  }
335
- }