@things-factory/meta-ui 6.1.51 → 6.1.53
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 +4 -4
- package/client/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +9 -9
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +6 -6
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
- package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
- package/client/component/popup/code-input-editor-popup.js +10 -10
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-main-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +16 -16
- package/client/pages/menu/export-menu-popup.js +7 -7
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-detail-element.js +1 -1
- package/client/pages/meta-tab-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- package/client/reducers/main.js +1 -1
- package/client/utils/grist-default-value.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +103 -103
- package/client/utils/service-util.js +13 -13
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +12 -12
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/dynamic-menu/dynamic-menu-query.js +1 -1
- package/server/service/dynamic-menu/dynamic-menu-type.js +1 -1
- package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
- package/translations/en.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x22385e=a0_0x59b1;(function(_0x2cff74,_0x21c6aa){const _0x16e68f=a0_0x59b1,_0x2e1fae=_0x2cff74();while(!![]){try{const _0x5e9f01=-parseInt(_0x16e68f(0x1df))/0x1*(-parseInt(_0x16e68f(0x209))/0x2)+parseInt(_0x16e68f(0x232))/0x3+parseInt(_0x16e68f(0x1e7))/0x4*(-parseInt(_0x16e68f(0x1dc))/0x5)+parseInt(_0x16e68f(0x1f4))/0x6*(parseInt(_0x16e68f(0x1ef))/0x7)+-parseInt(_0x16e68f(0x1de))/0x8*(-parseInt(_0x16e68f(0x1d4))/0x9)+parseInt(_0x16e68f(0x1c4))/0xa*(-parseInt(_0x16e68f(0x1bf))/0xb)+parseInt(_0x16e68f(0x1f1))/0xc;if(_0x5e9f01===_0x21c6aa)break;else _0x2e1fae['push'](_0x2e1fae['shift']());}catch(_0x58942a){_0x2e1fae['push'](_0x2e1fae['shift']());}}}(a0_0x56ac,0x7b7f7));import{html}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import'@things-factory/form-ui';import{TermsUtil}from'./../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';function a0_0x59b1(_0x50361e,_0x609000){const _0x56ac65=a0_0x56ac();return a0_0x59b1=function(_0x59b18a,_0x548474){_0x59b18a=_0x59b18a-0x1ad;let _0xaf15bb=_0x56ac65[_0x59b18a];return _0xaf15bb;},a0_0x59b1(_0x50361e,_0x609000);}import'./dynamic-menu-template.js';import'./export-menu-popup.js';import{ValueUtil}from'../../utils/value-util';function a0_0x56ac(){const _0x2dedbd=['detailConfig','left','menu_open','getGristCodeSelectorColumnConfig','deleteMenu','category','recordName','copy','165cTSeIt','is_null','construction','right','exportMenu','365310cTiKWU','shadowRoot','getGristSelectableConfig','name','searchByPagination','code','download','properties','getGristColumnConfig','menuType','\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20','groupGrist','button','dynamic-menu','parent-menu','save','18wybdLT','export-menu-popup','cuFlag','data','#detail-grist','templateCode','i_like','parentId','29765inTXYV','getQueryFilters','1999496RNRkqT','2ADwGDG','resourceUrl','groupMenuQuery','searchForm','getGristSearchCodeColumnConfig','isNotEmpty','getCodeByEntity','menu_template_search_text','52jabaxC','menuGroupId','large','records','dynamic_menu','routingType','parent','page_location','7jhkMvn','navigateMetaGenerator','778632iNtxXE','groupConfig','iconPath','1011360MPgOjw','hidden','forEach','searchFields','patchesForUpdateMultiple','gutter','SCREEN','tButton','filter','deleteMenus','like','MENU_TEXT_SEARCH_TYPE','MENU_PAGE_ROUTING_TYPE','deleteGroup','rank','define','context','fetch','deleteListByGristSelected','#master-grist','fetchDetailHandler','7538MNOHaP','title','fetchGroupHandler','templateText','getGristPagination50Config','delete','tMenu','getBasicMasterDetailGristStyle','menu','MENU_TYPE','dynamic-menu-template','LIST','icon','openPopupByElement','center','pageNavigate','confirm','dynamicMenus','createCustomElement','includes','boolean','checkbox','saveMenu','getGristSearchColumnConfig','getGristColumnConfig2','menu_group','styles','saveGroup','-copy','GRID','detailGrist','info','isMobileEnv','string','bind','tLabel','meta-code-selector','querySelector','render','menus','menu_type','1171029asioqB','integer','template','openMenuTemplatePopup','recordId','updateMultipleMenu','text.there_is_no_selected_items','select','updateMultiple','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','startsWith','ox-filters-form-base','export','tag','copyMenu','tTitle','hiddenFlag','routing'];a0_0x56ac=function(){return _0x2dedbd;};return a0_0x56ac();}import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class DynamicMenu extends localize(i18next)(PageView){static get[a0_0x22385e(0x1cb)](){return{'searchFields':Array,'groupConfig':Object,'detailConfig':Object,'menuGroupId':String};}static get[a0_0x22385e(0x223)](){const _0x30a22b=a0_0x22385e;return MetaApi[_0x30a22b(0x210)]('top-down');}[a0_0x22385e(0x22f)](){const _0x349aa1=a0_0x22385e;return html`
|
|
2
2
|
<div slot="headroom">
|
|
3
3
|
<div id="filters">
|
|
4
4
|
<ox-filters-form-base
|
|
5
|
-
.filters=${this[
|
|
6
|
-
@filters-change=${
|
|
5
|
+
.filters=${this[_0x349aa1(0x1f7)]||[]}
|
|
6
|
+
@filters-change=${_0x31d2a5=>{const _0x4ee0f=_0x349aa1;this[_0x4ee0f(0x1cf)]?.['fetch']();}}
|
|
7
7
|
></ox-filters-form-base>
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
@@ -11,34 +11,34 @@ const a0_0x4a38e0=a0_0x3142;(function(_0x18bdb3,_0x4326d3){const _0x44681f=a0_0x
|
|
|
11
11
|
<div class='container'>
|
|
12
12
|
<div class="container_detail">
|
|
13
13
|
<h2>
|
|
14
|
-
<mwc-icon>list_alt</mwc-icon>${TermsUtil[
|
|
14
|
+
<mwc-icon>list_alt</mwc-icon>${TermsUtil[_0x349aa1(0x1b4)](_0x349aa1(0x222))}
|
|
15
15
|
</h2>
|
|
16
16
|
<ox-grist
|
|
17
17
|
id="master-grist"
|
|
18
|
-
.config=${this[
|
|
19
|
-
.mode=${MetaApi[
|
|
18
|
+
.config=${this['groupConfig']}
|
|
19
|
+
.mode=${MetaApi['isMobileEnv']()?_0x349aa1(0x214):'GRID'}
|
|
20
20
|
auto-fetch
|
|
21
|
-
.fetchHandler=${this[
|
|
21
|
+
.fetchHandler=${this[_0x349aa1(0x20b)][_0x349aa1(0x22b)](this)}>
|
|
22
22
|
</ox-grist>
|
|
23
23
|
<div id="button-container" class="button-container">
|
|
24
|
-
<mwc-button raised label="${TermsUtil[
|
|
25
|
-
<mwc-button raised label="${TermsUtil[
|
|
24
|
+
<mwc-button raised label="${TermsUtil[_0x349aa1(0x1fb)]('save')}" @click=${_0x657205=>this[_0x349aa1(0x224)]()}></mwc-button>
|
|
25
|
+
<mwc-button raised label="${TermsUtil[_0x349aa1(0x1fb)](_0x349aa1(0x20e))}" @click=${_0x12c274=>this['deleteGroup']()}></mwc-button>
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
29
|
<div class="container_detail">
|
|
30
30
|
<ox-grist
|
|
31
31
|
id="detail-grist"
|
|
32
|
-
.config=${this[
|
|
33
|
-
.mode=${MetaApi[
|
|
32
|
+
.config=${this[_0x349aa1(0x1b7)]}
|
|
33
|
+
.mode=${MetaApi[_0x349aa1(0x229)]()?'LIST':_0x349aa1(0x226)}
|
|
34
34
|
explcit-fetch
|
|
35
|
-
.fetchHandler=${this['
|
|
35
|
+
.fetchHandler=${this[_0x349aa1(0x208)]['bind'](this)}>
|
|
36
36
|
</ox-grist>
|
|
37
37
|
<div id="button-container" class="button-container">
|
|
38
|
-
<mwc-button raised label="${TermsUtil[
|
|
39
|
-
<mwc-button raised label="${TermsUtil[
|
|
40
|
-
<mwc-button raised label="${TermsUtil[
|
|
38
|
+
<mwc-button raised label="${TermsUtil[_0x349aa1(0x1fb)](_0x349aa1(0x1be))}" @click=${_0x255944=>this[_0x349aa1(0x1b3)]()}></mwc-button>
|
|
39
|
+
<mwc-button raised label="${TermsUtil[_0x349aa1(0x1fb)](_0x349aa1(0x1d3))}" @click=${_0x32defb=>this[_0x349aa1(0x21f)]()}></mwc-button>
|
|
40
|
+
<mwc-button raised label="${TermsUtil[_0x349aa1(0x1fb)]('delete')}" @click=${_0x20b925=>this[_0x349aa1(0x1bb)]()}></mwc-button>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
|
-
`;}get[a0_0x4a38e0(0x1fc)](){const _0x13f425=a0_0x4a38e0;return{'title':TermsUtil[_0x13f425(0x246)]('dynamic_menu')};}get[a0_0x4a38e0(0x22d)](){const _0xa62d1f=a0_0x4a38e0;return this['shadowRoot']['querySelector'](_0xa62d1f(0x25d));}get['groupGrist'](){const _0x42bbff=a0_0x4a38e0;return this[_0x42bbff(0x21e)][_0x42bbff(0x239)](_0x42bbff(0x265));}get[a0_0x4a38e0(0x255)](){const _0x4d7c24=a0_0x4a38e0;return this['shadowRoot'][_0x4d7c24(0x239)](_0x4d7c24(0x257));}async[a0_0x4a38e0(0x26b)]({page:_0x582fe6,limit:_0x135a93,sorters:_0x32a9d9=[{'name':a0_0x4a38e0(0x1f7)},{'name':a0_0x4a38e0(0x202)}]}){const _0x3c1dff=a0_0x4a38e0;if(this[_0x3c1dff(0x25c)]){let _0x4f6455=[{'name':'parentId','operator':'eq','value':this[_0x3c1dff(0x25c)]},...(await this[_0x3c1dff(0x22d)]['getQueryFilters']())[_0x3c1dff(0x22a)](_0x445948=>[_0x3c1dff(0x1fd),_0x3c1dff(0x234)][_0x3c1dff(0x201)](_0x445948[_0x3c1dff(0x202)]))],_0xb28e66='\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20',_0x32962d=await MetaApi['searchByPagination'](_0x3c1dff(0x243),_0x4f6455,_0x32a9d9,_0x582fe6,_0x135a93,_0xb28e66);return _0x32962d&&_0x32962d['records']&&_0x32962d[_0x3c1dff(0x20e)][_0x3c1dff(0x275)](_0x4e7c76=>{_0x4e7c76['parentId']=this['menuGroupId'];}),_0x32962d;}}async[a0_0x4a38e0(0x203)]({page:_0x26eda6,limit:_0x55cd4d,sorters:_0x41966f=[{'name':'rank'},{'name':a0_0x4a38e0(0x202)}]}){const _0x166ba6=a0_0x4a38e0;this[_0x166ba6(0x25c)]=null,this[_0x166ba6(0x255)]&&this[_0x166ba6(0x255)][_0x166ba6(0x268)]&&(this[_0x166ba6(0x255)]['data']={});let _0x37ea57=[...await this[_0x166ba6(0x22d)][_0x166ba6(0x24b)](),{'name':_0x166ba6(0x26a),'operator':'is_null','value':''}];return await MetaApi[_0x166ba6(0x223)](_0x166ba6(0x243),_0x37ea57,_0x41966f,_0x26eda6,_0x55cd4d,_0x166ba6(0x207));}async[a0_0x4a38e0(0x237)](){const _0x5d92de=a0_0x4a38e0;let _0x5f0157=MetaApi[_0x5d92de(0x215)](this[_0x5d92de(0x278)]);ValueUtil['isNotEmpty'](_0x5f0157)&&(_0x5f0157[_0x5d92de(0x275)](_0x1fb4f2=>{const _0x2716fd=_0x5d92de;void 0x0!==_0x1fb4f2['hiddenFlag']&&null!=_0x1fb4f2[_0x2716fd(0x1f4)]||(_0x1fb4f2[_0x2716fd(0x1f4)]=!0x1);}),await MetaApi[_0x5d92de(0x241)]('updateMultipleMenu',_0x5f0157)&&this[_0x5d92de(0x278)][_0x5d92de(0x211)]());}async[a0_0x4a38e0(0x218)](){const _0x5a074d=a0_0x4a38e0;await MetaApi['deleteListByGristSelected'](this[_0x5a074d(0x278)],_0x5a074d(0x209));}async['saveMenu'](){const _0x526b0e=a0_0x4a38e0;let _0x124128=MetaApi[_0x526b0e(0x215)](this[_0x526b0e(0x255)]);ValueUtil[_0x526b0e(0x213)](_0x124128)&&(_0x124128[_0x526b0e(0x275)](_0x3543ab=>{const _0x5ac4a6=_0x526b0e;_0x3543ab[_0x5ac4a6(0x235)]=_0x3543ab['menuType']||_0x5ac4a6(0x1fb),_0x3543ab[_0x5ac4a6(0x26a)]?(_0x3543ab[_0x5ac4a6(0x220)]={'id':_0x3543ab[_0x5ac4a6(0x26a)]},delete _0x3543ab[_0x5ac4a6(0x26a)]):_0x3543ab[_0x5ac4a6(0x220)]={'id':this[_0x5ac4a6(0x25c)]},void 0x0!==_0x3543ab['hiddenFlag']&&null!=_0x3543ab[_0x5ac4a6(0x1f4)]||(_0x3543ab[_0x5ac4a6(0x1f4)]=!0x1);}),await MetaApi['updateMultiple'](_0x526b0e(0x228),_0x124128)&&this['detailGrist'][_0x526b0e(0x211)]());}async[a0_0x4a38e0(0x26c)](_0x39cb13){const _0x170ee4=a0_0x4a38e0;let _0x58f82e=MetaApi[_0x170ee4(0x23b)]('export-menu-popup',_0x170ee4(0x259));_0x58f82e[_0x170ee4(0x1fe)]=TermsUtil[_0x170ee4(0x20d)]('export'),_0x58f82e[_0x170ee4(0x245)]=_0x39cb13['id'],_0x58f82e['recordName']=_0x39cb13[_0x170ee4(0x202)],await MetaApi[_0x170ee4(0x216)](_0x39cb13['name'],_0x170ee4(0x25b),_0x58f82e,!0x0);}async[a0_0x4a38e0(0x244)](){const _0xf14e92=a0_0x4a38e0;await MetaApi['deleteListByGristSelected'](this['detailGrist'],_0xf14e92(0x209));}async[a0_0x4a38e0(0x240)](){const _0xab6e43=a0_0x4a38e0;let _0x47b327=this[_0xab6e43(0x255)]['selected'];if(!_0x47b327||0x0==_0x47b327[_0xab6e43(0x261)])return void UiUtil[_0xab6e43(0x227)]('text.nothing_selected',_0xab6e43(0x204),_0xab6e43(0x210),_0xab6e43(0x225));let _0x41e4fb=_0x47b327[0x0];if(!_0x41e4fb['id'])return;Object[_0xab6e43(0x233)](_0x41e4fb)[_0xab6e43(0x275)](_0x4c3e33=>{const _0x1bedbb=_0xab6e43;_0x4c3e33[_0x1bedbb(0x208)]('__')&&delete _0x41e4fb[_0x4c3e33];});let _0x1413f4=await MetaApi['findOne'](_0xab6e43(0x23c),_0x41e4fb['id'],'template');_0x41e4fb['template']=_0x1413f4&&_0x1413f4[_0xab6e43(0x20b)]||'',_0x41e4fb[_0xab6e43(0x1f7)]=0x1869f,_0x41e4fb[_0xab6e43(0x21b)]='+',_0x41e4fb[_0xab6e43(0x202)]=_0x41e4fb[_0xab6e43(0x202)]+_0xab6e43(0x254),_0x41e4fb[_0xab6e43(0x273)]=_0x41e4fb[_0xab6e43(0x273)]+'-copy',_0x41e4fb[_0xab6e43(0x220)]={'id':_0x41e4fb[_0xab6e43(0x26a)]},delete _0x41e4fb['id'],delete _0x41e4fb[_0xab6e43(0x26a)],await MetaApi[_0xab6e43(0x241)](_0xab6e43(0x228),[_0x41e4fb])&&this[_0xab6e43(0x255)][_0xab6e43(0x211)]();}[a0_0x4a38e0(0x272)](_0x523b28){const _0x56c843=a0_0x4a38e0;this['menuGroupId']=_0x523b28['id'],this[_0x56c843(0x255)]['fetch']();}async[a0_0x4a38e0(0x250)](_0x5e75c9){const _0xb11025=a0_0x4a38e0;let _0x1682a3=MetaApi['createCustomElement'](_0xb11025(0x266),_0xb11025(0x266));_0x1682a3[_0xb11025(0x1fe)]=TermsUtil[_0xb11025(0x20d)](_0xb11025(0x20b)),_0x1682a3[_0xb11025(0x245)]=_0x5e75c9['id'],await MetaApi[_0xb11025(0x216)](_0x5e75c9[_0xb11025(0x202)],_0xb11025(0x25b),_0x1682a3,!0x0);}[a0_0x4a38e0(0x242)](_0x5ef1bd){const _0x2cb1a0=a0_0x4a38e0;MetaApi[_0x2cb1a0(0x206)](_0x2cb1a0(0x249)+_0x5ef1bd['id']);}async[a0_0x4a38e0(0x21f)](){const _0x2127a4=a0_0x4a38e0;this[_0x2127a4(0x224)]=[MetaApi[_0x2127a4(0x22b)](_0x2127a4(0x202),_0x2127a4(0x22f),_0x2127a4(0x202),_0x2127a4(0x24a)),await MetaApi[_0x2127a4(0x24c)](_0x2127a4(0x235),'select','menu_type','eq','MENU_TYPE'),MetaApi[_0x2127a4(0x22b)](_0x2127a4(0x1f4),_0x2127a4(0x217),_0x2127a4(0x23f),'eq'),await MetaApi['getGristSearchCodeColumnConfig'](_0x2127a4(0x1fd),_0x2127a4(0x271),'menu_template_search_code','eq',_0x2127a4(0x20c)),MetaApi[_0x2127a4(0x22b)](_0x2127a4(0x234),_0x2127a4(0x22f),_0x2127a4(0x247),_0x2127a4(0x24a))],this[_0x2127a4(0x1f8)]={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x2127a4(0x1fa)](),'appendable':!0x0,'columns':[...MetaApi[_0x2127a4(0x25e)](!0x0,!0x1),{'type':'gutter','gutterName':_0x2127a4(0x25a),'icon':_0x2127a4(0x277),'handlers':{'click':(_0x18b75f,_0xa049e4,_0x48100a,_0x43e2d1,_0x2d1119)=>{const _0x8a54d2=_0x2127a4;_0x43e2d1['id']&&this[_0x8a54d2(0x272)](_0x43e2d1);}}},MetaApi['getGristColumnConfig'](_0x2127a4(0x21c),'rank',_0x2127a4(0x269),!0x0,!0x1,0x3c),MetaApi[_0x2127a4(0x230)](_0x2127a4(0x22f),'name',_0x2127a4(0x231),!0x0,!0x1,0x96),{'type':_0x2127a4(0x22f),'name':'title','header':TermsUtil['tLabel']('title'),'record':{'editable':!0x1,'align':_0x2127a4(0x231),'renderer':(_0x1c29bc,_0x15fc49,_0x2d882c,_0x511801,_0x49bb37)=>_0x2d882c[_0x2127a4(0x202)]?TermsUtil['tMenu'](_0x2d882c['name']):''},'sortable':!0x1,'width':0xaf},await MetaApi['getGristCodeSelectorColumnConfig'](_0x2127a4(0x235),_0x2127a4(0x1f9),'left',!0x1,0x64,!0x0,'MENU_TYPE'),MetaApi[_0x2127a4(0x1f5)](_0x2127a4(0x22f),_0x2127a4(0x270),'icon',_0x2127a4(0x231),!0x0,!0x1,0x64),MetaApi[_0x2127a4(0x1f5)]('boolean',_0x2127a4(0x1f4),_0x2127a4(0x23f),_0x2127a4(0x264),!0x0,!0x1,0x4b),MetaApi[_0x2127a4(0x1f5)](_0x2127a4(0x22f),_0x2127a4(0x273),_0x2127a4(0x273),_0x2127a4(0x231),!0x0,!0x1,0x78),MetaApi[_0x2127a4(0x1f5)]('string',_0x2127a4(0x263),'tag',_0x2127a4(0x231),!0x0,!0x1,0x78),MetaApi[_0x2127a4(0x1f5)](_0x2127a4(0x22f),_0x2127a4(0x252),_0x2127a4(0x26f),'left',!0x0,!0x1,0xf5)]},this[_0x2127a4(0x26d)]={'rows':MetaApi[_0x2127a4(0x20a)](!0x1),'pagination':MetaApi[_0x2127a4(0x1fa)](),'appendable':!0x0,'columns':[...MetaApi[_0x2127a4(0x25e)](!0x0,!0x1),{'type':'gutter','gutterName':'button','icon':_0x2127a4(0x226),'handlers':{'click':(_0x576496,_0x24b5dd,_0xa8062f,_0x1f15c5,_0x8cf0b7)=>{const _0x392690=_0x2127a4;_0x1f15c5['id']&&this[_0x392690(0x26c)](_0x1f15c5);}}},{'type':_0x2127a4(0x219),'gutterName':_0x2127a4(0x25a),'icon':'code','handlers':{'click':(_0x325ceb,_0x4ff29f,_0x303f0f,_0x1d1f32,_0x36a4de)=>{const _0x5de1ca=_0x2127a4;_0x1d1f32['id']&&this[_0x5de1ca(0x250)](_0x1d1f32);}}},{'type':_0x2127a4(0x219),'gutterName':'button','icon':_0x2127a4(0x232),'handlers':{'click':(_0x45aa59,_0x3cb156,_0x3715ae,_0x153f32,_0xf31293)=>{const _0x35c242=_0x2127a4;_0x153f32['id']&&this[_0x35c242(0x242)](_0x153f32);}}},MetaApi[_0x2127a4(0x230)](_0x2127a4(0x21c),_0x2127a4(0x1f7),_0x2127a4(0x269),!0x0,!0x1,0x37),MetaApi[_0x2127a4(0x230)](_0x2127a4(0x22f),_0x2127a4(0x202),_0x2127a4(0x231),!0x0,!0x1,0x96),{'type':_0x2127a4(0x22f),'name':_0x2127a4(0x1fe),'header':TermsUtil[_0x2127a4(0x20d)](_0x2127a4(0x1fe)),'record':{'editable':!0x1,'align':'left','renderer':(_0x40c95f,_0x30733a,_0x2eb69a,_0x494342,_0x2bebd0)=>_0x2eb69a['name']?TermsUtil[_0x2127a4(0x25f)](_0x2eb69a['name']):''},'sortable':!0x1,'width':0xaf},{'type':_0x2127a4(0x251),'name':_0x2127a4(0x26a),'header':TermsUtil[_0x2127a4(0x20d)](_0x2127a4(0x24d)),'record':{'editable':!0x0,'align':_0x2127a4(0x264),'options':{'codes':await ServiceUtil[_0x2127a4(0x260)]({'queryName':'menus','codeField':'id','dispField':'name','filters':[{'name':_0x2127a4(0x26a),'operator':_0x2127a4(0x236),'value':''}]}),'queryName':'menus','codeField':'id','dispField':_0x2127a4(0x202),'filterFields':[{'name':_0x2127a4(0x202),'operator':_0x2127a4(0x22c)}],'selectorName':_0x2127a4(0x23c),'select':[{'name':'id','hidden':!0x0},MetaApi[_0x2127a4(0x230)](_0x2127a4(0x21c),_0x2127a4(0x1f7),'right',!0x1,!0x0,0x50),MetaApi[_0x2127a4(0x230)](_0x2127a4(0x22f),_0x2127a4(0x202),_0x2127a4(0x231),!0x1,!0x0,0xc8),{'type':_0x2127a4(0x271),'name':_0x2127a4(0x235),'header':_0x2127a4(0x1f9),'record':{'align':_0x2127a4(0x231),'editable':!0x1},'options':{'type':_0x2127a4(0x24e),'name':'MENU_TYPE'},'sortable':!0x1,'width':0x64},MetaApi[_0x2127a4(0x1f5)](_0x2127a4(0x20f),'hiddenFlag',_0x2127a4(0x23f),_0x2127a4(0x264),!0x0,!0x1,0x4b)],'filters':[{'name':_0x2127a4(0x26a),'operator':_0x2127a4(0x236),'value':''}],'sorters':[{'name':'rank','desc':!0x1}]}},'sortable':!0x1,'width':0x96},await MetaApi[_0x2127a4(0x221)](_0x2127a4(0x235),_0x2127a4(0x1f9),_0x2127a4(0x231),!0x1,0x64,!0x0,_0x2127a4(0x267)),await MetaApi[_0x2127a4(0x221)](_0x2127a4(0x256),_0x2127a4(0x24f),'left',!0x1,0x0,!0x1,_0x2127a4(0x279)),MetaApi['getGristColumnConfig2'](_0x2127a4(0x22f),_0x2127a4(0x273),_0x2127a4(0x273),_0x2127a4(0x231),!0x0,!0x1,0xaf),MetaApi[_0x2127a4(0x1f5)](_0x2127a4(0x22f),_0x2127a4(0x263),_0x2127a4(0x274),'left',!0x0,!0x1,0xaf),MetaApi[_0x2127a4(0x1f5)](_0x2127a4(0x22f),_0x2127a4(0x252),'page_location',_0x2127a4(0x231),!0x0,!0x1,0x190),MetaApi[_0x2127a4(0x1f5)]('string',_0x2127a4(0x270),'icon','left',!0x0,!0x1,0x7d),MetaApi[_0x2127a4(0x1f5)](_0x2127a4(0x20f),_0x2127a4(0x1f4),_0x2127a4(0x23f),'center',!0x0,!0x1,0x4b)]};}}customElements['define']('dynamic-menu',DynamicMenu);
|
|
44
|
+
`;}get[a0_0x22385e(0x204)](){const _0x7a3ba8=a0_0x22385e;return{'title':TermsUtil['tTitle'](_0x7a3ba8(0x1eb))};}get[a0_0x22385e(0x1e2)](){const _0x2f9735=a0_0x22385e;return this[_0x2f9735(0x1c5)]['querySelector'](_0x2f9735(0x1b0));}get['groupGrist'](){const _0x36747f=a0_0x22385e;return this[_0x36747f(0x1c5)][_0x36747f(0x22e)](_0x36747f(0x207));}get[a0_0x22385e(0x227)](){const _0x16f890=a0_0x22385e;return this[_0x16f890(0x1c5)][_0x16f890(0x22e)](_0x16f890(0x1d8));}async[a0_0x22385e(0x208)]({page:_0x4911d5,limit:_0x203720,sorters:_0x433301=[{'name':a0_0x22385e(0x202)},{'name':a0_0x22385e(0x1c7)}]}){const _0x20d435=a0_0x22385e;if(this[_0x20d435(0x1e8)]){let _0x33dc66=[{'name':_0x20d435(0x1db),'operator':'eq','value':this['menuGroupId']},...(await this[_0x20d435(0x1e2)][_0x20d435(0x1dd)]())[_0x20d435(0x1fc)](_0x22c215=>[_0x20d435(0x1d9),_0x20d435(0x20c)][_0x20d435(0x21c)](_0x22c215[_0x20d435(0x1c7)]))],_0x3b5304=_0x20d435(0x1ce),_0x5ee073=await MetaApi[_0x20d435(0x1c8)](_0x20d435(0x21a),_0x33dc66,_0x433301,_0x4911d5,_0x203720,_0x3b5304);return _0x5ee073&&_0x5ee073[_0x20d435(0x1ea)]&&_0x5ee073['records']['forEach'](_0x14cda5=>{const _0x4d0005=_0x20d435;_0x14cda5[_0x4d0005(0x1db)]=this[_0x4d0005(0x1e8)];}),_0x5ee073;}}async[a0_0x22385e(0x20b)]({page:_0x53b14e,limit:_0xd9c1bc,sorters:_0x4bb666=[{'name':'rank'},{'name':a0_0x22385e(0x1c7)}]}){const _0x40819a=a0_0x22385e;this[_0x40819a(0x1e8)]=null,this[_0x40819a(0x227)]&&this[_0x40819a(0x227)][_0x40819a(0x1d7)]&&(this[_0x40819a(0x227)]['data']={});let _0x30aced=[...await this[_0x40819a(0x1e2)][_0x40819a(0x1dd)](),{'name':_0x40819a(0x1db),'operator':_0x40819a(0x1c0),'value':''}];return await MetaApi[_0x40819a(0x1c8)]('dynamicMenus',_0x30aced,_0x4bb666,_0x53b14e,_0xd9c1bc,_0x40819a(0x1ae));}async[a0_0x22385e(0x224)](){const _0x344f1c=a0_0x22385e;let _0x772a31=MetaApi['patchesForUpdateMultiple'](this[_0x344f1c(0x1cf)]);ValueUtil[_0x344f1c(0x1e4)](_0x772a31)&&(_0x772a31[_0x344f1c(0x1f6)](_0x10a7e1=>{const _0x423c03=_0x344f1c;void 0x0!==_0x10a7e1[_0x423c03(0x1b5)]&&null!=_0x10a7e1[_0x423c03(0x1b5)]||(_0x10a7e1['hiddenFlag']=!0x1);}),await MetaApi[_0x344f1c(0x1ad)](_0x344f1c(0x237),_0x772a31)&&this[_0x344f1c(0x1cf)][_0x344f1c(0x205)]());}async[a0_0x22385e(0x201)](){const _0x12f114=a0_0x22385e;await MetaApi['deleteListByGristSelected'](this[_0x12f114(0x1cf)],_0x12f114(0x1fd));}async[a0_0x22385e(0x21f)](){const _0xa90ac8=a0_0x22385e;let _0xd9d4c6=MetaApi[_0xa90ac8(0x1f8)](this['detailGrist']);ValueUtil['isNotEmpty'](_0xd9d4c6)&&(_0xd9d4c6[_0xa90ac8(0x1f6)](_0xadcddb=>{const _0x409bbf=_0xa90ac8;_0xadcddb[_0x409bbf(0x1cd)]=_0xadcddb[_0x409bbf(0x1cd)]||_0x409bbf(0x1fa),_0xadcddb[_0x409bbf(0x1db)]?(_0xadcddb[_0x409bbf(0x1ed)]={'id':_0xadcddb[_0x409bbf(0x1db)]},delete _0xadcddb[_0x409bbf(0x1db)]):_0xadcddb['parent']={'id':this[_0x409bbf(0x1e8)]},void 0x0!==_0xadcddb['hiddenFlag']&&null!=_0xadcddb[_0x409bbf(0x1b5)]||(_0xadcddb[_0x409bbf(0x1b5)]=!0x1);}),await MetaApi[_0xa90ac8(0x1ad)]('updateMultipleMenu',_0xd9d4c6)&&this[_0xa90ac8(0x227)][_0xa90ac8(0x205)]());}async[a0_0x22385e(0x1c3)](_0x3206af){const _0x1e0b8e=a0_0x22385e;let _0x2bd6d4=MetaApi[_0x1e0b8e(0x21b)](_0x1e0b8e(0x1d5),_0x1e0b8e(0x1d5));_0x2bd6d4['title']=TermsUtil[_0x1e0b8e(0x22c)](_0x1e0b8e(0x1b1)),_0x2bd6d4[_0x1e0b8e(0x236)]=_0x3206af['id'],_0x2bd6d4[_0x1e0b8e(0x1bd)]=_0x3206af['name'],await MetaApi[_0x1e0b8e(0x216)](_0x3206af['name'],_0x1e0b8e(0x1e9),_0x2bd6d4,!0x0);}async['deleteMenu'](){const _0x20c9ba=a0_0x22385e;await MetaApi[_0x20c9ba(0x206)](this[_0x20c9ba(0x227)],_0x20c9ba(0x1fd));}async['copyMenu'](){const _0x4892b2=a0_0x22385e;let _0x510692=this[_0x4892b2(0x227)]['selected'];if(!_0x510692||0x0==_0x510692['length'])return void UiUtil['showAlertPopup']('text.nothing_selected',_0x4892b2(0x238),_0x4892b2(0x228),_0x4892b2(0x219));let _0x55456d=_0x510692[0x0];if(!_0x55456d['id'])return;Object['keys'](_0x55456d)['forEach'](_0x230bb3=>{const _0x3607a2=_0x4892b2;_0x230bb3[_0x3607a2(0x1af)]('__')&&delete _0x55456d[_0x230bb3];});let _0x1c033b=await MetaApi['findOne'](_0x4892b2(0x211),_0x55456d['id'],_0x4892b2(0x234));_0x55456d[_0x4892b2(0x234)]=_0x1c033b&&_0x1c033b['template']||'',_0x55456d[_0x4892b2(0x202)]=0x1869f,_0x55456d[_0x4892b2(0x1d6)]='+',_0x55456d[_0x4892b2(0x1c7)]=_0x55456d[_0x4892b2(0x1c7)]+_0x4892b2(0x225),_0x55456d[_0x4892b2(0x1b6)]=_0x55456d[_0x4892b2(0x1b6)]+_0x4892b2(0x225),_0x55456d[_0x4892b2(0x1ed)]={'id':_0x55456d[_0x4892b2(0x1db)]},delete _0x55456d['id'],delete _0x55456d['parentId'],await MetaApi[_0x4892b2(0x1ad)](_0x4892b2(0x237),[_0x55456d])&&this['detailGrist'][_0x4892b2(0x205)]();}[a0_0x22385e(0x1e1)](_0x4147db){const _0x3f83fa=a0_0x22385e;this[_0x3f83fa(0x1e8)]=_0x4147db['id'],this[_0x3f83fa(0x227)][_0x3f83fa(0x205)]();}async[a0_0x22385e(0x235)](_0x157dec){const _0x25239b=a0_0x22385e;let _0x83abaf=MetaApi[_0x25239b(0x21b)](_0x25239b(0x213),_0x25239b(0x213));_0x83abaf[_0x25239b(0x20a)]=TermsUtil['tLabel'](_0x25239b(0x234)),_0x83abaf[_0x25239b(0x236)]=_0x157dec['id'],await MetaApi[_0x25239b(0x216)](_0x157dec['name'],_0x25239b(0x1e9),_0x83abaf,!0x0);}[a0_0x22385e(0x1f0)](_0xba9fad){const _0x3c9dfb=a0_0x22385e;MetaApi[_0x3c9dfb(0x218)]('meta-generator?menuId='+_0xba9fad['id']);}async['pageInitialized'](){const _0x3ed2fc=a0_0x22385e;this[_0x3ed2fc(0x1f7)]=[MetaApi[_0x3ed2fc(0x220)](_0x3ed2fc(0x1c7),_0x3ed2fc(0x22a),_0x3ed2fc(0x1c7),_0x3ed2fc(0x1da)),await MetaApi['getGristSearchCodeColumnConfig']('menuType',_0x3ed2fc(0x239),'menu_type','eq',_0x3ed2fc(0x212)),MetaApi[_0x3ed2fc(0x220)](_0x3ed2fc(0x1b5),_0x3ed2fc(0x21e),_0x3ed2fc(0x1f5),'eq'),await MetaApi[_0x3ed2fc(0x1e3)](_0x3ed2fc(0x1d9),_0x3ed2fc(0x239),'menu_template_search_code','eq',_0x3ed2fc(0x1ff)),MetaApi['getGristSearchColumnConfig'](_0x3ed2fc(0x20c),'string',_0x3ed2fc(0x1e6),_0x3ed2fc(0x1da))],this[_0x3ed2fc(0x1f2)]={'rows':MetaApi[_0x3ed2fc(0x1c6)](!0x1),'pagination':MetaApi[_0x3ed2fc(0x20d)](),'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x0,!0x1),{'type':_0x3ed2fc(0x1f9),'gutterName':_0x3ed2fc(0x1d0),'icon':_0x3ed2fc(0x1b9),'handlers':{'click':(_0x5c7115,_0x3d4c1e,_0x57f74f,_0x21d48f,_0x900e2d)=>{_0x21d48f['id']&&this['groupMenuQuery'](_0x21d48f);}}},MetaApi['getGristColumnConfig']('integer',_0x3ed2fc(0x202),'right',!0x0,!0x1,0x3c),MetaApi[_0x3ed2fc(0x1cc)](_0x3ed2fc(0x22a),_0x3ed2fc(0x1c7),_0x3ed2fc(0x1b8),!0x0,!0x1,0x96),{'type':_0x3ed2fc(0x22a),'name':_0x3ed2fc(0x20a),'header':TermsUtil[_0x3ed2fc(0x22c)](_0x3ed2fc(0x20a)),'record':{'editable':!0x1,'align':'left','renderer':(_0x2c4c87,_0x510d36,_0x2570af,_0x25e826,_0x2e8f28)=>_0x2570af['name']?TermsUtil[_0x3ed2fc(0x20f)](_0x2570af[_0x3ed2fc(0x1c7)]):''},'sortable':!0x1,'width':0xaf},await MetaApi[_0x3ed2fc(0x1ba)](_0x3ed2fc(0x1cd),_0x3ed2fc(0x231),_0x3ed2fc(0x1b8),!0x1,0x64,!0x0,'MENU_TYPE'),MetaApi['getGristColumnConfig2'](_0x3ed2fc(0x22a),'iconPath',_0x3ed2fc(0x215),_0x3ed2fc(0x1b8),!0x0,!0x1,0x64),MetaApi[_0x3ed2fc(0x221)]('boolean',_0x3ed2fc(0x1b5),_0x3ed2fc(0x1f5),'center',!0x0,!0x1,0x4b),MetaApi[_0x3ed2fc(0x221)](_0x3ed2fc(0x22a),_0x3ed2fc(0x1b6),_0x3ed2fc(0x1b6),'left',!0x0,!0x1,0x78),MetaApi['getGristColumnConfig2']('string',_0x3ed2fc(0x1bc),_0x3ed2fc(0x1b2),_0x3ed2fc(0x1b8),!0x0,!0x1,0x78),MetaApi['getGristColumnConfig2'](_0x3ed2fc(0x22a),_0x3ed2fc(0x1e0),_0x3ed2fc(0x1ee),'left',!0x0,!0x1,0xf5)]},this['detailConfig']={'rows':MetaApi[_0x3ed2fc(0x1c6)](!0x1),'pagination':MetaApi['getGristPagination50Config'](),'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x0,!0x1),{'type':_0x3ed2fc(0x1f9),'gutterName':_0x3ed2fc(0x1d0),'icon':_0x3ed2fc(0x1ca),'handlers':{'click':(_0xfce95a,_0x1589d1,_0x58da4e,_0x48e0d9,_0x246246)=>{const _0xfde568=_0x3ed2fc;_0x48e0d9['id']&&this[_0xfde568(0x1c3)](_0x48e0d9);}}},{'type':_0x3ed2fc(0x1f9),'gutterName':_0x3ed2fc(0x1d0),'icon':'code','handlers':{'click':(_0x5f5173,_0x3134b6,_0x283e2f,_0x3b5cab,_0x1d19f7)=>{const _0x25deff=_0x3ed2fc;_0x3b5cab['id']&&this[_0x25deff(0x235)](_0x3b5cab);}}},{'type':_0x3ed2fc(0x1f9),'gutterName':_0x3ed2fc(0x1d0),'icon':_0x3ed2fc(0x1c1),'handlers':{'click':(_0x22f43f,_0x2404db,_0x8a8ce5,_0x8bbc08,_0x47a775)=>{const _0x14824b=_0x3ed2fc;_0x8bbc08['id']&&this[_0x14824b(0x1f0)](_0x8bbc08);}}},MetaApi[_0x3ed2fc(0x1cc)](_0x3ed2fc(0x233),_0x3ed2fc(0x202),_0x3ed2fc(0x1c2),!0x0,!0x1,0x37),MetaApi[_0x3ed2fc(0x1cc)](_0x3ed2fc(0x22a),'name',_0x3ed2fc(0x1b8),!0x0,!0x1,0x96),{'type':_0x3ed2fc(0x22a),'name':_0x3ed2fc(0x20a),'header':TermsUtil[_0x3ed2fc(0x22c)](_0x3ed2fc(0x20a)),'record':{'editable':!0x1,'align':_0x3ed2fc(0x1b8),'renderer':(_0x5a7d48,_0x216bb8,_0x3446eb,_0x4ee880,_0x3dbae1)=>_0x3446eb[_0x3ed2fc(0x1c7)]?TermsUtil[_0x3ed2fc(0x20f)](_0x3446eb[_0x3ed2fc(0x1c7)]):''},'sortable':!0x1,'width':0xaf},{'type':_0x3ed2fc(0x22d),'name':_0x3ed2fc(0x1db),'header':TermsUtil[_0x3ed2fc(0x22c)](_0x3ed2fc(0x1d2)),'record':{'editable':!0x0,'align':_0x3ed2fc(0x217),'options':{'codes':await ServiceUtil[_0x3ed2fc(0x1e5)]({'queryName':_0x3ed2fc(0x230),'codeField':'id','dispField':_0x3ed2fc(0x1c7),'filters':[{'name':'parentId','operator':'is_null','value':''}]}),'queryName':_0x3ed2fc(0x230),'codeField':'id','dispField':'name','filterFields':[{'name':_0x3ed2fc(0x1c7),'operator':_0x3ed2fc(0x1fe)}],'selectorName':'menu','select':[{'name':'id','hidden':!0x0},MetaApi['getGristColumnConfig'](_0x3ed2fc(0x233),_0x3ed2fc(0x202),_0x3ed2fc(0x1c2),!0x1,!0x0,0x50),MetaApi[_0x3ed2fc(0x1cc)](_0x3ed2fc(0x22a),_0x3ed2fc(0x1c7),_0x3ed2fc(0x1b8),!0x1,!0x0,0xc8),{'type':_0x3ed2fc(0x239),'name':_0x3ed2fc(0x1cd),'header':_0x3ed2fc(0x231),'record':{'align':_0x3ed2fc(0x1b8),'editable':!0x1},'options':{'type':_0x3ed2fc(0x1c9),'name':'MENU_TYPE'},'sortable':!0x1,'width':0x64},MetaApi[_0x3ed2fc(0x221)](_0x3ed2fc(0x21d),_0x3ed2fc(0x1b5),_0x3ed2fc(0x1f5),_0x3ed2fc(0x217),!0x0,!0x1,0x4b)],'filters':[{'name':'parentId','operator':_0x3ed2fc(0x1c0),'value':''}],'sorters':[{'name':_0x3ed2fc(0x202),'desc':!0x1}]}},'sortable':!0x1,'width':0x96},await MetaApi[_0x3ed2fc(0x1ba)](_0x3ed2fc(0x1cd),_0x3ed2fc(0x231),'left',!0x1,0x64,!0x0,'MENU_PAGE_TYPE'),await MetaApi[_0x3ed2fc(0x1ba)](_0x3ed2fc(0x1ec),'routing_type',_0x3ed2fc(0x1b8),!0x1,0x0,!0x1,_0x3ed2fc(0x200)),MetaApi[_0x3ed2fc(0x221)](_0x3ed2fc(0x22a),_0x3ed2fc(0x1b6),_0x3ed2fc(0x1b6),_0x3ed2fc(0x1b8),!0x0,!0x1,0xaf),MetaApi[_0x3ed2fc(0x221)](_0x3ed2fc(0x22a),_0x3ed2fc(0x1bc),_0x3ed2fc(0x1b2),_0x3ed2fc(0x1b8),!0x0,!0x1,0xaf),MetaApi[_0x3ed2fc(0x221)](_0x3ed2fc(0x22a),_0x3ed2fc(0x1e0),_0x3ed2fc(0x1ee),_0x3ed2fc(0x1b8),!0x0,!0x1,0x190),MetaApi[_0x3ed2fc(0x221)]('string',_0x3ed2fc(0x1f3),'icon','left',!0x0,!0x1,0x7d),MetaApi[_0x3ed2fc(0x221)](_0x3ed2fc(0x21d),_0x3ed2fc(0x1b5),_0x3ed2fc(0x1f5),_0x3ed2fc(0x217),!0x0,!0x1,0x4b)]};}}customElements[a0_0x22385e(0x203)](a0_0x22385e(0x1d1),DynamicMenu);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x5190b9=a0_0x36a4;(function(_0x48bfe0,_0x1939cf){const _0x57e96d=a0_0x36a4,_0x625795=_0x48bfe0();while(!![]){try{const _0x284de1=parseInt(_0x57e96d(0x235))/0x1+parseInt(_0x57e96d(0x253))/0x2+-parseInt(_0x57e96d(0x202))/0x3*(parseInt(_0x57e96d(0x25f))/0x4)+parseInt(_0x57e96d(0x20a))/0x5+-parseInt(_0x57e96d(0x247))/0x6*(parseInt(_0x57e96d(0x248))/0x7)+parseInt(_0x57e96d(0x23d))/0x8+parseInt(_0x57e96d(0x26a))/0x9;if(_0x284de1===_0x1939cf)break;else _0x625795['push'](_0x625795['shift']());}catch(_0x108afd){_0x625795['push'](_0x625795['shift']());}}}(a0_0x2cc8,0x539f4));import{css,html,LitElement}from'lit-element';import{i18next,localize}from'@things-factory/i18n-base';import{ScrollbarStyles,CommonGristStyles}from'@operato/styles';import{TermsUtil}from'./../../utils/terms-util';import{MetaUiUtil}from'./../../utils/meta-ui-util';function a0_0x36a4(_0x58d779,_0x4ecff3){const _0x2cc80a=a0_0x2cc8();return a0_0x36a4=function(_0x36a423,_0x5123bc){_0x36a423=_0x36a423-0x1e0;let _0x10f550=_0x2cc80a[_0x36a423];return _0x10f550;},a0_0x36a4(_0x58d779,_0x4ecff3);}import{MetaApi}from'../../utils/meta-api';import{MetaCrypto}from'../../utils/meta-crypto';function a0_0x2cc8(){const _0xd350ab=['column_ko','column_id','searchByPagination','Form','INT','tagName','data_revision_no','code_ref','column_type','display','tButton','9436nZQRdF','select_opt','styles','is_export_field','en-US','dec','width','BOOLEAN','entity_code_ref','etc','table_index','464661KaEtUe','left','resource-object','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20menu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20template\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20entity\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20bundle\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20tableName\x0a\x20\x20\x20\x20\x20\x20\x20\x20dataProp\x0a\x20\x20\x20\x20\x20\x20\x20\x20delStrategy\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20entityColumns{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20term\x0a\x20\x20\x20\x20\x20\x20\x20\x20colType\x0a\x20\x20\x20\x20\x20\x20\x20\x20colSize\x0a\x20\x20\x20\x20\x20\x20\x20\x20nullable\x0a\x20\x20\x20\x20\x20\x20\x20\x20uniqRank\x0a\x20\x20\x20\x20\x20\x20\x20\x20searchRank\x0a\x20\x20\x20\x20\x20\x20\x20\x20searchOper\x0a\x20\x20\x20\x20\x20\x20\x20\x20gridRank\x0a\x20\x20\x20\x20\x20\x20\x20\x20gridWidth\x0a\x20\x20\x20\x20\x20\x20\x20\x20gridEditor\x0a\x20\x20\x20\x20\x20\x20\x20\x20refType\x0a\x20\x20\x20\x20\x20\x20\x20\x20refName\x0a\x20\x20\x20\x20\x20\x20\x20\x20refUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20defVal\x0a\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20indices{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20isUnique\x0a\x20\x20\x20\x20\x20\x20\x20\x20columns\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20columns{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20isNullable\x0a\x20\x20\x20\x20\x20\x20\x20\x20length\x0a\x20\x20\x20\x20\x20\x20\x20\x20type\x0a\x20\x20\x20\x20\x20\x20\x20\x20default\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20parentMenu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','integer','gql','GRID','master_detail_element','is_unique','dispField','field','routing','descriptionField','entity_ref','field_width','align','endsWith','gridConfig','shadowRoot','is_editable','group_nm_ko','ko-KR','args','export_field','label','join','screen_group_cd','hidden','string','object_opt','locale','code','DATETIME','center','screen_group_display_en','660mpamth','columns','index','findOne','_id','main_column','tab','exportable','1701595ZEmihK','type','menu','unique','search','getMenuMetaData','connectedCallback','isArray','isNullable','export','terminologies','is_search_field','isUnique','toUpperCase','column_display_ko','forEach','getTerms','exportableData','queryName','default_value','entity_code_reference_field','Grist','column_en','export-menu-popup','entityColumns','grist','grid_column','sort','column_display_en','meta-object-selector','findIndex','parse','filter','grid_width','group_nm_en','editable','bind','records','exportMenuInfo','code_reference_field','getFixedT','group_cd','query','84064xWGNli','recordName','object','grid_align','fetchHandler','substring','getGristColumnConfig2','menu,','3471768derAwO','VARCHAR','codeField','tTitle','nameField','indices','push','define','entity_object_reference_field','group_type','306zlehpV','15505LCQSJS','length','seq','NUMERIC','TIMESTAMP','name','getI18t','filters','querySelector','rank','includes','128956RuZTGB'];a0_0x2cc8=function(){return _0xd350ab;};return a0_0x2cc8();}import a0_0x56ae42 from'lodash-es/snakeCase';import a0_0x13e78c from'lodash-es/upperFirst';import{singular}from'pluralize';const i18nextEn=i18next[a0_0x5190b9(0x232)]('en',null,null),i18nextKo=i18next['getFixedT']('ko',null,null),colTypes={'character\x20varying':a0_0x5190b9(0x23e),'numeric':a0_0x5190b9(0x24b),'boolean':a0_0x5190b9(0x266),'uuid':'VARCHAR','timestamp':a0_0x5190b9(0x24c),'date':'DATE','datetime':a0_0x5190b9(0x1ff),'integer':a0_0x5190b9(0x258)};export class ExportMenuPopup extends localize(i18next)(LitElement){static get[a0_0x5190b9(0x261)](){return[ScrollbarStyles,CommonGristStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -18,15 +18,15 @@ const a0_0x49c3a8=a0_0xb223;(function(_0x22e8f0,_0x1fbb19){const _0x43eade=a0_0x
|
|
|
18
18
|
text-align: right;
|
|
19
19
|
padding-right: 12px;
|
|
20
20
|
}
|
|
21
|
-
`];}async[
|
|
21
|
+
`];}async[a0_0x5190b9(0x210)](){const _0x4805a8=a0_0x5190b9;this[_0x4805a8(0x1f0)]={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':{'infinite':!0x0},'columns':[MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1e3),_0x4805a8(0x24a),'seq',_0x4805a8(0x200),!0x1,!0x1,0x50),MetaApi['getGristColumnConfig2'](_0x4805a8(0x1fb),_0x4805a8(0x254),_0x4805a8(0x218),_0x4805a8(0x1e0),!0x1,!0x1,0x96),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),'column_en',_0x4805a8(0x226),_0x4805a8(0x1e0),!0x1,!0x1,0x96),MetaApi['getGristColumnConfig2']('string',_0x4805a8(0x233),_0x4805a8(0x1f9),_0x4805a8(0x1e0),!0x1,!0x1,0x64),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x22c),_0x4805a8(0x201),_0x4805a8(0x1e0),!0x1,!0x1,0x96),MetaApi['getGristColumnConfig2'](_0x4805a8(0x1fb),_0x4805a8(0x1f3),'screen_group_display_ko',_0x4805a8(0x1e0),!0x1,!0x1,0x96),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x246),'screen_group_type','left',!0x1,!0x1,0x64),MetaApi[_0x4805a8(0x23b)]('string',_0x4805a8(0x255),_0x4805a8(0x255),_0x4805a8(0x1e0),!0x1,!0x1,0x96),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),'search_field',_0x4805a8(0x215),_0x4805a8(0x200),!0x1,!0x1,0x50),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x1ec),_0x4805a8(0x245),_0x4805a8(0x1e0),!0x1,!0x1,0x64),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),'entity_code_ref',_0x4805a8(0x21e),_0x4805a8(0x1e0),!0x1,!0x1,0x64),MetaApi[_0x4805a8(0x23b)]('string','code_ref',_0x4805a8(0x231),_0x4805a8(0x1e0),!0x1,!0x1,0x64),MetaApi['getGristColumnConfig2'](_0x4805a8(0x1fb),'main_column','is_main_list_field',_0x4805a8(0x200),!0x1,!0x1,0x50),MetaApi[_0x4805a8(0x23b)]('string',_0x4805a8(0x22d),_0x4805a8(0x1f2),_0x4805a8(0x200),!0x1,!0x1,0x50),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x1fa),'hidden',_0x4805a8(0x200),!0x1,!0x1,0x50),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x238),'grid_align',_0x4805a8(0x200),!0x1,!0x1,0x64),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x1f6),_0x4805a8(0x262),_0x4805a8(0x200),!0x1,!0x1,0x64),MetaApi['getGristColumnConfig2']('string',_0x4805a8(0x22b),_0x4805a8(0x1ed),'center',!0x1,!0x1,0x50),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x25c),'column_type',_0x4805a8(0x200),!0x1,!0x1,0x64),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),'column_length','column_size',_0x4805a8(0x200),!0x1,!0x1,0x50),MetaApi['getGristColumnConfig2']('string','column_not_null','is_not_null',_0x4805a8(0x200),!0x1,!0x1,0x50),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x21d),_0x4805a8(0x21d),_0x4805a8(0x1e0),!0x1,!0x1,0x50),MetaApi[_0x4805a8(0x23b)](_0x4805a8(0x1fb),_0x4805a8(0x204),_0x4805a8(0x269),'left',!0x1,!0x1,0x64),MetaApi['getGristColumnConfig2'](_0x4805a8(0x1fb),_0x4805a8(0x20d),_0x4805a8(0x1e7),_0x4805a8(0x200),!0x1,!0x1,0x64)]},super[_0x4805a8(0x210)]&&await super[_0x4805a8(0x210)]();}['render'](){const _0x3f3f8e=a0_0x5190b9;return html`
|
|
22
22
|
<ox-grist
|
|
23
23
|
id="ox-grist"
|
|
24
|
-
.config=${this[
|
|
25
|
-
.mode=${
|
|
24
|
+
.config=${this[_0x3f3f8e(0x1f0)]}
|
|
25
|
+
.mode=${_0x3f3f8e(0x1e5)}
|
|
26
26
|
auto-fetch
|
|
27
|
-
.fetchHandler=${this[
|
|
27
|
+
.fetchHandler=${this[_0x3f3f8e(0x239)][_0x3f3f8e(0x22e)](this)}>
|
|
28
28
|
</ox-grist>
|
|
29
29
|
<div id="button-container" class="button-container">
|
|
30
|
-
<mwc-button raised label="${TermsUtil[
|
|
30
|
+
<mwc-button raised label="${TermsUtil[_0x3f3f8e(0x25e)](_0x3f3f8e(0x213))}" @click=${this['export'][_0x3f3f8e(0x22e)](this)}></mwc-button>
|
|
31
31
|
</div>
|
|
32
|
-
`;}get[
|
|
32
|
+
`;}get[a0_0x5190b9(0x223)](){const _0x57026d=a0_0x5190b9;return this[_0x57026d(0x1f1)][_0x57026d(0x250)]('#ox-grist');}async['export'](){const _0xe60ed1=a0_0x5190b9;let _0x22765a=TermsUtil[_0xe60ed1(0x240)](this[_0xe60ed1(0x236)]);return await MetaApi[_0xe60ed1(0x21b)](!0x0,_0x22765a,this[_0xe60ed1(0x223)]);}async[a0_0x5190b9(0x239)]({page:_0x57d20e=0x0,limit:_0x102141=0x0,sortings:_0x405bdb=[],filters:_0x1d2748=[]}){const _0x49909d=a0_0x5190b9;let _0x48cfb0=await MetaApi[_0x49909d(0x205)](_0x49909d(0x230),this['recordId'],_0x49909d(0x1e2)),_0x227e76=_0x48cfb0[_0x49909d(0x203)][_0x49909d(0x22a)](_0x237c06=>!0x1===['id',_0x49909d(0x25a),'deleted_at'][_0x49909d(0x252)](_0x237c06[_0x49909d(0x24d)]))['map'](_0x4da003=>{const _0x1fb77f=_0x49909d;let _0x1cf8da={'column_id':_0x4da003[_0x1fb77f(0x24d)],'column_type':_0x4da003[_0x1fb77f(0x20b)],'column_length':_0x4da003[_0x1fb77f(0x249)],'column_not_null':!0x0===_0x4da003[_0x1fb77f(0x212)]?'':'O','default_value':_0x4da003['default']},_0x564d62=_0x48cfb0[_0x1fb77f(0x222)][_0x1fb77f(0x228)](_0xe9cb4e=>_0xe9cb4e[_0x1fb77f(0x24d)]==_0x4da003[_0x1fb77f(0x24d)]);return _0x564d62>-0x1&&(_0x1cf8da[_0x1fb77f(0x251)]=_0x48cfb0['entityColumns'][_0x564d62]['rank']),_0x1cf8da;}),_0x49f08e=_0x227e76[_0x49909d(0x249)];_0x227e76=_0x227e76[_0x49909d(0x225)]((_0x51ebd1,_0x196dfd)=>_0x51ebd1[_0x49909d(0x251)]-_0x196dfd['rank']);for(let _0x346917=0x0;_0x346917<_0x48cfb0[_0x49909d(0x242)]['length'];_0x346917++)_0x227e76[_0x346917][_0x49909d(0x20d)]=!0x0===_0x48cfb0[_0x49909d(0x242)][_0x346917][_0x49909d(0x216)]?'O':'',_0x227e76[_0x346917]['index']=_0x48cfb0['indices'][_0x346917]['columns'][_0x49909d(0x22a)](_0xf42b1a=>'deleted_at'!=_0xf42b1a)[_0x49909d(0x1f8)](',');let _0x194742=JSON[_0x49909d(0x229)](MetaCrypto[_0x49909d(0x264)](_0x48cfb0['menu']['template']));_0x194742['grid_column']['forEach'](_0x5c80a2=>{const _0xa5aa66=_0x49909d;let _0x3302c3=a0_0x56ae42(_0x5c80a2['name']);[_0xa5aa66(0x237),_0xa5aa66(0x227),_0xa5aa66(0x1e1)][_0xa5aa66(0x252)](_0x5c80a2[_0xa5aa66(0x20b)])&&(_0x3302c3+=_0xa5aa66(0x206));let _0x55e208=_0x227e76[_0xa5aa66(0x228)](_0xee2aab=>_0xee2aab[_0xa5aa66(0x255)]==_0x3302c3);if(_0x55e208>-0x1){if(_0x227e76[_0x55e208][_0xa5aa66(0x207)]='O',_0x227e76[_0x55e208][_0xa5aa66(0x22d)]=!0x0===_0x5c80a2[_0xa5aa66(0x22d)]?'O':'',_0x227e76[_0x55e208]['hidden']=!0x0===_0x5c80a2[_0xa5aa66(0x1fa)]?'O':'',_0x227e76[_0x55e208][_0xa5aa66(0x238)]=_0x5c80a2[_0xa5aa66(0x1ee)],_0x227e76[_0x55e208][_0xa5aa66(0x1f6)]=!0x0===_0x5c80a2[_0xa5aa66(0x209)]?'O':'',_0x227e76[_0x55e208][_0xa5aa66(0x22b)]=_0x5c80a2[_0xa5aa66(0x265)],_0x227e76[_0x55e208]['entity_ref']='',_0x227e76[_0x55e208]['entity_code_ref']='',_0x227e76[_0x55e208][_0xa5aa66(0x25b)]='',_0x5c80a2[_0xa5aa66(0x260)]){let _0x1e92db=_0x5c80a2[_0xa5aa66(0x260)];_0xa5aa66(0x1fe)==_0x1e92db[_0xa5aa66(0x20b)]?_0x227e76[_0x55e208]['code_ref']=_0x1e92db[_0xa5aa66(0x24d)]:'entity'==_0x1e92db[_0xa5aa66(0x20b)]&&(_0x227e76[_0x55e208][_0xa5aa66(0x267)]=_0x1e92db[_0xa5aa66(0x24d)]+','+_0x1e92db[_0xa5aa66(0x1f5)][_0xa5aa66(0x23f)]+','+_0x1e92db[_0xa5aa66(0x1f5)][_0xa5aa66(0x1e8)]);}else{if(_0x5c80a2[_0xa5aa66(0x1fc)]){let _0x437859=_0x5c80a2[_0xa5aa66(0x1fc)];_0x437859['menu']?_0x227e76[_0x55e208]['entity_ref']=_0xa5aa66(0x23c)+_0x437859['menu']:(_0x227e76[_0x55e208][_0xa5aa66(0x1ec)]=a0_0x13e78c(singular(_0x437859[_0xa5aa66(0x21c)]))+','+_0x437859[_0xa5aa66(0x241)],_0x437859[_0xa5aa66(0x1eb)]&&_0x437859[_0xa5aa66(0x1eb)]['length']>0x0&&(_0x227e76[_0x55e208][_0xa5aa66(0x1ec)]+=','+_0x437859[_0xa5aa66(0x1eb)]));}}}}),[..._0x194742[_0x49909d(0x1e4)][_0x49909d(0x234)][_0x49909d(0x24f)],..._0x194742[_0x49909d(0x20e)]][_0x49909d(0x219)](_0x4d2d71=>{const _0x3e7782=_0x49909d;let _0x20b7b4=a0_0x56ae42(_0x4d2d71[_0x3e7782(0x24d)]),_0x494dc5=_0x227e76[_0x3e7782(0x228)](_0x4ccfe2=>_0x4ccfe2[_0x3e7782(0x255)]==_0x20b7b4);_0x494dc5>-0x1&&(_0x227e76[_0x494dc5]['search_field']='O');});let _0x4505f4=[..._0x194742[_0x49909d(0x208)]];_0x194742[_0x49909d(0x268)]['master_detail_element']&&_0x4505f4['push'](JSON[_0x49909d(0x229)](_0x194742['etc'][_0x49909d(0x1e6)]));for(let _0x4a4123=0x0;_0x4a4123<_0x4505f4[_0x49909d(0x249)];_0x4a4123++){let _0x281ba9=_0x4505f4[_0x4a4123],_0x3c8cd5=await this[_0x49909d(0x21a)](_0x49909d(0x263),['label',_0x49909d(0x1e9)],_0x281ba9[_0x49909d(0x25d)]),_0x1719b4=await this[_0x49909d(0x21a)](_0x49909d(0x1f4),[_0x49909d(0x1f7),'field'],_0x281ba9[_0x49909d(0x25d)]),_0x152938=await MetaUiUtil[_0x49909d(0x20f)](_0x281ba9[_0x49909d(0x20c)]?_0x281ba9[_0x49909d(0x20c)]:_0x281ba9[_0x49909d(0x1ea)]);if(!_0x152938||!_0x152938[_0x49909d(0x22f)]||0x0==_0x152938['records'][_0x49909d(0x249)])continue;let _0x29cbf7=JSON[_0x49909d(0x229)](MetaCrypto['dec'](_0x152938[_0x49909d(0x22f)][0x0]['template']));for(let _0x5d2550 in _0x29cbf7[_0x49909d(0x224)]){let _0x2b596f=_0x29cbf7[_0x49909d(0x224)][_0x5d2550],_0x1c5da0=a0_0x56ae42(_0x2b596f[_0x49909d(0x24d)]);[_0x49909d(0x237),_0x49909d(0x227),_0x49909d(0x1e1)]['includes'](_0x2b596f[_0x49909d(0x20b)])&&(_0x1c5da0+=_0x49909d(0x206));let _0x4c454e=_0x227e76['findIndex'](_0x4d95a1=>_0x4d95a1[_0x49909d(0x255)]==_0x1c5da0);if(_0x4c454e>-0x1){if(_0x227e76[_0x4c454e]['group_cd']=_0x281ba9[_0x49909d(0x24d)],_0x227e76[_0x4c454e][_0x49909d(0x22c)]=_0x3c8cd5,_0x227e76[_0x4c454e][_0x49909d(0x1f3)]=_0x1719b4,_0x227e76[_0x4c454e]['group_type']='meta-form-element'==_0x281ba9[_0x49909d(0x259)]?_0x49909d(0x257):_0x49909d(0x21f),_0x227e76[_0x4c454e][_0x49909d(0x22d)]=!0x0===_0x2b596f[_0x49909d(0x22d)]?'O':'',_0x227e76[_0x4c454e]['hidden']=!0x0===_0x2b596f['hidden']?'O':'',_0x227e76[_0x4c454e][_0x49909d(0x238)]=_0x2b596f[_0x49909d(0x1ee)],_0x227e76[_0x4c454e]['export_field']=!0x0===_0x2b596f[_0x49909d(0x209)]?'O':'',_0x227e76[_0x4c454e][_0x49909d(0x22b)]=_0x2b596f[_0x49909d(0x265)],_0x227e76[_0x4c454e][_0x49909d(0x1ec)]='',_0x227e76[_0x4c454e][_0x49909d(0x267)]='',_0x227e76[_0x4c454e][_0x49909d(0x25b)]='',_0x2b596f[_0x49909d(0x260)]){let _0x5da78b=_0x2b596f['select_opt'];_0x49909d(0x1fe)==_0x5da78b['type']?_0x227e76[_0x4c454e][_0x49909d(0x25b)]=_0x5da78b[_0x49909d(0x24d)]:'entity'==_0x5da78b['type']&&(_0x227e76[_0x4c454e][_0x49909d(0x267)]=_0x5da78b[_0x49909d(0x24d)]+','+_0x5da78b['args']['codeField']+','+_0x5da78b[_0x49909d(0x1f5)][_0x49909d(0x1e8)]);}else{if(_0x2b596f[_0x49909d(0x1fc)]){let _0x15407f=_0x2b596f[_0x49909d(0x1fc)];_0x15407f[_0x49909d(0x20c)]?_0x227e76[_0x4c454e]['entity_ref']=_0x49909d(0x23c)+_0x15407f[_0x49909d(0x20c)]:(_0x227e76[_0x4c454e][_0x49909d(0x1ec)]=a0_0x13e78c(singular(_0x15407f[_0x49909d(0x21c)]))+','+_0x15407f[_0x49909d(0x241)],_0x15407f['descriptionField']&&_0x15407f[_0x49909d(0x1eb)][_0x49909d(0x249)]>0x0&&(_0x227e76[_0x4c454e][_0x49909d(0x1ec)]+=','+_0x15407f[_0x49909d(0x1eb)]));}}}}}for(let _0x3b0818 in _0x227e76){let _0x5df486=_0x227e76[_0x3b0818];_0x5df486[_0x49909d(0x24a)]=Number(_0x3b0818)+0x1,_0x5df486[_0x49909d(0x254)]=await this['getTerms'](_0x49909d(0x1f4),['label',_0x49909d(0x1e9)],_0x5df486[_0x49909d(0x255)]['endsWith'](_0x49909d(0x206))?_0x5df486[_0x49909d(0x255)][_0x49909d(0x23a)](0x0,_0x5df486[_0x49909d(0x255)][_0x49909d(0x249)]-0x3):_0x5df486[_0x49909d(0x255)]),_0x5df486[_0x49909d(0x220)]=await this[_0x49909d(0x21a)](_0x49909d(0x263),[_0x49909d(0x1f7),'field'],_0x5df486['column_id'][_0x49909d(0x1ef)](_0x49909d(0x206))?_0x5df486[_0x49909d(0x255)]['substring'](0x0,_0x5df486[_0x49909d(0x255)][_0x49909d(0x249)]-0x3):_0x5df486[_0x49909d(0x255)]),_0x5df486[_0x49909d(0x255)]=_0x5df486[_0x49909d(0x255)][_0x49909d(0x217)](),_0x5df486[_0x49909d(0x25c)]=colTypes[_0x5df486[_0x49909d(0x25c)]];}return{'records':_0x227e76,'total':_0x49f08e};}async[a0_0x5190b9(0x21a)](_0x54979a,_0x176521,_0x4d9552){const _0x2a2663=a0_0x5190b9;let _0x26846a=[{'name':_0x2a2663(0x24d),'operator':'eq','value':_0x4d9552},{'name':_0x2a2663(0x1fd),'operator':'eq','value':_0x54979a}];Array[_0x2a2663(0x211)](_0x176521)?_0x26846a[_0x2a2663(0x243)]({'name':'category','operator':'in','value':_0x176521}):_0x26846a[_0x2a2663(0x243)]({'name':'category','operator':'eq','value':_0x176521});let _0x210013=await MetaApi[_0x2a2663(0x256)](_0x2a2663(0x214),_0x26846a,[],0x0,0x0,_0x2a2663(0x25d));if(_0x210013[_0x2a2663(0x22f)][_0x2a2663(0x249)]>0x0)return _0x210013[_0x2a2663(0x22f)][0x0][_0x2a2663(0x25d)];if(Array[_0x2a2663(0x211)](_0x176521))for(let _0x28c51d in _0x176521){let _0x46f618=this[_0x2a2663(0x24e)](_0x54979a,_0x176521[_0x28c51d],_0x4d9552);if(_0x46f618)return _0x46f618;}else{let _0x3fe9f5=this[_0x2a2663(0x24e)](_0x54979a,_0x176521,_0x4d9552);if(_0x3fe9f5)return _0x3fe9f5;}return'';}[a0_0x5190b9(0x24e)](_0x5a4e35,_0x47ffe8,_0x22d4c8){const _0x2651e7=a0_0x5190b9;let _0x431ba4=_0x47ffe8+'.'+_0x22d4c8,_0x559c7c='';if(_0x559c7c=_0x2651e7(0x263)==_0x5a4e35?i18nextEn(_0x431ba4):i18nextKo(_0x431ba4),_0x559c7c!=_0x431ba4)return _0x559c7c;}}customElements[a0_0x5190b9(0x244)](a0_0x5190b9(0x221),ExportMenuPopup);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a0_0x20ca6b=a0_0x2606;(function(_0x3c57e5,_0x3145bb){var _0x347922=a0_0x2606,_0x5ac114=_0x3c57e5();while(!![]){try{var _0x2823d3=-parseInt(_0x347922(0x1ed))/0x1*(parseInt(_0x347922(0x1ee))/0x2)+-parseInt(_0x347922(0x1e4))/0x3*(parseInt(_0x347922(0x1e9))/0x4)+-parseInt(_0x347922(0x1ea))/0x5*(parseInt(_0x347922(0x1e6))/0x6)+parseInt(_0x347922(0x1e2))/0x7*(-parseInt(_0x347922(0x1eb))/0x8)+parseInt(_0x347922(0x1ef))/0x9*(-parseInt(_0x347922(0x1e7))/0xa)+parseInt(_0x347922(0x1e3))/0xb+-parseInt(_0x347922(0x1e8))/0xc*(-parseInt(_0x347922(0x1e5))/0xd);if(_0x2823d3===_0x3145bb)break;else _0x5ac114['push'](_0x5ac114['shift']());}catch(_0x918a13){_0x5ac114['push'](_0x5ac114['shift']());}}}(a0_0xa6f0,0xdafb1));import{LitElement}from'lit';function a0_0x2606(_0x4d723b,_0x3d76a6){var _0xa6f097=a0_0xa6f0();return a0_0x2606=function(_0x2606b5,_0x192179){_0x2606b5=_0x2606b5-0x1e2;var _0x1656cb=_0xa6f097[_0x2606b5];return _0x1656cb;},a0_0x2606(_0x4d723b,_0x3d76a6);}import{i18next,localize}from'@operato/i18n';function a0_0xa6f0(){var _0x545c48=['26InpAoy','6PZFkZA','177940RHWUmK','33088584mQLQfo','68RajuXj','6785905kBTdxJ','497816WWupwj','meta-form-element','37FrkzVp','63818CHEYoi','18yeYsSm','161OrHwiu','2390729ShQJiV','146565IoiitB'];a0_0xa6f0=function(){return _0x545c48;};return a0_0xa6f0();}import{MetaFormMixin}from'./../mixin/meta-form-mixin.js';export class MetaFormElement extends MetaFormMixin(localize(i18next)(LitElement)){}customElements['define'](a0_0x20ca6b(0x1ec),MetaFormElement);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x1900(_0x5ce314,_0x3505d1){var _0x1d6ff5=a0_0x1d6f();return a0_0x1900=function(_0x1900d7,_0x1df7e5){_0x1900d7=_0x1900d7-0xaf;var _0x5284c4=_0x1d6ff5[_0x1900d7];return _0x5284c4;},a0_0x1900(_0x5ce314,_0x3505d1);}function a0_0x1d6f(){var _0x24d07=['define','226124XiNtzz','18664euRQih','15GNsptK','68690zkviyX','769587kbsdZg','337191cIZxHQ','834jJbubU','6209aEannO','22RuDsFA','3889420hHtchT','1386sVkYIs'];a0_0x1d6f=function(){return _0x24d07;};return a0_0x1d6f();}var a0_0x58df9e=a0_0x1900;(function(_0x5c9c85,_0x412730){var _0x14b6d0=a0_0x1900,_0x23a96e=_0x5c9c85();while(!![]){try{var _0x1c88bb=parseInt(_0x14b6d0(0xb1))/0x1+parseInt(_0x14b6d0(0xaf))/0x2+parseInt(_0x14b6d0(0xb0))/0x3+-parseInt(_0x14b6d0(0xb8))/0x4*(-parseInt(_0x14b6d0(0xba))/0x5)+parseInt(_0x14b6d0(0xb2))/0x6*(-parseInt(_0x14b6d0(0xb3))/0x7)+-parseInt(_0x14b6d0(0xb9))/0x8*(-parseInt(_0x14b6d0(0xb6))/0x9)+parseInt(_0x14b6d0(0xb5))/0xa*(-parseInt(_0x14b6d0(0xb4))/0xb);if(_0x1c88bb===_0x412730)break;else _0x23a96e['push'](_0x23a96e['shift']());}catch(_0x31ddfd){_0x23a96e['push'](_0x23a96e['shift']());}}}(a0_0x1d6f,0x3e713));import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{MetaBasicGristMixin}from'./../mixin/meta-basic-grist-mixin.js';export class MetaGristElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements[a0_0x58df9e(0xb7)]('meta-grist-element',MetaGristElement);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x561a71=a0_0x323e;(function(_0x19765d,_0x554015){var _0xcffc8d=a0_0x323e,_0x57d66b=_0x19765d();while(!![]){try{var _0x365765=parseInt(_0xcffc8d(0x135))/0x1*(parseInt(_0xcffc8d(0x134))/0x2)+parseInt(_0xcffc8d(0x139))/0x3*(parseInt(_0xcffc8d(0x130))/0x4)+parseInt(_0xcffc8d(0x136))/0x5+-parseInt(_0xcffc8d(0x138))/0x6*(parseInt(_0xcffc8d(0x13a))/0x7)+parseInt(_0xcffc8d(0x132))/0x8+parseInt(_0xcffc8d(0x131))/0x9+-parseInt(_0xcffc8d(0x13b))/0xa;if(_0x365765===_0x554015)break;else _0x57d66b['push'](_0x57d66b['shift']());}catch(_0x5dafeb){_0x57d66b['push'](_0x57d66b['shift']());}}}(a0_0x1473,0xbed04));import{i18next,localize}from'@operato/i18n';function a0_0x1473(){var _0x231af9=['4npQhSm','142925eCpPlH','4955860RcCAwC','meta-grist-page','3372LmFLVV','48AAfipi','17423jywCaq','10307100fdIPCB','184956DsJpmj','1396917KvAJzR','8312328bjqMzj','define'];a0_0x1473=function(){return _0x231af9;};return a0_0x1473();}import{PageView}from'@things-factory/shell';import{MetaBasicGristMixin}from'./../mixin/meta-basic-grist-mixin.js';import'./meta-grist-element';import'./meta-form-element';import'./meta-tab-element';function a0_0x323e(_0xb1e38b,_0x1c29a3){var _0x1473f2=a0_0x1473();return a0_0x323e=function(_0x323e1d,_0x25e986){_0x323e1d=_0x323e1d-0x130;var _0x1ec5a4=_0x1473f2[_0x323e1d];return _0x1ec5a4;},a0_0x323e(_0xb1e38b,_0x1c29a3);}export class MetaGristPage extends MetaBasicGristMixin(localize(i18next)(PageView)){}customElements[a0_0x561a71(0x133)](a0_0x561a71(0x137),MetaGristPage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x4486ba=a0_0x352b;(function(_0x2cb728,_0x6b2fd7){var _0x2be9c0=a0_0x352b,_0x1bd147=_0x2cb728();while(!![]){try{var _0x4ca4f9=parseInt(_0x2be9c0(0x1ce))/0x1+parseInt(_0x2be9c0(0x1ca))/0x2*(-parseInt(_0x2be9c0(0x1c9))/0x3)+parseInt(_0x2be9c0(0x1cd))/0x4*(-parseInt(_0x2be9c0(0x1c5))/0x5)+parseInt(_0x2be9c0(0x1d0))/0x6+parseInt(_0x2be9c0(0x1cc))/0x7*(-parseInt(_0x2be9c0(0x1cf))/0x8)+parseInt(_0x2be9c0(0x1c6))/0x9+-parseInt(_0x2be9c0(0x1c7))/0xa*(-parseInt(_0x2be9c0(0x1cb))/0xb);if(_0x4ca4f9===_0x6b2fd7)break;else _0x1bd147['push'](_0x1bd147['shift']());}catch(_0x51da6e){_0x1bd147['push'](_0x1bd147['shift']());}}}(a0_0x53e4,0xaf269));import{LitElement}from'lit';function a0_0x352b(_0x100f04,_0x5e4fe3){var _0x53e478=a0_0x53e4();return a0_0x352b=function(_0x352b91,_0x513c34){_0x352b91=_0x352b91-0x1c5;var _0x438013=_0x53e478[_0x352b91];return _0x438013;},a0_0x352b(_0x100f04,_0x5e4fe3);}import{i18next,localize}from'@operato/i18n';function a0_0x53e4(){var _0x105ef5=['7703663uusCKV','483wChFPw','4aQzxXB','353958gOvwYP','157704kdKMjP','3563040zaHNHn','378405HrdoZj','5021010JlOiIY','20OmVZrA','define','249wrcGNA','18146VhBVdr'];a0_0x53e4=function(){return _0x105ef5;};return a0_0x53e4();}import{MetaGristTabMixin}from'./../mixin/meta-grist-tab-mixin';import'./meta-grist-element';import'./meta-form-element';import'./meta-tab-element';export class MetaGristTabElement extends MetaGristTabMixin(localize(i18next)(LitElement)){}customElements[a0_0x4486ba(0x1c8)]('meta-grist-tab-element',MetaGristTabElement);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a0_0x43fc2c=a0_0x5970;(function(_0x377992,_0x46141e){var _0x2875e5=a0_0x5970,_0x4e6bc9=_0x377992();while(!![]){try{var _0x5365fa=-parseInt(_0x2875e5(0x193))/0x1*(-parseInt(_0x2875e5(0x18e))/0x2)+parseInt(_0x2875e5(0x192))/0x3+parseInt(_0x2875e5(0x189))/0x4*(parseInt(_0x2875e5(0x18d))/0x5)+parseInt(_0x2875e5(0x18f))/0x6+parseInt(_0x2875e5(0x18b))/0x7+-parseInt(_0x2875e5(0x191))/0x8+parseInt(_0x2875e5(0x18a))/0x9*(-parseInt(_0x2875e5(0x190))/0xa);if(_0x5365fa===_0x46141e)break;else _0x4e6bc9['push'](_0x4e6bc9['shift']());}catch(_0x49c541){_0x4e6bc9['push'](_0x4e6bc9['shift']());}}}(a0_0x56ba,0x8ae96));import{i18next,localize}from'@operato/i18n';import{PageView}from'@things-factory/shell';import{MetaGristTabMixin}from'./../mixin/meta-grist-tab-mixin';function a0_0x56ba(){var _0x25508b=['define','5892oAEOyw','216612SjIFyF','3077886FeeDpJ','meta-grist-tab-page','1670PpPouB','42154BtGjBm','5556396rmHwpq','710yHlCLm','5473184RQCIzr','1226013czgwUO','33DIzMaa'];a0_0x56ba=function(){return _0x25508b;};return a0_0x56ba();}import'./meta-grist-element';import'./meta-form-element';import'./meta-tab-element';export class MetaGristTabPage extends MetaGristTabMixin(localize(i18next)(PageView)){}function a0_0x5970(_0x5662bf,_0x8ebb0e){var _0x56ba96=a0_0x56ba();return a0_0x5970=function(_0x597069,_0x3e5f84){_0x597069=_0x597069-0x188;var _0x2e2e43=_0x56ba96[_0x597069];return _0x2e2e43;},a0_0x5970(_0x5662bf,_0x8ebb0e);}customElements[a0_0x43fc2c(0x188)](a0_0x43fc2c(0x18c),MetaGristTabPage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x25d91f,_0x34d634){var _0x248dbb=a0_0x65c4,_0x572741=_0x25d91f();while(!![]){try{var _0x4b2c83=-parseInt(_0x248dbb(0x72))/0x1*(-parseInt(_0x248dbb(0x79))/0x2)+parseInt(_0x248dbb(0x7a))/0x3*(-parseInt(_0x248dbb(0x77))/0x4)+-parseInt(_0x248dbb(0x7b))/0x5+parseInt(_0x248dbb(0x76))/0x6*(-parseInt(_0x248dbb(0x74))/0x7)+-parseInt(_0x248dbb(0x73))/0x8+-parseInt(_0x248dbb(0x75))/0x9+-parseInt(_0x248dbb(0x78))/0xa*(-parseInt(_0x248dbb(0x7c))/0xb);if(_0x4b2c83===_0x34d634)break;else _0x572741['push'](_0x572741['shift']());}catch(_0x457507){_0x572741['push'](_0x572741['shift']());}}}(a0_0x5685,0xd3ce9));function a0_0x65c4(_0x1f43d1,_0x2e919b){var _0x56852d=a0_0x5685();return a0_0x65c4=function(_0x65c4cb,_0x5c3627){_0x65c4cb=_0x65c4cb-0x72;var _0x18def0=_0x56852d[_0x65c4cb];return _0x18def0;},a0_0x65c4(_0x1f43d1,_0x2e919b);}import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{MetaMainTabMixin}from'./../mixin/meta-main-tab-mixin';function a0_0x5685(){var _0x43cec8=['4795710lVZGKO','46717vzHERS','1boefMj','8711032WoACEP','145397JSUTBR','851643XKuyky','342PzkymD','359236LqbpyL','9350CQajHe','2601838iqbFnq','36etrJWA'];a0_0x5685=function(){return _0x43cec8;};return a0_0x5685();}export class MetaMainTabElement extends MetaMainTabMixin(localize(i18next)(LitElement)){}customElements['define']('meta-main-tab-element',MetaMainTabElement);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a0_0xd00c59=a0_0x5361;(function(_0x5e477f,_0x28f8e3){var _0x2b8ea7=a0_0x5361,_0x44e9ee=_0x5e477f();while(!![]){try{var _0xa80b2e=-parseInt(_0x2b8ea7(0xdb))/0x1*(parseInt(_0x2b8ea7(0xe2))/0x2)+parseInt(_0x2b8ea7(0xe5))/0x3*(parseInt(_0x2b8ea7(0xdc))/0x4)+parseInt(_0x2b8ea7(0xdf))/0x5+-parseInt(_0x2b8ea7(0xde))/0x6*(parseInt(_0x2b8ea7(0xe7))/0x7)+-parseInt(_0x2b8ea7(0xe4))/0x8+parseInt(_0x2b8ea7(0xe3))/0x9*(-parseInt(_0x2b8ea7(0xdd))/0xa)+parseInt(_0x2b8ea7(0xe6))/0xb;if(_0xa80b2e===_0x28f8e3)break;else _0x44e9ee['push'](_0x44e9ee['shift']());}catch(_0x4d35b3){_0x44e9ee['push'](_0x44e9ee['shift']());}}}(a0_0x3780,0xeb19d));import{i18next,localize}from'@operato/i18n';import{PageView}from'@things-factory/shell';import{MetaMainTabMixin}from'./../mixin/meta-main-tab-mixin';import'./meta-grist-element';function a0_0x3780(){var _0x7e0590=['165273QgSPtl','40229563cOkQbP','3996244ImuJeX','131507NcSXiN','8OHFeyu','7730TxbMIE','12nkOWSD','2981225JlquSZ','meta-main-tab-page','define','2jEGGCe','17541aHtrVH','4966552tpmluH'];a0_0x3780=function(){return _0x7e0590;};return a0_0x3780();}import'./meta-form-element';import'./meta-tab-element';function a0_0x5361(_0x5a099f,_0x1304c7){var _0x378035=a0_0x3780();return a0_0x5361=function(_0x53613f,_0x421138){_0x53613f=_0x53613f-0xdb;var _0x4eabff=_0x378035[_0x53613f];return _0x4eabff;},a0_0x5361(_0x5a099f,_0x1304c7);}export class MetaMainTabPage extends MetaMainTabMixin(localize(i18next)(PageView)){}customElements[a0_0xd00c59(0xe1)](a0_0xd00c59(0xe0),MetaMainTabPage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x6006(){var _0x2810c3=['128rpxBoW','3834018lFmHUS','define','506oOqetz','30OtUcQS','509187oywCTV','101948UBISMl','1626992yGyewb','125560syAKWG','66hGCKJO','7721690Itkpfh','meta-master-detail-element','604980CJXmBK','18mjXPUj'];a0_0x6006=function(){return _0x2810c3;};return a0_0x6006();}function a0_0x560a(_0x1922fe,_0x3baadc){var _0x6006c6=a0_0x6006();return a0_0x560a=function(_0x560aa4,_0x3eb4bd){_0x560aa4=_0x560aa4-0xc4;var _0x135ac0=_0x6006c6[_0x560aa4];return _0x135ac0;},a0_0x560a(_0x1922fe,_0x3baadc);}var a0_0x5d6c97=a0_0x560a;(function(_0x3235b6,_0x1efe72){var _0x59273c=a0_0x560a,_0x53679e=_0x3235b6();while(!![]){try{var _0x3b3f72=parseInt(_0x59273c(0xcd))/0x1*(-parseInt(_0x59273c(0xcb))/0x2)+-parseInt(_0x59273c(0xc8))/0x3+parseInt(_0x59273c(0xc7))/0x4*(-parseInt(_0x59273c(0xcf))/0x5)+-parseInt(_0x59273c(0xd0))/0x6*(-parseInt(_0x59273c(0xcc))/0x7)+-parseInt(_0x59273c(0xce))/0x8+parseInt(_0x59273c(0xc6))/0x9*(parseInt(_0x59273c(0xd1))/0xa)+-parseInt(_0x59273c(0xca))/0xb*(-parseInt(_0x59273c(0xc5))/0xc);if(_0x3b3f72===_0x1efe72)break;else _0x53679e['push'](_0x53679e['shift']());}catch(_0x11f739){_0x53679e['push'](_0x53679e['shift']());}}}(a0_0x6006,0xcf5f3));import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{MetaMasterDetailMixin}from'./../mixin/meta-master-detail-mixin';export class MetaMasterDetailElement extends MetaMasterDetailMixin(localize(i18next)(LitElement)){}customElements[a0_0x5d6c97(0xc9)](a0_0x5d6c97(0xc4),MetaMasterDetailElement);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x487689=a0_0x2d10;function a0_0x2d10(_0x26862d,_0x4d3c3c){var _0x1a39e1=a0_0x1a39();return a0_0x2d10=function(_0x2d10ae,_0x5557b6){_0x2d10ae=_0x2d10ae-0x15d;var _0x1d5ea1=_0x1a39e1[_0x2d10ae];return _0x1d5ea1;},a0_0x2d10(_0x26862d,_0x4d3c3c);}(function(_0x2c8adf,_0x14f42e){var _0x46f897=a0_0x2d10,_0x4877ea=_0x2c8adf();while(!![]){try{var _0x187336=parseInt(_0x46f897(0x164))/0x1*(-parseInt(_0x46f897(0x162))/0x2)+-parseInt(_0x46f897(0x15f))/0x3+-parseInt(_0x46f897(0x160))/0x4+parseInt(_0x46f897(0x161))/0x5*(parseInt(_0x46f897(0x165))/0x6)+-parseInt(_0x46f897(0x163))/0x7+-parseInt(_0x46f897(0x15e))/0x8*(-parseInt(_0x46f897(0x167))/0x9)+parseInt(_0x46f897(0x15d))/0xa;if(_0x187336===_0x14f42e)break;else _0x4877ea['push'](_0x4877ea['shift']());}catch(_0xf5b9a4){_0x4877ea['push'](_0x4877ea['shift']());}}}(a0_0x1a39,0xf2e4e));import{i18next,localize}from'@operato/i18n';import{PageView}from'@things-factory/shell';import{MetaMasterDetailMixin}from'./../mixin/meta-master-detail-mixin';import'./meta-grist-element';import'./meta-form-element';function a0_0x1a39(){var _0x1f875b=['666376hnLadW','1581762VWbJGN','240480iBRulh','5ChFfQp','13994bEeOdc','6210218MfmHcr','183pjaBZk','9861846yIVMYc','meta-master-detail-page','198gvVshv','2737180AaOisi'];a0_0x1a39=function(){return _0x1f875b;};return a0_0x1a39();}import'./meta-tab-element';export class MetaMasterDetailPage extends MetaMasterDetailMixin(localize(i18next)(PageView)){}customElements['define'](a0_0x487689(0x166),MetaMasterDetailPage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x260727=a0_0x52d9;(function(_0x11bc97,_0x33f57f){var _0x323119=a0_0x52d9,_0x3148ba=_0x11bc97();while(!![]){try{var _0x41252d=parseInt(_0x323119(0x97))/0x1*(parseInt(_0x323119(0x9d))/0x2)+parseInt(_0x323119(0x94))/0x3*(-parseInt(_0x323119(0x9e))/0x4)+-parseInt(_0x323119(0xa0))/0x5+parseInt(_0x323119(0x96))/0x6*(parseInt(_0x323119(0x98))/0x7)+parseInt(_0x323119(0x9f))/0x8+parseInt(_0x323119(0x9b))/0x9+-parseInt(_0x323119(0x9a))/0xa*(-parseInt(_0x323119(0x95))/0xb);if(_0x41252d===_0x33f57f)break;else _0x3148ba['push'](_0x3148ba['shift']());}catch(_0x89dbc3){_0x3148ba['push'](_0x3148ba['shift']());}}}(a0_0x4152,0x80d20));function a0_0x52d9(_0x438205,_0x3462b8){var _0x4152e7=a0_0x4152();return a0_0x52d9=function(_0x52d9c3,_0x67d7a7){_0x52d9c3=_0x52d9c3-0x94;var _0xe97f88=_0x4152e7[_0x52d9c3];return _0xe97f88;},a0_0x52d9(_0x438205,_0x3462b8);}import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x4152(){var _0x2e8eee=['7093296abndHL','5133905aAwkHl','7635tXRKMt','33NwKCXU','6NWndwc','719073CbKNzJ','295813dxYgaV','define','1594170hawXoa','2916216aFSYcF','meta-tab-detail-element','2hGkKzl','1408aKkjaa'];a0_0x4152=function(){return _0x2e8eee;};return a0_0x4152();}import{MetaTabDetailMixin}from'./../mixin/meta-tab-detail-mixin';export class MetaTabDetailElement extends MetaTabDetailMixin(localize(i18next)(LitElement)){}customElements[a0_0x260727(0x99)](a0_0x260727(0x9c),MetaTabDetailElement);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0xca4d31=a0_0x13b3;(function(_0x48b427,_0x4eeb40){var _0x2c6cd2=a0_0x13b3,_0xe975a4=_0x48b427();while(!![]){try{var _0x5f4bfb=parseInt(_0x2c6cd2(0x1d8))/0x1*(-parseInt(_0x2c6cd2(0x1db))/0x2)+-parseInt(_0x2c6cd2(0x1d6))/0x3*(-parseInt(_0x2c6cd2(0x1d3))/0x4)+parseInt(_0x2c6cd2(0x1d5))/0x5+-parseInt(_0x2c6cd2(0x1d2))/0x6+-parseInt(_0x2c6cd2(0x1d9))/0x7+-parseInt(_0x2c6cd2(0x1da))/0x8+parseInt(_0x2c6cd2(0x1d7))/0x9;if(_0x5f4bfb===_0x4eeb40)break;else _0xe975a4['push'](_0xe975a4['shift']());}catch(_0x4cec8b){_0xe975a4['push'](_0xe975a4['shift']());}}}(a0_0x32c7,0x4afaa));import{i18next,localize}from'@operato/i18n';import{PageView}from'@things-factory/shell';function a0_0x32c7(){var _0x2fee24=['5240232yJuEJZ','2RIZqCC','1932679UpUvtQ','338888byDBUK','514802GFMKYN','1201806QOzkCV','3052JAZieF','meta-tab-detail-page','1178860zolTCB','2055RbHKRO'];a0_0x32c7=function(){return _0x2fee24;};return a0_0x32c7();}import{MetaTabDetailMixin}from'./../mixin/meta-tab-detail-mixin';function a0_0x13b3(_0x290e3b,_0x115e2b){var _0x32c768=a0_0x32c7();return a0_0x13b3=function(_0x13b33e,_0x5261ee){_0x13b33e=_0x13b33e-0x1d2;var _0x3122f5=_0x32c768[_0x13b33e];return _0x3122f5;},a0_0x13b3(_0x290e3b,_0x115e2b);}import'./meta-grist-element';import'./meta-form-element';import'./meta-tab-element';export class MetaTabDetailPage extends MetaTabDetailMixin(localize(i18next)(PageView)){}customElements['define'](a0_0xca4d31(0x1d4),MetaTabDetailPage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x560e21=a0_0x10e8;(function(_0x16c5db,_0x127487){var _0x15f3d3=a0_0x10e8,_0xd19267=_0x16c5db();while(!![]){try{var _0x497751=parseInt(_0x15f3d3(0x1df))/0x1+parseInt(_0x15f3d3(0x1e8))/0x2+parseInt(_0x15f3d3(0x1e7))/0x3*(parseInt(_0x15f3d3(0x1e9))/0x4)+parseInt(_0x15f3d3(0x1de))/0x5+parseInt(_0x15f3d3(0x1e1))/0x6*(parseInt(_0x15f3d3(0x1e3))/0x7)+parseInt(_0x15f3d3(0x1e2))/0x8*(-parseInt(_0x15f3d3(0x1e6))/0x9)+-parseInt(_0x15f3d3(0x1e0))/0xa*(parseInt(_0x15f3d3(0x1e4))/0xb);if(_0x497751===_0x127487)break;else _0xd19267['push'](_0xd19267['shift']());}catch(_0xda4bba){_0xd19267['push'](_0xd19267['shift']());}}}(a0_0x574f,0x755c8));import{i18next,localize}from'@operato/i18n';function a0_0x574f(){var _0x40975b=['define','585sxGNML','3YBCHJu','261380iVWVbD','3487864jOZjeN','2417090ZCphbC','637301nltEaj','2810sKCdxj','6cPNDks','5944chmLxj','4538051JFCtCK','87791wXUadj'];a0_0x574f=function(){return _0x40975b;};return a0_0x574f();}import{LitElement}from'lit';import{MetaTabMixin}from'./../mixin/meta-tab-mixin';import'./meta-grist-element';function a0_0x10e8(_0x4bd9f8,_0x4f9ded){var _0x574f3b=a0_0x574f();return a0_0x10e8=function(_0x10e8fa,_0xbaa70f){_0x10e8fa=_0x10e8fa-0x1de;var _0x26f52c=_0x574f3b[_0x10e8fa];return _0x26f52c;},a0_0x10e8(_0x4bd9f8,_0x4f9ded);}import'./meta-form-element';export class MetaTabElement extends MetaTabMixin(localize(i18next)(LitElement)){}customElements[a0_0x560e21(0x1e5)]('meta-tab-element',MetaTabElement);
|