@things-factory/operato-tools 6.1.21 → 6.1.22

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_0xbf555=a0_0x1af5;(function(_0x494824,_0x33e5ad){const _0x1bf7dd=a0_0x1af5,_0x12f2cd=_0x494824();while(!![]){try{const _0x7b89dd=-parseInt(_0x1bf7dd(0x131))/0x1+-parseInt(_0x1bf7dd(0x121))/0x2+-parseInt(_0x1bf7dd(0x122))/0x3+parseInt(_0x1bf7dd(0x12f))/0x4*(parseInt(_0x1bf7dd(0x128))/0x5)+parseInt(_0x1bf7dd(0x110))/0x6+-parseInt(_0x1bf7dd(0x118))/0x7+parseInt(_0x1bf7dd(0x120))/0x8*(parseInt(_0x1bf7dd(0x119))/0x9);if(_0x7b89dd===_0x33e5ad)break;else _0x12f2cd['push'](_0x12f2cd['shift']());}catch(_0x2fac36){_0x12f2cd['push'](_0x12f2cd['shift']());}}}(a0_0x179f,0x52e77));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x179f(){const _0x19e266=['codeItems','grid_support_multi_select','grid_term_100','getGridConfigTabValues','renderGridConfigTab','grid_use_row_check','grid_term_default','length','option','support','GRID','grid_use_filter','grid_term_1000','grid_pagination','description','grid_term_unlimited','1138548WpjoqH','push','grid_desk_view','mobile_mode','true','includes','unlimited','tLabel','2513203VBHJKI','27LMGdLK','card_view_use','GRID_VIEW_MODE','setGridConfigTabConfig','view_mode','viewGridData','grid','664184lnrIRh','351200yUqKEz','153417nQdUpl','grid_mobile_view','grid_term_50','unuse','toLowerCase','setGridConfigTabValues','3346395Pbpsev','use','name','pages','gridViewModes','use_filter_form','select-row-toggle','4stqiXJ','CARD','182763yxVwVV','use_row_checker','multiple_select','desk_mode','map','_view_use','grid_support_view','LIST','getElementValueById','gridPageOptions','setGridConfigTabDetaultValues','row'];a0_0x179f=function(){return _0x19e266;};return a0_0x179f();}function a0_0x1af5(_0x5945f8,_0x44febd){const _0x179f1d=a0_0x179f();return a0_0x1af5=function(_0x1af5c5,_0xb40de2){_0x1af5c5=_0x1af5c5-0x105;let _0x3a3829=_0x179f1d[_0x1af5c5];return _0x3a3829;},a0_0x1af5(_0x5945f8,_0x44febd);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0x20d1cf=>class extends _0x20d1cf{[a0_0xbf555(0x127)](_0x1667c3){const _0x464f10=a0_0xbf555;if(_0x1667c3){var {mobile_mode:_0x54c7e9='',desk_mode:_0xe7567a='',pages:_0x35d713=[],use_row_checker:_0x5c6763=!0x0,view_mode:_0x56444c=[]}=_0x1667c3[_0x464f10(0x108)]||{};let _0xc6a338=(_0x1667c3[_0x464f10(0x13c)]||{'multiple_select':!0x1})[_0x464f10(0x133)],_0x426b38='unlimited'==_0x35d713?_0x464f10(0x10f):0x0==_0x35d713[_0x464f10(0x107)]?'':0x14==_0x35d713[0x0]?_0x464f10(0x106):'grid_term_'+_0x35d713[0x0];this[_0x464f10(0x11e)]={'mobile_mode':_0x54c7e9,'desk_mode':_0xe7567a,'use_row_checker':_0x5c6763,'pages':_0x426b38,'view_mode':_0x56444c,'multiple_select':_0xc6a338,'use_filter_form':_0x1667c3[_0x464f10(0x12d)]};}else this['setGridConfigTabDetaultValues']();}[a0_0xbf555(0x140)](){const _0x1a814f=a0_0xbf555;let _0x1fe15e={'grid':{'option':{},'row':{'click':_0x1a814f(0x12e)}}},_0x342811=this[_0x1a814f(0x139)]('grid_row_check_use'),_0x43cbc6=this[_0x1a814f(0x139)]('grid_multi_select'),_0xee98f2=this[_0x1a814f(0x139)](_0x1a814f(0x112)),_0x5b831b=this[_0x1a814f(0x139)](_0x1a814f(0x123)),_0x700272=this[_0x1a814f(0x139)](_0x1a814f(0x10b)),_0x3caf29=this[_0x1a814f(0x139)](_0x1a814f(0x10d)),_0x18aaf0=this[_0x1a814f(0x139)]('grid_view_use'),_0x590314=this['getElementValueById']('list_view_use'),_0x2b33a6=this[_0x1a814f(0x139)](_0x1a814f(0x11a));return _0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x12d)]=_0x1a814f(0x114)==_0x700272,_0x1fe15e['grid']['row'][_0x1a814f(0x133)]=_0x1a814f(0x114)==_0x43cbc6,_0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x108)]['use_row_checker']='true'==_0x342811,_0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x108)][_0x1a814f(0x113)]=_0x5b831b,_0x1fe15e[_0x1a814f(0x11f)]['option']['desk_mode']=_0xee98f2,_0x1a814f(0x106)==_0x3caf29?_0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x108)][_0x1a814f(0x12b)]=[0x14,0x1e,0x32,0x64]:_0x1a814f(0x124)==_0x3caf29?_0x1fe15e['grid'][_0x1a814f(0x108)][_0x1a814f(0x12b)]=[0x32,0x64,0x1f4,0x3e8]:_0x1a814f(0x13f)==_0x3caf29?_0x1fe15e['grid']['option']['pages']=[0x64,0x1f4,0x3e8,0x1388]:_0x1a814f(0x10c)==_0x3caf29?_0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x108)][_0x1a814f(0x12b)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x1a814f(0x10f)==_0x3caf29&&(_0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x108)][_0x1a814f(0x12b)]=_0x1a814f(0x116)),_0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x108)]['view_mode']=[],'true'==_0x18aaf0&&_0x1fe15e[_0x1a814f(0x11f)][_0x1a814f(0x108)][_0x1a814f(0x11d)][_0x1a814f(0x111)]('GRID'),_0x1a814f(0x114)==_0x590314&&_0x1fe15e['grid']['option'][_0x1a814f(0x11d)][_0x1a814f(0x111)](_0x1a814f(0x138)),_0x1a814f(0x114)==_0x2b33a6&&_0x1fe15e[_0x1a814f(0x11f)]['option'][_0x1a814f(0x11d)][_0x1a814f(0x111)](_0x1a814f(0x130)),_0x1fe15e;}async[a0_0xbf555(0x11c)](){const _0x3da5c5=a0_0xbf555;let _0x220d9f=await MetaApi[_0x3da5c5(0x13d)]('GRID_PAGE_OPTIONS'),_0x1b6f90=await MetaApi[_0x3da5c5(0x13d)](_0x3da5c5(0x11b));this[_0x3da5c5(0x12c)]=_0x1b6f90,this[_0x3da5c5(0x13a)]=_0x220d9f;}[a0_0xbf555(0x13b)](){const _0x385d55=a0_0xbf555;this['viewGridData']||(this['viewGridData']={'mobile_mode':this['gridViewModes']?this[_0x385d55(0x12c)][0x1]:_0x385d55(0x138),'desk_mode':this['gridViewModes']?this['gridViewModes'][0x0]:'GRID','use_row_checker':!0x0,'pages':_0x385d55(0x106),'view_mode':[...this['gridViewModes']?this[_0x385d55(0x12c)]:[_0x385d55(0x10a),_0x385d55(0x138),'CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0xbf555(0x141)](){const _0x455de1=a0_0xbf555;return this['setGridConfigTabDetaultValues'](),html`
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`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x455de1(0x105))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x202))}
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[_0x455de1(0x11e)][_0x455de1(0x132)]}>${TermsUtil[_0x455de1(0x117)](_0x455de1(0x129))}</input>
10
+ ?checked=${this[_0x4c4074(0x1d9)]['use_row_checker']}>${TermsUtil[_0x4c4074(0x1db)]('use')}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this['viewGridData'][_0x455de1(0x132)]}>${TermsUtil[_0x455de1(0x117)](_0x455de1(0x125))}</input>
12
+ ?checked=${!this[_0x4c4074(0x1d9)]['use_row_checker']}>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x204))}</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[_0x455de1(0x117)](_0x455de1(0x13e))}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x1eb))}
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[_0x455de1(0x11e)]['multiple_select']}>${TermsUtil['tLabel'](_0x455de1(0x109))}</input>
23
+ ?checked=${this[_0x4c4074(0x1d9)][_0x4c4074(0x1f4)]}>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x211))}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this[_0x455de1(0x11e)][_0x455de1(0x133)]}>${TermsUtil[_0x455de1(0x117)]('unsupport')}</input>
25
+ ?checked=${!this[_0x4c4074(0x1d9)][_0x4c4074(0x1f4)]}>${TermsUtil['tLabel'](_0x4c4074(0x1e6))}</input>
26
26
  </span>
27
27
  </label>
28
28
  </div>
29
29
  <div field>
30
30
  <h2>
31
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x455de1(0x10b))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x1df))}
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[_0x455de1(0x11e)]['use_filter_form']}>${TermsUtil['tLabel'](_0x455de1(0x129))}</input>
36
+ ?checked=${this[_0x4c4074(0x1d9)][_0x4c4074(0x1f6)]}>${TermsUtil[_0x4c4074(0x1db)]('use')}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this[_0x455de1(0x11e)][_0x455de1(0x12d)]}>${TermsUtil[_0x455de1(0x117)](_0x455de1(0x125))}</input>
38
+ ?checked=${!this[_0x4c4074(0x1d9)][_0x4c4074(0x1f6)]}>${TermsUtil['tLabel'](_0x4c4074(0x204))}</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[_0x455de1(0x117)](_0x455de1(0x112))}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x4c4074(0x1d7))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this[_0x455de1(0x12c)]?.['map'](_0x12e4da=>html`<option value=${_0x12e4da[_0x455de1(0x12a)]} ?selected=${this[_0x455de1(0x11e)][_0x455de1(0x134)]==_0x12e4da['name']}>${_0x12e4da[_0x455de1(0x10e)]}</option>`)}
49
+ ${this['gridViewModes']?.['map'](_0x2d4b35=>html`<option value=${_0x2d4b35[_0x4c4074(0x1fe)]} ?selected=${this[_0x4c4074(0x1d9)]['desk_mode']==_0x2d4b35[_0x4c4074(0x1fe)]}>${_0x2d4b35[_0x4c4074(0x20f)]}</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[_0x455de1(0x117)]('grid_mobile_view')}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x20a))}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this[_0x455de1(0x12c)]?.[_0x455de1(0x135)](_0x5005aa=>html`<option value=${_0x5005aa['name']} ?selected=${this[_0x455de1(0x11e)][_0x455de1(0x113)]==_0x5005aa[_0x455de1(0x12a)]}>${_0x5005aa[_0x455de1(0x10e)]}</option>`)}
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>`)}
60
60
  </select>
61
61
  </label>
62
62
  </div>
63
63
  <div field>
64
64
  <h2>
65
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x455de1(0x117)](_0x455de1(0x137))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x1e9))}
66
66
  </h2>
67
67
  <label>
68
- ${this[_0x455de1(0x12c)]?.['map'](_0x394bb5=>html`
69
- <span>${_0x394bb5[_0x455de1(0x12a)]}
70
- <input type="radio" name=${_0x394bb5[_0x455de1(0x12a)][_0x455de1(0x126)]()+_0x455de1(0x136)} id=${_0x394bb5[_0x455de1(0x12a)][_0x455de1(0x126)]()+_0x455de1(0x136)} ?checked=${this[_0x455de1(0x11e)][_0x455de1(0x11d)][_0x455de1(0x115)](_0x394bb5['name'])} value="true">${TermsUtil[_0x455de1(0x117)](_0x455de1(0x129))}</input>
71
- <input type="radio" name=${_0x394bb5[_0x455de1(0x12a)]['toLowerCase']()+_0x455de1(0x136)} id=${_0x394bb5[_0x455de1(0x12a)][_0x455de1(0x126)]()+_0x455de1(0x136)} ?checked=${!this[_0x455de1(0x11e)][_0x455de1(0x11d)][_0x455de1(0x115)](_0x394bb5[_0x455de1(0x12a)])} value="false">${TermsUtil[_0x455de1(0x117)](_0x455de1(0x125))}</input>
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>
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[_0x455de1(0x117)]('grid_pagination')}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c4074(0x1db)](_0x4c4074(0x201))}
79
79
  </h2>
