@things-factory/meta-ui 6.0.1 → 6.0.3
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 +3 -3
- 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 +9 -9
- 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 +14 -14
- 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 +1 -1
- 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 +1 -1
- 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/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 +3 -3
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
const a0_0x3ba9cf=a0_0x4512;(function(_0x56632b,_0x5a6444){const _0x253f05=a0_0x4512,_0x23120c=_0x56632b();while(!![]){try{const _0x2bb2e4=parseInt(_0x253f05(0x145))/0x1*(parseInt(_0x253f05(0x12a))/0x2)+parseInt(_0x253f05(0x13c))/0x3*(-parseInt(_0x253f05(0x157))/0x4)+-parseInt(_0x253f05(0x151))/0x5*(parseInt(_0x253f05(0x155))/0x6)+-parseInt(_0x253f05(0x140))/0x7+-parseInt(_0x253f05(0x11f))/0x8+parseInt(_0x253f05(0x17c))/0x9*(-parseInt(_0x253f05(0x14c))/0xa)+-parseInt(_0x253f05(0x127))/0xb*(-parseInt(_0x253f05(0x119))/0xc);if(_0x2bb2e4===_0x5a6444)break;else _0x23120c['push'](_0x23120c['shift']());}catch(_0x248d5e){_0x23120c['push'](_0x23120c['shift']());}}}(a0_0x50cf,0xa1cc7));import{store}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';function a0_0x4512(_0x507c52,_0x237303){const _0x50cff2=a0_0x50cf();return a0_0x4512=function(_0x4512b3,_0x4809e8){_0x4512b3=_0x4512b3-0x113;let _0x410132=_0x50cff2[_0x4512b3];return _0x410132;},a0_0x4512(_0x507c52,_0x237303);}import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';function a0_0x50cf(){const _0x3847e1=['text.nothing_changed','1068yUJCEW','description','buildArgs','find','updater','includes','5015080cEpTbI','type','__origin__','result','myDynamicMenus','items','getSelectedIdList','menu.id','364309mrJvyE','isEmpty','total','22uBWAUu','record','hidden','searchMenuGridPersnalTemplate','showAlertPopup','success\x20to\x20save','text.there_is_nothing_to_delete','showGraphqlException','cancel','filter','reduce','fetch','isNotEmpty','tMenu','rank','menuType','createdAt','_config','3ZcVGJu','unshift','callScenario','hiddenFlag','3903501tHdTpS','push','MENU','records','__seq__','27893YOCgXt','getCodeByScenario','key','__dirtyfields__','group','deleteListByGristSelected','undefined','7920IxUXPb','HOME','data','iconPath','updateMultiple','5410LCiJQf','text.are_you_sure','arrangeMenuRoutes','tText','1362ZXLoTz','imex','1012484cAMgOk','length','title','runScenario','delete','updatedAt','button.','extensions','patchesForUpdateMultiple','info','routing','value','sort','errors','dirtyRecords','error','columns','gridPersonalizeTemplates','category','map','Graphql\x20Error','routingType','code','codeItems','SCREEN','cuFlag','success\x20to\x20process','success\x20to\x20delete','question','dispatch','showGraphqlErrorResponse','searchByPagination','message','GROUP','exportableData','showToast','children','10323GOwAqQ','gutter','menus','getCodeSelectorData','parse','forEach','networkError','deleteListByIds','resourceUrl','\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','name','searchMyDynamicMenus','confirm','query'];a0_0x50cf=function(){return _0x3847e1;};return a0_0x50cf();}import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x4a7dd5 from'graphql-tag';import{ValueUtil}from'./value-util';export class ServiceUtil{static async[a0_0x3ba9cf(0x16e)](_0x1eb37a){return await getCodeByName(_0x1eb37a);}static async[a0_0x3ba9cf(0x17f)](_0x437b80){const _0x5e3538=a0_0x3ba9cf;let _0xd6a579=(await ServiceUtil['codeItems'](_0x437b80))['map'](_0x22d00b=>({'value':_0x22d00b[_0x5e3538(0x114)],'display':_0x22d00b[_0x5e3538(0x11a)]}));return _0xd6a579[_0x5e3538(0x13d)]({'value':'','display':''}),_0xd6a579;}static async[a0_0x3ba9cf(0x146)](_0x2ab284,_0x128dc6){const _0x560b57=a0_0x3ba9cf;let _0x52a259=await ServiceUtil[_0x560b57(0x13e)](null,_0x2ab284,_0x128dc6);return _0x52a259[_0x560b57(0x13d)]({'name':'','description':''}),_0x52a259['map'](_0x4df8db=>({'value':_0x4df8db[_0x560b57(0x114)],'display':_0x4df8db[_0x560b57(0x11a)]}));}static async[a0_0x3ba9cf(0x123)](){const _0x2a3c62=a0_0x3ba9cf;let _0x4e4b1d=await ServiceUtil[_0x2a3c62(0x115)]();return null!=_0x4e4b1d?ServiceUtil[_0x2a3c62(0x153)](_0x4e4b1d):null;}static async[a0_0x3ba9cf(0x12d)](_0x23ee21){const _0x317db0=a0_0x3ba9cf;let _0x309f04=[{'name':_0x317db0(0x126),'operator':'eq','value':_0x23ee21}],_0x1ef1af=await ServiceUtil[_0x317db0(0x176)](_0x317db0(0x168),_0x309f04,[],0x0,0x0,'id,template');return 0x0==_0x1ef1af['total']?{}:{'id':_0x1ef1af[_0x317db0(0x143)][0x0]['id'],'template':JSON[_0x317db0(0x180)](_0x1ef1af[_0x317db0(0x143)][0x0]['template'])};}static[a0_0x3ba9cf(0x153)](_0x5222af){const _0xf78620=a0_0x3ba9cf;let _0x55a9da=[];_0x5222af['forEach'](_0x2d621a=>{const _0x43677b=a0_0x4512;_0x55a9da['push'](_0x2d621a),_0x2d621a['children']&&(_0x2d621a[_0x43677b(0x17b)][_0x43677b(0x163)](function(_0x4fef38,_0x1bed72){const _0x17c3de=_0x43677b;return _0x4fef38[_0x17c3de(0x138)]-_0x1bed72[_0x17c3de(0x138)];}),_0x2d621a[_0x43677b(0x17b)][_0x43677b(0x181)](_0x9b0e0c=>{const _0x237920=_0x43677b;0x1!=_0x9b0e0c['hiddenFlag']&&(_0x9b0e0c['parent']=_0x2d621a,_0x55a9da[_0x237920(0x141)](_0x9b0e0c));}));});let _0x529f65=_0x55a9da[_0xf78620(0x16a)](_0x5e4257=>_0xf78620(0x178)==_0x5e4257[_0xf78620(0x139)]||_0xf78620(0x142)==_0x5e4257[_0xf78620(0x139)]?{'id':_0x5e4257['id'],'parent':!0x0,'name':TermsUtil[_0xf78620(0x137)](_0x5e4257[_0xf78620(0x114)]),'icon':_0x5e4257['iconPath'],'type':_0xf78620(0x178)==_0x5e4257[_0xf78620(0x139)]?_0xf78620(0x149):'','menus':[]}:{'id':'0'})['filter'](_0x4d6054=>'0'!=_0x4d6054['id']),_0xa8a403=_0x55a9da[_0xf78620(0x16a)](_0x507637=>{const _0x305904=_0xf78620;if(_0x305904(0x16f)==_0x507637['menuType']||'HIDDEN-PAGE'==_0x507637[_0x305904(0x139)]){let _0x3167c4=_0x529f65[_0x305904(0x11c)](_0x5d5219=>_0x5d5219['id']==_0x507637['parent']['id']);if(_0x3167c4){let _0xac11b8=TermsUtil[_0x305904(0x137)](_0x507637[_0x305904(0x114)]);return _0x305904(0x16f)==_0x507637[_0x305904(0x139)]&&_0x3167c4[_0x305904(0x17e)][_0x305904(0x141)]({'id':_0x507637['id'],'name':_0xac11b8,'path':_0x507637[_0x305904(0x161)],'icon':_0x507637[_0x305904(0x14f)]}),{'id':_0x507637['id'],'parent':!0x1,'parent_id':_0x3167c4['id'],'title':_0xac11b8,'tagname':_0x507637[_0x305904(0x169)],'page':_0x507637[_0x305904(0x161)],'template':_0x507637[_0x305904(0x184)],'routing_type':_0x507637[_0x305904(0x16c)]};}return{'id':'0'};}return _0x305904(0x14d)==_0x507637[_0x305904(0x139)]?{'id':_0x507637['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x305904(0x137)](_0x507637[_0x305904(0x114)]),'tagname':_0x507637[_0x305904(0x169)],'page':_0x507637[_0x305904(0x161)],'template':_0x507637[_0x305904(0x184)],'routing_type':_0x507637[_0x305904(0x16c)]}:{'id':'0'};})['filter'](_0x1ab763=>null!=_0x1ab763&&'0'!=_0x1ab763['id']);return{'menus':_0x529f65,'routes':_0xa8a403};}static async['searchMyDynamicMenus'](){const _0x218ffa=a0_0x3ba9cf;let _0x12a6e2=await ServiceUtil[_0x218ffa(0x176)](_0x218ffa(0x17e),[{'name':_0x218ffa(0x13f),'operator':'noteq','value':!0x0},{'name':_0x218ffa(0x139),'operator':'in','value':['HOME',_0x218ffa(0x142),_0x218ffa(0x178)]}],[{'name':_0x218ffa(0x138)}],0x0,0x0,_0x218ffa(0x113));return _0x12a6e2?_0x12a6e2[_0x218ffa(0x143)]:[];}static async[a0_0x3ba9cf(0x175)](_0x18bb7e){const _0x5f1f4f=a0_0x3ba9cf;if(_0x18bb7e['errors']&&_0x18bb7e[_0x5f1f4f(0x164)][_0x5f1f4f(0x158)]>0x0){let _0x24bedd=_0x18bb7e[_0x5f1f4f(0x164)][0x0],_0x1995e3=_0x24bedd[_0x5f1f4f(0x177)],_0x418d41=_0x24bedd[_0x5f1f4f(0x177)];_0x24bedd[_0x5f1f4f(0x15e)]&&(_0x418d41=_0x24bedd[_0x5f1f4f(0x15e)][_0x5f1f4f(0x16d)]),await UiUtil[_0x5f1f4f(0x12e)](_0x418d41,_0x1995e3,'error',_0x5f1f4f(0x116));}}static async[a0_0x3ba9cf(0x131)](_0x9ba3b){const _0x4b348c=a0_0x3ba9cf;_0x9ba3b&&(_0x9ba3b[_0x4b348c(0x182)]&&_0x9ba3b[_0x4b348c(0x182)][_0x4b348c(0x122)]?await ServiceUtil[_0x4b348c(0x175)](_0x9ba3b[_0x4b348c(0x182)][_0x4b348c(0x122)]):await UiUtil[_0x4b348c(0x12e)](_0x4b348c(0x16b),_0x9ba3b[_0x4b348c(0x177)],_0x4b348c(0x166),'confirm'));}static async[a0_0x3ba9cf(0x179)](_0x333dbe,_0x570cf5,_0x69cf7b){const _0x165ed5=a0_0x3ba9cf;var _0x564da5=_0x69cf7b[_0x165ed5(0x13b)][_0x165ed5(0x167)][_0x165ed5(0x133)](_0x5d25d8=>_0x165ed5(0x17d)!==_0x5d25d8[_0x165ed5(0x120)]&&void 0x0!==_0x5d25d8[_0x165ed5(0x12b)]&&void 0x0!==_0x5d25d8['imex']&&!0x0!==_0x5d25d8[_0x165ed5(0x12c)])[_0x165ed5(0x16a)](_0x3922db=>_0x3922db[_0x165ed5(0x156)]),_0x4dfc11=_0x69cf7b['data'][_0x165ed5(0x143)][_0x165ed5(0x16a)](_0x21e64e=>({..._0x69cf7b[_0x165ed5(0x13b)][_0x165ed5(0x167)]['filter'](_0x540e57=>_0x165ed5(0x17d)!==_0x540e57[_0x165ed5(0x120)]&&void 0x0!==_0x540e57[_0x165ed5(0x12b)]&&void 0x0!==_0x540e57[_0x165ed5(0x156)]&&!0x0!==_0x540e57[_0x165ed5(0x12c)])['reduce']((_0x4276dc,_0x53cbf2)=>(_0x4276dc[_0x53cbf2[_0x165ed5(0x156)][_0x165ed5(0x147)]]=_0x53cbf2[_0x165ed5(0x156)][_0x165ed5(0x147)]['split']('.')[_0x165ed5(0x134)]((_0x42b0e3,_0x1c6b2c)=>_0x42b0e3&&_0x165ed5(0x14b)!==_0x42b0e3[_0x1c6b2c]?_0x42b0e3[_0x1c6b2c]:void 0x0,_0x21e64e),_0x4276dc),{})}));if(!_0x333dbe)return{'header':_0x564da5,'data':_0x4dfc11};store[_0x165ed5(0x174)]({'type':EXPORT,'exportable':{'extension':'xlsx','name':_0x570cf5,'data':{'header':_0x564da5,'data':_0x4dfc11}}});}static async[a0_0x3ba9cf(0x176)](_0x520430,_0x3e16a2,_0x24a6c4,_0x226f68,_0x5316ee,_0x3ed249){const _0x41a3a2=a0_0x3ba9cf;try{const _0x21636b=await client['query']({'query':a0_0x4a7dd5`
|
|
1
|
+
const a0_0xd68fbc=a0_0x6ee5;(function(_0x53ecfa,_0xf0722a){const _0x3fd7c5=a0_0x6ee5,_0x4c5b40=_0x53ecfa();while(!![]){try{const _0x52e76d=parseInt(_0x3fd7c5(0xf5))/0x1+-parseInt(_0x3fd7c5(0x11b))/0x2*(parseInt(_0x3fd7c5(0x11d))/0x3)+-parseInt(_0x3fd7c5(0x131))/0x4+parseInt(_0x3fd7c5(0x105))/0x5*(parseInt(_0x3fd7c5(0xdd))/0x6)+-parseInt(_0x3fd7c5(0x119))/0x7+-parseInt(_0x3fd7c5(0xd5))/0x8+parseInt(_0x3fd7c5(0x10e))/0x9*(parseInt(_0x3fd7c5(0xf8))/0xa);if(_0x52e76d===_0xf0722a)break;else _0x4c5b40['push'](_0x4c5b40['shift']());}catch(_0x91859a){_0x4c5b40['push'](_0x4c5b40['shift']());}}}(a0_0x124a,0x2501a));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_0x6ee5(_0x21deec,_0x2226b2){const _0x124a57=a0_0x124a();return a0_0x6ee5=function(_0x6ee5eb,_0x25bdc7){_0x6ee5eb=_0x6ee5eb-0xc4;let _0x20a927=_0x124a57[_0x6ee5eb];return _0x20a927;},a0_0x6ee5(_0x21deec,_0x2226b2);}import{UiUtil}from'./ui-util';import a0_0x14f6ca from'graphql-tag';function a0_0x124a(){const _0x2f2ed9=['HIDDEN-PAGE','cuFlag','routingType','unshift','find','items','title','createdAt','codeItems','records','_config','sort','GROUP','creator','516608ukyiIW','undefined','callScenario','noteq','id,template','networkError','gridPersonalizeTemplates','map','getCodeByScenario','dispatch','menu.id','fetch','__dirty__','text.nothing_selected','dirtyRecords','getSelectedIdList','HOME','includes','__seq__','runScenario','updater','parent','error','text.there_is_nothing_to_delete','690608kTWVpD','group','MENU','template','extensions','patchesForUpdateMultiple','menus','__selected__','1034088BqaQxE','tText','success\x20to\x20delete','confirm','iconPath','errors','routing','deleteListByIds','SCREEN','category','buildArgs','searchMyDynamicMenus','showToast','text.are_you_sure','filter','total','parse','query','result','type','push','button.','data','xlsx','168832lhfVoj','description','record','4856460qfrmyZ','key','arrangeMenuRoutes','rank','split','button.delete','\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','tMenu','showAlertPopup','reduce','hiddenFlag','gutter','showGraphqlException','5SKaYQt','question','info','code','imex','searchMenuGridPersnalTemplate','text.nothing_changed','menuType','message','9ewgXHK','searchByPagination','children','showGraphqlErrorResponse','value','delete','success\x20to\x20save','selected','cancel','resourceUrl','checkClientError','2005633SIuZxY','length','26ElmVDs','text.NOTHING_CHANGED','39981UirSzI','exportableData','name','updateMultiple','hidden','updatedAt'];a0_0x124a=function(){return _0x2f2ed9;};return a0_0x124a();}import{ValueUtil}from'./value-util';export class ServiceUtil{static async[a0_0xd68fbc(0x12b)](_0x5d0eeb){return await getCodeByName(_0x5d0eeb);}static async['getCodeSelectorData'](_0x260e11){const _0x425ccb=a0_0xd68fbc;let _0x334702=(await ServiceUtil['codeItems'](_0x260e11))[_0x425ccb(0xc4)](_0x464528=>({'value':_0x464528[_0x425ccb(0x11f)],'display':_0x464528[_0x425ccb(0xf6)]}));return _0x334702[_0x425ccb(0x126)]({'value':'','display':''}),_0x334702;}static async[a0_0xd68fbc(0xc5)](_0x42b121,_0x2c4e71){const _0x31ae89=a0_0xd68fbc;let _0x543c69=await ServiceUtil[_0x31ae89(0x133)](null,_0x42b121,_0x2c4e71);return _0x543c69['unshift']({'name':'','description':''}),_0x543c69[_0x31ae89(0xc4)](_0x3687a7=>({'value':_0x3687a7['name'],'display':_0x3687a7[_0x31ae89(0xf6)]}));}static async['myDynamicMenus'](){const _0x577e35=a0_0xd68fbc;let _0x48a822=await ServiceUtil[_0x577e35(0xe8)]();return null!=_0x48a822?ServiceUtil[_0x577e35(0xfa)](_0x48a822):null;}static async[a0_0xd68fbc(0x10a)](_0x2827f7){const _0x467a0a=a0_0xd68fbc;let _0x363331=[{'name':_0x467a0a(0xc7),'operator':'eq','value':_0x2827f7}],_0x36b24f=await ServiceUtil[_0x467a0a(0x10f)](_0x467a0a(0x137),_0x363331,[],0x0,0x0,_0x467a0a(0x135));return 0x0==_0x36b24f[_0x467a0a(0xec)]?{}:{'id':_0x36b24f[_0x467a0a(0x12c)][0x0]['id'],'template':JSON[_0x467a0a(0xed)](_0x36b24f[_0x467a0a(0x12c)][0x0][_0x467a0a(0xd8)])};}static['arrangeMenuRoutes'](_0x402407){const _0x4d6733=a0_0xd68fbc;let _0x10b70a=[];_0x402407['forEach'](_0x1a25ec=>{const _0x549fe4=a0_0x6ee5;_0x10b70a[_0x549fe4(0xf1)](_0x1a25ec),_0x1a25ec[_0x549fe4(0x110)]&&(_0x1a25ec[_0x549fe4(0x110)][_0x549fe4(0x12e)](function(_0xa9b32,_0x48bae6){const _0x21eac4=_0x549fe4;return _0xa9b32[_0x21eac4(0xfb)]-_0x48bae6['rank'];}),_0x1a25ec['children']['forEach'](_0x38edb9=>{const _0xd04451=_0x549fe4;0x1!=_0x38edb9['hiddenFlag']&&(_0x38edb9[_0xd04451(0xd2)]=_0x1a25ec,_0x10b70a[_0xd04451(0xf1)](_0x38edb9));}));});let _0x382d98=_0x10b70a[_0x4d6733(0xc4)](_0x3e4a30=>'GROUP'==_0x3e4a30[_0x4d6733(0x10c)]||_0x4d6733(0xd7)==_0x3e4a30[_0x4d6733(0x10c)]?{'id':_0x3e4a30['id'],'parent':!0x0,'name':TermsUtil[_0x4d6733(0xff)](_0x3e4a30[_0x4d6733(0x11f)]),'icon':_0x3e4a30[_0x4d6733(0xe1)],'type':_0x4d6733(0x12f)==_0x3e4a30[_0x4d6733(0x10c)]?_0x4d6733(0xd6):'','menus':[]}:{'id':'0'})['filter'](_0x51cdc9=>'0'!=_0x51cdc9['id']),_0x4ab8aa=_0x10b70a[_0x4d6733(0xc4)](_0x2eba97=>{const _0xb504de=_0x4d6733;if(_0xb504de(0xe5)==_0x2eba97['menuType']||_0xb504de(0x123)==_0x2eba97[_0xb504de(0x10c)]){let _0x5071af=_0x382d98[_0xb504de(0x127)](_0x3ecf95=>_0x3ecf95['id']==_0x2eba97[_0xb504de(0xd2)]['id']);if(_0x5071af){let _0x4073c0=TermsUtil['tMenu'](_0x2eba97[_0xb504de(0x11f)]);return _0xb504de(0xe5)==_0x2eba97['menuType']&&_0x5071af[_0xb504de(0xdb)]['push']({'id':_0x2eba97['id'],'name':_0x4073c0,'path':_0x2eba97[_0xb504de(0xe3)],'icon':_0x2eba97[_0xb504de(0xe1)]}),{'id':_0x2eba97['id'],'parent':!0x1,'parent_id':_0x5071af['id'],'title':_0x4073c0,'tagname':_0x2eba97[_0xb504de(0xe6)],'page':_0x2eba97[_0xb504de(0xe3)],'template':_0x2eba97[_0xb504de(0x117)],'routing_type':_0x2eba97[_0xb504de(0x125)]};}return{'id':'0'};}return _0xb504de(0xcd)==_0x2eba97[_0xb504de(0x10c)]?{'id':_0x2eba97['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0xb504de(0xff)](_0x2eba97[_0xb504de(0x11f)]),'tagname':_0x2eba97[_0xb504de(0xe6)],'page':_0x2eba97[_0xb504de(0xe3)],'template':_0x2eba97[_0xb504de(0x117)],'routing_type':_0x2eba97[_0xb504de(0x125)]}:{'id':'0'};})['filter'](_0x130251=>null!=_0x130251&&'0'!=_0x130251['id']);return{'menus':_0x382d98,'routes':_0x4ab8aa};}static async[a0_0xd68fbc(0xe8)](){const _0x23c503=a0_0xd68fbc;let _0x2c031e=await ServiceUtil[_0x23c503(0x10f)](_0x23c503(0xdb),[{'name':_0x23c503(0x102),'operator':_0x23c503(0x134),'value':!0x0},{'name':_0x23c503(0x10c),'operator':'in','value':['HOME',_0x23c503(0xd7),'GROUP']}],[{'name':_0x23c503(0xfb)}],0x0,0x0,_0x23c503(0xfe));return _0x2c031e?_0x2c031e[_0x23c503(0x12c)]:[];}static async[a0_0xd68fbc(0x111)](_0x3c6188){const _0x42b213=a0_0xd68fbc;if(_0x3c6188[_0x42b213(0xe2)]&&_0x3c6188[_0x42b213(0xe2)]['length']>0x0){let _0x1dd971=_0x3c6188[_0x42b213(0xe2)][0x0],_0x46d794=_0x1dd971['message'],_0x3ebea7=_0x1dd971[_0x42b213(0x10d)];_0x1dd971[_0x42b213(0xd9)]&&(_0x3ebea7=_0x1dd971[_0x42b213(0xd9)][_0x42b213(0x108)]),await UiUtil[_0x42b213(0x100)](_0x3ebea7,_0x46d794,_0x42b213(0xd3),'confirm');}}static async[a0_0xd68fbc(0x104)](_0x101152){const _0x53eb4a=a0_0xd68fbc;_0x101152&&(_0x101152[_0x53eb4a(0x136)]&&_0x101152[_0x53eb4a(0x136)]['result']?await ServiceUtil['showGraphqlErrorResponse'](_0x101152['networkError'][_0x53eb4a(0xef)]):await UiUtil[_0x53eb4a(0x100)]('Graphql\x20Error',_0x101152[_0x53eb4a(0x10d)],'error',_0x53eb4a(0xe0)));}static async[a0_0xd68fbc(0x11e)](_0x1d2c45,_0x738b6a,_0x588be0){const _0x2e3fc5=a0_0xd68fbc;var _0x51211f=_0x588be0[_0x2e3fc5(0x12d)]['columns'][_0x2e3fc5(0xeb)](_0x5a4703=>_0x2e3fc5(0x103)!==_0x5a4703[_0x2e3fc5(0xf0)]&&void 0x0!==_0x5a4703[_0x2e3fc5(0xf7)]&&void 0x0!==_0x5a4703[_0x2e3fc5(0x109)]&&!0x0!==_0x5a4703[_0x2e3fc5(0x121)])[_0x2e3fc5(0xc4)](_0x714e4d=>_0x714e4d[_0x2e3fc5(0x109)]),_0x4d7747=_0x588be0[_0x2e3fc5(0xf3)][_0x2e3fc5(0x12c)]['map'](_0x6f7d6e=>({..._0x588be0[_0x2e3fc5(0x12d)]['columns'][_0x2e3fc5(0xeb)](_0x43d80f=>_0x2e3fc5(0x103)!==_0x43d80f['type']&&void 0x0!==_0x43d80f[_0x2e3fc5(0xf7)]&&void 0x0!==_0x43d80f[_0x2e3fc5(0x109)]&&!0x0!==_0x43d80f[_0x2e3fc5(0x121)])['reduce']((_0x2276c4,_0x23e9da)=>(_0x2276c4[_0x23e9da[_0x2e3fc5(0x109)]['key']]=_0x23e9da[_0x2e3fc5(0x109)][_0x2e3fc5(0xf9)][_0x2e3fc5(0xfc)]('.')[_0x2e3fc5(0x101)]((_0x127e0c,_0x394e96)=>_0x127e0c&&_0x2e3fc5(0x132)!==_0x127e0c[_0x394e96]?_0x127e0c[_0x394e96]:void 0x0,_0x6f7d6e),_0x2276c4),{})}));if(!_0x1d2c45)return{'header':_0x51211f,'data':_0x4d7747};store[_0x2e3fc5(0xc6)]({'type':EXPORT,'exportable':{'extension':_0x2e3fc5(0xf4),'name':_0x738b6a,'data':{'header':_0x51211f,'data':_0x4d7747}}});}static async[a0_0xd68fbc(0x10f)](_0x2de399,_0x45ca12,_0x52f595,_0x58bedc,_0x32ff2c,_0x422aac){const _0x2fda9b=a0_0xd68fbc;try{const _0x54acd4=await client[_0x2fda9b(0xee)]({'query':a0_0x14f6ca`
|
|
2
2
|
query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
|
|
3
|
-
${
|
|
3
|
+
${_0x2de399}(filters: $filters, pagination: $pagination, sortings: $sortings) {
|
|
4
4
|
items {
|
|
5
|
-
${
|
|
5
|
+
${_0x422aac}
|
|
6
6
|
}
|
|
7
7
|
total
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
`,'variables':{'filters':
|
|
10
|
+
`,'variables':{'filters':_0x45ca12,'sortings':_0x52f595,'pagination':{'page':_0x58bedc,'limit':_0x32ff2c}}});if(!_0x54acd4['errors'])return{'records':_0x54acd4[_0x2fda9b(0xf3)][_0x2de399][_0x2fda9b(0x128)],'total':_0x54acd4[_0x2fda9b(0xf3)][_0x2de399][_0x2fda9b(0xec)]};ServiceUtil[_0x2fda9b(0x111)](_0x54acd4);}catch(_0x15dbd5){ServiceUtil[_0x2fda9b(0x104)](_0x15dbd5);}return null;}static async['findOne'](_0x58bfe6,_0x5cccf6,_0x4b6bd8){const _0xbe0628=a0_0xd68fbc;try{let _0x1ce407=await client[_0xbe0628(0xee)]({'query':a0_0x14f6ca`
|
|
11
11
|
query ($id: String!) {
|
|
12
|
-
${
|
|
13
|
-
${
|
|
12
|
+
${_0x58bfe6}(id: $id) {
|
|
13
|
+
${_0x4b6bd8}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
`,'variables':{'id':
|
|
16
|
+
`,'variables':{'id':_0x5cccf6}});if(!_0x1ce407['errors'])return _0x1ce407[_0xbe0628(0xf3)][_0x58bfe6]||{};ServiceUtil[_0xbe0628(0x111)](_0x1ce407);}catch(_0x47197d){ServiceUtil[_0xbe0628(0x104)](_0x47197d);}return null;}static['getSelectedIdList'](_0x3e47a5,_0x40dd5d){const _0x1594d4=a0_0xd68fbc,_0xff8985=_0x3e47a5[_0x1594d4(0x115)]['map'](_0x5b2304=>_0x5b2304['id']);return ValueUtil['isEmpty'](_0xff8985)&&0x1==_0x40dd5d&&UiUtil[_0x1594d4(0x100)](_0x1594d4(0xca),_0x1594d4(0xd4),_0x1594d4(0x107),_0x1594d4(0xe0)),_0xff8985;}static async['deleteListByGristSelected'](_0x2899a8,_0x1fcb13){const _0x1b69b6=a0_0xd68fbc;let _0x12718e=ServiceUtil[_0x1b69b6(0xcc)](_0x2899a8,!0x0);ValueUtil['isNotEmpty'](_0x12718e)&&(await ServiceUtil['deleteListByIds'](_0x12718e,_0x1fcb13)&&_0x2899a8[_0x1b69b6(0xc8)]());}static async[a0_0xd68fbc(0xe4)](_0xf32727,_0x396d74){const _0x1adc69=a0_0xd68fbc;if(!(await UiUtil[_0x1adc69(0x100)](_0x1adc69(0xfd),_0x1adc69(0xea),_0x1adc69(0x106),_0x1adc69(0x113),_0x1adc69(0x116)))[_0x1adc69(0x112)])return!0x1;try{const _0x176cbb=await client['query']({'query':a0_0x14f6ca`
|
|
17
17
|
mutation {
|
|
18
|
-
${
|
|
18
|
+
${_0x396d74}(${gqlBuilder[_0x1adc69(0xe7)]({'ids':_0xf32727})})
|
|
19
19
|
}
|
|
20
|
-
`});if(!
|
|
20
|
+
`});if(!_0x176cbb[_0x1adc69(0xe2)])return UiUtil[_0x1adc69(0xe9)](_0x1adc69(0x107),TermsUtil[_0x1adc69(0xde)](_0x1adc69(0xdf))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x176cbb);}catch(_0x2ad7dc){ServiceUtil[_0x1adc69(0x104)](_0x2ad7dc);}return!0x1;}static async['updateMultipleData'](_0x5a813,_0x596efd){const _0x41ced9=a0_0xd68fbc;let _0x8a56d6=ServiceUtil['patchesForUpdateMultiple'](_0x5a813);if(ValueUtil['isNotEmpty'](_0x8a56d6)){let _0x45fe34=await ServiceUtil['updateMultiple'](_0x596efd,_0x8a56d6);if(_0x45fe34)return _0x5a813[_0x41ced9(0xc8)](),_0x45fe34;}return!0x1;}static async[a0_0xd68fbc(0x120)](_0x184831,_0x5000fe){const _0xa63ab3=a0_0xd68fbc;try{const _0x55eb00=await client[_0xa63ab3(0xee)]({'query':a0_0x14f6ca`
|
|
21
21
|
mutation {
|
|
22
|
-
${
|
|
22
|
+
${_0x184831}(${gqlBuilder['buildArgs']({'patches':_0x5000fe})}) {
|
|
23
23
|
id
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
`,'context':{'hasUpload':!0x0}});if(!
|
|
26
|
+
`,'context':{'hasUpload':!0x0}});if(!_0x55eb00['errors'])return UiUtil[_0xa63ab3(0xe9)](_0xa63ab3(0x107),TermsUtil[_0xa63ab3(0xde)](_0xa63ab3(0x114))),!0x0;ServiceUtil[_0xa63ab3(0x111)](_0x55eb00);}catch(_0x32828b){ServiceUtil[_0xa63ab3(0x104)](_0x32828b);}return!0x1;}static[a0_0xd68fbc(0xda)](_0x5bcc71){const _0x5af8b4=a0_0xd68fbc;let _0x3078f6=_0x5bcc71[_0x5af8b4(0xcb)];if(_0x3078f6&&0x0!=_0x3078f6[_0x5af8b4(0x11a)])return _0x3078f6[_0x5af8b4(0xc4)](_0x321fa0=>{const _0x4f9c44=_0x5af8b4;let _0x3c9709=_0x321fa0['id']?{'id':_0x321fa0['id']}:{};for(let _0x4b8226 in _0x321fa0)[_0x4f9c44(0x130),_0x4f9c44(0xd1),_0x4f9c44(0x12a),_0x4f9c44(0x122),_0x4f9c44(0xc9),'__dirtyfields__','__origin__',_0x4f9c44(0xcf),_0x4f9c44(0xdc)][_0x4f9c44(0xce)](_0x4b8226)||(_0x321fa0[_0x4b8226]&&'object'==typeof _0x321fa0[_0x4b8226]?_0x3c9709[_0x4b8226]={'id':_0x321fa0[_0x4b8226]['id']}:_0x3c9709[_0x4b8226]=_0x321fa0[_0x4b8226]);return _0x3c9709[_0x4f9c44(0x124)]=_0x321fa0[_0x4f9c44(0xc9)],_0x3c9709;});UiUtil['showAlertPopup'](_0x5af8b4(0x10b),_0x5af8b4(0x11c),_0x5af8b4(0x107),'confirm');}static async['callScenario'](_0xd12d1e,_0x768b18,_0x32f372){const _0x3b3213=a0_0xd68fbc;let _0x19b8ce=!0x0;_0xd12d1e&&(_0x19b8ce=(await UiUtil[_0x3b3213(0x100)](_0x3b3213(0xf2)+_0xd12d1e,'text.are_you_sure',_0x3b3213(0x106),_0x3b3213(0xe0),_0x3b3213(0x116)))['value']);if(_0x19b8ce)try{const _0x462047=await client[_0x3b3213(0xee)]({'query':a0_0x14f6ca`
|
|
27
27
|
mutation ($scenarioName: String!, $variables: Object) {
|
|
28
28
|
runScenario(scenarioName: $scenarioName, variables: $variables) {
|
|
29
29
|
state
|
|
@@ -32,4 +32,4 @@ const a0_0x3ba9cf=a0_0x4512;(function(_0x56632b,_0x5a6444){const _0x253f05=a0_0x
|
|
|
32
32
|
__typename
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
`,'variables':{'scenarioName':
|
|
35
|
+
`,'variables':{'scenarioName':_0x768b18,'variables':_0x32f372}});if(_0x462047[_0x3b3213(0xe2)])ServiceUtil['showGraphqlErrorResponse'](_0x462047);else{if(this[_0x3b3213(0x118)](_0x462047))return UiUtil[_0x3b3213(0xe9)]('info',TermsUtil[_0x3b3213(0xde)]('success\x20to\x20process')),_0x462047;}}catch(_0x2fae1b){ServiceUtil[_0x3b3213(0x104)](_0x2fae1b);}return!0x1;}static[a0_0xd68fbc(0x118)](_0x339e4d){const _0x3f6600=a0_0xd68fbc;if(_0x339e4d&&_0x339e4d['data']&&_0x339e4d['data'][_0x3f6600(0xd0)]&&_0x339e4d[_0x3f6600(0xf3)][_0x3f6600(0xd0)]['data']&&_0x339e4d[_0x3f6600(0xf3)][_0x3f6600(0xd0)][_0x3f6600(0xf3)]['error']){let _0x1dc695=_0x339e4d['data'][_0x3f6600(0xd0)][_0x3f6600(0xf3)]['error'];return UiUtil[_0x3f6600(0x100)](_0x1dc695[_0x3f6600(0x129)],_0x1dc695[_0x3f6600(0x10d)],_0x3f6600(0xd3),_0x3f6600(0xe0)),!0x1;}return!0x0;}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a0_0x81d4(_0x3cf4c4,_0x375395){const _0x5a335e=a0_0x5a33();return a0_0x81d4=function(_0x81d47,_0x43458c){_0x81d47=_0x81d47-0xf0;let _0x10f895=_0x5a335e[_0x81d47];return _0x10f895;},a0_0x81d4(_0x3cf4c4,_0x375395);}const a0_0x482af5=a0_0x81d4;(function(_0x2b1270,_0xeab351){const _0x4aa5b5=a0_0x81d4,_0x593cba=_0x2b1270();while(!![]){try{const _0x2f5aaa=parseInt(_0x4aa5b5(0x10a))/0x1*(parseInt(_0x4aa5b5(0xf5))/0x2)+-parseInt(_0x4aa5b5(0x10b))/0x3*(-parseInt(_0x4aa5b5(0x109))/0x4)+parseInt(_0x4aa5b5(0xf9))/0x5*(parseInt(_0x4aa5b5(0xf6))/0x6)+-parseInt(_0x4aa5b5(0x105))/0x7+-parseInt(_0x4aa5b5(0x10f))/0x8*(-parseInt(_0x4aa5b5(0xf3))/0x9)+-parseInt(_0x4aa5b5(0x106))/0xa*(-parseInt(_0x4aa5b5(0xfd))/0xb)+-parseInt(_0x4aa5b5(0x102))/0xc;if(_0x2f5aaa===_0xeab351)break;else _0x593cba['push'](_0x593cba['shift']());}catch(_0x5ec580){_0x593cba['push'](_0x593cba['shift']());}}}(a0_0x5a33,0xe3b19));import a0_0x3811f1 from'graphql-tag';import{client}from'@operato/graphql';function a0_0x5a33(){const _0xe199db=['translate','tMenu','data','text','fetchTerminologies','downloadTerminologies','name','30744WtDeJC','tError','2MtNswg','61278pEwdXd','errors','error','615jUXfny','tText','length','terminologies','3310351lDBwlC','replace','tLabel','label','tButton','44840892INMkgw','category','forEach','810124uHUEEK','20vawSdv','total','tTitle','12DTAiOQ','369196VknkIj','883989FwMnIh','locale','field','title','3920zYIPOU','META_TERMS','keys'];a0_0x5a33=function(){return _0xe199db;};return a0_0x5a33();}import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async[a0_0x482af5(0xf1)](_0x45f664){const _0x7d2e05=a0_0x482af5;let _0x12c601=(await TermsUtil[_0x7d2e05(0xf0)](_0x45f664))['records'];_0x12c601&&_0x12c601[_0x7d2e05(0xfb)]>0x0&&(this[_0x7d2e05(0x110)]={},_0x12c601[_0x7d2e05(0x104)](_0x57eac4=>{const _0x4aba63=_0x7d2e05;let _0x18633d=_0x57eac4[_0x4aba63(0x103)]+'.'+_0x57eac4[_0x4aba63(0xf2)];this[_0x4aba63(0x110)][_0x18633d]=_0x57eac4['display'];}));}static async[a0_0x482af5(0xf0)](_0x39ce64){const _0x221dab=a0_0x482af5;let _0x188d48=[{'name':_0x221dab(0x10c),'operator':'eq','value':_0x39ce64}];const _0x1d7190=await client['query']({'query':a0_0x3811f1`
|
|
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_0x85e6f6=a0_0x446f;(function(_0xc52653,_0x7f89d6){const _0x43c83a=a0_0x
|
|
|
11
11
|
total
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
`,'variables':{'filters':
|
|
14
|
+
`,'variables':{'filters':_0x188d48,'sortings':[{'name':'category'},{'name':_0x221dab(0xf2)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x1d7190[_0x221dab(0xf7)])return{'records':_0x1d7190[_0x221dab(0x114)]['terminologies']['items']||[],'total':_0x1d7190['data'][_0x221dab(0xfc)][_0x221dab(0x107)]||0x0};}static[a0_0x482af5(0x113)](_0x423cae){const _0x57e296=a0_0x482af5;return TermsUtil[_0x57e296(0x112)]('menu',_0x423cae,null,_0x423cae);}static[a0_0x482af5(0xff)](_0x2a1821,_0x3723e3){const _0x42c0e4=a0_0x482af5;let _0x4ccbe0=TermsUtil['translate'](_0x42c0e4(0x100),_0x2a1821,_0x3723e3,null);return _0x4ccbe0||TermsUtil[_0x42c0e4(0x112)](_0x42c0e4(0x10d),_0x2a1821,_0x3723e3,_0x2a1821);}static['tField'](_0x24e072,_0x401188){const _0x5f2ea7=a0_0x482af5;return TermsUtil[_0x5f2ea7(0x112)](_0x5f2ea7(0x10d),_0x24e072,_0x401188,_0x24e072);}static[a0_0x482af5(0x101)](_0x12d44c){return TermsUtil['translate']('button',_0x12d44c,null,_0x12d44c);}static[a0_0x482af5(0x108)](_0x101965,_0x53c19f){const _0x473ff7=a0_0x482af5;return TermsUtil[_0x473ff7(0x112)](_0x473ff7(0x10e),_0x101965,_0x53c19f,_0x101965);}static[a0_0x482af5(0xfa)](_0xfa3b05,_0x357889){const _0x169344=a0_0x482af5;return TermsUtil[_0x169344(0x112)](_0x169344(0x115),_0xfa3b05,_0x357889,_0xfa3b05);}static[a0_0x482af5(0xf4)](_0x10625e,_0x27b202){const _0x14d42e=a0_0x482af5;return TermsUtil[_0x14d42e(0x112)](_0x14d42e(0xf8),_0x10625e,_0x27b202,_0x10625e);}static[a0_0x482af5(0x112)](_0x2563f4,_0x50bc73,_0x167b54,_0x2653ce){let _0x576e25=_0x2563f4+'.'+_0x50bc73;return TermsUtil['t'](_0x576e25,_0x167b54,_0x2653ce);}static['t'](_0x26c3ae,_0x5e31e8,_0x513de0){const _0xb6c9b5=a0_0x482af5;let _0x1f4858=this[_0xb6c9b5(0x110)]?this[_0xb6c9b5(0x110)][_0x26c3ae]:null;return _0x1f4858=_0x1f4858||i18next['t'](_0x26c3ae),_0x1f4858&&_0x26c3ae!=_0x1f4858?(_0x5e31e8&&Object[_0xb6c9b5(0x111)](_0x5e31e8)[_0xb6c9b5(0x104)](function(_0x539d35){const _0x4a2153=_0xb6c9b5;var _0x158853='\x5c{'+_0x539d35[_0x4a2153(0xfe)](/\$/,'\x5c$')+'\x5c}',_0x52cf6c=new RegExp(_0x158853,'gi');_0x1f4858=_0x1f4858[_0x4a2153(0xfe)](_0x52cf6c,_0x5e31e8[_0x539d35]);}),_0x1f4858):_0x513de0;}}
|
package/client/utils/ui-util.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3f4f51=a0_0x139e;(function(_0x50b41c,_0xffe017){const _0x56e9ea=a0_0x139e,_0x27fccb=_0x50b41c();while(!![]){try{const _0x2d83a8=parseInt(_0x56e9ea(0x1f6))/0x1+-parseInt(_0x56e9ea(0x1ed))/0x2*(parseInt(_0x56e9ea(0x1d7))/0x3)+parseInt(_0x56e9ea(0x1f8))/0x4*(parseInt(_0x56e9ea(0x1f7))/0x5)+parseInt(_0x56e9ea(0x1fb))/0x6+-parseInt(_0x56e9ea(0x202))/0x7+-parseInt(_0x56e9ea(0x1ce))/0x8+parseInt(_0x56e9ea(0x1be))/0x9*(-parseInt(_0x56e9ea(0x1dd))/0xa);if(_0x2d83a8===_0xffe017)break;else _0x27fccb['push'](_0x27fccb['shift']());}catch(_0x2f585b){_0x27fccb['push'](_0x27fccb['shift']());}}}(a0_0x3327,0x7991c));function a0_0x139e(_0x51ae65,_0x3450aa){const _0x332714=a0_0x3327();return a0_0x139e=function(_0x139ecd,_0x4d140e){_0x139ecd=_0x139ecd-0x1bd;let _0x400543=_0x332714[_0x139ecd];return _0x400543;},a0_0x139e(_0x51ae65,_0x3450aa);}function a0_0x3327(){const _0x1df888=['value','config','3110cfrlKc','currentRouting','substring','split','indexOf','length','setValueToEditor','fireCustomEvent','i18next','popup_field','select-combo','\x27\x20is_popup=true></','openDynamicPopup','confirmButton','ko-KR','content','2CTIDtl','setSearchFormEditorValue','showToast','replace','getType','renderRoot','stringify','cookie','ox-input-code','847812sgihLw','145mHTJkI','101512GxFqCU','currentLocale','\x20route_name=\x27','5191890ChgpPV','getStore','filters','isMobileEnv','tagname','tButton','app','2083102RIEhra','route','createEditorHtml','pageNavigate','htmlToElement','6255EonrYs','removeChild','[name=\x27','modules','ox-select','forEach','showAlertPopup','\x27></','textarea','getState','code-editor','querySelector','getApplicationModuleInfo','onclosed','dispatchEvent','isNotEmpty','4855688Gyjfec','parent_field','template','getParams','createCustomElement','getLeafInput','pass=','innerHTML','editor','2491347LGPCwk','ox-input-barcode','cancelButton','openPopupByElement'];a0_0x3327=function(){return _0x1df888;};return a0_0x3327();}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';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x3f4f51(0x1fe)](){return isMobileDevice();}static[a0_0x3f4f51(0x1f9)](){const _0x4c76b4=a0_0x3f4f51;let _0x14a640=document[_0x4c76b4(0x1f4)];return _0x14a640=_0x14a640[_0x4c76b4(0x1df)](_0x14a640['indexOf'](_0x4c76b4(0x1e5))),_0x14a640[_0x4c76b4(0x1e1)](';')>-0x1&&(_0x14a640=_0x14a640[_0x4c76b4(0x1df)](0x0,_0x14a640[_0x4c76b4(0x1e1)](';'))),_0x14a640=_0x14a640[_0x4c76b4(0x1f0)]('i18next=',''),'ko'==_0x14a640?_0x4c76b4(0x1eb):_0x14a640;}static[a0_0x3f4f51(0x1ca)](){const _0x525809=a0_0x3f4f51;let _0x19a199=store['getState']()[_0x525809(0x201)][_0x525809(0x1c1)];return _0x19a199[_0x19a199[_0x525809(0x1e2)]-0x1];}static[a0_0x3f4f51(0x1de)](){const _0x4c067b=a0_0x3f4f51;return store[_0x4c067b(0x1c7)]()[_0x4c067b(0x203)]['page'];}static[a0_0x3f4f51(0x1da)](_0x28aadf,_0x4ecfaa,_0x459168,_0x47bf22){return openPopup(_0x459168,{'backdrop':!0x0,'size':_0x4ecfaa,'title':_0x28aadf,'backdrop':_0x47bf22});}static async[a0_0x3f4f51(0x1e9)](_0x2f14bb,_0x31100f,_0x3acf5a,_0x5a8cbc){const _0x5224e5=a0_0x3f4f51;let _0x2abfa5=ValueUtil[_0x5224e5(0x1cd)](_0x31100f[_0x5224e5(0x1cf)])?ValueUtil[_0x5224e5(0x1d1)](_0x3acf5a,..._0x31100f['parent_field'][_0x5224e5(0x1e0)]('.')):void 0x0,_0x1e0e64='<'+_0x31100f[_0x5224e5(0x1ff)]+_0x5224e5(0x1fa)+_0x31100f['menu']+'\x27\x20\x20parent_id=\x27'+_0x2abfa5+_0x5224e5(0x1e8)+_0x31100f['tagname']+'>',_0x35ca99=UiUtil[_0x5224e5(0x1bd)](_0x1e0e64);_0x35ca99[_0x5224e5(0x1dc)]=_0x31100f,ValueUtil['isNotEmpty'](_0x31100f[_0x5224e5(0x1e6)])&&(_0x35ca99[_0x31100f[_0x5224e5(0x1e6)]]=_0x3acf5a);let _0x57fbf4=UiUtil[_0x5224e5(0x1da)](_0x2f14bb,_0x31100f['size'],_0x35ca99,!0x0);_0x5a8cbc&&(_0x57fbf4[_0x5224e5(0x1cb)]=_0x5a8cbc);}static[a0_0x3f4f51(0x1d2)](_0x5d39d6,_0x8550e4){const _0x39974e=a0_0x3f4f51;let _0x1b09d5='<'+_0x5d39d6+_0x39974e(0x1fa)+_0x8550e4+_0x39974e(0x1c5)+_0x5d39d6+'>';return UiUtil['htmlToElement'](_0x1b09d5);}static[a0_0x3f4f51(0x1bd)](_0x378c8e){const _0x2f9243=a0_0x3f4f51;var _0x246021=document['createElement'](_0x2f9243(0x1d0));_0x246021[_0x2f9243(0x1d5)]=_0x378c8e;var _0x17623=_0x246021[_0x2f9243(0x1ec)]['childNodes'][0x0];return _0x246021[_0x2f9243(0x1ec)][_0x2f9243(0x1bf)](_0x17623),_0x17623;}static[a0_0x3f4f51(0x205)](_0x67b3be,_0x280e64){const _0x47ff07=a0_0x3f4f51;let _0x21c730=_0x280e64?'?':'';_0x280e64&&(_0x21c730+=_0x47ff07(0x1d4)+JSON[_0x47ff07(0x1f3)](_0x280e64)),navigate(''+_0x67b3be+_0x21c730);}static[a0_0x3f4f51(0x1fc)](_0x2452bd,_0x2709ae,_0x581d6d){const _0x4ce825=a0_0x3f4f51;let _0x222e7a=_0x222e7a[_0x4ce825(0x1c7)]();return _0x2452bd&&_0x2709ae&&_0x581d6d?_0x222e7a[_0x2452bd][_0x2709ae][_0x581d6d]:_0x2452bd&&_0x2709ae?_0x222e7a[_0x2452bd][_0x2709ae]:_0x2452bd?_0x222e7a[_0x2452bd]:_0x222e7a;}static[a0_0x3f4f51(0x1e4)](_0x550492,_0x42e8f3){const _0x3b36d6=a0_0x3f4f51;document[_0x3b36d6(0x1cc)](new CustomEvent(_0x550492,{'detail':_0x42e8f3}));}static[a0_0x3f4f51(0x1ef)](_0xe46f65,_0x4ed081){document['dispatchEvent'](new CustomEvent('notify',{'detail':{'type':_0xe46f65,'message':_0x4ed081}}));}static async[a0_0x3f4f51(0x1c4)](_0x2b7847,_0xda6462,_0x59d11e,_0x378a5e,_0x1ec1bf){const _0x55306e=a0_0x3f4f51;let _0x454d4f={'title':TermsUtil['t'](_0x2b7847)||_0x2b7847,'text':TermsUtil['t'](_0xda6462)||_0xda6462};return _0x59d11e&&(_0x454d4f['type']=_0x59d11e),_0x378a5e&&(_0x454d4f[_0x55306e(0x1ea)]=TermsUtil[_0x55306e(0x200)](_0x378a5e)),_0x1ec1bf&&(_0x454d4f[_0x55306e(0x1d9)]=TermsUtil[_0x55306e(0x200)](_0x1ec1bf)),await CustomAlert(_0x454d4f);}static['getFilterFormData'](_0xfd2cf8){const _0x9bb238=a0_0x3f4f51;if(ValueUtil[_0x9bb238(0x1cd)](_0xfd2cf8)){let _0x3b9d3a=_0xfd2cf8[_0x9bb238(0x1fd)]();ValueUtil[_0x9bb238(0x1cd)](_0x3b9d3a)&&_0x3b9d3a[_0x9bb238(0x1c3)](_0x4de5c5=>{const _0xdb02c2=_0x9bb238;ValueUtil[_0xdb02c2(0x1cd)](_0x4de5c5[_0xdb02c2(0x1db)])&&(item[_0x4de5c5['name']]=_0x4de5c5[_0xdb02c2(0x1db)]?_0x4de5c5[_0xdb02c2(0x1db)]:null);});}return{};}static[a0_0x3f4f51(0x1ee)](_0x49ef5a,_0x59f0ed,_0x1cb336){const _0x580f69=a0_0x3f4f51;if(ValueUtil['isNotEmpty'](_0x49ef5a)){let _0x2b5bdf=_0x49ef5a[_0x580f69(0x1f2)]?.[_0x580f69(0x1c9)](_0x580f69(0x1c0)+_0x59f0ed+'\x27]');ValueUtil['isNotEmpty'](_0x2b5bdf)&&(_0x2b5bdf[_0x580f69(0x1db)]=_0x1cb336);}}static[a0_0x3f4f51(0x204)](_0x50bee8,_0x318047,_0x4a0365,_0x2bf8ce){return getEditor(_0x50bee8)('',_0x318047,_0x4a0365,_0x2bf8ce,{});}static[a0_0x3f4f51(0x1e3)](_0x44e1e8,_0x2cf8eb){const _0x2fed95=a0_0x3f4f51;UiUtil[_0x2fed95(0x1d3)](_0x44e1e8)[_0x2fed95(0x1db)]=_0x2cf8eb;}static[a0_0x3f4f51(0x1d3)](_0x2d3129){const _0x12a917=a0_0x3f4f51;let _0x4fe523=_0x2d3129[_0x12a917(0x1f1)]();return _0x12a917(0x1c8)==_0x4fe523?_0x2d3129[_0x12a917(0x1f2)]['querySelector'](_0x12a917(0x1f5)):_0x12a917(0x1c6)==_0x4fe523?_0x2d3129[_0x12a917(0x1f2)][_0x12a917(0x1c9)](_0x12a917(0x1c6)):_0x12a917(0x1e7)==_0x4fe523?_0x2d3129['renderRoot'][_0x12a917(0x1c9)](_0x12a917(0x1c2))['firstElementChild']:'barcode'==_0x4fe523?_0x2d3129[_0x12a917(0x1f2)]['querySelector'](_0x12a917(0x1d8))[_0x12a917(0x1f2)]['querySelector']('input'):_0x2d3129[_0x12a917(0x1f2)]['firstElementChild'][_0x12a917(0x1d6)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2a1f9b=a0_0x51c5;(function(_0x5497bb,_0x444837){const _0x3dcfd3=a0_0x51c5,_0x3672d9=_0x5497bb();while(!![]){try{const _0x5e2d96=parseInt(_0x3dcfd3(0xcd))/0x1*(-parseInt(_0x3dcfd3(0xc8))/0x2)+parseInt(_0x3dcfd3(0xca))/0x3*(parseInt(_0x3dcfd3(0xbf))/0x4)+-parseInt(_0x3dcfd3(0xb7))/0x5+parseInt(_0x3dcfd3(0xc5))/0x6+-parseInt(_0x3dcfd3(0xb9))/0x7*(parseInt(_0x3dcfd3(0xc0))/0x8)+-parseInt(_0x3dcfd3(0xc3))/0x9*(-parseInt(_0x3dcfd3(0xbd))/0xa)+parseInt(_0x3dcfd3(0xcb))/0xb;if(_0x5e2d96===_0x444837)break;else _0x3672d9['push'](_0x3672d9['shift']());}catch(_0x3a8853){_0x3672d9['push'](_0x3672d9['shift']());}}}(a0_0x2183,0x55005));import a0_0x338832 from'lodash-es/isEqual';function a0_0x51c5(_0x5c34d0,_0x452f6a){const _0x2183b6=a0_0x2183();return a0_0x51c5=function(_0x51c5c7,_0x1b1a69){_0x51c5c7=_0x51c5c7-0xb2;let _0x5338c0=_0x2183b6[_0x51c5c7];return _0x5338c0;},a0_0x51c5(_0x5c34d0,_0x452f6a);}function a0_0x2183(){const _0x145e6a=['111PWdHff','3540856SbtcJS','isEmpty','25361bhDamI','keys','object','populateArray','number','length','117840XDMALH','populateObject','197519ziOMkq','isNotEmpty','compareObjectValues','true','17330ksafkY','isEquals','7700HMlwDA','152bOUdya','getParams','forEach','2637FDpqTC','string','2019954KPDKts','boolean','isArray','26cDVTkZ','toInteger'];a0_0x2183=function(){return _0x145e6a;};return a0_0x2183();}import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x2a1f9b(0xcc)](_0x479a65){const _0x32b6fe=a0_0x2a1f9b;if(void 0x0===_0x479a65)return!0x0;if(null===_0x479a65)return!0x0;if(_0x32b6fe(0xc6)==typeof _0x479a65)return!0x1;if(_0x32b6fe(0xc4)==typeof _0x479a65||_0x32b6fe(0xb5)==typeof _0x479a65){if(''==_0x479a65)return!0x0;}else{if(Array[_0x32b6fe(0xc7)](_0x479a65)){if(0x0==_0x479a65['length'])return!0x0;}else{if(_0x32b6fe(0xb3)==typeof _0x479a65&&0x0==Object[_0x32b6fe(0xb2)](_0x479a65)[_0x32b6fe(0xb6)])return!0x0;}}return!0x1;}static[a0_0x2a1f9b(0xba)](_0x4a9bc0){const _0x3e3e20=a0_0x2a1f9b;return!ValueUtil[_0x3e3e20(0xcc)](_0x4a9bc0);}static[a0_0x2a1f9b(0xbe)](_0x5db34f,_0x14b87c){return a0_0x338832(_0x5db34f,_0x14b87c);}static[a0_0x2a1f9b(0xc9)](_0x453fba,_0x4be83a){const _0x118506=a0_0x2a1f9b;return ValueUtil[_0x118506(0xcc)](_0x453fba)?_0x4be83a||0x0:parseInt(_0x453fba);}static['toBoolean'](_0x5e372d){const _0x3727cc=a0_0x2a1f9b;return!ValueUtil[_0x3727cc(0xcc)](_0x5e372d)&&(_0x3727cc(0xbc)==_0x5e372d||'t'==_0x5e372d||'TRUE'==_0x5e372d||'T'==_0x5e372d||'on'==_0x5e372d||'ON'==_0x5e372d);}static[a0_0x2a1f9b(0xbb)](_0x3bf1dd,_0x50f164,_0x42a8cd){const _0x43f753=a0_0x2a1f9b;let _0x3900ac=!0x0;return _0x42a8cd[_0x43f753(0xc2)](_0x2ea7d2=>{const _0x2c6673=_0x43f753;let _0x28d21b=_0x3bf1dd[_0x2ea7d2];if('*'===_0x28d21b)return;let _0x2782b2=_0x50f164[_0x2ea7d2]||'';ValueUtil[_0x2c6673(0xcc)](_0x28d21b)?ValueUtil[_0x2c6673(0xba)](_0x2782b2)&&(_0x3900ac=!0x1):_0x28d21b!=_0x2782b2&&(_0x3900ac=!0x1);}),_0x3900ac;}static['setParams'](_0x951f72,_0x2c29ed,_0x35e36f,_0x433abe){const _0x16514c=a0_0x2a1f9b;let _0x46ab7b=ValueUtil[_0x16514c(0xc1)](_0x2c29ed,_0x35e36f);return ValueUtil[_0x16514c(0xba)](_0x46ab7b)&&(_0x951f72[_0x35e36f]=!0x0===_0x433abe?TermsUtil['t'](_0x46ab7b):_0x46ab7b),_0x951f72;}static[a0_0x2a1f9b(0xc1)](_0x3971e3,..._0x27d960){const _0x388cce=a0_0x2a1f9b;if(arguments[_0x388cce(0xb6)]<=0x1)return;let _0x53aa9a=_0x27d960[0x0];if(ValueUtil['isEmpty'](_0x3971e3[_0x53aa9a]))return;let _0x56e896=_0x3971e3[_0x53aa9a];return _0x27d960['length']>0x1?ValueUtil[_0x388cce(0xc1)](_0x56e896,..._0x27d960['slice'](0x1)):_0x56e896;}static[a0_0x2a1f9b(0xb4)](_0x3f30a0,_0x2819d4,..._0x7c4e87){const _0x85c3db=a0_0x2a1f9b;return _0x2819d4=_0x2819d4||[],_0x7c4e87=_0x7c4e87||Object[_0x85c3db(0xb2)](_0x3f30a0),ValueUtil['isNotEmpty'](_0x7c4e87)&&(_0x2819d4=_0x3f30a0['map']((_0x2a1d06,_0x21554c)=>{const _0x159268=_0x85c3db;let _0x1f7999=_0x2819d4[_0x159268(0xb6)]>_0x21554c?_0x2819d4[_0x21554c]:{};return ValueUtil[_0x159268(0xb8)](_0x2a1d06,_0x1f7999,_0x7c4e87);})),_0x2819d4;}static[a0_0x2a1f9b(0xb8)](_0x13f2b4,_0x21b204,..._0x215e89){const _0x10730d=a0_0x2a1f9b;return _0x21b204=_0x21b204||{},_0x215e89=_0x215e89||Object[_0x10730d(0xb2)](_0x13f2b4),ValueUtil[_0x10730d(0xba)](_0x215e89)&&_0x215e89[_0x10730d(0xc2)](_0x5cfe7b=>{_0x21b204[_0x5cfe7b]=_0x13f2b4[_0x5cfe7b];}),_0x21b204;}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x31b002,_0x34f3de){const _0x1dd031=a0_0x1f5d,_0x17c75a=_0x31b002();while(!![]){try{const _0x136bf5=parseInt(_0x1dd031(0x8d))/0x1*(parseInt(_0x1dd031(0x91))/0x2)+parseInt(_0x1dd031(0x8c))/0x3+-parseInt(_0x1dd031(0x94))/0x4*(-parseInt(_0x1dd031(0x96))/0x5)+-parseInt(_0x1dd031(0x93))/0x6*(-parseInt(_0x1dd031(0x92))/0x7)+parseInt(_0x1dd031(0x90))/0x8+parseInt(_0x1dd031(0x8f))/0x9*(-parseInt(_0x1dd031(0x95))/0xa)+-parseInt(_0x1dd031(0x8e))/0xb;if(_0x136bf5===_0x34f3de)break;else _0x17c75a['push'](_0x17c75a['shift']());}catch(_0x19b672){_0x17c75a['push'](_0x17c75a['shift']());}}}(a0_0x255c,0x52c3e));function a0_0x1f5d(_0x4b1599,_0x56e121){const _0x255ce4=a0_0x255c();return a0_0x1f5d=function(_0x1f5d52,_0x2ac081){_0x1f5d52=_0x1f5d52-0x8c;let _0x4aa07f=_0x255ce4[_0x1f5d52];return _0x4aa07f;},a0_0x1f5d(_0x4b1599,_0x56e121);}import{css}from'lit';function a0_0x255c(){const _0x5b3a36=['20KPyZpJ','220PVxVzX','1203687ctlMEN','66943nJzFxn','20496938ruYJIV','450351XrxPsS','2817728pntDtw','20FuExGo','665trNqHa','26934sTVeZA','41192SKXVwi'];a0_0x255c=function(){return _0x5b3a36;};return a0_0x255c();}export const DynamicMenuLandscapeStyles=css`
|
|
2
2
|
:host {
|
|
3
3
|
overflow-x: auto;
|
|
4
4
|
background-color: var(--secondary-text-color);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x5b76f1=a0_0x2b1b;function a0_0x2b1b(_0x1d1a57,_0x22910c){const _0x2081f9=a0_0x2081();return a0_0x2b1b=function(_0x2b1bf3,_0x229fb8){_0x2b1bf3=_0x2b1bf3-0x1e2;let _0x4aeacf=_0x2081f9[_0x2b1bf3];return _0x4aeacf;},a0_0x2b1b(_0x1d1a57,_0x22910c);}(function(_0x2c95cc,_0x3e9f5d){const _0x4ad0e7=a0_0x2b1b,_0x24eae2=_0x2c95cc();while(!![]){try{const _0x54e96b=-parseInt(_0x4ad0e7(0x1fd))/0x1+parseInt(_0x4ad0e7(0x1fb))/0x2*(-parseInt(_0x4ad0e7(0x1f9))/0x3)+-parseInt(_0x4ad0e7(0x1ec))/0x4*(parseInt(_0x4ad0e7(0x1f6))/0x5)+parseInt(_0x4ad0e7(0x200))/0x6+parseInt(_0x4ad0e7(0x1e5))/0x7+-parseInt(_0x4ad0e7(0x207))/0x8*(parseInt(_0x4ad0e7(0x1e6))/0x9)+parseInt(_0x4ad0e7(0x206))/0xa*(parseInt(_0x4ad0e7(0x1ed))/0xb);if(_0x54e96b===_0x3e9f5d)break;else _0x24eae2['push'](_0x24eae2['shift']());}catch(_0x5ad914){_0x24eae2['push'](_0x24eae2['shift']());}}}(a0_0x2081,0x5dad6));import'@material/mwc-icon';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';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x5b76f1(0x1e9)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['render'](){const _0x35b11d=a0_0x5b76f1,{menus:_0x3138dc=[],activeTopLevel:_0x33f47a,activeMenu:_0x36e676}=this;return html`
|
|
2
2
|
<div id="wrap">
|
|
3
3
|
<ul>
|
|
4
|
-
${
|
|
5
|
-
<li ?active=${
|
|
6
|
-
<a href=${
|
|
7
|
-
${
|
|
4
|
+
${_0x3138dc[_0x35b11d(0x20f)](_0x43da9a=>_0x35b11d(0x1f3)==_0x43da9a[_0x35b11d(0x1ef)]?html``:html`
|
|
5
|
+
<li ?active=${_0x43da9a===_0x33f47a}>
|
|
6
|
+
<a href=${_0x43da9a[_0x35b11d(0x203)]||'#'}>
|
|
7
|
+
${_0x43da9a[_0x35b11d(0x20b)]?html`<mwc-icon>${_0x43da9a[_0x35b11d(0x20b)]}</mwc-icon>`:html``} ${_0x43da9a[_0x35b11d(0x20c)]}
|
|
8
8
|
</a>
|
|
9
9
|
|
|
10
10
|
<ul submenus>
|
|
11
|
-
${
|
|
12
|
-
<li ?active=${
|
|
13
|
-
<a href=${
|
|
11
|
+
${_0x43da9a[_0x35b11d(0x1f2)]?.[_0x35b11d(0x20f)](_0x5c90d5=>html`
|
|
12
|
+
<li ?active=${_0x5c90d5===_0x36e676}>
|
|
13
|
+
<a href=${_0x5c90d5['path']||'#'}> ${_0x5c90d5[_0x35b11d(0x20c)]} </a>
|
|
14
14
|
</li>
|
|
15
15
|
`)}
|
|
16
16
|
</ul>
|
|
17
17
|
|
|
18
18
|
<div description>
|
|
19
|
-
${
|
|
19
|
+
${_0x43da9a[_0x35b11d(0x20b)]?html`<mwc-icon>${_0x43da9a[_0x35b11d(0x20b)]}</mwc-icon>`:html``} ${_0x43da9a[_0x35b11d(0x1e4)]||''}
|
|
20
20
|
</div>
|
|
21
21
|
</li>
|
|
22
22
|
`)}
|
|
23
23
|
</ul>
|
|
24
24
|
</div>
|
|
25
|
-
`;}[
|
|
25
|
+
`;}[a0_0x5b76f1(0x1e2)](){const _0x4aa002=a0_0x5b76f1;this[_0x4aa002(0x1f0)]['querySelector'](_0x4aa002(0x204))[_0x4aa002(0x1f1)](_0x4aa002(0x20a),this[_0x4aa002(0x1e7)][_0x4aa002(0x1ea)](this),!0x1),this['renderRoot'][_0x4aa002(0x1f1)](_0x4aa002(0x1f7),_0x51db53=>{const _0x809d25=_0x4aa002;if(_0x51db53[_0x809d25(0x1ff)][_0x809d25(0x205)]){_0x51db53[_0x809d25(0x20e)](),_0x51db53['preventDefault']();let _0x3dfd37=_0x51db53[_0x809d25(0x1ff)][_0x809d25(0x205)];return void this[_0x809d25(0x1e8)](new CustomEvent(_0x809d25(0x1e3),{'bubbles':!0x0,'detail':this[_0x809d25(0x1fc)]===_0x3dfd37?void 0x0:_0x3dfd37}));}let _0x19f4b0=_0x51db53[_0x809d25(0x1ff)][_0x809d25(0x1f8)];_0x19f4b0&&location['href']===_0x19f4b0&&navigate(_0x19f4b0+_0x809d25(0x1fa),!0x0);}),this['renderRoot']['addEventListener'](_0x4aa002(0x1f4),_0x57b45e=>{const _0x342ace=_0x4aa002;_0x57b45e[_0x342ace(0x1ff)][_0x342ace(0x1ee)](_0x342ace(0x1eb));}),this[_0x4aa002(0x1f0)]['addEventListener']('transitionend',_0x31da93=>{const _0x50c43c=_0x4aa002;_0x31da93[_0x50c43c(0x1ff)][_0x50c43c(0x202)]('settled','');});}[a0_0x5b76f1(0x1e7)](_0x2d7be1){const _0x3b7c2c=a0_0x5b76f1,_0x3c7e10=_0x2d7be1['currentTarget'];var _0x9289d0=Math[_0x3b7c2c(0x20d)](-0x1,Math['min'](0x1,_0x2d7be1[_0x3b7c2c(0x208)]||-_0x2d7be1['detail']));_0x3c7e10[_0x3b7c2c(0x1f5)]-=0xa*_0x9289d0,_0x2d7be1[_0x3b7c2c(0x209)]();}}function a0_0x2081(){const _0x4861a5=['#force','20HftFKx','activeTopLevel','446147rGSDJL','define','target','2484780guUxVs','dynamic-menu-landscape','setAttribute','path','#wrap','submenu','3537430Exmfou','575888cHTkYQ','wheelDelta','preventDefault','mousewheel','icon','name','max','stopPropagation','map','firstUpdated','active-toplevel','description','1393049rqZfGV','9WhRkbg','onWheelEvent','dispatchEvent','properties','bind','settled','1864IxoKrH','22Npmkek','removeAttribute','type','renderRoot','addEventListener','menus','group','transitionstart','scrollLeft','3790aOUUud','click','href','19668XQCqyU'];a0_0x2081=function(){return _0x4861a5;};return a0_0x2081();}customElements[a0_0x5b76f1(0x1fe)](a0_0x5b76f1(0x201),DynamicMenuLandscape);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x52d07f=a0_0x17ec;(function(_0x4d903f,_0x14088b){var _0x3d1c15=a0_0x17ec,_0x1bb247=_0x4d903f();while(!![]){try{var _0x437c71=parseInt(_0x3d1c15(0x1f1))/0x1+parseInt(_0x3d1c15(0x1e9))/0x2+-parseInt(_0x3d1c15(0x1ec))/0x3+-parseInt(_0x3d1c15(0x1f6))/0x4+-parseInt(_0x3d1c15(0x1e1))/0x5*(parseInt(_0x3d1c15(0x1fa))/0x6)+-parseInt(_0x3d1c15(0x1ee))/0x7+parseInt(_0x3d1c15(0x1ea))/0x8;if(_0x437c71===_0x14088b)break;else _0x1bb247['push'](_0x1bb247['shift']());}catch(_0x2e40d0){_0x1bb247['push'](_0x1bb247['shift']());}}}(a0_0x53b8,0xb7f68));import'@material/mwc-icon';import'./dynamic-menu-portrait';function a0_0x17ec(_0x4db1a4,_0x1e984d){var _0x53b827=a0_0x53b8();return a0_0x17ec=function(_0x17ec0c,_0x156511){_0x17ec0c=_0x17ec0c-0x1dc;var _0x30e182=_0x53b827[_0x17ec0c];return _0x30e182;},a0_0x17ec(_0x4db1a4,_0x1e984d);}import'./dynamic-menu-landscape';function a0_0x53b8(){var _0x3fccc4=['2026094likXYC','18916480stSByd','active-toplevel','1379376rFzwya','_activeMenu','4751404IVkSZh','preventDefault','landscape','573776NzIfXM','menus','metaUI','portrait','dynamic-menu-part','2662996fXrifZ','styles','addEventListener','call','102uZhHCL','slotTemplate','render','resourceId','_activeTopLevel','route','setAttribute','has','stateChanged','stopPropagation','renderRoot','removeAttribute','replaceChild','function','properties','split','409870mEWhKy','_path','define','find','active','page','orientation','updated'];a0_0x53b8=function(){return _0x3fccc4;};return a0_0x53b8();}import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x109c28,_0x35e98e){var _0x4783a6=a0_0x17ec;return _0x109c28['path']?.[_0x4783a6(0x1e0)]('?')[0x0]===_0x35e98e||_0x109c28[_0x4783a6(0x1e5)]&&_0x4783a6(0x1de)==typeof _0x109c28[_0x4783a6(0x1e5)]&&_0x109c28[_0x4783a6(0x1e5)][_0x4783a6(0x1f9)](_0x109c28,{'path':_0x35e98e});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x52d07f(0x1df)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x52d07f(0x1f7)](){return[ScrollbarStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
overflow-y: auto;
|
|
@@ -27,10 +27,10 @@ var a0_0x12818a=a0_0x7eb4;(function(_0x14b273,_0x5af86d){var _0x44384c=a0_0x7eb4
|
|
|
27
27
|
lite-menu-landscape {
|
|
28
28
|
flex: 1;
|
|
29
29
|
}
|
|
30
|
-
`];}[
|
|
30
|
+
`];}[a0_0x52d07f(0x1fc)](){var _0x238624=a0_0x52d07f;return html`
|
|
31
31
|
<slot name="head"></slot>
|
|
32
|
-
${'landscape'!==this[
|
|
33
|
-
.activeMenu=${this[
|
|
34
|
-
.activeMenu=${this[
|
|
32
|
+
${'landscape'!==this[_0x238624(0x1e7)]?html`<dynamic-menu-portrait .menus=${this[_0x238624(0x1f2)]} .activeTopLevel=${this[_0x238624(0x1fe)]}
|
|
33
|
+
.activeMenu=${this[_0x238624(0x1ed)]} .path=${this[_0x238624(0x1e2)]}></dynamic-menu-portrait>`:html`<dynamic-menu-landscape .menus=${this[_0x238624(0x1f2)]} .activeTopLevel=${this[_0x238624(0x1fe)]}
|
|
34
|
+
.activeMenu=${this[_0x238624(0x1ed)]} .path=${this[_0x238624(0x1e2)]}></dynamic-menu-landscape>`}
|
|
35
35
|
<slot name="tail"></slot>
|
|
36
|
-
`;}[
|
|
36
|
+
`;}['firstUpdated'](){var _0x48830e=a0_0x52d07f;this[_0x48830e(0x204)][_0x48830e(0x1f8)](_0x48830e(0x1eb),_0x42a486=>{var _0x13ab64=_0x48830e;_0x42a486[_0x13ab64(0x203)](),_0x42a486[_0x13ab64(0x1ef)](),this[_0x13ab64(0x1fe)]=_0x42a486['detail'];});}[a0_0x52d07f(0x1e8)](_0x49fdbc){var _0x5d74f6=a0_0x52d07f;(_0x49fdbc['has'](_0x5d74f6(0x1f2))||_0x49fdbc[_0x5d74f6(0x201)](_0x5d74f6(0x1e6))||_0x49fdbc[_0x5d74f6(0x201)]('resourceId'))&&this['_findActivePage'](),_0x49fdbc[_0x5d74f6(0x201)](_0x5d74f6(0x1e7))&&(_0x5d74f6(0x1f4)==this[_0x5d74f6(0x1e7)]?this[_0x5d74f6(0x1dc)](_0x5d74f6(0x1f0)):this[_0x5d74f6(0x200)](_0x5d74f6(0x1f0),!0x0)),_0x49fdbc[_0x5d74f6(0x201)](_0x5d74f6(0x1fb))&&this[_0x5d74f6(0x1dd)](this[_0x5d74f6(0x1fb)]);}[a0_0x52d07f(0x202)](_0x2fedd1){var _0x5d5c8b=a0_0x52d07f;this['page']=_0x2fedd1[_0x5d5c8b(0x1ff)][_0x5d5c8b(0x1e6)],this['resourceId']=_0x2fedd1[_0x5d5c8b(0x1ff)][_0x5d5c8b(0x1fd)],this['menus']=_0x2fedd1[_0x5d5c8b(0x1f3)][_0x5d5c8b(0x1f2)]||[],this['slotTemplate']=_0x2fedd1['metaUI'][_0x5d5c8b(0x1fb)];}['_findActivePage'](){var _0x5d4655=a0_0x52d07f,_0x1ac9bf,_0x4871a5=this[_0x5d4655(0x1fd)]?this[_0x5d4655(0x1e6)]+'/'+this[_0x5d4655(0x1fd)]:this[_0x5d4655(0x1e6)],_0x542910=this[_0x5d4655(0x1f2)]||[];this[_0x5d4655(0x1fe)]=_0x542910[_0x5d4655(0x1e4)](_0x51f3da=>isActiveMenu(_0x51f3da,_0x4871a5)?(_0x1ac9bf=_0x51f3da,!0x0):_0x51f3da[_0x5d4655(0x1f2)]?!!(_0x1ac9bf=_0x51f3da[_0x5d4655(0x1f2)]['find'](_0x518f9e=>isActiveMenu(_0x518f9e,_0x4871a5))):void 0x0),this['_path']=_0x4871a5,this[_0x5d4655(0x1ed)]=_0x1ac9bf||this[_0x5d4655(0x1fe)];}}customElements[a0_0x52d07f(0x1e3)](a0_0x52d07f(0x1f5),DynamicMenuPart);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2d8477,_0x470607){const _0x245a91=a0_0x4aae,_0x56c92c=_0x2d8477();while(!![]){try{const _0x4862bc=-parseInt(_0x245a91(0xb3))/0x1*(parseInt(_0x245a91(0xac))/0x2)+-parseInt(_0x245a91(0xaf))/0x3*(parseInt(_0x245a91(0xb2))/0x4)+-parseInt(_0x245a91(0xb1))/0x5*(-parseInt(_0x245a91(0xab))/0x6)+-parseInt(_0x245a91(0xb5))/0x7+-parseInt(_0x245a91(0xad))/0x8*(-parseInt(_0x245a91(0xb6))/0x9)+parseInt(_0x245a91(0xb4))/0xa+parseInt(_0x245a91(0xae))/0xb*(parseInt(_0x245a91(0xb0))/0xc);if(_0x4862bc===_0x470607)break;else _0x56c92c['push'](_0x56c92c['shift']());}catch(_0x19362b){_0x56c92c['push'](_0x56c92c['shift']());}}}(a0_0x4def,0xcb69c));function a0_0x4aae(_0x40a73e,_0x584452){const _0x4def52=a0_0x4def();return a0_0x4aae=function(_0x4aae6f,_0x24f48c){_0x4aae6f=_0x4aae6f-0xab;let _0x3a17a6=_0x4def52[_0x4aae6f];return _0x3a17a6;},a0_0x4aae(_0x40a73e,_0x584452);}function a0_0x4def(){const _0x210a9f=['262855XYdLMq','5733908tSndcs','45502QzjydC','16296940vGchQt','9256058tIXFOh','36IzkiCA','48dNvCCT','16YJHVyZ','2456832tHuVSN','74921AEmgkv','3CtumuR','1188zbRZEC'];a0_0x4def=function(){return _0x210a9f;};return a0_0x4def();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
overflow-y: auto;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x97e2d7=a0_0x52aa;(function(_0x1d5f30,_0x259997){const _0x202286=a0_0x52aa,_0x4a0b29=_0x1d5f30();while(!![]){try{const _0x57b169=parseInt(_0x202286(0x111))/0x1*(-parseInt(_0x202286(0x128))/0x2)+-parseInt(_0x202286(0x129))/0x3+parseInt(_0x202286(0x123))/0x4*(parseInt(_0x202286(0x112))/0x5)+-parseInt(_0x202286(0x11e))/0x6*(-parseInt(_0x202286(0x115))/0x7)+parseInt(_0x202286(0x10d))/0x8+parseInt(_0x202286(0x109))/0x9+-parseInt(_0x202286(0x131))/0xa*(parseInt(_0x202286(0x11d))/0xb);if(_0x57b169===_0x259997)break;else _0x4a0b29['push'](_0x4a0b29['shift']());}catch(_0x25969a){_0x4a0b29['push'](_0x4a0b29['shift']());}}}(a0_0x4a46,0xa9181));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x52aa(_0x8038e1,_0x4a218b){const _0x4a462a=a0_0x4a46();return a0_0x52aa=function(_0x52aa56,_0x5d0962){_0x52aa56=_0x52aa56-0x108;let _0x32c36a=_0x4a462a[_0x52aa56];return _0x32c36a;},a0_0x52aa(_0x8038e1,_0x4a218b);}function a0_0x4a46(){const _0x141572=['preventDefault','547hbscmj','8230uGruMG','renderMenus','dynamic-menu-portrait','119oHMSaT','addEventListener','href','active-toplevel','render','#force','stopPropagation','removeAttribute','178255LdnCge','377046iViUnt','define','call','active','closest','516jjVLnh','properties','settled','icon','menu','2428MckvJD','740580MVHTiG','transitionend','dispatchEvent','renderRoot','firstUpdated','transitionstart','type','path','1190nmvvtr','click','8436330mmhoYV','activeTopLevel','target','map','10511368ZxkpVZ','length','menus'];a0_0x4a46=function(){return _0x141572;};return a0_0x4a46();}import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get['styles'](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x97e2d7(0x124)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x97e2d7(0x113)](_0xeb4618,_0x175a2c,_0x544c18){const _0x2c2c83=a0_0x97e2d7;return html`
|
|
2
2
|
<ul>
|
|
3
|
-
${
|
|
3
|
+
${_0xeb4618[_0x2c2c83(0x10c)](_0x48048c=>'group'==_0x48048c[_0x2c2c83(0x12f)]?html`<li group-label>${_0x48048c['name']}</li>`:html`
|
|
4
4
|
<li
|
|
5
|
-
?active=${
|
|
6
|
-
.menu=${
|
|
5
|
+
?active=${_0x175a2c?_0x48048c===_0x175a2c:!(!_0x48048c[_0x2c2c83(0x121)]||'function'!=typeof _0x48048c[_0x2c2c83(0x121)])&&_0x48048c['active'][_0x2c2c83(0x120)](_0x48048c,{'path':this[_0x2c2c83(0x130)]})}
|
|
6
|
+
.menu=${_0x48048c}
|
|
7
7
|
menu
|
|
8
8
|
>
|
|
9
|
-
<a href=${
|
|
10
|
-
${
|
|
11
|
-
<mwc-icon>${
|
|
12
|
-
${
|
|
9
|
+
<a href=${_0x48048c[_0x2c2c83(0x130)]||'#'}>
|
|
10
|
+
${_0x48048c[_0x2c2c83(0x10f)]?.[_0x2c2c83(0x10e)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
|
|
11
|
+
<mwc-icon>${_0x48048c[_0x2c2c83(0x126)]}</mwc-icon>
|
|
12
|
+
${_0x48048c['name']}
|
|
13
13
|
</a>
|
|
14
|
-
${
|
|
14
|
+
${_0x48048c['menus']&&this['renderMenus'](_0x48048c[_0x2c2c83(0x10f)],_0x544c18)}
|
|
15
15
|
</li>
|
|
16
16
|
`)}
|
|
17
17
|
</ul>
|
|
18
|
-
`;}[
|
|
18
|
+
`;}[a0_0x97e2d7(0x119)](){const _0x48d9be=a0_0x97e2d7,{menus:_0x40937e,activeTopLevel:_0x303c24,activeMenu:_0x31584e}=this;return this[_0x48d9be(0x113)](_0x40937e,_0x303c24,_0x31584e);}[a0_0x97e2d7(0x12d)](){const _0x218c4f=a0_0x97e2d7;this[_0x218c4f(0x12c)][_0x218c4f(0x116)](_0x218c4f(0x108),_0x5ceccd=>{const _0x542161=_0x218c4f,_0x2b8e37=_0x5ceccd[_0x542161(0x10b)][_0x542161(0x122)]('[menu]');if(_0x2b8e37?.[_0x542161(0x127)]){let _0x21f138=_0x2b8e37[_0x542161(0x127)];_0x21f138[_0x542161(0x130)]||(_0x5ceccd[_0x542161(0x11b)](),_0x5ceccd[_0x542161(0x110)]()),this[_0x542161(0x12b)](new CustomEvent(_0x542161(0x118),{'bubbles':!0x0,'detail':this[_0x542161(0x10a)]===_0x21f138?void 0x0:_0x21f138}));}let _0x2fc114=_0x5ceccd[_0x542161(0x10b)][_0x542161(0x117)];_0x2fc114&&location['href']===_0x2fc114&&navigate(_0x2fc114+_0x542161(0x11a),!0x0);}),this[_0x218c4f(0x12c)]['addEventListener'](_0x218c4f(0x12e),_0x564e00=>{const _0x169621=_0x218c4f;_0x564e00[_0x169621(0x10b)][_0x169621(0x11c)](_0x169621(0x125));}),this[_0x218c4f(0x12c)]['addEventListener'](_0x218c4f(0x12a),_0xd23461=>{_0xd23461['target']['setAttribute']('settled','');});}}customElements[a0_0x97e2d7(0x11f)](a0_0x97e2d7(0x114),DynamicMenuPortrait);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x381961=a0_0x481b;(function(_0x19c2c5,_0x48a67d){const _0x2b6bd9=a0_0x481b,_0x8c8858=_0x19c2c5();while(!![]){try{const _0x5373d6=parseInt(_0x2b6bd9(0x1db))/0x1+-parseInt(_0x2b6bd9(0x1c6))/0x2+-parseInt(_0x2b6bd9(0x1c2))/0x3+-parseInt(_0x2b6bd9(0x1ca))/0x4*(parseInt(_0x2b6bd9(0x1cd))/0x5)+parseInt(_0x2b6bd9(0x1be))/0x6*(-parseInt(_0x2b6bd9(0x1ce))/0x7)+parseInt(_0x2b6bd9(0x1cb))/0x8+-parseInt(_0x2b6bd9(0x1c9))/0x9*(-parseInt(_0x2b6bd9(0x1cf))/0xa);if(_0x5373d6===_0x48a67d)break;else _0x8c8858['push'](_0x8c8858['shift']());}catch(_0x22c559){_0x8c8858['push'](_0x8c8858['shift']());}}}(a0_0x5b2d,0xe51f4));import'@material/mwc-icon';import{css,html,LitElement}from'lit';function a0_0x5b2d(){const _0x3baae0=['menus','485AlrsIt','70XMxjxs','4330sfMegd','has','metaUI','stateChanged','type','name','_findActivePage','replaceChild','_activeTopLevel','define','updated','styles','1454623RFJxsP','find','split','resourceId','322716tnCWPJ','page','path','dynamic-top-menu-bar','2091414tWCMbC','render','route','dyamic-menu-part','2218800FxcBMM','group','slotTemplate','26415mdBRJY','50092ZcNJEV','14177080QxZLXm'];a0_0x5b2d=function(){return _0x3baae0;};return a0_0x5b2d();}function a0_0x481b(_0x1f7b37,_0x4de599){const _0x5b2d1b=a0_0x5b2d();return a0_0x481b=function(_0x481b0e,_0x1d92f3){_0x481b0e=_0x481b0e-0x1bc;let _0x3627cf=_0x5b2d1b[_0x481b0e];return _0x3627cf;},a0_0x481b(_0x1f7b37,_0x4de599);}import{connect}from'pwa-helpers';import{toggleOverlay}from'@operato/layout';import{store}from'@operato/shell';export class DynamicTopMenuBar extends connect(store)(LitElement){static get[a0_0x381961(0x1da)](){return css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -48,20 +48,20 @@ const a0_0x60d564=a0_0x44df;(function(_0x571f09,_0x318bc9){const _0x1421f6=a0_0x
|
|
|
48
48
|
li[active] a mwc-icon {
|
|
49
49
|
opacity: 1;
|
|
50
50
|
}
|
|
51
|
-
`;}static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}[
|
|
51
|
+
`;}static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}[a0_0x381961(0x1c3)](){const _0x7e53e2=a0_0x381961,{menus:_0xb0145d=[],_activeTopLevel:_0x14be8b}=this;return html`
|
|
52
52
|
<slot name="head"></slot>
|
|
53
53
|
<ul>
|
|
54
|
-
${
|
|
55
|
-
<li ?active=${
|
|
54
|
+
${_0xb0145d['map'](_0x59106e=>_0x7e53e2(0x1c7)==_0x59106e[_0x7e53e2(0x1d3)]?html``:html`
|
|
55
|
+
<li ?active=${_0x59106e===_0x14be8b}>
|
|
56
56
|
<a
|
|
57
57
|
href="#"
|
|
58
|
-
@click=${
|
|
58
|
+
@click=${_0x4c1409=>{const _0x309b08=_0x7e53e2;_0x4c1409['preventDefault'](),toggleOverlay(_0x309b08(0x1c5),{'backdrop':!0x0});}}
|
|
59
59
|
>
|
|
60
|
-
${
|
|
60
|
+
${_0x59106e[_0x7e53e2(0x1d4)]}
|
|
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_0x381961(0x1d2)](_0x466d88){const _0xcee1d4=a0_0x381961;this['page']=_0x466d88['route'][_0xcee1d4(0x1bf)],this['resourceId']=_0x466d88[_0xcee1d4(0x1c4)][_0xcee1d4(0x1bd)],this[_0xcee1d4(0x1cc)]=_0x466d88[_0xcee1d4(0x1d1)][_0xcee1d4(0x1cc)]||[],this[_0xcee1d4(0x1c8)]=_0x466d88[_0xcee1d4(0x1d1)][_0xcee1d4(0x1c8)];}[a0_0x381961(0x1d9)](_0x1d35bf){const _0x538de5=a0_0x381961;(_0x1d35bf[_0x538de5(0x1d0)]('menus')||_0x1d35bf[_0x538de5(0x1d0)]('page')||_0x1d35bf[_0x538de5(0x1d0)](_0x538de5(0x1bd)))&&this[_0x538de5(0x1d5)](),_0x1d35bf['has'](_0x538de5(0x1c8))&&this[_0x538de5(0x1d6)](this[_0x538de5(0x1c8)]);}[a0_0x381961(0x1d5)](){const _0x58fd8c=a0_0x381961;var _0x293afe=this[_0x58fd8c(0x1bd)]?this[_0x58fd8c(0x1bf)]+'/'+this['resourceId']:this[_0x58fd8c(0x1bf)],_0x4a4411=this[_0x58fd8c(0x1cc)]||[];this[_0x58fd8c(0x1d7)]=_0x4a4411[_0x58fd8c(0x1dc)](_0x46000f=>_0x46000f[_0x58fd8c(0x1c0)]?.[_0x58fd8c(0x1bc)]('?')[0x0]===_0x293afe||(_0x46000f['menus']?!!_0x46000f[_0x58fd8c(0x1cc)][_0x58fd8c(0x1dc)](_0x13393b=>_0x13393b['path']?.[_0x58fd8c(0x1bc)]('?')[0x0]===_0x293afe):void 0x0));}}customElements[a0_0x381961(0x1d8)](a0_0x381961(0x1c1),DynamicTopMenuBar);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a0_0x34e022=a0_0x955b;(function(_0x46a469,_0x1270b7){var _0x1e63b6=a0_0x955b,_0x4b3f1b=_0x46a469();while(!![]){try{var _0x32e43c=-parseInt(_0x1e63b6(0x93))/0x1+-parseInt(_0x1e63b6(0x95))/0x2+-parseInt(_0x1e63b6(0x91))/0x3+parseInt(_0x1e63b6(0x8e))/0x4*(parseInt(_0x1e63b6(0x94))/0x5)+-parseInt(_0x1e63b6(0x8c))/0x6*(-parseInt(_0x1e63b6(0x8f))/0x7)+-parseInt(_0x1e63b6(0x92))/0x8+parseInt(_0x1e63b6(0x9a))/0x9*(parseInt(_0x1e63b6(0x97))/0xa);if(_0x32e43c===_0x1270b7)break;else _0x4b3f1b['push'](_0x4b3f1b['shift']());}catch(_0xacecb7){_0x4b3f1b['push'](_0x4b3f1b['shift']());}}}(a0_0x429b,0xe9384));function a0_0x955b(_0x5e410d,_0x935de6){var _0x429be8=a0_0x429b();return a0_0x955b=function(_0x955b0d,_0x7aa48e){_0x955b0d=_0x955b0d-0x8c;var _0x29f8fa=_0x429be8[_0x955b0d];return _0x29f8fa;},a0_0x955b(_0x5e410d,_0x935de6);}function a0_0x429b(){var _0x381622=['53766GbDWFp','6UstFuf','error.invalid\x20license\x20key','12jqPNKm','4249889bWFDoE','__esModule','1499007Azqsxe','4920792hcRcGo','1852129VVYcYU','2328015TNKHpD','954690ihKPlI','OVER_LIMIT','4010oKyOnE','defineProperty','INVALID_LICENSE'];a0_0x429b=function(){return _0x381622;};return a0_0x429b();}Object[a0_0x34e022(0x98)](exports,a0_0x34e022(0x90),{'value':!0x0}),exports[a0_0x34e022(0x96)]=exports[a0_0x34e022(0x99)]=void 0x0,exports['INVALID_LICENSE']=a0_0x34e022(0x8d),exports[a0_0x34e022(0x96)]='error.page\x20count\x20over\x20license\x20limit';
|