@things-factory/operato-tools 6.0.3 → 6.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/main.js +1 -1
- package/client/pages/generator/button-config-tab-mixin.js +4 -4
- package/client/pages/generator/column-config-tab-mixin.js +4 -4
- package/client/pages/generator/etc-config-tab-mixin.js +4 -4
- package/client/pages/generator/form-config-tab-mixin.js +4 -4
- package/client/pages/generator/graphql-config-tab-mixin.js +24 -24
- package/client/pages/generator/grid-config-tab-mixin.js +22 -22
- package/client/pages/generator/menu-config-tab-mixin.js +12 -12
- package/client/pages/generator/meta-generator-page.js +11 -11
- package/client/pages/generator/search-config-tab-mixin.js +4 -4
- package/client/pages/generator/tab-config-tab-mixin.js +4 -4
- package/client/pages/main.js +4 -4
- package/client/reducers/main.js +1 -1
- package/dist-server/constants/error-code.js +1 -1
- package/dist-server/errors/license-error.js +1 -1
- package/dist-server/routes.js +1 -1
- package/dist-server/service/tool-entity/create-menu.js +1 -1
- package/dist-server/service/tool-entity/create-service.js +1 -1
- package/dist-server/service/tool-secret/tool-permission.js +1 -1
- package/dist-server/service/tool-secret/tool-resolver.js +1 -1
- package/package.json +4 -4
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x192ec1=a0_0x4a66;(function(_0xbfe0a9,_0x5d1f2a){const _0x5404f5=a0_0x4a66,_0x30cf9d=_0xbfe0a9();while(!![]){try{const _0x227bb3=parseInt(_0x5404f5(0x108))/0x1+-parseInt(_0x5404f5(0x107))/0x2+parseInt(_0x5404f5(0xf8))/0x3+-parseInt(_0x5404f5(0x111))/0x4*(-parseInt(_0x5404f5(0xfc))/0x5)+parseInt(_0x5404f5(0xdf))/0x6+-parseInt(_0x5404f5(0xf2))/0x7*(parseInt(_0x5404f5(0xf3))/0x8)+-parseInt(_0x5404f5(0x113))/0x9;if(_0x227bb3===_0x5d1f2a)break;else _0x30cf9d['push'](_0x30cf9d['shift']());}catch(_0x1136bf){_0x30cf9d['push'](_0x30cf9d['shift']());}}}(a0_0x3576,0xacbcb));import{html}from'lit-element';function a0_0x4a66(_0x2a905c,_0x188628){const _0x3576b5=a0_0x3576();return a0_0x4a66=function(_0x4a6615,_0x202864){_0x4a6615=_0x4a6615-0xd6;let _0x2dc691=_0x3576b5[_0x4a6615];return _0x2dc691;},a0_0x4a66(_0x2a905c,_0x188628);}import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';function a0_0x3576(){const _0x4c4bfa=['1372574ELEYnD','40BjrlRM','tLabel','option','setGridConfigTabValues','length','584814wJvJoC','row','grid_term_default','name','3785DoXysA','GRID','use_row_checker','getGridConfigTabValues','grid_use_row_check','getElementValueById','unlimited','grid_view_use','true','card_view_use','desk_mode','816828LglvSL','770123qCdNvL','grid_use_filter','gridViewModes','viewGridData','mobile_mode','push','grid_row_check_use','grid_mobile_view','gridPageOptions','7428xQFLgF','pages','9618714OFgOWM','support','map','grid_term_','unsupport','grid','GRID_PAGE_OPTIONS','multiple_select','renderGridConfigTab','use','4765746QUNcGu','codeItems','includes','grid_pagination','view_mode','description','use_filter_form','grid_multi_select','select-row-toggle','setGridConfigTabDetaultValues','GRID_VIEW_MODE','grid_desk_view','toLowerCase','LIST','setGridConfigTabConfig','grid_support_multi_select','grid_term_unlimited','_view_use','grid_support_view'];a0_0x3576=function(){return _0x4c4bfa;};return a0_0x3576();}export const GridConfigTabMixin=_0x18771d=>class extends _0x18771d{[a0_0x192ec1(0xf6)](_0x234532){const _0x203522=a0_0x192ec1;if(_0x234532){var {mobile_mode:_0xe5d413='',desk_mode:_0xb7c0af='',pages:_0x268251=[],use_row_checker:_0x4d9ddc=!0x0,view_mode:_0x5713dc=[],use_filter_form:_0x92188c=!0x0}=_0x234532[_0x203522(0xf5)]||{};let _0xcbb7fe=(_0x234532[_0x203522(0xf9)]||{'multiple_select':!0x1})['multiple_select'],_0x52a709=_0x203522(0x102)==_0x268251?_0x203522(0xef):0x0==_0x268251[_0x203522(0xf7)]?'':0x14==_0x268251[0x0]?_0x203522(0xfa):_0x203522(0xd8)+_0x268251[0x0];this[_0x203522(0x10b)]={'mobile_mode':_0xe5d413,'desk_mode':_0xb7c0af,'use_row_checker':_0x4d9ddc,'pages':_0x52a709,'view_mode':_0x5713dc,'multiple_select':_0xcbb7fe,'use_filter_form':_0x92188c};}else this[_0x203522(0xe8)]();}[a0_0x192ec1(0xff)](){const _0x5d514=a0_0x192ec1;let _0xa899a7={'grid':{'option':{},'row':{'click':_0x5d514(0xe7)}}},_0x2cd40a=this['getElementValueById'](_0x5d514(0x10e)),_0x1200e2=this[_0x5d514(0x101)](_0x5d514(0xe6)),_0xdc3136=this[_0x5d514(0x101)]('grid_desk_view'),_0x2280a7=this['getElementValueById'](_0x5d514(0x10f)),_0x2cbfb8=this[_0x5d514(0x101)](_0x5d514(0x109)),_0x48800a=this[_0x5d514(0x101)]('grid_pagination'),_0x14ba02=this[_0x5d514(0x101)](_0x5d514(0x103)),_0xc052fc=this[_0x5d514(0x101)]('list_view_use'),_0x4c31a0=this[_0x5d514(0x101)](_0x5d514(0x105));return _0xa899a7[_0x5d514(0xda)][_0x5d514(0xe5)]='true'==_0x2cbfb8,_0xa899a7['grid'][_0x5d514(0xf9)][_0x5d514(0xdc)]=_0x5d514(0x104)==_0x1200e2,_0xa899a7['grid'][_0x5d514(0xf5)]['use_row_checker']='true'==_0x2cd40a,_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)][_0x5d514(0x10c)]=_0x2280a7,_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)][_0x5d514(0x106)]=_0xdc3136,'grid_term_default'==_0x48800a?_0xa899a7['grid'][_0x5d514(0xf5)]['pages']=[0x14,0x1e,0x32,0x64]:'grid_term_50'==_0x48800a?_0xa899a7[_0x5d514(0xda)]['option'][_0x5d514(0x112)]=[0x32,0x64,0x1f4,0x3e8]:'grid_term_100'==_0x48800a?_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)]['pages']=[0x64,0x1f4,0x3e8,0x1388]:'grid_term_1000'==_0x48800a?_0xa899a7['grid'][_0x5d514(0xf5)][_0x5d514(0x112)]=[0x3e8,0x1388,0x2710,0xc350,0x186a0]:_0x5d514(0xef)==_0x48800a&&(_0xa899a7[_0x5d514(0xda)][_0x5d514(0xf5)][_0x5d514(0x112)]=_0x5d514(0x102)),_0xa899a7['grid'][_0x5d514(0xf5)][_0x5d514(0xe3)]=[],_0x5d514(0x104)==_0x14ba02&&_0xa899a7[_0x5d514(0xda)]['option'][_0x5d514(0xe3)][_0x5d514(0x10d)](_0x5d514(0xfd)),_0x5d514(0x104)==_0xc052fc&&_0xa899a7['grid'][_0x5d514(0xf5)][_0x5d514(0xe3)][_0x5d514(0x10d)]('LIST'),_0x5d514(0x104)==_0x4c31a0&&_0xa899a7[_0x5d514(0xda)]['option'][_0x5d514(0xe3)][_0x5d514(0x10d)]('CARD'),_0xa899a7;}async[a0_0x192ec1(0xed)](){const _0x139385=a0_0x192ec1;let _0x51ff31=await MetaApi[_0x139385(0xe0)](_0x139385(0xdb)),_0x417767=await MetaApi[_0x139385(0xe0)](_0x139385(0xe9));this['gridViewModes']=_0x417767,this[_0x139385(0x110)]=_0x51ff31;}[a0_0x192ec1(0xe8)](){const _0x167ebe=a0_0x192ec1;this[_0x167ebe(0x10b)]||(this[_0x167ebe(0x10b)]={'mobile_mode':this[_0x167ebe(0x10a)]?this[_0x167ebe(0x10a)][0x1]:_0x167ebe(0xec),'desk_mode':this[_0x167ebe(0x10a)]?this['gridViewModes'][0x0]:_0x167ebe(0xfd),'use_row_checker':!0x0,'pages':_0x167ebe(0xfa),'view_mode':[...this[_0x167ebe(0x10a)]?this['gridViewModes']:[_0x167ebe(0xfd),_0x167ebe(0xec),'CARD']],'multiple_select':!0x0,'use_filter_form':!0x0});}[a0_0x192ec1(0xdd)](){const _0x4e2b3e=a0_0x192ec1;return this[_0x4e2b3e(0xe8)](),html`
|
|
2
2
|
<div field-2column>
|
|
3
3
|
<div field>
|
|
4
4
|
<h2>
|
|
5
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
5
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0x100))}
|
|
6
6
|
</h2>
|
|
7
7
|
<label>
|
|
8
8
|
<span>
|
|
9
9
|
<input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="true"
|
|
10
|
-
?checked=${this[
|
|
10
|
+
?checked=${this['viewGridData']['use_row_checker']}>${TermsUtil[_0x4e2b3e(0xf4)]('use')}</input>
|
|
11
11
|
<input type="radio" id="grid_row_check_use" name="grid_row_check_use" value="false"
|
|
12
|
-
?checked=${!this[
|
|
12
|
+
?checked=${!this['viewGridData'][_0x4e2b3e(0xfe)]}>${TermsUtil[_0x4e2b3e(0xf4)]('unuse')}</input>
|
|
13
13
|
</span>
|
|
14
14
|
</label>
|
|
15
15
|
</div>
|
|
16
16
|
<div field>
|
|
17
17
|
<h2>
|
|
18
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
18
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xee))}
|
|
19
19
|
</h2>
|
|
20
20
|
<label>
|
|
21
21
|
<span>
|
|
22
22
|
<input type="radio" id="grid_multi_select" name="grid_multi_select" value="true"
|
|
23
|
-
?checked=${this[
|
|
23
|
+
?checked=${this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xdc)]}>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xd6))}</input>
|
|
24
24
|
<input type="radio" id="grid_multi_select" name="grid_multi_select" value="false"
|
|
25
|
-
?checked=${!this[
|
|
25
|
+
?checked=${!this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xdc)]}>${TermsUtil['tLabel'](_0x4e2b3e(0xd9))}</input>
|
|
26
26
|
</span>
|
|
27
27
|
</label>
|
|
28
28
|
</div>
|
|
29
29
|
<div field>
|
|
30
30
|
<h2>
|
|
31
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
31
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0x109))}
|
|
32
32
|
</h2>
|
|
33
33
|
<label>
|
|
34
34
|
<span>
|
|
35
35
|
<input type="radio" id="grid_use_filter" name="grid_use_filter" value="true"
|
|
36
|
-
?checked=${this[
|
|
36
|
+
?checked=${this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xe5)]}>${TermsUtil['tLabel'](_0x4e2b3e(0xde))}</input>
|
|
37
37
|
<input type="radio" id="grid_use_filter" name="grid_use_filter" value="false"
|
|
38
|
-
?checked=${!this[
|
|
38
|
+
?checked=${!this['viewGridData'][_0x4e2b3e(0xe5)]}>${TermsUtil[_0x4e2b3e(0xf4)]('unuse')}</input>
|
|
39
39
|
</span>
|
|
40
40
|
</label>
|
|
41
41
|
</div>
|
|
42
42
|
<div></div>
|
|
43
43
|
<div field>
|
|
44
44
|
<h2>
|
|
45
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
45
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xea))}
|
|
46
46
|
</h2>
|
|
47
47
|
<label>
|
|
48
48
|
<select id="grid_desk_view" name="grid_desk_view">
|
|
49
|
-
${this[
|
|
49
|
+
${this[_0x4e2b3e(0x10a)]?.['map'](_0x473200=>html`<option value=${_0x473200[_0x4e2b3e(0xfb)]} ?selected=${this[_0x4e2b3e(0x10b)]['desk_mode']==_0x473200[_0x4e2b3e(0xfb)]}>${_0x473200['description']}</option>`)}
|
|
50
50
|
</select>
|
|
51
51
|
</label>
|
|
52
52
|
</div>
|
|
53
53
|
<div field>
|
|
54
54
|
<h2>
|
|
55
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
55
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil['tLabel'](_0x4e2b3e(0x10f))}
|
|
56
56
|
</h2>
|
|
57
57
|
<label>
|
|
58
58
|
<select id="grid_mobile_view" name="grid_mobile_view">
|
|
59
|
-
${this[
|
|
59
|
+
${this[_0x4e2b3e(0x10a)]?.[_0x4e2b3e(0xd7)](_0x3101ad=>html`<option value=${_0x3101ad[_0x4e2b3e(0xfb)]} ?selected=${this[_0x4e2b3e(0x10b)][_0x4e2b3e(0x10c)]==_0x3101ad[_0x4e2b3e(0xfb)]}>${_0x3101ad[_0x4e2b3e(0xe4)]}</option>`)}
|
|
60
60
|
</select>
|
|
61
61
|
</label>
|
|
62
62
|
</div>
|
|
63
63
|
<div field>
|
|
64
64
|
<h2>
|
|
65
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
65
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xf1))}
|
|
66
66
|
</h2>
|
|
67
67
|
<label>
|
|
68
|
-
${this[
|
|
69
|
-
<span>${
|
|
70
|
-
<input type="radio" name=${
|
|
71
|
-
<input type="radio" name=${
|
|
68
|
+
${this[_0x4e2b3e(0x10a)]?.['map'](_0x4e2096=>html`
|
|
69
|
+
<span>${_0x4e2096[_0x4e2b3e(0xfb)]}
|
|
70
|
+
<input type="radio" name=${_0x4e2096[_0x4e2b3e(0xfb)][_0x4e2b3e(0xeb)]()+_0x4e2b3e(0xf0)} id=${_0x4e2096[_0x4e2b3e(0xfb)][_0x4e2b3e(0xeb)]()+_0x4e2b3e(0xf0)} ?checked=${this['viewGridData'][_0x4e2b3e(0xe3)][_0x4e2b3e(0xe1)](_0x4e2096[_0x4e2b3e(0xfb)])} value="true">${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xde))}</input>
|
|
71
|
+
<input type="radio" name=${_0x4e2096[_0x4e2b3e(0xfb)][_0x4e2b3e(0xeb)]()+'_view_use'} id=${_0x4e2096['name'][_0x4e2b3e(0xeb)]()+_0x4e2b3e(0xf0)} ?checked=${!this[_0x4e2b3e(0x10b)][_0x4e2b3e(0xe3)][_0x4e2b3e(0xe1)](_0x4e2096[_0x4e2b3e(0xfb)])} value="false">${TermsUtil['tLabel']('unuse')}</input>
|
|
72
72
|
</span>
|
|
73
73
|
`)}
|
|
74
74
|
</label>
|
|
75
75
|
</div>
|
|
76
76
|
<div field>
|
|
77
77
|
<h2>
|
|
78
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
78
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x4e2b3e(0xf4)](_0x4e2b3e(0xe2))}
|
|
79
79
|
</h2>
|
|
80
80
|
<label>
|
|
81
|
-
${this[
|
|
81
|
+
${this[_0x4e2b3e(0x110)]?.[_0x4e2b3e(0xd7)](_0x1a34d3=>html`
|
|
82
82
|
<span>
|
|
83
|
-
<input type="radio" name="grid_pagination" id="grid_pagination" value=${
|
|
83
|
+
<input type="radio" name="grid_pagination" id="grid_pagination" value=${_0x1a34d3[_0x4e2b3e(0xfb)]} ?checked=${this['viewGridData'][_0x4e2b3e(0x112)]==_0x1a34d3[_0x4e2b3e(0xfb)]}>${TermsUtil[_0x4e2b3e(0xf4)](_0x1a34d3['name'])}</input>
|
|
84
84
|
</span>
|
|
85
85
|
`)}
|
|
86
86
|
</label>
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x57c02d=a0_0x127d;(function(_0x1aa289,_0x576259){const _0x1c43d3=a0_0x127d,_0x4de569=_0x1aa289();while(!![]){try{const _0x3d5d90=parseInt(_0x1c43d3(0xa5))/0x1+-parseInt(_0x1c43d3(0x8c))/0x2+parseInt(_0x1c43d3(0x9e))/0x3+parseInt(_0x1c43d3(0xa7))/0x4+parseInt(_0x1c43d3(0xaa))/0x5+-parseInt(_0x1c43d3(0x92))/0x6*(parseInt(_0x1c43d3(0xa2))/0x7)+parseInt(_0x1c43d3(0x96))/0x8*(-parseInt(_0x1c43d3(0xa4))/0x9);if(_0x3d5d90===_0x576259)break;else _0x4de569['push'](_0x4de569['shift']());}catch(_0x698638){_0x4de569['push'](_0x4de569['shift']());}}}(a0_0x2bed,0xd1f49));import{html}from'lit-element';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const MenuConfigTabMixin=_0x3672ac=>class extends _0x3672ac{[a0_0x57c02d(0x90)](_0x272f58){const _0x3b9d4b=a0_0x57c02d;if(_0x272f58){var {title:_0x5256c4='',name:_0x384d6c='',desc:_0x20be8c='',help:_0x208cd7=''}=_0x272f58||{};this[_0x3b9d4b(0x99)]={'title':_0x5256c4,'name':_0x384d6c,'desc':_0x20be8c,'help_doc':_0x208cd7},this[_0x3b9d4b(0xa6)](_0x3b9d4b(0x8d))[_0x3b9d4b(0x8e)]=_0x5256c4,this['getElementById'](_0x3b9d4b(0x97))[_0x3b9d4b(0x8e)]=_0x384d6c,this[_0x3b9d4b(0xa6)](_0x3b9d4b(0xa1))[_0x3b9d4b(0x8e)]=_0x20be8c,this[_0x3b9d4b(0xa6)](_0x3b9d4b(0x95))[_0x3b9d4b(0x8e)]=_0x208cd7;}else this[_0x3b9d4b(0x9f)]();}[a0_0x57c02d(0x9b)](){const _0xf36c8e=a0_0x57c02d;let _0x14fe19={'menu':{}},_0x5eb6d5=this[_0xf36c8e(0x9a)](_0xf36c8e(0x8d)),_0xbe992=this[_0xf36c8e(0x9a)](_0xf36c8e(0x97)),_0x1eb660=this[_0xf36c8e(0x9a)](_0xf36c8e(0xa1)),_0x2e6ad9=this[_0xf36c8e(0x9a)](_0xf36c8e(0x95));return _0x5eb6d5&&(_0x14fe19[_0xf36c8e(0x8f)][_0xf36c8e(0x8d)]=_0x5eb6d5),_0xbe992&&(_0x14fe19[_0xf36c8e(0x8f)]['name']=_0xbe992),_0x1eb660&&(_0x14fe19['menu'][_0xf36c8e(0xa1)]=_0x1eb660),_0x2e6ad9&&(_0x14fe19[_0xf36c8e(0x8f)][_0xf36c8e(0x9d)]=_0x2e6ad9),_0x14fe19;}[a0_0x57c02d(0x9f)](){const _0x361b63=a0_0x57c02d;this[_0x361b63(0x99)]||(this[_0x361b63(0x99)]={'title':'','name':_0x361b63(0x97),'desc':_0x361b63(0xa9),'help_doc':''});}[a0_0x57c02d(0x94)](_0x5ba1b2){const _0x1b3855=a0_0x57c02d;let _0x5d3653=this[_0x1b3855(0xa6)]('display');_0x5d3653&&(_0x5d3653[_0x1b3855(0x8e)]=TermsUtil[_0x1b3855(0x93)](_0x5ba1b2[_0x1b3855(0x9c)][_0x1b3855(0x8e)]));}[a0_0x57c02d(0xa3)](){const _0xb4af32=a0_0x57c02d;return this[_0xb4af32(0x9f)](),html`
|
|
2
2
|
<div field-2column>
|
|
3
3
|
<div field>
|
|
4
|
-
<label>${TermsUtil[
|
|
5
|
-
<input id="title" name="title" type="text" value=${this[
|
|
4
|
+
<label>${TermsUtil['tLabel']('menu_title')}
|
|
5
|
+
<input id="title" name="title" type="text" value=${this[_0xb4af32(0x99)]['title']} @change=${_0x454cb7=>this['menuTitleChange'](_0x454cb7)}/>
|
|
6
6
|
</label>
|
|
7
7
|
</div>
|
|
8
8
|
<div field>
|
|
9
|
-
<label>${TermsUtil[
|
|
10
|
-
<input id="display" name="display" value=${TermsUtil[
|
|
9
|
+
<label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0x98))}
|
|
10
|
+
<input id="display" name="display" value=${TermsUtil[_0xb4af32(0x93)](this[_0xb4af32(0x99)][_0xb4af32(0x8d)])} type="text" readonly
|
|
11
11
|
disabled />
|
|
12
12
|
</label>
|
|
13
13
|
</div>
|
|
14
14
|
<div field>
|
|
15
|
-
<label>${TermsUtil[
|
|
16
|
-
<input id="name" name="name" type="text" value=${this[
|
|
15
|
+
<label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0x91))}
|
|
16
|
+
<input id="name" name="name" type="text" value=${this['viewMenuData'][_0xb4af32(0x97)]} />
|
|
17
17
|
</label>
|
|
18
18
|
</div>
|
|
19
19
|
<div field>
|
|
20
|
-
<label>${TermsUtil[
|
|
21
|
-
<input id="desc" name="desc" type="text" value=${this[
|
|
20
|
+
<label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0xa0))}
|
|
21
|
+
<input id="desc" name="desc" type="text" value=${this['viewMenuData']['desc']} />
|
|
22
22
|
</label>
|
|
23
23
|
</div>
|
|
24
24
|
<div field>
|
|
25
|
-
<label>${TermsUtil[
|
|
26
|
-
<input id="help_doc" name="help_doc" type="text" value=${this[
|
|
25
|
+
<label>${TermsUtil[_0xb4af32(0xa8)](_0xb4af32(0x95))}
|
|
26
|
+
<input id="help_doc" name="help_doc" type="text" value=${this[_0xb4af32(0x99)][_0xb4af32(0x95)]} />
|
|
27
27
|
</label>
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
30
|
-
`;}};
|
|
30
|
+
`;}};function a0_0x127d(_0x40dedf,_0x3fc19e){const _0x2bed19=a0_0x2bed();return a0_0x127d=function(_0x127df9,_0x38ff8a){_0x127df9=_0x127df9-0x8c;let _0x1f63bd=_0x2bed19[_0x127df9];return _0x1f63bd;},a0_0x127d(_0x40dedf,_0x3fc19e);}function a0_0x2bed(){const _0x1dc025=['836946oezsBN','938354AdvHUs','getElementById','4292300uxnMIJ','tLabel','description','4203065FcVTZu','1739208ePhRKC','title','value','menu','setMenuConfigTabValues','menu_name_field','1008ZqxftX','tTitle','menuTitleChange','help_doc','200uCPoOK','name','display','viewMenuData','getElementValueById','getMenuConfigTabValues','target','help','5109591TfxfLd','setMenuConfigTabDefaultValue','menu_desc_field','desc','20867nKeIol','renderMenuConfigTab'];a0_0x2bed=function(){return _0x1dc025;};return a0_0x2bed();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3d78f6=a0_0x34cf;(function(_0x2c9824,_0x1a6ae8){const _0x1fe853=a0_0x34cf,_0x3db675=_0x2c9824();while(!![]){try{const _0x72b469=parseInt(_0x1fe853(0x188))/0x1+parseInt(_0x1fe853(0x17c))/0x2*(parseInt(_0x1fe853(0x171))/0x3)+parseInt(_0x1fe853(0x1a5))/0x4+parseInt(_0x1fe853(0x1a2))/0x5*(parseInt(_0x1fe853(0x19a))/0x6)+parseInt(_0x1fe853(0x1a9))/0x7+parseInt(_0x1fe853(0x1c7))/0x8*(-parseInt(_0x1fe853(0x1d0))/0x9)+-parseInt(_0x1fe853(0x1c4))/0xa;if(_0x72b469===_0x1a6ae8)break;else _0x3db675['push'](_0x3db675['shift']());}catch(_0x297c2a){_0x3db675['push'](_0x3db675['shift']());}}}(a0_0x1960,0x6f010));function a0_0x34cf(_0x4d3861,_0x14efe6){const _0x19602e=a0_0x1960();return a0_0x34cf=function(_0x34cfd8,_0x509bff){_0x34cfd8=_0x34cfd8-0x15e;let _0x2828bb=_0x19602e[_0x34cfd8];return _0x2828bb;},a0_0x34cf(_0x4d3861,_0x14efe6);}import a0_0x22c999 from'graphql-tag';import{html,css}from'lit-element';import{client}from'@operato/graphql';function a0_0x1960(){const _0xa85ddb=['toLowerCase','setTabData','keys','initData','pageUpdated','filter','rep_field','117744JGWryy','getElementById','details','backToMenu','tagName','tButton','records',':checked','190eZEtWO','grid-','bind','1722012NGqwNk','render','getState','display:flex','4437944pBxSrq','tab_config','detail_field','convertFirstCharUpperCase','display:none','updateMultipleMenu','button_config','slice','length','tLabel','tabData','getConfigTab','save','sortRecordByRank','meta-generator-page','list','name','refresh','grid_config','sorters','error.invalid\x20license\x20key','set','button','fields','stringify','form','grid','20233010gHlzBK','thumbnail_field','dispatchEvent','8VFDUcD','meta_generator','rank','properties','ConfigTab','querySelector','sort','menuName','graphql_config','2023047onJRkJ','forEach','ConfigTabValues','context','errors','data','options','etc_config','select','menu','icon','define','ox-grist','graphql','push','includes','shadowRoot','tTitle','menuId','ConfigTabConfig','error','parse','styles','dataStorage','column','21hfuWGD','map','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20','sort_rank','value','desc','clear','option','toUpperCase','template','notify','209014QgXshK','studioPermission','pageInitialized','enc','charAt','getElementValueById','query','radio','back','sortRecordByField','metaTemplate','deleteRow','161000Osfkpl','dirtyData','hidden','params','operatoTools','lifecycle','currentTabKey','type','filters','dec','menu_config'];a0_0x1960=function(){return _0xa85ddb;};return a0_0x1960();}import{store}from'@operato/shell';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{CommonButtonStyles}from'@operato/styles';import{ButtonConfigTabMixin}from'./button-config-tab-mixin';import{MenuConfigTabMixin}from'./menu-config-tab-mixin';import{SearchConfigTabMixin}from'./search-config-tab-mixin';import{GridConfigTabMixin}from'./grid-config-tab-mixin';import{ColumnConfigTabMixin}from'./column-config-tab-mixin';import{GraphQlConfigTabMixin}from'./graphql-config-tab-mixin';import{FormConfigTabMixin}from'./form-config-tab-mixin';import{TabConfigTabMixin}from'./tab-config-tab-mixin';import{EtcConfigTabMixin}from'./etc-config-tab-mixin';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{filter,merge}from'lodash';import{MetaCrypto}from'@things-factory/meta-ui/client/utils/meta-crypto';class MetaGeneratorPage extends MenuConfigTabMixin(GraphQlConfigTabMixin(GridConfigTabMixin(ColumnConfigTabMixin(ButtonConfigTabMixin(SearchConfigTabMixin(FormConfigTabMixin(TabConfigTabMixin(EtcConfigTabMixin(localize(i18next)(PageView)))))))))){static get[a0_0x3d78f6(0x16e)](){return[css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -141,24 +141,24 @@ const a0_0x4e4bd6=a0_0xf9e9;(function(_0x453dcd,_0x560409){const _0x9b92cd=a0_0x
|
|
|
141
141
|
flex: 1;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
`];}static get[
|
|
144
|
+
`];}static get[a0_0x3d78f6(0x1ca)](){return{'menuId':String,'menuName':String,'metaTemplate':Object,'currentTabKey':String,'tabData':Object,'dataStorage':Object,'viewMenuData':Object,'afterSetFieldsConfig':Object,'skipFieldsConfig':Object,'viewGraphqlData':Object,'gridPageOptions':Array,'gridViewModes':Array,'viewGridData':Object,'columnTabGridConfig':Object,'viewColumnData':Array,'buttonTabGridConfig':Object,'viewButtonData':Array,'searchTabGridConfig':Object,'viewSearchData':Array};}get[a0_0x3d78f6(0x1d3)](){const _0x18f381=a0_0x3d78f6;return{'title':TermsUtil[_0x18f381(0x169)](_0x18f381(0x1c8)),'actions':[{'title':TermsUtil[_0x18f381(0x19f)](_0x18f381(0x1b5)),'action':this[_0x18f381(0x1b5)][_0x18f381(0x1a4)](this),...CommonButtonStyles[_0x18f381(0x1b5)]},{'title':TermsUtil[_0x18f381(0x19f)](_0x18f381(0x184)),'action':this[_0x18f381(0x19d)]['bind'](this),...CommonButtonStyles[_0x18f381(0x184)]},{'title':TermsUtil['tButton'](_0x18f381(0x1ba)),'action':this['refresh'][_0x18f381(0x1a4)](this),...CommonButtonStyles['refresh']}]};}[a0_0x3d78f6(0x187)](_0x479ce2,_0x3f05a2){const _0x543be7=a0_0x3d78f6;let _0x5992cb=_0x479ce2[_0x543be7(0x189)];_0x5992cb[_0x543be7(0x1a0)]=_0x5992cb[_0x543be7(0x1a0)]['filter'](_0x20e87c=>_0x20e87c['id']!=_0x3f05a2['id']),_0x479ce2[_0x543be7(0x1d5)]=_0x5992cb;}async[a0_0x3d78f6(0x1b5)](){const _0x56748a=a0_0x3d78f6;if(0x0==store[_0x56748a(0x1a7)]()[_0x56748a(0x18c)][_0x56748a(0x17d)])return void document[_0x56748a(0x1c6)](new CustomEvent(_0x56748a(0x17b),{'detail':{'level':_0x56748a(0x16c),'message':i18next['t'](_0x56748a(0x1bd))}}));if((await client['query']({'query':a0_0x22c999`
|
|
145
145
|
query ($id: String!) {
|
|
146
146
|
studioTemplateIsOverLimit(id: $id)
|
|
147
147
|
}
|
|
148
|
-
`,'variables':{'id':this[
|
|
149
|
-
<h1>${this[
|
|
148
|
+
`,'variables':{'id':this[_0x56748a(0x16a)]}}))[_0x56748a(0x1d4)])return;let _0x2d83f4={},_0x2dc685={};Object[_0x56748a(0x195)](this['tabData'])[_0x56748a(0x1d1)](_0x3839c4=>{const _0x385c6e=_0x56748a;let _0x441339=this[_0x385c6e(0x1ac)](_0x3839c4);_0x2d83f4[_0x3839c4]=this['get'+_0x441339+_0x385c6e(0x1d2)](),_0x2dc685=merge(_0x2dc685,_0x2d83f4[_0x3839c4]);}),_0x2dc685=JSON[_0x56748a(0x1c1)](_0x2dc685),_0x2dc685=MetaCrypto[_0x56748a(0x17f)](_0x2dc685),await MetaApi['updateMultiple'](_0x56748a(0x1ae),[{'id':this['menuId'],'template':_0x2dc685,'cuFlag':'M'}])&&await this[_0x56748a(0x196)]();}['clear'](){const _0x27745c=a0_0x3d78f6;this[_0x27745c(0x194)](),this['dataStorage']={'menu':{},'graphql':{},'button':[],'column':[],'grid':{},'search':[],'form':[],'tab':[],'etc':{}},Object[_0x27745c(0x195)](this[_0x27745c(0x1b3)])[_0x27745c(0x1d1)](_0x355de6=>{const _0x1c86fa=_0x27745c;let _0x26156c=this['convertFirstCharUpperCase'](_0x355de6);if(this['set'+_0x26156c+_0x1c86fa(0x1d2)])return this[_0x1c86fa(0x1be)+_0x26156c+_0x1c86fa(0x1d2)](this['dataStorage'][_0x355de6]);});}async[a0_0x3d78f6(0x1ba)](){const _0x3da77d=a0_0x3d78f6;await this[_0x3da77d(0x196)]();}[a0_0x3d78f6(0x19d)](){const _0x35b8db=a0_0x3d78f6;history[_0x35b8db(0x184)]();}async[a0_0x3d78f6(0x196)](){const _0x4e9192=a0_0x3d78f6;var {menuId:_0x402f35=''}=this[_0x4e9192(0x18d)]?.[_0x4e9192(0x18b)]?this[_0x4e9192(0x18d)][_0x4e9192(0x18b)]:{};if(this[_0x4e9192(0x16a)]=_0x402f35,!_0x402f35||''==_0x402f35)return void this[_0x4e9192(0x177)]();let _0x5d6d0b=await MetaApi['findOne']('menu',_0x402f35,_0x4e9192(0x173));if(_0x5d6d0b){try{JSON[_0x4e9192(0x16d)](MetaCrypto[_0x4e9192(0x191)](_0x5d6d0b[_0x4e9192(0x17a)]));}catch(_0x3f5be1){return;}this['menuName']=TermsUtil['tMenu'](_0x5d6d0b[_0x4e9192(0x1b9)]),this[_0x4e9192(0x186)]=_0x5d6d0b[_0x4e9192(0x17a)]?JSON[_0x4e9192(0x16d)](MetaCrypto[_0x4e9192(0x191)](_0x5d6d0b[_0x4e9192(0x17a)])):{};var {menu:_0x1036ed={},gql:_0x596065={},button:_0x5487ee=[],grid_column:_0x5a507b=[],grid:_0x2d294f={},search:_0x13dbf9=[],form:_0xa698fc=[],tab:_0x364264=[],etc:_0x1ce65d={}}=this[_0x4e9192(0x186)]?this[_0x4e9192(0x186)]:{};this[_0x4e9192(0x194)](),this['dataStorage']={},this[_0x4e9192(0x16f)][_0x4e9192(0x161)]=_0x1036ed,this[_0x4e9192(0x16f)][_0x4e9192(0x165)]=_0x596065,this[_0x4e9192(0x16f)][_0x4e9192(0x1c3)]=_0x2d294f,this[_0x4e9192(0x16f)][_0x4e9192(0x1c2)]=_0xa698fc,this['dataStorage']['tab']=_0x364264,this[_0x4e9192(0x16f)]['etc']=_0x1ce65d,(_0x2d294f[_0x4e9192(0x178)]?.[_0x4e9192(0x1bc)]||[])[_0x4e9192(0x1d1)]((_0x52d4d6,_0x17ffec)=>{const _0x49bb97=_0x4e9192;_0x52d4d6[_0x49bb97(0x1c9)]=0xa*(_0x17ffec+0x1);}),this[_0x4e9192(0x16f)][_0x4e9192(0x170)]=_0x5a507b[_0x4e9192(0x172)](_0x192e11=>{const _0x50f4ea=_0x4e9192;let _0x19e823=(_0x2d294f['option']?.[_0x50f4ea(0x1bc)]||[])[_0x50f4ea(0x198)](_0x4cf8ea=>_0x4cf8ea[_0x50f4ea(0x1b9)]==_0x192e11[_0x50f4ea(0x1b9)]);return _0x19e823&&_0x19e823[_0x50f4ea(0x1b1)]>0x0?(_0x192e11[_0x50f4ea(0x174)]=_0x19e823[0x0][_0x50f4ea(0x1c9)],_0x192e11['sort_desc']=!!_0x19e823[0x0][_0x50f4ea(0x176)]&&_0x19e823[0x0]['desc']):_0x192e11['sort_rank']=0x0,_0x192e11[_0x50f4ea(0x199)]=(_0x2d294f[_0x50f4ea(0x1b8)]?.[_0x50f4ea(0x1c0)]||[])[_0x50f4ea(0x167)](_0x192e11[_0x50f4ea(0x1b9)]),_0x192e11[_0x50f4ea(0x1ab)]=(_0x2d294f[_0x50f4ea(0x1b8)]?.[_0x50f4ea(0x19c)]||[])['includes'](_0x192e11[_0x50f4ea(0x1b9)]),_0x192e11[_0x50f4ea(0x1c5)]=_0x2d294f['list']?.['thumbnail']==_0x192e11[_0x50f4ea(0x1b9)],_0x192e11;}),_0x13dbf9[_0x4e9192(0x166)](...(_0x596065[_0x4e9192(0x182)]?.[_0x4e9192(0x190)]||[])[_0x4e9192(0x172)](_0x2d18fd=>(_0x2d18fd[_0x4e9192(0x18a)]=!0x0,_0x2d18fd))),this[_0x4e9192(0x16f)]['search']=_0x13dbf9,_0x5487ee[_0x4e9192(0x166)](...(_0x2d294f[_0x4e9192(0x1bf)]||[])[_0x4e9192(0x172)](_0x2ede1d=>(_0x2ede1d[_0x4e9192(0x18f)]=_0x4e9192(0x1a3)+_0x2ede1d[_0x4e9192(0x18f)],_0x2ede1d['style']=_0x2ede1d[_0x4e9192(0x162)],_0x2ede1d))),this['dataStorage'][_0x4e9192(0x1bf)]=_0x5487ee,Object['keys'](this[_0x4e9192(0x1b3)])[_0x4e9192(0x1d1)](_0x2b11b7=>{const _0x47e3af=_0x4e9192;let _0xdefa00=this['convertFirstCharUpperCase'](_0x2b11b7);if(this['set'+_0xdefa00+_0x47e3af(0x1d2)])return this[_0x47e3af(0x1be)+_0xdefa00+_0x47e3af(0x1d2)](this[_0x47e3af(0x16f)][_0x2b11b7]);});}}async[a0_0x3d78f6(0x17e)](){const _0x29e0d6=a0_0x3d78f6;this[_0x29e0d6(0x194)]();let _0x553c16=Object['keys'](this[_0x29e0d6(0x1b3)]);for(var _0x237d36=0x0;_0x237d36<_0x553c16['length'];_0x237d36++){let _0x30da28=this[_0x29e0d6(0x1ac)](_0x553c16[_0x237d36]);this[_0x29e0d6(0x1be)+_0x30da28+_0x29e0d6(0x16b)]&&await this[_0x29e0d6(0x1be)+_0x30da28+_0x29e0d6(0x16b)]();}}async[a0_0x3d78f6(0x197)](_0x206ef5,_0x24da37,_0x31b397){const _0x4447ff=a0_0x3d78f6;this['active']?(this[_0x4447ff(0x194)](),await this[_0x4447ff(0x196)](),this[_0x4447ff(0x194)]()):this[_0x4447ff(0x177)]();}[a0_0x3d78f6(0x194)](){const _0x4c4901=a0_0x3d78f6;this[_0x4c4901(0x1b3)]||(this[_0x4c4901(0x1b3)]={'menu':TermsUtil['tLabel'](_0x4c4901(0x192)),'graphql':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1cf)),'grid':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1bb)),'column':TermsUtil[_0x4c4901(0x1b2)]('column_config'),'button':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1af)),'search':TermsUtil[_0x4c4901(0x1b2)]('search_config'),'form':TermsUtil[_0x4c4901(0x1b2)]('form_config'),'tab':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x1aa)),'etc':TermsUtil[_0x4c4901(0x1b2)](_0x4c4901(0x15f))});}['render'](){const _0x475229=a0_0x3d78f6;this[_0x475229(0x18e)]||(this[_0x475229(0x18e)]=_0x475229(0x161)),this[_0x475229(0x194)]();let _0x487fd7=Object[_0x475229(0x195)](this[_0x475229(0x1b3)]);return this[_0x475229(0x1b3)][this[_0x475229(0x18e)]]?this[_0x475229(0x18e)]:_0x487fd7[0x0],html`
|
|
149
|
+
<h1>${this[_0x475229(0x1ce)]}</h1>
|
|
150
150
|
<div class="tabs">
|
|
151
|
-
${
|
|
152
|
-
<div class="tab" ?activate="${
|
|
153
|
-
<span>${
|
|
151
|
+
${_0x487fd7['map'](_0x2157da=>{const _0x264d0b=_0x475229;let _0x432497=this[_0x264d0b(0x1b3)][_0x2157da];return html`
|
|
152
|
+
<div class="tab" ?activate="${_0x2157da===this[_0x264d0b(0x18e)]}" @click="${()=>this[_0x264d0b(0x18e)]=_0x2157da}">
|
|
153
|
+
<span>${_0x432497}</span>
|
|
154
154
|
</div>
|
|
155
155
|
`;})}
|
|
156
156
|
</div>
|
|
157
157
|
<div class="content-container">
|
|
158
|
-
${
|
|
159
|
-
<div class='tab-contents' style="${
|
|
160
|
-
${this[
|
|
158
|
+
${_0x487fd7[_0x475229(0x172)](_0x2f5f15=>{const _0x2aad8a=_0x475229;let _0x368e79=_0x2aad8a(0x1ad);return _0x2f5f15==this[_0x2aad8a(0x18e)]&&(_0x368e79=_0x2aad8a(0x1a8)),html`
|
|
159
|
+
<div class='tab-contents' style="${_0x368e79}">
|
|
160
|
+
${this[_0x2aad8a(0x1b4)](_0x2f5f15)}
|
|
161
161
|
</div>
|
|
162
162
|
`;})}
|
|
163
163
|
</div>
|
|
164
|
-
`;}[
|
|
164
|
+
`;}[a0_0x3d78f6(0x1b4)](_0x28f012){const _0x27f33b=a0_0x3d78f6;let _0x53853a=this[_0x27f33b(0x1ac)](_0x28f012);return this[_0x27f33b(0x1a6)+_0x53853a+_0x27f33b(0x1cb)]?this[_0x27f33b(0x1a6)+_0x53853a+'ConfigTab']():html``;}[a0_0x3d78f6(0x1ac)](_0x387494){const _0x3bd163=a0_0x3d78f6;return _0x387494[_0x3bd163(0x180)](0x0)[_0x3bd163(0x179)]()+_0x387494[_0x3bd163(0x1b0)](0x1);}[a0_0x3d78f6(0x19b)](_0x17623d){return this['shadowRoot']['querySelector']('#'+_0x17623d);}[a0_0x3d78f6(0x181)](_0xf1ffac){const _0x5b1ed9=a0_0x3d78f6;let _0x58814a=this[_0x5b1ed9(0x168)][_0x5b1ed9(0x1cc)]('#'+_0xf1ffac);if(!_0x58814a)return;let _0x4a561d='';if(_0x5b1ed9(0x160)==_0x58814a[_0x5b1ed9(0x19e)][_0x5b1ed9(0x193)]()){if(!_0x58814a[_0x5b1ed9(0x15e)]||0x0==_0x58814a[_0x5b1ed9(0x15e)][_0x5b1ed9(0x1b1)])return;_0x4a561d=_0x58814a['options'][_0x58814a['selectedIndex']][_0x5b1ed9(0x175)];}else{if(_0x5b1ed9(0x164)==_0x58814a['tagName']['toLowerCase']()){if(!_0x58814a[_0x5b1ed9(0x189)])return;if(!_0x58814a[_0x5b1ed9(0x189)][_0x5b1ed9(0x1a0)])return;if(0x0==_0x58814a[_0x5b1ed9(0x189)][_0x5b1ed9(0x1a0)][_0x5b1ed9(0x1b1)])return;return _0x58814a[_0x5b1ed9(0x189)]['records'];}if(_0x5b1ed9(0x183)==_0x58814a[_0x5b1ed9(0x18f)][_0x5b1ed9(0x193)]()){let _0x211998=this[_0x5b1ed9(0x168)][_0x5b1ed9(0x1cc)]('#'+_0xf1ffac+_0x5b1ed9(0x1a1));if(!_0x211998)return;return _0x211998['value'];}_0x4a561d=_0x58814a['value'];}return _0x4a561d&&''!=_0x4a561d?_0x4a561d:void 0x0;}[a0_0x3d78f6(0x1b6)](_0x5d3170){const _0x5cd933=a0_0x3d78f6;return _0x5d3170?this[_0x5cd933(0x185)](_0x5d3170,'rank'):_0x5d3170;}[a0_0x3d78f6(0x185)](_0x763ae0,_0x3d5905){const _0x386168=a0_0x3d78f6;return _0x763ae0[_0x386168(0x1cd)]((_0xf98bde,_0x2028ac)=>_0xf98bde[_0x3d5905]-_0x2028ac[_0x3d5905]),_0x763ae0;}}customElements[a0_0x3d78f6(0x163)](a0_0x3d78f6(0x1b7),MetaGeneratorPage);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
<ox-grist auto-fetch id="search-tab-grid" .config=${this[
|
|
3
|
-
.fetchHandler=${this[
|
|
4
|
-
</ox-grist>`;}get[
|
|
1
|
+
const a0_0x36aad8=a0_0x2ba9;(function(_0x1a71e3,_0x9658b2){const _0x138711=a0_0x2ba9,_0x36b189=_0x1a71e3();while(!![]){try{const _0xeb2606=parseInt(_0x138711(0x145))/0x1*(-parseInt(_0x138711(0x15b))/0x2)+parseInt(_0x138711(0x14c))/0x3*(parseInt(_0x138711(0x153))/0x4)+-parseInt(_0x138711(0x140))/0x5+parseInt(_0x138711(0x15a))/0x6+-parseInt(_0x138711(0x147))/0x7+parseInt(_0x138711(0x152))/0x8+-parseInt(_0x138711(0x132))/0x9*(parseInt(_0x138711(0x156))/0xa);if(_0xeb2606===_0x9658b2)break;else _0x36b189['push'](_0x36b189['shift']());}catch(_0x1aa04f){_0x36b189['push'](_0x36b189['shift']());}}}(a0_0x16df,0x701a5));import{html}from'lit-element';function a0_0x2ba9(_0xca955,_0x925f13){const _0x16df0b=a0_0x16df();return a0_0x2ba9=function(_0x2ba965,_0x109f5d){_0x2ba965=_0x2ba965-0x130;let _0x26d95b=_0x16df0b[_0x2ba965];return _0x26d95b;},a0_0x2ba9(_0xca955,_0x925f13);}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const SearchConfigTabMixin=_0x48b728=>class extends _0x48b728{[a0_0x36aad8(0x13c)](_0x2ca0aa){const _0x4c2143=a0_0x36aad8;let _0x178502=_0x2ca0aa?.[_0x4c2143(0x155)]((_0x26f7c9,_0x4e6c16)=>{const _0xaaa453=_0x4c2143;let _0x332646=_0x4e6c16+0x1,_0x5897b7={};return _0xaaa453(0x15f)==typeof _0x26f7c9?Object[_0xaaa453(0x15e)](_0x5897b7,_0x26f7c9):(_0x5897b7[_0xaaa453(0x146)]=_0x26f7c9,_0x5897b7[_0xaaa453(0x135)]=_0xaaa453(0x157)),_0x5897b7['rank']=0xa*_0x332646,_0x5897b7['id']=_0x332646,_0x5897b7;});this[_0x4c2143(0x154)]=_0x178502||[],this['searchTabGrist']?.[_0x4c2143(0x150)]();}[a0_0x36aad8(0x13e)](){const _0x8c53c7=a0_0x36aad8;let _0x460523={'search':[],'gql':{'query':{'filters':[]}}},_0x47ec68=this['getElementValueById'](_0x8c53c7(0x14d));return this[_0x8c53c7(0x148)](_0x47ec68)?.[_0x8c53c7(0x138)](_0x1acefb=>{const _0x400872=_0x8c53c7;var {name:_0x1b5d98,operator:_0x2b9061='eq',hidden:_0x16c3ae=!0x1,value:_0x1547d7}=_0x1acefb;if(_0x1b5d98){if(_0x400872(0x157)==_0x2b9061)_0x460523[_0x400872(0x14e)]['push'](_0x1b5d98);else{let _0xdbb14a={'name':_0x1b5d98,'operator':_0x2b9061};0x1==_0x16c3ae?(_0xdbb14a[_0x400872(0x137)]=_0x1547d7,_0x460523[_0x400872(0x15d)][_0x400872(0x136)][_0x400872(0x141)][_0x400872(0x159)](_0xdbb14a)):(_0xdbb14a[_0x400872(0x137)]=_0x1547d7,_0x460523['search'][_0x400872(0x159)](_0xdbb14a));}}}),_0x460523;}[a0_0x36aad8(0x133)](){const _0x17fa52=a0_0x36aad8;return html`
|
|
2
|
+
<ox-grist auto-fetch id="search-tab-grid" .config=${this[_0x17fa52(0x13d)]} .mode='GRID'
|
|
3
|
+
.fetchHandler=${this[_0x17fa52(0x130)][_0x17fa52(0x14a)](this)}>
|
|
4
|
+
</ox-grist>`;}get[a0_0x36aad8(0x14f)](){const _0x5f57ef=a0_0x36aad8;return this[_0x5f57ef(0x13f)][_0x5f57ef(0x144)](_0x5f57ef(0x151));}async[a0_0x36aad8(0x130)](){const _0x31b9bd=a0_0x36aad8;return{'total':0x0,'records':this[_0x31b9bd(0x154)]||[]};}async[a0_0x36aad8(0x13b)](){const _0x2c1b87=a0_0x36aad8;let _0x141dda=await MetaApi['getCodeSelectorData'](_0x2c1b87(0x131));this[_0x2c1b87(0x13d)]={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x2c1b87(0x149),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x2c1b87(0x134)](!0x1,!0x1),{'type':_0x2c1b87(0x14b),'gutterName':'button','icon':'delete','handlers':{'click':(_0x18255f,_0x585629,_0x45bfa0,_0x2a86b9,_0x1e02c2)=>{const _0x5d89a5=_0x2c1b87;_0x2a86b9['id']&&this['deleteRow'](this[_0x5d89a5(0x14f)],_0x2a86b9);}}},{'type':_0x2c1b87(0x158),'name':'id','hidden':!0x0},{'type':'integer','name':_0x2c1b87(0x149),'header':TermsUtil[_0x2c1b87(0x139)](_0x2c1b87(0x149)),'sortable':!0x0,'width':0x41,'record':{'align':'right','editable':!0x0,'mandatory':!0x0}},{'type':_0x2c1b87(0x158),'name':_0x2c1b87(0x146),'header':TermsUtil[_0x2c1b87(0x139)](_0x2c1b87(0x146)),'sortable':!0x1,'width':0x9b,'record':{'align':_0x2c1b87(0x142),'editable':!0x0,'mandatory':!0x0}},{'type':_0x2c1b87(0x15c),'name':_0x2c1b87(0x135),'header':TermsUtil[_0x2c1b87(0x139)](_0x2c1b87(0x143)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x1,'options':_0x141dda}},{'type':_0x2c1b87(0x13a),'name':'hidden','header':TermsUtil['tLabel']('hidden'),'sortable':!0x1,'width':0x41,'record':{'align':'center','mandatory':!0x1,'editable':!0x0}},{'type':_0x2c1b87(0x158),'name':'value','header':TermsUtil[_0x2c1b87(0x139)]('default_value'),'sortable':!0x1,'width':0xc8,'record':{'align':_0x2c1b87(0x142),'editable':!0x0,'mandatory':!0x1}}]};}};function a0_0x16df(){const _0xb4ee7f=['renderSearchConfigTab','getGristGuttersConfig','operator','query','value','forEach','tLabel','boolean','setSearchConfigTabConfig','setSearchConfigTabValues','searchTabGridConfig','getSearchConfigTabValues','shadowRoot','1881280VBXIQY','filters','left','search_operator','querySelector','19tBLCNA','name','2603699dslRmE','sortRecordByRank','rank','bind','gutter','777uLrBof','search-tab-grid','search','searchTabGrist','fetch','#search-tab-grid','4853696kKydPj','12952uUjDok','viewSearchData','map','68380JxUZHO','filter','string','push','796776OrBeiD','38308hoJbXI','select','gql','assign','object','fetchSearchTabHandler','FILTER_OPERATORS','9aNHqPK'];a0_0x16df=function(){return _0xb4ee7f;};return a0_0x16df();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
<ox-grist auto-fetch id="tab-tab-grid" .config=${this[
|
|
3
|
-
.fetchHandler=${this[
|
|
4
|
-
</ox-grist>`;}get[
|
|
1
|
+
const a0_0x50842d=a0_0xc942;function a0_0xc942(_0x2b915a,_0x3fa6bc){const _0x53209e=a0_0x5320();return a0_0xc942=function(_0xc942af,_0xba296b){_0xc942af=_0xc942af-0x177;let _0x3b6d0c=_0x53209e[_0xc942af];return _0x3b6d0c;},a0_0xc942(_0x2b915a,_0x3fa6bc);}(function(_0x9e5801,_0x249387){const _0x47ae32=a0_0xc942,_0x19d0ad=_0x9e5801();while(!![]){try{const _0x370fb3=parseInt(_0x47ae32(0x182))/0x1+-parseInt(_0x47ae32(0x18e))/0x2+parseInt(_0x47ae32(0x19f))/0x3+parseInt(_0x47ae32(0x17f))/0x4*(parseInt(_0x47ae32(0x189))/0x5)+-parseInt(_0x47ae32(0x18a))/0x6+-parseInt(_0x47ae32(0x1a3))/0x7*(-parseInt(_0x47ae32(0x199))/0x8)+-parseInt(_0x47ae32(0x191))/0x9;if(_0x370fb3===_0x249387)break;else _0x19d0ad['push'](_0x19d0ad['shift']());}catch(_0x16655b){_0x19d0ad['push'](_0x19d0ad['shift']());}}}(a0_0x5320,0x9a73e));import{html}from'lit-element';function a0_0x5320(){const _0x89855d=['tab','display','sortRecordByRank','10KDTSrp','4792224jAHJUK','tabTabGridConfig','center','name','1144562RTwlpQ','getElementValueById','gutter','389421MdSiDl','fetchTabTabHandler','routing','rank','right','tab-tab-grid','string','bind','40fxrROV','param_field','deleteRow','tLabel','viewTabData','integer','174057deEhIm','parent_field','location','left','918134JNOata','querySelector','params','map','menu','setTabConfigTabValues','icon','tagname','forEach','1961680eSuCEY','parent_id','getTabConfigTabValues','352223EEomzB','tag','button','tabTabGrist'];a0_0x5320=function(){return _0x89855d;};return a0_0x5320();}import{MetaApi}from'@things-factory/meta-ui/client/utils/meta-api';import{TermsUtil}from'@things-factory/meta-ui/client/utils/terms-util';export const TabConfigTabMixin=_0x423935=>class extends _0x423935{[a0_0x50842d(0x17b)](_0x5e4425){const _0x3cc682=a0_0x50842d;let _0x2cbca7=_0x5e4425?.[_0x3cc682(0x179)]((_0x79cf55,_0x4f6cbb)=>{const _0x4ec375=_0x3cc682;let _0x185dbb=_0x4f6cbb+0x1,_0x3b678b={};return _0x3b678b[_0x4ec375(0x194)]=0xa*_0x185dbb,_0x3b678b['id']=_0x185dbb,_0x3b678b[_0x4ec375(0x18d)]=_0x79cf55[_0x4ec375(0x18d)],_0x3b678b['display']=_0x79cf55['display'],_0x3b678b[_0x4ec375(0x17d)]=_0x79cf55[_0x4ec375(0x17d)],_0x3b678b[_0x4ec375(0x17c)]=_0x79cf55[_0x4ec375(0x17c)],_0x3b678b[_0x4ec375(0x1a1)]=_0x79cf55[_0x4ec375(0x1a1)],_0x3b678b[_0x4ec375(0x1a0)]=_0x79cf55[_0x4ec375(0x1a0)],_0x3b678b[_0x4ec375(0x19a)]=_0x79cf55[_0x4ec375(0x19a)],_0x3b678b[_0x4ec375(0x17a)]=_0x79cf55[_0x4ec375(0x17a)],_0x3b678b;});this[_0x3cc682(0x19d)]=_0x2cbca7||[],this[_0x3cc682(0x185)]?.['fetch']();}[a0_0x50842d(0x181)](){const _0x24f9e2=a0_0x50842d;let _0x29f29d={'tab':[]},_0x18b183=this[_0x24f9e2(0x18f)](_0x24f9e2(0x196));return this[_0x24f9e2(0x188)](_0x18b183)?.[_0x24f9e2(0x17e)](_0xc4d9a4=>{const _0x395eaf=_0x24f9e2;var {name:_0x11b675,display:_0x3f496d,tagname:_0x10ca23,location:_0x324d31,parent_field:_0x547df1,param_field:_0x455e15,menu:_0x48f31d,icon:_0x1195c7}=_0xc4d9a4;_0x11b675&&_0x10ca23&&_0x324d31&&_0x48f31d&&(_0x3f496d||(_0x3f496d=_0x11b675),_0x547df1||(_0x547df1='id'),_0x455e15||(_0x455e15=_0x395eaf(0x19a)),_0x29f29d[_0x395eaf(0x186)]['push']({'name':_0x11b675,'display':_0x3f496d,'tagname':_0x10ca23,'location':_0x324d31,'parent_field':_0x547df1,'param_field':_0x455e15,'menu':_0x48f31d,'icon':_0x1195c7}));}),_0x29f29d;}['renderTabConfigTab'](){const _0x3081bd=a0_0x50842d;return html`
|
|
2
|
+
<ox-grist auto-fetch id="tab-tab-grid" .config=${this[_0x3081bd(0x18b)]} .mode='GRID'
|
|
3
|
+
.fetchHandler=${this[_0x3081bd(0x192)][_0x3081bd(0x198)](this)}>
|
|
4
|
+
</ox-grist>`;}get[a0_0x50842d(0x185)](){const _0x436c44=a0_0x50842d;return this['shadowRoot'][_0x436c44(0x177)]('#tab-tab-grid');}async[a0_0x50842d(0x192)](){const _0x248b70=a0_0x50842d;return{'total':0x0,'records':this[_0x248b70(0x19d)]||[]};}async['setTabConfigTabConfig'](){const _0x489d8f=a0_0x50842d;this['tabTabGridConfig']={'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':{'infinite':!0x0},'sorters':[{'name':_0x489d8f(0x194),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x1,!0x1),{'type':_0x489d8f(0x190),'gutterName':_0x489d8f(0x184),'icon':'delete','handlers':{'click':(_0x1c13d5,_0x3eae08,_0x3d2d43,_0x475836,_0x4f1a8a)=>{const _0x276fc8=_0x489d8f;_0x475836['id']&&this[_0x276fc8(0x19b)](this['tabTabGrist'],_0x475836);}}},{'type':_0x489d8f(0x197),'name':'id','hidden':!0x0},{'type':_0x489d8f(0x19e),'name':_0x489d8f(0x194),'header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x194)),'sortable':!0x0,'width':0x41,'record':{'align':_0x489d8f(0x195),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x18d),'header':TermsUtil['tLabel'](_0x489d8f(0x18d)),'sortable':!0x1,'width':0x64,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x187),'header':TermsUtil[_0x489d8f(0x19c)]('display'),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':'icon','header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x17c)),'sortable':!0x0,'width':0x41,'record':{'align':_0x489d8f(0x18c),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x17a),'header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x193)),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x17d),'header':TermsUtil['tLabel'](_0x489d8f(0x183)),'sortable':!0x1,'width':0x96,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':'location','header':TermsUtil[_0x489d8f(0x19c)]('page_location'),'sortable':!0x1,'width':0x12c,'record':{'align':'left','editable':!0x0,'mandatory':!0x0}},{'type':'string','name':_0x489d8f(0x1a0),'header':TermsUtil[_0x489d8f(0x19c)](_0x489d8f(0x180)),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}},{'type':_0x489d8f(0x197),'name':_0x489d8f(0x19a),'header':TermsUtil['tLabel'](_0x489d8f(0x178)),'sortable':!0x1,'width':0x64,'record':{'align':_0x489d8f(0x1a2),'editable':!0x0,'mandatory':!0x0}}]};}};
|
package/client/pages/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x417f97=a0_0x5aa3;function a0_0x1124(){var _0x4d656d=['tText','tool\x20start\x20msg','define','240COfOeE','109863VUoMDj','14HfILWL','Operato\x20Tools','render','271827dgqaou','17682148qejrUF','customElements','84222PYIqfx','26ignvCM','1078504dSEQev','operato-tools-main','8305CiMddM','2700812sTETBW','20xpFnVs'];a0_0x1124=function(){return _0x4d656d;};return a0_0x1124();}function a0_0x5aa3(_0x333224,_0x1f11b4){var _0x1124c6=a0_0x1124();return a0_0x5aa3=function(_0x5aa3b4,_0x151154){_0x5aa3b4=_0x5aa3b4-0x19c;var _0x3d2c03=_0x1124c6[_0x5aa3b4];return _0x3d2c03;},a0_0x5aa3(_0x333224,_0x1f11b4);}(function(_0x47df8b,_0x27048d){var _0x2ee343=a0_0x5aa3,_0x255f9d=_0x47df8b();while(!![]){try{var _0x2031b0=-parseInt(_0x2ee343(0x1a7))/0x1+parseInt(_0x2ee343(0x1a4))/0x2*(parseInt(_0x2ee343(0x19c))/0x3)+-parseInt(_0x2ee343(0x1a8))/0x4+-parseInt(_0x2ee343(0x1ad))/0x5*(parseInt(_0x2ee343(0x1a3))/0x6)+-parseInt(_0x2ee343(0x19d))/0x7*(parseInt(_0x2ee343(0x1a5))/0x8)+-parseInt(_0x2ee343(0x1a0))/0x9*(parseInt(_0x2ee343(0x1a9))/0xa)+parseInt(_0x2ee343(0x1a1))/0xb;if(_0x2031b0===_0x27048d)break;else _0x255f9d['push'](_0x255f9d['shift']());}catch(_0x4a2947){_0x255f9d['push'](_0x255f9d['shift']());}}}(a0_0x1124,0x60bc1));import{html,css}from'lit-element';import{connect}from'pwa-helpers/connect-mixin.js';import{store,PageView}from'@things-factory/shell';import{TermsUtil}from'@things-factory/meta-ui';class OperatoToolsMain extends connect(store)(PageView){static get['styles'](){return[css`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
background-color: var(--main-section-background-color);
|
|
@@ -41,11 +41,11 @@ var a0_0x2b950a=a0_0x27a5;(function(_0x2540f2,_0x207852){var _0x539df8=a0_0x27a5
|
|
|
41
41
|
display: none;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
`];}get[
|
|
44
|
+
`];}get['context'](){var _0x36666f=a0_0x5aa3;return{'title':_0x36666f(0x19e),'actions':[]};}[a0_0x417f97(0x19f)](){var _0x3a4bdc=a0_0x417f97;return html`
|
|
45
45
|
<h2>Operato Tools</h2>
|
|
46
46
|
<p page-description>
|
|
47
|
-
${TermsUtil[
|
|
47
|
+
${TermsUtil[_0x3a4bdc(0x1aa)](_0x3a4bdc(0x1ab))}
|
|
48
48
|
</p>
|
|
49
49
|
|
|
50
50
|
<img src="/assets/images/operato-tools.png" />
|
|
51
|
-
`;}}
|
|
51
|
+
`;}}window[a0_0x417f97(0x1a2)][a0_0x417f97(0x1ac)](a0_0x417f97(0x1a6),OperatoToolsMain);
|
package/client/reducers/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2acc34=a0_0x4cc5;(function(_0x3fff14,_0x1a71a0){const _0x197d08=a0_0x4cc5,_0x2ace6e=_0x3fff14();while(!![]){try{const _0xe6b826=-parseInt(_0x197d08(0x1a2))/0x1*(-parseInt(_0x197d08(0x1a9))/0x2)+-parseInt(_0x197d08(0x1a3))/0x3+parseInt(_0x197d08(0x1a1))/0x4*(parseInt(_0x197d08(0x1a8))/0x5)+-parseInt(_0x197d08(0x1a5))/0x6+parseInt(_0x197d08(0x1a7))/0x7+parseInt(_0x197d08(0x1ad))/0x8*(-parseInt(_0x197d08(0x19f))/0x9)+parseInt(_0x197d08(0x1a4))/0xa;if(_0xe6b826===_0x1a71a0)break;else _0x2ace6e['push'](_0x2ace6e['shift']());}catch(_0x4c3319){_0x2ace6e['push'](_0x2ace6e['shift']());}}}(a0_0x48b7,0x1dfb5));import a0_0x2ceecd from'graphql-tag';function a0_0x4cc5(_0x3d15e0,_0x454a5e){const _0x48b731=a0_0x48b7();return a0_0x4cc5=function(_0x4cc520,_0x5bab72){_0x4cc520=_0x4cc520-0x19f;let _0x69ee6a=_0x48b731[_0x4cc520];return _0x69ee6a;},a0_0x4cc5(_0x3d15e0,_0x454a5e);}import{i18next}from'@operato/i18n';import{store}from'@operato/shell';import{client,gqlContext}from'@operato/graphql';import{UPDATE_OPERATO_TOOLS}from'../actions/main';const INITIAL_STATE={'operatoTools':'ABC','studioPermission':!0x1};function a0_0x48b7(){const _0x5a56fc=['1646GySEud','type','UPDATE_OPERATO_TOOLS_PERMISSION','data','1460256jxSYpp','query','9erlNaI','errors','243088dvaAFo','35EVUiSP','449634Xqhlta','2645780yfiCri','539760DqYgJz','dispatch','486332fsIeJb','15yCoCml'];a0_0x48b7=function(){return _0x5a56fc;};return a0_0x48b7();}export const UPDATE_OPERATO_TOOLS_PERMISSION=a0_0x2acc34(0x1ab);((async()=>{const _0x310508=a0_0x2acc34;var _0x1b54d1=await client[_0x310508(0x1ae)]({'query':a0_0x2ceecd`{studioPermission}`});let _0x1a5dd2=!0x1;_0x1b54d1[_0x310508(0x1a0)]||(_0x1a5dd2=_0x1b54d1[_0x310508(0x1ac)]['studioPermission']),store[_0x310508(0x1a6)]({'type':UPDATE_OPERATO_TOOLS_PERMISSION,'state':{'studioPermission':_0x1a5dd2}});})());const operatoTools=(_0xa214de=INITIAL_STATE,_0x386bf8)=>{const _0x2db337=a0_0x2acc34;switch(_0x386bf8[_0x2db337(0x1aa)]){case UPDATE_OPERATO_TOOLS:return{..._0xa214de};case UPDATE_OPERATO_TOOLS_PERMISSION:return{...INITIAL_STATE,..._0x386bf8['state']};default:return _0xa214de;}};export default operatoTools;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a0_0x3f411e=a0_0x5e0f;function a0_0x5af7(){var _0x5ed7ae=['26118DLFVXJ','INVALID_LICENSE','450186geNZVG','2072838GYwbbG','5227796WMHTza','error.page\x20count\x20over\x20license\x20limit','6965GkWzDA','OVER_LIMIT','3798pHnimU','__esModule','error.invalid\x20license\x20key','399911vPxfYp','12016GnJzQk','3033432lkyfXd'];a0_0x5af7=function(){return _0x5ed7ae;};return a0_0x5af7();}function a0_0x5e0f(_0x4fe419,_0x26d090){var _0x5af7f4=a0_0x5af7();return a0_0x5e0f=function(_0x5e0f19,_0x50ced8){_0x5e0f19=_0x5e0f19-0x1f1;var _0x4f8fe5=_0x5af7f4[_0x5e0f19];return _0x4f8fe5;},a0_0x5e0f(_0x4fe419,_0x26d090);}(function(_0x24ebb7,_0x3f3539){var _0x2ecd7a=a0_0x5e0f,_0x455a61=_0x24ebb7();while(!![]){try{var _0x5b5b8a=-parseInt(_0x2ecd7a(0x1f7))/0x1+-parseInt(_0x2ecd7a(0x1fd))/0x2+parseInt(_0x2ecd7a(0x1fc))/0x3+-parseInt(_0x2ecd7a(0x1f9))/0x4+-parseInt(_0x2ecd7a(0x1f2))/0x5*(parseInt(_0x2ecd7a(0x1f4))/0x6)+-parseInt(_0x2ecd7a(0x1fe))/0x7+parseInt(_0x2ecd7a(0x1f8))/0x8*(parseInt(_0x2ecd7a(0x1fa))/0x9);if(_0x5b5b8a===_0x3f3539)break;else _0x455a61['push'](_0x455a61['shift']());}catch(_0x494568){_0x455a61['push'](_0x455a61['shift']());}}}(a0_0x5af7,0xa760d));Object['defineProperty'](exports,a0_0x3f411e(0x1f5),{'value':!0x0}),exports[a0_0x3f411e(0x1f3)]=exports[a0_0x3f411e(0x1fb)]=void 0x0,exports[a0_0x3f411e(0x1fb)]=a0_0x3f411e(0x1f6),exports[a0_0x3f411e(0x1f3)]=a0_0x3f411e(0x1f1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0xda4c5a=a0_0x2fad;function a0_0x496d(){const _0x11684d=['detail','name','200449GKSFrY','441189oGiqRK','ERROR_CODES','__esModule','408635mMUKtb','4ACFiyM','LicenseError','../constants/error-code','__importStar','assign','license-error','tslib','1752740TDEolN','1804803RTEyyh','10837168xjeINm','defineProperty','302778PXBBKd'];a0_0x496d=function(){return _0x11684d;};return a0_0x496d();}(function(_0xcabe97,_0x5a9882){const _0x3993e7=a0_0x2fad,_0x4f19ee=_0xcabe97();while(!![]){try{const _0x452f31=parseInt(_0x3993e7(0x16a))/0x1+parseInt(_0x3993e7(0x176))/0x2+parseInt(_0x3993e7(0x177))/0x3+-parseInt(_0x3993e7(0x16f))/0x4*(-parseInt(_0x3993e7(0x16e))/0x5)+parseInt(_0x3993e7(0x167))/0x6+parseInt(_0x3993e7(0x16b))/0x7+-parseInt(_0x3993e7(0x165))/0x8;if(_0x452f31===_0x5a9882)break;else _0x4f19ee['push'](_0x4f19ee['shift']());}catch(_0x1291a5){_0x4f19ee['push'](_0x4f19ee['shift']());}}}(a0_0x496d,0x7eb4f));Object[a0_0xda4c5a(0x166)](exports,a0_0xda4c5a(0x16d),{'value':!0x0}),exports['LicenseError']=void 0x0;function a0_0x2fad(_0x5dbf8a,_0x75d660){const _0x496d18=a0_0x496d();return a0_0x2fad=function(_0x2fadac,_0x6a147a){_0x2fadac=_0x2fadac-0x165;let _0x1c8d9b=_0x496d18[_0x2fadac];return _0x1c8d9b;},a0_0x2fad(_0x5dbf8a,_0x75d660);}const tslib_1=require(a0_0xda4c5a(0x175)),ERROR_CODES=tslib_1[a0_0xda4c5a(0x172)](require(a0_0xda4c5a(0x171)));class LicenseError extends Error{static get[a0_0xda4c5a(0x16c)](){const _0x582fb2=a0_0xda4c5a;return Object[_0x582fb2(0x173)]({},ERROR_CODES);}constructor({errorCode:_0x174dda,detail:_0x254bc2}){const _0x22469f=a0_0xda4c5a;super(_0x174dda),this[_0x22469f(0x169)]=_0x22469f(0x174),this['errorCode']=_0x174dda,this[_0x22469f(0x168)]=_0x254bc2;}}exports[a0_0xda4c5a(0x170)]=LicenseError;
|