@things-factory/operato-tools 6.0.1 → 6.0.4

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_0x19effe=a0_0xb707;(function(_0x2fedfa,_0x443f82){const _0x3e826c=a0_0xb707,_0x18ad0e=_0x2fedfa();while(!![]){try{const _0x52db40=parseInt(_0x3e826c(0x12b))/0x1+parseInt(_0x3e826c(0x14b))/0x2+parseInt(_0x3e826c(0x124))/0x3+parseInt(_0x3e826c(0x12d))/0x4+-parseInt(_0x3e826c(0x11e))/0x5+parseInt(_0x3e826c(0x155))/0x6+-parseInt(_0x3e826c(0x126))/0x7*(parseInt(_0x3e826c(0x125))/0x8);if(_0x52db40===_0x443f82)break;else _0x18ad0e['push'](_0x18ad0e['shift']());}catch(_0x1a1c03){_0x18ad0e['push'](_0x18ad0e['shift']());}}}(a0_0x470b,0x4b52d));function a0_0xb707(_0x2ef0c7,_0x27d6fd){const _0x470b14=a0_0x470b();return a0_0xb707=function(_0xb70785,_0x51a131){_0xb70785=_0xb70785-0x118;let _0x2c77e6=_0x470b14[_0xb70785];return _0x2c77e6;},a0_0xb707(_0x2ef0c7,_0x27d6fd);}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=_0x1b60f6=>class extends _0x1b60f6{[a0_0x19effe(0x118)](_0x7b051b){const _0x2c0547=a0_0x19effe;if(_0x7b051b){var {mobile_mode:_0x322c38='',desk_mode:_0x2ed2e5='',pages:_0x2dc030=[],use_row_checker:_0x1eeeda=!0x0,view_mode:_0x3e4758=[],use_filter_form:_0x2d6686=!0x0}=_0x7b051b['option']||{};let _0x1d84b2=(_0x7b051b['row']||{'multiple_select':!0x1})[_0x2c0547(0x13d)],_0x50e6b7='unlimited'==_0x2dc030?'grid_term_unlimited':0x0==_0x2dc030[_0x2c0547(0x14c)]?'':0x14==_0x2dc030[0x0]?_0x2c0547(0x136):_0x2c0547(0x148)+_0x2dc030[0x0];this[_0x2c0547(0x151)]={'mobile_mode':_0x322c38,'desk_mode':_0x2ed2e5,'use_row_checker':_0x1eeeda,'pages':_0x50e6b7,'view_mode':_0x3e4758,'multiple_select':_0x1d84b2,'use_filter_form':_0x2d6686};}else this[_0x2c0547(0x142)]();}[a0_0x19effe(0x156)](){const _0x3d844=a0_0x19effe;let _0x213002={'grid':{'option':{},'row':{'click':_0x3d844(0x12a)}}},_0x302c58=this[_0x3d844(0x141)](_0x3d844(0x13c)),_0x358ff2=this[_0x3d844(0x141)](_0x3d844(0x138)),_0x4c1c20=this[_0x3d844(0x141)]('grid_desk_view'),_0x359ab0=this[_0x3d844(0x141)](_0x3d844(0x13f)),_0x3204cc=this['getElementValueById']('grid_use_filter'),_0x493dc0=this['getElementValueById'](_0x3d844(0x122)),_0x474a7a=this['getElementValueById'](_0x3d844(0x139)),_0x45e5f8=this['getElementValueById'](_0x3d844(0x11f)),_0x108ef8=this[_0x3d844(0x141)]('card_view_use');return _0x213002[_0x3d844(0x14a)][_0x3d844(0x120)]=_0x3d844(0x153)==_0x3204cc,_0x213002[_0x3d844(0x14a)][_0x3d844(0x144)][_0x3d844(0x13d)]=_0x3d844(0x153)==_0x358ff2,_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)][_0x3d844(0x11d)]=_0x3d844(0x153)==_0x302c58,_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)][_0x3d844(0x143)]=_0x359ab0,_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)]['desk_mode']=_0x4c1c20,'grid_term_default'==_0x493dc0?_0x213002['grid'][_0x3d844(0x119)][_0x3d844(0x140)]=[0x14,0x1e,0x32,0x64]:_0x3d844(0x157)==_0x493dc0?_0x213002['grid'][_0x3d844(0x119)][_0x3d844(0x140)]=[0x32,0x64,0x1f4,0x3e8]:_0x3d844(0x12e)==_0x493dc0?_0x213002['grid'][_0x3d844(0x119)]['pages']=[0x64,0x1f4,0x3e8,0x1388]:_0x3d844(0x129)==_0x493dc0?_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)][_0x3d844(0x140)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x3d844(0x154)==_0x493dc0&&(_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)][_0x3d844(0x140)]='unlimited'),_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)][_0x3d844(0x132)]=[],_0x3d844(0x153)==_0x474a7a&&_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)][_0x3d844(0x132)][_0x3d844(0x150)]('GRID'),'true'==_0x45e5f8&&_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)]['view_mode'][_0x3d844(0x150)](_0x3d844(0x14e)),_0x3d844(0x153)==_0x108ef8&&_0x213002[_0x3d844(0x14a)][_0x3d844(0x119)][_0x3d844(0x132)][_0x3d844(0x150)](_0x3d844(0x133)),_0x213002;}async[a0_0x19effe(0x11c)](){const _0x2d5666=a0_0x19effe;let _0x44dd70=await MetaApi[_0x2d5666(0x135)](_0x2d5666(0x127)),_0x321ab2=await MetaApi[_0x2d5666(0x135)](_0x2d5666(0x130));this[_0x2d5666(0x11b)]=_0x321ab2,this[_0x2d5666(0x145)]=_0x44dd70;}[a0_0x19effe(0x142)](){const _0x5f14d2=a0_0x19effe;this[_0x5f14d2(0x151)]||(this[_0x5f14d2(0x151)]={'mobile_mode':this[_0x5f14d2(0x11b)]?this['gridViewModes'][0x1]:'LIST','desk_mode':this[_0x5f14d2(0x11b)]?this[_0x5f14d2(0x11b)][0x0]:_0x5f14d2(0x134),'use_row_checker':!0x0,'pages':'grid_term_default','view_mode':[...this[_0x5f14d2(0x11b)]?this['gridViewModes']:[_0x5f14d2(0x134),_0x5f14d2(0x14e),_0x5f14d2(0x133)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x19effe(0x14d)](){const _0x102f07=a0_0x19effe;return this[_0x102f07(0x142)](),html`
1
+ const a0_0x192ec1=a0_0x4a66;(function(_0xbfe0a9,_0x5d1f2a){const _0x5404f5=a0_0x4a66,_0x30cf9d=_0xbfe0a9();while(!![]){try{const _0x227bb3=parseInt(_0x5404f5(0x108))/0x1+-parseInt(_0x5404f5(0x107))/0x2+parseInt(_0x5404f5(0xf8))/0x3+-parseInt(_0x5404f5(0x111))/0x4*(-parseInt(_0x5404f5(0xfc))/0x5)+parseInt(_0x5404f5(0xdf))/0x6+-parseInt(_0x5404f5(0xf2))/0x7*(parseInt(_0x5404f5(0xf3))/0x8)+-parseInt(_0x5404f5(0x113))/0x9;if(_0x227bb3===_0x5d1f2a)break;else _0x30cf9d['push'](_0x30cf9d['shift']());}catch(_0x1136bf){_0x30cf9d['push'](_0x30cf9d['shift']());}}}(a0_0x3576,0xacbcb));import{html}from'lit-element';function a0_0x4a66(_0x2a905c,_0x188628){const _0x3576b5=a0_0x3576();return a0_0x4a66=function(_0x4a6615,_0x202864){_0x4a6615=_0x4a6615-0xd6;let _0x2dc691=_0x3576b5[_0x4a6615];return _0x2dc691;},a0_0x4a66(_0x2a905c,_0x188628);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x3576(){const _0x4c4bfa=['1372574ELEYnD','40BjrlRM','tLabel','option','setGridConfigTabValues','length','584814wJvJoC','row','grid_term_default','name','3785DoXysA','GRID','use_row_checker','getGridConfigTabValues','grid_use_row_check','getElementValueById','unlimited','grid_view_use','true','card_view_use','desk_mode','816828LglvSL','770123qCdNvL','grid_use_filter','gridViewModes','viewGridData','mobile_mode','push','grid_row_check_use','grid_mobile_view','gridPageOptions','7428xQFLgF','pages','9618714OFgOWM','support','map','grid_term_','unsupport','grid','GRID_PAGE_OPTIONS','multiple_select','renderGridConfigTab','use','4765746QUNcGu','codeItems','includes','grid_pagination','view_mode','description','use_filter_form','grid_multi_select','select-row-toggle','setGridConfigTabDetaultValues','GRID_VIEW_MODE','grid_desk_view','toLowerCase','LIST','setGridConfigTabConfig','grid_support_multi_select','grid_term_unlimited','_view_use','grid_support_view'];a0_0x3576=function(){return _0x4c4bfa;};return a0_0x3576();}export const GridConfigTabMixin=_0x18771d=>class extends _0x18771d{[a0_0x192ec1(0xf6)](_0x234532){const _0x203522=a0_0x192ec1;if(_0x234532){var {mobile_mode:_0xe5d413='',desk_mode:_0xb7c0af='',pages:_0x268251=[],use_row_checker:_0x4d9ddc=!0x0,view_mode:_0x5713dc=[],use_filter_form:_0x92188c=!0x0}=_0x234532[_0x203522(0xf5)]||{};let _0xcbb7fe=(_0x234532[_0x203522(0xf9)]||{'multiple_select':!0x1})['multiple_select'],_0x52a709=_0x203522(0x102)==_0x268251?_0x203522(0xef):0x0==_0x268251[_0x203522(0xf7)]?'':0x14==_0x268251[0x0]?_0x203522(0xfa):_0x203522(0xd8)+_0x268251[0x0];this[_0x203522(0x10b)]={'mobile_mode':_0xe5d413,'desk_mode':_0xb7c0af,'use_row_checker':_0x4d9ddc,'pages':_0x52a709,'view_mode':_0x5713dc,'multiple_select':_0xcbb7fe,'use_filter_form':_0x92188c};}else this[_0x203522(0xe8)]();}[a0_0x192ec1(0xff)](){const _0x5d514=a0_0x192ec1;let _0xa899a7={'grid':{'option':{},'row':{'click':_0x5d514(0xe7)}}},_0x2cd40a=this['getElementValueById'](_0x5d514(0x10e)),_0x1200e2=this[_0x5d514(0x101)](_0x5d514(0xe6)),_0xdc3136=this[_0x5d514(0x101)]('grid_desk_view'),_0x2280a7=this['getElementValueById'](_0x5d514(0x10f)),_0x2cbfb8=this[_0x5d514(0x101)](_0x5d514(0x109)),_0x48800a=this[_0x5d514(0x101)]('grid_pagination'),_0x14ba02=this[_0x5d514(0x101)](_0x5d514(0x103)),_0xc052fc=this[_0x5d514(0x101)]('list_view_use'),_0x4c31a0=this[_0x5d514(0x101)](_0x5d514(0x105));return _0xa899a7[_0x5d514(0xda)][_0x5d514(0xe5)]='true'==_0x2cbfb8,_0xa899a7['grid'][_0x5d514(0xf9)][_0x5d514(0xdc)]=_0x5d514(0x104)==_0x1200e2,_0xa899a7['grid'][_0x5d514(0xf5)]['use_row_checker']='true'==_0x2cd40a,_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)][_0x5d514(0x10c)]=_0x2280a7,_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)][_0x5d514(0x106)]=_0xdc3136,'grid_term_default'==_0x48800a?_0xa899a7['grid'][_0x5d514(0xf5)]['pages']=[0x14,0x1e,0x32,0x64]:'grid_term_50'==_0x48800a?_0xa899a7[_0x5d514(0xda)]['option'][_0x5d514(0x112)]=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0x48800a?_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)]['pages']=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0x48800a?_0xa899a7['grid'][_0x5d514(0xf5)][_0x5d514(0x112)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x5d514(0xef)==_0x48800a&&(_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)][_0x5d514(0x112)]=_0x5d514(0x102)),_0xa899a7['grid'][_0x5d514(0xf5)][_0x5d514(0xe3)]=[],_0x5d514(0x104)==_0x14ba02&&_0xa899a7[_0x5d514(0xda)]['option'][_0x5d514(0xe3)][_0x5d514(0x10d)](_0x5d514(0xfd)),_0x5d514(0x104)==_0xc052fc&&_0xa899a7['grid'][_0x5d514(0xf5)][_0x5d514(0xe3)][_0x5d514(0x10d)]('LIST'),_0x5d514(0x104)==_0x4c31a0&&_0xa899a7[_0x5d514(0xda)]['option'][_0x5d514(0xe3)][_0x5d514(0x10d)]('CARD'),_0xa899a7;}async[a0_0x192ec1(0xed)](){const _0x139385=a0_0x192ec1;let _0x51ff31=await MetaApi[_0x139385(0xe0)](_0x139385(0xdb)),_0x417767=await MetaApi[_0x139385(0xe0)](_0x139385(0xe9));this['gridViewModes']=_0x417767,this[_0x139385(0x110)]=_0x51ff31;}[a0_0x192ec1(0xe8)](){const _0x167ebe=a0_0x192ec1;this[_0x167ebe(0x10b)]||(this[_0x167ebe(0x10b)]={'mobile_mode':this[_0x167ebe(0x10a)]?this[_0x167ebe(0x10a)][0x1]:_0x167ebe(0xec),'desk_mode':this[_0x167ebe(0x10a)]?this['gridViewModes'][0x0]:_0x167ebe(0xfd),'use_row_checker':!0x0,'pages':_0x167ebe(0xfa),'view_mode':[...this[_0x167ebe(0x10a)]?this['gridViewModes']:[_0x167ebe(0xfd),_0x167ebe(0xec),'CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x192ec1(0xdd)](){const _0x4e2b3e=a0_0x192ec1;return this[_0x4e2b3e(0xe8)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x102f07(0x13e)](_0x102f07(0x14f))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0x100))}
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[_0x102f07(0x151)]['use_row_checker']}>${TermsUtil['tLabel'](_0x102f07(0x121))}</input>
10
+ ?checked=${this['viewGridData']['use_row_checker']}>${TermsUtil[_0x4e2b3e(0xf4)]('use')}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this[_0x102f07(0x151)]['use_row_checker']}>${TermsUtil[_0x102f07(0x13e)]('unuse')}</input>
12
+ ?checked=${!this['viewGridData'][_0x4e2b3e(0xfe)]}>${TermsUtil[_0x4e2b3e(0xf4)]('unuse')}</input>
13
13
  </span>
14
14
  </label>
15
15
  </div>
16
16
  <div field>
17
17
  <h2>
18
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x102f07(0x13e)](_0x102f07(0x152))}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xee))}
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[_0x102f07(0x151)]['multiple_select']}>${TermsUtil['tLabel'](_0x102f07(0x13b))}</input>
23
+ ?checked=${this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xdc)]}>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xd6))}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this[_0x102f07(0x151)][_0x102f07(0x13d)]}>${TermsUtil['tLabel'](_0x102f07(0x131))}</input>
25
+ ?checked=${!this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xdc)]}>${TermsUtil['tLabel'](_0x4e2b3e(0xd9))}</input>
26
26
  </span>
27
27
  </label>
28
28
  </div>
29
29
  <div field>
30
30
  <h2>
31
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x102f07(0x11a))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0x109))}
32
32
  </h2>
33
33
  <label>
34
34
  <span>
35
35
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="true"
36
- ?checked=${this['viewGridData'][_0x102f07(0x120)]}>${TermsUtil[_0x102f07(0x13e)](_0x102f07(0x121))}</input>
36
+ ?checked=${this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xe5)]}>${TermsUtil['tLabel'](_0x4e2b3e(0xde))}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this[_0x102f07(0x151)]['use_filter_form']}>${TermsUtil['tLabel'](_0x102f07(0x147))}</input>
38
+ ?checked=${!this['viewGridData'][_0x4e2b3e(0xe5)]}>${TermsUtil[_0x4e2b3e(0xf4)]('unuse')}</input>
39
39
  </span>
40
40
  </label>
41
41
  </div>
42
42
  <div></div>
43
43
  <div field>
44
44
  <h2>
45
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x102f07(0x13a))}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xea))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this[_0x102f07(0x11b)]?.[_0x102f07(0x128)](_0x588f80=>html`<option value=${_0x588f80[_0x102f07(0x123)]} ?selected=${this[_0x102f07(0x151)]['desk_mode']==_0x588f80[_0x102f07(0x123)]}>${_0x588f80[_0x102f07(0x12f)]}</option>`)}
49
+ ${this[_0x4e2b3e(0x10a)]?.['map'](_0x473200=>html`<option value=${_0x473200[_0x4e2b3e(0xfb)]} ?selected=${this[_0x4e2b3e(0x10b)]['desk_mode']==_0x473200[_0x4e2b3e(0xfb)]}>${_0x473200['description']}</option>`)}
50
50
  </select>
51
51
  </label>
52
52
  </div>
53
53
  <div field>
54
54
  <h2>
55
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x102f07(0x13e)](_0x102f07(0x13f))}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x4e2b3e(0x10f))}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this[_0x102f07(0x11b)]?.[_0x102f07(0x128)](_0x5959c2=>html`<option value=${_0x5959c2[_0x102f07(0x123)]} ?selected=${this[_0x102f07(0x151)]['mobile_mode']==_0x5959c2[_0x102f07(0x123)]}>${_0x5959c2[_0x102f07(0x12f)]}</option>`)}
59
+ ${this[_0x4e2b3e(0x10a)]?.[_0x4e2b3e(0xd7)](_0x3101ad=>html`<option value=${_0x3101ad[_0x4e2b3e(0xfb)]} ?selected=${this[_0x4e2b3e(0x10b)][_0x4e2b3e(0x10c)]==_0x3101ad[_0x4e2b3e(0xfb)]}>${_0x3101ad[_0x4e2b3e(0xe4)]}</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[_0x102f07(0x13e)](_0x102f07(0x137))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xf1))}
66
66
  </h2>
67
67
  <label>
68
- ${this[_0x102f07(0x11b)]?.[_0x102f07(0x128)](_0x238e30=>html`
69
- <span>${_0x238e30[_0x102f07(0x123)]}
70
- <input type="radio" name=${_0x238e30['name'][_0x102f07(0x146)]()+_0x102f07(0x12c)} id=${_0x238e30['name'][_0x102f07(0x146)]()+_0x102f07(0x12c)} ?checked=${this[_0x102f07(0x151)][_0x102f07(0x132)]['includes'](_0x238e30[_0x102f07(0x123)])} value="true">${TermsUtil[_0x102f07(0x13e)]('use')}</input>
71
- <input type="radio" name=${_0x238e30['name']['toLowerCase']()+'_view_use'} id=${_0x238e30[_0x102f07(0x123)][_0x102f07(0x146)]()+_0x102f07(0x12c)} ?checked=${!this[_0x102f07(0x151)]['view_mode'][_0x102f07(0x149)](_0x238e30[_0x102f07(0x123)])} value="false">${TermsUtil[_0x102f07(0x13e)](_0x102f07(0x147))}</input>
68
+ ${this[_0x4e2b3e(0x10a)]?.['map'](_0x4e2096=>html`
69
+ <span>${_0x4e2096[_0x4e2b3e(0xfb)]}
70
+ <input type="radio" name=${_0x4e2096[_0x4e2b3e(0xfb)][_0x4e2b3e(0xeb)]()+_0x4e2b3e(0xf0)} id=${_0x4e2096[_0x4e2b3e(0xfb)][_0x4e2b3e(0xeb)]()+_0x4e2b3e(0xf0)} ?checked=${this['viewGridData'][_0x4e2b3e(0xe3)][_0x4e2b3e(0xe1)](_0x4e2096[_0x4e2b3e(0xfb)])} value="true">${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xde))}</input>
71
+ <input type="radio" name=${_0x4e2096[_0x4e2b3e(0xfb)][_0x4e2b3e(0xeb)]()+'_view_use'} id=${_0x4e2096['name'][_0x4e2b3e(0xeb)]()+_0x4e2b3e(0xf0)} ?checked=${!this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xe3)][_0x4e2b3e(0xe1)](_0x4e2096[_0x4e2b3e(0xfb)])} value="false">${TermsUtil['tLabel']('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[_0x102f07(0x13e)](_0x102f07(0x122))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xe2))}
79
79
  </h2>
80
80
  <label>
81
- ${this['gridPageOptions']?.[_0x102f07(0x128)](_0x1ae1d8=>html`
81
+ ${this[_0x4e2b3e(0x110)]?.[_0x4e2b3e(0xd7)](_0x1a34d3=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x1ae1d8[_0x102f07(0x123)]} ?checked=${this[_0x102f07(0x151)][_0x102f07(0x140)]==_0x1ae1d8[_0x102f07(0x123)]}>${TermsUtil[_0x102f07(0x13e)](_0x1ae1d8[_0x102f07(0x123)])}</input>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x1a34d3[_0x4e2b3e(0xfb)]} ?checked=${this['viewGridData'][_0x4e2b3e(0x112)]==_0x1a34d3[_0x4e2b3e(0xfb)]}>${TermsUtil[_0x4e2b3e(0xf4)](_0x1a34d3['name'])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -88,4 +88,4 @@ const a0_0x19effe=a0_0xb707;(function(_0x2fedfa,_0x443f82){const _0x3e826c=a0_0x
88
88
  </div>
89
89
  </div>
90
90
 
91
- `;}};function a0_0x470b(){const _0x227d3c=['GRID_PAGE_OPTIONS','map','grid_term_1000','select-row-toggle','186607xcIrqT','_view_use','243708Feiave','grid_term_100','description','GRID_VIEW_MODE','unsupport','view_mode','CARD','GRID','codeItems','grid_term_default','grid_support_view','grid_multi_select','grid_view_use','grid_desk_view','support','grid_row_check_use','multiple_select','tLabel','grid_mobile_view','pages','getElementValueById','setGridConfigTabDetaultValues','mobile_mode','row','gridPageOptions','toLowerCase','unuse','grid_term_','includes','grid','580426oowZzo','length','renderGridConfigTab','LIST','grid_use_row_check','push','viewGridData','grid_support_multi_select','true','grid_term_unlimited','1986258wGFvFP','getGridConfigTabValues','grid_term_50','setGridConfigTabValues','option','grid_use_filter','gridViewModes','setGridConfigTabConfig','use_row_checker','1037255ZklxGZ','list_view_use','use_filter_form','use','grid_pagination','name','916335bCoiGq','15176gYejsS','2429ZAjeGy'];a0_0x470b=function(){return _0x227d3c;};return a0_0x470b();}
91
+ `;}};
@@ -1,30 +1,30 @@
1
- const a0_0xf6d91d=a0_0x303b;(function(_0x3223f0,_0x30ac02){const _0x5b7963=a0_0x303b,_0x8b4d64=_0x3223f0();while(!![]){try{const _0x38fbbb=-parseInt(_0x5b7963(0x94))/0x1+parseInt(_0x5b7963(0x7f))/0x2+-parseInt(_0x5b7963(0x79))/0x3+parseInt(_0x5b7963(0x7c))/0x4+parseInt(_0x5b7963(0x7a))/0x5*(parseInt(_0x5b7963(0x91))/0x6)+-parseInt(_0x5b7963(0x8c))/0x7*(-parseInt(_0x5b7963(0x93))/0x8)+-parseInt(_0x5b7963(0x83))/0x9*(-parseInt(_0x5b7963(0x7b))/0xa);if(_0x38fbbb===_0x30ac02)break;else _0x8b4d64['push'](_0x8b4d64['shift']());}catch(_0xb1b5a1){_0x8b4d64['push'](_0x8b4d64['shift']());}}}(a0_0x3042,0x514b7));function a0_0x3042(){const _0x2b2f40=['640irRDYu','32632JuuRVH','menu_title','value','224056kufYKz','getElementValueById','title','desc','50724wAhYtQ','help','setMenuConfigTabDefaultValue','viewMenuData','name','help_doc','display','menu','getElementById','17213jXttiV','menu_name_field','setMenuConfigTabValues','menuTitleChange','tLabel','6sKkCgp','menu_desc_field','1016ZjQLjt','309883QUDvvX','renderMenuConfigTab','getMenuConfigTabValues','1172532fkgsYF','1202635aGeRVG'];a0_0x3042=function(){return _0x2b2f40;};return a0_0x3042();}import{html}from'lit-element';function a0_0x303b(_0x56e500,_0x1b462a){const _0x3042b5=a0_0x3042();return a0_0x303b=function(_0x303b62,_0x2a2cc4){_0x303b62=_0x303b62-0x77;let _0x55cdc1=_0x3042b5[_0x303b62];return _0x55cdc1;},a0_0x303b(_0x56e500,_0x1b462a);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x36317f=>class extends _0x36317f{[a0_0xf6d91d(0x8e)](_0x169370){const _0x1a0635=a0_0xf6d91d;if(_0x169370){var {title:_0x1c094d='',name:_0x55fbf0='',desc:_0x3de752='',help:_0x5ed174=''}=_0x169370||{};this['viewMenuData']={'title':_0x1c094d,'name':_0x55fbf0,'desc':_0x3de752,'help_doc':_0x5ed174},this['getElementById'](_0x1a0635(0x81))['value']=_0x1c094d,this[_0x1a0635(0x8b)](_0x1a0635(0x87))[_0x1a0635(0x7e)]=_0x55fbf0,this[_0x1a0635(0x8b)](_0x1a0635(0x82))[_0x1a0635(0x7e)]=_0x3de752,this[_0x1a0635(0x8b)]('help_doc')[_0x1a0635(0x7e)]=_0x5ed174;}else this[_0x1a0635(0x85)]();}[a0_0xf6d91d(0x78)](){const _0x39275e=a0_0xf6d91d;let _0x495224={'menu':{}},_0x45dc94=this[_0x39275e(0x80)]('title'),_0x2da762=this[_0x39275e(0x80)](_0x39275e(0x87)),_0xd8e02c=this[_0x39275e(0x80)]('desc'),_0xaafe3d=this[_0x39275e(0x80)](_0x39275e(0x88));return _0x45dc94&&(_0x495224[_0x39275e(0x8a)][_0x39275e(0x81)]=_0x45dc94),_0x2da762&&(_0x495224['menu'][_0x39275e(0x87)]=_0x2da762),_0xd8e02c&&(_0x495224[_0x39275e(0x8a)][_0x39275e(0x82)]=_0xd8e02c),_0xaafe3d&&(_0x495224[_0x39275e(0x8a)][_0x39275e(0x84)]=_0xaafe3d),_0x495224;}[a0_0xf6d91d(0x85)](){const _0x41164a=a0_0xf6d91d;this['viewMenuData']||(this[_0x41164a(0x86)]={'title':'','name':_0x41164a(0x87),'desc':'description','help_doc':''});}[a0_0xf6d91d(0x8f)](_0x30c3ea){const _0x4e4b9e=a0_0xf6d91d;let _0x2bba57=this[_0x4e4b9e(0x8b)](_0x4e4b9e(0x89));_0x2bba57&&(_0x2bba57[_0x4e4b9e(0x7e)]=TermsUtil['tTitle'](_0x30c3ea['target'][_0x4e4b9e(0x7e)]));}[a0_0xf6d91d(0x77)](){const _0x317786=a0_0xf6d91d;return this['setMenuConfigTabDefaultValue'](),html`
1
+ const a0_0x57c02d=a0_0x127d;(function(_0x1aa289,_0x576259){const _0x1c43d3=a0_0x127d,_0x4de569=_0x1aa289();while(!![]){try{const _0x3d5d90=parseInt(_0x1c43d3(0xa5))/0x1+-parseInt(_0x1c43d3(0x8c))/0x2+parseInt(_0x1c43d3(0x9e))/0x3+parseInt(_0x1c43d3(0xa7))/0x4+parseInt(_0x1c43d3(0xaa))/0x5+-parseInt(_0x1c43d3(0x92))/0x6*(parseInt(_0x1c43d3(0xa2))/0x7)+parseInt(_0x1c43d3(0x96))/0x8*(-parseInt(_0x1c43d3(0xa4))/0x9);if(_0x3d5d90===_0x576259)break;else _0x4de569['push'](_0x4de569['shift']());}catch(_0x698638){_0x4de569['push'](_0x4de569['shift']());}}}(a0_0x2bed,0xd1f49));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x3672ac=>class extends _0x3672ac{[a0_0x57c02d(0x90)](_0x272f58){const _0x3b9d4b=a0_0x57c02d;if(_0x272f58){var {title:_0x5256c4='',name:_0x384d6c='',desc:_0x20be8c='',help:_0x208cd7=''}=_0x272f58||{};this[_0x3b9d4b(0x99)]={'title':_0x5256c4,'name':_0x384d6c,'desc':_0x20be8c,'help_doc':_0x208cd7},this[_0x3b9d4b(0xa6)](_0x3b9d4b(0x8d))[_0x3b9d4b(0x8e)]=_0x5256c4,this['getElementById'](_0x3b9d4b(0x97))[_0x3b9d4b(0x8e)]=_0x384d6c,this[_0x3b9d4b(0xa6)](_0x3b9d4b(0xa1))[_0x3b9d4b(0x8e)]=_0x20be8c,this[_0x3b9d4b(0xa6)](_0x3b9d4b(0x95))[_0x3b9d4b(0x8e)]=_0x208cd7;}else this[_0x3b9d4b(0x9f)]();}[a0_0x57c02d(0x9b)](){const _0xf36c8e=a0_0x57c02d;let _0x14fe19={'menu':{}},_0x5eb6d5=this[_0xf36c8e(0x9a)](_0xf36c8e(0x8d)),_0xbe992=this[_0xf36c8e(0x9a)](_0xf36c8e(0x97)),_0x1eb660=this[_0xf36c8e(0x9a)](_0xf36c8e(0xa1)),_0x2e6ad9=this[_0xf36c8e(0x9a)](_0xf36c8e(0x95));return _0x5eb6d5&&(_0x14fe19[_0xf36c8e(0x8f)][_0xf36c8e(0x8d)]=_0x5eb6d5),_0xbe992&&(_0x14fe19[_0xf36c8e(0x8f)]['name']=_0xbe992),_0x1eb660&&(_0x14fe19['menu'][_0xf36c8e(0xa1)]=_0x1eb660),_0x2e6ad9&&(_0x14fe19[_0xf36c8e(0x8f)][_0xf36c8e(0x9d)]=_0x2e6ad9),_0x14fe19;}[a0_0x57c02d(0x9f)](){const _0x361b63=a0_0x57c02d;this[_0x361b63(0x99)]||(this[_0x361b63(0x99)]={'title':'','name':_0x361b63(0x97),'desc':_0x361b63(0xa9),'help_doc':''});}[a0_0x57c02d(0x94)](_0x5ba1b2){const _0x1b3855=a0_0x57c02d;let _0x5d3653=this[_0x1b3855(0xa6)]('display');_0x5d3653&&(_0x5d3653[_0x1b3855(0x8e)]=TermsUtil[_0x1b3855(0x93)](_0x5ba1b2[_0x1b3855(0x9c)][_0x1b3855(0x8e)]));}[a0_0x57c02d(0xa3)](){const _0xb4af32=a0_0x57c02d;return this[_0xb4af32(0x9f)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil['tLabel'](_0x317786(0x7d))}
5
- <input id="title" name="title" type="text" value=${this['viewMenuData']['title']} @change=${_0xda95a8=>this[_0x317786(0x8f)](_0xda95a8)}/>
4
+ <label>${TermsUtil['tLabel']('menu_title')}
5
+ <input id="title" name="title" type="text" value=${this[_0xb4af32(0x99)]['title']} @change=${_0x454cb7=>this['menuTitleChange'](_0x454cb7)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil[_0x317786(0x90)](_0x317786(0x89))}
10
- <input id="display" name="display" value=${TermsUtil['tTitle'](this[_0x317786(0x86)][_0x317786(0x81)])} type="text" readonly
9
+ <label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0x98))}
10
+ <input id="display" name="display" value=${TermsUtil[_0xb4af32(0x93)](this[_0xb4af32(0x99)][_0xb4af32(0x8d)])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x317786(0x90)](_0x317786(0x8d))}
16
- <input id="name" name="name" type="text" value=${this[_0x317786(0x86)][_0x317786(0x87)]} />
15
+ <label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0x91))}
16
+ <input id="name" name="name" type="text" value=${this['viewMenuData'][_0xb4af32(0x97)]} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil[_0x317786(0x90)](_0x317786(0x92))}
21
- <input id="desc" name="desc" type="text" value=${this['viewMenuData'][_0x317786(0x82)]} />
20
+ <label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0xa0))}
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[_0x317786(0x90)](_0x317786(0x88))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x317786(0x86)][_0x317786(0x88)]} />
25
+ <label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0x95))}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0xb4af32(0x99)][_0xb4af32(0x95)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
30
- `;}};
30
+ `;}};function a0_0x127d(_0x40dedf,_0x3fc19e){const _0x2bed19=a0_0x2bed();return a0_0x127d=function(_0x127df9,_0x38ff8a){_0x127df9=_0x127df9-0x8c;let _0x1f63bd=_0x2bed19[_0x127df9];return _0x1f63bd;},a0_0x127d(_0x40dedf,_0x3fc19e);}function a0_0x2bed(){const _0x1dc025=['836946oezsBN','938354AdvHUs','getElementById','4292300uxnMIJ','tLabel','description','4203065FcVTZu','1739208ePhRKC','title','value','menu','setMenuConfigTabValues','menu_name_field','1008ZqxftX','tTitle','menuTitleChange','help_doc','200uCPoOK','name','display','viewMenuData','getElementValueById','getMenuConfigTabValues','target','help','5109591TfxfLd','setMenuConfigTabDefaultValue','menu_desc_field','desc','20867nKeIol','renderMenuConfigTab'];a0_0x2bed=function(){return _0x1dc025;};return a0_0x2bed();}
@@ -1,4 +1,4 @@
1
- const a0_0xf7c73c=a0_0x503a;(function(_0x393517,_0x549b13){const _0x42f2de=a0_0x503a,_0x3778b3=_0x393517();while(!![]){try{const _0x46296e=-parseInt(_0x42f2de(0x1a2))/0x1*(parseInt(_0x42f2de(0x19e))/0x2)+parseInt(_0x42f2de(0x195))/0x3+parseInt(_0x42f2de(0x1ad))/0x4*(parseInt(_0x42f2de(0x1d9))/0x5)+-parseInt(_0x42f2de(0x1da))/0x6+parseInt(_0x42f2de(0x1d3))/0x7*(parseInt(_0x42f2de(0x1de))/0x8)+-parseInt(_0x42f2de(0x181))/0x9*(-parseInt(_0x42f2de(0x1a7))/0xa)+parseInt(_0x42f2de(0x1c0))/0xb;if(_0x46296e===_0x549b13)break;else _0x3778b3['push'](_0x3778b3['shift']());}catch(_0x21c313){_0x3778b3['push'](_0x3778b3['shift']());}}}(a0_0x2288,0x39ce4));import a0_0x632f96 from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x2288(){const _0x4d7cb7=['tab','style','stringify','search_config','tagName','backToMenu','render','ConfigTabValues','dispatchEvent','meta_generator','records','grid_config','pageInitialized','updateMultiple','keys','params','tButton','1889393hqLjaA','column','menu_config','errors','setTabData','radio','form','form_config','initData','template','rep_field','icon','thumbnail_field','menuName','includes','clear','details','getElementById','sort_rank','195307nVebXd','menu','length','findOne','query','error.invalid\x20license\x20key','135lTDOHu','987786HYaigx','menuId','\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','error','8FsIHjg','notify','ConfigTab','dec','back','studioPermission','sortRecordByRank','value','tLabel','button_config','etc','lifecycle','sort','metaTemplate','data','convertFirstCharUpperCase','parse','dirtyData','grid','get','13446tMYnac','getState','ox-grist','sorters','refresh','fields','properties','shadowRoot','desc','tMenu','option','tab_config','getConfigTab','bind','set','display:none','push','querySelector','dataStorage','filter','915741mIQImV','map','list','sortRecordByField','getElementValueById',':checked','thumbnail','toLowerCase','name','1654ukRagp','rank','pageUpdated','currentTabKey','433dRqHMF','tabData','styles','save','type','990HSytrB','updateMultipleMenu','forEach','graphql','ConfigTabConfig','selectedIndex','15804eoNglf','etc_config'];a0_0x2288=function(){return _0x4d7cb7;};return a0_0x2288();}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(localize(i18next)(PageView)))))))))){static get[a0_0xf7c73c(0x1a4)](){return[css`
1
+ const a0_0x3d78f6=a0_0x34cf;(function(_0x2c9824,_0x1a6ae8){const _0x1fe853=a0_0x34cf,_0x3db675=_0x2c9824();while(!![]){try{const _0x72b469=parseInt(_0x1fe853(0x188))/0x1+parseInt(_0x1fe853(0x17c))/0x2*(parseInt(_0x1fe853(0x171))/0x3)+parseInt(_0x1fe853(0x1a5))/0x4+parseInt(_0x1fe853(0x1a2))/0x5*(parseInt(_0x1fe853(0x19a))/0x6)+parseInt(_0x1fe853(0x1a9))/0x7+parseInt(_0x1fe853(0x1c7))/0x8*(-parseInt(_0x1fe853(0x1d0))/0x9)+-parseInt(_0x1fe853(0x1c4))/0xa;if(_0x72b469===_0x1a6ae8)break;else _0x3db675['push'](_0x3db675['shift']());}catch(_0x297c2a){_0x3db675['push'](_0x3db675['shift']());}}}(a0_0x1960,0x6f010));function a0_0x34cf(_0x4d3861,_0x14efe6){const _0x19602e=a0_0x1960();return a0_0x34cf=function(_0x34cfd8,_0x509bff){_0x34cfd8=_0x34cfd8-0x15e;let _0x2828bb=_0x19602e[_0x34cfd8];return _0x2828bb;},a0_0x34cf(_0x4d3861,_0x14efe6);}import a0_0x22c999 from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';function a0_0x1960(){const _0xa85ddb=['toLowerCase','setTabData','keys','initData','pageUpdated','filter','rep_field','117744JGWryy','getElementById','details','backToMenu','tagName','tButton','records',':checked','190eZEtWO','grid-','bind','1722012NGqwNk','render','getState','display:flex','4437944pBxSrq','tab_config','detail_field','convertFirstCharUpperCase','display:none','updateMultipleMenu','button_config','slice','length','tLabel','tabData','getConfigTab','save','sortRecordByRank','meta-generator-page','list','name','refresh','grid_config','sorters','error.invalid\x20license\x20key','set','button','fields','stringify','form','grid','20233010gHlzBK','thumbnail_field','dispatchEvent','8VFDUcD','meta_generator','rank','properties','ConfigTab','querySelector','sort','menuName','graphql_config','2023047onJRkJ','forEach','ConfigTabValues','context','errors','data','options','etc_config','select','menu','icon','define','ox-grist','graphql','push','includes','shadowRoot','tTitle','menuId','ConfigTabConfig','error','parse','styles','dataStorage','column','21hfuWGD','map','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20','sort_rank','value','desc','clear','option','toUpperCase','template','notify','209014QgXshK','studioPermission','pageInitialized','enc','charAt','getElementValueById','query','radio','back','sortRecordByField','metaTemplate','deleteRow','161000Osfkpl','dirtyData','hidden','params','operatoTools','lifecycle','currentTabKey','type','filters','dec','menu_config'];a0_0x1960=function(){return _0xa85ddb;};return a0_0x1960();}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{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(localize(i18next)(PageView)))))))))){static get[a0_0x3d78f6(0x16e)](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0xf7c73c=a0_0x503a;(function(_0x393517,_0x549b13){const _0x42f2de=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0xf7c73c(0x187)](){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 _0x14bb5f=a0_0xf7c73c;return{'title':TermsUtil['tTitle'](_0x14bb5f(0x1b8)),'actions':[{'title':TermsUtil[_0x14bb5f(0x1bf)]('save'),'action':this[_0x14bb5f(0x1a5)][_0x14bb5f(0x18e)](this),...CommonButtonStyles[_0x14bb5f(0x1a5)]},{'title':TermsUtil[_0x14bb5f(0x1bf)](_0x14bb5f(0x171)),'action':this[_0x14bb5f(0x1b4)]['bind'](this),...CommonButtonStyles[_0x14bb5f(0x171)]},{'title':TermsUtil[_0x14bb5f(0x1bf)](_0x14bb5f(0x185)),'action':this[_0x14bb5f(0x185)]['bind'](this),...CommonButtonStyles[_0x14bb5f(0x185)]}]};}['deleteRow'](_0x1741d6,_0x50a98c){const _0x2d656d=a0_0xf7c73c;let _0x204a84=_0x1741d6[_0x2d656d(0x17e)];_0x204a84[_0x2d656d(0x1b9)]=_0x204a84['records']['filter'](_0x4651de=>_0x4651de['id']!=_0x50a98c['id']),_0x1741d6[_0x2d656d(0x17b)]=_0x204a84;}async['save'](){const _0x5ada9f=a0_0xf7c73c;if(0x0==store[_0x5ada9f(0x182)]()['operatoTools'][_0x5ada9f(0x172)])return void document[_0x5ada9f(0x1b7)](new CustomEvent(_0x5ada9f(0x1df),{'detail':{'level':_0x5ada9f(0x1dd),'message':i18next['t'](_0x5ada9f(0x1d8))}}));if((await client[_0x5ada9f(0x1d7)]({'query':a0_0x632f96`
144
+ `];}static get[a0_0x3d78f6(0x1ca)](){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_0x3d78f6(0x1d3)](){const _0x18f381=a0_0x3d78f6;return{'title':TermsUtil[_0x18f381(0x169)](_0x18f381(0x1c8)),'actions':[{'title':TermsUtil[_0x18f381(0x19f)](_0x18f381(0x1b5)),'action':this[_0x18f381(0x1b5)][_0x18f381(0x1a4)](this),...CommonButtonStyles[_0x18f381(0x1b5)]},{'title':TermsUtil[_0x18f381(0x19f)](_0x18f381(0x184)),'action':this[_0x18f381(0x19d)]['bind'](this),...CommonButtonStyles[_0x18f381(0x184)]},{'title':TermsUtil['tButton'](_0x18f381(0x1ba)),'action':this['refresh'][_0x18f381(0x1a4)](this),...CommonButtonStyles['refresh']}]};}[a0_0x3d78f6(0x187)](_0x479ce2,_0x3f05a2){const _0x543be7=a0_0x3d78f6;let _0x5992cb=_0x479ce2[_0x543be7(0x189)];_0x5992cb[_0x543be7(0x1a0)]=_0x5992cb[_0x543be7(0x1a0)]['filter'](_0x20e87c=>_0x20e87c['id']!=_0x3f05a2['id']),_0x479ce2[_0x543be7(0x1d5)]=_0x5992cb;}async[a0_0x3d78f6(0x1b5)](){const _0x56748a=a0_0x3d78f6;if(0x0==store[_0x56748a(0x1a7)]()[_0x56748a(0x18c)][_0x56748a(0x17d)])return void document[_0x56748a(0x1c6)](new CustomEvent(_0x56748a(0x17b),{'detail':{'level':_0x56748a(0x16c),'message':i18next['t'](_0x56748a(0x1bd))}}));if((await client['query']({'query':a0_0x22c999`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
148
- `,'variables':{'id':this[_0x5ada9f(0x1db)]}}))[_0x5ada9f(0x1c3)])return;let _0x4ba9f5={},_0x5548a3={};Object[_0x5ada9f(0x1bd)](this['tabData'])[_0x5ada9f(0x1a9)](_0x3385fb=>{const _0xd7718f=_0x5ada9f;let _0x22046a=this[_0xd7718f(0x17c)](_0x3385fb);_0x4ba9f5[_0x3385fb]=this[_0xd7718f(0x180)+_0x22046a+'ConfigTabValues'](),_0x5548a3=merge(_0x5548a3,_0x4ba9f5[_0x3385fb]);}),_0x5548a3=JSON[_0x5ada9f(0x1b1)](_0x5548a3),_0x5548a3=MetaCrypto['enc'](_0x5548a3),await MetaApi[_0x5ada9f(0x1bc)](_0x5ada9f(0x1a8),[{'id':this[_0x5ada9f(0x1db)],'template':_0x5548a3,'cuFlag':'M'}])&&await this[_0x5ada9f(0x1c8)]();}[a0_0xf7c73c(0x1cf)](){const _0x3d5630=a0_0xf7c73c;this[_0x3d5630(0x1c4)](),this[_0x3d5630(0x193)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{}},Object[_0x3d5630(0x1bd)](this[_0x3d5630(0x1a3)])[_0x3d5630(0x1a9)](_0x1fb18f=>{const _0x45d41d=_0x3d5630;let _0x2dc49f=this[_0x45d41d(0x17c)](_0x1fb18f);if(this[_0x45d41d(0x18f)+_0x2dc49f+'ConfigTabValues'])return this['set'+_0x2dc49f+_0x45d41d(0x1b6)](this[_0x45d41d(0x193)][_0x1fb18f]);});}async[a0_0xf7c73c(0x185)](){await this['initData']();}[a0_0xf7c73c(0x1b4)](){const _0x4a094e=a0_0xf7c73c;history[_0x4a094e(0x171)]();}async[a0_0xf7c73c(0x1c8)](){const _0x3b52c6=a0_0xf7c73c;var {menuId:_0x5cec33=''}=this[_0x3b52c6(0x178)]?.[_0x3b52c6(0x1be)]?this[_0x3b52c6(0x178)]['params']:{};if(this[_0x3b52c6(0x1db)]=_0x5cec33,!_0x5cec33||''==_0x5cec33)return void this[_0x3b52c6(0x1cf)]();let _0x47a09b=await MetaApi[_0x3b52c6(0x1d6)]('menu',_0x5cec33,_0x3b52c6(0x1dc));if(_0x47a09b){try{JSON[_0x3b52c6(0x17d)](MetaCrypto[_0x3b52c6(0x170)](_0x47a09b[_0x3b52c6(0x1c9)]));}catch(_0x37f610){return;}this[_0x3b52c6(0x1cd)]=TermsUtil[_0x3b52c6(0x18a)](_0x47a09b[_0x3b52c6(0x19d)]),this[_0x3b52c6(0x17a)]=_0x47a09b[_0x3b52c6(0x1c9)]?JSON[_0x3b52c6(0x17d)](MetaCrypto[_0x3b52c6(0x170)](_0x47a09b[_0x3b52c6(0x1c9)])):{};var {menu:_0x44cee0={},gql:_0x7ea159={},button:_0x170dbe=[],grid_column:_0x35ad52=[],grid:_0x2adac7={},search:_0x1fdb23=[],form:_0x3b2299=[],tab:_0x2177eb=[],etc:_0x50116a={}}=this['metaTemplate']?this[_0x3b52c6(0x17a)]:{};this[_0x3b52c6(0x1c4)](),this[_0x3b52c6(0x193)]={},this['dataStorage'][_0x3b52c6(0x1d4)]=_0x44cee0,this['dataStorage'][_0x3b52c6(0x1aa)]=_0x7ea159,this[_0x3b52c6(0x193)][_0x3b52c6(0x17f)]=_0x2adac7,this[_0x3b52c6(0x193)][_0x3b52c6(0x1c6)]=_0x3b2299,this[_0x3b52c6(0x193)][_0x3b52c6(0x1af)]=_0x2177eb,this[_0x3b52c6(0x193)][_0x3b52c6(0x177)]=_0x50116a,(_0x2adac7[_0x3b52c6(0x18b)]?.[_0x3b52c6(0x184)]||[])[_0x3b52c6(0x1a9)]((_0xd6afe6,_0x2c011a)=>{_0xd6afe6['rank']=0xa*(_0x2c011a+0x1);}),this['dataStorage'][_0x3b52c6(0x1c1)]=_0x35ad52[_0x3b52c6(0x196)](_0x5e1b65=>{const _0x32165a=_0x3b52c6;let _0x2327fa=(_0x2adac7[_0x32165a(0x18b)]?.[_0x32165a(0x184)]||[])[_0x32165a(0x194)](_0x4a1b87=>_0x4a1b87[_0x32165a(0x19d)]==_0x5e1b65[_0x32165a(0x19d)]);return _0x2327fa&&_0x2327fa[_0x32165a(0x1d5)]>0x0?(_0x5e1b65[_0x32165a(0x1d2)]=_0x2327fa[0x0][_0x32165a(0x19f)],_0x5e1b65['sort_desc']=!!_0x2327fa[0x0][_0x32165a(0x189)]&&_0x2327fa[0x0][_0x32165a(0x189)]):_0x5e1b65[_0x32165a(0x1d2)]=0x0,_0x5e1b65[_0x32165a(0x1ca)]=(_0x2adac7[_0x32165a(0x197)]?.[_0x32165a(0x186)]||[])['includes'](_0x5e1b65[_0x32165a(0x19d)]),_0x5e1b65['detail_field']=(_0x2adac7[_0x32165a(0x197)]?.[_0x32165a(0x1d0)]||[])[_0x32165a(0x1ce)](_0x5e1b65[_0x32165a(0x19d)]),_0x5e1b65[_0x32165a(0x1cc)]=_0x2adac7[_0x32165a(0x197)]?.[_0x32165a(0x19b)]==_0x5e1b65[_0x32165a(0x19d)],_0x5e1b65;}),_0x1fdb23[_0x3b52c6(0x191)](...(_0x7ea159[_0x3b52c6(0x1d7)]?.['filters']||[])[_0x3b52c6(0x196)](_0x559254=>(_0x559254['hidden']=!0x0,_0x559254))),this['dataStorage']['search']=_0x1fdb23,_0x170dbe['push'](...(_0x2adac7['button']||[])[_0x3b52c6(0x196)](_0x588d66=>(_0x588d66[_0x3b52c6(0x1a6)]='grid-'+_0x588d66[_0x3b52c6(0x1a6)],_0x588d66[_0x3b52c6(0x1b0)]=_0x588d66[_0x3b52c6(0x1cb)],_0x588d66))),this['dataStorage']['button']=_0x170dbe,Object[_0x3b52c6(0x1bd)](this[_0x3b52c6(0x1a3)])[_0x3b52c6(0x1a9)](_0x55f629=>{const _0x45dc62=_0x3b52c6;let _0x5d9a6a=this['convertFirstCharUpperCase'](_0x55f629);if(this[_0x45dc62(0x18f)+_0x5d9a6a+_0x45dc62(0x1b6)])return this[_0x45dc62(0x18f)+_0x5d9a6a+_0x45dc62(0x1b6)](this[_0x45dc62(0x193)][_0x55f629]);});}}async[a0_0xf7c73c(0x1bb)](){const _0x373f49=a0_0xf7c73c;this[_0x373f49(0x1c4)]();let _0x3375ef=Object[_0x373f49(0x1bd)](this['tabData']);for(var _0x9ce7d7=0x0;_0x9ce7d7<_0x3375ef[_0x373f49(0x1d5)];_0x9ce7d7++){let _0x2202df=this[_0x373f49(0x17c)](_0x3375ef[_0x9ce7d7]);this['set'+_0x2202df+_0x373f49(0x1ab)]&&await this[_0x373f49(0x18f)+_0x2202df+_0x373f49(0x1ab)]();}}async[a0_0xf7c73c(0x1a0)](_0x17682d,_0xfa7edb,_0x51ed69){const _0x5d39a4=a0_0xf7c73c;this['active']?(this[_0x5d39a4(0x1c4)](),await this[_0x5d39a4(0x1c8)](),this[_0x5d39a4(0x1c4)]()):this[_0x5d39a4(0x1cf)]();}[a0_0xf7c73c(0x1c4)](){const _0xa05172=a0_0xf7c73c;this[_0xa05172(0x1a3)]||(this[_0xa05172(0x1a3)]={'menu':TermsUtil[_0xa05172(0x175)](_0xa05172(0x1c2)),'graphql':TermsUtil[_0xa05172(0x175)]('graphql_config'),'grid':TermsUtil[_0xa05172(0x175)](_0xa05172(0x1ba)),'column':TermsUtil['tLabel']('column_config'),'button':TermsUtil['tLabel'](_0xa05172(0x176)),'search':TermsUtil[_0xa05172(0x175)](_0xa05172(0x1b2)),'form':TermsUtil[_0xa05172(0x175)](_0xa05172(0x1c7)),'tab':TermsUtil[_0xa05172(0x175)](_0xa05172(0x18c)),'etc':TermsUtil[_0xa05172(0x175)](_0xa05172(0x1ae))});}[a0_0xf7c73c(0x1b5)](){const _0x5f47b6=a0_0xf7c73c;this['currentTabKey']||(this[_0x5f47b6(0x1a1)]=_0x5f47b6(0x1d4)),this[_0x5f47b6(0x1c4)]();let _0x1bc041=Object[_0x5f47b6(0x1bd)](this[_0x5f47b6(0x1a3)]);return this[_0x5f47b6(0x1a3)][this[_0x5f47b6(0x1a1)]]?this[_0x5f47b6(0x1a1)]:_0x1bc041[0x0],html`
149
- <h1>${this[_0x5f47b6(0x1cd)]}</h1>
148
+ `,'variables':{'id':this[_0x56748a(0x16a)]}}))[_0x56748a(0x1d4)])return;let _0x2d83f4={},_0x2dc685={};Object[_0x56748a(0x195)](this['tabData'])[_0x56748a(0x1d1)](_0x3839c4=>{const _0x385c6e=_0x56748a;let _0x441339=this[_0x385c6e(0x1ac)](_0x3839c4);_0x2d83f4[_0x3839c4]=this['get'+_0x441339+_0x385c6e(0x1d2)](),_0x2dc685=merge(_0x2dc685,_0x2d83f4[_0x3839c4]);}),_0x2dc685=JSON[_0x56748a(0x1c1)](_0x2dc685),_0x2dc685=MetaCrypto[_0x56748a(0x17f)](_0x2dc685),await MetaApi['updateMultiple'](_0x56748a(0x1ae),[{'id':this['menuId'],'template':_0x2dc685,'cuFlag':'M'}])&&await this[_0x56748a(0x196)]();}['clear'](){const _0x27745c=a0_0x3d78f6;this[_0x27745c(0x194)](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{}},Object[_0x27745c(0x195)](this[_0x27745c(0x1b3)])[_0x27745c(0x1d1)](_0x355de6=>{const _0x1c86fa=_0x27745c;let _0x26156c=this['convertFirstCharUpperCase'](_0x355de6);if(this['set'+_0x26156c+_0x1c86fa(0x1d2)])return this[_0x1c86fa(0x1be)+_0x26156c+_0x1c86fa(0x1d2)](this['dataStorage'][_0x355de6]);});}async[a0_0x3d78f6(0x1ba)](){const _0x3da77d=a0_0x3d78f6;await this[_0x3da77d(0x196)]();}[a0_0x3d78f6(0x19d)](){const _0x35b8db=a0_0x3d78f6;history[_0x35b8db(0x184)]();}async[a0_0x3d78f6(0x196)](){const _0x4e9192=a0_0x3d78f6;var {menuId:_0x402f35=''}=this[_0x4e9192(0x18d)]?.[_0x4e9192(0x18b)]?this[_0x4e9192(0x18d)][_0x4e9192(0x18b)]:{};if(this[_0x4e9192(0x16a)]=_0x402f35,!_0x402f35||''==_0x402f35)return void this[_0x4e9192(0x177)]();let _0x5d6d0b=await MetaApi['findOne']('menu',_0x402f35,_0x4e9192(0x173));if(_0x5d6d0b){try{JSON[_0x4e9192(0x16d)](MetaCrypto[_0x4e9192(0x191)](_0x5d6d0b[_0x4e9192(0x17a)]));}catch(_0x3f5be1){return;}this['menuName']=TermsUtil['tMenu'](_0x5d6d0b[_0x4e9192(0x1b9)]),this[_0x4e9192(0x186)]=_0x5d6d0b[_0x4e9192(0x17a)]?JSON[_0x4e9192(0x16d)](MetaCrypto[_0x4e9192(0x191)](_0x5d6d0b[_0x4e9192(0x17a)])):{};var {menu:_0x1036ed={},gql:_0x596065={},button:_0x5487ee=[],grid_column:_0x5a507b=[],grid:_0x2d294f={},search:_0x13dbf9=[],form:_0xa698fc=[],tab:_0x364264=[],etc:_0x1ce65d={}}=this[_0x4e9192(0x186)]?this[_0x4e9192(0x186)]:{};this[_0x4e9192(0x194)](),this['dataStorage']={},this[_0x4e9192(0x16f)][_0x4e9192(0x161)]=_0x1036ed,this[_0x4e9192(0x16f)][_0x4e9192(0x165)]=_0x596065,this[_0x4e9192(0x16f)][_0x4e9192(0x1c3)]=_0x2d294f,this[_0x4e9192(0x16f)][_0x4e9192(0x1c2)]=_0xa698fc,this['dataStorage']['tab']=_0x364264,this[_0x4e9192(0x16f)]['etc']=_0x1ce65d,(_0x2d294f[_0x4e9192(0x178)]?.[_0x4e9192(0x1bc)]||[])[_0x4e9192(0x1d1)]((_0x52d4d6,_0x17ffec)=>{const _0x49bb97=_0x4e9192;_0x52d4d6[_0x49bb97(0x1c9)]=0xa*(_0x17ffec+0x1);}),this[_0x4e9192(0x16f)][_0x4e9192(0x170)]=_0x5a507b[_0x4e9192(0x172)](_0x192e11=>{const _0x50f4ea=_0x4e9192;let _0x19e823=(_0x2d294f['option']?.[_0x50f4ea(0x1bc)]||[])[_0x50f4ea(0x198)](_0x4cf8ea=>_0x4cf8ea[_0x50f4ea(0x1b9)]==_0x192e11[_0x50f4ea(0x1b9)]);return _0x19e823&&_0x19e823[_0x50f4ea(0x1b1)]>0x0?(_0x192e11[_0x50f4ea(0x174)]=_0x19e823[0x0][_0x50f4ea(0x1c9)],_0x192e11['sort_desc']=!!_0x19e823[0x0][_0x50f4ea(0x176)]&&_0x19e823[0x0]['desc']):_0x192e11['sort_rank']=0x0,_0x192e11[_0x50f4ea(0x199)]=(_0x2d294f[_0x50f4ea(0x1b8)]?.[_0x50f4ea(0x1c0)]||[])[_0x50f4ea(0x167)](_0x192e11[_0x50f4ea(0x1b9)]),_0x192e11[_0x50f4ea(0x1ab)]=(_0x2d294f[_0x50f4ea(0x1b8)]?.[_0x50f4ea(0x19c)]||[])['includes'](_0x192e11[_0x50f4ea(0x1b9)]),_0x192e11[_0x50f4ea(0x1c5)]=_0x2d294f['list']?.['thumbnail']==_0x192e11[_0x50f4ea(0x1b9)],_0x192e11;}),_0x13dbf9[_0x4e9192(0x166)](...(_0x596065[_0x4e9192(0x182)]?.[_0x4e9192(0x190)]||[])[_0x4e9192(0x172)](_0x2d18fd=>(_0x2d18fd[_0x4e9192(0x18a)]=!0x0,_0x2d18fd))),this[_0x4e9192(0x16f)]['search']=_0x13dbf9,_0x5487ee[_0x4e9192(0x166)](...(_0x2d294f[_0x4e9192(0x1bf)]||[])[_0x4e9192(0x172)](_0x2ede1d=>(_0x2ede1d[_0x4e9192(0x18f)]=_0x4e9192(0x1a3)+_0x2ede1d[_0x4e9192(0x18f)],_0x2ede1d['style']=_0x2ede1d[_0x4e9192(0x162)],_0x2ede1d))),this['dataStorage'][_0x4e9192(0x1bf)]=_0x5487ee,Object['keys'](this[_0x4e9192(0x1b3)])[_0x4e9192(0x1d1)](_0x2b11b7=>{const _0x47e3af=_0x4e9192;let _0xdefa00=this['convertFirstCharUpperCase'](_0x2b11b7);if(this['set'+_0xdefa00+_0x47e3af(0x1d2)])return this[_0x47e3af(0x1be)+_0xdefa00+_0x47e3af(0x1d2)](this[_0x47e3af(0x16f)][_0x2b11b7]);});}}async[a0_0x3d78f6(0x17e)](){const _0x29e0d6=a0_0x3d78f6;this[_0x29e0d6(0x194)]();let _0x553c16=Object['keys'](this[_0x29e0d6(0x1b3)]);for(var _0x237d36=0x0;_0x237d36<_0x553c16['length'];_0x237d36++){let _0x30da28=this[_0x29e0d6(0x1ac)](_0x553c16[_0x237d36]);this[_0x29e0d6(0x1be)+_0x30da28+_0x29e0d6(0x16b)]&&await this[_0x29e0d6(0x1be)+_0x30da28+_0x29e0d6(0x16b)]();}}async[a0_0x3d78f6(0x197)](_0x206ef5,_0x24da37,_0x31b397){const _0x4447ff=a0_0x3d78f6;this['active']?(this[_0x4447ff(0x194)](),await this[_0x4447ff(0x196)](),this[_0x4447ff(0x194)]()):this[_0x4447ff(0x177)]();}[a0_0x3d78f6(0x194)](){const _0x4c4901=a0_0x3d78f6;this[_0x4c4901(0x1b3)]||(this[_0x4c4901(0x1b3)]={'menu':TermsUtil['tLabel'](_0x4c4901(0x192)),'graphql':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1cf)),'grid':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1bb)),'column':TermsUtil[_0x4c4901(0x1b2)]('column_config'),'button':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1af)),'search':TermsUtil[_0x4c4901(0x1b2)]('search_config'),'form':TermsUtil[_0x4c4901(0x1b2)]('form_config'),'tab':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1aa)),'etc':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x15f))});}['render'](){const _0x475229=a0_0x3d78f6;this[_0x475229(0x18e)]||(this[_0x475229(0x18e)]=_0x475229(0x161)),this[_0x475229(0x194)]();let _0x487fd7=Object[_0x475229(0x195)](this[_0x475229(0x1b3)]);return this[_0x475229(0x1b3)][this[_0x475229(0x18e)]]?this[_0x475229(0x18e)]:_0x487fd7[0x0],html`
149
+ <h1>${this[_0x475229(0x1ce)]}</h1>
150
150
  <div class="tabs">
151
- ${_0x1bc041[_0x5f47b6(0x196)](_0x3fcbd5=>{const _0xa4c180=_0x5f47b6;let _0x48042a=this[_0xa4c180(0x1a3)][_0x3fcbd5];return html`
152
- <div class="tab" ?activate="${_0x3fcbd5===this[_0xa4c180(0x1a1)]}" @click="${()=>this[_0xa4c180(0x1a1)]=_0x3fcbd5}">
153
- <span>${_0x48042a}</span>
151
+ ${_0x487fd7['map'](_0x2157da=>{const _0x264d0b=_0x475229;let _0x432497=this[_0x264d0b(0x1b3)][_0x2157da];return html`
152
+ <div class="tab" ?activate="${_0x2157da===this[_0x264d0b(0x18e)]}" @click="${()=>this[_0x264d0b(0x18e)]=_0x2157da}">
153
+ <span>${_0x432497}</span>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
158
- ${_0x1bc041[_0x5f47b6(0x196)](_0x211057=>{const _0x47507b=_0x5f47b6;let _0x40f16c=_0x47507b(0x190);return _0x211057==this[_0x47507b(0x1a1)]&&(_0x40f16c='display:flex'),html`
159
- <div class='tab-contents' style="${_0x40f16c}">
160
- ${this[_0x47507b(0x18d)](_0x211057)}
158
+ ${_0x487fd7[_0x475229(0x172)](_0x2f5f15=>{const _0x2aad8a=_0x475229;let _0x368e79=_0x2aad8a(0x1ad);return _0x2f5f15==this[_0x2aad8a(0x18e)]&&(_0x368e79=_0x2aad8a(0x1a8)),html`
159
+ <div class='tab-contents' style="${_0x368e79}">
160
+ ${this[_0x2aad8a(0x1b4)](_0x2f5f15)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
164
- `;}[a0_0xf7c73c(0x18d)](_0x4803d9){const _0x20fed0=a0_0xf7c73c;let _0x182e51=this[_0x20fed0(0x17c)](_0x4803d9);return this[_0x20fed0(0x1b5)+_0x182e51+_0x20fed0(0x16f)]?this['render'+_0x182e51+'ConfigTab']():html``;}['convertFirstCharUpperCase'](_0x1a31a4){return _0x1a31a4['charAt'](0x0)['toUpperCase']()+_0x1a31a4['slice'](0x1);}[a0_0xf7c73c(0x1d1)](_0x55b220){const _0x4f5af4=a0_0xf7c73c;return this[_0x4f5af4(0x188)][_0x4f5af4(0x192)]('#'+_0x55b220);}[a0_0xf7c73c(0x199)](_0x4e182f){const _0x564e80=a0_0xf7c73c;let _0x1a81af=this[_0x564e80(0x188)]['querySelector']('#'+_0x4e182f);if(!_0x1a81af)return;let _0x2dbabc='';if('select'==_0x1a81af[_0x564e80(0x1b3)][_0x564e80(0x19c)]()){if(!_0x1a81af['options']||0x0==_0x1a81af['options'][_0x564e80(0x1d5)])return;_0x2dbabc=_0x1a81af['options'][_0x1a81af[_0x564e80(0x1ac)]][_0x564e80(0x174)];}else{if(_0x564e80(0x183)==_0x1a81af[_0x564e80(0x1b3)][_0x564e80(0x19c)]()){if(!_0x1a81af[_0x564e80(0x17e)])return;if(!_0x1a81af[_0x564e80(0x17e)]['records'])return;if(0x0==_0x1a81af[_0x564e80(0x17e)][_0x564e80(0x1b9)][_0x564e80(0x1d5)])return;return _0x1a81af[_0x564e80(0x17e)][_0x564e80(0x1b9)];}if(_0x564e80(0x1c5)==_0x1a81af[_0x564e80(0x1a6)]['toLowerCase']()){let _0x3e1020=this[_0x564e80(0x188)]['querySelector']('#'+_0x4e182f+_0x564e80(0x19a));if(!_0x3e1020)return;return _0x3e1020[_0x564e80(0x174)];}_0x2dbabc=_0x1a81af['value'];}return _0x2dbabc&&''!=_0x2dbabc?_0x2dbabc:void 0x0;}[a0_0xf7c73c(0x173)](_0x4dae5b){const _0x22b623=a0_0xf7c73c;return _0x4dae5b?this[_0x22b623(0x198)](_0x4dae5b,_0x22b623(0x19f)):_0x4dae5b;}[a0_0xf7c73c(0x198)](_0xe3cd96,_0x1c88b3){const _0x52b900=a0_0xf7c73c;return _0xe3cd96[_0x52b900(0x179)]((_0x6644a,_0xab131d)=>_0x6644a[_0x1c88b3]-_0xab131d[_0x1c88b3]),_0xe3cd96;}}function a0_0x503a(_0x259b84,_0x9ba8c7){const _0x2288d0=a0_0x2288();return a0_0x503a=function(_0x503a19,_0x1deb76){_0x503a19=_0x503a19-0x16f;let _0x4f9fb6=_0x2288d0[_0x503a19];return _0x4f9fb6;},a0_0x503a(_0x259b84,_0x9ba8c7);}customElements['define']('meta-generator-page',MetaGeneratorPage);
164
+ `;}[a0_0x3d78f6(0x1b4)](_0x28f012){const _0x27f33b=a0_0x3d78f6;let _0x53853a=this[_0x27f33b(0x1ac)](_0x28f012);return this[_0x27f33b(0x1a6)+_0x53853a+_0x27f33b(0x1cb)]?this[_0x27f33b(0x1a6)+_0x53853a+'ConfigTab']():html``;}[a0_0x3d78f6(0x1ac)](_0x387494){const _0x3bd163=a0_0x3d78f6;return _0x387494[_0x3bd163(0x180)](0x0)[_0x3bd163(0x179)]()+_0x387494[_0x3bd163(0x1b0)](0x1);}[a0_0x3d78f6(0x19b)](_0x17623d){return this['shadowRoot']['querySelector']('#'+_0x17623d);}[a0_0x3d78f6(0x181)](_0xf1ffac){const _0x5b1ed9=a0_0x3d78f6;let _0x58814a=this[_0x5b1ed9(0x168)][_0x5b1ed9(0x1cc)]('#'+_0xf1ffac);if(!_0x58814a)return;let _0x4a561d='';if(_0x5b1ed9(0x160)==_0x58814a[_0x5b1ed9(0x19e)][_0x5b1ed9(0x193)]()){if(!_0x58814a[_0x5b1ed9(0x15e)]||0x0==_0x58814a[_0x5b1ed9(0x15e)][_0x5b1ed9(0x1b1)])return;_0x4a561d=_0x58814a['options'][_0x58814a['selectedIndex']][_0x5b1ed9(0x175)];}else{if(_0x5b1ed9(0x164)==_0x58814a['tagName']['toLowerCase']()){if(!_0x58814a[_0x5b1ed9(0x189)])return;if(!_0x58814a[_0x5b1ed9(0x189)][_0x5b1ed9(0x1a0)])return;if(0x0==_0x58814a[_0x5b1ed9(0x189)][_0x5b1ed9(0x1a0)][_0x5b1ed9(0x1b1)])return;return _0x58814a[_0x5b1ed9(0x189)]['records'];}if(_0x5b1ed9(0x183)==_0x58814a[_0x5b1ed9(0x18f)][_0x5b1ed9(0x193)]()){let _0x211998=this[_0x5b1ed9(0x168)][_0x5b1ed9(0x1cc)]('#'+_0xf1ffac+_0x5b1ed9(0x1a1));if(!_0x211998)return;return _0x211998['value'];}_0x4a561d=_0x58814a['value'];}return _0x4a561d&&''!=_0x4a561d?_0x4a561d:void 0x0;}[a0_0x3d78f6(0x1b6)](_0x5d3170){const _0x5cd933=a0_0x3d78f6;return _0x5d3170?this[_0x5cd933(0x185)](_0x5d3170,'rank'):_0x5d3170;}[a0_0x3d78f6(0x185)](_0x763ae0,_0x3d5905){const _0x386168=a0_0x3d78f6;return _0x763ae0[_0x386168(0x1cd)]((_0xf98bde,_0x2028ac)=>_0xf98bde[_0x3d5905]-_0x2028ac[_0x3d5905]),_0x763ae0;}}customElements[a0_0x3d78f6(0x163)](a0_0x3d78f6(0x1b7),MetaGeneratorPage);
@@ -1,4 +1,4 @@
1
- const a0_0x520702=a0_0x3d6f;function a0_0x3d6f(_0x2f1be5,_0x393bac){const _0x3753ef=a0_0x3753();return a0_0x3d6f=function(_0x3d6f5b,_0x941ccc){_0x3d6f5b=_0x3d6f5b-0x12b;let _0x1ea74e=_0x3753ef[_0x3d6f5b];return _0x1ea74e;},a0_0x3d6f(_0x2f1be5,_0x393bac);}(function(_0x24b2d2,_0xd16ec9){const _0x3b8923=a0_0x3d6f,_0x167c72=_0x24b2d2();while(!![]){try{const _0x1f3439=-parseInt(_0x3b8923(0x14d))/0x1*(parseInt(_0x3b8923(0x136))/0x2)+parseInt(_0x3b8923(0x140))/0x3*(-parseInt(_0x3b8923(0x146))/0x4)+-parseInt(_0x3b8923(0x14b))/0x5+parseInt(_0x3b8923(0x141))/0x6*(-parseInt(_0x3b8923(0x132))/0x7)+parseInt(_0x3b8923(0x12c))/0x8+parseInt(_0x3b8923(0x15f))/0x9+parseInt(_0x3b8923(0x13b))/0xa*(parseInt(_0x3b8923(0x142))/0xb);if(_0x1f3439===_0xd16ec9)break;else _0x167c72['push'](_0x167c72['shift']());}catch(_0x2f73c4){_0x167c72['push'](_0x167c72['shift']());}}}(a0_0x3753,0xe7316));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_0x3753(){const _0xadd8cb=['getCodeSelectorData','setSearchConfigTabValues','default_value','getGristGuttersConfig','getElementValueById','renderSearchConfigTab','tLabel','gql','map','operator','query','deleteRow','7357527MWrkJj','integer','searchTabGrist','12099560ABQUpG','FILTER_OPERATORS','center','string','fetch','filter','282373rbBSFq','boolean','select','left','260658NdrZXD','value','bind','delete','gutter','7834940MsBmHt','rank','push','searchTabGridConfig','name','98760atGKgp','174JbQQGC','33Efjjli','search','hidden','object','176CSndxV','forEach','getGristSelectableConfig','search_operator','querySelector','4924120ilBhxE','search-tab-grid','1xyZOFl','viewSearchData','button','filters','sortRecordByRank','fetchSearchTabHandler'];a0_0x3753=function(){return _0xadd8cb;};return a0_0x3753();}export const SearchConfigTabMixin=_0x5139ad=>class extends _0x5139ad{[a0_0x520702(0x154)](_0x1438c2){const _0x41489a=a0_0x520702;let _0x30a8d7=_0x1438c2?.[_0x41489a(0x15b)]((_0x47d07f,_0x29b3a1)=>{const _0x50e0c1=_0x41489a;let _0x5c2ff5=_0x29b3a1+0x1,_0xd0259f={};return _0x50e0c1(0x145)==typeof _0x47d07f?Object['assign'](_0xd0259f,_0x47d07f):(_0xd0259f[_0x50e0c1(0x13f)]=_0x47d07f,_0xd0259f[_0x50e0c1(0x15c)]=_0x50e0c1(0x131)),_0xd0259f['rank']=0xa*_0x5c2ff5,_0xd0259f['id']=_0x5c2ff5,_0xd0259f;});this['viewSearchData']=_0x30a8d7||[],this['searchTabGrist']?.[_0x41489a(0x130)]();}['getSearchConfigTabValues'](){const _0x53550d=a0_0x520702;let _0x51ffc7={'search':[],'gql':{'query':{'filters':[]}}},_0x489e86=this[_0x53550d(0x157)](_0x53550d(0x14c));return this[_0x53550d(0x151)](_0x489e86)?.[_0x53550d(0x147)](_0x2c0fa3=>{const _0x161693=_0x53550d;var {name:_0x31975a,operator:_0x468a84='eq',hidden:_0x5d34c2=!0x1,value:_0x146b0d}=_0x2c0fa3;if(_0x31975a){if(_0x161693(0x131)==_0x468a84)_0x51ffc7['search']['push'](_0x31975a);else{let _0x703b70={'name':_0x31975a,'operator':_0x468a84};0x1==_0x5d34c2?(_0x703b70['value']=_0x146b0d,_0x51ffc7[_0x161693(0x15a)][_0x161693(0x15d)][_0x161693(0x150)]['push'](_0x703b70)):(_0x703b70[_0x161693(0x137)]=_0x146b0d,_0x51ffc7[_0x161693(0x143)][_0x161693(0x13d)](_0x703b70));}}}),_0x51ffc7;}[a0_0x520702(0x158)](){const _0x40877e=a0_0x520702;return html`
2
- <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x40877e(0x13e)]} .mode='GRID'
3
- .fetchHandler=${this[_0x40877e(0x152)][_0x40877e(0x138)](this)}>
4
- </ox-grist>`;}get['searchTabGrist'](){const _0x5ae6fc=a0_0x520702;return this['shadowRoot'][_0x5ae6fc(0x14a)]('#search-tab-grid');}async[a0_0x520702(0x152)](){const _0x51d49c=a0_0x520702;return{'total':0x0,'records':this[_0x51d49c(0x14e)]||[]};}async['setSearchConfigTabConfig'](){const _0x5d6ce6=a0_0x520702;let _0x565748=await MetaApi[_0x5d6ce6(0x153)](_0x5d6ce6(0x12d));this[_0x5d6ce6(0x13e)]={'rows':MetaApi[_0x5d6ce6(0x148)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x5d6ce6(0x13c),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x5d6ce6(0x156)](!0x1,!0x1),{'type':_0x5d6ce6(0x13a),'gutterName':_0x5d6ce6(0x14f),'icon':_0x5d6ce6(0x139),'handlers':{'click':(_0x1de804,_0x24f703,_0x3d9dc4,_0x3fff1b,_0x47ec3b)=>{const _0x205179=_0x5d6ce6;_0x3fff1b['id']&&this[_0x205179(0x15e)](this[_0x205179(0x12b)],_0x3fff1b);}}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x5d6ce6(0x160),'name':_0x5d6ce6(0x13c),'header':TermsUtil[_0x5d6ce6(0x159)](_0x5d6ce6(0x13c)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'name','header':TermsUtil[_0x5d6ce6(0x159)](_0x5d6ce6(0x13f)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x5d6ce6(0x135),'editable':!0x0,'mandatory':!0x0}},{'type':_0x5d6ce6(0x134),'name':_0x5d6ce6(0x15c),'header':TermsUtil[_0x5d6ce6(0x159)](_0x5d6ce6(0x149)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x1,'options':_0x565748}},{'type':_0x5d6ce6(0x133),'name':_0x5d6ce6(0x144),'header':TermsUtil[_0x5d6ce6(0x159)]('hidden'),'sortable':!0x1,'width':0x41,'record':{'align':_0x5d6ce6(0x12e),'mandatory':!0x1,'editable':!0x0}},{'type':_0x5d6ce6(0x12f),'name':'value','header':TermsUtil[_0x5d6ce6(0x159)](_0x5d6ce6(0x155)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x5d6ce6(0x135),'editable':!0x0,'mandatory':!0x1}}]};}};
1
+ const a0_0x36aad8=a0_0x2ba9;(function(_0x1a71e3,_0x9658b2){const _0x138711=a0_0x2ba9,_0x36b189=_0x1a71e3();while(!![]){try{const _0xeb2606=parseInt(_0x138711(0x145))/0x1*(-parseInt(_0x138711(0x15b))/0x2)+parseInt(_0x138711(0x14c))/0x3*(parseInt(_0x138711(0x153))/0x4)+-parseInt(_0x138711(0x140))/0x5+parseInt(_0x138711(0x15a))/0x6+-parseInt(_0x138711(0x147))/0x7+parseInt(_0x138711(0x152))/0x8+-parseInt(_0x138711(0x132))/0x9*(parseInt(_0x138711(0x156))/0xa);if(_0xeb2606===_0x9658b2)break;else _0x36b189['push'](_0x36b189['shift']());}catch(_0x1aa04f){_0x36b189['push'](_0x36b189['shift']());}}}(a0_0x16df,0x701a5));import{html}from'lit-element';function a0_0x2ba9(_0xca955,_0x925f13){const _0x16df0b=a0_0x16df();return a0_0x2ba9=function(_0x2ba965,_0x109f5d){_0x2ba965=_0x2ba965-0x130;let _0x26d95b=_0x16df0b[_0x2ba965];return _0x26d95b;},a0_0x2ba9(_0xca955,_0x925f13);}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=_0x48b728=>class extends _0x48b728{[a0_0x36aad8(0x13c)](_0x2ca0aa){const _0x4c2143=a0_0x36aad8;let _0x178502=_0x2ca0aa?.[_0x4c2143(0x155)]((_0x26f7c9,_0x4e6c16)=>{const _0xaaa453=_0x4c2143;let _0x332646=_0x4e6c16+0x1,_0x5897b7={};return _0xaaa453(0x15f)==typeof _0x26f7c9?Object[_0xaaa453(0x15e)](_0x5897b7,_0x26f7c9):(_0x5897b7[_0xaaa453(0x146)]=_0x26f7c9,_0x5897b7[_0xaaa453(0x135)]=_0xaaa453(0x157)),_0x5897b7['rank']=0xa*_0x332646,_0x5897b7['id']=_0x332646,_0x5897b7;});this[_0x4c2143(0x154)]=_0x178502||[],this['searchTabGrist']?.[_0x4c2143(0x150)]();}[a0_0x36aad8(0x13e)](){const _0x8c53c7=a0_0x36aad8;let _0x460523={'search':[],'gql':{'query':{'filters':[]}}},_0x47ec68=this['getElementValueById'](_0x8c53c7(0x14d));return this[_0x8c53c7(0x148)](_0x47ec68)?.[_0x8c53c7(0x138)](_0x1acefb=>{const _0x400872=_0x8c53c7;var {name:_0x1b5d98,operator:_0x2b9061='eq',hidden:_0x16c3ae=!0x1,value:_0x1547d7}=_0x1acefb;if(_0x1b5d98){if(_0x400872(0x157)==_0x2b9061)_0x460523[_0x400872(0x14e)]['push'](_0x1b5d98);else{let _0xdbb14a={'name':_0x1b5d98,'operator':_0x2b9061};0x1==_0x16c3ae?(_0xdbb14a[_0x400872(0x137)]=_0x1547d7,_0x460523[_0x400872(0x15d)][_0x400872(0x136)][_0x400872(0x141)][_0x400872(0x159)](_0xdbb14a)):(_0xdbb14a[_0x400872(0x137)]=_0x1547d7,_0x460523['search'][_0x400872(0x159)](_0xdbb14a));}}}),_0x460523;}[a0_0x36aad8(0x133)](){const _0x17fa52=a0_0x36aad8;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x17fa52(0x13d)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x17fa52(0x130)][_0x17fa52(0x14a)](this)}>
4
+ </ox-grist>`;}get[a0_0x36aad8(0x14f)](){const _0x5f57ef=a0_0x36aad8;return this[_0x5f57ef(0x13f)][_0x5f57ef(0x144)](_0x5f57ef(0x151));}async[a0_0x36aad8(0x130)](){const _0x31b9bd=a0_0x36aad8;return{'total':0x0,'records':this[_0x31b9bd(0x154)]||[]};}async[a0_0x36aad8(0x13b)](){const _0x2c1b87=a0_0x36aad8;let _0x141dda=await MetaApi['getCodeSelectorData'](_0x2c1b87(0x131));this[_0x2c1b87(0x13d)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x2c1b87(0x149),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x2c1b87(0x134)](!0x1,!0x1),{'type':_0x2c1b87(0x14b),'gutterName':'button','icon':'delete','handlers':{'click':(_0x18255f,_0x585629,_0x45bfa0,_0x2a86b9,_0x1e02c2)=>{const _0x5d89a5=_0x2c1b87;_0x2a86b9['id']&&this['deleteRow'](this[_0x5d89a5(0x14f)],_0x2a86b9);}}},{'type':_0x2c1b87(0x158),'name':'id','hidden':!0x0},{'type':'integer','name':_0x2c1b87(0x149),'header':TermsUtil[_0x2c1b87(0x139)](_0x2c1b87(0x149)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x2c1b87(0x158),'name':_0x2c1b87(0x146),'header':TermsUtil[_0x2c1b87(0x139)](_0x2c1b87(0x146)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x2c1b87(0x142),'editable':!0x0,'mandatory':!0x0}},{'type':_0x2c1b87(0x15c),'name':_0x2c1b87(0x135),'header':TermsUtil[_0x2c1b87(0x139)](_0x2c1b87(0x143)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x1,'options':_0x141dda}},{'type':_0x2c1b87(0x13a),'name':'hidden','header':TermsUtil['tLabel']('hidden'),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x2c1b87(0x158),'name':'value','header':TermsUtil[_0x2c1b87(0x139)]('default_value'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x2c1b87(0x142),'editable':!0x0,'mandatory':!0x1}}]};}};function a0_0x16df(){const _0xb4ee7f=['renderSearchConfigTab','getGristGuttersConfig','operator','query','value','forEach','tLabel','boolean','setSearchConfigTabConfig','setSearchConfigTabValues','searchTabGridConfig','getSearchConfigTabValues','shadowRoot','1881280VBXIQY','filters','left','search_operator','querySelector','19tBLCNA','name','2603699dslRmE','sortRecordByRank','rank','bind','gutter','777uLrBof','search-tab-grid','search','searchTabGrist','fetch','#search-tab-grid','4853696kKydPj','12952uUjDok','viewSearchData','map','68380JxUZHO','filter','string','push','796776OrBeiD','38308hoJbXI','select','gql','assign','object','fetchSearchTabHandler','FILTER_OPERATORS','9aNHqPK'];a0_0x16df=function(){return _0xb4ee7f;};return a0_0x16df();}
@@ -1,4 +1,4 @@
1
- const a0_0x580ce8=a0_0x2bbc;(function(_0x229844,_0x5cbfe3){const _0x4def71=a0_0x2bbc,_0x1c8e2d=_0x229844();while(!![]){try{const _0x4c5f08=parseInt(_0x4def71(0x95))/0x1*(-parseInt(_0x4def71(0x89))/0x2)+parseInt(_0x4def71(0x90))/0x3*(parseInt(_0x4def71(0x99))/0x4)+-parseInt(_0x4def71(0x7c))/0x5+-parseInt(_0x4def71(0x72))/0x6*(parseInt(_0x4def71(0x74))/0x7)+-parseInt(_0x4def71(0x96))/0x8+parseInt(_0x4def71(0x8c))/0x9+-parseInt(_0x4def71(0x9c))/0xa*(-parseInt(_0x4def71(0xa2))/0xb);if(_0x4c5f08===_0x5cbfe3)break;else _0x1c8e2d['push'](_0x1c8e2d['shift']());}catch(_0x48ee92){_0x1c8e2d['push'](_0x1c8e2d['shift']());}}}(a0_0xb28e,0x68549));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_0x2bbc(_0x192336,_0x52c59b){const _0xb28eb5=a0_0xb28e();return a0_0x2bbc=function(_0x2bbc02,_0x1a5d52){_0x2bbc02=_0x2bbc02-0x70;let _0x539824=_0xb28eb5[_0x2bbc02];return _0x539824;},a0_0x2bbc(_0x192336,_0x52c59b);}function a0_0xb28e(){const _0x45e46a=['getGristSelectableConfig','tab','right','parent_field','tag','sortRecordByRank','push','tagname','fetchTabTabHandler','center','string','name','2pNKdYc','renderTabConfigTab','setTabConfigTabConfig','1807704czidgx','left','page_location','tLabel','366291jfgHAt','location','gutter','integer','parent_id','255295bMhwXt','6273080fwoLTW','rank','routing','24NrYYko','getTabConfigTabValues','map','10WNWVGt','deleteRow','delete','menu','bind','tabTabGridConfig','13025419MrUjWr','querySelector','param_field','viewTabData','display','228AZsYMu','button','110635zzjwPJ','icon','tabTabGrist','forEach','setTabConfigTabValues','tab-tab-grid','getGristGuttersConfig','getElementValueById','251050tXIfhn'];a0_0xb28e=function(){return _0x45e46a;};return a0_0xb28e();}export const TabConfigTabMixin=_0x98db9a=>class extends _0x98db9a{[a0_0x580ce8(0x78)](_0x4ce0e6){const _0x5a293e=a0_0x580ce8;let _0x135366=_0x4ce0e6?.[_0x5a293e(0x9b)]((_0xb83028,_0xd88047)=>{const _0xfe908a=_0x5a293e;let _0xe0a74e=_0xd88047+0x1,_0x5114be={};return _0x5114be[_0xfe908a(0x97)]=0xa*_0xe0a74e,_0x5114be['id']=_0xe0a74e,_0x5114be[_0xfe908a(0x88)]=_0xb83028['name'],_0x5114be['display']=_0xb83028['display'],_0x5114be[_0xfe908a(0x84)]=_0xb83028[_0xfe908a(0x84)],_0x5114be[_0xfe908a(0x75)]=_0xb83028['icon'],_0x5114be[_0xfe908a(0x91)]=_0xb83028[_0xfe908a(0x91)],_0x5114be[_0xfe908a(0x80)]=_0xb83028[_0xfe908a(0x80)],_0x5114be[_0xfe908a(0xa4)]=_0xb83028[_0xfe908a(0xa4)],_0x5114be['menu']=_0xb83028[_0xfe908a(0x9f)],_0x5114be;});this[_0x5a293e(0x70)]=_0x135366||[],this['tabTabGrist']?.['fetch']();}[a0_0x580ce8(0x9a)](){const _0x5e6265=a0_0x580ce8;let _0x3e1177={'tab':[]},_0xa14567=this[_0x5e6265(0x7b)](_0x5e6265(0x79));return this[_0x5e6265(0x82)](_0xa14567)?.[_0x5e6265(0x77)](_0x668681=>{const _0x4bc7c2=_0x5e6265;var {name:_0x7b4ff8,display:_0x1cfc4f,tagname:_0x46cad4,location:_0x38207c,parent_field:_0x2a6155,param_field:_0x25226f,menu:_0x50bb82,icon:_0x10b4b9}=_0x668681;_0x7b4ff8&&_0x46cad4&&_0x38207c&&_0x50bb82&&(_0x1cfc4f||(_0x1cfc4f=_0x7b4ff8),_0x2a6155||(_0x2a6155='id'),_0x25226f||(_0x25226f=_0x4bc7c2(0xa4)),_0x3e1177[_0x4bc7c2(0x7e)][_0x4bc7c2(0x83)]({'name':_0x7b4ff8,'display':_0x1cfc4f,'tagname':_0x46cad4,'location':_0x38207c,'parent_field':_0x2a6155,'param_field':_0x25226f,'menu':_0x50bb82,'icon':_0x10b4b9}));}),_0x3e1177;}[a0_0x580ce8(0x8a)](){const _0x2c311b=a0_0x580ce8;return html`
2
- <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x2c311b(0xa1)]} .mode='GRID'
3
- .fetchHandler=${this[_0x2c311b(0x85)][_0x2c311b(0xa0)](this)}>
4
- </ox-grist>`;}get[a0_0x580ce8(0x76)](){const _0x4d0f82=a0_0x580ce8;return this['shadowRoot'][_0x4d0f82(0xa3)]('#tab-tab-grid');}async[a0_0x580ce8(0x85)](){const _0x325237=a0_0x580ce8;return{'total':0x0,'records':this[_0x325237(0x70)]||[]};}async[a0_0x580ce8(0x8b)](){const _0x3d7629=a0_0x580ce8;this[_0x3d7629(0xa1)]={'rows':MetaApi[_0x3d7629(0x7d)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x3d7629(0x97),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x3d7629(0x7a)](!0x1,!0x1),{'type':_0x3d7629(0x92),'gutterName':_0x3d7629(0x73),'icon':_0x3d7629(0x9e),'handlers':{'click':(_0x586988,_0x3b940f,_0x5cbcec,_0x136b15,_0x2ef478)=>{const _0x346093=_0x3d7629;_0x136b15['id']&&this[_0x346093(0x9d)](this[_0x346093(0x76)],_0x136b15);}}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x3d7629(0x93),'name':_0x3d7629(0x97),'header':TermsUtil[_0x3d7629(0x8f)](_0x3d7629(0x97)),'sortable':!0x0,'width':0x41,'record':{'align':_0x3d7629(0x7f),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d7629(0x88),'header':TermsUtil[_0x3d7629(0x8f)](_0x3d7629(0x88)),'sortable':!0x1,'width':0x64,'record':{'align':_0x3d7629(0x8d),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d7629(0x71),'header':TermsUtil[_0x3d7629(0x8f)](_0x3d7629(0x71)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x3d7629(0x87),'name':_0x3d7629(0x75),'header':TermsUtil[_0x3d7629(0x8f)]('icon'),'sortable':!0x0,'width':0x41,'record':{'align':_0x3d7629(0x86),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3d7629(0x87),'name':_0x3d7629(0x9f),'header':TermsUtil[_0x3d7629(0x8f)](_0x3d7629(0x98)),'sortable':!0x1,'width':0x64,'record':{'align':_0x3d7629(0x8d),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d7629(0x84),'header':TermsUtil[_0x3d7629(0x8f)](_0x3d7629(0x81)),'sortable':!0x1,'width':0x96,'record':{'align':_0x3d7629(0x8d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3d7629(0x87),'name':_0x3d7629(0x91),'header':TermsUtil['tLabel'](_0x3d7629(0x8e)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x3d7629(0x8d),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d7629(0x80),'header':TermsUtil[_0x3d7629(0x8f)](_0x3d7629(0x94)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d7629(0xa4),'header':TermsUtil['tLabel']('params'),'sortable':!0x1,'width':0x64,'record':{'align':_0x3d7629(0x8d),'editable':!0x0,'mandatory':!0x0}}]};}};
1
+ const a0_0x50842d=a0_0xc942;function a0_0xc942(_0x2b915a,_0x3fa6bc){const _0x53209e=a0_0x5320();return a0_0xc942=function(_0xc942af,_0xba296b){_0xc942af=_0xc942af-0x177;let _0x3b6d0c=_0x53209e[_0xc942af];return _0x3b6d0c;},a0_0xc942(_0x2b915a,_0x3fa6bc);}(function(_0x9e5801,_0x249387){const _0x47ae32=a0_0xc942,_0x19d0ad=_0x9e5801();while(!![]){try{const _0x370fb3=parseInt(_0x47ae32(0x182))/0x1+-parseInt(_0x47ae32(0x18e))/0x2+parseInt(_0x47ae32(0x19f))/0x3+parseInt(_0x47ae32(0x17f))/0x4*(parseInt(_0x47ae32(0x189))/0x5)+-parseInt(_0x47ae32(0x18a))/0x6+-parseInt(_0x47ae32(0x1a3))/0x7*(-parseInt(_0x47ae32(0x199))/0x8)+-parseInt(_0x47ae32(0x191))/0x9;if(_0x370fb3===_0x249387)break;else _0x19d0ad['push'](_0x19d0ad['shift']());}catch(_0x16655b){_0x19d0ad['push'](_0x19d0ad['shift']());}}}(a0_0x5320,0x9a73e));import{html}from'lit-element';function a0_0x5320(){const _0x89855d=['tab','display','sortRecordByRank','10KDTSrp','4792224jAHJUK','tabTabGridConfig','center','name','1144562RTwlpQ','getElementValueById','gutter','389421MdSiDl','fetchTabTabHandler','routing','rank','right','tab-tab-grid','string','bind','40fxrROV','param_field','deleteRow','tLabel','viewTabData','integer','174057deEhIm','parent_field','location','left','918134JNOata','querySelector','params','map','menu','setTabConfigTabValues','icon','tagname','forEach','1961680eSuCEY','parent_id','getTabConfigTabValues','352223EEomzB','tag','button','tabTabGrist'];a0_0x5320=function(){return _0x89855d;};return a0_0x5320();}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=_0x423935=>class extends _0x423935{[a0_0x50842d(0x17b)](_0x5e4425){const _0x3cc682=a0_0x50842d;let _0x2cbca7=_0x5e4425?.[_0x3cc682(0x179)]((_0x79cf55,_0x4f6cbb)=>{const _0x4ec375=_0x3cc682;let _0x185dbb=_0x4f6cbb+0x1,_0x3b678b={};return _0x3b678b[_0x4ec375(0x194)]=0xa*_0x185dbb,_0x3b678b['id']=_0x185dbb,_0x3b678b[_0x4ec375(0x18d)]=_0x79cf55[_0x4ec375(0x18d)],_0x3b678b['display']=_0x79cf55['display'],_0x3b678b[_0x4ec375(0x17d)]=_0x79cf55[_0x4ec375(0x17d)],_0x3b678b[_0x4ec375(0x17c)]=_0x79cf55[_0x4ec375(0x17c)],_0x3b678b[_0x4ec375(0x1a1)]=_0x79cf55[_0x4ec375(0x1a1)],_0x3b678b[_0x4ec375(0x1a0)]=_0x79cf55[_0x4ec375(0x1a0)],_0x3b678b[_0x4ec375(0x19a)]=_0x79cf55[_0x4ec375(0x19a)],_0x3b678b[_0x4ec375(0x17a)]=_0x79cf55[_0x4ec375(0x17a)],_0x3b678b;});this[_0x3cc682(0x19d)]=_0x2cbca7||[],this[_0x3cc682(0x185)]?.['fetch']();}[a0_0x50842d(0x181)](){const _0x24f9e2=a0_0x50842d;let _0x29f29d={'tab':[]},_0x18b183=this[_0x24f9e2(0x18f)](_0x24f9e2(0x196));return this[_0x24f9e2(0x188)](_0x18b183)?.[_0x24f9e2(0x17e)](_0xc4d9a4=>{const _0x395eaf=_0x24f9e2;var {name:_0x11b675,display:_0x3f496d,tagname:_0x10ca23,location:_0x324d31,parent_field:_0x547df1,param_field:_0x455e15,menu:_0x48f31d,icon:_0x1195c7}=_0xc4d9a4;_0x11b675&&_0x10ca23&&_0x324d31&&_0x48f31d&&(_0x3f496d||(_0x3f496d=_0x11b675),_0x547df1||(_0x547df1='id'),_0x455e15||(_0x455e15=_0x395eaf(0x19a)),_0x29f29d[_0x395eaf(0x186)]['push']({'name':_0x11b675,'display':_0x3f496d,'tagname':_0x10ca23,'location':_0x324d31,'parent_field':_0x547df1,'param_field':_0x455e15,'menu':_0x48f31d,'icon':_0x1195c7}));}),_0x29f29d;}['renderTabConfigTab'](){const _0x3081bd=a0_0x50842d;return html`
2
+ <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x3081bd(0x18b)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x3081bd(0x192)][_0x3081bd(0x198)](this)}>
4
+ </ox-grist>`;}get[a0_0x50842d(0x185)](){const _0x436c44=a0_0x50842d;return this['shadowRoot'][_0x436c44(0x177)]('#tab-tab-grid');}async[a0_0x50842d(0x192)](){const _0x248b70=a0_0x50842d;return{'total':0x0,'records':this[_0x248b70(0x19d)]||[]};}async['setTabConfigTabConfig'](){const _0x489d8f=a0_0x50842d;this['tabTabGridConfig']={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x489d8f(0x194),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x489d8f(0x190),'gutterName':_0x489d8f(0x184),'icon':'delete','handlers':{'click':(_0x1c13d5,_0x3eae08,_0x3d2d43,_0x475836,_0x4f1a8a)=>{const _0x276fc8=_0x489d8f;_0x475836['id']&&this[_0x276fc8(0x19b)](this['tabTabGrist'],_0x475836);}}},{'type':_0x489d8f(0x197),'name':'id','hidden':!0x0},{'type':_0x489d8f(0x19e),'name':_0x489d8f(0x194),'header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x194)),'sortable':!0x0,'width':0x41,'record':{'align':_0x489d8f(0x195),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x18d),'header':TermsUtil['tLabel'](_0x489d8f(0x18d)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x187),'header':TermsUtil[_0x489d8f(0x19c)]('display'),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':'icon','header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x17c)),'sortable':!0x0,'width':0x41,'record':{'align':_0x489d8f(0x18c),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x17a),'header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x193)),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x17d),'header':TermsUtil['tLabel'](_0x489d8f(0x183)),'sortable':!0x1,'width':0x96,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':'location','header':TermsUtil[_0x489d8f(0x19c)]('page_location'),'sortable':!0x1,'width':0x12c,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x489d8f(0x1a0),'header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x180)),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x19a),'header':TermsUtil['tLabel'](_0x489d8f(0x178)),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}}]};}};
@@ -1,4 +1,4 @@
1
- var a0_0x426696=a0_0x4e4f;function a0_0x4e4f(_0x1f1aa0,_0x133cb7){var _0x7cbaa3=a0_0x7cba();return a0_0x4e4f=function(_0x4e4f00,_0x23e690){_0x4e4f00=_0x4e4f00-0x180;var _0x47706b=_0x7cbaa3[_0x4e4f00];return _0x47706b;},a0_0x4e4f(_0x1f1aa0,_0x133cb7);}function a0_0x7cba(){var _0x4c0320=['901683PAvbOa','123630UnkFzf','23oQaYti','tool\x20start\x20msg','77394yVzoxv','customElements','6982bseUZC','render','define','89565vvohca','118670PnjnAq','operato-tools-main','21mNuLsU','20yOTAje','315728NBNZUV'];a0_0x7cba=function(){return _0x4c0320;};return a0_0x7cba();}(function(_0xc87037,_0x5de3de){var _0x219374=a0_0x4e4f,_0x51007e=_0xc87037();while(!![]){try{var _0xd1bd00=-parseInt(_0x219374(0x183))/0x1*(parseInt(_0x219374(0x187))/0x2)+parseInt(_0x219374(0x18a))/0x3*(parseInt(_0x219374(0x18e))/0x4)+-parseInt(_0x219374(0x18b))/0x5+parseInt(_0x219374(0x185))/0x6*(parseInt(_0x219374(0x18d))/0x7)+-parseInt(_0x219374(0x180))/0x8+parseInt(_0x219374(0x181))/0x9+-parseInt(_0x219374(0x182))/0xa;if(_0xd1bd00===_0x5de3de)break;else _0x51007e['push'](_0x51007e['shift']());}catch(_0x470812){_0x51007e['push'](_0x51007e['shift']());}}}(a0_0x7cba,0x204cf));import{html,css}from'lit-element';import{connect}from'pwa-helpers/connect-mixin.js';import{store,PageView}from'@things-factory/shell';import{TermsUtil}from'@things-factory/meta-ui';class OperatoToolsMain extends connect(store)(PageView){static get['styles'](){return[css`
1
+ var a0_0x417f97=a0_0x5aa3;function a0_0x1124(){var _0x4d656d=['tText','tool\x20start\x20msg','define','240COfOeE','109863VUoMDj','14HfILWL','Operato\x20Tools','render','271827dgqaou','17682148qejrUF','customElements','84222PYIqfx','26ignvCM','1078504dSEQev','operato-tools-main','8305CiMddM','2700812sTETBW','20xpFnVs'];a0_0x1124=function(){return _0x4d656d;};return a0_0x1124();}function a0_0x5aa3(_0x333224,_0x1f11b4){var _0x1124c6=a0_0x1124();return a0_0x5aa3=function(_0x5aa3b4,_0x151154){_0x5aa3b4=_0x5aa3b4-0x19c;var _0x3d2c03=_0x1124c6[_0x5aa3b4];return _0x3d2c03;},a0_0x5aa3(_0x333224,_0x1f11b4);}(function(_0x47df8b,_0x27048d){var _0x2ee343=a0_0x5aa3,_0x255f9d=_0x47df8b();while(!![]){try{var _0x2031b0=-parseInt(_0x2ee343(0x1a7))/0x1+parseInt(_0x2ee343(0x1a4))/0x2*(parseInt(_0x2ee343(0x19c))/0x3)+-parseInt(_0x2ee343(0x1a8))/0x4+-parseInt(_0x2ee343(0x1ad))/0x5*(parseInt(_0x2ee343(0x1a3))/0x6)+-parseInt(_0x2ee343(0x19d))/0x7*(parseInt(_0x2ee343(0x1a5))/0x8)+-parseInt(_0x2ee343(0x1a0))/0x9*(parseInt(_0x2ee343(0x1a9))/0xa)+parseInt(_0x2ee343(0x1a1))/0xb;if(_0x2031b0===_0x27048d)break;else _0x255f9d['push'](_0x255f9d['shift']());}catch(_0x4a2947){_0x255f9d['push'](_0x255f9d['shift']());}}}(a0_0x1124,0x60bc1));import{html,css}from'lit-element';import{connect}from'pwa-helpers/connect-mixin.js';import{store,PageView}from'@things-factory/shell';import{TermsUtil}from'@things-factory/meta-ui';class OperatoToolsMain extends connect(store)(PageView){static get['styles'](){return[css`
2
2
  :host {
3
3
  display: block;
4
4
  background-color: var(--main-section-background-color);
@@ -41,11 +41,11 @@ var a0_0x426696=a0_0x4e4f;function a0_0x4e4f(_0x1f1aa0,_0x133cb7){var _0x7cbaa3=
41
41
  display: none;
42
42
  }
43
43
  }
44
- `];}get['context'](){return{'title':'Operato\x20Tools','actions':[]};}[a0_0x426696(0x188)](){var _0x151db9=a0_0x426696;return html`
44
+ `];}get['context'](){var _0x36666f=a0_0x5aa3;return{'title':_0x36666f(0x19e),'actions':[]};}[a0_0x417f97(0x19f)](){var _0x3a4bdc=a0_0x417f97;return html`
45
45
  <h2>Operato Tools</h2>
46
46
  <p page-description>
47
- ${TermsUtil['tText'](_0x151db9(0x184))}
47
+ ${TermsUtil[_0x3a4bdc(0x1aa)](_0x3a4bdc(0x1ab))}
48
48
  </p>
49
49
 
50
50
  <img src="/assets/images/operato-tools.png" />
51
- `;}}window[a0_0x426696(0x186)][a0_0x426696(0x189)](a0_0x426696(0x18c),OperatoToolsMain);
51
+ `;}}window[a0_0x417f97(0x1a2)][a0_0x417f97(0x1ac)](a0_0x417f97(0x1a6),OperatoToolsMain);
@@ -1 +1 @@
1
- function a0_0x28fa(_0x2b6ff8,_0x26ed29){const _0x4c99a3=a0_0x4c99();return a0_0x28fa=function(_0x28fa74,_0x518ab1){_0x28fa74=_0x28fa74-0x190;let _0x9abf12=_0x4c99a3[_0x28fa74];return _0x9abf12;},a0_0x28fa(_0x2b6ff8,_0x26ed29);}(function(_0x1a2e24,_0x2e4c05){const _0x2792bb=a0_0x28fa,_0x4f3695=_0x1a2e24();while(!![]){try{const _0x3c96fb=parseInt(_0x2792bb(0x190))/0x1*(parseInt(_0x2792bb(0x197))/0x2)+parseInt(_0x2792bb(0x192))/0x3*(-parseInt(_0x2792bb(0x194))/0x4)+-parseInt(_0x2792bb(0x191))/0x5*(-parseInt(_0x2792bb(0x196))/0x6)+-parseInt(_0x2792bb(0x19f))/0x7*(-parseInt(_0x2792bb(0x19d))/0x8)+-parseInt(_0x2792bb(0x19e))/0x9+parseInt(_0x2792bb(0x1a0))/0xa*(-parseInt(_0x2792bb(0x199))/0xb)+parseInt(_0x2792bb(0x19c))/0xc;if(_0x3c96fb===_0x2e4c05)break;else _0x4f3695['push'](_0x4f3695['shift']());}catch(_0x21dd54){_0x4f3695['push'](_0x4f3695['shift']());}}}(a0_0x4c99,0x6438f));import a0_0xe857cd from'graphql-tag';import{i18next}from'@operato/i18n';import{store}from'@operato/shell';function a0_0x4c99(){const _0x24f2cd=['445KljsUR','18HjwZgu','type','504340dqfayc','studioPermission','10884sGClti','2974ppbtqM','data','174592ZbNLhr','state','dispatch','12251664ACvgjY','1304YvxeKs','5312601xvVdSF','28931TgwtAB','140ifPrsp','83ZeWsjS'];a0_0x4c99=function(){return _0x24f2cd;};return a0_0x4c99();}import{client,gqlContext}from'@operato/graphql';import{UPDATE_OPERATO_TOOLS}from'../actions/main';const INITIAL_STATE={'operatoTools':'ABC','studioPermission':!0x1};export const UPDATE_OPERATO_TOOLS_PERMISSION='UPDATE_OPERATO_TOOLS_PERMISSION';((async()=>{const _0x50a279=a0_0x28fa;var _0x38d429=await client['query']({'query':a0_0xe857cd`{studioPermission}`});let _0x4c8194=!0x1;_0x38d429['errors']||(_0x4c8194=_0x38d429[_0x50a279(0x198)][_0x50a279(0x195)]),store[_0x50a279(0x19b)]({'type':UPDATE_OPERATO_TOOLS_PERMISSION,'state':{'studioPermission':_0x4c8194}});})());const operatoTools=(_0x5069a0=INITIAL_STATE,_0x43bb23)=>{const _0x56a596=a0_0x28fa;switch(_0x43bb23[_0x56a596(0x193)]){case UPDATE_OPERATO_TOOLS:return{..._0x5069a0};case UPDATE_OPERATO_TOOLS_PERMISSION:return{...INITIAL_STATE,..._0x43bb23[_0x56a596(0x19a)]};default:return _0x5069a0;}};export default operatoTools;
1
+ const a0_0x2acc34=a0_0x4cc5;(function(_0x3fff14,_0x1a71a0){const _0x197d08=a0_0x4cc5,_0x2ace6e=_0x3fff14();while(!![]){try{const _0xe6b826=-parseInt(_0x197d08(0x1a2))/0x1*(-parseInt(_0x197d08(0x1a9))/0x2)+-parseInt(_0x197d08(0x1a3))/0x3+parseInt(_0x197d08(0x1a1))/0x4*(parseInt(_0x197d08(0x1a8))/0x5)+-parseInt(_0x197d08(0x1a5))/0x6+parseInt(_0x197d08(0x1a7))/0x7+parseInt(_0x197d08(0x1ad))/0x8*(-parseInt(_0x197d08(0x19f))/0x9)+parseInt(_0x197d08(0x1a4))/0xa;if(_0xe6b826===_0x1a71a0)break;else _0x2ace6e['push'](_0x2ace6e['shift']());}catch(_0x4c3319){_0x2ace6e['push'](_0x2ace6e['shift']());}}}(a0_0x48b7,0x1dfb5));import a0_0x2ceecd from'graphql-tag';function a0_0x4cc5(_0x3d15e0,_0x454a5e){const _0x48b731=a0_0x48b7();return a0_0x4cc5=function(_0x4cc520,_0x5bab72){_0x4cc520=_0x4cc520-0x19f;let _0x69ee6a=_0x48b731[_0x4cc520];return _0x69ee6a;},a0_0x4cc5(_0x3d15e0,_0x454a5e);}import{i18next}from'@operato/i18n';import{store}from'@operato/shell';import{client,gqlContext}from'@operato/graphql';import{UPDATE_OPERATO_TOOLS}from'../actions/main';const INITIAL_STATE={'operatoTools':'ABC','studioPermission':!0x1};function a0_0x48b7(){const _0x5a56fc=['1646GySEud','type','UPDATE_OPERATO_TOOLS_PERMISSION','data','1460256jxSYpp','query','9erlNaI','errors','243088dvaAFo','35EVUiSP','449634Xqhlta','2645780yfiCri','539760DqYgJz','dispatch','486332fsIeJb','15yCoCml'];a0_0x48b7=function(){return _0x5a56fc;};return a0_0x48b7();}export const UPDATE_OPERATO_TOOLS_PERMISSION=a0_0x2acc34(0x1ab);((async()=>{const _0x310508=a0_0x2acc34;var _0x1b54d1=await client[_0x310508(0x1ae)]({'query':a0_0x2ceecd`{studioPermission}`});let _0x1a5dd2=!0x1;_0x1b54d1[_0x310508(0x1a0)]||(_0x1a5dd2=_0x1b54d1[_0x310508(0x1ac)]['studioPermission']),store[_0x310508(0x1a6)]({'type':UPDATE_OPERATO_TOOLS_PERMISSION,'state':{'studioPermission':_0x1a5dd2}});})());const operatoTools=(_0xa214de=INITIAL_STATE,_0x386bf8)=>{const _0x2db337=a0_0x2acc34;switch(_0x386bf8[_0x2db337(0x1aa)]){case UPDATE_OPERATO_TOOLS:return{..._0xa214de};case UPDATE_OPERATO_TOOLS_PERMISSION:return{...INITIAL_STATE,..._0x386bf8['state']};default:return _0xa214de;}};export default operatoTools;
@@ -1 +1 @@
1
- 'use strict';var a0_0x2318e2=a0_0x40da;(function(_0x13012a,_0x5eb231){var _0x1aad49=a0_0x40da,_0x2ea57f=_0x13012a();while(!![]){try{var _0x33ae22=-parseInt(_0x1aad49(0x88))/0x1*(parseInt(_0x1aad49(0x8c))/0x2)+parseInt(_0x1aad49(0x8d))/0x3*(-parseInt(_0x1aad49(0x8e))/0x4)+-parseInt(_0x1aad49(0x8a))/0x5*(parseInt(_0x1aad49(0x89))/0x6)+-parseInt(_0x1aad49(0x7e))/0x7*(-parseInt(_0x1aad49(0x81))/0x8)+-parseInt(_0x1aad49(0x87))/0x9+parseInt(_0x1aad49(0x86))/0xa+parseInt(_0x1aad49(0x82))/0xb*(parseInt(_0x1aad49(0x84))/0xc);if(_0x33ae22===_0x5eb231)break;else _0x2ea57f['push'](_0x2ea57f['shift']());}catch(_0x159053){_0x2ea57f['push'](_0x2ea57f['shift']());}}}(a0_0x51c5,0x4a504));function a0_0x51c5(){var _0x485d00=['553290YcBnkO','defineProperty','6WpVMYH','9oQYjTO','107720OqnHpS','error.invalid\x20license\x20key','29113tCUAia','__esModule','error.page\x20count\x20over\x20license\x20limit','296rWDdha','11drCbUg','OVER_LIMIT','9181704qHewfE','INVALID_LICENSE','1258350VZLGFS','67419RxUaui','180511wkRTbh','6xwCyLi'];a0_0x51c5=function(){return _0x485d00;};return a0_0x51c5();}function a0_0x40da(_0x222030,_0x59e38f){var _0x51c5a9=a0_0x51c5();return a0_0x40da=function(_0x40daa9,_0x43ba6e){_0x40daa9=_0x40daa9-0x7e;var _0x5b69b6=_0x51c5a9[_0x40daa9];return _0x5b69b6;},a0_0x40da(_0x222030,_0x59e38f);}Object[a0_0x2318e2(0x8b)](exports,a0_0x2318e2(0x7f),{'value':!0x0}),exports[a0_0x2318e2(0x83)]=exports[a0_0x2318e2(0x85)]=void 0x0,exports['INVALID_LICENSE']=a0_0x2318e2(0x8f),exports[a0_0x2318e2(0x83)]=a0_0x2318e2(0x80);
1
+ 'use strict';var a0_0x3f411e=a0_0x5e0f;function a0_0x5af7(){var _0x5ed7ae=['26118DLFVXJ','INVALID_LICENSE','450186geNZVG','2072838GYwbbG','5227796WMHTza','error.page\x20count\x20over\x20license\x20limit','6965GkWzDA','OVER_LIMIT','3798pHnimU','__esModule','error.invalid\x20license\x20key','399911vPxfYp','12016GnJzQk','3033432lkyfXd'];a0_0x5af7=function(){return _0x5ed7ae;};return a0_0x5af7();}function a0_0x5e0f(_0x4fe419,_0x26d090){var _0x5af7f4=a0_0x5af7();return a0_0x5e0f=function(_0x5e0f19,_0x50ced8){_0x5e0f19=_0x5e0f19-0x1f1;var _0x4f8fe5=_0x5af7f4[_0x5e0f19];return _0x4f8fe5;},a0_0x5e0f(_0x4fe419,_0x26d090);}(function(_0x24ebb7,_0x3f3539){var _0x2ecd7a=a0_0x5e0f,_0x455a61=_0x24ebb7();while(!![]){try{var _0x5b5b8a=-parseInt(_0x2ecd7a(0x1f7))/0x1+-parseInt(_0x2ecd7a(0x1fd))/0x2+parseInt(_0x2ecd7a(0x1fc))/0x3+-parseInt(_0x2ecd7a(0x1f9))/0x4+-parseInt(_0x2ecd7a(0x1f2))/0x5*(parseInt(_0x2ecd7a(0x1f4))/0x6)+-parseInt(_0x2ecd7a(0x1fe))/0x7+parseInt(_0x2ecd7a(0x1f8))/0x8*(parseInt(_0x2ecd7a(0x1fa))/0x9);if(_0x5b5b8a===_0x3f3539)break;else _0x455a61['push'](_0x455a61['shift']());}catch(_0x494568){_0x455a61['push'](_0x455a61['shift']());}}}(a0_0x5af7,0xa760d));Object['defineProperty'](exports,a0_0x3f411e(0x1f5),{'value':!0x0}),exports[a0_0x3f411e(0x1f3)]=exports[a0_0x3f411e(0x1fb)]=void 0x0,exports[a0_0x3f411e(0x1fb)]=a0_0x3f411e(0x1f6),exports[a0_0x3f411e(0x1f3)]=a0_0x3f411e(0x1f1);
@@ -1 +1 @@
1
- 'use strict';const a0_0x2a0729=a0_0x419f;(function(_0x3973c4,_0x49beb2){const _0x5cd475=a0_0x419f,_0x50c5da=_0x3973c4();while(!![]){try{const _0x16b3be=-parseInt(_0x5cd475(0xe6))/0x1*(-parseInt(_0x5cd475(0xed))/0x2)+-parseInt(_0x5cd475(0xf7))/0x3*(parseInt(_0x5cd475(0xef))/0x4)+parseInt(_0x5cd475(0xe7))/0x5*(parseInt(_0x5cd475(0xf3))/0x6)+-parseInt(_0x5cd475(0xf5))/0x7+-parseInt(_0x5cd475(0xf2))/0x8+parseInt(_0x5cd475(0xee))/0x9*(-parseInt(_0x5cd475(0xf6))/0xa)+-parseInt(_0x5cd475(0xea))/0xb*(-parseInt(_0x5cd475(0xec))/0xc);if(_0x16b3be===_0x49beb2)break;else _0x50c5da['push'](_0x50c5da['shift']());}catch(_0x9d0afa){_0x50c5da['push'](_0x50c5da['shift']());}}}(a0_0x340b,0xd8c39));function a0_0x419f(_0x485758,_0x434d56){const _0x340b82=a0_0x340b();return a0_0x419f=function(_0x419ffe,_0x88568d){_0x419ffe=_0x419ffe-0xe5;let _0x2ccc18=_0x340b82[_0x419ffe];return _0x2ccc18;},a0_0x419f(_0x485758,_0x434d56);}Object[a0_0x2a0729(0xe5)](exports,'__esModule',{'value':!0x0}),exports[a0_0x2a0729(0xf1)]=void 0x0;const tslib_1=require(a0_0x2a0729(0xf0)),ERROR_CODES=tslib_1[a0_0x2a0729(0xe8)](require(a0_0x2a0729(0xf4)));function a0_0x340b(){const _0x266bcb=['8172klmQkq','274TjTktz','495JVdXMK','6153384AxkOVm','tslib','LicenseError','11397984fCpTvB','88494lVsWiK','../constants/error-code','12218703cNQVmk','194390iIGKcB','3xiicOo','defineProperty','317tByMnu','245mbpJzN','__importStar','detail','95293lUMJhy','ERROR_CODES'];a0_0x340b=function(){return _0x266bcb;};return a0_0x340b();}class LicenseError extends Error{static get[a0_0x2a0729(0xeb)](){return Object['assign']({},ERROR_CODES);}constructor({errorCode:_0x3c1428,detail:_0x4c4259}){const _0x2d0673=a0_0x2a0729;super(_0x3c1428),this['name']='license-error',this['errorCode']=_0x3c1428,this[_0x2d0673(0xe9)]=_0x4c4259;}}exports[a0_0x2a0729(0xf1)]=LicenseError;
1
+ 'use strict';const a0_0xda4c5a=a0_0x2fad;function a0_0x496d(){const _0x11684d=['detail','name','200449GKSFrY','441189oGiqRK','ERROR_CODES','__esModule','408635mMUKtb','4ACFiyM','LicenseError','../constants/error-code','__importStar','assign','license-error','tslib','1752740TDEolN','1804803RTEyyh','10837168xjeINm','defineProperty','302778PXBBKd'];a0_0x496d=function(){return _0x11684d;};return a0_0x496d();}(function(_0xcabe97,_0x5a9882){const _0x3993e7=a0_0x2fad,_0x4f19ee=_0xcabe97();while(!![]){try{const _0x452f31=parseInt(_0x3993e7(0x16a))/0x1+parseInt(_0x3993e7(0x176))/0x2+parseInt(_0x3993e7(0x177))/0x3+-parseInt(_0x3993e7(0x16f))/0x4*(-parseInt(_0x3993e7(0x16e))/0x5)+parseInt(_0x3993e7(0x167))/0x6+parseInt(_0x3993e7(0x16b))/0x7+-parseInt(_0x3993e7(0x165))/0x8;if(_0x452f31===_0x5a9882)break;else _0x4f19ee['push'](_0x4f19ee['shift']());}catch(_0x1291a5){_0x4f19ee['push'](_0x4f19ee['shift']());}}}(a0_0x496d,0x7eb4f));Object[a0_0xda4c5a(0x166)](exports,a0_0xda4c5a(0x16d),{'value':!0x0}),exports['LicenseError']=void 0x0;function a0_0x2fad(_0x5dbf8a,_0x75d660){const _0x496d18=a0_0x496d();return a0_0x2fad=function(_0x2fadac,_0x6a147a){_0x2fadac=_0x2fadac-0x165;let _0x1c8d9b=_0x496d18[_0x2fadac];return _0x1c8d9b;},a0_0x2fad(_0x5dbf8a,_0x75d660);}const tslib_1=require(a0_0xda4c5a(0x175)),ERROR_CODES=tslib_1[a0_0xda4c5a(0x172)](require(a0_0xda4c5a(0x171)));class LicenseError extends Error{static get[a0_0xda4c5a(0x16c)](){const _0x582fb2=a0_0xda4c5a;return Object[_0x582fb2(0x173)]({},ERROR_CODES);}constructor({errorCode:_0x174dda,detail:_0x254bc2}){const _0x22469f=a0_0xda4c5a;super(_0x174dda),this[_0x22469f(0x169)]=_0x22469f(0x174),this['errorCode']=_0x174dda,this[_0x22469f(0x168)]=_0x254bc2;}}exports[a0_0xda4c5a(0x170)]=LicenseError;