@things-factory/meta-ui 6.0.134 → 6.0.135

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 (79) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  3. package/client/component/filter/filter-grist-resource-code-select.js +9 -9
  4. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  5. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  6. package/client/component/selector/ox-resource-code-selector-popup.js +11 -11
  7. package/client/mixin/meta-base-mixin.js +1 -1
  8. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  9. package/client/mixin/meta-button-mixin.js +1 -1
  10. package/client/mixin/meta-form-mixin.js +1 -1
  11. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  12. package/client/mixin/meta-main-tab-mixin.js +1 -1
  13. package/client/mixin/meta-master-detail-mixin.js +1 -1
  14. package/client/mixin/meta-service-mixin.js +1 -1
  15. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  16. package/client/mixin/meta-tab-mixin.js +1 -1
  17. package/client/pages/activity/meta-activity-list-page.js +6 -6
  18. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  19. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  20. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  21. package/client/pages/entity/config-entity.js +29 -29
  22. package/client/pages/entity/main-menu-selector.js +8 -8
  23. package/client/pages/history/history-copy-list-popup.js +5 -5
  24. package/client/pages/history/history-json-list-popup.js +6 -6
  25. package/client/pages/loading-page.js +5 -5
  26. package/client/pages/menu/dynamic-menu-template.js +7 -7
  27. package/client/pages/menu/dynamic-menu.js +15 -15
  28. package/client/pages/meta-form-element.js +1 -1
  29. package/client/pages/meta-grist-element.js +1 -1
  30. package/client/pages/meta-grist-page.js +1 -1
  31. package/client/pages/meta-grist-tab-element.js +1 -1
  32. package/client/pages/meta-grist-tab-page.js +1 -1
  33. package/client/pages/meta-main-tab-element.js +1 -1
  34. package/client/pages/meta-main-tab-page.js +1 -1
  35. package/client/pages/meta-master-detail-element.js +1 -1
  36. package/client/pages/meta-master-detail-page.js +1 -1
  37. package/client/pages/meta-tab-detail-element.js +1 -1
  38. package/client/pages/meta-tab-detail-page.js +1 -1
  39. package/client/pages/meta-tab-element.js +1 -1
  40. package/client/pages/personalize/personal-column-selector.js +11 -11
  41. package/client/pages/terms/config-terminology.js +6 -6
  42. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  43. package/client/pages/work-code/work-code-page.js +1 -1
  44. package/client/reducers/main.js +1 -1
  45. package/client/utils/meta-api.js +1 -1
  46. package/client/utils/meta-crypto.js +1 -1
  47. package/client/utils/meta-ui-util.js +103 -103
  48. package/client/utils/service-util.js +13 -13
  49. package/client/utils/terms-util.js +2 -2
  50. package/client/utils/ui-util.js +1 -1
  51. package/client/utils/value-util.js +1 -1
  52. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  53. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  54. package/client/viewparts/dynamic-menu-part.js +12 -12
  55. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  56. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  57. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  58. package/package.json +2 -2
  59. package/server/activity/CommonActivity.js +2 -2
  60. package/server/constants/error-code.js +1 -1
  61. package/server/errors/license-error.js +1 -1
  62. package/server/routes.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  64. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  65. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  66. package/server/service/grid-personalize/grid-personalize.js +1 -1
  67. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  68. package/server/service/meta-activity/meta-activity-query.js +1 -1
  69. package/server/service/meta-activity/meta-activity-type.js +1 -1
  70. package/server/service/meta-secret/meta-resolver.js +1 -1
  71. package/server/service/set-translations/set-translation-resolver.js +1 -1
  72. package/server/service/work-code/work-code-mutation.js +1 -1
  73. package/server/service/work-code/work-code-query.js +1 -1
  74. package/server/service/work-code/work-code-type.js +1 -1
  75. package/server/service/work-code/work-code.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  77. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  78. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  79. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1 +1 @@
