@things-factory/operato-tools 6.1.34 → 6.1.35

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_0x25ceae=a0_0x3c08;(function(_0xbf9966,_0x6beb2d){const _0x1f61a0=a0_0x3c08,_0x503d3f=_0xbf9966();while(!![]){try{const _0x4048ab=-parseInt(_0x1f61a0(0x207))/0x1+parseInt(_0x1f61a0(0x20d))/0x2+parseInt(_0x1f61a0(0x1f5))/0x3+-parseInt(_0x1f61a0(0x201))/0x4+parseInt(_0x1f61a0(0x210))/0x5+-parseInt(_0x1f61a0(0x203))/0x6+parseInt(_0x1f61a0(0x20b))/0x7*(parseInt(_0x1f61a0(0x219))/0x8);if(_0x4048ab===_0x6beb2d)break;else _0x503d3f['push'](_0x503d3f['shift']());}catch(_0x14ade9){_0x503d3f['push'](_0x503d3f['shift']());}}}(a0_0x20f6,0x75a93));import{html}from'lit-element';function a0_0x3c08(_0x2b5a34,_0xe13f08){const _0x20f632=a0_0x20f6();return a0_0x3c08=function(_0x3c08f3,_0x39d51f){_0x3c08f3=_0x3c08f3-0x1f3;let _0x14dd48=_0x20f632[_0x3c08f3];return _0x14dd48;},a0_0x3c08(_0x2b5a34,_0xe13f08);}function a0_0x20f6(){const _0x40b2e1=['multiple_select','setGridConfigTabValues','69461SmUWeA','setGridConfigTabDetaultValues','190546HpDbzN','codeItems','card_view_use','675070bwprQm','description','grid_term_100','getGridConfigTabValues','gridPageOptions','gridViewModes','true','use','option','936OxKlYF','GRID','getElementValueById','grid_term_unlimited','toLowerCase','grid_term_default','view_mode','LIST','name','grid_term_','use_row_checker','GRID_PAGE_OPTIONS','list_view_use','desk_mode','pages','map','use_filter_form','CARD','mobile_mode','grid_mobile_view','row','grid_pagination','GRID_VIEW_MODE','unlimited','705324dqucnk','unsupport','includes','tLabel','viewGridData','grid_view_use','renderGridConfigTab','grid_row_check_use','grid_term_50','grid','unuse','grid_support_view','125544BQKZrP','push','5771148PkImea','grid_use_filter','_view_use','grid_desk_view','151203knyssN','setGridConfigTabConfig'];a0_0x20f6=function(){return _0x40b2e1;};return a0_0x20f6();}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=_0x40563e=>class extends _0x40563e{[a0_0x25ceae(0x20a)](_0x22dc72){const _0x20ffd0=a0_0x25ceae;if(_0x22dc72){var {mobile_mode:_0x337ae0='',desk_mode:_0xd8787b='',pages:_0x122a96=[],use_row_checker:_0x1bff21=!0x0,view_mode:_0x4bc08b=[]}=_0x22dc72[_0x20ffd0(0x218)]||{};let _0x5e83bb=(_0x22dc72[_0x20ffd0(0x22d)]||{'multiple_select':!0x1})[_0x20ffd0(0x209)],_0xfc714f='unlimited'==_0x122a96?_0x20ffd0(0x21c):0x0==_0x122a96['length']?'':0x14==_0x122a96[0x0]?'grid_term_default':_0x20ffd0(0x222)+_0x122a96[0x0];this[_0x20ffd0(0x1f9)]={'mobile_mode':_0x337ae0,'desk_mode':_0xd8787b,'use_row_checker':_0x1bff21,'pages':_0xfc714f,'view_mode':_0x4bc08b,'multiple_select':_0x5e83bb,'use_filter_form':_0x22dc72[_0x20ffd0(0x229)]};}else this[_0x20ffd0(0x20c)]();}[a0_0x25ceae(0x213)](){const _0x25c679=a0_0x25ceae;let _0x11fb30={'grid':{'option':{},'row':{'click':'select-row-toggle'}}},_0x158dd1=this[_0x25c679(0x21b)](_0x25c679(0x1fc)),_0x302290=this[_0x25c679(0x21b)]('grid_multi_select'),_0x2d7716=this[_0x25c679(0x21b)](_0x25c679(0x206)),_0x3f596e=this[_0x25c679(0x21b)](_0x25c679(0x22c)),_0x11b85a=this[_0x25c679(0x21b)]('grid_use_filter'),_0x5a6dcc=this[_0x25c679(0x21b)](_0x25c679(0x22e)),_0x4864d0=this[_0x25c679(0x21b)](_0x25c679(0x1fa)),_0x1bc259=this[_0x25c679(0x21b)](_0x25c679(0x225)),_0x7cd8a0=this[_0x25c679(0x21b)](_0x25c679(0x20f));return _0x11fb30[_0x25c679(0x1fe)]['use_filter_form']=_0x25c679(0x216)==_0x11b85a,_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x22d)][_0x25c679(0x209)]=_0x25c679(0x216)==_0x302290,_0x11fb30['grid'][_0x25c679(0x218)]['use_row_checker']=_0x25c679(0x216)==_0x158dd1,_0x11fb30[_0x25c679(0x1fe)]['option'][_0x25c679(0x22b)]=_0x3f596e,_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)][_0x25c679(0x226)]=_0x2d7716,_0x25c679(0x21e)==_0x5a6dcc?_0x11fb30[_0x25c679(0x1fe)]['option'][_0x25c679(0x227)]=[0x14,0x1e,0x32,0x64]:_0x25c679(0x1fd)==_0x5a6dcc?_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)][_0x25c679(0x227)]=[0x32,0x64,0x1f4,0x3e8]:_0x25c679(0x212)==_0x5a6dcc?_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)][_0x25c679(0x227)]=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0x5a6dcc?_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)][_0x25c679(0x227)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x25c679(0x21c)==_0x5a6dcc&&(_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)][_0x25c679(0x227)]=_0x25c679(0x1f4)),_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)][_0x25c679(0x21f)]=[],_0x25c679(0x216)==_0x4864d0&&_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)]['view_mode'][_0x25c679(0x202)]('GRID'),_0x25c679(0x216)==_0x1bc259&&_0x11fb30[_0x25c679(0x1fe)][_0x25c679(0x218)][_0x25c679(0x21f)][_0x25c679(0x202)]('LIST'),_0x25c679(0x216)==_0x7cd8a0&&_0x11fb30[_0x25c679(0x1fe)]['option'][_0x25c679(0x21f)]['push'](_0x25c679(0x22a)),_0x11fb30;}async[a0_0x25ceae(0x208)](){const _0x2b5b40=a0_0x25ceae;let _0x47dc3c=await MetaApi['codeItems'](_0x2b5b40(0x224)),_0x325d1b=await MetaApi[_0x2b5b40(0x20e)](_0x2b5b40(0x1f3));this[_0x2b5b40(0x215)]=_0x325d1b,this[_0x2b5b40(0x214)]=_0x47dc3c;}['setGridConfigTabDetaultValues'](){const _0x234f28=a0_0x25ceae;this[_0x234f28(0x1f9)]||(this['viewGridData']={'mobile_mode':this[_0x234f28(0x215)]?this[_0x234f28(0x215)][0x1]:_0x234f28(0x220),'desk_mode':this[_0x234f28(0x215)]?this[_0x234f28(0x215)][0x0]:_0x234f28(0x21a),'use_row_checker':!0x0,'pages':_0x234f28(0x21e),'view_mode':[...this[_0x234f28(0x215)]?this[_0x234f28(0x215)]:[_0x234f28(0x21a),_0x234f28(0x220),'CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x25ceae(0x1fb)](){const _0x9af1b9=a0_0x25ceae;return this['setGridConfigTabDetaultValues'](),html`
1
+ function a0_0x4aca(_0x259c92,_0x198fc6){const _0x2211d1=a0_0x2211();return a0_0x4aca=function(_0x4aca9d,_0x39befb){_0x4aca9d=_0x4aca9d-0x131;let _0x55d07d=_0x2211d1[_0x4aca9d];return _0x55d07d;},a0_0x4aca(_0x259c92,_0x198fc6);}const a0_0x37b7ec=a0_0x4aca;function a0_0x2211(){const _0x43141e=['unuse','description','setGridConfigTabDetaultValues','name','push','11556CGNvKk','map','grid_term_100','option','viewGridData','multiple_select','pages','grid','1029024iFuzRN','tLabel','grid_support_multi_select','564823XTsalY','mobile_mode','setGridConfigTabConfig','grid_term_','grid_desk_view','use_row_checker','setGridConfigTabValues','gridViewModes','gridPageOptions','use','LIST','10lbbYyz','unlimited','grid_term_default','grid_use_filter','list_view_use','length','grid_pagination','3276942tnceyU','312992kAUMMJ','76glIEFl','117UdDygQ','true','getElementValueById','view_mode','_view_use','toLowerCase','grid_term_50','renderGridConfigTab','grid_multi_select','2548460qmhMYb','codeItems','GRID_PAGE_OPTIONS','grid_row_check_use','CARD','GRID','card_view_use','use_filter_form','grid_use_row_check','8298318PoBUxr','select-row-toggle','includes','grid_view_use','support','desk_mode','row','grid_term_unlimited','getGridConfigTabValues'];a0_0x2211=function(){return _0x43141e;};return a0_0x2211();}(function(_0x59111d,_0x510d30){const _0x26a2a1=a0_0x4aca,_0x4904d4=_0x59111d();while(!![]){try{const _0x3a0b7c=parseInt(_0x26a2a1(0x147))/0x1*(parseInt(_0x26a2a1(0x166))/0x2)+-parseInt(_0x26a2a1(0x164))/0x3+-parseInt(_0x26a2a1(0x165))/0x4*(parseInt(_0x26a2a1(0x15d))/0x5)+-parseInt(_0x26a2a1(0x139))/0x6+-parseInt(_0x26a2a1(0x152))/0x7+-parseInt(_0x26a2a1(0x14f))/0x8+-parseInt(_0x26a2a1(0x167))/0x9*(-parseInt(_0x26a2a1(0x170))/0xa);if(_0x3a0b7c===_0x510d30)break;else _0x4904d4['push'](_0x4904d4['shift']());}catch(_0x4e9a32){_0x4904d4['push'](_0x4904d4['shift']());}}}(a0_0x2211,0xde662));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridConfigTabMixin=_0x40ae5a=>class extends _0x40ae5a{[a0_0x37b7ec(0x158)](_0x2a347e){const _0x26b503=a0_0x37b7ec;if(_0x2a347e){var {mobile_mode:_0x22bedc='',desk_mode:_0x52b5d3='',pages:_0x4e1462=[],use_row_checker:_0x10c5a9=!0x0,view_mode:_0x340fa6=[]}=_0x2a347e[_0x26b503(0x14a)]||{};let _0x3b8015=(_0x2a347e[_0x26b503(0x13f)]||{'multiple_select':!0x1})['multiple_select'],_0x34ce79=_0x26b503(0x15e)==_0x4e1462?_0x26b503(0x140):0x0==_0x4e1462[_0x26b503(0x162)]?'':0x14==_0x4e1462[0x0]?'grid_term_default':_0x26b503(0x155)+_0x4e1462[0x0];this[_0x26b503(0x14b)]={'mobile_mode':_0x22bedc,'desk_mode':_0x52b5d3,'use_row_checker':_0x10c5a9,'pages':_0x34ce79,'view_mode':_0x340fa6,'multiple_select':_0x3b8015,'use_filter_form':_0x2a347e[_0x26b503(0x137)]};}else this[_0x26b503(0x144)]();}[a0_0x37b7ec(0x141)](){const _0x121e30=a0_0x37b7ec;let _0x131569={'grid':{'option':{},'row':{'click':_0x121e30(0x13a)}}},_0x75df33=this[_0x121e30(0x169)](_0x121e30(0x133)),_0x35efd8=this[_0x121e30(0x169)](_0x121e30(0x16f)),_0x129245=this['getElementValueById'](_0x121e30(0x156)),_0x41d067=this[_0x121e30(0x169)]('grid_mobile_view'),_0x478736=this[_0x121e30(0x169)](_0x121e30(0x160)),_0xac0bd=this[_0x121e30(0x169)](_0x121e30(0x163)),_0x422375=this[_0x121e30(0x169)](_0x121e30(0x13c)),_0x2df5=this[_0x121e30(0x169)](_0x121e30(0x161)),_0x5a9f07=this[_0x121e30(0x169)](_0x121e30(0x136));return _0x131569[_0x121e30(0x14e)][_0x121e30(0x137)]=_0x121e30(0x168)==_0x478736,_0x131569['grid']['row'][_0x121e30(0x14c)]=_0x121e30(0x168)==_0x35efd8,_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x157)]=_0x121e30(0x168)==_0x75df33,_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x153)]=_0x41d067,_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x13e)]=_0x129245,'grid_term_default'==_0xac0bd?_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)]['pages']=[0x14,0x1e,0x32,0x64]:_0x121e30(0x16d)==_0xac0bd?_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x14d)]=[0x32,0x64,0x1f4,0x3e8]:_0x121e30(0x149)==_0xac0bd?_0x131569['grid'][_0x121e30(0x14a)][_0x121e30(0x14d)]=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0xac0bd?_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)]['pages']=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:'grid_term_unlimited'==_0xac0bd&&(_0x131569['grid'][_0x121e30(0x14a)]['pages']=_0x121e30(0x15e)),_0x131569[_0x121e30(0x14e)][_0x121e30(0x14a)][_0x121e30(0x16a)]=[],_0x121e30(0x168)==_0x422375&&_0x131569['grid'][_0x121e30(0x14a)]['view_mode'][_0x121e30(0x146)](_0x121e30(0x135)),_0x121e30(0x168)==_0x2df5&&_0x131569[_0x121e30(0x14e)]['option'][_0x121e30(0x16a)][_0x121e30(0x146)](_0x121e30(0x15c)),_0x121e30(0x168)==_0x5a9f07&&_0x131569[_0x121e30(0x14e)]['option'][_0x121e30(0x16a)][_0x121e30(0x146)](_0x121e30(0x134)),_0x131569;}async[a0_0x37b7ec(0x154)](){const _0x2ed748=a0_0x37b7ec;let _0x4dd55f=await MetaApi[_0x2ed748(0x131)](_0x2ed748(0x132)),_0x363f1c=await MetaApi[_0x2ed748(0x131)]('GRID_VIEW_MODE');this['gridViewModes']=_0x363f1c,this[_0x2ed748(0x15a)]=_0x4dd55f;}[a0_0x37b7ec(0x144)](){const _0x4bc8a4=a0_0x37b7ec;this[_0x4bc8a4(0x14b)]||(this[_0x4bc8a4(0x14b)]={'mobile_mode':this['gridViewModes']?this[_0x4bc8a4(0x159)][0x1]:_0x4bc8a4(0x15c),'desk_mode':this[_0x4bc8a4(0x159)]?this[_0x4bc8a4(0x159)][0x0]:_0x4bc8a4(0x135),'use_row_checker':!0x0,'pages':_0x4bc8a4(0x15f),'view_mode':[...this[_0x4bc8a4(0x159)]?this[_0x4bc8a4(0x159)]:['GRID',_0x4bc8a4(0x15c),_0x4bc8a4(0x134)]],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x37b7ec(0x16e)](){const _0x23b224=a0_0x37b7ec;return this['setGridConfigTabDetaultValues'](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
4
  <h2>
5
- <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel']('grid_use_row_check')}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x23b224(0x138))}
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[_0x9af1b9(0x1f9)]['use_row_checker']}>${TermsUtil[_0x9af1b9(0x1f8)]('use')}</input>
10
+ ?checked=${this['viewGridData'][_0x23b224(0x157)]}>${TermsUtil[_0x23b224(0x150)](_0x23b224(0x15b))}</input>
11
11
  <input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
12
- ?checked=${!this[_0x9af1b9(0x1f9)][_0x9af1b9(0x223)]}>${TermsUtil[_0x9af1b9(0x1f8)](_0x9af1b9(0x1ff))}</input>
12
+ ?checked=${!this['viewGridData'][_0x23b224(0x157)]}>${TermsUtil[_0x23b224(0x150)]('unuse')}</input>
13
13
  </span>
14
14
  </label>
15
15
  </div>
16
16
  <div field>
17
17
  <h2>
18
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x9af1b9(0x1f8)]('grid_support_multi_select')}
18
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x23b224(0x150)](_0x23b224(0x151))}
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[_0x9af1b9(0x1f9)][_0x9af1b9(0x209)]}>${TermsUtil[_0x9af1b9(0x1f8)]('support')}</input>
23
+ ?checked=${this[_0x23b224(0x14b)]['multiple_select']}>${TermsUtil[_0x23b224(0x150)](_0x23b224(0x13d))}</input>
24
24
  <input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
