@things-factory/meta-ui 6.1.43 → 6.1.44

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.
Files changed (91) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +10 -10
  6. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  7. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  8. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  9. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  10. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  12. package/client/component/popup/code-input-editor-popup.js +10 -10
  13. package/client/component/popup/meta-object-selector-popup.js +11 -11
  14. package/client/mixin/meta-base-mixin.js +1 -1
  15. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  16. package/client/mixin/meta-button-mixin.js +1 -1
  17. package/client/mixin/meta-form-mixin.js +1 -1
  18. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  19. package/client/mixin/meta-main-tab-mixin.js +1 -1
  20. package/client/mixin/meta-master-detail-mixin.js +1 -1
  21. package/client/mixin/meta-service-mixin.js +1 -1
  22. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  23. package/client/mixin/meta-tab-mixin.js +1 -1
  24. package/client/pages/activity/meta-activity-list-page.js +6 -6
  25. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  26. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  27. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  28. package/client/pages/entity/config-entity.js +29 -29
  29. package/client/pages/entity/main-menu-selector.js +8 -8
  30. package/client/pages/history/history-copy-list-popup.js +6 -6
  31. package/client/pages/history/history-json-list-popup.js +6 -6
  32. package/client/pages/loading-page.js +5 -5
  33. package/client/pages/menu/dynamic-menu-template.js +7 -7
  34. package/client/pages/menu/dynamic-menu.js +16 -16
  35. package/client/pages/menu/export-menu-popup.js +6 -6
  36. package/client/pages/meta-form-element.js +1 -1
  37. package/client/pages/meta-grist-element.js +1 -1
  38. package/client/pages/meta-grist-page.js +1 -1
  39. package/client/pages/meta-grist-tab-element.js +1 -1
  40. package/client/pages/meta-grist-tab-page.js +1 -1
  41. package/client/pages/meta-main-tab-element.js +1 -1
  42. package/client/pages/meta-main-tab-page.js +1 -1
  43. package/client/pages/meta-master-detail-element.js +1 -1
  44. package/client/pages/meta-master-detail-page.js +1 -1
  45. package/client/pages/meta-tab-detail-element.js +1 -1
  46. package/client/pages/meta-tab-detail-page.js +1 -1
  47. package/client/pages/meta-tab-element.js +1 -1
  48. package/client/pages/personalize/personal-column-selector.js +11 -11
  49. package/client/pages/terms/config-terminology.js +5 -5
  50. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  51. package/client/pages/work-code/work-code-page.js +1 -1
  52. package/client/reducers/main.js +1 -1
  53. package/client/utils/grist-default-value.js +1 -1
  54. package/client/utils/meta-api.js +1 -1
  55. package/client/utils/meta-crypto.js +1 -1
  56. package/client/utils/meta-ui-util.js +102 -102
  57. package/client/utils/service-util.js +13 -13
  58. package/client/utils/terms-util.js +2 -2
  59. package/client/utils/ui-util.js +1 -1
  60. package/client/utils/value-util.js +1 -1
  61. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  62. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  63. package/client/viewparts/dynamic-menu-part.js +12 -12
  64. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  65. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  66. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  67. package/package.json +2 -2
  68. package/server/activity/CommonActivity.js +2 -2
  69. package/server/constants/error-code.js +1 -1
  70. package/server/errors/license-error.js +1 -1
  71. package/server/routes.js +1 -1
  72. package/server/service/dynamic-menu/dynamic-menu-query.js +1 -1
  73. package/server/service/dynamic-menu/dynamic-menu-type.js +1 -1
  74. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  76. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  77. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  78. package/server/service/grid-personalize/grid-personalize.js +1 -1
  79. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  80. package/server/service/meta-activity/meta-activity-query.js +1 -1
  81. package/server/service/meta-activity/meta-activity-type.js +1 -1
  82. package/server/service/meta-secret/meta-resolver.js +1 -1
  83. package/server/service/set-translations/set-translation-resolver.js +1 -1
  84. package/server/service/work-code/work-code-mutation.js +1 -1
  85. package/server/service/work-code/work-code-query.js +1 -1
  86. package/server/service/work-code/work-code-type.js +1 -1
  87. package/server/service/work-code/work-code.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  89. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  90. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  91. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1 +1 @@
