@things-factory/operato-tools 6.1.36 → 6.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,86 +1,86 @@
1
- const a0_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`
1
+ function a0_0xe4e8(_0x1a6789,_0x14e611){const _0x1599cd=a0_0x1599();return a0_0xe4e8=function(_0xe4e8fd,_0x3c603d){_0xe4e8fd=_0xe4e8fd-0x1db;let _0x234359=_0x1599cd[_0xe4e8fd];return _0x234359;},a0_0xe4e8(_0x1a6789,_0x14e611);}const a0_0x4e7431=a0_0xe4e8;(function(_0xeeda,_0x458d5e){const _0x427f8f=a0_0xe4e8,_0x153759=_0xeeda();while(!![]){try{const _0x5efa08=parseInt(_0x427f8f(0x204))/0x1*(parseInt(_0x427f8f(0x1ea))/0x2)+parseInt(_0x427f8f(0x1fd))/0x3+-parseInt(_0x427f8f(0x1e1))/0x4*(-parseInt(_0x427f8f(0x1eb))/0x5)+-parseInt(_0x427f8f(0x216))/0x6+parseInt(_0x427f8f(0x1ec))/0x7+parseInt(_0x427f8f(0x1f9))/0x8+parseInt(_0x427f8f(0x218))/0x9*(-parseInt(_0x427f8f(0x1ef))/0xa);if(_0x5efa08===_0x458d5e)break;else _0x153759['push'](_0x153759['shift']());}catch(_0x11076f){_0x153759['push'](_0x153759['shift']());}}}(a0_0x1599,0xe8a60));function a0_0x1599(){const _0x3358d3=['renderGridConfigTab','1028872hftbpU','GRID_PAGE_OPTIONS','viewGridData','name','view_mode','setGridConfigTabDetaultValues','select-row-toggle','_view_use','LIST','1807186LgqweI','5LVRcxF','11329430zuhhoo','grid_pagination','desk_mode','15170rXvAbX','CARD','grid_term_unlimited','pages','option','includes','getElementValueById','description','map','grid','10908776KBahvL','unsupport','grid_use_row_check','use_row_checker','1845294gOWwhQ','gridPageOptions','grid_desk_view','mobile_mode','grid_view_use','grid_support_multi_select','grid_multi_select','2LYKupB','true','push','GRID_VIEW_MODE','grid_use_filter','grid_term_50','unlimited','tLabel','setGridConfigTabValues','toLowerCase','gridViewModes','grid_term_default','grid_term_1000','GRID','row','list_view_use','use','length','3731178AoSfSA','grid_support_view','24246pCrLLd','unuse','multiple_select','getGridConfigTabValues','use_filter_form','codeItems'];a0_0x1599=function(){return _0x3358d3;};return a0_0x1599();}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=_0x32b8d7=>class extends _0x32b8d7{[a0_0x4e7431(0x20c)](_0x4526c8){const _0x5f279d=a0_0x4e7431;if(_0x4526c8){var {mobile_mode:_0x2e2677='',desk_mode:_0x4da41f='',pages:_0x3223c8=[],use_row_checker:_0x427c8e=!0x0,view_mode:_0x2b757f=[]}=_0x4526c8[_0x5f279d(0x1f3)]||{};let _0x4889af=(_0x4526c8[_0x5f279d(0x212)]||{'multiple_select':!0x1})[_0x5f279d(0x1dc)],_0x2171e3=_0x5f279d(0x20a)==_0x3223c8?_0x5f279d(0x1f1):0x0==_0x3223c8[_0x5f279d(0x215)]?'':0x14==_0x3223c8[0x0]?_0x5f279d(0x20f):'grid_term_'+_0x3223c8[0x0];this['viewGridData']={'mobile_mode':_0x2e2677,'desk_mode':_0x4da41f,'use_row_checker':_0x427c8e,'pages':_0x2171e3,'view_mode':_0x2b757f,'multiple_select':_0x4889af,'use_filter_form':_0x4526c8[_0x5f279d(0x1de)]};}else this[_0x5f279d(0x1e6)]();}[a0_0x4e7431(0x1dd)](){const _0x413cba=a0_0x4e7431;let _0x22118e={'grid':{'option':{},'row':{'click':_0x413cba(0x1e7)}}},_0x2c1e1b=this[_0x413cba(0x1f5)]('grid_row_check_use'),_0x94fb50=this[_0x413cba(0x1f5)](_0x413cba(0x203)),_0x43b749=this[_0x413cba(0x1f5)](_0x413cba(0x1ff)),_0x162050=this[_0x413cba(0x1f5)]('grid_mobile_view'),_0x3c908b=this[_0x413cba(0x1f5)](_0x413cba(0x208)),_0x1f677d=this[_0x413cba(0x1f5)](_0x413cba(0x1ed)),_0x123e14=this['getElementValueById'](_0x413cba(0x201)),_0x56ea04=this[_0x413cba(0x1f5)](_0x413cba(0x213)),_0x2f32b0=this[_0x413cba(0x1f5)]('card_view_use');return _0x22118e[_0x413cba(0x1f8)][_0x413cba(0x1de)]=_0x413cba(0x205)==_0x3c908b,_0x22118e[_0x413cba(0x1f8)]['row'][_0x413cba(0x1dc)]='true'==_0x94fb50,_0x22118e[_0x413cba(0x1f8)][_0x413cba(0x1f3)][_0x413cba(0x1fc)]='true'==_0x2c1e1b,_0x22118e['grid']['option'][_0x413cba(0x200)]=_0x162050,_0x22118e[_0x413cba(0x1f8)][_0x413cba(0x1f3)][_0x413cba(0x1ee)]=_0x43b749,_0x413cba(0x20f)==_0x1f677d?_0x22118e[_0x413cba(0x1f8)][_0x413cba(0x1f3)]['pages']=[0x14,0x1e,0x32,0x64]:_0x413cba(0x209)==_0x1f677d?_0x22118e[_0x413cba(0x1f8)][_0x413cba(0x1f3)]['pages']=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0x1f677d?_0x22118e['grid'][_0x413cba(0x1f3)][_0x413cba(0x1f2)]=[0x64,0x1f4,0x3e8,0x1388]:_0x413cba(0x210)==_0x1f677d?_0x22118e['grid'][_0x413cba(0x1f3)][_0x413cba(0x1f2)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x413cba(0x1f1)==_0x1f677d&&(_0x22118e[_0x413cba(0x1f8)]['option'][_0x413cba(0x1f2)]=_0x413cba(0x20a)),_0x22118e['grid'][_0x413cba(0x1f3)]['view_mode']=[],'true'==_0x123e14&&_0x22118e[_0x413cba(0x1f8)][_0x413cba(0x1f3)][_0x413cba(0x1e5)][_0x413cba(0x206)](_0x413cba(0x211)),_0x413cba(0x205)==_0x56ea04&&_0x22118e['grid']['option']['view_mode'][_0x413cba(0x206)](_0x413cba(0x1e9)),_0x413cba(0x205)==_0x2f32b0&&_0x22118e[_0x413cba(0x1f8)]['option'][_0x413cba(0x1e5)][_0x413cba(0x206)](_0x413cba(0x1f0)),_0x22118e;}async['setGridConfigTabConfig'](){const _0xb29327=a0_0x4e7431;let _0xd5bd83=await MetaApi[_0xb29327(0x1df)](_0xb29327(0x1e2)),_0xd39827=await MetaApi[_0xb29327(0x1df)](_0xb29327(0x207));this['gridViewModes']=_0xd39827,this[_0xb29327(0x1fe)]=_0xd5bd83;}[a0_0x4e7431(0x1e6)](){const _0x4a88eb=a0_0x4e7431;this[_0x4a88eb(0x1e3)]||(this['viewGridData']={'mobile_mode':this[_0x4a88eb(0x20e)]?this[_0x4a88eb(0x20e)][0x1]:_0x4a88eb(0x1e9),'desk_mode':this['gridViewModes']?this[_0x4a88eb(0x20e)][0x0]:_0x4a88eb(0x211),'use_row_checker':!0x0,'pages':_0x4a88eb(0x20f),'view_mode':[...this[_0x4a88eb(0x20e)]?this[_0x4a88eb(0x20e)]:[_0x4a88eb(0x211),_0x4a88eb(0x1e9),_0x4a88eb(0x1f0)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x4e7431(0x1e0)](){const _0x1f51e6=a0_0x4e7431;return this['setGridConfigTabDetaultValues'](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('grid_use_row_check')}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f51e6(0x20b)](_0x1f51e6(0x1fb))}
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[_0x1c30e8(0x1d3)]['use_row_checker']}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1d4))}</input>
10
+ ?checked=${this[_0x1f51e6(0x1e3)][_0x1f51e6(0x1fc)]}>${TermsUtil[_0x1f51e6(0x20b)]('use')}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this[_0x1c30e8(0x1d3)][_0x1c30e8(0x208)]}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1fc))}</input>
12
+ ?checked=${!this['viewGridData'][_0x1f51e6(0x1fc)]}>${TermsUtil[_0x1f51e6(0x20b)](_0x1f51e6(0x1db))}</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[_0x1c30e8(0x1d0)](_0x1c30e8(0x1f4))}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f51e6(0x20b)](_0x1f51e6(0x202))}
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['viewGridData']['multiple_select']}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1ff))}</input>
23
+ ?checked=${this[_0x1f51e6(0x1e3)][_0x1f51e6(0x1dc)]}>${TermsUtil['tLabel']('support')}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this[_0x1c30e8(0x1d3)][_0x1c30e8(0x1d6)]}>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x206))}</input>
25
+ ?checked=${!this[_0x1f51e6(0x1e3)][_0x1f51e6(0x1dc)]}>${TermsUtil['tLabel'](_0x1f51e6(0x1fa))}</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[_0x1c30e8(0x1d0)](_0x1c30e8(0x200))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f51e6(0x20b)](_0x1f51e6(0x208))}
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[_0x1c30e8(0x1d3)][_0x1c30e8(0x1dd)]}>${TermsUtil['tLabel'](_0x1c30e8(0x1d4))}</input>
36
+ ?checked=${this[_0x1f51e6(0x1e3)][_0x1f51e6(0x1de)]}>${TermsUtil[_0x1f51e6(0x20b)]('use')}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this[_0x1c30e8(0x1d3)]['use_filter_form']}>${TermsUtil[_0x1c30e8(0x1d0)]('unuse')}</input>
38
+ ?checked=${!this[_0x1f51e6(0x1e3)][_0x1f51e6(0x1de)]}>${TermsUtil['tLabel'](_0x1f51e6(0x1db))}</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[_0x1c30e8(0x1d0)](_0x1c30e8(0x1ce))}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f51e6(0x20b)](_0x1f51e6(0x1ff))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this['gridViewModes']?.['map'](_0xde1eb4=>html`<option value=${_0xde1eb4['name']} ?selected=${this['viewGridData'][_0x1c30e8(0x1eb)]==_0xde1eb4[_0x1c30e8(0x1db)]}>${_0xde1eb4['description']}</option>`)}
49
+ ${this[_0x1f51e6(0x20e)]?.['map'](_0x105dd3=>html`<option value=${_0x105dd3[_0x1f51e6(0x1e4)]} ?selected=${this[_0x1f51e6(0x1e3)][_0x1f51e6(0x1ee)]==_0x105dd3['name']}>${_0x105dd3[_0x1f51e6(0x1f6)]}</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[_0x1c30e8(0x1d0)](_0x1c30e8(0x1fd))}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f51e6(0x20b)]('grid_mobile_view')}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
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>`)}
59
+ ${this['gridViewModes']?.[_0x1f51e6(0x1f7)](_0x3515aa=>html`<option value=${_0x3515aa['name']} ?selected=${this[_0x1f51e6(0x1e3)][_0x1f51e6(0x200)]==_0x3515aa[_0x1f51e6(0x1e4)]}>${_0x3515aa[_0x1f51e6(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['tLabel'](_0x1c30e8(0x1ec))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1f51e6(0x20b)](_0x1f51e6(0x217))}
66
66
  </h2>
67
67
  <label>
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>
68
+ ${this[_0x1f51e6(0x20e)]?.[_0x1f51e6(0x1f7)](_0x564087=>html`
69
+ <span>${_0x564087[_0x1f51e6(0x1e4)]}
70
+ <input type="radio" name=${_0x564087['name'][_0x1f51e6(0x20d)]()+_0x1f51e6(0x1e8)} id=${_0x564087['name'][_0x1f51e6(0x20d)]()+'_view_use'} ?checked=${this['viewGridData'][_0x1f51e6(0x1e5)][_0x1f51e6(0x1f4)](_0x564087[_0x1f51e6(0x1e4)])} value="true">${TermsUtil['tLabel'](_0x1f51e6(0x214))}</input>
71
+ <input type="radio" name=${_0x564087['name'][_0x1f51e6(0x20d)]()+_0x1f51e6(0x1e8)} id=${_0x564087[_0x1f51e6(0x1e4)][_0x1f51e6(0x20d)]()+'_view_use'} ?checked=${!this[_0x1f51e6(0x1e3)]['view_mode'][_0x1f51e6(0x1f4)](_0x564087[_0x1f51e6(0x1e4)])} value="false">${TermsUtil[_0x1f51e6(0x20b)]('unuse')}</input>
72
72
  </span>
73
73
  `)}
74
74
  </label>
75
75
  </div>
76
76
  <div field>
77
77
  <h2>
78
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x1c30e8(0x1d0)](_0x1c30e8(0x1f2))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x1f51e6(0x1ed))}
79
79
  </h2>
