@things-factory/meta-ui 6.0.4 → 6.0.6
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 +3 -3
- 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 +8 -8
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +8 -8
- 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 +15 -15
- 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-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/reducers/main.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 +60 -60
- package/client/utils/service-util.js +12 -12
- 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 +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +6 -6
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +10 -10
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/dist-server/constants/error-code.js +1 -1
- package/dist-server/errors/license-error.js +1 -1
- package/dist-server/middlewares/index.js +8 -2
- package/dist-server/routes.js +1 -1
- package/dist-server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/dist-server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/dist-server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/dist-server/service/grid-personalize/grid-personalize.js +1 -1
- package/dist-server/service/meta-secret/meta-resolver.js +1 -1
- package/dist-server/service/set-translations/set-translation-resolver.js +1 -1
- package/package.json +5 -4
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
function a0_0x55a8(){const _0xd4d643=['64738gydHiE','unshift','getSelectedIdList','text.nothing_selected','cuFlag','name','checkClientError','15NWSQdM','parse','forEach','iconPath','filter','dirtyRecords','group','__origin__','runScenario','text.nothing_changed','template','deleteListByIds','getCodeSelectorData','updater','object','showToast','696YiQtVo','5005kywrLc','id,template','key','290sGOPMa','myDynamicMenus','showAlertPopup','button.delete','showGraphqlException','cancel','button.','rank','total','success\x20to\x20process','searchMyDynamicMenus','menu.id','push','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\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\x20\x20children{\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\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\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\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\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','arrangeMenuRoutes','question','reduce','hiddenFlag','length','description','sort','getCodeByScenario','searchByPagination','data','imex','callScenario','value','MENU','includes','deleteListByGristSelected','tText','dispatch','fetch','map','hidden','560791SijKQO','delete','text.are_you_sure','updateMultipleData','errors','xlsx','findOne','success\x20to\x20save','confirm','text.there_is_nothing_to_delete','find','selected','_config','records','209770FJUDUb','routing','buildArgs','gutter','isEmpty','category','patchesForUpdateMultiple','Graphql\x20Error','exportableData','GROUP','codeItems','updateMultiple','extensions','showGraphqlErrorResponse','__dirty__','menuType','1176056aPOVEv','isNotEmpty','routingType','message','gridPersonalizeTemplates','2471872WSwZBi','columns','resourceUrl','SCREEN','__selected__','9vErsOs','error','record','split','query','networkError','undefined','children','createdAt','parent','updatedAt','__dirtyfields__','tMenu','items','noteq','searchMenuGridPersnalTemplate','1155155mZhBNY','type','HOME','info','menus'];a0_0x55a8=function(){return _0xd4d643;};return a0_0x55a8();}const a0_0x3ba930=a0_0x420c;(function(_0x4ccc8d,_0x1a7d77){const _0x4ee886=a0_0x420c,_0x3ce4ff=_0x4ccc8d();while(!![]){try{const _0x52d75a=parseInt(_0x4ee886(0xbb))/0x1+parseInt(_0x4ee886(0x7d))/0x2*(-parseInt(_0x4ee886(0x84))/0x3)+-parseInt(_0x4ee886(0xde))/0x4+-parseInt(_0x4ee886(0x78))/0x5+parseInt(_0x4ee886(0x94))/0x6*(parseInt(_0x4ee886(0x95))/0x7)+-parseInt(_0x4ee886(0xd9))/0x8*(-parseInt(_0x4ee886(0xe3))/0x9)+parseInt(_0x4ee886(0x98))/0xa*(parseInt(_0x4ee886(0xc9))/0xb);if(_0x52d75a===_0x1a7d77)break;else _0x3ce4ff['push'](_0x3ce4ff['shift']());}catch(_0x6b7dde){_0x3ce4ff['push'](_0x3ce4ff['shift']());}}}(a0_0x55a8,0x5147c));import{store}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';function a0_0x420c(_0x3e4514,_0x2ce7d6){const _0x55a8e5=a0_0x55a8();return a0_0x420c=function(_0x420c51,_0x265c87){_0x420c51=_0x420c51-0x74;let _0x95f740=_0x55a8e5[_0x420c51];return _0x95f740;},a0_0x420c(_0x3e4514,_0x2ce7d6);}import{UiUtil}from'./ui-util';import a0_0x399ce6 from'graphql-tag';import{ValueUtil}from'./value-util';export class ServiceUtil{static async['codeItems'](_0x19eb5d){return await getCodeByName(_0x19eb5d);}static async[a0_0x3ba930(0x90)](_0x45fa86){const _0x1ae5ce=a0_0x3ba930;let _0x573cfc=(await ServiceUtil[_0x1ae5ce(0xd3)](_0x45fa86))[_0x1ae5ce(0xb9)](_0xd29427=>({'value':_0xd29427[_0x1ae5ce(0x82)],'display':_0xd29427[_0x1ae5ce(0xab)]}));return _0x573cfc[_0x1ae5ce(0x7e)]({'value':'','display':''}),_0x573cfc;}static async[a0_0x3ba930(0xad)](_0x10ce73,_0x1f799c){const _0x5c40fd=a0_0x3ba930;let _0xb7cf68=await ServiceUtil[_0x5c40fd(0xb1)](null,_0x10ce73,_0x1f799c);return _0xb7cf68[_0x5c40fd(0x7e)]({'name':'','description':''}),_0xb7cf68['map'](_0x4fab08=>({'value':_0x4fab08[_0x5c40fd(0x82)],'display':_0x4fab08[_0x5c40fd(0xab)]}));}static async[a0_0x3ba930(0x99)](){const _0x2f73a8=a0_0x3ba930;let _0x510874=await ServiceUtil[_0x2f73a8(0xa2)]();return null!=_0x510874?ServiceUtil[_0x2f73a8(0xa6)](_0x510874):null;}static async[a0_0x3ba930(0x77)](_0x2920b4){const _0x361824=a0_0x3ba930;let _0x4fc9e5=[{'name':_0x361824(0xa3),'operator':'eq','value':_0x2920b4}],_0xf42bc4=await ServiceUtil['searchByPagination'](_0x361824(0xdd),_0x4fc9e5,[],0x0,0x0,_0x361824(0x96));return 0x0==_0xf42bc4[_0x361824(0xa0)]?{}:{'id':_0xf42bc4[_0x361824(0xc8)][0x0]['id'],'template':JSON[_0x361824(0x85)](_0xf42bc4[_0x361824(0xc8)][0x0][_0x361824(0x8e)])};}static['arrangeMenuRoutes'](_0x15778c){const _0x256d69=a0_0x3ba930;let _0x3af301=[];_0x15778c['forEach'](_0x5bcf17=>{const _0x3b9cea=a0_0x420c;_0x3af301[_0x3b9cea(0xa4)](_0x5bcf17),_0x5bcf17[_0x3b9cea(0xea)]&&(_0x5bcf17[_0x3b9cea(0xea)][_0x3b9cea(0xac)](function(_0x1fbfa2,_0xdc5165){const _0x4acf28=_0x3b9cea;return _0x1fbfa2[_0x4acf28(0x9f)]-_0xdc5165[_0x4acf28(0x9f)];}),_0x5bcf17[_0x3b9cea(0xea)][_0x3b9cea(0x86)](_0xcd9d72=>{const _0x4ab5e6=_0x3b9cea;0x1!=_0xcd9d72['hiddenFlag']&&(_0xcd9d72[_0x4ab5e6(0xec)]=_0x5bcf17,_0x3af301['push'](_0xcd9d72));}));});let _0x408549=_0x3af301[_0x256d69(0xb9)](_0x214bcc=>_0x256d69(0xd2)==_0x214bcc[_0x256d69(0xd8)]||_0x256d69(0xb3)==_0x214bcc['menuType']?{'id':_0x214bcc['id'],'parent':!0x0,'name':TermsUtil[_0x256d69(0x74)](_0x214bcc['name']),'icon':_0x214bcc[_0x256d69(0x87)],'type':_0x256d69(0xd2)==_0x214bcc[_0x256d69(0xd8)]?_0x256d69(0x8a):'','menus':[]}:{'id':'0'})['filter'](_0x40a5a2=>'0'!=_0x40a5a2['id']),_0x3734d0=_0x3af301[_0x256d69(0xb9)](_0x7692d6=>{const _0x410780=_0x256d69;if(_0x410780(0xe1)==_0x7692d6[_0x410780(0xd8)]||'HIDDEN-PAGE'==_0x7692d6['menuType']){let _0x153e2c=_0x408549[_0x410780(0xc5)](_0x2965d0=>_0x2965d0['id']==_0x7692d6[_0x410780(0xec)]['id']);if(_0x153e2c){let _0x18cf8b=TermsUtil[_0x410780(0x74)](_0x7692d6[_0x410780(0x82)]);return'SCREEN'==_0x7692d6[_0x410780(0xd8)]&&_0x153e2c[_0x410780(0x7c)][_0x410780(0xa4)]({'id':_0x7692d6['id'],'name':_0x18cf8b,'path':_0x7692d6[_0x410780(0xca)],'icon':_0x7692d6[_0x410780(0x87)]}),{'id':_0x7692d6['id'],'parent':!0x1,'parent_id':_0x153e2c['id'],'title':_0x18cf8b,'tagname':_0x7692d6['category'],'page':_0x7692d6['routing'],'template':_0x7692d6['resourceUrl'],'routing_type':_0x7692d6[_0x410780(0xdb)]};}return{'id':'0'};}return _0x410780(0x7a)==_0x7692d6[_0x410780(0xd8)]?{'id':_0x7692d6['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x410780(0x74)](_0x7692d6[_0x410780(0x82)]),'tagname':_0x7692d6[_0x410780(0xce)],'page':_0x7692d6['routing'],'template':_0x7692d6[_0x410780(0xe0)],'routing_type':_0x7692d6[_0x410780(0xdb)]}:{'id':'0'};})[_0x256d69(0x88)](_0x168688=>null!=_0x168688&&'0'!=_0x168688['id']);return{'menus':_0x408549,'routes':_0x3734d0};}static async[a0_0x3ba930(0xa2)](){const _0x961aca=a0_0x3ba930;let _0x1c34dc=await ServiceUtil['searchByPagination'](_0x961aca(0x7c),[{'name':_0x961aca(0xa9),'operator':_0x961aca(0x76),'value':!0x0},{'name':_0x961aca(0xd8),'operator':'in','value':[_0x961aca(0x7a),'MENU',_0x961aca(0xd2)]}],[{'name':_0x961aca(0x9f)}],0x0,0x0,_0x961aca(0xa5));return _0x1c34dc?_0x1c34dc['records']:[];}static async[a0_0x3ba930(0xd6)](_0x3b7bd0){const _0x5f30ff=a0_0x3ba930;if(_0x3b7bd0[_0x5f30ff(0xbf)]&&_0x3b7bd0[_0x5f30ff(0xbf)]['length']>0x0){let _0x52813c=_0x3b7bd0[_0x5f30ff(0xbf)][0x0],_0x251de4=_0x52813c[_0x5f30ff(0xdc)],_0x129d31=_0x52813c[_0x5f30ff(0xdc)];_0x52813c[_0x5f30ff(0xd5)]&&(_0x129d31=_0x52813c[_0x5f30ff(0xd5)]['code']),await UiUtil[_0x5f30ff(0x9a)](_0x129d31,_0x251de4,'error',_0x5f30ff(0xc3));}}static async['showGraphqlException'](_0x1d4599){const _0x4b46b2=a0_0x3ba930;_0x1d4599&&(_0x1d4599[_0x4b46b2(0xe8)]&&_0x1d4599[_0x4b46b2(0xe8)]['result']?await ServiceUtil[_0x4b46b2(0xd6)](_0x1d4599[_0x4b46b2(0xe8)]['result']):await UiUtil['showAlertPopup'](_0x4b46b2(0xd0),_0x1d4599[_0x4b46b2(0xdc)],_0x4b46b2(0xe4),_0x4b46b2(0xc3)));}static async[a0_0x3ba930(0xd1)](_0x3f1d48,_0x5c7fd0,_0x236ae7){const _0x26da37=a0_0x3ba930;var _0x923fd2=_0x236ae7[_0x26da37(0xc7)][_0x26da37(0xdf)][_0x26da37(0x88)](_0x5441a3=>'gutter'!==_0x5441a3['type']&&void 0x0!==_0x5441a3[_0x26da37(0xe5)]&&void 0x0!==_0x5441a3[_0x26da37(0xb0)]&&!0x0!==_0x5441a3[_0x26da37(0xba)])['map'](_0xe93ae2=>_0xe93ae2[_0x26da37(0xb0)]),_0x50d3e2=_0x236ae7[_0x26da37(0xaf)][_0x26da37(0xc8)][_0x26da37(0xb9)](_0x1a7cbd=>({..._0x236ae7[_0x26da37(0xc7)][_0x26da37(0xdf)][_0x26da37(0x88)](_0x44e13c=>_0x26da37(0xcc)!==_0x44e13c[_0x26da37(0x79)]&&void 0x0!==_0x44e13c[_0x26da37(0xe5)]&&void 0x0!==_0x44e13c['imex']&&!0x0!==_0x44e13c[_0x26da37(0xba)])[_0x26da37(0xa8)]((_0x30438a,_0x362bcd)=>(_0x30438a[_0x362bcd[_0x26da37(0xb0)][_0x26da37(0x97)]]=_0x362bcd[_0x26da37(0xb0)][_0x26da37(0x97)][_0x26da37(0xe6)]('.')['reduce']((_0x244df5,_0x150ab8)=>_0x244df5&&_0x26da37(0xe9)!==_0x244df5[_0x150ab8]?_0x244df5[_0x150ab8]:void 0x0,_0x1a7cbd),_0x30438a),{})}));if(!_0x3f1d48)return{'header':_0x923fd2,'data':_0x50d3e2};store[_0x26da37(0xb7)]({'type':EXPORT,'exportable':{'extension':_0x26da37(0xc0),'name':_0x5c7fd0,'data':{'header':_0x923fd2,'data':_0x50d3e2}}});}static async[a0_0x3ba930(0xae)](_0x54bdd8,_0x2ef349,_0x2230d5,_0x2f9a3c,_0xe9ab8f,_0x1f6b72){const _0x226f56=a0_0x3ba930;try{const _0x1f5fcc=await client['query']({'query':a0_0x399ce6`
|
|
1
|
+
const a0_0x441103=a0_0x27a1;(function(_0x10f4d6,_0x3badb3){const _0x3afbaf=a0_0x27a1,_0x47487d=_0x10f4d6();while(!![]){try{const _0xceb768=-parseInt(_0x3afbaf(0x20a))/0x1*(-parseInt(_0x3afbaf(0x1d6))/0x2)+-parseInt(_0x3afbaf(0x1a4))/0x3+parseInt(_0x3afbaf(0x203))/0x4+parseInt(_0x3afbaf(0x200))/0x5*(parseInt(_0x3afbaf(0x1c3))/0x6)+parseInt(_0x3afbaf(0x1f1))/0x7*(parseInt(_0x3afbaf(0x19c))/0x8)+-parseInt(_0x3afbaf(0x1e4))/0x9*(-parseInt(_0x3afbaf(0x1ad))/0xa)+-parseInt(_0x3afbaf(0x1ef))/0xb*(parseInt(_0x3afbaf(0x209))/0xc);if(_0xceb768===_0x3badb3)break;else _0x47487d['push'](_0x47487d['shift']());}catch(_0x15ae58){_0x47487d['push'](_0x47487d['shift']());}}}(a0_0x529d,0xc7e6b));import{store}from'@things-factory/shell';function a0_0x27a1(_0x52e561,_0x401ddf){const _0x529dc3=a0_0x529d();return a0_0x27a1=function(_0x27a17e,_0x5baf8d){_0x27a17e=_0x27a17e-0x196;let _0x2639c9=_0x529dc3[_0x27a17e];return _0x2639c9;},a0_0x27a1(_0x52e561,_0x401ddf);}import{getCodeByName}from'@things-factory/code-base';function a0_0x529d(){const _0x2c3655=['includes','tText','__dirty__','question','menus','split','findOne','deleteListByIds','template','6301966YoCXSe','record','1569463gCpIvE','menuType','category','creator','tMenu','__dirtyfields__','forEach','map','searchMenuGridPersnalTemplate','parse','success\x20to\x20delete','HOME','_config','items','children','5XVjEdM','menu.id','data','2681632KQHllQ','routing','checkClientError','getSelectedIdList','push','extensions','60KAJttX','607WkxhJX','type','noteq','query','Graphql\x20Error','myDynamicMenus','text.are_you_sure','key','56XzCHqY','buildArgs','isNotEmpty','text.nothing_selected','success\x20to\x20save','unshift','cancel','rank','346131epAfwF','info','hidden','total','iconPath','runScenario','cuFlag','length','id,template','878910zsbjMX','resourceUrl','searchMyDynamicMenus','networkError','exportableData','object','arrangeMenuRoutes','__selected__','getCodeByScenario','columns','deleteListByGristSelected','name','searchByPagination','dirtyRecords','codeItems','parent','undefined','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\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\x20\x20children{\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\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\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\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\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','text.nothing_changed','routingType','text.NOTHING_CHANGED','callScenario','3545562ZbbOhY','imex','showAlertPopup','text.there_is_nothing_to_delete','updater','gridPersonalizeTemplates','showToast','__origin__','updateMultiple','SCREEN','gutter','updateMultipleData','filter','reduce','dispatch','records','MENU','value','success\x20to\x20process','1162bNjJbe','group','GROUP','description','result','hiddenFlag','confirm','fetch','showGraphqlException','message','showGraphqlErrorResponse','error','title','errors','63swGEdE','delete'];a0_0x529d=function(){return _0x2c3655;};return a0_0x529d();}import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x10e0ff from'graphql-tag';import{ValueUtil}from'./value-util';export class ServiceUtil{static async[a0_0x441103(0x1bb)](_0x1859b8){return await getCodeByName(_0x1859b8);}static async['getCodeSelectorData'](_0x170acd){const _0x44fa13=a0_0x441103;let _0x20ee9b=(await ServiceUtil['codeItems'](_0x170acd))[_0x44fa13(0x1f8)](_0x1931bc=>({'value':_0x1931bc[_0x44fa13(0x1b8)],'display':_0x1931bc[_0x44fa13(0x1d9)]}));return _0x20ee9b[_0x44fa13(0x1a1)]({'value':'','display':''}),_0x20ee9b;}static async[a0_0x441103(0x1b5)](_0x42e605,_0x3fec94){const _0x413919=a0_0x441103;let _0x76fbe7=await ServiceUtil[_0x413919(0x1c2)](null,_0x42e605,_0x3fec94);return _0x76fbe7[_0x413919(0x1a1)]({'name':'','description':''}),_0x76fbe7['map'](_0xda9de8=>({'value':_0xda9de8[_0x413919(0x1b8)],'display':_0xda9de8[_0x413919(0x1d9)]}));}static async[a0_0x441103(0x199)](){const _0xab4d50=a0_0x441103;let _0x3095f3=await ServiceUtil[_0xab4d50(0x1af)]();return null!=_0x3095f3?ServiceUtil[_0xab4d50(0x1b3)](_0x3095f3):null;}static async[a0_0x441103(0x1f9)](_0x105b20){const _0x5b3d10=a0_0x441103;let _0x53a73c=[{'name':_0x5b3d10(0x201),'operator':'eq','value':_0x105b20}],_0x273b2a=await ServiceUtil[_0x5b3d10(0x1b9)](_0x5b3d10(0x1c8),_0x53a73c,[],0x0,0x0,_0x5b3d10(0x1ac));return 0x0==_0x273b2a[_0x5b3d10(0x1a7)]?{}:{'id':_0x273b2a[_0x5b3d10(0x1d2)][0x0]['id'],'template':JSON[_0x5b3d10(0x1fa)](_0x273b2a[_0x5b3d10(0x1d2)][0x0][_0x5b3d10(0x1ee)])};}static[a0_0x441103(0x1b3)](_0x1155bf){const _0x364abb=a0_0x441103;let _0x219798=[];_0x1155bf[_0x364abb(0x1f7)](_0x485842=>{const _0x3b34f1=_0x364abb;_0x219798['push'](_0x485842),_0x485842[_0x3b34f1(0x1ff)]&&(_0x485842[_0x3b34f1(0x1ff)]['sort'](function(_0x390d53,_0x1011ba){const _0xa8c610=_0x3b34f1;return _0x390d53[_0xa8c610(0x1a3)]-_0x1011ba[_0xa8c610(0x1a3)];}),_0x485842['children']['forEach'](_0xc1ab46=>{const _0x49ccac=_0x3b34f1;0x1!=_0xc1ab46[_0x49ccac(0x1db)]&&(_0xc1ab46[_0x49ccac(0x1bc)]=_0x485842,_0x219798[_0x49ccac(0x207)](_0xc1ab46));}));});let _0x57165b=_0x219798[_0x364abb(0x1f8)](_0x27ce5b=>_0x364abb(0x1d8)==_0x27ce5b[_0x364abb(0x1f2)]||_0x364abb(0x1d3)==_0x27ce5b[_0x364abb(0x1f2)]?{'id':_0x27ce5b['id'],'parent':!0x0,'name':TermsUtil[_0x364abb(0x1f5)](_0x27ce5b[_0x364abb(0x1b8)]),'icon':_0x27ce5b['iconPath'],'type':'GROUP'==_0x27ce5b['menuType']?_0x364abb(0x1d7):'','menus':[]}:{'id':'0'})['filter'](_0x156b23=>'0'!=_0x156b23['id']),_0x3b901e=_0x219798[_0x364abb(0x1f8)](_0x3fb017=>{const _0x5839e0=_0x364abb;if(_0x5839e0(0x1cc)==_0x3fb017[_0x5839e0(0x1f2)]||'HIDDEN-PAGE'==_0x3fb017[_0x5839e0(0x1f2)]){let _0x767593=_0x57165b['find'](_0x30a42d=>_0x30a42d['id']==_0x3fb017[_0x5839e0(0x1bc)]['id']);if(_0x767593){let _0x46ff7a=TermsUtil[_0x5839e0(0x1f5)](_0x3fb017[_0x5839e0(0x1b8)]);return _0x5839e0(0x1cc)==_0x3fb017[_0x5839e0(0x1f2)]&&_0x767593['menus']['push']({'id':_0x3fb017['id'],'name':_0x46ff7a,'path':_0x3fb017['routing'],'icon':_0x3fb017[_0x5839e0(0x1a8)]}),{'id':_0x3fb017['id'],'parent':!0x1,'parent_id':_0x767593['id'],'title':_0x46ff7a,'tagname':_0x3fb017[_0x5839e0(0x1f3)],'page':_0x3fb017['routing'],'template':_0x3fb017['resourceUrl'],'routing_type':_0x3fb017[_0x5839e0(0x1c0)]};}return{'id':'0'};}return _0x5839e0(0x1fc)==_0x3fb017[_0x5839e0(0x1f2)]?{'id':_0x3fb017['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x5839e0(0x1f5)](_0x3fb017[_0x5839e0(0x1b8)]),'tagname':_0x3fb017['category'],'page':_0x3fb017[_0x5839e0(0x204)],'template':_0x3fb017[_0x5839e0(0x1ae)],'routing_type':_0x3fb017[_0x5839e0(0x1c0)]}:{'id':'0'};})[_0x364abb(0x1cf)](_0x18ea0a=>null!=_0x18ea0a&&'0'!=_0x18ea0a['id']);return{'menus':_0x57165b,'routes':_0x3b901e};}static async[a0_0x441103(0x1af)](){const _0xa93376=a0_0x441103;let _0x11c368=await ServiceUtil[_0xa93376(0x1b9)](_0xa93376(0x1ea),[{'name':_0xa93376(0x1db),'operator':_0xa93376(0x196),'value':!0x0},{'name':_0xa93376(0x1f2),'operator':'in','value':[_0xa93376(0x1fc),'MENU',_0xa93376(0x1d8)]}],[{'name':_0xa93376(0x1a3)}],0x0,0x0,_0xa93376(0x1be));return _0x11c368?_0x11c368[_0xa93376(0x1d2)]:[];}static async[a0_0x441103(0x1e0)](_0x42ca7a){const _0x137a46=a0_0x441103;if(_0x42ca7a[_0x137a46(0x1e3)]&&_0x42ca7a[_0x137a46(0x1e3)][_0x137a46(0x1ab)]>0x0){let _0x559ea2=_0x42ca7a[_0x137a46(0x1e3)][0x0],_0x4ead64=_0x559ea2[_0x137a46(0x1df)],_0x335c95=_0x559ea2[_0x137a46(0x1df)];_0x559ea2[_0x137a46(0x208)]&&(_0x335c95=_0x559ea2[_0x137a46(0x208)]['code']),await UiUtil[_0x137a46(0x1c5)](_0x335c95,_0x4ead64,'error',_0x137a46(0x1dc));}}static async[a0_0x441103(0x1de)](_0xb9bef9){const _0x5efa47=a0_0x441103;_0xb9bef9&&(_0xb9bef9['networkError']&&_0xb9bef9['networkError'][_0x5efa47(0x1da)]?await ServiceUtil['showGraphqlErrorResponse'](_0xb9bef9[_0x5efa47(0x1b0)][_0x5efa47(0x1da)]):await UiUtil[_0x5efa47(0x1c5)](_0x5efa47(0x198),_0xb9bef9['message'],_0x5efa47(0x1e1),_0x5efa47(0x1dc)));}static async[a0_0x441103(0x1b1)](_0x17a4b2,_0x183f1b,_0x50a409){const _0x541294=a0_0x441103;var _0x4236b9=_0x50a409[_0x541294(0x1fd)][_0x541294(0x1b6)][_0x541294(0x1cf)](_0x47bb07=>'gutter'!==_0x47bb07[_0x541294(0x20b)]&&void 0x0!==_0x47bb07[_0x541294(0x1f0)]&&void 0x0!==_0x47bb07[_0x541294(0x1c4)]&&!0x0!==_0x47bb07[_0x541294(0x1a6)])['map'](_0x2babe7=>_0x2babe7[_0x541294(0x1c4)]),_0x10e1e0=_0x50a409[_0x541294(0x202)][_0x541294(0x1d2)][_0x541294(0x1f8)](_0x3456b8=>({..._0x50a409[_0x541294(0x1fd)][_0x541294(0x1b6)][_0x541294(0x1cf)](_0x16f11e=>_0x541294(0x1cd)!==_0x16f11e[_0x541294(0x20b)]&&void 0x0!==_0x16f11e[_0x541294(0x1f0)]&&void 0x0!==_0x16f11e[_0x541294(0x1c4)]&&!0x0!==_0x16f11e[_0x541294(0x1a6)])[_0x541294(0x1d0)]((_0x2d0e09,_0x3690a3)=>(_0x2d0e09[_0x3690a3[_0x541294(0x1c4)][_0x541294(0x19b)]]=_0x3690a3[_0x541294(0x1c4)][_0x541294(0x19b)][_0x541294(0x1eb)]('.')[_0x541294(0x1d0)]((_0x5ba430,_0x5b7f20)=>_0x5ba430&&_0x541294(0x1bd)!==_0x5ba430[_0x5b7f20]?_0x5ba430[_0x5b7f20]:void 0x0,_0x3456b8),_0x2d0e09),{})}));if(!_0x17a4b2)return{'header':_0x4236b9,'data':_0x10e1e0};store[_0x541294(0x1d1)]({'type':EXPORT,'exportable':{'extension':'xlsx','name':_0x183f1b,'data':{'header':_0x4236b9,'data':_0x10e1e0}}});}static async[a0_0x441103(0x1b9)](_0x33fb44,_0x52ee42,_0xf11116,_0x1ea7f7,_0x5f023b,_0xc2e649){const _0x332f36=a0_0x441103;try{const _0x38fbf6=await client[_0x332f36(0x197)]({'query':a0_0x10e0ff`
|
|
2
2
|
query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
3
|
-
${
|
|
3
|
+
${_0x33fb44}(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
4
4
|
items {
|
|
5
|
-
${
|
|
5
|
+
${_0xc2e649}
|
|
6
6
|
}
|
|
7
7
|
total
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
`,'variables':{'filters':
|
|
10
|
+
`,'variables':{'filters':_0x52ee42,'sortings':_0xf11116,'pagination':{'page':_0x1ea7f7,'limit':_0x5f023b}}});if(!_0x38fbf6[_0x332f36(0x1e3)])return{'records':_0x38fbf6[_0x332f36(0x202)][_0x33fb44][_0x332f36(0x1fe)],'total':_0x38fbf6[_0x332f36(0x202)][_0x33fb44][_0x332f36(0x1a7)]};ServiceUtil[_0x332f36(0x1e0)](_0x38fbf6);}catch(_0xdf16bd){ServiceUtil[_0x332f36(0x1de)](_0xdf16bd);}return null;}static async[a0_0x441103(0x1ec)](_0x9e72a6,_0x300715,_0x48ce6e){const _0x167643=a0_0x441103;try{let _0x12bf66=await client[_0x167643(0x197)]({'query':a0_0x10e0ff`
|
|
11
11
|
query ($id: String!) {
|
|
12
|
-
${
|
|
13
|
-
${
|
|
12
|
+
${_0x9e72a6}(id: $id) {
|
|
13
|
+
${_0x48ce6e}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,'variables':{'id':
|
|
16
|
+
`,'variables':{'id':_0x300715}});if(!_0x12bf66['errors'])return _0x12bf66['data'][_0x9e72a6]||{};ServiceUtil[_0x167643(0x1e0)](_0x12bf66);}catch(_0x441002){ServiceUtil[_0x167643(0x1de)](_0x441002);}return null;}static['getSelectedIdList'](_0x32a89a,_0x39aa68){const _0x77111f=a0_0x441103,_0x39f5ef=_0x32a89a['selected'][_0x77111f(0x1f8)](_0x14fd49=>_0x14fd49['id']);return ValueUtil['isEmpty'](_0x39f5ef)&&0x1==_0x39aa68&&UiUtil[_0x77111f(0x1c5)](_0x77111f(0x19f),_0x77111f(0x1c6),_0x77111f(0x1a5),_0x77111f(0x1dc)),_0x39f5ef;}static async[a0_0x441103(0x1b7)](_0x276f55,_0x4216d6){const _0x17e383=a0_0x441103;let _0x1734b3=ServiceUtil[_0x17e383(0x206)](_0x276f55,!0x0);ValueUtil[_0x17e383(0x19e)](_0x1734b3)&&(await ServiceUtil[_0x17e383(0x1ed)](_0x1734b3,_0x4216d6)&&_0x276f55[_0x17e383(0x1dd)]());}static async['deleteListByIds'](_0x20f856,_0x255a8e){const _0x27a8f3=a0_0x441103;if(!(await UiUtil[_0x27a8f3(0x1c5)]('button.delete',_0x27a8f3(0x19a),_0x27a8f3(0x1e9),_0x27a8f3(0x1e5),'cancel'))['value'])return!0x1;try{const _0x55d1de=await client[_0x27a8f3(0x197)]({'query':a0_0x10e0ff`
|
|
17
17
|
mutation {
|
|
18
|
-
${
|
|
18
|
+
${_0x255a8e}(${gqlBuilder['buildArgs']({'ids':_0x20f856})})
|
|
19
19
|
}
|
|
20
|
-
`});if(!
|
|
20
|
+
`});if(!_0x55d1de[_0x27a8f3(0x1e3)])return UiUtil[_0x27a8f3(0x1c9)](_0x27a8f3(0x1a5),TermsUtil[_0x27a8f3(0x1e7)](_0x27a8f3(0x1fb))),!0x0;ServiceUtil[_0x27a8f3(0x1e0)](_0x55d1de);}catch(_0x502130){ServiceUtil[_0x27a8f3(0x1de)](_0x502130);}return!0x1;}static async[a0_0x441103(0x1ce)](_0x2bbc55,_0x40f6f7){const _0xf8a0ac=a0_0x441103;let _0x16d560=ServiceUtil['patchesForUpdateMultiple'](_0x2bbc55);if(ValueUtil[_0xf8a0ac(0x19e)](_0x16d560)){let _0x39760f=await ServiceUtil[_0xf8a0ac(0x1cb)](_0x40f6f7,_0x16d560);if(_0x39760f)return _0x2bbc55[_0xf8a0ac(0x1dd)](),_0x39760f;}return!0x1;}static async[a0_0x441103(0x1cb)](_0x548c29,_0x226336){const _0x5b9a89=a0_0x441103;try{const _0x4da723=await client['query']({'query':a0_0x10e0ff`
|
|
21
21
|
mutation {
|
|
22
|
-
${
|
|
22
|
+
${_0x548c29}(${gqlBuilder[_0x5b9a89(0x19d)]({'patches':_0x226336})}) {
|
|
23
23
|
id
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
`,'context':{'hasUpload':!0x0}});if(!
|
|
26
|
+
`,'context':{'hasUpload':!0x0}});if(!_0x4da723[_0x5b9a89(0x1e3)])return UiUtil['showToast']('info',TermsUtil['tText'](_0x5b9a89(0x1a0))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x4da723);}catch(_0x29bbc4){ServiceUtil[_0x5b9a89(0x1de)](_0x29bbc4);}return!0x1;}static['patchesForUpdateMultiple'](_0x405895){const _0x2a05f4=a0_0x441103;let _0x49545f=_0x405895[_0x2a05f4(0x1ba)];if(_0x49545f&&0x0!=_0x49545f[_0x2a05f4(0x1ab)])return _0x49545f[_0x2a05f4(0x1f8)](_0x476c86=>{const _0x159a90=_0x2a05f4;let _0x1ad8fc=_0x476c86['id']?{'id':_0x476c86['id']}:{};for(let _0x5e6b0e in _0x476c86)[_0x159a90(0x1f4),_0x159a90(0x1c7),'createdAt','updatedAt',_0x159a90(0x1e8),_0x159a90(0x1f6),_0x159a90(0x1ca),'__seq__',_0x159a90(0x1b4)][_0x159a90(0x1e6)](_0x5e6b0e)||(_0x476c86[_0x5e6b0e]&&_0x159a90(0x1b2)==typeof _0x476c86[_0x5e6b0e]?_0x1ad8fc[_0x5e6b0e]={'id':_0x476c86[_0x5e6b0e]['id']}:_0x1ad8fc[_0x5e6b0e]=_0x476c86[_0x5e6b0e]);return _0x1ad8fc[_0x159a90(0x1aa)]=_0x476c86[_0x159a90(0x1e8)],_0x1ad8fc;});UiUtil[_0x2a05f4(0x1c5)](_0x2a05f4(0x1bf),_0x2a05f4(0x1c1),'info','confirm');}static async[a0_0x441103(0x1c2)](_0x23a751,_0x16c909,_0x2c8e6c){const _0x4ac976=a0_0x441103;let _0x30f9ca=!0x0;_0x23a751&&(_0x30f9ca=(await UiUtil[_0x4ac976(0x1c5)]('button.'+_0x23a751,_0x4ac976(0x19a),_0x4ac976(0x1e9),'confirm',_0x4ac976(0x1a2)))[_0x4ac976(0x1d4)]);if(_0x30f9ca)try{const _0x2fab4b=await client['query']({'query':a0_0x10e0ff`
|
|
27
27
|
mutation ($scenarioName: String!, $variables: Object) {
|
|
28
28
|
runScenario(scenarioName: $scenarioName, variables: $variables) {
|
|
29
29
|
state
|
|
@@ -32,4 +32,4 @@ function a0_0x55a8(){const _0xd4d643=['64738gydHiE','unshift','getSelectedIdList
|
|
|
32
32
|
__typename
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
`,'variables':{'scenarioName':
|
|
35
|
+
`,'variables':{'scenarioName':_0x16c909,'variables':_0x2c8e6c}});if(_0x2fab4b[_0x4ac976(0x1e3)])ServiceUtil[_0x4ac976(0x1e0)](_0x2fab4b);else{if(this[_0x4ac976(0x205)](_0x2fab4b))return UiUtil['showToast'](_0x4ac976(0x1a5),TermsUtil[_0x4ac976(0x1e7)](_0x4ac976(0x1d5))),_0x2fab4b;}}catch(_0x2dec58){ServiceUtil[_0x4ac976(0x1de)](_0x2dec58);}return!0x1;}static[a0_0x441103(0x205)](_0x4000ac){const _0x48bb90=a0_0x441103;if(_0x4000ac&&_0x4000ac[_0x48bb90(0x202)]&&_0x4000ac[_0x48bb90(0x202)][_0x48bb90(0x1a9)]&&_0x4000ac[_0x48bb90(0x202)]['runScenario'][_0x48bb90(0x202)]&&_0x4000ac['data']['runScenario']['data']['error']){let _0xea4548=_0x4000ac[_0x48bb90(0x202)]['runScenario'][_0x48bb90(0x202)][_0x48bb90(0x1e1)];return UiUtil[_0x48bb90(0x1c5)](_0xea4548[_0x48bb90(0x1e2)],_0xea4548[_0x48bb90(0x1df)],_0x48bb90(0x1e1),_0x48bb90(0x1dc)),!0x1;}return!0x0;}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
function a0_0x2d94(_0x52ce7f,_0x205036){const _0x24fa4a=a0_0x24fa();return a0_0x2d94=function(_0x2d941e,_0x535304){_0x2d941e=_0x2d941e-0x142;let _0x5a5e18=_0x24fa4a[_0x2d941e];return _0x5a5e18;},a0_0x2d94(_0x52ce7f,_0x205036);}const a0_0x13d937=a0_0x2d94;(function(_0x30a4ee,_0xd12187){const _0x3a0ae9=a0_0x2d94,_0x1b29ba=_0x30a4ee();while(!![]){try{const _0x5e72bd=-parseInt(_0x3a0ae9(0x163))/0x1*(parseInt(_0x3a0ae9(0x15e))/0x2)+parseInt(_0x3a0ae9(0x15d))/0x3+-parseInt(_0x3a0ae9(0x145))/0x4+parseInt(_0x3a0ae9(0x14e))/0x5*(parseInt(_0x3a0ae9(0x14d))/0x6)+-parseInt(_0x3a0ae9(0x14f))/0x7+parseInt(_0x3a0ae9(0x157))/0x8+-parseInt(_0x3a0ae9(0x151))/0x9*(-parseInt(_0x3a0ae9(0x164))/0xa);if(_0x5e72bd===_0xd12187)break;else _0x1b29ba['push'](_0x1b29ba['shift']());}catch(_0x5ad441){_0x1b29ba['push'](_0x1b29ba['shift']());}}}(a0_0x24fa,0x90fd7));import a0_0x4dbd7c from'graphql-tag';function a0_0x24fa(){const _0x144724=['menu','tLabel','terminologies','category','tMenu','records','name','6NnXGRQ','2208455ZDQXZH','7492338Limbtl','locale','135SEOygY','tButton','replace','translate','total','downloadTerminologies','2680784SwQigZ','button','forEach','text','tError','field','1392693SmxrjR','24xLwPXd','keys','errors','META_TERMS','error','79821xTuIAF','926530LVFxdp','fetchTerminologies','display','length','35000ZvSPds'];a0_0x24fa=function(){return _0x144724;};return a0_0x24fa();}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x13d937(0x161)]=null;static async[a0_0x13d937(0x156)](_0x2ffe7d){const _0x420d93=a0_0x13d937;let _0x5c4bf1=(await TermsUtil[_0x420d93(0x142)](_0x2ffe7d))[_0x420d93(0x14b)];_0x5c4bf1&&_0x5c4bf1[_0x420d93(0x144)]>0x0&&(this[_0x420d93(0x161)]={},_0x5c4bf1[_0x420d93(0x159)](_0x599a82=>{const _0x2f73e6=_0x420d93;let _0x4a0f2c=_0x599a82[_0x2f73e6(0x149)]+'.'+_0x599a82[_0x2f73e6(0x14c)];this['META_TERMS'][_0x4a0f2c]=_0x599a82[_0x2f73e6(0x143)];}));}static async[a0_0x13d937(0x142)](_0xb24c08){const _0x46b0e9=a0_0x13d937;let _0x4d5bf9=[{'name':_0x46b0e9(0x150),'operator':'eq','value':_0xb24c08}];const _0x5cdd01=await client['query']({'query':a0_0x4dbd7c`
|
|
2
2
|
query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
3
3
|
terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
4
4
|
items {
|
|
@@ -11,4 +11,4 @@ const a0_0x1e98ac=a0_0x3660;function a0_0x3660(_0x32d2d8,_0x692fb6){const _0x19b
|
|
|
11
11
|
total
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
`,'variables':{'filters':
|
|
14
|
+
`,'variables':{'filters':_0x4d5bf9,'sortings':[{'name':_0x46b0e9(0x149)},{'name':_0x46b0e9(0x14c)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x5cdd01[_0x46b0e9(0x160)])return{'records':_0x5cdd01['data'][_0x46b0e9(0x148)]['items']||[],'total':_0x5cdd01['data'][_0x46b0e9(0x148)][_0x46b0e9(0x155)]||0x0};}static[a0_0x13d937(0x14a)](_0x468281){const _0x5cb45c=a0_0x13d937;return TermsUtil[_0x5cb45c(0x154)](_0x5cb45c(0x146),_0x468281,null,_0x468281);}static[a0_0x13d937(0x147)](_0x3fbff6,_0x1c0d0e){const _0x42049a=a0_0x13d937;let _0x3e3ee9=TermsUtil[_0x42049a(0x154)]('label',_0x3fbff6,_0x1c0d0e,null);return _0x3e3ee9||TermsUtil[_0x42049a(0x154)](_0x42049a(0x15c),_0x3fbff6,_0x1c0d0e,_0x3fbff6);}static['tField'](_0x2922c6,_0x49c2a2){const _0x991c73=a0_0x13d937;return TermsUtil[_0x991c73(0x154)](_0x991c73(0x15c),_0x2922c6,_0x49c2a2,_0x2922c6);}static[a0_0x13d937(0x152)](_0x5c2f95){const _0x47d56a=a0_0x13d937;return TermsUtil['translate'](_0x47d56a(0x158),_0x5c2f95,null,_0x5c2f95);}static['tTitle'](_0x21be3d,_0x475417){const _0x38565b=a0_0x13d937;return TermsUtil[_0x38565b(0x154)]('title',_0x21be3d,_0x475417,_0x21be3d);}static['tText'](_0x432b8c,_0x155d35){const _0x2e5578=a0_0x13d937;return TermsUtil[_0x2e5578(0x154)](_0x2e5578(0x15a),_0x432b8c,_0x155d35,_0x432b8c);}static[a0_0x13d937(0x15b)](_0x1b8951,_0xc8138f){const _0x576171=a0_0x13d937;return TermsUtil[_0x576171(0x154)](_0x576171(0x162),_0x1b8951,_0xc8138f,_0x1b8951);}static[a0_0x13d937(0x154)](_0x10ecc5,_0x1cb219,_0x20cfb6,_0x42d4b4){let _0x26a0b3=_0x10ecc5+'.'+_0x1cb219;return TermsUtil['t'](_0x26a0b3,_0x20cfb6,_0x42d4b4);}static['t'](_0x1ecde2,_0x4eda7e,_0x377e51){const _0x5b05be=a0_0x13d937;let _0x221b0c=this['META_TERMS']?this['META_TERMS'][_0x1ecde2]:null;return _0x221b0c=_0x221b0c||i18next['t'](_0x1ecde2),_0x221b0c&&_0x1ecde2!=_0x221b0c?(_0x4eda7e&&Object[_0x5b05be(0x15f)](_0x4eda7e)[_0x5b05be(0x159)](function(_0x1ca450){const _0x55638f=_0x5b05be;var _0x465307='\x5c{'+_0x1ca450['replace'](/\$/,'\x5c$')+'\x5c}',_0x3dac7e=new RegExp(_0x465307,'gi');_0x221b0c=_0x221b0c[_0x55638f(0x153)](_0x3dac7e,_0x4eda7e[_0x1ca450]);}),_0x221b0c):_0x377e51;}}
|
package/client/utils/ui-util.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x53bc20=a0_0x5e62;function a0_0x5e62(_0x5eecb1,_0x10616d){const _0x62878b=a0_0x6287();return a0_0x5e62=function(_0x5e6290,_0x292288){_0x5e6290=_0x5e6290-0x17f;let _0xe9f91f=_0x62878b[_0x5e6290];return _0xe9f91f;},a0_0x5e62(_0x5eecb1,_0x10616d);}(function(_0x42e9c6,_0x4d009d){const _0x5dc870=a0_0x5e62,_0x17318e=_0x42e9c6();while(!![]){try{const _0x4d01a9=-parseInt(_0x5dc870(0x1c5))/0x1*(parseInt(_0x5dc870(0x195))/0x2)+parseInt(_0x5dc870(0x18e))/0x3+-parseInt(_0x5dc870(0x19c))/0x4+parseInt(_0x5dc870(0x1a6))/0x5+parseInt(_0x5dc870(0x1ae))/0x6+-parseInt(_0x5dc870(0x19e))/0x7*(-parseInt(_0x5dc870(0x1c2))/0x8)+parseInt(_0x5dc870(0x19f))/0x9;if(_0x4d01a9===_0x4d009d)break;else _0x17318e['push'](_0x17318e['shift']());}catch(_0x126037){_0x17318e['push'](_0x17318e['shift']());}}}(a0_0x6287,0x73200));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';function a0_0x6287(){const _0x295ebd=['filters','getLeafInput','showToast','1869855cWOiUD','getParams','content','\x27></','editor','confirmButton','app','169854ZGeIlq','value','stringify','isNotEmpty','tButton','tagname','ox-input-code','3175428CUynvS','isMobileEnv','2471uaaOTW','4561722WdBSZs','onclosed','type','dispatchEvent','getFilterFormData','getType','createEditorHtml','363715pHzzGp','popup_field','openDynamicPopup','ko-KR','[name=\x27','indexOf','createCustomElement','notify','518508UFXUjn','split','route','length','code-editor','setValueToEditor','htmlToElement','innerHTML','menu','textarea','cookie','querySelector','i18next=','pageNavigate','setSearchFormEditorValue','firstElementChild','cancelButton','replace','i18next','pass=','14856HFlWje','getState','modules','8PYsbDA','renderRoot','ox-input-barcode','select-combo','name','openPopupByElement','getStore','fireCustomEvent','\x27\x20\x20parent_id=\x27','\x20route_name=\x27','childNodes','page','substring','\x27\x20is_popup=true></'];a0_0x6287=function(){return _0x295ebd;};return a0_0x6287();}import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x53bc20(0x19d)](){return isMobileDevice();}static['currentLocale'](){const _0x4d1fa7=a0_0x53bc20;let _0xb53080=document[_0x4d1fa7(0x1b8)];return _0xb53080=_0xb53080[_0x4d1fa7(0x189)](_0xb53080[_0x4d1fa7(0x1ab)](_0x4d1fa7(0x1c0))),_0xb53080['indexOf'](';')>-0x1&&(_0xb53080=_0xb53080[_0x4d1fa7(0x189)](0x0,_0xb53080[_0x4d1fa7(0x1ab)](';'))),_0xb53080=_0xb53080[_0x4d1fa7(0x1bf)](_0x4d1fa7(0x1ba),''),'ko'==_0xb53080?_0x4d1fa7(0x1a9):_0xb53080;}static['getApplicationModuleInfo'](){const _0x5e864a=a0_0x53bc20;let _0x176b5d=store[_0x5e864a(0x1c3)]()[_0x5e864a(0x194)][_0x5e864a(0x1c4)];return _0x176b5d[_0x176b5d[_0x5e864a(0x1b1)]-0x1];}static['currentRouting'](){const _0x5a1e6f=a0_0x53bc20;return store['getState']()[_0x5a1e6f(0x1b0)][_0x5a1e6f(0x188)];}static[a0_0x53bc20(0x182)](_0x3b8bf6,_0x4b6f71,_0x536235,_0x116061){return openPopup(_0x536235,{'backdrop':!0x0,'size':_0x4b6f71,'title':_0x3b8bf6,'backdrop':_0x116061});}static async[a0_0x53bc20(0x1a8)](_0x180984,_0xf1fc59,_0x5df8fd,_0x388caa){const _0x3e9fe8=a0_0x53bc20;let _0x3fb252=ValueUtil[_0x3e9fe8(0x198)](_0xf1fc59['parent_field'])?ValueUtil[_0x3e9fe8(0x18f)](_0x5df8fd,..._0xf1fc59['parent_field'][_0x3e9fe8(0x1af)]('.')):void 0x0,_0x18a994='<'+_0xf1fc59[_0x3e9fe8(0x19a)]+'\x20route_name=\x27'+_0xf1fc59[_0x3e9fe8(0x1b6)]+_0x3e9fe8(0x185)+_0x3fb252+_0x3e9fe8(0x18a)+_0xf1fc59[_0x3e9fe8(0x19a)]+'>',_0x24c076=UiUtil[_0x3e9fe8(0x1b4)](_0x18a994);_0x24c076['config']=_0xf1fc59,ValueUtil[_0x3e9fe8(0x198)](_0xf1fc59['popup_field'])&&(_0x24c076[_0xf1fc59[_0x3e9fe8(0x1a7)]]=_0x5df8fd);let _0x20ece6=UiUtil[_0x3e9fe8(0x182)](_0x180984,_0xf1fc59['size'],_0x24c076,!0x0);_0x388caa&&(_0x20ece6[_0x3e9fe8(0x1a0)]=_0x388caa);}static[a0_0x53bc20(0x1ac)](_0x205e4c,_0x517459){const _0x5e299d=a0_0x53bc20;let _0xa65013='<'+_0x205e4c+_0x5e299d(0x186)+_0x517459+_0x5e299d(0x191)+_0x205e4c+'>';return UiUtil['htmlToElement'](_0xa65013);}static[a0_0x53bc20(0x1b4)](_0x1f6d0f){const _0xe57603=a0_0x53bc20;var _0x53e71d=document['createElement']('template');_0x53e71d[_0xe57603(0x1b5)]=_0x1f6d0f;var _0x21b71b=_0x53e71d[_0xe57603(0x190)][_0xe57603(0x187)][0x0];return _0x53e71d['content']['removeChild'](_0x21b71b),_0x21b71b;}static[a0_0x53bc20(0x1bb)](_0x144225,_0x1d481c){const _0x2be338=a0_0x53bc20;let _0x2eb5c7=_0x1d481c?'?':'';_0x1d481c&&(_0x2eb5c7+=_0x2be338(0x1c1)+JSON[_0x2be338(0x197)](_0x1d481c)),navigate(''+_0x144225+_0x2eb5c7);}static[a0_0x53bc20(0x183)](_0x336139,_0x1e48d5,_0x1f5f91){const _0x4def5d=a0_0x53bc20;let _0x5c706c=_0x5c706c[_0x4def5d(0x1c3)]();return _0x336139&&_0x1e48d5&&_0x1f5f91?_0x5c706c[_0x336139][_0x1e48d5][_0x1f5f91]:_0x336139&&_0x1e48d5?_0x5c706c[_0x336139][_0x1e48d5]:_0x336139?_0x5c706c[_0x336139]:_0x5c706c;}static[a0_0x53bc20(0x184)](_0x10e54c,_0x37812b){const _0x4ebd70=a0_0x53bc20;document[_0x4ebd70(0x1a2)](new CustomEvent(_0x10e54c,{'detail':_0x37812b}));}static[a0_0x53bc20(0x18d)](_0x358f84,_0x1585b9){const _0x49212a=a0_0x53bc20;document[_0x49212a(0x1a2)](new CustomEvent(_0x49212a(0x1ad),{'detail':{'type':_0x358f84,'message':_0x1585b9}}));}static async['showAlertPopup'](_0x34781e,_0x23665e,_0x4a1067,_0x5993c2,_0x375b6f){const _0x1408de=a0_0x53bc20;let _0x5e68a3={'title':TermsUtil['t'](_0x34781e)||_0x34781e,'text':TermsUtil['t'](_0x23665e)||_0x23665e};return _0x4a1067&&(_0x5e68a3[_0x1408de(0x1a1)]=_0x4a1067),_0x5993c2&&(_0x5e68a3[_0x1408de(0x193)]=TermsUtil[_0x1408de(0x199)](_0x5993c2)),_0x375b6f&&(_0x5e68a3[_0x1408de(0x1be)]=TermsUtil[_0x1408de(0x199)](_0x375b6f)),await CustomAlert(_0x5e68a3);}static[a0_0x53bc20(0x1a3)](_0x4a42bc){const _0x32ccab=a0_0x53bc20;if(ValueUtil[_0x32ccab(0x198)](_0x4a42bc)){let _0x3ecf71=_0x4a42bc[_0x32ccab(0x18b)]();ValueUtil[_0x32ccab(0x198)](_0x3ecf71)&&_0x3ecf71['forEach'](_0x36acff=>{const _0x5808fa=_0x32ccab;ValueUtil[_0x5808fa(0x198)](_0x36acff[_0x5808fa(0x196)])&&(item[_0x36acff[_0x5808fa(0x181)]]=_0x36acff['value']?_0x36acff['value']:null);});}return{};}static[a0_0x53bc20(0x1bc)](_0xd36ec3,_0x4bdd06,_0x1548b0){const _0x90c350=a0_0x53bc20;if(ValueUtil['isNotEmpty'](_0xd36ec3)){let _0xac958c=_0xd36ec3[_0x90c350(0x1c6)]?.['querySelector'](_0x90c350(0x1aa)+_0x4bdd06+'\x27]');ValueUtil['isNotEmpty'](_0xac958c)&&(_0xac958c['value']=_0x1548b0);}}static[a0_0x53bc20(0x1a5)](_0x382b38,_0x3e2054,_0x420f03,_0x1e3063){return getEditor(_0x382b38)('',_0x3e2054,_0x420f03,_0x1e3063,{});}static[a0_0x53bc20(0x1b3)](_0x43fbdb,_0x42c974){const _0x3aadff=a0_0x53bc20;UiUtil[_0x3aadff(0x18c)](_0x43fbdb)[_0x3aadff(0x196)]=_0x42c974;}static[a0_0x53bc20(0x18c)](_0x3b76ae){const _0x32010d=a0_0x53bc20;let _0x4ec182=_0x3b76ae[_0x32010d(0x1a4)]();return _0x32010d(0x1b2)==_0x4ec182?_0x3b76ae[_0x32010d(0x1c6)][_0x32010d(0x1b9)](_0x32010d(0x19b)):_0x32010d(0x1b7)==_0x4ec182?_0x3b76ae['renderRoot'][_0x32010d(0x1b9)](_0x32010d(0x1b7)):_0x32010d(0x180)==_0x4ec182?_0x3b76ae[_0x32010d(0x1c6)][_0x32010d(0x1b9)]('ox-select')[_0x32010d(0x1bd)]:'barcode'==_0x4ec182?_0x3b76ae[_0x32010d(0x1c6)]['querySelector'](_0x32010d(0x17f))['renderRoot'][_0x32010d(0x1b9)]('input'):_0x3b76ae['renderRoot'][_0x32010d(0x1bd)][_0x32010d(0x192)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0xc7b38e=a0_0xdab9;(function(_0x141185,_0x2d37d5){const _0x2d76d0=a0_0xdab9,_0x27e8ed=_0x141185();while(!![]){try{const _0x59004f=-parseInt(_0x2d76d0(0x137))/0x1+parseInt(_0x2d76d0(0x145))/0x2+parseInt(_0x2d76d0(0x13e))/0x3+parseInt(_0x2d76d0(0x136))/0x4*(parseInt(_0x2d76d0(0x14f))/0x5)+-parseInt(_0x2d76d0(0x138))/0x6*(parseInt(_0x2d76d0(0x14d))/0x7)+-parseInt(_0x2d76d0(0x139))/0x8*(parseInt(_0x2d76d0(0x150))/0x9)+parseInt(_0x2d76d0(0x144))/0xa;if(_0x59004f===_0x2d37d5)break;else _0x27e8ed['push'](_0x27e8ed['shift']());}catch(_0x343aef){_0x27e8ed['push'](_0x27e8ed['shift']());}}}(a0_0x1b63,0x23235));import a0_0x505bf6 from'lodash-es/isEqual';function a0_0xdab9(_0x1270f8,_0x4955f7){const _0x1b6343=a0_0x1b63();return a0_0xdab9=function(_0xdab99d,_0x3cb04b){_0xdab99d=_0xdab99d-0x135;let _0x2693c6=_0x1b6343[_0xdab99d];return _0x2693c6;},a0_0xdab9(_0x1270f8,_0x4955f7);}import{TermsUtil}from'./terms-util';function a0_0x1b63(){const _0x1cd8ad=['populateObject','keys','10619RIlQSM','object','70FJNxjz','9OqPXlB','isEmpty','24040QSVXDm','136715bEizZP','792eoFCQr','1840648ZAUSqD','isNotEmpty','setParams','toInteger','true','38841liOAsF','length','map','isArray','boolean','isEquals','4907300QPXaIc','246296sMKZJu','TRUE','compareObjectValues','forEach','number','getParams'];a0_0x1b63=function(){return _0x1cd8ad;};return a0_0x1b63();}export class ValueUtil{static[a0_0xc7b38e(0x135)](_0x19f716){const _0x4379da=a0_0xc7b38e;if(void 0x0===_0x19f716)return!0x0;if(null===_0x19f716)return!0x0;if(_0x4379da(0x142)==typeof _0x19f716)return!0x1;if('string'==typeof _0x19f716||_0x4379da(0x149)==typeof _0x19f716){if(''==_0x19f716)return!0x0;}else{if(Array[_0x4379da(0x141)](_0x19f716)){if(0x0==_0x19f716[_0x4379da(0x13f)])return!0x0;}else{if(_0x4379da(0x14e)==typeof _0x19f716&&0x0==Object[_0x4379da(0x14c)](_0x19f716)[_0x4379da(0x13f)])return!0x0;}}return!0x1;}static[a0_0xc7b38e(0x13a)](_0x5372c3){const _0x24ddd7=a0_0xc7b38e;return!ValueUtil[_0x24ddd7(0x135)](_0x5372c3);}static[a0_0xc7b38e(0x143)](_0x466081,_0x139411){return a0_0x505bf6(_0x466081,_0x139411);}static[a0_0xc7b38e(0x13c)](_0x51aada,_0x94fb30){const _0xf318ba=a0_0xc7b38e;return ValueUtil[_0xf318ba(0x135)](_0x51aada)?_0x94fb30||0x0:parseInt(_0x51aada);}static['toBoolean'](_0x111193){const _0x62d4a4=a0_0xc7b38e;return!ValueUtil[_0x62d4a4(0x135)](_0x111193)&&(_0x62d4a4(0x13d)==_0x111193||'t'==_0x111193||_0x62d4a4(0x146)==_0x111193||'T'==_0x111193||'on'==_0x111193||'ON'==_0x111193);}static[a0_0xc7b38e(0x147)](_0x5c92e9,_0x45b330,_0x14c035){let _0x5b1186=!0x0;return _0x14c035['forEach'](_0x12124b=>{const _0x446bcc=a0_0xdab9;let _0x5d8aaa=_0x5c92e9[_0x12124b];if('*'===_0x5d8aaa)return;let _0x31dbbd=_0x45b330[_0x12124b]||'';ValueUtil[_0x446bcc(0x135)](_0x5d8aaa)?ValueUtil[_0x446bcc(0x13a)](_0x31dbbd)&&(_0x5b1186=!0x1):_0x5d8aaa!=_0x31dbbd&&(_0x5b1186=!0x1);}),_0x5b1186;}static[a0_0xc7b38e(0x13b)](_0x39dcc6,_0x45221a,_0x34bd6a,_0x15396f){const _0x134189=a0_0xc7b38e;let _0x54d9f3=ValueUtil[_0x134189(0x14a)](_0x45221a,_0x34bd6a);return ValueUtil['isNotEmpty'](_0x54d9f3)&&(_0x39dcc6[_0x34bd6a]=!0x0===_0x15396f?TermsUtil['t'](_0x54d9f3):_0x54d9f3),_0x39dcc6;}static[a0_0xc7b38e(0x14a)](_0x433966,..._0x1c63c0){const _0x5a1cbc=a0_0xc7b38e;if(arguments[_0x5a1cbc(0x13f)]<=0x1)return;let _0xcaabc0=_0x1c63c0[0x0];if(ValueUtil[_0x5a1cbc(0x135)](_0x433966[_0xcaabc0]))return;let _0x2e67a5=_0x433966[_0xcaabc0];return _0x1c63c0[_0x5a1cbc(0x13f)]>0x1?ValueUtil[_0x5a1cbc(0x14a)](_0x2e67a5,..._0x1c63c0['slice'](0x1)):_0x2e67a5;}static['populateArray'](_0x2287a9,_0x1952dd,..._0x332df7){const _0x306a41=a0_0xc7b38e;return _0x1952dd=_0x1952dd||[],_0x332df7=_0x332df7||Object[_0x306a41(0x14c)](_0x2287a9),ValueUtil['isNotEmpty'](_0x332df7)&&(_0x1952dd=_0x2287a9[_0x306a41(0x140)]((_0x518c9e,_0xfd3d0e)=>{const _0xe8a3f5=_0x306a41;let _0xd3266f=_0x1952dd[_0xe8a3f5(0x13f)]>_0xfd3d0e?_0x1952dd[_0xfd3d0e]:{};return ValueUtil[_0xe8a3f5(0x14b)](_0x518c9e,_0xd3266f,_0x332df7);})),_0x1952dd;}static[a0_0xc7b38e(0x14b)](_0x482389,_0xba3d62,..._0x296614){const _0x1db8ff=a0_0xc7b38e;return _0xba3d62=_0xba3d62||{},_0x296614=_0x296614||Object[_0x1db8ff(0x14c)](_0x482389),ValueUtil['isNotEmpty'](_0x296614)&&_0x296614[_0x1db8ff(0x148)](_0x1ae08e=>{_0xba3d62[_0x1ae08e]=_0x482389[_0x1ae08e];}),_0xba3d62;}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x229980,_0x863ea2){const _0x18442c=a0_0x13d4,_0x2519cd=_0x229980();while(!![]){try{const _0x225a58=parseInt(_0x18442c(0x6f))/0x1+-parseInt(_0x18442c(0x71))/0x2*(-parseInt(_0x18442c(0x75))/0x3)+parseInt(_0x18442c(0x70))/0x4+-parseInt(_0x18442c(0x6e))/0x5*(-parseInt(_0x18442c(0x76))/0x6)+parseInt(_0x18442c(0x74))/0x7*(parseInt(_0x18442c(0x6d))/0x8)+-parseInt(_0x18442c(0x77))/0x9+-parseInt(_0x18442c(0x73))/0xa*(parseInt(_0x18442c(0x72))/0xb);if(_0x225a58===_0x863ea2)break;else _0x2519cd['push'](_0x2519cd['shift']());}catch(_0x3e3edb){_0x2519cd['push'](_0x2519cd['shift']());}}}(a0_0x140a,0x7b996));import{css}from'lit';function a0_0x13d4(_0x35822a,_0x13d7ab){const _0x140af5=a0_0x140a();return a0_0x13d4=function(_0x13d4c5,_0x46a453){_0x13d4c5=_0x13d4c5-0x6d;let _0x135fc6=_0x140af5[_0x13d4c5];return _0x135fc6;},a0_0x13d4(_0x35822a,_0x13d7ab);}export const DynamicMenuLandscapeStyles=css`
|
|
2
2
|
:host {
|
|
3
3
|
overflow-x: auto;
|
|
4
4
|
background-color: var(--secondary-text-color);
|
|
@@ -144,4 +144,4 @@
|
|
|
144
144
|
background-color: rgba(var(--secondary-color-rgb), 0.3);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
`;
|
|
147
|
+
`;function a0_0x140a(){const _0x5ec7bd=['396ElFhlA','703090FCJCLR','567bfKWzh','139641hgERkf','2924742hufgND','6705333stUWpC','64488welDsU','10yUOoGu','964428ahmZNf','1595364SmSbWU','34tAtwya'];a0_0x140a=function(){return _0x5ec7bd;};return a0_0x140a();}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x5432a9=a0_0x1146;(function(_0x577333,_0xfedce4){const _0x3522eb=a0_0x1146,_0x54c60f=_0x577333();while(!![]){try{const _0x5bae69=parseInt(_0x3522eb(0x112))/0x1*(-parseInt(_0x3522eb(0x12c))/0x2)+parseInt(_0x3522eb(0x12b))/0x3*(-parseInt(_0x3522eb(0x111))/0x4)+-parseInt(_0x3522eb(0x135))/0x5*(parseInt(_0x3522eb(0x11a))/0x6)+parseInt(_0x3522eb(0x10e))/0x7*(-parseInt(_0x3522eb(0x11d))/0x8)+-parseInt(_0x3522eb(0x115))/0x9*(parseInt(_0x3522eb(0x125))/0xa)+-parseInt(_0x3522eb(0x124))/0xb+parseInt(_0x3522eb(0x10f))/0xc;if(_0x5bae69===_0xfedce4)break;else _0x54c60f['push'](_0x54c60f['shift']());}catch(_0x612e18){_0x54c60f['push'](_0x54c60f['shift']());}}}(a0_0x3cf9,0x2a2d9));import'@material/mwc-icon';function a0_0x1146(_0x57125b,_0x350e31){const _0x3cf943=a0_0x3cf9();return a0_0x1146=function(_0x114607,_0x4a2b6d){_0x114607=_0x114607-0x10c;let _0x1f6cab=_0x3cf943[_0x114607];return _0x1f6cab;},a0_0x1146(_0x57125b,_0x350e31);}import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';function a0_0x3cf9(){const _0x3622ab=['#force','path','647514IOQqIH','name','icon','828760GyuoDV','onWheelEvent','#wrap','href','type','stopPropagation','target','816068zBwJFD','1729250JdmXsY','menus','mousewheel','min','renderRoot','firstUpdated','9LuwEDW','58596CPkOJH','max','styles','bind','dispatchEvent','scrollLeft','activeTopLevel','addEventListener','currentTarget','15aksrHP','dynamic-menu-landscape','preventDefault','7yBaRUq','14195436dryHQL','submenu','408572Iooapb','1DEumJb','map','querySelector','9TwZuZv','settled','click'];a0_0x3cf9=function(){return _0x3622ab;};return a0_0x3cf9();}export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0x5432a9(0x12e)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['render'](){const _0x40abed=a0_0x5432a9,{menus:_0x39918e=[],activeTopLevel:_0xf1a6b4,activeMenu:_0x5971be}=this;return html`
|
|
2
2
|
<div id="wrap">
|
|
3
3
|
<ul>
|
|
4
|
-
${
|
|
5
|
-
<li ?active=${
|
|
6
|
-
<a href=${
|
|
7
|
-
${
|
|
4
|
+
${_0x39918e[_0x40abed(0x113)](_0x2af096=>'group'==_0x2af096[_0x40abed(0x121)]?html``:html`
|
|
5
|
+
<li ?active=${_0x2af096===_0xf1a6b4}>
|
|
6
|
+
<a href=${_0x2af096[_0x40abed(0x119)]||'#'}>
|
|
7
|
+
${_0x2af096[_0x40abed(0x11c)]?html`<mwc-icon>${_0x2af096[_0x40abed(0x11c)]}</mwc-icon>`:html``} ${_0x2af096[_0x40abed(0x11b)]}
|
|
8
8
|
</a>
|
|
9
9
|
|
|
10
10
|
<ul submenus>
|
|
11
|
-
${
|
|
12
|
-
<li ?active=${
|
|
13
|
-
<a href=${
|
|
11
|
+
${_0x2af096[_0x40abed(0x126)]?.['map'](_0x382342=>html`
|
|
12
|
+
<li ?active=${_0x382342===_0x5971be}>
|
|
13
|
+
<a href=${_0x382342[_0x40abed(0x119)]||'#'}> ${_0x382342['name']} </a>
|
|
14
14
|
</li>
|
|
15
15
|
`)}
|
|
16
16
|
</ul>
|
|
17
17
|
|
|
18
18
|
<div description>
|
|
19
|
-
${
|
|
19
|
+
${_0x2af096[_0x40abed(0x11c)]?html`<mwc-icon>${_0x2af096['icon']}</mwc-icon>`:html``} ${_0x2af096['description']||''}
|
|
20
20
|
</div>
|
|
21
21
|
</li>
|
|
22
22
|
`)}
|
|
23
23
|
</ul>
|
|
24
24
|
</div>
|
|
25
|
-
`;}[
|
|
25
|
+
`;}[a0_0x5432a9(0x12a)](){const _0x532cd6=a0_0x5432a9;this[_0x532cd6(0x129)][_0x532cd6(0x114)](_0x532cd6(0x11f))[_0x532cd6(0x133)](_0x532cd6(0x127),this[_0x532cd6(0x11e)][_0x532cd6(0x12f)](this),!0x1),this[_0x532cd6(0x129)][_0x532cd6(0x133)](_0x532cd6(0x117),_0x35d3ba=>{const _0x30ae17=_0x532cd6;if(_0x35d3ba['target']['submenu']){_0x35d3ba[_0x30ae17(0x122)](),_0x35d3ba[_0x30ae17(0x10d)]();let _0x112f5d=_0x35d3ba[_0x30ae17(0x123)][_0x30ae17(0x110)];return void this[_0x30ae17(0x130)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x30ae17(0x132)]===_0x112f5d?void 0x0:_0x112f5d}));}let _0x13c21b=_0x35d3ba[_0x30ae17(0x123)][_0x30ae17(0x120)];_0x13c21b&&location[_0x30ae17(0x120)]===_0x13c21b&&navigate(_0x13c21b+_0x30ae17(0x118),!0x0);}),this['renderRoot']['addEventListener']('transitionstart',_0x5328b3=>{const _0xffecb2=_0x532cd6;_0x5328b3['target']['removeAttribute'](_0xffecb2(0x116));}),this[_0x532cd6(0x129)][_0x532cd6(0x133)]('transitionend',_0x4d6d38=>{const _0xa42739=_0x532cd6;_0x4d6d38[_0xa42739(0x123)]['setAttribute'](_0xa42739(0x116),'');});}[a0_0x5432a9(0x11e)](_0x6238eb){const _0x2fb6c1=a0_0x5432a9,_0x135675=_0x6238eb[_0x2fb6c1(0x134)];var _0x5a5bcb=Math[_0x2fb6c1(0x12d)](-0x1,Math[_0x2fb6c1(0x128)](0x1,_0x6238eb['wheelDelta']||-_0x6238eb['detail']));_0x135675[_0x2fb6c1(0x131)]-=0xa*_0x5a5bcb,_0x6238eb['preventDefault']();}}customElements['define'](a0_0x5432a9(0x10c),DynamicMenuLandscape);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x314db2=a0_0x25ed;(function(_0x561f59,_0x206fc8){var _0x157e32=a0_0x25ed,_0x41b48b=_0x561f59();while(!![]){try{var _0x11baa7=-parseInt(_0x157e32(0x1b2))/0x1+parseInt(_0x157e32(0x1d0))/0x2+parseInt(_0x157e32(0x1ae))/0x3*(-parseInt(_0x157e32(0x1b9))/0x4)+-parseInt(_0x157e32(0x1ac))/0x5+parseInt(_0x157e32(0x1be))/0x6+-parseInt(_0x157e32(0x1cb))/0x7+-parseInt(_0x157e32(0x1ba))/0x8*(-parseInt(_0x157e32(0x1c2))/0x9);if(_0x11baa7===_0x206fc8)break;else _0x41b48b['push'](_0x41b48b['shift']());}catch(_0x3546c1){_0x41b48b['push'](_0x41b48b['shift']());}}}(a0_0x1496,0xdf26b));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x57be8f,_0x45000b){var _0x27efbc=a0_0x25ed;return _0x57be8f[_0x27efbc(0x1d1)]?.[_0x27efbc(0x1b3)]('?')[0x0]===_0x45000b||_0x57be8f['active']&&_0x27efbc(0x1b4)==typeof _0x57be8f[_0x27efbc(0x1cf)]&&_0x57be8f[_0x27efbc(0x1cf)][_0x27efbc(0x1af)](_0x57be8f,{'path':_0x45000b});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x314db2(0x1ca)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get['styles'](){return[ScrollbarStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
overflow-y: auto;
|
|
@@ -27,10 +27,10 @@ var a0_0x42342f=a0_0x1435;(function(_0x21a8be,_0x169d6f){var _0x4ba931=a0_0x1435
|
|
|
27
27
|
lite-menu-landscape {
|
|
28
28
|
flex: 1;
|
|
29
29
|
}
|
|
30
|
-
`];}[
|
|
30
|
+
`];}[a0_0x314db2(0x1aa)](){var _0x18540d=a0_0x314db2;return html`
|
|
31
31
|
<slot name="head"></slot>
|
|
32
|
-
${
|
|
33
|
-
.activeMenu=${this[
|
|
34
|
-
.activeMenu=${this[
|
|
32
|
+
${_0x18540d(0x1b6)!==this[_0x18540d(0x1ab)]?html`<dynamic-menu-portrait .menus=${this[_0x18540d(0x1d3)]} .activeTopLevel=${this[_0x18540d(0x1b1)]}
|
|
33
|
+
.activeMenu=${this[_0x18540d(0x1c9)]} .path=${this[_0x18540d(0x1b8)]}></dynamic-menu-portrait>`:html`<dynamic-menu-landscape .menus=${this[_0x18540d(0x1d3)]} .activeTopLevel=${this[_0x18540d(0x1b1)]}
|
|
34
|
+
.activeMenu=${this[_0x18540d(0x1c9)]} .path=${this[_0x18540d(0x1b8)]}></dynamic-menu-landscape>`}
|
|
35
35
|
<slot name="tail"></slot>
|
|
36
|
-
`;}[
|
|
36
|
+
`;}['firstUpdated'](){var _0x413ace=a0_0x314db2;this[_0x413ace(0x1bd)][_0x413ace(0x1ce)](_0x413ace(0x1c6),_0x54977f=>{var _0x2b0eee=_0x413ace;_0x54977f[_0x2b0eee(0x1c5)](),_0x54977f[_0x2b0eee(0x1bc)](),this['_activeTopLevel']=_0x54977f[_0x2b0eee(0x1b5)];});}['updated'](_0x1ae0b3){var _0xbd4c37=a0_0x314db2;(_0x1ae0b3[_0xbd4c37(0x1cc)](_0xbd4c37(0x1d3))||_0x1ae0b3[_0xbd4c37(0x1cc)]('page')||_0x1ae0b3[_0xbd4c37(0x1cc)]('resourceId'))&&this[_0xbd4c37(0x1c3)](),_0x1ae0b3[_0xbd4c37(0x1cc)](_0xbd4c37(0x1ab))&&(_0xbd4c37(0x1c0)==this[_0xbd4c37(0x1ab)]?this[_0xbd4c37(0x1d2)](_0xbd4c37(0x1b6)):this[_0xbd4c37(0x1ad)](_0xbd4c37(0x1b6),!0x0)),_0x1ae0b3[_0xbd4c37(0x1cc)](_0xbd4c37(0x1bb))&&this['replaceChild'](this[_0xbd4c37(0x1bb)]);}[a0_0x314db2(0x1c8)](_0x2b4d4e){var _0x192134=a0_0x314db2;this['page']=_0x2b4d4e[_0x192134(0x1b0)]['page'],this[_0x192134(0x1c7)]=_0x2b4d4e['route'][_0x192134(0x1c7)],this[_0x192134(0x1d3)]=_0x2b4d4e[_0x192134(0x1c1)]['menus']||[],this[_0x192134(0x1bb)]=_0x2b4d4e[_0x192134(0x1c1)]['slotTemplate'];}['_findActivePage'](){var _0x56177d=a0_0x314db2,_0x2a9db0,_0x5e46e4=this[_0x56177d(0x1c7)]?this[_0x56177d(0x1cd)]+'/'+this[_0x56177d(0x1c7)]:this[_0x56177d(0x1cd)],_0x503f31=this['menus']||[];this['_activeTopLevel']=_0x503f31[_0x56177d(0x1c4)](_0x2135c8=>isActiveMenu(_0x2135c8,_0x5e46e4)?(_0x2a9db0=_0x2135c8,!0x0):_0x2135c8['menus']?!!(_0x2a9db0=_0x2135c8[_0x56177d(0x1d3)][_0x56177d(0x1c4)](_0x329e6a=>isActiveMenu(_0x329e6a,_0x5e46e4))):void 0x0),this[_0x56177d(0x1b8)]=_0x5e46e4,this[_0x56177d(0x1c9)]=_0x2a9db0||this[_0x56177d(0x1b1)];}}function a0_0x1496(){var _0x4810d5=['function','detail','landscape','dynamic-menu-part','_path','13000bhZPBX','8QUfAhp','slotTemplate','preventDefault','renderRoot','6036954GtCeGi','define','portrait','metaUI','29892312KCkSFx','_findActivePage','find','stopPropagation','active-toplevel','resourceId','stateChanged','_activeMenu','properties','5521509zSPZxw','has','page','addEventListener','active','1468742CyINRW','path','removeAttribute','menus','render','orientation','3080910nIoTmZ','setAttribute','1185SMuiyg','call','route','_activeTopLevel','1459152QthBnN','split'];a0_0x1496=function(){return _0x4810d5;};return a0_0x1496();}function a0_0x25ed(_0x44d70f,_0x5f4df2){var _0x149614=a0_0x1496();return a0_0x25ed=function(_0x25ed5c,_0x175f2e){_0x25ed5c=_0x25ed5c-0x1aa;var _0x58a08c=_0x149614[_0x25ed5c];return _0x58a08c;},a0_0x25ed(_0x44d70f,_0x5f4df2);}customElements[a0_0x314db2(0x1bf)](a0_0x314db2(0x1b7),DynamicMenuPart);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4971bc,_0x3b925d){const _0x4a7668=a0_0x2d45,_0xc995a4=_0x4971bc();while(!![]){try{const _0x1b3071=-parseInt(_0x4a7668(0x107))/0x1+-parseInt(_0x4a7668(0x106))/0x2+parseInt(_0x4a7668(0x104))/0x3*(-parseInt(_0x4a7668(0x102))/0x4)+-parseInt(_0x4a7668(0x108))/0x5+-parseInt(_0x4a7668(0x105))/0x6+-parseInt(_0x4a7668(0x101))/0x7+parseInt(_0x4a7668(0x103))/0x8;if(_0x1b3071===_0x3b925d)break;else _0xc995a4['push'](_0xc995a4['shift']());}catch(_0x5abf62){_0xc995a4['push'](_0xc995a4['shift']());}}}(a0_0x3a2c,0x269e7));import{css}from'lit';function a0_0x3a2c(){const _0x4fe635=['454780hPBOFv','78928AVwmYk','249750EWdRfm','1070713WhYPmE','180268VyqeUm','6076104qaupXc','3bCgolJ','282216VPkmSd'];a0_0x3a2c=function(){return _0x4fe635;};return a0_0x3a2c();}function a0_0x2d45(_0x155471,_0x48ae98){const _0x3a2c8b=a0_0x3a2c();return a0_0x2d45=function(_0x2d4527,_0x198eaf){_0x2d4527=_0x2d4527-0x101;let _0x1f2502=_0x3a2c8b[_0x2d4527];return _0x1f2502;},a0_0x2d45(_0x155471,_0x48ae98);}export const DynamicMenuPortraitStyles=css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
overflow-y: auto;
|
|
@@ -116,4 +116,4 @@
|
|
|
116
116
|
font: bold 14px var(--theme-font);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
`;
|
|
119
|
+
`;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0xa9218b=a0_0x27ad;(function(_0x162a5c,_0x4f58fd){const _0x80de81=a0_0x27ad,_0x19c748=_0x162a5c();while(!![]){try{const _0xbd930d=parseInt(_0x80de81(0x17e))/0x1+-parseInt(_0x80de81(0x160))/0x2*(parseInt(_0x80de81(0x15a))/0x3)+parseInt(_0x80de81(0x181))/0x4*(parseInt(_0x80de81(0x167))/0x5)+-parseInt(_0x80de81(0x17b))/0x6*(parseInt(_0x80de81(0x16f))/0x7)+parseInt(_0x80de81(0x15f))/0x8+parseInt(_0x80de81(0x15d))/0x9*(parseInt(_0x80de81(0x15b))/0xa)+parseInt(_0x80de81(0x15c))/0xb*(parseInt(_0x80de81(0x16d))/0xc);if(_0xbd930d===_0x4f58fd)break;else _0x19c748['push'](_0x19c748['shift']());}catch(_0x593c5c){_0x19c748['push'](_0x19c748['shift']());}}}(a0_0x5dbb,0x870fa));import'@material/mwc-icon';function a0_0x27ad(_0x2dc264,_0x5d8af6){const _0x5dbb84=a0_0x5dbb();return a0_0x27ad=function(_0x27adb7,_0x314389){_0x27adb7=_0x27adb7-0x157;let _0x76d2c5=_0x5dbb84[_0x27adb7];return _0x76d2c5;},a0_0x27ad(_0x2dc264,_0x5d8af6);}import{html,LitElement}from'lit';import{navigate}from'@operato/shell';function a0_0x5dbb(){const _0x6872aa=['renderRoot','click','7435JmtuEG','renderMenus','name','removeAttribute','target','menu','12kkrYlt','stopPropagation','86611noFYvd','setAttribute','href','type','closest','render','define','firstUpdated','dynamic-menu-portrait','activeTopLevel','function','transitionstart','486yQCdKd','properties','active-toplevel','428643hxSuur','styles','settled','856sxdgas','dispatchEvent','transitionend','menus','36rywCWt','4478420iUhzrs','6445021HcmrNL','9CVhRXy','path','6771944tCCMCy','178614KhogaK','addEventListener','[menu]','active','map'];a0_0x5dbb=function(){return _0x6872aa;};return a0_0x5dbb();}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0xa9218b(0x17f)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0xa9218b(0x17c)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0xa9218b(0x168)](_0x32e645,_0xa79159,_0x3e73b7){const _0x1af80d=a0_0xa9218b;return html`
|
|
2
2
|
<ul>
|
|
3
|
-
${
|
|
3
|
+
${_0x32e645[_0x1af80d(0x164)](_0x176c8a=>'group'==_0x176c8a[_0x1af80d(0x172)]?html`<li group-label>${_0x176c8a[_0x1af80d(0x169)]}</li>`:html`
|
|
4
4
|
<li
|
|
5
|
-
?active=${
|
|
6
|
-
.menu=${
|
|
5
|
+
?active=${_0xa79159?_0x176c8a===_0xa79159:!(!_0x176c8a['active']||_0x1af80d(0x179)!=typeof _0x176c8a[_0x1af80d(0x163)])&&_0x176c8a[_0x1af80d(0x163)]['call'](_0x176c8a,{'path':this[_0x1af80d(0x15e)]})}
|
|
6
|
+
.menu=${_0x176c8a}
|
|
7
7
|
menu
|
|
8
8
|
>
|
|
9
|
-
<a href=${
|
|
10
|
-
${
|
|
11
|
-
<mwc-icon>${
|
|
12
|
-
${
|
|
9
|
+
<a href=${_0x176c8a[_0x1af80d(0x15e)]||'#'}>
|
|
10
|
+
${_0x176c8a[_0x1af80d(0x159)]?.['length']>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
|
|
11
|
+
<mwc-icon>${_0x176c8a['icon']}</mwc-icon>
|
|
12
|
+
${_0x176c8a[_0x1af80d(0x169)]}
|
|
13
13
|
</a>
|
|
14
|
-
${
|
|
14
|
+
${_0x176c8a[_0x1af80d(0x159)]&&this[_0x1af80d(0x168)](_0x176c8a[_0x1af80d(0x159)],_0x3e73b7)}
|
|
15
15
|
</li>
|
|
16
16
|
`)}
|
|
17
17
|
</ul>
|
|
18
|
-
`;}[
|
|
18
|
+
`;}[a0_0xa9218b(0x174)](){const {menus:_0x804e1,activeTopLevel:_0x757eb2,activeMenu:_0x3b04d0}=this;return this['renderMenus'](_0x804e1,_0x757eb2,_0x3b04d0);}[a0_0xa9218b(0x176)](){const _0x34934d=a0_0xa9218b;this[_0x34934d(0x165)][_0x34934d(0x161)](_0x34934d(0x166),_0x26b002=>{const _0x23a4cb=_0x34934d,_0x12492f=_0x26b002[_0x23a4cb(0x16b)][_0x23a4cb(0x173)](_0x23a4cb(0x162));if(_0x12492f?.['menu']){let _0x2c1024=_0x12492f[_0x23a4cb(0x16c)];_0x2c1024[_0x23a4cb(0x15e)]||(_0x26b002[_0x23a4cb(0x16e)](),_0x26b002['preventDefault']()),this[_0x23a4cb(0x157)](new CustomEvent(_0x23a4cb(0x17d),{'bubbles':!0x0,'detail':this[_0x23a4cb(0x178)]===_0x2c1024?void 0x0:_0x2c1024}));}let _0x579e50=_0x26b002[_0x23a4cb(0x16b)][_0x23a4cb(0x171)];_0x579e50&&location[_0x23a4cb(0x171)]===_0x579e50&&navigate(_0x579e50+'#force',!0x0);}),this[_0x34934d(0x165)]['addEventListener'](_0x34934d(0x17a),_0x59d2f1=>{const _0x4effe9=_0x34934d;_0x59d2f1[_0x4effe9(0x16b)][_0x4effe9(0x16a)]('settled');}),this[_0x34934d(0x165)][_0x34934d(0x161)](_0x34934d(0x158),_0x370126=>{const _0x35d555=_0x34934d;_0x370126['target'][_0x35d555(0x170)](_0x35d555(0x180),'');});}}customElements[a0_0xa9218b(0x175)](a0_0xa9218b(0x177),DynamicMenuPortrait);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const a0_0x3cf37c=a0_0xce13;(function(_0x14a41a,_0x3d5446){const _0x868448=a0_0xce13,_0x1dcaf7=_0x14a41a();while(!![]){try{const _0x47bcc5=-parseInt(_0x868448(0x18d))/0x1+parseInt(_0x868448(0x176))/0x2+parseInt(_0x868448(0x182))/0x3+-parseInt(_0x868448(0x189))/0x4*(parseInt(_0x868448(0x180))/0x5)+parseInt(_0x868448(0x17e))/0x6*(parseInt(_0x868448(0x181))/0x7)+-parseInt(_0x868448(0x172))/0x8*(-parseInt(_0x868448(0x17a))/0x9)+-parseInt(_0x868448(0x185))/0xa;if(_0x47bcc5===_0x3d5446)break;else _0x1dcaf7['push'](_0x1dcaf7['shift']());}catch(_0x1c9d31){_0x1dcaf7['push'](_0x1dcaf7['shift']());}}}(a0_0x350c,0x97bab));import'@material/mwc-icon';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{toggleOverlay}from'@operato/layout';function a0_0xce13(_0x432c76,_0x1a94bf){const _0x350c2e=a0_0x350c();return a0_0xce13=function(_0xce138a,_0x2873ed){_0xce138a=_0xce138a-0x171;let _0x350708=_0x350c2e[_0xce138a];return _0x350708;},a0_0xce13(_0x432c76,_0x1a94bf);}import{store}from'@operato/shell';function a0_0x350c(){const _0x402dbd=['878755UVbDRF','7hQMgcY','3223332IzESfM','has','properties','373420IHjfwI','menus','map','route','24CLvoyU','_activeTopLevel','updated','page','1046082zyVvuu','preventDefault','slotTemplate','dyamic-menu-part','find','_findActivePage','1400Rjtwgz','resourceId','name','stateChanged','938594XkBQBj','define','type','path','55089KaNcbN','styles','metaUI','dynamic-top-menu-bar','866982Zqghla','split'];a0_0x350c=function(){return _0x402dbd;};return a0_0x350c();}export class DynamicTopMenuBar extends connect(store)(LitElement){static get[a0_0x3cf37c(0x17b)](){return css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -48,20 +48,20 @@ function a0_0x4125(_0x393aac,_0x53ccfd){const _0x47d49a=a0_0x47d4();return a0_0x
|
|
|
48
48
|
li[active] a mwc-icon {
|
|
49
49
|
opacity: 1;
|
|
50
50
|
}
|
|
51
|
-
`;}static get[
|
|
51
|
+
`;}static get[a0_0x3cf37c(0x184)](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}['render'](){const _0x481feb=a0_0x3cf37c,{menus:_0x4cc2c0=[],_activeTopLevel:_0x30fe33}=this;return html`
|
|
52
52
|
<slot name="head"></slot>
|
|
53
53
|
<ul>
|
|
54
|
-
${
|
|
55
|
-
<li ?active=${
|
|
54
|
+
${_0x4cc2c0[_0x481feb(0x187)](_0x2a374a=>'group'==_0x2a374a[_0x481feb(0x178)]?html``:html`
|
|
55
|
+
<li ?active=${_0x2a374a===_0x30fe33}>
|
|
56
56
|
<a
|
|
57
57
|
href="#"
|
|
58
|
-
@click=${
|
|
58
|
+
@click=${_0x779479=>{const _0x422919=_0x481feb;_0x779479[_0x422919(0x18e)](),toggleOverlay(_0x422919(0x190),{'backdrop':!0x0});}}
|
|
59
59
|
>
|
|
60
|
-
${
|
|
60
|
+
${_0x2a374a[_0x481feb(0x174)]}
|
|
61
61
|
<mwc-icon>expand_more</mwc-icon>
|
|
62
62
|
</a>
|
|
63
63
|
</li>
|
|
64
64
|
`)}
|
|
65
65
|
</ul>
|
|
66
66
|
<slot name="tail"></slot>
|
|
67
|
-
`;}[
|
|
67
|
+
`;}[a0_0x3cf37c(0x175)](_0x36d995){const _0x41f235=a0_0x3cf37c;this[_0x41f235(0x18c)]=_0x36d995[_0x41f235(0x188)]['page'],this[_0x41f235(0x173)]=_0x36d995[_0x41f235(0x188)][_0x41f235(0x173)],this['menus']=_0x36d995[_0x41f235(0x17c)][_0x41f235(0x186)]||[],this['slotTemplate']=_0x36d995[_0x41f235(0x17c)]['slotTemplate'];}[a0_0x3cf37c(0x18b)](_0x35e448){const _0x2039e3=a0_0x3cf37c;(_0x35e448[_0x2039e3(0x183)](_0x2039e3(0x186))||_0x35e448[_0x2039e3(0x183)](_0x2039e3(0x18c))||_0x35e448['has']('resourceId'))&&this[_0x2039e3(0x171)](),_0x35e448[_0x2039e3(0x183)](_0x2039e3(0x18f))&&this['replaceChild'](this[_0x2039e3(0x18f)]);}['_findActivePage'](){const _0x4eda56=a0_0x3cf37c;var _0x22a0cd=this[_0x4eda56(0x173)]?this[_0x4eda56(0x18c)]+'/'+this[_0x4eda56(0x173)]:this[_0x4eda56(0x18c)],_0x4f564f=this['menus']||[];this[_0x4eda56(0x18a)]=_0x4f564f[_0x4eda56(0x191)](_0x3a6def=>_0x3a6def[_0x4eda56(0x179)]?.[_0x4eda56(0x17f)]('?')[0x0]===_0x22a0cd||(_0x3a6def[_0x4eda56(0x186)]?!!_0x3a6def['menus'][_0x4eda56(0x191)](_0x1e7720=>_0x1e7720[_0x4eda56(0x179)]?.['split']('?')[0x0]===_0x22a0cd):void 0x0));}}customElements[a0_0x3cf37c(0x177)](a0_0x3cf37c(0x17d),DynamicTopMenuBar);
|