@things-factory/operato-tools 6.0.3 → 6.0.5

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_0x4e1ef9=a0_0x1283;function a0_0x27d4(){const _0x4507a5=['grid_use_filter','grid_term_50','grid_term_default','pages','grid_term_','grid_row_check_use','GRID','tLabel','option','description','grid_support_multi_select','grid_mobile_view','getGridConfigTabValues','gridViewModes','select-row-toggle','grid_pagination','row','428654lXRRkT','grid_term_unlimited','grid_desk_view','setGridConfigTabDetaultValues','renderGridConfigTab','979100wBJMUT','grid','3559790KyMuNu','viewGridData','toLowerCase','map','_view_use','mobile_mode','list_view_use','use_row_checker','grid_support_view','length','name','grid_view_use','setGridConfigTabValues','grid_use_row_check','true','view_mode','setGridConfigTabConfig','use_filter_form','getElementValueById','GRID_PAGE_OPTIONS','CARD','7lWItXu','3157576ZotQkZ','5823960UWWxcI','grid_term_1000','grid_multi_select','1733739oyYCYL','unuse','unlimited','multiple_select','card_view_use','unsupport','includes','LIST','codeItems','gridPageOptions','2435464lNvxKo','use','push'];a0_0x27d4=function(){return _0x4507a5;};return a0_0x27d4();}(function(_0x542bc4,_0x47fc86){const _0x143e8d=a0_0x1283,_0x278d89=_0x542bc4();while(!![]){try{const _0x367937=-parseInt(_0x143e8d(0x1cc))/0x1+parseInt(_0x143e8d(0x1f7))/0x2+-parseInt(_0x143e8d(0x1ed))/0x3+-parseInt(_0x143e8d(0x1d1))/0x4+-parseInt(_0x143e8d(0x1d3))/0x5+parseInt(_0x143e8d(0x1ea))/0x6+-parseInt(_0x143e8d(0x1e8))/0x7*(-parseInt(_0x143e8d(0x1e9))/0x8);if(_0x367937===_0x47fc86)break;else _0x278d89['push'](_0x278d89['shift']());}catch(_0x119ad8){_0x278d89['push'](_0x278d89['shift']());}}}(a0_0x27d4,0x9750d));function a0_0x1283(_0x4b9f8b,_0xee7563){const _0x27d4f4=a0_0x27d4();return a0_0x1283=function(_0x1283c7,_0x325f0d){_0x1283c7=_0x1283c7-0x1c4;let _0x542f3b=_0x27d4f4[_0x1283c7];return _0x542f3b;},a0_0x1283(_0x4b9f8b,_0xee7563);}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=_0x3f5917=>class extends _0x3f5917{[a0_0x4e1ef9(0x1df)](_0x183d7b){const _0xd2d509=a0_0x4e1ef9;if(_0x183d7b){var {mobile_mode:_0x2b1538='',desk_mode:_0x14c774='',pages:_0x43dca0=[],use_row_checker:_0x424756=!0x0,view_mode:_0x36222f=[],use_filter_form:_0x50a02c=!0x0}=_0x183d7b[_0xd2d509(0x202)]||{};let _0x56f45e=(_0x183d7b[_0xd2d509(0x1cb)]||{'multiple_select':!0x1})[_0xd2d509(0x1f0)],_0xea5a31=_0xd2d509(0x1ef)==_0x43dca0?_0xd2d509(0x1cd):0x0==_0x43dca0[_0xd2d509(0x1dc)]?'':0x14==_0x43dca0[0x0]?'grid_term_default':_0xd2d509(0x1fe)+_0x43dca0[0x0];this[_0xd2d509(0x1d4)]={'mobile_mode':_0x2b1538,'desk_mode':_0x14c774,'use_row_checker':_0x424756,'pages':_0xea5a31,'view_mode':_0x36222f,'multiple_select':_0x56f45e,'use_filter_form':_0x50a02c};}else this[_0xd2d509(0x1cf)]();}[a0_0x4e1ef9(0x1c7)](){const _0x311d93=a0_0x4e1ef9;let _0x5edfd9={'grid':{'option':{},'row':{'click':_0x311d93(0x1c9)}}},_0x3fda4e=this[_0x311d93(0x1e5)](_0x311d93(0x1ff)),_0x2f9054=this[_0x311d93(0x1e5)](_0x311d93(0x1ec)),_0x3f6a23=this[_0x311d93(0x1e5)](_0x311d93(0x1ce)),_0x395323=this['getElementValueById'](_0x311d93(0x1c6)),_0x4ffee9=this[_0x311d93(0x1e5)](_0x311d93(0x1fa)),_0xf61f65=this[_0x311d93(0x1e5)](_0x311d93(0x1ca)),_0x2b7eb7=this['getElementValueById'](_0x311d93(0x1de)),_0x55016f=this[_0x311d93(0x1e5)](_0x311d93(0x1d9)),_0x53804c=this['getElementValueById'](_0x311d93(0x1f1));return _0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x1e4)]='true'==_0x4ffee9,_0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x1cb)]['multiple_select']=_0x311d93(0x1e1)==_0x2f9054,_0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x202)][_0x311d93(0x1da)]=_0x311d93(0x1e1)==_0x3fda4e,_0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x202)][_0x311d93(0x1d8)]=_0x395323,_0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x202)]['desk_mode']=_0x3f6a23,_0x311d93(0x1fc)==_0xf61f65?_0x5edfd9[_0x311d93(0x1d2)]['option'][_0x311d93(0x1fd)]=[0x14,0x1e,0x32,0x64]:_0x311d93(0x1fb)==_0xf61f65?_0x5edfd9[_0x311d93(0x1d2)]['option'][_0x311d93(0x1fd)]=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0xf61f65?_0x5edfd9['grid']['option'][_0x311d93(0x1fd)]=[0x64,0x1f4,0x3e8,0x1388]:_0x311d93(0x1eb)==_0xf61f65?_0x5edfd9['grid'][_0x311d93(0x202)][_0x311d93(0x1fd)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x311d93(0x1cd)==_0xf61f65&&(_0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x202)][_0x311d93(0x1fd)]=_0x311d93(0x1ef)),_0x5edfd9['grid'][_0x311d93(0x202)][_0x311d93(0x1e2)]=[],_0x311d93(0x1e1)==_0x2b7eb7&&_0x5edfd9['grid'][_0x311d93(0x202)][_0x311d93(0x1e2)]['push'](_0x311d93(0x200)),_0x311d93(0x1e1)==_0x55016f&&_0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x202)][_0x311d93(0x1e2)][_0x311d93(0x1f9)](_0x311d93(0x1f4)),'true'==_0x53804c&&_0x5edfd9[_0x311d93(0x1d2)][_0x311d93(0x202)][_0x311d93(0x1e2)][_0x311d93(0x1f9)](_0x311d93(0x1e7)),_0x5edfd9;}async[a0_0x4e1ef9(0x1e3)](){const _0x2a8756=a0_0x4e1ef9;let _0x52b248=await MetaApi['codeItems'](_0x2a8756(0x1e6)),_0x1c1350=await MetaApi[_0x2a8756(0x1f5)]('GRID_VIEW_MODE');this['gridViewModes']=_0x1c1350,this[_0x2a8756(0x1f6)]=_0x52b248;}['setGridConfigTabDetaultValues'](){const _0x15710e=a0_0x4e1ef9;this['viewGridData']||(this[_0x15710e(0x1d4)]={'mobile_mode':this[_0x15710e(0x1c8)]?this[_0x15710e(0x1c8)][0x1]:_0x15710e(0x1f4),'desk_mode':this[_0x15710e(0x1c8)]?this['gridViewModes'][0x0]:'GRID','use_row_checker':!0x0,'pages':_0x15710e(0x1fc),'view_mode':[...this[_0x15710e(0x1c8)]?this[_0x15710e(0x1c8)]:[_0x15710e(0x200),'LIST',_0x15710e(0x1e7)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x4e1ef9(0x1d0)](){const _0x30cc4e=a0_0x4e1ef9;return this[_0x30cc4e(0x1cf)](),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['tLabel'](_0x30cc4e(0x1e0))}
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[_0x30cc4e(0x1d4)][_0x30cc4e(0x1da)]}>${TermsUtil['tLabel'](_0x30cc4e(0x1f8))}</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[_0x30cc4e(0x1d4)]['use_row_checker']}>${TermsUtil[_0x30cc4e(0x201)](_0x30cc4e(0x1ee))}</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[_0x30cc4e(0x201)](_0x30cc4e(0x1c5))}
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[_0x30cc4e(0x1d4)][_0x30cc4e(0x1f0)]}>${TermsUtil['tLabel']('support')}</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[_0x30cc4e(0x1d4)]['multiple_select']}>${TermsUtil[_0x30cc4e(0x201)](_0x30cc4e(0x1f2))}</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[_0x30cc4e(0x201)](_0x30cc4e(0x1fa))}
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'][_0x30cc4e(0x1e4)]}>${TermsUtil[_0x30cc4e(0x201)]('use')}</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[_0x30cc4e(0x1d4)][_0x30cc4e(0x1e4)]}>${TermsUtil[_0x30cc4e(0x201)]('unuse')}</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'](_0x30cc4e(0x1ce))}
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['gridViewModes']?.[_0x30cc4e(0x1d6)](_0x35f069=>html`<option value=${_0x35f069[_0x30cc4e(0x1dd)]} ?selected=${this[_0x30cc4e(0x1d4)]['desk_mode']==_0x35f069[_0x30cc4e(0x1dd)]}>${_0x35f069[_0x30cc4e(0x1c4)]}</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[_0x30cc4e(0x201)](_0x30cc4e(0x1c6))}
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[_0x30cc4e(0x1c8)]?.['map'](_0x4825d5=>html`<option value=${_0x4825d5[_0x30cc4e(0x1dd)]} ?selected=${this[_0x30cc4e(0x1d4)][_0x30cc4e(0x1d8)]==_0x4825d5[_0x30cc4e(0x1dd)]}>${_0x4825d5[_0x30cc4e(0x1c4)]}</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['tLabel'](_0x30cc4e(0x1db))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xf1))}
66
66
  </h2>
