@things-factory/operato-tools 6.2.54 → 6.2.57

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_0x5c1493=a0_0x2665;function a0_0x2665(_0xfd9f95,_0x3fa85e){const _0x521462=a0_0x5214();return a0_0x2665=function(_0x2665a7,_0x53ae75){_0x2665a7=_0x2665a7-0x182;let _0xd9070b=_0x521462[_0x2665a7];return _0xd9070b;},a0_0x2665(_0xfd9f95,_0x3fa85e);}(function(_0x5c1af4,_0x318d0f){const _0x47ec78=a0_0x2665,_0x2268b7=_0x5c1af4();while(!![]){try{const _0x105d91=-parseInt(_0x47ec78(0x1a1))/0x1+parseInt(_0x47ec78(0x19d))/0x2*(parseInt(_0x47ec78(0x194))/0x3)+parseInt(_0x47ec78(0x198))/0x4*(parseInt(_0x47ec78(0x1af))/0x5)+-parseInt(_0x47ec78(0x1ad))/0x6*(parseInt(_0x47ec78(0x1ac))/0x7)+parseInt(_0x47ec78(0x196))/0x8+parseInt(_0x47ec78(0x1bb))/0x9+-parseInt(_0x47ec78(0x186))/0xa;if(_0x105d91===_0x318d0f)break;else _0x2268b7['push'](_0x2268b7['shift']());}catch(_0x1d1685){_0x2268b7['push'](_0x2268b7['shift']());}}}(a0_0x5214,0x7292f));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x5214(){const _0x34b536=['grid_row_check_use','pages','use','grid_term_1000','grid_support_view','28aYnQYk','765606EkhTJk','grid_support_multi_select','601925bvVelz','desk_mode','grid_view_use','grid_term_','GRID_VIEW_MODE','grid_term_default','multiple_select','codeItems','tLabel','_view_use','setGridConfigTabDetaultValues','toLowerCase','5316813fsoDIs','unuse','setGridConfigTabConfig','unsupport','grid_pagination','use_row_checker','grid','select-row-toggle','11686650tGwohJ','LIST','GRID_PAGE_OPTIONS','grid_term_unlimited','true','map','list_view_use','gridPageOptions','view_mode','card_view_use','grid_use_filter','grid_mobile_view','includes','description','24ejaazi','viewGridData','4864560WUcizl','CARD','28UAwDXn','renderGridConfigTab','gridViewModes','grid_term_100','option','125152YZvOTs','grid_desk_view','row','use_filter_form','393766ulljBD','name','push','GRID','getElementValueById','unlimited'];a0_0x5214=function(){return _0x34b536;};return a0_0x5214();}export const GridConfigTabMixin=_0x24c977=>class extends _0x24c977{['setGridConfigTabValues'](_0x5afef6){const _0x5e176b=a0_0x2665;if(_0x5afef6){var {mobile_mode:_0x163e4f='',desk_mode:_0x3c6e50='',pages:_0x59e5e6=[],use_row_checker:_0x39ad09=!0x0,view_mode:_0x4a7772=[]}=_0x5afef6[_0x5e176b(0x19c)]||{};let _0xd6c943=(_0x5afef6[_0x5e176b(0x19f)]||{'multiple_select':!0x1})[_0x5e176b(0x1b5)],_0x450057=_0x5e176b(0x1a6)==_0x59e5e6?_0x5e176b(0x189):0x0==_0x59e5e6['length']?'':0x14==_0x59e5e6[0x0]?'grid_term_default':_0x5e176b(0x1b2)+_0x59e5e6[0x0];this[_0x5e176b(0x195)]={'mobile_mode':_0x163e4f,'desk_mode':_0x3c6e50,'use_row_checker':_0x39ad09,'pages':_0x450057,'view_mode':_0x4a7772,'multiple_select':_0xd6c943,'use_filter_form':_0x5afef6[_0x5e176b(0x1a0)]};}else this[_0x5e176b(0x1b9)]();}['getGridConfigTabValues'](){const _0x427484=a0_0x2665;let _0x1830ae={'grid':{'option':{},'row':{'click':_0x427484(0x185)}}},_0x127ea6=this[_0x427484(0x1a5)](_0x427484(0x1a7)),_0x5d614c=this[_0x427484(0x1a5)]('grid_multi_select'),_0x991792=this[_0x427484(0x1a5)](_0x427484(0x19e)),_0x487d20=this['getElementValueById'](_0x427484(0x191)),_0x1bc0b7=this[_0x427484(0x1a5)](_0x427484(0x190)),_0x151a36=this[_0x427484(0x1a5)](_0x427484(0x182)),_0x446768=this[_0x427484(0x1a5)](_0x427484(0x1b1)),_0x2c8145=this[_0x427484(0x1a5)](_0x427484(0x18c)),_0x42eea1=this[_0x427484(0x1a5)](_0x427484(0x18f));return _0x1830ae[_0x427484(0x184)]['use_filter_form']='true'==_0x1bc0b7,_0x1830ae[_0x427484(0x184)][_0x427484(0x19f)][_0x427484(0x1b5)]=_0x427484(0x18a)==_0x5d614c,_0x1830ae['grid'][_0x427484(0x19c)][_0x427484(0x183)]=_0x427484(0x18a)==_0x127ea6,_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)]['mobile_mode']=_0x487d20,_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)][_0x427484(0x1b0)]=_0x991792,_0x427484(0x1b4)==_0x151a36?_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)]['pages']=[0x14,0x1e,0x32,0x64]:'grid_term_50'==_0x151a36?_0x1830ae['grid'][_0x427484(0x19c)][_0x427484(0x1a8)]=[0x32,0x64,0x1f4,0x3e8]:_0x427484(0x19b)==_0x151a36?_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)][_0x427484(0x1a8)]=[0x64,0x1f4,0x3e8,0x1388]:_0x427484(0x1aa)==_0x151a36?_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)]['pages']=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x427484(0x189)==_0x151a36&&(_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)][_0x427484(0x1a8)]='unlimited'),_0x1830ae['grid']['option']['view_mode']=[],_0x427484(0x18a)==_0x446768&&_0x1830ae['grid'][_0x427484(0x19c)]['view_mode'][_0x427484(0x1a3)](_0x427484(0x1a4)),'true'==_0x2c8145&&_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)][_0x427484(0x18e)][_0x427484(0x1a3)](_0x427484(0x187)),'true'==_0x42eea1&&_0x1830ae[_0x427484(0x184)][_0x427484(0x19c)][_0x427484(0x18e)][_0x427484(0x1a3)](_0x427484(0x197)),_0x1830ae;}async[a0_0x5c1493(0x1bd)](){const _0x2964da=a0_0x5c1493;let _0xe65bfb=await MetaApi[_0x2964da(0x1b6)](_0x2964da(0x188)),_0x1a7f04=await MetaApi[_0x2964da(0x1b6)](_0x2964da(0x1b3));this[_0x2964da(0x19a)]=_0x1a7f04,this[_0x2964da(0x18d)]=_0xe65bfb;}['setGridConfigTabDetaultValues'](){const _0x3d370f=a0_0x5c1493;this[_0x3d370f(0x195)]||(this[_0x3d370f(0x195)]={'mobile_mode':this['gridViewModes']?this['gridViewModes'][0x1]:_0x3d370f(0x187),'desk_mode':this[_0x3d370f(0x19a)]?this[_0x3d370f(0x19a)][0x0]:_0x3d370f(0x1a4),'use_row_checker':!0x0,'pages':_0x3d370f(0x1b4),'view_mode':[...this[_0x3d370f(0x19a)]?this[_0x3d370f(0x19a)]:[_0x3d370f(0x1a4),_0x3d370f(0x187),'CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x5c1493(0x199)](){const _0x3b3d1b=a0_0x5c1493;return this['setGridConfigTabDetaultValues'](),html`
1
+ const a0_0x23e04f=a0_0x49de;function a0_0x1e03(){const _0x15c4b2=['unuse','description','grid_view_use','tLabel','289824pkGXFx','desk_mode','getGridConfigTabValues','330040SpPofW','includes','unlimited','3HBjBBC','support','gridPageOptions','setGridConfigTabValues','6687vQEpSC','GRID_PAGE_OPTIONS','setGridConfigTabDetaultValues','GRID','4863964HLGnoR','grid_term_default','use_filter_form','grid_pagination','13kqWPSR','use_row_checker','list_view_use','mobile_mode','132BTnjxQ','1182710QTTCfu','option','true','grid_term_','card_view_use','360012HDaXNu','grid_mobile_view','grid_desk_view','unsupport','push','grid_term_unlimited','row','CARD','setGridConfigTabConfig','grid','map','_view_use','grid_support_view','7ykSiSg','toLowerCase','length','3937CjCNHh','use','6PaIojZ','view_mode','grid_use_row_check','1990aPbRYU','getElementValueById','viewGridData','grid_row_check_use','renderGridConfigTab','pages','multiple_select','grid_support_multi_select','gridViewModes','grid_term_1000','grid_term_100','74aBWAeL','grid_use_filter','codeItems','name','LIST'];a0_0x1e03=function(){return _0x15c4b2;};return a0_0x1e03();}(function(_0x514771,_0x394099){const _0x110081=a0_0x49de,_0x4572b6=_0x514771();while(!![]){try{const _0x534d12=parseInt(_0x110081(0x1a9))/0x1*(-parseInt(_0x110081(0x174))/0x2)+-parseInt(_0x110081(0x183))/0x3*(parseInt(_0x110081(0x199))/0x4)+parseInt(_0x110081(0x194))/0x5*(parseInt(_0x110081(0x1ab))/0x6)+-parseInt(_0x110081(0x1a6))/0x7*(parseInt(_0x110081(0x180))/0x8)+-parseInt(_0x110081(0x187))/0x9*(-parseInt(_0x110081(0x1ae))/0xa)+-parseInt(_0x110081(0x193))/0xb*(parseInt(_0x110081(0x17d))/0xc)+parseInt(_0x110081(0x18f))/0xd*(parseInt(_0x110081(0x18b))/0xe);if(_0x534d12===_0x394099)break;else _0x4572b6['push'](_0x4572b6['shift']());}catch(_0x244d0a){_0x4572b6['push'](_0x4572b6['shift']());}}}(a0_0x1e03,0x284d2));import{html}from'lit-element';function a0_0x49de(_0x59e4fb,_0x359680){const _0x1e0367=a0_0x1e03();return a0_0x49de=function(_0x49de96,_0xb82c75){_0x49de96=_0x49de96-0x171;let _0x2ee52c=_0x1e0367[_0x49de96];return _0x2ee52c;},a0_0x49de(_0x59e4fb,_0x359680);}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=_0x43b516=>class extends _0x43b516{[a0_0x23e04f(0x186)](_0x1aaf2f){const _0x24117d=a0_0x23e04f;if(_0x1aaf2f){var {mobile_mode:_0x515931='',desk_mode:_0x178836='',pages:_0x2d00b2=[],use_row_checker:_0x2e5d72=!0x0,view_mode:_0x3b2dbd=[]}=_0x1aaf2f[_0x24117d(0x195)]||{};let _0x52858f=(_0x1aaf2f[_0x24117d(0x19f)]||{'multiple_select':!0x1})[_0x24117d(0x1b4)],_0x3a2f00=_0x24117d(0x182)==_0x2d00b2?_0x24117d(0x19e):0x0==_0x2d00b2[_0x24117d(0x1a8)]?'':0x14==_0x2d00b2[0x0]?_0x24117d(0x18c):_0x24117d(0x197)+_0x2d00b2[0x0];this[_0x24117d(0x1b0)]={'mobile_mode':_0x515931,'desk_mode':_0x178836,'use_row_checker':_0x2e5d72,'pages':_0x3a2f00,'view_mode':_0x3b2dbd,'multiple_select':_0x52858f,'use_filter_form':_0x1aaf2f[_0x24117d(0x18d)]};}else this[_0x24117d(0x189)]();}[a0_0x23e04f(0x17f)](){const _0x305731=a0_0x23e04f;let _0x1fcf54={'grid':{'option':{},'row':{'click':'select-row-toggle'}}},_0x959329=this[_0x305731(0x1af)](_0x305731(0x1b1)),_0xfac38d=this['getElementValueById']('grid_multi_select'),_0x5917a2=this[_0x305731(0x1af)](_0x305731(0x19b)),_0xc8a0eb=this[_0x305731(0x1af)](_0x305731(0x19a)),_0x29ed03=this['getElementValueById'](_0x305731(0x175)),_0x1391f0=this[_0x305731(0x1af)](_0x305731(0x18e)),_0x303f24=this['getElementValueById'](_0x305731(0x17b)),_0x9d1496=this[_0x305731(0x1af)](_0x305731(0x191)),_0x56cc21=this['getElementValueById'](_0x305731(0x198));return _0x1fcf54[_0x305731(0x1a2)]['use_filter_form']=_0x305731(0x196)==_0x29ed03,_0x1fcf54[_0x305731(0x1a2)][_0x305731(0x19f)]['multiple_select']='true'==_0xfac38d,_0x1fcf54[_0x305731(0x1a2)]['option']['use_row_checker']='true'==_0x959329,_0x1fcf54[_0x305731(0x1a2)]['option']['mobile_mode']=_0xc8a0eb,_0x1fcf54[_0x305731(0x1a2)][_0x305731(0x195)][_0x305731(0x17e)]=_0x5917a2,_0x305731(0x18c)==_0x1391f0?_0x1fcf54[_0x305731(0x1a2)][_0x305731(0x195)][_0x305731(0x1b3)]=[0x14,0x1e,0x32,0x64]:'grid_term_50'==_0x1391f0?_0x1fcf54[_0x305731(0x1a2)]['option']['pages']=[0x32,0x64,0x1f4,0x3e8]:_0x305731(0x173)==_0x1391f0?_0x1fcf54[_0x305731(0x1a2)][_0x305731(0x195)][_0x305731(0x1b3)]=[0x64,0x1f4,0x3e8,0x1388]:_0x305731(0x172)==_0x1391f0?_0x1fcf54['grid']['option'][_0x305731(0x1b3)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x305731(0x19e)==_0x1391f0&&(_0x1fcf54['grid']['option'][_0x305731(0x1b3)]=_0x305731(0x182)),_0x1fcf54['grid'][_0x305731(0x195)][_0x305731(0x1ac)]=[],'true'==_0x303f24&&_0x1fcf54[_0x305731(0x1a2)][_0x305731(0x195)][_0x305731(0x1ac)][_0x305731(0x19d)]('GRID'),_0x305731(0x196)==_0x9d1496&&_0x1fcf54[_0x305731(0x1a2)][_0x305731(0x195)][_0x305731(0x1ac)][_0x305731(0x19d)](_0x305731(0x178)),_0x305731(0x196)==_0x56cc21&&_0x1fcf54[_0x305731(0x1a2)]['option']['view_mode'][_0x305731(0x19d)](_0x305731(0x1a0)),_0x1fcf54;}async[a0_0x23e04f(0x1a1)](){const _0x27db7d=a0_0x23e04f;let _0x5e8e4c=await MetaApi['codeItems'](_0x27db7d(0x188)),_0x41e434=await MetaApi[_0x27db7d(0x176)]('GRID_VIEW_MODE');this[_0x27db7d(0x171)]=_0x41e434,this['gridPageOptions']=_0x5e8e4c;}[a0_0x23e04f(0x189)](){const _0xcd521b=a0_0x23e04f;this[_0xcd521b(0x1b0)]||(this[_0xcd521b(0x1b0)]={'mobile_mode':this[_0xcd521b(0x171)]?this[_0xcd521b(0x171)][0x1]:_0xcd521b(0x178),'desk_mode':this[_0xcd521b(0x171)]?this['gridViewModes'][0x0]:'GRID','use_row_checker':!0x0,'pages':_0xcd521b(0x18c),'view_mode':[...this['gridViewModes']?this[_0xcd521b(0x171)]:[_0xcd521b(0x18a),'LIST',_0xcd521b(0x1a0)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x23e04f(0x1b2)](){const _0x4ca030=a0_0x23e04f;return this[_0x4ca030(0x189)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3b3d1b(0x1b7)]('grid_use_row_check')}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x1ad))}
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[_0x3b3d1b(0x195)][_0x3b3d1b(0x183)]}>${TermsUtil[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x1a9))}</input>
10
+ ?checked=${this[_0x4ca030(0x1b0)]['use_row_checker']}>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x1aa))}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this['viewGridData'][_0x3b3d1b(0x183)]}>${TermsUtil[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x1bc))}</input>
12
+ ?checked=${!this[_0x4ca030(0x1b0)][_0x4ca030(0x190)]}>${TermsUtil['tLabel'](_0x4ca030(0x179))}</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[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x1ae))}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x1b5))}
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[_0x3b3d1b(0x195)][_0x3b3d1b(0x1b5)]}>${TermsUtil[_0x3b3d1b(0x1b7)]('support')}</input>
23
+ ?checked=${this[_0x4ca030(0x1b0)][_0x4ca030(0x1b4)]}>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x184))}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this['viewGridData'][_0x3b3d1b(0x1b5)]}>${TermsUtil[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x1be))}</input>
25
+ ?checked=${!this['viewGridData'][_0x4ca030(0x1b4)]}>${TermsUtil['tLabel'](_0x4ca030(0x19c))}</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[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x190))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x175))}
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[_0x3b3d1b(0x195)][_0x3b3d1b(0x1a0)]}>${TermsUtil[_0x3b3d1b(0x1b7)]('use')}</input>
36
+ ?checked=${this[_0x4ca030(0x1b0)][_0x4ca030(0x18d)]}>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x1aa))}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this[_0x3b3d1b(0x195)]['use_filter_form']}>${TermsUtil[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x1bc))}</input>
38
+ ?checked=${!this[_0x4ca030(0x1b0)][_0x4ca030(0x18d)]}>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x179))}</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[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x19e))}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x19b))}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this[_0x3b3d1b(0x19a)]?.['map'](_0x82a9f7=>html`<option value=${_0x82a9f7[_0x3b3d1b(0x1a2)]} ?selected=${this[_0x3b3d1b(0x195)]['desk_mode']==_0x82a9f7[_0x3b3d1b(0x1a2)]}>${_0x82a9f7['description']}</option>`)}
49
+ ${this[_0x4ca030(0x171)]?.['map'](_0x25abfa=>html`<option value=${_0x25abfa['name']} ?selected=${this[_0x4ca030(0x1b0)][_0x4ca030(0x17e)]==_0x25abfa[_0x4ca030(0x177)]}>${_0x25abfa[_0x4ca030(0x17a)]}</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[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x191))}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x19a))}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this['gridViewModes']?.[_0x3b3d1b(0x18b)](_0x1f5ec9=>html`<option value=${_0x1f5ec9['name']} ?selected=${this[_0x3b3d1b(0x195)]['mobile_mode']==_0x1f5ec9[_0x3b3d1b(0x1a2)]}>${_0x1f5ec9[_0x3b3d1b(0x193)]}</option>`)}
59
+ ${this[_0x4ca030(0x171)]?.[_0x4ca030(0x1a3)](_0x19f38d=>html`<option value=${_0x19f38d['name']} ?selected=${this[_0x4ca030(0x1b0)][_0x4ca030(0x192)]==_0x19f38d[_0x4ca030(0x177)]}>${_0x19f38d['description']}</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[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x1ab))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x4ca030(0x1a5))}
66
66
  </h2>
