@things-factory/meta-ui 6.0.149 → 6.0.151

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 (87) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +10 -10
  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/grid-personalize/grid-personalize-mutation.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize.js +1 -1
  71. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  72. package/server/service/meta-activity/meta-activity-query.js +1 -1
  73. package/server/service/meta-activity/meta-activity-type.js +1 -1
  74. package/server/service/meta-secret/meta-resolver.js +1 -1
  75. package/server/service/set-translations/set-translation-resolver.js +1 -1
  76. package/server/service/work-code/work-code-mutation.js +1 -1
  77. package/server/service/work-code/work-code-query.js +1 -1
  78. package/server/service/work-code/work-code-type.js +1 -1
  79. package/server/service/work-code/work-code.js +1 -1
  80. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail.js +1 -1
  84. package/translations/en.json +1 -0
  85. package/translations/ko.json +1 -0
  86. package/translations/ms.json +1 -0
  87. package/translations/zh.json +1 -0
@@ -1,4 +1,4 @@
1
- const a0_0x2110ed=a0_0x3edc;(function(_0x148eac,_0x1ce4bd){const _0x33d41d=a0_0x3edc,_0x2e836e=_0x148eac();while(!![]){try{const _0x58b087=parseInt(_0x33d41d(0x12a))/0x1+-parseInt(_0x33d41d(0x161))/0x2+parseInt(_0x33d41d(0x12d))/0x3*(-parseInt(_0x33d41d(0x13a))/0x4)+-parseInt(_0x33d41d(0x14b))/0x5*(parseInt(_0x33d41d(0x13d))/0x6)+parseInt(_0x33d41d(0x130))/0x7+-parseInt(_0x33d41d(0x134))/0x8+parseInt(_0x33d41d(0x129))/0x9;if(_0x58b087===_0x1ce4bd)break;else _0x2e836e['push'](_0x2e836e['shift']());}catch(_0x210605){_0x2e836e['push'](_0x2e836e['shift']());}}}(a0_0xdf67,0x5b1d7));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3edc(_0x57a396,_0x10ad8a){const _0xdf678=a0_0xdf67();return a0_0x3edc=function(_0x3edc77,_0x1034cd){_0x3edc77=_0x3edc77-0x127;let _0x4e3c6f=_0xdf678[_0x3edc77];return _0x4e3c6f;},a0_0x3edc(_0x57a396,_0x10ad8a);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0xdf67(){const _0x5e7025=['searchConfig','startsWith','keys','getButtonContainer','1356028dpLrSt','fetch','records','3965406mEyGhV','patchesForUpdateMultiple','getBasicGristHtml','render','ox-grist','context','querySelector','activityDataSet','forEach','updateMultiple','isElement','clear','gristId','getAndParseMenuMeta','5DfYQhm','pageInitialized','___data','exportableData','firstUpdated','parseGristConfigs','isPage','tTitle','dataSet','properties','findOne','isNotEmpty','gridColumnConfig','parseGridConfigSet','getBasicGristStyles','search','gridConfig','connectedCallback','find','delete','getSelectedIdList','data','276164DsWRbH','getContextObject','renderRoot','menuInfo','16864155wrmZBa','250855KnhVGx','parseBasicGridConfigs','filterForm','6JeOHKq','gristConfigSet','ox-filters-form','718795QYEaGg','grist','filterFormId','grid','3017048lpaxvO','export'];a0_0xdf67=function(){return _0x5e7025;};return a0_0xdf67();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x4f8efc=>class extends MetaButtonMixin(_0x4f8efc){static get['styles'](){const _0x3a8fba=a0_0x3edc;return MetaApi[_0x3a8fba(0x159)]();}static get[a0_0x2110ed(0x154)](){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_0x2110ed(0x131)](){const _0x4bea39=a0_0x2110ed;return this[_0x4bea39(0x127)]?.['querySelector'](this[_0x4bea39(0x149)]);}get[a0_0x2110ed(0x12c)](){const _0x4fe72b=a0_0x2110ed;return this['shadowRoot']?.[_0x4fe72b(0x143)](this[_0x4fe72b(0x132)]);}get[a0_0x2110ed(0x142)](){const _0x107a52=a0_0x2110ed;return MetaUiUtil[_0x107a52(0x162)](this);}async[a0_0x2110ed(0x15c)](){const _0x450fad=a0_0x2110ed;this[_0x450fad(0x149)]=_0x450fad(0x141),this[_0x450fad(0x132)]=_0x450fad(0x12f),await this[_0x450fad(0x14a)](),this[_0x450fad(0x147)]&&await this['parseGristConfigs'](),this[_0x450fad(0x144)]&&(this[_0x450fad(0x153)]=this[_0x450fad(0x144)]),super[_0x450fad(0x15c)]&&await super[_0x450fad(0x15c)]();}async[a0_0x2110ed(0x14f)](){const _0x46c095=a0_0x2110ed;super[_0x46c095(0x14f)]&&await super[_0x46c095(0x14f)]();}async[a0_0x2110ed(0x14c)](){const _0x34c770=a0_0x2110ed;this[_0x34c770(0x151)]&&await this[_0x34c770(0x150)](),super[_0x34c770(0x14c)]&&await super[_0x34c770(0x14c)]();}[a0_0x2110ed(0x140)](){const _0x1297de=a0_0x2110ed;return html`
2
- ${MetaApi[_0x1297de(0x13f)](this)}
3
- ${this[_0x1297de(0x151)]?html``:MetaUiUtil[_0x1297de(0x139)](this)}
4
- `;}[a0_0x2110ed(0x12b)](_0x510477){const _0x450320=a0_0x2110ed;this[_0x450320(0x15b)]=_0x510477[_0x450320(0x133)],this[_0x450320(0x157)]=_0x510477['grid_column'],this[_0x450320(0x136)]=_0x510477[_0x450320(0x15a)];}async[a0_0x2110ed(0x150)](){const _0x3f2c86=a0_0x2110ed;this[_0x3f2c86(0x12e)]=await MetaApi[_0x3f2c86(0x158)](this);}async[a0_0x2110ed(0x13b)](){const _0x41da63=a0_0x2110ed;await this[_0x41da63(0x131)][_0x41da63(0x13b)]();}async['save'](){const _0x241ef9=a0_0x2110ed;let _0x146d68=MetaApi[_0x241ef9(0x13e)](this[_0x241ef9(0x131)]);!!ValueUtil[_0x241ef9(0x156)](_0x146d68)&&await this[_0x241ef9(0x146)](_0x146d68)&&this[_0x241ef9(0x13b)]();}async[a0_0x2110ed(0x15d)](){const _0x28c3df=a0_0x2110ed;let _0x47d564=MetaApi[_0x28c3df(0x15f)](this[_0x28c3df(0x131)],!0x0);return ValueUtil['isNotEmpty'](_0x47d564)?await this[_0x28c3df(0x155)](_0x47d564[0x0]):{};}async[a0_0x2110ed(0x15e)](){const _0xeefeb7=a0_0x2110ed;let _0x2ed889=MetaApi['getSelectedIdList'](this['grist'],!0x0);!!ValueUtil[_0xeefeb7(0x156)](_0x2ed889)&&await this['deleteByIds'](_0x2ed889)&&this[_0xeefeb7(0x13b)]();}async[a0_0x2110ed(0x135)](){const _0x3ff82e=a0_0x2110ed;let _0x41e411=TermsUtil[_0x3ff82e(0x152)](ValueUtil['getParams'](this[_0x3ff82e(0x128)],'title'));return await MetaApi[_0x3ff82e(0x14e)](this[_0x3ff82e(0x147)],_0x41e411,this['grist']);}async['import'](){}async[a0_0x2110ed(0x148)](){const _0x3ad186=a0_0x2110ed;this[_0x3ad186(0x131)]&&(this[_0x3ad186(0x131)][_0x3ad186(0x160)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0xe17d9d=a0_0x2110ed;let _0x5ae6cc=this[_0xe17d9d(0x131)][_0xe17d9d(0x14d)][_0xe17d9d(0x13c)];return _0x5ae6cc=JSON['parse'](JSON['stringify'](_0x5ae6cc)),_0x5ae6cc['forEach'](_0x447945=>{const _0x29ddf9=_0xe17d9d;Object[_0x29ddf9(0x138)](_0x447945)[_0x29ddf9(0x145)](_0x20acb3=>{const _0x4e3168=_0x29ddf9;_0x20acb3[_0x4e3168(0x137)]('__')&&delete _0x447945[_0x20acb3];});}),_0x5ae6cc;}};
1
+ function a0_0x5543(_0x211c8b,_0x1a07a3){const _0x45d634=a0_0x45d6();return a0_0x5543=function(_0x554332,_0x5d931b){_0x554332=_0x554332-0x192;let _0xd15a2d=_0x45d634[_0x554332];return _0xd15a2d;},a0_0x5543(_0x211c8b,_0x1a07a3);}const a0_0x39afb4=a0_0x5543;(function(_0x434a74,_0x4f8f6b){const _0x2051b8=a0_0x5543,_0xdf825b=_0x434a74();while(!![]){try{const _0xf96a3a=-parseInt(_0x2051b8(0x19c))/0x1*(parseInt(_0x2051b8(0x1bd))/0x2)+parseInt(_0x2051b8(0x196))/0x3+-parseInt(_0x2051b8(0x198))/0x4+parseInt(_0x2051b8(0x19e))/0x5+parseInt(_0x2051b8(0x1ab))/0x6*(-parseInt(_0x2051b8(0x19a))/0x7)+-parseInt(_0x2051b8(0x1ad))/0x8+-parseInt(_0x2051b8(0x1b7))/0x9*(-parseInt(_0x2051b8(0x19d))/0xa);if(_0xf96a3a===_0x4f8f6b)break;else _0xdf825b['push'](_0xdf825b['shift']());}catch(_0x4c0093){_0xdf825b['push'](_0xdf825b['shift']());}}}(a0_0x45d6,0x97bb6));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x45d6(){const _0x505a17=['deleteByIds','7078088RBqaRo','gristConfigSet','getSelectedIdList','ox-filters-form','getAndParseMenuMeta','styles','filterForm','fetch','connectedCallback','records','9xgWplb','___data','import','gridColumnConfig','gristId','parseGristConfigs','38cQBKTy','getContextObject','forEach','isNotEmpty','grist','updateMultiple','activityDataSet','render','properties','patchesForUpdateMultiple','ox-grist','pageInitialized','clear','getParams','save','stringify','firstUpdated','2540196AnFyOt','isElement','2333828VjqbqL','parseGridConfigSet','1722DPzOtu','exportableData','11241QvVKfT','16299430cTXUxj','4110890crrxmn','grid_column','parseBasicGridConfigs','startsWith','searchConfig','getBasicGristStyles','filterFormId','isPage','context','export','gridConfig','querySelector','parse','24282ZJroBs'];a0_0x45d6=function(){return _0x505a17;};return a0_0x45d6();}export const MetaBasicGristMixin=_0x50e93f=>class extends MetaButtonMixin(_0x50e93f){static get[a0_0x39afb4(0x1b2)](){const _0x297fbc=a0_0x39afb4;return MetaApi[_0x297fbc(0x1a3)]();}static get[a0_0x39afb4(0x1c5)](){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_0x39afb4(0x1c1)](){const _0x3be1df=a0_0x39afb4;return this['renderRoot']?.[_0x3be1df(0x1a9)](this[_0x3be1df(0x1bb)]);}get[a0_0x39afb4(0x1b3)](){const _0x5b6e23=a0_0x39afb4;return this['shadowRoot']?.['querySelector'](this[_0x5b6e23(0x1a4)]);}get[a0_0x39afb4(0x1a6)](){const _0x2d8282=a0_0x39afb4;return MetaUiUtil[_0x2d8282(0x1be)](this);}async['connectedCallback'](){const _0x344aae=a0_0x39afb4;this[_0x344aae(0x1bb)]=_0x344aae(0x1c7),this[_0x344aae(0x1a4)]=_0x344aae(0x1b0),await this[_0x344aae(0x1b1)](),this['isElement']&&await this[_0x344aae(0x1bc)](),this[_0x344aae(0x1c3)]&&(this['dataSet']=this['activityDataSet']),super['connectedCallback']&&await super[_0x344aae(0x1b5)]();}async[a0_0x39afb4(0x195)](){const _0x31ca19=a0_0x39afb4;super[_0x31ca19(0x195)]&&await super[_0x31ca19(0x195)]();}async[a0_0x39afb4(0x1c8)](){const _0xf1f16f=a0_0x39afb4;this[_0xf1f16f(0x1a5)]&&await this[_0xf1f16f(0x1bc)](),super['pageInitialized']&&await super[_0xf1f16f(0x1c8)]();}[a0_0x39afb4(0x1c4)](){return html`
2
+ ${MetaApi['getBasicGristHtml'](this)}
3
+ ${this['isPage']?html``:MetaUiUtil['getButtonContainer'](this)}
4
+ `;}[a0_0x39afb4(0x1a0)](_0x290cda){const _0x462045=a0_0x39afb4;this[_0x462045(0x1a8)]=_0x290cda['grid'],this[_0x462045(0x1ba)]=_0x290cda[_0x462045(0x19f)],this[_0x462045(0x1a2)]=_0x290cda['search'];}async['parseGristConfigs'](){const _0xcabc8e=a0_0x39afb4;this[_0xcabc8e(0x1ae)]=await MetaApi[_0xcabc8e(0x199)](this);}async[a0_0x39afb4(0x1b4)](){const _0x1ce019=a0_0x39afb4;await this[_0x1ce019(0x1c1)][_0x1ce019(0x1b4)]();}async[a0_0x39afb4(0x193)](){const _0x4613e3=a0_0x39afb4;let _0x4db87b=MetaApi[_0x4613e3(0x1c6)](this[_0x4613e3(0x1c1)]);!!ValueUtil[_0x4613e3(0x1c0)](_0x4db87b)&&await this[_0x4613e3(0x1c2)](_0x4db87b)&&this[_0x4613e3(0x1b4)]();}async['find'](){const _0x4434bc=a0_0x39afb4;let _0x249c7f=MetaApi[_0x4434bc(0x1af)](this[_0x4434bc(0x1c1)],!0x0);return ValueUtil[_0x4434bc(0x1c0)](_0x249c7f)?await this['findOne'](_0x249c7f[0x0]):{};}async['delete'](){const _0x1ef694=a0_0x39afb4;let _0x48faf9=MetaApi[_0x1ef694(0x1af)](this[_0x1ef694(0x1c1)],!0x0);!!ValueUtil[_0x1ef694(0x1c0)](_0x48faf9)&&await this[_0x1ef694(0x1ac)](_0x48faf9)&&this['fetch']();}async[a0_0x39afb4(0x1a7)](){const _0x4fc99d=a0_0x39afb4;let _0x2a90dc=TermsUtil['tTitle'](ValueUtil[_0x4fc99d(0x192)](this['menuInfo'],'title'));return await MetaApi[_0x4fc99d(0x19b)](this[_0x4fc99d(0x197)],_0x2a90dc,this[_0x4fc99d(0x1c1)]);}async[a0_0x39afb4(0x1b9)](){}async[a0_0x39afb4(0x1c9)](){const _0x572ddb=a0_0x39afb4;this['grist']&&(this[_0x572ddb(0x1c1)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0x334944=a0_0x39afb4;let _0x109a2d=this[_0x334944(0x1c1)][_0x334944(0x1b8)][_0x334944(0x1b6)];return _0x109a2d=JSON[_0x334944(0x1aa)](JSON[_0x334944(0x194)](_0x109a2d)),_0x109a2d[_0x334944(0x1bf)](_0x36260a=>{const _0x2f7bb2=_0x334944;Object['keys'](_0x36260a)[_0x2f7bb2(0x1bf)](_0x239265=>{const _0x591607=_0x2f7bb2;_0x239265[_0x591607(0x1a1)]('__')&&delete _0x36260a[_0x239265];});}),_0x109a2d;}};
@@ -1 +1 @@
1
- function a0_0x34b3(){const _0x4388d7=['buttonConfig','2463WxCtfV','8dgEdYU','1834602JUYxEp','getBasicButtonHandler','706250ncxRfi','useButtonAdd','465mAVOwJ','getCustomButtonContainerStyle','import','button','17872rSytEJ','add','2115360yfvDJf','320bgNgir','properties','534751DKmGfm','parseBasicButtonConfigs','getButtonActionHandler','16nkaJMG','getButtonContainer','getContextButtons','useButtonExport','8598sDAZXK','useButtonImport','isButtonExist'];a0_0x34b3=function(){return _0x4388d7;};return a0_0x34b3();}const a0_0x153f7f=a0_0x1ff7;(function(_0x496eb7,_0x20888a){const _0xa4b5cc=a0_0x1ff7,_0x2d6d85=_0x496eb7();while(!![]){try{const _0x3c0038=-parseInt(_0xa4b5cc(0x7c))/0x1*(parseInt(_0xa4b5cc(0x6a))/0x2)+-parseInt(_0xa4b5cc(0x72))/0x3*(-parseInt(_0xa4b5cc(0x7f))/0x4)+-parseInt(_0xa4b5cc(0x78))/0x5*(-parseInt(_0xa4b5cc(0x6e))/0x6)+-parseInt(_0xa4b5cc(0x67))/0x7*(parseInt(_0xa4b5cc(0x73))/0x8)+parseInt(_0xa4b5cc(0x7e))/0x9+parseInt(_0xa4b5cc(0x76))/0xa+-parseInt(_0xa4b5cc(0x74))/0xb;if(_0x3c0038===_0x20888a)break;else _0x2d6d85['push'](_0x2d6d85['shift']());}catch(_0x4814d1){_0x2d6d85['push'](_0x2d6d85['shift']());}}}(a0_0x34b3,0x1cebf));function a0_0x1ff7(_0xd1de50,_0x588afc){const _0x34b3e0=a0_0x34b3();return a0_0x1ff7=function(_0x1ff74d,_0x47da55){_0x1ff74d=_0x1ff74d-0x67;let _0x43dce0=_0x34b3e0[_0x1ff74d];return _0x43dce0;},a0_0x1ff7(_0xd1de50,_0x588afc);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x1e250b=>class extends MetaServiceMixin(_0x1e250b){static get[a0_0x153f7f(0x80)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x153f7f(0x79)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0x153f7f(0x6c)](){const _0x5a36a1=a0_0x153f7f;return MetaUiUtil[_0x5a36a1(0x6c)](this);}[a0_0x153f7f(0x6b)](){return this['isPage']?html``:MetaUiUtil['getButtonContainer'](this);}async[a0_0x153f7f(0x75)](_0x397689,_0x15294b,_0x2a7c94){const _0x4d1b9e=a0_0x153f7f;return await MetaUiUtil[_0x4d1b9e(0x69)](this,_0x397689,_0x15294b,_0x2a7c94);}async['customButtonHandler'](_0x5d6e71){await MetaUiUtil['customButtonHandler'](this,_0x5d6e71);}async['gristButtonHandler'](_0x188ac5,_0x510d94){await MetaUiUtil['gristButtonHandler'](this,_0x188ac5,_0x510d94);}[a0_0x153f7f(0x68)](_0xc03f5){const _0x4fbec8=a0_0x153f7f;this['buttonConfig']=_0xc03f5[_0x4fbec8(0x7b)],this[_0x4fbec8(0x6f)]=MetaUiUtil[_0x4fbec8(0x70)](this['buttonConfig'],_0x4fbec8(0x7a)),this[_0x4fbec8(0x6d)]=MetaUiUtil[_0x4fbec8(0x70)](this[_0x4fbec8(0x71)],'export'),this[_0x4fbec8(0x77)]=MetaUiUtil[_0x4fbec8(0x70)](this[_0x4fbec8(0x71)],_0x4fbec8(0x7d));}};
1
+ const a0_0x5a5130=a0_0x58ab;(function(_0x828315,_0x5eabf3){const _0x523919=a0_0x58ab,_0x4aabad=_0x828315();while(!![]){try{const _0x3c898c=parseInt(_0x523919(0x179))/0x1*(parseInt(_0x523919(0x18e))/0x2)+-parseInt(_0x523919(0x185))/0x3*(-parseInt(_0x523919(0x18c))/0x4)+parseInt(_0x523919(0x187))/0x5*(-parseInt(_0x523919(0x189))/0x6)+-parseInt(_0x523919(0x178))/0x7+-parseInt(_0x523919(0x184))/0x8*(-parseInt(_0x523919(0x17e))/0x9)+parseInt(_0x523919(0x18d))/0xa*(-parseInt(_0x523919(0x183))/0xb)+parseInt(_0x523919(0x17a))/0xc;if(_0x3c898c===_0x5eabf3)break;else _0x4aabad['push'](_0x4aabad['shift']());}catch(_0x57cc4b){_0x4aabad['push'](_0x4aabad['shift']());}}}(a0_0x3b45,0xa6136));import{html}from'lit';function a0_0x58ab(_0x15426e,_0x15e0dd){const _0x3b45e3=a0_0x3b45();return a0_0x58ab=function(_0x58ab36,_0x3c1f33){_0x58ab36=_0x58ab36-0x175;let _0x21fe1d=_0x3b45e3[_0x58ab36];return _0x21fe1d;},a0_0x58ab(_0x15426e,_0x15e0dd);}function a0_0x3b45(){const _0x2c0494=['112761tqQWUq','784mgDvAW','465zJXoyS','useButtonAdd','25QuuoEK','useButtonImport','998946FrgSuK','isButtonExist','button','34252LFtskx','870oIiNZL','189166naLytU','buttonConfig','useButtonExport','getButtonActionHandler','gristButtonHandler','7497651dsTYyk','1rgRfAq','15917124TKeUIK','getCustomButtonContainerStyles','isPage','customButtonHandler','66798tpHKFA','import','parseBasicButtonConfigs','getButtonContainer','export'];a0_0x3b45=function(){return _0x2c0494;};return a0_0x3b45();}import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x12e254=>class extends MetaServiceMixin(_0x12e254){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0x49cd17=a0_0x58ab;return MetaUiUtil[_0x49cd17(0x17b)]();}['getContextButtons'](){return MetaUiUtil['getContextButtons'](this);}[a0_0x5a5130(0x181)](){const _0x41d414=a0_0x5a5130;return this[_0x41d414(0x17c)]?html``:MetaUiUtil[_0x41d414(0x181)](this);}async['getBasicButtonHandler'](_0x49759c,_0x2d11ff,_0x18a63e){const _0x57015c=a0_0x5a5130;return await MetaUiUtil[_0x57015c(0x176)](this,_0x49759c,_0x2d11ff,_0x18a63e);}async['customButtonHandler'](_0x2c9f41){const _0x21b225=a0_0x5a5130;await MetaUiUtil[_0x21b225(0x17d)](this,_0x2c9f41);}async[a0_0x5a5130(0x177)](_0x1ac430,_0x17ac6e){const _0x4532a9=a0_0x5a5130;await MetaUiUtil[_0x4532a9(0x177)](this,_0x1ac430,_0x17ac6e);}[a0_0x5a5130(0x180)](_0x2cf0fa){const _0x158a30=a0_0x5a5130;this[_0x158a30(0x18f)]=_0x2cf0fa[_0x158a30(0x18b)],this[_0x158a30(0x188)]=MetaUiUtil[_0x158a30(0x18a)](this['buttonConfig'],_0x158a30(0x17f)),this[_0x158a30(0x175)]=MetaUiUtil[_0x158a30(0x18a)](this[_0x158a30(0x18f)],_0x158a30(0x182)),this[_0x158a30(0x186)]=MetaUiUtil[_0x158a30(0x18a)](this[_0x158a30(0x18f)],'add');}};
@@ -1 +1 @@
1
- const a0_0x27c635=a0_0x4657;(function(_0x1172e8,_0x292738){const _0x1224b3=a0_0x4657,_0xcd7772=_0x1172e8();while(!![]){try{const _0x16794f=parseInt(_0x1224b3(0x21d))/0x1*(-parseInt(_0x1224b3(0x1cd))/0x2)+parseInt(_0x1224b3(0x1dd))/0x3+parseInt(_0x1224b3(0x207))/0x4*(-parseInt(_0x1224b3(0x1da))/0x5)+-parseInt(_0x1224b3(0x1d1))/0x6*(-parseInt(_0x1224b3(0x1ff))/0x7)+parseInt(_0x1224b3(0x1d9))/0x8*(parseInt(_0x1224b3(0x20f))/0x9)+parseInt(_0x1224b3(0x1e5))/0xa*(parseInt(_0x1224b3(0x1ee))/0xb)+-parseInt(_0x1224b3(0x202))/0xc*(parseInt(_0x1224b3(0x21f))/0xd);if(_0x16794f===_0x292738)break;else _0xcd7772['push'](_0xcd7772['shift']());}catch(_0x1af04c){_0xcd7772['push'](_0xcd7772['shift']());}}}(a0_0x1c0e,0xd2a3f));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4657(_0x4ba91d,_0x3b65c0){const _0x1c0ece=a0_0x1c0e();return a0_0x4657=function(_0x465717,_0x54d2fe){_0x465717=_0x465717-0x1ca;let _0x2fef9c=_0x1c0ece[_0x465717];return _0x2fef9c;},a0_0x4657(_0x4ba91d,_0x3b65c0);}import{ValueUtil}from'../utils/value-util';function a0_0x1c0e(){const _0x2c385e=['showAlertPopup','clear','call','22536BViGHw','properties','column','currentData','renderRoot','activityDataSet','dataSet','orgData','Escape','addEventListener','connectedCallback','object','name','click','2bQqZxw','parseFormConfigSet','52nNNKTf','removeAttribute','context','validation','before','132838jxinXX','isNotEmpty','keydown','dirtyData','1178274mEHoae','is_activity','Enter','form','currentTarget','tagName','function','cuFlag','3448BnwJoM','10lrfBho','getAndParseMenuMeta','detail','2614611elqSpQ','after','__dirty__','isEmpty','focus','getData','parseFormConfigs','text.NOTHING_CHANGED','2837380fvBtif','__origin__','filter','map','assign','forEach','startsWith','getContextObject','save','11kaGonV','isPage','Esc','grid_column','field-change','pageInitialized','entries','parent_id','findOne','isEquals','stopPropagation','removeGarbageData','updateMultiple','fetch','editable','record','OX-GRID-FIELD','28HYCGis','__dirtyfields__','patchData','6013068fujHoy','firstUpdated','activity','isElement','setAttribute','40076NhgNfM','formRenderConfig','target','title.info','editing'];a0_0x1c0e=function(){return _0x2c385e;};return a0_0x1c0e();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x1822ea=>class extends MetaButtonMixin(_0x1822ea){static get['styles'](){return MetaApi['getBasicFormStyles']();}static get[a0_0x27c635(0x210)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x27c635(0x1ca)](){const _0x1c7aef=a0_0x27c635;return MetaUiUtil[_0x1c7aef(0x1ec)](this);}async[a0_0x27c635(0x219)](){const _0x3b2636=a0_0x27c635;await this[_0x3b2636(0x1db)](),this['isElement']&&await this['parseFormConfigs'](),this[_0x3b2636(0x214)]&&(this[_0x3b2636(0x215)]=this['activityDataSet']),!0x0!==this[_0x3b2636(0x1d2)]||this[_0x3b2636(0x1f5)]||(this[_0x3b2636(0x1f5)]=_0x3b2636(0x204)),super[_0x3b2636(0x219)]&&await super['connectedCallback'](),this[_0x3b2636(0x205)]&&await this[_0x3b2636(0x1fb)](),this[_0x3b2636(0x213)][_0x3b2636(0x218)](_0x3b2636(0x1cf),_0x3078ba=>{const _0x643b97=_0x3b2636;switch(_0x3078ba['key']){case _0x643b97(0x1f0):case _0x643b97(0x217):case _0x643b97(0x1d3):this[_0x643b97(0x1e1)](),this[_0x643b97(0x1d5)]&&this[_0x643b97(0x1d5)]['removeAttribute'](_0x643b97(0x20b)),this[_0x643b97(0x1d5)]=null;}}),this[_0x3b2636(0x213)][_0x3b2636(0x218)](_0x3b2636(0x21c),_0x45fdb4=>{const _0x228e6e=_0x3b2636;_0x45fdb4[_0x228e6e(0x1f8)]();let _0x3b94d4=_0x45fdb4[_0x228e6e(0x209)];if(this[_0x228e6e(0x1d5)]&&(this[_0x228e6e(0x1e1)](),this['currentTarget'][_0x228e6e(0x220)]('editing')),_0x228e6e(0x1fe)!==_0x3b94d4[_0x228e6e(0x1d6)]||!_0x3b94d4[_0x228e6e(0x211)]['record'][_0x228e6e(0x1fc)])return this['focus'](),void(this[_0x228e6e(0x1d5)]=null);this[_0x228e6e(0x1d5)]=_0x3b94d4,_0x3b94d4[_0x228e6e(0x206)]('editing','true');}),this['addEventListener'](_0x3b2636(0x1f2),_0x159bc8=>{const _0x1cd285=_0x3b2636;var {after:_0x4a18a7,before:_0x1e2df0,column:_0x161f48,record:_0x4b5b52,row:_0x38a528}=_0x159bc8[_0x1cd285(0x1dc)];if(ValueUtil[_0x1cd285(0x1f7)](_0x4a18a7,_0x1e2df0))return;var _0x6116a5=_0x161f48[_0x1cd285(0x1cb)];if(_0x6116a5&&_0x1cd285(0x1d7)==typeof _0x6116a5&&!_0x6116a5[_0x1cd285(0x20e)](this,_0x4a18a7,_0x1e2df0,_0x4b5b52,_0x161f48))return;let _0x10372a=_0x161f48[_0x1cd285(0x21b)];_0x4b5b52[_0x10372a]=_0x4a18a7,_0x4b5b52['__dirtyfields__']=_0x4b5b52[_0x1cd285(0x200)]||{},_0x4b5b52['__origin__']=_0x4b5b52[_0x1cd285(0x1e6)]||{},_0x4b5b52[_0x1cd285(0x200)][_0x10372a]={'before':_0x4b5b52['__origin__'][_0x10372a],'after':_0x4b5b52[_0x10372a]},ValueUtil[_0x1cd285(0x1f7)](_0x4b5b52['__dirtyfields__'][_0x10372a][_0x1cd285(0x1cc)],_0x4b5b52['__dirtyfields__'][_0x10372a][_0x1cd285(0x1de)])&&delete _0x4b5b52[_0x1cd285(0x200)][_0x10372a],ValueUtil[_0x1cd285(0x1ce)](_0x4b5b52[_0x1cd285(0x200)])?_0x4b5b52[_0x1cd285(0x1df)]='M':_0x4b5b52[_0x1cd285(0x1df)]='',this[_0x1cd285(0x1fd)]={..._0x4b5b52};});}async[a0_0x27c635(0x203)](){const _0x4c57ef=a0_0x27c635;super[_0x4c57ef(0x203)]&&await super['firstUpdated']();}async[a0_0x27c635(0x1f3)](){const _0x280da2=a0_0x27c635;this[_0x280da2(0x1ef)]&&await this[_0x280da2(0x1e3)](),super['pageInitialized']&&await super['pageInitialized'](),this[_0x280da2(0x1ef)]&&await this[_0x280da2(0x1fb)]();}['render'](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0xc33f3a){const _0x415824=a0_0x27c635;this['formColumnConfig']=_0xc33f3a[_0x415824(0x1f1)],this[_0x415824(0x208)]=_0xc33f3a[_0x415824(0x1d4)],_0xc33f3a['button']=_0xc33f3a['button'][_0x415824(0x1e7)](_0x1547d7=>'save'==_0x1547d7[_0x415824(0x21b)]);}async['parseFormConfigs'](){const _0x112401=a0_0x27c635;this['formConfigSet']=await MetaApi[_0x112401(0x21e)](this);}get[a0_0x27c635(0x216)](){const _0x3fbcd5=a0_0x27c635;return this[_0x3fbcd5(0x1f9)](this[_0x3fbcd5(0x1fd)][_0x3fbcd5(0x1e6)]);}get[a0_0x27c635(0x1d0)](){const _0x251da2=a0_0x27c635;if(ValueUtil['isEmpty'](this[_0x251da2(0x1fd)][_0x251da2(0x200)]))return{};let _0x2dad7f={};return Object[_0x251da2(0x1f4)](this[_0x251da2(0x1fd)][_0x251da2(0x200)])['map'](([_0x5234b9,_0x3357cb])=>{const _0x31a557=_0x251da2;0x0==_0x5234b9[_0x31a557(0x1eb)]('__')&&(_0x2dad7f[_0x5234b9]=_0x3357cb['after']);}),_0x2dad7f;}get[a0_0x27c635(0x212)](){const _0x22bbcf=a0_0x27c635;return this['removeGarbageData'](this[_0x22bbcf(0x1fd)]);}['removeGarbageData'](_0x45bbbc){const _0x2204c9=a0_0x27c635;let _0x3576ac={};if(_0x45bbbc)return Object['entries'](_0x45bbbc)[_0x2204c9(0x1e8)](([_0x17ce53,_0xd46bb9])=>{const _0x3237f6=_0x2204c9;0x0==_0x17ce53[_0x3237f6(0x1eb)]('__')&&(_0x3576ac[_0x17ce53]=_0xd46bb9);}),_0x3576ac;}get['patchData'](){const _0x289535=a0_0x27c635;let _0x4a69ef=this['dirtyData'],_0x37cc52=this[_0x289535(0x1fd)];return ValueUtil[_0x289535(0x1e0)](_0x4a69ef)?[]:(ValueUtil[_0x289535(0x1ce)](_0x37cc52['id'])?(_0x4a69ef['id']=_0x37cc52['id'],_0x4a69ef['cuFlag']='M'):_0x4a69ef[_0x289535(0x1d8)]='+',Object['keys'](_0x4a69ef)[_0x289535(0x1ea)](_0x5edfa9=>{const _0x3b49a8=_0x289535;_0x3b49a8(0x21a)==typeof _0x4a69ef[_0x5edfa9]&&(_0x4a69ef[_0x5edfa9]={'id':_0x4a69ef[_0x5edfa9]['id']});}),[_0x4a69ef]);}async[a0_0x27c635(0x1fb)](){const _0x2cb318=a0_0x27c635;if(ValueUtil['isEmpty'](this[_0x2cb318(0x1f5)]))return;let _0x17234d=await this[_0x2cb318(0x1f6)](this['parent_id']);_0x17234d['__seq__']=0x1;let _0x31639c={};Object[_0x2cb318(0x1e9)](_0x31639c,_0x17234d),_0x17234d[_0x2cb318(0x1e6)]=_0x31639c,this[_0x2cb318(0x1fd)]={..._0x17234d};}async[a0_0x27c635(0x1ed)](){const _0x1c1c66=a0_0x27c635;let _0x1b6c83=this[_0x1c1c66(0x201)];if(ValueUtil['isEmpty'](_0x1b6c83))return void MetaApi[_0x1c1c66(0x20c)](_0x1c1c66(0x20a),_0x1c1c66(0x1e4));let _0xdaa3bc=await this[_0x1c1c66(0x1fa)](_0x1b6c83);return _0xdaa3bc&&await this['fetch'](),_0xdaa3bc;}async[a0_0x27c635(0x20d)](){const _0x130ae4=a0_0x27c635;this[_0x130ae4(0x1fd)]&&(this[_0x130ae4(0x1fd)]={});}[a0_0x27c635(0x1e2)](){const _0x5088ad=a0_0x27c635;return this[_0x5088ad(0x212)]||{};}};
1
+ const a0_0xf7907=a0_0x5763;(function(_0x2b6a01,_0x247e06){const _0x2f31bf=a0_0x5763,_0x2df931=_0x2b6a01();while(!![]){try{const _0x571c1a=-parseInt(_0x2f31bf(0x7e))/0x1*(parseInt(_0x2f31bf(0xb7))/0x2)+parseInt(_0x2f31bf(0x9f))/0x3+-parseInt(_0x2f31bf(0x88))/0x4*(-parseInt(_0x2f31bf(0x82))/0x5)+parseInt(_0x2f31bf(0xa0))/0x6*(-parseInt(_0x2f31bf(0x87))/0x7)+-parseInt(_0x2f31bf(0xc4))/0x8*(parseInt(_0x2f31bf(0xbe))/0x9)+-parseInt(_0x2f31bf(0xa1))/0xa*(-parseInt(_0x2f31bf(0x83))/0xb)+parseInt(_0x2f31bf(0x86))/0xc;if(_0x571c1a===_0x247e06)break;else _0x2df931['push'](_0x2df931['shift']());}catch(_0x294fd6){_0x2df931['push'](_0x2df931['shift']());}}}(a0_0x4ee8,0xcbe05));import{MetaApi}from'../utils/meta-api';function a0_0x5763(_0x58a025,_0x466c4a){const _0x4ee81a=a0_0x4ee8();return a0_0x5763=function(_0x576388,_0x34fd26){_0x576388=_0x576388-0x7c;let _0x37387e=_0x4ee81a[_0x576388];return _0x37387e;},a0_0x5763(_0x58a025,_0x466c4a);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x4ee8(){const _0xed32bc=['parseFormConfigSet','patchData','render','getAndParseMenuMeta','context','fetch','cuFlag','addEventListener','findOne','stopPropagation','isElement','Escape','currentData','261075QRHTDl','6594EnkAWx','80qvjbBs','column','__seq__','activity','dataSet','styles','after','startsWith','before','__dirtyfields__','formColumnConfig','object','removeGarbageData','activityDataSet','keydown','record','focus','OX-GRID-FIELD','formRenderConfig','firstUpdated','click','save','158qAgpZu','pageInitialized','key','form','formConfigSet','name','isEmpty','575334OEiSwo','connectedCallback','renderRoot','map','Esc','is_activity','104IVlSZa','true','isEquals','validation','forEach','editing','call','dirtyData','getContextObject','__origin__','filter','field-change','showAlertPopup','isNotEmpty','parent_id','7940JQzwdk','keys','assign','orgData','8162445QpyUCY','178519pTiyhY','removeAttribute','button','5671236VhNGFK','182qKEaZO','4kRizTK','properties','entries','detail','getData','isPage','__dirty__','parseFormConfigs','tagName','currentTarget'];a0_0x4ee8=function(){return _0xed32bc;};return a0_0x4ee8();}export const MetaFormMixin=_0x50d482=>class extends MetaButtonMixin(_0x50d482){static get[a0_0xf7907(0xa6)](){return MetaApi['getBasicFormStyles']();}static get[a0_0xf7907(0x89)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0xf7907(0x96)](){const _0x399cbd=a0_0xf7907;return MetaUiUtil[_0x399cbd(0xcc)](this);}async['connectedCallback'](){const _0x3d3e71=a0_0xf7907;await this[_0x3d3e71(0x95)](),this[_0x3d3e71(0x9c)]&&await this[_0x3d3e71(0x8f)](),this[_0x3d3e71(0xae)]&&(this[_0x3d3e71(0xa5)]=this[_0x3d3e71(0xae)]),!0x0!==this[_0x3d3e71(0xc3)]||this['parent_id']||(this[_0x3d3e71(0x7d)]=_0x3d3e71(0xa4)),super['connectedCallback']&&await super[_0x3d3e71(0xbf)](),this[_0x3d3e71(0x9c)]&&await this[_0x3d3e71(0x97)](),this['renderRoot'][_0x3d3e71(0x99)](_0x3d3e71(0xaf),_0x4b17de=>{const _0x14f1b2=_0x3d3e71;switch(_0x4b17de[_0x14f1b2(0xb9)]){case _0x14f1b2(0xc2):case _0x14f1b2(0x9d):case'Enter':this[_0x14f1b2(0xb1)](),this[_0x14f1b2(0x91)]&&this[_0x14f1b2(0x91)][_0x14f1b2(0x84)](_0x14f1b2(0xc9)),this[_0x14f1b2(0x91)]=null;}}),this[_0x3d3e71(0xc0)][_0x3d3e71(0x99)](_0x3d3e71(0xb5),_0x4cb435=>{const _0x415ac1=_0x3d3e71;_0x4cb435[_0x415ac1(0x9b)]();let _0xdc8c71=_0x4cb435['target'];if(this[_0x415ac1(0x91)]&&(this[_0x415ac1(0xb1)](),this[_0x415ac1(0x91)]['removeAttribute'](_0x415ac1(0xc9))),_0x415ac1(0xb2)!==_0xdc8c71[_0x415ac1(0x90)]||!_0xdc8c71[_0x415ac1(0xa2)][_0x415ac1(0xb0)]['editable'])return this[_0x415ac1(0xb1)](),void(this[_0x415ac1(0x91)]=null);this[_0x415ac1(0x91)]=_0xdc8c71,_0xdc8c71['setAttribute'](_0x415ac1(0xc9),_0x415ac1(0xc5));}),this[_0x3d3e71(0x99)](_0x3d3e71(0xcf),_0x5792d3=>{const _0x18a863=_0x3d3e71;var {after:_0x490c9b,before:_0x392496,column:_0x45ae93,record:_0xad191a,row:_0x47bc69}=_0x5792d3[_0x18a863(0x8b)];if(ValueUtil[_0x18a863(0xc6)](_0x490c9b,_0x392496))return;var _0x34ef7a=_0x45ae93[_0x18a863(0xc7)];if(_0x34ef7a&&'function'==typeof _0x34ef7a&&!_0x34ef7a[_0x18a863(0xca)](this,_0x490c9b,_0x392496,_0xad191a,_0x45ae93))return;let _0x3fd7e4=_0x45ae93['name'];_0xad191a[_0x3fd7e4]=_0x490c9b,_0xad191a[_0x18a863(0xaa)]=_0xad191a['__dirtyfields__']||{},_0xad191a['__origin__']=_0xad191a[_0x18a863(0xcd)]||{},_0xad191a[_0x18a863(0xaa)][_0x3fd7e4]={'before':_0xad191a[_0x18a863(0xcd)][_0x3fd7e4],'after':_0xad191a[_0x3fd7e4]},ValueUtil[_0x18a863(0xc6)](_0xad191a[_0x18a863(0xaa)][_0x3fd7e4][_0x18a863(0xa9)],_0xad191a[_0x18a863(0xaa)][_0x3fd7e4][_0x18a863(0xa7)])&&delete _0xad191a[_0x18a863(0xaa)][_0x3fd7e4],ValueUtil[_0x18a863(0x7c)](_0xad191a[_0x18a863(0xaa)])?_0xad191a['__dirty__']='M':_0xad191a[_0x18a863(0x8e)]='',this[_0x18a863(0xb0)]={..._0xad191a};});}async[a0_0xf7907(0xb4)](){const _0x30ad8d=a0_0xf7907;super['firstUpdated']&&await super[_0x30ad8d(0xb4)]();}async[a0_0xf7907(0xb8)](){const _0x947325=a0_0xf7907;this[_0x947325(0x8d)]&&await this[_0x947325(0x8f)](),super[_0x947325(0xb8)]&&await super[_0x947325(0xb8)](),this['isPage']&&await this[_0x947325(0x97)]();}[a0_0xf7907(0x94)](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0xe63ae2){const _0x54e0e7=a0_0xf7907;this[_0x54e0e7(0xab)]=_0xe63ae2['grid_column'],this[_0x54e0e7(0xb3)]=_0xe63ae2[_0x54e0e7(0xba)],_0xe63ae2[_0x54e0e7(0x85)]=_0xe63ae2[_0x54e0e7(0x85)][_0x54e0e7(0xce)](_0x51ea0a=>_0x54e0e7(0xb6)==_0x51ea0a[_0x54e0e7(0xbc)]);}async['parseFormConfigs'](){const _0x114168=a0_0xf7907;this[_0x114168(0xbb)]=await MetaApi[_0x114168(0x92)](this);}get[a0_0xf7907(0x81)](){const _0xd9c938=a0_0xf7907;return this['removeGarbageData'](this[_0xd9c938(0xb0)][_0xd9c938(0xcd)]);}get[a0_0xf7907(0xcb)](){const _0x492713=a0_0xf7907;if(ValueUtil[_0x492713(0xbd)](this[_0x492713(0xb0)][_0x492713(0xaa)]))return{};let _0x279eff={};return Object['entries'](this['record'][_0x492713(0xaa)])['map'](([_0x4a6ea5,_0x24b115])=>{const _0x2ec5af=_0x492713;0x0==_0x4a6ea5[_0x2ec5af(0xa8)]('__')&&(_0x279eff[_0x4a6ea5]=_0x24b115['after']);}),_0x279eff;}get[a0_0xf7907(0x9e)](){const _0x348057=a0_0xf7907;return this[_0x348057(0xad)](this[_0x348057(0xb0)]);}['removeGarbageData'](_0x15fef5){const _0x55d4a9=a0_0xf7907;let _0x45fad8={};if(_0x15fef5)return Object[_0x55d4a9(0x8a)](_0x15fef5)[_0x55d4a9(0xc1)](([_0x302b9a,_0x3e32c1])=>{const _0x219571=_0x55d4a9;0x0==_0x302b9a[_0x219571(0xa8)]('__')&&(_0x45fad8[_0x302b9a]=_0x3e32c1);}),_0x45fad8;}get[a0_0xf7907(0x93)](){const _0xe4a867=a0_0xf7907;let _0x54a262=this[_0xe4a867(0xcb)],_0x3a0bb0=this[_0xe4a867(0xb0)];return ValueUtil[_0xe4a867(0xbd)](_0x54a262)?[]:(ValueUtil[_0xe4a867(0x7c)](_0x3a0bb0['id'])?(_0x54a262['id']=_0x3a0bb0['id'],_0x54a262[_0xe4a867(0x98)]='M'):_0x54a262[_0xe4a867(0x98)]='+',Object[_0xe4a867(0x7f)](_0x54a262)[_0xe4a867(0xc8)](_0x3511a2=>{const _0x3ef3f9=_0xe4a867;_0x3ef3f9(0xac)==typeof _0x54a262[_0x3511a2]&&(_0x54a262[_0x3511a2]={'id':_0x54a262[_0x3511a2]['id']});}),[_0x54a262]);}async['fetch'](){const _0xacb8c8=a0_0xf7907;if(ValueUtil[_0xacb8c8(0xbd)](this[_0xacb8c8(0x7d)]))return;let _0x42a7cb=await this[_0xacb8c8(0x9a)](this[_0xacb8c8(0x7d)]);_0x42a7cb[_0xacb8c8(0xa3)]=0x1;let _0x454c8a={};Object[_0xacb8c8(0x80)](_0x454c8a,_0x42a7cb),_0x42a7cb['__origin__']=_0x454c8a,this[_0xacb8c8(0xb0)]={..._0x42a7cb};}async[a0_0xf7907(0xb6)](){const _0x45c965=a0_0xf7907;let _0x621c74=this['patchData'];if(ValueUtil[_0x45c965(0xbd)](_0x621c74))return void MetaApi[_0x45c965(0xd0)]('title.info','text.NOTHING_CHANGED');let _0x19d119=await this['updateMultiple'](_0x621c74);return _0x19d119&&await this[_0x45c965(0x97)](),_0x19d119;}async['clear'](){const _0x5b8955=a0_0xf7907;this[_0x5b8955(0xb0)]&&(this[_0x5b8955(0xb0)]={});}[a0_0xf7907(0x8c)](){const _0x33b9d6=a0_0xf7907;return this[_0x33b9d6(0x9e)]||{};}};
@@ -1 +1 @@
1
- function a0_0x595e(){const _0x3a94e1=['render','findOne','9236178WYwCTo','deleteByIds','connectedCallback','clear','25887202sQvHNn','getParams','records','title','grist','5913320vVYgCU','forEach','updateMultiple','columns','activityDataSet','filterForm','getSelectedIdList','3543GgQBzn','importable','parse','dataSet','8ZrBled','firstUpdated','find','detailElement','record','styles','useMasterFilterForm','menuInfo','value','options','operator','export','shadowRoot','684RKdnwU','name','beforeFetch','fetch','actions','useFilterForm','parseGristConfigs','___data','search','getAndParseMenuMeta','gridConfig','properties','80JIZtWA','renderRoot','exportableData','grid','336944WUQqim','tTitle','searchConfig','searchFieldValues','pageInitialized','getContextObject','searchFields','type','querySelector','getData','gristConfigSet','import','isElement','2133cxVpKR','gristId','delete','12AVeRAN','patchesForUpdateMultiple','206970Jtieye','push','#detail','isNotEmpty','parseBasicGridConfigs','46944caCeAT','meta-tab-element','filter','getBasicGristTabStyles'];a0_0x595e=function(){return _0x3a94e1;};return a0_0x595e();}const a0_0x1c820e=a0_0x159f;(function(_0x489c50,_0x257e5c){const _0x22e32b=a0_0x159f,_0x1644a3=_0x489c50();while(!![]){try{const _0x16943a=-parseInt(_0x22e32b(0x1d6))/0x1*(parseInt(_0x22e32b(0x1b9))/0x2)+parseInt(_0x22e32b(0x1b5))/0x3*(-parseInt(_0x22e32b(0x1c6))/0x4)+-parseInt(_0x22e32b(0x1d2))/0x5*(parseInt(_0x22e32b(0x1e8))/0x6)+parseInt(_0x22e32b(0x1f3))/0x7+parseInt(_0x22e32b(0x1ed))/0x8*(-parseInt(_0x22e32b(0x1e3))/0x9)+parseInt(_0x22e32b(0x1ae))/0xa+parseInt(_0x22e32b(0x1a9))/0xb*(parseInt(_0x22e32b(0x1e6))/0xc);if(_0x16943a===_0x257e5c)break;else _0x1644a3['push'](_0x1644a3['shift']());}catch(_0x1d7d16){_0x1644a3['push'](_0x1644a3['shift']());}}}(a0_0x595e,0xbc6dd));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x159f(_0x4f3949,_0x32be4e){const _0x595ec8=a0_0x595e();return a0_0x159f=function(_0x159f19,_0x479398){_0x159f19=_0x159f19-0x1a7;let _0x13346c=_0x595ec8[_0x159f19];return _0x13346c;},a0_0x159f(_0x4f3949,_0x32be4e);}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=_0x17e6e5=>class extends MetaButtonMixin(_0x17e6e5){static get[a0_0x1c820e(0x1be)](){const _0x5806d9=a0_0x1c820e;return MetaApi[_0x5806d9(0x1f0)]();}static get[a0_0x1c820e(0x1d1)](){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 _0x33e8ca=a0_0x1c820e;return this[_0x33e8ca(0x1d3)][_0x33e8ca(0x1de)](this['gristId']);}get[a0_0x1c820e(0x1b3)](){const _0x391bb1=a0_0x1c820e;return this['shadowRoot']?.[_0x391bb1(0x1de)](this['filterFormId']);}get[a0_0x1c820e(0x1bc)](){const _0xb54569=a0_0x1c820e;return this[_0xb54569(0x1c5)][_0xb54569(0x1de)](_0xb54569(0x1ea));}get['context'](){const _0x350ed1=a0_0x1c820e;let _0x551869=MetaUiUtil[_0x350ed1(0x1db)](this);return _0x551869[_0x350ed1(0x1ca)]&&delete _0x551869[_0x350ed1(0x1ca)],_0x551869['exportable']&&delete _0x551869['exportable'],_0x551869[_0x350ed1(0x1b6)]&&delete _0x551869[_0x350ed1(0x1b6)],_0x551869;}async[a0_0x1c820e(0x1a7)](){const _0x5d0b74=a0_0x1c820e;this[_0x5d0b74(0x1e4)]='ox-grist',this['filterFormId']='ox-filters-form-base',await this[_0x5d0b74(0x1cf)](),this[_0x5d0b74(0x1e2)]&&await this[_0x5d0b74(0x1cc)](),this['activityDataSet']&&(this[_0x5d0b74(0x1b8)]=(this[_0x5d0b74(0x1b2)]||{})['main']),super['connectedCallback']&&await super[_0x5d0b74(0x1a7)]();}async['firstUpdated'](){const _0x5a3142=a0_0x1c820e;super[_0x5a3142(0x1ba)]&&await super['firstUpdated']();}async[a0_0x1c820e(0x1da)](){const _0x14f85d=a0_0x1c820e;this['isPage']&&await this[_0x14f85d(0x1cc)](),super['pageInitialized']&&await super[_0x14f85d(0x1da)]();}[a0_0x1c820e(0x1f1)](){return MetaApi['getGristTabHtml'](this);}[a0_0x1c820e(0x1ec)](_0x2aff25){const _0x1339e9=a0_0x1c820e;this[_0x1339e9(0x1d0)]=_0x2aff25[_0x1339e9(0x1d5)],this['gridColumnConfig']=_0x2aff25['grid_column'],this[_0x1339e9(0x1d8)]=_0x2aff25['search'];}async[a0_0x1c820e(0x1cc)](){const _0x138a89=a0_0x1c820e;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x138a89(0x1bf)]=!0x0===this[_0x138a89(0x1cb)],this['useFilterForm']=!0x1,this[_0x138a89(0x1d9)]=[],this[_0x138a89(0x1dc)]=this[_0x138a89(0x1e0)][_0x138a89(0x1b1)]['filter'](_0x27c5fb=>_0x27c5fb['filter'])['map'](_0x5ccfe9=>{const _0x35c5b2=_0x138a89;let _0x52e83a={'name':_0x5ccfe9[_0x35c5b2(0x1c7)],'type':_0x35c5b2(0x1ce)===_0x5ccfe9[_0x35c5b2(0x1ef)][_0x35c5b2(0x1c3)]?_0x35c5b2(0x1ce):_0x5ccfe9[_0x35c5b2(0x1dd)],'label':_0x5ccfe9['header'],'operator':_0x5ccfe9[_0x35c5b2(0x1ef)][_0x35c5b2(0x1c3)]?_0x5ccfe9['filter'][_0x35c5b2(0x1c3)]:'eq'};return _0x5ccfe9[_0x35c5b2(0x1ef)][_0x35c5b2(0x1c2)]&&(_0x52e83a[_0x35c5b2(0x1c2)]=_0x5ccfe9[_0x35c5b2(0x1ef)][_0x35c5b2(0x1c2)]),_0x5ccfe9[_0x35c5b2(0x1bd)]['options']&&(_0x52e83a[_0x35c5b2(0x1c2)]=_0x5ccfe9['record'][_0x35c5b2(0x1c2)]),_0x5ccfe9[_0x35c5b2(0x1ef)][_0x35c5b2(0x1c1)]&&this['searchFieldValues'][_0x35c5b2(0x1e9)]({'name':_0x52e83a[_0x35c5b2(0x1c7)],'operator':_0x52e83a[_0x35c5b2(0x1c3)],'value':_0x5ccfe9[_0x35c5b2(0x1ef)][_0x35c5b2(0x1c1)]}),delete _0x5ccfe9['filter'],_0x52e83a;});}async[a0_0x1c820e(0x1c9)](){const _0x4e161f=a0_0x1c820e;await this[_0x4e161f(0x1ad)]['fetch']();}async[a0_0x1c820e(0x1c8)]({page:_0x43045c=0x0,limit:_0x297481=0x0,sortings:_0x476576=[],filters:_0x55cc34=[]}){const _0x3c4cb5=a0_0x1c820e;let _0xdb923b=this[_0x3c4cb5(0x1d3)][_0x3c4cb5(0x1de)]('meta-tab-element');return await _0xdb923b[_0x3c4cb5(0x1a8)](),!0x0;}async['save'](){const _0x3be9f4=a0_0x1c820e;let _0x45bd9e=MetaApi[_0x3be9f4(0x1e7)](this['grist']);!!ValueUtil[_0x3be9f4(0x1eb)](_0x45bd9e)&&await this[_0x3be9f4(0x1b0)](_0x45bd9e)&&this['fetch']();}async[a0_0x1c820e(0x1bb)](){const _0x1056e8=a0_0x1c820e;let _0x401713=MetaApi[_0x1056e8(0x1b4)](this[_0x1056e8(0x1ad)],!0x0);return ValueUtil[_0x1056e8(0x1eb)](_0x401713)?await this[_0x1056e8(0x1f2)](_0x401713[0x0]):{};}async[a0_0x1c820e(0x1e5)](){const _0x4746a0=a0_0x1c820e;let _0x1fddeb=MetaApi[_0x4746a0(0x1b4)](this[_0x4746a0(0x1ad)],!0x0);!!ValueUtil[_0x4746a0(0x1eb)](_0x1fddeb)&&await this[_0x4746a0(0x1f4)](_0x1fddeb)&&this[_0x4746a0(0x1c9)]();}async[a0_0x1c820e(0x1c4)](){const _0x459381=a0_0x1c820e;let _0x86dc0=TermsUtil[_0x459381(0x1d7)](ValueUtil[_0x459381(0x1aa)](this[_0x459381(0x1c0)],_0x459381(0x1ac)));return await MetaApi[_0x459381(0x1d4)](this['isElement'],_0x86dc0,this[_0x459381(0x1ad)]);}async[a0_0x1c820e(0x1e1)](){}[a0_0x1c820e(0x1df)](){const _0x2df5dc=a0_0x1c820e;let _0x4276b1=this[_0x2df5dc(0x1ad)][_0x2df5dc(0x1cd)][_0x2df5dc(0x1ab)];return _0x4276b1=JSON[_0x2df5dc(0x1b7)](JSON['stringify'](_0x4276b1)),_0x4276b1['forEach'](_0x17ef33=>{const _0x458870=_0x2df5dc;Object['keys'](_0x17ef33)[_0x458870(0x1af)](_0x516270=>{_0x516270['startsWith']('__')&&delete _0x17ef33[_0x516270];});}),{'main':_0x4276b1,'detail':this[_0x2df5dc(0x1d3)][_0x2df5dc(0x1de)](_0x2df5dc(0x1ee))[_0x2df5dc(0x1df)]()};}};
1
+ const a0_0x4deb8b=a0_0x1f7f;(function(_0x315eb9,_0x32a96c){const _0x1938f1=a0_0x1f7f,_0xd47f32=_0x315eb9();while(!![]){try{const _0x57c761=parseInt(_0x1938f1(0xf6))/0x1*(-parseInt(_0x1938f1(0x101))/0x2)+parseInt(_0x1938f1(0x105))/0x3*(parseInt(_0x1938f1(0xd8))/0x4)+parseInt(_0x1938f1(0xde))/0x5*(-parseInt(_0x1938f1(0x10a))/0x6)+-parseInt(_0x1938f1(0xf1))/0x7*(-parseInt(_0x1938f1(0xe2))/0x8)+-parseInt(_0x1938f1(0x102))/0x9+-parseInt(_0x1938f1(0x10c))/0xa+parseInt(_0x1938f1(0xc7))/0xb;if(_0x57c761===_0x32a96c)break;else _0xd47f32['push'](_0xd47f32['shift']());}catch(_0x4ab23b){_0xd47f32['push'](_0xd47f32['shift']());}}}(a0_0x4e3d,0x2d5cd));import{html}from'lit';function a0_0x1f7f(_0x191de8,_0x364ec1){const _0x4e3d3c=a0_0x4e3d();return a0_0x1f7f=function(_0x1f7f03,_0x3eb5aa){_0x1f7f03=_0x1f7f03-0xc5;let _0x21d558=_0x4e3d3c[_0x1f7f03];return _0x21d558;},a0_0x1f7f(_0x191de8,_0x364ec1);}import{MetaApi}from'../utils/meta-api';function a0_0x4e3d(){const _0x3a3e96=['100TDAVFx','push','useFilterForm','context','16rMFeFo','title','filter','searchFields','shadowRoot','value','record','actions','patchesForUpdateMultiple','gridColumnConfig','deleteByIds','___data','getBasicGristTabStyles','records','parse','736624QiUetz','grid','beforeFetch','tTitle','delete','63241rhhWnR','firstUpdated','exportableData','findOne','isNotEmpty','querySelector','startsWith','getGristTabHtml','export','main','getAndParseMenuMeta','4VYnIPp','3162330YuazwY','filterFormId','forEach','12ictgLO','search','#detail','gristConfigSet','connectedCallback','942ldOHwV','gridConfig','2092760pYYHyq','grist','render','parseGristConfigs','parseBasicGridConfigs','name','detailElement','getContextObject','3924899nXHDaA','exportable','importable','pageInitialized','type','operator','getSelectedIdList','dataSet','fetch','options','activityDataSet','grid_column','searchConfig','import','renderRoot','gristId','isElement','308800wOyzBX','map','getData','ox-grist','find','stringify'];a0_0x4e3d=function(){return _0x3a3e96;};return a0_0x4e3d();}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=_0x2caa94=>class extends MetaButtonMixin(_0x2caa94){static get['styles'](){const _0x1c5675=a0_0x1f7f;return MetaApi[_0x1c5675(0xee)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0x13c131=a0_0x1f7f;return this[_0x13c131(0xd5)][_0x13c131(0xfb)](this[_0x13c131(0xd6)]);}get['filterForm'](){const _0x310218=a0_0x1f7f;return this[_0x310218(0xe6)]?.[_0x310218(0xfb)](this['filterFormId']);}get[a0_0x4deb8b(0xc5)](){const _0x37885c=a0_0x4deb8b;return this[_0x37885c(0xe6)][_0x37885c(0xfb)](_0x37885c(0x107));}get[a0_0x4deb8b(0xe1)](){const _0x48361c=a0_0x4deb8b;let _0x2698e8=MetaUiUtil[_0x48361c(0xc6)](this);return _0x2698e8[_0x48361c(0xe9)]&&delete _0x2698e8[_0x48361c(0xe9)],_0x2698e8[_0x48361c(0xc8)]&&delete _0x2698e8[_0x48361c(0xc8)],_0x2698e8[_0x48361c(0xc9)]&&delete _0x2698e8[_0x48361c(0xc9)],_0x2698e8;}async[a0_0x4deb8b(0x109)](){const _0x1e310e=a0_0x4deb8b;this['gristId']=_0x1e310e(0xdb),this[_0x1e310e(0x103)]='ox-filters-form-base',await this[_0x1e310e(0x100)](),this[_0x1e310e(0xd7)]&&await this[_0x1e310e(0x10f)](),this['activityDataSet']&&(this[_0x1e310e(0xce)]=(this[_0x1e310e(0xd1)]||{})[_0x1e310e(0xff)]),super[_0x1e310e(0x109)]&&await super[_0x1e310e(0x109)]();}async[a0_0x4deb8b(0xf7)](){const _0x4654cf=a0_0x4deb8b;super['firstUpdated']&&await super[_0x4654cf(0xf7)]();}async[a0_0x4deb8b(0xca)](){const _0x135f80=a0_0x4deb8b;this['isPage']&&await this['parseGristConfigs'](),super[_0x135f80(0xca)]&&await super[_0x135f80(0xca)]();}[a0_0x4deb8b(0x10e)](){const _0x35afdd=a0_0x4deb8b;return MetaApi[_0x35afdd(0xfd)](this);}[a0_0x4deb8b(0x110)](_0x15022a){const _0x504787=a0_0x4deb8b;this[_0x504787(0x10b)]=_0x15022a[_0x504787(0xf2)],this[_0x504787(0xeb)]=_0x15022a[_0x504787(0xd2)],this[_0x504787(0xd3)]=_0x15022a[_0x504787(0x106)];}async['parseGristConfigs'](){const _0x507fda=a0_0x4deb8b;this[_0x507fda(0x108)]=await MetaApi['parseGridConfigSet'](this),this['useMasterFilterForm']=!0x0===this[_0x507fda(0xe0)],this['useFilterForm']=!0x1,this['searchFieldValues']=[],this[_0x507fda(0xe5)]=this['gristConfigSet']['columns'][_0x507fda(0xe4)](_0x5cf554=>_0x5cf554['filter'])[_0x507fda(0xd9)](_0x359027=>{const _0x205459=_0x507fda;let _0x1a0502={'name':_0x359027[_0x205459(0x111)],'type':'search'===_0x359027[_0x205459(0xe4)][_0x205459(0xcc)]?'search':_0x359027[_0x205459(0xcb)],'label':_0x359027['header'],'operator':_0x359027[_0x205459(0xe4)]['operator']?_0x359027[_0x205459(0xe4)]['operator']:'eq'};return _0x359027[_0x205459(0xe4)][_0x205459(0xd0)]&&(_0x1a0502[_0x205459(0xd0)]=_0x359027['filter'][_0x205459(0xd0)]),_0x359027[_0x205459(0xe8)][_0x205459(0xd0)]&&(_0x1a0502[_0x205459(0xd0)]=_0x359027['record'][_0x205459(0xd0)]),_0x359027[_0x205459(0xe4)][_0x205459(0xe7)]&&this['searchFieldValues'][_0x205459(0xdf)]({'name':_0x1a0502[_0x205459(0x111)],'operator':_0x1a0502[_0x205459(0xcc)],'value':_0x359027[_0x205459(0xe4)][_0x205459(0xe7)]}),delete _0x359027[_0x205459(0xe4)],_0x1a0502;});}async[a0_0x4deb8b(0xcf)](){const _0x2cb984=a0_0x4deb8b;await this[_0x2cb984(0x10d)][_0x2cb984(0xcf)]();}async[a0_0x4deb8b(0xf3)]({page:_0x1d6d09=0x0,limit:_0x190a71=0x0,sortings:_0x2c7985=[],filters:_0x8e50c4=[]}){let _0x1f5a0c=this['renderRoot']['querySelector']('meta-tab-element');return await _0x1f5a0c['clear'](),!0x0;}async['save'](){const _0x11e564=a0_0x4deb8b;let _0x187e3f=MetaApi[_0x11e564(0xea)](this[_0x11e564(0x10d)]);!!ValueUtil[_0x11e564(0xfa)](_0x187e3f)&&await this['updateMultiple'](_0x187e3f)&&this[_0x11e564(0xcf)]();}async[a0_0x4deb8b(0xdc)](){const _0x174e78=a0_0x4deb8b;let _0x4f34d9=MetaApi['getSelectedIdList'](this[_0x174e78(0x10d)],!0x0);return ValueUtil['isNotEmpty'](_0x4f34d9)?await this[_0x174e78(0xf9)](_0x4f34d9[0x0]):{};}async[a0_0x4deb8b(0xf5)](){const _0x24fa93=a0_0x4deb8b;let _0x67eda7=MetaApi[_0x24fa93(0xcd)](this[_0x24fa93(0x10d)],!0x0);!!ValueUtil[_0x24fa93(0xfa)](_0x67eda7)&&await this[_0x24fa93(0xec)](_0x67eda7)&&this[_0x24fa93(0xcf)]();}async[a0_0x4deb8b(0xfe)](){const _0x1bc2df=a0_0x4deb8b;let _0x5868ee=TermsUtil[_0x1bc2df(0xf4)](ValueUtil['getParams'](this['menuInfo'],_0x1bc2df(0xe3)));return await MetaApi[_0x1bc2df(0xf8)](this[_0x1bc2df(0xd7)],_0x5868ee,this[_0x1bc2df(0x10d)]);}async[a0_0x4deb8b(0xd4)](){}[a0_0x4deb8b(0xda)](){const _0x5bb2a3=a0_0x4deb8b;let _0x5a3b41=this['grist'][_0x5bb2a3(0xed)][_0x5bb2a3(0xef)];return _0x5a3b41=JSON[_0x5bb2a3(0xf0)](JSON[_0x5bb2a3(0xdd)](_0x5a3b41)),_0x5a3b41[_0x5bb2a3(0x104)](_0x58145f=>{Object['keys'](_0x58145f)['forEach'](_0x28cc3c=>{const _0x148828=a0_0x1f7f;_0x28cc3c[_0x148828(0xfc)]('__')&&delete _0x58145f[_0x28cc3c];});}),{'main':_0x5a3b41,'detail':this[_0x5bb2a3(0xd5)][_0x5bb2a3(0xfb)]('meta-tab-element')['getData']()};}};
@@ -1 +1 @@
1
- const a0_0x3113f3=a0_0x115c;(function(_0x469cae,_0x3d3ee6){const _0x434f6c=a0_0x115c,_0xc9721a=_0x469cae();while(!![]){try{const _0x510fc6=-parseInt(_0x434f6c(0x13c))/0x1+parseInt(_0x434f6c(0x16a))/0x2+-parseInt(_0x434f6c(0x155))/0x3*(parseInt(_0x434f6c(0x13b))/0x4)+parseInt(_0x434f6c(0x157))/0x5*(-parseInt(_0x434f6c(0x159))/0x6)+-parseInt(_0x434f6c(0x153))/0x7*(-parseInt(_0x434f6c(0x164))/0x8)+parseInt(_0x434f6c(0x15a))/0x9+parseInt(_0x434f6c(0x166))/0xa*(parseInt(_0x434f6c(0x13d))/0xb);if(_0x510fc6===_0x3d3ee6)break;else _0xc9721a['push'](_0xc9721a['shift']());}catch(_0xa4c9c1){_0xc9721a['push'](_0xc9721a['shift']());}}}(a0_0x2968,0xd4cf5));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x2968(){const _0x4b886c=['426650wIBzjP','getMainGrist','dataSet','actions','useButtonImport','getBasicMainTabStyles','record','filterForm','querySelector','isPage','gristConfigSet','grist','columns','4BnHKGB','1503761rrBcIS','33oyogkl','operator','name','searchConfig','parseGristConfigs','importable','clear','searchFieldValues','parseBasicGridConfigs','isElement','masterElement','firstUpdated','ox-filters-form-base','beforeFetch','styles','search','header','render','getMainTabHtml','ox-grist','connectedCallback','getData','36029rabVbe','fetch','3407298jvALtP','grid_column','5wSNxrx','pageInitialized','8724006vOMxuN','15342075vAUEww','getAndParseMenuMeta','exportable','getContextObject','searchFields','value','gristId','options','filterFormId','filter','2512AIACpc','useFilterForm','4770130HdNbke','type','useMasterFilterForm','activityDataSet'];a0_0x2968=function(){return _0x4b886c;};return a0_0x2968();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x115c(_0x5e36fc,_0x5f3673){const _0x29682c=a0_0x2968();return a0_0x115c=function(_0x115c4a,_0x2d388e){_0x115c4a=_0x115c4a-0x132;let _0x304720=_0x29682c[_0x115c4a];return _0x304720;},a0_0x115c(_0x5e36fc,_0x5f3673);}export const MetaMainTabMixin=_0x52c947=>class extends MetaButtonMixin(_0x52c947){static get[a0_0x3113f3(0x14b)](){const _0x824f42=a0_0x3113f3;return MetaApi[_0x824f42(0x133)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x3113f3(0x139)](){const _0x265b10=a0_0x3113f3;return this[_0x265b10(0x147)][_0x265b10(0x16b)]();}get[a0_0x3113f3(0x135)](){const _0x39c993=a0_0x3113f3;return this['shadowRoot']?.[_0x39c993(0x136)](this[_0x39c993(0x162)]);}get['context'](){const _0x29a8e5=a0_0x3113f3;let _0x10fd06=MetaUiUtil[_0x29a8e5(0x15d)](this);return _0x10fd06['actions']&&delete _0x10fd06[_0x29a8e5(0x16d)],_0x10fd06[_0x29a8e5(0x15c)]&&delete _0x10fd06['exportable'],_0x10fd06[_0x29a8e5(0x142)]&&delete _0x10fd06['importable'],_0x10fd06;}async[a0_0x3113f3(0x151)](){const _0x572d4d=a0_0x3113f3;this[_0x572d4d(0x160)]=_0x572d4d(0x150),this[_0x572d4d(0x162)]=_0x572d4d(0x149),await this[_0x572d4d(0x15b)](),this[_0x572d4d(0x146)]&&await this[_0x572d4d(0x141)](),this[_0x572d4d(0x169)]&&(this[_0x572d4d(0x16c)]=(this[_0x572d4d(0x169)]||{})['main']),super['connectedCallback']&&await super[_0x572d4d(0x151)]();}async[a0_0x3113f3(0x148)](){const _0x46f266=a0_0x3113f3;super[_0x46f266(0x148)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x57261a=a0_0x3113f3;this[_0x57261a(0x137)]&&await this[_0x57261a(0x141)](),super[_0x57261a(0x158)]&&await super[_0x57261a(0x158)]();}[a0_0x3113f3(0x14e)](){const _0x808650=a0_0x3113f3;return MetaApi[_0x808650(0x14f)](this);}[a0_0x3113f3(0x145)](_0x463c99){const _0x5319f5=a0_0x3113f3;this['gridConfig']=_0x463c99['grid'],this['gridColumnConfig']=_0x463c99[_0x5319f5(0x156)],this[_0x5319f5(0x140)]=_0x463c99['search'];}async[a0_0x3113f3(0x141)](){const _0x4a278b=a0_0x3113f3;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x4a278b(0x168)]=!0x0===this[_0x4a278b(0x165)],this[_0x4a278b(0x165)]=!0x1,this['buttonConfig']=void 0x0,this['useButtonExport']=!0x1,this[_0x4a278b(0x132)]=!0x1,this[_0x4a278b(0x144)]=[],this[_0x4a278b(0x15e)]=this[_0x4a278b(0x138)][_0x4a278b(0x13a)][_0x4a278b(0x163)](_0x23b209=>_0x23b209[_0x4a278b(0x163)])['map'](_0x15ac33=>{const _0x52bab9=_0x4a278b;let _0x2fa153={'name':_0x15ac33[_0x52bab9(0x13f)],'type':_0x52bab9(0x14c)===_0x15ac33[_0x52bab9(0x163)]['operator']?'search':_0x15ac33[_0x52bab9(0x167)],'label':_0x15ac33[_0x52bab9(0x14d)],'operator':_0x15ac33[_0x52bab9(0x163)]['operator']?_0x15ac33[_0x52bab9(0x163)]['operator']:'eq'};return _0x15ac33[_0x52bab9(0x163)]['options']&&(_0x2fa153['options']=_0x15ac33[_0x52bab9(0x163)][_0x52bab9(0x161)]),_0x15ac33[_0x52bab9(0x134)][_0x52bab9(0x161)]&&(_0x2fa153[_0x52bab9(0x161)]=_0x15ac33[_0x52bab9(0x134)]['options']),_0x15ac33['filter'][_0x52bab9(0x15f)]&&this['searchFieldValues']['push']({'name':_0x2fa153[_0x52bab9(0x13f)],'operator':_0x2fa153[_0x52bab9(0x13e)],'value':_0x15ac33['filter'][_0x52bab9(0x15f)]}),delete _0x15ac33[_0x52bab9(0x163)],_0x2fa153;});}async[a0_0x3113f3(0x154)](){const _0x2c9a5a=a0_0x3113f3;await this[_0x2c9a5a(0x139)]['fetch']();}async[a0_0x3113f3(0x14a)]({page:_0x47ad63=0x0,limit:_0x452f4f=0x0,sortings:_0x233257=[],filters:_0x3b24c3=[]}){const _0x1e5c96=a0_0x3113f3;return this['masterElement']&&this[_0x1e5c96(0x147)][_0x1e5c96(0x143)]&&await this['masterElement'][_0x1e5c96(0x143)](),!0x0;}[a0_0x3113f3(0x152)](){const _0x3d0716=a0_0x3113f3;return{'master':this[_0x3d0716(0x147)][_0x3d0716(0x152)]()};}};
1
+ const a0_0x499123=a0_0x1138;(function(_0x481e3c,_0x48cc40){const _0x1fec3a=a0_0x1138,_0x34d609=_0x481e3c();while(!![]){try{const _0x317532=-parseInt(_0x1fec3a(0xbf))/0x1*(parseInt(_0x1fec3a(0xb2))/0x2)+-parseInt(_0x1fec3a(0xaf))/0x3*(-parseInt(_0x1fec3a(0x98))/0x4)+-parseInt(_0x1fec3a(0xac))/0x5+parseInt(_0x1fec3a(0x95))/0x6+-parseInt(_0x1fec3a(0xbc))/0x7*(parseInt(_0x1fec3a(0xb4))/0x8)+-parseInt(_0x1fec3a(0xbe))/0x9+parseInt(_0x1fec3a(0xbb))/0xa;if(_0x317532===_0x48cc40)break;else _0x34d609['push'](_0x34d609['shift']());}catch(_0x43887a){_0x34d609['push'](_0x34d609['shift']());}}}(a0_0x33f3,0x72039));import{html}from'lit';function a0_0x1138(_0x1144ce,_0x511496){const _0x33f318=a0_0x33f3();return a0_0x1138=function(_0x1138d5,_0x10a76b){_0x1138d5=_0x1138d5-0x94;let _0x222cd4=_0x33f318[_0x1138d5];return _0x222cd4;},a0_0x1138(_0x1144ce,_0x511496);}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_0x33f3(){const _0x58e54d=['searchFieldValues','fetch','useButtonExport','gridConfig','gristConfigSet','options','11168870XhEaUg','679xiTrig','record','5130657LKWHgu','3WTfuew','shadowRoot','searchFields','isPage','grid','activityDataSet','getData','push','parseGristConfigs','name','columns','search','main','3643032feXhqx','header','context','36RhpWGM','ox-filters-form-base','type','masterElement','filterFormId','connectedCallback','operator','grist','getBasicMainTabStyles','gristId','exportable','useButtonImport','firstUpdated','dataSet','value','useMasterFilterForm','importable','grid_column','filter','pageInitialized','1843590lIaiJx','parseGridConfigSet','clear','55569CUvGWE','getContextObject','useFilterForm','188486xQqGwi','actions','16680LCxehX'];a0_0x33f3=function(){return _0x58e54d;};return a0_0x33f3();}export const MetaMainTabMixin=_0x208b6a=>class extends MetaButtonMixin(_0x208b6a){static get['styles'](){const _0x4ef0aa=a0_0x1138;return MetaApi[_0x4ef0aa(0xa0)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x499123(0x9f)](){const _0x632258=a0_0x499123;return this[_0x632258(0x9b)]['getMainGrist']();}get['filterForm'](){const _0x27bc11=a0_0x499123;return this[_0x27bc11(0xc0)]?.['querySelector'](this[_0x27bc11(0x9c)]);}get[a0_0x499123(0x97)](){const _0x588a36=a0_0x499123;let _0x549289=MetaUiUtil[_0x588a36(0xb0)](this);return _0x549289[_0x588a36(0xb3)]&&delete _0x549289[_0x588a36(0xb3)],_0x549289[_0x588a36(0xa2)]&&delete _0x549289[_0x588a36(0xa2)],_0x549289[_0x588a36(0xa8)]&&delete _0x549289['importable'],_0x549289;}async['connectedCallback'](){const _0x3adad4=a0_0x499123;this[_0x3adad4(0xa1)]='ox-grist',this[_0x3adad4(0x9c)]=_0x3adad4(0x99),await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0x3adad4(0xc7)](),this[_0x3adad4(0xc4)]&&(this[_0x3adad4(0xa5)]=(this[_0x3adad4(0xc4)]||{})[_0x3adad4(0x94)]),super[_0x3adad4(0x9d)]&&await super['connectedCallback']();}async[a0_0x499123(0xa4)](){const _0xa8f6c6=a0_0x499123;super['firstUpdated']&&await super[_0xa8f6c6(0xa4)]();}async['pageInitialized'](){const _0x2418fb=a0_0x499123;this[_0x2418fb(0xc2)]&&await this[_0x2418fb(0xc7)](),super[_0x2418fb(0xab)]&&await super[_0x2418fb(0xab)]();}['render'](){return MetaApi['getMainTabHtml'](this);}['parseBasicGridConfigs'](_0x5c9788){const _0x547553=a0_0x499123;this[_0x547553(0xb8)]=_0x5c9788[_0x547553(0xc3)],this['gridColumnConfig']=_0x5c9788[_0x547553(0xa9)],this['searchConfig']=_0x5c9788['search'];}async[a0_0x499123(0xc7)](){const _0x2a0e8d=a0_0x499123;this[_0x2a0e8d(0xb9)]=await MetaApi[_0x2a0e8d(0xad)](this),this[_0x2a0e8d(0xa7)]=!0x0===this[_0x2a0e8d(0xb1)],this[_0x2a0e8d(0xb1)]=!0x1,this['buttonConfig']=void 0x0,this[_0x2a0e8d(0xb7)]=!0x1,this[_0x2a0e8d(0xa3)]=!0x1,this[_0x2a0e8d(0xb5)]=[],this[_0x2a0e8d(0xc1)]=this['gristConfigSet'][_0x2a0e8d(0xc9)][_0x2a0e8d(0xaa)](_0x397dd2=>_0x397dd2[_0x2a0e8d(0xaa)])['map'](_0x1e753e=>{const _0x19763e=_0x2a0e8d;let _0x5a17dd={'name':_0x1e753e[_0x19763e(0xc8)],'type':_0x19763e(0xca)===_0x1e753e[_0x19763e(0xaa)]['operator']?_0x19763e(0xca):_0x1e753e[_0x19763e(0x9a)],'label':_0x1e753e[_0x19763e(0x96)],'operator':_0x1e753e[_0x19763e(0xaa)][_0x19763e(0x9e)]?_0x1e753e[_0x19763e(0xaa)][_0x19763e(0x9e)]:'eq'};return _0x1e753e[_0x19763e(0xaa)][_0x19763e(0xba)]&&(_0x5a17dd[_0x19763e(0xba)]=_0x1e753e['filter']['options']),_0x1e753e['record'][_0x19763e(0xba)]&&(_0x5a17dd['options']=_0x1e753e[_0x19763e(0xbd)]['options']),_0x1e753e['filter'][_0x19763e(0xa6)]&&this[_0x19763e(0xb5)][_0x19763e(0xc6)]({'name':_0x5a17dd[_0x19763e(0xc8)],'operator':_0x5a17dd['operator'],'value':_0x1e753e[_0x19763e(0xaa)][_0x19763e(0xa6)]}),delete _0x1e753e[_0x19763e(0xaa)],_0x5a17dd;});}async[a0_0x499123(0xb6)](){const _0x5a9dc3=a0_0x499123;await this[_0x5a9dc3(0x9f)][_0x5a9dc3(0xb6)]();}async['beforeFetch']({page:_0x116d2b=0x0,limit:_0x557c8b=0x0,sortings:_0x4a71d3=[],filters:_0x5528f2=[]}){const _0x24abde=a0_0x499123;return this[_0x24abde(0x9b)]&&this['masterElement'][_0x24abde(0xae)]&&await this[_0x24abde(0x9b)][_0x24abde(0xae)](),!0x0;}[a0_0x499123(0xc5)](){const _0x3e4197=a0_0x499123;return{'master':this[_0x3e4197(0x9b)][_0x3e4197(0xc5)]()};}};
@@ -1 +1 @@
1
- const a0_0x193582=a0_0x1fe7;(function(_0x232cdb,_0x12b2d3){const _0x42eced=a0_0x1fe7,_0x418b6f=_0x232cdb();while(!![]){try{const _0x5661ee=parseInt(_0x42eced(0xb4))/0x1+-parseInt(_0x42eced(0xfa))/0x2*(-parseInt(_0x42eced(0xdc))/0x3)+-parseInt(_0x42eced(0xd6))/0x4*(-parseInt(_0x42eced(0xdd))/0x5)+parseInt(_0x42eced(0xd3))/0x6*(-parseInt(_0x42eced(0xb9))/0x7)+-parseInt(_0x42eced(0xae))/0x8*(parseInt(_0x42eced(0xbd))/0x9)+-parseInt(_0x42eced(0xe6))/0xa*(-parseInt(_0x42eced(0xbe))/0xb)+parseInt(_0x42eced(0xc3))/0xc*(-parseInt(_0x42eced(0xb8))/0xd);if(_0x5661ee===_0x12b2d3)break;else _0x418b6f['push'](_0x418b6f['shift']());}catch(_0x10d376){_0x418b6f['push'](_0x418b6f['shift']());}}}(a0_0x1414,0xb5bf9));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x1414(){const _0x1fb293=['filterForm','beforeFetch','deleteByIds','exportable','render','fetch','getSelectedIdList','renderRoot','record','querySelector','push','header','8376vKgMDj','getMasterDetailHtml','getData','295676WvnzAH','filter','find','import','keys','type','619527fpJyZV','5NMFBct','gristId','filterFormId','isPage','styles','connectedCallback','stringify','grist','value','14474420QiCxMf','main','importable','activityDataSet','gridConfig','operator','grid','dataSet','pageInitialized','forEach','grid_column','firstUpdated','ox-filters-form-base','shadowRoot','properties','isElement','export','getBasicMasterDetailStyles','options','getContextObject','14GVKiVX','parseBasicGridConfigs','useMasterFilterForm','8MoalDF','findOne','isNotEmpty','parse','delete','search','838215DQZjVN','startsWith','useFilterForm','detailElement','129545UrAyfL','378CRcUiu','columns','searchFields','parseGristConfigs','3280671niWyNp','11TbhhkY','map','ox-grist','searchFieldValues','getParams','3156FBmgJa','name','searchConfig','clear'];a0_0x1414=function(){return _0x1fb293;};return a0_0x1414();}import{ValueUtil}from'../utils/value-util';function a0_0x1fe7(_0x32a380,_0x4b4ba3){const _0x141444=a0_0x1414();return a0_0x1fe7=function(_0x1fe776,_0x5299ed){_0x1fe776=_0x1fe776-0xac;let _0x5516b8=_0x141444[_0x1fe776];return _0x5516b8;},a0_0x1fe7(_0x32a380,_0x4b4ba3);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x4c05d5=>class extends MetaButtonMixin(_0x4c05d5){static get[a0_0x193582(0xe1)](){const _0x1b8887=a0_0x193582;return MetaApi[_0x1b8887(0xf7)]();}static get[a0_0x193582(0xf4)](){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_0x193582(0xe4)](){const _0x1aeece=a0_0x193582;return this[_0x1aeece(0xce)]['querySelector'](this['gristId']);}get[a0_0x193582(0xc7)](){const _0x1633a5=a0_0x193582;return this[_0x1633a5(0xf3)]?.[_0x1633a5(0xd0)](this['filterFormId']);}get['context'](){const _0x2253e4=a0_0x193582;let _0x3d6f71=MetaUiUtil[_0x2253e4(0xf9)](this);return _0x3d6f71['actions']&&delete _0x3d6f71['actions'],_0x3d6f71[_0x2253e4(0xca)]&&delete _0x3d6f71[_0x2253e4(0xca)],_0x3d6f71[_0x2253e4(0xe8)]&&delete _0x3d6f71['importable'],_0x3d6f71;}async['connectedCallback'](){const _0x5766a0=a0_0x193582;this[_0x5766a0(0xde)]=_0x5766a0(0xc0),this[_0x5766a0(0xdf)]=_0x5766a0(0xf2),await this['getAndParseMenuMeta'](),this[_0x5766a0(0xf5)]&&await this[_0x5766a0(0xbc)](),this[_0x5766a0(0xe9)]&&(this[_0x5766a0(0xed)]=(this['activityDataSet']||{})[_0x5766a0(0xe7)]),super['connectedCallback']&&await super[_0x5766a0(0xe2)]();}async[a0_0x193582(0xf1)](){const _0x3f710b=a0_0x193582;super['firstUpdated']&&await super[_0x3f710b(0xf1)]();}async[a0_0x193582(0xee)](){const _0x5918e6=a0_0x193582;this[_0x5918e6(0xe0)]&&await this[_0x5918e6(0xbc)](),super[_0x5918e6(0xee)]&&await super[_0x5918e6(0xee)]();}[a0_0x193582(0xcb)](){const _0x509768=a0_0x193582;return MetaApi[_0x509768(0xd4)](this);}[a0_0x193582(0xac)](_0x1c0193){const _0x48757f=a0_0x193582;this[_0x48757f(0xea)]=_0x1c0193[_0x48757f(0xec)],this['gridColumnConfig']=_0x1c0193[_0x48757f(0xf0)],this[_0x48757f(0xc5)]=_0x1c0193[_0x48757f(0xb3)];}async['parseGristConfigs'](){const _0x599b7c=a0_0x193582;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x599b7c(0xad)]=!0x0===this[_0x599b7c(0xb6)],this[_0x599b7c(0xb6)]=!0x1,this['searchFieldValues']=[],this[_0x599b7c(0xbb)]=this['gristConfigSet'][_0x599b7c(0xba)][_0x599b7c(0xd7)](_0x202f85=>_0x202f85[_0x599b7c(0xd7)])[_0x599b7c(0xbf)](_0x55898f=>{const _0x19a6eb=_0x599b7c;let _0x3f3a10={'name':_0x55898f[_0x19a6eb(0xc4)],'type':_0x19a6eb(0xb3)===_0x55898f[_0x19a6eb(0xd7)][_0x19a6eb(0xeb)]?_0x19a6eb(0xb3):_0x55898f[_0x19a6eb(0xdb)],'label':_0x55898f[_0x19a6eb(0xd2)],'operator':_0x55898f[_0x19a6eb(0xd7)]['operator']?_0x55898f[_0x19a6eb(0xd7)][_0x19a6eb(0xeb)]:'eq'};return _0x55898f[_0x19a6eb(0xd7)]['options']&&(_0x3f3a10[_0x19a6eb(0xf8)]=_0x55898f[_0x19a6eb(0xd7)][_0x19a6eb(0xf8)]),_0x55898f[_0x19a6eb(0xcf)][_0x19a6eb(0xf8)]&&(_0x3f3a10[_0x19a6eb(0xf8)]=_0x55898f['record'][_0x19a6eb(0xf8)]),_0x55898f['filter']['value']&&this[_0x19a6eb(0xc1)][_0x19a6eb(0xd1)]({'name':_0x3f3a10[_0x19a6eb(0xc4)],'operator':_0x3f3a10[_0x19a6eb(0xeb)],'value':_0x55898f[_0x19a6eb(0xd7)][_0x19a6eb(0xe5)]}),delete _0x55898f[_0x19a6eb(0xd7)],_0x3f3a10;});}async[a0_0x193582(0xcc)](){const _0x496ad3=a0_0x193582;await this[_0x496ad3(0xe4)][_0x496ad3(0xcc)]();}async[a0_0x193582(0xc8)]({page:_0x48f59a=0x0,limit:_0x59ef5f=0x0,sortings:_0x3b4d65=[],filters:_0x4bf358=[]}){const _0x1c33ba=a0_0x193582;return this['detailElement']&&this[_0x1c33ba(0xb7)][_0x1c33ba(0xc6)]&&await this[_0x1c33ba(0xb7)]['clear'](),!0x0;}async['save'](){const _0x4c87d6=a0_0x193582;let _0x4f2846=MetaApi['patchesForUpdateMultiple'](this[_0x4c87d6(0xe4)]);!!ValueUtil['isNotEmpty'](_0x4f2846)&&await this['updateMultiple'](_0x4f2846)&&this[_0x4c87d6(0xcc)]();}async[a0_0x193582(0xd8)](){const _0x309238=a0_0x193582;let _0x40e5c7=MetaApi[_0x309238(0xcd)](this[_0x309238(0xe4)],!0x0);return ValueUtil[_0x309238(0xb0)](_0x40e5c7)?await this[_0x309238(0xaf)](_0x40e5c7[0x0]):{};}async[a0_0x193582(0xb2)](){const _0x2ac30c=a0_0x193582;let _0x495776=MetaApi[_0x2ac30c(0xcd)](this[_0x2ac30c(0xe4)],!0x0);!!ValueUtil[_0x2ac30c(0xb0)](_0x495776)&&await this[_0x2ac30c(0xc9)](_0x495776)&&this['fetch']();}async[a0_0x193582(0xf6)](){const _0x5e63e2=a0_0x193582;let _0x2d36b6=TermsUtil['tTitle'](ValueUtil[_0x5e63e2(0xc2)](this['menuInfo'],'title'));return await MetaApi['exportableData'](this[_0x5e63e2(0xf5)],_0x2d36b6,this[_0x5e63e2(0xe4)]);}async[a0_0x193582(0xd9)](){}[a0_0x193582(0xd5)](){const _0x2886a0=a0_0x193582;let _0x3bc455=this[_0x2886a0(0xe4)]['___data']['records'];return _0x3bc455=JSON[_0x2886a0(0xb1)](JSON[_0x2886a0(0xe3)](_0x3bc455)),_0x3bc455[_0x2886a0(0xef)](_0x2c931f=>{const _0x3df4f3=_0x2886a0;Object[_0x3df4f3(0xda)](_0x2c931f)[_0x3df4f3(0xef)](_0x103b85=>{const _0x3d618e=_0x3df4f3;_0x103b85[_0x3d618e(0xb5)]('__')&&delete _0x2c931f[_0x103b85];});}),{'main':_0x3bc455,'detail':this[_0x2886a0(0xb7)][_0x2886a0(0xd5)]()};}};
1
+ const a0_0x42af60=a0_0x5e0c;function a0_0x26d6(){const _0x56183a=['172719ZPoyBH','parseGridConfigSet','stringify','fetch','6kESKFz','findOne','16KhYTqh','44058rUOVKA','17104850aclKWz','tTitle','exportable','grid_column','properties','filterFormId','styles','searchConfig','menuInfo','header','6699504erXRHE','detailElement','gridConfig','context','connectedCallback','push','1827373jHmzfW','find','beforeFetch','33zvZykT','getAndParseMenuMeta','clear','parseBasicGridConfigs','operator','delete','searchFields','grid','actions','name','options','map','gristConfigSet','records','ox-grist','exportableData','patchesForUpdateMultiple','save','pageInitialized','updateMultiple','parseGristConfigs','deleteByIds','grist','gridColumnConfig','searchFieldValues','getMasterDetailHtml','getBasicMasterDetailStyles','export','168oZBqYw','useFilterForm','parse','startsWith','___data','value','1467780gezlCq','getSelectedIdList','querySelector','forEach','columns','getData','gristId','import','search','ox-filters-form-base','activityDataSet','title','filter','useMasterFilterForm','776BeQMCZ','isElement','keys','firstUpdated','shadowRoot','isPage','type','14689068GmfkID'];a0_0x26d6=function(){return _0x56183a;};return a0_0x26d6();}function a0_0x5e0c(_0x4dd789,_0x59686c){const _0x26d6c6=a0_0x26d6();return a0_0x5e0c=function(_0x5e0c41,_0xe62f90){_0x5e0c41=_0x5e0c41-0x196;let _0x3273a5=_0x26d6c6[_0x5e0c41];return _0x3273a5;},a0_0x5e0c(_0x4dd789,_0x59686c);}(function(_0x43ed0d,_0x1e3174){const _0x5cf9e5=a0_0x5e0c,_0x3e9589=_0x43ed0d();while(!![]){try{const _0x3010c3=-parseInt(_0x5cf9e5(0x19f))/0x1+parseInt(_0x5cf9e5(0x1e1))/0x2*(-parseInt(_0x5cf9e5(0x1be))/0x3)+parseInt(_0x5cf9e5(0x1e0))/0x4*(parseInt(_0x5cf9e5(0x1c4))/0x5)+parseInt(_0x5cf9e5(0x1de))/0x6*(-parseInt(_0x5cf9e5(0x199))/0x7)+-parseInt(_0x5cf9e5(0x1d2))/0x8*(-parseInt(_0x5cf9e5(0x1da))/0x9)+-parseInt(_0x5cf9e5(0x1e2))/0xa+parseInt(_0x5cf9e5(0x1a2))/0xb*(parseInt(_0x5cf9e5(0x1d9))/0xc);if(_0x3010c3===_0x1e3174)break;else _0x3e9589['push'](_0x3e9589['shift']());}catch(_0x17ba2f){_0x3e9589['push'](_0x3e9589['shift']());}}}(a0_0x26d6,0xef208));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=_0x456ce0=>class extends MetaButtonMixin(_0x456ce0){static get[a0_0x42af60(0x1e8)](){const _0x1ab1de=a0_0x42af60;return MetaApi[_0x1ab1de(0x1bc)]();}static get[a0_0x42af60(0x1e6)](){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_0x42af60(0x1b8)](){const _0x1013ce=a0_0x42af60;return this['renderRoot'][_0x1013ce(0x1c6)](this[_0x1013ce(0x1ca)]);}get['filterForm'](){const _0x53cc5f=a0_0x42af60;return this[_0x53cc5f(0x1d6)]?.[_0x53cc5f(0x1c6)](this[_0x53cc5f(0x1e7)]);}get[a0_0x42af60(0x19c)](){const _0x5db113=a0_0x42af60;let _0x33a465=MetaUiUtil['getContextObject'](this);return _0x33a465['actions']&&delete _0x33a465[_0x5db113(0x1aa)],_0x33a465[_0x5db113(0x1e4)]&&delete _0x33a465[_0x5db113(0x1e4)],_0x33a465['importable']&&delete _0x33a465['importable'],_0x33a465;}async[a0_0x42af60(0x19d)](){const _0x4dcc68=a0_0x42af60;this[_0x4dcc68(0x1ca)]=_0x4dcc68(0x1b0),this['filterFormId']=_0x4dcc68(0x1cd),await this[_0x4dcc68(0x1a3)](),this[_0x4dcc68(0x1d3)]&&await this[_0x4dcc68(0x1b6)](),this[_0x4dcc68(0x1ce)]&&(this['dataSet']=(this[_0x4dcc68(0x1ce)]||{})['main']),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x42af60(0x1d5)](){const _0x1c0455=a0_0x42af60;super['firstUpdated']&&await super[_0x1c0455(0x1d5)]();}async[a0_0x42af60(0x1b4)](){const _0x42a89e=a0_0x42af60;this[_0x42a89e(0x1d7)]&&await this[_0x42a89e(0x1b6)](),super[_0x42a89e(0x1b4)]&&await super[_0x42a89e(0x1b4)]();}['render'](){const _0x5789f3=a0_0x42af60;return MetaApi[_0x5789f3(0x1bb)](this);}[a0_0x42af60(0x1a5)](_0x5ae620){const _0x1b9120=a0_0x42af60;this[_0x1b9120(0x19b)]=_0x5ae620[_0x1b9120(0x1a9)],this[_0x1b9120(0x1b9)]=_0x5ae620[_0x1b9120(0x1e5)],this[_0x1b9120(0x196)]=_0x5ae620[_0x1b9120(0x1cc)];}async[a0_0x42af60(0x1b6)](){const _0x4cfd42=a0_0x42af60;this[_0x4cfd42(0x1ae)]=await MetaApi[_0x4cfd42(0x1db)](this),this[_0x4cfd42(0x1d1)]=!0x0===this[_0x4cfd42(0x1bf)],this[_0x4cfd42(0x1bf)]=!0x1,this[_0x4cfd42(0x1ba)]=[],this[_0x4cfd42(0x1a8)]=this[_0x4cfd42(0x1ae)][_0x4cfd42(0x1c8)][_0x4cfd42(0x1d0)](_0x519eef=>_0x519eef[_0x4cfd42(0x1d0)])[_0x4cfd42(0x1ad)](_0x5e73af=>{const _0x42d93a=_0x4cfd42;let _0xaa850b={'name':_0x5e73af[_0x42d93a(0x1ab)],'type':_0x42d93a(0x1cc)===_0x5e73af[_0x42d93a(0x1d0)][_0x42d93a(0x1a6)]?'search':_0x5e73af[_0x42d93a(0x1d8)],'label':_0x5e73af[_0x42d93a(0x198)],'operator':_0x5e73af[_0x42d93a(0x1d0)][_0x42d93a(0x1a6)]?_0x5e73af[_0x42d93a(0x1d0)][_0x42d93a(0x1a6)]:'eq'};return _0x5e73af[_0x42d93a(0x1d0)][_0x42d93a(0x1ac)]&&(_0xaa850b[_0x42d93a(0x1ac)]=_0x5e73af[_0x42d93a(0x1d0)][_0x42d93a(0x1ac)]),_0x5e73af['record'][_0x42d93a(0x1ac)]&&(_0xaa850b[_0x42d93a(0x1ac)]=_0x5e73af['record'][_0x42d93a(0x1ac)]),_0x5e73af[_0x42d93a(0x1d0)][_0x42d93a(0x1c3)]&&this[_0x42d93a(0x1ba)][_0x42d93a(0x19e)]({'name':_0xaa850b['name'],'operator':_0xaa850b[_0x42d93a(0x1a6)],'value':_0x5e73af['filter'][_0x42d93a(0x1c3)]}),delete _0x5e73af['filter'],_0xaa850b;});}async[a0_0x42af60(0x1dd)](){const _0x54df20=a0_0x42af60;await this[_0x54df20(0x1b8)][_0x54df20(0x1dd)]();}async[a0_0x42af60(0x1a1)]({page:_0x40282c=0x0,limit:_0x40fe5e=0x0,sortings:_0x2d1b27=[],filters:_0x58cab1=[]}){const _0xbab722=a0_0x42af60;return this['detailElement']&&this['detailElement'][_0xbab722(0x1a4)]&&await this[_0xbab722(0x19a)][_0xbab722(0x1a4)](),!0x0;}async[a0_0x42af60(0x1b3)](){const _0x5c3c11=a0_0x42af60;let _0x55905e=MetaApi[_0x5c3c11(0x1b2)](this[_0x5c3c11(0x1b8)]);!!ValueUtil['isNotEmpty'](_0x55905e)&&await this[_0x5c3c11(0x1b5)](_0x55905e)&&this[_0x5c3c11(0x1dd)]();}async[a0_0x42af60(0x1a0)](){const _0x4d00ba=a0_0x42af60;let _0x5357bb=MetaApi[_0x4d00ba(0x1c5)](this[_0x4d00ba(0x1b8)],!0x0);return ValueUtil['isNotEmpty'](_0x5357bb)?await this[_0x4d00ba(0x1df)](_0x5357bb[0x0]):{};}async[a0_0x42af60(0x1a7)](){const _0x4aea69=a0_0x42af60;let _0x457637=MetaApi[_0x4aea69(0x1c5)](this[_0x4aea69(0x1b8)],!0x0);!!ValueUtil['isNotEmpty'](_0x457637)&&await this[_0x4aea69(0x1b7)](_0x457637)&&this['fetch']();}async[a0_0x42af60(0x1bd)](){const _0x29053b=a0_0x42af60;let _0x278a5b=TermsUtil[_0x29053b(0x1e3)](ValueUtil['getParams'](this[_0x29053b(0x197)],_0x29053b(0x1cf)));return await MetaApi[_0x29053b(0x1b1)](this[_0x29053b(0x1d3)],_0x278a5b,this[_0x29053b(0x1b8)]);}async[a0_0x42af60(0x1cb)](){}[a0_0x42af60(0x1c9)](){const _0x583071=a0_0x42af60;let _0x4996fc=this[_0x583071(0x1b8)][_0x583071(0x1c2)][_0x583071(0x1af)];return _0x4996fc=JSON[_0x583071(0x1c0)](JSON[_0x583071(0x1dc)](_0x4996fc)),_0x4996fc[_0x583071(0x1c7)](_0x4eebea=>{const _0x7dfa9e=_0x583071;Object[_0x7dfa9e(0x1d4)](_0x4eebea)[_0x7dfa9e(0x1c7)](_0x4e8755=>{const _0x4769ae=_0x7dfa9e;_0x4e8755[_0x4769ae(0x1c1)]('__')&&delete _0x4eebea[_0x4e8755];});}),{'main':_0x4996fc,'detail':this[_0x583071(0x19a)][_0x583071(0x1c9)]()};}};
@@ -1 +1 @@
1
- const a0_0x56544a=a0_0x4b3c;(function(_0x34a4dc,_0x45b4d2){const _0x3b1a3e=a0_0x4b3c,_0x38d06d=_0x34a4dc();while(!![]){try{const _0x371b9f=parseInt(_0x3b1a3e(0x83))/0x1+-parseInt(_0x3b1a3e(0x76))/0x2+parseInt(_0x3b1a3e(0x91))/0x3*(parseInt(_0x3b1a3e(0x66))/0x4)+-parseInt(_0x3b1a3e(0x79))/0x5*(-parseInt(_0x3b1a3e(0x68))/0x6)+-parseInt(_0x3b1a3e(0x77))/0x7+-parseInt(_0x3b1a3e(0x89))/0x8+parseInt(_0x3b1a3e(0x7d))/0x9;if(_0x371b9f===_0x45b4d2)break;else _0x38d06d['push'](_0x38d06d['shift']());}catch(_0x2398c7){_0x38d06d['push'](_0x38d06d['shift']());}}}(a0_0x445c,0xb0802));function a0_0x4b3c(_0x2fb380,_0xc6f8db){const _0x445ca4=a0_0x445c();return a0_0x4b3c=function(_0x4b3cc5,_0x9971e0){_0x4b3cc5=_0x4b3cc5-0x66;let _0x43b64c=_0x445ca4[_0x4b3cc5];return _0x43b64c;},a0_0x4b3c(_0x2fb380,_0xc6f8db);}import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x4ba829=>class extends MetaBaseMixin(_0x4ba829){static get[a0_0x56544a(0x86)](){return{'gqlInfo':Object};}[a0_0x56544a(0x73)](_0x5e90ec){const _0x2e906e=a0_0x56544a;this[_0x2e906e(0xa2)]=_0x5e90ec[_0x2e906e(0x80)];}async[a0_0x56544a(0x8a)]({page:_0x2702b6=0x0,limit:_0xf09825=0x0,sortings:_0x9c0fc0=[],filters:_0x2197df=[]}){const _0x3901ab=a0_0x56544a;if(this[_0x3901ab(0x8f)])return{'total':0x0,'records':this[_0x3901ab(0xa4)]||[]};if(!0x0===this[_0x3901ab(0x82)]&&(_0x2702b6=0x0,_0xf09825=0x0),this[_0x3901ab(0x9f)]&&0x0==await this[_0x3901ab(0x9f)]({'page':_0x2702b6,'limit':_0xf09825,'sortings':_0x9c0fc0,'filters':_0x2197df}))return;if(!this[_0x3901ab(0x6a)])return{'total':0x0,'records':[]};let _0x53a1d7=ValueUtil['isEmpty'](_0x2197df)?this[_0x3901ab(0x9e)]?await this['mainFilterForm'][_0x3901ab(0x8b)]()||[]:await this[_0x3901ab(0x81)]?.[_0x3901ab(0x8b)]()||[]:_0x2197df,_0x4234a8=ValueUtil[_0x3901ab(0x6d)](this[_0x3901ab(0xa2)],_0x3901ab(0x71),_0x3901ab(0x88)),_0x141cbb=ValueUtil[_0x3901ab(0x6d)](this[_0x3901ab(0xa2)],_0x3901ab(0x71),_0x3901ab(0x98)),_0x35b8b6=ValueUtil[_0x3901ab(0x6d)](this[_0x3901ab(0xa2)],_0x3901ab(0x71),'after_set_fields');if(ValueUtil['isNotEmpty'](_0x141cbb)&&(_0x53a1d7=adjustFilters(_0x53a1d7,_0x141cbb)),_0x53a1d7[_0x3901ab(0x6f)](...this[_0x3901ab(0x6e)]()),this[_0x3901ab(0x78)]&&!this[_0x3901ab(0x9e)]){let _0x2ed6c0=ValueUtil[_0x3901ab(0x6d)](this['gqlInfo'],_0x3901ab(0x71),_0x3901ab(0x99));if(!ValueUtil[_0x3901ab(0x8d)](_0x2ed6c0)||!ValueUtil[_0x3901ab(0x8d)](this[_0x3901ab(0x99)]))return{'total':0x0,'records':[]};_0x53a1d7=adjustFilters(_0x53a1d7,[{'name':_0x2ed6c0,'operator':'eq','value':this[_0x3901ab(0x99)]}]);}let _0x19485f=Object[_0x3901ab(0x95)](_0x35b8b6||{}),_0x1e1292=MetaApi[_0x3901ab(0x90)](this[_0x3901ab(0x6a)][_0x3901ab(0x74)][_0x3901ab(0x8c)](_0x2faa69=>!_0x19485f[_0x3901ab(0x93)](_0x2faa69['name']))),_0x2b93db={};if(_0x4234a8[_0x3901ab(0x93)]('$')){let _0x3fc8e8=_0x4234a8[_0x3901ab(0x97)]('$','');_0x2b93db=(await MetaApi[_0x3901ab(0x9b)](void 0x0,_0x3fc8e8,{'filters':_0x53a1d7,'pagination':{'page':_0x2702b6,'limit':_0xf09825},'sortings':_0x9c0fc0},!0x1))[_0x3901ab(0x7c)][_0x3901ab(0xa1)][_0x3901ab(0x7c)][_0x3901ab(0x9a)];}else _0x2b93db=await MetaApi[_0x3901ab(0xa3)](_0x4234a8,_0x53a1d7,_0x9c0fc0,_0x2702b6,_0xf09825,_0x1e1292);if(this[_0x3901ab(0x6c)]){let _0xc398f0=await this[_0x3901ab(0x6c)]({'page':_0x2702b6,'limit':_0xf09825,'sortings':_0x9c0fc0,'filters':_0x2197df},_0x2b93db);if(_0xc398f0)return _0xc398f0;}return ValueUtil['isNotEmpty'](_0x35b8b6)&&ValueUtil[_0x3901ab(0x8d)](_0x2b93db)&&ValueUtil[_0x3901ab(0x8d)](_0x2b93db[_0x3901ab(0xa6)])&&_0x2b93db['records']['map'](_0x390f30=>(_0x19485f[_0x3901ab(0x94)](_0x4c8420=>{const _0x1522dc=_0x3901ab;_0x390f30[_0x4c8420]=ValueUtil['getParams'](_0x390f30,..._0x35b8b6[_0x4c8420][_0x1522dc(0x96)]('.'));}),_0x390f30)),_0x2b93db;}['getPageNavigateParams'](){const _0x45e36e=a0_0x56544a;if(0x0==this[_0x45e36e(0x84)])return[];let _0x1817cc=this[_0x45e36e(0x7e)]?.[_0x45e36e(0x72)]?this['lifecycle'][_0x45e36e(0x72)]:{};if(!_0x1817cc['pass'])return[];let _0xcddcda=_0x1817cc['pass'],_0x9a0693=JSON[_0x45e36e(0x9d)](_0xcddcda),_0x490d21=0x1==_0x9a0693[_0x45e36e(0x69)]?'eq':'in',_0x12ca21={},_0x3c3e2c=[];return Object['keys'](_0x9a0693[0x0])[_0x45e36e(0x94)](_0x2a5ecc=>{_0x12ca21[_0x2a5ecc]={'name':_0x2a5ecc,'operator':_0x490d21,'value':'eq'===_0x490d21?_0x9a0693[0x0][_0x2a5ecc]:[]};}),_0x9a0693[_0x45e36e(0x69)]>0x1&&_0x9a0693[_0x45e36e(0x94)](_0x468868=>{const _0x6b7171=_0x45e36e;Object[_0x6b7171(0x95)](_0x468868)['forEach'](_0x104eda=>{const _0x5b0967=_0x6b7171;_0x12ca21[_0x104eda][_0x5b0967(0x7a)][_0x5b0967(0x6f)](_0x468868[_0x104eda]);});}),Object[_0x45e36e(0x95)](_0x12ca21)[_0x45e36e(0x94)](_0x45313c=>{_0x3c3e2c['push'](_0x12ca21[_0x45313c]);}),_0x3c3e2c;}async[a0_0x56544a(0x85)](_0x45103b){const _0x262e70=a0_0x56544a;if(this['is_activity'])return this[_0x262e70(0xa4)]||{};let _0x391d6f=ValueUtil[_0x262e70(0x6d)](this['gqlInfo'],_0x262e70(0x71),_0x262e70(0x7b)),_0x22dc9f=ValueUtil[_0x262e70(0x6d)](this[_0x262e70(0xa2)],_0x262e70(0x71),_0x262e70(0x87)),_0x2d4c50=Object[_0x262e70(0x95)](_0x22dc9f||{}),_0x465abc=MetaApi[_0x262e70(0x90)]((this[_0x262e70(0x6a)]?this[_0x262e70(0x6a)]:{'columns':this[_0x262e70(0x92)]})[_0x262e70(0x74)][_0x262e70(0x8c)](_0xd12b9a=>!_0x2d4c50[_0x262e70(0x93)](_0xd12b9a['name']))),_0x4215ce={};if(_0x391d6f[_0x262e70(0x93)]('$')){let _0x49a6b0=_0x391d6f[_0x262e70(0x97)]('$',''),_0x197e98=await MetaApi['callScenario'](void 0x0,_0x49a6b0,{'id':_0x45103b},!0x1);_0x4215ce=_0x197e98['data']['runScenario']['data'][_0x262e70(0x9a)];}else _0x4215ce=await MetaApi['findOne'](_0x391d6f,_0x45103b,_0x465abc);return ValueUtil[_0x262e70(0x8d)](_0x22dc9f)&&ValueUtil[_0x262e70(0x8d)](_0x4215ce)&&_0x2d4c50[_0x262e70(0x94)](_0x3b4292=>{const _0x3839d7=_0x262e70;_0x4215ce[_0x3b4292]=ValueUtil[_0x3839d7(0x6d)](_0x4215ce,..._0x22dc9f[_0x3b4292][_0x3839d7(0x96)]('.'));}),_0x4215ce;}async[a0_0x56544a(0x8e)](_0x570716){const _0x18a350=a0_0x56544a;let _0x3314e5=ValueUtil[_0x18a350(0x6d)](this[_0x18a350(0xa2)],'mutation',_0x18a350(0xa7),'func');return await MetaApi[_0x18a350(0x9c)](_0x570716,_0x3314e5);}async[a0_0x56544a(0x70)](_0x5d6110){const _0x3dd37e=a0_0x56544a;let _0x213db1=ValueUtil[_0x3dd37e(0x6d)](this[_0x3dd37e(0xa2)],_0x3dd37e(0x75),'multiple',_0x3dd37e(0x6b)),_0xa96e3=ValueUtil['getParams'](this[_0x3dd37e(0xa2)],_0x3dd37e(0x75),_0x3dd37e(0x7f),_0x3dd37e(0xa5));if(ValueUtil[_0x3dd37e(0x8d)](_0xa96e3)&&(_0xa96e3=_0xa96e3[_0x3dd37e(0x67)](_0x2b3338=>_0x2b3338[_0x3dd37e(0x93)]('.')?_0x2b3338[_0x3dd37e(0x96)]('.'):_0x2b3338),_0x5d6110=_0x5d6110[_0x3dd37e(0x67)](_0x544cbc=>(_0xa96e3[_0x3dd37e(0x94)](_0x390684=>{const _0x5711fe=_0x3dd37e;Array[_0x5711fe(0xa0)](_0x390684)?delete _0x544cbc[_0x390684[0x0]][_0x390684[0x1]]:delete _0x544cbc[_0x390684];}),_0x544cbc))),this[_0x3dd37e(0x78)]&&ValueUtil[_0x3dd37e(0x8d)](this['parent_id'])){let _0x4b9a71=ValueUtil[_0x3dd37e(0x6d)](this[_0x3dd37e(0xa2)],_0x3dd37e(0x75),_0x3dd37e(0x7f),'parent_id');ValueUtil[_0x3dd37e(0x8d)](_0x4b9a71)&&_0x5d6110[_0x3dd37e(0x94)](_0xfaddc0=>{const _0x100811=_0x3dd37e;if(_0x4b9a71[_0x100811(0x93)]('.')){let _0x409394=_0x4b9a71[_0x100811(0x96)]('.');_0xfaddc0[_0x409394[0x0]]={},_0xfaddc0[_0x409394[0x0]][_0x409394[0x1]]=this['parent_id'];}else _0xfaddc0[_0x4b9a71]=this[_0x100811(0x99)];});}return await MetaApi[_0x3dd37e(0x70)](_0x213db1,_0x5d6110);}};function a0_0x445c(){const _0x507048=['154401SkKNUp','isPage','findOne','properties','after_set_fields','list_func','8649352bcJdRH','fetchHandler','getQueryFilters','filter','isNotEmpty','deleteByIds','is_activity','getSelectColumns','411dIrmzw','formConfigSet','includes','forEach','keys','split','replace','filters','parent_id','result','callScenario','deleteListByIds','parse','mainFilterForm','beforeFetch','isArray','runScenario','gqlInfo','searchByPagination','dataSet','skip_fields','records','delete','19868kZbVqI','map','1086XJFMgL','length','gristConfigSet','func','afterFetch','getParams','getPageNavigateParams','push','updateMultiple','query','params','parseBasicServiceConfigs','columns','mutation','540274pvBDMR','1708350jibvlz','isElement','14590JRvjRL','value','find_one_func','data','8597376GdSgSy','lifecycle','multiple','gql','filterForm','infinityPage'];a0_0x445c=function(){return _0x507048;};return a0_0x445c();}
1
+ const a0_0x44f535=a0_0x25fa;function a0_0x25fa(_0x446c39,_0x3b07ce){const _0x11d66b=a0_0x11d6();return a0_0x25fa=function(_0x25fa26,_0x2c4513){_0x25fa26=_0x25fa26-0xeb;let _0xbf484e=_0x11d66b[_0x25fa26];return _0xbf484e;},a0_0x25fa(_0x446c39,_0x3b07ce);}(function(_0x574696,_0x59a643){const _0x235e62=a0_0x25fa,_0x45bc86=_0x574696();while(!![]){try{const _0x10f756=parseInt(_0x235e62(0x10d))/0x1+-parseInt(_0x235e62(0xf1))/0x2+-parseInt(_0x235e62(0x111))/0x3+parseInt(_0x235e62(0x128))/0x4*(-parseInt(_0x235e62(0x117))/0x5)+parseInt(_0x235e62(0xf8))/0x6*(parseInt(_0x235e62(0x122))/0x7)+-parseInt(_0x235e62(0x123))/0x8+-parseInt(_0x235e62(0x101))/0x9*(-parseInt(_0x235e62(0xf3))/0xa);if(_0x10f756===_0x59a643)break;else _0x45bc86['push'](_0x45bc86['shift']());}catch(_0x2195e4){_0x45bc86['push'](_0x45bc86['shift']());}}}(a0_0x11d6,0x425e2));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';function a0_0x11d6(){const _0x3d1956=['columns','forEach','skip_fields','isNotEmpty','30GvdHfk','parse','split','searchByPagination','replace','properties','lifecycle','isArray','isElement','90ZFxMZa','is_activity','params','gql','delete','filters','mainFilterForm','keys','deleteByIds','query','push','parent_id','100206NYkPQn','records','getSelectColumns','runScenario','493335IVpfBU','filterForm','after_set_fields','multiple','infinityPage','findOne','20jDcMqT','mutation','find_one_func','dataSet','list_func','updateMultiple','gqlInfo','beforeFetch','value','filter','getParams','347781gdsjdh','2226880yLelUX','gristConfigSet','parseBasicServiceConfigs','getPageNavigateParams','callScenario','306824rHAWtV','includes','map','name','isPage','data','func','length','pass','960200DDENxf','result','1152950jZZTVo'];a0_0x11d6=function(){return _0x3d1956;};return a0_0x11d6();}import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x1dbdc6=>class extends MetaBaseMixin(_0x1dbdc6){static get[a0_0x44f535(0xfd)](){return{'gqlInfo':Object};}[a0_0x44f535(0x125)](_0x25b169){const _0x42bfbf=a0_0x44f535;this[_0x42bfbf(0x11d)]=_0x25b169[_0x42bfbf(0x104)];}async['fetchHandler']({page:_0xebe6ee=0x0,limit:_0x4f2051=0x0,sortings:_0x87cdcf=[],filters:_0x1fea11=[]}){const _0x3cf682=a0_0x44f535;if(this[_0x3cf682(0x102)])return{'total':0x0,'records':this['dataSet']||[]};if(!0x0===this[_0x3cf682(0x115)]&&(_0xebe6ee=0x0,_0x4f2051=0x0),this['beforeFetch']&&0x0==await this[_0x3cf682(0x11e)]({'page':_0xebe6ee,'limit':_0x4f2051,'sortings':_0x87cdcf,'filters':_0x1fea11}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x3c4811=ValueUtil['isEmpty'](_0x1fea11)?this['mainFilterForm']?await this[_0x3cf682(0x107)]['getQueryFilters']()||[]:await this[_0x3cf682(0x112)]?.['getQueryFilters']()||[]:_0x1fea11,_0x8b5dba=ValueUtil[_0x3cf682(0x121)](this['gqlInfo'],_0x3cf682(0x10a),_0x3cf682(0x11b)),_0x3674ef=ValueUtil[_0x3cf682(0x121)](this[_0x3cf682(0x11d)],'query',_0x3cf682(0x106)),_0x5b370f=ValueUtil[_0x3cf682(0x121)](this['gqlInfo'],_0x3cf682(0x10a),_0x3cf682(0x113));if(ValueUtil['isNotEmpty'](_0x3674ef)&&(_0x3c4811=adjustFilters(_0x3c4811,_0x3674ef)),_0x3c4811[_0x3cf682(0x10b)](...this[_0x3cf682(0x126)]()),this[_0x3cf682(0x100)]&&!this[_0x3cf682(0x107)]){let _0x41fcc2=ValueUtil['getParams'](this['gqlInfo'],_0x3cf682(0x10a),'parent_id');if(!ValueUtil['isNotEmpty'](_0x41fcc2)||!ValueUtil['isNotEmpty'](this[_0x3cf682(0x10c)]))return{'total':0x0,'records':[]};_0x3c4811=adjustFilters(_0x3c4811,[{'name':_0x41fcc2,'operator':'eq','value':this[_0x3cf682(0x10c)]}]);}let _0x32be8f=Object[_0x3cf682(0x108)](_0x5b370f||{}),_0x5980d4=MetaApi[_0x3cf682(0x10f)](this['gristConfigSet'][_0x3cf682(0xf4)]['filter'](_0xe8d1c7=>!_0x32be8f[_0x3cf682(0x129)](_0xe8d1c7[_0x3cf682(0xeb)]))),_0x48fc08={};if(_0x8b5dba[_0x3cf682(0x129)]('$')){let _0x318575=_0x8b5dba[_0x3cf682(0xfc)]('$','');_0x48fc08=(await MetaApi[_0x3cf682(0x127)](void 0x0,_0x318575,{'filters':_0x3c4811,'pagination':{'page':_0xebe6ee,'limit':_0x4f2051},'sortings':_0x87cdcf},!0x1))[_0x3cf682(0xed)][_0x3cf682(0x110)][_0x3cf682(0xed)]['result'];}else _0x48fc08=await MetaApi[_0x3cf682(0xfb)](_0x8b5dba,_0x3c4811,_0x87cdcf,_0xebe6ee,_0x4f2051,_0x5980d4);if(this['afterFetch']){let _0x4d8cf1=await this['afterFetch']({'page':_0xebe6ee,'limit':_0x4f2051,'sortings':_0x87cdcf,'filters':_0x1fea11},_0x48fc08);if(_0x4d8cf1)return _0x4d8cf1;}return ValueUtil[_0x3cf682(0xf7)](_0x5b370f)&&ValueUtil['isNotEmpty'](_0x48fc08)&&ValueUtil[_0x3cf682(0xf7)](_0x48fc08['records'])&&_0x48fc08[_0x3cf682(0x10e)][_0x3cf682(0x12a)](_0x375dd7=>(_0x32be8f['forEach'](_0x1b1557=>{const _0x39861f=_0x3cf682;_0x375dd7[_0x1b1557]=ValueUtil[_0x39861f(0x121)](_0x375dd7,..._0x5b370f[_0x1b1557]['split']('.'));}),_0x375dd7)),_0x48fc08;}[a0_0x44f535(0x126)](){const _0x468099=a0_0x44f535;if(0x0==this[_0x468099(0xec)])return[];let _0x536d05=this[_0x468099(0xfe)]?.[_0x468099(0x103)]?this[_0x468099(0xfe)][_0x468099(0x103)]:{};if(!_0x536d05[_0x468099(0xf0)])return[];let _0xeec6c9=_0x536d05['pass'],_0x194553=JSON[_0x468099(0xf9)](_0xeec6c9),_0x4b0d57=0x1==_0x194553[_0x468099(0xef)]?'eq':'in',_0x25a321={},_0x3360bd=[];return Object['keys'](_0x194553[0x0])[_0x468099(0xf5)](_0x45ddc1=>{_0x25a321[_0x45ddc1]={'name':_0x45ddc1,'operator':_0x4b0d57,'value':'eq'===_0x4b0d57?_0x194553[0x0][_0x45ddc1]:[]};}),_0x194553[_0x468099(0xef)]>0x1&&_0x194553[_0x468099(0xf5)](_0x471883=>{const _0x2cac81=_0x468099;Object[_0x2cac81(0x108)](_0x471883)[_0x2cac81(0xf5)](_0x1ff76b=>{const _0x2050a1=_0x2cac81;_0x25a321[_0x1ff76b][_0x2050a1(0x11f)][_0x2050a1(0x10b)](_0x471883[_0x1ff76b]);});}),Object[_0x468099(0x108)](_0x25a321)[_0x468099(0xf5)](_0x305136=>{_0x3360bd['push'](_0x25a321[_0x305136]);}),_0x3360bd;}async['findOne'](_0x215f8f){const _0xdbc742=a0_0x44f535;if(this['is_activity'])return this[_0xdbc742(0x11a)]||{};let _0x3f8805=ValueUtil[_0xdbc742(0x121)](this[_0xdbc742(0x11d)],_0xdbc742(0x10a),_0xdbc742(0x119)),_0x19a3ce=ValueUtil[_0xdbc742(0x121)](this['gqlInfo'],_0xdbc742(0x10a),'after_set_fields'),_0x515872=Object[_0xdbc742(0x108)](_0x19a3ce||{}),_0x3eb74d=MetaApi[_0xdbc742(0x10f)]((this['gristConfigSet']?this[_0xdbc742(0x124)]:{'columns':this['formConfigSet']})['columns'][_0xdbc742(0x120)](_0x543099=>!_0x515872[_0xdbc742(0x129)](_0x543099['name']))),_0xf2a670={};if(_0x3f8805[_0xdbc742(0x129)]('$')){let _0x2987b8=_0x3f8805[_0xdbc742(0xfc)]('$',''),_0x84cf6f=await MetaApi[_0xdbc742(0x127)](void 0x0,_0x2987b8,{'id':_0x215f8f},!0x1);_0xf2a670=_0x84cf6f[_0xdbc742(0xed)]['runScenario'][_0xdbc742(0xed)][_0xdbc742(0xf2)];}else _0xf2a670=await MetaApi[_0xdbc742(0x116)](_0x3f8805,_0x215f8f,_0x3eb74d);return ValueUtil[_0xdbc742(0xf7)](_0x19a3ce)&&ValueUtil[_0xdbc742(0xf7)](_0xf2a670)&&_0x515872[_0xdbc742(0xf5)](_0xb7971c=>{const _0x1e40dc=_0xdbc742;_0xf2a670[_0xb7971c]=ValueUtil[_0x1e40dc(0x121)](_0xf2a670,..._0x19a3ce[_0xb7971c][_0x1e40dc(0xfa)]('.'));}),_0xf2a670;}async[a0_0x44f535(0x109)](_0x471091){const _0x511bcc=a0_0x44f535;let _0x2dce36=ValueUtil['getParams'](this['gqlInfo'],_0x511bcc(0x118),_0x511bcc(0x105),_0x511bcc(0xee));return await MetaApi['deleteListByIds'](_0x471091,_0x2dce36);}async[a0_0x44f535(0x11c)](_0x551747){const _0x2faed7=a0_0x44f535;let _0x3f94ee=ValueUtil[_0x2faed7(0x121)](this['gqlInfo'],_0x2faed7(0x118),_0x2faed7(0x114),_0x2faed7(0xee)),_0x390df9=ValueUtil[_0x2faed7(0x121)](this[_0x2faed7(0x11d)],_0x2faed7(0x118),_0x2faed7(0x114),_0x2faed7(0xf6));if(ValueUtil['isNotEmpty'](_0x390df9)&&(_0x390df9=_0x390df9[_0x2faed7(0x12a)](_0x4b3556=>_0x4b3556[_0x2faed7(0x129)]('.')?_0x4b3556[_0x2faed7(0xfa)]('.'):_0x4b3556),_0x551747=_0x551747[_0x2faed7(0x12a)](_0x3496b5=>(_0x390df9[_0x2faed7(0xf5)](_0x179cef=>{const _0x33ffeb=_0x2faed7;Array[_0x33ffeb(0xff)](_0x179cef)?delete _0x3496b5[_0x179cef[0x0]][_0x179cef[0x1]]:delete _0x3496b5[_0x179cef];}),_0x3496b5))),this[_0x2faed7(0x100)]&&ValueUtil['isNotEmpty'](this['parent_id'])){let _0x56e5c9=ValueUtil['getParams'](this[_0x2faed7(0x11d)],_0x2faed7(0x118),_0x2faed7(0x114),'parent_id');ValueUtil[_0x2faed7(0xf7)](_0x56e5c9)&&_0x551747[_0x2faed7(0xf5)](_0xdfce1d=>{const _0xa14530=_0x2faed7;if(_0x56e5c9['includes']('.')){let _0x1267cb=_0x56e5c9['split']('.');_0xdfce1d[_0x1267cb[0x0]]={},_0xdfce1d[_0x1267cb[0x0]][_0x1267cb[0x1]]=this['parent_id'];}else _0xdfce1d[_0x56e5c9]=this[_0xa14530(0x10c)];});}return await MetaApi[_0x2faed7(0x11c)](_0x3f94ee,_0x551747);}};
@@ -1 +1 @@
1
- function a0_0x3e44(){const _0x4ab3dd=['searchConfig','searchFields','10134970QwsMBd','3111584ebpgTE','gridConfig','parseGristConfigs','firstUpdated','useButtonImport','getData','buttonConfig','2718935soplwW','styles','268049VKUSqV','activityDataSet','isPage','pageInitialized','282VpKHKF','options','importable','useButtonExport','render','133147rCYmkc','filter','search','filterForm','connectedCallback','getContextObject','2172ifJPpH','gristId','ox-filters-form-base','grid','fetch','1491711VJVTOB','getTabDetailHtml','clear','grid_column','4mHqBXC','grist','masterElement','beforeFetch','type','getBasicTabDetailStyles','exportable','push','detailElement','value','map','gristConfigSet','searchFieldValues','gridColumnConfig','dataSet','operator','useMasterFilterForm','columns','getAndParseMenuMeta','67529MInFIB','actions','2Hjecho','record','9yeMevM','name'];a0_0x3e44=function(){return _0x4ab3dd;};return a0_0x3e44();}const a0_0x1a6483=a0_0x3afc;(function(_0x168a56,_0xa5034c){const _0x3799ae=a0_0x3afc,_0x33d1ed=_0x168a56();while(!![]){try{const _0x50fb1a=-parseInt(_0x3799ae(0x188))/0x1*(-parseInt(_0x3799ae(0x1b5))/0x2)+-parseInt(_0x3799ae(0x19c))/0x3+-parseInt(_0x3799ae(0x1a0))/0x4*(-parseInt(_0x3799ae(0x186))/0x5)+-parseInt(_0x3799ae(0x18c))/0x6*(-parseInt(_0x3799ae(0x191))/0x7)+-parseInt(_0x3799ae(0x1bc))/0x8+-parseInt(_0x3799ae(0x1b7))/0x9*(-parseInt(_0x3799ae(0x1bb))/0xa)+parseInt(_0x3799ae(0x1b3))/0xb*(-parseInt(_0x3799ae(0x197))/0xc);if(_0x50fb1a===_0xa5034c)break;else _0x33d1ed['push'](_0x33d1ed['shift']());}catch(_0x217268){_0x33d1ed['push'](_0x33d1ed['shift']());}}}(a0_0x3e44,0xb0438));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_0x3afc(_0x4977e5,_0x24023a){const _0x3e4484=a0_0x3e44();return a0_0x3afc=function(_0x3afc73,_0x24509e){_0x3afc73=_0x3afc73-0x180;let _0x53007d=_0x3e4484[_0x3afc73];return _0x53007d;},a0_0x3afc(_0x4977e5,_0x24023a);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x5753f1=>class extends MetaButtonMixin(_0x5753f1){static get[a0_0x1a6483(0x187)](){const _0x7c8c43=a0_0x1a6483;return MetaApi[_0x7c8c43(0x1a5)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x1a6483(0x1a1)](){return this['masterElement']['getMainGrist']();}get[a0_0x1a6483(0x194)](){return this['shadowRoot']?.['querySelector'](this['filterFormId']);}get['context'](){const _0x245425=a0_0x1a6483;let _0x23ca08=MetaUiUtil[_0x245425(0x196)](this);return _0x23ca08[_0x245425(0x1b4)]&&delete _0x23ca08[_0x245425(0x1b4)],_0x23ca08[_0x245425(0x1a6)]&&delete _0x23ca08['exportable'],_0x23ca08[_0x245425(0x18e)]&&delete _0x23ca08[_0x245425(0x18e)],_0x23ca08;}async['connectedCallback'](){const _0x3b7696=a0_0x1a6483;this[_0x3b7696(0x198)]='ox-grist',this['filterFormId']=_0x3b7696(0x199),await this[_0x3b7696(0x1b2)](),this['isElement']&&await this[_0x3b7696(0x181)](),this[_0x3b7696(0x189)]&&(this[_0x3b7696(0x1ae)]=(this[_0x3b7696(0x189)]||{})['main']),super[_0x3b7696(0x195)]&&await super[_0x3b7696(0x195)]();}async[a0_0x1a6483(0x182)](){const _0x191be3=a0_0x1a6483;super[_0x191be3(0x182)]&&await super[_0x191be3(0x182)]();}async[a0_0x1a6483(0x18b)](){const _0xcf03e8=a0_0x1a6483;this[_0xcf03e8(0x18a)]&&await this[_0xcf03e8(0x181)](),super[_0xcf03e8(0x18b)]&&await super[_0xcf03e8(0x18b)]();}[a0_0x1a6483(0x190)](){const _0x908313=a0_0x1a6483;return MetaApi[_0x908313(0x19d)](this);}['parseBasicGridConfigs'](_0xa41dea){const _0x4bd4f9=a0_0x1a6483;this[_0x4bd4f9(0x180)]=_0xa41dea[_0x4bd4f9(0x19a)],this[_0x4bd4f9(0x1ad)]=_0xa41dea[_0x4bd4f9(0x19f)],this[_0x4bd4f9(0x1b9)]=_0xa41dea['search'];}async[a0_0x1a6483(0x181)](){const _0x2fd9cb=a0_0x1a6483;this[_0x2fd9cb(0x1ab)]=await MetaApi['parseGridConfigSet'](this),this[_0x2fd9cb(0x1b0)]=!0x0===this['useFilterForm'],this['useFilterForm']=!0x1,this[_0x2fd9cb(0x185)]=void 0x0,this[_0x2fd9cb(0x18f)]=!0x1,this[_0x2fd9cb(0x183)]=!0x1,this[_0x2fd9cb(0x1ac)]=[],this[_0x2fd9cb(0x1ba)]=this[_0x2fd9cb(0x1ab)][_0x2fd9cb(0x1b1)][_0x2fd9cb(0x192)](_0x5b9434=>_0x5b9434[_0x2fd9cb(0x192)])[_0x2fd9cb(0x1aa)](_0xdce876=>{const _0x4596fb=_0x2fd9cb;let _0x1411f2={'name':_0xdce876[_0x4596fb(0x1b8)],'type':'search'===_0xdce876[_0x4596fb(0x192)][_0x4596fb(0x1af)]?_0x4596fb(0x193):_0xdce876[_0x4596fb(0x1a4)],'label':_0xdce876['header'],'operator':_0xdce876['filter'][_0x4596fb(0x1af)]?_0xdce876[_0x4596fb(0x192)][_0x4596fb(0x1af)]:'eq'};return _0xdce876['filter'][_0x4596fb(0x18d)]&&(_0x1411f2[_0x4596fb(0x18d)]=_0xdce876[_0x4596fb(0x192)][_0x4596fb(0x18d)]),_0xdce876[_0x4596fb(0x1b6)][_0x4596fb(0x18d)]&&(_0x1411f2[_0x4596fb(0x18d)]=_0xdce876['record'][_0x4596fb(0x18d)]),_0xdce876[_0x4596fb(0x192)][_0x4596fb(0x1a9)]&&this[_0x4596fb(0x1ac)][_0x4596fb(0x1a7)]({'name':_0x1411f2['name'],'operator':_0x1411f2[_0x4596fb(0x1af)],'value':_0xdce876[_0x4596fb(0x192)][_0x4596fb(0x1a9)]}),delete _0xdce876[_0x4596fb(0x192)],_0x1411f2;});}async[a0_0x1a6483(0x19b)](){const _0x384bd0=a0_0x1a6483;await this[_0x384bd0(0x1a1)][_0x384bd0(0x19b)]();}async[a0_0x1a6483(0x1a3)]({page:_0x52d6a7=0x0,limit:_0x664247=0x0,sortings:_0x2780ba=[],filters:_0xabe23e=[]}){const _0x261d3d=a0_0x1a6483;return this[_0x261d3d(0x1a2)]&&this[_0x261d3d(0x1a2)][_0x261d3d(0x19e)]&&await this['masterElement']['clear'](),this['detailElement']&&this[_0x261d3d(0x1a8)][_0x261d3d(0x19e)]&&await this[_0x261d3d(0x1a8)][_0x261d3d(0x19e)](),!0x0;}[a0_0x1a6483(0x184)](){const _0x325874=a0_0x1a6483;return{'master':this[_0x325874(0x1a2)][_0x325874(0x184)](),'detail':this[_0x325874(0x1a8)][_0x325874(0x184)]()};}};
1
+ const a0_0x861db5=a0_0x19f5;(function(_0x359468,_0x10d7e2){const _0x5f2625=a0_0x19f5,_0xc30960=_0x359468();while(!![]){try{const _0xc52f3d=parseInt(_0x5f2625(0x1d3))/0x1+parseInt(_0x5f2625(0x1f3))/0x2+parseInt(_0x5f2625(0x1fa))/0x3*(-parseInt(_0x5f2625(0x1fc))/0x4)+parseInt(_0x5f2625(0x205))/0x5*(parseInt(_0x5f2625(0x1db))/0x6)+-parseInt(_0x5f2625(0x1ec))/0x7*(parseInt(_0x5f2625(0x1fb))/0x8)+-parseInt(_0x5f2625(0x1e8))/0x9+parseInt(_0x5f2625(0x1e0))/0xa;if(_0xc52f3d===_0x10d7e2)break;else _0xc30960['push'](_0xc30960['shift']());}catch(_0x2307ab){_0xc30960['push'](_0xc30960['shift']());}}}(a0_0x44fb,0xec1ab));function a0_0x44fb(){const _0xc63aed=['filterForm','grid','value','parseBasicGridConfigs','getBasicTabDetailStyles','3395440fxXJgp','exportable','importable','operator','name','clear','connectedCallback','8133sVpOjI','24Appttf','2628PuSGpv','useButtonImport','type','pageInitialized','map','getMainGrist','getTabDetailHtml','fetch','gristId','4329285hRRQiT','beforeFetch','useFilterForm','gristConfigSet','header','getData','styles','render','ox-filters-form-base','main','parseGristConfigs','search','parseGridConfigSet','grist','record','204961treyEr','gridConfig','useMasterFilterForm','options','getAndParseMenuMeta','detailElement','masterElement','grid_column','6ScmgiX','actions','filterFormId','buttonConfig','shadowRoot','29336390PKGYYd','context','activityDataSet','properties','isPage','push','firstUpdated','dataSet','15826662mKtyEp','columns','searchConfig','filter','2789381SqYYYG','searchFieldValues'];a0_0x44fb=function(){return _0xc63aed;};return a0_0x44fb();}function a0_0x19f5(_0x45f961,_0x2fe982){const _0x44fbd5=a0_0x44fb();return a0_0x19f5=function(_0x19f54f,_0x44e434){_0x19f54f=_0x19f54f-0x1cd;let _0x5c1f4c=_0x44fbd5[_0x19f54f];return _0x5c1f4c;},a0_0x19f5(_0x45f961,_0x2fe982);}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 MetaTabDetailMixin=_0x7b5a96=>class extends MetaButtonMixin(_0x7b5a96){static get[a0_0x861db5(0x20b)](){const _0x3cf12f=a0_0x861db5;return MetaApi[_0x3cf12f(0x1f2)]();}static get[a0_0x861db5(0x1e3)](){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_0x861db5(0x1d1)](){const _0x2ebd86=a0_0x861db5;return this[_0x2ebd86(0x1d9)][_0x2ebd86(0x201)]();}get[a0_0x861db5(0x1ee)](){const _0x28c33a=a0_0x861db5;return this[_0x28c33a(0x1df)]?.['querySelector'](this[_0x28c33a(0x1dd)]);}get[a0_0x861db5(0x1e1)](){const _0x34e9f8=a0_0x861db5;let _0x32bec3=MetaUiUtil['getContextObject'](this);return _0x32bec3[_0x34e9f8(0x1dc)]&&delete _0x32bec3['actions'],_0x32bec3['exportable']&&delete _0x32bec3[_0x34e9f8(0x1f4)],_0x32bec3[_0x34e9f8(0x1f5)]&&delete _0x32bec3[_0x34e9f8(0x1f5)],_0x32bec3;}async['connectedCallback'](){const _0x2ee251=a0_0x861db5;this[_0x2ee251(0x204)]='ox-grist',this[_0x2ee251(0x1dd)]=_0x2ee251(0x20d),await this[_0x2ee251(0x1d7)](),this['isElement']&&await this['parseGristConfigs'](),this[_0x2ee251(0x1e2)]&&(this[_0x2ee251(0x1e7)]=(this[_0x2ee251(0x1e2)]||{})[_0x2ee251(0x1cd)]),super[_0x2ee251(0x1f9)]&&await super[_0x2ee251(0x1f9)]();}async['firstUpdated'](){const _0x190944=a0_0x861db5;super[_0x190944(0x1e6)]&&await super['firstUpdated']();}async[a0_0x861db5(0x1ff)](){const _0x132b1c=a0_0x861db5;this[_0x132b1c(0x1e4)]&&await this[_0x132b1c(0x1ce)](),super[_0x132b1c(0x1ff)]&&await super[_0x132b1c(0x1ff)]();}[a0_0x861db5(0x20c)](){const _0x41affb=a0_0x861db5;return MetaApi[_0x41affb(0x202)](this);}[a0_0x861db5(0x1f1)](_0x10c423){const _0x50c1d4=a0_0x861db5;this[_0x50c1d4(0x1d4)]=_0x10c423[_0x50c1d4(0x1ef)],this['gridColumnConfig']=_0x10c423[_0x50c1d4(0x1da)],this[_0x50c1d4(0x1ea)]=_0x10c423[_0x50c1d4(0x1cf)];}async[a0_0x861db5(0x1ce)](){const _0x5a0cbe=a0_0x861db5;this[_0x5a0cbe(0x208)]=await MetaApi[_0x5a0cbe(0x1d0)](this),this[_0x5a0cbe(0x1d5)]=!0x0===this[_0x5a0cbe(0x207)],this[_0x5a0cbe(0x207)]=!0x1,this[_0x5a0cbe(0x1de)]=void 0x0,this['useButtonExport']=!0x1,this[_0x5a0cbe(0x1fd)]=!0x1,this[_0x5a0cbe(0x1ed)]=[],this['searchFields']=this[_0x5a0cbe(0x208)][_0x5a0cbe(0x1e9)]['filter'](_0x2f5bc4=>_0x2f5bc4[_0x5a0cbe(0x1eb)])[_0x5a0cbe(0x200)](_0x3f1ae2=>{const _0x2462d8=_0x5a0cbe;let _0x9d1339={'name':_0x3f1ae2[_0x2462d8(0x1f7)],'type':'search'===_0x3f1ae2[_0x2462d8(0x1eb)][_0x2462d8(0x1f6)]?_0x2462d8(0x1cf):_0x3f1ae2[_0x2462d8(0x1fe)],'label':_0x3f1ae2[_0x2462d8(0x209)],'operator':_0x3f1ae2[_0x2462d8(0x1eb)][_0x2462d8(0x1f6)]?_0x3f1ae2[_0x2462d8(0x1eb)]['operator']:'eq'};return _0x3f1ae2[_0x2462d8(0x1eb)]['options']&&(_0x9d1339[_0x2462d8(0x1d6)]=_0x3f1ae2[_0x2462d8(0x1eb)][_0x2462d8(0x1d6)]),_0x3f1ae2[_0x2462d8(0x1d2)][_0x2462d8(0x1d6)]&&(_0x9d1339[_0x2462d8(0x1d6)]=_0x3f1ae2[_0x2462d8(0x1d2)][_0x2462d8(0x1d6)]),_0x3f1ae2['filter'][_0x2462d8(0x1f0)]&&this[_0x2462d8(0x1ed)][_0x2462d8(0x1e5)]({'name':_0x9d1339['name'],'operator':_0x9d1339[_0x2462d8(0x1f6)],'value':_0x3f1ae2[_0x2462d8(0x1eb)][_0x2462d8(0x1f0)]}),delete _0x3f1ae2[_0x2462d8(0x1eb)],_0x9d1339;});}async['fetch'](){const _0x49d350=a0_0x861db5;await this[_0x49d350(0x1d1)][_0x49d350(0x203)]();}async[a0_0x861db5(0x206)]({page:_0x1b84e6=0x0,limit:_0xc718eb=0x0,sortings:_0x227679=[],filters:_0x441ed3=[]}){const _0x1435ba=a0_0x861db5;return this[_0x1435ba(0x1d9)]&&this[_0x1435ba(0x1d9)]['clear']&&await this[_0x1435ba(0x1d9)]['clear'](),this[_0x1435ba(0x1d8)]&&this[_0x1435ba(0x1d8)][_0x1435ba(0x1f8)]&&await this[_0x1435ba(0x1d8)][_0x1435ba(0x1f8)](),!0x0;}[a0_0x861db5(0x20a)](){const _0x22a47d=a0_0x861db5;return{'master':this[_0x22a47d(0x1d9)][_0x22a47d(0x20a)](),'detail':this[_0x22a47d(0x1d8)][_0x22a47d(0x20a)]()};}};
@@ -1 +1 @@
1
- const a0_0x280dd5=a0_0x4624;(function(_0x3fd46d,_0x7b29b1){const _0x3c00eb=a0_0x4624,_0x4e4062=_0x3fd46d();while(!![]){try{const _0x32835d=-parseInt(_0x3c00eb(0x10e))/0x1*(parseInt(_0x3c00eb(0x128))/0x2)+-parseInt(_0x3c00eb(0x122))/0x3*(parseInt(_0x3c00eb(0x116))/0x4)+parseInt(_0x3c00eb(0x11a))/0x5+parseInt(_0x3c00eb(0x127))/0x6*(parseInt(_0x3c00eb(0x12f))/0x7)+parseInt(_0x3c00eb(0x132))/0x8*(-parseInt(_0x3c00eb(0x117))/0x9)+-parseInt(_0x3c00eb(0x119))/0xa+parseInt(_0x3c00eb(0x10f))/0xb;if(_0x32835d===_0x7b29b1)break;else _0x4e4062['push'](_0x4e4062['shift']());}catch(_0x59a130){_0x4e4062['push'](_0x4e4062['shift']());}}}(a0_0x493c,0x6e50b));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';function a0_0x4624(_0x3b1c89,_0x334e22){const _0x493c80=a0_0x493c();return a0_0x4624=function(_0x4624cd,_0xf2fe6){_0x4624cd=_0x4624cd-0x10c;let _0x2eb38a=_0x493c80[_0x4624cd];return _0x2eb38a;},a0_0x4624(_0x3b1c89,_0x334e22);}function a0_0x493c(){const _0x36a6f8=['route_name','parse','includeMainList','meta-grist-element','parseBasicTabConfigs','getContextObject','120904WYjCdo','currentTabKey','tab','40CZCHDz','styles','properties','firstUpdated','forEach','connectedCallback','27502LhMuXa','13027839XUfOCR','activityDataSet','index','clear','getBasicTabHtml','getAndParseMenuMeta','pageInitialized','102836krnbXW','683226hdMEri','grist','4391270VGsjpz','3243715rJtLni','length','param_field','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}','button','tabElements','icon','@things-factory/meta-ui/client/pages/meta-grist-element','102NPzjAq','keys','dataSet','getBasicTabStyles','etcConfig','156bzgsiG','10gBekxW'];a0_0x493c=function(){return _0x36a6f8;};return a0_0x493c();}export const MetaTabMixin=_0x268159=>class extends MetaButtonMixin(_0x268159){static get[a0_0x280dd5(0x133)](){const _0xeb0a15=a0_0x280dd5;return MetaApi[_0xeb0a15(0x125)]();}static get[a0_0x280dd5(0x134)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x554f52=a0_0x280dd5;return MetaUiUtil[_0x554f52(0x12e)](this);}async['connectedCallback'](){const _0x59193c=a0_0x280dd5;this[_0x59193c(0x130)]=void 0x0,await this[_0x59193c(0x114)](),this[_0x59193c(0x110)]&&(this[_0x59193c(0x124)]=this['activityDataSet']),super[_0x59193c(0x10d)]&&await super[_0x59193c(0x10d)]();}async['firstUpdated'](){const _0x1bbceb=a0_0x280dd5;super[_0x1bbceb(0x135)]&&await super[_0x1bbceb(0x135)]();}async['pageInitialized'](){const _0x34d5d7=a0_0x280dd5;super['pageInitialized']&&await super[_0x34d5d7(0x115)]();}['render'](){const _0x2cf875=a0_0x280dd5;return MetaApi[_0x2cf875(0x113)](this);}[a0_0x280dd5(0x12d)](_0xd0eaba){const _0x58a995=a0_0x280dd5;if(!0x0===this[_0x58a995(0x12b)]){let _0x5b5c5e=this[_0x58a995(0x126)]['main_tab_info'],_0x4e947b=JSON[_0x58a995(0x12a)](_0x5b5c5e||_0x58a995(0x11d));_0x4e947b[_0x58a995(0x111)]>_0xd0eaba[_0x58a995(0x131)][_0x58a995(0x11b)]&&(_0x4e947b[_0x58a995(0x111)]=_0xd0eaba['tab'][_0x58a995(0x11b)]),_0xd0eaba[_0x58a995(0x131)]['splice'](_0x4e947b[_0x58a995(0x111)],0x0,{'name':_0x4e947b['name'],'display':_0x4e947b['display'],'tagname':_0x58a995(0x12c),'location':_0x58a995(0x121),'parent_field':'id','param_field':_0x58a995(0x11c),'menu':this[_0x58a995(0x129)],'icon':_0x4e947b[_0x58a995(0x120)],'filter_from':!0x1,'main_filter_form':this['mainFilterForm']});}this['tabRenderConfig']=_0xd0eaba[_0x58a995(0x131)],_0xd0eaba[_0x58a995(0x11e)]=[];}async[a0_0x280dd5(0x112)](){const _0x5518f3=a0_0x280dd5;if(this['tabElements']){let _0x246909=Object[_0x5518f3(0x123)](this['tabElements']);for(var _0xade537=0x0;_0xade537<_0x246909[_0x5518f3(0x11b)];_0xade537++)await this['tabElements'][_0x246909[_0xade537]][_0x5518f3(0x112)]();}}['getData'](){const _0x15fceb=a0_0x280dd5;let _0x72c349={};return this[_0x15fceb(0x11f)]&&Object['keys'](this[_0x15fceb(0x11f)])[_0x15fceb(0x10c)](_0x26c4f8=>{const _0xd55db1=_0x15fceb;_0x72c349[_0x26c4f8]=this[_0xd55db1(0x11f)][_0x26c4f8]['getData']();}),_0x72c349;}['getMainGrist'](){const _0x421f34=a0_0x280dd5;if(this[_0x421f34(0x11f)]){let _0x47ec6e=Object[_0x421f34(0x123)](this[_0x421f34(0x11f)]);return this[_0x421f34(0x11f)][_0x47ec6e[0x0]][_0x421f34(0x118)];}}};
1
+ const a0_0x35cb91=a0_0x15f2;function a0_0x15f2(_0x3601fd,_0x4662c8){const _0x598193=a0_0x5981();return a0_0x15f2=function(_0x15f209,_0x124606){_0x15f209=_0x15f209-0x162;let _0x5a9a54=_0x598193[_0x15f209];return _0x5a9a54;},a0_0x15f2(_0x3601fd,_0x4662c8);}function a0_0x5981(){const _0x3a201b=['getBasicTabStyles','tab','15VvrJdN','param_field','firstUpdated','pageInitialized','route_name','@things-factory/meta-ui/client/pages/meta-grist-element','connectedCallback','51KMemFn','792276LzIsRh','button','getData','666OdgDvo','index','tabRenderConfig','clear','getBasicTabHtml','render','dataSet','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}','127930pDxFuh','289548AlsmdO','4876304qOSgFE','9842938eWBnrS','6ZWEWkj','context','properties','parse','activityDataSet','parseBasicTabConfigs','icon','mainFilterForm','forEach','keys','includeMainList','getContextObject','getAndParseMenuMeta','getMainGrist','9092721qjXNZa','length','currentTabKey','splice','name','tabElements','main_tab_info','109638zwIIpf','meta-grist-element'];a0_0x5981=function(){return _0x3a201b;};return a0_0x5981();}(function(_0x5d3ecc,_0x5f3f62){const _0x1b2871=a0_0x15f2,_0x3248dd=_0x5d3ecc();while(!![]){try{const _0x548065=-parseInt(_0x1b2871(0x172))/0x1+-parseInt(_0x1b2871(0x18a))/0x2*(-parseInt(_0x1b2871(0x165))/0x3)+-parseInt(_0x1b2871(0x166))/0x4*(parseInt(_0x1b2871(0x18e))/0x5)+parseInt(_0x1b2871(0x175))/0x6*(parseInt(_0x1b2871(0x174))/0x7)+-parseInt(_0x1b2871(0x173))/0x8+-parseInt(_0x1b2871(0x169))/0x9*(parseInt(_0x1b2871(0x171))/0xa)+parseInt(_0x1b2871(0x183))/0xb;if(_0x548065===_0x5f3f62)break;else _0x3248dd['push'](_0x3248dd['shift']());}catch(_0x4b008f){_0x3248dd['push'](_0x3248dd['shift']());}}}(a0_0x5981,0xb0ed5));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=_0x574394=>class extends MetaButtonMixin(_0x574394){static get['styles'](){const _0x5b6c37=a0_0x15f2;return MetaApi[_0x5b6c37(0x18c)]();}static get[a0_0x35cb91(0x177)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x35cb91(0x176)](){const _0x17a5d4=a0_0x35cb91;return MetaUiUtil[_0x17a5d4(0x180)](this);}async[a0_0x35cb91(0x164)](){const _0x5214b1=a0_0x35cb91;this[_0x5214b1(0x185)]=void 0x0,await this[_0x5214b1(0x181)](),this['activityDataSet']&&(this[_0x5214b1(0x16f)]=this[_0x5214b1(0x179)]),super[_0x5214b1(0x164)]&&await super[_0x5214b1(0x164)]();}async['firstUpdated'](){const _0x51d77e=a0_0x35cb91;super[_0x51d77e(0x190)]&&await super[_0x51d77e(0x190)]();}async['pageInitialized'](){const _0x148d30=a0_0x35cb91;super[_0x148d30(0x191)]&&await super[_0x148d30(0x191)]();}[a0_0x35cb91(0x16e)](){const _0x1567f9=a0_0x35cb91;return MetaApi[_0x1567f9(0x16d)](this);}[a0_0x35cb91(0x17a)](_0x1ff6a8){const _0xc4d1f0=a0_0x35cb91;if(!0x0===this[_0xc4d1f0(0x17f)]){let _0x2bff0a=this['etcConfig'][_0xc4d1f0(0x189)],_0x4c9403=JSON[_0xc4d1f0(0x178)](_0x2bff0a||_0xc4d1f0(0x170));_0x4c9403[_0xc4d1f0(0x16a)]>_0x1ff6a8[_0xc4d1f0(0x18d)]['length']&&(_0x4c9403[_0xc4d1f0(0x16a)]=_0x1ff6a8['tab'][_0xc4d1f0(0x184)]),_0x1ff6a8[_0xc4d1f0(0x18d)][_0xc4d1f0(0x186)](_0x4c9403[_0xc4d1f0(0x16a)],0x0,{'name':_0x4c9403[_0xc4d1f0(0x187)],'display':_0x4c9403['display'],'tagname':_0xc4d1f0(0x18b),'location':_0xc4d1f0(0x163),'parent_field':'id','param_field':_0xc4d1f0(0x18f),'menu':this[_0xc4d1f0(0x162)],'icon':_0x4c9403[_0xc4d1f0(0x17b)],'filter_from':!0x1,'main_filter_form':this[_0xc4d1f0(0x17c)]});}this[_0xc4d1f0(0x16b)]=_0x1ff6a8['tab'],_0x1ff6a8[_0xc4d1f0(0x167)]=[];}async[a0_0x35cb91(0x16c)](){const _0x523ee4=a0_0x35cb91;if(this[_0x523ee4(0x188)]){let _0x45769c=Object['keys'](this[_0x523ee4(0x188)]);for(var _0x9ea783=0x0;_0x9ea783<_0x45769c[_0x523ee4(0x184)];_0x9ea783++)await this[_0x523ee4(0x188)][_0x45769c[_0x9ea783]]['clear']();}}['getData'](){const _0x1fd5db=a0_0x35cb91;let _0x5d59c0={};return this[_0x1fd5db(0x188)]&&Object[_0x1fd5db(0x17e)](this['tabElements'])[_0x1fd5db(0x17d)](_0x5edabe=>{const _0x274c01=_0x1fd5db;_0x5d59c0[_0x5edabe]=this[_0x274c01(0x188)][_0x5edabe][_0x274c01(0x168)]();}),_0x5d59c0;}[a0_0x35cb91(0x182)](){const _0xfdeadf=a0_0x35cb91;if(this[_0xfdeadf(0x188)]){let _0x15decc=Object[_0xfdeadf(0x17e)](this[_0xfdeadf(0x188)]);return this[_0xfdeadf(0x188)][_0x15decc[0x0]]['grist'];}}};