@things-factory/meta-ui 6.0.134 → 6.0.140

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 (89) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +31 -11
  3. package/client/component/filter/filter-form-meta-code-select.js +16 -0
  4. package/client/component/filter/filter-form-meta-object-select.js +16 -0
  5. package/client/component/filter/filter-grist-meta-code-select.js +16 -0
  6. package/client/component/filter/filter-grist-meta-object-select.js +16 -0
  7. package/client/component/grist/editor/grist-editor-meta-code-selector.js +9 -0
  8. package/client/component/grist/editor/grist-editor-meta-object-selector.js +9 -0
  9. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -0
  10. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -0
  11. package/client/component/selector/meta-object-selector-popup.js +40 -0
  12. package/client/mixin/meta-base-mixin.js +1 -1
  13. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  14. package/client/mixin/meta-button-mixin.js +1 -1
  15. package/client/mixin/meta-form-mixin.js +1 -1
  16. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  17. package/client/mixin/meta-main-tab-mixin.js +1 -1
  18. package/client/mixin/meta-master-detail-mixin.js +1 -1
  19. package/client/mixin/meta-service-mixin.js +1 -1
  20. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  21. package/client/mixin/meta-tab-mixin.js +1 -1
  22. package/client/pages/activity/meta-activity-list-page.js +6 -6
  23. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  24. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  25. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  26. package/client/pages/entity/config-entity.js +29 -29
  27. package/client/pages/entity/main-menu-selector.js +8 -8
  28. package/client/pages/history/history-copy-list-popup.js +4 -4
  29. package/client/pages/history/history-json-list-popup.js +6 -6
  30. package/client/pages/loading-page.js +5 -5
  31. package/client/pages/menu/dynamic-menu-template.js +7 -7
  32. package/client/pages/menu/dynamic-menu.js +15 -15
  33. package/client/pages/meta-form-element.js +1 -1
  34. package/client/pages/meta-grist-element.js +1 -1
  35. package/client/pages/meta-grist-page.js +1 -1
  36. package/client/pages/meta-grist-tab-element.js +1 -1
  37. package/client/pages/meta-grist-tab-page.js +1 -1
  38. package/client/pages/meta-main-tab-element.js +1 -1
  39. package/client/pages/meta-main-tab-page.js +1 -1
  40. package/client/pages/meta-master-detail-element.js +1 -1
  41. package/client/pages/meta-master-detail-page.js +1 -1
  42. package/client/pages/meta-tab-detail-element.js +1 -1
  43. package/client/pages/meta-tab-detail-page.js +1 -1
  44. package/client/pages/meta-tab-element.js +1 -1
  45. package/client/pages/personalize/personal-column-selector.js +11 -11
  46. package/client/pages/terms/config-terminology.js +6 -6
  47. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  48. package/client/pages/work-code/work-code-page.js +1 -1
  49. package/client/reducers/main.js +1 -1
  50. package/client/utils/meta-api.js +1 -1
  51. package/client/utils/meta-crypto.js +1 -1
  52. package/client/utils/meta-ui-util.js +103 -103
  53. package/client/utils/service-util.js +13 -13
  54. package/client/utils/terms-util.js +2 -2
  55. package/client/utils/ui-util.js +1 -1
  56. package/client/utils/value-util.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  58. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  59. package/client/viewparts/dynamic-menu-part.js +12 -12
  60. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  61. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  62. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  63. package/package.json +2 -2
  64. package/server/activity/CommonActivity.js +2 -2
  65. package/server/constants/error-code.js +1 -1
  66. package/server/errors/license-error.js +1 -1
  67. package/server/routes.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  73. package/server/service/meta-activity/meta-activity-query.js +1 -1
  74. package/server/service/meta-activity/meta-activity-type.js +1 -1
  75. package/server/service/meta-secret/meta-resolver.js +1 -1
  76. package/server/service/set-translations/set-translation-resolver.js +1 -1
  77. package/server/service/work-code/work-code-mutation.js +1 -1
  78. package/server/service/work-code/work-code-query.js +1 -1
  79. package/server/service/work-code/work-code-type.js +1 -1
  80. package/server/service/work-code/work-code.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail.js +1 -1
  85. package/client/component/filter/filter-form-resource-code-select.js +0 -16
  86. package/client/component/filter/filter-grist-resource-code-select.js +0 -16
  87. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +0 -11
  88. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +0 -1
  89. package/client/component/selector/ox-resource-code-selector-popup.js +0 -40
