@things-factory/operato-tools 6.2.33 → 6.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,86 +1,86 @@
1
- function a0_0x17ae(_0xc38773,_0x28e509){const _0x4d69a6=a0_0x4d69();return a0_0x17ae=function(_0x17ae60,_0x281c06){_0x17ae60=_0x17ae60-0x1df;let _0x164c60=_0x4d69a6[_0x17ae60];return _0x164c60;},a0_0x17ae(_0xc38773,_0x28e509);}const a0_0x4f273e=a0_0x17ae;(function(_0x3a0291,_0x525a5f){const _0x1ef43f=a0_0x17ae,_0x22d7f3=_0x3a0291();while(!![]){try{const _0x1e453d=parseInt(_0x1ef43f(0x1ff))/0x1*(parseInt(_0x1ef43f(0x20c))/0x2)+parseInt(_0x1ef43f(0x206))/0x3*(parseInt(_0x1ef43f(0x214))/0x4)+parseInt(_0x1ef43f(0x1fe))/0x5*(parseInt(_0x1ef43f(0x1ed))/0x6)+-parseInt(_0x1ef43f(0x218))/0x7+parseInt(_0x1ef43f(0x203))/0x8*(parseInt(_0x1ef43f(0x1e5))/0x9)+-parseInt(_0x1ef43f(0x20d))/0xa*(parseInt(_0x1ef43f(0x1e4))/0xb)+-parseInt(_0x1ef43f(0x1f1))/0xc;if(_0x1e453d===_0x525a5f)break;else _0x22d7f3['push'](_0x22d7f3['shift']());}catch(_0x35a1ea){_0x22d7f3['push'](_0x22d7f3['shift']());}}}(a0_0x4d69,0xa66be));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x4d69(){const _0x5236b9=['setGridConfigTabValues','1076317GydTko','954pZKbTL','mobile_mode','select-row-toggle','grid_term_default','getElementValueById','name','gridPageOptions','renderGridConfigTab','144YWmbiu','map','GRID','push','10024584FEQady','GRID_PAGE_OPTIONS','unuse','use_filter_form','support','toLowerCase','unlimited','gridViewModes','grid_term_unlimited','pages','grid','card_view_use','use_row_checker','178610VSLkev','41901YHGUHa','viewGridData','_view_use','multiple_select','12112YxbWNz','option','GRID_VIEW_MODE','36aNmYEM','grid_use_row_check','tLabel','getGridConfigTabValues','setGridConfigTabConfig','row','44AZPJgQ','60nsSljR','grid_pagination','description','grid_use_filter','grid_mobile_view','setGridConfigTabDetaultValues','desk_mode','116528NdokVC','grid_support_view','codeItems','true','1295644RrlMdl','grid_desk_view','includes','use','grid_term_1000','grid_term_100','view_mode'];a0_0x4d69=function(){return _0x5236b9;};return a0_0x4d69();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0x4de0d6=>class extends _0x4de0d6{[a0_0x4f273e(0x1e3)](_0x50e094){const _0x5df03d=a0_0x4f273e;if(_0x50e094){var {mobile_mode:_0x322ab1='',desk_mode:_0x3cecdc='',pages:_0x29f790=[],use_row_checker:_0x5a99e2=!0x0,view_mode:_0x3f49b8=[]}=_0x50e094[_0x5df03d(0x204)]||{};let _0x4fa8a1=(_0x50e094[_0x5df03d(0x20b)]||{'multiple_select':!0x1})[_0x5df03d(0x202)],_0x10637f=_0x5df03d(0x1f7)==_0x29f790?'grid_term_unlimited':0x0==_0x29f790['length']?'':0x14==_0x29f790[0x0]?_0x5df03d(0x1e8):'grid_term_'+_0x29f790[0x0];this[_0x5df03d(0x200)]={'mobile_mode':_0x322ab1,'desk_mode':_0x3cecdc,'use_row_checker':_0x5a99e2,'pages':_0x10637f,'view_mode':_0x3f49b8,'multiple_select':_0x4fa8a1,'use_filter_form':_0x50e094['use_filter_form']};}else this['setGridConfigTabDetaultValues']();}[a0_0x4f273e(0x209)](){const _0x58f4da=a0_0x4f273e;let _0x49e2ee={'grid':{'option':{},'row':{'click':_0x58f4da(0x1e7)}}},_0x21a772=this[_0x58f4da(0x1e9)]('grid_row_check_use'),_0x2eebf8=this[_0x58f4da(0x1e9)]('grid_multi_select'),_0x4ea439=this[_0x58f4da(0x1e9)](_0x58f4da(0x219)),_0x444af8=this['getElementValueById'](_0x58f4da(0x211)),_0x2a92d2=this[_0x58f4da(0x1e9)]('grid_use_filter'),_0x1e0ad5=this[_0x58f4da(0x1e9)](_0x58f4da(0x20e)),_0x117518=this['getElementValueById']('grid_view_use'),_0x303a03=this[_0x58f4da(0x1e9)]('list_view_use'),_0x4c08b9=this[_0x58f4da(0x1e9)](_0x58f4da(0x1fc));return _0x49e2ee['grid']['use_filter_form']=_0x58f4da(0x217)==_0x2a92d2,_0x49e2ee[_0x58f4da(0x1fb)]['row'][_0x58f4da(0x202)]=_0x58f4da(0x217)==_0x2eebf8,_0x49e2ee['grid'][_0x58f4da(0x204)]['use_row_checker']=_0x58f4da(0x217)==_0x21a772,_0x49e2ee['grid']['option']['mobile_mode']=_0x444af8,_0x49e2ee[_0x58f4da(0x1fb)][_0x58f4da(0x204)][_0x58f4da(0x213)]=_0x4ea439,'grid_term_default'==_0x1e0ad5?_0x49e2ee['grid'][_0x58f4da(0x204)]['pages']=[0x14,0x1e,0x32,0x64]:'grid_term_50'==_0x1e0ad5?_0x49e2ee['grid'][_0x58f4da(0x204)]['pages']=[0x32,0x64,0x1f4,0x3e8]:_0x58f4da(0x1e1)==_0x1e0ad5?_0x49e2ee['grid']['option'][_0x58f4da(0x1fa)]=[0x64,0x1f4,0x3e8,0x1388]:_0x58f4da(0x1e0)==_0x1e0ad5?_0x49e2ee[_0x58f4da(0x1fb)][_0x58f4da(0x204)]['pages']=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x58f4da(0x1f9)==_0x1e0ad5&&(_0x49e2ee['grid']['option'][_0x58f4da(0x1fa)]='unlimited'),_0x49e2ee[_0x58f4da(0x1fb)]['option']['view_mode']=[],'true'==_0x117518&&_0x49e2ee[_0x58f4da(0x1fb)][_0x58f4da(0x204)][_0x58f4da(0x1e2)][_0x58f4da(0x1f0)](_0x58f4da(0x1ef)),_0x58f4da(0x217)==_0x303a03&&_0x49e2ee[_0x58f4da(0x1fb)][_0x58f4da(0x204)][_0x58f4da(0x1e2)]['push']('LIST'),_0x58f4da(0x217)==_0x4c08b9&&_0x49e2ee['grid'][_0x58f4da(0x204)][_0x58f4da(0x1e2)][_0x58f4da(0x1f0)]('CARD'),_0x49e2ee;}async[a0_0x4f273e(0x20a)](){const _0x13c267=a0_0x4f273e;let _0x12961b=await MetaApi[_0x13c267(0x216)](_0x13c267(0x1f2)),_0x22aabe=await MetaApi[_0x13c267(0x216)](_0x13c267(0x205));this[_0x13c267(0x1f8)]=_0x22aabe,this['gridPageOptions']=_0x12961b;}[a0_0x4f273e(0x212)](){const _0x3832a4=a0_0x4f273e;this[_0x3832a4(0x200)]||(this[_0x3832a4(0x200)]={'mobile_mode':this[_0x3832a4(0x1f8)]?this[_0x3832a4(0x1f8)][0x1]:'LIST','desk_mode':this[_0x3832a4(0x1f8)]?this[_0x3832a4(0x1f8)][0x0]:_0x3832a4(0x1ef),'use_row_checker':!0x0,'pages':_0x3832a4(0x1e8),'view_mode':[...this[_0x3832a4(0x1f8)]?this[_0x3832a4(0x1f8)]:[_0x3832a4(0x1ef),'LIST','CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x4f273e(0x1ec)](){const _0x3935ea=a0_0x4f273e;return this[_0x3935ea(0x212)](),html`
1
+ function a0_0x3835(){const _0xc509b9=['grid_multi_select','use_row_checker','viewGridData','renderGridConfigTab','multiple_select','unsupport','_view_use','13235Zxjmpz','pages','getGridConfigTabValues','578dffPtS','2545250jJiKOt','GRID_PAGE_OPTIONS','grid_term_default','grid_mobile_view','grid_row_check_use','use','list_view_use','toLowerCase','1148DyUBlI','codeItems','description','support','view_mode','option','row','2528001wjDvkT','select-row-toggle','unuse','use_filter_form','map','918qxbzzw','GRID','grid_term_unlimited','getElementValueById','gridViewModes','includes','grid_support_multi_select','13434CDRPLd','setGridConfigTabConfig','grid_support_view','3014374VacRcX','LIST','tLabel','342JWCwXN','length','true','setGridConfigTabDetaultValues','gridPageOptions','desk_mode','240lSgVyA','grid_desk_view','grid_pagination','grid_term_1000','grid','push','mobile_mode','grid_term_','card_view_use','grid_term_50','6032pBbNJn','name','grid_use_filter','CARD','GRID_VIEW_MODE'];a0_0x3835=function(){return _0xc509b9;};return a0_0x3835();}function a0_0x326e(_0x1d3815,_0x347b6c){const _0x383589=a0_0x3835();return a0_0x326e=function(_0x326ecb,_0x4b8bbf){_0x326ecb=_0x326ecb-0x141;let _0x3d72e6=_0x383589[_0x326ecb];return _0x3d72e6;},a0_0x326e(_0x1d3815,_0x347b6c);}const a0_0x472427=a0_0x326e;(function(_0x180498,_0x597f18){const _0x2f7955=a0_0x326e,_0x3bb01c=_0x180498();while(!![]){try{const _0x1091f4=-parseInt(_0x2f7955(0x149))/0x1*(-parseInt(_0x2f7955(0x15e))/0x2)+parseInt(_0x2f7955(0x165))/0x3*(parseInt(_0x2f7955(0x171))/0x4)+-parseInt(_0x2f7955(0x146))/0x5*(parseInt(_0x2f7955(0x16b))/0x6)+parseInt(_0x2f7955(0x152))/0x7*(parseInt(_0x2f7955(0x17b))/0x8)+-parseInt(_0x2f7955(0x159))/0x9+-parseInt(_0x2f7955(0x14a))/0xa+parseInt(_0x2f7955(0x168))/0xb;if(_0x1091f4===_0x597f18)break;else _0x3bb01c['push'](_0x3bb01c['shift']());}catch(_0x122610){_0x3bb01c['push'](_0x3bb01c['shift']());}}}(a0_0x3835,0x3be83));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0xd70faa=>class extends _0xd70faa{['setGridConfigTabValues'](_0x10ecdc){const _0x58f1b9=a0_0x326e;if(_0x10ecdc){var {mobile_mode:_0x81ec28='',desk_mode:_0x34a676='',pages:_0x5ba602=[],use_row_checker:_0x171fac=!0x0,view_mode:_0x1c8c2e=[]}=_0x10ecdc['option']||{};let _0x55f89d=(_0x10ecdc['row']||{'multiple_select':!0x1})[_0x58f1b9(0x143)],_0x52f402='unlimited'==_0x5ba602?_0x58f1b9(0x160):0x0==_0x5ba602[_0x58f1b9(0x16c)]?'':0x14==_0x5ba602[0x0]?_0x58f1b9(0x14c):_0x58f1b9(0x178)+_0x5ba602[0x0];this[_0x58f1b9(0x141)]={'mobile_mode':_0x81ec28,'desk_mode':_0x34a676,'use_row_checker':_0x171fac,'pages':_0x52f402,'view_mode':_0x1c8c2e,'multiple_select':_0x55f89d,'use_filter_form':_0x10ecdc['use_filter_form']};}else this[_0x58f1b9(0x16e)]();}[a0_0x472427(0x148)](){const _0x50312f=a0_0x472427;let _0x452e7b={'grid':{'option':{},'row':{'click':_0x50312f(0x15a)}}},_0x395cea=this['getElementValueById'](_0x50312f(0x14e)),_0x8a7e68=this[_0x50312f(0x161)](_0x50312f(0x180)),_0x406b70=this[_0x50312f(0x161)](_0x50312f(0x172)),_0x4f6d56=this[_0x50312f(0x161)](_0x50312f(0x14d)),_0x1b7cb9=this[_0x50312f(0x161)](_0x50312f(0x17d)),_0x37bdab=this['getElementValueById'](_0x50312f(0x173)),_0x449e0d=this['getElementValueById']('grid_view_use'),_0x4e732a=this[_0x50312f(0x161)](_0x50312f(0x150)),_0x1cf943=this['getElementValueById'](_0x50312f(0x179));return _0x452e7b['grid'][_0x50312f(0x15c)]='true'==_0x1b7cb9,_0x452e7b['grid'][_0x50312f(0x158)][_0x50312f(0x143)]=_0x50312f(0x16d)==_0x8a7e68,_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)]['use_row_checker']='true'==_0x395cea,_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)]['mobile_mode']=_0x4f6d56,_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x170)]=_0x406b70,_0x50312f(0x14c)==_0x37bdab?_0x452e7b['grid']['option'][_0x50312f(0x147)]=[0x14,0x1e,0x32,0x64]:_0x50312f(0x17a)==_0x37bdab?_0x452e7b[_0x50312f(0x175)]['option']['pages']=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0x37bdab?_0x452e7b[_0x50312f(0x175)]['option'][_0x50312f(0x147)]=[0x64,0x1f4,0x3e8,0x1388]:_0x50312f(0x174)==_0x37bdab?_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x147)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x50312f(0x160)==_0x37bdab&&(_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x147)]='unlimited'),_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x156)]=[],'true'==_0x449e0d&&_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x156)][_0x50312f(0x176)](_0x50312f(0x15f)),_0x50312f(0x16d)==_0x4e732a&&_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)]['view_mode']['push'](_0x50312f(0x169)),_0x50312f(0x16d)==_0x1cf943&&_0x452e7b[_0x50312f(0x175)][_0x50312f(0x157)][_0x50312f(0x156)][_0x50312f(0x176)](_0x50312f(0x17e)),_0x452e7b;}async[a0_0x472427(0x166)](){const _0x35aa5c=a0_0x472427;let _0xedcb3=await MetaApi['codeItems'](_0x35aa5c(0x14b)),_0x3d006a=await MetaApi[_0x35aa5c(0x153)](_0x35aa5c(0x17f));this['gridViewModes']=_0x3d006a,this[_0x35aa5c(0x16f)]=_0xedcb3;}[a0_0x472427(0x16e)](){const _0x531448=a0_0x472427;this['viewGridData']||(this[_0x531448(0x141)]={'mobile_mode':this[_0x531448(0x162)]?this[_0x531448(0x162)][0x1]:'LIST','desk_mode':this[_0x531448(0x162)]?this[_0x531448(0x162)][0x0]:_0x531448(0x15f),'use_row_checker':!0x0,'pages':'grid_term_default','view_mode':[...this['gridViewModes']?this['gridViewModes']:[_0x531448(0x15f),'LIST',_0x531448(0x17e)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x472427(0x142)](){const _0x2fe424=a0_0x472427;return this[_0x2fe424(0x16e)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x3935ea(0x207))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)]('grid_use_row_check')}
6
6
  </h2>
7
7
  <label>
8
8
  <span>
9
9
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="true"
10
- ?checked=${this['viewGridData'][_0x3935ea(0x1fd)]}>${TermsUtil[_0x3935ea(0x208)](_0x3935ea(0x1df))}</input>
10
+ ?checked=${this['viewGridData'][_0x2fe424(0x181)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x14f))}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this[_0x3935ea(0x200)][_0x3935ea(0x1fd)]}>${TermsUtil[_0x3935ea(0x208)](_0x3935ea(0x1f3))}</input>
12
+ ?checked=${!this[_0x2fe424(0x141)][_0x2fe424(0x181)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x15b))}</input>
13
13
  </span>
