@things-factory/meta-ui 6.0.129 → 6.0.131

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 (81) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +6 -4
  3. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  4. package/client/component/filter/filter-grist-resource-code-select.js +10 -10
  5. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  6. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  7. package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
  8. package/client/index.js +4 -0
  9. package/client/mixin/meta-base-mixin.js +1 -1
  10. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  11. package/client/mixin/meta-button-mixin.js +1 -1
  12. package/client/mixin/meta-form-mixin.js +1 -1
  13. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  14. package/client/mixin/meta-main-tab-mixin.js +1 -0
  15. package/client/mixin/meta-master-detail-mixin.js +1 -1
  16. package/client/mixin/meta-service-mixin.js +1 -1
  17. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  18. package/client/mixin/meta-tab-mixin.js +1 -1
  19. package/client/pages/activity/meta-activity-list-page.js +6 -6
  20. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  21. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  22. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  23. package/client/pages/entity/config-entity.js +29 -29
  24. package/client/pages/entity/main-menu-selector.js +7 -7
  25. package/client/pages/history/history-copy-list-popup.js +5 -5
  26. package/client/pages/history/history-json-list-popup.js +6 -6
  27. package/client/pages/loading-page.js +5 -5
  28. package/client/pages/menu/dynamic-menu-template.js +7 -7
  29. package/client/pages/menu/dynamic-menu.js +15 -15
  30. package/client/pages/meta-form-element.js +1 -1
  31. package/client/pages/meta-grist-element.js +1 -1
  32. package/client/pages/meta-grist-page.js +1 -1
  33. package/client/pages/meta-grist-tab-element.js +1 -1
  34. package/client/pages/meta-grist-tab-page.js +1 -1
  35. package/client/pages/meta-main-tab-element.js +1 -0
  36. package/client/pages/meta-main-tab-page.js +1 -0
  37. package/client/pages/meta-master-detail-element.js +1 -1
  38. package/client/pages/meta-master-detail-page.js +1 -1
  39. package/client/pages/meta-tab-detail-element.js +1 -1
  40. package/client/pages/meta-tab-detail-page.js +1 -1
  41. package/client/pages/meta-tab-element.js +1 -1
  42. package/client/pages/personalize/personal-column-selector.js +11 -11
  43. package/client/pages/terms/config-terminology.js +6 -6
  44. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  45. package/client/pages/work-code/work-code-page.js +1 -1
  46. package/client/reducers/main.js +1 -1
  47. package/client/utils/meta-api.js +1 -1
  48. package/client/utils/meta-crypto.js +1 -1
  49. package/client/utils/meta-ui-util.js +127 -96
  50. package/client/utils/service-util.js +13 -13
  51. package/client/utils/terms-util.js +2 -2
  52. package/client/utils/ui-util.js +1 -1
  53. package/client/utils/value-util.js +1 -1
  54. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  55. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  56. package/client/viewparts/dynamic-menu-part.js +11 -11
  57. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  58. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  59. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  60. package/package.json +2 -2
  61. package/server/activity/CommonActivity.js +2 -2
  62. package/server/constants/error-code.js +1 -1
  63. package/server/errors/license-error.js +1 -1
  64. package/server/routes.js +1 -1
  65. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  66. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  67. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize.js +1 -1
  69. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  70. package/server/service/meta-activity/meta-activity-query.js +1 -1
  71. package/server/service/meta-activity/meta-activity-type.js +1 -1
  72. package/server/service/meta-secret/meta-resolver.js +1 -1
  73. package/server/service/set-translations/set-translation-resolver.js +1 -1
  74. package/server/service/work-code/work-code-mutation.js +1 -1
  75. package/server/service/work-code/work-code-query.js +1 -1
  76. package/server/service/work-code/work-code-type.js +1 -1
  77. package/server/service/work-code/work-code.js +1 -1
  78. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  79. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  80. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1 +1 @@