80
80
  <label>
81
- ${this[_0x1c30e8(0x1e1)]?.[_0x1c30e8(0x1f0)](_0x80f804=>html`
81
+ ${this[_0x1f51e6(0x1fe)]?.[_0x1f51e6(0x1f7)](_0x23b606=>html`
82
82
  <span>
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>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x23b606[_0x1f51e6(0x1e4)]} ?checked=${this[_0x1f51e6(0x1e3)][_0x1f51e6(0x1f2)]==_0x23b606[_0x1f51e6(0x1e4)]}>${TermsUtil[_0x1f51e6(0x20b)](_0x23b606['name'])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
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`
1
+ const a0_0x56f81f=a0_0x3899;(function(_0x3c3479,_0x4aa185){const _0x52dccb=a0_0x3899,_0x1692c8=_0x3c3479();while(!![]){try{const _0x40c7ba=parseInt(_0x52dccb(0x206))/0x1*(-parseInt(_0x52dccb(0x216))/0x2)+parseInt(_0x52dccb(0x229))/0x3*(parseInt(_0x52dccb(0x222))/0x4)+parseInt(_0x52dccb(0x22a))/0x5+-parseInt(_0x52dccb(0x1f9))/0x6*(parseInt(_0x52dccb(0x204))/0x7)+parseInt(_0x52dccb(0x1f1))/0x8+parseInt(_0x52dccb(0x203))/0x9*(-parseInt(_0x52dccb(0x1f5))/0xa)+-parseInt(_0x52dccb(0x213))/0xb*(-parseInt(_0x52dccb(0x21f))/0xc);if(_0x40c7ba===_0x4aa185)break;else _0x1692c8['push'](_0x1692c8['shift']());}catch(_0xe14d21){_0x1692c8['push'](_0x1692c8['shift']());}}}(a0_0x17b1,0xee02a));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x3899(_0x43f272,_0x5939f6){const _0x17b14d=a0_0x17b1();return a0_0x3899=function(_0x389959,_0x28ef4c){_0x389959=_0x389959-0x1f0;let _0x398acd=_0x17b14d[_0x389959];return _0x398acd;},a0_0x3899(_0x43f272,_0x5939f6);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x595663=>class extends _0x595663{[a0_0x56f81f(0x209)](_0xceced3){const _0x10eaa=a0_0x56f81f;if(_0xceced3){this['viewEmphasizedData']={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x1ea4fd=0x1;this[_0x10eaa(0x207)][_0x10eaa(0x1f7)]=(_0xceced3[_0x10eaa(0x1fb)]||[])[_0x10eaa(0x211)](_0xfbca1f=>({'id':_0x1ea4fd,'rank':_0x1ea4fd++,'backgroundColor':_0xfbca1f[_0x10eaa(0x1f6)]||'','fontColor':_0xfbca1f['fontColor']||'','logic':_0xfbca1f[_0x10eaa(0x20a)]||''})),_0x1ea4fd=0x1;let _0x209e52=_0xceced3[_0x10eaa(0x226)]||[];Object[_0x10eaa(0x200)](_0x209e52)[_0x10eaa(0x208)](_0xf636e1=>{let _0x1babdc=_0x209e52[_0xf636e1]||[],_0x3db163=0x1;_0x1babdc['forEach'](_0x6b1263=>{const _0x2bc40c=a0_0x3899;this[_0x2bc40c(0x207)]['columnEmphasizedData'][_0x2bc40c(0x215)]({'id':_0x1ea4fd++,'rank':_0x3db163++,'column':_0xf636e1,'backgroundColor':_0x6b1263[_0x2bc40c(0x1f6)]||'','fontColor':_0x6b1263[_0x2bc40c(0x20c)]||'','logic':_0x6b1263[_0x2bc40c(0x20a)]||''});});}),this[_0x10eaa(0x219)]?.[_0x10eaa(0x1f3)](),this['emphasizedConfigTabRowEmphasizedGrist']?.[_0x10eaa(0x1f3)]();}else this[_0x10eaa(0x202)]();}[a0_0x56f81f(0x20d)](){const _0x4a8b95=a0_0x56f81f;let _0xf66de5=this['getElementValueById'](_0x4a8b95(0x227)),_0x11d788=this[_0x4a8b95(0x1fd)](_0x4a8b95(0x221)),_0x5e2689=[];this['sortRecordByRank'](_0xf66de5)?.[_0x4a8b95(0x208)](_0x4b6a33=>{const _0x323ad9=_0x4a8b95;_0x5e2689[_0x323ad9(0x215)]({'backgroundColor':_0x4b6a33[_0x323ad9(0x1f6)],'fontColor':_0x4b6a33['fontColor'],'logic':_0x4b6a33[_0x323ad9(0x20a)]});});let _0x2050f7={};return this[_0x4a8b95(0x21b)](_0x11d788)?.[_0x4a8b95(0x208)](_0x3e6596=>{const _0x54d9b1=_0x4a8b95;_0x2050f7[_0x3e6596[_0x54d9b1(0x226)]]||(_0x2050f7[_0x3e6596[_0x54d9b1(0x226)]]=[]),_0x2050f7[_0x3e6596[_0x54d9b1(0x226)]][_0x54d9b1(0x215)]({'backgroundColor':_0x3e6596[_0x54d9b1(0x1f6)],'fontColor':_0x3e6596[_0x54d9b1(0x20c)],'logic':_0x3e6596[_0x54d9b1(0x20a)]});}),{'gridEmphasized':{'row':_0x5e2689||[],'column':_0x2050f7||{}}};}get[a0_0x56f81f(0x220)](){const _0x10d7d6=a0_0x56f81f;return this[_0x10d7d6(0x218)][_0x10d7d6(0x210)]('#row-emphasized-grist');}get[a0_0x56f81f(0x219)](){const _0x442fd1=a0_0x56f81f;return this[_0x442fd1(0x218)][_0x442fd1(0x210)](_0x442fd1(0x214));}['setGridEmphasizedConfigTabConfig'](){const _0x43c9a9=a0_0x56f81f;this[_0x43c9a9(0x21c)]={'rows':MetaApi[_0x43c9a9(0x224)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x43c9a9(0x217)](!0x1,!0x1),{'type':_0x43c9a9(0x21e),'gutterName':_0x43c9a9(0x228),'icon':_0x43c9a9(0x1f2),'handlers':{'click':(_0x227f5c,_0x11377a,_0x1fdd96,_0x43c5d9,_0xfd742f)=>{const _0x56bb2b=_0x43c9a9;_0x43c5d9['id']&&this[_0x56bb2b(0x225)](this[_0x56bb2b(0x220)],_0x43c5d9);}}},{'type':_0x43c9a9(0x205),'name':'id','hidden':!0x0},{'type':_0x43c9a9(0x21a),'name':_0x43c9a9(0x1fc),'header':TermsUtil[_0x43c9a9(0x1fa)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x43c9a9(0x205),'name':_0x43c9a9(0x1f6),'header':TermsUtil[_0x43c9a9(0x1fa)]('background-color'),'record':{'align':_0x43c9a9(0x1f4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x43c9a9(0x205),'name':_0x43c9a9(0x20c),'header':TermsUtil['tLabel'](_0x43c9a9(0x1ff)),'record':{'align':_0x43c9a9(0x1f4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x43c9a9(0x201),'name':'logic','header':TermsUtil[_0x43c9a9(0x1fa)](_0x43c9a9(0x20a)),'record':{'align':_0x43c9a9(0x1f4),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this[_0x43c9a9(0x1f8)]={'rows':MetaApi[_0x43c9a9(0x224)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x43c9a9(0x217)](!0x1,!0x1),{'type':_0x43c9a9(0x21e),'gutterName':_0x43c9a9(0x228),'icon':_0x43c9a9(0x1f2),'handlers':{'click':(_0x50c7ed,_0x4117d1,_0x3f274c,_0x1f29b5,_0x3a8be9)=>{const _0x4a96ef=_0x43c9a9;_0x1f29b5['id']&&this[_0x4a96ef(0x225)](this[_0x4a96ef(0x219)],_0x1f29b5);}}},{'type':_0x43c9a9(0x205),'name':'id','hidden':!0x0},{'type':_0x43c9a9(0x205),'name':_0x43c9a9(0x226),'header':TermsUtil[_0x43c9a9(0x1fa)](_0x43c9a9(0x226)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x43c9a9(0x21a),'name':_0x43c9a9(0x1fc),'header':TermsUtil[_0x43c9a9(0x1fa)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':_0x43c9a9(0x21d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x43c9a9(0x205),'name':_0x43c9a9(0x1f6),'header':TermsUtil[_0x43c9a9(0x1fa)](_0x43c9a9(0x1f0)),'record':{'align':_0x43c9a9(0x1f4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x43c9a9(0x205),'name':_0x43c9a9(0x20c),'header':TermsUtil['tLabel'](_0x43c9a9(0x1ff)),'record':{'align':_0x43c9a9(0x1f4),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x43c9a9(0x201),'name':'logic','header':TermsUtil['tLabel'](_0x43c9a9(0x20a)),'record':{'align':_0x43c9a9(0x1f4),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x56f81f(0x202)](){const _0x32f5a3=a0_0x56f81f;this[_0x32f5a3(0x207)]||(this[_0x32f5a3(0x207)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x56f81f(0x223)](){const _0x14dc91=a0_0x56f81f;return this['setGridEmphasizedConfigTabDefaultValues'](),html`
2
2
  <div style='grid-template-rows: 50% 50%;display:grid;flex:1;'>
3
3
  <div field >
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x5e4fd2(0xe4)](_0x5e4fd2(0xf6))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x14dc91(0x1fa)]('grid_row_emphasized_config')}
6
6
  </h2>