@@ -1 +1 @@
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
+ const a0_0x42fdcf=a0_0x16b3;(function(_0x33bc01,_0x63e217){const _0x117d8b=a0_0x16b3,_0x3ddcd7=_0x33bc01();while(!![]){try{const _0x26dd20=parseInt(_0x117d8b(0x16f))/0x1*(parseInt(_0x117d8b(0x162))/0x2)+-parseInt(_0x117d8b(0x159))/0x3*(parseInt(_0x117d8b(0x145))/0x4)+parseInt(_0x117d8b(0x158))/0x5*(parseInt(_0x117d8b(0x167))/0x6)+parseInt(_0x117d8b(0x17e))/0x7+parseInt(_0x117d8b(0x177))/0x8+parseInt(_0x117d8b(0x14a))/0x9*(parseInt(_0x117d8b(0x14d))/0xa)+-parseInt(_0x117d8b(0x163))/0xb;if(_0x26dd20===_0x63e217)break;else _0x3ddcd7['push'](_0x3ddcd7['shift']());}catch(_0x5c0795){_0x3ddcd7['push'](_0x3ddcd7['shift']());}}}(a0_0x4e33,0x77c20));function a0_0x4e33(){const _0x40cc06=['gristId','846350CZHlFy','23047013UgtAzR','search','push','gridColumnConfig','3018318YPFVsI','main','useFilterForm','gristConfigSet','querySelector','pageInitialized','parseGridConfigSet','isPage','2MmTxLj','connectedCallback','searchFieldValues','ox-grist','actions','header','searchFields','context','2990992IrSKgh','buttonConfig','filter','parseBasicGridConfigs','beforeFetch','useButtonImport','styles','2851772RjsGPn','84RmBbHp','getData','type','parseGristConfigs','fetch','18eVoORZ','clear','importable','3032660FHXHvh','exportable','gridConfig','value','operator','shadowRoot','firstUpdated','masterElement','dataSet','grist','getBasicMainTabStyles','5KnTSAw','21642ZyLKFG','activityDataSet','name','getContextObject','getAndParseMenuMeta','render','options','record'];a0_0x4e33=function(){return _0x40cc06;};return a0_0x4e33();}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x16b3(_0x48614d,_0x101c43){const _0x4e334e=a0_0x4e33();return a0_0x16b3=function(_0x16b3ab,_0xfd5982){_0x16b3ab=_0x16b3ab-0x145;let _0x35e2bf=_0x4e334e[_0x16b3ab];return _0x35e2bf;},a0_0x16b3(_0x48614d,_0x101c43);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x89886e=>class extends MetaButtonMixin(_0x89886e){static get[a0_0x42fdcf(0x17d)](){const _0x2d7e99=a0_0x42fdcf;return MetaApi[_0x2d7e99(0x157)]();}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_0x42fdcf(0x156)](){const _0x4253d0=a0_0x42fdcf;return this[_0x4253d0(0x154)]['getMainGrist']();}get['filterForm'](){const _0x2e1116=a0_0x42fdcf;return this[_0x2e1116(0x152)]?.[_0x2e1116(0x16b)](this['filterFormId']);}get[a0_0x42fdcf(0x176)](){const _0x21ed8e=a0_0x42fdcf;let _0x528d09=MetaUiUtil[_0x21ed8e(0x15c)](this);return _0x528d09[_0x21ed8e(0x173)]&&delete _0x528d09[_0x21ed8e(0x173)],_0x528d09[_0x21ed8e(0x14e)]&&delete _0x528d09[_0x21ed8e(0x14e)],_0x528d09[_0x21ed8e(0x14c)]&&delete _0x528d09['importable'],_0x528d09;}async['connectedCallback'](){const _0x32c9b9=a0_0x42fdcf;this[_0x32c9b9(0x161)]=_0x32c9b9(0x172),this['filterFormId']='ox-filters-form-base',await this[_0x32c9b9(0x15d)](),this['isElement']&&await this[_0x32c9b9(0x148)](),this['activityDataSet']&&(this[_0x32c9b9(0x155)]=(this[_0x32c9b9(0x15a)]||{})[_0x32c9b9(0x168)]),super[_0x32c9b9(0x170)]&&await super[_0x32c9b9(0x170)]();}async[a0_0x42fdcf(0x153)](){const _0x397524=a0_0x42fdcf;super[_0x397524(0x153)]&&await super[_0x397524(0x153)]();}async['pageInitialized'](){const _0x279fa5=a0_0x42fdcf;this[_0x279fa5(0x16e)]&&await this[_0x279fa5(0x148)](),super[_0x279fa5(0x16c)]&&await super['pageInitialized']();}[a0_0x42fdcf(0x15e)](){return MetaApi['getMainTabHtml'](this);}[a0_0x42fdcf(0x17a)](_0x5ccf7a){const _0x464a44=a0_0x42fdcf;this[_0x464a44(0x14f)]=_0x5ccf7a['grid'],this[_0x464a44(0x166)]=_0x5ccf7a['grid_column'],this['searchConfig']=_0x5ccf7a[_0x464a44(0x164)];}async[a0_0x42fdcf(0x148)](){const _0x4e48e6=a0_0x42fdcf;this[_0x4e48e6(0x16a)]=await MetaApi[_0x4e48e6(0x16d)](this),this['useMasterFilterForm']=!0x0===this['useFilterForm'],this[_0x4e48e6(0x169)]=!0x1,this[_0x4e48e6(0x178)]=void 0x0,this['useButtonExport']=!0x1,this[_0x4e48e6(0x17c)]=!0x1,this[_0x4e48e6(0x171)]=[],this[_0x4e48e6(0x175)]=this[_0x4e48e6(0x16a)]['columns'][_0x4e48e6(0x179)](_0x5a551d=>_0x5a551d[_0x4e48e6(0x179)])['map'](_0x47fe7c=>{const _0x3cf594=_0x4e48e6;let _0x5c6f56={'name':_0x47fe7c[_0x3cf594(0x15b)],'type':_0x3cf594(0x164)===_0x47fe7c['filter'][_0x3cf594(0x151)]?_0x3cf594(0x164):_0x47fe7c[_0x3cf594(0x147)],'label':_0x47fe7c[_0x3cf594(0x174)],'operator':_0x47fe7c['filter']['operator']?_0x47fe7c[_0x3cf594(0x179)]['operator']:'eq'};return _0x47fe7c[_0x3cf594(0x179)][_0x3cf594(0x15f)]&&(_0x5c6f56[_0x3cf594(0x15f)]=_0x47fe7c['filter']['options']),_0x47fe7c['record'][_0x3cf594(0x15f)]&&(_0x5c6f56[_0x3cf594(0x15f)]=_0x47fe7c[_0x3cf594(0x160)][_0x3cf594(0x15f)]),_0x47fe7c[_0x3cf594(0x179)][_0x3cf594(0x150)]&&this[_0x3cf594(0x171)][_0x3cf594(0x165)]({'name':_0x5c6f56[_0x3cf594(0x15b)],'operator':_0x5c6f56['operator'],'value':_0x47fe7c['filter']['value']}),delete _0x47fe7c['filter'],_0x5c6f56;});}async[a0_0x42fdcf(0x149)](){const _0x2c34bf=a0_0x42fdcf;await this[_0x2c34bf(0x156)][_0x2c34bf(0x149)]();}async[a0_0x42fdcf(0x17b)]({page:_0x59e40f=0x0,limit:_0x51134d=0x0,sortings:_0x4f8ee9=[],filters:_0x795fd4=[]}){const _0x569e9e=a0_0x42fdcf;return this[_0x569e9e(0x154)]&&this[_0x569e9e(0x154)]['clear']&&await this[_0x569e9e(0x154)][_0x569e9e(0x14b)](),!0x0;}[a0_0x42fdcf(0x146)](){const _0xfb4811=a0_0x42fdcf;return{'master':this[_0xfb4811(0x154)][_0xfb4811(0x146)]()};}};
@@ -1 +1 @@
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
+ const a0_0x1b0a22=a0_0x39ae;function a0_0x39ae(_0x18aed9,_0x44d3e3){const _0x1ba998=a0_0x1ba9();return a0_0x39ae=function(_0x39aef3,_0x336d63){_0x39aef3=_0x39aef3-0x1f4;let _0x5cd1b6=_0x1ba998[_0x39aef3];return _0x5cd1b6;},a0_0x39ae(_0x18aed9,_0x44d3e3);}function a0_0x1ba9(){const _0x166011=['isElement','getData','operator','search','push','getBasicMasterDetailStyles','render','parse','dataSet','context','connectedCallback','deleteByIds','gridColumnConfig','parseGristConfigs','activityDataSet','actions','options','forEach','pageInitialized','header','name','96MbKWDf','beforeFetch','getContextObject','6233121SAXCdy','querySelector','startsWith','keys','find','record','5469655gcekVN','patchesForUpdateMultiple','getSelectedIdList','7771489fRIeOc','7022040UaSXOu','save','isPage','properties','searchFields','delete','value','import','tTitle','filter','firstUpdated','main','exportable','filterFormId','export','columns','useFilterForm','ox-grist','210FnSwgf','178LOzCvd','52568glQygj','___data','type','isNotEmpty','detailElement','186025recGTa','renderRoot','records','fetch','useMasterFilterForm','grid','ox-filters-form-base','getMasterDetailHtml','map','searchFieldValues','clear','exportableData','parseGridConfigSet','importable','5522kuHTAR','grist','gristConfigSet','10fiHRnb'];a0_0x1ba9=function(){return _0x166011;};return a0_0x1ba9();}(function(_0x1306a9,_0x38d327){const _0xc8237f=a0_0x39ae,_0xb152ab=_0x1306a9();while(!![]){try{const _0x3e03e4=parseInt(_0xc8237f(0x216))/0x1*(-parseInt(_0xc8237f(0x202))/0x2)+parseInt(_0xc8237f(0x201))/0x3*(parseInt(_0xc8237f(0x203))/0x4)+-parseInt(_0xc8237f(0x238))/0x5+parseInt(_0xc8237f(0x22f))/0x6*(parseInt(_0xc8237f(0x208))/0x7)+parseInt(_0xc8237f(0x23c))/0x8+-parseInt(_0xc8237f(0x232))/0x9+parseInt(_0xc8237f(0x219))/0xa*(parseInt(_0xc8237f(0x23b))/0xb);if(_0x3e03e4===_0x38d327)break;else _0xb152ab['push'](_0xb152ab['shift']());}catch(_0x44405e){_0xb152ab['push'](_0xb152ab['shift']());}}}(a0_0x1ba9,0x9f0ac));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0xb0e80=>class extends MetaButtonMixin(_0xb0e80){static get['styles'](){const _0x19672b=a0_0x39ae;return MetaApi[_0x19672b(0x21f)]();}static get[a0_0x1b0a22(0x23f)](){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_0x1b0a22(0x217)](){const _0x3fe7e1=a0_0x1b0a22;return this[_0x3fe7e1(0x209)][_0x3fe7e1(0x233)](this['gristId']);}get['filterForm'](){const _0x41a894=a0_0x1b0a22;return this['shadowRoot']?.['querySelector'](this[_0x41a894(0x1fc)]);}get[a0_0x1b0a22(0x223)](){const _0x360028=a0_0x1b0a22;let _0x259720=MetaUiUtil[_0x360028(0x231)](this);return _0x259720['actions']&&delete _0x259720[_0x360028(0x229)],_0x259720['exportable']&&delete _0x259720[_0x360028(0x1fb)],_0x259720[_0x360028(0x215)]&&delete _0x259720[_0x360028(0x215)],_0x259720;}async[a0_0x1b0a22(0x224)](){const _0x36a848=a0_0x1b0a22;this['gristId']=_0x36a848(0x200),this[_0x36a848(0x1fc)]=_0x36a848(0x20e),await this['getAndParseMenuMeta'](),this[_0x36a848(0x21a)]&&await this[_0x36a848(0x227)](),this[_0x36a848(0x228)]&&(this[_0x36a848(0x222)]=(this[_0x36a848(0x228)]||{})[_0x36a848(0x1fa)]),super[_0x36a848(0x224)]&&await super[_0x36a848(0x224)]();}async[a0_0x1b0a22(0x1f9)](){const _0x1bb96a=a0_0x1b0a22;super[_0x1bb96a(0x1f9)]&&await super[_0x1bb96a(0x1f9)]();}async[a0_0x1b0a22(0x22c)](){const _0x393f0a=a0_0x1b0a22;this[_0x393f0a(0x23e)]&&await this[_0x393f0a(0x227)](),super[_0x393f0a(0x22c)]&&await super[_0x393f0a(0x22c)]();}[a0_0x1b0a22(0x220)](){const _0x4a1b7e=a0_0x1b0a22;return MetaApi[_0x4a1b7e(0x20f)](this);}['parseBasicGridConfigs'](_0x426624){const _0x36c32d=a0_0x1b0a22;this['gridConfig']=_0x426624[_0x36c32d(0x20d)],this[_0x36c32d(0x226)]=_0x426624['grid_column'],this['searchConfig']=_0x426624['search'];}async[a0_0x1b0a22(0x227)](){const _0x220c91=a0_0x1b0a22;this['gristConfigSet']=await MetaApi[_0x220c91(0x214)](this),this[_0x220c91(0x20c)]=!0x0===this[_0x220c91(0x1ff)],this[_0x220c91(0x1ff)]=!0x1,this[_0x220c91(0x211)]=[],this[_0x220c91(0x240)]=this[_0x220c91(0x218)][_0x220c91(0x1fe)]['filter'](_0x15aa71=>_0x15aa71[_0x220c91(0x1f8)])[_0x220c91(0x210)](_0x48cad1=>{const _0x69ae44=_0x220c91;let _0x2d737f={'name':_0x48cad1[_0x69ae44(0x22e)],'type':_0x69ae44(0x21d)===_0x48cad1[_0x69ae44(0x1f8)][_0x69ae44(0x21c)]?'search':_0x48cad1[_0x69ae44(0x205)],'label':_0x48cad1[_0x69ae44(0x22d)],'operator':_0x48cad1[_0x69ae44(0x1f8)][_0x69ae44(0x21c)]?_0x48cad1['filter'][_0x69ae44(0x21c)]:'eq'};return _0x48cad1[_0x69ae44(0x1f8)][_0x69ae44(0x22a)]&&(_0x2d737f[_0x69ae44(0x22a)]=_0x48cad1[_0x69ae44(0x1f8)][_0x69ae44(0x22a)]),_0x48cad1[_0x69ae44(0x237)]['options']&&(_0x2d737f[_0x69ae44(0x22a)]=_0x48cad1[_0x69ae44(0x237)][_0x69ae44(0x22a)]),_0x48cad1[_0x69ae44(0x1f8)][_0x69ae44(0x1f5)]&&this[_0x69ae44(0x211)][_0x69ae44(0x21e)]({'name':_0x2d737f[_0x69ae44(0x22e)],'operator':_0x2d737f[_0x69ae44(0x21c)],'value':_0x48cad1[_0x69ae44(0x1f8)][_0x69ae44(0x1f5)]}),delete _0x48cad1[_0x69ae44(0x1f8)],_0x2d737f;});}async[a0_0x1b0a22(0x20b)](){const _0x246f86=a0_0x1b0a22;await this['grist'][_0x246f86(0x20b)]();}async[a0_0x1b0a22(0x230)]({page:_0x576b3d=0x0,limit:_0x161432=0x0,sortings:_0x5c6faa=[],filters:_0x335b85=[]}){const _0x7da04a=a0_0x1b0a22;return this['detailElement']&&this[_0x7da04a(0x207)][_0x7da04a(0x212)]&&await this[_0x7da04a(0x207)]['clear'](),!0x0;}async[a0_0x1b0a22(0x23d)](){const _0x14fe93=a0_0x1b0a22;let _0xd188a5=MetaApi[_0x14fe93(0x239)](this['grist']);!!ValueUtil['isNotEmpty'](_0xd188a5)&&await this['updateMultiple'](_0xd188a5)&&this['fetch']();}async[a0_0x1b0a22(0x236)](){const _0x2f00e4=a0_0x1b0a22;let _0x4af6a3=MetaApi[_0x2f00e4(0x23a)](this[_0x2f00e4(0x217)],!0x0);return ValueUtil[_0x2f00e4(0x206)](_0x4af6a3)?await this['findOne'](_0x4af6a3[0x0]):{};}async[a0_0x1b0a22(0x1f4)](){const _0x569a9c=a0_0x1b0a22;let _0x318a6c=MetaApi[_0x569a9c(0x23a)](this[_0x569a9c(0x217)],!0x0);!!ValueUtil['isNotEmpty'](_0x318a6c)&&await this[_0x569a9c(0x225)](_0x318a6c)&&this[_0x569a9c(0x20b)]();}async[a0_0x1b0a22(0x1fd)](){const _0x1b409b=a0_0x1b0a22;let _0x1cde4c=TermsUtil[_0x1b409b(0x1f7)](ValueUtil['getParams'](this['menuInfo'],'title'));return await MetaApi[_0x1b409b(0x213)](this['isElement'],_0x1cde4c,this[_0x1b409b(0x217)]);}async[a0_0x1b0a22(0x1f6)](){}[a0_0x1b0a22(0x21b)](){const _0x931ccf=a0_0x1b0a22;let _0x4ba519=this[_0x931ccf(0x217)][_0x931ccf(0x204)][_0x931ccf(0x20a)];return _0x4ba519=JSON[_0x931ccf(0x221)](JSON['stringify'](_0x4ba519)),_0x4ba519[_0x931ccf(0x22b)](_0x190a18=>{const _0x256299=_0x931ccf;Object[_0x256299(0x235)](_0x190a18)['forEach'](_0x239802=>{const _0x295751=_0x256299;_0x239802[_0x295751(0x234)]('__')&&delete _0x190a18[_0x239802];});}),{'main':_0x4ba519,'detail':this[_0x931ccf(0x207)][_0x931ccf(0x21b)]()};}};
@@ -1 +1 @@
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
+ const a0_0x2ba5d0=a0_0x44df;function a0_0x44df(_0x1e8296,_0xd3a1de){const _0x548fa7=a0_0x548f();return a0_0x44df=function(_0x44df92,_0x55fb93){_0x44df92=_0x44df92-0x12c;let _0x66cf08=_0x548fa7[_0x44df92];return _0x66cf08;},a0_0x44df(_0x1e8296,_0xd3a1de);}function a0_0x548f(){const _0x3eb9bf=['36879WSbVtR','isNotEmpty','split','fetchHandler','findOne','result','1395040KKiERO','func','getSelectColumns','getParams','list_func','42IGQPHY','filterForm','getQueryFilters','forEach','updateMultiple','isElement','push','5648488jMjOKY','gqlInfo','getPageNavigateParams','delete','isArray','128976zJLvPD','afterFetch','after_set_fields','dataSet','runScenario','filters','filter','parent_id','records','gristConfigSet','infinityPage','columns','mainFilterForm','find_one_func','is_activity','pass','isEmpty','132601qOyihP','291968MwQMFL','callScenario','properties','keys','params','multiple','isPage','query','232806tsolCd','replace','mutation','gql','length','name','includes','data','lifecycle','value'];a0_0x548f=function(){return _0x3eb9bf;};return a0_0x548f();}(function(_0x138239,_0xaa3ac9){const _0x53809b=a0_0x44df,_0x1479ad=_0x138239();while(!![]){try{const _0x919c1b=-parseInt(_0x53809b(0x156))/0x1+-parseInt(_0x53809b(0x144))/0x2+parseInt(_0x53809b(0x14c))/0x3+-parseInt(_0x53809b(0x132))/0x4+-parseInt(_0x53809b(0x15c))/0x5+parseInt(_0x53809b(0x161))/0x6*(-parseInt(_0x53809b(0x143))/0x7)+parseInt(_0x53809b(0x12d))/0x8;if(_0x919c1b===_0xaa3ac9)break;else _0x1479ad['push'](_0x1479ad['shift']());}catch(_0x3b06e8){_0x1479ad['push'](_0x1479ad['shift']());}}}(a0_0x548f,0x26513));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0xe2b8bd=>class extends MetaBaseMixin(_0xe2b8bd){static get[a0_0x2ba5d0(0x146)](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x9bcde1){const _0x582a32=a0_0x2ba5d0;this[_0x582a32(0x12e)]=_0x9bcde1[_0x582a32(0x14f)];}async[a0_0x2ba5d0(0x159)]({page:_0x5707c3=0x0,limit:_0x1c8da8=0x0,sortings:_0x49561c=[],filters:_0x41f78a=[]}){const _0x49f88=a0_0x2ba5d0;if(this[_0x49f88(0x140)])return{'total':0x0,'records':this[_0x49f88(0x135)]||[]};if(!0x0===this[_0x49f88(0x13c)]&&(_0x5707c3=0x0,_0x1c8da8=0x0),this['beforeFetch']&&0x0==await this['beforeFetch']({'page':_0x5707c3,'limit':_0x1c8da8,'sortings':_0x49561c,'filters':_0x41f78a}))return;if(!this[_0x49f88(0x13b)])return{'total':0x0,'records':[]};let _0x4e7e56=ValueUtil[_0x49f88(0x142)](_0x41f78a)?this[_0x49f88(0x13e)]?await this[_0x49f88(0x13e)][_0x49f88(0x163)]()||[]:await this[_0x49f88(0x162)]?.[_0x49f88(0x163)]()||[]:_0x41f78a,_0x532b88=ValueUtil[_0x49f88(0x15f)](this[_0x49f88(0x12e)],_0x49f88(0x14b),_0x49f88(0x160)),_0x3eb0f9=ValueUtil[_0x49f88(0x15f)](this['gqlInfo'],_0x49f88(0x14b),_0x49f88(0x137)),_0x2ded5b=ValueUtil[_0x49f88(0x15f)](this[_0x49f88(0x12e)],_0x49f88(0x14b),_0x49f88(0x134));if(ValueUtil[_0x49f88(0x157)](_0x3eb0f9)&&(_0x4e7e56=adjustFilters(_0x4e7e56,_0x3eb0f9)),_0x4e7e56['push'](...this[_0x49f88(0x12f)]()),this[_0x49f88(0x166)]&&!this[_0x49f88(0x13e)]){let _0x54b77c=ValueUtil['getParams'](this[_0x49f88(0x12e)],_0x49f88(0x14b),_0x49f88(0x139));if(!ValueUtil[_0x49f88(0x157)](_0x54b77c)||!ValueUtil[_0x49f88(0x157)](this[_0x49f88(0x139)]))return{'total':0x0,'records':[]};_0x4e7e56=adjustFilters(_0x4e7e56,[{'name':_0x54b77c,'operator':'eq','value':this[_0x49f88(0x139)]}]);}let _0x29c47e=Object[_0x49f88(0x147)](_0x2ded5b||{}),_0x1cf0b8=MetaApi[_0x49f88(0x15e)](this[_0x49f88(0x13b)][_0x49f88(0x13d)][_0x49f88(0x138)](_0x3b4e32=>!_0x29c47e[_0x49f88(0x152)](_0x3b4e32[_0x49f88(0x151)]))),_0x2fbff4={};if(_0x532b88[_0x49f88(0x152)]('$')){let _0x5e76a7=_0x532b88[_0x49f88(0x14d)]('$','');_0x2fbff4=(await MetaApi[_0x49f88(0x145)](void 0x0,_0x5e76a7,{'filters':_0x4e7e56,'pagination':{'page':_0x5707c3,'limit':_0x1c8da8},'sortings':_0x49561c},!0x1))[_0x49f88(0x153)][_0x49f88(0x136)][_0x49f88(0x153)][_0x49f88(0x15b)];}else _0x2fbff4=await MetaApi['searchByPagination'](_0x532b88,_0x4e7e56,_0x49561c,_0x5707c3,_0x1c8da8,_0x1cf0b8);if(this[_0x49f88(0x133)]){let _0x144e84=await this[_0x49f88(0x133)]({'page':_0x5707c3,'limit':_0x1c8da8,'sortings':_0x49561c,'filters':_0x41f78a},_0x2fbff4);if(_0x144e84)return _0x144e84;}return ValueUtil[_0x49f88(0x157)](_0x2ded5b)&&ValueUtil['isNotEmpty'](_0x2fbff4)&&ValueUtil['isNotEmpty'](_0x2fbff4[_0x49f88(0x13a)])&&_0x2fbff4[_0x49f88(0x13a)]['map'](_0x38e27e=>(_0x29c47e[_0x49f88(0x164)](_0x29aea7=>{_0x38e27e[_0x29aea7]=ValueUtil['getParams'](_0x38e27e,..._0x2ded5b[_0x29aea7]['split']('.'));}),_0x38e27e)),_0x2fbff4;}[a0_0x2ba5d0(0x12f)](){const _0x127c20=a0_0x2ba5d0;if(0x0==this[_0x127c20(0x14a)])return[];let _0x427222=this[_0x127c20(0x154)]?.[_0x127c20(0x148)]?this['lifecycle'][_0x127c20(0x148)]:{};if(!_0x427222[_0x127c20(0x141)])return[];let _0x553d14=_0x427222['pass'],_0x20b117=JSON['parse'](_0x553d14),_0x3232bb=0x1==_0x20b117[_0x127c20(0x150)]?'eq':'in',_0x5cd05d={},_0x4e2bef=[];return Object[_0x127c20(0x147)](_0x20b117[0x0])[_0x127c20(0x164)](_0x5d0cd9=>{_0x5cd05d[_0x5d0cd9]={'name':_0x5d0cd9,'operator':_0x3232bb,'value':'eq'===_0x3232bb?_0x20b117[0x0][_0x5d0cd9]:[]};}),_0x20b117['length']>0x1&&_0x20b117[_0x127c20(0x164)](_0x3fcba=>{const _0x155fb7=_0x127c20;Object[_0x155fb7(0x147)](_0x3fcba)[_0x155fb7(0x164)](_0x1b4d0f=>{const _0x5a0e95=_0x155fb7;_0x5cd05d[_0x1b4d0f][_0x5a0e95(0x155)][_0x5a0e95(0x12c)](_0x3fcba[_0x1b4d0f]);});}),Object['keys'](_0x5cd05d)[_0x127c20(0x164)](_0x4d2e66=>{const _0x2432c4=_0x127c20;_0x4e2bef[_0x2432c4(0x12c)](_0x5cd05d[_0x4d2e66]);}),_0x4e2bef;}async['findOne'](_0x2d23cd){const _0x396ff9=a0_0x2ba5d0;if(this[_0x396ff9(0x140)])return this[_0x396ff9(0x135)]||{};let _0x5ef1bd=ValueUtil[_0x396ff9(0x15f)](this['gqlInfo'],_0x396ff9(0x14b),_0x396ff9(0x13f)),_0x4b8362=ValueUtil[_0x396ff9(0x15f)](this[_0x396ff9(0x12e)],_0x396ff9(0x14b),_0x396ff9(0x134)),_0x21ab2b=Object[_0x396ff9(0x147)](_0x4b8362||{}),_0x35dfe9=MetaApi[_0x396ff9(0x15e)]((this[_0x396ff9(0x13b)]?this[_0x396ff9(0x13b)]:{'columns':this['formConfigSet']})[_0x396ff9(0x13d)][_0x396ff9(0x138)](_0x31e72c=>!_0x21ab2b[_0x396ff9(0x152)](_0x31e72c['name']))),_0x525af5={};if(_0x5ef1bd[_0x396ff9(0x152)]('$')){let _0x3f40da=_0x5ef1bd['replace']('$',''),_0x49c959=await MetaApi[_0x396ff9(0x145)](void 0x0,_0x3f40da,{'id':_0x2d23cd},!0x1);_0x525af5=_0x49c959[_0x396ff9(0x153)][_0x396ff9(0x136)][_0x396ff9(0x153)][_0x396ff9(0x15b)];}else _0x525af5=await MetaApi[_0x396ff9(0x15a)](_0x5ef1bd,_0x2d23cd,_0x35dfe9);return ValueUtil['isNotEmpty'](_0x4b8362)&&ValueUtil['isNotEmpty'](_0x525af5)&&_0x21ab2b[_0x396ff9(0x164)](_0x618dc1=>{const _0x1ef203=_0x396ff9;_0x525af5[_0x618dc1]=ValueUtil[_0x1ef203(0x15f)](_0x525af5,..._0x4b8362[_0x618dc1][_0x1ef203(0x158)]('.'));}),_0x525af5;}async['deleteByIds'](_0x1e31bc){const _0x1cfe3b=a0_0x2ba5d0;let _0x58d12e=ValueUtil[_0x1cfe3b(0x15f)](this[_0x1cfe3b(0x12e)],_0x1cfe3b(0x14e),_0x1cfe3b(0x130),_0x1cfe3b(0x15d));return await MetaApi['deleteListByIds'](_0x1e31bc,_0x58d12e);}async[a0_0x2ba5d0(0x165)](_0x34e887){const _0x145767=a0_0x2ba5d0;let _0x529878=ValueUtil[_0x145767(0x15f)](this[_0x145767(0x12e)],_0x145767(0x14e),_0x145767(0x149),'func'),_0x2236e9=ValueUtil[_0x145767(0x15f)](this['gqlInfo'],'mutation',_0x145767(0x149),'skip_fields');if(ValueUtil[_0x145767(0x157)](_0x2236e9)&&(_0x2236e9=_0x2236e9['map'](_0x865023=>_0x865023[_0x145767(0x152)]('.')?_0x865023[_0x145767(0x158)]('.'):_0x865023),_0x34e887=_0x34e887['map'](_0x4b3c13=>(_0x2236e9['forEach'](_0x53ccfd=>{const _0x19ef55=_0x145767;Array[_0x19ef55(0x131)](_0x53ccfd)?delete _0x4b3c13[_0x53ccfd[0x0]][_0x53ccfd[0x1]]:delete _0x4b3c13[_0x53ccfd];}),_0x4b3c13))),this['isElement']&&ValueUtil[_0x145767(0x157)](this[_0x145767(0x139)])){let _0x4050a0=ValueUtil[_0x145767(0x15f)](this[_0x145767(0x12e)],'mutation',_0x145767(0x149),_0x145767(0x139));ValueUtil[_0x145767(0x157)](_0x4050a0)&&_0x34e887['forEach'](_0x5db458=>{const _0x550d4f=_0x145767;if(_0x4050a0[_0x550d4f(0x152)]('.')){let _0x4c9b79=_0x4050a0['split']('.');_0x5db458[_0x4c9b79[0x0]]={},_0x5db458[_0x4c9b79[0x0]][_0x4c9b79[0x1]]=this[_0x550d4f(0x139)];}else _0x5db458[_0x4050a0]=this[_0x550d4f(0x139)];});}return await MetaApi[_0x145767(0x165)](_0x529878,_0x34e887);}};
@@ -1 +1 @@
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
+ const a0_0x5cd980=a0_0x2b04;function a0_0x2856(){const _0x3f314e=['isPage','gridColumnConfig','context','8078552KvpfIu','push','44aLgGwZ','styles','gristId','operator','useButtonExport','90DhrlSp','parseBasicGridConfigs','connectedCallback','exportable','clear','detailElement','value','searchFieldValues','map','importable','beforeFetch','options','869883rtiHaO','firstUpdated','getAndParseMenuMeta','record','1586529VZuqeA','isElement','gridConfig','parseGristConfigs','masterElement','useMasterFilterForm','shadowRoot','fetch','parseGridConfigSet','useFilterForm','277ZsTyWT','grid_column','actions','grist','activityDataSet','filterForm','main','filterFormId','getData','properties','search','4395112heyDlv','895855rvKQLp','pageInitialized','render','useButtonImport','7cmyDjE','ox-filters-form-base','2068296mDKWTW','columns','name','getMainGrist','ox-grist','filter'];a0_0x2856=function(){return _0x3f314e;};return a0_0x2856();}(function(_0x402a34,_0x31300b){const _0xb30df9=a0_0x2b04,_0x4f3ec5=_0x402a34();while(!![]){try{const _0x24f6ae=-parseInt(_0xb30df9(0x200))/0x1*(-parseInt(_0xb30df9(0x21d))/0x2)+parseInt(_0xb30df9(0x1f2))/0x3+parseInt(_0xb30df9(0x20b))/0x4+parseInt(_0xb30df9(0x20c))/0x5+-parseInt(_0xb30df9(0x212))/0x6*(parseInt(_0xb30df9(0x210))/0x7)+parseInt(_0xb30df9(0x21b))/0x8+parseInt(_0xb30df9(0x1f6))/0x9*(-parseInt(_0xb30df9(0x1e6))/0xa);if(_0x24f6ae===_0x31300b)break;else _0x4f3ec5['push'](_0x4f3ec5['shift']());}catch(_0x4d9c14){_0x4f3ec5['push'](_0x4f3ec5['shift']());}}}(a0_0x2856,0x9f522));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x2b04(_0x17a3b5,_0x43f14c){const _0x285633=a0_0x2856();return a0_0x2b04=function(_0x2b046e,_0x1cfa70){_0x2b046e=_0x2b046e-0x1e3;let _0x1d615d=_0x285633[_0x2b046e];return _0x1d615d;},a0_0x2b04(_0x17a3b5,_0x43f14c);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x41f28c=>class extends MetaButtonMixin(_0x41f28c){static get[a0_0x5cd980(0x21e)](){return MetaApi['getBasicTabDetailStyles']();}static get[a0_0x5cd980(0x209)](){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_0x5cd980(0x203)](){const _0x5be8d7=a0_0x5cd980;return this[_0x5be8d7(0x1fa)][_0x5be8d7(0x215)]();}get[a0_0x5cd980(0x205)](){const _0x258cdb=a0_0x5cd980;return this[_0x258cdb(0x1fc)]?.['querySelector'](this[_0x258cdb(0x207)]);}get[a0_0x5cd980(0x21a)](){const _0x3343d8=a0_0x5cd980;let _0x1f0ca7=MetaUiUtil['getContextObject'](this);return _0x1f0ca7['actions']&&delete _0x1f0ca7[_0x3343d8(0x202)],_0x1f0ca7[_0x3343d8(0x1e9)]&&delete _0x1f0ca7['exportable'],_0x1f0ca7[_0x3343d8(0x1ef)]&&delete _0x1f0ca7[_0x3343d8(0x1ef)],_0x1f0ca7;}async[a0_0x5cd980(0x1e8)](){const _0xbb910f=a0_0x5cd980;this[_0xbb910f(0x1e3)]=_0xbb910f(0x216),this[_0xbb910f(0x207)]=_0xbb910f(0x211),await this[_0xbb910f(0x1f4)](),this[_0xbb910f(0x1f7)]&&await this[_0xbb910f(0x1f9)](),this[_0xbb910f(0x204)]&&(this['dataSet']=(this[_0xbb910f(0x204)]||{})[_0xbb910f(0x206)]),super[_0xbb910f(0x1e8)]&&await super[_0xbb910f(0x1e8)]();}async['firstUpdated'](){const _0x2abc35=a0_0x5cd980;super[_0x2abc35(0x1f3)]&&await super[_0x2abc35(0x1f3)]();}async['pageInitialized'](){const _0x31e497=a0_0x5cd980;this[_0x31e497(0x218)]&&await this[_0x31e497(0x1f9)](),super[_0x31e497(0x20d)]&&await super['pageInitialized']();}[a0_0x5cd980(0x20e)](){return MetaApi['getTabDetailHtml'](this);}[a0_0x5cd980(0x1e7)](_0x37644a){const _0x27ba6b=a0_0x5cd980;this[_0x27ba6b(0x1f8)]=_0x37644a['grid'],this[_0x27ba6b(0x219)]=_0x37644a[_0x27ba6b(0x201)],this['searchConfig']=_0x37644a[_0x27ba6b(0x20a)];}async[a0_0x5cd980(0x1f9)](){const _0x4beeb5=a0_0x5cd980;this['gristConfigSet']=await MetaApi[_0x4beeb5(0x1fe)](this),this[_0x4beeb5(0x1fb)]=!0x0===this[_0x4beeb5(0x1ff)],this[_0x4beeb5(0x1ff)]=!0x1,this['buttonConfig']=void 0x0,this[_0x4beeb5(0x1e5)]=!0x1,this[_0x4beeb5(0x20f)]=!0x1,this['searchFieldValues']=[],this['searchFields']=this['gristConfigSet'][_0x4beeb5(0x213)][_0x4beeb5(0x217)](_0x41d533=>_0x41d533[_0x4beeb5(0x217)])[_0x4beeb5(0x1ee)](_0x567d3a=>{const _0x5943ee=_0x4beeb5;let _0x287e7f={'name':_0x567d3a['name'],'type':_0x5943ee(0x20a)===_0x567d3a[_0x5943ee(0x217)][_0x5943ee(0x1e4)]?_0x5943ee(0x20a):_0x567d3a['type'],'label':_0x567d3a['header'],'operator':_0x567d3a[_0x5943ee(0x217)][_0x5943ee(0x1e4)]?_0x567d3a['filter']['operator']:'eq'};return _0x567d3a['filter'][_0x5943ee(0x1f1)]&&(_0x287e7f['options']=_0x567d3a[_0x5943ee(0x217)][_0x5943ee(0x1f1)]),_0x567d3a[_0x5943ee(0x1f5)][_0x5943ee(0x1f1)]&&(_0x287e7f[_0x5943ee(0x1f1)]=_0x567d3a[_0x5943ee(0x1f5)][_0x5943ee(0x1f1)]),_0x567d3a[_0x5943ee(0x217)][_0x5943ee(0x1ec)]&&this[_0x5943ee(0x1ed)][_0x5943ee(0x21c)]({'name':_0x287e7f[_0x5943ee(0x214)],'operator':_0x287e7f[_0x5943ee(0x1e4)],'value':_0x567d3a[_0x5943ee(0x217)][_0x5943ee(0x1ec)]}),delete _0x567d3a[_0x5943ee(0x217)],_0x287e7f;});}async[a0_0x5cd980(0x1fd)](){const _0x5a4ce0=a0_0x5cd980;await this[_0x5a4ce0(0x203)]['fetch']();}async[a0_0x5cd980(0x1f0)]({page:_0x37c6f6=0x0,limit:_0x52725b=0x0,sortings:_0x313d26=[],filters:_0x28411a=[]}){const _0x1a5209=a0_0x5cd980;return this[_0x1a5209(0x1fa)]&&this[_0x1a5209(0x1fa)][_0x1a5209(0x1ea)]&&await this[_0x1a5209(0x1fa)][_0x1a5209(0x1ea)](),this[_0x1a5209(0x1eb)]&&this[_0x1a5209(0x1eb)][_0x1a5209(0x1ea)]&&await this[_0x1a5209(0x1eb)][_0x1a5209(0x1ea)](),!0x0;}[a0_0x5cd980(0x208)](){const _0xac9082=a0_0x5cd980;return{'master':this[_0xac9082(0x1fa)][_0xac9082(0x208)](),'detail':this[_0xac9082(0x1eb)][_0xac9082(0x208)]()};}};
@@ -1 +1 @@
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
+ const a0_0x25d537=a0_0x5338;(function(_0xf57482,_0x344da5){const _0x2c5235=a0_0x5338,_0x2db630=_0xf57482();while(!![]){try{const _0x26e1b0=-parseInt(_0x2c5235(0xac))/0x1*(-parseInt(_0x2c5235(0xb2))/0x2)+-parseInt(_0x2c5235(0xb7))/0x3*(parseInt(_0x2c5235(0x98))/0x4)+parseInt(_0x2c5235(0xbd))/0x5+parseInt(_0x2c5235(0x99))/0x6+-parseInt(_0x2c5235(0x9f))/0x7+-parseInt(_0x2c5235(0xb3))/0x8*(-parseInt(_0x2c5235(0xc4))/0x9)+parseInt(_0x2c5235(0xc3))/0xa*(-parseInt(_0x2c5235(0xc1))/0xb);if(_0x26e1b0===_0x344da5)break;else _0x2db630['push'](_0x2db630['shift']());}catch(_0x3eaedc){_0x2db630['push'](_0x2db630['shift']());}}}(a0_0x924f,0x1c971));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5338(_0x21d4b9,_0x160001){const _0x924f9e=a0_0x924f();return a0_0x5338=function(_0x53384f,_0x52b95a){_0x53384f=_0x53384f-0x97;let _0x3dd8f0=_0x924f9e[_0x53384f];return _0x3dd8f0;},a0_0x5338(_0x21d4b9,_0x160001);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x28ed34=>class extends MetaButtonMixin(_0x28ed34){static get[a0_0x25d537(0xbc)](){const _0x3736bf=a0_0x25d537;return MetaApi[_0x3736bf(0xb5)]();}static get[a0_0x25d537(0xbe)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x25d537(0xba)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x25d537(0xc0)](){const _0x108868=a0_0x25d537;this[_0x108868(0xa9)]=void 0x0,await this[_0x108868(0x9b)](),this[_0x108868(0xb8)]&&(this[_0x108868(0x9a)]=this[_0x108868(0xb8)]),super['connectedCallback']&&await super[_0x108868(0xc0)]();}async[a0_0x25d537(0xb9)](){super['firstUpdated']&&await super['firstUpdated']();}async['pageInitialized'](){const _0x2c4f92=a0_0x25d537;super[_0x2c4f92(0xa3)]&&await super[_0x2c4f92(0xa3)]();}[a0_0x25d537(0xaa)](){return MetaApi['getBasicTabHtml'](this);}[a0_0x25d537(0xbb)](_0xb3ab37){const _0x21f2f9=a0_0x25d537;if(!0x0===this[_0x21f2f9(0x9e)]){let _0x202525=this[_0x21f2f9(0xa6)][_0x21f2f9(0x9d)],_0x59aaf8=JSON[_0x21f2f9(0xb6)](_0x202525||'{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}');_0x59aaf8[_0x21f2f9(0xbf)]>_0xb3ab37[_0x21f2f9(0xb0)][_0x21f2f9(0xad)]&&(_0x59aaf8[_0x21f2f9(0xbf)]=_0xb3ab37['tab'][_0x21f2f9(0xad)]),_0xb3ab37[_0x21f2f9(0xb0)][_0x21f2f9(0xa7)](_0x59aaf8[_0x21f2f9(0xbf)],0x0,{'name':_0x59aaf8[_0x21f2f9(0xc2)],'display':_0x59aaf8['display'],'tagname':_0x21f2f9(0xa0),'location':_0x21f2f9(0xae),'parent_field':'id','param_field':_0x21f2f9(0x9c),'menu':this[_0x21f2f9(0x97)],'icon':_0x59aaf8[_0x21f2f9(0xaf)],'filter_from':!0x1,'main_filter_form':this['mainFilterForm']});}this[_0x21f2f9(0xa4)]=_0xb3ab37[_0x21f2f9(0xb0)],_0xb3ab37[_0x21f2f9(0xa1)]=[];}async[a0_0x25d537(0xb4)](){const _0x25d5b5=a0_0x25d537;if(this[_0x25d5b5(0xab)]){let _0x5835dc=Object[_0x25d5b5(0xb1)](this[_0x25d5b5(0xab)]);for(var _0x399e9f=0x0;_0x399e9f<_0x5835dc[_0x25d5b5(0xad)];_0x399e9f++)await this[_0x25d5b5(0xab)][_0x5835dc[_0x399e9f]][_0x25d5b5(0xb4)]();}}[a0_0x25d537(0xa5)](){const _0x38ba3c=a0_0x25d537;let _0x14109d={};return this[_0x38ba3c(0xab)]&&Object['keys'](this['tabElements'])[_0x38ba3c(0xc5)](_0x1985ab=>{const _0x92aae0=_0x38ba3c;_0x14109d[_0x1985ab]=this[_0x92aae0(0xab)][_0x1985ab]['getData']();}),_0x14109d;}[a0_0x25d537(0xa8)](){const _0x1dc091=a0_0x25d537;if(this[_0x1dc091(0xab)]){let _0x2d5b28=Object['keys'](this['tabElements']);return this[_0x1dc091(0xab)][_0x2d5b28[0x0]][_0x1dc091(0xa2)];}}};function a0_0x924f(){const _0x15c349=['grist','pageInitialized','tabRenderConfig','getData','etcConfig','splice','getMainGrist','currentTabKey','render','tabElements','1EsutuW','length','@things-factory/meta-ui/client/pages/meta-grist-element','icon','tab','keys','321374gfIspu','1280ePGyVS','clear','getBasicTabStyles','parse','481794tqgZON','activityDataSet','firstUpdated','context','parseBasicTabConfigs','styles','256110QlzPAv','properties','index','connectedCallback','4917gokGqF','name','3200uyYVkd','2799FwXqJx','forEach','route_name','4CsTvVk','1085268YGkTPL','dataSet','getAndParseMenuMeta','param_field','main_tab_info','includeMainList','152628woWItw','meta-grist-element','button'];a0_0x924f=function(){return _0x15c349;};return a0_0x924f();}
@@ -1,18 +1,18 @@
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`
1
+ const a0_0x37102d=a0_0x74d3;function a0_0x3b2d(){const _0xde5145=['218420tbNnAo','routing','object','activityType','query','info','menuType','custom-element','POPUP','left','meta-activity-writer-element','string','getBasicGristStyles','context','install_activity','tLabel','pageInitialized','GRID','styles','getGristSelectableConfig','MENU_PAGE_TYPE','tTitle','errors','tButton','ox-grist','querySelector','showToast','metaActivities','activity-state-draft','activity-state-deprecated','updated_at','365204TcVsdc','LIST','\x0a\x20\x20\x20\x20\x20\x20model\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','updater','save','searchByPagination','startingType','connectedCallback','24aQQEfH','grist','deleteListByGristSelected','draft','task','define','menus','deploy','status','parse','like','getGristColumnConfig2','getGristSelectorColumnConfig','datetime','multiple','shadowRoot','showGraphqlErrorResponse','718355BYnDkw','template','name','isNotEmpty','3CLrzjA','351554SRHcYq','\x22relation-menu\x22','HIDDEN-PAGE','customElements','deleteMetaActivities','fetchHandler','205863XDUYjh','5514408pUSHqJ','deprecated','getGristCodeSelectorColumnConfig','render','assign','updateMultiple','description','getGristGuttersConfig','columns','single','delete','push','bind','meta-activity-viewer-element','relation-menu','CARD','169296hTwuhj','gridConfig','system_update','forEach','updatedAt','gridMode','center','filter','resource-object','menu_type','grid_view_options','menu','model'];a0_0x3b2d=function(){return _0xde5145;};return a0_0x3b2d();}function a0_0x74d3(_0x3504f8,_0x14711d){const _0x3b2df8=a0_0x3b2d();return a0_0x74d3=function(_0x74d3f1,_0x179efd){_0x74d3f1=_0x74d3f1-0x69;let _0x1083c0=_0x3b2df8[_0x74d3f1];return _0x1083c0;},a0_0x74d3(_0x3504f8,_0x14711d);}(function(_0x32f3a3,_0x4855d6){const _0x5b8d6f=a0_0x74d3,_0x19da9a=_0x32f3a3();while(!![]){try{const _0x5d93f3=-parseInt(_0x5b8d6f(0xbe))/0x1+-parseInt(_0x5b8d6f(0x7b))/0x2+-parseInt(_0x5b8d6f(0xb7))/0x3*(parseInt(_0x5b8d6f(0x9a))/0x4)+parseInt(_0x5b8d6f(0xb3))/0x5+parseInt(_0x5b8d6f(0x6e))/0x6+-parseInt(_0x5b8d6f(0xb8))/0x7*(parseInt(_0x5b8d6f(0xa2))/0x8)+parseInt(_0x5b8d6f(0xbf))/0x9;if(_0x5d93f3===_0x4855d6)break;else _0x19da9a['push'](_0x19da9a['shift']());}catch(_0x283b42){_0x19da9a['push'](_0x19da9a['shift']());}}}(a0_0x3b2d,0x378e7));import a0_0x5d0db6 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';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_0x37102d(0x8d)](){const _0x4f9d7d=a0_0x37102d;return MetaApi[_0x4f9d7d(0x87)]();}get[a0_0x37102d(0x88)](){const _0x120eca=a0_0x37102d;return{'title':TermsUtil[_0x120eca(0x90)]('meta_activity_list'),'actions':[{'title':TermsUtil[_0x120eca(0x92)](_0x120eca(0x9e)),'action':this[_0x120eca(0x9e)][_0x120eca(0x6a)](this),...CommonButtonStyles[_0x120eca(0x9e)]},{'title':TermsUtil['tButton'](_0x120eca(0xc9)),'action':this['delete'][_0x120eca(0x6a)](this),...CommonButtonStyles[_0x120eca(0xc9)]},{'title':TermsUtil[_0x120eca(0x92)](_0x120eca(0x89)),'action':this[_0x120eca(0xa9)]['bind'](this),'icon':_0x120eca(0x70),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x37102d(0xa3)](){const _0x27b522=a0_0x37102d;return this[_0x27b522(0xb1)][_0x27b522(0x94)](_0x27b522(0x93));}async[a0_0x37102d(0xa1)](){const _0x4d4e07=a0_0x37102d,_0x5abe84=[{'display':'','value':''},{'display':TermsUtil[_0x4d4e07(0x8a)](_0x4d4e07(0x97)),'value':_0x4d4e07(0xa5)},{'display':TermsUtil['tLabel']('activity-state-released'),'value':'released'},{'display':TermsUtil['tLabel'](_0x4d4e07(0x98)),'value':_0x4d4e07(0xc0)}];this[_0x4d4e07(0x78)]=[_0x4d4e07(0x9b),'GRID',_0x4d4e07(0x6d)],this[_0x4d4e07(0x73)]=MetaApi['isMobileEnv']()?_0x4d4e07(0x9b):_0x4d4e07(0x8c),this[_0x4d4e07(0x6f)]={'option':{'view_mode':this[_0x4d4e07(0x78)]},'rows':MetaApi[_0x4d4e07(0x8e)](!0x0),'pagination':MetaApi['getGristPagination50Config'](),'sorters':[{'name':_0x4d4e07(0xb5),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x4d4e07(0xc6)](!0x0,!0x1),{'type':_0x4d4e07(0x86),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0x4d4e07(0xad)](_0x4d4e07(0x86),'name','name','left',!0x0,!0x0,0xc8),MetaUiUtil[_0x4d4e07(0xad)](_0x4d4e07(0x86),_0x4d4e07(0xc5),_0x4d4e07(0xc5),'left',!0x0,!0x0,0x12c),MetaUiUtil[_0x4d4e07(0xae)]('state',_0x4d4e07(0xaa),_0x4d4e07(0x74),!0x0,0x64,!0x1,_0x5abe84),{'type':_0x4d4e07(0x76),'name':'menu','header':TermsUtil[_0x4d4e07(0x8a)](_0x4d4e07(0x79)),'record':{'editable':!0x0,'options':{'queryName':_0x4d4e07(0xa8),'basicArgs':{'filters':[{'name':_0x4d4e07(0x81),'operator':'in','value':['SCREEN',_0x4d4e07(0x83),_0x4d4e07(0xba)]},{'name':_0x4d4e07(0x7c),'operator':'is_not_null','value':''},{'name':_0x4d4e07(0xb4),'operator':'is_not_null','value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x4d4e07(0xb5),'header':TermsUtil[_0x4d4e07(0x8a)](_0x4d4e07(0xb5)),'width':0xfa,'filter':'search'},await MetaApi[_0x4d4e07(0xc1)](_0x4d4e07(0x81),_0x4d4e07(0x77),'left',!0x1,0x6e,!0x1,_0x4d4e07(0x8f)),MetaUiUtil[_0x4d4e07(0xad)](_0x4d4e07(0x86),'routing','routing',_0x4d4e07(0x84),!0x1,!0x1,0xfa)],'list':{'fields':['name',_0x4d4e07(0x7c)]},'nameField':'routing'}},'width':0xeb},MetaUiUtil[_0x4d4e07(0xad)](_0x4d4e07(0x7d),_0x4d4e07(0x9d),_0x4d4e07(0x9d),'center',!0x1,!0x1,0x78),MetaUiUtil['getGristColumnConfig2'](_0x4d4e07(0xaf),_0x4d4e07(0x72),_0x4d4e07(0x99),'center',!0x1,!0x0,0xb4),{'name':_0x4d4e07(0x7e),'hidden':!0x0},{'name':_0x4d4e07(0xb0),'hidden':!0x0},{'name':_0x4d4e07(0xa0),'hidden':!0x0}],'sorters':[{'name':_0x4d4e07(0xb5),'desc':!0x1}]};let _0x1b4969={'name':_0x4d4e07(0xac)};this[_0x4d4e07(0x6f)][_0x4d4e07(0xc7)][_0x4d4e07(0x75)](_0x9e98d6=>_0x1b4969[_0x9e98d6['name']])['forEach'](_0x2382e6=>{const _0x44bcac=_0x4d4e07;_0x2382e6['filter']=_0x1b4969[_0x2382e6[_0x44bcac(0xb5)]];}),this[_0x4d4e07(0xa1)]&&await super[_0x4d4e07(0xa1)]();}async[a0_0x37102d(0xbd)]({page:_0x396616,limit:_0x595a5c,sorters:_0xabcaa8=[],filters:_0x26adb3=[]}){const _0x479247=a0_0x37102d;_0x26adb3[_0x479247(0x69)]({'name':_0x479247(0x7a),'operator':_0x479247(0xac),'value':_0x479247(0xb9)});let _0x58127b=MetaApi['getSelectColumns'](this[_0x479247(0x6f)][_0x479247(0xc7)]['filter'](_0x3709f1=>_0x479247(0x79)!=_0x3709f1['name']));_0x58127b+=_0x479247(0x9c);let _0x34ff0e=await MetaApi[_0x479247(0x9f)](_0x479247(0x96),_0x26adb3,_0xabcaa8,_0x396616,_0x595a5c,_0x58127b);return _0x34ff0e['records'][_0x479247(0x71)](_0x116360=>{const _0x5433e6=_0x479247;let _0x5b3e1c=_0x116360[_0x5433e6(0x7a)]['filter'](_0x48dc4c=>_0x5433e6(0x6c)==_0x48dc4c[_0x5433e6(0xb5)]);_0x5b3e1c&&_0x5b3e1c['length']>0x0&&(_0x116360[_0x5433e6(0x79)]=JSON[_0x5433e6(0xab)](_0x5b3e1c[0x0]['description'])),delete _0x116360['model'];}),_0x34ff0e;}async[a0_0x37102d(0xa9)](){const _0x1382d3=a0_0x37102d;try{var _0x558685=await client[_0x1382d3(0x7f)]({'query':a0_0x5d0db6`
2
2
  mutation {
3
3
  installActivityTemplate
4
4
  }
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`
5
+ `});if(!_0x558685[_0x1382d3(0x91)])return UiUtil[_0x1382d3(0x95)](_0x1382d3(0x80),TermsUtil['tText']('install_activity_success')),!0x0;ServiceUtil[_0x1382d3(0xb2)](_0x558685);}catch(_0x2a5daa){ServiceUtil['showGraphqlException'](_0x2a5daa);}}async[a0_0x37102d(0x9e)](){const _0x4bd844=a0_0x37102d;let _0x369d2a=ServiceUtil['patchesForUpdateMultiple'](this[_0x4bd844(0xa3)]);if(ValueUtil[_0x4bd844(0xb6)](_0x369d2a)){_0x369d2a['forEach'](_0x1fba08=>{const _0x18c823=_0x4bd844;Object[_0x18c823(0xc3)](_0x1fba08,{'uiSource':_0x18c823(0x85),'uiType':_0x18c823(0x82),'viewSource':_0x18c823(0x6b),'viewType':'custom-element'}),_0x1fba08[_0x18c823(0xb0)]||(_0x1fba08[_0x18c823(0xb0)]=_0x18c823(0xc8)),_0x1fba08[_0x18c823(0x7e)]||(_0x1fba08[_0x18c823(0x7e)]=_0x18c823(0xa6)),_0x1fba08['startingType']||(_0x1fba08[_0x18c823(0xa0)]='post');});let _0x429383=await ServiceUtil[_0x4bd844(0xc4)]('updateMultipleMetaActivity',_0x369d2a);if(_0x429383)return this[_0x4bd844(0xa3)]['fetch'](),_0x429383;}}async[a0_0x37102d(0xc9)](){const _0x175448=a0_0x37102d;await MetaApi[_0x175448(0xa4)](this[_0x175448(0xa3)],_0x175448(0xbc));}async[a0_0x37102d(0x8b)](){}[a0_0x37102d(0xc2)](){const _0x6e0bca=a0_0x37102d;return html`
6
6
  <ox-grist
7
7
  auto-fetch
8
8
  id="ox-grist"
9
- .config=${this[_0x526662(0x113)]}
10
- .mode=${this[_0x526662(0xb4)]}
11
- .fetchHandler=${this['fetchHandler']['bind'](this)}>
9
+ .config=${this['gridConfig']}
10
+ .mode=${this['gridMode']}
11
+ .fetchHandler=${this[_0x6e0bca(0xbd)][_0x6e0bca(0x6a)](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_0x2fcb47(0x105)]['define'](a0_0x2fcb47(0xfc),MetaActivityListPage);
18
+ `;}}window[a0_0x37102d(0xbb)][a0_0x37102d(0xa7)]('meta-activity-list-page',MetaActivityListPage);
@@ -1,3 +1,3 @@
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
+ const a0_0x2cda9c=a0_0x2487;(function(_0x4106bb,_0x1c9e29){const _0x121c72=a0_0x2487,_0x258990=_0x4106bb();while(!![]){try{const _0xd45bac=parseInt(_0x121c72(0xb3))/0x1*(-parseInt(_0x121c72(0xbb))/0x2)+parseInt(_0x121c72(0xb9))/0x3+-parseInt(_0x121c72(0xc7))/0x4*(-parseInt(_0x121c72(0xbe))/0x5)+parseInt(_0x121c72(0xc4))/0x6+-parseInt(_0x121c72(0xb4))/0x7+parseInt(_0x121c72(0xb8))/0x8+parseInt(_0x121c72(0xc2))/0x9*(-parseInt(_0x121c72(0xc1))/0xa);if(_0xd45bac===_0x1c9e29)break;else _0x258990['push'](_0x258990['shift']());}catch(_0x1bc91e){_0x258990['push'](_0x258990['shift']());}}}(a0_0xc636,0x82dc2));import a0_0x2581f8 from'graphql-tag';import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';function a0_0xc636(){const _0x5cd586=['580TfSBMH','routing','output','15QPjbeJ','\x27\x20route_name=\x27','tagName','4947180irLoKW','18NOvkLu','isEmpty','1952520ZaDUcj','activityDataSet','contentElement','1045752ULCMIc','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></','relationMenu','1497kzUwqU','5197892vEUVcW','render','define','name','7017960mdLliu','2145435WNbOBi','htmlToElement'];a0_0xc636=function(){return _0x5cd586;};return a0_0xc636();}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_0x2cda9c(0xb5)](){const _0x583869=a0_0x2cda9c;if(this[_0x583869(0xc9)]&&!this['contentElement']){let _0x5de486=this[_0x583869(0xc9)][_0x583869(0xc0)],_0x237e63=this['relationMenu'][_0x583869(0xbc)],_0x5a0e68='<'+_0x5de486+'\x20id=\x27'+this[_0x583869(0xc9)][_0x583869(0xb7)]+_0x583869(0xbf)+_0x237e63+_0x583869(0xc8)+_0x5de486+'>';this[_0x583869(0xc6)]=UiUtil[_0x583869(0xba)](_0x5a0e68),this['contentElement'][_0x583869(0xc5)]=ValueUtil[_0x583869(0xc3)](this[_0x583869(0xbd)])?void 0x0:this[_0x583869(0xbd)]['customData'];}return html`
2
+ ${this['contentElement']}
3
+ `;}}function a0_0x2487(_0x586b5f,_0x1b09ab){const _0xc6367c=a0_0xc636();return a0_0x2487=function(_0x2487bb,_0x3794f2){_0x2487bb=_0x2487bb-0xb3;let _0x3ac971=_0xc6367c[_0x2487bb];return _0x3ac971;},a0_0x2487(_0x586b5f,_0x1b09ab);}customElements[a0_0x2cda9c(0xb6)]('meta-activity-viewer-element',MetaActivityViewerElement);
@@ -1,3 +1,3 @@
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
+ const a0_0x45e5da=a0_0x554d;(function(_0x4890a8,_0x1d1c84){const _0x4ee89e=a0_0x554d,_0x450657=_0x4890a8();while(!![]){try{const _0xb57486=parseInt(_0x4ee89e(0x173))/0x1+parseInt(_0x4ee89e(0x181))/0x2+parseInt(_0x4ee89e(0x169))/0x3*(-parseInt(_0x4ee89e(0x175))/0x4)+-parseInt(_0x4ee89e(0x17a))/0x5+-parseInt(_0x4ee89e(0x166))/0x6+-parseInt(_0x4ee89e(0x17d))/0x7*(parseInt(_0x4ee89e(0x178))/0x8)+parseInt(_0x4ee89e(0x17c))/0x9;if(_0xb57486===_0x1d1c84)break;else _0x450657['push'](_0x450657['shift']());}catch(_0x39e72e){_0x450657['push'](_0x450657['shift']());}}}(a0_0x2b4c,0x586e2));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x2b4c(){const _0x161c23=['render','define','change','field-change','disconnectedCallback','connectedCallback','isEmpty','dispatchEvent','name','310152MMfYDU','routing','4wZkPPv','output','addEventListener','117640CjFExs','\x20id=\x27','575465oWPcTU','tagName','4639842fGaZKB','70atNkMR','relationMenu','contentElement','activityDataSet','1096790LCWwug','customData','meta-activity-writer-element','3719688MFuxaC','getData','_onFieldChange','389352hrbCAy'];a0_0x2b4c=function(){return _0x161c23;};return a0_0x2b4c();}import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';function a0_0x554d(_0x2b75d6,_0x9f3114){const _0x2b4c97=a0_0x2b4c();return a0_0x554d=function(_0x554d4b,_0x3db31e){_0x554d4b=_0x554d4b-0x166;let _0x312652=_0x2b4c97[_0x554d4b];return _0x312652;},a0_0x554d(_0x2b75d6,_0x9f3114);}export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0x45e5da(0x16f)](){const _0x52e9df=a0_0x45e5da;await super[_0x52e9df(0x16f)](),this[_0x52e9df(0x177)]('field-change',this[_0x52e9df(0x168)]);}[a0_0x45e5da(0x16e)](){const _0x1039bd=a0_0x45e5da;this['removeEventListener'](_0x1039bd(0x16d),this[_0x1039bd(0x168)]);}[a0_0x45e5da(0x168)](_0xa24888){const _0x46b852=a0_0x45e5da;let _0x350c41=this['contentElement'][_0x46b852(0x167)]();this[_0x46b852(0x171)](new CustomEvent(_0x46b852(0x16c),{'detail':{'customData':_0x350c41}}));}[a0_0x45e5da(0x16a)](){const _0x4f1a99=a0_0x45e5da;if(this[_0x4f1a99(0x17e)]&&!this[_0x4f1a99(0x17f)]){let _0x454451=this[_0x4f1a99(0x17e)][_0x4f1a99(0x17b)],_0x2041c4=this[_0x4f1a99(0x17e)][_0x4f1a99(0x174)],_0x188d71='<'+_0x454451+_0x4f1a99(0x179)+this['relationMenu'][_0x4f1a99(0x172)]+'\x27\x20route_name=\x27'+_0x2041c4+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></'+_0x454451+'>';this[_0x4f1a99(0x17f)]=UiUtil['htmlToElement'](_0x188d71),this[_0x4f1a99(0x17f)][_0x4f1a99(0x180)]=ValueUtil[_0x4f1a99(0x170)](this[_0x4f1a99(0x176)])?void 0x0:this[_0x4f1a99(0x176)][_0x4f1a99(0x182)];}return html`
2
+ ${this[_0x4f1a99(0x17f)]}
3
+ `;}}customElements[a0_0x45e5da(0x16b)](a0_0x45e5da(0x183),MetaActivityWriterElement);
@@ -1,11 +1,11 @@
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`
1
+ const a0_0x131195=a0_0x1c05;(function(_0xcf1ebf,_0x4b2d19){const _0x206150=a0_0x1c05,_0x1e4cce=_0xcf1ebf();while(!![]){try{const _0x527179=parseInt(_0x206150(0x10e))/0x1+-parseInt(_0x206150(0x105))/0x2+parseInt(_0x206150(0x10c))/0x3+-parseInt(_0x206150(0x10b))/0x4*(parseInt(_0x206150(0xf6))/0x5)+parseInt(_0x206150(0xf4))/0x6*(parseInt(_0x206150(0x10f))/0x7)+-parseInt(_0x206150(0xfb))/0x8+-parseInt(_0x206150(0x10d))/0x9;if(_0x527179===_0x4b2d19)break;else _0x1e4cce['push'](_0x1e4cce['shift']());}catch(_0x1685f3){_0x1e4cce['push'](_0x1e4cce['shift']());}}}(a0_0x5cc3,0xb75a7));import a0_0x40852d from'graphql-tag';function a0_0x5cc3(){const _0x54fc33=['query','model','id,category,resourceUrl','tagName','menus','description','info','tText','getMenuInfo','324560sXazYl','-element','activityId','properties','name','activity','704720yYukmb','3554067YQRCXe','13476348CaTpgS','1260528yDoCfI','4125520TWiDjg','records','routing','endsWith','-page','data','getActivity','connectedCallback','replace','assign','length','value_is_not_exist','6xlHbHE','tMenu','5HjFvMC','relationMenu','menu','category','resourceUrl','3581840TMHsyG'];a0_0x5cc3=function(){return _0x54fc33;};return a0_0x5cc3();}import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';function a0_0x1c05(_0x2e3573,_0x36dea6){const _0x5cc390=a0_0x5cc3();return a0_0x1c05=function(_0x1c059f,_0x1c9474){_0x1c059f=_0x1c059f-0xec;let _0xeaed00=_0x5cc390[_0x1c059f];return _0xeaed00;},a0_0x1c05(_0x2e3573,_0x36dea6);}import{MetaApi}from'./../../utils/meta-api';export const MetaActivityMixin=_0x4b414f=>class extends _0x4b414f{static get[a0_0x131195(0x108)](){return{'activityId':String,'input':Object,'output':Object};}static get['styles'](){return css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  overflow-x: auto;
6
6
  background-color: var(--main-section-background-color);
