@things-factory/operato-tools 6.1.23 → 6.1.25

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_0x22b27d=a0_0x45be;(function(_0x5ec961,_0x4a77d7){const _0x121f5a=a0_0x45be,_0x468f11=_0x5ec961();while(!![]){try{const _0x5e84ae=-parseInt(_0x121f5a(0x126))/0x1*(-parseInt(_0x121f5a(0x106))/0x2)+parseInt(_0x121f5a(0x100))/0x3+-parseInt(_0x121f5a(0x103))/0x4*(parseInt(_0x121f5a(0xfb))/0x5)+-parseInt(_0x121f5a(0xef))/0x6*(-parseInt(_0x121f5a(0xfa))/0x7)+parseInt(_0x121f5a(0x111))/0x8*(parseInt(_0x121f5a(0xf3))/0x9)+-parseInt(_0x121f5a(0x108))/0xa+parseInt(_0x121f5a(0x107))/0xb;if(_0x5e84ae===_0x4a77d7)break;else _0x468f11['push'](_0x468f11['shift']());}catch(_0x3d5579){_0x468f11['push'](_0x468f11['shift']());}}}(a0_0x17a0,0x389c0));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_0x17a0(){const _0x22a7b8=['support','1602ofzSol','setGridConfigTabValues','description','_view_use','renderGridConfigTab','includes','LIST','112980hrXcEG','10XzGCOD','multiple_select','grid_multi_select','GRID','viewGridData','915843qulXDK','grid_desk_view','grid_use_row_check','193864WltUPw','grid_term_default','use','35858CcroJb','950279bfpaRr','4598770WEOKEq','gridPageOptions','grid_mobile_view','grid','unsupport','grid_support_view','grid_view_use','unlimited','setGridConfigTabConfig','16312UBmqZu','desk_mode','getElementValueById','grid_row_check_use','GRID_PAGE_OPTIONS','row','option','grid_support_multi_select','map','codeItems','gridViewModes','use_row_checker','name','true','getGridConfigTabValues','mobile_mode','setGridConfigTabDetaultValues','CARD','grid_term_unlimited','view_mode','grid_pagination','1CPbkYn','toLowerCase','push','pages','grid_use_filter','6tgYiXj','tLabel','use_filter_form'];a0_0x17a0=function(){return _0x22a7b8;};return a0_0x17a0();}function a0_0x45be(_0x27ec13,_0x1089d4){const _0x17a00d=a0_0x17a0();return a0_0x45be=function(_0x45be53,_0xe8ab6){_0x45be53=_0x45be53-0xee;let _0x4cb10a=_0x17a00d[_0x45be53];return _0x4cb10a;},a0_0x45be(_0x27ec13,_0x1089d4);}export const GridConfigTabMixin=_0x852bfa=>class extends _0x852bfa{[a0_0x22b27d(0xf4)](_0x24aa0a){const _0x2a2177=a0_0x22b27d;if(_0x24aa0a){var {mobile_mode:_0x249c7d='',desk_mode:_0x3b326f='',pages:_0x272e7d=[],use_row_checker:_0x301c3a=!0x0,view_mode:_0x396ff7=[]}=_0x24aa0a['option']||{};let _0xc587d0=(_0x24aa0a[_0x2a2177(0x116)]||{'multiple_select':!0x1})[_0x2a2177(0xfc)],_0x5cf4a4=_0x2a2177(0x10f)==_0x272e7d?_0x2a2177(0x123):0x0==_0x272e7d['length']?'':0x14==_0x272e7d[0x0]?_0x2a2177(0x104):'grid_term_'+_0x272e7d[0x0];this['viewGridData']={'mobile_mode':_0x249c7d,'desk_mode':_0x3b326f,'use_row_checker':_0x301c3a,'pages':_0x5cf4a4,'view_mode':_0x396ff7,'multiple_select':_0xc587d0,'use_filter_form':_0x24aa0a[_0x2a2177(0xf1)]};}else this[_0x2a2177(0x121)]();}[a0_0x22b27d(0x11f)](){const _0x43d75a=a0_0x22b27d;let _0xd81a98={'grid':{'option':{},'row':{'click':'select-row-toggle'}}},_0x175725=this[_0x43d75a(0x113)](_0x43d75a(0x114)),_0x34208b=this[_0x43d75a(0x113)](_0x43d75a(0xfd)),_0x48f702=this['getElementValueById']('grid_desk_view'),_0x7e1f3f=this[_0x43d75a(0x113)](_0x43d75a(0x10a)),_0x5e3d75=this[_0x43d75a(0x113)](_0x43d75a(0xee)),_0x975439=this[_0x43d75a(0x113)](_0x43d75a(0x125)),_0x155208=this[_0x43d75a(0x113)](_0x43d75a(0x10e)),_0x185b31=this[_0x43d75a(0x113)]('list_view_use'),_0x3c0fb5=this[_0x43d75a(0x113)]('card_view_use');return _0xd81a98[_0x43d75a(0x10b)][_0x43d75a(0xf1)]=_0x43d75a(0x11e)==_0x5e3d75,_0xd81a98['grid']['row'][_0x43d75a(0xfc)]=_0x43d75a(0x11e)==_0x34208b,_0xd81a98['grid'][_0x43d75a(0x117)][_0x43d75a(0x11c)]=_0x43d75a(0x11e)==_0x175725,_0xd81a98['grid'][_0x43d75a(0x117)][_0x43d75a(0x120)]=_0x7e1f3f,_0xd81a98[_0x43d75a(0x10b)]['option'][_0x43d75a(0x112)]=_0x48f702,_0x43d75a(0x104)==_0x975439?_0xd81a98['grid'][_0x43d75a(0x117)][_0x43d75a(0x129)]=[0x14,0x1e,0x32,0x64]:'grid_term_50'==_0x975439?_0xd81a98['grid'][_0x43d75a(0x117)][_0x43d75a(0x129)]=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0x975439?_0xd81a98[_0x43d75a(0x10b)][_0x43d75a(0x117)][_0x43d75a(0x129)]=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0x975439?_0xd81a98[_0x43d75a(0x10b)][_0x43d75a(0x117)][_0x43d75a(0x129)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:'grid_term_unlimited'==_0x975439&&(_0xd81a98[_0x43d75a(0x10b)][_0x43d75a(0x117)][_0x43d75a(0x129)]=_0x43d75a(0x10f)),_0xd81a98[_0x43d75a(0x10b)][_0x43d75a(0x117)][_0x43d75a(0x124)]=[],'true'==_0x155208&&_0xd81a98[_0x43d75a(0x10b)]['option'][_0x43d75a(0x124)]['push'](_0x43d75a(0xfe)),'true'==_0x185b31&&_0xd81a98['grid'][_0x43d75a(0x117)][_0x43d75a(0x124)][_0x43d75a(0x128)]('LIST'),_0x43d75a(0x11e)==_0x3c0fb5&&_0xd81a98[_0x43d75a(0x10b)][_0x43d75a(0x117)][_0x43d75a(0x124)]['push'](_0x43d75a(0x122)),_0xd81a98;}async[a0_0x22b27d(0x110)](){const _0x5a7d45=a0_0x22b27d;let _0x5a9bc4=await MetaApi[_0x5a7d45(0x11a)](_0x5a7d45(0x115)),_0x3dfa6a=await MetaApi['codeItems']('GRID_VIEW_MODE');this['gridViewModes']=_0x3dfa6a,this[_0x5a7d45(0x109)]=_0x5a9bc4;}[a0_0x22b27d(0x121)](){const _0x5c49b9=a0_0x22b27d;this[_0x5c49b9(0xff)]||(this[_0x5c49b9(0xff)]={'mobile_mode':this[_0x5c49b9(0x11b)]?this[_0x5c49b9(0x11b)][0x1]:_0x5c49b9(0xf9),'desk_mode':this['gridViewModes']?this[_0x5c49b9(0x11b)][0x0]:_0x5c49b9(0xfe),'use_row_checker':!0x0,'pages':_0x5c49b9(0x104),'view_mode':[...this[_0x5c49b9(0x11b)]?this[_0x5c49b9(0x11b)]:['GRID',_0x5c49b9(0xf9),'CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x22b27d(0xf7)](){const _0x47cf3a=a0_0x22b27d;return this[_0x47cf3a(0x121)](),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[_0x47cf3a(0xf0)](_0x47cf3a(0x102))}
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[_0x47cf3a(0xff)][_0x47cf3a(0x11c)]}>${TermsUtil[_0x47cf3a(0xf0)](_0x47cf3a(0x105))}</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'][_0x47cf3a(0x11c)]}>${TermsUtil[_0x47cf3a(0xf0)]('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[_0x47cf3a(0xf0)](_0x47cf3a(0x118))}
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['viewGridData'][_0x47cf3a(0xfc)]}>${TermsUtil[_0x47cf3a(0xf0)](_0x47cf3a(0xf2))}</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['viewGridData'][_0x47cf3a(0xfc)]}>${TermsUtil[_0x47cf3a(0xf0)](_0x47cf3a(0x10c))}</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['tLabel'](_0x47cf3a(0xee))}
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['viewGridData'][_0x47cf3a(0xf1)]}>${TermsUtil[_0x47cf3a(0xf0)](_0x47cf3a(0x105))}</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[_0x47cf3a(0xff)][_0x47cf3a(0xf1)]}>${TermsUtil[_0x47cf3a(0xf0)]('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['tLabel'](_0x47cf3a(0x101))}
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['gridViewModes']?.[_0x47cf3a(0x119)](_0x58d598=>html`<option value=${_0x58d598[_0x47cf3a(0x11d)]} ?selected=${this[_0x47cf3a(0xff)][_0x47cf3a(0x112)]==_0x58d598[_0x47cf3a(0x11d)]}>${_0x58d598[_0x47cf3a(0xf5)]}</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['tLabel'](_0x47cf3a(0x10a))}
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[_0x47cf3a(0x11b)]?.[_0x47cf3a(0x119)](_0x1a377c=>html`<option value=${_0x1a377c[_0x47cf3a(0x11d)]} ?selected=${this[_0x47cf3a(0xff)][_0x47cf3a(0x120)]==_0x1a377c[_0x47cf3a(0x11d)]}>${_0x1a377c[_0x47cf3a(0xf5)]}</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[_0x47cf3a(0xf0)](_0x47cf3a(0x10d))}
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[_0x47cf3a(0x11b)]?.[_0x47cf3a(0x119)](_0x300750=>html`
69
+ <span>${_0x300750['name']}
70
+ <input type="radio" name=${_0x300750['name']['toLowerCase']()+'_view_use'} id=${_0x300750[_0x47cf3a(0x11d)][_0x47cf3a(0x127)]()+_0x47cf3a(0xf6)} ?checked=${this[_0x47cf3a(0xff)][_0x47cf3a(0x124)][_0x47cf3a(0xf8)](_0x300750[_0x47cf3a(0x11d)])} value="true">${TermsUtil[_0x47cf3a(0xf0)](_0x47cf3a(0x105))}</input>
71
+ <input type="radio" name=${_0x300750[_0x47cf3a(0x11d)][_0x47cf3a(0x127)]()+'_view_use'} id=${_0x300750['name'][_0x47cf3a(0x127)]()+_0x47cf3a(0xf6)} ?checked=${!this[_0x47cf3a(0xff)][_0x47cf3a(0x124)][_0x47cf3a(0xf8)](_0x300750[_0x47cf3a(0x11d)])} value="false">${TermsUtil[_0x47cf3a(0xf0)]('unuse')}</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['tLabel'](_0x47cf3a(0x125))}
79
79
  </h2>
80
80
  <label>
81
- ${this['gridPageOptions']?.['map'](_0x561ee2=>html`
81
+ ${this[_0x47cf3a(0x109)]?.[_0x47cf3a(0x119)](_0x4d560b=>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=${_0x4d560b[_0x47cf3a(0x11d)]} ?checked=${this['viewGridData']['pages']==_0x4d560b[_0x47cf3a(0x11d)]}>${TermsUtil[_0x47cf3a(0xf0)](_0x4d560b[_0x47cf3a(0x11d)])}</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
+ const a0_0x45d3b3=a0_0x3b46;(function(_0x3348db,_0x4f16a8){const _0x50f0d0=a0_0x3b46,_0x264329=_0x3348db();while(!![]){try{const _0xd12223=-parseInt(_0x50f0d0(0x1b4))/0x1+parseInt(_0x50f0d0(0x1a6))/0x2*(parseInt(_0x50f0d0(0x1c6))/0x3)+-parseInt(_0x50f0d0(0x1a1))/0x4+parseInt(_0x50f0d0(0x19d))/0x5*(-parseInt(_0x50f0d0(0x1be))/0x6)+parseInt(_0x50f0d0(0x1b9))/0x7*(parseInt(_0x50f0d0(0x1af))/0x8)+parseInt(_0x50f0d0(0x19e))/0x9+parseInt(_0x50f0d0(0x1ab))/0xa;if(_0xd12223===_0x4f16a8)break;else _0x264329['push'](_0x264329['shift']());}catch(_0x2b2e68){_0x264329['push'](_0x264329['shift']());}}}(a0_0x288d,0x54479));import{html}from'lit-element';function a0_0x3b46(_0x59b7b0,_0x24a72d){const _0x288d82=a0_0x288d();return a0_0x3b46=function(_0x3b46e7,_0x269db1){_0x3b46e7=_0x3b46e7-0x19c;let _0x512af4=_0x288d82[_0x3b46e7];return _0x512af4;},a0_0x3b46(_0x59b7b0,_0x24a72d);}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=_0x211c59=>class extends _0x211c59{[a0_0x45d3b3(0x1b1)](_0x308069){const _0x587fb0=a0_0x45d3b3;if(_0x308069){this[_0x587fb0(0x19f)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x4840ad=0x1;this[_0x587fb0(0x19f)][_0x587fb0(0x1cc)]=(_0x308069[_0x587fb0(0x1d0)]||[])[_0x587fb0(0x1b8)](_0x263cbb=>({'id':_0x4840ad,'rank':_0x4840ad++,'backgroundColor':_0x263cbb['backgroundColor']||'','fontColor':_0x263cbb[_0x587fb0(0x1cd)]||'','logic':_0x263cbb[_0x587fb0(0x1ba)]||''})),_0x4840ad=0x1;let _0x182d34=_0x308069[_0x587fb0(0x1b2)]||[];Object[_0x587fb0(0x1b3)](_0x182d34)['forEach'](_0x43c53d=>{const _0x50dc7b=_0x587fb0;let _0xd47b49=_0x182d34[_0x43c53d]||[],_0x183fa4=0x1;_0xd47b49[_0x50dc7b(0x1c1)](_0x4f57ea=>{const _0x505f5b=_0x50dc7b;this[_0x505f5b(0x19f)][_0x505f5b(0x1d5)][_0x505f5b(0x1c3)]({'id':_0x4840ad++,'rank':_0x183fa4++,'column':_0x43c53d,'backgroundColor':_0x4f57ea[_0x505f5b(0x1a8)]||'','fontColor':_0x4f57ea[_0x505f5b(0x1cd)]||'','logic':_0x4f57ea['logic']||''});});}),this[_0x587fb0(0x1a0)]?.[_0x587fb0(0x1d3)](),this[_0x587fb0(0x1b5)]?.[_0x587fb0(0x1d3)]();}else this[_0x587fb0(0x1c7)]();}[a0_0x45d3b3(0x1a9)](){const _0x21d79e=a0_0x45d3b3;let _0x484b20=this[_0x21d79e(0x1c0)](_0x21d79e(0x1bc)),_0x2150f5=this[_0x21d79e(0x1c0)](_0x21d79e(0x1a3)),_0x2d3443=[];this[_0x21d79e(0x1b6)](_0x484b20)?.['forEach'](_0x238917=>{const _0x14b14f=_0x21d79e;_0x2d3443[_0x14b14f(0x1c3)]({'backgroundColor':_0x238917[_0x14b14f(0x1a8)],'fontColor':_0x238917[_0x14b14f(0x1cd)],'logic':_0x238917['logic']});});let _0x216f10={};return this[_0x21d79e(0x1b6)](_0x2150f5)?.[_0x21d79e(0x1c1)](_0x844bac=>{const _0x1e8180=_0x21d79e;_0x216f10[_0x844bac['column']]||(_0x216f10[_0x844bac['column']]=[]),_0x216f10[_0x844bac[_0x1e8180(0x1b2)]][_0x1e8180(0x1c3)]({'backgroundColor':_0x844bac[_0x1e8180(0x1a8)],'fontColor':_0x844bac[_0x1e8180(0x1cd)],'logic':_0x844bac[_0x1e8180(0x1ba)]});}),{'gridEmphasized':{'row':_0x2d3443||[],'column':_0x216f10||{}}};}get[a0_0x45d3b3(0x1b5)](){const _0x231390=a0_0x45d3b3;return this[_0x231390(0x1b7)][_0x231390(0x1cf)](_0x231390(0x1aa));}get[a0_0x45d3b3(0x1a0)](){const _0x3d3d97=a0_0x45d3b3;return this[_0x3d3d97(0x1b7)]['querySelector'](_0x3d3d97(0x1a4));}[a0_0x45d3b3(0x1a5)](){const _0x2278c1=a0_0x45d3b3;this[_0x2278c1(0x19c)]={'rows':MetaApi[_0x2278c1(0x1d2)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x2278c1(0x1bf)](!0x1,!0x1),{'type':_0x2278c1(0x1a2),'gutterName':'button','icon':_0x2278c1(0x1c2),'handlers':{'click':(_0x252c24,_0x2537bf,_0x4d7e49,_0x143857,_0x533a84)=>{const _0x2c4e66=_0x2278c1;_0x143857['id']&&this[_0x2c4e66(0x1c5)](this[_0x2c4e66(0x1b5)],_0x143857);}}},{'type':_0x2278c1(0x1bb),'name':'id','hidden':!0x0},{'type':_0x2278c1(0x1d1),'name':'rank','header':TermsUtil[_0x2278c1(0x1c8)](_0x2278c1(0x1ca)),'sortable':!0x0,'width':0x41,'record':{'align':_0x2278c1(0x1ae),'editable':!0x0,'mandatory':!0x0}},{'type':_0x2278c1(0x1bb),'name':_0x2278c1(0x1a8),'header':TermsUtil['tLabel']('background-color'),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2278c1(0x1bb),'name':_0x2278c1(0x1cd),'header':TermsUtil[_0x2278c1(0x1c8)](_0x2278c1(0x1c4)),'record':{'align':_0x2278c1(0x1d4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2278c1(0x1a7),'name':_0x2278c1(0x1ba),'header':TermsUtil[_0x2278c1(0x1c8)](_0x2278c1(0x1ba)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this[_0x2278c1(0x1ad)]={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':'gutter','gutterName':'button','icon':_0x2278c1(0x1c2),'handlers':{'click':(_0x37ecc5,_0x336e7b,_0x19a903,_0x45ada7,_0x24bdc5)=>{const _0x46e969=_0x2278c1;_0x45ada7['id']&&this['deleteRow'](this[_0x46e969(0x1a0)],_0x45ada7);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'string','name':_0x2278c1(0x1b2),'header':TermsUtil['tLabel'](_0x2278c1(0x1b2)),'record':{'align':_0x2278c1(0x1d4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'integer','name':_0x2278c1(0x1ca),'header':TermsUtil['tLabel'](_0x2278c1(0x1ca)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x2278c1(0x1bb),'name':_0x2278c1(0x1a8),'header':TermsUtil[_0x2278c1(0x1c8)](_0x2278c1(0x1ce)),'record':{'align':_0x2278c1(0x1d4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2278c1(0x1bb),'name':_0x2278c1(0x1cd),'header':TermsUtil[_0x2278c1(0x1c8)](_0x2278c1(0x1c4)),'record':{'align':_0x2278c1(0x1d4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x2278c1(0x1a7),'name':'logic','header':TermsUtil[_0x2278c1(0x1c8)]('logic'),'record':{'align':_0x2278c1(0x1d4),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x45d3b3(0x1c7)](){this['viewEmphasizedData']||(this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x45d3b3(0x1ac)](){const _0x290947=a0_0x45d3b3;return this['setGridEmphasizedConfigTabDefaultValues'](),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[_0x290947(0x1c8)]('grid_row_emphasized_config')}
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[_0x290947(0x19c)]} .mode=${_0x290947(0x1b0)} auto-fetch
8
+ .fetchHandler=${this[_0x290947(0x1bd)]['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['tLabel'](_0x290947(0x1c9))}
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[_0x290947(0x1cb)]['bind'](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_0x45d3b3(0x1bd)](){const _0x22f837=a0_0x45d3b3;return{'records':this[_0x22f837(0x19f)][_0x22f837(0x1cc)],'total':0x0};}async[a0_0x45d3b3(0x1cb)](){const _0x57befa=a0_0x45d3b3;return{'records':this[_0x57befa(0x19f)][_0x57befa(0x1d5)],'total':0x0};}};function a0_0x288d(){const _0x38245e=['getGristSelectableConfig','fetch','left','columnEmphasizedData','rowEmphasizedConfig','10hMgjfJ','4873698LhTrWc','viewEmphasizedData','emphasizedConfigTabColumnEmphasizedGrist','1523728wQPhzp','gutter','column-emphasized-grist','#column-emphasized-grist','setGridEmphasizedConfigTabConfig','6FoHtNb','code-input','backgroundColor','getGridEmphasizedConfigTabValues','#row-emphasized-grist','2558310tieELs','renderGridEmphasizedConfigTab','columnEmphasizedConfig','right','209504kTXyGv','GRID','setGridEmphasizedConfigTabValues','column','keys','476737qgZDXn','emphasizedConfigTabRowEmphasizedGrist','sortRecordByRank','shadowRoot','map','91LKpUDi','logic','string','row-emphasized-grist','fetchRowEmphasized','1650486sycxMf','getGristGuttersConfig','getElementValueById','forEach','delete','push','font-color','deleteRow','615243FYlpMC','setGridEmphasizedConfigTabDefaultValues','tLabel','grid_column_emphasized_config','rank','fetchColumnEmphasized','rowEmphasizedData','fontColor','background-color','querySelector','row','integer'];a0_0x288d=function(){return _0x38245e;};return a0_0x288d();}
@@ -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_0x192e39=a0_0x2af2;(function(_0x577912,_0x1ec43b){const _0x4ad166=a0_0x2af2,_0x25752a=_0x577912();while(!![]){try{const _0x427d79=parseInt(_0x4ad166(0xde))/0x1+-parseInt(_0x4ad166(0xe2))/0x2*(-parseInt(_0x4ad166(0xe0))/0x3)+parseInt(_0x4ad166(0xda))/0x4*(parseInt(_0x4ad166(0xdd))/0x5)+parseInt(_0x4ad166(0xec))/0x6+parseInt(_0x4ad166(0xd9))/0x7*(parseInt(_0x4ad166(0xe3))/0x8)+-parseInt(_0x4ad166(0xf1))/0x9+-parseInt(_0x4ad166(0xdf))/0xa;if(_0x427d79===_0x1ec43b)break;else _0x25752a['push'](_0x25752a['shift']());}catch(_0x5c17cd){_0x25752a['push'](_0x25752a['shift']());}}}(a0_0x55f4,0x4622a));function a0_0x55f4(){const _0x130f23=['tTitle','setMenuConfigTabDefaultValue','getElementValueById','2762922yRPhZf','value','target','setMenuConfigTabValues','tLabel','4346568gXdxDY','name','menu_title','menu_name_field','description','getElementById','menuTitleChange','28686EdvKwq','24740sZDkxL','display','viewMenuData','75CUGvsW','173260BWFnzw','1060420UTjRev','3ITIfwI','title','53612tsAfQQ','240ZnIfZQ','help_doc','menu','desc','menu_desc_field','renderMenuConfigTab'];a0_0x55f4=function(){return _0x130f23;};return a0_0x55f4();}import{html}from'lit-element';function a0_0x2af2(_0x2f9384,_0x244459){const _0x55f473=a0_0x55f4();return a0_0x2af2=function(_0x2af250,_0x3ca0d9){_0x2af250=_0x2af250-0xd6;let _0x597dd6=_0x55f473[_0x2af250];return _0x597dd6;},a0_0x2af2(_0x2f9384,_0x244459);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x31e87b=>class extends _0x31e87b{[a0_0x192e39(0xef)](_0x4c4906){const _0x3df106=a0_0x192e39;if(_0x4c4906){var {title:_0x5705a='',name:_0x291113='',desc:_0x1489b2='',help:_0x7f0bc5=''}=_0x4c4906||{};this[_0x3df106(0xdc)]={'title':_0x5705a,'name':_0x291113,'desc':_0x1489b2,'help_doc':_0x7f0bc5},this[_0x3df106(0xd7)](_0x3df106(0xe1))[_0x3df106(0xed)]=_0x5705a,this[_0x3df106(0xd7)]('name')[_0x3df106(0xed)]=_0x291113,this[_0x3df106(0xd7)]('desc')[_0x3df106(0xed)]=_0x1489b2,this['getElementById'](_0x3df106(0xe4))[_0x3df106(0xed)]=_0x7f0bc5;}else this[_0x3df106(0xea)]();}['getMenuConfigTabValues'](){const _0x329afa=a0_0x192e39;let _0x454efa={'menu':{}},_0x2c2e82=this[_0x329afa(0xeb)](_0x329afa(0xe1)),_0xc66bfd=this[_0x329afa(0xeb)]('name'),_0x4e37f3=this['getElementValueById'](_0x329afa(0xe6)),_0x5a0138=this[_0x329afa(0xeb)](_0x329afa(0xe4));return _0x2c2e82&&(_0x454efa[_0x329afa(0xe5)][_0x329afa(0xe1)]=_0x2c2e82),_0xc66bfd&&(_0x454efa[_0x329afa(0xe5)]['name']=_0xc66bfd),_0x4e37f3&&(_0x454efa[_0x329afa(0xe5)][_0x329afa(0xe6)]=_0x4e37f3),_0x5a0138&&(_0x454efa[_0x329afa(0xe5)]['help']=_0x5a0138),_0x454efa;}[a0_0x192e39(0xea)](){const _0x2f6d3f=a0_0x192e39;this[_0x2f6d3f(0xdc)]||(this[_0x2f6d3f(0xdc)]={'title':'','name':_0x2f6d3f(0xf2),'desc':_0x2f6d3f(0xd6),'help_doc':''});}[a0_0x192e39(0xd8)](_0x24e81a){const _0x47a3e8=a0_0x192e39;let _0x40b3cb=this[_0x47a3e8(0xd7)](_0x47a3e8(0xdb));_0x40b3cb&&(_0x40b3cb['value']=TermsUtil[_0x47a3e8(0xe9)](_0x24e81a[_0x47a3e8(0xee)]['value']));}[a0_0x192e39(0xe8)](){const _0x436bf9=a0_0x192e39;return this[_0x436bf9(0xea)](),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['tLabel'](_0x436bf9(0xf3))}
5
+ <input id="title" name="title" type="text" value=${this[_0x436bf9(0xdc)][_0x436bf9(0xe1)]} @change=${_0x4e1919=>this[_0x436bf9(0xd8)](_0x4e1919)}/>
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['tLabel']('display')}
10
+ <input id="display" name="display" value=${TermsUtil[_0x436bf9(0xe9)](this['viewMenuData'][_0x436bf9(0xe1)])} 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[_0x436bf9(0xf0)](_0x436bf9(0xf4))}
16
+ <input id="name" name="name" type="text" value=${this[_0x436bf9(0xdc)]['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[_0x436bf9(0xf0)](_0x436bf9(0xe7))}
21
+ <input id="desc" name="desc" type="text" value=${this[_0x436bf9(0xdc)]['desc']} />
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'](_0x436bf9(0xe4))}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0x436bf9(0xdc)][_0x436bf9(0xe4)]} />
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_0x842787=a0_0x4351;(function(_0x57d9f5,_0x4329ab){const _0x37a1f7=a0_0x4351,_0x81eb36=_0x57d9f5();while(!![]){try{const _0x2aee20=parseInt(_0x37a1f7(0x181))/0x1*(-parseInt(_0x37a1f7(0x1ad))/0x2)+parseInt(_0x37a1f7(0x197))/0x3*(parseInt(_0x37a1f7(0x17d))/0x4)+-parseInt(_0x37a1f7(0x1ae))/0x5*(parseInt(_0x37a1f7(0x156))/0x6)+parseInt(_0x37a1f7(0x1b9))/0x7+-parseInt(_0x37a1f7(0x17e))/0x8*(parseInt(_0x37a1f7(0x155))/0x9)+-parseInt(_0x37a1f7(0x14b))/0xa+parseInt(_0x37a1f7(0x199))/0xb;if(_0x2aee20===_0x4329ab)break;else _0x81eb36['push'](_0x81eb36['shift']());}catch(_0xa4ae64){_0x81eb36['push'](_0x81eb36['shift']());}}}(a0_0x10c0,0x6fcc8));import a0_0x50d4ab from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';function a0_0x10c0(){const _0x5c89dc=['deleteRow','grid','style','sort_rank','126477lckEdT','162lRJgLT','properties','etc_config','menuId','data','save','selectedIndex','map','hidden','enc','meta_generator','search','rep_field','options','dirtyData','querySelector','sort_desc','radio','fields','push','form','filter','sortRecordByRank','type','toLowerCase','backToMenu','sortRecordByField','template','keys','desc','button','meta-generator-page','menuName','name','records','sort','column_config','currentTabKey','pageUpdated','4348vSnudN','192jlPSfY','charAt','operatoTools','5CsCfAc','rank','bind','option','value','updateMultiple','context','toUpperCase','thumbnail','getElementValueById','list','button_config','grid-','tab_config','back','length','grid_emphasized_config','ConfigTab','lifecycle','ox-input-code','refresh','tLabel','573JZHGmA','getState','27053499AAeZbi','forEach','convertFirstCharUpperCase','render','parse','define','gridEmphasized','sorters','slice','initData','etc','column','graphql','\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','ConfigTabValues','remove','tMenu','clear','tButton','filters','340508kcQNZC','151780sZQDaq','metaTemplate','select','grid_config','error.invalid\x20license\x20key','dataStorage','error','findOne','notify','graphql_config','getElementById','3703602oCNwlY','includes','params','details','styles','ConfigTabConfig','tabData','getConfigTab','updateMultipleMenu','setTabData','tagName','tab','set','dispatchEvent','7300300Hetidc','form_config','shadowRoot','query','menu','active'];a0_0x10c0=function(){return _0x5c89dc;};return a0_0x10c0();}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';function a0_0x4351(_0x2cb434,_0x250566){const _0x10c086=a0_0x10c0();return a0_0x4351=function(_0x43513e,_0x538c00){_0x43513e=_0x43513e-0x14b;let _0x185c02=_0x10c086[_0x43513e];return _0x185c02;},a0_0x4351(_0x2cb434,_0x250566);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x842787(0x1bd)](){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_0x842787(0x157)](){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_0x842787(0x187)](){const _0xb11274=a0_0x842787;return{'title':TermsUtil['tTitle'](_0xb11274(0x160)),'actions':[{'title':TermsUtil['tButton'](_0xb11274(0x15b)),'action':this['save'][_0xb11274(0x183)](this),...CommonButtonStyles['save']},{'title':TermsUtil['tButton']('back'),'action':this[_0xb11274(0x16f)][_0xb11274(0x183)](this),...CommonButtonStyles['back']},{'title':TermsUtil[_0xb11274(0x1ab)](_0xb11274(0x195)),'action':this[_0xb11274(0x195)]['bind'](this),...CommonButtonStyles[_0xb11274(0x195)]}]};}[a0_0x842787(0x151)](_0x2728a4,_0x1e55c7){const _0x3aaae9=a0_0x842787;let _0x7c07e4=_0x2728a4[_0x3aaae9(0x164)];_0x7c07e4[_0x3aaae9(0x178)]=_0x7c07e4['records'][_0x3aaae9(0x16b)](_0x584757=>_0x584757['id']!=_0x1e55c7['id']),_0x2728a4[_0x3aaae9(0x15a)]=_0x7c07e4;}async[a0_0x842787(0x15b)](){const _0x32cec6=a0_0x842787;if(0x0==store[_0x32cec6(0x198)]()[_0x32cec6(0x180)]['studioPermission'])return void document[_0x32cec6(0x1c6)](new CustomEvent(_0x32cec6(0x1b6),{'detail':{'level':_0x32cec6(0x1b4),'message':i18next['t'](_0x32cec6(0x1b2))}}));if((await client[_0x32cec6(0x14e)]({'query':a0_0x50d4ab`
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[_0x32cec6(0x159)]}}))['errors'])return;let _0xa0f087={},_0x26b021={};Object['keys'](this['tabData'])[_0x32cec6(0x19a)](_0x5c8221=>{const _0x45ef61=_0x32cec6;let _0x5567b8=this[_0x45ef61(0x19b)](_0x5c8221);_0xa0f087[_0x5c8221]=this['get'+_0x5567b8+'ConfigTabValues'](),_0x26b021=merge(_0x26b021,_0xa0f087[_0x5c8221]);}),_0x26b021=JSON['stringify'](_0x26b021),_0x26b021=MetaCrypto[_0x32cec6(0x15f)](_0x26b021),await MetaApi[_0x32cec6(0x186)](_0x32cec6(0x1c1),[{'id':this['menuId'],'template':_0x26b021,'cuFlag':'M'}])&&await this[_0x32cec6(0x1a2)]();}['clear'](){const _0x45d89b=a0_0x842787;this[_0x45d89b(0x1c2)](),this[_0x45d89b(0x1b3)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x45d89b(0x172)](this[_0x45d89b(0x1bf)])[_0x45d89b(0x19a)](_0x1d2d8e=>{const _0x32fc6c=_0x45d89b;let _0x2e8713=this[_0x32fc6c(0x19b)](_0x1d2d8e);if(this[_0x32fc6c(0x1c5)+_0x2e8713+'ConfigTabValues'])return this[_0x32fc6c(0x1c5)+_0x2e8713+_0x32fc6c(0x1a7)](this[_0x32fc6c(0x1b3)][_0x1d2d8e]);});}async[a0_0x842787(0x195)](){const _0x54ddac=a0_0x842787;this[_0x54ddac(0x1aa)](),await this['initData']();}[a0_0x842787(0x16f)](){const _0x4feec5=a0_0x842787;history[_0x4feec5(0x18f)]();}async[a0_0x842787(0x1a2)](){const _0x47478c=a0_0x842787;var {menuId:_0x27414d=''}=this[_0x47478c(0x193)]?.['params']?this[_0x47478c(0x193)][_0x47478c(0x1bb)]:{};if(this[_0x47478c(0x159)]=_0x27414d,!_0x27414d||''==_0x27414d)return void this[_0x47478c(0x1aa)]();let _0xc6a47b=await MetaApi[_0x47478c(0x1b5)]('menu',_0x27414d,_0x47478c(0x1a6));if(_0xc6a47b){try{JSON[_0x47478c(0x19d)](MetaCrypto['dec'](_0xc6a47b[_0x47478c(0x171)]));}catch(_0x16ec67){return;}this['menuName']=TermsUtil[_0x47478c(0x1a9)](_0xc6a47b[_0x47478c(0x177)]),this[_0x47478c(0x1af)]=_0xc6a47b[_0x47478c(0x171)]?JSON[_0x47478c(0x19d)](MetaCrypto['dec'](_0xc6a47b[_0x47478c(0x171)])):{};var {menu:_0x3420b3={},gql:_0x5c2c7d={},button:_0x3f0878=[],grid_column:_0x41da6a=[],grid:_0x26c5b8={},search:_0x4dd5c8=[],form:_0x4fe2dc=[],tab:_0x51f329=[],etc:_0x5ac055={},gridEmphasized:_0x2a850a=[]}=this[_0x47478c(0x1af)]?this[_0x47478c(0x1af)]:{};this[_0x47478c(0x1c2)](),this[_0x47478c(0x1b3)]={},this[_0x47478c(0x1b3)][_0x47478c(0x14f)]=_0x3420b3,this[_0x47478c(0x1b3)][_0x47478c(0x1a5)]=_0x5c2c7d,this[_0x47478c(0x1b3)][_0x47478c(0x152)]=_0x26c5b8,this['dataStorage'][_0x47478c(0x16a)]=_0x4fe2dc,this['dataStorage'][_0x47478c(0x1c4)]=_0x51f329,this[_0x47478c(0x1b3)][_0x47478c(0x1a3)]=_0x5ac055,this['dataStorage'][_0x47478c(0x19f)]=_0x2a850a,(_0x26c5b8[_0x47478c(0x184)]?.[_0x47478c(0x1a0)]||[])[_0x47478c(0x19a)]((_0xe25eca,_0x1c9612)=>{const _0x4f6ffc=_0x47478c;_0xe25eca[_0x4f6ffc(0x182)]=0xa*(_0x1c9612+0x1);}),this['dataStorage'][_0x47478c(0x1a4)]=_0x41da6a['map'](_0xa7c501=>{const _0x2653f0=_0x47478c;let _0xc8400e=(_0x26c5b8['option']?.[_0x2653f0(0x1a0)]||[])[_0x2653f0(0x16b)](_0x4d743f=>_0x4d743f['name']==_0xa7c501[_0x2653f0(0x177)]);return _0xc8400e&&_0xc8400e['length']>0x0?(_0xa7c501[_0x2653f0(0x154)]=_0xc8400e[0x0][_0x2653f0(0x182)],_0xa7c501[_0x2653f0(0x166)]=!!_0xc8400e[0x0][_0x2653f0(0x173)]&&_0xc8400e[0x0][_0x2653f0(0x173)]):_0xa7c501[_0x2653f0(0x154)]=0x0,_0xa7c501[_0x2653f0(0x162)]=(_0x26c5b8[_0x2653f0(0x18b)]?.[_0x2653f0(0x168)]||[])['includes'](_0xa7c501[_0x2653f0(0x177)]),_0xa7c501['detail_field']=(_0x26c5b8[_0x2653f0(0x18b)]?.[_0x2653f0(0x1bc)]||[])[_0x2653f0(0x1ba)](_0xa7c501[_0x2653f0(0x177)]),_0xa7c501['thumbnail_field']=_0x26c5b8['list']?.[_0x2653f0(0x189)]==_0xa7c501['name'],_0xa7c501;}),_0x4dd5c8[_0x47478c(0x169)](...(_0x5c2c7d[_0x47478c(0x14e)]?.[_0x47478c(0x1ac)]||[])[_0x47478c(0x15d)](_0x212fc6=>(_0x212fc6[_0x47478c(0x15e)]=!0x0,_0x212fc6))),this[_0x47478c(0x1b3)][_0x47478c(0x161)]=_0x4dd5c8,_0x3f0878['push'](...(_0x26c5b8[_0x47478c(0x174)]||[])[_0x47478c(0x15d)](_0x1b52ea=>(_0x1b52ea[_0x47478c(0x16d)]=_0x47478c(0x18d)+_0x1b52ea[_0x47478c(0x16d)],_0x1b52ea[_0x47478c(0x153)]=_0x1b52ea['icon'],_0x1b52ea))),this[_0x47478c(0x1b3)][_0x47478c(0x174)]=_0x3f0878,Object[_0x47478c(0x172)](this[_0x47478c(0x1bf)])[_0x47478c(0x19a)](_0x2dc6ce=>{const _0xadb679=_0x47478c;let _0x3c8cc2=this[_0xadb679(0x19b)](_0x2dc6ce);if(this[_0xadb679(0x1c5)+_0x3c8cc2+'ConfigTabValues'])return this['set'+_0x3c8cc2+_0xadb679(0x1a7)](this[_0xadb679(0x1b3)][_0x2dc6ce]);});}}async['pageInitialized'](){const _0x20386e=a0_0x842787;this[_0x20386e(0x1c2)]();let _0x3dde2c=Object[_0x20386e(0x172)](this[_0x20386e(0x1bf)]);for(var _0x258421=0x0;_0x258421<_0x3dde2c[_0x20386e(0x190)];_0x258421++){let _0x1b3f34=this[_0x20386e(0x19b)](_0x3dde2c[_0x258421]);this[_0x20386e(0x1c5)+_0x1b3f34+_0x20386e(0x1be)]&&await this[_0x20386e(0x1c5)+_0x1b3f34+_0x20386e(0x1be)]();}}async[a0_0x842787(0x17c)](_0x2454b9,_0x5a2e1,_0x2bde92){const _0xd8d4f2=a0_0x842787;!0x0===this[_0xd8d4f2(0x150)]?(this[_0xd8d4f2(0x1c2)](),await this[_0xd8d4f2(0x1a2)](),this['setTabData']()):(this[_0xd8d4f2(0x1aa)](),this[_0xd8d4f2(0x1a8)]());}[a0_0x842787(0x1c2)](){const _0x13e5d4=a0_0x842787;this[_0x13e5d4(0x1bf)]||(this[_0x13e5d4(0x1bf)]={'menu':TermsUtil[_0x13e5d4(0x196)]('menu_config'),'graphql':TermsUtil[_0x13e5d4(0x196)](_0x13e5d4(0x1b7)),'grid':TermsUtil[_0x13e5d4(0x196)](_0x13e5d4(0x1b1)),'column':TermsUtil['tLabel'](_0x13e5d4(0x17a)),'gridEmphasized':TermsUtil['tLabel'](_0x13e5d4(0x191)),'button':TermsUtil['tLabel'](_0x13e5d4(0x18c)),'search':TermsUtil[_0x13e5d4(0x196)]('search_config'),'form':TermsUtil[_0x13e5d4(0x196)](_0x13e5d4(0x14c)),'tab':TermsUtil[_0x13e5d4(0x196)](_0x13e5d4(0x18e)),'etc':TermsUtil['tLabel'](_0x13e5d4(0x158))});}[a0_0x842787(0x19c)](){const _0x186516=a0_0x842787;this[_0x186516(0x17b)]||(this[_0x186516(0x17b)]='menu'),this[_0x186516(0x1c2)]();let _0x152ec6=Object[_0x186516(0x172)](this['tabData']);return this['tabData'][this[_0x186516(0x17b)]]?this[_0x186516(0x17b)]:_0x152ec6[0x0],html`
149
+ <h1>${this[_0x186516(0x176)]}</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
+ ${_0x152ec6['map'](_0x5d28b0=>{const _0x49fa9c=_0x186516;let _0x1c3541=this[_0x49fa9c(0x1bf)][_0x5d28b0];return html`
152
+ <div class="tab" ?activate="${_0x5d28b0===this[_0x49fa9c(0x17b)]}" @click="${()=>this[_0x49fa9c(0x17b)]=_0x5d28b0}">
153
+ <span>${_0x1c3541}</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
+ ${_0x152ec6['map'](_0x3ed337=>{const _0x1b4dd6=_0x186516;let _0x3d7a85='display:none';return _0x3ed337==this[_0x1b4dd6(0x17b)]&&(_0x3d7a85='display:flex'),html`
159
+ <div class='tab-contents' style="${_0x3d7a85}">
160
+ ${this[_0x1b4dd6(0x1c0)](_0x3ed337)}
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_0x842787(0x1c0)](_0x5f13c9){const _0x19e9c2=a0_0x842787;let _0x249aa9=this['convertFirstCharUpperCase'](_0x5f13c9);return this[_0x19e9c2(0x19c)+_0x249aa9+_0x19e9c2(0x192)]?this['render'+_0x249aa9+_0x19e9c2(0x192)]():html``;}[a0_0x842787(0x19b)](_0x56685){const _0x44be57=a0_0x842787;return _0x56685[_0x44be57(0x17f)](0x0)[_0x44be57(0x188)]()+_0x56685[_0x44be57(0x1a1)](0x1);}[a0_0x842787(0x1b8)](_0x58182b){return this['shadowRoot']['querySelector']('#'+_0x58182b);}[a0_0x842787(0x18a)](_0x1721cc){const _0xee9af1=a0_0x842787;let _0x3619d9=this[_0xee9af1(0x14d)][_0xee9af1(0x165)]('#'+_0x1721cc);if(!_0x3619d9)return;let _0xa762e9='';if(_0xee9af1(0x1b0)==_0x3619d9[_0xee9af1(0x1c3)][_0xee9af1(0x16e)]()){if(!_0x3619d9[_0xee9af1(0x163)]||0x0==_0x3619d9['options']['length'])return;_0xa762e9=_0x3619d9[_0xee9af1(0x163)][_0x3619d9[_0xee9af1(0x15c)]]['value'];}else{if('ox-grist'==_0x3619d9[_0xee9af1(0x1c3)][_0xee9af1(0x16e)]()){if(!_0x3619d9[_0xee9af1(0x164)])return;if(!_0x3619d9[_0xee9af1(0x164)][_0xee9af1(0x178)])return;if(0x0==_0x3619d9[_0xee9af1(0x164)][_0xee9af1(0x178)][_0xee9af1(0x190)])return;return _0x3619d9[_0xee9af1(0x164)][_0xee9af1(0x178)];}if(_0xee9af1(0x194)==_0x3619d9[_0xee9af1(0x1c3)][_0xee9af1(0x16e)]())return _0x3619d9[_0xee9af1(0x185)];if(_0xee9af1(0x167)==_0x3619d9[_0xee9af1(0x16d)]['toLowerCase']()){let _0x4d26d9=this[_0xee9af1(0x14d)][_0xee9af1(0x165)]('#'+_0x1721cc+':checked');if(!_0x4d26d9)return;return _0x4d26d9[_0xee9af1(0x185)];}_0xa762e9=_0x3619d9[_0xee9af1(0x185)];}return _0xa762e9&&''!=_0xa762e9?_0xa762e9:void 0x0;}[a0_0x842787(0x16c)](_0x383e87){const _0x51f117=a0_0x842787;return _0x383e87?this['sortRecordByField'](_0x383e87,_0x51f117(0x182)):_0x383e87;}[a0_0x842787(0x170)](_0x24a2d3,_0x4bdc9f){const _0x203916=a0_0x842787;return _0x24a2d3[_0x203916(0x179)]((_0x38089e,_0x32f3ac)=>_0x38089e[_0x4bdc9f]-_0x32f3ac[_0x4bdc9f]),_0x24a2d3;}}customElements[a0_0x842787(0x19e)](a0_0x842787(0x175),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`
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}}]};}};
1
+ const a0_0x4a3459=a0_0x22aa;function a0_0x22aa(_0x2ab183,_0x54211b){const _0x28c23f=a0_0x28c2();return a0_0x22aa=function(_0x22aa9a,_0x4d9d30){_0x22aa9a=_0x22aa9a-0x9d;let _0xde88aa=_0x28c23f[_0x22aa9a];return _0xde88aa;},a0_0x22aa(_0x2ab183,_0x54211b);}(function(_0x3f0ecf,_0x3a4ef2){const _0x213cc9=a0_0x22aa,_0x117ced=_0x3f0ecf();while(!![]){try{const _0x3e7b5d=-parseInt(_0x213cc9(0xc4))/0x1+-parseInt(_0x213cc9(0xab))/0x2+parseInt(_0x213cc9(0xc9))/0x3+parseInt(_0x213cc9(0xca))/0x4+parseInt(_0x213cc9(0xc3))/0x5*(-parseInt(_0x213cc9(0xa7))/0x6)+-parseInt(_0x213cc9(0xa2))/0x7*(-parseInt(_0x213cc9(0xb2))/0x8)+parseInt(_0x213cc9(0xc5))/0x9;if(_0x3e7b5d===_0x3a4ef2)break;else _0x117ced['push'](_0x117ced['shift']());}catch(_0x326d75){_0x117ced['push'](_0x117ced['shift']());}}}(a0_0x28c2,0xaa4e4));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_0x28c2(){const _0xd84179=['deleteRow','operator','filter','map','right','32TCyLmI','center','shadowRoot','filters','viewSearchData','setSearchConfigTabValues','getGristSelectableConfig','FILTER_OPERATORS','search','#search-tab-grid','value','sortRecordByRank','query','left','default_value','integer','assign','2019215FnPIps','357187MrbkEX','4418073TiAdet','searchTabGridConfig','forEach','push','1939821IexqUG','561740ZacZrp','select','search-tab-grid','querySelector','button','object','hidden','getGristGuttersConfig','fetchSearchTabHandler','555184kWPmQj','rank','tLabel','string','setSearchConfigTabConfig','6gVevuD','name','search_operator','getSearchConfigTabValues','273170UexwKO','searchTabGrist'];a0_0x28c2=function(){return _0xd84179;};return a0_0x28c2();}export const SearchConfigTabMixin=_0x4b0f25=>class extends _0x4b0f25{[a0_0x4a3459(0xb7)](_0x4c7ee7){const _0x23a9c5=a0_0x4a3459;let _0x4b7665=_0x4c7ee7?.[_0x23a9c5(0xb0)]((_0x191374,_0x16d5dc)=>{const _0x9237ac=_0x23a9c5;let _0x81eb3a=_0x16d5dc+0x1,_0x1b4c90={};return _0x9237ac(0x9e)==typeof _0x191374?Object[_0x9237ac(0xc2)](_0x1b4c90,_0x191374):(_0x1b4c90[_0x9237ac(0xa8)]=_0x191374,_0x1b4c90[_0x9237ac(0xae)]=_0x9237ac(0xaf)),_0x1b4c90[_0x9237ac(0xa3)]=0xa*_0x81eb3a,_0x1b4c90['id']=_0x81eb3a,_0x1b4c90;});this['viewSearchData']=_0x4b7665||[],this['searchTabGrist']?.['fetch']();}[a0_0x4a3459(0xaa)](){const _0x427bb1=a0_0x4a3459;let _0x49baf5={'search':[],'gql':{'query':{'filters':[]}}},_0x5862b4=this['getElementValueById'](_0x427bb1(0xcc));return this[_0x427bb1(0xbd)](_0x5862b4)?.[_0x427bb1(0xc7)](_0x4aff25=>{const _0x60390c=_0x427bb1;var {name:_0xb41781,operator:_0x3e9614='eq',hidden:_0x3c39a6=!0x1,value:_0x38ca07}=_0x4aff25;if(_0xb41781){if('filter'==_0x3e9614)_0x49baf5[_0x60390c(0xba)][_0x60390c(0xc8)](_0xb41781);else{let _0x200317={'name':_0xb41781,'operator':_0x3e9614};0x1==_0x3c39a6?(_0x200317['value']=_0x38ca07,_0x49baf5['gql'][_0x60390c(0xbe)][_0x60390c(0xb5)][_0x60390c(0xc8)](_0x200317)):(_0x200317[_0x60390c(0xbc)]=_0x38ca07,_0x49baf5['search']['push'](_0x200317));}}}),_0x49baf5;}['renderSearchConfigTab'](){const _0x1a5528=a0_0x4a3459;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x1a5528(0xc6)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x1a5528(0xa1)]['bind'](this)}>
4
+ </ox-grist>`;}get['searchTabGrist'](){const _0xf8644d=a0_0x4a3459;return this[_0xf8644d(0xb4)][_0xf8644d(0xcd)](_0xf8644d(0xbb));}async[a0_0x4a3459(0xa1)](){const _0x3bc00d=a0_0x4a3459;return{'total':0x0,'records':this[_0x3bc00d(0xb6)]||[]};}async[a0_0x4a3459(0xa6)](){const _0x13a447=a0_0x4a3459;let _0x278c13=await MetaApi['getCodeSelectorData'](_0x13a447(0xb9));this['searchTabGridConfig']={'rows':MetaApi[_0x13a447(0xb8)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x13a447(0xa3),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x13a447(0xa0)](!0x1,!0x1),{'type':'gutter','gutterName':_0x13a447(0x9d),'icon':'delete','handlers':{'click':(_0x3c5538,_0x316181,_0x5a2d27,_0x5e9bab,_0x190e15)=>{const _0x175722=_0x13a447;_0x5e9bab['id']&&this[_0x175722(0xad)](this[_0x175722(0xac)],_0x5e9bab);}}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x13a447(0xc1),'name':_0x13a447(0xa3),'header':TermsUtil[_0x13a447(0xa4)](_0x13a447(0xa3)),'sortable':!0x0,'width':0x41,'record':{'align':_0x13a447(0xb1),'editable':!0x0,'mandatory':!0x0}},{'type':_0x13a447(0xa5),'name':_0x13a447(0xa8),'header':TermsUtil[_0x13a447(0xa4)](_0x13a447(0xa8)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x13a447(0xbf),'editable':!0x0,'mandatory':!0x0}},{'type':_0x13a447(0xcb),'name':_0x13a447(0xae),'header':TermsUtil[_0x13a447(0xa4)](_0x13a447(0xa9)),'sortable':!0x1,'width':0x64,'record':{'align':_0x13a447(0xbf),'editable':!0x0,'mandatory':!0x1,'options':_0x278c13}},{'type':'boolean','name':_0x13a447(0x9f),'header':TermsUtil['tLabel'](_0x13a447(0x9f)),'sortable':!0x1,'width':0x41,'record':{'align':_0x13a447(0xb3),'mandatory':!0x1,'editable':!0x0}},{'type':_0x13a447(0xa5),'name':_0x13a447(0xbc),'header':TermsUtil[_0x13a447(0xa4)](_0x13a447(0xc0)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x13a447(0xbf),'editable':!0x0,'mandatory':!0x1}}]};}};