14
14
  </label>
15
15
  </div>
16
16
  <div field>
17
17
  <h2>
18
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3935ea(0x208)]('grid_support_multi_select')}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x164))}
19
19
  </h2>
20
20
  <label>
21
21
  <span>
22
22
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="true"
23
- ?checked=${this[_0x3935ea(0x200)]['multiple_select']}>${TermsUtil[_0x3935ea(0x208)](_0x3935ea(0x1f5))}</input>
23
+ ?checked=${this['viewGridData'][_0x2fe424(0x143)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x155))}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this['viewGridData']['multiple_select']}>${TermsUtil[_0x3935ea(0x208)]('unsupport')}</input>
25
+ ?checked=${!this[_0x2fe424(0x141)]['multiple_select']}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x144))}</input>
26
26
  </span>
27
27
  </label>
28
28
  </div>
29
29
  <div field>
30
30
  <h2>
31
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x3935ea(0x210))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x2fe424(0x17d))}
32
32
  </h2>
33
33
  <label>
34
34
  <span>
35
35
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="true"
36
- ?checked=${this[_0x3935ea(0x200)]['use_filter_form']}>${TermsUtil[_0x3935ea(0x208)]('use')}</input>
36
+ ?checked=${this['viewGridData'][_0x2fe424(0x15c)]}>${TermsUtil['tLabel'](_0x2fe424(0x14f))}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this[_0x3935ea(0x200)][_0x3935ea(0x1f4)]}>${TermsUtil[_0x3935ea(0x208)](_0x3935ea(0x1f3))}</input>
38
+ ?checked=${!this[_0x2fe424(0x141)][_0x2fe424(0x15c)]}>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x15b))}</input>
39
39
  </span>
40
40
  </label>
41
41
  </div>
42
42
  <div></div>
43
43
  <div field>
44
44
  <h2>
45
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3935ea(0x208)]('grid_desk_view')}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x2fe424(0x172))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this[_0x3935ea(0x1f8)]?.[_0x3935ea(0x1ee)](_0x212849=>html`<option value=${_0x212849[_0x3935ea(0x1ea)]} ?selected=${this[_0x3935ea(0x200)][_0x3935ea(0x213)]==_0x212849['name']}>${_0x212849['description']}</option>`)}
49
+ ${this[_0x2fe424(0x162)]?.['map'](_0x594974=>html`<option value=${_0x594974[_0x2fe424(0x17c)]} ?selected=${this[_0x2fe424(0x141)][_0x2fe424(0x170)]==_0x594974[_0x2fe424(0x17c)]}>${_0x594974[_0x2fe424(0x154)]}</option>`)}
50
50
  </select>
51
51
  </label>
52
52
  </div>
53
53
  <div field>
54
54
  <h2>
55
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3935ea(0x208)](_0x3935ea(0x211))}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x2fe424(0x14d))}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this[_0x3935ea(0x1f8)]?.['map'](_0x359387=>html`<option value=${_0x359387[_0x3935ea(0x1ea)]} ?selected=${this[_0x3935ea(0x200)][_0x3935ea(0x1e6)]==_0x359387[_0x3935ea(0x1ea)]}>${_0x359387[_0x3935ea(0x20f)]}</option>`)}
59
+ ${this['gridViewModes']?.[_0x2fe424(0x15d)](_0x4615c4=>html`<option value=${_0x4615c4[_0x2fe424(0x17c)]} ?selected=${this[_0x2fe424(0x141)][_0x2fe424(0x177)]==_0x4615c4[_0x2fe424(0x17c)]}>${_0x4615c4[_0x2fe424(0x154)]}</option>`)}
60
60
  </select>
61
61
  </label>
62
62
  </div>
63
63
  <div field>
64
64
  <h2>
65
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x3935ea(0x215))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x167))}
66
66
  </h2>
67
67
  <label>
68
- ${this[_0x3935ea(0x1f8)]?.['map'](_0x3c02a0=>html`
69
- <span>${_0x3c02a0[_0x3935ea(0x1ea)]}
70
- <input type="radio" name=${_0x3c02a0[_0x3935ea(0x1ea)]['toLowerCase']()+_0x3935ea(0x201)} id=${_0x3c02a0[_0x3935ea(0x1ea)][_0x3935ea(0x1f6)]()+'_view_use'} ?checked=${this[_0x3935ea(0x200)][_0x3935ea(0x1e2)]['includes'](_0x3c02a0[_0x3935ea(0x1ea)])} value="true">${TermsUtil[_0x3935ea(0x208)](_0x3935ea(0x1df))}</input>
71
- <input type="radio" name=${_0x3c02a0[_0x3935ea(0x1ea)][_0x3935ea(0x1f6)]()+_0x3935ea(0x201)} id=${_0x3c02a0[_0x3935ea(0x1ea)][_0x3935ea(0x1f6)]()+_0x3935ea(0x201)} ?checked=${!this[_0x3935ea(0x200)]['view_mode'][_0x3935ea(0x21a)](_0x3c02a0[_0x3935ea(0x1ea)])} value="false">${TermsUtil[_0x3935ea(0x208)]('unuse')}</input>
68
+ ${this['gridViewModes']?.['map'](_0x14991a=>html`
69
+ <span>${_0x14991a[_0x2fe424(0x17c)]}
70
+ <input type="radio" name=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+_0x2fe424(0x145)} id=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+_0x2fe424(0x145)} ?checked=${this[_0x2fe424(0x141)][_0x2fe424(0x156)][_0x2fe424(0x163)](_0x14991a[_0x2fe424(0x17c)])} value="true">${TermsUtil['tLabel']('use')}</input>
71
+ <input type="radio" name=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+'_view_use'} id=${_0x14991a[_0x2fe424(0x17c)][_0x2fe424(0x151)]()+_0x2fe424(0x145)} ?checked=${!this['viewGridData'][_0x2fe424(0x156)][_0x2fe424(0x163)](_0x14991a[_0x2fe424(0x17c)])} value="false">${TermsUtil[_0x2fe424(0x16a)](_0x2fe424(0x15b))}</input>
72
72
  </span>
