@things-factory/meta-ui 6.0.132 → 6.0.134

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 (85) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  3. package/client/component/filter/filter-grist-resource-code-select.js +10 -10
  4. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  5. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  6. package/client/component/selector/ox-resource-code-selector-popup.js +40 -0
  7. package/client/mixin/meta-base-mixin.js +1 -1
  8. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  9. package/client/mixin/meta-button-mixin.js +1 -1
  10. package/client/mixin/meta-form-mixin.js +1 -1
  11. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  12. package/client/mixin/meta-main-tab-mixin.js +1 -1
  13. package/client/mixin/meta-master-detail-mixin.js +1 -1
  14. package/client/mixin/meta-service-mixin.js +1 -1
  15. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  16. package/client/mixin/meta-tab-mixin.js +1 -1
  17. package/client/pages/activity/meta-activity-list-page.js +6 -6
  18. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  19. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  20. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  21. package/client/pages/entity/config-entity.js +29 -29
  22. package/client/pages/entity/main-menu-selector.js +8 -8
  23. package/client/pages/history/history-copy-list-popup.js +4 -4
  24. package/client/pages/history/history-json-list-popup.js +6 -6
  25. package/client/pages/loading-page.js +5 -5
  26. package/client/pages/menu/dynamic-menu-template.js +7 -7
  27. package/client/pages/menu/dynamic-menu.js +15 -15
  28. package/client/pages/meta-form-element.js +1 -1
  29. package/client/pages/meta-grist-element.js +1 -1
  30. package/client/pages/meta-grist-page.js +1 -1
  31. package/client/pages/meta-grist-tab-element.js +1 -1
  32. package/client/pages/meta-grist-tab-page.js +1 -1
  33. package/client/pages/meta-main-tab-element.js +1 -1
  34. package/client/pages/meta-main-tab-page.js +1 -1
  35. package/client/pages/meta-master-detail-element.js +1 -1
  36. package/client/pages/meta-master-detail-page.js +1 -1
  37. package/client/pages/meta-tab-detail-element.js +1 -1
  38. package/client/pages/meta-tab-detail-page.js +1 -1
  39. package/client/pages/meta-tab-element.js +1 -1
  40. package/client/pages/personalize/personal-column-selector.js +11 -11
  41. package/client/pages/terms/config-terminology.js +5 -5
  42. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  43. package/client/pages/work-code/work-code-page.js +1 -1
  44. package/client/reducers/main.js +1 -1
  45. package/client/utils/meta-api.js +1 -1
  46. package/client/utils/meta-crypto.js +1 -1
  47. package/client/utils/meta-ui-util.js +103 -103
  48. package/client/utils/service-util.js +13 -13
  49. package/client/utils/terms-util.js +2 -2
  50. package/client/utils/ui-util.js +1 -1
  51. package/client/utils/value-util.js +1 -1
  52. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  53. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  54. package/client/viewparts/dynamic-menu-part.js +11 -11
  55. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  56. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  57. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  58. package/package.json +5 -5
  59. package/server/activity/CommonActivity.js +2 -2
  60. package/server/constants/error-code.js +1 -1
  61. package/server/errors/license-error.js +1 -1
  62. package/server/routes.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  64. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  65. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  66. package/server/service/grid-personalize/grid-personalize.js +1 -1
  67. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  68. package/server/service/meta-activity/meta-activity-query.js +1 -1
  69. package/server/service/meta-activity/meta-activity-type.js +1 -1
  70. package/server/service/meta-secret/meta-resolver.js +1 -1
  71. package/server/service/set-translations/set-translation-resolver.js +1 -1
  72. package/server/service/work-code/work-code-mutation.js +1 -1
  73. package/server/service/work-code/work-code-query.js +1 -1
  74. package/server/service/work-code/work-code-type.js +1 -1
  75. package/server/service/work-code/work-code.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  77. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  78. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  79. package/server/service/work-code-detail/work-code-detail.js +1 -1
  80. package/translations/ja.json +75 -0
  81. package/client/component/editor/ox-grist-editor-resource-selector.js +0 -9
  82. package/client/component/grist/selector/ox-resource-code-selector-popup.js +0 -40
  83. package/client/component/renderer/ox-grist-renderer-resource-column.js +0 -1
  84. package/client/component/renderer/ox-grist-renderer-resource-selector.js +0 -1
  85. package/client/component/selector/ox-resource-selector-popup.js +0 -40