1
- const a0_0x3b05fc=a0_0x28d6;(function(_0x5b03f4,_0x598ad3){const _0x25988d=a0_0x28d6,_0x3a5505=_0x5b03f4();while(!![]){try{const _0x557b6c=-parseInt(_0x25988d(0x1ff))/0x1+-parseInt(_0x25988d(0x224))/0x2+parseInt(_0x25988d(0x21e))/0x3+-parseInt(_0x25988d(0x1fb))/0x4+-parseInt(_0x25988d(0x208))/0x5*(-parseInt(_0x25988d(0x216))/0x6)+-parseInt(_0x25988d(0x20c))/0x7+parseInt(_0x25988d(0x22c))/0x8;if(_0x557b6c===_0x598ad3)break;else _0x3a5505['push'](_0x3a5505['shift']());}catch(_0x2aafb5){_0x3a5505['push'](_0x3a5505['shift']());}}}(a0_0x25f5,0x798fe));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_0x28d6(_0xcb8407,_0x158218){const _0x25f55e=a0_0x25f5();return a0_0x28d6=function(_0x28d62d,_0x32a19c){_0x28d62d=_0x28d62d-0x1ed;let _0x2c53f3=_0x25f55e[_0x28d62d];return _0x2c53f3;},a0_0x28d6(_0xcb8407,_0x158218);}function a0_0x25f5(){const _0x16f51f=['isNotEmpty','ox-grist','6975JkMAbH','gridConfig','properties','grid_column','1025528nxpNRl','isPage','deleteByIds','parseBasicGridConfigs','menuInfo','filterFormId','getContextObject','pageInitialized','operator','getSelectedIdList','2184URIjAp','grist','activityDataSet','context','shadowRoot','exportable','gristConfigSet','type','411804vwfjuo','grid','firstUpdated','#detail','search','actions','287040dRXKbk','querySelector','find','useFilterForm','forEach','exportableData','stringify','searchFields','9373056bmMLdu','value','isElement','patchesForUpdateMultiple','getParams','delete','records','clear','connectedCallback','parse','renderRoot','getData','record','ox-filters-form-base','searchFieldValues','filterForm','name','fetch','findOne','importable','useMasterFilterForm','styles','beforeFetch','columns','startsWith','save','parseGristConfigs','detailElement','2376288iVsLTU','options','push','searchConfig','434666LeclkK','main','gristId','title','dataSet','filter','___data'];a0_0x25f5=function(){return _0x16f51f;};return a0_0x25f5();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x386f4d=>class extends MetaButtonMixin(_0x386f4d){static get[a0_0x3b05fc(0x1f4)](){return MetaApi['getBasicGristTabStyles']();}static get[a0_0x3b05fc(0x20a)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0x1790ff=a0_0x3b05fc;return this['renderRoot'][_0x1790ff(0x225)](this[_0x1790ff(0x201)]);}get[a0_0x3b05fc(0x1ee)](){const _0x16a96d=a0_0x3b05fc;return this[_0x16a96d(0x21a)]?.[_0x16a96d(0x225)](this['filterFormId']);}get[a0_0x3b05fc(0x1fa)](){const _0x44934a=a0_0x3b05fc;return this[_0x44934a(0x21a)][_0x44934a(0x225)](_0x44934a(0x221));}get[a0_0x3b05fc(0x219)](){const _0x1a996b=a0_0x3b05fc;let _0x269aee=MetaUiUtil[_0x1a996b(0x212)](this);return _0x269aee[_0x1a996b(0x223)]&&delete _0x269aee[_0x1a996b(0x223)],_0x269aee[_0x1a996b(0x21b)]&&delete _0x269aee[_0x1a996b(0x21b)],_0x269aee[_0x1a996b(0x1f2)]&&delete _0x269aee['importable'],_0x269aee;}async[a0_0x3b05fc(0x234)](){const _0x3bb2ff=a0_0x3b05fc;this[_0x3bb2ff(0x201)]=_0x3bb2ff(0x207),this[_0x3bb2ff(0x211)]=_0x3bb2ff(0x239),await this['getAndParseMenuMeta'](),this[_0x3bb2ff(0x22e)]&&await this[_0x3bb2ff(0x1f9)](),this['activityDataSet']&&(this[_0x3bb2ff(0x203)]=(this[_0x3bb2ff(0x218)]||{})[_0x3bb2ff(0x200)]),super[_0x3bb2ff(0x234)]&&await super[_0x3bb2ff(0x234)]();}async['firstUpdated'](){const _0x193aa7=a0_0x3b05fc;super[_0x193aa7(0x220)]&&await super['firstUpdated']();}async[a0_0x3b05fc(0x213)](){const _0x553be3=a0_0x3b05fc;this[_0x553be3(0x20d)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x553be3(0x213)]();}['render'](){return MetaApi['getGristTabHtml'](this);}[a0_0x3b05fc(0x20f)](_0x13e72e){const _0xf79a32=a0_0x3b05fc;this[_0xf79a32(0x209)]=_0x13e72e[_0xf79a32(0x21f)],this['gridColumnConfig']=_0x13e72e[_0xf79a32(0x20b)],this[_0xf79a32(0x1fe)]=_0x13e72e[_0xf79a32(0x222)];}async['parseGristConfigs'](){const _0x46757f=a0_0x3b05fc;this[_0x46757f(0x21c)]=await MetaApi['parseGridConfigSet'](this),this[_0x46757f(0x1f3)]=!0x0===this['useFilterForm'],this[_0x46757f(0x227)]=!0x1,this[_0x46757f(0x1ed)]=[],this[_0x46757f(0x22b)]=this[_0x46757f(0x21c)][_0x46757f(0x1f6)][_0x46757f(0x204)](_0x497bb0=>_0x497bb0[_0x46757f(0x204)])['map'](_0x154eed=>{const _0x38317f=_0x46757f;let _0x3e4f56={'name':_0x154eed[_0x38317f(0x1ef)],'type':'search'===_0x154eed[_0x38317f(0x204)][_0x38317f(0x214)]?_0x38317f(0x222):_0x154eed[_0x38317f(0x21d)],'label':_0x154eed['header'],'operator':_0x154eed[_0x38317f(0x204)]['operator']?_0x154eed[_0x38317f(0x204)][_0x38317f(0x214)]:'eq'};return _0x154eed[_0x38317f(0x204)][_0x38317f(0x1fc)]&&(_0x3e4f56[_0x38317f(0x1fc)]=_0x154eed[_0x38317f(0x204)][_0x38317f(0x1fc)]),_0x154eed[_0x38317f(0x238)][_0x38317f(0x1fc)]&&(_0x3e4f56[_0x38317f(0x1fc)]=_0x154eed[_0x38317f(0x238)][_0x38317f(0x1fc)]),_0x154eed[_0x38317f(0x204)][_0x38317f(0x22d)]&&this[_0x38317f(0x1ed)][_0x38317f(0x1fd)]({'name':_0x3e4f56[_0x38317f(0x1ef)],'operator':_0x3e4f56[_0x38317f(0x214)],'value':_0x154eed[_0x38317f(0x204)][_0x38317f(0x22d)]}),delete _0x154eed[_0x38317f(0x204)],_0x3e4f56;});}async[a0_0x3b05fc(0x1f0)](){const _0x16ac1f=a0_0x3b05fc;await this[_0x16ac1f(0x217)][_0x16ac1f(0x1f0)]();}async[a0_0x3b05fc(0x1f5)]({page:_0x43c8ae=0x0,limit:_0x2851b8=0x0,sortings:_0x44180d=[],filters:_0x12f258=[]}){const _0x19f380=a0_0x3b05fc;let _0xf9d7d6=this[_0x19f380(0x236)]['querySelector']('meta-tab-element');return await _0xf9d7d6[_0x19f380(0x233)](),!0x0;}async[a0_0x3b05fc(0x1f8)](){const _0x8792cf=a0_0x3b05fc;let _0x313313=MetaApi[_0x8792cf(0x22f)](this[_0x8792cf(0x217)]);!!ValueUtil[_0x8792cf(0x206)](_0x313313)&&await this['updateMultiple'](_0x313313)&&this['fetch']();}async[a0_0x3b05fc(0x226)](){const _0x3a28da=a0_0x3b05fc;let _0x3c3e67=MetaApi[_0x3a28da(0x215)](this[_0x3a28da(0x217)],!0x0);return ValueUtil[_0x3a28da(0x206)](_0x3c3e67)?await this[_0x3a28da(0x1f1)](_0x3c3e67[0x0]):{};}async[a0_0x3b05fc(0x231)](){const _0x46bc0e=a0_0x3b05fc;let _0x5433d0=MetaApi[_0x46bc0e(0x215)](this[_0x46bc0e(0x217)],!0x0);!!ValueUtil[_0x46bc0e(0x206)](_0x5433d0)&&await this[_0x46bc0e(0x20e)](_0x5433d0)&&this[_0x46bc0e(0x1f0)]();}async['export'](){const _0x43e247=a0_0x3b05fc;let _0x2939b5=TermsUtil['tTitle'](ValueUtil[_0x43e247(0x230)](this[_0x43e247(0x210)],_0x43e247(0x202)));return await MetaApi[_0x43e247(0x229)](this[_0x43e247(0x22e)],_0x2939b5,this['grist']);}async['import'](){}['getData'](){const _0x34f416=a0_0x3b05fc;let _0x37d67a=this[_0x34f416(0x217)][_0x34f416(0x205)][_0x34f416(0x232)];return _0x37d67a=JSON[_0x34f416(0x235)](JSON[_0x34f416(0x22a)](_0x37d67a)),_0x37d67a[_0x34f416(0x228)](_0x1c3982=>{const _0x2263e7=_0x34f416;Object['keys'](_0x1c3982)[_0x2263e7(0x228)](_0x25f047=>{const _0x381e4c=_0x2263e7;_0x25f047[_0x381e4c(0x1f7)]('__')&&delete _0x1c3982[_0x25f047];});}),{'main':_0x37d67a,'detail':this[_0x34f416(0x236)][_0x34f416(0x225)]('meta-tab-element')[_0x34f416(0x237)]()};}};
1
+ const a0_0x3b8349=a0_0x3027;(function(_0x27588a,_0x4b8dde){const _0x3c5976=a0_0x3027,_0x4aab1f=_0x27588a();while(!![]){try{const _0x4eeee4=-parseInt(_0x3c5976(0x152))/0x1*(-parseInt(_0x3c5976(0x155))/0x2)+parseInt(_0x3c5976(0x159))/0x3*(-parseInt(_0x3c5976(0x172))/0x4)+-parseInt(_0x3c5976(0x17b))/0x5*(-parseInt(_0x3c5976(0x13f))/0x6)+-parseInt(_0x3c5976(0x160))/0x7+-parseInt(_0x3c5976(0x16b))/0x8*(parseInt(_0x3c5976(0x14c))/0x9)+-parseInt(_0x3c5976(0x16c))/0xa+parseInt(_0x3c5976(0x182))/0xb*(parseInt(_0x3c5976(0x147))/0xc);if(_0x4eeee4===_0x4b8dde)break;else _0x4aab1f['push'](_0x4aab1f['shift']());}catch(_0x4d6718){_0x4aab1f['push'](_0x4aab1f['shift']());}}}(a0_0x1d32,0x4bfff));function a0_0x1d32(){const _0x5ca19c=['pageInitialized','isPage','deleteByIds','actions','parse','grid','find','gristId','properties','value','21426LdLaoO','name','exportable','#detail','menuInfo','connectedCallback','firstUpdated','parseBasicGridConfigs','13696464wmzHGW','forEach','delete','operator','tTitle','369lQQzhx','options','getData','isNotEmpty','___data','grist','114wDzZlK','isElement','type','6250WMzwnv','ox-filters-form-base','clear','dataSet','204012qzTPPm','getParams','getBasicGristTabStyles','getAndParseMenuMeta','title','detailElement','save','3225740hLFwKZ','fetch','querySelector','records','gridColumnConfig','parseGristConfigs','searchFieldValues','render','filterForm','ox-grist','filterFormId','52144ndgiOj','4071900EvlzAI','gristConfigSet','import','columns','renderRoot','updateMultiple','28AWvVDh','importable','useFilterForm','exportableData','push','record','filter','getSelectedIdList','parseGridConfigSet','595TNAstH','stringify','beforeFetch','patchesForUpdateMultiple','styles','getGristTabHtml','search','11PLpkrO','grid_column'];a0_0x1d32=function(){return _0x5ca19c;};return a0_0x1d32();}import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x3027(_0x3025b5,_0x4b6900){const _0x1d3282=a0_0x1d32();return a0_0x3027=function(_0x302790,_0x504169){_0x302790=_0x302790-0x136;let _0x1d3b26=_0x1d3282[_0x302790];return _0x1d3b26;},a0_0x3027(_0x3025b5,_0x4b6900);}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=_0xa7d958=>class extends MetaButtonMixin(_0xa7d958){static get[a0_0x3b8349(0x17f)](){const _0x2003e9=a0_0x3b8349;return MetaApi[_0x2003e9(0x15b)]();}static get[a0_0x3b8349(0x13d)](){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_0x3b8349(0x151)](){const _0x4e09e8=a0_0x3b8349;return this['renderRoot'][_0x4e09e8(0x162)](this['gristId']);}get[a0_0x3b8349(0x168)](){return this['shadowRoot']?.['querySelector'](this['filterFormId']);}get[a0_0x3b8349(0x15e)](){const _0x440ab4=a0_0x3b8349;return this['shadowRoot'][_0x440ab4(0x162)](_0x440ab4(0x142));}get['context'](){const _0x57d932=a0_0x3b8349;let _0x315dc3=MetaUiUtil['getContextObject'](this);return _0x315dc3[_0x57d932(0x138)]&&delete _0x315dc3[_0x57d932(0x138)],_0x315dc3[_0x57d932(0x141)]&&delete _0x315dc3['exportable'],_0x315dc3[_0x57d932(0x173)]&&delete _0x315dc3[_0x57d932(0x173)],_0x315dc3;}async['connectedCallback'](){const _0x2236ac=a0_0x3b8349;this[_0x2236ac(0x13c)]=_0x2236ac(0x169),this[_0x2236ac(0x16a)]=_0x2236ac(0x156),await this[_0x2236ac(0x15c)](),this[_0x2236ac(0x153)]&&await this[_0x2236ac(0x165)](),this['activityDataSet']&&(this[_0x2236ac(0x158)]=(this['activityDataSet']||{})['main']),super[_0x2236ac(0x144)]&&await super[_0x2236ac(0x144)]();}async[a0_0x3b8349(0x145)](){const _0x181b6e=a0_0x3b8349;super[_0x181b6e(0x145)]&&await super[_0x181b6e(0x145)]();}async['pageInitialized'](){const _0x587b97=a0_0x3b8349;this[_0x587b97(0x136)]&&await this[_0x587b97(0x165)](),super[_0x587b97(0x184)]&&await super['pageInitialized']();}[a0_0x3b8349(0x167)](){const _0x1662a5=a0_0x3b8349;return MetaApi[_0x1662a5(0x180)](this);}[a0_0x3b8349(0x146)](_0x6e2034){const _0x1f2dd9=a0_0x3b8349;this['gridConfig']=_0x6e2034[_0x1f2dd9(0x13a)],this[_0x1f2dd9(0x164)]=_0x6e2034[_0x1f2dd9(0x183)],this['searchConfig']=_0x6e2034[_0x1f2dd9(0x181)];}async[a0_0x3b8349(0x165)](){const _0x324689=a0_0x3b8349;this[_0x324689(0x16d)]=await MetaApi[_0x324689(0x17a)](this),this['useMasterFilterForm']=!0x0===this[_0x324689(0x174)],this[_0x324689(0x174)]=!0x1,this[_0x324689(0x166)]=[],this['searchFields']=this[_0x324689(0x16d)][_0x324689(0x16f)][_0x324689(0x178)](_0x27d26d=>_0x27d26d[_0x324689(0x178)])['map'](_0x461ffd=>{const _0x3999dc=_0x324689;let _0x158602={'name':_0x461ffd[_0x3999dc(0x140)],'type':'search'===_0x461ffd['filter'][_0x3999dc(0x14a)]?_0x3999dc(0x181):_0x461ffd[_0x3999dc(0x154)],'label':_0x461ffd['header'],'operator':_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x14a)]?_0x461ffd[_0x3999dc(0x178)]['operator']:'eq'};return _0x461ffd['filter'][_0x3999dc(0x14d)]&&(_0x158602[_0x3999dc(0x14d)]=_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x14d)]),_0x461ffd[_0x3999dc(0x177)][_0x3999dc(0x14d)]&&(_0x158602[_0x3999dc(0x14d)]=_0x461ffd[_0x3999dc(0x177)]['options']),_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x13e)]&&this[_0x3999dc(0x166)][_0x3999dc(0x176)]({'name':_0x158602[_0x3999dc(0x140)],'operator':_0x158602['operator'],'value':_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x13e)]}),delete _0x461ffd[_0x3999dc(0x178)],_0x158602;});}async[a0_0x3b8349(0x161)](){const _0x21e9be=a0_0x3b8349;await this[_0x21e9be(0x151)]['fetch']();}async[a0_0x3b8349(0x17d)]({page:_0x2c998e=0x0,limit:_0x273977=0x0,sortings:_0x161d11=[],filters:_0x416029=[]}){const _0xa2636f=a0_0x3b8349;let _0x59842e=this[_0xa2636f(0x170)]['querySelector']('meta-tab-element');return await _0x59842e[_0xa2636f(0x157)](),!0x0;}async[a0_0x3b8349(0x15f)](){const _0x29f5c3=a0_0x3b8349;let _0x2c1e80=MetaApi[_0x29f5c3(0x17e)](this['grist']);!!ValueUtil[_0x29f5c3(0x14f)](_0x2c1e80)&&await this[_0x29f5c3(0x171)](_0x2c1e80)&&this[_0x29f5c3(0x161)]();}async[a0_0x3b8349(0x13b)](){const _0x223468=a0_0x3b8349;let _0x4ceb77=MetaApi[_0x223468(0x179)](this[_0x223468(0x151)],!0x0);return ValueUtil['isNotEmpty'](_0x4ceb77)?await this['findOne'](_0x4ceb77[0x0]):{};}async[a0_0x3b8349(0x149)](){const _0x4d460e=a0_0x3b8349;let _0x1f6412=MetaApi[_0x4d460e(0x179)](this[_0x4d460e(0x151)],!0x0);!!ValueUtil['isNotEmpty'](_0x1f6412)&&await this[_0x4d460e(0x137)](_0x1f6412)&&this[_0x4d460e(0x161)]();}async['export'](){const _0x59cfcc=a0_0x3b8349;let _0x51670e=TermsUtil[_0x59cfcc(0x14b)](ValueUtil[_0x59cfcc(0x15a)](this[_0x59cfcc(0x143)],_0x59cfcc(0x15d)));return await MetaApi[_0x59cfcc(0x175)](this[_0x59cfcc(0x153)],_0x51670e,this['grist']);}async[a0_0x3b8349(0x16e)](){}[a0_0x3b8349(0x14e)](){const _0x1283d5=a0_0x3b8349;let _0xd34a9=this[_0x1283d5(0x151)][_0x1283d5(0x150)][_0x1283d5(0x163)];return _0xd34a9=JSON[_0x1283d5(0x139)](JSON[_0x1283d5(0x17c)](_0xd34a9)),_0xd34a9[_0x1283d5(0x148)](_0x2d6666=>{const _0x447033=_0x1283d5;Object['keys'](_0x2d6666)[_0x447033(0x148)](_0x3c86d4=>{_0x3c86d4['startsWith']('__')&&delete _0x2d6666[_0x3c86d4];});}),{'main':_0xd34a9,'detail':this[_0x1283d5(0x170)][_0x1283d5(0x162)]('meta-tab-element')[_0x1283d5(0x14e)]()};}};
@@ -1 +1 @@
1
- const a0_0x101966=a0_0x6552;(function(_0x14c4eb,_0x581b73){const _0x1dcdfe=a0_0x6552,_0x3d6cd6=_0x14c4eb();while(!![]){try{const _0x5dd923=parseInt(_0x1dcdfe(0x14b))/0x1+-parseInt(_0x1dcdfe(0x14f))/0x2*(parseInt(_0x1dcdfe(0x14c))/0x3)+parseInt(_0x1dcdfe(0x127))/0x4+parseInt(_0x1dcdfe(0x135))/0x5*(-parseInt(_0x1dcdfe(0x158))/0x6)+parseInt(_0x1dcdfe(0x12b))/0x7*(parseInt(_0x1dcdfe(0x15e))/0x8)+-parseInt(_0x1dcdfe(0x148))/0x9*(-parseInt(_0x1dcdfe(0x150))/0xa)+parseInt(_0x1dcdfe(0x146))/0xb*(-parseInt(_0x1dcdfe(0x142))/0xc);if(_0x5dd923===_0x581b73)break;else _0x3d6cd6['push'](_0x3d6cd6['shift']());}catch(_0x4d8835){_0x3d6cd6['push'](_0x3d6cd6['shift']());}}}(a0_0x34b3,0x6fe82));import{html}from'lit';function a0_0x34b3(){const _0x544f69=['push','buttonConfig','fetch','1025quMhUs','masterElement','exportable','grid_column','value','columns','activityDataSet','useFilterForm','actions','gridColumnConfig','render','grid','search','6431124bwYFAx','filterFormId','styles','connectedCallback','11ipBEmV','header','207TTawjU','getData','searchFieldValues','77487hFyGEn','68313MOYgnw','record','importable','26yQIrQb','164390cMPRag','parseGristConfigs','filter','getMainGrist','gristConfigSet','type','getMainTabHtml','ox-grist','3294XAqFvP','useMasterFilterForm','isElement','firstUpdated','querySelector','parseBasicGridConfigs','8hdPeIq','2248152JrWiQZ','gridConfig','clear','pageInitialized','2696701pLjlkg','operator','dataSet','name','grist','options','beforeFetch'];a0_0x34b3=function(){return _0x544f69;};return a0_0x34b3();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x6552(_0x14693f,_0x2e27ee){const _0x34b32d=a0_0x34b3();return a0_0x6552=function(_0x6552aa,_0x474163){_0x6552aa=_0x6552aa-0x127;let _0x263ae8=_0x34b32d[_0x6552aa];return _0x263ae8;},a0_0x6552(_0x14693f,_0x2e27ee);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x20636e=>class extends MetaButtonMixin(_0x20636e){static get[a0_0x101966(0x144)](){return MetaApi['getBasicMainTabStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x101966(0x12f)](){const _0x4464b4=a0_0x101966;return this['masterElement'][_0x4464b4(0x153)]();}get['filterForm'](){const _0x395f35=a0_0x101966;return this['shadowRoot']?.[_0x395f35(0x15c)](this[_0x395f35(0x143)]);}get['context'](){const _0x27f341=a0_0x101966;let _0x4cf08f=MetaUiUtil['getContextObject'](this);return _0x4cf08f[_0x27f341(0x13d)]&&delete _0x4cf08f[_0x27f341(0x13d)],_0x4cf08f[_0x27f341(0x137)]&&delete _0x4cf08f[_0x27f341(0x137)],_0x4cf08f[_0x27f341(0x14e)]&&delete _0x4cf08f[_0x27f341(0x14e)],_0x4cf08f;}async[a0_0x101966(0x145)](){const _0x50ee2d=a0_0x101966;this['gristId']=_0x50ee2d(0x157),this[_0x50ee2d(0x143)]='ox-filters-form-base',await this['getAndParseMenuMeta'](),this[_0x50ee2d(0x15a)]&&await this[_0x50ee2d(0x151)](),this[_0x50ee2d(0x13b)]&&(this[_0x50ee2d(0x12d)]=(this[_0x50ee2d(0x13b)]||{})['main']),super[_0x50ee2d(0x145)]&&await super[_0x50ee2d(0x145)]();}async[a0_0x101966(0x15b)](){const _0x1af5da=a0_0x101966;super[_0x1af5da(0x15b)]&&await super['firstUpdated']();}async[a0_0x101966(0x12a)](){const _0x36011e=a0_0x101966;this['isPage']&&await this[_0x36011e(0x151)](),super[_0x36011e(0x12a)]&&await super[_0x36011e(0x12a)]();}[a0_0x101966(0x13f)](){const _0x39b26b=a0_0x101966;return MetaApi[_0x39b26b(0x156)](this);}[a0_0x101966(0x15d)](_0x5c329f){const _0x53b39e=a0_0x101966;this[_0x53b39e(0x128)]=_0x5c329f[_0x53b39e(0x140)],this[_0x53b39e(0x13e)]=_0x5c329f[_0x53b39e(0x138)],this['searchConfig']=_0x5c329f[_0x53b39e(0x141)];}async[a0_0x101966(0x151)](){const _0x1f12f3=a0_0x101966;this[_0x1f12f3(0x154)]=await MetaApi['parseGridConfigSet'](this),this[_0x1f12f3(0x159)]=!0x0===this[_0x1f12f3(0x13c)],this[_0x1f12f3(0x13c)]=!0x1,this[_0x1f12f3(0x133)]=void 0x0,this['useButtonExport']=!0x1,this['useButtonImport']=!0x1,this[_0x1f12f3(0x14a)]=[],this['searchFields']=this[_0x1f12f3(0x154)][_0x1f12f3(0x13a)][_0x1f12f3(0x152)](_0x36c963=>_0x36c963[_0x1f12f3(0x152)])['map'](_0x46985e=>{const _0x3825f5=_0x1f12f3;let _0xa57c54={'name':_0x46985e[_0x3825f5(0x12e)],'type':_0x3825f5(0x141)===_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x12c)]?_0x3825f5(0x141):_0x46985e[_0x3825f5(0x155)],'label':_0x46985e[_0x3825f5(0x147)],'operator':_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x12c)]?_0x46985e[_0x3825f5(0x152)]['operator']:'eq'};return _0x46985e['filter'][_0x3825f5(0x130)]&&(_0xa57c54['options']=_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x130)]),_0x46985e[_0x3825f5(0x14d)]['options']&&(_0xa57c54[_0x3825f5(0x130)]=_0x46985e[_0x3825f5(0x14d)][_0x3825f5(0x130)]),_0x46985e[_0x3825f5(0x152)][_0x3825f5(0x139)]&&this[_0x3825f5(0x14a)][_0x3825f5(0x132)]({'name':_0xa57c54[_0x3825f5(0x12e)],'operator':_0xa57c54[_0x3825f5(0x12c)],'value':_0x46985e['filter'][_0x3825f5(0x139)]}),delete _0x46985e['filter'],_0xa57c54;});}async['fetch'](){const _0x29988=a0_0x101966;await this[_0x29988(0x12f)][_0x29988(0x134)]();}async[a0_0x101966(0x131)]({page:_0x4735e3=0x0,limit:_0x13ccfb=0x0,sortings:_0x12d8eb=[],filters:_0x548878=[]}){const _0xb7b15e=a0_0x101966;return this[_0xb7b15e(0x136)]&&this[_0xb7b15e(0x136)][_0xb7b15e(0x129)]&&await this[_0xb7b15e(0x136)][_0xb7b15e(0x129)](),!0x0;}[a0_0x101966(0x149)](){const _0x512d6c=a0_0x101966;return{'master':this[_0x512d6c(0x136)]['getData']()};}};
1
+ const a0_0x3bfe20=a0_0x11af;(function(_0x2a16fa,_0x4e6419){const _0xaaa66=a0_0x11af,_0x3bf694=_0x2a16fa();while(!![]){try{const _0x52ac23=parseInt(_0xaaa66(0x159))/0x1*(-parseInt(_0xaaa66(0x186))/0x2)+parseInt(_0xaaa66(0x150))/0x3+-parseInt(_0xaaa66(0x17a))/0x4+parseInt(_0xaaa66(0x167))/0x5*(-parseInt(_0xaaa66(0x16a))/0x6)+-parseInt(_0xaaa66(0x179))/0x7*(parseInt(_0xaaa66(0x16b))/0x8)+parseInt(_0xaaa66(0x17e))/0x9+parseInt(_0xaaa66(0x177))/0xa;if(_0x52ac23===_0x4e6419)break;else _0x3bf694['push'](_0x3bf694['shift']());}catch(_0x2e5c33){_0x3bf694['push'](_0x3bf694['shift']());}}}(a0_0x3612,0xc1b04));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3612(){const _0x21c986=['parseGristConfigs','search','styles','145985hUWXMv','getAndParseMenuMeta','grist','324RxOcbK','3917032XEOnLq','fetch','connectedCallback','getMainTabHtml','gridColumnConfig','getMainGrist','gristId','querySelector','filter','gristConfigSet','getData','firstUpdated','27671360tnapVe','masterElement','21DAQcjH','6049632hSDsRX','clear','searchFieldValues','parseBasicGridConfigs','12794409lCdzCm','shadowRoot','operator','render','useButtonExport','header','activityDataSet','filterForm','14EMIalE','isPage','context','useFilterForm','main','type','value','4410435SnfHcg','beforeFetch','useMasterFilterForm','options','searchConfig','name','record','getBasicMainTabStyles','importable','43943UluaJg','useButtonImport','searchFields','filterFormId','pageInitialized','ox-grist','actions','properties','dataSet','parseGridConfigSet','exportable'];a0_0x3612=function(){return _0x21c986;};return a0_0x3612();}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x11af(_0x4387a1,_0x5f4a51){const _0x361259=a0_0x3612();return a0_0x11af=function(_0x11afba,_0x3a4ea9){_0x11afba=_0x11afba-0x150;let _0xeb0996=_0x361259[_0x11afba];return _0xeb0996;},a0_0x11af(_0x4387a1,_0x5f4a51);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x356bf2=>class extends MetaButtonMixin(_0x356bf2){static get[a0_0x3bfe20(0x166)](){const _0x54ca95=a0_0x3bfe20;return MetaApi[_0x54ca95(0x157)]();}static get[a0_0x3bfe20(0x160)](){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_0x3bfe20(0x169)](){const _0x3a35c0=a0_0x3bfe20;return this[_0x3a35c0(0x178)][_0x3a35c0(0x170)]();}get[a0_0x3bfe20(0x185)](){const _0x20e5db=a0_0x3bfe20;return this[_0x20e5db(0x17f)]?.[_0x20e5db(0x172)](this[_0x20e5db(0x15c)]);}get[a0_0x3bfe20(0x188)](){const _0x28fb60=a0_0x3bfe20;let _0x537ae1=MetaUiUtil['getContextObject'](this);return _0x537ae1[_0x28fb60(0x15f)]&&delete _0x537ae1['actions'],_0x537ae1[_0x28fb60(0x163)]&&delete _0x537ae1[_0x28fb60(0x163)],_0x537ae1['importable']&&delete _0x537ae1[_0x28fb60(0x158)],_0x537ae1;}async[a0_0x3bfe20(0x16d)](){const _0x8410a8=a0_0x3bfe20;this[_0x8410a8(0x171)]=_0x8410a8(0x15e),this[_0x8410a8(0x15c)]='ox-filters-form-base',await this[_0x8410a8(0x168)](),this['isElement']&&await this[_0x8410a8(0x164)](),this[_0x8410a8(0x184)]&&(this[_0x8410a8(0x161)]=(this[_0x8410a8(0x184)]||{})[_0x8410a8(0x18a)]),super[_0x8410a8(0x16d)]&&await super[_0x8410a8(0x16d)]();}async[a0_0x3bfe20(0x176)](){const _0x3489c8=a0_0x3bfe20;super[_0x3489c8(0x176)]&&await super[_0x3489c8(0x176)]();}async[a0_0x3bfe20(0x15d)](){const _0x867a4b=a0_0x3bfe20;this[_0x867a4b(0x187)]&&await this[_0x867a4b(0x164)](),super[_0x867a4b(0x15d)]&&await super[_0x867a4b(0x15d)]();}[a0_0x3bfe20(0x181)](){const _0x441251=a0_0x3bfe20;return MetaApi[_0x441251(0x16e)](this);}[a0_0x3bfe20(0x17d)](_0x306413){const _0x459c59=a0_0x3bfe20;this['gridConfig']=_0x306413['grid'],this[_0x459c59(0x16f)]=_0x306413['grid_column'],this[_0x459c59(0x154)]=_0x306413[_0x459c59(0x165)];}async[a0_0x3bfe20(0x164)](){const _0x2a81e2=a0_0x3bfe20;this[_0x2a81e2(0x174)]=await MetaApi[_0x2a81e2(0x162)](this),this[_0x2a81e2(0x152)]=!0x0===this[_0x2a81e2(0x189)],this[_0x2a81e2(0x189)]=!0x1,this['buttonConfig']=void 0x0,this[_0x2a81e2(0x182)]=!0x1,this[_0x2a81e2(0x15a)]=!0x1,this['searchFieldValues']=[],this[_0x2a81e2(0x15b)]=this[_0x2a81e2(0x174)]['columns'][_0x2a81e2(0x173)](_0x29895f=>_0x29895f[_0x2a81e2(0x173)])['map'](_0x115cd6=>{const _0x326895=_0x2a81e2;let _0x42543f={'name':_0x115cd6[_0x326895(0x155)],'type':_0x326895(0x165)===_0x115cd6['filter']['operator']?_0x326895(0x165):_0x115cd6[_0x326895(0x18b)],'label':_0x115cd6[_0x326895(0x183)],'operator':_0x115cd6['filter'][_0x326895(0x180)]?_0x115cd6['filter'][_0x326895(0x180)]:'eq'};return _0x115cd6[_0x326895(0x173)][_0x326895(0x153)]&&(_0x42543f['options']=_0x115cd6[_0x326895(0x173)][_0x326895(0x153)]),_0x115cd6[_0x326895(0x156)][_0x326895(0x153)]&&(_0x42543f[_0x326895(0x153)]=_0x115cd6[_0x326895(0x156)][_0x326895(0x153)]),_0x115cd6[_0x326895(0x173)][_0x326895(0x18c)]&&this[_0x326895(0x17c)]['push']({'name':_0x42543f['name'],'operator':_0x42543f['operator'],'value':_0x115cd6[_0x326895(0x173)][_0x326895(0x18c)]}),delete _0x115cd6[_0x326895(0x173)],_0x42543f;});}async[a0_0x3bfe20(0x16c)](){const _0x3bcf4a=a0_0x3bfe20;await this[_0x3bcf4a(0x169)][_0x3bcf4a(0x16c)]();}async[a0_0x3bfe20(0x151)]({page:_0x145af6=0x0,limit:_0x251450=0x0,sortings:_0x5723e8=[],filters:_0x47bdff=[]}){const _0x215251=a0_0x3bfe20;return this['masterElement']&&this[_0x215251(0x178)][_0x215251(0x17b)]&&await this['masterElement'][_0x215251(0x17b)](),!0x0;}[a0_0x3bfe20(0x175)](){const _0x36d67c=a0_0x3bfe20;return{'master':this[_0x36d67c(0x178)][_0x36d67c(0x175)]()};}};
@@ -1 +1 @@
1
- const a0_0x24e99c=a0_0x5348;(function(_0x43d23e,_0x261f33){const _0x5e705f=a0_0x5348,_0x25a0f8=_0x43d23e();while(!![]){try{const _0x36e9d6=parseInt(_0x5e705f(0xde))/0x1+-parseInt(_0x5e705f(0xc6))/0x2+parseInt(_0x5e705f(0xc8))/0x3+-parseInt(_0x5e705f(0xca))/0x4*(-parseInt(_0x5e705f(0xf2))/0x5)+-parseInt(_0x5e705f(0xf7))/0x6+-parseInt(_0x5e705f(0xc5))/0x7*(-parseInt(_0x5e705f(0xf6))/0x8)+-parseInt(_0x5e705f(0x103))/0x9*(parseInt(_0x5e705f(0xda))/0xa);if(_0x36e9d6===_0x261f33)break;else _0x25a0f8['push'](_0x25a0f8['shift']());}catch(_0x5c2d34){_0x25a0f8['push'](_0x25a0f8['shift']());}}}(a0_0x2f9f,0x78fb2));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x2f9f(){const _0x57cf0a=['2976690aXyFRL','type','grid_column','querySelector','value','fetch','searchConfig','map','isPage','find','findOne','name','90TtFlrU','deleteByIds','forEach','keys','searchFieldValues','context','tTitle','shadowRoot','detailElement','records','push','dataSet','exportable','title','patchesForUpdateMultiple','parseGridConfigSet','exportableData','connectedCallback','styles','activityDataSet','pageInitialized','146881vYMuQr','775828EHQBCH','header','1409826iQUuSO','parseGristConfigs','4htVHUW','___data','save','getSelectedIdList','properties','firstUpdated','filterFormId','filterForm','parseBasicGridConfigs','columns','beforeFetch','import','export','isElement','filter','grist','712870xBRqjz','ox-filters-form-base','operator','record','813782fMKQzG','gristConfigSet','getMasterDetailHtml','grid','gristId','parse','getData','getParams','ox-grist','clear','useFilterForm','gridColumnConfig','main','isNotEmpty','options','updateMultiple','startsWith','delete','menuInfo','search','2784585IYgEqQ','useMasterFilterForm','renderRoot','importable','96ShWFTf'];a0_0x2f9f=function(){return _0x57cf0a;};return a0_0x2f9f();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x5348(_0x18b463,_0x4521b5){const _0x2f9ff7=a0_0x2f9f();return a0_0x5348=function(_0x5348f3,_0x8c650e){_0x5348f3=_0x5348f3-0xb9;let _0x2d5ad9=_0x2f9ff7[_0x5348f3];return _0x2d5ad9;},a0_0x5348(_0x18b463,_0x4521b5);}export const MetaMasterDetailMixin=_0x444f26=>class extends MetaButtonMixin(_0x444f26){static get[a0_0x24e99c(0xc2)](){return MetaApi['getBasicMasterDetailStyles']();}static get[a0_0x24e99c(0xce)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x24e99c(0xd9)](){const _0x304abf=a0_0x24e99c;return this[_0x304abf(0xf4)][_0x304abf(0xfa)](this[_0x304abf(0xe2)]);}get[a0_0x24e99c(0xd1)](){const _0x362de8=a0_0x24e99c;return this[_0x362de8(0x10a)]?.['querySelector'](this[_0x362de8(0xd0)]);}get[a0_0x24e99c(0x108)](){const _0x59290f=a0_0x24e99c;let _0x1f2e25=MetaUiUtil['getContextObject'](this);return _0x1f2e25['actions']&&delete _0x1f2e25['actions'],_0x1f2e25[_0x59290f(0xbc)]&&delete _0x1f2e25[_0x59290f(0xbc)],_0x1f2e25['importable']&&delete _0x1f2e25[_0x59290f(0xf5)],_0x1f2e25;}async[a0_0x24e99c(0xc1)](){const _0x305c59=a0_0x24e99c;this['gristId']=_0x305c59(0xe6),this['filterFormId']=_0x305c59(0xdb),await this['getAndParseMenuMeta'](),this[_0x305c59(0xd7)]&&await this[_0x305c59(0xc9)](),this[_0x305c59(0xc3)]&&(this[_0x305c59(0xbb)]=(this['activityDataSet']||{})[_0x305c59(0xea)]),super[_0x305c59(0xc1)]&&await super[_0x305c59(0xc1)]();}async[a0_0x24e99c(0xcf)](){const _0x43a74c=a0_0x24e99c;super['firstUpdated']&&await super[_0x43a74c(0xcf)]();}async[a0_0x24e99c(0xc4)](){const _0x4b02f6=a0_0x24e99c;this[_0x4b02f6(0xff)]&&await this[_0x4b02f6(0xc9)](),super['pageInitialized']&&await super[_0x4b02f6(0xc4)]();}['render'](){const _0x59c9a7=a0_0x24e99c;return MetaApi[_0x59c9a7(0xe0)](this);}[a0_0x24e99c(0xd2)](_0x56514f){const _0x90e8df=a0_0x24e99c;this['gridConfig']=_0x56514f[_0x90e8df(0xe1)],this[_0x90e8df(0xe9)]=_0x56514f[_0x90e8df(0xf9)],this[_0x90e8df(0xfd)]=_0x56514f[_0x90e8df(0xf1)];}async[a0_0x24e99c(0xc9)](){const _0x493e91=a0_0x24e99c;this[_0x493e91(0xdf)]=await MetaApi[_0x493e91(0xbf)](this),this[_0x493e91(0xf3)]=!0x0===this[_0x493e91(0xe8)],this['useFilterForm']=!0x1,this['searchFieldValues']=[],this['searchFields']=this['gristConfigSet'][_0x493e91(0xd3)]['filter'](_0x19bcd4=>_0x19bcd4[_0x493e91(0xd8)])[_0x493e91(0xfe)](_0x495816=>{const _0x572c4d=_0x493e91;let _0x1d32da={'name':_0x495816[_0x572c4d(0x102)],'type':_0x572c4d(0xf1)===_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xdc)]?_0x572c4d(0xf1):_0x495816[_0x572c4d(0xf8)],'label':_0x495816[_0x572c4d(0xc7)],'operator':_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xdc)]?_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xdc)]:'eq'};return _0x495816[_0x572c4d(0xd8)]['options']&&(_0x1d32da[_0x572c4d(0xec)]=_0x495816[_0x572c4d(0xd8)]['options']),_0x495816[_0x572c4d(0xdd)]['options']&&(_0x1d32da[_0x572c4d(0xec)]=_0x495816[_0x572c4d(0xdd)]['options']),_0x495816[_0x572c4d(0xd8)][_0x572c4d(0xfb)]&&this[_0x572c4d(0x107)][_0x572c4d(0xba)]({'name':_0x1d32da[_0x572c4d(0x102)],'operator':_0x1d32da[_0x572c4d(0xdc)],'value':_0x495816['filter']['value']}),delete _0x495816[_0x572c4d(0xd8)],_0x1d32da;});}async[a0_0x24e99c(0xfc)](){const _0x90e583=a0_0x24e99c;await this['grist'][_0x90e583(0xfc)]();}async[a0_0x24e99c(0xd4)]({page:_0x2fc893=0x0,limit:_0x374470=0x0,sortings:_0x14634e=[],filters:_0x45b273=[]}){const _0x135484=a0_0x24e99c;return this[_0x135484(0x10b)]&&this['detailElement']['clear']&&await this[_0x135484(0x10b)][_0x135484(0xe7)](),!0x0;}async[a0_0x24e99c(0xcc)](){const _0x48dc0c=a0_0x24e99c;let _0x3627cf=MetaApi[_0x48dc0c(0xbe)](this['grist']);!!ValueUtil[_0x48dc0c(0xeb)](_0x3627cf)&&await this[_0x48dc0c(0xed)](_0x3627cf)&&this[_0x48dc0c(0xfc)]();}async[a0_0x24e99c(0x100)](){const _0x276143=a0_0x24e99c;let _0x5cb8d0=MetaApi[_0x276143(0xcd)](this[_0x276143(0xd9)],!0x0);return ValueUtil[_0x276143(0xeb)](_0x5cb8d0)?await this[_0x276143(0x101)](_0x5cb8d0[0x0]):{};}async[a0_0x24e99c(0xef)](){const _0x5877a3=a0_0x24e99c;let _0x13468b=MetaApi[_0x5877a3(0xcd)](this['grist'],!0x0);!!ValueUtil['isNotEmpty'](_0x13468b)&&await this[_0x5877a3(0x104)](_0x13468b)&&this['fetch']();}async[a0_0x24e99c(0xd6)](){const _0x58d10f=a0_0x24e99c;let _0x1595a2=TermsUtil[_0x58d10f(0x109)](ValueUtil[_0x58d10f(0xe5)](this[_0x58d10f(0xf0)],_0x58d10f(0xbd)));return await MetaApi[_0x58d10f(0xc0)](this[_0x58d10f(0xd7)],_0x1595a2,this[_0x58d10f(0xd9)]);}async[a0_0x24e99c(0xd5)](){}[a0_0x24e99c(0xe4)](){const _0x2f0d0c=a0_0x24e99c;let _0x26b3dd=this[_0x2f0d0c(0xd9)][_0x2f0d0c(0xcb)][_0x2f0d0c(0xb9)];return _0x26b3dd=JSON[_0x2f0d0c(0xe3)](JSON['stringify'](_0x26b3dd)),_0x26b3dd[_0x2f0d0c(0x105)](_0x32e7=>{const _0x5c7fb7=_0x2f0d0c;Object[_0x5c7fb7(0x106)](_0x32e7)[_0x5c7fb7(0x105)](_0x2cc317=>{const _0x14b55a=_0x5c7fb7;_0x2cc317[_0x14b55a(0xee)]('__')&&delete _0x32e7[_0x2cc317];});}),{'main':_0x26b3dd,'detail':this['detailElement'][_0x2f0d0c(0xe4)]()};}};
1
+ const a0_0x2e8ccc=a0_0x14f6;(function(_0x8b6e62,_0x28c83b){const _0x5d791b=a0_0x14f6,_0x562c9b=_0x8b6e62();while(!![]){try{const _0x32021c=-parseInt(_0x5d791b(0x6c))/0x1*(-parseInt(_0x5d791b(0xa3))/0x2)+-parseInt(_0x5d791b(0x92))/0x3*(-parseInt(_0x5d791b(0x93))/0x4)+parseInt(_0x5d791b(0xb0))/0x5+-parseInt(_0x5d791b(0x8c))/0x6+parseInt(_0x5d791b(0xb7))/0x7+parseInt(_0x5d791b(0x91))/0x8+-parseInt(_0x5d791b(0x81))/0x9;if(_0x32021c===_0x28c83b)break;else _0x562c9b['push'](_0x562c9b['shift']());}catch(_0x1099c0){_0x562c9b['push'](_0x562c9b['shift']());}}}(a0_0x1d0b,0xd4c00));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x14f6(_0x5e99f5,_0x200e11){const _0x1d0be2=a0_0x1d0b();return a0_0x14f6=function(_0x14f644,_0x2fed78){_0x14f644=_0x14f644-0x68;let _0x5e2bb7=_0x1d0be2[_0x14f644];return _0x5e2bb7;},a0_0x14f6(_0x5e99f5,_0x200e11);}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_0x1d0b(){const _0xfda521=['main','styles','clear','beforeFetch','name','6178705XasvoK','import','detailElement','parseGristConfigs','updateMultiple','render','exportable','5374684zqDleA','searchConfig','records','stringify','export','64130PBkWco','search','getBasicMasterDetailStyles','useMasterFilterForm','searchFieldValues','getAndParseMenuMeta','delete','querySelector','record','find','menuInfo','getMasterDetailHtml','gristId','firstUpdated','isElement','importable','gridConfig','findOne','parse','connectedCallback','shadowRoot','27050598VvqrnR','header','parseBasicGridConfigs','filter','properties','activityDataSet','filterForm','getContextObject','grid','getParams','value','6314856IgGISX','pageInitialized','push','grid_column','deleteByIds','2601600xPnxUB','157503hJHNNk','76aCLOpW','useFilterForm','isPage','map','___data','getSelectedIdList','columns','getData','ox-grist','patchesForUpdateMultiple','fetch','renderRoot','save','operator','filterFormId','ox-filters-form-base','50vUIaWr','gristConfigSet','actions','forEach','grist','gridColumnConfig','options','isNotEmpty'];a0_0x1d0b=function(){return _0xfda521;};return a0_0x1d0b();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x1f3942=>class extends MetaButtonMixin(_0x1f3942){static get[a0_0x2e8ccc(0xac)](){const _0x100c5d=a0_0x2e8ccc;return MetaApi[_0x100c5d(0x6e)]();}static get[a0_0x2e8ccc(0x85)](){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_0x2e8ccc(0xa7)](){const _0x5be811=a0_0x2e8ccc;return this[_0x5be811(0x9e)][_0x5be811(0x73)](this[_0x5be811(0x78)]);}get[a0_0x2e8ccc(0x87)](){const _0xbe8f76=a0_0x2e8ccc;return this[_0xbe8f76(0x80)]?.['querySelector'](this[_0xbe8f76(0xa1)]);}get['context'](){const _0x3e8c18=a0_0x2e8ccc;let _0x12e780=MetaUiUtil[_0x3e8c18(0x88)](this);return _0x12e780[_0x3e8c18(0xa5)]&&delete _0x12e780['actions'],_0x12e780[_0x3e8c18(0xb6)]&&delete _0x12e780['exportable'],_0x12e780['importable']&&delete _0x12e780[_0x3e8c18(0x7b)],_0x12e780;}async['connectedCallback'](){const _0x46fd69=a0_0x2e8ccc;this['gristId']=_0x46fd69(0x9b),this[_0x46fd69(0xa1)]=_0x46fd69(0xa2),await this[_0x46fd69(0x71)](),this[_0x46fd69(0x7a)]&&await this['parseGristConfigs'](),this['activityDataSet']&&(this['dataSet']=(this[_0x46fd69(0x86)]||{})[_0x46fd69(0xab)]),super['connectedCallback']&&await super[_0x46fd69(0x7f)]();}async[a0_0x2e8ccc(0x79)](){const _0x5d392c=a0_0x2e8ccc;super[_0x5d392c(0x79)]&&await super[_0x5d392c(0x79)]();}async[a0_0x2e8ccc(0x8d)](){const _0x2804cd=a0_0x2e8ccc;this[_0x2804cd(0x95)]&&await this['parseGristConfigs'](),super[_0x2804cd(0x8d)]&&await super[_0x2804cd(0x8d)]();}[a0_0x2e8ccc(0xb5)](){const _0x391da6=a0_0x2e8ccc;return MetaApi[_0x391da6(0x77)](this);}[a0_0x2e8ccc(0x83)](_0x13e12d){const _0x5abcd4=a0_0x2e8ccc;this[_0x5abcd4(0x7c)]=_0x13e12d[_0x5abcd4(0x89)],this[_0x5abcd4(0xa8)]=_0x13e12d[_0x5abcd4(0x8f)],this[_0x5abcd4(0x68)]=_0x13e12d[_0x5abcd4(0x6d)];}async[a0_0x2e8ccc(0xb3)](){const _0x3cbffc=a0_0x2e8ccc;this[_0x3cbffc(0xa4)]=await MetaApi['parseGridConfigSet'](this),this[_0x3cbffc(0x6f)]=!0x0===this[_0x3cbffc(0x94)],this['useFilterForm']=!0x1,this[_0x3cbffc(0x70)]=[],this['searchFields']=this[_0x3cbffc(0xa4)][_0x3cbffc(0x99)][_0x3cbffc(0x84)](_0x33b2ef=>_0x33b2ef['filter'])[_0x3cbffc(0x96)](_0x53bb7e=>{const _0x522c69=_0x3cbffc;let _0xa1a526={'name':_0x53bb7e[_0x522c69(0xaf)],'type':_0x522c69(0x6d)===_0x53bb7e[_0x522c69(0x84)][_0x522c69(0xa0)]?_0x522c69(0x6d):_0x53bb7e['type'],'label':_0x53bb7e[_0x522c69(0x82)],'operator':_0x53bb7e['filter'][_0x522c69(0xa0)]?_0x53bb7e[_0x522c69(0x84)]['operator']:'eq'};return _0x53bb7e[_0x522c69(0x84)][_0x522c69(0xa9)]&&(_0xa1a526[_0x522c69(0xa9)]=_0x53bb7e[_0x522c69(0x84)]['options']),_0x53bb7e[_0x522c69(0x74)][_0x522c69(0xa9)]&&(_0xa1a526['options']=_0x53bb7e[_0x522c69(0x74)][_0x522c69(0xa9)]),_0x53bb7e[_0x522c69(0x84)][_0x522c69(0x8b)]&&this[_0x522c69(0x70)][_0x522c69(0x8e)]({'name':_0xa1a526[_0x522c69(0xaf)],'operator':_0xa1a526[_0x522c69(0xa0)],'value':_0x53bb7e[_0x522c69(0x84)]['value']}),delete _0x53bb7e[_0x522c69(0x84)],_0xa1a526;});}async[a0_0x2e8ccc(0x9d)](){const _0x3fcd12=a0_0x2e8ccc;await this[_0x3fcd12(0xa7)][_0x3fcd12(0x9d)]();}async[a0_0x2e8ccc(0xae)]({page:_0x5518d3=0x0,limit:_0x140594=0x0,sortings:_0x38f2fa=[],filters:_0xa86be5=[]}){const _0x422c8f=a0_0x2e8ccc;return this[_0x422c8f(0xb2)]&&this[_0x422c8f(0xb2)][_0x422c8f(0xad)]&&await this[_0x422c8f(0xb2)][_0x422c8f(0xad)](),!0x0;}async[a0_0x2e8ccc(0x9f)](){const _0x3f179b=a0_0x2e8ccc;let _0x8b6716=MetaApi[_0x3f179b(0x9c)](this[_0x3f179b(0xa7)]);!!ValueUtil[_0x3f179b(0xaa)](_0x8b6716)&&await this[_0x3f179b(0xb4)](_0x8b6716)&&this['fetch']();}async[a0_0x2e8ccc(0x75)](){const _0x34c740=a0_0x2e8ccc;let _0x12db07=MetaApi[_0x34c740(0x98)](this['grist'],!0x0);return ValueUtil[_0x34c740(0xaa)](_0x12db07)?await this[_0x34c740(0x7d)](_0x12db07[0x0]):{};}async[a0_0x2e8ccc(0x72)](){const _0x360b6f=a0_0x2e8ccc;let _0x290496=MetaApi[_0x360b6f(0x98)](this[_0x360b6f(0xa7)],!0x0);!!ValueUtil['isNotEmpty'](_0x290496)&&await this[_0x360b6f(0x90)](_0x290496)&&this[_0x360b6f(0x9d)]();}async[a0_0x2e8ccc(0x6b)](){const _0x1c1a5f=a0_0x2e8ccc;let _0x558f4d=TermsUtil['tTitle'](ValueUtil[_0x1c1a5f(0x8a)](this[_0x1c1a5f(0x76)],'title'));return await MetaApi['exportableData'](this['isElement'],_0x558f4d,this[_0x1c1a5f(0xa7)]);}async[a0_0x2e8ccc(0xb1)](){}[a0_0x2e8ccc(0x9a)](){const _0x59d0b4=a0_0x2e8ccc;let _0xa5f7d2=this['grist'][_0x59d0b4(0x97)][_0x59d0b4(0x69)];return _0xa5f7d2=JSON[_0x59d0b4(0x7e)](JSON[_0x59d0b4(0x6a)](_0xa5f7d2)),_0xa5f7d2[_0x59d0b4(0xa6)](_0xeb59c9=>{const _0x30021c=_0x59d0b4;Object['keys'](_0xeb59c9)[_0x30021c(0xa6)](_0x142267=>{_0x142267['startsWith']('__')&&delete _0xeb59c9[_0x142267];});}),{'main':_0xa5f7d2,'detail':this[_0x59d0b4(0xb2)][_0x59d0b4(0x9a)]()};}};
@@ -1 +1 @@
1
- function a0_0x526b(_0x578a92,_0x457604){const _0x1dc7c7=a0_0x1dc7();return a0_0x526b=function(_0x526bee,_0x29dbcf){_0x526bee=_0x526bee-0x19d;let _0xaf4acd=_0x1dc7c7[_0x526bee];return _0xaf4acd;},a0_0x526b(_0x578a92,_0x457604);}const a0_0x50e576=a0_0x526b;(function(_0x59d77c,_0x44b678){const _0x4dc51a=a0_0x526b,_0x5aadd9=_0x59d77c();while(!![]){try{const _0x2573fb=-parseInt(_0x4dc51a(0x1b8))/0x1+-parseInt(_0x4dc51a(0x1d1))/0x2*(-parseInt(_0x4dc51a(0x1c8))/0x3)+parseInt(_0x4dc51a(0x1c6))/0x4+parseInt(_0x4dc51a(0x1ce))/0x5+parseInt(_0x4dc51a(0x1d0))/0x6*(parseInt(_0x4dc51a(0x1d4))/0x7)+-parseInt(_0x4dc51a(0x1a3))/0x8+-parseInt(_0x4dc51a(0x1d8))/0x9;if(_0x2573fb===_0x44b678)break;else _0x5aadd9['push'](_0x5aadd9['shift']());}catch(_0x359491){_0x5aadd9['push'](_0x5aadd9['shift']());}}}(a0_0x1dc7,0x5110d));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x1dc7(){const _0x584e1f=['forEach','getPageNavigateParams','split','infinityPage','gristConfigSet','53941GNhkCS','gql','skip_fields','name','mainFilterForm','parent_id','filter','findOne','lifecycle','keys','getQueryFilters','deleteListByIds','func','isPage','2558304AdtqZx','afterFetch','15tmEgNX','pass','getSelectColumns','columns','isEmpty','beforeFetch','709850MRjNMr','query','2805762czwsQk','140890AVPoYt','dataSet','updateMultiple','7GMutOr','push','multiple','list_func','8594793pjubkv','isElement','isArray','getParams','includes','length','records','2083480ooPBKk','searchByPagination','parse','map','params','after_set_fields','parseBasicServiceConfigs','delete','gqlInfo','is_activity','value','mutation','deleteByIds','find_one_func','isNotEmpty','filterForm'];a0_0x1dc7=function(){return _0x584e1f;};return a0_0x1dc7();}export const MetaServiceMixin=_0x5ae9d3=>class extends MetaBaseMixin(_0x5ae9d3){static get['properties'](){return{'gqlInfo':Object};}[a0_0x50e576(0x1a9)](_0x2becf2){const _0x45c5bf=a0_0x50e576;this[_0x45c5bf(0x1ab)]=_0x2becf2[_0x45c5bf(0x1b9)];}async['fetchHandler']({page:_0xdec276=0x0,limit:_0x31c369=0x0,sortings:_0x31f1c0=[],filters:_0x401dcb=[]}){const _0x25a24c=a0_0x50e576;if(this[_0x25a24c(0x1ac)])return{'total':0x0,'records':this[_0x25a24c(0x1d2)]||[]};if(!0x0===this[_0x25a24c(0x1b6)]&&(_0xdec276=0x0,_0x31c369=0x0),this[_0x25a24c(0x1cd)]&&0x0==await this[_0x25a24c(0x1cd)]({'page':_0xdec276,'limit':_0x31c369,'sortings':_0x31f1c0,'filters':_0x401dcb}))return;if(!this[_0x25a24c(0x1b7)])return{'total':0x0,'records':[]};let _0x5b0d7f=ValueUtil[_0x25a24c(0x1cc)](_0x401dcb)?this[_0x25a24c(0x1bc)]?await this[_0x25a24c(0x1bc)][_0x25a24c(0x1c2)]()||[]:await this[_0x25a24c(0x1b2)]?.[_0x25a24c(0x1c2)]()||[]:_0x401dcb,_0x1e4504=ValueUtil['getParams'](this[_0x25a24c(0x1ab)],_0x25a24c(0x1cf),_0x25a24c(0x1d7)),_0x2dc1ab=ValueUtil[_0x25a24c(0x19f)](this[_0x25a24c(0x1ab)],_0x25a24c(0x1cf),'filters'),_0x258be8=ValueUtil[_0x25a24c(0x19f)](this[_0x25a24c(0x1ab)],'query',_0x25a24c(0x1a8));if(ValueUtil['isNotEmpty'](_0x2dc1ab)&&(_0x5b0d7f=adjustFilters(_0x5b0d7f,_0x2dc1ab)),_0x5b0d7f[_0x25a24c(0x1d5)](...this[_0x25a24c(0x1b4)]()),this['isElement']&&!this[_0x25a24c(0x1bc)]){let _0x547724=ValueUtil[_0x25a24c(0x19f)](this[_0x25a24c(0x1ab)],_0x25a24c(0x1cf),_0x25a24c(0x1bd));if(!ValueUtil[_0x25a24c(0x1b1)](_0x547724)||!ValueUtil['isNotEmpty'](this[_0x25a24c(0x1bd)]))return{'total':0x0,'records':[]};_0x5b0d7f=adjustFilters(_0x5b0d7f,[{'name':_0x547724,'operator':'eq','value':this[_0x25a24c(0x1bd)]}]);}let _0x225337=Object[_0x25a24c(0x1c1)](_0x258be8||{}),_0xdc14b2=MetaApi[_0x25a24c(0x1ca)](this[_0x25a24c(0x1b7)][_0x25a24c(0x1cb)][_0x25a24c(0x1be)](_0x358efb=>!_0x225337[_0x25a24c(0x1a0)](_0x358efb[_0x25a24c(0x1bb)]))),_0x508190=await MetaApi[_0x25a24c(0x1a4)](_0x1e4504,_0x5b0d7f,_0x31f1c0,_0xdec276,_0x31c369,_0xdc14b2);if(this['afterFetch']){let _0x4c90db=await this[_0x25a24c(0x1c7)]({'page':_0xdec276,'limit':_0x31c369,'sortings':_0x31f1c0,'filters':_0x401dcb},_0x508190);if(_0x4c90db)return _0x4c90db;}return ValueUtil[_0x25a24c(0x1b1)](_0x258be8)&&ValueUtil['isNotEmpty'](_0x508190)&&ValueUtil[_0x25a24c(0x1b1)](_0x508190[_0x25a24c(0x1a2)])&&_0x508190[_0x25a24c(0x1a2)][_0x25a24c(0x1a6)](_0x40f1af=>(_0x225337[_0x25a24c(0x1b3)](_0x5e53db=>{const _0x53a4a7=_0x25a24c;_0x40f1af[_0x5e53db]=ValueUtil[_0x53a4a7(0x19f)](_0x40f1af,..._0x258be8[_0x5e53db][_0x53a4a7(0x1b5)]('.'));}),_0x40f1af)),_0x508190;}[a0_0x50e576(0x1b4)](){const _0x5e554d=a0_0x50e576;if(0x0==this[_0x5e554d(0x1c5)])return[];let _0x212008=this[_0x5e554d(0x1c0)]?.[_0x5e554d(0x1a7)]?this[_0x5e554d(0x1c0)][_0x5e554d(0x1a7)]:{};if(!_0x212008[_0x5e554d(0x1c9)])return[];let _0x198462=_0x212008['pass'],_0x2fab3f=JSON[_0x5e554d(0x1a5)](_0x198462),_0x4e6269=0x1==_0x2fab3f[_0x5e554d(0x1a1)]?'eq':'in',_0x32890e={},_0x28edf1=[];return Object[_0x5e554d(0x1c1)](_0x2fab3f[0x0])[_0x5e554d(0x1b3)](_0x4e400c=>{_0x32890e[_0x4e400c]={'name':_0x4e400c,'operator':_0x4e6269,'value':'eq'===_0x4e6269?_0x2fab3f[0x0][_0x4e400c]:[]};}),_0x2fab3f[_0x5e554d(0x1a1)]>0x1&&_0x2fab3f[_0x5e554d(0x1b3)](_0x294e2d=>{const _0x39a9a2=_0x5e554d;Object[_0x39a9a2(0x1c1)](_0x294e2d)[_0x39a9a2(0x1b3)](_0x3c8931=>{const _0x5f308b=_0x39a9a2;_0x32890e[_0x3c8931][_0x5f308b(0x1ad)][_0x5f308b(0x1d5)](_0x294e2d[_0x3c8931]);});}),Object[_0x5e554d(0x1c1)](_0x32890e)[_0x5e554d(0x1b3)](_0x28901f=>{const _0x39b074=_0x5e554d;_0x28edf1[_0x39b074(0x1d5)](_0x32890e[_0x28901f]);}),_0x28edf1;}async[a0_0x50e576(0x1bf)](_0x4c0fb2){const _0x19a2a3=a0_0x50e576;if(this[_0x19a2a3(0x1ac)])return this[_0x19a2a3(0x1d2)]||{};let _0xa4d032=ValueUtil[_0x19a2a3(0x19f)](this[_0x19a2a3(0x1ab)],_0x19a2a3(0x1cf),_0x19a2a3(0x1b0)),_0x15f0a5=ValueUtil[_0x19a2a3(0x19f)](this[_0x19a2a3(0x1ab)],'query','after_set_fields'),_0x59c524=Object[_0x19a2a3(0x1c1)](_0x15f0a5||{}),_0x470022=MetaApi['getSelectColumns']((this[_0x19a2a3(0x1b7)]?this[_0x19a2a3(0x1b7)]:{'columns':this['formConfigSet']})[_0x19a2a3(0x1cb)][_0x19a2a3(0x1be)](_0x5db2ec=>!_0x59c524['includes'](_0x5db2ec[_0x19a2a3(0x1bb)]))),_0x2fee9b=await MetaApi[_0x19a2a3(0x1bf)](_0xa4d032,_0x4c0fb2,_0x470022);return ValueUtil[_0x19a2a3(0x1b1)](_0x15f0a5)&&ValueUtil[_0x19a2a3(0x1b1)](_0x2fee9b)&&_0x59c524[_0x19a2a3(0x1b3)](_0x215341=>{const _0x4ef441=_0x19a2a3;_0x2fee9b[_0x215341]=ValueUtil[_0x4ef441(0x19f)](_0x2fee9b,..._0x15f0a5[_0x215341][_0x4ef441(0x1b5)]('.'));}),_0x2fee9b;}async[a0_0x50e576(0x1af)](_0x43e9d1){const _0xeb81e6=a0_0x50e576;let _0x7e9c40=ValueUtil[_0xeb81e6(0x19f)](this[_0xeb81e6(0x1ab)],_0xeb81e6(0x1ae),_0xeb81e6(0x1aa),_0xeb81e6(0x1c4));return await MetaApi[_0xeb81e6(0x1c3)](_0x43e9d1,_0x7e9c40);}async[a0_0x50e576(0x1d3)](_0x1c079b){const _0x4855f8=a0_0x50e576;let _0x3a7eba=ValueUtil[_0x4855f8(0x19f)](this[_0x4855f8(0x1ab)],'mutation',_0x4855f8(0x1d6),_0x4855f8(0x1c4)),_0x1dcdd1=ValueUtil[_0x4855f8(0x19f)](this['gqlInfo'],'mutation','multiple',_0x4855f8(0x1ba));if(ValueUtil[_0x4855f8(0x1b1)](_0x1dcdd1)&&(_0x1dcdd1=_0x1dcdd1['map'](_0x260826=>_0x260826[_0x4855f8(0x1a0)]('.')?_0x260826[_0x4855f8(0x1b5)]('.'):_0x260826),_0x1c079b=_0x1c079b['map'](_0x31e635=>(_0x1dcdd1[_0x4855f8(0x1b3)](_0x304b79=>{const _0x1f09e7=_0x4855f8;Array[_0x1f09e7(0x19e)](_0x304b79)?delete _0x31e635[_0x304b79[0x0]][_0x304b79[0x1]]:delete _0x31e635[_0x304b79];}),_0x31e635))),this[_0x4855f8(0x19d)]&&ValueUtil[_0x4855f8(0x1b1)](this[_0x4855f8(0x1bd)])){let _0x43d3ca=ValueUtil[_0x4855f8(0x19f)](this[_0x4855f8(0x1ab)],'mutation',_0x4855f8(0x1d6),_0x4855f8(0x1bd));ValueUtil[_0x4855f8(0x1b1)](_0x43d3ca)&&_0x1c079b[_0x4855f8(0x1b3)](_0x12fa4d=>{const _0x1c8784=_0x4855f8;if(_0x43d3ca[_0x1c8784(0x1a0)]('.')){let _0x228b54=_0x43d3ca['split']('.');_0x12fa4d[_0x228b54[0x0]]={},_0x12fa4d[_0x228b54[0x0]][_0x228b54[0x1]]=this[_0x1c8784(0x1bd)];}else _0x12fa4d[_0x43d3ca]=this['parent_id'];});}return await MetaApi[_0x4855f8(0x1d3)](_0x3a7eba,_0x1c079b);}};
1
+ const a0_0x509d8f=a0_0x19fb;(function(_0x2214fc,_0x4ea109){const _0x5abb09=a0_0x19fb,_0x3582c0=_0x2214fc();while(!![]){try{const _0x1bd514=-parseInt(_0x5abb09(0x1b6))/0x1+parseInt(_0x5abb09(0x1cb))/0x2+-parseInt(_0x5abb09(0x1d2))/0x3+-parseInt(_0x5abb09(0x1d5))/0x4+parseInt(_0x5abb09(0x1b2))/0x5*(-parseInt(_0x5abb09(0x1bc))/0x6)+-parseInt(_0x5abb09(0x1a9))/0x7*(parseInt(_0x5abb09(0x1bd))/0x8)+-parseInt(_0x5abb09(0x1a6))/0x9*(-parseInt(_0x5abb09(0x1d3))/0xa);if(_0x1bd514===_0x4ea109)break;else _0x3582c0['push'](_0x3582c0['shift']());}catch(_0x1a21a3){_0x3582c0['push'](_0x3582c0['shift']());}}}(a0_0x5af3,0xa42f0));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x19fb(_0x5a7712,_0x42f4af){const _0x5af3a0=a0_0x5af3();return a0_0x19fb=function(_0x19fb60,_0x428723){_0x19fb60=_0x19fb60-0x1a2;let _0x16896b=_0x5af3a0[_0x19fb60];return _0x16896b;},a0_0x19fb(_0x5a7712,_0x42f4af);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x5af3(){const _0x469f91=['91Lsmsrc','gristConfigSet','properties','mainFilterForm','name','parent_id','getPageNavigateParams','push','query','3235035mlsBvn','delete','mutation','map','948426OIZtIx','beforeFetch','dataSet','split','keys','after_set_fields','6gIMhXV','616472urIFDT','getParams','gqlInfo','records','filter','isElement','lifecycle','findOne','length','isArray','isNotEmpty','searchByPagination','multiple','updateMultiple','418338pwpTKR','params','find_one_func','includes','pass','getQueryFilters','columns','2712363APUgJg','883770JxZVHH','parseBasicServiceConfigs','2523824JHgflW','deleteByIds','afterFetch','value','isPage','filterForm','468yIVYMN','func','forEach'];a0_0x5af3=function(){return _0x469f91;};return a0_0x5af3();}export const MetaServiceMixin=_0x2f4eee=>class extends MetaBaseMixin(_0x2f4eee){static get[a0_0x509d8f(0x1ab)](){return{'gqlInfo':Object};}[a0_0x509d8f(0x1d4)](_0x3c835a){const _0x191f55=a0_0x509d8f;this[_0x191f55(0x1bf)]=_0x3c835a['gql'];}async['fetchHandler']({page:_0x56889c=0x0,limit:_0x224e88=0x0,sortings:_0x55b6d1=[],filters:_0x2ea3e1=[]}){const _0x54e228=a0_0x509d8f;if(this['is_activity'])return{'total':0x0,'records':this[_0x54e228(0x1b8)]||[]};if(!0x0===this['infinityPage']&&(_0x56889c=0x0,_0x224e88=0x0),this[_0x54e228(0x1b7)]&&0x0==await this['beforeFetch']({'page':_0x56889c,'limit':_0x224e88,'sortings':_0x55b6d1,'filters':_0x2ea3e1}))return;if(!this[_0x54e228(0x1aa)])return{'total':0x0,'records':[]};let _0x55cd0e=ValueUtil['isEmpty'](_0x2ea3e1)?this[_0x54e228(0x1ac)]?await this['mainFilterForm'][_0x54e228(0x1d0)]()||[]:await this[_0x54e228(0x1a5)]?.[_0x54e228(0x1d0)]()||[]:_0x2ea3e1,_0x1ad0f5=ValueUtil[_0x54e228(0x1be)](this[_0x54e228(0x1bf)],'query','list_func'),_0x5e6fb0=ValueUtil[_0x54e228(0x1be)](this[_0x54e228(0x1bf)],_0x54e228(0x1b1),'filters'),_0x251c1a=ValueUtil[_0x54e228(0x1be)](this['gqlInfo'],_0x54e228(0x1b1),_0x54e228(0x1bb));if(ValueUtil['isNotEmpty'](_0x5e6fb0)&&(_0x55cd0e=adjustFilters(_0x55cd0e,_0x5e6fb0)),_0x55cd0e[_0x54e228(0x1b0)](...this[_0x54e228(0x1af)]()),this['isElement']&&!this['mainFilterForm']){let _0x3861e1=ValueUtil[_0x54e228(0x1be)](this[_0x54e228(0x1bf)],_0x54e228(0x1b1),_0x54e228(0x1ae));if(!ValueUtil[_0x54e228(0x1c7)](_0x3861e1)||!ValueUtil[_0x54e228(0x1c7)](this[_0x54e228(0x1ae)]))return{'total':0x0,'records':[]};_0x55cd0e=adjustFilters(_0x55cd0e,[{'name':_0x3861e1,'operator':'eq','value':this[_0x54e228(0x1ae)]}]);}let _0x546464=Object[_0x54e228(0x1ba)](_0x251c1a||{}),_0x595920=MetaApi['getSelectColumns'](this['gristConfigSet'][_0x54e228(0x1d1)][_0x54e228(0x1c1)](_0x30663f=>!_0x546464[_0x54e228(0x1ce)](_0x30663f[_0x54e228(0x1ad)]))),_0x392e32=await MetaApi[_0x54e228(0x1c8)](_0x1ad0f5,_0x55cd0e,_0x55b6d1,_0x56889c,_0x224e88,_0x595920);if(this[_0x54e228(0x1a2)]){let _0x70bf38=await this[_0x54e228(0x1a2)]({'page':_0x56889c,'limit':_0x224e88,'sortings':_0x55b6d1,'filters':_0x2ea3e1},_0x392e32);if(_0x70bf38)return _0x70bf38;}return ValueUtil['isNotEmpty'](_0x251c1a)&&ValueUtil[_0x54e228(0x1c7)](_0x392e32)&&ValueUtil[_0x54e228(0x1c7)](_0x392e32[_0x54e228(0x1c0)])&&_0x392e32['records'][_0x54e228(0x1b5)](_0x363ca7=>(_0x546464[_0x54e228(0x1a8)](_0x5c8c7c=>{const _0x1e3b96=_0x54e228;_0x363ca7[_0x5c8c7c]=ValueUtil[_0x1e3b96(0x1be)](_0x363ca7,..._0x251c1a[_0x5c8c7c]['split']('.'));}),_0x363ca7)),_0x392e32;}[a0_0x509d8f(0x1af)](){const _0x38e078=a0_0x509d8f;if(0x0==this[_0x38e078(0x1a4)])return[];let _0x191ba3=this[_0x38e078(0x1c3)]?.[_0x38e078(0x1cc)]?this[_0x38e078(0x1c3)][_0x38e078(0x1cc)]:{};if(!_0x191ba3[_0x38e078(0x1cf)])return[];let _0x35b274=_0x191ba3[_0x38e078(0x1cf)],_0x4c7fc4=JSON['parse'](_0x35b274),_0x454f03=0x1==_0x4c7fc4[_0x38e078(0x1c5)]?'eq':'in',_0x359ed9={},_0xa714d0=[];return Object[_0x38e078(0x1ba)](_0x4c7fc4[0x0])[_0x38e078(0x1a8)](_0xcd8bdc=>{_0x359ed9[_0xcd8bdc]={'name':_0xcd8bdc,'operator':_0x454f03,'value':'eq'===_0x454f03?_0x4c7fc4[0x0][_0xcd8bdc]:[]};}),_0x4c7fc4['length']>0x1&&_0x4c7fc4[_0x38e078(0x1a8)](_0x3bd55b=>{const _0x1ec304=_0x38e078;Object['keys'](_0x3bd55b)[_0x1ec304(0x1a8)](_0xb719d0=>{const _0x5d7ce7=_0x1ec304;_0x359ed9[_0xb719d0][_0x5d7ce7(0x1a3)]['push'](_0x3bd55b[_0xb719d0]);});}),Object[_0x38e078(0x1ba)](_0x359ed9)['forEach'](_0x159b5e=>{const _0x2502e0=_0x38e078;_0xa714d0[_0x2502e0(0x1b0)](_0x359ed9[_0x159b5e]);}),_0xa714d0;}async['findOne'](_0xb88086){const _0x2f34a5=a0_0x509d8f;if(this['is_activity'])return this[_0x2f34a5(0x1b8)]||{};let _0x1ead2b=ValueUtil[_0x2f34a5(0x1be)](this['gqlInfo'],'query',_0x2f34a5(0x1cd)),_0x3637ca=ValueUtil[_0x2f34a5(0x1be)](this[_0x2f34a5(0x1bf)],_0x2f34a5(0x1b1),'after_set_fields'),_0x26a992=Object[_0x2f34a5(0x1ba)](_0x3637ca||{}),_0x4b4f40=MetaApi['getSelectColumns']((this[_0x2f34a5(0x1aa)]?this[_0x2f34a5(0x1aa)]:{'columns':this['formConfigSet']})[_0x2f34a5(0x1d1)][_0x2f34a5(0x1c1)](_0x22c510=>!_0x26a992[_0x2f34a5(0x1ce)](_0x22c510[_0x2f34a5(0x1ad)]))),_0x39ed34=await MetaApi[_0x2f34a5(0x1c4)](_0x1ead2b,_0xb88086,_0x4b4f40);return ValueUtil[_0x2f34a5(0x1c7)](_0x3637ca)&&ValueUtil[_0x2f34a5(0x1c7)](_0x39ed34)&&_0x26a992['forEach'](_0x262a3d=>{const _0x14e734=_0x2f34a5;_0x39ed34[_0x262a3d]=ValueUtil[_0x14e734(0x1be)](_0x39ed34,..._0x3637ca[_0x262a3d][_0x14e734(0x1b9)]('.'));}),_0x39ed34;}async[a0_0x509d8f(0x1d6)](_0xa5fcdc){const _0x2d65ed=a0_0x509d8f;let _0x3f685e=ValueUtil[_0x2d65ed(0x1be)](this[_0x2d65ed(0x1bf)],_0x2d65ed(0x1b4),_0x2d65ed(0x1b3),_0x2d65ed(0x1a7));return await MetaApi['deleteListByIds'](_0xa5fcdc,_0x3f685e);}async[a0_0x509d8f(0x1ca)](_0x2b99a1){const _0x3a7fcc=a0_0x509d8f;let _0x4ef080=ValueUtil[_0x3a7fcc(0x1be)](this[_0x3a7fcc(0x1bf)],'mutation','multiple',_0x3a7fcc(0x1a7)),_0x5e2a1e=ValueUtil['getParams'](this[_0x3a7fcc(0x1bf)],_0x3a7fcc(0x1b4),'multiple','skip_fields');if(ValueUtil[_0x3a7fcc(0x1c7)](_0x5e2a1e)&&(_0x5e2a1e=_0x5e2a1e['map'](_0xcf057c=>_0xcf057c[_0x3a7fcc(0x1ce)]('.')?_0xcf057c[_0x3a7fcc(0x1b9)]('.'):_0xcf057c),_0x2b99a1=_0x2b99a1[_0x3a7fcc(0x1b5)](_0x4b944e=>(_0x5e2a1e[_0x3a7fcc(0x1a8)](_0x135890=>{const _0x1fad9c=_0x3a7fcc;Array[_0x1fad9c(0x1c6)](_0x135890)?delete _0x4b944e[_0x135890[0x0]][_0x135890[0x1]]:delete _0x4b944e[_0x135890];}),_0x4b944e))),this[_0x3a7fcc(0x1c2)]&&ValueUtil[_0x3a7fcc(0x1c7)](this[_0x3a7fcc(0x1ae)])){let _0x103de0=ValueUtil[_0x3a7fcc(0x1be)](this[_0x3a7fcc(0x1bf)],'mutation',_0x3a7fcc(0x1c9),_0x3a7fcc(0x1ae));ValueUtil[_0x3a7fcc(0x1c7)](_0x103de0)&&_0x2b99a1['forEach'](_0x5caa9e=>{const _0x3549eb=_0x3a7fcc;if(_0x103de0[_0x3549eb(0x1ce)]('.')){let _0xd4d28e=_0x103de0[_0x3549eb(0x1b9)]('.');_0x5caa9e[_0xd4d28e[0x0]]={},_0x5caa9e[_0xd4d28e[0x0]][_0xd4d28e[0x1]]=this[_0x3549eb(0x1ae)];}else _0x5caa9e[_0x103de0]=this[_0x3549eb(0x1ae)];});}return await MetaApi[_0x3a7fcc(0x1ca)](_0x4ef080,_0x2b99a1);}};
@@ -1 +1 @@
1
- const a0_0x4f49dd=a0_0xccb8;(function(_0x473a86,_0x4fed23){const _0x59546f=a0_0xccb8,_0x2469c8=_0x473a86();while(!![]){try{const _0x4d402c=parseInt(_0x59546f(0x17d))/0x1+-parseInt(_0x59546f(0x16e))/0x2+parseInt(_0x59546f(0x165))/0x3+parseInt(_0x59546f(0x194))/0x4+-parseInt(_0x59546f(0x192))/0x5*(parseInt(_0x59546f(0x172))/0x6)+parseInt(_0x59546f(0x18d))/0x7*(parseInt(_0x59546f(0x18e))/0x8)+-parseInt(_0x59546f(0x196))/0x9*(parseInt(_0x59546f(0x190))/0xa);if(_0x4d402c===_0x4fed23)break;else _0x2469c8['push'](_0x2469c8['shift']());}catch(_0x539189){_0x2469c8['push'](_0x2469c8['shift']());}}}(a0_0x4df2,0xa7c24));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x4df2(){const _0x433f21=['getMainGrist','545530MqWVnF','connectedCallback','3764940eXCdQZ','exportable','9ecRwLS','filter','grid','gristId','ox-filters-form-base','type','parseGristConfigs','value','searchFieldValues','gridColumnConfig','useFilterForm','querySelector','map','render','23514NwxppD','name','shadowRoot','grist','getAndParseMenuMeta','firstUpdated','getData','getBasicTabDetailStyles','parseGridConfigSet','2370578NtBNeS','isPage','search','grid_column','18anFlkP','masterElement','dataSet','clear','useMasterFilterForm','activityDataSet','beforeFetch','isElement','gristConfigSet','properties','importable','460441CDcaqO','options','context','useButtonImport','operator','gridConfig','useButtonExport','push','getTabDetailHtml','buttonConfig','getContextObject','pageInitialized','detailElement','filterForm','filterFormId','actions','14lOTnJu','3696584cnZbtl','fetch','1339130HDOXtU'];a0_0x4df2=function(){return _0x433f21;};return a0_0x4df2();}function a0_0xccb8(_0x1c4e2e,_0x34dd4c){const _0x4df202=a0_0x4df2();return a0_0xccb8=function(_0xccb803,_0x4b0b51){_0xccb803=_0xccb803-0x162;let _0x23efe9=_0x4df202[_0xccb803];return _0x23efe9;},a0_0xccb8(_0x1c4e2e,_0x34dd4c);}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x3898b6=>class extends MetaButtonMixin(_0x3898b6){static get['styles'](){const _0x26db24=a0_0xccb8;return MetaApi[_0x26db24(0x16c)]();}static get[a0_0x4f49dd(0x17b)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0x52444f=a0_0x4f49dd;return this[_0x52444f(0x173)][_0x52444f(0x191)]();}get[a0_0x4f49dd(0x18a)](){const _0x191a2d=a0_0x4f49dd;return this[_0x191a2d(0x167)]?.[_0x191a2d(0x162)](this[_0x191a2d(0x18b)]);}get[a0_0x4f49dd(0x17f)](){const _0x10d8b5=a0_0x4f49dd;let _0x187e7c=MetaUiUtil[_0x10d8b5(0x187)](this);return _0x187e7c[_0x10d8b5(0x18c)]&&delete _0x187e7c[_0x10d8b5(0x18c)],_0x187e7c[_0x10d8b5(0x195)]&&delete _0x187e7c[_0x10d8b5(0x195)],_0x187e7c[_0x10d8b5(0x17c)]&&delete _0x187e7c[_0x10d8b5(0x17c)],_0x187e7c;}async[a0_0x4f49dd(0x193)](){const _0x1eb1a2=a0_0x4f49dd;this[_0x1eb1a2(0x199)]='ox-grist',this['filterFormId']=_0x1eb1a2(0x19a),await this[_0x1eb1a2(0x169)](),this[_0x1eb1a2(0x179)]&&await this['parseGristConfigs'](),this[_0x1eb1a2(0x177)]&&(this[_0x1eb1a2(0x174)]=(this[_0x1eb1a2(0x177)]||{})['main']),super[_0x1eb1a2(0x193)]&&await super[_0x1eb1a2(0x193)]();}async[a0_0x4f49dd(0x16a)](){const _0x271ed1=a0_0x4f49dd;super[_0x271ed1(0x16a)]&&await super[_0x271ed1(0x16a)]();}async[a0_0x4f49dd(0x188)](){const _0x4090f8=a0_0x4f49dd;this[_0x4090f8(0x16f)]&&await this[_0x4090f8(0x19c)](),super[_0x4090f8(0x188)]&&await super[_0x4090f8(0x188)]();}[a0_0x4f49dd(0x164)](){const _0x3b24db=a0_0x4f49dd;return MetaApi[_0x3b24db(0x185)](this);}['parseBasicGridConfigs'](_0x437e29){const _0x337a75=a0_0x4f49dd;this[_0x337a75(0x182)]=_0x437e29[_0x337a75(0x198)],this[_0x337a75(0x19f)]=_0x437e29[_0x337a75(0x171)],this['searchConfig']=_0x437e29[_0x337a75(0x170)];}async[a0_0x4f49dd(0x19c)](){const _0x26d7fb=a0_0x4f49dd;this['gristConfigSet']=await MetaApi[_0x26d7fb(0x16d)](this),this[_0x26d7fb(0x176)]=!0x0===this[_0x26d7fb(0x1a0)],this[_0x26d7fb(0x1a0)]=!0x1,this[_0x26d7fb(0x186)]=void 0x0,this[_0x26d7fb(0x183)]=!0x1,this[_0x26d7fb(0x180)]=!0x1,this[_0x26d7fb(0x19e)]=[],this['searchFields']=this[_0x26d7fb(0x17a)]['columns'][_0x26d7fb(0x197)](_0x42ad0d=>_0x42ad0d['filter'])[_0x26d7fb(0x163)](_0x38d717=>{const _0x123da9=_0x26d7fb;let _0x2ebbc={'name':_0x38d717[_0x123da9(0x166)],'type':_0x123da9(0x170)===_0x38d717[_0x123da9(0x197)][_0x123da9(0x181)]?'search':_0x38d717[_0x123da9(0x19b)],'label':_0x38d717['header'],'operator':_0x38d717[_0x123da9(0x197)][_0x123da9(0x181)]?_0x38d717[_0x123da9(0x197)]['operator']:'eq'};return _0x38d717['filter']['options']&&(_0x2ebbc[_0x123da9(0x17e)]=_0x38d717[_0x123da9(0x197)]['options']),_0x38d717['record'][_0x123da9(0x17e)]&&(_0x2ebbc[_0x123da9(0x17e)]=_0x38d717['record'][_0x123da9(0x17e)]),_0x38d717['filter'][_0x123da9(0x19d)]&&this['searchFieldValues'][_0x123da9(0x184)]({'name':_0x2ebbc[_0x123da9(0x166)],'operator':_0x2ebbc[_0x123da9(0x181)],'value':_0x38d717[_0x123da9(0x197)][_0x123da9(0x19d)]}),delete _0x38d717[_0x123da9(0x197)],_0x2ebbc;});}async[a0_0x4f49dd(0x18f)](){const _0x3d117b=a0_0x4f49dd;await this[_0x3d117b(0x168)][_0x3d117b(0x18f)]();}async[a0_0x4f49dd(0x178)]({page:_0x28538b=0x0,limit:_0x13a238=0x0,sortings:_0x241a38=[],filters:_0x358928=[]}){const _0x36a3bf=a0_0x4f49dd;return this['masterElement']&&this[_0x36a3bf(0x173)][_0x36a3bf(0x175)]&&await this[_0x36a3bf(0x173)][_0x36a3bf(0x175)](),this[_0x36a3bf(0x189)]&&this['detailElement'][_0x36a3bf(0x175)]&&await this['detailElement'][_0x36a3bf(0x175)](),!0x0;}[a0_0x4f49dd(0x16b)](){const _0x3eafc1=a0_0x4f49dd;return{'master':this['masterElement'][_0x3eafc1(0x16b)](),'detail':this[_0x3eafc1(0x189)][_0x3eafc1(0x16b)]()};}};
1
+ const a0_0x48a057=a0_0x5127;(function(_0x5663de,_0x4030b3){const _0x4d6ad3=a0_0x5127,_0x3ef962=_0x5663de();while(!![]){try{const _0x28bed9=parseInt(_0x4d6ad3(0x117))/0x1+-parseInt(_0x4d6ad3(0x106))/0x2+parseInt(_0x4d6ad3(0x127))/0x3*(-parseInt(_0x4d6ad3(0x118))/0x4)+-parseInt(_0x4d6ad3(0x136))/0x5+-parseInt(_0x4d6ad3(0x11c))/0x6*(parseInt(_0x4d6ad3(0x11e))/0x7)+parseInt(_0x4d6ad3(0x102))/0x8*(-parseInt(_0x4d6ad3(0x11b))/0x9)+parseInt(_0x4d6ad3(0x125))/0xa;if(_0x28bed9===_0x4030b3)break;else _0x3ef962['push'](_0x3ef962['shift']());}catch(_0x3e8ab9){_0x3ef962['push'](_0x3ef962['shift']());}}}(a0_0x5ca2,0x2b218));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x5127(_0x207466,_0x3e4a8e){const _0x5ca265=a0_0x5ca2();return a0_0x5127=function(_0x51275d,_0x2eada6){_0x51275d=_0x51275d-0x101;let _0x11c234=_0x5ca265[_0x51275d];return _0x11c234;},a0_0x5127(_0x207466,_0x3e4a8e);}function a0_0x5ca2(){const _0x34db8c=['operator','getAndParseMenuMeta','parseGridConfigSet','gridColumnConfig','filterFormId','clear','ox-grist','header','map','parseGristConfigs','1136075WkKRfr','connectedCallback','dataSet','actions','pageInitialized','getData','filterForm','93784pTXNOz','useButtonExport','useButtonImport','gristConfigSet','518158bKCcJo','isElement','styles','getBasicTabDetailStyles','getTabDetailHtml','firstUpdated','properties','buttonConfig','value','gridConfig','fetch','context','importable','activityDataSet','name','grist','filter','217646iigIsQ','4JAuOOJ','push','getMainGrist','234PkGZcL','1245960tiqBdm','ox-filters-form-base','7KYgvio','searchFieldValues','getContextObject','grid_column','columns','detailElement','record','10949490tSuQJd','searchFields','411537KgIxhE','options','masterElement','useFilterForm','search'];a0_0x5ca2=function(){return _0x34db8c;};return a0_0x5ca2();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x35a9af=>class extends MetaButtonMixin(_0x35a9af){static get[a0_0x48a057(0x108)](){const _0x5c419f=a0_0x48a057;return MetaApi[_0x5c419f(0x109)]();}static get[a0_0x48a057(0x10c)](){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_0x48a057(0x115)](){const _0x6b1e91=a0_0x48a057;return this[_0x6b1e91(0x129)][_0x6b1e91(0x11a)]();}get[a0_0x48a057(0x101)](){const _0x3a494c=a0_0x48a057;return this['shadowRoot']?.['querySelector'](this[_0x3a494c(0x130)]);}get[a0_0x48a057(0x111)](){const _0xddf5b9=a0_0x48a057;let _0x34818a=MetaUiUtil[_0xddf5b9(0x120)](this);return _0x34818a[_0xddf5b9(0x139)]&&delete _0x34818a['actions'],_0x34818a['exportable']&&delete _0x34818a['exportable'],_0x34818a['importable']&&delete _0x34818a[_0xddf5b9(0x112)],_0x34818a;}async[a0_0x48a057(0x137)](){const _0x2c420a=a0_0x48a057;this['gristId']=_0x2c420a(0x132),this[_0x2c420a(0x130)]=_0x2c420a(0x11d),await this[_0x2c420a(0x12d)](),this[_0x2c420a(0x107)]&&await this[_0x2c420a(0x135)](),this[_0x2c420a(0x113)]&&(this[_0x2c420a(0x138)]=(this['activityDataSet']||{})['main']),super[_0x2c420a(0x137)]&&await super[_0x2c420a(0x137)]();}async['firstUpdated'](){const _0xddc6ec=a0_0x48a057;super['firstUpdated']&&await super[_0xddc6ec(0x10b)]();}async[a0_0x48a057(0x13a)](){const _0x556bc4=a0_0x48a057;this['isPage']&&await this[_0x556bc4(0x135)](),super[_0x556bc4(0x13a)]&&await super[_0x556bc4(0x13a)]();}['render'](){const _0x251a6a=a0_0x48a057;return MetaApi[_0x251a6a(0x10a)](this);}['parseBasicGridConfigs'](_0x3b9695){const _0xaa19b0=a0_0x48a057;this[_0xaa19b0(0x10f)]=_0x3b9695['grid'],this[_0xaa19b0(0x12f)]=_0x3b9695[_0xaa19b0(0x121)],this['searchConfig']=_0x3b9695['search'];}async[a0_0x48a057(0x135)](){const _0xd19d11=a0_0x48a057;this[_0xd19d11(0x105)]=await MetaApi[_0xd19d11(0x12e)](this),this['useMasterFilterForm']=!0x0===this[_0xd19d11(0x12a)],this[_0xd19d11(0x12a)]=!0x1,this[_0xd19d11(0x10d)]=void 0x0,this[_0xd19d11(0x103)]=!0x1,this[_0xd19d11(0x104)]=!0x1,this['searchFieldValues']=[],this[_0xd19d11(0x126)]=this[_0xd19d11(0x105)][_0xd19d11(0x122)][_0xd19d11(0x116)](_0x4fb8b9=>_0x4fb8b9['filter'])[_0xd19d11(0x134)](_0xa9261f=>{const _0x9e5f9=_0xd19d11;let _0x234f70={'name':_0xa9261f[_0x9e5f9(0x114)],'type':_0x9e5f9(0x12b)===_0xa9261f[_0x9e5f9(0x116)][_0x9e5f9(0x12c)]?'search':_0xa9261f['type'],'label':_0xa9261f[_0x9e5f9(0x133)],'operator':_0xa9261f[_0x9e5f9(0x116)]['operator']?_0xa9261f['filter'][_0x9e5f9(0x12c)]:'eq'};return _0xa9261f[_0x9e5f9(0x116)][_0x9e5f9(0x128)]&&(_0x234f70['options']=_0xa9261f[_0x9e5f9(0x116)][_0x9e5f9(0x128)]),_0xa9261f[_0x9e5f9(0x124)][_0x9e5f9(0x128)]&&(_0x234f70[_0x9e5f9(0x128)]=_0xa9261f[_0x9e5f9(0x124)][_0x9e5f9(0x128)]),_0xa9261f[_0x9e5f9(0x116)][_0x9e5f9(0x10e)]&&this[_0x9e5f9(0x11f)][_0x9e5f9(0x119)]({'name':_0x234f70[_0x9e5f9(0x114)],'operator':_0x234f70[_0x9e5f9(0x12c)],'value':_0xa9261f['filter']['value']}),delete _0xa9261f['filter'],_0x234f70;});}async['fetch'](){const _0x347c0f=a0_0x48a057;await this[_0x347c0f(0x115)][_0x347c0f(0x110)]();}async['beforeFetch']({page:_0x241f21=0x0,limit:_0xda7eb4=0x0,sortings:_0x499e39=[],filters:_0x415c17=[]}){const _0x1c5484=a0_0x48a057;return this[_0x1c5484(0x129)]&&this[_0x1c5484(0x129)]['clear']&&await this[_0x1c5484(0x129)]['clear'](),this[_0x1c5484(0x123)]&&this['detailElement'][_0x1c5484(0x131)]&&await this[_0x1c5484(0x123)][_0x1c5484(0x131)](),!0x0;}[a0_0x48a057(0x13b)](){const _0x5b0710=a0_0x48a057;return{'master':this['masterElement']['getData'](),'detail':this[_0x5b0710(0x123)][_0x5b0710(0x13b)]()};}};
@@ -1 +1 @@
1
- const a0_0xc409eb=a0_0x5c3d;(function(_0x53699c,_0x4a94ec){const _0x2e8ee2=a0_0x5c3d,_0x245d98=_0x53699c();while(!![]){try{const _0x2075b9=-parseInt(_0x2e8ee2(0x129))/0x1+parseInt(_0x2e8ee2(0x13b))/0x2+-parseInt(_0x2e8ee2(0x14a))/0x3+-parseInt(_0x2e8ee2(0x139))/0x4*(-parseInt(_0x2e8ee2(0x133))/0x5)+parseInt(_0x2e8ee2(0x149))/0x6+parseInt(_0x2e8ee2(0x137))/0x7*(parseInt(_0x2e8ee2(0x13d))/0x8)+-parseInt(_0x2e8ee2(0x14f))/0x9*(parseInt(_0x2e8ee2(0x131))/0xa);if(_0x2075b9===_0x4a94ec)break;else _0x245d98['push'](_0x245d98['shift']());}catch(_0x21ab4e){_0x245d98['push'](_0x245d98['shift']());}}}(a0_0x55b4,0x51a69));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x55b4(){const _0x565cd2=['meta-grist-element','tabElements','getBasicTabStyles','getData','tabRenderConfig','main_tab_info','30IxZFQJ','firstUpdated','5YZFKpA','forEach','context','route_name','75523jwUCOe','length','2507388VdUZMv','getBasicTabHtml','431554nfgDdw','name','248NkwTYx','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','icon','tab','parse','etcConfig','activityDataSet','dataSet','@things-factory/meta-ui/client/pages/meta-grist-element','pageInitialized','connectedCallback','styles','3715308wnRfbl','266106fKUxOi','render','mainFilterForm','parseBasicTabConfigs','getMainGrist','3679524qPtUBj','grist','currentTabKey','146650hOFtXy','button'];a0_0x55b4=function(){return _0x565cd2;};return a0_0x55b4();}import{ValueUtil}from'../utils/value-util';function a0_0x5c3d(_0x80d943,_0x2a62d3){const _0x55b44b=a0_0x55b4();return a0_0x5c3d=function(_0x5c3dea,_0x44a38e){_0x5c3dea=_0x5c3dea-0x129;let _0x3cbdec=_0x55b44b[_0x5c3dea];return _0x3cbdec;},a0_0x5c3d(_0x80d943,_0x2a62d3);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x5e6d97=>class extends MetaButtonMixin(_0x5e6d97){static get[a0_0xc409eb(0x148)](){const _0x4a5ef2=a0_0xc409eb;return MetaApi[_0x4a5ef2(0x12d)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0xc409eb(0x135)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x58be06=a0_0xc409eb;this[_0x58be06(0x151)]=void 0x0,await this['getAndParseMenuMeta'](),this[_0x58be06(0x143)]&&(this[_0x58be06(0x144)]=this[_0x58be06(0x143)]),super['connectedCallback']&&await super[_0x58be06(0x147)]();}async[a0_0xc409eb(0x132)](){const _0x405657=a0_0xc409eb;super[_0x405657(0x132)]&&await super['firstUpdated']();}async[a0_0xc409eb(0x146)](){const _0xff0527=a0_0xc409eb;super['pageInitialized']&&await super[_0xff0527(0x146)]();}[a0_0xc409eb(0x14b)](){const _0x8c3ddf=a0_0xc409eb;return MetaApi[_0x8c3ddf(0x13a)](this);}[a0_0xc409eb(0x14d)](_0x2a8b93){const _0x42e944=a0_0xc409eb;if(!0x0===this['includeMainList']){let _0x31359e=this[_0x42e944(0x142)][_0x42e944(0x130)],_0x19de77=JSON[_0x42e944(0x141)](_0x31359e||_0x42e944(0x13e));_0x2a8b93[_0x42e944(0x140)]['unshift']({'name':_0x19de77[_0x42e944(0x13c)],'display':_0x19de77['display'],'tagname':_0x42e944(0x12b),'location':_0x42e944(0x145),'parent_field':'id','param_field':'param_field','menu':this[_0x42e944(0x136)],'icon':_0x19de77[_0x42e944(0x13f)],'filter_from':!0x1,'main_filter_form':this[_0x42e944(0x14c)]});}this[_0x42e944(0x12f)]=_0x2a8b93[_0x42e944(0x140)],_0x2a8b93[_0x42e944(0x12a)]=[];}async['clear'](){const _0x5c3842=a0_0xc409eb;if(this[_0x5c3842(0x12c)]){let _0x4c3731=Object['keys'](this[_0x5c3842(0x12c)]);for(var _0x15049a=0x0;_0x15049a<_0x4c3731[_0x5c3842(0x138)];_0x15049a++)await this['tabElements'][_0x4c3731[_0x15049a]]['clear']();}}['getData'](){const _0x1ed2df=a0_0xc409eb;let _0x3838fb={};return this[_0x1ed2df(0x12c)]&&Object['keys'](this['tabElements'])[_0x1ed2df(0x134)](_0x839191=>{const _0x543224=_0x1ed2df;_0x3838fb[_0x839191]=this[_0x543224(0x12c)][_0x839191][_0x543224(0x12e)]();}),_0x3838fb;}[a0_0xc409eb(0x14e)](){const _0x3798d9=a0_0xc409eb;if(this[_0x3798d9(0x12c)]){let _0x10a68c=Object['keys'](this[_0x3798d9(0x12c)]);return this[_0x3798d9(0x12c)][_0x10a68c[0x0]][_0x3798d9(0x150)];}}};
1
+ const a0_0x2d8a0b=a0_0x1071;(function(_0x353b8a,_0x17bccd){const _0x32d3c9=a0_0x1071,_0x3d2039=_0x353b8a();while(!![]){try{const _0x4d4700=parseInt(_0x32d3c9(0xe6))/0x1+-parseInt(_0x32d3c9(0xdb))/0x2+-parseInt(_0x32d3c9(0xf1))/0x3+-parseInt(_0x32d3c9(0xef))/0x4+parseInt(_0x32d3c9(0xd8))/0x5+-parseInt(_0x32d3c9(0xeb))/0x6+parseInt(_0x32d3c9(0xd9))/0x7;if(_0x4d4700===_0x17bccd)break;else _0x3d2039['push'](_0x3d2039['shift']());}catch(_0x497a46){_0x3d2039['push'](_0x3d2039['shift']());}}}(a0_0x3041,0x2b528));function a0_0x3041(){const _0x1c0875=['context','tab','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','@things-factory/meta-ui/client/pages/meta-grist-element','param_field','pageInitialized','forEach','1680710qwvPxd','5320756CpZJsR','getMainGrist','459906sgJjuW','includeMainList','icon','parse','activityDataSet','grist','meta-grist-element','firstUpdated','render','dataSet','getData','182309DVixtZ','tabElements','unshift','getBasicTabStyles','getAndParseMenuMeta','1788396mVTYAR','parseBasicTabConfigs','currentTabKey','getBasicTabHtml','1212624qaUtiR','tabRenderConfig','809808dLrxhT','length','clear','main_tab_info','mainFilterForm','getContextObject','button','display','etcConfig','connectedCallback','keys'];a0_0x3041=function(){return _0x1c0875;};return a0_0x3041();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x1071(_0x4350a2,_0x1d63b6){const _0x30415c=a0_0x3041();return a0_0x1071=function(_0x107190,_0x491565){_0x107190=_0x107190-0xca;let _0x2f4e7f=_0x30415c[_0x107190];return _0x2f4e7f;},a0_0x1071(_0x4350a2,_0x1d63b6);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x2e7533=>class extends MetaButtonMixin(_0x2e7533){static get['styles'](){const _0xadeffa=a0_0x1071;return MetaApi[_0xadeffa(0xe9)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x2d8a0b(0xd1)](){const _0xc5e83c=a0_0x2d8a0b;return MetaUiUtil[_0xc5e83c(0xcb)](this);}async[a0_0x2d8a0b(0xcf)](){const _0x172e28=a0_0x2d8a0b;this[_0x172e28(0xed)]=void 0x0,await this[_0x172e28(0xea)](),this['activityDataSet']&&(this[_0x172e28(0xe4)]=this[_0x172e28(0xdf)]),super[_0x172e28(0xcf)]&&await super[_0x172e28(0xcf)]();}async['firstUpdated'](){const _0x3ee890=a0_0x2d8a0b;super[_0x3ee890(0xe2)]&&await super[_0x3ee890(0xe2)]();}async[a0_0x2d8a0b(0xd6)](){const _0x5025aa=a0_0x2d8a0b;super['pageInitialized']&&await super[_0x5025aa(0xd6)]();}[a0_0x2d8a0b(0xe3)](){const _0x1afc24=a0_0x2d8a0b;return MetaApi[_0x1afc24(0xee)](this);}[a0_0x2d8a0b(0xec)](_0x1a895b){const _0x5d4a46=a0_0x2d8a0b;if(!0x0===this[_0x5d4a46(0xdc)]){let _0x1c2437=this[_0x5d4a46(0xce)][_0x5d4a46(0xf4)],_0x106908=JSON[_0x5d4a46(0xde)](_0x1c2437||_0x5d4a46(0xd3));_0x1a895b[_0x5d4a46(0xd2)][_0x5d4a46(0xe8)]({'name':_0x106908['name'],'display':_0x106908[_0x5d4a46(0xcd)],'tagname':_0x5d4a46(0xe1),'location':_0x5d4a46(0xd4),'parent_field':'id','param_field':_0x5d4a46(0xd5),'menu':this['route_name'],'icon':_0x106908[_0x5d4a46(0xdd)],'filter_from':!0x1,'main_filter_form':this[_0x5d4a46(0xca)]});}this[_0x5d4a46(0xf0)]=_0x1a895b[_0x5d4a46(0xd2)],_0x1a895b[_0x5d4a46(0xcc)]=[];}async[a0_0x2d8a0b(0xf3)](){const _0x2fc1cb=a0_0x2d8a0b;if(this[_0x2fc1cb(0xe7)]){let _0x243a41=Object[_0x2fc1cb(0xd0)](this['tabElements']);for(var _0x570408=0x0;_0x570408<_0x243a41[_0x2fc1cb(0xf2)];_0x570408++)await this[_0x2fc1cb(0xe7)][_0x243a41[_0x570408]][_0x2fc1cb(0xf3)]();}}[a0_0x2d8a0b(0xe5)](){const _0x192277=a0_0x2d8a0b;let _0x2e07eb={};return this['tabElements']&&Object[_0x192277(0xd0)](this[_0x192277(0xe7)])[_0x192277(0xd7)](_0x634901=>{const _0x48e537=_0x192277;_0x2e07eb[_0x634901]=this['tabElements'][_0x634901][_0x48e537(0xe5)]();}),_0x2e07eb;}[a0_0x2d8a0b(0xda)](){const _0x408137=a0_0x2d8a0b;if(this[_0x408137(0xe7)]){let _0x5e3e53=Object[_0x408137(0xd0)](this[_0x408137(0xe7)]);return this[_0x408137(0xe7)][_0x5e3e53[0x0]][_0x408137(0xe0)];}}};
@@ -1,18 +1,18 @@
1
- const a0_0x2fcb47=a0_0xb7f1;(function(_0x3660d4,_0x352899){const _0x5ac134=a0_0xb7f1,_0x196cb1=_0x3660d4();while(!![]){try{const _0x1b47ac=-parseInt(_0x5ac134(0x10b))/0x1+parseInt(_0x5ac134(0xdb))/0x2*(-parseInt(_0x5ac134(0xe2))/0x3)+parseInt(_0x5ac134(0x102))/0x4+parseInt(_0x5ac134(0x104))/0x5*(parseInt(_0x5ac134(0xf2))/0x6)+parseInt(_0x5ac134(0xdf))/0x7+-parseInt(_0x5ac134(0xd2))/0x8*(parseInt(_0x5ac134(0xf1))/0x9)+parseInt(_0x5ac134(0xea))/0xa;if(_0x1b47ac===_0x352899)break;else _0x196cb1['push'](_0x196cb1['shift']());}catch(_0x59ffbc){_0x196cb1['push'](_0x196cb1['shift']());}}}(a0_0x1533,0xb524b));import a0_0xa322d7 from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{MetaApi}from'./../../utils/meta-api';function a0_0xb7f1(_0x187256,_0x7ba51d){const _0x153389=a0_0x1533();return a0_0xb7f1=function(_0xb7f131,_0x4504b4){_0xb7f131=_0xb7f131-0xb3;let _0x1e78ac=_0x153389[_0xb7f131];return _0x1e78ac;},a0_0xb7f1(_0x187256,_0x7ba51d);}import{MetaUiUtil}from'./../../utils/meta-ui-util';import{ValueUtil}from'./../../utils/value-util';import{TermsUtil}from'./../../utils/terms-util';import{ServiceUtil}from'../../utils/service-util';function a0_0x1533(){const _0x1b818d=['delete','info','errors','grist','activity-state-released','meta-activity-viewer-element','getGristColumnConfig2','left','bind','3844424sRfzyB','assign','getGristPagination50Config','updater','tButton','template','save','GRID','tText','62AbCFsL','parse','metaActivities','push','4402769ZCsJTI','context','multiple','35826DbdQGL','single','showGraphqlException','showGraphqlErrorResponse','tTitle','connectedCallback','ox-grist','showToast','5237850WblMzF','state','deploy','filter','install_activity_success','SCREEN','system_update','18VvHuIS','6PRThpj','shadowRoot','name','meta-activity-writer-element','custom-element','deleteMetaActivities','fetch','string','updatedAt','\x0a\x20\x20\x20\x20\x20\x20model\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','meta-activity-list-page','query','updateMultipleMetaActivity','getGristSelectableConfig','activityType','getGristSelectorColumnConfig','5433328yhQCOT','getSelectColumns','254110Edyaxu','customElements','grid_view_options','pageInitialized','getBasicGristStyles','task','status','488635GAzNxi','center','styles','routing','menus','records','render','draft','gridConfig','tLabel','released','HIDDEN-PAGE','querySelector','patchesForUpdateMultiple','gridMode','like','fetchHandler','activity-state-deprecated','forEach','meta_activity_list','isMobileEnv','model','updateMultiple','install_activity','isNotEmpty','resource-object','activity-state-draft','columns','menu','description','datetime','menu_type','startingType','getGristGuttersConfig','LIST'];a0_0x1533=function(){return _0x1b818d;};return a0_0x1533();}import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x2fcb47(0x10d)](){const _0x378871=a0_0x2fcb47;return MetaApi[_0x378871(0x108)]();}get[a0_0x2fcb47(0xe0)](){const _0x554f31=a0_0x2fcb47;return{'title':TermsUtil[_0x554f31(0xe6)](_0x554f31(0xb9)),'actions':[{'title':TermsUtil[_0x554f31(0xd6)](_0x554f31(0xd8)),'action':this[_0x554f31(0xd8)][_0x554f31(0xd1)](this),...CommonButtonStyles[_0x554f31(0xd8)]},{'title':TermsUtil['tButton'](_0x554f31(0xc9)),'action':this[_0x554f31(0xc9)][_0x554f31(0xd1)](this),...CommonButtonStyles[_0x554f31(0xc9)]},{'title':TermsUtil[_0x554f31(0xd6)](_0x554f31(0xbd)),'action':this[_0x554f31(0xec)][_0x554f31(0xd1)](this),'icon':_0x554f31(0xf0),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get['grist'](){const _0x31830a=a0_0x2fcb47;return this[_0x31830a(0xf3)][_0x31830a(0x117)](_0x31830a(0xe8));}async[a0_0x2fcb47(0xe7)](){const _0x52cc7f=a0_0x2fcb47,_0x57facd=[{'display':'','value':''},{'display':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xc0)),'value':_0x52cc7f(0x112)},{'display':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xcd)),'value':_0x52cc7f(0x115)},{'display':TermsUtil['tLabel'](_0x52cc7f(0xb7)),'value':'deprecated'}];this[_0x52cc7f(0x106)]=['LIST',_0x52cc7f(0xd9),'CARD'],this[_0x52cc7f(0xb4)]=MetaApi[_0x52cc7f(0xba)]()?_0x52cc7f(0xc8):_0x52cc7f(0xd9),this[_0x52cc7f(0x113)]={'option':{'view_mode':this[_0x52cc7f(0x106)]},'rows':MetaApi[_0x52cc7f(0xff)](!0x0),'pagination':MetaApi[_0x52cc7f(0xd4)](),'sorters':[{'name':_0x52cc7f(0xf4),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x52cc7f(0xc7)](!0x0,!0x1),{'type':'string','name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil['getGristColumnConfig2'](_0x52cc7f(0xf9),'name','name',_0x52cc7f(0xd0),!0x0,!0x0,0xc8),MetaUiUtil[_0x52cc7f(0xcf)](_0x52cc7f(0xf9),_0x52cc7f(0xc3),_0x52cc7f(0xc3),'left',!0x0,!0x0,0x12c),MetaUiUtil[_0x52cc7f(0x101)](_0x52cc7f(0xeb),_0x52cc7f(0x10a),_0x52cc7f(0x10c),!0x0,0x64,!0x1,_0x57facd),{'type':_0x52cc7f(0xbf),'name':_0x52cc7f(0xc2),'header':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xc2)),'record':{'editable':!0x0,'options':{'queryName':_0x52cc7f(0x10f),'basicArgs':{'filters':[{'name':'menuType','operator':'in','value':[_0x52cc7f(0xef),'POPUP',_0x52cc7f(0x116)]},{'name':_0x52cc7f(0x10e),'operator':'is_not_null','value':''},{'name':_0x52cc7f(0xd7),'operator':'is_not_null','value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x52cc7f(0xf4),'header':TermsUtil[_0x52cc7f(0x114)](_0x52cc7f(0xf4)),'width':0xfa,'filter':'search'},await MetaApi['getGristCodeSelectorColumnConfig']('menuType',_0x52cc7f(0xc5),_0x52cc7f(0xd0),!0x1,0x6e,!0x1,'MENU_PAGE_TYPE'),MetaUiUtil[_0x52cc7f(0xcf)]('string',_0x52cc7f(0x10e),'routing',_0x52cc7f(0xd0),!0x1,!0x1,0xfa)],'list':{'fields':['name','routing']},'nameField':_0x52cc7f(0x10e)}},'width':0xeb},MetaUiUtil[_0x52cc7f(0xcf)]('object',_0x52cc7f(0xd5),_0x52cc7f(0xd5),_0x52cc7f(0x10c),!0x1,!0x1,0x78),MetaUiUtil[_0x52cc7f(0xcf)](_0x52cc7f(0xc4),_0x52cc7f(0xfa),'updated_at',_0x52cc7f(0x10c),!0x1,!0x0,0xb4),{'name':_0x52cc7f(0x100),'hidden':!0x0},{'name':_0x52cc7f(0xe1),'hidden':!0x0},{'name':'startingType','hidden':!0x0}],'sorters':[{'name':'name','desc':!0x1}]};let _0x492c74={'name':_0x52cc7f(0xb5)};this['gridConfig'][_0x52cc7f(0xc1)][_0x52cc7f(0xed)](_0xfe33fb=>_0x492c74[_0xfe33fb[_0x52cc7f(0xf4)]])[_0x52cc7f(0xb8)](_0x765d9c=>{const _0x36a33a=_0x52cc7f;_0x765d9c[_0x36a33a(0xed)]=_0x492c74[_0x765d9c[_0x36a33a(0xf4)]];}),this[_0x52cc7f(0xe7)]&&await super['connectedCallback']();}async[a0_0x2fcb47(0xb6)]({page:_0x2cc2ac,limit:_0x2b4467,sorters:_0xe19335=[],filters:_0x28728b=[]}){const _0x6d2662=a0_0x2fcb47;_0x28728b[_0x6d2662(0xde)]({'name':_0x6d2662(0xbb),'operator':_0x6d2662(0xb5),'value':'\x22relation-menu\x22'});let _0x3d1ca9=MetaApi[_0x6d2662(0x103)](this[_0x6d2662(0x113)][_0x6d2662(0xc1)][_0x6d2662(0xed)](_0x4c71fe=>'menu'!=_0x4c71fe[_0x6d2662(0xf4)]));_0x3d1ca9+=_0x6d2662(0xfb);let _0x4f76f8=await MetaApi['searchByPagination'](_0x6d2662(0xdd),_0x28728b,_0xe19335,_0x2cc2ac,_0x2b4467,_0x3d1ca9);return _0x4f76f8[_0x6d2662(0x110)][_0x6d2662(0xb8)](_0x384f88=>{const _0x529057=_0x6d2662;let _0x6d26a8=_0x384f88['model'][_0x529057(0xed)](_0x17c1a0=>'relation-menu'==_0x17c1a0['name']);_0x6d26a8&&_0x6d26a8['length']>0x0&&(_0x384f88[_0x529057(0xc2)]=JSON[_0x529057(0xdc)](_0x6d26a8[0x0][_0x529057(0xc3)])),delete _0x384f88[_0x529057(0xbb)];}),_0x4f76f8;}async[a0_0x2fcb47(0xec)](){const _0x352cde=a0_0x2fcb47;try{var _0x524bb2=await client[_0x352cde(0xfd)]({'query':a0_0xa322d7`
1
+ const a0_0x6a43af=a0_0x3408;(function(_0x4e795c,_0x4b9cb2){const _0x3b9ffb=a0_0x3408,_0x1fb75d=_0x4e795c();while(!![]){try{const _0x1e2260=-parseInt(_0x3b9ffb(0xfb))/0x1*(parseInt(_0x3b9ffb(0x10f))/0x2)+parseInt(_0x3b9ffb(0x11f))/0x3+parseInt(_0x3b9ffb(0xf7))/0x4+-parseInt(_0x3b9ffb(0xef))/0x5+parseInt(_0x3b9ffb(0x119))/0x6*(parseInt(_0x3b9ffb(0xca))/0x7)+-parseInt(_0x3b9ffb(0xf4))/0x8*(parseInt(_0x3b9ffb(0xe4))/0x9)+parseInt(_0x3b9ffb(0xde))/0xa;if(_0x1e2260===_0x4b9cb2)break;else _0x1fb75d['push'](_0x1fb75d['shift']());}catch(_0x3d2d1e){_0x1fb75d['push'](_0x1fb75d['shift']());}}}(a0_0x1f43,0xe60f8));import a0_0x26c033 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';function a0_0x1f43(){const _0x3a7ccc=['activity-state-deprecated','updateMultiple','relation-menu','224NFgJxA','patchesForUpdateMultiple','state','string','customElements','install_activity','delete','custom-element','routing','tLabel','bind','like','post','query','save','system_update','activity-state-draft','SCREEN','pageInitialized','define','20580150sIICtO','\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','columns','GRID','gridConfig','isMobileEnv','45EIPvRt','menu','name','updater','fetchHandler','ox-grist','meta-activity-writer-element','updated_at','LIST','errors','fetch','9090830HJAKLN','center','search','forEach','single','2260408VybxGY','info','deploy','6152260zJGQvL','filter','grid_view_options','getGristCodeSelectorColumnConfig','855317oyXHJH','tButton','render','deleteListByGristSelected','getGristSelectorColumnConfig','menuType','meta_activity_list','released','model','activityType','parse','menu_type','gridMode','left','getSelectColumns','assign','multiple','\x22relation-menu\x22','is_not_null','POPUP','2qNvdbj','description','tText','CARD','MENU_PAGE_TYPE','deprecated','shadowRoot','context','deleteMetaActivities','task','49668OaRmEm','connectedCallback','getGristPagination50Config','menus','getGristGuttersConfig','getGristSelectableConfig','3502770vgFoFr','records','length','startingType','HIDDEN-PAGE','styles','grist','showGraphqlErrorResponse','template','getGristColumnConfig2'];a0_0x1f43=function(){return _0x3a7ccc;};return a0_0x1f43();}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_0x6a43af(0x124)](){return MetaApi['getBasicGristStyles']();}get[a0_0x6a43af(0x116)](){const _0x3a6842=a0_0x6a43af;return{'title':TermsUtil['tTitle'](_0x3a6842(0x101)),'actions':[{'title':TermsUtil[_0x3a6842(0xfc)](_0x3a6842(0xd8)),'action':this[_0x3a6842(0xd8)][_0x3a6842(0xd4)](this),...CommonButtonStyles[_0x3a6842(0xd8)]},{'title':TermsUtil[_0x3a6842(0xfc)](_0x3a6842(0xd0)),'action':this[_0x3a6842(0xd0)]['bind'](this),...CommonButtonStyles[_0x3a6842(0xd0)]},{'title':TermsUtil[_0x3a6842(0xfc)](_0x3a6842(0xcf)),'action':this[_0x3a6842(0xf6)][_0x3a6842(0xd4)](this),'icon':_0x3a6842(0xd9),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get['grist'](){const _0x42533d=a0_0x6a43af;return this[_0x42533d(0x115)]['querySelector'](_0x42533d(0xe9));}async[a0_0x6a43af(0x11a)](){const _0x24995a=a0_0x6a43af,_0x1d3708=[{'display':'','value':''},{'display':TermsUtil['tLabel'](_0x24995a(0xda)),'value':'draft'},{'display':TermsUtil[_0x24995a(0xd3)]('activity-state-released'),'value':_0x24995a(0x102)},{'display':TermsUtil[_0x24995a(0xd3)](_0x24995a(0x129)),'value':_0x24995a(0x114)}];this[_0x24995a(0xf9)]=['LIST',_0x24995a(0xe1),_0x24995a(0x112)],this['gridMode']=MetaApi[_0x24995a(0xe3)]()?_0x24995a(0xec):_0x24995a(0xe1),this[_0x24995a(0xe2)]={'option':{'view_mode':this[_0x24995a(0xf9)]},'rows':MetaApi[_0x24995a(0x11e)](!0x0),'pagination':MetaApi[_0x24995a(0x11b)](),'sorters':[{'name':'name','desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x24995a(0x11d)](!0x0,!0x1),{'type':'string','name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil['getGristColumnConfig2'](_0x24995a(0xcd),'name',_0x24995a(0xe6),_0x24995a(0x108),!0x0,!0x0,0xc8),MetaUiUtil[_0x24995a(0x128)](_0x24995a(0xcd),_0x24995a(0x110),_0x24995a(0x110),'left',!0x0,!0x0,0x12c),MetaUiUtil[_0x24995a(0xff)](_0x24995a(0xcc),'status',_0x24995a(0xf0),!0x0,0x64,!0x1,_0x1d3708),{'type':'resource-object','name':_0x24995a(0xe5),'header':TermsUtil[_0x24995a(0xd3)](_0x24995a(0xe5)),'record':{'editable':!0x0,'options':{'queryName':_0x24995a(0x11c),'basicArgs':{'filters':[{'name':_0x24995a(0x100),'operator':'in','value':[_0x24995a(0xdb),_0x24995a(0x10e),_0x24995a(0x123)]},{'name':_0x24995a(0xd2),'operator':_0x24995a(0x10d),'value':''},{'name':_0x24995a(0x127),'operator':'is_not_null','value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x24995a(0xe6),'header':TermsUtil[_0x24995a(0xd3)](_0x24995a(0xe6)),'width':0xfa,'filter':_0x24995a(0xf1)},await MetaApi[_0x24995a(0xfa)](_0x24995a(0x100),_0x24995a(0x106),_0x24995a(0x108),!0x1,0x6e,!0x1,_0x24995a(0x113)),MetaUiUtil[_0x24995a(0x128)](_0x24995a(0xcd),'routing',_0x24995a(0xd2),_0x24995a(0x108),!0x1,!0x1,0xfa)],'list':{'fields':['name','routing']},'nameField':_0x24995a(0xd2)}},'width':0xeb},MetaUiUtil[_0x24995a(0x128)]('object',_0x24995a(0xe7),_0x24995a(0xe7),'center',!0x1,!0x1,0x78),MetaUiUtil[_0x24995a(0x128)]('datetime','updatedAt',_0x24995a(0xeb),_0x24995a(0xf0),!0x1,!0x0,0xb4),{'name':_0x24995a(0x104),'hidden':!0x0},{'name':'multiple','hidden':!0x0},{'name':_0x24995a(0x122),'hidden':!0x0}],'sorters':[{'name':'name','desc':!0x1}]};let _0x2d0eeb={'name':_0x24995a(0xd5)};this[_0x24995a(0xe2)]['columns'][_0x24995a(0xf8)](_0x1e27ea=>_0x2d0eeb[_0x1e27ea[_0x24995a(0xe6)]])['forEach'](_0x49dcc8=>{const _0x15be4b=_0x24995a;_0x49dcc8['filter']=_0x2d0eeb[_0x49dcc8[_0x15be4b(0xe6)]];}),this[_0x24995a(0x11a)]&&await super[_0x24995a(0x11a)]();}async[a0_0x6a43af(0xe8)]({page:_0x314657,limit:_0x114c9b,sorters:_0x1bb97e=[],filters:_0x31352f=[]}){const _0x563e7c=a0_0x6a43af;_0x31352f['push']({'name':_0x563e7c(0x103),'operator':_0x563e7c(0xd5),'value':_0x563e7c(0x10c)});let _0x16c1fc=MetaApi[_0x563e7c(0x109)](this[_0x563e7c(0xe2)][_0x563e7c(0xe0)][_0x563e7c(0xf8)](_0x40b108=>_0x563e7c(0xe5)!=_0x40b108['name']));_0x16c1fc+=_0x563e7c(0xdf);let _0x241668=await MetaApi['searchByPagination']('metaActivities',_0x31352f,_0x1bb97e,_0x314657,_0x114c9b,_0x16c1fc);return _0x241668[_0x563e7c(0x120)][_0x563e7c(0xf2)](_0x44b6e8=>{const _0x21d55a=_0x563e7c;let _0xd7ccef=_0x44b6e8[_0x21d55a(0x103)][_0x21d55a(0xf8)](_0x1ce7d5=>_0x21d55a(0x12b)==_0x1ce7d5[_0x21d55a(0xe6)]);_0xd7ccef&&_0xd7ccef[_0x21d55a(0x121)]>0x0&&(_0x44b6e8['menu']=JSON[_0x21d55a(0x105)](_0xd7ccef[0x0]['description'])),delete _0x44b6e8[_0x21d55a(0x103)];}),_0x241668;}async['deploy'](){const _0x23e2c4=a0_0x6a43af;try{var _0xdf52c0=await client[_0x23e2c4(0xd7)]({'query':a0_0x26c033`
2
2
  mutation {
3
3
  installActivityTemplate
4
4
  }
5
- `});if(!_0x524bb2[_0x352cde(0xcb)])return UiUtil[_0x352cde(0xe9)](_0x352cde(0xca),TermsUtil[_0x352cde(0xda)](_0x352cde(0xee))),!0x0;ServiceUtil[_0x352cde(0xe5)](_0x524bb2);}catch(_0x567169){ServiceUtil[_0x352cde(0xe4)](_0x567169);}}async[a0_0x2fcb47(0xd8)](){const _0x141c47=a0_0x2fcb47;let _0x225d2f=ServiceUtil[_0x141c47(0xb3)](this[_0x141c47(0xcc)]);if(ValueUtil[_0x141c47(0xbe)](_0x225d2f)){_0x225d2f[_0x141c47(0xb8)](_0x55ce02=>{const _0x2e86a1=_0x141c47;Object[_0x2e86a1(0xd3)](_0x55ce02,{'uiSource':_0x2e86a1(0xf5),'uiType':'custom-element','viewSource':_0x2e86a1(0xce),'viewType':_0x2e86a1(0xf6)}),_0x55ce02['multiple']||(_0x55ce02[_0x2e86a1(0xe1)]=_0x2e86a1(0xe3)),_0x55ce02[_0x2e86a1(0x100)]||(_0x55ce02['activityType']=_0x2e86a1(0x109)),_0x55ce02[_0x2e86a1(0xc6)]||(_0x55ce02['startingType']='post');});let _0x55b879=await ServiceUtil[_0x141c47(0xbc)](_0x141c47(0xfe),_0x225d2f);if(_0x55b879)return this['grist'][_0x141c47(0xf8)](),_0x55b879;}}async[a0_0x2fcb47(0xc9)](){const _0x29fcb5=a0_0x2fcb47;await MetaApi['deleteListByGristSelected'](this['grist'],_0x29fcb5(0xf7));}async[a0_0x2fcb47(0x107)](){}[a0_0x2fcb47(0x111)](){const _0x526662=a0_0x2fcb47;return html`
5
+ `});if(!_0xdf52c0[_0x23e2c4(0xed)])return UiUtil['showToast'](_0x23e2c4(0xf5),TermsUtil[_0x23e2c4(0x111)]('install_activity_success')),!0x0;ServiceUtil[_0x23e2c4(0x126)](_0xdf52c0);}catch(_0x2b8561){ServiceUtil['showGraphqlException'](_0x2b8561);}}async[a0_0x6a43af(0xd8)](){const _0x2abb18=a0_0x6a43af;let _0x128b9f=ServiceUtil[_0x2abb18(0xcb)](this[_0x2abb18(0x125)]);if(ValueUtil['isNotEmpty'](_0x128b9f)){_0x128b9f[_0x2abb18(0xf2)](_0x4233d8=>{const _0x320067=_0x2abb18;Object[_0x320067(0x10a)](_0x4233d8,{'uiSource':_0x320067(0xea),'uiType':_0x320067(0xd1),'viewSource':'meta-activity-viewer-element','viewType':_0x320067(0xd1)}),_0x4233d8[_0x320067(0x10b)]||(_0x4233d8[_0x320067(0x10b)]=_0x320067(0xf3)),_0x4233d8[_0x320067(0x104)]||(_0x4233d8[_0x320067(0x104)]=_0x320067(0x118)),_0x4233d8['startingType']||(_0x4233d8['startingType']=_0x320067(0xd6));});let _0x2d7732=await ServiceUtil[_0x2abb18(0x12a)]('updateMultipleMetaActivity',_0x128b9f);if(_0x2d7732)return this[_0x2abb18(0x125)][_0x2abb18(0xee)](),_0x2d7732;}}async['delete'](){const _0x227d73=a0_0x6a43af;await MetaApi[_0x227d73(0xfe)](this[_0x227d73(0x125)],_0x227d73(0x117));}async[a0_0x6a43af(0xdc)](){}[a0_0x6a43af(0xfd)](){const _0x566aa8=a0_0x6a43af;return html`
6
6
  <ox-grist
7
7
  auto-fetch
8
8
  id="ox-grist"
9
- .config=${this[_0x526662(0x113)]}
10
- .mode=${this[_0x526662(0xb4)]}
11
- .fetchHandler=${this['fetchHandler']['bind'](this)}>
9
+ .config=${this[_0x566aa8(0xe2)]}
10
+ .mode=${this[_0x566aa8(0x107)]}
11
+ .fetchHandler=${this[_0x566aa8(0xe8)][_0x566aa8(0xd4)](this)}>
12
12
  <div slot="headroom">
13
13
  <div id="filters">
14
14
  <ox-filters-form ></ox-filters-form>
15
15
  </div>
16
16
  </div>
17
17
  </ox-grist>
18
- `;}}window[a0_0x2fcb47(0x105)]['define'](a0_0x2fcb47(0xfc),MetaActivityListPage);
18
+ `;}}function a0_0x3408(_0x34ac37,_0x76300f){const _0x1f4353=a0_0x1f43();return a0_0x3408=function(_0x3408e7,_0x41fe04){_0x3408e7=_0x3408e7-0xca;let _0x3637d5=_0x1f4353[_0x3408e7];return _0x3637d5;},a0_0x3408(_0x34ac37,_0x76300f);}window[a0_0x6a43af(0xce)][a0_0x6a43af(0xdd)]('meta-activity-list-page',MetaActivityListPage);
@@ -1,3 +1,3 @@
1
- const a0_0x3895d2=a0_0x1ddb;(function(_0x3e89ac,_0x581ec2){const _0x17ed7c=a0_0x1ddb,_0x8ae60a=_0x3e89ac();while(!![]){try{const _0x28fc37=parseInt(_0x17ed7c(0xdb))/0x1*(-parseInt(_0x17ed7c(0xd7))/0x2)+parseInt(_0x17ed7c(0xe8))/0x3*(parseInt(_0x17ed7c(0xdc))/0x4)+-parseInt(_0x17ed7c(0xea))/0x5*(parseInt(_0x17ed7c(0xe0))/0x6)+-parseInt(_0x17ed7c(0xd6))/0x7*(parseInt(_0x17ed7c(0xd8))/0x8)+-parseInt(_0x17ed7c(0xd9))/0x9*(parseInt(_0x17ed7c(0xe3))/0xa)+parseInt(_0x17ed7c(0xe2))/0xb+-parseInt(_0x17ed7c(0xd2))/0xc*(-parseInt(_0x17ed7c(0xd3))/0xd);if(_0x28fc37===_0x581ec2)break;else _0x8ae60a['push'](_0x8ae60a['shift']());}catch(_0xf65745){_0x8ae60a['push'](_0x8ae60a['shift']());}}}(a0_0x264a,0xb637d));import a0_0x48f0d3 from'graphql-tag';import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';function a0_0x264a(){const _0x19364b=['2197270ASQOvV','customData','define','contentElement','routing','634947IFMItq','\x27\x20route_name=\x27','380fIsFhR','name','tagName','12FtDxYi','51795497rTYWHz','render','output','7308DRvUZM','2646516vKzUnF','7920LqpFjj','27dJHAhe','relationMenu','1MujjLH','4xNjxDK','htmlToElement','meta-activity-viewer-element','activityDataSet','57390BVAwLo','\x20id=\x27','3227246neXPAH'];a0_0x264a=function(){return _0x19364b;};return a0_0x264a();}import{MetaActivityMixin}from'./meta-activiy-mixin.js';function a0_0x1ddb(_0x50287a,_0x46ec42){const _0x264ad6=a0_0x264a();return a0_0x1ddb=function(_0x1ddbef,_0x19f949){_0x1ddbef=_0x1ddbef-0xd2;let _0x4b5dd7=_0x264ad6[_0x1ddbef];return _0x4b5dd7;},a0_0x1ddb(_0x50287a,_0x46ec42);}export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x3895d2(0xd4)](){const _0x516530=a0_0x3895d2;if(this[_0x516530(0xda)]&&!this[_0x516530(0xe6)]){let _0x569dba=this[_0x516530(0xda)][_0x516530(0xec)],_0x4af86f=this[_0x516530(0xda)][_0x516530(0xe7)],_0x582a1b='<'+_0x569dba+_0x516530(0xe1)+this['relationMenu'][_0x516530(0xeb)]+_0x516530(0xe9)+_0x4af86f+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x569dba+'>';this[_0x516530(0xe6)]=UiUtil[_0x516530(0xdd)](_0x582a1b),this[_0x516530(0xe6)][_0x516530(0xdf)]=ValueUtil['isEmpty'](this[_0x516530(0xd5)])?void 0x0:this[_0x516530(0xd5)][_0x516530(0xe4)];}return html`
2
- ${this[_0x516530(0xe6)]}
3
- `;}}customElements[a0_0x3895d2(0xe5)](a0_0x3895d2(0xde),MetaActivityViewerElement);
1
+ const a0_0x47925f=a0_0x5ee8;function a0_0x5ee8(_0x39f7a2,_0x1d5c9b){const _0x231b58=a0_0x231b();return a0_0x5ee8=function(_0x5ee817,_0x497820){_0x5ee817=_0x5ee817-0x154;let _0x2ce556=_0x231b58[_0x5ee817];return _0x2ce556;},a0_0x5ee8(_0x39f7a2,_0x1d5c9b);}(function(_0x42ea87,_0x45a68f){const _0x1f78f7=a0_0x5ee8,_0x3313e2=_0x42ea87();while(!![]){try{const _0x8065d8=parseInt(_0x1f78f7(0x160))/0x1*(-parseInt(_0x1f78f7(0x162))/0x2)+parseInt(_0x1f78f7(0x163))/0x3*(-parseInt(_0x1f78f7(0x154))/0x4)+parseInt(_0x1f78f7(0x15b))/0x5*(-parseInt(_0x1f78f7(0x159))/0x6)+-parseInt(_0x1f78f7(0x155))/0x7+parseInt(_0x1f78f7(0x16d))/0x8*(parseInt(_0x1f78f7(0x156))/0x9)+-parseInt(_0x1f78f7(0x15d))/0xa+parseInt(_0x1f78f7(0x165))/0xb;if(_0x8065d8===_0x45a68f)break;else _0x3313e2['push'](_0x3313e2['shift']());}catch(_0x4a54c6){_0x3313e2['push'](_0x3313e2['shift']());}}}(a0_0x231b,0xae7e0));import a0_0x2c5409 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';function a0_0x231b(){const _0x18aa5a=['46566069zYCYTe','tagName','name','define','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></','meta-activity-viewer-element','\x20id=\x27','customData','181232bXUWRt','3096928IkFEzr','291746qzleyK','162AXKfot','activityDataSet','isEmpty','3216xALofM','output','5855STvkyw','relationMenu','12184370KjNGhr','routing','render','104FGHOBv','contentElement','24314pCqlHc','3YDDBQZ','htmlToElement'];a0_0x231b=function(){return _0x18aa5a;};return a0_0x231b();}import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x47925f(0x15f)](){const _0xfd169=a0_0x47925f;if(this[_0xfd169(0x15c)]&&!this['contentElement']){let _0x337e81=this[_0xfd169(0x15c)][_0xfd169(0x166)],_0x196437=this[_0xfd169(0x15c)][_0xfd169(0x15e)],_0x7af664='<'+_0x337e81+_0xfd169(0x16b)+this[_0xfd169(0x15c)][_0xfd169(0x167)]+'\x27\x20route_name=\x27'+_0x196437+_0xfd169(0x169)+_0x337e81+'>';this[_0xfd169(0x161)]=UiUtil[_0xfd169(0x164)](_0x7af664),this[_0xfd169(0x161)][_0xfd169(0x157)]=ValueUtil[_0xfd169(0x158)](this['output'])?void 0x0:this[_0xfd169(0x15a)][_0xfd169(0x16c)];}return html`
2
+ ${this['contentElement']}
3
+ `;}}customElements[a0_0x47925f(0x168)](a0_0x47925f(0x16a),MetaActivityViewerElement);
@@ -1,3 +1,3 @@
1
- const a0_0x4e50a9=a0_0x5b8d;(function(_0x57aba5,_0x3ee761){const _0xaf6784=a0_0x5b8d,_0x5b5c8d=_0x57aba5();while(!![]){try{const _0x27b3ec=-parseInt(_0xaf6784(0x163))/0x1*(-parseInt(_0xaf6784(0x154))/0x2)+-parseInt(_0xaf6784(0x165))/0x3*(parseInt(_0xaf6784(0x153))/0x4)+parseInt(_0xaf6784(0x160))/0x5*(parseInt(_0xaf6784(0x158))/0x6)+-parseInt(_0xaf6784(0x152))/0x7*(-parseInt(_0xaf6784(0x14d))/0x8)+-parseInt(_0xaf6784(0x156))/0x9+parseInt(_0xaf6784(0x14e))/0xa*(-parseInt(_0xaf6784(0x151))/0xb)+parseInt(_0xaf6784(0x14c))/0xc;if(_0x27b3ec===_0x3ee761)break;else _0x5b5c8d['push'](_0x5b5c8d['shift']());}catch(_0x2beddd){_0x5b5c8d['push'](_0x5b5c8d['shift']());}}}(a0_0x1cb1,0x2e80f));function a0_0x5b8d(_0x10e1d7,_0xbda788){const _0x1cb1ba=a0_0x1cb1();return a0_0x5b8d=function(_0x5b8d53,_0x1bda28){_0x5b8d53=_0x5b8d53-0x14c;let _0x39e5cf=_0x1cb1ba[_0x5b8d53];return _0x39e5cf;},a0_0x5b8d(_0x10e1d7,_0xbda788);}import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';function a0_0x1cb1(){const _0x26b44c=['4662600MDqaaW','1928uaiBbf','10tDLJwE','field-change','name','1347027KcABbN','8939QFCZkV','1519028YXZoJG','392636zYewRt','getData','3417345qhgygT','relationMenu','98058bBtSVH','\x20id=\x27','meta-activity-writer-element','routing','define','connectedCallback','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','render','55iRoYNY','output','addEventListener','1uRJkqk','_onFieldChange','3kBCMct','customData','contentElement'];a0_0x1cb1=function(){return _0x26b44c;};return a0_0x1cb1();}import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async['connectedCallback'](){const _0x374166=a0_0x5b8d;await super[_0x374166(0x15d)](),this[_0x374166(0x162)](_0x374166(0x14f),this['_onFieldChange']);}['disconnectedCallback'](){const _0x52c0ce=a0_0x5b8d;this['removeEventListener'](_0x52c0ce(0x14f),this[_0x52c0ce(0x164)]);}['_onFieldChange'](_0x58a922){const _0x3c5410=a0_0x5b8d;let _0x461b4d=this[_0x3c5410(0x167)][_0x3c5410(0x155)]();this['dispatchEvent'](new CustomEvent('change',{'detail':{'customData':_0x461b4d}}));}[a0_0x4e50a9(0x15f)](){const _0x4701fc=a0_0x4e50a9;if(this[_0x4701fc(0x157)]&&!this[_0x4701fc(0x167)]){let _0x10f82a=this['relationMenu']['tagName'],_0x487cf9=this[_0x4701fc(0x157)][_0x4701fc(0x15b)],_0x4c84d7='<'+_0x10f82a+_0x4701fc(0x159)+this[_0x4701fc(0x157)][_0x4701fc(0x150)]+'\x27\x20route_name=\x27'+_0x487cf9+_0x4701fc(0x15e)+_0x10f82a+'>';this[_0x4701fc(0x167)]=UiUtil['htmlToElement'](_0x4c84d7),this[_0x4701fc(0x167)]['activityDataSet']=ValueUtil['isEmpty'](this[_0x4701fc(0x161)])?void 0x0:this[_0x4701fc(0x161)][_0x4701fc(0x166)];}return html`
2
- ${this[_0x4701fc(0x167)]}
3
- `;}}customElements[a0_0x4e50a9(0x15c)](a0_0x4e50a9(0x15a),MetaActivityWriterElement);
1
+ const a0_0x5710f7=a0_0x1525;function a0_0x1525(_0x55c93a,_0x1680ac){const _0x259522=a0_0x2595();return a0_0x1525=function(_0x1525f5,_0x3c5401){_0x1525f5=_0x1525f5-0xb2;let _0x208e8b=_0x259522[_0x1525f5];return _0x208e8b;},a0_0x1525(_0x55c93a,_0x1680ac);}(function(_0x20c2d5,_0x383cd1){const _0x2c1e88=a0_0x1525,_0x3cfaab=_0x20c2d5();while(!![]){try{const _0x31bcac=parseInt(_0x2c1e88(0xc0))/0x1+-parseInt(_0x2c1e88(0xc5))/0x2+parseInt(_0x2c1e88(0xc9))/0x3+-parseInt(_0x2c1e88(0xcc))/0x4*(-parseInt(_0x2c1e88(0xb5))/0x5)+parseInt(_0x2c1e88(0xc6))/0x6*(-parseInt(_0x2c1e88(0xc1))/0x7)+parseInt(_0x2c1e88(0xcb))/0x8+parseInt(_0x2c1e88(0xbe))/0x9*(-parseInt(_0x2c1e88(0xbc))/0xa);if(_0x31bcac===_0x383cd1)break;else _0x3cfaab['push'](_0x3cfaab['shift']());}catch(_0x3ff073){_0x3cfaab['push'](_0x3cfaab['shift']());}}}(a0_0x2595,0xb67a0));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';function a0_0x2595(){const _0x312651=['output','name','596298oBBocg','disconnectedCallback','7499304RosjaF','8uJJWcc','\x20id=\x27','isEmpty','getData','change','dispatchEvent','contentElement','2085980iFPQFr','connectedCallback','activityDataSet','\x27\x20route_name=\x27','_onFieldChange','relationMenu','field-change','4734740rzUNGQ','tagName','45rDhtUt','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','1412795oWIiPZ','356783WsFdcI','removeEventListener','define','render','333268WhAtrb','12MouVlK'];a0_0x2595=function(){return _0x312651;};return a0_0x2595();}export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0x5710f7(0xb6)](){const _0x2a99c4=a0_0x5710f7;await super[_0x2a99c4(0xb6)](),this['addEventListener'](_0x2a99c4(0xbb),this[_0x2a99c4(0xb9)]);}[a0_0x5710f7(0xca)](){const _0x526ae6=a0_0x5710f7;this[_0x526ae6(0xc2)](_0x526ae6(0xbb),this[_0x526ae6(0xb9)]);}['_onFieldChange'](_0x5485f6){const _0x4f5cc3=a0_0x5710f7;let _0x56bafc=this['contentElement'][_0x4f5cc3(0xcf)]();this[_0x4f5cc3(0xb3)](new CustomEvent(_0x4f5cc3(0xb2),{'detail':{'customData':_0x56bafc}}));}[a0_0x5710f7(0xc4)](){const _0x428621=a0_0x5710f7;if(this[_0x428621(0xba)]&&!this[_0x428621(0xb4)]){let _0x3bbdf3=this[_0x428621(0xba)][_0x428621(0xbd)],_0x2d05f6=this[_0x428621(0xba)]['routing'],_0xab4de='<'+_0x3bbdf3+_0x428621(0xcd)+this[_0x428621(0xba)][_0x428621(0xc8)]+_0x428621(0xb8)+_0x2d05f6+_0x428621(0xbf)+_0x3bbdf3+'>';this['contentElement']=UiUtil['htmlToElement'](_0xab4de),this['contentElement'][_0x428621(0xb7)]=ValueUtil[_0x428621(0xce)](this[_0x428621(0xc7)])?void 0x0:this[_0x428621(0xc7)]['customData'];}return html`
2
+ ${this[_0x428621(0xb4)]}
3
+ `;}}customElements[a0_0x5710f7(0xc3)]('meta-activity-writer-element',MetaActivityWriterElement);
@@ -1,11 +1,11 @@
1
- const a0_0x48fa2c=a0_0x5e7e;(function(_0x37db30,_0x374fde){const _0x1dcbdb=a0_0x5e7e,_0x391153=_0x37db30();while(!![]){try{const _0x51933a=-parseInt(_0x1dcbdb(0xb4))/0x1+-parseInt(_0x1dcbdb(0xa7))/0x2*(parseInt(_0x1dcbdb(0x9a))/0x3)+-parseInt(_0x1dcbdb(0xaf))/0x4*(-parseInt(_0x1dcbdb(0xa3))/0x5)+parseInt(_0x1dcbdb(0x9b))/0x6+parseInt(_0x1dcbdb(0xb0))/0x7+-parseInt(_0x1dcbdb(0x9d))/0x8+parseInt(_0x1dcbdb(0x97))/0x9;if(_0x51933a===_0x374fde)break;else _0x391153['push'](_0x391153['shift']());}catch(_0x9085a5){_0x391153['push'](_0x391153['shift']());}}}(a0_0x4e0d,0x4cdb5));import a0_0x155322 from'graphql-tag';import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';function a0_0x5e7e(_0x2868ce,_0x181ecf){const _0x4e0d8d=a0_0x4e0d();return a0_0x5e7e=function(_0x5e7e4e,_0x479f4b){_0x5e7e4e=_0x5e7e4e-0x97;let _0x266665=_0x4e0d8d[_0x5e7e4e];return _0x266665;},a0_0x5e7e(_0x2868ce,_0x181ecf);}import{MetaApi}from'./../../utils/meta-api';export const MetaActivityMixin=_0x567ce7=>class extends _0x567ce7{static get[a0_0x48fa2c(0xa4)](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x48fa2c(0xb6)](){return css`
1
+ function a0_0x13fb(){const _0x14e8a7=['283326jyggmg','15050VFxFAX','606909JDOkdM','styles','connectedCallback','routing','query','775492gDtOFE','477PMWcUK','name','relation-menu','parse','activity','20RhyTJm','model','2MshUaG','searchByPagination','7CwUKyr','data','id,category,resourceUrl','getMenuInfo','-page','resourceUrl','menus','info','192BxnvXo','-element','category','tText','replace','menu','tagName','getActivity','63472HZcCEM','relationMenu','description','253264qCAFjq','length','1528112tmWfdG','activityId'];a0_0x13fb=function(){return _0x14e8a7;};return a0_0x13fb();}const a0_0x4d4374=a0_0x2647;(function(_0x16864e,_0x69b2a5){const _0xcda135=a0_0x2647,_0x20add1=_0x16864e();while(!![]){try{const _0x96ff6d=-parseInt(_0xcda135(0x90))/0x1*(-parseInt(_0xcda135(0xa2))/0x2)+-parseInt(_0xcda135(0xab))/0x3+-parseInt(_0xcda135(0x88))/0x4+parseInt(_0xcda135(0x8e))/0x5*(parseInt(_0xcda135(0xa9))/0x6)+parseInt(_0xcda135(0x92))/0x7*(-parseInt(_0xcda135(0xa7))/0x8)+parseInt(_0xcda135(0x89))/0x9*(parseInt(_0xcda135(0xaa))/0xa)+-parseInt(_0xcda135(0xa5))/0xb*(-parseInt(_0xcda135(0x9a))/0xc);if(_0x96ff6d===_0x69b2a5)break;else _0x20add1['push'](_0x20add1['shift']());}catch(_0x41969e){_0x20add1['push'](_0x20add1['shift']());}}}(a0_0x13fb,0x1baa3));import a0_0x278349 from'graphql-tag';import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';function a0_0x2647(_0x1de061,_0x567a13){const _0x13fb75=a0_0x13fb();return a0_0x2647=function(_0x2647ac,_0x362ed2){_0x2647ac=_0x2647ac-0x88;let _0x23db06=_0x13fb75[_0x2647ac];return _0x23db06;},a0_0x2647(_0x1de061,_0x567a13);}export const MetaActivityMixin=_0x486d5f=>class extends _0x486d5f{static get['properties'](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x4d4374(0xac)](){return css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  overflow-x: auto;
6
6
  background-color: var(--main-section-background-color);
7
7
  }
8
- `;}async[a0_0x48fa2c(0x9f)](){const _0x43249a=a0_0x48fa2c;await this[_0x43249a(0xac)](),await super[_0x43249a(0x9f)]();}async[a0_0x48fa2c(0xac)](){const _0x1e4445=a0_0x48fa2c,_0x20a833=await client['query']({'query':a0_0x155322`
8
+ `;}async[a0_0x4d4374(0xad)](){await this['getActivity'](),await super['connectedCallback']();}async[a0_0x4d4374(0xa1)](){const _0x32ea3a=a0_0x4d4374,_0xb36232=await client[_0x32ea3a(0xaf)]({'query':a0_0x278349`
9
9
  query activity($id: String!) {
10
10
  activity(id: $id) {
11
11
  id
@@ -15,4 +15,4 @@ const a0_0x48fa2c=a0_0x5e7e;(function(_0x37db30,_0x374fde){const _0x1dcbdb=a0_0x
15
15
  }
16
16
  }
17
17
  }
18
- `,'variables':{'id':this['activityId']}});let _0x45c7f8;this[_0x1e4445(0xb3)]=_0x20a833[_0x1e4445(0xa1)][_0x1e4445(0xb3)],this[_0x1e4445(0xb3)]['model']?.['forEach'](_0x42ec27=>{const _0x162514=_0x1e4445;_0x162514(0x99)==_0x42ec27[_0x162514(0x9e)]&&(_0x45c7f8=JSON[_0x162514(0xa8)](_0x42ec27[_0x162514(0xae)]));}),this[_0x1e4445(0xa0)]=_0x45c7f8,await this['getMenuInfo'](this[_0x1e4445(0xa0)]['id'],this[_0x1e4445(0xa0)][_0x1e4445(0xa2)]);}async[a0_0x48fa2c(0x9c)](_0x487992,_0x19ba4e){const _0xc01e4b=a0_0x48fa2c;let _0x2dfbf8=[{'name':'id','operator':'eq','value':_0x487992}],_0x2b96f7=await ServiceUtil[_0xc01e4b(0xb2)]('menus',_0x2dfbf8,null,0x0,0x0,_0xc01e4b(0xa9));if(!_0x2b96f7&&0x0==_0x2b96f7[_0xc01e4b(0xa5)]){let _0x406290=TermsUtil[_0xc01e4b(0xb9)](_0xc01e4b(0x98),{'value':TermsUtil['tMenu']('menu')+'\x20'+_0x19ba4e});throw MetaApi['showToast'](_0xc01e4b(0xb7),_0x406290),new Error(_0x406290);}let _0x4cfd01=_0x2b96f7['records'][0x0];_0x4cfd01[_0xc01e4b(0xad)]=_0x4cfd01[_0xc01e4b(0xb1)]['endsWith'](_0xc01e4b(0xab))?_0x4cfd01['category'][_0xc01e4b(0xaa)]('-page',_0xc01e4b(0xa6)):_0x4cfd01[_0xc01e4b(0xb1)],_0x4cfd01[_0xc01e4b(0xb5)]=_0x4cfd01['resourceUrl'][_0xc01e4b(0xaa)](_0x4cfd01['category'],_0x4cfd01['tagName']),Object[_0xc01e4b(0xb8)](this['relationMenu'],_0x4cfd01);}};function a0_0x4e0d(){const _0x17dcba=['2097522JEInyw','category','searchByPagination','activity','595282kqTPFv','resourceUrl','styles','info','assign','tText','7272459ojSDkF','value_is_not_exist','relation-menu','9cUXlYf','2130114nXjSaA','getMenuInfo','2340272MkrxJM','name','connectedCallback','relationMenu','data','routing','357065ZLYxRV','properties','length','-element','268614pwOOev','parse','id,category,resourceUrl','replace','-page','getActivity','tagName','description','8qtdNep'];a0_0x4e0d=function(){return _0x17dcba;};return a0_0x4e0d();}
18
+ `,'variables':{'id':this[_0x32ea3a(0xa8)]}});let _0x3a330f;this[_0x32ea3a(0x8d)]=_0xb36232[_0x32ea3a(0x93)][_0x32ea3a(0x8d)],this['activity'][_0x32ea3a(0x8f)]?.['forEach'](_0x2eff95=>{const _0x2170f4=_0x32ea3a;_0x2170f4(0x8b)==_0x2eff95[_0x2170f4(0x8a)]&&(_0x3a330f=JSON[_0x2170f4(0x8c)](_0x2eff95[_0x2170f4(0xa4)]));}),this['relationMenu']=_0x3a330f,await this['getMenuInfo'](this[_0x32ea3a(0xa3)]['id'],this[_0x32ea3a(0xa3)][_0x32ea3a(0xae)]);}async[a0_0x4d4374(0x95)](_0x4be6bc,_0x171b82){const _0xe9595=a0_0x4d4374;let _0x5d2145=[{'name':'id','operator':'eq','value':_0x4be6bc}],_0x3293da=await ServiceUtil[_0xe9595(0x91)](_0xe9595(0x98),_0x5d2145,null,0x0,0x0,_0xe9595(0x94));if(!_0x3293da&&0x0==_0x3293da[_0xe9595(0xa6)]){let _0x49da35=TermsUtil[_0xe9595(0x9d)]('value_is_not_exist',{'value':TermsUtil['tMenu'](_0xe9595(0x9f))+'\x20'+_0x171b82});throw MetaApi['showToast'](_0xe9595(0x99),_0x49da35),new Error(_0x49da35);}let _0x32b238=_0x3293da['records'][0x0];_0x32b238[_0xe9595(0xa0)]=_0x32b238[_0xe9595(0x9c)]['endsWith'](_0xe9595(0x96))?_0x32b238['category'][_0xe9595(0x9e)](_0xe9595(0x96),_0xe9595(0x9b)):_0x32b238[_0xe9595(0x9c)],_0x32b238[_0xe9595(0x97)]=_0x32b238[_0xe9595(0x97)][_0xe9595(0x9e)](_0x32b238[_0xe9595(0x9c)],_0x32b238['tagName']),Object['assign'](this[_0xe9595(0xa3)],_0x32b238);}};