@things-factory/operato-tools 6.2.33 → 6.2.34
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/_index.html +0 -1
- package/client/actions/main.js +1 -1
- package/client/pages/generator/button-config-tab-mixin.js +4 -4
- package/client/pages/generator/column-config-tab-mixin.js +4 -4
- package/client/pages/generator/etc-config-tab-mixin.js +3 -3
- package/client/pages/generator/form-config-tab-mixin.js +3 -3
- package/client/pages/generator/graphql-config-tab-mixin.js +24 -24
- package/client/pages/generator/grid-config-tab-mixin.js +22 -22
- package/client/pages/generator/grid-emphasized-config-tab-mixin.js +8 -8
- package/client/pages/generator/menu-config-tab-mixin.js +11 -11
- package/client/pages/generator/meta-generator-page.js +11 -11
- package/client/pages/generator/search-config-tab-mixin.js +4 -4
- package/client/pages/generator/tab-config-tab-mixin.js +4 -4
- package/client/pages/main.js +4 -4
- package/client/reducers/main.js +1 -1
- package/package.json +3 -3
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x3835(){const _0xc509b9=['grid_multi_select','use_row_checker','viewGridData','renderGridConfigTab','multiple_select','unsupport','_view_use','13235Zxjmpz','pages','getGridConfigTabValues','578dffPtS','2545250jJiKOt','GRID_PAGE_OPTIONS','grid_term_default','grid_mobile_view','grid_row_check_use','use','list_view_use','toLowerCase','1148DyUBlI','codeItems','description','support','view_mode','option','row','2528001wjDvkT','select-row-toggle','unuse','use_filter_form','map','918qxbzzw','GRID','grid_term_unlimited','getElementValueById','gridViewModes','includes','grid_support_multi_select','13434CDRPLd','setGridConfigTabConfig','grid_support_view','3014374VacRcX','LIST','tLabel','342JWCwXN','length','true','setGridConfigTabDetaultValues','gridPageOptions','desk_mode','240lSgVyA','grid_desk_view','grid_pagination','grid_term_1000','grid','push','mobile_mode','grid_term_','card_view_use','grid_term_50','6032pBbNJn','name','grid_use_filter','CARD','GRID_VIEW_MODE'];a0_0x3835=function(){return _0xc509b9;};return a0_0x3835();}function a0_0x326e(_0x1d3815,_0x347b6c){const _0x383589=a0_0x3835();return a0_0x326e=function(_0x326ecb,_0x4b8bbf){_0x326ecb=_0x326ecb-0x141;let _0x3d72e6=_0x383589[_0x326ecb];return _0x3d72e6;},a0_0x326e(_0x1d3815,_0x347b6c);}const a0_0x472427=a0_0x326e;(function(_0x180498,_0x597f18){const _0x2f7955=a0_0x326e,_0x3bb01c=_0x180498();while(!![]){try{const _0x1091f4=-parseInt(_0x2f7955(0x149))/0x1*(-parseInt(_0x2f7955(0x15e))/0x2)+parseInt(_0x2f7955(0x165))/0x3*(parseInt(_0x2f7955(0x171))/0x4)+-parseInt(_0x2f7955(0x146))/0x5*(parseInt(_0x2f7955(0x16b))/0x6)+parseInt(_0x2f7955(0x152))/0x7*(parseInt(_0x2f7955(0x17b))/0x8)+-parseInt(_0x2f7955(0x159))/0x9+-parseInt(_0x2f7955(0x14a))/0xa+parseInt(_0x2f7955(0x168))/0xb;if(_0x1091f4===_0x597f18)break;else _0x3bb01c['push'](_0x3bb01c['shift']());}catch(_0x122610){_0x3bb01c['push'](_0x3bb01c['shift']());}}}(a0_0x3835,0x3be83));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0xd70faa=>class extends _0xd70faa{['setGridConfigTabValues'](_0x10ecdc){const _0x58f1b9=a0_0x326e;if(_0x10ecdc){var {mobile_mode:_0x81ec28='',desk_mode:_0x34a676='',pages:_0x5ba602=[],use_row_checker:_0x171fac=!0x0,view_mode:_0x1c8c2e=[]}=_0x10ecdc['option']||{};let _0x55f89d=(_0x10ecdc['row']||{'multiple_select':!0x1})[_0x58f1b9(0x143)],_0x52f402='unlimited'==_0x5ba602?_0x58f1b9(0x160):0x0==_0x5ba602[_0x58f1b9(0x16c)]?'':0x14==_0x5ba602[0x0]?_0x58f1b9(0x14c):_0x58f1b9(0x178)+_0x5ba602[0x0];this[_0x58f1b9(0x141)]={'mobile_mode':_0x81ec28,'desk_mode':_0x34a676,'use_row_checker':_0x171fac,'pages':_0x52f402,'view_mode':_0x1c8c2e,'multiple_select':_0x55f89d,'use_filter_form':_0x10ecdc['use_filter_form']};}else this[_0x58f1b9(0x16e)]();}[a0_0x472427(0x148)](){const _0x50312f=a0_0x472427;let _0x452e7b={'grid':{'option':{},'row':{'click':_0x50312f(0x15a)}}},_0x395cea=this['getElementValueById'](_0x50312f(0x14e)),_0x8a7e68=this[_0x50312f(0x161)](_0x50312f(0x180)),_0x406b70=this[_0x50312f(0x161)](_0x50312f(0x172)),_0x4f6d56=this[_0x50312f(0x161)](_0x50312f(0x14d)),_0x1b7cb9=this[_0x50312f(0x161)](_0x50312f(0x17d)),_0x37bdab=this['getElementValueById'](_0x50312f(0x173)),_0x449e0d=this['getElementValueById']('grid_view_use'),_0x4e732a=this[_0x50312f(0x161)](_0x50312f(0x150)),_0x1cf943=this['getElementValueById'](_0x50312f(0x179));return _0x452e7b['grid'][_0x50312f(0x15c)]='true'==_0x1b7cb9,_0x452e7b['grid'][_0x50312f(0x158)][_0x50312f(0x143)]=_0x50312f(0x16d)==_0x8a7e68,_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)]['use_row_checker']='true'==_0x395cea,_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)]['mobile_mode']=_0x4f6d56,_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x170)]=_0x406b70,_0x50312f(0x14c)==_0x37bdab?_0x452e7b['grid']['option'][_0x50312f(0x147)]=[0x14,0x1e,0x32,0x64]:_0x50312f(0x17a)==_0x37bdab?_0x452e7b[_0x50312f(0x175)]['option']['pages']=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0x37bdab?_0x452e7b[_0x50312f(0x175)]['option'][_0x50312f(0x147)]=[0x64,0x1f4,0x3e8,0x1388]:_0x50312f(0x174)==_0x37bdab?_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x147)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x50312f(0x160)==_0x37bdab&&(_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x147)]='unlimited'),_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x156)]=[],'true'==_0x449e0d&&_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x156)][_0x50312f(0x176)](_0x50312f(0x15f)),_0x50312f(0x16d)==_0x4e732a&&_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)]['view_mode']['push'](_0x50312f(0x169)),_0x50312f(0x16d)==_0x1cf943&&_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x156)][_0x50312f(0x176)](_0x50312f(0x17e)),_0x452e7b;}async[a0_0x472427(0x166)](){const _0x35aa5c=a0_0x472427;let _0xedcb3=await MetaApi['codeItems'](_0x35aa5c(0x14b)),_0x3d006a=await MetaApi[_0x35aa5c(0x153)](_0x35aa5c(0x17f));this['gridViewModes']=_0x3d006a,this[_0x35aa5c(0x16f)]=_0xedcb3;}[a0_0x472427(0x16e)](){const _0x531448=a0_0x472427;this['viewGridData']||(this[_0x531448(0x141)]={'mobile_mode':this[_0x531448(0x162)]?this[_0x531448(0x162)][0x1]:'LIST','desk_mode':this[_0x531448(0x162)]?this[_0x531448(0x162)][0x0]:_0x531448(0x15f),'use_row_checker':!0x0,'pages':'grid_term_default','view_mode':[...this['gridViewModes']?this['gridViewModes']:[_0x531448(0x15f),'LIST',_0x531448(0x17e)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x472427(0x142)](){const _0x2fe424=a0_0x472427;return this[_0x2fe424(0x16e)](),html`
|
|
2
2
|
<div field-2column>
|
|
3
3
|
<div field>
|
|
4
4
|
<h2>
|
|
5
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil['
|
|
5
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)]('grid_use_row_check')}
|
|
6
6
|
</h2>
|
|
7
7
|
<label>
|
|
8
8
|
<span>
|
|
9
9
|
<input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="true"
|
|
10
|
-
?checked=${this['viewGridData'][
|
|
10
|
+
?checked=${this['viewGridData'][_0x2fe424(0x181)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x14f))}</input>
|
|
11
11
|
<input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
|
|
12
|
-
?checked=${!this[
|
|
12
|
+
?checked=${!this[_0x2fe424(0x141)][_0x2fe424(0x181)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x15b))}</input>
|
|
13
13
|
</span>
|
|
14
14
|
</label>
|
|
15
15
|
</div>
|
|
16
16
|
<div field>
|
|
17
17
|
<h2>
|
|
18
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
18
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x164))}
|
|
19
19
|
</h2>
|
|
20
20
|
<label>
|
|
21
21
|
<span>
|
|
22
22
|
<input type="radio" id="grid_multi_select" name="grid_multi_select" value="true"
|
|
23
|
-
?checked=${this[
|
|
23
|
+
?checked=${this['viewGridData'][_0x2fe424(0x143)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x155))}</input>
|
|
24
24
|
<input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
|
|
25
|
-
?checked=${!this[
|
|
25
|
+
?checked=${!this[_0x2fe424(0x141)]['multiple_select']}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x144))}</input>
|
|
26
26
|
</span>
|
|
27
27
|
</label>
|
|
28
28
|
</div>
|
|
29
29
|
<div field>
|
|
30
30
|
<h2>
|
|
31
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](
|
|
31
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x2fe424(0x17d))}
|
|
32
32
|
</h2>
|
|
33
33
|
<label>
|
|
34
34
|
<span>
|
|
35
35
|
<input type="radio" id="grid_use_filter" name="grid_use_filter" value="true"
|
|
36
|
-
?checked=${this[
|
|
36
|
+
?checked=${this['viewGridData'][_0x2fe424(0x15c)]}>${TermsUtil['tLabel'](_0x2fe424(0x14f))}</input>
|
|
37
37
|
<input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
|
|
38
|
-
?checked=${!this[
|
|
38
|
+
?checked=${!this[_0x2fe424(0x141)][_0x2fe424(0x15c)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x15b))}</input>
|
|
39
39
|
</span>
|
|
40
40
|
</label>
|
|
41
41
|
</div>
|
|
42
42
|
<div></div>
|
|
43
43
|
<div field>
|
|
44
44
|
<h2>
|
|
45
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
45
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x2fe424(0x172))}
|
|
46
46
|
</h2>
|
|
47
47
|
<label>
|
|
48
48
|
<select id="grid_desk_view" name="grid_desk_view">
|
|
49
|
-
${this[
|
|
49
|
+
${this[_0x2fe424(0x162)]?.['map'](_0x594974=>html`<option value=${_0x594974[_0x2fe424(0x17c)]} ?selected=${this[_0x2fe424(0x141)][_0x2fe424(0x170)]==_0x594974[_0x2fe424(0x17c)]}>${_0x594974[_0x2fe424(0x154)]}</option>`)}
|
|
50
50
|
</select>
|
|
51
51
|
</label>
|
|
52
52
|
</div>
|
|
53
53
|
<div field>
|
|
54
54
|
<h2>
|
|
55
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
55
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x2fe424(0x14d))}
|
|
56
56
|
</h2>
|
|
57
57
|
<label>
|
|
58
58
|
<select id="grid_mobile_view" name="grid_mobile_view">
|
|
59
|
-
${this[
|
|
59
|
+
${this['gridViewModes']?.[_0x2fe424(0x15d)](_0x4615c4=>html`<option value=${_0x4615c4[_0x2fe424(0x17c)]} ?selected=${this[_0x2fe424(0x141)][_0x2fe424(0x177)]==_0x4615c4[_0x2fe424(0x17c)]}>${_0x4615c4[_0x2fe424(0x154)]}</option>`)}
|
|
60
60
|
</select>
|
|
61
61
|
</label>
|
|
62
62
|
</div>
|
|
63
63
|
<div field>
|
|
64
64
|
<h2>
|
|
65
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
65
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x167))}
|
|
66
66
|
</h2>
|
|
67
67
|
<label>
|
|
68
|
-
${this[
|
|
69
|
-
<span>${
|
|
70
|
-
<input type="radio" name=${
|
|
71
|
-
<input type="radio" name=${
|
|
68
|
+
${this['gridViewModes']?.['map'](_0x14991a=>html`
|
|
69
|
+
<span>${_0x14991a[_0x2fe424(0x17c)]}
|
|
70
|
+
<input type="radio" name=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+_0x2fe424(0x145)} id=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+_0x2fe424(0x145)} ?checked=${this[_0x2fe424(0x141)][_0x2fe424(0x156)][_0x2fe424(0x163)](_0x14991a[_0x2fe424(0x17c)])} value="true">${TermsUtil['tLabel']('use')}</input>
|
|
71
|
+
<input type="radio" name=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+'_view_use'} id=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+_0x2fe424(0x145)} ?checked=${!this['viewGridData'][_0x2fe424(0x156)][_0x2fe424(0x163)](_0x14991a[_0x2fe424(0x17c)])} value="false">${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x15b))}</input>
|
|
72
72
|
</span>
|
|
73
73
|
`)}
|
|
74
74
|
</label>
|
|
75
75
|
</div>
|
|
76
76
|
<div field>
|
|
77
77
|
<h2>
|
|
78
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
78
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)]('grid_pagination')}
|
|
79
79
|
</h2>
|
|
80
80
|
<label>
|
|
81
|
-
${this[
|
|
81
|
+
${this[_0x2fe424(0x16f)]?.[_0x2fe424(0x15d)](_0x3d48e8=>html`
|
|
82
82
|
<span>
|
|
83
|
-
<input type="radio" name="grid_pagination" id="grid_pagination" value=${
|
|
83
|
+
<input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x3d48e8[_0x2fe424(0x17c)]} ?checked=${this['viewGridData'][_0x2fe424(0x147)]==_0x3d48e8[_0x2fe424(0x17c)]}>${TermsUtil['tLabel'](_0x3d48e8['name'])}</input>
|
|
84
84
|
</span>
|
|
85
85
|
`)}
|
|
86
86
|
</label>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x8d2b07=a0_0x562a;function a0_0xe1ac(){const _0x4e2f15=['logic','26dqjvGP','fetchColumnEmphasized','columnEmphasizedConfig','code-input','4758415bduPqE','shadowRoot','4RZyLcv','forEach','integer','grid_column_emphasized_config','right','grid_row_emphasized_config','fontColor','getGristGuttersConfig','rowEmphasizedConfig','37252089IVVJBj','button','rowEmphasizedData','gutter','1384536lAUTZY','emphasizedConfigTabColumnEmphasizedGrist','setGridEmphasizedConfigTabDefaultValues','928818JrIgso','101701VoUOlI','getGristSelectableConfig','fetchRowEmphasized','backgroundColor','tLabel','querySelector','left','columnEmphasizedData','fetch','rank','push','delete','setGridEmphasizedConfigTabConfig','viewEmphasizedData','7447265bxgtyG','background-color','emphasizedConfigTabRowEmphasizedGrist','#row-emphasized-grist','GRID','deleteRow','string','1374102JeVuXD','getGridEmphasizedConfigTabValues','keys','column','map'];a0_0xe1ac=function(){return _0x4e2f15;};return a0_0xe1ac();}(function(_0x203ab3,_0x1b7088){const _0x5289d4=a0_0x562a,_0x2aa6af=_0x203ab3();while(!![]){try{const _0x36a283=parseInt(_0x5289d4(0x133))/0x1*(-parseInt(_0x5289d4(0x11c))/0x2)+-parseInt(_0x5289d4(0x132))/0x3+parseInt(_0x5289d4(0x122))/0x4*(-parseInt(_0x5289d4(0x120))/0x5)+parseInt(_0x5289d4(0x116))/0x6+-parseInt(_0x5289d4(0x141))/0x7+parseInt(_0x5289d4(0x12f))/0x8+parseInt(_0x5289d4(0x12b))/0x9;if(_0x36a283===_0x1b7088)break;else _0x2aa6af['push'](_0x2aa6af['shift']());}catch(_0x1e2b31){_0x2aa6af['push'](_0x2aa6af['shift']());}}}(a0_0xe1ac,0xda3d4));function a0_0x562a(_0xc81339,_0x46d893){const _0xe1acb3=a0_0xe1ac();return a0_0x562a=function(_0x562a32,_0x45f307){_0x562a32=_0x562a32-0x114;let _0x4ab930=_0xe1acb3[_0x562a32];return _0x4ab930;},a0_0x562a(_0xc81339,_0x46d893);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x3c8237=>class extends _0x3c8237{['setGridEmphasizedConfigTabValues'](_0x586934){const _0x206ae7=a0_0x562a;if(_0x586934){this[_0x206ae7(0x140)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x509440=0x1;this[_0x206ae7(0x140)][_0x206ae7(0x12d)]=(_0x586934['row']||[])[_0x206ae7(0x11a)](_0x4e86b7=>({'id':_0x509440,'rank':_0x509440++,'backgroundColor':_0x4e86b7[_0x206ae7(0x136)]||'','fontColor':_0x4e86b7['fontColor']||'','logic':_0x4e86b7['logic']||''})),_0x509440=0x1;let _0x57575b=_0x586934[_0x206ae7(0x119)]||[];Object[_0x206ae7(0x118)](_0x57575b)[_0x206ae7(0x123)](_0xc3bcda=>{let _0x476866=_0x57575b[_0xc3bcda]||[],_0x3bddc8=0x1;_0x476866['forEach'](_0xc04788=>{const _0xead5a1=a0_0x562a;this[_0xead5a1(0x140)][_0xead5a1(0x13a)][_0xead5a1(0x13d)]({'id':_0x509440++,'rank':_0x3bddc8++,'column':_0xc3bcda,'backgroundColor':_0xc04788[_0xead5a1(0x136)]||'','fontColor':_0xc04788[_0xead5a1(0x128)]||'','logic':_0xc04788['logic']||''});});}),this[_0x206ae7(0x130)]?.[_0x206ae7(0x13b)](),this[_0x206ae7(0x143)]?.[_0x206ae7(0x13b)]();}else this[_0x206ae7(0x131)]();}[a0_0x8d2b07(0x117)](){const _0x1787e2=a0_0x8d2b07;let _0x458219=this['getElementValueById']('row-emphasized-grist'),_0x40f89c=this['getElementValueById']('column-emphasized-grist'),_0xe70ea5=[];this['sortRecordByRank'](_0x458219)?.[_0x1787e2(0x123)](_0x4c4de4=>{const _0x4bb8ea=_0x1787e2;_0xe70ea5['push']({'backgroundColor':_0x4c4de4['backgroundColor'],'fontColor':_0x4c4de4[_0x4bb8ea(0x128)],'logic':_0x4c4de4['logic']});});let _0x2da690={};return this['sortRecordByRank'](_0x40f89c)?.[_0x1787e2(0x123)](_0x551d13=>{const _0x2ab4bb=_0x1787e2;_0x2da690[_0x551d13['column']]||(_0x2da690[_0x551d13[_0x2ab4bb(0x119)]]=[]),_0x2da690[_0x551d13['column']][_0x2ab4bb(0x13d)]({'backgroundColor':_0x551d13['backgroundColor'],'fontColor':_0x551d13[_0x2ab4bb(0x128)],'logic':_0x551d13['logic']});}),{'gridEmphasized':{'row':_0xe70ea5||[],'column':_0x2da690||{}}};}get[a0_0x8d2b07(0x143)](){const _0x34b8f3=a0_0x8d2b07;return this[_0x34b8f3(0x121)][_0x34b8f3(0x138)](_0x34b8f3(0x144));}get[a0_0x8d2b07(0x130)](){const _0xc2e7d0=a0_0x8d2b07;return this[_0xc2e7d0(0x121)][_0xc2e7d0(0x138)]('#column-emphasized-grist');}[a0_0x8d2b07(0x13f)](){const _0x273f15=a0_0x8d2b07;this[_0x273f15(0x12a)]={'rows':MetaApi[_0x273f15(0x134)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x273f15(0x129)](!0x1,!0x1),{'type':_0x273f15(0x12e),'gutterName':'button','icon':_0x273f15(0x13e),'handlers':{'click':(_0x75f411,_0x246dbc,_0x8c4554,_0x1e2578,_0x187ecf)=>{const _0x27c4cc=_0x273f15;_0x1e2578['id']&&this[_0x27c4cc(0x114)](this[_0x27c4cc(0x143)],_0x1e2578);}}},{'type':_0x273f15(0x115),'name':'id','hidden':!0x0},{'type':_0x273f15(0x124),'name':_0x273f15(0x13c),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x13c)),'sortable':!0x1,'width':0x37,'record':{'align':_0x273f15(0x126),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x273f15(0x136),'header':TermsUtil['tLabel'](_0x273f15(0x142)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x115),'name':_0x273f15(0x128),'header':TermsUtil[_0x273f15(0x137)]('font-color'),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x11f),'name':_0x273f15(0x11b),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x11b)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x352}]},this['columnEmphasizedConfig']={'rows':MetaApi[_0x273f15(0x134)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x273f15(0x129)](!0x1,!0x1),{'type':_0x273f15(0x12e),'gutterName':_0x273f15(0x12c),'icon':_0x273f15(0x13e),'handlers':{'click':(_0x1a26cf,_0x12bb20,_0x530482,_0x1cd7ed,_0x699430)=>{const _0x266fed=_0x273f15;_0x1cd7ed['id']&&this['deleteRow'](this[_0x266fed(0x130)],_0x1cd7ed);}}},{'type':_0x273f15(0x115),'name':'id','hidden':!0x0},{'type':'integer','name':_0x273f15(0x13c),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x13c)),'sortable':!0x1,'width':0x37,'record':{'align':_0x273f15(0x126),'editable':!0x0,'mandatory':!0x0}},{'type':_0x273f15(0x115),'name':_0x273f15(0x119),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x119)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x115),'name':'backgroundColor','header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x142)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x115),'name':'fontColor','header':TermsUtil['tLabel']('font-color'),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x11f),'name':_0x273f15(0x11b),'header':TermsUtil[_0x273f15(0x137)]('logic'),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x2d5}]};}[a0_0x8d2b07(0x131)](){const _0x27651e=a0_0x8d2b07;this[_0x27651e(0x140)]||(this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]});}['renderGridEmphasizedConfigTab'](){const _0x379392=a0_0x8d2b07;return this[_0x379392(0x131)](),html`
|
|
2
2
|
<div style='grid-template-rows: 50% 50%;display:grid;flex:1;'>
|
|
3
3
|
<div field >
|
|
4
4
|
<h2>
|
|
5
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
5
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x379392(0x137)](_0x379392(0x127))}
|
|
6
6
|
</h2>
|
|
7
|
-
<ox-grist id="row-emphasized-grist" .config=${this[
|
|
8
|
-
.fetchHandler=${this[
|
|
7
|
+
<ox-grist id="row-emphasized-grist" .config=${this[_0x379392(0x12a)]} .mode=${_0x379392(0x145)} auto-fetch
|
|
8
|
+
.fetchHandler=${this[_0x379392(0x135)]['bind'](this)}></ox-grist>
|
|
9
9
|
</div>
|
|
10
10
|
<div field >
|
|
11
11
|
<h2>
|
|
12
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
12
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x379392(0x137)](_0x379392(0x125))}
|
|
13
13
|
</h2>
|
|
14
|
-
<ox-grist id="column-emphasized-grist" .config=${this[
|
|
15
|
-
.fetchHandler=${this['fetchColumnEmphasized'][
|
|
14
|
+
<ox-grist id="column-emphasized-grist" .config=${this[_0x379392(0x11e)]} .mode=${'GRID'} auto-fetch
|
|
15
|
+
.fetchHandler=${this['fetchColumnEmphasized']['bind'](this)}></ox-grist>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
|
-
`;}async[
|
|
18
|
+
`;}async['fetchRowEmphasized'](){const _0x275906=a0_0x8d2b07;return{'records':this[_0x275906(0x140)][_0x275906(0x12d)],'total':0x0};}async[a0_0x8d2b07(0x11d)](){const _0x1e4fce=a0_0x8d2b07;return{'records':this['viewEmphasizedData'][_0x1e4fce(0x13a)],'total':0x0};}};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
const a0_0x4b1e4f=a0_0xec57;(function(_0x37519d,_0x32b959){const _0xc3e3b=a0_0xec57,_0x565d52=_0x37519d();while(!![]){try{const _0x2f68ad=parseInt(_0xc3e3b(0x1f1))/0x1*(parseInt(_0xc3e3b(0x1fb))/0x2)+-parseInt(_0xc3e3b(0x206))/0x3*(-parseInt(_0xc3e3b(0x203))/0x4)+-parseInt(_0xc3e3b(0x208))/0x5*(-parseInt(_0xc3e3b(0x1fe))/0x6)+-parseInt(_0xc3e3b(0x1f9))/0x7*(parseInt(_0xc3e3b(0x1f4))/0x8)+-parseInt(_0xc3e3b(0x1ef))/0x9*(parseInt(_0xc3e3b(0x1ff))/0xa)+parseInt(_0xc3e3b(0x1f3))/0xb*(-parseInt(_0xc3e3b(0x201))/0xc)+parseInt(_0xc3e3b(0x202))/0xd;if(_0x2f68ad===_0x32b959)break;else _0x565d52['push'](_0x565d52['shift']());}catch(_0x2f8c18){_0x565d52['push'](_0x565d52['shift']());}}}(a0_0x546c,0x38e14));function a0_0xec57(_0x3d8564,_0x573f62){const _0x546cde=a0_0x546c();return a0_0xec57=function(_0xec57fe,_0x2dad92){_0xec57fe=_0xec57fe-0x1ec;let _0x108230=_0x546cde[_0xec57fe];return _0x108230;},a0_0xec57(_0x3d8564,_0x573f62);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x546c(){const _0x43226c=['5184205stFltU','1020OJEtwO','getElementById','name','4461bqdahG','help','743510AvkQMn','menu','target','display','renderMenuConfigTab','menuTitleChange','28179KodhPd','value','7RQNPSE','getElementValueById','34848lEurBm','8RBghpx','tLabel','desc','setMenuConfigTabDefaultValue','getMenuConfigTabValues','2682939ljlXji','viewMenuData','19820saHxOq','help_doc','tTitle','12nFFuJE','1010PKpiEN','title','804guREJW'];a0_0x546c=function(){return _0x43226c;};return a0_0x546c();}export const MenuConfigTabMixin=_0x477d55=>class extends _0x477d55{['setMenuConfigTabValues'](_0x43ba18){const _0x230250=a0_0xec57;if(_0x43ba18){var {title:_0x2bf2e9='',name:_0x18c8d5='',desc:_0x8f438f='',help:_0x4496a4=''}=_0x43ba18||{};this['viewMenuData']={'title':_0x2bf2e9,'name':_0x18c8d5,'desc':_0x8f438f,'help_doc':_0x4496a4},this[_0x230250(0x204)]('title')[_0x230250(0x1f0)]=_0x2bf2e9,this[_0x230250(0x204)](_0x230250(0x205))['value']=_0x18c8d5,this[_0x230250(0x204)]('desc')[_0x230250(0x1f0)]=_0x8f438f,this[_0x230250(0x204)](_0x230250(0x1fc))[_0x230250(0x1f0)]=_0x4496a4;}else this['setMenuConfigTabDefaultValue']();}[a0_0x4b1e4f(0x1f8)](){const _0x479dcb=a0_0x4b1e4f;let _0x3bc189={'menu':{}},_0x31d485=this[_0x479dcb(0x1f2)](_0x479dcb(0x200)),_0x4ca258=this[_0x479dcb(0x1f2)]('name'),_0x3d69ff=this[_0x479dcb(0x1f2)](_0x479dcb(0x1f6)),_0x467373=this[_0x479dcb(0x1f2)](_0x479dcb(0x1fc));return _0x31d485&&(_0x3bc189['menu'][_0x479dcb(0x200)]=_0x31d485),_0x4ca258&&(_0x3bc189[_0x479dcb(0x209)][_0x479dcb(0x205)]=_0x4ca258),_0x3d69ff&&(_0x3bc189[_0x479dcb(0x209)][_0x479dcb(0x1f6)]=_0x3d69ff),_0x467373&&(_0x3bc189[_0x479dcb(0x209)][_0x479dcb(0x207)]=_0x467373),_0x3bc189;}[a0_0x4b1e4f(0x1f7)](){const _0x199644=a0_0x4b1e4f;this[_0x199644(0x1fa)]||(this[_0x199644(0x1fa)]={'title':'','name':_0x199644(0x205),'desc':'description','help_doc':''});}['menuTitleChange'](_0xf54c6d){const _0x41d472=a0_0x4b1e4f;let _0x1bb1c8=this[_0x41d472(0x204)](_0x41d472(0x1ec));_0x1bb1c8&&(_0x1bb1c8[_0x41d472(0x1f0)]=TermsUtil[_0x41d472(0x1fd)](_0xf54c6d[_0x41d472(0x20a)]['value']));}[a0_0x4b1e4f(0x1ed)](){const _0xfee04c=a0_0x4b1e4f;return this[_0xfee04c(0x1f7)](),html`
|
|
2
2
|
<div field-2column>
|
|
3
3
|
<div field>
|
|
4
|
-
<label>${TermsUtil['tLabel'](
|
|
5
|
-
<input id="title" name="title" type="text" value=${this[
|
|
4
|
+
<label>${TermsUtil['tLabel']('menu_title')}
|
|
5
|
+
<input id="title" name="title" type="text" value=${this[_0xfee04c(0x1fa)]['title']} @change=${_0x20ca38=>this[_0xfee04c(0x1ee)](_0x20ca38)}/>
|
|
6
6
|
</label>
|
|
7
7
|
</div>
|
|
8
8
|
<div field>
|
|
9
|
-
<label>${TermsUtil[
|
|
10
|
-
<input id="display" name="display" value=${TermsUtil[
|
|
9
|
+
<label>${TermsUtil[_0xfee04c(0x1f5)](_0xfee04c(0x1ec))}
|
|
10
|
+
<input id="display" name="display" value=${TermsUtil[_0xfee04c(0x1fd)](this[_0xfee04c(0x1fa)]['title'])} type="text" readonly
|
|
11
11
|
disabled />
|
|
12
12
|
</label>
|
|
13
13
|
</div>
|
|
14
14
|
<div field>
|
|
15
|
-
<label>${TermsUtil[
|
|
16
|
-
<input id="name" name="name" type="text" value=${this[
|
|
15
|
+
<label>${TermsUtil['tLabel']('menu_name_field')}
|
|
16
|
+
<input id="name" name="name" type="text" value=${this[_0xfee04c(0x1fa)][_0xfee04c(0x205)]} />
|
|
17
17
|
</label>
|
|
18
18
|
</div>
|
|
19
19
|
<div field>
|
|
20
|
-
<label>${TermsUtil[
|
|
21
|
-
<input id="desc" name="desc" type="text" value=${this[
|
|
20
|
+
<label>${TermsUtil[_0xfee04c(0x1f5)]('menu_desc_field')}
|
|
21
|
+
<input id="desc" name="desc" type="text" value=${this['viewMenuData'][_0xfee04c(0x1f6)]} />
|
|
22
22
|
</label>
|
|
23
23
|
</div>
|
|
24
24
|
<div field>
|
|
25
|
-
<label>${TermsUtil[
|
|
26
|
-
<input id="help_doc" name="help_doc" type="text" value=${this[
|
|
25
|
+
<label>${TermsUtil[_0xfee04c(0x1f5)](_0xfee04c(0x1fc))}
|
|
26
|
+
<input id="help_doc" name="help_doc" type="text" value=${this[_0xfee04c(0x1fa)][_0xfee04c(0x1fc)]} />
|
|
27
27
|
</label>
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3e0044=a0_0x1079;(function(_0x1c42cc,_0x4b60c1){const _0x5a41bf=a0_0x1079,_0x1ff75c=_0x1c42cc();while(!![]){try{const _0x1b35f9=-parseInt(_0x5a41bf(0x125))/0x1*(parseInt(_0x5a41bf(0x141))/0x2)+parseInt(_0x5a41bf(0x110))/0x3*(parseInt(_0x5a41bf(0x12b))/0x4)+-parseInt(_0x5a41bf(0x171))/0x5*(-parseInt(_0x5a41bf(0x14c))/0x6)+parseInt(_0x5a41bf(0x11a))/0x7+-parseInt(_0x5a41bf(0x175))/0x8+parseInt(_0x5a41bf(0x144))/0x9+-parseInt(_0x5a41bf(0x140))/0xa*(parseInt(_0x5a41bf(0x170))/0xb);if(_0x1b35f9===_0x4b60c1)break;else _0x1ff75c['push'](_0x1ff75c['shift']());}catch(_0x15940a){_0x1ff75c['push'](_0x1ff75c['shift']());}}}(a0_0x1234,0x18a19));import a0_0x1d3f1e from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';function a0_0x1079(_0x3f4e56,_0x22c1d8){const _0x1234ff=a0_0x1234();return a0_0x1079=function(_0x107998,_0xcbfca0){_0x107998=_0x107998-0xfc;let _0x10bfa3=_0x1234ff[_0x107998];return _0x10bfa3;},a0_0x1079(_0x3f4e56,_0x22c1d8);}import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x3e0044(0x11c)](){return[css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -141,24 +141,24 @@ const a0_0x39ee84=a0_0x4ebd;(function(_0x2a5b22,_0x2aa6d2){const _0x4b2fe7=a0_0x
|
|
|
141
141
|
flex: 1;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
`];}static get[
|
|
144
|
+
`];}static get[a0_0x3e0044(0x176)](){return{'menuId':String,'menuName':String,'metaTemplate':Object,'currentTabKey':String,'tabData':Object,'dataStorage':Object,'viewMenuData':Object,'afterSetFieldsConfig':Object,'skipFieldsConfig':Object,'viewGraphqlData':Object,'gridPageOptions':Array,'gridViewModes':Array,'viewGridData':Object,'columnTabGridConfig':Object,'viewColumnData':Array,'buttonTabGridConfig':Object,'viewButtonData':Array,'searchTabGridConfig':Object,'viewSearchData':Array};}get['context'](){const _0x1736b8=a0_0x3e0044;return{'title':TermsUtil[_0x1736b8(0x173)]('meta_generator'),'actions':[{'title':TermsUtil[_0x1736b8(0x128)](_0x1736b8(0x15a)),'action':this['save'][_0x1736b8(0x13f)](this),...CommonButtonStyles[_0x1736b8(0x15a)]},{'title':TermsUtil['tButton'](_0x1736b8(0x14e)),'action':this[_0x1736b8(0x11b)][_0x1736b8(0x13f)](this),...CommonButtonStyles[_0x1736b8(0x14e)]},{'title':TermsUtil['tButton'](_0x1736b8(0x167)),'action':this[_0x1736b8(0x167)][_0x1736b8(0x13f)](this),...CommonButtonStyles[_0x1736b8(0x167)]}]};}[a0_0x3e0044(0x107)](_0x185bb6,_0x35c36d){const _0x2c8d9c=a0_0x3e0044;let _0x56ec88=_0x185bb6['dirtyData'];_0x56ec88['records']=_0x56ec88['records'][_0x2c8d9c(0xff)](_0x3ef002=>_0x3ef002['id']!=_0x35c36d['id']),_0x185bb6[_0x2c8d9c(0x12a)]=_0x56ec88;}async['save'](){const _0x5efccf=a0_0x3e0044;if(0x0==store[_0x5efccf(0x127)]()[_0x5efccf(0x13b)][_0x5efccf(0x14b)])return void document[_0x5efccf(0x147)](new CustomEvent(_0x5efccf(0x148),{'detail':{'level':_0x5efccf(0x129),'message':i18next['t']('error.invalid\x20license\x20key')}}));if((await client[_0x5efccf(0x16b)]({'query':a0_0x1d3f1e`
|
|
145
145
|
query ($id: String!) {
|
|
146
146
|
studioTemplateIsOverLimit(id: $id)
|
|
147
147
|
}
|
|
148
|
-
`,'variables':{'id':this[
|
|
149
|
-
<h1>${this[
|
|
148
|
+
`,'variables':{'id':this[_0x5efccf(0x115)]}}))['errors'])return;let _0x564820={},_0x1eb2c4={};Object['keys'](this[_0x5efccf(0x12d)])[_0x5efccf(0x131)](_0x1e88cd=>{const _0x1c99b8=_0x5efccf;let _0x4e60ed=this[_0x1c99b8(0x143)](_0x1e88cd);_0x564820[_0x1e88cd]=this[_0x1c99b8(0x13c)+_0x4e60ed+_0x1c99b8(0x138)](),_0x1eb2c4=merge(_0x1eb2c4,_0x564820[_0x1e88cd]);}),_0x1eb2c4=JSON[_0x5efccf(0x104)](_0x1eb2c4),_0x1eb2c4=MetaCrypto['enc'](_0x1eb2c4),await MetaApi['updateMultiple'](_0x5efccf(0x16a),[{'id':this[_0x5efccf(0x115)],'template':_0x1eb2c4,'cuFlag':'M'}])&&await this[_0x5efccf(0x102)]();}['clear'](){const _0x1a68d7=a0_0x3e0044;this['setTabData'](),this[_0x1a68d7(0x124)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x1a68d7(0x13a)](this['tabData'])['forEach'](_0x3690e3=>{const _0x247374=_0x1a68d7;let _0x1d3bf7=this[_0x247374(0x143)](_0x3690e3);if(this[_0x247374(0x11d)+_0x1d3bf7+_0x247374(0x138)])return this[_0x247374(0x11d)+_0x1d3bf7+_0x247374(0x138)](this['dataStorage'][_0x3690e3]);});}async[a0_0x3e0044(0x167)](){this['clear'](),await this['initData']();}[a0_0x3e0044(0x11b)](){const _0x1d28f9=a0_0x3e0044;history[_0x1d28f9(0x14e)]();}async[a0_0x3e0044(0x102)](){const _0x2f5326=a0_0x3e0044;var {menuId:_0x3cfed4=''}=this[_0x2f5326(0x114)]?.[_0x2f5326(0x16c)]?this['lifecycle'][_0x2f5326(0x16c)]:{};if(this[_0x2f5326(0x115)]=_0x3cfed4,!_0x3cfed4||''==_0x3cfed4)return void this['clear']();let _0x4d0b47=await MetaApi[_0x2f5326(0x10b)](_0x2f5326(0x137),_0x3cfed4,_0x2f5326(0x158));if(_0x4d0b47){try{JSON[_0x2f5326(0x154)](MetaCrypto['dec'](_0x4d0b47[_0x2f5326(0x165)]));}catch(_0x8930bf){return;}this[_0x2f5326(0x10a)]=TermsUtil['tMenu'](_0x4d0b47[_0x2f5326(0x116)]),this[_0x2f5326(0x120)]=_0x4d0b47[_0x2f5326(0x165)]?JSON[_0x2f5326(0x154)](MetaCrypto[_0x2f5326(0x161)](_0x4d0b47['template'])):{};var {menu:_0x218aea={},gql:_0x3b73e6={},button:_0x1f8b1d=[],grid_column:_0x40f89d=[],grid:_0x283f52={},search:_0x9788d3=[],form:_0x39d71d=[],tab:_0x1130d8=[],etc:_0xda6d68={},gridEmphasized:_0x175d20=[]}=this[_0x2f5326(0x120)]?this['metaTemplate']:{};this['setTabData'](),this[_0x2f5326(0x124)]={},this[_0x2f5326(0x124)][_0x2f5326(0x137)]=_0x218aea,this[_0x2f5326(0x124)][_0x2f5326(0x162)]=_0x3b73e6,this[_0x2f5326(0x124)][_0x2f5326(0x174)]=_0x283f52,this[_0x2f5326(0x124)]['form']=_0x39d71d,this[_0x2f5326(0x124)]['tab']=_0x1130d8,this[_0x2f5326(0x124)]['etc']=_0xda6d68,this[_0x2f5326(0x124)][_0x2f5326(0x111)]=_0x175d20,(_0x283f52['option']?.['sorters']||[])[_0x2f5326(0x131)]((_0x2fd6b4,_0x4c6012)=>{const _0x263478=_0x2f5326;_0x2fd6b4[_0x263478(0x156)]=0xa*(_0x4c6012+0x1);}),this['dataStorage'][_0x2f5326(0x123)]=_0x40f89d[_0x2f5326(0x157)](_0x47f82a=>{const _0x29e102=_0x2f5326;let _0x5ac150=(_0x283f52[_0x29e102(0x122)]?.[_0x29e102(0x10d)]||[])[_0x29e102(0xff)](_0x306dc4=>_0x306dc4[_0x29e102(0x116)]==_0x47f82a[_0x29e102(0x116)]);return _0x5ac150&&_0x5ac150[_0x29e102(0x132)]>0x0?(_0x47f82a[_0x29e102(0x12e)]=_0x5ac150[0x0][_0x29e102(0x156)],_0x47f82a['sort_desc']=!!_0x5ac150[0x0][_0x29e102(0x160)]&&_0x5ac150[0x0][_0x29e102(0x160)]):_0x47f82a[_0x29e102(0x12e)]=0x0,_0x47f82a[_0x29e102(0x105)]=(_0x283f52[_0x29e102(0x151)]?.[_0x29e102(0x10f)]||[])[_0x29e102(0x10e)](_0x47f82a['name']),_0x47f82a[_0x29e102(0x139)]=(_0x283f52['list']?.[_0x29e102(0x153)]||[])['includes'](_0x47f82a['name']),_0x47f82a['thumbnail_field']=_0x283f52[_0x29e102(0x151)]?.[_0x29e102(0x163)]==_0x47f82a['name'],_0x47f82a;}),_0x9788d3[_0x2f5326(0x12c)](...(_0x3b73e6['query']?.[_0x2f5326(0x126)]||[])[_0x2f5326(0x157)](_0x5940c4=>(_0x5940c4[_0x2f5326(0x172)]=!0x0,_0x5940c4))),this['dataStorage'][_0x2f5326(0x11e)]=_0x9788d3,_0x1f8b1d[_0x2f5326(0x12c)](...(_0x283f52[_0x2f5326(0x112)]||[])[_0x2f5326(0x157)](_0x13d8bc=>(_0x13d8bc[_0x2f5326(0x168)]='grid-'+_0x13d8bc['type'],_0x13d8bc[_0x2f5326(0x15c)]=_0x13d8bc[_0x2f5326(0x109)],_0x13d8bc))),this[_0x2f5326(0x124)][_0x2f5326(0x112)]=_0x1f8b1d,Object[_0x2f5326(0x13a)](this[_0x2f5326(0x12d)])[_0x2f5326(0x131)](_0x7ceed9=>{const _0x37f078=_0x2f5326;let _0x3707fd=this['convertFirstCharUpperCase'](_0x7ceed9);if(this[_0x37f078(0x11d)+_0x3707fd+_0x37f078(0x138)])return this[_0x37f078(0x11d)+_0x3707fd+_0x37f078(0x138)](this[_0x37f078(0x124)][_0x7ceed9]);});}}async[a0_0x3e0044(0x130)](){const _0x1364ca=a0_0x3e0044;this[_0x1364ca(0x103)]();let _0x1d883d=Object['keys'](this[_0x1364ca(0x12d)]);for(var _0x4c4ef0=0x0;_0x4c4ef0<_0x1d883d[_0x1364ca(0x132)];_0x4c4ef0++){let _0x3b7a49=this[_0x1364ca(0x143)](_0x1d883d[_0x4c4ef0]);this['set'+_0x3b7a49+_0x1364ca(0x15d)]&&await this[_0x1364ca(0x11d)+_0x3b7a49+_0x1364ca(0x15d)]();}}async[a0_0x3e0044(0x169)](_0x12d392,_0x2cfd1e,_0x4f1d24){const _0x66c7c3=a0_0x3e0044;!0x0===this[_0x66c7c3(0x106)]?(this['setTabData'](),await this[_0x66c7c3(0x102)](),this[_0x66c7c3(0x103)]()):(this['clear'](),this[_0x66c7c3(0x113)]());}['setTabData'](){const _0x387de7=a0_0x3e0044;this[_0x387de7(0x12d)]||(this[_0x387de7(0x12d)]={'menu':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x12f)),'graphql':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x121)),'grid':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x14d)),'column':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x142)),'gridEmphasized':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x16d)),'button':TermsUtil['tLabel'](_0x387de7(0x146)),'search':TermsUtil[_0x387de7(0x16f)](_0x387de7(0xfd)),'form':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x10c)),'tab':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x166)),'etc':TermsUtil['tLabel'](_0x387de7(0x155))});}['render'](){const _0x4ff4e3=a0_0x3e0044;this['currentTabKey']||(this[_0x4ff4e3(0x117)]=_0x4ff4e3(0x137)),this[_0x4ff4e3(0x103)]();let _0x18557e=Object[_0x4ff4e3(0x13a)](this[_0x4ff4e3(0x12d)]);return this['tabData'][this[_0x4ff4e3(0x117)]]?this[_0x4ff4e3(0x117)]:_0x18557e[0x0],html`
|
|
149
|
+
<h1>${this[_0x4ff4e3(0x10a)]}</h1>
|
|
150
150
|
<div class="tabs">
|
|
151
|
-
${
|
|
152
|
-
<div class="tab" ?activate="${
|
|
153
|
-
<span>${
|
|
151
|
+
${_0x18557e['map'](_0x4c56f6=>{const _0x18d730=_0x4ff4e3;let _0x1b4420=this[_0x18d730(0x12d)][_0x4c56f6];return html`
|
|
152
|
+
<div class="tab" ?activate="${_0x4c56f6===this[_0x18d730(0x117)]}" @click="${()=>this['currentTabKey']=_0x4c56f6}">
|
|
153
|
+
<span>${_0x1b4420}</span>
|
|
154
154
|
</div>
|
|
155
155
|
`;})}
|
|
156
156
|
</div>
|
|
157
157
|
<div class="content-container">
|
|
158
|
-
${
|
|
159
|
-
<div class='tab-contents' style="${
|
|
160
|
-
${this[
|
|
158
|
+
${_0x18557e['map'](_0x4856bf=>{const _0x4d6127=_0x4ff4e3;let _0x2ad3c4=_0x4d6127(0x118);return _0x4856bf==this[_0x4d6127(0x117)]&&(_0x2ad3c4=_0x4d6127(0x134)),html`
|
|
159
|
+
<div class='tab-contents' style="${_0x2ad3c4}">
|
|
160
|
+
${this[_0x4d6127(0x164)](_0x4856bf)}
|
|
161
161
|
</div>
|
|
162
162
|
`;})}
|
|
163
163
|
</div>
|
|
164
|
-
`;}['getConfigTab'](
|
|
164
|
+
`;}['getConfigTab'](_0x7bc930){const _0x38375b=a0_0x3e0044;let _0x3f6c72=this[_0x38375b(0x143)](_0x7bc930);return this[_0x38375b(0x149)+_0x3f6c72+'ConfigTab']?this['render'+_0x3f6c72+_0x38375b(0x16e)]():html``;}[a0_0x3e0044(0x143)](_0x250212){const _0x246657=a0_0x3e0044;return _0x250212[_0x246657(0x145)](0x0)[_0x246657(0x14a)]()+_0x250212['slice'](0x1);}[a0_0x3e0044(0x133)](_0x51099b){const _0x889268=a0_0x3e0044;return this[_0x889268(0x15b)][_0x889268(0x135)]('#'+_0x51099b);}[a0_0x3e0044(0x13e)](_0xd91452){const _0x30f3b3=a0_0x3e0044;let _0x87eea9=this['shadowRoot'][_0x30f3b3(0x135)]('#'+_0xd91452);if(!_0x87eea9)return;let _0x27833f='';if('select'==_0x87eea9[_0x30f3b3(0x100)][_0x30f3b3(0x119)]()){if(!_0x87eea9[_0x30f3b3(0x14f)]||0x0==_0x87eea9[_0x30f3b3(0x14f)][_0x30f3b3(0x132)])return;_0x27833f=_0x87eea9[_0x30f3b3(0x14f)][_0x87eea9[_0x30f3b3(0x152)]][_0x30f3b3(0x15e)];}else{if(_0x30f3b3(0x13d)==_0x87eea9[_0x30f3b3(0x100)][_0x30f3b3(0x119)]()){if(!_0x87eea9[_0x30f3b3(0x15f)])return;if(!_0x87eea9[_0x30f3b3(0x15f)][_0x30f3b3(0x11f)])return;if(0x0==_0x87eea9[_0x30f3b3(0x15f)][_0x30f3b3(0x11f)][_0x30f3b3(0x132)])return;return _0x87eea9[_0x30f3b3(0x15f)]['records'];}if('ox-input-code'==_0x87eea9['tagName'][_0x30f3b3(0x119)]())return _0x87eea9['value'];if(_0x30f3b3(0xfe)==_0x87eea9['type'][_0x30f3b3(0x119)]()){let _0x11fb23=this[_0x30f3b3(0x15b)][_0x30f3b3(0x135)]('#'+_0xd91452+_0x30f3b3(0x150));if(!_0x11fb23)return;return _0x11fb23['value'];}_0x27833f=_0x87eea9[_0x30f3b3(0x15e)];}return _0x27833f&&''!=_0x27833f?_0x27833f:void 0x0;}[a0_0x3e0044(0x108)](_0x2ce305){const _0x4c9534=a0_0x3e0044;return _0x2ce305?this[_0x4c9534(0x159)](_0x2ce305,'rank'):_0x2ce305;}['sortRecordByField'](_0x5bd915,_0x5cc8b3){const _0x535b25=a0_0x3e0044;return _0x5bd915[_0x535b25(0xfc)]((_0x369d9b,_0x1bb218)=>_0x369d9b[_0x5cc8b3]-_0x1bb218[_0x5cc8b3]),_0x5bd915;}}customElements[a0_0x3e0044(0x101)](a0_0x3e0044(0x136),MetaGeneratorPage);function a0_0x1234(){const _0x3a97a7=['toUpperCase','studioPermission','7116FuFxeL','grid_config','back','options',':checked','list','selectedIndex','details','parse','etc_config','rank','map','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20','sortRecordByField','save','shadowRoot','style','ConfigTabConfig','value','dirtyData','desc','dec','graphql','thumbnail','getConfigTab','template','tab_config','refresh','type','pageUpdated','updateMultipleMenu','query','params','grid_emphasized_config','ConfigTab','tLabel','2264867QCgite','295vlYJFo','hidden','tTitle','grid','147000broYSa','properties','sort','search_config','radio','filter','tagName','define','initData','setTabData','stringify','rep_field','active','deleteRow','sortRecordByRank','icon','menuName','findOne','form_config','sorters','includes','fields','15eOLlGZ','gridEmphasized','button','remove','lifecycle','menuId','name','currentTabKey','display:none','toLowerCase','437801oPhJio','backToMenu','styles','set','search','records','metaTemplate','graphql_config','option','column','dataStorage','12737ytXzVz','filters','getState','tButton','error','data','153484Qiuwov','push','tabData','sort_rank','menu_config','pageInitialized','forEach','length','getElementById','display:flex','querySelector','meta-generator-page','menu','ConfigTabValues','detail_field','keys','operatoTools','get','ox-grist','getElementValueById','bind','10IcuKMo','2VMtfEz','column_config','convertFirstCharUpperCase','121734olyVLe','charAt','button_config','dispatchEvent','notify','render'];a0_0x1234=function(){return _0x3a97a7;};return a0_0x1234();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
2
|
-
<ox-grist auto-fetch id="search-tab-grid" .config=${this[
|
|
3
|
-
.fetchHandler=${this[
|
|
4
|
-
</ox-grist>`;}get[
|
|
1
|
+
const a0_0x2fd5b7=a0_0x1246;(function(_0x5385c4,_0x2718e4){const _0x48bd29=a0_0x1246,_0x1b0b8f=_0x5385c4();while(!![]){try{const _0x15ee3b=parseInt(_0x48bd29(0x8f))/0x1+-parseInt(_0x48bd29(0x97))/0x2+parseInt(_0x48bd29(0x7c))/0x3*(-parseInt(_0x48bd29(0x84))/0x4)+parseInt(_0x48bd29(0x8d))/0x5*(-parseInt(_0x48bd29(0xa3))/0x6)+parseInt(_0x48bd29(0x7d))/0x7*(parseInt(_0x48bd29(0x9f))/0x8)+parseInt(_0x48bd29(0x9d))/0x9*(parseInt(_0x48bd29(0xa4))/0xa)+-parseInt(_0x48bd29(0x94))/0xb*(-parseInt(_0x48bd29(0x83))/0xc);if(_0x15ee3b===_0x2718e4)break;else _0x1b0b8f['push'](_0x1b0b8f['shift']());}catch(_0x30c030){_0x1b0b8f['push'](_0x1b0b8f['shift']());}}}(a0_0x3c70,0xe086b));import{html}from'lit-element';function a0_0x3c70(){const _0x440b5a=['search','push','button','boolean','13353043syYyGy','value','renderSearchConfigTab','3354360knTFRo','right','filters','getGristGuttersConfig','fetch','object','3573JfWyOl','integer','6462304bgDMDq','filter','string','getCodeSelectorData','2897976ePxkLR','20560egmukg','querySelector','sortRecordByRank','FILTER_OPERATORS','name','hidden','map','default_value','getSearchConfigTabValues','gutter','center','assign','tLabel','12LnHedr','7Qebpfo','select','forEach','searchTabGrist','operator','left','24VmcPLh','56380pngtbF','setSearchConfigTabValues','bind','delete','gql','query','rank','search-tab-grid','searchTabGridConfig','15uAXaLp','viewSearchData','50361fHvUAX'];a0_0x3c70=function(){return _0x440b5a;};return a0_0x3c70();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x1246(_0x44c7fc,_0x1ecd80){const _0x3c70f6=a0_0x3c70();return a0_0x1246=function(_0x124655,_0x4a31f7){_0x124655=_0x124655-0x7c;let _0x3d235f=_0x3c70f6[_0x124655];return _0x3d235f;},a0_0x1246(_0x44c7fc,_0x1ecd80);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x4e1b7b=>class extends _0x4e1b7b{[a0_0x2fd5b7(0x85)](_0x29ff55){const _0x2361f6=a0_0x2fd5b7;let _0x498f4c=_0x29ff55?.[_0x2361f6(0xaa)]((_0x199454,_0x19a065)=>{const _0x685dc4=_0x2361f6;let _0x3a294b=_0x19a065+0x1,_0x3fbed5={};return _0x685dc4(0x9c)==typeof _0x199454?Object[_0x685dc4(0xaf)](_0x3fbed5,_0x199454):(_0x3fbed5[_0x685dc4(0xa8)]=_0x199454,_0x3fbed5[_0x685dc4(0x81)]=_0x685dc4(0xa0)),_0x3fbed5[_0x685dc4(0x8a)]=0xa*_0x3a294b,_0x3fbed5['id']=_0x3a294b,_0x3fbed5;});this[_0x2361f6(0x8e)]=_0x498f4c||[],this['searchTabGrist']?.[_0x2361f6(0x9b)]();}[a0_0x2fd5b7(0xac)](){const _0x40b085=a0_0x2fd5b7;let _0x28999f={'search':[],'gql':{'query':{'filters':[]}}},_0x317d65=this['getElementValueById'](_0x40b085(0x8b));return this[_0x40b085(0xa6)](_0x317d65)?.[_0x40b085(0x7f)](_0xa41edb=>{const _0x84a8e9=_0x40b085;var {name:_0x53945f,operator:_0x185ef5='eq',hidden:_0xcfd5f0=!0x1,value:_0x22f677}=_0xa41edb;if(_0x53945f){if(_0x84a8e9(0xa0)==_0x185ef5)_0x28999f[_0x84a8e9(0x90)][_0x84a8e9(0x91)](_0x53945f);else{let _0x1bb352={'name':_0x53945f,'operator':_0x185ef5};0x1==_0xcfd5f0?(_0x1bb352[_0x84a8e9(0x95)]=_0x22f677,_0x28999f[_0x84a8e9(0x88)][_0x84a8e9(0x89)][_0x84a8e9(0x99)][_0x84a8e9(0x91)](_0x1bb352)):(_0x1bb352['value']=_0x22f677,_0x28999f[_0x84a8e9(0x90)][_0x84a8e9(0x91)](_0x1bb352));}}}),_0x28999f;}[a0_0x2fd5b7(0x96)](){const _0x4e2508=a0_0x2fd5b7;return html`
|
|
2
|
+
<ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x4e2508(0x8c)]} .mode='GRID'
|
|
3
|
+
.fetchHandler=${this['fetchSearchTabHandler'][_0x4e2508(0x86)](this)}>
|
|
4
|
+
</ox-grist>`;}get['searchTabGrist'](){const _0x1f8a4b=a0_0x2fd5b7;return this['shadowRoot'][_0x1f8a4b(0xa5)]('#search-tab-grid');}async['fetchSearchTabHandler'](){const _0x13693e=a0_0x2fd5b7;return{'total':0x0,'records':this[_0x13693e(0x8e)]||[]};}async['setSearchConfigTabConfig'](){const _0x19a35e=a0_0x2fd5b7;let _0x20ffc8=await MetaApi[_0x19a35e(0xa2)](_0x19a35e(0xa7));this[_0x19a35e(0x8c)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x19a35e(0x8a),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x19a35e(0x9a)](!0x1,!0x1),{'type':_0x19a35e(0xad),'gutterName':_0x19a35e(0x92),'icon':_0x19a35e(0x87),'handlers':{'click':(_0x21e0c3,_0x1f11c5,_0x363e20,_0x27ab17,_0x365fae)=>{const _0x117ceb=_0x19a35e;_0x27ab17['id']&&this['deleteRow'](this[_0x117ceb(0x80)],_0x27ab17);}}},{'type':_0x19a35e(0xa1),'name':'id','hidden':!0x0},{'type':_0x19a35e(0x9e),'name':'rank','header':TermsUtil[_0x19a35e(0xb0)]('rank'),'sortable':!0x1,'width':0x32,'record':{'align':_0x19a35e(0x98),'editable':!0x0,'mandatory':!0x0}},{'type':_0x19a35e(0xa1),'name':_0x19a35e(0xa8),'header':TermsUtil[_0x19a35e(0xb0)]('name'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x19a35e(0x82),'editable':!0x0,'mandatory':!0x0}},{'type':_0x19a35e(0x7e),'name':_0x19a35e(0x81),'header':TermsUtil['tLabel']('search_operator'),'sortable':!0x1,'width':0x64,'record':{'align':_0x19a35e(0x82),'editable':!0x0,'mandatory':!0x1,'options':_0x20ffc8}},{'type':_0x19a35e(0x93),'name':_0x19a35e(0xa9),'header':TermsUtil[_0x19a35e(0xb0)](_0x19a35e(0xa9)),'sortable':!0x1,'width':0x37,'record':{'align':_0x19a35e(0xae),'mandatory':!0x1,'editable':!0x0}},{'type':_0x19a35e(0xa1),'name':_0x19a35e(0x95),'header':TermsUtil[_0x19a35e(0xb0)](_0x19a35e(0xab)),'sortable':!0x1,'width':0x2ee,'record':{'align':_0x19a35e(0x82),'editable':!0x0,'mandatory':!0x1}}]};}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
<ox-grist auto-fetch id="tab-tab-grid" .config=${this[
|
|
3
|
-
.fetchHandler=${this[
|
|
4
|
-
</ox-grist>`;}get['tabTabGrist'](){const
|
|
1
|
+
const a0_0x43d070=a0_0x1eb9;(function(_0x251334,_0x7332aa){const _0x20269e=a0_0x1eb9,_0x5bb2f6=_0x251334();while(!![]){try{const _0x26e400=-parseInt(_0x20269e(0xe5))/0x1+-parseInt(_0x20269e(0xf1))/0x2*(parseInt(_0x20269e(0xec))/0x3)+parseInt(_0x20269e(0xd8))/0x4*(parseInt(_0x20269e(0xf7))/0x5)+-parseInt(_0x20269e(0xe1))/0x6+-parseInt(_0x20269e(0xdb))/0x7*(parseInt(_0x20269e(0x106))/0x8)+parseInt(_0x20269e(0xde))/0x9*(parseInt(_0x20269e(0xda))/0xa)+parseInt(_0x20269e(0xf0))/0xb;if(_0x26e400===_0x7332aa)break;else _0x5bb2f6['push'](_0x5bb2f6['shift']());}catch(_0x34af5f){_0x5bb2f6['push'](_0x5bb2f6['shift']());}}}(a0_0xe63b,0x8f3f8));import{html}from'lit-element';function a0_0x1eb9(_0x30c4e7,_0x27aa5e){const _0xe63b7a=a0_0xe63b();return a0_0x1eb9=function(_0x1eb950,_0x117658){_0x1eb950=_0x1eb950-0xd6;let _0x53bff2=_0xe63b7a[_0x1eb950];return _0x53bff2;},a0_0x1eb9(_0x30c4e7,_0x27aa5e);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x34ba04=>class extends _0x34ba04{[a0_0x43d070(0xe2)](_0x47b73f){const _0x15ac72=a0_0x43d070;let _0x56883a=_0x47b73f?.[_0x15ac72(0xee)]((_0x16a490,_0x255c39)=>{const _0x3e51ea=_0x15ac72;let _0x4244ef=_0x255c39+0x1,_0x25c2e3={};return _0x25c2e3[_0x3e51ea(0xe8)]=0xa*_0x4244ef,_0x25c2e3['id']=_0x4244ef,_0x25c2e3[_0x3e51ea(0xd6)]=_0x16a490[_0x3e51ea(0xd6)],_0x25c2e3['display']=_0x16a490[_0x3e51ea(0xe3)],_0x25c2e3[_0x3e51ea(0x101)]=_0x16a490['tagname'],_0x25c2e3[_0x3e51ea(0xf3)]=_0x16a490[_0x3e51ea(0xf3)],_0x25c2e3[_0x3e51ea(0xf2)]=_0x16a490[_0x3e51ea(0xf2)],_0x25c2e3[_0x3e51ea(0xd9)]=_0x16a490[_0x3e51ea(0xd9)],_0x25c2e3[_0x3e51ea(0xfd)]=_0x16a490['param_field'],_0x25c2e3[_0x3e51ea(0xf8)]=_0x16a490[_0x3e51ea(0xf8)],_0x25c2e3;});this[_0x15ac72(0xed)]=_0x56883a||[],this[_0x15ac72(0xe6)]?.[_0x15ac72(0xea)]();}['getTabConfigTabValues'](){const _0x47873c=a0_0x43d070;let _0x557c1e={'tab':[]},_0x58fe02=this[_0x47873c(0xeb)](_0x47873c(0xdd));return this[_0x47873c(0xf9)](_0x58fe02)?.[_0x47873c(0x102)](_0x3785de=>{const _0x328b1f=_0x47873c;var {name:_0x5af231,display:_0x2bc1b2,tagname:_0x2bd263,location:_0x3b7b41,parent_field:_0x4eb347,param_field:_0x5f5b1d,menu:_0x244ba8,icon:_0x2d7ed5}=_0x3785de;_0x5af231&&_0x2bd263&&_0x3b7b41&&_0x244ba8&&(_0x2bc1b2||(_0x2bc1b2=_0x5af231),_0x4eb347||(_0x4eb347='id'),_0x5f5b1d||(_0x5f5b1d='param_field'),_0x557c1e['tab'][_0x328b1f(0xdc)]({'name':_0x5af231,'display':_0x2bc1b2,'tagname':_0x2bd263,'location':_0x3b7b41,'parent_field':_0x4eb347,'param_field':_0x5f5b1d,'menu':_0x244ba8,'icon':_0x2d7ed5}));}),_0x557c1e;}[a0_0x43d070(0x104)](){const _0x37e7a9=a0_0x43d070;return html`
|
|
2
|
+
<ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x37e7a9(0x103)]} .mode='GRID'
|
|
3
|
+
.fetchHandler=${this[_0x37e7a9(0xe0)]['bind'](this)}>
|
|
4
|
+
</ox-grist>`;}get['tabTabGrist'](){const _0x4eecdb=a0_0x43d070;return this[_0x4eecdb(0xdf)]['querySelector']('#tab-tab-grid');}async[a0_0x43d070(0xe0)](){const _0x2d1633=a0_0x43d070;return{'total':0x0,'records':this[_0x2d1633(0xed)]||[]};}async[a0_0x43d070(0xf5)](){const _0x23de13=a0_0x43d070;this['tabTabGridConfig']={'rows':MetaApi[_0x23de13(0x100)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x23de13(0xd7)](!0x1,!0x1),{'type':_0x23de13(0xfa),'gutterName':_0x23de13(0xfc),'icon':_0x23de13(0xf4),'handlers':{'click':(_0x4e307b,_0xac1d3d,_0x13f87e,_0x3bc661,_0x2dff0f)=>{_0x3bc661['id']&&this['deleteRow'](this['tabTabGrist'],_0x3bc661);}}},{'type':_0x23de13(0xe7),'name':'id','hidden':!0x0},{'type':_0x23de13(0xe9),'name':_0x23de13(0xe8),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xe8)),'sortable':!0x1,'width':0x32,'record':{'align':_0x23de13(0xfb),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0xd6),'header':TermsUtil[_0x23de13(0xfe)]('name'),'sortable':!0x1,'width':0x6e,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23de13(0xe3),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xe3)),'sortable':!0x1,'width':0x6e,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':'icon','header':TermsUtil['tLabel'](_0x23de13(0xf3)),'sortable':!0x0,'width':0x55,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0xf8),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0x105)),'sortable':!0x1,'width':0x96,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0x101),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xef)),'sortable':!0x1,'width':0x96,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23de13(0xf2),'header':TermsUtil['tLabel']('page_location'),'sortable':!0x1,'width':0x145,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0xd9),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xf6)),'sortable':!0x1,'width':0x64,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23de13(0xfd),'header':TermsUtil['tLabel'](_0x23de13(0xe4)),'sortable':!0x1,'width':0x5a,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}}]};}};function a0_0xe63b(){const _0x9203ef=['5RRlIPe','menu','sortRecordByRank','gutter','right','button','param_field','tLabel','left','getGristSelectableConfig','tagname','forEach','tabTabGridConfig','renderTabConfigTab','routing','48zLvrnz','name','getGristGuttersConfig','2721316rqfYeZ','parent_field','50gzAXIs','169925fRnPhu','push','tab-tab-grid','1869561AjSCqE','shadowRoot','fetchTabTabHandler','4401414AcXTae','setTabConfigTabValues','display','params','940438cRCCeU','tabTabGrist','string','rank','integer','fetch','getElementValueById','84087ThCrYM','viewTabData','map','tag','12186482lrmgbk','30mRhzmX','location','icon','delete','setTabConfigTabConfig','parent_id'];a0_0xe63b=function(){return _0x9203ef;};return a0_0xe63b();}
|