7
7
  }
8
- `;}async[a0_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`
8
+ `;}async['connectedCallback'](){const _0x5d4f55=a0_0x131195;await this[_0x5d4f55(0xee)](),await super[_0x5d4f55(0xef)]();}async[a0_0x131195(0xee)](){const _0x7f6bf5=a0_0x131195,_0x435762=await client[_0x7f6bf5(0xfc)]({'query':a0_0x40852d`
9
9
  query activity($id: String!) {
10
10
  activity(id: $id) {
11
11
  id
@@ -15,4 +15,4 @@ const a0_0x48fa2c=a0_0x5e7e;(function(_0x37db30,_0x374fde){const _0x1dcbdb=a0_0x
15
15
  }
16
16
  }
17
17
  }
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();}
18
+ `,'variables':{'id':this[_0x7f6bf5(0x107)]}});let _0x5d092f;this['activity']=_0x435762[_0x7f6bf5(0xed)][_0x7f6bf5(0x10a)],this[_0x7f6bf5(0x10a)][_0x7f6bf5(0xfd)]?.['forEach'](_0xae1146=>{const _0x22d933=_0x7f6bf5;'relation-menu'==_0xae1146[_0x22d933(0x109)]&&(_0x5d092f=JSON['parse'](_0xae1146[_0x22d933(0x101)]));}),this[_0x7f6bf5(0xf7)]=_0x5d092f,await this[_0x7f6bf5(0x104)](this[_0x7f6bf5(0xf7)]['id'],this[_0x7f6bf5(0xf7)][_0x7f6bf5(0x111)]);}async[a0_0x131195(0x104)](_0x4994db,_0x6d0d42){const _0x47b30c=a0_0x131195;let _0xf30667=[{'name':'id','operator':'eq','value':_0x4994db}],_0x1ac60e=await ServiceUtil['searchByPagination'](_0x47b30c(0x100),_0xf30667,null,0x0,0x0,_0x47b30c(0xfe));if(!_0x1ac60e&&0x0==_0x1ac60e[_0x47b30c(0xf2)]){let _0x1086f5=TermsUtil[_0x47b30c(0x103)](_0x47b30c(0xf3),{'value':TermsUtil[_0x47b30c(0xf5)](_0x47b30c(0xf8))+'\x20'+_0x6d0d42});throw MetaApi['showToast'](_0x47b30c(0x102),_0x1086f5),new Error(_0x1086f5);}let _0x4b140a=_0x1ac60e[_0x47b30c(0x110)][0x0];_0x4b140a[_0x47b30c(0xff)]=_0x4b140a[_0x47b30c(0xf9)][_0x47b30c(0x112)](_0x47b30c(0xec))?_0x4b140a[_0x47b30c(0xf9)][_0x47b30c(0xf0)]('-page',_0x47b30c(0x106)):_0x4b140a[_0x47b30c(0xf9)],_0x4b140a[_0x47b30c(0xfa)]=_0x4b140a[_0x47b30c(0xfa)][_0x47b30c(0xf0)](_0x4b140a[_0x47b30c(0xf9)],_0x4b140a[_0x47b30c(0xff)]),Object[_0x47b30c(0xf1)](this[_0x47b30c(0xf7)],_0x4b140a);}};