@things-factory/meta-ui 6.0.150 → 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 +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +6 -6
  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 +5 -5
  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 +2 -2
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +10 -10
  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_0x24a3a1=a0_0x2341;function a0_0x2341(_0x5f060e,_0x187244){const _0x3f4cfe=a0_0x3f4c();return a0_0x2341=function(_0x23416e,_0x2749af){_0x23416e=_0x23416e-0x1b3;let _0x2d5ac4=_0x3f4cfe[_0x23416e];return _0x2d5ac4;},a0_0x2341(_0x5f060e,_0x187244);}(function(_0x39ed79,_0x340876){const _0x230fd7=a0_0x2341,_0x4a0443=_0x39ed79();while(!![]){try{const _0x559466=parseInt(_0x230fd7(0x1e6))/0x1+parseInt(_0x230fd7(0x1c7))/0x2+-parseInt(_0x230fd7(0x1e9))/0x3*(parseInt(_0x230fd7(0x1bf))/0x4)+parseInt(_0x230fd7(0x1cf))/0x5*(-parseInt(_0x230fd7(0x1e3))/0x6)+-parseInt(_0x230fd7(0x1c9))/0x7*(-parseInt(_0x230fd7(0x1d5))/0x8)+parseInt(_0x230fd7(0x1f0))/0x9*(parseInt(_0x230fd7(0x1c8))/0xa)+parseInt(_0x230fd7(0x1f1))/0xb;if(_0x559466===_0x340876)break;else _0x4a0443['push'](_0x4a0443['shift']());}catch(_0xf52677){_0x4a0443['push'](_0x4a0443['shift']());}}}(a0_0x3f4c,0xf1df4));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x3f4c(){const _0x214608=['keys','querySelector','7070700jkPguD','searchConfig','find','882853qyzdbl','shadowRoot','startsWith','1823316tDRMyD','exportableData','save','filterForm','title','deleteByIds','ox-filters-form','7557579MUqbpm','5100205voZpbB','___data','parseGristConfigs','pageInitialized','context','properties','records','getData','gristId','getBasicGristStyles','ox-grist','search','gridConfig','fetch','12gEKkap','forEach','isElement','grid','getParams','getContextObject','parse','activityDataSet','1700442TYhbOk','10IPdkeQ','7GKPJSp','grist','filterFormId','connectedCallback','styles','getBasicGristHtml','5XjAAho','import','tTitle','gridColumnConfig','gristConfigSet','isNotEmpty','7648112CcdxOJ','getButtonContainer','updateMultiple','getAndParseMenuMeta','menuInfo','findOne','getSelectedIdList','grid_column','export','parseBasicGridConfigs','stringify','isPage'];a0_0x3f4c=function(){return _0x214608;};return a0_0x3f4c();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x5c749c=>class extends MetaButtonMixin(_0x5c749c){static get[a0_0x24a3a1(0x1cd)](){const _0x17f3f9=a0_0x24a3a1;return MetaApi[_0x17f3f9(0x1ba)]();}static get[a0_0x24a3a1(0x1b6)](){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_0x24a3a1(0x1ca)](){const _0x267ace=a0_0x24a3a1;return this['renderRoot']?.[_0x267ace(0x1e2)](this[_0x267ace(0x1b9)]);}get[a0_0x24a3a1(0x1ec)](){const _0x42e2fe=a0_0x24a3a1;return this[_0x42e2fe(0x1e7)]?.[_0x42e2fe(0x1e2)](this[_0x42e2fe(0x1cb)]);}get[a0_0x24a3a1(0x1b5)](){const _0x153e03=a0_0x24a3a1;return MetaUiUtil[_0x153e03(0x1c4)](this);}async['connectedCallback'](){const _0x1179f7=a0_0x24a3a1;this['gristId']=_0x1179f7(0x1bb),this[_0x1179f7(0x1cb)]=_0x1179f7(0x1ef),await this[_0x1179f7(0x1d8)](),this[_0x1179f7(0x1c1)]&&await this[_0x1179f7(0x1b3)](),this[_0x1179f7(0x1c6)]&&(this['dataSet']=this['activityDataSet']),super[_0x1179f7(0x1cc)]&&await super[_0x1179f7(0x1cc)]();}async['firstUpdated'](){super['firstUpdated']&&await super['firstUpdated']();}async['pageInitialized'](){const _0x331ad7=a0_0x24a3a1;this[_0x331ad7(0x1e0)]&&await this[_0x331ad7(0x1b3)](),super[_0x331ad7(0x1b4)]&&await super['pageInitialized']();}['render'](){const _0x1d1c86=a0_0x24a3a1;return html`
2
- ${MetaApi[_0x1d1c86(0x1ce)](this)}
3
- ${this['isPage']?html``:MetaUiUtil[_0x1d1c86(0x1d6)](this)}
4
- `;}[a0_0x24a3a1(0x1de)](_0x5a4eaf){const _0x4c7788=a0_0x24a3a1;this[_0x4c7788(0x1bd)]=_0x5a4eaf[_0x4c7788(0x1c2)],this[_0x4c7788(0x1d2)]=_0x5a4eaf[_0x4c7788(0x1dc)],this[_0x4c7788(0x1e4)]=_0x5a4eaf[_0x4c7788(0x1bc)];}async['parseGristConfigs'](){const _0x3e53f9=a0_0x24a3a1;this[_0x3e53f9(0x1d3)]=await MetaApi['parseGridConfigSet'](this);}async[a0_0x24a3a1(0x1be)](){const _0x41c409=a0_0x24a3a1;await this[_0x41c409(0x1ca)][_0x41c409(0x1be)]();}async[a0_0x24a3a1(0x1eb)](){const _0x5519f1=a0_0x24a3a1;let _0x45ecc6=MetaApi['patchesForUpdateMultiple'](this[_0x5519f1(0x1ca)]);!!ValueUtil[_0x5519f1(0x1d4)](_0x45ecc6)&&await this[_0x5519f1(0x1d7)](_0x45ecc6)&&this[_0x5519f1(0x1be)]();}async[a0_0x24a3a1(0x1e5)](){const _0x2d6d71=a0_0x24a3a1;let _0x20f1b5=MetaApi[_0x2d6d71(0x1db)](this['grist'],!0x0);return ValueUtil['isNotEmpty'](_0x20f1b5)?await this[_0x2d6d71(0x1da)](_0x20f1b5[0x0]):{};}async['delete'](){const _0x213a08=a0_0x24a3a1;let _0x2154b5=MetaApi['getSelectedIdList'](this[_0x213a08(0x1ca)],!0x0);!!ValueUtil[_0x213a08(0x1d4)](_0x2154b5)&&await this[_0x213a08(0x1ee)](_0x2154b5)&&this['fetch']();}async[a0_0x24a3a1(0x1dd)](){const _0x475f0c=a0_0x24a3a1;let _0x3d8928=TermsUtil[_0x475f0c(0x1d1)](ValueUtil[_0x475f0c(0x1c3)](this[_0x475f0c(0x1d9)],_0x475f0c(0x1ed)));return await MetaApi[_0x475f0c(0x1ea)](this['isElement'],_0x3d8928,this[_0x475f0c(0x1ca)]);}async[a0_0x24a3a1(0x1d0)](){}async['clear'](){const _0x2c68b4=a0_0x24a3a1;this[_0x2c68b4(0x1ca)]&&(this['grist']['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x24a3a1(0x1b8)](){const _0x2bd0c3=a0_0x24a3a1;let _0x496efc=this[_0x2bd0c3(0x1ca)][_0x2bd0c3(0x1f2)][_0x2bd0c3(0x1b7)];return _0x496efc=JSON[_0x2bd0c3(0x1c5)](JSON[_0x2bd0c3(0x1df)](_0x496efc)),_0x496efc[_0x2bd0c3(0x1c0)](_0xb91603=>{const _0x52522f=_0x2bd0c3;Object[_0x52522f(0x1e1)](_0xb91603)[_0x52522f(0x1c0)](_0x13edd0=>{const _0x172d04=_0x52522f;_0x13edd0[_0x172d04(0x1e8)]('__')&&delete _0xb91603[_0x13edd0];});}),_0x496efc;}};
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
- const a0_0x1ed62d=a0_0x533f;function a0_0x13c6(){const _0x5771f0=['2983538UMScom','1036411BJCJMt','getButtonActionHandler','isButtonExist','6389577FEIRkr','getBasicButtonHandler','2000CIaguA','useButtonImport','getButtonContainer','buttonConfig','417584BEzFNO','5022528gDUgxr','4457090PBWKyj','import','30QZZeRk','3IYjpqw','customButtonHandler','getContextButtons','useButtonExport','useButtonAdd','56ousggw','parseBasicButtonConfigs','6085fgBLiU','properties','getCustomButtonContainerStyle'];a0_0x13c6=function(){return _0x5771f0;};return a0_0x13c6();}function a0_0x533f(_0x3966db,_0x222344){const _0x13c66b=a0_0x13c6();return a0_0x533f=function(_0x533f3b,_0x3ec492){_0x533f3b=_0x533f3b-0x198;let _0xa5b8c1=_0x13c66b[_0x533f3b];return _0xa5b8c1;},a0_0x533f(_0x3966db,_0x222344);}(function(_0x37abee,_0x1f3d93){const _0x4cb83e=a0_0x533f,_0x12a7a6=_0x37abee();while(!![]){try{const _0x5c4eca=parseInt(_0x4cb83e(0x1a0))/0x1+parseInt(_0x4cb83e(0x19f))/0x2*(-parseInt(_0x4cb83e(0x1ae))/0x3)+-parseInt(_0x4cb83e(0x1a5))/0x4*(-parseInt(_0x4cb83e(0x19c))/0x5)+-parseInt(_0x4cb83e(0x1aa))/0x6+parseInt(_0x4cb83e(0x19a))/0x7*(-parseInt(_0x4cb83e(0x1a9))/0x8)+parseInt(_0x4cb83e(0x1a3))/0x9+-parseInt(_0x4cb83e(0x1ad))/0xa*(-parseInt(_0x4cb83e(0x1ab))/0xb);if(_0x5c4eca===_0x1f3d93)break;else _0x12a7a6['push'](_0x12a7a6['shift']());}catch(_0x30ee92){_0x12a7a6['push'](_0x12a7a6['shift']());}}}(a0_0x13c6,0xc92b9));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x299706=>class extends MetaServiceMixin(_0x299706){static get[a0_0x1ed62d(0x19d)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1ed62d(0x19e)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0x1ed62d(0x1b0)](){const _0x1d0d7e=a0_0x1ed62d;return MetaUiUtil[_0x1d0d7e(0x1b0)](this);}[a0_0x1ed62d(0x1a7)](){const _0x89bbe9=a0_0x1ed62d;return this['isPage']?html``:MetaUiUtil[_0x89bbe9(0x1a7)](this);}async[a0_0x1ed62d(0x1a4)](_0x874e66,_0xf2eff5,_0x3d79dc){const _0x3602e8=a0_0x1ed62d;return await MetaUiUtil[_0x3602e8(0x1a1)](this,_0x874e66,_0xf2eff5,_0x3d79dc);}async[a0_0x1ed62d(0x1af)](_0x44255b){const _0x733cd2=a0_0x1ed62d;await MetaUiUtil[_0x733cd2(0x1af)](this,_0x44255b);}async['gristButtonHandler'](_0x140d74,_0x6d887c){await MetaUiUtil['gristButtonHandler'](this,_0x140d74,_0x6d887c);}[a0_0x1ed62d(0x19b)](_0x495a3d){const _0xfa1ce2=a0_0x1ed62d;this[_0xfa1ce2(0x1a8)]=_0x495a3d['button'],this[_0xfa1ce2(0x1a6)]=MetaUiUtil[_0xfa1ce2(0x1a2)](this[_0xfa1ce2(0x1a8)],_0xfa1ce2(0x1ac)),this[_0xfa1ce2(0x198)]=MetaUiUtil[_0xfa1ce2(0x1a2)](this[_0xfa1ce2(0x1a8)],'export'),this[_0xfa1ce2(0x199)]=MetaUiUtil['isButtonExist'](this[_0xfa1ce2(0x1a8)],'add');}};
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_0x585ff0=a0_0x15fd;(function(_0x4c860c,_0x4bcea8){const _0x1f7544=a0_0x15fd,_0x5d0bc2=_0x4c860c();while(!![]){try{const _0xbdef76=parseInt(_0x1f7544(0xde))/0x1+-parseInt(_0x1f7544(0xfe))/0x2*(parseInt(_0x1f7544(0xc3))/0x3)+-parseInt(_0x1f7544(0xea))/0x4+-parseInt(_0x1f7544(0xd6))/0x5*(parseInt(_0x1f7544(0xb4))/0x6)+-parseInt(_0x1f7544(0xf8))/0x7*(parseInt(_0x1f7544(0xeb))/0x8)+-parseInt(_0x1f7544(0xc2))/0x9+parseInt(_0x1f7544(0xc7))/0xa*(parseInt(_0x1f7544(0xbd))/0xb);if(_0xbdef76===_0x4bcea8)break;else _0x5d0bc2['push'](_0x5d0bc2['shift']());}catch(_0x396d35){_0x5d0bc2['push'](_0x5d0bc2['shift']());}}}(a0_0x4020,0xa63b9));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x4020(){const _0x11191e=['save','6URCcmU','button','before','__seq__','currentTarget','editing','dataSet','6230958svvEdq','currentData','__dirty__','parseFormConfigSet','getContextObject','map','renderRoot','record','Escape','1518BWRwTe','click','focus','Esc','forEach','5847561fRkZgw','981828rKHLeu','after','form','activityDataSet','290690nFDEfN','properties','grid_column','name','keys','Enter','validation','isNotEmpty','addEventListener','OX-GRID-FIELD','removeAttribute','isPage','clear','text.NOTHING_CHANGED','patchData','5YBJYWL','startsWith','getAndParseMenuMeta','parseFormConfigs','column','keydown','formColumnConfig','key','237586jhgcQX','connectedCallback','firstUpdated','removeGarbageData','cuFlag','updateMultiple','assign','findOne','function','isEmpty','entries','context','516156exxtbZ','3076520WCVIni','fetch','showAlertPopup','getBasicFormStyles','activity','parent_id','render','tagName','getData','setAttribute','__origin__','isEquals','__dirtyfields__','14AHAPCY','formConfigSet','styles','pageInitialized','isElement'];a0_0x4020=function(){return _0x11191e;};return a0_0x4020();}import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x15fd(_0x524365,_0x560e66){const _0x4020d7=a0_0x4020();return a0_0x15fd=function(_0x15fdf9,_0x47e3c5){_0x15fdf9=_0x15fdf9-0xaf;let _0x49dbf5=_0x4020d7[_0x15fdf9];return _0x49dbf5;},a0_0x15fd(_0x524365,_0x560e66);}export const MetaFormMixin=_0x56421d=>class extends MetaButtonMixin(_0x56421d){static get[a0_0x585ff0(0xfa)](){const _0x49d16d=a0_0x585ff0;return MetaApi[_0x49d16d(0xee)]();}static get[a0_0x585ff0(0xc8)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x585ff0(0xe9)](){const _0x32cb86=a0_0x585ff0;return MetaUiUtil[_0x32cb86(0xb8)](this);}async['connectedCallback'](){const _0x1a7cf9=a0_0x585ff0;await this[_0x1a7cf9(0xd8)](),this[_0x1a7cf9(0xfc)]&&await this['parseFormConfigs'](),this[_0x1a7cf9(0xc6)]&&(this[_0x1a7cf9(0xb3)]=this[_0x1a7cf9(0xc6)]),!0x0!==this['is_activity']||this['parent_id']||(this[_0x1a7cf9(0xf0)]=_0x1a7cf9(0xef)),super[_0x1a7cf9(0xdf)]&&await super[_0x1a7cf9(0xdf)](),this[_0x1a7cf9(0xfc)]&&await this['fetch'](),this[_0x1a7cf9(0xba)][_0x1a7cf9(0xcf)](_0x1a7cf9(0xdb),_0x5af559=>{const _0x478b0c=_0x1a7cf9;switch(_0x5af559[_0x478b0c(0xdd)]){case _0x478b0c(0xc0):case _0x478b0c(0xbc):case _0x478b0c(0xcc):this[_0x478b0c(0xbf)](),this[_0x478b0c(0xb1)]&&this[_0x478b0c(0xb1)][_0x478b0c(0xd1)](_0x478b0c(0xb2)),this[_0x478b0c(0xb1)]=null;}}),this[_0x1a7cf9(0xba)][_0x1a7cf9(0xcf)](_0x1a7cf9(0xbe),_0x39238b=>{const _0x32b6b0=_0x1a7cf9;_0x39238b['stopPropagation']();let _0x24e0c3=_0x39238b['target'];if(this[_0x32b6b0(0xb1)]&&(this[_0x32b6b0(0xbf)](),this[_0x32b6b0(0xb1)][_0x32b6b0(0xd1)](_0x32b6b0(0xb2))),_0x32b6b0(0xd0)!==_0x24e0c3[_0x32b6b0(0xf2)]||!_0x24e0c3[_0x32b6b0(0xda)][_0x32b6b0(0xbb)]['editable'])return this[_0x32b6b0(0xbf)](),void(this['currentTarget']=null);this[_0x32b6b0(0xb1)]=_0x24e0c3,_0x24e0c3[_0x32b6b0(0xf4)](_0x32b6b0(0xb2),'true');}),this[_0x1a7cf9(0xcf)]('field-change',_0x3ccdb5=>{const _0xa755e1=_0x1a7cf9;var {after:_0x2b24ad,before:_0x5f5861,column:_0x1b77b9,record:_0x2fd745,row:_0x1730ce}=_0x3ccdb5['detail'];if(ValueUtil[_0xa755e1(0xf6)](_0x2b24ad,_0x5f5861))return;var _0x45e984=_0x1b77b9[_0xa755e1(0xcd)];if(_0x45e984&&_0xa755e1(0xe6)==typeof _0x45e984&&!_0x45e984['call'](this,_0x2b24ad,_0x5f5861,_0x2fd745,_0x1b77b9))return;let _0x17ee5f=_0x1b77b9[_0xa755e1(0xca)];_0x2fd745[_0x17ee5f]=_0x2b24ad,_0x2fd745[_0xa755e1(0xf7)]=_0x2fd745[_0xa755e1(0xf7)]||{},_0x2fd745[_0xa755e1(0xf5)]=_0x2fd745[_0xa755e1(0xf5)]||{},_0x2fd745[_0xa755e1(0xf7)][_0x17ee5f]={'before':_0x2fd745[_0xa755e1(0xf5)][_0x17ee5f],'after':_0x2fd745[_0x17ee5f]},ValueUtil['isEquals'](_0x2fd745['__dirtyfields__'][_0x17ee5f][_0xa755e1(0xaf)],_0x2fd745[_0xa755e1(0xf7)][_0x17ee5f][_0xa755e1(0xc4)])&&delete _0x2fd745['__dirtyfields__'][_0x17ee5f],ValueUtil['isNotEmpty'](_0x2fd745[_0xa755e1(0xf7)])?_0x2fd745[_0xa755e1(0xb6)]='M':_0x2fd745[_0xa755e1(0xb6)]='',this[_0xa755e1(0xbb)]={..._0x2fd745};});}async[a0_0x585ff0(0xe0)](){const _0x350744=a0_0x585ff0;super['firstUpdated']&&await super[_0x350744(0xe0)]();}async[a0_0x585ff0(0xfb)](){const _0x5066f5=a0_0x585ff0;this[_0x5066f5(0xd2)]&&await this[_0x5066f5(0xd9)](),super[_0x5066f5(0xfb)]&&await super['pageInitialized'](),this[_0x5066f5(0xd2)]&&await this[_0x5066f5(0xec)]();}[a0_0x585ff0(0xf1)](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x20c377){const _0x36117d=a0_0x585ff0;this[_0x36117d(0xdc)]=_0x20c377[_0x36117d(0xc9)],this['formRenderConfig']=_0x20c377[_0x36117d(0xc5)],_0x20c377[_0x36117d(0xff)]=_0x20c377['button']['filter'](_0x317ff3=>_0x36117d(0xfd)==_0x317ff3[_0x36117d(0xca)]);}async[a0_0x585ff0(0xd9)](){const _0x2969d5=a0_0x585ff0;this[_0x2969d5(0xf9)]=await MetaApi[_0x2969d5(0xb7)](this);}get['orgData'](){const _0x23b2b3=a0_0x585ff0;return this['removeGarbageData'](this[_0x23b2b3(0xbb)][_0x23b2b3(0xf5)]);}get['dirtyData'](){const _0x440ce4=a0_0x585ff0;if(ValueUtil[_0x440ce4(0xe7)](this[_0x440ce4(0xbb)][_0x440ce4(0xf7)]))return{};let _0x36650d={};return Object[_0x440ce4(0xe8)](this[_0x440ce4(0xbb)][_0x440ce4(0xf7)])['map'](([_0x509e8b,_0x1b27e0])=>{const _0x30c30b=_0x440ce4;0x0==_0x509e8b[_0x30c30b(0xd7)]('__')&&(_0x36650d[_0x509e8b]=_0x1b27e0[_0x30c30b(0xc4)]);}),_0x36650d;}get[a0_0x585ff0(0xb5)](){const _0x4a0b41=a0_0x585ff0;return this[_0x4a0b41(0xe1)](this[_0x4a0b41(0xbb)]);}[a0_0x585ff0(0xe1)](_0x595ad0){const _0xafce22=a0_0x585ff0;let _0x5a5cd0={};if(_0x595ad0)return Object[_0xafce22(0xe8)](_0x595ad0)[_0xafce22(0xb9)](([_0x1f4d9d,_0x559f5c])=>{0x0==_0x1f4d9d['startsWith']('__')&&(_0x5a5cd0[_0x1f4d9d]=_0x559f5c);}),_0x5a5cd0;}get[a0_0x585ff0(0xd5)](){const _0x4940b4=a0_0x585ff0;let _0x53f123=this['dirtyData'],_0x48c175=this['record'];return ValueUtil[_0x4940b4(0xe7)](_0x53f123)?[]:(ValueUtil[_0x4940b4(0xce)](_0x48c175['id'])?(_0x53f123['id']=_0x48c175['id'],_0x53f123[_0x4940b4(0xe2)]='M'):_0x53f123[_0x4940b4(0xe2)]='+',Object[_0x4940b4(0xcb)](_0x53f123)[_0x4940b4(0xc1)](_0x38137c=>{'object'==typeof _0x53f123[_0x38137c]&&(_0x53f123[_0x38137c]={'id':_0x53f123[_0x38137c]['id']});}),[_0x53f123]);}async['fetch'](){const _0x1ae711=a0_0x585ff0;if(ValueUtil[_0x1ae711(0xe7)](this[_0x1ae711(0xf0)]))return;let _0x235213=await this[_0x1ae711(0xe5)](this[_0x1ae711(0xf0)]);_0x235213[_0x1ae711(0xb0)]=0x1;let _0x2ad833={};Object[_0x1ae711(0xe4)](_0x2ad833,_0x235213),_0x235213[_0x1ae711(0xf5)]=_0x2ad833,this[_0x1ae711(0xbb)]={..._0x235213};}async[a0_0x585ff0(0xfd)](){const _0x7f8bb4=a0_0x585ff0;let _0x16a528=this[_0x7f8bb4(0xd5)];if(ValueUtil[_0x7f8bb4(0xe7)](_0x16a528))return void MetaApi[_0x7f8bb4(0xed)]('title.info',_0x7f8bb4(0xd4));let _0x90ef9f=await this[_0x7f8bb4(0xe3)](_0x16a528);return _0x90ef9f&&await this[_0x7f8bb4(0xec)](),_0x90ef9f;}async[a0_0x585ff0(0xd3)](){const _0x2ad582=a0_0x585ff0;this[_0x2ad582(0xbb)]&&(this[_0x2ad582(0xbb)]={});}[a0_0x585ff0(0xf3)](){const _0x37cd2c=a0_0x585ff0;return this[_0x37cd2c(0xb5)]||{};}};
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
- const a0_0x57b3dc=a0_0x3379;function a0_0x3379(_0x4caaf4,_0x1e716e){const _0x50e7e3=a0_0x50e7();return a0_0x3379=function(_0x337939,_0x4e6aed){_0x337939=_0x337939-0x1c6;let _0x411a3c=_0x50e7e3[_0x337939];return _0x411a3c;},a0_0x3379(_0x4caaf4,_0x1e716e);}(function(_0x2ea17f,_0x3946c0){const _0x5522e2=a0_0x3379,_0x5b31fd=_0x2ea17f();while(!![]){try{const _0x22ce8f=parseInt(_0x5522e2(0x1cf))/0x1*(parseInt(_0x5522e2(0x213))/0x2)+parseInt(_0x5522e2(0x1cc))/0x3+parseInt(_0x5522e2(0x1ef))/0x4*(-parseInt(_0x5522e2(0x207))/0x5)+-parseInt(_0x5522e2(0x1d2))/0x6*(-parseInt(_0x5522e2(0x1df))/0x7)+parseInt(_0x5522e2(0x1c7))/0x8*(parseInt(_0x5522e2(0x1dc))/0x9)+parseInt(_0x5522e2(0x1f4))/0xa*(-parseInt(_0x5522e2(0x1ff))/0xb)+-parseInt(_0x5522e2(0x208))/0xc*(parseInt(_0x5522e2(0x216))/0xd);if(_0x22ce8f===_0x3946c0)break;else _0x5b31fd['push'](_0x5b31fd['shift']());}catch(_0x54b972){_0x5b31fd['push'](_0x5b31fd['shift']());}}}(a0_0x50e7,0x797b9));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x50e7(){const _0x332156=['exportableData','operator','ox-grist','searchConfig','pageInitialized','delete','isElement','deleteByIds','50420zojang','getBasicGristTabStyles','type','ox-filters-form-base','parseGridConfigSet','21130BpZcUK','firstUpdated','isNotEmpty','gristId','name','filterFormId','meta-tab-element','findOne','title','properties','save','5071dOrpXc','startsWith','exportable','parse','records','importable','activityDataSet','grid_column','145cwqdNt','1182408PFzFEL','gridConfig','keys','grid','tTitle','gridColumnConfig','filterForm','map','dataSet','grist','parseGristConfigs','23164SxjvwD','getSelectedIdList','#detail','26WNsoYU','getParams','88ueqrpI','record','updateMultiple','clear','options','2422284PHsZik','isPage','getGristTabHtml','53VKMEPx','filter','header','6fzFGlP','value','styles','___data','renderRoot','export','getContextObject','getAndParseMenuMeta','querySelector','stringify','56556mLCFNs','shadowRoot','context','3807307IajENh','getData','detailElement','search','actions','gristConfigSet','useMasterFilterForm','fetch'];a0_0x50e7=function(){return _0x332156;};return a0_0x50e7();}export const MetaGristTabMixin=_0x25835f=>class extends MetaButtonMixin(_0x25835f){static get[a0_0x57b3dc(0x1d4)](){const _0x738cc3=a0_0x57b3dc;return MetaApi[_0x738cc3(0x1f0)]();}static get[a0_0x57b3dc(0x1fd)](){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 _0x5b129d=a0_0x57b3dc;return this['renderRoot'][_0x5b129d(0x1da)](this['gristId']);}get[a0_0x57b3dc(0x20e)](){const _0x14281a=a0_0x57b3dc;return this[_0x14281a(0x1dd)]?.[_0x14281a(0x1da)](this[_0x14281a(0x1f9)]);}get[a0_0x57b3dc(0x1e1)](){const _0x39fefe=a0_0x57b3dc;return this['shadowRoot']['querySelector'](_0x39fefe(0x215));}get[a0_0x57b3dc(0x1de)](){const _0x175487=a0_0x57b3dc;let _0x3155cb=MetaUiUtil[_0x175487(0x1d8)](this);return _0x3155cb[_0x175487(0x1e3)]&&delete _0x3155cb[_0x175487(0x1e3)],_0x3155cb[_0x175487(0x201)]&&delete _0x3155cb[_0x175487(0x201)],_0x3155cb[_0x175487(0x204)]&&delete _0x3155cb['importable'],_0x3155cb;}async['connectedCallback'](){const _0x3abb5a=a0_0x57b3dc;this[_0x3abb5a(0x1f7)]=_0x3abb5a(0x1e9),this[_0x3abb5a(0x1f9)]=_0x3abb5a(0x1f2),await this[_0x3abb5a(0x1d9)](),this[_0x3abb5a(0x1ed)]&&await this[_0x3abb5a(0x212)](),this[_0x3abb5a(0x205)]&&(this[_0x3abb5a(0x210)]=(this[_0x3abb5a(0x205)]||{})['main']),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x57b3dc(0x1f5)](){const _0x31bb0e=a0_0x57b3dc;super[_0x31bb0e(0x1f5)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x2cbbcd=a0_0x57b3dc;this[_0x2cbbcd(0x1cd)]&&await this[_0x2cbbcd(0x212)](),super[_0x2cbbcd(0x1eb)]&&await super[_0x2cbbcd(0x1eb)]();}['render'](){const _0x5c5422=a0_0x57b3dc;return MetaApi[_0x5c5422(0x1ce)](this);}['parseBasicGridConfigs'](_0x10ae24){const _0x5283f7=a0_0x57b3dc;this[_0x5283f7(0x209)]=_0x10ae24[_0x5283f7(0x20b)],this[_0x5283f7(0x20d)]=_0x10ae24[_0x5283f7(0x206)],this[_0x5283f7(0x1ea)]=_0x10ae24['search'];}async[a0_0x57b3dc(0x212)](){const _0x13d5a5=a0_0x57b3dc;this[_0x13d5a5(0x1e4)]=await MetaApi[_0x13d5a5(0x1f3)](this),this[_0x13d5a5(0x1e5)]=!0x0===this['useFilterForm'],this['useFilterForm']=!0x1,this['searchFieldValues']=[],this['searchFields']=this[_0x13d5a5(0x1e4)]['columns'][_0x13d5a5(0x1d0)](_0x45c962=>_0x45c962['filter'])[_0x13d5a5(0x20f)](_0x35d978=>{const _0x2ed529=_0x13d5a5;let _0x379c6f={'name':_0x35d978[_0x2ed529(0x1f8)],'type':'search'===_0x35d978[_0x2ed529(0x1d0)][_0x2ed529(0x1e8)]?_0x2ed529(0x1e2):_0x35d978[_0x2ed529(0x1f1)],'label':_0x35d978[_0x2ed529(0x1d1)],'operator':_0x35d978[_0x2ed529(0x1d0)][_0x2ed529(0x1e8)]?_0x35d978[_0x2ed529(0x1d0)][_0x2ed529(0x1e8)]:'eq'};return _0x35d978[_0x2ed529(0x1d0)][_0x2ed529(0x1cb)]&&(_0x379c6f[_0x2ed529(0x1cb)]=_0x35d978[_0x2ed529(0x1d0)][_0x2ed529(0x1cb)]),_0x35d978['record'][_0x2ed529(0x1cb)]&&(_0x379c6f[_0x2ed529(0x1cb)]=_0x35d978[_0x2ed529(0x1c8)][_0x2ed529(0x1cb)]),_0x35d978['filter']['value']&&this['searchFieldValues']['push']({'name':_0x379c6f[_0x2ed529(0x1f8)],'operator':_0x379c6f[_0x2ed529(0x1e8)],'value':_0x35d978[_0x2ed529(0x1d0)][_0x2ed529(0x1d3)]}),delete _0x35d978[_0x2ed529(0x1d0)],_0x379c6f;});}async[a0_0x57b3dc(0x1e6)](){const _0x1daf53=a0_0x57b3dc;await this['grist'][_0x1daf53(0x1e6)]();}async['beforeFetch']({page:_0x440158=0x0,limit:_0x2a18b2=0x0,sortings:_0x5873ec=[],filters:_0x3c4cf1=[]}){const _0x818038=a0_0x57b3dc;let _0x46e032=this[_0x818038(0x1d6)]['querySelector'](_0x818038(0x1fa));return await _0x46e032[_0x818038(0x1ca)](),!0x0;}async[a0_0x57b3dc(0x1fe)](){const _0x5af192=a0_0x57b3dc;let _0x534ce3=MetaApi['patchesForUpdateMultiple'](this[_0x5af192(0x211)]);!!ValueUtil[_0x5af192(0x1f6)](_0x534ce3)&&await this[_0x5af192(0x1c9)](_0x534ce3)&&this['fetch']();}async['find'](){const _0x1f7840=a0_0x57b3dc;let _0xc2777b=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil[_0x1f7840(0x1f6)](_0xc2777b)?await this[_0x1f7840(0x1fb)](_0xc2777b[0x0]):{};}async[a0_0x57b3dc(0x1ec)](){const _0x3e748b=a0_0x57b3dc;let _0x18d452=MetaApi[_0x3e748b(0x214)](this[_0x3e748b(0x211)],!0x0);!!ValueUtil[_0x3e748b(0x1f6)](_0x18d452)&&await this[_0x3e748b(0x1ee)](_0x18d452)&&this[_0x3e748b(0x1e6)]();}async[a0_0x57b3dc(0x1d7)](){const _0x53b310=a0_0x57b3dc;let _0x32bf11=TermsUtil[_0x53b310(0x20c)](ValueUtil[_0x53b310(0x1c6)](this['menuInfo'],_0x53b310(0x1fc)));return await MetaApi[_0x53b310(0x1e7)](this[_0x53b310(0x1ed)],_0x32bf11,this[_0x53b310(0x211)]);}async['import'](){}[a0_0x57b3dc(0x1e0)](){const _0x26469e=a0_0x57b3dc;let _0x62f126=this['grist'][_0x26469e(0x1d5)][_0x26469e(0x203)];return _0x62f126=JSON[_0x26469e(0x202)](JSON[_0x26469e(0x1db)](_0x62f126)),_0x62f126['forEach'](_0x1988cb=>{const _0x31a276=_0x26469e;Object[_0x31a276(0x20a)](_0x1988cb)['forEach'](_0xf694d0=>{const _0x376cac=_0x31a276;_0xf694d0[_0x376cac(0x200)]('__')&&delete _0x1988cb[_0xf694d0];});}),{'main':_0x62f126,'detail':this['renderRoot']['querySelector']('meta-tab-element')['getData']()};}};
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_0x1dc4f6=a0_0x217c;function a0_0x3e74(){const _0x331712=['header','26064JdIBiq','firstUpdated','fetch','properties','dataSet','search','exportable','main','filter','gristConfigSet','51702jJfUeQ','getMainTabHtml','isElement','useMasterFilterForm','139455wAZkGY','record','useButtonImport','value','activityDataSet','getAndParseMenuMeta','filterFormId','1554063VjUyFK','gristId','getMainGrist','useButtonExport','ox-grist','connectedCallback','searchFields','grid_column','columns','3dBPEKt','grid','options','getData','158272WKmbtz','299256sSsVrv','searchConfig','name','355AlrsgE','type','buttonConfig','filterForm','importable','pageInitialized','operator','shadowRoot','1699992dfgOIm','useFilterForm','grist','masterElement','beforeFetch','getContextObject','searchFieldValues','push','clear','parseGristConfigs'];a0_0x3e74=function(){return _0x331712;};return a0_0x3e74();}(function(_0x4dc0b1,_0x4bf43c){const _0x45af5e=a0_0x217c,_0x17be6f=_0x4dc0b1();while(!![]){try{const _0x3a087a=-parseInt(_0x45af5e(0x149))/0x1+-parseInt(_0x45af5e(0x15f))/0x2*(-parseInt(_0x45af5e(0x17d))/0x3)+parseInt(_0x45af5e(0x148))/0x4+parseInt(_0x45af5e(0x14c))/0x5*(parseInt(_0x45af5e(0x169))/0x6)+-parseInt(_0x45af5e(0x174))/0x7+parseInt(_0x45af5e(0x154))/0x8+-parseInt(_0x45af5e(0x16d))/0x9;if(_0x3a087a===_0x4bf43c)break;else _0x17be6f['push'](_0x17be6f['shift']());}catch(_0x1ac902){_0x17be6f['push'](_0x17be6f['shift']());}}}(a0_0x3e74,0x530b2));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_0x217c(_0x3cd30b,_0x1dbf7b){const _0x3e74ee=a0_0x3e74();return a0_0x217c=function(_0x217cda,_0x1d3037){_0x217cda=_0x217cda-0x146;let _0x45ac7f=_0x3e74ee[_0x217cda];return _0x45ac7f;},a0_0x217c(_0x3cd30b,_0x1dbf7b);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x587679=>class extends MetaButtonMixin(_0x587679){static get['styles'](){return MetaApi['getBasicMainTabStyles']();}static get[a0_0x1dc4f6(0x162)](){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_0x1dc4f6(0x156)](){const _0x40d74f=a0_0x1dc4f6;return this[_0x40d74f(0x157)][_0x40d74f(0x176)]();}get[a0_0x1dc4f6(0x14f)](){const _0x34ea86=a0_0x1dc4f6;return this[_0x34ea86(0x153)]?.['querySelector'](this[_0x34ea86(0x173)]);}get['context'](){const _0x4f3757=a0_0x1dc4f6;let _0x1416a8=MetaUiUtil[_0x4f3757(0x159)](this);return _0x1416a8['actions']&&delete _0x1416a8['actions'],_0x1416a8[_0x4f3757(0x165)]&&delete _0x1416a8['exportable'],_0x1416a8[_0x4f3757(0x150)]&&delete _0x1416a8[_0x4f3757(0x150)],_0x1416a8;}async['connectedCallback'](){const _0x38ec6a=a0_0x1dc4f6;this[_0x38ec6a(0x175)]=_0x38ec6a(0x178),this[_0x38ec6a(0x173)]='ox-filters-form-base',await this[_0x38ec6a(0x172)](),this[_0x38ec6a(0x16b)]&&await this[_0x38ec6a(0x15d)](),this[_0x38ec6a(0x171)]&&(this[_0x38ec6a(0x163)]=(this[_0x38ec6a(0x171)]||{})[_0x38ec6a(0x166)]),super[_0x38ec6a(0x179)]&&await super[_0x38ec6a(0x179)]();}async[a0_0x1dc4f6(0x160)](){const _0x64728c=a0_0x1dc4f6;super[_0x64728c(0x160)]&&await super['firstUpdated']();}async[a0_0x1dc4f6(0x151)](){const _0x10a8c3=a0_0x1dc4f6;this['isPage']&&await this[_0x10a8c3(0x15d)](),super[_0x10a8c3(0x151)]&&await super['pageInitialized']();}['render'](){const _0x153b3e=a0_0x1dc4f6;return MetaApi[_0x153b3e(0x16a)](this);}['parseBasicGridConfigs'](_0x38bcc3){const _0x3a9fe3=a0_0x1dc4f6;this['gridConfig']=_0x38bcc3[_0x3a9fe3(0x17e)],this['gridColumnConfig']=_0x38bcc3[_0x3a9fe3(0x17b)],this[_0x3a9fe3(0x14a)]=_0x38bcc3[_0x3a9fe3(0x164)];}async[a0_0x1dc4f6(0x15d)](){const _0x2f629d=a0_0x1dc4f6;this[_0x2f629d(0x168)]=await MetaApi['parseGridConfigSet'](this),this[_0x2f629d(0x16c)]=!0x0===this[_0x2f629d(0x155)],this['useFilterForm']=!0x1,this[_0x2f629d(0x14e)]=void 0x0,this[_0x2f629d(0x177)]=!0x1,this[_0x2f629d(0x16f)]=!0x1,this[_0x2f629d(0x15a)]=[],this[_0x2f629d(0x17a)]=this[_0x2f629d(0x168)][_0x2f629d(0x17c)][_0x2f629d(0x167)](_0x62b1d9=>_0x62b1d9[_0x2f629d(0x167)])['map'](_0xb0dc96=>{const _0x49b445=_0x2f629d;let _0x3f2f53={'name':_0xb0dc96['name'],'type':_0x49b445(0x164)===_0xb0dc96[_0x49b445(0x167)]['operator']?_0x49b445(0x164):_0xb0dc96[_0x49b445(0x14d)],'label':_0xb0dc96[_0x49b445(0x15e)],'operator':_0xb0dc96[_0x49b445(0x167)][_0x49b445(0x152)]?_0xb0dc96[_0x49b445(0x167)][_0x49b445(0x152)]:'eq'};return _0xb0dc96['filter'][_0x49b445(0x146)]&&(_0x3f2f53['options']=_0xb0dc96[_0x49b445(0x167)][_0x49b445(0x146)]),_0xb0dc96[_0x49b445(0x16e)]['options']&&(_0x3f2f53[_0x49b445(0x146)]=_0xb0dc96[_0x49b445(0x16e)][_0x49b445(0x146)]),_0xb0dc96[_0x49b445(0x167)][_0x49b445(0x170)]&&this[_0x49b445(0x15a)][_0x49b445(0x15b)]({'name':_0x3f2f53[_0x49b445(0x14b)],'operator':_0x3f2f53[_0x49b445(0x152)],'value':_0xb0dc96[_0x49b445(0x167)]['value']}),delete _0xb0dc96[_0x49b445(0x167)],_0x3f2f53;});}async[a0_0x1dc4f6(0x161)](){const _0x353c30=a0_0x1dc4f6;await this['grist'][_0x353c30(0x161)]();}async[a0_0x1dc4f6(0x158)]({page:_0x402941=0x0,limit:_0x4f43c1=0x0,sortings:_0x2891ca=[],filters:_0x221d4e=[]}){const _0xdb3b19=a0_0x1dc4f6;return this[_0xdb3b19(0x157)]&&this['masterElement'][_0xdb3b19(0x15c)]&&await this[_0xdb3b19(0x157)]['clear'](),!0x0;}[a0_0x1dc4f6(0x147)](){const _0x41637a=a0_0x1dc4f6;return{'master':this[_0x41637a(0x157)][_0x41637a(0x147)]()};}};
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_0xe2ce80=a0_0x4a44;(function(_0x1a881d,_0x247a5a){const _0x38bbe8=a0_0x4a44,_0x1ddfab=_0x1a881d();while(!![]){try{const _0x4e7525=parseInt(_0x38bbe8(0x1bf))/0x1*(-parseInt(_0x38bbe8(0x1cc))/0x2)+parseInt(_0x38bbe8(0x1a3))/0x3+-parseInt(_0x38bbe8(0x18e))/0x4*(-parseInt(_0x38bbe8(0x19f))/0x5)+parseInt(_0x38bbe8(0x1ba))/0x6+-parseInt(_0x38bbe8(0x195))/0x7*(parseInt(_0x38bbe8(0x1c3))/0x8)+parseInt(_0x38bbe8(0x1c2))/0x9*(-parseInt(_0x38bbe8(0x1d5))/0xa)+parseInt(_0x38bbe8(0x1d7))/0xb*(parseInt(_0x38bbe8(0x1b9))/0xc);if(_0x4e7525===_0x247a5a)break;else _0x1ddfab['push'](_0x1ddfab['shift']());}catch(_0x1adae5){_0x1ddfab['push'](_0x1ddfab['shift']());}}}(a0_0x67a1,0xdb56f));import{html}from'lit';function a0_0x67a1(){const _0x58114a=['name','stringify','1071heJpRn','14135096fceUUP','deleteByIds','styles','gridConfig','options','title','firstUpdated','shadowRoot','main','1105868rudZWf','ox-filters-form-base','isNotEmpty','pageInitialized','type','exportableData','filterFormId','parse','findOne','20270CiCMCg','updateMultiple','14617471ZVnGym','querySelector','context','getParams','forEach','detailElement','grid_column','2997652JJQwjn','save','renderRoot','search','startsWith','getData','getSelectedIdList','7FASQBF','patchesForUpdateMultiple','export','gristId','operator','properties','value','getBasicMasterDetailStyles','dataSet','clear','5kZOMFT','getAndParseMenuMeta','menuInfo','isElement','1924923HfdLSU','importable','searchConfig','record','searchFields','fetch','grist','searchFieldValues','connectedCallback','gristConfigSet','header','delete','actions','activityDataSet','filterForm','useFilterForm','parseGristConfigs','filter','exportable','keys','render','beforeFetch','24raHaJb','3099246jzAXvA','records','find','import','grid','3QWHlhd'];a0_0x67a1=function(){return _0x58114a;};return a0_0x67a1();}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_0x4a44(_0x3d943d,_0x5c227f){const _0x67a117=a0_0x67a1();return a0_0x4a44=function(_0x4a44af,_0x4d1981){_0x4a44af=_0x4a44af-0x189;let _0x2b16b1=_0x67a117[_0x4a44af];return _0x2b16b1;},a0_0x4a44(_0x3d943d,_0x5c227f);}export const MetaMasterDetailMixin=_0x53d377=>class extends MetaButtonMixin(_0x53d377){static get[a0_0xe2ce80(0x1c5)](){const _0xa4c20a=a0_0xe2ce80;return MetaApi[_0xa4c20a(0x19c)]();}static get[a0_0xe2ce80(0x19a)](){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_0xe2ce80(0x1a9)](){const _0x50e486=a0_0xe2ce80;return this[_0x50e486(0x190)][_0x50e486(0x1d8)](this[_0x50e486(0x198)]);}get[a0_0xe2ce80(0x1b1)](){const _0x4a2c58=a0_0xe2ce80;return this[_0x4a2c58(0x1ca)]?.[_0x4a2c58(0x1d8)](this[_0x4a2c58(0x1d2)]);}get[a0_0xe2ce80(0x189)](){const _0x118157=a0_0xe2ce80;let _0x5e9ec6=MetaUiUtil['getContextObject'](this);return _0x5e9ec6[_0x118157(0x1af)]&&delete _0x5e9ec6[_0x118157(0x1af)],_0x5e9ec6['exportable']&&delete _0x5e9ec6[_0x118157(0x1b5)],_0x5e9ec6[_0x118157(0x1a4)]&&delete _0x5e9ec6['importable'],_0x5e9ec6;}async[a0_0xe2ce80(0x1ab)](){const _0x5038de=a0_0xe2ce80;this[_0x5038de(0x198)]='ox-grist',this[_0x5038de(0x1d2)]=_0x5038de(0x1cd),await this[_0x5038de(0x1a0)](),this['isElement']&&await this[_0x5038de(0x1b3)](),this[_0x5038de(0x1b0)]&&(this[_0x5038de(0x19d)]=(this[_0x5038de(0x1b0)]||{})[_0x5038de(0x1cb)]),super[_0x5038de(0x1ab)]&&await super[_0x5038de(0x1ab)]();}async['firstUpdated'](){const _0x23ab17=a0_0xe2ce80;super[_0x23ab17(0x1c9)]&&await super[_0x23ab17(0x1c9)]();}async['pageInitialized'](){const _0x66067a=a0_0xe2ce80;this['isPage']&&await this['parseGristConfigs'](),super[_0x66067a(0x1cf)]&&await super[_0x66067a(0x1cf)]();}[a0_0xe2ce80(0x1b7)](){return MetaApi['getMasterDetailHtml'](this);}['parseBasicGridConfigs'](_0x2d2a6d){const _0x2bf7e9=a0_0xe2ce80;this[_0x2bf7e9(0x1c6)]=_0x2d2a6d[_0x2bf7e9(0x1be)],this['gridColumnConfig']=_0x2d2a6d[_0x2bf7e9(0x18d)],this[_0x2bf7e9(0x1a5)]=_0x2d2a6d['search'];}async['parseGristConfigs'](){const _0x3e8b72=a0_0xe2ce80;this[_0x3e8b72(0x1ac)]=await MetaApi['parseGridConfigSet'](this),this['useMasterFilterForm']=!0x0===this[_0x3e8b72(0x1b2)],this[_0x3e8b72(0x1b2)]=!0x1,this[_0x3e8b72(0x1aa)]=[],this[_0x3e8b72(0x1a7)]=this[_0x3e8b72(0x1ac)]['columns'][_0x3e8b72(0x1b4)](_0x16ada8=>_0x16ada8[_0x3e8b72(0x1b4)])['map'](_0x4e5450=>{const _0x3ad9aa=_0x3e8b72;let _0x516e14={'name':_0x4e5450[_0x3ad9aa(0x1c0)],'type':_0x3ad9aa(0x191)===_0x4e5450['filter'][_0x3ad9aa(0x199)]?_0x3ad9aa(0x191):_0x4e5450[_0x3ad9aa(0x1d0)],'label':_0x4e5450[_0x3ad9aa(0x1ad)],'operator':_0x4e5450[_0x3ad9aa(0x1b4)]['operator']?_0x4e5450['filter'][_0x3ad9aa(0x199)]:'eq'};return _0x4e5450[_0x3ad9aa(0x1b4)][_0x3ad9aa(0x1c7)]&&(_0x516e14[_0x3ad9aa(0x1c7)]=_0x4e5450[_0x3ad9aa(0x1b4)][_0x3ad9aa(0x1c7)]),_0x4e5450[_0x3ad9aa(0x1a6)][_0x3ad9aa(0x1c7)]&&(_0x516e14['options']=_0x4e5450[_0x3ad9aa(0x1a6)][_0x3ad9aa(0x1c7)]),_0x4e5450[_0x3ad9aa(0x1b4)][_0x3ad9aa(0x19b)]&&this[_0x3ad9aa(0x1aa)]['push']({'name':_0x516e14[_0x3ad9aa(0x1c0)],'operator':_0x516e14[_0x3ad9aa(0x199)],'value':_0x4e5450[_0x3ad9aa(0x1b4)][_0x3ad9aa(0x19b)]}),delete _0x4e5450[_0x3ad9aa(0x1b4)],_0x516e14;});}async[a0_0xe2ce80(0x1a8)](){const _0x486802=a0_0xe2ce80;await this[_0x486802(0x1a9)][_0x486802(0x1a8)]();}async[a0_0xe2ce80(0x1b8)]({page:_0x2ff787=0x0,limit:_0x17800c=0x0,sortings:_0x2b81db=[],filters:_0x3caedb=[]}){const _0x385347=a0_0xe2ce80;return this['detailElement']&&this[_0x385347(0x18c)][_0x385347(0x19e)]&&await this['detailElement'][_0x385347(0x19e)](),!0x0;}async[a0_0xe2ce80(0x18f)](){const _0x144a2f=a0_0xe2ce80;let _0x795f40=MetaApi[_0x144a2f(0x196)](this[_0x144a2f(0x1a9)]);!!ValueUtil[_0x144a2f(0x1ce)](_0x795f40)&&await this[_0x144a2f(0x1d6)](_0x795f40)&&this[_0x144a2f(0x1a8)]();}async[a0_0xe2ce80(0x1bc)](){const _0x7f36e4=a0_0xe2ce80;let _0x5dfec2=MetaApi[_0x7f36e4(0x194)](this[_0x7f36e4(0x1a9)],!0x0);return ValueUtil['isNotEmpty'](_0x5dfec2)?await this[_0x7f36e4(0x1d4)](_0x5dfec2[0x0]):{};}async[a0_0xe2ce80(0x1ae)](){const _0x5a74ee=a0_0xe2ce80;let _0x1a416f=MetaApi[_0x5a74ee(0x194)](this[_0x5a74ee(0x1a9)],!0x0);!!ValueUtil[_0x5a74ee(0x1ce)](_0x1a416f)&&await this[_0x5a74ee(0x1c4)](_0x1a416f)&&this[_0x5a74ee(0x1a8)]();}async[a0_0xe2ce80(0x197)](){const _0x3efed8=a0_0xe2ce80;let _0x230d0d=TermsUtil['tTitle'](ValueUtil[_0x3efed8(0x18a)](this[_0x3efed8(0x1a1)],_0x3efed8(0x1c8)));return await MetaApi[_0x3efed8(0x1d1)](this[_0x3efed8(0x1a2)],_0x230d0d,this[_0x3efed8(0x1a9)]);}async[a0_0xe2ce80(0x1bd)](){}['getData'](){const _0x423ce9=a0_0xe2ce80;let _0x1bc71f=this[_0x423ce9(0x1a9)]['___data'][_0x423ce9(0x1bb)];return _0x1bc71f=JSON[_0x423ce9(0x1d3)](JSON[_0x423ce9(0x1c1)](_0x1bc71f)),_0x1bc71f[_0x423ce9(0x18b)](_0x18be5c=>{const _0xb2e0b3=_0x423ce9;Object[_0xb2e0b3(0x1b6)](_0x18be5c)['forEach'](_0x59a2b8=>{const _0x4caa97=_0xb2e0b3;_0x59a2b8[_0x4caa97(0x192)]('__')&&delete _0x18be5c[_0x59a2b8];});}),{'main':_0x1bc71f,'detail':this[_0x423ce9(0x18c)][_0x423ce9(0x193)]()};}};
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_0x5b58e3=a0_0x14b5;(function(_0x2d662b,_0x5d8a72){const _0x58bf66=a0_0x14b5,_0x14e90f=_0x2d662b();while(!![]){try{const _0x353e81=-parseInt(_0x58bf66(0x81))/0x1*(parseInt(_0x58bf66(0x99))/0x2)+-parseInt(_0x58bf66(0x68))/0x3*(parseInt(_0x58bf66(0x70))/0x4)+-parseInt(_0x58bf66(0x77))/0x5*(-parseInt(_0x58bf66(0x8c))/0x6)+parseInt(_0x58bf66(0x8a))/0x7*(parseInt(_0x58bf66(0x91))/0x8)+-parseInt(_0x58bf66(0x6d))/0x9+parseInt(_0x58bf66(0x9c))/0xa+parseInt(_0x58bf66(0x9f))/0xb;if(_0x353e81===_0x5d8a72)break;else _0x14e90f['push'](_0x14e90f['shift']());}catch(_0x49577f){_0x14e90f['push'](_0x14e90f['shift']());}}}(a0_0x4c68,0xc1609));function a0_0x4c68(){const _0x3a2236=['gristConfigSet','result','split','data','skip_fields','1fmBwtX','gqlInfo','forEach','map','formConfigSet','findOne','fetchHandler','isElement','isPage','35iYRuuI','func','390XAIkNK','parseBasicServiceConfigs','updateMultiple','mainFilterForm','parse','1699832jgfAun','replace','afterFetch','properties','records','length','params','find_one_func','240974oaiOaP','filters','getParams','4595220EqHPzr','mutation','infinityPage','16077303PWGJiZ','query','columns','isEmpty','getPageNavigateParams','push','beforeFetch','lifecycle','gql','321WToYKS','is_activity','includes','filter','multiple','12270033teDhAp','getSelectColumns','runScenario','34376SgHYuT','searchByPagination','dataSet','name','isNotEmpty','list_func','getQueryFilters','16305UoIlAd','pass','parent_id','keys','value'];a0_0x4c68=function(){return _0x3a2236;};return a0_0x4c68();}import{adjustFilters}from'@operato/utils';function a0_0x14b5(_0x81056d,_0x138774){const _0x4c683f=a0_0x4c68();return a0_0x14b5=function(_0x14b503,_0x3b1e09){_0x14b503=_0x14b503-0x64;let _0x4a9906=_0x4c683f[_0x14b503];return _0x4a9906;},a0_0x14b5(_0x81056d,_0x138774);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x4551c6=>class extends MetaBaseMixin(_0x4551c6){static get[a0_0x5b58e3(0x94)](){return{'gqlInfo':Object};}[a0_0x5b58e3(0x8d)](_0x458196){const _0x147b68=a0_0x5b58e3;this[_0x147b68(0x82)]=_0x458196[_0x147b68(0x67)];}async[a0_0x5b58e3(0x87)]({page:_0x1587a0=0x0,limit:_0x1bc16c=0x0,sortings:_0x5cc1e1=[],filters:_0x300def=[]}){const _0x5bb90a=a0_0x5b58e3;if(this[_0x5bb90a(0x69)])return{'total':0x0,'records':this[_0x5bb90a(0x72)]||[]};if(!0x0===this[_0x5bb90a(0x9e)]&&(_0x1587a0=0x0,_0x1bc16c=0x0),this[_0x5bb90a(0x65)]&&0x0==await this[_0x5bb90a(0x65)]({'page':_0x1587a0,'limit':_0x1bc16c,'sortings':_0x5cc1e1,'filters':_0x300def}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x4cec5f=ValueUtil[_0x5bb90a(0xa2)](_0x300def)?this[_0x5bb90a(0x8f)]?await this[_0x5bb90a(0x8f)][_0x5bb90a(0x76)]()||[]:await this['filterForm']?.['getQueryFilters']()||[]:_0x300def,_0x5464c8=ValueUtil['getParams'](this[_0x5bb90a(0x82)],_0x5bb90a(0xa0),_0x5bb90a(0x75)),_0x37a82e=ValueUtil['getParams'](this[_0x5bb90a(0x82)],_0x5bb90a(0xa0),_0x5bb90a(0x9a)),_0xe63353=ValueUtil[_0x5bb90a(0x9b)](this[_0x5bb90a(0x82)],'query','after_set_fields');if(ValueUtil[_0x5bb90a(0x74)](_0x37a82e)&&(_0x4cec5f=adjustFilters(_0x4cec5f,_0x37a82e)),_0x4cec5f[_0x5bb90a(0x64)](...this[_0x5bb90a(0xa3)]()),this[_0x5bb90a(0x88)]&&!this[_0x5bb90a(0x8f)]){let _0x133ace=ValueUtil[_0x5bb90a(0x9b)](this[_0x5bb90a(0x82)],_0x5bb90a(0xa0),_0x5bb90a(0x79));if(!ValueUtil[_0x5bb90a(0x74)](_0x133ace)||!ValueUtil[_0x5bb90a(0x74)](this[_0x5bb90a(0x79)]))return{'total':0x0,'records':[]};_0x4cec5f=adjustFilters(_0x4cec5f,[{'name':_0x133ace,'operator':'eq','value':this[_0x5bb90a(0x79)]}]);}let _0xeb122d=Object[_0x5bb90a(0x7a)](_0xe63353||{}),_0x114725=MetaApi[_0x5bb90a(0x6e)](this['gristConfigSet'][_0x5bb90a(0xa1)][_0x5bb90a(0x6b)](_0x10b09b=>!_0xeb122d[_0x5bb90a(0x6a)](_0x10b09b[_0x5bb90a(0x73)]))),_0x250adc={};if(_0x5464c8[_0x5bb90a(0x6a)]('$')){let _0x10e94e=_0x5464c8[_0x5bb90a(0x92)]('$','');_0x250adc=(await MetaApi['callScenario'](void 0x0,_0x10e94e,{'filters':_0x4cec5f,'pagination':{'page':_0x1587a0,'limit':_0x1bc16c},'sortings':_0x5cc1e1},!0x1))[_0x5bb90a(0x7f)][_0x5bb90a(0x6f)][_0x5bb90a(0x7f)][_0x5bb90a(0x7d)];}else _0x250adc=await MetaApi[_0x5bb90a(0x71)](_0x5464c8,_0x4cec5f,_0x5cc1e1,_0x1587a0,_0x1bc16c,_0x114725);if(this[_0x5bb90a(0x93)]){let _0x17f605=await this['afterFetch']({'page':_0x1587a0,'limit':_0x1bc16c,'sortings':_0x5cc1e1,'filters':_0x300def},_0x250adc);if(_0x17f605)return _0x17f605;}return ValueUtil[_0x5bb90a(0x74)](_0xe63353)&&ValueUtil[_0x5bb90a(0x74)](_0x250adc)&&ValueUtil[_0x5bb90a(0x74)](_0x250adc[_0x5bb90a(0x95)])&&_0x250adc[_0x5bb90a(0x95)][_0x5bb90a(0x84)](_0x2b72f2=>(_0xeb122d[_0x5bb90a(0x83)](_0x1c5740=>{_0x2b72f2[_0x1c5740]=ValueUtil['getParams'](_0x2b72f2,..._0xe63353[_0x1c5740]['split']('.'));}),_0x2b72f2)),_0x250adc;}[a0_0x5b58e3(0xa3)](){const _0x46e696=a0_0x5b58e3;if(0x0==this[_0x46e696(0x89)])return[];let _0x44ab5c=this[_0x46e696(0x66)]?.[_0x46e696(0x97)]?this[_0x46e696(0x66)]['params']:{};if(!_0x44ab5c[_0x46e696(0x78)])return[];let _0x193cc=_0x44ab5c['pass'],_0x252da1=JSON[_0x46e696(0x90)](_0x193cc),_0x1a9f8c=0x1==_0x252da1[_0x46e696(0x96)]?'eq':'in',_0x503ea3={},_0x403ae4=[];return Object['keys'](_0x252da1[0x0])[_0x46e696(0x83)](_0x36a3f8=>{_0x503ea3[_0x36a3f8]={'name':_0x36a3f8,'operator':_0x1a9f8c,'value':'eq'===_0x1a9f8c?_0x252da1[0x0][_0x36a3f8]:[]};}),_0x252da1[_0x46e696(0x96)]>0x1&&_0x252da1[_0x46e696(0x83)](_0x4f27eb=>{const _0xd109c7=_0x46e696;Object[_0xd109c7(0x7a)](_0x4f27eb)[_0xd109c7(0x83)](_0x220179=>{const _0x8b5e69=_0xd109c7;_0x503ea3[_0x220179][_0x8b5e69(0x7b)][_0x8b5e69(0x64)](_0x4f27eb[_0x220179]);});}),Object[_0x46e696(0x7a)](_0x503ea3)[_0x46e696(0x83)](_0x39e77f=>{const _0x52b878=_0x46e696;_0x403ae4[_0x52b878(0x64)](_0x503ea3[_0x39e77f]);}),_0x403ae4;}async['findOne'](_0x1f78ba){const _0x1cd37a=a0_0x5b58e3;if(this[_0x1cd37a(0x69)])return this[_0x1cd37a(0x72)]||{};let _0x5ef88e=ValueUtil[_0x1cd37a(0x9b)](this[_0x1cd37a(0x82)],_0x1cd37a(0xa0),_0x1cd37a(0x98)),_0x2d96a1=ValueUtil[_0x1cd37a(0x9b)](this['gqlInfo'],'query','after_set_fields'),_0x4d69a3=Object['keys'](_0x2d96a1||{}),_0x1b6fc7=MetaApi[_0x1cd37a(0x6e)]((this[_0x1cd37a(0x7c)]?this[_0x1cd37a(0x7c)]:{'columns':this[_0x1cd37a(0x85)]})[_0x1cd37a(0xa1)][_0x1cd37a(0x6b)](_0x366250=>!_0x4d69a3[_0x1cd37a(0x6a)](_0x366250[_0x1cd37a(0x73)]))),_0x2c9b1f={};if(_0x5ef88e[_0x1cd37a(0x6a)]('$')){let _0x3a6bbb=_0x5ef88e[_0x1cd37a(0x92)]('$',''),_0x3abb63=await MetaApi['callScenario'](void 0x0,_0x3a6bbb,{'id':_0x1f78ba},!0x1);_0x2c9b1f=_0x3abb63[_0x1cd37a(0x7f)]['runScenario'][_0x1cd37a(0x7f)][_0x1cd37a(0x7d)];}else _0x2c9b1f=await MetaApi[_0x1cd37a(0x86)](_0x5ef88e,_0x1f78ba,_0x1b6fc7);return ValueUtil['isNotEmpty'](_0x2d96a1)&&ValueUtil[_0x1cd37a(0x74)](_0x2c9b1f)&&_0x4d69a3[_0x1cd37a(0x83)](_0x466c4b=>{const _0x3eebcb=_0x1cd37a;_0x2c9b1f[_0x466c4b]=ValueUtil[_0x3eebcb(0x9b)](_0x2c9b1f,..._0x2d96a1[_0x466c4b][_0x3eebcb(0x7e)]('.'));}),_0x2c9b1f;}async['deleteByIds'](_0x5955f1){const _0x2cb396=a0_0x5b58e3;let _0x180958=ValueUtil[_0x2cb396(0x9b)](this[_0x2cb396(0x82)],_0x2cb396(0x9d),'delete',_0x2cb396(0x8b));return await MetaApi['deleteListByIds'](_0x5955f1,_0x180958);}async['updateMultiple'](_0x3223d2){const _0x366702=a0_0x5b58e3;let _0x5d21eb=ValueUtil['getParams'](this[_0x366702(0x82)],_0x366702(0x9d),_0x366702(0x6c),_0x366702(0x8b)),_0x2c1c48=ValueUtil[_0x366702(0x9b)](this[_0x366702(0x82)],_0x366702(0x9d),_0x366702(0x6c),_0x366702(0x80));if(ValueUtil['isNotEmpty'](_0x2c1c48)&&(_0x2c1c48=_0x2c1c48[_0x366702(0x84)](_0x1999e0=>_0x1999e0['includes']('.')?_0x1999e0[_0x366702(0x7e)]('.'):_0x1999e0),_0x3223d2=_0x3223d2[_0x366702(0x84)](_0x2e84e3=>(_0x2c1c48[_0x366702(0x83)](_0x11de6e=>{Array['isArray'](_0x11de6e)?delete _0x2e84e3[_0x11de6e[0x0]][_0x11de6e[0x1]]:delete _0x2e84e3[_0x11de6e];}),_0x2e84e3))),this['isElement']&&ValueUtil['isNotEmpty'](this[_0x366702(0x79)])){let _0x3fe7c=ValueUtil['getParams'](this[_0x366702(0x82)],_0x366702(0x9d),_0x366702(0x6c),'parent_id');ValueUtil[_0x366702(0x74)](_0x3fe7c)&&_0x3223d2[_0x366702(0x83)](_0x5db8d4=>{const _0x29e450=_0x366702;if(_0x3fe7c[_0x29e450(0x6a)]('.')){let _0x548e73=_0x3fe7c[_0x29e450(0x7e)]('.');_0x5db8d4[_0x548e73[0x0]]={},_0x5db8d4[_0x548e73[0x0]][_0x548e73[0x1]]=this[_0x29e450(0x79)];}else _0x5db8d4[_0x3fe7c]=this[_0x29e450(0x79)];});}return await MetaApi[_0x366702(0x8e)](_0x5d21eb,_0x3223d2);}};
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
- const a0_0x3defbe=a0_0x2d80;(function(_0x48d481,_0x4112eb){const _0x5490af=a0_0x2d80,_0x5daaa7=_0x48d481();while(!![]){try{const _0x2c1d50=parseInt(_0x5490af(0x6b))/0x1+parseInt(_0x5490af(0x80))/0x2*(-parseInt(_0x5490af(0x8d))/0x3)+-parseInt(_0x5490af(0x96))/0x4+parseInt(_0x5490af(0x81))/0x5*(-parseInt(_0x5490af(0x9f))/0x6)+-parseInt(_0x5490af(0x71))/0x7*(-parseInt(_0x5490af(0x72))/0x8)+-parseInt(_0x5490af(0x9d))/0x9*(parseInt(_0x5490af(0x97))/0xa)+parseInt(_0x5490af(0xa4))/0xb;if(_0x2c1d50===_0x4112eb)break;else _0x5daaa7['push'](_0x5daaa7['shift']());}catch(_0x2c376d){_0x5daaa7['push'](_0x5daaa7['shift']());}}}(a0_0x154d,0x4ff0b));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x2d80(_0x514f43,_0x312632){const _0x154d93=a0_0x154d();return a0_0x2d80=function(_0x2d80b0,_0x386fa5){_0x2d80b0=_0x2d80b0-0x6a;let _0x10a9d5=_0x154d93[_0x2d80b0];return _0x10a9d5;},a0_0x2d80(_0x514f43,_0x312632);}export const MetaTabDetailMixin=_0x2e67b8=>class extends MetaButtonMixin(_0x2e67b8){static get[a0_0x3defbe(0x86)](){const _0x4caa90=a0_0x3defbe;return MetaApi[_0x4caa90(0x7f)]();}static get[a0_0x3defbe(0x8b)](){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_0x3defbe(0x87)](){const _0x5504b9=a0_0x3defbe;return this['masterElement'][_0x5504b9(0xa8)]();}get[a0_0x3defbe(0x6e)](){const _0x45ce15=a0_0x3defbe;return this['shadowRoot']?.['querySelector'](this[_0x45ce15(0x78)]);}get[a0_0x3defbe(0x90)](){const _0x349a43=a0_0x3defbe;let _0x11bc2b=MetaUiUtil[_0x349a43(0x6d)](this);return _0x11bc2b[_0x349a43(0x7c)]&&delete _0x11bc2b[_0x349a43(0x7c)],_0x11bc2b[_0x349a43(0x70)]&&delete _0x11bc2b[_0x349a43(0x70)],_0x11bc2b[_0x349a43(0x73)]&&delete _0x11bc2b[_0x349a43(0x73)],_0x11bc2b;}async[a0_0x3defbe(0x88)](){const _0xaa2a35=a0_0x3defbe;this['gristId']=_0xaa2a35(0xa2),this[_0xaa2a35(0x78)]=_0xaa2a35(0x89),await this['getAndParseMenuMeta'](),this[_0xaa2a35(0x8a)]&&await this[_0xaa2a35(0x79)](),this[_0xaa2a35(0x95)]&&(this[_0xaa2a35(0x7d)]=(this['activityDataSet']||{})['main']),super[_0xaa2a35(0x88)]&&await super[_0xaa2a35(0x88)]();}async[a0_0x3defbe(0x91)](){const _0x46034c=a0_0x3defbe;super[_0x46034c(0x91)]&&await super[_0x46034c(0x91)]();}async['pageInitialized'](){const _0x125ee9=a0_0x3defbe;this[_0x125ee9(0x85)]&&await this[_0x125ee9(0x79)](),super[_0x125ee9(0xa1)]&&await super[_0x125ee9(0xa1)]();}[a0_0x3defbe(0x75)](){const _0x49971e=a0_0x3defbe;return MetaApi[_0x49971e(0x8e)](this);}[a0_0x3defbe(0x6c)](_0x496627){const _0xa50af4=a0_0x3defbe;this[_0xa50af4(0x84)]=_0x496627['grid'],this[_0xa50af4(0x98)]=_0x496627[_0xa50af4(0x7e)],this[_0xa50af4(0xa7)]=_0x496627['search'];}async['parseGristConfigs'](){const _0xb09021=a0_0x3defbe;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0xb09021(0x92)]=!0x0===this[_0xb09021(0x6f)],this[_0xb09021(0x6f)]=!0x1,this[_0xb09021(0x7a)]=void 0x0,this[_0xb09021(0x6a)]=!0x1,this[_0xb09021(0xa5)]=!0x1,this[_0xb09021(0x8f)]=[],this[_0xb09021(0xa3)]=this[_0xb09021(0x9e)]['columns']['filter'](_0x305d83=>_0x305d83[_0xb09021(0x93)])[_0xb09021(0x83)](_0x44abb3=>{const _0x561274=_0xb09021;let _0x3a40bf={'name':_0x44abb3[_0x561274(0x8c)],'type':_0x561274(0x9c)===_0x44abb3[_0x561274(0x93)][_0x561274(0x82)]?_0x561274(0x9c):_0x44abb3['type'],'label':_0x44abb3[_0x561274(0x77)],'operator':_0x44abb3[_0x561274(0x93)][_0x561274(0x82)]?_0x44abb3['filter']['operator']:'eq'};return _0x44abb3[_0x561274(0x93)]['options']&&(_0x3a40bf[_0x561274(0xa6)]=_0x44abb3[_0x561274(0x93)][_0x561274(0xa6)]),_0x44abb3[_0x561274(0x94)][_0x561274(0xa6)]&&(_0x3a40bf[_0x561274(0xa6)]=_0x44abb3['record']['options']),_0x44abb3[_0x561274(0x93)][_0x561274(0xa0)]&&this[_0x561274(0x8f)][_0x561274(0x9a)]({'name':_0x3a40bf[_0x561274(0x8c)],'operator':_0x3a40bf['operator'],'value':_0x44abb3[_0x561274(0x93)]['value']}),delete _0x44abb3[_0x561274(0x93)],_0x3a40bf;});}async['fetch'](){const _0x5f072c=a0_0x3defbe;await this[_0x5f072c(0x87)][_0x5f072c(0x9b)]();}async['beforeFetch']({page:_0x5ddfe9=0x0,limit:_0x5a05f4=0x0,sortings:_0x4835fc=[],filters:_0x428d5f=[]}){const _0x1ca9f7=a0_0x3defbe;return this[_0x1ca9f7(0x76)]&&this[_0x1ca9f7(0x76)][_0x1ca9f7(0x74)]&&await this[_0x1ca9f7(0x76)][_0x1ca9f7(0x74)](),this[_0x1ca9f7(0x7b)]&&this[_0x1ca9f7(0x7b)]['clear']&&await this[_0x1ca9f7(0x7b)]['clear'](),!0x0;}['getData'](){const _0x35b9e0=a0_0x3defbe;return{'master':this['masterElement'][_0x35b9e0(0x99)](),'detail':this[_0x35b9e0(0x7b)]['getData']()};}};function a0_0x154d(){const _0xf2b898=['useFilterForm','exportable','21QSnqbd','365336DmhACb','importable','clear','render','masterElement','header','filterFormId','parseGristConfigs','buttonConfig','detailElement','actions','dataSet','grid_column','getBasicTabDetailStyles','3466tuENcl','1622345hziViM','operator','map','gridConfig','isPage','styles','grist','connectedCallback','ox-filters-form-base','isElement','properties','name','318eLXcxo','getTabDetailHtml','searchFieldValues','context','firstUpdated','useMasterFilterForm','filter','record','activityDataSet','2293012euszCV','7230oFQiLt','gridColumnConfig','getData','push','fetch','search','1728ZapRss','gristConfigSet','12vVOuJQ','value','pageInitialized','ox-grist','searchFields','12378278HJqJVl','useButtonImport','options','searchConfig','getMainGrist','useButtonExport','609841AlXwqM','parseBasicGridConfigs','getContextObject','filterForm'];a0_0x154d=function(){return _0xf2b898;};return a0_0x154d();}
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_0x429bd2=a0_0x322b;(function(_0x4d9950,_0x5479eb){const _0x14d0fd=a0_0x322b,_0x23d6e8=_0x4d9950();while(!![]){try{const _0x5da84d=-parseInt(_0x14d0fd(0xd0))/0x1+parseInt(_0x14d0fd(0xbd))/0x2+-parseInt(_0x14d0fd(0xc6))/0x3*(parseInt(_0x14d0fd(0xc7))/0x4)+parseInt(_0x14d0fd(0xc3))/0x5+-parseInt(_0x14d0fd(0xde))/0x6*(-parseInt(_0x14d0fd(0xd8))/0x7)+parseInt(_0x14d0fd(0xba))/0x8*(parseInt(_0x14d0fd(0xda))/0x9)+-parseInt(_0x14d0fd(0xca))/0xa;if(_0x5da84d===_0x5479eb)break;else _0x23d6e8['push'](_0x23d6e8['shift']());}catch(_0x97bfbd){_0x23d6e8['push'](_0x23d6e8['shift']());}}}(a0_0x428e,0x7fd5a));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x322b(_0x252b1f,_0x41c1cb){const _0x428efc=a0_0x428e();return a0_0x322b=function(_0x322bd5,_0x1323ad){_0x322bd5=_0x322bd5-0xb8;let _0x54fdf5=_0x428efc[_0x322bd5];return _0x54fdf5;},a0_0x322b(_0x252b1f,_0x41c1cb);}import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x428e(){const _0x4ecf6e=['getMainGrist','meta-grist-element','connectedCallback','clear','381723XmNKKe','getData','getContextObject','tabRenderConfig','etcConfig','tabElements','context','styles','7JnKFIx','index','11790SRlOTa','name','display','includeMainList','806628KGtXPn','keys','properties','tab','4464oDDRoO','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}','activityDataSet','632322hCziyd','button','@things-factory/meta-ui/client/pages/meta-grist-element','pageInitialized','getAndParseMenuMeta','parseBasicTabConfigs','975625dDmIPS','render','firstUpdated','9GvImhi','275164IbCbWQ','length','getBasicTabStyles','2649980hMtCzA','icon'];a0_0x428e=function(){return _0x4ecf6e;};return a0_0x428e();}export const MetaTabMixin=_0x236066=>class extends MetaButtonMixin(_0x236066){static get[a0_0x429bd2(0xd7)](){const _0x144b12=a0_0x429bd2;return MetaApi[_0x144b12(0xc9)]();}static get[a0_0x429bd2(0xb8)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x429bd2(0xd6)](){const _0x373d5a=a0_0x429bd2;return MetaUiUtil[_0x373d5a(0xd2)](this);}async[a0_0x429bd2(0xce)](){const _0xc334ec=a0_0x429bd2;this['currentTabKey']=void 0x0,await this[_0xc334ec(0xc1)](),this['activityDataSet']&&(this['dataSet']=this[_0xc334ec(0xbc)]),super[_0xc334ec(0xce)]&&await super[_0xc334ec(0xce)]();}async[a0_0x429bd2(0xc5)](){const _0x2091ad=a0_0x429bd2;super[_0x2091ad(0xc5)]&&await super[_0x2091ad(0xc5)]();}async[a0_0x429bd2(0xc0)](){const _0x38c74b=a0_0x429bd2;super['pageInitialized']&&await super[_0x38c74b(0xc0)]();}[a0_0x429bd2(0xc4)](){return MetaApi['getBasicTabHtml'](this);}[a0_0x429bd2(0xc2)](_0xaca35a){const _0x337ec4=a0_0x429bd2;if(!0x0===this[_0x337ec4(0xdd)]){let _0x313558=this[_0x337ec4(0xd4)]['main_tab_info'],_0x312e05=JSON['parse'](_0x313558||_0x337ec4(0xbb));_0x312e05[_0x337ec4(0xd9)]>_0xaca35a[_0x337ec4(0xb9)]['length']&&(_0x312e05[_0x337ec4(0xd9)]=_0xaca35a[_0x337ec4(0xb9)][_0x337ec4(0xc8)]),_0xaca35a['tab']['splice'](_0x312e05[_0x337ec4(0xd9)],0x0,{'name':_0x312e05[_0x337ec4(0xdb)],'display':_0x312e05[_0x337ec4(0xdc)],'tagname':_0x337ec4(0xcd),'location':_0x337ec4(0xbf),'parent_field':'id','param_field':'param_field','menu':this['route_name'],'icon':_0x312e05[_0x337ec4(0xcb)],'filter_from':!0x1,'main_filter_form':this['mainFilterForm']});}this[_0x337ec4(0xd3)]=_0xaca35a[_0x337ec4(0xb9)],_0xaca35a[_0x337ec4(0xbe)]=[];}async[a0_0x429bd2(0xcf)](){const _0x5ddc1a=a0_0x429bd2;if(this['tabElements']){let _0x2fe756=Object[_0x5ddc1a(0xdf)](this[_0x5ddc1a(0xd5)]);for(var _0x2b2947=0x0;_0x2b2947<_0x2fe756['length'];_0x2b2947++)await this[_0x5ddc1a(0xd5)][_0x2fe756[_0x2b2947]][_0x5ddc1a(0xcf)]();}}[a0_0x429bd2(0xd1)](){const _0x29fbb5=a0_0x429bd2;let _0x524ed1={};return this[_0x29fbb5(0xd5)]&&Object[_0x29fbb5(0xdf)](this[_0x29fbb5(0xd5)])['forEach'](_0x577b57=>{const _0x5e68c8=_0x29fbb5;_0x524ed1[_0x577b57]=this['tabElements'][_0x577b57][_0x5e68c8(0xd1)]();}),_0x524ed1;}[a0_0x429bd2(0xcc)](){const _0x4986f4=a0_0x429bd2;if(this[_0x4986f4(0xd5)]){let _0x55d40f=Object[_0x4986f4(0xdf)](this[_0x4986f4(0xd5)]);return this[_0x4986f4(0xd5)][_0x55d40f[0x0]]['grist'];}}};
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'];}}};