7
- <ox-grist id="row-emphasized-grist" .config=${this['rowEmphasizedConfig']} .mode=${'GRID'} auto-fetch
8
- .fetchHandler=${this[_0x5e4fd2(0xda)][_0x5e4fd2(0xd2)](this)}></ox-grist>
7
+ <ox-grist id="row-emphasized-grist" .config=${this[_0x14dc91(0x21c)]} .mode=${_0x14dc91(0x20b)} auto-fetch
8
+ .fetchHandler=${this['fetchRowEmphasized'][_0x14dc91(0x1fe)](this)}></ox-grist>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x5e4fd2(0xe4)](_0x5e4fd2(0xe0))}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x14dc91(0x1fa)](_0x14dc91(0x20e))}
13
13
  </h2>
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>
14
+ <ox-grist id="column-emphasized-grist" .config=${this[_0x14dc91(0x1f8)]} .mode=${_0x14dc91(0x20b)} auto-fetch
15
+ .fetchHandler=${this[_0x14dc91(0x20f)][_0x14dc91(0x1fe)](this)}></ox-grist>
16
16
  </div>
17
17
  </div>
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};}};
18
+ `;}async[a0_0x56f81f(0x212)](){const _0x1ad0a0=a0_0x56f81f;return{'records':this['viewEmphasizedData'][_0x1ad0a0(0x1f7)],'total':0x0};}async[a0_0x56f81f(0x20f)](){return{'records':this['viewEmphasizedData']['columnEmphasizedData'],'total':0x0};}};function a0_0x17b1(){const _0x43dbcb=['font-color','keys','code-input','setGridEmphasizedConfigTabDefaultValues','2010942pVZcBG','35OiYRDF','string','10XSDMYp','viewEmphasizedData','forEach','setGridEmphasizedConfigTabValues','logic','GRID','fontColor','getGridEmphasizedConfigTabValues','grid_column_emphasized_config','fetchColumnEmphasized','querySelector','map','fetchRowEmphasized','7211853bgXFnh','#column-emphasized-grist','push','264274rwljlT','getGristGuttersConfig','shadowRoot','emphasizedConfigTabColumnEmphasizedGrist','integer','sortRecordByRank','rowEmphasizedConfig','right','gutter','12phOVLc','emphasizedConfigTabRowEmphasizedGrist','column-emphasized-grist','4dueDzm','renderGridEmphasizedConfigTab','getGristSelectableConfig','deleteRow','column','row-emphasized-grist','button','4087221DsDCqb','6735675uknWjB','background-color','10119008LaZoqv','delete','fetch','left','20ImmYGs','backgroundColor','rowEmphasizedData','columnEmphasizedConfig','2264286MUaIcQ','tLabel','row','rank','getElementValueById','bind'];a0_0x17b1=function(){return _0x43dbcb;};return a0_0x17b1();}
@@ -1,30 +1,30 @@
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`
1
+ const a0_0xf30da3=a0_0x54be;function a0_0x35bf(){const _0x4d8a01=['6117636zNVPaO','2268978CarANG','12470930iDlszx','title','15daCXra','target','11lHGyDk','getElementValueById','value','help_doc','48jAtZTr','help','getMenuConfigTabValues','menu_name_field','description','desc','6294612pxKivh','getElementById','2527624LogbKA','menuTitleChange','setMenuConfigTabDefaultValue','1RHxler','name','menu_desc_field','display','menu','viewMenuData','tLabel','1082664eKrzOE','1687293qWxrbu'];a0_0x35bf=function(){return _0x4d8a01;};return a0_0x35bf();}(function(_0x12787a,_0x19ebe5){const _0x52ed22=a0_0x54be,_0x2d1bc4=_0x12787a();while(!![]){try{const _0x46934c=-parseInt(_0x52ed22(0x1fb))/0x1*(parseInt(_0x52ed22(0x1f8))/0x2)+-parseInt(_0x52ed22(0x205))/0x3+parseInt(_0x52ed22(0x1f6))/0x4+parseInt(_0x52ed22(0x1ea))/0x5*(parseInt(_0x52ed22(0x202))/0x6)+parseInt(_0x52ed22(0x204))/0x7+parseInt(_0x52ed22(0x1f0))/0x8*(parseInt(_0x52ed22(0x203))/0x9)+-parseInt(_0x52ed22(0x206))/0xa*(parseInt(_0x52ed22(0x1ec))/0xb);if(_0x46934c===_0x19ebe5)break;else _0x2d1bc4['push'](_0x2d1bc4['shift']());}catch(_0x3a650a){_0x2d1bc4['push'](_0x2d1bc4['shift']());}}}(a0_0x35bf,0xceae4));function a0_0x54be(_0x577e29,_0x5ba796){const _0x35bff0=a0_0x35bf();return a0_0x54be=function(_0x54be74,_0x30f1ae){_0x54be74=_0x54be74-0x1ea;let _0x55527e=_0x35bff0[_0x54be74];return _0x55527e;},a0_0x54be(_0x577e29,_0x5ba796);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x49e8e6=>class extends _0x49e8e6{['setMenuConfigTabValues'](_0x41bd0c){const _0x3b039f=a0_0x54be;if(_0x41bd0c){var {title:_0xe56c0f='',name:_0x4258dd='',desc:_0x2ebf09='',help:_0x20d146=''}=_0x41bd0c||{};this[_0x3b039f(0x200)]={'title':_0xe56c0f,'name':_0x4258dd,'desc':_0x2ebf09,'help_doc':_0x20d146},this[_0x3b039f(0x1f7)](_0x3b039f(0x207))[_0x3b039f(0x1ee)]=_0xe56c0f,this[_0x3b039f(0x1f7)]('name')[_0x3b039f(0x1ee)]=_0x4258dd,this[_0x3b039f(0x1f7)](_0x3b039f(0x1f5))[_0x3b039f(0x1ee)]=_0x2ebf09,this[_0x3b039f(0x1f7)](_0x3b039f(0x1ef))[_0x3b039f(0x1ee)]=_0x20d146;}else this[_0x3b039f(0x1fa)]();}[a0_0xf30da3(0x1f2)](){const _0x345610=a0_0xf30da3;let _0x273411={'menu':{}},_0x60dbe4=this[_0x345610(0x1ed)](_0x345610(0x207)),_0x59aac8=this[_0x345610(0x1ed)](_0x345610(0x1fc)),_0xbe16a3=this[_0x345610(0x1ed)]('desc'),_0x121763=this[_0x345610(0x1ed)](_0x345610(0x1ef));return _0x60dbe4&&(_0x273411[_0x345610(0x1ff)][_0x345610(0x207)]=_0x60dbe4),_0x59aac8&&(_0x273411[_0x345610(0x1ff)]['name']=_0x59aac8),_0xbe16a3&&(_0x273411[_0x345610(0x1ff)][_0x345610(0x1f5)]=_0xbe16a3),_0x121763&&(_0x273411[_0x345610(0x1ff)][_0x345610(0x1f1)]=_0x121763),_0x273411;}[a0_0xf30da3(0x1fa)](){const _0x384ae0=a0_0xf30da3;this['viewMenuData']||(this[_0x384ae0(0x200)]={'title':'','name':_0x384ae0(0x1fc),'desc':_0x384ae0(0x1f4),'help_doc':''});}[a0_0xf30da3(0x1f9)](_0x566052){const _0x432ef4=a0_0xf30da3;let _0x17be95=this[_0x432ef4(0x1f7)](_0x432ef4(0x1fe));_0x17be95&&(_0x17be95[_0x432ef4(0x1ee)]=TermsUtil['tTitle'](_0x566052[_0x432ef4(0x1eb)][_0x432ef4(0x1ee)]));}['renderMenuConfigTab'](){const _0x2ebf7e=a0_0xf30da3;return this[_0x2ebf7e(0x1fa)](),html`
2
2
  <div field-2column>
3
3
  <div field>
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)}/>
4
+ <label>${TermsUtil[_0x2ebf7e(0x201)]('menu_title')}
5
+ <input id="title" name="title" type="text" value=${this[_0x2ebf7e(0x200)][_0x2ebf7e(0x207)]} @change=${_0x4c1e61=>this['menuTitleChange'](_0x4c1e61)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
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
9
+ <label>${TermsUtil['tLabel'](_0x2ebf7e(0x1fe))}
10
+ <input id="display" name="display" value=${TermsUtil['tTitle'](this['viewMenuData']['title'])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x13b99c(0xc2)](_0x13b99c(0xbe))}
16
- <input id="name" name="name" type="text" value=${this[_0x13b99c(0xb9)][_0x13b99c(0xbf)]} />
15
+ <label>${TermsUtil[_0x2ebf7e(0x201)](_0x2ebf7e(0x1f3))}
16
+ <input id="name" name="name" type="text" value=${this[_0x2ebf7e(0x200)][_0x2ebf7e(0x1fc)]} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil['tLabel'](_0x13b99c(0xc7))}
21
- <input id="desc" name="desc" type="text" value=${this[_0x13b99c(0xb9)][_0x13b99c(0xba)]} />
20
+ <label>${TermsUtil[_0x2ebf7e(0x201)](_0x2ebf7e(0x1fd))}
21
+ <input id="desc" name="desc" type="text" value=${this['viewMenuData']['desc']} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil[_0x13b99c(0xc2)]('help_doc')}
26
- <input id="help_doc" name="help_doc" type="text" value=${this['viewMenuData'][_0x13b99c(0xca)]} />
25
+ <label>${TermsUtil[_0x2ebf7e(0x201)](_0x2ebf7e(0x1ef))}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0x2ebf7e(0x200)][_0x2ebf7e(0x1ef)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
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();}
30
+ `;}};
@@ -1,4 +1,4 @@
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`
1
+ function a0_0x575f(_0x4f457f,_0x52640a){const _0xea9484=a0_0xea94();return a0_0x575f=function(_0x575ff9,_0x45c08e){_0x575ff9=_0x575ff9-0x83;let _0x3b0147=_0xea9484[_0x575ff9];return _0x3b0147;},a0_0x575f(_0x4f457f,_0x52640a);}const a0_0x19c321=a0_0x575f;(function(_0x18a2eb,_0x3b792d){const _0x52cf44=a0_0x575f,_0x930642=_0x18a2eb();while(!![]){try{const _0x1974a4=parseInt(_0x52cf44(0xb0))/0x1+parseInt(_0x52cf44(0xe9))/0x2*(parseInt(_0x52cf44(0xe2))/0x3)+-parseInt(_0x52cf44(0x91))/0x4+parseInt(_0x52cf44(0xd1))/0x5*(-parseInt(_0x52cf44(0x9e))/0x6)+-parseInt(_0x52cf44(0xa7))/0x7+parseInt(_0x52cf44(0x8a))/0x8+parseInt(_0x52cf44(0xa8))/0x9;if(_0x1974a4===_0x3b792d)break;else _0x930642['push'](_0x930642['shift']());}catch(_0x5e2772){_0x930642['push'](_0x930642['shift']());}}}(a0_0xea94,0x4ac11));import a0_0x2d96bc from'graphql-tag';function a0_0xea94(){const _0x55a523=['define','error.invalid\x20license\x20key','toLowerCase','rep_field','radio','context','grid_emphasized_config','findOne','convertFirstCharUpperCase','querySelector','sortRecordByField','3WKfoIG','clear','dataStorage','deleteRow','gridEmphasized','forEach','active','882254hsFfgc','currentTabKey','tagName','etc_config','studioPermission','tab_config','ConfigTabConfig','styles',':checked','button_config','data','lifecycle','menu','tMenu','parse','getElementValueById','push','option','render','template','get','query','grid','backToMenu','sort_rank','form','graphql_config','ConfigTabValues','map','1700288BKCbir','stringify','style','menuId','params','display:none','keys','2238092auJtFO','shadowRoot','meta-generator-page','back','fields','toUpperCase','getConfigTab','desc','filter','set','slice','updateMultiple','properties','30KuhZge','dispatchEvent','column','selectedIndex','length','icon','meta_generator','options','sort_desc','910756imeHCz','4368879aAPEmc','value','name','bind','tabData','refresh','ConfigTab','ox-grist','254260xsOpzF','enc','includes','setTabData','sort','initData','tButton','thumbnail_field','tTitle','updateMultipleMenu','select','graphql','metaTemplate','column_config','thumbnail','errors','button','error','form_config','tab','menuName','charAt','grid-','search_config','sorters','records','detail_field','type','tLabel','dirtyData','pageInitialized','notify','rank','397530HdfLXb','list','search','save','dec','menu_config'];a0_0xea94=function(){return _0x55a523;};return a0_0xea94();}import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';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_0x19c321(0xf0)](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0x2527da=a0_0x2a61;(function(_0x25ad36,_0x760be8){const _0x327b06=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
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`
144
+ `];}static get[a0_0x19c321(0x9d)](){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_0x19c321(0xdc)](){const _0x40dcb3=a0_0x19c321;return{'title':TermsUtil[_0x40dcb3(0xb8)](_0x40dcb3(0xa4)),'actions':[{'title':TermsUtil[_0x40dcb3(0xb6)](_0x40dcb3(0xd4)),'action':this[_0x40dcb3(0xd4)][_0x40dcb3(0xab)](this),...CommonButtonStyles[_0x40dcb3(0xd4)]},{'title':TermsUtil[_0x40dcb3(0xb6)](_0x40dcb3(0x94)),'action':this[_0x40dcb3(0x84)]['bind'](this),...CommonButtonStyles[_0x40dcb3(0x94)]},{'title':TermsUtil[_0x40dcb3(0xb6)]('refresh'),'action':this[_0x40dcb3(0xad)][_0x40dcb3(0xab)](this),...CommonButtonStyles[_0x40dcb3(0xad)]}]};}[a0_0x19c321(0xe5)](_0x73b2a3,_0x23430c){const _0x47d2ec=a0_0x19c321;let _0x83a98a=_0x73b2a3[_0x47d2ec(0xcd)];_0x83a98a['records']=_0x83a98a['records'][_0x47d2ec(0x99)](_0x32785a=>_0x32785a['id']!=_0x23430c['id']),_0x73b2a3[_0x47d2ec(0xf3)]=_0x83a98a;}async[a0_0x19c321(0xd4)](){const _0x304d4f=a0_0x19c321;if(0x0==store['getState']()['operatoTools'][_0x304d4f(0xed)])return void document[_0x304d4f(0x9f)](new CustomEvent(_0x304d4f(0xcf),{'detail':{'level':_0x304d4f(0xc1),'message':i18next['t'](_0x304d4f(0xd8))}}));if((await client[_0x304d4f(0xfe)]({'query':a0_0x2d96bc`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
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>
148
+ `,'variables':{'id':this['menuId']}}))[_0x304d4f(0xbf)])return;let _0x3596c3={},_0x3c5c96={};Object[_0x304d4f(0x90)](this['tabData'])['forEach'](_0xf206ed=>{const _0x26d851=_0x304d4f;let _0x47a088=this[_0x26d851(0xdf)](_0xf206ed);_0x3596c3[_0xf206ed]=this[_0x26d851(0xfd)+_0x47a088+_0x26d851(0x88)](),_0x3c5c96=merge(_0x3c5c96,_0x3596c3[_0xf206ed]);}),_0x3c5c96=JSON[_0x304d4f(0x8b)](_0x3c5c96),_0x3c5c96=MetaCrypto[_0x304d4f(0xb1)](_0x3c5c96),await MetaApi[_0x304d4f(0x9c)](_0x304d4f(0xb9),[{'id':this[_0x304d4f(0x8d)],'template':_0x3c5c96,'cuFlag':'M'}])&&await this['initData']();}[a0_0x19c321(0xe3)](){const _0x33c4a1=a0_0x19c321;this[_0x33c4a1(0xb3)](),this[_0x33c4a1(0xe4)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object['keys'](this[_0x33c4a1(0xac)])['forEach'](_0x2ca920=>{const _0x3e048e=_0x33c4a1;let _0x5959e4=this[_0x3e048e(0xdf)](_0x2ca920);if(this[_0x3e048e(0x9a)+_0x5959e4+'ConfigTabValues'])return this[_0x3e048e(0x9a)+_0x5959e4+_0x3e048e(0x88)](this[_0x3e048e(0xe4)][_0x2ca920]);});}async[a0_0x19c321(0xad)](){this['clear'](),await this['initData']();}[a0_0x19c321(0x84)](){const _0x3f08c6=a0_0x19c321;history[_0x3f08c6(0x94)]();}async[a0_0x19c321(0xb5)](){const _0x316d42=a0_0x19c321;var {menuId:_0x37029b=''}=this[_0x316d42(0xf4)]?.[_0x316d42(0x8e)]?this[_0x316d42(0xf4)]['params']:{};if(this[_0x316d42(0x8d)]=_0x37029b,!_0x37029b||''==_0x37029b)return void this[_0x316d42(0xe3)]();let _0x1b1f4f=await MetaApi[_0x316d42(0xde)]('menu',_0x37029b,'\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');if(_0x1b1f4f){try{JSON[_0x316d42(0xf7)](MetaCrypto[_0x316d42(0xd5)](_0x1b1f4f[_0x316d42(0xfc)]));}catch(_0x453849){return;}this[_0x316d42(0xc4)]=TermsUtil[_0x316d42(0xf6)](_0x1b1f4f[_0x316d42(0xaa)]),this[_0x316d42(0xbc)]=_0x1b1f4f[_0x316d42(0xfc)]?JSON['parse'](MetaCrypto[_0x316d42(0xd5)](_0x1b1f4f[_0x316d42(0xfc)])):{};var {menu:_0x1a304c={},gql:_0x27cd37={},button:_0x5d6976=[],grid_column:_0x452490=[],grid:_0x32570d={},search:_0x4f848f=[],form:_0x2ea714=[],tab:_0x1f00d9=[],etc:_0x9c32e7={},gridEmphasized:_0x49d7df=[]}=this['metaTemplate']?this['metaTemplate']:{};this['setTabData'](),this['dataStorage']={},this['dataStorage'][_0x316d42(0xf5)]=_0x1a304c,this[_0x316d42(0xe4)][_0x316d42(0xbb)]=_0x27cd37,this[_0x316d42(0xe4)][_0x316d42(0x83)]=_0x32570d,this[_0x316d42(0xe4)][_0x316d42(0x86)]=_0x2ea714,this['dataStorage'][_0x316d42(0xc3)]=_0x1f00d9,this[_0x316d42(0xe4)]['etc']=_0x9c32e7,this['dataStorage'][_0x316d42(0xe6)]=_0x49d7df,(_0x32570d[_0x316d42(0xfa)]?.['sorters']||[])[_0x316d42(0xe7)]((_0xece0b6,_0x3aca48)=>{const _0x54b7bb=_0x316d42;_0xece0b6[_0x54b7bb(0xd0)]=0xa*(_0x3aca48+0x1);}),this[_0x316d42(0xe4)][_0x316d42(0xa0)]=_0x452490['map'](_0x37f585=>{const _0x4b0a49=_0x316d42;let _0x137bf8=(_0x32570d['option']?.[_0x4b0a49(0xc8)]||[])[_0x4b0a49(0x99)](_0xb10c39=>_0xb10c39[_0x4b0a49(0xaa)]==_0x37f585[_0x4b0a49(0xaa)]);return _0x137bf8&&_0x137bf8[_0x4b0a49(0xa2)]>0x0?(_0x37f585[_0x4b0a49(0x85)]=_0x137bf8[0x0][_0x4b0a49(0xd0)],_0x37f585[_0x4b0a49(0xa6)]=!!_0x137bf8[0x0][_0x4b0a49(0x98)]&&_0x137bf8[0x0]['desc']):_0x37f585[_0x4b0a49(0x85)]=0x0,_0x37f585[_0x4b0a49(0xda)]=(_0x32570d[_0x4b0a49(0xd2)]?.[_0x4b0a49(0x95)]||[])[_0x4b0a49(0xb2)](_0x37f585[_0x4b0a49(0xaa)]),_0x37f585[_0x4b0a49(0xca)]=(_0x32570d[_0x4b0a49(0xd2)]?.['details']||[])[_0x4b0a49(0xb2)](_0x37f585[_0x4b0a49(0xaa)]),_0x37f585[_0x4b0a49(0xb7)]=_0x32570d['list']?.[_0x4b0a49(0xbe)]==_0x37f585[_0x4b0a49(0xaa)],_0x37f585;}),_0x4f848f[_0x316d42(0xf9)](...(_0x27cd37[_0x316d42(0xfe)]?.['filters']||[])[_0x316d42(0x89)](_0x2eb67a=>(_0x2eb67a['hidden']=!0x0,_0x2eb67a))),this[_0x316d42(0xe4)][_0x316d42(0xd3)]=_0x4f848f,_0x5d6976[_0x316d42(0xf9)](...(_0x32570d['button']||[])[_0x316d42(0x89)](_0x595dc0=>(_0x595dc0[_0x316d42(0xcb)]=_0x316d42(0xc6)+_0x595dc0[_0x316d42(0xcb)],_0x595dc0[_0x316d42(0x8c)]=_0x595dc0[_0x316d42(0xa3)],_0x595dc0))),this[_0x316d42(0xe4)][_0x316d42(0xc0)]=_0x5d6976,Object[_0x316d42(0x90)](this[_0x316d42(0xac)])[_0x316d42(0xe7)](_0x20ff6c=>{const _0x222ffc=_0x316d42;let _0x4f6461=this['convertFirstCharUpperCase'](_0x20ff6c);if(this[_0x222ffc(0x9a)+_0x4f6461+_0x222ffc(0x88)])return this[_0x222ffc(0x9a)+_0x4f6461+_0x222ffc(0x88)](this[_0x222ffc(0xe4)][_0x20ff6c]);});}}async[a0_0x19c321(0xce)](){const _0x537f25=a0_0x19c321;this[_0x537f25(0xb3)]();let _0x106910=Object[_0x537f25(0x90)](this[_0x537f25(0xac)]);for(var _0x1935b1=0x0;_0x1935b1<_0x106910[_0x537f25(0xa2)];_0x1935b1++){let _0x514cc3=this[_0x537f25(0xdf)](_0x106910[_0x1935b1]);this[_0x537f25(0x9a)+_0x514cc3+_0x537f25(0xef)]&&await this[_0x537f25(0x9a)+_0x514cc3+_0x537f25(0xef)]();}}async['pageUpdated'](_0x1b21c7,_0x1c789a,_0x485899){const _0x46ffe1=a0_0x19c321;!0x0===this[_0x46ffe1(0xe8)]?(this[_0x46ffe1(0xb3)](),await this['initData'](),this[_0x46ffe1(0xb3)]()):(this[_0x46ffe1(0xe3)](),this['remove']());}['setTabData'](){const _0x3c6137=a0_0x19c321;this[_0x3c6137(0xac)]||(this[_0x3c6137(0xac)]={'menu':TermsUtil[_0x3c6137(0xcc)](_0x3c6137(0xd6)),'graphql':TermsUtil[_0x3c6137(0xcc)](_0x3c6137(0x87)),'grid':TermsUtil[_0x3c6137(0xcc)]('grid_config'),'column':TermsUtil[_0x3c6137(0xcc)](_0x3c6137(0xbd)),'gridEmphasized':TermsUtil['tLabel'](_0x3c6137(0xdd)),'button':TermsUtil[_0x3c6137(0xcc)](_0x3c6137(0xf2)),'search':TermsUtil[_0x3c6137(0xcc)](_0x3c6137(0xc7)),'form':TermsUtil['tLabel'](_0x3c6137(0xc2)),'tab':TermsUtil[_0x3c6137(0xcc)](_0x3c6137(0xee)),'etc':TermsUtil[_0x3c6137(0xcc)](_0x3c6137(0xec))});}['render'](){const _0x17990e=a0_0x19c321;this['currentTabKey']||(this['currentTabKey']=_0x17990e(0xf5)),this[_0x17990e(0xb3)]();let _0x19ab6a=Object['keys'](this[_0x17990e(0xac)]);return this[_0x17990e(0xac)][this[_0x17990e(0xea)]]?this[_0x17990e(0xea)]:_0x19ab6a[0x0],html`
149
+ <h1>${this[_0x17990e(0xc4)]}</h1>
150
150
  <div class="tabs">
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>
151
+ ${_0x19ab6a['map'](_0x5e6c3c=>{const _0x35c072=_0x17990e;let _0x29e875=this[_0x35c072(0xac)][_0x5e6c3c];return html`
152
+ <div class="tab" ?activate="${_0x5e6c3c===this[_0x35c072(0xea)]}" @click="${()=>this[_0x35c072(0xea)]=_0x5e6c3c}">
153
+ <span>${_0x29e875}</span>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
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)}
158
+ ${_0x19ab6a['map'](_0x5a7249=>{const _0x1f9a80=_0x17990e;let _0x526f54=_0x1f9a80(0x8f);return _0x5a7249==this[_0x1f9a80(0xea)]&&(_0x526f54='display:flex'),html`
159
+ <div class='tab-contents' style="${_0x526f54}">
160
+ ${this[_0x1f9a80(0x97)](_0x5a7249)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
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);
164
+ `;}['getConfigTab'](_0x2e56e3){const _0x36e467=a0_0x19c321;let _0x56bf5d=this['convertFirstCharUpperCase'](_0x2e56e3);return this[_0x36e467(0xfb)+_0x56bf5d+_0x36e467(0xae)]?this[_0x36e467(0xfb)+_0x56bf5d+_0x36e467(0xae)]():html``;}[a0_0x19c321(0xdf)](_0x206150){const _0x3522b7=a0_0x19c321;return _0x206150[_0x3522b7(0xc5)](0x0)[_0x3522b7(0x96)]()+_0x206150[_0x3522b7(0x9b)](0x1);}['getElementById'](_0x3109e5){const _0x54ccae=a0_0x19c321;return this[_0x54ccae(0x92)][_0x54ccae(0xe0)]('#'+_0x3109e5);}[a0_0x19c321(0xf8)](_0x7be27a){const _0x2bb99e=a0_0x19c321;let _0x33dbd2=this['shadowRoot']['querySelector']('#'+_0x7be27a);if(!_0x33dbd2)return;let _0x552366='';if(_0x2bb99e(0xba)==_0x33dbd2[_0x2bb99e(0xeb)][_0x2bb99e(0xd9)]()){if(!_0x33dbd2[_0x2bb99e(0xa5)]||0x0==_0x33dbd2[_0x2bb99e(0xa5)][_0x2bb99e(0xa2)])return;_0x552366=_0x33dbd2[_0x2bb99e(0xa5)][_0x33dbd2[_0x2bb99e(0xa1)]]['value'];}else{if(_0x2bb99e(0xaf)==_0x33dbd2[_0x2bb99e(0xeb)][_0x2bb99e(0xd9)]()){if(!_0x33dbd2['dirtyData'])return;if(!_0x33dbd2[_0x2bb99e(0xcd)][_0x2bb99e(0xc9)])return;if(0x0==_0x33dbd2['dirtyData']['records'][_0x2bb99e(0xa2)])return;return _0x33dbd2['dirtyData'][_0x2bb99e(0xc9)];}if('ox-input-code'==_0x33dbd2[_0x2bb99e(0xeb)][_0x2bb99e(0xd9)]())return _0x33dbd2['value'];if(_0x2bb99e(0xdb)==_0x33dbd2[_0x2bb99e(0xcb)][_0x2bb99e(0xd9)]()){let _0x4a0759=this['shadowRoot'][_0x2bb99e(0xe0)]('#'+_0x7be27a+_0x2bb99e(0xf1));if(!_0x4a0759)return;return _0x4a0759['value'];}_0x552366=_0x33dbd2[_0x2bb99e(0xa9)];}return _0x552366&&''!=_0x552366?_0x552366:void 0x0;}['sortRecordByRank'](_0x5a2911){const _0x3989a0=a0_0x19c321;return _0x5a2911?this[_0x3989a0(0xe1)](_0x5a2911,_0x3989a0(0xd0)):_0x5a2911;}['sortRecordByField'](_0x4eaede,_0x583cc8){const _0x10c88f=a0_0x19c321;return _0x4eaede[_0x10c88f(0xb4)]((_0x3a41b0,_0x1165d8)=>_0x3a41b0[_0x583cc8]-_0x1165d8[_0x583cc8]),_0x4eaede;}}customElements[a0_0x19c321(0xd7)](a0_0x19c321(0x93),MetaGeneratorPage);
@@ -1,4 +1,4 @@
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
+ function a0_0x1466(){const _0x59b360=['1749896yTvmom','querySelector','string','integer','deleteRow','search','center','left','renderSearchConfigTab','object','push','boolean','799245qDiBgs','filters','2375710RSHWxR','operator','2iGWctg','getSearchConfigTabValues','searchTabGridConfig','fetchSearchTabHandler','query','#search-tab-grid','setSearchConfigTabValues','name','489042RSYSBn','searchTabGrist','viewSearchData','search_operator','value','button','getElementValueById','map','4oAVTdU','fetch','1723047uWsSzy','getGristGuttersConfig','shadowRoot','setSearchConfigTabConfig','FILTER_OPERATORS','default_value','search-tab-grid','tLabel','gutter','130dgmzMA','getCodeSelectorData','forEach','388381pzjqZr','delete','select','getGristSelectableConfig','assign','rank','5061762GFMJmI','right','filter','hidden','gql'];a0_0x1466=function(){return _0x59b360;};return a0_0x1466();}function a0_0x3dc9(_0x28a0cb,_0x11aa67){const _0x1466ba=a0_0x1466();return a0_0x3dc9=function(_0x3dc9a1,_0x3049d1){_0x3dc9a1=_0x3dc9a1-0x1ce;let _0x1c32a5=_0x1466ba[_0x3dc9a1];return _0x1c32a5;},a0_0x3dc9(_0x28a0cb,_0x11aa67);}const a0_0x2fbbe7=a0_0x3dc9;(function(_0x3ccf27,_0x188ab8){const _0x5df27c=a0_0x3dc9,_0x10e68b=_0x3ccf27();while(!![]){try{const _0xacb6ef=parseInt(_0x5df27c(0x1ef))/0x1*(parseInt(_0x5df27c(0x1f3))/0x2)+parseInt(_0x5df27c(0x205))/0x3+parseInt(_0x5df27c(0x203))/0x4*(-parseInt(_0x5df27c(0x1f1))/0x5)+-parseInt(_0x5df27c(0x1de))/0x6+parseInt(_0x5df27c(0x1d8))/0x7+-parseInt(_0x5df27c(0x1e3))/0x8+parseInt(_0x5df27c(0x1fb))/0x9*(parseInt(_0x5df27c(0x1d5))/0xa);if(_0xacb6ef===_0x188ab8)break;else _0x10e68b['push'](_0x10e68b['shift']());}catch(_0x447a0d){_0x10e68b['push'](_0x10e68b['shift']());}}}(a0_0x1466,0x91fcd));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 SearchConfigTabMixin=_0x3bb87f=>class extends _0x3bb87f{[a0_0x2fbbe7(0x1f9)](_0x28f485){const _0x27bbef=a0_0x2fbbe7;let _0x18ba02=_0x28f485?.[_0x27bbef(0x202)]((_0x57f03e,_0x138aa3)=>{const _0x1a86e0=_0x27bbef;let _0x350f30=_0x138aa3+0x1,_0x21fc00={};return _0x1a86e0(0x1ec)==typeof _0x57f03e?Object[_0x1a86e0(0x1dc)](_0x21fc00,_0x57f03e):(_0x21fc00[_0x1a86e0(0x1fa)]=_0x57f03e,_0x21fc00[_0x1a86e0(0x1f2)]=_0x1a86e0(0x1e0)),_0x21fc00[_0x1a86e0(0x1dd)]=0xa*_0x350f30,_0x21fc00['id']=_0x350f30,_0x21fc00;});this['viewSearchData']=_0x18ba02||[],this[_0x27bbef(0x1fc)]?.[_0x27bbef(0x204)]();}[a0_0x2fbbe7(0x1f4)](){const _0x27b375=a0_0x2fbbe7;let _0x208af2={'search':[],'gql':{'query':{'filters':[]}}},_0x435438=this[_0x27b375(0x201)](_0x27b375(0x1d2));return this['sortRecordByRank'](_0x435438)?.[_0x27b375(0x1d7)](_0x14960a=>{const _0x3d0866=_0x27b375;var {name:_0x169495,operator:_0x2fdbcf='eq',hidden:_0x5800b6=!0x1,value:_0x120d5b}=_0x14960a;if(_0x169495){if(_0x3d0866(0x1e0)==_0x2fdbcf)_0x208af2[_0x3d0866(0x1e8)][_0x3d0866(0x1ed)](_0x169495);else{let _0x3b0469={'name':_0x169495,'operator':_0x2fdbcf};0x1==_0x5800b6?(_0x3b0469[_0x3d0866(0x1ff)]=_0x120d5b,_0x208af2[_0x3d0866(0x1e2)][_0x3d0866(0x1f7)][_0x3d0866(0x1f0)][_0x3d0866(0x1ed)](_0x3b0469)):(_0x3b0469[_0x3d0866(0x1ff)]=_0x120d5b,_0x208af2[_0x3d0866(0x1e8)][_0x3d0866(0x1ed)](_0x3b0469));}}}),_0x208af2;}[a0_0x2fbbe7(0x1eb)](){const _0x5bbae7=a0_0x2fbbe7;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x5bbae7(0x1f5)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x5bbae7(0x1f6)]['bind'](this)}>
4
+ </ox-grist>`;}get[a0_0x2fbbe7(0x1fc)](){const _0x3f5f75=a0_0x2fbbe7;return this[_0x3f5f75(0x1ce)][_0x3f5f75(0x1e4)](_0x3f5f75(0x1f8));}async[a0_0x2fbbe7(0x1f6)](){const _0x2fd372=a0_0x2fbbe7;return{'total':0x0,'records':this[_0x2fd372(0x1fd)]||[]};}async[a0_0x2fbbe7(0x1cf)](){const _0x5c88d9=a0_0x2fbbe7;let _0x12494f=await MetaApi[_0x5c88d9(0x1d6)](_0x5c88d9(0x1d0));this[_0x5c88d9(0x1f5)]={'rows':MetaApi[_0x5c88d9(0x1db)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x5c88d9(0x206)](!0x1,!0x1),{'type':_0x5c88d9(0x1d4),'gutterName':_0x5c88d9(0x200),'icon':_0x5c88d9(0x1d9),'handlers':{'click':(_0x3cd5d0,_0x215c52,_0xe000bf,_0x366df2,_0x37925a)=>{const _0x4b5e96=_0x5c88d9;_0x366df2['id']&&this[_0x4b5e96(0x1e7)](this['searchTabGrist'],_0x366df2);}}},{'type':_0x5c88d9(0x1e5),'name':'id','hidden':!0x0},{'type':_0x5c88d9(0x1e6),'name':_0x5c88d9(0x1dd),'header':TermsUtil[_0x5c88d9(0x1d3)](_0x5c88d9(0x1dd)),'sortable':!0x0,'width':0x41,'record':{'align':_0x5c88d9(0x1df),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'name','header':TermsUtil[_0x5c88d9(0x1d3)]('name'),'sortable':!0x1,'width':0x9b,'record':{'align':_0x5c88d9(0x1ea),'editable':!0x0,'mandatory':!0x0}},{'type':_0x5c88d9(0x1da),'name':_0x5c88d9(0x1f2),'header':TermsUtil['tLabel'](_0x5c88d9(0x1fe)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x1,'options':_0x12494f}},{'type':_0x5c88d9(0x1ee),'name':_0x5c88d9(0x1e1),'header':TermsUtil['tLabel'](_0x5c88d9(0x1e1)),'sortable':!0x1,'width':0x41,'record':{'align':_0x5c88d9(0x1e9),'mandatory':!0x1,'editable':!0x0}},{'type':_0x5c88d9(0x1e5),'name':_0x5c88d9(0x1ff),'header':TermsUtil['tLabel'](_0x5c88d9(0x1d1)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x5c88d9(0x1ea),'editable':!0x0,'mandatory':!0x1}}]};}};
@@ -1,4 +1,4 @@
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();}
1
+ const a0_0x55b01d=a0_0x17f2;function a0_0x17f2(_0xf1c12a,_0x44264b){const _0x33ff4f=a0_0x33ff();return a0_0x17f2=function(_0x17f2a5,_0x539a5a){_0x17f2a5=_0x17f2a5-0x1b4;let _0x2dbcc6=_0x33ff4f[_0x17f2a5];return _0x2dbcc6;},a0_0x17f2(_0xf1c12a,_0x44264b);}(function(_0x3a887b,_0x1d4287){const _0x5e4042=a0_0x17f2,_0x23a910=_0x3a887b();while(!![]){try{const _0x2974d5=parseInt(_0x5e4042(0x1b5))/0x1+parseInt(_0x5e4042(0x1d4))/0x2+parseInt(_0x5e4042(0x1bd))/0x3*(-parseInt(_0x5e4042(0x1b9))/0x4)+-parseInt(_0x5e4042(0x1c4))/0x5+parseInt(_0x5e4042(0x1cf))/0x6+parseInt(_0x5e4042(0x1be))/0x7+parseInt(_0x5e4042(0x1dc))/0x8*(-parseInt(_0x5e4042(0x1d3))/0x9);if(_0x2974d5===_0x1d4287)break;else _0x23a910['push'](_0x23a910['shift']());}catch(_0x15617d){_0x23a910['push'](_0x23a910['shift']());}}}(a0_0x33ff,0xe0b70));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x33ff(){const _0x1c07bf=['icon','rank','2388860leiGgb','param_field','integer','tLabel','parent_id','display','tagname','bind','#tab-tab-grid','querySelector','setTabConfigTabConfig','9180660chbsHc','right','tab','forEach','83880WpTanE','600726rMNNtb','map','tab-tab-grid','page_location','location','center','shadowRoot','tabTabGrist','1808YcqWIK','menu','setTabConfigTabValues','push','1725388eYIkJs','string','deleteRow','tabTabGridConfig','433996ZnxetM','gutter','fetchTabTabHandler','delete','39YfBTfi','9514050elAeFS','parent_field','name','left'];a0_0x33ff=function(){return _0x1c07bf;};return a0_0x33ff();}export const TabConfigTabMixin=_0x539c77=>class extends _0x539c77{[a0_0x55b01d(0x1de)](_0x1edab4){const _0x192e1e=a0_0x55b01d;let _0x5e80d4=_0x1edab4?.[_0x192e1e(0x1d5)]((_0x211cb3,_0x3ba36a)=>{const _0x1a7fef=_0x192e1e;let _0x187bfd=_0x3ba36a+0x1,_0x2ccf78={};return _0x2ccf78['rank']=0xa*_0x187bfd,_0x2ccf78['id']=_0x187bfd,_0x2ccf78[_0x1a7fef(0x1c0)]=_0x211cb3[_0x1a7fef(0x1c0)],_0x2ccf78['display']=_0x211cb3['display'],_0x2ccf78[_0x1a7fef(0x1ca)]=_0x211cb3[_0x1a7fef(0x1ca)],_0x2ccf78[_0x1a7fef(0x1c2)]=_0x211cb3['icon'],_0x2ccf78[_0x1a7fef(0x1d8)]=_0x211cb3[_0x1a7fef(0x1d8)],_0x2ccf78[_0x1a7fef(0x1bf)]=_0x211cb3[_0x1a7fef(0x1bf)],_0x2ccf78['param_field']=_0x211cb3['param_field'],_0x2ccf78[_0x1a7fef(0x1dd)]=_0x211cb3[_0x1a7fef(0x1dd)],_0x2ccf78;});this['viewTabData']=_0x5e80d4||[],this['tabTabGrist']?.['fetch']();}['getTabConfigTabValues'](){const _0x238355=a0_0x55b01d;let _0x21f42b={'tab':[]},_0xa63e42=this['getElementValueById'](_0x238355(0x1d6));return this['sortRecordByRank'](_0xa63e42)?.[_0x238355(0x1d2)](_0x1aee89=>{const _0x330f66=_0x238355;var {name:_0xb14948,display:_0x1fdc39,tagname:_0x5f0526,location:_0x240bf8,parent_field:_0x1134ac,param_field:_0x218dfe,menu:_0x37de7,icon:_0x1af91f}=_0x1aee89;_0xb14948&&_0x5f0526&&_0x240bf8&&_0x37de7&&(_0x1fdc39||(_0x1fdc39=_0xb14948),_0x1134ac||(_0x1134ac='id'),_0x218dfe||(_0x218dfe=_0x330f66(0x1c5)),_0x21f42b[_0x330f66(0x1d1)][_0x330f66(0x1b4)]({'name':_0xb14948,'display':_0x1fdc39,'tagname':_0x5f0526,'location':_0x240bf8,'parent_field':_0x1134ac,'param_field':_0x218dfe,'menu':_0x37de7,'icon':_0x1af91f}));}),_0x21f42b;}['renderTabConfigTab'](){const _0x3d128b=a0_0x55b01d;return html`
2
+ <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x3d128b(0x1b8)]} .mode='GRID'
3
+ .fetchHandler=${this['fetchTabTabHandler'][_0x3d128b(0x1cb)](this)}>
4
+ </ox-grist>`;}get[a0_0x55b01d(0x1db)](){const _0xf7a626=a0_0x55b01d;return this[_0xf7a626(0x1da)][_0xf7a626(0x1cd)](_0xf7a626(0x1cc));}async[a0_0x55b01d(0x1bb)](){return{'total':0x0,'records':this['viewTabData']||[]};}async[a0_0x55b01d(0x1ce)](){const _0x354b87=a0_0x55b01d;this['tabTabGridConfig']={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x354b87(0x1ba),'gutterName':'button','icon':_0x354b87(0x1bc),'handlers':{'click':(_0x1e9d83,_0x4f9863,_0x4b689e,_0x186cbe,_0x45632d)=>{const _0x12987e=_0x354b87;_0x186cbe['id']&&this[_0x12987e(0x1b7)](this[_0x12987e(0x1db)],_0x186cbe);}}},{'type':_0x354b87(0x1b6),'name':'id','hidden':!0x0},{'type':_0x354b87(0x1c6),'name':'rank','header':TermsUtil[_0x354b87(0x1c7)](_0x354b87(0x1c3)),'sortable':!0x0,'width':0x41,'record':{'align':_0x354b87(0x1d0),'editable':!0x0,'mandatory':!0x0}},{'type':_0x354b87(0x1b6),'name':'name','header':TermsUtil[_0x354b87(0x1c7)](_0x354b87(0x1c0)),'sortable':!0x1,'width':0x64,'record':{'align':_0x354b87(0x1c1),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x354b87(0x1c9),'header':TermsUtil['tLabel'](_0x354b87(0x1c9)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x354b87(0x1c2),'header':TermsUtil[_0x354b87(0x1c7)]('icon'),'sortable':!0x0,'width':0x41,'record':{'align':_0x354b87(0x1d9),'editable':!0x0,'mandatory':!0x0}},{'type':_0x354b87(0x1b6),'name':'menu','header':TermsUtil[_0x354b87(0x1c7)]('routing'),'sortable':!0x1,'width':0x64,'record':{'align':_0x354b87(0x1c1),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x354b87(0x1ca),'header':TermsUtil[_0x354b87(0x1c7)]('tag'),'sortable':!0x1,'width':0x96,'record':{'align':_0x354b87(0x1c1),'editable':!0x0,'mandatory':!0x0}},{'type':_0x354b87(0x1b6),'name':_0x354b87(0x1d8),'header':TermsUtil[_0x354b87(0x1c7)](_0x354b87(0x1d7)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x354b87(0x1c1),'editable':!0x0,'mandatory':!0x0}},{'type':_0x354b87(0x1b6),'name':_0x354b87(0x1bf),'header':TermsUtil[_0x354b87(0x1c7)](_0x354b87(0x1c8)),'sortable':!0x1,'width':0x64,'record':{'align':_0x354b87(0x1c1),'editable':!0x0,'mandatory':!0x0}},{'type':_0x354b87(0x1b6),'name':_0x354b87(0x1c5),'header':TermsUtil[_0x354b87(0x1c7)]('params'),'sortable':!0x1,'width':0x64,'record':{'align':_0x354b87(0x1c1),'editable':!0x0,'mandatory':!0x0}}]};}};