@things-factory/operato-tools 6.1.35 → 6.1.36

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_0x4aca(_0x259c92,_0x198fc6){const _0x2211d1=a0_0x2211();return a0_0x4aca=function(_0x4aca9d,_0x39befb){_0x4aca9d=_0x4aca9d-0x131;let _0x55d07d=_0x2211d1[_0x4aca9d];return _0x55d07d;},a0_0x4aca(_0x259c92,_0x198fc6);}const a0_0x37b7ec=a0_0x4aca;function a0_0x2211(){const _0x43141e=['unuse','description','setGridConfigTabDetaultValues','name','push','11556CGNvKk','map','grid_term_100','option','viewGridData','multiple_select','pages','grid','1029024iFuzRN','tLabel','grid_support_multi_select','564823XTsalY','mobile_mode','setGridConfigTabConfig','grid_term_','grid_desk_view','use_row_checker','setGridConfigTabValues','gridViewModes','gridPageOptions','use','LIST','10lbbYyz','unlimited','grid_term_default','grid_use_filter','list_view_use','length','grid_pagination','3276942tnceyU','312992kAUMMJ','76glIEFl','117UdDygQ','true','getElementValueById','view_mode','_view_use','toLowerCase','grid_term_50','renderGridConfigTab','grid_multi_select','2548460qmhMYb','codeItems','GRID_PAGE_OPTIONS','grid_row_check_use','CARD','GRID','card_view_use','use_filter_form','grid_use_row_check','8298318PoBUxr','select-row-toggle','includes','grid_view_use','support','desk_mode','row','grid_term_unlimited','getGridConfigTabValues'];a0_0x2211=function(){return _0x43141e;};return a0_0x2211();}(function(_0x59111d,_0x510d30){const _0x26a2a1=a0_0x4aca,_0x4904d4=_0x59111d();while(!![]){try{const _0x3a0b7c=parseInt(_0x26a2a1(0x147))/0x1*(parseInt(_0x26a2a1(0x166))/0x2)+-parseInt(_0x26a2a1(0x164))/0x3+-parseInt(_0x26a2a1(0x165))/0x4*(parseInt(_0x26a2a1(0x15d))/0x5)+-parseInt(_0x26a2a1(0x139))/0x6+-parseInt(_0x26a2a1(0x152))/0x7+-parseInt(_0x26a2a1(0x14f))/0x8+-parseInt(_0x26a2a1(0x167))/0x9*(-parseInt(_0x26a2a1(0x170))/0xa);if(_0x3a0b7c===_0x510d30)break;else _0x4904d4['push'](_0x4904d4['shift']());}catch(_0x4e9a32){_0x4904d4['push'](_0x4904d4['shift']());}}}(a0_0x2211,0xde662));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=_0x40ae5a=>class extends _0x40ae5a{[a0_0x37b7ec(0x158)](_0x2a347e){const _0x26b503=a0_0x37b7ec;if(_0x2a347e){var {mobile_mode:_0x22bedc='',desk_mode:_0x52b5d3='',pages:_0x4e1462=[],use_row_checker:_0x10c5a9=!0x0,view_mode:_0x340fa6=[]}=_0x2a347e[_0x26b503(0x14a)]||{};let _0x3b8015=(_0x2a347e[_0x26b503(0x13f)]||{'multiple_select':!0x1})['multiple_select'],_0x34ce79=_0x26b503(0x15e)==_0x4e1462?_0x26b503(0x140):0x0==_0x4e1462[_0x26b503(0x162)]?'':0x14==_0x4e1462[0x0]?'grid_term_default':_0x26b503(0x155)+_0x4e1462[0x0];this[_0x26b503(0x14b)]={'mobile_mode':_0x22bedc,'desk_mode':_0x52b5d3,'use_row_checker':_0x10c5a9,'pages':_0x34ce79,'view_mode':_0x340fa6,'multiple_select':_0x3b8015,'use_filter_form':_0x2a347e[_0x26b503(0x137)]};}else this[_0x26b503(0x144)]();}[a0_0x37b7ec(0x141)](){const _0x121e30=a0_0x37b7ec;let _0x131569={'grid':{'option':{},'row':{'click':_0x121e30(0x13a)}}},_0x75df33=this[_0x121e30(0x169)](_0x121e30(0x133)),_0x35efd8=this[_0x121e30(0x169)](_0x121e30(0x16f)),_0x129245=this['getElementValueById'](_0x121e30(0x156)),_0x41d067=this[_0x121e30(0x169)]('grid_mobile_view'),_0x478736=this[_0x121e30(0x169)](_0x121e30(0x160)),_0xac0bd=this[_0x121e30(0x169)](_0x121e30(0x163)),_0x422375=this[_0x121e30(0x169)](_0x121e30(0x13c)),_0x2df5=this[_0x121e30(0x169)](_0x121e30(0x161)),_0x5a9f07=this[_0x121e30(0x169)](_0x121e30(0x136));return _0x131569[_0x121e30(0x14e)][_0x121e30(0x137)]=_0x121e30(0x168)==_0x478736,_0x131569['grid']['row'][_0x121e30(0x14c)]=_0x121e30(0x168)==_0x35efd8,_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x157)]=_0x121e30(0x168)==_0x75df33,_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x153)]=_0x41d067,_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x13e)]=_0x129245,'grid_term_default'==_0xac0bd?_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)]['pages']=[0x14,0x1e,0x32,0x64]:_0x121e30(0x16d)==_0xac0bd?_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x14d)]=[0x32,0x64,0x1f4,0x3e8]:_0x121e30(0x149)==_0xac0bd?_0x131569['grid'][_0x121e30(0x14a)][_0x121e30(0x14d)]=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0xac0bd?_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)]['pages']=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:'grid_term_unlimited'==_0xac0bd&&(_0x131569['grid'][_0x121e30(0x14a)]['pages']=_0x121e30(0x15e)),_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x16a)]=[],_0x121e30(0x168)==_0x422375&&_0x131569['grid'][_0x121e30(0x14a)]['view_mode'][_0x121e30(0x146)](_0x121e30(0x135)),_0x121e30(0x168)==_0x2df5&&_0x131569[_0x121e30(0x14e)]['option'][_0x121e30(0x16a)][_0x121e30(0x146)](_0x121e30(0x15c)),_0x121e30(0x168)==_0x5a9f07&&_0x131569[_0x121e30(0x14e)]['option'][_0x121e30(0x16a)][_0x121e30(0x146)](_0x121e30(0x134)),_0x131569;}async[a0_0x37b7ec(0x154)](){const _0x2ed748=a0_0x37b7ec;let _0x4dd55f=await MetaApi[_0x2ed748(0x131)](_0x2ed748(0x132)),_0x363f1c=await MetaApi[_0x2ed748(0x131)]('GRID_VIEW_MODE');this['gridViewModes']=_0x363f1c,this[_0x2ed748(0x15a)]=_0x4dd55f;}[a0_0x37b7ec(0x144)](){const _0x4bc8a4=a0_0x37b7ec;this[_0x4bc8a4(0x14b)]||(this[_0x4bc8a4(0x14b)]={'mobile_mode':this['gridViewModes']?this[_0x4bc8a4(0x159)][0x1]:_0x4bc8a4(0x15c),'desk_mode':this[_0x4bc8a4(0x159)]?this[_0x4bc8a4(0x159)][0x0]:_0x4bc8a4(0x135),'use_row_checker':!0x0,'pages':_0x4bc8a4(0x15f),'view_mode':[...this[_0x4bc8a4(0x159)]?this[_0x4bc8a4(0x159)]:['GRID',_0x4bc8a4(0x15c),_0x4bc8a4(0x134)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x37b7ec(0x16e)](){const _0x23b224=a0_0x37b7ec;return this['setGridConfigTabDetaultValues'](),html`
1
+ const a0_0x27ec4f=a0_0x2a0c;(function(_0x15742a,_0x5a4b5d){const _0x9c2698=a0_0x2a0c,_0xe50f1c=_0x15742a();while(!![]){try{const _0x54b117=parseInt(_0x9c2698(0x1df))/0x1*(parseInt(_0x9c2698(0x201))/0x2)+-parseInt(_0x9c2698(0x1f1))/0x3+parseInt(_0x9c2698(0x1ea))/0x4+parseInt(_0x9c2698(0x1d2))/0x5+parseInt(_0x9c2698(0x1d8))/0x6+parseInt(_0x9c2698(0x1ee))/0x7+-parseInt(_0x9c2698(0x1e2))/0x8;if(_0x54b117===_0x5a4b5d)break;else _0xe50f1c['push'](_0xe50f1c['shift']());}catch(_0x1eaf4e){_0xe50f1c['push'](_0xe50f1c['shift']());}}}(a0_0x1b5d,0x66f99));function a0_0x1b5d(){const _0x3bf1ea=['grid_view_use','GRID','grid_desk_view','option','tLabel','toLowerCase','16235thHIHC','viewGridData','use','setGridConfigTabDetaultValues','multiple_select','CARD','240078PCJDeS','GRID_PAGE_OPTIONS','getElementValueById','name','grid_term_1000','use_filter_form','card_view_use','1223JvfSIO','renderGridConfigTab','gridPageOptions','3761888lrctot','codeItems','grid_term_default','push','grid_term_','pages','setGridConfigTabConfig','grid_row_check_use','1161652xiaAPX','desk_mode','grid_support_view','unlimited','2571989RuBZXW','getGridConfigTabValues','map','1228716LFXYZZ','grid_pagination','mobile_mode','grid_support_multi_select','gridViewModes','description','view_mode','grid','row','grid_multi_select','_view_use','unuse','grid_mobile_view','grid_term_unlimited','support','grid_use_filter','982nGDeqY','LIST','GRID_VIEW_MODE','grid_term_100','select-row-toggle','unsupport','true','use_row_checker','grid_term_50'];a0_0x1b5d=function(){return _0x3bf1ea;};return a0_0x1b5d();}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x2a0c(_0x2e3d9f,_0x48293a){const _0x1b5de7=a0_0x1b5d();return a0_0x2a0c=function(_0x2a0cd4,_0x565550){_0x2a0cd4=_0x2a0cd4-0x1ce;let _0x3963ef=_0x1b5de7[_0x2a0cd4];return _0x3963ef;},a0_0x2a0c(_0x2e3d9f,_0x48293a);}export const GridConfigTabMixin=_0xd9ed3=>class extends _0xd9ed3{['setGridConfigTabValues'](_0x4fc272){const _0x8b4ee4=a0_0x2a0c;if(_0x4fc272){var {mobile_mode:_0x2d873b='',desk_mode:_0x64d975='',pages:_0x8d8076=[],use_row_checker:_0x7534e4=!0x0,view_mode:_0x1b2645=[]}=_0x4fc272['option']||{};let _0x5a6c3a=(_0x4fc272[_0x8b4ee4(0x1f9)]||{'multiple_select':!0x1})[_0x8b4ee4(0x1d6)],_0x2e79da='unlimited'==_0x8d8076?_0x8b4ee4(0x1fe):0x0==_0x8d8076['length']?'':0x14==_0x8d8076[0x0]?_0x8b4ee4(0x1e4):_0x8b4ee4(0x1e6)+_0x8d8076[0x0];this[_0x8b4ee4(0x1d3)]={'mobile_mode':_0x2d873b,'desk_mode':_0x64d975,'use_row_checker':_0x7534e4,'pages':_0x2e79da,'view_mode':_0x1b2645,'multiple_select':_0x5a6c3a,'use_filter_form':_0x4fc272[_0x8b4ee4(0x1dd)]};}else this[_0x8b4ee4(0x1d5)]();}[a0_0x27ec4f(0x1ef)](){const _0x115564=a0_0x27ec4f;let _0x28f973={'grid':{'option':{},'row':{'click':_0x115564(0x205)}}},_0x3a810e=this[_0x115564(0x1da)](_0x115564(0x1e9)),_0x37575f=this[_0x115564(0x1da)](_0x115564(0x1fa)),_0x2ae332=this[_0x115564(0x1da)](_0x115564(0x1ce)),_0x3e47bb=this['getElementValueById'](_0x115564(0x1fd)),_0x3bd5c0=this[_0x115564(0x1da)](_0x115564(0x200)),_0x1d27f3=this['getElementValueById'](_0x115564(0x1f2)),_0x33ca0d=this[_0x115564(0x1da)](_0x115564(0x20a)),_0x529786=this[_0x115564(0x1da)]('list_view_use'),_0x56db96=this[_0x115564(0x1da)](_0x115564(0x1de));return _0x28f973[_0x115564(0x1f8)][_0x115564(0x1dd)]='true'==_0x3bd5c0,_0x28f973[_0x115564(0x1f8)][_0x115564(0x1f9)][_0x115564(0x1d6)]=_0x115564(0x207)==_0x37575f,_0x28f973['grid'][_0x115564(0x1cf)][_0x115564(0x208)]=_0x115564(0x207)==_0x3a810e,_0x28f973['grid'][_0x115564(0x1cf)]['mobile_mode']=_0x3e47bb,_0x28f973['grid'][_0x115564(0x1cf)][_0x115564(0x1eb)]=_0x2ae332,'grid_term_default'==_0x1d27f3?_0x28f973['grid'][_0x115564(0x1cf)][_0x115564(0x1e7)]=[0x14,0x1e,0x32,0x64]:_0x115564(0x209)==_0x1d27f3?_0x28f973[_0x115564(0x1f8)][_0x115564(0x1cf)]['pages']=[0x32,0x64,0x1f4,0x3e8]:_0x115564(0x204)==_0x1d27f3?_0x28f973[_0x115564(0x1f8)][_0x115564(0x1cf)]['pages']=[0x64,0x1f4,0x3e8,0x1388]:_0x115564(0x1dc)==_0x1d27f3?_0x28f973['grid'][_0x115564(0x1cf)][_0x115564(0x1e7)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x115564(0x1fe)==_0x1d27f3&&(_0x28f973[_0x115564(0x1f8)][_0x115564(0x1cf)][_0x115564(0x1e7)]=_0x115564(0x1ed)),_0x28f973[_0x115564(0x1f8)]['option'][_0x115564(0x1f7)]=[],_0x115564(0x207)==_0x33ca0d&&_0x28f973[_0x115564(0x1f8)][_0x115564(0x1cf)][_0x115564(0x1f7)]['push'](_0x115564(0x20b)),_0x115564(0x207)==_0x529786&&_0x28f973['grid'][_0x115564(0x1cf)][_0x115564(0x1f7)][_0x115564(0x1e5)](_0x115564(0x202)),_0x115564(0x207)==_0x56db96&&_0x28f973[_0x115564(0x1f8)][_0x115564(0x1cf)][_0x115564(0x1f7)]['push'](_0x115564(0x1d7)),_0x28f973;}async[a0_0x27ec4f(0x1e8)](){const _0x910a11=a0_0x27ec4f;let _0x263a66=await MetaApi[_0x910a11(0x1e3)](_0x910a11(0x1d9)),_0x111f57=await MetaApi['codeItems'](_0x910a11(0x203));this[_0x910a11(0x1f5)]=_0x111f57,this['gridPageOptions']=_0x263a66;}[a0_0x27ec4f(0x1d5)](){const _0x23afbc=a0_0x27ec4f;this[_0x23afbc(0x1d3)]||(this['viewGridData']={'mobile_mode':this[_0x23afbc(0x1f5)]?this[_0x23afbc(0x1f5)][0x1]:'LIST','desk_mode':this[_0x23afbc(0x1f5)]?this[_0x23afbc(0x1f5)][0x0]:_0x23afbc(0x20b),'use_row_checker':!0x0,'pages':_0x23afbc(0x1e4),'view_mode':[...this[_0x23afbc(0x1f5)]?this['gridViewModes']:['GRID','LIST',_0x23afbc(0x1d7)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x27ec4f(0x1e0)](){const _0x1c30e8=a0_0x27ec4f;return this[_0x1c30e8(0x1d5)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x23b224(0x138))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('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'][_0x23b224(0x157)]}>${TermsUtil[_0x23b224(0x150)](_0x23b224(0x15b))}</input>
10
+ ?checked=${this[_0x1c30e8(0x1d3)]['use_row_checker']}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1d4))}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this['viewGridData'][_0x23b224(0x157)]}>${TermsUtil[_0x23b224(0x150)]('unuse')}</input>
12
+ ?checked=${!this[_0x1c30e8(0x1d3)][_0x1c30e8(0x208)]}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1fc))}</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[_0x23b224(0x150)](_0x23b224(0x151))}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1f4))}
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[_0x23b224(0x14b)]['multiple_select']}>${TermsUtil[_0x23b224(0x150)](_0x23b224(0x13d))}</input>
23
+ ?checked=${this['viewGridData']['multiple_select']}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1ff))}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this[_0x23b224(0x14b)][_0x23b224(0x14c)]}>${TermsUtil[_0x23b224(0x150)]('unsupport')}</input>
25
+ ?checked=${!this[_0x1c30e8(0x1d3)][_0x1c30e8(0x1d6)]}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x206))}</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'](_0x23b224(0x160))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x200))}
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['viewGridData'][_0x23b224(0x137)]}>${TermsUtil['tLabel'](_0x23b224(0x15b))}</input>
36
+ ?checked=${this[_0x1c30e8(0x1d3)][_0x1c30e8(0x1dd)]}>${TermsUtil['tLabel'](_0x1c30e8(0x1d4))}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this[_0x23b224(0x14b)][_0x23b224(0x137)]}>${TermsUtil['tLabel'](_0x23b224(0x142))}</input>
38
+ ?checked=${!this[_0x1c30e8(0x1d3)]['use_filter_form']}>${TermsUtil[_0x1c30e8(0x1d0)]('unuse')}</input>
39
39
  </span>
40
40
  </label>
41
41
  </div>
42
42
  <div></div>
43
43
  <div field>
44
44
  <h2>
45
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x23b224(0x150)]('grid_desk_view')}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1ce))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this[_0x23b224(0x159)]?.['map'](_0x3386c5=>html`<option value=${_0x3386c5[_0x23b224(0x145)]} ?selected=${this[_0x23b224(0x14b)][_0x23b224(0x13e)]==_0x3386c5['name']}>${_0x3386c5[_0x23b224(0x143)]}</option>`)}
49
+ ${this['gridViewModes']?.['map'](_0xde1eb4=>html`<option value=${_0xde1eb4['name']} ?selected=${this['viewGridData'][_0x1c30e8(0x1eb)]==_0xde1eb4[_0x1c30e8(0x1db)]}>${_0xde1eb4['description']}</option>`)}
50
50
  </select>
51
51
  </label>
52
52
  </div>
53
53
  <div field>
54
54
  <h2>
55
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x23b224(0x150)]('grid_mobile_view')}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1fd))}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this[_0x23b224(0x159)]?.[_0x23b224(0x148)](_0x2619d8=>html`<option value=${_0x2619d8['name']} ?selected=${this[_0x23b224(0x14b)]['mobile_mode']==_0x2619d8[_0x23b224(0x145)]}>${_0x2619d8[_0x23b224(0x143)]}</option>`)}
59
+ ${this[_0x1c30e8(0x1f5)]?.[_0x1c30e8(0x1f0)](_0x40d56f=>html`<option value=${_0x40d56f[_0x1c30e8(0x1db)]} ?selected=${this[_0x1c30e8(0x1d3)][_0x1c30e8(0x1f3)]==_0x40d56f[_0x1c30e8(0x1db)]}>${_0x40d56f[_0x1c30e8(0x1f6)]}</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[_0x23b224(0x150)]('grid_support_view')}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x1c30e8(0x1ec))}
66
66
  </h2>
67
67
  <label>
68
- ${this['gridViewModes']?.[_0x23b224(0x148)](_0x49248f=>html`
69
- <span>${_0x49248f[_0x23b224(0x145)]}
70
- <input type="radio" name=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+'_view_use'} id=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+_0x23b224(0x16b)} ?checked=${this[_0x23b224(0x14b)][_0x23b224(0x16a)][_0x23b224(0x13b)](_0x49248f[_0x23b224(0x145)])} value="true">${TermsUtil[_0x23b224(0x150)](_0x23b224(0x15b))}</input>
71
- <input type="radio" name=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+_0x23b224(0x16b)} id=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+'_view_use'} ?checked=${!this[_0x23b224(0x14b)][_0x23b224(0x16a)][_0x23b224(0x13b)](_0x49248f['name'])} value="false">${TermsUtil[_0x23b224(0x150)](_0x23b224(0x142))}</input>
68
+ ${this['gridViewModes']?.['map'](_0x4b1a98=>html`
69
+ <span>${_0x4b1a98[_0x1c30e8(0x1db)]}
70
+ <input type="radio" name=${_0x4b1a98['name'][_0x1c30e8(0x1d1)]()+_0x1c30e8(0x1fb)} id=${_0x4b1a98[_0x1c30e8(0x1db)]['toLowerCase']()+_0x1c30e8(0x1fb)} ?checked=${this[_0x1c30e8(0x1d3)][_0x1c30e8(0x1f7)]['includes'](_0x4b1a98[_0x1c30e8(0x1db)])} value="true">${TermsUtil[_0x1c30e8(0x1d0)]('use')}</input>
71
+ <input type="radio" name=${_0x4b1a98[_0x1c30e8(0x1db)][_0x1c30e8(0x1d1)]()+_0x1c30e8(0x1fb)} id=${_0x4b1a98[_0x1c30e8(0x1db)]['toLowerCase']()+_0x1c30e8(0x1fb)} ?checked=${!this[_0x1c30e8(0x1d3)][_0x1c30e8(0x1f7)]['includes'](_0x4b1a98['name'])} value="false">${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1fc))}</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[_0x23b224(0x150)](_0x23b224(0x163))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1f2))}
79
79
  </h2>