67
67
  <label>
68
- ${this['gridViewModes']?.[_0x3b3d1b(0x18b)](_0x28f5c8=>html`
69
- <span>${_0x28f5c8[_0x3b3d1b(0x1a2)]}
70
- <input type="radio" name=${_0x28f5c8[_0x3b3d1b(0x1a2)][_0x3b3d1b(0x1ba)]()+_0x3b3d1b(0x1b8)} id=${_0x28f5c8[_0x3b3d1b(0x1a2)][_0x3b3d1b(0x1ba)]()+_0x3b3d1b(0x1b8)} ?checked=${this['viewGridData'][_0x3b3d1b(0x18e)][_0x3b3d1b(0x192)](_0x28f5c8[_0x3b3d1b(0x1a2)])} value="true">${TermsUtil['tLabel'](_0x3b3d1b(0x1a9))}</input>
71
- <input type="radio" name=${_0x28f5c8['name'][_0x3b3d1b(0x1ba)]()+'_view_use'} id=${_0x28f5c8[_0x3b3d1b(0x1a2)][_0x3b3d1b(0x1ba)]()+_0x3b3d1b(0x1b8)} ?checked=${!this[_0x3b3d1b(0x195)][_0x3b3d1b(0x18e)][_0x3b3d1b(0x192)](_0x28f5c8[_0x3b3d1b(0x1a2)])} value="false">${TermsUtil[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x1bc))}</input>
68
+ ${this[_0x4ca030(0x171)]?.['map'](_0x2b641e=>html`
69
+ <span>${_0x2b641e['name']}
70
+ <input type="radio" name=${_0x2b641e[_0x4ca030(0x177)][_0x4ca030(0x1a7)]()+_0x4ca030(0x1a4)} id=${_0x2b641e[_0x4ca030(0x177)]['toLowerCase']()+'_view_use'} ?checked=${this[_0x4ca030(0x1b0)][_0x4ca030(0x1ac)][_0x4ca030(0x181)](_0x2b641e[_0x4ca030(0x177)])} value="true">${TermsUtil[_0x4ca030(0x17c)](_0x4ca030(0x1aa))}</input>
71
+ <input type="radio" name=${_0x2b641e[_0x4ca030(0x177)]['toLowerCase']()+_0x4ca030(0x1a4)} id=${_0x2b641e['name']['toLowerCase']()+'_view_use'} ?checked=${!this[_0x4ca030(0x1b0)]['view_mode']['includes'](_0x2b641e[_0x4ca030(0x177)])} value="false">${TermsUtil[_0x4ca030(0x17c)]('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[_0x3b3d1b(0x1b7)](_0x3b3d1b(0x182))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x4ca030(0x18e))}
79
79
  </h2>
80
80
  <label>
81
- ${this[_0x3b3d1b(0x18d)]?.[_0x3b3d1b(0x18b)](_0x572c23=>html`
81
+ ${this[_0x4ca030(0x185)]?.[_0x4ca030(0x1a3)](_0xe68095=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x572c23[_0x3b3d1b(0x1a2)]} ?checked=${this[_0x3b3d1b(0x195)][_0x3b3d1b(0x1a8)]==_0x572c23[_0x3b3d1b(0x1a2)]}>${TermsUtil[_0x3b3d1b(0x1b7)](_0x572c23[_0x3b3d1b(0x1a2)])}</input>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0xe68095['name']} ?checked=${this['viewGridData'][_0x4ca030(0x1b3)]==_0xe68095[_0x4ca030(0x177)]}>${TermsUtil[_0x4ca030(0x17c)](_0xe68095[_0x4ca030(0x177)])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
1
- const a0_0x3a4a56=a0_0x182a;(function(_0x25fafd,_0x1b65e3){const _0x55d405=a0_0x182a,_0x4893f4=_0x25fafd();while(!![]){try{const _0x421478=-parseInt(_0x55d405(0x16a))/0x1+-parseInt(_0x55d405(0x17b))/0x2+parseInt(_0x55d405(0x196))/0x3*(parseInt(_0x55d405(0x16e))/0x4)+parseInt(_0x55d405(0x17a))/0x5+parseInt(_0x55d405(0x17f))/0x6+parseInt(_0x55d405(0x168))/0x7*(-parseInt(_0x55d405(0x17c))/0x8)+parseInt(_0x55d405(0x191))/0x9;if(_0x421478===_0x1b65e3)break;else _0x4893f4['push'](_0x4893f4['shift']());}catch(_0x3c507d){_0x4893f4['push'](_0x4893f4['shift']());}}}(a0_0x5487,0xb296a));function a0_0x182a(_0xad4824,_0x54d064){const _0x548783=a0_0x5487();return a0_0x182a=function(_0x182a8c,_0x1e2e7d){_0x182a8c=_0x182a8c-0x160;let _0x31f59f=_0x548783[_0x182a8c];return _0x31f59f;},a0_0x182a(_0xad4824,_0x54d064);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x3fd6b7=>class extends _0x3fd6b7{['setGridEmphasizedConfigTabValues'](_0x110aef){const _0x25f9bc=a0_0x182a;if(_0x110aef){this[_0x25f9bc(0x188)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x26a184=0x1;this['viewEmphasizedData'][_0x25f9bc(0x18f)]=(_0x110aef[_0x25f9bc(0x177)]||[])[_0x25f9bc(0x179)](_0x3533fe=>({'id':_0x26a184,'rank':_0x26a184++,'backgroundColor':_0x3533fe[_0x25f9bc(0x171)]||'','fontColor':_0x3533fe[_0x25f9bc(0x166)]||'','logic':_0x3533fe[_0x25f9bc(0x187)]||''})),_0x26a184=0x1;let _0x51548b=_0x110aef[_0x25f9bc(0x18d)]||[];Object[_0x25f9bc(0x170)](_0x51548b)[_0x25f9bc(0x172)](_0x514979=>{let _0x2c2297=_0x51548b[_0x514979]||[],_0x135f2e=0x1;_0x2c2297['forEach'](_0x10cab9=>{const _0x4fe104=a0_0x182a;this['viewEmphasizedData'][_0x4fe104(0x165)][_0x4fe104(0x164)]({'id':_0x26a184++,'rank':_0x135f2e++,'column':_0x514979,'backgroundColor':_0x10cab9[_0x4fe104(0x171)]||'','fontColor':_0x10cab9['fontColor']||'','logic':_0x10cab9[_0x4fe104(0x187)]||''});});}),this[_0x25f9bc(0x176)]?.[_0x25f9bc(0x195)](),this[_0x25f9bc(0x175)]?.[_0x25f9bc(0x195)]();}else this['setGridEmphasizedConfigTabDefaultValues']();}[a0_0x3a4a56(0x173)](){const _0x1c7356=a0_0x3a4a56;let _0x4982b1=this['getElementValueById'](_0x1c7356(0x194)),_0x4479d2=this[_0x1c7356(0x190)](_0x1c7356(0x17d)),_0x5560c2=[];this['sortRecordByRank'](_0x4982b1)?.[_0x1c7356(0x172)](_0x32478b=>{const _0xee474d=_0x1c7356;_0x5560c2[_0xee474d(0x164)]({'backgroundColor':_0x32478b[_0xee474d(0x171)],'fontColor':_0x32478b[_0xee474d(0x166)],'logic':_0x32478b[_0xee474d(0x187)]});});let _0x222ace={};return this['sortRecordByRank'](_0x4479d2)?.[_0x1c7356(0x172)](_0x3a169a=>{const _0x4f1055=_0x1c7356;_0x222ace[_0x3a169a[_0x4f1055(0x18d)]]||(_0x222ace[_0x3a169a['column']]=[]),_0x222ace[_0x3a169a[_0x4f1055(0x18d)]][_0x4f1055(0x164)]({'backgroundColor':_0x3a169a[_0x4f1055(0x171)],'fontColor':_0x3a169a[_0x4f1055(0x166)],'logic':_0x3a169a[_0x4f1055(0x187)]});}),{'gridEmphasized':{'row':_0x5560c2||[],'column':_0x222ace||{}}};}get[a0_0x3a4a56(0x175)](){const _0x559342=a0_0x3a4a56;return this[_0x559342(0x167)][_0x559342(0x18e)]('#row-emphasized-grist');}get[a0_0x3a4a56(0x176)](){const _0x33aec5=a0_0x3a4a56;return this[_0x33aec5(0x167)][_0x33aec5(0x18e)](_0x33aec5(0x16c));}[a0_0x3a4a56(0x178)](){const _0x539ad0=a0_0x3a4a56;this['rowEmphasizedConfig']={'rows':MetaApi[_0x539ad0(0x169)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x539ad0(0x183)](!0x1,!0x1),{'type':'gutter','gutterName':'button','icon':_0x539ad0(0x182),'handlers':{'click':(_0x5985d6,_0x5cba98,_0x544fd5,_0x546ec3,_0x20f11d)=>{const _0x52ae2f=_0x539ad0;_0x546ec3['id']&&this[_0x52ae2f(0x186)](this[_0x52ae2f(0x175)],_0x546ec3);}}},{'type':_0x539ad0(0x161),'name':'id','hidden':!0x0},{'type':'integer','name':_0x539ad0(0x184),'header':TermsUtil['tLabel']('rank'),'sortable':!0x1,'width':0x37,'record':{'align':_0x539ad0(0x16b),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x539ad0(0x171),'header':TermsUtil['tLabel'](_0x539ad0(0x189)),'record':{'align':_0x539ad0(0x193),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x539ad0(0x161),'name':'fontColor','header':TermsUtil[_0x539ad0(0x18a)](_0x539ad0(0x185)),'record':{'align':_0x539ad0(0x193),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x539ad0(0x174),'name':_0x539ad0(0x187),'header':TermsUtil[_0x539ad0(0x18a)](_0x539ad0(0x187)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x352}]},this[_0x539ad0(0x16f)]={'rows':MetaApi[_0x539ad0(0x169)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x539ad0(0x18b),'gutterName':_0x539ad0(0x160),'icon':_0x539ad0(0x182),'handlers':{'click':(_0x44f821,_0x9115d1,_0x4694a9,_0x5bcc8c,_0x158840)=>{const _0x12f3be=_0x539ad0;_0x5bcc8c['id']&&this[_0x12f3be(0x186)](this['emphasizedConfigTabColumnEmphasizedGrist'],_0x5bcc8c);}}},{'type':_0x539ad0(0x161),'name':'id','hidden':!0x0},{'type':_0x539ad0(0x17e),'name':_0x539ad0(0x184),'header':TermsUtil[_0x539ad0(0x18a)](_0x539ad0(0x184)),'sortable':!0x1,'width':0x37,'record':{'align':_0x539ad0(0x16b),'editable':!0x0,'mandatory':!0x0}},{'type':_0x539ad0(0x161),'name':_0x539ad0(0x18d),'header':TermsUtil[_0x539ad0(0x18a)](_0x539ad0(0x18d)),'record':{'align':_0x539ad0(0x193),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x539ad0(0x161),'name':_0x539ad0(0x171),'header':TermsUtil['tLabel']('background-color'),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x539ad0(0x161),'name':_0x539ad0(0x166),'header':TermsUtil[_0x539ad0(0x18a)]('font-color'),'record':{'align':_0x539ad0(0x193),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x539ad0(0x174),'name':_0x539ad0(0x187),'header':TermsUtil['tLabel'](_0x539ad0(0x187)),'record':{'align':_0x539ad0(0x193),'editable':!0x0,'mandatory':!0x0},'width':0x2d5}]};}[a0_0x3a4a56(0x163)](){const _0x3788d3=a0_0x3a4a56;this[_0x3788d3(0x188)]||(this[_0x3788d3(0x188)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}['renderGridEmphasizedConfigTab'](){const _0xd662e5=a0_0x3a4a56;return this[_0xd662e5(0x163)](),html`
1
+ const a0_0x6a0c45=a0_0x4269;(function(_0x97d4aa,_0x578d97){const _0x396f38=a0_0x4269,_0x5e1d9f=_0x97d4aa();while(!![]){try{const _0x7fdead=-parseInt(_0x396f38(0x13a))/0x1*(parseInt(_0x396f38(0x13d))/0x2)+parseInt(_0x396f38(0x145))/0x3*(-parseInt(_0x396f38(0x127))/0x4)+parseInt(_0x396f38(0x12d))/0x5*(-parseInt(_0x396f38(0x13f))/0x6)+-parseInt(_0x396f38(0x11a))/0x7+parseInt(_0x396f38(0x137))/0x8*(parseInt(_0x396f38(0x134))/0x9)+-parseInt(_0x396f38(0x147))/0xa*(-parseInt(_0x396f38(0x124))/0xb)+-parseInt(_0x396f38(0x12e))/0xc*(-parseInt(_0x396f38(0x12f))/0xd);if(_0x7fdead===_0x578d97)break;else _0x5e1d9f['push'](_0x5e1d9f['shift']());}catch(_0x4c1a67){_0x5e1d9f['push'](_0x5e1d9f['shift']());}}}(a0_0x420f,0x7d3a9));import{html}from'lit-element';function a0_0x4269(_0xb33e58,_0x5c342d){const _0x420f13=a0_0x420f();return a0_0x4269=function(_0x426999,_0x2277d0){_0x426999=_0x426999-0x113;let _0x312875=_0x420f13[_0x426999];return _0x312875;},a0_0x4269(_0xb33e58,_0x5c342d);}function a0_0x420f(){const _0x928854=['3474908jQKTxd','viewEmphasizedData','rowEmphasizedConfig','left','button','fetchColumnEmphasized','25GsIqGV','39048OoOknk','7618MhnTXV','bind','getElementValueById','forEach','rank','146043SbtrOx','renderGridEmphasizedConfigTab','background-color','152mzDZzk','backgroundColor','delete','3815AlyNuZ','code-input','tLabel','118nplFxw','push','720294VLXNYH','deleteRow','fetchRowEmphasized','logic','emphasizedConfigTabColumnEmphasizedGrist','querySelector','3BETmdQ','columnEmphasizedData','1921030oDyvHz','setGridEmphasizedConfigTabConfig','sortRecordByRank','column-emphasized-grist','fontColor','rowEmphasizedData','string','shadowRoot','integer','emphasizedConfigTabRowEmphasizedGrist','setGridEmphasizedConfigTabDefaultValues','columnEmphasizedConfig','5436025QwDqyH','row','grid_row_emphasized_config','setGridEmphasizedConfigTabValues','right','getGristGuttersConfig','getGristSelectableConfig','column','fetch','GRID','44zYOvjE','getGridEmphasizedConfigTabValues','#row-emphasized-grist'];a0_0x420f=function(){return _0x928854;};return a0_0x420f();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x3bedf4=>class extends _0x3bedf4{[a0_0x6a0c45(0x11d)](_0x23752a){const _0x421b9e=a0_0x6a0c45;if(_0x23752a){this[_0x421b9e(0x128)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0xceb9a1=0x1;this[_0x421b9e(0x128)][_0x421b9e(0x113)]=(_0x23752a[_0x421b9e(0x11b)]||[])['map'](_0x3517c8=>({'id':_0xceb9a1,'rank':_0xceb9a1++,'backgroundColor':_0x3517c8[_0x421b9e(0x138)]||'','fontColor':_0x3517c8[_0x421b9e(0x14b)]||'','logic':_0x3517c8[_0x421b9e(0x142)]||''})),_0xceb9a1=0x1;let _0x2aadc7=_0x23752a['column']||[];Object['keys'](_0x2aadc7)[_0x421b9e(0x132)](_0xb36eb6=>{const _0x316fb4=_0x421b9e;let _0x366c15=_0x2aadc7[_0xb36eb6]||[],_0x3e9d7d=0x1;_0x366c15[_0x316fb4(0x132)](_0x300048=>{const _0x1cff88=_0x316fb4;this[_0x1cff88(0x128)][_0x1cff88(0x146)]['push']({'id':_0xceb9a1++,'rank':_0x3e9d7d++,'column':_0xb36eb6,'backgroundColor':_0x300048['backgroundColor']||'','fontColor':_0x300048[_0x1cff88(0x14b)]||'','logic':_0x300048[_0x1cff88(0x142)]||''});});}),this['emphasizedConfigTabColumnEmphasizedGrist']?.[_0x421b9e(0x122)](),this['emphasizedConfigTabRowEmphasizedGrist']?.[_0x421b9e(0x122)]();}else this[_0x421b9e(0x118)]();}[a0_0x6a0c45(0x125)](){const _0x2b3726=a0_0x6a0c45;let _0x253372=this[_0x2b3726(0x131)]('row-emphasized-grist'),_0x34731b=this[_0x2b3726(0x131)](_0x2b3726(0x14a)),_0x3780cd=[];this[_0x2b3726(0x149)](_0x253372)?.['forEach'](_0x4ca351=>{const _0x558fba=_0x2b3726;_0x3780cd[_0x558fba(0x13e)]({'backgroundColor':_0x4ca351[_0x558fba(0x138)],'fontColor':_0x4ca351[_0x558fba(0x14b)],'logic':_0x4ca351[_0x558fba(0x142)]});});let _0x85cf52={};return this[_0x2b3726(0x149)](_0x34731b)?.['forEach'](_0x309a12=>{const _0xdc9b97=_0x2b3726;_0x85cf52[_0x309a12['column']]||(_0x85cf52[_0x309a12[_0xdc9b97(0x121)]]=[]),_0x85cf52[_0x309a12[_0xdc9b97(0x121)]][_0xdc9b97(0x13e)]({'backgroundColor':_0x309a12['backgroundColor'],'fontColor':_0x309a12[_0xdc9b97(0x14b)],'logic':_0x309a12[_0xdc9b97(0x142)]});}),{'gridEmphasized':{'row':_0x3780cd||[],'column':_0x85cf52||{}}};}get[a0_0x6a0c45(0x117)](){const _0x236546=a0_0x6a0c45;return this[_0x236546(0x115)]['querySelector'](_0x236546(0x126));}get[a0_0x6a0c45(0x143)](){const _0x188aa0=a0_0x6a0c45;return this['shadowRoot'][_0x188aa0(0x144)]('#column-emphasized-grist');}[a0_0x6a0c45(0x148)](){const _0x376a47=a0_0x6a0c45;this[_0x376a47(0x129)]={'rows':MetaApi[_0x376a47(0x120)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x376a47(0x11f)](!0x1,!0x1),{'type':'gutter','gutterName':_0x376a47(0x12b),'icon':_0x376a47(0x139),'handlers':{'click':(_0x2b91ab,_0x28fba9,_0x34e716,_0x460164,_0x3adaaf)=>{const _0x441110=_0x376a47;_0x460164['id']&&this[_0x441110(0x140)](this[_0x441110(0x117)],_0x460164);}}},{'type':_0x376a47(0x114),'name':'id','hidden':!0x0},{'type':_0x376a47(0x116),'name':_0x376a47(0x133),'header':TermsUtil[_0x376a47(0x13c)]('rank'),'sortable':!0x1,'width':0x37,'record':{'align':_0x376a47(0x11e),'editable':!0x0,'mandatory':!0x0}},{'type':_0x376a47(0x114),'name':'backgroundColor','header':TermsUtil[_0x376a47(0x13c)](_0x376a47(0x136)),'record':{'align':_0x376a47(0x12a),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x376a47(0x114),'name':_0x376a47(0x14b),'header':TermsUtil[_0x376a47(0x13c)]('font-color'),'record':{'align':_0x376a47(0x12a),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x376a47(0x13b),'name':_0x376a47(0x142),'header':TermsUtil[_0x376a47(0x13c)]('logic'),'record':{'align':_0x376a47(0x12a),'editable':!0x0,'mandatory':!0x0},'width':0x352}]},this['columnEmphasizedConfig']={'rows':MetaApi[_0x376a47(0x120)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':'gutter','gutterName':'button','icon':_0x376a47(0x139),'handlers':{'click':(_0x2b7900,_0x1aa198,_0x3b726f,_0x334c8b,_0x1629fe)=>{const _0x24bf34=_0x376a47;_0x334c8b['id']&&this[_0x24bf34(0x140)](this[_0x24bf34(0x143)],_0x334c8b);}}},{'type':_0x376a47(0x114),'name':'id','hidden':!0x0},{'type':_0x376a47(0x116),'name':_0x376a47(0x133),'header':TermsUtil[_0x376a47(0x13c)](_0x376a47(0x133)),'sortable':!0x1,'width':0x37,'record':{'align':_0x376a47(0x11e),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x376a47(0x121),'header':TermsUtil[_0x376a47(0x13c)]('column'),'record':{'align':_0x376a47(0x12a),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x376a47(0x114),'name':'backgroundColor','header':TermsUtil[_0x376a47(0x13c)](_0x376a47(0x136)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x376a47(0x114),'name':'fontColor','header':TermsUtil[_0x376a47(0x13c)]('font-color'),'record':{'align':_0x376a47(0x12a),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'code-input','name':_0x376a47(0x142),'header':TermsUtil['tLabel'](_0x376a47(0x142)),'record':{'align':_0x376a47(0x12a),'editable':!0x0,'mandatory':!0x0},'width':0x2d5}]};}[a0_0x6a0c45(0x118)](){const _0x1fe476=a0_0x6a0c45;this[_0x1fe476(0x128)]||(this[_0x1fe476(0x128)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x6a0c45(0x135)](){const _0x3907e7=a0_0x6a0c45;return this[_0x3907e7(0x118)](),html`
2
2
  <div style='grid-template-rows: 50% 50%;display:grid;flex:1;'>
3
3
  <div field >
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0xd662e5(0x18a)](_0xd662e5(0x162))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x3907e7(0x13c)](_0x3907e7(0x11c))}
6
6
  </h2>
7
- <ox-grist id="row-emphasized-grist" .config=${this['rowEmphasizedConfig']} .mode=${'GRID'} auto-fetch
8
- .fetchHandler=${this['fetchRowEmphasized']['bind'](this)}></ox-grist>
7
+ <ox-grist id="row-emphasized-grist" .config=${this[_0x3907e7(0x129)]} .mode=${_0x3907e7(0x123)} auto-fetch
8
+ .fetchHandler=${this[_0x3907e7(0x141)][_0x3907e7(0x130)](this)}></ox-grist>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0xd662e5(0x18c))}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('grid_column_emphasized_config')}
13
13
  </h2>
14
- <ox-grist id="column-emphasized-grist" .config=${this[_0xd662e5(0x16f)]} .mode=${_0xd662e5(0x180)} auto-fetch
15
- .fetchHandler=${this[_0xd662e5(0x192)][_0xd662e5(0x16d)](this)}></ox-grist>
14
+ <ox-grist id="column-emphasized-grist" .config=${this[_0x3907e7(0x119)]} .mode=${_0x3907e7(0x123)} auto-fetch
15
+ .fetchHandler=${this[_0x3907e7(0x12c)]['bind'](this)}></ox-grist>
16
16
  </div>
17
17
  </div>
18
- `;}async[a0_0x3a4a56(0x181)](){const _0x35eb68=a0_0x3a4a56;return{'records':this[_0x35eb68(0x188)][_0x35eb68(0x18f)],'total':0x0};}async[a0_0x3a4a56(0x192)](){const _0x18ca6c=a0_0x3a4a56;return{'records':this[_0x18ca6c(0x188)]['columnEmphasizedData'],'total':0x0};}};function a0_0x5487(){const _0x2bceee=['getGristGuttersConfig','rank','font-color','deleteRow','logic','viewEmphasizedData','background-color','tLabel','gutter','grid_column_emphasized_config','column','querySelector','rowEmphasizedData','getElementValueById','14316102fyiLHu','fetchColumnEmphasized','left','row-emphasized-grist','fetch','18951ggnjTp','button','string','grid_row_emphasized_config','setGridEmphasizedConfigTabDefaultValues','push','columnEmphasizedData','fontColor','shadowRoot','3369331aECUaK','getGristSelectableConfig','785600UuepLI','right','#column-emphasized-grist','bind','76oqyHgT','columnEmphasizedConfig','keys','backgroundColor','forEach','getGridEmphasizedConfigTabValues','code-input','emphasizedConfigTabRowEmphasizedGrist','emphasizedConfigTabColumnEmphasizedGrist','row','setGridEmphasizedConfigTabConfig','map','2206615uoyFoZ','637804jPYdiE','8vCREXM','column-emphasized-grist','integer','991854Dobonm','GRID','fetchRowEmphasized','delete'];a0_0x5487=function(){return _0x2bceee;};return a0_0x5487();}
18
+ `;}async[a0_0x6a0c45(0x141)](){const _0x41a3a9=a0_0x6a0c45;return{'records':this[_0x41a3a9(0x128)][_0x41a3a9(0x113)],'total':0x0};}async[a0_0x6a0c45(0x12c)](){const _0x5effa1=a0_0x6a0c45;return{'records':this[_0x5effa1(0x128)][_0x5effa1(0x146)],'total':0x0};}};
@@ -1,29 +1,29 @@
1
- const a0_0x1d0e5c=a0_0x3119;(function(_0xed7471,_0x4637b9){const _0x25ad76=a0_0x3119,_0x62676d=_0xed7471();while(!![]){try{const _0x2076a5=-parseInt(_0x25ad76(0x116))/0x1+parseInt(_0x25ad76(0x114))/0x2+-parseInt(_0x25ad76(0x11e))/0x3+parseInt(_0x25ad76(0x112))/0x4*(parseInt(_0x25ad76(0x11b))/0x5)+parseInt(_0x25ad76(0x11d))/0x6+-parseInt(_0x25ad76(0x122))/0x7+parseInt(_0x25ad76(0x10f))/0x8*(parseInt(_0x25ad76(0x12a))/0x9);if(_0x2076a5===_0x4637b9)break;else _0x62676d['push'](_0x62676d['shift']());}catch(_0x2d0826){_0x62676d['push'](_0x62676d['shift']());}}}(a0_0x4dab,0xdfcf1));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x4dab(){const _0x478075=['577481NzkvJg','target','getElementValueById','getMenuConfigTabValues','getElementById','10eEtINI','setMenuConfigTabDefaultValue','4374330RmbRfR','2474700jBUIqG','desc','renderMenuConfigTab','help_doc','7048888XKUZew','menu_desc_field','tTitle','display','menuTitleChange','title','menu_title','viewMenuData','632943TCXizf','menu','menu_name_field','8tusFzA','tLabel','description','1554516LBNPzj','value','3498892HRXfkJ','name'];a0_0x4dab=function(){return _0x478075;};return a0_0x4dab();}function a0_0x3119(_0x31bea2,_0x22ace7){const _0x4dab4c=a0_0x4dab();return a0_0x3119=function(_0x3119ef,_0x54db57){_0x3119ef=_0x3119ef-0x10e;let _0x3ba17a=_0x4dab4c[_0x3119ef];return _0x3ba17a;},a0_0x3119(_0x31bea2,_0x22ace7);}export const MenuConfigTabMixin=_0x50fc60=>class extends _0x50fc60{['setMenuConfigTabValues'](_0x100bfb){const _0x293d76=a0_0x3119;if(_0x100bfb){var {title:_0x40e5b3='',name:_0x1243a7='',desc:_0x10d814='',help:_0xe5a7ad=''}=_0x100bfb||{};this[_0x293d76(0x129)]={'title':_0x40e5b3,'name':_0x1243a7,'desc':_0x10d814,'help_doc':_0xe5a7ad},this['getElementById'](_0x293d76(0x127))['value']=_0x40e5b3,this['getElementById'](_0x293d76(0x115))['value']=_0x1243a7,this['getElementById'](_0x293d76(0x11f))[_0x293d76(0x113)]=_0x10d814,this[_0x293d76(0x11a)]('help_doc')['value']=_0xe5a7ad;}else this[_0x293d76(0x11c)]();}[a0_0x1d0e5c(0x119)](){const _0x33abee=a0_0x1d0e5c;let _0x4d9621={'menu':{}},_0x27a8f2=this['getElementValueById']('title'),_0x4158bd=this[_0x33abee(0x118)](_0x33abee(0x115)),_0x1c02f8=this[_0x33abee(0x118)](_0x33abee(0x11f)),_0x4aec08=this[_0x33abee(0x118)](_0x33abee(0x121));return _0x27a8f2&&(_0x4d9621['menu'][_0x33abee(0x127)]=_0x27a8f2),_0x4158bd&&(_0x4d9621[_0x33abee(0x12b)][_0x33abee(0x115)]=_0x4158bd),_0x1c02f8&&(_0x4d9621[_0x33abee(0x12b)][_0x33abee(0x11f)]=_0x1c02f8),_0x4aec08&&(_0x4d9621[_0x33abee(0x12b)]['help']=_0x4aec08),_0x4d9621;}['setMenuConfigTabDefaultValue'](){const _0x63f7fd=a0_0x1d0e5c;this[_0x63f7fd(0x129)]||(this[_0x63f7fd(0x129)]={'title':'','name':_0x63f7fd(0x115),'desc':_0x63f7fd(0x111),'help_doc':''});}[a0_0x1d0e5c(0x126)](_0x4b733d){const _0x572ed1=a0_0x1d0e5c;let _0x4bd11a=this[_0x572ed1(0x11a)](_0x572ed1(0x125));_0x4bd11a&&(_0x4bd11a[_0x572ed1(0x113)]=TermsUtil[_0x572ed1(0x124)](_0x4b733d[_0x572ed1(0x117)][_0x572ed1(0x113)]));}[a0_0x1d0e5c(0x120)](){const _0x521593=a0_0x1d0e5c;return this[_0x521593(0x11c)](),html`
1
+ function a0_0x6b78(_0x12dbe8,_0x29bd08){const _0x17b49f=a0_0x17b4();return a0_0x6b78=function(_0x6b786f,_0x568614){_0x6b786f=_0x6b786f-0x14b;let _0x16f997=_0x17b49f[_0x6b786f];return _0x16f997;},a0_0x6b78(_0x12dbe8,_0x29bd08);}const a0_0x259c74=a0_0x6b78;(function(_0x12618,_0x173a64){const _0x5dab02=a0_0x6b78,_0x5e1572=_0x12618();while(!![]){try{const _0x18df14=parseInt(_0x5dab02(0x153))/0x1+-parseInt(_0x5dab02(0x166))/0x2+-parseInt(_0x5dab02(0x152))/0x3+parseInt(_0x5dab02(0x15f))/0x4+-parseInt(_0x5dab02(0x15e))/0x5+parseInt(_0x5dab02(0x14c))/0x6+parseInt(_0x5dab02(0x158))/0x7;if(_0x18df14===_0x173a64)break;else _0x5e1572['push'](_0x5e1572['shift']());}catch(_0x301b3f){_0x5e1572['push'](_0x5e1572['shift']());}}}(a0_0x17b4,0xe32dd));import{html}from'lit-element';function a0_0x17b4(){const _0x29c2fe=['menu_title','menu_desc_field','804602WARRqD','tTitle','8824002fpLnfe','help_doc','tLabel','target','menuTitleChange','name','1894515xFzJnK','840252uqbcFW','menu','display','value','help','2167830INTinH','getElementById','title','desc','setMenuConfigTabDefaultValue','getElementValueById','6629370qrBPic','2678384luPScQ','setMenuConfigTabValues','menu_name_field','viewMenuData','getMenuConfigTabValues'];a0_0x17b4=function(){return _0x29c2fe;};return a0_0x17b4();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x3f77a5=>class extends _0x3f77a5{[a0_0x259c74(0x160)](_0x2e4f49){const _0x4d57a3=a0_0x259c74;if(_0x2e4f49){var {title:_0x5c0295='',name:_0x30b8f7='',desc:_0x441766='',help:_0x46f08e=''}=_0x2e4f49||{};this[_0x4d57a3(0x162)]={'title':_0x5c0295,'name':_0x30b8f7,'desc':_0x441766,'help_doc':_0x46f08e},this[_0x4d57a3(0x159)]('title')[_0x4d57a3(0x156)]=_0x5c0295,this[_0x4d57a3(0x159)](_0x4d57a3(0x151))[_0x4d57a3(0x156)]=_0x30b8f7,this[_0x4d57a3(0x159)](_0x4d57a3(0x15b))[_0x4d57a3(0x156)]=_0x441766,this['getElementById'](_0x4d57a3(0x14d))[_0x4d57a3(0x156)]=_0x46f08e;}else this[_0x4d57a3(0x15c)]();}[a0_0x259c74(0x163)](){const _0x3d79b2=a0_0x259c74;let _0x431405={'menu':{}},_0x44dde4=this[_0x3d79b2(0x15d)](_0x3d79b2(0x15a)),_0x4c182=this[_0x3d79b2(0x15d)](_0x3d79b2(0x151)),_0x1ab9b9=this[_0x3d79b2(0x15d)](_0x3d79b2(0x15b)),_0x28d511=this[_0x3d79b2(0x15d)](_0x3d79b2(0x14d));return _0x44dde4&&(_0x431405[_0x3d79b2(0x154)][_0x3d79b2(0x15a)]=_0x44dde4),_0x4c182&&(_0x431405['menu'][_0x3d79b2(0x151)]=_0x4c182),_0x1ab9b9&&(_0x431405[_0x3d79b2(0x154)]['desc']=_0x1ab9b9),_0x28d511&&(_0x431405[_0x3d79b2(0x154)][_0x3d79b2(0x157)]=_0x28d511),_0x431405;}['setMenuConfigTabDefaultValue'](){const _0x13701d=a0_0x259c74;this[_0x13701d(0x162)]||(this[_0x13701d(0x162)]={'title':'','name':_0x13701d(0x151),'desc':'description','help_doc':''});}[a0_0x259c74(0x150)](_0x3bc6dd){const _0x503749=a0_0x259c74;let _0x543b02=this[_0x503749(0x159)](_0x503749(0x155));_0x543b02&&(_0x543b02[_0x503749(0x156)]=TermsUtil[_0x503749(0x14b)](_0x3bc6dd[_0x503749(0x14f)]['value']));}['renderMenuConfigTab'](){const _0x5e6541=a0_0x259c74;return this[_0x5e6541(0x15c)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil[_0x521593(0x110)](_0x521593(0x128))}
5
- <input id="title" name="title" type="text" value=${this[_0x521593(0x129)]['title']} @change=${_0x556923=>this[_0x521593(0x126)](_0x556923)}/>
4
+ <label>${TermsUtil[_0x5e6541(0x14e)](_0x5e6541(0x164))}
5
+ <input id="title" name="title" type="text" value=${this['viewMenuData'][_0x5e6541(0x15a)]} @change=${_0x27e495=>this[_0x5e6541(0x150)](_0x27e495)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil[_0x521593(0x110)]('display')}
10
- <input id="display" name="display" value=${TermsUtil[_0x521593(0x124)](this[_0x521593(0x129)][_0x521593(0x127)])} type="text" readonly
9
+ <label>${TermsUtil[_0x5e6541(0x14e)]('display')}
10
+ <input id="display" name="display" value=${TermsUtil[_0x5e6541(0x14b)](this[_0x5e6541(0x162)][_0x5e6541(0x15a)])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x521593(0x110)](_0x521593(0x10e))}
16
- <input id="name" name="name" type="text" value=${this['viewMenuData'][_0x521593(0x115)]} />
15
+ <label>${TermsUtil[_0x5e6541(0x14e)](_0x5e6541(0x161))}
16
+ <input id="name" name="name" type="text" value=${this[_0x5e6541(0x162)]['name']} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil[_0x521593(0x110)](_0x521593(0x123))}
21
- <input id="desc" name="desc" type="text" value=${this['viewMenuData'][_0x521593(0x11f)]} />
20
+ <label>${TermsUtil[_0x5e6541(0x14e)](_0x5e6541(0x165))}
21
+ <input id="desc" name="desc" type="text" value=${this[_0x5e6541(0x162)][_0x5e6541(0x15b)]} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil[_0x521593(0x110)](_0x521593(0x121))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x521593(0x129)][_0x521593(0x121)]} />
25
+ <label>${TermsUtil['tLabel']('help_doc')}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0x5e6541(0x162)][_0x5e6541(0x14d)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
@@ -1,4 +1,4 @@
1
- const a0_0x9db818=a0_0x8384;(function(_0x5f1770,_0x169a5a){const _0xe1442f=a0_0x8384,_0x4afff0=_0x5f1770();while(!![]){try{const _0x3a5612=-parseInt(_0xe1442f(0x21c))/0x1*(parseInt(_0xe1442f(0x20d))/0x2)+-parseInt(_0xe1442f(0x1ec))/0x3+-parseInt(_0xe1442f(0x239))/0x4+-parseInt(_0xe1442f(0x1e7))/0x5+parseInt(_0xe1442f(0x216))/0x6*(-parseInt(_0xe1442f(0x224))/0x7)+parseInt(_0xe1442f(0x23f))/0x8*(parseInt(_0xe1442f(0x1d8))/0x9)+parseInt(_0xe1442f(0x20e))/0xa;if(_0x3a5612===_0x169a5a)break;else _0x4afff0['push'](_0x4afff0['shift']());}catch(_0x47e8e6){_0x4afff0['push'](_0x4afff0['shift']());}}}(a0_0x55ef,0x9c02d));import{html,css}from'lit-element';import{merge}from'lodash';import a0_0x162102 from'graphql-tag';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';function a0_0x55ef(){const _0x1ce797=['properties','metaTemplate','save','updateMultipleMenu','search','initData','getState','tTitle','convertFirstCharUpperCase','type','gridEmphasized','findOne','meta-generator-page','4011840Rymymz','tMenu','list','tButton','menu','78600huafPE','etc_config','setTabData','getElementById','data','menuName','getConfigTab','operatoTools','render','\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','menu_config','display:flex','parse','error.invalid\x20license\x20key','tabData','clear','length','template','ConfigTabConfig','push','dataStorage','style','back','ConfigTab','dispatchEvent','sort','grid-','styles','refresh','value','ox-grist','dec','sortRecordByRank','4zKYgHx','26571980nfgUMZ','getElementValueById','rank','slice','tagName','sorters','option','rep_field','11292ZzkwvS','keys','button','sort_rank','define','desc','261173JboKaF','tab','icon','stringify',':checked','bind','backToMenu','radio','2198leTCFx','select','form_config','params','ConfigTabValues','sortRecordByField','pageInitialized','name','enc','toUpperCase','details','thumbnail','forEach','includes','dirtyData','set','currentTabKey','ox-input-code','shadowRoot','etc','query','4155444UBUqxy','menuId','toLowerCase','lifecycle','display:none','form','592336NthHEj','detail_field','updateMultiple','thumbnail_field','options','map','active','tLabel','filters','grid_emphasized_config','graphql_config','records','117PWHDAR','querySelector'];a0_0x55ef=function(){return _0x1ce797;};return a0_0x55ef();}import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x8384(_0x4f1684,_0x33a6c7){const _0x55ef85=a0_0x55ef();return a0_0x8384=function(_0x838477,_0x3a6ac7){_0x838477=_0x838477-0x1d8;let _0x4fcd4a=_0x55ef85[_0x838477];return _0x4fcd4a;},a0_0x8384(_0x4f1684,_0x33a6c7);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x9db818(0x207)](){return[css`
1
+ const a0_0x3c6759=a0_0x150a;(function(_0x289216,_0x47f88b){const _0x39ce83=a0_0x150a,_0x29d1a9=_0x289216();while(!![]){try{const _0x1ca511=parseInt(_0x39ce83(0x1f2))/0x1+parseInt(_0x39ce83(0x1d7))/0x2+parseInt(_0x39ce83(0x1c5))/0x3*(-parseInt(_0x39ce83(0x1a1))/0x4)+-parseInt(_0x39ce83(0x1d6))/0x5+parseInt(_0x39ce83(0x1c0))/0x6+-parseInt(_0x39ce83(0x193))/0x7*(parseInt(_0x39ce83(0x1c2))/0x8)+parseInt(_0x39ce83(0x1c3))/0x9;if(_0x1ca511===_0x47f88b)break;else _0x29d1a9['push'](_0x29d1a9['shift']());}catch(_0x5b1421){_0x29d1a9['push'](_0x29d1a9['shift']());}}}(a0_0xb48e,0x4a364));import{html,css}from'lit-element';import{merge}from'lodash';import a0_0x5706ae from'graphql-tag';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';function a0_0xb48e(){const _0x414c65=['menu_config','getState','filter','forEach','371EQaTef','keys','studioPermission','sort_rank','name','refresh','push','dispatchEvent','toLowerCase','dec','rep_field','back','records','graphql','4XEUMvw','initData','metaTemplate','meta-generator-page','slice','getConfigTab','error','styles','form_config','value','thumbnail_field','updateMultiple','style','option','active','menuId','set','button','options','dataStorage','search','dirtyData','type','backToMenu','ox-input-code','stringify','convertFirstCharUpperCase','enc','hidden','tab','thumbnail','2710620SnHgxc','currentTabKey','75896cDuqUi','24723xOqkST','graphql_config','45975YfnEuU','notify','list','charAt','parse','fields','\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','toUpperCase','radio','tButton','lifecycle','errors','render','clear','pageUpdated','menu','rank','2961150xkmhYF','1120732QgRDqo','bind','error.invalid\x20license\x20key','column','search_config','sorters','desc','button_config','icon','querySelector','remove','properties','setTabData','form','details','detail_field','selectedIndex','ConfigTabConfig','menuName','tabData','save','updateMultipleMenu','context','tagName','template','ConfigTabValues','display:none','399455duzHFz','pageInitialized','map','grid_config','sort','ConfigTab','tLabel','sortRecordByField','query','deleteRow','column_config','tab_config','length','etc_config','shadowRoot'];a0_0xb48e=function(){return _0x414c65;};return a0_0xb48e();}import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';function a0_0x150a(_0x55f932,_0x1af8a0){const _0xb48e06=a0_0xb48e();return a0_0x150a=function(_0x150a2a,_0x329f01){_0x150a2a=_0x150a2a-0x192;let _0x315505=_0xb48e06[_0x150a2a];return _0x315505;},a0_0x150a(_0x55f932,_0x1af8a0);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x3c6759(0x1a8)](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -139,24 +139,24 @@ const a0_0x9db818=a0_0x8384;(function(_0x5f1770,_0x169a5a){const _0xe1442f=a0_0x
139
139
  ox-grist {
140
140
  overflow-y: auto;
141
141
  flex: 1;
142
- }`];}static get[a0_0x9db818(0x1da)](){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 _0x3dea9a=a0_0x9db818;return{'title':TermsUtil[_0x3dea9a(0x1e1)]('meta_generator'),'actions':[{'title':TermsUtil[_0x3dea9a(0x1ea)](_0x3dea9a(0x1dc)),'action':this['save'][_0x3dea9a(0x221)](this),...CommonButtonStyles['save']},{'title':TermsUtil[_0x3dea9a(0x1ea)]('back'),'action':this[_0x3dea9a(0x222)]['bind'](this),...CommonButtonStyles[_0x3dea9a(0x202)]},{'title':TermsUtil[_0x3dea9a(0x1ea)]('refresh'),'action':this[_0x3dea9a(0x208)]['bind'](this),...CommonButtonStyles[_0x3dea9a(0x208)]}]};}['deleteRow'](_0x4b33f1,_0x24f640){const _0x5af84b=a0_0x9db818;let _0x5e9608=_0x4b33f1[_0x5af84b(0x232)];_0x5e9608[_0x5af84b(0x24a)]=_0x5e9608[_0x5af84b(0x24a)]['filter'](_0x23a55=>_0x23a55['id']!=_0x24f640['id']),_0x4b33f1[_0x5af84b(0x1f0)]=_0x5e9608;}async['save'](){const _0x3ac330=a0_0x9db818;if(0x0==store[_0x3ac330(0x1e0)]()[_0x3ac330(0x1f3)]['studioPermission'])return void document[_0x3ac330(0x204)](new CustomEvent('notify',{'detail':{'level':'error','message':i18next['t'](_0x3ac330(0x1f9))}}));if((await client[_0x3ac330(0x238)]({'query':a0_0x162102`
142
+ }`];}static get[a0_0x3c6759(0x1e2)](){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_0x3c6759(0x1ed)](){const _0x4c063d=a0_0x3c6759;return{'title':TermsUtil['tTitle']('meta_generator'),'actions':[{'title':TermsUtil['tButton'](_0x4c063d(0x1eb)),'action':this['save']['bind'](this),...CommonButtonStyles[_0x4c063d(0x1eb)]},{'title':TermsUtil['tButton'](_0x4c063d(0x19e)),'action':this[_0x4c063d(0x1b8)][_0x4c063d(0x1d8)](this),...CommonButtonStyles[_0x4c063d(0x19e)]},{'title':TermsUtil[_0x4c063d(0x1ce)](_0x4c063d(0x198)),'action':this['refresh'][_0x4c063d(0x1d8)](this),...CommonButtonStyles[_0x4c063d(0x198)]}]};}[a0_0x3c6759(0x1fb)](_0x8cf2f3,_0x1f1afd){const _0x5f49ea=a0_0x3c6759;let _0x1568db=_0x8cf2f3[_0x5f49ea(0x1b6)];_0x1568db['records']=_0x1568db['records'][_0x5f49ea(0x203)](_0x4d372c=>_0x4d372c['id']!=_0x1f1afd['id']),_0x8cf2f3['data']=_0x1568db;}async[a0_0x3c6759(0x1eb)](){const _0x15dd84=a0_0x3c6759;if(0x0==store[_0x15dd84(0x202)]()['operatoTools'][_0x15dd84(0x195)])return void document[_0x15dd84(0x19a)](new CustomEvent(_0x15dd84(0x1c6),{'detail':{'level':_0x15dd84(0x1a7),'message':i18next['t'](_0x15dd84(0x1d9))}}));if((await client[_0x15dd84(0x1fa)]({'query':a0_0x5706ae`
143
143
  query ($id: String!) {
144
144
  studioTemplateIsOverLimit(id: $id)
145
145
  }
146
- `,'variables':{'id':this['menuId']}}))['errors'])return;let _0x19c606={},_0x4be5ff={};Object[_0x3ac330(0x217)](this[_0x3ac330(0x1fa)])[_0x3ac330(0x230)](_0x46647c=>{const _0x18cd6c=_0x3ac330;let _0x4863e3=this[_0x18cd6c(0x1e2)](_0x46647c);_0x19c606[_0x46647c]=this['get'+_0x4863e3+'ConfigTabValues'](),_0x4be5ff=merge(_0x4be5ff,_0x19c606[_0x46647c]);}),_0x4be5ff=JSON[_0x3ac330(0x21f)](_0x4be5ff),_0x4be5ff=MetaCrypto[_0x3ac330(0x22c)](_0x4be5ff),await MetaApi[_0x3ac330(0x241)](_0x3ac330(0x1dd),[{'id':this[_0x3ac330(0x23a)],'template':_0x4be5ff,'cuFlag':'M'}])&&await this[_0x3ac330(0x1df)]();}[a0_0x9db818(0x1fb)](){const _0x59265f=a0_0x9db818;this['setTabData'](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x59265f(0x217)](this[_0x59265f(0x1fa)])[_0x59265f(0x230)](_0x2c07a5=>{const _0x1bf578=_0x59265f;let _0xdda0f8=this[_0x1bf578(0x1e2)](_0x2c07a5);if(this[_0x1bf578(0x233)+_0xdda0f8+_0x1bf578(0x228)])return this[_0x1bf578(0x233)+_0xdda0f8+_0x1bf578(0x228)](this[_0x1bf578(0x200)][_0x2c07a5]);});}async[a0_0x9db818(0x208)](){const _0x53b3a7=a0_0x9db818;this[_0x53b3a7(0x1fb)](),await this[_0x53b3a7(0x1df)]();}[a0_0x9db818(0x222)](){history['back']();}async[a0_0x9db818(0x1df)](){const _0x28bf70=a0_0x9db818;let {menuId:_0x18cd90=''}=this['lifecycle']?.[_0x28bf70(0x227)]?this[_0x28bf70(0x23c)][_0x28bf70(0x227)]:{};if(this['menuId']=_0x18cd90,!_0x18cd90||''==_0x18cd90)return void this[_0x28bf70(0x1fb)]();let _0x11a837=await MetaApi[_0x28bf70(0x1e5)](_0x28bf70(0x1eb),_0x18cd90,_0x28bf70(0x1f5));if(!_0x11a837)return;try{JSON[_0x28bf70(0x1f8)](MetaCrypto[_0x28bf70(0x20b)](_0x11a837['template']));}catch(_0x3602a8){return;}this[_0x28bf70(0x1f1)]=TermsUtil[_0x28bf70(0x1e8)](_0x11a837[_0x28bf70(0x22b)]),this[_0x28bf70(0x1db)]=_0x11a837['template']?JSON[_0x28bf70(0x1f8)](MetaCrypto[_0x28bf70(0x20b)](_0x11a837[_0x28bf70(0x1fd)])):{};let {menu:_0x3b40c9={},gql:_0x576a88={},button:_0x3b7198=[],grid_column:_0x6ca7fa=[],grid:_0x412739={},search:_0x1f4999=[],form:_0x24cefa=[],tab:_0x220dca=[],etc:_0x20092e={},gridEmphasized:_0x128d7a=[]}=this[_0x28bf70(0x1db)]?this[_0x28bf70(0x1db)]:{};this[_0x28bf70(0x1ee)](),this[_0x28bf70(0x200)]={},this[_0x28bf70(0x200)]['menu']=_0x3b40c9,this['dataStorage']['graphql']=_0x576a88,this[_0x28bf70(0x200)]['grid']=_0x412739,this[_0x28bf70(0x200)][_0x28bf70(0x23e)]=_0x24cefa,this['dataStorage'][_0x28bf70(0x21d)]=_0x220dca,this['dataStorage'][_0x28bf70(0x237)]=_0x20092e,this['dataStorage'][_0x28bf70(0x1e4)]=_0x128d7a,(_0x412739[_0x28bf70(0x214)]?.[_0x28bf70(0x213)]||[])[_0x28bf70(0x230)]((_0x1af80b,_0x5ad51c)=>{const _0x1fbfaa=_0x28bf70;_0x1af80b[_0x1fbfaa(0x210)]=0xa*(_0x5ad51c+0x1);}),this[_0x28bf70(0x200)]['column']=_0x6ca7fa[_0x28bf70(0x244)](_0x428d98=>{const _0x49b98e=_0x28bf70;let _0x3a74de=(_0x412739['option']?.['sorters']||[])['filter'](_0x570084=>_0x570084[_0x49b98e(0x22b)]==_0x428d98[_0x49b98e(0x22b)]);return _0x3a74de&&_0x3a74de[_0x49b98e(0x1fc)]>0x0?(_0x428d98[_0x49b98e(0x219)]=_0x3a74de[0x0][_0x49b98e(0x210)],_0x428d98['sort_desc']=!!_0x3a74de[0x0][_0x49b98e(0x21b)]&&_0x3a74de[0x0][_0x49b98e(0x21b)]):_0x428d98[_0x49b98e(0x219)]=0x0,_0x428d98[_0x49b98e(0x215)]=(_0x412739[_0x49b98e(0x1e9)]?.['fields']||[])[_0x49b98e(0x231)](_0x428d98[_0x49b98e(0x22b)]),_0x428d98[_0x49b98e(0x240)]=(_0x412739[_0x49b98e(0x1e9)]?.[_0x49b98e(0x22e)]||[])[_0x49b98e(0x231)](_0x428d98[_0x49b98e(0x22b)]),_0x428d98[_0x49b98e(0x242)]=_0x412739[_0x49b98e(0x1e9)]?.[_0x49b98e(0x22f)]==_0x428d98[_0x49b98e(0x22b)],_0x428d98;}),_0x1f4999[_0x28bf70(0x1ff)](...(_0x576a88[_0x28bf70(0x238)]?.[_0x28bf70(0x247)]||[])[_0x28bf70(0x244)](_0x2b6aa6=>(_0x2b6aa6['hidden']=!0x0,_0x2b6aa6))),this[_0x28bf70(0x200)][_0x28bf70(0x1de)]=_0x1f4999,_0x3b7198[_0x28bf70(0x1ff)](...(_0x412739['button']||[])[_0x28bf70(0x244)](_0x200bff=>(_0x200bff['type']=_0x28bf70(0x206)+_0x200bff['type'],_0x200bff[_0x28bf70(0x201)]=_0x200bff[_0x28bf70(0x21e)],_0x200bff))),this[_0x28bf70(0x200)][_0x28bf70(0x218)]=_0x3b7198,Object['keys'](this[_0x28bf70(0x1fa)])[_0x28bf70(0x230)](_0x2f3abf=>{const _0x4aa1e0=_0x28bf70;let _0x1ef803=this[_0x4aa1e0(0x1e2)](_0x2f3abf);if(this['set'+_0x1ef803+_0x4aa1e0(0x228)])return this[_0x4aa1e0(0x233)+_0x1ef803+_0x4aa1e0(0x228)](this['dataStorage'][_0x2f3abf]);});}async[a0_0x9db818(0x22a)](){const _0xc72572=a0_0x9db818;this['setTabData']();let _0x46976b=Object[_0xc72572(0x217)](this[_0xc72572(0x1fa)]);for(let _0x1b135c=0x0;_0x1b135c<_0x46976b[_0xc72572(0x1fc)];_0x1b135c++){let _0x3c7968=this[_0xc72572(0x1e2)](_0x46976b[_0x1b135c]);this[_0xc72572(0x233)+_0x3c7968+'ConfigTabConfig']&&await this['set'+_0x3c7968+_0xc72572(0x1fe)]();}}async['pageUpdated'](_0x14b1d8,_0x318580,_0x4c9e65){const _0x522d9d=a0_0x9db818;!0x0===this[_0x522d9d(0x245)]?(this[_0x522d9d(0x1ee)](),await this[_0x522d9d(0x1df)](),this[_0x522d9d(0x1ee)]()):(this[_0x522d9d(0x1fb)](),this['remove']());}[a0_0x9db818(0x1ee)](){const _0xe4626=a0_0x9db818;this[_0xe4626(0x1fa)]||(this['tabData']={'menu':TermsUtil[_0xe4626(0x246)](_0xe4626(0x1f6)),'graphql':TermsUtil[_0xe4626(0x246)](_0xe4626(0x249)),'grid':TermsUtil[_0xe4626(0x246)]('grid_config'),'column':TermsUtil[_0xe4626(0x246)]('column_config'),'gridEmphasized':TermsUtil[_0xe4626(0x246)](_0xe4626(0x248)),'button':TermsUtil[_0xe4626(0x246)]('button_config'),'search':TermsUtil[_0xe4626(0x246)]('search_config'),'form':TermsUtil[_0xe4626(0x246)](_0xe4626(0x226)),'tab':TermsUtil[_0xe4626(0x246)]('tab_config'),'etc':TermsUtil[_0xe4626(0x246)](_0xe4626(0x1ed))});}[a0_0x9db818(0x1f4)](){const _0x353065=a0_0x9db818;this[_0x353065(0x234)]||(this[_0x353065(0x234)]=_0x353065(0x1eb)),this[_0x353065(0x1ee)]();let _0x5397b2=Object['keys'](this['tabData']);return this['tabData'][this['currentTabKey']]?this[_0x353065(0x234)]:_0x5397b2[0x0],html`
147
- <h1>${this[_0x353065(0x1f1)]}</h1>
146
+ `,'variables':{'id':this['menuId']}}))[_0x15dd84(0x1d0)])return;let _0x3d2381={},_0x4b8ea3={};Object[_0x15dd84(0x194)](this[_0x15dd84(0x1ea)])[_0x15dd84(0x192)](_0x4a6f4a=>{const _0x5408bd=_0x15dd84;let _0x263cab=this[_0x5408bd(0x1bb)](_0x4a6f4a);_0x3d2381[_0x4a6f4a]=this['get'+_0x263cab+_0x5408bd(0x1f0)](),_0x4b8ea3=merge(_0x4b8ea3,_0x3d2381[_0x4a6f4a]);}),_0x4b8ea3=JSON[_0x15dd84(0x1ba)](_0x4b8ea3),_0x4b8ea3=MetaCrypto[_0x15dd84(0x1bc)](_0x4b8ea3),await MetaApi[_0x15dd84(0x1ac)](_0x15dd84(0x1ec),[{'id':this[_0x15dd84(0x1b0)],'template':_0x4b8ea3,'cuFlag':'M'}])&&await this[_0x15dd84(0x1a2)]();}[a0_0x3c6759(0x1d2)](){const _0x55552b=a0_0x3c6759;this[_0x55552b(0x1e3)](),this[_0x55552b(0x1b4)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object['keys'](this[_0x55552b(0x1ea)])['forEach'](_0x1d1678=>{const _0x4fd124=_0x55552b;let _0x168679=this['convertFirstCharUpperCase'](_0x1d1678);if(this[_0x4fd124(0x1b1)+_0x168679+_0x4fd124(0x1f0)])return this[_0x4fd124(0x1b1)+_0x168679+_0x4fd124(0x1f0)](this[_0x4fd124(0x1b4)][_0x1d1678]);});}async[a0_0x3c6759(0x198)](){const _0x269b5f=a0_0x3c6759;this[_0x269b5f(0x1d2)](),await this[_0x269b5f(0x1a2)]();}[a0_0x3c6759(0x1b8)](){const _0x9b7041=a0_0x3c6759;history[_0x9b7041(0x19e)]();}async[a0_0x3c6759(0x1a2)](){const _0x23e3db=a0_0x3c6759;let {menuId:_0x3cbe28=''}=this[_0x23e3db(0x1cf)]?.['params']?this[_0x23e3db(0x1cf)]['params']:{};if(this['menuId']=_0x3cbe28,!_0x3cbe28||''==_0x3cbe28)return void this['clear']();let _0x57224a=await MetaApi['findOne'](_0x23e3db(0x1d4),_0x3cbe28,_0x23e3db(0x1cb));if(!_0x57224a)return;try{JSON['parse'](MetaCrypto[_0x23e3db(0x19c)](_0x57224a[_0x23e3db(0x1ef)]));}catch(_0x41d302){return;}this[_0x23e3db(0x1e9)]=TermsUtil['tMenu'](_0x57224a[_0x23e3db(0x197)]),this[_0x23e3db(0x1a3)]=_0x57224a['template']?JSON[_0x23e3db(0x1c9)](MetaCrypto[_0x23e3db(0x19c)](_0x57224a[_0x23e3db(0x1ef)])):{};let {menu:_0x325af9={},gql:_0x44ac25={},button:_0x3eb213=[],grid_column:_0x20e68d=[],grid:_0x461abd={},search:_0x11cc6e=[],form:_0x1fe633=[],tab:_0x43e1e0=[],etc:_0x2c2e36={},gridEmphasized:_0x381eea=[]}=this[_0x23e3db(0x1a3)]?this['metaTemplate']:{};this[_0x23e3db(0x1e3)](),this[_0x23e3db(0x1b4)]={},this[_0x23e3db(0x1b4)][_0x23e3db(0x1d4)]=_0x325af9,this['dataStorage'][_0x23e3db(0x1a0)]=_0x44ac25,this[_0x23e3db(0x1b4)]['grid']=_0x461abd,this[_0x23e3db(0x1b4)][_0x23e3db(0x1e4)]=_0x1fe633,this[_0x23e3db(0x1b4)][_0x23e3db(0x1be)]=_0x43e1e0,this[_0x23e3db(0x1b4)]['etc']=_0x2c2e36,this[_0x23e3db(0x1b4)]['gridEmphasized']=_0x381eea,(_0x461abd[_0x23e3db(0x1ae)]?.[_0x23e3db(0x1dc)]||[])['forEach']((_0x42d893,_0x53a951)=>{const _0x7037b6=_0x23e3db;_0x42d893[_0x7037b6(0x1d5)]=0xa*(_0x53a951+0x1);}),this['dataStorage'][_0x23e3db(0x1da)]=_0x20e68d[_0x23e3db(0x1f4)](_0x341b2f=>{const _0x42d5a8=_0x23e3db;let _0x3f067d=(_0x461abd[_0x42d5a8(0x1ae)]?.['sorters']||[])[_0x42d5a8(0x203)](_0x136f47=>_0x136f47[_0x42d5a8(0x197)]==_0x341b2f[_0x42d5a8(0x197)]);return _0x3f067d&&_0x3f067d[_0x42d5a8(0x1fe)]>0x0?(_0x341b2f[_0x42d5a8(0x196)]=_0x3f067d[0x0][_0x42d5a8(0x1d5)],_0x341b2f['sort_desc']=!!_0x3f067d[0x0][_0x42d5a8(0x1dd)]&&_0x3f067d[0x0][_0x42d5a8(0x1dd)]):_0x341b2f[_0x42d5a8(0x196)]=0x0,_0x341b2f[_0x42d5a8(0x19d)]=(_0x461abd[_0x42d5a8(0x1c7)]?.[_0x42d5a8(0x1ca)]||[])['includes'](_0x341b2f[_0x42d5a8(0x197)]),_0x341b2f[_0x42d5a8(0x1e6)]=(_0x461abd[_0x42d5a8(0x1c7)]?.[_0x42d5a8(0x1e5)]||[])['includes'](_0x341b2f[_0x42d5a8(0x197)]),_0x341b2f[_0x42d5a8(0x1ab)]=_0x461abd[_0x42d5a8(0x1c7)]?.[_0x42d5a8(0x1bf)]==_0x341b2f[_0x42d5a8(0x197)],_0x341b2f;}),_0x11cc6e[_0x23e3db(0x199)](...(_0x44ac25['query']?.['filters']||[])[_0x23e3db(0x1f4)](_0x107aa8=>(_0x107aa8[_0x23e3db(0x1bd)]=!0x0,_0x107aa8))),this[_0x23e3db(0x1b4)][_0x23e3db(0x1b5)]=_0x11cc6e,_0x3eb213[_0x23e3db(0x199)](...(_0x461abd[_0x23e3db(0x1b2)]||[])[_0x23e3db(0x1f4)](_0x332a2c=>(_0x332a2c[_0x23e3db(0x1b7)]='grid-'+_0x332a2c['type'],_0x332a2c[_0x23e3db(0x1ad)]=_0x332a2c[_0x23e3db(0x1df)],_0x332a2c))),this[_0x23e3db(0x1b4)][_0x23e3db(0x1b2)]=_0x3eb213,Object[_0x23e3db(0x194)](this['tabData'])['forEach'](_0x4743d0=>{const _0x11dc96=_0x23e3db;let _0x24766e=this[_0x11dc96(0x1bb)](_0x4743d0);if(this[_0x11dc96(0x1b1)+_0x24766e+_0x11dc96(0x1f0)])return this[_0x11dc96(0x1b1)+_0x24766e+_0x11dc96(0x1f0)](this[_0x11dc96(0x1b4)][_0x4743d0]);});}async[a0_0x3c6759(0x1f3)](){const _0x435eb6=a0_0x3c6759;this[_0x435eb6(0x1e3)]();let _0x35d9ac=Object[_0x435eb6(0x194)](this['tabData']);for(let _0x284df0=0x0;_0x284df0<_0x35d9ac[_0x435eb6(0x1fe)];_0x284df0++){let _0x5cb79f=this[_0x435eb6(0x1bb)](_0x35d9ac[_0x284df0]);this[_0x435eb6(0x1b1)+_0x5cb79f+_0x435eb6(0x1e8)]&&await this[_0x435eb6(0x1b1)+_0x5cb79f+_0x435eb6(0x1e8)]();}}async[a0_0x3c6759(0x1d3)](_0x13c6a0,_0x140340,_0x2eef71){const _0xe27c03=a0_0x3c6759;!0x0===this[_0xe27c03(0x1af)]?(this['setTabData'](),await this[_0xe27c03(0x1a2)](),this[_0xe27c03(0x1e3)]()):(this['clear'](),this[_0xe27c03(0x1e1)]());}[a0_0x3c6759(0x1e3)](){const _0x31dedb=a0_0x3c6759;this[_0x31dedb(0x1ea)]||(this['tabData']={'menu':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x201)),'graphql':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x1c4)),'grid':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x1f5)),'column':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x1fc)),'gridEmphasized':TermsUtil[_0x31dedb(0x1f8)]('grid_emphasized_config'),'button':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x1de)),'search':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x1db)),'form':TermsUtil['tLabel'](_0x31dedb(0x1a9)),'tab':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x1fd)),'etc':TermsUtil[_0x31dedb(0x1f8)](_0x31dedb(0x1ff))});}['render'](){const _0x1f79a1=a0_0x3c6759;this[_0x1f79a1(0x1c1)]||(this['currentTabKey']=_0x1f79a1(0x1d4)),this[_0x1f79a1(0x1e3)]();let _0x5ce753=Object[_0x1f79a1(0x194)](this[_0x1f79a1(0x1ea)]);return this['tabData'][this[_0x1f79a1(0x1c1)]]?this[_0x1f79a1(0x1c1)]:_0x5ce753[0x0],html`
147
+ <h1>${this['menuName']}</h1>
148
148
  <div class="tabs">
149
- ${_0x5397b2[_0x353065(0x244)](_0x59a30c=>{const _0x4caee2=_0x353065;let _0x3aace2=this[_0x4caee2(0x1fa)][_0x59a30c];return html`
150
- <div class="tab" ?activate="${_0x59a30c===this[_0x4caee2(0x234)]}" @click="${()=>this['currentTabKey']=_0x59a30c}">
151
- <span>${_0x3aace2}</span>
149
+ ${_0x5ce753[_0x1f79a1(0x1f4)](_0x351d55=>{const _0x209500=_0x1f79a1;let _0x12fc9d=this[_0x209500(0x1ea)][_0x351d55];return html`
150
+ <div class="tab" ?activate="${_0x351d55===this[_0x209500(0x1c1)]}" @click="${()=>this[_0x209500(0x1c1)]=_0x351d55}">
151
+ <span>${_0x12fc9d}</span>
152
152
  </div>
153
153
  `;})}
154
154
  </div>
155
155
  <div class="content-container">
156
- ${_0x5397b2['map'](_0x3f380e=>{const _0x1b697c=_0x353065;let _0x5794ba=_0x1b697c(0x23d);return _0x3f380e==this['currentTabKey']&&(_0x5794ba=_0x1b697c(0x1f7)),html`
157
- <div class='tab-contents' style="${_0x5794ba}">
158
- ${this[_0x1b697c(0x1f2)](_0x3f380e)}
156
+ ${_0x5ce753[_0x1f79a1(0x1f4)](_0x1c303e=>{const _0x56e025=_0x1f79a1;let _0x3fc9f1=_0x56e025(0x1f1);return _0x1c303e==this[_0x56e025(0x1c1)]&&(_0x3fc9f1='display:flex'),html`
157
+ <div class='tab-contents' style="${_0x3fc9f1}">
158
+ ${this[_0x56e025(0x1a6)](_0x1c303e)}
159
159
  </div>
160
160
  `;})}
161
161
  </div>
162
- `;}['getConfigTab'](_0x247eac){const _0x537c75=a0_0x9db818;let _0x45e8e4=this['convertFirstCharUpperCase'](_0x247eac);return this['render'+_0x45e8e4+_0x537c75(0x203)]?this[_0x537c75(0x1f4)+_0x45e8e4+_0x537c75(0x203)]():html``;}['convertFirstCharUpperCase'](_0x1f4901){const _0x826819=a0_0x9db818;return _0x1f4901['charAt'](0x0)[_0x826819(0x22d)]()+_0x1f4901[_0x826819(0x211)](0x1);}[a0_0x9db818(0x1ef)](_0x217ff2){const _0x3d34bb=a0_0x9db818;return this[_0x3d34bb(0x236)]['querySelector']('#'+_0x217ff2);}[a0_0x9db818(0x20f)](_0x3bdd19){const _0x3a1d7a=a0_0x9db818;let _0x58dbe0=this['shadowRoot'][_0x3a1d7a(0x1d9)]('#'+_0x3bdd19);if(!_0x58dbe0)return;let _0xffa30f='';if(_0x3a1d7a(0x225)==_0x58dbe0[_0x3a1d7a(0x212)]['toLowerCase']()){if(!_0x58dbe0[_0x3a1d7a(0x243)]||0x0==_0x58dbe0[_0x3a1d7a(0x243)]['length'])return;_0xffa30f=_0x58dbe0[_0x3a1d7a(0x243)][_0x58dbe0['selectedIndex']][_0x3a1d7a(0x209)];}else{if(_0x3a1d7a(0x20a)==_0x58dbe0[_0x3a1d7a(0x212)][_0x3a1d7a(0x23b)]()){if(!_0x58dbe0[_0x3a1d7a(0x232)])return;if(!_0x58dbe0[_0x3a1d7a(0x232)]['records'])return;if(0x0==_0x58dbe0[_0x3a1d7a(0x232)]['records']['length'])return;return _0x58dbe0[_0x3a1d7a(0x232)][_0x3a1d7a(0x24a)];}if(_0x3a1d7a(0x235)==_0x58dbe0[_0x3a1d7a(0x212)][_0x3a1d7a(0x23b)]())return _0x58dbe0[_0x3a1d7a(0x209)];if(_0x3a1d7a(0x223)==_0x58dbe0[_0x3a1d7a(0x1e3)][_0x3a1d7a(0x23b)]()){let _0x876459=this[_0x3a1d7a(0x236)][_0x3a1d7a(0x1d9)]('#'+_0x3bdd19+_0x3a1d7a(0x220));if(!_0x876459)return;return _0x876459[_0x3a1d7a(0x209)];}_0xffa30f=_0x58dbe0[_0x3a1d7a(0x209)];}return _0xffa30f&&''!=_0xffa30f?_0xffa30f:void 0x0;}[a0_0x9db818(0x20c)](_0x14e337){const _0x28b29c=a0_0x9db818;return _0x14e337?this[_0x28b29c(0x229)](_0x14e337,_0x28b29c(0x210)):_0x14e337;}[a0_0x9db818(0x229)](_0x4f1600,_0x1b18f7){const _0x5d8c22=a0_0x9db818;return _0x4f1600[_0x5d8c22(0x205)]((_0x42b016,_0x1b0ad1)=>_0x42b016[_0x1b18f7]-_0x1b0ad1[_0x1b18f7]),_0x4f1600;}}customElements[a0_0x9db818(0x21a)](a0_0x9db818(0x1e6),MetaGeneratorPage);
162
+ `;}[a0_0x3c6759(0x1a6)](_0x3dfcd7){const _0x578118=a0_0x3c6759;let _0x1914cc=this['convertFirstCharUpperCase'](_0x3dfcd7);return this[_0x578118(0x1d1)+_0x1914cc+_0x578118(0x1f7)]?this[_0x578118(0x1d1)+_0x1914cc+_0x578118(0x1f7)]():html``;}['convertFirstCharUpperCase'](_0x286080){const _0x4f4b02=a0_0x3c6759;return _0x286080[_0x4f4b02(0x1c8)](0x0)[_0x4f4b02(0x1cc)]()+_0x286080[_0x4f4b02(0x1a5)](0x1);}['getElementById'](_0x517698){const _0x4f74cc=a0_0x3c6759;return this[_0x4f74cc(0x200)][_0x4f74cc(0x1e0)]('#'+_0x517698);}['getElementValueById'](_0x2017b3){const _0x212213=a0_0x3c6759;let _0x5793dd=this[_0x212213(0x200)][_0x212213(0x1e0)]('#'+_0x2017b3);if(!_0x5793dd)return;let _0x377284='';if('select'==_0x5793dd['tagName']['toLowerCase']()){if(!_0x5793dd[_0x212213(0x1b3)]||0x0==_0x5793dd['options'][_0x212213(0x1fe)])return;_0x377284=_0x5793dd[_0x212213(0x1b3)][_0x5793dd[_0x212213(0x1e7)]][_0x212213(0x1aa)];}else{if('ox-grist'==_0x5793dd['tagName']['toLowerCase']()){if(!_0x5793dd[_0x212213(0x1b6)])return;if(!_0x5793dd[_0x212213(0x1b6)][_0x212213(0x19f)])return;if(0x0==_0x5793dd['dirtyData']['records'][_0x212213(0x1fe)])return;return _0x5793dd[_0x212213(0x1b6)]['records'];}if(_0x212213(0x1b9)==_0x5793dd[_0x212213(0x1ee)]['toLowerCase']())return _0x5793dd[_0x212213(0x1aa)];if(_0x212213(0x1cd)==_0x5793dd[_0x212213(0x1b7)][_0x212213(0x19b)]()){let _0x17b9fe=this[_0x212213(0x200)][_0x212213(0x1e0)]('#'+_0x2017b3+':checked');if(!_0x17b9fe)return;return _0x17b9fe['value'];}_0x377284=_0x5793dd[_0x212213(0x1aa)];}return _0x377284&&''!=_0x377284?_0x377284:void 0x0;}['sortRecordByRank'](_0x4b91cf){const _0x5b04ac=a0_0x3c6759;return _0x4b91cf?this[_0x5b04ac(0x1f9)](_0x4b91cf,'rank'):_0x4b91cf;}['sortRecordByField'](_0x444acd,_0x260a5f){const _0x59103e=a0_0x3c6759;return _0x444acd[_0x59103e(0x1f6)]((_0x424c05,_0x4c6c76)=>_0x424c05[_0x260a5f]-_0x4c6c76[_0x260a5f]),_0x444acd;}}customElements['define'](a0_0x3c6759(0x1a4),MetaGeneratorPage);
@@ -1,4 +1,4 @@
1
- function a0_0x32cf(_0x40203d,_0x5ed440){const _0x58b377=a0_0x58b3();return a0_0x32cf=function(_0x32cf47,_0x2dabae){_0x32cf47=_0x32cf47-0x16c;let _0x5a79d0=_0x58b377[_0x32cf47];return _0x5a79d0;},a0_0x32cf(_0x40203d,_0x5ed440);}const a0_0x15c9b0=a0_0x32cf;(function(_0x1e2bc1,_0x444bf1){const _0x27feb7=a0_0x32cf,_0x480ffc=_0x1e2bc1();while(!![]){try{const _0x102c5f=-parseInt(_0x27feb7(0x188))/0x1+parseInt(_0x27feb7(0x18f))/0x2*(-parseInt(_0x27feb7(0x180))/0x3)+-parseInt(_0x27feb7(0x179))/0x4+parseInt(_0x27feb7(0x198))/0x5*(parseInt(_0x27feb7(0x190))/0x6)+-parseInt(_0x27feb7(0x17e))/0x7+parseInt(_0x27feb7(0x184))/0x8*(-parseInt(_0x27feb7(0x16c))/0x9)+parseInt(_0x27feb7(0x173))/0xa*(parseInt(_0x27feb7(0x197))/0xb);if(_0x102c5f===_0x444bf1)break;else _0x480ffc['push'](_0x480ffc['shift']());}catch(_0xa5535){_0x480ffc['push'](_0x480ffc['shift']());}}}(a0_0x58b3,0x65034));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_0x58b3(){const _0x2c039e=['rank','search','deleteRow','integer','11DKhCoO','322165KqVzTd','right','147717SLlVlU','name','assign','tLabel','#search-tab-grid','filter','filters','22731990TWdhsK','getGristSelectableConfig','string','default_value','fetchSearchTabHandler','viewSearchData','3144116YUnvPn','FILTER_OPERATORS','select','gutter','left','697081auIUrr','searchTabGrist','21vLBHUa','fetch','boolean','object','376hWivQZ','setSearchConfigTabValues','search_operator','query','185773SIbLeM','getElementValueById','value','gql','querySelector','push','operator','23168pawmRh','6CyfxFY','shadowRoot','searchTabGridConfig'];a0_0x58b3=function(){return _0x2c039e;};return a0_0x58b3();}export const SearchConfigTabMixin=_0x389c14=>class extends _0x389c14{[a0_0x15c9b0(0x185)](_0x4ae32a){const _0x1b484b=a0_0x15c9b0;let _0x5d793d=_0x4ae32a?.['map']((_0xc17786,_0x3fe129)=>{const _0x5e90eb=a0_0x32cf;let _0x4a4ad7=_0x3fe129+0x1,_0x581d98={};return _0x5e90eb(0x183)==typeof _0xc17786?Object[_0x5e90eb(0x16e)](_0x581d98,_0xc17786):(_0x581d98[_0x5e90eb(0x16d)]=_0xc17786,_0x581d98[_0x5e90eb(0x18e)]=_0x5e90eb(0x171)),_0x581d98[_0x5e90eb(0x193)]=0xa*_0x4a4ad7,_0x581d98['id']=_0x4a4ad7,_0x581d98;});this['viewSearchData']=_0x5d793d||[],this['searchTabGrist']?.[_0x1b484b(0x181)]();}['getSearchConfigTabValues'](){const _0x2c4ab3=a0_0x15c9b0;let _0x54c6b0={'search':[],'gql':{'query':{'filters':[]}}},_0x3cf190=this[_0x2c4ab3(0x189)]('search-tab-grid');return this['sortRecordByRank'](_0x3cf190)?.['forEach'](_0x4e0f40=>{const _0xf73d34=_0x2c4ab3;var {name:_0x238ef3,operator:_0x346fa2='eq',hidden:_0x495b25=!0x1,value:_0x40f7d7}=_0x4e0f40;if(_0x238ef3){if(_0xf73d34(0x171)==_0x346fa2)_0x54c6b0['search'][_0xf73d34(0x18d)](_0x238ef3);else{let _0x465097={'name':_0x238ef3,'operator':_0x346fa2};0x1==_0x495b25?(_0x465097['value']=_0x40f7d7,_0x54c6b0[_0xf73d34(0x18b)][_0xf73d34(0x187)][_0xf73d34(0x172)][_0xf73d34(0x18d)](_0x465097)):(_0x465097[_0xf73d34(0x18a)]=_0x40f7d7,_0x54c6b0[_0xf73d34(0x194)][_0xf73d34(0x18d)](_0x465097));}}}),_0x54c6b0;}['renderSearchConfigTab'](){const _0x371572=a0_0x15c9b0;return html`
2
- <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x371572(0x192)]} .mode='GRID'
3
- .fetchHandler=${this[_0x371572(0x177)]['bind'](this)}>
4
- </ox-grist>`;}get[a0_0x15c9b0(0x17f)](){const _0x5013c3=a0_0x15c9b0;return this[_0x5013c3(0x191)][_0x5013c3(0x18c)](_0x5013c3(0x170));}async[a0_0x15c9b0(0x177)](){const _0x39a350=a0_0x15c9b0;return{'total':0x0,'records':this[_0x39a350(0x178)]||[]};}async['setSearchConfigTabConfig'](){const _0x42ab6e=a0_0x15c9b0;let _0x56682a=await MetaApi['getCodeSelectorData'](_0x42ab6e(0x17a));this[_0x42ab6e(0x192)]={'rows':MetaApi[_0x42ab6e(0x174)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x42ab6e(0x17c),'gutterName':'button','icon':'delete','handlers':{'click':(_0x5dd30b,_0x2d8cfd,_0x32a4b0,_0x6fa7ac,_0x47c363)=>{const _0x3ca2db=_0x42ab6e;_0x6fa7ac['id']&&this[_0x3ca2db(0x195)](this['searchTabGrist'],_0x6fa7ac);}}},{'type':_0x42ab6e(0x175),'name':'id','hidden':!0x0},{'type':_0x42ab6e(0x196),'name':'rank','header':TermsUtil[_0x42ab6e(0x16f)](_0x42ab6e(0x193)),'sortable':!0x1,'width':0x32,'record':{'align':_0x42ab6e(0x199),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x42ab6e(0x16d),'header':TermsUtil['tLabel'](_0x42ab6e(0x16d)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x42ab6e(0x17d),'editable':!0x0,'mandatory':!0x0}},{'type':_0x42ab6e(0x17b),'name':_0x42ab6e(0x18e),'header':TermsUtil['tLabel'](_0x42ab6e(0x186)),'sortable':!0x1,'width':0x64,'record':{'align':_0x42ab6e(0x17d),'editable':!0x0,'mandatory':!0x1,'options':_0x56682a}},{'type':_0x42ab6e(0x182),'name':'hidden','header':TermsUtil[_0x42ab6e(0x16f)]('hidden'),'sortable':!0x1,'width':0x37,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':'string','name':_0x42ab6e(0x18a),'header':TermsUtil['tLabel'](_0x42ab6e(0x176)),'sortable':!0x1,'width':0x2ee,'record':{'align':_0x42ab6e(0x17d),'editable':!0x0,'mandatory':!0x1}}]};}};
1
+ const a0_0x353f0c=a0_0x5982;function a0_0x5982(_0x444630,_0x18e7d9){const _0x1a3f81=a0_0x1a3f();return a0_0x5982=function(_0x59825a,_0x3032a9){_0x59825a=_0x59825a-0x175;let _0x54f86f=_0x1a3f81[_0x59825a];return _0x54f86f;},a0_0x5982(_0x444630,_0x18e7d9);}(function(_0xd9dbed,_0x2514ef){const _0x15a1ff=a0_0x5982,_0x4c2810=_0xd9dbed();while(!![]){try{const _0x4ef34d=parseInt(_0x15a1ff(0x17e))/0x1*(-parseInt(_0x15a1ff(0x18a))/0x2)+-parseInt(_0x15a1ff(0x186))/0x3*(-parseInt(_0x15a1ff(0x19c))/0x4)+-parseInt(_0x15a1ff(0x185))/0x5*(-parseInt(_0x15a1ff(0x18f))/0x6)+parseInt(_0x15a1ff(0x199))/0x7+-parseInt(_0x15a1ff(0x19b))/0x8+-parseInt(_0x15a1ff(0x1a5))/0x9+-parseInt(_0x15a1ff(0x184))/0xa;if(_0x4ef34d===_0x2514ef)break;else _0x4c2810['push'](_0x4c2810['shift']());}catch(_0x508aa8){_0x4c2810['push'](_0x4c2810['shift']());}}}(a0_0x1a3f,0x73802));function a0_0x1a3f(){const _0x4b2ac3=['FILTER_OPERATORS','query','setSearchConfigTabConfig','rank','4200nniCqy','tLabel','getSearchConfigTabValues','searchTabGridConfig','gql','filter','delete','gutter','fetch','integer','5774062DpDXmh','setSearchConfigTabValues','1318080idaGlf','12gMxOjv','hidden','map','default_value','center','object','search_operator','searchTabGrist','deleteRow','183411uzHrbk','forEach','push','right','shadowRoot','operator','sortRecordByRank','value','fetchSearchTabHandler','getGristGuttersConfig','button','boolean','258jQGltv','viewSearchData','filters','name','select','string','3411600fpbULK','4505hiLmfA','192177NkKobT','getElementValueById','left','search','5026olrZSx'];a0_0x1a3f=function(){return _0x4b2ac3;};return a0_0x1a3f();}import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x18d87c=>class extends _0x18d87c{[a0_0x353f0c(0x19a)](_0x4a9b17){const _0x591c3d=a0_0x353f0c;let _0x48d78f=_0x4a9b17?.[_0x591c3d(0x19e)]((_0x4f13fe,_0x545ad2)=>{const _0x16a3d7=_0x591c3d;let _0x4f7a16=_0x545ad2+0x1,_0x375c9a={};return _0x16a3d7(0x1a1)==typeof _0x4f13fe?Object['assign'](_0x375c9a,_0x4f13fe):(_0x375c9a['name']=_0x4f13fe,_0x375c9a[_0x16a3d7(0x177)]='filter'),_0x375c9a[_0x16a3d7(0x18e)]=0xa*_0x4f7a16,_0x375c9a['id']=_0x4f7a16,_0x375c9a;});this[_0x591c3d(0x17f)]=_0x48d78f||[],this[_0x591c3d(0x1a3)]?.[_0x591c3d(0x197)]();}[a0_0x353f0c(0x191)](){const _0x1fee2e=a0_0x353f0c;let _0x498d19={'search':[],'gql':{'query':{'filters':[]}}},_0x71f366=this[_0x1fee2e(0x187)]('search-tab-grid');return this[_0x1fee2e(0x178)](_0x71f366)?.[_0x1fee2e(0x1a6)](_0x101517=>{const _0x5eba44=_0x1fee2e;var {name:_0x45cd03,operator:_0xadc39e='eq',hidden:_0xf52d71=!0x1,value:_0x39d9f9}=_0x101517;if(_0x45cd03){if(_0x5eba44(0x194)==_0xadc39e)_0x498d19[_0x5eba44(0x189)][_0x5eba44(0x1a7)](_0x45cd03);else{let _0x8e3a9c={'name':_0x45cd03,'operator':_0xadc39e};0x1==_0xf52d71?(_0x8e3a9c[_0x5eba44(0x179)]=_0x39d9f9,_0x498d19[_0x5eba44(0x193)][_0x5eba44(0x18c)][_0x5eba44(0x180)][_0x5eba44(0x1a7)](_0x8e3a9c)):(_0x8e3a9c[_0x5eba44(0x179)]=_0x39d9f9,_0x498d19[_0x5eba44(0x189)][_0x5eba44(0x1a7)](_0x8e3a9c));}}}),_0x498d19;}['renderSearchConfigTab'](){const _0x51eded=a0_0x353f0c;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x51eded(0x192)]} .mode='GRID'
3
+ .fetchHandler=${this['fetchSearchTabHandler']['bind'](this)}>
4
+ </ox-grist>`;}get[a0_0x353f0c(0x1a3)](){const _0x45485f=a0_0x353f0c;return this[_0x45485f(0x176)]['querySelector']('#search-tab-grid');}async[a0_0x353f0c(0x17a)](){const _0x669870=a0_0x353f0c;return{'total':0x0,'records':this[_0x669870(0x17f)]||[]};}async[a0_0x353f0c(0x18d)](){const _0x1af0a3=a0_0x353f0c;let _0x53305e=await MetaApi['getCodeSelectorData'](_0x1af0a3(0x18b));this['searchTabGridConfig']={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x1af0a3(0x18e),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x1af0a3(0x17b)](!0x1,!0x1),{'type':_0x1af0a3(0x196),'gutterName':_0x1af0a3(0x17c),'icon':_0x1af0a3(0x195),'handlers':{'click':(_0x14ec14,_0x49f503,_0x5c82e8,_0x421bf7,_0x443d55)=>{const _0x83df9d=_0x1af0a3;_0x421bf7['id']&&this[_0x83df9d(0x1a4)](this[_0x83df9d(0x1a3)],_0x421bf7);}}},{'type':_0x1af0a3(0x183),'name':'id','hidden':!0x0},{'type':_0x1af0a3(0x198),'name':'rank','header':TermsUtil['tLabel'](_0x1af0a3(0x18e)),'sortable':!0x1,'width':0x32,'record':{'align':_0x1af0a3(0x175),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1af0a3(0x183),'name':_0x1af0a3(0x181),'header':TermsUtil[_0x1af0a3(0x190)](_0x1af0a3(0x181)),'sortable':!0x1,'width':0xc8,'record':{'align':_0x1af0a3(0x188),'editable':!0x0,'mandatory':!0x0}},{'type':_0x1af0a3(0x182),'name':_0x1af0a3(0x177),'header':TermsUtil[_0x1af0a3(0x190)](_0x1af0a3(0x1a2)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x1,'options':_0x53305e}},{'type':_0x1af0a3(0x17d),'name':_0x1af0a3(0x19d),'header':TermsUtil['tLabel'](_0x1af0a3(0x19d)),'sortable':!0x1,'width':0x37,'record':{'align':_0x1af0a3(0x1a0),'mandatory':!0x1,'editable':!0x0}},{'type':'string','name':_0x1af0a3(0x179),'header':TermsUtil[_0x1af0a3(0x190)](_0x1af0a3(0x19f)),'sortable':!0x1,'width':0x2ee,'record':{'align':_0x1af0a3(0x188),'editable':!0x0,'mandatory':!0x1}}]};}};
@@ -1,4 +1,4 @@
1
- const a0_0x301f78=a0_0x32e0;(function(_0x4d0814,_0x2e0028){const _0x510e34=a0_0x32e0,_0x7ee7d0=_0x4d0814();while(!![]){try{const _0x505dba=parseInt(_0x510e34(0xb1))/0x1+-parseInt(_0x510e34(0x93))/0x2*(parseInt(_0x510e34(0xa7))/0x3)+-parseInt(_0x510e34(0xae))/0x4*(parseInt(_0x510e34(0xa3))/0x5)+-parseInt(_0x510e34(0x96))/0x6*(parseInt(_0x510e34(0xb8))/0x7)+-parseInt(_0x510e34(0xb5))/0x8+parseInt(_0x510e34(0xaa))/0x9*(-parseInt(_0x510e34(0x97))/0xa)+parseInt(_0x510e34(0xb4))/0xb*(parseInt(_0x510e34(0xaf))/0xc);if(_0x505dba===_0x2e0028)break;else _0x7ee7d0['push'](_0x7ee7d0['shift']());}catch(_0x46b30f){_0x7ee7d0['push'](_0x7ee7d0['shift']());}}}(a0_0x38c0,0x85d32));import{html}from'lit-element';function a0_0x32e0(_0x340dba,_0x49038c){const _0x38c09c=a0_0x38c0();return a0_0x32e0=function(_0x32e085,_0x3c048e){_0x32e085=_0x32e085-0x8f;let _0x32c296=_0x38c09c[_0x32e085];return _0x32c296;},a0_0x32e0(_0x340dba,_0x49038c);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x38c0(){const _0x2d8539=['button','tabTabGridConfig','rank','display','map','440RVMXWs','parent_field','icon','369450eRxMMM','40PVVAGk','integer','deleteRow','tLabel','param_field','left','fetchTabTabHandler','tagname','renderTabConfigTab','menu','setTabConfigTabConfig','push','5yGzVaw','forEach','right','routing','14574ahlNJj','tag','name','2637GIvTUb','location','getGristSelectableConfig','gutter','3987548AYDUWK','11282472NKXUYh','sortRecordByRank','743995jrmhqI','shadowRoot','string','44YcAVOE','6744632gLHobq','#tab-tab-grid','viewTabData','119wvniWY','tabTabGrist'];a0_0x38c0=function(){return _0x2d8539;};return a0_0x38c0();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x32509f=>class extends _0x32509f{['setTabConfigTabValues'](_0x5ddb50){const _0xb6a30d=a0_0x32e0;let _0x2fd32e=_0x5ddb50?.[_0xb6a30d(0x92)]((_0x3853de,_0x57290a)=>{const _0x31a84a=_0xb6a30d;let _0x38462a=_0x57290a+0x1,_0x426d9c={};return _0x426d9c[_0x31a84a(0x90)]=0xa*_0x38462a,_0x426d9c['id']=_0x38462a,_0x426d9c['name']=_0x3853de[_0x31a84a(0xa9)],_0x426d9c[_0x31a84a(0x91)]=_0x3853de[_0x31a84a(0x91)],_0x426d9c[_0x31a84a(0x9e)]=_0x3853de[_0x31a84a(0x9e)],_0x426d9c[_0x31a84a(0x95)]=_0x3853de['icon'],_0x426d9c[_0x31a84a(0xab)]=_0x3853de[_0x31a84a(0xab)],_0x426d9c[_0x31a84a(0x94)]=_0x3853de[_0x31a84a(0x94)],_0x426d9c['param_field']=_0x3853de[_0x31a84a(0x9b)],_0x426d9c['menu']=_0x3853de[_0x31a84a(0xa0)],_0x426d9c;});this[_0xb6a30d(0xb7)]=_0x2fd32e||[],this[_0xb6a30d(0xb9)]?.['fetch']();}['getTabConfigTabValues'](){const _0x57a512=a0_0x32e0;let _0x452eab={'tab':[]},_0x482664=this['getElementValueById']('tab-tab-grid');return this[_0x57a512(0xb0)](_0x482664)?.[_0x57a512(0xa4)](_0x2dc518=>{const _0x502679=_0x57a512;var {name:_0x32fd0b,display:_0x47cf34,tagname:_0x591c4f,location:_0x5552ba,parent_field:_0x1a8046,param_field:_0x1646d2,menu:_0x118c93,icon:_0x47546b}=_0x2dc518;_0x32fd0b&&_0x591c4f&&_0x5552ba&&_0x118c93&&(_0x47cf34||(_0x47cf34=_0x32fd0b),_0x1a8046||(_0x1a8046='id'),_0x1646d2||(_0x1646d2=_0x502679(0x9b)),_0x452eab['tab'][_0x502679(0xa2)]({'name':_0x32fd0b,'display':_0x47cf34,'tagname':_0x591c4f,'location':_0x5552ba,'parent_field':_0x1a8046,'param_field':_0x1646d2,'menu':_0x118c93,'icon':_0x47546b}));}),_0x452eab;}[a0_0x301f78(0x9f)](){const _0x586b25=a0_0x301f78;return html`
2
- <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x586b25(0x8f)]} .mode='GRID'
3
- .fetchHandler=${this[_0x586b25(0x9d)]['bind'](this)}>
4
- </ox-grist>`;}get[a0_0x301f78(0xb9)](){const _0x124386=a0_0x301f78;return this[_0x124386(0xb2)]['querySelector'](_0x124386(0xb6));}async[a0_0x301f78(0x9d)](){const _0x15565b=a0_0x301f78;return{'total':0x0,'records':this[_0x15565b(0xb7)]||[]};}async[a0_0x301f78(0xa1)](){const _0x3d3179=a0_0x301f78;this[_0x3d3179(0x8f)]={'rows':MetaApi[_0x3d3179(0xac)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x3d3179(0x90),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x3d3179(0xad),'gutterName':_0x3d3179(0xba),'icon':'delete','handlers':{'click':(_0x58dcf6,_0x5dbd9b,_0x4fec69,_0x226d91,_0x5d6b0e)=>{const _0x25766f=_0x3d3179;_0x226d91['id']&&this[_0x25766f(0x99)](this[_0x25766f(0xb9)],_0x226d91);}}},{'type':_0x3d3179(0xb3),'name':'id','hidden':!0x0},{'type':_0x3d3179(0x98),'name':_0x3d3179(0x90),'header':TermsUtil[_0x3d3179(0x9a)](_0x3d3179(0x90)),'sortable':!0x1,'width':0x32,'record':{'align':_0x3d3179(0xa5),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d3179(0xa9),'header':TermsUtil[_0x3d3179(0x9a)](_0x3d3179(0xa9)),'sortable':!0x1,'width':0x6e,'record':{'align':_0x3d3179(0x9c),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3d3179(0xb3),'name':_0x3d3179(0x91),'header':TermsUtil[_0x3d3179(0x9a)]('display'),'sortable':!0x1,'width':0x6e,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d3179(0x95),'header':TermsUtil[_0x3d3179(0x9a)]('icon'),'sortable':!0x0,'width':0x55,'record':{'align':_0x3d3179(0x9c),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3d3179(0xb3),'name':_0x3d3179(0xa0),'header':TermsUtil[_0x3d3179(0x9a)](_0x3d3179(0xa6)),'sortable':!0x1,'width':0x96,'record':{'align':_0x3d3179(0x9c),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3d3179(0xb3),'name':_0x3d3179(0x9e),'header':TermsUtil['tLabel'](_0x3d3179(0xa8)),'sortable':!0x1,'width':0x96,'record':{'align':_0x3d3179(0x9c),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d3179(0xab),'header':TermsUtil['tLabel']('page_location'),'sortable':!0x1,'width':0x145,'record':{'align':_0x3d3179(0x9c),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d3179(0x94),'header':TermsUtil[_0x3d3179(0x9a)]('parent_id'),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x3d3179(0x9b),'header':TermsUtil[_0x3d3179(0x9a)]('params'),'sortable':!0x1,'width':0x5a,'record':{'align':_0x3d3179(0x9c),'editable':!0x0,'mandatory':!0x0}}]};}};
1
+ const a0_0x5e1f83=a0_0x218c;(function(_0xb095b,_0x102638){const _0x19e892=a0_0x218c,_0xde88ec=_0xb095b();while(!![]){try{const _0x4515e3=-parseInt(_0x19e892(0x90))/0x1+-parseInt(_0x19e892(0x94))/0x2*(-parseInt(_0x19e892(0x8b))/0x3)+-parseInt(_0x19e892(0x9a))/0x4+-parseInt(_0x19e892(0x99))/0x5+parseInt(_0x19e892(0x84))/0x6*(-parseInt(_0x19e892(0x9e))/0x7)+parseInt(_0x19e892(0x9f))/0x8+parseInt(_0x19e892(0x97))/0x9*(parseInt(_0x19e892(0x92))/0xa);if(_0x4515e3===_0x102638)break;else _0xde88ec['push'](_0xde88ec['shift']());}catch(_0x319eee){_0xde88ec['push'](_0xde88ec['shift']());}}}(a0_0xcb2b,0xbb2b8));import{html}from'lit-element';function a0_0xcb2b(){const _0xb169bc=['routing','110sEVpVK','tabTabGridConfig','2wqPVNV','getGristSelectableConfig','tabTabGrist','2406069QjJpvO','param_field','4231000PQaOsZ','4871948NHbQoC','button','tagname','setTabConfigTabConfig','43309AsTFIZ','4473592ySyQBE','left','getGristGuttersConfig','sortRecordByRank','menu','tLabel','#tab-tab-grid','right','querySelector','fetchTabTabHandler','page_location','location','icon','delete','fetch','parent_id','map','forEach','viewTabData','name','integer','942PEqmsM','rank','parent_field','deleteRow','params','push','tag','1644453eqQlaa','gutter','string','tab-tab-grid','display','245907zfUELP'];a0_0xcb2b=function(){return _0xb169bc;};return a0_0xcb2b();}function a0_0x218c(_0x2c61df,_0x3835ce){const _0xcb2bab=a0_0xcb2b();return a0_0x218c=function(_0x218cf5,_0x57448a){_0x218cf5=_0x218cf5-0x74;let _0x1e02e1=_0xcb2bab[_0x218cf5];return _0x1e02e1;},a0_0x218c(_0x2c61df,_0x3835ce);}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=_0x4cf2b4=>class extends _0x4cf2b4{['setTabConfigTabValues'](_0x187a5b){const _0x2442b7=a0_0x218c;let _0x167e77=_0x187a5b?.[_0x2442b7(0x7f)]((_0x1049ba,_0x582c33)=>{const _0x15fceb=_0x2442b7;let _0x7de9e5=_0x582c33+0x1,_0x3c957c={};return _0x3c957c['rank']=0xa*_0x7de9e5,_0x3c957c['id']=_0x7de9e5,_0x3c957c['name']=_0x1049ba[_0x15fceb(0x82)],_0x3c957c[_0x15fceb(0x8f)]=_0x1049ba[_0x15fceb(0x8f)],_0x3c957c['tagname']=_0x1049ba[_0x15fceb(0x9c)],_0x3c957c[_0x15fceb(0x7b)]=_0x1049ba[_0x15fceb(0x7b)],_0x3c957c['location']=_0x1049ba[_0x15fceb(0x7a)],_0x3c957c[_0x15fceb(0x86)]=_0x1049ba[_0x15fceb(0x86)],_0x3c957c[_0x15fceb(0x98)]=_0x1049ba[_0x15fceb(0x98)],_0x3c957c[_0x15fceb(0xa3)]=_0x1049ba['menu'],_0x3c957c;});this[_0x2442b7(0x81)]=_0x167e77||[],this[_0x2442b7(0x96)]?.[_0x2442b7(0x7d)]();}['getTabConfigTabValues'](){const _0x1fd95a=a0_0x218c;let _0x307c10={'tab':[]},_0x52fa8e=this['getElementValueById'](_0x1fd95a(0x8e));return this[_0x1fd95a(0xa2)](_0x52fa8e)?.[_0x1fd95a(0x80)](_0x7f2df6=>{const _0xf6e6db=_0x1fd95a;var {name:_0xdb86eb,display:_0x522ec1,tagname:_0x378d85,location:_0x134b69,parent_field:_0x5385c1,param_field:_0x1dac93,menu:_0x57549c,icon:_0x3155e1}=_0x7f2df6;_0xdb86eb&&_0x378d85&&_0x134b69&&_0x57549c&&(_0x522ec1||(_0x522ec1=_0xdb86eb),_0x5385c1||(_0x5385c1='id'),_0x1dac93||(_0x1dac93=_0xf6e6db(0x98)),_0x307c10['tab'][_0xf6e6db(0x89)]({'name':_0xdb86eb,'display':_0x522ec1,'tagname':_0x378d85,'location':_0x134b69,'parent_field':_0x5385c1,'param_field':_0x1dac93,'menu':_0x57549c,'icon':_0x3155e1}));}),_0x307c10;}['renderTabConfigTab'](){const _0x4f8a56=a0_0x218c;return html`
2
+ <ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x4f8a56(0x93)]} .mode='GRID'
3
+ .fetchHandler=${this[_0x4f8a56(0x78)]['bind'](this)}>
4
+ </ox-grist>`;}get[a0_0x5e1f83(0x96)](){const _0x3582c1=a0_0x5e1f83;return this['shadowRoot'][_0x3582c1(0x77)](_0x3582c1(0x75));}async[a0_0x5e1f83(0x78)](){const _0x2148d8=a0_0x5e1f83;return{'total':0x0,'records':this[_0x2148d8(0x81)]||[]};}async[a0_0x5e1f83(0x9d)](){const _0x960f69=a0_0x5e1f83;this[_0x960f69(0x93)]={'rows':MetaApi[_0x960f69(0x95)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x960f69(0xa1)](!0x1,!0x1),{'type':_0x960f69(0x8c),'gutterName':_0x960f69(0x9b),'icon':_0x960f69(0x7c),'handlers':{'click':(_0x2e4539,_0x588d91,_0x217cba,_0x561a4e,_0x285a68)=>{const _0x565438=_0x960f69;_0x561a4e['id']&&this[_0x565438(0x87)](this[_0x565438(0x96)],_0x561a4e);}}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x960f69(0x83),'name':_0x960f69(0x85),'header':TermsUtil[_0x960f69(0x74)](_0x960f69(0x85)),'sortable':!0x1,'width':0x32,'record':{'align':_0x960f69(0x76),'editable':!0x0,'mandatory':!0x0}},{'type':_0x960f69(0x8d),'name':_0x960f69(0x82),'header':TermsUtil['tLabel']('name'),'sortable':!0x1,'width':0x6e,'record':{'align':_0x960f69(0xa0),'editable':!0x0,'mandatory':!0x0}},{'type':_0x960f69(0x8d),'name':'display','header':TermsUtil[_0x960f69(0x74)](_0x960f69(0x8f)),'sortable':!0x1,'width':0x6e,'record':{'align':_0x960f69(0xa0),'editable':!0x0,'mandatory':!0x0}},{'type':_0x960f69(0x8d),'name':_0x960f69(0x7b),'header':TermsUtil[_0x960f69(0x74)](_0x960f69(0x7b)),'sortable':!0x0,'width':0x55,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x960f69(0x8d),'name':_0x960f69(0xa3),'header':TermsUtil[_0x960f69(0x74)](_0x960f69(0x91)),'sortable':!0x1,'width':0x96,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x960f69(0x8d),'name':_0x960f69(0x9c),'header':TermsUtil[_0x960f69(0x74)](_0x960f69(0x8a)),'sortable':!0x1,'width':0x96,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x960f69(0x8d),'name':_0x960f69(0x7a),'header':TermsUtil['tLabel'](_0x960f69(0x79)),'sortable':!0x1,'width':0x145,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':'parent_field','header':TermsUtil['tLabel'](_0x960f69(0x7e)),'sortable':!0x1,'width':0x64,'record':{'align':_0x960f69(0xa0),'editable':!0x0,'mandatory':!0x0}},{'type':_0x960f69(0x8d),'name':_0x960f69(0x98),'header':TermsUtil[_0x960f69(0x74)](_0x960f69(0x88)),'sortable':!0x1,'width':0x5a,'record':{'align':_0x960f69(0xa0),'editable':!0x0,'mandatory':!0x0}}]};}};