73
73
  `)}
74
74
  </label>
75
75
  </div>
76
76
  <div field>
77
77
  <h2>
78
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3935ea(0x208)](_0x3935ea(0x20e))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2fe424(0x16a)]('grid_pagination')}
79
79
  </h2>
80
80
  <label>
81
- ${this[_0x3935ea(0x1eb)]?.[_0x3935ea(0x1ee)](_0x2e1ea7=>html`
81
+ ${this[_0x2fe424(0x16f)]?.[_0x2fe424(0x15d)](_0x3d48e8=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x2e1ea7[_0x3935ea(0x1ea)]} ?checked=${this[_0x3935ea(0x200)][_0x3935ea(0x1fa)]==_0x2e1ea7[_0x3935ea(0x1ea)]}>${TermsUtil['tLabel'](_0x2e1ea7[_0x3935ea(0x1ea)])}</input>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x3d48e8[_0x2fe424(0x17c)]} ?checked=${this['viewGridData'][_0x2fe424(0x147)]==_0x3d48e8[_0x2fe424(0x17c)]}>${TermsUtil['tLabel'](_0x3d48e8['name'])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
1
- const a0_0x3fa9d0=a0_0x13e4;(function(_0xb470ac,_0x2276bd){const _0x409edd=a0_0x13e4,_0x826086=_0xb470ac();while(!![]){try{const _0x17f894=-parseInt(_0x409edd(0x17f))/0x1*(parseInt(_0x409edd(0x167))/0x2)+parseInt(_0x409edd(0x165))/0x3+parseInt(_0x409edd(0x162))/0x4+parseInt(_0x409edd(0x172))/0x5*(parseInt(_0x409edd(0x185))/0x6)+parseInt(_0x409edd(0x17e))/0x7*(parseInt(_0x409edd(0x169))/0x8)+parseInt(_0x409edd(0x15e))/0x9*(-parseInt(_0x409edd(0x18b))/0xa)+parseInt(_0x409edd(0x195))/0xb;if(_0x17f894===_0x2276bd)break;else _0x826086['push'](_0x826086['shift']());}catch(_0x15611e){_0x826086['push'](_0x826086['shift']());}}}(a0_0x6a7d,0x2aaf4));import{html}from'lit-element';function a0_0x13e4(_0x1f1f0,_0xdb89ae){const _0x6a7d28=a0_0x6a7d();return a0_0x13e4=function(_0x13e4aa,_0x2eaf35){_0x13e4aa=_0x13e4aa-0x15e;let _0x466c18=_0x6a7d28[_0x13e4aa];return _0x466c18;},a0_0x13e4(_0x1f1f0,_0xdb89ae);}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=_0x40d960=>class extends _0x40d960{['setGridEmphasizedConfigTabValues'](_0x774f4a){const _0xf724fd=a0_0x13e4;if(_0x774f4a){this[_0xf724fd(0x163)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x4601b8=0x1;this[_0xf724fd(0x163)][_0xf724fd(0x180)]=(_0x774f4a[_0xf724fd(0x182)]||[])[_0xf724fd(0x161)](_0x4cd818=>({'id':_0x4601b8,'rank':_0x4601b8++,'backgroundColor':_0x4cd818[_0xf724fd(0x171)]||'','fontColor':_0x4cd818[_0xf724fd(0x186)]||'','logic':_0x4cd818[_0xf724fd(0x176)]||''})),_0x4601b8=0x1;let _0x9ab300=_0x774f4a[_0xf724fd(0x189)]||[];Object[_0xf724fd(0x184)](_0x9ab300)[_0xf724fd(0x18f)](_0x24e817=>{const _0x30f617=_0xf724fd;let _0x184d36=_0x9ab300[_0x24e817]||[],_0x37e2b2=0x1;_0x184d36[_0x30f617(0x18f)](_0x2141f2=>{const _0x592c12=_0x30f617;this[_0x592c12(0x163)][_0x592c12(0x18a)][_0x592c12(0x15f)]({'id':_0x4601b8++,'rank':_0x37e2b2++,'column':_0x24e817,'backgroundColor':_0x2141f2[_0x592c12(0x171)]||'','fontColor':_0x2141f2['fontColor']||'','logic':_0x2141f2[_0x592c12(0x176)]||''});});}),this['emphasizedConfigTabColumnEmphasizedGrist']?.[_0xf724fd(0x177)](),this[_0xf724fd(0x194)]?.['fetch']();}else this['setGridEmphasizedConfigTabDefaultValues']();}[a0_0x3fa9d0(0x188)](){const _0x663887=a0_0x3fa9d0;let _0x1dd26a=this[_0x663887(0x17a)](_0x663887(0x18d)),_0x2c89c8=this['getElementValueById'](_0x663887(0x191)),_0x821853=[];this[_0x663887(0x16c)](_0x1dd26a)?.[_0x663887(0x18f)](_0x2c1cc3=>{const _0x213418=_0x663887;_0x821853[_0x213418(0x15f)]({'backgroundColor':_0x2c1cc3[_0x213418(0x171)],'fontColor':_0x2c1cc3[_0x213418(0x186)],'logic':_0x2c1cc3[_0x213418(0x176)]});});let _0x493754={};return this['sortRecordByRank'](_0x2c89c8)?.[_0x663887(0x18f)](_0x12bd67=>{const _0x2fddff=_0x663887;_0x493754[_0x12bd67[_0x2fddff(0x189)]]||(_0x493754[_0x12bd67[_0x2fddff(0x189)]]=[]),_0x493754[_0x12bd67['column']][_0x2fddff(0x15f)]({'backgroundColor':_0x12bd67[_0x2fddff(0x171)],'fontColor':_0x12bd67['fontColor'],'logic':_0x12bd67['logic']});}),{'gridEmphasized':{'row':_0x821853||[],'column':_0x493754||{}}};}get[a0_0x3fa9d0(0x194)](){return this['shadowRoot']['querySelector']('#row-emphasized-grist');}get[a0_0x3fa9d0(0x175)](){const _0x15b95d=a0_0x3fa9d0;return this[_0x15b95d(0x168)][_0x15b95d(0x179)](_0x15b95d(0x183));}['setGridEmphasizedConfigTabConfig'](){const _0x1038fe=a0_0x3fa9d0;this[_0x1038fe(0x160)]={'rows':MetaApi[_0x1038fe(0x164)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x1038fe(0x192)](!0x1,!0x1),{'type':_0x1038fe(0x16d),'gutterName':_0x1038fe(0x174),'icon':_0x1038fe(0x178),'handlers':{'click':(_0x5765f2,_0x59b83d,_0x5ba16f,_0x7d7ae8,_0x4f6f50)=>{const _0x4baefb=_0x1038fe;_0x7d7ae8['id']&&this[_0x4baefb(0x16a)](this['emphasizedConfigTabRowEmphasizedGrist'],_0x7d7ae8);}}},{'type':_0x1038fe(0x17c),'name':'id','hidden':!0x0},{'type':_0x1038fe(0x16e),'name':_0x1038fe(0x166),'header':TermsUtil[_0x1038fe(0x187)](_0x1038fe(0x166)),'sortable':!0x1,'width':0x37,'record':{'align':_0x1038fe(0x18e),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x1038fe(0x171),'header':TermsUtil[_0x1038fe(0x187)](_0x1038fe(0x193)),'record':{'align':_0x1038fe(0x170),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x1038fe(0x17c),'name':_0x1038fe(0x186),'header':TermsUtil[_0x1038fe(0x187)]('font-color'),'record':{'align':_0x1038fe(0x170),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x1038fe(0x190),'name':'logic','header':TermsUtil['tLabel'](_0x1038fe(0x176)),'record':{'align':_0x1038fe(0x170),'editable':!0x0,'mandatory':!0x0},'width':0x352}]},this['columnEmphasizedConfig']={'rows':MetaApi[_0x1038fe(0x164)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x1038fe(0x192)](!0x1,!0x1),{'type':_0x1038fe(0x16d),'gutterName':_0x1038fe(0x174),'icon':_0x1038fe(0x178),'handlers':{'click':(_0x2d859f,_0xcbd4b6,_0x39d201,_0x3aa4fe,_0x329325)=>{const _0x8a0998=_0x1038fe;_0x3aa4fe['id']&&this[_0x8a0998(0x16a)](this['emphasizedConfigTabColumnEmphasizedGrist'],_0x3aa4fe);}}},{'type':_0x1038fe(0x17c),'name':'id','hidden':!0x0},{'type':_0x1038fe(0x16e),'name':_0x1038fe(0x166),'header':TermsUtil[_0x1038fe(0x187)](_0x1038fe(0x166)),'sortable':!0x1,'width':0x37,'record':{'align':_0x1038fe(0x18e),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1038fe(0x17c),'name':_0x1038fe(0x189),'header':TermsUtil['tLabel'](_0x1038fe(0x189)),'record':{'align':_0x1038fe(0x170),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x1038fe(0x171),'header':TermsUtil['tLabel']('background-color'),'record':{'align':_0x1038fe(0x170),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x1038fe(0x186),'header':TermsUtil['tLabel'](_0x1038fe(0x17b)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'code-input','name':_0x1038fe(0x176),'header':TermsUtil[_0x1038fe(0x187)]('logic'),'record':{'align':_0x1038fe(0x170),'editable':!0x0,'mandatory':!0x0},'width':0x2d5}]};}[a0_0x3fa9d0(0x16f)](){this['viewEmphasizedData']||(this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]});}['renderGridEmphasizedConfigTab'](){const _0x4c0da5=a0_0x3fa9d0;return this[_0x4c0da5(0x16f)](),html`
1
+ const a0_0x8d2b07=a0_0x562a;function a0_0xe1ac(){const _0x4e2f15=['logic','26dqjvGP','fetchColumnEmphasized','columnEmphasizedConfig','code-input','4758415bduPqE','shadowRoot','4RZyLcv','forEach','integer','grid_column_emphasized_config','right','grid_row_emphasized_config','fontColor','getGristGuttersConfig','rowEmphasizedConfig','37252089IVVJBj','button','rowEmphasizedData','gutter','1384536lAUTZY','emphasizedConfigTabColumnEmphasizedGrist','setGridEmphasizedConfigTabDefaultValues','928818JrIgso','101701VoUOlI','getGristSelectableConfig','fetchRowEmphasized','backgroundColor','tLabel','querySelector','left','columnEmphasizedData','fetch','rank','push','delete','setGridEmphasizedConfigTabConfig','viewEmphasizedData','7447265bxgtyG','background-color','emphasizedConfigTabRowEmphasizedGrist','#row-emphasized-grist','GRID','deleteRow','string','1374102JeVuXD','getGridEmphasizedConfigTabValues','keys','column','map'];a0_0xe1ac=function(){return _0x4e2f15;};return a0_0xe1ac();}(function(_0x203ab3,_0x1b7088){const _0x5289d4=a0_0x562a,_0x2aa6af=_0x203ab3();while(!![]){try{const _0x36a283=parseInt(_0x5289d4(0x133))/0x1*(-parseInt(_0x5289d4(0x11c))/0x2)+-parseInt(_0x5289d4(0x132))/0x3+parseInt(_0x5289d4(0x122))/0x4*(-parseInt(_0x5289d4(0x120))/0x5)+parseInt(_0x5289d4(0x116))/0x6+-parseInt(_0x5289d4(0x141))/0x7+parseInt(_0x5289d4(0x12f))/0x8+parseInt(_0x5289d4(0x12b))/0x9;if(_0x36a283===_0x1b7088)break;else _0x2aa6af['push'](_0x2aa6af['shift']());}catch(_0x1e2b31){_0x2aa6af['push'](_0x2aa6af['shift']());}}}(a0_0xe1ac,0xda3d4));function a0_0x562a(_0xc81339,_0x46d893){const _0xe1acb3=a0_0xe1ac();return a0_0x562a=function(_0x562a32,_0x45f307){_0x562a32=_0x562a32-0x114;let _0x4ab930=_0xe1acb3[_0x562a32];return _0x4ab930;},a0_0x562a(_0xc81339,_0x46d893);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x3c8237=>class extends _0x3c8237{['setGridEmphasizedConfigTabValues'](_0x586934){const _0x206ae7=a0_0x562a;if(_0x586934){this[_0x206ae7(0x140)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x509440=0x1;this[_0x206ae7(0x140)][_0x206ae7(0x12d)]=(_0x586934['row']||[])[_0x206ae7(0x11a)](_0x4e86b7=>({'id':_0x509440,'rank':_0x509440++,'backgroundColor':_0x4e86b7[_0x206ae7(0x136)]||'','fontColor':_0x4e86b7['fontColor']||'','logic':_0x4e86b7['logic']||''})),_0x509440=0x1;let _0x57575b=_0x586934[_0x206ae7(0x119)]||[];Object[_0x206ae7(0x118)](_0x57575b)[_0x206ae7(0x123)](_0xc3bcda=>{let _0x476866=_0x57575b[_0xc3bcda]||[],_0x3bddc8=0x1;_0x476866['forEach'](_0xc04788=>{const _0xead5a1=a0_0x562a;this[_0xead5a1(0x140)][_0xead5a1(0x13a)][_0xead5a1(0x13d)]({'id':_0x509440++,'rank':_0x3bddc8++,'column':_0xc3bcda,'backgroundColor':_0xc04788[_0xead5a1(0x136)]||'','fontColor':_0xc04788[_0xead5a1(0x128)]||'','logic':_0xc04788['logic']||''});});}),this[_0x206ae7(0x130)]?.[_0x206ae7(0x13b)](),this[_0x206ae7(0x143)]?.[_0x206ae7(0x13b)]();}else this[_0x206ae7(0x131)]();}[a0_0x8d2b07(0x117)](){const _0x1787e2=a0_0x8d2b07;let _0x458219=this['getElementValueById']('row-emphasized-grist'),_0x40f89c=this['getElementValueById']('column-emphasized-grist'),_0xe70ea5=[];this['sortRecordByRank'](_0x458219)?.[_0x1787e2(0x123)](_0x4c4de4=>{const _0x4bb8ea=_0x1787e2;_0xe70ea5['push']({'backgroundColor':_0x4c4de4['backgroundColor'],'fontColor':_0x4c4de4[_0x4bb8ea(0x128)],'logic':_0x4c4de4['logic']});});let _0x2da690={};return this['sortRecordByRank'](_0x40f89c)?.[_0x1787e2(0x123)](_0x551d13=>{const _0x2ab4bb=_0x1787e2;_0x2da690[_0x551d13['column']]||(_0x2da690[_0x551d13[_0x2ab4bb(0x119)]]=[]),_0x2da690[_0x551d13['column']][_0x2ab4bb(0x13d)]({'backgroundColor':_0x551d13['backgroundColor'],'fontColor':_0x551d13[_0x2ab4bb(0x128)],'logic':_0x551d13['logic']});}),{'gridEmphasized':{'row':_0xe70ea5||[],'column':_0x2da690||{}}};}get[a0_0x8d2b07(0x143)](){const _0x34b8f3=a0_0x8d2b07;return this[_0x34b8f3(0x121)][_0x34b8f3(0x138)](_0x34b8f3(0x144));}get[a0_0x8d2b07(0x130)](){const _0xc2e7d0=a0_0x8d2b07;return this[_0xc2e7d0(0x121)][_0xc2e7d0(0x138)]('#column-emphasized-grist');}[a0_0x8d2b07(0x13f)](){const _0x273f15=a0_0x8d2b07;this[_0x273f15(0x12a)]={'rows':MetaApi[_0x273f15(0x134)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x273f15(0x129)](!0x1,!0x1),{'type':_0x273f15(0x12e),'gutterName':'button','icon':_0x273f15(0x13e),'handlers':{'click':(_0x75f411,_0x246dbc,_0x8c4554,_0x1e2578,_0x187ecf)=>{const _0x27c4cc=_0x273f15;_0x1e2578['id']&&this[_0x27c4cc(0x114)](this[_0x27c4cc(0x143)],_0x1e2578);}}},{'type':_0x273f15(0x115),'name':'id','hidden':!0x0},{'type':_0x273f15(0x124),'name':_0x273f15(0x13c),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x13c)),'sortable':!0x1,'width':0x37,'record':{'align':_0x273f15(0x126),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x273f15(0x136),'header':TermsUtil['tLabel'](_0x273f15(0x142)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x115),'name':_0x273f15(0x128),'header':TermsUtil[_0x273f15(0x137)]('font-color'),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x11f),'name':_0x273f15(0x11b),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x11b)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x352}]},this['columnEmphasizedConfig']={'rows':MetaApi[_0x273f15(0x134)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x273f15(0x129)](!0x1,!0x1),{'type':_0x273f15(0x12e),'gutterName':_0x273f15(0x12c),'icon':_0x273f15(0x13e),'handlers':{'click':(_0x1a26cf,_0x12bb20,_0x530482,_0x1cd7ed,_0x699430)=>{const _0x266fed=_0x273f15;_0x1cd7ed['id']&&this['deleteRow'](this[_0x266fed(0x130)],_0x1cd7ed);}}},{'type':_0x273f15(0x115),'name':'id','hidden':!0x0},{'type':'integer','name':_0x273f15(0x13c),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x13c)),'sortable':!0x1,'width':0x37,'record':{'align':_0x273f15(0x126),'editable':!0x0,'mandatory':!0x0}},{'type':_0x273f15(0x115),'name':_0x273f15(0x119),'header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x119)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x115),'name':'backgroundColor','header':TermsUtil[_0x273f15(0x137)](_0x273f15(0x142)),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x115),'name':'fontColor','header':TermsUtil['tLabel']('font-color'),'record':{'align':_0x273f15(0x139),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x273f15(0x11f),'name':_0x273f15(0x11b),'header':TermsUtil[_0x273f15(0x137)]('logic'),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x2d5}]};}[a0_0x8d2b07(0x131)](){const _0x27651e=a0_0x8d2b07;this[_0x27651e(0x140)]||(this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]});}['renderGridEmphasizedConfigTab'](){const _0x379392=a0_0x8d2b07;return this[_0x379392(0x131)](),html`
2
2
  <div style='grid-template-rows: 50% 50%;display:grid;flex:1;'>
3
3
  <div field >
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4c0da5(0x187)](_0x4c0da5(0x17d))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x379392(0x137)](_0x379392(0x127))}
6
6
  </h2>
7
- <ox-grist id="row-emphasized-grist" .config=${this[_0x4c0da5(0x160)]} .mode=${_0x4c0da5(0x173)} auto-fetch
8
- .fetchHandler=${this[_0x4c0da5(0x16b)]['bind'](this)}></ox-grist>
7
+ <ox-grist id="row-emphasized-grist" .config=${this[_0x379392(0x12a)]} .mode=${_0x379392(0x145)} auto-fetch
8
+ .fetchHandler=${this[_0x379392(0x135)]['bind'](this)}></ox-grist>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x4c0da5(0x181))}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x379392(0x137)](_0x379392(0x125))}
13
13
  </h2>
14
- <ox-grist id="column-emphasized-grist" .config=${this['columnEmphasizedConfig']} .mode=${_0x4c0da5(0x173)} auto-fetch
15
- .fetchHandler=${this['fetchColumnEmphasized'][_0x4c0da5(0x18c)](this)}></ox-grist>
14
+ <ox-grist id="column-emphasized-grist" .config=${this[_0x379392(0x11e)]} .mode=${'GRID'} auto-fetch
15
+ .fetchHandler=${this['fetchColumnEmphasized']['bind'](this)}></ox-grist>
16
16
  </div>
17
17
  </div>
