@things-factory/meta-ui 6.1.5 → 6.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/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 +29 -29
  26. package/client/pages/entity/main-menu-selector.js +8 -8
  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 +1 -1
  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 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/index.js +3 -1
  73. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  74. package/server/service/meta-activity/meta-activity-query.js +1 -1
  75. package/server/service/meta-activity/meta-activity-type.js +1 -1
  76. package/server/service/meta-secret/meta-resolver.js +1 -1
  77. package/server/service/set-translations/set-translation-resolver.js +1 -1
  78. package/server/service/work-code/work-code-mutation.js +1 -1
  79. package/server/service/work-code/work-code-query.js +1 -1
  80. package/server/service/work-code/work-code-type.js +1 -1
  81. package/server/service/work-code/work-code.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail.js +1 -1
  86. package/translations/en.json +2 -1
  87. package/translations/ko.json +2 -1
  88. package/translations/ms.json +2 -1
  89. package/translations/zh.json +2 -1
@@ -1,4 +1,4 @@
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
+ const a0_0x321632=a0_0x4b55;(function(_0x4d2e19,_0x5089cf){const _0x193e01=a0_0x4b55,_0x3bb4a4=_0x4d2e19();while(!![]){try{const _0x5b59c5=-parseInt(_0x193e01(0x144))/0x1+parseInt(_0x193e01(0x153))/0x2*(-parseInt(_0x193e01(0x15c))/0x3)+parseInt(_0x193e01(0x158))/0x4+parseInt(_0x193e01(0x13b))/0x5*(parseInt(_0x193e01(0x13e))/0x6)+parseInt(_0x193e01(0x161))/0x7*(-parseInt(_0x193e01(0x155))/0x8)+-parseInt(_0x193e01(0x134))/0x9+parseInt(_0x193e01(0x160))/0xa;if(_0x5b59c5===_0x5089cf)break;else _0x3bb4a4['push'](_0x3bb4a4['shift']());}catch(_0xd02a30){_0x3bb4a4['push'](_0x3bb4a4['shift']());}}}(a0_0x1f8b,0x2c5bb));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x1f8b(){const _0x2d35fb=['styles','getBasicGristStyles','getContextObject','pageInitialized','filterFormId','render','ox-grist','gristConfigSet','searchConfig','getAndParseMenuMeta','find','31150ahVmmo','data','8iciShZ','isElement','findOne','1419412fVxCDW','gristId','forEach','search','51aTYahC','dataSet','gridConfig','grist','3940610XlcSMF','344407AvmVBr','getParams','firstUpdated','parseGristConfigs','isPage','delete','title','isNotEmpty','getBasicGristHtml','fetch','stringify','connectedCallback','getData','renderRoot','parse','shadowRoot','2861532mKLHCH','keys','activityDataSet','gridColumnConfig','tTitle','grid','updateMultiple','655880tzbXHP','getButtonContainer','records','6lLrGBy','startsWith','properties','grid_column','save','filterForm','66475kpUPPN','querySelector','menuInfo','exportableData'];a0_0x1f8b=function(){return _0x2d35fb;};return a0_0x1f8b();}import{TermsUtil}from'../utils/terms-util';function a0_0x4b55(_0x3440e1,_0x3ef1d2){const _0x1f8b54=a0_0x1f8b();return a0_0x4b55=function(_0x4b55e4,_0x5e4925){_0x4b55e4=_0x4b55e4-0x12f;let _0x24851e=_0x1f8b54[_0x4b55e4];return _0x24851e;},a0_0x4b55(_0x3440e1,_0x3ef1d2);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x4bfe02=>class extends MetaButtonMixin(_0x4bfe02){static get[a0_0x321632(0x148)](){const _0x39de03=a0_0x321632;return MetaApi[_0x39de03(0x149)]();}static get[a0_0x321632(0x140)](){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 _0x53f2bb=a0_0x321632;return this[_0x53f2bb(0x131)]?.[_0x53f2bb(0x145)](this[_0x53f2bb(0x159)]);}get[a0_0x321632(0x143)](){const _0x3c2f41=a0_0x321632;return this[_0x3c2f41(0x133)]?.['querySelector'](this['filterFormId']);}get['context'](){const _0x42b533=a0_0x321632;return MetaUiUtil[_0x42b533(0x14a)](this);}async['connectedCallback'](){const _0x18996d=a0_0x321632;this[_0x18996d(0x159)]=_0x18996d(0x14e),this[_0x18996d(0x14c)]='ox-filters-form',await this[_0x18996d(0x151)](),this[_0x18996d(0x156)]&&await this[_0x18996d(0x164)](),this['activityDataSet']&&(this[_0x18996d(0x15d)]=this[_0x18996d(0x136)]),super[_0x18996d(0x12f)]&&await super[_0x18996d(0x12f)]();}async[a0_0x321632(0x163)](){const _0x3efd17=a0_0x321632;super[_0x3efd17(0x163)]&&await super[_0x3efd17(0x163)]();}async[a0_0x321632(0x14b)](){const _0x303712=a0_0x321632;this[_0x303712(0x165)]&&await this[_0x303712(0x164)](),super[_0x303712(0x14b)]&&await super['pageInitialized']();}[a0_0x321632(0x14d)](){const _0x5da1aa=a0_0x321632;return html`
2
+ ${MetaApi[_0x5da1aa(0x169)](this)}
3
+ ${this['isPage']?html``:MetaUiUtil[_0x5da1aa(0x13c)](this)}
4
+ `;}['parseBasicGridConfigs'](_0x3b9bdb){const _0x3f2a6c=a0_0x321632;this[_0x3f2a6c(0x15e)]=_0x3b9bdb[_0x3f2a6c(0x139)],this[_0x3f2a6c(0x137)]=_0x3b9bdb[_0x3f2a6c(0x141)],this[_0x3f2a6c(0x150)]=_0x3b9bdb[_0x3f2a6c(0x15b)];}async[a0_0x321632(0x164)](){const _0x23529b=a0_0x321632;this[_0x23529b(0x14f)]=await MetaApi['parseGridConfigSet'](this);}async[a0_0x321632(0x16a)](){const _0x566b05=a0_0x321632;await this[_0x566b05(0x15f)][_0x566b05(0x16a)]();}async[a0_0x321632(0x142)](){const _0x55aaff=a0_0x321632;let _0x57f2b2=MetaApi['patchesForUpdateMultiple'](this[_0x55aaff(0x15f)]);!!ValueUtil[_0x55aaff(0x168)](_0x57f2b2)&&await this[_0x55aaff(0x13a)](_0x57f2b2)&&this['fetch']();}async[a0_0x321632(0x152)](){const _0x4e411e=a0_0x321632;let _0x4b7e58=MetaApi['getSelectedIdList'](this[_0x4e411e(0x15f)],!0x0);return ValueUtil[_0x4e411e(0x168)](_0x4b7e58)?await this[_0x4e411e(0x157)](_0x4b7e58[0x0]):{};}async[a0_0x321632(0x166)](){const _0x15b0ed=a0_0x321632;let _0x4e77b9=MetaApi['getSelectedIdList'](this['grist'],!0x0);!!ValueUtil['isNotEmpty'](_0x4e77b9)&&await this['deleteByIds'](_0x4e77b9)&&this[_0x15b0ed(0x16a)]();}async['export'](){const _0x41bc2d=a0_0x321632;let _0x525fa8=TermsUtil[_0x41bc2d(0x138)](ValueUtil[_0x41bc2d(0x162)](this[_0x41bc2d(0x146)],_0x41bc2d(0x167)));return await MetaApi[_0x41bc2d(0x147)](this[_0x41bc2d(0x156)],_0x525fa8,this[_0x41bc2d(0x15f)]);}async['import'](){}async['clear'](){const _0x3118a5=a0_0x321632;this[_0x3118a5(0x15f)]&&(this['grist'][_0x3118a5(0x154)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x321632(0x130)](){const _0x25e67a=a0_0x321632;let _0xed224a=this[_0x25e67a(0x15f)]['___data'][_0x25e67a(0x13d)];return _0xed224a=JSON[_0x25e67a(0x132)](JSON[_0x25e67a(0x16b)](_0xed224a)),_0xed224a[_0x25e67a(0x15a)](_0x149c77=>{const _0x345659=_0x25e67a;Object[_0x345659(0x135)](_0x149c77)[_0x345659(0x15a)](_0x1c41c7=>{const _0x5aa74c=_0x345659;_0x1c41c7[_0x5aa74c(0x13f)]('__')&&delete _0x149c77[_0x1c41c7];});}),_0xed224a;}};
@@ -1 +1 @@
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
+ const a0_0x1fd5fc=a0_0x155d;(function(_0x765c3f,_0x40fb1c){const _0x17fa5e=a0_0x155d,_0x2e1b8a=_0x765c3f();while(!![]){try{const _0x50ff25=parseInt(_0x17fa5e(0x16b))/0x1*(parseInt(_0x17fa5e(0x16c))/0x2)+parseInt(_0x17fa5e(0x17d))/0x3*(parseInt(_0x17fa5e(0x183))/0x4)+-parseInt(_0x17fa5e(0x17e))/0x5+parseInt(_0x17fa5e(0x17f))/0x6+parseInt(_0x17fa5e(0x176))/0x7*(parseInt(_0x17fa5e(0x180))/0x8)+-parseInt(_0x17fa5e(0x16d))/0x9*(-parseInt(_0x17fa5e(0x173))/0xa)+parseInt(_0x17fa5e(0x170))/0xb*(-parseInt(_0x17fa5e(0x171))/0xc);if(_0x50ff25===_0x40fb1c)break;else _0x2e1b8a['push'](_0x2e1b8a['shift']());}catch(_0x345a44){_0x2e1b8a['push'](_0x2e1b8a['shift']());}}}(a0_0x50fb,0xaa200));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x40dab5=>class extends MetaServiceMixin(_0x40dab5){static get[a0_0x1fd5fc(0x181)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1fd5fc(0x17a)](){const _0x2551ae=a0_0x1fd5fc;return MetaUiUtil[_0x2551ae(0x16e)]();}[a0_0x1fd5fc(0x184)](){const _0x370a40=a0_0x1fd5fc;return MetaUiUtil[_0x370a40(0x184)](this);}['getButtonContainer'](){const _0x5e7fca=a0_0x1fd5fc;return this[_0x5e7fca(0x186)]?html``:MetaUiUtil[_0x5e7fca(0x174)](this);}async['getBasicButtonHandler'](_0xc8488d,_0xb7df58,_0x2d8446){const _0x13d24c=a0_0x1fd5fc;return await MetaUiUtil[_0x13d24c(0x16f)](this,_0xc8488d,_0xb7df58,_0x2d8446);}async['customButtonHandler'](_0x50117e){const _0x51d245=a0_0x1fd5fc;await MetaUiUtil[_0x51d245(0x182)](this,_0x50117e);}async[a0_0x1fd5fc(0x172)](_0x56cb51,_0x4669d2){const _0x92790e=a0_0x1fd5fc;await MetaUiUtil[_0x92790e(0x172)](this,_0x56cb51,_0x4669d2);}[a0_0x1fd5fc(0x179)](_0x148219){const _0x1c0614=a0_0x1fd5fc;this[_0x1c0614(0x178)]=_0x148219['button'],this['useButtonImport']=MetaUiUtil[_0x1c0614(0x175)](this[_0x1c0614(0x178)],'import'),this[_0x1c0614(0x17b)]=MetaUiUtil[_0x1c0614(0x175)](this[_0x1c0614(0x178)],_0x1c0614(0x185)),this[_0x1c0614(0x177)]=MetaUiUtil[_0x1c0614(0x175)](this[_0x1c0614(0x178)],_0x1c0614(0x17c));}};function a0_0x155d(_0x42bfea,_0x4c509b){const _0x50fb46=a0_0x50fb();return a0_0x155d=function(_0x155dd0,_0x19e73a){_0x155dd0=_0x155dd0-0x16b;let _0x1e089f=_0x50fb46[_0x155dd0];return _0x1e089f;},a0_0x155d(_0x42bfea,_0x4c509b);}function a0_0x50fb(){const _0x22c2ae=['getCustomButtonContainerStyles','getButtonActionHandler','55hoxeUW','6209220nqLPsX','gristButtonHandler','6104600zUyJSm','getButtonContainer','isButtonExist','5542530ejBbwl','useButtonAdd','buttonConfig','parseBasicButtonConfigs','getCustomButtonContainerStyle','useButtonExport','add','440868qOGZjl','3299105zGTCtO','6118656jSUXzT','8dJNYJJ','properties','customButtonHandler','24nFyOsg','getContextButtons','export','isPage','2gPOsLt','29606rWuEtG','18HoFDAK'];a0_0x50fb=function(){return _0x22c2ae;};return a0_0x50fb();}
@@ -1 +1 @@
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
+ const a0_0xfb94fa=a0_0x4cf5;(function(_0x59bc97,_0x294cfb){const _0x47ea2a=a0_0x4cf5,_0x54624a=_0x59bc97();while(!![]){try{const _0x2da053=parseInt(_0x47ea2a(0x1df))/0x1*(parseInt(_0x47ea2a(0x212))/0x2)+parseInt(_0x47ea2a(0x226))/0x3*(-parseInt(_0x47ea2a(0x201))/0x4)+parseInt(_0x47ea2a(0x227))/0x5*(parseInt(_0x47ea2a(0x1e2))/0x6)+parseInt(_0x47ea2a(0x1e8))/0x7+parseInt(_0x47ea2a(0x1f8))/0x8*(-parseInt(_0x47ea2a(0x1de))/0x9)+-parseInt(_0x47ea2a(0x204))/0xa*(-parseInt(_0x47ea2a(0x1ef))/0xb)+parseInt(_0x47ea2a(0x218))/0xc*(-parseInt(_0x47ea2a(0x202))/0xd);if(_0x2da053===_0x294cfb)break;else _0x54624a['push'](_0x54624a['shift']());}catch(_0x43fd32){_0x54624a['push'](_0x54624a['shift']());}}}(a0_0x448c,0x73f2e));import{MetaApi}from'../utils/meta-api';function a0_0x448c(){const _0xc65403=['connectedCallback','record','__dirtyfields__','startsWith','render','name','call','pageInitialized','keys','getAndParseMenuMeta','cuFlag','332496uZBUil','10IDxPDa','getBasicFormStyles','isNotEmpty','patchData','dataSet','updateMultiple','currentData','button','Escape','filter','formConfigSet','getData','click','after','field-change','styles','editing','756BMdsFb','189203ZcVSMD','firstUpdated','focus','1040322aAxsdx','Esc','removeGarbageData','editable','getContextObject','activity','6479718BFqdsv','currentTarget','parseFormConfigSet','detail','Enter','function','stopPropagation','10065dxJFVz','object','isPage','isEmpty','parent_id','key','getBasicFormHtml','parseFormConfigs','renderRoot','5528VjNWxa','grid_column','context','setAttribute','formRenderConfig','forEach','isElement','addEventListener','findOne','8nOcnWR','26iYWJSR','assign','5950rwStDQ','entries','title.info','__dirty__','activityDataSet','properties','column','map','text.NOTHING_CHANGED','parseBasicFormConfigs','orgData','clear','fetch','save','6FEIFGu','tagName','__origin__','isEquals','OX-GRID-FIELD','before','9779088ZkBPYy','formColumnConfig','removeAttribute'];a0_0x448c=function(){return _0xc65403;};return a0_0x448c();}function a0_0x4cf5(_0x5adc2c,_0x3f66e4){const _0x448cbe=a0_0x448c();return a0_0x4cf5=function(_0x4cf55c,_0x554574){_0x4cf55c=_0x4cf55c-0x1d6;let _0x5f443a=_0x448cbe[_0x4cf55c];return _0x5f443a;},a0_0x4cf5(_0x5adc2c,_0x3f66e4);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x3a84e6=>class extends MetaButtonMixin(_0x3a84e6){static get[a0_0xfb94fa(0x1dc)](){const _0x3e7a6a=a0_0xfb94fa;return MetaApi[_0x3e7a6a(0x228)]();}static get[a0_0xfb94fa(0x209)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0xfb94fa(0x1fa)](){const _0x3f2770=a0_0xfb94fa;return MetaUiUtil[_0x3f2770(0x1e6)](this);}async[a0_0xfb94fa(0x21b)](){const _0x316f84=a0_0xfb94fa;await this[_0x316f84(0x224)](),this[_0x316f84(0x1fe)]&&await this[_0x316f84(0x1f6)](),this[_0x316f84(0x208)]&&(this[_0x316f84(0x22b)]=this[_0x316f84(0x208)]),!0x0!==this['is_activity']||this[_0x316f84(0x1f3)]||(this['parent_id']=_0x316f84(0x1e7)),super[_0x316f84(0x21b)]&&await super['connectedCallback'](),this[_0x316f84(0x1fe)]&&await this[_0x316f84(0x210)](),this['renderRoot']['addEventListener']('keydown',_0x564bc3=>{const _0x15d0dd=_0x316f84;switch(_0x564bc3[_0x15d0dd(0x1f4)]){case _0x15d0dd(0x1e3):case _0x15d0dd(0x22f):case _0x15d0dd(0x1ec):this[_0x15d0dd(0x1e1)](),this[_0x15d0dd(0x1e9)]&&this[_0x15d0dd(0x1e9)][_0x15d0dd(0x21a)](_0x15d0dd(0x1dd)),this['currentTarget']=null;}}),this[_0x316f84(0x1f7)][_0x316f84(0x1ff)](_0x316f84(0x1d9),_0x466871=>{const _0x231e98=_0x316f84;_0x466871[_0x231e98(0x1ee)]();let _0x3aced7=_0x466871['target'];if(this['currentTarget']&&(this['focus'](),this[_0x231e98(0x1e9)]['removeAttribute'](_0x231e98(0x1dd))),_0x231e98(0x216)!==_0x3aced7[_0x231e98(0x213)]||!_0x3aced7[_0x231e98(0x20a)][_0x231e98(0x21c)][_0x231e98(0x1e5)])return this['focus'](),void(this[_0x231e98(0x1e9)]=null);this[_0x231e98(0x1e9)]=_0x3aced7,_0x3aced7[_0x231e98(0x1fb)](_0x231e98(0x1dd),'true');}),this[_0x316f84(0x1ff)](_0x316f84(0x1db),_0xd84344=>{const _0x41cd47=_0x316f84;var {after:_0xd1bc6b,before:_0x390a4b,column:_0x238d9d,record:_0x463b68,row:_0x5f4755}=_0xd84344[_0x41cd47(0x1eb)];if(ValueUtil['isEquals'](_0xd1bc6b,_0x390a4b))return;var _0xd866f3=_0x238d9d['validation'];if(_0xd866f3&&_0x41cd47(0x1ed)==typeof _0xd866f3&&!_0xd866f3[_0x41cd47(0x221)](this,_0xd1bc6b,_0x390a4b,_0x463b68,_0x238d9d))return;let _0x13c070=_0x238d9d[_0x41cd47(0x220)];_0x463b68[_0x13c070]=_0xd1bc6b,_0x463b68[_0x41cd47(0x21d)]=_0x463b68['__dirtyfields__']||{},_0x463b68[_0x41cd47(0x214)]=_0x463b68['__origin__']||{},_0x463b68['__dirtyfields__'][_0x13c070]={'before':_0x463b68[_0x41cd47(0x214)][_0x13c070],'after':_0x463b68[_0x13c070]},ValueUtil[_0x41cd47(0x215)](_0x463b68[_0x41cd47(0x21d)][_0x13c070][_0x41cd47(0x217)],_0x463b68[_0x41cd47(0x21d)][_0x13c070][_0x41cd47(0x1da)])&&delete _0x463b68[_0x41cd47(0x21d)][_0x13c070],ValueUtil[_0x41cd47(0x229)](_0x463b68[_0x41cd47(0x21d)])?_0x463b68[_0x41cd47(0x207)]='M':_0x463b68[_0x41cd47(0x207)]='',this['record']={..._0x463b68};});}async[a0_0xfb94fa(0x1e0)](){const _0x63c08a=a0_0xfb94fa;super[_0x63c08a(0x1e0)]&&await super['firstUpdated']();}async[a0_0xfb94fa(0x222)](){const _0x4eae74=a0_0xfb94fa;this[_0x4eae74(0x1f1)]&&await this[_0x4eae74(0x1f6)](),super[_0x4eae74(0x222)]&&await super['pageInitialized'](),this[_0x4eae74(0x1f1)]&&await this[_0x4eae74(0x210)]();}[a0_0xfb94fa(0x21f)](){const _0x5c2e3f=a0_0xfb94fa;return MetaApi[_0x5c2e3f(0x1f5)](this);}[a0_0xfb94fa(0x20d)](_0x3a464b){const _0x40fc79=a0_0xfb94fa;this[_0x40fc79(0x219)]=_0x3a464b[_0x40fc79(0x1f9)],this[_0x40fc79(0x1fc)]=_0x3a464b['form'],_0x3a464b[_0x40fc79(0x22e)]=_0x3a464b[_0x40fc79(0x22e)][_0x40fc79(0x1d6)](_0xdc8fca=>_0x40fc79(0x211)==_0xdc8fca['name']);}async[a0_0xfb94fa(0x1f6)](){const _0x611c69=a0_0xfb94fa;this[_0x611c69(0x1d7)]=await MetaApi[_0x611c69(0x1ea)](this);}get[a0_0xfb94fa(0x20e)](){const _0x556622=a0_0xfb94fa;return this[_0x556622(0x1e4)](this[_0x556622(0x21c)]['__origin__']);}get['dirtyData'](){const _0x73aa9c=a0_0xfb94fa;if(ValueUtil[_0x73aa9c(0x1f2)](this[_0x73aa9c(0x21c)][_0x73aa9c(0x21d)]))return{};let _0x5a13be={};return Object[_0x73aa9c(0x205)](this[_0x73aa9c(0x21c)][_0x73aa9c(0x21d)])[_0x73aa9c(0x20b)](([_0x11e360,_0x59b91c])=>{const _0x5d4fcb=_0x73aa9c;0x0==_0x11e360[_0x5d4fcb(0x21e)]('__')&&(_0x5a13be[_0x11e360]=_0x59b91c[_0x5d4fcb(0x1da)]);}),_0x5a13be;}get[a0_0xfb94fa(0x22d)](){const _0xe5f424=a0_0xfb94fa;return this['removeGarbageData'](this[_0xe5f424(0x21c)]);}[a0_0xfb94fa(0x1e4)](_0x595599){const _0x51a7b6=a0_0xfb94fa;let _0x428a28={};if(_0x595599)return Object[_0x51a7b6(0x205)](_0x595599)['map'](([_0x1ef02f,_0x7f034d])=>{const _0x3713c7=_0x51a7b6;0x0==_0x1ef02f[_0x3713c7(0x21e)]('__')&&(_0x428a28[_0x1ef02f]=_0x7f034d);}),_0x428a28;}get[a0_0xfb94fa(0x22a)](){const _0x5e04af=a0_0xfb94fa;let _0x34acd3=this['dirtyData'],_0x56255b=this[_0x5e04af(0x21c)];return ValueUtil[_0x5e04af(0x1f2)](_0x34acd3)?[]:(ValueUtil['isNotEmpty'](_0x56255b['id'])?(_0x34acd3['id']=_0x56255b['id'],_0x34acd3[_0x5e04af(0x225)]='M'):_0x34acd3[_0x5e04af(0x225)]='+',Object[_0x5e04af(0x223)](_0x34acd3)[_0x5e04af(0x1fd)](_0x158848=>{const _0x437578=_0x5e04af;_0x437578(0x1f0)==typeof _0x34acd3[_0x158848]&&(_0x34acd3[_0x158848]={'id':_0x34acd3[_0x158848]['id']});}),[_0x34acd3]);}async[a0_0xfb94fa(0x210)](){const _0x38119f=a0_0xfb94fa;if(ValueUtil[_0x38119f(0x1f2)](this[_0x38119f(0x1f3)]))return;let _0x30ce6d=await this[_0x38119f(0x200)](this[_0x38119f(0x1f3)]);_0x30ce6d['__seq__']=0x1;let _0x429f7c={};Object[_0x38119f(0x203)](_0x429f7c,_0x30ce6d),_0x30ce6d[_0x38119f(0x214)]=_0x429f7c,this['record']={..._0x30ce6d};}async[a0_0xfb94fa(0x211)](){const _0x2a903c=a0_0xfb94fa;let _0x49cba4=this[_0x2a903c(0x22a)];if(ValueUtil[_0x2a903c(0x1f2)](_0x49cba4))return void MetaApi['showAlertPopup'](_0x2a903c(0x206),_0x2a903c(0x20c));let _0x5bea48=await this[_0x2a903c(0x22c)](_0x49cba4);return _0x5bea48&&await this['fetch'](),_0x5bea48;}async[a0_0xfb94fa(0x20f)](){this['record']&&(this['record']={});}[a0_0xfb94fa(0x1d8)](){return this['currentData']||{};}};
@@ -1 +1 @@
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
+ function a0_0x44e6(){const _0x406969=['8TunLqk','startsWith','dataSet','ox-grist','operator','tTitle','styles','isPage','parseBasicGridConfigs','columns','getData','renderRoot','querySelector','fetch','isNotEmpty','save','firstUpdated','isElement','records','patchesForUpdateMultiple','79962dQyxLO','menuInfo','meta-tab-element','connectedCallback','ox-filters-form-base','search','activityDataSet','importable','stringify','shadowRoot','getParams','gridColumnConfig','properties','main','push','exportableData','keys','options','filter','grid','searchConfig','grid_column','import','context','clear','updateMultiple','getAndParseMenuMeta','actions','grist','find','10Xntjgn','record','4101966TBjMwX','40CyJAKE','useFilterForm','export','map','1034526HPKlmF','title','getGristTabHtml','4852914VBlCXh','parseGristConfigs','772394HReitd','value','1CEhjFJ','beforeFetch','pageInitialized','gristConfigSet','getBasicGristTabStyles','filterFormId','1832680ZaBrCi','searchFieldValues','delete','useMasterFilterForm','name','parseGridConfigSet','getSelectedIdList','3854753fRDdPF','forEach','filterForm','parse','searchFields','exportable','gristId','#detail'];a0_0x44e6=function(){return _0x406969;};return a0_0x44e6();}const a0_0x38d97d=a0_0x1ebd;(function(_0xe13b47,_0x412787){const _0xd2f136=a0_0x1ebd,_0x2d9625=_0xe13b47();while(!![]){try{const _0x32ec68=parseInt(_0xd2f136(0x1a9))/0x1*(-parseInt(_0xd2f136(0x1a7))/0x2)+-parseInt(_0xd2f136(0x1d2))/0x3*(parseInt(_0xd2f136(0x19e))/0x4)+parseInt(_0xd2f136(0x1af))/0x5+parseInt(_0xd2f136(0x1a2))/0x6+parseInt(_0xd2f136(0x1b6))/0x7*(parseInt(_0xd2f136(0x1be))/0x8)+-parseInt(_0xd2f136(0x1f2))/0x9+parseInt(_0xd2f136(0x1f0))/0xa*(parseInt(_0xd2f136(0x1a5))/0xb);if(_0x32ec68===_0x412787)break;else _0x2d9625['push'](_0x2d9625['shift']());}catch(_0x263fd1){_0x2d9625['push'](_0x2d9625['shift']());}}}(a0_0x44e6,0x6719b));function a0_0x1ebd(_0x10f876,_0x3ca2b2){const _0x44e6f9=a0_0x44e6();return a0_0x1ebd=function(_0x1ebdea,_0x109402){_0x1ebdea=_0x1ebdea-0x19e;let _0x254166=_0x44e6f9[_0x1ebdea];return _0x254166;},a0_0x1ebd(_0x10f876,_0x3ca2b2);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x39c168=>class extends MetaButtonMixin(_0x39c168){static get[a0_0x38d97d(0x1c4)](){const _0x5d19d1=a0_0x38d97d;return MetaApi[_0x5d19d1(0x1ad)]();}static get[a0_0x38d97d(0x1de)](){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_0x38d97d(0x1ee)](){const _0xc864c2=a0_0x38d97d;return this[_0xc864c2(0x1c9)][_0xc864c2(0x1ca)](this['gristId']);}get[a0_0x38d97d(0x1b8)](){const _0xd91a37=a0_0x38d97d;return this['shadowRoot']?.[_0xd91a37(0x1ca)](this['filterFormId']);}get['detailElement'](){const _0x2b92bd=a0_0x38d97d;return this[_0x2b92bd(0x1db)][_0x2b92bd(0x1ca)](_0x2b92bd(0x1bd));}get[a0_0x38d97d(0x1e9)](){const _0x5405ed=a0_0x38d97d;let _0x5499eb=MetaUiUtil['getContextObject'](this);return _0x5499eb[_0x5405ed(0x1ed)]&&delete _0x5499eb[_0x5405ed(0x1ed)],_0x5499eb['exportable']&&delete _0x5499eb[_0x5405ed(0x1bb)],_0x5499eb[_0x5405ed(0x1d9)]&&delete _0x5499eb[_0x5405ed(0x1d9)],_0x5499eb;}async[a0_0x38d97d(0x1d5)](){const _0x5b91b0=a0_0x38d97d;this[_0x5b91b0(0x1bc)]=_0x5b91b0(0x1c1),this[_0x5b91b0(0x1ae)]=_0x5b91b0(0x1d6),await this[_0x5b91b0(0x1ec)](),this['isElement']&&await this[_0x5b91b0(0x1a6)](),this[_0x5b91b0(0x1d8)]&&(this[_0x5b91b0(0x1c0)]=(this['activityDataSet']||{})[_0x5b91b0(0x1df)]),super[_0x5b91b0(0x1d5)]&&await super[_0x5b91b0(0x1d5)]();}async[a0_0x38d97d(0x1ce)](){const _0x2b08e2=a0_0x38d97d;super['firstUpdated']&&await super[_0x2b08e2(0x1ce)]();}async[a0_0x38d97d(0x1ab)](){const _0x2a86dc=a0_0x38d97d;this[_0x2a86dc(0x1c5)]&&await this['parseGristConfigs'](),super[_0x2a86dc(0x1ab)]&&await super[_0x2a86dc(0x1ab)]();}['render'](){const _0x3d627f=a0_0x38d97d;return MetaApi[_0x3d627f(0x1a4)](this);}[a0_0x38d97d(0x1c6)](_0x55ce81){const _0x59c999=a0_0x38d97d;this['gridConfig']=_0x55ce81[_0x59c999(0x1e5)],this[_0x59c999(0x1dd)]=_0x55ce81[_0x59c999(0x1e7)],this[_0x59c999(0x1e6)]=_0x55ce81[_0x59c999(0x1d7)];}async['parseGristConfigs'](){const _0x425de1=a0_0x38d97d;this['gristConfigSet']=await MetaApi[_0x425de1(0x1b4)](this),this[_0x425de1(0x1b2)]=!0x0===this[_0x425de1(0x19f)],this['useFilterForm']=!0x1,this[_0x425de1(0x1b0)]=[],this[_0x425de1(0x1ba)]=this[_0x425de1(0x1ac)][_0x425de1(0x1c7)]['filter'](_0x5d4840=>_0x5d4840[_0x425de1(0x1e4)])[_0x425de1(0x1a1)](_0xb8c54b=>{const _0x26f69b=_0x425de1;let _0xd00ec7={'name':_0xb8c54b[_0x26f69b(0x1b3)],'type':'search'===_0xb8c54b['filter'][_0x26f69b(0x1c2)]?_0x26f69b(0x1d7):_0xb8c54b['type'],'label':_0xb8c54b['header'],'operator':_0xb8c54b[_0x26f69b(0x1e4)][_0x26f69b(0x1c2)]?_0xb8c54b[_0x26f69b(0x1e4)][_0x26f69b(0x1c2)]:'eq'};return _0xb8c54b[_0x26f69b(0x1e4)][_0x26f69b(0x1e3)]&&(_0xd00ec7[_0x26f69b(0x1e3)]=_0xb8c54b[_0x26f69b(0x1e4)][_0x26f69b(0x1e3)]),_0xb8c54b[_0x26f69b(0x1f1)][_0x26f69b(0x1e3)]&&(_0xd00ec7['options']=_0xb8c54b[_0x26f69b(0x1f1)][_0x26f69b(0x1e3)]),_0xb8c54b['filter'][_0x26f69b(0x1a8)]&&this[_0x26f69b(0x1b0)][_0x26f69b(0x1e0)]({'name':_0xd00ec7[_0x26f69b(0x1b3)],'operator':_0xd00ec7[_0x26f69b(0x1c2)],'value':_0xb8c54b[_0x26f69b(0x1e4)][_0x26f69b(0x1a8)]}),delete _0xb8c54b['filter'],_0xd00ec7;});}async['fetch'](){const _0x1b21e9=a0_0x38d97d;await this[_0x1b21e9(0x1ee)][_0x1b21e9(0x1cb)]();}async[a0_0x38d97d(0x1aa)]({page:_0x2626fb=0x0,limit:_0x4d8ef0=0x0,sortings:_0x4a2ff5=[],filters:_0x1b4bc8=[]}){const _0x3b7ae1=a0_0x38d97d;let _0x28d486=this[_0x3b7ae1(0x1c9)][_0x3b7ae1(0x1ca)](_0x3b7ae1(0x1d4));return await _0x28d486[_0x3b7ae1(0x1ea)](),!0x0;}async[a0_0x38d97d(0x1cd)](){const _0x607057=a0_0x38d97d;let _0x16e8b5=MetaApi[_0x607057(0x1d1)](this['grist']);!!ValueUtil['isNotEmpty'](_0x16e8b5)&&await this[_0x607057(0x1eb)](_0x16e8b5)&&this[_0x607057(0x1cb)]();}async[a0_0x38d97d(0x1ef)](){const _0x5a0378=a0_0x38d97d;let _0x4adf12=MetaApi[_0x5a0378(0x1b5)](this['grist'],!0x0);return ValueUtil[_0x5a0378(0x1cc)](_0x4adf12)?await this['findOne'](_0x4adf12[0x0]):{};}async[a0_0x38d97d(0x1b1)](){const _0x345ed1=a0_0x38d97d;let _0xfd40c7=MetaApi[_0x345ed1(0x1b5)](this[_0x345ed1(0x1ee)],!0x0);!!ValueUtil[_0x345ed1(0x1cc)](_0xfd40c7)&&await this['deleteByIds'](_0xfd40c7)&&this[_0x345ed1(0x1cb)]();}async[a0_0x38d97d(0x1a0)](){const _0x572b74=a0_0x38d97d;let _0x9cd7b0=TermsUtil[_0x572b74(0x1c3)](ValueUtil[_0x572b74(0x1dc)](this[_0x572b74(0x1d3)],_0x572b74(0x1a3)));return await MetaApi[_0x572b74(0x1e1)](this[_0x572b74(0x1cf)],_0x9cd7b0,this[_0x572b74(0x1ee)]);}async[a0_0x38d97d(0x1e8)](){}[a0_0x38d97d(0x1c8)](){const _0x2e1228=a0_0x38d97d;let _0x2bbd38=this['grist']['___data'][_0x2e1228(0x1d0)];return _0x2bbd38=JSON[_0x2e1228(0x1b9)](JSON[_0x2e1228(0x1da)](_0x2bbd38)),_0x2bbd38[_0x2e1228(0x1b7)](_0x22c763=>{const _0x346806=_0x2e1228;Object[_0x346806(0x1e2)](_0x22c763)['forEach'](_0x5a33e9=>{const _0x4a447d=_0x346806;_0x5a33e9[_0x4a447d(0x1bf)]('__')&&delete _0x22c763[_0x5a33e9];});}),{'main':_0x2bbd38,'detail':this['renderRoot'][_0x2e1228(0x1ca)](_0x2e1228(0x1d4))[_0x2e1228(0x1c8)]()};}};
@@ -1 +1 @@
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
+ const a0_0x56c1ac=a0_0x467f;(function(_0x2849d6,_0x43e28e){const _0x10cc4e=a0_0x467f,_0x371aa6=_0x2849d6();while(!![]){try{const _0x4ed33f=-parseInt(_0x10cc4e(0x13a))/0x1*(-parseInt(_0x10cc4e(0x13e))/0x2)+parseInt(_0x10cc4e(0x13c))/0x3*(parseInt(_0x10cc4e(0x110))/0x4)+parseInt(_0x10cc4e(0x132))/0x5*(-parseInt(_0x10cc4e(0x140))/0x6)+parseInt(_0x10cc4e(0x105))/0x7+parseInt(_0x10cc4e(0x11a))/0x8*(-parseInt(_0x10cc4e(0x135))/0x9)+-parseInt(_0x10cc4e(0x11b))/0xa*(-parseInt(_0x10cc4e(0x102))/0xb)+parseInt(_0x10cc4e(0x12b))/0xc*(-parseInt(_0x10cc4e(0x130))/0xd);if(_0x4ed33f===_0x43e28e)break;else _0x371aa6['push'](_0x371aa6['shift']());}catch(_0x43101c){_0x371aa6['push'](_0x371aa6['shift']());}}}(a0_0x3e1d,0xbd76e));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_0x467f(_0x546caa,_0x2c0cea){const _0x3e1de4=a0_0x3e1d();return a0_0x467f=function(_0x467f0e,_0x239167){_0x467f0e=_0x467f0e-0x101;let _0x55bbf3=_0x3e1de4[_0x467f0e];return _0x55bbf3;},a0_0x467f(_0x546caa,_0x2c0cea);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x3e1d(){const _0x2021e7=['parseBasicGridConfigs','type','dataSet','1CJzepU','querySelector','5553pKdvjX','grist','2663010jfwiDD','render','36soLCla','buttonConfig','context','filterFormId','22HyxosE','getBasicMainTabStyles','firstUpdated','1750147IccPVh','name','exportable','masterElement','search','parseGridConfigSet','getMainTabHtml','beforeFetch','searchFields','push','shadowRoot','2824MoRwNl','fetch','searchConfig','importable','useFilterForm','main','gridConfig','getAndParseMenuMeta','isElement','filterForm','1589160VmoMOC','3906870qWILXF','columns','grid','getData','activityDataSet','properties','filter','ox-grist','gristId','gristConfigSet','styles','grid_column','pageInitialized','value','searchFieldValues','options','26711436iEcmeM','parseGristConfigs','connectedCallback','record','getContextObject','13SYDpSA','map','390885qnpXXz','useMasterFilterForm','operator','9cDnDxi','clear'];a0_0x3e1d=function(){return _0x2021e7;};return a0_0x3e1d();}export const MetaMainTabMixin=_0x1bccff=>class extends MetaButtonMixin(_0x1bccff){static get[a0_0x56c1ac(0x125)](){const _0x423740=a0_0x56c1ac;return MetaApi[_0x423740(0x103)]();}static get[a0_0x56c1ac(0x120)](){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_0x56c1ac(0x13d)](){const _0x46811b=a0_0x56c1ac;return this[_0x46811b(0x108)]['getMainGrist']();}get[a0_0x56c1ac(0x119)](){const _0x1f6f35=a0_0x56c1ac;return this[_0x1f6f35(0x10f)]?.[_0x1f6f35(0x13b)](this[_0x1f6f35(0x101)]);}get[a0_0x56c1ac(0x142)](){const _0x13c375=a0_0x56c1ac;let _0x513949=MetaUiUtil[_0x13c375(0x12f)](this);return _0x513949['actions']&&delete _0x513949['actions'],_0x513949[_0x13c375(0x107)]&&delete _0x513949[_0x13c375(0x107)],_0x513949['importable']&&delete _0x513949[_0x13c375(0x113)],_0x513949;}async[a0_0x56c1ac(0x12d)](){const _0x25276e=a0_0x56c1ac;this[_0x25276e(0x123)]=_0x25276e(0x122),this[_0x25276e(0x101)]='ox-filters-form-base',await this[_0x25276e(0x117)](),this[_0x25276e(0x118)]&&await this[_0x25276e(0x12c)](),this[_0x25276e(0x11f)]&&(this[_0x25276e(0x139)]=(this[_0x25276e(0x11f)]||{})[_0x25276e(0x115)]),super[_0x25276e(0x12d)]&&await super[_0x25276e(0x12d)]();}async[a0_0x56c1ac(0x104)](){const _0x70e243=a0_0x56c1ac;super[_0x70e243(0x104)]&&await super[_0x70e243(0x104)]();}async[a0_0x56c1ac(0x127)](){const _0x3e1ee4=a0_0x56c1ac;this['isPage']&&await this[_0x3e1ee4(0x12c)](),super['pageInitialized']&&await super[_0x3e1ee4(0x127)]();}[a0_0x56c1ac(0x13f)](){const _0x3128ee=a0_0x56c1ac;return MetaApi[_0x3128ee(0x10b)](this);}[a0_0x56c1ac(0x137)](_0x3d1f0d){const _0xcc5088=a0_0x56c1ac;this[_0xcc5088(0x116)]=_0x3d1f0d[_0xcc5088(0x11d)],this['gridColumnConfig']=_0x3d1f0d[_0xcc5088(0x126)],this[_0xcc5088(0x112)]=_0x3d1f0d[_0xcc5088(0x109)];}async[a0_0x56c1ac(0x12c)](){const _0x1d732b=a0_0x56c1ac;this['gristConfigSet']=await MetaApi[_0x1d732b(0x10a)](this),this[_0x1d732b(0x133)]=!0x0===this[_0x1d732b(0x114)],this[_0x1d732b(0x114)]=!0x1,this[_0x1d732b(0x141)]=void 0x0,this['useButtonExport']=!0x1,this['useButtonImport']=!0x1,this[_0x1d732b(0x129)]=[],this[_0x1d732b(0x10d)]=this[_0x1d732b(0x124)][_0x1d732b(0x11c)]['filter'](_0x2df4b0=>_0x2df4b0[_0x1d732b(0x121)])[_0x1d732b(0x131)](_0x3257b1=>{const _0x333119=_0x1d732b;let _0x3280c4={'name':_0x3257b1[_0x333119(0x106)],'type':_0x333119(0x109)===_0x3257b1[_0x333119(0x121)][_0x333119(0x134)]?_0x333119(0x109):_0x3257b1[_0x333119(0x138)],'label':_0x3257b1['header'],'operator':_0x3257b1[_0x333119(0x121)][_0x333119(0x134)]?_0x3257b1[_0x333119(0x121)][_0x333119(0x134)]:'eq'};return _0x3257b1[_0x333119(0x121)]['options']&&(_0x3280c4[_0x333119(0x12a)]=_0x3257b1[_0x333119(0x121)][_0x333119(0x12a)]),_0x3257b1[_0x333119(0x12e)][_0x333119(0x12a)]&&(_0x3280c4['options']=_0x3257b1[_0x333119(0x12e)][_0x333119(0x12a)]),_0x3257b1[_0x333119(0x121)]['value']&&this[_0x333119(0x129)][_0x333119(0x10e)]({'name':_0x3280c4[_0x333119(0x106)],'operator':_0x3280c4['operator'],'value':_0x3257b1[_0x333119(0x121)][_0x333119(0x128)]}),delete _0x3257b1['filter'],_0x3280c4;});}async[a0_0x56c1ac(0x111)](){await this['grist']['fetch']();}async[a0_0x56c1ac(0x10c)]({page:_0x360f35=0x0,limit:_0x5f2a24=0x0,sortings:_0x418d8f=[],filters:_0x1515c5=[]}){const _0x419f84=a0_0x56c1ac;return this['masterElement']&&this[_0x419f84(0x108)][_0x419f84(0x136)]&&await this[_0x419f84(0x108)][_0x419f84(0x136)](),!0x0;}[a0_0x56c1ac(0x11e)](){const _0xf06331=a0_0x56c1ac;return{'master':this[_0xf06331(0x108)]['getData']()};}};
@@ -1 +1 @@
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
+ const a0_0xadbd17=a0_0x5e8e;(function(_0x41ca0f,_0x4af3b9){const _0x1077f=a0_0x5e8e,_0x36cdb0=_0x41ca0f();while(!![]){try{const _0x53e539=-parseInt(_0x1077f(0x14e))/0x1+parseInt(_0x1077f(0x139))/0x2+parseInt(_0x1077f(0x12e))/0x3*(-parseInt(_0x1077f(0x13a))/0x4)+-parseInt(_0x1077f(0x13e))/0x5*(parseInt(_0x1077f(0x113))/0x6)+-parseInt(_0x1077f(0x10f))/0x7+parseInt(_0x1077f(0x123))/0x8*(parseInt(_0x1077f(0x10d))/0x9)+parseInt(_0x1077f(0x147))/0xa*(parseInt(_0x1077f(0x14b))/0xb);if(_0x53e539===_0x4af3b9)break;else _0x36cdb0['push'](_0x36cdb0['shift']());}catch(_0x3c8a2f){_0x36cdb0['push'](_0x36cdb0['shift']());}}}(a0_0x3a99,0x7e5de));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3a99(){const _0x561cab=['exportableData','activityDataSet','getBasicMasterDetailStyles','grist','filterFormId','isElement','header','1852696ZYuwGB','3355616TRZrdI','ox-grist','searchFieldValues','deleteByIds','15vfNpoQ','patchesForUpdateMultiple','stringify','pageInitialized','getAndParseMenuMeta','isNotEmpty','properties','updateMultiple','grid_column','10APFRyM','getSelectedIdList','map','options','25229534cAgxPN','gristConfigSet','push','389198DWIpUd','gridColumnConfig','getData','import','renderRoot','main','parseBasicGridConfigs','save','isPage','ox-filters-form-base','styles','operator','detailElement','9USvsQR','grid','5751487QmGBMw','tTitle','startsWith','firstUpdated','1792596AHLCNQ','___data','search','parseGridConfigSet','importable','title','connectedCallback','render','value','forEach','getMasterDetailHtml','filter','actions','parseGristConfigs','export','beforeFetch','1949576bTGLIH','delete','searchFields','searchConfig','useFilterForm','fetch','getParams','gristId','querySelector','findOne','clear','3TFMXzp','context','menuInfo','record'];a0_0x3a99=function(){return _0x561cab;};return a0_0x3a99();}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_0x5e8e(_0x12f59c,_0x18edf3){const _0x3a9956=a0_0x3a99();return a0_0x5e8e=function(_0x5e8e2d,_0xfc053c){_0x5e8e2d=_0x5e8e2d-0x109;let _0x1f9a42=_0x3a9956[_0x5e8e2d];return _0x1f9a42;},a0_0x5e8e(_0x12f59c,_0x18edf3);}export const MetaMasterDetailMixin=_0x23953d=>class extends MetaButtonMixin(_0x23953d){static get[a0_0xadbd17(0x10a)](){const _0x32e54b=a0_0xadbd17;return MetaApi[_0x32e54b(0x134)]();}static get[a0_0xadbd17(0x144)](){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_0xadbd17(0x135)](){const _0xfa805e=a0_0xadbd17;return this[_0xfa805e(0x152)][_0xfa805e(0x12b)](this['gristId']);}get['filterForm'](){return this['shadowRoot']?.['querySelector'](this['filterFormId']);}get[a0_0xadbd17(0x12f)](){const _0xf1068f=a0_0xadbd17;let _0x42f795=MetaUiUtil['getContextObject'](this);return _0x42f795[_0xf1068f(0x11f)]&&delete _0x42f795['actions'],_0x42f795['exportable']&&delete _0x42f795['exportable'],_0x42f795['importable']&&delete _0x42f795[_0xf1068f(0x117)],_0x42f795;}async[a0_0xadbd17(0x119)](){const _0x10dc63=a0_0xadbd17;this[_0x10dc63(0x12a)]=_0x10dc63(0x13b),this[_0x10dc63(0x136)]=_0x10dc63(0x109),await this[_0x10dc63(0x142)](),this[_0x10dc63(0x137)]&&await this[_0x10dc63(0x120)](),this[_0x10dc63(0x133)]&&(this['dataSet']=(this[_0x10dc63(0x133)]||{})[_0x10dc63(0x153)]),super[_0x10dc63(0x119)]&&await super[_0x10dc63(0x119)]();}async[a0_0xadbd17(0x112)](){const _0x589225=a0_0xadbd17;super[_0x589225(0x112)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x47a2ec=a0_0xadbd17;this[_0x47a2ec(0x156)]&&await this['parseGristConfigs'](),super[_0x47a2ec(0x141)]&&await super[_0x47a2ec(0x141)]();}[a0_0xadbd17(0x11a)](){const _0x32cdd7=a0_0xadbd17;return MetaApi[_0x32cdd7(0x11d)](this);}[a0_0xadbd17(0x154)](_0x180044){const _0x5cf26d=a0_0xadbd17;this['gridConfig']=_0x180044[_0x5cf26d(0x10e)],this[_0x5cf26d(0x14f)]=_0x180044[_0x5cf26d(0x146)],this[_0x5cf26d(0x126)]=_0x180044[_0x5cf26d(0x115)];}async[a0_0xadbd17(0x120)](){const _0x5c4f1c=a0_0xadbd17;this[_0x5c4f1c(0x14c)]=await MetaApi[_0x5c4f1c(0x116)](this),this['useMasterFilterForm']=!0x0===this[_0x5c4f1c(0x127)],this['useFilterForm']=!0x1,this['searchFieldValues']=[],this[_0x5c4f1c(0x125)]=this['gristConfigSet']['columns']['filter'](_0x50d7bc=>_0x50d7bc[_0x5c4f1c(0x11e)])[_0x5c4f1c(0x149)](_0x19c682=>{const _0x12371d=_0x5c4f1c;let _0x18931f={'name':_0x19c682['name'],'type':_0x12371d(0x115)===_0x19c682['filter']['operator']?_0x12371d(0x115):_0x19c682['type'],'label':_0x19c682[_0x12371d(0x138)],'operator':_0x19c682['filter'][_0x12371d(0x10b)]?_0x19c682['filter'][_0x12371d(0x10b)]:'eq'};return _0x19c682['filter'][_0x12371d(0x14a)]&&(_0x18931f[_0x12371d(0x14a)]=_0x19c682[_0x12371d(0x11e)][_0x12371d(0x14a)]),_0x19c682[_0x12371d(0x131)][_0x12371d(0x14a)]&&(_0x18931f['options']=_0x19c682[_0x12371d(0x131)]['options']),_0x19c682['filter']['value']&&this[_0x12371d(0x13c)][_0x12371d(0x14d)]({'name':_0x18931f['name'],'operator':_0x18931f['operator'],'value':_0x19c682['filter'][_0x12371d(0x11b)]}),delete _0x19c682[_0x12371d(0x11e)],_0x18931f;});}async[a0_0xadbd17(0x128)](){const _0x3dc614=a0_0xadbd17;await this[_0x3dc614(0x135)][_0x3dc614(0x128)]();}async[a0_0xadbd17(0x122)]({page:_0x47b7eb=0x0,limit:_0x561366=0x0,sortings:_0x1ba997=[],filters:_0x2fda19=[]}){const _0x37b5eb=a0_0xadbd17;return this['detailElement']&&this['detailElement'][_0x37b5eb(0x12d)]&&await this[_0x37b5eb(0x10c)][_0x37b5eb(0x12d)](),!0x0;}async[a0_0xadbd17(0x155)](){const _0x388d55=a0_0xadbd17;let _0x47d5e0=MetaApi[_0x388d55(0x13f)](this[_0x388d55(0x135)]);!!ValueUtil[_0x388d55(0x143)](_0x47d5e0)&&await this[_0x388d55(0x145)](_0x47d5e0)&&this['fetch']();}async['find'](){const _0x3d3723=a0_0xadbd17;let _0x2ee02c=MetaApi[_0x3d3723(0x148)](this[_0x3d3723(0x135)],!0x0);return ValueUtil[_0x3d3723(0x143)](_0x2ee02c)?await this[_0x3d3723(0x12c)](_0x2ee02c[0x0]):{};}async[a0_0xadbd17(0x124)](){const _0x343e2a=a0_0xadbd17;let _0x239bba=MetaApi['getSelectedIdList'](this[_0x343e2a(0x135)],!0x0);!!ValueUtil[_0x343e2a(0x143)](_0x239bba)&&await this[_0x343e2a(0x13d)](_0x239bba)&&this[_0x343e2a(0x128)]();}async[a0_0xadbd17(0x121)](){const _0x2f2061=a0_0xadbd17;let _0x3146de=TermsUtil[_0x2f2061(0x110)](ValueUtil[_0x2f2061(0x129)](this[_0x2f2061(0x130)],_0x2f2061(0x118)));return await MetaApi[_0x2f2061(0x132)](this[_0x2f2061(0x137)],_0x3146de,this[_0x2f2061(0x135)]);}async[a0_0xadbd17(0x151)](){}[a0_0xadbd17(0x150)](){const _0x9c211=a0_0xadbd17;let _0x363496=this['grist'][_0x9c211(0x114)]['records'];return _0x363496=JSON['parse'](JSON[_0x9c211(0x140)](_0x363496)),_0x363496['forEach'](_0x3f3ed5=>{const _0x2569fd=_0x9c211;Object['keys'](_0x3f3ed5)[_0x2569fd(0x11c)](_0x4a58fc=>{const _0x26aebc=_0x2569fd;_0x4a58fc[_0x26aebc(0x111)]('__')&&delete _0x3f3ed5[_0x4a58fc];});}),{'main':_0x363496,'detail':this[_0x9c211(0x10c)][_0x9c211(0x150)]()};}};
@@ -1 +1 @@
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
+ function a0_0xb144(_0x2e9ecf,_0x392267){const _0x581980=a0_0x5819();return a0_0xb144=function(_0xb144c6,_0x273e77){_0xb144c6=_0xb144c6-0xac;let _0x313907=_0x581980[_0xb144c6];return _0x313907;},a0_0xb144(_0x2e9ecf,_0x392267);}const a0_0x302ac8=a0_0xb144;(function(_0x5a5ce2,_0x481e46){const _0x1dfc8b=a0_0xb144,_0x30f970=_0x5a5ce2();while(!![]){try{const _0x1d39c1=parseInt(_0x1dfc8b(0xb9))/0x1+parseInt(_0x1dfc8b(0xd0))/0x2*(parseInt(_0x1dfc8b(0xe2))/0x3)+parseInt(_0x1dfc8b(0xcb))/0x4*(parseInt(_0x1dfc8b(0xdd))/0x5)+parseInt(_0x1dfc8b(0xc7))/0x6+parseInt(_0x1dfc8b(0xac))/0x7+parseInt(_0x1dfc8b(0xae))/0x8+-parseInt(_0x1dfc8b(0xce))/0x9;if(_0x1d39c1===_0x481e46)break;else _0x30f970['push'](_0x30f970['shift']());}catch(_0x24b2d5){_0x30f970['push'](_0x30f970['shift']());}}}(a0_0x5819,0x9756b));import{adjustFilters}from'@operato/utils';function a0_0x5819(){const _0x3409b3=['runScenario','isEmpty','forEach','deleteByIds','skip_fields','includes','isPage','323571dRRrKQ','dataSet','mainFilterForm','lifecycle','func','name','gqlInfo','parent_id','length','map','getPageNavigateParams','params','parseBasicServiceConfigs','records','6643650OedYnA','updateMultiple','delete','fetchHandler','742408FoRFpn','data','list_func','16088445HRnlxf','columns','2926GiGEMX','gristConfigSet','beforeFetch','getQueryFilters','multiple','filter','query','keys','deleteListByIds','filterForm','isNotEmpty','findOne','replace','5TspMnJ','afterFetch','is_activity','searchByPagination','gql','276XGlOKo','getSelectColumns','result','after_set_fields','mutation','getParams','callScenario','pass','split','233744kjoYKP','find_one_func','4984416hzADnV','properties','parse','infinityPage'];a0_0x5819=function(){return _0x3409b3;};return a0_0x5819();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x266422=>class extends MetaBaseMixin(_0x266422){static get[a0_0x302ac8(0xaf)](){return{'gqlInfo':Object};}[a0_0x302ac8(0xc5)](_0x44bbe2){const _0x1a6baf=a0_0x302ac8;this[_0x1a6baf(0xbf)]=_0x44bbe2[_0x1a6baf(0xe1)];}async[a0_0x302ac8(0xca)]({page:_0x3fb69a=0x0,limit:_0xbea757=0x0,sortings:_0x348dbe=[],filters:_0x3e1d96=[]}){const _0xa93903=a0_0x302ac8;if(this[_0xa93903(0xdf)])return{'total':0x0,'records':this[_0xa93903(0xba)]||[]};if(!0x0===this[_0xa93903(0xb1)]&&(_0x3fb69a=0x0,_0xbea757=0x0),this[_0xa93903(0xd2)]&&0x0==await this[_0xa93903(0xd2)]({'page':_0x3fb69a,'limit':_0xbea757,'sortings':_0x348dbe,'filters':_0x3e1d96}))return;if(!this[_0xa93903(0xd1)])return{'total':0x0,'records':[]};let _0x1a6d71=ValueUtil[_0xa93903(0xb3)](_0x3e1d96)?this[_0xa93903(0xbb)]?await this['mainFilterForm'][_0xa93903(0xd3)]()||[]:await this[_0xa93903(0xd9)]?.['getQueryFilters']()||[]:_0x3e1d96,_0x2d750e=ValueUtil[_0xa93903(0xe7)](this[_0xa93903(0xbf)],_0xa93903(0xd6),_0xa93903(0xcd)),_0x2d8310=ValueUtil['getParams'](this['gqlInfo'],_0xa93903(0xd6),'filters'),_0x10e041=ValueUtil[_0xa93903(0xe7)](this[_0xa93903(0xbf)],_0xa93903(0xd6),_0xa93903(0xe5));if(ValueUtil[_0xa93903(0xda)](_0x2d8310)&&(_0x1a6d71=adjustFilters(_0x1a6d71,_0x2d8310)),_0x1a6d71['push'](...this[_0xa93903(0xc3)]()),this['isElement']&&!this[_0xa93903(0xbb)]){let _0x1aa0d4=ValueUtil[_0xa93903(0xe7)](this[_0xa93903(0xbf)],_0xa93903(0xd6),_0xa93903(0xc0));if(!ValueUtil['isNotEmpty'](_0x1aa0d4)||!ValueUtil[_0xa93903(0xda)](this[_0xa93903(0xc0)]))return{'total':0x0,'records':[]};_0x1a6d71=adjustFilters(_0x1a6d71,[{'name':_0x1aa0d4,'operator':'eq','value':this['parent_id']}]);}let _0x1de6e5=Object['keys'](_0x10e041||{}),_0x135275=MetaApi['getSelectColumns'](this[_0xa93903(0xd1)][_0xa93903(0xcf)][_0xa93903(0xd5)](_0x215e1b=>!_0x1de6e5['includes'](_0x215e1b['name']))),_0x36e8da={};if(_0x2d750e[_0xa93903(0xb7)]('$')){let _0x2b6e68=_0x2d750e[_0xa93903(0xdc)]('$','');_0x36e8da=(await MetaApi[_0xa93903(0xe8)](void 0x0,_0x2b6e68,{'filters':_0x1a6d71,'pagination':{'page':_0x3fb69a,'limit':_0xbea757},'sortings':_0x348dbe},!0x1))[_0xa93903(0xcc)][_0xa93903(0xb2)][_0xa93903(0xcc)]['result'];}else _0x36e8da=await MetaApi[_0xa93903(0xe0)](_0x2d750e,_0x1a6d71,_0x348dbe,_0x3fb69a,_0xbea757,_0x135275);if(this[_0xa93903(0xde)]){let _0x543661=await this[_0xa93903(0xde)]({'page':_0x3fb69a,'limit':_0xbea757,'sortings':_0x348dbe,'filters':_0x3e1d96},_0x36e8da);if(_0x543661)return _0x543661;}return ValueUtil[_0xa93903(0xda)](_0x10e041)&&ValueUtil[_0xa93903(0xda)](_0x36e8da)&&ValueUtil['isNotEmpty'](_0x36e8da[_0xa93903(0xc6)])&&_0x36e8da['records'][_0xa93903(0xc2)](_0x46938d=>(_0x1de6e5[_0xa93903(0xb4)](_0x11f7d7=>{const _0x22abab=_0xa93903;_0x46938d[_0x11f7d7]=ValueUtil[_0x22abab(0xe7)](_0x46938d,..._0x10e041[_0x11f7d7][_0x22abab(0xea)]('.'));}),_0x46938d)),_0x36e8da;}[a0_0x302ac8(0xc3)](){const _0x1341e9=a0_0x302ac8;if(0x0==this[_0x1341e9(0xb8)])return[];let _0x19c34c=this['lifecycle']?.[_0x1341e9(0xc4)]?this[_0x1341e9(0xbc)]['params']:{};if(!_0x19c34c[_0x1341e9(0xe9)])return[];let _0xbd517=_0x19c34c['pass'],_0x44b999=JSON[_0x1341e9(0xb0)](_0xbd517),_0xd5db8b=0x1==_0x44b999[_0x1341e9(0xc1)]?'eq':'in',_0x3b66ba={},_0x583cc1=[];return Object[_0x1341e9(0xd7)](_0x44b999[0x0])[_0x1341e9(0xb4)](_0x460310=>{_0x3b66ba[_0x460310]={'name':_0x460310,'operator':_0xd5db8b,'value':'eq'===_0xd5db8b?_0x44b999[0x0][_0x460310]:[]};}),_0x44b999[_0x1341e9(0xc1)]>0x1&&_0x44b999['forEach'](_0x5332d6=>{const _0x1192e0=_0x1341e9;Object['keys'](_0x5332d6)[_0x1192e0(0xb4)](_0x5a9abd=>{_0x3b66ba[_0x5a9abd]['value']['push'](_0x5332d6[_0x5a9abd]);});}),Object['keys'](_0x3b66ba)[_0x1341e9(0xb4)](_0x4dbdef=>{_0x583cc1['push'](_0x3b66ba[_0x4dbdef]);}),_0x583cc1;}async['findOne'](_0x544fef){const _0x4741be=a0_0x302ac8;if(this[_0x4741be(0xdf)])return this[_0x4741be(0xba)]||{};let _0x3578a0=ValueUtil[_0x4741be(0xe7)](this[_0x4741be(0xbf)],'query',_0x4741be(0xad)),_0x45cc9e=ValueUtil[_0x4741be(0xe7)](this[_0x4741be(0xbf)],'query','after_set_fields'),_0x2aa0cf=Object[_0x4741be(0xd7)](_0x45cc9e||{}),_0x476511=MetaApi[_0x4741be(0xe3)]((this[_0x4741be(0xd1)]?this[_0x4741be(0xd1)]:{'columns':this['formConfigSet']})[_0x4741be(0xcf)]['filter'](_0x198e34=>!_0x2aa0cf[_0x4741be(0xb7)](_0x198e34[_0x4741be(0xbe)]))),_0x4f46e2={};if(_0x3578a0['includes']('$')){let _0x18fbfd=_0x3578a0[_0x4741be(0xdc)]('$',''),_0x53c16f=await MetaApi['callScenario'](void 0x0,_0x18fbfd,{'id':_0x544fef},!0x1);_0x4f46e2=_0x53c16f[_0x4741be(0xcc)][_0x4741be(0xb2)][_0x4741be(0xcc)][_0x4741be(0xe4)];}else _0x4f46e2=await MetaApi[_0x4741be(0xdb)](_0x3578a0,_0x544fef,_0x476511);return ValueUtil[_0x4741be(0xda)](_0x45cc9e)&&ValueUtil[_0x4741be(0xda)](_0x4f46e2)&&_0x2aa0cf[_0x4741be(0xb4)](_0x958665=>{const _0x1e548d=_0x4741be;_0x4f46e2[_0x958665]=ValueUtil[_0x1e548d(0xe7)](_0x4f46e2,..._0x45cc9e[_0x958665][_0x1e548d(0xea)]('.'));}),_0x4f46e2;}async[a0_0x302ac8(0xb5)](_0x43c906){const _0x5c740a=a0_0x302ac8;let _0x19215e=ValueUtil['getParams'](this[_0x5c740a(0xbf)],_0x5c740a(0xe6),_0x5c740a(0xc9),_0x5c740a(0xbd));return await MetaApi[_0x5c740a(0xd8)](_0x43c906,_0x19215e);}async[a0_0x302ac8(0xc8)](_0x1d6f02){const _0x4974a8=a0_0x302ac8;let _0x39d1f7=ValueUtil[_0x4974a8(0xe7)](this['gqlInfo'],'mutation',_0x4974a8(0xd4),'func'),_0x302d72=ValueUtil['getParams'](this[_0x4974a8(0xbf)],_0x4974a8(0xe6),_0x4974a8(0xd4),_0x4974a8(0xb6));if(ValueUtil[_0x4974a8(0xda)](_0x302d72)&&(_0x302d72=_0x302d72[_0x4974a8(0xc2)](_0x3e599d=>_0x3e599d[_0x4974a8(0xb7)]('.')?_0x3e599d[_0x4974a8(0xea)]('.'):_0x3e599d),_0x1d6f02=_0x1d6f02['map'](_0x1c64b5=>(_0x302d72['forEach'](_0x26ed94=>{Array['isArray'](_0x26ed94)?delete _0x1c64b5[_0x26ed94[0x0]][_0x26ed94[0x1]]:delete _0x1c64b5[_0x26ed94];}),_0x1c64b5))),this['isElement']&&ValueUtil[_0x4974a8(0xda)](this[_0x4974a8(0xc0)])){let _0x19f758=ValueUtil['getParams'](this[_0x4974a8(0xbf)],'mutation',_0x4974a8(0xd4),_0x4974a8(0xc0));ValueUtil[_0x4974a8(0xda)](_0x19f758)&&_0x1d6f02[_0x4974a8(0xb4)](_0xe322c4=>{const _0x28d507=_0x4974a8;if(_0x19f758[_0x28d507(0xb7)]('.')){let _0x46a266=_0x19f758['split']('.');_0xe322c4[_0x46a266[0x0]]={},_0xe322c4[_0x46a266[0x0]][_0x46a266[0x1]]=this[_0x28d507(0xc0)];}else _0xe322c4[_0x19f758]=this[_0x28d507(0xc0)];});}return await MetaApi[_0x4974a8(0xc8)](_0x39d1f7,_0x1d6f02);}};
@@ -1 +1 @@
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
+ const a0_0x49aba1=a0_0x2e7b;(function(_0x10f007,_0x203953){const _0xf1dc36=a0_0x2e7b,_0x352273=_0x10f007();while(!![]){try{const _0x235df2=-parseInt(_0xf1dc36(0x1dc))/0x1+parseInt(_0xf1dc36(0x1de))/0x2*(-parseInt(_0xf1dc36(0x1fd))/0x3)+parseInt(_0xf1dc36(0x1f8))/0x4*(parseInt(_0xf1dc36(0x1ef))/0x5)+-parseInt(_0xf1dc36(0x1e8))/0x6*(-parseInt(_0xf1dc36(0x1ee))/0x7)+parseInt(_0xf1dc36(0x1f0))/0x8+parseInt(_0xf1dc36(0x204))/0x9+-parseInt(_0xf1dc36(0x1d5))/0xa;if(_0x235df2===_0x203953)break;else _0x352273['push'](_0x352273['shift']());}catch(_0x117487){_0x352273['push'](_0x352273['shift']());}}}(a0_0x1a14,0x3b764));function a0_0x1a14(){const _0x107704=['fetch','769146MJpcyy','querySelector','useButtonExport','gristConfigSet','useFilterForm','value','14EdkChd','14855aBkklC','3133648jzpGQg','gridColumnConfig','properties','importable','getBasicTabDetailStyles','getContextObject','shadowRoot','parseGristConfigs','444IWFHFq','buttonConfig','columns','filterForm','record','184833Zfgzdh','styles','pageInitialized','connectedCallback','getData','options','getTabDetailHtml','2479086nKBvaJ','getAndParseMenuMeta','clear','activityDataSet','operator','grist','gridConfig','useButtonImport','actions','type','name','filter','header','grid_column','filterFormId','masterElement','search','5624160naDFyd','useMasterFilterForm','main','render','context','parseGridConfigSet','firstUpdated','262518KIAgMr','detailElement','6lTHxjJ','searchFields','ox-grist','dataSet','parseBasicGridConfigs','ox-filters-form-base','searchFieldValues','beforeFetch','isElement'];a0_0x1a14=function(){return _0x107704;};return a0_0x1a14();}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_0x2e7b(_0x5028b6,_0x11da26){const _0x1a14bc=a0_0x1a14();return a0_0x2e7b=function(_0x2e7b5a,_0x5477de){_0x2e7b5a=_0x2e7b5a-0x1d3;let _0x5726da=_0x1a14bc[_0x2e7b5a];return _0x5726da;},a0_0x2e7b(_0x5028b6,_0x11da26);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x478c28=>class extends MetaButtonMixin(_0x478c28){static get[a0_0x49aba1(0x1fe)](){const _0x575cc0=a0_0x49aba1;return MetaApi[_0x575cc0(0x1f4)]();}static get[a0_0x49aba1(0x1f2)](){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_0x49aba1(0x209)](){const _0x2e8cb0=a0_0x49aba1;return this[_0x2e8cb0(0x1d3)]['getMainGrist']();}get[a0_0x49aba1(0x1fb)](){const _0x400334=a0_0x49aba1;return this[_0x400334(0x1f6)]?.[_0x400334(0x1e9)](this[_0x400334(0x212)]);}get[a0_0x49aba1(0x1d9)](){const _0x591894=a0_0x49aba1;let _0x35c5cd=MetaUiUtil[_0x591894(0x1f5)](this);return _0x35c5cd[_0x591894(0x20c)]&&delete _0x35c5cd[_0x591894(0x20c)],_0x35c5cd['exportable']&&delete _0x35c5cd['exportable'],_0x35c5cd[_0x591894(0x1f3)]&&delete _0x35c5cd['importable'],_0x35c5cd;}async['connectedCallback'](){const _0x54b381=a0_0x49aba1;this['gristId']=_0x54b381(0x1e0),this[_0x54b381(0x212)]=_0x54b381(0x1e3),await this[_0x54b381(0x205)](),this[_0x54b381(0x1e6)]&&await this[_0x54b381(0x1f7)](),this[_0x54b381(0x207)]&&(this[_0x54b381(0x1e1)]=(this[_0x54b381(0x207)]||{})[_0x54b381(0x1d7)]),super[_0x54b381(0x200)]&&await super[_0x54b381(0x200)]();}async[a0_0x49aba1(0x1db)](){const _0x809b0=a0_0x49aba1;super[_0x809b0(0x1db)]&&await super[_0x809b0(0x1db)]();}async[a0_0x49aba1(0x1ff)](){const _0x64286d=a0_0x49aba1;this['isPage']&&await this[_0x64286d(0x1f7)](),super[_0x64286d(0x1ff)]&&await super['pageInitialized']();}[a0_0x49aba1(0x1d8)](){const _0x12e20a=a0_0x49aba1;return MetaApi[_0x12e20a(0x203)](this);}[a0_0x49aba1(0x1e2)](_0x2dd58d){const _0x38f629=a0_0x49aba1;this[_0x38f629(0x20a)]=_0x2dd58d['grid'],this[_0x38f629(0x1f1)]=_0x2dd58d[_0x38f629(0x211)],this['searchConfig']=_0x2dd58d[_0x38f629(0x1d4)];}async[a0_0x49aba1(0x1f7)](){const _0x4dcf99=a0_0x49aba1;this[_0x4dcf99(0x1eb)]=await MetaApi[_0x4dcf99(0x1da)](this),this[_0x4dcf99(0x1d6)]=!0x0===this[_0x4dcf99(0x1ec)],this[_0x4dcf99(0x1ec)]=!0x1,this[_0x4dcf99(0x1f9)]=void 0x0,this[_0x4dcf99(0x1ea)]=!0x1,this[_0x4dcf99(0x20b)]=!0x1,this[_0x4dcf99(0x1e4)]=[],this[_0x4dcf99(0x1df)]=this[_0x4dcf99(0x1eb)][_0x4dcf99(0x1fa)][_0x4dcf99(0x20f)](_0x1fdd62=>_0x1fdd62[_0x4dcf99(0x20f)])['map'](_0x415bfe=>{const _0x2db503=_0x4dcf99;let _0x171048={'name':_0x415bfe[_0x2db503(0x20e)],'type':_0x2db503(0x1d4)===_0x415bfe[_0x2db503(0x20f)][_0x2db503(0x208)]?_0x2db503(0x1d4):_0x415bfe[_0x2db503(0x20d)],'label':_0x415bfe[_0x2db503(0x210)],'operator':_0x415bfe[_0x2db503(0x20f)][_0x2db503(0x208)]?_0x415bfe[_0x2db503(0x20f)][_0x2db503(0x208)]:'eq'};return _0x415bfe[_0x2db503(0x20f)]['options']&&(_0x171048[_0x2db503(0x202)]=_0x415bfe[_0x2db503(0x20f)]['options']),_0x415bfe[_0x2db503(0x1fc)][_0x2db503(0x202)]&&(_0x171048[_0x2db503(0x202)]=_0x415bfe[_0x2db503(0x1fc)][_0x2db503(0x202)]),_0x415bfe[_0x2db503(0x20f)]['value']&&this['searchFieldValues']['push']({'name':_0x171048[_0x2db503(0x20e)],'operator':_0x171048[_0x2db503(0x208)],'value':_0x415bfe[_0x2db503(0x20f)][_0x2db503(0x1ed)]}),delete _0x415bfe[_0x2db503(0x20f)],_0x171048;});}async[a0_0x49aba1(0x1e7)](){const _0x4b7c5c=a0_0x49aba1;await this[_0x4b7c5c(0x209)][_0x4b7c5c(0x1e7)]();}async[a0_0x49aba1(0x1e5)]({page:_0x1cfce9=0x0,limit:_0x48616f=0x0,sortings:_0x4faee2=[],filters:_0x55a396=[]}){const _0x3b1171=a0_0x49aba1;return this[_0x3b1171(0x1d3)]&&this[_0x3b1171(0x1d3)][_0x3b1171(0x206)]&&await this[_0x3b1171(0x1d3)]['clear'](),this['detailElement']&&this[_0x3b1171(0x1dd)][_0x3b1171(0x206)]&&await this[_0x3b1171(0x1dd)]['clear'](),!0x0;}[a0_0x49aba1(0x201)](){const _0x3a740d=a0_0x49aba1;return{'master':this['masterElement'][_0x3a740d(0x201)](),'detail':this[_0x3a740d(0x1dd)][_0x3a740d(0x201)]()};}};
@@ -1 +1 @@
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'];}}};
1
+ const a0_0x445d69=a0_0x1d89;(function(_0x41ac47,_0xd31bdc){const _0x112fe3=a0_0x1d89,_0x501cd7=_0x41ac47();while(!![]){try{const _0x51c49c=-parseInt(_0x112fe3(0x140))/0x1*(parseInt(_0x112fe3(0x14d))/0x2)+parseInt(_0x112fe3(0x12c))/0x3*(parseInt(_0x112fe3(0x14b))/0x4)+-parseInt(_0x112fe3(0x138))/0x5+parseInt(_0x112fe3(0x135))/0x6*(parseInt(_0x112fe3(0x12d))/0x7)+-parseInt(_0x112fe3(0x148))/0x8+-parseInt(_0x112fe3(0x132))/0x9+-parseInt(_0x112fe3(0x14f))/0xa*(-parseInt(_0x112fe3(0x139))/0xb);if(_0x51c49c===_0xd31bdc)break;else _0x501cd7['push'](_0x501cd7['shift']());}catch(_0x385e11){_0x501cd7['push'](_0x501cd7['shift']());}}}(a0_0x26ae,0xa2fc4));function a0_0x1d89(_0x5407b6,_0x14b372){const _0x26aefd=a0_0x26ae();return a0_0x1d89=function(_0x1d8965,_0x1be399){_0x1d8965=_0x1d8965-0x12c;let _0x2b97f8=_0x26aefd[_0x1d8965];return _0x2b97f8;},a0_0x1d89(_0x5407b6,_0x14b372);}function a0_0x26ae(){const _0x51c0eb=['main_tab_info','etcConfig','button','activityDataSet','4642640gKukDZ','parseBasicTabConfigs','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}','1280996sHcCpI','name','900738HocmED','getMainGrist','1390bcSpvS','forEach','clear','getBasicTabHtml','grist','connectedCallback','route_name','mainFilterForm','includeMainList','getBasicTabStyles','3ODtyKU','249130InEWCp','pageInitialized','display','tabElements','getData','1663911gepIKP','length','splice','96NVgLQu','parse','@things-factory/meta-ui/client/pages/meta-grist-element','1052010WjdzoN','95271dGrGwq','firstUpdated','index','currentTabKey','render','tab','keys','1MeSnjN','tabRenderConfig','getAndParseMenuMeta','styles'];a0_0x26ae=function(){return _0x51c0eb;};return a0_0x26ae();}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=_0x2ef681=>class extends MetaButtonMixin(_0x2ef681){static get[a0_0x445d69(0x143)](){const _0x2b4a3c=a0_0x445d69;return MetaApi[_0x2b4a3c(0x158)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){return MetaUiUtil['getContextObject'](this);}async[a0_0x445d69(0x154)](){const _0xf8271f=a0_0x445d69;this[_0xf8271f(0x13c)]=void 0x0,await this[_0xf8271f(0x142)](),this[_0xf8271f(0x147)]&&(this['dataSet']=this[_0xf8271f(0x147)]),super['connectedCallback']&&await super[_0xf8271f(0x154)]();}async[a0_0x445d69(0x13a)](){const _0x2fa5ec=a0_0x445d69;super['firstUpdated']&&await super[_0x2fa5ec(0x13a)]();}async[a0_0x445d69(0x12e)](){const _0x267e22=a0_0x445d69;super[_0x267e22(0x12e)]&&await super[_0x267e22(0x12e)]();}[a0_0x445d69(0x13d)](){const _0x1efb2e=a0_0x445d69;return MetaApi[_0x1efb2e(0x152)](this);}[a0_0x445d69(0x149)](_0xca355c){const _0x23f321=a0_0x445d69;if(!0x0===this[_0x23f321(0x157)]){let _0x1ef1ed=this[_0x23f321(0x145)][_0x23f321(0x144)],_0x2b7f69=JSON[_0x23f321(0x136)](_0x1ef1ed||_0x23f321(0x14a));_0x2b7f69[_0x23f321(0x13b)]>_0xca355c[_0x23f321(0x13e)]['length']&&(_0x2b7f69[_0x23f321(0x13b)]=_0xca355c[_0x23f321(0x13e)]['length']),_0xca355c[_0x23f321(0x13e)][_0x23f321(0x134)](_0x2b7f69[_0x23f321(0x13b)],0x0,{'name':_0x2b7f69[_0x23f321(0x14c)],'display':_0x2b7f69[_0x23f321(0x12f)],'tagname':'meta-grist-element','location':_0x23f321(0x137),'parent_field':'id','param_field':'param_field','menu':this[_0x23f321(0x155)],'icon':_0x2b7f69['icon'],'filter_from':!0x1,'main_filter_form':this[_0x23f321(0x156)]});}this[_0x23f321(0x141)]=_0xca355c['tab'],_0xca355c[_0x23f321(0x146)]=[];}async['clear'](){const _0x4675e6=a0_0x445d69;if(this[_0x4675e6(0x130)]){let _0x165d82=Object[_0x4675e6(0x13f)](this[_0x4675e6(0x130)]);for(var _0xe86c9c=0x0;_0xe86c9c<_0x165d82[_0x4675e6(0x133)];_0xe86c9c++)await this['tabElements'][_0x165d82[_0xe86c9c]][_0x4675e6(0x151)]();}}[a0_0x445d69(0x131)](){const _0x3ca3b1=a0_0x445d69;let _0xbc1c83={};return this[_0x3ca3b1(0x130)]&&Object['keys'](this[_0x3ca3b1(0x130)])[_0x3ca3b1(0x150)](_0x113265=>{const _0x5e9654=_0x3ca3b1;_0xbc1c83[_0x113265]=this[_0x5e9654(0x130)][_0x113265][_0x5e9654(0x131)]();}),_0xbc1c83;}[a0_0x445d69(0x14e)](){const _0x592f14=a0_0x445d69;if(this[_0x592f14(0x130)]){let _0x596e6f=Object[_0x592f14(0x13f)](this[_0x592f14(0x130)]);return this['tabElements'][_0x596e6f[0x0]][_0x592f14(0x153)];}}};