@things-factory/meta-ui 6.1.2 → 6.1.5

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 (86) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  13. package/client/mixin/meta-button-mixin.js +1 -1
  14. package/client/mixin/meta-form-mixin.js +1 -1
  15. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  16. package/client/mixin/meta-main-tab-mixin.js +1 -1
  17. package/client/mixin/meta-master-detail-mixin.js +1 -1
  18. package/client/mixin/meta-service-mixin.js +1 -1
  19. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  20. package/client/mixin/meta-tab-mixin.js +1 -1
  21. package/client/pages/activity/meta-activity-list-page.js +6 -6
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +28 -28
  26. package/client/pages/entity/main-menu-selector.js +7 -7
  27. package/client/pages/history/history-copy-list-popup.js +6 -6
  28. package/client/pages/history/history-json-list-popup.js +6 -6
  29. package/client/pages/loading-page.js +5 -5
  30. package/client/pages/menu/dynamic-menu-template.js +7 -7
  31. package/client/pages/menu/dynamic-menu.js +15 -15
  32. package/client/pages/meta-form-element.js +1 -1
  33. package/client/pages/meta-grist-element.js +1 -1
  34. package/client/pages/meta-grist-page.js +1 -1
  35. package/client/pages/meta-grist-tab-element.js +1 -1
  36. package/client/pages/meta-grist-tab-page.js +1 -1
  37. package/client/pages/meta-main-tab-element.js +1 -1
  38. package/client/pages/meta-main-tab-page.js +1 -1
  39. package/client/pages/meta-master-detail-element.js +1 -1
  40. package/client/pages/meta-master-detail-page.js +1 -1
  41. package/client/pages/meta-tab-detail-element.js +1 -1
  42. package/client/pages/meta-tab-detail-page.js +1 -1
  43. package/client/pages/meta-tab-element.js +1 -1
  44. package/client/pages/personalize/personal-column-selector.js +11 -11
  45. package/client/pages/terms/config-terminology.js +6 -6
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +103 -103
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +11 -11
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +2 -2
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -0
  68. package/server/service/entity-event-subscriber/index.js +6 -0
  69. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  72. package/server/service/grid-personalize/grid-personalize.js +1 -1
  73. package/server/service/index.js +4 -1
  74. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  75. package/server/service/meta-activity/meta-activity-query.js +1 -1
  76. package/server/service/meta-activity/meta-activity-type.js +1 -1
  77. package/server/service/meta-secret/meta-resolver.js +1 -1
  78. package/server/service/set-translations/set-translation-resolver.js +1 -1
  79. package/server/service/work-code/work-code-mutation.js +1 -1
  80. package/server/service/work-code/work-code-query.js +1 -1
  81. package/server/service/work-code/work-code-type.js +1 -1
  82. package/server/service/work-code/work-code.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x541c94=a0_0x2f8c;function a0_0x5774(){const _0x3f39f6=['parse','connectedCallback','getBasicGristStyles','1235WNIRmp','filterFormId','1286856XnCjER','title','search','grid','getSelectedIdList','dataSet','parseBasicGridConfigs','export','context','render','menuInfo','deleteByIds','getButtonContainer','isNotEmpty','490886MmKyvH','120969UEmGiz','parseGridConfigSet','getBasicGristHtml','properties','isElement','data','keys','270PzvvnR','delete','patchesForUpdateMultiple','getContextObject','pageInitialized','gristConfigSet','___data','grist','340376OtGlRY','gridConfig','parseGristConfigs','forEach','isPage','renderRoot','activityDataSet','findOne','gristId','exportableData','1300MjBUtR','371722trwTge','searchConfig','35WmlQBr','174fjlxpU','180kTQfFe','getAndParseMenuMeta','fetch','firstUpdated','styles','import','find','updateMultiple','stringify','querySelector','10856zHYrrf','tTitle'];a0_0x5774=function(){return _0x3f39f6;};return a0_0x5774();}function a0_0x2f8c(_0x33b286,_0x42b9d1){const _0x5774ea=a0_0x5774();return a0_0x2f8c=function(_0x2f8c3d,_0xfb73f8){_0x2f8c3d=_0x2f8c3d-0x18a;let _0x5cfd04=_0x5774ea[_0x2f8c3d];return _0x5cfd04;},a0_0x2f8c(_0x33b286,_0x42b9d1);}(function(_0x107bc3,_0x19327b){const _0x36778f=a0_0x2f8c,_0x564064=_0x107bc3();while(!![]){try{const _0x4949e7=-parseInt(_0x36778f(0x1b8))/0x1+parseInt(_0x36778f(0x1c6))/0x2*(parseInt(_0x36778f(0x1bb))/0x3)+-parseInt(_0x36778f(0x1b7))/0x4*(-parseInt(_0x36778f(0x18d))/0x5)+-parseInt(_0x36778f(0x18f))/0x6+-parseInt(_0x36778f(0x1ba))/0x7*(-parseInt(_0x36778f(0x1ad))/0x8)+parseInt(_0x36778f(0x19e))/0x9*(-parseInt(_0x36778f(0x1a5))/0xa)+parseInt(_0x36778f(0x19d))/0xb*(parseInt(_0x36778f(0x1bc))/0xc);if(_0x4949e7===_0x19327b)break;else _0x564064['push'](_0x564064['shift']());}catch(_0x4870b7){_0x564064['push'](_0x564064['shift']());}}}(a0_0x5774,0x501b7));import{html}from'lit';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{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x324cfa=>class extends MetaButtonMixin(_0x324cfa){static get[a0_0x541c94(0x1c0)](){const _0xbffed3=a0_0x541c94;return MetaApi[_0xbffed3(0x18c)]();}static get[a0_0x541c94(0x1a1)](){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 _0x36e7a8=a0_0x541c94;return this[_0x36e7a8(0x1b2)]?.[_0x36e7a8(0x1c5)](this[_0x36e7a8(0x1b5)]);}get['filterForm'](){const _0x4d298e=a0_0x541c94;return this['shadowRoot']?.[_0x4d298e(0x1c5)](this[_0x4d298e(0x18e)]);}get[a0_0x541c94(0x197)](){const _0x184118=a0_0x541c94;return MetaUiUtil[_0x184118(0x1a8)](this);}async[a0_0x541c94(0x18b)](){const _0x358d7d=a0_0x541c94;this['gristId']='ox-grist',this[_0x358d7d(0x18e)]='ox-filters-form',await this[_0x358d7d(0x1bd)](),this[_0x358d7d(0x1a2)]&&await this['parseGristConfigs'](),this[_0x358d7d(0x1b3)]&&(this[_0x358d7d(0x194)]=this[_0x358d7d(0x1b3)]),super['connectedCallback']&&await super[_0x358d7d(0x18b)]();}async[a0_0x541c94(0x1bf)](){const _0x36e8fa=a0_0x541c94;super[_0x36e8fa(0x1bf)]&&await super[_0x36e8fa(0x1bf)]();}async[a0_0x541c94(0x1a9)](){const _0x365b7a=a0_0x541c94;this[_0x365b7a(0x1b1)]&&await this[_0x365b7a(0x1af)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x541c94(0x198)](){const _0x139a10=a0_0x541c94;return html`
2
- ${MetaApi[_0x139a10(0x1a0)](this)}
3
- ${this[_0x139a10(0x1b1)]?html``:MetaUiUtil[_0x139a10(0x19b)](this)}
4
- `;}[a0_0x541c94(0x195)](_0x519c8e){const _0x48655a=a0_0x541c94;this[_0x48655a(0x1ae)]=_0x519c8e[_0x48655a(0x192)],this['gridColumnConfig']=_0x519c8e['grid_column'],this[_0x48655a(0x1b9)]=_0x519c8e[_0x48655a(0x191)];}async[a0_0x541c94(0x1af)](){const _0x5476c5=a0_0x541c94;this[_0x5476c5(0x1aa)]=await MetaApi[_0x5476c5(0x19f)](this);}async[a0_0x541c94(0x1be)](){const _0x115889=a0_0x541c94;await this[_0x115889(0x1ac)][_0x115889(0x1be)]();}async['save'](){const _0x455740=a0_0x541c94;let _0x3721e6=MetaApi[_0x455740(0x1a7)](this[_0x455740(0x1ac)]);!!ValueUtil[_0x455740(0x19c)](_0x3721e6)&&await this[_0x455740(0x1c3)](_0x3721e6)&&this[_0x455740(0x1be)]();}async[a0_0x541c94(0x1c2)](){const _0x339f17=a0_0x541c94;let _0x17dadb=MetaApi['getSelectedIdList'](this[_0x339f17(0x1ac)],!0x0);return ValueUtil['isNotEmpty'](_0x17dadb)?await this[_0x339f17(0x1b4)](_0x17dadb[0x0]):{};}async[a0_0x541c94(0x1a6)](){const _0x1319b6=a0_0x541c94;let _0xcd4505=MetaApi[_0x1319b6(0x193)](this[_0x1319b6(0x1ac)],!0x0);!!ValueUtil[_0x1319b6(0x19c)](_0xcd4505)&&await this[_0x1319b6(0x19a)](_0xcd4505)&&this[_0x1319b6(0x1be)]();}async[a0_0x541c94(0x196)](){const _0x2f5698=a0_0x541c94;let _0x59e1a6=TermsUtil[_0x2f5698(0x1c7)](ValueUtil['getParams'](this[_0x2f5698(0x199)],_0x2f5698(0x190)));return await MetaApi[_0x2f5698(0x1b6)](this['isElement'],_0x59e1a6,this[_0x2f5698(0x1ac)]);}async[a0_0x541c94(0x1c1)](){}async['clear'](){const _0x3e8ded=a0_0x541c94;this['grist']&&(this['grist'][_0x3e8ded(0x1a3)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0x50729f=a0_0x541c94;let _0x5487c6=this[_0x50729f(0x1ac)][_0x50729f(0x1ab)]['records'];return _0x5487c6=JSON[_0x50729f(0x18a)](JSON[_0x50729f(0x1c4)](_0x5487c6)),_0x5487c6[_0x50729f(0x1b0)](_0x2c22b7=>{const _0x55bae6=_0x50729f;Object[_0x55bae6(0x1a4)](_0x2c22b7)[_0x55bae6(0x1b0)](_0x2eff01=>{_0x2eff01['startsWith']('__')&&delete _0x2c22b7[_0x2eff01];});}),_0x5487c6;}};
1
+ const a0_0x1ae7d0=a0_0x4b4b;(function(_0x8bb747,_0x3a7955){const _0x3f09e3=a0_0x4b4b,_0x352690=_0x8bb747();while(!![]){try{const _0x4273de=-parseInt(_0x3f09e3(0x17e))/0x1*(-parseInt(_0x3f09e3(0x17f))/0x2)+parseInt(_0x3f09e3(0x180))/0x3*(parseInt(_0x3f09e3(0x17a))/0x4)+parseInt(_0x3f09e3(0x187))/0x5*(-parseInt(_0x3f09e3(0x192))/0x6)+parseInt(_0x3f09e3(0x1ab))/0x7*(-parseInt(_0x3f09e3(0x1a0))/0x8)+-parseInt(_0x3f09e3(0x198))/0x9+-parseInt(_0x3f09e3(0x1a4))/0xa*(parseInt(_0x3f09e3(0x19f))/0xb)+parseInt(_0x3f09e3(0x188))/0xc;if(_0x4273de===_0x3a7955)break;else _0x352690['push'](_0x352690['shift']());}catch(_0x413195){_0x352690['push'](_0x352690['shift']());}}}(a0_0x130a,0x1b82b));import{html}from'lit';function a0_0x4b4b(_0x3f6e75,_0x2b2294){const _0x130a60=a0_0x130a();return a0_0x4b4b=function(_0x4b4b6a,_0x4ceeda){_0x4b4b6a=_0x4b4b6a-0x179;let _0x10e153=_0x130a60[_0x4b4b6a];return _0x10e153;},a0_0x4b4b(_0x3f6e75,_0x2b2294);}import{MetaApi}from'../utils/meta-api';function a0_0x130a(){const _0x5b4dfc=['parseGridConfigSet','shadowRoot','9485cpvidq','delete','dataSet','pageInitialized','firstUpdated','styles','isPage','gridConfig','save','grid_column','records','isNotEmpty','ox-filters-form','properties','menuInfo','parseGristConfigs','updateMultiple','find','8kbrTHz','getParams','findOne','parseBasicGridConfigs','1Stxopr','294542etXCdK','182271ceikMi','tTitle','fetch','context','ox-grist','parse','getAndParseMenuMeta','1245pVIwDa','3009768rgdvpg','search','clear','getBasicGristHtml','data','getButtonContainer','render','querySelector','grist','exportableData','534KnqLoy','import','___data','keys','connectedCallback','forEach','1769679XqVpXX','gridColumnConfig','grid','title','searchConfig','isElement','activityDataSet','1666929tooIMk','216tGqylg','getBasicGristStyles','startsWith','filterFormId','10tqlHQO','getSelectedIdList','gristId','patchesForUpdateMultiple','deleteByIds'];a0_0x130a=function(){return _0x5b4dfc;};return a0_0x130a();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x22c396=>class extends MetaButtonMixin(_0x22c396){static get[a0_0x1ae7d0(0x1b0)](){const _0x5b3745=a0_0x1ae7d0;return MetaApi[_0x5b3745(0x1a1)]();}static get[a0_0x1ae7d0(0x1b8)](){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_0x1ae7d0(0x190)](){const _0x535b35=a0_0x1ae7d0;return this['renderRoot']?.[_0x535b35(0x18f)](this[_0x535b35(0x1a6)]);}get['filterForm'](){const _0x3e3626=a0_0x1ae7d0;return this[_0x3e3626(0x1aa)]?.['querySelector'](this[_0x3e3626(0x1a3)]);}get[a0_0x1ae7d0(0x183)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x1ae7d0(0x196)](){const _0x3535ab=a0_0x1ae7d0;this['gristId']=_0x3535ab(0x184),this[_0x3535ab(0x1a3)]=_0x3535ab(0x1b7),await this[_0x3535ab(0x186)](),this[_0x3535ab(0x19d)]&&await this[_0x3535ab(0x1ba)](),this[_0x3535ab(0x19e)]&&(this[_0x3535ab(0x1ad)]=this['activityDataSet']),super[_0x3535ab(0x196)]&&await super[_0x3535ab(0x196)]();}async[a0_0x1ae7d0(0x1af)](){const _0x26fedf=a0_0x1ae7d0;super[_0x26fedf(0x1af)]&&await super[_0x26fedf(0x1af)]();}async[a0_0x1ae7d0(0x1ae)](){const _0x25cb49=a0_0x1ae7d0;this[_0x25cb49(0x1b1)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x25cb49(0x1ae)]();}[a0_0x1ae7d0(0x18e)](){const _0x3122ec=a0_0x1ae7d0;return html`
2
+ ${MetaApi[_0x3122ec(0x18b)](this)}
3
+ ${this[_0x3122ec(0x1b1)]?html``:MetaUiUtil[_0x3122ec(0x18d)](this)}
4
+ `;}[a0_0x1ae7d0(0x17d)](_0x3fd979){const _0x404668=a0_0x1ae7d0;this[_0x404668(0x1b2)]=_0x3fd979[_0x404668(0x19a)],this[_0x404668(0x199)]=_0x3fd979[_0x404668(0x1b4)],this[_0x404668(0x19c)]=_0x3fd979[_0x404668(0x189)];}async[a0_0x1ae7d0(0x1ba)](){const _0x420e02=a0_0x1ae7d0;this['gristConfigSet']=await MetaApi[_0x420e02(0x1a9)](this);}async[a0_0x1ae7d0(0x182)](){const _0x7b2c29=a0_0x1ae7d0;await this[_0x7b2c29(0x190)][_0x7b2c29(0x182)]();}async[a0_0x1ae7d0(0x1b3)](){const _0x309593=a0_0x1ae7d0;let _0x497436=MetaApi[_0x309593(0x1a7)](this[_0x309593(0x190)]);!!ValueUtil[_0x309593(0x1b6)](_0x497436)&&await this[_0x309593(0x1bb)](_0x497436)&&this[_0x309593(0x182)]();}async[a0_0x1ae7d0(0x179)](){const _0x4acec9=a0_0x1ae7d0;let _0x3305b0=MetaApi[_0x4acec9(0x1a5)](this[_0x4acec9(0x190)],!0x0);return ValueUtil[_0x4acec9(0x1b6)](_0x3305b0)?await this[_0x4acec9(0x17c)](_0x3305b0[0x0]):{};}async[a0_0x1ae7d0(0x1ac)](){const _0x4180f3=a0_0x1ae7d0;let _0x2071a2=MetaApi['getSelectedIdList'](this[_0x4180f3(0x190)],!0x0);!!ValueUtil[_0x4180f3(0x1b6)](_0x2071a2)&&await this[_0x4180f3(0x1a8)](_0x2071a2)&&this[_0x4180f3(0x182)]();}async['export'](){const _0x242b24=a0_0x1ae7d0;let _0x5fbefa=TermsUtil[_0x242b24(0x181)](ValueUtil[_0x242b24(0x17b)](this[_0x242b24(0x1b9)],_0x242b24(0x19b)));return await MetaApi[_0x242b24(0x191)](this[_0x242b24(0x19d)],_0x5fbefa,this[_0x242b24(0x190)]);}async[a0_0x1ae7d0(0x193)](){}async[a0_0x1ae7d0(0x18a)](){const _0x36a47b=a0_0x1ae7d0;this[_0x36a47b(0x190)]&&(this[_0x36a47b(0x190)][_0x36a47b(0x18c)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0x4a66cc=a0_0x1ae7d0;let _0x1db16b=this[_0x4a66cc(0x190)][_0x4a66cc(0x194)][_0x4a66cc(0x1b5)];return _0x1db16b=JSON[_0x4a66cc(0x185)](JSON['stringify'](_0x1db16b)),_0x1db16b['forEach'](_0x427fc0=>{const _0x6d38b3=_0x4a66cc;Object[_0x6d38b3(0x195)](_0x427fc0)[_0x6d38b3(0x197)](_0x121fb1=>{const _0x3af2cd=_0x6d38b3;_0x121fb1[_0x3af2cd(0x1a2)]('__')&&delete _0x427fc0[_0x121fb1];});}),_0x1db16b;}};
@@ -1 +1 @@
1
- const a0_0x17a075=a0_0x1c34;(function(_0x386803,_0x4e797f){const _0x1ba1ab=a0_0x1c34,_0x22d35c=_0x386803();while(!![]){try{const _0x709f49=-parseInt(_0x1ba1ab(0xdc))/0x1+-parseInt(_0x1ba1ab(0xeb))/0x2+parseInt(_0x1ba1ab(0xe2))/0x3+parseInt(_0x1ba1ab(0xd8))/0x4*(parseInt(_0x1ba1ab(0xd7))/0x5)+-parseInt(_0x1ba1ab(0xd9))/0x6*(parseInt(_0x1ba1ab(0xe7))/0x7)+parseInt(_0x1ba1ab(0xdd))/0x8+parseInt(_0x1ba1ab(0xe0))/0x9*(parseInt(_0x1ba1ab(0xe8))/0xa);if(_0x709f49===_0x4e797f)break;else _0x22d35c['push'](_0x22d35c['shift']());}catch(_0x3c3d08){_0x22d35c['push'](_0x22d35c['shift']());}}}(a0_0xd9db,0xa32dd));import{html}from'lit';function a0_0xd9db(){const _0x57e663=['2308365cwtivD','getContextButtons','1323051zccJLy','useButtonExport','customButtonHandler','isButtonExist','getCustomButtonContainerStyles','14fJwZdb','100rHnjeD','gristButtonHandler','add','2393836iTgnlN','properties','import','isPage','export','useButtonImport','5HGfQUe','2939292qljRFj','3012606vnfDsv','getCustomButtonContainerStyle','getButtonActionHandler','1025317WolRme','1233024wfatzV','buttonConfig','button'];a0_0xd9db=function(){return _0x57e663;};return a0_0xd9db();}import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1c34(_0xa85df0,_0x3db6b7){const _0xd9db0c=a0_0xd9db();return a0_0x1c34=function(_0x1c348c,_0x2afac4){_0x1c348c=_0x1c348c-0xd5;let _0x1a5bc8=_0xd9db0c[_0x1c348c];return _0x1a5bc8;},a0_0x1c34(_0xa85df0,_0x3db6b7);}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x5b8371=>class extends MetaServiceMixin(_0x5b8371){static get[a0_0x17a075(0xec)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x17a075(0xda)](){const _0xaf7d06=a0_0x17a075;return MetaUiUtil[_0xaf7d06(0xe6)]();}[a0_0x17a075(0xe1)](){const _0x2d26f0=a0_0x17a075;return MetaUiUtil[_0x2d26f0(0xe1)](this);}['getButtonContainer'](){const _0x5a0037=a0_0x17a075;return this[_0x5a0037(0xee)]?html``:MetaUiUtil['getButtonContainer'](this);}async['getBasicButtonHandler'](_0x136e13,_0x27d23d,_0x340dd3){const _0x2dce50=a0_0x17a075;return await MetaUiUtil[_0x2dce50(0xdb)](this,_0x136e13,_0x27d23d,_0x340dd3);}async[a0_0x17a075(0xe4)](_0xcbb28){await MetaUiUtil['customButtonHandler'](this,_0xcbb28);}async[a0_0x17a075(0xe9)](_0xfe3a0a,_0x44b1ec){await MetaUiUtil['gristButtonHandler'](this,_0xfe3a0a,_0x44b1ec);}['parseBasicButtonConfigs'](_0x2b7430){const _0x38f7dd=a0_0x17a075;this[_0x38f7dd(0xde)]=_0x2b7430[_0x38f7dd(0xdf)],this[_0x38f7dd(0xd6)]=MetaUiUtil['isButtonExist'](this['buttonConfig'],_0x38f7dd(0xed)),this[_0x38f7dd(0xe3)]=MetaUiUtil[_0x38f7dd(0xe5)](this[_0x38f7dd(0xde)],_0x38f7dd(0xd5)),this['useButtonAdd']=MetaUiUtil['isButtonExist'](this[_0x38f7dd(0xde)],_0x38f7dd(0xea));}};
1
+ const a0_0x1eae51=a0_0x491b;(function(_0x6f76c8,_0x30f967){const _0x4d93f4=a0_0x491b,_0x3992af=_0x6f76c8();while(!![]){try{const _0xa731a6=parseInt(_0x4d93f4(0xbf))/0x1+-parseInt(_0x4d93f4(0xb1))/0x2+parseInt(_0x4d93f4(0xba))/0x3+-parseInt(_0x4d93f4(0xb6))/0x4*(parseInt(_0x4d93f4(0xb9))/0x5)+parseInt(_0x4d93f4(0xb4))/0x6+-parseInt(_0x4d93f4(0xb2))/0x7*(-parseInt(_0x4d93f4(0xbd))/0x8)+-parseInt(_0x4d93f4(0xc1))/0x9*(-parseInt(_0x4d93f4(0xb3))/0xa);if(_0xa731a6===_0x30f967)break;else _0x3992af['push'](_0x3992af['shift']());}catch(_0x417e1f){_0x3992af['push'](_0x3992af['shift']());}}}(a0_0x3a1d,0x83274));import{html}from'lit';function a0_0x491b(_0x57b5c8,_0x495928){const _0x3a1dcf=a0_0x3a1d();return a0_0x491b=function(_0x491bea,_0x5d8901){_0x491bea=_0x491bea-0xb0;let _0x53e843=_0x3a1dcf[_0x491bea];return _0x53e843;},a0_0x491b(_0x57b5c8,_0x495928);}import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x3a1d(){const _0x5c67b0=['9QCIvHw','useButtonImport','isButtonExist','getButtonContainer','1300712TSprvp','61831CHopuB','3376190OdsYjP','3087702sFIYbU','customButtonHandler','3866488UrwsME','getCustomButtonContainerStyles','getContextButtons','5wPezbt','2616222TgkWBn','export','useButtonAdd','16dqyifO','buttonConfig','412206ZoQcFN','isPage'];a0_0x3a1d=function(){return _0x5c67b0;};return a0_0x3a1d();}export const MetaButtonMixin=_0x245bb5=>class extends MetaServiceMixin(_0x245bb5){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0x2eb1af=a0_0x491b;return MetaUiUtil[_0x2eb1af(0xb7)]();}[a0_0x1eae51(0xb8)](){return MetaUiUtil['getContextButtons'](this);}[a0_0x1eae51(0xb0)](){const _0x93376=a0_0x1eae51;return this[_0x93376(0xc0)]?html``:MetaUiUtil[_0x93376(0xb0)](this);}async['getBasicButtonHandler'](_0x1df063,_0x3eaf37,_0x80426a){return await MetaUiUtil['getButtonActionHandler'](this,_0x1df063,_0x3eaf37,_0x80426a);}async[a0_0x1eae51(0xb5)](_0x1a2026){const _0x50ea76=a0_0x1eae51;await MetaUiUtil[_0x50ea76(0xb5)](this,_0x1a2026);}async['gristButtonHandler'](_0x2c8f29,_0x521d5a){await MetaUiUtil['gristButtonHandler'](this,_0x2c8f29,_0x521d5a);}['parseBasicButtonConfigs'](_0x8a78ab){const _0x2b304f=a0_0x1eae51;this[_0x2b304f(0xbe)]=_0x8a78ab['button'],this[_0x2b304f(0xc2)]=MetaUiUtil[_0x2b304f(0xc3)](this[_0x2b304f(0xbe)],'import'),this['useButtonExport']=MetaUiUtil[_0x2b304f(0xc3)](this[_0x2b304f(0xbe)],_0x2b304f(0xbb)),this[_0x2b304f(0xbc)]=MetaUiUtil['isButtonExist'](this[_0x2b304f(0xbe)],'add');}};
@@ -1 +1 @@
1
- const a0_0x4ad48a=a0_0x7d7c;(function(_0x2502cb,_0x35eb56){const _0x249cc8=a0_0x7d7c,_0x161da6=_0x2502cb();while(!![]){try{const _0x30669c=-parseInt(_0x249cc8(0x156))/0x1*(parseInt(_0x249cc8(0x188))/0x2)+parseInt(_0x249cc8(0x18e))/0x3+parseInt(_0x249cc8(0x179))/0x4*(parseInt(_0x249cc8(0x13f))/0x5)+-parseInt(_0x249cc8(0x161))/0x6+parseInt(_0x249cc8(0x158))/0x7*(parseInt(_0x249cc8(0x148))/0x8)+parseInt(_0x249cc8(0x167))/0x9*(-parseInt(_0x249cc8(0x172))/0xa)+parseInt(_0x249cc8(0x166))/0xb*(parseInt(_0x249cc8(0x162))/0xc);if(_0x30669c===_0x35eb56)break;else _0x161da6['push'](_0x161da6['shift']());}catch(_0x516b2f){_0x161da6['push'](_0x161da6['shift']());}}}(a0_0x54ec,0x2826d));function a0_0x7d7c(_0x36511c,_0xd2c586){const _0x54ec4a=a0_0x54ec();return a0_0x7d7c=function(_0x7d7c24,_0x273195){_0x7d7c24=_0x7d7c24-0x13f;let _0xe850dc=_0x54ec4a[_0x7d7c24];return _0xe850dc;},a0_0x7d7c(_0x36511c,_0xd2c586);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x54ec(){const _0x27569a=['startsWith','showAlertPopup','4VFOgjN','filter','Esc','record','parseFormConfigs','context','98595KYvdxz','10iqRdar','cuFlag','parseFormConfigSet','activityDataSet','__seq__','isPage','isEquals','tagName','setAttribute','3464rbQopM','properties','firstUpdated','Enter','assign','patchData','OX-GRID-FIELD','findOne','addEventListener','object','getData','parseBasicFormConfigs','isEmpty','currentData','114497RhndcR','formColumnConfig','3409DaxPvE','isElement','call','fetch','render','button','text.NOTHING_CHANGED','focus','renderRoot','1273014RjOKEj','3881532rgVVMM','keydown','keys','getAndParseMenuMeta','11vimInu','27vfAMVc','__origin__','title.info','dirtyData','forEach','styles','is_activity','grid_column','removeGarbageData','pageInitialized','isNotEmpty','179610zbltuq','connectedCallback','key','true','currentTarget','validation','after','184620IFkAll','parent_id','__dirtyfields__','__dirty__','before','editing','orgData','removeAttribute','clear','map','field-change','name','save'];a0_0x54ec=function(){return _0x27569a;};return a0_0x54ec();}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x5724e1=>class extends MetaButtonMixin(_0x5724e1){static get[a0_0x4ad48a(0x16c)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x4ad48a(0x149)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x4ad48a(0x18d)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x4ad48a(0x173)](){const _0x38b86b=a0_0x4ad48a;await this[_0x38b86b(0x165)](),this[_0x38b86b(0x159)]&&await this[_0x38b86b(0x18c)](),this[_0x38b86b(0x142)]&&(this['dataSet']=this[_0x38b86b(0x142)]),!0x0!==this[_0x38b86b(0x16d)]||this['parent_id']||(this[_0x38b86b(0x17a)]='activity'),super['connectedCallback']&&await super[_0x38b86b(0x173)](),this[_0x38b86b(0x159)]&&await this['fetch'](),this[_0x38b86b(0x160)][_0x38b86b(0x150)](_0x38b86b(0x163),_0x8577f1=>{const _0xe5a643=_0x38b86b;switch(_0x8577f1[_0xe5a643(0x174)]){case _0xe5a643(0x18a):case'Escape':case _0xe5a643(0x14b):this[_0xe5a643(0x15f)](),this['currentTarget']&&this[_0xe5a643(0x176)]['removeAttribute'](_0xe5a643(0x17e)),this[_0xe5a643(0x176)]=null;}}),this['renderRoot'][_0x38b86b(0x150)]('click',_0x3a61e7=>{const _0x163ac7=_0x38b86b;_0x3a61e7['stopPropagation']();let _0x17d4cc=_0x3a61e7['target'];if(this[_0x163ac7(0x176)]&&(this[_0x163ac7(0x15f)](),this['currentTarget'][_0x163ac7(0x180)]('editing')),_0x163ac7(0x14e)!==_0x17d4cc[_0x163ac7(0x146)]||!_0x17d4cc['column'][_0x163ac7(0x18b)]['editable'])return this['focus'](),void(this[_0x163ac7(0x176)]=null);this['currentTarget']=_0x17d4cc,_0x17d4cc[_0x163ac7(0x147)]('editing',_0x163ac7(0x175));}),this[_0x38b86b(0x150)](_0x38b86b(0x183),_0x478931=>{const _0x10cf8a=_0x38b86b;var {after:_0x4d84e8,before:_0xc25bcc,column:_0x235b97,record:_0x576d48,row:_0x4e9ba8}=_0x478931['detail'];if(ValueUtil[_0x10cf8a(0x145)](_0x4d84e8,_0xc25bcc))return;var _0x82185a=_0x235b97[_0x10cf8a(0x177)];if(_0x82185a&&'function'==typeof _0x82185a&&!_0x82185a[_0x10cf8a(0x15a)](this,_0x4d84e8,_0xc25bcc,_0x576d48,_0x235b97))return;let _0x53d2ef=_0x235b97[_0x10cf8a(0x184)];_0x576d48[_0x53d2ef]=_0x4d84e8,_0x576d48['__dirtyfields__']=_0x576d48[_0x10cf8a(0x17b)]||{},_0x576d48['__origin__']=_0x576d48[_0x10cf8a(0x168)]||{},_0x576d48[_0x10cf8a(0x17b)][_0x53d2ef]={'before':_0x576d48[_0x10cf8a(0x168)][_0x53d2ef],'after':_0x576d48[_0x53d2ef]},ValueUtil[_0x10cf8a(0x145)](_0x576d48['__dirtyfields__'][_0x53d2ef][_0x10cf8a(0x17d)],_0x576d48['__dirtyfields__'][_0x53d2ef][_0x10cf8a(0x178)])&&delete _0x576d48[_0x10cf8a(0x17b)][_0x53d2ef],ValueUtil[_0x10cf8a(0x171)](_0x576d48[_0x10cf8a(0x17b)])?_0x576d48[_0x10cf8a(0x17c)]='M':_0x576d48[_0x10cf8a(0x17c)]='',this['record']={..._0x576d48};});}async['firstUpdated'](){const _0x1afb97=a0_0x4ad48a;super[_0x1afb97(0x14a)]&&await super[_0x1afb97(0x14a)]();}async[a0_0x4ad48a(0x170)](){const _0x82dab7=a0_0x4ad48a;this[_0x82dab7(0x144)]&&await this[_0x82dab7(0x18c)](),super[_0x82dab7(0x170)]&&await super['pageInitialized'](),this[_0x82dab7(0x144)]&&await this[_0x82dab7(0x15b)]();}[a0_0x4ad48a(0x15c)](){return MetaApi['getBasicFormHtml'](this);}[a0_0x4ad48a(0x153)](_0x5efe7d){const _0x2fc4bf=a0_0x4ad48a;this[_0x2fc4bf(0x157)]=_0x5efe7d[_0x2fc4bf(0x16e)],this['formRenderConfig']=_0x5efe7d['form'],_0x5efe7d[_0x2fc4bf(0x15d)]=_0x5efe7d[_0x2fc4bf(0x15d)][_0x2fc4bf(0x189)](_0x26bd5f=>_0x2fc4bf(0x185)==_0x26bd5f['name']);}async[a0_0x4ad48a(0x18c)](){const _0x108dfe=a0_0x4ad48a;this['formConfigSet']=await MetaApi[_0x108dfe(0x141)](this);}get[a0_0x4ad48a(0x17f)](){const _0x52b8de=a0_0x4ad48a;return this[_0x52b8de(0x16f)](this[_0x52b8de(0x18b)][_0x52b8de(0x168)]);}get[a0_0x4ad48a(0x16a)](){const _0x131888=a0_0x4ad48a;if(ValueUtil['isEmpty'](this[_0x131888(0x18b)]['__dirtyfields__']))return{};let _0x1c3586={};return Object['entries'](this[_0x131888(0x18b)][_0x131888(0x17b)])['map'](([_0x298c10,_0x42f238])=>{const _0x3a9ea9=_0x131888;0x0==_0x298c10[_0x3a9ea9(0x186)]('__')&&(_0x1c3586[_0x298c10]=_0x42f238[_0x3a9ea9(0x178)]);}),_0x1c3586;}get[a0_0x4ad48a(0x155)](){const _0x41558d=a0_0x4ad48a;return this[_0x41558d(0x16f)](this[_0x41558d(0x18b)]);}[a0_0x4ad48a(0x16f)](_0x47f8e6){const _0x167579=a0_0x4ad48a;let _0x1ea311={};if(_0x47f8e6)return Object['entries'](_0x47f8e6)[_0x167579(0x182)](([_0x485499,_0x210331])=>{const _0xf5b4d9=_0x167579;0x0==_0x485499[_0xf5b4d9(0x186)]('__')&&(_0x1ea311[_0x485499]=_0x210331);}),_0x1ea311;}get['patchData'](){const _0x1cc26b=a0_0x4ad48a;let _0x43ee8a=this[_0x1cc26b(0x16a)],_0x53a0a9=this[_0x1cc26b(0x18b)];return ValueUtil[_0x1cc26b(0x154)](_0x43ee8a)?[]:(ValueUtil['isNotEmpty'](_0x53a0a9['id'])?(_0x43ee8a['id']=_0x53a0a9['id'],_0x43ee8a[_0x1cc26b(0x140)]='M'):_0x43ee8a[_0x1cc26b(0x140)]='+',Object[_0x1cc26b(0x164)](_0x43ee8a)[_0x1cc26b(0x16b)](_0x1c4824=>{const _0x47666c=_0x1cc26b;_0x47666c(0x151)==typeof _0x43ee8a[_0x1c4824]&&(_0x43ee8a[_0x1c4824]={'id':_0x43ee8a[_0x1c4824]['id']});}),[_0x43ee8a]);}async[a0_0x4ad48a(0x15b)](){const _0xf0013e=a0_0x4ad48a;if(ValueUtil[_0xf0013e(0x154)](this['parent_id']))return;let _0x52b89c=await this[_0xf0013e(0x14f)](this[_0xf0013e(0x17a)]);_0x52b89c[_0xf0013e(0x143)]=0x1;let _0x2e3559={};Object[_0xf0013e(0x14c)](_0x2e3559,_0x52b89c),_0x52b89c[_0xf0013e(0x168)]=_0x2e3559,this[_0xf0013e(0x18b)]={..._0x52b89c};}async[a0_0x4ad48a(0x185)](){const _0x37bea7=a0_0x4ad48a;let _0x1ce989=this[_0x37bea7(0x14d)];if(ValueUtil[_0x37bea7(0x154)](_0x1ce989))return void MetaApi[_0x37bea7(0x187)](_0x37bea7(0x169),_0x37bea7(0x15e));let _0x94042d=await this['updateMultiple'](_0x1ce989);return _0x94042d&&await this[_0x37bea7(0x15b)](),_0x94042d;}async[a0_0x4ad48a(0x181)](){const _0x5aa938=a0_0x4ad48a;this['record']&&(this[_0x5aa938(0x18b)]={});}[a0_0x4ad48a(0x152)](){const _0x13e145=a0_0x4ad48a;return this[_0x13e145(0x155)]||{};}};
1
+ function a0_0x3d6e(_0x3d6cf9,_0x174ba9){const _0x366306=a0_0x3663();return a0_0x3d6e=function(_0x3d6e39,_0x197a0c){_0x3d6e39=_0x3d6e39-0x69;let _0x12d38b=_0x366306[_0x3d6e39];return _0x12d38b;},a0_0x3d6e(_0x3d6cf9,_0x174ba9);}function a0_0x3663(){const _0x9c170=['button','startsWith','editable','pageInitialized','key','renderRoot','__dirty__','getContextObject','5285000kpSOwF','fetch','13903812AGrBWd','editing','entries','connectedCallback','__dirtyfields__','name','__origin__','orgData','355880Chlpst','keydown','column','167660yPeuQS','context','findOne','isPage','dirtyData','call','forEach','before','isNotEmpty','getBasicFormHtml','activity','removeGarbageData','object','getData','render','dataSet','activityDataSet','removeAttribute','firstUpdated','assign','cuFlag','filter','Escape','validation','detail','tagName','Enter','18062tOmWOM','setAttribute','currentData','click','isEmpty','form','stopPropagation','clear','18594RDQkHp','updateMultiple','47baYNYQ','formColumnConfig','3122jSCXNe','getAndParseMenuMeta','properties','addEventListener','parseBasicFormConfigs','after','formConfigSet','isElement','showAlertPopup','parent_id','map','styles','text.NOTHING_CHANGED','record','36618510ibFyZn','patchData','currentTarget','__seq__','focus','save','parseFormConfigs','123wgwtXH'];a0_0x3663=function(){return _0x9c170;};return a0_0x3663();}const a0_0x37ba01=a0_0x3d6e;(function(_0x487774,_0x2b8090){const _0x3f8e54=a0_0x3d6e,_0x2c0a49=_0x487774();while(!![]){try{const _0x2a8fce=parseInt(_0x3f8e54(0x84))/0x1*(-parseInt(_0x3f8e54(0x7a))/0x2)+parseInt(_0x3f8e54(0x9b))/0x3*(-parseInt(_0x3f8e54(0xb1))/0x4)+-parseInt(_0x3f8e54(0xae))/0x5+-parseInt(_0x3f8e54(0x82))/0x6*(parseInt(_0x3f8e54(0x86))/0x7)+-parseInt(_0x3f8e54(0xa4))/0x8+parseInt(_0x3f8e54(0xa6))/0x9+parseInt(_0x3f8e54(0x94))/0xa;if(_0x2a8fce===_0x2b8090)break;else _0x2c0a49['push'](_0x2c0a49['shift']());}catch(_0xc0eea9){_0x2c0a49['push'](_0x2c0a49['shift']());}}}(a0_0x3663,0xe7e20));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x524107=>class extends MetaButtonMixin(_0x524107){static get[a0_0x37ba01(0x91)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x37ba01(0x88)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x37ba01(0xb2)](){const _0x3cb10c=a0_0x37ba01;return MetaUiUtil[_0x3cb10c(0xa3)](this);}async[a0_0x37ba01(0xa9)](){const _0x12524d=a0_0x37ba01;await this[_0x12524d(0x87)](),this[_0x12524d(0x8d)]&&await this[_0x12524d(0x9a)](),this[_0x12524d(0x6f)]&&(this[_0x12524d(0x6e)]=this['activityDataSet']),!0x0!==this['is_activity']||this[_0x12524d(0x8f)]||(this[_0x12524d(0x8f)]=_0x12524d(0x69)),super[_0x12524d(0xa9)]&&await super[_0x12524d(0xa9)](),this[_0x12524d(0x8d)]&&await this['fetch'](),this['renderRoot']['addEventListener'](_0x12524d(0xaf),_0x92ee5d=>{const _0x36f231=_0x12524d;switch(_0x92ee5d[_0x36f231(0xa0)]){case'Esc':case _0x36f231(0x75):case _0x36f231(0x79):this[_0x36f231(0x98)](),this[_0x36f231(0x96)]&&this[_0x36f231(0x96)][_0x36f231(0x70)](_0x36f231(0xa7)),this[_0x36f231(0x96)]=null;}}),this[_0x12524d(0xa1)][_0x12524d(0x89)](_0x12524d(0x7d),_0x3f1c88=>{const _0x11b15b=_0x12524d;_0x3f1c88[_0x11b15b(0x80)]();let _0x3f4d8a=_0x3f1c88['target'];if(this[_0x11b15b(0x96)]&&(this['focus'](),this['currentTarget']['removeAttribute']('editing')),'OX-GRID-FIELD'!==_0x3f4d8a[_0x11b15b(0x78)]||!_0x3f4d8a[_0x11b15b(0xb0)]['record'][_0x11b15b(0x9e)])return this[_0x11b15b(0x98)](),void(this[_0x11b15b(0x96)]=null);this[_0x11b15b(0x96)]=_0x3f4d8a,_0x3f4d8a[_0x11b15b(0x7b)](_0x11b15b(0xa7),'true');}),this[_0x12524d(0x89)]('field-change',_0x418eeb=>{const _0x44a3da=_0x12524d;var {after:_0x42ca22,before:_0x4ae990,column:_0x2ef577,record:_0x2b2d06,row:_0x27efb6}=_0x418eeb[_0x44a3da(0x77)];if(ValueUtil['isEquals'](_0x42ca22,_0x4ae990))return;var _0x18de9b=_0x2ef577[_0x44a3da(0x76)];if(_0x18de9b&&'function'==typeof _0x18de9b&&!_0x18de9b[_0x44a3da(0xb6)](this,_0x42ca22,_0x4ae990,_0x2b2d06,_0x2ef577))return;let _0x35e803=_0x2ef577[_0x44a3da(0xab)];_0x2b2d06[_0x35e803]=_0x42ca22,_0x2b2d06[_0x44a3da(0xaa)]=_0x2b2d06['__dirtyfields__']||{},_0x2b2d06['__origin__']=_0x2b2d06[_0x44a3da(0xac)]||{},_0x2b2d06[_0x44a3da(0xaa)][_0x35e803]={'before':_0x2b2d06[_0x44a3da(0xac)][_0x35e803],'after':_0x2b2d06[_0x35e803]},ValueUtil['isEquals'](_0x2b2d06[_0x44a3da(0xaa)][_0x35e803][_0x44a3da(0xb8)],_0x2b2d06['__dirtyfields__'][_0x35e803]['after'])&&delete _0x2b2d06[_0x44a3da(0xaa)][_0x35e803],ValueUtil[_0x44a3da(0xb9)](_0x2b2d06[_0x44a3da(0xaa)])?_0x2b2d06['__dirty__']='M':_0x2b2d06[_0x44a3da(0xa2)]='',this['record']={..._0x2b2d06};});}async[a0_0x37ba01(0x71)](){const _0x3c906b=a0_0x37ba01;super[_0x3c906b(0x71)]&&await super[_0x3c906b(0x71)]();}async['pageInitialized'](){const _0x3bd5e4=a0_0x37ba01;this[_0x3bd5e4(0xb4)]&&await this[_0x3bd5e4(0x9a)](),super['pageInitialized']&&await super[_0x3bd5e4(0x9f)](),this[_0x3bd5e4(0xb4)]&&await this['fetch']();}[a0_0x37ba01(0x6d)](){const _0x92b188=a0_0x37ba01;return MetaApi[_0x92b188(0xba)](this);}[a0_0x37ba01(0x8a)](_0x1dae7c){const _0x5379af=a0_0x37ba01;this[_0x5379af(0x85)]=_0x1dae7c['grid_column'],this['formRenderConfig']=_0x1dae7c[_0x5379af(0x7f)],_0x1dae7c[_0x5379af(0x9c)]=_0x1dae7c[_0x5379af(0x9c)][_0x5379af(0x74)](_0x3437ac=>_0x5379af(0x99)==_0x3437ac[_0x5379af(0xab)]);}async[a0_0x37ba01(0x9a)](){const _0x12ed1a=a0_0x37ba01;this[_0x12ed1a(0x8c)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x37ba01(0xad)](){const _0x4dd8b3=a0_0x37ba01;return this['removeGarbageData'](this['record'][_0x4dd8b3(0xac)]);}get[a0_0x37ba01(0xb5)](){const _0x56cc66=a0_0x37ba01;if(ValueUtil[_0x56cc66(0x7e)](this['record'][_0x56cc66(0xaa)]))return{};let _0x280c4e={};return Object['entries'](this[_0x56cc66(0x93)][_0x56cc66(0xaa)])[_0x56cc66(0x90)](([_0x5babd2,_0x3b47f9])=>{const _0x49ef8c=_0x56cc66;0x0==_0x5babd2[_0x49ef8c(0x9d)]('__')&&(_0x280c4e[_0x5babd2]=_0x3b47f9[_0x49ef8c(0x8b)]);}),_0x280c4e;}get[a0_0x37ba01(0x7c)](){const _0x3982ab=a0_0x37ba01;return this[_0x3982ab(0x6a)](this['record']);}[a0_0x37ba01(0x6a)](_0x4f6d22){const _0x448cd8=a0_0x37ba01;let _0x2fae1e={};if(_0x4f6d22)return Object[_0x448cd8(0xa8)](_0x4f6d22)[_0x448cd8(0x90)](([_0xf9bb62,_0x468a28])=>{const _0x178150=_0x448cd8;0x0==_0xf9bb62[_0x178150(0x9d)]('__')&&(_0x2fae1e[_0xf9bb62]=_0x468a28);}),_0x2fae1e;}get[a0_0x37ba01(0x95)](){const _0x575196=a0_0x37ba01;let _0x2e14fc=this['dirtyData'],_0x199919=this[_0x575196(0x93)];return ValueUtil[_0x575196(0x7e)](_0x2e14fc)?[]:(ValueUtil[_0x575196(0xb9)](_0x199919['id'])?(_0x2e14fc['id']=_0x199919['id'],_0x2e14fc['cuFlag']='M'):_0x2e14fc[_0x575196(0x73)]='+',Object['keys'](_0x2e14fc)[_0x575196(0xb7)](_0x5930a3=>{const _0x56af96=_0x575196;_0x56af96(0x6b)==typeof _0x2e14fc[_0x5930a3]&&(_0x2e14fc[_0x5930a3]={'id':_0x2e14fc[_0x5930a3]['id']});}),[_0x2e14fc]);}async[a0_0x37ba01(0xa5)](){const _0xbd1b54=a0_0x37ba01;if(ValueUtil[_0xbd1b54(0x7e)](this['parent_id']))return;let _0x131e2f=await this[_0xbd1b54(0xb3)](this[_0xbd1b54(0x8f)]);_0x131e2f[_0xbd1b54(0x97)]=0x1;let _0x3b62bf={};Object[_0xbd1b54(0x72)](_0x3b62bf,_0x131e2f),_0x131e2f[_0xbd1b54(0xac)]=_0x3b62bf,this['record']={..._0x131e2f};}async[a0_0x37ba01(0x99)](){const _0x4a8fc2=a0_0x37ba01;let _0x5e6cab=this[_0x4a8fc2(0x95)];if(ValueUtil[_0x4a8fc2(0x7e)](_0x5e6cab))return void MetaApi[_0x4a8fc2(0x8e)]('title.info',_0x4a8fc2(0x92));let _0x23a0cf=await this[_0x4a8fc2(0x83)](_0x5e6cab);return _0x23a0cf&&await this['fetch'](),_0x23a0cf;}async[a0_0x37ba01(0x81)](){const _0x38744d=a0_0x37ba01;this[_0x38744d(0x93)]&&(this[_0x38744d(0x93)]={});}[a0_0x37ba01(0x6c)](){const _0x5a6bde=a0_0x37ba01;return this[_0x5a6bde(0x7c)]||{};}};
@@ -1 +1 @@
1
- function a0_0x5d98(_0x5db983,_0x2a0c6a){const _0x1827d9=a0_0x1827();return a0_0x5d98=function(_0x5d9811,_0x457631){_0x5d9811=_0x5d9811-0x1b7;let _0x162bca=_0x1827d9[_0x5d9811];return _0x162bca;},a0_0x5d98(_0x5db983,_0x2a0c6a);}const a0_0x5cbb36=a0_0x5d98;(function(_0x445885,_0x1bb687){const _0xb0f3f=a0_0x5d98,_0x52dd84=_0x445885();while(!![]){try{const _0x47cdc6=parseInt(_0xb0f3f(0x1fb))/0x1+-parseInt(_0xb0f3f(0x1e1))/0x2*(parseInt(_0xb0f3f(0x1d2))/0x3)+-parseInt(_0xb0f3f(0x1d1))/0x4*(-parseInt(_0xb0f3f(0x1cd))/0x5)+parseInt(_0xb0f3f(0x1bc))/0x6*(-parseInt(_0xb0f3f(0x206))/0x7)+parseInt(_0xb0f3f(0x1f6))/0x8+-parseInt(_0xb0f3f(0x1e6))/0x9*(parseInt(_0xb0f3f(0x1e2))/0xa)+-parseInt(_0xb0f3f(0x1f4))/0xb*(-parseInt(_0xb0f3f(0x203))/0xc);if(_0x47cdc6===_0x1bb687)break;else _0x52dd84['push'](_0x52dd84['shift']());}catch(_0x4056e3){_0x52dd84['push'](_0x52dd84['shift']());}}}(a0_0x1827,0xdf2fe));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_0x1827(){const _0x384647=['querySelector','getContextObject','map','filter','firstUpdated','search','getSelectedIdList','findOne','gristConfigSet','15BxRlQR','searchFields','searchFieldValues','activityDataSet','870176hmwJQw','3fBvAbq','exportable','patchesForUpdateMultiple','import','fetch','connectedCallback','filterForm','grist','parseGridConfigSet','actions','styles','main','isNotEmpty','save','gristId','1901756npRGoK','50bVgmMJ','searchConfig','value','find','2987001KUAKrx','isElement','delete','exportableData','beforeFetch','renderRoot','operator','stringify','records','name','dataSet','context','useFilterForm','#detail','27304343SdKGfj','title','4177840BUNLLO','header','getGristTabHtml','ox-filters-form-base','properties','237920TNjIIV','forEach','___data','push','clear','gridColumnConfig','parseGristConfigs','getBasicGristTabStyles','12PwGZYp','grid','meta-tab-element','1296743RPmSFC','tTitle','parseBasicGridConfigs','getParams','render','ox-grist','updateMultiple','12vXRQlW','menuInfo','record','columns','options','pageInitialized','filterFormId','shadowRoot'];a0_0x1827=function(){return _0x384647;};return a0_0x1827();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x375ccb=>class extends MetaButtonMixin(_0x375ccb){static get[a0_0x5cbb36(0x1dc)](){const _0x35da03=a0_0x5cbb36;return MetaApi[_0x35da03(0x202)]();}static get[a0_0x5cbb36(0x1fa)](){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 _0x52e108=a0_0x5cbb36;return this[_0x52e108(0x1eb)]['querySelector'](this['gristId']);}get[a0_0x5cbb36(0x1d8)](){const _0x4d8e3a=a0_0x5cbb36;return this['shadowRoot']?.[_0x4d8e3a(0x1c4)](this[_0x4d8e3a(0x1c2)]);}get['detailElement'](){const _0x254f25=a0_0x5cbb36;return this[_0x254f25(0x1c3)][_0x254f25(0x1c4)](_0x254f25(0x1f3));}get[a0_0x5cbb36(0x1f1)](){const _0x38b74=a0_0x5cbb36;let _0x4dee4f=MetaUiUtil[_0x38b74(0x1c5)](this);return _0x4dee4f[_0x38b74(0x1db)]&&delete _0x4dee4f[_0x38b74(0x1db)],_0x4dee4f[_0x38b74(0x1d3)]&&delete _0x4dee4f['exportable'],_0x4dee4f['importable']&&delete _0x4dee4f['importable'],_0x4dee4f;}async[a0_0x5cbb36(0x1d7)](){const _0x228818=a0_0x5cbb36;this[_0x228818(0x1e0)]=_0x228818(0x1ba),this['filterFormId']=_0x228818(0x1f9),await this['getAndParseMenuMeta'](),this['isElement']&&await this['parseGristConfigs'](),this['activityDataSet']&&(this[_0x228818(0x1f0)]=(this[_0x228818(0x1d0)]||{})[_0x228818(0x1dd)]),super[_0x228818(0x1d7)]&&await super[_0x228818(0x1d7)]();}async[a0_0x5cbb36(0x1c8)](){const _0x2fefba=a0_0x5cbb36;super[_0x2fefba(0x1c8)]&&await super[_0x2fefba(0x1c8)]();}async['pageInitialized'](){const _0x557299=a0_0x5cbb36;this['isPage']&&await this[_0x557299(0x201)](),super[_0x557299(0x1c1)]&&await super[_0x557299(0x1c1)]();}[a0_0x5cbb36(0x1b9)](){const _0x344548=a0_0x5cbb36;return MetaApi[_0x344548(0x1f8)](this);}[a0_0x5cbb36(0x1b7)](_0xc0a5f8){const _0xdf64c5=a0_0x5cbb36;this['gridConfig']=_0xc0a5f8[_0xdf64c5(0x204)],this[_0xdf64c5(0x200)]=_0xc0a5f8['grid_column'],this[_0xdf64c5(0x1e3)]=_0xc0a5f8[_0xdf64c5(0x1c9)];}async[a0_0x5cbb36(0x201)](){const _0xa8bb81=a0_0x5cbb36;this[_0xa8bb81(0x1cc)]=await MetaApi[_0xa8bb81(0x1da)](this),this['useMasterFilterForm']=!0x0===this[_0xa8bb81(0x1f2)],this[_0xa8bb81(0x1f2)]=!0x1,this[_0xa8bb81(0x1cf)]=[],this[_0xa8bb81(0x1ce)]=this[_0xa8bb81(0x1cc)][_0xa8bb81(0x1bf)][_0xa8bb81(0x1c7)](_0x17a2e5=>_0x17a2e5[_0xa8bb81(0x1c7)])[_0xa8bb81(0x1c6)](_0x25883e=>{const _0x52a481=_0xa8bb81;let _0x233f4b={'name':_0x25883e[_0x52a481(0x1ef)],'type':_0x52a481(0x1c9)===_0x25883e[_0x52a481(0x1c7)]['operator']?'search':_0x25883e['type'],'label':_0x25883e[_0x52a481(0x1f7)],'operator':_0x25883e['filter']['operator']?_0x25883e['filter'][_0x52a481(0x1ec)]:'eq'};return _0x25883e[_0x52a481(0x1c7)][_0x52a481(0x1c0)]&&(_0x233f4b[_0x52a481(0x1c0)]=_0x25883e['filter'][_0x52a481(0x1c0)]),_0x25883e[_0x52a481(0x1be)][_0x52a481(0x1c0)]&&(_0x233f4b[_0x52a481(0x1c0)]=_0x25883e[_0x52a481(0x1be)][_0x52a481(0x1c0)]),_0x25883e[_0x52a481(0x1c7)][_0x52a481(0x1e4)]&&this['searchFieldValues'][_0x52a481(0x1fe)]({'name':_0x233f4b[_0x52a481(0x1ef)],'operator':_0x233f4b[_0x52a481(0x1ec)],'value':_0x25883e[_0x52a481(0x1c7)]['value']}),delete _0x25883e[_0x52a481(0x1c7)],_0x233f4b;});}async[a0_0x5cbb36(0x1d6)](){const _0x12e779=a0_0x5cbb36;await this[_0x12e779(0x1d9)]['fetch']();}async[a0_0x5cbb36(0x1ea)]({page:_0x17dbd0=0x0,limit:_0x41d824=0x0,sortings:_0x5f2539=[],filters:_0x196ad9=[]}){const _0x53d229=a0_0x5cbb36;let _0x27d7ca=this[_0x53d229(0x1eb)][_0x53d229(0x1c4)](_0x53d229(0x205));return await _0x27d7ca[_0x53d229(0x1ff)](),!0x0;}async[a0_0x5cbb36(0x1df)](){const _0x1523b5=a0_0x5cbb36;let _0x497eca=MetaApi[_0x1523b5(0x1d4)](this[_0x1523b5(0x1d9)]);!!ValueUtil[_0x1523b5(0x1de)](_0x497eca)&&await this[_0x1523b5(0x1bb)](_0x497eca)&&this['fetch']();}async[a0_0x5cbb36(0x1e5)](){const _0x3e8620=a0_0x5cbb36;let _0x4d14e6=MetaApi['getSelectedIdList'](this[_0x3e8620(0x1d9)],!0x0);return ValueUtil['isNotEmpty'](_0x4d14e6)?await this[_0x3e8620(0x1cb)](_0x4d14e6[0x0]):{};}async[a0_0x5cbb36(0x1e8)](){const _0x45a624=a0_0x5cbb36;let _0x3b8dc3=MetaApi[_0x45a624(0x1ca)](this[_0x45a624(0x1d9)],!0x0);!!ValueUtil['isNotEmpty'](_0x3b8dc3)&&await this['deleteByIds'](_0x3b8dc3)&&this[_0x45a624(0x1d6)]();}async['export'](){const _0x374dfb=a0_0x5cbb36;let _0x4a9086=TermsUtil[_0x374dfb(0x207)](ValueUtil[_0x374dfb(0x1b8)](this[_0x374dfb(0x1bd)],_0x374dfb(0x1f5)));return await MetaApi[_0x374dfb(0x1e9)](this[_0x374dfb(0x1e7)],_0x4a9086,this[_0x374dfb(0x1d9)]);}async[a0_0x5cbb36(0x1d5)](){}['getData'](){const _0x304913=a0_0x5cbb36;let _0x15728b=this['grist'][_0x304913(0x1fd)][_0x304913(0x1ee)];return _0x15728b=JSON['parse'](JSON[_0x304913(0x1ed)](_0x15728b)),_0x15728b[_0x304913(0x1fc)](_0x332b1f=>{const _0x4e20bd=_0x304913;Object['keys'](_0x332b1f)[_0x4e20bd(0x1fc)](_0x158dea=>{_0x158dea['startsWith']('__')&&delete _0x332b1f[_0x158dea];});}),{'main':_0x15728b,'detail':this[_0x304913(0x1eb)][_0x304913(0x1c4)](_0x304913(0x205))['getData']()};}};
1
+ function a0_0x5286(_0x426a54,_0x2e57d6){const _0x5cb60b=a0_0x5cb6();return a0_0x5286=function(_0x528646,_0x369f25){_0x528646=_0x528646-0x1c7;let _0x5e18f1=_0x5cb60b[_0x528646];return _0x5e18f1;},a0_0x5286(_0x426a54,_0x2e57d6);}const a0_0x523407=a0_0x5286;(function(_0x226d08,_0x122e4b){const _0x7fb802=a0_0x5286,_0x6793c6=_0x226d08();while(!![]){try{const _0x5899ba=-parseInt(_0x7fb802(0x20b))/0x1*(parseInt(_0x7fb802(0x1f9))/0x2)+-parseInt(_0x7fb802(0x1d7))/0x3*(parseInt(_0x7fb802(0x1dd))/0x4)+-parseInt(_0x7fb802(0x208))/0x5*(-parseInt(_0x7fb802(0x213))/0x6)+-parseInt(_0x7fb802(0x203))/0x7+-parseInt(_0x7fb802(0x1f6))/0x8+parseInt(_0x7fb802(0x1fb))/0x9*(parseInt(_0x7fb802(0x1ca))/0xa)+-parseInt(_0x7fb802(0x1de))/0xb*(-parseInt(_0x7fb802(0x218))/0xc);if(_0x5899ba===_0x122e4b)break;else _0x6793c6['push'](_0x6793c6['shift']());}catch(_0x58f7be){_0x6793c6['push'](_0x6793c6['shift']());}}}(a0_0x5cb6,0xe6d19));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5cb6(){const _0x45eaf0=['context','pageInitialized','renderRoot','ox-grist','12502189zZGMMX','fetch','ox-filters-form-base','getContextObject','tTitle','119400kDdOmj','getBasicGristTabStyles','getParams','1LhcOZE','searchFields','grid_column','useFilterForm','export','import','patchesForUpdateMultiple','actions','276wTJWZH','forEach','title','type','name','3252atnXpJ','parse','properties','getAndParseMenuMeta','save','1038690SzoDOO','render','push','record','gristConfigSet','filterForm','beforeFetch','startsWith','parseBasicGridConfigs','shadowRoot','options','keys','getData','21hVmpjl','___data','header','querySelector','connectedCallback','filter','98428Mmjzlg','89683rEYnoP','styles','detailElement','clear','value','deleteByIds','records','map','parseGristConfigs','gristId','importable','getGristTabHtml','firstUpdated','filterFormId','search','searchFieldValues','getSelectedIdList','operator','dataSet','useMasterFilterForm','isNotEmpty','delete','findOne','find','13560096rgrjpL','stringify','updateMultiple','534514QwXRxH','grist','135RMuTfS','activityDataSet','isElement','exportable'];a0_0x5cb6=function(){return _0x45eaf0;};return a0_0x5cb6();}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=_0x1b9c03=>class extends MetaButtonMixin(_0x1b9c03){static get[a0_0x523407(0x1df)](){const _0x40558d=a0_0x523407;return MetaApi[_0x40558d(0x209)]();}static get[a0_0x523407(0x1c7)](){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_0x523407(0x1fa)](){const _0x53efb3=a0_0x523407;return this[_0x53efb3(0x201)][_0x53efb3(0x1da)](this[_0x53efb3(0x1e7)]);}get[a0_0x523407(0x1cf)](){const _0x325b1b=a0_0x523407;return this['shadowRoot']?.[_0x325b1b(0x1da)](this[_0x325b1b(0x1eb)]);}get[a0_0x523407(0x1e0)](){const _0x4ffa60=a0_0x523407;return this[_0x4ffa60(0x1d3)][_0x4ffa60(0x1da)]('#detail');}get[a0_0x523407(0x1ff)](){const _0x5787d3=a0_0x523407;let _0x1cdfc5=MetaUiUtil[_0x5787d3(0x206)](this);return _0x1cdfc5['actions']&&delete _0x1cdfc5[_0x5787d3(0x212)],_0x1cdfc5[_0x5787d3(0x1fe)]&&delete _0x1cdfc5[_0x5787d3(0x1fe)],_0x1cdfc5[_0x5787d3(0x1e8)]&&delete _0x1cdfc5[_0x5787d3(0x1e8)],_0x1cdfc5;}async[a0_0x523407(0x1db)](){const _0x103e49=a0_0x523407;this['gristId']=_0x103e49(0x202),this[_0x103e49(0x1eb)]=_0x103e49(0x205),await this[_0x103e49(0x1c8)](),this['isElement']&&await this['parseGristConfigs'](),this[_0x103e49(0x1fc)]&&(this[_0x103e49(0x1f0)]=(this['activityDataSet']||{})['main']),super[_0x103e49(0x1db)]&&await super['connectedCallback']();}async[a0_0x523407(0x1ea)](){const _0x4e4bf0=a0_0x523407;super['firstUpdated']&&await super[_0x4e4bf0(0x1ea)]();}async[a0_0x523407(0x200)](){const _0x39b8bb=a0_0x523407;this['isPage']&&await this[_0x39b8bb(0x1e6)](),super[_0x39b8bb(0x200)]&&await super['pageInitialized']();}[a0_0x523407(0x1cb)](){const _0x105a8b=a0_0x523407;return MetaApi[_0x105a8b(0x1e9)](this);}[a0_0x523407(0x1d2)](_0x5b7b8b){const _0x1bfcfb=a0_0x523407;this['gridConfig']=_0x5b7b8b['grid'],this['gridColumnConfig']=_0x5b7b8b[_0x1bfcfb(0x20d)],this['searchConfig']=_0x5b7b8b[_0x1bfcfb(0x1ec)];}async[a0_0x523407(0x1e6)](){const _0xac2aba=a0_0x523407;this[_0xac2aba(0x1ce)]=await MetaApi['parseGridConfigSet'](this),this[_0xac2aba(0x1f1)]=!0x0===this[_0xac2aba(0x20e)],this['useFilterForm']=!0x1,this[_0xac2aba(0x1ed)]=[],this[_0xac2aba(0x20c)]=this[_0xac2aba(0x1ce)]['columns'][_0xac2aba(0x1dc)](_0x37212c=>_0x37212c[_0xac2aba(0x1dc)])[_0xac2aba(0x1e5)](_0x3b2c12=>{const _0x1dcf54=_0xac2aba;let _0x552470={'name':_0x3b2c12[_0x1dcf54(0x217)],'type':_0x1dcf54(0x1ec)===_0x3b2c12['filter'][_0x1dcf54(0x1ef)]?_0x1dcf54(0x1ec):_0x3b2c12[_0x1dcf54(0x216)],'label':_0x3b2c12[_0x1dcf54(0x1d9)],'operator':_0x3b2c12['filter'][_0x1dcf54(0x1ef)]?_0x3b2c12[_0x1dcf54(0x1dc)][_0x1dcf54(0x1ef)]:'eq'};return _0x3b2c12['filter'][_0x1dcf54(0x1d4)]&&(_0x552470[_0x1dcf54(0x1d4)]=_0x3b2c12[_0x1dcf54(0x1dc)][_0x1dcf54(0x1d4)]),_0x3b2c12['record'][_0x1dcf54(0x1d4)]&&(_0x552470[_0x1dcf54(0x1d4)]=_0x3b2c12[_0x1dcf54(0x1cd)]['options']),_0x3b2c12[_0x1dcf54(0x1dc)][_0x1dcf54(0x1e2)]&&this['searchFieldValues'][_0x1dcf54(0x1cc)]({'name':_0x552470[_0x1dcf54(0x217)],'operator':_0x552470[_0x1dcf54(0x1ef)],'value':_0x3b2c12['filter'][_0x1dcf54(0x1e2)]}),delete _0x3b2c12[_0x1dcf54(0x1dc)],_0x552470;});}async[a0_0x523407(0x204)](){const _0x1fe3d7=a0_0x523407;await this[_0x1fe3d7(0x1fa)][_0x1fe3d7(0x204)]();}async[a0_0x523407(0x1d0)]({page:_0x3b5d8a=0x0,limit:_0x88464d=0x0,sortings:_0x44f20b=[],filters:_0x584449=[]}){const _0x2d625e=a0_0x523407;let _0x4e965d=this['renderRoot'][_0x2d625e(0x1da)]('meta-tab-element');return await _0x4e965d[_0x2d625e(0x1e1)](),!0x0;}async[a0_0x523407(0x1c9)](){const _0x1c0ba9=a0_0x523407;let _0x252edf=MetaApi[_0x1c0ba9(0x211)](this[_0x1c0ba9(0x1fa)]);!!ValueUtil[_0x1c0ba9(0x1f2)](_0x252edf)&&await this[_0x1c0ba9(0x1f8)](_0x252edf)&&this[_0x1c0ba9(0x204)]();}async[a0_0x523407(0x1f5)](){const _0x1cd251=a0_0x523407;let _0x2c158b=MetaApi[_0x1cd251(0x1ee)](this['grist'],!0x0);return ValueUtil[_0x1cd251(0x1f2)](_0x2c158b)?await this[_0x1cd251(0x1f4)](_0x2c158b[0x0]):{};}async[a0_0x523407(0x1f3)](){const _0x381fbd=a0_0x523407;let _0x29da30=MetaApi[_0x381fbd(0x1ee)](this['grist'],!0x0);!!ValueUtil[_0x381fbd(0x1f2)](_0x29da30)&&await this[_0x381fbd(0x1e3)](_0x29da30)&&this[_0x381fbd(0x204)]();}async[a0_0x523407(0x20f)](){const _0x5062e4=a0_0x523407;let _0x2e69bf=TermsUtil[_0x5062e4(0x207)](ValueUtil[_0x5062e4(0x20a)](this['menuInfo'],_0x5062e4(0x215)));return await MetaApi['exportableData'](this[_0x5062e4(0x1fd)],_0x2e69bf,this[_0x5062e4(0x1fa)]);}async[a0_0x523407(0x210)](){}[a0_0x523407(0x1d6)](){const _0x7b587e=a0_0x523407;let _0x4598ca=this['grist'][_0x7b587e(0x1d8)][_0x7b587e(0x1e4)];return _0x4598ca=JSON[_0x7b587e(0x219)](JSON[_0x7b587e(0x1f7)](_0x4598ca)),_0x4598ca[_0x7b587e(0x214)](_0x52c4fc=>{const _0xc8b8c9=_0x7b587e;Object[_0xc8b8c9(0x1d5)](_0x52c4fc)['forEach'](_0x521880=>{const _0x546c6d=_0xc8b8c9;_0x521880[_0x546c6d(0x1d1)]('__')&&delete _0x52c4fc[_0x521880];});}),{'main':_0x4598ca,'detail':this[_0x7b587e(0x201)][_0x7b587e(0x1da)]('meta-tab-element')[_0x7b587e(0x1d6)]()};}};
@@ -1 +1 @@
1
- const a0_0x222d08=a0_0x4c05;function a0_0x4c05(_0xe7eb02,_0x2b1e7a){const _0x477f03=a0_0x477f();return a0_0x4c05=function(_0x4c053d,_0x5cf091){_0x4c053d=_0x4c053d-0x1bb;let _0x92d306=_0x477f03[_0x4c053d];return _0x92d306;},a0_0x4c05(_0xe7eb02,_0x2b1e7a);}(function(_0x3d186c,_0x2bab30){const _0x5aa0b9=a0_0x4c05,_0x44831b=_0x3d186c();while(!![]){try{const _0x210731=parseInt(_0x5aa0b9(0x1dc))/0x1*(parseInt(_0x5aa0b9(0x1bf))/0x2)+parseInt(_0x5aa0b9(0x1c8))/0x3*(-parseInt(_0x5aa0b9(0x1bd))/0x4)+-parseInt(_0x5aa0b9(0x1f0))/0x5+parseInt(_0x5aa0b9(0x1e5))/0x6+parseInt(_0x5aa0b9(0x1ec))/0x7*(parseInt(_0x5aa0b9(0x1c7))/0x8)+-parseInt(_0x5aa0b9(0x1f5))/0x9+parseInt(_0x5aa0b9(0x1f6))/0xa*(parseInt(_0x5aa0b9(0x1d5))/0xb);if(_0x210731===_0x2bab30)break;else _0x44831b['push'](_0x44831b['shift']());}catch(_0x1c6ff9){_0x44831b['push'](_0x44831b['shift']());}}}(a0_0x477f,0x46bb7));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_0x477f(){const _0x1b0acf=['exportable','8OfoDCB','context','15706TjrHQf','searchFieldValues','getContextObject','buttonConfig','main','properties','isPage','getMainGrist','488SNDpvR','629838pTeYnJ','grist','parseGristConfigs','gristId','render','filter','clear','value','gristConfigSet','record','options','getData','type','11QCSwkj','operator','search','filterFormId','grid','parseBasicGridConfigs','styles','22yMIgHD','connectedCallback','beforeFetch','firstUpdated','masterElement','searchConfig','actions','map','importable','1209324pgUBkw','getBasicMainTabStyles','useButtonImport','push','filterForm','isElement','fetch','273JXsvrt','grid_column','ox-filters-form-base','shadowRoot','2395635nzKPKx','searchFields','useMasterFilterForm','columns','name','389178IYdkNK','8552810zJNPDx','pageInitialized'];a0_0x477f=function(){return _0x1b0acf;};return a0_0x477f();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x380dc7=>class extends MetaButtonMixin(_0x380dc7){static get[a0_0x222d08(0x1db)](){const _0x3c8e47=a0_0x222d08;return MetaApi[_0x3c8e47(0x1e6)]();}static get[a0_0x222d08(0x1c4)](){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_0x222d08(0x1c9)](){const _0x37757a=a0_0x222d08;return this['masterElement'][_0x37757a(0x1c6)]();}get[a0_0x222d08(0x1e9)](){const _0x37c62b=a0_0x222d08;return this[_0x37c62b(0x1ef)]?.['querySelector'](this[_0x37c62b(0x1d8)]);}get[a0_0x222d08(0x1be)](){const _0xf72bcd=a0_0x222d08;let _0x54951f=MetaUiUtil[_0xf72bcd(0x1c1)](this);return _0x54951f[_0xf72bcd(0x1e2)]&&delete _0x54951f[_0xf72bcd(0x1e2)],_0x54951f['exportable']&&delete _0x54951f[_0xf72bcd(0x1bc)],_0x54951f[_0xf72bcd(0x1e4)]&&delete _0x54951f[_0xf72bcd(0x1e4)],_0x54951f;}async[a0_0x222d08(0x1dd)](){const _0x63899f=a0_0x222d08;this[_0x63899f(0x1cb)]='ox-grist',this[_0x63899f(0x1d8)]=_0x63899f(0x1ee),await this['getAndParseMenuMeta'](),this[_0x63899f(0x1ea)]&&await this[_0x63899f(0x1ca)](),this['activityDataSet']&&(this['dataSet']=(this['activityDataSet']||{})[_0x63899f(0x1c3)]),super[_0x63899f(0x1dd)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0x5b25b1=a0_0x222d08;super[_0x5b25b1(0x1df)]&&await super[_0x5b25b1(0x1df)]();}async[a0_0x222d08(0x1bb)](){const _0x1f9356=a0_0x222d08;this[_0x1f9356(0x1c5)]&&await this[_0x1f9356(0x1ca)](),super[_0x1f9356(0x1bb)]&&await super[_0x1f9356(0x1bb)]();}[a0_0x222d08(0x1cc)](){return MetaApi['getMainTabHtml'](this);}[a0_0x222d08(0x1da)](_0x769fcc){const _0x55dbb1=a0_0x222d08;this['gridConfig']=_0x769fcc[_0x55dbb1(0x1d9)],this['gridColumnConfig']=_0x769fcc[_0x55dbb1(0x1ed)],this[_0x55dbb1(0x1e1)]=_0x769fcc['search'];}async[a0_0x222d08(0x1ca)](){const _0x16605e=a0_0x222d08;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x16605e(0x1f2)]=!0x0===this['useFilterForm'],this['useFilterForm']=!0x1,this[_0x16605e(0x1c2)]=void 0x0,this['useButtonExport']=!0x1,this[_0x16605e(0x1e7)]=!0x1,this[_0x16605e(0x1c0)]=[],this[_0x16605e(0x1f1)]=this[_0x16605e(0x1d0)][_0x16605e(0x1f3)][_0x16605e(0x1cd)](_0x1327d3=>_0x1327d3[_0x16605e(0x1cd)])[_0x16605e(0x1e3)](_0x3a975e=>{const _0x4cd1e4=_0x16605e;let _0x54f9d5={'name':_0x3a975e['name'],'type':_0x4cd1e4(0x1d7)===_0x3a975e['filter'][_0x4cd1e4(0x1d6)]?_0x4cd1e4(0x1d7):_0x3a975e[_0x4cd1e4(0x1d4)],'label':_0x3a975e['header'],'operator':_0x3a975e['filter'][_0x4cd1e4(0x1d6)]?_0x3a975e[_0x4cd1e4(0x1cd)][_0x4cd1e4(0x1d6)]:'eq'};return _0x3a975e[_0x4cd1e4(0x1cd)]['options']&&(_0x54f9d5['options']=_0x3a975e[_0x4cd1e4(0x1cd)][_0x4cd1e4(0x1d2)]),_0x3a975e[_0x4cd1e4(0x1d1)][_0x4cd1e4(0x1d2)]&&(_0x54f9d5[_0x4cd1e4(0x1d2)]=_0x3a975e[_0x4cd1e4(0x1d1)][_0x4cd1e4(0x1d2)]),_0x3a975e[_0x4cd1e4(0x1cd)]['value']&&this['searchFieldValues'][_0x4cd1e4(0x1e8)]({'name':_0x54f9d5[_0x4cd1e4(0x1f4)],'operator':_0x54f9d5[_0x4cd1e4(0x1d6)],'value':_0x3a975e[_0x4cd1e4(0x1cd)][_0x4cd1e4(0x1cf)]}),delete _0x3a975e[_0x4cd1e4(0x1cd)],_0x54f9d5;});}async[a0_0x222d08(0x1eb)](){const _0x451c34=a0_0x222d08;await this[_0x451c34(0x1c9)][_0x451c34(0x1eb)]();}async[a0_0x222d08(0x1de)]({page:_0x5eea88=0x0,limit:_0x2f01e4=0x0,sortings:_0x43983c=[],filters:_0x1c98c4=[]}){const _0x583291=a0_0x222d08;return this[_0x583291(0x1e0)]&&this[_0x583291(0x1e0)][_0x583291(0x1ce)]&&await this[_0x583291(0x1e0)][_0x583291(0x1ce)](),!0x0;}['getData'](){const _0x26f1ab=a0_0x222d08;return{'master':this[_0x26f1ab(0x1e0)][_0x26f1ab(0x1d3)]()};}};
1
+ const a0_0x3b73d3=a0_0x5bc6;(function(_0x4ae904,_0x5bd5f4){const _0x16cf2c=a0_0x5bc6,_0x9dd71f=_0x4ae904();while(!![]){try{const _0x13088f=parseInt(_0x16cf2c(0xa1))/0x1*(-parseInt(_0x16cf2c(0x9e))/0x2)+parseInt(_0x16cf2c(0x8f))/0x3+parseInt(_0x16cf2c(0xb1))/0x4*(-parseInt(_0x16cf2c(0x9f))/0x5)+-parseInt(_0x16cf2c(0x99))/0x6*(parseInt(_0x16cf2c(0xa4))/0x7)+-parseInt(_0x16cf2c(0x88))/0x8+parseInt(_0x16cf2c(0x96))/0x9+parseInt(_0x16cf2c(0xbe))/0xa*(parseInt(_0x16cf2c(0xbd))/0xb);if(_0x13088f===_0x5bd5f4)break;else _0x9dd71f['push'](_0x9dd71f['shift']());}catch(_0x1fc6c8){_0x9dd71f['push'](_0x9dd71f['shift']());}}}(a0_0x1781,0x62818));import{html}from'lit';function a0_0x5bc6(_0x38dd6f,_0x15bf2c){const _0x1781a7=a0_0x1781();return a0_0x5bc6=function(_0x5bc6fd,_0x3627db){_0x5bc6fd=_0x5bc6fd-0x81;let _0x5bd3e8=_0x1781a7[_0x5bc6fd];return _0x5bd3e8;},a0_0x5bc6(_0x38dd6f,_0x15bf2c);}function a0_0x1781(){const _0x46f62f=['render','gristId','useFilterForm','styles','22wrOwWN','582605KzGnWQ','getBasicMainTabStyles','29143YJktmW','firstUpdated','searchConfig','2946356lRNMUm','columns','useButtonExport','actions','context','push','buttonConfig','grist','connectedCallback','filterFormId','parseGristConfigs','getContextObject','ox-filters-form-base','24MIqvgM','options','map','parseBasicGridConfigs','getMainTabHtml','useMasterFilterForm','type','importable','searchFields','gridColumnConfig','isElement','filterForm','70873PSopyq','2500swufmA','clear','search','masterElement','searchFieldValues','isPage','properties','grid','header','main','2935360jWXGNv','activityDataSet','ox-grist','querySelector','value','exportable','getAndParseMenuMeta','957069zUNime','pageInitialized','getData','useButtonImport','filter','record','operator','2531106ChStKi','fetch','gristConfigSet','6ASfbaD'];a0_0x1781=function(){return _0x46f62f;};return a0_0x1781();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x393ac9=>class extends MetaButtonMixin(_0x393ac9){static get[a0_0x3b73d3(0x9d)](){const _0x56afc0=a0_0x3b73d3;return MetaApi[_0x56afc0(0xa0)]();}static get[a0_0x3b73d3(0x84)](){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_0x3b73d3(0xab)](){const _0x84751e=a0_0x3b73d3;return this[_0x84751e(0x81)]['getMainGrist']();}get[a0_0x3b73d3(0xbc)](){const _0x2b02b3=a0_0x3b73d3;return this['shadowRoot']?.[_0x2b02b3(0x8b)](this[_0x2b02b3(0xad)]);}get[a0_0x3b73d3(0xa8)](){const _0x72e17d=a0_0x3b73d3;let _0x345325=MetaUiUtil[_0x72e17d(0xaf)](this);return _0x345325[_0x72e17d(0xa7)]&&delete _0x345325[_0x72e17d(0xa7)],_0x345325['exportable']&&delete _0x345325[_0x72e17d(0x8d)],_0x345325[_0x72e17d(0xb8)]&&delete _0x345325[_0x72e17d(0xb8)],_0x345325;}async['connectedCallback'](){const _0x4f25e5=a0_0x3b73d3;this[_0x4f25e5(0x9b)]=_0x4f25e5(0x8a),this[_0x4f25e5(0xad)]=_0x4f25e5(0xb0),await this[_0x4f25e5(0x8e)](),this[_0x4f25e5(0xbb)]&&await this[_0x4f25e5(0xae)](),this[_0x4f25e5(0x89)]&&(this['dataSet']=(this[_0x4f25e5(0x89)]||{})[_0x4f25e5(0x87)]),super['connectedCallback']&&await super[_0x4f25e5(0xac)]();}async[a0_0x3b73d3(0xa2)](){const _0x46c1a0=a0_0x3b73d3;super[_0x46c1a0(0xa2)]&&await super[_0x46c1a0(0xa2)]();}async[a0_0x3b73d3(0x90)](){const _0x45c780=a0_0x3b73d3;this[_0x45c780(0x83)]&&await this[_0x45c780(0xae)](),super[_0x45c780(0x90)]&&await super[_0x45c780(0x90)]();}[a0_0x3b73d3(0x9a)](){const _0x10930e=a0_0x3b73d3;return MetaApi[_0x10930e(0xb5)](this);}[a0_0x3b73d3(0xb4)](_0x475ce9){const _0x466d77=a0_0x3b73d3;this['gridConfig']=_0x475ce9[_0x466d77(0x85)],this[_0x466d77(0xba)]=_0x475ce9['grid_column'],this[_0x466d77(0xa3)]=_0x475ce9[_0x466d77(0xc0)];}async['parseGristConfigs'](){const _0x289010=a0_0x3b73d3;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x289010(0xb6)]=!0x0===this[_0x289010(0x9c)],this['useFilterForm']=!0x1,this[_0x289010(0xaa)]=void 0x0,this[_0x289010(0xa6)]=!0x1,this[_0x289010(0x92)]=!0x1,this[_0x289010(0x82)]=[],this[_0x289010(0xb9)]=this[_0x289010(0x98)][_0x289010(0xa5)][_0x289010(0x93)](_0x45078b=>_0x45078b['filter'])[_0x289010(0xb3)](_0x1aa14b=>{const _0x1e4374=_0x289010;let _0x525917={'name':_0x1aa14b['name'],'type':_0x1e4374(0xc0)===_0x1aa14b['filter']['operator']?_0x1e4374(0xc0):_0x1aa14b[_0x1e4374(0xb7)],'label':_0x1aa14b[_0x1e4374(0x86)],'operator':_0x1aa14b['filter']['operator']?_0x1aa14b[_0x1e4374(0x93)][_0x1e4374(0x95)]:'eq'};return _0x1aa14b['filter']['options']&&(_0x525917[_0x1e4374(0xb2)]=_0x1aa14b[_0x1e4374(0x93)]['options']),_0x1aa14b[_0x1e4374(0x94)][_0x1e4374(0xb2)]&&(_0x525917[_0x1e4374(0xb2)]=_0x1aa14b[_0x1e4374(0x94)][_0x1e4374(0xb2)]),_0x1aa14b[_0x1e4374(0x93)][_0x1e4374(0x8c)]&&this[_0x1e4374(0x82)][_0x1e4374(0xa9)]({'name':_0x525917['name'],'operator':_0x525917[_0x1e4374(0x95)],'value':_0x1aa14b[_0x1e4374(0x93)][_0x1e4374(0x8c)]}),delete _0x1aa14b['filter'],_0x525917;});}async[a0_0x3b73d3(0x97)](){const _0x346635=a0_0x3b73d3;await this[_0x346635(0xab)][_0x346635(0x97)]();}async['beforeFetch']({page:_0x38027d=0x0,limit:_0x5ab8b4=0x0,sortings:_0x47a6b4=[],filters:_0x201f3a=[]}){const _0x551db2=a0_0x3b73d3;return this['masterElement']&&this[_0x551db2(0x81)][_0x551db2(0xbf)]&&await this[_0x551db2(0x81)][_0x551db2(0xbf)](),!0x0;}[a0_0x3b73d3(0x91)](){const _0x3ceeff=a0_0x3b73d3;return{'master':this[_0x3ceeff(0x81)][_0x3ceeff(0x91)]()};}};
@@ -1 +1 @@
1
- const a0_0x16d5d3=a0_0x35ea;(function(_0x10ec76,_0x100d3a){const _0x2536b8=a0_0x35ea,_0x578e5e=_0x10ec76();while(!![]){try{const _0x580d3c=-parseInt(_0x2536b8(0x14e))/0x1+-parseInt(_0x2536b8(0x11f))/0x2*(parseInt(_0x2536b8(0x147))/0x3)+parseInt(_0x2536b8(0x154))/0x4+-parseInt(_0x2536b8(0x121))/0x5*(-parseInt(_0x2536b8(0x166))/0x6)+-parseInt(_0x2536b8(0x148))/0x7+parseInt(_0x2536b8(0x120))/0x8*(parseInt(_0x2536b8(0x13c))/0x9)+parseInt(_0x2536b8(0x143))/0xa;if(_0x580d3c===_0x100d3a)break;else _0x578e5e['push'](_0x578e5e['shift']());}catch(_0xc0abcf){_0x578e5e['push'](_0x578e5e['shift']());}}}(a0_0x125f,0xc9f8c));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_0x125f(){const _0x5b9f79=['querySelector','parseBasicGridConfigs','parseGridConfigSet','138ztyzhY','exportableData','startsWith','isNotEmpty','clear','filter','exportable','212AzBQTE','40DjELgd','321080CODeJE','dataSet','search','value','map','records','connectedCallback','getAndParseMenuMeta','updateMultiple','import','grid','gridConfig','properties','type','renderRoot','actions','getData','getSelectedIdList','find','delete','shadowRoot','keys','options','filterForm','getContextObject','activityDataSet','name','383499IceJOs','importable','getParams','operator','firstUpdated','title','forEach','20215100GlmGWG','record','save','parseGristConfigs','20103XbreXa','7893823iyrvFK','getMasterDetailHtml','columns','grist','main','menuInfo','1142796tWUpyL','render','useFilterForm','isPage','fetch','parse','386136ujTYbq','useMasterFilterForm','beforeFetch','filterFormId','___data','detailElement','gristConfigSet','isElement','stringify','header','searchFieldValues','gridColumnConfig','pageInitialized','push','patchesForUpdateMultiple'];a0_0x125f=function(){return _0x5b9f79;};return a0_0x125f();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x35ea(_0x10c8ba,_0x58f004){const _0x125fe2=a0_0x125f();return a0_0x35ea=function(_0x35ea93,_0x51c4b9){_0x35ea93=_0x35ea93-0x11e;let _0x4bb3bf=_0x125fe2[_0x35ea93];return _0x4bb3bf;},a0_0x35ea(_0x10c8ba,_0x58f004);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x47305b=>class extends MetaButtonMixin(_0x47305b){static get['styles'](){return MetaApi['getBasicMasterDetailStyles']();}static get[a0_0x16d5d3(0x12d)](){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_0x16d5d3(0x14b)](){const _0x233a91=a0_0x16d5d3;return this[_0x233a91(0x12f)][_0x233a91(0x163)](this['gristId']);}get[a0_0x16d5d3(0x138)](){const _0x3ca3d3=a0_0x16d5d3;return this[_0x3ca3d3(0x135)]?.[_0x3ca3d3(0x163)](this[_0x3ca3d3(0x157)]);}get['context'](){const _0x2e4d35=a0_0x16d5d3;let _0x395f4e=MetaUiUtil[_0x2e4d35(0x139)](this);return _0x395f4e[_0x2e4d35(0x130)]&&delete _0x395f4e['actions'],_0x395f4e[_0x2e4d35(0x11e)]&&delete _0x395f4e[_0x2e4d35(0x11e)],_0x395f4e[_0x2e4d35(0x13d)]&&delete _0x395f4e[_0x2e4d35(0x13d)],_0x395f4e;}async[a0_0x16d5d3(0x127)](){const _0xc91981=a0_0x16d5d3;this['gristId']='ox-grist',this[_0xc91981(0x157)]='ox-filters-form-base',await this[_0xc91981(0x128)](),this['isElement']&&await this['parseGristConfigs'](),this[_0xc91981(0x13a)]&&(this[_0xc91981(0x122)]=(this['activityDataSet']||{})[_0xc91981(0x14c)]),super['connectedCallback']&&await super[_0xc91981(0x127)]();}async['firstUpdated'](){const _0x4098e7=a0_0x16d5d3;super[_0x4098e7(0x140)]&&await super['firstUpdated']();}async[a0_0x16d5d3(0x160)](){const _0x1ae9fc=a0_0x16d5d3;this[_0x1ae9fc(0x151)]&&await this[_0x1ae9fc(0x146)](),super[_0x1ae9fc(0x160)]&&await super[_0x1ae9fc(0x160)]();}[a0_0x16d5d3(0x14f)](){const _0x263b5e=a0_0x16d5d3;return MetaApi[_0x263b5e(0x149)](this);}[a0_0x16d5d3(0x164)](_0x42da2e){const _0x1c58ec=a0_0x16d5d3;this[_0x1c58ec(0x12c)]=_0x42da2e[_0x1c58ec(0x12b)],this[_0x1c58ec(0x15f)]=_0x42da2e['grid_column'],this['searchConfig']=_0x42da2e[_0x1c58ec(0x123)];}async['parseGristConfigs'](){const _0x5ef936=a0_0x16d5d3;this['gristConfigSet']=await MetaApi[_0x5ef936(0x165)](this),this[_0x5ef936(0x155)]=!0x0===this['useFilterForm'],this[_0x5ef936(0x150)]=!0x1,this[_0x5ef936(0x15e)]=[],this['searchFields']=this[_0x5ef936(0x15a)][_0x5ef936(0x14a)][_0x5ef936(0x16b)](_0x5d3b93=>_0x5d3b93['filter'])[_0x5ef936(0x125)](_0x10b102=>{const _0x2d1dd0=_0x5ef936;let _0x3a46eb={'name':_0x10b102[_0x2d1dd0(0x13b)],'type':'search'===_0x10b102['filter'][_0x2d1dd0(0x13f)]?_0x2d1dd0(0x123):_0x10b102[_0x2d1dd0(0x12e)],'label':_0x10b102[_0x2d1dd0(0x15d)],'operator':_0x10b102[_0x2d1dd0(0x16b)][_0x2d1dd0(0x13f)]?_0x10b102['filter']['operator']:'eq'};return _0x10b102['filter'][_0x2d1dd0(0x137)]&&(_0x3a46eb[_0x2d1dd0(0x137)]=_0x10b102[_0x2d1dd0(0x16b)]['options']),_0x10b102[_0x2d1dd0(0x144)][_0x2d1dd0(0x137)]&&(_0x3a46eb[_0x2d1dd0(0x137)]=_0x10b102['record']['options']),_0x10b102[_0x2d1dd0(0x16b)][_0x2d1dd0(0x124)]&&this[_0x2d1dd0(0x15e)][_0x2d1dd0(0x161)]({'name':_0x3a46eb[_0x2d1dd0(0x13b)],'operator':_0x3a46eb[_0x2d1dd0(0x13f)],'value':_0x10b102[_0x2d1dd0(0x16b)][_0x2d1dd0(0x124)]}),delete _0x10b102[_0x2d1dd0(0x16b)],_0x3a46eb;});}async[a0_0x16d5d3(0x152)](){const _0x15a585=a0_0x16d5d3;await this[_0x15a585(0x14b)][_0x15a585(0x152)]();}async[a0_0x16d5d3(0x156)]({page:_0x16dc08=0x0,limit:_0x157ed9=0x0,sortings:_0x28ae28=[],filters:_0x5d20d8=[]}){const _0x133cb4=a0_0x16d5d3;return this[_0x133cb4(0x159)]&&this[_0x133cb4(0x159)][_0x133cb4(0x16a)]&&await this[_0x133cb4(0x159)][_0x133cb4(0x16a)](),!0x0;}async[a0_0x16d5d3(0x145)](){const _0x417a56=a0_0x16d5d3;let _0x5cc4e2=MetaApi[_0x417a56(0x162)](this[_0x417a56(0x14b)]);!!ValueUtil[_0x417a56(0x169)](_0x5cc4e2)&&await this[_0x417a56(0x129)](_0x5cc4e2)&&this[_0x417a56(0x152)]();}async[a0_0x16d5d3(0x133)](){const _0x300524=a0_0x16d5d3;let _0x294cff=MetaApi[_0x300524(0x132)](this[_0x300524(0x14b)],!0x0);return ValueUtil['isNotEmpty'](_0x294cff)?await this['findOne'](_0x294cff[0x0]):{};}async[a0_0x16d5d3(0x134)](){const _0x3588a7=a0_0x16d5d3;let _0x1e657e=MetaApi['getSelectedIdList'](this[_0x3588a7(0x14b)],!0x0);!!ValueUtil[_0x3588a7(0x169)](_0x1e657e)&&await this['deleteByIds'](_0x1e657e)&&this['fetch']();}async['export'](){const _0xdd4574=a0_0x16d5d3;let _0xb73e5c=TermsUtil['tTitle'](ValueUtil[_0xdd4574(0x13e)](this[_0xdd4574(0x14d)],_0xdd4574(0x141)));return await MetaApi[_0xdd4574(0x167)](this[_0xdd4574(0x15b)],_0xb73e5c,this[_0xdd4574(0x14b)]);}async[a0_0x16d5d3(0x12a)](){}[a0_0x16d5d3(0x131)](){const _0x3c2547=a0_0x16d5d3;let _0x220afd=this[_0x3c2547(0x14b)][_0x3c2547(0x158)][_0x3c2547(0x126)];return _0x220afd=JSON[_0x3c2547(0x153)](JSON[_0x3c2547(0x15c)](_0x220afd)),_0x220afd['forEach'](_0x3352d3=>{const _0x354aad=_0x3c2547;Object[_0x354aad(0x136)](_0x3352d3)[_0x354aad(0x142)](_0x501439=>{const _0x40f63a=_0x354aad;_0x501439[_0x40f63a(0x168)]('__')&&delete _0x3352d3[_0x501439];});}),{'main':_0x220afd,'detail':this[_0x3c2547(0x159)][_0x3c2547(0x131)]()};}};
1
+ const a0_0x5f464d=a0_0x5649;function a0_0x5649(_0x23f791,_0xf5360){const _0x12d454=a0_0x12d4();return a0_0x5649=function(_0x564997,_0x5cf9d9){_0x564997=_0x564997-0x1a9;let _0x258d38=_0x12d454[_0x564997];return _0x258d38;},a0_0x5649(_0x23f791,_0xf5360);}(function(_0x4724f6,_0x57a441){const _0xd52402=a0_0x5649,_0x4892d4=_0x4724f6();while(!![]){try{const _0x4f14ba=-parseInt(_0xd52402(0x1e9))/0x1+-parseInt(_0xd52402(0x1d8))/0x2*(-parseInt(_0xd52402(0x1f7))/0x3)+-parseInt(_0xd52402(0x1f5))/0x4+-parseInt(_0xd52402(0x1c2))/0x5*(-parseInt(_0xd52402(0x1cb))/0x6)+-parseInt(_0xd52402(0x1e4))/0x7*(-parseInt(_0xd52402(0x1c7))/0x8)+-parseInt(_0xd52402(0x1d1))/0x9*(-parseInt(_0xd52402(0x1b2))/0xa)+parseInt(_0xd52402(0x1b5))/0xb*(-parseInt(_0xd52402(0x1bd))/0xc);if(_0x4f14ba===_0x57a441)break;else _0x4892d4['push'](_0x4892d4['shift']());}catch(_0x5f1c2a){_0x4892d4['push'](_0x4892d4['shift']());}}}(a0_0x12d4,0x1c63c));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x65c3d2=>class extends MetaButtonMixin(_0x65c3d2){static get[a0_0x5f464d(0x1de)](){const _0x4b0962=a0_0x5f464d;return MetaApi[_0x4b0962(0x1bc)]();}static get[a0_0x5f464d(0x1b8)](){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_0x5f464d(0x1cc)](){const _0x384e53=a0_0x5f464d;return this[_0x384e53(0x1ba)][_0x384e53(0x1b9)](this[_0x384e53(0x1e8)]);}get[a0_0x5f464d(0x1f1)](){const _0x1fbb6c=a0_0x5f464d;return this[_0x1fbb6c(0x1aa)]?.[_0x1fbb6c(0x1b9)](this[_0x1fbb6c(0x1ce)]);}get[a0_0x5f464d(0x1b4)](){const _0x5ee776=a0_0x5f464d;let _0x5d8745=MetaUiUtil[_0x5ee776(0x1ad)](this);return _0x5d8745[_0x5ee776(0x1d4)]&&delete _0x5d8745[_0x5ee776(0x1d4)],_0x5d8745[_0x5ee776(0x1e1)]&&delete _0x5d8745['exportable'],_0x5d8745[_0x5ee776(0x1c5)]&&delete _0x5d8745['importable'],_0x5d8745;}async['connectedCallback'](){const _0x4eb5c9=a0_0x5f464d;this[_0x4eb5c9(0x1e8)]=_0x4eb5c9(0x1ed),this[_0x4eb5c9(0x1ce)]='ox-filters-form-base',await this[_0x4eb5c9(0x1ec)](),this[_0x4eb5c9(0x1d9)]&&await this[_0x4eb5c9(0x1f2)](),this[_0x4eb5c9(0x1be)]&&(this['dataSet']=(this['activityDataSet']||{})[_0x4eb5c9(0x1c9)]),super[_0x4eb5c9(0x1b0)]&&await super[_0x4eb5c9(0x1b0)]();}async[a0_0x5f464d(0x1c3)](){const _0x4172bd=a0_0x5f464d;super[_0x4172bd(0x1c3)]&&await super[_0x4172bd(0x1c3)]();}async[a0_0x5f464d(0x1dd)](){const _0x31bd7a=a0_0x5f464d;this[_0x31bd7a(0x1e0)]&&await this[_0x31bd7a(0x1f2)](),super[_0x31bd7a(0x1dd)]&&await super[_0x31bd7a(0x1dd)]();}[a0_0x5f464d(0x1ef)](){const _0x4341b2=a0_0x5f464d;return MetaApi[_0x4341b2(0x1b6)](this);}['parseBasicGridConfigs'](_0x329b27){const _0x2f4e46=a0_0x5f464d;this[_0x2f4e46(0x1f6)]=_0x329b27[_0x2f4e46(0x1c8)],this[_0x2f4e46(0x1dc)]=_0x329b27[_0x2f4e46(0x1ab)],this[_0x2f4e46(0x1ea)]=_0x329b27['search'];}async['parseGristConfigs'](){const _0x53b940=a0_0x5f464d;this[_0x53b940(0x1db)]=await MetaApi[_0x53b940(0x1d0)](this),this[_0x53b940(0x1df)]=!0x0===this['useFilterForm'],this[_0x53b940(0x1cf)]=!0x1,this['searchFieldValues']=[],this[_0x53b940(0x1d5)]=this[_0x53b940(0x1db)]['columns'][_0x53b940(0x1a9)](_0x132d42=>_0x132d42[_0x53b940(0x1a9)])['map'](_0x20eb12=>{const _0x91ad9c=_0x53b940;let _0x5ba923={'name':_0x20eb12[_0x91ad9c(0x1f3)],'type':_0x91ad9c(0x1af)===_0x20eb12['filter'][_0x91ad9c(0x1e6)]?_0x91ad9c(0x1af):_0x20eb12[_0x91ad9c(0x1c0)],'label':_0x20eb12[_0x91ad9c(0x1d3)],'operator':_0x20eb12[_0x91ad9c(0x1a9)][_0x91ad9c(0x1e6)]?_0x20eb12[_0x91ad9c(0x1a9)]['operator']:'eq'};return _0x20eb12[_0x91ad9c(0x1a9)][_0x91ad9c(0x1ac)]&&(_0x5ba923[_0x91ad9c(0x1ac)]=_0x20eb12[_0x91ad9c(0x1a9)][_0x91ad9c(0x1ac)]),_0x20eb12['record'][_0x91ad9c(0x1ac)]&&(_0x5ba923[_0x91ad9c(0x1ac)]=_0x20eb12[_0x91ad9c(0x1bf)][_0x91ad9c(0x1ac)]),_0x20eb12[_0x91ad9c(0x1a9)][_0x91ad9c(0x1e7)]&&this[_0x91ad9c(0x1ae)][_0x91ad9c(0x1f0)]({'name':_0x5ba923['name'],'operator':_0x5ba923[_0x91ad9c(0x1e6)],'value':_0x20eb12[_0x91ad9c(0x1a9)][_0x91ad9c(0x1e7)]}),delete _0x20eb12[_0x91ad9c(0x1a9)],_0x5ba923;});}async[a0_0x5f464d(0x1d6)](){const _0x17bc01=a0_0x5f464d;await this['grist'][_0x17bc01(0x1d6)]();}async['beforeFetch']({page:_0x475334=0x0,limit:_0x1a0671=0x0,sortings:_0x453707=[],filters:_0x2bc49f=[]}){const _0x197bae=a0_0x5f464d;return this[_0x197bae(0x1d2)]&&this[_0x197bae(0x1d2)][_0x197bae(0x1c6)]&&await this[_0x197bae(0x1d2)][_0x197bae(0x1c6)](),!0x0;}async[a0_0x5f464d(0x1e3)](){const _0x454f50=a0_0x5f464d;let _0x12b195=MetaApi[_0x454f50(0x1f4)](this[_0x454f50(0x1cc)]);!!ValueUtil[_0x454f50(0x1ca)](_0x12b195)&&await this['updateMultiple'](_0x12b195)&&this[_0x454f50(0x1d6)]();}async['find'](){const _0x2e46d6=a0_0x5f464d;let _0x37691a=MetaApi[_0x2e46d6(0x1e2)](this[_0x2e46d6(0x1cc)],!0x0);return ValueUtil[_0x2e46d6(0x1ca)](_0x37691a)?await this[_0x2e46d6(0x1cd)](_0x37691a[0x0]):{};}async[a0_0x5f464d(0x1e5)](){const _0x41234e=a0_0x5f464d;let _0x59040e=MetaApi['getSelectedIdList'](this['grist'],!0x0);!!ValueUtil['isNotEmpty'](_0x59040e)&&await this[_0x41234e(0x1c4)](_0x59040e)&&this['fetch']();}async['export'](){const _0x591074=a0_0x5f464d;let _0x440396=TermsUtil[_0x591074(0x1da)](ValueUtil['getParams'](this[_0x591074(0x1b7)],_0x591074(0x1bb)));return await MetaApi['exportableData'](this['isElement'],_0x440396,this['grist']);}async[a0_0x5f464d(0x1d7)](){}[a0_0x5f464d(0x1b3)](){const _0x200d98=a0_0x5f464d;let _0x530422=this[_0x200d98(0x1cc)]['___data'][_0x200d98(0x1ee)];return _0x530422=JSON[_0x200d98(0x1eb)](JSON[_0x200d98(0x1b1)](_0x530422)),_0x530422[_0x200d98(0x1c1)](_0xad0db=>{const _0x2c2274=_0x200d98;Object['keys'](_0xad0db)[_0x2c2274(0x1c1)](_0x468b88=>{_0x468b88['startsWith']('__')&&delete _0xad0db[_0x468b88];});}),{'main':_0x530422,'detail':this['detailElement'][_0x200d98(0x1b3)]()};}};function a0_0x12d4(){const _0x300e52=['getData','context','72347ZmrsyQ','getMasterDetailHtml','menuInfo','properties','querySelector','renderRoot','title','getBasicMasterDetailStyles','324kBRLTU','activityDataSet','record','type','forEach','5mwXfoq','firstUpdated','deleteByIds','importable','clear','736kEmEoB','grid','main','isNotEmpty','1040442sfnOmL','grist','findOne','filterFormId','useFilterForm','parseGridConfigSet','63MGXCsg','detailElement','header','actions','searchFields','fetch','import','2xWfiDX','isElement','tTitle','gristConfigSet','gridColumnConfig','pageInitialized','styles','useMasterFilterForm','isPage','exportable','getSelectedIdList','save','9604IMigur','delete','operator','value','gristId','139717yRSqVV','searchConfig','parse','getAndParseMenuMeta','ox-grist','records','render','push','filterForm','parseGristConfigs','name','patchesForUpdateMultiple','762300GGuTXc','gridConfig','509367GnIQZB','filter','shadowRoot','grid_column','options','getContextObject','searchFieldValues','search','connectedCallback','stringify','221050FKNBXt'];a0_0x12d4=function(){return _0x300e52;};return a0_0x12d4();}
@@ -1 +1 @@
1
- function a0_0x15d0(_0x3d800a,_0x3c4d3c){const _0xa84792=a0_0xa847();return a0_0x15d0=function(_0x15d0aa,_0x1d48cd){_0x15d0aa=_0x15d0aa-0x98;let _0x4788b9=_0xa84792[_0x15d0aa];return _0x4788b9;},a0_0x15d0(_0x3d800a,_0x3c4d3c);}const a0_0x4d4780=a0_0x15d0;(function(_0xd9764b,_0x1becd5){const _0x298112=a0_0x15d0,_0x22aeb5=_0xd9764b();while(!![]){try{const _0x2ca719=parseInt(_0x298112(0xc5))/0x1*(parseInt(_0x298112(0x9b))/0x2)+-parseInt(_0x298112(0xa7))/0x3+parseInt(_0x298112(0xbd))/0x4+-parseInt(_0x298112(0xb5))/0x5+parseInt(_0x298112(0x98))/0x6+-parseInt(_0x298112(0xbe))/0x7+parseInt(_0x298112(0xc1))/0x8*(parseInt(_0x298112(0xae))/0x9);if(_0x2ca719===_0x1becd5)break;else _0x22aeb5['push'](_0x22aeb5['shift']());}catch(_0xf08535){_0x22aeb5['push'](_0x22aeb5['shift']());}}}(a0_0xa847,0x32eec));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';function a0_0xa847(){const _0x1e8e53=['filters','value','push','parent_id','gqlInfo','delete','123246SJqUov','lifecycle','keys','dataSet','data','map','getParams','88105ytJZgt','name','getPageNavigateParams','is_activity','afterFetch','after_set_fields','properties','skip_fields','679576VtsPFC','1970682bXsLdQ','isPage','query','40dZqkAf','replace','parseBasicServiceConfigs','isNotEmpty','21569LGNlGJ','result','forEach','isEmpty','length','mutation','params','parse','fetchHandler','runScenario','find_one_func','updateMultiple','pass','isElement','filter','records','includes','gql','2046876mbUAOJ','gristConfigSet','split','22OfTibG','formConfigSet','columns','findOne','callScenario','mainFilterForm','beforeFetch','list_func','deleteByIds','multiple','getSelectColumns','infinityPage','927006MGTStz'];a0_0xa847=function(){return _0x1e8e53;};return a0_0xa847();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x273c81=>class extends MetaBaseMixin(_0x273c81){static get[a0_0x4d4780(0xbb)](){return{'gqlInfo':Object};}[a0_0x4d4780(0xc3)](_0x581e70){const _0x2ae404=a0_0x4d4780;this[_0x2ae404(0xac)]=_0x581e70[_0x2ae404(0xd6)];}async[a0_0x4d4780(0xcd)]({page:_0x3091d9=0x0,limit:_0x5189e5=0x0,sortings:_0x42dfb5=[],filters:_0x506a25=[]}){const _0x20ef29=a0_0x4d4780;if(this[_0x20ef29(0xb8)])return{'total':0x0,'records':this[_0x20ef29(0xb1)]||[]};if(!0x0===this[_0x20ef29(0xa6)]&&(_0x3091d9=0x0,_0x5189e5=0x0),this[_0x20ef29(0xa1)]&&0x0==await this[_0x20ef29(0xa1)]({'page':_0x3091d9,'limit':_0x5189e5,'sortings':_0x42dfb5,'filters':_0x506a25}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x53bd7d=ValueUtil[_0x20ef29(0xc8)](_0x506a25)?this['mainFilterForm']?await this[_0x20ef29(0xa0)]['getQueryFilters']()||[]:await this['filterForm']?.['getQueryFilters']()||[]:_0x506a25,_0x511572=ValueUtil[_0x20ef29(0xb4)](this['gqlInfo'],_0x20ef29(0xc0),_0x20ef29(0xa2)),_0xedb933=ValueUtil[_0x20ef29(0xb4)](this[_0x20ef29(0xac)],_0x20ef29(0xc0),_0x20ef29(0xa8)),_0x2ad8d7=ValueUtil[_0x20ef29(0xb4)](this[_0x20ef29(0xac)],_0x20ef29(0xc0),_0x20ef29(0xba));if(ValueUtil[_0x20ef29(0xc4)](_0xedb933)&&(_0x53bd7d=adjustFilters(_0x53bd7d,_0xedb933)),_0x53bd7d[_0x20ef29(0xaa)](...this['getPageNavigateParams']()),this['isElement']&&!this[_0x20ef29(0xa0)]){let _0x47c357=ValueUtil[_0x20ef29(0xb4)](this[_0x20ef29(0xac)],_0x20ef29(0xc0),_0x20ef29(0xab));if(!ValueUtil[_0x20ef29(0xc4)](_0x47c357)||!ValueUtil[_0x20ef29(0xc4)](this[_0x20ef29(0xab)]))return{'total':0x0,'records':[]};_0x53bd7d=adjustFilters(_0x53bd7d,[{'name':_0x47c357,'operator':'eq','value':this[_0x20ef29(0xab)]}]);}let _0x852680=Object['keys'](_0x2ad8d7||{}),_0x43a5ac=MetaApi[_0x20ef29(0xa5)](this[_0x20ef29(0x99)][_0x20ef29(0x9d)]['filter'](_0x311f78=>!_0x852680[_0x20ef29(0xd5)](_0x311f78['name']))),_0x4ca180={};if(_0x511572[_0x20ef29(0xd5)]('$')){let _0x3f5e0b=_0x511572[_0x20ef29(0xc2)]('$','');_0x4ca180=(await MetaApi['callScenario'](void 0x0,_0x3f5e0b,{'filters':_0x53bd7d,'pagination':{'page':_0x3091d9,'limit':_0x5189e5},'sortings':_0x42dfb5},!0x1))[_0x20ef29(0xb2)][_0x20ef29(0xce)][_0x20ef29(0xb2)][_0x20ef29(0xc6)];}else _0x4ca180=await MetaApi['searchByPagination'](_0x511572,_0x53bd7d,_0x42dfb5,_0x3091d9,_0x5189e5,_0x43a5ac);if(this['afterFetch']){let _0x1cd044=await this[_0x20ef29(0xb9)]({'page':_0x3091d9,'limit':_0x5189e5,'sortings':_0x42dfb5,'filters':_0x506a25},_0x4ca180);if(_0x1cd044)return _0x1cd044;}return ValueUtil['isNotEmpty'](_0x2ad8d7)&&ValueUtil[_0x20ef29(0xc4)](_0x4ca180)&&ValueUtil[_0x20ef29(0xc4)](_0x4ca180[_0x20ef29(0xd4)])&&_0x4ca180[_0x20ef29(0xd4)][_0x20ef29(0xb3)](_0x110fc3=>(_0x852680['forEach'](_0x2d90a7=>{const _0x21d33b=_0x20ef29;_0x110fc3[_0x2d90a7]=ValueUtil[_0x21d33b(0xb4)](_0x110fc3,..._0x2ad8d7[_0x2d90a7][_0x21d33b(0x9a)]('.'));}),_0x110fc3)),_0x4ca180;}[a0_0x4d4780(0xb7)](){const _0x53d44a=a0_0x4d4780;if(0x0==this[_0x53d44a(0xbf)])return[];let _0x5b0bdc=this[_0x53d44a(0xaf)]?.['params']?this[_0x53d44a(0xaf)][_0x53d44a(0xcb)]:{};if(!_0x5b0bdc[_0x53d44a(0xd1)])return[];let _0x5f25b6=_0x5b0bdc['pass'],_0x1c69ff=JSON[_0x53d44a(0xcc)](_0x5f25b6),_0xe3278c=0x1==_0x1c69ff[_0x53d44a(0xc9)]?'eq':'in',_0x55215b={},_0x23d24e=[];return Object[_0x53d44a(0xb0)](_0x1c69ff[0x0])['forEach'](_0x5cc2ae=>{_0x55215b[_0x5cc2ae]={'name':_0x5cc2ae,'operator':_0xe3278c,'value':'eq'===_0xe3278c?_0x1c69ff[0x0][_0x5cc2ae]:[]};}),_0x1c69ff['length']>0x1&&_0x1c69ff['forEach'](_0x44726c=>{const _0x20e06d=_0x53d44a;Object[_0x20e06d(0xb0)](_0x44726c)[_0x20e06d(0xc7)](_0x2e49a0=>{const _0xed49ba=_0x20e06d;_0x55215b[_0x2e49a0][_0xed49ba(0xa9)]['push'](_0x44726c[_0x2e49a0]);});}),Object['keys'](_0x55215b)['forEach'](_0x5c656b=>{_0x23d24e['push'](_0x55215b[_0x5c656b]);}),_0x23d24e;}async[a0_0x4d4780(0x9e)](_0x482f6){const _0x23248e=a0_0x4d4780;if(this['is_activity'])return this[_0x23248e(0xb1)]||{};let _0x455919=ValueUtil[_0x23248e(0xb4)](this['gqlInfo'],'query',_0x23248e(0xcf)),_0x41a0b9=ValueUtil[_0x23248e(0xb4)](this[_0x23248e(0xac)],_0x23248e(0xc0),_0x23248e(0xba)),_0x102c6a=Object[_0x23248e(0xb0)](_0x41a0b9||{}),_0x428793=MetaApi[_0x23248e(0xa5)]((this[_0x23248e(0x99)]?this[_0x23248e(0x99)]:{'columns':this[_0x23248e(0x9c)]})['columns'][_0x23248e(0xd3)](_0x32156f=>!_0x102c6a[_0x23248e(0xd5)](_0x32156f[_0x23248e(0xb6)]))),_0x34b12e={};if(_0x455919[_0x23248e(0xd5)]('$')){let _0x39e845=_0x455919[_0x23248e(0xc2)]('$',''),_0x5098a4=await MetaApi[_0x23248e(0x9f)](void 0x0,_0x39e845,{'id':_0x482f6},!0x1);_0x34b12e=_0x5098a4[_0x23248e(0xb2)][_0x23248e(0xce)][_0x23248e(0xb2)][_0x23248e(0xc6)];}else _0x34b12e=await MetaApi[_0x23248e(0x9e)](_0x455919,_0x482f6,_0x428793);return ValueUtil[_0x23248e(0xc4)](_0x41a0b9)&&ValueUtil['isNotEmpty'](_0x34b12e)&&_0x102c6a['forEach'](_0xb2e89f=>{const _0x44ae3c=_0x23248e;_0x34b12e[_0xb2e89f]=ValueUtil[_0x44ae3c(0xb4)](_0x34b12e,..._0x41a0b9[_0xb2e89f][_0x44ae3c(0x9a)]('.'));}),_0x34b12e;}async[a0_0x4d4780(0xa3)](_0x2404f3){const _0x2ccd4a=a0_0x4d4780;let _0x4813d7=ValueUtil[_0x2ccd4a(0xb4)](this[_0x2ccd4a(0xac)],_0x2ccd4a(0xca),_0x2ccd4a(0xad),'func');return await MetaApi['deleteListByIds'](_0x2404f3,_0x4813d7);}async[a0_0x4d4780(0xd0)](_0x32ddc1){const _0x2d6346=a0_0x4d4780;let _0x366575=ValueUtil['getParams'](this[_0x2d6346(0xac)],_0x2d6346(0xca),_0x2d6346(0xa4),'func'),_0x5dc7aa=ValueUtil[_0x2d6346(0xb4)](this[_0x2d6346(0xac)],'mutation',_0x2d6346(0xa4),_0x2d6346(0xbc));if(ValueUtil[_0x2d6346(0xc4)](_0x5dc7aa)&&(_0x5dc7aa=_0x5dc7aa[_0x2d6346(0xb3)](_0x24f822=>_0x24f822['includes']('.')?_0x24f822['split']('.'):_0x24f822),_0x32ddc1=_0x32ddc1['map'](_0x36bff9=>(_0x5dc7aa['forEach'](_0x553a76=>{Array['isArray'](_0x553a76)?delete _0x36bff9[_0x553a76[0x0]][_0x553a76[0x1]]:delete _0x36bff9[_0x553a76];}),_0x36bff9))),this[_0x2d6346(0xd2)]&&ValueUtil['isNotEmpty'](this['parent_id'])){let _0x3e18a9=ValueUtil[_0x2d6346(0xb4)](this[_0x2d6346(0xac)],_0x2d6346(0xca),_0x2d6346(0xa4),_0x2d6346(0xab));ValueUtil[_0x2d6346(0xc4)](_0x3e18a9)&&_0x32ddc1[_0x2d6346(0xc7)](_0x1ce645=>{const _0x46c91d=_0x2d6346;if(_0x3e18a9['includes']('.')){let _0x5a91a6=_0x3e18a9[_0x46c91d(0x9a)]('.');_0x1ce645[_0x5a91a6[0x0]]={},_0x1ce645[_0x5a91a6[0x0]][_0x5a91a6[0x1]]=this[_0x46c91d(0xab)];}else _0x1ce645[_0x3e18a9]=this['parent_id'];});}return await MetaApi['updateMultiple'](_0x366575,_0x32ddc1);}};
1
+ function a0_0x359d(){const _0x348c0b=['updateMultiple','5920344BXmqBw','getSelectColumns','pass','1796424AnZldx','is_activity','14234BsiFdF','keys','15sXGjWA','filters','1592ryDihB','delete','getQueryFilters','2729124DCDBLk','callScenario','after_set_fields','length','gristConfigSet','forEach','value','beforeFetch','name','afterFetch','params','getPageNavigateParams','filterForm','skip_fields','isPage','dataSet','isElement','formConfigSet','push','replace','runScenario','properties','deleteListByIds','gql','192328vgYqXp','122tMwPPy','gqlInfo','data','list_func','getParams','find_one_func','508308tvFHDm','parseBasicServiceConfigs','mainFilterForm','11490WhOBnl','isNotEmpty','split','parse','parent_id','mutation','deleteByIds','16SaLRLS','result','map','multiple','includes','query','findOne','columns','isArray'];a0_0x359d=function(){return _0x348c0b;};return a0_0x359d();}const a0_0x2db05d=a0_0x3fc7;(function(_0xf57f92,_0x1d3942){const _0x3a31a5=a0_0x3fc7,_0xcd8e29=_0xf57f92();while(!![]){try{const _0x2b9443=-parseInt(_0x3a31a5(0x20d))/0x1*(parseInt(_0x3a31a5(0x1f1))/0x2)+-parseInt(_0x3a31a5(0x213))/0x3+-parseInt(_0x3a31a5(0x20c))/0x4*(parseInt(_0x3a31a5(0x22e))/0x5)+parseInt(_0x3a31a5(0x1f4))/0x6+-parseInt(_0x3a31a5(0x22a))/0x7*(parseInt(_0x3a31a5(0x21d))/0x8)+-parseInt(_0x3a31a5(0x227))/0x9+-parseInt(_0x3a31a5(0x216))/0xa*(-parseInt(_0x3a31a5(0x22c))/0xb);if(_0x2b9443===_0x1d3942)break;else _0xcd8e29['push'](_0xcd8e29['shift']());}catch(_0xb7a5a8){_0xcd8e29['push'](_0xcd8e29['shift']());}}}(a0_0x359d,0x57d6a));import{adjustFilters}from'@operato/utils';function a0_0x3fc7(_0x1a4a4e,_0x3c9bb4){const _0x359d50=a0_0x359d();return a0_0x3fc7=function(_0x3fc71,_0x18ea70){_0x3fc71=_0x3fc71-0x1f0;let _0x29ff60=_0x359d50[_0x3fc71];return _0x29ff60;},a0_0x3fc7(_0x1a4a4e,_0x3c9bb4);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x19eae6=>class extends MetaBaseMixin(_0x19eae6){static get[a0_0x2db05d(0x209)](){return{'gqlInfo':Object};}[a0_0x2db05d(0x214)](_0x3d9858){const _0x1b712a=a0_0x2db05d;this[_0x1b712a(0x20e)]=_0x3d9858[_0x1b712a(0x20b)];}async['fetchHandler']({page:_0x4aa455=0x0,limit:_0x5d1eec=0x0,sortings:_0x4de0d8=[],filters:_0x54a530=[]}){const _0x327974=a0_0x2db05d;if(this['is_activity'])return{'total':0x0,'records':this['dataSet']||[]};if(!0x0===this['infinityPage']&&(_0x4aa455=0x0,_0x5d1eec=0x0),this[_0x327974(0x1fb)]&&0x0==await this[_0x327974(0x1fb)]({'page':_0x4aa455,'limit':_0x5d1eec,'sortings':_0x4de0d8,'filters':_0x54a530}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x513e0f=ValueUtil['isEmpty'](_0x54a530)?this[_0x327974(0x215)]?await this[_0x327974(0x215)][_0x327974(0x1f3)]()||[]:await this[_0x327974(0x200)]?.[_0x327974(0x1f3)]()||[]:_0x54a530,_0xabbb92=ValueUtil['getParams'](this[_0x327974(0x20e)],_0x327974(0x222),_0x327974(0x210)),_0x1fd1c1=ValueUtil[_0x327974(0x211)](this['gqlInfo'],_0x327974(0x222),_0x327974(0x1f0)),_0xd2c8aa=ValueUtil[_0x327974(0x211)](this[_0x327974(0x20e)],_0x327974(0x222),_0x327974(0x1f6));if(ValueUtil[_0x327974(0x217)](_0x1fd1c1)&&(_0x513e0f=adjustFilters(_0x513e0f,_0x1fd1c1)),_0x513e0f[_0x327974(0x206)](...this[_0x327974(0x1ff)]()),this[_0x327974(0x204)]&&!this[_0x327974(0x215)]){let _0x10dfbf=ValueUtil[_0x327974(0x211)](this['gqlInfo'],_0x327974(0x222),'parent_id');if(!ValueUtil['isNotEmpty'](_0x10dfbf)||!ValueUtil[_0x327974(0x217)](this[_0x327974(0x21a)]))return{'total':0x0,'records':[]};_0x513e0f=adjustFilters(_0x513e0f,[{'name':_0x10dfbf,'operator':'eq','value':this['parent_id']}]);}let _0x50241b=Object[_0x327974(0x22d)](_0xd2c8aa||{}),_0x221135=MetaApi[_0x327974(0x228)](this[_0x327974(0x1f8)][_0x327974(0x224)]['filter'](_0xa222ce=>!_0x50241b[_0x327974(0x221)](_0xa222ce[_0x327974(0x1fc)]))),_0x345836={};if(_0xabbb92[_0x327974(0x221)]('$')){let _0xacc425=_0xabbb92[_0x327974(0x207)]('$','');_0x345836=(await MetaApi['callScenario'](void 0x0,_0xacc425,{'filters':_0x513e0f,'pagination':{'page':_0x4aa455,'limit':_0x5d1eec},'sortings':_0x4de0d8},!0x1))['data'][_0x327974(0x208)][_0x327974(0x20f)][_0x327974(0x21e)];}else _0x345836=await MetaApi['searchByPagination'](_0xabbb92,_0x513e0f,_0x4de0d8,_0x4aa455,_0x5d1eec,_0x221135);if(this[_0x327974(0x1fd)]){let _0x1f3c58=await this[_0x327974(0x1fd)]({'page':_0x4aa455,'limit':_0x5d1eec,'sortings':_0x4de0d8,'filters':_0x54a530},_0x345836);if(_0x1f3c58)return _0x1f3c58;}return ValueUtil[_0x327974(0x217)](_0xd2c8aa)&&ValueUtil[_0x327974(0x217)](_0x345836)&&ValueUtil[_0x327974(0x217)](_0x345836['records'])&&_0x345836['records'][_0x327974(0x21f)](_0x4d556a=>(_0x50241b[_0x327974(0x1f9)](_0x2876f2=>{const _0x1a4188=_0x327974;_0x4d556a[_0x2876f2]=ValueUtil[_0x1a4188(0x211)](_0x4d556a,..._0xd2c8aa[_0x2876f2][_0x1a4188(0x218)]('.'));}),_0x4d556a)),_0x345836;}[a0_0x2db05d(0x1ff)](){const _0x454960=a0_0x2db05d;if(0x0==this[_0x454960(0x202)])return[];let _0x1e306c=this['lifecycle']?.[_0x454960(0x1fe)]?this['lifecycle'][_0x454960(0x1fe)]:{};if(!_0x1e306c[_0x454960(0x229)])return[];let _0x51b3db=_0x1e306c['pass'],_0x273f1a=JSON[_0x454960(0x219)](_0x51b3db),_0x2cb28e=0x1==_0x273f1a[_0x454960(0x1f7)]?'eq':'in',_0x4ee542={},_0x5e6099=[];return Object[_0x454960(0x22d)](_0x273f1a[0x0])['forEach'](_0x424d8b=>{_0x4ee542[_0x424d8b]={'name':_0x424d8b,'operator':_0x2cb28e,'value':'eq'===_0x2cb28e?_0x273f1a[0x0][_0x424d8b]:[]};}),_0x273f1a[_0x454960(0x1f7)]>0x1&&_0x273f1a['forEach'](_0x2c968c=>{const _0xb437b3=_0x454960;Object[_0xb437b3(0x22d)](_0x2c968c)[_0xb437b3(0x1f9)](_0x3331a1=>{const _0x34a505=_0xb437b3;_0x4ee542[_0x3331a1][_0x34a505(0x1fa)]['push'](_0x2c968c[_0x3331a1]);});}),Object[_0x454960(0x22d)](_0x4ee542)[_0x454960(0x1f9)](_0x4db75e=>{const _0x56d7c5=_0x454960;_0x5e6099[_0x56d7c5(0x206)](_0x4ee542[_0x4db75e]);}),_0x5e6099;}async[a0_0x2db05d(0x223)](_0x1feb94){const _0x2fd75c=a0_0x2db05d;if(this[_0x2fd75c(0x22b)])return this[_0x2fd75c(0x203)]||{};let _0x572a3e=ValueUtil[_0x2fd75c(0x211)](this['gqlInfo'],'query',_0x2fd75c(0x212)),_0x220ee3=ValueUtil[_0x2fd75c(0x211)](this[_0x2fd75c(0x20e)],'query',_0x2fd75c(0x1f6)),_0x28cc1a=Object[_0x2fd75c(0x22d)](_0x220ee3||{}),_0x3aad7a=MetaApi[_0x2fd75c(0x228)]((this[_0x2fd75c(0x1f8)]?this[_0x2fd75c(0x1f8)]:{'columns':this[_0x2fd75c(0x205)]})[_0x2fd75c(0x224)]['filter'](_0x58d494=>!_0x28cc1a[_0x2fd75c(0x221)](_0x58d494[_0x2fd75c(0x1fc)]))),_0x251199={};if(_0x572a3e['includes']('$')){let _0x3d4a82=_0x572a3e[_0x2fd75c(0x207)]('$',''),_0x29bbd5=await MetaApi[_0x2fd75c(0x1f5)](void 0x0,_0x3d4a82,{'id':_0x1feb94},!0x1);_0x251199=_0x29bbd5['data'][_0x2fd75c(0x208)]['data'][_0x2fd75c(0x21e)];}else _0x251199=await MetaApi[_0x2fd75c(0x223)](_0x572a3e,_0x1feb94,_0x3aad7a);return ValueUtil['isNotEmpty'](_0x220ee3)&&ValueUtil[_0x2fd75c(0x217)](_0x251199)&&_0x28cc1a['forEach'](_0x3c568e=>{const _0x4a7b9e=_0x2fd75c;_0x251199[_0x3c568e]=ValueUtil[_0x4a7b9e(0x211)](_0x251199,..._0x220ee3[_0x3c568e][_0x4a7b9e(0x218)]('.'));}),_0x251199;}async[a0_0x2db05d(0x21c)](_0x3c288a){const _0x56cd20=a0_0x2db05d;let _0x415f5a=ValueUtil[_0x56cd20(0x211)](this[_0x56cd20(0x20e)],_0x56cd20(0x21b),_0x56cd20(0x1f2),'func');return await MetaApi[_0x56cd20(0x20a)](_0x3c288a,_0x415f5a);}async[a0_0x2db05d(0x226)](_0x3eb484){const _0x1db5fa=a0_0x2db05d;let _0x5c285c=ValueUtil[_0x1db5fa(0x211)](this[_0x1db5fa(0x20e)],_0x1db5fa(0x21b),_0x1db5fa(0x220),'func'),_0x5b6d39=ValueUtil['getParams'](this['gqlInfo'],_0x1db5fa(0x21b),'multiple',_0x1db5fa(0x201));if(ValueUtil[_0x1db5fa(0x217)](_0x5b6d39)&&(_0x5b6d39=_0x5b6d39[_0x1db5fa(0x21f)](_0x1200bb=>_0x1200bb[_0x1db5fa(0x221)]('.')?_0x1200bb[_0x1db5fa(0x218)]('.'):_0x1200bb),_0x3eb484=_0x3eb484['map'](_0x1baf93=>(_0x5b6d39[_0x1db5fa(0x1f9)](_0x3572f8=>{const _0x3f4286=_0x1db5fa;Array[_0x3f4286(0x225)](_0x3572f8)?delete _0x1baf93[_0x3572f8[0x0]][_0x3572f8[0x1]]:delete _0x1baf93[_0x3572f8];}),_0x1baf93))),this[_0x1db5fa(0x204)]&&ValueUtil[_0x1db5fa(0x217)](this['parent_id'])){let _0x3eb397=ValueUtil[_0x1db5fa(0x211)](this['gqlInfo'],_0x1db5fa(0x21b),_0x1db5fa(0x220),_0x1db5fa(0x21a));ValueUtil[_0x1db5fa(0x217)](_0x3eb397)&&_0x3eb484[_0x1db5fa(0x1f9)](_0x2cfedf=>{const _0x5d0b41=_0x1db5fa;if(_0x3eb397[_0x5d0b41(0x221)]('.')){let _0x424804=_0x3eb397['split']('.');_0x2cfedf[_0x424804[0x0]]={},_0x2cfedf[_0x424804[0x0]][_0x424804[0x1]]=this['parent_id'];}else _0x2cfedf[_0x3eb397]=this[_0x5d0b41(0x21a)];});}return await MetaApi[_0x1db5fa(0x226)](_0x5c285c,_0x3eb484);}};
@@ -1 +1 @@
1
- const a0_0x2e1ec4=a0_0x5a96;(function(_0x21cdb3,_0x3fa4ac){const _0x4f72aa=a0_0x5a96,_0x59e355=_0x21cdb3();while(!![]){try{const _0x60fdda=parseInt(_0x4f72aa(0xd3))/0x1+-parseInt(_0x4f72aa(0xd2))/0x2*(-parseInt(_0x4f72aa(0xe2))/0x3)+parseInt(_0x4f72aa(0xea))/0x4+parseInt(_0x4f72aa(0xb7))/0x5*(parseInt(_0x4f72aa(0xd6))/0x6)+-parseInt(_0x4f72aa(0xb9))/0x7*(parseInt(_0x4f72aa(0xc9))/0x8)+-parseInt(_0x4f72aa(0xba))/0x9*(parseInt(_0x4f72aa(0xd0))/0xa)+-parseInt(_0x4f72aa(0xd5))/0xb;if(_0x60fdda===_0x3fa4ac)break;else _0x59e355['push'](_0x59e355['shift']());}catch(_0x5bcf9c){_0x59e355['push'](_0x59e355['shift']());}}}(a0_0x22f1,0x50ca8));import{html}from'lit';function a0_0x22f1(){const _0x382c8c=['96fOgQpR','getData','isElement','grid','searchFieldValues','getMainGrist','fetch','1316150hvtQLn','header','145372zWNtdF','126675jwrgcK','getBasicTabDetailStyles','2513258rcUwiP','414ciiNQB','querySelector','filterForm','record','firstUpdated','options','filterFormId','connectedCallback','buttonConfig','name','useFilterForm','searchConfig','9aVpZuE','detailElement','isPage','useButtonImport','value','clear','gristId','gridColumnConfig','2554840GVOmei','filter','getAndParseMenuMeta','grist','beforeFetch','pageInitialized','context','main','26045NFSdSy','activityDataSet','303471bMlCmm','18OYJBxS','parseGristConfigs','styles','type','map','render','searchFields','actions','search','gristConfigSet','operator','importable','masterElement','properties','getTabDetailHtml'];a0_0x22f1=function(){return _0x382c8c;};return a0_0x22f1();}import{MetaApi}from'../utils/meta-api';function a0_0x5a96(_0x2160a4,_0x152112){const _0x22f1d8=a0_0x22f1();return a0_0x5a96=function(_0x5a96c3,_0x8b28e5){_0x5a96c3=_0x5a96c3-0xb3;let _0x38b90a=_0x22f1d8[_0x5a96c3];return _0x38b90a;},a0_0x5a96(_0x2160a4,_0x152112);}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=_0x160a61=>class extends MetaButtonMixin(_0x160a61){static get[a0_0x2e1ec4(0xbc)](){const _0x1d0d4c=a0_0x2e1ec4;return MetaApi[_0x1d0d4c(0xd4)]();}static get[a0_0x2e1ec4(0xc7)](){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_0x2e1ec4(0xed)](){const _0x53ab6b=a0_0x2e1ec4;return this[_0x53ab6b(0xc6)][_0x53ab6b(0xce)]();}get[a0_0x2e1ec4(0xd8)](){const _0x41689f=a0_0x2e1ec4;return this['shadowRoot']?.[_0x41689f(0xd7)](this[_0x41689f(0xdc)]);}get[a0_0x2e1ec4(0xb5)](){const _0x408e5d=a0_0x2e1ec4;let _0x49d23d=MetaUiUtil['getContextObject'](this);return _0x49d23d[_0x408e5d(0xc1)]&&delete _0x49d23d[_0x408e5d(0xc1)],_0x49d23d['exportable']&&delete _0x49d23d['exportable'],_0x49d23d['importable']&&delete _0x49d23d[_0x408e5d(0xc5)],_0x49d23d;}async[a0_0x2e1ec4(0xdd)](){const _0x5d1d9a=a0_0x2e1ec4;this[_0x5d1d9a(0xe8)]='ox-grist',this[_0x5d1d9a(0xdc)]='ox-filters-form-base',await this[_0x5d1d9a(0xec)](),this[_0x5d1d9a(0xcb)]&&await this[_0x5d1d9a(0xbb)](),this[_0x5d1d9a(0xb8)]&&(this['dataSet']=(this[_0x5d1d9a(0xb8)]||{})[_0x5d1d9a(0xb6)]),super[_0x5d1d9a(0xdd)]&&await super[_0x5d1d9a(0xdd)]();}async[a0_0x2e1ec4(0xda)](){super['firstUpdated']&&await super['firstUpdated']();}async[a0_0x2e1ec4(0xb4)](){const _0x4fa768=a0_0x2e1ec4;this[_0x4fa768(0xe4)]&&await this['parseGristConfigs'](),super[_0x4fa768(0xb4)]&&await super[_0x4fa768(0xb4)]();}[a0_0x2e1ec4(0xbf)](){const _0x3a99da=a0_0x2e1ec4;return MetaApi[_0x3a99da(0xc8)](this);}['parseBasicGridConfigs'](_0x52f4e9){const _0x5403db=a0_0x2e1ec4;this['gridConfig']=_0x52f4e9[_0x5403db(0xcc)],this[_0x5403db(0xe9)]=_0x52f4e9['grid_column'],this[_0x5403db(0xe1)]=_0x52f4e9[_0x5403db(0xc2)];}async[a0_0x2e1ec4(0xbb)](){const _0x11cf1f=a0_0x2e1ec4;this[_0x11cf1f(0xc3)]=await MetaApi['parseGridConfigSet'](this),this['useMasterFilterForm']=!0x0===this[_0x11cf1f(0xe0)],this['useFilterForm']=!0x1,this[_0x11cf1f(0xde)]=void 0x0,this['useButtonExport']=!0x1,this[_0x11cf1f(0xe5)]=!0x1,this[_0x11cf1f(0xcd)]=[],this[_0x11cf1f(0xc0)]=this[_0x11cf1f(0xc3)]['columns']['filter'](_0x2c2a53=>_0x2c2a53['filter'])[_0x11cf1f(0xbe)](_0x23ae19=>{const _0x413db6=_0x11cf1f;let _0x21def0={'name':_0x23ae19['name'],'type':_0x413db6(0xc2)===_0x23ae19['filter'][_0x413db6(0xc4)]?'search':_0x23ae19[_0x413db6(0xbd)],'label':_0x23ae19[_0x413db6(0xd1)],'operator':_0x23ae19[_0x413db6(0xeb)][_0x413db6(0xc4)]?_0x23ae19[_0x413db6(0xeb)]['operator']:'eq'};return _0x23ae19[_0x413db6(0xeb)][_0x413db6(0xdb)]&&(_0x21def0[_0x413db6(0xdb)]=_0x23ae19[_0x413db6(0xeb)][_0x413db6(0xdb)]),_0x23ae19[_0x413db6(0xd9)][_0x413db6(0xdb)]&&(_0x21def0['options']=_0x23ae19[_0x413db6(0xd9)]['options']),_0x23ae19[_0x413db6(0xeb)][_0x413db6(0xe6)]&&this[_0x413db6(0xcd)]['push']({'name':_0x21def0[_0x413db6(0xdf)],'operator':_0x21def0[_0x413db6(0xc4)],'value':_0x23ae19['filter'][_0x413db6(0xe6)]}),delete _0x23ae19[_0x413db6(0xeb)],_0x21def0;});}async[a0_0x2e1ec4(0xcf)](){const _0x104666=a0_0x2e1ec4;await this[_0x104666(0xed)]['fetch']();}async[a0_0x2e1ec4(0xb3)]({page:_0x42ab0f=0x0,limit:_0x4b61a6=0x0,sortings:_0x2689f0=[],filters:_0x3f235e=[]}){const _0x523d10=a0_0x2e1ec4;return this[_0x523d10(0xc6)]&&this[_0x523d10(0xc6)][_0x523d10(0xe7)]&&await this[_0x523d10(0xc6)]['clear'](),this[_0x523d10(0xe3)]&&this['detailElement'][_0x523d10(0xe7)]&&await this[_0x523d10(0xe3)][_0x523d10(0xe7)](),!0x0;}[a0_0x2e1ec4(0xca)](){const _0x1c32e1=a0_0x2e1ec4;return{'master':this[_0x1c32e1(0xc6)][_0x1c32e1(0xca)](),'detail':this['detailElement'][_0x1c32e1(0xca)]()};}};
1
+ const a0_0x43b381=a0_0xb2a6;(function(_0x11f554,_0x4a8f88){const _0x211fbf=a0_0xb2a6,_0x56ad18=_0x11f554();while(!![]){try{const _0xe7701c=parseInt(_0x211fbf(0x132))/0x1+parseInt(_0x211fbf(0xff))/0x2*(parseInt(_0x211fbf(0x102))/0x3)+parseInt(_0x211fbf(0x12d))/0x4*(-parseInt(_0x211fbf(0x10c))/0x5)+parseInt(_0x211fbf(0x11c))/0x6*(parseInt(_0x211fbf(0x134))/0x7)+-parseInt(_0x211fbf(0x114))/0x8*(parseInt(_0x211fbf(0x137))/0x9)+-parseInt(_0x211fbf(0x112))/0xa+parseInt(_0x211fbf(0x12c))/0xb;if(_0xe7701c===_0x4a8f88)break;else _0x56ad18['push'](_0x56ad18['shift']());}catch(_0x594228){_0x56ad18['push'](_0x56ad18['shift']());}}}(a0_0x5307,0xdf313));function a0_0x5307(){const _0x4cf61a=['grid','importable','6687VxsHhq','useFilterForm','filter','gristConfigSet','value','firstUpdated','options','parseGristConfigs','operator','search','92075FoGZox','main','shadowRoot','ox-grist','connectedCallback','activityDataSet','16989850uLBlfY','getMainGrist','9735664WBrgSW','columns','isPage','exportable','querySelector','gristId','dataSet','styles','1120506iScvTp','gridColumnConfig','getTabDetailHtml','properties','parseBasicGridConfigs','filterFormId','searchFieldValues','isElement','grid_column','getBasicTabDetailStyles','getAndParseMenuMeta','useButtonExport','detailElement','grist','masterElement','name','19639928PqeVVc','52GcBHCv','type','clear','fetch','record','1683710afrKAW','actions','21riQOes','searchConfig','pageInitialized','9TvTXgx','useButtonImport','getContextObject','context','getData','useMasterFilterForm','36jpVKxa'];a0_0x5307=function(){return _0x4cf61a;};return a0_0x5307();}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0xb2a6(_0x5a7a12,_0x329eb7){const _0x530746=a0_0x5307();return a0_0xb2a6=function(_0xb2a6b4,_0xfd745d){_0xb2a6b4=_0xb2a6b4-0xfe;let _0x21217b=_0x530746[_0xb2a6b4];return _0x21217b;},a0_0xb2a6(_0x5a7a12,_0x329eb7);}export const MetaTabDetailMixin=_0x481ad0=>class extends MetaButtonMixin(_0x481ad0){static get[a0_0x43b381(0x11b)](){const _0xe49608=a0_0x43b381;return MetaApi[_0xe49608(0x125)]();}static get[a0_0x43b381(0x11f)](){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_0x43b381(0x129)](){const _0xbd6544=a0_0x43b381;return this[_0xbd6544(0x12a)][_0xbd6544(0x113)]();}get['filterForm'](){const _0x263cc2=a0_0x43b381;return this[_0x263cc2(0x10e)]?.[_0x263cc2(0x118)](this[_0x263cc2(0x121)]);}get[a0_0x43b381(0x13a)](){const _0x3c4162=a0_0x43b381;let _0x251dbc=MetaUiUtil[_0x3c4162(0x139)](this);return _0x251dbc['actions']&&delete _0x251dbc[_0x3c4162(0x133)],_0x251dbc[_0x3c4162(0x117)]&&delete _0x251dbc[_0x3c4162(0x117)],_0x251dbc[_0x3c4162(0x101)]&&delete _0x251dbc[_0x3c4162(0x101)],_0x251dbc;}async[a0_0x43b381(0x110)](){const _0x1170c9=a0_0x43b381;this[_0x1170c9(0x119)]=_0x1170c9(0x10f),this[_0x1170c9(0x121)]='ox-filters-form-base',await this[_0x1170c9(0x126)](),this[_0x1170c9(0x123)]&&await this[_0x1170c9(0x109)](),this[_0x1170c9(0x111)]&&(this[_0x1170c9(0x11a)]=(this[_0x1170c9(0x111)]||{})[_0x1170c9(0x10d)]),super[_0x1170c9(0x110)]&&await super[_0x1170c9(0x110)]();}async['firstUpdated'](){const _0x2b3db8=a0_0x43b381;super[_0x2b3db8(0x107)]&&await super['firstUpdated']();}async[a0_0x43b381(0x136)](){const _0x146cc7=a0_0x43b381;this[_0x146cc7(0x116)]&&await this[_0x146cc7(0x109)](),super[_0x146cc7(0x136)]&&await super[_0x146cc7(0x136)]();}['render'](){const _0x13e56b=a0_0x43b381;return MetaApi[_0x13e56b(0x11e)](this);}[a0_0x43b381(0x120)](_0x56519b){const _0x5c492a=a0_0x43b381;this['gridConfig']=_0x56519b[_0x5c492a(0x100)],this[_0x5c492a(0x11d)]=_0x56519b[_0x5c492a(0x124)],this[_0x5c492a(0x135)]=_0x56519b[_0x5c492a(0x10b)];}async[a0_0x43b381(0x109)](){const _0x156b90=a0_0x43b381;this[_0x156b90(0x105)]=await MetaApi['parseGridConfigSet'](this),this[_0x156b90(0xfe)]=!0x0===this[_0x156b90(0x103)],this['useFilterForm']=!0x1,this['buttonConfig']=void 0x0,this[_0x156b90(0x127)]=!0x1,this[_0x156b90(0x138)]=!0x1,this[_0x156b90(0x122)]=[],this['searchFields']=this[_0x156b90(0x105)][_0x156b90(0x115)][_0x156b90(0x104)](_0x178cbe=>_0x178cbe['filter'])['map'](_0x101990=>{const _0xef87c7=_0x156b90;let _0x4f7048={'name':_0x101990[_0xef87c7(0x12b)],'type':_0xef87c7(0x10b)===_0x101990[_0xef87c7(0x104)][_0xef87c7(0x10a)]?'search':_0x101990[_0xef87c7(0x12e)],'label':_0x101990['header'],'operator':_0x101990[_0xef87c7(0x104)][_0xef87c7(0x10a)]?_0x101990[_0xef87c7(0x104)]['operator']:'eq'};return _0x101990[_0xef87c7(0x104)][_0xef87c7(0x108)]&&(_0x4f7048[_0xef87c7(0x108)]=_0x101990['filter']['options']),_0x101990[_0xef87c7(0x131)][_0xef87c7(0x108)]&&(_0x4f7048[_0xef87c7(0x108)]=_0x101990[_0xef87c7(0x131)][_0xef87c7(0x108)]),_0x101990[_0xef87c7(0x104)][_0xef87c7(0x106)]&&this[_0xef87c7(0x122)]['push']({'name':_0x4f7048[_0xef87c7(0x12b)],'operator':_0x4f7048['operator'],'value':_0x101990[_0xef87c7(0x104)][_0xef87c7(0x106)]}),delete _0x101990['filter'],_0x4f7048;});}async[a0_0x43b381(0x130)](){const _0x484399=a0_0x43b381;await this[_0x484399(0x129)]['fetch']();}async['beforeFetch']({page:_0x413c78=0x0,limit:_0xf591ce=0x0,sortings:_0x1c0250=[],filters:_0x167a0a=[]}){const _0x52ae82=a0_0x43b381;return this[_0x52ae82(0x12a)]&&this[_0x52ae82(0x12a)][_0x52ae82(0x12f)]&&await this[_0x52ae82(0x12a)]['clear'](),this[_0x52ae82(0x128)]&&this[_0x52ae82(0x128)][_0x52ae82(0x12f)]&&await this[_0x52ae82(0x128)][_0x52ae82(0x12f)](),!0x0;}[a0_0x43b381(0x13b)](){const _0x69e45b=a0_0x43b381;return{'master':this[_0x69e45b(0x12a)]['getData'](),'detail':this['detailElement'][_0x69e45b(0x13b)]()};}};
@@ -1 +1 @@
1
- function a0_0x31d9(){const _0x20d3b7=['button','keys','1367028deAmMf','getBasicTabStyles','currentTabKey','763QhzlBw','styles','@things-factory/meta-ui/client/pages/meta-grist-element','mainFilterForm','getMainGrist','getBasicTabHtml','activityDataSet','68RyOXbL','tab','length','name','pageInitialized','341315OHmZlK','param_field','41244xaqlOW','etcConfig','splice','firstUpdated','route_name','parseBasicTabConfigs','forEach','properties','clear','getData','484NGheDP','grist','924748SkWSRO','meta-grist-element','621zQfNqV','tabRenderConfig','index','12114250wMGGPn','getContextObject','1854XRKwtE','64dJQzkS','connectedCallback','includeMainList','render','tabElements','display','26514YGBWWx'];a0_0x31d9=function(){return _0x20d3b7;};return a0_0x31d9();}const a0_0x356827=a0_0x2e4c;function a0_0x2e4c(_0xc251d6,_0xca6c5a){const _0x31d940=a0_0x31d9();return a0_0x2e4c=function(_0x2e4c46,_0x84ed2e){_0x2e4c46=_0x2e4c46-0x15c;let _0x67dc2a=_0x31d940[_0x2e4c46];return _0x67dc2a;},a0_0x2e4c(_0xc251d6,_0xca6c5a);}(function(_0x49ba81,_0x145ce9){const _0x108f25=a0_0x2e4c,_0x32b0fd=_0x49ba81();while(!![]){try{const _0x8b683b=-parseInt(_0x108f25(0x15c))/0x1+-parseInt(_0x108f25(0x163))/0x2*(-parseInt(_0x108f25(0x15e))/0x3)+-parseInt(_0x108f25(0x177))/0x4*(-parseInt(_0x108f25(0x17c))/0x5)+-parseInt(_0x108f25(0x16a))/0x6*(-parseInt(_0x108f25(0x170))/0x7)+-parseInt(_0x108f25(0x164))/0x8*(parseInt(_0x108f25(0x16d))/0x9)+parseInt(_0x108f25(0x161))/0xa+parseInt(_0x108f25(0x188))/0xb*(-parseInt(_0x108f25(0x17e))/0xc);if(_0x8b683b===_0x145ce9)break;else _0x32b0fd['push'](_0x32b0fd['shift']());}catch(_0x41ed6f){_0x32b0fd['push'](_0x32b0fd['shift']());}}}(a0_0x31d9,0xb82a8));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x25b714=>class extends MetaButtonMixin(_0x25b714){static get[a0_0x356827(0x171)](){const _0x398ab2=a0_0x356827;return MetaApi[_0x398ab2(0x16e)]();}static get[a0_0x356827(0x185)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x178fd8=a0_0x356827;return MetaUiUtil[_0x178fd8(0x162)](this);}async[a0_0x356827(0x165)](){const _0x5145d4=a0_0x356827;this[_0x5145d4(0x16f)]=void 0x0,await this['getAndParseMenuMeta'](),this[_0x5145d4(0x176)]&&(this['dataSet']=this[_0x5145d4(0x176)]),super[_0x5145d4(0x165)]&&await super[_0x5145d4(0x165)]();}async['firstUpdated'](){const _0x490399=a0_0x356827;super[_0x490399(0x181)]&&await super[_0x490399(0x181)]();}async[a0_0x356827(0x17b)](){const _0x44e2d9=a0_0x356827;super[_0x44e2d9(0x17b)]&&await super[_0x44e2d9(0x17b)]();}[a0_0x356827(0x167)](){const _0x524c16=a0_0x356827;return MetaApi[_0x524c16(0x175)](this);}[a0_0x356827(0x183)](_0x18fc73){const _0x3efa32=a0_0x356827;if(!0x0===this[_0x3efa32(0x166)]){let _0x39e5fe=this[_0x3efa32(0x17f)]['main_tab_info'],_0x2063a3=JSON['parse'](_0x39e5fe||'{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}');_0x2063a3[_0x3efa32(0x160)]>_0x18fc73[_0x3efa32(0x178)]['length']&&(_0x2063a3[_0x3efa32(0x160)]=_0x18fc73['tab']['length']),_0x18fc73[_0x3efa32(0x178)][_0x3efa32(0x180)](_0x2063a3['index'],0x0,{'name':_0x2063a3[_0x3efa32(0x17a)],'display':_0x2063a3[_0x3efa32(0x169)],'tagname':_0x3efa32(0x15d),'location':_0x3efa32(0x172),'parent_field':'id','param_field':_0x3efa32(0x17d),'menu':this[_0x3efa32(0x182)],'icon':_0x2063a3['icon'],'filter_from':!0x1,'main_filter_form':this[_0x3efa32(0x173)]});}this[_0x3efa32(0x15f)]=_0x18fc73['tab'],_0x18fc73[_0x3efa32(0x16b)]=[];}async[a0_0x356827(0x186)](){const _0x535778=a0_0x356827;if(this[_0x535778(0x168)]){let _0x30ebfe=Object['keys'](this[_0x535778(0x168)]);for(var _0x16f34c=0x0;_0x16f34c<_0x30ebfe[_0x535778(0x179)];_0x16f34c++)await this[_0x535778(0x168)][_0x30ebfe[_0x16f34c]][_0x535778(0x186)]();}}[a0_0x356827(0x187)](){const _0x30328a=a0_0x356827;let _0x12cd21={};return this[_0x30328a(0x168)]&&Object[_0x30328a(0x16c)](this[_0x30328a(0x168)])[_0x30328a(0x184)](_0x308b09=>{const _0x568a87=_0x30328a;_0x12cd21[_0x308b09]=this[_0x568a87(0x168)][_0x308b09][_0x568a87(0x187)]();}),_0x12cd21;}[a0_0x356827(0x174)](){const _0x32bf9f=a0_0x356827;if(this[_0x32bf9f(0x168)]){let _0x471046=Object[_0x32bf9f(0x16c)](this[_0x32bf9f(0x168)]);return this[_0x32bf9f(0x168)][_0x471046[0x0]][_0x32bf9f(0x189)];}}};
1
+ const a0_0x124dfc=a0_0x22c3;function a0_0x22c3(_0x36ac87,_0x39ccd6){const _0x58c6f4=a0_0x58c6();return a0_0x22c3=function(_0x22c310,_0x481d89){_0x22c310=_0x22c310-0x183;let _0x376824=_0x58c6f4[_0x22c310];return _0x376824;},a0_0x22c3(_0x36ac87,_0x39ccd6);}(function(_0x5b144e,_0x310718){const _0x256b07=a0_0x22c3,_0x542284=_0x5b144e();while(!![]){try{const _0x3e4dc2=-parseInt(_0x256b07(0x1aa))/0x1*(-parseInt(_0x256b07(0x1a8))/0x2)+parseInt(_0x256b07(0x18e))/0x3*(-parseInt(_0x256b07(0x189))/0x4)+-parseInt(_0x256b07(0x1a5))/0x5*(-parseInt(_0x256b07(0x1a3))/0x6)+parseInt(_0x256b07(0x1b0))/0x7*(-parseInt(_0x256b07(0x192))/0x8)+-parseInt(_0x256b07(0x1a2))/0x9+-parseInt(_0x256b07(0x1af))/0xa*(parseInt(_0x256b07(0x1a4))/0xb)+parseInt(_0x256b07(0x191))/0xc;if(_0x3e4dc2===_0x310718)break;else _0x542284['push'](_0x542284['shift']());}catch(_0x4e250c){_0x542284['push'](_0x542284['shift']());}}}(a0_0x58c6,0x80227));import{MetaApi}from'../utils/meta-api';function a0_0x58c6(){const _0x192f9d=['11746332WjSjti','8Mbjyzd','parseBasicTabConfigs','activityDataSet','tabRenderConfig','index','main_tab_info','connectedCallback','@things-factory/meta-ui/client/pages/meta-grist-element','tab','pageInitialized','render','getBasicTabHtml','getBasicTabStyles','currentTabKey','getContextObject','parse','774756FZDqWr','78IzkSJe','77CgDIsl','377695ZUUeQI','properties','dataSet','885214UKxEct','keys','1xBppgG','getAndParseMenuMeta','param_field','etcConfig','splice','1039810gOaZFW','2470510bukehp','getData','includeMainList','icon','getMainGrist','tabElements','route_name','20sTyepB','mainFilterForm','firstUpdated','clear','display','427053vrsdDZ','button','name'];a0_0x58c6=function(){return _0x192f9d;};return a0_0x58c6();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x3c6bea=>class extends MetaButtonMixin(_0x3c6bea){static get['styles'](){const _0x2b488d=a0_0x22c3;return MetaApi[_0x2b488d(0x19e)]();}static get[a0_0x124dfc(0x1a6)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x295c7e=a0_0x124dfc;return MetaUiUtil[_0x295c7e(0x1a0)](this);}async['connectedCallback'](){const _0x1ce15b=a0_0x124dfc;this[_0x1ce15b(0x19f)]=void 0x0,await this[_0x1ce15b(0x1ab)](),this[_0x1ce15b(0x194)]&&(this[_0x1ce15b(0x1a7)]=this[_0x1ce15b(0x194)]),super[_0x1ce15b(0x198)]&&await super[_0x1ce15b(0x198)]();}async[a0_0x124dfc(0x18b)](){super['firstUpdated']&&await super['firstUpdated']();}async[a0_0x124dfc(0x19b)](){const _0x582602=a0_0x124dfc;super[_0x582602(0x19b)]&&await super[_0x582602(0x19b)]();}[a0_0x124dfc(0x19c)](){const _0x2fa00c=a0_0x124dfc;return MetaApi[_0x2fa00c(0x19d)](this);}[a0_0x124dfc(0x193)](_0x3c7d75){const _0x5c117e=a0_0x124dfc;if(!0x0===this[_0x5c117e(0x184)]){let _0x19ff94=this[_0x5c117e(0x1ad)][_0x5c117e(0x197)],_0x3782e8=JSON[_0x5c117e(0x1a1)](_0x19ff94||'{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}');_0x3782e8[_0x5c117e(0x196)]>_0x3c7d75[_0x5c117e(0x19a)]['length']&&(_0x3782e8[_0x5c117e(0x196)]=_0x3c7d75['tab']['length']),_0x3c7d75[_0x5c117e(0x19a)][_0x5c117e(0x1ae)](_0x3782e8[_0x5c117e(0x196)],0x0,{'name':_0x3782e8[_0x5c117e(0x190)],'display':_0x3782e8[_0x5c117e(0x18d)],'tagname':'meta-grist-element','location':_0x5c117e(0x199),'parent_field':'id','param_field':_0x5c117e(0x1ac),'menu':this[_0x5c117e(0x188)],'icon':_0x3782e8[_0x5c117e(0x185)],'filter_from':!0x1,'main_filter_form':this[_0x5c117e(0x18a)]});}this[_0x5c117e(0x195)]=_0x3c7d75[_0x5c117e(0x19a)],_0x3c7d75[_0x5c117e(0x18f)]=[];}async[a0_0x124dfc(0x18c)](){const _0x20a14f=a0_0x124dfc;if(this[_0x20a14f(0x187)]){let _0x2df8f1=Object[_0x20a14f(0x1a9)](this[_0x20a14f(0x187)]);for(var _0x18c741=0x0;_0x18c741<_0x2df8f1['length'];_0x18c741++)await this[_0x20a14f(0x187)][_0x2df8f1[_0x18c741]]['clear']();}}['getData'](){const _0x372e03=a0_0x124dfc;let _0x253ffb={};return this[_0x372e03(0x187)]&&Object[_0x372e03(0x1a9)](this[_0x372e03(0x187)])['forEach'](_0x4228ef=>{const _0x1d5b13=_0x372e03;_0x253ffb[_0x4228ef]=this[_0x1d5b13(0x187)][_0x4228ef][_0x1d5b13(0x183)]();}),_0x253ffb;}[a0_0x124dfc(0x186)](){const _0x55099b=a0_0x124dfc;if(this[_0x55099b(0x187)]){let _0x56e33e=Object[_0x55099b(0x1a9)](this['tabElements']);return this[_0x55099b(0x187)][_0x56e33e[0x0]]['grist'];}}};