@things-factory/operato-tools 6.1.22 → 6.1.24

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,86 +1,86 @@
1
- const a0_0xd0fc39=a0_0x203f;(function(_0x4633d8,_0x52e2db){const _0x4f2b54=a0_0x203f,_0x283da8=_0x4633d8();while(!![]){try{const _0x1b07f1=parseInt(_0x4f2b54(0x210))/0x1*(parseInt(_0x4f2b54(0x208))/0x2)+parseInt(_0x4f2b54(0x1d6))/0x3*(parseInt(_0x4f2b54(0x203))/0x4)+parseInt(_0x4f2b54(0x1f8))/0x5*(parseInt(_0x4f2b54(0x1dc))/0x6)+-parseInt(_0x4f2b54(0x1fc))/0x7+parseInt(_0x4f2b54(0x1e5))/0x8*(-parseInt(_0x4f2b54(0x1e1))/0x9)+parseInt(_0x4f2b54(0x1f5))/0xa*(parseInt(_0x4f2b54(0x20d))/0xb)+-parseInt(_0x4f2b54(0x1f7))/0xc*(-parseInt(_0x4f2b54(0x1e3))/0xd);if(_0x1b07f1===_0x52e2db)break;else _0x283da8['push'](_0x283da8['shift']());}catch(_0x197c8a){_0x283da8['push'](_0x283da8['shift']());}}}(a0_0x3dc4,0xce573));import{html}from'lit-element';function a0_0x3dc4(){const _0x150444=['gridViewModes','view_mode','pages','4971ioNBzY','grid_desk_view','row','viewGridData','getElementValueById','tLabel','6qudasz','grid_view_use','option','grid_use_filter','push','18DJFiQh','_view_use','13143MKTmgb','unlimited','5119216GcCMkQ','unsupport','setGridConfigTabDetaultValues','true','grid_support_view','grid','grid_support_multi_select','length','list_view_use','setGridConfigTabConfig','GRID','toLowerCase','grid_term_unlimited','use_row_checker','grid_term_default','multiple_select','450xCouEh','use_filter_form','5868qLgvUo','4540685EXRbKa','gridPageOptions','GRID_PAGE_OPTIONS','mobile_mode','10570966WTJGgU','getGridConfigTabValues','name','GRID_VIEW_MODE','includes','grid_pagination','grid_use_row_check','2512QXOdyR','unuse','grid_term_','grid_term_100','CARD','5294csOgzG','LIST','grid_mobile_view','grid_multi_select','map','247379lgGzdB','grid_row_check_use','description','68zblUoH','support'];a0_0x3dc4=function(){return _0x150444;};return a0_0x3dc4();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x203f(_0x43cf3f,_0x2086b4){const _0x3dc453=a0_0x3dc4();return a0_0x203f=function(_0x203f87,_0x1d2307){_0x203f87=_0x203f87-0x1d3;let _0x1fefad=_0x3dc453[_0x203f87];return _0x1fefad;},a0_0x203f(_0x43cf3f,_0x2086b4);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0x15d243=>class extends _0x15d243{['setGridConfigTabValues'](_0x58a38d){const _0x1d62fe=a0_0x203f;if(_0x58a38d){var {mobile_mode:_0x32d83d='',desk_mode:_0x1b4377='',pages:_0x4319e4=[],use_row_checker:_0x1881a4=!0x0,view_mode:_0x36e71e=[]}=_0x58a38d['option']||{};let _0x24b905=(_0x58a38d[_0x1d62fe(0x1d8)]||{'multiple_select':!0x1})[_0x1d62fe(0x1f4)],_0x429f4d=_0x1d62fe(0x1e4)==_0x4319e4?'grid_term_unlimited':0x0==_0x4319e4[_0x1d62fe(0x1ec)]?'':0x14==_0x4319e4[0x0]?_0x1d62fe(0x1f3):_0x1d62fe(0x205)+_0x4319e4[0x0];this[_0x1d62fe(0x1d9)]={'mobile_mode':_0x32d83d,'desk_mode':_0x1b4377,'use_row_checker':_0x1881a4,'pages':_0x429f4d,'view_mode':_0x36e71e,'multiple_select':_0x24b905,'use_filter_form':_0x58a38d[_0x1d62fe(0x1f6)]};}else this[_0x1d62fe(0x1e7)]();}[a0_0xd0fc39(0x1fd)](){const _0x2e82e0=a0_0xd0fc39;let _0x19844a={'grid':{'option':{},'row':{'click':'select-row-toggle'}}},_0x21d6c7=this[_0x2e82e0(0x1da)](_0x2e82e0(0x20e)),_0x3c9e1e=this[_0x2e82e0(0x1da)](_0x2e82e0(0x20b)),_0x47d740=this[_0x2e82e0(0x1da)]('grid_desk_view'),_0x3f1422=this[_0x2e82e0(0x1da)](_0x2e82e0(0x20a)),_0x8771b8=this[_0x2e82e0(0x1da)]('grid_use_filter'),_0x27bda2=this[_0x2e82e0(0x1da)](_0x2e82e0(0x201)),_0x1a6e8e=this['getElementValueById'](_0x2e82e0(0x1dd)),_0x29df0f=this[_0x2e82e0(0x1da)](_0x2e82e0(0x1ed)),_0x12a521=this[_0x2e82e0(0x1da)]('card_view_use');return _0x19844a[_0x2e82e0(0x1ea)][_0x2e82e0(0x1f6)]=_0x2e82e0(0x1e8)==_0x8771b8,_0x19844a['grid'][_0x2e82e0(0x1d8)]['multiple_select']='true'==_0x3c9e1e,_0x19844a[_0x2e82e0(0x1ea)][_0x2e82e0(0x1de)][_0x2e82e0(0x1f2)]=_0x2e82e0(0x1e8)==_0x21d6c7,_0x19844a[_0x2e82e0(0x1ea)]['option'][_0x2e82e0(0x1fb)]=_0x3f1422,_0x19844a[_0x2e82e0(0x1ea)]['option']['desk_mode']=_0x47d740,_0x2e82e0(0x1f3)==_0x27bda2?_0x19844a[_0x2e82e0(0x1ea)]['option'][_0x2e82e0(0x1d5)]=[0x14,0x1e,0x32,0x64]:'grid_term_50'==_0x27bda2?_0x19844a[_0x2e82e0(0x1ea)]['option'][_0x2e82e0(0x1d5)]=[0x32,0x64,0x1f4,0x3e8]:_0x2e82e0(0x206)==_0x27bda2?_0x19844a[_0x2e82e0(0x1ea)][_0x2e82e0(0x1de)][_0x2e82e0(0x1d5)]=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0x27bda2?_0x19844a[_0x2e82e0(0x1ea)][_0x2e82e0(0x1de)][_0x2e82e0(0x1d5)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x2e82e0(0x1f1)==_0x27bda2&&(_0x19844a[_0x2e82e0(0x1ea)][_0x2e82e0(0x1de)]['pages']=_0x2e82e0(0x1e4)),_0x19844a[_0x2e82e0(0x1ea)][_0x2e82e0(0x1de)][_0x2e82e0(0x1d4)]=[],_0x2e82e0(0x1e8)==_0x1a6e8e&&_0x19844a[_0x2e82e0(0x1ea)][_0x2e82e0(0x1de)]['view_mode']['push'](_0x2e82e0(0x1ef)),_0x2e82e0(0x1e8)==_0x29df0f&&_0x19844a['grid']['option'][_0x2e82e0(0x1d4)][_0x2e82e0(0x1e0)]('LIST'),_0x2e82e0(0x1e8)==_0x12a521&&_0x19844a['grid'][_0x2e82e0(0x1de)]['view_mode'][_0x2e82e0(0x1e0)](_0x2e82e0(0x207)),_0x19844a;}async[a0_0xd0fc39(0x1ee)](){const _0x2fa519=a0_0xd0fc39;let _0x4024df=await MetaApi['codeItems'](_0x2fa519(0x1fa)),_0x324fcb=await MetaApi['codeItems'](_0x2fa519(0x1ff));this[_0x2fa519(0x1d3)]=_0x324fcb,this[_0x2fa519(0x1f9)]=_0x4024df;}[a0_0xd0fc39(0x1e7)](){const _0x206163=a0_0xd0fc39;this[_0x206163(0x1d9)]||(this['viewGridData']={'mobile_mode':this[_0x206163(0x1d3)]?this[_0x206163(0x1d3)][0x1]:_0x206163(0x209),'desk_mode':this['gridViewModes']?this[_0x206163(0x1d3)][0x0]:_0x206163(0x1ef),'use_row_checker':!0x0,'pages':_0x206163(0x1f3),'view_mode':[...this[_0x206163(0x1d3)]?this[_0x206163(0x1d3)]:[_0x206163(0x1ef),'LIST','CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}['renderGridConfigTab'](){const _0x4c4074=a0_0xd0fc39;return this['setGridConfigTabDetaultValues'](),html`
1
+ const a0_0x55ea67=a0_0x4f34;(function(_0x211ba7,_0x127ef5){const _0x3fe0ca=a0_0x4f34,_0x54b0b8=_0x211ba7();while(!![]){try{const _0x54412a=-parseInt(_0x3fe0ca(0x207))/0x1+parseInt(_0x3fe0ca(0x20c))/0x2+parseInt(_0x3fe0ca(0x20a))/0x3*(-parseInt(_0x3fe0ca(0x1fe))/0x4)+parseInt(_0x3fe0ca(0x1ff))/0x5+parseInt(_0x3fe0ca(0x1db))/0x6*(parseInt(_0x3fe0ca(0x1d2))/0x7)+parseInt(_0x3fe0ca(0x1f0))/0x8+-parseInt(_0x3fe0ca(0x1fa))/0x9*(parseInt(_0x3fe0ca(0x1d4))/0xa);if(_0x54412a===_0x127ef5)break;else _0x54b0b8['push'](_0x54b0b8['shift']());}catch(_0x8a0c2a){_0x54b0b8['push'](_0x54b0b8['shift']());}}}(a0_0x525d,0xab7c0));import{html}from'lit-element';function a0_0x4f34(_0x576276,_0x4eed7a){const _0x525dbd=a0_0x525d();return a0_0x4f34=function(_0x4f340b,_0x285fb7){_0x4f340b=_0x4f340b-0x1cf;let _0x31ea3f=_0x525dbd[_0x4f340b];return _0x31ea3f;},a0_0x4f34(_0x576276,_0x4eed7a);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x525d(){const _0x51d749=['343301bjeLqc','desk_mode','151220Iladsb','length','LIST','use_row_checker','codeItems','GRID','map','78UiGAGY','view_mode','_view_use','grid','grid_row_check_use','name','setGridConfigTabConfig','grid_term_1000','row','list_view_use','grid_pagination','GRID_VIEW_MODE','use_filter_form','multiple_select','getElementValueById','grid_desk_view','unuse','grid_term_','grid_support_multi_select','grid_term_50','grid_use_row_check','8940080OOhFuK','option','grid_mobile_view','card_view_use','use','grid_term_default','grid_view_use','includes','unlimited','grid_use_filter','513YwjoAM','tLabel','grid_support_view','description','4pYnQKW','2939395PqvLrs','grid_term_unlimited','grid_multi_select','unsupport','gridPageOptions','viewGridData','push','setGridConfigTabDetaultValues','620838rmtsVA','support','true','2774544xlwIxE','pages','1534184KgbNkF','gridViewModes','CARD','toLowerCase'];a0_0x525d=function(){return _0x51d749;};return a0_0x525d();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0x5c3d26=>class extends _0x5c3d26{['setGridConfigTabValues'](_0x3cc28e){const _0x10b315=a0_0x4f34;if(_0x3cc28e){var {mobile_mode:_0x1fd7bd='',desk_mode:_0x42e649='',pages:_0x48cc02=[],use_row_checker:_0x94ff40=!0x0,view_mode:_0x59b763=[]}=_0x3cc28e[_0x10b315(0x1f1)]||{};let _0x16c60c=(_0x3cc28e[_0x10b315(0x1e3)]||{'multiple_select':!0x1})[_0x10b315(0x1e8)],_0x244395=_0x10b315(0x1f8)==_0x48cc02?_0x10b315(0x200):0x0==_0x48cc02[_0x10b315(0x1d5)]?'':0x14==_0x48cc02[0x0]?_0x10b315(0x1f5):_0x10b315(0x1ec)+_0x48cc02[0x0];this[_0x10b315(0x204)]={'mobile_mode':_0x1fd7bd,'desk_mode':_0x42e649,'use_row_checker':_0x94ff40,'pages':_0x244395,'view_mode':_0x59b763,'multiple_select':_0x16c60c,'use_filter_form':_0x3cc28e[_0x10b315(0x1e7)]};}else this[_0x10b315(0x206)]();}['getGridConfigTabValues'](){const _0x2f28da=a0_0x4f34;let _0x2c893f={'grid':{'option':{},'row':{'click':'select-row-toggle'}}},_0x579fd0=this[_0x2f28da(0x1e9)](_0x2f28da(0x1df)),_0x108604=this[_0x2f28da(0x1e9)](_0x2f28da(0x201)),_0x5605e8=this['getElementValueById'](_0x2f28da(0x1ea)),_0x1500b4=this[_0x2f28da(0x1e9)]('grid_mobile_view'),_0x2c212c=this[_0x2f28da(0x1e9)]('grid_use_filter'),_0x36a256=this[_0x2f28da(0x1e9)]('grid_pagination'),_0x138b43=this[_0x2f28da(0x1e9)](_0x2f28da(0x1f6)),_0x272a49=this['getElementValueById'](_0x2f28da(0x1e4)),_0x16a15d=this[_0x2f28da(0x1e9)](_0x2f28da(0x1f3));return _0x2c893f['grid'][_0x2f28da(0x1e7)]=_0x2f28da(0x209)==_0x2c212c,_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1e3)][_0x2f28da(0x1e8)]=_0x2f28da(0x209)==_0x108604,_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1f1)][_0x2f28da(0x1d7)]=_0x2f28da(0x209)==_0x579fd0,_0x2c893f[_0x2f28da(0x1de)]['option']['mobile_mode']=_0x1500b4,_0x2c893f[_0x2f28da(0x1de)]['option'][_0x2f28da(0x1d3)]=_0x5605e8,_0x2f28da(0x1f5)==_0x36a256?_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1f1)][_0x2f28da(0x20b)]=[0x14,0x1e,0x32,0x64]:_0x2f28da(0x1ee)==_0x36a256?_0x2c893f['grid'][_0x2f28da(0x1f1)]['pages']=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0x36a256?_0x2c893f['grid'][_0x2f28da(0x1f1)][_0x2f28da(0x20b)]=[0x64,0x1f4,0x3e8,0x1388]:_0x2f28da(0x1e2)==_0x36a256?_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1f1)][_0x2f28da(0x20b)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x2f28da(0x200)==_0x36a256&&(_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1f1)][_0x2f28da(0x20b)]=_0x2f28da(0x1f8)),_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1f1)][_0x2f28da(0x1dc)]=[],_0x2f28da(0x209)==_0x138b43&&_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1f1)][_0x2f28da(0x1dc)][_0x2f28da(0x205)](_0x2f28da(0x1d9)),'true'==_0x272a49&&_0x2c893f['grid'][_0x2f28da(0x1f1)][_0x2f28da(0x1dc)][_0x2f28da(0x205)]('LIST'),'true'==_0x16a15d&&_0x2c893f[_0x2f28da(0x1de)][_0x2f28da(0x1f1)][_0x2f28da(0x1dc)][_0x2f28da(0x205)](_0x2f28da(0x1d0)),_0x2c893f;}async[a0_0x55ea67(0x1e1)](){const _0xebabfa=a0_0x55ea67;let _0x41b506=await MetaApi[_0xebabfa(0x1d8)]('GRID_PAGE_OPTIONS'),_0x27969f=await MetaApi[_0xebabfa(0x1d8)](_0xebabfa(0x1e6));this[_0xebabfa(0x1cf)]=_0x27969f,this[_0xebabfa(0x203)]=_0x41b506;}[a0_0x55ea67(0x206)](){const _0x2df47a=a0_0x55ea67;this[_0x2df47a(0x204)]||(this[_0x2df47a(0x204)]={'mobile_mode':this['gridViewModes']?this[_0x2df47a(0x1cf)][0x1]:_0x2df47a(0x1d6),'desk_mode':this[_0x2df47a(0x1cf)]?this[_0x2df47a(0x1cf)][0x0]:'GRID','use_row_checker':!0x0,'pages':'grid_term_default','view_mode':[...this[_0x2df47a(0x1cf)]?this[_0x2df47a(0x1cf)]:[_0x2df47a(0x1d9),_0x2df47a(0x1d6),_0x2df47a(0x1d0)]],'multiple_select':!0x0,'use_filter_form':!0x0});}['renderGridConfigTab'](){const _0x486f4b=a0_0x55ea67;return this[_0x486f4b(0x206)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x202))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1ef))}
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[_0x4c4074(0x1d9)]['use_row_checker']}>${TermsUtil[_0x4c4074(0x1db)]('use')}</input>
10
+ ?checked=${this[_0x486f4b(0x204)]['use_row_checker']}>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1f4))}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this[_0x4c4074(0x1d9)]['use_row_checker']}>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x204))}</input>
12
+ ?checked=${!this['viewGridData'][_0x486f4b(0x1d7)]}>${TermsUtil['tLabel']('unuse')}</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[_0x4c4074(0x1db)](_0x4c4074(0x1eb))}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1ed))}
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[_0x4c4074(0x1d9)][_0x4c4074(0x1f4)]}>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x211))}</input>
23
+ ?checked=${this[_0x486f4b(0x204)][_0x486f4b(0x1e8)]}>${TermsUtil['tLabel'](_0x486f4b(0x208))}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this[_0x4c4074(0x1d9)][_0x4c4074(0x1f4)]}>${TermsUtil['tLabel'](_0x4c4074(0x1e6))}</input>
25
+ ?checked=${!this[_0x486f4b(0x204)][_0x486f4b(0x1e8)]}>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x202))}</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[_0x4c4074(0x1db)](_0x4c4074(0x1df))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1f9))}
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[_0x4c4074(0x1d9)][_0x4c4074(0x1f6)]}>${TermsUtil[_0x4c4074(0x1db)]('use')}</input>
36
+ ?checked=${this[_0x486f4b(0x204)][_0x486f4b(0x1e7)]}>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1f4))}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this[_0x4c4074(0x1d9)][_0x4c4074(0x1f6)]}>${TermsUtil['tLabel'](_0x4c4074(0x204))}</input>
38
+ ?checked=${!this[_0x486f4b(0x204)]['use_filter_form']}>${TermsUtil[_0x486f4b(0x1fb)]('unuse')}</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['tLabel'](_0x4c4074(0x1d7))}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1ea))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this['gridViewModes']?.['map'](_0x2d4b35=>html`<option value=${_0x2d4b35[_0x4c4074(0x1fe)]} ?selected=${this[_0x4c4074(0x1d9)]['desk_mode']==_0x2d4b35[_0x4c4074(0x1fe)]}>${_0x2d4b35[_0x4c4074(0x20f)]}</option>`)}
49
+ ${this[_0x486f4b(0x1cf)]?.[_0x486f4b(0x1da)](_0x1e213c=>html`<option value=${_0x1e213c[_0x486f4b(0x1e0)]} ?selected=${this[_0x486f4b(0x204)][_0x486f4b(0x1d3)]==_0x1e213c['name']}>${_0x1e213c['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[_0x4c4074(0x1db)](_0x4c4074(0x20a))}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1f2))}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this[_0x4c4074(0x1d3)]?.[_0x4c4074(0x20c)](_0x19581b=>html`<option value=${_0x19581b[_0x4c4074(0x1fe)]} ?selected=${this[_0x4c4074(0x1d9)][_0x4c4074(0x1fb)]==_0x19581b['name']}>${_0x19581b[_0x4c4074(0x20f)]}</option>`)}
59
+ ${this[_0x486f4b(0x1cf)]?.[_0x486f4b(0x1da)](_0x5e5b96=>html`<option value=${_0x5e5b96[_0x486f4b(0x1e0)]} ?selected=${this[_0x486f4b(0x204)]['mobile_mode']==_0x5e5b96['name']}>${_0x5e5b96[_0x486f4b(0x1fd)]}</option>`)}
60
60
  </select>
61
61
  </label>
62
62
  </div>
63
63
  <div field>
64
64
  <h2>
65
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x1e9))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x486f4b(0x1fc))}
66
66
  </h2>
67
67
  <label>
68
- ${this[_0x4c4074(0x1d3)]?.[_0x4c4074(0x20c)](_0x1a452e=>html`
69
- <span>${_0x1a452e['name']}
70
- <input type="radio" name=${_0x1a452e[_0x4c4074(0x1fe)][_0x4c4074(0x1f0)]()+_0x4c4074(0x1e2)} id=${_0x1a452e[_0x4c4074(0x1fe)]['toLowerCase']()+_0x4c4074(0x1e2)} ?checked=${this[_0x4c4074(0x1d9)][_0x4c4074(0x1d4)][_0x4c4074(0x200)](_0x1a452e['name'])} value="true">${TermsUtil[_0x4c4074(0x1db)]('use')}</input>
71
- <input type="radio" name=${_0x1a452e[_0x4c4074(0x1fe)][_0x4c4074(0x1f0)]()+_0x4c4074(0x1e2)} id=${_0x1a452e['name'][_0x4c4074(0x1f0)]()+_0x4c4074(0x1e2)} ?checked=${!this[_0x4c4074(0x1d9)]['view_mode'][_0x4c4074(0x200)](_0x1a452e[_0x4c4074(0x1fe)])} value="false">${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x204))}</input>
68
+ ${this[_0x486f4b(0x1cf)]?.[_0x486f4b(0x1da)](_0x52da76=>html`
69
+ <span>${_0x52da76['name']}
70
+ <input type="radio" name=${_0x52da76[_0x486f4b(0x1e0)][_0x486f4b(0x1d1)]()+'_view_use'} id=${_0x52da76['name'][_0x486f4b(0x1d1)]()+_0x486f4b(0x1dd)} ?checked=${this[_0x486f4b(0x204)][_0x486f4b(0x1dc)]['includes'](_0x52da76[_0x486f4b(0x1e0)])} value="true">${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1f4))}</input>
71
+ <input type="radio" name=${_0x52da76['name']['toLowerCase']()+'_view_use'} id=${_0x52da76[_0x486f4b(0x1e0)][_0x486f4b(0x1d1)]()+_0x486f4b(0x1dd)} ?checked=${!this[_0x486f4b(0x204)]['view_mode'][_0x486f4b(0x1f7)](_0x52da76[_0x486f4b(0x1e0)])} value="false">${TermsUtil['tLabel'](_0x486f4b(0x1eb))}</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[_0x4c4074(0x1db)](_0x4c4074(0x201))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x486f4b(0x1fb)](_0x486f4b(0x1e5))}
79
79
  </h2>
80
80
  <label>
81
- ${this['gridPageOptions']?.['map'](_0x561ee2=>html`
81
+ ${this[_0x486f4b(0x203)]?.[_0x486f4b(0x1da)](_0x4ac206=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x561ee2[_0x4c4074(0x1fe)]} ?checked=${this['viewGridData']['pages']==_0x561ee2[_0x4c4074(0x1fe)]}>${TermsUtil[_0x4c4074(0x1db)](_0x561ee2[_0x4c4074(0x1fe)])}</input>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x4ac206[_0x486f4b(0x1e0)]} ?checked=${this['viewGridData']['pages']==_0x4ac206[_0x486f4b(0x1e0)]}>${TermsUtil[_0x486f4b(0x1fb)](_0x4ac206[_0x486f4b(0x1e0)])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
1
- const a0_0x3a2c83=a0_0x5be6;function a0_0x862d(){const _0x26836a=['4602006YYFhwH','#column-emphasized-grist','25316mpPuoE','fontColor','getGridEmphasizedConfigTabValues','getElementValueById','rowEmphasizedConfig','1972728BHFwSs','delete','rank','shadowRoot','string','setGridEmphasizedConfigTabValues','map','emphasizedConfigTabRowEmphasizedGrist','getGristGuttersConfig','232buJVil','push','gutter','backgroundColor','column-emphasized-grist','row','74395kuLKmP','button','columnEmphasizedData','setGridEmphasizedConfigTabDefaultValues','22MCkRKM','GRID','logic','18HWMdTw','deleteRow','viewEmphasizedData','emphasizedConfigTabColumnEmphasizedGrist','3445085MQOQal','forEach','222whXItq','#row-emphasized-grist','code-input','1949540ZPEPbB','rowEmphasizedData','tLabel','fetchColumnEmphasized','columnEmphasizedConfig','144935eDYSGe','sortRecordByRank','bind','right','keys','left','fetchRowEmphasized','font-color','row-emphasized-grist','setGridEmphasizedConfigTabConfig','fetch','background-color','getGristSelectableConfig','column','grid_row_emphasized_config','grid_column_emphasized_config','querySelector','integer'];a0_0x862d=function(){return _0x26836a;};return a0_0x862d();}(function(_0x157768,_0x36fad7){const _0x26d0d7=a0_0x5be6,_0x2aa9e8=_0x157768();while(!![]){try{const _0x31cbec=-parseInt(_0x26d0d7(0x1cb))/0x1*(parseInt(_0x26d0d7(0x1d2))/0x2)+parseInt(_0x26d0d7(0x1d8))/0x3*(parseInt(_0x26d0d7(0x1f4))/0x4)+parseInt(_0x26d0d7(0x1d6))/0x5+parseInt(_0x26d0d7(0x1f2))/0x6+-parseInt(_0x26d0d7(0x1e0))/0x7*(parseInt(_0x26d0d7(0x1c5))/0x8)+parseInt(_0x26d0d7(0x1f9))/0x9+-parseInt(_0x26d0d7(0x1db))/0xa*(parseInt(_0x26d0d7(0x1cf))/0xb);if(_0x31cbec===_0x36fad7)break;else _0x2aa9e8['push'](_0x2aa9e8['shift']());}catch(_0x53e3ac){_0x2aa9e8['push'](_0x2aa9e8['shift']());}}}(a0_0x862d,0x76140));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_0x5be6(_0x46bc83,_0x2ec04d){const _0x862dc6=a0_0x862d();return a0_0x5be6=function(_0x5be6ce,_0x41771a){_0x5be6ce=_0x5be6ce-0x1bd;let _0x345099=_0x862dc6[_0x5be6ce];return _0x345099;},a0_0x5be6(_0x46bc83,_0x2ec04d);}export const GridEmphasizedConfigTabMixin=_0x53a83e=>class extends _0x53a83e{[a0_0x3a2c83(0x1c1)](_0x50b9e3){const _0xf00362=a0_0x3a2c83;if(_0x50b9e3){this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x5642e1=0x1;this[_0xf00362(0x1d4)][_0xf00362(0x1dc)]=(_0x50b9e3[_0xf00362(0x1ca)]||[])[_0xf00362(0x1c2)](_0x25c0fc=>({'id':_0x5642e1,'rank':_0x5642e1++,'backgroundColor':_0x25c0fc['backgroundColor']||'','fontColor':_0x25c0fc[_0xf00362(0x1f5)]||'','logic':_0x25c0fc['logic']||''})),_0x5642e1=0x1;let _0x664ff0=_0x50b9e3[_0xf00362(0x1ed)]||[];Object[_0xf00362(0x1e4)](_0x664ff0)[_0xf00362(0x1d7)](_0x49f921=>{const _0x426638=_0xf00362;let _0x143a57=_0x664ff0[_0x49f921]||[],_0x566dac=0x1;_0x143a57[_0x426638(0x1d7)](_0x53a2c3=>{const _0x47dccf=_0x426638;this[_0x47dccf(0x1d4)][_0x47dccf(0x1cd)][_0x47dccf(0x1c6)]({'id':_0x5642e1++,'rank':_0x566dac++,'column':_0x49f921,'backgroundColor':_0x53a2c3[_0x47dccf(0x1c8)]||'','fontColor':_0x53a2c3[_0x47dccf(0x1f5)]||'','logic':_0x53a2c3[_0x47dccf(0x1d1)]||''});});}),this[_0xf00362(0x1d5)]?.['fetch'](),this['emphasizedConfigTabRowEmphasizedGrist']?.[_0xf00362(0x1ea)]();}else this['setGridEmphasizedConfigTabDefaultValues']();}[a0_0x3a2c83(0x1f6)](){const _0x120a2c=a0_0x3a2c83;let _0x2c29c8=this[_0x120a2c(0x1f7)](_0x120a2c(0x1e8)),_0x26b606=this[_0x120a2c(0x1f7)](_0x120a2c(0x1c9)),_0x16a35e=[];this['sortRecordByRank'](_0x2c29c8)?.[_0x120a2c(0x1d7)](_0x4da89c=>{const _0x2ce494=_0x120a2c;_0x16a35e[_0x2ce494(0x1c6)]({'backgroundColor':_0x4da89c[_0x2ce494(0x1c8)],'fontColor':_0x4da89c[_0x2ce494(0x1f5)],'logic':_0x4da89c[_0x2ce494(0x1d1)]});});let _0x2997fa={};return this[_0x120a2c(0x1e1)](_0x26b606)?.[_0x120a2c(0x1d7)](_0x252e77=>{const _0xedfd0=_0x120a2c;_0x2997fa[_0x252e77['column']]||(_0x2997fa[_0x252e77[_0xedfd0(0x1ed)]]=[]),_0x2997fa[_0x252e77['column']][_0xedfd0(0x1c6)]({'backgroundColor':_0x252e77[_0xedfd0(0x1c8)],'fontColor':_0x252e77[_0xedfd0(0x1f5)],'logic':_0x252e77[_0xedfd0(0x1d1)]});}),{'gridEmphasized':{'row':_0x16a35e||[],'column':_0x2997fa||{}}};}get[a0_0x3a2c83(0x1c3)](){const _0x4294b6=a0_0x3a2c83;return this[_0x4294b6(0x1bf)][_0x4294b6(0x1f0)](_0x4294b6(0x1d9));}get['emphasizedConfigTabColumnEmphasizedGrist'](){const _0x423cab=a0_0x3a2c83;return this[_0x423cab(0x1bf)][_0x423cab(0x1f0)](_0x423cab(0x1f3));}[a0_0x3a2c83(0x1e9)](){const _0x2cfc1d=a0_0x3a2c83;this[_0x2cfc1d(0x1f8)]={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x2cfc1d(0x1c4)](!0x1,!0x1),{'type':_0x2cfc1d(0x1c7),'gutterName':_0x2cfc1d(0x1cc),'icon':_0x2cfc1d(0x1bd),'handlers':{'click':(_0x4f4957,_0x51c803,_0x40deb3,_0x5064d6,_0x1b2b10)=>{const _0x4a2449=_0x2cfc1d;_0x5064d6['id']&&this[_0x4a2449(0x1d3)](this[_0x4a2449(0x1c3)],_0x5064d6);}}},{'type':_0x2cfc1d(0x1c0),'name':'id','hidden':!0x0},{'type':'integer','name':_0x2cfc1d(0x1be),'header':TermsUtil[_0x2cfc1d(0x1dd)](_0x2cfc1d(0x1be)),'sortable':!0x0,'width':0x41,'record':{'align':_0x2cfc1d(0x1e3),'editable':!0x0,'mandatory':!0x0}},{'type':_0x2cfc1d(0x1c0),'name':'backgroundColor','header':TermsUtil['tLabel'](_0x2cfc1d(0x1eb)),'record':{'align':_0x2cfc1d(0x1e5),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2cfc1d(0x1c0),'name':_0x2cfc1d(0x1f5),'header':TermsUtil[_0x2cfc1d(0x1dd)]('font-color'),'record':{'align':_0x2cfc1d(0x1e5),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2cfc1d(0x1da),'name':_0x2cfc1d(0x1d1),'header':TermsUtil[_0x2cfc1d(0x1dd)]('logic'),'record':{'align':_0x2cfc1d(0x1e5),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this[_0x2cfc1d(0x1df)]={'rows':MetaApi[_0x2cfc1d(0x1ec)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x2cfc1d(0x1c7),'gutterName':_0x2cfc1d(0x1cc),'icon':_0x2cfc1d(0x1bd),'handlers':{'click':(_0x3efda0,_0x4e3d92,_0x2c3bde,_0x37f157,_0x383d83)=>{const _0x7a2db5=_0x2cfc1d;_0x37f157['id']&&this[_0x7a2db5(0x1d3)](this['emphasizedConfigTabColumnEmphasizedGrist'],_0x37f157);}}},{'type':_0x2cfc1d(0x1c0),'name':'id','hidden':!0x0},{'type':_0x2cfc1d(0x1c0),'name':_0x2cfc1d(0x1ed),'header':TermsUtil[_0x2cfc1d(0x1dd)](_0x2cfc1d(0x1ed)),'record':{'align':_0x2cfc1d(0x1e5),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2cfc1d(0x1f1),'name':_0x2cfc1d(0x1be),'header':TermsUtil[_0x2cfc1d(0x1dd)](_0x2cfc1d(0x1be)),'sortable':!0x0,'width':0x41,'record':{'align':_0x2cfc1d(0x1e3),'editable':!0x0,'mandatory':!0x0}},{'type':_0x2cfc1d(0x1c0),'name':_0x2cfc1d(0x1c8),'header':TermsUtil[_0x2cfc1d(0x1dd)](_0x2cfc1d(0x1eb)),'record':{'align':_0x2cfc1d(0x1e5),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2cfc1d(0x1c0),'name':_0x2cfc1d(0x1f5),'header':TermsUtil[_0x2cfc1d(0x1dd)](_0x2cfc1d(0x1e7)),'record':{'align':_0x2cfc1d(0x1e5),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2cfc1d(0x1da),'name':_0x2cfc1d(0x1d1),'header':TermsUtil['tLabel'](_0x2cfc1d(0x1d1)),'record':{'align':_0x2cfc1d(0x1e5),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x3a2c83(0x1ce)](){const _0x58a2ba=a0_0x3a2c83;this[_0x58a2ba(0x1d4)]||(this[_0x58a2ba(0x1d4)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}['renderGridEmphasizedConfigTab'](){const _0x229606=a0_0x3a2c83;return this[_0x229606(0x1ce)](),html`
1
+ function a0_0x2d98(_0x3cf7f1,_0x407c4c){const _0x3a2950=a0_0x3a29();return a0_0x2d98=function(_0x2d9868,_0xf9c8eb){_0x2d9868=_0x2d9868-0xd0;let _0x2d405f=_0x3a2950[_0x2d9868];return _0x2d405f;},a0_0x2d98(_0x3cf7f1,_0x407c4c);}const a0_0x628d=a0_0x2d98;function a0_0x3a29(){const _0xd068d4=['210CvRsYo','getGristGuttersConfig','1539223eRWZGJ','row-emphasized-grist','string','getElementValueById','rowEmphasizedConfig','fetchColumnEmphasized','72335DWrNBy','getGridEmphasizedConfigTabValues','76680TxFkPY','column-emphasized-grist','querySelector','144PPRbEw','tLabel','logic','columnEmphasizedData','renderGridEmphasizedConfigTab','1HrMWZH','column','viewEmphasizedData','fetchRowEmphasized','shadowRoot','1151777CXJsPD','getGristSelectableConfig','297100lnIuBV','setGridEmphasizedConfigTabValues','bind','keys','map','left','6yOrPAK','deleteRow','emphasizedConfigTabRowEmphasizedGrist','push','grid_row_emphasized_config','delete','integer','GRID','fontColor','120936DVVVvI','button','row','sortRecordByRank','right','#row-emphasized-grist','emphasizedConfigTabColumnEmphasizedGrist','grid_column_emphasized_config','gutter','forEach','backgroundColor','fetch','93177irKMLy','rank','background-color','setGridEmphasizedConfigTabDefaultValues','code-input'];a0_0x3a29=function(){return _0xd068d4;};return a0_0x3a29();}(function(_0x311032,_0xa74ecc){const _0x33b349=a0_0x2d98,_0x2db40f=_0x311032();while(!![]){try{const _0x34e24f=-parseInt(_0x33b349(0xd6))/0x1*(parseInt(_0x33b349(0xdd))/0x2)+parseInt(_0x33b349(0xec))/0x3+parseInt(_0x33b349(0xd1))/0x4*(parseInt(_0x33b349(0x105))/0x5)+-parseInt(_0x33b349(0xe3))/0x6*(parseInt(_0x33b349(0xff))/0x7)+-parseInt(_0x33b349(0x107))/0x8+-parseInt(_0x33b349(0xf8))/0x9*(-parseInt(_0x33b349(0xfd))/0xa)+-parseInt(_0x33b349(0xdb))/0xb;if(_0x34e24f===_0xa74ecc)break;else _0x2db40f['push'](_0x2db40f['shift']());}catch(_0x28ef29){_0x2db40f['push'](_0x2db40f['shift']());}}}(a0_0x3a29,0x4837e));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x53112f=>class extends _0x53112f{[a0_0x628d(0xde)](_0x5cc823){const _0x42810b=a0_0x628d;if(_0x5cc823){this[_0x42810b(0xd8)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x5c4390=0x1;this[_0x42810b(0xd8)]['rowEmphasizedData']=(_0x5cc823[_0x42810b(0xee)]||[])[_0x42810b(0xe1)](_0x4bff31=>({'id':_0x5c4390,'rank':_0x5c4390++,'backgroundColor':_0x4bff31['backgroundColor']||'','fontColor':_0x4bff31[_0x42810b(0xeb)]||'','logic':_0x4bff31['logic']||''})),_0x5c4390=0x1;let _0xe565fd=_0x5cc823[_0x42810b(0xd7)]||[];Object[_0x42810b(0xe0)](_0xe565fd)['forEach'](_0xd755db=>{let _0x52e724=_0xe565fd[_0xd755db]||[],_0x57f02d=0x1;_0x52e724['forEach'](_0x448361=>{const _0x2c9ce2=a0_0x2d98;this[_0x2c9ce2(0xd8)][_0x2c9ce2(0xd4)]['push']({'id':_0x5c4390++,'rank':_0x57f02d++,'column':_0xd755db,'backgroundColor':_0x448361[_0x2c9ce2(0xf6)]||'','fontColor':_0x448361[_0x2c9ce2(0xeb)]||'','logic':_0x448361['logic']||''});});}),this[_0x42810b(0xf2)]?.[_0x42810b(0xf7)](),this[_0x42810b(0xe5)]?.[_0x42810b(0xf7)]();}else this[_0x42810b(0xfb)]();}[a0_0x628d(0x106)](){const _0x37a4f6=a0_0x628d;let _0xe998f1=this[_0x37a4f6(0x102)](_0x37a4f6(0x100)),_0x13593e=this[_0x37a4f6(0x102)](_0x37a4f6(0x108)),_0x4c8638=[];this[_0x37a4f6(0xef)](_0xe998f1)?.[_0x37a4f6(0xf5)](_0x5e402c=>{const _0x114c77=_0x37a4f6;_0x4c8638[_0x114c77(0xe6)]({'backgroundColor':_0x5e402c['backgroundColor'],'fontColor':_0x5e402c[_0x114c77(0xeb)],'logic':_0x5e402c[_0x114c77(0xd3)]});});let _0x4dc528={};return this[_0x37a4f6(0xef)](_0x13593e)?.[_0x37a4f6(0xf5)](_0x4fdd89=>{const _0x369e2c=_0x37a4f6;_0x4dc528[_0x4fdd89[_0x369e2c(0xd7)]]||(_0x4dc528[_0x4fdd89[_0x369e2c(0xd7)]]=[]),_0x4dc528[_0x4fdd89[_0x369e2c(0xd7)]][_0x369e2c(0xe6)]({'backgroundColor':_0x4fdd89['backgroundColor'],'fontColor':_0x4fdd89[_0x369e2c(0xeb)],'logic':_0x4fdd89[_0x369e2c(0xd3)]});}),{'gridEmphasized':{'row':_0x4c8638||[],'column':_0x4dc528||{}}};}get['emphasizedConfigTabRowEmphasizedGrist'](){const _0x129e9a=a0_0x628d;return this['shadowRoot']['querySelector'](_0x129e9a(0xf1));}get[a0_0x628d(0xf2)](){const _0x2a2b3f=a0_0x628d;return this[_0x2a2b3f(0xda)][_0x2a2b3f(0xd0)]('#column-emphasized-grist');}['setGridEmphasizedConfigTabConfig'](){const _0x556cd9=a0_0x628d;this['rowEmphasizedConfig']={'rows':MetaApi[_0x556cd9(0xdc)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x556cd9(0xfe)](!0x1,!0x1),{'type':_0x556cd9(0xf4),'gutterName':'button','icon':'delete','handlers':{'click':(_0xc07c7e,_0x144f9a,_0x56a2cc,_0x20fa85,_0x4ec90d)=>{const _0x1a15be=_0x556cd9;_0x20fa85['id']&&this[_0x1a15be(0xe4)](this[_0x1a15be(0xe5)],_0x20fa85);}}},{'type':_0x556cd9(0x101),'name':'id','hidden':!0x0},{'type':_0x556cd9(0xe9),'name':_0x556cd9(0xf9),'header':TermsUtil[_0x556cd9(0xd2)](_0x556cd9(0xf9)),'sortable':!0x0,'width':0x41,'record':{'align':_0x556cd9(0xf0),'editable':!0x0,'mandatory':!0x0}},{'type':_0x556cd9(0x101),'name':_0x556cd9(0xf6),'header':TermsUtil[_0x556cd9(0xd2)](_0x556cd9(0xfa)),'record':{'align':_0x556cd9(0xe2),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x556cd9(0x101),'name':'fontColor','header':TermsUtil[_0x556cd9(0xd2)]('font-color'),'record':{'align':_0x556cd9(0xe2),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x556cd9(0xfc),'name':_0x556cd9(0xd3),'header':TermsUtil['tLabel'](_0x556cd9(0xd3)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this['columnEmphasizedConfig']={'rows':MetaApi[_0x556cd9(0xdc)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x556cd9(0xfe)](!0x1,!0x1),{'type':_0x556cd9(0xf4),'gutterName':_0x556cd9(0xed),'icon':_0x556cd9(0xe8),'handlers':{'click':(_0x2bcc01,_0x15e9ce,_0x67c8aa,_0x16ac93,_0x1f6d25)=>{const _0x215af9=_0x556cd9;_0x16ac93['id']&&this[_0x215af9(0xe4)](this[_0x215af9(0xf2)],_0x16ac93);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'string','name':'column','header':TermsUtil['tLabel'](_0x556cd9(0xd7)),'record':{'align':_0x556cd9(0xe2),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x556cd9(0xe9),'name':'rank','header':TermsUtil['tLabel']('rank'),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x556cd9(0xf6),'header':TermsUtil['tLabel'](_0x556cd9(0xfa)),'record':{'align':_0x556cd9(0xe2),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x556cd9(0x101),'name':_0x556cd9(0xeb),'header':TermsUtil[_0x556cd9(0xd2)]('font-color'),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x556cd9(0xfc),'name':_0x556cd9(0xd3),'header':TermsUtil[_0x556cd9(0xd2)](_0x556cd9(0xd3)),'record':{'align':_0x556cd9(0xe2),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x628d(0xfb)](){const _0x553613=a0_0x628d;this[_0x553613(0xd8)]||(this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x628d(0xd5)](){const _0x1090fd=a0_0x628d;return this[_0x1090fd(0xfb)](),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['tLabel'](_0x229606(0x1ee))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x1090fd(0xe7))}
6
6
  </h2>
7
- <ox-grist id="row-emphasized-grist" .config=${this[_0x229606(0x1f8)]} .mode=${_0x229606(0x1d0)} auto-fetch
8
- .fetchHandler=${this[_0x229606(0x1e6)]['bind'](this)}></ox-grist>
7
+ <ox-grist id="row-emphasized-grist" .config=${this[_0x1090fd(0x103)]} .mode=${_0x1090fd(0xea)} auto-fetch
8
+ .fetchHandler=${this[_0x1090fd(0xd9)]['bind'](this)}></ox-grist>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x229606(0x1dd)](_0x229606(0x1ef))}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1090fd(0xd2)](_0x1090fd(0xf3))}
13
13
  </h2>
14
- <ox-grist id="column-emphasized-grist" .config=${this[_0x229606(0x1df)]} .mode=${_0x229606(0x1d0)} auto-fetch
15
- .fetchHandler=${this[_0x229606(0x1de)][_0x229606(0x1e2)](this)}></ox-grist>
14
+ <ox-grist id="column-emphasized-grist" .config=${this['columnEmphasizedConfig']} .mode=${'GRID'} auto-fetch
15
+ .fetchHandler=${this[_0x1090fd(0x104)][_0x1090fd(0xdf)](this)}></ox-grist>
16
16
  </div>
17
17
  </div>
18
- `;}async[a0_0x3a2c83(0x1e6)](){const _0x5c17fa=a0_0x3a2c83;return{'records':this[_0x5c17fa(0x1d4)]['rowEmphasizedData'],'total':0x0};}async['fetchColumnEmphasized'](){const _0x912a0e=a0_0x3a2c83;return{'records':this[_0x912a0e(0x1d4)][_0x912a0e(0x1cd)],'total':0x0};}};
18
+ `;}async[a0_0x628d(0xd9)](){return{'records':this['viewEmphasizedData']['rowEmphasizedData'],'total':0x0};}async[a0_0x628d(0x104)](){const _0x42f2f5=a0_0x628d;return{'records':this[_0x42f2f5(0xd8)][_0x42f2f5(0xd4)],'total':0x0};}};
@@ -1,29 +1,29 @@
1
- function a0_0x4d08(){const _0xada5ec=['menu','3597573yrjUoi','display','1055835AfBpPB','menu_title','description','value','1167327zvafgP','desc','439kcdzOt','help','viewMenuData','setMenuConfigTabDefaultValue','setMenuConfigTabValues','getElementById','menu_desc_field','338kByqtu','tTitle','2743736xpIkOq','getElementValueById','target','help_doc','tLabel','renderMenuConfigTab','menuTitleChange','257130KUUeif','title','getMenuConfigTabValues','name','8OYHoWK','871240UsVWUg'];a0_0x4d08=function(){return _0xada5ec;};return a0_0x4d08();}const a0_0x798846=a0_0x522d;(function(_0x13817a,_0x585d74){const _0x1821cd=a0_0x522d,_0x289a4a=_0x13817a();while(!![]){try{const _0x3b130c=-parseInt(_0x1821cd(0x1aa))/0x1*(parseInt(_0x1821cd(0x1b1))/0x2)+-parseInt(_0x1821cd(0x1a4))/0x3+-parseInt(_0x1821cd(0x19f))/0x4*(-parseInt(_0x1821cd(0x1a0))/0x5)+parseInt(_0x1821cd(0x19b))/0x6+parseInt(_0x1821cd(0x1a2))/0x7+-parseInt(_0x1821cd(0x194))/0x8+parseInt(_0x1821cd(0x1a8))/0x9;if(_0x3b130c===_0x585d74)break;else _0x289a4a['push'](_0x289a4a['shift']());}catch(_0x1eb7c9){_0x289a4a['push'](_0x289a4a['shift']());}}}(a0_0x4d08,0x40ea2));function a0_0x522d(_0xb3bea6,_0x96d364){const _0x4d08a0=a0_0x4d08();return a0_0x522d=function(_0x522d11,_0x2778dd){_0x522d11=_0x522d11-0x193;let _0x354a01=_0x4d08a0[_0x522d11];return _0x354a01;},a0_0x522d(_0xb3bea6,_0x96d364);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x317555=>class extends _0x317555{[a0_0x798846(0x1ae)](_0x13512d){const _0xe71ee6=a0_0x798846;if(_0x13512d){var {title:_0x3611f8='',name:_0x23416d='',desc:_0x4ef661='',help:_0x455ff6=''}=_0x13512d||{};this['viewMenuData']={'title':_0x3611f8,'name':_0x23416d,'desc':_0x4ef661,'help_doc':_0x455ff6},this[_0xe71ee6(0x1af)](_0xe71ee6(0x19c))[_0xe71ee6(0x1a7)]=_0x3611f8,this[_0xe71ee6(0x1af)](_0xe71ee6(0x19e))['value']=_0x23416d,this[_0xe71ee6(0x1af)]('desc')[_0xe71ee6(0x1a7)]=_0x4ef661,this[_0xe71ee6(0x1af)](_0xe71ee6(0x197))[_0xe71ee6(0x1a7)]=_0x455ff6;}else this[_0xe71ee6(0x1ad)]();}[a0_0x798846(0x19d)](){const _0x317578=a0_0x798846;let _0xd6278b={'menu':{}},_0xa5c7e3=this[_0x317578(0x195)]('title'),_0x200b8b=this['getElementValueById'](_0x317578(0x19e)),_0x3be717=this['getElementValueById'](_0x317578(0x1a9)),_0x2b5523=this[_0x317578(0x195)]('help_doc');return _0xa5c7e3&&(_0xd6278b[_0x317578(0x1a1)][_0x317578(0x19c)]=_0xa5c7e3),_0x200b8b&&(_0xd6278b['menu']['name']=_0x200b8b),_0x3be717&&(_0xd6278b[_0x317578(0x1a1)][_0x317578(0x1a9)]=_0x3be717),_0x2b5523&&(_0xd6278b[_0x317578(0x1a1)][_0x317578(0x1ab)]=_0x2b5523),_0xd6278b;}[a0_0x798846(0x1ad)](){const _0x499437=a0_0x798846;this[_0x499437(0x1ac)]||(this[_0x499437(0x1ac)]={'title':'','name':'name','desc':_0x499437(0x1a6),'help_doc':''});}[a0_0x798846(0x19a)](_0x396ea0){const _0x17ccb1=a0_0x798846;let _0xdb365a=this[_0x17ccb1(0x1af)](_0x17ccb1(0x1a3));_0xdb365a&&(_0xdb365a[_0x17ccb1(0x1a7)]=TermsUtil[_0x17ccb1(0x193)](_0x396ea0[_0x17ccb1(0x196)][_0x17ccb1(0x1a7)]));}[a0_0x798846(0x199)](){const _0x51bf0c=a0_0x798846;return this['setMenuConfigTabDefaultValue'](),html`
1
+ const a0_0x5a04dd=a0_0xdcfd;function a0_0x20d7(){const _0x69bc29=['value','name','1510920pbhQeF','tLabel','5334810exnAaP','menu_desc_field','help','getElementValueById','getElementById','2496964UDFTIC','display','target','title','15484917FtxcWo','help_doc','viewMenuData','desc','7190935jYDXgL','description','getMenuConfigTabValues','renderMenuConfigTab','2226266UAqlGs','1197351XXKSjo','setMenuConfigTabDefaultValue','setMenuConfigTabValues','menu'];a0_0x20d7=function(){return _0x69bc29;};return a0_0x20d7();}(function(_0x366c2a,_0x1ad317){const _0x13dad5=a0_0xdcfd,_0x22f7dc=_0x366c2a();while(!![]){try{const _0x424673=-parseInt(_0x13dad5(0x109))/0x1+parseInt(_0x13dad5(0x108))/0x2+parseInt(_0x13dad5(0x10f))/0x3+parseInt(_0x13dad5(0x116))/0x4+-parseInt(_0x13dad5(0x104))/0x5+-parseInt(_0x13dad5(0x111))/0x6+parseInt(_0x13dad5(0x100))/0x7;if(_0x424673===_0x1ad317)break;else _0x22f7dc['push'](_0x22f7dc['shift']());}catch(_0x29b485){_0x22f7dc['push'](_0x22f7dc['shift']());}}}(a0_0x20d7,0xe2ad8));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0xdcfd(_0x21480b,_0x40d9aa){const _0x20d75d=a0_0x20d7();return a0_0xdcfd=function(_0xdcfd21,_0x431eb7){_0xdcfd21=_0xdcfd21-0xfe;let _0xe3a06f=_0x20d75d[_0xdcfd21];return _0xe3a06f;},a0_0xdcfd(_0x21480b,_0x40d9aa);}export const MenuConfigTabMixin=_0x57490c=>class extends _0x57490c{[a0_0x5a04dd(0x10b)](_0x54dbe0){const _0x4230a8=a0_0x5a04dd;if(_0x54dbe0){var {title:_0x195a17='',name:_0x575138='',desc:_0x30af1b='',help:_0x4cfaaa=''}=_0x54dbe0||{};this[_0x4230a8(0x102)]={'title':_0x195a17,'name':_0x575138,'desc':_0x30af1b,'help_doc':_0x4cfaaa},this['getElementById'](_0x4230a8(0xff))[_0x4230a8(0x10d)]=_0x195a17,this['getElementById'](_0x4230a8(0x10e))[_0x4230a8(0x10d)]=_0x575138,this['getElementById']('desc')[_0x4230a8(0x10d)]=_0x30af1b,this[_0x4230a8(0x115)]('help_doc')[_0x4230a8(0x10d)]=_0x4cfaaa;}else this[_0x4230a8(0x10a)]();}[a0_0x5a04dd(0x106)](){const _0xb53826=a0_0x5a04dd;let _0x33fe3d={'menu':{}},_0x407513=this[_0xb53826(0x114)](_0xb53826(0xff)),_0x35d47e=this['getElementValueById']('name'),_0x32b8c5=this[_0xb53826(0x114)](_0xb53826(0x103)),_0x13356c=this['getElementValueById'](_0xb53826(0x101));return _0x407513&&(_0x33fe3d[_0xb53826(0x10c)][_0xb53826(0xff)]=_0x407513),_0x35d47e&&(_0x33fe3d[_0xb53826(0x10c)][_0xb53826(0x10e)]=_0x35d47e),_0x32b8c5&&(_0x33fe3d[_0xb53826(0x10c)][_0xb53826(0x103)]=_0x32b8c5),_0x13356c&&(_0x33fe3d[_0xb53826(0x10c)][_0xb53826(0x113)]=_0x13356c),_0x33fe3d;}[a0_0x5a04dd(0x10a)](){const _0x49afb6=a0_0x5a04dd;this[_0x49afb6(0x102)]||(this[_0x49afb6(0x102)]={'title':'','name':_0x49afb6(0x10e),'desc':_0x49afb6(0x105),'help_doc':''});}['menuTitleChange'](_0x146369){const _0x557858=a0_0x5a04dd;let _0x45c9d7=this[_0x557858(0x115)](_0x557858(0x117));_0x45c9d7&&(_0x45c9d7[_0x557858(0x10d)]=TermsUtil['tTitle'](_0x146369[_0x557858(0xfe)][_0x557858(0x10d)]));}[a0_0x5a04dd(0x107)](){const _0xf471f0=a0_0x5a04dd;return this[_0xf471f0(0x10a)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil[_0x51bf0c(0x198)](_0x51bf0c(0x1a5))}
5
- <input id="title" name="title" type="text" value=${this[_0x51bf0c(0x1ac)][_0x51bf0c(0x19c)]} @change=${_0x2ee859=>this['menuTitleChange'](_0x2ee859)}/>
4
+ <label>${TermsUtil[_0xf471f0(0x110)]('menu_title')}
5
+ <input id="title" name="title" type="text" value=${this[_0xf471f0(0x102)][_0xf471f0(0xff)]} @change=${_0x5365fc=>this['menuTitleChange'](_0x5365fc)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil[_0x51bf0c(0x198)]('display')}
10
- <input id="display" name="display" value=${TermsUtil[_0x51bf0c(0x193)](this[_0x51bf0c(0x1ac)][_0x51bf0c(0x19c)])} type="text" readonly
9
+ <label>${TermsUtil[_0xf471f0(0x110)](_0xf471f0(0x117))}
10
+ <input id="display" name="display" value=${TermsUtil['tTitle'](this['viewMenuData'][_0xf471f0(0xff)])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x51bf0c(0x198)]('menu_name_field')}
16
- <input id="name" name="name" type="text" value=${this[_0x51bf0c(0x1ac)][_0x51bf0c(0x19e)]} />
15
+ <label>${TermsUtil['tLabel']('menu_name_field')}
16
+ <input id="name" name="name" type="text" value=${this[_0xf471f0(0x102)]['name']} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil[_0x51bf0c(0x198)](_0x51bf0c(0x1b0))}
21
- <input id="desc" name="desc" type="text" value=${this[_0x51bf0c(0x1ac)]['desc']} />
20
+ <label>${TermsUtil[_0xf471f0(0x110)](_0xf471f0(0x112))}
21
+ <input id="desc" name="desc" type="text" value=${this[_0xf471f0(0x102)][_0xf471f0(0x103)]} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil['tLabel'](_0x51bf0c(0x197))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x51bf0c(0x1ac)][_0x51bf0c(0x197)]} />
25
+ <label>${TermsUtil['tLabel'](_0xf471f0(0x101))}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0xf471f0(0x102)]['help_doc']} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
@@ -1,4 +1,4 @@
1
- const a0_0x1a8acb=a0_0x58ec;(function(_0x1613f0,_0x39e1b2){const _0x404d79=a0_0x58ec,_0x51aae6=_0x1613f0();while(!![]){try{const _0x25a860=parseInt(_0x404d79(0x1a4))/0x1*(-parseInt(_0x404d79(0x1a5))/0x2)+-parseInt(_0x404d79(0x1ca))/0x3+parseInt(_0x404d79(0x1cc))/0x4*(-parseInt(_0x404d79(0x172))/0x5)+-parseInt(_0x404d79(0x18b))/0x6+parseInt(_0x404d79(0x19c))/0x7+parseInt(_0x404d79(0x1d1))/0x8*(-parseInt(_0x404d79(0x1b2))/0x9)+parseInt(_0x404d79(0x1d8))/0xa;if(_0x25a860===_0x39e1b2)break;else _0x51aae6['push'](_0x51aae6['shift']());}catch(_0x16c187){_0x51aae6['push'](_0x51aae6['shift']());}}}(a0_0xa2f7,0xd2ebf));import a0_0x2d2593 from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';function a0_0x58ec(_0x459e8e,_0x2a3e38){const _0xa2f788=a0_0xa2f7();return a0_0x58ec=function(_0x58ec2c,_0x4abb28){_0x58ec2c=_0x58ec2c-0x16a;let _0x21988d=_0xa2f788[_0x58ec2c];return _0x21988d;},a0_0x58ec(_0x459e8e,_0x2a3e38);}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';function a0_0xa2f7(){const _0x422434=['slice','get','backToMenu','form_config','render','ox-input-code','613695CbWUyg','type','bind','params','tab_config','tTitle','pageInitialized','grid_emphasized_config','column','menuId','grid_config','forEach','filter','updateMultiple','sort_rank','template','tab','meta-generator-page','fields','select','deleteRow','sort_desc','menuName','findOne','records','561324CtCgGx','shadowRoot','tabData','details','charAt','stringify','currentTabKey','form','lifecycle','display:none','menu','properties','push','filters','tButton','pageUpdated','dispatchEvent','5496827IAkrDC','desc','etc','enc','parse','getElementById','includes','selectedIndex','90794onkBKQ','8hDlYCf','gridEmphasized','toLowerCase','studioPermission','value','convertFirstCharUpperCase','rank','sortRecordByField','menu_config','refresh','option','dataStorage','clear','1287gzgYNf','metaTemplate','button_config','context','error','active','graphql_config','set','\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','ConfigTabConfig','save','ConfigTab','length','ConfigTabValues','query','map','toUpperCase','list','etc_config','dec','error.invalid\x20license\x20key','tLabel','notify','graphql','2816319veaVAw','style','24MJGuSH','initData','setTabData','sort','button','51832lQBmNc','sorters','sortRecordByRank','dirtyData','getConfigTab','operatoTools','tMenu','31371080gZPnft','getState','thumbnail','name','search','querySelector','column_config','meta_generator','detail_field','tagName','back','keys','search_config','options'];a0_0xa2f7=function(){return _0x422434;};return a0_0xa2f7();}import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get['styles'](){return[css`
1
+ const a0_0x5e4c78=a0_0x1671;(function(_0x498927,_0x4c3f0c){const _0x209ac2=a0_0x1671,_0x2bca41=_0x498927();while(!![]){try{const _0x4f92fb=parseInt(_0x209ac2(0xc1))/0x1+-parseInt(_0x209ac2(0xdb))/0x2+parseInt(_0x209ac2(0x8a))/0x3+-parseInt(_0x209ac2(0xb0))/0x4*(-parseInt(_0x209ac2(0x9d))/0x5)+-parseInt(_0x209ac2(0xa0))/0x6+-parseInt(_0x209ac2(0xc0))/0x7+parseInt(_0x209ac2(0x9c))/0x8*(parseInt(_0x209ac2(0xb7))/0x9);if(_0x4f92fb===_0x4c3f0c)break;else _0x2bca41['push'](_0x2bca41['shift']());}catch(_0x59f66c){_0x2bca41['push'](_0x2bca41['shift']());}}}(a0_0x4423,0x938a4));import a0_0x46b323 from'graphql-tag';function a0_0x4423(){const _0x517ac4=['refresh','etc','option','save','meta_generator','length','bind','tab_config','icon','tLabel','style','tab','rank','updateMultiple','1208tbkMTI','185085DOGNim','template','sorters','3795312CupDVx','\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','value','pageInitialized','details','radio','sort_rank','convertFirstCharUpperCase','fields','form','tabData','clear','sortRecordByRank','lifecycle','filters','display:none','84KmYlKM','data','render','ConfigTabValues','keys','getState','currentTabKey','16317RXkIWJ','initData','type','grid-','metaTemplate','backToMenu','tButton','includes','ox-input-code','1277717ZJrlNK','846715ihGzUv','menuId','thumbnail','list','getConfigTab','button','sortRecordByField','ConfigTab','ox-grist','dataStorage','operatoTools','remove','setTabData','sort_desc','graphql','search','toLowerCase','display:flex','set','rep_field','form_config','records','get','tMenu','error.invalid\x20license\x20key','updateMultipleMenu','1223578cnoawX','parse','tagName','shadowRoot','desc','dirtyData','studioPermission','forEach','grid_emphasized_config','enc','options','errors','ConfigTabConfig','filter','querySelector','map','button_config','etc_config','graphql_config','stringify','params','grid','push','properties',':checked','name','back','active','menuName','gridEmphasized','detail_field','thumbnail_field','query','menu_config','define','400083ESdmRf','column','dec','findOne'];a0_0x4423=function(){return _0x517ac4;};return a0_0x4423();}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';function a0_0x1671(_0x43e90e,_0x2bcb5f){const _0x442367=a0_0x4423();return a0_0x1671=function(_0x167170,_0x22d2bd){_0x167170=_0x167170-0x80;let _0x17648f=_0x442367[_0x167170];return _0x17648f;},a0_0x1671(_0x43e90e,_0x2bcb5f);}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';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['styles'](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0x1a8acb=a0_0x58ec;(function(_0x1613f0,_0x39e1b2){const _0x404d79=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0x1a8acb(0x196)](){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_0x1a8acb(0x1b5)](){const _0x4cfea2=a0_0x1a8acb;return{'title':TermsUtil[_0x4cfea2(0x177)](_0x4cfea2(0x1df)),'actions':[{'title':TermsUtil[_0x4cfea2(0x199)](_0x4cfea2(0x1bc)),'action':this[_0x4cfea2(0x1bc)][_0x4cfea2(0x174)](this),...CommonButtonStyles['save']},{'title':TermsUtil[_0x4cfea2(0x199)](_0x4cfea2(0x1e2)),'action':this[_0x4cfea2(0x16e)][_0x4cfea2(0x174)](this),...CommonButtonStyles['back']},{'title':TermsUtil[_0x4cfea2(0x199)](_0x4cfea2(0x1ae)),'action':this[_0x4cfea2(0x1ae)][_0x4cfea2(0x174)](this),...CommonButtonStyles['refresh']}]};}[a0_0x1a8acb(0x186)](_0x2772f9,_0x1180f6){const _0xa09dc5=a0_0x1a8acb;let _0x1b2d75=_0x2772f9[_0xa09dc5(0x1d4)];_0x1b2d75['records']=_0x1b2d75[_0xa09dc5(0x18a)][_0xa09dc5(0x17e)](_0x1402fd=>_0x1402fd['id']!=_0x1180f6['id']),_0x2772f9['data']=_0x1b2d75;}async['save'](){const _0x4b09df=a0_0x1a8acb;if(0x0==store[_0x4b09df(0x1d9)]()[_0x4b09df(0x1d6)][_0x4b09df(0x1a8)])return void document[_0x4b09df(0x19b)](new CustomEvent(_0x4b09df(0x1c8),{'detail':{'level':_0x4b09df(0x1b6),'message':i18next['t'](_0x4b09df(0x1c6))}}));if((await client[_0x4b09df(0x1c0)]({'query':a0_0x2d2593`
144
+ `];}static get[a0_0x5e4c78(0xf2)](){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 _0x33a1b3=a0_0x5e4c78;return{'title':TermsUtil['tTitle'](_0x33a1b3(0x92)),'actions':[{'title':TermsUtil[_0x33a1b3(0xbd)]('save'),'action':this[_0x33a1b3(0x91)][_0x33a1b3(0x94)](this),...CommonButtonStyles[_0x33a1b3(0x91)]},{'title':TermsUtil['tButton'](_0x33a1b3(0x81)),'action':this[_0x33a1b3(0xbc)][_0x33a1b3(0x94)](this),...CommonButtonStyles[_0x33a1b3(0x81)]},{'title':TermsUtil[_0x33a1b3(0xbd)]('refresh'),'action':this['refresh'][_0x33a1b3(0x94)](this),...CommonButtonStyles[_0x33a1b3(0x8e)]}]};}['deleteRow'](_0x3c59b7,_0x3f3540){const _0x1391a0=a0_0x5e4c78;let _0x3456c4=_0x3c59b7[_0x1391a0(0xe0)];_0x3456c4[_0x1391a0(0xd6)]=_0x3456c4['records'][_0x1391a0(0xe8)](_0xefc7f5=>_0xefc7f5['id']!=_0x3f3540['id']),_0x3c59b7[_0x1391a0(0xb1)]=_0x3456c4;}async['save'](){const _0x19af82=a0_0x5e4c78;if(0x0==store[_0x19af82(0xb5)]()[_0x19af82(0xcb)][_0x19af82(0xe1)])return void document['dispatchEvent'](new CustomEvent('notify',{'detail':{'level':'error','message':i18next['t'](_0x19af82(0xd9))}}));if((await client['query']({'query':a0_0x46b323`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
148
- `,'variables':{'id':this[_0x4b09df(0x17b)]}}))['errors'])return;let _0x28cc54={},_0x3af29b={};Object[_0x4b09df(0x1e3)](this[_0x4b09df(0x18d)])[_0x4b09df(0x17d)](_0x4ba8c6=>{const _0xd5a38f=_0x4b09df;let _0x2414cf=this['convertFirstCharUpperCase'](_0x4ba8c6);_0x28cc54[_0x4ba8c6]=this[_0xd5a38f(0x16d)+_0x2414cf+_0xd5a38f(0x1bf)](),_0x3af29b=merge(_0x3af29b,_0x28cc54[_0x4ba8c6]);}),_0x3af29b=JSON[_0x4b09df(0x190)](_0x3af29b),_0x3af29b=MetaCrypto[_0x4b09df(0x19f)](_0x3af29b),await MetaApi[_0x4b09df(0x17f)]('updateMultipleMenu',[{'id':this[_0x4b09df(0x17b)],'template':_0x3af29b,'cuFlag':'M'}])&&await this[_0x4b09df(0x1cd)]();}['clear'](){const _0x170bda=a0_0x1a8acb;this['setTabData'](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x170bda(0x1e3)](this[_0x170bda(0x18d)])['forEach'](_0x269959=>{const _0x157004=_0x170bda;let _0x2d7128=this[_0x157004(0x1aa)](_0x269959);if(this['set'+_0x2d7128+_0x157004(0x1bf)])return this[_0x157004(0x1b9)+_0x2d7128+_0x157004(0x1bf)](this[_0x157004(0x1b0)][_0x269959]);});}async['refresh'](){const _0x5be824=a0_0x1a8acb;this[_0x5be824(0x1b1)](),await this['initData']();}[a0_0x1a8acb(0x16e)](){const _0x3b3138=a0_0x1a8acb;history[_0x3b3138(0x1e2)]();}async[a0_0x1a8acb(0x1cd)](){const _0xaa90d3=a0_0x1a8acb;var {menuId:_0x10f19b=''}=this[_0xaa90d3(0x193)]?.[_0xaa90d3(0x175)]?this[_0xaa90d3(0x193)]['params']:{};if(this[_0xaa90d3(0x17b)]=_0x10f19b,!_0x10f19b||''==_0x10f19b)return void this['clear']();let _0x3a80f9=await MetaApi[_0xaa90d3(0x189)](_0xaa90d3(0x195),_0x10f19b,_0xaa90d3(0x1ba));if(_0x3a80f9){try{JSON[_0xaa90d3(0x1a0)](MetaCrypto[_0xaa90d3(0x1c5)](_0x3a80f9['template']));}catch(_0x3d9402){return;}this[_0xaa90d3(0x188)]=TermsUtil[_0xaa90d3(0x1d7)](_0x3a80f9[_0xaa90d3(0x1db)]),this[_0xaa90d3(0x1b3)]=_0x3a80f9[_0xaa90d3(0x181)]?JSON[_0xaa90d3(0x1a0)](MetaCrypto[_0xaa90d3(0x1c5)](_0x3a80f9[_0xaa90d3(0x181)])):{};var {menu:_0x4c4095={},gql:_0x4a677e={},button:_0xb7f202=[],grid_column:_0x386e4f=[],grid:_0x4f3d00={},search:_0x4c4e6d=[],form:_0x3a91fa=[],tab:_0x3967b7=[],etc:_0x1d462c={},gridEmphasized:_0x19c296=[]}=this[_0xaa90d3(0x1b3)]?this[_0xaa90d3(0x1b3)]:{};this[_0xaa90d3(0x1ce)](),this['dataStorage']={},this['dataStorage'][_0xaa90d3(0x195)]=_0x4c4095,this[_0xaa90d3(0x1b0)][_0xaa90d3(0x1c9)]=_0x4a677e,this[_0xaa90d3(0x1b0)]['grid']=_0x4f3d00,this[_0xaa90d3(0x1b0)][_0xaa90d3(0x192)]=_0x3a91fa,this['dataStorage'][_0xaa90d3(0x182)]=_0x3967b7,this['dataStorage'][_0xaa90d3(0x19e)]=_0x1d462c,this['dataStorage'][_0xaa90d3(0x1a6)]=_0x19c296,(_0x4f3d00[_0xaa90d3(0x1af)]?.['sorters']||[])[_0xaa90d3(0x17d)]((_0x37de73,_0x3e54d5)=>{const _0x5abc9d=_0xaa90d3;_0x37de73[_0x5abc9d(0x1ab)]=0xa*(_0x3e54d5+0x1);}),this[_0xaa90d3(0x1b0)][_0xaa90d3(0x17a)]=_0x386e4f[_0xaa90d3(0x1c1)](_0x54edbf=>{const _0x5675c3=_0xaa90d3;let _0x52b584=(_0x4f3d00[_0x5675c3(0x1af)]?.[_0x5675c3(0x1d2)]||[])[_0x5675c3(0x17e)](_0x13a1ef=>_0x13a1ef[_0x5675c3(0x1db)]==_0x54edbf['name']);return _0x52b584&&_0x52b584[_0x5675c3(0x1be)]>0x0?(_0x54edbf[_0x5675c3(0x180)]=_0x52b584[0x0][_0x5675c3(0x1ab)],_0x54edbf[_0x5675c3(0x187)]=!!_0x52b584[0x0][_0x5675c3(0x19d)]&&_0x52b584[0x0][_0x5675c3(0x19d)]):_0x54edbf[_0x5675c3(0x180)]=0x0,_0x54edbf['rep_field']=(_0x4f3d00[_0x5675c3(0x1c3)]?.[_0x5675c3(0x184)]||[])['includes'](_0x54edbf['name']),_0x54edbf[_0x5675c3(0x1e0)]=(_0x4f3d00[_0x5675c3(0x1c3)]?.[_0x5675c3(0x18e)]||[])[_0x5675c3(0x1a2)](_0x54edbf[_0x5675c3(0x1db)]),_0x54edbf['thumbnail_field']=_0x4f3d00[_0x5675c3(0x1c3)]?.[_0x5675c3(0x1da)]==_0x54edbf[_0x5675c3(0x1db)],_0x54edbf;}),_0x4c4e6d['push'](...(_0x4a677e[_0xaa90d3(0x1c0)]?.[_0xaa90d3(0x198)]||[])['map'](_0x174a27=>(_0x174a27['hidden']=!0x0,_0x174a27))),this[_0xaa90d3(0x1b0)][_0xaa90d3(0x1dc)]=_0x4c4e6d,_0xb7f202[_0xaa90d3(0x197)](...(_0x4f3d00[_0xaa90d3(0x1d0)]||[])[_0xaa90d3(0x1c1)](_0x4cf3d0=>(_0x4cf3d0[_0xaa90d3(0x173)]='grid-'+_0x4cf3d0[_0xaa90d3(0x173)],_0x4cf3d0[_0xaa90d3(0x1cb)]=_0x4cf3d0['icon'],_0x4cf3d0))),this[_0xaa90d3(0x1b0)][_0xaa90d3(0x1d0)]=_0xb7f202,Object['keys'](this['tabData'])['forEach'](_0x47d788=>{const _0x308ad9=_0xaa90d3;let _0x3103c6=this[_0x308ad9(0x1aa)](_0x47d788);if(this[_0x308ad9(0x1b9)+_0x3103c6+_0x308ad9(0x1bf)])return this[_0x308ad9(0x1b9)+_0x3103c6+_0x308ad9(0x1bf)](this[_0x308ad9(0x1b0)][_0x47d788]);});}}async[a0_0x1a8acb(0x178)](){const _0x3c348f=a0_0x1a8acb;this[_0x3c348f(0x1ce)]();let _0x1653dc=Object['keys'](this[_0x3c348f(0x18d)]);for(var _0x82c262=0x0;_0x82c262<_0x1653dc[_0x3c348f(0x1be)];_0x82c262++){let _0x3288f7=this[_0x3c348f(0x1aa)](_0x1653dc[_0x82c262]);this['set'+_0x3288f7+_0x3c348f(0x1bb)]&&await this[_0x3c348f(0x1b9)+_0x3288f7+_0x3c348f(0x1bb)]();}}async[a0_0x1a8acb(0x19a)](_0x443ad8,_0x34d953,_0x5eafce){const _0x179490=a0_0x1a8acb;!0x0===this[_0x179490(0x1b7)]?(this[_0x179490(0x1ce)](),await this[_0x179490(0x1cd)](),this[_0x179490(0x1ce)]()):(this['clear'](),this['remove']());}[a0_0x1a8acb(0x1ce)](){const _0x37e239=a0_0x1a8acb;this['tabData']||(this[_0x37e239(0x18d)]={'menu':TermsUtil[_0x37e239(0x1c7)](_0x37e239(0x1ad)),'graphql':TermsUtil[_0x37e239(0x1c7)](_0x37e239(0x1b8)),'grid':TermsUtil[_0x37e239(0x1c7)](_0x37e239(0x17c)),'column':TermsUtil[_0x37e239(0x1c7)](_0x37e239(0x1de)),'gridEmphasized':TermsUtil['tLabel'](_0x37e239(0x179)),'button':TermsUtil['tLabel'](_0x37e239(0x1b4)),'search':TermsUtil[_0x37e239(0x1c7)](_0x37e239(0x16a)),'form':TermsUtil[_0x37e239(0x1c7)](_0x37e239(0x16f)),'tab':TermsUtil['tLabel'](_0x37e239(0x176)),'etc':TermsUtil[_0x37e239(0x1c7)](_0x37e239(0x1c4))});}[a0_0x1a8acb(0x170)](){const _0x593bc4=a0_0x1a8acb;this['currentTabKey']||(this[_0x593bc4(0x191)]='menu'),this[_0x593bc4(0x1ce)]();let _0x180aa5=Object[_0x593bc4(0x1e3)](this[_0x593bc4(0x18d)]);return this[_0x593bc4(0x18d)][this[_0x593bc4(0x191)]]?this['currentTabKey']:_0x180aa5[0x0],html`
149
- <h1>${this['menuName']}</h1>
148
+ `,'variables':{'id':this[_0x19af82(0xc2)]}}))[_0x19af82(0xe6)])return;let _0x4517dc={},_0xcee5cd={};Object[_0x19af82(0xb4)](this[_0x19af82(0xaa)])['forEach'](_0x4dcefe=>{const _0x55d139=_0x19af82;let _0xf01cf7=this[_0x55d139(0xa7)](_0x4dcefe);_0x4517dc[_0x4dcefe]=this[_0x55d139(0xd7)+_0xf01cf7+'ConfigTabValues'](),_0xcee5cd=merge(_0xcee5cd,_0x4517dc[_0x4dcefe]);}),_0xcee5cd=JSON[_0x19af82(0xee)](_0xcee5cd),_0xcee5cd=MetaCrypto[_0x19af82(0xe4)](_0xcee5cd),await MetaApi[_0x19af82(0x9b)](_0x19af82(0xda),[{'id':this['menuId'],'template':_0xcee5cd,'cuFlag':'M'}])&&await this[_0x19af82(0xb8)]();}[a0_0x5e4c78(0xab)](){const _0x3e1128=a0_0x5e4c78;this['setTabData'](),this[_0x3e1128(0xca)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x3e1128(0xb4)](this[_0x3e1128(0xaa)])[_0x3e1128(0xe2)](_0x12ea27=>{const _0xd84564=_0x3e1128;let _0xf22e41=this[_0xd84564(0xa7)](_0x12ea27);if(this['set'+_0xf22e41+_0xd84564(0xb3)])return this[_0xd84564(0xd3)+_0xf22e41+'ConfigTabValues'](this['dataStorage'][_0x12ea27]);});}async['refresh'](){this['clear'](),await this['initData']();}['backToMenu'](){const _0x4746e2=a0_0x5e4c78;history[_0x4746e2(0x81)]();}async['initData'](){const _0x474874=a0_0x5e4c78;var {menuId:_0x5e1f82=''}=this[_0x474874(0xad)]?.['params']?this[_0x474874(0xad)][_0x474874(0xef)]:{};if(this['menuId']=_0x5e1f82,!_0x5e1f82||''==_0x5e1f82)return void this[_0x474874(0xab)]();let _0x153ec1=await MetaApi[_0x474874(0x8d)]('menu',_0x5e1f82,_0x474874(0xa1));if(_0x153ec1){try{JSON[_0x474874(0xdc)](MetaCrypto['dec'](_0x153ec1[_0x474874(0x9e)]));}catch(_0x231cc4){return;}this[_0x474874(0x83)]=TermsUtil[_0x474874(0xd8)](_0x153ec1[_0x474874(0x80)]),this[_0x474874(0xbb)]=_0x153ec1[_0x474874(0x9e)]?JSON[_0x474874(0xdc)](MetaCrypto[_0x474874(0x8c)](_0x153ec1[_0x474874(0x9e)])):{};var {menu:_0x2a9855={},gql:_0x2bfd3c={},button:_0x279129=[],grid_column:_0x33bac7=[],grid:_0x20be50={},search:_0x247018=[],form:_0x4aafc0=[],tab:_0x2dd68d=[],etc:_0x544579={},gridEmphasized:_0x391ac2=[]}=this[_0x474874(0xbb)]?this['metaTemplate']:{};this[_0x474874(0xcd)](),this[_0x474874(0xca)]={},this[_0x474874(0xca)]['menu']=_0x2a9855,this['dataStorage'][_0x474874(0xcf)]=_0x2bfd3c,this[_0x474874(0xca)][_0x474874(0xf0)]=_0x20be50,this[_0x474874(0xca)][_0x474874(0xa9)]=_0x4aafc0,this[_0x474874(0xca)][_0x474874(0x99)]=_0x2dd68d,this[_0x474874(0xca)][_0x474874(0x8f)]=_0x544579,this[_0x474874(0xca)][_0x474874(0x84)]=_0x391ac2,(_0x20be50[_0x474874(0x90)]?.[_0x474874(0x9f)]||[])[_0x474874(0xe2)]((_0xd214f5,_0x3c6bc7)=>{_0xd214f5['rank']=0xa*(_0x3c6bc7+0x1);}),this[_0x474874(0xca)][_0x474874(0x8b)]=_0x33bac7['map'](_0x5925c5=>{const _0x11dad4=_0x474874;let _0x38c3c5=(_0x20be50[_0x11dad4(0x90)]?.[_0x11dad4(0x9f)]||[])['filter'](_0xd7835f=>_0xd7835f[_0x11dad4(0x80)]==_0x5925c5['name']);return _0x38c3c5&&_0x38c3c5[_0x11dad4(0x93)]>0x0?(_0x5925c5[_0x11dad4(0xa6)]=_0x38c3c5[0x0][_0x11dad4(0x9a)],_0x5925c5[_0x11dad4(0xce)]=!!_0x38c3c5[0x0][_0x11dad4(0xdf)]&&_0x38c3c5[0x0][_0x11dad4(0xdf)]):_0x5925c5[_0x11dad4(0xa6)]=0x0,_0x5925c5[_0x11dad4(0xd4)]=(_0x20be50[_0x11dad4(0xc4)]?.[_0x11dad4(0xa8)]||[])['includes'](_0x5925c5[_0x11dad4(0x80)]),_0x5925c5[_0x11dad4(0x85)]=(_0x20be50['list']?.[_0x11dad4(0xa4)]||[])[_0x11dad4(0xbe)](_0x5925c5['name']),_0x5925c5[_0x11dad4(0x86)]=_0x20be50[_0x11dad4(0xc4)]?.[_0x11dad4(0xc3)]==_0x5925c5[_0x11dad4(0x80)],_0x5925c5;}),_0x247018[_0x474874(0xf1)](...(_0x2bfd3c[_0x474874(0x87)]?.[_0x474874(0xae)]||[])['map'](_0xa71dbe=>(_0xa71dbe['hidden']=!0x0,_0xa71dbe))),this[_0x474874(0xca)][_0x474874(0xd0)]=_0x247018,_0x279129['push'](...(_0x20be50[_0x474874(0xc6)]||[])[_0x474874(0xea)](_0x1705cb=>(_0x1705cb['type']=_0x474874(0xba)+_0x1705cb[_0x474874(0xb9)],_0x1705cb[_0x474874(0x98)]=_0x1705cb[_0x474874(0x96)],_0x1705cb))),this[_0x474874(0xca)][_0x474874(0xc6)]=_0x279129,Object['keys'](this[_0x474874(0xaa)])[_0x474874(0xe2)](_0x16c70e=>{const _0xc3f277=_0x474874;let _0x539fb1=this['convertFirstCharUpperCase'](_0x16c70e);if(this[_0xc3f277(0xd3)+_0x539fb1+'ConfigTabValues'])return this['set'+_0x539fb1+_0xc3f277(0xb3)](this[_0xc3f277(0xca)][_0x16c70e]);});}}async[a0_0x5e4c78(0xa3)](){const _0x2469d3=a0_0x5e4c78;this['setTabData']();let _0x23b2c0=Object[_0x2469d3(0xb4)](this[_0x2469d3(0xaa)]);for(var _0x234496=0x0;_0x234496<_0x23b2c0[_0x2469d3(0x93)];_0x234496++){let _0x5dad59=this[_0x2469d3(0xa7)](_0x23b2c0[_0x234496]);this[_0x2469d3(0xd3)+_0x5dad59+_0x2469d3(0xe7)]&&await this[_0x2469d3(0xd3)+_0x5dad59+'ConfigTabConfig']();}}async['pageUpdated'](_0x41ba5a,_0x2a8871,_0x11c97e){const _0x22f62f=a0_0x5e4c78;!0x0===this[_0x22f62f(0x82)]?(this[_0x22f62f(0xcd)](),await this[_0x22f62f(0xb8)](),this['setTabData']()):(this[_0x22f62f(0xab)](),this[_0x22f62f(0xcc)]());}[a0_0x5e4c78(0xcd)](){const _0x59747=a0_0x5e4c78;this[_0x59747(0xaa)]||(this[_0x59747(0xaa)]={'menu':TermsUtil[_0x59747(0x97)](_0x59747(0x88)),'graphql':TermsUtil['tLabel'](_0x59747(0xed)),'grid':TermsUtil[_0x59747(0x97)]('grid_config'),'column':TermsUtil['tLabel']('column_config'),'gridEmphasized':TermsUtil[_0x59747(0x97)](_0x59747(0xe3)),'button':TermsUtil[_0x59747(0x97)](_0x59747(0xeb)),'search':TermsUtil[_0x59747(0x97)]('search_config'),'form':TermsUtil['tLabel'](_0x59747(0xd5)),'tab':TermsUtil['tLabel'](_0x59747(0x95)),'etc':TermsUtil[_0x59747(0x97)](_0x59747(0xec))});}[a0_0x5e4c78(0xb2)](){const _0x2d6330=a0_0x5e4c78;this[_0x2d6330(0xb6)]||(this[_0x2d6330(0xb6)]='menu'),this[_0x2d6330(0xcd)]();let _0xf4a3d3=Object[_0x2d6330(0xb4)](this['tabData']);return this[_0x2d6330(0xaa)][this[_0x2d6330(0xb6)]]?this[_0x2d6330(0xb6)]:_0xf4a3d3[0x0],html`
149
+ <h1>${this[_0x2d6330(0x83)]}</h1>
150
150
  <div class="tabs">
151
- ${_0x180aa5[_0x593bc4(0x1c1)](_0x12e874=>{const _0x5a52c9=_0x593bc4;let _0x5b1ce0=this[_0x5a52c9(0x18d)][_0x12e874];return html`
152
- <div class="tab" ?activate="${_0x12e874===this[_0x5a52c9(0x191)]}" @click="${()=>this[_0x5a52c9(0x191)]=_0x12e874}">
153
- <span>${_0x5b1ce0}</span>
151
+ ${_0xf4a3d3[_0x2d6330(0xea)](_0x95f31a=>{let _0x59faa2=this['tabData'][_0x95f31a];return html`
152
+ <div class="tab" ?activate="${_0x95f31a===this['currentTabKey']}" @click="${()=>this['currentTabKey']=_0x95f31a}">
153
+ <span>${_0x59faa2}</span>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
158
- ${_0x180aa5['map'](_0x4fd7b9=>{const _0x3ae4c4=_0x593bc4;let _0x9d16d6=_0x3ae4c4(0x194);return _0x4fd7b9==this[_0x3ae4c4(0x191)]&&(_0x9d16d6='display:flex'),html`
159
- <div class='tab-contents' style="${_0x9d16d6}">
160
- ${this[_0x3ae4c4(0x1d5)](_0x4fd7b9)}
158
+ ${_0xf4a3d3['map'](_0x1fdd84=>{const _0x3ef425=_0x2d6330;let _0x288ea9=_0x3ef425(0xaf);return _0x1fdd84==this[_0x3ef425(0xb6)]&&(_0x288ea9=_0x3ef425(0xd2)),html`
159
+ <div class='tab-contents' style="${_0x288ea9}">
160
+ ${this[_0x3ef425(0xc5)](_0x1fdd84)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
164
- `;}[a0_0x1a8acb(0x1d5)](_0x1b3205){const _0x58a3e3=a0_0x1a8acb;let _0x3acde3=this['convertFirstCharUpperCase'](_0x1b3205);return this['render'+_0x3acde3+'ConfigTab']?this[_0x58a3e3(0x170)+_0x3acde3+_0x58a3e3(0x1bd)]():html``;}['convertFirstCharUpperCase'](_0x356e67){const _0xb10302=a0_0x1a8acb;return _0x356e67[_0xb10302(0x18f)](0x0)[_0xb10302(0x1c2)]()+_0x356e67[_0xb10302(0x16c)](0x1);}[a0_0x1a8acb(0x1a1)](_0x230948){const _0x1b40d2=a0_0x1a8acb;return this['shadowRoot'][_0x1b40d2(0x1dd)]('#'+_0x230948);}['getElementValueById'](_0x3f2389){const _0x1e1c45=a0_0x1a8acb;let _0x587a1c=this[_0x1e1c45(0x18c)][_0x1e1c45(0x1dd)]('#'+_0x3f2389);if(!_0x587a1c)return;let _0x71d386='';if(_0x1e1c45(0x185)==_0x587a1c[_0x1e1c45(0x1e1)][_0x1e1c45(0x1a7)]()){if(!_0x587a1c[_0x1e1c45(0x16b)]||0x0==_0x587a1c[_0x1e1c45(0x16b)][_0x1e1c45(0x1be)])return;_0x71d386=_0x587a1c[_0x1e1c45(0x16b)][_0x587a1c[_0x1e1c45(0x1a3)]][_0x1e1c45(0x1a9)];}else{if('ox-grist'==_0x587a1c[_0x1e1c45(0x1e1)][_0x1e1c45(0x1a7)]()){if(!_0x587a1c[_0x1e1c45(0x1d4)])return;if(!_0x587a1c[_0x1e1c45(0x1d4)][_0x1e1c45(0x18a)])return;if(0x0==_0x587a1c[_0x1e1c45(0x1d4)]['records'][_0x1e1c45(0x1be)])return;return _0x587a1c['dirtyData'][_0x1e1c45(0x18a)];}if(_0x1e1c45(0x171)==_0x587a1c[_0x1e1c45(0x1e1)][_0x1e1c45(0x1a7)]())return _0x587a1c['value'];if('radio'==_0x587a1c[_0x1e1c45(0x173)]['toLowerCase']()){let _0x108e9b=this[_0x1e1c45(0x18c)][_0x1e1c45(0x1dd)]('#'+_0x3f2389+':checked');if(!_0x108e9b)return;return _0x108e9b[_0x1e1c45(0x1a9)];}_0x71d386=_0x587a1c[_0x1e1c45(0x1a9)];}return _0x71d386&&''!=_0x71d386?_0x71d386:void 0x0;}[a0_0x1a8acb(0x1d3)](_0x327e0e){const _0x39b617=a0_0x1a8acb;return _0x327e0e?this[_0x39b617(0x1ac)](_0x327e0e,_0x39b617(0x1ab)):_0x327e0e;}[a0_0x1a8acb(0x1ac)](_0x1aca22,_0x3f1acf){const _0x3ccfd2=a0_0x1a8acb;return _0x1aca22[_0x3ccfd2(0x1cf)]((_0x341c79,_0x4e2994)=>_0x341c79[_0x3f1acf]-_0x4e2994[_0x3f1acf]),_0x1aca22;}}customElements['define'](a0_0x1a8acb(0x183),MetaGeneratorPage);
164
+ `;}[a0_0x5e4c78(0xc5)](_0x5b024a){const _0x3e9869=a0_0x5e4c78;let _0x526f27=this['convertFirstCharUpperCase'](_0x5b024a);return this[_0x3e9869(0xb2)+_0x526f27+_0x3e9869(0xc8)]?this[_0x3e9869(0xb2)+_0x526f27+_0x3e9869(0xc8)]():html``;}['convertFirstCharUpperCase'](_0x33bd1f){return _0x33bd1f['charAt'](0x0)['toUpperCase']()+_0x33bd1f['slice'](0x1);}['getElementById'](_0x18e958){const _0xa859cc=a0_0x5e4c78;return this['shadowRoot'][_0xa859cc(0xe9)]('#'+_0x18e958);}['getElementValueById'](_0x31315c){const _0x25dbf8=a0_0x5e4c78;let _0x343005=this['shadowRoot'][_0x25dbf8(0xe9)]('#'+_0x31315c);if(!_0x343005)return;let _0x241919='';if('select'==_0x343005['tagName'][_0x25dbf8(0xd1)]()){if(!_0x343005[_0x25dbf8(0xe5)]||0x0==_0x343005[_0x25dbf8(0xe5)][_0x25dbf8(0x93)])return;_0x241919=_0x343005['options'][_0x343005['selectedIndex']][_0x25dbf8(0xa2)];}else{if(_0x25dbf8(0xc9)==_0x343005[_0x25dbf8(0xdd)]['toLowerCase']()){if(!_0x343005[_0x25dbf8(0xe0)])return;if(!_0x343005['dirtyData']['records'])return;if(0x0==_0x343005[_0x25dbf8(0xe0)]['records']['length'])return;return _0x343005[_0x25dbf8(0xe0)][_0x25dbf8(0xd6)];}if(_0x25dbf8(0xbf)==_0x343005['tagName'][_0x25dbf8(0xd1)]())return _0x343005[_0x25dbf8(0xa2)];if(_0x25dbf8(0xa5)==_0x343005[_0x25dbf8(0xb9)]['toLowerCase']()){let _0x32aba3=this[_0x25dbf8(0xde)][_0x25dbf8(0xe9)]('#'+_0x31315c+_0x25dbf8(0xf3));if(!_0x32aba3)return;return _0x32aba3[_0x25dbf8(0xa2)];}_0x241919=_0x343005[_0x25dbf8(0xa2)];}return _0x241919&&''!=_0x241919?_0x241919:void 0x0;}[a0_0x5e4c78(0xac)](_0x4b198e){const _0x2a487b=a0_0x5e4c78;return _0x4b198e?this[_0x2a487b(0xc7)](_0x4b198e,_0x2a487b(0x9a)):_0x4b198e;}[a0_0x5e4c78(0xc7)](_0x28312b,_0x1250cf){return _0x28312b['sort']((_0xf421dc,_0x4f88e7)=>_0xf421dc[_0x1250cf]-_0x4f88e7[_0x1250cf]),_0x28312b;}}customElements[a0_0x5e4c78(0x89)]('meta-generator-page',MetaGeneratorPage);
@@ -1,4 +1,4 @@
1
- const a0_0x5c0a80=a0_0x2b79;(function(_0x3f86d7,_0x5f3f8a){const _0x2e6865=a0_0x2b79,_0x1cf9ed=_0x3f86d7();while(!![]){try{const _0x53074e=-parseInt(_0x2e6865(0x1ed))/0x1+-parseInt(_0x2e6865(0x204))/0x2*(parseInt(_0x2e6865(0x1ea))/0x3)+-parseInt(_0x2e6865(0x20f))/0x4*(parseInt(_0x2e6865(0x1e5))/0x5)+parseInt(_0x2e6865(0x1e6))/0x6+-parseInt(_0x2e6865(0x1f6))/0x7*(parseInt(_0x2e6865(0x1fb))/0x8)+parseInt(_0x2e6865(0x1f4))/0x9*(parseInt(_0x2e6865(0x1ef))/0xa)+parseInt(_0x2e6865(0x1f3))/0xb*(parseInt(_0x2e6865(0x1e4))/0xc);if(_0x53074e===_0x5f3f8a)break;else _0x1cf9ed['push'](_0x1cf9ed['shift']());}catch(_0x793fa9){_0x1cf9ed['push'](_0x1cf9ed['shift']());}}}(a0_0x3373,0xe376f));import{html}from'lit-element';function a0_0x2b79(_0x4be16d,_0x436f63){const _0x337305=a0_0x3373();return a0_0x2b79=function(_0x2b79d9,_0x5c14fa){_0x2b79d9=_0x2b79d9-0x1df;let _0x1fc349=_0x337305[_0x2b79d9];return _0x1fc349;},a0_0x2b79(_0x4be16d,_0x436f63);}function a0_0x3373(){const _0x1e6874=['tLabel','bind','3435772UTXRXG','operator','delete','rank','getSearchConfigTabValues','querySelector','12JpHDfN','10KXAPtu','6032730AspVmr','gutter','assign','searchTabGrist','177hcRCaj','string','map','1269859tYEbkS','hidden','1532920BHYDUX','renderSearchConfigTab','name','search','49383565mFsDZG','18uhVaay','search_operator','275611ijgupY','searchTabGridConfig','left','sortRecordByRank','forEach','296UzxXfD','setSearchConfigTabValues','fetch','getGristGuttersConfig','value','integer','#search-tab-grid','select','button','14414NRaoob','getCodeSelectorData','filter','push','viewSearchData','search-tab-grid','getGristSelectableConfig','right','boolean'];a0_0x3373=function(){return _0x1e6874;};return a0_0x3373();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x15bba2=>class extends _0x15bba2{[a0_0x5c0a80(0x1fc)](_0x2654b6){const _0x5d1c3e=a0_0x5c0a80;let _0x33a853=_0x2654b6?.[_0x5d1c3e(0x1ec)]((_0x10b7b7,_0x3aa256)=>{const _0xf434f8=_0x5d1c3e;let _0x88ba60=_0x3aa256+0x1,_0x1d6136={};return'object'==typeof _0x10b7b7?Object[_0xf434f8(0x1e8)](_0x1d6136,_0x10b7b7):(_0x1d6136[_0xf434f8(0x1f1)]=_0x10b7b7,_0x1d6136[_0xf434f8(0x1df)]='filter'),_0x1d6136[_0xf434f8(0x1e1)]=0xa*_0x88ba60,_0x1d6136['id']=_0x88ba60,_0x1d6136;});this[_0x5d1c3e(0x208)]=_0x33a853||[],this[_0x5d1c3e(0x1e9)]?.[_0x5d1c3e(0x1fd)]();}[a0_0x5c0a80(0x1e2)](){const _0x4fe251=a0_0x5c0a80;let _0x4eb34a={'search':[],'gql':{'query':{'filters':[]}}},_0x1cdd09=this['getElementValueById'](_0x4fe251(0x209));return this[_0x4fe251(0x1f9)](_0x1cdd09)?.[_0x4fe251(0x1fa)](_0x27a8d0=>{const _0x3789c2=_0x4fe251;var {name:_0x127fe7,operator:_0x4db032='eq',hidden:_0x5792ca=!0x1,value:_0x381e8f}=_0x27a8d0;if(_0x127fe7){if(_0x3789c2(0x206)==_0x4db032)_0x4eb34a['search'][_0x3789c2(0x207)](_0x127fe7);else{let _0xe05e3d={'name':_0x127fe7,'operator':_0x4db032};0x1==_0x5792ca?(_0xe05e3d[_0x3789c2(0x1ff)]=_0x381e8f,_0x4eb34a['gql']['query']['filters'][_0x3789c2(0x207)](_0xe05e3d)):(_0xe05e3d['value']=_0x381e8f,_0x4eb34a[_0x3789c2(0x1f2)][_0x3789c2(0x207)](_0xe05e3d));}}}),_0x4eb34a;}[a0_0x5c0a80(0x1f0)](){const _0xb93664=a0_0x5c0a80;return html`
1
+ const a0_0x460f67=a0_0x3a79;(function(_0x28b09b,_0x4dc25e){const _0x1bf2fe=a0_0x3a79,_0x3fbeb6=_0x28b09b();while(!![]){try{const _0x5dafe8=-parseInt(_0x1bf2fe(0x135))/0x1+-parseInt(_0x1bf2fe(0x128))/0x2+parseInt(_0x1bf2fe(0x13b))/0x3*(parseInt(_0x1bf2fe(0x13a))/0x4)+parseInt(_0x1bf2fe(0x139))/0x5*(parseInt(_0x1bf2fe(0x141))/0x6)+-parseInt(_0x1bf2fe(0x126))/0x7*(-parseInt(_0x1bf2fe(0x13c))/0x8)+parseInt(_0x1bf2fe(0x12b))/0x9*(parseInt(_0x1bf2fe(0x13d))/0xa)+-parseInt(_0x1bf2fe(0x14f))/0xb;if(_0x5dafe8===_0x4dc25e)break;else _0x3fbeb6['push'](_0x3fbeb6['shift']());}catch(_0x11aa0b){_0x3fbeb6['push'](_0x3fbeb6['shift']());}}}(a0_0x260f,0x6f0ad));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_0x3a79(_0x264cf0,_0x4e80c3){const _0x260fef=a0_0x260f();return a0_0x3a79=function(_0x3a7930,_0x4f8715){_0x3a7930=_0x3a7930-0x120;let _0x509d68=_0x260fef[_0x3a7930];return _0x509d68;},a0_0x3a79(_0x264cf0,_0x4e80c3);}function a0_0x260f(){const _0x20855d=['filter','7VKspbO','setSearchConfigTabConfig','1172226AhFWyS','delete','string','54JFIiuY','search-tab-grid','renderSearchConfigTab','shadowRoot','map','sortRecordByRank','fetchSearchTabHandler','viewSearchData','integer','getSearchConfigTabValues','204097WUtzMJ','getElementValueById','right','filters','10JLDgGg','165964ltoXhW','57nFWgnZ','1234736REmord','491980YIMUhS','value','push','searchTabGridConfig','256362ReCoWv','deleteRow','searchTabGrist','FILTER_OPERATORS','tLabel','forEach','name','getGristGuttersConfig','default_value','hidden','#search-tab-grid','rank','left','querySelector','861014zYlJdw','gql','setSearchConfigTabValues','query','gutter','search','select','bind','operator','boolean'];a0_0x260f=function(){return _0x20855d;};return a0_0x260f();}export const SearchConfigTabMixin=_0x3bc823=>class extends _0x3bc823{[a0_0x460f67(0x151)](_0x1033a1){const _0x4e4ed9=a0_0x460f67;let _0x3d9c4d=_0x1033a1?.[_0x4e4ed9(0x12f)]((_0x4b1e88,_0x114901)=>{const _0xe67b8f=_0x4e4ed9;let _0x30bfc8=_0x114901+0x1,_0xdad261={};return'object'==typeof _0x4b1e88?Object['assign'](_0xdad261,_0x4b1e88):(_0xdad261[_0xe67b8f(0x147)]=_0x4b1e88,_0xdad261[_0xe67b8f(0x123)]=_0xe67b8f(0x125)),_0xdad261[_0xe67b8f(0x14c)]=0xa*_0x30bfc8,_0xdad261['id']=_0x30bfc8,_0xdad261;});this[_0x4e4ed9(0x132)]=_0x3d9c4d||[],this['searchTabGrist']?.['fetch']();}[a0_0x460f67(0x134)](){const _0x193e8c=a0_0x460f67;let _0x58dcc2={'search':[],'gql':{'query':{'filters':[]}}},_0x546c1e=this[_0x193e8c(0x136)](_0x193e8c(0x12c));return this[_0x193e8c(0x130)](_0x546c1e)?.[_0x193e8c(0x146)](_0x3ea3d3=>{const _0x706b40=_0x193e8c;var {name:_0x588726,operator:_0x10ea9a='eq',hidden:_0x41b748=!0x1,value:_0x3d8042}=_0x3ea3d3;if(_0x588726){if(_0x706b40(0x125)==_0x10ea9a)_0x58dcc2['search']['push'](_0x588726);else{let _0x30481c={'name':_0x588726,'operator':_0x10ea9a};0x1==_0x41b748?(_0x30481c[_0x706b40(0x13e)]=_0x3d8042,_0x58dcc2[_0x706b40(0x150)][_0x706b40(0x152)][_0x706b40(0x138)][_0x706b40(0x13f)](_0x30481c)):(_0x30481c[_0x706b40(0x13e)]=_0x3d8042,_0x58dcc2[_0x706b40(0x120)][_0x706b40(0x13f)](_0x30481c));}}}),_0x58dcc2;}[a0_0x460f67(0x12d)](){const _0x3e8714=a0_0x460f67;return html`
2
2
  <ox-grist auto-fetch id="search-tab-grid" .config=${this['searchTabGridConfig']} .mode='GRID'
3
- .fetchHandler=${this['fetchSearchTabHandler'][_0xb93664(0x20e)](this)}>
4
- </ox-grist>`;}get[a0_0x5c0a80(0x1e9)](){const _0x5ed4c5=a0_0x5c0a80;return this['shadowRoot'][_0x5ed4c5(0x1e3)](_0x5ed4c5(0x201));}async['fetchSearchTabHandler'](){const _0x1dd845=a0_0x5c0a80;return{'total':0x0,'records':this[_0x1dd845(0x208)]||[]};}async['setSearchConfigTabConfig'](){const _0x9df015=a0_0x5c0a80;let _0x318834=await MetaApi[_0x9df015(0x205)]('FILTER_OPERATORS');this[_0x9df015(0x1f7)]={'rows':MetaApi[_0x9df015(0x20a)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x9df015(0x1fe)](!0x1,!0x1),{'type':_0x9df015(0x1e7),'gutterName':_0x9df015(0x203),'icon':_0x9df015(0x1e0),'handlers':{'click':(_0x517538,_0x465289,_0x59edb6,_0x561ac3,_0x4590f1)=>{const _0x35252b=_0x9df015;_0x561ac3['id']&&this['deleteRow'](this[_0x35252b(0x1e9)],_0x561ac3);}}},{'type':_0x9df015(0x1eb),'name':'id','hidden':!0x0},{'type':_0x9df015(0x200),'name':'rank','header':TermsUtil[_0x9df015(0x20d)](_0x9df015(0x1e1)),'sortable':!0x0,'width':0x41,'record':{'align':_0x9df015(0x20b),'editable':!0x0,'mandatory':!0x0}},{'type':_0x9df015(0x1eb),'name':'name','header':TermsUtil[_0x9df015(0x20d)]('name'),'sortable':!0x1,'width':0x9b,'record':{'align':_0x9df015(0x1f8),'editable':!0x0,'mandatory':!0x0}},{'type':_0x9df015(0x202),'name':_0x9df015(0x1df),'header':TermsUtil[_0x9df015(0x20d)](_0x9df015(0x1f5)),'sortable':!0x1,'width':0x64,'record':{'align':_0x9df015(0x1f8),'editable':!0x0,'mandatory':!0x1,'options':_0x318834}},{'type':_0x9df015(0x20c),'name':_0x9df015(0x1ee),'header':TermsUtil['tLabel']('hidden'),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x9df015(0x1eb),'name':_0x9df015(0x1ff),'header':TermsUtil[_0x9df015(0x20d)]('default_value'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x9df015(0x1f8),'editable':!0x0,'mandatory':!0x1}}]};}};
3
+ .fetchHandler=${this[_0x3e8714(0x131)][_0x3e8714(0x122)](this)}>
4
+ </ox-grist>`;}get[a0_0x460f67(0x143)](){const _0x10375f=a0_0x460f67;return this[_0x10375f(0x12e)][_0x10375f(0x14e)](_0x10375f(0x14b));}async[a0_0x460f67(0x131)](){const _0x4adf32=a0_0x460f67;return{'total':0x0,'records':this[_0x4adf32(0x132)]||[]};}async[a0_0x460f67(0x127)](){const _0x527a38=a0_0x460f67;let _0x27dc95=await MetaApi['getCodeSelectorData'](_0x527a38(0x144));this[_0x527a38(0x140)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x527a38(0x14c),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x527a38(0x148)](!0x1,!0x1),{'type':_0x527a38(0x153),'gutterName':'button','icon':_0x527a38(0x129),'handlers':{'click':(_0xe9d301,_0x4560fd,_0x3bffd6,_0xa15550,_0x301cb3)=>{const _0x3db22f=_0x527a38;_0xa15550['id']&&this[_0x3db22f(0x142)](this[_0x3db22f(0x143)],_0xa15550);}}},{'type':_0x527a38(0x12a),'name':'id','hidden':!0x0},{'type':_0x527a38(0x133),'name':'rank','header':TermsUtil[_0x527a38(0x145)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':_0x527a38(0x137),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'name','header':TermsUtil[_0x527a38(0x145)]('name'),'sortable':!0x1,'width':0x9b,'record':{'align':_0x527a38(0x14d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x527a38(0x121),'name':_0x527a38(0x123),'header':TermsUtil[_0x527a38(0x145)]('search_operator'),'sortable':!0x1,'width':0x64,'record':{'align':_0x527a38(0x14d),'editable':!0x0,'mandatory':!0x1,'options':_0x27dc95}},{'type':_0x527a38(0x124),'name':_0x527a38(0x14a),'header':TermsUtil['tLabel'](_0x527a38(0x14a)),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x527a38(0x12a),'name':_0x527a38(0x13e),'header':TermsUtil['tLabel'](_0x527a38(0x149)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x527a38(0x14d),'editable':!0x0,'mandatory':!0x1}}]};}};