@things-factory/operato-tools 6.1.29 → 6.1.30

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,62 +1,62 @@
1
- function a0_0x5ce6(){const _0x207ae0=['4255986VbMQEK','CARD','LIST','grid_use_row_check','grid_term_100','getElementValueById','list_view_use','9eSpHBx','support','2032752iygdXu','8978453vlGwBD','grid_term_50','5326ZFDQIK','true','grid_pagination','grid_multi_select','setGridConfigTabDetaultValues','setGridConfigTabConfig','gridViewModes','row','push','grid_term_unlimited','viewGridData','grid_row_check_use','codeItems','use_filter_form','tLabel','renderGridConfigTab','setGridConfigTabValues','description','unuse','5HZvCQR','grid_term_default','option','64045KBMVoD','multiple_select','grid_desk_view','select-row-toggle','mobile_mode','grid_mobile_view','grid_use_filter','8TflBOn','_view_use','length','name','map','189CaMhCs','GRID','gridPageOptions','getGridConfigTabValues','6269570DBXoeE','842191xvnaUe','use','card_view_use','unlimited','GRID_PAGE_OPTIONS','pages','view_mode','desk_mode','use_row_checker','toLowerCase','includes','grid'];a0_0x5ce6=function(){return _0x207ae0;};return a0_0x5ce6();}const a0_0x4c9c48=a0_0x57ed;(function(_0x2afa19,_0x248239){const _0x4c2ac4=a0_0x57ed,_0x43a1a7=_0x2afa19();while(!![]){try{const _0x3589b7=parseInt(_0x4c2ac4(0x88))/0x1+parseInt(_0x4c2ac4(0xb1))/0x2*(parseInt(_0x4c2ac4(0x94))/0x3)+-parseInt(_0x4c2ac4(0xae))/0x4+-parseInt(_0x4c2ac4(0x85))/0x5*(-parseInt(_0x4c2ac4(0xa5))/0x6)+parseInt(_0x4c2ac4(0x99))/0x7*(parseInt(_0x4c2ac4(0x8f))/0x8)+parseInt(_0x4c2ac4(0xac))/0x9*(parseInt(_0x4c2ac4(0x98))/0xa)+-parseInt(_0x4c2ac4(0xaf))/0xb;if(_0x3589b7===_0x248239)break;else _0x43a1a7['push'](_0x43a1a7['shift']());}catch(_0x301f8b){_0x43a1a7['push'](_0x43a1a7['shift']());}}}(a0_0x5ce6,0x58de4));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';function a0_0x57ed(_0x3e695f,_0x2aa1d0){const _0x5ce63e=a0_0x5ce6();return a0_0x57ed=function(_0x57ed6c,_0x1da63c){_0x57ed6c=_0x57ed6c-0x76;let _0x4f95f2=_0x5ce63e[_0x57ed6c];return _0x4f95f2;},a0_0x57ed(_0x3e695f,_0x2aa1d0);}export const GridConfigTabMixin=_0x582b65=>class extends _0x582b65{[a0_0x4c9c48(0x82)](_0x2defa7){const _0x5de119=a0_0x4c9c48;if(_0x2defa7){var {mobile_mode:_0x2e03fa='',desk_mode:_0x54523c='',pages:_0x12abcb=[],use_row_checker:_0x55bcd6=!0x0,view_mode:_0x39eec4=[]}=_0x2defa7[_0x5de119(0x87)]||{};let _0x338240=(_0x2defa7[_0x5de119(0x79)]||{'multiple_select':!0x1})['multiple_select'],_0x554ff0=_0x5de119(0x9c)==_0x12abcb?_0x5de119(0x7b):0x0==_0x12abcb[_0x5de119(0x91)]?'':0x14==_0x12abcb[0x0]?_0x5de119(0x86):'grid_term_'+_0x12abcb[0x0];this[_0x5de119(0x7c)]={'mobile_mode':_0x2e03fa,'desk_mode':_0x54523c,'use_row_checker':_0x55bcd6,'pages':_0x554ff0,'view_mode':_0x39eec4,'multiple_select':_0x338240,'use_filter_form':_0x2defa7[_0x5de119(0x7f)]};}else this[_0x5de119(0x76)]();}[a0_0x4c9c48(0x97)](){const _0x2da212=a0_0x4c9c48;let _0x291bf0={'grid':{'option':{},'row':{'click':_0x2da212(0x8b)}}},_0x14bcfd=this['getElementValueById'](_0x2da212(0x7d)),_0x141bcb=this[_0x2da212(0xaa)](_0x2da212(0xb4)),_0x1985b1=this[_0x2da212(0xaa)](_0x2da212(0x8a)),_0x3c1e7d=this[_0x2da212(0xaa)](_0x2da212(0x8d)),_0xc658b=this[_0x2da212(0xaa)](_0x2da212(0x8e)),_0x1b7d7f=this[_0x2da212(0xaa)](_0x2da212(0xb3)),_0x459773=this['getElementValueById']('grid_view_use'),_0x427abe=this[_0x2da212(0xaa)](_0x2da212(0xab)),_0x22d586=this['getElementValueById'](_0x2da212(0x9b));return _0x291bf0[_0x2da212(0xa4)]['use_filter_form']=_0x2da212(0xb2)==_0xc658b,_0x291bf0[_0x2da212(0xa4)]['row'][_0x2da212(0x89)]='true'==_0x141bcb,_0x291bf0[_0x2da212(0xa4)][_0x2da212(0x87)]['use_row_checker']=_0x2da212(0xb2)==_0x14bcfd,_0x291bf0[_0x2da212(0xa4)][_0x2da212(0x87)]['mobile_mode']=_0x3c1e7d,_0x291bf0[_0x2da212(0xa4)][_0x2da212(0x87)][_0x2da212(0xa0)]=_0x1985b1,_0x2da212(0x86)==_0x1b7d7f?_0x291bf0[_0x2da212(0xa4)][_0x2da212(0x87)][_0x2da212(0x9e)]=[0x14,0x1e,0x32,0x64]:_0x2da212(0xb0)==_0x1b7d7f?_0x291bf0[_0x2da212(0xa4)]['option'][_0x2da212(0x9e)]=[0x32,0x64,0x1f4,0x3e8]:_0x2da212(0xa9)==_0x1b7d7f?_0x291bf0['grid'][_0x2da212(0x87)][_0x2da212(0x9e)]=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0x1b7d7f?_0x291bf0[_0x2da212(0xa4)][_0x2da212(0x87)][_0x2da212(0x9e)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x2da212(0x7b)==_0x1b7d7f&&(_0x291bf0['grid'][_0x2da212(0x87)]['pages']=_0x2da212(0x9c)),_0x291bf0[_0x2da212(0xa4)][_0x2da212(0x87)][_0x2da212(0x9f)]=[],_0x2da212(0xb2)==_0x459773&&_0x291bf0[_0x2da212(0xa4)][_0x2da212(0x87)][_0x2da212(0x9f)][_0x2da212(0x7a)](_0x2da212(0x95)),_0x2da212(0xb2)==_0x427abe&&_0x291bf0[_0x2da212(0xa4)]['option']['view_mode'][_0x2da212(0x7a)]('LIST'),'true'==_0x22d586&&_0x291bf0['grid']['option']['view_mode']['push'](_0x2da212(0xa6)),_0x291bf0;}async[a0_0x4c9c48(0x77)](){const _0x3f52e1=a0_0x4c9c48;let _0x5c37c0=await MetaApi[_0x3f52e1(0x7e)](_0x3f52e1(0x9d)),_0x4eecf2=await MetaApi[_0x3f52e1(0x7e)]('GRID_VIEW_MODE');this[_0x3f52e1(0x78)]=_0x4eecf2,this[_0x3f52e1(0x96)]=_0x5c37c0;}[a0_0x4c9c48(0x76)](){const _0x2ad305=a0_0x4c9c48;this[_0x2ad305(0x7c)]||(this[_0x2ad305(0x7c)]={'mobile_mode':this[_0x2ad305(0x78)]?this[_0x2ad305(0x78)][0x1]:_0x2ad305(0xa7),'desk_mode':this[_0x2ad305(0x78)]?this['gridViewModes'][0x0]:_0x2ad305(0x95),'use_row_checker':!0x0,'pages':_0x2ad305(0x86),'view_mode':[...this[_0x2ad305(0x78)]?this[_0x2ad305(0x78)]:[_0x2ad305(0x95),'LIST','CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x4c9c48(0x81)](){const _0x449057=a0_0x4c9c48;return this[_0x449057(0x76)](),html`
1
+ const a0_0x4888c1=a0_0x4f64;(function(_0x381514,_0x144931){const _0x52dd99=a0_0x4f64,_0x192711=_0x381514();while(!![]){try{const _0x1c0ecb=parseInt(_0x52dd99(0x14f))/0x1+parseInt(_0x52dd99(0x16f))/0x2*(parseInt(_0x52dd99(0x17a))/0x3)+parseInt(_0x52dd99(0x160))/0x4+-parseInt(_0x52dd99(0x162))/0x5*(parseInt(_0x52dd99(0x153))/0x6)+-parseInt(_0x52dd99(0x175))/0x7+-parseInt(_0x52dd99(0x179))/0x8*(-parseInt(_0x52dd99(0x17e))/0x9)+-parseInt(_0x52dd99(0x155))/0xa*(parseInt(_0x52dd99(0x14a))/0xb);if(_0x1c0ecb===_0x144931)break;else _0x192711['push'](_0x192711['shift']());}catch(_0x5ef7a8){_0x192711['push'](_0x192711['shift']());}}}(a0_0x522f,0xc6a86));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x4f64(_0x271699,_0x1d37d0){const _0x522fc4=a0_0x522f();return a0_0x4f64=function(_0x4f64f3,_0x1ed842){_0x4f64f3=_0x4f64f3-0x144;let _0x3dcbec=_0x522fc4[_0x4f64f3];return _0x3dcbec;},a0_0x4f64(_0x271699,_0x1d37d0);}function a0_0x522f(){const _0x2b15ca=['pages','push','grid_term_unlimited','view_mode','setGridConfigTabValues','_view_use','unuse','card_view_use','GRID_VIEW_MODE','setGridConfigTabConfig','1129128uToTCB','grid_desk_view','2453485cHZDGz','length','codeItems','unlimited','toLowerCase','grid_mobile_view','grid_use_filter','gridPageOptions','viewGridData','grid','grid_support_multi_select','option','CARD','58uraZzd','use_row_checker','grid_term_default','description','use','grid_term_100','9884378FuvBfC','true','GRID','mobile_mode','56JdVEFL','150648wBTFWj','gridViewModes','desk_mode','grid_term_50','1634751rMaqJS','grid_pagination','multiple_select','grid_multi_select','LIST','setGridConfigTabDetaultValues','grid_use_row_check','GRID_PAGE_OPTIONS','map','use_filter_form','187869TaQuFW','tLabel','includes','name','row','492068oIKfUH','grid_view_use','grid_term_','getElementValueById','6zSQusD','grid_row_check_use','460yJJrRs'];a0_0x522f=function(){return _0x2b15ca;};return a0_0x522f();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0x147c2e=>class extends _0x147c2e{[a0_0x4888c1(0x15a)](_0x3cafdc){const _0x2786f0=a0_0x4888c1;if(_0x3cafdc){var {mobile_mode:_0x100649='',desk_mode:_0x4eaf08='',pages:_0x2336d3=[],use_row_checker:_0xc78e07=!0x0,view_mode:_0x23e6df=[]}=_0x3cafdc[_0x2786f0(0x16d)]||{};let _0x36b1d6=(_0x3cafdc['row']||{'multiple_select':!0x1})[_0x2786f0(0x180)],_0x1c9a56=_0x2786f0(0x165)==_0x2336d3?_0x2786f0(0x158):0x0==_0x2336d3[_0x2786f0(0x163)]?'':0x14==_0x2336d3[0x0]?'grid_term_default':_0x2786f0(0x151)+_0x2336d3[0x0];this['viewGridData']={'mobile_mode':_0x100649,'desk_mode':_0x4eaf08,'use_row_checker':_0xc78e07,'pages':_0x1c9a56,'view_mode':_0x23e6df,'multiple_select':_0x36b1d6,'use_filter_form':_0x3cafdc[_0x2786f0(0x149)]};}else this['setGridConfigTabDetaultValues']();}['getGridConfigTabValues'](){const _0x2d9486=a0_0x4888c1;let _0x542bd0={'grid':{'option':{},'row':{'click':'select-row-toggle'}}},_0x50e987=this[_0x2d9486(0x152)](_0x2d9486(0x154)),_0x5db5d9=this[_0x2d9486(0x152)](_0x2d9486(0x181)),_0x2dfb16=this[_0x2d9486(0x152)](_0x2d9486(0x161)),_0x172952=this[_0x2d9486(0x152)](_0x2d9486(0x167)),_0x6f50b=this[_0x2d9486(0x152)](_0x2d9486(0x168)),_0x5f0fb7=this[_0x2d9486(0x152)](_0x2d9486(0x17f)),_0x4845ca=this['getElementValueById'](_0x2d9486(0x150)),_0xac0386=this[_0x2d9486(0x152)]('list_view_use'),_0x1290fe=this['getElementValueById'](_0x2d9486(0x15d));return _0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x149)]='true'==_0x6f50b,_0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x14e)][_0x2d9486(0x180)]=_0x2d9486(0x176)==_0x5db5d9,_0x542bd0[_0x2d9486(0x16b)]['option'][_0x2d9486(0x170)]=_0x2d9486(0x176)==_0x50e987,_0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x16d)][_0x2d9486(0x178)]=_0x172952,_0x542bd0[_0x2d9486(0x16b)]['option'][_0x2d9486(0x17c)]=_0x2dfb16,'grid_term_default'==_0x5f0fb7?_0x542bd0[_0x2d9486(0x16b)]['option'][_0x2d9486(0x156)]=[0x14,0x1e,0x32,0x64]:_0x2d9486(0x17d)==_0x5f0fb7?_0x542bd0[_0x2d9486(0x16b)]['option']['pages']=[0x32,0x64,0x1f4,0x3e8]:_0x2d9486(0x174)==_0x5f0fb7?_0x542bd0['grid']['option'][_0x2d9486(0x156)]=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0x5f0fb7?_0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x16d)][_0x2d9486(0x156)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x2d9486(0x158)==_0x5f0fb7&&(_0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x16d)][_0x2d9486(0x156)]=_0x2d9486(0x165)),_0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x16d)][_0x2d9486(0x159)]=[],_0x2d9486(0x176)==_0x4845ca&&_0x542bd0['grid'][_0x2d9486(0x16d)][_0x2d9486(0x159)]['push'](_0x2d9486(0x177)),_0x2d9486(0x176)==_0xac0386&&_0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x16d)][_0x2d9486(0x159)][_0x2d9486(0x157)](_0x2d9486(0x144)),_0x2d9486(0x176)==_0x1290fe&&_0x542bd0[_0x2d9486(0x16b)][_0x2d9486(0x16d)][_0x2d9486(0x159)]['push'](_0x2d9486(0x16e)),_0x542bd0;}async[a0_0x4888c1(0x15f)](){const _0x1408cb=a0_0x4888c1;let _0x19ec9e=await MetaApi[_0x1408cb(0x164)](_0x1408cb(0x147)),_0x551101=await MetaApi['codeItems'](_0x1408cb(0x15e));this[_0x1408cb(0x17b)]=_0x551101,this[_0x1408cb(0x169)]=_0x19ec9e;}[a0_0x4888c1(0x145)](){const _0xcc8cd=a0_0x4888c1;this['viewGridData']||(this[_0xcc8cd(0x16a)]={'mobile_mode':this[_0xcc8cd(0x17b)]?this[_0xcc8cd(0x17b)][0x1]:_0xcc8cd(0x144),'desk_mode':this['gridViewModes']?this[_0xcc8cd(0x17b)][0x0]:_0xcc8cd(0x177),'use_row_checker':!0x0,'pages':_0xcc8cd(0x171),'view_mode':[...this[_0xcc8cd(0x17b)]?this[_0xcc8cd(0x17b)]:['GRID',_0xcc8cd(0x144),'CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}['renderGridConfigTab'](){const _0x4d8e48=a0_0x4888c1;return this[_0x4d8e48(0x145)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x449057(0x80)](_0x449057(0xa8))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x146))}
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[_0x449057(0x7c)][_0x449057(0xa1)]}>${TermsUtil['tLabel']('use')}</input>
10
+ ?checked=${this[_0x4d8e48(0x16a)][_0x4d8e48(0x170)]}>${TermsUtil[_0x4d8e48(0x14b)]('use')}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this[_0x449057(0x7c)][_0x449057(0xa1)]}>${TermsUtil['tLabel'](_0x449057(0x84))}</input>
12
+ ?checked=${!this[_0x4d8e48(0x16a)][_0x4d8e48(0x170)]}>${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x15c))}</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[_0x449057(0x80)]('grid_support_multi_select')}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x16c))}
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[_0x449057(0x7c)][_0x449057(0x89)]}>${TermsUtil[_0x449057(0x80)](_0x449057(0xad))}</input>
23
+ ?checked=${this[_0x4d8e48(0x16a)]['multiple_select']}>${TermsUtil[_0x4d8e48(0x14b)]('support')}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this['viewGridData'][_0x449057(0x89)]}>${TermsUtil[_0x449057(0x80)]('unsupport')}</input>
25
+ ?checked=${!this[_0x4d8e48(0x16a)]['multiple_select']}>${TermsUtil['tLabel']('unsupport')}</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'](_0x449057(0x8e))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('grid_use_filter')}
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[_0x449057(0x7c)][_0x449057(0x7f)]}>${TermsUtil[_0x449057(0x80)](_0x449057(0x9a))}</input>
36
+ ?checked=${this['viewGridData'][_0x4d8e48(0x149)]}>${TermsUtil['tLabel'](_0x4d8e48(0x173))}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this['viewGridData']['use_filter_form']}>${TermsUtil['tLabel']('unuse')}</input>
38
+ ?checked=${!this[_0x4d8e48(0x16a)][_0x4d8e48(0x149)]}>${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x15c))}</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[_0x449057(0x80)]('grid_desk_view')}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x161))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this[_0x449057(0x78)]?.[_0x449057(0x93)](_0x4468de=>html`<option value=${_0x4468de['name']} ?selected=${this[_0x449057(0x7c)][_0x449057(0xa0)]==_0x4468de[_0x449057(0x92)]}>${_0x4468de[_0x449057(0x83)]}</option>`)}
49
+ ${this[_0x4d8e48(0x17b)]?.[_0x4d8e48(0x148)](_0x25d56a=>html`<option value=${_0x25d56a['name']} ?selected=${this[_0x4d8e48(0x16a)]['desk_mode']==_0x25d56a[_0x4d8e48(0x14d)]}>${_0x25d56a['description']}</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[_0x449057(0x80)]('grid_mobile_view')}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4d8e48(0x14b)]('grid_mobile_view')}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this['gridViewModes']?.[_0x449057(0x93)](_0x310ac3=>html`<option value=${_0x310ac3[_0x449057(0x92)]} ?selected=${this[_0x449057(0x7c)][_0x449057(0x8c)]==_0x310ac3['name']}>${_0x310ac3[_0x449057(0x83)]}</option>`)}
59
+ ${this['gridViewModes']?.[_0x4d8e48(0x148)](_0xf26e2e=>html`<option value=${_0xf26e2e[_0x4d8e48(0x14d)]} ?selected=${this[_0x4d8e48(0x16a)]['mobile_mode']==_0xf26e2e[_0x4d8e48(0x14d)]}>${_0xf26e2e[_0x4d8e48(0x172)]}</option>`)}
60
60
  </select>