80
80
  <label>
81
- ${this[_0x23b224(0x15a)]?.[_0x23b224(0x148)](_0x325dc9=>html`
81
+ ${this[_0x1c30e8(0x1e1)]?.[_0x1c30e8(0x1f0)](_0x80f804=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x325dc9[_0x23b224(0x145)]} ?checked=${this[_0x23b224(0x14b)][_0x23b224(0x14d)]==_0x325dc9[_0x23b224(0x145)]}>${TermsUtil[_0x23b224(0x150)](_0x325dc9['name'])}</input>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x80f804[_0x1c30e8(0x1db)]} ?checked=${this[_0x1c30e8(0x1d3)][_0x1c30e8(0x1e7)]==_0x80f804[_0x1c30e8(0x1db)]}>${TermsUtil[_0x1c30e8(0x1d0)](_0x80f804[_0x1c30e8(0x1db)])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
1
- const a0_0x3508f5=a0_0x36dc;(function(_0x42ebc1,_0x369ffd){const _0x1a066c=a0_0x36dc,_0xf674d=_0x42ebc1();while(!![]){try{const _0x4c0834=parseInt(_0x1a066c(0x127))/0x1*(-parseInt(_0x1a066c(0x126))/0x2)+parseInt(_0x1a066c(0x151))/0x3+parseInt(_0x1a066c(0x145))/0x4+-parseInt(_0x1a066c(0x152))/0x5*(-parseInt(_0x1a066c(0x136))/0x6)+-parseInt(_0x1a066c(0x122))/0x7*(-parseInt(_0x1a066c(0x134))/0x8)+-parseInt(_0x1a066c(0x14c))/0x9*(parseInt(_0x1a066c(0x118))/0xa)+-parseInt(_0x1a066c(0x146))/0xb*(-parseInt(_0x1a066c(0x14a))/0xc);if(_0x4c0834===_0x369ffd)break;else _0xf674d['push'](_0xf674d['shift']());}catch(_0x274bc2){_0xf674d['push'](_0xf674d['shift']());}}}(a0_0xea59,0xa807a));function a0_0xea59(){const _0x45b00c=['map','getElementValueById','viewEmphasizedData','deleteRow','push','16gICtEW','getGristSelectableConfig','991908pNLVyb','row','fetch','setGridEmphasizedConfigTabConfig','grid_column_emphasized_config','row-emphasized-grist','setGridEmphasizedConfigTabDefaultValues','fetchColumnEmphasized','getGristGuttersConfig','GRID','renderGridEmphasizedConfigTab','#row-emphasized-grist','querySelector','emphasizedConfigTabRowEmphasizedGrist','gutter','635820aKyznM','11wqxBem','fetchRowEmphasized','sortRecordByRank','button','953124eKKEtz','shadowRoot','3218850KevfWa','keys','string','logic','code-input','1109616RqGDgL','20xhPebZ','setGridEmphasizedConfigTabValues','column-emphasized-grist','30jVjGWS','tLabel','delete','rowEmphasizedConfig','font-color','columnEmphasizedData','column','backgroundColor','#column-emphasized-grist','forEach','4395993afccfc','background-color','integer','rowEmphasizedData','138968prllOk','11RYPOwX','columnEmphasizedConfig','bind','rank','fontColor','right','left','emphasizedConfigTabColumnEmphasizedGrist'];a0_0xea59=function(){return _0x45b00c;};return a0_0xea59();}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x36dc(_0x4d359f,_0x5a6e54){const _0xea5919=a0_0xea59();return a0_0x36dc=function(_0x36dc5d,_0xd586df){_0x36dc5d=_0x36dc5d-0x118;let _0x2d26c7=_0xea5919[_0x36dc5d];return _0x2d26c7;},a0_0x36dc(_0x4d359f,_0x5a6e54);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x196f02=>class extends _0x196f02{[a0_0x3508f5(0x153)](_0x472d1d){const _0x4dcf7e=a0_0x3508f5;if(_0x472d1d){this[_0x4dcf7e(0x131)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x1ce068=0x1;this[_0x4dcf7e(0x131)][_0x4dcf7e(0x125)]=(_0x472d1d[_0x4dcf7e(0x137)]||[])[_0x4dcf7e(0x12f)](_0x2aa55b=>({'id':_0x1ce068,'rank':_0x1ce068++,'backgroundColor':_0x2aa55b[_0x4dcf7e(0x11f)]||'','fontColor':_0x2aa55b[_0x4dcf7e(0x12b)]||'','logic':_0x2aa55b[_0x4dcf7e(0x14f)]||''})),_0x1ce068=0x1;let _0x3fcd14=_0x472d1d[_0x4dcf7e(0x11e)]||[];Object[_0x4dcf7e(0x14d)](_0x3fcd14)['forEach'](_0x4d80cb=>{const _0x56da05=_0x4dcf7e;let _0x4dced8=_0x3fcd14[_0x4d80cb]||[],_0x3e8175=0x1;_0x4dced8[_0x56da05(0x121)](_0x17de9f=>{const _0x5651d0=_0x56da05;this[_0x5651d0(0x131)][_0x5651d0(0x11d)][_0x5651d0(0x133)]({'id':_0x1ce068++,'rank':_0x3e8175++,'column':_0x4d80cb,'backgroundColor':_0x17de9f['backgroundColor']||'','fontColor':_0x17de9f['fontColor']||'','logic':_0x17de9f[_0x5651d0(0x14f)]||''});});}),this['emphasizedConfigTabColumnEmphasizedGrist']?.['fetch'](),this['emphasizedConfigTabRowEmphasizedGrist']?.[_0x4dcf7e(0x138)]();}else this[_0x4dcf7e(0x13c)]();}['getGridEmphasizedConfigTabValues'](){const _0x53f13b=a0_0x3508f5;let _0x218118=this[_0x53f13b(0x130)](_0x53f13b(0x13b)),_0x23fa22=this[_0x53f13b(0x130)](_0x53f13b(0x154)),_0x14c688=[];this[_0x53f13b(0x148)](_0x218118)?.[_0x53f13b(0x121)](_0x529ad6=>{const _0x194cb9=_0x53f13b;_0x14c688['push']({'backgroundColor':_0x529ad6[_0x194cb9(0x11f)],'fontColor':_0x529ad6[_0x194cb9(0x12b)],'logic':_0x529ad6[_0x194cb9(0x14f)]});});let _0xc54dcb={};return this[_0x53f13b(0x148)](_0x23fa22)?.[_0x53f13b(0x121)](_0x2e1779=>{const _0x3dc26c=_0x53f13b;_0xc54dcb[_0x2e1779[_0x3dc26c(0x11e)]]||(_0xc54dcb[_0x2e1779[_0x3dc26c(0x11e)]]=[]),_0xc54dcb[_0x2e1779[_0x3dc26c(0x11e)]][_0x3dc26c(0x133)]({'backgroundColor':_0x2e1779[_0x3dc26c(0x11f)],'fontColor':_0x2e1779[_0x3dc26c(0x12b)],'logic':_0x2e1779[_0x3dc26c(0x14f)]});}),{'gridEmphasized':{'row':_0x14c688||[],'column':_0xc54dcb||{}}};}get[a0_0x3508f5(0x143)](){const _0x172028=a0_0x3508f5;return this['shadowRoot'][_0x172028(0x142)](_0x172028(0x141));}get[a0_0x3508f5(0x12e)](){const _0x48b47d=a0_0x3508f5;return this[_0x48b47d(0x14b)][_0x48b47d(0x142)](_0x48b47d(0x120));}[a0_0x3508f5(0x139)](){const _0x5a4731=a0_0x3508f5;this[_0x5a4731(0x11b)]={'rows':MetaApi[_0x5a4731(0x135)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x5a4731(0x13e)](!0x1,!0x1),{'type':'gutter','gutterName':_0x5a4731(0x149),'icon':_0x5a4731(0x11a),'handlers':{'click':(_0x36a456,_0x42c2a8,_0x53657c,_0x17fed5,_0x2ce344)=>{const _0x3fb3a2=_0x5a4731;_0x17fed5['id']&&this[_0x3fb3a2(0x132)](this[_0x3fb3a2(0x143)],_0x17fed5);}}},{'type':_0x5a4731(0x14e),'name':'id','hidden':!0x0},{'type':_0x5a4731(0x124),'name':_0x5a4731(0x12a),'header':TermsUtil['tLabel'](_0x5a4731(0x12a)),'sortable':!0x0,'width':0x41,'record':{'align':_0x5a4731(0x12c),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x5a4731(0x11f),'header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x123)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x5a4731(0x12b),'header':TermsUtil[_0x5a4731(0x119)]('font-color'),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5a4731(0x150),'name':'logic','header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x14f)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this[_0x5a4731(0x128)]={'rows':MetaApi[_0x5a4731(0x135)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x5a4731(0x13e)](!0x1,!0x1),{'type':_0x5a4731(0x144),'gutterName':_0x5a4731(0x149),'icon':_0x5a4731(0x11a),'handlers':{'click':(_0x20afd9,_0xa81d89,_0x2f1334,_0x24128b,_0x52bd4d)=>{const _0x43a5b3=_0x5a4731;_0x24128b['id']&&this['deleteRow'](this[_0x43a5b3(0x12e)],_0x24128b);}}},{'type':_0x5a4731(0x14e),'name':'id','hidden':!0x0},{'type':'string','name':_0x5a4731(0x11e),'header':TermsUtil['tLabel'](_0x5a4731(0x11e)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5a4731(0x124),'name':_0x5a4731(0x12a),'header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x12a)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x5a4731(0x14e),'name':'backgroundColor','header':TermsUtil['tLabel'](_0x5a4731(0x123)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x5a4731(0x12b),'header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x11c)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5a4731(0x150),'name':_0x5a4731(0x14f),'header':TermsUtil[_0x5a4731(0x119)]('logic'),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x3508f5(0x13c)](){const _0x2c9384=a0_0x3508f5;this[_0x2c9384(0x131)]||(this[_0x2c9384(0x131)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x3508f5(0x140)](){const _0x2c8053=a0_0x3508f5;return this[_0x2c8053(0x13c)](),html`
1
+ const a0_0x1313d6=a0_0x3bcf;function a0_0x3bcf(_0x14d8b1,_0x325e02){const _0x356fe8=a0_0x356f();return a0_0x3bcf=function(_0x3bcfee,_0x4669e9){_0x3bcfee=_0x3bcfee-0xc9;let _0x2f5867=_0x356fe8[_0x3bcfee];return _0x2f5867;},a0_0x3bcf(_0x14d8b1,_0x325e02);}(function(_0x1ed70f,_0x7745be){const _0x321019=a0_0x3bcf,_0x502b78=_0x1ed70f();while(!![]){try{const _0xb65b1b=-parseInt(_0x321019(0xf2))/0x1+-parseInt(_0x321019(0xe6))/0x2+parseInt(_0x321019(0xf1))/0x3+parseInt(_0x321019(0xf0))/0x4+-parseInt(_0x321019(0xcf))/0x5+parseInt(_0x321019(0xea))/0x6+parseInt(_0x321019(0xce))/0x7;if(_0xb65b1b===_0x7745be)break;else _0x502b78['push'](_0x502b78['shift']());}catch(_0x3ac12b){_0x502b78['push'](_0x502b78['shift']());}}}(a0_0x356f,0x6c559));function a0_0x356f(){const _0x1d7b09=['getGristGuttersConfig','getElementValueById','forEach','tLabel','setGridEmphasizedConfigTabValues','1333814vGfjyS','emphasizedConfigTabRowEmphasizedGrist','querySelector','keys','796206YGvUgL','shadowRoot','GRID','backgroundColor','code-input','row-emphasized-grist','855908bDLYXi','2434491UjkDbn','489319YEPJQQ','emphasizedConfigTabColumnEmphasizedGrist','button','background-color','grid_row_emphasized_config','column','rowEmphasizedConfig','getGridEmphasizedConfigTabValues','integer','viewEmphasizedData','string','getGristSelectableConfig','rank','7850654DLOGRh','3398670NaDNoJ','sortRecordByRank','gutter','bind','push','delete','right','font-color','rowEmphasizedData','setGridEmphasizedConfigTabDefaultValues','left','fetchRowEmphasized','fetchColumnEmphasized','logic','fontColor','columnEmphasizedConfig','deleteRow','grid_column_emphasized_config'];a0_0x356f=function(){return _0x1d7b09;};return a0_0x356f();}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=_0x5f2cde=>class extends _0x5f2cde{[a0_0x1313d6(0xe5)](_0x2690d9){const _0xabafc6=a0_0x1313d6;if(_0x2690d9){this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x214448=0x1;this[_0xabafc6(0xca)]['rowEmphasizedData']=(_0x2690d9['row']||[])['map'](_0x122607=>({'id':_0x214448,'rank':_0x214448++,'backgroundColor':_0x122607[_0xabafc6(0xed)]||'','fontColor':_0x122607['fontColor']||'','logic':_0x122607[_0xabafc6(0xdc)]||''})),_0x214448=0x1;let _0x18b386=_0x2690d9[_0xabafc6(0xf7)]||[];Object[_0xabafc6(0xe9)](_0x18b386)[_0xabafc6(0xe3)](_0x1249a6=>{let _0x2cbc02=_0x18b386[_0x1249a6]||[],_0x643aef=0x1;_0x2cbc02['forEach'](_0xc7f048=>{const _0x4367fc=a0_0x3bcf;this[_0x4367fc(0xca)]['columnEmphasizedData'][_0x4367fc(0xd3)]({'id':_0x214448++,'rank':_0x643aef++,'column':_0x1249a6,'backgroundColor':_0xc7f048[_0x4367fc(0xed)]||'','fontColor':_0xc7f048['fontColor']||'','logic':_0xc7f048['logic']||''});});}),this[_0xabafc6(0xf3)]?.['fetch'](),this[_0xabafc6(0xe7)]?.['fetch']();}else this[_0xabafc6(0xd8)]();}[a0_0x1313d6(0xf9)](){const _0x1acb00=a0_0x1313d6;let _0x45d2a5=this['getElementValueById'](_0x1acb00(0xef)),_0x35ee80=this[_0x1acb00(0xe2)]('column-emphasized-grist'),_0x265aed=[];this[_0x1acb00(0xd0)](_0x45d2a5)?.['forEach'](_0x4f217a=>{const _0x5c7435=_0x1acb00;_0x265aed[_0x5c7435(0xd3)]({'backgroundColor':_0x4f217a[_0x5c7435(0xed)],'fontColor':_0x4f217a[_0x5c7435(0xdd)],'logic':_0x4f217a[_0x5c7435(0xdc)]});});let _0x5e88cb={};return this[_0x1acb00(0xd0)](_0x35ee80)?.[_0x1acb00(0xe3)](_0x1f8410=>{const _0x1240bd=_0x1acb00;_0x5e88cb[_0x1f8410[_0x1240bd(0xf7)]]||(_0x5e88cb[_0x1f8410['column']]=[]),_0x5e88cb[_0x1f8410[_0x1240bd(0xf7)]][_0x1240bd(0xd3)]({'backgroundColor':_0x1f8410[_0x1240bd(0xed)],'fontColor':_0x1f8410[_0x1240bd(0xdd)],'logic':_0x1f8410[_0x1240bd(0xdc)]});}),{'gridEmphasized':{'row':_0x265aed||[],'column':_0x5e88cb||{}}};}get[a0_0x1313d6(0xe7)](){const _0x5773f9=a0_0x1313d6;return this[_0x5773f9(0xeb)][_0x5773f9(0xe8)]('#row-emphasized-grist');}get[a0_0x1313d6(0xf3)](){const _0x4650f3=a0_0x1313d6;return this[_0x4650f3(0xeb)][_0x4650f3(0xe8)]('#column-emphasized-grist');}['setGridEmphasizedConfigTabConfig'](){const _0x3a254a=a0_0x1313d6;this[_0x3a254a(0xf8)]={'rows':MetaApi[_0x3a254a(0xcc)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x3a254a(0xd1),'gutterName':_0x3a254a(0xf4),'icon':_0x3a254a(0xd4),'handlers':{'click':(_0x583183,_0x587bb9,_0xde4e02,_0x31a618,_0x2881a1)=>{const _0x5a959e=_0x3a254a;_0x31a618['id']&&this[_0x5a959e(0xdf)](this['emphasizedConfigTabRowEmphasizedGrist'],_0x31a618);}}},{'type':_0x3a254a(0xcb),'name':'id','hidden':!0x0},{'type':_0x3a254a(0xc9),'name':_0x3a254a(0xcd),'header':TermsUtil[_0x3a254a(0xe4)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':_0x3a254a(0xd5),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3a254a(0xcb),'name':'backgroundColor','header':TermsUtil[_0x3a254a(0xe4)]('background-color'),'record':{'align':_0x3a254a(0xd9),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x3a254a(0xdd),'header':TermsUtil[_0x3a254a(0xe4)](_0x3a254a(0xd6)),'record':{'align':_0x3a254a(0xd9),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x3a254a(0xee),'name':_0x3a254a(0xdc),'header':TermsUtil[_0x3a254a(0xe4)]('logic'),'record':{'align':_0x3a254a(0xd9),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this[_0x3a254a(0xde)]={'rows':MetaApi[_0x3a254a(0xcc)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x3a254a(0xe1)](!0x1,!0x1),{'type':_0x3a254a(0xd1),'gutterName':'button','icon':_0x3a254a(0xd4),'handlers':{'click':(_0x975644,_0x528538,_0x100fef,_0x3f7a84,_0x54c1bb)=>{const _0x413e10=_0x3a254a;_0x3f7a84['id']&&this[_0x413e10(0xdf)](this['emphasizedConfigTabColumnEmphasizedGrist'],_0x3f7a84);}}},{'type':_0x3a254a(0xcb),'name':'id','hidden':!0x0},{'type':'string','name':_0x3a254a(0xf7),'header':TermsUtil[_0x3a254a(0xe4)](_0x3a254a(0xf7)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x3a254a(0xc9),'name':_0x3a254a(0xcd),'header':TermsUtil[_0x3a254a(0xe4)](_0x3a254a(0xcd)),'sortable':!0x0,'width':0x41,'record':{'align':_0x3a254a(0xd5),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3a254a(0xcb),'name':_0x3a254a(0xed),'header':TermsUtil[_0x3a254a(0xe4)](_0x3a254a(0xf5)),'record':{'align':_0x3a254a(0xd9),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x3a254a(0xcb),'name':_0x3a254a(0xdd),'header':TermsUtil[_0x3a254a(0xe4)](_0x3a254a(0xd6)),'record':{'align':_0x3a254a(0xd9),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x3a254a(0xee),'name':'logic','header':TermsUtil['tLabel']('logic'),'record':{'align':_0x3a254a(0xd9),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}['setGridEmphasizedConfigTabDefaultValues'](){const _0x4d4811=a0_0x1313d6;this[_0x4d4811(0xca)]||(this[_0x4d4811(0xca)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}['renderGridEmphasizedConfigTab'](){const _0x5e4fd2=a0_0x1313d6;return this[_0x5e4fd2(0xd8)](),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[_0x2c8053(0x119)]('grid_row_emphasized_config')}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x5e4fd2(0xe4)](_0x5e4fd2(0xf6))}
6
6
  </h2>
7
7
  <ox-grist id="row-emphasized-grist" .config=${this['rowEmphasizedConfig']} .mode=${'GRID'} auto-fetch
8
- .fetchHandler=${this[_0x2c8053(0x147)][_0x2c8053(0x129)](this)}></ox-grist>
8
+ .fetchHandler=${this[_0x5e4fd2(0xda)][_0x5e4fd2(0xd2)](this)}></ox-grist>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2c8053(0x119)](_0x2c8053(0x13a))}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x5e4fd2(0xe4)](_0x5e4fd2(0xe0))}
13
13
  </h2>
14
- <ox-grist id="column-emphasized-grist" .config=${this[_0x2c8053(0x128)]} .mode=${_0x2c8053(0x13f)} auto-fetch
15
- .fetchHandler=${this[_0x2c8053(0x13d)][_0x2c8053(0x129)](this)}></ox-grist>
14
+ <ox-grist id="column-emphasized-grist" .config=${this[_0x5e4fd2(0xde)]} .mode=${_0x5e4fd2(0xec)} auto-fetch
15
+ .fetchHandler=${this['fetchColumnEmphasized'][_0x5e4fd2(0xd2)](this)}></ox-grist>
16
16
  </div>
17
17
  </div>
18
- `;}async[a0_0x3508f5(0x147)](){const _0x2c41e8=a0_0x3508f5;return{'records':this['viewEmphasizedData'][_0x2c41e8(0x125)],'total':0x0};}async[a0_0x3508f5(0x13d)](){const _0x2718a0=a0_0x3508f5;return{'records':this[_0x2718a0(0x131)][_0x2718a0(0x11d)],'total':0x0};}};
18
+ `;}async['fetchRowEmphasized'](){const _0x39d4e1=a0_0x1313d6;return{'records':this['viewEmphasizedData'][_0x39d4e1(0xd7)],'total':0x0};}async[a0_0x1313d6(0xdb)](){const _0x4d6ae9=a0_0x1313d6;return{'records':this[_0x4d6ae9(0xca)]['columnEmphasizedData'],'total':0x0};}};
@@ -1,30 +1,30 @@
1
- function a0_0x4351(){const _0x45d719=['target','getMenuConfigTabValues','renderMenuConfigTab','getElementById','menu','menu_title','221508ouARlV','menuTitleChange','2KGQfHZ','menu_name_field','2541000BufnWc','1552713IDtxSK','9QmETGk','tTitle','setMenuConfigTabValues','desc','help','name','viewMenuData','tLabel','767053JyfnqK','title','30HzBWfD','55DyGkNM','description','5771992YjHjuu','5929020uTFjXc','setMenuConfigTabDefaultValue','value','67993LoaTqQ','help_doc','getElementValueById'];a0_0x4351=function(){return _0x45d719;};return a0_0x4351();}const a0_0x1b87f2=a0_0x1e37;(function(_0xfa6fe1,_0x53f760){const _0x3d1dd8=a0_0x1e37,_0x350d77=_0xfa6fe1();while(!![]){try{const _0xe76602=-parseInt(_0x3d1dd8(0x169))/0x1+-parseInt(_0x3d1dd8(0x174))/0x2*(-parseInt(_0x3d1dd8(0x177))/0x3)+-parseInt(_0x3d1dd8(0x172))/0x4*(parseInt(_0x3d1dd8(0x183))/0x5)+-parseInt(_0x3d1dd8(0x182))/0x6*(parseInt(_0x3d1dd8(0x180))/0x7)+-parseInt(_0x3d1dd8(0x185))/0x8*(-parseInt(_0x3d1dd8(0x178))/0x9)+parseInt(_0x3d1dd8(0x186))/0xa+-parseInt(_0x3d1dd8(0x176))/0xb;if(_0xe76602===_0x53f760)break;else _0x350d77['push'](_0x350d77['shift']());}catch(_0x2bd2e1){_0x350d77['push'](_0x350d77['shift']());}}}(a0_0x4351,0x5bc81));function a0_0x1e37(_0x29c5cc,_0x120492){const _0x43513c=a0_0x4351();return a0_0x1e37=function(_0x1e370d,_0x20b570){_0x1e370d=_0x1e370d-0x167;let _0x312090=_0x43513c[_0x1e370d];return _0x312090;},a0_0x1e37(_0x29c5cc,_0x120492);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x136d7c=>class extends _0x136d7c{[a0_0x1b87f2(0x17a)](_0x54cf15){const _0x4eb5f0=a0_0x1b87f2;if(_0x54cf15){var {title:_0xf12bd1='',name:_0x519bb6='',desc:_0x4de0ac='',help:_0x2e06d1=''}=_0x54cf15||{};this[_0x4eb5f0(0x17e)]={'title':_0xf12bd1,'name':_0x519bb6,'desc':_0x4de0ac,'help_doc':_0x2e06d1},this['getElementById']('title')[_0x4eb5f0(0x168)]=_0xf12bd1,this['getElementById'](_0x4eb5f0(0x17d))[_0x4eb5f0(0x168)]=_0x519bb6,this[_0x4eb5f0(0x16f)]('desc')['value']=_0x4de0ac,this[_0x4eb5f0(0x16f)](_0x4eb5f0(0x16a))['value']=_0x2e06d1;}else this[_0x4eb5f0(0x167)]();}[a0_0x1b87f2(0x16d)](){const _0x55403c=a0_0x1b87f2;let _0x4e42e6={'menu':{}},_0x317a23=this[_0x55403c(0x16b)](_0x55403c(0x181)),_0x1a7ce8=this[_0x55403c(0x16b)](_0x55403c(0x17d)),_0x287983=this[_0x55403c(0x16b)](_0x55403c(0x17b)),_0x4cdb0b=this[_0x55403c(0x16b)]('help_doc');return _0x317a23&&(_0x4e42e6[_0x55403c(0x170)][_0x55403c(0x181)]=_0x317a23),_0x1a7ce8&&(_0x4e42e6[_0x55403c(0x170)][_0x55403c(0x17d)]=_0x1a7ce8),_0x287983&&(_0x4e42e6[_0x55403c(0x170)][_0x55403c(0x17b)]=_0x287983),_0x4cdb0b&&(_0x4e42e6['menu'][_0x55403c(0x17c)]=_0x4cdb0b),_0x4e42e6;}['setMenuConfigTabDefaultValue'](){const _0x827c96=a0_0x1b87f2;this['viewMenuData']||(this[_0x827c96(0x17e)]={'title':'','name':'name','desc':_0x827c96(0x184),'help_doc':''});}[a0_0x1b87f2(0x173)](_0x715cd7){const _0x1bce89=a0_0x1b87f2;let _0x52f136=this[_0x1bce89(0x16f)]('display');_0x52f136&&(_0x52f136[_0x1bce89(0x168)]=TermsUtil[_0x1bce89(0x179)](_0x715cd7[_0x1bce89(0x16c)][_0x1bce89(0x168)]));}[a0_0x1b87f2(0x16e)](){const _0x4f462f=a0_0x1b87f2;return this[_0x4f462f(0x167)](),html`
1
+ function a0_0x2f6c(_0x5bc8c7,_0x1d737e){const _0x7b2313=a0_0x7b23();return a0_0x2f6c=function(_0x2f6cd9,_0x1c0f58){_0x2f6cd9=_0x2f6cd9-0xad;let _0xeb6d98=_0x7b2313[_0x2f6cd9];return _0xeb6d98;},a0_0x2f6c(_0x5bc8c7,_0x1d737e);}const a0_0x781660=a0_0x2f6c;(function(_0x186e16,_0x2ecab3){const _0x47dc25=a0_0x2f6c,_0x933985=_0x186e16();while(!![]){try{const _0x18882c=parseInt(_0x47dc25(0xb1))/0x1*(parseInt(_0x47dc25(0xc6))/0x2)+parseInt(_0x47dc25(0xb8))/0x3+-parseInt(_0x47dc25(0xb7))/0x4+-parseInt(_0x47dc25(0xad))/0x5+-parseInt(_0x47dc25(0xae))/0x6+parseInt(_0x47dc25(0xc1))/0x7+parseInt(_0x47dc25(0xb0))/0x8;if(_0x18882c===_0x2ecab3)break;else _0x933985['push'](_0x933985['shift']());}catch(_0x3bf639){_0x933985['push'](_0x933985['shift']());}}}(a0_0x7b23,0xae9c2));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x25d399=>class extends _0x25d399{[a0_0x781660(0xb2)](_0x1d49c2){const _0x3d0bd0=a0_0x781660;if(_0x1d49c2){var {title:_0x36ca4c='',name:_0x77aec7='',desc:_0x52145f='',help:_0xf504e7=''}=_0x1d49c2||{};this['viewMenuData']={'title':_0x36ca4c,'name':_0x77aec7,'desc':_0x52145f,'help_doc':_0xf504e7},this['getElementById'](_0x3d0bd0(0xc0))['value']=_0x36ca4c,this[_0x3d0bd0(0xc3)](_0x3d0bd0(0xbf))[_0x3d0bd0(0xb4)]=_0x77aec7,this[_0x3d0bd0(0xc3)](_0x3d0bd0(0xba))[_0x3d0bd0(0xb4)]=_0x52145f,this[_0x3d0bd0(0xc3)](_0x3d0bd0(0xca))[_0x3d0bd0(0xb4)]=_0xf504e7;}else this[_0x3d0bd0(0xaf)]();}[a0_0x781660(0xb5)](){const _0x453761=a0_0x781660;let _0x5454b3={'menu':{}},_0x3a9582=this[_0x453761(0xc8)](_0x453761(0xc0)),_0x3f175c=this[_0x453761(0xc8)](_0x453761(0xbf)),_0x42cc5d=this[_0x453761(0xc8)]('desc'),_0x5ccc9d=this['getElementValueById'](_0x453761(0xca));return _0x3a9582&&(_0x5454b3['menu'][_0x453761(0xc0)]=_0x3a9582),_0x3f175c&&(_0x5454b3['menu']['name']=_0x3f175c),_0x42cc5d&&(_0x5454b3[_0x453761(0xc4)][_0x453761(0xba)]=_0x42cc5d),_0x5ccc9d&&(_0x5454b3[_0x453761(0xc4)][_0x453761(0xbc)]=_0x5ccc9d),_0x5454b3;}[a0_0x781660(0xaf)](){const _0x318227=a0_0x781660;this[_0x318227(0xb9)]||(this['viewMenuData']={'title':'','name':_0x318227(0xbf),'desc':_0x318227(0xc9),'help_doc':''});}[a0_0x781660(0xb6)](_0x4e2166){const _0x18bb55=a0_0x781660;let _0x2773b9=this[_0x18bb55(0xc3)](_0x18bb55(0xc5));_0x2773b9&&(_0x2773b9[_0x18bb55(0xb4)]=TermsUtil[_0x18bb55(0xbb)](_0x4e2166[_0x18bb55(0xbd)][_0x18bb55(0xb4)]));}[a0_0x781660(0xb3)](){const _0x13b99c=a0_0x781660;return this['setMenuConfigTabDefaultValue'](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil[_0x4f462f(0x17f)](_0x4f462f(0x171))}
5
- <input id="title" name="title" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x181)]} @change=${_0x5346ad=>this['menuTitleChange'](_0x5346ad)}/>
4
+ <label>${TermsUtil[_0x13b99c(0xc2)](_0x13b99c(0xcb))}
5
+ <input id="title" name="title" type="text" value=${this[_0x13b99c(0xb9)]['title']} @change=${_0x10aa0c=>this[_0x13b99c(0xb6)](_0x10aa0c)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil[_0x4f462f(0x17f)]('display')}
10
- <input id="display" name="display" value=${TermsUtil['tTitle'](this[_0x4f462f(0x17e)]['title'])} type="text" readonly
9
+ <label>${TermsUtil[_0x13b99c(0xc2)](_0x13b99c(0xc5))}
10
+ <input id="display" name="display" value=${TermsUtil[_0x13b99c(0xbb)](this[_0x13b99c(0xb9)][_0x13b99c(0xc0)])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x4f462f(0x17f)](_0x4f462f(0x175))}
16
- <input id="name" name="name" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x17d)]} />
15
+ <label>${TermsUtil[_0x13b99c(0xc2)](_0x13b99c(0xbe))}
16
+ <input id="name" name="name" type="text" value=${this[_0x13b99c(0xb9)][_0x13b99c(0xbf)]} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil['tLabel']('menu_desc_field')}
21
- <input id="desc" name="desc" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x17b)]} />
20
+ <label>${TermsUtil['tLabel'](_0x13b99c(0xc7))}
21
+ <input id="desc" name="desc" type="text" value=${this[_0x13b99c(0xb9)][_0x13b99c(0xba)]} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil[_0x4f462f(0x17f)](_0x4f462f(0x16a))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x16a)]} />
25
+ <label>${TermsUtil[_0x13b99c(0xc2)]('help_doc')}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this['viewMenuData'][_0x13b99c(0xca)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
30
- `;}};
30
+ `;}};function a0_0x7b23(){const _0x2d003b=['help_doc','menu_title','4979170KYzRyk','4326840MSmEDX','setMenuConfigTabDefaultValue','6303240RHEFpA','4663tRmnab','setMenuConfigTabValues','renderMenuConfigTab','value','getMenuConfigTabValues','menuTitleChange','740036chZGzw','3575727yXvLIZ','viewMenuData','desc','tTitle','help','target','menu_name_field','name','title','1230138MbmKtE','tLabel','getElementById','menu','display','198GpsBQs','menu_desc_field','getElementValueById','description'];a0_0x7b23=function(){return _0x2d003b;};return a0_0x7b23();}
@@ -1,4 +1,4 @@
1
- const a0_0x469697=a0_0x923f;(function(_0x2dca96,_0x2b882e){const _0x448d99=a0_0x923f,_0x48db3d=_0x2dca96();while(!![]){try{const _0x5e4573=parseInt(_0x448d99(0x239))/0x1+-parseInt(_0x448d99(0x1e5))/0x2*(-parseInt(_0x448d99(0x1ce))/0x3)+parseInt(_0x448d99(0x1f3))/0x4*(parseInt(_0x448d99(0x21c))/0x5)+parseInt(_0x448d99(0x1ee))/0x6+-parseInt(_0x448d99(0x1f5))/0x7*(parseInt(_0x448d99(0x221))/0x8)+parseInt(_0x448d99(0x230))/0x9+-parseInt(_0x448d99(0x1d9))/0xa*(parseInt(_0x448d99(0x238))/0xb);if(_0x5e4573===_0x2b882e)break;else _0x48db3d['push'](_0x48db3d['shift']());}catch(_0x46d635){_0x48db3d['push'](_0x48db3d['shift']());}}}(a0_0xf87e,0xac9c2));import a0_0x2bea1a 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';function a0_0x923f(_0x515cd9,_0x30c608){const _0xf87e14=a0_0xf87e();return a0_0x923f=function(_0x923fc8,_0x5cd48f){_0x923fc8=_0x923fc8-0x1c9;let _0x5ab899=_0xf87e14[_0x923fc8];return _0x5ab899;},a0_0x923f(_0x515cd9,_0x30c608);}import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';function a0_0xf87e(){const _0x388d00=['findOne','querySelector','radio','error.invalid\x20license\x20key','options','dirtyData','map','5169105nFWnkT','save','pageInitialized','value','records','name','getElementById','push','17201426FdFrMo','1119729caRxTU','styles','filter','type','getElementValueById','properties','15387MyzcPy','menuId','remove','selectedIndex','rep_field','details','filters','list','refresh','lifecycle','sort_desc','10jDTVeL','dec','icon','shadowRoot','dataStorage','charAt','parse','sorters','tLabel','backToMenu','set','menuName','238DUwfab',':checked','style','back','form','tagName','rank','sort_rank','\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','1187616GXZIRt','option','metaTemplate','ConfigTabConfig','updateMultipleMenu','8vTIOZJ','setTabData','168637EChIMR','search_config','enc','detail_field','params','graphql','ConfigTabValues','getConfigTab','hidden','toLowerCase','grid-','gridEmphasized','forEach','toUpperCase','currentTabKey','ox-input-code','thumbnail','clear','pageUpdated','tTitle','errors','tab_config','sortRecordByField','button','menu_config','ConfigTab','studioPermission','length','initData','getState','tabData','menu','tab','convertFirstCharUpperCase','meta_generator','display:flex','keys','grid_config','render','83540FglxnZ','desc','bind','operatoTools','context','88CmsUbM','template','query','select','form_config','tButton','grid_emphasized_config','includes'];a0_0xf87e=function(){return _0x388d00;};return a0_0xf87e();}import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x469697(0x1c9)](){return[css`
1
+ const a0_0x2527da=a0_0x2a61;(function(_0x25ad36,_0x760be8){const _0x327b06=a0_0x2a61,_0x253fb2=_0x25ad36();while(!![]){try{const _0x4e6976=parseInt(_0x327b06(0x1f1))/0x1*(-parseInt(_0x327b06(0x17f))/0x2)+-parseInt(_0x327b06(0x1b1))/0x3*(parseInt(_0x327b06(0x1e0))/0x4)+-parseInt(_0x327b06(0x1be))/0x5+parseInt(_0x327b06(0x1d3))/0x6*(-parseInt(_0x327b06(0x19c))/0x7)+-parseInt(_0x327b06(0x1d8))/0x8*(parseInt(_0x327b06(0x189))/0x9)+parseInt(_0x327b06(0x1a3))/0xa*(-parseInt(_0x327b06(0x1e4))/0xb)+-parseInt(_0x327b06(0x1ef))/0xc*(-parseInt(_0x327b06(0x1b9))/0xd);if(_0x4e6976===_0x760be8)break;else _0x253fb2['push'](_0x253fb2['shift']());}catch(_0x8658fc){_0x253fb2['push'](_0x253fb2['shift']());}}}(a0_0x1c90,0xce40a));import a0_0x12a427 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';function a0_0x2a61(_0x35dc76,_0x51f870){const _0x1c906a=a0_0x1c90();return a0_0x2a61=function(_0x2a61ca,_0x241875){_0x2a61ca=_0x2a61ca-0x17d;let _0x522002=_0x1c906a[_0x2a61ca];return _0x522002;},a0_0x2a61(_0x35dc76,_0x51f870);}import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';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_0x2527da(0x1b2)](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0x469697=a0_0x923f;(function(_0x2dca96,_0x2b882e){const _0x448d99=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0x469697(0x1cd)](){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_0x469697(0x220)](){const _0x1fe5d8=a0_0x469697;return{'title':TermsUtil[_0x1fe5d8(0x208)](_0x1fe5d8(0x217)),'actions':[{'title':TermsUtil['tButton'](_0x1fe5d8(0x231)),'action':this['save']['bind'](this),...CommonButtonStyles[_0x1fe5d8(0x231)]},{'title':TermsUtil[_0x1fe5d8(0x226)](_0x1fe5d8(0x1e8)),'action':this[_0x1fe5d8(0x1e2)][_0x1fe5d8(0x21e)](this),...CommonButtonStyles[_0x1fe5d8(0x1e8)]},{'title':TermsUtil[_0x1fe5d8(0x226)](_0x1fe5d8(0x1d6)),'action':this[_0x1fe5d8(0x1d6)][_0x1fe5d8(0x21e)](this),...CommonButtonStyles[_0x1fe5d8(0x1d6)]}]};}['deleteRow'](_0x400ada,_0x4396e6){const _0x19306d=a0_0x469697;let _0x3e60ce=_0x400ada[_0x19306d(0x22e)];_0x3e60ce[_0x19306d(0x234)]=_0x3e60ce[_0x19306d(0x234)][_0x19306d(0x1ca)](_0x254f48=>_0x254f48['id']!=_0x4396e6['id']),_0x400ada['data']=_0x3e60ce;}async[a0_0x469697(0x231)](){const _0x256026=a0_0x469697;if(0x0==store[_0x256026(0x212)]()[_0x256026(0x21f)][_0x256026(0x20f)])return void document['dispatchEvent'](new CustomEvent('notify',{'detail':{'level':'error','message':i18next['t'](_0x256026(0x22c))}}));if((await client['query']({'query':a0_0x2bea1a`
144
+ `];}static get[a0_0x2527da(0x1b0)](){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 _0x36a9a9=a0_0x2527da;return{'title':TermsUtil['tTitle'](_0x36a9a9(0x1cb)),'actions':[{'title':TermsUtil[_0x36a9a9(0x1eb)]('save'),'action':this[_0x36a9a9(0x197)][_0x36a9a9(0x1d1)](this),...CommonButtonStyles['save']},{'title':TermsUtil[_0x36a9a9(0x1eb)](_0x36a9a9(0x194)),'action':this[_0x36a9a9(0x1c8)]['bind'](this),...CommonButtonStyles['back']},{'title':TermsUtil[_0x36a9a9(0x1eb)](_0x36a9a9(0x19d)),'action':this[_0x36a9a9(0x19d)][_0x36a9a9(0x1d1)](this),...CommonButtonStyles[_0x36a9a9(0x19d)]}]};}[a0_0x2527da(0x1ae)](_0x442a5a,_0xfe24ac){const _0x560414=a0_0x2527da;let _0x20df45=_0x442a5a[_0x560414(0x199)];_0x20df45[_0x560414(0x18f)]=_0x20df45[_0x560414(0x18f)][_0x560414(0x1aa)](_0x321db0=>_0x321db0['id']!=_0xfe24ac['id']),_0x442a5a['data']=_0x20df45;}async[a0_0x2527da(0x197)](){const _0x5a9a0f=a0_0x2527da;if(0x0==store[_0x5a9a0f(0x1d2)]()[_0x5a9a0f(0x18b)][_0x5a9a0f(0x1f3)])return void document[_0x5a9a0f(0x1d0)](new CustomEvent('notify',{'detail':{'level':'error','message':i18next['t'](_0x5a9a0f(0x18a))}}));if((await client[_0x5a9a0f(0x1f0)]({'query':a0_0x12a427`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
148
- `,'variables':{'id':this[_0x256026(0x1cf)]}}))[_0x256026(0x209)])return;let _0x3f817b={},_0x28b332={};Object[_0x256026(0x219)](this['tabData'])['forEach'](_0x83778c=>{const _0xb8adff=_0x256026;let _0x5bf80d=this[_0xb8adff(0x216)](_0x83778c);_0x3f817b[_0x83778c]=this['get'+_0x5bf80d+_0xb8adff(0x1fb)](),_0x28b332=merge(_0x28b332,_0x3f817b[_0x83778c]);}),_0x28b332=JSON['stringify'](_0x28b332),_0x28b332=MetaCrypto[_0x256026(0x1f7)](_0x28b332),await MetaApi['updateMultiple'](_0x256026(0x1f2),[{'id':this[_0x256026(0x1cf)],'template':_0x28b332,'cuFlag':'M'}])&&await this[_0x256026(0x211)]();}[a0_0x469697(0x206)](){const _0x4774ea=a0_0x469697;this[_0x4774ea(0x1f4)](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x4774ea(0x219)](this[_0x4774ea(0x213)])[_0x4774ea(0x201)](_0x5c2adf=>{const _0x4805ae=_0x4774ea;let _0x452ca3=this[_0x4805ae(0x216)](_0x5c2adf);if(this[_0x4805ae(0x1e3)+_0x452ca3+'ConfigTabValues'])return this[_0x4805ae(0x1e3)+_0x452ca3+_0x4805ae(0x1fb)](this['dataStorage'][_0x5c2adf]);});}async[a0_0x469697(0x1d6)](){this['clear'](),await this['initData']();}[a0_0x469697(0x1e2)](){const _0x406c4a=a0_0x469697;history[_0x406c4a(0x1e8)]();}async['initData'](){const _0x475c1d=a0_0x469697;var {menuId:_0x78fe2=''}=this['lifecycle']?.[_0x475c1d(0x1f9)]?this[_0x475c1d(0x1d7)][_0x475c1d(0x1f9)]:{};if(this['menuId']=_0x78fe2,!_0x78fe2||''==_0x78fe2)return void this[_0x475c1d(0x206)]();let _0x152e3a=await MetaApi[_0x475c1d(0x229)](_0x475c1d(0x214),_0x78fe2,_0x475c1d(0x1ed));if(_0x152e3a){try{JSON[_0x475c1d(0x1df)](MetaCrypto[_0x475c1d(0x1da)](_0x152e3a[_0x475c1d(0x222)]));}catch(_0x158254){return;}this[_0x475c1d(0x1e4)]=TermsUtil['tMenu'](_0x152e3a['name']),this[_0x475c1d(0x1f0)]=_0x152e3a[_0x475c1d(0x222)]?JSON[_0x475c1d(0x1df)](MetaCrypto[_0x475c1d(0x1da)](_0x152e3a[_0x475c1d(0x222)])):{};var {menu:_0x52a9b7={},gql:_0x639e7b={},button:_0x51a9fa=[],grid_column:_0x4f90ae=[],grid:_0x49ecf1={},search:_0x4ae1ab=[],form:_0x2da0b4=[],tab:_0x778582=[],etc:_0x4593b8={},gridEmphasized:_0x3b7f65=[]}=this[_0x475c1d(0x1f0)]?this['metaTemplate']:{};this[_0x475c1d(0x1f4)](),this[_0x475c1d(0x1dd)]={},this[_0x475c1d(0x1dd)][_0x475c1d(0x214)]=_0x52a9b7,this[_0x475c1d(0x1dd)][_0x475c1d(0x1fa)]=_0x639e7b,this[_0x475c1d(0x1dd)]['grid']=_0x49ecf1,this[_0x475c1d(0x1dd)][_0x475c1d(0x1e9)]=_0x2da0b4,this[_0x475c1d(0x1dd)][_0x475c1d(0x215)]=_0x778582,this['dataStorage']['etc']=_0x4593b8,this['dataStorage'][_0x475c1d(0x200)]=_0x3b7f65,(_0x49ecf1['option']?.[_0x475c1d(0x1e0)]||[])[_0x475c1d(0x201)]((_0x1b854c,_0x1cecad)=>{const _0x39d12e=_0x475c1d;_0x1b854c[_0x39d12e(0x1eb)]=0xa*(_0x1cecad+0x1);}),this[_0x475c1d(0x1dd)]['column']=_0x4f90ae['map'](_0x26db1d=>{const _0xad5f32=_0x475c1d;let _0x5ad4df=(_0x49ecf1[_0xad5f32(0x1ef)]?.[_0xad5f32(0x1e0)]||[])[_0xad5f32(0x1ca)](_0x19082c=>_0x19082c[_0xad5f32(0x235)]==_0x26db1d[_0xad5f32(0x235)]);return _0x5ad4df&&_0x5ad4df[_0xad5f32(0x210)]>0x0?(_0x26db1d[_0xad5f32(0x1ec)]=_0x5ad4df[0x0][_0xad5f32(0x1eb)],_0x26db1d[_0xad5f32(0x1d8)]=!!_0x5ad4df[0x0][_0xad5f32(0x21d)]&&_0x5ad4df[0x0][_0xad5f32(0x21d)]):_0x26db1d[_0xad5f32(0x1ec)]=0x0,_0x26db1d[_0xad5f32(0x1d2)]=(_0x49ecf1[_0xad5f32(0x1d5)]?.['fields']||[])[_0xad5f32(0x228)](_0x26db1d[_0xad5f32(0x235)]),_0x26db1d[_0xad5f32(0x1f8)]=(_0x49ecf1['list']?.[_0xad5f32(0x1d3)]||[])[_0xad5f32(0x228)](_0x26db1d[_0xad5f32(0x235)]),_0x26db1d['thumbnail_field']=_0x49ecf1['list']?.[_0xad5f32(0x205)]==_0x26db1d[_0xad5f32(0x235)],_0x26db1d;}),_0x4ae1ab[_0x475c1d(0x237)](...(_0x639e7b[_0x475c1d(0x223)]?.[_0x475c1d(0x1d4)]||[])[_0x475c1d(0x22f)](_0x24356c=>(_0x24356c[_0x475c1d(0x1fd)]=!0x0,_0x24356c))),this[_0x475c1d(0x1dd)]['search']=_0x4ae1ab,_0x51a9fa[_0x475c1d(0x237)](...(_0x49ecf1[_0x475c1d(0x20c)]||[])['map'](_0x28d240=>(_0x28d240[_0x475c1d(0x1cb)]=_0x475c1d(0x1ff)+_0x28d240[_0x475c1d(0x1cb)],_0x28d240[_0x475c1d(0x1e7)]=_0x28d240[_0x475c1d(0x1db)],_0x28d240))),this[_0x475c1d(0x1dd)]['button']=_0x51a9fa,Object[_0x475c1d(0x219)](this[_0x475c1d(0x213)])['forEach'](_0x5ed918=>{const _0x2f5638=_0x475c1d;let _0x126ab8=this[_0x2f5638(0x216)](_0x5ed918);if(this[_0x2f5638(0x1e3)+_0x126ab8+_0x2f5638(0x1fb)])return this[_0x2f5638(0x1e3)+_0x126ab8+_0x2f5638(0x1fb)](this[_0x2f5638(0x1dd)][_0x5ed918]);});}}async[a0_0x469697(0x232)](){const _0x32fd24=a0_0x469697;this[_0x32fd24(0x1f4)]();let _0x253d1a=Object['keys'](this[_0x32fd24(0x213)]);for(var _0x1dcbf8=0x0;_0x1dcbf8<_0x253d1a[_0x32fd24(0x210)];_0x1dcbf8++){let _0x2d777b=this[_0x32fd24(0x216)](_0x253d1a[_0x1dcbf8]);this['set'+_0x2d777b+_0x32fd24(0x1f1)]&&await this['set'+_0x2d777b+_0x32fd24(0x1f1)]();}}async[a0_0x469697(0x207)](_0x4da0f8,_0x2dc893,_0x512c51){const _0x2c2317=a0_0x469697;!0x0===this['active']?(this[_0x2c2317(0x1f4)](),await this[_0x2c2317(0x211)](),this[_0x2c2317(0x1f4)]()):(this['clear'](),this[_0x2c2317(0x1d0)]());}['setTabData'](){const _0x4deefd=a0_0x469697;this['tabData']||(this['tabData']={'menu':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x20d)),'graphql':TermsUtil[_0x4deefd(0x1e1)]('graphql_config'),'grid':TermsUtil['tLabel'](_0x4deefd(0x21a)),'column':TermsUtil[_0x4deefd(0x1e1)]('column_config'),'gridEmphasized':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x227)),'button':TermsUtil[_0x4deefd(0x1e1)]('button_config'),'search':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x1f6)),'form':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x225)),'tab':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x20a)),'etc':TermsUtil[_0x4deefd(0x1e1)]('etc_config')});}[a0_0x469697(0x21b)](){const _0x417bf3=a0_0x469697;this[_0x417bf3(0x203)]||(this['currentTabKey']=_0x417bf3(0x214)),this[_0x417bf3(0x1f4)]();let _0x236db9=Object[_0x417bf3(0x219)](this[_0x417bf3(0x213)]);return this[_0x417bf3(0x213)][this['currentTabKey']]?this['currentTabKey']:_0x236db9[0x0],html`
149
- <h1>${this[_0x417bf3(0x1e4)]}</h1>
148
+ `,'variables':{'id':this[_0x5a9a0f(0x19a)]}}))[_0x5a9a0f(0x18c)])return;let _0x19d694={},_0x187f93={};Object['keys'](this[_0x5a9a0f(0x1d4)])[_0x5a9a0f(0x1a4)](_0x55d08=>{const _0x303e6a=_0x5a9a0f;let _0x6e9cc5=this['convertFirstCharUpperCase'](_0x55d08);_0x19d694[_0x55d08]=this[_0x303e6a(0x1e1)+_0x6e9cc5+_0x303e6a(0x1a0)](),_0x187f93=merge(_0x187f93,_0x19d694[_0x55d08]);}),_0x187f93=JSON['stringify'](_0x187f93),_0x187f93=MetaCrypto[_0x5a9a0f(0x1b5)](_0x187f93),await MetaApi[_0x5a9a0f(0x183)](_0x5a9a0f(0x1dc),[{'id':this[_0x5a9a0f(0x19a)],'template':_0x187f93,'cuFlag':'M'}])&&await this[_0x5a9a0f(0x195)]();}['clear'](){const _0xc7b7a6=a0_0x2527da;this['setTabData'](),this[_0xc7b7a6(0x1c5)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0xc7b7a6(0x1cd)](this[_0xc7b7a6(0x1d4)])[_0xc7b7a6(0x1a4)](_0x4f9790=>{const _0x2b137a=_0xc7b7a6;let _0x31223f=this[_0x2b137a(0x1d5)](_0x4f9790);if(this[_0x2b137a(0x1e8)+_0x31223f+_0x2b137a(0x1a0)])return this[_0x2b137a(0x1e8)+_0x31223f+_0x2b137a(0x1a0)](this[_0x2b137a(0x1c5)][_0x4f9790]);});}async[a0_0x2527da(0x19d)](){const _0xb4f202=a0_0x2527da;this[_0xb4f202(0x1d6)](),await this[_0xb4f202(0x195)]();}['backToMenu'](){history['back']();}async['initData'](){const _0x2e3ff2=a0_0x2527da;var {menuId:_0x414f7a=''}=this[_0x2e3ff2(0x1ce)]?.[_0x2e3ff2(0x18e)]?this[_0x2e3ff2(0x1ce)][_0x2e3ff2(0x18e)]:{};if(this[_0x2e3ff2(0x19a)]=_0x414f7a,!_0x414f7a||''==_0x414f7a)return void this['clear']();let _0x58ce9a=await MetaApi['findOne'](_0x2e3ff2(0x1c1),_0x414f7a,_0x2e3ff2(0x1b6));if(_0x58ce9a){try{JSON['parse'](MetaCrypto[_0x2e3ff2(0x1bf)](_0x58ce9a['template']));}catch(_0x42edee){return;}this[_0x2e3ff2(0x17d)]=TermsUtil[_0x2e3ff2(0x1a1)](_0x58ce9a[_0x2e3ff2(0x1b4)]),this[_0x2e3ff2(0x1cf)]=_0x58ce9a[_0x2e3ff2(0x1b8)]?JSON[_0x2e3ff2(0x1f5)](MetaCrypto[_0x2e3ff2(0x1bf)](_0x58ce9a['template'])):{};var {menu:_0x34cfca={},gql:_0x3ca243={},button:_0x94eeb6=[],grid_column:_0x4052d5=[],grid:_0x5d6e04={},search:_0x2c9eb0=[],form:_0x37dffd=[],tab:_0xf03782=[],etc:_0x4cb89d={},gridEmphasized:_0x31694f=[]}=this[_0x2e3ff2(0x1cf)]?this['metaTemplate']:{};this['setTabData'](),this[_0x2e3ff2(0x1c5)]={},this[_0x2e3ff2(0x1c5)][_0x2e3ff2(0x1c1)]=_0x34cfca,this['dataStorage']['graphql']=_0x3ca243,this[_0x2e3ff2(0x1c5)][_0x2e3ff2(0x1ba)]=_0x5d6e04,this[_0x2e3ff2(0x1c5)]['form']=_0x37dffd,this[_0x2e3ff2(0x1c5)][_0x2e3ff2(0x1ea)]=_0xf03782,this[_0x2e3ff2(0x1c5)][_0x2e3ff2(0x1dd)]=_0x4cb89d,this[_0x2e3ff2(0x1c5)]['gridEmphasized']=_0x31694f,(_0x5d6e04[_0x2e3ff2(0x1db)]?.[_0x2e3ff2(0x19f)]||[])[_0x2e3ff2(0x1a4)]((_0x2a97cb,_0x492c25)=>{_0x2a97cb['rank']=0xa*(_0x492c25+0x1);}),this[_0x2e3ff2(0x1c5)][_0x2e3ff2(0x196)]=_0x4052d5[_0x2e3ff2(0x188)](_0x309164=>{const _0x50820c=_0x2e3ff2;let _0x1dda7f=(_0x5d6e04[_0x50820c(0x1db)]?.[_0x50820c(0x19f)]||[])[_0x50820c(0x1aa)](_0x45dac6=>_0x45dac6['name']==_0x309164['name']);return _0x1dda7f&&_0x1dda7f[_0x50820c(0x1bd)]>0x0?(_0x309164[_0x50820c(0x1b3)]=_0x1dda7f[0x0]['rank'],_0x309164[_0x50820c(0x1f2)]=!!_0x1dda7f[0x0][_0x50820c(0x1c6)]&&_0x1dda7f[0x0][_0x50820c(0x1c6)]):_0x309164[_0x50820c(0x1b3)]=0x0,_0x309164[_0x50820c(0x191)]=(_0x5d6e04[_0x50820c(0x1a8)]?.[_0x50820c(0x185)]||[])['includes'](_0x309164[_0x50820c(0x1b4)]),_0x309164[_0x50820c(0x193)]=(_0x5d6e04['list']?.['details']||[])[_0x50820c(0x1a9)](_0x309164['name']),_0x309164[_0x50820c(0x1e3)]=_0x5d6e04[_0x50820c(0x1a8)]?.[_0x50820c(0x1e5)]==_0x309164['name'],_0x309164;}),_0x2c9eb0[_0x2e3ff2(0x1ad)](...(_0x3ca243['query']?.[_0x2e3ff2(0x17e)]||[])[_0x2e3ff2(0x188)](_0x2eb8bf=>(_0x2eb8bf[_0x2e3ff2(0x1af)]=!0x0,_0x2eb8bf))),this[_0x2e3ff2(0x1c5)][_0x2e3ff2(0x1ee)]=_0x2c9eb0,_0x94eeb6[_0x2e3ff2(0x1ad)](...(_0x5d6e04['button']||[])[_0x2e3ff2(0x188)](_0xa1ad15=>(_0xa1ad15[_0x2e3ff2(0x1bc)]='grid-'+_0xa1ad15['type'],_0xa1ad15[_0x2e3ff2(0x19b)]=_0xa1ad15[_0x2e3ff2(0x184)],_0xa1ad15))),this[_0x2e3ff2(0x1c5)]['button']=_0x94eeb6,Object[_0x2e3ff2(0x1cd)](this['tabData'])[_0x2e3ff2(0x1a4)](_0x4c2867=>{const _0x30f58d=_0x2e3ff2;let _0x168efe=this['convertFirstCharUpperCase'](_0x4c2867);if(this['set'+_0x168efe+'ConfigTabValues'])return this['set'+_0x168efe+_0x30f58d(0x1a0)](this[_0x30f58d(0x1c5)][_0x4c2867]);});}}async[a0_0x2527da(0x190)](){const _0x2f8398=a0_0x2527da;this['setTabData']();let _0x5d7cc5=Object[_0x2f8398(0x1cd)](this['tabData']);for(var _0xfdfb88=0x0;_0xfdfb88<_0x5d7cc5[_0x2f8398(0x1bd)];_0xfdfb88++){let _0x14fae2=this['convertFirstCharUpperCase'](_0x5d7cc5[_0xfdfb88]);this[_0x2f8398(0x1e8)+_0x14fae2+_0x2f8398(0x19e)]&&await this[_0x2f8398(0x1e8)+_0x14fae2+'ConfigTabConfig']();}}async['pageUpdated'](_0xa4f759,_0x29e51a,_0x231b91){const _0x51f3af=a0_0x2527da;!0x0===this['active']?(this['setTabData'](),await this[_0x51f3af(0x195)](),this[_0x51f3af(0x182)]()):(this[_0x51f3af(0x1d6)](),this['remove']());}['setTabData'](){const _0x4ce448=a0_0x2527da;this['tabData']||(this[_0x4ce448(0x1d4)]={'menu':TermsUtil[_0x4ce448(0x1ed)](_0x4ce448(0x1bb)),'graphql':TermsUtil['tLabel'](_0x4ce448(0x180)),'grid':TermsUtil[_0x4ce448(0x1ed)](_0x4ce448(0x1f4)),'column':TermsUtil[_0x4ce448(0x1ed)]('column_config'),'gridEmphasized':TermsUtil[_0x4ce448(0x1ed)](_0x4ce448(0x1ac)),'button':TermsUtil['tLabel'](_0x4ce448(0x1c0)),'search':TermsUtil[_0x4ce448(0x1ed)](_0x4ce448(0x1d9)),'form':TermsUtil[_0x4ce448(0x1ed)]('form_config'),'tab':TermsUtil[_0x4ce448(0x1ed)](_0x4ce448(0x1ab)),'etc':TermsUtil['tLabel'](_0x4ce448(0x1a5))});}[a0_0x2527da(0x1c4)](){const _0x4fb7ae=a0_0x2527da;this[_0x4fb7ae(0x1a6)]||(this[_0x4fb7ae(0x1a6)]='menu'),this[_0x4fb7ae(0x182)]();let _0x35e5af=Object[_0x4fb7ae(0x1cd)](this['tabData']);return this['tabData'][this['currentTabKey']]?this[_0x4fb7ae(0x1a6)]:_0x35e5af[0x0],html`
149
+ <h1>${this[_0x4fb7ae(0x17d)]}</h1>
150
150
  <div class="tabs">
151
- ${_0x236db9[_0x417bf3(0x22f)](_0x413b48=>{const _0x1512eb=_0x417bf3;let _0x1e8f6e=this[_0x1512eb(0x213)][_0x413b48];return html`
152
- <div class="tab" ?activate="${_0x413b48===this['currentTabKey']}" @click="${()=>this[_0x1512eb(0x203)]=_0x413b48}">
153
- <span>${_0x1e8f6e}</span>
151
+ ${_0x35e5af[_0x4fb7ae(0x188)](_0x5b5ecb=>{const _0xb9e10d=_0x4fb7ae;let _0x2cd89d=this['tabData'][_0x5b5ecb];return html`
152
+ <div class="tab" ?activate="${_0x5b5ecb===this[_0xb9e10d(0x1a6)]}" @click="${()=>this[_0xb9e10d(0x1a6)]=_0x5b5ecb}">
153
+ <span>${_0x2cd89d}</span>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
158
- ${_0x236db9[_0x417bf3(0x22f)](_0x507f2a=>{const _0x1129c8=_0x417bf3;let _0x3dd5eb='display:none';return _0x507f2a==this[_0x1129c8(0x203)]&&(_0x3dd5eb=_0x1129c8(0x218)),html`
159
- <div class='tab-contents' style="${_0x3dd5eb}">
160
- ${this[_0x1129c8(0x1fc)](_0x507f2a)}
158
+ ${_0x35e5af[_0x4fb7ae(0x188)](_0x5e155e=>{const _0x4fefd9=_0x4fb7ae;let _0x535439=_0x4fefd9(0x1e2);return _0x5e155e==this['currentTabKey']&&(_0x535439=_0x4fefd9(0x1e7)),html`
159
+ <div class='tab-contents' style="${_0x535439}">
160
+ ${this[_0x4fefd9(0x1e6)](_0x5e155e)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
164
- `;}[a0_0x469697(0x1fc)](_0x49a21c){const _0x6f6532=a0_0x469697;let _0x5e0057=this[_0x6f6532(0x216)](_0x49a21c);return this['render'+_0x5e0057+_0x6f6532(0x20e)]?this[_0x6f6532(0x21b)+_0x5e0057+_0x6f6532(0x20e)]():html``;}[a0_0x469697(0x216)](_0x26e5ee){const _0x4039af=a0_0x469697;return _0x26e5ee[_0x4039af(0x1de)](0x0)[_0x4039af(0x202)]()+_0x26e5ee['slice'](0x1);}[a0_0x469697(0x236)](_0x35944e){const _0x2b71fc=a0_0x469697;return this[_0x2b71fc(0x1dc)][_0x2b71fc(0x22a)]('#'+_0x35944e);}[a0_0x469697(0x1cc)](_0xee5941){const _0x32e4b9=a0_0x469697;let _0x33c5e8=this[_0x32e4b9(0x1dc)][_0x32e4b9(0x22a)]('#'+_0xee5941);if(!_0x33c5e8)return;let _0x4b37fd='';if(_0x32e4b9(0x224)==_0x33c5e8['tagName'][_0x32e4b9(0x1fe)]()){if(!_0x33c5e8[_0x32e4b9(0x22d)]||0x0==_0x33c5e8['options'][_0x32e4b9(0x210)])return;_0x4b37fd=_0x33c5e8['options'][_0x33c5e8[_0x32e4b9(0x1d1)]][_0x32e4b9(0x233)];}else{if('ox-grist'==_0x33c5e8[_0x32e4b9(0x1ea)][_0x32e4b9(0x1fe)]()){if(!_0x33c5e8[_0x32e4b9(0x22e)])return;if(!_0x33c5e8[_0x32e4b9(0x22e)]['records'])return;if(0x0==_0x33c5e8[_0x32e4b9(0x22e)]['records'][_0x32e4b9(0x210)])return;return _0x33c5e8[_0x32e4b9(0x22e)][_0x32e4b9(0x234)];}if(_0x32e4b9(0x204)==_0x33c5e8['tagName']['toLowerCase']())return _0x33c5e8[_0x32e4b9(0x233)];if(_0x32e4b9(0x22b)==_0x33c5e8[_0x32e4b9(0x1cb)]['toLowerCase']()){let _0xd7abab=this['shadowRoot']['querySelector']('#'+_0xee5941+_0x32e4b9(0x1e6));if(!_0xd7abab)return;return _0xd7abab[_0x32e4b9(0x233)];}_0x4b37fd=_0x33c5e8['value'];}return _0x4b37fd&&''!=_0x4b37fd?_0x4b37fd:void 0x0;}['sortRecordByRank'](_0x202e1d){const _0x1f7089=a0_0x469697;return _0x202e1d?this[_0x1f7089(0x20b)](_0x202e1d,'rank'):_0x202e1d;}[a0_0x469697(0x20b)](_0x582518,_0x536759){return _0x582518['sort']((_0x2aab16,_0x90366d)=>_0x2aab16[_0x536759]-_0x90366d[_0x536759]),_0x582518;}}customElements['define']('meta-generator-page',MetaGeneratorPage);
164
+ `;}[a0_0x2527da(0x1e6)](_0xcc01d5){const _0x16db7d=a0_0x2527da;let _0x4b9c04=this[_0x16db7d(0x1d5)](_0xcc01d5);return this[_0x16db7d(0x1c4)+_0x4b9c04+_0x16db7d(0x181)]?this['render'+_0x4b9c04+'ConfigTab']():html``;}[a0_0x2527da(0x1d5)](_0x3a1370){const _0x9c8a19=a0_0x2527da;return _0x3a1370[_0x9c8a19(0x198)](0x0)[_0x9c8a19(0x1c9)]()+_0x3a1370[_0x9c8a19(0x1de)](0x1);}[a0_0x2527da(0x1e9)](_0x21419b){const _0xae3ab8=a0_0x2527da;return this[_0xae3ab8(0x1da)][_0xae3ab8(0x192)]('#'+_0x21419b);}['getElementValueById'](_0x51d3c0){const _0x31d460=a0_0x2527da;let _0xf974cf=this[_0x31d460(0x1da)][_0x31d460(0x192)]('#'+_0x51d3c0);if(!_0xf974cf)return;let _0x914f09='';if(_0x31d460(0x1d7)==_0xf974cf[_0x31d460(0x1cc)][_0x31d460(0x1c7)]()){if(!_0xf974cf[_0x31d460(0x1c2)]||0x0==_0xf974cf[_0x31d460(0x1c2)][_0x31d460(0x1bd)])return;_0x914f09=_0xf974cf[_0x31d460(0x1c2)][_0xf974cf['selectedIndex']][_0x31d460(0x1a2)];}else{if(_0x31d460(0x1b7)==_0xf974cf[_0x31d460(0x1cc)][_0x31d460(0x1c7)]()){if(!_0xf974cf[_0x31d460(0x199)])return;if(!_0xf974cf[_0x31d460(0x199)][_0x31d460(0x18f)])return;if(0x0==_0xf974cf[_0x31d460(0x199)]['records'][_0x31d460(0x1bd)])return;return _0xf974cf[_0x31d460(0x199)]['records'];}if(_0x31d460(0x1df)==_0xf974cf[_0x31d460(0x1cc)][_0x31d460(0x1c7)]())return _0xf974cf['value'];if(_0x31d460(0x18d)==_0xf974cf['type'][_0x31d460(0x1c7)]()){let _0x217a92=this[_0x31d460(0x1da)][_0x31d460(0x192)]('#'+_0x51d3c0+_0x31d460(0x186));if(!_0x217a92)return;return _0x217a92[_0x31d460(0x1a2)];}_0x914f09=_0xf974cf[_0x31d460(0x1a2)];}return _0x914f09&&''!=_0x914f09?_0x914f09:void 0x0;}[a0_0x2527da(0x1a7)](_0x4ef8be){const _0x4fd6d0=a0_0x2527da;return _0x4ef8be?this[_0x4fd6d0(0x1ec)](_0x4ef8be,_0x4fd6d0(0x1ca)):_0x4ef8be;}[a0_0x2527da(0x1ec)](_0x494ba9,_0x4b3798){const _0x1fd13e=a0_0x2527da;return _0x494ba9[_0x1fd13e(0x187)]((_0xd42f5f,_0x5b3569)=>_0xd42f5f[_0x4b3798]-_0x5b3569[_0x4b3798]),_0x494ba9;}}function a0_0x1c90(){const _0x2745aa=['search_config','shadowRoot','option','updateMultipleMenu','etc','slice','ox-input-code','2650220hIDvqs','get','display:none','thumbnail_field','479809HaahJh','thumbnail','getConfigTab','display:flex','set','getElementById','tab','tButton','sortRecordByField','tLabel','search','7962336PHdgEz','query','35977KtPTrZ','sort_desc','studioPermission','grid_config','parse','menuName','filters','22XPvycs','graphql_config','ConfigTab','setTabData','updateMultiple','icon','fields',':checked','sort','map','9wAknhS','error.invalid\x20license\x20key','operatoTools','errors','radio','params','records','pageInitialized','rep_field','querySelector','detail_field','back','initData','column','save','charAt','dirtyData','menuId','style','7YrrDej','refresh','ConfigTabConfig','sorters','ConfigTabValues','tMenu','value','320NyuhBT','forEach','etc_config','currentTabKey','sortRecordByRank','list','includes','filter','tab_config','grid_emphasized_config','push','deleteRow','hidden','properties','6qyMRaj','styles','sort_rank','name','enc','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20','ox-grist','template','117vSOXcR','grid','menu_config','type','length','493855umILri','dec','button_config','menu','options','define','render','dataStorage','desc','toLowerCase','backToMenu','toUpperCase','rank','meta_generator','tagName','keys','lifecycle','metaTemplate','dispatchEvent','bind','getState','1447494ewfGoN','tabData','convertFirstCharUpperCase','clear','select','13362056CEaYNZ'];a0_0x1c90=function(){return _0x2745aa;};return a0_0x1c90();}customElements[a0_0x2527da(0x1c3)]('meta-generator-page',MetaGeneratorPage);
@@ -1,4 +1,4 @@
1
- const a0_0x4dd727=a0_0x59f8;(function(_0x134928,_0x495e6e){const _0x265c2d=a0_0x59f8,_0x1c2329=_0x134928();while(!![]){try{const _0xfbf98d=parseInt(_0x265c2d(0x150))/0x1+-parseInt(_0x265c2d(0x14c))/0x2*(-parseInt(_0x265c2d(0x14e))/0x3)+-parseInt(_0x265c2d(0x141))/0x4*(-parseInt(_0x265c2d(0x13f))/0x5)+-parseInt(_0x265c2d(0x153))/0x6*(-parseInt(_0x265c2d(0x156))/0x7)+-parseInt(_0x265c2d(0x162))/0x8*(-parseInt(_0x265c2d(0x148))/0x9)+-parseInt(_0x265c2d(0x158))/0xa+-parseInt(_0x265c2d(0x145))/0xb;if(_0xfbf98d===_0x495e6e)break;else _0x1c2329['push'](_0x1c2329['shift']());}catch(_0x149cce){_0x1c2329['push'](_0x1c2329['shift']());}}}(a0_0x3e68,0x2068f));function a0_0x59f8(_0x511b36,_0x2aa696){const _0x3e68e4=a0_0x3e68();return a0_0x59f8=function(_0x59f803,_0x5f3fde){_0x59f803=_0x59f803-0x12d;let _0x4931ef=_0x3e68e4[_0x59f803];return _0x4931ef;},a0_0x59f8(_0x511b36,_0x2aa696);}import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x3e68(){const _0x2445bd=['map','#search-tab-grid','center','select','fetch','right','filters','operator','rank','tLabel','15260MYAUck','shadowRoot','100xIckye','boolean','hidden','fetchSearchTabHandler','5709462DoIIRg','searchTabGridConfig','deleteRow','189hiCvxd','search-tab-grid','viewSearchData','search_operator','1342XmkMqp','integer','111blCYHr','filter','258269EloNqw','getElementValueById','search','3126cMpZht','getGristGuttersConfig','string','2807Osknsa','searchTabGrist','1574780vFNqyO','forEach','FILTER_OPERATORS','querySelector','gql','setSearchConfigTabValues','bind','left','name','delete','91792wuhNpG','push','button','setSearchConfigTabConfig','value','assign','getCodeSelectorData','renderSearchConfigTab','getGristSelectableConfig'];a0_0x3e68=function(){return _0x2445bd;};return a0_0x3e68();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x1a6243=>class extends _0x1a6243{[a0_0x4dd727(0x15d)](_0x36b8f1){const _0x33f8b5=a0_0x4dd727;let _0x24dda7=_0x36b8f1?.[_0x33f8b5(0x135)]((_0x4a79d6,_0x54d3a9)=>{const _0x45371d=_0x33f8b5;let _0x3e9f90=_0x54d3a9+0x1,_0x429c2d={};return'object'==typeof _0x4a79d6?Object[_0x45371d(0x131)](_0x429c2d,_0x4a79d6):(_0x429c2d[_0x45371d(0x160)]=_0x4a79d6,_0x429c2d[_0x45371d(0x13c)]='filter'),_0x429c2d[_0x45371d(0x13d)]=0xa*_0x3e9f90,_0x429c2d['id']=_0x3e9f90,_0x429c2d;});this['viewSearchData']=_0x24dda7||[],this[_0x33f8b5(0x157)]?.[_0x33f8b5(0x139)]();}['getSearchConfigTabValues'](){const _0x293c18=a0_0x4dd727;let _0x56fa5f={'search':[],'gql':{'query':{'filters':[]}}},_0x3fd313=this[_0x293c18(0x151)](_0x293c18(0x149));return this['sortRecordByRank'](_0x3fd313)?.[_0x293c18(0x159)](_0x5b7b21=>{const _0x339de5=_0x293c18;var {name:_0x1fd7ab,operator:_0x4b70dd='eq',hidden:_0x5980df=!0x1,value:_0x4c5c62}=_0x5b7b21;if(_0x1fd7ab){if(_0x339de5(0x14f)==_0x4b70dd)_0x56fa5f[_0x339de5(0x152)]['push'](_0x1fd7ab);else{let _0x9614d2={'name':_0x1fd7ab,'operator':_0x4b70dd};0x1==_0x5980df?(_0x9614d2[_0x339de5(0x130)]=_0x4c5c62,_0x56fa5f[_0x339de5(0x15c)]['query'][_0x339de5(0x13b)][_0x339de5(0x12d)](_0x9614d2)):(_0x9614d2['value']=_0x4c5c62,_0x56fa5f[_0x339de5(0x152)][_0x339de5(0x12d)](_0x9614d2));}}}),_0x56fa5f;}[a0_0x4dd727(0x133)](){const _0x5b657b=a0_0x4dd727;return html`
2
- <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x5b657b(0x146)]} .mode='GRID'
3
- .fetchHandler=${this['fetchSearchTabHandler'][_0x5b657b(0x15e)](this)}>
4
- </ox-grist>`;}get['searchTabGrist'](){const _0x181773=a0_0x4dd727;return this[_0x181773(0x140)][_0x181773(0x15b)](_0x181773(0x136));}async[a0_0x4dd727(0x144)](){const _0x44d1bd=a0_0x4dd727;return{'total':0x0,'records':this[_0x44d1bd(0x14a)]||[]};}async[a0_0x4dd727(0x12f)](){const _0x138ddf=a0_0x4dd727;let _0x2487e3=await MetaApi[_0x138ddf(0x132)](_0x138ddf(0x15a));this[_0x138ddf(0x146)]={'rows':MetaApi[_0x138ddf(0x134)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x138ddf(0x154)](!0x1,!0x1),{'type':'gutter','gutterName':_0x138ddf(0x12e),'icon':_0x138ddf(0x161),'handlers':{'click':(_0x109b6a,_0x1fbe18,_0x14c0f7,_0x470579,_0x14c770)=>{const _0x651b9f=_0x138ddf;_0x470579['id']&&this[_0x651b9f(0x147)](this[_0x651b9f(0x157)],_0x470579);}}},{'type':_0x138ddf(0x155),'name':'id','hidden':!0x0},{'type':_0x138ddf(0x14d),'name':_0x138ddf(0x13d),'header':TermsUtil[_0x138ddf(0x13e)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':_0x138ddf(0x13a),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x138ddf(0x160),'header':TermsUtil[_0x138ddf(0x13e)](_0x138ddf(0x160)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x138ddf(0x15f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x138ddf(0x138),'name':_0x138ddf(0x13c),'header':TermsUtil['tLabel'](_0x138ddf(0x14b)),'sortable':!0x1,'width':0x64,'record':{'align':_0x138ddf(0x15f),'editable':!0x0,'mandatory':!0x1,'options':_0x2487e3}},{'type':_0x138ddf(0x142),'name':_0x138ddf(0x143),'header':TermsUtil[_0x138ddf(0x13e)](_0x138ddf(0x143)),'sortable':!0x1,'width':0x41,'record':{'align':_0x138ddf(0x137),'mandatory':!0x1,'editable':!0x0}},{'type':'string','name':_0x138ddf(0x130),'header':TermsUtil['tLabel']('default_value'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x138ddf(0x15f),'editable':!0x0,'mandatory':!0x1}}]};}};
1
+ function a0_0x331d(){const _0x261071=['delete','165beBZIA','name','1405848qVmYHc','renderSearchConfigTab','4659314eRRWEn','rank','sortRecordByRank','deleteRow','string','FILTER_OPERATORS','12011571KvryyX','354880ITXToV','select','shadowRoot','default_value','search_operator','value','setSearchConfigTabValues','fetchSearchTabHandler','33292numiBh','getGristGuttersConfig','2096955nUOIUb','hidden','querySelector','tLabel','boolean','operator','gutter','#search-tab-grid','filters','12mkyllL','searchTabGridConfig','map','query','search-tab-grid','9cZNRAI','search','getGristSelectableConfig','483543ocZnIz','searchTabGrist','forEach','getElementValueById','bind','78sFkpDo','viewSearchData','2abGkAf','left','push','gql','10VQYVrd','filter','right'];a0_0x331d=function(){return _0x261071;};return a0_0x331d();}const a0_0x4c4824=a0_0x363b;(function(_0x52cd27,_0x28191c){const _0x223b57=a0_0x363b,_0x55d87e=_0x52cd27();while(!![]){try{const _0x4f9040=parseInt(_0x223b57(0xdb))/0x1*(-parseInt(_0x223b57(0xe2))/0x2)+parseInt(_0x223b57(0xea))/0x3*(parseInt(_0x223b57(0xfd))/0x4)+-parseInt(_0x223b57(0xf5))/0x5*(-parseInt(_0x223b57(0xe0))/0x6)+parseInt(_0x223b57(0xff))/0x7+-parseInt(_0x223b57(0xec))/0x8*(parseInt(_0x223b57(0xd8))/0x9)+-parseInt(_0x223b57(0xe6))/0xa*(-parseInt(_0x223b57(0xee))/0xb)+-parseInt(_0x223b57(0x108))/0xc*(parseInt(_0x223b57(0xf4))/0xd);if(_0x4f9040===_0x28191c)break;else _0x55d87e['push'](_0x55d87e['shift']());}catch(_0xfc5037){_0x55d87e['push'](_0x55d87e['shift']());}}}(a0_0x331d,0x7f09f));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x363b(_0x474a2f,_0x3d9951){const _0x331df2=a0_0x331d();return a0_0x363b=function(_0x363b19,_0x4bd29f){_0x363b19=_0x363b19-0xd7;let _0x46c41d=_0x331df2[_0x363b19];return _0x46c41d;},a0_0x363b(_0x474a2f,_0x3d9951);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x36e929=>class extends _0x36e929{[a0_0x4c4824(0xfb)](_0x29bf61){const _0x37b1cf=a0_0x4c4824;let _0x4b93e7=_0x29bf61?.[_0x37b1cf(0x10a)]((_0x374b1d,_0x663deb)=>{const _0x558c1b=_0x37b1cf;let _0x5d3ad2=_0x663deb+0x1,_0x3be0c8={};return'object'==typeof _0x374b1d?Object['assign'](_0x3be0c8,_0x374b1d):(_0x3be0c8[_0x558c1b(0xeb)]=_0x374b1d,_0x3be0c8['operator']='filter'),_0x3be0c8[_0x558c1b(0xef)]=0xa*_0x5d3ad2,_0x3be0c8['id']=_0x5d3ad2,_0x3be0c8;});this[_0x37b1cf(0xe1)]=_0x4b93e7||[],this['searchTabGrist']?.['fetch']();}['getSearchConfigTabValues'](){const _0x30cb3e=a0_0x4c4824;let _0x1406e9={'search':[],'gql':{'query':{'filters':[]}}},_0x2fc7b9=this[_0x30cb3e(0xde)](_0x30cb3e(0xd7));return this[_0x30cb3e(0xf0)](_0x2fc7b9)?.[_0x30cb3e(0xdd)](_0x590442=>{const _0x2bc3ac=_0x30cb3e;var {name:_0x2065dd,operator:_0x11937a='eq',hidden:_0x395163=!0x1,value:_0x207c41}=_0x590442;if(_0x2065dd){if(_0x2bc3ac(0xe7)==_0x11937a)_0x1406e9[_0x2bc3ac(0xd9)][_0x2bc3ac(0xe4)](_0x2065dd);else{let _0x5df018={'name':_0x2065dd,'operator':_0x11937a};0x1==_0x395163?(_0x5df018[_0x2bc3ac(0xfa)]=_0x207c41,_0x1406e9[_0x2bc3ac(0xe5)][_0x2bc3ac(0x10b)][_0x2bc3ac(0x107)]['push'](_0x5df018)):(_0x5df018['value']=_0x207c41,_0x1406e9[_0x2bc3ac(0xd9)][_0x2bc3ac(0xe4)](_0x5df018));}}}),_0x1406e9;}[a0_0x4c4824(0xed)](){const _0xbe94c0=a0_0x4c4824;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0xbe94c0(0x109)]} .mode='GRID'
3
+ .fetchHandler=${this[_0xbe94c0(0xfc)][_0xbe94c0(0xdf)](this)}>
4
+ </ox-grist>`;}get[a0_0x4c4824(0xdc)](){const _0x5432a0=a0_0x4c4824;return this[_0x5432a0(0xf7)][_0x5432a0(0x101)](_0x5432a0(0x106));}async[a0_0x4c4824(0xfc)](){const _0xb901f7=a0_0x4c4824;return{'total':0x0,'records':this[_0xb901f7(0xe1)]||[]};}async['setSearchConfigTabConfig'](){const _0x17cc48=a0_0x4c4824;let _0x3aa780=await MetaApi['getCodeSelectorData'](_0x17cc48(0xf3));this[_0x17cc48(0x109)]={'rows':MetaApi[_0x17cc48(0xda)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x17cc48(0xef),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x17cc48(0xfe)](!0x1,!0x1),{'type':_0x17cc48(0x105),'gutterName':'button','icon':_0x17cc48(0xe9),'handlers':{'click':(_0xdaafa1,_0xb51bf3,_0x26a3a1,_0x41107e,_0x24db9a)=>{const _0x5bda07=_0x17cc48;_0x41107e['id']&&this[_0x5bda07(0xf1)](this[_0x5bda07(0xdc)],_0x41107e);}}},{'type':'string','name':'id','hidden':!0x0},{'type':'integer','name':_0x17cc48(0xef),'header':TermsUtil[_0x17cc48(0x102)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':_0x17cc48(0xe8),'editable':!0x0,'mandatory':!0x0}},{'type':_0x17cc48(0xf2),'name':'name','header':TermsUtil[_0x17cc48(0x102)]('name'),'sortable':!0x1,'width':0x9b,'record':{'align':_0x17cc48(0xe3),'editable':!0x0,'mandatory':!0x0}},{'type':_0x17cc48(0xf6),'name':_0x17cc48(0x104),'header':TermsUtil[_0x17cc48(0x102)](_0x17cc48(0xf9)),'sortable':!0x1,'width':0x64,'record':{'align':_0x17cc48(0xe3),'editable':!0x0,'mandatory':!0x1,'options':_0x3aa780}},{'type':_0x17cc48(0x103),'name':'hidden','header':TermsUtil[_0x17cc48(0x102)](_0x17cc48(0x100)),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':'string','name':_0x17cc48(0xfa),'header':TermsUtil['tLabel'](_0x17cc48(0xf8)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x17cc48(0xe3),'editable':!0x0,'mandatory':!0x1}}]};}};
@@ -1,4 +1,4 @@
1
- const a0_0x58be38=a0_0x4010;function a0_0x4010(_0x1b8fce,_0x22f660){const _0x4b2a8d=a0_0x4b2a();return a0_0x4010=function(_0x401007,_0x5410fd){_0x401007=_0x401007-0x9a;let _0x9213a9=_0x4b2a8d[_0x401007];return _0x9213a9;},a0_0x4010(_0x1b8fce,_0x22f660);}function a0_0x4b2a(){const _0x155c51=['forEach','shadowRoot','menu','routing','599193OsLRKp','button','params','integer','tLabel','setTabConfigTabValues','location','deleteRow','tabTabGrist','left','556555UPJKQW','2635932iHQbVr','page_location','fetchTabTabHandler','1xtAZac','tagname','string','renderTabConfigTab','1057334lRykXq','fetch','param_field','viewTabData','tab','#tab-tab-grid','18243370lyKACm','120PRIHBj','sortRecordByRank','tag','getTabConfigTabValues','map','parent_field','name','center','getElementValueById','rank','display','parent_id','delete','bind','2313252FCapPx','icon','18WiufGO','6104588TrvISG','querySelector','getGristSelectableConfig','push','getGristGuttersConfig','tabTabGridConfig'];a0_0x4b2a=function(){return _0x155c51;};return a0_0x4b2a();}(function(_0x4a81ed,_0x4d8070){const _0x2cf611=a0_0x4010,_0x33b9f7=_0x4a81ed();while(!![]){try{const _0x20978b=-parseInt(_0x2cf611(0xbc))/0x1*(-parseInt(_0x2cf611(0xc0))/0x2)+parseInt(_0x2cf611(0xb9))/0x3+-parseInt(_0x2cf611(0xa1))/0x4+parseInt(_0x2cf611(0xb8))/0x5*(-parseInt(_0x2cf611(0xa3))/0x6)+parseInt(_0x2cf611(0xa4))/0x7+-parseInt(_0x2cf611(0xc7))/0x8*(-parseInt(_0x2cf611(0xae))/0x9)+-parseInt(_0x2cf611(0xc6))/0xa;if(_0x20978b===_0x4d8070)break;else _0x33b9f7['push'](_0x33b9f7['shift']());}catch(_0x11a5be){_0x33b9f7['push'](_0x33b9f7['shift']());}}}(a0_0x4b2a,0x8431b));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x1ca211=>class extends _0x1ca211{[a0_0x58be38(0xb3)](_0x419755){const _0x658894=a0_0x58be38;let _0x325acc=_0x419755?.[_0x658894(0xcb)]((_0x1812a7,_0x372513)=>{const _0x10f244=_0x658894;let _0x29a331=_0x372513+0x1,_0x49ff37={};return _0x49ff37[_0x10f244(0x9c)]=0xa*_0x29a331,_0x49ff37['id']=_0x29a331,_0x49ff37[_0x10f244(0xcd)]=_0x1812a7[_0x10f244(0xcd)],_0x49ff37[_0x10f244(0x9d)]=_0x1812a7['display'],_0x49ff37[_0x10f244(0xbd)]=_0x1812a7[_0x10f244(0xbd)],_0x49ff37[_0x10f244(0xa2)]=_0x1812a7[_0x10f244(0xa2)],_0x49ff37[_0x10f244(0xb4)]=_0x1812a7[_0x10f244(0xb4)],_0x49ff37[_0x10f244(0xcc)]=_0x1812a7[_0x10f244(0xcc)],_0x49ff37[_0x10f244(0xc2)]=_0x1812a7[_0x10f244(0xc2)],_0x49ff37[_0x10f244(0xac)]=_0x1812a7['menu'],_0x49ff37;});this['viewTabData']=_0x325acc||[],this[_0x658894(0xb6)]?.[_0x658894(0xc1)]();}[a0_0x58be38(0xca)](){const _0x3e41d3=a0_0x58be38;let _0x262aeb={'tab':[]},_0x47add3=this[_0x3e41d3(0x9b)]('tab-tab-grid');return this[_0x3e41d3(0xc8)](_0x47add3)?.[_0x3e41d3(0xaa)](_0x5ae206=>{const _0x338d2b=_0x3e41d3;var {name:_0x3759c9,display:_0x3e6097,tagname:_0x37dfbe,location:_0x703e59,parent_field:_0x3de717,param_field:_0x4b69b3,menu:_0x2e34d3,icon:_0x20ae37}=_0x5ae206;_0x3759c9&&_0x37dfbe&&_0x703e59&&_0x2e34d3&&(_0x3e6097||(_0x3e6097=_0x3759c9),_0x3de717||(_0x3de717='id'),_0x4b69b3||(_0x4b69b3=_0x338d2b(0xc2)),_0x262aeb[_0x338d2b(0xc4)][_0x338d2b(0xa7)]({'name':_0x3759c9,'display':_0x3e6097,'tagname':_0x37dfbe,'location':_0x703e59,'parent_field':_0x3de717,'param_field':_0x4b69b3,'menu':_0x2e34d3,'icon':_0x20ae37}));}),_0x262aeb;}[a0_0x58be38(0xbf)](){const _0x4db0b9=a0_0x58be38;return html`
2
- <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x4db0b9(0xa9)]} .mode='GRID'
3
- .fetchHandler=${this[_0x4db0b9(0xbb)][_0x4db0b9(0xa0)](this)}>
4
- </ox-grist>`;}get[a0_0x58be38(0xb6)](){const _0x13b2db=a0_0x58be38;return this[_0x13b2db(0xab)][_0x13b2db(0xa5)](_0x13b2db(0xc5));}async[a0_0x58be38(0xbb)](){const _0x420d39=a0_0x58be38;return{'total':0x0,'records':this[_0x420d39(0xc3)]||[]};}async['setTabConfigTabConfig'](){const _0x14e9d4=a0_0x58be38;this[_0x14e9d4(0xa9)]={'rows':MetaApi[_0x14e9d4(0xa6)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x14e9d4(0x9c),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x14e9d4(0xa8)](!0x1,!0x1),{'type':'gutter','gutterName':_0x14e9d4(0xaf),'icon':_0x14e9d4(0x9f),'handlers':{'click':(_0x3daed2,_0x2fd544,_0x56b129,_0x4458d1,_0x2573f4)=>{const _0x14136c=_0x14e9d4;_0x4458d1['id']&&this[_0x14136c(0xb5)](this[_0x14136c(0xb6)],_0x4458d1);}}},{'type':_0x14e9d4(0xbe),'name':'id','hidden':!0x0},{'type':_0x14e9d4(0xb1),'name':_0x14e9d4(0x9c),'header':TermsUtil['tLabel']('rank'),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x14e9d4(0xbe),'name':_0x14e9d4(0xcd),'header':TermsUtil[_0x14e9d4(0xb2)](_0x14e9d4(0xcd)),'sortable':!0x1,'width':0x64,'record':{'align':_0x14e9d4(0xb7),'editable':!0x0,'mandatory':!0x0}},{'type':_0x14e9d4(0xbe),'name':_0x14e9d4(0x9d),'header':TermsUtil['tLabel'](_0x14e9d4(0x9d)),'sortable':!0x1,'width':0x64,'record':{'align':_0x14e9d4(0xb7),'editable':!0x0,'mandatory':!0x0}},{'type':_0x14e9d4(0xbe),'name':_0x14e9d4(0xa2),'header':TermsUtil[_0x14e9d4(0xb2)](_0x14e9d4(0xa2)),'sortable':!0x0,'width':0x41,'record':{'align':_0x14e9d4(0x9a),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x14e9d4(0xac),'header':TermsUtil['tLabel'](_0x14e9d4(0xad)),'sortable':!0x1,'width':0x64,'record':{'align':_0x14e9d4(0xb7),'editable':!0x0,'mandatory':!0x0}},{'type':_0x14e9d4(0xbe),'name':_0x14e9d4(0xbd),'header':TermsUtil[_0x14e9d4(0xb2)](_0x14e9d4(0xc9)),'sortable':!0x1,'width':0x96,'record':{'align':_0x14e9d4(0xb7),'editable':!0x0,'mandatory':!0x0}},{'type':_0x14e9d4(0xbe),'name':_0x14e9d4(0xb4),'header':TermsUtil[_0x14e9d4(0xb2)](_0x14e9d4(0xba)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x14e9d4(0xb7),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'parent_field','header':TermsUtil['tLabel'](_0x14e9d4(0x9e)),'sortable':!0x1,'width':0x64,'record':{'align':_0x14e9d4(0xb7),'editable':!0x0,'mandatory':!0x0}},{'type':_0x14e9d4(0xbe),'name':_0x14e9d4(0xc2),'header':TermsUtil[_0x14e9d4(0xb2)](_0x14e9d4(0xb0)),'sortable':!0x1,'width':0x64,'record':{'align':_0x14e9d4(0xb7),'editable':!0x0,'mandatory':!0x0}}]};}};
1
+ const a0_0x5e17df=a0_0xfa91;function a0_0xfa91(_0x262bb2,_0x796241){const _0x1c21e6=a0_0x1c21();return a0_0xfa91=function(_0xfa91e3,_0x33b030){_0xfa91e3=_0xfa91e3-0x1e5;let _0x1b04c7=_0x1c21e6[_0xfa91e3];return _0x1b04c7;},a0_0xfa91(_0x262bb2,_0x796241);}(function(_0x52ae1d,_0x398f8b){const _0x2051d7=a0_0xfa91,_0x5cf488=_0x52ae1d();while(!![]){try{const _0x57e72f=-parseInt(_0x2051d7(0x20a))/0x1+-parseInt(_0x2051d7(0x1eb))/0x2*(parseInt(_0x2051d7(0x1fb))/0x3)+-parseInt(_0x2051d7(0x1ee))/0x4*(parseInt(_0x2051d7(0x20c))/0x5)+parseInt(_0x2051d7(0x20e))/0x6*(parseInt(_0x2051d7(0x203))/0x7)+parseInt(_0x2051d7(0x1fe))/0x8+parseInt(_0x2051d7(0x1f2))/0x9*(parseInt(_0x2051d7(0x1f0))/0xa)+parseInt(_0x2051d7(0x1e6))/0xb*(-parseInt(_0x2051d7(0x20b))/0xc);if(_0x57e72f===_0x398f8b)break;else _0x5cf488['push'](_0x5cf488['shift']());}catch(_0x308512){_0x5cf488['push'](_0x5cf488['shift']());}}}(a0_0x1c21,0x5c8b7));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x7aaeb6=>class extends _0x7aaeb6{[a0_0x5e17df(0x1f5)](_0x510cc6){const _0x3dd5bb=a0_0x5e17df;let _0x2baf4b=_0x510cc6?.[_0x3dd5bb(0x211)]((_0x5449ea,_0x1aec39)=>{const _0x177599=_0x3dd5bb;let _0x56a8d9=_0x1aec39+0x1,_0x2ce046={};return _0x2ce046[_0x177599(0x208)]=0xa*_0x56a8d9,_0x2ce046['id']=_0x56a8d9,_0x2ce046['name']=_0x5449ea[_0x177599(0x1f9)],_0x2ce046[_0x177599(0x1e9)]=_0x5449ea[_0x177599(0x1e9)],_0x2ce046['tagname']=_0x5449ea[_0x177599(0x209)],_0x2ce046['icon']=_0x5449ea[_0x177599(0x1e7)],_0x2ce046[_0x177599(0x1f3)]=_0x5449ea[_0x177599(0x1f3)],_0x2ce046[_0x177599(0x1f1)]=_0x5449ea[_0x177599(0x1f1)],_0x2ce046[_0x177599(0x20f)]=_0x5449ea['param_field'],_0x2ce046['menu']=_0x5449ea['menu'],_0x2ce046;});this[_0x3dd5bb(0x1f8)]=_0x2baf4b||[],this[_0x3dd5bb(0x202)]?.[_0x3dd5bb(0x1fa)]();}[a0_0x5e17df(0x1f4)](){const _0x4c2d0e=a0_0x5e17df;let _0x50bde9={'tab':[]},_0x525db0=this['getElementValueById']('tab-tab-grid');return this[_0x4c2d0e(0x20d)](_0x525db0)?.[_0x4c2d0e(0x1f7)](_0x8032d=>{const _0x2ef64c=_0x4c2d0e;var {name:_0x29b020,display:_0x387e49,tagname:_0x40d260,location:_0x2f3150,parent_field:_0x169e4c,param_field:_0x52bf79,menu:_0x45b4c7,icon:_0x5e640a}=_0x8032d;_0x29b020&&_0x40d260&&_0x2f3150&&_0x45b4c7&&(_0x387e49||(_0x387e49=_0x29b020),_0x169e4c||(_0x169e4c='id'),_0x52bf79||(_0x52bf79=_0x2ef64c(0x20f)),_0x50bde9[_0x2ef64c(0x1e8)]['push']({'name':_0x29b020,'display':_0x387e49,'tagname':_0x40d260,'location':_0x2f3150,'parent_field':_0x169e4c,'param_field':_0x52bf79,'menu':_0x45b4c7,'icon':_0x5e640a}));}),_0x50bde9;}[a0_0x5e17df(0x1fc)](){const _0x198d9e=a0_0x5e17df;return html`
2
+ <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x198d9e(0x206)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x198d9e(0x210)]['bind'](this)}>
4
+ </ox-grist>`;}get[a0_0x5e17df(0x202)](){const _0x1b22c1=a0_0x5e17df;return this['shadowRoot'][_0x1b22c1(0x1e5)](_0x1b22c1(0x207));}async[a0_0x5e17df(0x210)](){const _0x453bf1=a0_0x5e17df;return{'total':0x0,'records':this[_0x453bf1(0x1f8)]||[]};}async[a0_0x5e17df(0x205)](){const _0x1b0818=a0_0x5e17df;this[_0x1b0818(0x206)]={'rows':MetaApi[_0x1b0818(0x1f6)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x1b0818(0x208),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x1b0818(0x1ec),'gutterName':_0x1b0818(0x204),'icon':'delete','handlers':{'click':(_0xd6e965,_0x226e72,_0x487837,_0x21edc1,_0x142d2a)=>{const _0x1fc131=_0x1b0818;_0x21edc1['id']&&this['deleteRow'](this[_0x1fc131(0x202)],_0x21edc1);}}},{'type':_0x1b0818(0x201),'name':'id','hidden':!0x0},{'type':_0x1b0818(0x200),'name':_0x1b0818(0x208),'header':TermsUtil[_0x1b0818(0x212)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x1b0818(0x201),'name':_0x1b0818(0x1f9),'header':TermsUtil[_0x1b0818(0x212)]('name'),'sortable':!0x1,'width':0x64,'record':{'align':_0x1b0818(0x1ed),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'display','header':TermsUtil[_0x1b0818(0x212)]('display'),'sortable':!0x1,'width':0x64,'record':{'align':_0x1b0818(0x1ed),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1b0818(0x201),'name':'icon','header':TermsUtil['tLabel'](_0x1b0818(0x1e7)),'sortable':!0x0,'width':0x41,'record':{'align':_0x1b0818(0x1fd),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1b0818(0x201),'name':'menu','header':TermsUtil[_0x1b0818(0x212)]('routing'),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x1b0818(0x201),'name':'tagname','header':TermsUtil['tLabel'](_0x1b0818(0x1ff)),'sortable':!0x1,'width':0x96,'record':{'align':_0x1b0818(0x1ed),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1b0818(0x201),'name':'location','header':TermsUtil[_0x1b0818(0x212)]('page_location'),'sortable':!0x1,'width':0x12c,'record':{'align':_0x1b0818(0x1ed),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1b0818(0x201),'name':'parent_field','header':TermsUtil['tLabel'](_0x1b0818(0x1ef)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1b0818(0x1ed),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1b0818(0x201),'name':_0x1b0818(0x20f),'header':TermsUtil[_0x1b0818(0x212)](_0x1b0818(0x1ea)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1b0818(0x1ed),'editable':!0x0,'mandatory':!0x0}}]};}};function a0_0x1c21(){const _0x35a4c6=['parent_id','2330EZjUln','parent_field','24993yztWWL','location','getTabConfigTabValues','setTabConfigTabValues','getGristSelectableConfig','forEach','viewTabData','name','fetch','45GRcOdM','renderTabConfigTab','center','5809464OdVpLy','tag','integer','string','tabTabGrist','7QaZzbl','button','setTabConfigTabConfig','tabTabGridConfig','#tab-tab-grid','rank','tagname','381567dwFCXY','4476pqKVYA','52535uHympT','sortRecordByRank','2814708XumiZJ','param_field','fetchTabTabHandler','map','tLabel','querySelector','22627erFKOW','icon','tab','display','params','37724lNHYmr','gutter','left','12LiJlkd'];a0_0x1c21=function(){return _0x35a4c6;};return a0_0x1c21();}