80
80
  <label>
81
- ${this['gridPageOptions']?.[_0x455de1(0x135)](_0x5352e2=>html`
81
+ ${this['gridPageOptions']?.['map'](_0x561ee2=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x5352e2[_0x455de1(0x12a)]} ?checked=${this[_0x455de1(0x11e)][_0x455de1(0x12b)]==_0x5352e2[_0x455de1(0x12a)]}>${TermsUtil['tLabel'](_0x5352e2[_0x455de1(0x12a)])}</input>
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>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
1
- const a0_0x4d0bf7=a0_0x1bca;(function(_0x188039,_0x35a1dd){const _0x558450=a0_0x1bca,_0x61a161=_0x188039();while(!![]){try{const _0xe280a0=-parseInt(_0x558450(0x113))/0x1*(-parseInt(_0x558450(0x104))/0x2)+parseInt(_0x558450(0x10e))/0x3+parseInt(_0x558450(0x121))/0x4*(parseInt(_0x558450(0x112))/0x5)+-parseInt(_0x558450(0x11b))/0x6*(-parseInt(_0x558450(0x127))/0x7)+-parseInt(_0x558450(0xf6))/0x8*(parseInt(_0x558450(0xf4))/0x9)+-parseInt(_0x558450(0x10c))/0xa*(parseInt(_0x558450(0xf7))/0xb)+-parseInt(_0x558450(0xf3))/0xc;if(_0xe280a0===_0x35a1dd)break;else _0x61a161['push'](_0x61a161['shift']());}catch(_0x14235a){_0x61a161['push'](_0x61a161['shift']());}}}(a0_0x2721,0x22854));function a0_0x2721(){const _0x41e74d=['11014KAHwvo','getGridEmphasizedConfigTabValues','fetchColumnEmphasized','forEach','column','grid_row_emphasized_config','background-color','setGridEmphasizedConfigTabValues','90ceCcUq','querySelector','82770peiKya','deleteRow','fetch','renderGridEmphasizedConfigTab','2535FDOfjU','50PviGuq','keys','string','button','integer','left','GRID','#column-emphasized-grist','1258392oTlOsd','emphasizedConfigTabColumnEmphasizedGrist','push','sortRecordByRank','right','map','1260uJYnuF','fontColor','rowEmphasizedConfig','setGridEmphasizedConfigTabDefaultValues','bind','grid_column_emphasized_config','7ZAvnTj','row','setGridEmphasizedConfigTabConfig','tLabel','code-input','row-emphasized-grist','columnEmphasizedData','emphasizedConfigTabRowEmphasizedGrist','4231368VzhpDA','14400wLEHmE','gutter','376eUTcsm','126093XfxHwp','rank','getElementValueById','shadowRoot','logic','delete','viewEmphasizedData','backgroundColor','font-color','columnEmphasizedConfig','fetchRowEmphasized','getGristGuttersConfig','getGristSelectableConfig'];a0_0x2721=function(){return _0x41e74d;};return a0_0x2721();}function a0_0x1bca(_0x332f78,_0x3cedf0){const _0x272173=a0_0x2721();return a0_0x1bca=function(_0x1bca50,_0x18bb69){_0x1bca50=_0x1bca50-0xed;let _0x2c1a15=_0x272173[_0x1bca50];return _0x2c1a15;},a0_0x1bca(_0x332f78,_0x3cedf0);}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=_0x3b8012=>class extends _0x3b8012{[a0_0x4d0bf7(0x10b)](_0x300426){const _0x70f9b9=a0_0x4d0bf7;if(_0x300426){this[_0x70f9b9(0xfd)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x3d1daa=0x1;this[_0x70f9b9(0xfd)]['rowEmphasizedData']=(_0x300426[_0x70f9b9(0x128)]||[])[_0x70f9b9(0x120)](_0x25fbd1=>({'id':_0x3d1daa,'rank':_0x3d1daa++,'backgroundColor':_0x25fbd1[_0x70f9b9(0xfe)]||'','fontColor':_0x25fbd1[_0x70f9b9(0x122)]||'','logic':_0x25fbd1[_0x70f9b9(0xfb)]||''})),_0x3d1daa=0x1;let _0x1d18a0=_0x300426[_0x70f9b9(0x108)]||[];Object[_0x70f9b9(0x114)](_0x1d18a0)[_0x70f9b9(0x107)](_0x17b57b=>{let _0x2c0daa=_0x1d18a0[_0x17b57b]||[],_0x2c5ccc=0x1;_0x2c0daa['forEach'](_0x562dcc=>{const _0x26fed2=a0_0x1bca;this[_0x26fed2(0xfd)]['columnEmphasizedData'][_0x26fed2(0x11d)]({'id':_0x3d1daa++,'rank':_0x2c5ccc++,'column':_0x17b57b,'backgroundColor':_0x562dcc[_0x26fed2(0xfe)]||'','fontColor':_0x562dcc[_0x26fed2(0x122)]||'','logic':_0x562dcc[_0x26fed2(0xfb)]||''});});}),this['emphasizedConfigTabColumnEmphasizedGrist']?.['fetch'](),this[_0x70f9b9(0xf2)]?.[_0x70f9b9(0x110)]();}else this[_0x70f9b9(0x124)]();}[a0_0x4d0bf7(0x105)](){const _0x54a528=a0_0x4d0bf7;let _0x41a62e=this[_0x54a528(0xf9)](_0x54a528(0xf0)),_0x37b931=this['getElementValueById']('column-emphasized-grist'),_0x5dea51=[];this[_0x54a528(0x11e)](_0x41a62e)?.[_0x54a528(0x107)](_0x1e25a5=>{const _0x542c43=_0x54a528;_0x5dea51['push']({'backgroundColor':_0x1e25a5['backgroundColor'],'fontColor':_0x1e25a5[_0x542c43(0x122)],'logic':_0x1e25a5[_0x542c43(0xfb)]});});let _0x342d38={};return this['sortRecordByRank'](_0x37b931)?.['forEach'](_0x321f0d=>{const _0x19e321=_0x54a528;_0x342d38[_0x321f0d[_0x19e321(0x108)]]||(_0x342d38[_0x321f0d['column']]=[]),_0x342d38[_0x321f0d[_0x19e321(0x108)]][_0x19e321(0x11d)]({'backgroundColor':_0x321f0d[_0x19e321(0xfe)],'fontColor':_0x321f0d[_0x19e321(0x122)],'logic':_0x321f0d['logic']});}),{'gridEmphasized':{'row':_0x5dea51||[],'column':_0x342d38||{}}};}get['emphasizedConfigTabRowEmphasizedGrist'](){const _0x5abf9a=a0_0x4d0bf7;return this[_0x5abf9a(0xfa)][_0x5abf9a(0x10d)]('#row-emphasized-grist');}get[a0_0x4d0bf7(0x11c)](){const _0x2d8030=a0_0x4d0bf7;return this[_0x2d8030(0xfa)][_0x2d8030(0x10d)](_0x2d8030(0x11a));}[a0_0x4d0bf7(0xed)](){const _0x5076e4=a0_0x4d0bf7;this[_0x5076e4(0x123)]={'rows':MetaApi[_0x5076e4(0x103)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x5076e4(0x102)](!0x1,!0x1),{'type':'gutter','gutterName':_0x5076e4(0x116),'icon':_0x5076e4(0xfc),'handlers':{'click':(_0x181f28,_0x377b0a,_0x1a4709,_0x2ee4f7,_0xc1df8d)=>{const _0x3cbf11=_0x5076e4;_0x2ee4f7['id']&&this[_0x3cbf11(0x10f)](this['emphasizedConfigTabRowEmphasizedGrist'],_0x2ee4f7);}}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x5076e4(0x117),'name':_0x5076e4(0xf8),'header':TermsUtil['tLabel'](_0x5076e4(0xf8)),'sortable':!0x0,'width':0x41,'record':{'align':_0x5076e4(0x11f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x5076e4(0x115),'name':'backgroundColor','header':TermsUtil[_0x5076e4(0xee)](_0x5076e4(0x10a)),'record':{'align':_0x5076e4(0x118),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x5076e4(0x122),'header':TermsUtil[_0x5076e4(0xee)](_0x5076e4(0xff)),'record':{'align':_0x5076e4(0x118),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5076e4(0xef),'name':'logic','header':TermsUtil[_0x5076e4(0xee)]('logic'),'record':{'align':_0x5076e4(0x118),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this[_0x5076e4(0x100)]={'rows':MetaApi[_0x5076e4(0x103)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x5076e4(0x102)](!0x1,!0x1),{'type':_0x5076e4(0xf5),'gutterName':_0x5076e4(0x116),'icon':_0x5076e4(0xfc),'handlers':{'click':(_0x369160,_0x5cf3a,_0x1da9b4,_0x624f59,_0x16b643)=>{const _0x4bb53f=_0x5076e4;_0x624f59['id']&&this[_0x4bb53f(0x10f)](this['emphasizedConfigTabColumnEmphasizedGrist'],_0x624f59);}}},{'type':_0x5076e4(0x115),'name':'id','hidden':!0x0},{'type':_0x5076e4(0x115),'name':_0x5076e4(0x108),'header':TermsUtil['tLabel'](_0x5076e4(0x108)),'record':{'align':_0x5076e4(0x118),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5076e4(0x117),'name':'rank','header':TermsUtil[_0x5076e4(0xee)](_0x5076e4(0xf8)),'sortable':!0x0,'width':0x41,'record':{'align':_0x5076e4(0x11f),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x5076e4(0xfe),'header':TermsUtil[_0x5076e4(0xee)]('background-color'),'record':{'align':_0x5076e4(0x118),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5076e4(0x115),'name':_0x5076e4(0x122),'header':TermsUtil['tLabel'](_0x5076e4(0xff)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5076e4(0xef),'name':_0x5076e4(0xfb),'header':TermsUtil[_0x5076e4(0xee)](_0x5076e4(0xfb)),'record':{'align':_0x5076e4(0x118),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x4d0bf7(0x124)](){const _0x145c07=a0_0x4d0bf7;this[_0x145c07(0xfd)]||(this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x4d0bf7(0x111)](){const _0x3a16b1=a0_0x4d0bf7;return this[_0x3a16b1(0x124)](),html`
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`
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'](_0x3a16b1(0x109))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x229606(0x1ee))}
6
6
  </h2>
7
- <ox-grist id="row-emphasized-grist" .config=${this[_0x3a16b1(0x123)]} .mode=${'GRID'} auto-fetch
8
- .fetchHandler=${this[_0x3a16b1(0x101)][_0x3a16b1(0x125)](this)}></ox-grist>
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>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3a16b1(0xee)](_0x3a16b1(0x126))}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x229606(0x1dd)](_0x229606(0x1ef))}
13
13
  </h2>
14
- <ox-grist id="column-emphasized-grist" .config=${this['columnEmphasizedConfig']} .mode=${_0x3a16b1(0x119)} auto-fetch
15
- .fetchHandler=${this[_0x3a16b1(0x106)]['bind'](this)}></ox-grist>
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>
16
16
  </div>
17
17
  </div>
18
- `;}async['fetchRowEmphasized'](){const _0x156a49=a0_0x4d0bf7;return{'records':this[_0x156a49(0xfd)]['rowEmphasizedData'],'total':0x0};}async[a0_0x4d0bf7(0x106)](){const _0x59bc66=a0_0x4d0bf7;return{'records':this['viewEmphasizedData'][_0x59bc66(0xf1)],'total':0x0};}};
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};}};
@@ -1,29 +1,29 @@
1
- const a0_0x126b22=a0_0x257d;(function(_0x8b9c1f,_0x11a00c){const _0xe7f15a=a0_0x257d,_0x11430f=_0x8b9c1f();while(!![]){try{const _0x2d3c5a=parseInt(_0xe7f15a(0x1b7))/0x1+-parseInt(_0xe7f15a(0x1b8))/0x2+parseInt(_0xe7f15a(0x1a8))/0x3+-parseInt(_0xe7f15a(0x1ab))/0x4+parseInt(_0xe7f15a(0x1a7))/0x5*(parseInt(_0xe7f15a(0x1b2))/0x6)+-parseInt(_0xe7f15a(0x1b9))/0x7*(-parseInt(_0xe7f15a(0x1c1))/0x8)+-parseInt(_0xe7f15a(0x1be))/0x9*(parseInt(_0xe7f15a(0x1bd))/0xa);if(_0x2d3c5a===_0x11a00c)break;else _0x11430f['push'](_0x11430f['shift']());}catch(_0x2b775e){_0x11430f['push'](_0x11430f['shift']());}}}(a0_0x368c,0xf2180));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x368c(){const _0x167b70=['3452256rhmPSs','title','getMenuConfigTabValues','5628228lRgWFd','viewMenuData','renderMenuConfigTab','help_doc','setMenuConfigTabValues','help','tTitle','246CDTnXM','desc','target','setMenuConfigTabDefaultValue','name','130918rzRzlp','2591794DhFOBy','7Kkxoni','menu_title','getElementById','value','2230bqokwV','43623UGGIKe','menuTitleChange','display','15710928bhpGpV','getElementValueById','tLabel','186575tVtkeE'];a0_0x368c=function(){return _0x167b70;};return a0_0x368c();}function a0_0x257d(_0x333f28,_0x56c424){const _0x368ce5=a0_0x368c();return a0_0x257d=function(_0x257d2c,_0x1ba819){_0x257d2c=_0x257d2c-0x1a6;let _0x1a52b5=_0x368ce5[_0x257d2c];return _0x1a52b5;},a0_0x257d(_0x333f28,_0x56c424);}export const MenuConfigTabMixin=_0x10a571=>class extends _0x10a571{[a0_0x126b22(0x1af)](_0x49a45d){const _0x4ffc44=a0_0x126b22;if(_0x49a45d){var {title:_0x381de5='',name:_0x57946e='',desc:_0x2af319='',help:_0x2b7a3f=''}=_0x49a45d||{};this[_0x4ffc44(0x1ac)]={'title':_0x381de5,'name':_0x57946e,'desc':_0x2af319,'help_doc':_0x2b7a3f},this['getElementById']('title')['value']=_0x381de5,this[_0x4ffc44(0x1bb)](_0x4ffc44(0x1b6))[_0x4ffc44(0x1bc)]=_0x57946e,this[_0x4ffc44(0x1bb)]('desc')[_0x4ffc44(0x1bc)]=_0x2af319,this[_0x4ffc44(0x1bb)](_0x4ffc44(0x1ae))[_0x4ffc44(0x1bc)]=_0x2b7a3f;}else this['setMenuConfigTabDefaultValue']();}[a0_0x126b22(0x1aa)](){const _0x6dcba=a0_0x126b22;let _0x6acfb2={'menu':{}},_0x750a6b=this[_0x6dcba(0x1c2)]('title'),_0x5d087f=this[_0x6dcba(0x1c2)]('name'),_0x12a2c5=this[_0x6dcba(0x1c2)](_0x6dcba(0x1b3)),_0x2468dd=this[_0x6dcba(0x1c2)](_0x6dcba(0x1ae));return _0x750a6b&&(_0x6acfb2['menu'][_0x6dcba(0x1a9)]=_0x750a6b),_0x5d087f&&(_0x6acfb2['menu']['name']=_0x5d087f),_0x12a2c5&&(_0x6acfb2['menu'][_0x6dcba(0x1b3)]=_0x12a2c5),_0x2468dd&&(_0x6acfb2['menu'][_0x6dcba(0x1b0)]=_0x2468dd),_0x6acfb2;}[a0_0x126b22(0x1b5)](){const _0x199b11=a0_0x126b22;this[_0x199b11(0x1ac)]||(this['viewMenuData']={'title':'','name':_0x199b11(0x1b6),'desc':'description','help_doc':''});}[a0_0x126b22(0x1bf)](_0x2a1e12){const _0x1e9bac=a0_0x126b22;let _0x3dc10b=this[_0x1e9bac(0x1bb)]('display');_0x3dc10b&&(_0x3dc10b[_0x1e9bac(0x1bc)]=TermsUtil[_0x1e9bac(0x1b1)](_0x2a1e12[_0x1e9bac(0x1b4)][_0x1e9bac(0x1bc)]));}[a0_0x126b22(0x1ad)](){const _0x413e31=a0_0x126b22;return this[_0x413e31(0x1b5)](),html`
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`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil[_0x413e31(0x1a6)](_0x413e31(0x1ba))}
5
- <input id="title" name="title" type="text" value=${this[_0x413e31(0x1ac)]['title']} @change=${_0x2d298d=>this['menuTitleChange'](_0x2d298d)}/>
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)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil['tLabel'](_0x413e31(0x1c0))}
10
- <input id="display" name="display" value=${TermsUtil[_0x413e31(0x1b1)](this[_0x413e31(0x1ac)][_0x413e31(0x1a9)])} type="text" readonly
9
+ <label>${TermsUtil[_0x51bf0c(0x198)]('display')}
10
+ <input id="display" name="display" value=${TermsUtil[_0x51bf0c(0x193)](this[_0x51bf0c(0x1ac)][_0x51bf0c(0x19c)])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x413e31(0x1a6)]('menu_name_field')}
16
- <input id="name" name="name" type="text" value=${this[_0x413e31(0x1ac)][_0x413e31(0x1b6)]} />
15
+ <label>${TermsUtil[_0x51bf0c(0x198)]('menu_name_field')}
16
+ <input id="name" name="name" type="text" value=${this[_0x51bf0c(0x1ac)][_0x51bf0c(0x19e)]} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil[_0x413e31(0x1a6)]('menu_desc_field')}
21
- <input id="desc" name="desc" type="text" value=${this[_0x413e31(0x1ac)][_0x413e31(0x1b3)]} />
20
+ <label>${TermsUtil[_0x51bf0c(0x198)](_0x51bf0c(0x1b0))}
21
+ <input id="desc" name="desc" type="text" value=${this[_0x51bf0c(0x1ac)]['desc']} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil[_0x413e31(0x1a6)](_0x413e31(0x1ae))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x413e31(0x1ac)][_0x413e31(0x1ae)]} />
25
+ <label>${TermsUtil['tLabel'](_0x51bf0c(0x197))}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0x51bf0c(0x1ac)][_0x51bf0c(0x197)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
@@ -1,4 +1,4 @@
1
- const a0_0x4ebb7f=a0_0x4a8f;(function(_0x33288a,_0x2c127c){const _0x1f651d=a0_0x4a8f,_0x1864ca=_0x33288a();while(!![]){try{const _0xebec50=-parseInt(_0x1f651d(0xbb))/0x1+-parseInt(_0x1f651d(0x9a))/0x2+-parseInt(_0x1f651d(0x9e))/0x3*(parseInt(_0x1f651d(0xf2))/0x4)+parseInt(_0x1f651d(0xf3))/0x5*(parseInt(_0x1f651d(0xa1))/0x6)+-parseInt(_0x1f651d(0x9d))/0x7*(-parseInt(_0x1f651d(0xd1))/0x8)+-parseInt(_0x1f651d(0xce))/0x9+parseInt(_0x1f651d(0x98))/0xa;if(_0xebec50===_0x2c127c)break;else _0x1864ca['push'](_0x1864ca['shift']());}catch(_0x4f7c80){_0x1864ca['push'](_0x1864ca['shift']());}}}(a0_0x5155,0x653a8));function a0_0x5155(){const _0x3d6190=['currentTabKey','tTitle','19047090neAeDV','style','956464IDHnur','clear','tButton','42RxxyWX','9FnhFiH','errors','sort','27234SqzWPm','enc','hidden','menu_config','display:flex','querySelector','initData','context','toLowerCase','radio','parse','ConfigTabConfig','grid-','dispatchEvent','setTabData','pageUpdated','thumbnail_field','data','detail_field','refresh','params','set','get','updateMultipleMenu','sortRecordByField','pageInitialized','791978rGRvXV','dataStorage','filter','back',':checked','template','length','tabData','records','form','notify','shadowRoot','studioPermission','ConfigTab','keys','grid_config','desc','button','getElementById','3113505wQxkIr','select','filters','1056488IwWwhd','error.invalid\x20license\x20key','stringify','search','forEach','meta-generator-page','slice','grid','details','selectedIndex','properties','query','list','tagName','render','column','metaTemplate','fields','define','save','graphql','value','includes','map','error','sorters','option','\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','ox-input-code','graphql_config','options','lifecycle','column_config','912592tonZWr','20cyeoxy','sort_desc','menuName','etc_config','gridEmphasized','menuId','convertFirstCharUpperCase','dirtyData','active','rep_field','remove','rank','getState','menu','bind','updateMultiple','type','dec','sort_rank','sortRecordByRank','styles','icon','tab_config','name','form_config','deleteRow','push','backToMenu','getElementValueById','ConfigTabValues','tLabel','getConfigTab','tMenu'];a0_0x5155=function(){return _0x3d6190;};return a0_0x5155();}import a0_0x355a48 from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';function a0_0x4a8f(_0x1a214a,_0x3a4dfc){const _0x5155f0=a0_0x5155();return a0_0x4a8f=function(_0x4a8fa2,_0x3d1ab1){_0x4a8fa2=_0x4a8fa2-0x86;let _0x48ce2f=_0x5155f0[_0x4a8fa2];return _0x48ce2f;},a0_0x4a8f(_0x1a214a,_0x3a4dfc);}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[a0_0x4ebb7f(0x89)](){return[css`
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`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0x4ebb7f=a0_0x4a8f;(function(_0x33288a,_0x2c127c){const _0x1f651d=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0x4ebb7f(0xdb)](){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_0x4ebb7f(0xa8)](){const _0x3da3bb=a0_0x4ebb7f;return{'title':TermsUtil[_0x3da3bb(0x97)]('meta_generator'),'actions':[{'title':TermsUtil[_0x3da3bb(0x9c)](_0x3da3bb(0xe4)),'action':this[_0x3da3bb(0xe4)][_0x3da3bb(0x101)](this),...CommonButtonStyles['save']},{'title':TermsUtil['tButton'](_0x3da3bb(0xbe)),'action':this[_0x3da3bb(0x90)][_0x3da3bb(0x101)](this),...CommonButtonStyles[_0x3da3bb(0xbe)]},{'title':TermsUtil[_0x3da3bb(0x9c)](_0x3da3bb(0xb4)),'action':this[_0x3da3bb(0xb4)][_0x3da3bb(0x101)](this),...CommonButtonStyles[_0x3da3bb(0xb4)]}]};}[a0_0x4ebb7f(0x8e)](_0x4f12a0,_0x597c95){const _0x5b91c1=a0_0x4ebb7f;let _0x12da80=_0x4f12a0['dirtyData'];_0x12da80[_0x5b91c1(0xc3)]=_0x12da80['records']['filter'](_0x56622f=>_0x56622f['id']!=_0x597c95['id']),_0x4f12a0[_0x5b91c1(0xb2)]=_0x12da80;}async[a0_0x4ebb7f(0xe4)](){const _0x3592d2=a0_0x4ebb7f;if(0x0==store[_0x3592d2(0xff)]()['operatoTools'][_0x3592d2(0xc7)])return void document[_0x3592d2(0xae)](new CustomEvent(_0x3592d2(0xc5),{'detail':{'level':_0x3592d2(0xe9),'message':i18next['t'](_0x3592d2(0xd2))}}));if((await client[_0x3592d2(0xdc)]({'query':a0_0x355a48`
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`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
148
- `,'variables':{'id':this[_0x3592d2(0xf8)]}}))[_0x3592d2(0x9f)])return;let _0x35d7b3={},_0x604408={};Object[_0x3592d2(0xc9)](this[_0x3592d2(0xc2)])['forEach'](_0x53a17a=>{const _0x50d558=_0x3592d2;let _0xf7ef13=this[_0x50d558(0xf9)](_0x53a17a);_0x35d7b3[_0x53a17a]=this[_0x50d558(0xb7)+_0xf7ef13+'ConfigTabValues'](),_0x604408=merge(_0x604408,_0x35d7b3[_0x53a17a]);}),_0x604408=JSON[_0x3592d2(0xd3)](_0x604408),_0x604408=MetaCrypto[_0x3592d2(0xa2)](_0x604408),await MetaApi[_0x3592d2(0x102)](_0x3592d2(0xb8),[{'id':this[_0x3592d2(0xf8)],'template':_0x604408,'cuFlag':'M'}])&&await this[_0x3592d2(0xa7)]();}[a0_0x4ebb7f(0x9b)](){const _0x66a714=a0_0x4ebb7f;this[_0x66a714(0xaf)](),this[_0x66a714(0xbc)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x66a714(0xc9)](this[_0x66a714(0xc2)])[_0x66a714(0xd5)](_0x5ee210=>{const _0x9e95e9=_0x66a714;let _0x301257=this[_0x9e95e9(0xf9)](_0x5ee210);if(this[_0x9e95e9(0xb6)+_0x301257+'ConfigTabValues'])return this['set'+_0x301257+_0x9e95e9(0x92)](this['dataStorage'][_0x5ee210]);});}async[a0_0x4ebb7f(0xb4)](){const _0x155036=a0_0x4ebb7f;this['clear'](),await this[_0x155036(0xa7)]();}[a0_0x4ebb7f(0x90)](){history['back']();}async['initData'](){const _0x4d1297=a0_0x4ebb7f;var {menuId:_0x4986fc=''}=this[_0x4d1297(0xf0)]?.[_0x4d1297(0xb5)]?this[_0x4d1297(0xf0)][_0x4d1297(0xb5)]:{};if(this['menuId']=_0x4986fc,!_0x4986fc||''==_0x4986fc)return void this['clear']();let _0x49f730=await MetaApi['findOne'](_0x4d1297(0x100),_0x4986fc,_0x4d1297(0xec));if(_0x49f730){try{JSON[_0x4d1297(0xab)](MetaCrypto[_0x4d1297(0x86)](_0x49f730['template']));}catch(_0x5877ea){return;}this[_0x4d1297(0xf5)]=TermsUtil[_0x4d1297(0x95)](_0x49f730['name']),this[_0x4d1297(0xe1)]=_0x49f730[_0x4d1297(0xc0)]?JSON['parse'](MetaCrypto[_0x4d1297(0x86)](_0x49f730[_0x4d1297(0xc0)])):{};var {menu:_0x1665c2={},gql:_0x553931={},button:_0x2ba9ee=[],grid_column:_0x20b965=[],grid:_0x5492aa={},search:_0x1f3e18=[],form:_0x3c290e=[],tab:_0x681516=[],etc:_0x1c202e={},gridEmphasized:_0x359332=[]}=this['metaTemplate']?this['metaTemplate']:{};this[_0x4d1297(0xaf)](),this['dataStorage']={},this[_0x4d1297(0xbc)][_0x4d1297(0x100)]=_0x1665c2,this[_0x4d1297(0xbc)][_0x4d1297(0xe5)]=_0x553931,this[_0x4d1297(0xbc)][_0x4d1297(0xd8)]=_0x5492aa,this[_0x4d1297(0xbc)][_0x4d1297(0xc4)]=_0x3c290e,this[_0x4d1297(0xbc)]['tab']=_0x681516,this[_0x4d1297(0xbc)]['etc']=_0x1c202e,this[_0x4d1297(0xbc)][_0x4d1297(0xf7)]=_0x359332,(_0x5492aa[_0x4d1297(0xeb)]?.[_0x4d1297(0xea)]||[])[_0x4d1297(0xd5)]((_0x505038,_0x309a31)=>{const _0x2ecddb=_0x4d1297;_0x505038[_0x2ecddb(0xfe)]=0xa*(_0x309a31+0x1);}),this[_0x4d1297(0xbc)][_0x4d1297(0xe0)]=_0x20b965[_0x4d1297(0xe8)](_0x6180a8=>{const _0x39cdfb=_0x4d1297;let _0x31476b=(_0x5492aa['option']?.[_0x39cdfb(0xea)]||[])[_0x39cdfb(0xbd)](_0x8385b3=>_0x8385b3[_0x39cdfb(0x8c)]==_0x6180a8[_0x39cdfb(0x8c)]);return _0x31476b&&_0x31476b[_0x39cdfb(0xc1)]>0x0?(_0x6180a8['sort_rank']=_0x31476b[0x0][_0x39cdfb(0xfe)],_0x6180a8[_0x39cdfb(0xf4)]=!!_0x31476b[0x0][_0x39cdfb(0xcb)]&&_0x31476b[0x0][_0x39cdfb(0xcb)]):_0x6180a8[_0x39cdfb(0x87)]=0x0,_0x6180a8[_0x39cdfb(0xfc)]=(_0x5492aa[_0x39cdfb(0xdd)]?.[_0x39cdfb(0xe2)]||[])[_0x39cdfb(0xe7)](_0x6180a8['name']),_0x6180a8[_0x39cdfb(0xb3)]=(_0x5492aa[_0x39cdfb(0xdd)]?.[_0x39cdfb(0xd9)]||[])[_0x39cdfb(0xe7)](_0x6180a8[_0x39cdfb(0x8c)]),_0x6180a8[_0x39cdfb(0xb1)]=_0x5492aa[_0x39cdfb(0xdd)]?.['thumbnail']==_0x6180a8[_0x39cdfb(0x8c)],_0x6180a8;}),_0x1f3e18['push'](...(_0x553931['query']?.[_0x4d1297(0xd0)]||[])['map'](_0x565e4b=>(_0x565e4b[_0x4d1297(0xa3)]=!0x0,_0x565e4b))),this[_0x4d1297(0xbc)][_0x4d1297(0xd4)]=_0x1f3e18,_0x2ba9ee[_0x4d1297(0x8f)](...(_0x5492aa['button']||[])['map'](_0x402a21=>(_0x402a21[_0x4d1297(0x103)]=_0x4d1297(0xad)+_0x402a21['type'],_0x402a21[_0x4d1297(0x99)]=_0x402a21[_0x4d1297(0x8a)],_0x402a21))),this[_0x4d1297(0xbc)][_0x4d1297(0xcc)]=_0x2ba9ee,Object[_0x4d1297(0xc9)](this[_0x4d1297(0xc2)])[_0x4d1297(0xd5)](_0x1ba74e=>{const _0x44ff20=_0x4d1297;let _0x4a32e9=this['convertFirstCharUpperCase'](_0x1ba74e);if(this[_0x44ff20(0xb6)+_0x4a32e9+_0x44ff20(0x92)])return this[_0x44ff20(0xb6)+_0x4a32e9+_0x44ff20(0x92)](this['dataStorage'][_0x1ba74e]);});}}async[a0_0x4ebb7f(0xba)](){const _0x5a26cc=a0_0x4ebb7f;this['setTabData']();let _0x424c0d=Object['keys'](this[_0x5a26cc(0xc2)]);for(var _0x4e6943=0x0;_0x4e6943<_0x424c0d[_0x5a26cc(0xc1)];_0x4e6943++){let _0x4ed9a2=this[_0x5a26cc(0xf9)](_0x424c0d[_0x4e6943]);this[_0x5a26cc(0xb6)+_0x4ed9a2+_0x5a26cc(0xac)]&&await this['set'+_0x4ed9a2+_0x5a26cc(0xac)]();}}async[a0_0x4ebb7f(0xb0)](_0x38fd9a,_0xe08bc3,_0x23e0f1){const _0x148742=a0_0x4ebb7f;!0x0===this[_0x148742(0xfb)]?(this[_0x148742(0xaf)](),await this[_0x148742(0xa7)](),this['setTabData']()):(this['clear'](),this[_0x148742(0xfd)]());}['setTabData'](){const _0x2f1f8e=a0_0x4ebb7f;this[_0x2f1f8e(0xc2)]||(this[_0x2f1f8e(0xc2)]={'menu':TermsUtil[_0x2f1f8e(0x93)](_0x2f1f8e(0xa4)),'graphql':TermsUtil[_0x2f1f8e(0x93)](_0x2f1f8e(0xee)),'grid':TermsUtil[_0x2f1f8e(0x93)](_0x2f1f8e(0xca)),'column':TermsUtil[_0x2f1f8e(0x93)](_0x2f1f8e(0xf1)),'gridEmphasized':TermsUtil[_0x2f1f8e(0x93)]('grid_emphasized_config'),'button':TermsUtil[_0x2f1f8e(0x93)]('button_config'),'search':TermsUtil[_0x2f1f8e(0x93)]('search_config'),'form':TermsUtil[_0x2f1f8e(0x93)](_0x2f1f8e(0x8d)),'tab':TermsUtil[_0x2f1f8e(0x93)](_0x2f1f8e(0x8b)),'etc':TermsUtil[_0x2f1f8e(0x93)](_0x2f1f8e(0xf6))});}['render'](){const _0x438cf1=a0_0x4ebb7f;this[_0x438cf1(0x96)]||(this[_0x438cf1(0x96)]='menu'),this[_0x438cf1(0xaf)]();let _0x139ac3=Object[_0x438cf1(0xc9)](this[_0x438cf1(0xc2)]);return this[_0x438cf1(0xc2)][this[_0x438cf1(0x96)]]?this[_0x438cf1(0x96)]:_0x139ac3[0x0],html`
149
- <h1>${this[_0x438cf1(0xf5)]}</h1>
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>
150
150
  <div class="tabs">
151
- ${_0x139ac3[_0x438cf1(0xe8)](_0x45d9c4=>{const _0x9f0073=_0x438cf1;let _0x583f69=this[_0x9f0073(0xc2)][_0x45d9c4];return html`
152
- <div class="tab" ?activate="${_0x45d9c4===this[_0x9f0073(0x96)]}" @click="${()=>this[_0x9f0073(0x96)]=_0x45d9c4}">
153
- <span>${_0x583f69}</span>
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>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
158
- ${_0x139ac3['map'](_0x2ec5f7=>{const _0x346f27=_0x438cf1;let _0x5d6b77='display:none';return _0x2ec5f7==this[_0x346f27(0x96)]&&(_0x5d6b77=_0x346f27(0xa5)),html`
159
- <div class='tab-contents' style="${_0x5d6b77}">
160
- ${this[_0x346f27(0x94)](_0x2ec5f7)}
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)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
164
- `;}[a0_0x4ebb7f(0x94)](_0x3e66e4){const _0x2199c7=a0_0x4ebb7f;let _0x3f39b3=this['convertFirstCharUpperCase'](_0x3e66e4);return this[_0x2199c7(0xdf)+_0x3f39b3+_0x2199c7(0xc8)]?this['render'+_0x3f39b3+_0x2199c7(0xc8)]():html``;}[a0_0x4ebb7f(0xf9)](_0x3013ff){const _0x3e9386=a0_0x4ebb7f;return _0x3013ff['charAt'](0x0)['toUpperCase']()+_0x3013ff[_0x3e9386(0xd7)](0x1);}[a0_0x4ebb7f(0xcd)](_0xa80fe5){const _0x3c28f9=a0_0x4ebb7f;return this[_0x3c28f9(0xc6)]['querySelector']('#'+_0xa80fe5);}[a0_0x4ebb7f(0x91)](_0x535db8){const _0x9df0=a0_0x4ebb7f;let _0x56dc4b=this[_0x9df0(0xc6)][_0x9df0(0xa6)]('#'+_0x535db8);if(!_0x56dc4b)return;let _0x2f1a66='';if(_0x9df0(0xcf)==_0x56dc4b['tagName'][_0x9df0(0xa9)]()){if(!_0x56dc4b[_0x9df0(0xef)]||0x0==_0x56dc4b['options']['length'])return;_0x2f1a66=_0x56dc4b[_0x9df0(0xef)][_0x56dc4b[_0x9df0(0xda)]][_0x9df0(0xe6)];}else{if('ox-grist'==_0x56dc4b[_0x9df0(0xde)][_0x9df0(0xa9)]()){if(!_0x56dc4b['dirtyData'])return;if(!_0x56dc4b[_0x9df0(0xfa)][_0x9df0(0xc3)])return;if(0x0==_0x56dc4b[_0x9df0(0xfa)]['records'][_0x9df0(0xc1)])return;return _0x56dc4b[_0x9df0(0xfa)][_0x9df0(0xc3)];}if(_0x9df0(0xed)==_0x56dc4b[_0x9df0(0xde)][_0x9df0(0xa9)]())return _0x56dc4b['value'];if(_0x9df0(0xaa)==_0x56dc4b[_0x9df0(0x103)][_0x9df0(0xa9)]()){let _0x16c584=this['shadowRoot']['querySelector']('#'+_0x535db8+_0x9df0(0xbf));if(!_0x16c584)return;return _0x16c584[_0x9df0(0xe6)];}_0x2f1a66=_0x56dc4b[_0x9df0(0xe6)];}return _0x2f1a66&&''!=_0x2f1a66?_0x2f1a66:void 0x0;}[a0_0x4ebb7f(0x88)](_0x569ec4){const _0x29dd6a=a0_0x4ebb7f;return _0x569ec4?this['sortRecordByField'](_0x569ec4,_0x29dd6a(0xfe)):_0x569ec4;}[a0_0x4ebb7f(0xb9)](_0x14bb10,_0x9c6446){const _0x975e45=a0_0x4ebb7f;return _0x14bb10[_0x975e45(0xa0)]((_0x259d8f,_0x362c2b)=>_0x259d8f[_0x9c6446]-_0x362c2b[_0x9c6446]),_0x14bb10;}}customElements[a0_0x4ebb7f(0xe3)](a0_0x4ebb7f(0xd6),MetaGeneratorPage);
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);
@@ -1,4 +1,4 @@
1
- const a0_0x1fe8a7=a0_0x18bc;function a0_0x4416(){const _0x2d3846=['renderSearchConfigTab','forEach','FILTER_OPERATORS','assign','672272hzjoUT','search_operator','getElementValueById','value','26KBeYmq','rank','gutter','getCodeSelectorData','378792OYDPzy','35634rCCHws','default_value','5MhTySS','getSearchConfigTabValues','21xrBJAB','sortRecordByRank','operator','name','querySelector','24100UOUrMf','tLabel','hidden','1992784XjlrHL','search','push','searchTabGridConfig','getGristSelectableConfig','152779GxQPqw','left','bind','fetchSearchTabHandler','539YCVTRh','2994cAzyLf','viewSearchData','select','searchTabGrist','right','search-tab-grid','string','shadowRoot'];a0_0x4416=function(){return _0x2d3846;};return a0_0x4416();}(function(_0x2e4933,_0x29a95c){const _0x233d5e=a0_0x18bc,_0x4029f3=_0x2e4933();while(!![]){try{const _0x6c1332=-parseInt(_0x233d5e(0x1b0))/0x1+-parseInt(_0x233d5e(0x1c5))/0x2*(-parseInt(_0x233d5e(0x1b5))/0x3)+parseInt(_0x233d5e(0x1c1))/0x4*(parseInt(_0x233d5e(0x1cc))/0x5)+-parseInt(_0x233d5e(0x1ca))/0x6*(-parseInt(_0x233d5e(0x1ce))/0x7)+parseInt(_0x233d5e(0x1d6))/0x8+-parseInt(_0x233d5e(0x1c9))/0x9+parseInt(_0x233d5e(0x1d3))/0xa*(-parseInt(_0x233d5e(0x1b4))/0xb);if(_0x6c1332===_0x29a95c)break;else _0x4029f3['push'](_0x4029f3['shift']());}catch(_0x28e292){_0x4029f3['push'](_0x4029f3['shift']());}}}(a0_0x4416,0x20f58));import{html}from'lit-element';function a0_0x18bc(_0x451b4e,_0x5edde0){const _0x4416c4=a0_0x4416();return a0_0x18bc=function(_0x18bc71,_0x241adc){_0x18bc71=_0x18bc71-0x1ac;let _0x57c1bb=_0x4416c4[_0x18bc71];return _0x57c1bb;},a0_0x18bc(_0x451b4e,_0x5edde0);}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=_0x16f5ea=>class extends _0x16f5ea{['setSearchConfigTabValues'](_0x2b9cf3){const _0x5db4b5=a0_0x18bc;let _0x379d75=_0x2b9cf3?.['map']((_0x20b24e,_0x591ff9)=>{const _0x14c358=a0_0x18bc;let _0x1ee89e=_0x591ff9+0x1,_0x33818b={};return'object'==typeof _0x20b24e?Object[_0x14c358(0x1c0)](_0x33818b,_0x20b24e):(_0x33818b[_0x14c358(0x1d1)]=_0x20b24e,_0x33818b[_0x14c358(0x1d0)]='filter'),_0x33818b[_0x14c358(0x1c6)]=0xa*_0x1ee89e,_0x33818b['id']=_0x1ee89e,_0x33818b;});this[_0x5db4b5(0x1b6)]=_0x379d75||[],this['searchTabGrist']?.['fetch']();}[a0_0x1fe8a7(0x1cd)](){const _0x183086=a0_0x1fe8a7;let _0x39c709={'search':[],'gql':{'query':{'filters':[]}}},_0x2555eb=this[_0x183086(0x1c3)](_0x183086(0x1ba));return this[_0x183086(0x1cf)](_0x2555eb)?.[_0x183086(0x1be)](_0x4a9b50=>{const _0x3ed80e=_0x183086;var {name:_0x2e4d2a,operator:_0x1c2f57='eq',hidden:_0x2d109b=!0x1,value:_0x3488df}=_0x4a9b50;if(_0x2e4d2a){if('filter'==_0x1c2f57)_0x39c709[_0x3ed80e(0x1ac)][_0x3ed80e(0x1ad)](_0x2e4d2a);else{let _0x102f77={'name':_0x2e4d2a,'operator':_0x1c2f57};0x1==_0x2d109b?(_0x102f77['value']=_0x3488df,_0x39c709['gql']['query']['filters'][_0x3ed80e(0x1ad)](_0x102f77)):(_0x102f77[_0x3ed80e(0x1c4)]=_0x3488df,_0x39c709[_0x3ed80e(0x1ac)][_0x3ed80e(0x1ad)](_0x102f77));}}}),_0x39c709;}[a0_0x1fe8a7(0x1bd)](){const _0x4e2beb=a0_0x1fe8a7;return html`
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
2
  <ox-grist auto-fetch id="search-tab-grid" .config=${this['searchTabGridConfig']} .mode='GRID'
3
- .fetchHandler=${this[_0x4e2beb(0x1b3)][_0x4e2beb(0x1b2)](this)}>
4
- </ox-grist>`;}get[a0_0x1fe8a7(0x1b8)](){const _0x9c3883=a0_0x1fe8a7;return this[_0x9c3883(0x1bc)][_0x9c3883(0x1d2)]('#search-tab-grid');}async[a0_0x1fe8a7(0x1b3)](){const _0x5a677e=a0_0x1fe8a7;return{'total':0x0,'records':this[_0x5a677e(0x1b6)]||[]};}async['setSearchConfigTabConfig'](){const _0x500e76=a0_0x1fe8a7;let _0x2e7835=await MetaApi[_0x500e76(0x1c8)](_0x500e76(0x1bf));this[_0x500e76(0x1ae)]={'rows':MetaApi[_0x500e76(0x1af)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x500e76(0x1c6),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x500e76(0x1c7),'gutterName':'button','icon':'delete','handlers':{'click':(_0x5c063e,_0x843d51,_0x388439,_0x213217,_0x4f8eba)=>{const _0xf511ad=_0x500e76;_0x213217['id']&&this['deleteRow'](this[_0xf511ad(0x1b8)],_0x213217);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'integer','name':_0x500e76(0x1c6),'header':TermsUtil[_0x500e76(0x1d4)](_0x500e76(0x1c6)),'sortable':!0x0,'width':0x41,'record':{'align':_0x500e76(0x1b9),'editable':!0x0,'mandatory':!0x0}},{'type':_0x500e76(0x1bb),'name':'name','header':TermsUtil[_0x500e76(0x1d4)](_0x500e76(0x1d1)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x500e76(0x1b1),'editable':!0x0,'mandatory':!0x0}},{'type':_0x500e76(0x1b7),'name':_0x500e76(0x1d0),'header':TermsUtil['tLabel'](_0x500e76(0x1c2)),'sortable':!0x1,'width':0x64,'record':{'align':_0x500e76(0x1b1),'editable':!0x0,'mandatory':!0x1,'options':_0x2e7835}},{'type':'boolean','name':'hidden','header':TermsUtil[_0x500e76(0x1d4)](_0x500e76(0x1d5)),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x500e76(0x1bb),'name':_0x500e76(0x1c4),'header':TermsUtil[_0x500e76(0x1d4)](_0x500e76(0x1cb)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x500e76(0x1b1),'editable':!0x0,'mandatory':!0x1}}]};}};
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,4 +1,4 @@
1
- function a0_0x122a(){const _0x5d09e9=['params','center','619055JxptOR','9816RyJcUR','getElementValueById','deleteRow','page_location','left','setTabConfigTabValues','delete','tag','4lIvxyq','fetchTabTabHandler','renderTabConfigTab','push','button','tab-tab-grid','135MhrTPU','routing','forEach','2918416ejpepG','955790yAePQM','getTabConfigTabValues','parent_field','bind','rank','location','2oMbgUX','icon','tagname','getGristGuttersConfig','2116329XpVYKg','right','959SRoMSf','name','tLabel','#tab-tab-grid','viewTabData','menu','string','1725083xcMbhV','getGristSelectableConfig','tabTabGridConfig','tabTabGrist','40748158imJYoF','param_field','display'];a0_0x122a=function(){return _0x5d09e9;};return a0_0x122a();}function a0_0x37aa(_0x15b803,_0x5b099a){const _0x122af9=a0_0x122a();return a0_0x37aa=function(_0x37aaf7,_0x53ce37){_0x37aaf7=_0x37aaf7-0xe5;let _0x3b9f12=_0x122af9[_0x37aaf7];return _0x3b9f12;},a0_0x37aa(_0x15b803,_0x5b099a);}const a0_0x395bf8=a0_0x37aa;(function(_0x511b48,_0x40fb7f){const _0x406a51=a0_0x37aa,_0x306545=_0x511b48();while(!![]){try{const _0x42215a=parseInt(_0x406a51(0x110))/0x1*(parseInt(_0x406a51(0x103))/0x2)+parseInt(_0x406a51(0x107))/0x3+parseInt(_0x406a51(0xf3))/0x4*(parseInt(_0x406a51(0xea))/0x5)+-parseInt(_0x406a51(0xeb))/0x6*(-parseInt(_0x406a51(0x109))/0x7)+parseInt(_0x406a51(0xfc))/0x8+-parseInt(_0x406a51(0xf9))/0x9*(-parseInt(_0x406a51(0xfd))/0xa)+-parseInt(_0x406a51(0xe5))/0xb;if(_0x42215a===_0x40fb7f)break;else _0x306545['push'](_0x306545['shift']());}catch(_0x50399e){_0x306545['push'](_0x306545['shift']());}}}(a0_0x122a,0xd5082));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x157bd8=>class extends _0x157bd8{[a0_0x395bf8(0xf0)](_0x6417){const _0x5ac379=a0_0x395bf8;let _0x404092=_0x6417?.['map']((_0x4c5e56,_0x15cca0)=>{const _0x5e085f=a0_0x37aa;let _0x560e73=_0x15cca0+0x1,_0x2f6210={};return _0x2f6210[_0x5e085f(0x101)]=0xa*_0x560e73,_0x2f6210['id']=_0x560e73,_0x2f6210[_0x5e085f(0x10a)]=_0x4c5e56['name'],_0x2f6210[_0x5e085f(0xe7)]=_0x4c5e56[_0x5e085f(0xe7)],_0x2f6210['tagname']=_0x4c5e56['tagname'],_0x2f6210[_0x5e085f(0x104)]=_0x4c5e56['icon'],_0x2f6210[_0x5e085f(0x102)]=_0x4c5e56[_0x5e085f(0x102)],_0x2f6210['parent_field']=_0x4c5e56[_0x5e085f(0xff)],_0x2f6210[_0x5e085f(0xe6)]=_0x4c5e56[_0x5e085f(0xe6)],_0x2f6210[_0x5e085f(0x10e)]=_0x4c5e56[_0x5e085f(0x10e)],_0x2f6210;});this[_0x5ac379(0x10d)]=_0x404092||[],this[_0x5ac379(0x113)]?.['fetch']();}[a0_0x395bf8(0xfe)](){const _0x3b5c10=a0_0x395bf8;let _0x3c500e={'tab':[]},_0x212377=this[_0x3b5c10(0xec)](_0x3b5c10(0xf8));return this['sortRecordByRank'](_0x212377)?.[_0x3b5c10(0xfb)](_0x3b826d=>{const _0x1aa279=_0x3b5c10;var {name:_0x332618,display:_0x5d2b9c,tagname:_0x52f6fc,location:_0x194679,parent_field:_0x1f1e3d,param_field:_0x328f42,menu:_0x498f45,icon:_0x39fcd9}=_0x3b826d;_0x332618&&_0x52f6fc&&_0x194679&&_0x498f45&&(_0x5d2b9c||(_0x5d2b9c=_0x332618),_0x1f1e3d||(_0x1f1e3d='id'),_0x328f42||(_0x328f42=_0x1aa279(0xe6)),_0x3c500e['tab'][_0x1aa279(0xf6)]({'name':_0x332618,'display':_0x5d2b9c,'tagname':_0x52f6fc,'location':_0x194679,'parent_field':_0x1f1e3d,'param_field':_0x328f42,'menu':_0x498f45,'icon':_0x39fcd9}));}),_0x3c500e;}[a0_0x395bf8(0xf5)](){const _0x50a19e=a0_0x395bf8;return html`
2
- <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x50a19e(0x112)]} .mode='GRID'
3
- .fetchHandler=${this['fetchTabTabHandler'][_0x50a19e(0x100)](this)}>
4
- </ox-grist>`;}get['tabTabGrist'](){const _0x25be0a=a0_0x395bf8;return this['shadowRoot']['querySelector'](_0x25be0a(0x10c));}async[a0_0x395bf8(0xf4)](){return{'total':0x0,'records':this['viewTabData']||[]};}async['setTabConfigTabConfig'](){const _0x386649=a0_0x395bf8;this['tabTabGridConfig']={'rows':MetaApi[_0x386649(0x111)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x386649(0x101),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x386649(0x106)](!0x1,!0x1),{'type':'gutter','gutterName':_0x386649(0xf7),'icon':_0x386649(0xf1),'handlers':{'click':(_0x4e4414,_0x29fca8,_0x4f4018,_0x2b3a7b,_0x600da)=>{const _0x48c9fb=_0x386649;_0x2b3a7b['id']&&this[_0x48c9fb(0xed)](this[_0x48c9fb(0x113)],_0x2b3a7b);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'integer','name':_0x386649(0x101),'header':TermsUtil['tLabel'](_0x386649(0x101)),'sortable':!0x0,'width':0x41,'record':{'align':_0x386649(0x108),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x386649(0x10a),'header':TermsUtil[_0x386649(0x10b)](_0x386649(0x10a)),'sortable':!0x1,'width':0x64,'record':{'align':_0x386649(0xef),'editable':!0x0,'mandatory':!0x0}},{'type':_0x386649(0x10f),'name':_0x386649(0xe7),'header':TermsUtil['tLabel'](_0x386649(0xe7)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x386649(0x104),'header':TermsUtil[_0x386649(0x10b)]('icon'),'sortable':!0x0,'width':0x41,'record':{'align':_0x386649(0xe9),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x386649(0x10e),'header':TermsUtil[_0x386649(0x10b)](_0x386649(0xfa)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x386649(0x105),'header':TermsUtil['tLabel'](_0x386649(0xf2)),'sortable':!0x1,'width':0x96,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x386649(0x102),'header':TermsUtil[_0x386649(0x10b)](_0x386649(0xee)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x386649(0xef),'editable':!0x0,'mandatory':!0x0}},{'type':_0x386649(0x10f),'name':'parent_field','header':TermsUtil[_0x386649(0x10b)]('parent_id'),'sortable':!0x1,'width':0x64,'record':{'align':_0x386649(0xef),'editable':!0x0,'mandatory':!0x0}},{'type':_0x386649(0x10f),'name':_0x386649(0xe6),'header':TermsUtil[_0x386649(0x10b)](_0x386649(0xe8)),'sortable':!0x1,'width':0x64,'record':{'align':_0x386649(0xef),'editable':!0x0,'mandatory':!0x0}}]};}};
1
+ const a0_0x394445=a0_0x5c78;function a0_0x5c78(_0x507c6d,_0x328a48){const _0x28bfde=a0_0x28bf();return a0_0x5c78=function(_0x5c781a,_0x329d85){_0x5c781a=_0x5c781a-0x6e;let _0x2c0420=_0x28bfde[_0x5c781a];return _0x2c0420;},a0_0x5c78(_0x507c6d,_0x328a48);}(function(_0x12c87b,_0x1e860c){const _0x39c4cc=a0_0x5c78,_0x1c84c2=_0x12c87b();while(!![]){try{const _0x1756b1=-parseInt(_0x39c4cc(0x97))/0x1*(-parseInt(_0x39c4cc(0x98))/0x2)+-parseInt(_0x39c4cc(0x9e))/0x3+parseInt(_0x39c4cc(0x78))/0x4*(parseInt(_0x39c4cc(0x77))/0x5)+-parseInt(_0x39c4cc(0x89))/0x6*(-parseInt(_0x39c4cc(0x85))/0x7)+parseInt(_0x39c4cc(0x8e))/0x8*(parseInt(_0x39c4cc(0x7b))/0x9)+-parseInt(_0x39c4cc(0x86))/0xa+parseInt(_0x39c4cc(0x7e))/0xb;if(_0x1756b1===_0x1e860c)break;else _0x1c84c2['push'](_0x1c84c2['shift']());}catch(_0x8bde9b){_0x1c84c2['push'](_0x1c84c2['shift']());}}}(a0_0x28bf,0x8d6f4));import{html}from'lit-element';function a0_0x28bf(){const _0x25818d=['parent_id','params','menu','tabTabGrist','tLabel','getElementValueById','tag','2215DDaNxw','7580jQesnJ','getGristSelectableConfig','page_location','54mYemPY','center','querySelector','4404411XPKuya','left','rank','display','delete','viewTabData','name','7ENFbcO','7729350iSBsqJ','location','tabTabGridConfig','1090338boWbju','gutter','right','tab-tab-grid','button','734296zZjrJP','tagname','push','setTabConfigTabValues','fetchTabTabHandler','map','bind','fetch','icon','53pYTapz','1028ZYLleU','string','setTabConfigTabConfig','param_field','parent_field','getTabConfigTabValues','1941966QwkPjz','deleteRow','renderTabConfigTab'];a0_0x28bf=function(){return _0x25818d;};return a0_0x28bf();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x4b7c4c=>class extends _0x4b7c4c{[a0_0x394445(0x91)](_0x3180a6){const _0x4ab575=a0_0x394445;let _0x5e11ab=_0x3180a6?.[_0x4ab575(0x93)]((_0x125ebc,_0x4e54fa)=>{const _0x1e782f=_0x4ab575;let _0x4646aa=_0x4e54fa+0x1,_0x848d13={};return _0x848d13[_0x1e782f(0x80)]=0xa*_0x4646aa,_0x848d13['id']=_0x4646aa,_0x848d13[_0x1e782f(0x84)]=_0x125ebc[_0x1e782f(0x84)],_0x848d13[_0x1e782f(0x81)]=_0x125ebc['display'],_0x848d13[_0x1e782f(0x8f)]=_0x125ebc['tagname'],_0x848d13[_0x1e782f(0x96)]=_0x125ebc[_0x1e782f(0x96)],_0x848d13[_0x1e782f(0x87)]=_0x125ebc['location'],_0x848d13[_0x1e782f(0x9c)]=_0x125ebc['parent_field'],_0x848d13[_0x1e782f(0x9b)]=_0x125ebc[_0x1e782f(0x9b)],_0x848d13[_0x1e782f(0x72)]=_0x125ebc['menu'],_0x848d13;});this[_0x4ab575(0x83)]=_0x5e11ab||[],this[_0x4ab575(0x73)]?.[_0x4ab575(0x95)]();}[a0_0x394445(0x9d)](){const _0x32067b=a0_0x394445;let _0x4bc423={'tab':[]},_0x42e57a=this[_0x32067b(0x75)](_0x32067b(0x8c));return this['sortRecordByRank'](_0x42e57a)?.['forEach'](_0x3bfbaf=>{const _0x19d6c0=_0x32067b;var {name:_0x48cd12,display:_0x365cb8,tagname:_0x61fbf2,location:_0x203826,parent_field:_0x1c5222,param_field:_0x42da69,menu:_0x157dce,icon:_0x527a1f}=_0x3bfbaf;_0x48cd12&&_0x61fbf2&&_0x203826&&_0x157dce&&(_0x365cb8||(_0x365cb8=_0x48cd12),_0x1c5222||(_0x1c5222='id'),_0x42da69||(_0x42da69=_0x19d6c0(0x9b)),_0x4bc423['tab'][_0x19d6c0(0x90)]({'name':_0x48cd12,'display':_0x365cb8,'tagname':_0x61fbf2,'location':_0x203826,'parent_field':_0x1c5222,'param_field':_0x42da69,'menu':_0x157dce,'icon':_0x527a1f}));}),_0x4bc423;}[a0_0x394445(0x6f)](){const _0x4db26c=a0_0x394445;return html`
2
+ <ox-grist auto-fetch id="tab-tab-grid" .config=${this['tabTabGridConfig']} .mode='GRID'
3
+ .fetchHandler=${this[_0x4db26c(0x92)][_0x4db26c(0x94)](this)}>
4
+ </ox-grist>`;}get['tabTabGrist'](){const _0x33be57=a0_0x394445;return this['shadowRoot'][_0x33be57(0x7d)]('#tab-tab-grid');}async['fetchTabTabHandler'](){return{'total':0x0,'records':this['viewTabData']||[]};}async[a0_0x394445(0x9a)](){const _0x47c770=a0_0x394445;this[_0x47c770(0x88)]={'rows':MetaApi[_0x47c770(0x79)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x47c770(0x80),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x47c770(0x8a),'gutterName':_0x47c770(0x8d),'icon':_0x47c770(0x82),'handlers':{'click':(_0x4618fe,_0x2008b3,_0x1849a3,_0x5858d0,_0x484401)=>{const _0x5b1e53=_0x47c770;_0x5858d0['id']&&this[_0x5b1e53(0x6e)](this[_0x5b1e53(0x73)],_0x5858d0);}}},{'type':_0x47c770(0x99),'name':'id','hidden':!0x0},{'type':'integer','name':_0x47c770(0x80),'header':TermsUtil[_0x47c770(0x74)](_0x47c770(0x80)),'sortable':!0x0,'width':0x41,'record':{'align':_0x47c770(0x8b),'editable':!0x0,'mandatory':!0x0}},{'type':_0x47c770(0x99),'name':_0x47c770(0x84),'header':TermsUtil['tLabel'](_0x47c770(0x84)),'sortable':!0x1,'width':0x64,'record':{'align':_0x47c770(0x7f),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x47c770(0x81),'header':TermsUtil[_0x47c770(0x74)](_0x47c770(0x81)),'sortable':!0x1,'width':0x64,'record':{'align':_0x47c770(0x7f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x47c770(0x99),'name':_0x47c770(0x96),'header':TermsUtil[_0x47c770(0x74)](_0x47c770(0x96)),'sortable':!0x0,'width':0x41,'record':{'align':_0x47c770(0x7c),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x47c770(0x72),'header':TermsUtil[_0x47c770(0x74)]('routing'),'sortable':!0x1,'width':0x64,'record':{'align':_0x47c770(0x7f),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x47c770(0x8f),'header':TermsUtil['tLabel'](_0x47c770(0x76)),'sortable':!0x1,'width':0x96,'record':{'align':_0x47c770(0x7f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x47c770(0x99),'name':_0x47c770(0x87),'header':TermsUtil[_0x47c770(0x74)](_0x47c770(0x7a)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x47c770(0x7f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x47c770(0x99),'name':_0x47c770(0x9c),'header':TermsUtil[_0x47c770(0x74)](_0x47c770(0x70)),'sortable':!0x1,'width':0x64,'record':{'align':_0x47c770(0x7f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x47c770(0x99),'name':_0x47c770(0x9b),'header':TermsUtil[_0x47c770(0x74)](_0x47c770(0x71)),'sortable':!0x1,'width':0x64,'record':{'align':_0x47c770(0x7f),'editable':!0x0,'mandatory':!0x0}}]};}};