61
61
  </label>
62
62
  </div>
@@ -65,22 +65,22 @@ function a0_0x5ce6(){const _0x207ae0=['4255986VbMQEK','CARD','LIST','grid_use_ro
65
65
  <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('grid_support_view')}
66
66
  </h2>
67
67
  <label>
68
- ${this[_0x449057(0x78)]?.[_0x449057(0x93)](_0x44e7a0=>html`
69
- <span>${_0x44e7a0[_0x449057(0x92)]}
70
- <input type="radio" name=${_0x44e7a0['name'][_0x449057(0xa2)]()+_0x449057(0x90)} id=${_0x44e7a0[_0x449057(0x92)][_0x449057(0xa2)]()+_0x449057(0x90)} ?checked=${this[_0x449057(0x7c)][_0x449057(0x9f)][_0x449057(0xa3)](_0x44e7a0[_0x449057(0x92)])} value="true">${TermsUtil[_0x449057(0x80)](_0x449057(0x9a))}</input>
71
- <input type="radio" name=${_0x44e7a0['name'][_0x449057(0xa2)]()+_0x449057(0x90)} id=${_0x44e7a0[_0x449057(0x92)]['toLowerCase']()+_0x449057(0x90)} ?checked=${!this['viewGridData'][_0x449057(0x9f)][_0x449057(0xa3)](_0x44e7a0[_0x449057(0x92)])} value="false">${TermsUtil[_0x449057(0x80)](_0x449057(0x84))}</input>
68
+ ${this[_0x4d8e48(0x17b)]?.[_0x4d8e48(0x148)](_0x4dc1c6=>html`
69
+ <span>${_0x4dc1c6['name']}
70
+ <input type="radio" name=${_0x4dc1c6['name'][_0x4d8e48(0x166)]()+_0x4d8e48(0x15b)} id=${_0x4dc1c6[_0x4d8e48(0x14d)][_0x4d8e48(0x166)]()+_0x4d8e48(0x15b)} ?checked=${this['viewGridData'][_0x4d8e48(0x159)][_0x4d8e48(0x14c)](_0x4dc1c6[_0x4d8e48(0x14d)])} value="true">${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x173))}</input>
71
+ <input type="radio" name=${_0x4dc1c6[_0x4d8e48(0x14d)]['toLowerCase']()+'_view_use'} id=${_0x4dc1c6[_0x4d8e48(0x14d)][_0x4d8e48(0x166)]()+_0x4d8e48(0x15b)} ?checked=${!this['viewGridData'][_0x4d8e48(0x159)]['includes'](_0x4dc1c6['name'])} value="false">${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x15c))}</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[_0x449057(0x80)](_0x449057(0xb3))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4d8e48(0x14b)](_0x4d8e48(0x17f))}
79
79
  </h2>
80
80
  <label>