25
- ?checked=${!this['viewGridData']['multiple_select']}>${TermsUtil[_0x9af1b9(0x1f8)](_0x9af1b9(0x1f6))}</input>
25
+ ?checked=${!this[_0x23b224(0x14b)][_0x23b224(0x14c)]}>${TermsUtil[_0x23b224(0x150)]('unsupport')}</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[_0x9af1b9(0x1f8)](_0x9af1b9(0x204))}
31
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x23b224(0x160))}
32
32
  </h2>
33
33
  <label>
34
34
  <span>
35
35
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="true"
36
- ?checked=${this['viewGridData']['use_filter_form']}>${TermsUtil[_0x9af1b9(0x1f8)](_0x9af1b9(0x217))}</input>
36
+ ?checked=${this['viewGridData'][_0x23b224(0x137)]}>${TermsUtil['tLabel'](_0x23b224(0x15b))}</input>
37
37
  <input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
38
- ?checked=${!this['viewGridData']['use_filter_form']}>${TermsUtil[_0x9af1b9(0x1f8)](_0x9af1b9(0x1ff))}</input>
38
+ ?checked=${!this[_0x23b224(0x14b)][_0x23b224(0x137)]}>${TermsUtil['tLabel'](_0x23b224(0x142))}</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[_0x9af1b9(0x1f8)](_0x9af1b9(0x206))}
45
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x23b224(0x150)]('grid_desk_view')}
46
46
  </h2>
47
47
  <label>
48
48
  <select id="grid_desk_view" name="grid_desk_view">