1
- const a0_0x20eb8b=a0_0x320b;(function(_0x128b5a,_0x38fb4a){const _0x245481=a0_0x320b,_0x395615=_0x128b5a();while(!![]){try{const _0x2b12ff=-parseInt(_0x245481(0x175))/0x1*(parseInt(_0x245481(0x1ae))/0x2)+-parseInt(_0x245481(0x18a))/0x3+-parseInt(_0x245481(0x170))/0x4+parseInt(_0x245481(0x19b))/0x5*(-parseInt(_0x245481(0x199))/0x6)+parseInt(_0x245481(0x17a))/0x7+parseInt(_0x245481(0x184))/0x8*(-parseInt(_0x245481(0x182))/0x9)+parseInt(_0x245481(0x1a5))/0xa*(parseInt(_0x245481(0x1ab))/0xb);if(_0x2b12ff===_0x38fb4a)break;else _0x395615['push'](_0x395615['shift']());}catch(_0x5dbe4b){_0x395615['push'](_0x395615['shift']());}}}(a0_0x1aca,0x4e871));import{adjustFilters}from'@operato/utils';function a0_0x320b(_0x370cf9,_0x3804d8){const _0x1aca16=a0_0x1aca();return a0_0x320b=function(_0x320b7e,_0x5c2159){_0x320b7e=_0x320b7e-0x170;let _0x515e58=_0x1aca16[_0x320b7e];return _0x515e58;},a0_0x320b(_0x370cf9,_0x3804d8);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x53c34f=>class extends MetaBaseMixin(_0x53c34f){static get[a0_0x20eb8b(0x186)](){return{'gqlInfo':Object};}[a0_0x20eb8b(0x180)](_0x313031){const _0x22f121=a0_0x20eb8b;this[_0x22f121(0x1aa)]=_0x313031[_0x22f121(0x1a2)];}async[a0_0x20eb8b(0x17d)]({page:_0x40ed47=0x0,limit:_0x12dfb0=0x0,sortings:_0x42a145=[],filters:_0x1a43e7=[]}){const _0x48c66a=a0_0x20eb8b;if(this[_0x48c66a(0x196)])return{'total':0x0,'records':this[_0x48c66a(0x19f)]||[]};if(!0x0===this[_0x48c66a(0x1a0)]&&(_0x40ed47=0x0,_0x12dfb0=0x0),this['beforeFetch']&&0x0==await this['beforeFetch']({'page':_0x40ed47,'limit':_0x12dfb0,'sortings':_0x42a145,'filters':_0x1a43e7}))return;if(!this[_0x48c66a(0x185)])return{'total':0x0,'records':[]};let _0x4be813=ValueUtil[_0x48c66a(0x195)](_0x1a43e7)?this['mainFilterForm']?await this[_0x48c66a(0x172)]['getQueryFilters']()||[]:await this[_0x48c66a(0x1a9)]?.[_0x48c66a(0x1a3)]()||[]:_0x1a43e7,_0x107fae=ValueUtil[_0x48c66a(0x18e)](this[_0x48c66a(0x1aa)],'query',_0x48c66a(0x1a7)),_0x2e3b6e=ValueUtil[_0x48c66a(0x18e)](this[_0x48c66a(0x1aa)],'query',_0x48c66a(0x179)),_0x49ca04=ValueUtil[_0x48c66a(0x18e)](this['gqlInfo'],_0x48c66a(0x1a6),_0x48c66a(0x1af));if(ValueUtil[_0x48c66a(0x194)](_0x2e3b6e)&&(_0x4be813=adjustFilters(_0x4be813,_0x2e3b6e)),_0x4be813[_0x48c66a(0x191)](...this['getPageNavigateParams']()),this[_0x48c66a(0x174)]&&!this[_0x48c66a(0x172)]){let _0x1c0ecc=ValueUtil['getParams'](this[_0x48c66a(0x1aa)],_0x48c66a(0x1a6),'parent_id');if(!ValueUtil[_0x48c66a(0x194)](_0x1c0ecc)||!ValueUtil['isNotEmpty'](this[_0x48c66a(0x17c)]))return{'total':0x0,'records':[]};_0x4be813=adjustFilters(_0x4be813,[{'name':_0x1c0ecc,'operator':'eq','value':this[_0x48c66a(0x17c)]}]);}let _0x41beba=Object[_0x48c66a(0x192)](_0x49ca04||{}),_0x5c0e8c=MetaApi['getSelectColumns'](this[_0x48c66a(0x185)][_0x48c66a(0x18b)]['filter'](_0x4ed236=>!_0x41beba[_0x48c66a(0x1a1)](_0x4ed236[_0x48c66a(0x187)]))),_0x25f335={};if(_0x107fae[_0x48c66a(0x1a1)]('$')){let _0x390962=_0x107fae[_0x48c66a(0x177)]('$','');_0x25f335=(await MetaApi[_0x48c66a(0x17f)](void 0x0,_0x390962,{'filters':_0x4be813,'pagination':{'page':_0x40ed47,'limit':_0x12dfb0},'sortings':_0x42a145},!0x1))['data'][_0x48c66a(0x18c)]['data'][_0x48c66a(0x171)];}else _0x25f335=await MetaApi[_0x48c66a(0x197)](_0x107fae,_0x4be813,_0x42a145,_0x40ed47,_0x12dfb0,_0x5c0e8c);if(this[_0x48c66a(0x178)]){let _0x26d0f6=await this[_0x48c66a(0x178)]({'page':_0x40ed47,'limit':_0x12dfb0,'sortings':_0x42a145,'filters':_0x1a43e7},_0x25f335);if(_0x26d0f6)return _0x26d0f6;}return ValueUtil['isNotEmpty'](_0x49ca04)&&ValueUtil[_0x48c66a(0x194)](_0x25f335)&&ValueUtil[_0x48c66a(0x194)](_0x25f335[_0x48c66a(0x19e)])&&_0x25f335[_0x48c66a(0x19e)][_0x48c66a(0x18d)](_0x561cf6=>(_0x41beba['forEach'](_0x1c9d23=>{const _0xbd9d9=_0x48c66a;_0x561cf6[_0x1c9d23]=ValueUtil[_0xbd9d9(0x18e)](_0x561cf6,..._0x49ca04[_0x1c9d23][_0xbd9d9(0x198)]('.'));}),_0x561cf6)),_0x25f335;}['getPageNavigateParams'](){const _0x468e05=a0_0x20eb8b;if(0x0==this['isPage'])return[];let _0x8c6768=this[_0x468e05(0x1ad)]?.[_0x468e05(0x181)]?this[_0x468e05(0x1ad)][_0x468e05(0x181)]:{};if(!_0x8c6768['pass'])return[];let _0x550763=_0x8c6768[_0x468e05(0x1a4)],_0x2a93ad=JSON[_0x468e05(0x1ac)](_0x550763),_0x4acb23=0x1==_0x2a93ad[_0x468e05(0x189)]?'eq':'in',_0x3e42d4={},_0x4d9e22=[];return Object[_0x468e05(0x192)](_0x2a93ad[0x0])[_0x468e05(0x17e)](_0x14e285=>{_0x3e42d4[_0x14e285]={'name':_0x14e285,'operator':_0x4acb23,'value':'eq'===_0x4acb23?_0x2a93ad[0x0][_0x14e285]:[]};}),_0x2a93ad[_0x468e05(0x189)]>0x1&&_0x2a93ad[_0x468e05(0x17e)](_0x2a27fa=>{const _0x5e05ae=_0x468e05;Object[_0x5e05ae(0x192)](_0x2a27fa)[_0x5e05ae(0x17e)](_0x3d9ea3=>{const _0x7e7c25=_0x5e05ae;_0x3e42d4[_0x3d9ea3]['value'][_0x7e7c25(0x191)](_0x2a27fa[_0x3d9ea3]);});}),Object[_0x468e05(0x192)](_0x3e42d4)['forEach'](_0x33dee0=>{const _0x3f9b87=_0x468e05;_0x4d9e22[_0x3f9b87(0x191)](_0x3e42d4[_0x33dee0]);}),_0x4d9e22;}async[a0_0x20eb8b(0x190)](_0x9246b2){const _0x4a379f=a0_0x20eb8b;if(this['is_activity'])return this[_0x4a379f(0x19f)]||{};let _0x1decef=ValueUtil['getParams'](this[_0x4a379f(0x1aa)],_0x4a379f(0x1a6),_0x4a379f(0x183)),_0x4a4fe9=ValueUtil[_0x4a379f(0x18e)](this['gqlInfo'],_0x4a379f(0x1a6),_0x4a379f(0x1af)),_0x2db53c=Object[_0x4a379f(0x192)](_0x4a4fe9||{}),_0x349a10=MetaApi['getSelectColumns']((this[_0x4a379f(0x185)]?this[_0x4a379f(0x185)]:{'columns':this[_0x4a379f(0x193)]})[_0x4a379f(0x18b)][_0x4a379f(0x173)](_0xaaec15=>!_0x2db53c[_0x4a379f(0x1a1)](_0xaaec15[_0x4a379f(0x187)]))),_0x2d89df={};if(_0x1decef[_0x4a379f(0x1a1)]('$')){let _0x5d4e2b=_0x1decef[_0x4a379f(0x177)]('$',''),_0x302549=await MetaApi[_0x4a379f(0x17f)](void 0x0,_0x5d4e2b,{'id':_0x9246b2},!0x1);_0x2d89df=_0x302549[_0x4a379f(0x1a8)][_0x4a379f(0x18c)][_0x4a379f(0x1a8)]['result'];}else _0x2d89df=await MetaApi[_0x4a379f(0x190)](_0x1decef,_0x9246b2,_0x349a10);return ValueUtil[_0x4a379f(0x194)](_0x4a4fe9)&&ValueUtil[_0x4a379f(0x194)](_0x2d89df)&&_0x2db53c[_0x4a379f(0x17e)](_0x754afb=>{const _0x358ec8=_0x4a379f;_0x2d89df[_0x754afb]=ValueUtil[_0x358ec8(0x18e)](_0x2d89df,..._0x4a4fe9[_0x754afb][_0x358ec8(0x198)]('.'));}),_0x2d89df;}async[a0_0x20eb8b(0x19c)](_0x43eef1){const _0x23d084=a0_0x20eb8b;let _0x937bdc=ValueUtil[_0x23d084(0x18e)](this[_0x23d084(0x1aa)],_0x23d084(0x19a),_0x23d084(0x176),_0x23d084(0x18f));return await MetaApi['deleteListByIds'](_0x43eef1,_0x937bdc);}async['updateMultiple'](_0x15bb50){const _0x34c813=a0_0x20eb8b;let _0x39c96f=ValueUtil['getParams'](this[_0x34c813(0x1aa)],_0x34c813(0x19a),_0x34c813(0x19d),_0x34c813(0x18f)),_0xec8bf1=ValueUtil[_0x34c813(0x18e)](this[_0x34c813(0x1aa)],_0x34c813(0x19a),'multiple','skip_fields');if(ValueUtil['isNotEmpty'](_0xec8bf1)&&(_0xec8bf1=_0xec8bf1['map'](_0x38bca6=>_0x38bca6[_0x34c813(0x1a1)]('.')?_0x38bca6[_0x34c813(0x198)]('.'):_0x38bca6),_0x15bb50=_0x15bb50[_0x34c813(0x18d)](_0x238ba3=>(_0xec8bf1['forEach'](_0x5d92f4=>{const _0xd78901=_0x34c813;Array[_0xd78901(0x17b)](_0x5d92f4)?delete _0x238ba3[_0x5d92f4[0x0]][_0x5d92f4[0x1]]:delete _0x238ba3[_0x5d92f4];}),_0x238ba3))),this[_0x34c813(0x174)]&&ValueUtil[_0x34c813(0x194)](this[_0x34c813(0x17c)])){let _0x2c10a8=ValueUtil['getParams'](this[_0x34c813(0x1aa)],_0x34c813(0x19a),_0x34c813(0x19d),'parent_id');ValueUtil[_0x34c813(0x194)](_0x2c10a8)&&_0x15bb50[_0x34c813(0x17e)](_0x31a89d=>{const _0x286231=_0x34c813;if(_0x2c10a8[_0x286231(0x1a1)]('.')){let _0x385ee3=_0x2c10a8[_0x286231(0x198)]('.');_0x31a89d[_0x385ee3[0x0]]={},_0x31a89d[_0x385ee3[0x0]][_0x385ee3[0x1]]=this[_0x286231(0x17c)];}else _0x31a89d[_0x2c10a8]=this[_0x286231(0x17c)];});}return await MetaApi[_0x34c813(0x188)](_0x39c96f,_0x15bb50);}};function a0_0x1aca(){const _0x4c323f=['infinityPage','includes','gql','getQueryFilters','pass','700GsyfNe','query','list_func','data','filterForm','gqlInfo','289311pLovpN','parse','lifecycle','2XAGznN','after_set_fields','1381428eAlKYx','result','mainFilterForm','filter','isElement','119585TaStnT','delete','replace','afterFetch','filters','657132wbaclh','isArray','parent_id','fetchHandler','forEach','callScenario','parseBasicServiceConfigs','params','1120617ZYcOXY','find_one_func','40kjeOoN','gristConfigSet','properties','name','updateMultiple','length','1432581hDJpTL','columns','runScenario','map','getParams','func','findOne','push','keys','formConfigSet','isNotEmpty','isEmpty','is_activity','searchByPagination','split','1002Vcgzpm','mutation','1445ylobMy','deleteByIds','multiple','records','dataSet'];a0_0x1aca=function(){return _0x4c323f;};return a0_0x1aca();}
1
+ const a0_0x8fc2b2=a0_0x8eaf;(function(_0x4e6a7b,_0x1ce673){const _0x5d8b39=a0_0x8eaf,_0x4e51e1=_0x4e6a7b();while(!![]){try{const _0x589845=-parseInt(_0x5d8b39(0x1d5))/0x1+parseInt(_0x5d8b39(0x1da))/0x2+-parseInt(_0x5d8b39(0x1c1))/0x3+-parseInt(_0x5d8b39(0x1b3))/0x4*(-parseInt(_0x5d8b39(0x1a4))/0x5)+parseInt(_0x5d8b39(0x1bb))/0x6+parseInt(_0x5d8b39(0x1c6))/0x7+-parseInt(_0x5d8b39(0x1d4))/0x8;if(_0x589845===_0x1ce673)break;else _0x4e51e1['push'](_0x4e51e1['shift']());}catch(_0x437430){_0x4e51e1['push'](_0x4e51e1['shift']());}}}(a0_0x32ff,0x92880));function a0_0x32ff(){const _0x5ce3fa=['mutation','gql','isNotEmpty','push','parent_id','pass','isArray','13382184YQaJcj','673888rWCPRE','forEach','value','split','fetchHandler','2244142ilqQvi','callScenario','includes','query','deleteByIds','10JjCepU','name','filters','data','afterFetch','mainFilterForm','dataSet','findOne','replace','runScenario','getSelectColumns','filter','getPageNavigateParams','find_one_func','parse','1751460FUILtJ','skip_fields','is_activity','keys','records','getQueryFilters','getParams','lifecycle','713970tLWsER','after_set_fields','func','beforeFetch','params','length','771468ZMhYhI','delete','isElement','gqlInfo','infinityPage','7610491Orlwlm','columns','gristConfigSet','parseBasicServiceConfigs','multiple','result','list_func'];a0_0x32ff=function(){return _0x5ce3fa;};return a0_0x32ff();}import{adjustFilters}from'@operato/utils';function a0_0x8eaf(_0x2bd721,_0x37c9b5){const _0x32ff1c=a0_0x32ff();return a0_0x8eaf=function(_0x8eaf5c,_0x439120){_0x8eaf5c=_0x8eaf5c-0x1a0;let _0x12f342=_0x32ff1c[_0x8eaf5c];return _0x12f342;},a0_0x8eaf(_0x2bd721,_0x37c9b5);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x3a74c1=>class extends MetaBaseMixin(_0x3a74c1){static get['properties'](){return{'gqlInfo':Object};}[a0_0x8fc2b2(0x1c9)](_0x495037){const _0x3a6382=a0_0x8fc2b2;this[_0x3a6382(0x1c4)]=_0x495037[_0x3a6382(0x1ce)];}async[a0_0x8fc2b2(0x1d9)]({page:_0x5ecf62=0x0,limit:_0x1d205c=0x0,sortings:_0x3ffd06=[],filters:_0x370c0c=[]}){const _0x6c8a6d=a0_0x8fc2b2;if(this[_0x6c8a6d(0x1b5)])return{'total':0x0,'records':this[_0x6c8a6d(0x1aa)]||[]};if(!0x0===this[_0x6c8a6d(0x1c5)]&&(_0x5ecf62=0x0,_0x1d205c=0x0),this[_0x6c8a6d(0x1be)]&&0x0==await this[_0x6c8a6d(0x1be)]({'page':_0x5ecf62,'limit':_0x1d205c,'sortings':_0x3ffd06,'filters':_0x370c0c}))return;if(!this[_0x6c8a6d(0x1c8)])return{'total':0x0,'records':[]};let _0x3e86db=ValueUtil['isEmpty'](_0x370c0c)?this[_0x6c8a6d(0x1a9)]?await this[_0x6c8a6d(0x1a9)][_0x6c8a6d(0x1b8)]()||[]:await this['filterForm']?.[_0x6c8a6d(0x1b8)]()||[]:_0x370c0c,_0x4292b1=ValueUtil[_0x6c8a6d(0x1b9)](this[_0x6c8a6d(0x1c4)],'query',_0x6c8a6d(0x1cc)),_0x15190c=ValueUtil[_0x6c8a6d(0x1b9)](this[_0x6c8a6d(0x1c4)],_0x6c8a6d(0x1a2),_0x6c8a6d(0x1a6)),_0x4621e5=ValueUtil['getParams'](this[_0x6c8a6d(0x1c4)],_0x6c8a6d(0x1a2),'after_set_fields');if(ValueUtil[_0x6c8a6d(0x1cf)](_0x15190c)&&(_0x3e86db=adjustFilters(_0x3e86db,_0x15190c)),_0x3e86db[_0x6c8a6d(0x1d0)](...this[_0x6c8a6d(0x1b0)]()),this[_0x6c8a6d(0x1c3)]&&!this[_0x6c8a6d(0x1a9)]){let _0x5b77a5=ValueUtil['getParams'](this[_0x6c8a6d(0x1c4)],_0x6c8a6d(0x1a2),_0x6c8a6d(0x1d1));if(!ValueUtil[_0x6c8a6d(0x1cf)](_0x5b77a5)||!ValueUtil[_0x6c8a6d(0x1cf)](this[_0x6c8a6d(0x1d1)]))return{'total':0x0,'records':[]};_0x3e86db=adjustFilters(_0x3e86db,[{'name':_0x5b77a5,'operator':'eq','value':this[_0x6c8a6d(0x1d1)]}]);}let _0x136a45=Object[_0x6c8a6d(0x1b6)](_0x4621e5||{}),_0xb9a3b1=MetaApi[_0x6c8a6d(0x1ae)](this[_0x6c8a6d(0x1c8)][_0x6c8a6d(0x1c7)][_0x6c8a6d(0x1af)](_0x4a7353=>!_0x136a45['includes'](_0x4a7353[_0x6c8a6d(0x1a5)]))),_0x207c53={};if(_0x4292b1[_0x6c8a6d(0x1a1)]('$')){let _0x430ba7=_0x4292b1[_0x6c8a6d(0x1ac)]('$','');_0x207c53=(await MetaApi[_0x6c8a6d(0x1a0)](void 0x0,_0x430ba7,{'filters':_0x3e86db,'pagination':{'page':_0x5ecf62,'limit':_0x1d205c},'sortings':_0x3ffd06},!0x1))[_0x6c8a6d(0x1a7)]['runScenario'][_0x6c8a6d(0x1a7)][_0x6c8a6d(0x1cb)];}else _0x207c53=await MetaApi['searchByPagination'](_0x4292b1,_0x3e86db,_0x3ffd06,_0x5ecf62,_0x1d205c,_0xb9a3b1);if(this[_0x6c8a6d(0x1a8)]){let _0xc5f984=await this['afterFetch']({'page':_0x5ecf62,'limit':_0x1d205c,'sortings':_0x3ffd06,'filters':_0x370c0c},_0x207c53);if(_0xc5f984)return _0xc5f984;}return ValueUtil[_0x6c8a6d(0x1cf)](_0x4621e5)&&ValueUtil['isNotEmpty'](_0x207c53)&&ValueUtil[_0x6c8a6d(0x1cf)](_0x207c53[_0x6c8a6d(0x1b7)])&&_0x207c53[_0x6c8a6d(0x1b7)]['map'](_0xebb5a2=>(_0x136a45[_0x6c8a6d(0x1d6)](_0xd39435=>{const _0x22f07d=_0x6c8a6d;_0xebb5a2[_0xd39435]=ValueUtil[_0x22f07d(0x1b9)](_0xebb5a2,..._0x4621e5[_0xd39435][_0x22f07d(0x1d8)]('.'));}),_0xebb5a2)),_0x207c53;}['getPageNavigateParams'](){const _0x4002f1=a0_0x8fc2b2;if(0x0==this['isPage'])return[];let _0x22b20c=this['lifecycle']?.[_0x4002f1(0x1bf)]?this[_0x4002f1(0x1ba)][_0x4002f1(0x1bf)]:{};if(!_0x22b20c[_0x4002f1(0x1d2)])return[];let _0x52acc2=_0x22b20c[_0x4002f1(0x1d2)],_0x4fc53e=JSON[_0x4002f1(0x1b2)](_0x52acc2),_0x48a8fe=0x1==_0x4fc53e[_0x4002f1(0x1c0)]?'eq':'in',_0x3b3361={},_0x463e2d=[];return Object['keys'](_0x4fc53e[0x0])[_0x4002f1(0x1d6)](_0x2224d8=>{_0x3b3361[_0x2224d8]={'name':_0x2224d8,'operator':_0x48a8fe,'value':'eq'===_0x48a8fe?_0x4fc53e[0x0][_0x2224d8]:[]};}),_0x4fc53e[_0x4002f1(0x1c0)]>0x1&&_0x4fc53e[_0x4002f1(0x1d6)](_0x1b306d=>{const _0xe816e=_0x4002f1;Object[_0xe816e(0x1b6)](_0x1b306d)[_0xe816e(0x1d6)](_0x5231a0=>{const _0x396a5d=_0xe816e;_0x3b3361[_0x5231a0][_0x396a5d(0x1d7)][_0x396a5d(0x1d0)](_0x1b306d[_0x5231a0]);});}),Object[_0x4002f1(0x1b6)](_0x3b3361)[_0x4002f1(0x1d6)](_0x407e09=>{const _0x7daf8b=_0x4002f1;_0x463e2d[_0x7daf8b(0x1d0)](_0x3b3361[_0x407e09]);}),_0x463e2d;}async[a0_0x8fc2b2(0x1ab)](_0x17fdfc){const _0x51abb3=a0_0x8fc2b2;if(this[_0x51abb3(0x1b5)])return this[_0x51abb3(0x1aa)]||{};let _0x11b1b9=ValueUtil['getParams'](this[_0x51abb3(0x1c4)],_0x51abb3(0x1a2),_0x51abb3(0x1b1)),_0xe7a08f=ValueUtil[_0x51abb3(0x1b9)](this[_0x51abb3(0x1c4)],_0x51abb3(0x1a2),_0x51abb3(0x1bc)),_0x55ccbc=Object[_0x51abb3(0x1b6)](_0xe7a08f||{}),_0x19d206=MetaApi[_0x51abb3(0x1ae)]((this[_0x51abb3(0x1c8)]?this[_0x51abb3(0x1c8)]:{'columns':this['formConfigSet']})['columns'][_0x51abb3(0x1af)](_0x51d542=>!_0x55ccbc[_0x51abb3(0x1a1)](_0x51d542[_0x51abb3(0x1a5)]))),_0x19c9a7={};if(_0x11b1b9[_0x51abb3(0x1a1)]('$')){let _0x29e18a=_0x11b1b9[_0x51abb3(0x1ac)]('$',''),_0x37f213=await MetaApi[_0x51abb3(0x1a0)](void 0x0,_0x29e18a,{'id':_0x17fdfc},!0x1);_0x19c9a7=_0x37f213['data'][_0x51abb3(0x1ad)][_0x51abb3(0x1a7)][_0x51abb3(0x1cb)];}else _0x19c9a7=await MetaApi[_0x51abb3(0x1ab)](_0x11b1b9,_0x17fdfc,_0x19d206);return ValueUtil[_0x51abb3(0x1cf)](_0xe7a08f)&&ValueUtil[_0x51abb3(0x1cf)](_0x19c9a7)&&_0x55ccbc['forEach'](_0x2a0158=>{const _0x10084c=_0x51abb3;_0x19c9a7[_0x2a0158]=ValueUtil[_0x10084c(0x1b9)](_0x19c9a7,..._0xe7a08f[_0x2a0158][_0x10084c(0x1d8)]('.'));}),_0x19c9a7;}async[a0_0x8fc2b2(0x1a3)](_0x3db86a){const _0x88276b=a0_0x8fc2b2;let _0x3e6200=ValueUtil['getParams'](this[_0x88276b(0x1c4)],_0x88276b(0x1cd),_0x88276b(0x1c2),_0x88276b(0x1bd));return await MetaApi['deleteListByIds'](_0x3db86a,_0x3e6200);}async['updateMultiple'](_0x220de2){const _0x504432=a0_0x8fc2b2;let _0x25b8ad=ValueUtil[_0x504432(0x1b9)](this[_0x504432(0x1c4)],_0x504432(0x1cd),'multiple',_0x504432(0x1bd)),_0x13d9b9=ValueUtil[_0x504432(0x1b9)](this[_0x504432(0x1c4)],_0x504432(0x1cd),_0x504432(0x1ca),_0x504432(0x1b4));if(ValueUtil['isNotEmpty'](_0x13d9b9)&&(_0x13d9b9=_0x13d9b9['map'](_0x54041b=>_0x54041b[_0x504432(0x1a1)]('.')?_0x54041b[_0x504432(0x1d8)]('.'):_0x54041b),_0x220de2=_0x220de2['map'](_0x2271e0=>(_0x13d9b9[_0x504432(0x1d6)](_0xd132cc=>{const _0x1987bd=_0x504432;Array[_0x1987bd(0x1d3)](_0xd132cc)?delete _0x2271e0[_0xd132cc[0x0]][_0xd132cc[0x1]]:delete _0x2271e0[_0xd132cc];}),_0x2271e0))),this[_0x504432(0x1c3)]&&ValueUtil[_0x504432(0x1cf)](this[_0x504432(0x1d1)])){let _0x1c8477=ValueUtil[_0x504432(0x1b9)](this[_0x504432(0x1c4)],_0x504432(0x1cd),_0x504432(0x1ca),_0x504432(0x1d1));ValueUtil[_0x504432(0x1cf)](_0x1c8477)&&_0x220de2[_0x504432(0x1d6)](_0x2eec2d=>{const _0xf6db4f=_0x504432;if(_0x1c8477['includes']('.')){let _0x5db11b=_0x1c8477[_0xf6db4f(0x1d8)]('.');_0x2eec2d[_0x5db11b[0x0]]={},_0x2eec2d[_0x5db11b[0x0]][_0x5db11b[0x1]]=this['parent_id'];}else _0x2eec2d[_0x1c8477]=this[_0xf6db4f(0x1d1)];});}return await MetaApi['updateMultiple'](_0x25b8ad,_0x220de2);}};
@@ -1 +1 @@
1
- const a0_0x5669d7=a0_0x3f21;(function(_0x36d0fc,_0x763e75){const _0x270f70=a0_0x3f21,_0x315d9a=_0x36d0fc();while(!![]){try{const _0x4086fc=-parseInt(_0x270f70(0x175))/0x1*(parseInt(_0x270f70(0x1ac))/0x2)+parseInt(_0x270f70(0x178))/0x3*(-parseInt(_0x270f70(0x183))/0x4)+parseInt(_0x270f70(0x181))/0x5*(-parseInt(_0x270f70(0x1a4))/0x6)+parseInt(_0x270f70(0x17a))/0x7*(-parseInt(_0x270f70(0x188))/0x8)+parseInt(_0x270f70(0x179))/0x9+parseInt(_0x270f70(0x17b))/0xa*(-parseInt(_0x270f70(0x18a))/0xb)+parseInt(_0x270f70(0x174))/0xc;if(_0x4086fc===_0x763e75)break;else _0x315d9a['push'](_0x315d9a['shift']());}catch(_0x1c2e93){_0x315d9a['push'](_0x315d9a['shift']());}}}(a0_0x245a,0xd8ef1));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x245a(){const _0x41da24=['context','filterForm','search','ox-grist','clear','styles','grist','connectedCallback','searchConfig','useButtonExport','searchFields','235614zhjbwQ','firstUpdated','pageInitialized','map','gridEmphasized','parseGristConfigs','push','importable','270qgWqzc','filterFormId','useFilterForm','record','gridColumnConfig','header','gristConfigSet','querySelector','parseGridConfigSet','53863524zPykYj','8032xuXjbV','type','columns','30UocvHv','5447358OVPRSR','14SjTDeT','40870FmHHvl','exportable','masterElement','gristId','grid','options','65uJJcGQ','activityDataSet','197608FlubWu','parseBasicGridConfigs','gridConfig','getContextObject','useButtonImport','4035656XldUWV','getData','2981yQeWdT','dataSet','fetch','ox-filters-form-base','useMasterFilterForm','name','operator','detailElement','isElement','actions','filter','beforeFetch','properties','searchFieldValues','value'];a0_0x245a=function(){return _0x41da24;};return a0_0x245a();}import{TermsUtil}from'../utils/terms-util';function a0_0x3f21(_0x120de7,_0x4c470d){const _0x245a36=a0_0x245a();return a0_0x3f21=function(_0x3f216d,_0x4e0061){_0x3f216d=_0x3f216d-0x16f;let _0x4df495=_0x245a36[_0x3f216d];return _0x4df495;},a0_0x3f21(_0x120de7,_0x4c470d);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x135963=>class extends MetaButtonMixin(_0x135963){static get[a0_0x5669d7(0x19e)](){return MetaApi['getBasicTabDetailStyles']();}static get[a0_0x5669d7(0x196)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x5669d7(0x19f)](){return this['masterElement']['getMainGrist']();}get[a0_0x5669d7(0x19a)](){const _0x47a434=a0_0x5669d7;return this['shadowRoot']?.[_0x47a434(0x172)](this[_0x47a434(0x1ad)]);}get[a0_0x5669d7(0x199)](){const _0x16a398=a0_0x5669d7;let _0x7dff8d=MetaUiUtil[_0x16a398(0x186)](this);return _0x7dff8d['actions']&&delete _0x7dff8d[_0x16a398(0x193)],_0x7dff8d[_0x16a398(0x17c)]&&delete _0x7dff8d[_0x16a398(0x17c)],_0x7dff8d[_0x16a398(0x1ab)]&&delete _0x7dff8d[_0x16a398(0x1ab)],_0x7dff8d;}async[a0_0x5669d7(0x1a0)](){const _0x3a672f=a0_0x5669d7;this[_0x3a672f(0x17e)]=_0x3a672f(0x19c),this['filterFormId']=_0x3a672f(0x18d),await this['getAndParseMenuMeta'](),this[_0x3a672f(0x192)]&&await this[_0x3a672f(0x1a9)](),this[_0x3a672f(0x182)]&&(this[_0x3a672f(0x18b)]=(this['activityDataSet']||{})['main']),super['connectedCallback']&&await super[_0x3a672f(0x1a0)]();}async['firstUpdated'](){const _0x248108=a0_0x5669d7;super['firstUpdated']&&await super[_0x248108(0x1a5)]();}async['pageInitialized'](){const _0xc4f36a=a0_0x5669d7;this['isPage']&&await this[_0xc4f36a(0x1a9)](),super[_0xc4f36a(0x1a6)]&&await super[_0xc4f36a(0x1a6)]();}['render'](){return MetaApi['getTabDetailHtml'](this);}[a0_0x5669d7(0x184)](_0x287ee6){const _0x1e6ce6=a0_0x5669d7;this[_0x1e6ce6(0x185)]=_0x287ee6[_0x1e6ce6(0x17f)],this[_0x1e6ce6(0x16f)]=_0x287ee6['grid_column'],this[_0x1e6ce6(0x1a1)]=_0x287ee6['search'],this[_0x1e6ce6(0x1a8)]=_0x287ee6['gridEmphasized'];}async[a0_0x5669d7(0x1a9)](){const _0x17efa5=a0_0x5669d7;this[_0x17efa5(0x171)]=await MetaApi[_0x17efa5(0x173)](this),this[_0x17efa5(0x18e)]=!0x0===this[_0x17efa5(0x1ae)],this['useFilterForm']=!0x1,this['buttonConfig']=void 0x0,this[_0x17efa5(0x1a2)]=!0x1,this[_0x17efa5(0x187)]=!0x1,this['searchFieldValues']=[],this[_0x17efa5(0x1a3)]=this['gristConfigSet'][_0x17efa5(0x177)][_0x17efa5(0x194)](_0x2ea205=>_0x2ea205['filter'])[_0x17efa5(0x1a7)](_0x143da7=>{const _0x7c60bc=_0x17efa5;let _0x25dde2={'name':_0x143da7[_0x7c60bc(0x18f)],'type':_0x7c60bc(0x19b)===_0x143da7[_0x7c60bc(0x194)]['operator']?_0x7c60bc(0x19b):_0x143da7[_0x7c60bc(0x176)],'label':_0x143da7[_0x7c60bc(0x170)],'operator':_0x143da7[_0x7c60bc(0x194)]['operator']?_0x143da7[_0x7c60bc(0x194)][_0x7c60bc(0x190)]:'eq'};return _0x143da7[_0x7c60bc(0x194)]['options']&&(_0x25dde2['options']=_0x143da7['filter']['options']),_0x143da7[_0x7c60bc(0x1af)][_0x7c60bc(0x180)]&&(_0x25dde2[_0x7c60bc(0x180)]=_0x143da7[_0x7c60bc(0x1af)][_0x7c60bc(0x180)]),_0x143da7[_0x7c60bc(0x194)][_0x7c60bc(0x198)]&&this[_0x7c60bc(0x197)][_0x7c60bc(0x1aa)]({'name':_0x25dde2['name'],'operator':_0x25dde2[_0x7c60bc(0x190)],'value':_0x143da7[_0x7c60bc(0x194)][_0x7c60bc(0x198)]}),delete _0x143da7['filter'],_0x25dde2;});}async[a0_0x5669d7(0x18c)](){const _0x59fd70=a0_0x5669d7;await this['grist'][_0x59fd70(0x18c)]();}async[a0_0x5669d7(0x195)]({page:_0x316af8=0x0,limit:_0x18c6e4=0x0,sortings:_0x1cdc90=[],filters:_0x3994b5=[]}){const _0x591f57=a0_0x5669d7;return this['masterElement']&&this[_0x591f57(0x17d)][_0x591f57(0x19d)]&&await this[_0x591f57(0x17d)]['clear'](),this[_0x591f57(0x191)]&&this[_0x591f57(0x191)][_0x591f57(0x19d)]&&await this['detailElement'][_0x591f57(0x19d)](),!0x0;}['getData'](){const _0x340ee5=a0_0x5669d7;return{'master':this['masterElement'][_0x340ee5(0x189)](),'detail':this['detailElement']['getData']()};}};
1
+ const a0_0x484171=a0_0x4c14;(function(_0x1f59e0,_0x2b2ba3){const _0x6b9d27=a0_0x4c14,_0x2f2b20=_0x1f59e0();while(!![]){try{const _0x1ab800=-parseInt(_0x6b9d27(0x12f))/0x1*(-parseInt(_0x6b9d27(0xfb))/0x2)+parseInt(_0x6b9d27(0x131))/0x3*(parseInt(_0x6b9d27(0xfa))/0x4)+-parseInt(_0x6b9d27(0xf9))/0x5*(-parseInt(_0x6b9d27(0x117))/0x6)+parseInt(_0x6b9d27(0x109))/0x7*(-parseInt(_0x6b9d27(0xfe))/0x8)+-parseInt(_0x6b9d27(0x139))/0x9*(-parseInt(_0x6b9d27(0x12b))/0xa)+-parseInt(_0x6b9d27(0x12c))/0xb+parseInt(_0x6b9d27(0x11b))/0xc;if(_0x1ab800===_0x2b2ba3)break;else _0x2f2b20['push'](_0x2f2b20['shift']());}catch(_0x34d8c7){_0x2f2b20['push'](_0x2f2b20['shift']());}}}(a0_0x53fc,0x89fb6));import{html}from'lit';function a0_0x53fc(){const _0x189001=['155099jhlkim','render','gridConfig','gridEmphasized','searchFields','columns','useMasterFilterForm','parseGridConfigSet','importable','isPage','main','useFilterForm','getMainGrist','querySelector','3963396BwrmWm','isElement','record','getAndParseMenuMeta','1066392NEyMFe','beforeFetch','firstUpdated','masterElement','useButtonImport','header','name','ox-grist','getData','searchFieldValues','grist','operator','parseBasicGridConfigs','styles','map','useButtonExport','10CSKHoW','1925341anAoNt','filter','grid','218737XHrXvy','shadowRoot','88251eLCuSa','searchConfig','push','pageInitialized','options','getContextObject','search','exportable','4825989BsMrNw','buttonConfig','5wQOvGO','20ApYmnu','4XzVxUk','clear','context','408BBfzca','detailElement','connectedCallback','value','filterForm','getBasicTabDetailStyles','properties','parseGristConfigs','actions','getTabDetailHtml','gridColumnConfig'];a0_0x53fc=function(){return _0x189001;};return a0_0x53fc();}function a0_0x4c14(_0x12e796,_0x57680a){const _0x53fc95=a0_0x53fc();return a0_0x4c14=function(_0x4c14aa,_0x1f3c9d){_0x4c14aa=_0x4c14aa-0xf9;let _0x4c1e95=_0x53fc95[_0x4c14aa];return _0x4c1e95;},a0_0x4c14(_0x12e796,_0x57680a);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x5450e6=>class extends MetaButtonMixin(_0x5450e6){static get[a0_0x484171(0x128)](){const _0x29110a=a0_0x484171;return MetaApi[_0x29110a(0x103)]();}static get[a0_0x484171(0x104)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x484171(0x125)](){const _0x22302c=a0_0x484171;return this[_0x22302c(0x11e)][_0x22302c(0x115)]();}get[a0_0x484171(0x102)](){const _0x5c3dea=a0_0x484171;return this[_0x5c3dea(0x130)]?.[_0x5c3dea(0x116)](this['filterFormId']);}get[a0_0x484171(0xfd)](){const _0x545a79=a0_0x484171;let _0x3d128d=MetaUiUtil[_0x545a79(0x136)](this);return _0x3d128d[_0x545a79(0x106)]&&delete _0x3d128d[_0x545a79(0x106)],_0x3d128d['exportable']&&delete _0x3d128d[_0x545a79(0x138)],_0x3d128d['importable']&&delete _0x3d128d[_0x545a79(0x111)],_0x3d128d;}async[a0_0x484171(0x100)](){const _0x25b050=a0_0x484171;this['gristId']=_0x25b050(0x122),this['filterFormId']='ox-filters-form-base',await this[_0x25b050(0x11a)](),this[_0x25b050(0x118)]&&await this['parseGristConfigs'](),this['activityDataSet']&&(this['dataSet']=(this['activityDataSet']||{})[_0x25b050(0x113)]),super[_0x25b050(0x100)]&&await super['connectedCallback']();}async[a0_0x484171(0x11d)](){const _0x192007=a0_0x484171;super[_0x192007(0x11d)]&&await super[_0x192007(0x11d)]();}async[a0_0x484171(0x134)](){const _0x185d31=a0_0x484171;this[_0x185d31(0x112)]&&await this[_0x185d31(0x105)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x484171(0x10a)](){const _0x4ec880=a0_0x484171;return MetaApi[_0x4ec880(0x107)](this);}[a0_0x484171(0x127)](_0x396e51){const _0xff5eb6=a0_0x484171;this[_0xff5eb6(0x10b)]=_0x396e51[_0xff5eb6(0x12e)],this[_0xff5eb6(0x108)]=_0x396e51['grid_column'],this[_0xff5eb6(0x132)]=_0x396e51[_0xff5eb6(0x137)],this['gridEmphasized']=_0x396e51[_0xff5eb6(0x10c)];}async['parseGristConfigs'](){const _0x2426bc=a0_0x484171;this['gristConfigSet']=await MetaApi[_0x2426bc(0x110)](this),this[_0x2426bc(0x10f)]=!0x0===this[_0x2426bc(0x114)],this[_0x2426bc(0x114)]=!0x1,this[_0x2426bc(0x13a)]=void 0x0,this[_0x2426bc(0x12a)]=!0x1,this[_0x2426bc(0x11f)]=!0x1,this[_0x2426bc(0x124)]=[],this[_0x2426bc(0x10d)]=this['gristConfigSet'][_0x2426bc(0x10e)]['filter'](_0x1788be=>_0x1788be[_0x2426bc(0x12d)])[_0x2426bc(0x129)](_0x1eaeb7=>{const _0x417499=_0x2426bc;let _0x2d13e4={'name':_0x1eaeb7[_0x417499(0x121)],'type':_0x417499(0x137)===_0x1eaeb7['filter']['operator']?_0x417499(0x137):_0x1eaeb7['type'],'label':_0x1eaeb7[_0x417499(0x120)],'operator':_0x1eaeb7[_0x417499(0x12d)][_0x417499(0x126)]?_0x1eaeb7[_0x417499(0x12d)][_0x417499(0x126)]:'eq'};return _0x1eaeb7[_0x417499(0x12d)][_0x417499(0x135)]&&(_0x2d13e4[_0x417499(0x135)]=_0x1eaeb7[_0x417499(0x12d)][_0x417499(0x135)]),_0x1eaeb7[_0x417499(0x119)]['options']&&(_0x2d13e4[_0x417499(0x135)]=_0x1eaeb7[_0x417499(0x119)][_0x417499(0x135)]),_0x1eaeb7[_0x417499(0x12d)][_0x417499(0x101)]&&this[_0x417499(0x124)][_0x417499(0x133)]({'name':_0x2d13e4[_0x417499(0x121)],'operator':_0x2d13e4[_0x417499(0x126)],'value':_0x1eaeb7[_0x417499(0x12d)]['value']}),delete _0x1eaeb7[_0x417499(0x12d)],_0x2d13e4;});}async['fetch'](){const _0x2587c4=a0_0x484171;await this[_0x2587c4(0x125)]['fetch']();}async[a0_0x484171(0x11c)]({page:_0x155869=0x0,limit:_0x4d9b78=0x0,sortings:_0x5385d2=[],filters:_0x5a31dd=[]}){const _0x44b986=a0_0x484171;return this['masterElement']&&this[_0x44b986(0x11e)][_0x44b986(0xfc)]&&await this['masterElement'][_0x44b986(0xfc)](),this[_0x44b986(0xff)]&&this[_0x44b986(0xff)][_0x44b986(0xfc)]&&await this[_0x44b986(0xff)][_0x44b986(0xfc)](),!0x0;}[a0_0x484171(0x123)](){const _0x1bfc73=a0_0x484171;return{'master':this[_0x1bfc73(0x11e)][_0x1bfc73(0x123)](),'detail':this[_0x1bfc73(0xff)]['getData']()};}};
@@ -1 +1 @@
1
- const a0_0x464999=a0_0x39e1;function a0_0xb175(){const _0x35c184=['activityDataSet','styles','5vikslE','7NAVFBM','tab','splice','route_name','36641XFZZxh','context','6111522OZykya','1244256cscjRU','3yhdbBP','firstUpdated','parse','meta-grist-element','getAndParseMenuMeta','5912604nNhQCo','icon','etcConfig','pageInitialized','connectedCallback','button','grist','104554rJAekE','index','length','dataSet','getData','name','getContextObject','2710bVoFxk','3415380PrJZMB','4055212HjrXYo','main_tab_info','getBasicTabStyles','keys','1DmrKwo','clear','tabRenderConfig','getBasicTabHtml','display','tabElements','mainFilterForm'];a0_0xb175=function(){return _0x35c184;};return a0_0xb175();}(function(_0x1eb161,_0x27f6ec){const _0x3c1b98=a0_0x39e1,_0x3b2aa8=_0x1eb161();while(!![]){try{const _0x54a29d=parseInt(_0x3c1b98(0xca))/0x1*(-parseInt(_0x3c1b98(0xbd))/0x2)+-parseInt(_0x3c1b98(0xb1))/0x3*(parseInt(_0x3c1b98(0xc6))/0x4)+-parseInt(_0x3c1b98(0xa8))/0x5*(parseInt(_0x3c1b98(0xc5))/0x6)+parseInt(_0x3c1b98(0xa9))/0x7*(parseInt(_0x3c1b98(0xb0))/0x8)+parseInt(_0x3c1b98(0xaf))/0x9+parseInt(_0x3c1b98(0xc4))/0xa*(parseInt(_0x3c1b98(0xad))/0xb)+parseInt(_0x3c1b98(0xb6))/0xc;if(_0x54a29d===_0x27f6ec)break;else _0x3b2aa8['push'](_0x3b2aa8['shift']());}catch(_0x288e42){_0x3b2aa8['push'](_0x3b2aa8['shift']());}}}(a0_0xb175,0x9130a));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x39e1(_0x38e40b,_0x31f0a6){const _0xb17594=a0_0xb175();return a0_0x39e1=function(_0x39e1b1,_0x49aeaa){_0x39e1b1=_0x39e1b1-0xa0;let _0x564f53=_0xb17594[_0x39e1b1];return _0x564f53;},a0_0x39e1(_0x38e40b,_0x31f0a6);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x2a9d36=>class extends MetaButtonMixin(_0x2a9d36){static get[a0_0x464999(0xa7)](){const _0x4117c1=a0_0x464999;return MetaApi[_0x4117c1(0xc8)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x464999(0xae)](){const _0x384c8c=a0_0x464999;return MetaUiUtil[_0x384c8c(0xc3)](this);}async[a0_0x464999(0xba)](){const _0x44fe1b=a0_0x464999;this['currentTabKey']=void 0x0,await this[_0x44fe1b(0xb5)](),this[_0x44fe1b(0xa6)]&&(this[_0x44fe1b(0xc0)]=this[_0x44fe1b(0xa6)]),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x464999(0xb2)](){const _0xc1be9a=a0_0x464999;super[_0xc1be9a(0xb2)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0xa30ad0=a0_0x464999;super[_0xa30ad0(0xb9)]&&await super[_0xa30ad0(0xb9)]();}['render'](){const _0xb925f6=a0_0x464999;return MetaApi[_0xb925f6(0xa2)](this);}['parseBasicTabConfigs'](_0x2ac6a7){const _0x114f56=a0_0x464999;if(!0x0===this['includeMainList']){let _0x516a7c=this[_0x114f56(0xb8)][_0x114f56(0xc7)],_0x3b2379=JSON[_0x114f56(0xb3)](_0x516a7c||'{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}');_0x3b2379[_0x114f56(0xbe)]>_0x2ac6a7['tab'][_0x114f56(0xbf)]&&(_0x3b2379[_0x114f56(0xbe)]=_0x2ac6a7[_0x114f56(0xaa)][_0x114f56(0xbf)]),_0x2ac6a7['tab'][_0x114f56(0xab)](_0x3b2379[_0x114f56(0xbe)],0x0,{'name':_0x3b2379[_0x114f56(0xc2)],'display':_0x3b2379[_0x114f56(0xa3)],'tagname':_0x114f56(0xb4),'location':'@things-factory/meta-ui/client/pages/meta-grist-element','parent_field':'id','param_field':'param_field','menu':this[_0x114f56(0xac)],'icon':_0x3b2379[_0x114f56(0xb7)],'filter_from':!0x1,'main_filter_form':this[_0x114f56(0xa5)]});}this[_0x114f56(0xa1)]=_0x2ac6a7[_0x114f56(0xaa)],_0x2ac6a7[_0x114f56(0xbb)]=[];}async[a0_0x464999(0xa0)](){const _0xb61059=a0_0x464999;if(this[_0xb61059(0xa4)]){let _0x5021b3=Object[_0xb61059(0xc9)](this[_0xb61059(0xa4)]);for(var _0x314dec=0x0;_0x314dec<_0x5021b3['length'];_0x314dec++)await this[_0xb61059(0xa4)][_0x5021b3[_0x314dec]][_0xb61059(0xa0)]();}}[a0_0x464999(0xc1)](){const _0x4420ee=a0_0x464999;let _0x2436f3={};return this[_0x4420ee(0xa4)]&&Object['keys'](this['tabElements'])['forEach'](_0x1d1e97=>{const _0x2afbaa=_0x4420ee;_0x2436f3[_0x1d1e97]=this[_0x2afbaa(0xa4)][_0x1d1e97][_0x2afbaa(0xc1)]();}),_0x2436f3;}['getMainGrist'](){const _0x24fbeb=a0_0x464999;if(this['tabElements']){let _0x3570b5=Object[_0x24fbeb(0xc9)](this[_0x24fbeb(0xa4)]);return this['tabElements'][_0x3570b5[0x0]][_0x24fbeb(0xbc)];}}};
1
+ const a0_0x509eff=a0_0x259a;(function(_0x3550ec,_0x1278ba){const _0x9ea13e=a0_0x259a,_0x263fa9=_0x3550ec();while(!![]){try{const _0x5b2238=-parseInt(_0x9ea13e(0xee))/0x1+parseInt(_0x9ea13e(0xf0))/0x2*(parseInt(_0x9ea13e(0xd7))/0x3)+-parseInt(_0x9ea13e(0xde))/0x4*(-parseInt(_0x9ea13e(0xf3))/0x5)+parseInt(_0x9ea13e(0xe6))/0x6+parseInt(_0x9ea13e(0xd5))/0x7*(parseInt(_0x9ea13e(0xed))/0x8)+parseInt(_0x9ea13e(0xdf))/0x9+-parseInt(_0x9ea13e(0xf4))/0xa;if(_0x5b2238===_0x1278ba)break;else _0x263fa9['push'](_0x263fa9['shift']());}catch(_0x19a62e){_0x263fa9['push'](_0x263fa9['shift']());}}}(a0_0x1a80,0x6bda1));function a0_0x259a(_0x3e921a,_0x59f496){const _0x1a80e9=a0_0x1a80();return a0_0x259a=function(_0x259a8a,_0x4d611e){_0x259a8a=_0x259a8a-0xd0;let _0x3db0af=_0x1a80e9[_0x259a8a];return _0x3db0af;},a0_0x259a(_0x3e921a,_0x59f496);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1a80(){const _0x1990a6=['length','getBasicTabHtml','render','tabRenderConfig','properties','route_name','1089459qyZDzK','index','853023tEdztQ','parse','firstUpdated','param_field','tab','includeMainList','etcConfig','87716AdifgQ','7774173EwFdCq','getData','meta-grist-element','getAndParseMenuMeta','currentTabKey','parseBasicTabConfigs','styles','2686536dzOLNg','pageInitialized','clear','keys','main_tab_info','getContextObject','connectedCallback','16qHkeLl','248248AvHHVM','button','4jvhbip','grist','tabElements','30dxHfjD','16330740imwGhh'];a0_0x1a80=function(){return _0x1990a6;};return a0_0x1a80();}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x3c7ece=>class extends MetaButtonMixin(_0x3c7ece){static get[a0_0x509eff(0xe5)](){return MetaApi['getBasicTabStyles']();}static get[a0_0x509eff(0xd3)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x2f852b=a0_0x509eff;return MetaUiUtil[_0x2f852b(0xeb)](this);}async[a0_0x509eff(0xec)](){const _0x1f4ab8=a0_0x509eff;this[_0x1f4ab8(0xe3)]=void 0x0,await this[_0x1f4ab8(0xe2)](),this['activityDataSet']&&(this['dataSet']=this['activityDataSet']),super[_0x1f4ab8(0xec)]&&await super[_0x1f4ab8(0xec)]();}async['firstUpdated'](){const _0x484aa6=a0_0x509eff;super[_0x484aa6(0xd9)]&&await super['firstUpdated']();}async[a0_0x509eff(0xe7)](){const _0x1fe1b5=a0_0x509eff;super[_0x1fe1b5(0xe7)]&&await super['pageInitialized']();}[a0_0x509eff(0xd1)](){const _0x504380=a0_0x509eff;return MetaApi[_0x504380(0xd0)](this);}[a0_0x509eff(0xe4)](_0x4134de){const _0x5a4214=a0_0x509eff;if(!0x0===this[_0x5a4214(0xdc)]){let _0x43286e=this[_0x5a4214(0xdd)][_0x5a4214(0xea)],_0x5e830e=JSON[_0x5a4214(0xd8)](_0x43286e||'{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}');_0x5e830e[_0x5a4214(0xd6)]>_0x4134de[_0x5a4214(0xdb)][_0x5a4214(0xf5)]&&(_0x5e830e['index']=_0x4134de[_0x5a4214(0xdb)][_0x5a4214(0xf5)]),_0x4134de['tab']['splice'](_0x5e830e['index'],0x0,{'name':_0x5e830e['name'],'display':_0x5e830e['display'],'tagname':_0x5a4214(0xe1),'location':'@things-factory/meta-ui/client/pages/meta-grist-element','parent_field':'id','param_field':_0x5a4214(0xda),'menu':this[_0x5a4214(0xd4)],'icon':_0x5e830e['icon'],'filter_from':!0x1,'main_filter_form':this['mainFilterForm']});}this[_0x5a4214(0xd2)]=_0x4134de[_0x5a4214(0xdb)],_0x4134de[_0x5a4214(0xef)]=[];}async[a0_0x509eff(0xe8)](){const _0x248734=a0_0x509eff;if(this['tabElements']){let _0x2eeb27=Object[_0x248734(0xe9)](this['tabElements']);for(var _0x4faeb8=0x0;_0x4faeb8<_0x2eeb27['length'];_0x4faeb8++)await this[_0x248734(0xf2)][_0x2eeb27[_0x4faeb8]]['clear']();}}[a0_0x509eff(0xe0)](){const _0x235695=a0_0x509eff;let _0x4f3b15={};return this[_0x235695(0xf2)]&&Object[_0x235695(0xe9)](this[_0x235695(0xf2)])['forEach'](_0x1e96d5=>{const _0x54929b=_0x235695;_0x4f3b15[_0x1e96d5]=this[_0x54929b(0xf2)][_0x1e96d5][_0x54929b(0xe0)]();}),_0x4f3b15;}['getMainGrist'](){const _0x45b13c=a0_0x509eff;if(this[_0x45b13c(0xf2)]){let _0x157959=Object[_0x45b13c(0xe9)](this[_0x45b13c(0xf2)]);return this[_0x45b13c(0xf2)][_0x157959[0x0]][_0x45b13c(0xf1)];}}};
@@ -1,18 +1,18 @@
1
- const a0_0x508bdb=a0_0x38b1;(function(_0x30e310,_0x447362){const _0x29dcf4=a0_0x38b1,_0x52f193=_0x30e310();while(!![]){try{const _0x24522f=-parseInt(_0x29dcf4(0x155))/0x1*(parseInt(_0x29dcf4(0x17c))/0x2)+-parseInt(_0x29dcf4(0x16d))/0x3*(parseInt(_0x29dcf4(0x169))/0x4)+-parseInt(_0x29dcf4(0x184))/0x5*(-parseInt(_0x29dcf4(0x151))/0x6)+parseInt(_0x29dcf4(0x146))/0x7+parseInt(_0x29dcf4(0x15d))/0x8*(parseInt(_0x29dcf4(0x190))/0x9)+-parseInt(_0x29dcf4(0x167))/0xa*(parseInt(_0x29dcf4(0x196))/0xb)+parseInt(_0x29dcf4(0x15b))/0xc;if(_0x24522f===_0x447362)break;else _0x52f193['push'](_0x52f193['shift']());}catch(_0x3d2d02){_0x52f193['push'](_0x52f193['shift']());}}}(a0_0x4f44,0x84d5f));import a0_0x5c4e13 from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';function a0_0x4f44(){const _0x3cdbad=['tLabel','activity-state-draft','draft','center','isMobileEnv','1108668BVZVFh','styles','57352syjrAJ','searchByPagination','menus','activity-state-deprecated','filter','errors','meta-activity-list-page','single','getGristSelectableConfig','model','32750ClNDtc','grist','292EACBBS','parse','activityType','resource-object','2076iCqvIO','fetch','install_activity_success','meta-activity-viewer-element','startingType','GRID','updatedAt','fetchHandler','meta-activity-writer-element','updater','name','getGristColumnConfig2','columns','tButton','description','650dTbeCr','getGristSelectorColumnConfig','routing','relation-menu','getBasicGristStyles','isNotEmpty','LIST','delete','10865NVfKqa','activity-state-released','system_update','deleteListByGristSelected','updateMultiple','custom-element','grid_view_options','define','CARD','menuType','pageInitialized','gridMode','1251IOOGXg','multiple','datetime','MENU_PAGE_TYPE','left','status','1793IVUyTB','connectedCallback','deprecated','like','task','customElements','deploy','gridConfig','SCREEN','showToast','updated_at','length','deleteMetaActivities','getSelectColumns','save','metaActivities','3901492MZbYCT','string','forEach','HIDDEN-PAGE','showGraphqlErrorResponse','menu','bind','post','meta_activity_list','\x0a\x20\x20\x20\x20\x20\x20model\x20{\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}\x0a\x20\x20\x20\x20','records','750Shcgeh','querySelector','search','getGristGuttersConfig','2429byTnQb'];a0_0x4f44=function(){return _0x3cdbad;};return a0_0x4f44();}import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{MetaApi}from'./../../utils/meta-api';import{MetaUiUtil}from'./../../utils/meta-ui-util';import{ValueUtil}from'./../../utils/value-util';import{TermsUtil}from'./../../utils/terms-util';import{ServiceUtil}from'../../utils/service-util';function a0_0x38b1(_0x3e9859,_0x40f1fc){const _0x4f4493=a0_0x4f44();return a0_0x38b1=function(_0x38b18a,_0x6b71f5){_0x38b18a=_0x38b18a-0x13a;let _0x36179=_0x4f4493[_0x38b18a];return _0x36179;},a0_0x38b1(_0x3e9859,_0x40f1fc);}import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x508bdb(0x15c)](){const _0x11fa75=a0_0x508bdb;return MetaApi[_0x11fa75(0x180)]();}get['context'](){const _0x19a61c=a0_0x508bdb;return{'title':TermsUtil['tTitle'](_0x19a61c(0x14e)),'actions':[{'title':TermsUtil[_0x19a61c(0x17a)](_0x19a61c(0x144)),'action':this['save']['bind'](this),...CommonButtonStyles[_0x19a61c(0x144)]},{'title':TermsUtil['tButton'](_0x19a61c(0x183)),'action':this[_0x19a61c(0x183)][_0x19a61c(0x14c)](this),...CommonButtonStyles[_0x19a61c(0x183)]},{'title':TermsUtil[_0x19a61c(0x17a)]('install_activity'),'action':this[_0x19a61c(0x13c)][_0x19a61c(0x14c)](this),'icon':_0x19a61c(0x186),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x508bdb(0x168)](){const _0x3a474d=a0_0x508bdb;return this['shadowRoot'][_0x3a474d(0x152)]('ox-grist');}async[a0_0x508bdb(0x197)](){const _0xaafe8f=a0_0x508bdb,_0x288213=[{'display':'','value':''},{'display':TermsUtil['tLabel'](_0xaafe8f(0x157)),'value':_0xaafe8f(0x158)},{'display':TermsUtil['tLabel'](_0xaafe8f(0x185)),'value':'released'},{'display':TermsUtil[_0xaafe8f(0x156)](_0xaafe8f(0x160)),'value':_0xaafe8f(0x198)}];this[_0xaafe8f(0x18a)]=['LIST',_0xaafe8f(0x172),_0xaafe8f(0x18c)],this[_0xaafe8f(0x18f)]=MetaApi[_0xaafe8f(0x15a)]()?_0xaafe8f(0x182):_0xaafe8f(0x172),this['gridConfig']={'option':{'view_mode':this[_0xaafe8f(0x18a)]},'rows':MetaApi[_0xaafe8f(0x165)](!0x0),'pagination':MetaApi['getGristPagination50Config'](),'sorters':[{'name':_0xaafe8f(0x177),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0xaafe8f(0x154)](!0x0,!0x1),{'type':'string','name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0xaafe8f(0x178)](_0xaafe8f(0x147),_0xaafe8f(0x177),'name',_0xaafe8f(0x194),!0x0,!0x0,0xc8),MetaUiUtil['getGristColumnConfig2'](_0xaafe8f(0x147),_0xaafe8f(0x17b),_0xaafe8f(0x17b),'left',!0x0,!0x0,0x12c),MetaUiUtil[_0xaafe8f(0x17d)]('state',_0xaafe8f(0x195),_0xaafe8f(0x159),!0x0,0x64,!0x1,_0x288213),{'type':_0xaafe8f(0x16c),'name':_0xaafe8f(0x14b),'header':TermsUtil[_0xaafe8f(0x156)](_0xaafe8f(0x14b)),'record':{'editable':!0x0,'options':{'queryName':_0xaafe8f(0x15f),'basicArgs':{'filters':[{'name':_0xaafe8f(0x18d),'operator':'in','value':[_0xaafe8f(0x13e),'POPUP',_0xaafe8f(0x149)]},{'name':_0xaafe8f(0x17e),'operator':'is_not_null','value':''},{'name':'template','operator':'is_not_null','value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':'name','header':TermsUtil[_0xaafe8f(0x156)](_0xaafe8f(0x177)),'width':0xfa,'filter':_0xaafe8f(0x153)},await MetaApi['getGristCodeSelectorColumnConfig'](_0xaafe8f(0x18d),'menu_type',_0xaafe8f(0x194),!0x1,0x6e,!0x1,_0xaafe8f(0x193)),MetaUiUtil[_0xaafe8f(0x178)](_0xaafe8f(0x147),_0xaafe8f(0x17e),_0xaafe8f(0x17e),_0xaafe8f(0x194),!0x1,!0x1,0xfa)],'list':{'fields':[_0xaafe8f(0x177),'routing']},'nameField':_0xaafe8f(0x17e)}},'width':0xeb},MetaUiUtil[_0xaafe8f(0x178)]('object',_0xaafe8f(0x176),_0xaafe8f(0x176),_0xaafe8f(0x159),!0x1,!0x1,0x78),MetaUiUtil[_0xaafe8f(0x178)](_0xaafe8f(0x192),_0xaafe8f(0x173),_0xaafe8f(0x140),_0xaafe8f(0x159),!0x1,!0x0,0xb4),{'name':_0xaafe8f(0x16b),'hidden':!0x0},{'name':_0xaafe8f(0x191),'hidden':!0x0},{'name':_0xaafe8f(0x171),'hidden':!0x0}],'sorters':[{'name':_0xaafe8f(0x177),'desc':!0x1}]};let _0x820f05={'name':_0xaafe8f(0x199)};this[_0xaafe8f(0x13d)]['columns'][_0xaafe8f(0x161)](_0x2583ca=>_0x820f05[_0x2583ca[_0xaafe8f(0x177)]])[_0xaafe8f(0x148)](_0x3b3f17=>{const _0x2471e5=_0xaafe8f;_0x3b3f17['filter']=_0x820f05[_0x3b3f17[_0x2471e5(0x177)]];}),this['connectedCallback']&&await super[_0xaafe8f(0x197)]();}async['fetchHandler']({page:_0x2b2d07,limit:_0x1ff9f9,sorters:_0x282f8f=[],filters:_0x5a4a76=[]}){const _0x285374=a0_0x508bdb;_0x5a4a76['push']({'name':'model','operator':'like','value':'\x22relation-menu\x22'});let _0x1deee1=MetaApi[_0x285374(0x143)](this[_0x285374(0x13d)][_0x285374(0x179)]['filter'](_0x385c7b=>_0x285374(0x14b)!=_0x385c7b[_0x285374(0x177)]));_0x1deee1+=_0x285374(0x14f);let _0x2c68ac=await MetaApi[_0x285374(0x15e)](_0x285374(0x145),_0x5a4a76,_0x282f8f,_0x2b2d07,_0x1ff9f9,_0x1deee1);return _0x2c68ac[_0x285374(0x150)][_0x285374(0x148)](_0x326b1c=>{const _0x543cf5=_0x285374;let _0x771aa6=_0x326b1c[_0x543cf5(0x166)][_0x543cf5(0x161)](_0x53f747=>_0x543cf5(0x17f)==_0x53f747[_0x543cf5(0x177)]);_0x771aa6&&_0x771aa6[_0x543cf5(0x141)]>0x0&&(_0x326b1c['menu']=JSON[_0x543cf5(0x16a)](_0x771aa6[0x0][_0x543cf5(0x17b)])),delete _0x326b1c[_0x543cf5(0x166)];}),_0x2c68ac;}async[a0_0x508bdb(0x13c)](){const _0x47b77c=a0_0x508bdb;try{var _0x2b7435=await client['query']({'query':a0_0x5c4e13`
1
+ const a0_0x58a5fb=a0_0x3f61;(function(_0x436d63,_0x1c63af){const _0x5471ba=a0_0x3f61,_0x42ba93=_0x436d63();while(!![]){try{const _0x313083=-parseInt(_0x5471ba(0x10e))/0x1+parseInt(_0x5471ba(0x101))/0x2*(-parseInt(_0x5471ba(0x11a))/0x3)+parseInt(_0x5471ba(0x12e))/0x4+-parseInt(_0x5471ba(0xe6))/0x5+-parseInt(_0x5471ba(0xeb))/0x6*(parseInt(_0x5471ba(0xd3))/0x7)+-parseInt(_0x5471ba(0xd0))/0x8*(parseInt(_0x5471ba(0x128))/0x9)+-parseInt(_0x5471ba(0x117))/0xa*(-parseInt(_0x5471ba(0xf5))/0xb);if(_0x313083===_0x1c63af)break;else _0x42ba93['push'](_0x42ba93['shift']());}catch(_0x1d2d1d){_0x42ba93['push'](_0x42ba93['shift']());}}}(a0_0x467a,0xe230a));import a0_0x4af41e from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';import{i18next,localize}from'@things-factory/i18n-base';function a0_0x3f61(_0x2687d5,_0x55f1c){const _0x467aae=a0_0x467a();return a0_0x3f61=function(_0x3f61fc,_0x211bbd){_0x3f61fc=_0x3f61fc-0xd0;let _0x47a08f=_0x467aae[_0x3f61fc];return _0x47a08f;},a0_0x3f61(_0x2687d5,_0x55f1c);}import{PageView}from'@things-factory/shell';import{MetaApi}from'./../../utils/meta-api';import{MetaUiUtil}from'./../../utils/meta-ui-util';import{ValueUtil}from'./../../utils/value-util';function a0_0x467a(){const _0x1b67cb=['updated_at','getGristSelectableConfig','235264tBvluz','description','define','left','\x0a\x20\x20\x20\x20\x20\x20model\x20{\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}\x0a\x20\x20\x20\x20','ox-grist','deploy','single','showToast','string','save','grist','push','1664238BkzwXk','searchByPagination','resource-object','info','name','columns','status','pageInitialized','gridConfig','30jTDGuC','install_activity_success','center','18IMYzfl','filter','getSelectColumns','deleteMetaActivities','CARD','bind','shadowRoot','styles','custom-element','MENU_PAGE_TYPE','getGristSelectorColumnConfig','SCREEN','is_not_null','gridMode','76257qoLbzp','meta-activity-list-page','task','records','customElements','connectedCallback','4569100CbsMiB','activity-state-released','isMobileEnv','fetchHandler','HIDDEN-PAGE','\x22relation-menu\x22','patchesForUpdateMultiple','model','360bZYRXn','getGristPagination50Config','deleteListByGristSelected','806071eyCCVJ','isNotEmpty','getGristColumnConfig2','menu_type','menu','object','LIST','updater','startingType','tText','fetch','meta-activity-writer-element','meta-activity-viewer-element','tButton','forEach','tLabel','grid_view_options','install_activity','getBasicGristStyles','7567275jsvvcD','multiple','parse','draft','errors','84fYqEZb','template','updatedAt','length','query','activity-state-deprecated','delete','routing','relation-menu','GRID','20757407FqLeNN','like','meta_activity_list','showGraphqlErrorResponse','search','getGristCodeSelectorColumnConfig','POPUP','metaActivities','post','menus'];a0_0x467a=function(){return _0x1b67cb;};return a0_0x467a();}import{TermsUtil}from'./../../utils/terms-util';import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x58a5fb(0x121)](){const _0x100a8b=a0_0x58a5fb;return MetaApi[_0x100a8b(0xe5)]();}get['context'](){const _0x318b64=a0_0x58a5fb;return{'title':TermsUtil['tTitle'](_0x318b64(0xf7)),'actions':[{'title':TermsUtil['tButton'](_0x318b64(0x10b)),'action':this[_0x318b64(0x10b)][_0x318b64(0x11f)](this),...CommonButtonStyles[_0x318b64(0x10b)]},{'title':TermsUtil[_0x318b64(0xe0)](_0x318b64(0xf1)),'action':this[_0x318b64(0xf1)]['bind'](this),...CommonButtonStyles[_0x318b64(0xf1)]},{'title':TermsUtil['tButton'](_0x318b64(0xe4)),'action':this[_0x318b64(0x107)][_0x318b64(0x11f)](this),'icon':'system_update','emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x58a5fb(0x10c)](){const _0x1c5b16=a0_0x58a5fb;return this[_0x1c5b16(0x120)]['querySelector'](_0x1c5b16(0x106));}async[a0_0x58a5fb(0x12d)](){const _0x580080=a0_0x58a5fb,_0x21220d=[{'display':'','value':''},{'display':TermsUtil[_0x580080(0xe2)]('activity-state-draft'),'value':_0x580080(0xe9)},{'display':TermsUtil[_0x580080(0xe2)](_0x580080(0x12f)),'value':'released'},{'display':TermsUtil[_0x580080(0xe2)](_0x580080(0xf0)),'value':'deprecated'}];this[_0x580080(0xe3)]=[_0x580080(0xd9),_0x580080(0xf4),_0x580080(0x11e)],this[_0x580080(0x127)]=MetaApi[_0x580080(0x130)]()?'LIST':_0x580080(0xf4),this[_0x580080(0x116)]={'option':{'view_mode':this[_0x580080(0xe3)]},'rows':MetaApi[_0x580080(0x100)](!0x0),'pagination':MetaApi[_0x580080(0xd1)](),'sorters':[{'name':_0x580080(0x112),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x0,!0x1),{'type':_0x580080(0x10a),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0x580080(0xd5)]('string',_0x580080(0x112),'name',_0x580080(0x104),!0x0,!0x0,0xc8),MetaUiUtil[_0x580080(0xd5)]('string',_0x580080(0x102),_0x580080(0x102),_0x580080(0x104),!0x0,!0x0,0x12c),MetaUiUtil[_0x580080(0x124)]('state',_0x580080(0x114),_0x580080(0x119),!0x0,0x64,!0x1,_0x21220d),{'type':_0x580080(0x110),'name':_0x580080(0xd7),'header':TermsUtil[_0x580080(0xe2)](_0x580080(0xd7)),'record':{'editable':!0x0,'options':{'queryName':_0x580080(0xfe),'basicArgs':{'filters':[{'name':'menuType','operator':'in','value':[_0x580080(0x125),_0x580080(0xfb),_0x580080(0x132)]},{'name':'routing','operator':_0x580080(0x126),'value':''},{'name':_0x580080(0xec),'operator':_0x580080(0x126),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x580080(0x112),'header':TermsUtil[_0x580080(0xe2)]('name'),'width':0xfa,'filter':_0x580080(0xf9)},await MetaApi[_0x580080(0xfa)]('menuType',_0x580080(0xd6),_0x580080(0x104),!0x1,0x6e,!0x1,_0x580080(0x123)),MetaUiUtil['getGristColumnConfig2'](_0x580080(0x10a),_0x580080(0xf2),_0x580080(0xf2),_0x580080(0x104),!0x1,!0x1,0xfa)],'list':{'fields':[_0x580080(0x112),_0x580080(0xf2)]},'nameField':_0x580080(0xf2)}},'width':0xeb},MetaUiUtil[_0x580080(0xd5)](_0x580080(0xd8),_0x580080(0xda),'updater',_0x580080(0x119),!0x1,!0x1,0x78),MetaUiUtil[_0x580080(0xd5)]('datetime',_0x580080(0xed),_0x580080(0xff),_0x580080(0x119),!0x1,!0x0,0xb4),{'name':'activityType','hidden':!0x0},{'name':_0x580080(0xe7),'hidden':!0x0},{'name':_0x580080(0xdb),'hidden':!0x0}],'sorters':[{'name':_0x580080(0x112),'desc':!0x1}]};let _0x149d73={'name':_0x580080(0xf6)};this[_0x580080(0x116)][_0x580080(0x113)][_0x580080(0x11b)](_0x37209a=>_0x149d73[_0x37209a['name']])['forEach'](_0x4f1e75=>{const _0x4cad23=_0x580080;_0x4f1e75[_0x4cad23(0x11b)]=_0x149d73[_0x4f1e75[_0x4cad23(0x112)]];}),this[_0x580080(0x12d)]&&await super[_0x580080(0x12d)]();}async[a0_0x58a5fb(0x131)]({page:_0x53bcf3,limit:_0x54ae98,sorters:_0x401276=[],filters:_0x3ba8f1=[]}){const _0x132877=a0_0x58a5fb;_0x3ba8f1[_0x132877(0x10d)]({'name':'model','operator':'like','value':_0x132877(0x133)});let _0x218b9e=MetaApi[_0x132877(0x11c)](this[_0x132877(0x116)][_0x132877(0x113)][_0x132877(0x11b)](_0x418a77=>'menu'!=_0x418a77[_0x132877(0x112)]));_0x218b9e+=_0x132877(0x105);let _0x1e261f=await MetaApi[_0x132877(0x10f)](_0x132877(0xfc),_0x3ba8f1,_0x401276,_0x53bcf3,_0x54ae98,_0x218b9e);return _0x1e261f[_0x132877(0x12b)][_0x132877(0xe1)](_0x31691e=>{const _0x2d2ffa=_0x132877;let _0x2883de=_0x31691e[_0x2d2ffa(0x135)]['filter'](_0x39fb65=>_0x2d2ffa(0xf3)==_0x39fb65['name']);_0x2883de&&_0x2883de[_0x2d2ffa(0xee)]>0x0&&(_0x31691e[_0x2d2ffa(0xd7)]=JSON[_0x2d2ffa(0xe8)](_0x2883de[0x0]['description'])),delete _0x31691e[_0x2d2ffa(0x135)];}),_0x1e261f;}async[a0_0x58a5fb(0x107)](){const _0x583074=a0_0x58a5fb;try{var _0x5954c5=await client[_0x583074(0xef)]({'query':a0_0x4af41e`
2
2
  mutation {
3
3
  installActivityTemplate
4
4
  }
5
- `});if(!_0x2b7435[_0x47b77c(0x162)])return UiUtil[_0x47b77c(0x13f)]('info',TermsUtil['tText'](_0x47b77c(0x16f))),!0x0;ServiceUtil[_0x47b77c(0x14a)](_0x2b7435);}catch(_0x345d81){ServiceUtil['showGraphqlException'](_0x345d81);}}async['save'](){const _0x2e5a7c=a0_0x508bdb;let _0x2f4ec5=ServiceUtil['patchesForUpdateMultiple'](this[_0x2e5a7c(0x168)]);if(ValueUtil[_0x2e5a7c(0x181)](_0x2f4ec5)){_0x2f4ec5[_0x2e5a7c(0x148)](_0xe381b5=>{const _0xe68eb5=_0x2e5a7c;Object['assign'](_0xe381b5,{'uiSource':_0xe68eb5(0x175),'uiType':'custom-element','viewSource':_0xe68eb5(0x170),'viewType':_0xe68eb5(0x189)}),_0xe381b5[_0xe68eb5(0x191)]||(_0xe381b5[_0xe68eb5(0x191)]=_0xe68eb5(0x164)),_0xe381b5[_0xe68eb5(0x16b)]||(_0xe381b5['activityType']=_0xe68eb5(0x13a)),_0xe381b5[_0xe68eb5(0x171)]||(_0xe381b5[_0xe68eb5(0x171)]=_0xe68eb5(0x14d));});let _0x4fa209=await ServiceUtil[_0x2e5a7c(0x188)]('updateMultipleMetaActivity',_0x2f4ec5);if(_0x4fa209)return this[_0x2e5a7c(0x168)][_0x2e5a7c(0x16e)](),_0x4fa209;}}async['delete'](){const _0x2a669d=a0_0x508bdb;await MetaApi[_0x2a669d(0x187)](this['grist'],_0x2a669d(0x142));}async[a0_0x508bdb(0x18e)](){}['render'](){const _0x3b2cf5=a0_0x508bdb;return html`
5
+ `});if(!_0x5954c5[_0x583074(0xea)])return UiUtil[_0x583074(0x109)](_0x583074(0x111),TermsUtil[_0x583074(0xdc)](_0x583074(0x118))),!0x0;ServiceUtil[_0x583074(0xf8)](_0x5954c5);}catch(_0x4e9506){ServiceUtil['showGraphqlException'](_0x4e9506);}}async['save'](){const _0xffc839=a0_0x58a5fb;let _0xea5514=ServiceUtil[_0xffc839(0x134)](this['grist']);if(ValueUtil[_0xffc839(0xd4)](_0xea5514)){_0xea5514['forEach'](_0x57d27a=>{const _0x3463a9=_0xffc839;Object['assign'](_0x57d27a,{'uiSource':_0x3463a9(0xde),'uiType':_0x3463a9(0x122),'viewSource':_0x3463a9(0xdf),'viewType':'custom-element'}),_0x57d27a['multiple']||(_0x57d27a[_0x3463a9(0xe7)]=_0x3463a9(0x108)),_0x57d27a['activityType']||(_0x57d27a['activityType']=_0x3463a9(0x12a)),_0x57d27a['startingType']||(_0x57d27a[_0x3463a9(0xdb)]=_0x3463a9(0xfd));});let _0x10702d=await ServiceUtil['updateMultiple']('updateMultipleMetaActivity',_0xea5514);if(_0x10702d)return this['grist'][_0xffc839(0xdd)](),_0x10702d;}}async[a0_0x58a5fb(0xf1)](){const _0x22c0a4=a0_0x58a5fb;await MetaApi[_0x22c0a4(0xd2)](this['grist'],_0x22c0a4(0x11d));}async[a0_0x58a5fb(0x115)](){}['render'](){const _0x26d650=a0_0x58a5fb;return html`
6
6
  <ox-grist
7
7
  auto-fetch
8
8
  id="ox-grist"
9
- .config=${this[_0x3b2cf5(0x13d)]}
10
- .mode=${this[_0x3b2cf5(0x18f)]}
11
- .fetchHandler=${this[_0x3b2cf5(0x174)][_0x3b2cf5(0x14c)](this)}>
9
+ .config=${this[_0x26d650(0x116)]}
10
+ .mode=${this[_0x26d650(0x127)]}
11
+ .fetchHandler=${this[_0x26d650(0x131)][_0x26d650(0x11f)](this)}>
12
12
  <div slot="headroom">
13
13
  <div id="filters">
14
14
  <ox-filters-form ></ox-filters-form>
15
15
  </div>
16
16
  </div>
17
17
  </ox-grist>
18
- `;}}window[a0_0x508bdb(0x13b)][a0_0x508bdb(0x18b)](a0_0x508bdb(0x163),MetaActivityListPage);
18
+ `;}}window[a0_0x58a5fb(0x12c)][a0_0x58a5fb(0x103)](a0_0x58a5fb(0x129),MetaActivityListPage);
@@ -1,3 +1,3 @@
1
- const a0_0x27cee3=a0_0x3969;(function(_0x17b58d,_0xdbec1f){const _0x363e25=a0_0x3969,_0x1cbc38=_0x17b58d();while(!![]){try{const _0x442926=-parseInt(_0x363e25(0x72))/0x1*(-parseInt(_0x363e25(0x80))/0x2)+parseInt(_0x363e25(0x7e))/0x3+-parseInt(_0x363e25(0x70))/0x4+-parseInt(_0x363e25(0x7b))/0x5+-parseInt(_0x363e25(0x77))/0x6+-parseInt(_0x363e25(0x73))/0x7*(-parseInt(_0x363e25(0x81))/0x8)+parseInt(_0x363e25(0x7d))/0x9;if(_0x442926===_0xdbec1f)break;else _0x1cbc38['push'](_0x1cbc38['shift']());}catch(_0x4a1ab7){_0x1cbc38['push'](_0x1cbc38['shift']());}}}(a0_0x38e1,0xd76f8));import a0_0x1d1ae1 from'graphql-tag';import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';function a0_0x38e1(){const _0x238c89=['1138734wRxNPN','tagName','output','meta-activity-viewer-element','5044215YfTCVV','render','4815045ZMUdJT','897297aCeAQA','relationMenu','64bvNDQj','24WUuiDg','1737220FZYvvU','customData','37803BMNyXc','1100309XvFKep','contentElement','\x27\x20route_name=\x27','name'];a0_0x38e1=function(){return _0x238c89;};return a0_0x38e1();}function a0_0x3969(_0x42ff8f,_0x4891ff){const _0x38e1d7=a0_0x38e1();return a0_0x3969=function(_0x39692b,_0x33e43b){_0x39692b=_0x39692b-0x70;let _0x27a98d=_0x38e1d7[_0x39692b];return _0x27a98d;},a0_0x3969(_0x42ff8f,_0x4891ff);}import{MetaApi}from'./../../utils/meta-api';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x27cee3(0x7c)](){const _0x528ea7=a0_0x27cee3;if(this[_0x528ea7(0x7f)]&&!this[_0x528ea7(0x74)]){let _0x3d9649=this[_0x528ea7(0x7f)][_0x528ea7(0x78)],_0x3c8ef7=this['relationMenu']['routing'],_0x2ad66a='<'+_0x3d9649+'\x20id=\x27'+this[_0x528ea7(0x7f)][_0x528ea7(0x76)]+_0x528ea7(0x75)+_0x3c8ef7+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x3d9649+'>';this[_0x528ea7(0x74)]=UiUtil['htmlToElement'](_0x2ad66a),this[_0x528ea7(0x74)]['activityDataSet']=ValueUtil['isEmpty'](this['output'])?void 0x0:this[_0x528ea7(0x79)][_0x528ea7(0x71)];}return html`
2
- ${this[_0x528ea7(0x74)]}
3
- `;}}customElements['define'](a0_0x27cee3(0x7a),MetaActivityViewerElement);
1
+ const a0_0x23d979=a0_0x116a;function a0_0x116a(_0x1c3863,_0x2b5c04){const _0x26d84f=a0_0x26d8();return a0_0x116a=function(_0x116acd,_0xca7d34){_0x116acd=_0x116acd-0x1a9;let _0x2766b6=_0x26d84f[_0x116acd];return _0x2766b6;},a0_0x116a(_0x1c3863,_0x2b5c04);}function a0_0x26d8(){const _0x135ed8=['customData','149216wvbhcY','2IYhtDj','493083JpZvdX','157728TIGHIa','50049BgABxp','output','242742aYhSTt','63DsYbdh','relationMenu','htmlToElement','name','routing','133861UgMhKC','isEmpty','280KaLieb','activityDataSet','render','25qVcXuz','meta-activity-viewer-element','tagName','6169636xlnrkV','contentElement'];a0_0x26d8=function(){return _0x135ed8;};return a0_0x26d8();}(function(_0x59b7e4,_0x466f19){const _0x3bd090=a0_0x116a,_0x537db6=_0x59b7e4();while(!![]){try{const _0x26e168=-parseInt(_0x3bd090(0x1a9))/0x1+parseInt(_0x3bd090(0x1b5))/0x2*(parseInt(_0x3bd090(0x1b6))/0x3)+parseInt(_0x3bd090(0x1b7))/0x4+-parseInt(_0x3bd090(0x1ae))/0x5*(parseInt(_0x3bd090(0x1ba))/0x6)+parseInt(_0x3bd090(0x1bb))/0x7*(-parseInt(_0x3bd090(0x1b4))/0x8)+-parseInt(_0x3bd090(0x1b8))/0x9*(parseInt(_0x3bd090(0x1ab))/0xa)+parseInt(_0x3bd090(0x1b1))/0xb;if(_0x26e168===_0x466f19)break;else _0x537db6['push'](_0x537db6['shift']());}catch(_0x26f22f){_0x537db6['push'](_0x537db6['shift']());}}}(a0_0x26d8,0x199f3));import a0_0x13a5c5 from'graphql-tag';import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x23d979(0x1ad)](){const _0x37b386=a0_0x23d979;if(this['relationMenu']&&!this['contentElement']){let _0x3be5d6=this[_0x37b386(0x1bc)][_0x37b386(0x1b0)],_0x31fc84=this[_0x37b386(0x1bc)][_0x37b386(0x1bf)],_0x28de4f='<'+_0x3be5d6+'\x20id=\x27'+this[_0x37b386(0x1bc)][_0x37b386(0x1be)]+'\x27\x20route_name=\x27'+_0x31fc84+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x3be5d6+'>';this[_0x37b386(0x1b2)]=UiUtil[_0x37b386(0x1bd)](_0x28de4f),this[_0x37b386(0x1b2)][_0x37b386(0x1ac)]=ValueUtil[_0x37b386(0x1aa)](this[_0x37b386(0x1b9)])?void 0x0:this[_0x37b386(0x1b9)][_0x37b386(0x1b3)];}return html`
2
+ ${this['contentElement']}
3
+ `;}}customElements['define'](a0_0x23d979(0x1af),MetaActivityViewerElement);
@@ -1,3 +1,3 @@
1
- const a0_0x1414e3=a0_0x2e2f;(function(_0x473a91,_0x4d8e11){const _0x45ba02=a0_0x2e2f,_0x56e9cd=_0x473a91();while(!![]){try{const _0x48f891=parseInt(_0x45ba02(0x138))/0x1+parseInt(_0x45ba02(0x13e))/0x2+parseInt(_0x45ba02(0x135))/0x3+parseInt(_0x45ba02(0x12f))/0x4+parseInt(_0x45ba02(0x148))/0x5+-parseInt(_0x45ba02(0x141))/0x6+parseInt(_0x45ba02(0x137))/0x7*(-parseInt(_0x45ba02(0x130))/0x8);if(_0x48f891===_0x4d8e11)break;else _0x56e9cd['push'](_0x56e9cd['shift']());}catch(_0x3961a9){_0x56e9cd['push'](_0x56e9cd['shift']());}}}(a0_0x31b5,0xb38f7));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';function a0_0x2e2f(_0x455201,_0x14d86e){const _0x31b596=a0_0x31b5();return a0_0x2e2f=function(_0x2e2ff5,_0x16d000){_0x2e2ff5=_0x2e2ff5-0x12e;let _0x73822b=_0x31b596[_0x2e2ff5];return _0x73822b;},a0_0x2e2f(_0x455201,_0x14d86e);}import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0x1414e3(0x12e)](){const _0x10f3d3=a0_0x1414e3;await super[_0x10f3d3(0x12e)](),this[_0x10f3d3(0x140)]('data-changed',this['_onDataChanged']);}[a0_0x1414e3(0x147)](){const _0x5dfd86=a0_0x1414e3;this[_0x5dfd86(0x145)]('data-changed',this['_onDataChanged']);}[a0_0x1414e3(0x134)](_0x281d25){const _0x1b25b0=a0_0x1414e3;let _0x4d787b=this[_0x1b25b0(0x149)]['getData']();this[_0x1b25b0(0x146)](new CustomEvent(_0x1b25b0(0x13b),{'detail':{'customData':_0x4d787b}}));}[a0_0x1414e3(0x13c)](){const _0x2716e6=a0_0x1414e3;if(this[_0x2716e6(0x14b)]&&!this[_0x2716e6(0x149)]){let _0x2a9782=this[_0x2716e6(0x14b)][_0x2716e6(0x132)],_0x1b9cde=this[_0x2716e6(0x14b)][_0x2716e6(0x13d)],_0x3bba0d='<'+_0x2a9782+_0x2716e6(0x144)+this[_0x2716e6(0x14b)][_0x2716e6(0x131)]+_0x2716e6(0x139)+_0x1b9cde+_0x2716e6(0x13a)+_0x2a9782+'>';this[_0x2716e6(0x149)]=UiUtil['htmlToElement'](_0x3bba0d),this[_0x2716e6(0x149)][_0x2716e6(0x133)]=ValueUtil[_0x2716e6(0x143)](this['output'])?void 0x0:this[_0x2716e6(0x136)][_0x2716e6(0x13f)];}return html`
2
- ${this[_0x2716e6(0x149)]}
3
- `;}}customElements[a0_0x1414e3(0x142)](a0_0x1414e3(0x14a),MetaActivityWriterElement);function a0_0x31b5(){const _0x4bee35=['define','isEmpty','\x20id=\x27','removeEventListener','dispatchEvent','disconnectedCallback','1620745ypPhkC','contentElement','meta-activity-writer-element','relationMenu','connectedCallback','573240rfpGUk','88wFzzms','name','tagName','activityDataSet','_onDataChanged','2865624WaMlpv','output','445599uoJifi','505235jxZnnv','\x27\x20route_name=\x27','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','change','render','routing','1777956nQWjje','customData','addEventListener','8287044fDmSFq'];a0_0x31b5=function(){return _0x4bee35;};return a0_0x31b5();}
1
+ const a0_0x2e41d0=a0_0x5969;function a0_0x5969(_0x43e77f,_0x270cc5){const _0x527308=a0_0x5273();return a0_0x5969=function(_0x596932,_0xdaa35c){_0x596932=_0x596932-0x1cc;let _0x4f0d48=_0x527308[_0x596932];return _0x4f0d48;},a0_0x5969(_0x43e77f,_0x270cc5);}(function(_0x1ba999,_0x2fbe52){const _0x579ca3=a0_0x5969,_0x2344cc=_0x1ba999();while(!![]){try{const _0x4174de=-parseInt(_0x579ca3(0x1d3))/0x1*(parseInt(_0x579ca3(0x1e4))/0x2)+-parseInt(_0x579ca3(0x1db))/0x3*(parseInt(_0x579ca3(0x1d6))/0x4)+parseInt(_0x579ca3(0x1cd))/0x5*(-parseInt(_0x579ca3(0x1e0))/0x6)+parseInt(_0x579ca3(0x1d8))/0x7+-parseInt(_0x579ca3(0x1e6))/0x8+parseInt(_0x579ca3(0x1e7))/0x9*(-parseInt(_0x579ca3(0x1d0))/0xa)+parseInt(_0x579ca3(0x1e1))/0xb;if(_0x4174de===_0x2fbe52)break;else _0x2344cc['push'](_0x2344cc['shift']());}catch(_0x2b7043){_0x2344cc['push'](_0x2344cc['shift']());}}}(a0_0x5273,0x9ec2a));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';function a0_0x5273(){const _0x251171=['activityDataSet','removeEventListener','198236QDHyTx','getData','457100qAzuCN','_onDataChanged','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','24SHWthD','\x27\x20route_name=\x27','htmlToElement','change','customData','2185746NspUsW','55204622tnfryg','routing','relationMenu','518XRHZRi','\x20id=\x27','3411480uiKWIA','477fxHOiz','contentElement','15IFioUl','output','meta-activity-writer-element','233510DJEZXP','connectedCallback','data-changed','4943EGudMO'];a0_0x5273=function(){return _0x251171;};return a0_0x5273();}import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0x2e41d0(0x1d1)](){const _0x1706e2=a0_0x2e41d0;await super[_0x1706e2(0x1d1)](),this['addEventListener'](_0x1706e2(0x1d2),this[_0x1706e2(0x1d9)]);}['disconnectedCallback'](){const _0x1ac7a9=a0_0x2e41d0;this[_0x1ac7a9(0x1d5)](_0x1ac7a9(0x1d2),this[_0x1ac7a9(0x1d9)]);}[a0_0x2e41d0(0x1d9)](_0x17d30e){const _0x23b9e0=a0_0x2e41d0;let _0x7cafe=this[_0x23b9e0(0x1cc)][_0x23b9e0(0x1d7)]();this['dispatchEvent'](new CustomEvent(_0x23b9e0(0x1de),{'detail':{'customData':_0x7cafe}}));}['render'](){const _0x383deb=a0_0x2e41d0;if(this['relationMenu']&&!this[_0x383deb(0x1cc)]){let _0x4830b4=this[_0x383deb(0x1e3)]['tagName'],_0x31fd45=this[_0x383deb(0x1e3)][_0x383deb(0x1e2)],_0x509d7d='<'+_0x4830b4+_0x383deb(0x1e5)+this[_0x383deb(0x1e3)]['name']+_0x383deb(0x1dc)+_0x31fd45+_0x383deb(0x1da)+_0x4830b4+'>';this[_0x383deb(0x1cc)]=UiUtil[_0x383deb(0x1dd)](_0x509d7d),this[_0x383deb(0x1cc)][_0x383deb(0x1d4)]=ValueUtil['isEmpty'](this[_0x383deb(0x1ce)])?void 0x0:this[_0x383deb(0x1ce)][_0x383deb(0x1df)];}return html`
2
+ ${this[_0x383deb(0x1cc)]}
3
+ `;}}customElements['define'](a0_0x2e41d0(0x1cf),MetaActivityWriterElement);
@@ -1,11 +1,11 @@
1
- const a0_0x5483b4=a0_0x25cb;(function(_0x218f78,_0xcb5a90){const _0xcbfc0a=a0_0x25cb,_0x2be775=_0x218f78();while(!![]){try{const _0x4cb0ac=parseInt(_0xcbfc0a(0x175))/0x1*(parseInt(_0xcbfc0a(0x193))/0x2)+-parseInt(_0xcbfc0a(0x176))/0x3+-parseInt(_0xcbfc0a(0x186))/0x4+-parseInt(_0xcbfc0a(0x17c))/0x5+-parseInt(_0xcbfc0a(0x18b))/0x6+-parseInt(_0xcbfc0a(0x194))/0x7+-parseInt(_0xcbfc0a(0x189))/0x8*(-parseInt(_0xcbfc0a(0x16f))/0x9);if(_0x4cb0ac===_0xcb5a90)break;else _0x2be775['push'](_0x2be775['shift']());}catch(_0x315738){_0x2be775['push'](_0x2be775['shift']());}}}(a0_0x5bb8,0xde658));function a0_0x25cb(_0x2b4266,_0x2fd2eb){const _0x5bb8d8=a0_0x5bb8();return a0_0x25cb=function(_0x25cbaf,_0x3d4c2e){_0x25cbaf=_0x25cbaf-0x16d;let _0x2cabff=_0x5bb8d8[_0x25cbaf];return _0x2cabff;},a0_0x25cb(_0x2b4266,_0x2fd2eb);}import a0_0x4f5686 from'graphql-tag';import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';function a0_0x5bb8(){const _0x301ef4=['replace','3709344dtsVlH','getActivity','-page','info','assign','length','endsWith','data','10uQAFOs','11868696QIssES','query','activity','styles','activityId','9UcIkYS','records','showToast','description','-element','getMenuInfo','189323yuHXcE','1634781avmmzv','tMenu','connectedCallback','forEach','value_is_not_exist','searchByPagination','8264445qcWSwx','tText','name','properties','routing','relationMenu','id,category,resourceUrl','menus','resourceUrl','model','5368052XYEEvH','category','relation-menu','46543216nZPuHu'];a0_0x5bb8=function(){return _0x301ef4;};return a0_0x5bb8();}export const MetaActivityMixin=_0x355fde=>class extends _0x355fde{static get[a0_0x5483b4(0x17f)](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x5483b4(0x16d)](){return css`
1
+ const a0_0x23bf54=a0_0x3de2;(function(_0x2764c9,_0x218419){const _0x1e5a2c=a0_0x3de2,_0x553b34=_0x2764c9();while(!![]){try{const _0x3edef9=parseInt(_0x1e5a2c(0x1ee))/0x1+parseInt(_0x1e5a2c(0x1f3))/0x2+-parseInt(_0x1e5a2c(0x1ea))/0x3+parseInt(_0x1e5a2c(0x1f5))/0x4+-parseInt(_0x1e5a2c(0x202))/0x5*(-parseInt(_0x1e5a2c(0x1fc))/0x6)+-parseInt(_0x1e5a2c(0x1fe))/0x7*(-parseInt(_0x1e5a2c(0x1e9))/0x8)+-parseInt(_0x1e5a2c(0x1ec))/0x9;if(_0x3edef9===_0x218419)break;else _0x553b34['push'](_0x553b34['shift']());}catch(_0x549d7e){_0x553b34['push'](_0x553b34['shift']());}}}(a0_0x18c5,0x9987d));function a0_0x18c5(){const _0x2b4c19=['relationMenu','1181416XQCnaN','endsWith','connectedCallback','searchByPagination','length','info','parse','5388798jUsRWd','tMenu','21HCaBUr','getActivity','assign','tagName','5jZwelT','model','activity','activityId','getMenuInfo','properties','description','755544gDCmOi','3360420WdEsLV','-page','13111524uwTVnB','resourceUrl','816480gtIKJH','menu','styles','records','category','1825082wypRrc'];a0_0x18c5=function(){return _0x2b4c19;};return a0_0x18c5();}import a0_0x5f0aae from'graphql-tag';import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';function a0_0x3de2(_0x16a7ba,_0x5af9b3){const _0x18c5bf=a0_0x18c5();return a0_0x3de2=function(_0x3de2ce,_0x44d383){_0x3de2ce=_0x3de2ce-0x1e7;let _0x58d16b=_0x18c5bf[_0x3de2ce];return _0x58d16b;},a0_0x3de2(_0x16a7ba,_0x5af9b3);}export const MetaActivityMixin=_0x5c7a7b=>class extends _0x5c7a7b{static get[a0_0x23bf54(0x1e7)](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x23bf54(0x1f0)](){return css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  overflow-x: auto;
6
6
  background-color: var(--main-section-background-color);
7
7
  }
8
- `;}async[a0_0x5483b4(0x178)](){const _0x41e349=a0_0x5483b4;await this[_0x41e349(0x18c)](),await super[_0x41e349(0x178)]();}async[a0_0x5483b4(0x18c)](){const _0x4fef90=a0_0x5483b4,_0x31689f=await client[_0x4fef90(0x195)]({'query':a0_0x4f5686`
8
+ `;}async['connectedCallback'](){const _0x249618=a0_0x23bf54;await this[_0x249618(0x1ff)](),await super[_0x249618(0x1f7)]();}async[a0_0x23bf54(0x1ff)](){const _0x3f65f7=a0_0x23bf54,_0x292de5=await client['query']({'query':a0_0x5f0aae`
9
9
  query activity($id: String!) {
10
10
  activity(id: $id) {
11
11
  id
@@ -15,4 +15,4 @@ const a0_0x5483b4=a0_0x25cb;(function(_0x218f78,_0xcb5a90){const _0xcbfc0a=a0_0x
15
15
  }
16
16
  }
17
17
  }
18
- `,'variables':{'id':this[_0x4fef90(0x16e)]}});let _0x410919;this[_0x4fef90(0x196)]=_0x31689f[_0x4fef90(0x192)][_0x4fef90(0x196)],this['activity'][_0x4fef90(0x185)]?.[_0x4fef90(0x179)](_0x17b84c=>{const _0xcda6ff=_0x4fef90;_0xcda6ff(0x188)==_0x17b84c[_0xcda6ff(0x17e)]&&(_0x410919=JSON['parse'](_0x17b84c[_0xcda6ff(0x172)]));}),this['relationMenu']=_0x410919,await this[_0x4fef90(0x174)](this[_0x4fef90(0x181)]['id'],this[_0x4fef90(0x181)][_0x4fef90(0x180)]);}async['getMenuInfo'](_0x496cd7,_0x2c5e7e){const _0xd48451=a0_0x5483b4;let _0x530a16=[{'name':'id','operator':'eq','value':_0x496cd7}],_0x4a2fe0=await ServiceUtil[_0xd48451(0x17b)](_0xd48451(0x183),_0x530a16,null,0x0,0x0,_0xd48451(0x182));if(!_0x4a2fe0&&0x0==_0x4a2fe0[_0xd48451(0x190)]){let _0x52acf9=TermsUtil[_0xd48451(0x17d)](_0xd48451(0x17a),{'value':TermsUtil[_0xd48451(0x177)]('menu')+'\x20'+_0x2c5e7e});throw MetaApi[_0xd48451(0x171)](_0xd48451(0x18e),_0x52acf9),new Error(_0x52acf9);}let _0x5b8388=_0x4a2fe0[_0xd48451(0x170)][0x0];_0x5b8388['tagName']=_0x5b8388[_0xd48451(0x187)][_0xd48451(0x191)](_0xd48451(0x18d))?_0x5b8388[_0xd48451(0x187)][_0xd48451(0x18a)](_0xd48451(0x18d),_0xd48451(0x173)):_0x5b8388[_0xd48451(0x187)],_0x5b8388['resourceUrl']=_0x5b8388[_0xd48451(0x184)][_0xd48451(0x18a)](_0x5b8388['category'],_0x5b8388['tagName']),Object[_0xd48451(0x18f)](this[_0xd48451(0x181)],_0x5b8388);}};
18
+ `,'variables':{'id':this[_0x3f65f7(0x205)]}});let _0x121038;this[_0x3f65f7(0x204)]=_0x292de5['data'][_0x3f65f7(0x204)],this[_0x3f65f7(0x204)][_0x3f65f7(0x203)]?.['forEach'](_0x42859a=>{const _0x4130ba=_0x3f65f7;'relation-menu'==_0x42859a['name']&&(_0x121038=JSON[_0x4130ba(0x1fb)](_0x42859a[_0x4130ba(0x1e8)]));}),this['relationMenu']=_0x121038,await this[_0x3f65f7(0x206)](this[_0x3f65f7(0x1f4)]['id'],this[_0x3f65f7(0x1f4)]['routing']);}async[a0_0x23bf54(0x206)](_0x2a9b5a,_0x4c3ce2){const _0x4a2a48=a0_0x23bf54;let _0x5de32d=[{'name':'id','operator':'eq','value':_0x2a9b5a}],_0x5c3511=await ServiceUtil[_0x4a2a48(0x1f8)]('menus',_0x5de32d,null,0x0,0x0,'id,category,resourceUrl');if(!_0x5c3511&&0x0==_0x5c3511[_0x4a2a48(0x1f9)]){let _0xdfe1b0=TermsUtil['tText']('value_is_not_exist',{'value':TermsUtil[_0x4a2a48(0x1fd)](_0x4a2a48(0x1ef))+'\x20'+_0x4c3ce2});throw MetaApi['showToast'](_0x4a2a48(0x1fa),_0xdfe1b0),new Error(_0xdfe1b0);}let _0x5f4b4e=_0x5c3511[_0x4a2a48(0x1f1)][0x0];_0x5f4b4e[_0x4a2a48(0x201)]=_0x5f4b4e[_0x4a2a48(0x1f2)][_0x4a2a48(0x1f6)](_0x4a2a48(0x1eb))?_0x5f4b4e[_0x4a2a48(0x1f2)]['replace'](_0x4a2a48(0x1eb),'-element'):_0x5f4b4e[_0x4a2a48(0x1f2)],_0x5f4b4e[_0x4a2a48(0x1ed)]=_0x5f4b4e[_0x4a2a48(0x1ed)]['replace'](_0x5f4b4e[_0x4a2a48(0x1f2)],_0x5f4b4e[_0x4a2a48(0x201)]),Object[_0x4a2a48(0x200)](this[_0x4a2a48(0x1f4)],_0x5f4b4e);}};