81
- ${this[_0x449057(0x96)]?.[_0x449057(0x93)](_0x2cf664=>html`
81
+ ${this[_0x4d8e48(0x169)]?.['map'](_0x20fb04=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x2cf664[_0x449057(0x92)]} ?checked=${this[_0x449057(0x7c)][_0x449057(0x9e)]==_0x2cf664['name']}>${TermsUtil['tLabel'](_0x2cf664['name'])}</input>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x20fb04[_0x4d8e48(0x14d)]} ?checked=${this[_0x4d8e48(0x16a)][_0x4d8e48(0x156)]==_0x20fb04[_0x4d8e48(0x14d)]}>${TermsUtil['tLabel'](_0x20fb04['name'])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
1
- const a0_0x1abe5d=a0_0x16c8;(function(_0x3ae27e,_0x42a32f){const _0x320f23=a0_0x16c8,_0x498580=_0x3ae27e();while(!![]){try{const _0x5284f7=parseInt(_0x320f23(0x124))/0x1*(-parseInt(_0x320f23(0x151))/0x2)+-parseInt(_0x320f23(0x145))/0x3*(parseInt(_0x320f23(0x13b))/0x4)+parseInt(_0x320f23(0x125))/0x5*(parseInt(_0x320f23(0x137))/0x6)+parseInt(_0x320f23(0x136))/0x7*(parseInt(_0x320f23(0x14d))/0x8)+-parseInt(_0x320f23(0x14c))/0x9+-parseInt(_0x320f23(0x12f))/0xa+-parseInt(_0x320f23(0x148))/0xb*(-parseInt(_0x320f23(0x127))/0xc);if(_0x5284f7===_0x42a32f)break;else _0x498580['push'](_0x498580['shift']());}catch(_0x325239){_0x498580['push'](_0x498580['shift']());}}}(a0_0x2b14,0x5dccc));import{html}from'lit-element';function a0_0x16c8(_0x1bf91c,_0x5772bc){const _0x2b1494=a0_0x2b14();return a0_0x16c8=function(_0x16c875,_0x445fc6){_0x16c875=_0x16c875-0x11d;let _0x10e347=_0x2b1494[_0x16c875];return _0x10e347;},a0_0x16c8(_0x1bf91c,_0x5772bc);}function a0_0x2b14(){const _0xe63ef1=['code-input','keys','102258aTZVYZ','40DgiXqS','columnEmphasizedConfig','setGridEmphasizedConfigTabDefaultValues','integer','2dtfcuj','delete','push','bind','GRID','map','shadowRoot','logic','font-color','fetch','278802IOGcwx','59405eUzbob','viewEmphasizedData','288DWSycI','fontColor','background-color','forEach','backgroundColor','getElementValueById','string','getGridEmphasizedConfigTabValues','7081010QpvtZE','rowEmphasizedData','right','#row-emphasized-grist','sortRecordByRank','emphasizedConfigTabRowEmphasizedGrist','fetchColumnEmphasized','12208JtwnHJ','156XEdVKh','querySelector','setGridEmphasizedConfigTabValues','columnEmphasizedData','44kYvyAQ','emphasizedConfigTabColumnEmphasizedGrist','#column-emphasized-grist','rowEmphasizedConfig','deleteRow','fetchRowEmphasized','rank','column','gutter','left','107853BSbQUp','getGristSelectableConfig','renderGridEmphasizedConfigTab','669306yQAdoR','tLabel'];a0_0x2b14=function(){return _0xe63ef1;};return a0_0x2b14();}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=_0xb2a0b5=>class extends _0xb2a0b5{[a0_0x1abe5d(0x139)](_0x1fac29){const _0x1c1384=a0_0x1abe5d;if(_0x1fac29){this[_0x1c1384(0x126)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0xf42b85=0x1;this['viewEmphasizedData'][_0x1c1384(0x130)]=(_0x1fac29['row']||[])[_0x1c1384(0x11f)](_0x4b2148=>({'id':_0xf42b85,'rank':_0xf42b85++,'backgroundColor':_0x4b2148['backgroundColor']||'','fontColor':_0x4b2148[_0x1c1384(0x128)]||'','logic':_0x4b2148[_0x1c1384(0x121)]||''})),_0xf42b85=0x1;let _0x211242=_0x1fac29[_0x1c1384(0x142)]||[];Object[_0x1c1384(0x14b)](_0x211242)[_0x1c1384(0x12a)](_0x43f3d7=>{const _0x55c321=_0x1c1384;let _0x1adfe2=_0x211242[_0x43f3d7]||[],_0x1c46f0=0x1;_0x1adfe2[_0x55c321(0x12a)](_0x310765=>{const _0x4be566=_0x55c321;this['viewEmphasizedData'][_0x4be566(0x13a)][_0x4be566(0x153)]({'id':_0xf42b85++,'rank':_0x1c46f0++,'column':_0x43f3d7,'backgroundColor':_0x310765[_0x4be566(0x12b)]||'','fontColor':_0x310765[_0x4be566(0x128)]||'','logic':_0x310765['logic']||''});});}),this[_0x1c1384(0x13c)]?.[_0x1c1384(0x123)](),this[_0x1c1384(0x134)]?.[_0x1c1384(0x123)]();}else this[_0x1c1384(0x14f)]();}[a0_0x1abe5d(0x12e)](){const _0x3bb5f1=a0_0x1abe5d;let _0x1ce637=this[_0x3bb5f1(0x12c)]('row-emphasized-grist'),_0x5e665f=this[_0x3bb5f1(0x12c)]('column-emphasized-grist'),_0x2ea6c5=[];this['sortRecordByRank'](_0x1ce637)?.['forEach'](_0x36c396=>{const _0x357bd3=_0x3bb5f1;_0x2ea6c5[_0x357bd3(0x153)]({'backgroundColor':_0x36c396[_0x357bd3(0x12b)],'fontColor':_0x36c396[_0x357bd3(0x128)],'logic':_0x36c396[_0x357bd3(0x121)]});});let _0x5cda63={};return this[_0x3bb5f1(0x133)](_0x5e665f)?.[_0x3bb5f1(0x12a)](_0x5cba7c=>{const _0x3bacf2=_0x3bb5f1;_0x5cda63[_0x5cba7c[_0x3bacf2(0x142)]]||(_0x5cda63[_0x5cba7c['column']]=[]),_0x5cda63[_0x5cba7c['column']]['push']({'backgroundColor':_0x5cba7c[_0x3bacf2(0x12b)],'fontColor':_0x5cba7c[_0x3bacf2(0x128)],'logic':_0x5cba7c[_0x3bacf2(0x121)]});}),{'gridEmphasized':{'row':_0x2ea6c5||[],'column':_0x5cda63||{}}};}get[a0_0x1abe5d(0x134)](){const _0x2c801d=a0_0x1abe5d;return this[_0x2c801d(0x120)]['querySelector'](_0x2c801d(0x132));}get[a0_0x1abe5d(0x13c)](){const _0x31f6d2=a0_0x1abe5d;return this[_0x31f6d2(0x120)][_0x31f6d2(0x138)](_0x31f6d2(0x13d));}['setGridEmphasizedConfigTabConfig'](){const _0x254b5c=a0_0x1abe5d;this[_0x254b5c(0x13e)]={'rows':MetaApi[_0x254b5c(0x146)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x254b5c(0x143),'gutterName':'button','icon':_0x254b5c(0x152),'handlers':{'click':(_0x3d2366,_0x5511f2,_0x40be74,_0x3d85bd,_0x1a02c9)=>{const _0x1aa6b1=_0x254b5c;_0x3d85bd['id']&&this[_0x1aa6b1(0x13f)](this[_0x1aa6b1(0x134)],_0x3d85bd);}}},{'type':_0x254b5c(0x12d),'name':'id','hidden':!0x0},{'type':_0x254b5c(0x150),'name':'rank','header':TermsUtil['tLabel'](_0x254b5c(0x141)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x254b5c(0x12d),'name':_0x254b5c(0x12b),'header':TermsUtil['tLabel']('background-color'),'record':{'align':_0x254b5c(0x144),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x254b5c(0x128),'header':TermsUtil[_0x254b5c(0x149)]('font-color'),'record':{'align':_0x254b5c(0x144),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x254b5c(0x14a),'name':_0x254b5c(0x121),'header':TermsUtil[_0x254b5c(0x149)](_0x254b5c(0x121)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this['columnEmphasizedConfig']={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x254b5c(0x143),'gutterName':'button','icon':'delete','handlers':{'click':(_0x3ed1d8,_0x3dc4d5,_0x584395,_0x3b72c4,_0x44bd28)=>{const _0x1ddf0e=_0x254b5c;_0x3b72c4['id']&&this[_0x1ddf0e(0x13f)](this[_0x1ddf0e(0x13c)],_0x3b72c4);}}},{'type':_0x254b5c(0x12d),'name':'id','hidden':!0x0},{'type':_0x254b5c(0x12d),'name':_0x254b5c(0x142),'header':TermsUtil['tLabel'](_0x254b5c(0x142)),'record':{'align':_0x254b5c(0x144),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x254b5c(0x150),'name':_0x254b5c(0x141),'header':TermsUtil['tLabel'](_0x254b5c(0x141)),'sortable':!0x0,'width':0x41,'record':{'align':_0x254b5c(0x131),'editable':!0x0,'mandatory':!0x0}},{'type':_0x254b5c(0x12d),'name':_0x254b5c(0x12b),'header':TermsUtil[_0x254b5c(0x149)](_0x254b5c(0x129)),'record':{'align':_0x254b5c(0x144),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x254b5c(0x12d),'name':_0x254b5c(0x128),'header':TermsUtil[_0x254b5c(0x149)](_0x254b5c(0x122)),'record':{'align':_0x254b5c(0x144),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'code-input','name':_0x254b5c(0x121),'header':TermsUtil[_0x254b5c(0x149)](_0x254b5c(0x121)),'record':{'align':_0x254b5c(0x144),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x1abe5d(0x14f)](){const _0x53f125=a0_0x1abe5d;this[_0x53f125(0x126)]||(this[_0x53f125(0x126)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x1abe5d(0x147)](){const _0x317433=a0_0x1abe5d;return this['setGridEmphasizedConfigTabDefaultValues'](),html`
1
+ const a0_0x56ca44=a0_0x331c;(function(_0x5a5577,_0x26cdaf){const _0x1f792e=a0_0x331c,_0x21fad2=_0x5a5577();while(!![]){try{const _0x5bd41b=parseInt(_0x1f792e(0x13d))/0x1*(parseInt(_0x1f792e(0x137))/0x2)+-parseInt(_0x1f792e(0x14e))/0x3+-parseInt(_0x1f792e(0x133))/0x4+-parseInt(_0x1f792e(0x12e))/0x5*(-parseInt(_0x1f792e(0x15c))/0x6)+-parseInt(_0x1f792e(0x141))/0x7+-parseInt(_0x1f792e(0x12d))/0x8*(parseInt(_0x1f792e(0x134))/0x9)+parseInt(_0x1f792e(0x142))/0xa;if(_0x5bd41b===_0x26cdaf)break;else _0x21fad2['push'](_0x21fad2['shift']());}catch(_0x53dc57){_0x21fad2['push'](_0x21fad2['shift']());}}}(a0_0x3312,0x48ec5));import{html}from'lit-element';function a0_0x3312(){const _0x35338e=['right','rowEmphasizedConfig','setGridEmphasizedConfigTabValues','viewEmphasizedData','getElementValueById','string','getGristSelectableConfig','delete','1862898VnsQsK','backgroundColor','querySelector','rowEmphasizedData','column','emphasizedConfigTabColumnEmphasizedGrist','button','#row-emphasized-grist','left','81688qeTevf','5FBhCDe','columnEmphasizedConfig','gutter','fontColor','shadowRoot','2254712ssiZGs','27GJAqcy','deleteRow','tLabel','228yIDVXb','setGridEmphasizedConfigTabDefaultValues','logic','row-emphasized-grist','#column-emphasized-grist','rank','2637pPwIeR','emphasizedConfigTabRowEmphasizedGrist','columnEmphasizedData','background-color','1208928TXhsUT','9170200sygBcI','font-color','keys','grid_row_emphasized_config','GRID','fetchRowEmphasized','fetchColumnEmphasized','integer','row','code-input','fetch','forEach','1387239ffYDOP','getGristGuttersConfig','push','renderGridEmphasizedConfigTab','bind','sortRecordByRank'];a0_0x3312=function(){return _0x35338e;};return a0_0x3312();}function a0_0x331c(_0x2eca1a,_0x2fcab6){const _0x331241=a0_0x3312();return a0_0x331c=function(_0x331c58,_0x3468ca){_0x331c58=_0x331c58-0x12d;let _0x282eb9=_0x331241[_0x331c58];return _0x282eb9;},a0_0x331c(_0x2eca1a,_0x2fcab6);}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=_0x2e54d6=>class extends _0x2e54d6{[a0_0x56ca44(0x156)](_0x1a7e91){const _0x4fe816=a0_0x56ca44;if(_0x1a7e91){this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x48bef2=0x1;this[_0x4fe816(0x157)][_0x4fe816(0x15f)]=(_0x1a7e91[_0x4fe816(0x14a)]||[])['map'](_0x272d94=>({'id':_0x48bef2,'rank':_0x48bef2++,'backgroundColor':_0x272d94[_0x4fe816(0x15d)]||'','fontColor':_0x272d94[_0x4fe816(0x131)]||'','logic':_0x272d94[_0x4fe816(0x139)]||''})),_0x48bef2=0x1;let _0x5e69da=_0x1a7e91[_0x4fe816(0x160)]||[];Object[_0x4fe816(0x144)](_0x5e69da)[_0x4fe816(0x14d)](_0x46e41a=>{const _0x2edbf=_0x4fe816;let _0x2be39d=_0x5e69da[_0x46e41a]||[],_0x1c7675=0x1;_0x2be39d[_0x2edbf(0x14d)](_0x3e732e=>{const _0x221eae=_0x2edbf;this['viewEmphasizedData'][_0x221eae(0x13f)][_0x221eae(0x150)]({'id':_0x48bef2++,'rank':_0x1c7675++,'column':_0x46e41a,'backgroundColor':_0x3e732e[_0x221eae(0x15d)]||'','fontColor':_0x3e732e[_0x221eae(0x131)]||'','logic':_0x3e732e[_0x221eae(0x139)]||''});});}),this['emphasizedConfigTabColumnEmphasizedGrist']?.[_0x4fe816(0x14c)](),this['emphasizedConfigTabRowEmphasizedGrist']?.[_0x4fe816(0x14c)]();}else this[_0x4fe816(0x138)]();}['getGridEmphasizedConfigTabValues'](){const _0x53d2ed=a0_0x56ca44;let _0x26d525=this[_0x53d2ed(0x158)](_0x53d2ed(0x13a)),_0x37d727=this[_0x53d2ed(0x158)]('column-emphasized-grist'),_0x1a6f42=[];this[_0x53d2ed(0x153)](_0x26d525)?.[_0x53d2ed(0x14d)](_0x59de7c=>{const _0x3f57c7=_0x53d2ed;_0x1a6f42[_0x3f57c7(0x150)]({'backgroundColor':_0x59de7c[_0x3f57c7(0x15d)],'fontColor':_0x59de7c['fontColor'],'logic':_0x59de7c[_0x3f57c7(0x139)]});});let _0x1b88f1={};return this[_0x53d2ed(0x153)](_0x37d727)?.[_0x53d2ed(0x14d)](_0x17c043=>{const _0x1a4004=_0x53d2ed;_0x1b88f1[_0x17c043[_0x1a4004(0x160)]]||(_0x1b88f1[_0x17c043['column']]=[]),_0x1b88f1[_0x17c043['column']][_0x1a4004(0x150)]({'backgroundColor':_0x17c043['backgroundColor'],'fontColor':_0x17c043[_0x1a4004(0x131)],'logic':_0x17c043['logic']});}),{'gridEmphasized':{'row':_0x1a6f42||[],'column':_0x1b88f1||{}}};}get[a0_0x56ca44(0x13e)](){const _0x2b3b5b=a0_0x56ca44;return this[_0x2b3b5b(0x132)][_0x2b3b5b(0x15e)](_0x2b3b5b(0x163));}get['emphasizedConfigTabColumnEmphasizedGrist'](){const _0x4d3217=a0_0x56ca44;return this[_0x4d3217(0x132)]['querySelector'](_0x4d3217(0x13b));}['setGridEmphasizedConfigTabConfig'](){const _0x661669=a0_0x56ca44;this[_0x661669(0x155)]={'rows':MetaApi[_0x661669(0x15a)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x661669(0x14f)](!0x1,!0x1),{'type':_0x661669(0x130),'gutterName':'button','icon':_0x661669(0x15b),'handlers':{'click':(_0xf4fe55,_0x26dccf,_0x3d5c9b,_0x5515e5,_0x3e4b74)=>{const _0x387ad2=_0x661669;_0x5515e5['id']&&this[_0x387ad2(0x135)](this['emphasizedConfigTabRowEmphasizedGrist'],_0x5515e5);}}},{'type':_0x661669(0x159),'name':'id','hidden':!0x0},{'type':'integer','name':_0x661669(0x13c),'header':TermsUtil[_0x661669(0x136)](_0x661669(0x13c)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x661669(0x159),'name':'backgroundColor','header':TermsUtil[_0x661669(0x136)](_0x661669(0x140)),'record':{'align':_0x661669(0x164),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x661669(0x159),'name':_0x661669(0x131),'header':TermsUtil[_0x661669(0x136)]('font-color'),'record':{'align':_0x661669(0x164),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x661669(0x14b),'name':_0x661669(0x139),'header':TermsUtil[_0x661669(0x136)](_0x661669(0x139)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this['columnEmphasizedConfig']={'rows':MetaApi[_0x661669(0x15a)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x661669(0x130),'gutterName':_0x661669(0x162),'icon':_0x661669(0x15b),'handlers':{'click':(_0x3049b4,_0x1e013e,_0x4153b4,_0x4fcb2c,_0x1170f6)=>{const _0xc45a6a=_0x661669;_0x4fcb2c['id']&&this[_0xc45a6a(0x135)](this[_0xc45a6a(0x161)],_0x4fcb2c);}}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x661669(0x159),'name':'column','header':TermsUtil[_0x661669(0x136)]('column'),'record':{'align':_0x661669(0x164),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x661669(0x149),'name':_0x661669(0x13c),'header':TermsUtil['tLabel'](_0x661669(0x13c)),'sortable':!0x0,'width':0x41,'record':{'align':_0x661669(0x154),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x661669(0x15d),'header':TermsUtil['tLabel'](_0x661669(0x140)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x661669(0x159),'name':_0x661669(0x131),'header':TermsUtil['tLabel'](_0x661669(0x143)),'record':{'align':_0x661669(0x164),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x661669(0x14b),'name':_0x661669(0x139),'header':TermsUtil[_0x661669(0x136)]('logic'),'record':{'align':_0x661669(0x164),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x56ca44(0x138)](){const _0x362607=a0_0x56ca44;this[_0x362607(0x157)]||(this[_0x362607(0x157)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x56ca44(0x151)](){const _0x1f9a39=a0_0x56ca44;return this[_0x1f9a39(0x138)](),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[_0x317433(0x149)]('grid_row_emphasized_config')}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f9a39(0x136)](_0x1f9a39(0x145))}
6
6
  </h2>
7
- <ox-grist id="row-emphasized-grist" .config=${this[_0x317433(0x13e)]} .mode=${_0x317433(0x11e)} auto-fetch
8
- .fetchHandler=${this['fetchRowEmphasized'][_0x317433(0x11d)](this)}></ox-grist>
7
+ <ox-grist id="row-emphasized-grist" .config=${this[_0x1f9a39(0x155)]} .mode=${_0x1f9a39(0x146)} auto-fetch
8
+ .fetchHandler=${this[_0x1f9a39(0x147)][_0x1f9a39(0x152)](this)}></ox-grist>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('grid_column_emphasized_config')}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f9a39(0x136)]('grid_column_emphasized_config')}
13
13
  </h2>
14
- <ox-grist id="column-emphasized-grist" .config=${this[_0x317433(0x14e)]} .mode=${_0x317433(0x11e)} auto-fetch
14
+ <ox-grist id="column-emphasized-grist" .config=${this[_0x1f9a39(0x12f)]} .mode=${_0x1f9a39(0x146)} auto-fetch
15
15
  .fetchHandler=${this['fetchColumnEmphasized']['bind'](this)}></ox-grist>
16
16
  </div>
17
17
  </div>
18
- `;}async[a0_0x1abe5d(0x140)](){const _0xbf77e2=a0_0x1abe5d;return{'records':this[_0xbf77e2(0x126)]['rowEmphasizedData'],'total':0x0};}async[a0_0x1abe5d(0x135)](){const _0x656bc3=a0_0x1abe5d;return{'records':this[_0x656bc3(0x126)]['columnEmphasizedData'],'total':0x0};}};
18
+ `;}async[a0_0x56ca44(0x147)](){const _0x42e308=a0_0x56ca44;return{'records':this['viewEmphasizedData'][_0x42e308(0x15f)],'total':0x0};}async[a0_0x56ca44(0x148)](){const _0x16e39c=a0_0x56ca44;return{'records':this[_0x16e39c(0x157)][_0x16e39c(0x13f)],'total':0x0};}};
@@ -1,29 +1,29 @@
1
- const a0_0x3c4850=a0_0x5f48;function a0_0x2f06(){const _0x4cec74=['3668168DRuiSA','name','764656DrrNdu','1123632sBStmN','setMenuConfigTabDefaultValue','description','viewMenuData','getElementById','value','menu_name_field','tLabel','getMenuConfigTabValues','15dwYVIw','help_doc','menu','18slLqYY','renderMenuConfigTab','menuTitleChange','2407120ETZenk','173198rVEPkb','display','title','help','tTitle','menu_desc_field','desc','1741855wQHvvE','setMenuConfigTabValues','getElementValueById','menu_title','5977412KQjUyC'];a0_0x2f06=function(){return _0x4cec74;};return a0_0x2f06();}(function(_0x1ee36b,_0x481013){const _0x565cbf=a0_0x5f48,_0x4a25fb=_0x1ee36b();while(!![]){try{const _0xa4888e=parseInt(_0x565cbf(0x1d7))/0x1+parseInt(_0x565cbf(0x1c9))/0x2*(parseInt(_0x565cbf(0x1e1))/0x3)+-parseInt(_0x565cbf(0x1d5))/0x4+parseInt(_0x565cbf(0x1d0))/0x5+parseInt(_0x565cbf(0x1d8))/0x6+-parseInt(_0x565cbf(0x1d4))/0x7+parseInt(_0x565cbf(0x1c8))/0x8*(parseInt(_0x565cbf(0x1e4))/0x9);if(_0xa4888e===_0x481013)break;else _0x4a25fb['push'](_0x4a25fb['shift']());}catch(_0x3d6089){_0x4a25fb['push'](_0x4a25fb['shift']());}}}(a0_0x2f06,0x89b94));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x5f48(_0x358dbd,_0x4de288){const _0x2f06cf=a0_0x2f06();return a0_0x5f48=function(_0x5f48d4,_0x3b021f){_0x5f48d4=_0x5f48d4-0x1c8;let _0x274075=_0x2f06cf[_0x5f48d4];return _0x274075;},a0_0x5f48(_0x358dbd,_0x4de288);}export const MenuConfigTabMixin=_0xd3029=>class extends _0xd3029{[a0_0x3c4850(0x1d1)](_0x2eed26){const _0x1e75d4=a0_0x3c4850;if(_0x2eed26){var {title:_0x37662e='',name:_0x3e7a21='',desc:_0x29fdf4='',help:_0x5beccb=''}=_0x2eed26||{};this[_0x1e75d4(0x1db)]={'title':_0x37662e,'name':_0x3e7a21,'desc':_0x29fdf4,'help_doc':_0x5beccb},this['getElementById'](_0x1e75d4(0x1cb))[_0x1e75d4(0x1dd)]=_0x37662e,this['getElementById'](_0x1e75d4(0x1d6))[_0x1e75d4(0x1dd)]=_0x3e7a21,this[_0x1e75d4(0x1dc)]('desc')['value']=_0x29fdf4,this[_0x1e75d4(0x1dc)](_0x1e75d4(0x1e2))['value']=_0x5beccb;}else this[_0x1e75d4(0x1d9)]();}[a0_0x3c4850(0x1e0)](){const _0x3be02d=a0_0x3c4850;let _0x247087={'menu':{}},_0x42f8a7=this[_0x3be02d(0x1d2)](_0x3be02d(0x1cb)),_0x2bff51=this[_0x3be02d(0x1d2)](_0x3be02d(0x1d6)),_0x407a5a=this[_0x3be02d(0x1d2)](_0x3be02d(0x1cf)),_0x111a60=this['getElementValueById'](_0x3be02d(0x1e2));return _0x42f8a7&&(_0x247087[_0x3be02d(0x1e3)][_0x3be02d(0x1cb)]=_0x42f8a7),_0x2bff51&&(_0x247087[_0x3be02d(0x1e3)]['name']=_0x2bff51),_0x407a5a&&(_0x247087[_0x3be02d(0x1e3)]['desc']=_0x407a5a),_0x111a60&&(_0x247087[_0x3be02d(0x1e3)][_0x3be02d(0x1cc)]=_0x111a60),_0x247087;}[a0_0x3c4850(0x1d9)](){const _0x4f4bda=a0_0x3c4850;this[_0x4f4bda(0x1db)]||(this[_0x4f4bda(0x1db)]={'title':'','name':_0x4f4bda(0x1d6),'desc':_0x4f4bda(0x1da),'help_doc':''});}[a0_0x3c4850(0x1e6)](_0xed3695){const _0x2e04ff=a0_0x3c4850;let _0x36df3d=this[_0x2e04ff(0x1dc)]('display');_0x36df3d&&(_0x36df3d[_0x2e04ff(0x1dd)]=TermsUtil[_0x2e04ff(0x1cd)](_0xed3695['target']['value']));}[a0_0x3c4850(0x1e5)](){const _0x5d56cb=a0_0x3c4850;return this[_0x5d56cb(0x1d9)](),html`
1
+ const a0_0x383d8a=a0_0x316f;(function(_0x49e45d,_0x36c258){const _0x6d48e1=a0_0x316f,_0x469ac7=_0x49e45d();while(!![]){try{const _0x4a2ace=parseInt(_0x6d48e1(0x195))/0x1+parseInt(_0x6d48e1(0x191))/0x2+-parseInt(_0x6d48e1(0x196))/0x3*(parseInt(_0x6d48e1(0x197))/0x4)+parseInt(_0x6d48e1(0x19a))/0x5*(-parseInt(_0x6d48e1(0x198))/0x6)+-parseInt(_0x6d48e1(0x1a2))/0x7+-parseInt(_0x6d48e1(0x185))/0x8*(-parseInt(_0x6d48e1(0x19c))/0x9)+parseInt(_0x6d48e1(0x1a0))/0xa;if(_0x4a2ace===_0x36c258)break;else _0x469ac7['push'](_0x469ac7['shift']());}catch(_0x29832f){_0x469ac7['push'](_0x469ac7['shift']());}}}(a0_0x1e6c,0xc42d2));function a0_0x316f(_0x42491e,_0x198180){const _0x1e6c3f=a0_0x1e6c();return a0_0x316f=function(_0x316fe3,_0x466699){_0x316fe3=_0x316fe3-0x183;let _0x46e768=_0x1e6c3f[_0x316fe3];return _0x46e768;},a0_0x316f(_0x42491e,_0x198180);}function a0_0x1e6c(){const _0x2edd74=['getElementValueById','viewMenuData','title','setMenuConfigTabDefaultValue','setMenuConfigTabValues','1941932kzUGoQ','help_doc','value','menu','338038odtpUi','7191eQPdrc','1724VyRHlm','1967454dadDvK','getMenuConfigTabValues','5SKCftr','tLabel','2475OckGcd','menu_title','menu_desc_field','menuTitleChange','6949690bpzghi','description','1243683ryAiJu','renderMenuConfigTab','target','9840gLVdlt','display','tTitle','desc','getElementById','menu_name_field','name'];a0_0x1e6c=function(){return _0x2edd74;};return a0_0x1e6c();}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x147653=>class extends _0x147653{[a0_0x383d8a(0x190)](_0x46ecaf){const _0x40a559=a0_0x383d8a;if(_0x46ecaf){var {title:_0x5194a0='',name:_0x142a0a='',desc:_0x37128a='',help:_0x30dea1=''}=_0x46ecaf||{};this[_0x40a559(0x18d)]={'title':_0x5194a0,'name':_0x142a0a,'desc':_0x37128a,'help_doc':_0x30dea1},this[_0x40a559(0x189)](_0x40a559(0x18e))[_0x40a559(0x193)]=_0x5194a0,this[_0x40a559(0x189)](_0x40a559(0x18b))[_0x40a559(0x193)]=_0x142a0a,this[_0x40a559(0x189)](_0x40a559(0x188))[_0x40a559(0x193)]=_0x37128a,this[_0x40a559(0x189)](_0x40a559(0x192))['value']=_0x30dea1;}else this[_0x40a559(0x18f)]();}[a0_0x383d8a(0x199)](){const _0x4fcfa6=a0_0x383d8a;let _0x1a36de={'menu':{}},_0xf0aa5d=this[_0x4fcfa6(0x18c)](_0x4fcfa6(0x18e)),_0x54704c=this['getElementValueById']('name'),_0x396edc=this[_0x4fcfa6(0x18c)]('desc'),_0x3e4f84=this[_0x4fcfa6(0x18c)](_0x4fcfa6(0x192));return _0xf0aa5d&&(_0x1a36de[_0x4fcfa6(0x194)][_0x4fcfa6(0x18e)]=_0xf0aa5d),_0x54704c&&(_0x1a36de[_0x4fcfa6(0x194)][_0x4fcfa6(0x18b)]=_0x54704c),_0x396edc&&(_0x1a36de[_0x4fcfa6(0x194)]['desc']=_0x396edc),_0x3e4f84&&(_0x1a36de[_0x4fcfa6(0x194)]['help']=_0x3e4f84),_0x1a36de;}[a0_0x383d8a(0x18f)](){const _0x513dbc=a0_0x383d8a;this[_0x513dbc(0x18d)]||(this[_0x513dbc(0x18d)]={'title':'','name':_0x513dbc(0x18b),'desc':_0x513dbc(0x1a1),'help_doc':''});}[a0_0x383d8a(0x19f)](_0x2f66dd){const _0x26d58b=a0_0x383d8a;let _0xb71594=this[_0x26d58b(0x189)](_0x26d58b(0x186));_0xb71594&&(_0xb71594['value']=TermsUtil[_0x26d58b(0x187)](_0x2f66dd[_0x26d58b(0x184)][_0x26d58b(0x193)]));}[a0_0x383d8a(0x183)](){const _0x5bc17f=a0_0x383d8a;return this[_0x5bc17f(0x18f)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil[_0x5d56cb(0x1df)](_0x5d56cb(0x1d3))}
5
- <input id="title" name="title" type="text" value=${this[_0x5d56cb(0x1db)]['title']} @change=${_0x53c5fe=>this[_0x5d56cb(0x1e6)](_0x53c5fe)}/>
4
+ <label>${TermsUtil[_0x5bc17f(0x19b)](_0x5bc17f(0x19d))}
5
+ <input id="title" name="title" type="text" value=${this['viewMenuData'][_0x5bc17f(0x18e)]} @change=${_0x90022b=>this[_0x5bc17f(0x19f)](_0x90022b)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil[_0x5d56cb(0x1df)](_0x5d56cb(0x1ca))}
10
- <input id="display" name="display" value=${TermsUtil['tTitle'](this[_0x5d56cb(0x1db)][_0x5d56cb(0x1cb)])} type="text" readonly
9
+ <label>${TermsUtil['tLabel'](_0x5bc17f(0x186))}
10
+ <input id="display" name="display" value=${TermsUtil['tTitle'](this[_0x5bc17f(0x18d)][_0x5bc17f(0x18e)])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x5d56cb(0x1df)](_0x5d56cb(0x1de))}
16
- <input id="name" name="name" type="text" value=${this[_0x5d56cb(0x1db)][_0x5d56cb(0x1d6)]} />
15
+ <label>${TermsUtil[_0x5bc17f(0x19b)](_0x5bc17f(0x18a))}
16
+ <input id="name" name="name" type="text" value=${this[_0x5bc17f(0x18d)]['name']} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil[_0x5d56cb(0x1df)](_0x5d56cb(0x1ce))}
20
+ <label>${TermsUtil[_0x5bc17f(0x19b)](_0x5bc17f(0x19e))}
21
21
  <input id="desc" name="desc" type="text" value=${this['viewMenuData']['desc']} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil['tLabel'](_0x5d56cb(0x1e2))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x5d56cb(0x1db)][_0x5d56cb(0x1e2)]} />
25
+ <label>${TermsUtil[_0x5bc17f(0x19b)]('help_doc')}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this['viewMenuData'][_0x5bc17f(0x192)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
@@ -1,4 +1,4 @@
1
- const a0_0xb378b2=a0_0x224a;(function(_0x5d3aef,_0x4251fe){const _0x3cbee7=a0_0x224a,_0x273e0f=_0x5d3aef();while(!![]){try{const _0x55b43d=parseInt(_0x3cbee7(0x134))/0x1+-parseInt(_0x3cbee7(0x121))/0x2*(-parseInt(_0x3cbee7(0x125))/0x3)+-parseInt(_0x3cbee7(0x151))/0x4+-parseInt(_0x3cbee7(0x124))/0x5+parseInt(_0x3cbee7(0x139))/0x6+parseInt(_0x3cbee7(0x11d))/0x7+-parseInt(_0x3cbee7(0x113))/0x8;if(_0x55b43d===_0x4251fe)break;else _0x273e0f['push'](_0x273e0f['shift']());}catch(_0x3e3552){_0x273e0f['push'](_0x273e0f['shift']());}}}(a0_0x1d42,0x6c464));import a0_0x4b8b9b from'graphql-tag';function a0_0x224a(_0xd12c08,_0x5b96d2){const _0x1d4278=a0_0x1d42();return a0_0x224a=function(_0x224a48,_0x205de4){_0x224a48=_0x224a48-0xe3;let _0x5cac04=_0x1d4278[_0x224a48];return _0x5cac04;},a0_0x224a(_0xd12c08,_0x5b96d2);}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';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';function a0_0x1d42(){const _0x5af316=['error','value','sortRecordByField','sorters','records','charAt','operatoTools','button','set','etc_config','meta-generator-page','active','includes','tabData','button_config','updateMultiple','radio','sort','display:flex','length','options','query','621312QuEndU','metaTemplate','refresh','enc','parse','bind','toUpperCase','ConfigTabConfig','keys','thumbnail','save',':checked','getElementValueById','error.invalid\x20license\x20key','menuId','lifecycle','selectedIndex','thumbnail_field','ConfigTabValues','map','dirtyData','column_config','menu','etc','template','name','deleteRow','tTitle','detail_field','errors','\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','tMenu','grid-','currentTabKey','sort_desc','grid_emphasized_config','filter','rank','getConfigTab','ConfigTab','hidden','querySelector','pageUpdated','dataStorage','ox-input-code','tLabel','dec','initData','stringify','tab','graphql','3291640bOqhRK','forEach','gridEmphasized','sortRecordByRank','clear','convertFirstCharUpperCase','menu_config','getElementById','context','params','3356150wKdwoR','backToMenu','push','column','122768AGHVNb','render','define','2965340MRKlvD','18eBYQhw','type','option','list','setTabData','grid_config','back','grid','get','ox-grist','styles','dispatchEvent','shadowRoot','tButton','desc','158303dsmhkD','toLowerCase','properties','select','menuName','3583716QbRClq','sort_rank'];a0_0x1d42=function(){return _0x5af316;};return a0_0x1d42();}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_0xb378b2(0x12f)](){return[css`
1
+ const a0_0x3f25c3=a0_0x4a59;(function(_0x352981,_0x4b4fe2){const _0x47f479=a0_0x4a59,_0x31e6a1=_0x352981();while(!![]){try{const _0x4cc40b=parseInt(_0x47f479(0x227))/0x1*(parseInt(_0x47f479(0x24a))/0x2)+parseInt(_0x47f479(0x25c))/0x3+parseInt(_0x47f479(0x249))/0x4*(parseInt(_0x47f479(0x233))/0x5)+parseInt(_0x47f479(0x22d))/0x6+-parseInt(_0x47f479(0x22a))/0x7+-parseInt(_0x47f479(0x22c))/0x8+-parseInt(_0x47f479(0x1f8))/0x9;if(_0x4cc40b===_0x4b4fe2)break;else _0x31e6a1['push'](_0x31e6a1['shift']());}catch(_0x5850b9){_0x31e6a1['push'](_0x31e6a1['shift']());}}}(a0_0x4e77,0xbc7e3));import a0_0x48906f 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';function a0_0x4e77(){const _0x4def46=['rank','sortRecordByRank','menuName','ConfigTabValues','sort_desc','query','form_config','dirtyData','includes','ox-input-code','sort_rank','ox-grist','menu_config','getState','template','updateMultiple','charAt','options','clear','tTitle','error','column','etc','menu','convertFirstCharUpperCase','grid-','button_config','column_config','shadowRoot','filters','lifecycle','search_config','setTabData','search','gridEmphasized','grid','type','dataStorage','button','tab','sortRecordByField','set','back','filter','forEach','621237pMgqmm','etc_config','option','7887677NMSzRP','toLowerCase','1775888WghvSQ','6916560Edssvk','toUpperCase','detail_field','value','getConfigTab','keys','5szKRxs','grid_config','rep_field','error.invalid\x20license\x20key','active','slice','enc','remove','display:none','currentTabKey','thumbnail','name','pageUpdated','sorters','desc','getElementValueById','ConfigTabConfig','operatoTools','parse','initData','hidden','records','1646828JrIjpI','2gBkfCp','meta-generator-page','dec','refresh','tagName','list',':checked','select','tab_config','tLabel','tMenu','menuId','meta_generator','save','backToMenu','graphql','errors','notify','4260588yilGyv','bind','sort','querySelector','styles','params','updateMultipleMenu','radio','map','style','fields','\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','ConfigTab','tabData','push','metaTemplate','selectedIndex','tButton','pageInitialized','length','13365324MoyMvu','render'];a0_0x4e77=function(){return _0x4def46;};return a0_0x4e77();}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';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';function a0_0x4a59(_0x2991e8,_0xe3d8c7){const _0x4e777d=a0_0x4e77();return a0_0x4a59=function(_0x4a5942,_0x3179b9){_0x4a5942=_0x4a5942-0x1f4;let _0x2f4699=_0x4e777d[_0x4a5942];return _0x2f4699;},a0_0x4a59(_0x2991e8,_0xe3d8c7);}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_0x3f25c3(0x260)](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0xb378b2=a0_0x224a;(function(_0x5d3aef,_0x4251fe){const _0x3cbee7=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0xb378b2(0x136)](){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[a0_0xb378b2(0x11b)](){const _0x51ab74=a0_0xb378b2;return{'title':TermsUtil[_0x51ab74(0xfb)]('meta_generator'),'actions':[{'title':TermsUtil[_0x51ab74(0x132)]('save'),'action':this['save'][_0x51ab74(0xe5)](this),...CommonButtonStyles[_0x51ab74(0xea)]},{'title':TermsUtil[_0x51ab74(0x132)](_0x51ab74(0x12b)),'action':this[_0x51ab74(0x11e)][_0x51ab74(0xe5)](this),...CommonButtonStyles[_0x51ab74(0x12b)]},{'title':TermsUtil[_0x51ab74(0x132)](_0x51ab74(0x153)),'action':this[_0x51ab74(0x153)]['bind'](this),...CommonButtonStyles[_0x51ab74(0x153)]}]};}[a0_0xb378b2(0xfa)](_0x506a3e,_0x418f6f){const _0x54599a=a0_0xb378b2;let _0x34a7ed=_0x506a3e[_0x54599a(0xf4)];_0x34a7ed[_0x54599a(0x13f)]=_0x34a7ed['records'][_0x54599a(0x104)](_0x37af8a=>_0x37af8a['id']!=_0x418f6f['id']),_0x506a3e['data']=_0x34a7ed;}async[a0_0xb378b2(0xea)](){const _0x20a636=a0_0xb378b2;if(0x0==store['getState']()[_0x20a636(0x141)]['studioPermission'])return void document[_0x20a636(0x130)](new CustomEvent('notify',{'detail':{'level':_0x20a636(0x13b),'message':i18next['t'](_0x20a636(0xed))}}));if((await client[_0x20a636(0x150)]({'query':a0_0x4b8b9b`
144
+ `];}static get['properties'](){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 _0x30c05b=a0_0x3f25c3;return{'title':TermsUtil[_0x30c05b(0x20d)](_0x30c05b(0x256)),'actions':[{'title':TermsUtil[_0x30c05b(0x1f5)](_0x30c05b(0x257)),'action':this[_0x30c05b(0x257)]['bind'](this),...CommonButtonStyles['save']},{'title':TermsUtil[_0x30c05b(0x1f5)](_0x30c05b(0x224)),'action':this['backToMenu'][_0x30c05b(0x25d)](this),...CommonButtonStyles[_0x30c05b(0x224)]},{'title':TermsUtil['tButton'](_0x30c05b(0x24d)),'action':this['refresh'][_0x30c05b(0x25d)](this),...CommonButtonStyles['refresh']}]};}['deleteRow'](_0x217e5d,_0x4be42f){const _0x5e94ed=a0_0x3f25c3;let _0x427eb5=_0x217e5d[_0x5e94ed(0x201)];_0x427eb5[_0x5e94ed(0x248)]=_0x427eb5[_0x5e94ed(0x248)][_0x5e94ed(0x225)](_0x309124=>_0x309124['id']!=_0x4be42f['id']),_0x217e5d['data']=_0x427eb5;}async[a0_0x3f25c3(0x257)](){const _0x46fba3=a0_0x3f25c3;if(0x0==store[_0x46fba3(0x207)]()[_0x46fba3(0x244)]['studioPermission'])return void document['dispatchEvent'](new CustomEvent(_0x46fba3(0x25b),{'detail':{'level':_0x46fba3(0x20e),'message':i18next['t'](_0x46fba3(0x236))}}));if((await client[_0x46fba3(0x1ff)]({'query':a0_0x48906f`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
148
- `,'variables':{'id':this[_0x20a636(0xee)]}}))[_0x20a636(0xfd)])return;let _0x52c884={},_0x33c500={};Object[_0x20a636(0xe8)](this[_0x20a636(0x148)])['forEach'](_0x524e4b=>{const _0x1c08b9=_0x20a636;let _0x4e4f73=this[_0x1c08b9(0x118)](_0x524e4b);_0x52c884[_0x524e4b]=this[_0x1c08b9(0x12d)+_0x4e4f73+_0x1c08b9(0xf2)](),_0x33c500=merge(_0x33c500,_0x52c884[_0x524e4b]);}),_0x33c500=JSON[_0x20a636(0x110)](_0x33c500),_0x33c500=MetaCrypto[_0x20a636(0xe3)](_0x33c500),await MetaApi[_0x20a636(0x14a)]('updateMultipleMenu',[{'id':this[_0x20a636(0xee)],'template':_0x33c500,'cuFlag':'M'}])&&await this[_0x20a636(0x10f)]();}[a0_0xb378b2(0x117)](){const _0xd75477=a0_0xb378b2;this['setTabData'](),this[_0xd75477(0x10b)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0xd75477(0xe8)](this[_0xd75477(0x148)])[_0xd75477(0x114)](_0x19a3ff=>{const _0x59c68f=_0xd75477;let _0x35e489=this[_0x59c68f(0x118)](_0x19a3ff);if(this['set'+_0x35e489+_0x59c68f(0xf2)])return this[_0x59c68f(0x143)+_0x35e489+'ConfigTabValues'](this[_0x59c68f(0x10b)][_0x19a3ff]);});}async[a0_0xb378b2(0x153)](){const _0x4a1b57=a0_0xb378b2;this[_0x4a1b57(0x117)](),await this['initData']();}[a0_0xb378b2(0x11e)](){const _0x49f9c5=a0_0xb378b2;history[_0x49f9c5(0x12b)]();}async[a0_0xb378b2(0x10f)](){const _0x3c3be8=a0_0xb378b2;var {menuId:_0x1afef3=''}=this[_0x3c3be8(0xef)]?.[_0x3c3be8(0x11c)]?this[_0x3c3be8(0xef)][_0x3c3be8(0x11c)]:{};if(this[_0x3c3be8(0xee)]=_0x1afef3,!_0x1afef3||''==_0x1afef3)return void this['clear']();let _0x43aa44=await MetaApi['findOne']('menu',_0x1afef3,_0x3c3be8(0xfe));if(_0x43aa44){try{JSON[_0x3c3be8(0xe4)](MetaCrypto[_0x3c3be8(0x10e)](_0x43aa44[_0x3c3be8(0xf8)]));}catch(_0x28d05a){return;}this[_0x3c3be8(0x138)]=TermsUtil[_0x3c3be8(0xff)](_0x43aa44['name']),this['metaTemplate']=_0x43aa44[_0x3c3be8(0xf8)]?JSON[_0x3c3be8(0xe4)](MetaCrypto['dec'](_0x43aa44[_0x3c3be8(0xf8)])):{};var {menu:_0x27da2b={},gql:_0x4e08ba={},button:_0x533f3d=[],grid_column:_0x176495=[],grid:_0x1ba8b6={},search:_0x2f8d74=[],form:_0x594e7c=[],tab:_0x5574ec=[],etc:_0x13127b={},gridEmphasized:_0x3310e5=[]}=this['metaTemplate']?this[_0x3c3be8(0x152)]:{};this[_0x3c3be8(0x129)](),this[_0x3c3be8(0x10b)]={},this[_0x3c3be8(0x10b)][_0x3c3be8(0xf6)]=_0x27da2b,this[_0x3c3be8(0x10b)][_0x3c3be8(0x112)]=_0x4e08ba,this['dataStorage'][_0x3c3be8(0x12c)]=_0x1ba8b6,this[_0x3c3be8(0x10b)]['form']=_0x594e7c,this[_0x3c3be8(0x10b)][_0x3c3be8(0x111)]=_0x5574ec,this[_0x3c3be8(0x10b)][_0x3c3be8(0xf7)]=_0x13127b,this[_0x3c3be8(0x10b)][_0x3c3be8(0x115)]=_0x3310e5,(_0x1ba8b6[_0x3c3be8(0x127)]?.[_0x3c3be8(0x13e)]||[])[_0x3c3be8(0x114)]((_0x565e5e,_0x4cb419)=>{const _0x4a856a=_0x3c3be8;_0x565e5e[_0x4a856a(0x105)]=0xa*(_0x4cb419+0x1);}),this[_0x3c3be8(0x10b)][_0x3c3be8(0x120)]=_0x176495[_0x3c3be8(0xf3)](_0x953466=>{const _0x106aae=_0x3c3be8;let _0x343526=(_0x1ba8b6[_0x106aae(0x127)]?.[_0x106aae(0x13e)]||[])[_0x106aae(0x104)](_0x18f96a=>_0x18f96a[_0x106aae(0xf9)]==_0x953466[_0x106aae(0xf9)]);return _0x343526&&_0x343526[_0x106aae(0x14e)]>0x0?(_0x953466['sort_rank']=_0x343526[0x0][_0x106aae(0x105)],_0x953466[_0x106aae(0x102)]=!!_0x343526[0x0][_0x106aae(0x133)]&&_0x343526[0x0][_0x106aae(0x133)]):_0x953466[_0x106aae(0x13a)]=0x0,_0x953466['rep_field']=(_0x1ba8b6['list']?.['fields']||[])['includes'](_0x953466[_0x106aae(0xf9)]),_0x953466[_0x106aae(0xfc)]=(_0x1ba8b6[_0x106aae(0x128)]?.['details']||[])[_0x106aae(0x147)](_0x953466[_0x106aae(0xf9)]),_0x953466[_0x106aae(0xf1)]=_0x1ba8b6[_0x106aae(0x128)]?.[_0x106aae(0xe9)]==_0x953466[_0x106aae(0xf9)],_0x953466;}),_0x2f8d74[_0x3c3be8(0x11f)](...(_0x4e08ba[_0x3c3be8(0x150)]?.['filters']||[])[_0x3c3be8(0xf3)](_0x15e88d=>(_0x15e88d[_0x3c3be8(0x108)]=!0x0,_0x15e88d))),this[_0x3c3be8(0x10b)]['search']=_0x2f8d74,_0x533f3d['push'](...(_0x1ba8b6['button']||[])['map'](_0x5a2a60=>(_0x5a2a60[_0x3c3be8(0x126)]=_0x3c3be8(0x100)+_0x5a2a60[_0x3c3be8(0x126)],_0x5a2a60['style']=_0x5a2a60['icon'],_0x5a2a60))),this[_0x3c3be8(0x10b)][_0x3c3be8(0x142)]=_0x533f3d,Object[_0x3c3be8(0xe8)](this[_0x3c3be8(0x148)])[_0x3c3be8(0x114)](_0x515634=>{const _0x436b64=_0x3c3be8;let _0x4e6d86=this[_0x436b64(0x118)](_0x515634);if(this[_0x436b64(0x143)+_0x4e6d86+'ConfigTabValues'])return this[_0x436b64(0x143)+_0x4e6d86+_0x436b64(0xf2)](this[_0x436b64(0x10b)][_0x515634]);});}}async['pageInitialized'](){const _0x57cfc5=a0_0xb378b2;this['setTabData']();let _0x190756=Object[_0x57cfc5(0xe8)](this[_0x57cfc5(0x148)]);for(var _0x1c3016=0x0;_0x1c3016<_0x190756[_0x57cfc5(0x14e)];_0x1c3016++){let _0x44fd5f=this[_0x57cfc5(0x118)](_0x190756[_0x1c3016]);this[_0x57cfc5(0x143)+_0x44fd5f+_0x57cfc5(0xe7)]&&await this[_0x57cfc5(0x143)+_0x44fd5f+'ConfigTabConfig']();}}async[a0_0xb378b2(0x10a)](_0x1040d2,_0x355c60,_0x586c73){const _0x2da15c=a0_0xb378b2;!0x0===this[_0x2da15c(0x146)]?(this[_0x2da15c(0x129)](),await this['initData'](),this['setTabData']()):(this[_0x2da15c(0x117)](),this['remove']());}['setTabData'](){const _0x57fef2=a0_0xb378b2;this[_0x57fef2(0x148)]||(this[_0x57fef2(0x148)]={'menu':TermsUtil[_0x57fef2(0x10d)](_0x57fef2(0x119)),'graphql':TermsUtil[_0x57fef2(0x10d)]('graphql_config'),'grid':TermsUtil[_0x57fef2(0x10d)](_0x57fef2(0x12a)),'column':TermsUtil[_0x57fef2(0x10d)](_0x57fef2(0xf5)),'gridEmphasized':TermsUtil[_0x57fef2(0x10d)](_0x57fef2(0x103)),'button':TermsUtil[_0x57fef2(0x10d)](_0x57fef2(0x149)),'search':TermsUtil[_0x57fef2(0x10d)]('search_config'),'form':TermsUtil[_0x57fef2(0x10d)]('form_config'),'tab':TermsUtil[_0x57fef2(0x10d)]('tab_config'),'etc':TermsUtil[_0x57fef2(0x10d)](_0x57fef2(0x144))});}[a0_0xb378b2(0x122)](){const _0x55b940=a0_0xb378b2;this[_0x55b940(0x101)]||(this[_0x55b940(0x101)]=_0x55b940(0xf6)),this[_0x55b940(0x129)]();let _0x13cb0e=Object[_0x55b940(0xe8)](this['tabData']);return this[_0x55b940(0x148)][this['currentTabKey']]?this['currentTabKey']:_0x13cb0e[0x0],html`
149
- <h1>${this[_0x55b940(0x138)]}</h1>
148
+ `,'variables':{'id':this['menuId']}}))[_0x46fba3(0x25a)])return;let _0xfad41={},_0x58c57b={};Object[_0x46fba3(0x232)](this[_0x46fba3(0x269)])['forEach'](_0x3903d7=>{const _0x516e92=_0x46fba3;let _0x133ea1=this[_0x516e92(0x212)](_0x3903d7);_0xfad41[_0x3903d7]=this['get'+_0x133ea1+_0x516e92(0x1fd)](),_0x58c57b=merge(_0x58c57b,_0xfad41[_0x3903d7]);}),_0x58c57b=JSON['stringify'](_0x58c57b),_0x58c57b=MetaCrypto[_0x46fba3(0x239)](_0x58c57b),await MetaApi[_0x46fba3(0x209)](_0x46fba3(0x262),[{'id':this[_0x46fba3(0x255)],'template':_0x58c57b,'cuFlag':'M'}])&&await this['initData']();}[a0_0x3f25c3(0x20c)](){const _0x18c1a0=a0_0x3f25c3;this[_0x18c1a0(0x21a)](),this[_0x18c1a0(0x21f)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x18c1a0(0x232)](this['tabData'])[_0x18c1a0(0x226)](_0x5cc804=>{const _0x5866cc=_0x18c1a0;let _0xa1deb7=this[_0x5866cc(0x212)](_0x5cc804);if(this['set'+_0xa1deb7+_0x5866cc(0x1fd)])return this[_0x5866cc(0x223)+_0xa1deb7+_0x5866cc(0x1fd)](this[_0x5866cc(0x21f)][_0x5cc804]);});}async[a0_0x3f25c3(0x24d)](){const _0x114c9c=a0_0x3f25c3;this[_0x114c9c(0x20c)](),await this[_0x114c9c(0x246)]();}[a0_0x3f25c3(0x258)](){const _0x5c1fa5=a0_0x3f25c3;history[_0x5c1fa5(0x224)]();}async[a0_0x3f25c3(0x246)](){const _0x3fefdf=a0_0x3f25c3;var {menuId:_0x205f34=''}=this['lifecycle']?.[_0x3fefdf(0x261)]?this[_0x3fefdf(0x218)][_0x3fefdf(0x261)]:{};if(this[_0x3fefdf(0x255)]=_0x205f34,!_0x205f34||''==_0x205f34)return void this[_0x3fefdf(0x20c)]();let _0x18d9dd=await MetaApi['findOne'](_0x3fefdf(0x211),_0x205f34,_0x3fefdf(0x267));if(_0x18d9dd){try{JSON[_0x3fefdf(0x245)](MetaCrypto[_0x3fefdf(0x24c)](_0x18d9dd[_0x3fefdf(0x208)]));}catch(_0x338b6b){return;}this[_0x3fefdf(0x1fc)]=TermsUtil[_0x3fefdf(0x254)](_0x18d9dd[_0x3fefdf(0x23e)]),this['metaTemplate']=_0x18d9dd[_0x3fefdf(0x208)]?JSON[_0x3fefdf(0x245)](MetaCrypto['dec'](_0x18d9dd[_0x3fefdf(0x208)])):{};var {menu:_0x2229e2={},gql:_0x275cb0={},button:_0x575ac5=[],grid_column:_0xfbf3ff=[],grid:_0x13793e={},search:_0x23961a=[],form:_0x4ca57f=[],tab:_0x1b5fd6=[],etc:_0x28d5dc={},gridEmphasized:_0x54dd02=[]}=this[_0x3fefdf(0x26b)]?this[_0x3fefdf(0x26b)]:{};this['setTabData'](),this[_0x3fefdf(0x21f)]={},this['dataStorage']['menu']=_0x2229e2,this[_0x3fefdf(0x21f)][_0x3fefdf(0x259)]=_0x275cb0,this[_0x3fefdf(0x21f)][_0x3fefdf(0x21d)]=_0x13793e,this['dataStorage']['form']=_0x4ca57f,this[_0x3fefdf(0x21f)][_0x3fefdf(0x221)]=_0x1b5fd6,this[_0x3fefdf(0x21f)][_0x3fefdf(0x210)]=_0x28d5dc,this[_0x3fefdf(0x21f)][_0x3fefdf(0x21c)]=_0x54dd02,(_0x13793e['option']?.[_0x3fefdf(0x240)]||[])[_0x3fefdf(0x226)]((_0x11703b,_0x19a73b)=>{const _0x2e89bf=_0x3fefdf;_0x11703b[_0x2e89bf(0x1fa)]=0xa*(_0x19a73b+0x1);}),this['dataStorage'][_0x3fefdf(0x20f)]=_0xfbf3ff[_0x3fefdf(0x264)](_0x374867=>{const _0x4a2f60=_0x3fefdf;let _0x106555=(_0x13793e[_0x4a2f60(0x229)]?.[_0x4a2f60(0x240)]||[])['filter'](_0x248e28=>_0x248e28[_0x4a2f60(0x23e)]==_0x374867['name']);return _0x106555&&_0x106555[_0x4a2f60(0x1f7)]>0x0?(_0x374867['sort_rank']=_0x106555[0x0][_0x4a2f60(0x1fa)],_0x374867[_0x4a2f60(0x1fe)]=!!_0x106555[0x0][_0x4a2f60(0x241)]&&_0x106555[0x0][_0x4a2f60(0x241)]):_0x374867[_0x4a2f60(0x204)]=0x0,_0x374867[_0x4a2f60(0x235)]=(_0x13793e[_0x4a2f60(0x24f)]?.[_0x4a2f60(0x266)]||[])['includes'](_0x374867[_0x4a2f60(0x23e)]),_0x374867[_0x4a2f60(0x22f)]=(_0x13793e[_0x4a2f60(0x24f)]?.['details']||[])[_0x4a2f60(0x202)](_0x374867[_0x4a2f60(0x23e)]),_0x374867['thumbnail_field']=_0x13793e[_0x4a2f60(0x24f)]?.[_0x4a2f60(0x23d)]==_0x374867['name'],_0x374867;}),_0x23961a[_0x3fefdf(0x26a)](...(_0x275cb0[_0x3fefdf(0x1ff)]?.[_0x3fefdf(0x217)]||[])[_0x3fefdf(0x264)](_0x2507a3=>(_0x2507a3[_0x3fefdf(0x247)]=!0x0,_0x2507a3))),this[_0x3fefdf(0x21f)][_0x3fefdf(0x21b)]=_0x23961a,_0x575ac5['push'](...(_0x13793e[_0x3fefdf(0x220)]||[])[_0x3fefdf(0x264)](_0x40f217=>(_0x40f217[_0x3fefdf(0x21e)]=_0x3fefdf(0x213)+_0x40f217[_0x3fefdf(0x21e)],_0x40f217[_0x3fefdf(0x265)]=_0x40f217['icon'],_0x40f217))),this['dataStorage'][_0x3fefdf(0x220)]=_0x575ac5,Object['keys'](this['tabData'])['forEach'](_0x505a7e=>{const _0x3a6b75=_0x3fefdf;let _0x3be37a=this['convertFirstCharUpperCase'](_0x505a7e);if(this[_0x3a6b75(0x223)+_0x3be37a+_0x3a6b75(0x1fd)])return this[_0x3a6b75(0x223)+_0x3be37a+_0x3a6b75(0x1fd)](this[_0x3a6b75(0x21f)][_0x505a7e]);});}}async[a0_0x3f25c3(0x1f6)](){const _0x3a51b0=a0_0x3f25c3;this['setTabData']();let _0x14e8d8=Object[_0x3a51b0(0x232)](this[_0x3a51b0(0x269)]);for(var _0x1ed80f=0x0;_0x1ed80f<_0x14e8d8[_0x3a51b0(0x1f7)];_0x1ed80f++){let _0x556c3c=this[_0x3a51b0(0x212)](_0x14e8d8[_0x1ed80f]);this[_0x3a51b0(0x223)+_0x556c3c+'ConfigTabConfig']&&await this[_0x3a51b0(0x223)+_0x556c3c+_0x3a51b0(0x243)]();}}async[a0_0x3f25c3(0x23f)](_0x532cc7,_0x3884dc,_0x29faed){const _0x25f1f5=a0_0x3f25c3;!0x0===this[_0x25f1f5(0x237)]?(this['setTabData'](),await this[_0x25f1f5(0x246)](),this[_0x25f1f5(0x21a)]()):(this[_0x25f1f5(0x20c)](),this[_0x25f1f5(0x23a)]());}[a0_0x3f25c3(0x21a)](){const _0x359a0a=a0_0x3f25c3;this['tabData']||(this['tabData']={'menu':TermsUtil[_0x359a0a(0x253)](_0x359a0a(0x206)),'graphql':TermsUtil['tLabel']('graphql_config'),'grid':TermsUtil[_0x359a0a(0x253)](_0x359a0a(0x234)),'column':TermsUtil[_0x359a0a(0x253)](_0x359a0a(0x215)),'gridEmphasized':TermsUtil[_0x359a0a(0x253)]('grid_emphasized_config'),'button':TermsUtil['tLabel'](_0x359a0a(0x214)),'search':TermsUtil['tLabel'](_0x359a0a(0x219)),'form':TermsUtil[_0x359a0a(0x253)](_0x359a0a(0x200)),'tab':TermsUtil['tLabel'](_0x359a0a(0x252)),'etc':TermsUtil[_0x359a0a(0x253)](_0x359a0a(0x228))});}['render'](){const _0x29456f=a0_0x3f25c3;this['currentTabKey']||(this[_0x29456f(0x23c)]=_0x29456f(0x211)),this[_0x29456f(0x21a)]();let _0x3feaf9=Object[_0x29456f(0x232)](this['tabData']);return this[_0x29456f(0x269)][this['currentTabKey']]?this['currentTabKey']:_0x3feaf9[0x0],html`
149
+ <h1>${this['menuName']}</h1>
150
150
  <div class="tabs">
151
- ${_0x13cb0e[_0x55b940(0xf3)](_0x2b6ff8=>{const _0x16fb73=_0x55b940;let _0x5c46f0=this[_0x16fb73(0x148)][_0x2b6ff8];return html`
152
- <div class="tab" ?activate="${_0x2b6ff8===this[_0x16fb73(0x101)]}" @click="${()=>this[_0x16fb73(0x101)]=_0x2b6ff8}">
153
- <span>${_0x5c46f0}</span>
151
+ ${_0x3feaf9[_0x29456f(0x264)](_0x2e21e1=>{const _0x285848=_0x29456f;let _0x1ef8e9=this[_0x285848(0x269)][_0x2e21e1];return html`
152
+ <div class="tab" ?activate="${_0x2e21e1===this[_0x285848(0x23c)]}" @click="${()=>this['currentTabKey']=_0x2e21e1}">
153
+ <span>${_0x1ef8e9}</span>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
158
- ${_0x13cb0e['map'](_0x1633e7=>{const _0x4f2f2c=_0x55b940;let _0x5112f9='display:none';return _0x1633e7==this[_0x4f2f2c(0x101)]&&(_0x5112f9=_0x4f2f2c(0x14d)),html`
159
- <div class='tab-contents' style="${_0x5112f9}">
160
- ${this[_0x4f2f2c(0x106)](_0x1633e7)}
158
+ ${_0x3feaf9[_0x29456f(0x264)](_0x393ed6=>{const _0x37f544=_0x29456f;let _0x4bd45e=_0x37f544(0x23b);return _0x393ed6==this[_0x37f544(0x23c)]&&(_0x4bd45e='display:flex'),html`
159
+ <div class='tab-contents' style="${_0x4bd45e}">
160
+ ${this[_0x37f544(0x231)](_0x393ed6)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
164
- `;}['getConfigTab'](_0x263bb4){const _0x500819=a0_0xb378b2;let _0x9d7150=this[_0x500819(0x118)](_0x263bb4);return this[_0x500819(0x122)+_0x9d7150+_0x500819(0x107)]?this[_0x500819(0x122)+_0x9d7150+_0x500819(0x107)]():html``;}[a0_0xb378b2(0x118)](_0x4ddb06){const _0x518944=a0_0xb378b2;return _0x4ddb06[_0x518944(0x140)](0x0)[_0x518944(0xe6)]()+_0x4ddb06['slice'](0x1);}[a0_0xb378b2(0x11a)](_0x412eec){const _0x1f887e=a0_0xb378b2;return this[_0x1f887e(0x131)][_0x1f887e(0x109)]('#'+_0x412eec);}[a0_0xb378b2(0xec)](_0x21163c){const _0x29077f=a0_0xb378b2;let _0x14f84a=this[_0x29077f(0x131)][_0x29077f(0x109)]('#'+_0x21163c);if(!_0x14f84a)return;let _0xfe445a='';if(_0x29077f(0x137)==_0x14f84a['tagName']['toLowerCase']()){if(!_0x14f84a[_0x29077f(0x14f)]||0x0==_0x14f84a[_0x29077f(0x14f)]['length'])return;_0xfe445a=_0x14f84a[_0x29077f(0x14f)][_0x14f84a[_0x29077f(0xf0)]][_0x29077f(0x13c)];}else{if(_0x29077f(0x12e)==_0x14f84a['tagName'][_0x29077f(0x135)]()){if(!_0x14f84a['dirtyData'])return;if(!_0x14f84a[_0x29077f(0xf4)][_0x29077f(0x13f)])return;if(0x0==_0x14f84a[_0x29077f(0xf4)]['records'][_0x29077f(0x14e)])return;return _0x14f84a[_0x29077f(0xf4)]['records'];}if(_0x29077f(0x10c)==_0x14f84a['tagName'][_0x29077f(0x135)]())return _0x14f84a[_0x29077f(0x13c)];if(_0x29077f(0x14b)==_0x14f84a[_0x29077f(0x126)][_0x29077f(0x135)]()){let _0x46586a=this[_0x29077f(0x131)][_0x29077f(0x109)]('#'+_0x21163c+_0x29077f(0xeb));if(!_0x46586a)return;return _0x46586a[_0x29077f(0x13c)];}_0xfe445a=_0x14f84a[_0x29077f(0x13c)];}return _0xfe445a&&''!=_0xfe445a?_0xfe445a:void 0x0;}[a0_0xb378b2(0x116)](_0x59b831){const _0x3a299d=a0_0xb378b2;return _0x59b831?this[_0x3a299d(0x13d)](_0x59b831,_0x3a299d(0x105)):_0x59b831;}[a0_0xb378b2(0x13d)](_0x56fc3b,_0x5c50a5){const _0x229906=a0_0xb378b2;return _0x56fc3b[_0x229906(0x14c)]((_0x10bf81,_0x3b4821)=>_0x10bf81[_0x5c50a5]-_0x3b4821[_0x5c50a5]),_0x56fc3b;}}customElements[a0_0xb378b2(0x123)](a0_0xb378b2(0x145),MetaGeneratorPage);
164
+ `;}[a0_0x3f25c3(0x231)](_0x2e341c){const _0x1f2641=a0_0x3f25c3;let _0xde60f8=this[_0x1f2641(0x212)](_0x2e341c);return this[_0x1f2641(0x1f9)+_0xde60f8+_0x1f2641(0x268)]?this['render'+_0xde60f8+_0x1f2641(0x268)]():html``;}[a0_0x3f25c3(0x212)](_0x4631fd){const _0x1338a9=a0_0x3f25c3;return _0x4631fd[_0x1338a9(0x20a)](0x0)[_0x1338a9(0x22e)]()+_0x4631fd[_0x1338a9(0x238)](0x1);}['getElementById'](_0xf02033){const _0x332951=a0_0x3f25c3;return this['shadowRoot'][_0x332951(0x25f)]('#'+_0xf02033);}[a0_0x3f25c3(0x242)](_0x258ef6){const _0x5f3d75=a0_0x3f25c3;let _0x2771e9=this[_0x5f3d75(0x216)][_0x5f3d75(0x25f)]('#'+_0x258ef6);if(!_0x2771e9)return;let _0x5f5565='';if(_0x5f3d75(0x251)==_0x2771e9['tagName'][_0x5f3d75(0x22b)]()){if(!_0x2771e9[_0x5f3d75(0x20b)]||0x0==_0x2771e9['options'][_0x5f3d75(0x1f7)])return;_0x5f5565=_0x2771e9['options'][_0x2771e9[_0x5f3d75(0x1f4)]]['value'];}else{if(_0x5f3d75(0x205)==_0x2771e9[_0x5f3d75(0x24e)][_0x5f3d75(0x22b)]()){if(!_0x2771e9[_0x5f3d75(0x201)])return;if(!_0x2771e9[_0x5f3d75(0x201)][_0x5f3d75(0x248)])return;if(0x0==_0x2771e9['dirtyData'][_0x5f3d75(0x248)][_0x5f3d75(0x1f7)])return;return _0x2771e9[_0x5f3d75(0x201)][_0x5f3d75(0x248)];}if(_0x5f3d75(0x203)==_0x2771e9[_0x5f3d75(0x24e)]['toLowerCase']())return _0x2771e9[_0x5f3d75(0x230)];if(_0x5f3d75(0x263)==_0x2771e9[_0x5f3d75(0x21e)][_0x5f3d75(0x22b)]()){let _0x29aff7=this[_0x5f3d75(0x216)][_0x5f3d75(0x25f)]('#'+_0x258ef6+_0x5f3d75(0x250));if(!_0x29aff7)return;return _0x29aff7[_0x5f3d75(0x230)];}_0x5f5565=_0x2771e9[_0x5f3d75(0x230)];}return _0x5f5565&&''!=_0x5f5565?_0x5f5565:void 0x0;}[a0_0x3f25c3(0x1fb)](_0x52cc01){const _0x10ac6d=a0_0x3f25c3;return _0x52cc01?this['sortRecordByField'](_0x52cc01,_0x10ac6d(0x1fa)):_0x52cc01;}[a0_0x3f25c3(0x222)](_0x1478c6,_0x4dd9fc){const _0x12ba95=a0_0x3f25c3;return _0x1478c6[_0x12ba95(0x25e)]((_0x19306f,_0x1edf94)=>_0x19306f[_0x4dd9fc]-_0x1edf94[_0x4dd9fc]),_0x1478c6;}}customElements['define'](a0_0x3f25c3(0x24b),MetaGeneratorPage);
@@ -1,4 +1,4 @@
1
- const a0_0x545116=a0_0x1fe2;(function(_0x420203,_0x49bf36){const _0x3b38a3=a0_0x1fe2,_0x37545d=_0x420203();while(!![]){try{const _0x224d61=parseInt(_0x3b38a3(0x1b1))/0x1*(parseInt(_0x3b38a3(0x195))/0x2)+parseInt(_0x3b38a3(0x1c2))/0x3*(parseInt(_0x3b38a3(0x19b))/0x4)+-parseInt(_0x3b38a3(0x190))/0x5+-parseInt(_0x3b38a3(0x1bf))/0x6*(-parseInt(_0x3b38a3(0x1a7))/0x7)+-parseInt(_0x3b38a3(0x1a6))/0x8+-parseInt(_0x3b38a3(0x197))/0x9+parseInt(_0x3b38a3(0x198))/0xa;if(_0x224d61===_0x49bf36)break;else _0x37545d['push'](_0x37545d['shift']());}catch(_0x28b39b){_0x37545d['push'](_0x37545d['shift']());}}}(a0_0x32fa,0x9500b));import{html}from'lit-element';function a0_0x32fa(){const _0x2c6fea=['setSearchConfigTabValues','24WyGJtS','query','delete','3WETJPv','left','3037565REEECt','gql','select','string','integer','128nxDUxj','deleteRow','10720098aLmaJg','18888510FXZknY','operator','sortRecordByRank','3109708oPgOWb','searchTabGrist','rank','map','searchTabGridConfig','push','button','viewSearchData','tLabel','getElementValueById','center','5814464regAkg','648102GkmZMo','getGristSelectableConfig','setSearchConfigTabConfig','querySelector','search-tab-grid','value','fetch','search','forEach','search_operator','1549ecdEZS','renderSearchConfigTab','FILTER_OPERATORS','getGristGuttersConfig','name','filter','gutter','fetchSearchTabHandler','right','assign','hidden','filters','#search-tab-grid'];a0_0x32fa=function(){return _0x2c6fea;};return a0_0x32fa();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x1fe2(_0x154be1,_0x3bad98){const _0x32fac6=a0_0x32fa();return a0_0x1fe2=function(_0x1fe258,_0x307f1e){_0x1fe258=_0x1fe258-0x18f;let _0x3fb756=_0x32fac6[_0x1fe258];return _0x3fb756;},a0_0x1fe2(_0x154be1,_0x3bad98);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x183515=>class extends _0x183515{[a0_0x545116(0x1be)](_0xfad8af){const _0x3faf31=a0_0x545116;let _0x53bf60=_0xfad8af?.[_0x3faf31(0x19e)]((_0x4df56d,_0x132ccb)=>{const _0x32f4d6=_0x3faf31;let _0x36fbf0=_0x132ccb+0x1,_0x330d0f={};return'object'==typeof _0x4df56d?Object[_0x32f4d6(0x1ba)](_0x330d0f,_0x4df56d):(_0x330d0f[_0x32f4d6(0x1b5)]=_0x4df56d,_0x330d0f['operator']=_0x32f4d6(0x1b6)),_0x330d0f[_0x32f4d6(0x19d)]=0xa*_0x36fbf0,_0x330d0f['id']=_0x36fbf0,_0x330d0f;});this['viewSearchData']=_0x53bf60||[],this[_0x3faf31(0x19c)]?.[_0x3faf31(0x1ad)]();}['getSearchConfigTabValues'](){const _0x56a5be=a0_0x545116;let _0x5ccd7c={'search':[],'gql':{'query':{'filters':[]}}},_0x5ca565=this[_0x56a5be(0x1a4)](_0x56a5be(0x1ab));return this[_0x56a5be(0x19a)](_0x5ca565)?.[_0x56a5be(0x1af)](_0x3d601d=>{const _0x503da8=_0x56a5be;var {name:_0x2a1a38,operator:_0x2e8529='eq',hidden:_0x168d76=!0x1,value:_0x131ebf}=_0x3d601d;if(_0x2a1a38){if(_0x503da8(0x1b6)==_0x2e8529)_0x5ccd7c['search'][_0x503da8(0x1a0)](_0x2a1a38);else{let _0x2bedcc={'name':_0x2a1a38,'operator':_0x2e8529};0x1==_0x168d76?(_0x2bedcc[_0x503da8(0x1ac)]=_0x131ebf,_0x5ccd7c[_0x503da8(0x191)][_0x503da8(0x1c0)][_0x503da8(0x1bc)]['push'](_0x2bedcc)):(_0x2bedcc[_0x503da8(0x1ac)]=_0x131ebf,_0x5ccd7c[_0x503da8(0x1ae)][_0x503da8(0x1a0)](_0x2bedcc));}}}),_0x5ccd7c;}[a0_0x545116(0x1b2)](){const _0x1bef34=a0_0x545116;return html`
2
- <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x1bef34(0x19f)]} .mode='GRID'
3
- .fetchHandler=${this[_0x1bef34(0x1b8)]['bind'](this)}>
4
- </ox-grist>`;}get[a0_0x545116(0x19c)](){const _0x384b01=a0_0x545116;return this['shadowRoot'][_0x384b01(0x1aa)](_0x384b01(0x1bd));}async['fetchSearchTabHandler'](){const _0xfc38af=a0_0x545116;return{'total':0x0,'records':this[_0xfc38af(0x1a2)]||[]};}async[a0_0x545116(0x1a9)](){const _0x129361=a0_0x545116;let _0x1780fa=await MetaApi['getCodeSelectorData'](_0x129361(0x1b3));this[_0x129361(0x19f)]={'rows':MetaApi[_0x129361(0x1a8)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x129361(0x19d),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x129361(0x1b4)](!0x1,!0x1),{'type':_0x129361(0x1b7),'gutterName':_0x129361(0x1a1),'icon':_0x129361(0x1c1),'handlers':{'click':(_0xda08f5,_0x3bd741,_0x2a934e,_0x4f9a46,_0x4f783e)=>{const _0x5ca696=_0x129361;_0x4f9a46['id']&&this[_0x5ca696(0x196)](this[_0x5ca696(0x19c)],_0x4f9a46);}}},{'type':_0x129361(0x193),'name':'id','hidden':!0x0},{'type':_0x129361(0x194),'name':_0x129361(0x19d),'header':TermsUtil[_0x129361(0x1a3)](_0x129361(0x19d)),'sortable':!0x0,'width':0x41,'record':{'align':_0x129361(0x1b9),'editable':!0x0,'mandatory':!0x0}},{'type':_0x129361(0x193),'name':_0x129361(0x1b5),'header':TermsUtil['tLabel'](_0x129361(0x1b5)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x129361(0x18f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x129361(0x192),'name':_0x129361(0x199),'header':TermsUtil[_0x129361(0x1a3)](_0x129361(0x1b0)),'sortable':!0x1,'width':0x64,'record':{'align':_0x129361(0x18f),'editable':!0x0,'mandatory':!0x1,'options':_0x1780fa}},{'type':'boolean','name':_0x129361(0x1bb),'header':TermsUtil[_0x129361(0x1a3)](_0x129361(0x1bb)),'sortable':!0x1,'width':0x41,'record':{'align':_0x129361(0x1a5),'mandatory':!0x1,'editable':!0x0}},{'type':_0x129361(0x193),'name':_0x129361(0x1ac),'header':TermsUtil[_0x129361(0x1a3)]('default_value'),'sortable':!0x1,'width':0xc8,'record':{'align':'left','editable':!0x0,'mandatory':!0x1}}]};}};
1
+ const a0_0xce28fa=a0_0x3c57;(function(_0x4d7a58,_0xfb1c86){const _0x43fdc5=a0_0x3c57,_0x25d3da=_0x4d7a58();while(!![]){try{const _0x59758c=parseInt(_0x43fdc5(0xa4))/0x1*(parseInt(_0x43fdc5(0x99))/0x2)+-parseInt(_0x43fdc5(0x80))/0x3+-parseInt(_0x43fdc5(0x8e))/0x4+-parseInt(_0x43fdc5(0x7f))/0x5+-parseInt(_0x43fdc5(0xa8))/0x6*(parseInt(_0x43fdc5(0x7a))/0x7)+-parseInt(_0x43fdc5(0x9a))/0x8+-parseInt(_0x43fdc5(0x83))/0x9*(-parseInt(_0x43fdc5(0x84))/0xa);if(_0x59758c===_0xfb1c86)break;else _0x25d3da['push'](_0x25d3da['shift']());}catch(_0x3b8364){_0x25d3da['push'](_0x25d3da['shift']());}}}(a0_0x1f20,0x45714));import{html}from'lit-element';function a0_0x3c57(_0x320758,_0x42764f){const _0x1f2081=a0_0x1f20();return a0_0x3c57=function(_0x3c5710,_0x4bb459){_0x3c5710=_0x3c5710-0x77;let _0x3388e8=_0x1f2081[_0x3c5710];return _0x3388e8;},a0_0x3c57(_0x320758,_0x42764f);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x1f20(){const _0x35c4a5=['viewSearchData','shadowRoot','string','rank','forEach','boolean','141370vJmUNH','2753656WArmdq','FILTER_OPERATORS','center','searchTabGrist','getGristGuttersConfig','getSearchConfigTabValues','left','push','value','filter','4cBBzGT','deleteRow','query','bind','6tSTzeD','tLabel','operator','getCodeSelectorData','select','1687161YvtEAz','gutter','button','fetchSearchTabHandler','name','1974765HaXevU','904461VDCSsQ','delete','map','9tjzCUk','14353810lgUBSp','querySelector','gql','getElementValueById','right','search-tab-grid','searchTabGridConfig','search_operator','setSearchConfigTabConfig','#search-tab-grid','608060rSEPus','fetch','default_value','hidden','assign'];a0_0x1f20=function(){return _0x35c4a5;};return a0_0x1f20();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x2f6b6b=>class extends _0x2f6b6b{['setSearchConfigTabValues'](_0x2dac62){const _0xbf985a=a0_0x3c57;let _0x5ae9b1=_0x2dac62?.[_0xbf985a(0x82)]((_0x3af583,_0x1cde68)=>{const _0x2a62a8=_0xbf985a;let _0x3396dc=_0x1cde68+0x1,_0x484686={};return'object'==typeof _0x3af583?Object[_0x2a62a8(0x92)](_0x484686,_0x3af583):(_0x484686[_0x2a62a8(0x7e)]=_0x3af583,_0x484686[_0x2a62a8(0x77)]='filter'),_0x484686[_0x2a62a8(0x96)]=0xa*_0x3396dc,_0x484686['id']=_0x3396dc,_0x484686;});this['viewSearchData']=_0x5ae9b1||[],this[_0xbf985a(0x9d)]?.[_0xbf985a(0x8f)]();}[a0_0xce28fa(0x9f)](){const _0x387c25=a0_0xce28fa;let _0x504cb4={'search':[],'gql':{'query':{'filters':[]}}},_0x31b647=this[_0x387c25(0x87)](_0x387c25(0x89));return this['sortRecordByRank'](_0x31b647)?.[_0x387c25(0x97)](_0x34c795=>{const _0x57e57d=_0x387c25;var {name:_0xc36fe3,operator:_0x3efb6d='eq',hidden:_0x1b7943=!0x1,value:_0x2216f4}=_0x34c795;if(_0xc36fe3){if(_0x57e57d(0xa3)==_0x3efb6d)_0x504cb4['search'][_0x57e57d(0xa1)](_0xc36fe3);else{let _0x215dbd={'name':_0xc36fe3,'operator':_0x3efb6d};0x1==_0x1b7943?(_0x215dbd[_0x57e57d(0xa2)]=_0x2216f4,_0x504cb4[_0x57e57d(0x86)][_0x57e57d(0xa6)]['filters'][_0x57e57d(0xa1)](_0x215dbd)):(_0x215dbd[_0x57e57d(0xa2)]=_0x2216f4,_0x504cb4['search'][_0x57e57d(0xa1)](_0x215dbd));}}}),_0x504cb4;}['renderSearchConfigTab'](){const _0x3fb983=a0_0xce28fa;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x3fb983(0x8a)]} .mode='GRID'
3
+ .fetchHandler=${this['fetchSearchTabHandler'][_0x3fb983(0xa7)](this)}>
4
+ </ox-grist>`;}get[a0_0xce28fa(0x9d)](){const _0x51eda8=a0_0xce28fa;return this[_0x51eda8(0x94)][_0x51eda8(0x85)](_0x51eda8(0x8d));}async[a0_0xce28fa(0x7d)](){const _0x1e5982=a0_0xce28fa;return{'total':0x0,'records':this[_0x1e5982(0x93)]||[]};}async[a0_0xce28fa(0x8c)](){const _0x866deb=a0_0xce28fa;let _0x3aa6fe=await MetaApi[_0x866deb(0x78)](_0x866deb(0x9b));this[_0x866deb(0x8a)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x866deb(0x96),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x866deb(0x9e)](!0x1,!0x1),{'type':_0x866deb(0x7b),'gutterName':_0x866deb(0x7c),'icon':_0x866deb(0x81),'handlers':{'click':(_0x1cb632,_0x112250,_0x372017,_0x5032cd,_0x3a3b05)=>{const _0x5e305d=_0x866deb;_0x5032cd['id']&&this[_0x5e305d(0xa5)](this[_0x5e305d(0x9d)],_0x5032cd);}}},{'type':_0x866deb(0x95),'name':'id','hidden':!0x0},{'type':'integer','name':_0x866deb(0x96),'header':TermsUtil[_0x866deb(0xa9)](_0x866deb(0x96)),'sortable':!0x0,'width':0x41,'record':{'align':_0x866deb(0x88),'editable':!0x0,'mandatory':!0x0}},{'type':_0x866deb(0x95),'name':_0x866deb(0x7e),'header':TermsUtil[_0x866deb(0xa9)](_0x866deb(0x7e)),'sortable':!0x1,'width':0x9b,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x866deb(0x79),'name':_0x866deb(0x77),'header':TermsUtil[_0x866deb(0xa9)](_0x866deb(0x8b)),'sortable':!0x1,'width':0x64,'record':{'align':_0x866deb(0xa0),'editable':!0x0,'mandatory':!0x1,'options':_0x3aa6fe}},{'type':_0x866deb(0x98),'name':'hidden','header':TermsUtil[_0x866deb(0xa9)](_0x866deb(0x91)),'sortable':!0x1,'width':0x41,'record':{'align':_0x866deb(0x9c),'mandatory':!0x1,'editable':!0x0}},{'type':_0x866deb(0x95),'name':_0x866deb(0xa2),'header':TermsUtil[_0x866deb(0xa9)](_0x866deb(0x90)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x866deb(0xa0),'editable':!0x0,'mandatory':!0x1}}]};}};
@@ -1,4 +1,4 @@
1
- const a0_0x319a81=a0_0x575e;function a0_0x575e(_0x45af52,_0x47b202){const _0x2c53c7=a0_0x2c53();return a0_0x575e=function(_0x575e95,_0x285ec2){_0x575e95=_0x575e95-0x11e;let _0x2c66ba=_0x2c53c7[_0x575e95];return _0x2c66ba;},a0_0x575e(_0x45af52,_0x47b202);}(function(_0x4755c1,_0x55f08e){const _0x20ff04=a0_0x575e,_0x56a556=_0x4755c1();while(!![]){try{const _0x2d0a4f=-parseInt(_0x20ff04(0x13b))/0x1*(-parseInt(_0x20ff04(0x136))/0x2)+-parseInt(_0x20ff04(0x142))/0x3+-parseInt(_0x20ff04(0x121))/0x4+-parseInt(_0x20ff04(0x12d))/0x5*(parseInt(_0x20ff04(0x127))/0x6)+-parseInt(_0x20ff04(0x146))/0x7*(parseInt(_0x20ff04(0x129))/0x8)+parseInt(_0x20ff04(0x125))/0x9+parseInt(_0x20ff04(0x13d))/0xa;if(_0x2d0a4f===_0x55f08e)break;else _0x56a556['push'](_0x56a556['shift']());}catch(_0x3a2c8f){_0x56a556['push'](_0x56a556['shift']());}}}(a0_0x2c53,0x5cb4b));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x2c53(){const _0x3ba609=['parent_field','4340pQFfoA','location','tagname','deleteRow','menu','53yoIXBu','tabTabGrist','13729580uIioMa','param_field','center','routing','fetchTabTabHandler','909477xoEiAT','getTabConfigTabValues','string','setTabConfigTabValues','28cnQSCw','tabTabGridConfig','tab-tab-grid','name','querySelector','getGristGuttersConfig','tag','#tab-tab-grid','left','gutter','2096828CrgmIr','map','forEach','tLabel','3041694JqkdzP','renderTabConfigTab','1110UbIpsk','tab','831800eRlcqq','display','icon','sortRecordByRank','5485SzQXzk','shadowRoot','rank','parent_id','viewTabData','getGristSelectableConfig','page_location','right'];a0_0x2c53=function(){return _0x3ba609;};return a0_0x2c53();}export const TabConfigTabMixin=_0x4b8e0c=>class extends _0x4b8e0c{[a0_0x319a81(0x145)](_0x26fb39){const _0x4d2f3c=a0_0x319a81;let _0x4576ce=_0x26fb39?.[_0x4d2f3c(0x122)]((_0xeae859,_0x43c35d)=>{const _0x5cc9cd=_0x4d2f3c;let _0x3f8109=_0x43c35d+0x1,_0x448cd0={};return _0x448cd0[_0x5cc9cd(0x12f)]=0xa*_0x3f8109,_0x448cd0['id']=_0x3f8109,_0x448cd0[_0x5cc9cd(0x149)]=_0xeae859[_0x5cc9cd(0x149)],_0x448cd0['display']=_0xeae859[_0x5cc9cd(0x12a)],_0x448cd0['tagname']=_0xeae859[_0x5cc9cd(0x138)],_0x448cd0[_0x5cc9cd(0x12b)]=_0xeae859[_0x5cc9cd(0x12b)],_0x448cd0[_0x5cc9cd(0x137)]=_0xeae859[_0x5cc9cd(0x137)],_0x448cd0[_0x5cc9cd(0x135)]=_0xeae859[_0x5cc9cd(0x135)],_0x448cd0[_0x5cc9cd(0x13e)]=_0xeae859[_0x5cc9cd(0x13e)],_0x448cd0['menu']=_0xeae859[_0x5cc9cd(0x13a)],_0x448cd0;});this[_0x4d2f3c(0x131)]=_0x4576ce||[],this['tabTabGrist']?.['fetch']();}[a0_0x319a81(0x143)](){const _0xf5aba5=a0_0x319a81;let _0xbe1905={'tab':[]},_0x31094f=this['getElementValueById'](_0xf5aba5(0x148));return this[_0xf5aba5(0x12c)](_0x31094f)?.[_0xf5aba5(0x123)](_0x18d869=>{const _0x5dae82=_0xf5aba5;var {name:_0x23f057,display:_0x6fb5d4,tagname:_0x477212,location:_0x1d94af,parent_field:_0x699094,param_field:_0x4325e3,menu:_0x393da0,icon:_0x33f2d9}=_0x18d869;_0x23f057&&_0x477212&&_0x1d94af&&_0x393da0&&(_0x6fb5d4||(_0x6fb5d4=_0x23f057),_0x699094||(_0x699094='id'),_0x4325e3||(_0x4325e3=_0x5dae82(0x13e)),_0xbe1905[_0x5dae82(0x128)]['push']({'name':_0x23f057,'display':_0x6fb5d4,'tagname':_0x477212,'location':_0x1d94af,'parent_field':_0x699094,'param_field':_0x4325e3,'menu':_0x393da0,'icon':_0x33f2d9}));}),_0xbe1905;}[a0_0x319a81(0x126)](){const _0x2f750e=a0_0x319a81;return html`
2
- <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x2f750e(0x147)]} .mode='GRID'
3
- .fetchHandler=${this[_0x2f750e(0x141)]['bind'](this)}>
4
- </ox-grist>`;}get['tabTabGrist'](){const _0xc04e76=a0_0x319a81;return this[_0xc04e76(0x12e)][_0xc04e76(0x14a)](_0xc04e76(0x11e));}async[a0_0x319a81(0x141)](){const _0x2c7432=a0_0x319a81;return{'total':0x0,'records':this[_0x2c7432(0x131)]||[]};}async['setTabConfigTabConfig'](){const _0x4b50dc=a0_0x319a81;this[_0x4b50dc(0x147)]={'rows':MetaApi[_0x4b50dc(0x132)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x4b50dc(0x12f),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x4b50dc(0x14b)](!0x1,!0x1),{'type':_0x4b50dc(0x120),'gutterName':'button','icon':'delete','handlers':{'click':(_0x3a434e,_0x44ec7c,_0x417542,_0x5395c5,_0x4ea9a6)=>{const _0x3591f2=_0x4b50dc;_0x5395c5['id']&&this[_0x3591f2(0x139)](this[_0x3591f2(0x13c)],_0x5395c5);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'integer','name':_0x4b50dc(0x12f),'header':TermsUtil[_0x4b50dc(0x124)](_0x4b50dc(0x12f)),'sortable':!0x0,'width':0x41,'record':{'align':_0x4b50dc(0x134),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x4b50dc(0x149),'header':TermsUtil[_0x4b50dc(0x124)](_0x4b50dc(0x149)),'sortable':!0x1,'width':0x64,'record':{'align':_0x4b50dc(0x11f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x4b50dc(0x144),'name':_0x4b50dc(0x12a),'header':TermsUtil[_0x4b50dc(0x124)](_0x4b50dc(0x12a)),'sortable':!0x1,'width':0x64,'record':{'align':_0x4b50dc(0x11f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x4b50dc(0x144),'name':_0x4b50dc(0x12b),'header':TermsUtil[_0x4b50dc(0x124)](_0x4b50dc(0x12b)),'sortable':!0x0,'width':0x41,'record':{'align':_0x4b50dc(0x13f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x4b50dc(0x144),'name':_0x4b50dc(0x13a),'header':TermsUtil[_0x4b50dc(0x124)](_0x4b50dc(0x140)),'sortable':!0x1,'width':0x64,'record':{'align':_0x4b50dc(0x11f),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'tagname','header':TermsUtil['tLabel'](_0x4b50dc(0x14c)),'sortable':!0x1,'width':0x96,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x4b50dc(0x144),'name':_0x4b50dc(0x137),'header':TermsUtil[_0x4b50dc(0x124)](_0x4b50dc(0x133)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x4b50dc(0x11f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x4b50dc(0x144),'name':_0x4b50dc(0x135),'header':TermsUtil[_0x4b50dc(0x124)](_0x4b50dc(0x130)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x4b50dc(0x144),'name':_0x4b50dc(0x13e),'header':TermsUtil[_0x4b50dc(0x124)]('params'),'sortable':!0x1,'width':0x64,'record':{'align':_0x4b50dc(0x11f),'editable':!0x0,'mandatory':!0x0}}]};}};
1
+ const a0_0x44e9f9=a0_0x2d10;function a0_0x488b(){const _0x5b6f04=['9NXtuMj','forEach','679287UQenAg','location','menu','fetchTabTabHandler','getGristGuttersConfig','314936OivOjO','delete','center','gutter','tabTabGridConfig','tab','param_field','right','renderTabConfigTab','params','getTabConfigTabValues','tagname','tabTabGrist','setTabConfigTabConfig','parent_field','8238996byYdQC','querySelector','viewTabData','icon','page_location','integer','button','464006EtelEW','tag','bind','left','parent_id','30MxWjjW','6dInpMb','name','shadowRoot','99bZROXB','getGristSelectableConfig','1fcoWHd','tab-tab-grid','push','tLabel','string','205344XzRKtZ','146670sMKrzX','#tab-tab-grid','rank','66288iRyTJE','display'];a0_0x488b=function(){return _0x5b6f04;};return a0_0x488b();}function a0_0x2d10(_0x4bccbd,_0x302c62){const _0x488b5e=a0_0x488b();return a0_0x2d10=function(_0x2d1059,_0xf44dee){_0x2d1059=_0x2d1059-0x13c;let _0x303103=_0x488b5e[_0x2d1059];return _0x303103;},a0_0x2d10(_0x4bccbd,_0x302c62);}(function(_0x49bc43,_0x5b5412){const _0x1796b9=a0_0x2d10,_0x187df7=_0x49bc43();while(!![]){try{const _0x406042=parseInt(_0x1796b9(0x13f))/0x1*(-parseInt(_0x1796b9(0x167))/0x2)+parseInt(_0x1796b9(0x144))/0x3+-parseInt(_0x1796b9(0x148))/0x4*(parseInt(_0x1796b9(0x16c))/0x5)+-parseInt(_0x1796b9(0x16d))/0x6*(parseInt(_0x1796b9(0x14c))/0x7)+-parseInt(_0x1796b9(0x151))/0x8*(parseInt(_0x1796b9(0x14a))/0x9)+-parseInt(_0x1796b9(0x145))/0xa*(parseInt(_0x1796b9(0x13d))/0xb)+parseInt(_0x1796b9(0x160))/0xc;if(_0x406042===_0x5b5412)break;else _0x187df7['push'](_0x187df7['shift']());}catch(_0x5878f5){_0x187df7['push'](_0x187df7['shift']());}}}(a0_0x488b,0x25e31));import{html}from'lit-element';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=_0x36f857=>class extends _0x36f857{['setTabConfigTabValues'](_0x11dcc8){const _0x54b1a7=a0_0x2d10;let _0x3bfb7a=_0x11dcc8?.['map']((_0x186cba,_0xe25c80)=>{const _0x524809=a0_0x2d10;let _0x3be96d=_0xe25c80+0x1,_0xa3d313={};return _0xa3d313['rank']=0xa*_0x3be96d,_0xa3d313['id']=_0x3be96d,_0xa3d313[_0x524809(0x16e)]=_0x186cba[_0x524809(0x16e)],_0xa3d313[_0x524809(0x149)]=_0x186cba[_0x524809(0x149)],_0xa3d313[_0x524809(0x15c)]=_0x186cba['tagname'],_0xa3d313[_0x524809(0x163)]=_0x186cba[_0x524809(0x163)],_0xa3d313[_0x524809(0x14d)]=_0x186cba[_0x524809(0x14d)],_0xa3d313[_0x524809(0x15f)]=_0x186cba[_0x524809(0x15f)],_0xa3d313[_0x524809(0x157)]=_0x186cba[_0x524809(0x157)],_0xa3d313[_0x524809(0x14e)]=_0x186cba[_0x524809(0x14e)],_0xa3d313;});this[_0x54b1a7(0x162)]=_0x3bfb7a||[],this['tabTabGrist']?.['fetch']();}[a0_0x44e9f9(0x15b)](){const _0x342ed6=a0_0x44e9f9;let _0x2166a7={'tab':[]},_0x17fcbe=this['getElementValueById'](_0x342ed6(0x140));return this['sortRecordByRank'](_0x17fcbe)?.[_0x342ed6(0x14b)](_0x56c224=>{const _0x2af6d2=_0x342ed6;var {name:_0x5be861,display:_0x255413,tagname:_0x4ec94d,location:_0x2c10ff,parent_field:_0x5a505d,param_field:_0x1f3757,menu:_0x2de5cd,icon:_0x390faa}=_0x56c224;_0x5be861&&_0x4ec94d&&_0x2c10ff&&_0x2de5cd&&(_0x255413||(_0x255413=_0x5be861),_0x5a505d||(_0x5a505d='id'),_0x1f3757||(_0x1f3757=_0x2af6d2(0x157)),_0x2166a7[_0x2af6d2(0x156)][_0x2af6d2(0x141)]({'name':_0x5be861,'display':_0x255413,'tagname':_0x4ec94d,'location':_0x2c10ff,'parent_field':_0x5a505d,'param_field':_0x1f3757,'menu':_0x2de5cd,'icon':_0x390faa}));}),_0x2166a7;}[a0_0x44e9f9(0x159)](){const _0x1e5596=a0_0x44e9f9;return html`
2
+ <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x1e5596(0x155)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x1e5596(0x14f)][_0x1e5596(0x169)](this)}>
4
+ </ox-grist>`;}get[a0_0x44e9f9(0x15d)](){const _0x56bdaa=a0_0x44e9f9;return this[_0x56bdaa(0x13c)][_0x56bdaa(0x161)](_0x56bdaa(0x146));}async['fetchTabTabHandler'](){const _0x2167e4=a0_0x44e9f9;return{'total':0x0,'records':this[_0x2167e4(0x162)]||[]};}async[a0_0x44e9f9(0x15e)](){const _0x1cf785=a0_0x44e9f9;this[_0x1cf785(0x155)]={'rows':MetaApi[_0x1cf785(0x13e)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x1cf785(0x150)](!0x1,!0x1),{'type':_0x1cf785(0x154),'gutterName':_0x1cf785(0x166),'icon':_0x1cf785(0x152),'handlers':{'click':(_0x301b89,_0x4a986e,_0x1431b9,_0x65397e,_0x4ec9c7)=>{const _0x541680=_0x1cf785;_0x65397e['id']&&this['deleteRow'](this[_0x541680(0x15d)],_0x65397e);}}},{'type':_0x1cf785(0x143),'name':'id','hidden':!0x0},{'type':_0x1cf785(0x165),'name':'rank','header':TermsUtil[_0x1cf785(0x142)](_0x1cf785(0x147)),'sortable':!0x0,'width':0x41,'record':{'align':_0x1cf785(0x158),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x1cf785(0x16e),'header':TermsUtil['tLabel'](_0x1cf785(0x16e)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1cf785(0x16a),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1cf785(0x143),'name':_0x1cf785(0x149),'header':TermsUtil['tLabel'](_0x1cf785(0x149)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1cf785(0x16a),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x1cf785(0x163),'header':TermsUtil[_0x1cf785(0x142)](_0x1cf785(0x163)),'sortable':!0x0,'width':0x41,'record':{'align':_0x1cf785(0x153),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1cf785(0x143),'name':_0x1cf785(0x14e),'header':TermsUtil[_0x1cf785(0x142)]('routing'),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x1cf785(0x143),'name':_0x1cf785(0x15c),'header':TermsUtil[_0x1cf785(0x142)](_0x1cf785(0x168)),'sortable':!0x1,'width':0x96,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x1cf785(0x143),'name':_0x1cf785(0x14d),'header':TermsUtil[_0x1cf785(0x142)](_0x1cf785(0x164)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x1cf785(0x16a),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1cf785(0x143),'name':_0x1cf785(0x15f),'header':TermsUtil[_0x1cf785(0x142)](_0x1cf785(0x16b)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1cf785(0x16a),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1cf785(0x143),'name':'param_field','header':TermsUtil[_0x1cf785(0x142)](_0x1cf785(0x15a)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1cf785(0x16a),'editable':!0x0,'mandatory':!0x0}}]};}};