18
- `;}async[a0_0x3fa9d0(0x16b)](){const _0x89d00c=a0_0x3fa9d0;return{'records':this[_0x89d00c(0x163)]['rowEmphasizedData'],'total':0x0};}async['fetchColumnEmphasized'](){const _0x220a9d=a0_0x3fa9d0;return{'records':this[_0x220a9d(0x163)][_0x220a9d(0x18a)],'total':0x0};}};function a0_0x6a7d(){const _0x20d78e=['rowEmphasizedConfig','map','382036YMEeMJ','viewEmphasizedData','getGristSelectableConfig','215487FjLlAr','rank','426988QVKgNc','shadowRoot','383576LYWfet','deleteRow','fetchRowEmphasized','sortRecordByRank','gutter','integer','setGridEmphasizedConfigTabDefaultValues','left','backgroundColor','115gBvsVO','GRID','button','emphasizedConfigTabColumnEmphasizedGrist','logic','fetch','delete','querySelector','getElementValueById','font-color','string','grid_row_emphasized_config','21niqeJC','1iYQCvb','rowEmphasizedData','grid_column_emphasized_config','row','#column-emphasized-grist','keys','59460BLOgYS','fontColor','tLabel','getGridEmphasizedConfigTabValues','column','columnEmphasizedData','10LSLPbZ','bind','row-emphasized-grist','right','forEach','code-input','column-emphasized-grist','getGristGuttersConfig','background-color','emphasizedConfigTabRowEmphasizedGrist','408969eRkjiA','1691622UTZXib','push'];a0_0x6a7d=function(){return _0x20d78e;};return a0_0x6a7d();}
18
+ `;}async['fetchRowEmphasized'](){const _0x275906=a0_0x8d2b07;return{'records':this[_0x275906(0x140)][_0x275906(0x12d)],'total':0x0};}async[a0_0x8d2b07(0x11d)](){const _0x1e4fce=a0_0x8d2b07;return{'records':this['viewEmphasizedData'][_0x1e4fce(0x13a)],'total':0x0};}};
@@ -1,29 +1,29 @@
1
- function a0_0x191f(){const _0x5e5328=['display','getMenuConfigTabValues','desc','value','193914WtHuAs','menu_desc_field','1548QTLLkc','help_doc','menu_title','237332vYOuIB','title','menu_name_field','4782256UMlFos','description','menuTitleChange','viewMenuData','setMenuConfigTabDefaultValue','getElementById','2kOueyr','getElementValueById','130141Kcnvah','217aMUERv','1413UHVCYD','menu','renderMenuConfigTab','tLabel','40sknVea','46160DjvAkY','838891fSPFJF','tTitle','2957265OAThZh','name'];a0_0x191f=function(){return _0x5e5328;};return a0_0x191f();}const a0_0x13f055=a0_0x37a1;(function(_0x3a9bac,_0x41df9e){const _0x5f6371=a0_0x37a1,_0x3d0125=_0x3a9bac();while(!![]){try{const _0x34e222=parseInt(_0x5f6371(0x1a4))/0x1+-parseInt(_0x5f6371(0x19a))/0x2*(parseInt(_0x5f6371(0x1a6))/0x3)+parseInt(_0x5f6371(0x1b1))/0x4*(-parseInt(_0x5f6371(0x1a2))/0x5)+parseInt(_0x5f6371(0x1ac))/0x6*(parseInt(_0x5f6371(0x19d))/0x7)+-parseInt(_0x5f6371(0x1b4))/0x8+-parseInt(_0x5f6371(0x19e))/0x9*(parseInt(_0x5f6371(0x1a3))/0xa)+parseInt(_0x5f6371(0x19c))/0xb*(parseInt(_0x5f6371(0x1ae))/0xc);if(_0x34e222===_0x41df9e)break;else _0x3d0125['push'](_0x3d0125['shift']());}catch(_0x18b542){_0x3d0125['push'](_0x3d0125['shift']());}}}(a0_0x191f,0x8e982));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x37a1(_0x51be91,_0x2839c4){const _0x191ff6=a0_0x191f();return a0_0x37a1=function(_0x37a1ad,_0x474042){_0x37a1ad=_0x37a1ad-0x19a;let _0x5b919f=_0x191ff6[_0x37a1ad];return _0x5b919f;},a0_0x37a1(_0x51be91,_0x2839c4);}export const MenuConfigTabMixin=_0x3df69e=>class extends _0x3df69e{['setMenuConfigTabValues'](_0x51ab35){const _0x268ba2=a0_0x37a1;if(_0x51ab35){var {title:_0x224185='',name:_0x4c82bd='',desc:_0x588c3a='',help:_0x28f143=''}=_0x51ab35||{};this['viewMenuData']={'title':_0x224185,'name':_0x4c82bd,'desc':_0x588c3a,'help_doc':_0x28f143},this[_0x268ba2(0x1b9)](_0x268ba2(0x1b2))[_0x268ba2(0x1ab)]=_0x224185,this[_0x268ba2(0x1b9)]('name')[_0x268ba2(0x1ab)]=_0x4c82bd,this['getElementById'](_0x268ba2(0x1aa))[_0x268ba2(0x1ab)]=_0x588c3a,this['getElementById'](_0x268ba2(0x1af))['value']=_0x28f143;}else this[_0x268ba2(0x1b8)]();}[a0_0x13f055(0x1a9)](){const _0x56a5a6=a0_0x13f055;let _0x50f9f9={'menu':{}},_0x1c0053=this['getElementValueById'](_0x56a5a6(0x1b2)),_0xa93165=this['getElementValueById'](_0x56a5a6(0x1a7)),_0x23a34d=this[_0x56a5a6(0x19b)](_0x56a5a6(0x1aa)),_0x48f06a=this['getElementValueById']('help_doc');return _0x1c0053&&(_0x50f9f9[_0x56a5a6(0x19f)]['title']=_0x1c0053),_0xa93165&&(_0x50f9f9['menu'][_0x56a5a6(0x1a7)]=_0xa93165),_0x23a34d&&(_0x50f9f9[_0x56a5a6(0x19f)][_0x56a5a6(0x1aa)]=_0x23a34d),_0x48f06a&&(_0x50f9f9[_0x56a5a6(0x19f)]['help']=_0x48f06a),_0x50f9f9;}[a0_0x13f055(0x1b8)](){const _0x331c3b=a0_0x13f055;this[_0x331c3b(0x1b7)]||(this[_0x331c3b(0x1b7)]={'title':'','name':_0x331c3b(0x1a7),'desc':_0x331c3b(0x1b5),'help_doc':''});}[a0_0x13f055(0x1b6)](_0x526d1b){const _0x414ebe=a0_0x13f055;let _0x488555=this[_0x414ebe(0x1b9)](_0x414ebe(0x1a8));_0x488555&&(_0x488555[_0x414ebe(0x1ab)]=TermsUtil[_0x414ebe(0x1a5)](_0x526d1b['target'][_0x414ebe(0x1ab)]));}[a0_0x13f055(0x1a0)](){const _0x35b074=a0_0x13f055;return this['setMenuConfigTabDefaultValue'](),html`
1
+ const a0_0x4b1e4f=a0_0xec57;(function(_0x37519d,_0x32b959){const _0xc3e3b=a0_0xec57,_0x565d52=_0x37519d();while(!![]){try{const _0x2f68ad=parseInt(_0xc3e3b(0x1f1))/0x1*(parseInt(_0xc3e3b(0x1fb))/0x2)+-parseInt(_0xc3e3b(0x206))/0x3*(-parseInt(_0xc3e3b(0x203))/0x4)+-parseInt(_0xc3e3b(0x208))/0x5*(-parseInt(_0xc3e3b(0x1fe))/0x6)+-parseInt(_0xc3e3b(0x1f9))/0x7*(parseInt(_0xc3e3b(0x1f4))/0x8)+-parseInt(_0xc3e3b(0x1ef))/0x9*(parseInt(_0xc3e3b(0x1ff))/0xa)+parseInt(_0xc3e3b(0x1f3))/0xb*(-parseInt(_0xc3e3b(0x201))/0xc)+parseInt(_0xc3e3b(0x202))/0xd;if(_0x2f68ad===_0x32b959)break;else _0x565d52['push'](_0x565d52['shift']());}catch(_0x2f8c18){_0x565d52['push'](_0x565d52['shift']());}}}(a0_0x546c,0x38e14));function a0_0xec57(_0x3d8564,_0x573f62){const _0x546cde=a0_0x546c();return a0_0xec57=function(_0xec57fe,_0x2dad92){_0xec57fe=_0xec57fe-0x1ec;let _0x108230=_0x546cde[_0xec57fe];return _0x108230;},a0_0xec57(_0x3d8564,_0x573f62);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x546c(){const _0x43226c=['5184205stFltU','1020OJEtwO','getElementById','name','4461bqdahG','help','743510AvkQMn','menu','target','display','renderMenuConfigTab','menuTitleChange','28179KodhPd','value','7RQNPSE','getElementValueById','34848lEurBm','8RBghpx','tLabel','desc','setMenuConfigTabDefaultValue','getMenuConfigTabValues','2682939ljlXji','viewMenuData','19820saHxOq','help_doc','tTitle','12nFFuJE','1010PKpiEN','title','804guREJW'];a0_0x546c=function(){return _0x43226c;};return a0_0x546c();}export const MenuConfigTabMixin=_0x477d55=>class extends _0x477d55{['setMenuConfigTabValues'](_0x43ba18){const _0x230250=a0_0xec57;if(_0x43ba18){var {title:_0x2bf2e9='',name:_0x18c8d5='',desc:_0x8f438f='',help:_0x4496a4=''}=_0x43ba18||{};this['viewMenuData']={'title':_0x2bf2e9,'name':_0x18c8d5,'desc':_0x8f438f,'help_doc':_0x4496a4},this[_0x230250(0x204)]('title')[_0x230250(0x1f0)]=_0x2bf2e9,this[_0x230250(0x204)](_0x230250(0x205))['value']=_0x18c8d5,this[_0x230250(0x204)]('desc')[_0x230250(0x1f0)]=_0x8f438f,this[_0x230250(0x204)](_0x230250(0x1fc))[_0x230250(0x1f0)]=_0x4496a4;}else this['setMenuConfigTabDefaultValue']();}[a0_0x4b1e4f(0x1f8)](){const _0x479dcb=a0_0x4b1e4f;let _0x3bc189={'menu':{}},_0x31d485=this[_0x479dcb(0x1f2)](_0x479dcb(0x200)),_0x4ca258=this[_0x479dcb(0x1f2)]('name'),_0x3d69ff=this[_0x479dcb(0x1f2)](_0x479dcb(0x1f6)),_0x467373=this[_0x479dcb(0x1f2)](_0x479dcb(0x1fc));return _0x31d485&&(_0x3bc189['menu'][_0x479dcb(0x200)]=_0x31d485),_0x4ca258&&(_0x3bc189[_0x479dcb(0x209)][_0x479dcb(0x205)]=_0x4ca258),_0x3d69ff&&(_0x3bc189[_0x479dcb(0x209)][_0x479dcb(0x1f6)]=_0x3d69ff),_0x467373&&(_0x3bc189[_0x479dcb(0x209)][_0x479dcb(0x207)]=_0x467373),_0x3bc189;}[a0_0x4b1e4f(0x1f7)](){const _0x199644=a0_0x4b1e4f;this[_0x199644(0x1fa)]||(this[_0x199644(0x1fa)]={'title':'','name':_0x199644(0x205),'desc':'description','help_doc':''});}['menuTitleChange'](_0xf54c6d){const _0x41d472=a0_0x4b1e4f;let _0x1bb1c8=this[_0x41d472(0x204)](_0x41d472(0x1ec));_0x1bb1c8&&(_0x1bb1c8[_0x41d472(0x1f0)]=TermsUtil[_0x41d472(0x1fd)](_0xf54c6d[_0x41d472(0x20a)]['value']));}[a0_0x4b1e4f(0x1ed)](){const _0xfee04c=a0_0x4b1e4f;return this[_0xfee04c(0x1f7)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil['tLabel'](_0x35b074(0x1b0))}
5
- <input id="title" name="title" type="text" value=${this[_0x35b074(0x1b7)]['title']} @change=${_0x3e98ae=>this[_0x35b074(0x1b6)](_0x3e98ae)}/>
4
+ <label>${TermsUtil['tLabel']('menu_title')}
5
+ <input id="title" name="title" type="text" value=${this[_0xfee04c(0x1fa)]['title']} @change=${_0x20ca38=>this[_0xfee04c(0x1ee)](_0x20ca38)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil['tLabel'](_0x35b074(0x1a8))}
10
- <input id="display" name="display" value=${TermsUtil['tTitle'](this[_0x35b074(0x1b7)][_0x35b074(0x1b2)])} type="text" readonly
9
+ <label>${TermsUtil[_0xfee04c(0x1f5)](_0xfee04c(0x1ec))}
10
+ <input id="display" name="display" value=${TermsUtil[_0xfee04c(0x1fd)](this[_0xfee04c(0x1fa)]['title'])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x35b074(0x1a1)](_0x35b074(0x1b3))}
16
- <input id="name" name="name" type="text" value=${this['viewMenuData'][_0x35b074(0x1a7)]} />
15
+ <label>${TermsUtil['tLabel']('menu_name_field')}
16
+ <input id="name" name="name" type="text" value=${this[_0xfee04c(0x1fa)][_0xfee04c(0x205)]} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil[_0x35b074(0x1a1)](_0x35b074(0x1ad))}
21
- <input id="desc" name="desc" type="text" value=${this[_0x35b074(0x1b7)][_0x35b074(0x1aa)]} />
20
+ <label>${TermsUtil[_0xfee04c(0x1f5)]('menu_desc_field')}
21
+ <input id="desc" name="desc" type="text" value=${this['viewMenuData'][_0xfee04c(0x1f6)]} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil[_0x35b074(0x1a1)](_0x35b074(0x1af))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x35b074(0x1b7)][_0x35b074(0x1af)]} />
25
+ <label>${TermsUtil[_0xfee04c(0x1f5)](_0xfee04c(0x1fc))}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0xfee04c(0x1fa)][_0xfee04c(0x1fc)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
@@ -1,4 +1,4 @@
1
- const a0_0x39ee84=a0_0x4ebd;(function(_0x2a5b22,_0x2aa6d2){const _0x4b2fe7=a0_0x4ebd,_0x327302=_0x2a5b22();while(!![]){try{const _0x5e13de=parseInt(_0x4b2fe7(0xe3))/0x1*(parseInt(_0x4b2fe7(0xb8))/0x2)+parseInt(_0x4b2fe7(0xe4))/0x3+parseInt(_0x4b2fe7(0xbe))/0x4*(-parseInt(_0x4b2fe7(0xff))/0x5)+parseInt(_0x4b2fe7(0x8d))/0x6*(parseInt(_0x4b2fe7(0x98))/0x7)+parseInt(_0x4b2fe7(0xb7))/0x8+parseInt(_0x4b2fe7(0x97))/0x9+parseInt(_0x4b2fe7(0xbb))/0xa*(-parseInt(_0x4b2fe7(0xf6))/0xb);if(_0x5e13de===_0x2aa6d2)break;else _0x327302['push'](_0x327302['shift']());}catch(_0x40e61b){_0x327302['push'](_0x327302['shift']());}}}(a0_0x9f81,0x34b8c));import a0_0x2ca026 from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';function a0_0x9f81(){const _0x4c2630=['error.invalid\x20license\x20key','94121Bydqbk','996141bqTGOh','shadowRoot','list','column_config','meta-generator-page','rank','tabData','save','filter','radio','includes','tab','records','column','display:none','ConfigTabValues','sort_desc','tMenu','1122QmctBR','form','sortRecordByRank','length','tagName','active','ConfigTab','gridEmphasized','grid_emphasized_config','20dyVohv','getConfigTab','stringify','pageUpdated','grid-','bind','getElementValueById','charAt','42jizqNH','value','forEach','params','tLabel','slice','meta_generator','get','type','push','3110040daocWy','374479nyVbhz','updateMultipleMenu','setTabData','query','currentTabKey','thumbnail','menu','ox-grist','menuName','findOne','properties','getState','tButton','define','error','sort','options','ConfigTabConfig','styles','template','refresh','context','parse','detail_field','details','grid_config','enc','selectedIndex','style','dispatchEvent','convertFirstCharUpperCase','2081728WYmRfU','8CIfwpS','keys','sorters','102070HmQdQt','data',':checked','431724KqNZLt','menu_config','toLowerCase','hidden','dirtyData','set','querySelector','toUpperCase','remove','errors','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20','button','sortRecordByField','dec','backToMenu','tab_config','clear','desc','ox-input-code','rep_field','lifecycle','pageInitialized','name','back','etc_config','initData','menuId','filters','dataStorage','studioPermission','sort_rank','option','icon','grid','map','form_config'];a0_0x9f81=function(){return _0x4c2630;};return a0_0x9f81();}function a0_0x4ebd(_0x87c364,_0x1b00c2){const _0x9f8122=a0_0x9f81();return a0_0x4ebd=function(_0x4ebdff,_0x543c71){_0x4ebdff=_0x4ebdff-0x86;let _0x363c37=_0x9f8122[_0x4ebdff];return _0x363c37;},a0_0x4ebd(_0x87c364,_0x1b00c2);}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_0x39ee84(0xaa)](){return[css`
1
+ const a0_0x3e0044=a0_0x1079;(function(_0x1c42cc,_0x4b60c1){const _0x5a41bf=a0_0x1079,_0x1ff75c=_0x1c42cc();while(!![]){try{const _0x1b35f9=-parseInt(_0x5a41bf(0x125))/0x1*(parseInt(_0x5a41bf(0x141))/0x2)+parseInt(_0x5a41bf(0x110))/0x3*(parseInt(_0x5a41bf(0x12b))/0x4)+-parseInt(_0x5a41bf(0x171))/0x5*(-parseInt(_0x5a41bf(0x14c))/0x6)+parseInt(_0x5a41bf(0x11a))/0x7+-parseInt(_0x5a41bf(0x175))/0x8+parseInt(_0x5a41bf(0x144))/0x9+-parseInt(_0x5a41bf(0x140))/0xa*(parseInt(_0x5a41bf(0x170))/0xb);if(_0x1b35f9===_0x4b60c1)break;else _0x1ff75c['push'](_0x1ff75c['shift']());}catch(_0x15940a){_0x1ff75c['push'](_0x1ff75c['shift']());}}}(a0_0x1234,0x18a19));import a0_0x1d3f1e from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';function a0_0x1079(_0x3f4e56,_0x22c1d8){const _0x1234ff=a0_0x1234();return a0_0x1079=function(_0x107998,_0xcbfca0){_0x107998=_0x107998-0xfc;let _0x10bfa3=_0x1234ff[_0x107998];return _0x10bfa3;},a0_0x1079(_0x3f4e56,_0x22c1d8);}import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x3e0044(0x11c)](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0x39ee84=a0_0x4ebd;(function(_0x2a5b22,_0x2aa6d2){const _0x4b2fe7=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0x39ee84(0xa2)](){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_0x39ee84(0xad)](){const _0x41bfb=a0_0x39ee84;return{'title':TermsUtil['tTitle'](_0x41bfb(0x93)),'actions':[{'title':TermsUtil['tButton'](_0x41bfb(0xeb)),'action':this['save'][_0x41bfb(0x8a)](this),...CommonButtonStyles[_0x41bfb(0xeb)]},{'title':TermsUtil['tButton'](_0x41bfb(0xd5)),'action':this[_0x41bfb(0xcc)][_0x41bfb(0x8a)](this),...CommonButtonStyles[_0x41bfb(0xd5)]},{'title':TermsUtil[_0x41bfb(0xa4)](_0x41bfb(0xac)),'action':this['refresh'][_0x41bfb(0x8a)](this),...CommonButtonStyles['refresh']}]};}['deleteRow'](_0x29553e,_0x55c2e1){const _0x1a5839=a0_0x39ee84;let _0x3b3fac=_0x29553e[_0x1a5839(0xc2)];_0x3b3fac[_0x1a5839(0xf0)]=_0x3b3fac[_0x1a5839(0xf0)][_0x1a5839(0xec)](_0x58aa4b=>_0x58aa4b['id']!=_0x55c2e1['id']),_0x29553e[_0x1a5839(0xbc)]=_0x3b3fac;}async[a0_0x39ee84(0xeb)](){const _0x183289=a0_0x39ee84;if(0x0==store[_0x183289(0xa3)]()['operatoTools'][_0x183289(0xdb)])return void document[_0x183289(0xb5)](new CustomEvent('notify',{'detail':{'level':_0x183289(0xa6),'message':i18next['t'](_0x183289(0xe2))}}));if((await client[_0x183289(0x9b)]({'query':a0_0x2ca026`
144
+ `];}static get[a0_0x3e0044(0x176)](){return{'menuId':String,'menuName':String,'metaTemplate':Object,'currentTabKey':String,'tabData':Object,'dataStorage':Object,'viewMenuData':Object,'afterSetFieldsConfig':Object,'skipFieldsConfig':Object,'viewGraphqlData':Object,'gridPageOptions':Array,'gridViewModes':Array,'viewGridData':Object,'columnTabGridConfig':Object,'viewColumnData':Array,'buttonTabGridConfig':Object,'viewButtonData':Array,'searchTabGridConfig':Object,'viewSearchData':Array};}get['context'](){const _0x1736b8=a0_0x3e0044;return{'title':TermsUtil[_0x1736b8(0x173)]('meta_generator'),'actions':[{'title':TermsUtil[_0x1736b8(0x128)](_0x1736b8(0x15a)),'action':this['save'][_0x1736b8(0x13f)](this),...CommonButtonStyles[_0x1736b8(0x15a)]},{'title':TermsUtil['tButton'](_0x1736b8(0x14e)),'action':this[_0x1736b8(0x11b)][_0x1736b8(0x13f)](this),...CommonButtonStyles[_0x1736b8(0x14e)]},{'title':TermsUtil['tButton'](_0x1736b8(0x167)),'action':this[_0x1736b8(0x167)][_0x1736b8(0x13f)](this),...CommonButtonStyles[_0x1736b8(0x167)]}]};}[a0_0x3e0044(0x107)](_0x185bb6,_0x35c36d){const _0x2c8d9c=a0_0x3e0044;let _0x56ec88=_0x185bb6['dirtyData'];_0x56ec88['records']=_0x56ec88['records'][_0x2c8d9c(0xff)](_0x3ef002=>_0x3ef002['id']!=_0x35c36d['id']),_0x185bb6[_0x2c8d9c(0x12a)]=_0x56ec88;}async['save'](){const _0x5efccf=a0_0x3e0044;if(0x0==store[_0x5efccf(0x127)]()[_0x5efccf(0x13b)][_0x5efccf(0x14b)])return void document[_0x5efccf(0x147)](new CustomEvent(_0x5efccf(0x148),{'detail':{'level':_0x5efccf(0x129),'message':i18next['t']('error.invalid\x20license\x20key')}}));if((await client[_0x5efccf(0x16b)]({'query':a0_0x1d3f1e`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
148
- `,'variables':{'id':this[_0x183289(0xd8)]}}))[_0x183289(0xc7)])return;let _0x5cb931={},_0x4bae4a={};Object['keys'](this[_0x183289(0xea)])[_0x183289(0x8f)](_0x363498=>{const _0x10e5cc=_0x183289;let _0x1b1d8e=this[_0x10e5cc(0xb6)](_0x363498);_0x5cb931[_0x363498]=this[_0x10e5cc(0x94)+_0x1b1d8e+_0x10e5cc(0xf3)](),_0x4bae4a=merge(_0x4bae4a,_0x5cb931[_0x363498]);}),_0x4bae4a=JSON[_0x183289(0x87)](_0x4bae4a),_0x4bae4a=MetaCrypto[_0x183289(0xb2)](_0x4bae4a),await MetaApi['updateMultiple'](_0x183289(0x99),[{'id':this[_0x183289(0xd8)],'template':_0x4bae4a,'cuFlag':'M'}])&&await this[_0x183289(0xd7)]();}[a0_0x39ee84(0xce)](){const _0x460f8f=a0_0x39ee84;this[_0x460f8f(0x9a)](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object['keys'](this['tabData'])['forEach'](_0x13ef6d=>{const _0x565110=_0x460f8f;let _0x3e87db=this[_0x565110(0xb6)](_0x13ef6d);if(this[_0x565110(0xc3)+_0x3e87db+_0x565110(0xf3)])return this[_0x565110(0xc3)+_0x3e87db+_0x565110(0xf3)](this[_0x565110(0xda)][_0x13ef6d]);});}async[a0_0x39ee84(0xac)](){const _0x5ec1aa=a0_0x39ee84;this['clear'](),await this[_0x5ec1aa(0xd7)]();}['backToMenu'](){history['back']();}async['initData'](){const _0x8212f5=a0_0x39ee84;var {menuId:_0x14e832=''}=this[_0x8212f5(0xd2)]?.['params']?this[_0x8212f5(0xd2)][_0x8212f5(0x90)]:{};if(this[_0x8212f5(0xd8)]=_0x14e832,!_0x14e832||''==_0x14e832)return void this['clear']();let _0x938643=await MetaApi[_0x8212f5(0xa1)](_0x8212f5(0x9e),_0x14e832,_0x8212f5(0xc8));if(_0x938643){try{JSON[_0x8212f5(0xae)](MetaCrypto[_0x8212f5(0xcb)](_0x938643[_0x8212f5(0xab)]));}catch(_0x3c9536){return;}this[_0x8212f5(0xa0)]=TermsUtil[_0x8212f5(0xf5)](_0x938643[_0x8212f5(0xd4)]),this['metaTemplate']=_0x938643[_0x8212f5(0xab)]?JSON[_0x8212f5(0xae)](MetaCrypto[_0x8212f5(0xcb)](_0x938643[_0x8212f5(0xab)])):{};var {menu:_0x2f84c3={},gql:_0xdb0343={},button:_0x479293=[],grid_column:_0x2dcddd=[],grid:_0x538797={},search:_0x1109b7=[],form:_0x56fec0=[],tab:_0x52478e=[],etc:_0x4bdf7b={},gridEmphasized:_0x5c5ed=[]}=this['metaTemplate']?this['metaTemplate']:{};this['setTabData'](),this[_0x8212f5(0xda)]={},this['dataStorage'][_0x8212f5(0x9e)]=_0x2f84c3,this[_0x8212f5(0xda)]['graphql']=_0xdb0343,this[_0x8212f5(0xda)][_0x8212f5(0xdf)]=_0x538797,this['dataStorage'][_0x8212f5(0xf7)]=_0x56fec0,this[_0x8212f5(0xda)][_0x8212f5(0xef)]=_0x52478e,this[_0x8212f5(0xda)]['etc']=_0x4bdf7b,this[_0x8212f5(0xda)][_0x8212f5(0xfd)]=_0x5c5ed,(_0x538797[_0x8212f5(0xdd)]?.[_0x8212f5(0xba)]||[])['forEach']((_0x372ba0,_0x412982)=>{_0x372ba0['rank']=0xa*(_0x412982+0x1);}),this['dataStorage'][_0x8212f5(0xf1)]=_0x2dcddd['map'](_0x2b009d=>{const _0xc17ce5=_0x8212f5;let _0x5dc76f=(_0x538797['option']?.[_0xc17ce5(0xba)]||[])[_0xc17ce5(0xec)](_0x53cd55=>_0x53cd55[_0xc17ce5(0xd4)]==_0x2b009d['name']);return _0x5dc76f&&_0x5dc76f['length']>0x0?(_0x2b009d[_0xc17ce5(0xdc)]=_0x5dc76f[0x0][_0xc17ce5(0xe9)],_0x2b009d[_0xc17ce5(0xf4)]=!!_0x5dc76f[0x0][_0xc17ce5(0xcf)]&&_0x5dc76f[0x0][_0xc17ce5(0xcf)]):_0x2b009d[_0xc17ce5(0xdc)]=0x0,_0x2b009d[_0xc17ce5(0xd1)]=(_0x538797[_0xc17ce5(0xe6)]?.['fields']||[])[_0xc17ce5(0xee)](_0x2b009d['name']),_0x2b009d[_0xc17ce5(0xaf)]=(_0x538797[_0xc17ce5(0xe6)]?.[_0xc17ce5(0xb0)]||[])[_0xc17ce5(0xee)](_0x2b009d[_0xc17ce5(0xd4)]),_0x2b009d['thumbnail_field']=_0x538797['list']?.[_0xc17ce5(0x9d)]==_0x2b009d[_0xc17ce5(0xd4)],_0x2b009d;}),_0x1109b7[_0x8212f5(0x96)](...(_0xdb0343[_0x8212f5(0x9b)]?.[_0x8212f5(0xd9)]||[])['map'](_0x400c98=>(_0x400c98[_0x8212f5(0xc1)]=!0x0,_0x400c98))),this['dataStorage']['search']=_0x1109b7,_0x479293[_0x8212f5(0x96)](...(_0x538797['button']||[])[_0x8212f5(0xe0)](_0xfd6cbb=>(_0xfd6cbb[_0x8212f5(0x95)]=_0x8212f5(0x89)+_0xfd6cbb[_0x8212f5(0x95)],_0xfd6cbb[_0x8212f5(0xb4)]=_0xfd6cbb[_0x8212f5(0xde)],_0xfd6cbb))),this[_0x8212f5(0xda)][_0x8212f5(0xc9)]=_0x479293,Object['keys'](this[_0x8212f5(0xea)])['forEach'](_0x4275f8=>{const _0x3a0ded=_0x8212f5;let _0x4da535=this[_0x3a0ded(0xb6)](_0x4275f8);if(this[_0x3a0ded(0xc3)+_0x4da535+_0x3a0ded(0xf3)])return this[_0x3a0ded(0xc3)+_0x4da535+_0x3a0ded(0xf3)](this[_0x3a0ded(0xda)][_0x4275f8]);});}}async[a0_0x39ee84(0xd3)](){const _0x321be6=a0_0x39ee84;this[_0x321be6(0x9a)]();let _0x5dbcde=Object[_0x321be6(0xb9)](this['tabData']);for(var _0x13ad6b=0x0;_0x13ad6b<_0x5dbcde['length'];_0x13ad6b++){let _0x38513e=this[_0x321be6(0xb6)](_0x5dbcde[_0x13ad6b]);this['set'+_0x38513e+_0x321be6(0xa9)]&&await this['set'+_0x38513e+'ConfigTabConfig']();}}async[a0_0x39ee84(0x88)](_0x214710,_0x4c87fa,_0x4b6248){const _0x3b332d=a0_0x39ee84;!0x0===this[_0x3b332d(0xfb)]?(this[_0x3b332d(0x9a)](),await this[_0x3b332d(0xd7)](),this[_0x3b332d(0x9a)]()):(this[_0x3b332d(0xce)](),this[_0x3b332d(0xc6)]());}[a0_0x39ee84(0x9a)](){const _0x3ef381=a0_0x39ee84;this[_0x3ef381(0xea)]||(this[_0x3ef381(0xea)]={'menu':TermsUtil[_0x3ef381(0x91)](_0x3ef381(0xbf)),'graphql':TermsUtil['tLabel']('graphql_config'),'grid':TermsUtil['tLabel'](_0x3ef381(0xb1)),'column':TermsUtil[_0x3ef381(0x91)](_0x3ef381(0xe7)),'gridEmphasized':TermsUtil['tLabel'](_0x3ef381(0xfe)),'button':TermsUtil[_0x3ef381(0x91)]('button_config'),'search':TermsUtil[_0x3ef381(0x91)]('search_config'),'form':TermsUtil['tLabel'](_0x3ef381(0xe1)),'tab':TermsUtil['tLabel'](_0x3ef381(0xcd)),'etc':TermsUtil[_0x3ef381(0x91)](_0x3ef381(0xd6))});}['render'](){const _0x1564a2=a0_0x39ee84;this[_0x1564a2(0x9c)]||(this[_0x1564a2(0x9c)]=_0x1564a2(0x9e)),this[_0x1564a2(0x9a)]();let _0x33bad2=Object[_0x1564a2(0xb9)](this[_0x1564a2(0xea)]);return this[_0x1564a2(0xea)][this[_0x1564a2(0x9c)]]?this[_0x1564a2(0x9c)]:_0x33bad2[0x0],html`
149
- <h1>${this[_0x1564a2(0xa0)]}</h1>
148
+ `,'variables':{'id':this[_0x5efccf(0x115)]}}))['errors'])return;let _0x564820={},_0x1eb2c4={};Object['keys'](this[_0x5efccf(0x12d)])[_0x5efccf(0x131)](_0x1e88cd=>{const _0x1c99b8=_0x5efccf;let _0x4e60ed=this[_0x1c99b8(0x143)](_0x1e88cd);_0x564820[_0x1e88cd]=this[_0x1c99b8(0x13c)+_0x4e60ed+_0x1c99b8(0x138)](),_0x1eb2c4=merge(_0x1eb2c4,_0x564820[_0x1e88cd]);}),_0x1eb2c4=JSON[_0x5efccf(0x104)](_0x1eb2c4),_0x1eb2c4=MetaCrypto['enc'](_0x1eb2c4),await MetaApi['updateMultiple'](_0x5efccf(0x16a),[{'id':this[_0x5efccf(0x115)],'template':_0x1eb2c4,'cuFlag':'M'}])&&await this[_0x5efccf(0x102)]();}['clear'](){const _0x1a68d7=a0_0x3e0044;this['setTabData'](),this[_0x1a68d7(0x124)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x1a68d7(0x13a)](this['tabData'])['forEach'](_0x3690e3=>{const _0x247374=_0x1a68d7;let _0x1d3bf7=this[_0x247374(0x143)](_0x3690e3);if(this[_0x247374(0x11d)+_0x1d3bf7+_0x247374(0x138)])return this[_0x247374(0x11d)+_0x1d3bf7+_0x247374(0x138)](this['dataStorage'][_0x3690e3]);});}async[a0_0x3e0044(0x167)](){this['clear'](),await this['initData']();}[a0_0x3e0044(0x11b)](){const _0x1d28f9=a0_0x3e0044;history[_0x1d28f9(0x14e)]();}async[a0_0x3e0044(0x102)](){const _0x2f5326=a0_0x3e0044;var {menuId:_0x3cfed4=''}=this[_0x2f5326(0x114)]?.[_0x2f5326(0x16c)]?this['lifecycle'][_0x2f5326(0x16c)]:{};if(this[_0x2f5326(0x115)]=_0x3cfed4,!_0x3cfed4||''==_0x3cfed4)return void this['clear']();let _0x4d0b47=await MetaApi[_0x2f5326(0x10b)](_0x2f5326(0x137),_0x3cfed4,_0x2f5326(0x158));if(_0x4d0b47){try{JSON[_0x2f5326(0x154)](MetaCrypto['dec'](_0x4d0b47[_0x2f5326(0x165)]));}catch(_0x8930bf){return;}this[_0x2f5326(0x10a)]=TermsUtil['tMenu'](_0x4d0b47[_0x2f5326(0x116)]),this[_0x2f5326(0x120)]=_0x4d0b47[_0x2f5326(0x165)]?JSON[_0x2f5326(0x154)](MetaCrypto[_0x2f5326(0x161)](_0x4d0b47['template'])):{};var {menu:_0x218aea={},gql:_0x3b73e6={},button:_0x1f8b1d=[],grid_column:_0x40f89d=[],grid:_0x283f52={},search:_0x9788d3=[],form:_0x39d71d=[],tab:_0x1130d8=[],etc:_0xda6d68={},gridEmphasized:_0x175d20=[]}=this[_0x2f5326(0x120)]?this['metaTemplate']:{};this['setTabData'](),this[_0x2f5326(0x124)]={},this[_0x2f5326(0x124)][_0x2f5326(0x137)]=_0x218aea,this[_0x2f5326(0x124)][_0x2f5326(0x162)]=_0x3b73e6,this[_0x2f5326(0x124)][_0x2f5326(0x174)]=_0x283f52,this[_0x2f5326(0x124)]['form']=_0x39d71d,this[_0x2f5326(0x124)]['tab']=_0x1130d8,this[_0x2f5326(0x124)]['etc']=_0xda6d68,this[_0x2f5326(0x124)][_0x2f5326(0x111)]=_0x175d20,(_0x283f52['option']?.['sorters']||[])[_0x2f5326(0x131)]((_0x2fd6b4,_0x4c6012)=>{const _0x263478=_0x2f5326;_0x2fd6b4[_0x263478(0x156)]=0xa*(_0x4c6012+0x1);}),this['dataStorage'][_0x2f5326(0x123)]=_0x40f89d[_0x2f5326(0x157)](_0x47f82a=>{const _0x29e102=_0x2f5326;let _0x5ac150=(_0x283f52[_0x29e102(0x122)]?.[_0x29e102(0x10d)]||[])[_0x29e102(0xff)](_0x306dc4=>_0x306dc4[_0x29e102(0x116)]==_0x47f82a[_0x29e102(0x116)]);return _0x5ac150&&_0x5ac150[_0x29e102(0x132)]>0x0?(_0x47f82a[_0x29e102(0x12e)]=_0x5ac150[0x0][_0x29e102(0x156)],_0x47f82a['sort_desc']=!!_0x5ac150[0x0][_0x29e102(0x160)]&&_0x5ac150[0x0][_0x29e102(0x160)]):_0x47f82a[_0x29e102(0x12e)]=0x0,_0x47f82a[_0x29e102(0x105)]=(_0x283f52[_0x29e102(0x151)]?.[_0x29e102(0x10f)]||[])[_0x29e102(0x10e)](_0x47f82a['name']),_0x47f82a[_0x29e102(0x139)]=(_0x283f52['list']?.[_0x29e102(0x153)]||[])['includes'](_0x47f82a['name']),_0x47f82a['thumbnail_field']=_0x283f52[_0x29e102(0x151)]?.[_0x29e102(0x163)]==_0x47f82a['name'],_0x47f82a;}),_0x9788d3[_0x2f5326(0x12c)](...(_0x3b73e6['query']?.[_0x2f5326(0x126)]||[])[_0x2f5326(0x157)](_0x5940c4=>(_0x5940c4[_0x2f5326(0x172)]=!0x0,_0x5940c4))),this['dataStorage'][_0x2f5326(0x11e)]=_0x9788d3,_0x1f8b1d[_0x2f5326(0x12c)](...(_0x283f52[_0x2f5326(0x112)]||[])[_0x2f5326(0x157)](_0x13d8bc=>(_0x13d8bc[_0x2f5326(0x168)]='grid-'+_0x13d8bc['type'],_0x13d8bc[_0x2f5326(0x15c)]=_0x13d8bc[_0x2f5326(0x109)],_0x13d8bc))),this[_0x2f5326(0x124)][_0x2f5326(0x112)]=_0x1f8b1d,Object[_0x2f5326(0x13a)](this[_0x2f5326(0x12d)])[_0x2f5326(0x131)](_0x7ceed9=>{const _0x37f078=_0x2f5326;let _0x3707fd=this['convertFirstCharUpperCase'](_0x7ceed9);if(this[_0x37f078(0x11d)+_0x3707fd+_0x37f078(0x138)])return this[_0x37f078(0x11d)+_0x3707fd+_0x37f078(0x138)](this[_0x37f078(0x124)][_0x7ceed9]);});}}async[a0_0x3e0044(0x130)](){const _0x1364ca=a0_0x3e0044;this[_0x1364ca(0x103)]();let _0x1d883d=Object['keys'](this[_0x1364ca(0x12d)]);for(var _0x4c4ef0=0x0;_0x4c4ef0<_0x1d883d[_0x1364ca(0x132)];_0x4c4ef0++){let _0x3b7a49=this[_0x1364ca(0x143)](_0x1d883d[_0x4c4ef0]);this['set'+_0x3b7a49+_0x1364ca(0x15d)]&&await this[_0x1364ca(0x11d)+_0x3b7a49+_0x1364ca(0x15d)]();}}async[a0_0x3e0044(0x169)](_0x12d392,_0x2cfd1e,_0x4f1d24){const _0x66c7c3=a0_0x3e0044;!0x0===this[_0x66c7c3(0x106)]?(this['setTabData'](),await this[_0x66c7c3(0x102)](),this[_0x66c7c3(0x103)]()):(this['clear'](),this[_0x66c7c3(0x113)]());}['setTabData'](){const _0x387de7=a0_0x3e0044;this[_0x387de7(0x12d)]||(this[_0x387de7(0x12d)]={'menu':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x12f)),'graphql':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x121)),'grid':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x14d)),'column':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x142)),'gridEmphasized':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x16d)),'button':TermsUtil['tLabel'](_0x387de7(0x146)),'search':TermsUtil[_0x387de7(0x16f)](_0x387de7(0xfd)),'form':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x10c)),'tab':TermsUtil[_0x387de7(0x16f)](_0x387de7(0x166)),'etc':TermsUtil['tLabel'](_0x387de7(0x155))});}['render'](){const _0x4ff4e3=a0_0x3e0044;this['currentTabKey']||(this[_0x4ff4e3(0x117)]=_0x4ff4e3(0x137)),this[_0x4ff4e3(0x103)]();let _0x18557e=Object[_0x4ff4e3(0x13a)](this[_0x4ff4e3(0x12d)]);return this['tabData'][this[_0x4ff4e3(0x117)]]?this[_0x4ff4e3(0x117)]:_0x18557e[0x0],html`
149
+ <h1>${this[_0x4ff4e3(0x10a)]}</h1>
150
150
  <div class="tabs">
151
- ${_0x33bad2[_0x1564a2(0xe0)](_0xb9e681=>{const _0x2f605b=_0x1564a2;let _0xca3023=this[_0x2f605b(0xea)][_0xb9e681];return html`
152
- <div class="tab" ?activate="${_0xb9e681===this[_0x2f605b(0x9c)]}" @click="${()=>this[_0x2f605b(0x9c)]=_0xb9e681}">
153
- <span>${_0xca3023}</span>
151
+ ${_0x18557e['map'](_0x4c56f6=>{const _0x18d730=_0x4ff4e3;let _0x1b4420=this[_0x18d730(0x12d)][_0x4c56f6];return html`
152
+ <div class="tab" ?activate="${_0x4c56f6===this[_0x18d730(0x117)]}" @click="${()=>this['currentTabKey']=_0x4c56f6}">
153
+ <span>${_0x1b4420}</span>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
158
- ${_0x33bad2[_0x1564a2(0xe0)](_0x152dd0=>{const _0x2a7d65=_0x1564a2;let _0xeb15c=_0x2a7d65(0xf2);return _0x152dd0==this[_0x2a7d65(0x9c)]&&(_0xeb15c='display:flex'),html`
159
- <div class='tab-contents' style="${_0xeb15c}">
160
- ${this[_0x2a7d65(0x86)](_0x152dd0)}
158
+ ${_0x18557e['map'](_0x4856bf=>{const _0x4d6127=_0x4ff4e3;let _0x2ad3c4=_0x4d6127(0x118);return _0x4856bf==this[_0x4d6127(0x117)]&&(_0x2ad3c4=_0x4d6127(0x134)),html`
159
+ <div class='tab-contents' style="${_0x2ad3c4}">
160
+ ${this[_0x4d6127(0x164)](_0x4856bf)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
164
- `;}['getConfigTab'](_0x23a956){const _0x392cfd=a0_0x39ee84;let _0x18268b=this[_0x392cfd(0xb6)](_0x23a956);return this['render'+_0x18268b+_0x392cfd(0xfc)]?this['render'+_0x18268b+_0x392cfd(0xfc)]():html``;}[a0_0x39ee84(0xb6)](_0x1f7d4a){const _0x518e45=a0_0x39ee84;return _0x1f7d4a[_0x518e45(0x8c)](0x0)[_0x518e45(0xc5)]()+_0x1f7d4a[_0x518e45(0x92)](0x1);}['getElementById'](_0x92ecc){const _0x2c58dd=a0_0x39ee84;return this[_0x2c58dd(0xe5)][_0x2c58dd(0xc4)]('#'+_0x92ecc);}[a0_0x39ee84(0x8b)](_0x414da1){const _0x290771=a0_0x39ee84;let _0x2f7a90=this[_0x290771(0xe5)][_0x290771(0xc4)]('#'+_0x414da1);if(!_0x2f7a90)return;let _0x4ecd4b='';if('select'==_0x2f7a90[_0x290771(0xfa)][_0x290771(0xc0)]()){if(!_0x2f7a90[_0x290771(0xa8)]||0x0==_0x2f7a90[_0x290771(0xa8)][_0x290771(0xf9)])return;_0x4ecd4b=_0x2f7a90[_0x290771(0xa8)][_0x2f7a90[_0x290771(0xb3)]][_0x290771(0x8e)];}else{if(_0x290771(0x9f)==_0x2f7a90[_0x290771(0xfa)][_0x290771(0xc0)]()){if(!_0x2f7a90[_0x290771(0xc2)])return;if(!_0x2f7a90[_0x290771(0xc2)][_0x290771(0xf0)])return;if(0x0==_0x2f7a90[_0x290771(0xc2)][_0x290771(0xf0)][_0x290771(0xf9)])return;return _0x2f7a90[_0x290771(0xc2)][_0x290771(0xf0)];}if(_0x290771(0xd0)==_0x2f7a90[_0x290771(0xfa)][_0x290771(0xc0)]())return _0x2f7a90[_0x290771(0x8e)];if(_0x290771(0xed)==_0x2f7a90[_0x290771(0x95)][_0x290771(0xc0)]()){let _0x812c13=this['shadowRoot'][_0x290771(0xc4)]('#'+_0x414da1+_0x290771(0xbd));if(!_0x812c13)return;return _0x812c13[_0x290771(0x8e)];}_0x4ecd4b=_0x2f7a90[_0x290771(0x8e)];}return _0x4ecd4b&&''!=_0x4ecd4b?_0x4ecd4b:void 0x0;}[a0_0x39ee84(0xf8)](_0x68a8c8){const _0xf72343=a0_0x39ee84;return _0x68a8c8?this[_0xf72343(0xca)](_0x68a8c8,_0xf72343(0xe9)):_0x68a8c8;}['sortRecordByField'](_0x426b11,_0x31a8ed){const _0x3f40d7=a0_0x39ee84;return _0x426b11[_0x3f40d7(0xa7)]((_0x125fbe,_0x400b09)=>_0x125fbe[_0x31a8ed]-_0x400b09[_0x31a8ed]),_0x426b11;}}customElements[a0_0x39ee84(0xa5)](a0_0x39ee84(0xe8),MetaGeneratorPage);
164
+ `;}['getConfigTab'](_0x7bc930){const _0x38375b=a0_0x3e0044;let _0x3f6c72=this[_0x38375b(0x143)](_0x7bc930);return this[_0x38375b(0x149)+_0x3f6c72+'ConfigTab']?this['render'+_0x3f6c72+_0x38375b(0x16e)]():html``;}[a0_0x3e0044(0x143)](_0x250212){const _0x246657=a0_0x3e0044;return _0x250212[_0x246657(0x145)](0x0)[_0x246657(0x14a)]()+_0x250212['slice'](0x1);}[a0_0x3e0044(0x133)](_0x51099b){const _0x889268=a0_0x3e0044;return this[_0x889268(0x15b)][_0x889268(0x135)]('#'+_0x51099b);}[a0_0x3e0044(0x13e)](_0xd91452){const _0x30f3b3=a0_0x3e0044;let _0x87eea9=this['shadowRoot'][_0x30f3b3(0x135)]('#'+_0xd91452);if(!_0x87eea9)return;let _0x27833f='';if('select'==_0x87eea9[_0x30f3b3(0x100)][_0x30f3b3(0x119)]()){if(!_0x87eea9[_0x30f3b3(0x14f)]||0x0==_0x87eea9[_0x30f3b3(0x14f)][_0x30f3b3(0x132)])return;_0x27833f=_0x87eea9[_0x30f3b3(0x14f)][_0x87eea9[_0x30f3b3(0x152)]][_0x30f3b3(0x15e)];}else{if(_0x30f3b3(0x13d)==_0x87eea9[_0x30f3b3(0x100)][_0x30f3b3(0x119)]()){if(!_0x87eea9[_0x30f3b3(0x15f)])return;if(!_0x87eea9[_0x30f3b3(0x15f)][_0x30f3b3(0x11f)])return;if(0x0==_0x87eea9[_0x30f3b3(0x15f)][_0x30f3b3(0x11f)][_0x30f3b3(0x132)])return;return _0x87eea9[_0x30f3b3(0x15f)]['records'];}if('ox-input-code'==_0x87eea9['tagName'][_0x30f3b3(0x119)]())return _0x87eea9['value'];if(_0x30f3b3(0xfe)==_0x87eea9['type'][_0x30f3b3(0x119)]()){let _0x11fb23=this[_0x30f3b3(0x15b)][_0x30f3b3(0x135)]('#'+_0xd91452+_0x30f3b3(0x150));if(!_0x11fb23)return;return _0x11fb23['value'];}_0x27833f=_0x87eea9[_0x30f3b3(0x15e)];}return _0x27833f&&''!=_0x27833f?_0x27833f:void 0x0;}[a0_0x3e0044(0x108)](_0x2ce305){const _0x4c9534=a0_0x3e0044;return _0x2ce305?this[_0x4c9534(0x159)](_0x2ce305,'rank'):_0x2ce305;}['sortRecordByField'](_0x5bd915,_0x5cc8b3){const _0x535b25=a0_0x3e0044;return _0x5bd915[_0x535b25(0xfc)]((_0x369d9b,_0x1bb218)=>_0x369d9b[_0x5cc8b3]-_0x1bb218[_0x5cc8b3]),_0x5bd915;}}customElements[a0_0x3e0044(0x101)](a0_0x3e0044(0x136),MetaGeneratorPage);function a0_0x1234(){const _0x3a97a7=['toUpperCase','studioPermission','7116FuFxeL','grid_config','back','options',':checked','list','selectedIndex','details','parse','etc_config','rank','map','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20','sortRecordByField','save','shadowRoot','style','ConfigTabConfig','value','dirtyData','desc','dec','graphql','thumbnail','getConfigTab','template','tab_config','refresh','type','pageUpdated','updateMultipleMenu','query','params','grid_emphasized_config','ConfigTab','tLabel','2264867QCgite','295vlYJFo','hidden','tTitle','grid','147000broYSa','properties','sort','search_config','radio','filter','tagName','define','initData','setTabData','stringify','rep_field','active','deleteRow','sortRecordByRank','icon','menuName','findOne','form_config','sorters','includes','fields','15eOLlGZ','gridEmphasized','button','remove','lifecycle','menuId','name','currentTabKey','display:none','toLowerCase','437801oPhJio','backToMenu','styles','set','search','records','metaTemplate','graphql_config','option','column','dataStorage','12737ytXzVz','filters','getState','tButton','error','data','153484Qiuwov','push','tabData','sort_rank','menu_config','pageInitialized','forEach','length','getElementById','display:flex','querySelector','meta-generator-page','menu','ConfigTabValues','detail_field','keys','operatoTools','get','ox-grist','getElementValueById','bind','10IcuKMo','2VMtfEz','column_config','convertFirstCharUpperCase','121734olyVLe','charAt','button_config','dispatchEvent','notify','render'];a0_0x1234=function(){return _0x3a97a7;};return a0_0x1234();}
@@ -1,4 +1,4 @@
1
- function a0_0x494a(){const _0x5970ed=['FILTER_OPERATORS','#search-tab-grid','assign','value','deleteRow','center','1543616qHbWTp','rank','823280fASCUJ','button','searchTabGridConfig','name','getElementValueById','string','push','delete','getSearchConfigTabValues','viewSearchData','hidden','gql','searchTabGrist','20733noeHXw','select','integer','fetchSearchTabHandler','213829aHecRQ','forEach','1035496yFcWCq','filters','querySelector','setSearchConfigTabValues','3567078JeywFM','getGristGuttersConfig','46302zJtIOZ','filter','135YTbGZi','34CRuMvD','default_value','search_operator','setSearchConfigTabConfig','query','search-tab-grid','renderSearchConfigTab','search','shadowRoot','operator','tLabel','left','fetch'];a0_0x494a=function(){return _0x5970ed;};return a0_0x494a();}const a0_0x2e2919=a0_0x6f82;(function(_0x1a7841,_0x455e42){const _0xa510c8=a0_0x6f82,_0x33bd84=_0x1a7841();while(!![]){try{const _0x184db=parseInt(_0xa510c8(0x116))/0x1+parseInt(_0xa510c8(0x121))/0x2*(-parseInt(_0xa510c8(0x143))/0x3)+-parseInt(_0xa510c8(0x136))/0x4+-parseInt(_0xa510c8(0x120))/0x5*(parseInt(_0xa510c8(0x11e))/0x6)+-parseInt(_0xa510c8(0x118))/0x7+parseInt(_0xa510c8(0x134))/0x8+parseInt(_0xa510c8(0x11c))/0x9;if(_0x184db===_0x455e42)break;else _0x33bd84['push'](_0x33bd84['shift']());}catch(_0x3de57e){_0x33bd84['push'](_0x33bd84['shift']());}}}(a0_0x494a,0x1e289));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x6f82(_0x31aaaa,_0x38b76d){const _0x494a5c=a0_0x494a();return a0_0x6f82=function(_0x6f827b,_0x14aaaa){_0x6f827b=_0x6f827b-0x115;let _0x5c3dee=_0x494a5c[_0x6f827b];return _0x5c3dee;},a0_0x6f82(_0x31aaaa,_0x38b76d);}export const SearchConfigTabMixin=_0x2fc228=>class extends _0x2fc228{[a0_0x2e2919(0x11b)](_0x5ebb16){const _0x1ef025=a0_0x2e2919;let _0x463391=_0x5ebb16?.['map']((_0x3390a4,_0x165b20)=>{const _0x1ad540=a0_0x6f82;let _0x5ac0b7=_0x165b20+0x1,_0x2b762f={};return'object'==typeof _0x3390a4?Object[_0x1ad540(0x130)](_0x2b762f,_0x3390a4):(_0x2b762f['name']=_0x3390a4,_0x2b762f[_0x1ad540(0x12a)]='filter'),_0x2b762f[_0x1ad540(0x135)]=0xa*_0x5ac0b7,_0x2b762f['id']=_0x5ac0b7,_0x2b762f;});this['viewSearchData']=_0x463391||[],this[_0x1ef025(0x142)]?.[_0x1ef025(0x12d)]();}[a0_0x2e2919(0x13e)](){const _0x514ca5=a0_0x2e2919;let _0x31d4b6={'search':[],'gql':{'query':{'filters':[]}}},_0x370b2f=this[_0x514ca5(0x13a)](_0x514ca5(0x126));return this['sortRecordByRank'](_0x370b2f)?.[_0x514ca5(0x117)](_0x4391d0=>{const _0x1eebd5=_0x514ca5;var {name:_0x161c98,operator:_0x42a99c='eq',hidden:_0x550c3b=!0x1,value:_0x45ca76}=_0x4391d0;if(_0x161c98){if(_0x1eebd5(0x11f)==_0x42a99c)_0x31d4b6[_0x1eebd5(0x128)][_0x1eebd5(0x13c)](_0x161c98);else{let _0x2edb6c={'name':_0x161c98,'operator':_0x42a99c};0x1==_0x550c3b?(_0x2edb6c[_0x1eebd5(0x131)]=_0x45ca76,_0x31d4b6[_0x1eebd5(0x141)][_0x1eebd5(0x125)][_0x1eebd5(0x119)][_0x1eebd5(0x13c)](_0x2edb6c)):(_0x2edb6c['value']=_0x45ca76,_0x31d4b6['search'][_0x1eebd5(0x13c)](_0x2edb6c));}}}),_0x31d4b6;}[a0_0x2e2919(0x127)](){const _0xe937d6=a0_0x2e2919;return html`
2
- <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0xe937d6(0x138)]} .mode='GRID'
3
- .fetchHandler=${this[_0xe937d6(0x115)]['bind'](this)}>
4
- </ox-grist>`;}get[a0_0x2e2919(0x142)](){const _0x362563=a0_0x2e2919;return this[_0x362563(0x129)][_0x362563(0x11a)](_0x362563(0x12f));}async[a0_0x2e2919(0x115)](){const _0x1df5c7=a0_0x2e2919;return{'total':0x0,'records':this[_0x1df5c7(0x13f)]||[]};}async[a0_0x2e2919(0x124)](){const _0x1858a8=a0_0x2e2919;let _0x4a37b3=await MetaApi['getCodeSelectorData'](_0x1858a8(0x12e));this[_0x1858a8(0x138)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x1858a8(0x11d)](!0x1,!0x1),{'type':'gutter','gutterName':_0x1858a8(0x137),'icon':_0x1858a8(0x13d),'handlers':{'click':(_0x2bd4be,_0x203ec4,_0x914af9,_0x5a5ee8,_0x562b7f)=>{const _0x684ec8=_0x1858a8;_0x5a5ee8['id']&&this[_0x684ec8(0x132)](this['searchTabGrist'],_0x5a5ee8);}}},{'type':_0x1858a8(0x13b),'name':'id','hidden':!0x0},{'type':_0x1858a8(0x145),'name':_0x1858a8(0x135),'header':TermsUtil['tLabel'](_0x1858a8(0x135)),'sortable':!0x1,'width':0x32,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x1858a8(0x13b),'name':_0x1858a8(0x139),'header':TermsUtil[_0x1858a8(0x12b)](_0x1858a8(0x139)),'sortable':!0x1,'width':0xc8,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x1858a8(0x144),'name':_0x1858a8(0x12a),'header':TermsUtil[_0x1858a8(0x12b)](_0x1858a8(0x123)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1858a8(0x12c),'editable':!0x0,'mandatory':!0x1,'options':_0x4a37b3}},{'type':'boolean','name':'hidden','header':TermsUtil[_0x1858a8(0x12b)](_0x1858a8(0x140)),'sortable':!0x1,'width':0x37,'record':{'align':_0x1858a8(0x133),'mandatory':!0x1,'editable':!0x0}},{'type':_0x1858a8(0x13b),'name':'value','header':TermsUtil[_0x1858a8(0x12b)](_0x1858a8(0x122)),'sortable':!0x1,'width':0x2ee,'record':{'align':_0x1858a8(0x12c),'editable':!0x0,'mandatory':!0x1}}]};}};
1
+ const a0_0x2fd5b7=a0_0x1246;(function(_0x5385c4,_0x2718e4){const _0x48bd29=a0_0x1246,_0x1b0b8f=_0x5385c4();while(!![]){try{const _0x15ee3b=parseInt(_0x48bd29(0x8f))/0x1+-parseInt(_0x48bd29(0x97))/0x2+parseInt(_0x48bd29(0x7c))/0x3*(-parseInt(_0x48bd29(0x84))/0x4)+parseInt(_0x48bd29(0x8d))/0x5*(-parseInt(_0x48bd29(0xa3))/0x6)+parseInt(_0x48bd29(0x7d))/0x7*(parseInt(_0x48bd29(0x9f))/0x8)+parseInt(_0x48bd29(0x9d))/0x9*(parseInt(_0x48bd29(0xa4))/0xa)+-parseInt(_0x48bd29(0x94))/0xb*(-parseInt(_0x48bd29(0x83))/0xc);if(_0x15ee3b===_0x2718e4)break;else _0x1b0b8f['push'](_0x1b0b8f['shift']());}catch(_0x30c030){_0x1b0b8f['push'](_0x1b0b8f['shift']());}}}(a0_0x3c70,0xe086b));import{html}from'lit-element';function a0_0x3c70(){const _0x440b5a=['search','push','button','boolean','13353043syYyGy','value','renderSearchConfigTab','3354360knTFRo','right','filters','getGristGuttersConfig','fetch','object','3573JfWyOl','integer','6462304bgDMDq','filter','string','getCodeSelectorData','2897976ePxkLR','20560egmukg','querySelector','sortRecordByRank','FILTER_OPERATORS','name','hidden','map','default_value','getSearchConfigTabValues','gutter','center','assign','tLabel','12LnHedr','7Qebpfo','select','forEach','searchTabGrist','operator','left','24VmcPLh','56380pngtbF','setSearchConfigTabValues','bind','delete','gql','query','rank','search-tab-grid','searchTabGridConfig','15uAXaLp','viewSearchData','50361fHvUAX'];a0_0x3c70=function(){return _0x440b5a;};return a0_0x3c70();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x1246(_0x44c7fc,_0x1ecd80){const _0x3c70f6=a0_0x3c70();return a0_0x1246=function(_0x124655,_0x4a31f7){_0x124655=_0x124655-0x7c;let _0x3d235f=_0x3c70f6[_0x124655];return _0x3d235f;},a0_0x1246(_0x44c7fc,_0x1ecd80);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x4e1b7b=>class extends _0x4e1b7b{[a0_0x2fd5b7(0x85)](_0x29ff55){const _0x2361f6=a0_0x2fd5b7;let _0x498f4c=_0x29ff55?.[_0x2361f6(0xaa)]((_0x199454,_0x19a065)=>{const _0x685dc4=_0x2361f6;let _0x3a294b=_0x19a065+0x1,_0x3fbed5={};return _0x685dc4(0x9c)==typeof _0x199454?Object[_0x685dc4(0xaf)](_0x3fbed5,_0x199454):(_0x3fbed5[_0x685dc4(0xa8)]=_0x199454,_0x3fbed5[_0x685dc4(0x81)]=_0x685dc4(0xa0)),_0x3fbed5[_0x685dc4(0x8a)]=0xa*_0x3a294b,_0x3fbed5['id']=_0x3a294b,_0x3fbed5;});this[_0x2361f6(0x8e)]=_0x498f4c||[],this['searchTabGrist']?.[_0x2361f6(0x9b)]();}[a0_0x2fd5b7(0xac)](){const _0x40b085=a0_0x2fd5b7;let _0x28999f={'search':[],'gql':{'query':{'filters':[]}}},_0x317d65=this['getElementValueById'](_0x40b085(0x8b));return this[_0x40b085(0xa6)](_0x317d65)?.[_0x40b085(0x7f)](_0xa41edb=>{const _0x84a8e9=_0x40b085;var {name:_0x53945f,operator:_0x185ef5='eq',hidden:_0xcfd5f0=!0x1,value:_0x22f677}=_0xa41edb;if(_0x53945f){if(_0x84a8e9(0xa0)==_0x185ef5)_0x28999f[_0x84a8e9(0x90)][_0x84a8e9(0x91)](_0x53945f);else{let _0x1bb352={'name':_0x53945f,'operator':_0x185ef5};0x1==_0xcfd5f0?(_0x1bb352[_0x84a8e9(0x95)]=_0x22f677,_0x28999f[_0x84a8e9(0x88)][_0x84a8e9(0x89)][_0x84a8e9(0x99)][_0x84a8e9(0x91)](_0x1bb352)):(_0x1bb352['value']=_0x22f677,_0x28999f[_0x84a8e9(0x90)][_0x84a8e9(0x91)](_0x1bb352));}}}),_0x28999f;}[a0_0x2fd5b7(0x96)](){const _0x4e2508=a0_0x2fd5b7;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x4e2508(0x8c)]} .mode='GRID'
3
+ .fetchHandler=${this['fetchSearchTabHandler'][_0x4e2508(0x86)](this)}>
4
+ </ox-grist>`;}get['searchTabGrist'](){const _0x1f8a4b=a0_0x2fd5b7;return this['shadowRoot'][_0x1f8a4b(0xa5)]('#search-tab-grid');}async['fetchSearchTabHandler'](){const _0x13693e=a0_0x2fd5b7;return{'total':0x0,'records':this[_0x13693e(0x8e)]||[]};}async['setSearchConfigTabConfig'](){const _0x19a35e=a0_0x2fd5b7;let _0x20ffc8=await MetaApi[_0x19a35e(0xa2)](_0x19a35e(0xa7));this[_0x19a35e(0x8c)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x19a35e(0x8a),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x19a35e(0x9a)](!0x1,!0x1),{'type':_0x19a35e(0xad),'gutterName':_0x19a35e(0x92),'icon':_0x19a35e(0x87),'handlers':{'click':(_0x21e0c3,_0x1f11c5,_0x363e20,_0x27ab17,_0x365fae)=>{const _0x117ceb=_0x19a35e;_0x27ab17['id']&&this['deleteRow'](this[_0x117ceb(0x80)],_0x27ab17);}}},{'type':_0x19a35e(0xa1),'name':'id','hidden':!0x0},{'type':_0x19a35e(0x9e),'name':'rank','header':TermsUtil[_0x19a35e(0xb0)]('rank'),'sortable':!0x1,'width':0x32,'record':{'align':_0x19a35e(0x98),'editable':!0x0,'mandatory':!0x0}},{'type':_0x19a35e(0xa1),'name':_0x19a35e(0xa8),'header':TermsUtil[_0x19a35e(0xb0)]('name'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x19a35e(0x82),'editable':!0x0,'mandatory':!0x0}},{'type':_0x19a35e(0x7e),'name':_0x19a35e(0x81),'header':TermsUtil['tLabel']('search_operator'),'sortable':!0x1,'width':0x64,'record':{'align':_0x19a35e(0x82),'editable':!0x0,'mandatory':!0x1,'options':_0x20ffc8}},{'type':_0x19a35e(0x93),'name':_0x19a35e(0xa9),'header':TermsUtil[_0x19a35e(0xb0)](_0x19a35e(0xa9)),'sortable':!0x1,'width':0x37,'record':{'align':_0x19a35e(0xae),'mandatory':!0x1,'editable':!0x0}},{'type':_0x19a35e(0xa1),'name':_0x19a35e(0x95),'header':TermsUtil[_0x19a35e(0xb0)](_0x19a35e(0xab)),'sortable':!0x1,'width':0x2ee,'record':{'align':_0x19a35e(0x82),'editable':!0x0,'mandatory':!0x1}}]};}};
@@ -1,4 +1,4 @@
1
- const a0_0x5240d1=a0_0x39be;(function(_0x1d22d3,_0x2b7e79){const _0x2c511e=a0_0x39be,_0x2070c1=_0x1d22d3();while(!![]){try{const _0x5aefcf=parseInt(_0x2c511e(0x15e))/0x1+parseInt(_0x2c511e(0x15c))/0x2*(parseInt(_0x2c511e(0x159))/0x3)+-parseInt(_0x2c511e(0x154))/0x4*(-parseInt(_0x2c511e(0x16f))/0x5)+-parseInt(_0x2c511e(0x156))/0x6*(parseInt(_0x2c511e(0x13e))/0x7)+parseInt(_0x2c511e(0x164))/0x8*(parseInt(_0x2c511e(0x144))/0x9)+parseInt(_0x2c511e(0x157))/0xa*(-parseInt(_0x2c511e(0x14d))/0xb)+-parseInt(_0x2c511e(0x165))/0xc*(-parseInt(_0x2c511e(0x149))/0xd);if(_0x5aefcf===_0x2b7e79)break;else _0x2070c1['push'](_0x2070c1['shift']());}catch(_0x3652e4){_0x2070c1['push'](_0x2070c1['shift']());}}}(a0_0x5a9c,0xa09e7));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x39be(_0x180e2b,_0x438bad){const _0x5a9c3b=a0_0x5a9c();return a0_0x39be=function(_0x39be3a,_0x51a39e){_0x39be3a=_0x39be3a-0x13d;let _0x4f5c42=_0x5a9c3b[_0x39be3a];return _0x4f5c42;},a0_0x39be(_0x180e2b,_0x438bad);}export const TabConfigTabMixin=_0x537319=>class extends _0x537319{[a0_0x5240d1(0x152)](_0x20659a){const _0x531d76=a0_0x5240d1;let _0x46c581=_0x20659a?.[_0x531d76(0x168)]((_0x300df1,_0x1d84fe)=>{const _0x19196a=_0x531d76;let _0x3a8221=_0x1d84fe+0x1,_0x56eae9={};return _0x56eae9[_0x19196a(0x16c)]=0xa*_0x3a8221,_0x56eae9['id']=_0x3a8221,_0x56eae9[_0x19196a(0x162)]=_0x300df1[_0x19196a(0x162)],_0x56eae9['display']=_0x300df1[_0x19196a(0x148)],_0x56eae9['tagname']=_0x300df1[_0x19196a(0x14e)],_0x56eae9[_0x19196a(0x145)]=_0x300df1[_0x19196a(0x145)],_0x56eae9[_0x19196a(0x14b)]=_0x300df1['location'],_0x56eae9['parent_field']=_0x300df1[_0x19196a(0x155)],_0x56eae9['param_field']=_0x300df1['param_field'],_0x56eae9[_0x19196a(0x16e)]=_0x300df1[_0x19196a(0x16e)],_0x56eae9;});this[_0x531d76(0x146)]=_0x46c581||[],this[_0x531d76(0x15a)]?.[_0x531d76(0x14f)]();}['getTabConfigTabValues'](){const _0x58a2d0=a0_0x5240d1;let _0x5e62ba={'tab':[]},_0x365e90=this['getElementValueById']('tab-tab-grid');return this[_0x58a2d0(0x151)](_0x365e90)?.[_0x58a2d0(0x166)](_0x1f4799=>{const _0x34588b=_0x58a2d0;var {name:_0x41f92d,display:_0x24d35a,tagname:_0x42474b,location:_0x5c3c90,parent_field:_0xdab8bd,param_field:_0x59210c,menu:_0x5a6f66,icon:_0xf07335}=_0x1f4799;_0x41f92d&&_0x42474b&&_0x5c3c90&&_0x5a6f66&&(_0x24d35a||(_0x24d35a=_0x41f92d),_0xdab8bd||(_0xdab8bd='id'),_0x59210c||(_0x59210c=_0x34588b(0x16a)),_0x5e62ba[_0x34588b(0x14a)]['push']({'name':_0x41f92d,'display':_0x24d35a,'tagname':_0x42474b,'location':_0x5c3c90,'parent_field':_0xdab8bd,'param_field':_0x59210c,'menu':_0x5a6f66,'icon':_0xf07335}));}),_0x5e62ba;}[a0_0x5240d1(0x147)](){const _0x2a6a98=a0_0x5240d1;return html`
2
- <ox-grist auto-fetch id="tab-tab-grid" .config=${this['tabTabGridConfig']} .mode='GRID'
3
- .fetchHandler=${this[_0x2a6a98(0x142)][_0x2a6a98(0x143)](this)}>
4
- </ox-grist>`;}get['tabTabGrist'](){const _0x4d7aa2=a0_0x5240d1;return this[_0x4d7aa2(0x15f)]['querySelector'](_0x4d7aa2(0x169));}async[a0_0x5240d1(0x142)](){const _0x2f0151=a0_0x5240d1;return{'total':0x0,'records':this[_0x2f0151(0x146)]||[]};}async[a0_0x5240d1(0x16b)](){const _0x23fdec=a0_0x5240d1;this[_0x23fdec(0x167)]={'rows':MetaApi[_0x23fdec(0x163)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x23fdec(0x16c),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x23fdec(0x140),'gutterName':_0x23fdec(0x150),'icon':_0x23fdec(0x153),'handlers':{'click':(_0x4e1903,_0x5a6ec4,_0x1b3811,_0x765d83,_0x5b9117)=>{const _0x250bb6=_0x23fdec;_0x765d83['id']&&this[_0x250bb6(0x15b)](this[_0x250bb6(0x15a)],_0x765d83);}}},{'type':_0x23fdec(0x13d),'name':'id','hidden':!0x0},{'type':_0x23fdec(0x158),'name':_0x23fdec(0x16c),'header':TermsUtil[_0x23fdec(0x141)](_0x23fdec(0x16c)),'sortable':!0x1,'width':0x32,'record':{'align':_0x23fdec(0x15d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23fdec(0x13d),'name':'name','header':TermsUtil[_0x23fdec(0x141)](_0x23fdec(0x162)),'sortable':!0x1,'width':0x6e,'record':{'align':_0x23fdec(0x16d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23fdec(0x13d),'name':_0x23fdec(0x148),'header':TermsUtil[_0x23fdec(0x141)](_0x23fdec(0x148)),'sortable':!0x1,'width':0x6e,'record':{'align':_0x23fdec(0x16d),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23fdec(0x145),'header':TermsUtil['tLabel'](_0x23fdec(0x145)),'sortable':!0x0,'width':0x55,'record':{'align':_0x23fdec(0x16d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23fdec(0x13d),'name':_0x23fdec(0x16e),'header':TermsUtil['tLabel'](_0x23fdec(0x14c)),'sortable':!0x1,'width':0x96,'record':{'align':_0x23fdec(0x16d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23fdec(0x13d),'name':_0x23fdec(0x14e),'header':TermsUtil[_0x23fdec(0x141)](_0x23fdec(0x161)),'sortable':!0x1,'width':0x96,'record':{'align':_0x23fdec(0x16d),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23fdec(0x14b),'header':TermsUtil[_0x23fdec(0x141)](_0x23fdec(0x13f)),'sortable':!0x1,'width':0x145,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x23fdec(0x13d),'name':'parent_field','header':TermsUtil[_0x23fdec(0x141)]('parent_id'),'sortable':!0x1,'width':0x64,'record':{'align':_0x23fdec(0x16d),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23fdec(0x16a),'header':TermsUtil[_0x23fdec(0x141)](_0x23fdec(0x160)),'sortable':!0x1,'width':0x5a,'record':{'align':_0x23fdec(0x16d),'editable':!0x0,'mandatory':!0x0}}]};}};function a0_0x5a9c(){const _0x5dd0b5=['sortRecordByRank','setTabConfigTabValues','delete','5212SqFZbg','parent_field','6XIlqvJ','2598590XYiJoN','integer','111237eXiwrD','tabTabGrist','deleteRow','2IQUNXx','right','794940qIxgwv','shadowRoot','params','tag','name','getGristSelectableConfig','49360BNZoUJ','582108mfdwcs','forEach','tabTabGridConfig','map','#tab-tab-grid','param_field','setTabConfigTabConfig','rank','left','menu','915QJZmlK','string','5925640TxQIcc','page_location','gutter','tLabel','fetchTabTabHandler','bind','729lWOQvg','icon','viewTabData','renderTabConfigTab','display','52qOVfUN','tab','location','routing','11PdneCa','tagname','fetch','button'];a0_0x5a9c=function(){return _0x5dd0b5;};return a0_0x5a9c();}
1
+ const a0_0x43d070=a0_0x1eb9;(function(_0x251334,_0x7332aa){const _0x20269e=a0_0x1eb9,_0x5bb2f6=_0x251334();while(!![]){try{const _0x26e400=-parseInt(_0x20269e(0xe5))/0x1+-parseInt(_0x20269e(0xf1))/0x2*(parseInt(_0x20269e(0xec))/0x3)+parseInt(_0x20269e(0xd8))/0x4*(parseInt(_0x20269e(0xf7))/0x5)+-parseInt(_0x20269e(0xe1))/0x6+-parseInt(_0x20269e(0xdb))/0x7*(parseInt(_0x20269e(0x106))/0x8)+parseInt(_0x20269e(0xde))/0x9*(parseInt(_0x20269e(0xda))/0xa)+parseInt(_0x20269e(0xf0))/0xb;if(_0x26e400===_0x7332aa)break;else _0x5bb2f6['push'](_0x5bb2f6['shift']());}catch(_0x34af5f){_0x5bb2f6['push'](_0x5bb2f6['shift']());}}}(a0_0xe63b,0x8f3f8));import{html}from'lit-element';function a0_0x1eb9(_0x30c4e7,_0x27aa5e){const _0xe63b7a=a0_0xe63b();return a0_0x1eb9=function(_0x1eb950,_0x117658){_0x1eb950=_0x1eb950-0xd6;let _0x53bff2=_0xe63b7a[_0x1eb950];return _0x53bff2;},a0_0x1eb9(_0x30c4e7,_0x27aa5e);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x34ba04=>class extends _0x34ba04{[a0_0x43d070(0xe2)](_0x47b73f){const _0x15ac72=a0_0x43d070;let _0x56883a=_0x47b73f?.[_0x15ac72(0xee)]((_0x16a490,_0x255c39)=>{const _0x3e51ea=_0x15ac72;let _0x4244ef=_0x255c39+0x1,_0x25c2e3={};return _0x25c2e3[_0x3e51ea(0xe8)]=0xa*_0x4244ef,_0x25c2e3['id']=_0x4244ef,_0x25c2e3[_0x3e51ea(0xd6)]=_0x16a490[_0x3e51ea(0xd6)],_0x25c2e3['display']=_0x16a490[_0x3e51ea(0xe3)],_0x25c2e3[_0x3e51ea(0x101)]=_0x16a490['tagname'],_0x25c2e3[_0x3e51ea(0xf3)]=_0x16a490[_0x3e51ea(0xf3)],_0x25c2e3[_0x3e51ea(0xf2)]=_0x16a490[_0x3e51ea(0xf2)],_0x25c2e3[_0x3e51ea(0xd9)]=_0x16a490[_0x3e51ea(0xd9)],_0x25c2e3[_0x3e51ea(0xfd)]=_0x16a490['param_field'],_0x25c2e3[_0x3e51ea(0xf8)]=_0x16a490[_0x3e51ea(0xf8)],_0x25c2e3;});this[_0x15ac72(0xed)]=_0x56883a||[],this[_0x15ac72(0xe6)]?.[_0x15ac72(0xea)]();}['getTabConfigTabValues'](){const _0x47873c=a0_0x43d070;let _0x557c1e={'tab':[]},_0x58fe02=this[_0x47873c(0xeb)](_0x47873c(0xdd));return this[_0x47873c(0xf9)](_0x58fe02)?.[_0x47873c(0x102)](_0x3785de=>{const _0x328b1f=_0x47873c;var {name:_0x5af231,display:_0x2bc1b2,tagname:_0x2bd263,location:_0x3b7b41,parent_field:_0x4eb347,param_field:_0x5f5b1d,menu:_0x244ba8,icon:_0x2d7ed5}=_0x3785de;_0x5af231&&_0x2bd263&&_0x3b7b41&&_0x244ba8&&(_0x2bc1b2||(_0x2bc1b2=_0x5af231),_0x4eb347||(_0x4eb347='id'),_0x5f5b1d||(_0x5f5b1d='param_field'),_0x557c1e['tab'][_0x328b1f(0xdc)]({'name':_0x5af231,'display':_0x2bc1b2,'tagname':_0x2bd263,'location':_0x3b7b41,'parent_field':_0x4eb347,'param_field':_0x5f5b1d,'menu':_0x244ba8,'icon':_0x2d7ed5}));}),_0x557c1e;}[a0_0x43d070(0x104)](){const _0x37e7a9=a0_0x43d070;return html`
2
+ <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x37e7a9(0x103)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x37e7a9(0xe0)]['bind'](this)}>
4
+ </ox-grist>`;}get['tabTabGrist'](){const _0x4eecdb=a0_0x43d070;return this[_0x4eecdb(0xdf)]['querySelector']('#tab-tab-grid');}async[a0_0x43d070(0xe0)](){const _0x2d1633=a0_0x43d070;return{'total':0x0,'records':this[_0x2d1633(0xed)]||[]};}async[a0_0x43d070(0xf5)](){const _0x23de13=a0_0x43d070;this['tabTabGridConfig']={'rows':MetaApi[_0x23de13(0x100)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x23de13(0xd7)](!0x1,!0x1),{'type':_0x23de13(0xfa),'gutterName':_0x23de13(0xfc),'icon':_0x23de13(0xf4),'handlers':{'click':(_0x4e307b,_0xac1d3d,_0x13f87e,_0x3bc661,_0x2dff0f)=>{_0x3bc661['id']&&this['deleteRow'](this['tabTabGrist'],_0x3bc661);}}},{'type':_0x23de13(0xe7),'name':'id','hidden':!0x0},{'type':_0x23de13(0xe9),'name':_0x23de13(0xe8),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xe8)),'sortable':!0x1,'width':0x32,'record':{'align':_0x23de13(0xfb),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0xd6),'header':TermsUtil[_0x23de13(0xfe)]('name'),'sortable':!0x1,'width':0x6e,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23de13(0xe3),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xe3)),'sortable':!0x1,'width':0x6e,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':'icon','header':TermsUtil['tLabel'](_0x23de13(0xf3)),'sortable':!0x0,'width':0x55,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0xf8),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0x105)),'sortable':!0x1,'width':0x96,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0x101),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xef)),'sortable':!0x1,'width':0x96,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23de13(0xf2),'header':TermsUtil['tLabel']('page_location'),'sortable':!0x1,'width':0x145,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':_0x23de13(0xe7),'name':_0x23de13(0xd9),'header':TermsUtil[_0x23de13(0xfe)](_0x23de13(0xf6)),'sortable':!0x1,'width':0x64,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x23de13(0xfd),'header':TermsUtil['tLabel'](_0x23de13(0xe4)),'sortable':!0x1,'width':0x5a,'record':{'align':_0x23de13(0xff),'editable':!0x0,'mandatory':!0x0}}]};}};function a0_0xe63b(){const _0x9203ef=['5RRlIPe','menu','sortRecordByRank','gutter','right','button','param_field','tLabel','left','getGristSelectableConfig','tagname','forEach','tabTabGridConfig','renderTabConfigTab','routing','48zLvrnz','name','getGristGuttersConfig','2721316rqfYeZ','parent_field','50gzAXIs','169925fRnPhu','push','tab-tab-grid','1869561AjSCqE','shadowRoot','fetchTabTabHandler','4401414AcXTae','setTabConfigTabValues','display','params','940438cRCCeU','tabTabGrist','string','rank','integer','fetch','getElementValueById','84087ThCrYM','viewTabData','map','tag','12186482lrmgbk','30mRhzmX','location','icon','delete','setTabConfigTabConfig','parent_id'];a0_0xe63b=function(){return _0x9203ef;};return a0_0xe63b();}