49
- ${this['gridViewModes']?.['map'](_0x2fb3e4=>html`<option value=${_0x2fb3e4[_0x9af1b9(0x221)]} ?selected=${this[_0x9af1b9(0x1f9)][_0x9af1b9(0x226)]==_0x2fb3e4['name']}>${_0x2fb3e4['description']}</option>`)}
49
+ ${this[_0x23b224(0x159)]?.['map'](_0x3386c5=>html`<option value=${_0x3386c5[_0x23b224(0x145)]} ?selected=${this[_0x23b224(0x14b)][_0x23b224(0x13e)]==_0x3386c5['name']}>${_0x3386c5[_0x23b224(0x143)]}</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[_0x9af1b9(0x1f8)](_0x9af1b9(0x22c))}
55
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x23b224(0x150)]('grid_mobile_view')}
56
56
  </h2>
57
57
  <label>
58
58
  <select id="grid_mobile_view" name="grid_mobile_view">
59
- ${this[_0x9af1b9(0x215)]?.['map'](_0x52373d=>html`<option value=${_0x52373d[_0x9af1b9(0x221)]} ?selected=${this[_0x9af1b9(0x1f9)][_0x9af1b9(0x22b)]==_0x52373d[_0x9af1b9(0x221)]}>${_0x52373d[_0x9af1b9(0x211)]}</option>`)}
59
+ ${this[_0x23b224(0x159)]?.[_0x23b224(0x148)](_0x2619d8=>html`<option value=${_0x2619d8['name']} ?selected=${this[_0x23b224(0x14b)]['mobile_mode']==_0x2619d8[_0x23b224(0x145)]}>${_0x2619d8[_0x23b224(0x143)]}</option>`)}
60
60
  </select>
61
61
  </label>
62
62
  </div>
63
63
  <div field>
64
64
  <h2>
65
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x9af1b9(0x1f8)](_0x9af1b9(0x200))}
65
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x23b224(0x150)]('grid_support_view')}
66
66
  </h2>
67
67
  <label>
68
- ${this['gridViewModes']?.[_0x9af1b9(0x228)](_0x52d3e4=>html`
69
- <span>${_0x52d3e4[_0x9af1b9(0x221)]}
70
- <input type="radio" name=${_0x52d3e4[_0x9af1b9(0x221)][_0x9af1b9(0x21d)]()+_0x9af1b9(0x205)} id=${_0x52d3e4['name'][_0x9af1b9(0x21d)]()+_0x9af1b9(0x205)} ?checked=${this[_0x9af1b9(0x1f9)][_0x9af1b9(0x21f)][_0x9af1b9(0x1f7)](_0x52d3e4['name'])} value="true">${TermsUtil[_0x9af1b9(0x1f8)](_0x9af1b9(0x217))}</input>
71
- <input type="radio" name=${_0x52d3e4['name'][_0x9af1b9(0x21d)]()+_0x9af1b9(0x205)} id=${_0x52d3e4[_0x9af1b9(0x221)][_0x9af1b9(0x21d)]()+_0x9af1b9(0x205)} ?checked=${!this[_0x9af1b9(0x1f9)][_0x9af1b9(0x21f)][_0x9af1b9(0x1f7)](_0x52d3e4[_0x9af1b9(0x221)])} value="false">${TermsUtil[_0x9af1b9(0x1f8)](_0x9af1b9(0x1ff))}</input>
68
+ ${this['gridViewModes']?.[_0x23b224(0x148)](_0x49248f=>html`
69
+ <span>${_0x49248f[_0x23b224(0x145)]}
70
+ <input type="radio" name=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+'_view_use'} id=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+_0x23b224(0x16b)} ?checked=${this[_0x23b224(0x14b)][_0x23b224(0x16a)][_0x23b224(0x13b)](_0x49248f[_0x23b224(0x145)])} value="true">${TermsUtil[_0x23b224(0x150)](_0x23b224(0x15b))}</input>
71
+ <input type="radio" name=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+_0x23b224(0x16b)} id=${_0x49248f[_0x23b224(0x145)][_0x23b224(0x16c)]()+'_view_use'} ?checked=${!this[_0x23b224(0x14b)][_0x23b224(0x16a)][_0x23b224(0x13b)](_0x49248f['name'])} value="false">${TermsUtil[_0x23b224(0x150)](_0x23b224(0x142))}</input>
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[_0x9af1b9(0x1f8)](_0x9af1b9(0x22e))}
78
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x23b224(0x150)](_0x23b224(0x163))}
79
79
  </h2>
80
80
  <label>
81
- ${this['gridPageOptions']?.[_0x9af1b9(0x228)](_0x1ab173=>html`
81
+ ${this[_0x23b224(0x15a)]?.[_0x23b224(0x148)](_0x325dc9=>html`
82
82
  <span>
83
- <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x1ab173['name']} ?checked=${this[_0x9af1b9(0x1f9)][_0x9af1b9(0x227)]==_0x1ab173[_0x9af1b9(0x221)]}>${TermsUtil['tLabel'](_0x1ab173[_0x9af1b9(0x221)])}</input>
83
+ <input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x325dc9[_0x23b224(0x145)]} ?checked=${this[_0x23b224(0x14b)][_0x23b224(0x14d)]==_0x325dc9[_0x23b224(0x145)]}>${TermsUtil[_0x23b224(0x150)](_0x325dc9['name'])}</input>
84
84
  </span>
85
85
  `)}
86
86
  </label>
@@ -1,18 +1,18 @@
1
- const a0_0x185f2c=a0_0x6140;(function(_0x2c7d1d,_0x2f6e01){const _0x1b416a=a0_0x6140,_0x49b49b=_0x2c7d1d();while(!![]){try{const _0x27ec26=-parseInt(_0x1b416a(0x16b))/0x1+-parseInt(_0x1b416a(0x196))/0x2*(parseInt(_0x1b416a(0x189))/0x3)+-parseInt(_0x1b416a(0x191))/0x4+-parseInt(_0x1b416a(0x172))/0x5*(parseInt(_0x1b416a(0x177))/0x6)+-parseInt(_0x1b416a(0x18c))/0x7+-parseInt(_0x1b416a(0x192))/0x8+parseInt(_0x1b416a(0x17d))/0x9;if(_0x27ec26===_0x2f6e01)break;else _0x49b49b['push'](_0x49b49b['shift']());}catch(_0x402564){_0x49b49b['push'](_0x49b49b['shift']());}}}(a0_0x4126,0xa1c72));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x6140(_0x256b90,_0x4cb26f){const _0x4126c5=a0_0x4126();return a0_0x6140=function(_0x6140c6,_0x3b2182){_0x6140c6=_0x6140c6-0x165;let _0x415c8b=_0x4126c5[_0x6140c6];return _0x415c8b;},a0_0x6140(_0x256b90,_0x4cb26f);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x27a972=>class extends _0x27a972{[a0_0x185f2c(0x175)](_0x40841d){const _0x34ad35=a0_0x185f2c;if(_0x40841d){this[_0x34ad35(0x165)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x506605=0x1;this[_0x34ad35(0x165)][_0x34ad35(0x193)]=(_0x40841d['row']||[])['map'](_0x2eba78=>({'id':_0x506605,'rank':_0x506605++,'backgroundColor':_0x2eba78[_0x34ad35(0x169)]||'','fontColor':_0x2eba78[_0x34ad35(0x18a)]||'','logic':_0x2eba78[_0x34ad35(0x16f)]||''})),_0x506605=0x1;let _0x535dab=_0x40841d[_0x34ad35(0x173)]||[];Object['keys'](_0x535dab)[_0x34ad35(0x167)](_0x172e51=>{const _0x3de425=_0x34ad35;let _0x53c526=_0x535dab[_0x172e51]||[],_0x15ba60=0x1;_0x53c526[_0x3de425(0x167)](_0x384d79=>{const _0x37ba6d=_0x3de425;this['viewEmphasizedData'][_0x37ba6d(0x195)][_0x37ba6d(0x176)]({'id':_0x506605++,'rank':_0x15ba60++,'column':_0x172e51,'backgroundColor':_0x384d79[_0x37ba6d(0x169)]||'','fontColor':_0x384d79['fontColor']||'','logic':_0x384d79[_0x37ba6d(0x16f)]||''});});}),this[_0x34ad35(0x174)]?.[_0x34ad35(0x17e)](),this['emphasizedConfigTabRowEmphasizedGrist']?.['fetch']();}else this[_0x34ad35(0x18d)]();}[a0_0x185f2c(0x199)](){const _0x2f9dd3=a0_0x185f2c;let _0x286b66=this[_0x2f9dd3(0x16e)](_0x2f9dd3(0x19b)),_0x3bad27=this[_0x2f9dd3(0x16e)](_0x2f9dd3(0x166)),_0x26f27d=[];this[_0x2f9dd3(0x180)](_0x286b66)?.[_0x2f9dd3(0x167)](_0x1f9fae=>{const _0x254985=_0x2f9dd3;_0x26f27d[_0x254985(0x176)]({'backgroundColor':_0x1f9fae[_0x254985(0x169)],'fontColor':_0x1f9fae['fontColor'],'logic':_0x1f9fae[_0x254985(0x16f)]});});let _0x403083={};return this['sortRecordByRank'](_0x3bad27)?.[_0x2f9dd3(0x167)](_0x54a8c7=>{const _0x5a99bb=_0x2f9dd3;_0x403083[_0x54a8c7[_0x5a99bb(0x173)]]||(_0x403083[_0x54a8c7[_0x5a99bb(0x173)]]=[]),_0x403083[_0x54a8c7['column']][_0x5a99bb(0x176)]({'backgroundColor':_0x54a8c7[_0x5a99bb(0x169)],'fontColor':_0x54a8c7[_0x5a99bb(0x18a)],'logic':_0x54a8c7['logic']});}),{'gridEmphasized':{'row':_0x26f27d||[],'column':_0x403083||{}}};}get[a0_0x185f2c(0x16c)](){const _0x1baa23=a0_0x185f2c;return this[_0x1baa23(0x187)][_0x1baa23(0x17c)](_0x1baa23(0x186));}get[a0_0x185f2c(0x174)](){const _0x5a2e2e=a0_0x185f2c;return this[_0x5a2e2e(0x187)][_0x5a2e2e(0x17c)](_0x5a2e2e(0x171));}['setGridEmphasizedConfigTabConfig'](){const _0x11af00=a0_0x185f2c;this['rowEmphasizedConfig']={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x11af00(0x16a)](!0x1,!0x1),{'type':_0x11af00(0x184),'gutterName':_0x11af00(0x194),'icon':_0x11af00(0x170),'handlers':{'click':(_0x514041,_0x2f2445,_0x41bc8f,_0x1c4ef5,_0x56163e)=>{const _0x404e3a=_0x11af00;_0x1c4ef5['id']&&this[_0x404e3a(0x17b)](this['emphasizedConfigTabRowEmphasizedGrist'],_0x1c4ef5);}}},{'type':_0x11af00(0x179),'name':'id','hidden':!0x0},{'type':_0x11af00(0x198),'name':_0x11af00(0x16d),'header':TermsUtil[_0x11af00(0x18b)](_0x11af00(0x16d)),'sortable':!0x0,'width':0x41,'record':{'align':_0x11af00(0x183),'editable':!0x0,'mandatory':!0x0}},{'type':_0x11af00(0x179),'name':_0x11af00(0x169),'header':TermsUtil['tLabel'](_0x11af00(0x18e)),'record':{'align':_0x11af00(0x17a),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x11af00(0x179),'name':_0x11af00(0x18a),'header':TermsUtil['tLabel'](_0x11af00(0x185)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x11af00(0x19a),'name':'logic','header':TermsUtil[_0x11af00(0x18b)]('logic'),'record':{'align':_0x11af00(0x17a),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this['columnEmphasizedConfig']={'rows':MetaApi[_0x11af00(0x181)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x11af00(0x16a)](!0x1,!0x1),{'type':_0x11af00(0x184),'gutterName':'button','icon':_0x11af00(0x170),'handlers':{'click':(_0x43e204,_0x23d2bd,_0x7b8dd5,_0x59a9b5,_0x3e8024)=>{const _0x2daa8f=_0x11af00;_0x59a9b5['id']&&this['deleteRow'](this[_0x2daa8f(0x174)],_0x59a9b5);}}},{'type':_0x11af00(0x179),'name':'id','hidden':!0x0},{'type':'string','name':_0x11af00(0x173),'header':TermsUtil[_0x11af00(0x18b)](_0x11af00(0x173)),'record':{'align':_0x11af00(0x17a),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'integer','name':_0x11af00(0x16d),'header':TermsUtil[_0x11af00(0x18b)](_0x11af00(0x16d)),'sortable':!0x0,'width':0x41,'record':{'align':_0x11af00(0x183),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x11af00(0x169),'header':TermsUtil[_0x11af00(0x18b)]('background-color'),'record':{'align':_0x11af00(0x17a),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x11af00(0x179),'name':'fontColor','header':TermsUtil['tLabel'](_0x11af00(0x185)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x11af00(0x19a),'name':'logic','header':TermsUtil[_0x11af00(0x18b)]('logic'),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}['setGridEmphasizedConfigTabDefaultValues'](){const _0x1b30a2=a0_0x185f2c;this[_0x1b30a2(0x165)]||(this[_0x1b30a2(0x165)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x185f2c(0x190)](){const _0x2c192b=a0_0x185f2c;return this[_0x2c192b(0x18d)](),html`
1
+ const a0_0x3508f5=a0_0x36dc;(function(_0x42ebc1,_0x369ffd){const _0x1a066c=a0_0x36dc,_0xf674d=_0x42ebc1();while(!![]){try{const _0x4c0834=parseInt(_0x1a066c(0x127))/0x1*(-parseInt(_0x1a066c(0x126))/0x2)+parseInt(_0x1a066c(0x151))/0x3+parseInt(_0x1a066c(0x145))/0x4+-parseInt(_0x1a066c(0x152))/0x5*(-parseInt(_0x1a066c(0x136))/0x6)+-parseInt(_0x1a066c(0x122))/0x7*(-parseInt(_0x1a066c(0x134))/0x8)+-parseInt(_0x1a066c(0x14c))/0x9*(parseInt(_0x1a066c(0x118))/0xa)+-parseInt(_0x1a066c(0x146))/0xb*(-parseInt(_0x1a066c(0x14a))/0xc);if(_0x4c0834===_0x369ffd)break;else _0xf674d['push'](_0xf674d['shift']());}catch(_0x274bc2){_0xf674d['push'](_0xf674d['shift']());}}}(a0_0xea59,0xa807a));function a0_0xea59(){const _0x45b00c=['map','getElementValueById','viewEmphasizedData','deleteRow','push','16gICtEW','getGristSelectableConfig','991908pNLVyb','row','fetch','setGridEmphasizedConfigTabConfig','grid_column_emphasized_config','row-emphasized-grist','setGridEmphasizedConfigTabDefaultValues','fetchColumnEmphasized','getGristGuttersConfig','GRID','renderGridEmphasizedConfigTab','#row-emphasized-grist','querySelector','emphasizedConfigTabRowEmphasizedGrist','gutter','635820aKyznM','11wqxBem','fetchRowEmphasized','sortRecordByRank','button','953124eKKEtz','shadowRoot','3218850KevfWa','keys','string','logic','code-input','1109616RqGDgL','20xhPebZ','setGridEmphasizedConfigTabValues','column-emphasized-grist','30jVjGWS','tLabel','delete','rowEmphasizedConfig','font-color','columnEmphasizedData','column','backgroundColor','#column-emphasized-grist','forEach','4395993afccfc','background-color','integer','rowEmphasizedData','138968prllOk','11RYPOwX','columnEmphasizedConfig','bind','rank','fontColor','right','left','emphasizedConfigTabColumnEmphasizedGrist'];a0_0xea59=function(){return _0x45b00c;};return a0_0xea59();}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x36dc(_0x4d359f,_0x5a6e54){const _0xea5919=a0_0xea59();return a0_0x36dc=function(_0x36dc5d,_0xd586df){_0x36dc5d=_0x36dc5d-0x118;let _0x2d26c7=_0xea5919[_0x36dc5d];return _0x2d26c7;},a0_0x36dc(_0x4d359f,_0x5a6e54);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';export const GridEmphasizedConfigTabMixin=_0x196f02=>class extends _0x196f02{[a0_0x3508f5(0x153)](_0x472d1d){const _0x4dcf7e=a0_0x3508f5;if(_0x472d1d){this[_0x4dcf7e(0x131)]={'rowEmphasizedData':[],'columnEmphasizedData':[]};let _0x1ce068=0x1;this[_0x4dcf7e(0x131)][_0x4dcf7e(0x125)]=(_0x472d1d[_0x4dcf7e(0x137)]||[])[_0x4dcf7e(0x12f)](_0x2aa55b=>({'id':_0x1ce068,'rank':_0x1ce068++,'backgroundColor':_0x2aa55b[_0x4dcf7e(0x11f)]||'','fontColor':_0x2aa55b[_0x4dcf7e(0x12b)]||'','logic':_0x2aa55b[_0x4dcf7e(0x14f)]||''})),_0x1ce068=0x1;let _0x3fcd14=_0x472d1d[_0x4dcf7e(0x11e)]||[];Object[_0x4dcf7e(0x14d)](_0x3fcd14)['forEach'](_0x4d80cb=>{const _0x56da05=_0x4dcf7e;let _0x4dced8=_0x3fcd14[_0x4d80cb]||[],_0x3e8175=0x1;_0x4dced8[_0x56da05(0x121)](_0x17de9f=>{const _0x5651d0=_0x56da05;this[_0x5651d0(0x131)][_0x5651d0(0x11d)][_0x5651d0(0x133)]({'id':_0x1ce068++,'rank':_0x3e8175++,'column':_0x4d80cb,'backgroundColor':_0x17de9f['backgroundColor']||'','fontColor':_0x17de9f['fontColor']||'','logic':_0x17de9f[_0x5651d0(0x14f)]||''});});}),this['emphasizedConfigTabColumnEmphasizedGrist']?.['fetch'](),this['emphasizedConfigTabRowEmphasizedGrist']?.[_0x4dcf7e(0x138)]();}else this[_0x4dcf7e(0x13c)]();}['getGridEmphasizedConfigTabValues'](){const _0x53f13b=a0_0x3508f5;let _0x218118=this[_0x53f13b(0x130)](_0x53f13b(0x13b)),_0x23fa22=this[_0x53f13b(0x130)](_0x53f13b(0x154)),_0x14c688=[];this[_0x53f13b(0x148)](_0x218118)?.[_0x53f13b(0x121)](_0x529ad6=>{const _0x194cb9=_0x53f13b;_0x14c688['push']({'backgroundColor':_0x529ad6[_0x194cb9(0x11f)],'fontColor':_0x529ad6[_0x194cb9(0x12b)],'logic':_0x529ad6[_0x194cb9(0x14f)]});});let _0xc54dcb={};return this[_0x53f13b(0x148)](_0x23fa22)?.[_0x53f13b(0x121)](_0x2e1779=>{const _0x3dc26c=_0x53f13b;_0xc54dcb[_0x2e1779[_0x3dc26c(0x11e)]]||(_0xc54dcb[_0x2e1779[_0x3dc26c(0x11e)]]=[]),_0xc54dcb[_0x2e1779[_0x3dc26c(0x11e)]][_0x3dc26c(0x133)]({'backgroundColor':_0x2e1779[_0x3dc26c(0x11f)],'fontColor':_0x2e1779[_0x3dc26c(0x12b)],'logic':_0x2e1779[_0x3dc26c(0x14f)]});}),{'gridEmphasized':{'row':_0x14c688||[],'column':_0xc54dcb||{}}};}get[a0_0x3508f5(0x143)](){const _0x172028=a0_0x3508f5;return this['shadowRoot'][_0x172028(0x142)](_0x172028(0x141));}get[a0_0x3508f5(0x12e)](){const _0x48b47d=a0_0x3508f5;return this[_0x48b47d(0x14b)][_0x48b47d(0x142)](_0x48b47d(0x120));}[a0_0x3508f5(0x139)](){const _0x5a4731=a0_0x3508f5;this[_0x5a4731(0x11b)]={'rows':MetaApi[_0x5a4731(0x135)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x5a4731(0x13e)](!0x1,!0x1),{'type':'gutter','gutterName':_0x5a4731(0x149),'icon':_0x5a4731(0x11a),'handlers':{'click':(_0x36a456,_0x42c2a8,_0x53657c,_0x17fed5,_0x2ce344)=>{const _0x3fb3a2=_0x5a4731;_0x17fed5['id']&&this[_0x3fb3a2(0x132)](this[_0x3fb3a2(0x143)],_0x17fed5);}}},{'type':_0x5a4731(0x14e),'name':'id','hidden':!0x0},{'type':_0x5a4731(0x124),'name':_0x5a4731(0x12a),'header':TermsUtil['tLabel'](_0x5a4731(0x12a)),'sortable':!0x0,'width':0x41,'record':{'align':_0x5a4731(0x12c),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x5a4731(0x11f),'header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x123)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x5a4731(0x12b),'header':TermsUtil[_0x5a4731(0x119)]('font-color'),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5a4731(0x150),'name':'logic','header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x14f)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]},this[_0x5a4731(0x128)]={'rows':MetaApi[_0x5a4731(0x135)](!0x1),'pagination':{'infinite':!0x0},'appendable':!0x0,'columns':[...MetaApi[_0x5a4731(0x13e)](!0x1,!0x1),{'type':_0x5a4731(0x144),'gutterName':_0x5a4731(0x149),'icon':_0x5a4731(0x11a),'handlers':{'click':(_0x20afd9,_0xa81d89,_0x2f1334,_0x24128b,_0x52bd4d)=>{const _0x43a5b3=_0x5a4731;_0x24128b['id']&&this['deleteRow'](this[_0x43a5b3(0x12e)],_0x24128b);}}},{'type':_0x5a4731(0x14e),'name':'id','hidden':!0x0},{'type':'string','name':_0x5a4731(0x11e),'header':TermsUtil['tLabel'](_0x5a4731(0x11e)),'record':{'align':'left','editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5a4731(0x124),'name':_0x5a4731(0x12a),'header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x12a)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x5a4731(0x14e),'name':'backgroundColor','header':TermsUtil['tLabel'](_0x5a4731(0x123)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':'string','name':_0x5a4731(0x12b),'header':TermsUtil[_0x5a4731(0x119)](_0x5a4731(0x11c)),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x82},{'type':_0x5a4731(0x150),'name':_0x5a4731(0x14f),'header':TermsUtil[_0x5a4731(0x119)]('logic'),'record':{'align':_0x5a4731(0x12d),'editable':!0x0,'mandatory':!0x0},'width':0x12c}]};}[a0_0x3508f5(0x13c)](){const _0x2c9384=a0_0x3508f5;this[_0x2c9384(0x131)]||(this[_0x2c9384(0x131)]={'rowEmphasizedData':[],'columnEmphasizedData':[]});}[a0_0x3508f5(0x140)](){const _0x2c8053=a0_0x3508f5;return this[_0x2c8053(0x13c)](),html`
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['tLabel'](_0x2c192b(0x17f))}
5
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2c8053(0x119)]('grid_row_emphasized_config')}
6
6
  </h2>
7
- <ox-grist id="row-emphasized-grist" .config=${this[_0x2c192b(0x168)]} .mode=${_0x2c192b(0x18f)} auto-fetch
8
- .fetchHandler=${this[_0x2c192b(0x178)][_0x2c192b(0x197)](this)}></ox-grist>
7
+ <ox-grist id="row-emphasized-grist" .config=${this['rowEmphasizedConfig']} .mode=${'GRID'} auto-fetch
8
+ .fetchHandler=${this[_0x2c8053(0x147)][_0x2c8053(0x129)](this)}></ox-grist>
9
9
  </div>
10
10
  <div field >
11
11
  <h2>
12
- <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2c192b(0x18b)](_0x2c192b(0x182))}
12
+ <mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x2c8053(0x119)](_0x2c8053(0x13a))}
13
13
  </h2>
14
- <ox-grist id="column-emphasized-grist" .config=${this['columnEmphasizedConfig']} .mode=${_0x2c192b(0x18f)} auto-fetch
15
- .fetchHandler=${this[_0x2c192b(0x188)][_0x2c192b(0x197)](this)}></ox-grist>
14
+ <ox-grist id="column-emphasized-grist" .config=${this[_0x2c8053(0x128)]} .mode=${_0x2c8053(0x13f)} auto-fetch
15
+ .fetchHandler=${this[_0x2c8053(0x13d)][_0x2c8053(0x129)](this)}></ox-grist>
16
16
  </div>
17
17
  </div>
18
- `;}async[a0_0x185f2c(0x178)](){const _0x2fa552=a0_0x185f2c;return{'records':this['viewEmphasizedData'][_0x2fa552(0x193)],'total':0x0};}async[a0_0x185f2c(0x188)](){const _0x2eb550=a0_0x185f2c;return{'records':this[_0x2eb550(0x165)]['columnEmphasizedData'],'total':0x0};}};function a0_0x4126(){const _0x2272d4=['shadowRoot','fetchColumnEmphasized','1019163WiFOjV','fontColor','tLabel','6111301yOvNwL','setGridEmphasizedConfigTabDefaultValues','background-color','GRID','renderGridEmphasizedConfigTab','4512696lSsdJO','808496GTHroD','rowEmphasizedData','button','columnEmphasizedData','4yVJRsJ','bind','integer','getGridEmphasizedConfigTabValues','code-input','row-emphasized-grist','viewEmphasizedData','column-emphasized-grist','forEach','rowEmphasizedConfig','backgroundColor','getGristGuttersConfig','465403zsAmiZ','emphasizedConfigTabRowEmphasizedGrist','rank','getElementValueById','logic','delete','#column-emphasized-grist','3070YUPLQo','column','emphasizedConfigTabColumnEmphasizedGrist','setGridEmphasizedConfigTabValues','push','4656xScBLK','fetchRowEmphasized','string','left','deleteRow','querySelector','39476070afuxEY','fetch','grid_row_emphasized_config','sortRecordByRank','getGristSelectableConfig','grid_column_emphasized_config','right','gutter','font-color','#row-emphasized-grist'];a0_0x4126=function(){return _0x2272d4;};return a0_0x4126();}
18
+ `;}async[a0_0x3508f5(0x147)](){const _0x2c41e8=a0_0x3508f5;return{'records':this['viewEmphasizedData'][_0x2c41e8(0x125)],'total':0x0};}async[a0_0x3508f5(0x13d)](){const _0x2718a0=a0_0x3508f5;return{'records':this[_0x2718a0(0x131)][_0x2718a0(0x11d)],'total':0x0};}};
@@ -1,29 +1,29 @@
1
- const a0_0x5db439=a0_0x5d16;(function(_0x288074,_0x200b02){const _0x22a33d=a0_0x5d16,_0x3008d8=_0x288074();while(!![]){try{const _0x236fd3=parseInt(_0x22a33d(0x202))/0x1+parseInt(_0x22a33d(0x1f8))/0x2*(parseInt(_0x22a33d(0x206))/0x3)+-parseInt(_0x22a33d(0x203))/0x4*(parseInt(_0x22a33d(0x209))/0x5)+-parseInt(_0x22a33d(0x1f6))/0x6+parseInt(_0x22a33d(0x1f1))/0x7*(parseInt(_0x22a33d(0x20b))/0x8)+-parseInt(_0x22a33d(0x1fc))/0x9+-parseInt(_0x22a33d(0x1ff))/0xa*(-parseInt(_0x22a33d(0x201))/0xb);if(_0x236fd3===_0x200b02)break;else _0x3008d8['push'](_0x3008d8['shift']());}catch(_0x5ccee2){_0x3008d8['push'](_0x3008d8['shift']());}}}(a0_0x2f31,0xbbf9e));function a0_0x5d16(_0x298387,_0x4dbd6b){const _0x2f31d5=a0_0x2f31();return a0_0x5d16=function(_0x5d16d4,_0x2edfd1){_0x5d16d4=_0x5d16d4-0x1ef;let _0x3c5cfd=_0x2f31d5[_0x5d16d4];return _0x3c5cfd;},a0_0x5d16(_0x298387,_0x4dbd6b);}function a0_0x2f31(){const _0x1ba283=['title','1238152xZuEpj','menu_desc_field','desc','getElementValueById','tLabel','viewMenuData','21NlSeoh','target','setMenuConfigTabDefaultValue','renderMenuConfigTab','description','6598530dxvGhQ','name','106xUSxIr','menu','tTitle','value','436995ppikFo','menu_name_field','help','465670iWFIcy','setMenuConfigTabValues','286lxsmer','1057969MUCbQx','267552iZXPts','help_doc','menuTitleChange','33390ZJAEXv','getElementById','display','105hVPCSE'];a0_0x2f31=function(){return _0x1ba283;};return a0_0x2f31();}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x15a647=>class extends _0x15a647{[a0_0x5db439(0x200)](_0x2cd257){const _0x506464=a0_0x5db439;if(_0x2cd257){var {title:_0x35358b='',name:_0x3529f8='',desc:_0xa6a455='',help:_0xd2c6df=''}=_0x2cd257||{};this[_0x506464(0x1f0)]={'title':_0x35358b,'name':_0x3529f8,'desc':_0xa6a455,'help_doc':_0xd2c6df},this[_0x506464(0x207)](_0x506464(0x20a))[_0x506464(0x1fb)]=_0x35358b,this[_0x506464(0x207)]('name')[_0x506464(0x1fb)]=_0x3529f8,this['getElementById'](_0x506464(0x20d))[_0x506464(0x1fb)]=_0xa6a455,this[_0x506464(0x207)]('help_doc')[_0x506464(0x1fb)]=_0xd2c6df;}else this[_0x506464(0x1f3)]();}['getMenuConfigTabValues'](){const _0xf70ce4=a0_0x5db439;let _0xa8e6b9={'menu':{}},_0x4fd26c=this[_0xf70ce4(0x20e)](_0xf70ce4(0x20a)),_0x5923ce=this[_0xf70ce4(0x20e)]('name'),_0xa34e0b=this[_0xf70ce4(0x20e)](_0xf70ce4(0x20d)),_0x287314=this[_0xf70ce4(0x20e)](_0xf70ce4(0x204));return _0x4fd26c&&(_0xa8e6b9[_0xf70ce4(0x1f9)][_0xf70ce4(0x20a)]=_0x4fd26c),_0x5923ce&&(_0xa8e6b9[_0xf70ce4(0x1f9)][_0xf70ce4(0x1f7)]=_0x5923ce),_0xa34e0b&&(_0xa8e6b9[_0xf70ce4(0x1f9)][_0xf70ce4(0x20d)]=_0xa34e0b),_0x287314&&(_0xa8e6b9['menu'][_0xf70ce4(0x1fe)]=_0x287314),_0xa8e6b9;}[a0_0x5db439(0x1f3)](){const _0x4dd127=a0_0x5db439;this[_0x4dd127(0x1f0)]||(this[_0x4dd127(0x1f0)]={'title':'','name':_0x4dd127(0x1f7),'desc':_0x4dd127(0x1f5),'help_doc':''});}[a0_0x5db439(0x205)](_0x4fdb7b){const _0x1a9139=a0_0x5db439;let _0x18ce26=this[_0x1a9139(0x207)](_0x1a9139(0x208));_0x18ce26&&(_0x18ce26['value']=TermsUtil[_0x1a9139(0x1fa)](_0x4fdb7b[_0x1a9139(0x1f2)][_0x1a9139(0x1fb)]));}[a0_0x5db439(0x1f4)](){const _0x36dcf5=a0_0x5db439;return this[_0x36dcf5(0x1f3)](),html`
1
+ function a0_0x4351(){const _0x45d719=['target','getMenuConfigTabValues','renderMenuConfigTab','getElementById','menu','menu_title','221508ouARlV','menuTitleChange','2KGQfHZ','menu_name_field','2541000BufnWc','1552713IDtxSK','9QmETGk','tTitle','setMenuConfigTabValues','desc','help','name','viewMenuData','tLabel','767053JyfnqK','title','30HzBWfD','55DyGkNM','description','5771992YjHjuu','5929020uTFjXc','setMenuConfigTabDefaultValue','value','67993LoaTqQ','help_doc','getElementValueById'];a0_0x4351=function(){return _0x45d719;};return a0_0x4351();}const a0_0x1b87f2=a0_0x1e37;(function(_0xfa6fe1,_0x53f760){const _0x3d1dd8=a0_0x1e37,_0x350d77=_0xfa6fe1();while(!![]){try{const _0xe76602=-parseInt(_0x3d1dd8(0x169))/0x1+-parseInt(_0x3d1dd8(0x174))/0x2*(-parseInt(_0x3d1dd8(0x177))/0x3)+-parseInt(_0x3d1dd8(0x172))/0x4*(parseInt(_0x3d1dd8(0x183))/0x5)+-parseInt(_0x3d1dd8(0x182))/0x6*(parseInt(_0x3d1dd8(0x180))/0x7)+-parseInt(_0x3d1dd8(0x185))/0x8*(-parseInt(_0x3d1dd8(0x178))/0x9)+parseInt(_0x3d1dd8(0x186))/0xa+-parseInt(_0x3d1dd8(0x176))/0xb;if(_0xe76602===_0x53f760)break;else _0x350d77['push'](_0x350d77['shift']());}catch(_0x2bd2e1){_0x350d77['push'](_0x350d77['shift']());}}}(a0_0x4351,0x5bc81));function a0_0x1e37(_0x29c5cc,_0x120492){const _0x43513c=a0_0x4351();return a0_0x1e37=function(_0x1e370d,_0x20b570){_0x1e370d=_0x1e370d-0x167;let _0x312090=_0x43513c[_0x1e370d];return _0x312090;},a0_0x1e37(_0x29c5cc,_0x120492);}import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x136d7c=>class extends _0x136d7c{[a0_0x1b87f2(0x17a)](_0x54cf15){const _0x4eb5f0=a0_0x1b87f2;if(_0x54cf15){var {title:_0xf12bd1='',name:_0x519bb6='',desc:_0x4de0ac='',help:_0x2e06d1=''}=_0x54cf15||{};this[_0x4eb5f0(0x17e)]={'title':_0xf12bd1,'name':_0x519bb6,'desc':_0x4de0ac,'help_doc':_0x2e06d1},this['getElementById']('title')[_0x4eb5f0(0x168)]=_0xf12bd1,this['getElementById'](_0x4eb5f0(0x17d))[_0x4eb5f0(0x168)]=_0x519bb6,this[_0x4eb5f0(0x16f)]('desc')['value']=_0x4de0ac,this[_0x4eb5f0(0x16f)](_0x4eb5f0(0x16a))['value']=_0x2e06d1;}else this[_0x4eb5f0(0x167)]();}[a0_0x1b87f2(0x16d)](){const _0x55403c=a0_0x1b87f2;let _0x4e42e6={'menu':{}},_0x317a23=this[_0x55403c(0x16b)](_0x55403c(0x181)),_0x1a7ce8=this[_0x55403c(0x16b)](_0x55403c(0x17d)),_0x287983=this[_0x55403c(0x16b)](_0x55403c(0x17b)),_0x4cdb0b=this[_0x55403c(0x16b)]('help_doc');return _0x317a23&&(_0x4e42e6[_0x55403c(0x170)][_0x55403c(0x181)]=_0x317a23),_0x1a7ce8&&(_0x4e42e6[_0x55403c(0x170)][_0x55403c(0x17d)]=_0x1a7ce8),_0x287983&&(_0x4e42e6[_0x55403c(0x170)][_0x55403c(0x17b)]=_0x287983),_0x4cdb0b&&(_0x4e42e6['menu'][_0x55403c(0x17c)]=_0x4cdb0b),_0x4e42e6;}['setMenuConfigTabDefaultValue'](){const _0x827c96=a0_0x1b87f2;this['viewMenuData']||(this[_0x827c96(0x17e)]={'title':'','name':'name','desc':_0x827c96(0x184),'help_doc':''});}[a0_0x1b87f2(0x173)](_0x715cd7){const _0x1bce89=a0_0x1b87f2;let _0x52f136=this[_0x1bce89(0x16f)]('display');_0x52f136&&(_0x52f136[_0x1bce89(0x168)]=TermsUtil[_0x1bce89(0x179)](_0x715cd7[_0x1bce89(0x16c)][_0x1bce89(0x168)]));}[a0_0x1b87f2(0x16e)](){const _0x4f462f=a0_0x1b87f2;return this[_0x4f462f(0x167)](),html`
2
2
  <div field-2column>
3
3
  <div field>
4
- <label>${TermsUtil[_0x36dcf5(0x1ef)]('menu_title')}
5
- <input id="title" name="title" type="text" value=${this['viewMenuData'][_0x36dcf5(0x20a)]} @change=${_0x50aabd=>this[_0x36dcf5(0x205)](_0x50aabd)}/>
4
+ <label>${TermsUtil[_0x4f462f(0x17f)](_0x4f462f(0x171))}
5
+ <input id="title" name="title" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x181)]} @change=${_0x5346ad=>this['menuTitleChange'](_0x5346ad)}/>
6
6
  </label>
7
7
  </div>
8
8
  <div field>
9
- <label>${TermsUtil['tLabel']('display')}
10
- <input id="display" name="display" value=${TermsUtil[_0x36dcf5(0x1fa)](this[_0x36dcf5(0x1f0)]['title'])} type="text" readonly
9
+ <label>${TermsUtil[_0x4f462f(0x17f)]('display')}
10
+ <input id="display" name="display" value=${TermsUtil['tTitle'](this[_0x4f462f(0x17e)]['title'])} type="text" readonly
11
11
  disabled />
12
12
  </label>
13
13
  </div>
14
14
  <div field>
15
- <label>${TermsUtil[_0x36dcf5(0x1ef)](_0x36dcf5(0x1fd))}
16
- <input id="name" name="name" type="text" value=${this[_0x36dcf5(0x1f0)]['name']} />
15
+ <label>${TermsUtil[_0x4f462f(0x17f)](_0x4f462f(0x175))}
16
+ <input id="name" name="name" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x17d)]} />
17
17
  </label>
18
18
  </div>
19
19
  <div field>
20
- <label>${TermsUtil['tLabel'](_0x36dcf5(0x20c))}
21
- <input id="desc" name="desc" type="text" value=${this['viewMenuData']['desc']} />
20
+ <label>${TermsUtil['tLabel']('menu_desc_field')}
21
+ <input id="desc" name="desc" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x17b)]} />
22
22
  </label>
23
23
  </div>
24
24
  <div field>
25
- <label>${TermsUtil[_0x36dcf5(0x1ef)](_0x36dcf5(0x204))}
26
- <input id="help_doc" name="help_doc" type="text" value=${this[_0x36dcf5(0x1f0)]['help_doc']} />
25
+ <label>${TermsUtil[_0x4f462f(0x17f)](_0x4f462f(0x16a))}
26
+ <input id="help_doc" name="help_doc" type="text" value=${this[_0x4f462f(0x17e)][_0x4f462f(0x16a)]} />
27
27
  </label>
28
28
  </div>
29
29
  </div>
@@ -1,4 +1,4 @@
1
- const a0_0x397fe6=a0_0x5247;(function(_0x55e821,_0x204f50){const _0x11788b=a0_0x5247,_0x2ce496=_0x55e821();while(!![]){try{const _0x1c87f0=parseInt(_0x11788b(0xa1))/0x1+-parseInt(_0x11788b(0xbf))/0x2*(-parseInt(_0x11788b(0x95))/0x3)+parseInt(_0x11788b(0xd1))/0x4*(-parseInt(_0x11788b(0x9a))/0x5)+-parseInt(_0x11788b(0xef))/0x6*(parseInt(_0x11788b(0xa8))/0x7)+parseInt(_0x11788b(0x90))/0x8*(-parseInt(_0x11788b(0xba))/0x9)+-parseInt(_0x11788b(0x96))/0xa+parseInt(_0x11788b(0xb4))/0xb;if(_0x1c87f0===_0x204f50)break;else _0x2ce496['push'](_0x2ce496['shift']());}catch(_0x59bb03){_0x2ce496['push'](_0x2ce496['shift']());}}}(a0_0x2e9e,0x8209a));import a0_0x121885 from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';function a0_0x5247(_0x2c3c7d,_0x274456){const _0x2e9ed1=a0_0x2e9e();return a0_0x5247=function(_0x524788,_0x1565fb){_0x524788=_0x524788-0x8d;let _0x3a06fd=_0x2e9ed1[_0x524788];return _0x3a06fd;},a0_0x5247(_0x2c3c7d,_0x274456);}import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x2e9e(){const _0x54744b=['1256488EPXNoT','notify','getElementById','filters','type','225531UHcOWR','1694170XQPaoU','save','ConfigTab','graphql_config','1219730Fgdbnl','filter','convertFirstCharUpperCase','remove','toUpperCase','tTitle','style','30067IVZVbD','search_config','render','thumbnail_field','rep_field','etc_config','tabData','1057WDZyZw','template','lifecycle','grid_config','tButton','list','sort','dataStorage',':checked','set','detail_field','toLowerCase','11408892vuiQKZ','icon','ConfigTabConfig','operatoTools','tMenu','select','9zUSYMV','stringify','sortRecordByField','menu','define','18OJtmNO','includes','fields','forEach','active','clear','menuId','dirtyData','ox-grist','deleteRow','grid-','meta_generator','params','meta-generator-page','gridEmphasized','tagName','display:flex','keys','8acisoO','styles','sort_rank','querySelector','name','sorters','etc','length','pageInitialized','currentTabKey','options','parse','map','properties','selectedIndex','slice','\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','get','button_config','details','grid_emphasized_config','value','menu_config','backToMenu','getConfigTab','enc','setTabData','query','ox-input-code','refresh','15768jvzzMl','findOne','menuName','push','tLabel','initData','display:none','records','graphql','bind','shadowRoot','column','back','getState','metaTemplate','updateMultiple','data','ConfigTabValues','context','grid','dec','sortRecordByRank','sort_desc','error.invalid\x20license\x20key','button','charAt'];a0_0x2e9e=function(){return _0x54744b;};return a0_0x2e9e();}import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x397fe6(0xd2)](){return[css`
1
+ const a0_0x469697=a0_0x923f;(function(_0x2dca96,_0x2b882e){const _0x448d99=a0_0x923f,_0x48db3d=_0x2dca96();while(!![]){try{const _0x5e4573=parseInt(_0x448d99(0x239))/0x1+-parseInt(_0x448d99(0x1e5))/0x2*(-parseInt(_0x448d99(0x1ce))/0x3)+parseInt(_0x448d99(0x1f3))/0x4*(parseInt(_0x448d99(0x21c))/0x5)+parseInt(_0x448d99(0x1ee))/0x6+-parseInt(_0x448d99(0x1f5))/0x7*(parseInt(_0x448d99(0x221))/0x8)+parseInt(_0x448d99(0x230))/0x9+-parseInt(_0x448d99(0x1d9))/0xa*(parseInt(_0x448d99(0x238))/0xb);if(_0x5e4573===_0x2b882e)break;else _0x48db3d['push'](_0x48db3d['shift']());}catch(_0x46d635){_0x48db3d['push'](_0x48db3d['shift']());}}}(a0_0xf87e,0xac9c2));import a0_0x2bea1a from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';function a0_0x923f(_0x515cd9,_0x30c608){const _0xf87e14=a0_0xf87e();return a0_0x923f=function(_0x923fc8,_0x5cd48f){_0x923fc8=_0x923fc8-0x1c9;let _0x5ab899=_0xf87e14[_0x923fc8];return _0x5ab899;},a0_0x923f(_0x515cd9,_0x30c608);}import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';function a0_0xf87e(){const _0x388d00=['findOne','querySelector','radio','error.invalid\x20license\x20key','options','dirtyData','map','5169105nFWnkT','save','pageInitialized','value','records','name','getElementById','push','17201426FdFrMo','1119729caRxTU','styles','filter','type','getElementValueById','properties','15387MyzcPy','menuId','remove','selectedIndex','rep_field','details','filters','list','refresh','lifecycle','sort_desc','10jDTVeL','dec','icon','shadowRoot','dataStorage','charAt','parse','sorters','tLabel','backToMenu','set','menuName','238DUwfab',':checked','style','back','form','tagName','rank','sort_rank','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20','1187616GXZIRt','option','metaTemplate','ConfigTabConfig','updateMultipleMenu','8vTIOZJ','setTabData','168637EChIMR','search_config','enc','detail_field','params','graphql','ConfigTabValues','getConfigTab','hidden','toLowerCase','grid-','gridEmphasized','forEach','toUpperCase','currentTabKey','ox-input-code','thumbnail','clear','pageUpdated','tTitle','errors','tab_config','sortRecordByField','button','menu_config','ConfigTab','studioPermission','length','initData','getState','tabData','menu','tab','convertFirstCharUpperCase','meta_generator','display:flex','keys','grid_config','render','83540FglxnZ','desc','bind','operatoTools','context','88CmsUbM','template','query','select','form_config','tButton','grid_emphasized_config','includes'];a0_0xf87e=function(){return _0x388d00;};return a0_0xf87e();}import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{GridEmphasizedConfigTabMixin}from'./grid-emphasized-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(GridEmphasizedConfigTabMixin(localize(i18next)(PageView))))))))))){static get[a0_0x469697(0x1c9)](){return[css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -141,24 +141,24 @@ const a0_0x397fe6=a0_0x5247;(function(_0x55e821,_0x204f50){const _0x11788b=a0_0x
141
141
  flex: 1;
142
142
  }
143
143
 
144
- `];}static get[a0_0x397fe6(0xde)](){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_0x397fe6(0x101)](){const _0x1bf2da=a0_0x397fe6;return{'title':TermsUtil[_0x1bf2da(0x9f)](_0x1bf2da(0xca)),'actions':[{'title':TermsUtil[_0x1bf2da(0xac)](_0x1bf2da(0x97)),'action':this[_0x1bf2da(0x97)][_0x1bf2da(0xf8)](this),...CommonButtonStyles[_0x1bf2da(0x97)]},{'title':TermsUtil[_0x1bf2da(0xac)](_0x1bf2da(0xfb)),'action':this[_0x1bf2da(0xe8)][_0x1bf2da(0xf8)](this),...CommonButtonStyles[_0x1bf2da(0xfb)]},{'title':TermsUtil[_0x1bf2da(0xac)]('refresh'),'action':this[_0x1bf2da(0xee)][_0x1bf2da(0xf8)](this),...CommonButtonStyles[_0x1bf2da(0xee)]}]};}[a0_0x397fe6(0xc8)](_0x3dc280,_0x40a17b){const _0x2fa9d3=a0_0x397fe6;let _0x18634d=_0x3dc280[_0x2fa9d3(0xc6)];_0x18634d[_0x2fa9d3(0xf6)]=_0x18634d[_0x2fa9d3(0xf6)][_0x2fa9d3(0x9b)](_0x39fb55=>_0x39fb55['id']!=_0x40a17b['id']),_0x3dc280[_0x2fa9d3(0xff)]=_0x18634d;}async[a0_0x397fe6(0x97)](){const _0x34c0a5=a0_0x397fe6;if(0x0==store[_0x34c0a5(0xfc)]()[_0x34c0a5(0xb7)]['studioPermission'])return void document['dispatchEvent'](new CustomEvent(_0x34c0a5(0x91),{'detail':{'level':'error','message':i18next['t'](_0x34c0a5(0x8d))}}));if((await client[_0x34c0a5(0xec)]({'query':a0_0x121885`
144
+ `];}static get[a0_0x469697(0x1cd)](){return{'menuId':String,'menuName':String,'metaTemplate':Object,'currentTabKey':String,'tabData':Object,'dataStorage':Object,'viewMenuData':Object,'afterSetFieldsConfig':Object,'skipFieldsConfig':Object,'viewGraphqlData':Object,'gridPageOptions':Array,'gridViewModes':Array,'viewGridData':Object,'columnTabGridConfig':Object,'viewColumnData':Array,'buttonTabGridConfig':Object,'viewButtonData':Array,'searchTabGridConfig':Object,'viewSearchData':Array};}get[a0_0x469697(0x220)](){const _0x1fe5d8=a0_0x469697;return{'title':TermsUtil[_0x1fe5d8(0x208)](_0x1fe5d8(0x217)),'actions':[{'title':TermsUtil['tButton'](_0x1fe5d8(0x231)),'action':this['save']['bind'](this),...CommonButtonStyles[_0x1fe5d8(0x231)]},{'title':TermsUtil[_0x1fe5d8(0x226)](_0x1fe5d8(0x1e8)),'action':this[_0x1fe5d8(0x1e2)][_0x1fe5d8(0x21e)](this),...CommonButtonStyles[_0x1fe5d8(0x1e8)]},{'title':TermsUtil[_0x1fe5d8(0x226)](_0x1fe5d8(0x1d6)),'action':this[_0x1fe5d8(0x1d6)][_0x1fe5d8(0x21e)](this),...CommonButtonStyles[_0x1fe5d8(0x1d6)]}]};}['deleteRow'](_0x400ada,_0x4396e6){const _0x19306d=a0_0x469697;let _0x3e60ce=_0x400ada[_0x19306d(0x22e)];_0x3e60ce[_0x19306d(0x234)]=_0x3e60ce[_0x19306d(0x234)][_0x19306d(0x1ca)](_0x254f48=>_0x254f48['id']!=_0x4396e6['id']),_0x400ada['data']=_0x3e60ce;}async[a0_0x469697(0x231)](){const _0x256026=a0_0x469697;if(0x0==store[_0x256026(0x212)]()[_0x256026(0x21f)][_0x256026(0x20f)])return void document['dispatchEvent'](new CustomEvent('notify',{'detail':{'level':'error','message':i18next['t'](_0x256026(0x22c))}}));if((await client['query']({'query':a0_0x2bea1a`
145
145
  query ($id: String!) {
146
146
  studioTemplateIsOverLimit(id: $id)
147
147
  }
148
- `,'variables':{'id':this[_0x34c0a5(0xc5)]}}))['errors'])return;let _0x5a4123={},_0x4c9717={};Object[_0x34c0a5(0xd0)](this['tabData'])[_0x34c0a5(0xc2)](_0x5752de=>{const _0x3b8733=_0x34c0a5;let _0x16f136=this['convertFirstCharUpperCase'](_0x5752de);_0x5a4123[_0x5752de]=this[_0x3b8733(0xe2)+_0x16f136+_0x3b8733(0x100)](),_0x4c9717=merge(_0x4c9717,_0x5a4123[_0x5752de]);}),_0x4c9717=JSON[_0x34c0a5(0xbb)](_0x4c9717),_0x4c9717=MetaCrypto[_0x34c0a5(0xea)](_0x4c9717),await MetaApi[_0x34c0a5(0xfe)]('updateMultipleMenu',[{'id':this[_0x34c0a5(0xc5)],'template':_0x4c9717,'cuFlag':'M'}])&&await this[_0x34c0a5(0xf4)]();}[a0_0x397fe6(0xc4)](){const _0x2082e3=a0_0x397fe6;this['setTabData'](),this[_0x2082e3(0xaf)]={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x2082e3(0xd0)](this[_0x2082e3(0xa7)])[_0x2082e3(0xc2)](_0x280761=>{const _0x1c42ae=_0x2082e3;let _0x3c267a=this[_0x1c42ae(0x9c)](_0x280761);if(this[_0x1c42ae(0xb1)+_0x3c267a+'ConfigTabValues'])return this[_0x1c42ae(0xb1)+_0x3c267a+_0x1c42ae(0x100)](this['dataStorage'][_0x280761]);});}async['refresh'](){const _0x305cff=a0_0x397fe6;this[_0x305cff(0xc4)](),await this['initData']();}[a0_0x397fe6(0xe8)](){const _0x23785d=a0_0x397fe6;history[_0x23785d(0xfb)]();}async['initData'](){const _0x5eef41=a0_0x397fe6;var {menuId:_0x124828=''}=this[_0x5eef41(0xaa)]?.['params']?this[_0x5eef41(0xaa)][_0x5eef41(0xcb)]:{};if(this[_0x5eef41(0xc5)]=_0x124828,!_0x124828||''==_0x124828)return void this[_0x5eef41(0xc4)]();let _0x7cf888=await MetaApi[_0x5eef41(0xf0)]('menu',_0x124828,_0x5eef41(0xe1));if(_0x7cf888){try{JSON[_0x5eef41(0xdc)](MetaCrypto[_0x5eef41(0x103)](_0x7cf888[_0x5eef41(0xa9)]));}catch(_0x209a6f){return;}this[_0x5eef41(0xf1)]=TermsUtil[_0x5eef41(0xb8)](_0x7cf888[_0x5eef41(0xd5)]),this[_0x5eef41(0xfd)]=_0x7cf888[_0x5eef41(0xa9)]?JSON[_0x5eef41(0xdc)](MetaCrypto[_0x5eef41(0x103)](_0x7cf888[_0x5eef41(0xa9)])):{};var {menu:_0x3fb93c={},gql:_0x32a34b={},button:_0xd1dc2a=[],grid_column:_0x11cb40=[],grid:_0x1ac7c3={},search:_0x25640b=[],form:_0x198689=[],tab:_0xc861e3=[],etc:_0x28f8d1={},gridEmphasized:_0x5d6c54=[]}=this['metaTemplate']?this[_0x5eef41(0xfd)]:{};this[_0x5eef41(0xeb)](),this['dataStorage']={},this['dataStorage'][_0x5eef41(0xbd)]=_0x3fb93c,this['dataStorage'][_0x5eef41(0xf7)]=_0x32a34b,this[_0x5eef41(0xaf)][_0x5eef41(0x102)]=_0x1ac7c3,this[_0x5eef41(0xaf)]['form']=_0x198689,this[_0x5eef41(0xaf)]['tab']=_0xc861e3,this[_0x5eef41(0xaf)][_0x5eef41(0xd7)]=_0x28f8d1,this[_0x5eef41(0xaf)][_0x5eef41(0xcd)]=_0x5d6c54,(_0x1ac7c3['option']?.[_0x5eef41(0xd6)]||[])[_0x5eef41(0xc2)]((_0x39edd5,_0x3574e2)=>{_0x39edd5['rank']=0xa*(_0x3574e2+0x1);}),this['dataStorage'][_0x5eef41(0xfa)]=_0x11cb40['map'](_0x27561d=>{const _0x2fe1b4=_0x5eef41;let _0x323b83=(_0x1ac7c3['option']?.['sorters']||[])['filter'](_0x12b0cf=>_0x12b0cf['name']==_0x27561d[_0x2fe1b4(0xd5)]);return _0x323b83&&_0x323b83[_0x2fe1b4(0xd8)]>0x0?(_0x27561d[_0x2fe1b4(0xd3)]=_0x323b83[0x0]['rank'],_0x27561d[_0x2fe1b4(0x105)]=!!_0x323b83[0x0]['desc']&&_0x323b83[0x0]['desc']):_0x27561d[_0x2fe1b4(0xd3)]=0x0,_0x27561d[_0x2fe1b4(0xa5)]=(_0x1ac7c3[_0x2fe1b4(0xad)]?.[_0x2fe1b4(0xc1)]||[])[_0x2fe1b4(0xc0)](_0x27561d['name']),_0x27561d[_0x2fe1b4(0xb2)]=(_0x1ac7c3[_0x2fe1b4(0xad)]?.[_0x2fe1b4(0xe4)]||[])[_0x2fe1b4(0xc0)](_0x27561d[_0x2fe1b4(0xd5)]),_0x27561d[_0x2fe1b4(0xa4)]=_0x1ac7c3[_0x2fe1b4(0xad)]?.['thumbnail']==_0x27561d['name'],_0x27561d;}),_0x25640b[_0x5eef41(0xf2)](...(_0x32a34b[_0x5eef41(0xec)]?.[_0x5eef41(0x93)]||[])['map'](_0x50b7e7=>(_0x50b7e7['hidden']=!0x0,_0x50b7e7))),this[_0x5eef41(0xaf)]['search']=_0x25640b,_0xd1dc2a[_0x5eef41(0xf2)](...(_0x1ac7c3[_0x5eef41(0x8e)]||[])[_0x5eef41(0xdd)](_0x15a687=>(_0x15a687[_0x5eef41(0x94)]=_0x5eef41(0xc9)+_0x15a687[_0x5eef41(0x94)],_0x15a687[_0x5eef41(0xa0)]=_0x15a687[_0x5eef41(0xb5)],_0x15a687))),this[_0x5eef41(0xaf)][_0x5eef41(0x8e)]=_0xd1dc2a,Object['keys'](this['tabData'])[_0x5eef41(0xc2)](_0x44e949=>{const _0x2ae8eb=_0x5eef41;let _0x3134d7=this['convertFirstCharUpperCase'](_0x44e949);if(this[_0x2ae8eb(0xb1)+_0x3134d7+_0x2ae8eb(0x100)])return this[_0x2ae8eb(0xb1)+_0x3134d7+_0x2ae8eb(0x100)](this[_0x2ae8eb(0xaf)][_0x44e949]);});}}async[a0_0x397fe6(0xd9)](){const _0xae04e5=a0_0x397fe6;this[_0xae04e5(0xeb)]();let _0x3fbc2f=Object['keys'](this[_0xae04e5(0xa7)]);for(var _0x275685=0x0;_0x275685<_0x3fbc2f['length'];_0x275685++){let _0x170068=this[_0xae04e5(0x9c)](_0x3fbc2f[_0x275685]);this['set'+_0x170068+_0xae04e5(0xb6)]&&await this[_0xae04e5(0xb1)+_0x170068+_0xae04e5(0xb6)]();}}async['pageUpdated'](_0x3fe3c6,_0x1e7a5a,_0xb76350){const _0x2d031f=a0_0x397fe6;!0x0===this[_0x2d031f(0xc3)]?(this[_0x2d031f(0xeb)](),await this[_0x2d031f(0xf4)](),this[_0x2d031f(0xeb)]()):(this['clear'](),this[_0x2d031f(0x9d)]());}[a0_0x397fe6(0xeb)](){const _0x498404=a0_0x397fe6;this[_0x498404(0xa7)]||(this[_0x498404(0xa7)]={'menu':TermsUtil[_0x498404(0xf3)](_0x498404(0xe7)),'graphql':TermsUtil[_0x498404(0xf3)](_0x498404(0x99)),'grid':TermsUtil[_0x498404(0xf3)](_0x498404(0xab)),'column':TermsUtil[_0x498404(0xf3)]('column_config'),'gridEmphasized':TermsUtil['tLabel'](_0x498404(0xe5)),'button':TermsUtil[_0x498404(0xf3)](_0x498404(0xe3)),'search':TermsUtil[_0x498404(0xf3)](_0x498404(0xa2)),'form':TermsUtil[_0x498404(0xf3)]('form_config'),'tab':TermsUtil[_0x498404(0xf3)]('tab_config'),'etc':TermsUtil[_0x498404(0xf3)](_0x498404(0xa6))});}[a0_0x397fe6(0xa3)](){const _0x4bbae4=a0_0x397fe6;this[_0x4bbae4(0xda)]||(this['currentTabKey']=_0x4bbae4(0xbd)),this['setTabData']();let _0x1e7dd9=Object[_0x4bbae4(0xd0)](this[_0x4bbae4(0xa7)]);return this[_0x4bbae4(0xa7)][this[_0x4bbae4(0xda)]]?this[_0x4bbae4(0xda)]:_0x1e7dd9[0x0],html`
149
- <h1>${this['menuName']}</h1>
148
+ `,'variables':{'id':this[_0x256026(0x1cf)]}}))[_0x256026(0x209)])return;let _0x3f817b={},_0x28b332={};Object[_0x256026(0x219)](this['tabData'])['forEach'](_0x83778c=>{const _0xb8adff=_0x256026;let _0x5bf80d=this[_0xb8adff(0x216)](_0x83778c);_0x3f817b[_0x83778c]=this['get'+_0x5bf80d+_0xb8adff(0x1fb)](),_0x28b332=merge(_0x28b332,_0x3f817b[_0x83778c]);}),_0x28b332=JSON['stringify'](_0x28b332),_0x28b332=MetaCrypto[_0x256026(0x1f7)](_0x28b332),await MetaApi['updateMultiple'](_0x256026(0x1f2),[{'id':this[_0x256026(0x1cf)],'template':_0x28b332,'cuFlag':'M'}])&&await this[_0x256026(0x211)]();}[a0_0x469697(0x206)](){const _0x4774ea=a0_0x469697;this[_0x4774ea(0x1f4)](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{},'gridEmphasized':{}},Object[_0x4774ea(0x219)](this[_0x4774ea(0x213)])[_0x4774ea(0x201)](_0x5c2adf=>{const _0x4805ae=_0x4774ea;let _0x452ca3=this[_0x4805ae(0x216)](_0x5c2adf);if(this[_0x4805ae(0x1e3)+_0x452ca3+'ConfigTabValues'])return this[_0x4805ae(0x1e3)+_0x452ca3+_0x4805ae(0x1fb)](this['dataStorage'][_0x5c2adf]);});}async[a0_0x469697(0x1d6)](){this['clear'](),await this['initData']();}[a0_0x469697(0x1e2)](){const _0x406c4a=a0_0x469697;history[_0x406c4a(0x1e8)]();}async['initData'](){const _0x475c1d=a0_0x469697;var {menuId:_0x78fe2=''}=this['lifecycle']?.[_0x475c1d(0x1f9)]?this[_0x475c1d(0x1d7)][_0x475c1d(0x1f9)]:{};if(this['menuId']=_0x78fe2,!_0x78fe2||''==_0x78fe2)return void this[_0x475c1d(0x206)]();let _0x152e3a=await MetaApi[_0x475c1d(0x229)](_0x475c1d(0x214),_0x78fe2,_0x475c1d(0x1ed));if(_0x152e3a){try{JSON[_0x475c1d(0x1df)](MetaCrypto[_0x475c1d(0x1da)](_0x152e3a[_0x475c1d(0x222)]));}catch(_0x158254){return;}this[_0x475c1d(0x1e4)]=TermsUtil['tMenu'](_0x152e3a['name']),this[_0x475c1d(0x1f0)]=_0x152e3a[_0x475c1d(0x222)]?JSON[_0x475c1d(0x1df)](MetaCrypto[_0x475c1d(0x1da)](_0x152e3a[_0x475c1d(0x222)])):{};var {menu:_0x52a9b7={},gql:_0x639e7b={},button:_0x51a9fa=[],grid_column:_0x4f90ae=[],grid:_0x49ecf1={},search:_0x4ae1ab=[],form:_0x2da0b4=[],tab:_0x778582=[],etc:_0x4593b8={},gridEmphasized:_0x3b7f65=[]}=this[_0x475c1d(0x1f0)]?this['metaTemplate']:{};this[_0x475c1d(0x1f4)](),this[_0x475c1d(0x1dd)]={},this[_0x475c1d(0x1dd)][_0x475c1d(0x214)]=_0x52a9b7,this[_0x475c1d(0x1dd)][_0x475c1d(0x1fa)]=_0x639e7b,this[_0x475c1d(0x1dd)]['grid']=_0x49ecf1,this[_0x475c1d(0x1dd)][_0x475c1d(0x1e9)]=_0x2da0b4,this[_0x475c1d(0x1dd)][_0x475c1d(0x215)]=_0x778582,this['dataStorage']['etc']=_0x4593b8,this['dataStorage'][_0x475c1d(0x200)]=_0x3b7f65,(_0x49ecf1['option']?.[_0x475c1d(0x1e0)]||[])[_0x475c1d(0x201)]((_0x1b854c,_0x1cecad)=>{const _0x39d12e=_0x475c1d;_0x1b854c[_0x39d12e(0x1eb)]=0xa*(_0x1cecad+0x1);}),this[_0x475c1d(0x1dd)]['column']=_0x4f90ae['map'](_0x26db1d=>{const _0xad5f32=_0x475c1d;let _0x5ad4df=(_0x49ecf1[_0xad5f32(0x1ef)]?.[_0xad5f32(0x1e0)]||[])[_0xad5f32(0x1ca)](_0x19082c=>_0x19082c[_0xad5f32(0x235)]==_0x26db1d[_0xad5f32(0x235)]);return _0x5ad4df&&_0x5ad4df[_0xad5f32(0x210)]>0x0?(_0x26db1d[_0xad5f32(0x1ec)]=_0x5ad4df[0x0][_0xad5f32(0x1eb)],_0x26db1d[_0xad5f32(0x1d8)]=!!_0x5ad4df[0x0][_0xad5f32(0x21d)]&&_0x5ad4df[0x0][_0xad5f32(0x21d)]):_0x26db1d[_0xad5f32(0x1ec)]=0x0,_0x26db1d[_0xad5f32(0x1d2)]=(_0x49ecf1[_0xad5f32(0x1d5)]?.['fields']||[])[_0xad5f32(0x228)](_0x26db1d[_0xad5f32(0x235)]),_0x26db1d[_0xad5f32(0x1f8)]=(_0x49ecf1['list']?.[_0xad5f32(0x1d3)]||[])[_0xad5f32(0x228)](_0x26db1d[_0xad5f32(0x235)]),_0x26db1d['thumbnail_field']=_0x49ecf1['list']?.[_0xad5f32(0x205)]==_0x26db1d[_0xad5f32(0x235)],_0x26db1d;}),_0x4ae1ab[_0x475c1d(0x237)](...(_0x639e7b[_0x475c1d(0x223)]?.[_0x475c1d(0x1d4)]||[])[_0x475c1d(0x22f)](_0x24356c=>(_0x24356c[_0x475c1d(0x1fd)]=!0x0,_0x24356c))),this[_0x475c1d(0x1dd)]['search']=_0x4ae1ab,_0x51a9fa[_0x475c1d(0x237)](...(_0x49ecf1[_0x475c1d(0x20c)]||[])['map'](_0x28d240=>(_0x28d240[_0x475c1d(0x1cb)]=_0x475c1d(0x1ff)+_0x28d240[_0x475c1d(0x1cb)],_0x28d240[_0x475c1d(0x1e7)]=_0x28d240[_0x475c1d(0x1db)],_0x28d240))),this[_0x475c1d(0x1dd)]['button']=_0x51a9fa,Object[_0x475c1d(0x219)](this[_0x475c1d(0x213)])['forEach'](_0x5ed918=>{const _0x2f5638=_0x475c1d;let _0x126ab8=this[_0x2f5638(0x216)](_0x5ed918);if(this[_0x2f5638(0x1e3)+_0x126ab8+_0x2f5638(0x1fb)])return this[_0x2f5638(0x1e3)+_0x126ab8+_0x2f5638(0x1fb)](this[_0x2f5638(0x1dd)][_0x5ed918]);});}}async[a0_0x469697(0x232)](){const _0x32fd24=a0_0x469697;this[_0x32fd24(0x1f4)]();let _0x253d1a=Object['keys'](this[_0x32fd24(0x213)]);for(var _0x1dcbf8=0x0;_0x1dcbf8<_0x253d1a[_0x32fd24(0x210)];_0x1dcbf8++){let _0x2d777b=this[_0x32fd24(0x216)](_0x253d1a[_0x1dcbf8]);this['set'+_0x2d777b+_0x32fd24(0x1f1)]&&await this['set'+_0x2d777b+_0x32fd24(0x1f1)]();}}async[a0_0x469697(0x207)](_0x4da0f8,_0x2dc893,_0x512c51){const _0x2c2317=a0_0x469697;!0x0===this['active']?(this[_0x2c2317(0x1f4)](),await this[_0x2c2317(0x211)](),this[_0x2c2317(0x1f4)]()):(this['clear'](),this[_0x2c2317(0x1d0)]());}['setTabData'](){const _0x4deefd=a0_0x469697;this['tabData']||(this['tabData']={'menu':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x20d)),'graphql':TermsUtil[_0x4deefd(0x1e1)]('graphql_config'),'grid':TermsUtil['tLabel'](_0x4deefd(0x21a)),'column':TermsUtil[_0x4deefd(0x1e1)]('column_config'),'gridEmphasized':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x227)),'button':TermsUtil[_0x4deefd(0x1e1)]('button_config'),'search':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x1f6)),'form':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x225)),'tab':TermsUtil[_0x4deefd(0x1e1)](_0x4deefd(0x20a)),'etc':TermsUtil[_0x4deefd(0x1e1)]('etc_config')});}[a0_0x469697(0x21b)](){const _0x417bf3=a0_0x469697;this[_0x417bf3(0x203)]||(this['currentTabKey']=_0x417bf3(0x214)),this[_0x417bf3(0x1f4)]();let _0x236db9=Object[_0x417bf3(0x219)](this[_0x417bf3(0x213)]);return this[_0x417bf3(0x213)][this['currentTabKey']]?this['currentTabKey']:_0x236db9[0x0],html`
149
+ <h1>${this[_0x417bf3(0x1e4)]}</h1>
150
150
  <div class="tabs">
151
- ${_0x1e7dd9[_0x4bbae4(0xdd)](_0x1a8160=>{const _0x383df1=_0x4bbae4;let _0x349844=this[_0x383df1(0xa7)][_0x1a8160];return html`
152
- <div class="tab" ?activate="${_0x1a8160===this[_0x383df1(0xda)]}" @click="${()=>this[_0x383df1(0xda)]=_0x1a8160}">
153
- <span>${_0x349844}</span>
151
+ ${_0x236db9[_0x417bf3(0x22f)](_0x413b48=>{const _0x1512eb=_0x417bf3;let _0x1e8f6e=this[_0x1512eb(0x213)][_0x413b48];return html`
152
+ <div class="tab" ?activate="${_0x413b48===this['currentTabKey']}" @click="${()=>this[_0x1512eb(0x203)]=_0x413b48}">
153
+ <span>${_0x1e8f6e}</span>
154
154
  </div>
155
155
  `;})}
156
156
  </div>
157
157
  <div class="content-container">
158
- ${_0x1e7dd9[_0x4bbae4(0xdd)](_0x5110ba=>{const _0x164ab7=_0x4bbae4;let _0xe5f709=_0x164ab7(0xf5);return _0x5110ba==this[_0x164ab7(0xda)]&&(_0xe5f709=_0x164ab7(0xcf)),html`
159
- <div class='tab-contents' style="${_0xe5f709}">
160
- ${this[_0x164ab7(0xe9)](_0x5110ba)}
158
+ ${_0x236db9[_0x417bf3(0x22f)](_0x507f2a=>{const _0x1129c8=_0x417bf3;let _0x3dd5eb='display:none';return _0x507f2a==this[_0x1129c8(0x203)]&&(_0x3dd5eb=_0x1129c8(0x218)),html`
159
+ <div class='tab-contents' style="${_0x3dd5eb}">
160
+ ${this[_0x1129c8(0x1fc)](_0x507f2a)}
161
161
  </div>
162
162
  `;})}
163
163
  </div>
164
- `;}[a0_0x397fe6(0xe9)](_0x1938d9){const _0x276012=a0_0x397fe6;let _0xcfdd62=this[_0x276012(0x9c)](_0x1938d9);return this[_0x276012(0xa3)+_0xcfdd62+_0x276012(0x98)]?this[_0x276012(0xa3)+_0xcfdd62+_0x276012(0x98)]():html``;}[a0_0x397fe6(0x9c)](_0x3863ea){const _0x330b34=a0_0x397fe6;return _0x3863ea[_0x330b34(0x8f)](0x0)[_0x330b34(0x9e)]()+_0x3863ea[_0x330b34(0xe0)](0x1);}[a0_0x397fe6(0x92)](_0x405b46){const _0x3d85e5=a0_0x397fe6;return this['shadowRoot'][_0x3d85e5(0xd4)]('#'+_0x405b46);}['getElementValueById'](_0x3e9c6e){const _0x2d29a8=a0_0x397fe6;let _0x2a34da=this[_0x2d29a8(0xf9)][_0x2d29a8(0xd4)]('#'+_0x3e9c6e);if(!_0x2a34da)return;let _0xcc5f17='';if(_0x2d29a8(0xb9)==_0x2a34da[_0x2d29a8(0xce)][_0x2d29a8(0xb3)]()){if(!_0x2a34da[_0x2d29a8(0xdb)]||0x0==_0x2a34da[_0x2d29a8(0xdb)][_0x2d29a8(0xd8)])return;_0xcc5f17=_0x2a34da['options'][_0x2a34da[_0x2d29a8(0xdf)]][_0x2d29a8(0xe6)];}else{if(_0x2d29a8(0xc7)==_0x2a34da['tagName'][_0x2d29a8(0xb3)]()){if(!_0x2a34da[_0x2d29a8(0xc6)])return;if(!_0x2a34da[_0x2d29a8(0xc6)][_0x2d29a8(0xf6)])return;if(0x0==_0x2a34da[_0x2d29a8(0xc6)][_0x2d29a8(0xf6)]['length'])return;return _0x2a34da['dirtyData'][_0x2d29a8(0xf6)];}if(_0x2d29a8(0xed)==_0x2a34da[_0x2d29a8(0xce)]['toLowerCase']())return _0x2a34da[_0x2d29a8(0xe6)];if('radio'==_0x2a34da[_0x2d29a8(0x94)][_0x2d29a8(0xb3)]()){let _0x33918b=this[_0x2d29a8(0xf9)][_0x2d29a8(0xd4)]('#'+_0x3e9c6e+_0x2d29a8(0xb0));if(!_0x33918b)return;return _0x33918b['value'];}_0xcc5f17=_0x2a34da['value'];}return _0xcc5f17&&''!=_0xcc5f17?_0xcc5f17:void 0x0;}[a0_0x397fe6(0x104)](_0x586d40){const _0x110f8e=a0_0x397fe6;return _0x586d40?this[_0x110f8e(0xbc)](_0x586d40,'rank'):_0x586d40;}[a0_0x397fe6(0xbc)](_0x2c2364,_0x583fe2){const _0x4ecad4=a0_0x397fe6;return _0x2c2364[_0x4ecad4(0xae)]((_0x21cc9d,_0x4ee4ef)=>_0x21cc9d[_0x583fe2]-_0x4ee4ef[_0x583fe2]),_0x2c2364;}}customElements[a0_0x397fe6(0xbe)](a0_0x397fe6(0xcc),MetaGeneratorPage);
164
+ `;}[a0_0x469697(0x1fc)](_0x49a21c){const _0x6f6532=a0_0x469697;let _0x5e0057=this[_0x6f6532(0x216)](_0x49a21c);return this['render'+_0x5e0057+_0x6f6532(0x20e)]?this[_0x6f6532(0x21b)+_0x5e0057+_0x6f6532(0x20e)]():html``;}[a0_0x469697(0x216)](_0x26e5ee){const _0x4039af=a0_0x469697;return _0x26e5ee[_0x4039af(0x1de)](0x0)[_0x4039af(0x202)]()+_0x26e5ee['slice'](0x1);}[a0_0x469697(0x236)](_0x35944e){const _0x2b71fc=a0_0x469697;return this[_0x2b71fc(0x1dc)][_0x2b71fc(0x22a)]('#'+_0x35944e);}[a0_0x469697(0x1cc)](_0xee5941){const _0x32e4b9=a0_0x469697;let _0x33c5e8=this[_0x32e4b9(0x1dc)][_0x32e4b9(0x22a)]('#'+_0xee5941);if(!_0x33c5e8)return;let _0x4b37fd='';if(_0x32e4b9(0x224)==_0x33c5e8['tagName'][_0x32e4b9(0x1fe)]()){if(!_0x33c5e8[_0x32e4b9(0x22d)]||0x0==_0x33c5e8['options'][_0x32e4b9(0x210)])return;_0x4b37fd=_0x33c5e8['options'][_0x33c5e8[_0x32e4b9(0x1d1)]][_0x32e4b9(0x233)];}else{if('ox-grist'==_0x33c5e8[_0x32e4b9(0x1ea)][_0x32e4b9(0x1fe)]()){if(!_0x33c5e8[_0x32e4b9(0x22e)])return;if(!_0x33c5e8[_0x32e4b9(0x22e)]['records'])return;if(0x0==_0x33c5e8[_0x32e4b9(0x22e)]['records'][_0x32e4b9(0x210)])return;return _0x33c5e8[_0x32e4b9(0x22e)][_0x32e4b9(0x234)];}if(_0x32e4b9(0x204)==_0x33c5e8['tagName']['toLowerCase']())return _0x33c5e8[_0x32e4b9(0x233)];if(_0x32e4b9(0x22b)==_0x33c5e8[_0x32e4b9(0x1cb)]['toLowerCase']()){let _0xd7abab=this['shadowRoot']['querySelector']('#'+_0xee5941+_0x32e4b9(0x1e6));if(!_0xd7abab)return;return _0xd7abab[_0x32e4b9(0x233)];}_0x4b37fd=_0x33c5e8['value'];}return _0x4b37fd&&''!=_0x4b37fd?_0x4b37fd:void 0x0;}['sortRecordByRank'](_0x202e1d){const _0x1f7089=a0_0x469697;return _0x202e1d?this[_0x1f7089(0x20b)](_0x202e1d,'rank'):_0x202e1d;}[a0_0x469697(0x20b)](_0x582518,_0x536759){return _0x582518['sort']((_0x2aab16,_0x90366d)=>_0x2aab16[_0x536759]-_0x90366d[_0x536759]),_0x582518;}}customElements['define']('meta-generator-page',MetaGeneratorPage);
@@ -1,4 +1,4 @@
1
- const a0_0x2291b0=a0_0x293f;(function(_0x47baca,_0x3210d8){const _0x2cb7c4=a0_0x293f,_0x13f4c3=_0x47baca();while(!![]){try{const _0x392810=parseInt(_0x2cb7c4(0x123))/0x1*(parseInt(_0x2cb7c4(0xfe))/0x2)+parseInt(_0x2cb7c4(0x10b))/0x3*(parseInt(_0x2cb7c4(0x108))/0x4)+parseInt(_0x2cb7c4(0x121))/0x5*(-parseInt(_0x2cb7c4(0x118))/0x6)+-parseInt(_0x2cb7c4(0x113))/0x7+-parseInt(_0x2cb7c4(0xf6))/0x8+-parseInt(_0x2cb7c4(0x11f))/0x9+parseInt(_0x2cb7c4(0x112))/0xa;if(_0x392810===_0x3210d8)break;else _0x13f4c3['push'](_0x13f4c3['shift']());}catch(_0x462390){_0x13f4c3['push'](_0x13f4c3['shift']());}}}(a0_0x54a4,0xc721e));import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x54a4(){const _0x48e2cf=['2598tatkWj','boolean','getGristSelectableConfig','querySelector','getCodeSelectorData','string','name','12836493KIluea','filters','13385YxqAEN','fetchSearchTabHandler','7vNXkro','search-tab-grid','delete','push','#search-tab-grid','shadowRoot','bind','searchTabGrist','4559920AGQQdB','renderSearchConfigTab','operator','assign','select','searchTabGridConfig','right','fetch','360254gPBZHu','integer','button','search_operator','filter','hidden','rank','getGristGuttersConfig','left','forEach','8XgMjpK','center','deleteRow','499575PsXbiq','gql','viewSearchData','FILTER_OPERATORS','tLabel','query','sortRecordByRank','38762650DQxXTv','10494050NXZGFw','map','value','setSearchConfigTabConfig','object'];a0_0x54a4=function(){return _0x48e2cf;};return a0_0x54a4();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';function a0_0x293f(_0x58192d,_0x48958e){const _0x54a4ad=a0_0x54a4();return a0_0x293f=function(_0x293fee,_0x59863d){_0x293fee=_0x293fee-0xf3;let _0x319955=_0x54a4ad[_0x293fee];return _0x319955;},a0_0x293f(_0x58192d,_0x48958e);}export const SearchConfigTabMixin=_0x4411f1=>class extends _0x4411f1{['setSearchConfigTabValues'](_0x4daa81){const _0x4d7e56=a0_0x293f;let _0x48606e=_0x4daa81?.[_0x4d7e56(0x114)]((_0x23467c,_0x4b08fb)=>{const _0x2402ab=_0x4d7e56;let _0xf3d0c2=_0x4b08fb+0x1,_0x139329={};return _0x2402ab(0x117)==typeof _0x23467c?Object[_0x2402ab(0xf9)](_0x139329,_0x23467c):(_0x139329[_0x2402ab(0x11e)]=_0x23467c,_0x139329[_0x2402ab(0xf8)]='filter'),_0x139329['rank']=0xa*_0xf3d0c2,_0x139329['id']=_0xf3d0c2,_0x139329;});this[_0x4d7e56(0x10d)]=_0x48606e||[],this['searchTabGrist']?.[_0x4d7e56(0xfd)]();}['getSearchConfigTabValues'](){const _0x271bf0=a0_0x293f;let _0x384139={'search':[],'gql':{'query':{'filters':[]}}},_0x1e1c5d=this['getElementValueById'](_0x271bf0(0x124));return this[_0x271bf0(0x111)](_0x1e1c5d)?.[_0x271bf0(0x107)](_0x26f1ca=>{const _0x219e85=_0x271bf0;var {name:_0x212c14,operator:_0x4c6a7f='eq',hidden:_0x2fef94=!0x1,value:_0x37076a}=_0x26f1ca;if(_0x212c14){if(_0x219e85(0x102)==_0x4c6a7f)_0x384139['search']['push'](_0x212c14);else{let _0x1eacaf={'name':_0x212c14,'operator':_0x4c6a7f};0x1==_0x2fef94?(_0x1eacaf[_0x219e85(0x115)]=_0x37076a,_0x384139[_0x219e85(0x10c)][_0x219e85(0x110)][_0x219e85(0x120)][_0x219e85(0x126)](_0x1eacaf)):(_0x1eacaf['value']=_0x37076a,_0x384139['search'][_0x219e85(0x126)](_0x1eacaf));}}}),_0x384139;}[a0_0x2291b0(0xf7)](){const _0x38ffc7=a0_0x2291b0;return html`
2
- <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x38ffc7(0xfb)]} .mode='GRID'
3
- .fetchHandler=${this[_0x38ffc7(0x122)][_0x38ffc7(0xf4)](this)}>
4
- </ox-grist>`;}get[a0_0x2291b0(0xf5)](){const _0x4314b9=a0_0x2291b0;return this[_0x4314b9(0xf3)][_0x4314b9(0x11b)](_0x4314b9(0x127));}async[a0_0x2291b0(0x122)](){return{'total':0x0,'records':this['viewSearchData']||[]};}async[a0_0x2291b0(0x116)](){const _0x3f4505=a0_0x2291b0;let _0x2ba431=await MetaApi[_0x3f4505(0x11c)](_0x3f4505(0x10e));this[_0x3f4505(0xfb)]={'rows':MetaApi[_0x3f4505(0x11a)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x3f4505(0x104),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x3f4505(0x105)](!0x1,!0x1),{'type':'gutter','gutterName':_0x3f4505(0x100),'icon':_0x3f4505(0x125),'handlers':{'click':(_0x582b0c,_0x27cb3b,_0x2926b0,_0x99ac3a,_0x33f2dc)=>{const _0xad2b1=_0x3f4505;_0x99ac3a['id']&&this[_0xad2b1(0x10a)](this[_0xad2b1(0xf5)],_0x99ac3a);}}},{'type':'string','name':'id','hidden':!0x0},{'type':_0x3f4505(0xff),'name':_0x3f4505(0x104),'header':TermsUtil[_0x3f4505(0x10f)](_0x3f4505(0x104)),'sortable':!0x0,'width':0x41,'record':{'align':_0x3f4505(0xfc),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3f4505(0x11d),'name':'name','header':TermsUtil[_0x3f4505(0x10f)](_0x3f4505(0x11e)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x3f4505(0x106),'editable':!0x0,'mandatory':!0x0}},{'type':_0x3f4505(0xfa),'name':_0x3f4505(0xf8),'header':TermsUtil[_0x3f4505(0x10f)](_0x3f4505(0x101)),'sortable':!0x1,'width':0x64,'record':{'align':_0x3f4505(0x106),'editable':!0x0,'mandatory':!0x1,'options':_0x2ba431}},{'type':_0x3f4505(0x119),'name':_0x3f4505(0x103),'header':TermsUtil['tLabel'](_0x3f4505(0x103)),'sortable':!0x1,'width':0x41,'record':{'align':_0x3f4505(0x109),'mandatory':!0x1,'editable':!0x0}},{'type':_0x3f4505(0x11d),'name':'value','header':TermsUtil[_0x3f4505(0x10f)]('default_value'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x3f4505(0x106),'editable':!0x0,'mandatory':!0x1}}]};}};
1
+ const a0_0x4dd727=a0_0x59f8;(function(_0x134928,_0x495e6e){const _0x265c2d=a0_0x59f8,_0x1c2329=_0x134928();while(!![]){try{const _0xfbf98d=parseInt(_0x265c2d(0x150))/0x1+-parseInt(_0x265c2d(0x14c))/0x2*(-parseInt(_0x265c2d(0x14e))/0x3)+-parseInt(_0x265c2d(0x141))/0x4*(-parseInt(_0x265c2d(0x13f))/0x5)+-parseInt(_0x265c2d(0x153))/0x6*(-parseInt(_0x265c2d(0x156))/0x7)+-parseInt(_0x265c2d(0x162))/0x8*(-parseInt(_0x265c2d(0x148))/0x9)+-parseInt(_0x265c2d(0x158))/0xa+-parseInt(_0x265c2d(0x145))/0xb;if(_0xfbf98d===_0x495e6e)break;else _0x1c2329['push'](_0x1c2329['shift']());}catch(_0x149cce){_0x1c2329['push'](_0x1c2329['shift']());}}}(a0_0x3e68,0x2068f));function a0_0x59f8(_0x511b36,_0x2aa696){const _0x3e68e4=a0_0x3e68();return a0_0x59f8=function(_0x59f803,_0x5f3fde){_0x59f803=_0x59f803-0x12d;let _0x4931ef=_0x3e68e4[_0x59f803];return _0x4931ef;},a0_0x59f8(_0x511b36,_0x2aa696);}import{html}from'lit-element';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x3e68(){const _0x2445bd=['map','#search-tab-grid','center','select','fetch','right','filters','operator','rank','tLabel','15260MYAUck','shadowRoot','100xIckye','boolean','hidden','fetchSearchTabHandler','5709462DoIIRg','searchTabGridConfig','deleteRow','189hiCvxd','search-tab-grid','viewSearchData','search_operator','1342XmkMqp','integer','111blCYHr','filter','258269EloNqw','getElementValueById','search','3126cMpZht','getGristGuttersConfig','string','2807Osknsa','searchTabGrist','1574780vFNqyO','forEach','FILTER_OPERATORS','querySelector','gql','setSearchConfigTabValues','bind','left','name','delete','91792wuhNpG','push','button','setSearchConfigTabConfig','value','assign','getCodeSelectorData','renderSearchConfigTab','getGristSelectableConfig'];a0_0x3e68=function(){return _0x2445bd;};return a0_0x3e68();}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x1a6243=>class extends _0x1a6243{[a0_0x4dd727(0x15d)](_0x36b8f1){const _0x33f8b5=a0_0x4dd727;let _0x24dda7=_0x36b8f1?.[_0x33f8b5(0x135)]((_0x4a79d6,_0x54d3a9)=>{const _0x45371d=_0x33f8b5;let _0x3e9f90=_0x54d3a9+0x1,_0x429c2d={};return'object'==typeof _0x4a79d6?Object[_0x45371d(0x131)](_0x429c2d,_0x4a79d6):(_0x429c2d[_0x45371d(0x160)]=_0x4a79d6,_0x429c2d[_0x45371d(0x13c)]='filter'),_0x429c2d[_0x45371d(0x13d)]=0xa*_0x3e9f90,_0x429c2d['id']=_0x3e9f90,_0x429c2d;});this['viewSearchData']=_0x24dda7||[],this[_0x33f8b5(0x157)]?.[_0x33f8b5(0x139)]();}['getSearchConfigTabValues'](){const _0x293c18=a0_0x4dd727;let _0x56fa5f={'search':[],'gql':{'query':{'filters':[]}}},_0x3fd313=this[_0x293c18(0x151)](_0x293c18(0x149));return this['sortRecordByRank'](_0x3fd313)?.[_0x293c18(0x159)](_0x5b7b21=>{const _0x339de5=_0x293c18;var {name:_0x1fd7ab,operator:_0x4b70dd='eq',hidden:_0x5980df=!0x1,value:_0x4c5c62}=_0x5b7b21;if(_0x1fd7ab){if(_0x339de5(0x14f)==_0x4b70dd)_0x56fa5f[_0x339de5(0x152)]['push'](_0x1fd7ab);else{let _0x9614d2={'name':_0x1fd7ab,'operator':_0x4b70dd};0x1==_0x5980df?(_0x9614d2[_0x339de5(0x130)]=_0x4c5c62,_0x56fa5f[_0x339de5(0x15c)]['query'][_0x339de5(0x13b)][_0x339de5(0x12d)](_0x9614d2)):(_0x9614d2['value']=_0x4c5c62,_0x56fa5f[_0x339de5(0x152)][_0x339de5(0x12d)](_0x9614d2));}}}),_0x56fa5f;}[a0_0x4dd727(0x133)](){const _0x5b657b=a0_0x4dd727;return html`
2
+ <ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x5b657b(0x146)]} .mode='GRID'
3
+ .fetchHandler=${this['fetchSearchTabHandler'][_0x5b657b(0x15e)](this)}>
4
+ </ox-grist>`;}get['searchTabGrist'](){const _0x181773=a0_0x4dd727;return this[_0x181773(0x140)][_0x181773(0x15b)](_0x181773(0x136));}async[a0_0x4dd727(0x144)](){const _0x44d1bd=a0_0x4dd727;return{'total':0x0,'records':this[_0x44d1bd(0x14a)]||[]};}async[a0_0x4dd727(0x12f)](){const _0x138ddf=a0_0x4dd727;let _0x2487e3=await MetaApi[_0x138ddf(0x132)](_0x138ddf(0x15a));this[_0x138ddf(0x146)]={'rows':MetaApi[_0x138ddf(0x134)](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':'rank','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x138ddf(0x154)](!0x1,!0x1),{'type':'gutter','gutterName':_0x138ddf(0x12e),'icon':_0x138ddf(0x161),'handlers':{'click':(_0x109b6a,_0x1fbe18,_0x14c0f7,_0x470579,_0x14c770)=>{const _0x651b9f=_0x138ddf;_0x470579['id']&&this[_0x651b9f(0x147)](this[_0x651b9f(0x157)],_0x470579);}}},{'type':_0x138ddf(0x155),'name':'id','hidden':!0x0},{'type':_0x138ddf(0x14d),'name':_0x138ddf(0x13d),'header':TermsUtil[_0x138ddf(0x13e)]('rank'),'sortable':!0x0,'width':0x41,'record':{'align':_0x138ddf(0x13a),'editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x138ddf(0x160),'header':TermsUtil[_0x138ddf(0x13e)](_0x138ddf(0x160)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x138ddf(0x15f),'editable':!0x0,'mandatory':!0x0}},{'type':_0x138ddf(0x138),'name':_0x138ddf(0x13c),'header':TermsUtil['tLabel'](_0x138ddf(0x14b)),'sortable':!0x1,'width':0x64,'record':{'align':_0x138ddf(0x15f),'editable':!0x0,'mandatory':!0x1,'options':_0x2487e3}},{'type':_0x138ddf(0x142),'name':_0x138ddf(0x143),'header':TermsUtil[_0x138ddf(0x13e)](_0x138ddf(0x143)),'sortable':!0x1,'width':0x41,'record':{'align':_0x138ddf(0x137),'mandatory':!0x1,'editable':!0x0}},{'type':'string','name':_0x138ddf(0x130),'header':TermsUtil['tLabel']('default_value'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x138ddf(0x15f),'editable':!0x0,'mandatory':!0x1}}]};}};