1
- const a0_0xd922de=a0_0x1629;(function(_0x4ae85c,_0x241114){const _0x491489=a0_0x1629,_0x44d284=_0x4ae85c();while(!![]){try{const _0x3d179f=parseInt(_0x491489(0x182))/0x1*(parseInt(_0x491489(0x17e))/0x2)+parseInt(_0x491489(0x175))/0x3*(parseInt(_0x491489(0x188))/0x4)+parseInt(_0x491489(0x1ae))/0x5*(parseInt(_0x491489(0x17f))/0x6)+-parseInt(_0x491489(0x16f))/0x7*(parseInt(_0x491489(0x172))/0x8)+-parseInt(_0x491489(0x1bb))/0x9+parseInt(_0x491489(0x19f))/0xa*(-parseInt(_0x491489(0x1b3))/0xb)+-parseInt(_0x491489(0x1ab))/0xc*(-parseInt(_0x491489(0x191))/0xd);if(_0x3d179f===_0x241114)break;else _0x44d284['push'](_0x44d284['shift']());}catch(_0x8b329e){_0x44d284['push'](_0x44d284['shift']());}}}(a0_0x149e,0x76f2b));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_0x1629(_0x1b8a93,_0x3a4676){const _0x149e96=a0_0x149e();return a0_0x1629=function(_0x16296f,_0x15af0e){_0x16296f=_0x16296f-0x16d;let _0x2d734d=_0x149e96[_0x16296f];return _0x2d734d;},a0_0x1629(_0x1b8a93,_0x3a4676);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x1f4583=>class extends MetaButtonMixin(_0x1f4583){static get[a0_0xd922de(0x1b1)](){const _0x5e2a32=a0_0xd922de;return MetaApi[_0x5e2a32(0x184)]();}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_0xd922de(0x1a8)](){const _0x15e06c=a0_0xd922de;return this[_0x15e06c(0x195)][_0x15e06c(0x1a9)](this['gristId']);}get[a0_0xd922de(0x173)](){const _0x17f447=a0_0xd922de;return this['shadowRoot']?.[_0x17f447(0x1a9)](this[_0x17f447(0x19d)]);}get[a0_0xd922de(0x177)](){const _0x17feee=a0_0xd922de;return this['shadowRoot'][_0x17feee(0x1a9)](_0x17feee(0x194));}get[a0_0xd922de(0x1ba)](){const _0x2b1729=a0_0xd922de;let _0xc8c280=MetaUiUtil[_0x2b1729(0x1a4)](this);return _0xc8c280['actions']&&delete _0xc8c280[_0x2b1729(0x1aa)],_0xc8c280[_0x2b1729(0x193)]&&delete _0xc8c280[_0x2b1729(0x193)],_0xc8c280[_0x2b1729(0x1b4)]&&delete _0xc8c280[_0x2b1729(0x1b4)],_0xc8c280;}async[a0_0xd922de(0x1ac)](){const _0x3cd467=a0_0xd922de;this[_0x3cd467(0x179)]=_0x3cd467(0x16d),this['filterFormId']=_0x3cd467(0x1b6),await this['getAndParseMenuMeta'](),this[_0x3cd467(0x1b2)]&&await this[_0x3cd467(0x178)](),this[_0x3cd467(0x1a5)]&&(this[_0x3cd467(0x19b)]=(this['activityDataSet']||{})[_0x3cd467(0x18c)]),super[_0x3cd467(0x1ac)]&&await super['connectedCallback']();}async[a0_0xd922de(0x1ad)](){const _0xcf7536=a0_0xd922de;super[_0xcf7536(0x1ad)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x804655=a0_0xd922de;this[_0x804655(0x17a)]&&await this['parseGristConfigs'](),super[_0x804655(0x1bf)]&&await super['pageInitialized']();}[a0_0xd922de(0x176)](){const _0x351920=a0_0xd922de;return MetaApi[_0x351920(0x17c)](this);}[a0_0xd922de(0x1af)](_0x360b4b){const _0x5e27ad=a0_0xd922de;this['gridConfig']=_0x360b4b['grid'],this[_0x5e27ad(0x18a)]=_0x360b4b[_0x5e27ad(0x19a)],this['searchConfig']=_0x360b4b[_0x5e27ad(0x1a3)];}async[a0_0xd922de(0x178)](){const _0x20fa32=a0_0xd922de;this[_0x20fa32(0x19c)]=await MetaApi[_0x20fa32(0x181)](this),this[_0x20fa32(0x1a7)]=!0x0===this[_0x20fa32(0x1b9)],this[_0x20fa32(0x1b9)]=!0x1,this[_0x20fa32(0x197)]=[],this[_0x20fa32(0x18b)]=this['gristConfigSet'][_0x20fa32(0x1be)]['filter'](_0x381a31=>_0x381a31[_0x20fa32(0x192)])[_0x20fa32(0x190)](_0x4fb295=>{const _0x3fb364=_0x20fa32;let _0x2eb69e={'name':_0x4fb295[_0x3fb364(0x187)],'type':_0x3fb364(0x1a3)===_0x4fb295[_0x3fb364(0x192)]['operator']?_0x3fb364(0x1a3):_0x4fb295[_0x3fb364(0x183)],'label':_0x4fb295[_0x3fb364(0x170)],'operator':_0x4fb295[_0x3fb364(0x192)][_0x3fb364(0x174)]?_0x4fb295[_0x3fb364(0x192)][_0x3fb364(0x174)]:'eq'};return _0x4fb295[_0x3fb364(0x1a6)][_0x3fb364(0x196)]&&(_0x2eb69e[_0x3fb364(0x196)]=_0x4fb295['record'][_0x3fb364(0x196)]),_0x4fb295[_0x3fb364(0x192)][_0x3fb364(0x171)]&&this['searchFieldValues']['push']({'name':_0x2eb69e[_0x3fb364(0x187)],'operator':_0x2eb69e['operator'],'value':_0x4fb295[_0x3fb364(0x192)][_0x3fb364(0x171)]}),_0x2eb69e;});}async['fetch'](){const _0x44fd30=a0_0xd922de;await this['grist'][_0x44fd30(0x18e)]();}async[a0_0xd922de(0x17b)]({page:_0x5ddcb8=0x0,limit:_0x464501=0x0,sortings:_0x2fc613=[],filters:_0x54c17c=[]}){const _0x4c0df2=a0_0xd922de;let _0x3afa3d=this['renderRoot']['querySelector']('meta-tab-element');return await _0x3afa3d[_0x4c0df2(0x180)](),!0x0;}async[a0_0xd922de(0x18d)](){const _0xb940e=a0_0xd922de;let _0x277ad3=MetaApi[_0xb940e(0x1b0)](this[_0xb940e(0x1a8)]);!!ValueUtil[_0xb940e(0x1a2)](_0x277ad3)&&await this[_0xb940e(0x1bc)](_0x277ad3)&&this[_0xb940e(0x18e)]();}async['find'](){const _0x4d977e=a0_0xd922de;let _0x19a83a=MetaApi[_0x4d977e(0x1bd)](this[_0x4d977e(0x1a8)],!0x0);return ValueUtil['isNotEmpty'](_0x19a83a)?await this[_0x4d977e(0x16e)](_0x19a83a[0x0]):{};}async['delete'](){const _0x1f2ae4=a0_0xd922de;let _0x300098=MetaApi[_0x1f2ae4(0x1bd)](this['grist'],!0x0);!!ValueUtil[_0x1f2ae4(0x1a2)](_0x300098)&&await this['deleteByIds'](_0x300098)&&this[_0x1f2ae4(0x18e)]();}async[a0_0xd922de(0x1b7)](){const _0x10c2af=a0_0xd922de;let _0x191c10=TermsUtil[_0x10c2af(0x198)](ValueUtil['getParams'](this[_0x10c2af(0x189)],_0x10c2af(0x1a0)));return await MetaApi[_0x10c2af(0x1b5)](this[_0x10c2af(0x1b2)],_0x191c10,this[_0x10c2af(0x1a8)]);}async[a0_0xd922de(0x1a1)](){}[a0_0xd922de(0x19e)](){const _0x5e89b7=a0_0xd922de;let _0x39ef9e=this[_0x5e89b7(0x1a8)][_0x5e89b7(0x18f)][_0x5e89b7(0x186)];return _0x39ef9e=JSON[_0x5e89b7(0x185)](JSON[_0x5e89b7(0x199)](_0x39ef9e)),_0x39ef9e['forEach'](_0x1eeafe=>{const _0x47359b=_0x5e89b7;Object[_0x47359b(0x1b8)](_0x1eeafe)['forEach'](_0x356e43=>{_0x356e43['startsWith']('__')&&delete _0x1eeafe[_0x356e43];});}),{'main':_0x39ef9e,'detail':this[_0x5e89b7(0x195)][_0x5e89b7(0x1a9)](_0x5e89b7(0x17d))['getData']()};}};function a0_0x149e(){const _0x2081c8=['tTitle','stringify','grid_column','dataSet','gristConfigSet','filterFormId','getData','60lLRUDe','title','import','isNotEmpty','search','getContextObject','activityDataSet','record','useMasterFilterForm','grist','querySelector','actions','12lIoDYw','connectedCallback','firstUpdated','914535gEzdDg','parseBasicGridConfigs','patchesForUpdateMultiple','styles','isElement','267344SsTsdX','importable','exportableData','ox-filters-form-base','export','keys','useFilterForm','context','3530709wiCdIU','updateMultiple','getSelectedIdList','columns','pageInitialized','ox-grist','findOne','28ZaOXtU','header','value','140776BZORrx','filterForm','operator','15EdPQtF','render','detailElement','parseGristConfigs','gristId','isPage','beforeFetch','getGristTabHtml','meta-tab-element','2sbFBQJ','24XENnmr','clear','parseGridConfigSet','126131miVNDG','type','getBasicGristTabStyles','parse','records','name','17260YvnHpa','menuInfo','gridColumnConfig','searchFields','main','save','fetch','___data','map','2813070vgOkvm','filter','exportable','#detail','renderRoot','options','searchFieldValues'];a0_0x149e=function(){return _0x2081c8;};return a0_0x149e();}
1
+ const a0_0x3cef8c=a0_0xf70b;(function(_0x308b1b,_0x38dabd){const _0x206281=a0_0xf70b,_0x59f66c=_0x308b1b();while(!![]){try{const _0x2d4e3f=parseInt(_0x206281(0x1ea))/0x1*(parseInt(_0x206281(0x1a3))/0x2)+parseInt(_0x206281(0x1a2))/0x3*(parseInt(_0x206281(0x196))/0x4)+-parseInt(_0x206281(0x1c0))/0x5*(-parseInt(_0x206281(0x1d4))/0x6)+-parseInt(_0x206281(0x1a8))/0x7+-parseInt(_0x206281(0x1c9))/0x8+parseInt(_0x206281(0x1a1))/0x9+-parseInt(_0x206281(0x1e2))/0xa;if(_0x2d4e3f===_0x38dabd)break;else _0x59f66c['push'](_0x59f66c['shift']());}catch(_0x21c6a6){_0x59f66c['push'](_0x59f66c['shift']());}}}(a0_0xad60,0x24570));function a0_0xf70b(_0x42e46f,_0x1ff848){const _0xad608d=a0_0xad60();return a0_0xf70b=function(_0xf70b5f,_0x1b0c8b){_0xf70b5f=_0xf70b5f-0x195;let _0x4838e5=_0xad608d[_0xf70b5f];return _0x4838e5;},a0_0xf70b(_0x42e46f,_0x1ff848);}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 MetaGristTabMixin=_0x3deccb=>class extends MetaButtonMixin(_0x3deccb){static get[a0_0x3cef8c(0x1a7)](){const _0x318a07=a0_0x3cef8c;return MetaApi[_0x318a07(0x1c1)]();}static get[a0_0x3cef8c(0x1dd)](){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_0x3cef8c(0x1b8)](){const _0x28b621=a0_0x3cef8c;return this[_0x28b621(0x1da)][_0x28b621(0x19e)](this['gristId']);}get[a0_0x3cef8c(0x1c6)](){const _0x283b15=a0_0x3cef8c;return this[_0x283b15(0x1c2)]?.[_0x283b15(0x19e)](this[_0x283b15(0x1de)]);}get[a0_0x3cef8c(0x19c)](){const _0x56f5d0=a0_0x3cef8c;return this[_0x56f5d0(0x1c2)][_0x56f5d0(0x19e)](_0x56f5d0(0x1e4));}get[a0_0x3cef8c(0x1d6)](){const _0x549fcd=a0_0x3cef8c;let _0x2592ed=MetaUiUtil['getContextObject'](this);return _0x2592ed[_0x549fcd(0x1df)]&&delete _0x2592ed['actions'],_0x2592ed[_0x549fcd(0x1d7)]&&delete _0x2592ed['exportable'],_0x2592ed['importable']&&delete _0x2592ed[_0x549fcd(0x1e7)],_0x2592ed;}async['connectedCallback'](){const _0x48127e=a0_0x3cef8c;this[_0x48127e(0x1dc)]=_0x48127e(0x1b5),this[_0x48127e(0x1de)]=_0x48127e(0x1bb),await this[_0x48127e(0x1cb)](),this[_0x48127e(0x1c5)]&&await this[_0x48127e(0x1c3)](),this[_0x48127e(0x1a6)]&&(this[_0x48127e(0x1ca)]=(this[_0x48127e(0x1a6)]||{})[_0x48127e(0x1aa)]),super[_0x48127e(0x1d2)]&&await super[_0x48127e(0x1d2)]();}async[a0_0x3cef8c(0x1b7)](){const _0x5cefbc=a0_0x3cef8c;super[_0x5cefbc(0x1b7)]&&await super[_0x5cefbc(0x1b7)]();}async[a0_0x3cef8c(0x19f)](){const _0x1402a8=a0_0x3cef8c;this[_0x1402a8(0x1e6)]&&await this[_0x1402a8(0x1c3)](),super[_0x1402a8(0x19f)]&&await super[_0x1402a8(0x19f)]();}[a0_0x3cef8c(0x1a9)](){const _0xca2287=a0_0x3cef8c;return MetaApi[_0xca2287(0x1bd)](this);}[a0_0x3cef8c(0x198)](_0x5ce49c){const _0x170f4f=a0_0x3cef8c;this[_0x170f4f(0x1be)]=_0x5ce49c[_0x170f4f(0x1b1)],this[_0x170f4f(0x1b6)]=_0x5ce49c['grid_column'],this[_0x170f4f(0x1b2)]=_0x5ce49c[_0x170f4f(0x1c4)];}async[a0_0x3cef8c(0x1c3)](){const _0x188df3=a0_0x3cef8c;this[_0x188df3(0x1b4)]=await MetaApi[_0x188df3(0x19b)](this),this[_0x188df3(0x1d3)]=!0x0===this[_0x188df3(0x1a0)],this[_0x188df3(0x1a0)]=!0x1,this[_0x188df3(0x1e5)]=[],this[_0x188df3(0x1d0)]=this[_0x188df3(0x1b4)][_0x188df3(0x1bc)][_0x188df3(0x1ac)](_0x41b6a6=>_0x41b6a6[_0x188df3(0x1ac)])[_0x188df3(0x1a4)](_0x210042=>{const _0x541f4d=_0x188df3;let _0x2fe82d={'name':_0x210042['filter'][_0x541f4d(0x1b3)]?_0x210042['filter'][_0x541f4d(0x1b3)]:_0x210042[_0x541f4d(0x1b3)],'type':_0x541f4d(0x1c4)===_0x210042[_0x541f4d(0x1ac)][_0x541f4d(0x1b0)]?_0x541f4d(0x1c4):_0x210042['type'],'label':_0x210042[_0x541f4d(0x19d)],'operator':_0x210042[_0x541f4d(0x1ac)]['operator']?_0x210042['filter'][_0x541f4d(0x1b0)]:'eq'};return _0x210042[_0x541f4d(0x1e3)][_0x541f4d(0x1e9)]&&(_0x2fe82d[_0x541f4d(0x1e9)]=_0x210042['record'][_0x541f4d(0x1e9)]),_0x210042[_0x541f4d(0x1ac)][_0x541f4d(0x1ab)]&&this['searchFieldValues'][_0x541f4d(0x1a5)]({'name':_0x2fe82d[_0x541f4d(0x1b3)],'operator':_0x2fe82d[_0x541f4d(0x1b0)],'value':_0x210042[_0x541f4d(0x1ac)][_0x541f4d(0x1ab)]}),delete _0x210042[_0x541f4d(0x1ac)],_0x2fe82d;});}async[a0_0x3cef8c(0x1ba)](){const _0x3ce036=a0_0x3cef8c;await this['grist'][_0x3ce036(0x1ba)]();}async[a0_0x3cef8c(0x1c7)]({page:_0x363a6a=0x0,limit:_0x30d7cb=0x0,sortings:_0x27ecea=[],filters:_0x3a8e36=[]}){const _0x905ab2=a0_0x3cef8c;let _0x3e538f=this[_0x905ab2(0x1da)][_0x905ab2(0x19e)](_0x905ab2(0x1bf));return await _0x3e538f[_0x905ab2(0x1e0)](),!0x0;}async[a0_0x3cef8c(0x1db)](){const _0x408faa=a0_0x3cef8c;let _0x30ec09=MetaApi[_0x408faa(0x1d9)](this[_0x408faa(0x1b8)]);!!ValueUtil[_0x408faa(0x1d8)](_0x30ec09)&&await this[_0x408faa(0x1ae)](_0x30ec09)&&this[_0x408faa(0x1ba)]();}async[a0_0x3cef8c(0x1cd)](){const _0x50cc4a=a0_0x3cef8c;let _0x4dd8d7=MetaApi[_0x50cc4a(0x1d1)](this[_0x50cc4a(0x1b8)],!0x0);return ValueUtil[_0x50cc4a(0x1d8)](_0x4dd8d7)?await this[_0x50cc4a(0x1ad)](_0x4dd8d7[0x0]):{};}async[a0_0x3cef8c(0x1e8)](){const _0xb82b69=a0_0x3cef8c;let _0x403f3b=MetaApi[_0xb82b69(0x1d1)](this[_0xb82b69(0x1b8)],!0x0);!!ValueUtil[_0xb82b69(0x1d8)](_0x403f3b)&&await this[_0xb82b69(0x19a)](_0x403f3b)&&this['fetch']();}async['export'](){const _0x5b4daf=a0_0x3cef8c;let _0xc9ab96=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x5b4daf(0x1d5)],_0x5b4daf(0x1cf)));return await MetaApi[_0x5b4daf(0x1e1)](this[_0x5b4daf(0x1c5)],_0xc9ab96,this[_0x5b4daf(0x1b8)]);}async[a0_0x3cef8c(0x1af)](){}[a0_0x3cef8c(0x195)](){const _0x55a1f0=a0_0x3cef8c;let _0x3d1209=this[_0x55a1f0(0x1b8)][_0x55a1f0(0x1cc)][_0x55a1f0(0x199)];return _0x3d1209=JSON[_0x55a1f0(0x1ce)](JSON[_0x55a1f0(0x1eb)](_0x3d1209)),_0x3d1209[_0x55a1f0(0x1b9)](_0x2f929d=>{const _0x392aca=_0x55a1f0;Object[_0x392aca(0x1c8)](_0x2f929d)['forEach'](_0x1255fc=>{const _0x393c64=_0x392aca;_0x1255fc[_0x393c64(0x197)]('__')&&delete _0x2f929d[_0x1255fc];});}),{'main':_0x3d1209,'detail':this[_0x55a1f0(0x1da)][_0x55a1f0(0x19e)]('meta-tab-element')[_0x55a1f0(0x195)]()};}};function a0_0xad60(){const _0xecf4c3=['parseGridConfigSet','detailElement','header','querySelector','pageInitialized','useFilterForm','1893753MZggUM','3yivnEA','6CxCXcP','map','push','activityDataSet','styles','1195222NGFuSp','render','main','value','filter','findOne','updateMultiple','import','operator','grid','searchConfig','name','gristConfigSet','ox-grist','gridColumnConfig','firstUpdated','grist','forEach','fetch','ox-filters-form-base','columns','getGristTabHtml','gridConfig','meta-tab-element','15NBxZWc','getBasicGristTabStyles','shadowRoot','parseGristConfigs','search','isElement','filterForm','beforeFetch','keys','1680264Pgzujd','dataSet','getAndParseMenuMeta','___data','find','parse','title','searchFields','getSelectedIdList','connectedCallback','useMasterFilterForm','321570sctnLQ','menuInfo','context','exportable','isNotEmpty','patchesForUpdateMultiple','renderRoot','save','gristId','properties','filterFormId','actions','clear','exportableData','373200hrGsun','record','#detail','searchFieldValues','isPage','importable','delete','options','7921YEnGtJ','stringify','getData','687928PJsCzJ','startsWith','parseBasicGridConfigs','records','deleteByIds'];a0_0xad60=function(){return _0xecf4c3;};return a0_0xad60();}
@@ -0,0 +1 @@
1
+ const a0_0x51b8fc=a0_0x5a09;function a0_0x2061(){const _0x4a67c8=['1068635aucbaK','3442616tAnQcy','clear','73870UKEhMN','isElement','gridColumnConfig','grid','name','search','searchConfig','parseBasicGridConfigs','770799gZwhKY','useButtonImport','searchFieldValues','filter','313082EeHWRi','beforeFetch','pageInitialized','map','1359KHJfBY','render','styles','actions','header','importable','firstUpdated','dataSet','getContextObject','parseGristConfigs','grist','2kkgNDd','filterFormId','connectedCallback','grid_column','buttonConfig','context','useButtonExport','properties','gristConfigSet','fetch','getAndParseMenuMeta','push','record','4xBmSHx','columns','1827192StCRBX','options','useFilterForm','ox-filters-form-base','getMainTabHtml','filterForm','exportable','searchFields','activityDataSet','getMainGrist','querySelector','masterElement','getData','operator','getBasicMainTabStyles','ox-grist','1741187tGewnn','isPage','type'];a0_0x2061=function(){return _0x4a67c8;};return a0_0x2061();}(function(_0x200ecb,_0x580997){const _0x214a80=a0_0x5a09,_0x2a9cc8=_0x200ecb();while(!![]){try{const _0x45a14b=-parseInt(_0x214a80(0xfd))/0x1+parseInt(_0x214a80(0x10c))/0x2*(-parseInt(_0x214a80(0xf9))/0x3)+-parseInt(_0x214a80(0x119))/0x4*(-parseInt(_0x214a80(0x12e))/0x5)+-parseInt(_0x214a80(0x11b))/0x6+parseInt(_0x214a80(0x12b))/0x7+-parseInt(_0x214a80(0x12f))/0x8+-parseInt(_0x214a80(0x101))/0x9*(-parseInt(_0x214a80(0x131))/0xa);if(_0x45a14b===_0x580997)break;else _0x2a9cc8['push'](_0x2a9cc8['shift']());}catch(_0x13472f){_0x2a9cc8['push'](_0x2a9cc8['shift']());}}}(a0_0x2061,0x42a87));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x5a09(_0x907f5d,_0x503837){const _0x206178=a0_0x2061();return a0_0x5a09=function(_0x5a0936,_0xcd8f8b){_0x5a0936=_0x5a0936-0xf8;let _0x292770=_0x206178[_0x5a0936];return _0x292770;},a0_0x5a09(_0x907f5d,_0x503837);}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 MetaMainTabMixin=_0x58cddc=>class extends MetaButtonMixin(_0x58cddc){static get[a0_0x51b8fc(0x103)](){const _0x17648e=a0_0x51b8fc;return MetaApi[_0x17648e(0x129)]();}static get[a0_0x51b8fc(0x113)](){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_0x51b8fc(0x10b)](){const _0x44b8a7=a0_0x51b8fc;return this[_0x44b8a7(0x126)][_0x44b8a7(0x124)]();}get[a0_0x51b8fc(0x120)](){const _0x17bddf=a0_0x51b8fc;return this['shadowRoot']?.[_0x17bddf(0x125)](this[_0x17bddf(0x10d)]);}get[a0_0x51b8fc(0x111)](){const _0x4f1ee2=a0_0x51b8fc;let _0x4c4331=MetaUiUtil[_0x4f1ee2(0x109)](this);return _0x4c4331[_0x4f1ee2(0x104)]&&delete _0x4c4331[_0x4f1ee2(0x104)],_0x4c4331[_0x4f1ee2(0x121)]&&delete _0x4c4331['exportable'],_0x4c4331[_0x4f1ee2(0x106)]&&delete _0x4c4331[_0x4f1ee2(0x106)],_0x4c4331;}async[a0_0x51b8fc(0x10e)](){const _0x4c45be=a0_0x51b8fc;this['gristId']=_0x4c45be(0x12a),this[_0x4c45be(0x10d)]=_0x4c45be(0x11e),await this[_0x4c45be(0x116)](),this[_0x4c45be(0x132)]&&await this[_0x4c45be(0x10a)](),this[_0x4c45be(0x123)]&&(this[_0x4c45be(0x108)]=(this[_0x4c45be(0x123)]||{})['main']),super['connectedCallback']&&await super[_0x4c45be(0x10e)]();}async['firstUpdated'](){const _0x2177ee=a0_0x51b8fc;super[_0x2177ee(0x107)]&&await super[_0x2177ee(0x107)]();}async[a0_0x51b8fc(0xff)](){const _0x438fab=a0_0x51b8fc;this[_0x438fab(0x12c)]&&await this[_0x438fab(0x10a)](),super[_0x438fab(0xff)]&&await super[_0x438fab(0xff)]();}[a0_0x51b8fc(0x102)](){const _0x3a5cac=a0_0x51b8fc;return MetaApi[_0x3a5cac(0x11f)](this);}[a0_0x51b8fc(0xf8)](_0x4ab37e){const _0x3e2bbd=a0_0x51b8fc;this['gridConfig']=_0x4ab37e[_0x3e2bbd(0x134)],this[_0x3e2bbd(0x133)]=_0x4ab37e[_0x3e2bbd(0x10f)],this[_0x3e2bbd(0x137)]=_0x4ab37e[_0x3e2bbd(0x136)];}async[a0_0x51b8fc(0x10a)](){const _0x3ca2ba=a0_0x51b8fc;this[_0x3ca2ba(0x114)]=await MetaApi['parseGridConfigSet'](this),this['useMasterFilterForm']=!0x0===this[_0x3ca2ba(0x11d)],this[_0x3ca2ba(0x11d)]=!0x1,this[_0x3ca2ba(0x110)]=void 0x0,this[_0x3ca2ba(0x112)]=!0x1,this[_0x3ca2ba(0xfa)]=!0x1,this['searchFieldValues']=[],this[_0x3ca2ba(0x122)]=this[_0x3ca2ba(0x114)][_0x3ca2ba(0x11a)][_0x3ca2ba(0xfc)](_0xe81dcc=>_0xe81dcc['filter'])[_0x3ca2ba(0x100)](_0x2feeee=>{const _0x437dd2=_0x3ca2ba;let _0x2770d9={'name':_0x2feeee[_0x437dd2(0xfc)][_0x437dd2(0x135)]?_0x2feeee[_0x437dd2(0xfc)][_0x437dd2(0x135)]:_0x2feeee[_0x437dd2(0x135)],'type':'search'===_0x2feeee[_0x437dd2(0xfc)]['operator']?'search':_0x2feeee[_0x437dd2(0x12d)],'label':_0x2feeee[_0x437dd2(0x105)],'operator':_0x2feeee[_0x437dd2(0xfc)][_0x437dd2(0x128)]?_0x2feeee[_0x437dd2(0xfc)][_0x437dd2(0x128)]:'eq'};return _0x2feeee[_0x437dd2(0x118)][_0x437dd2(0x11c)]&&(_0x2770d9['options']=_0x2feeee[_0x437dd2(0x118)]['options']),_0x2feeee[_0x437dd2(0xfc)]['value']&&this[_0x437dd2(0xfb)][_0x437dd2(0x117)]({'name':_0x2770d9[_0x437dd2(0x135)],'operator':_0x2770d9[_0x437dd2(0x128)],'value':_0x2feeee[_0x437dd2(0xfc)]['value']}),delete _0x2feeee[_0x437dd2(0xfc)],_0x2770d9;});}async[a0_0x51b8fc(0x115)](){const _0x111d01=a0_0x51b8fc;await this[_0x111d01(0x10b)]['fetch']();}async[a0_0x51b8fc(0xfe)]({page:_0x2cf892=0x0,limit:_0x5a50c8=0x0,sortings:_0x522555=[],filters:_0x4fe3d1=[]}){const _0x337379=a0_0x51b8fc;return this[_0x337379(0x126)]&&this[_0x337379(0x126)][_0x337379(0x130)]&&await this[_0x337379(0x126)][_0x337379(0x130)](),!0x0;}['getData'](){const _0x2904d6=a0_0x51b8fc;return{'master':this[_0x2904d6(0x126)][_0x2904d6(0x127)]()};}};
@@ -1 +1 @@
1
- function a0_0x3ea7(){const _0x11df5f=['exportable','connectedCallback','styles','gristConfigSet','main','parse','filter','import','value','firstUpdated','ox-grist','gridColumnConfig','findOne','grid','detailElement','keys','filterFormId','parseGridConfigSet','context','398998KHFEqW','3835605jOwIDG','getContextObject','6160496gtuVZk','getData','grid_column','7577073FgFovS','searchConfig','clear','grist','gristId','18eLYiVS','actions','render','record','importable','searchFieldValues','1693656pJJnvQ','pageInitialized','dataSet','getParams','deleteByIds','fetch','parseGristConfigs','useMasterFilterForm','shadowRoot','1653134ZzBfYW','name','tTitle','forEach','beforeFetch','options','getSelectedIdList','exportableData','startsWith','find','querySelector','updateMultiple','isElement','useFilterForm','delete','___data','44988MpwDYT','search','columns','push','gridConfig','isNotEmpty','renderRoot','isPage','operator','save','3xmfxvt','title','records','parseBasicGridConfigs','activityDataSet','patchesForUpdateMultiple','map'];a0_0x3ea7=function(){return _0x11df5f;};return a0_0x3ea7();}const a0_0x28939e=a0_0x4551;(function(_0x28ae3c,_0x2862ca){const _0x3e3e92=a0_0x4551,_0x1fa95b=_0x28ae3c();while(!![]){try{const _0x70cabe=parseInt(_0x3e3e92(0x1fc))/0x1+parseInt(_0x3e3e92(0x1d2))/0x2*(parseInt(_0x3e3e92(0x206))/0x3)+parseInt(_0x3e3e92(0x1e3))/0x4+parseInt(_0x3e3e92(0x1d3))/0x5+-parseInt(_0x3e3e92(0x1dd))/0x6*(parseInt(_0x3e3e92(0x1ec))/0x7)+parseInt(_0x3e3e92(0x1d5))/0x8+-parseInt(_0x3e3e92(0x1d8))/0x9;if(_0x70cabe===_0x2862ca)break;else _0x1fa95b['push'](_0x1fa95b['shift']());}catch(_0x10abaa){_0x1fa95b['push'](_0x1fa95b['shift']());}}}(a0_0x3ea7,0x9fd6d));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_0x4551(_0x591474,_0x362bb3){const _0x3ea7b8=a0_0x3ea7();return a0_0x4551=function(_0x455131,_0x4c15e1){_0x455131=_0x455131-0x1be;let _0x49f10c=_0x3ea7b8[_0x455131];return _0x49f10c;},a0_0x4551(_0x591474,_0x362bb3);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x1cc58c=>class extends MetaButtonMixin(_0x1cc58c){static get[a0_0x28939e(0x1c1)](){return MetaApi['getBasicMasterDetailStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x28939e(0x1db)](){const _0x2d1264=a0_0x28939e;return this[_0x2d1264(0x202)][_0x2d1264(0x1f6)](this[_0x2d1264(0x1dc)]);}get['filterForm'](){const _0x38dcb1=a0_0x28939e;return this[_0x38dcb1(0x1eb)]?.[_0x38dcb1(0x1f6)](this[_0x38dcb1(0x1cf)]);}get[a0_0x28939e(0x1d1)](){const _0x388f6c=a0_0x28939e;let _0x2237bb=MetaUiUtil[_0x388f6c(0x1d4)](this);return _0x2237bb[_0x388f6c(0x1de)]&&delete _0x2237bb[_0x388f6c(0x1de)],_0x2237bb[_0x388f6c(0x1bf)]&&delete _0x2237bb[_0x388f6c(0x1bf)],_0x2237bb[_0x388f6c(0x1e1)]&&delete _0x2237bb[_0x388f6c(0x1e1)],_0x2237bb;}async[a0_0x28939e(0x1c0)](){const _0xbffa0b=a0_0x28939e;this[_0xbffa0b(0x1dc)]=_0xbffa0b(0x1c9),this[_0xbffa0b(0x1cf)]='ox-filters-form-base',await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0xbffa0b(0x1e9)](),this['activityDataSet']&&(this[_0xbffa0b(0x1e5)]=(this[_0xbffa0b(0x20a)]||{})[_0xbffa0b(0x1c3)]),super[_0xbffa0b(0x1c0)]&&await super['connectedCallback']();}async[a0_0x28939e(0x1c8)](){super['firstUpdated']&&await super['firstUpdated']();}async[a0_0x28939e(0x1e4)](){const _0x45e00c=a0_0x28939e;this[_0x45e00c(0x203)]&&await this[_0x45e00c(0x1e9)](),super[_0x45e00c(0x1e4)]&&await super[_0x45e00c(0x1e4)]();}[a0_0x28939e(0x1df)](){return MetaApi['getMasterDetailHtml'](this);}[a0_0x28939e(0x209)](_0x54a05e){const _0x5a7d03=a0_0x28939e;this[_0x5a7d03(0x200)]=_0x54a05e[_0x5a7d03(0x1cc)],this[_0x5a7d03(0x1ca)]=_0x54a05e[_0x5a7d03(0x1d7)],this[_0x5a7d03(0x1d9)]=_0x54a05e[_0x5a7d03(0x1fd)];}async[a0_0x28939e(0x1e9)](){const _0x2152a7=a0_0x28939e;this['gristConfigSet']=await MetaApi[_0x2152a7(0x1d0)](this),this[_0x2152a7(0x1ea)]=!0x0===this[_0x2152a7(0x1f9)],this[_0x2152a7(0x1f9)]=!0x1,this[_0x2152a7(0x1e2)]=[],this['searchFields']=this[_0x2152a7(0x1c2)][_0x2152a7(0x1fe)]['filter'](_0x554ffe=>_0x554ffe[_0x2152a7(0x1c5)])[_0x2152a7(0x1be)](_0x5bb71d=>{const _0x5e116a=_0x2152a7;let _0x1d7f1a={'name':_0x5bb71d[_0x5e116a(0x1ed)],'type':_0x5e116a(0x1fd)===_0x5bb71d[_0x5e116a(0x1c5)][_0x5e116a(0x204)]?'search':_0x5bb71d['type'],'label':_0x5bb71d['header'],'operator':_0x5bb71d[_0x5e116a(0x1c5)][_0x5e116a(0x204)]?_0x5bb71d['filter'][_0x5e116a(0x204)]:'eq'};return _0x5bb71d[_0x5e116a(0x1e0)][_0x5e116a(0x1f1)]&&(_0x1d7f1a[_0x5e116a(0x1f1)]=_0x5bb71d[_0x5e116a(0x1e0)][_0x5e116a(0x1f1)]),_0x5bb71d['filter'][_0x5e116a(0x1c7)]&&this[_0x5e116a(0x1e2)][_0x5e116a(0x1ff)]({'name':_0x1d7f1a[_0x5e116a(0x1ed)],'operator':_0x1d7f1a[_0x5e116a(0x204)],'value':_0x5bb71d[_0x5e116a(0x1c5)][_0x5e116a(0x1c7)]}),_0x1d7f1a;});}async[a0_0x28939e(0x1e8)](){const _0xe1203=a0_0x28939e;await this[_0xe1203(0x1db)][_0xe1203(0x1e8)]();}async[a0_0x28939e(0x1f0)]({page:_0x11b302=0x0,limit:_0x5c7d8d=0x0,sortings:_0x288215=[],filters:_0x3690b4=[]}){const _0x1b2fd6=a0_0x28939e;return this[_0x1b2fd6(0x1cd)]&&this['detailElement'][_0x1b2fd6(0x1da)]&&await this['detailElement'][_0x1b2fd6(0x1da)](),!0x0;}async[a0_0x28939e(0x205)](){const _0x1523fa=a0_0x28939e;let _0x12186c=MetaApi[_0x1523fa(0x20b)](this[_0x1523fa(0x1db)]);!!ValueUtil[_0x1523fa(0x201)](_0x12186c)&&await this[_0x1523fa(0x1f7)](_0x12186c)&&this[_0x1523fa(0x1e8)]();}async[a0_0x28939e(0x1f5)](){const _0x1aa816=a0_0x28939e;let _0x4ae557=MetaApi['getSelectedIdList'](this[_0x1aa816(0x1db)],!0x0);return ValueUtil[_0x1aa816(0x201)](_0x4ae557)?await this[_0x1aa816(0x1cb)](_0x4ae557[0x0]):{};}async[a0_0x28939e(0x1fa)](){const _0x5a7e50=a0_0x28939e;let _0x33e631=MetaApi[_0x5a7e50(0x1f2)](this[_0x5a7e50(0x1db)],!0x0);!!ValueUtil[_0x5a7e50(0x201)](_0x33e631)&&await this[_0x5a7e50(0x1e7)](_0x33e631)&&this[_0x5a7e50(0x1e8)]();}async['export'](){const _0x2e4f44=a0_0x28939e;let _0x13a1f3=TermsUtil[_0x2e4f44(0x1ee)](ValueUtil[_0x2e4f44(0x1e6)](this['menuInfo'],_0x2e4f44(0x207)));return await MetaApi[_0x2e4f44(0x1f3)](this[_0x2e4f44(0x1f8)],_0x13a1f3,this[_0x2e4f44(0x1db)]);}async[a0_0x28939e(0x1c6)](){}['getData'](){const _0x139d5a=a0_0x28939e;let _0x2e8e25=this['grist'][_0x139d5a(0x1fb)][_0x139d5a(0x208)];return _0x2e8e25=JSON[_0x139d5a(0x1c4)](JSON['stringify'](_0x2e8e25)),_0x2e8e25[_0x139d5a(0x1ef)](_0x1a77c0=>{const _0x4471fa=_0x139d5a;Object[_0x4471fa(0x1ce)](_0x1a77c0)['forEach'](_0x3d8dbb=>{const _0x3f4475=_0x4471fa;_0x3d8dbb[_0x3f4475(0x1f4)]('__')&&delete _0x1a77c0[_0x3d8dbb];});}),{'main':_0x2e8e25,'detail':this['detailElement'][_0x139d5a(0x1d6)]()};}};
1
+ const a0_0x2119dc=a0_0x1022;(function(_0x55a09d,_0x1b1da5){const _0x35b89a=a0_0x1022,_0x36121d=_0x55a09d();while(!![]){try{const _0x1a6835=-parseInt(_0x35b89a(0x142))/0x1+parseInt(_0x35b89a(0x12c))/0x2+-parseInt(_0x35b89a(0x12e))/0x3+parseInt(_0x35b89a(0x112))/0x4*(-parseInt(_0x35b89a(0x114))/0x5)+-parseInt(_0x35b89a(0x125))/0x6+-parseInt(_0x35b89a(0x10c))/0x7*(-parseInt(_0x35b89a(0x139))/0x8)+parseInt(_0x35b89a(0x126))/0x9;if(_0x1a6835===_0x1b1da5)break;else _0x36121d['push'](_0x36121d['shift']());}catch(_0x2925b1){_0x36121d['push'](_0x36121d['shift']());}}}(a0_0x4aa8,0x74407));import{html}from'lit';function a0_0x4aa8(){const _0x1a9a06=['68RdnJlv','getMasterDetailHtml','85535xCnveC','useFilterForm','header','___data','searchFields','gristConfigSet','tTitle','record','startsWith','isPage','columns','grid','operator','name','exportableData','pageInitialized','searchFieldValues','1995348NPmYkZ','11528829XUqpmv','parseBasicGridConfigs','map','isElement','updateMultiple','export','199302bPwrvB','isNotEmpty','1877427yIaDbt','activityDataSet','connectedCallback','shadowRoot','ox-grist','beforeFetch','delete','renderRoot','stringify','detailElement','forEach','504kXGvEG','ox-filters-form-base','type','options','search','dataSet','firstUpdated','querySelector','filter','388473pLZmXo','getContextObject','main','gridConfig','clear','importable','render','parseGristConfigs','exportable','parse','records','gridColumnConfig','value','gristId','getData','deleteByIds','filterForm','menuInfo','filterFormId','patchesForUpdateMultiple','parseGridConfigSet','import','81466SLLKRR','getAndParseMenuMeta','grid_column','grist','fetch','getSelectedIdList'];a0_0x4aa8=function(){return _0x1a9a06;};return a0_0x4aa8();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x1022(_0x3df6b9,_0x3c5306){const _0x4aa8de=a0_0x4aa8();return a0_0x1022=function(_0x102204,_0x356561){_0x102204=_0x102204-0xff;let _0x2a9273=_0x4aa8de[_0x102204];return _0x2a9273;},a0_0x1022(_0x3df6b9,_0x3c5306);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x451a93=>class extends MetaButtonMixin(_0x451a93){static get['styles'](){return MetaApi['getBasicMasterDetailStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x2119dc(0x10f)](){const _0x4041fe=a0_0x2119dc;return this[_0x4041fe(0x135)][_0x4041fe(0x140)](this[_0x4041fe(0x103)]);}get[a0_0x2119dc(0x106)](){const _0x2b6fb8=a0_0x2119dc;return this[_0x2b6fb8(0x131)]?.[_0x2b6fb8(0x140)](this[_0x2b6fb8(0x108)]);}get['context'](){const _0x107dc7=a0_0x2119dc;let _0x25842c=MetaUiUtil[_0x107dc7(0x143)](this);return _0x25842c['actions']&&delete _0x25842c['actions'],_0x25842c[_0x107dc7(0x14a)]&&delete _0x25842c[_0x107dc7(0x14a)],_0x25842c[_0x107dc7(0x147)]&&delete _0x25842c[_0x107dc7(0x147)],_0x25842c;}async['connectedCallback'](){const _0x107316=a0_0x2119dc;this[_0x107316(0x103)]=_0x107316(0x132),this[_0x107316(0x108)]=_0x107316(0x13a),await this[_0x107316(0x10d)](),this[_0x107316(0x129)]&&await this[_0x107316(0x149)](),this[_0x107316(0x12f)]&&(this[_0x107316(0x13e)]=(this['activityDataSet']||{})[_0x107316(0x144)]),super[_0x107316(0x130)]&&await super[_0x107316(0x130)]();}async[a0_0x2119dc(0x13f)](){const _0x2f6494=a0_0x2119dc;super[_0x2f6494(0x13f)]&&await super[_0x2f6494(0x13f)]();}async[a0_0x2119dc(0x123)](){const _0x484684=a0_0x2119dc;this[_0x484684(0x11d)]&&await this[_0x484684(0x149)](),super[_0x484684(0x123)]&&await super[_0x484684(0x123)]();}[a0_0x2119dc(0x148)](){const _0x54661d=a0_0x2119dc;return MetaApi[_0x54661d(0x113)](this);}[a0_0x2119dc(0x127)](_0x24d7c3){const _0x4c7c02=a0_0x2119dc;this[_0x4c7c02(0x145)]=_0x24d7c3[_0x4c7c02(0x11f)],this[_0x4c7c02(0x101)]=_0x24d7c3[_0x4c7c02(0x10e)],this['searchConfig']=_0x24d7c3[_0x4c7c02(0x13d)];}async[a0_0x2119dc(0x149)](){const _0xe9843e=a0_0x2119dc;this[_0xe9843e(0x119)]=await MetaApi[_0xe9843e(0x10a)](this),this['useMasterFilterForm']=!0x0===this[_0xe9843e(0x115)],this[_0xe9843e(0x115)]=!0x1,this[_0xe9843e(0x124)]=[],this[_0xe9843e(0x118)]=this['gristConfigSet'][_0xe9843e(0x11e)][_0xe9843e(0x141)](_0x43666f=>_0x43666f[_0xe9843e(0x141)])[_0xe9843e(0x128)](_0xa88d9a=>{const _0xd05bd6=_0xe9843e;let _0x31db16={'name':_0xa88d9a['filter'][_0xd05bd6(0x121)]?_0xa88d9a[_0xd05bd6(0x141)][_0xd05bd6(0x121)]:_0xa88d9a[_0xd05bd6(0x121)],'type':_0xd05bd6(0x13d)===_0xa88d9a['filter'][_0xd05bd6(0x120)]?'search':_0xa88d9a[_0xd05bd6(0x13b)],'label':_0xa88d9a[_0xd05bd6(0x116)],'operator':_0xa88d9a['filter']['operator']?_0xa88d9a[_0xd05bd6(0x141)][_0xd05bd6(0x120)]:'eq'};return _0xa88d9a[_0xd05bd6(0x11b)][_0xd05bd6(0x13c)]&&(_0x31db16[_0xd05bd6(0x13c)]=_0xa88d9a['record'][_0xd05bd6(0x13c)]),_0xa88d9a[_0xd05bd6(0x141)][_0xd05bd6(0x102)]&&this['searchFieldValues']['push']({'name':_0x31db16[_0xd05bd6(0x121)],'operator':_0x31db16[_0xd05bd6(0x120)],'value':_0xa88d9a[_0xd05bd6(0x141)][_0xd05bd6(0x102)]}),delete _0xa88d9a[_0xd05bd6(0x141)],_0x31db16;});}async[a0_0x2119dc(0x110)](){const _0x5e071a=a0_0x2119dc;await this[_0x5e071a(0x10f)]['fetch']();}async[a0_0x2119dc(0x133)]({page:_0x273e8a=0x0,limit:_0x47c62c=0x0,sortings:_0x1448fd=[],filters:_0x8e6e52=[]}){const _0x4a93d1=a0_0x2119dc;return this[_0x4a93d1(0x137)]&&this['detailElement'][_0x4a93d1(0x146)]&&await this[_0x4a93d1(0x137)][_0x4a93d1(0x146)](),!0x0;}async['save'](){const _0x558755=a0_0x2119dc;let _0x27723d=MetaApi[_0x558755(0x109)](this[_0x558755(0x10f)]);!!ValueUtil[_0x558755(0x12d)](_0x27723d)&&await this[_0x558755(0x12a)](_0x27723d)&&this[_0x558755(0x110)]();}async['find'](){const _0x4de812=a0_0x2119dc;let _0x3daa2a=MetaApi[_0x4de812(0x111)](this[_0x4de812(0x10f)],!0x0);return ValueUtil['isNotEmpty'](_0x3daa2a)?await this['findOne'](_0x3daa2a[0x0]):{};}async[a0_0x2119dc(0x134)](){const _0x280279=a0_0x2119dc;let _0x185382=MetaApi['getSelectedIdList'](this['grist'],!0x0);!!ValueUtil[_0x280279(0x12d)](_0x185382)&&await this[_0x280279(0x105)](_0x185382)&&this[_0x280279(0x110)]();}async[a0_0x2119dc(0x12b)](){const _0x18f282=a0_0x2119dc;let _0x22c012=TermsUtil[_0x18f282(0x11a)](ValueUtil['getParams'](this[_0x18f282(0x107)],'title'));return await MetaApi[_0x18f282(0x122)](this['isElement'],_0x22c012,this[_0x18f282(0x10f)]);}async[a0_0x2119dc(0x10b)](){}[a0_0x2119dc(0x104)](){const _0x4f85ea=a0_0x2119dc;let _0x3e49e8=this[_0x4f85ea(0x10f)][_0x4f85ea(0x117)][_0x4f85ea(0x100)];return _0x3e49e8=JSON[_0x4f85ea(0xff)](JSON[_0x4f85ea(0x136)](_0x3e49e8)),_0x3e49e8['forEach'](_0x40891d=>{const _0x4407b7=_0x4f85ea;Object['keys'](_0x40891d)[_0x4407b7(0x138)](_0x410236=>{const _0xdc569e=_0x4407b7;_0x410236[_0xdc569e(0x11c)]('__')&&delete _0x40891d[_0x410236];});}),{'main':_0x3e49e8,'detail':this[_0x4f85ea(0x137)][_0x4f85ea(0x104)]()};}};
@@ -1 +1 @@
1
- const a0_0x2a7262=a0_0x31e8;(function(_0x1414fa,_0x26aa6e){const _0x276d10=a0_0x31e8,_0x10a705=_0x1414fa();while(!![]){try{const _0x1d1847=-parseInt(_0x276d10(0x196))/0x1*(-parseInt(_0x276d10(0x18c))/0x2)+-parseInt(_0x276d10(0x189))/0x3*(parseInt(_0x276d10(0x16c))/0x4)+-parseInt(_0x276d10(0x188))/0x5+-parseInt(_0x276d10(0x166))/0x6+-parseInt(_0x276d10(0x19d))/0x7*(parseInt(_0x276d10(0x192))/0x8)+-parseInt(_0x276d10(0x177))/0x9*(-parseInt(_0x276d10(0x195))/0xa)+parseInt(_0x276d10(0x165))/0xb*(parseInt(_0x276d10(0x174))/0xc);if(_0x1d1847===_0x26aa6e)break;else _0x10a705['push'](_0x10a705['shift']());}catch(_0x399ba9){_0x10a705['push'](_0x10a705['shift']());}}}(a0_0x441f,0xd43ae));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x31e8(_0x806477,_0x56c8e9){const _0x441f7b=a0_0x441f();return a0_0x31e8=function(_0x31e89c,_0x5dbd25){_0x31e89c=_0x31e89c-0x165;let _0x2e49c8=_0x441f7b[_0x31e89c];return _0x2e49c8;},a0_0x31e8(_0x806477,_0x56c8e9);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x441f(){const _0x4cd27c=['find_one_func','getPageNavigateParams','func','map','getParams','deleteByIds','198564JaQsyu','isElement','skip_fields','9nTVkbS','includes','split','multiple','gristConfigSet','getSelectColumns','formConfigSet','is_activity','after_set_fields','isNotEmpty','delete','mainFilterForm','name','parse','forEach','dataSet','filter','5626120mjRcnS','1550319lhuSuP','getQueryFilters','list_func','206giIAgW','updateMultiple','findOne','parent_id','params','gql','8JARAGH','deleteListByIds','searchByPagination','417720zWdGgM','1510wWkCFu','push','gqlInfo','filters','afterFetch','lifecycle','beforeFetch','5408459ljvpbx','3179QTCnSs','10172742ohBiuL','keys','pass','mutation','query','columns','4YiDfpp','fetchHandler'];a0_0x441f=function(){return _0x4cd27c;};return a0_0x441f();}export const MetaServiceMixin=_0x204cb2=>class extends MetaBaseMixin(_0x204cb2){static get['properties'](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x5ed6f4){const _0x6fe1ac=a0_0x31e8;this[_0x6fe1ac(0x198)]=_0x5ed6f4[_0x6fe1ac(0x191)];}async[a0_0x2a7262(0x16d)]({page:_0xfe0ec6=0x0,limit:_0x7f4dec=0x0,sortings:_0x18be61=[],filters:_0x502946=[]}){const _0x4c5d53=a0_0x2a7262;if(this[_0x4c5d53(0x17e)])return{'total':0x0,'records':this['dataSet']||[]};if(!0x0===this['infinityPage']&&(_0xfe0ec6=0x0,_0x7f4dec=0x0),this[_0x4c5d53(0x19c)]&&0x0==await this['beforeFetch']({'page':_0xfe0ec6,'limit':_0x7f4dec,'sortings':_0x18be61,'filters':_0x502946}))return;if(!this[_0x4c5d53(0x17b)])return{'total':0x0,'records':[]};let _0x4ae1be=ValueUtil['isEmpty'](_0x502946)?this[_0x4c5d53(0x182)]?await this[_0x4c5d53(0x182)][_0x4c5d53(0x18a)]()||[]:await this['filterForm']?.[_0x4c5d53(0x18a)]()||[]:_0x502946,_0x578be9=ValueUtil[_0x4c5d53(0x172)](this[_0x4c5d53(0x198)],_0x4c5d53(0x16a),_0x4c5d53(0x18b)),_0x252729=ValueUtil['getParams'](this[_0x4c5d53(0x198)],'query',_0x4c5d53(0x199)),_0x2bc988=ValueUtil[_0x4c5d53(0x172)](this[_0x4c5d53(0x198)],_0x4c5d53(0x16a),_0x4c5d53(0x17f));if(ValueUtil['isNotEmpty'](_0x252729)&&(_0x4ae1be=adjustFilters(_0x4ae1be,_0x252729)),_0x4ae1be[_0x4c5d53(0x197)](...this[_0x4c5d53(0x16f)]()),this[_0x4c5d53(0x175)]&&!this[_0x4c5d53(0x182)]){let _0x164027=ValueUtil[_0x4c5d53(0x172)](this[_0x4c5d53(0x198)],_0x4c5d53(0x16a),'parent_id');if(!ValueUtil[_0x4c5d53(0x180)](_0x164027)||!ValueUtil[_0x4c5d53(0x180)](this['parent_id']))return{'total':0x0,'records':[]};_0x4ae1be=adjustFilters(_0x4ae1be,[{'name':_0x164027,'operator':'eq','value':this[_0x4c5d53(0x18f)]}]);}let _0x5c4a7c=Object['keys'](_0x2bc988||{}),_0x282b4e=MetaApi[_0x4c5d53(0x17c)](this[_0x4c5d53(0x17b)][_0x4c5d53(0x16b)][_0x4c5d53(0x187)](_0x5762db=>!_0x5c4a7c[_0x4c5d53(0x178)](_0x5762db[_0x4c5d53(0x183)]))),_0x42e738=await MetaApi[_0x4c5d53(0x194)](_0x578be9,_0x4ae1be,_0x18be61,_0xfe0ec6,_0x7f4dec,_0x282b4e);if(this['afterFetch']){let _0x2894a0=await this[_0x4c5d53(0x19a)]({'page':_0xfe0ec6,'limit':_0x7f4dec,'sortings':_0x18be61,'filters':_0x502946},_0x42e738);if(_0x2894a0)return _0x2894a0;}return ValueUtil[_0x4c5d53(0x180)](_0x2bc988)&&ValueUtil[_0x4c5d53(0x180)](_0x42e738)&&ValueUtil[_0x4c5d53(0x180)](_0x42e738['records'])&&_0x42e738['records'][_0x4c5d53(0x171)](_0x1719bd=>(_0x5c4a7c['forEach'](_0x22b56d=>{const _0x46a710=_0x4c5d53;_0x1719bd[_0x22b56d]=ValueUtil[_0x46a710(0x172)](_0x1719bd,..._0x2bc988[_0x22b56d][_0x46a710(0x179)]('.'));}),_0x1719bd)),_0x42e738;}[a0_0x2a7262(0x16f)](){const _0x3185d8=a0_0x2a7262;if(0x0==this['isPage'])return[];let _0xaee245=this[_0x3185d8(0x19b)]?.['params']?this[_0x3185d8(0x19b)][_0x3185d8(0x190)]:{};if(!_0xaee245[_0x3185d8(0x168)])return[];let _0x5bdd1d=_0xaee245['pass'],_0x35e328=JSON[_0x3185d8(0x184)](_0x5bdd1d),_0x323f58=0x1==_0x35e328['length']?'eq':'in',_0x55ea10={},_0x6e1f56=[];return Object['keys'](_0x35e328[0x0])['forEach'](_0x56501c=>{_0x55ea10[_0x56501c]={'name':_0x56501c,'operator':_0x323f58,'value':'eq'===_0x323f58?_0x35e328[0x0][_0x56501c]:[]};}),_0x35e328['length']>0x1&&_0x35e328[_0x3185d8(0x185)](_0x34586f=>{const _0x3f4bf4=_0x3185d8;Object[_0x3f4bf4(0x167)](_0x34586f)[_0x3f4bf4(0x185)](_0x1f8a80=>{const _0x16789c=_0x3f4bf4;_0x55ea10[_0x1f8a80]['value'][_0x16789c(0x197)](_0x34586f[_0x1f8a80]);});}),Object[_0x3185d8(0x167)](_0x55ea10)['forEach'](_0x5e862d=>{const _0x17fa91=_0x3185d8;_0x6e1f56[_0x17fa91(0x197)](_0x55ea10[_0x5e862d]);}),_0x6e1f56;}async[a0_0x2a7262(0x18e)](_0x41c49c){const _0x1005ea=a0_0x2a7262;if(this[_0x1005ea(0x17e)])return this[_0x1005ea(0x186)]||{};let _0x33fa60=ValueUtil[_0x1005ea(0x172)](this[_0x1005ea(0x198)],_0x1005ea(0x16a),_0x1005ea(0x16e)),_0x679b7b=ValueUtil['getParams'](this['gqlInfo'],_0x1005ea(0x16a),_0x1005ea(0x17f)),_0x2eb5d4=Object[_0x1005ea(0x167)](_0x679b7b||{}),_0x7f68d1=MetaApi['getSelectColumns']((this[_0x1005ea(0x17b)]?this['gristConfigSet']:{'columns':this[_0x1005ea(0x17d)]})[_0x1005ea(0x16b)][_0x1005ea(0x187)](_0x56dd02=>!_0x2eb5d4[_0x1005ea(0x178)](_0x56dd02[_0x1005ea(0x183)]))),_0x556ad9=await MetaApi[_0x1005ea(0x18e)](_0x33fa60,_0x41c49c,_0x7f68d1);return ValueUtil[_0x1005ea(0x180)](_0x679b7b)&&ValueUtil[_0x1005ea(0x180)](_0x556ad9)&&_0x2eb5d4['forEach'](_0x19b993=>{const _0x3b1cdf=_0x1005ea;_0x556ad9[_0x19b993]=ValueUtil[_0x3b1cdf(0x172)](_0x556ad9,..._0x679b7b[_0x19b993][_0x3b1cdf(0x179)]('.'));}),_0x556ad9;}async[a0_0x2a7262(0x173)](_0x5e3920){const _0x1f99f5=a0_0x2a7262;let _0x149c64=ValueUtil[_0x1f99f5(0x172)](this[_0x1f99f5(0x198)],_0x1f99f5(0x169),_0x1f99f5(0x181),_0x1f99f5(0x170));return await MetaApi[_0x1f99f5(0x193)](_0x5e3920,_0x149c64);}async[a0_0x2a7262(0x18d)](_0x16615a){const _0x5d09bd=a0_0x2a7262;let _0x315a42=ValueUtil[_0x5d09bd(0x172)](this[_0x5d09bd(0x198)],_0x5d09bd(0x169),_0x5d09bd(0x17a),_0x5d09bd(0x170)),_0x2188bd=ValueUtil['getParams'](this[_0x5d09bd(0x198)],_0x5d09bd(0x169),'multiple',_0x5d09bd(0x176));if(ValueUtil[_0x5d09bd(0x180)](_0x2188bd)&&(_0x2188bd=_0x2188bd['map'](_0x2915c1=>_0x2915c1[_0x5d09bd(0x178)]('.')?_0x2915c1['split']('.'):_0x2915c1),_0x16615a=_0x16615a[_0x5d09bd(0x171)](_0x3feb44=>(_0x2188bd[_0x5d09bd(0x185)](_0x5119b5=>{Array['isArray'](_0x5119b5)?delete _0x3feb44[_0x5119b5[0x0]][_0x5119b5[0x1]]:delete _0x3feb44[_0x5119b5];}),_0x3feb44))),this['isElement']&&ValueUtil['isNotEmpty'](this[_0x5d09bd(0x18f)])){let _0x45848c=ValueUtil[_0x5d09bd(0x172)](this[_0x5d09bd(0x198)],_0x5d09bd(0x169),_0x5d09bd(0x17a),'parent_id');ValueUtil[_0x5d09bd(0x180)](_0x45848c)&&_0x16615a[_0x5d09bd(0x185)](_0x901edf=>{const _0x5ecc0f=_0x5d09bd;if(_0x45848c[_0x5ecc0f(0x178)]('.')){let _0x3f544e=_0x45848c[_0x5ecc0f(0x179)]('.');_0x901edf[_0x3f544e[0x0]]={},_0x901edf[_0x3f544e[0x0]][_0x3f544e[0x1]]=this[_0x5ecc0f(0x18f)];}else _0x901edf[_0x45848c]=this[_0x5ecc0f(0x18f)];});}return await MetaApi[_0x5d09bd(0x18d)](_0x315a42,_0x16615a);}};
1
+ const a0_0xe24c02=a0_0x58b0;(function(_0x338467,_0x56162d){const _0x1b2c3=a0_0x58b0,_0x84e840=_0x338467();while(!![]){try{const _0x220119=parseInt(_0x1b2c3(0x11d))/0x1+-parseInt(_0x1b2c3(0x102))/0x2*(parseInt(_0x1b2c3(0x119))/0x3)+parseInt(_0x1b2c3(0x113))/0x4*(-parseInt(_0x1b2c3(0x11f))/0x5)+-parseInt(_0x1b2c3(0x128))/0x6*(-parseInt(_0x1b2c3(0x10e))/0x7)+parseInt(_0x1b2c3(0x114))/0x8*(parseInt(_0x1b2c3(0x117))/0x9)+parseInt(_0x1b2c3(0x12a))/0xa+-parseInt(_0x1b2c3(0x110))/0xb*(parseInt(_0x1b2c3(0x129))/0xc);if(_0x220119===_0x56162d)break;else _0x84e840['push'](_0x84e840['shift']());}catch(_0x5af52b){_0x84e840['push'](_0x84e840['shift']());}}}(a0_0x5888,0xe8cb5));import{adjustFilters}from'@operato/utils';function a0_0x5888(){const _0x3458b8=['infinityPage','828deiFvF','multiple','168MBtKnU','forEach','gqlInfo','searchByPagination','1135534bxHsAU','find_one_func','635165HduQQx','findOne','mainFilterForm','formConfigSet','isEmpty','split','list_func','pass','includes','210mngfpE','24ChmMUk','11503050MmsCMW','getParams','params','getPageNavigateParams','delete','isElement','keys','skip_fields','fetchHandler','length','func','dataSet','gql','afterFetch','is_activity','getQueryFilters','getSelectColumns','beforeFetch','isNotEmpty','push','filter','21938gKuuQN','filters','name','after_set_fields','map','parent_id','parse','updateMultiple','records','columns','query','lifecycle','289961BVhQTi','gristConfigSet','16770908BQpgSX','filterForm','mutation','28BhUfRh','153968CsFLlP','properties'];a0_0x5888=function(){return _0x3458b8;};return a0_0x5888();}import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x58b0(_0x5ceb71,_0x23f526){const _0x5888c1=a0_0x5888();return a0_0x58b0=function(_0x58b018,_0x40e439){_0x58b018=_0x58b018-0xfc;let _0x1cc5b1=_0x5888c1[_0x58b018];return _0x1cc5b1;},a0_0x58b0(_0x5ceb71,_0x23f526);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x81fb55=>class extends MetaBaseMixin(_0x81fb55){static get[a0_0xe24c02(0x115)](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x47ac24){const _0x3845c5=a0_0xe24c02;this[_0x3845c5(0x11b)]=_0x47ac24[_0x3845c5(0x136)];}async[a0_0xe24c02(0x132)]({page:_0x3397f5=0x0,limit:_0x197291=0x0,sortings:_0x5de496=[],filters:_0x35e79d=[]}){const _0x38e91a=a0_0xe24c02;if(this[_0x38e91a(0x138)])return{'total':0x0,'records':this[_0x38e91a(0x135)]||[]};if(!0x0===this[_0x38e91a(0x116)]&&(_0x3397f5=0x0,_0x197291=0x0),this[_0x38e91a(0xfe)]&&0x0==await this[_0x38e91a(0xfe)]({'page':_0x3397f5,'limit':_0x197291,'sortings':_0x5de496,'filters':_0x35e79d}))return;if(!this[_0x38e91a(0x10f)])return{'total':0x0,'records':[]};let _0x22aa2c=ValueUtil[_0x38e91a(0x123)](_0x35e79d)?this[_0x38e91a(0x121)]?await this[_0x38e91a(0x121)][_0x38e91a(0xfc)]()||[]:await this[_0x38e91a(0x111)]?.[_0x38e91a(0xfc)]()||[]:_0x35e79d,_0x2f3cfc=ValueUtil[_0x38e91a(0x12b)](this[_0x38e91a(0x11b)],_0x38e91a(0x10c),_0x38e91a(0x125)),_0x241a05=ValueUtil[_0x38e91a(0x12b)](this[_0x38e91a(0x11b)],_0x38e91a(0x10c),_0x38e91a(0x103)),_0x226cd1=ValueUtil[_0x38e91a(0x12b)](this[_0x38e91a(0x11b)],_0x38e91a(0x10c),_0x38e91a(0x105));if(ValueUtil['isNotEmpty'](_0x241a05)&&(_0x22aa2c=adjustFilters(_0x22aa2c,_0x241a05)),_0x22aa2c[_0x38e91a(0x100)](...this['getPageNavigateParams']()),this['isElement']&&!this[_0x38e91a(0x121)]){let _0x1dd6a7=ValueUtil['getParams'](this[_0x38e91a(0x11b)],_0x38e91a(0x10c),_0x38e91a(0x107));if(!ValueUtil[_0x38e91a(0xff)](_0x1dd6a7)||!ValueUtil['isNotEmpty'](this[_0x38e91a(0x107)]))return{'total':0x0,'records':[]};_0x22aa2c=adjustFilters(_0x22aa2c,[{'name':_0x1dd6a7,'operator':'eq','value':this[_0x38e91a(0x107)]}]);}let _0x5cf513=Object[_0x38e91a(0x130)](_0x226cd1||{}),_0x376e45=MetaApi[_0x38e91a(0xfd)](this[_0x38e91a(0x10f)][_0x38e91a(0x10b)][_0x38e91a(0x101)](_0x390878=>!_0x5cf513[_0x38e91a(0x127)](_0x390878[_0x38e91a(0x104)]))),_0x1662ac=await MetaApi[_0x38e91a(0x11c)](_0x2f3cfc,_0x22aa2c,_0x5de496,_0x3397f5,_0x197291,_0x376e45);if(this[_0x38e91a(0x137)]){let _0x8c43d7=await this[_0x38e91a(0x137)]({'page':_0x3397f5,'limit':_0x197291,'sortings':_0x5de496,'filters':_0x35e79d},_0x1662ac);if(_0x8c43d7)return _0x8c43d7;}return ValueUtil[_0x38e91a(0xff)](_0x226cd1)&&ValueUtil['isNotEmpty'](_0x1662ac)&&ValueUtil['isNotEmpty'](_0x1662ac[_0x38e91a(0x10a)])&&_0x1662ac[_0x38e91a(0x10a)][_0x38e91a(0x106)](_0x416696=>(_0x5cf513['forEach'](_0x500b50=>{const _0x3c3ca=_0x38e91a;_0x416696[_0x500b50]=ValueUtil['getParams'](_0x416696,..._0x226cd1[_0x500b50][_0x3c3ca(0x124)]('.'));}),_0x416696)),_0x1662ac;}[a0_0xe24c02(0x12d)](){const _0x3f36d1=a0_0xe24c02;if(0x0==this['isPage'])return[];let _0x2cc4cb=this[_0x3f36d1(0x10d)]?.[_0x3f36d1(0x12c)]?this['lifecycle'][_0x3f36d1(0x12c)]:{};if(!_0x2cc4cb[_0x3f36d1(0x126)])return[];let _0x20b464=_0x2cc4cb[_0x3f36d1(0x126)],_0x39667c=JSON[_0x3f36d1(0x108)](_0x20b464),_0x89a03d=0x1==_0x39667c[_0x3f36d1(0x133)]?'eq':'in',_0x46fa41={},_0x2c8e45=[];return Object[_0x3f36d1(0x130)](_0x39667c[0x0])['forEach'](_0x1424fd=>{_0x46fa41[_0x1424fd]={'name':_0x1424fd,'operator':_0x89a03d,'value':'eq'===_0x89a03d?_0x39667c[0x0][_0x1424fd]:[]};}),_0x39667c[_0x3f36d1(0x133)]>0x1&&_0x39667c[_0x3f36d1(0x11a)](_0x4ea744=>{const _0x2749d6=_0x3f36d1;Object[_0x2749d6(0x130)](_0x4ea744)['forEach'](_0x183e5d=>{const _0x904cad=_0x2749d6;_0x46fa41[_0x183e5d]['value'][_0x904cad(0x100)](_0x4ea744[_0x183e5d]);});}),Object[_0x3f36d1(0x130)](_0x46fa41)[_0x3f36d1(0x11a)](_0x310b96=>{const _0x6656f6=_0x3f36d1;_0x2c8e45[_0x6656f6(0x100)](_0x46fa41[_0x310b96]);}),_0x2c8e45;}async[a0_0xe24c02(0x120)](_0x1985b1){const _0x31b692=a0_0xe24c02;if(this[_0x31b692(0x138)])return this['dataSet']||{};let _0x3fe65b=ValueUtil[_0x31b692(0x12b)](this[_0x31b692(0x11b)],_0x31b692(0x10c),_0x31b692(0x11e)),_0x15cfb2=ValueUtil['getParams'](this[_0x31b692(0x11b)],_0x31b692(0x10c),_0x31b692(0x105)),_0x5808f1=Object[_0x31b692(0x130)](_0x15cfb2||{}),_0x1fe469=MetaApi['getSelectColumns']((this[_0x31b692(0x10f)]?this[_0x31b692(0x10f)]:{'columns':this[_0x31b692(0x122)]})[_0x31b692(0x10b)][_0x31b692(0x101)](_0xe3b475=>!_0x5808f1['includes'](_0xe3b475['name']))),_0x4d8518=await MetaApi[_0x31b692(0x120)](_0x3fe65b,_0x1985b1,_0x1fe469);return ValueUtil[_0x31b692(0xff)](_0x15cfb2)&&ValueUtil[_0x31b692(0xff)](_0x4d8518)&&_0x5808f1[_0x31b692(0x11a)](_0x2ea704=>{const _0xc96c9b=_0x31b692;_0x4d8518[_0x2ea704]=ValueUtil[_0xc96c9b(0x12b)](_0x4d8518,..._0x15cfb2[_0x2ea704][_0xc96c9b(0x124)]('.'));}),_0x4d8518;}async['deleteByIds'](_0x11b868){const _0x16e092=a0_0xe24c02;let _0x41b7e5=ValueUtil[_0x16e092(0x12b)](this['gqlInfo'],'mutation',_0x16e092(0x12e),_0x16e092(0x134));return await MetaApi['deleteListByIds'](_0x11b868,_0x41b7e5);}async[a0_0xe24c02(0x109)](_0x4f2c1c){const _0x1ba4d9=a0_0xe24c02;let _0x22e8a0=ValueUtil[_0x1ba4d9(0x12b)](this['gqlInfo'],_0x1ba4d9(0x112),_0x1ba4d9(0x118),_0x1ba4d9(0x134)),_0x13c84c=ValueUtil[_0x1ba4d9(0x12b)](this[_0x1ba4d9(0x11b)],_0x1ba4d9(0x112),'multiple',_0x1ba4d9(0x131));if(ValueUtil[_0x1ba4d9(0xff)](_0x13c84c)&&(_0x13c84c=_0x13c84c[_0x1ba4d9(0x106)](_0x3d4c0f=>_0x3d4c0f[_0x1ba4d9(0x127)]('.')?_0x3d4c0f[_0x1ba4d9(0x124)]('.'):_0x3d4c0f),_0x4f2c1c=_0x4f2c1c[_0x1ba4d9(0x106)](_0x48ea3e=>(_0x13c84c[_0x1ba4d9(0x11a)](_0x2b104b=>{Array['isArray'](_0x2b104b)?delete _0x48ea3e[_0x2b104b[0x0]][_0x2b104b[0x1]]:delete _0x48ea3e[_0x2b104b];}),_0x48ea3e))),this[_0x1ba4d9(0x12f)]&&ValueUtil[_0x1ba4d9(0xff)](this[_0x1ba4d9(0x107)])){let _0x38c429=ValueUtil['getParams'](this[_0x1ba4d9(0x11b)],_0x1ba4d9(0x112),_0x1ba4d9(0x118),_0x1ba4d9(0x107));ValueUtil[_0x1ba4d9(0xff)](_0x38c429)&&_0x4f2c1c[_0x1ba4d9(0x11a)](_0x172fdb=>{const _0x4c3430=_0x1ba4d9;if(_0x38c429[_0x4c3430(0x127)]('.')){let _0x20f0c1=_0x38c429[_0x4c3430(0x124)]('.');_0x172fdb[_0x20f0c1[0x0]]={},_0x172fdb[_0x20f0c1[0x0]][_0x20f0c1[0x1]]=this[_0x4c3430(0x107)];}else _0x172fdb[_0x38c429]=this[_0x4c3430(0x107)];});}return await MetaApi[_0x1ba4d9(0x109)](_0x22e8a0,_0x4f2c1c);}};
@@ -1 +1 @@
1
- const a0_0x2f98fb=a0_0x127e;(function(_0x248698,_0x2135bd){const _0x436a41=a0_0x127e,_0x541310=_0x248698();while(!![]){try{const _0x394a8a=-parseInt(_0x436a41(0xba))/0x1+-parseInt(_0x436a41(0xa3))/0x2+-parseInt(_0x436a41(0xcc))/0x3+-parseInt(_0x436a41(0xb6))/0x4*(-parseInt(_0x436a41(0xa5))/0x5)+-parseInt(_0x436a41(0x9d))/0x6+parseInt(_0x436a41(0xaf))/0x7+parseInt(_0x436a41(0xcf))/0x8*(parseInt(_0x436a41(0xc0))/0x9);if(_0x394a8a===_0x2135bd)break;else _0x541310['push'](_0x541310['shift']());}catch(_0x313a3f){_0x541310['push'](_0x541310['shift']());}}}(a0_0x47bd,0xc617c));function a0_0x127e(_0x1dde68,_0x14379b){const _0x47bdfe=a0_0x47bd();return a0_0x127e=function(_0x127e93,_0x3d638c){_0x127e93=_0x127e93-0x9a;let _0x423e71=_0x47bdfe[_0x127e93];return _0x423e71;},a0_0x127e(_0x1dde68,_0x14379b);}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_0x47bd(){const _0x5c8615=['isPage','exportable','map','gridColumnConfig','value','push','parseGristConfigs','clear','filterFormId','2171490kgFVDn','grid','getTabDetailHtml','56CdlCLz','searchFields','columns','search','detailElement','parseBasicGridConfigs','parseGridConfigSet','isElement','searchConfig','main','useButtonExport','useButtonImport','properties','dataSet','6706872yHQrOE','context','actions','shadowRoot','grid_column','searchFieldValues','435654PZbIPx','getData','445eitRak','styles','firstUpdated','buttonConfig','pageInitialized','gridConfig','grist','gristConfigSet','getBasicTabDetailStyles','filter','11156481LVCqIL','activityDataSet','importable','record','name','querySelector','getContextObject','11140zaiXDH','ox-grist','getMainGrist','options','582324YwHisf','operator','masterElement','filterForm','useFilterForm','getAndParseMenuMeta','2071971zwXPpJ','beforeFetch','fetch'];a0_0x47bd=function(){return _0x5c8615;};return a0_0x47bd();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x50e54f=>class extends MetaButtonMixin(_0x50e54f){static get[a0_0x2f98fb(0xa6)](){const _0x53c08c=a0_0x2f98fb;return MetaApi[_0x53c08c(0xad)]();}static get[a0_0x2f98fb(0x9b)](){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_0x2f98fb(0xab)](){const _0x842158=a0_0x2f98fb;return this[_0x842158(0xbc)][_0x842158(0xb8)]();}get[a0_0x2f98fb(0xbd)](){const _0x12500e=a0_0x2f98fb;return this[_0x12500e(0xa0)]?.[_0x12500e(0xb4)](this[_0x12500e(0xcb)]);}get[a0_0x2f98fb(0x9e)](){const _0x5c1585=a0_0x2f98fb;let _0x50c8eb=MetaUiUtil[_0x5c1585(0xb5)](this);return _0x50c8eb['actions']&&delete _0x50c8eb[_0x5c1585(0x9f)],_0x50c8eb[_0x5c1585(0xc4)]&&delete _0x50c8eb[_0x5c1585(0xc4)],_0x50c8eb[_0x5c1585(0xb1)]&&delete _0x50c8eb[_0x5c1585(0xb1)],_0x50c8eb;}async['connectedCallback'](){const _0x3028c3=a0_0x2f98fb;this['gristId']=_0x3028c3(0xb7),this[_0x3028c3(0xcb)]='ox-filters-form-base',await this[_0x3028c3(0xbf)](),this[_0x3028c3(0xd6)]&&await this[_0x3028c3(0xc9)](),this[_0x3028c3(0xb0)]&&(this[_0x3028c3(0x9c)]=(this[_0x3028c3(0xb0)]||{})[_0x3028c3(0xd8)]),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x2f98fb(0xa7)](){const _0x3f39bb=a0_0x2f98fb;super[_0x3f39bb(0xa7)]&&await super[_0x3f39bb(0xa7)]();}async[a0_0x2f98fb(0xa9)](){const _0x41023c=a0_0x2f98fb;this[_0x41023c(0xc3)]&&await this[_0x41023c(0xc9)](),super[_0x41023c(0xa9)]&&await super[_0x41023c(0xa9)]();}['render'](){const _0x1a74c6=a0_0x2f98fb;return MetaApi[_0x1a74c6(0xce)](this);}[a0_0x2f98fb(0xd4)](_0x5db0a7){const _0x58233f=a0_0x2f98fb;this[_0x58233f(0xaa)]=_0x5db0a7[_0x58233f(0xcd)],this[_0x58233f(0xc6)]=_0x5db0a7[_0x58233f(0xa1)],this[_0x58233f(0xd7)]=_0x5db0a7[_0x58233f(0xd2)];}async['parseGristConfigs'](){const _0x917efd=a0_0x2f98fb;this[_0x917efd(0xac)]=await MetaApi[_0x917efd(0xd5)](this),this['useMasterFilterForm']=!0x0===this[_0x917efd(0xbe)],this['useFilterForm']=!0x1,this[_0x917efd(0xa8)]=void 0x0,this[_0x917efd(0xd9)]=!0x1,this[_0x917efd(0x9a)]=!0x1,this['searchFieldValues']=[],this[_0x917efd(0xd0)]=this[_0x917efd(0xac)][_0x917efd(0xd1)][_0x917efd(0xae)](_0x52b173=>_0x52b173[_0x917efd(0xae)])[_0x917efd(0xc5)](_0x565ebf=>{const _0x2de842=_0x917efd;let _0x561a57={'name':_0x565ebf[_0x2de842(0xb3)],'type':_0x2de842(0xd2)===_0x565ebf[_0x2de842(0xae)][_0x2de842(0xbb)]?_0x2de842(0xd2):_0x565ebf['type'],'label':_0x565ebf['header'],'operator':_0x565ebf[_0x2de842(0xae)][_0x2de842(0xbb)]?_0x565ebf[_0x2de842(0xae)][_0x2de842(0xbb)]:'eq'};return _0x565ebf[_0x2de842(0xb2)][_0x2de842(0xb9)]&&(_0x561a57[_0x2de842(0xb9)]=_0x565ebf[_0x2de842(0xb2)][_0x2de842(0xb9)]),_0x565ebf[_0x2de842(0xae)][_0x2de842(0xc7)]&&this[_0x2de842(0xa2)][_0x2de842(0xc8)]({'name':_0x561a57[_0x2de842(0xb3)],'operator':_0x561a57[_0x2de842(0xbb)],'value':_0x565ebf['filter'][_0x2de842(0xc7)]}),_0x561a57;});}async[a0_0x2f98fb(0xc2)](){const _0x5456fa=a0_0x2f98fb;await this[_0x5456fa(0xab)][_0x5456fa(0xc2)]();}async[a0_0x2f98fb(0xc1)]({page:_0x422b5c=0x0,limit:_0x344d78=0x0,sortings:_0x3b7f4a=[],filters:_0xc3bb71=[]}){const _0x930588=a0_0x2f98fb;return this[_0x930588(0xbc)]&&this[_0x930588(0xbc)][_0x930588(0xca)]&&await this[_0x930588(0xbc)][_0x930588(0xca)](),this['detailElement']&&this[_0x930588(0xd3)][_0x930588(0xca)]&&await this['detailElement'][_0x930588(0xca)](),!0x0;}[a0_0x2f98fb(0xa4)](){const _0x322584=a0_0x2f98fb;return{'master':this[_0x322584(0xbc)][_0x322584(0xa4)](),'detail':this['detailElement'][_0x322584(0xa4)]()};}};
1
+ const a0_0x4fc51b=a0_0x5f47;(function(_0x1d1078,_0x8819b3){const _0x340ccf=a0_0x5f47,_0x311c83=_0x1d1078();while(!![]){try{const _0x3a2cb8=parseInt(_0x340ccf(0xfc))/0x1*(-parseInt(_0x340ccf(0xd6))/0x2)+parseInt(_0x340ccf(0xef))/0x3*(parseInt(_0x340ccf(0xd0))/0x4)+-parseInt(_0x340ccf(0x106))/0x5+parseInt(_0x340ccf(0xf2))/0x6*(-parseInt(_0x340ccf(0x101))/0x7)+-parseInt(_0x340ccf(0xea))/0x8*(-parseInt(_0x340ccf(0xd9))/0x9)+-parseInt(_0x340ccf(0xdb))/0xa*(parseInt(_0x340ccf(0xce))/0xb)+parseInt(_0x340ccf(0xcd))/0xc*(parseInt(_0x340ccf(0x105))/0xd);if(_0x3a2cb8===_0x8819b3)break;else _0x311c83['push'](_0x311c83['shift']());}catch(_0x32a20b){_0x311c83['push'](_0x311c83['shift']());}}}(a0_0x4566,0x5d564));import{html}from'lit';function a0_0x5f47(_0x362caf,_0x5ecb75){const _0x456649=a0_0x4566();return a0_0x5f47=function(_0x5f47c7,_0x529c3e){_0x5f47c7=_0x5f47c7-0xc8;let _0x5d13fd=_0x456649[_0x5f47c7];return _0x5d13fd;},a0_0x5f47(_0x362caf,_0x5ecb75);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x4566(){const _0xf76cc1=['4kWkeLF','actions','gridColumnConfig','useButtonExport','render','filter','4LkePKa','getData','buttonConfig','441yEkIbG','filterForm','10ALKSky','connectedCallback','searchFields','searchConfig','name','parseBasicGridConfigs','detailElement','getBasicTabDetailStyles','getAndParseMenuMeta','searchFieldValues','useButtonImport','type','importable','search','gridConfig','113264cRbsPv','getContextObject','styles','grist','clear','1439679ZeKpHV','operator','gristConfigSet','388848RqJAht','map','firstUpdated','filterFormId','grid','record','fetch','parseGridConfigSet','push','gristId','373199pGSZzg','isPage','properties','options','header','63ormZYY','getMainGrist','pageInitialized','activityDataSet','65pOUupS','3582795RUCWgM','parseGristConfigs','masterElement','querySelector','useMasterFilterForm','useFilterForm','getTabDetailHtml','value','exportable','isElement','main','3763860ilyrav','3447103aDNRxU','shadowRoot'];a0_0x4566=function(){return _0xf76cc1;};return a0_0x4566();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x4f2ef2=>class extends MetaButtonMixin(_0x4f2ef2){static get[a0_0x4fc51b(0xec)](){const _0x31c3eb=a0_0x4fc51b;return MetaApi[_0x31c3eb(0xe2)]();}static get[a0_0x4fc51b(0xfe)](){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_0x4fc51b(0xed)](){const _0x5ece94=a0_0x4fc51b;return this[_0x5ece94(0x108)][_0x5ece94(0x102)]();}get[a0_0x4fc51b(0xda)](){const _0x3d8d21=a0_0x4fc51b;return this[_0x3d8d21(0xcf)]?.[_0x3d8d21(0x109)](this['filterFormId']);}get['context'](){const _0x4e37d2=a0_0x4fc51b;let _0x3fcff8=MetaUiUtil[_0x4e37d2(0xeb)](this);return _0x3fcff8['actions']&&delete _0x3fcff8[_0x4e37d2(0xd1)],_0x3fcff8[_0x4e37d2(0xca)]&&delete _0x3fcff8[_0x4e37d2(0xca)],_0x3fcff8[_0x4e37d2(0xe7)]&&delete _0x3fcff8[_0x4e37d2(0xe7)],_0x3fcff8;}async[a0_0x4fc51b(0xdc)](){const _0x549614=a0_0x4fc51b;this[_0x549614(0xfb)]='ox-grist',this[_0x549614(0xf5)]='ox-filters-form-base',await this[_0x549614(0xe3)](),this[_0x549614(0xcb)]&&await this[_0x549614(0x107)](),this[_0x549614(0x104)]&&(this['dataSet']=(this[_0x549614(0x104)]||{})[_0x549614(0xcc)]),super['connectedCallback']&&await super[_0x549614(0xdc)]();}async[a0_0x4fc51b(0xf4)](){const _0x525245=a0_0x4fc51b;super[_0x525245(0xf4)]&&await super[_0x525245(0xf4)]();}async['pageInitialized'](){const _0x5e8100=a0_0x4fc51b;this[_0x5e8100(0xfd)]&&await this[_0x5e8100(0x107)](),super['pageInitialized']&&await super[_0x5e8100(0x103)]();}[a0_0x4fc51b(0xd4)](){const _0x11e10=a0_0x4fc51b;return MetaApi[_0x11e10(0xc8)](this);}[a0_0x4fc51b(0xe0)](_0x3842e4){const _0xd3c709=a0_0x4fc51b;this[_0xd3c709(0xe9)]=_0x3842e4[_0xd3c709(0xf6)],this[_0xd3c709(0xd2)]=_0x3842e4['grid_column'],this[_0xd3c709(0xde)]=_0x3842e4[_0xd3c709(0xe8)];}async[a0_0x4fc51b(0x107)](){const _0x5de541=a0_0x4fc51b;this[_0x5de541(0xf1)]=await MetaApi[_0x5de541(0xf9)](this),this[_0x5de541(0x10a)]=!0x0===this[_0x5de541(0x10b)],this[_0x5de541(0x10b)]=!0x1,this[_0x5de541(0xd8)]=void 0x0,this[_0x5de541(0xd3)]=!0x1,this[_0x5de541(0xe5)]=!0x1,this[_0x5de541(0xe4)]=[],this[_0x5de541(0xdd)]=this[_0x5de541(0xf1)]['columns'][_0x5de541(0xd5)](_0x104e46=>_0x104e46['filter'])[_0x5de541(0xf3)](_0x331131=>{const _0x582d36=_0x5de541;let _0x4e098e={'name':_0x331131['filter'][_0x582d36(0xdf)]?_0x331131[_0x582d36(0xd5)][_0x582d36(0xdf)]:_0x331131['name'],'type':_0x582d36(0xe8)===_0x331131['filter'][_0x582d36(0xf0)]?_0x582d36(0xe8):_0x331131[_0x582d36(0xe6)],'label':_0x331131[_0x582d36(0x100)],'operator':_0x331131['filter'][_0x582d36(0xf0)]?_0x331131[_0x582d36(0xd5)]['operator']:'eq'};return _0x331131[_0x582d36(0xf7)][_0x582d36(0xff)]&&(_0x4e098e['options']=_0x331131['record'][_0x582d36(0xff)]),_0x331131[_0x582d36(0xd5)][_0x582d36(0xc9)]&&this[_0x582d36(0xe4)][_0x582d36(0xfa)]({'name':_0x4e098e[_0x582d36(0xdf)],'operator':_0x4e098e[_0x582d36(0xf0)],'value':_0x331131['filter']['value']}),delete _0x331131[_0x582d36(0xd5)],_0x4e098e;});}async[a0_0x4fc51b(0xf8)](){const _0x41c0cf=a0_0x4fc51b;await this[_0x41c0cf(0xed)][_0x41c0cf(0xf8)]();}async['beforeFetch']({page:_0x507131=0x0,limit:_0x25f4ef=0x0,sortings:_0x400fd2=[],filters:_0x24207e=[]}){const _0x321e9b=a0_0x4fc51b;return this[_0x321e9b(0x108)]&&this['masterElement'][_0x321e9b(0xee)]&&await this[_0x321e9b(0x108)][_0x321e9b(0xee)](),this[_0x321e9b(0xe1)]&&this[_0x321e9b(0xe1)][_0x321e9b(0xee)]&&await this[_0x321e9b(0xe1)][_0x321e9b(0xee)](),!0x0;}[a0_0x4fc51b(0xd7)](){const _0x1b4b74=a0_0x4fc51b;return{'master':this[_0x1b4b74(0x108)][_0x1b4b74(0xd7)](),'detail':this['detailElement'][_0x1b4b74(0xd7)]()};}};
@@ -1 +1 @@
1
- const a0_0x1c7f2f=a0_0x4b70;(function(_0x3c0e8b,_0x2aa70d){const _0x20e448=a0_0x4b70,_0x524d57=_0x3c0e8b();while(!![]){try{const _0x13c132=-parseInt(_0x20e448(0x169))/0x1*(-parseInt(_0x20e448(0x141))/0x2)+-parseInt(_0x20e448(0x14b))/0x3*(parseInt(_0x20e448(0x164))/0x4)+parseInt(_0x20e448(0x142))/0x5+-parseInt(_0x20e448(0x154))/0x6*(-parseInt(_0x20e448(0x144))/0x7)+parseInt(_0x20e448(0x155))/0x8+parseInt(_0x20e448(0x147))/0x9*(-parseInt(_0x20e448(0x152))/0xa)+-parseInt(_0x20e448(0x150))/0xb;if(_0x13c132===_0x2aa70d)break;else _0x524d57['push'](_0x524d57['shift']());}catch(_0x28f27c){_0x524d57['push'](_0x524d57['shift']());}}}(a0_0xcf21,0xf1d7e));import{MetaApi}from'../utils/meta-api';function a0_0x4b70(_0x596593,_0x948628){const _0xcf2171=a0_0xcf21();return a0_0x4b70=function(_0x4b7023,_0x17e1ae){_0x4b7023=_0x4b7023-0x140;let _0x8b1905=_0xcf2171[_0x4b7023];return _0x8b1905;},a0_0x4b70(_0x596593,_0x948628);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0xcf21(){const _0x494823=['6158BPKpHv','3592530EfgMhq','main_tab_info','7HMpDkr','button','dataSet','755172UbpJVy','getContextObject','context','parse','6nHQZnj','currentTabKey','getData','getAndParseMenuMeta','getBasicTabHtml','8981093GlsIVa','tab','10JAmbDm','clear','786642PdqeNA','8800264RFLKcq','icon','render','tabElements','etcConfig','grist','properties','activityDataSet','firstUpdated','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','getBasicTabStyles','connectedCallback','name','getMainGrist','forEach','1071860PSyKco','length','includeMainList','parseBasicTabConfigs','pageInitialized','155juwZUW','meta-grist-element','tabRenderConfig','param_field','keys'];a0_0xcf21=function(){return _0x494823;};return a0_0xcf21();}export const MetaTabMixin=_0x453996=>class extends MetaButtonMixin(_0x453996){static get['styles'](){const _0x1e5291=a0_0x4b70;return MetaApi[_0x1e5291(0x15f)]();}static get[a0_0x1c7f2f(0x15b)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x1c7f2f(0x149)](){const _0x43a1bb=a0_0x1c7f2f;return MetaUiUtil[_0x43a1bb(0x148)](this);}async['connectedCallback'](){const _0x15f327=a0_0x1c7f2f;this[_0x15f327(0x14c)]=void 0x0,await this[_0x15f327(0x14e)](),this['activityDataSet']&&(this[_0x15f327(0x146)]=this[_0x15f327(0x15c)]),super['connectedCallback']&&await super[_0x15f327(0x160)]();}async[a0_0x1c7f2f(0x15d)](){const _0x2761b8=a0_0x1c7f2f;super[_0x2761b8(0x15d)]&&await super[_0x2761b8(0x15d)]();}async[a0_0x1c7f2f(0x168)](){super['pageInitialized']&&await super['pageInitialized']();}[a0_0x1c7f2f(0x157)](){const _0x99de61=a0_0x1c7f2f;return MetaApi[_0x99de61(0x14f)](this);}[a0_0x1c7f2f(0x167)](_0x43b0b5){const _0x46d018=a0_0x1c7f2f;if(!0x0===this[_0x46d018(0x166)]){let _0x213a5d=this[_0x46d018(0x159)][_0x46d018(0x143)],_0x4ae92f=JSON[_0x46d018(0x14a)](_0x213a5d||_0x46d018(0x15e));_0x43b0b5[_0x46d018(0x151)]['unshift']({'name':_0x4ae92f[_0x46d018(0x161)],'display':_0x4ae92f['display'],'tagname':_0x46d018(0x16a),'location':'@things-factory/meta-ui/client/pages/meta-grist-element','parent_field':'id','param_field':_0x46d018(0x16c),'menu':this['route_name'],'icon':_0x4ae92f[_0x46d018(0x156)],'filter_from':!0x1,'main_filter_form':this['mainFilterForm']});}this[_0x46d018(0x16b)]=_0x43b0b5[_0x46d018(0x151)],_0x43b0b5[_0x46d018(0x145)]=[];}async[a0_0x1c7f2f(0x153)](){const _0x3c7a3f=a0_0x1c7f2f;if(this['tabElements']){let _0x319a15=Object[_0x3c7a3f(0x140)](this[_0x3c7a3f(0x158)]);for(var _0x34bf5d=0x0;_0x34bf5d<_0x319a15[_0x3c7a3f(0x165)];_0x34bf5d++)await this['tabElements'][_0x319a15[_0x34bf5d]][_0x3c7a3f(0x153)]();}}[a0_0x1c7f2f(0x14d)](){const _0x59743e=a0_0x1c7f2f;let _0x379bb0={};return this[_0x59743e(0x158)]&&Object[_0x59743e(0x140)](this[_0x59743e(0x158)])[_0x59743e(0x163)](_0xd53941=>{const _0x3c9b81=_0x59743e;_0x379bb0[_0xd53941]=this[_0x3c9b81(0x158)][_0xd53941][_0x3c9b81(0x14d)]();}),_0x379bb0;}[a0_0x1c7f2f(0x162)](){const _0x3d8553=a0_0x1c7f2f;if(this[_0x3d8553(0x158)]){let _0x14f46c=Object[_0x3d8553(0x140)](this[_0x3d8553(0x158)]);return this[_0x3d8553(0x158)][_0x14f46c[0x0]][_0x3d8553(0x15a)];}}};
1
+ const a0_0x3b545f=a0_0x5de5;function a0_0x5de5(_0x3bd1dd,_0x42693a){const _0x30dc78=a0_0x30dc();return a0_0x5de5=function(_0x5de5f4,_0x4a73ce){_0x5de5f4=_0x5de5f4-0x177;let _0x5931c9=_0x30dc78[_0x5de5f4];return _0x5931c9;},a0_0x5de5(_0x3bd1dd,_0x42693a);}function a0_0x30dc(){const _0x433a2b=['getAndParseMenuMeta','9xlVebH','tabElements','name','dataSet','keys','activityDataSet','includeMainList','77ZaYIcp','@things-factory/meta-ui/client/pages/meta-grist-element','getBasicTabStyles','99860SFldRU','4060252KtDMYu','route_name','clear','pageInitialized','2MujYzK','getData','param_field','unshift','forEach','parseBasicTabConfigs','context','8205020ghxpjg','164ChIDas','241568JKsHKM','main_tab_info','styles','etcConfig','properties','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','getMainGrist','tab','getBasicTabHtml','5236392kyJdBf','connectedCallback','tabRenderConfig','16vZLYMD','8199366xrHDVn','3577047lFbGln','firstUpdated','render'];a0_0x30dc=function(){return _0x433a2b;};return a0_0x30dc();}(function(_0x510e90,_0x2dafce){const _0xd1fd0b=a0_0x5de5,_0x5a0cbb=_0x510e90();while(!![]){try{const _0x34bc84=-parseInt(_0xd1fd0b(0x18d))/0x1+parseInt(_0xd1fd0b(0x184))/0x2*(-parseInt(_0xd1fd0b(0x19b))/0x3)+-parseInt(_0xd1fd0b(0x18c))/0x4*(-parseInt(_0xd1fd0b(0x17f))/0x5)+-parseInt(_0xd1fd0b(0x19a))/0x6+-parseInt(_0xd1fd0b(0x180))/0x7*(parseInt(_0xd1fd0b(0x199))/0x8)+parseInt(_0xd1fd0b(0x19f))/0x9*(parseInt(_0xd1fd0b(0x18b))/0xa)+parseInt(_0xd1fd0b(0x17c))/0xb*(parseInt(_0xd1fd0b(0x196))/0xc);if(_0x34bc84===_0x2dafce)break;else _0x5a0cbb['push'](_0x5a0cbb['shift']());}catch(_0x22e280){_0x5a0cbb['push'](_0x5a0cbb['shift']());}}}(a0_0x30dc,0xb30b6));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x185984=>class extends MetaButtonMixin(_0x185984){static get[a0_0x3b545f(0x18f)](){const _0x1f479f=a0_0x3b545f;return MetaApi[_0x1f479f(0x17e)]();}static get[a0_0x3b545f(0x191)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x3b545f(0x18a)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x3b545f(0x197)](){const _0x35d18a=a0_0x3b545f;this['currentTabKey']=void 0x0,await this[_0x35d18a(0x19e)](),this[_0x35d18a(0x17a)]&&(this[_0x35d18a(0x178)]=this[_0x35d18a(0x17a)]),super[_0x35d18a(0x197)]&&await super[_0x35d18a(0x197)]();}async[a0_0x3b545f(0x19c)](){const _0x22c396=a0_0x3b545f;super[_0x22c396(0x19c)]&&await super[_0x22c396(0x19c)]();}async[a0_0x3b545f(0x183)](){const _0x2718c7=a0_0x3b545f;super[_0x2718c7(0x183)]&&await super[_0x2718c7(0x183)]();}[a0_0x3b545f(0x19d)](){const _0x4d64f7=a0_0x3b545f;return MetaApi[_0x4d64f7(0x195)](this);}[a0_0x3b545f(0x189)](_0x23b528){const _0x56643b=a0_0x3b545f;if(!0x0===this[_0x56643b(0x17b)]){let _0x5b44a2=this[_0x56643b(0x190)][_0x56643b(0x18e)],_0x123351=JSON['parse'](_0x5b44a2||_0x56643b(0x192));_0x23b528[_0x56643b(0x194)][_0x56643b(0x187)]({'name':_0x123351[_0x56643b(0x177)],'display':_0x123351['display'],'tagname':'meta-grist-element','location':_0x56643b(0x17d),'parent_field':'id','param_field':_0x56643b(0x186),'menu':this[_0x56643b(0x181)],'icon':_0x123351['icon'],'filter_from':!0x1,'main_filter_form':this['mainFilterForm']});}this[_0x56643b(0x198)]=_0x23b528[_0x56643b(0x194)],_0x23b528['button']=[];}async['clear'](){const _0x2ab68e=a0_0x3b545f;if(this['tabElements']){let _0x1b2ceb=Object[_0x2ab68e(0x179)](this[_0x2ab68e(0x1a0)]);for(var _0x3dd5a1=0x0;_0x3dd5a1<_0x1b2ceb['length'];_0x3dd5a1++)await this[_0x2ab68e(0x1a0)][_0x1b2ceb[_0x3dd5a1]][_0x2ab68e(0x182)]();}}[a0_0x3b545f(0x185)](){const _0x54a2d1=a0_0x3b545f;let _0x544987={};return this['tabElements']&&Object['keys'](this[_0x54a2d1(0x1a0)])[_0x54a2d1(0x188)](_0x42fe7d=>{const _0x13a854=_0x54a2d1;_0x544987[_0x42fe7d]=this[_0x13a854(0x1a0)][_0x42fe7d]['getData']();}),_0x544987;}[a0_0x3b545f(0x193)](){const _0x2f73ee=a0_0x3b545f;if(this[_0x2f73ee(0x1a0)]){let _0x310090=Object[_0x2f73ee(0x179)](this[_0x2f73ee(0x1a0)]);return this[_0x2f73ee(0x1a0)][_0x310090[0x0]]['grist'];}}};
@@ -1,18 +1,18 @@
1
- const a0_0x1d7d85=a0_0x52bf;(function(_0x9765a9,_0x3f8fbb){const _0x1567f1=a0_0x52bf,_0x4c053f=_0x9765a9();while(!![]){try{const _0x5d28e4=parseInt(_0x1567f1(0x1f2))/0x1+-parseInt(_0x1567f1(0x1e9))/0x2*(parseInt(_0x1567f1(0x1fa))/0x3)+-parseInt(_0x1567f1(0x1f7))/0x4+-parseInt(_0x1567f1(0x1af))/0x5*(parseInt(_0x1567f1(0x1ad))/0x6)+parseInt(_0x1567f1(0x1b9))/0x7*(parseInt(_0x1567f1(0x1a7))/0x8)+parseInt(_0x1567f1(0x198))/0x9+parseInt(_0x1567f1(0x1e2))/0xa;if(_0x5d28e4===_0x3f8fbb)break;else _0x4c053f['push'](_0x4c053f['shift']());}catch(_0x235b28){_0x4c053f['push'](_0x4c053f['shift']());}}}(a0_0x5ec2,0x45087));import a0_0x1d0a88 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_0x52bf(_0x39a983,_0x43d576){const _0x5ec2b7=a0_0x5ec2();return a0_0x52bf=function(_0x52bf75,_0x609b88){_0x52bf75=_0x52bf75-0x197;let _0x4a5c1b=_0x5ec2b7[_0x52bf75];return _0x4a5c1b;},a0_0x52bf(_0x39a983,_0x43d576);}function a0_0x5ec2(){const _0x3990b1=['LIST','showGraphqlErrorResponse','getGristColumnConfig2','gridMode','delete','meta_activity_list','metaActivities','task','2007660VFFECo','menus','isNotEmpty','getGristSelectableConfig','\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','activityType','draft','6092YHBzLc','activity-state-draft','menu','bind','getBasicGristStyles','assign','updated_at','showToast','\x22relation-menu\x22','361718mqyykY','tLabel','gridConfig','context','status','1753308nZGTKQ','getGristSelectorColumnConfig','tTitle','105HUsDWV','save','SCREEN','3033063TmjcLd','query','object','template','columns','center','shadowRoot','grist','length','released','forEach','define','menu_type','fetchHandler','relation-menu','888twLqAs','multiple','startingType','parse','render','updater','12TnyOjC','meta-activity-writer-element','392885FIGrgd','getSelectColumns','tText','customElements','routing','GRID','getGristGuttersConfig','install_activity_success','left','MENU_PAGE_TYPE','5383iTGhVe','deleteListByGristSelected','updatedAt','querySelector','deleteMetaActivities','filter','grid_view_options','connectedCallback','single','isMobileEnv','POPUP','menuType','model','string','showGraphqlException','tButton','activity-state-released','meta-activity-list-page','resource-object','records','searchByPagination','custom-element','datetime','push','updateMultiple','ox-grist','deploy','like','activity-state-deprecated','name','HIDDEN-PAGE','description','install_activity'];a0_0x5ec2=function(){return _0x3990b1;};return a0_0x5ec2();}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['styles'](){const _0xcacd03=a0_0x52bf;return MetaApi[_0xcacd03(0x1ed)]();}get[a0_0x1d7d85(0x1f5)](){const _0x2fd992=a0_0x1d7d85;return{'title':TermsUtil[_0x2fd992(0x1f9)](_0x2fd992(0x1df)),'actions':[{'title':TermsUtil[_0x2fd992(0x1c8)]('save'),'action':this['save'][_0x2fd992(0x1ec)](this),...CommonButtonStyles[_0x2fd992(0x1fb)]},{'title':TermsUtil[_0x2fd992(0x1c8)]('delete'),'action':this[_0x2fd992(0x1de)][_0x2fd992(0x1ec)](this),...CommonButtonStyles[_0x2fd992(0x1de)]},{'title':TermsUtil[_0x2fd992(0x1c8)](_0x2fd992(0x1d9)),'action':this[_0x2fd992(0x1d3)][_0x2fd992(0x1ec)](this),'icon':'system_update','emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get['grist'](){const _0x8d25b8=a0_0x1d7d85;return this[_0x8d25b8(0x19e)][_0x8d25b8(0x1bc)](_0x8d25b8(0x1d2));}async[a0_0x1d7d85(0x1c0)](){const _0xa3276a=a0_0x1d7d85,_0x5847b4=[{'display':'','value':''},{'display':TermsUtil[_0xa3276a(0x1f3)](_0xa3276a(0x1ea)),'value':_0xa3276a(0x1e8)},{'display':TermsUtil[_0xa3276a(0x1f3)](_0xa3276a(0x1c9)),'value':_0xa3276a(0x1a1)},{'display':TermsUtil[_0xa3276a(0x1f3)](_0xa3276a(0x1d5)),'value':'deprecated'}];this[_0xa3276a(0x1bf)]=[_0xa3276a(0x1da),_0xa3276a(0x1b4),'CARD'],this[_0xa3276a(0x1dd)]=MetaApi[_0xa3276a(0x1c2)]()?_0xa3276a(0x1da):_0xa3276a(0x1b4),this[_0xa3276a(0x1f4)]={'option':{'view_mode':this[_0xa3276a(0x1bf)]},'rows':MetaApi[_0xa3276a(0x1e5)](!0x0),'pagination':MetaApi['getGristPagination50Config'](),'sorters':[{'name':_0xa3276a(0x1d6),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0xa3276a(0x1b5)](!0x0,!0x1),{'type':'string','name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0xa3276a(0x1dc)](_0xa3276a(0x1c6),_0xa3276a(0x1d6),_0xa3276a(0x1d6),_0xa3276a(0x1b7),!0x0,!0x0,0xc8),MetaUiUtil[_0xa3276a(0x1dc)](_0xa3276a(0x1c6),'description',_0xa3276a(0x1d8),_0xa3276a(0x1b7),!0x0,!0x0,0x12c),MetaUiUtil[_0xa3276a(0x1f8)]('state',_0xa3276a(0x1f6),_0xa3276a(0x19d),!0x0,0x64,!0x1,_0x5847b4),{'type':_0xa3276a(0x1cb),'name':_0xa3276a(0x1eb),'header':TermsUtil[_0xa3276a(0x1f3)](_0xa3276a(0x1eb)),'record':{'editable':!0x0,'options':{'queryName':_0xa3276a(0x1e3),'basicArgs':{'filters':[{'name':_0xa3276a(0x1c4),'operator':'in','value':[_0xa3276a(0x197),_0xa3276a(0x1c3),_0xa3276a(0x1d7)]},{'name':_0xa3276a(0x1b3),'operator':'is_not_null','value':''},{'name':_0xa3276a(0x19b),'operator':'is_not_null','value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0xa3276a(0x1d6),'header':TermsUtil[_0xa3276a(0x1f3)](_0xa3276a(0x1d6)),'width':0xfa,'filter':'search'},await MetaApi['getGristCodeSelectorColumnConfig'](_0xa3276a(0x1c4),_0xa3276a(0x1a4),_0xa3276a(0x1b7),!0x1,0x6e,!0x1,_0xa3276a(0x1b8)),MetaUiUtil[_0xa3276a(0x1dc)](_0xa3276a(0x1c6),_0xa3276a(0x1b3),_0xa3276a(0x1b3),_0xa3276a(0x1b7),!0x1,!0x1,0xfa)],'list':{'fields':[_0xa3276a(0x1d6),_0xa3276a(0x1b3)]},'nameField':'routing'}},'width':0xeb},MetaUiUtil[_0xa3276a(0x1dc)](_0xa3276a(0x19a),_0xa3276a(0x1ac),'updater',_0xa3276a(0x19d),!0x1,!0x1,0x78),MetaUiUtil[_0xa3276a(0x1dc)](_0xa3276a(0x1cf),_0xa3276a(0x1bb),_0xa3276a(0x1ef),_0xa3276a(0x19d),!0x1,!0x0,0xb4),{'name':_0xa3276a(0x1e7),'hidden':!0x0},{'name':_0xa3276a(0x1a8),'hidden':!0x0},{'name':_0xa3276a(0x1a9),'hidden':!0x0}],'sorters':[{'name':_0xa3276a(0x1d6),'desc':!0x1}]};let _0x399353={'name':_0xa3276a(0x1d4)};this[_0xa3276a(0x1f4)]['columns'][_0xa3276a(0x1be)](_0x79b4f8=>_0x399353[_0x79b4f8[_0xa3276a(0x1d6)]])[_0xa3276a(0x1a2)](_0x1da7f7=>{const _0x5073f5=_0xa3276a;_0x1da7f7[_0x5073f5(0x1be)]=_0x399353[_0x1da7f7['name']];}),this[_0xa3276a(0x1c0)]&&await super[_0xa3276a(0x1c0)]();}async[a0_0x1d7d85(0x1a5)]({page:_0x42c3c0,limit:_0x3b2a03,sorters:_0x2041d3=[],filters:_0x4b850a=[]}){const _0x4bd8f7=a0_0x1d7d85;_0x4b850a[_0x4bd8f7(0x1d0)]({'name':_0x4bd8f7(0x1c5),'operator':_0x4bd8f7(0x1d4),'value':_0x4bd8f7(0x1f1)});let _0x3cf17b=MetaApi[_0x4bd8f7(0x1b0)](this[_0x4bd8f7(0x1f4)][_0x4bd8f7(0x19c)][_0x4bd8f7(0x1be)](_0x420dd8=>_0x4bd8f7(0x1eb)!=_0x420dd8[_0x4bd8f7(0x1d6)]));_0x3cf17b+=_0x4bd8f7(0x1e6);let _0x3ca813=await MetaApi[_0x4bd8f7(0x1cd)](_0x4bd8f7(0x1e0),_0x4b850a,_0x2041d3,_0x42c3c0,_0x3b2a03,_0x3cf17b);return _0x3ca813[_0x4bd8f7(0x1cc)]['forEach'](_0x3f3586=>{const _0xaf6a99=_0x4bd8f7;let _0x3d220e=_0x3f3586[_0xaf6a99(0x1c5)]['filter'](_0x3ea41e=>_0xaf6a99(0x1a6)==_0x3ea41e[_0xaf6a99(0x1d6)]);_0x3d220e&&_0x3d220e[_0xaf6a99(0x1a0)]>0x0&&(_0x3f3586['menu']=JSON[_0xaf6a99(0x1aa)](_0x3d220e[0x0][_0xaf6a99(0x1d8)])),delete _0x3f3586['model'];}),_0x3ca813;}async[a0_0x1d7d85(0x1d3)](){const _0xe7add0=a0_0x1d7d85;try{var _0x162186=await client[_0xe7add0(0x199)]({'query':a0_0x1d0a88`
1
+ const a0_0x47ef59=a0_0x116e;function a0_0x116e(_0x16b09c,_0x22cbb6){const _0x18e4ae=a0_0x18e4();return a0_0x116e=function(_0x116ec6,_0x33c790){_0x116ec6=_0x116ec6-0x1f3;let _0x2c3b92=_0x18e4ae[_0x116ec6];return _0x2c3b92;},a0_0x116e(_0x16b09c,_0x22cbb6);}function a0_0x18e4(){const _0x35ffc4=['menu','query','GRID','install_activity_success','relation-menu','querySelector','getGristPagination50Config','tLabel','getSelectColumns','getGristCodeSelectorColumnConfig','30Skdfaj','pageInitialized','string','deploy','name','filter','updateMultiple','deleteListByGristSelected','8648444qNVtNN','context','search','system_update','updated_at','showToast','activity-state-released','fetch','updater','gridConfig','model','description','getGristSelectableConfig','POPUP','startingType','3331603acGfHe','draft','menu_type','forEach','meta-activity-list-page','activity-state-deprecated','activity-state-draft','grist','patchesForUpdateMultiple','gridMode','fetchHandler','columns','single','1602iWGCQD','getBasicGristStyles','grid_view_options','is_not_null','length','bind','74770hAjKgt','left','save','install_activity','multiple','getGristColumnConfig2','1047516pHplEO','define','tButton','customElements','activityType','showGraphqlException','4FePlUa','like','HIDDEN-PAGE','errors','parse','LIST','styles','9nWTKlM','updateMultipleMetaActivity','info','custom-element','4825EHobmZ','updatedAt','template','state','center','menuType','\x22relation-menu\x22','metaActivities','733328uaYpJU','menus','object','routing','tTitle','delete','connectedCallback','getGristSelectorColumnConfig','searchByPagination','deleteMetaActivities','post','923818pZVpZz','meta-activity-writer-element','task','released'];a0_0x18e4=function(){return _0x35ffc4;};return a0_0x18e4();}(function(_0x2a946b,_0x41e21a){const _0x6c33c=a0_0x116e,_0x3818e=_0x2a946b();while(!![]){try{const _0x1a01fc=-parseInt(_0x6c33c(0x248))/0x1+parseInt(_0x6c33c(0x21e))/0x2+parseInt(_0x6c33c(0x224))/0x3*(-parseInt(_0x6c33c(0x22a))/0x4)+-parseInt(_0x6c33c(0x235))/0x5*(parseInt(_0x6c33c(0x218))/0x6)+parseInt(_0x6c33c(0x1fc))/0x7+-parseInt(_0x6c33c(0x23d))/0x8*(-parseInt(_0x6c33c(0x231))/0x9)+-parseInt(_0x6c33c(0x1f4))/0xa*(-parseInt(_0x6c33c(0x20b))/0xb);if(_0x1a01fc===_0x41e21a)break;else _0x3818e['push'](_0x3818e['shift']());}catch(_0x60cf97){_0x3818e['push'](_0x3818e['shift']());}}}(a0_0x18e4,0xb5475));import a0_0x44f99a 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_0x47ef59(0x230)](){const _0x14abee=a0_0x47ef59;return MetaApi[_0x14abee(0x219)]();}get[a0_0x47ef59(0x1fd)](){const _0x2e1420=a0_0x47ef59;return{'title':TermsUtil[_0x2e1420(0x241)]('meta_activity_list'),'actions':[{'title':TermsUtil[_0x2e1420(0x226)](_0x2e1420(0x220)),'action':this[_0x2e1420(0x220)][_0x2e1420(0x21d)](this),...CommonButtonStyles[_0x2e1420(0x220)]},{'title':TermsUtil[_0x2e1420(0x226)](_0x2e1420(0x242)),'action':this['delete'][_0x2e1420(0x21d)](this),...CommonButtonStyles['delete']},{'title':TermsUtil[_0x2e1420(0x226)](_0x2e1420(0x221)),'action':this[_0x2e1420(0x1f7)][_0x2e1420(0x21d)](this),'icon':_0x2e1420(0x1ff),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x47ef59(0x212)](){const _0x5929c1=a0_0x47ef59;return this['shadowRoot'][_0x5929c1(0x251)]('ox-grist');}async[a0_0x47ef59(0x243)](){const _0x2408c1=a0_0x47ef59,_0x3c2021=[{'display':'','value':''},{'display':TermsUtil[_0x2408c1(0x253)](_0x2408c1(0x211)),'value':_0x2408c1(0x20c)},{'display':TermsUtil[_0x2408c1(0x253)](_0x2408c1(0x202)),'value':_0x2408c1(0x24b)},{'display':TermsUtil[_0x2408c1(0x253)](_0x2408c1(0x210)),'value':'deprecated'}];this[_0x2408c1(0x21a)]=['LIST',_0x2408c1(0x24e),'CARD'],this[_0x2408c1(0x214)]=MetaApi['isMobileEnv']()?_0x2408c1(0x22f):'GRID',this[_0x2408c1(0x205)]={'option':{'view_mode':this[_0x2408c1(0x21a)]},'rows':MetaApi[_0x2408c1(0x208)](!0x0),'pagination':MetaApi[_0x2408c1(0x252)](),'sorters':[{'name':_0x2408c1(0x1f8),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x0,!0x1),{'type':_0x2408c1(0x1f6),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0x2408c1(0x223)](_0x2408c1(0x1f6),'name',_0x2408c1(0x1f8),'left',!0x0,!0x0,0xc8),MetaUiUtil['getGristColumnConfig2'](_0x2408c1(0x1f6),_0x2408c1(0x207),_0x2408c1(0x207),_0x2408c1(0x21f),!0x0,!0x0,0x12c),MetaUiUtil[_0x2408c1(0x244)](_0x2408c1(0x238),'status',_0x2408c1(0x239),!0x0,0x64,!0x1,_0x3c2021),{'type':'resource-object','name':_0x2408c1(0x24c),'header':TermsUtil[_0x2408c1(0x253)](_0x2408c1(0x24c)),'record':{'editable':!0x0,'options':{'queryName':_0x2408c1(0x23e),'basicArgs':{'filters':[{'name':'menuType','operator':'in','value':['SCREEN',_0x2408c1(0x209),_0x2408c1(0x22c)]},{'name':_0x2408c1(0x240),'operator':_0x2408c1(0x21b),'value':''},{'name':_0x2408c1(0x237),'operator':_0x2408c1(0x21b),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x2408c1(0x1f8),'header':TermsUtil[_0x2408c1(0x253)](_0x2408c1(0x1f8)),'width':0xfa,'filter':_0x2408c1(0x1fe)},await MetaApi[_0x2408c1(0x1f3)](_0x2408c1(0x23a),_0x2408c1(0x20d),'left',!0x1,0x6e,!0x1,'MENU_PAGE_TYPE'),MetaUiUtil[_0x2408c1(0x223)](_0x2408c1(0x1f6),_0x2408c1(0x240),'routing',_0x2408c1(0x21f),!0x1,!0x1,0xfa)],'list':{'fields':[_0x2408c1(0x1f8),'routing']},'nameField':'routing'}},'width':0xeb},MetaUiUtil[_0x2408c1(0x223)](_0x2408c1(0x23f),_0x2408c1(0x204),_0x2408c1(0x204),_0x2408c1(0x239),!0x1,!0x1,0x78),MetaUiUtil[_0x2408c1(0x223)]('datetime',_0x2408c1(0x236),_0x2408c1(0x200),_0x2408c1(0x239),!0x1,!0x0,0xb4),{'name':_0x2408c1(0x228),'hidden':!0x0},{'name':_0x2408c1(0x222),'hidden':!0x0},{'name':'startingType','hidden':!0x0}],'sorters':[{'name':'name','desc':!0x1}]};let _0x5a96e7={'name':_0x2408c1(0x22b)};this[_0x2408c1(0x205)]['columns']['filter'](_0x4485bc=>_0x5a96e7[_0x4485bc[_0x2408c1(0x1f8)]])['forEach'](_0x90c2b8=>{const _0x201ffb=_0x2408c1;_0x90c2b8[_0x201ffb(0x1f9)]=_0x5a96e7[_0x90c2b8[_0x201ffb(0x1f8)]];}),this[_0x2408c1(0x243)]&&await super[_0x2408c1(0x243)]();}async[a0_0x47ef59(0x215)]({page:_0xb2867c,limit:_0x1836c5,sorters:_0x4f58c0=[],filters:_0x128958=[]}){const _0x4710b7=a0_0x47ef59;_0x128958['push']({'name':_0x4710b7(0x206),'operator':_0x4710b7(0x22b),'value':_0x4710b7(0x23b)});let _0x417398=MetaApi[_0x4710b7(0x254)](this[_0x4710b7(0x205)][_0x4710b7(0x216)]['filter'](_0x362acb=>_0x4710b7(0x24c)!=_0x362acb['name']));_0x417398+='\x0a\x20\x20\x20\x20\x20\x20model\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20';let _0x3fff19=await MetaApi[_0x4710b7(0x245)](_0x4710b7(0x23c),_0x128958,_0x4f58c0,_0xb2867c,_0x1836c5,_0x417398);return _0x3fff19['records'][_0x4710b7(0x20e)](_0x208255=>{const _0x907c6d=_0x4710b7;let _0x1c535d=_0x208255[_0x907c6d(0x206)][_0x907c6d(0x1f9)](_0x4df815=>_0x907c6d(0x250)==_0x4df815[_0x907c6d(0x1f8)]);_0x1c535d&&_0x1c535d[_0x907c6d(0x21c)]>0x0&&(_0x208255[_0x907c6d(0x24c)]=JSON[_0x907c6d(0x22e)](_0x1c535d[0x0][_0x907c6d(0x207)])),delete _0x208255[_0x907c6d(0x206)];}),_0x3fff19;}async[a0_0x47ef59(0x1f7)](){const _0x34335a=a0_0x47ef59;try{var _0x5c601f=await client[_0x34335a(0x24d)]({'query':a0_0x44f99a`
2
2
  mutation {
3
3
  installActivityTemplate
4
4
  }
5
- `});if(!_0x162186['errors'])return UiUtil[_0xe7add0(0x1f0)]('info',TermsUtil[_0xe7add0(0x1b1)](_0xe7add0(0x1b6))),!0x0;ServiceUtil[_0xe7add0(0x1db)](_0x162186);}catch(_0x4c0f80){ServiceUtil[_0xe7add0(0x1c7)](_0x4c0f80);}}async[a0_0x1d7d85(0x1fb)](){const _0x29c18c=a0_0x1d7d85;let _0xbf9f83=ServiceUtil['patchesForUpdateMultiple'](this['grist']);if(ValueUtil[_0x29c18c(0x1e4)](_0xbf9f83)){_0xbf9f83[_0x29c18c(0x1a2)](_0x455820=>{const _0x1507c5=_0x29c18c;Object[_0x1507c5(0x1ee)](_0x455820,{'uiSource':_0x1507c5(0x1ae),'uiType':_0x1507c5(0x1ce),'viewSource':'meta-activity-viewer-element','viewType':_0x1507c5(0x1ce)}),_0x455820['multiple']||(_0x455820[_0x1507c5(0x1a8)]=_0x1507c5(0x1c1)),_0x455820['activityType']||(_0x455820[_0x1507c5(0x1e7)]=_0x1507c5(0x1e1)),_0x455820[_0x1507c5(0x1a9)]||(_0x455820[_0x1507c5(0x1a9)]='post');});let _0x44b52b=await ServiceUtil[_0x29c18c(0x1d1)]('updateMultipleMetaActivity',_0xbf9f83);if(_0x44b52b)return this[_0x29c18c(0x19f)]['fetch'](),_0x44b52b;}}async[a0_0x1d7d85(0x1de)](){const _0x46aa72=a0_0x1d7d85;await MetaApi[_0x46aa72(0x1ba)](this[_0x46aa72(0x19f)],_0x46aa72(0x1bd));}async['pageInitialized'](){}[a0_0x1d7d85(0x1ab)](){const _0x5ca4ef=a0_0x1d7d85;return html`
5
+ `});if(!_0x5c601f[_0x34335a(0x22d)])return UiUtil[_0x34335a(0x201)](_0x34335a(0x233),TermsUtil['tText'](_0x34335a(0x24f))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x5c601f);}catch(_0x3878db){ServiceUtil[_0x34335a(0x229)](_0x3878db);}}async[a0_0x47ef59(0x220)](){const _0x265869=a0_0x47ef59;let _0x3e6ef6=ServiceUtil[_0x265869(0x213)](this['grist']);if(ValueUtil['isNotEmpty'](_0x3e6ef6)){_0x3e6ef6[_0x265869(0x20e)](_0x334531=>{const _0x384214=_0x265869;Object['assign'](_0x334531,{'uiSource':_0x384214(0x249),'uiType':_0x384214(0x234),'viewSource':'meta-activity-viewer-element','viewType':_0x384214(0x234)}),_0x334531[_0x384214(0x222)]||(_0x334531['multiple']=_0x384214(0x217)),_0x334531[_0x384214(0x228)]||(_0x334531[_0x384214(0x228)]=_0x384214(0x24a)),_0x334531[_0x384214(0x20a)]||(_0x334531['startingType']=_0x384214(0x247));});let _0x10f9a6=await ServiceUtil[_0x265869(0x1fa)](_0x265869(0x232),_0x3e6ef6);if(_0x10f9a6)return this[_0x265869(0x212)][_0x265869(0x203)](),_0x10f9a6;}}async[a0_0x47ef59(0x242)](){const _0x534971=a0_0x47ef59;await MetaApi[_0x534971(0x1fb)](this[_0x534971(0x212)],_0x534971(0x246));}async[a0_0x47ef59(0x1f5)](){}['render'](){const _0x594f6c=a0_0x47ef59;return html`
6
6
  <ox-grist
7
7
  auto-fetch
8
8
  id="ox-grist"
9
- .config=${this[_0x5ca4ef(0x1f4)]}
10
- .mode=${this[_0x5ca4ef(0x1dd)]}
11
- .fetchHandler=${this[_0x5ca4ef(0x1a5)][_0x5ca4ef(0x1ec)](this)}>
9
+ .config=${this[_0x594f6c(0x205)]}
10
+ .mode=${this['gridMode']}
11
+ .fetchHandler=${this['fetchHandler'][_0x594f6c(0x21d)](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_0x1d7d85(0x1b2)][a0_0x1d7d85(0x1a3)](a0_0x1d7d85(0x1ca),MetaActivityListPage);
18
+ `;}}window[a0_0x47ef59(0x227)][a0_0x47ef59(0x225)](a0_0x47ef59(0x20f),MetaActivityListPage);
@@ -1,3 +1,3 @@
1
- const a0_0x89a487=a0_0x5ab7;(function(_0x1399ed,_0x23893e){const _0x22918a=a0_0x5ab7,_0x53a7c2=_0x1399ed();while(!![]){try{const _0x1b5a2c=parseInt(_0x22918a(0x153))/0x1*(-parseInt(_0x22918a(0x165))/0x2)+-parseInt(_0x22918a(0x158))/0x3+-parseInt(_0x22918a(0x15a))/0x4+parseInt(_0x22918a(0x15c))/0x5*(-parseInt(_0x22918a(0x15f))/0x6)+-parseInt(_0x22918a(0x156))/0x7+-parseInt(_0x22918a(0x151))/0x8+-parseInt(_0x22918a(0x154))/0x9*(-parseInt(_0x22918a(0x166))/0xa);if(_0x1b5a2c===_0x23893e)break;else _0x53a7c2['push'](_0x53a7c2['shift']());}catch(_0x4a0cce){_0x53a7c2['push'](_0x53a7c2['shift']());}}}(a0_0x2a6a,0x283bf));import a0_0x43db4a from'graphql-tag';import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x89a487(0x159)](){const _0x3b2ce1=a0_0x89a487;if(this['relationMenu']&&!this[_0x3b2ce1(0x157)]){let _0x486701=this[_0x3b2ce1(0x162)][_0x3b2ce1(0x15b)],_0x11f4b2=this[_0x3b2ce1(0x162)][_0x3b2ce1(0x161)],_0x11c85d='<'+_0x486701+_0x3b2ce1(0x14f)+this[_0x3b2ce1(0x162)][_0x3b2ce1(0x160)]+_0x3b2ce1(0x164)+_0x11f4b2+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x486701+'>';this['contentElement']=UiUtil['htmlToElement'](_0x11c85d),this['contentElement'][_0x3b2ce1(0x15e)]=ValueUtil[_0x3b2ce1(0x150)](this['output'])?void 0x0:this[_0x3b2ce1(0x15d)][_0x3b2ce1(0x152)];}return html`
2
- ${this[_0x3b2ce1(0x157)]}
3
- `;}}customElements[a0_0x89a487(0x155)](a0_0x89a487(0x163),MetaActivityViewerElement);function a0_0x5ab7(_0x1f2c3b,_0xfd2db6){const _0x2a6a0f=a0_0x2a6a();return a0_0x5ab7=function(_0x5ab782,_0x57724e){_0x5ab782=_0x5ab782-0x14f;let _0x2bc1d0=_0x2a6a0f[_0x5ab782];return _0x2bc1d0;},a0_0x5ab7(_0x1f2c3b,_0xfd2db6);}function a0_0x2a6a(){const _0x202cd0=['contentElement','782376wQUbWi','render','713588ovyAxl','tagName','85BeqeBO','output','activityDataSet','62826DAoqDW','name','routing','relationMenu','meta-activity-viewer-element','\x27\x20route_name=\x27','2sixoRJ','2856690WGYWcs','\x20id=\x27','isEmpty','921624dGuTgq','customData','39029HAjjOX','36MMADpw','define','1445143BJAKxq'];a0_0x2a6a=function(){return _0x202cd0;};return a0_0x2a6a();}
1
+ const a0_0x2bfaca=a0_0x55a5;function a0_0xad49(){const _0x45fa85=['meta-activity-viewer-element','activityDataSet','3259500sHDURN','2454ufexLE','render','define','11432puwnLv','htmlToElement','2254yGMuPt','relationMenu','\x20id=\x27','tagName','229049PEWlQk','5860080VsSibT','10NBdfvC','routing','1575hspxci','\x27\x20route_name=\x27','337281hEopSb','29440UAphux','contentElement','customData'];a0_0xad49=function(){return _0x45fa85;};return a0_0xad49();}(function(_0x1aa51e,_0x475b8f){const _0x4e7e9f=a0_0x55a5,_0x32bb05=_0x1aa51e();while(!![]){try{const _0xbcc01f=parseInt(_0x4e7e9f(0x1d3))/0x1+-parseInt(_0x4e7e9f(0x1d5))/0x2*(-parseInt(_0x4e7e9f(0x1d9))/0x3)+parseInt(_0x4e7e9f(0x1cd))/0x4+parseInt(_0x4e7e9f(0x1df))/0x5+-parseInt(_0x4e7e9f(0x1ca))/0x6*(-parseInt(_0x4e7e9f(0x1cf))/0x7)+-parseInt(_0x4e7e9f(0x1da))/0x8*(parseInt(_0x4e7e9f(0x1d7))/0x9)+-parseInt(_0x4e7e9f(0x1d4))/0xa;if(_0xbcc01f===_0x475b8f)break;else _0x32bb05['push'](_0x32bb05['shift']());}catch(_0x3e3f8c){_0x32bb05['push'](_0x32bb05['shift']());}}}(a0_0xad49,0x54df0));import a0_0x28d73a from'graphql-tag';function a0_0x55a5(_0x19bb60,_0x9a367){const _0xad492c=a0_0xad49();return a0_0x55a5=function(_0x55a59b,_0x2b4e50){_0x55a59b=_0x55a59b-0x1ca;let _0xcbdbdf=_0xad492c[_0x55a59b];return _0xcbdbdf;},a0_0x55a5(_0x19bb60,_0x9a367);}import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x2bfaca(0x1cb)](){const _0x596a31=a0_0x2bfaca;if(this[_0x596a31(0x1d0)]&&!this[_0x596a31(0x1db)]){let _0x52ad21=this[_0x596a31(0x1d0)][_0x596a31(0x1d2)],_0x51f3a5=this['relationMenu'][_0x596a31(0x1d6)],_0x1c8a4e='<'+_0x52ad21+_0x596a31(0x1d1)+this['relationMenu']['name']+_0x596a31(0x1d8)+_0x51f3a5+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x52ad21+'>';this[_0x596a31(0x1db)]=UiUtil[_0x596a31(0x1ce)](_0x1c8a4e),this[_0x596a31(0x1db)][_0x596a31(0x1de)]=ValueUtil['isEmpty'](this['output'])?void 0x0:this['output'][_0x596a31(0x1dc)];}return html`
2
+ ${this[_0x596a31(0x1db)]}
3
+ `;}}customElements[a0_0x2bfaca(0x1cc)](a0_0x2bfaca(0x1dd),MetaActivityViewerElement);
@@ -1,3 +1,3 @@
1
- const a0_0x380f8e=a0_0x1fd0;function a0_0x3ae1(){const _0x2c2902=['1149307TdKkxX','change','2590794QmWOhg','field-change','dispatchEvent','2169545YuETTm','connectedCallback','5804973uMXYhq','contentElement','render','_onFieldChange','routing','getData','relationMenu','tagName','activityDataSet','2316111uEtqQE','\x20id=\x27','2641928ZVewyn','6MwjCmF','16txhPcU','name','output','addEventListener','1743400xGNdUS','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','meta-activity-writer-element','disconnectedCallback'];a0_0x3ae1=function(){return _0x2c2902;};return a0_0x3ae1();}(function(_0x2d5109,_0x5172be){const _0x56240b=a0_0x1fd0,_0x283bbc=_0x2d5109();while(!![]){try{const _0x2fc3df=parseInt(_0x56240b(0xba))/0x1+-parseInt(_0x56240b(0xcc))/0x2+parseInt(_0x56240b(0xbc))/0x3+-parseInt(_0x56240b(0xd2))/0x4+parseInt(_0x56240b(0xbf))/0x5*(parseInt(_0x56240b(0xcd))/0x6)+-parseInt(_0x56240b(0xca))/0x7*(parseInt(_0x56240b(0xce))/0x8)+parseInt(_0x56240b(0xc1))/0x9;if(_0x2fc3df===_0x5172be)break;else _0x283bbc['push'](_0x283bbc['shift']());}catch(_0x47a2be){_0x283bbc['push'](_0x283bbc['shift']());}}}(a0_0x3ae1,0xa45e3));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{UiUtil}from'./../../utils/ui-util';function a0_0x1fd0(_0x510b5c,_0x5091db){const _0x3ae173=a0_0x3ae1();return a0_0x1fd0=function(_0x1fd012,_0x2132ad){_0x1fd012=_0x1fd012-0xb7;let _0x3596d8=_0x3ae173[_0x1fd012];return _0x3596d8;},a0_0x1fd0(_0x510b5c,_0x5091db);}import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0x380f8e(0xc0)](){const _0x3e4799=a0_0x380f8e;await super[_0x3e4799(0xc0)](),this[_0x3e4799(0xd1)](_0x3e4799(0xbd),this['_onFieldChange']);}[a0_0x380f8e(0xb9)](){const _0x5cd48a=a0_0x380f8e;this['removeEventListener'](_0x5cd48a(0xbd),this[_0x5cd48a(0xc4)]);}[a0_0x380f8e(0xc4)](_0x18291f){const _0x437f3d=a0_0x380f8e;let _0x157f88=this[_0x437f3d(0xc2)][_0x437f3d(0xc6)]();this[_0x437f3d(0xbe)](new CustomEvent(_0x437f3d(0xbb),{'detail':{'customData':_0x157f88}}));}[a0_0x380f8e(0xc3)](){const _0x4a30d3=a0_0x380f8e;if(this['relationMenu']&&!this['contentElement']){let _0x2e1d05=this['relationMenu'][_0x4a30d3(0xc8)],_0x27f53b=this[_0x4a30d3(0xc7)][_0x4a30d3(0xc5)],_0x54a310='<'+_0x2e1d05+_0x4a30d3(0xcb)+this[_0x4a30d3(0xc7)][_0x4a30d3(0xcf)]+'\x27\x20route_name=\x27'+_0x27f53b+_0x4a30d3(0xb7)+_0x2e1d05+'>';this[_0x4a30d3(0xc2)]=UiUtil['htmlToElement'](_0x54a310),this[_0x4a30d3(0xc2)][_0x4a30d3(0xc9)]=ValueUtil['isEmpty'](this[_0x4a30d3(0xd0)])?void 0x0:this[_0x4a30d3(0xd0)]['customData'];}return html`
2
- ${this[_0x4a30d3(0xc2)]}
3
- `;}}customElements['define'](a0_0x380f8e(0xb8),MetaActivityWriterElement);
1
+ const a0_0x1c3e32=a0_0x2d5e;(function(_0x2c52b2,_0x4a930a){const _0x5d8a39=a0_0x2d5e,_0x462db2=_0x2c52b2();while(!![]){try{const _0x1cc5b0=parseInt(_0x5d8a39(0x148))/0x1*(parseInt(_0x5d8a39(0x135))/0x2)+-parseInt(_0x5d8a39(0x13a))/0x3*(parseInt(_0x5d8a39(0x154))/0x4)+-parseInt(_0x5d8a39(0x141))/0x5*(-parseInt(_0x5d8a39(0x145))/0x6)+parseInt(_0x5d8a39(0x14d))/0x7*(parseInt(_0x5d8a39(0x14e))/0x8)+-parseInt(_0x5d8a39(0x13b))/0x9*(-parseInt(_0x5d8a39(0x144))/0xa)+-parseInt(_0x5d8a39(0x138))/0xb*(-parseInt(_0x5d8a39(0x14f))/0xc)+-parseInt(_0x5d8a39(0x155))/0xd;if(_0x1cc5b0===_0x4a930a)break;else _0x462db2['push'](_0x462db2['shift']());}catch(_0x1daa4d){_0x462db2['push'](_0x462db2['shift']());}}}(a0_0x3ee4,0x39c5d));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{UiUtil}from'./../../utils/ui-util';function a0_0x3ee4(){const _0x4577b7=['addEventListener','5yJwAbb','\x27\x20route_name=\x27','change','10vaTbGk','1459092BpnuQP','connectedCallback','output','352936ESlqwQ','relationMenu','getData','customData','render','911953WXpqzV','8JBRuFA','36bOgMQs','dispatchEvent','field-change','disconnectedCallback','routing','136TQuOLd','8943545nnVeOI','_onFieldChange','\x20id=\x27','htmlToElement','2acCXrl','name','meta-activity-writer-element','673871PEoZnQ','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','24756yIqXwD','2654910lbYIpS','contentElement','define','removeEventListener','tagName'];a0_0x3ee4=function(){return _0x4577b7;};return a0_0x3ee4();}import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0x1c3e32(0x146)](){const _0x464f52=a0_0x1c3e32;await super[_0x464f52(0x146)](),this[_0x464f52(0x140)](_0x464f52(0x151),this[_0x464f52(0x156)]);}[a0_0x1c3e32(0x152)](){const _0x4f35cb=a0_0x1c3e32;this[_0x4f35cb(0x13e)](_0x4f35cb(0x151),this[_0x4f35cb(0x156)]);}[a0_0x1c3e32(0x156)](_0x2e615d){const _0x3e9a69=a0_0x1c3e32;let _0x338757=this[_0x3e9a69(0x13c)][_0x3e9a69(0x14a)]();this[_0x3e9a69(0x150)](new CustomEvent(_0x3e9a69(0x143),{'detail':{'customData':_0x338757}}));}[a0_0x1c3e32(0x14c)](){const _0x35903f=a0_0x1c3e32;if(this[_0x35903f(0x149)]&&!this[_0x35903f(0x13c)]){let _0x2676fc=this[_0x35903f(0x149)][_0x35903f(0x13f)],_0x1d1d26=this[_0x35903f(0x149)][_0x35903f(0x153)],_0x38728c='<'+_0x2676fc+_0x35903f(0x133)+this[_0x35903f(0x149)][_0x35903f(0x136)]+_0x35903f(0x142)+_0x1d1d26+_0x35903f(0x139)+_0x2676fc+'>';this[_0x35903f(0x13c)]=UiUtil[_0x35903f(0x134)](_0x38728c),this[_0x35903f(0x13c)]['activityDataSet']=ValueUtil['isEmpty'](this[_0x35903f(0x147)])?void 0x0:this['output'][_0x35903f(0x14b)];}return html`
2
+ ${this[_0x35903f(0x13c)]}
3
+ `;}}function a0_0x2d5e(_0x47ce38,_0x145e95){const _0x3ee4ed=a0_0x3ee4();return a0_0x2d5e=function(_0x2d5e6c,_0x2d3251){_0x2d5e6c=_0x2d5e6c-0x133;let _0x8c0cd7=_0x3ee4ed[_0x2d5e6c];return _0x8c0cd7;},a0_0x2d5e(_0x47ce38,_0x145e95);}customElements[a0_0x1c3e32(0x13d)](a0_0x1c3e32(0x137),MetaActivityWriterElement);
@@ -1,11 +1,11 @@
1
- const a0_0x24c455=a0_0x1da9;function a0_0x14c0(){const _0x229ebb=['endsWith','4qaaNMA','-element','-page','searchByPagination','201830jHSEkf','model','21oshDwl','replace','9VWIlXu','5172zdoHRa','1983350WrKOxc','length','assign','getMenuInfo','getActivity','tText','parse','menu','connectedCallback','328359ogsloK','showToast','id,category,resourceUrl','activity','846424JAiXAz','1232777OWcmOP','forEach','5093TabMuq','tMenu','1IwTodm','category','281628uCPGhG','records','activityId','styles','value_is_not_exist','relation-menu','tagName','info','relationMenu','data','routing','description','resourceUrl','28kRFYge','6rGnkCQ'];a0_0x14c0=function(){return _0x229ebb;};return a0_0x14c0();}(function(_0x4b2410,_0x161ba2){const _0x42233b=a0_0x1da9,_0x47033b=_0x4b2410();while(!![]){try{const _0x24d023=-parseInt(_0x42233b(0x79))/0x1*(-parseInt(_0x42233b(0x7b))/0x2)+parseInt(_0x42233b(0x70))/0x3*(-parseInt(_0x42233b(0x8b))/0x4)+parseInt(_0x42233b(0x8f))/0x5*(parseInt(_0x42233b(0x89))/0x6)+parseInt(_0x42233b(0x91))/0x7*(parseInt(_0x42233b(0x74))/0x8)+parseInt(_0x42233b(0x93))/0x9*(-parseInt(_0x42233b(0x95))/0xa)+-parseInt(_0x42233b(0x77))/0xb*(-parseInt(_0x42233b(0x94))/0xc)+parseInt(_0x42233b(0x75))/0xd*(-parseInt(_0x42233b(0x88))/0xe);if(_0x24d023===_0x161ba2)break;else _0x47033b['push'](_0x47033b['shift']());}catch(_0x27b3a9){_0x47033b['push'](_0x47033b['shift']());}}}(a0_0x14c0,0x30ff8));function a0_0x1da9(_0x42e599,_0x4265b7){const _0x14c0e4=a0_0x14c0();return a0_0x1da9=function(_0x1da92a,_0x58d6c5){_0x1da92a=_0x1da92a-0x6e;let _0x5d8918=_0x14c0e4[_0x1da92a];return _0x5d8918;},a0_0x1da9(_0x42e599,_0x4265b7);}import a0_0x4c92b4 from'graphql-tag';import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';export const MetaActivityMixin=_0x5855a2=>class extends _0x5855a2{static get['properties'](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x24c455(0x7e)](){return css`
1
+ const a0_0x493c3e=a0_0x5348;(function(_0x2aaead,_0xe972fa){const _0x14dc70=a0_0x5348,_0x431fbf=_0x2aaead();while(!![]){try{const _0x5844e2=-parseInt(_0x14dc70(0x1fa))/0x1*(-parseInt(_0x14dc70(0x1fb))/0x2)+-parseInt(_0x14dc70(0x1e6))/0x3*(-parseInt(_0x14dc70(0x1dc))/0x4)+-parseInt(_0x14dc70(0x1d4))/0x5*(parseInt(_0x14dc70(0x1e3))/0x6)+-parseInt(_0x14dc70(0x1d9))/0x7+-parseInt(_0x14dc70(0x1d5))/0x8*(-parseInt(_0x14dc70(0x1d3))/0x9)+-parseInt(_0x14dc70(0x1e7))/0xa+-parseInt(_0x14dc70(0x1ef))/0xb*(-parseInt(_0x14dc70(0x1ec))/0xc);if(_0x5844e2===_0xe972fa)break;else _0x431fbf['push'](_0x431fbf['shift']());}catch(_0x60ceef){_0x431fbf['push'](_0x431fbf['shift']());}}}(a0_0x2297,0x2f5d4));import a0_0x56f171 from'graphql-tag';import{css}from'lit';function a0_0x5348(_0x3db1f5,_0x10125f){const _0x22976d=a0_0x2297();return a0_0x5348=function(_0x534894,_0x512e38){_0x534894=_0x534894-0x1d3;let _0x8a66b5=_0x22976d[_0x534894];return _0x8a66b5;},a0_0x5348(_0x3db1f5,_0x10125f);}import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';export const MetaActivityMixin=_0x145242=>class extends _0x145242{static get[a0_0x493c3e(0x1d7)](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x493c3e(0x1f6)](){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_0x24c455(0x6f)](){const _0xb0d29f=a0_0x24c455;await this['getActivity'](),await super[_0xb0d29f(0x6f)]();}async[a0_0x24c455(0x99)](){const _0x11cfa2=a0_0x24c455,_0x46c93e=await client['query']({'query':a0_0x4c92b4`
8
+ `;}async[a0_0x493c3e(0x1f1)](){const _0x26283e=a0_0x493c3e;await this['getActivity'](),await super[_0x26283e(0x1f1)]();}async[a0_0x493c3e(0x1e5)](){const _0x5d772e=a0_0x493c3e,_0x49ce95=await client['query']({'query':a0_0x56f171`
9
9
  query activity($id: String!) {
10
10
  activity(id: $id) {
11
11
  id
@@ -15,4 +15,4 @@ const a0_0x24c455=a0_0x1da9;function a0_0x14c0(){const _0x229ebb=['endsWith','4q
15
15
  }
16
16
  }
17
17
  }
18
- `,'variables':{'id':this[_0x11cfa2(0x7d)]}});let _0x527878;this[_0x11cfa2(0x73)]=_0x46c93e[_0x11cfa2(0x84)][_0x11cfa2(0x73)],this[_0x11cfa2(0x73)][_0x11cfa2(0x90)]?.[_0x11cfa2(0x76)](_0x41b62d=>{const _0x2745c4=_0x11cfa2;_0x2745c4(0x80)==_0x41b62d['name']&&(_0x527878=JSON[_0x2745c4(0x9b)](_0x41b62d[_0x2745c4(0x86)]));}),this[_0x11cfa2(0x83)]=_0x527878,await this['getMenuInfo'](this[_0x11cfa2(0x83)]['id'],this[_0x11cfa2(0x83)][_0x11cfa2(0x85)]);}async[a0_0x24c455(0x98)](_0x5db421,_0x1ab1f5){const _0x480efa=a0_0x24c455;let _0x48069c=[{'name':'id','operator':'eq','value':_0x5db421}],_0x190faa=await ServiceUtil[_0x480efa(0x8e)]('menus',_0x48069c,null,0x0,0x0,_0x480efa(0x72));if(!_0x190faa&&0x0==_0x190faa[_0x480efa(0x96)]){let _0xa1918a=TermsUtil[_0x480efa(0x9a)](_0x480efa(0x7f),{'value':TermsUtil[_0x480efa(0x78)](_0x480efa(0x6e))+'\x20'+_0x1ab1f5});throw MetaApi[_0x480efa(0x71)](_0x480efa(0x82),_0xa1918a),new Error(_0xa1918a);}let _0xebe76c=_0x190faa[_0x480efa(0x7c)][0x0];_0xebe76c['tagName']=_0xebe76c[_0x480efa(0x7a)][_0x480efa(0x8a)](_0x480efa(0x8d))?_0xebe76c[_0x480efa(0x7a)][_0x480efa(0x92)](_0x480efa(0x8d),_0x480efa(0x8c)):_0xebe76c[_0x480efa(0x7a)],_0xebe76c['resourceUrl']=_0xebe76c[_0x480efa(0x87)][_0x480efa(0x92)](_0xebe76c[_0x480efa(0x7a)],_0xebe76c[_0x480efa(0x81)]),Object[_0x480efa(0x97)](this[_0x480efa(0x83)],_0xebe76c);}};
18
+ `,'variables':{'id':this[_0x5d772e(0x1ea)]}});let _0x1d9e1d;this['activity']=_0x49ce95[_0x5d772e(0x1e4)][_0x5d772e(0x1e9)],this['activity'][_0x5d772e(0x1df)]?.[_0x5d772e(0x1f3)](_0x3c59a4=>{const _0x13c667=_0x5d772e;_0x13c667(0x1f4)==_0x3c59a4[_0x13c667(0x1ed)]&&(_0x1d9e1d=JSON[_0x13c667(0x1f8)](_0x3c59a4[_0x13c667(0x1f5)]));}),this['relationMenu']=_0x1d9e1d,await this['getMenuInfo'](this[_0x5d772e(0x1e0)]['id'],this[_0x5d772e(0x1e0)]['routing']);}async[a0_0x493c3e(0x1f7)](_0x2a7065,_0xe3137b){const _0x19ed36=a0_0x493c3e;let _0x50eb1a=[{'name':'id','operator':'eq','value':_0x2a7065}],_0x40facc=await ServiceUtil[_0x19ed36(0x1e8)]('menus',_0x50eb1a,null,0x0,0x0,'id,category,resourceUrl');if(!_0x40facc&&0x0==_0x40facc[_0x19ed36(0x1f2)]){let _0x5518e5=TermsUtil[_0x19ed36(0x1dd)](_0x19ed36(0x1f9),{'value':TermsUtil[_0x19ed36(0x1e1)]('menu')+'\x20'+_0xe3137b});throw MetaApi[_0x19ed36(0x1ee)](_0x19ed36(0x1e2),_0x5518e5),new Error(_0x5518e5);}let _0x3c9c6a=_0x40facc['records'][0x0];_0x3c9c6a[_0x19ed36(0x1f0)]=_0x3c9c6a['category']['endsWith']('-page')?_0x3c9c6a[_0x19ed36(0x1da)][_0x19ed36(0x1de)](_0x19ed36(0x1d6),_0x19ed36(0x1eb)):_0x3c9c6a[_0x19ed36(0x1da)],_0x3c9c6a[_0x19ed36(0x1db)]=_0x3c9c6a['resourceUrl']['replace'](_0x3c9c6a['category'],_0x3c9c6a['tagName']),Object[_0x19ed36(0x1d8)](this[_0x19ed36(0x1e0)],_0x3c9c6a);}};function a0_0x2297(){const _0x1980b9=['198BvFFaU','tagName','connectedCallback','length','forEach','relation-menu','description','styles','getMenuInfo','parse','value_is_not_exist','27707hnpciw','10OoPpJD','72YQvecj','13495XTiWKi','100600KSaMSp','-page','properties','assign','1853803MIGgtm','category','resourceUrl','459444IprkIr','tText','replace','model','relationMenu','tMenu','info','534oaLXRx','data','getActivity','3Vilovo','3377280WwTRlt','searchByPagination','activity','activityId','-element','455184uxPTuq','name','showToast'];a0_0x2297=function(){return _0x1980b9;};return a0_0x2297();}