67
67
  <label>
68
- ${this[_0x30cc4e(0x1c8)]?.[_0x30cc4e(0x1d6)](_0x440053=>html`
69
- <span>${_0x440053[_0x30cc4e(0x1dd)]}
70
- <input type="radio" name=${_0x440053[_0x30cc4e(0x1dd)][_0x30cc4e(0x1d5)]()+_0x30cc4e(0x1d7)} id=${_0x440053[_0x30cc4e(0x1dd)][_0x30cc4e(0x1d5)]()+_0x30cc4e(0x1d7)} ?checked=${this['viewGridData'][_0x30cc4e(0x1e2)][_0x30cc4e(0x1f3)](_0x440053[_0x30cc4e(0x1dd)])} value="true">${TermsUtil[_0x30cc4e(0x201)]('use')}</input>
71
- <input type="radio" name=${_0x440053[_0x30cc4e(0x1dd)][_0x30cc4e(0x1d5)]()+_0x30cc4e(0x1d7)} id=${_0x440053['name'][_0x30cc4e(0x1d5)]()+'_view_use'} ?checked=${!this[_0x30cc4e(0x1d4)][_0x30cc4e(0x1e2)][_0x30cc4e(0x1f3)](_0x440053[_0x30cc4e(0x1dd)])} value="false">${TermsUtil['tLabel']('unuse')}</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[_0x30cc4e(0x201)](_0x30cc4e(0x1ca))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xe2))}
79
79
  </h2>
80
80
  <label>
81
- ${this[_0x30cc4e(0x1f6)]?.[_0x30cc4e(0x1d6)](_0x4fb662=>html`
81
+ ${this[_0x4e2b3e(0x110)]?.[_0x4e2b3e(0xd7)](_0x1a34d3=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x4fb662[_0x30cc4e(0x1dd)]} ?checked=${this['viewGridData'][_0x30cc4e(0x1fd)]==_0x4fb662[_0x30cc4e(0x1dd)]}>${TermsUtil[_0x30cc4e(0x201)](_0x4fb662[_0x30cc4e(0x1dd)])}</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>
@@ -1,30 +1,30 @@
1
- const a0_0x4e2ef2=a0_0x56d7;(function(_0x5e698d,_0x4f0fd2){const _0x51057f=a0_0x56d7,_0x2b8161=_0x5e698d();while(!![]){try{const _0x5f2f7d=-parseInt(_0x51057f(0x173))/0x1*(parseInt(_0x51057f(0x16d))/0x2)+parseInt(_0x51057f(0x177))/0x3*(parseInt(_0x51057f(0x169))/0x4)+-parseInt(_0x51057f(0x170))/0x5*(parseInt(_0x51057f(0x180))/0x6)+parseInt(_0x51057f(0x16b))/0x7*(parseInt(_0x51057f(0x17d))/0x8)+-parseInt(_0x51057f(0x166))/0x9+parseInt(_0x51057f(0x179))/0xa+-parseInt(_0x51057f(0x178))/0xb*(-parseInt(_0x51057f(0x167))/0xc);if(_0x5f2f7d===_0x4f0fd2)break;else _0x2b8161['push'](_0x2b8161['shift']());}catch(_0x3a5774){_0x2b8161['push'](_0x2b8161['shift']());}}}(a0_0x3a64,0x2c170));import{html}from'lit-element';function a0_0x56d7(_0x49c39d,_0x262321){const _0x3a6448=a0_0x3a64();return a0_0x56d7=function(_0x56d727,_0xc125d7){_0x56d727=_0x56d727-0x163;let _0x4a1f4b=_0x3a6448[_0x56d727];return _0x4a1f4b;},a0_0x56d7(_0x49c39d,_0x262321);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x3a64(){const _0x57cb29=['menu','976lFHlNk','desc','menu_title','726kySDyA','help_doc','getElementValueById','setMenuConfigTabDefaultValue','tLabel','title','menuTitleChange','2052810cphHQz','36RSWjMu','target','4eZQlCG','value','10661NuerZV','menu_name_field','296vYobFH','name','display','5710gtfouA','tTitle','renderMenuConfigTab','2383FZQyxB','viewMenuData','getMenuConfigTabValues','description','172317EqchoL','1418923KoTNmT','2693240PYGVOU','setMenuConfigTabValues','getElementById'];a0_0x3a64=function(){return _0x57cb29;};return a0_0x3a64();}export const MenuConfigTabMixin=_0x173d59=>class extends _0x173d59{[a0_0x4e2ef2(0x17a)](_0x19da41){const _0x14b9e7=a0_0x4e2ef2;if(_0x19da41){var {title:_0xf95aaa='',name:_0x8b32da='',desc:_0x51236c='',help:_0x5a03e3=''}=_0x19da41||{};this['viewMenuData']={'title':_0xf95aaa,'name':_0x8b32da,'desc':_0x51236c,'help_doc':_0x5a03e3},this[_0x14b9e7(0x17b)](_0x14b9e7(0x164))[_0x14b9e7(0x16a)]=_0xf95aaa,this[_0x14b9e7(0x17b)]('name')[_0x14b9e7(0x16a)]=_0x8b32da,this[_0x14b9e7(0x17b)](_0x14b9e7(0x17e))[_0x14b9e7(0x16a)]=_0x51236c,this[_0x14b9e7(0x17b)](_0x14b9e7(0x181))['value']=_0x5a03e3;}else this['setMenuConfigTabDefaultValue']();}[a0_0x4e2ef2(0x175)](){const _0xfeda98=a0_0x4e2ef2;let _0x5b9ac4={'menu':{}},_0x2bd963=this['getElementValueById'](_0xfeda98(0x164)),_0x355f3e=this[_0xfeda98(0x182)](_0xfeda98(0x16e)),_0x237dd2=this[_0xfeda98(0x182)]('desc'),_0x2a0b29=this[_0xfeda98(0x182)](_0xfeda98(0x181));return _0x2bd963&&(_0x5b9ac4[_0xfeda98(0x17c)][_0xfeda98(0x164)]=_0x2bd963),_0x355f3e&&(_0x5b9ac4['menu'][_0xfeda98(0x16e)]=_0x355f3e),_0x237dd2&&(_0x5b9ac4[_0xfeda98(0x17c)]['desc']=_0x237dd2),_0x2a0b29&&(_0x5b9ac4[_0xfeda98(0x17c)]['help']=_0x2a0b29),_0x5b9ac4;}[a0_0x4e2ef2(0x183)](){const _0x5e06ac=a0_0x4e2ef2;this[_0x5e06ac(0x174)]||(this[_0x5e06ac(0x174)]={'title':'','name':_0x5e06ac(0x16e),'desc':_0x5e06ac(0x176),'help_doc':''});}[a0_0x4e2ef2(0x165)](_0x1816de){const _0x13368b=a0_0x4e2ef2;let _0x7ab80c=this[_0x13368b(0x17b)]('display');_0x7ab80c&&(_0x7ab80c[_0x13368b(0x16a)]=TermsUtil[_0x13368b(0x171)](_0x1816de[_0x13368b(0x168)][_0x13368b(0x16a)]));}[a0_0x4e2ef2(0x172)](){const _0x305d73=a0_0x4e2ef2;return this[_0x305d73(0x183)](),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[_0x305d73(0x163)](_0x305d73(0x17f))}
5
- <input id="title" name="title" type="text" value=${this[_0x305d73(0x174)]['title']} @change=${_0x1cbbd1=>this[_0x305d73(0x165)](_0x1cbbd1)}/>
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['tLabel'](_0x305d73(0x16f))}
10
- <input id="display" name="display" value=${TermsUtil[_0x305d73(0x171)](this[_0x305d73(0x174)][_0x305d73(0x164)])} 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[_0x305d73(0x163)](_0x305d73(0x16c))}
16
- <input id="name" name="name" type="text" value=${this[_0x305d73(0x174)][_0x305d73(0x16e)]} />
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[_0x305d73(0x163)]('menu_desc_field')}
21
- <input id="desc" name="desc" type="text" value=${this[_0x305d73(0x174)][_0x305d73(0x17e)]} />
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[_0x305d73(0x163)](_0x305d73(0x181))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x305d73(0x174)]['help_doc']} />
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_0x4e4bd6=a0_0xf9e9;(function(_0x453dcd,_0x560409){const _0x9b92cd=a0_0xf9e9,_0x299c6d=_0x453dcd();while(!![]){try{const _0x11915b=parseInt(_0x9b92cd(0x18d))/0x1*(parseInt(_0x9b92cd(0x19c))/0x2)+parseInt(_0x9b92cd(0x171))/0x3*(parseInt(_0x9b92cd(0x157))/0x4)+-parseInt(_0x9b92cd(0x162))/0x5+-parseInt(_0x9b92cd(0x160))/0x6+parseInt(_0x9b92cd(0x1a3))/0x7+parseInt(_0x9b92cd(0x189))/0x8+parseInt(_0x9b92cd(0x180))/0x9*(-parseInt(_0x9b92cd(0x18f))/0xa);if(_0x11915b===_0x560409)break;else _0x299c6d['push'](_0x299c6d['shift']());}catch(_0x2c7d90){_0x299c6d['push'](_0x299c6d['shift']());}}}(a0_0x2ddc,0xe44b8));import a0_0x3d8e4f from'graphql-tag';import{html,css}from'lit-element';function a0_0xf9e9(_0x1d7020,_0x48ade9){const _0x2ddc2b=a0_0x2ddc();return a0_0xf9e9=function(_0xf9e91c,_0x56c2ac){_0xf9e91c=_0xf9e91c-0x154;let _0x37d346=_0x2ddc2b[_0xf9e91c];return _0x37d346;},a0_0xf9e9(_0x1d7020,_0x48ade9);}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';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';function a0_0x2ddc(){const _0x334bce=['define','menuId','search','enc','rank','properties','pageUpdated','display:none','render','push','parse','hidden','option','getElementById','19233wHJCne','tab','dec','pageInitialized','sortRecordByField','grid-','column','map','style','6392208NQYzPN','save','radio','etc','1ACMmwd','toLowerCase','1290VKIJSn','menuName','operatoTools','query','graphql_config','params','dataStorage','setTabData','currentTabKey','search_config','name','getState','value','1511002LHxfca','slice','length','getElementValueById','button','notify','ConfigTabValues','4629709UciMQp','records','thumbnail','forEach','bind','convertFirstCharUpperCase','metaTemplate','initData','querySelector','type','column_config','dirtyData','display:flex','select','toUpperCase','refresh','styles','fields','shadowRoot','template','updateMultipleMenu','ConfigTabConfig','tButton','active','keys','menu_config','sort_rank','sort_desc','options','sortRecordByRank','stringify','grid','ConfigTab','getConfigTab','detail_field','1218124akrjpJ','data','tLabel','sorters','clear','filter','details','charAt','studioPermission','2466714nOWYRR','tMenu','6015440KlBGQT','tabData','findOne','thumbnail_field','desc','menu','lifecycle','back','updateMultiple','etc_config','ox-grist','deleteRow','backToMenu','set','dispatchEvent','6MtNoXm'];a0_0x2ddc=function(){return _0x334bce;};return a0_0x2ddc();}class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(localize(i18next)(PageView)))))))))){static get[a0_0x4e4bd6(0x1b3)](){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_0x4e4bd6=a0_0xf9e9;(function(_0x453dcd,_0x560409){const _0x9b92cd=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0x4e4bd6(0x177)](){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 _0x3d7e92=a0_0x4e4bd6;return{'title':TermsUtil['tTitle']('meta_generator'),'actions':[{'title':TermsUtil[_0x3d7e92(0x1b9)](_0x3d7e92(0x18a)),'action':this[_0x3d7e92(0x18a)][_0x3d7e92(0x1a7)](this),...CommonButtonStyles[_0x3d7e92(0x18a)]},{'title':TermsUtil['tButton'](_0x3d7e92(0x169)),'action':this[_0x3d7e92(0x16e)][_0x3d7e92(0x1a7)](this),...CommonButtonStyles['back']},{'title':TermsUtil[_0x3d7e92(0x1b9)](_0x3d7e92(0x1b2)),'action':this[_0x3d7e92(0x1b2)]['bind'](this),...CommonButtonStyles['refresh']}]};}[a0_0x4e4bd6(0x16d)](_0x26399a,_0x9eeff){const _0xe9820e=a0_0x4e4bd6;let _0x189d1e=_0x26399a[_0xe9820e(0x1ae)];_0x189d1e['records']=_0x189d1e[_0xe9820e(0x1a4)][_0xe9820e(0x15c)](_0xd28502=>_0xd28502['id']!=_0x9eeff['id']),_0x26399a[_0xe9820e(0x158)]=_0x189d1e;}async['save'](){const _0x4ca805=a0_0x4e4bd6;if(0x0==store[_0x4ca805(0x19a)]()[_0x4ca805(0x191)][_0x4ca805(0x15f)])return void document[_0x4ca805(0x170)](new CustomEvent(_0x4ca805(0x1a1),{'detail':{'level':'error','message':i18next['t']('error.invalid\x20license\x20key')}}));if((await client['query']({'query':a0_0x3d8e4f`
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['menuId']}}))['errors'])return;let _0x5d535c={},_0xe0aeff={};Object['keys'](this[_0x4ca805(0x163)])[_0x4ca805(0x1a6)](_0x2c2ee5=>{const _0x567425=_0x4ca805;let _0x4a191c=this[_0x567425(0x1a8)](_0x2c2ee5);_0x5d535c[_0x2c2ee5]=this['get'+_0x4a191c+_0x567425(0x1a2)](),_0xe0aeff=merge(_0xe0aeff,_0x5d535c[_0x2c2ee5]);}),_0xe0aeff=JSON[_0x4ca805(0x1c1)](_0xe0aeff),_0xe0aeff=MetaCrypto[_0x4ca805(0x175)](_0xe0aeff),await MetaApi[_0x4ca805(0x16a)](_0x4ca805(0x1b7),[{'id':this[_0x4ca805(0x173)],'template':_0xe0aeff,'cuFlag':'M'}])&&await this[_0x4ca805(0x1aa)]();}[a0_0x4e4bd6(0x15b)](){const _0x53e029=a0_0x4e4bd6;this['setTabData'](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{}},Object[_0x53e029(0x1bb)](this[_0x53e029(0x163)])['forEach'](_0x2c2d8c=>{const _0x513583=_0x53e029;let _0x4caf4a=this[_0x513583(0x1a8)](_0x2c2d8c);if(this[_0x513583(0x16f)+_0x4caf4a+'ConfigTabValues'])return this[_0x513583(0x16f)+_0x4caf4a+_0x513583(0x1a2)](this[_0x513583(0x195)][_0x2c2d8c]);});}async[a0_0x4e4bd6(0x1b2)](){const _0x5556d4=a0_0x4e4bd6;await this[_0x5556d4(0x1aa)]();}[a0_0x4e4bd6(0x16e)](){const _0x12cc77=a0_0x4e4bd6;history[_0x12cc77(0x169)]();}async[a0_0x4e4bd6(0x1aa)](){const _0x23db80=a0_0x4e4bd6;var {menuId:_0x453aef=''}=this[_0x23db80(0x168)]?.['params']?this[_0x23db80(0x168)][_0x23db80(0x194)]:{};if(this['menuId']=_0x453aef,!_0x453aef||''==_0x453aef)return void this['clear']();let _0x34b85f=await MetaApi[_0x23db80(0x164)]('menu',_0x453aef,'\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(_0x34b85f){try{JSON[_0x23db80(0x17c)](MetaCrypto[_0x23db80(0x182)](_0x34b85f[_0x23db80(0x1b6)]));}catch(_0x2aed5c){return;}this[_0x23db80(0x190)]=TermsUtil[_0x23db80(0x161)](_0x34b85f[_0x23db80(0x199)]),this['metaTemplate']=_0x34b85f[_0x23db80(0x1b6)]?JSON[_0x23db80(0x17c)](MetaCrypto['dec'](_0x34b85f[_0x23db80(0x1b6)])):{};var {menu:_0x46999e={},gql:_0x2a14cf={},button:_0x329c44=[],grid_column:_0x445c60=[],grid:_0x12bf86={},search:_0x279ebf=[],form:_0x5de7b8=[],tab:_0x25dd43=[],etc:_0x22aeee={}}=this[_0x23db80(0x1a9)]?this[_0x23db80(0x1a9)]:{};this['setTabData'](),this[_0x23db80(0x195)]={},this[_0x23db80(0x195)]['menu']=_0x46999e,this[_0x23db80(0x195)]['graphql']=_0x2a14cf,this[_0x23db80(0x195)][_0x23db80(0x1c2)]=_0x12bf86,this[_0x23db80(0x195)]['form']=_0x5de7b8,this[_0x23db80(0x195)][_0x23db80(0x181)]=_0x25dd43,this['dataStorage'][_0x23db80(0x18c)]=_0x22aeee,(_0x12bf86[_0x23db80(0x17e)]?.[_0x23db80(0x15a)]||[])[_0x23db80(0x1a6)]((_0x2b3c1d,_0x219996)=>{const _0x36596e=_0x23db80;_0x2b3c1d[_0x36596e(0x176)]=0xa*(_0x219996+0x1);}),this[_0x23db80(0x195)][_0x23db80(0x186)]=_0x445c60[_0x23db80(0x187)](_0x45677f=>{const _0x49e76a=_0x23db80;let _0x4f1969=(_0x12bf86['option']?.[_0x49e76a(0x15a)]||[])[_0x49e76a(0x15c)](_0xf3d9ca=>_0xf3d9ca[_0x49e76a(0x199)]==_0x45677f[_0x49e76a(0x199)]);return _0x4f1969&&_0x4f1969[_0x49e76a(0x19e)]>0x0?(_0x45677f[_0x49e76a(0x1bd)]=_0x4f1969[0x0][_0x49e76a(0x176)],_0x45677f[_0x49e76a(0x1be)]=!!_0x4f1969[0x0][_0x49e76a(0x166)]&&_0x4f1969[0x0][_0x49e76a(0x166)]):_0x45677f[_0x49e76a(0x1bd)]=0x0,_0x45677f['rep_field']=(_0x12bf86['list']?.[_0x49e76a(0x1b4)]||[])['includes'](_0x45677f[_0x49e76a(0x199)]),_0x45677f[_0x49e76a(0x156)]=(_0x12bf86['list']?.[_0x49e76a(0x15d)]||[])['includes'](_0x45677f['name']),_0x45677f[_0x49e76a(0x165)]=_0x12bf86['list']?.[_0x49e76a(0x1a5)]==_0x45677f[_0x49e76a(0x199)],_0x45677f;}),_0x279ebf[_0x23db80(0x17b)](...(_0x2a14cf[_0x23db80(0x192)]?.['filters']||[])[_0x23db80(0x187)](_0x2b8f9f=>(_0x2b8f9f[_0x23db80(0x17d)]=!0x0,_0x2b8f9f))),this[_0x23db80(0x195)][_0x23db80(0x174)]=_0x279ebf,_0x329c44['push'](...(_0x12bf86[_0x23db80(0x1a0)]||[])[_0x23db80(0x187)](_0x39d649=>(_0x39d649[_0x23db80(0x1ac)]=_0x23db80(0x185)+_0x39d649[_0x23db80(0x1ac)],_0x39d649[_0x23db80(0x188)]=_0x39d649['icon'],_0x39d649))),this[_0x23db80(0x195)][_0x23db80(0x1a0)]=_0x329c44,Object[_0x23db80(0x1bb)](this[_0x23db80(0x163)])[_0x23db80(0x1a6)](_0x397ca4=>{const _0x2123a3=_0x23db80;let _0x2b2412=this['convertFirstCharUpperCase'](_0x397ca4);if(this[_0x2123a3(0x16f)+_0x2b2412+'ConfigTabValues'])return this[_0x2123a3(0x16f)+_0x2b2412+'ConfigTabValues'](this['dataStorage'][_0x397ca4]);});}}async[a0_0x4e4bd6(0x183)](){const _0x40affb=a0_0x4e4bd6;this[_0x40affb(0x196)]();let _0x3b7851=Object['keys'](this[_0x40affb(0x163)]);for(var _0x414140=0x0;_0x414140<_0x3b7851[_0x40affb(0x19e)];_0x414140++){let _0x3f0340=this[_0x40affb(0x1a8)](_0x3b7851[_0x414140]);this[_0x40affb(0x16f)+_0x3f0340+_0x40affb(0x1b8)]&&await this[_0x40affb(0x16f)+_0x3f0340+'ConfigTabConfig']();}}async[a0_0x4e4bd6(0x178)](_0x16b51b,_0x25cbb0,_0x542cb9){const _0x2901c4=a0_0x4e4bd6;this[_0x2901c4(0x1ba)]?(this[_0x2901c4(0x196)](),await this[_0x2901c4(0x1aa)](),this['setTabData']()):this[_0x2901c4(0x15b)]();}[a0_0x4e4bd6(0x196)](){const _0x179532=a0_0x4e4bd6;this['tabData']||(this[_0x179532(0x163)]={'menu':TermsUtil[_0x179532(0x159)](_0x179532(0x1bc)),'graphql':TermsUtil[_0x179532(0x159)](_0x179532(0x193)),'grid':TermsUtil[_0x179532(0x159)]('grid_config'),'column':TermsUtil[_0x179532(0x159)](_0x179532(0x1ad)),'button':TermsUtil[_0x179532(0x159)]('button_config'),'search':TermsUtil[_0x179532(0x159)](_0x179532(0x198)),'form':TermsUtil[_0x179532(0x159)]('form_config'),'tab':TermsUtil[_0x179532(0x159)]('tab_config'),'etc':TermsUtil['tLabel'](_0x179532(0x16b))});}[a0_0x4e4bd6(0x17a)](){const _0x375187=a0_0x4e4bd6;this['currentTabKey']||(this['currentTabKey']=_0x375187(0x167)),this['setTabData']();let _0x28ac62=Object['keys'](this[_0x375187(0x163)]);return this['tabData'][this[_0x375187(0x197)]]?this[_0x375187(0x197)]:_0x28ac62[0x0],html`
149
- <h1>${this[_0x375187(0x190)]}</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
- ${_0x28ac62[_0x375187(0x187)](_0x507559=>{const _0x5a3f65=_0x375187;let _0x2b2a9d=this[_0x5a3f65(0x163)][_0x507559];return html`
152
- <div class="tab" ?activate="${_0x507559===this[_0x5a3f65(0x197)]}" @click="${()=>this[_0x5a3f65(0x197)]=_0x507559}">
153
- <span>${_0x2b2a9d}</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
- ${_0x28ac62[_0x375187(0x187)](_0x369396=>{const _0x33f3fc=_0x375187;let _0x1d3f6f=_0x33f3fc(0x179);return _0x369396==this[_0x33f3fc(0x197)]&&(_0x1d3f6f=_0x33f3fc(0x1af)),html`
159
- <div class='tab-contents' style="${_0x1d3f6f}">
160
- ${this[_0x33f3fc(0x155)](_0x369396)}
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_0x4e4bd6(0x155)](_0x3dd57f){const _0x5005b5=a0_0x4e4bd6;let _0x5bff3b=this[_0x5005b5(0x1a8)](_0x3dd57f);return this[_0x5005b5(0x17a)+_0x5bff3b+_0x5005b5(0x154)]?this['render'+_0x5bff3b+_0x5005b5(0x154)]():html``;}[a0_0x4e4bd6(0x1a8)](_0x5296db){const _0x15f9c5=a0_0x4e4bd6;return _0x5296db[_0x15f9c5(0x15e)](0x0)[_0x15f9c5(0x1b1)]()+_0x5296db[_0x15f9c5(0x19d)](0x1);}[a0_0x4e4bd6(0x17f)](_0x36c96e){return this['shadowRoot']['querySelector']('#'+_0x36c96e);}[a0_0x4e4bd6(0x19f)](_0x524289){const _0x2fdd58=a0_0x4e4bd6;let _0x2b4eab=this[_0x2fdd58(0x1b5)][_0x2fdd58(0x1ab)]('#'+_0x524289);if(!_0x2b4eab)return;let _0x149980='';if(_0x2fdd58(0x1b0)==_0x2b4eab['tagName']['toLowerCase']()){if(!_0x2b4eab[_0x2fdd58(0x1bf)]||0x0==_0x2b4eab[_0x2fdd58(0x1bf)][_0x2fdd58(0x19e)])return;_0x149980=_0x2b4eab[_0x2fdd58(0x1bf)][_0x2b4eab['selectedIndex']][_0x2fdd58(0x19b)];}else{if(_0x2fdd58(0x16c)==_0x2b4eab['tagName'][_0x2fdd58(0x18e)]()){if(!_0x2b4eab[_0x2fdd58(0x1ae)])return;if(!_0x2b4eab[_0x2fdd58(0x1ae)][_0x2fdd58(0x1a4)])return;if(0x0==_0x2b4eab[_0x2fdd58(0x1ae)]['records'][_0x2fdd58(0x19e)])return;return _0x2b4eab[_0x2fdd58(0x1ae)][_0x2fdd58(0x1a4)];}if(_0x2fdd58(0x18b)==_0x2b4eab[_0x2fdd58(0x1ac)]['toLowerCase']()){let _0x147008=this[_0x2fdd58(0x1b5)][_0x2fdd58(0x1ab)]('#'+_0x524289+':checked');if(!_0x147008)return;return _0x147008[_0x2fdd58(0x19b)];}_0x149980=_0x2b4eab['value'];}return _0x149980&&''!=_0x149980?_0x149980:void 0x0;}[a0_0x4e4bd6(0x1c0)](_0x4018db){const _0x336d53=a0_0x4e4bd6;return _0x4018db?this[_0x336d53(0x184)](_0x4018db,_0x336d53(0x176)):_0x4018db;}['sortRecordByField'](_0x5a85d4,_0x9f1095){return _0x5a85d4['sort']((_0x480f00,_0x344ea1)=>_0x480f00[_0x9f1095]-_0x344ea1[_0x9f1095]),_0x5a85d4;}}customElements[a0_0x4e4bd6(0x172)]('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_0x44c26c=a0_0x3268;function a0_0x33c4(){const _0x312c77=['hidden','map','operator','deleteRow','searchTabGrist','13893jPBYZt','integer','name','30357mvnBXr','filter','FILTER_OPERATORS','forEach','6714uADYyw','3729310QeEuZd','boolean','105AjuzzP','left','547193DnYrPO','tLabel','88OMoVQD','shadowRoot','sortRecordByRank','filters','fetch','query','#search-tab-grid','querySelector','right','192810BtnPRF','value','button','getSearchConfigTabValues','searchTabGridConfig','viewSearchData','20hMXchQ','push','1417207FzIubg','string','getGristSelectableConfig','fetchSearchTabHandler','2704exHSXt','setSearchConfigTabValues','assign','gutter','delete','search_operator','rank','getElementValueById','search','getCodeSelectorData','default_value'];a0_0x33c4=function(){return _0x312c77;};return a0_0x33c4();}(function(_0xb2cd66,_0x5465fb){const _0x5c284b=a0_0x3268,_0x441304=_0xb2cd66();while(!![]){try{const _0x1f8ed9=parseInt(_0x5c284b(0xa2))/0x1+parseInt(_0x5c284b(0xd0))/0x2+parseInt(_0x5c284b(0xc9))/0x3*(parseInt(_0x5c284b(0xa4))/0x4)+parseInt(_0x5c284b(0xd1))/0x5+-parseInt(_0x5c284b(0xad))/0x6*(-parseInt(_0x5c284b(0xa0))/0x7)+-parseInt(_0x5c284b(0xb9))/0x8*(parseInt(_0x5c284b(0xcc))/0x9)+-parseInt(_0x5c284b(0xb3))/0xa*(-parseInt(_0x5c284b(0xb5))/0xb);if(_0x1f8ed9===_0x5465fb)break;else _0x441304['push'](_0x441304['shift']());}catch(_0x3a22b0){_0x441304['push'](_0x441304['shift']());}}}(a0_0x33c4,0xf3a1f));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_0x3268(_0x4b9c29,_0x96fe2){const _0x33c4f0=a0_0x33c4();return a0_0x3268=function(_0x3268c9,_0x5bf9bb){_0x3268c9=_0x3268c9-0x9f;let _0xbbb8bb=_0x33c4f0[_0x3268c9];return _0xbbb8bb;},a0_0x3268(_0x4b9c29,_0x96fe2);}export const SearchConfigTabMixin=_0xc36590=>class extends _0xc36590{[a0_0x44c26c(0xba)](_0x2f2821){const _0x265ccf=a0_0x44c26c;let _0x3f59fb=_0x2f2821?.[_0x265ccf(0xc5)]((_0x69e5b5,_0x554080)=>{const _0x353b25=_0x265ccf;let _0x4cfb0c=_0x554080+0x1,_0x42579a={};return'object'==typeof _0x69e5b5?Object[_0x353b25(0xbb)](_0x42579a,_0x69e5b5):(_0x42579a[_0x353b25(0xcb)]=_0x69e5b5,_0x42579a[_0x353b25(0xc6)]=_0x353b25(0xcd)),_0x42579a[_0x353b25(0xbf)]=0xa*_0x4cfb0c,_0x42579a['id']=_0x4cfb0c,_0x42579a;});this[_0x265ccf(0xb2)]=_0x3f59fb||[],this[_0x265ccf(0xc8)]?.[_0x265ccf(0xa8)]();}[a0_0x44c26c(0xb0)](){const _0x289992=a0_0x44c26c;let _0x58ff1a={'search':[],'gql':{'query':{'filters':[]}}},_0x553f57=this[_0x289992(0xc0)]('search-tab-grid');return this[_0x289992(0xa6)](_0x553f57)?.[_0x289992(0xcf)](_0x881cfd=>{const _0x51bd62=_0x289992;var {name:_0x35539c,operator:_0x38e8cc='eq',hidden:_0x3cd7ad=!0x1,value:_0x3b570b}=_0x881cfd;if(_0x35539c){if('filter'==_0x38e8cc)_0x58ff1a[_0x51bd62(0xc1)]['push'](_0x35539c);else{let _0x1bd566={'name':_0x35539c,'operator':_0x38e8cc};0x1==_0x3cd7ad?(_0x1bd566[_0x51bd62(0xae)]=_0x3b570b,_0x58ff1a['gql'][_0x51bd62(0xa9)][_0x51bd62(0xa7)][_0x51bd62(0xb4)](_0x1bd566)):(_0x1bd566['value']=_0x3b570b,_0x58ff1a['search'][_0x51bd62(0xb4)](_0x1bd566));}}}),_0x58ff1a;}['renderSearchConfigTab'](){const _0x41fbdf=a0_0x44c26c;return html`
2
- <ox-grist auto-fetch id="search-tab-grid" .config=${this['searchTabGridConfig']} .mode='GRID'
3
- .fetchHandler=${this[_0x41fbdf(0xb8)]['bind'](this)}>
4
- </ox-grist>`;}get[a0_0x44c26c(0xc8)](){const _0x38c82f=a0_0x44c26c;return this[_0x38c82f(0xa5)][_0x38c82f(0xab)](_0x38c82f(0xaa));}async[a0_0x44c26c(0xb8)](){const _0x128d4a=a0_0x44c26c;return{'total':0x0,'records':this[_0x128d4a(0xb2)]||[]};}async['setSearchConfigTabConfig'](){const _0x1bff4e=a0_0x44c26c;let _0x3a8724=await MetaApi[_0x1bff4e(0xc2)](_0x1bff4e(0xce));this[_0x1bff4e(0xb1)]={'rows':MetaApi[_0x1bff4e(0xb7)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x1bff4e(0xbf),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x1bff4e(0xbc),'gutterName':_0x1bff4e(0xaf),'icon':_0x1bff4e(0xbd),'handlers':{'click':(_0x6f8fc1,_0x1dfa99,_0x1078df,_0x4220a6,_0x3cc0b1)=>{const _0x12909d=_0x1bff4e;_0x4220a6['id']&&this[_0x12909d(0xc7)](this[_0x12909d(0xc8)],_0x4220a6);}}},{'type':_0x1bff4e(0xb6),'name':'id','hidden':!0x0},{'type':_0x1bff4e(0xca),'name':_0x1bff4e(0xbf),'header':TermsUtil[_0x1bff4e(0xa3)](_0x1bff4e(0xbf)),'sortable':!0x0,'width':0x41,'record':{'align':_0x1bff4e(0xac),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1bff4e(0xb6),'name':'name','header':TermsUtil[_0x1bff4e(0xa3)](_0x1bff4e(0xcb)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x1bff4e(0xa1),'editable':!0x0,'mandatory':!0x0}},{'type':'select','name':_0x1bff4e(0xc6),'header':TermsUtil[_0x1bff4e(0xa3)](_0x1bff4e(0xbe)),'sortable':!0x1,'width':0x64,'record':{'align':_0x1bff4e(0xa1),'editable':!0x0,'mandatory':!0x1,'options':_0x3a8724}},{'type':_0x1bff4e(0x9f),'name':'hidden','header':TermsUtil[_0x1bff4e(0xa3)](_0x1bff4e(0xc4)),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x1bff4e(0xb6),'name':'value','header':TermsUtil[_0x1bff4e(0xa3)](_0x1bff4e(0xc3)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x1bff4e(0xa1),'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_0x5272dc=a0_0x47b9;function a0_0x1f62(){const _0x5a1ad4=['191838FWwDMj','tabTabGrist','6281944qCMeUx','push','fetch','param_field','tag','tabTabGridConfig','deleteRow','7QqulrR','name','button','getGristSelectableConfig','tagname','map','101590HiTdfp','20VPIshA','display','right','tab','location','menu','7001901Ggeast','parent_field','getTabConfigTabValues','routing','getGristGuttersConfig','tLabel','delete','center','forEach','2801455SCRBau','16HiNgMW','left','integer','setTabConfigTabConfig','18dAeahe','icon','6966927LHLFti','viewTabData','sortRecordByRank','#tab-tab-grid','tab-tab-grid','fetchTabTabHandler','querySelector','gutter','rank','325311mnCkzD','string','renderTabConfigTab','setTabConfigTabValues','page_location','params'];a0_0x1f62=function(){return _0x5a1ad4;};return a0_0x1f62();}(function(_0x58a146,_0x9099db){const _0x24f93e=a0_0x47b9,_0x259cca=_0x58a146();while(!![]){try{const _0x113cd1=-parseInt(_0x24f93e(0x1bc))/0x1*(-parseInt(_0x24f93e(0x1a7))/0x2)+parseInt(_0x24f93e(0x192))/0x3*(parseInt(_0x24f93e(0x1b8))/0x4)+parseInt(_0x24f93e(0x1b7))/0x5+parseInt(_0x24f93e(0x198))/0x6*(parseInt(_0x24f93e(0x1a1))/0x7)+-parseInt(_0x24f93e(0x19a))/0x8+parseInt(_0x24f93e(0x1ae))/0x9+parseInt(_0x24f93e(0x1a8))/0xa*(-parseInt(_0x24f93e(0x1be))/0xb);if(_0x113cd1===_0x9099db)break;else _0x259cca['push'](_0x259cca['shift']());}catch(_0xe4bed){_0x259cca['push'](_0x259cca['shift']());}}}(a0_0x1f62,0xa2af2));import{html}from'lit-element';function a0_0x47b9(_0x207961,_0x4699c7){const _0x1f628e=a0_0x1f62();return a0_0x47b9=function(_0x47b918,_0x46a4c9){_0x47b918=_0x47b918-0x18c;let _0x193e5d=_0x1f628e[_0x47b918];return _0x193e5d;},a0_0x47b9(_0x207961,_0x4699c7);}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=_0x14b85b=>class extends _0x14b85b{[a0_0x5272dc(0x195)](_0x6991b8){const _0x18ce74=a0_0x5272dc;let _0x21ddef=_0x6991b8?.[_0x18ce74(0x1a6)]((_0x340ea9,_0x21a18e)=>{const _0x44b428=_0x18ce74;let _0x14be5a=_0x21a18e+0x1,_0x220891={};return _0x220891[_0x44b428(0x191)]=0xa*_0x14be5a,_0x220891['id']=_0x14be5a,_0x220891[_0x44b428(0x1a2)]=_0x340ea9['name'],_0x220891[_0x44b428(0x1a9)]=_0x340ea9[_0x44b428(0x1a9)],_0x220891[_0x44b428(0x1a5)]=_0x340ea9[_0x44b428(0x1a5)],_0x220891[_0x44b428(0x1bd)]=_0x340ea9[_0x44b428(0x1bd)],_0x220891[_0x44b428(0x1ac)]=_0x340ea9[_0x44b428(0x1ac)],_0x220891[_0x44b428(0x1af)]=_0x340ea9[_0x44b428(0x1af)],_0x220891['param_field']=_0x340ea9[_0x44b428(0x19d)],_0x220891[_0x44b428(0x1ad)]=_0x340ea9[_0x44b428(0x1ad)],_0x220891;});this[_0x18ce74(0x1bf)]=_0x21ddef||[],this[_0x18ce74(0x199)]?.[_0x18ce74(0x19c)]();}[a0_0x5272dc(0x1b0)](){const _0x21b92d=a0_0x5272dc;let _0x195fca={'tab':[]},_0x2b5443=this['getElementValueById'](_0x21b92d(0x18d));return this[_0x21b92d(0x1c0)](_0x2b5443)?.[_0x21b92d(0x1b6)](_0x3fd42e=>{const _0x4e3550=_0x21b92d;var {name:_0x2ff52d,display:_0x1c6ce5,tagname:_0x4603f9,location:_0x5ac9d4,parent_field:_0x335bd9,param_field:_0x2d6eba,menu:_0xfd356a,icon:_0x448bd4}=_0x3fd42e;_0x2ff52d&&_0x4603f9&&_0x5ac9d4&&_0xfd356a&&(_0x1c6ce5||(_0x1c6ce5=_0x2ff52d),_0x335bd9||(_0x335bd9='id'),_0x2d6eba||(_0x2d6eba=_0x4e3550(0x19d)),_0x195fca[_0x4e3550(0x1ab)][_0x4e3550(0x19b)]({'name':_0x2ff52d,'display':_0x1c6ce5,'tagname':_0x4603f9,'location':_0x5ac9d4,'parent_field':_0x335bd9,'param_field':_0x2d6eba,'menu':_0xfd356a,'icon':_0x448bd4}));}),_0x195fca;}[a0_0x5272dc(0x194)](){const _0x1d86c3=a0_0x5272dc;return html`
2
- <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x1d86c3(0x19f)]} .mode='GRID'
3
- .fetchHandler=${this['fetchTabTabHandler']['bind'](this)}>
4
- </ox-grist>`;}get['tabTabGrist'](){const _0x3e6ac0=a0_0x5272dc;return this['shadowRoot'][_0x3e6ac0(0x18f)](_0x3e6ac0(0x18c));}async[a0_0x5272dc(0x18e)](){const _0x46f312=a0_0x5272dc;return{'total':0x0,'records':this[_0x46f312(0x1bf)]||[]};}async[a0_0x5272dc(0x1bb)](){const _0x186285=a0_0x5272dc;this[_0x186285(0x19f)]={'rows':MetaApi[_0x186285(0x1a4)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x186285(0x191),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x186285(0x1b2)](!0x1,!0x1),{'type':_0x186285(0x190),'gutterName':_0x186285(0x1a3),'icon':_0x186285(0x1b4),'handlers':{'click':(_0x1668c4,_0x5ac8b8,_0x463df5,_0x7e75bf,_0x4ae413)=>{const _0x2fcd34=_0x186285;_0x7e75bf['id']&&this[_0x2fcd34(0x1a0)](this[_0x2fcd34(0x199)],_0x7e75bf);}}},{'type':_0x186285(0x193),'name':'id','hidden':!0x0},{'type':_0x186285(0x1ba),'name':_0x186285(0x191),'header':TermsUtil[_0x186285(0x1b3)](_0x186285(0x191)),'sortable':!0x0,'width':0x41,'record':{'align':_0x186285(0x1aa),'editable':!0x0,'mandatory':!0x0}},{'type':_0x186285(0x193),'name':'name','header':TermsUtil[_0x186285(0x1b3)](_0x186285(0x1a2)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x186285(0x1a9),'header':TermsUtil[_0x186285(0x1b3)](_0x186285(0x1a9)),'sortable':!0x1,'width':0x64,'record':{'align':_0x186285(0x1b9),'editable':!0x0,'mandatory':!0x0}},{'type':_0x186285(0x193),'name':'icon','header':TermsUtil[_0x186285(0x1b3)]('icon'),'sortable':!0x0,'width':0x41,'record':{'align':_0x186285(0x1b5),'editable':!0x0,'mandatory':!0x0}},{'type':_0x186285(0x193),'name':_0x186285(0x1ad),'header':TermsUtil['tLabel'](_0x186285(0x1b1)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x186285(0x1a5),'header':TermsUtil['tLabel'](_0x186285(0x19e)),'sortable':!0x1,'width':0x96,'record':{'align':_0x186285(0x1b9),'editable':!0x0,'mandatory':!0x0}},{'type':_0x186285(0x193),'name':_0x186285(0x1ac),'header':TermsUtil[_0x186285(0x1b3)](_0x186285(0x196)),'sortable':!0x1,'width':0x12c,'record':{'align':_0x186285(0x1b9),'editable':!0x0,'mandatory':!0x0}},{'type':_0x186285(0x193),'name':_0x186285(0x1af),'header':TermsUtil['tLabel']('parent_id'),'sortable':!0x1,'width':0x64,'record':{'align':_0x186285(0x1b9),'editable':!0x0,'mandatory':!0x0}},{'type':_0x186285(0x193),'name':_0x186285(0x19d),'header':TermsUtil[_0x186285(0x1b3)](_0x186285(0x197)),'sortable':!0x1,'width':0x64,'record':{'align':_0x186285(0x1b9),'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_0x2b950a=a0_0x27a5;(function(_0x2540f2,_0x207852){var _0x539df8=a0_0x27a5,_0x4fc95e=_0x2540f2();while(!![]){try{var _0x5b7787=-parseInt(_0x539df8(0x1d5))/0x1*(parseInt(_0x539df8(0x1db))/0x2)+-parseInt(_0x539df8(0x1de))/0x3*(-parseInt(_0x539df8(0x1d1))/0x4)+-parseInt(_0x539df8(0x1d2))/0x5+parseInt(_0x539df8(0x1da))/0x6+-parseInt(_0x539df8(0x1d4))/0x7+-parseInt(_0x539df8(0x1d9))/0x8+parseInt(_0x539df8(0x1d3))/0x9;if(_0x5b7787===_0x207852)break;else _0x4fc95e['push'](_0x4fc95e['shift']());}catch(_0x4d2fcb){_0x4fc95e['push'](_0x4fc95e['shift']());}}}(a0_0x5080,0x31959));function a0_0x5080(){var _0x1c1539=['styles','293768kptrYk','380124UlyhLF','206TPcZMA','context','render','3PXpyQS','tool\x20start\x20msg','operato-tools-main','513848VVoNmC','1294210AlYjcw','6199101KatfVm','2436406xZZdeS','329mUVupi','customElements','Operato\x20Tools'];a0_0x5080=function(){return _0x1c1539;};return a0_0x5080();}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[a0_0x2b950a(0x1d8)](){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_0x2b950a=a0_0x27a5;(function(_0x2540f2,_0x207852){var _0x539df8=a0_0x27a5
41
41
  display: none;
42
42
  }
43
43
  }
44
- `];}get[a0_0x2b950a(0x1dc)](){var _0x3fd2b3=a0_0x2b950a;return{'title':_0x3fd2b3(0x1d7),'actions':[]};}[a0_0x2b950a(0x1dd)](){var _0x38f78b=a0_0x2b950a;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'](_0x38f78b(0x1df))}
47
+ ${TermsUtil[_0x3a4bdc(0x1aa)](_0x3a4bdc(0x1ab))}
48
48
  </p>
49
49
 
50
50
  <img src="/assets/images/operato-tools.png" />
51
- `;}}function a0_0x27a5(_0x28493d,_0x3b868e){var _0x508046=a0_0x5080();return a0_0x27a5=function(_0x27a5c2,_0x48c3c8){_0x27a5c2=_0x27a5c2-0x1d0;var _0x250186=_0x508046[_0x27a5c2];return _0x250186;},a0_0x27a5(_0x28493d,_0x3b868e);}window[a0_0x2b950a(0x1d6)]['define'](a0_0x2b950a(0x1d0),OperatoToolsMain);
51
+ `;}}window[a0_0x417f97(0x1a2)][a0_0x417f97(0x1ac)](a0_0x417f97(0x1a6),OperatoToolsMain);
@@ -1 +1 @@
1
- const a0_0x35b5c6=a0_0x5df3;(function(_0x1eec66,_0x5f52d0){const _0x342466=a0_0x5df3,_0x4e288f=_0x1eec66();while(!![]){try{const _0x502184=parseInt(_0x342466(0x158))/0x1+-parseInt(_0x342466(0x153))/0x2+parseInt(_0x342466(0x14e))/0x3*(parseInt(_0x342466(0x152))/0x4)+parseInt(_0x342466(0x156))/0x5+-parseInt(_0x342466(0x150))/0x6*(-parseInt(_0x342466(0x148))/0x7)+parseInt(_0x342466(0x14c))/0x8*(parseInt(_0x342466(0x14a))/0x9)+-parseInt(_0x342466(0x155))/0xa;if(_0x502184===_0x5f52d0)break;else _0x4e288f['push'](_0x4e288f['shift']());}catch(_0x5a411f){_0x4e288f['push'](_0x4e288f['shift']());}}}(a0_0x5641,0x62086));import a0_0x22c981 from'graphql-tag';import{i18next}from'@operato/i18n';import{store}from'@operato/shell';function a0_0x5df3(_0xcc40e7,_0x33666d){const _0x564100=a0_0x5641();return a0_0x5df3=function(_0x5df3c9,_0x5e44bd){_0x5df3c9=_0x5df3c9-0x147;let _0x2b70ea=_0x564100[_0x5df3c9];return _0x2b70ea;},a0_0x5df3(_0xcc40e7,_0x33666d);}import{client,gqlContext}from'@operato/graphql';function a0_0x5641(){const _0x2267b1=['6GmedcG','studioPermission','12pFbJMi','228906AzvRwY','dispatch','17938740jNIcJZ','57305lKxEaV','type','588823Mcqxva','state','4372865WtaIgd','UPDATE_OPERATO_TOOLS_PERMISSION','22626OTxWPa','ABC','2192HDHPQX','query','396054lrETRo','data'];a0_0x5641=function(){return _0x2267b1;};return a0_0x5641();}import{UPDATE_OPERATO_TOOLS}from'../actions/main';const INITIAL_STATE={'operatoTools':a0_0x35b5c6(0x14b),'studioPermission':!0x1};export const UPDATE_OPERATO_TOOLS_PERMISSION=a0_0x35b5c6(0x149);((async()=>{const _0x39f084=a0_0x35b5c6;var _0x3ab83f=await client[_0x39f084(0x14d)]({'query':a0_0x22c981`{studioPermission}`});let _0x5b1b8d=!0x1;_0x3ab83f['errors']||(_0x5b1b8d=_0x3ab83f[_0x39f084(0x14f)][_0x39f084(0x151)]),store[_0x39f084(0x154)]({'type':UPDATE_OPERATO_TOOLS_PERMISSION,'state':{'studioPermission':_0x5b1b8d}});})());const operatoTools=(_0xe2c651=INITIAL_STATE,_0x3bbcf3)=>{const _0x4f736b=a0_0x35b5c6;switch(_0x3bbcf3[_0x4f736b(0x157)]){case UPDATE_OPERATO_TOOLS:return{..._0xe2c651};case UPDATE_OPERATO_TOOLS_PERMISSION:return{...INITIAL_STATE,..._0x3bbcf3[_0x4f736b(0x147)]};default:return _0xe2c651;}};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_0x5cea80=a0_0x309f;(function(_0x49ad1c,_0x4f0115){var _0x17f898=a0_0x309f,_0x3edf35=_0x49ad1c();while(!![]){try{var _0x1cc8a0=parseInt(_0x17f898(0x75))/0x1+-parseInt(_0x17f898(0x6f))/0x2+parseInt(_0x17f898(0x74))/0x3+-parseInt(_0x17f898(0x6c))/0x4+parseInt(_0x17f898(0x6d))/0x5+-parseInt(_0x17f898(0x72))/0x6*(parseInt(_0x17f898(0x77))/0x7)+parseInt(_0x17f898(0x6a))/0x8*(parseInt(_0x17f898(0x6b))/0x9);if(_0x1cc8a0===_0x4f0115)break;else _0x3edf35['push'](_0x3edf35['shift']());}catch(_0x5a4c0e){_0x3edf35['push'](_0x3edf35['shift']());}}}(a0_0x44cc,0x66305));function a0_0x309f(_0x22c30e,_0x403a35){var _0x44ccea=a0_0x44cc();return a0_0x309f=function(_0x309faf,_0x332d50){_0x309faf=_0x309faf-0x6a;var _0x33c6a6=_0x44ccea[_0x309faf];return _0x33c6a6;},a0_0x309f(_0x22c30e,_0x403a35);}Object['defineProperty'](exports,a0_0x5cea80(0x71),{'value':!0x0}),exports[a0_0x5cea80(0x73)]=exports[a0_0x5cea80(0x76)]=void 0x0,exports[a0_0x5cea80(0x76)]=a0_0x5cea80(0x70),exports[a0_0x5cea80(0x73)]=a0_0x5cea80(0x6e);function a0_0x44cc(){var _0x1cb4c2=['error.page\x20count\x20over\x20license\x20limit','1415766TGfkQO','error.invalid\x20license\x20key','__esModule','6zhNgvH','OVER_LIMIT','828519jsQoOp','12425wUOtvb','INVALID_LICENSE','4082477xjrujz','8908072bZnZjS','9WLvHGQ','325720KlBRbI','1944910AYCPmg'];a0_0x44cc=function(){return _0x1cb4c2;};return a0_0x44cc();}
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_0x5e3075=a0_0x39f2;(function(_0xe52d46,_0x14e2c7){const _0x323d03=a0_0x39f2,_0x3cc9ee=_0xe52d46();while(!![]){try{const _0x2bc6d6=-parseInt(_0x323d03(0xec))/0x1+-parseInt(_0x323d03(0xf9))/0x2+-parseInt(_0x323d03(0xf1))/0x3+-parseInt(_0x323d03(0xf6))/0x4+-parseInt(_0x323d03(0xf3))/0x5*(-parseInt(_0x323d03(0xf7))/0x6)+parseInt(_0x323d03(0xf5))/0x7*(-parseInt(_0x323d03(0xee))/0x8)+-parseInt(_0x323d03(0xf0))/0x9*(-parseInt(_0x323d03(0xf4))/0xa);if(_0x2bc6d6===_0x14e2c7)break;else _0x3cc9ee['push'](_0x3cc9ee['shift']());}catch(_0x13b3b5){_0x3cc9ee['push'](_0x3cc9ee['shift']());}}}(a0_0x3c41,0xa2800));function a0_0x3c41(){const _0x3d5e25=['446020ycLVWq','21679mFETpG','1150920SYGwii','1387734EfqDZd','__importStar','2313938hyKzLI','license-error','tslib','__esModule','../constants/error-code','312708tKpxaa','defineProperty','824XSGzbF','LicenseError','531GKVGnc','362427EXJLXf','ERROR_CODES','5pKwEXH'];a0_0x3c41=function(){return _0x3d5e25;};return a0_0x3c41();}Object[a0_0x5e3075(0xed)](exports,a0_0x5e3075(0xea),{'value':!0x0}),exports[a0_0x5e3075(0xef)]=void 0x0;const tslib_1=require(a0_0x5e3075(0xe9)),ERROR_CODES=tslib_1[a0_0x5e3075(0xf8)](require(a0_0x5e3075(0xeb)));function a0_0x39f2(_0x103428,_0x3d158c){const _0x3c4174=a0_0x3c41();return a0_0x39f2=function(_0x39f201,_0x37d111){_0x39f201=_0x39f201-0xe8;let _0x4c0b55=_0x3c4174[_0x39f201];return _0x4c0b55;},a0_0x39f2(_0x103428,_0x3d158c);}class LicenseError extends Error{static get[a0_0x5e3075(0xf2)](){return Object['assign']({},ERROR_CODES);}constructor({errorCode:_0xb88596,detail:_0x3c53c8}){const _0x48717e=a0_0x5e3075;super(_0xb88596),this['name']=_0x48717e(0xe8),this['errorCode']=_0xb88596,this['detail']=_0x3c53c8;}}exports[a0_0x5e3075(0xef)]=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;