@@ -1 +1 @@
1
- const a0_0x14a0ea=a0_0x11b0;(function(_0x17eef1,_0xf5124c){const _0x440028=a0_0x11b0,_0x411d4e=_0x17eef1();while(!![]){try{const _0x2b0046=parseInt(_0x440028(0x1ad))/0x1+-parseInt(_0x440028(0x185))/0x2*(parseInt(_0x440028(0x19e))/0x3)+-parseInt(_0x440028(0x1b8))/0x4+parseInt(_0x440028(0x188))/0x5+parseInt(_0x440028(0x18e))/0x6*(parseInt(_0x440028(0x1af))/0x7)+-parseInt(_0x440028(0x19d))/0x8*(parseInt(_0x440028(0x1a9))/0x9)+parseInt(_0x440028(0x17f))/0xa;if(_0x2b0046===_0xf5124c)break;else _0x411d4e['push'](_0x411d4e['shift']());}catch(_0x5a16ae){_0x411d4e['push'](_0x411d4e['shift']());}}}(a0_0x4164,0x53694));import{html}from'lit';function a0_0x4164(){const _0x32de60=['24ZkkSwu','2010117YBwXwK','fetch','filterForm','grid','masterElement','operator','grist','name','searchConfig','value','shadowRoot','700443dELRKp','useFilterForm','useMasterFilterForm','type','4658YtiDDr','search','35icDeLG','firstUpdated','grid_column','styles','useButtonImport','gridConfig','properties','ox-filters-form-base','clear','374840XGLCnS','5447300BYCZqY','parseGridConfigSet','pageInitialized','getAndParseMenuMeta','context','gristId','2IsIUlJ','getMainGrist','importable','878045LpZzWE','getContextObject','searchFieldValues','connectedCallback','options','isPage','736662PZNgRW','querySelector','gristConfigSet','filter','useButtonExport','columns','parseGristConfigs','exportable','buttonConfig','getBasicMainTabStyles','beforeFetch','filterFormId','isElement','record','actions'];a0_0x4164=function(){return _0x32de60;};return a0_0x4164();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x11b0(_0x38d086,_0x18f78d){const _0x41644e=a0_0x4164();return a0_0x11b0=function(_0x11b0c5,_0x57f119){_0x11b0c5=_0x11b0c5-0x17f;let _0x332bb6=_0x41644e[_0x11b0c5];return _0x332bb6;},a0_0x11b0(_0x38d086,_0x18f78d);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0xf2a899=>class extends MetaButtonMixin(_0xf2a899){static get[a0_0x14a0ea(0x1b2)](){const _0x13d5e8=a0_0x14a0ea;return MetaApi[_0x13d5e8(0x197)]();}static get[a0_0x14a0ea(0x1b5)](){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};}get['grist'](){const _0x3e2925=a0_0x14a0ea;return this[_0x3e2925(0x1a2)][_0x3e2925(0x186)]();}get[a0_0x14a0ea(0x1a0)](){const _0x3af8a7=a0_0x14a0ea;return this[_0x3af8a7(0x1a8)]?.[_0x3af8a7(0x18f)](this[_0x3af8a7(0x199)]);}get[a0_0x14a0ea(0x183)](){const _0x3e06a7=a0_0x14a0ea;let _0x4f7a27=MetaUiUtil[_0x3e06a7(0x189)](this);return _0x4f7a27[_0x3e06a7(0x19c)]&&delete _0x4f7a27['actions'],_0x4f7a27[_0x3e06a7(0x195)]&&delete _0x4f7a27[_0x3e06a7(0x195)],_0x4f7a27[_0x3e06a7(0x187)]&&delete _0x4f7a27['importable'],_0x4f7a27;}async[a0_0x14a0ea(0x18b)](){const _0x55e5ae=a0_0x14a0ea;this[_0x55e5ae(0x184)]='ox-grist',this['filterFormId']=_0x55e5ae(0x1b6),await this[_0x55e5ae(0x182)](),this[_0x55e5ae(0x19a)]&&await this[_0x55e5ae(0x194)](),this['activityDataSet']&&(this['dataSet']=(this['activityDataSet']||{})['main']),super['connectedCallback']&&await super[_0x55e5ae(0x18b)]();}async['firstUpdated'](){const _0x1082de=a0_0x14a0ea;super[_0x1082de(0x1b0)]&&await super[_0x1082de(0x1b0)]();}async[a0_0x14a0ea(0x181)](){const _0x425aff=a0_0x14a0ea;this[_0x425aff(0x18d)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x425aff(0x181)]();}['render'](){return MetaApi['getMainTabHtml'](this);}['parseBasicGridConfigs'](_0x4e213b){const _0x164f55=a0_0x14a0ea;this[_0x164f55(0x1b4)]=_0x4e213b[_0x164f55(0x1a1)],this['gridColumnConfig']=_0x4e213b[_0x164f55(0x1b1)],this[_0x164f55(0x1a6)]=_0x4e213b[_0x164f55(0x1ae)];}async[a0_0x14a0ea(0x194)](){const _0x259579=a0_0x14a0ea;this[_0x259579(0x190)]=await MetaApi[_0x259579(0x180)](this),this[_0x259579(0x1ab)]=!0x0===this[_0x259579(0x1aa)],this[_0x259579(0x1aa)]=!0x1,this[_0x259579(0x196)]=void 0x0,this[_0x259579(0x192)]=!0x1,this[_0x259579(0x1b3)]=!0x1,this[_0x259579(0x18a)]=[],this['searchFields']=this['gristConfigSet'][_0x259579(0x193)][_0x259579(0x191)](_0xdda840=>_0xdda840[_0x259579(0x191)])['map'](_0x3fbf06=>{const _0xdd1e0b=_0x259579;let _0xd24d7f={'name':_0x3fbf06[_0xdd1e0b(0x191)][_0xdd1e0b(0x1a5)]?_0x3fbf06[_0xdd1e0b(0x191)]['name']:_0x3fbf06[_0xdd1e0b(0x1a5)],'type':_0xdd1e0b(0x1ae)===_0x3fbf06['filter']['operator']?_0xdd1e0b(0x1ae):_0x3fbf06[_0xdd1e0b(0x1ac)],'label':_0x3fbf06['header'],'operator':_0x3fbf06[_0xdd1e0b(0x191)][_0xdd1e0b(0x1a3)]?_0x3fbf06[_0xdd1e0b(0x191)]['operator']:'eq'};return _0x3fbf06[_0xdd1e0b(0x19b)][_0xdd1e0b(0x18c)]&&(_0xd24d7f['options']=_0x3fbf06[_0xdd1e0b(0x19b)][_0xdd1e0b(0x18c)]),_0x3fbf06[_0xdd1e0b(0x191)][_0xdd1e0b(0x1a7)]&&this['searchFieldValues']['push']({'name':_0xd24d7f[_0xdd1e0b(0x1a5)],'operator':_0xd24d7f['operator'],'value':_0x3fbf06[_0xdd1e0b(0x191)]['value']}),delete _0x3fbf06[_0xdd1e0b(0x191)],_0xd24d7f;});}async['fetch'](){const _0x1222bd=a0_0x14a0ea;await this[_0x1222bd(0x1a4)][_0x1222bd(0x19f)]();}async[a0_0x14a0ea(0x198)]({page:_0x33433f=0x0,limit:_0x393d05=0x0,sortings:_0x415372=[],filters:_0x4ab79c=[]}){const _0x2008ab=a0_0x14a0ea;return this[_0x2008ab(0x1a2)]&&this[_0x2008ab(0x1a2)][_0x2008ab(0x1b7)]&&await this['masterElement'][_0x2008ab(0x1b7)](),!0x0;}['getData'](){const _0x47d215=a0_0x14a0ea;return{'master':this[_0x47d215(0x1a2)]['getData']()};}};
1
+ const a0_0x101966=a0_0x6552;(function(_0x14c4eb,_0x581b73){const _0x1dcdfe=a0_0x6552,_0x3d6cd6=_0x14c4eb();while(!![]){try{const _0x5dd923=parseInt(_0x1dcdfe(0x14b))/0x1+-parseInt(_0x1dcdfe(0x14f))/0x2*(parseInt(_0x1dcdfe(0x14c))/0x3)+parseInt(_0x1dcdfe(0x127))/0x4+parseInt(_0x1dcdfe(0x135))/0x5*(-parseInt(_0x1dcdfe(0x158))/0x6)+parseInt(_0x1dcdfe(0x12b))/0x7*(parseInt(_0x1dcdfe(0x15e))/0x8)+-parseInt(_0x1dcdfe(0x148))/0x9*(-parseInt(_0x1dcdfe(0x150))/0xa)+parseInt(_0x1dcdfe(0x146))/0xb*(-parseInt(_0x1dcdfe(0x142))/0xc);if(_0x5dd923===_0x581b73)break;else _0x3d6cd6['push'](_0x3d6cd6['shift']());}catch(_0x4d8835){_0x3d6cd6['push'](_0x3d6cd6['shift']());}}}(a0_0x34b3,0x6fe82));import{html}from'lit';function a0_0x34b3(){const _0x544f69=['push','buttonConfig','fetch','1025quMhUs','masterElement','exportable','grid_column','value','columns','activityDataSet','useFilterForm','actions','gridColumnConfig','render','grid','search','6431124bwYFAx','filterFormId','styles','connectedCallback','11ipBEmV','header','207TTawjU','getData','searchFieldValues','77487hFyGEn','68313MOYgnw','record','importable','26yQIrQb','164390cMPRag','parseGristConfigs','filter','getMainGrist','gristConfigSet','type','getMainTabHtml','ox-grist','3294XAqFvP','useMasterFilterForm','isElement','firstUpdated','querySelector','parseBasicGridConfigs','8hdPeIq','2248152JrWiQZ','gridConfig','clear','pageInitialized','2696701pLjlkg','operator','dataSet','name','grist','options','beforeFetch'];a0_0x34b3=function(){return _0x544f69;};return a0_0x34b3();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x6552(_0x14693f,_0x2e27ee){const _0x34b32d=a0_0x34b3();return a0_0x6552=function(_0x6552aa,_0x474163){_0x6552aa=_0x6552aa-0x127;let _0x263ae8=_0x34b32d[_0x6552aa];return _0x263ae8;},a0_0x6552(_0x14693f,_0x2e27ee);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x20636e=>class extends MetaButtonMixin(_0x20636e){static get[a0_0x101966(0x144)](){return MetaApi['getBasicMainTabStyles']();}static get['properties'](){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};}get[a0_0x101966(0x12f)](){const _0x4464b4=a0_0x101966;return this['masterElement'][_0x4464b4(0x153)]();}get['filterForm'](){const _0x395f35=a0_0x101966;return this['shadowRoot']?.[_0x395f35(0x15c)](this[_0x395f35(0x143)]);}get['context'](){const _0x27f341=a0_0x101966;let _0x4cf08f=MetaUiUtil['getContextObject'](this);return _0x4cf08f[_0x27f341(0x13d)]&&delete _0x4cf08f[_0x27f341(0x13d)],_0x4cf08f[_0x27f341(0x137)]&&delete _0x4cf08f[_0x27f341(0x137)],_0x4cf08f[_0x27f341(0x14e)]&&delete _0x4cf08f[_0x27f341(0x14e)],_0x4cf08f;}async[a0_0x101966(0x145)](){const _0x50ee2d=a0_0x101966;this['gristId']=_0x50ee2d(0x157),this[_0x50ee2d(0x143)]='ox-filters-form-base',await this['getAndParseMenuMeta'](),this[_0x50ee2d(0x15a)]&&await this[_0x50ee2d(0x151)](),this[_0x50ee2d(0x13b)]&&(this[_0x50ee2d(0x12d)]=(this[_0x50ee2d(0x13b)]||{})['main']),super[_0x50ee2d(0x145)]&&await super[_0x50ee2d(0x145)]();}async[a0_0x101966(0x15b)](){const _0x1af5da=a0_0x101966;super[_0x1af5da(0x15b)]&&await super['firstUpdated']();}async[a0_0x101966(0x12a)](){const _0x36011e=a0_0x101966;this['isPage']&&await this[_0x36011e(0x151)](),super[_0x36011e(0x12a)]&&await super[_0x36011e(0x12a)]();}[a0_0x101966(0x13f)](){const _0x39b26b=a0_0x101966;return MetaApi[_0x39b26b(0x156)](this);}[a0_0x101966(0x15d)](_0x5c329f){const _0x53b39e=a0_0x101966;this[_0x53b39e(0x128)]=_0x5c329f[_0x53b39e(0x140)],this[_0x53b39e(0x13e)]=_0x5c329f[_0x53b39e(0x138)],this['searchConfig']=_0x5c329f[_0x53b39e(0x141)];}async[a0_0x101966(0x151)](){const _0x1f12f3=a0_0x101966;this[_0x1f12f3(0x154)]=await MetaApi['parseGridConfigSet'](this),this[_0x1f12f3(0x159)]=!0x0===this[_0x1f12f3(0x13c)],this[_0x1f12f3(0x13c)]=!0x1,this[_0x1f12f3(0x133)]=void 0x0,this['useButtonExport']=!0x1,this['useButtonImport']=!0x1,this[_0x1f12f3(0x14a)]=[],this['searchFields']=this[_0x1f12f3(0x154)][_0x1f12f3(0x13a)][_0x1f12f3(0x152)](_0x36c963=>_0x36c963[_0x1f12f3(0x152)])['map'](_0x46985e=>{const _0x3825f5=_0x1f12f3;let _0xa57c54={'name':_0x46985e[_0x3825f5(0x12e)],'type':_0x3825f5(0x141)===_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x12c)]?_0x3825f5(0x141):_0x46985e[_0x3825f5(0x155)],'label':_0x46985e[_0x3825f5(0x147)],'operator':_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x12c)]?_0x46985e[_0x3825f5(0x152)]['operator']:'eq'};return _0x46985e['filter'][_0x3825f5(0x130)]&&(_0xa57c54['options']=_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x130)]),_0x46985e[_0x3825f5(0x14d)]['options']&&(_0xa57c54[_0x3825f5(0x130)]=_0x46985e[_0x3825f5(0x14d)][_0x3825f5(0x130)]),_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x139)]&&this[_0x3825f5(0x14a)][_0x3825f5(0x132)]({'name':_0xa57c54[_0x3825f5(0x12e)],'operator':_0xa57c54[_0x3825f5(0x12c)],'value':_0x46985e['filter'][_0x3825f5(0x139)]}),delete _0x46985e['filter'],_0xa57c54;});}async['fetch'](){const _0x29988=a0_0x101966;await this[_0x29988(0x12f)][_0x29988(0x134)]();}async[a0_0x101966(0x131)]({page:_0x4735e3=0x0,limit:_0x13ccfb=0x0,sortings:_0x12d8eb=[],filters:_0x548878=[]}){const _0xb7b15e=a0_0x101966;return this[_0xb7b15e(0x136)]&&this[_0xb7b15e(0x136)][_0xb7b15e(0x129)]&&await this[_0xb7b15e(0x136)][_0xb7b15e(0x129)](),!0x0;}[a0_0x101966(0x149)](){const _0x512d6c=a0_0x101966;return{'master':this[_0x512d6c(0x136)]['getData']()};}};
@@ -1 +1 @@
1
- const a0_0x5af99b=a0_0x39ff;(function(_0xb698b3,_0x32cb4d){const _0x38584=a0_0x39ff,_0x106fde=_0xb698b3();while(!![]){try{const _0x506f22=-parseInt(_0x38584(0x16d))/0x1*(-parseInt(_0x38584(0x161))/0x2)+parseInt(_0x38584(0x138))/0x3*(parseInt(_0x38584(0x14d))/0x4)+-parseInt(_0x38584(0x123))/0x5+parseInt(_0x38584(0x155))/0x6*(parseInt(_0x38584(0x13a))/0x7)+-parseInt(_0x38584(0x165))/0x8+parseInt(_0x38584(0x143))/0x9+-parseInt(_0x38584(0x14f))/0xa*(parseInt(_0x38584(0x151))/0xb);if(_0x506f22===_0x32cb4d)break;else _0x106fde['push'](_0x106fde['shift']());}catch(_0x12cab5){_0x106fde['push'](_0x106fde['shift']());}}}(a0_0x5f41,0x3f933));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x39ff(_0x48f98d,_0x1cb47f){const _0x5f415b=a0_0x5f41();return a0_0x39ff=function(_0x39ff39,_0x9e478f){_0x39ff39=_0x39ff39-0x120;let _0x176db3=_0x5f415b[_0x39ff39];return _0x176db3;},a0_0x39ff(_0x48f98d,_0x1cb47f);}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 MetaMasterDetailMixin=_0x2f7cb0=>class extends MetaButtonMixin(_0x2f7cb0){static get['styles'](){const _0x18ff7c=a0_0x39ff;return MetaApi[_0x18ff7c(0x135)]();}static get[a0_0x5af99b(0x124)](){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_0x5af99b(0x148)](){const _0x4e9eee=a0_0x5af99b;return this[_0x4e9eee(0x141)][_0x4e9eee(0x13e)](this['gristId']);}get[a0_0x5af99b(0x146)](){const _0x7a91be=a0_0x5af99b;return this[_0x7a91be(0x12d)]?.['querySelector'](this[_0x7a91be(0x15e)]);}get[a0_0x5af99b(0x14a)](){const _0x438b64=a0_0x5af99b;let _0x156a0f=MetaUiUtil[_0x438b64(0x15d)](this);return _0x156a0f['actions']&&delete _0x156a0f[_0x438b64(0x15c)],_0x156a0f[_0x438b64(0x160)]&&delete _0x156a0f[_0x438b64(0x160)],_0x156a0f[_0x438b64(0x136)]&&delete _0x156a0f['importable'],_0x156a0f;}async[a0_0x5af99b(0x153)](){const _0x52753c=a0_0x5af99b;this[_0x52753c(0x13f)]='ox-grist',this['filterFormId']=_0x52753c(0x120),await this[_0x52753c(0x121)](),this[_0x52753c(0x144)]&&await this['parseGristConfigs'](),this[_0x52753c(0x127)]&&(this[_0x52753c(0x125)]=(this[_0x52753c(0x127)]||{})['main']),super[_0x52753c(0x153)]&&await super[_0x52753c(0x153)]();}async['firstUpdated'](){super['firstUpdated']&&await super['firstUpdated']();}async[a0_0x5af99b(0x16a)](){const _0x44ec48=a0_0x5af99b;this['isPage']&&await this[_0x44ec48(0x145)](),super[_0x44ec48(0x16a)]&&await super[_0x44ec48(0x16a)]();}[a0_0x5af99b(0x12c)](){const _0x5c6ef5=a0_0x5af99b;return MetaApi[_0x5c6ef5(0x154)](this);}[a0_0x5af99b(0x157)](_0x2f3a8e){const _0x3bcd80=a0_0x5af99b;this[_0x3bcd80(0x12b)]=_0x2f3a8e['grid'],this['gridColumnConfig']=_0x2f3a8e[_0x3bcd80(0x16c)],this[_0x3bcd80(0x140)]=_0x2f3a8e[_0x3bcd80(0x15f)];}async['parseGristConfigs'](){const _0x38e78b=a0_0x5af99b;this['gristConfigSet']=await MetaApi[_0x38e78b(0x12a)](this),this[_0x38e78b(0x147)]=!0x0===this[_0x38e78b(0x150)],this[_0x38e78b(0x150)]=!0x1,this['searchFieldValues']=[],this[_0x38e78b(0x134)]=this[_0x38e78b(0x133)][_0x38e78b(0x164)][_0x38e78b(0x131)](_0x31c5d4=>_0x31c5d4[_0x38e78b(0x131)])[_0x38e78b(0x16b)](_0x6c1535=>{const _0x537862=_0x38e78b;let _0x540877={'name':_0x6c1535[_0x537862(0x131)]['name']?_0x6c1535[_0x537862(0x131)][_0x537862(0x167)]:_0x6c1535[_0x537862(0x167)],'type':'search'===_0x6c1535[_0x537862(0x131)][_0x537862(0x159)]?_0x537862(0x15f):_0x6c1535[_0x537862(0x13b)],'label':_0x6c1535['header'],'operator':_0x6c1535[_0x537862(0x131)]['operator']?_0x6c1535[_0x537862(0x131)][_0x537862(0x159)]:'eq'};return _0x6c1535[_0x537862(0x132)]['options']&&(_0x540877['options']=_0x6c1535['record']['options']),_0x6c1535['filter']['value']&&this[_0x537862(0x13d)][_0x537862(0x14c)]({'name':_0x540877['name'],'operator':_0x540877[_0x537862(0x159)],'value':_0x6c1535[_0x537862(0x131)][_0x537862(0x128)]}),delete _0x6c1535[_0x537862(0x131)],_0x540877;});}async[a0_0x5af99b(0x129)](){const _0xbf54e9=a0_0x5af99b;await this[_0xbf54e9(0x148)]['fetch']();}async['beforeFetch']({page:_0x209d33=0x0,limit:_0x1a573a=0x0,sortings:_0x3c8ae3=[],filters:_0x3ced7c=[]}){const _0x7cc3aa=a0_0x5af99b;return this[_0x7cc3aa(0x137)]&&this[_0x7cc3aa(0x137)][_0x7cc3aa(0x15b)]&&await this[_0x7cc3aa(0x137)]['clear'](),!0x0;}async[a0_0x5af99b(0x15a)](){const _0x38e7bb=a0_0x5af99b;let _0x52056f=MetaApi[_0x38e7bb(0x13c)](this['grist']);!!ValueUtil[_0x38e7bb(0x156)](_0x52056f)&&await this[_0x38e7bb(0x152)](_0x52056f)&&this[_0x38e7bb(0x129)]();}async[a0_0x5af99b(0x169)](){const _0x2f3938=a0_0x5af99b;let _0x24e748=MetaApi[_0x2f3938(0x163)](this[_0x2f3938(0x148)],!0x0);return ValueUtil['isNotEmpty'](_0x24e748)?await this[_0x2f3938(0x12f)](_0x24e748[0x0]):{};}async['delete'](){const _0x25a6ab=a0_0x5af99b;let _0x9346de=MetaApi[_0x25a6ab(0x163)](this[_0x25a6ab(0x148)],!0x0);!!ValueUtil['isNotEmpty'](_0x9346de)&&await this[_0x25a6ab(0x158)](_0x9346de)&&this[_0x25a6ab(0x129)]();}async['export'](){const _0x223276=a0_0x5af99b;let _0x4a8b00=TermsUtil[_0x223276(0x12e)](ValueUtil[_0x223276(0x14b)](this['menuInfo'],_0x223276(0x14e)));return await MetaApi[_0x223276(0x139)](this[_0x223276(0x144)],_0x4a8b00,this[_0x223276(0x148)]);}async[a0_0x5af99b(0x162)](){}[a0_0x5af99b(0x122)](){const _0x4c4ce1=a0_0x5af99b;let _0x5c6979=this[_0x4c4ce1(0x148)]['___data'][_0x4c4ce1(0x168)];return _0x5c6979=JSON[_0x4c4ce1(0x126)](JSON[_0x4c4ce1(0x166)](_0x5c6979)),_0x5c6979[_0x4c4ce1(0x130)](_0x408314=>{const _0x135e6a=_0x4c4ce1;Object[_0x135e6a(0x149)](_0x408314)[_0x135e6a(0x130)](_0x55d4d9=>{const _0xc1c1a9=_0x135e6a;_0x55d4d9[_0xc1c1a9(0x142)]('__')&&delete _0x408314[_0x55d4d9];});}),{'main':_0x5c6979,'detail':this[_0x4c4ce1(0x137)]['getData']()};}};function a0_0x5f41(){const _0x331e4e=['name','records','find','pageInitialized','map','grid_column','43PJWNSd','ox-filters-form-base','getAndParseMenuMeta','getData','2097330UZWJwf','properties','dataSet','parse','activityDataSet','value','fetch','parseGridConfigSet','gridConfig','render','shadowRoot','tTitle','findOne','forEach','filter','record','gristConfigSet','searchFields','getBasicMasterDetailStyles','importable','detailElement','75aWSZjV','exportableData','3745oVeORQ','type','patchesForUpdateMultiple','searchFieldValues','querySelector','gristId','searchConfig','renderRoot','startsWith','2836359zHryeS','isElement','parseGristConfigs','filterForm','useMasterFilterForm','grist','keys','context','getParams','push','59720QtRzAG','title','310iJJLxs','useFilterForm','173690GCqIli','updateMultiple','connectedCallback','getMasterDetailHtml','930ytMMkV','isNotEmpty','parseBasicGridConfigs','deleteByIds','operator','save','clear','actions','getContextObject','filterFormId','search','exportable','19742xpKqql','import','getSelectedIdList','columns','211360PGokPz','stringify'];a0_0x5f41=function(){return _0x331e4e;};return a0_0x5f41();}
1
+ const a0_0x24e99c=a0_0x5348;(function(_0x43d23e,_0x261f33){const _0x5e705f=a0_0x5348,_0x25a0f8=_0x43d23e();while(!![]){try{const _0x36e9d6=parseInt(_0x5e705f(0xde))/0x1+-parseInt(_0x5e705f(0xc6))/0x2+parseInt(_0x5e705f(0xc8))/0x3+-parseInt(_0x5e705f(0xca))/0x4*(-parseInt(_0x5e705f(0xf2))/0x5)+-parseInt(_0x5e705f(0xf7))/0x6+-parseInt(_0x5e705f(0xc5))/0x7*(-parseInt(_0x5e705f(0xf6))/0x8)+-parseInt(_0x5e705f(0x103))/0x9*(parseInt(_0x5e705f(0xda))/0xa);if(_0x36e9d6===_0x261f33)break;else _0x25a0f8['push'](_0x25a0f8['shift']());}catch(_0x5c2d34){_0x25a0f8['push'](_0x25a0f8['shift']());}}}(a0_0x2f9f,0x78fb2));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x2f9f(){const _0x57cf0a=['2976690aXyFRL','type','grid_column','querySelector','value','fetch','searchConfig','map','isPage','find','findOne','name','90TtFlrU','deleteByIds','forEach','keys','searchFieldValues','context','tTitle','shadowRoot','detailElement','records','push','dataSet','exportable','title','patchesForUpdateMultiple','parseGridConfigSet','exportableData','connectedCallback','styles','activityDataSet','pageInitialized','146881vYMuQr','775828EHQBCH','header','1409826iQUuSO','parseGristConfigs','4htVHUW','___data','save','getSelectedIdList','properties','firstUpdated','filterFormId','filterForm','parseBasicGridConfigs','columns','beforeFetch','import','export','isElement','filter','grist','712870xBRqjz','ox-filters-form-base','operator','record','813782fMKQzG','gristConfigSet','getMasterDetailHtml','grid','gristId','parse','getData','getParams','ox-grist','clear','useFilterForm','gridColumnConfig','main','isNotEmpty','options','updateMultiple','startsWith','delete','menuInfo','search','2784585IYgEqQ','useMasterFilterForm','renderRoot','importable','96ShWFTf'];a0_0x2f9f=function(){return _0x57cf0a;};return a0_0x2f9f();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x5348(_0x18b463,_0x4521b5){const _0x2f9ff7=a0_0x2f9f();return a0_0x5348=function(_0x5348f3,_0x8c650e){_0x5348f3=_0x5348f3-0xb9;let _0x2d5ad9=_0x2f9ff7[_0x5348f3];return _0x2d5ad9;},a0_0x5348(_0x18b463,_0x4521b5);}export const MetaMasterDetailMixin=_0x444f26=>class extends MetaButtonMixin(_0x444f26){static get[a0_0x24e99c(0xc2)](){return MetaApi['getBasicMasterDetailStyles']();}static get[a0_0x24e99c(0xce)](){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_0x24e99c(0xd9)](){const _0x304abf=a0_0x24e99c;return this[_0x304abf(0xf4)][_0x304abf(0xfa)](this[_0x304abf(0xe2)]);}get[a0_0x24e99c(0xd1)](){const _0x362de8=a0_0x24e99c;return this[_0x362de8(0x10a)]?.['querySelector'](this[_0x362de8(0xd0)]);}get[a0_0x24e99c(0x108)](){const _0x59290f=a0_0x24e99c;let _0x1f2e25=MetaUiUtil['getContextObject'](this);return _0x1f2e25['actions']&&delete _0x1f2e25['actions'],_0x1f2e25[_0x59290f(0xbc)]&&delete _0x1f2e25[_0x59290f(0xbc)],_0x1f2e25['importable']&&delete _0x1f2e25[_0x59290f(0xf5)],_0x1f2e25;}async[a0_0x24e99c(0xc1)](){const _0x305c59=a0_0x24e99c;this['gristId']=_0x305c59(0xe6),this['filterFormId']=_0x305c59(0xdb),await this['getAndParseMenuMeta'](),this[_0x305c59(0xd7)]&&await this[_0x305c59(0xc9)](),this[_0x305c59(0xc3)]&&(this[_0x305c59(0xbb)]=(this['activityDataSet']||{})[_0x305c59(0xea)]),super[_0x305c59(0xc1)]&&await super[_0x305c59(0xc1)]();}async[a0_0x24e99c(0xcf)](){const _0x43a74c=a0_0x24e99c;super['firstUpdated']&&await super[_0x43a74c(0xcf)]();}async[a0_0x24e99c(0xc4)](){const _0x4b02f6=a0_0x24e99c;this[_0x4b02f6(0xff)]&&await this[_0x4b02f6(0xc9)](),super['pageInitialized']&&await super[_0x4b02f6(0xc4)]();}['render'](){const _0x59c9a7=a0_0x24e99c;return MetaApi[_0x59c9a7(0xe0)](this);}[a0_0x24e99c(0xd2)](_0x56514f){const _0x90e8df=a0_0x24e99c;this['gridConfig']=_0x56514f[_0x90e8df(0xe1)],this[_0x90e8df(0xe9)]=_0x56514f[_0x90e8df(0xf9)],this[_0x90e8df(0xfd)]=_0x56514f[_0x90e8df(0xf1)];}async[a0_0x24e99c(0xc9)](){const _0x493e91=a0_0x24e99c;this[_0x493e91(0xdf)]=await MetaApi[_0x493e91(0xbf)](this),this[_0x493e91(0xf3)]=!0x0===this[_0x493e91(0xe8)],this['useFilterForm']=!0x1,this['searchFieldValues']=[],this['searchFields']=this['gristConfigSet'][_0x493e91(0xd3)]['filter'](_0x19bcd4=>_0x19bcd4[_0x493e91(0xd8)])[_0x493e91(0xfe)](_0x495816=>{const _0x572c4d=_0x493e91;let _0x1d32da={'name':_0x495816[_0x572c4d(0x102)],'type':_0x572c4d(0xf1)===_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xdc)]?_0x572c4d(0xf1):_0x495816[_0x572c4d(0xf8)],'label':_0x495816[_0x572c4d(0xc7)],'operator':_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xdc)]?_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xdc)]:'eq'};return _0x495816[_0x572c4d(0xd8)]['options']&&(_0x1d32da[_0x572c4d(0xec)]=_0x495816[_0x572c4d(0xd8)]['options']),_0x495816[_0x572c4d(0xdd)]['options']&&(_0x1d32da[_0x572c4d(0xec)]=_0x495816[_0x572c4d(0xdd)]['options']),_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xfb)]&&this[_0x572c4d(0x107)][_0x572c4d(0xba)]({'name':_0x1d32da[_0x572c4d(0x102)],'operator':_0x1d32da[_0x572c4d(0xdc)],'value':_0x495816['filter']['value']}),delete _0x495816[_0x572c4d(0xd8)],_0x1d32da;});}async[a0_0x24e99c(0xfc)](){const _0x90e583=a0_0x24e99c;await this['grist'][_0x90e583(0xfc)]();}async[a0_0x24e99c(0xd4)]({page:_0x2fc893=0x0,limit:_0x374470=0x0,sortings:_0x14634e=[],filters:_0x45b273=[]}){const _0x135484=a0_0x24e99c;return this[_0x135484(0x10b)]&&this['detailElement']['clear']&&await this[_0x135484(0x10b)][_0x135484(0xe7)](),!0x0;}async[a0_0x24e99c(0xcc)](){const _0x48dc0c=a0_0x24e99c;let _0x3627cf=MetaApi[_0x48dc0c(0xbe)](this['grist']);!!ValueUtil[_0x48dc0c(0xeb)](_0x3627cf)&&await this[_0x48dc0c(0xed)](_0x3627cf)&&this[_0x48dc0c(0xfc)]();}async[a0_0x24e99c(0x100)](){const _0x276143=a0_0x24e99c;let _0x5cb8d0=MetaApi[_0x276143(0xcd)](this[_0x276143(0xd9)],!0x0);return ValueUtil[_0x276143(0xeb)](_0x5cb8d0)?await this[_0x276143(0x101)](_0x5cb8d0[0x0]):{};}async[a0_0x24e99c(0xef)](){const _0x5877a3=a0_0x24e99c;let _0x13468b=MetaApi[_0x5877a3(0xcd)](this['grist'],!0x0);!!ValueUtil['isNotEmpty'](_0x13468b)&&await this[_0x5877a3(0x104)](_0x13468b)&&this['fetch']();}async[a0_0x24e99c(0xd6)](){const _0x58d10f=a0_0x24e99c;let _0x1595a2=TermsUtil[_0x58d10f(0x109)](ValueUtil[_0x58d10f(0xe5)](this[_0x58d10f(0xf0)],_0x58d10f(0xbd)));return await MetaApi[_0x58d10f(0xc0)](this[_0x58d10f(0xd7)],_0x1595a2,this[_0x58d10f(0xd9)]);}async[a0_0x24e99c(0xd5)](){}[a0_0x24e99c(0xe4)](){const _0x2f0d0c=a0_0x24e99c;let _0x26b3dd=this[_0x2f0d0c(0xd9)][_0x2f0d0c(0xcb)][_0x2f0d0c(0xb9)];return _0x26b3dd=JSON[_0x2f0d0c(0xe3)](JSON['stringify'](_0x26b3dd)),_0x26b3dd[_0x2f0d0c(0x105)](_0x32e7=>{const _0x5c7fb7=_0x2f0d0c;Object[_0x5c7fb7(0x106)](_0x32e7)[_0x5c7fb7(0x105)](_0x2cc317=>{const _0x14b55a=_0x5c7fb7;_0x2cc317[_0x14b55a(0xee)]('__')&&delete _0x32e7[_0x2cc317];});}),{'main':_0x26b3dd,'detail':this['detailElement'][_0x2f0d0c(0xe4)]()};}};
@@ -1 +1 @@
1
- function a0_0x34a2(_0x186deb,_0x40a075){const _0xff32bd=a0_0xff32();return a0_0x34a2=function(_0x34a2eb,_0x465a13){_0x34a2eb=_0x34a2eb-0xdb;let _0x4149d2=_0xff32bd[_0x34a2eb];return _0x4149d2;},a0_0x34a2(_0x186deb,_0x40a075);}const a0_0xa4d8a=a0_0x34a2;(function(_0x17f683,_0x3beddc){const _0x4b82b6=a0_0x34a2,_0x14dec8=_0x17f683();while(!![]){try{const _0x3d73a5=-parseInt(_0x4b82b6(0xfd))/0x1*(parseInt(_0x4b82b6(0x102))/0x2)+-parseInt(_0x4b82b6(0xe4))/0x3*(parseInt(_0x4b82b6(0xeb))/0x4)+parseInt(_0x4b82b6(0xe7))/0x5+parseInt(_0x4b82b6(0xdf))/0x6+parseInt(_0x4b82b6(0xfe))/0x7+-parseInt(_0x4b82b6(0x109))/0x8+parseInt(_0x4b82b6(0xee))/0x9;if(_0x3d73a5===_0x3beddc)break;else _0x14dec8['push'](_0x14dec8['shift']());}catch(_0x2c56ff){_0x14dec8['push'](_0x14dec8['shift']());}}}(a0_0xff32,0xc2d47));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';function a0_0xff32(){const _0x599caa=['value','getSelectColumns','findOne','keys','infinityPage','updateMultiple','isArray','fetchHandler','gqlInfo','filters','lifecycle','4222902flNfLg','forEach','map','params','query','3wuGLVO','find_one_func','mutation','5148800xueQZd','filterForm','formConfigSet','beforeFetch','3290580DpzLno','delete','isEmpty','9167742mEvdQH','searchByPagination','getQueryFilters','name','parent_id','func','afterFetch','getParams','records','includes','after_set_fields','skip_fields','length','dataSet','is_activity','894485dAcwGT','2278262VUorcv','multiple','deleteListByIds','filter','2zDoDUS','isElement','pass','gristConfigSet','isNotEmpty','list_func','mainFilterForm','4500224zzoHch','getPageNavigateParams','split'];a0_0xff32=function(){return _0x599caa;};return a0_0xff32();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0xf30d0f=>class extends MetaBaseMixin(_0xf30d0f){static get['properties'](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x55d7f0){const _0x48f5ee=a0_0x34a2;this[_0x48f5ee(0xdc)]=_0x55d7f0['gql'];}async[a0_0xa4d8a(0xdb)]({page:_0x3d227f=0x0,limit:_0x263aec=0x0,sortings:_0x4ccb52=[],filters:_0x4f3e20=[]}){const _0x28a1df=a0_0xa4d8a;if(this[_0x28a1df(0xfc)])return{'total':0x0,'records':this[_0x28a1df(0xfb)]||[]};if(!0x0===this[_0x28a1df(0x110)]&&(_0x3d227f=0x0,_0x263aec=0x0),this[_0x28a1df(0xea)]&&0x0==await this['beforeFetch']({'page':_0x3d227f,'limit':_0x263aec,'sortings':_0x4ccb52,'filters':_0x4f3e20}))return;if(!this[_0x28a1df(0x105)])return{'total':0x0,'records':[]};let _0x2cb061=ValueUtil[_0x28a1df(0xed)](_0x4f3e20)?this['mainFilterForm']?await this[_0x28a1df(0x108)][_0x28a1df(0xf0)]()||[]:await this[_0x28a1df(0xe8)]?.[_0x28a1df(0xf0)]()||[]:_0x4f3e20,_0x208783=ValueUtil[_0x28a1df(0xf5)](this['gqlInfo'],'query',_0x28a1df(0x107)),_0x516c78=ValueUtil[_0x28a1df(0xf5)](this[_0x28a1df(0xdc)],'query',_0x28a1df(0xdd)),_0x8dbd2a=ValueUtil[_0x28a1df(0xf5)](this['gqlInfo'],_0x28a1df(0xe3),_0x28a1df(0xf8));if(ValueUtil[_0x28a1df(0x106)](_0x516c78)&&(_0x2cb061=adjustFilters(_0x2cb061,_0x516c78)),_0x2cb061['push'](...this[_0x28a1df(0x10a)]()),this[_0x28a1df(0x103)]&&!this['mainFilterForm']){let _0x292327=ValueUtil['getParams'](this[_0x28a1df(0xdc)],_0x28a1df(0xe3),_0x28a1df(0xf2));if(!ValueUtil[_0x28a1df(0x106)](_0x292327)||!ValueUtil[_0x28a1df(0x106)](this[_0x28a1df(0xf2)]))return{'total':0x0,'records':[]};_0x2cb061=adjustFilters(_0x2cb061,[{'name':_0x292327,'operator':'eq','value':this['parent_id']}]);}let _0x288101=Object[_0x28a1df(0x10f)](_0x8dbd2a||{}),_0x53136c=MetaApi['getSelectColumns'](this[_0x28a1df(0x105)]['columns'][_0x28a1df(0x101)](_0x125fdb=>!_0x288101[_0x28a1df(0xf7)](_0x125fdb[_0x28a1df(0xf1)]))),_0x34a210=await MetaApi[_0x28a1df(0xef)](_0x208783,_0x2cb061,_0x4ccb52,_0x3d227f,_0x263aec,_0x53136c);if(this['afterFetch']){let _0x20135f=await this[_0x28a1df(0xf4)]({'page':_0x3d227f,'limit':_0x263aec,'sortings':_0x4ccb52,'filters':_0x4f3e20},_0x34a210);if(_0x20135f)return _0x20135f;}return ValueUtil[_0x28a1df(0x106)](_0x8dbd2a)&&ValueUtil[_0x28a1df(0x106)](_0x34a210)&&ValueUtil['isNotEmpty'](_0x34a210[_0x28a1df(0xf6)])&&_0x34a210[_0x28a1df(0xf6)]['map'](_0x14be97=>(_0x288101[_0x28a1df(0xe0)](_0x344593=>{const _0x51a8a8=_0x28a1df;_0x14be97[_0x344593]=ValueUtil[_0x51a8a8(0xf5)](_0x14be97,..._0x8dbd2a[_0x344593]['split']('.'));}),_0x14be97)),_0x34a210;}[a0_0xa4d8a(0x10a)](){const _0x4d59c0=a0_0xa4d8a;if(0x0==this['isPage'])return[];let _0xc978f=this[_0x4d59c0(0xde)]?.[_0x4d59c0(0xe2)]?this[_0x4d59c0(0xde)]['params']:{};if(!_0xc978f[_0x4d59c0(0x104)])return[];let _0x5c7631=_0xc978f[_0x4d59c0(0x104)],_0x30bf20=JSON['parse'](_0x5c7631),_0x408e83=0x1==_0x30bf20[_0x4d59c0(0xfa)]?'eq':'in',_0x3055db={},_0x5b0dbe=[];return Object['keys'](_0x30bf20[0x0])[_0x4d59c0(0xe0)](_0x412a47=>{_0x3055db[_0x412a47]={'name':_0x412a47,'operator':_0x408e83,'value':'eq'===_0x408e83?_0x30bf20[0x0][_0x412a47]:[]};}),_0x30bf20[_0x4d59c0(0xfa)]>0x1&&_0x30bf20[_0x4d59c0(0xe0)](_0x2f53ae=>{const _0xfae402=_0x4d59c0;Object[_0xfae402(0x10f)](_0x2f53ae)[_0xfae402(0xe0)](_0xd15e58=>{const _0x11caf9=_0xfae402;_0x3055db[_0xd15e58][_0x11caf9(0x10c)]['push'](_0x2f53ae[_0xd15e58]);});}),Object[_0x4d59c0(0x10f)](_0x3055db)['forEach'](_0x9b7f0d=>{_0x5b0dbe['push'](_0x3055db[_0x9b7f0d]);}),_0x5b0dbe;}async[a0_0xa4d8a(0x10e)](_0x42fdbd){const _0x542c1a=a0_0xa4d8a;if(this[_0x542c1a(0xfc)])return this[_0x542c1a(0xfb)]||{};let _0x5382d8=ValueUtil[_0x542c1a(0xf5)](this[_0x542c1a(0xdc)],_0x542c1a(0xe3),_0x542c1a(0xe5)),_0x52f1b0=ValueUtil['getParams'](this[_0x542c1a(0xdc)],_0x542c1a(0xe3),_0x542c1a(0xf8)),_0x2c3e4b=Object[_0x542c1a(0x10f)](_0x52f1b0||{}),_0x47dbee=MetaApi[_0x542c1a(0x10d)]((this[_0x542c1a(0x105)]?this[_0x542c1a(0x105)]:{'columns':this[_0x542c1a(0xe9)]})['columns'][_0x542c1a(0x101)](_0x44bda6=>!_0x2c3e4b[_0x542c1a(0xf7)](_0x44bda6['name']))),_0x4f83f7=await MetaApi[_0x542c1a(0x10e)](_0x5382d8,_0x42fdbd,_0x47dbee);return ValueUtil[_0x542c1a(0x106)](_0x52f1b0)&&ValueUtil['isNotEmpty'](_0x4f83f7)&&_0x2c3e4b[_0x542c1a(0xe0)](_0x4c2a31=>{const _0x390c14=_0x542c1a;_0x4f83f7[_0x4c2a31]=ValueUtil['getParams'](_0x4f83f7,..._0x52f1b0[_0x4c2a31][_0x390c14(0x10b)]('.'));}),_0x4f83f7;}async['deleteByIds'](_0x32e872){const _0x446865=a0_0xa4d8a;let _0x366f65=ValueUtil['getParams'](this[_0x446865(0xdc)],_0x446865(0xe6),_0x446865(0xec),_0x446865(0xf3));return await MetaApi[_0x446865(0x100)](_0x32e872,_0x366f65);}async['updateMultiple'](_0x228d58){const _0x3babaf=a0_0xa4d8a;let _0x1f6c7d=ValueUtil['getParams'](this['gqlInfo'],'mutation',_0x3babaf(0xff),'func'),_0x5bd0f0=ValueUtil[_0x3babaf(0xf5)](this[_0x3babaf(0xdc)],_0x3babaf(0xe6),'multiple',_0x3babaf(0xf9));if(ValueUtil[_0x3babaf(0x106)](_0x5bd0f0)&&(_0x5bd0f0=_0x5bd0f0[_0x3babaf(0xe1)](_0x204145=>_0x204145[_0x3babaf(0xf7)]('.')?_0x204145[_0x3babaf(0x10b)]('.'):_0x204145),_0x228d58=_0x228d58[_0x3babaf(0xe1)](_0x3437f0=>(_0x5bd0f0['forEach'](_0x19b21b=>{const _0x2daabd=_0x3babaf;Array[_0x2daabd(0x112)](_0x19b21b)?delete _0x3437f0[_0x19b21b[0x0]][_0x19b21b[0x1]]:delete _0x3437f0[_0x19b21b];}),_0x3437f0))),this[_0x3babaf(0x103)]&&ValueUtil['isNotEmpty'](this[_0x3babaf(0xf2)])){let _0x35927c=ValueUtil[_0x3babaf(0xf5)](this[_0x3babaf(0xdc)],_0x3babaf(0xe6),_0x3babaf(0xff),_0x3babaf(0xf2));ValueUtil['isNotEmpty'](_0x35927c)&&_0x228d58[_0x3babaf(0xe0)](_0x445a65=>{const _0x58bb57=_0x3babaf;if(_0x35927c[_0x58bb57(0xf7)]('.')){let _0x58fb07=_0x35927c['split']('.');_0x445a65[_0x58fb07[0x0]]={},_0x445a65[_0x58fb07[0x0]][_0x58fb07[0x1]]=this[_0x58bb57(0xf2)];}else _0x445a65[_0x35927c]=this['parent_id'];});}return await MetaApi[_0x3babaf(0x111)](_0x1f6c7d,_0x228d58);}};
1
+ function a0_0x526b(_0x578a92,_0x457604){const _0x1dc7c7=a0_0x1dc7();return a0_0x526b=function(_0x526bee,_0x29dbcf){_0x526bee=_0x526bee-0x19d;let _0xaf4acd=_0x1dc7c7[_0x526bee];return _0xaf4acd;},a0_0x526b(_0x578a92,_0x457604);}const a0_0x50e576=a0_0x526b;(function(_0x59d77c,_0x44b678){const _0x4dc51a=a0_0x526b,_0x5aadd9=_0x59d77c();while(!![]){try{const _0x2573fb=-parseInt(_0x4dc51a(0x1b8))/0x1+-parseInt(_0x4dc51a(0x1d1))/0x2*(-parseInt(_0x4dc51a(0x1c8))/0x3)+parseInt(_0x4dc51a(0x1c6))/0x4+parseInt(_0x4dc51a(0x1ce))/0x5+parseInt(_0x4dc51a(0x1d0))/0x6*(parseInt(_0x4dc51a(0x1d4))/0x7)+-parseInt(_0x4dc51a(0x1a3))/0x8+-parseInt(_0x4dc51a(0x1d8))/0x9;if(_0x2573fb===_0x44b678)break;else _0x5aadd9['push'](_0x5aadd9['shift']());}catch(_0x359491){_0x5aadd9['push'](_0x5aadd9['shift']());}}}(a0_0x1dc7,0x5110d));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x1dc7(){const _0x584e1f=['forEach','getPageNavigateParams','split','infinityPage','gristConfigSet','53941GNhkCS','gql','skip_fields','name','mainFilterForm','parent_id','filter','findOne','lifecycle','keys','getQueryFilters','deleteListByIds','func','isPage','2558304AdtqZx','afterFetch','15tmEgNX','pass','getSelectColumns','columns','isEmpty','beforeFetch','709850MRjNMr','query','2805762czwsQk','140890AVPoYt','dataSet','updateMultiple','7GMutOr','push','multiple','list_func','8594793pjubkv','isElement','isArray','getParams','includes','length','records','2083480ooPBKk','searchByPagination','parse','map','params','after_set_fields','parseBasicServiceConfigs','delete','gqlInfo','is_activity','value','mutation','deleteByIds','find_one_func','isNotEmpty','filterForm'];a0_0x1dc7=function(){return _0x584e1f;};return a0_0x1dc7();}export const MetaServiceMixin=_0x5ae9d3=>class extends MetaBaseMixin(_0x5ae9d3){static get['properties'](){return{'gqlInfo':Object};}[a0_0x50e576(0x1a9)](_0x2becf2){const _0x45c5bf=a0_0x50e576;this[_0x45c5bf(0x1ab)]=_0x2becf2[_0x45c5bf(0x1b9)];}async['fetchHandler']({page:_0xdec276=0x0,limit:_0x31c369=0x0,sortings:_0x31f1c0=[],filters:_0x401dcb=[]}){const _0x25a24c=a0_0x50e576;if(this[_0x25a24c(0x1ac)])return{'total':0x0,'records':this[_0x25a24c(0x1d2)]||[]};if(!0x0===this[_0x25a24c(0x1b6)]&&(_0xdec276=0x0,_0x31c369=0x0),this[_0x25a24c(0x1cd)]&&0x0==await this[_0x25a24c(0x1cd)]({'page':_0xdec276,'limit':_0x31c369,'sortings':_0x31f1c0,'filters':_0x401dcb}))return;if(!this[_0x25a24c(0x1b7)])return{'total':0x0,'records':[]};let _0x5b0d7f=ValueUtil[_0x25a24c(0x1cc)](_0x401dcb)?this[_0x25a24c(0x1bc)]?await this[_0x25a24c(0x1bc)][_0x25a24c(0x1c2)]()||[]:await this[_0x25a24c(0x1b2)]?.[_0x25a24c(0x1c2)]()||[]:_0x401dcb,_0x1e4504=ValueUtil['getParams'](this[_0x25a24c(0x1ab)],_0x25a24c(0x1cf),_0x25a24c(0x1d7)),_0x2dc1ab=ValueUtil[_0x25a24c(0x19f)](this[_0x25a24c(0x1ab)],_0x25a24c(0x1cf),'filters'),_0x258be8=ValueUtil[_0x25a24c(0x19f)](this[_0x25a24c(0x1ab)],'query',_0x25a24c(0x1a8));if(ValueUtil['isNotEmpty'](_0x2dc1ab)&&(_0x5b0d7f=adjustFilters(_0x5b0d7f,_0x2dc1ab)),_0x5b0d7f[_0x25a24c(0x1d5)](...this[_0x25a24c(0x1b4)]()),this['isElement']&&!this[_0x25a24c(0x1bc)]){let _0x547724=ValueUtil[_0x25a24c(0x19f)](this[_0x25a24c(0x1ab)],_0x25a24c(0x1cf),_0x25a24c(0x1bd));if(!ValueUtil[_0x25a24c(0x1b1)](_0x547724)||!ValueUtil['isNotEmpty'](this[_0x25a24c(0x1bd)]))return{'total':0x0,'records':[]};_0x5b0d7f=adjustFilters(_0x5b0d7f,[{'name':_0x547724,'operator':'eq','value':this[_0x25a24c(0x1bd)]}]);}let _0x225337=Object[_0x25a24c(0x1c1)](_0x258be8||{}),_0xdc14b2=MetaApi[_0x25a24c(0x1ca)](this[_0x25a24c(0x1b7)][_0x25a24c(0x1cb)][_0x25a24c(0x1be)](_0x358efb=>!_0x225337[_0x25a24c(0x1a0)](_0x358efb[_0x25a24c(0x1bb)]))),_0x508190=await MetaApi[_0x25a24c(0x1a4)](_0x1e4504,_0x5b0d7f,_0x31f1c0,_0xdec276,_0x31c369,_0xdc14b2);if(this['afterFetch']){let _0x4c90db=await this[_0x25a24c(0x1c7)]({'page':_0xdec276,'limit':_0x31c369,'sortings':_0x31f1c0,'filters':_0x401dcb},_0x508190);if(_0x4c90db)return _0x4c90db;}return ValueUtil[_0x25a24c(0x1b1)](_0x258be8)&&ValueUtil['isNotEmpty'](_0x508190)&&ValueUtil[_0x25a24c(0x1b1)](_0x508190[_0x25a24c(0x1a2)])&&_0x508190[_0x25a24c(0x1a2)][_0x25a24c(0x1a6)](_0x40f1af=>(_0x225337[_0x25a24c(0x1b3)](_0x5e53db=>{const _0x53a4a7=_0x25a24c;_0x40f1af[_0x5e53db]=ValueUtil[_0x53a4a7(0x19f)](_0x40f1af,..._0x258be8[_0x5e53db][_0x53a4a7(0x1b5)]('.'));}),_0x40f1af)),_0x508190;}[a0_0x50e576(0x1b4)](){const _0x5e554d=a0_0x50e576;if(0x0==this[_0x5e554d(0x1c5)])return[];let _0x212008=this[_0x5e554d(0x1c0)]?.[_0x5e554d(0x1a7)]?this[_0x5e554d(0x1c0)][_0x5e554d(0x1a7)]:{};if(!_0x212008[_0x5e554d(0x1c9)])return[];let _0x198462=_0x212008['pass'],_0x2fab3f=JSON[_0x5e554d(0x1a5)](_0x198462),_0x4e6269=0x1==_0x2fab3f[_0x5e554d(0x1a1)]?'eq':'in',_0x32890e={},_0x28edf1=[];return Object[_0x5e554d(0x1c1)](_0x2fab3f[0x0])[_0x5e554d(0x1b3)](_0x4e400c=>{_0x32890e[_0x4e400c]={'name':_0x4e400c,'operator':_0x4e6269,'value':'eq'===_0x4e6269?_0x2fab3f[0x0][_0x4e400c]:[]};}),_0x2fab3f[_0x5e554d(0x1a1)]>0x1&&_0x2fab3f[_0x5e554d(0x1b3)](_0x294e2d=>{const _0x39a9a2=_0x5e554d;Object[_0x39a9a2(0x1c1)](_0x294e2d)[_0x39a9a2(0x1b3)](_0x3c8931=>{const _0x5f308b=_0x39a9a2;_0x32890e[_0x3c8931][_0x5f308b(0x1ad)][_0x5f308b(0x1d5)](_0x294e2d[_0x3c8931]);});}),Object[_0x5e554d(0x1c1)](_0x32890e)[_0x5e554d(0x1b3)](_0x28901f=>{const _0x39b074=_0x5e554d;_0x28edf1[_0x39b074(0x1d5)](_0x32890e[_0x28901f]);}),_0x28edf1;}async[a0_0x50e576(0x1bf)](_0x4c0fb2){const _0x19a2a3=a0_0x50e576;if(this[_0x19a2a3(0x1ac)])return this[_0x19a2a3(0x1d2)]||{};let _0xa4d032=ValueUtil[_0x19a2a3(0x19f)](this[_0x19a2a3(0x1ab)],_0x19a2a3(0x1cf),_0x19a2a3(0x1b0)),_0x15f0a5=ValueUtil[_0x19a2a3(0x19f)](this[_0x19a2a3(0x1ab)],'query','after_set_fields'),_0x59c524=Object[_0x19a2a3(0x1c1)](_0x15f0a5||{}),_0x470022=MetaApi['getSelectColumns']((this[_0x19a2a3(0x1b7)]?this[_0x19a2a3(0x1b7)]:{'columns':this['formConfigSet']})[_0x19a2a3(0x1cb)][_0x19a2a3(0x1be)](_0x5db2ec=>!_0x59c524['includes'](_0x5db2ec[_0x19a2a3(0x1bb)]))),_0x2fee9b=await MetaApi[_0x19a2a3(0x1bf)](_0xa4d032,_0x4c0fb2,_0x470022);return ValueUtil[_0x19a2a3(0x1b1)](_0x15f0a5)&&ValueUtil[_0x19a2a3(0x1b1)](_0x2fee9b)&&_0x59c524[_0x19a2a3(0x1b3)](_0x215341=>{const _0x4ef441=_0x19a2a3;_0x2fee9b[_0x215341]=ValueUtil[_0x4ef441(0x19f)](_0x2fee9b,..._0x15f0a5[_0x215341][_0x4ef441(0x1b5)]('.'));}),_0x2fee9b;}async[a0_0x50e576(0x1af)](_0x43e9d1){const _0xeb81e6=a0_0x50e576;let _0x7e9c40=ValueUtil[_0xeb81e6(0x19f)](this[_0xeb81e6(0x1ab)],_0xeb81e6(0x1ae),_0xeb81e6(0x1aa),_0xeb81e6(0x1c4));return await MetaApi[_0xeb81e6(0x1c3)](_0x43e9d1,_0x7e9c40);}async[a0_0x50e576(0x1d3)](_0x1c079b){const _0x4855f8=a0_0x50e576;let _0x3a7eba=ValueUtil[_0x4855f8(0x19f)](this[_0x4855f8(0x1ab)],'mutation',_0x4855f8(0x1d6),_0x4855f8(0x1c4)),_0x1dcdd1=ValueUtil[_0x4855f8(0x19f)](this['gqlInfo'],'mutation','multiple',_0x4855f8(0x1ba));if(ValueUtil[_0x4855f8(0x1b1)](_0x1dcdd1)&&(_0x1dcdd1=_0x1dcdd1['map'](_0x260826=>_0x260826[_0x4855f8(0x1a0)]('.')?_0x260826[_0x4855f8(0x1b5)]('.'):_0x260826),_0x1c079b=_0x1c079b['map'](_0x31e635=>(_0x1dcdd1[_0x4855f8(0x1b3)](_0x304b79=>{const _0x1f09e7=_0x4855f8;Array[_0x1f09e7(0x19e)](_0x304b79)?delete _0x31e635[_0x304b79[0x0]][_0x304b79[0x1]]:delete _0x31e635[_0x304b79];}),_0x31e635))),this[_0x4855f8(0x19d)]&&ValueUtil[_0x4855f8(0x1b1)](this[_0x4855f8(0x1bd)])){let _0x43d3ca=ValueUtil[_0x4855f8(0x19f)](this[_0x4855f8(0x1ab)],'mutation',_0x4855f8(0x1d6),_0x4855f8(0x1bd));ValueUtil[_0x4855f8(0x1b1)](_0x43d3ca)&&_0x1c079b[_0x4855f8(0x1b3)](_0x12fa4d=>{const _0x1c8784=_0x4855f8;if(_0x43d3ca[_0x1c8784(0x1a0)]('.')){let _0x228b54=_0x43d3ca['split']('.');_0x12fa4d[_0x228b54[0x0]]={},_0x12fa4d[_0x228b54[0x0]][_0x228b54[0x1]]=this[_0x1c8784(0x1bd)];}else _0x12fa4d[_0x43d3ca]=this['parent_id'];});}return await MetaApi[_0x4855f8(0x1d3)](_0x3a7eba,_0x1c079b);}};
@@ -1 +1 @@
1
- const a0_0x202049=a0_0x4901;(function(_0xf07243,_0x2be571){const _0x1514dc=a0_0x4901,_0x3203cd=_0xf07243();while(!![]){try{const _0x3f5f6a=parseInt(_0x1514dc(0x1e1))/0x1*(parseInt(_0x1514dc(0x218))/0x2)+parseInt(_0x1514dc(0x20e))/0x3+parseInt(_0x1514dc(0x1ea))/0x4*(-parseInt(_0x1514dc(0x203))/0x5)+parseInt(_0x1514dc(0x1f5))/0x6+parseInt(_0x1514dc(0x207))/0x7*(parseInt(_0x1514dc(0x212))/0x8)+-parseInt(_0x1514dc(0x1dc))/0x9+-parseInt(_0x1514dc(0x202))/0xa;if(_0x3f5f6a===_0x2be571)break;else _0x3203cd['push'](_0x3203cd['shift']());}catch(_0x13457b){_0x3203cd['push'](_0x3203cd['shift']());}}}(a0_0x5296,0x66d94));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5296(){const _0x3ed68c=['map','firstUpdated','importable','ox-grist','parseGristConfigs','20684890OAUouu','287670zduDTD','main','value','gristConfigSet','3365530NCjEcm','getTabDetailHtml','filterForm','getMainGrist','grid','connectedCallback','context','2310012xkeIzG','exportable','filterFormId','detailElement','8wbSUcV','actions','gristId','dataSet','ox-filters-form-base','masterElement','10VHyJPc','buttonConfig','operator','useButtonExport','header','655569nSASeV','pageInitialized','search','useButtonImport','grid_column','152117WuDLrt','clear','getAndParseMenuMeta','type','gridColumnConfig','grist','activityDataSet','searchFields','getBasicTabDetailStyles','4skcnXm','gridConfig','parseBasicGridConfigs','useFilterForm','isElement','searchConfig','beforeFetch','getData','filter','searchFieldValues','querySelector','3652518TocStO','useMasterFilterForm','options','styles','getContextObject','fetch','name','shadowRoot'];a0_0x5296=function(){return _0x3ed68c;};return a0_0x5296();}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x4901(_0x30382c,_0x29784e){const _0x529622=a0_0x5296();return a0_0x4901=function(_0x490163,_0x4d4a2d){_0x490163=_0x490163-0x1d9;let _0x34c9cf=_0x529622[_0x490163];return _0x34c9cf;},a0_0x4901(_0x30382c,_0x29784e);}export const MetaTabDetailMixin=_0x5d5050=>class extends MetaButtonMixin(_0x5d5050){static get[a0_0x202049(0x1f8)](){const _0x471522=a0_0x202049;return MetaApi[_0x471522(0x1e9)]();}static get['properties'](){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_0x202049(0x1e6)](){const _0x396e06=a0_0x202049;return this['masterElement'][_0x396e06(0x20a)]();}get[a0_0x202049(0x209)](){const _0x31b001=a0_0x202049;return this[_0x31b001(0x1fc)]?.[_0x31b001(0x1f4)](this['filterFormId']);}get[a0_0x202049(0x20d)](){const _0x4481a2=a0_0x202049;let _0x5ee9cb=MetaUiUtil[_0x4481a2(0x1f9)](this);return _0x5ee9cb[_0x4481a2(0x213)]&&delete _0x5ee9cb[_0x4481a2(0x213)],_0x5ee9cb[_0x4481a2(0x20f)]&&delete _0x5ee9cb[_0x4481a2(0x20f)],_0x5ee9cb[_0x4481a2(0x1ff)]&&delete _0x5ee9cb[_0x4481a2(0x1ff)],_0x5ee9cb;}async[a0_0x202049(0x20c)](){const _0x12904d=a0_0x202049;this[_0x12904d(0x214)]=_0x12904d(0x200),this[_0x12904d(0x210)]=_0x12904d(0x216),await this[_0x12904d(0x1e3)](),this[_0x12904d(0x1ee)]&&await this['parseGristConfigs'](),this[_0x12904d(0x1e7)]&&(this[_0x12904d(0x215)]=(this['activityDataSet']||{})[_0x12904d(0x204)]),super[_0x12904d(0x20c)]&&await super[_0x12904d(0x20c)]();}async['firstUpdated'](){const _0x5c0dbf=a0_0x202049;super['firstUpdated']&&await super[_0x5c0dbf(0x1fe)]();}async[a0_0x202049(0x1dd)](){const _0x2cc499=a0_0x202049;this['isPage']&&await this['parseGristConfigs'](),super[_0x2cc499(0x1dd)]&&await super[_0x2cc499(0x1dd)]();}['render'](){const _0xef1db9=a0_0x202049;return MetaApi[_0xef1db9(0x208)](this);}[a0_0x202049(0x1ec)](_0x18b7ef){const _0x1e1998=a0_0x202049;this[_0x1e1998(0x1eb)]=_0x18b7ef[_0x1e1998(0x20b)],this[_0x1e1998(0x1e5)]=_0x18b7ef[_0x1e1998(0x1e0)],this[_0x1e1998(0x1ef)]=_0x18b7ef[_0x1e1998(0x1de)];}async[a0_0x202049(0x201)](){const _0x4a2b50=a0_0x202049;this[_0x4a2b50(0x206)]=await MetaApi['parseGridConfigSet'](this),this[_0x4a2b50(0x1f6)]=!0x0===this['useFilterForm'],this[_0x4a2b50(0x1ed)]=!0x1,this[_0x4a2b50(0x219)]=void 0x0,this[_0x4a2b50(0x1da)]=!0x1,this[_0x4a2b50(0x1df)]=!0x1,this['searchFieldValues']=[],this[_0x4a2b50(0x1e8)]=this[_0x4a2b50(0x206)]['columns'][_0x4a2b50(0x1f2)](_0x47126d=>_0x47126d['filter'])[_0x4a2b50(0x1fd)](_0x21f84b=>{const _0x325f62=_0x4a2b50;let _0x2bc7d5={'name':_0x21f84b[_0x325f62(0x1f2)][_0x325f62(0x1fb)]?_0x21f84b[_0x325f62(0x1f2)][_0x325f62(0x1fb)]:_0x21f84b[_0x325f62(0x1fb)],'type':'search'===_0x21f84b[_0x325f62(0x1f2)][_0x325f62(0x1d9)]?_0x325f62(0x1de):_0x21f84b[_0x325f62(0x1e4)],'label':_0x21f84b[_0x325f62(0x1db)],'operator':_0x21f84b[_0x325f62(0x1f2)]['operator']?_0x21f84b[_0x325f62(0x1f2)]['operator']:'eq'};return _0x21f84b['record'][_0x325f62(0x1f7)]&&(_0x2bc7d5['options']=_0x21f84b['record'][_0x325f62(0x1f7)]),_0x21f84b[_0x325f62(0x1f2)][_0x325f62(0x205)]&&this[_0x325f62(0x1f3)]['push']({'name':_0x2bc7d5[_0x325f62(0x1fb)],'operator':_0x2bc7d5['operator'],'value':_0x21f84b[_0x325f62(0x1f2)][_0x325f62(0x205)]}),delete _0x21f84b[_0x325f62(0x1f2)],_0x2bc7d5;});}async[a0_0x202049(0x1fa)](){const _0x2328dd=a0_0x202049;await this[_0x2328dd(0x1e6)][_0x2328dd(0x1fa)]();}async[a0_0x202049(0x1f0)]({page:_0x2d3188=0x0,limit:_0x56a872=0x0,sortings:_0x319eef=[],filters:_0x19855d=[]}){const _0x11e876=a0_0x202049;return this[_0x11e876(0x217)]&&this['masterElement']['clear']&&await this[_0x11e876(0x217)][_0x11e876(0x1e2)](),this[_0x11e876(0x211)]&&this[_0x11e876(0x211)][_0x11e876(0x1e2)]&&await this[_0x11e876(0x211)]['clear'](),!0x0;}[a0_0x202049(0x1f1)](){const _0x307dd2=a0_0x202049;return{'master':this[_0x307dd2(0x217)][_0x307dd2(0x1f1)](),'detail':this[_0x307dd2(0x211)][_0x307dd2(0x1f1)]()};}};
1
+ const a0_0x4f49dd=a0_0xccb8;(function(_0x473a86,_0x4fed23){const _0x59546f=a0_0xccb8,_0x2469c8=_0x473a86();while(!![]){try{const _0x4d402c=parseInt(_0x59546f(0x17d))/0x1+-parseInt(_0x59546f(0x16e))/0x2+parseInt(_0x59546f(0x165))/0x3+parseInt(_0x59546f(0x194))/0x4+-parseInt(_0x59546f(0x192))/0x5*(parseInt(_0x59546f(0x172))/0x6)+parseInt(_0x59546f(0x18d))/0x7*(parseInt(_0x59546f(0x18e))/0x8)+-parseInt(_0x59546f(0x196))/0x9*(parseInt(_0x59546f(0x190))/0xa);if(_0x4d402c===_0x4fed23)break;else _0x2469c8['push'](_0x2469c8['shift']());}catch(_0x539189){_0x2469c8['push'](_0x2469c8['shift']());}}}(a0_0x4df2,0xa7c24));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x4df2(){const _0x433f21=['getMainGrist','545530MqWVnF','connectedCallback','3764940eXCdQZ','exportable','9ecRwLS','filter','grid','gristId','ox-filters-form-base','type','parseGristConfigs','value','searchFieldValues','gridColumnConfig','useFilterForm','querySelector','map','render','23514NwxppD','name','shadowRoot','grist','getAndParseMenuMeta','firstUpdated','getData','getBasicTabDetailStyles','parseGridConfigSet','2370578NtBNeS','isPage','search','grid_column','18anFlkP','masterElement','dataSet','clear','useMasterFilterForm','activityDataSet','beforeFetch','isElement','gristConfigSet','properties','importable','460441CDcaqO','options','context','useButtonImport','operator','gridConfig','useButtonExport','push','getTabDetailHtml','buttonConfig','getContextObject','pageInitialized','detailElement','filterForm','filterFormId','actions','14lOTnJu','3696584cnZbtl','fetch','1339130HDOXtU'];a0_0x4df2=function(){return _0x433f21;};return a0_0x4df2();}function a0_0xccb8(_0x1c4e2e,_0x34dd4c){const _0x4df202=a0_0x4df2();return a0_0xccb8=function(_0xccb803,_0x4b0b51){_0xccb803=_0xccb803-0x162;let _0x23efe9=_0x4df202[_0xccb803];return _0x23efe9;},a0_0xccb8(_0x1c4e2e,_0x34dd4c);}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=_0x3898b6=>class extends MetaButtonMixin(_0x3898b6){static get['styles'](){const _0x26db24=a0_0xccb8;return MetaApi[_0x26db24(0x16c)]();}static get[a0_0x4f49dd(0x17b)](){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['grist'](){const _0x52444f=a0_0x4f49dd;return this[_0x52444f(0x173)][_0x52444f(0x191)]();}get[a0_0x4f49dd(0x18a)](){const _0x191a2d=a0_0x4f49dd;return this[_0x191a2d(0x167)]?.[_0x191a2d(0x162)](this[_0x191a2d(0x18b)]);}get[a0_0x4f49dd(0x17f)](){const _0x10d8b5=a0_0x4f49dd;let _0x187e7c=MetaUiUtil[_0x10d8b5(0x187)](this);return _0x187e7c[_0x10d8b5(0x18c)]&&delete _0x187e7c[_0x10d8b5(0x18c)],_0x187e7c[_0x10d8b5(0x195)]&&delete _0x187e7c[_0x10d8b5(0x195)],_0x187e7c[_0x10d8b5(0x17c)]&&delete _0x187e7c[_0x10d8b5(0x17c)],_0x187e7c;}async[a0_0x4f49dd(0x193)](){const _0x1eb1a2=a0_0x4f49dd;this[_0x1eb1a2(0x199)]='ox-grist',this['filterFormId']=_0x1eb1a2(0x19a),await this[_0x1eb1a2(0x169)](),this[_0x1eb1a2(0x179)]&&await this['parseGristConfigs'](),this[_0x1eb1a2(0x177)]&&(this[_0x1eb1a2(0x174)]=(this[_0x1eb1a2(0x177)]||{})['main']),super[_0x1eb1a2(0x193)]&&await super[_0x1eb1a2(0x193)]();}async[a0_0x4f49dd(0x16a)](){const _0x271ed1=a0_0x4f49dd;super[_0x271ed1(0x16a)]&&await super[_0x271ed1(0x16a)]();}async[a0_0x4f49dd(0x188)](){const _0x4090f8=a0_0x4f49dd;this[_0x4090f8(0x16f)]&&await this[_0x4090f8(0x19c)](),super[_0x4090f8(0x188)]&&await super[_0x4090f8(0x188)]();}[a0_0x4f49dd(0x164)](){const _0x3b24db=a0_0x4f49dd;return MetaApi[_0x3b24db(0x185)](this);}['parseBasicGridConfigs'](_0x437e29){const _0x337a75=a0_0x4f49dd;this[_0x337a75(0x182)]=_0x437e29[_0x337a75(0x198)],this[_0x337a75(0x19f)]=_0x437e29[_0x337a75(0x171)],this['searchConfig']=_0x437e29[_0x337a75(0x170)];}async[a0_0x4f49dd(0x19c)](){const _0x26d7fb=a0_0x4f49dd;this['gristConfigSet']=await MetaApi[_0x26d7fb(0x16d)](this),this[_0x26d7fb(0x176)]=!0x0===this[_0x26d7fb(0x1a0)],this[_0x26d7fb(0x1a0)]=!0x1,this[_0x26d7fb(0x186)]=void 0x0,this[_0x26d7fb(0x183)]=!0x1,this[_0x26d7fb(0x180)]=!0x1,this[_0x26d7fb(0x19e)]=[],this['searchFields']=this[_0x26d7fb(0x17a)]['columns'][_0x26d7fb(0x197)](_0x42ad0d=>_0x42ad0d['filter'])[_0x26d7fb(0x163)](_0x38d717=>{const _0x123da9=_0x26d7fb;let _0x2ebbc={'name':_0x38d717[_0x123da9(0x166)],'type':_0x123da9(0x170)===_0x38d717[_0x123da9(0x197)][_0x123da9(0x181)]?'search':_0x38d717[_0x123da9(0x19b)],'label':_0x38d717['header'],'operator':_0x38d717[_0x123da9(0x197)][_0x123da9(0x181)]?_0x38d717[_0x123da9(0x197)]['operator']:'eq'};return _0x38d717['filter']['options']&&(_0x2ebbc[_0x123da9(0x17e)]=_0x38d717[_0x123da9(0x197)]['options']),_0x38d717['record'][_0x123da9(0x17e)]&&(_0x2ebbc[_0x123da9(0x17e)]=_0x38d717['record'][_0x123da9(0x17e)]),_0x38d717['filter'][_0x123da9(0x19d)]&&this['searchFieldValues'][_0x123da9(0x184)]({'name':_0x2ebbc[_0x123da9(0x166)],'operator':_0x2ebbc[_0x123da9(0x181)],'value':_0x38d717[_0x123da9(0x197)][_0x123da9(0x19d)]}),delete _0x38d717[_0x123da9(0x197)],_0x2ebbc;});}async[a0_0x4f49dd(0x18f)](){const _0x3d117b=a0_0x4f49dd;await this[_0x3d117b(0x168)][_0x3d117b(0x18f)]();}async[a0_0x4f49dd(0x178)]({page:_0x28538b=0x0,limit:_0x13a238=0x0,sortings:_0x241a38=[],filters:_0x358928=[]}){const _0x36a3bf=a0_0x4f49dd;return this['masterElement']&&this[_0x36a3bf(0x173)][_0x36a3bf(0x175)]&&await this[_0x36a3bf(0x173)][_0x36a3bf(0x175)](),this[_0x36a3bf(0x189)]&&this['detailElement'][_0x36a3bf(0x175)]&&await this['detailElement'][_0x36a3bf(0x175)](),!0x0;}[a0_0x4f49dd(0x16b)](){const _0x3eafc1=a0_0x4f49dd;return{'master':this['masterElement'][_0x3eafc1(0x16b)](),'detail':this[_0x3eafc1(0x189)][_0x3eafc1(0x16b)]()};}};
@@ -1 +1 @@
1
- const a0_0x47d330=a0_0x4acf;(function(_0x41d917,_0x2aff40){const _0x4bdd33=a0_0x4acf,_0x47e2a3=_0x41d917();while(!![]){try{const _0x114392=parseInt(_0x4bdd33(0x19b))/0x1*(-parseInt(_0x4bdd33(0x1a0))/0x2)+-parseInt(_0x4bdd33(0x1ae))/0x3*(parseInt(_0x4bdd33(0x1a2))/0x4)+-parseInt(_0x4bdd33(0x195))/0x5*(-parseInt(_0x4bdd33(0x1ad))/0x6)+-parseInt(_0x4bdd33(0x19f))/0x7*(-parseInt(_0x4bdd33(0x1ab))/0x8)+parseInt(_0x4bdd33(0x1a5))/0x9*(parseInt(_0x4bdd33(0x1b4))/0xa)+parseInt(_0x4bdd33(0x1b3))/0xb+parseInt(_0x4bdd33(0x197))/0xc*(parseInt(_0x4bdd33(0x1a7))/0xd);if(_0x114392===_0x2aff40)break;else _0x47e2a3['push'](_0x47e2a3['shift']());}catch(_0x37b65f){_0x47e2a3['push'](_0x47e2a3['shift']());}}}(a0_0x36dc,0x7e964));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x4acf(_0x448a6e,_0x4db8c8){const _0x36dcb5=a0_0x36dc();return a0_0x4acf=function(_0x4acfde,_0x4ee9cc){_0x4acfde=_0x4acfde-0x192;let _0x255b2e=_0x36dcb5[_0x4acfde];return _0x255b2e;},a0_0x4acf(_0x448a6e,_0x4db8c8);}import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x36dc(){const _0x3c9e9f=['route_name','22087bGarZb','grist','parse','tabElements','139768lFuiGh','firstUpdated','144kbzhQQ','6wgGglw','dataSet','getMainGrist','styles','tabRenderConfig','1503337QPhxnJ','10XABNHM','keys','activityDataSet','unshift','length','currentTabKey','display','getData','includeMainList','connectedCallback','getBasicTabStyles','meta-grist-element','102030QtAJvj','getBasicTabHtml','1320CBFNyi','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','tab','@things-factory/meta-ui/client/pages/meta-grist-element','1NqSRaN','clear','parseBasicTabConfigs','pageInitialized','259HMzhcp','1783498DIXDnk','param_field','548036DfclXW','mainFilterForm','etcConfig','2020851BPefpB'];a0_0x36dc=function(){return _0x3c9e9f;};return a0_0x36dc();}export const MetaTabMixin=_0x18ae12=>class extends MetaButtonMixin(_0x18ae12){static get[a0_0x47d330(0x1b1)](){const _0x5ef9d9=a0_0x47d330;return MetaApi[_0x5ef9d9(0x193)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){return MetaUiUtil['getContextObject'](this);}async[a0_0x47d330(0x192)](){const _0x57f485=a0_0x47d330;this[_0x57f485(0x1b9)]=void 0x0,await this['getAndParseMenuMeta'](),this['activityDataSet']&&(this[_0x57f485(0x1af)]=this[_0x57f485(0x1b6)]),super[_0x57f485(0x192)]&&await super['connectedCallback']();}async[a0_0x47d330(0x1ac)](){const _0x599709=a0_0x47d330;super[_0x599709(0x1ac)]&&await super[_0x599709(0x1ac)]();}async[a0_0x47d330(0x19e)](){const _0x234abe=a0_0x47d330;super[_0x234abe(0x19e)]&&await super['pageInitialized']();}['render'](){const _0x42d13d=a0_0x47d330;return MetaApi[_0x42d13d(0x196)](this);}[a0_0x47d330(0x19d)](_0x37a967){const _0x190095=a0_0x47d330;if(!0x0===this[_0x190095(0x1bc)]){let _0x351e85=this[_0x190095(0x1a4)]['main_tab_info'],_0x10556d=JSON[_0x190095(0x1a9)](_0x351e85||_0x190095(0x198));_0x37a967['tab'][_0x190095(0x1b7)]({'name':_0x10556d['name'],'display':_0x10556d[_0x190095(0x1ba)],'tagname':_0x190095(0x194),'location':_0x190095(0x19a),'parent_field':'id','param_field':_0x190095(0x1a1),'menu':this[_0x190095(0x1a6)],'icon':_0x10556d['icon'],'filter_from':!0x1,'main_filter_form':this[_0x190095(0x1a3)]});}this[_0x190095(0x1b2)]=_0x37a967[_0x190095(0x199)],_0x37a967['button']=[];}async[a0_0x47d330(0x19c)](){const _0x430da9=a0_0x47d330;if(this[_0x430da9(0x1aa)]){let _0x18f793=Object[_0x430da9(0x1b5)](this[_0x430da9(0x1aa)]);for(var _0xdc1f3c=0x0;_0xdc1f3c<_0x18f793[_0x430da9(0x1b8)];_0xdc1f3c++)await this[_0x430da9(0x1aa)][_0x18f793[_0xdc1f3c]][_0x430da9(0x19c)]();}}[a0_0x47d330(0x1bb)](){const _0x17cc79=a0_0x47d330;let _0x13a3dd={};return this[_0x17cc79(0x1aa)]&&Object[_0x17cc79(0x1b5)](this[_0x17cc79(0x1aa)])['forEach'](_0x281b1d=>{const _0x4427a8=_0x17cc79;_0x13a3dd[_0x281b1d]=this[_0x4427a8(0x1aa)][_0x281b1d][_0x4427a8(0x1bb)]();}),_0x13a3dd;}[a0_0x47d330(0x1b0)](){const _0x55ee8d=a0_0x47d330;if(this[_0x55ee8d(0x1aa)]){let _0xde5a98=Object['keys'](this[_0x55ee8d(0x1aa)]);return this[_0x55ee8d(0x1aa)][_0xde5a98[0x0]][_0x55ee8d(0x1a8)];}}};
1
+ const a0_0xc409eb=a0_0x5c3d;(function(_0x53699c,_0x4a94ec){const _0x2e8ee2=a0_0x5c3d,_0x245d98=_0x53699c();while(!![]){try{const _0x2075b9=-parseInt(_0x2e8ee2(0x129))/0x1+parseInt(_0x2e8ee2(0x13b))/0x2+-parseInt(_0x2e8ee2(0x14a))/0x3+-parseInt(_0x2e8ee2(0x139))/0x4*(-parseInt(_0x2e8ee2(0x133))/0x5)+parseInt(_0x2e8ee2(0x149))/0x6+parseInt(_0x2e8ee2(0x137))/0x7*(parseInt(_0x2e8ee2(0x13d))/0x8)+-parseInt(_0x2e8ee2(0x14f))/0x9*(parseInt(_0x2e8ee2(0x131))/0xa);if(_0x2075b9===_0x4a94ec)break;else _0x245d98['push'](_0x245d98['shift']());}catch(_0x21ab4e){_0x245d98['push'](_0x245d98['shift']());}}}(a0_0x55b4,0x51a69));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x55b4(){const _0x565cd2=['meta-grist-element','tabElements','getBasicTabStyles','getData','tabRenderConfig','main_tab_info','30IxZFQJ','firstUpdated','5YZFKpA','forEach','context','route_name','75523jwUCOe','length','2507388VdUZMv','getBasicTabHtml','431554nfgDdw','name','248NkwTYx','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','icon','tab','parse','etcConfig','activityDataSet','dataSet','@things-factory/meta-ui/client/pages/meta-grist-element','pageInitialized','connectedCallback','styles','3715308wnRfbl','266106fKUxOi','render','mainFilterForm','parseBasicTabConfigs','getMainGrist','3679524qPtUBj','grist','currentTabKey','146650hOFtXy','button'];a0_0x55b4=function(){return _0x565cd2;};return a0_0x55b4();}import{ValueUtil}from'../utils/value-util';function a0_0x5c3d(_0x80d943,_0x2a62d3){const _0x55b44b=a0_0x55b4();return a0_0x5c3d=function(_0x5c3dea,_0x44a38e){_0x5c3dea=_0x5c3dea-0x129;let _0x3cbdec=_0x55b44b[_0x5c3dea];return _0x3cbdec;},a0_0x5c3d(_0x80d943,_0x2a62d3);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x5e6d97=>class extends MetaButtonMixin(_0x5e6d97){static get[a0_0xc409eb(0x148)](){const _0x4a5ef2=a0_0xc409eb;return MetaApi[_0x4a5ef2(0x12d)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0xc409eb(0x135)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x58be06=a0_0xc409eb;this[_0x58be06(0x151)]=void 0x0,await this['getAndParseMenuMeta'](),this[_0x58be06(0x143)]&&(this[_0x58be06(0x144)]=this[_0x58be06(0x143)]),super['connectedCallback']&&await super[_0x58be06(0x147)]();}async[a0_0xc409eb(0x132)](){const _0x405657=a0_0xc409eb;super[_0x405657(0x132)]&&await super['firstUpdated']();}async[a0_0xc409eb(0x146)](){const _0xff0527=a0_0xc409eb;super['pageInitialized']&&await super[_0xff0527(0x146)]();}[a0_0xc409eb(0x14b)](){const _0x8c3ddf=a0_0xc409eb;return MetaApi[_0x8c3ddf(0x13a)](this);}[a0_0xc409eb(0x14d)](_0x2a8b93){const _0x42e944=a0_0xc409eb;if(!0x0===this['includeMainList']){let _0x31359e=this[_0x42e944(0x142)][_0x42e944(0x130)],_0x19de77=JSON[_0x42e944(0x141)](_0x31359e||_0x42e944(0x13e));_0x2a8b93[_0x42e944(0x140)]['unshift']({'name':_0x19de77[_0x42e944(0x13c)],'display':_0x19de77['display'],'tagname':_0x42e944(0x12b),'location':_0x42e944(0x145),'parent_field':'id','param_field':'param_field','menu':this[_0x42e944(0x136)],'icon':_0x19de77[_0x42e944(0x13f)],'filter_from':!0x1,'main_filter_form':this[_0x42e944(0x14c)]});}this[_0x42e944(0x12f)]=_0x2a8b93[_0x42e944(0x140)],_0x2a8b93[_0x42e944(0x12a)]=[];}async['clear'](){const _0x5c3842=a0_0xc409eb;if(this[_0x5c3842(0x12c)]){let _0x4c3731=Object['keys'](this[_0x5c3842(0x12c)]);for(var _0x15049a=0x0;_0x15049a<_0x4c3731[_0x5c3842(0x138)];_0x15049a++)await this['tabElements'][_0x4c3731[_0x15049a]]['clear']();}}['getData'](){const _0x1ed2df=a0_0xc409eb;let _0x3838fb={};return this[_0x1ed2df(0x12c)]&&Object['keys'](this['tabElements'])[_0x1ed2df(0x134)](_0x839191=>{const _0x543224=_0x1ed2df;_0x3838fb[_0x839191]=this[_0x543224(0x12c)][_0x839191][_0x543224(0x12e)]();}),_0x3838fb;}[a0_0xc409eb(0x14e)](){const _0x3798d9=a0_0xc409eb;if(this[_0x3798d9(0x12c)]){let _0x10a68c=Object['keys'](this[_0x3798d9(0x12c)]);return this[_0x3798d9(0x12c)][_0x10a68c[0x0]][_0x3798d9(0x150)];}}};
@@ -1,18 +1,18 @@
1
- const a0_0x2d4069=a0_0x2a99;(function(_0x4a08b1,_0xd8eae7){const _0x379e03=a0_0x2a99,_0x12fbb8=_0x4a08b1();while(!![]){try{const _0x50ca43=parseInt(_0x379e03(0x101))/0x1+-parseInt(_0x379e03(0x104))/0x2*(parseInt(_0x379e03(0xf9))/0x3)+-parseInt(_0x379e03(0xc0))/0x4+-parseInt(_0x379e03(0x105))/0x5+-parseInt(_0x379e03(0x100))/0x6+parseInt(_0x379e03(0xb4))/0x7+parseInt(_0x379e03(0xf2))/0x8;if(_0x50ca43===_0xd8eae7)break;else _0x12fbb8['push'](_0x12fbb8['shift']());}catch(_0xea29f8){_0x12fbb8['push'](_0x12fbb8['shift']());}}}(a0_0x10c3,0x3c9e1));import a0_0x98d87b from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';function a0_0x2a99(_0x1938db,_0x3e742d){const _0x10c3ae=a0_0x10c3();return a0_0x2a99=function(_0x2a9984,_0x28f19d){_0x2a9984=_0x2a9984-0xa9;let _0x31257c=_0x10c3ae[_0x2a9984];return _0x31257c;},a0_0x2a99(_0x1938db,_0x3e742d);}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';import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x2d4069(0xea)](){const _0x114806=a0_0x2d4069;return MetaApi[_0x114806(0xb8)]();}get[a0_0x2d4069(0x10d)](){const _0x18b54d=a0_0x2d4069;return{'title':TermsUtil[_0x18b54d(0xed)](_0x18b54d(0xb6)),'actions':[{'title':TermsUtil[_0x18b54d(0xf3)](_0x18b54d(0xaf)),'action':this[_0x18b54d(0xaf)][_0x18b54d(0xb5)](this),...CommonButtonStyles[_0x18b54d(0xaf)]},{'title':TermsUtil[_0x18b54d(0xf3)]('delete'),'action':this['delete'][_0x18b54d(0xb5)](this),...CommonButtonStyles['delete']},{'title':TermsUtil[_0x18b54d(0xf3)](_0x18b54d(0xe6)),'action':this[_0x18b54d(0xcd)][_0x18b54d(0xb5)](this),'icon':_0x18b54d(0xca),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x2d4069(0xdc)](){const _0xf51f9a=a0_0x2d4069;return this[_0xf51f9a(0xdb)][_0xf51f9a(0xc6)](_0xf51f9a(0xfc));}async[a0_0x2d4069(0xfb)](){const _0x2c2c90=a0_0x2d4069,_0x13bd8e=[{'display':'','value':''},{'display':TermsUtil[_0x2c2c90(0xcf)]('activity-state-draft'),'value':_0x2c2c90(0x10c)},{'display':TermsUtil[_0x2c2c90(0xcf)]('activity-state-released'),'value':_0x2c2c90(0xe2)},{'display':TermsUtil['tLabel'](_0x2c2c90(0xc2)),'value':_0x2c2c90(0xe0)}];this[_0x2c2c90(0x10e)]=['LIST',_0x2c2c90(0xb7),_0x2c2c90(0xfa)],this[_0x2c2c90(0xc7)]=MetaApi['isMobileEnv']()?'LIST':_0x2c2c90(0xb7),this['gridConfig']={'option':{'view_mode':this['grid_view_options']},'rows':MetaApi[_0x2c2c90(0xd1)](!0x0),'pagination':MetaApi[_0x2c2c90(0xd3)](),'sorters':[{'name':'name','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x0,!0x1),{'type':_0x2c2c90(0x10f),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0x2c2c90(0xbe)]('string',_0x2c2c90(0xbf),_0x2c2c90(0xbf),'left',!0x0,!0x0,0xc8),MetaUiUtil['getGristColumnConfig2'](_0x2c2c90(0x10f),_0x2c2c90(0xb9),_0x2c2c90(0xb9),_0x2c2c90(0xda),!0x0,!0x0,0x12c),MetaUiUtil[_0x2c2c90(0x112)](_0x2c2c90(0xb3),_0x2c2c90(0xf8),_0x2c2c90(0xb1),!0x0,0x64,!0x1,_0x13bd8e),{'type':_0x2c2c90(0xf0),'name':'menu','header':TermsUtil['tLabel']('menu'),'record':{'editable':!0x0,'options':{'queryName':_0x2c2c90(0xe8),'basicArgs':{'filters':[{'name':'menuType','operator':'in','value':[_0x2c2c90(0xeb),_0x2c2c90(0xdf),_0x2c2c90(0xf1)]},{'name':_0x2c2c90(0xd6),'operator':_0x2c2c90(0xfd),'value':''},{'name':_0x2c2c90(0xb2),'operator':_0x2c2c90(0xfd),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x2c2c90(0xbf),'header':TermsUtil[_0x2c2c90(0xcf)](_0x2c2c90(0xbf)),'width':0xfa,'filter':_0x2c2c90(0x103)},await MetaApi[_0x2c2c90(0xd2)](_0x2c2c90(0xd4),_0x2c2c90(0xe5),_0x2c2c90(0xda),!0x1,0x6e,!0x1,_0x2c2c90(0xd7)),MetaUiUtil['getGristColumnConfig2'](_0x2c2c90(0x10f),_0x2c2c90(0xd6),_0x2c2c90(0xd6),_0x2c2c90(0xda),!0x1,!0x1,0xfa)],'list':{'fields':[_0x2c2c90(0xbf),_0x2c2c90(0xd6)]},'nameField':_0x2c2c90(0xd6)}},'width':0xeb},MetaUiUtil[_0x2c2c90(0xbe)](_0x2c2c90(0xaa),_0x2c2c90(0xf5),_0x2c2c90(0xf5),_0x2c2c90(0xb1),!0x1,!0x1,0x78),MetaUiUtil[_0x2c2c90(0xbe)](_0x2c2c90(0x107),_0x2c2c90(0xa9),_0x2c2c90(0xd9),'center',!0x1,!0x0,0xb4),{'name':_0x2c2c90(0xfe),'hidden':!0x0},{'name':'multiple','hidden':!0x0},{'name':_0x2c2c90(0xba),'hidden':!0x0}],'sorters':[{'name':_0x2c2c90(0xbf),'desc':!0x1}]};let _0x493f60={'name':_0x2c2c90(0xe3)};this[_0x2c2c90(0xe7)][_0x2c2c90(0x10a)][_0x2c2c90(0xc8)](_0x34cfca=>_0x493f60[_0x34cfca[_0x2c2c90(0xbf)]])[_0x2c2c90(0x106)](_0x89d10c=>{const _0x29be29=_0x2c2c90;_0x89d10c[_0x29be29(0xc8)]=_0x493f60[_0x89d10c[_0x29be29(0xbf)]];}),this[_0x2c2c90(0xfb)]&&await super[_0x2c2c90(0xfb)]();}async[a0_0x2d4069(0xf4)]({page:_0x383331,limit:_0x776ec0,sorters:_0x465cef=[],filters:_0xaefec1=[]}){const _0x2139f2=a0_0x2d4069;_0xaefec1[_0x2139f2(0xab)]({'name':'model','operator':'like','value':_0x2139f2(0xae)});let _0x4a740b=MetaApi[_0x2139f2(0xce)](this[_0x2139f2(0xe7)]['columns'][_0x2139f2(0xc8)](_0x3cb37e=>_0x2139f2(0xcb)!=_0x3cb37e[_0x2139f2(0xbf)]));_0x4a740b+='\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';let _0x6422b3=await MetaApi[_0x2139f2(0xac)](_0x2139f2(0xee),_0xaefec1,_0x465cef,_0x383331,_0x776ec0,_0x4a740b);return _0x6422b3[_0x2139f2(0x108)]['forEach'](_0x189b5b=>{const _0x319ce0=_0x2139f2;let _0x2aa0ba=_0x189b5b[_0x319ce0(0x102)]['filter'](_0x8cad11=>_0x319ce0(0xc9)==_0x8cad11[_0x319ce0(0xbf)]);_0x2aa0ba&&_0x2aa0ba[_0x319ce0(0xbd)]>0x0&&(_0x189b5b[_0x319ce0(0xcb)]=JSON[_0x319ce0(0xd5)](_0x2aa0ba[0x0]['description'])),delete _0x189b5b[_0x319ce0(0x102)];}),_0x6422b3;}async['deploy'](){const _0x1a2866=a0_0x2d4069;try{var _0x5cc35b=await client[_0x1a2866(0xe9)]({'query':a0_0x98d87b`
1
+ const a0_0x2fcb47=a0_0xb7f1;(function(_0x3660d4,_0x352899){const _0x5ac134=a0_0xb7f1,_0x196cb1=_0x3660d4();while(!![]){try{const _0x1b47ac=-parseInt(_0x5ac134(0x10b))/0x1+parseInt(_0x5ac134(0xdb))/0x2*(-parseInt(_0x5ac134(0xe2))/0x3)+parseInt(_0x5ac134(0x102))/0x4+parseInt(_0x5ac134(0x104))/0x5*(parseInt(_0x5ac134(0xf2))/0x6)+parseInt(_0x5ac134(0xdf))/0x7+-parseInt(_0x5ac134(0xd2))/0x8*(parseInt(_0x5ac134(0xf1))/0x9)+parseInt(_0x5ac134(0xea))/0xa;if(_0x1b47ac===_0x352899)break;else _0x196cb1['push'](_0x196cb1['shift']());}catch(_0x59ffbc){_0x196cb1['push'](_0x196cb1['shift']());}}}(a0_0x1533,0xb524b));import a0_0xa322d7 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';import{PageView}from'@things-factory/shell';import{MetaApi}from'./../../utils/meta-api';function a0_0xb7f1(_0x187256,_0x7ba51d){const _0x153389=a0_0x1533();return a0_0xb7f1=function(_0xb7f131,_0x4504b4){_0xb7f131=_0xb7f131-0xb3;let _0x1e78ac=_0x153389[_0xb7f131];return _0x1e78ac;},a0_0xb7f1(_0x187256,_0x7ba51d);}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_0x1533(){const _0x1b818d=['delete','info','errors','grist','activity-state-released','meta-activity-viewer-element','getGristColumnConfig2','left','bind','3844424sRfzyB','assign','getGristPagination50Config','updater','tButton','template','save','GRID','tText','62AbCFsL','parse','metaActivities','push','4402769ZCsJTI','context','multiple','35826DbdQGL','single','showGraphqlException','showGraphqlErrorResponse','tTitle','connectedCallback','ox-grist','showToast','5237850WblMzF','state','deploy','filter','install_activity_success','SCREEN','system_update','18VvHuIS','6PRThpj','shadowRoot','name','meta-activity-writer-element','custom-element','deleteMetaActivities','fetch','string','updatedAt','\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','meta-activity-list-page','query','updateMultipleMetaActivity','getGristSelectableConfig','activityType','getGristSelectorColumnConfig','5433328yhQCOT','getSelectColumns','254110Edyaxu','customElements','grid_view_options','pageInitialized','getBasicGristStyles','task','status','488635GAzNxi','center','styles','routing','menus','records','render','draft','gridConfig','tLabel','released','HIDDEN-PAGE','querySelector','patchesForUpdateMultiple','gridMode','like','fetchHandler','activity-state-deprecated','forEach','meta_activity_list','isMobileEnv','model','updateMultiple','install_activity','isNotEmpty','resource-object','activity-state-draft','columns','menu','description','datetime','menu_type','startingType','getGristGuttersConfig','LIST'];a0_0x1533=function(){return _0x1b818d;};return a0_0x1533();}import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x2fcb47(0x10d)](){const _0x378871=a0_0x2fcb47;return MetaApi[_0x378871(0x108)]();}get[a0_0x2fcb47(0xe0)](){const _0x554f31=a0_0x2fcb47;return{'title':TermsUtil[_0x554f31(0xe6)](_0x554f31(0xb9)),'actions':[{'title':TermsUtil[_0x554f31(0xd6)](_0x554f31(0xd8)),'action':this[_0x554f31(0xd8)][_0x554f31(0xd1)](this),...CommonButtonStyles[_0x554f31(0xd8)]},{'title':TermsUtil['tButton'](_0x554f31(0xc9)),'action':this[_0x554f31(0xc9)][_0x554f31(0xd1)](this),...CommonButtonStyles[_0x554f31(0xc9)]},{'title':TermsUtil[_0x554f31(0xd6)](_0x554f31(0xbd)),'action':this[_0x554f31(0xec)][_0x554f31(0xd1)](this),'icon':_0x554f31(0xf0),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get['grist'](){const _0x31830a=a0_0x2fcb47;return this[_0x31830a(0xf3)][_0x31830a(0x117)](_0x31830a(0xe8));}async[a0_0x2fcb47(0xe7)](){const _0x52cc7f=a0_0x2fcb47,_0x57facd=[{'display':'','value':''},{'display':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xc0)),'value':_0x52cc7f(0x112)},{'display':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xcd)),'value':_0x52cc7f(0x115)},{'display':TermsUtil['tLabel'](_0x52cc7f(0xb7)),'value':'deprecated'}];this[_0x52cc7f(0x106)]=['LIST',_0x52cc7f(0xd9),'CARD'],this[_0x52cc7f(0xb4)]=MetaApi[_0x52cc7f(0xba)]()?_0x52cc7f(0xc8):_0x52cc7f(0xd9),this[_0x52cc7f(0x113)]={'option':{'view_mode':this[_0x52cc7f(0x106)]},'rows':MetaApi[_0x52cc7f(0xff)](!0x0),'pagination':MetaApi[_0x52cc7f(0xd4)](),'sorters':[{'name':_0x52cc7f(0xf4),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x52cc7f(0xc7)](!0x0,!0x1),{'type':'string','name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil['getGristColumnConfig2'](_0x52cc7f(0xf9),'name','name',_0x52cc7f(0xd0),!0x0,!0x0,0xc8),MetaUiUtil[_0x52cc7f(0xcf)](_0x52cc7f(0xf9),_0x52cc7f(0xc3),_0x52cc7f(0xc3),'left',!0x0,!0x0,0x12c),MetaUiUtil[_0x52cc7f(0x101)](_0x52cc7f(0xeb),_0x52cc7f(0x10a),_0x52cc7f(0x10c),!0x0,0x64,!0x1,_0x57facd),{'type':_0x52cc7f(0xbf),'name':_0x52cc7f(0xc2),'header':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xc2)),'record':{'editable':!0x0,'options':{'queryName':_0x52cc7f(0x10f),'basicArgs':{'filters':[{'name':'menuType','operator':'in','value':[_0x52cc7f(0xef),'POPUP',_0x52cc7f(0x116)]},{'name':_0x52cc7f(0x10e),'operator':'is_not_null','value':''},{'name':_0x52cc7f(0xd7),'operator':'is_not_null','value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x52cc7f(0xf4),'header':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xf4)),'width':0xfa,'filter':'search'},await MetaApi['getGristCodeSelectorColumnConfig']('menuType',_0x52cc7f(0xc5),_0x52cc7f(0xd0),!0x1,0x6e,!0x1,'MENU_PAGE_TYPE'),MetaUiUtil[_0x52cc7f(0xcf)]('string',_0x52cc7f(0x10e),'routing',_0x52cc7f(0xd0),!0x1,!0x1,0xfa)],'list':{'fields':['name','routing']},'nameField':_0x52cc7f(0x10e)}},'width':0xeb},MetaUiUtil[_0x52cc7f(0xcf)]('object',_0x52cc7f(0xd5),_0x52cc7f(0xd5),_0x52cc7f(0x10c),!0x1,!0x1,0x78),MetaUiUtil[_0x52cc7f(0xcf)](_0x52cc7f(0xc4),_0x52cc7f(0xfa),'updated_at',_0x52cc7f(0x10c),!0x1,!0x0,0xb4),{'name':_0x52cc7f(0x100),'hidden':!0x0},{'name':_0x52cc7f(0xe1),'hidden':!0x0},{'name':'startingType','hidden':!0x0}],'sorters':[{'name':'name','desc':!0x1}]};let _0x492c74={'name':_0x52cc7f(0xb5)};this['gridConfig'][_0x52cc7f(0xc1)][_0x52cc7f(0xed)](_0xfe33fb=>_0x492c74[_0xfe33fb[_0x52cc7f(0xf4)]])[_0x52cc7f(0xb8)](_0x765d9c=>{const _0x36a33a=_0x52cc7f;_0x765d9c[_0x36a33a(0xed)]=_0x492c74[_0x765d9c[_0x36a33a(0xf4)]];}),this[_0x52cc7f(0xe7)]&&await super['connectedCallback']();}async[a0_0x2fcb47(0xb6)]({page:_0x2cc2ac,limit:_0x2b4467,sorters:_0xe19335=[],filters:_0x28728b=[]}){const _0x6d2662=a0_0x2fcb47;_0x28728b[_0x6d2662(0xde)]({'name':_0x6d2662(0xbb),'operator':_0x6d2662(0xb5),'value':'\x22relation-menu\x22'});let _0x3d1ca9=MetaApi[_0x6d2662(0x103)](this[_0x6d2662(0x113)][_0x6d2662(0xc1)][_0x6d2662(0xed)](_0x4c71fe=>'menu'!=_0x4c71fe[_0x6d2662(0xf4)]));_0x3d1ca9+=_0x6d2662(0xfb);let _0x4f76f8=await MetaApi['searchByPagination'](_0x6d2662(0xdd),_0x28728b,_0xe19335,_0x2cc2ac,_0x2b4467,_0x3d1ca9);return _0x4f76f8[_0x6d2662(0x110)][_0x6d2662(0xb8)](_0x384f88=>{const _0x529057=_0x6d2662;let _0x6d26a8=_0x384f88['model'][_0x529057(0xed)](_0x17c1a0=>'relation-menu'==_0x17c1a0['name']);_0x6d26a8&&_0x6d26a8['length']>0x0&&(_0x384f88[_0x529057(0xc2)]=JSON[_0x529057(0xdc)](_0x6d26a8[0x0][_0x529057(0xc3)])),delete _0x384f88[_0x529057(0xbb)];}),_0x4f76f8;}async[a0_0x2fcb47(0xec)](){const _0x352cde=a0_0x2fcb47;try{var _0x524bb2=await client[_0x352cde(0xfd)]({'query':a0_0xa322d7`
2
2
  mutation {
3
3
  installActivityTemplate
4
4
  }
5
- `});if(!_0x5cc35b[_0x1a2866(0xe1)])return UiUtil[_0x1a2866(0x111)](_0x1a2866(0xde),TermsUtil['tText'](_0x1a2866(0xb0))),!0x0;ServiceUtil[_0x1a2866(0xbb)](_0x5cc35b);}catch(_0x50a7b9){ServiceUtil[_0x1a2866(0xbc)](_0x50a7b9);}}async['save'](){const _0x4f9d19=a0_0x2d4069;let _0x1b6809=ServiceUtil[_0x4f9d19(0xec)](this['grist']);if(ValueUtil[_0x4f9d19(0xdd)](_0x1b6809)){_0x1b6809[_0x4f9d19(0x106)](_0x1605a2=>{const _0x59215a=_0x4f9d19;Object[_0x59215a(0xc3)](_0x1605a2,{'uiSource':_0x59215a(0x110),'uiType':_0x59215a(0x109),'viewSource':_0x59215a(0xc4),'viewType':'custom-element'}),_0x1605a2['multiple']||(_0x1605a2[_0x59215a(0xc1)]='single'),_0x1605a2[_0x59215a(0xfe)]||(_0x1605a2[_0x59215a(0xfe)]=_0x59215a(0xcc)),_0x1605a2[_0x59215a(0xba)]||(_0x1605a2[_0x59215a(0xba)]='post');});let _0x56e47b=await ServiceUtil[_0x4f9d19(0x10b)](_0x4f9d19(0xad),_0x1b6809);if(_0x56e47b)return this[_0x4f9d19(0xdc)][_0x4f9d19(0xf7)](),_0x56e47b;}}async[a0_0x2d4069(0xef)](){const _0x401967=a0_0x2d4069;await MetaApi[_0x401967(0xd0)](this[_0x401967(0xdc)],_0x401967(0xe4));}async[a0_0x2d4069(0xf6)](){}[a0_0x2d4069(0xd8)](){const _0x25dd5c=a0_0x2d4069;return html`
5
+ `});if(!_0x524bb2[_0x352cde(0xcb)])return UiUtil[_0x352cde(0xe9)](_0x352cde(0xca),TermsUtil[_0x352cde(0xda)](_0x352cde(0xee))),!0x0;ServiceUtil[_0x352cde(0xe5)](_0x524bb2);}catch(_0x567169){ServiceUtil[_0x352cde(0xe4)](_0x567169);}}async[a0_0x2fcb47(0xd8)](){const _0x141c47=a0_0x2fcb47;let _0x225d2f=ServiceUtil[_0x141c47(0xb3)](this[_0x141c47(0xcc)]);if(ValueUtil[_0x141c47(0xbe)](_0x225d2f)){_0x225d2f[_0x141c47(0xb8)](_0x55ce02=>{const _0x2e86a1=_0x141c47;Object[_0x2e86a1(0xd3)](_0x55ce02,{'uiSource':_0x2e86a1(0xf5),'uiType':'custom-element','viewSource':_0x2e86a1(0xce),'viewType':_0x2e86a1(0xf6)}),_0x55ce02['multiple']||(_0x55ce02[_0x2e86a1(0xe1)]=_0x2e86a1(0xe3)),_0x55ce02[_0x2e86a1(0x100)]||(_0x55ce02['activityType']=_0x2e86a1(0x109)),_0x55ce02[_0x2e86a1(0xc6)]||(_0x55ce02['startingType']='post');});let _0x55b879=await ServiceUtil[_0x141c47(0xbc)](_0x141c47(0xfe),_0x225d2f);if(_0x55b879)return this['grist'][_0x141c47(0xf8)](),_0x55b879;}}async[a0_0x2fcb47(0xc9)](){const _0x29fcb5=a0_0x2fcb47;await MetaApi['deleteListByGristSelected'](this['grist'],_0x29fcb5(0xf7));}async[a0_0x2fcb47(0x107)](){}[a0_0x2fcb47(0x111)](){const _0x526662=a0_0x2fcb47;return html`
6
6
  <ox-grist
7
7
  auto-fetch
8
8
  id="ox-grist"
9
- .config=${this[_0x25dd5c(0xe7)]}
10
- .mode=${this['gridMode']}
11
- .fetchHandler=${this[_0x25dd5c(0xf4)][_0x25dd5c(0xb5)](this)}>
9
+ .config=${this[_0x526662(0x113)]}
10
+ .mode=${this[_0x526662(0xb4)]}
11
+ .fetchHandler=${this['fetchHandler']['bind'](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_0x2d4069(0xff)]['define'](a0_0x2d4069(0xc5),MetaActivityListPage);function a0_0x10c3(){const _0xcc96f8=['menu_type','install_activity','gridConfig','menus','query','styles','SCREEN','patchesForUpdateMultiple','tTitle','metaActivities','delete','resource-object','HIDDEN-PAGE','9800944mFbaqt','tButton','fetchHandler','updater','pageInitialized','fetch','status','9837qlKCUI','CARD','connectedCallback','ox-grist','is_not_null','activityType','customElements','2810220EAyIsw','319881xVceVP','model','search','246VNBGIH','387180VbIqpa','forEach','datetime','records','custom-element','columns','updateMultiple','draft','context','grid_view_options','string','meta-activity-writer-element','showToast','getGristSelectorColumnConfig','updatedAt','object','push','searchByPagination','updateMultipleMetaActivity','\x22relation-menu\x22','save','install_activity_success','center','template','state','597772VvoCkL','bind','meta_activity_list','GRID','getBasicGristStyles','description','startingType','showGraphqlErrorResponse','showGraphqlException','length','getGristColumnConfig2','name','1731932DmmXJQ','multiple','activity-state-deprecated','assign','meta-activity-viewer-element','meta-activity-list-page','querySelector','gridMode','filter','relation-menu','system_update','menu','task','deploy','getSelectColumns','tLabel','deleteListByGristSelected','getGristSelectableConfig','getGristCodeSelectorColumnConfig','getGristPagination50Config','menuType','parse','routing','MENU_PAGE_TYPE','render','updated_at','left','shadowRoot','grist','isNotEmpty','info','POPUP','deprecated','errors','released','like','deleteMetaActivities'];a0_0x10c3=function(){return _0xcc96f8;};return a0_0x10c3();}
18
+ `;}}window[a0_0x2fcb47(0x105)]['define'](a0_0x2fcb47(0xfc),MetaActivityListPage);
@@ -1,3 +1,3 @@
1
- const a0_0x3aed9a=a0_0x1cc9;function a0_0x1cc9(_0x5c79f9,_0x4d6305){const _0x591a3f=a0_0x591a();return a0_0x1cc9=function(_0x1cc904,_0x1531c9){_0x1cc904=_0x1cc904-0x9b;let _0x85f577=_0x591a3f[_0x1cc904];return _0x85f577;},a0_0x1cc9(_0x5c79f9,_0x4d6305);}(function(_0x31cffa,_0x1b82ad){const _0x17ca28=a0_0x1cc9,_0xc46d30=_0x31cffa();while(!![]){try{const _0x595253=parseInt(_0x17ca28(0x9f))/0x1*(-parseInt(_0x17ca28(0x9c))/0x2)+-parseInt(_0x17ca28(0xa7))/0x3+-parseInt(_0x17ca28(0x9e))/0x4+-parseInt(_0x17ca28(0xad))/0x5*(-parseInt(_0x17ca28(0x9b))/0x6)+parseInt(_0x17ca28(0xac))/0x7+-parseInt(_0x17ca28(0xa5))/0x8+-parseInt(_0x17ca28(0x9d))/0x9*(parseInt(_0x17ca28(0xaf))/0xa);if(_0x595253===_0x1b82ad)break;else _0xc46d30['push'](_0xc46d30['shift']());}catch(_0x16c1c7){_0xc46d30['push'](_0xc46d30['shift']());}}}(a0_0x591a,0x7efca));function a0_0x591a(){const _0x473f60=['define','render','meta-activity-viewer-element','relationMenu','isEmpty','555768GWfxOD','tagName','956289kGmmSJ','name','\x27\x20route_name=\x27','contentElement','activityDataSet','2021614ovgLVn','20Tcfkyk','output','13450zHFSVO','customData','1109688tRZNLz','4hGxEap','36IMrRCS','304504sbzYfk','19358RTFnkP'];a0_0x591a=function(){return _0x473f60;};return a0_0x591a();}import a0_0x46fdfc 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_0x3aed9a(0xa1)](){const _0x13ffc2=a0_0x3aed9a;if(this[_0x13ffc2(0xa3)]&&!this[_0x13ffc2(0xaa)]){let _0x375319=this[_0x13ffc2(0xa3)][_0x13ffc2(0xa6)],_0x1a8f8c=this[_0x13ffc2(0xa3)]['routing'],_0x3767fa='<'+_0x375319+'\x20id=\x27'+this[_0x13ffc2(0xa3)][_0x13ffc2(0xa8)]+_0x13ffc2(0xa9)+_0x1a8f8c+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x375319+'>';this[_0x13ffc2(0xaa)]=UiUtil['htmlToElement'](_0x3767fa),this[_0x13ffc2(0xaa)][_0x13ffc2(0xab)]=ValueUtil[_0x13ffc2(0xa4)](this[_0x13ffc2(0xae)])?void 0x0:this[_0x13ffc2(0xae)][_0x13ffc2(0xb0)];}return html`
2
- ${this['contentElement']}
3
- `;}}customElements[a0_0x3aed9a(0xa0)](a0_0x3aed9a(0xa2),MetaActivityViewerElement);
1
+ const a0_0x3895d2=a0_0x1ddb;(function(_0x3e89ac,_0x581ec2){const _0x17ed7c=a0_0x1ddb,_0x8ae60a=_0x3e89ac();while(!![]){try{const _0x28fc37=parseInt(_0x17ed7c(0xdb))/0x1*(-parseInt(_0x17ed7c(0xd7))/0x2)+parseInt(_0x17ed7c(0xe8))/0x3*(parseInt(_0x17ed7c(0xdc))/0x4)+-parseInt(_0x17ed7c(0xea))/0x5*(parseInt(_0x17ed7c(0xe0))/0x6)+-parseInt(_0x17ed7c(0xd6))/0x7*(parseInt(_0x17ed7c(0xd8))/0x8)+-parseInt(_0x17ed7c(0xd9))/0x9*(parseInt(_0x17ed7c(0xe3))/0xa)+parseInt(_0x17ed7c(0xe2))/0xb+-parseInt(_0x17ed7c(0xd2))/0xc*(-parseInt(_0x17ed7c(0xd3))/0xd);if(_0x28fc37===_0x581ec2)break;else _0x8ae60a['push'](_0x8ae60a['shift']());}catch(_0xf65745){_0x8ae60a['push'](_0x8ae60a['shift']());}}}(a0_0x264a,0xb637d));import a0_0x48f0d3 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';function a0_0x264a(){const _0x19364b=['2197270ASQOvV','customData','define','contentElement','routing','634947IFMItq','\x27\x20route_name=\x27','380fIsFhR','name','tagName','12FtDxYi','51795497rTYWHz','render','output','7308DRvUZM','2646516vKzUnF','7920LqpFjj','27dJHAhe','relationMenu','1MujjLH','4xNjxDK','htmlToElement','meta-activity-viewer-element','activityDataSet','57390BVAwLo','\x20id=\x27','3227246neXPAH'];a0_0x264a=function(){return _0x19364b;};return a0_0x264a();}import{MetaActivityMixin}from'./meta-activiy-mixin.js';function a0_0x1ddb(_0x50287a,_0x46ec42){const _0x264ad6=a0_0x264a();return a0_0x1ddb=function(_0x1ddbef,_0x19f949){_0x1ddbef=_0x1ddbef-0xd2;let _0x4b5dd7=_0x264ad6[_0x1ddbef];return _0x4b5dd7;},a0_0x1ddb(_0x50287a,_0x46ec42);}export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x3895d2(0xd4)](){const _0x516530=a0_0x3895d2;if(this[_0x516530(0xda)]&&!this[_0x516530(0xe6)]){let _0x569dba=this[_0x516530(0xda)][_0x516530(0xec)],_0x4af86f=this[_0x516530(0xda)][_0x516530(0xe7)],_0x582a1b='<'+_0x569dba+_0x516530(0xe1)+this['relationMenu'][_0x516530(0xeb)]+_0x516530(0xe9)+_0x4af86f+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x569dba+'>';this[_0x516530(0xe6)]=UiUtil[_0x516530(0xdd)](_0x582a1b),this[_0x516530(0xe6)][_0x516530(0xdf)]=ValueUtil['isEmpty'](this[_0x516530(0xd5)])?void 0x0:this[_0x516530(0xd5)][_0x516530(0xe4)];}return html`
2
+ ${this[_0x516530(0xe6)]}
3
+ `;}}customElements[a0_0x3895d2(0xe5)](a0_0x3895d2(0xde),MetaActivityViewerElement);
@@ -1,3 +1,3 @@
1
- const a0_0x322199=a0_0x564b;function a0_0x564b(_0x5e45fa,_0x48f8c7){const _0x571fa4=a0_0x571f();return a0_0x564b=function(_0x564b9d,_0x343bcc){_0x564b9d=_0x564b9d-0x73;let _0x5f1b9c=_0x571fa4[_0x564b9d];return _0x5f1b9c;},a0_0x564b(_0x5e45fa,_0x48f8c7);}(function(_0x3cca72,_0x37199a){const _0x55c19e=a0_0x564b,_0x3ce336=_0x3cca72();while(!![]){try{const _0x2fa818=parseInt(_0x55c19e(0x89))/0x1*(-parseInt(_0x55c19e(0x74))/0x2)+-parseInt(_0x55c19e(0x7a))/0x3*(-parseInt(_0x55c19e(0x8b))/0x4)+-parseInt(_0x55c19e(0x82))/0x5*(-parseInt(_0x55c19e(0x7e))/0x6)+parseInt(_0x55c19e(0x7d))/0x7+parseInt(_0x55c19e(0x83))/0x8+parseInt(_0x55c19e(0x8e))/0x9+parseInt(_0x55c19e(0x92))/0xa*(-parseInt(_0x55c19e(0x86))/0xb);if(_0x2fa818===_0x37199a)break;else _0x3ce336['push'](_0x3ce336['shift']());}catch(_0x40b83f){_0x3ce336['push'](_0x3ce336['shift']());}}}(a0_0x571f,0xec724));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x571f(){const _0x5518ed=['9574640tLOWnm','meta-activity-writer-element','output','11cXRvSl','change','\x20id=\x27','1108600yRxtSC','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','238328AgmPYj','customData','contentElement','1214334VlLrqG','tagName','render','activityDataSet','24705230ZSFwVL','addEventListener','field-change','2EQQoTP','\x27\x20route_name=\x27','relationMenu','getData','htmlToElement','dispatchEvent','54dRdGhP','name','define','3627491ESdKoY','2562ovdLbf','isEmpty','_onFieldChange','connectedCallback','19030FNjbHi'];a0_0x571f=function(){return _0x5518ed;};return a0_0x571f();}import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0x322199(0x81)](){const _0x14c272=a0_0x322199;await super[_0x14c272(0x81)](),this[_0x14c272(0x93)]('field-change',this['_onFieldChange']);}['disconnectedCallback'](){const _0x463e1a=a0_0x322199;this['removeEventListener'](_0x463e1a(0x73),this[_0x463e1a(0x80)]);}['_onFieldChange'](_0x19d25a){const _0x2826f4=a0_0x322199;let _0x35df40=this['contentElement'][_0x2826f4(0x77)]();this[_0x2826f4(0x79)](new CustomEvent(_0x2826f4(0x87),{'detail':{'customData':_0x35df40}}));}[a0_0x322199(0x90)](){const _0x5d34b2=a0_0x322199;if(this[_0x5d34b2(0x76)]&&!this[_0x5d34b2(0x8d)]){let _0x1ebc07=this[_0x5d34b2(0x76)][_0x5d34b2(0x8f)],_0x532f23=this[_0x5d34b2(0x76)]['routing'],_0xc5d4fc='<'+_0x1ebc07+_0x5d34b2(0x88)+this[_0x5d34b2(0x76)][_0x5d34b2(0x7b)]+_0x5d34b2(0x75)+_0x532f23+_0x5d34b2(0x8a)+_0x1ebc07+'>';this['contentElement']=UiUtil[_0x5d34b2(0x78)](_0xc5d4fc),this[_0x5d34b2(0x8d)][_0x5d34b2(0x91)]=ValueUtil[_0x5d34b2(0x7f)](this['output'])?void 0x0:this[_0x5d34b2(0x85)][_0x5d34b2(0x8c)];}return html`
2
- ${this['contentElement']}
3
- `;}}customElements[a0_0x322199(0x7c)](a0_0x322199(0x84),MetaActivityWriterElement);
1
+ const a0_0x4e50a9=a0_0x5b8d;(function(_0x57aba5,_0x3ee761){const _0xaf6784=a0_0x5b8d,_0x5b5c8d=_0x57aba5();while(!![]){try{const _0x27b3ec=-parseInt(_0xaf6784(0x163))/0x1*(-parseInt(_0xaf6784(0x154))/0x2)+-parseInt(_0xaf6784(0x165))/0x3*(parseInt(_0xaf6784(0x153))/0x4)+parseInt(_0xaf6784(0x160))/0x5*(parseInt(_0xaf6784(0x158))/0x6)+-parseInt(_0xaf6784(0x152))/0x7*(-parseInt(_0xaf6784(0x14d))/0x8)+-parseInt(_0xaf6784(0x156))/0x9+parseInt(_0xaf6784(0x14e))/0xa*(-parseInt(_0xaf6784(0x151))/0xb)+parseInt(_0xaf6784(0x14c))/0xc;if(_0x27b3ec===_0x3ee761)break;else _0x5b5c8d['push'](_0x5b5c8d['shift']());}catch(_0x2beddd){_0x5b5c8d['push'](_0x5b5c8d['shift']());}}}(a0_0x1cb1,0x2e80f));function a0_0x5b8d(_0x10e1d7,_0xbda788){const _0x1cb1ba=a0_0x1cb1();return a0_0x5b8d=function(_0x5b8d53,_0x1bda28){_0x5b8d53=_0x5b8d53-0x14c;let _0x39e5cf=_0x1cb1ba[_0x5b8d53];return _0x39e5cf;},a0_0x5b8d(_0x10e1d7,_0xbda788);}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_0x1cb1(){const _0x26b44c=['4662600MDqaaW','1928uaiBbf','10tDLJwE','field-change','name','1347027KcABbN','8939QFCZkV','1519028YXZoJG','392636zYewRt','getData','3417345qhgygT','relationMenu','98058bBtSVH','\x20id=\x27','meta-activity-writer-element','routing','define','connectedCallback','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','render','55iRoYNY','output','addEventListener','1uRJkqk','_onFieldChange','3kBCMct','customData','contentElement'];a0_0x1cb1=function(){return _0x26b44c;};return a0_0x1cb1();}import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async['connectedCallback'](){const _0x374166=a0_0x5b8d;await super[_0x374166(0x15d)](),this[_0x374166(0x162)](_0x374166(0x14f),this['_onFieldChange']);}['disconnectedCallback'](){const _0x52c0ce=a0_0x5b8d;this['removeEventListener'](_0x52c0ce(0x14f),this[_0x52c0ce(0x164)]);}['_onFieldChange'](_0x58a922){const _0x3c5410=a0_0x5b8d;let _0x461b4d=this[_0x3c5410(0x167)][_0x3c5410(0x155)]();this['dispatchEvent'](new CustomEvent('change',{'detail':{'customData':_0x461b4d}}));}[a0_0x4e50a9(0x15f)](){const _0x4701fc=a0_0x4e50a9;if(this[_0x4701fc(0x157)]&&!this[_0x4701fc(0x167)]){let _0x10f82a=this['relationMenu']['tagName'],_0x487cf9=this[_0x4701fc(0x157)][_0x4701fc(0x15b)],_0x4c84d7='<'+_0x10f82a+_0x4701fc(0x159)+this[_0x4701fc(0x157)][_0x4701fc(0x150)]+'\x27\x20route_name=\x27'+_0x487cf9+_0x4701fc(0x15e)+_0x10f82a+'>';this[_0x4701fc(0x167)]=UiUtil['htmlToElement'](_0x4c84d7),this[_0x4701fc(0x167)]['activityDataSet']=ValueUtil['isEmpty'](this[_0x4701fc(0x161)])?void 0x0:this[_0x4701fc(0x161)][_0x4701fc(0x166)];}return html`
2
+ ${this[_0x4701fc(0x167)]}
3
+ `;}}customElements[a0_0x4e50a9(0x15c)](a0_0x4e50a9(0x15a),MetaActivityWriterElement);
@@ -1,11 +1,11 @@
1
- function a0_0x1084(){const _0x5e5cf3=['-element','tagName','5lxEwLb','getMenuInfo','getActivity','569080cckLyh','relation-menu','5225178lLVrth','query','properties','activity','1098716xafmPj','connectedCallback','relationMenu','assign','3141831VpIUWu','value_is_not_exist','records','model','styles','-page','name','showToast','forEach','endsWith','replace','2169923PeRFoJ','4297856NnglUb','category','routing','387312zeMDYf','45CHQNGk','searchByPagination','resourceUrl','info','tMenu','length'];a0_0x1084=function(){return _0x5e5cf3;};return a0_0x1084();}const a0_0x4a19d1=a0_0x2a3f;(function(_0x8dc7d9,_0x4c6972){const _0x7cea6d=a0_0x2a3f,_0x50fa40=_0x8dc7d9();while(!![]){try{const _0x3827f3=parseInt(_0x7cea6d(0x17b))/0x1+parseInt(_0x7cea6d(0x169))/0x2+parseInt(_0x7cea6d(0x15a))/0x3+parseInt(_0x7cea6d(0x175))/0x4*(-parseInt(_0x7cea6d(0x172))/0x5)+parseInt(_0x7cea6d(0x177))/0x6+parseInt(_0x7cea6d(0x165))/0x7+-parseInt(_0x7cea6d(0x166))/0x8*(parseInt(_0x7cea6d(0x16a))/0x9);if(_0x3827f3===_0x4c6972)break;else _0x50fa40['push'](_0x50fa40['shift']());}catch(_0x174053){_0x50fa40['push'](_0x50fa40['shift']());}}}(a0_0x1084,0xa8f67));import a0_0x2668e3 from'graphql-tag';import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';function a0_0x2a3f(_0x114513,_0x642557){const _0x1084a6=a0_0x1084();return a0_0x2a3f=function(_0x2a3f74,_0x51d2ab){_0x2a3f74=_0x2a3f74-0x157;let _0xa04ef0=_0x1084a6[_0x2a3f74];return _0xa04ef0;},a0_0x2a3f(_0x114513,_0x642557);}import{MetaApi}from'./../../utils/meta-api';export const MetaActivityMixin=_0x45f69f=>class extends _0x45f69f{static get[a0_0x4a19d1(0x179)](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x4a19d1(0x15e)](){return css`
1
+ const a0_0x48fa2c=a0_0x5e7e;(function(_0x37db30,_0x374fde){const _0x1dcbdb=a0_0x5e7e,_0x391153=_0x37db30();while(!![]){try{const _0x51933a=-parseInt(_0x1dcbdb(0xb4))/0x1+-parseInt(_0x1dcbdb(0xa7))/0x2*(parseInt(_0x1dcbdb(0x9a))/0x3)+-parseInt(_0x1dcbdb(0xaf))/0x4*(-parseInt(_0x1dcbdb(0xa3))/0x5)+parseInt(_0x1dcbdb(0x9b))/0x6+parseInt(_0x1dcbdb(0xb0))/0x7+-parseInt(_0x1dcbdb(0x9d))/0x8+parseInt(_0x1dcbdb(0x97))/0x9;if(_0x51933a===_0x374fde)break;else _0x391153['push'](_0x391153['shift']());}catch(_0x9085a5){_0x391153['push'](_0x391153['shift']());}}}(a0_0x4e0d,0x4cdb5));import a0_0x155322 from'graphql-tag';import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';function a0_0x5e7e(_0x2868ce,_0x181ecf){const _0x4e0d8d=a0_0x4e0d();return a0_0x5e7e=function(_0x5e7e4e,_0x479f4b){_0x5e7e4e=_0x5e7e4e-0x97;let _0x266665=_0x4e0d8d[_0x5e7e4e];return _0x266665;},a0_0x5e7e(_0x2868ce,_0x181ecf);}import{MetaApi}from'./../../utils/meta-api';export const MetaActivityMixin=_0x567ce7=>class extends _0x567ce7{static get[a0_0x48fa2c(0xa4)](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x48fa2c(0xb6)](){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['connectedCallback'](){const _0x5a7966=a0_0x4a19d1;await this[_0x5a7966(0x174)](),await super[_0x5a7966(0x157)]();}async[a0_0x4a19d1(0x174)](){const _0x2a151b=a0_0x4a19d1,_0x202865=await client[_0x2a151b(0x178)]({'query':a0_0x2668e3`
8
+ `;}async[a0_0x48fa2c(0x9f)](){const _0x43249a=a0_0x48fa2c;await this[_0x43249a(0xac)](),await super[_0x43249a(0x9f)]();}async[a0_0x48fa2c(0xac)](){const _0x1e4445=a0_0x48fa2c,_0x20a833=await client['query']({'query':a0_0x155322`
9
9
  query activity($id: String!) {
10
10
  activity(id: $id) {
11
11
  id
@@ -15,4 +15,4 @@ function a0_0x1084(){const _0x5e5cf3=['-element','tagName','5lxEwLb','getMenuInf
15
15
  }
16
16
  }
17
17
  }
18
- `,'variables':{'id':this['activityId']}});let _0x51126a;this[_0x2a151b(0x17a)]=_0x202865['data'][_0x2a151b(0x17a)],this['activity'][_0x2a151b(0x15d)]?.[_0x2a151b(0x162)](_0x1d1d95=>{const _0x38c173=_0x2a151b;_0x38c173(0x176)==_0x1d1d95[_0x38c173(0x160)]&&(_0x51126a=JSON['parse'](_0x1d1d95['description']));}),this[_0x2a151b(0x158)]=_0x51126a,await this[_0x2a151b(0x173)](this[_0x2a151b(0x158)]['id'],this['relationMenu'][_0x2a151b(0x168)]);}async['getMenuInfo'](_0x5e7c30,_0x8050c5){const _0x5811d6=a0_0x4a19d1;let _0x2c8a47=[{'name':'id','operator':'eq','value':_0x5e7c30}],_0x2b1c45=await ServiceUtil[_0x5811d6(0x16b)]('menus',_0x2c8a47,null,0x0,0x0,'id,category,resourceUrl');if(!_0x2b1c45&&0x0==_0x2b1c45[_0x5811d6(0x16f)]){let _0x2b238b=TermsUtil['tText'](_0x5811d6(0x15b),{'value':TermsUtil[_0x5811d6(0x16e)]('menu')+'\x20'+_0x8050c5});throw MetaApi[_0x5811d6(0x161)](_0x5811d6(0x16d),_0x2b238b),new Error(_0x2b238b);}let _0x13b77b=_0x2b1c45[_0x5811d6(0x15c)][0x0];_0x13b77b[_0x5811d6(0x171)]=_0x13b77b[_0x5811d6(0x167)][_0x5811d6(0x163)](_0x5811d6(0x15f))?_0x13b77b['category']['replace'](_0x5811d6(0x15f),_0x5811d6(0x170)):_0x13b77b[_0x5811d6(0x167)],_0x13b77b[_0x5811d6(0x16c)]=_0x13b77b[_0x5811d6(0x16c)][_0x5811d6(0x164)](_0x13b77b['category'],_0x13b77b[_0x5811d6(0x171)]),Object[_0x5811d6(0x159)](this[_0x5811d6(0x158)],_0x13b77b);}};
18
+ `,'variables':{'id':this['activityId']}});let _0x45c7f8;this[_0x1e4445(0xb3)]=_0x20a833[_0x1e4445(0xa1)][_0x1e4445(0xb3)],this[_0x1e4445(0xb3)]['model']?.['forEach'](_0x42ec27=>{const _0x162514=_0x1e4445;_0x162514(0x99)==_0x42ec27[_0x162514(0x9e)]&&(_0x45c7f8=JSON[_0x162514(0xa8)](_0x42ec27[_0x162514(0xae)]));}),this[_0x1e4445(0xa0)]=_0x45c7f8,await this['getMenuInfo'](this[_0x1e4445(0xa0)]['id'],this[_0x1e4445(0xa0)][_0x1e4445(0xa2)]);}async[a0_0x48fa2c(0x9c)](_0x487992,_0x19ba4e){const _0xc01e4b=a0_0x48fa2c;let _0x2dfbf8=[{'name':'id','operator':'eq','value':_0x487992}],_0x2b96f7=await ServiceUtil[_0xc01e4b(0xb2)]('menus',_0x2dfbf8,null,0x0,0x0,_0xc01e4b(0xa9));if(!_0x2b96f7&&0x0==_0x2b96f7[_0xc01e4b(0xa5)]){let _0x406290=TermsUtil[_0xc01e4b(0xb9)](_0xc01e4b(0x98),{'value':TermsUtil['tMenu']('menu')+'\x20'+_0x19ba4e});throw MetaApi['showToast'](_0xc01e4b(0xb7),_0x406290),new Error(_0x406290);}let _0x4cfd01=_0x2b96f7['records'][0x0];_0x4cfd01[_0xc01e4b(0xad)]=_0x4cfd01[_0xc01e4b(0xb1)]['endsWith'](_0xc01e4b(0xab))?_0x4cfd01['category'][_0xc01e4b(0xaa)]('-page',_0xc01e4b(0xa6)):_0x4cfd01[_0xc01e4b(0xb1)],_0x4cfd01[_0xc01e4b(0xb5)]=_0x4cfd01['resourceUrl'][_0xc01e4b(0xaa)](_0x4cfd01['category'],_0x4cfd01['tagName']),Object[_0xc01e4b(0xb8)](this['relationMenu'],_0x4cfd01);}};function a0_0x4e0d(){const _0x17dcba=['2097522JEInyw','category','searchByPagination','activity','595282kqTPFv','resourceUrl','styles','info','assign','tText','7272459ojSDkF','value_is_not_exist','relation-menu','9cUXlYf','2130114nXjSaA','getMenuInfo','2340272MkrxJM','name','connectedCallback','relationMenu','data','routing','357065ZLYxRV','properties','length','-element','268614pwOOev','parse','id,category,resourceUrl','replace','-page','getActivity','tagName','description','8qtdNep'];a0_0x4e0d=function(){return _0x17dcba;};return a0_0x4e0d();}