@things-factory/meta-ui 6.1.14 → 6.1.16

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 (84) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  3. package/client/component/filter/filter-form-meta-object-select.js +10 -10
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +10 -10
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +3 -3
  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 +2 -2
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +29 -29
  26. package/client/pages/entity/main-menu-selector.js +8 -8
  27. package/client/pages/history/history-copy-list-popup.js +6 -6
  28. package/client/pages/history/history-json-list-popup.js +6 -6
  29. package/client/pages/loading-page.js +5 -5
  30. package/client/pages/menu/dynamic-menu-template.js +7 -7
  31. package/client/pages/menu/dynamic-menu.js +15 -15
  32. package/client/pages/meta-form-element.js +1 -1
  33. package/client/pages/meta-grist-element.js +1 -1
  34. package/client/pages/meta-grist-page.js +1 -1
  35. package/client/pages/meta-grist-tab-element.js +1 -1
  36. package/client/pages/meta-grist-tab-page.js +1 -1
  37. package/client/pages/meta-main-tab-element.js +1 -1
  38. package/client/pages/meta-main-tab-page.js +1 -1
  39. package/client/pages/meta-master-detail-element.js +1 -1
  40. package/client/pages/meta-master-detail-page.js +1 -1
  41. package/client/pages/meta-tab-detail-element.js +1 -1
  42. package/client/pages/meta-tab-detail-page.js +1 -1
  43. package/client/pages/meta-tab-element.js +1 -1
  44. package/client/pages/personalize/personal-column-selector.js +11 -11
  45. package/client/pages/terms/config-terminology.js +6 -6
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +103 -103
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +12 -12
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +2 -2
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  73. package/server/service/meta-activity/meta-activity-query.js +1 -1
  74. package/server/service/meta-activity/meta-activity-type.js +1 -1
  75. package/server/service/meta-secret/meta-resolver.js +1 -1
  76. package/server/service/set-translations/set-translation-resolver.js +1 -1
  77. package/server/service/work-code/work-code-mutation.js +1 -1
  78. package/server/service/work-code/work-code-query.js +1 -1
  79. package/server/service/work-code/work-code-type.js +1 -1
  80. package/server/service/work-code/work-code.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- function a0_0x3cb7(){const _0x3179de=['gristId','deleteByIds','ox-filters-form','isNotEmpty','connectedCallback','getBasicGristStyles','searchConfig','delete','patchesForUpdateMultiple','tTitle','parseGristConfigs','parse','1224978qTpWTF','filterFormId','parseBasicGridConfigs','getParams','2360808teScWG','gristConfigSet','grid_column','isElement','updateMultiple','import','findOne','properties','7QlnlEK','render','getButtonContainer','___data','46050lIGcQc','querySelector','grist','exportableData','save','144078frZyeZ','firstUpdated','activityDataSet','export','fetch','705024HkNEFa','shadowRoot','27824UsCSus','getData','153HlaNDE','gridConfig','ox-grist','records','grid','forEach','8tohhSG','menuInfo','data','filterForm','pageInitialized','parseGridConfigSet','startsWith','isPage','title','keys','130500WQbHjp','getSelectedIdList','getContextObject'];a0_0x3cb7=function(){return _0x3179de;};return a0_0x3cb7();}const a0_0x389826=a0_0x16c6;(function(_0x1638a6,_0x5d83a5){const _0x53e789=a0_0x16c6,_0x487d5a=_0x1638a6();while(!![]){try{const _0x44ab47=-parseInt(_0x53e789(0x17d))/0x1+-parseInt(_0x53e789(0x185))/0x2*(parseInt(_0x53e789(0x176))/0x3)+-parseInt(_0x53e789(0x17b))/0x4+-parseInt(_0x53e789(0x18f))/0x5+parseInt(_0x53e789(0x161))/0x6+-parseInt(_0x53e789(0x16d))/0x7*(-parseInt(_0x53e789(0x165))/0x8)+-parseInt(_0x53e789(0x17f))/0x9*(-parseInt(_0x53e789(0x171))/0xa);if(_0x44ab47===_0x5d83a5)break;else _0x487d5a['push'](_0x487d5a['shift']());}catch(_0x1e502e){_0x487d5a['push'](_0x487d5a['shift']());}}}(a0_0x3cb7,0x25e81));import{html}from'lit';function a0_0x16c6(_0x2c521f,_0x3628c9){const _0x3cb742=a0_0x3cb7();return a0_0x16c6=function(_0x16c6da,_0x2f1391){_0x16c6da=_0x16c6da-0x155;let _0x1eeaff=_0x3cb742[_0x16c6da];return _0x1eeaff;},a0_0x16c6(_0x2c521f,_0x3628c9);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0xfdc48a=>class extends MetaButtonMixin(_0xfdc48a){static get['styles'](){const _0x154ae3=a0_0x16c6;return MetaApi[_0x154ae3(0x15a)]();}static get[a0_0x389826(0x16c)](){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_0x389826(0x173)](){const _0x2b370c=a0_0x389826;return this['renderRoot']?.[_0x2b370c(0x172)](this[_0x2b370c(0x155)]);}get[a0_0x389826(0x188)](){const _0x1741e0=a0_0x389826;return this[_0x1741e0(0x17c)]?.[_0x1741e0(0x172)](this['filterFormId']);}get['context'](){const _0xaef87c=a0_0x389826;return MetaUiUtil[_0xaef87c(0x191)](this);}async[a0_0x389826(0x159)](){const _0x40fb66=a0_0x389826;this[_0x40fb66(0x155)]=_0x40fb66(0x181),this[_0x40fb66(0x162)]=_0x40fb66(0x157),await this['getAndParseMenuMeta'](),this[_0x40fb66(0x168)]&&await this[_0x40fb66(0x15f)](),this['activityDataSet']&&(this['dataSet']=this[_0x40fb66(0x178)]),super[_0x40fb66(0x159)]&&await super[_0x40fb66(0x159)]();}async[a0_0x389826(0x177)](){const _0x13893a=a0_0x389826;super[_0x13893a(0x177)]&&await super[_0x13893a(0x177)]();}async[a0_0x389826(0x189)](){const _0x32b587=a0_0x389826;this[_0x32b587(0x18c)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x389826(0x16e)](){const _0x51fc54=a0_0x389826;return html`
1
+ const a0_0x289dd3=a0_0x20d4;(function(_0xec4497,_0x8959d2){const _0x56fa14=a0_0x20d4,_0x3ac176=_0xec4497();while(!![]){try{const _0x1fbe2b=parseInt(_0x56fa14(0xa7))/0x1*(-parseInt(_0x56fa14(0xc6))/0x2)+parseInt(_0x56fa14(0xa3))/0x3*(-parseInt(_0x56fa14(0xa2))/0x4)+-parseInt(_0x56fa14(0xc1))/0x5+parseInt(_0x56fa14(0xba))/0x6*(-parseInt(_0x56fa14(0xc4))/0x7)+-parseInt(_0x56fa14(0xa8))/0x8*(-parseInt(_0x56fa14(0xb9))/0x9)+-parseInt(_0x56fa14(0xb8))/0xa*(-parseInt(_0x56fa14(0x97))/0xb)+-parseInt(_0x56fa14(0x9c))/0xc*(-parseInt(_0x56fa14(0xa9))/0xd);if(_0x1fbe2b===_0x8959d2)break;else _0x3ac176['push'](_0x3ac176['shift']());}catch(_0x26fe8e){_0x3ac176['push'](_0x3ac176['shift']());}}}(a0_0x4210,0xac757));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x4210(){const _0x1b5ac8=['keys','ox-filters-form','5489077OhNiHU','grid','ox-grist','gridConfig','records','60yEHfvO','isNotEmpty','menuInfo','filterForm','exportableData','grist','584ovwvSi','27447KxvLCr','getButtonContainer','forEach','parse','1qkSnfa','64pjOulu','9226009eJeDZq','isPage','title','grid_column','delete','styles','find','getParams','dataSet','___data','isElement','save','updateMultiple','startsWith','stringify','10pLjYMp','1375020vKjRlf','40506YpJBIr','gristId','getData','search','gristConfigSet','parseGristConfigs','gridColumnConfig','6703585DBTMxM','export','getAndParseMenuMeta','1099RClBeg','getSelectedIdList','1653886NQlrqf','connectedCallback','fetch','querySelector','parseBasicGridConfigs','activityDataSet','pageInitialized','firstUpdated','findOne'];a0_0x4210=function(){return _0x1b5ac8;};return a0_0x4210();}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_0x20d4(_0x207275,_0x1d23e9){const _0x421092=a0_0x4210();return a0_0x20d4=function(_0x20d41c,_0x80d020){_0x20d41c=_0x20d41c-0x97;let _0x350909=_0x421092[_0x20d41c];return _0x350909;},a0_0x20d4(_0x207275,_0x1d23e9);}export const MetaBasicGristMixin=_0x1dc313=>class extends MetaButtonMixin(_0x1dc313){static get[a0_0x289dd3(0xae)](){return MetaApi['getBasicGristStyles']();}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_0x289dd3(0xa1)](){const _0x33eb2e=a0_0x289dd3;return this['renderRoot']?.[_0x33eb2e(0xc9)](this[_0x33eb2e(0xbb)]);}get[a0_0x289dd3(0x9f)](){const _0x11b9f3=a0_0x289dd3;return this['shadowRoot']?.[_0x11b9f3(0xc9)](this['filterFormId']);}get['context'](){return MetaUiUtil['getContextObject'](this);}async[a0_0x289dd3(0xc7)](){const _0xfa19c9=a0_0x289dd3;this[_0xfa19c9(0xbb)]=_0xfa19c9(0x99),this['filterFormId']=_0xfa19c9(0xd0),await this[_0xfa19c9(0xc3)](),this[_0xfa19c9(0xb3)]&&await this['parseGristConfigs'](),this[_0xfa19c9(0xcb)]&&(this[_0xfa19c9(0xb1)]=this['activityDataSet']),super[_0xfa19c9(0xc7)]&&await super[_0xfa19c9(0xc7)]();}async[a0_0x289dd3(0xcd)](){const _0x212b66=a0_0x289dd3;super[_0x212b66(0xcd)]&&await super[_0x212b66(0xcd)]();}async['pageInitialized'](){const _0x57d29a=a0_0x289dd3;this[_0x57d29a(0xaa)]&&await this[_0x57d29a(0xbf)](),super[_0x57d29a(0xcc)]&&await super['pageInitialized']();}['render'](){const _0x14abf8=a0_0x289dd3;return html`
2
2
  ${MetaApi['getBasicGristHtml'](this)}
3
- ${this['isPage']?html``:MetaUiUtil[_0x51fc54(0x16f)](this)}
4
- `;}[a0_0x389826(0x163)](_0x860f5c){const _0x362d66=a0_0x389826;this[_0x362d66(0x180)]=_0x860f5c[_0x362d66(0x183)],this['gridColumnConfig']=_0x860f5c[_0x362d66(0x167)],this[_0x362d66(0x15b)]=_0x860f5c['search'];}async['parseGristConfigs'](){const _0x2db5e0=a0_0x389826;this[_0x2db5e0(0x166)]=await MetaApi[_0x2db5e0(0x18a)](this);}async[a0_0x389826(0x17a)](){const _0x149d9c=a0_0x389826;await this['grist'][_0x149d9c(0x17a)]();}async[a0_0x389826(0x175)](){const _0x2c03a7=a0_0x389826;let _0x81089a=MetaApi[_0x2c03a7(0x15d)](this[_0x2c03a7(0x173)]);!!ValueUtil['isNotEmpty'](_0x81089a)&&await this[_0x2c03a7(0x169)](_0x81089a)&&this[_0x2c03a7(0x17a)]();}async['find'](){const _0x5738b5=a0_0x389826;let _0x125b6b=MetaApi['getSelectedIdList'](this[_0x5738b5(0x173)],!0x0);return ValueUtil[_0x5738b5(0x158)](_0x125b6b)?await this[_0x5738b5(0x16b)](_0x125b6b[0x0]):{};}async[a0_0x389826(0x15c)](){const _0x411f7b=a0_0x389826;let _0x2dc568=MetaApi[_0x411f7b(0x190)](this[_0x411f7b(0x173)],!0x0);!!ValueUtil[_0x411f7b(0x158)](_0x2dc568)&&await this[_0x411f7b(0x156)](_0x2dc568)&&this[_0x411f7b(0x17a)]();}async[a0_0x389826(0x179)](){const _0x1ccd61=a0_0x389826;let _0x19e990=TermsUtil[_0x1ccd61(0x15e)](ValueUtil[_0x1ccd61(0x164)](this[_0x1ccd61(0x186)],_0x1ccd61(0x18d)));return await MetaApi[_0x1ccd61(0x174)](this['isElement'],_0x19e990,this['grist']);}async[a0_0x389826(0x16a)](){}async['clear'](){const _0x2df793=a0_0x389826;this[_0x2df793(0x173)]&&(this[_0x2df793(0x173)][_0x2df793(0x187)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x389826(0x17e)](){const _0x3b85d9=a0_0x389826;let _0xc1f408=this[_0x3b85d9(0x173)][_0x3b85d9(0x170)][_0x3b85d9(0x182)];return _0xc1f408=JSON[_0x3b85d9(0x160)](JSON['stringify'](_0xc1f408)),_0xc1f408[_0x3b85d9(0x184)](_0x5805d4=>{const _0x43db31=_0x3b85d9;Object[_0x43db31(0x18e)](_0x5805d4)[_0x43db31(0x184)](_0x4d5a14=>{const _0x32495d=_0x43db31;_0x4d5a14[_0x32495d(0x18b)]('__')&&delete _0x5805d4[_0x4d5a14];});}),_0xc1f408;}};
3
+ ${this['isPage']?html``:MetaUiUtil[_0x14abf8(0xa4)](this)}
4
+ `;}[a0_0x289dd3(0xca)](_0x74a0fb){const _0x54b888=a0_0x289dd3;this[_0x54b888(0x9a)]=_0x74a0fb[_0x54b888(0x98)],this[_0x54b888(0xc0)]=_0x74a0fb[_0x54b888(0xac)],this['searchConfig']=_0x74a0fb[_0x54b888(0xbd)];}async['parseGristConfigs'](){const _0x29ea4d=a0_0x289dd3;this[_0x29ea4d(0xbe)]=await MetaApi['parseGridConfigSet'](this);}async[a0_0x289dd3(0xc8)](){const _0x3fe3be=a0_0x289dd3;await this[_0x3fe3be(0xa1)][_0x3fe3be(0xc8)]();}async[a0_0x289dd3(0xb4)](){const _0x35cace=a0_0x289dd3;let _0x1a6529=MetaApi['patchesForUpdateMultiple'](this[_0x35cace(0xa1)]);!!ValueUtil[_0x35cace(0x9d)](_0x1a6529)&&await this[_0x35cace(0xb5)](_0x1a6529)&&this['fetch']();}async[a0_0x289dd3(0xaf)](){const _0x33edd2=a0_0x289dd3;let _0x35e399=MetaApi[_0x33edd2(0xc5)](this['grist'],!0x0);return ValueUtil[_0x33edd2(0x9d)](_0x35e399)?await this[_0x33edd2(0xce)](_0x35e399[0x0]):{};}async[a0_0x289dd3(0xad)](){const _0x5ef70b=a0_0x289dd3;let _0x2813bf=MetaApi['getSelectedIdList'](this[_0x5ef70b(0xa1)],!0x0);!!ValueUtil[_0x5ef70b(0x9d)](_0x2813bf)&&await this['deleteByIds'](_0x2813bf)&&this[_0x5ef70b(0xc8)]();}async[a0_0x289dd3(0xc2)](){const _0xb55e39=a0_0x289dd3;let _0x4880eb=TermsUtil['tTitle'](ValueUtil[_0xb55e39(0xb0)](this[_0xb55e39(0x9e)],_0xb55e39(0xab)));return await MetaApi[_0xb55e39(0xa0)](this[_0xb55e39(0xb3)],_0x4880eb,this[_0xb55e39(0xa1)]);}async['import'](){}async['clear'](){const _0x387d4b=a0_0x289dd3;this[_0x387d4b(0xa1)]&&(this[_0x387d4b(0xa1)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x289dd3(0xbc)](){const _0x551a90=a0_0x289dd3;let _0x5c4641=this[_0x551a90(0xa1)][_0x551a90(0xb2)][_0x551a90(0x9b)];return _0x5c4641=JSON[_0x551a90(0xa6)](JSON[_0x551a90(0xb7)](_0x5c4641)),_0x5c4641['forEach'](_0x1d360a=>{const _0x1c201f=_0x551a90;Object[_0x1c201f(0xcf)](_0x1d360a)[_0x1c201f(0xa5)](_0x26707c=>{const _0x5a0de1=_0x1c201f;_0x26707c[_0x5a0de1(0xb6)]('__')&&delete _0x1d360a[_0x26707c];});}),_0x5c4641;}};
@@ -1 +1 @@
1
- const a0_0x158808=a0_0x4019;function a0_0x4019(_0x577c90,_0x5d977c){const _0x378d17=a0_0x378d();return a0_0x4019=function(_0x401944,_0x8b3ec6){_0x401944=_0x401944-0x8c;let _0x495a5d=_0x378d17[_0x401944];return _0x495a5d;},a0_0x4019(_0x577c90,_0x5d977c);}(function(_0xaf6a2e,_0x56ac98){const _0xf66670=a0_0x4019,_0x59fda6=_0xaf6a2e();while(!![]){try{const _0x5d7099=parseInt(_0xf66670(0x9b))/0x1*(parseInt(_0xf66670(0xa6))/0x2)+-parseInt(_0xf66670(0x94))/0x3*(parseInt(_0xf66670(0x97))/0x4)+-parseInt(_0xf66670(0xa0))/0x5+parseInt(_0xf66670(0x9d))/0x6+-parseInt(_0xf66670(0xa4))/0x7*(parseInt(_0xf66670(0x98))/0x8)+parseInt(_0xf66670(0xa2))/0x9+parseInt(_0xf66670(0x9f))/0xa*(parseInt(_0xf66670(0x8f))/0xb);if(_0x5d7099===_0x56ac98)break;else _0x59fda6['push'](_0x59fda6['shift']());}catch(_0x49e490){_0x59fda6['push'](_0x59fda6['shift']());}}}(a0_0x378d,0xe1016));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x378d(){const _0x48c0d1=['import','1309oZfXVz','parseBasicButtonConfigs','gristButtonHandler','useButtonImport','getButtonContainer','494547VgSERr','getButtonActionHandler','add','44PHjSJy','424240cDfBiN','getCustomButtonContainerStyles','customButtonHandler','67442sgqhTY','export','7489122jRLAXn','isPage','14730hcLDNp','233480fvVrqw','button','1645605FPWFdb','buttonConfig','14KPowlt','getContextButtons','38DEmmMt','getBasicButtonHandler','properties'];a0_0x378d=function(){return _0x48c0d1;};return a0_0x378d();}export const MetaButtonMixin=_0x47553f=>class extends MetaServiceMixin(_0x47553f){static get[a0_0x158808(0x8d)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0xc3f3d9=a0_0x158808;return MetaUiUtil[_0xc3f3d9(0x99)]();}[a0_0x158808(0xa5)](){const _0x3644d4=a0_0x158808;return MetaUiUtil[_0x3644d4(0xa5)](this);}[a0_0x158808(0x93)](){const _0x15fbe1=a0_0x158808;return this[_0x15fbe1(0x9e)]?html``:MetaUiUtil['getButtonContainer'](this);}async[a0_0x158808(0x8c)](_0x1360fc,_0xda1334,_0x3e30d4){const _0x1fcb0d=a0_0x158808;return await MetaUiUtil[_0x1fcb0d(0x95)](this,_0x1360fc,_0xda1334,_0x3e30d4);}async[a0_0x158808(0x9a)](_0x1ce28d){await MetaUiUtil['customButtonHandler'](this,_0x1ce28d);}async[a0_0x158808(0x91)](_0x5920a4,_0x478e6f){await MetaUiUtil['gristButtonHandler'](this,_0x5920a4,_0x478e6f);}[a0_0x158808(0x90)](_0x591482){const _0x4d4e0c=a0_0x158808;this[_0x4d4e0c(0xa3)]=_0x591482[_0x4d4e0c(0xa1)],this[_0x4d4e0c(0x92)]=MetaUiUtil['isButtonExist'](this[_0x4d4e0c(0xa3)],_0x4d4e0c(0x8e)),this['useButtonExport']=MetaUiUtil['isButtonExist'](this[_0x4d4e0c(0xa3)],_0x4d4e0c(0x9c)),this['useButtonAdd']=MetaUiUtil['isButtonExist'](this['buttonConfig'],_0x4d4e0c(0x96));}};
1
+ function a0_0x5768(){const _0x3a4de9=['35934EoiVnD','parseBasicButtonConfigs','6rcgsct','240120IICMyu','32222900sBuquN','3GrSrCu','11631536KPQjgz','gristButtonHandler','useButtonExport','import','export','9YRQutC','7772755lsdNFu','getCustomButtonContainerStyles','getButtonContainer','add','372368ERTUMA','buttonConfig','getContextButtons','3673904UTKHqP','useButtonAdd','isButtonExist','customButtonHandler'];a0_0x5768=function(){return _0x3a4de9;};return a0_0x5768();}const a0_0x377826=a0_0x12fc;(function(_0x59f6d2,_0x3ffef2){const _0x3cdd29=a0_0x12fc,_0x4808d3=_0x59f6d2();while(!![]){try{const _0x43d878=-parseInt(_0x3cdd29(0x115))/0x1*(-parseInt(_0x3cdd29(0x110))/0x2)+-parseInt(_0x3cdd29(0x113))/0x3+parseInt(_0x3cdd29(0x123))/0x4+-parseInt(_0x3cdd29(0x11c))/0x5*(parseInt(_0x3cdd29(0x112))/0x6)+-parseInt(_0x3cdd29(0x116))/0x7+parseInt(_0x3cdd29(0x120))/0x8*(parseInt(_0x3cdd29(0x11b))/0x9)+parseInt(_0x3cdd29(0x114))/0xa;if(_0x43d878===_0x3ffef2)break;else _0x4808d3['push'](_0x4808d3['shift']());}catch(_0x8c2679){_0x4808d3['push'](_0x4808d3['shift']());}}}(a0_0x5768,0xe6b4e));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x12fc(_0xcaa70,_0x3848c2){const _0x576897=a0_0x5768();return a0_0x12fc=function(_0x12fcde,_0x7f3eed){_0x12fcde=_0x12fcde-0x10f;let _0x35dbcd=_0x576897[_0x12fcde];return _0x35dbcd;},a0_0x12fc(_0xcaa70,_0x3848c2);}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x2b0410=>class extends MetaServiceMixin(_0x2b0410){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0xf000ed=a0_0x12fc;return MetaUiUtil[_0xf000ed(0x11d)]();}[a0_0x377826(0x122)](){const _0x5012c4=a0_0x377826;return MetaUiUtil[_0x5012c4(0x122)](this);}['getButtonContainer'](){const _0x182117=a0_0x377826;return this['isPage']?html``:MetaUiUtil[_0x182117(0x11e)](this);}async['getBasicButtonHandler'](_0x2bb81c,_0x5ea4bf,_0x8c36b7){return await MetaUiUtil['getButtonActionHandler'](this,_0x2bb81c,_0x5ea4bf,_0x8c36b7);}async[a0_0x377826(0x10f)](_0x36aa7f){const _0x4b3479=a0_0x377826;await MetaUiUtil[_0x4b3479(0x10f)](this,_0x36aa7f);}async[a0_0x377826(0x117)](_0x55f5a8,_0x35a6b5){const _0x18cae4=a0_0x377826;await MetaUiUtil[_0x18cae4(0x117)](this,_0x55f5a8,_0x35a6b5);}[a0_0x377826(0x111)](_0x4378bb){const _0x165975=a0_0x377826;this[_0x165975(0x121)]=_0x4378bb['button'],this['useButtonImport']=MetaUiUtil[_0x165975(0x125)](this[_0x165975(0x121)],_0x165975(0x119)),this[_0x165975(0x118)]=MetaUiUtil['isButtonExist'](this[_0x165975(0x121)],_0x165975(0x11a)),this[_0x165975(0x124)]=MetaUiUtil[_0x165975(0x125)](this[_0x165975(0x121)],_0x165975(0x11f));}};
@@ -1 +1 @@
1
- const a0_0x1ff433=a0_0x5a40;(function(_0x341dbb,_0x153d78){const _0x57e316=a0_0x5a40,_0x4cdb0f=_0x341dbb();while(!![]){try{const _0x53967d=parseInt(_0x57e316(0x1cf))/0x1+-parseInt(_0x57e316(0x1e7))/0x2+-parseInt(_0x57e316(0x20c))/0x3*(parseInt(_0x57e316(0x211))/0x4)+parseInt(_0x57e316(0x1f7))/0x5+parseInt(_0x57e316(0x1e9))/0x6*(-parseInt(_0x57e316(0x1ef))/0x7)+parseInt(_0x57e316(0x202))/0x8+-parseInt(_0x57e316(0x215))/0x9*(parseInt(_0x57e316(0x1f5))/0xa);if(_0x53967d===_0x153d78)break;else _0x4cdb0f['push'](_0x4cdb0f['shift']());}catch(_0x29f54a){_0x4cdb0f['push'](_0x4cdb0f['shift']());}}}(a0_0xc17b,0x8f147));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0xc17b(){const _0x4cc15c=['addEventListener','1399395smicyV','tagName','stopPropagation','parseFormConfigSet','key','8wLxPDr','fetch','patchData','isNotEmpty','153072KSaOSV','cuFlag','showAlertPopup','Escape','startsWith','entries','save','__origin__','click','732011hBOhbQ','__dirty__','isElement','findOne','button','text.NOTHING_CHANGED','parseBasicFormConfigs','connectedCallback','parseFormConfigs','currentData','keys','field-change','styles','record','clear','column','call','isEquals','renderRoot','target','validation','formConfigSet','firstUpdated','currentTarget','1225580gAyloz','function','774SATvoe','editing','before','isPage','map','focus','32753mKjfMU','isEmpty','removeGarbageData','pageInitialized','getAndParseMenuMeta','orgData','50cpDRiX','form','5199880oHEYCC','render','Esc','editable','__seq__','dataSet','assign','getData','true','activityDataSet','object','8387352HMlSTd','__dirtyfields__','Enter','updateMultiple','getBasicFormStyles','parent_id','formColumnConfig','dirtyData','removeAttribute'];a0_0xc17b=function(){return _0x4cc15c;};return a0_0xc17b();}import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x5a40(_0x4bcca3,_0x533804){const _0xc17b06=a0_0xc17b();return a0_0x5a40=function(_0x5a401d,_0xa2539e){_0x5a401d=_0x5a401d-0x1cd;let _0x4971e5=_0xc17b06[_0x5a401d];return _0x4971e5;},a0_0x5a40(_0x4bcca3,_0x533804);}export const MetaFormMixin=_0x28ffcd=>class extends MetaButtonMixin(_0x28ffcd){static get[a0_0x1ff433(0x1db)](){const _0x39bfb3=a0_0x1ff433;return MetaApi[_0x39bfb3(0x206)]();}static get['properties'](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){return MetaUiUtil['getContextObject'](this);}async[a0_0x1ff433(0x1d6)](){const _0x5178c1=a0_0x1ff433;await this[_0x5178c1(0x1f3)](),this[_0x5178c1(0x1d1)]&&await this[_0x5178c1(0x1d7)](),this[_0x5178c1(0x200)]&&(this[_0x5178c1(0x1fc)]=this[_0x5178c1(0x200)]),!0x0!==this['is_activity']||this[_0x5178c1(0x207)]||(this[_0x5178c1(0x207)]='activity'),super['connectedCallback']&&await super[_0x5178c1(0x1d6)](),this[_0x5178c1(0x1d1)]&&await this['fetch'](),this[_0x5178c1(0x1e1)]['addEventListener']('keydown',_0x3c87f4=>{const _0x2863b1=_0x5178c1;switch(_0x3c87f4[_0x2863b1(0x210)]){case _0x2863b1(0x1f9):case _0x2863b1(0x218):case _0x2863b1(0x204):this[_0x2863b1(0x1ee)](),this[_0x2863b1(0x1e6)]&&this[_0x2863b1(0x1e6)][_0x2863b1(0x20a)](_0x2863b1(0x1ea)),this[_0x2863b1(0x1e6)]=null;}}),this[_0x5178c1(0x1e1)]['addEventListener'](_0x5178c1(0x1ce),_0x37fd07=>{const _0x15e117=_0x5178c1;_0x37fd07[_0x15e117(0x20e)]();let _0x32fc1d=_0x37fd07[_0x15e117(0x1e2)];if(this['currentTarget']&&(this[_0x15e117(0x1ee)](),this[_0x15e117(0x1e6)][_0x15e117(0x20a)](_0x15e117(0x1ea))),'OX-GRID-FIELD'!==_0x32fc1d[_0x15e117(0x20d)]||!_0x32fc1d[_0x15e117(0x1de)]['record'][_0x15e117(0x1fa)])return this[_0x15e117(0x1ee)](),void(this[_0x15e117(0x1e6)]=null);this[_0x15e117(0x1e6)]=_0x32fc1d,_0x32fc1d['setAttribute'](_0x15e117(0x1ea),_0x15e117(0x1ff));}),this[_0x5178c1(0x20b)](_0x5178c1(0x1da),_0x5e764=>{const _0x4562e3=_0x5178c1;var {after:_0x11f902,before:_0x47986e,column:_0x66bb1c,record:_0x48e84a,row:_0x14dfd5}=_0x5e764['detail'];if(ValueUtil[_0x4562e3(0x1e0)](_0x11f902,_0x47986e))return;var _0x14dbae=_0x66bb1c[_0x4562e3(0x1e3)];if(_0x14dbae&&_0x4562e3(0x1e8)==typeof _0x14dbae&&!_0x14dbae[_0x4562e3(0x1df)](this,_0x11f902,_0x47986e,_0x48e84a,_0x66bb1c))return;let _0x15dad1=_0x66bb1c['name'];_0x48e84a[_0x15dad1]=_0x11f902,_0x48e84a[_0x4562e3(0x203)]=_0x48e84a[_0x4562e3(0x203)]||{},_0x48e84a[_0x4562e3(0x1cd)]=_0x48e84a[_0x4562e3(0x1cd)]||{},_0x48e84a[_0x4562e3(0x203)][_0x15dad1]={'before':_0x48e84a['__origin__'][_0x15dad1],'after':_0x48e84a[_0x15dad1]},ValueUtil[_0x4562e3(0x1e0)](_0x48e84a['__dirtyfields__'][_0x15dad1][_0x4562e3(0x1eb)],_0x48e84a['__dirtyfields__'][_0x15dad1]['after'])&&delete _0x48e84a[_0x4562e3(0x203)][_0x15dad1],ValueUtil[_0x4562e3(0x214)](_0x48e84a[_0x4562e3(0x203)])?_0x48e84a[_0x4562e3(0x1d0)]='M':_0x48e84a['__dirty__']='',this['record']={..._0x48e84a};});}async[a0_0x1ff433(0x1e5)](){const _0x115d0a=a0_0x1ff433;super[_0x115d0a(0x1e5)]&&await super[_0x115d0a(0x1e5)]();}async[a0_0x1ff433(0x1f2)](){const _0x482583=a0_0x1ff433;this[_0x482583(0x1ec)]&&await this[_0x482583(0x1d7)](),super[_0x482583(0x1f2)]&&await super['pageInitialized'](),this[_0x482583(0x1ec)]&&await this[_0x482583(0x212)]();}[a0_0x1ff433(0x1f8)](){return MetaApi['getBasicFormHtml'](this);}[a0_0x1ff433(0x1d5)](_0x15dda2){const _0x1c16ef=a0_0x1ff433;this[_0x1c16ef(0x208)]=_0x15dda2['grid_column'],this['formRenderConfig']=_0x15dda2[_0x1c16ef(0x1f6)],_0x15dda2['button']=_0x15dda2[_0x1c16ef(0x1d3)]['filter'](_0x1b1ba1=>_0x1c16ef(0x21b)==_0x1b1ba1['name']);}async['parseFormConfigs'](){const _0x306b3a=a0_0x1ff433;this[_0x306b3a(0x1e4)]=await MetaApi[_0x306b3a(0x20f)](this);}get[a0_0x1ff433(0x1f4)](){const _0x1aff67=a0_0x1ff433;return this[_0x1aff67(0x1f1)](this[_0x1aff67(0x1dc)][_0x1aff67(0x1cd)]);}get[a0_0x1ff433(0x209)](){const _0x3fa34e=a0_0x1ff433;if(ValueUtil[_0x3fa34e(0x1f0)](this['record'][_0x3fa34e(0x203)]))return{};let _0x40d3d2={};return Object[_0x3fa34e(0x21a)](this[_0x3fa34e(0x1dc)][_0x3fa34e(0x203)])[_0x3fa34e(0x1ed)](([_0x2179a2,_0xc895cb])=>{const _0x3a8d20=_0x3fa34e;0x0==_0x2179a2[_0x3a8d20(0x219)]('__')&&(_0x40d3d2[_0x2179a2]=_0xc895cb['after']);}),_0x40d3d2;}get[a0_0x1ff433(0x1d8)](){const _0x488005=a0_0x1ff433;return this[_0x488005(0x1f1)](this['record']);}[a0_0x1ff433(0x1f1)](_0x1ed24a){const _0x32fb14=a0_0x1ff433;let _0x421696={};if(_0x1ed24a)return Object[_0x32fb14(0x21a)](_0x1ed24a)['map'](([_0x1e122d,_0x302352])=>{const _0x5c2ddf=_0x32fb14;0x0==_0x1e122d[_0x5c2ddf(0x219)]('__')&&(_0x421696[_0x1e122d]=_0x302352);}),_0x421696;}get[a0_0x1ff433(0x213)](){const _0x38ac7b=a0_0x1ff433;let _0x53fc73=this[_0x38ac7b(0x209)],_0x436536=this['record'];return ValueUtil[_0x38ac7b(0x1f0)](_0x53fc73)?[]:(ValueUtil[_0x38ac7b(0x214)](_0x436536['id'])?(_0x53fc73['id']=_0x436536['id'],_0x53fc73[_0x38ac7b(0x216)]='M'):_0x53fc73['cuFlag']='+',Object[_0x38ac7b(0x1d9)](_0x53fc73)['forEach'](_0x41d507=>{const _0x2c9e49=_0x38ac7b;_0x2c9e49(0x201)==typeof _0x53fc73[_0x41d507]&&(_0x53fc73[_0x41d507]={'id':_0x53fc73[_0x41d507]['id']});}),[_0x53fc73]);}async['fetch'](){const _0x48dbbd=a0_0x1ff433;if(ValueUtil['isEmpty'](this[_0x48dbbd(0x207)]))return;let _0x2aa8c8=await this[_0x48dbbd(0x1d2)](this['parent_id']);_0x2aa8c8[_0x48dbbd(0x1fb)]=0x1;let _0x30b873={};Object[_0x48dbbd(0x1fd)](_0x30b873,_0x2aa8c8),_0x2aa8c8[_0x48dbbd(0x1cd)]=_0x30b873,this['record']={..._0x2aa8c8};}async[a0_0x1ff433(0x21b)](){const _0x1dc779=a0_0x1ff433;let _0x43794e=this[_0x1dc779(0x213)];if(ValueUtil[_0x1dc779(0x1f0)](_0x43794e))return void MetaApi[_0x1dc779(0x217)]('title.info',_0x1dc779(0x1d4));let _0x55392d=await this[_0x1dc779(0x205)](_0x43794e);return _0x55392d&&await this[_0x1dc779(0x212)](),_0x55392d;}async[a0_0x1ff433(0x1dd)](){const _0x586c4d=a0_0x1ff433;this[_0x586c4d(0x1dc)]&&(this[_0x586c4d(0x1dc)]={});}[a0_0x1ff433(0x1fe)](){const _0x2ff509=a0_0x1ff433;return this[_0x2ff509(0x1d8)]||{};}};
1
+ const a0_0x28bd07=a0_0xbe5e;function a0_0x3238(){const _0xe20423=['name','function','key','171468YZpCzf','142838lOCbAY','1019108dsSTlT','tagName','1074472dhxXTa','2260344aGaopt','target','editing','showAlertPopup','200hSlTKt','firstUpdated','cuFlag','isEquals','patchData','isEmpty','editable','removeAttribute','save','stopPropagation','focus','entries','3xgRkHt','after','is_activity','activityDataSet','click','record','parent_id','parseFormConfigSet','isPage','validation','detail','isNotEmpty','dataSet','isElement','keydown','__dirty__','formConfigSet','text.NOTHING_CHANGED','__origin__','getData','dirtyData','assign','5MbCqhl','context','properties','call','render','formRenderConfig','object','updateMultiple','styles','renderRoot','dispatchEvent','parseFormConfigs','clear','296395VBdLBV','addEventListener','connectedCallback','pageInitialized','button','__dirtyfields__','removeGarbageData','606400zEyUDs','getBasicFormHtml','currentTarget','fetch','startsWith','currentData','true','Escape','findOne','field-change'];a0_0x3238=function(){return _0xe20423;};return a0_0x3238();}(function(_0x657943,_0x3d4d86){const _0x1faf50=a0_0xbe5e,_0x1aeec7=_0x657943();while(!![]){try{const _0x4e0292=parseInt(_0x1faf50(0x187))/0x1+-parseInt(_0x1faf50(0x19c))/0x2*(parseInt(_0x1faf50(0x164))/0x3)+parseInt(_0x1faf50(0x19d))/0x4*(parseInt(_0x1faf50(0x17a))/0x5)+parseInt(_0x1faf50(0x1a0))/0x6+-parseInt(_0x1faf50(0x19f))/0x7+parseInt(_0x1faf50(0x1a4))/0x8*(-parseInt(_0x1faf50(0x19b))/0x9)+parseInt(_0x1faf50(0x18e))/0xa;if(_0x4e0292===_0x3d4d86)break;else _0x1aeec7['push'](_0x1aeec7['shift']());}catch(_0x1f7d2e){_0x1aeec7['push'](_0x1aeec7['shift']());}}}(a0_0x3238,0x46259));import{MetaApi}from'../utils/meta-api';function a0_0xbe5e(_0x32e5d3,_0x413cc5){const _0x3238c1=a0_0x3238();return a0_0xbe5e=function(_0xbe5e5e,_0x19a7ae){_0xbe5e5e=_0xbe5e5e-0x162;let _0x330f17=_0x3238c1[_0xbe5e5e];return _0x330f17;},a0_0xbe5e(_0x32e5d3,_0x413cc5);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x949e9c=>class extends MetaButtonMixin(_0x949e9c){static get[a0_0x28bd07(0x182)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x28bd07(0x17c)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x28bd07(0x17b)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x28bd07(0x189)](){const _0x3e4393=a0_0x28bd07;await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0x3e4393(0x185)](),this[_0x3e4393(0x167)]&&(this[_0x3e4393(0x170)]=this['activityDataSet']),!0x0!==this[_0x3e4393(0x166)]||this['parent_id']||(this[_0x3e4393(0x16a)]='activity'),super[_0x3e4393(0x189)]&&await super['connectedCallback'](),this[_0x3e4393(0x171)]&&await this[_0x3e4393(0x191)](),this[_0x3e4393(0x183)][_0x3e4393(0x188)](_0x3e4393(0x172),_0xa4e9c1=>{const _0x40af76=_0x3e4393;switch(_0xa4e9c1[_0x40af76(0x19a)]){case'Esc':case _0x40af76(0x195):case'Enter':this[_0x40af76(0x162)](),this[_0x40af76(0x190)]&&this['currentTarget'][_0x40af76(0x1ab)]('editing'),this[_0x40af76(0x190)]=null;}}),this[_0x3e4393(0x183)]['addEventListener'](_0x3e4393(0x168),_0x5b142e=>{const _0x417ffe=_0x3e4393;_0x5b142e[_0x417ffe(0x1ad)]();let _0x491bff=_0x5b142e[_0x417ffe(0x1a1)];if(this[_0x417ffe(0x190)]&&(this[_0x417ffe(0x162)](),this[_0x417ffe(0x190)][_0x417ffe(0x1ab)]('editing')),'OX-GRID-FIELD'!==_0x491bff[_0x417ffe(0x19e)]||!_0x491bff['column'][_0x417ffe(0x169)][_0x417ffe(0x1aa)])return this['focus'](),void(this[_0x417ffe(0x190)]=null);this[_0x417ffe(0x190)]=_0x491bff,_0x491bff['setAttribute'](_0x417ffe(0x1a2),_0x417ffe(0x194));}),this[_0x3e4393(0x188)](_0x3e4393(0x197),_0x3ac2e1=>{const _0x43cbb7=_0x3e4393;var {after:_0x2583b1,before:_0x5a36aa,column:_0x25b9f4,record:_0x110c65,row:_0x2a056c}=_0x3ac2e1['detail'];if(ValueUtil[_0x43cbb7(0x1a7)](_0x2583b1,_0x5a36aa))return;var _0x49d3e9=_0x25b9f4[_0x43cbb7(0x16d)];if(_0x49d3e9&&_0x43cbb7(0x199)==typeof _0x49d3e9&&!_0x49d3e9[_0x43cbb7(0x17d)](this,_0x2583b1,_0x5a36aa,_0x110c65,_0x25b9f4))return;let _0x22544f=_0x25b9f4[_0x43cbb7(0x198)];_0x110c65[_0x22544f]=_0x2583b1,_0x110c65[_0x43cbb7(0x18c)]=_0x110c65[_0x43cbb7(0x18c)]||{},_0x110c65[_0x43cbb7(0x176)]=_0x110c65[_0x43cbb7(0x176)]||{},_0x110c65['__dirtyfields__'][_0x22544f]={'before':_0x110c65['__origin__'][_0x22544f],'after':_0x110c65[_0x22544f]},ValueUtil[_0x43cbb7(0x1a7)](_0x110c65[_0x43cbb7(0x18c)][_0x22544f]['before'],_0x110c65['__dirtyfields__'][_0x22544f][_0x43cbb7(0x165)])&&delete _0x110c65['__dirtyfields__'][_0x22544f],ValueUtil[_0x43cbb7(0x16f)](_0x110c65[_0x43cbb7(0x18c)])?_0x110c65[_0x43cbb7(0x173)]='M':_0x110c65[_0x43cbb7(0x173)]='',this[_0x43cbb7(0x169)]={..._0x110c65},this[_0x43cbb7(0x184)](new CustomEvent('form-field-change',{'bubbles':!0x0,'composed':!0x0,'detail':_0x3ac2e1[_0x43cbb7(0x16e)]}));});}async[a0_0x28bd07(0x1a5)](){const _0x1a1257=a0_0x28bd07;super[_0x1a1257(0x1a5)]&&await super['firstUpdated']();}async[a0_0x28bd07(0x18a)](){const _0x5c879e=a0_0x28bd07;this[_0x5c879e(0x16c)]&&await this[_0x5c879e(0x185)](),super['pageInitialized']&&await super[_0x5c879e(0x18a)](),this['isPage']&&await this[_0x5c879e(0x191)]();}[a0_0x28bd07(0x17e)](){const _0x1b3484=a0_0x28bd07;return MetaApi[_0x1b3484(0x18f)](this);}['parseBasicFormConfigs'](_0x4ef5d8){const _0x532a2d=a0_0x28bd07;this['formColumnConfig']=_0x4ef5d8['grid_column'],this[_0x532a2d(0x17f)]=_0x4ef5d8['form'],_0x4ef5d8[_0x532a2d(0x18b)]=_0x4ef5d8[_0x532a2d(0x18b)]['filter'](_0x543899=>'save'==_0x543899['name']);}async[a0_0x28bd07(0x185)](){const _0x1dfde7=a0_0x28bd07;this[_0x1dfde7(0x174)]=await MetaApi[_0x1dfde7(0x16b)](this);}get['orgData'](){const _0x47d497=a0_0x28bd07;return this['removeGarbageData'](this['record'][_0x47d497(0x176)]);}get['dirtyData'](){const _0x22d7d5=a0_0x28bd07;if(ValueUtil['isEmpty'](this['record'][_0x22d7d5(0x18c)]))return{};let _0x225a7c={};return Object[_0x22d7d5(0x163)](this[_0x22d7d5(0x169)][_0x22d7d5(0x18c)])['map'](([_0x35182c,_0x40de2e])=>{const _0x43ab17=_0x22d7d5;0x0==_0x35182c[_0x43ab17(0x192)]('__')&&(_0x225a7c[_0x35182c]=_0x40de2e['after']);}),_0x225a7c;}get[a0_0x28bd07(0x193)](){const _0xf35c15=a0_0x28bd07;return this[_0xf35c15(0x18d)](this[_0xf35c15(0x169)]);}['removeGarbageData'](_0x3b7a35){const _0x51ce8d=a0_0x28bd07;let _0x379098={};if(_0x3b7a35)return Object[_0x51ce8d(0x163)](_0x3b7a35)['map'](([_0x9c44b0,_0xab6e51])=>{const _0x169382=_0x51ce8d;0x0==_0x9c44b0[_0x169382(0x192)]('__')&&(_0x379098[_0x9c44b0]=_0xab6e51);}),_0x379098;}get[a0_0x28bd07(0x1a8)](){const _0x5487e7=a0_0x28bd07;let _0x460cec=this[_0x5487e7(0x178)],_0x5684ee=this[_0x5487e7(0x169)];return ValueUtil['isEmpty'](_0x460cec)?[]:(ValueUtil[_0x5487e7(0x16f)](_0x5684ee['id'])?(_0x460cec['id']=_0x5684ee['id'],_0x460cec[_0x5487e7(0x1a6)]='M'):_0x460cec[_0x5487e7(0x1a6)]='+',Object['keys'](_0x460cec)['forEach'](_0x422ce4=>{const _0xf27dc3=_0x5487e7;_0xf27dc3(0x180)==typeof _0x460cec[_0x422ce4]&&(_0x460cec[_0x422ce4]={'id':_0x460cec[_0x422ce4]['id']});}),[_0x460cec]);}async[a0_0x28bd07(0x191)](){const _0x5778d3=a0_0x28bd07;if(ValueUtil[_0x5778d3(0x1a9)](this['parent_id']))return;let _0xadc465=await this[_0x5778d3(0x196)](this[_0x5778d3(0x16a)]);_0xadc465['__seq__']=0x1;let _0x34b24a={};Object[_0x5778d3(0x179)](_0x34b24a,_0xadc465),_0xadc465[_0x5778d3(0x176)]=_0x34b24a,this[_0x5778d3(0x169)]={..._0xadc465};}async[a0_0x28bd07(0x1ac)](){const _0x243576=a0_0x28bd07;let _0x4a6c3d=this[_0x243576(0x1a8)];if(ValueUtil[_0x243576(0x1a9)](_0x4a6c3d))return void MetaApi[_0x243576(0x1a3)]('title.info',_0x243576(0x175));let _0x3b5e9f=await this[_0x243576(0x181)](_0x4a6c3d);return _0x3b5e9f&&await this[_0x243576(0x191)](),_0x3b5e9f;}async[a0_0x28bd07(0x186)](){const _0x5ee38c=a0_0x28bd07;this[_0x5ee38c(0x169)]&&(this[_0x5ee38c(0x169)]={});}[a0_0x28bd07(0x177)](){const _0x5b9dc8=a0_0x28bd07;return this[_0x5b9dc8(0x193)]||{};}};
@@ -1 +1 @@
1
- const a0_0x24f1d1=a0_0x3276;(function(_0x3efb6c,_0x109706){const _0x1f6dae=a0_0x3276,_0x38c14f=_0x3efb6c();while(!![]){try{const _0x4f5318=parseInt(_0x1f6dae(0x125))/0x1+parseInt(_0x1f6dae(0x15b))/0x2*(-parseInt(_0x1f6dae(0x136))/0x3)+parseInt(_0x1f6dae(0x119))/0x4*(parseInt(_0x1f6dae(0x12e))/0x5)+-parseInt(_0x1f6dae(0x14e))/0x6+parseInt(_0x1f6dae(0x14d))/0x7*(-parseInt(_0x1f6dae(0x12b))/0x8)+parseInt(_0x1f6dae(0x139))/0x9*(parseInt(_0x1f6dae(0x142))/0xa)+parseInt(_0x1f6dae(0x13b))/0xb;if(_0x4f5318===_0x109706)break;else _0x38c14f['push'](_0x38c14f['shift']());}catch(_0x30e7a0){_0x38c14f['push'](_0x38c14f['shift']());}}}(a0_0x1c72,0xae0e0));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x1c72(){const _0x229203=['getContextObject','___data','gristConfigSet','searchFieldValues','renderRoot','getData','styles','startsWith','name','record','4aytnXI','parse','gridConfig','#detail','tTitle','export','dataSet','querySelector','connectedCallback','firstUpdated','forEach','isNotEmpty','751604bofrVE','filterFormId','updateMultiple','parseGridConfigSet','grist','import','4088jeOdqG','findOne','filterForm','2483785sqoaSg','grid','useMasterFilterForm','search','getAndParseMenuMeta','ox-grist','getSelectedIdList','isElement','2435049mdwxeY','actions','parseGristConfigs','4631868NLiPPd','type','1975974VCVqMz','activityDataSet','options','useFilterForm','value','push','detailElement','20CxRToI','filter','title','map','grid_column','main','parseBasicGridConfigs','shadowRoot','exportableData','keys','pageInitialized','10997GGgInI','779442oqDNbF','meta-tab-element','gristId','searchFields','render','records','importable','delete','getBasicGristTabStyles','getParams','menuInfo','clear','operator','2ZOtYmk','fetch','exportable'];a0_0x1c72=function(){return _0x229203;};return a0_0x1c72();}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x3276(_0x1cdfe0,_0x4ac04d){const _0x1c7212=a0_0x1c72();return a0_0x3276=function(_0x3276f0,_0x5e2f9a){_0x3276f0=_0x3276f0-0x111;let _0x3fb8d2=_0x1c7212[_0x3276f0];return _0x3fb8d2;},a0_0x3276(_0x1cdfe0,_0x4ac04d);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x1ed43e=>class extends MetaButtonMixin(_0x1ed43e){static get[a0_0x24f1d1(0x115)](){const _0x1f338d=a0_0x24f1d1;return MetaApi[_0x1f338d(0x156)]();}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 _0x429f98=a0_0x24f1d1;return this[_0x429f98(0x113)][_0x429f98(0x120)](this[_0x429f98(0x150)]);}get[a0_0x24f1d1(0x12d)](){const _0x44ccfc=a0_0x24f1d1;return this[_0x44ccfc(0x149)]?.[_0x44ccfc(0x120)](this[_0x44ccfc(0x126)]);}get[a0_0x24f1d1(0x141)](){const _0x135b3d=a0_0x24f1d1;return this[_0x135b3d(0x149)][_0x135b3d(0x120)](_0x135b3d(0x11c));}get['context'](){const _0x46022d=a0_0x24f1d1;let _0x3328b6=MetaUiUtil[_0x46022d(0x15e)](this);return _0x3328b6[_0x46022d(0x137)]&&delete _0x3328b6[_0x46022d(0x137)],_0x3328b6[_0x46022d(0x15d)]&&delete _0x3328b6[_0x46022d(0x15d)],_0x3328b6['importable']&&delete _0x3328b6[_0x46022d(0x154)],_0x3328b6;}async[a0_0x24f1d1(0x121)](){const _0x19ff53=a0_0x24f1d1;this[_0x19ff53(0x150)]=_0x19ff53(0x133),this['filterFormId']='ox-filters-form-base',await this[_0x19ff53(0x132)](),this[_0x19ff53(0x135)]&&await this[_0x19ff53(0x138)](),this[_0x19ff53(0x13c)]&&(this[_0x19ff53(0x11f)]=(this[_0x19ff53(0x13c)]||{})[_0x19ff53(0x147)]),super[_0x19ff53(0x121)]&&await super['connectedCallback']();}async[a0_0x24f1d1(0x122)](){const _0x386fd0=a0_0x24f1d1;super[_0x386fd0(0x122)]&&await super[_0x386fd0(0x122)]();}async[a0_0x24f1d1(0x14c)](){const _0x3e25bb=a0_0x24f1d1;this['isPage']&&await this[_0x3e25bb(0x138)](),super[_0x3e25bb(0x14c)]&&await super[_0x3e25bb(0x14c)]();}[a0_0x24f1d1(0x152)](){return MetaApi['getGristTabHtml'](this);}[a0_0x24f1d1(0x148)](_0x195ad4){const _0x2c8d12=a0_0x24f1d1;this[_0x2c8d12(0x11b)]=_0x195ad4[_0x2c8d12(0x12f)],this['gridColumnConfig']=_0x195ad4[_0x2c8d12(0x146)],this['searchConfig']=_0x195ad4['search'];}async[a0_0x24f1d1(0x138)](){const _0xf0be17=a0_0x24f1d1;this[_0xf0be17(0x111)]=await MetaApi[_0xf0be17(0x128)](this),this[_0xf0be17(0x130)]=!0x0===this[_0xf0be17(0x13e)],this[_0xf0be17(0x13e)]=!0x1,this['searchFieldValues']=[],this[_0xf0be17(0x151)]=this['gristConfigSet']['columns'][_0xf0be17(0x143)](_0x1c4b61=>_0x1c4b61[_0xf0be17(0x143)])[_0xf0be17(0x145)](_0x4326f0=>{const _0x54fc63=_0xf0be17;let _0x367053={'name':_0x4326f0[_0x54fc63(0x117)],'type':_0x54fc63(0x131)===_0x4326f0[_0x54fc63(0x143)][_0x54fc63(0x15a)]?_0x54fc63(0x131):_0x4326f0[_0x54fc63(0x13a)],'label':_0x4326f0['header'],'operator':_0x4326f0['filter']['operator']?_0x4326f0[_0x54fc63(0x143)][_0x54fc63(0x15a)]:'eq'};return _0x4326f0['filter'][_0x54fc63(0x13d)]&&(_0x367053[_0x54fc63(0x13d)]=_0x4326f0[_0x54fc63(0x143)][_0x54fc63(0x13d)]),_0x4326f0['record'][_0x54fc63(0x13d)]&&(_0x367053[_0x54fc63(0x13d)]=_0x4326f0[_0x54fc63(0x118)][_0x54fc63(0x13d)]),_0x4326f0[_0x54fc63(0x143)][_0x54fc63(0x13f)]&&this[_0x54fc63(0x112)][_0x54fc63(0x140)]({'name':_0x367053[_0x54fc63(0x117)],'operator':_0x367053[_0x54fc63(0x15a)],'value':_0x4326f0[_0x54fc63(0x143)][_0x54fc63(0x13f)]}),delete _0x4326f0[_0x54fc63(0x143)],_0x367053;});}async[a0_0x24f1d1(0x15c)](){const _0x53d1d1=a0_0x24f1d1;await this[_0x53d1d1(0x129)]['fetch']();}async['beforeFetch']({page:_0x57d5f0=0x0,limit:_0x5abeb2=0x0,sortings:_0x4cf938=[],filters:_0xa3f25c=[]}){const _0x3c3030=a0_0x24f1d1;let _0x3db2ac=this[_0x3c3030(0x113)][_0x3c3030(0x120)](_0x3c3030(0x14f));return await _0x3db2ac[_0x3c3030(0x159)](),!0x0;}async['save'](){const _0x59b03f=a0_0x24f1d1;let _0x13fb0c=MetaApi['patchesForUpdateMultiple'](this[_0x59b03f(0x129)]);!!ValueUtil['isNotEmpty'](_0x13fb0c)&&await this[_0x59b03f(0x127)](_0x13fb0c)&&this[_0x59b03f(0x15c)]();}async['find'](){const _0x3a2759=a0_0x24f1d1;let _0x173c84=MetaApi[_0x3a2759(0x134)](this[_0x3a2759(0x129)],!0x0);return ValueUtil[_0x3a2759(0x124)](_0x173c84)?await this[_0x3a2759(0x12c)](_0x173c84[0x0]):{};}async[a0_0x24f1d1(0x155)](){const _0x5c6347=a0_0x24f1d1;let _0x141d4a=MetaApi[_0x5c6347(0x134)](this[_0x5c6347(0x129)],!0x0);!!ValueUtil[_0x5c6347(0x124)](_0x141d4a)&&await this['deleteByIds'](_0x141d4a)&&this[_0x5c6347(0x15c)]();}async[a0_0x24f1d1(0x11e)](){const _0x149d66=a0_0x24f1d1;let _0x418146=TermsUtil[_0x149d66(0x11d)](ValueUtil[_0x149d66(0x157)](this[_0x149d66(0x158)],_0x149d66(0x144)));return await MetaApi[_0x149d66(0x14a)](this['isElement'],_0x418146,this[_0x149d66(0x129)]);}async[a0_0x24f1d1(0x12a)](){}[a0_0x24f1d1(0x114)](){const _0x149d0a=a0_0x24f1d1;let _0x305609=this[_0x149d0a(0x129)][_0x149d0a(0x15f)][_0x149d0a(0x153)];return _0x305609=JSON[_0x149d0a(0x11a)](JSON['stringify'](_0x305609)),_0x305609['forEach'](_0x403ea0=>{const _0x45967b=_0x149d0a;Object[_0x45967b(0x14b)](_0x403ea0)[_0x45967b(0x123)](_0x5b169b=>{const _0x49045b=_0x45967b;_0x5b169b[_0x49045b(0x116)]('__')&&delete _0x403ea0[_0x5b169b];});}),{'main':_0x305609,'detail':this[_0x149d0a(0x113)]['querySelector']('meta-tab-element')['getData']()};}};
1
+ const a0_0x33c47d=a0_0x1a1b;(function(_0x541f8e,_0x44e5b6){const _0x427f97=a0_0x1a1b,_0x3ae5cd=_0x541f8e();while(!![]){try{const _0x27a529=parseInt(_0x427f97(0xb4))/0x1*(-parseInt(_0x427f97(0x9d))/0x2)+parseInt(_0x427f97(0x94))/0x3*(parseInt(_0x427f97(0x7e))/0x4)+parseInt(_0x427f97(0x9a))/0x5*(parseInt(_0x427f97(0xa7))/0x6)+parseInt(_0x427f97(0x9e))/0x7+parseInt(_0x427f97(0xb9))/0x8*(parseInt(_0x427f97(0xc5))/0x9)+-parseInt(_0x427f97(0x92))/0xa*(-parseInt(_0x427f97(0xa1))/0xb)+parseInt(_0x427f97(0x85))/0xc*(-parseInt(_0x427f97(0x8c))/0xd);if(_0x27a529===_0x44e5b6)break;else _0x3ae5cd['push'](_0x3ae5cd['shift']());}catch(_0x4f7751){_0x3ae5cd['push'](_0x3ae5cd['shift']());}}}(a0_0x254f,0xe111c));function a0_0x1a1b(_0x64f545,_0x2c2c44){const _0x254fda=a0_0x254f();return a0_0x1a1b=function(_0x1a1bff,_0x927b7c){_0x1a1bff=_0x1a1bff-0x7a;let _0x4cb225=_0x254fda[_0x1a1bff];return _0x4cb225;},a0_0x1a1b(_0x64f545,_0x2c2c44);}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_0x254f(){const _0xceea26=['menuInfo','getContextObject','filterFormId','grist','___data','find','isNotEmpty','findOne','gridConfig','2kXWjCb','#detail','exportable','header','beforeFetch','1464LaOQvG','actions','getAndParseMenuMeta','gridColumnConfig','useMasterFilterForm','stringify','keys','ox-filters-form-base','delete','querySelector','fetch','getBasicGristTabStyles','79965EXcXOk','connectedCallback','columns','shadowRoot','useFilterForm','styles','record','detailElement','name','301156GgsNEV','import','isPage','firstUpdated','records','parse','gristConfigSet','12804wtkVzC','activityDataSet','filter','pageInitialized','getGristTabHtml','meta-tab-element','searchConfig','53976QTxYmO','getData','parseGridConfigSet','parseGristConfigs','map','startsWith','5992430UlzPqX','dataSet','51SVLlnP','value','options','isElement','operator','searchFieldValues','55krjacI','importable','search','468876kaYDJL','4077353oIQnEN','gristId','renderRoot','22kcEQxx','parseBasicGridConfigs','searchFields','ox-grist','main','render','618606YPMyCZ','context','clear','title'];a0_0x254f=function(){return _0xceea26;};return a0_0x254f();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x2efdc8=>class extends MetaButtonMixin(_0x2efdc8){static get[a0_0x33c47d(0x7a)](){const _0x5ec4ca=a0_0x33c47d;return MetaApi[_0x5ec4ca(0xc4)]();}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 _0x3a4b50=a0_0x33c47d;return this[_0x3a4b50(0xa0)][_0x3a4b50(0xc2)](this[_0x3a4b50(0x9f)]);}get['filterForm'](){const _0x202b34=a0_0x33c47d;return this[_0x202b34(0xc8)]?.[_0x202b34(0xc2)](this[_0x202b34(0xad)]);}get[a0_0x33c47d(0x7c)](){const _0x16a719=a0_0x33c47d;return this[_0x16a719(0xc8)]['querySelector'](_0x16a719(0xb5));}get[a0_0x33c47d(0xa8)](){const _0x5ebd52=a0_0x33c47d;let _0xcd07f9=MetaUiUtil[_0x5ebd52(0xac)](this);return _0xcd07f9[_0x5ebd52(0xba)]&&delete _0xcd07f9['actions'],_0xcd07f9['exportable']&&delete _0xcd07f9[_0x5ebd52(0xb6)],_0xcd07f9['importable']&&delete _0xcd07f9[_0x5ebd52(0x9b)],_0xcd07f9;}async[a0_0x33c47d(0xc6)](){const _0x14075e=a0_0x33c47d;this[_0x14075e(0x9f)]=_0x14075e(0xa4),this[_0x14075e(0xad)]=_0x14075e(0xc0),await this[_0x14075e(0xbb)](),this['isElement']&&await this[_0x14075e(0x8f)](),this['activityDataSet']&&(this[_0x14075e(0x93)]=(this[_0x14075e(0x86)]||{})[_0x14075e(0xa5)]),super['connectedCallback']&&await super[_0x14075e(0xc6)]();}async['firstUpdated'](){const _0x533a4d=a0_0x33c47d;super['firstUpdated']&&await super[_0x533a4d(0x81)]();}async['pageInitialized'](){const _0x612b1b=a0_0x33c47d;this[_0x612b1b(0x80)]&&await this[_0x612b1b(0x8f)](),super[_0x612b1b(0x88)]&&await super['pageInitialized']();}[a0_0x33c47d(0xa6)](){const _0x48a2a0=a0_0x33c47d;return MetaApi[_0x48a2a0(0x89)](this);}[a0_0x33c47d(0xa2)](_0x476820){const _0x263b54=a0_0x33c47d;this[_0x263b54(0xb3)]=_0x476820['grid'],this[_0x263b54(0xbc)]=_0x476820['grid_column'],this[_0x263b54(0x8b)]=_0x476820[_0x263b54(0x9c)];}async['parseGristConfigs'](){const _0xd55225=a0_0x33c47d;this[_0xd55225(0x84)]=await MetaApi[_0xd55225(0x8e)](this),this[_0xd55225(0xbd)]=!0x0===this[_0xd55225(0xc9)],this[_0xd55225(0xc9)]=!0x1,this['searchFieldValues']=[],this[_0xd55225(0xa3)]=this[_0xd55225(0x84)][_0xd55225(0xc7)][_0xd55225(0x87)](_0x4873f2=>_0x4873f2[_0xd55225(0x87)])[_0xd55225(0x90)](_0x43b7fa=>{const _0x37c1cf=_0xd55225;let _0x2e2c42={'name':_0x43b7fa[_0x37c1cf(0x7d)],'type':'search'===_0x43b7fa[_0x37c1cf(0x87)][_0x37c1cf(0x98)]?'search':_0x43b7fa['type'],'label':_0x43b7fa[_0x37c1cf(0xb7)],'operator':_0x43b7fa[_0x37c1cf(0x87)][_0x37c1cf(0x98)]?_0x43b7fa[_0x37c1cf(0x87)]['operator']:'eq'};return _0x43b7fa['filter']['options']&&(_0x2e2c42[_0x37c1cf(0x96)]=_0x43b7fa[_0x37c1cf(0x87)][_0x37c1cf(0x96)]),_0x43b7fa[_0x37c1cf(0x7b)]['options']&&(_0x2e2c42[_0x37c1cf(0x96)]=_0x43b7fa[_0x37c1cf(0x7b)][_0x37c1cf(0x96)]),_0x43b7fa[_0x37c1cf(0x87)][_0x37c1cf(0x95)]&&this[_0x37c1cf(0x99)]['push']({'name':_0x2e2c42[_0x37c1cf(0x7d)],'operator':_0x2e2c42['operator'],'value':_0x43b7fa['filter'][_0x37c1cf(0x95)]}),delete _0x43b7fa[_0x37c1cf(0x87)],_0x2e2c42;});}async[a0_0x33c47d(0xc3)](){const _0x2ad7e3=a0_0x33c47d;await this['grist'][_0x2ad7e3(0xc3)]();}async[a0_0x33c47d(0xb8)]({page:_0x16a174=0x0,limit:_0x3ed35e=0x0,sortings:_0x4f853a=[],filters:_0xd9e7fb=[]}){const _0x48173e=a0_0x33c47d;let _0x244bfe=this[_0x48173e(0xa0)][_0x48173e(0xc2)](_0x48173e(0x8a));return await _0x244bfe[_0x48173e(0xa9)](),!0x0;}async['save'](){const _0x3a66f7=a0_0x33c47d;let _0x44140d=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil[_0x3a66f7(0xb1)](_0x44140d)&&await this['updateMultiple'](_0x44140d)&&this['fetch']();}async[a0_0x33c47d(0xb0)](){const _0x525437=a0_0x33c47d;let _0x54cd78=MetaApi['getSelectedIdList'](this[_0x525437(0xae)],!0x0);return ValueUtil[_0x525437(0xb1)](_0x54cd78)?await this[_0x525437(0xb2)](_0x54cd78[0x0]):{};}async[a0_0x33c47d(0xc1)](){const _0x4ab249=a0_0x33c47d;let _0x2f11c2=MetaApi['getSelectedIdList'](this[_0x4ab249(0xae)],!0x0);!!ValueUtil[_0x4ab249(0xb1)](_0x2f11c2)&&await this['deleteByIds'](_0x2f11c2)&&this[_0x4ab249(0xc3)]();}async['export'](){const _0x341f06=a0_0x33c47d;let _0x4ba555=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x341f06(0xab)],_0x341f06(0xaa)));return await MetaApi['exportableData'](this[_0x341f06(0x97)],_0x4ba555,this[_0x341f06(0xae)]);}async[a0_0x33c47d(0x7f)](){}['getData'](){const _0x288152=a0_0x33c47d;let _0x4cc4e3=this['grist'][_0x288152(0xaf)][_0x288152(0x82)];return _0x4cc4e3=JSON[_0x288152(0x83)](JSON[_0x288152(0xbe)](_0x4cc4e3)),_0x4cc4e3['forEach'](_0x490b47=>{const _0x5a66cd=_0x288152;Object[_0x5a66cd(0xbf)](_0x490b47)['forEach'](_0x59a9f6=>{const _0x346621=_0x5a66cd;_0x59a9f6[_0x346621(0x91)]('__')&&delete _0x490b47[_0x59a9f6];});}),{'main':_0x4cc4e3,'detail':this['renderRoot']['querySelector'](_0x288152(0x8a))[_0x288152(0x8d)]()};}};
@@ -1 +1 @@
1
- function a0_0x5b02(){const _0x1fce35=['buttonConfig','shadowRoot','options','getAndParseMenuMeta','useMasterFilterForm','searchFieldValues','dataSet','gristConfigSet','clear','filter','4wTLMde','3813696iZVwnZ','useButtonImport','parseGristConfigs','search','header','2433Lojszi','operator','connectedCallback','fetch','styles','654EXFSQN','record','getData','querySelector','properties','getBasicMainTabStyles','filterFormId','5874duTsnF','parseBasicGridConfigs','24VTihpI','firstUpdated','importable','useFilterForm','searchFields','useButtonExport','isPage','activityDataSet','exportable','gristId','push','1098585TjDVVF','value','getContextObject','grid_column','grid','filterForm','38980jnDSqE','name','pageInitialized','main','map','gridConfig','isElement','beforeFetch','masterElement','2556012zQbjLc','6222225VfOLwZ','type','ox-filters-form-base','searchConfig','grist','6857228pADrec'];a0_0x5b02=function(){return _0x1fce35;};return a0_0x5b02();}const a0_0x5dd26c=a0_0x4d8c;(function(_0x51a8e0,_0x5399d8){const _0x5dc7f2=a0_0x4d8c,_0x2b558a=_0x51a8e0();while(!![]){try{const _0x383864=parseInt(_0x5dc7f2(0x217))/0x1*(parseInt(_0x5dc7f2(0x21c))/0x2)+-parseInt(_0x5dc7f2(0x200))/0x3*(-parseInt(_0x5dc7f2(0x211))/0x4)+parseInt(_0x5dc7f2(0x201))/0x5+parseInt(_0x5dc7f2(0x212))/0x6+-parseInt(_0x5dc7f2(0x206))/0x7+parseInt(_0x5dc7f2(0x1e6))/0x8*(parseInt(_0x5dc7f2(0x1f1))/0x9)+-parseInt(_0x5dc7f2(0x1f7))/0xa*(parseInt(_0x5dc7f2(0x223))/0xb);if(_0x383864===_0x5399d8)break;else _0x2b558a['push'](_0x2b558a['shift']());}catch(_0x5768f0){_0x2b558a['push'](_0x2b558a['shift']());}}}(a0_0x5b02,0xcb4cb));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4d8c(_0x52ef58,_0x49af40){const _0x5b022b=a0_0x5b02();return a0_0x4d8c=function(_0x4d8cfe,_0x222cc3){_0x4d8cfe=_0x4d8cfe-0x1e5;let _0x3cfd28=_0x5b022b[_0x4d8cfe];return _0x3cfd28;},a0_0x4d8c(_0x52ef58,_0x49af40);}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0xc86e4d=>class extends MetaButtonMixin(_0xc86e4d){static get[a0_0x5dd26c(0x21b)](){const _0x46c859=a0_0x5dd26c;return MetaApi[_0x46c859(0x221)]();}static get[a0_0x5dd26c(0x220)](){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_0x5dd26c(0x205)](){const _0x59e9a0=a0_0x5dd26c;return this[_0x59e9a0(0x1ff)]['getMainGrist']();}get[a0_0x5dd26c(0x1f6)](){const _0x590a0b=a0_0x5dd26c;return this[_0x590a0b(0x208)]?.[_0x590a0b(0x21f)](this['filterFormId']);}get['context'](){const _0xf6458f=a0_0x5dd26c;let _0x44fbc8=MetaUiUtil[_0xf6458f(0x1f3)](this);return _0x44fbc8['actions']&&delete _0x44fbc8['actions'],_0x44fbc8['exportable']&&delete _0x44fbc8[_0xf6458f(0x1ee)],_0x44fbc8['importable']&&delete _0x44fbc8[_0xf6458f(0x1e8)],_0x44fbc8;}async[a0_0x5dd26c(0x219)](){const _0x2f8fd0=a0_0x5dd26c;this[_0x2f8fd0(0x1ef)]='ox-grist',this[_0x2f8fd0(0x222)]=_0x2f8fd0(0x203),await this[_0x2f8fd0(0x20a)](),this[_0x2f8fd0(0x1fd)]&&await this[_0x2f8fd0(0x214)](),this[_0x2f8fd0(0x1ed)]&&(this[_0x2f8fd0(0x20d)]=(this[_0x2f8fd0(0x1ed)]||{})[_0x2f8fd0(0x1fa)]),super[_0x2f8fd0(0x219)]&&await super[_0x2f8fd0(0x219)]();}async[a0_0x5dd26c(0x1e7)](){const _0x552652=a0_0x5dd26c;super[_0x552652(0x1e7)]&&await super[_0x552652(0x1e7)]();}async['pageInitialized'](){const _0x9ede71=a0_0x5dd26c;this[_0x9ede71(0x1ec)]&&await this['parseGristConfigs'](),super[_0x9ede71(0x1f9)]&&await super[_0x9ede71(0x1f9)]();}['render'](){return MetaApi['getMainTabHtml'](this);}[a0_0x5dd26c(0x1e5)](_0x12723f){const _0x4a3c24=a0_0x5dd26c;this[_0x4a3c24(0x1fc)]=_0x12723f[_0x4a3c24(0x1f5)],this['gridColumnConfig']=_0x12723f[_0x4a3c24(0x1f4)],this[_0x4a3c24(0x204)]=_0x12723f[_0x4a3c24(0x215)];}async[a0_0x5dd26c(0x214)](){const _0xc0e1c1=a0_0x5dd26c;this[_0xc0e1c1(0x20e)]=await MetaApi['parseGridConfigSet'](this),this[_0xc0e1c1(0x20b)]=!0x0===this[_0xc0e1c1(0x1e9)],this['useFilterForm']=!0x1,this[_0xc0e1c1(0x207)]=void 0x0,this[_0xc0e1c1(0x1eb)]=!0x1,this[_0xc0e1c1(0x213)]=!0x1,this[_0xc0e1c1(0x20c)]=[],this[_0xc0e1c1(0x1ea)]=this[_0xc0e1c1(0x20e)]['columns'][_0xc0e1c1(0x210)](_0x565e56=>_0x565e56[_0xc0e1c1(0x210)])[_0xc0e1c1(0x1fb)](_0x407646=>{const _0x22ff90=_0xc0e1c1;let _0x26206e={'name':_0x407646[_0x22ff90(0x1f8)],'type':'search'===_0x407646['filter'][_0x22ff90(0x218)]?'search':_0x407646[_0x22ff90(0x202)],'label':_0x407646[_0x22ff90(0x216)],'operator':_0x407646[_0x22ff90(0x210)]['operator']?_0x407646['filter'][_0x22ff90(0x218)]:'eq'};return _0x407646[_0x22ff90(0x210)][_0x22ff90(0x209)]&&(_0x26206e[_0x22ff90(0x209)]=_0x407646['filter'][_0x22ff90(0x209)]),_0x407646[_0x22ff90(0x21d)][_0x22ff90(0x209)]&&(_0x26206e[_0x22ff90(0x209)]=_0x407646['record']['options']),_0x407646[_0x22ff90(0x210)][_0x22ff90(0x1f2)]&&this[_0x22ff90(0x20c)][_0x22ff90(0x1f0)]({'name':_0x26206e[_0x22ff90(0x1f8)],'operator':_0x26206e[_0x22ff90(0x218)],'value':_0x407646[_0x22ff90(0x210)][_0x22ff90(0x1f2)]}),delete _0x407646[_0x22ff90(0x210)],_0x26206e;});}async[a0_0x5dd26c(0x21a)](){const _0x6c0a43=a0_0x5dd26c;await this[_0x6c0a43(0x205)]['fetch']();}async[a0_0x5dd26c(0x1fe)]({page:_0x3300f5=0x0,limit:_0x381894=0x0,sortings:_0x4ad61c=[],filters:_0x19fa3e=[]}){const _0x47f35c=a0_0x5dd26c;return this[_0x47f35c(0x1ff)]&&this[_0x47f35c(0x1ff)][_0x47f35c(0x20f)]&&await this['masterElement'][_0x47f35c(0x20f)](),!0x0;}[a0_0x5dd26c(0x21e)](){const _0x1a34c9=a0_0x5dd26c;return{'master':this[_0x1a34c9(0x1ff)][_0x1a34c9(0x21e)]()};}};
1
+ const a0_0x4849e2=a0_0x215a;function a0_0x215a(_0x632866,_0x1bf96e){const _0x86bbfb=a0_0x86bb();return a0_0x215a=function(_0x215ab2,_0x3ace87){_0x215ab2=_0x215ab2-0x116;let _0x4e65de=_0x86bbfb[_0x215ab2];return _0x4e65de;},a0_0x215a(_0x632866,_0x1bf96e);}(function(_0x3a212d,_0x403922){const _0x423935=a0_0x215a,_0x30b183=_0x3a212d();while(!![]){try{const _0x149a32=-parseInt(_0x423935(0x139))/0x1*(parseInt(_0x423935(0x140))/0x2)+parseInt(_0x423935(0x13e))/0x3*(parseInt(_0x423935(0x151))/0x4)+parseInt(_0x423935(0x12a))/0x5*(-parseInt(_0x423935(0x145))/0x6)+parseInt(_0x423935(0x14f))/0x7*(-parseInt(_0x423935(0x142))/0x8)+parseInt(_0x423935(0x14a))/0x9+parseInt(_0x423935(0x143))/0xa+parseInt(_0x423935(0x134))/0xb*(parseInt(_0x423935(0x132))/0xc);if(_0x149a32===_0x403922)break;else _0x30b183['push'](_0x30b183['shift']());}catch(_0x557b8e){_0x30b183['push'](_0x30b183['shift']());}}}(a0_0x86bb,0x81901));import{html}from'lit';function a0_0x86bb(){const _0x458a5b=['filter','20ZWrxkb','activityDataSet','1928LNcIlC','9522580QrnxDF','filterFormId','66xQLiCM','shadowRoot','options','parseGridConfigSet','search','273510BaVWIF','useButtonImport','useButtonExport','type','clear','23268DDxjXi','querySelector','12SEubGX','pageInitialized','parseBasicGridConfigs','firstUpdated','main','connectedCallback','grid','parseGristConfigs','useMasterFilterForm','fetch','styles','getMainTabHtml','searchFields','render','beforeFetch','getData','value','searchFieldValues','masterElement','exportable','searchConfig','18185iFgbft','getContextObject','context','operator','map','gridColumnConfig','header','grist','563964mLNUhe','ox-grist','22VDMrZo','ox-filters-form-base','grid_column','useFilterForm','name','3875LYBNVM','actions','importable','properties','buttonConfig','333888Dbveea'];a0_0x86bb=function(){return _0x458a5b;};return a0_0x86bb();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x58ece2=>class extends MetaButtonMixin(_0x58ece2){static get[a0_0x4849e2(0x11f)](){return MetaApi['getBasicMainTabStyles']();}static get[a0_0x4849e2(0x13c)](){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_0x4849e2(0x131)](){return this['masterElement']['getMainGrist']();}get['filterForm'](){const _0x25e2ad=a0_0x4849e2;return this[_0x25e2ad(0x146)]?.[_0x25e2ad(0x150)](this[_0x25e2ad(0x144)]);}get[a0_0x4849e2(0x12c)](){const _0x175393=a0_0x4849e2;let _0x36623a=MetaUiUtil[_0x175393(0x12b)](this);return _0x36623a[_0x175393(0x13a)]&&delete _0x36623a['actions'],_0x36623a[_0x175393(0x128)]&&delete _0x36623a['exportable'],_0x36623a[_0x175393(0x13b)]&&delete _0x36623a['importable'],_0x36623a;}async[a0_0x4849e2(0x11a)](){const _0x201f89=a0_0x4849e2;this['gristId']=_0x201f89(0x133),this[_0x201f89(0x144)]=_0x201f89(0x135),await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0x201f89(0x11c)](),this['activityDataSet']&&(this['dataSet']=(this[_0x201f89(0x141)]||{})[_0x201f89(0x119)]),super[_0x201f89(0x11a)]&&await super[_0x201f89(0x11a)]();}async['firstUpdated'](){const _0x3ba954=a0_0x4849e2;super[_0x3ba954(0x118)]&&await super['firstUpdated']();}async[a0_0x4849e2(0x116)](){const _0x459827=a0_0x4849e2;this['isPage']&&await this[_0x459827(0x11c)](),super['pageInitialized']&&await super[_0x459827(0x116)]();}[a0_0x4849e2(0x122)](){const _0x364e3e=a0_0x4849e2;return MetaApi[_0x364e3e(0x120)](this);}[a0_0x4849e2(0x117)](_0x170316){const _0x418044=a0_0x4849e2;this['gridConfig']=_0x170316[_0x418044(0x11b)],this[_0x418044(0x12f)]=_0x170316[_0x418044(0x136)],this[_0x418044(0x129)]=_0x170316[_0x418044(0x149)];}async[a0_0x4849e2(0x11c)](){const _0x5a43b0=a0_0x4849e2;this['gristConfigSet']=await MetaApi[_0x5a43b0(0x148)](this),this[_0x5a43b0(0x11d)]=!0x0===this[_0x5a43b0(0x137)],this[_0x5a43b0(0x137)]=!0x1,this[_0x5a43b0(0x13d)]=void 0x0,this[_0x5a43b0(0x14c)]=!0x1,this[_0x5a43b0(0x14b)]=!0x1,this[_0x5a43b0(0x126)]=[],this[_0x5a43b0(0x121)]=this['gristConfigSet']['columns'][_0x5a43b0(0x13f)](_0x41654f=>_0x41654f[_0x5a43b0(0x13f)])[_0x5a43b0(0x12e)](_0x5cbc9e=>{const _0x3bf24f=_0x5a43b0;let _0x1681fb={'name':_0x5cbc9e['name'],'type':'search'===_0x5cbc9e[_0x3bf24f(0x13f)][_0x3bf24f(0x12d)]?_0x3bf24f(0x149):_0x5cbc9e[_0x3bf24f(0x14d)],'label':_0x5cbc9e[_0x3bf24f(0x130)],'operator':_0x5cbc9e[_0x3bf24f(0x13f)]['operator']?_0x5cbc9e[_0x3bf24f(0x13f)][_0x3bf24f(0x12d)]:'eq'};return _0x5cbc9e[_0x3bf24f(0x13f)]['options']&&(_0x1681fb[_0x3bf24f(0x147)]=_0x5cbc9e[_0x3bf24f(0x13f)][_0x3bf24f(0x147)]),_0x5cbc9e['record'][_0x3bf24f(0x147)]&&(_0x1681fb[_0x3bf24f(0x147)]=_0x5cbc9e['record'][_0x3bf24f(0x147)]),_0x5cbc9e[_0x3bf24f(0x13f)][_0x3bf24f(0x125)]&&this[_0x3bf24f(0x126)]['push']({'name':_0x1681fb[_0x3bf24f(0x138)],'operator':_0x1681fb['operator'],'value':_0x5cbc9e[_0x3bf24f(0x13f)][_0x3bf24f(0x125)]}),delete _0x5cbc9e['filter'],_0x1681fb;});}async[a0_0x4849e2(0x11e)](){const _0x326a1e=a0_0x4849e2;await this['grist'][_0x326a1e(0x11e)]();}async[a0_0x4849e2(0x123)]({page:_0x3acacf=0x0,limit:_0x1237e8=0x0,sortings:_0x22bc65=[],filters:_0x31c637=[]}){const _0x3938e6=a0_0x4849e2;return this[_0x3938e6(0x127)]&&this[_0x3938e6(0x127)][_0x3938e6(0x14e)]&&await this[_0x3938e6(0x127)][_0x3938e6(0x14e)](),!0x0;}[a0_0x4849e2(0x124)](){const _0x137a40=a0_0x4849e2;return{'master':this[_0x137a40(0x127)][_0x137a40(0x124)]()};}};
@@ -1 +1 @@
1
- function a0_0x2074(){const _0x4e5d37=['18645660NUZhkB','filterFormId','render','6786816wELRkm','patchesForUpdateMultiple','forEach','type','836586SlwfAA','map','isNotEmpty','filterForm','searchFieldValues','name','importable','getData','tTitle','push','import','getBasicMasterDetailStyles','options','record','records','grid','renderRoot','pageInitialized','styles','useFilterForm','save','9RaoqLH','header','gridColumnConfig','searchConfig','activityDataSet','isElement','startsWith','grist','filter','parseBasicGridConfigs','4621200Rvojgl','ox-grist','getMasterDetailHtml','gridConfig','getSelectedIdList','beforeFetch','updateMultiple','useMasterFilterForm','stringify','export','actions','exportable','parse','menuInfo','ox-filters-form-base','search','7594200qfRTqU','dataSet','querySelector','connectedCallback','7ohBhjH','shadowRoot','operator','grid_column','gristId','10xTTNsL','parseGristConfigs','firstUpdated','fetch','find','detailElement','exportableData','3324266sNEIGd','value','getParams','parseGridConfigSet','gristConfigSet','1484108aaNRVT','___data','clear'];a0_0x2074=function(){return _0x4e5d37;};return a0_0x2074();}function a0_0x5a9e(_0x4a095a,_0x41bb63){const _0x2074f7=a0_0x2074();return a0_0x5a9e=function(_0x5a9ed7,_0x21f106){_0x5a9ed7=_0x5a9ed7-0x1a2;let _0x14c6ec=_0x2074f7[_0x5a9ed7];return _0x14c6ec;},a0_0x5a9e(_0x4a095a,_0x41bb63);}const a0_0xc3e2e3=a0_0x5a9e;(function(_0x435c57,_0x2d896f){const _0x4ac1d4=a0_0x5a9e,_0xd26733=_0x435c57();while(!![]){try{const _0x4ef1dd=-parseInt(_0x4ac1d4(0x1e6))/0x1+parseInt(_0x4ac1d4(0x1d7))/0x2+parseInt(_0x4ac1d4(0x1ad))/0x3*(parseInt(_0x4ac1d4(0x1dc))/0x4)+parseInt(_0x4ac1d4(0x1c7))/0x5+parseInt(_0x4ac1d4(0x1e2))/0x6*(-parseInt(_0x4ac1d4(0x1cb))/0x7)+parseInt(_0x4ac1d4(0x1b7))/0x8+parseInt(_0x4ac1d4(0x1df))/0x9*(-parseInt(_0x4ac1d4(0x1d0))/0xa);if(_0x4ef1dd===_0x2d896f)break;else _0xd26733['push'](_0xd26733['shift']());}catch(_0x14266f){_0xd26733['push'](_0xd26733['shift']());}}}(a0_0x2074,0xcb2f2));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=_0x1db3a7=>class extends MetaButtonMixin(_0x1db3a7){static get[a0_0xc3e2e3(0x1aa)](){const _0x17d430=a0_0xc3e2e3;return MetaApi[_0x17d430(0x1a3)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0x2bed47=a0_0xc3e2e3;return this[_0x2bed47(0x1a8)][_0x2bed47(0x1c9)](this[_0x2bed47(0x1cf)]);}get[a0_0xc3e2e3(0x1e9)](){const _0x46d6e2=a0_0xc3e2e3;return this[_0x46d6e2(0x1cc)]?.['querySelector'](this[_0x46d6e2(0x1e0)]);}get['context'](){const _0x460e67=a0_0xc3e2e3;let _0x147f22=MetaUiUtil['getContextObject'](this);return _0x147f22[_0x460e67(0x1c1)]&&delete _0x147f22[_0x460e67(0x1c1)],_0x147f22[_0x460e67(0x1c2)]&&delete _0x147f22[_0x460e67(0x1c2)],_0x147f22[_0x460e67(0x1ec)]&&delete _0x147f22[_0x460e67(0x1ec)],_0x147f22;}async[a0_0xc3e2e3(0x1ca)](){const _0x2df165=a0_0xc3e2e3;this[_0x2df165(0x1cf)]=_0x2df165(0x1b8),this[_0x2df165(0x1e0)]=_0x2df165(0x1c5),await this['getAndParseMenuMeta'](),this[_0x2df165(0x1b2)]&&await this[_0x2df165(0x1d1)](),this[_0x2df165(0x1b1)]&&(this[_0x2df165(0x1c8)]=(this[_0x2df165(0x1b1)]||{})['main']),super[_0x2df165(0x1ca)]&&await super[_0x2df165(0x1ca)]();}async['firstUpdated'](){const _0xf95d08=a0_0xc3e2e3;super[_0xf95d08(0x1d2)]&&await super[_0xf95d08(0x1d2)]();}async['pageInitialized'](){const _0x3d7aae=a0_0xc3e2e3;this['isPage']&&await this[_0x3d7aae(0x1d1)](),super[_0x3d7aae(0x1a9)]&&await super['pageInitialized']();}[a0_0xc3e2e3(0x1e1)](){const _0x48bdda=a0_0xc3e2e3;return MetaApi[_0x48bdda(0x1b9)](this);}[a0_0xc3e2e3(0x1b6)](_0x40dd59){const _0xd16454=a0_0xc3e2e3;this[_0xd16454(0x1ba)]=_0x40dd59[_0xd16454(0x1a7)],this[_0xd16454(0x1af)]=_0x40dd59[_0xd16454(0x1ce)],this[_0xd16454(0x1b0)]=_0x40dd59[_0xd16454(0x1c6)];}async[a0_0xc3e2e3(0x1d1)](){const _0x468f4b=a0_0xc3e2e3;this[_0x468f4b(0x1db)]=await MetaApi[_0x468f4b(0x1da)](this),this[_0x468f4b(0x1be)]=!0x0===this[_0x468f4b(0x1ab)],this['useFilterForm']=!0x1,this[_0x468f4b(0x1ea)]=[],this['searchFields']=this[_0x468f4b(0x1db)]['columns'][_0x468f4b(0x1b5)](_0x3191c5=>_0x3191c5[_0x468f4b(0x1b5)])[_0x468f4b(0x1e7)](_0x70196e=>{const _0x1c20d8=_0x468f4b;let _0x168e88={'name':_0x70196e[_0x1c20d8(0x1eb)],'type':_0x1c20d8(0x1c6)===_0x70196e['filter'][_0x1c20d8(0x1cd)]?'search':_0x70196e[_0x1c20d8(0x1e5)],'label':_0x70196e[_0x1c20d8(0x1ae)],'operator':_0x70196e[_0x1c20d8(0x1b5)][_0x1c20d8(0x1cd)]?_0x70196e['filter']['operator']:'eq'};return _0x70196e[_0x1c20d8(0x1b5)][_0x1c20d8(0x1a4)]&&(_0x168e88['options']=_0x70196e[_0x1c20d8(0x1b5)][_0x1c20d8(0x1a4)]),_0x70196e['record'][_0x1c20d8(0x1a4)]&&(_0x168e88[_0x1c20d8(0x1a4)]=_0x70196e[_0x1c20d8(0x1a5)][_0x1c20d8(0x1a4)]),_0x70196e[_0x1c20d8(0x1b5)][_0x1c20d8(0x1d8)]&&this[_0x1c20d8(0x1ea)][_0x1c20d8(0x1ef)]({'name':_0x168e88[_0x1c20d8(0x1eb)],'operator':_0x168e88[_0x1c20d8(0x1cd)],'value':_0x70196e[_0x1c20d8(0x1b5)][_0x1c20d8(0x1d8)]}),delete _0x70196e['filter'],_0x168e88;});}async[a0_0xc3e2e3(0x1d3)](){const _0x3d330d=a0_0xc3e2e3;await this[_0x3d330d(0x1b4)][_0x3d330d(0x1d3)]();}async[a0_0xc3e2e3(0x1bc)]({page:_0x2ff7d4=0x0,limit:_0x3c4215=0x0,sortings:_0x484baa=[],filters:_0xc9c31=[]}){const _0x5030d2=a0_0xc3e2e3;return this[_0x5030d2(0x1d5)]&&this[_0x5030d2(0x1d5)][_0x5030d2(0x1de)]&&await this[_0x5030d2(0x1d5)]['clear'](),!0x0;}async[a0_0xc3e2e3(0x1ac)](){const _0x58c781=a0_0xc3e2e3;let _0x5b30e9=MetaApi[_0x58c781(0x1e3)](this['grist']);!!ValueUtil[_0x58c781(0x1e8)](_0x5b30e9)&&await this[_0x58c781(0x1bd)](_0x5b30e9)&&this[_0x58c781(0x1d3)]();}async[a0_0xc3e2e3(0x1d4)](){const _0x1944cd=a0_0xc3e2e3;let _0x33bad3=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil[_0x1944cd(0x1e8)](_0x33bad3)?await this['findOne'](_0x33bad3[0x0]):{};}async['delete'](){const _0x26d97a=a0_0xc3e2e3;let _0x5a51f1=MetaApi[_0x26d97a(0x1bb)](this['grist'],!0x0);!!ValueUtil[_0x26d97a(0x1e8)](_0x5a51f1)&&await this['deleteByIds'](_0x5a51f1)&&this['fetch']();}async[a0_0xc3e2e3(0x1c0)](){const _0x269df0=a0_0xc3e2e3;let _0xe56356=TermsUtil[_0x269df0(0x1ee)](ValueUtil[_0x269df0(0x1d9)](this[_0x269df0(0x1c4)],'title'));return await MetaApi[_0x269df0(0x1d6)](this[_0x269df0(0x1b2)],_0xe56356,this[_0x269df0(0x1b4)]);}async[a0_0xc3e2e3(0x1a2)](){}[a0_0xc3e2e3(0x1ed)](){const _0x45d31d=a0_0xc3e2e3;let _0x3953a8=this[_0x45d31d(0x1b4)][_0x45d31d(0x1dd)][_0x45d31d(0x1a6)];return _0x3953a8=JSON[_0x45d31d(0x1c3)](JSON[_0x45d31d(0x1bf)](_0x3953a8)),_0x3953a8[_0x45d31d(0x1e4)](_0x286b1f=>{const _0x292a86=_0x45d31d;Object['keys'](_0x286b1f)[_0x292a86(0x1e4)](_0xd6063b=>{const _0x329eb2=_0x292a86;_0xd6063b[_0x329eb2(0x1b3)]('__')&&delete _0x286b1f[_0xd6063b];});}),{'main':_0x3953a8,'detail':this['detailElement']['getData']()};}};
1
+ const a0_0x322b94=a0_0x4544;function a0_0x4544(_0x742068,_0x4c018e){const _0x2ae162=a0_0x2ae1();return a0_0x4544=function(_0x454426,_0x588a1b){_0x454426=_0x454426-0xf1;let _0x31b208=_0x2ae162[_0x454426];return _0x31b208;},a0_0x4544(_0x742068,_0x4c018e);}function a0_0x2ae1(){const _0x4f7592=['grid_column','renderRoot','123818cyuOOu','getMasterDetailHtml','getAndParseMenuMeta','render','exportableData','parseBasicGridConfigs','parseGristConfigs','filterFormId','12360438qIyxSA','useFilterForm','value','records','styles','filterForm','find','parseGridConfigSet','getParams','deleteByIds','gristId','record','title','firstUpdated','15272iruOEx','useMasterFilterForm','menuInfo','11MctoIm','search','name','importable','detailElement','5571380StdqFl','forEach','searchConfig','parse','exportable','actions','properties','main','searchFieldValues','updateMultiple','filter','connectedCallback','shadowRoot','getBasicMasterDetailStyles','fetch','2420MesGaw','header','dataSet','keys','getSelectedIdList','ox-filters-form-base','clear','gridConfig','3981wtMjXp','push','isElement','2PSRoxq','columns','save','tTitle','815905qkEFGU','30FZPiiD','isNotEmpty','operator','findOne','grid','activityDataSet','delete','grist','beforeFetch','type','querySelector','___data','1631gkSzPD','36245208uXnJsE','options','context','pageInitialized'];a0_0x2ae1=function(){return _0x4f7592;};return a0_0x2ae1();}(function(_0x14e21a,_0x36ee31){const _0x549be0=a0_0x4544,_0x9816aa=_0x14e21a();while(!![]){try{const _0x57a8e1=-parseInt(_0x549be0(0x13b))/0x1*(-parseInt(_0x549be0(0x123))/0x2)+-parseInt(_0x549be0(0x120))/0x3*(parseInt(_0x549be0(0x118))/0x4)+-parseInt(_0x549be0(0x127))/0x5*(-parseInt(_0x549be0(0x128))/0x6)+parseInt(_0x549be0(0x134))/0x7*(-parseInt(_0x549be0(0x101))/0x8)+-parseInt(_0x549be0(0xf3))/0x9+-parseInt(_0x549be0(0x109))/0xa+-parseInt(_0x549be0(0x104))/0xb*(-parseInt(_0x549be0(0x135))/0xc);if(_0x57a8e1===_0x36ee31)break;else _0x9816aa['push'](_0x9816aa['shift']());}catch(_0x1c5c0b){_0x9816aa['push'](_0x9816aa['shift']());}}}(a0_0x2ae1,0xbeeb5));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=_0x4e859a=>class extends MetaButtonMixin(_0x4e859a){static get[a0_0x322b94(0xf7)](){const _0x46efd8=a0_0x322b94;return MetaApi[_0x46efd8(0x116)]();}static get[a0_0x322b94(0x10f)](){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_0x322b94(0x12f)](){const _0x5745a9=a0_0x322b94;return this[_0x5745a9(0x13a)][_0x5745a9(0x132)](this['gristId']);}get[a0_0x322b94(0xf8)](){const _0x5620ae=a0_0x322b94;return this[_0x5620ae(0x115)]?.['querySelector'](this[_0x5620ae(0xf2)]);}get[a0_0x322b94(0x137)](){const _0x3ef9a1=a0_0x322b94;let _0x544df5=MetaUiUtil['getContextObject'](this);return _0x544df5[_0x3ef9a1(0x10e)]&&delete _0x544df5[_0x3ef9a1(0x10e)],_0x544df5[_0x3ef9a1(0x10d)]&&delete _0x544df5[_0x3ef9a1(0x10d)],_0x544df5[_0x3ef9a1(0x107)]&&delete _0x544df5['importable'],_0x544df5;}async[a0_0x322b94(0x114)](){const _0x5e823c=a0_0x322b94;this[_0x5e823c(0xfd)]='ox-grist',this[_0x5e823c(0xf2)]=_0x5e823c(0x11d),await this[_0x5e823c(0x13d)](),this[_0x5e823c(0x122)]&&await this[_0x5e823c(0xf1)](),this[_0x5e823c(0x12d)]&&(this[_0x5e823c(0x11a)]=(this[_0x5e823c(0x12d)]||{})[_0x5e823c(0x110)]),super[_0x5e823c(0x114)]&&await super[_0x5e823c(0x114)]();}async[a0_0x322b94(0x100)](){const _0x44bd7e=a0_0x322b94;super[_0x44bd7e(0x100)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x4f507f=a0_0x322b94;this['isPage']&&await this[_0x4f507f(0xf1)](),super[_0x4f507f(0x138)]&&await super[_0x4f507f(0x138)]();}[a0_0x322b94(0x13e)](){const _0x1fce4d=a0_0x322b94;return MetaApi[_0x1fce4d(0x13c)](this);}[a0_0x322b94(0x140)](_0x4e38f1){const _0x4d743d=a0_0x322b94;this[_0x4d743d(0x11f)]=_0x4e38f1[_0x4d743d(0x12c)],this['gridColumnConfig']=_0x4e38f1[_0x4d743d(0x139)],this[_0x4d743d(0x10b)]=_0x4e38f1[_0x4d743d(0x105)];}async['parseGristConfigs'](){const _0x198b50=a0_0x322b94;this['gristConfigSet']=await MetaApi[_0x198b50(0xfa)](this),this[_0x198b50(0x102)]=!0x0===this[_0x198b50(0xf4)],this[_0x198b50(0xf4)]=!0x1,this[_0x198b50(0x111)]=[],this['searchFields']=this['gristConfigSet'][_0x198b50(0x124)]['filter'](_0x195873=>_0x195873['filter'])['map'](_0x2a71e9=>{const _0x204f32=_0x198b50;let _0x2ce990={'name':_0x2a71e9[_0x204f32(0x106)],'type':_0x204f32(0x105)===_0x2a71e9[_0x204f32(0x113)][_0x204f32(0x12a)]?_0x204f32(0x105):_0x2a71e9[_0x204f32(0x131)],'label':_0x2a71e9[_0x204f32(0x119)],'operator':_0x2a71e9[_0x204f32(0x113)][_0x204f32(0x12a)]?_0x2a71e9[_0x204f32(0x113)][_0x204f32(0x12a)]:'eq'};return _0x2a71e9[_0x204f32(0x113)]['options']&&(_0x2ce990[_0x204f32(0x136)]=_0x2a71e9[_0x204f32(0x113)][_0x204f32(0x136)]),_0x2a71e9[_0x204f32(0xfe)][_0x204f32(0x136)]&&(_0x2ce990[_0x204f32(0x136)]=_0x2a71e9[_0x204f32(0xfe)][_0x204f32(0x136)]),_0x2a71e9[_0x204f32(0x113)][_0x204f32(0xf5)]&&this[_0x204f32(0x111)][_0x204f32(0x121)]({'name':_0x2ce990[_0x204f32(0x106)],'operator':_0x2ce990[_0x204f32(0x12a)],'value':_0x2a71e9[_0x204f32(0x113)][_0x204f32(0xf5)]}),delete _0x2a71e9[_0x204f32(0x113)],_0x2ce990;});}async[a0_0x322b94(0x117)](){const _0x12a0c9=a0_0x322b94;await this[_0x12a0c9(0x12f)][_0x12a0c9(0x117)]();}async[a0_0x322b94(0x130)]({page:_0x1ade11=0x0,limit:_0x3ec7eb=0x0,sortings:_0x5ac6da=[],filters:_0x5dc872=[]}){const _0x272ba3=a0_0x322b94;return this[_0x272ba3(0x108)]&&this[_0x272ba3(0x108)][_0x272ba3(0x11e)]&&await this['detailElement'][_0x272ba3(0x11e)](),!0x0;}async[a0_0x322b94(0x125)](){const _0x1f9cda=a0_0x322b94;let _0x2936ce=MetaApi['patchesForUpdateMultiple'](this[_0x1f9cda(0x12f)]);!!ValueUtil[_0x1f9cda(0x129)](_0x2936ce)&&await this[_0x1f9cda(0x112)](_0x2936ce)&&this[_0x1f9cda(0x117)]();}async[a0_0x322b94(0xf9)](){const _0x2198b4=a0_0x322b94;let _0x2a1f14=MetaApi[_0x2198b4(0x11c)](this['grist'],!0x0);return ValueUtil[_0x2198b4(0x129)](_0x2a1f14)?await this[_0x2198b4(0x12b)](_0x2a1f14[0x0]):{};}async[a0_0x322b94(0x12e)](){const _0x20dff3=a0_0x322b94;let _0x3952d7=MetaApi[_0x20dff3(0x11c)](this[_0x20dff3(0x12f)],!0x0);!!ValueUtil[_0x20dff3(0x129)](_0x3952d7)&&await this[_0x20dff3(0xfc)](_0x3952d7)&&this[_0x20dff3(0x117)]();}async['export'](){const _0x44b2bc=a0_0x322b94;let _0x92a3e5=TermsUtil[_0x44b2bc(0x126)](ValueUtil[_0x44b2bc(0xfb)](this[_0x44b2bc(0x103)],_0x44b2bc(0xff)));return await MetaApi[_0x44b2bc(0x13f)](this[_0x44b2bc(0x122)],_0x92a3e5,this[_0x44b2bc(0x12f)]);}async['import'](){}['getData'](){const _0x5dafc4=a0_0x322b94;let _0x5b577c=this[_0x5dafc4(0x12f)][_0x5dafc4(0x133)][_0x5dafc4(0xf6)];return _0x5b577c=JSON[_0x5dafc4(0x10c)](JSON['stringify'](_0x5b577c)),_0x5b577c[_0x5dafc4(0x10a)](_0x279e4b=>{const _0x5cd68b=_0x5dafc4;Object[_0x5cd68b(0x11b)](_0x279e4b)[_0x5cd68b(0x10a)](_0x1880ea=>{_0x1880ea['startsWith']('__')&&delete _0x279e4b[_0x1880ea];});}),{'main':_0x5b577c,'detail':this[_0x5dafc4(0x108)]['getData']()};}};
@@ -1 +1 @@
1
- const a0_0x5b3685=a0_0x4ce4;function a0_0x52c7(){const _0x292e11=['func','mutation','getSelectColumns','runScenario','parseBasicServiceConfigs','isNotEmpty','push','4374848WMpCeg','params','mainFilterForm','keys','findOne','isElement','updateMultiple','filter','result','split','parent_id','6cbZWME','filters','deleteListByIds','isPage','includes','getQueryFilters','replace','records','name','length','3342844MhnKEc','forEach','gristConfigSet','getParams','map','delete','isArray','skip_fields','pass','206920YtNdFm','431380nLJkBa','multiple','2091213XHAKNf','5QORBPA','query','filterForm','after_set_fields','beforeFetch','33494QbmeCs','infinityPage','columns','getPageNavigateParams','list_func','gqlInfo','dataSet','data','4014756gkzWjF','gql','callScenario','deleteByIds','properties','lifecycle'];a0_0x52c7=function(){return _0x292e11;};return a0_0x52c7();}(function(_0x38ebf2,_0x472083){const _0x4150be=a0_0x4ce4,_0x3425c0=_0x38ebf2();while(!![]){try{const _0x400464=parseInt(_0x4150be(0x96))/0x1+parseInt(_0x4150be(0x9e))/0x2*(parseInt(_0x4150be(0x82))/0x3)+parseInt(_0x4150be(0x8c))/0x4*(-parseInt(_0x4150be(0x99))/0x5)+parseInt(_0x4150be(0xa6))/0x6+parseInt(_0x4150be(0x95))/0x7+parseInt(_0x4150be(0xb3))/0x8+-parseInt(_0x4150be(0x98))/0x9;if(_0x400464===_0x472083)break;else _0x3425c0['push'](_0x3425c0['shift']());}catch(_0xcd7e1b){_0x3425c0['push'](_0x3425c0['shift']());}}}(a0_0x52c7,0x9cd2c));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';function a0_0x4ce4(_0x4c4c10,_0x5c3147){const _0x52c790=a0_0x52c7();return a0_0x4ce4=function(_0x4ce4df,_0x13a65f){_0x4ce4df=_0x4ce4df-0x78;let _0x56d63c=_0x52c790[_0x4ce4df];return _0x56d63c;},a0_0x4ce4(_0x4c4c10,_0x5c3147);}import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x5e438c=>class extends MetaBaseMixin(_0x5e438c){static get[a0_0x5b3685(0xaa)](){return{'gqlInfo':Object};}[a0_0x5b3685(0xb0)](_0x1218f5){const _0x41042f=a0_0x5b3685;this[_0x41042f(0xa3)]=_0x1218f5[_0x41042f(0xa7)];}async['fetchHandler']({page:_0x805a6d=0x0,limit:_0x390a04=0x0,sortings:_0x147c9f=[],filters:_0x4b82df=[]}){const _0x430073=a0_0x5b3685;if(this['is_activity'])return{'total':0x0,'records':this['dataSet']||[]};if(!0x0===this[_0x430073(0x9f)]&&(_0x805a6d=0x0,_0x390a04=0x0),this['beforeFetch']&&0x0==await this[_0x430073(0x9d)]({'page':_0x805a6d,'limit':_0x390a04,'sortings':_0x147c9f,'filters':_0x4b82df}))return;if(!this[_0x430073(0x8e)])return{'total':0x0,'records':[]};let _0x2546cc=ValueUtil['isEmpty'](_0x4b82df)?this[_0x430073(0x79)]?await this[_0x430073(0x79)][_0x430073(0x87)]()||[]:await this[_0x430073(0x9b)]?.[_0x430073(0x87)]()||[]:_0x4b82df,_0x52a2bc=ValueUtil[_0x430073(0x8f)](this['gqlInfo'],'query',_0x430073(0xa2)),_0x32e77b=ValueUtil[_0x430073(0x8f)](this['gqlInfo'],_0x430073(0x9a),_0x430073(0x83)),_0x1a4576=ValueUtil['getParams'](this[_0x430073(0xa3)],_0x430073(0x9a),'after_set_fields');if(ValueUtil[_0x430073(0xb1)](_0x32e77b)&&(_0x2546cc=adjustFilters(_0x2546cc,_0x32e77b)),_0x2546cc[_0x430073(0xb2)](...this[_0x430073(0xa1)]()),this[_0x430073(0x7c)]&&!this['mainFilterForm']){let _0x393457=ValueUtil[_0x430073(0x8f)](this[_0x430073(0xa3)],_0x430073(0x9a),_0x430073(0x81));if(!ValueUtil[_0x430073(0xb1)](_0x393457)||!ValueUtil[_0x430073(0xb1)](this['parent_id']))return{'total':0x0,'records':[]};_0x2546cc=adjustFilters(_0x2546cc,[{'name':_0x393457,'operator':'eq','value':this[_0x430073(0x81)]}]);}let _0x4b0211=Object[_0x430073(0x7a)](_0x1a4576||{}),_0x55295d=MetaApi[_0x430073(0xae)](this[_0x430073(0x8e)]['columns'][_0x430073(0x7e)](_0x22d293=>!_0x4b0211[_0x430073(0x86)](_0x22d293[_0x430073(0x8a)]))),_0x3ffc1d={};if(_0x52a2bc[_0x430073(0x86)]('$')){let _0x19b847=_0x52a2bc[_0x430073(0x88)]('$','');_0x3ffc1d=(await MetaApi[_0x430073(0xa8)](void 0x0,_0x19b847,{'filters':_0x2546cc,'pagination':{'page':_0x805a6d,'limit':_0x390a04},'sortings':_0x147c9f},!0x1))['data'][_0x430073(0xaf)]['data'][_0x430073(0x7f)];}else _0x3ffc1d=await MetaApi['searchByPagination'](_0x52a2bc,_0x2546cc,_0x147c9f,_0x805a6d,_0x390a04,_0x55295d);if(this['afterFetch']){let _0x61e8f3=await this['afterFetch']({'page':_0x805a6d,'limit':_0x390a04,'sortings':_0x147c9f,'filters':_0x4b82df},_0x3ffc1d);if(_0x61e8f3)return _0x61e8f3;}return ValueUtil['isNotEmpty'](_0x1a4576)&&ValueUtil['isNotEmpty'](_0x3ffc1d)&&ValueUtil[_0x430073(0xb1)](_0x3ffc1d[_0x430073(0x89)])&&_0x3ffc1d[_0x430073(0x89)]['map'](_0xdb6b90=>(_0x4b0211['forEach'](_0x3fcd74=>{const _0x3cac24=_0x430073;_0xdb6b90[_0x3fcd74]=ValueUtil[_0x3cac24(0x8f)](_0xdb6b90,..._0x1a4576[_0x3fcd74][_0x3cac24(0x80)]('.'));}),_0xdb6b90)),_0x3ffc1d;}[a0_0x5b3685(0xa1)](){const _0x49d01e=a0_0x5b3685;if(0x0==this[_0x49d01e(0x85)])return[];let _0x3a1cc9=this[_0x49d01e(0xab)]?.[_0x49d01e(0x78)]?this[_0x49d01e(0xab)][_0x49d01e(0x78)]:{};if(!_0x3a1cc9[_0x49d01e(0x94)])return[];let _0x4bde8e=_0x3a1cc9['pass'],_0x4d826b=JSON['parse'](_0x4bde8e),_0x522fc0=0x1==_0x4d826b['length']?'eq':'in',_0x193df6={},_0x389cb9=[];return Object[_0x49d01e(0x7a)](_0x4d826b[0x0])[_0x49d01e(0x8d)](_0x5394d0=>{_0x193df6[_0x5394d0]={'name':_0x5394d0,'operator':_0x522fc0,'value':'eq'===_0x522fc0?_0x4d826b[0x0][_0x5394d0]:[]};}),_0x4d826b[_0x49d01e(0x8b)]>0x1&&_0x4d826b[_0x49d01e(0x8d)](_0x521d55=>{const _0x43704a=_0x49d01e;Object[_0x43704a(0x7a)](_0x521d55)[_0x43704a(0x8d)](_0xe61d7d=>{const _0x1ff243=_0x43704a;_0x193df6[_0xe61d7d]['value'][_0x1ff243(0xb2)](_0x521d55[_0xe61d7d]);});}),Object[_0x49d01e(0x7a)](_0x193df6)[_0x49d01e(0x8d)](_0x5dffa4=>{const _0x37716c=_0x49d01e;_0x389cb9[_0x37716c(0xb2)](_0x193df6[_0x5dffa4]);}),_0x389cb9;}async['findOne'](_0x1f267f){const _0x3a44ae=a0_0x5b3685;if(this['is_activity'])return this[_0x3a44ae(0xa4)]||{};let _0x4e69a3=ValueUtil['getParams'](this[_0x3a44ae(0xa3)],'query','find_one_func'),_0x5007b0=ValueUtil[_0x3a44ae(0x8f)](this['gqlInfo'],_0x3a44ae(0x9a),_0x3a44ae(0x9c)),_0x1c4a49=Object[_0x3a44ae(0x7a)](_0x5007b0||{}),_0x28cf03=MetaApi[_0x3a44ae(0xae)]((this[_0x3a44ae(0x8e)]?this[_0x3a44ae(0x8e)]:{'columns':this['formConfigSet']})[_0x3a44ae(0xa0)][_0x3a44ae(0x7e)](_0xdf90fe=>!_0x1c4a49['includes'](_0xdf90fe[_0x3a44ae(0x8a)]))),_0x343a50={};if(_0x4e69a3[_0x3a44ae(0x86)]('$')){let _0x518ce3=_0x4e69a3['replace']('$',''),_0x2bc563=await MetaApi['callScenario'](void 0x0,_0x518ce3,{'id':_0x1f267f},!0x1);_0x343a50=_0x2bc563['data']['runScenario'][_0x3a44ae(0xa5)][_0x3a44ae(0x7f)];}else _0x343a50=await MetaApi[_0x3a44ae(0x7b)](_0x4e69a3,_0x1f267f,_0x28cf03);return ValueUtil[_0x3a44ae(0xb1)](_0x5007b0)&&ValueUtil['isNotEmpty'](_0x343a50)&&_0x1c4a49[_0x3a44ae(0x8d)](_0x5ca856=>{const _0x421181=_0x3a44ae;_0x343a50[_0x5ca856]=ValueUtil[_0x421181(0x8f)](_0x343a50,..._0x5007b0[_0x5ca856]['split']('.'));}),_0x343a50;}async[a0_0x5b3685(0xa9)](_0x53433e){const _0x310dec=a0_0x5b3685;let _0x5a7e06=ValueUtil['getParams'](this['gqlInfo'],_0x310dec(0xad),_0x310dec(0x91),_0x310dec(0xac));return await MetaApi[_0x310dec(0x84)](_0x53433e,_0x5a7e06);}async[a0_0x5b3685(0x7d)](_0x4fb59f){const _0x341e92=a0_0x5b3685;let _0x26145f=ValueUtil[_0x341e92(0x8f)](this[_0x341e92(0xa3)],'mutation','multiple',_0x341e92(0xac)),_0x59da21=ValueUtil[_0x341e92(0x8f)](this[_0x341e92(0xa3)],'mutation',_0x341e92(0x97),_0x341e92(0x93));if(ValueUtil[_0x341e92(0xb1)](_0x59da21)&&(_0x59da21=_0x59da21['map'](_0xefb49c=>_0xefb49c[_0x341e92(0x86)]('.')?_0xefb49c[_0x341e92(0x80)]('.'):_0xefb49c),_0x4fb59f=_0x4fb59f[_0x341e92(0x90)](_0x9e982d=>(_0x59da21['forEach'](_0x21d05d=>{const _0x57501d=_0x341e92;Array[_0x57501d(0x92)](_0x21d05d)?delete _0x9e982d[_0x21d05d[0x0]][_0x21d05d[0x1]]:delete _0x9e982d[_0x21d05d];}),_0x9e982d))),this[_0x341e92(0x7c)]&&ValueUtil[_0x341e92(0xb1)](this['parent_id'])){let _0x44f7c3=ValueUtil[_0x341e92(0x8f)](this['gqlInfo'],_0x341e92(0xad),_0x341e92(0x97),_0x341e92(0x81));ValueUtil['isNotEmpty'](_0x44f7c3)&&_0x4fb59f['forEach'](_0x5896cc=>{const _0x12d13b=_0x341e92;if(_0x44f7c3[_0x12d13b(0x86)]('.')){let _0xa7cc11=_0x44f7c3[_0x12d13b(0x80)]('.');_0x5896cc[_0xa7cc11[0x0]]={},_0x5896cc[_0xa7cc11[0x0]][_0xa7cc11[0x1]]=this['parent_id'];}else _0x5896cc[_0x44f7c3]=this[_0x12d13b(0x81)];});}return await MetaApi[_0x341e92(0x7d)](_0x26145f,_0x4fb59f);}};
1
+ const a0_0x23d5e2=a0_0x550a;(function(_0xa7474,_0x37deac){const _0x1a3bcf=a0_0x550a,_0x1dd3ec=_0xa7474();while(!![]){try{const _0xfdb38c=-parseInt(_0x1a3bcf(0x1cc))/0x1*(-parseInt(_0x1a3bcf(0x1ab))/0x2)+-parseInt(_0x1a3bcf(0x1c8))/0x3+parseInt(_0x1a3bcf(0x1d5))/0x4+parseInt(_0x1a3bcf(0x1ac))/0x5*(-parseInt(_0x1a3bcf(0x1a7))/0x6)+-parseInt(_0x1a3bcf(0x1c2))/0x7+-parseInt(_0x1a3bcf(0x1b8))/0x8*(parseInt(_0x1a3bcf(0x1cd))/0x9)+parseInt(_0x1a3bcf(0x1ad))/0xa*(parseInt(_0x1a3bcf(0x1a4))/0xb);if(_0xfdb38c===_0x37deac)break;else _0x1dd3ec['push'](_0x1dd3ec['shift']());}catch(_0x8766d5){_0x1dd3ec['push'](_0x1dd3ec['shift']());}}}(a0_0x31a1,0xc74c5));function a0_0x31a1(){const _0x300f59=['getPageNavigateParams','map','afterFetch','find_one_func','getSelectColumns','value','4073836HxCCwS','query','gristConfigSet','multiple','properties','fetchHandler','dataSet','result','getQueryFilters','parent_id','deleteByIds','is_activity','list_func','mainFilterForm','forEach','isElement','4257NuaRPq','parse','split','408MKHTNg','infinityPage','skip_fields','updateMultiple','46rUhSvn','13710gQBnpj','27310jbDcfZ','filterForm','filters','mutation','filter','isEmpty','gqlInfo','replace','columns','lifecycle','isPage','1123880hJmpXX','getParams','records','beforeFetch','runScenario','gql','params','isNotEmpty','isArray','after_set_fields','7689185KDQeKI','data','pass','findOne','callScenario','keys','2970771VyjrdE','includes','formConfigSet','name','62504ArgQlm','27MyNocM','push'];a0_0x31a1=function(){return _0x300f59;};return a0_0x31a1();}import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x550a(_0x4447cf,_0x37672a){const _0x31a1ee=a0_0x31a1();return a0_0x550a=function(_0x550aca,_0x17561c){_0x550aca=_0x550aca-0x198;let _0x34ffdb=_0x31a1ee[_0x550aca];return _0x34ffdb;},a0_0x550a(_0x4447cf,_0x37672a);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x1c20f7=>class extends MetaBaseMixin(_0x1c20f7){static get[a0_0x23d5e2(0x198)](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x502707){const _0x34df00=a0_0x23d5e2;this[_0x34df00(0x1b3)]=_0x502707[_0x34df00(0x1bd)];}async[a0_0x23d5e2(0x199)]({page:_0x369877=0x0,limit:_0x31d98a=0x0,sortings:_0x35659b=[],filters:_0xfd3d4f=[]}){const _0x363740=a0_0x23d5e2;if(this[_0x363740(0x19f)])return{'total':0x0,'records':this[_0x363740(0x19a)]||[]};if(!0x0===this[_0x363740(0x1a8)]&&(_0x369877=0x0,_0x31d98a=0x0),this[_0x363740(0x1bb)]&&0x0==await this[_0x363740(0x1bb)]({'page':_0x369877,'limit':_0x31d98a,'sortings':_0x35659b,'filters':_0xfd3d4f}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x4c01fa=ValueUtil[_0x363740(0x1b2)](_0xfd3d4f)?this['mainFilterForm']?await this[_0x363740(0x1a1)][_0x363740(0x19c)]()||[]:await this[_0x363740(0x1ae)]?.[_0x363740(0x19c)]()||[]:_0xfd3d4f,_0x1fc3f0=ValueUtil['getParams'](this[_0x363740(0x1b3)],_0x363740(0x1d6),_0x363740(0x1a0)),_0x18412c=ValueUtil[_0x363740(0x1b9)](this[_0x363740(0x1b3)],_0x363740(0x1d6),_0x363740(0x1af)),_0x170b75=ValueUtil['getParams'](this[_0x363740(0x1b3)],_0x363740(0x1d6),_0x363740(0x1c1));if(ValueUtil['isNotEmpty'](_0x18412c)&&(_0x4c01fa=adjustFilters(_0x4c01fa,_0x18412c)),_0x4c01fa[_0x363740(0x1ce)](...this[_0x363740(0x1cf)]()),this['isElement']&&!this[_0x363740(0x1a1)]){let _0x416ee7=ValueUtil[_0x363740(0x1b9)](this[_0x363740(0x1b3)],'query',_0x363740(0x19d));if(!ValueUtil[_0x363740(0x1bf)](_0x416ee7)||!ValueUtil[_0x363740(0x1bf)](this['parent_id']))return{'total':0x0,'records':[]};_0x4c01fa=adjustFilters(_0x4c01fa,[{'name':_0x416ee7,'operator':'eq','value':this[_0x363740(0x19d)]}]);}let _0x27ac72=Object[_0x363740(0x1c7)](_0x170b75||{}),_0x512182=MetaApi[_0x363740(0x1d3)](this[_0x363740(0x1d7)]['columns'][_0x363740(0x1b1)](_0x1f9911=>!_0x27ac72[_0x363740(0x1c9)](_0x1f9911[_0x363740(0x1cb)]))),_0x1be21c={};if(_0x1fc3f0[_0x363740(0x1c9)]('$')){let _0x486c2c=_0x1fc3f0[_0x363740(0x1b4)]('$','');_0x1be21c=(await MetaApi['callScenario'](void 0x0,_0x486c2c,{'filters':_0x4c01fa,'pagination':{'page':_0x369877,'limit':_0x31d98a},'sortings':_0x35659b},!0x1))[_0x363740(0x1c3)]['runScenario']['data'][_0x363740(0x19b)];}else _0x1be21c=await MetaApi['searchByPagination'](_0x1fc3f0,_0x4c01fa,_0x35659b,_0x369877,_0x31d98a,_0x512182);if(this[_0x363740(0x1d1)]){let _0x5953c1=await this[_0x363740(0x1d1)]({'page':_0x369877,'limit':_0x31d98a,'sortings':_0x35659b,'filters':_0xfd3d4f},_0x1be21c);if(_0x5953c1)return _0x5953c1;}return ValueUtil[_0x363740(0x1bf)](_0x170b75)&&ValueUtil[_0x363740(0x1bf)](_0x1be21c)&&ValueUtil[_0x363740(0x1bf)](_0x1be21c[_0x363740(0x1ba)])&&_0x1be21c[_0x363740(0x1ba)]['map'](_0x3ce9f1=>(_0x27ac72[_0x363740(0x1a2)](_0x5317cf=>{const _0x2c9cd5=_0x363740;_0x3ce9f1[_0x5317cf]=ValueUtil['getParams'](_0x3ce9f1,..._0x170b75[_0x5317cf][_0x2c9cd5(0x1a6)]('.'));}),_0x3ce9f1)),_0x1be21c;}[a0_0x23d5e2(0x1cf)](){const _0x59ffcb=a0_0x23d5e2;if(0x0==this[_0x59ffcb(0x1b7)])return[];let _0x483681=this[_0x59ffcb(0x1b6)]?.[_0x59ffcb(0x1be)]?this[_0x59ffcb(0x1b6)][_0x59ffcb(0x1be)]:{};if(!_0x483681[_0x59ffcb(0x1c4)])return[];let _0x36dea4=_0x483681['pass'],_0xc7243a=JSON[_0x59ffcb(0x1a5)](_0x36dea4),_0x5e7c50=0x1==_0xc7243a['length']?'eq':'in',_0x592b6f={},_0x41bcfa=[];return Object[_0x59ffcb(0x1c7)](_0xc7243a[0x0])[_0x59ffcb(0x1a2)](_0x36898a=>{_0x592b6f[_0x36898a]={'name':_0x36898a,'operator':_0x5e7c50,'value':'eq'===_0x5e7c50?_0xc7243a[0x0][_0x36898a]:[]};}),_0xc7243a['length']>0x1&&_0xc7243a[_0x59ffcb(0x1a2)](_0x400299=>{const _0x4a450e=_0x59ffcb;Object[_0x4a450e(0x1c7)](_0x400299)[_0x4a450e(0x1a2)](_0x39ecb6=>{const _0x2a6290=_0x4a450e;_0x592b6f[_0x39ecb6][_0x2a6290(0x1d4)]['push'](_0x400299[_0x39ecb6]);});}),Object[_0x59ffcb(0x1c7)](_0x592b6f)[_0x59ffcb(0x1a2)](_0x480e44=>{const _0x3b060a=_0x59ffcb;_0x41bcfa[_0x3b060a(0x1ce)](_0x592b6f[_0x480e44]);}),_0x41bcfa;}async['findOne'](_0x4d7e01){const _0x67113f=a0_0x23d5e2;if(this[_0x67113f(0x19f)])return this['dataSet']||{};let _0x38e751=ValueUtil['getParams'](this[_0x67113f(0x1b3)],'query',_0x67113f(0x1d2)),_0x15ed15=ValueUtil['getParams'](this[_0x67113f(0x1b3)],_0x67113f(0x1d6),_0x67113f(0x1c1)),_0x531ea7=Object[_0x67113f(0x1c7)](_0x15ed15||{}),_0x251b71=MetaApi[_0x67113f(0x1d3)]((this[_0x67113f(0x1d7)]?this[_0x67113f(0x1d7)]:{'columns':this[_0x67113f(0x1ca)]})[_0x67113f(0x1b5)]['filter'](_0x2bb58e=>!_0x531ea7[_0x67113f(0x1c9)](_0x2bb58e[_0x67113f(0x1cb)]))),_0x57d4ac={};if(_0x38e751[_0x67113f(0x1c9)]('$')){let _0x166ea5=_0x38e751[_0x67113f(0x1b4)]('$',''),_0x2d5109=await MetaApi[_0x67113f(0x1c6)](void 0x0,_0x166ea5,{'id':_0x4d7e01},!0x1);_0x57d4ac=_0x2d5109[_0x67113f(0x1c3)][_0x67113f(0x1bc)][_0x67113f(0x1c3)][_0x67113f(0x19b)];}else _0x57d4ac=await MetaApi[_0x67113f(0x1c5)](_0x38e751,_0x4d7e01,_0x251b71);return ValueUtil['isNotEmpty'](_0x15ed15)&&ValueUtil[_0x67113f(0x1bf)](_0x57d4ac)&&_0x531ea7['forEach'](_0x34c465=>{const _0x3cdd7c=_0x67113f;_0x57d4ac[_0x34c465]=ValueUtil[_0x3cdd7c(0x1b9)](_0x57d4ac,..._0x15ed15[_0x34c465][_0x3cdd7c(0x1a6)]('.'));}),_0x57d4ac;}async[a0_0x23d5e2(0x19e)](_0x1d7a95){const _0x797fe5=a0_0x23d5e2;let _0x526679=ValueUtil['getParams'](this[_0x797fe5(0x1b3)],_0x797fe5(0x1b0),'delete','func');return await MetaApi['deleteListByIds'](_0x1d7a95,_0x526679);}async[a0_0x23d5e2(0x1aa)](_0x1991dc){const _0x260a72=a0_0x23d5e2;let _0x5f1e1b=ValueUtil[_0x260a72(0x1b9)](this[_0x260a72(0x1b3)],_0x260a72(0x1b0),_0x260a72(0x1d8),'func'),_0x114a19=ValueUtil[_0x260a72(0x1b9)](this[_0x260a72(0x1b3)],_0x260a72(0x1b0),_0x260a72(0x1d8),_0x260a72(0x1a9));if(ValueUtil[_0x260a72(0x1bf)](_0x114a19)&&(_0x114a19=_0x114a19[_0x260a72(0x1d0)](_0x12431a=>_0x12431a[_0x260a72(0x1c9)]('.')?_0x12431a[_0x260a72(0x1a6)]('.'):_0x12431a),_0x1991dc=_0x1991dc[_0x260a72(0x1d0)](_0x5d87cb=>(_0x114a19[_0x260a72(0x1a2)](_0x50bdce=>{const _0x3a5b7b=_0x260a72;Array[_0x3a5b7b(0x1c0)](_0x50bdce)?delete _0x5d87cb[_0x50bdce[0x0]][_0x50bdce[0x1]]:delete _0x5d87cb[_0x50bdce];}),_0x5d87cb))),this[_0x260a72(0x1a3)]&&ValueUtil[_0x260a72(0x1bf)](this[_0x260a72(0x19d)])){let _0x4c7ad7=ValueUtil['getParams'](this['gqlInfo'],'mutation',_0x260a72(0x1d8),_0x260a72(0x19d));ValueUtil[_0x260a72(0x1bf)](_0x4c7ad7)&&_0x1991dc[_0x260a72(0x1a2)](_0x4afd49=>{const _0x4adc84=_0x260a72;if(_0x4c7ad7[_0x4adc84(0x1c9)]('.')){let _0x3ab639=_0x4c7ad7[_0x4adc84(0x1a6)]('.');_0x4afd49[_0x3ab639[0x0]]={},_0x4afd49[_0x3ab639[0x0]][_0x3ab639[0x1]]=this['parent_id'];}else _0x4afd49[_0x4c7ad7]=this[_0x4adc84(0x19d)];});}return await MetaApi[_0x260a72(0x1aa)](_0x5f1e1b,_0x1991dc);}};
@@ -1 +1 @@
1
- function a0_0x348f(_0x285bb8,_0x3315de){const _0x22bfa8=a0_0x22bf();return a0_0x348f=function(_0x348f85,_0x5d46ff){_0x348f85=_0x348f85-0x165;let _0x4938ee=_0x22bfa8[_0x348f85];return _0x4938ee;},a0_0x348f(_0x285bb8,_0x3315de);}const a0_0x44e1c2=a0_0x348f;(function(_0x38996b,_0x486a0d){const _0x20f3f4=a0_0x348f,_0x5dbe93=_0x38996b();while(!![]){try{const _0x104eaf=-parseInt(_0x20f3f4(0x17a))/0x1*(-parseInt(_0x20f3f4(0x18d))/0x2)+parseInt(_0x20f3f4(0x17f))/0x3+-parseInt(_0x20f3f4(0x181))/0x4*(parseInt(_0x20f3f4(0x173))/0x5)+-parseInt(_0x20f3f4(0x18a))/0x6*(parseInt(_0x20f3f4(0x19c))/0x7)+parseInt(_0x20f3f4(0x16a))/0x8*(parseInt(_0x20f3f4(0x19a))/0x9)+-parseInt(_0x20f3f4(0x18e))/0xa*(parseInt(_0x20f3f4(0x18c))/0xb)+parseInt(_0x20f3f4(0x176))/0xc*(parseInt(_0x20f3f4(0x191))/0xd);if(_0x104eaf===_0x486a0d)break;else _0x5dbe93['push'](_0x5dbe93['shift']());}catch(_0x554c1f){_0x5dbe93['push'](_0x5dbe93['shift']());}}}(a0_0x22bf,0x21652));function a0_0x22bf(){const _0x48934b=['parseGridConfigSet','search','fetch','1181268vPYNmF','filterFormId','21TPGaxO','record','isElement','options','ox-filters-form-base','getTabDetailHtml','activityDataSet','exportable','getAndParseMenuMeta','parseBasicGridConfigs','16WHcUat','filter','gridColumnConfig','connectedCallback','gristId','operator','searchConfig','dataSet','context','3400ilvwCH','push','grid','72NAMTyI','columns','parseGristConfigs','map','12185GbDlWs','actions','grid_column','ox-grist','searchFieldValues','491214reGbvj','getData','620MokxOs','gristConfigSet','importable','getMainGrist','main','pageInitialized','header','firstUpdated','render','323286xqMvdK','clear','187HNbdTQ','2PXtKHg','44320PeQXoz','masterElement','name','88283XkvGIM','detailElement','value','gridConfig','type','filterForm'];a0_0x22bf=function(){return _0x48934b;};return a0_0x22bf();}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=_0x4eb1ce=>class extends MetaButtonMixin(_0x4eb1ce){static get['styles'](){return MetaApi['getBasicTabDetailStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0x3c84e0=a0_0x348f;return this[_0x3c84e0(0x18f)][_0x3c84e0(0x184)]();}get[a0_0x44e1c2(0x196)](){const _0x329817=a0_0x44e1c2;return this['shadowRoot']?.['querySelector'](this[_0x329817(0x19b)]);}get[a0_0x44e1c2(0x172)](){const _0x24b726=a0_0x44e1c2;let _0x102601=MetaUiUtil['getContextObject'](this);return _0x102601[_0x24b726(0x17b)]&&delete _0x102601[_0x24b726(0x17b)],_0x102601['exportable']&&delete _0x102601[_0x24b726(0x167)],_0x102601[_0x24b726(0x183)]&&delete _0x102601[_0x24b726(0x183)],_0x102601;}async[a0_0x44e1c2(0x16d)](){const _0x2a42d6=a0_0x44e1c2;this[_0x2a42d6(0x16e)]=_0x2a42d6(0x17d),this[_0x2a42d6(0x19b)]=_0x2a42d6(0x1a0),await this[_0x2a42d6(0x168)](),this[_0x2a42d6(0x19e)]&&await this[_0x2a42d6(0x178)](),this[_0x2a42d6(0x166)]&&(this[_0x2a42d6(0x171)]=(this[_0x2a42d6(0x166)]||{})[_0x2a42d6(0x185)]),super[_0x2a42d6(0x16d)]&&await super[_0x2a42d6(0x16d)]();}async[a0_0x44e1c2(0x188)](){const _0x47770c=a0_0x44e1c2;super[_0x47770c(0x188)]&&await super['firstUpdated']();}async[a0_0x44e1c2(0x186)](){const _0x12bda2=a0_0x44e1c2;this['isPage']&&await this[_0x12bda2(0x178)](),super[_0x12bda2(0x186)]&&await super[_0x12bda2(0x186)]();}[a0_0x44e1c2(0x189)](){const _0x3a85b9=a0_0x44e1c2;return MetaApi[_0x3a85b9(0x165)](this);}[a0_0x44e1c2(0x169)](_0x18fee5){const _0x293f8a=a0_0x44e1c2;this[_0x293f8a(0x194)]=_0x18fee5[_0x293f8a(0x175)],this[_0x293f8a(0x16c)]=_0x18fee5[_0x293f8a(0x17c)],this[_0x293f8a(0x170)]=_0x18fee5['search'];}async['parseGristConfigs'](){const _0x53315f=a0_0x44e1c2;this[_0x53315f(0x182)]=await MetaApi[_0x53315f(0x197)](this),this['useMasterFilterForm']=!0x0===this['useFilterForm'],this['useFilterForm']=!0x1,this['buttonConfig']=void 0x0,this['useButtonExport']=!0x1,this['useButtonImport']=!0x1,this[_0x53315f(0x17e)]=[],this['searchFields']=this[_0x53315f(0x182)][_0x53315f(0x177)]['filter'](_0x1d34ec=>_0x1d34ec['filter'])[_0x53315f(0x179)](_0xd03270=>{const _0x46d9ae=_0x53315f;let _0x4eb4fd={'name':_0xd03270[_0x46d9ae(0x190)],'type':'search'===_0xd03270['filter'][_0x46d9ae(0x16f)]?_0x46d9ae(0x198):_0xd03270[_0x46d9ae(0x195)],'label':_0xd03270[_0x46d9ae(0x187)],'operator':_0xd03270['filter'][_0x46d9ae(0x16f)]?_0xd03270['filter'][_0x46d9ae(0x16f)]:'eq'};return _0xd03270[_0x46d9ae(0x16b)]['options']&&(_0x4eb4fd[_0x46d9ae(0x19f)]=_0xd03270[_0x46d9ae(0x16b)][_0x46d9ae(0x19f)]),_0xd03270[_0x46d9ae(0x19d)][_0x46d9ae(0x19f)]&&(_0x4eb4fd[_0x46d9ae(0x19f)]=_0xd03270['record']['options']),_0xd03270['filter']['value']&&this[_0x46d9ae(0x17e)][_0x46d9ae(0x174)]({'name':_0x4eb4fd[_0x46d9ae(0x190)],'operator':_0x4eb4fd[_0x46d9ae(0x16f)],'value':_0xd03270[_0x46d9ae(0x16b)][_0x46d9ae(0x193)]}),delete _0xd03270[_0x46d9ae(0x16b)],_0x4eb4fd;});}async[a0_0x44e1c2(0x199)](){const _0x3aada0=a0_0x44e1c2;await this['grist'][_0x3aada0(0x199)]();}async['beforeFetch']({page:_0x5f01df=0x0,limit:_0x1bf8e7=0x0,sortings:_0x367eb1=[],filters:_0x4a1d39=[]}){const _0x4bf587=a0_0x44e1c2;return this[_0x4bf587(0x18f)]&&this[_0x4bf587(0x18f)][_0x4bf587(0x18b)]&&await this[_0x4bf587(0x18f)][_0x4bf587(0x18b)](),this['detailElement']&&this[_0x4bf587(0x192)][_0x4bf587(0x18b)]&&await this[_0x4bf587(0x192)][_0x4bf587(0x18b)](),!0x0;}['getData'](){const _0x138513=a0_0x44e1c2;return{'master':this[_0x138513(0x18f)][_0x138513(0x180)](),'detail':this[_0x138513(0x192)]['getData']()};}};
1
+ const a0_0x38f5a6=a0_0x3981;(function(_0x59329c,_0x113c70){const _0x194be0=a0_0x3981,_0x1b9312=_0x59329c();while(!![]){try{const _0x189037=parseInt(_0x194be0(0x223))/0x1+-parseInt(_0x194be0(0x1e9))/0x2+parseInt(_0x194be0(0x1f5))/0x3*(-parseInt(_0x194be0(0x1ec))/0x4)+parseInt(_0x194be0(0x20d))/0x5+-parseInt(_0x194be0(0x1fb))/0x6*(parseInt(_0x194be0(0x1fc))/0x7)+parseInt(_0x194be0(0x20c))/0x8+parseInt(_0x194be0(0x1f3))/0x9;if(_0x189037===_0x113c70)break;else _0x1b9312['push'](_0x1b9312['shift']());}catch(_0x1fe0e8){_0x1b9312['push'](_0x1b9312['shift']());}}}(a0_0x23b4,0xe6bf5));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_0x23b4(){const _0x2fde2f=['useButtonExport','getData','value','452147IhjThM','header','masterElement','buttonConfig','546952CxXsgx','parseBasicGridConfigs','shadowRoot','1408112twRzSk','isPage','getBasicTabDetailStyles','grid','activityDataSet','querySelector','type','9674109lLqkXZ','render','6MjlKRP','gridConfig','exportable','parseGridConfigSet','fetch','connectedCallback','8361750CwFJUV','7JbWSlv','search','actions','ox-filters-form-base','searchFieldValues','record','searchFields','importable','gristConfigSet','clear','getContextObject','pageInitialized','options','operator','gristId','filter','5332616QcNHvA','5613365FlnURR','getTabDetailHtml','searchConfig','firstUpdated','isElement','ox-grist','grist','useMasterFilterForm','columns','detailElement','getAndParseMenuMeta','name','parseGristConfigs','gridColumnConfig','useFilterForm','context','dataSet','getMainGrist','properties'];a0_0x23b4=function(){return _0x2fde2f;};return a0_0x23b4();}function a0_0x3981(_0x18a1f1,_0x48f5d8){const _0x23b4d8=a0_0x23b4();return a0_0x3981=function(_0x39813c,_0x1b5d19){_0x39813c=_0x39813c-0x1e6;let _0x3bf7a8=_0x23b4d8[_0x39813c];return _0x3bf7a8;},a0_0x3981(_0x18a1f1,_0x48f5d8);}export const MetaTabDetailMixin=_0x26585f=>class extends MetaButtonMixin(_0x26585f){static get['styles'](){const _0x3b4aa7=a0_0x3981;return MetaApi[_0x3b4aa7(0x1ee)]();}static get[a0_0x38f5a6(0x21f)](){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_0x38f5a6(0x213)](){const _0x5410d9=a0_0x38f5a6;return this[_0x5410d9(0x1e7)][_0x5410d9(0x21e)]();}get['filterForm'](){const _0x1c5038=a0_0x38f5a6;return this[_0x1c5038(0x1eb)]?.[_0x1c5038(0x1f1)](this['filterFormId']);}get[a0_0x38f5a6(0x21c)](){const _0x3dea72=a0_0x38f5a6;let _0x2c09a2=MetaUiUtil[_0x3dea72(0x206)](this);return _0x2c09a2[_0x3dea72(0x1fe)]&&delete _0x2c09a2[_0x3dea72(0x1fe)],_0x2c09a2['exportable']&&delete _0x2c09a2[_0x3dea72(0x1f7)],_0x2c09a2[_0x3dea72(0x203)]&&delete _0x2c09a2[_0x3dea72(0x203)],_0x2c09a2;}async[a0_0x38f5a6(0x1fa)](){const _0x46ab5d=a0_0x38f5a6;this[_0x46ab5d(0x20a)]=_0x46ab5d(0x212),this['filterFormId']=_0x46ab5d(0x1ff),await this[_0x46ab5d(0x217)](),this[_0x46ab5d(0x211)]&&await this[_0x46ab5d(0x219)](),this[_0x46ab5d(0x1f0)]&&(this[_0x46ab5d(0x21d)]=(this['activityDataSet']||{})['main']),super[_0x46ab5d(0x1fa)]&&await super['connectedCallback']();}async[a0_0x38f5a6(0x210)](){const _0x5290fe=a0_0x38f5a6;super['firstUpdated']&&await super[_0x5290fe(0x210)]();}async[a0_0x38f5a6(0x207)](){const _0x2f15cc=a0_0x38f5a6;this[_0x2f15cc(0x1ed)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x2f15cc(0x207)]();}[a0_0x38f5a6(0x1f4)](){const _0x15547d=a0_0x38f5a6;return MetaApi[_0x15547d(0x20e)](this);}[a0_0x38f5a6(0x1ea)](_0x4a8e72){const _0xdf76bd=a0_0x38f5a6;this[_0xdf76bd(0x1f6)]=_0x4a8e72[_0xdf76bd(0x1ef)],this[_0xdf76bd(0x21a)]=_0x4a8e72['grid_column'],this[_0xdf76bd(0x20f)]=_0x4a8e72['search'];}async['parseGristConfigs'](){const _0x9ec058=a0_0x38f5a6;this[_0x9ec058(0x204)]=await MetaApi[_0x9ec058(0x1f8)](this),this[_0x9ec058(0x214)]=!0x0===this[_0x9ec058(0x21b)],this[_0x9ec058(0x21b)]=!0x1,this[_0x9ec058(0x1e8)]=void 0x0,this[_0x9ec058(0x220)]=!0x1,this['useButtonImport']=!0x1,this[_0x9ec058(0x200)]=[],this[_0x9ec058(0x202)]=this[_0x9ec058(0x204)][_0x9ec058(0x215)][_0x9ec058(0x20b)](_0x17efdf=>_0x17efdf[_0x9ec058(0x20b)])['map'](_0x245739=>{const _0x5e311a=_0x9ec058;let _0x4d18a2={'name':_0x245739[_0x5e311a(0x218)],'type':_0x5e311a(0x1fd)===_0x245739[_0x5e311a(0x20b)][_0x5e311a(0x209)]?_0x5e311a(0x1fd):_0x245739[_0x5e311a(0x1f2)],'label':_0x245739[_0x5e311a(0x1e6)],'operator':_0x245739['filter'][_0x5e311a(0x209)]?_0x245739[_0x5e311a(0x20b)]['operator']:'eq'};return _0x245739[_0x5e311a(0x20b)][_0x5e311a(0x208)]&&(_0x4d18a2[_0x5e311a(0x208)]=_0x245739[_0x5e311a(0x20b)]['options']),_0x245739[_0x5e311a(0x201)][_0x5e311a(0x208)]&&(_0x4d18a2[_0x5e311a(0x208)]=_0x245739[_0x5e311a(0x201)]['options']),_0x245739[_0x5e311a(0x20b)][_0x5e311a(0x222)]&&this['searchFieldValues']['push']({'name':_0x4d18a2[_0x5e311a(0x218)],'operator':_0x4d18a2['operator'],'value':_0x245739[_0x5e311a(0x20b)]['value']}),delete _0x245739['filter'],_0x4d18a2;});}async[a0_0x38f5a6(0x1f9)](){const _0x229aeb=a0_0x38f5a6;await this[_0x229aeb(0x213)]['fetch']();}async['beforeFetch']({page:_0x18bac7=0x0,limit:_0x44c6d4=0x0,sortings:_0x1153ab=[],filters:_0x4843fc=[]}){const _0x5d1fee=a0_0x38f5a6;return this['masterElement']&&this['masterElement'][_0x5d1fee(0x205)]&&await this[_0x5d1fee(0x1e7)][_0x5d1fee(0x205)](),this[_0x5d1fee(0x216)]&&this[_0x5d1fee(0x216)][_0x5d1fee(0x205)]&&await this[_0x5d1fee(0x216)][_0x5d1fee(0x205)](),!0x0;}[a0_0x38f5a6(0x221)](){const _0xcbd017=a0_0x38f5a6;return{'master':this[_0xcbd017(0x1e7)][_0xcbd017(0x221)](),'detail':this[_0xcbd017(0x216)][_0xcbd017(0x221)]()};}};
@@ -1 +1 @@
1
- const a0_0x1e0907=a0_0x9cc6;(function(_0x3307da,_0x43836a){const _0x4a9e42=a0_0x9cc6,_0x29b5f5=_0x3307da();while(!![]){try{const _0x25964a=-parseInt(_0x4a9e42(0x1c5))/0x1+-parseInt(_0x4a9e42(0x1d1))/0x2+parseInt(_0x4a9e42(0x1d6))/0x3*(-parseInt(_0x4a9e42(0x1de))/0x4)+-parseInt(_0x4a9e42(0x1d7))/0x5+-parseInt(_0x4a9e42(0x1d8))/0x6+-parseInt(_0x4a9e42(0x1c4))/0x7*(parseInt(_0x4a9e42(0x1c3))/0x8)+parseInt(_0x4a9e42(0x1d5))/0x9;if(_0x25964a===_0x43836a)break;else _0x29b5f5['push'](_0x29b5f5['shift']());}catch(_0x7af35c){_0x29b5f5['push'](_0x29b5f5['shift']());}}}(a0_0x51ab,0xe6730));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x51ab(){const _0x197434=['pageInitialized','main_tab_info','button','1662382KEzyTr','parse','length','activityDataSet','64533375jtVhXx','6SlQQug','9336515XULUUt','2583054YAgUWR','properties','keys','name','display','firstUpdated','1773328ScMVwm','tabRenderConfig','getMainGrist','getBasicTabStyles','param_field','clear','route_name','getBasicTabHtml','splice','getContextObject','getData','mainFilterForm','forEach','getAndParseMenuMeta','meta-grist-element','8uOGPAB','5696796zhScxR','1396960XsFFtU','render','grist','@things-factory/meta-ui/client/pages/meta-grist-element','index','tabElements','includeMainList','tab','connectedCallback'];a0_0x51ab=function(){return _0x197434;};return a0_0x51ab();}import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x9cc6(_0x16d79d,_0x1d8b1b){const _0x51ab8b=a0_0x51ab();return a0_0x9cc6=function(_0x9cc689,_0x587127){_0x9cc689=_0x9cc689-0x1bf;let _0x4fe0f0=_0x51ab8b[_0x9cc689];return _0x4fe0f0;},a0_0x9cc6(_0x16d79d,_0x1d8b1b);}export const MetaTabMixin=_0x2ce102=>class extends MetaButtonMixin(_0x2ce102){static get['styles'](){const _0x314798=a0_0x9cc6;return MetaApi[_0x314798(0x1e1)]();}static get[a0_0x1e0907(0x1d9)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x4fd212=a0_0x1e0907;return MetaUiUtil[_0x4fd212(0x1e7)](this);}async[a0_0x1e0907(0x1cd)](){const _0x378e25=a0_0x1e0907;this['currentTabKey']=void 0x0,await this[_0x378e25(0x1c1)](),this[_0x378e25(0x1d4)]&&(this['dataSet']=this[_0x378e25(0x1d4)]),super['connectedCallback']&&await super[_0x378e25(0x1cd)]();}async['firstUpdated'](){const _0x363580=a0_0x1e0907;super[_0x363580(0x1dd)]&&await super[_0x363580(0x1dd)]();}async['pageInitialized'](){const _0x37ace6=a0_0x1e0907;super[_0x37ace6(0x1ce)]&&await super[_0x37ace6(0x1ce)]();}[a0_0x1e0907(0x1c6)](){const _0x46f99d=a0_0x1e0907;return MetaApi[_0x46f99d(0x1e5)](this);}['parseBasicTabConfigs'](_0x5452df){const _0x35d9dd=a0_0x1e0907;if(!0x0===this[_0x35d9dd(0x1cb)]){let _0x9a99d9=this['etcConfig'][_0x35d9dd(0x1cf)],_0x1ae91d=JSON[_0x35d9dd(0x1d2)](_0x9a99d9||'{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}');_0x1ae91d[_0x35d9dd(0x1c9)]>_0x5452df[_0x35d9dd(0x1cc)]['length']&&(_0x1ae91d[_0x35d9dd(0x1c9)]=_0x5452df['tab'][_0x35d9dd(0x1d3)]),_0x5452df[_0x35d9dd(0x1cc)][_0x35d9dd(0x1e6)](_0x1ae91d[_0x35d9dd(0x1c9)],0x0,{'name':_0x1ae91d[_0x35d9dd(0x1db)],'display':_0x1ae91d[_0x35d9dd(0x1dc)],'tagname':_0x35d9dd(0x1c2),'location':_0x35d9dd(0x1c8),'parent_field':'id','param_field':_0x35d9dd(0x1e2),'menu':this[_0x35d9dd(0x1e4)],'icon':_0x1ae91d['icon'],'filter_from':!0x1,'main_filter_form':this[_0x35d9dd(0x1bf)]});}this[_0x35d9dd(0x1df)]=_0x5452df[_0x35d9dd(0x1cc)],_0x5452df[_0x35d9dd(0x1d0)]=[];}async[a0_0x1e0907(0x1e3)](){const _0x11c36a=a0_0x1e0907;if(this[_0x11c36a(0x1ca)]){let _0x25b5ec=Object[_0x11c36a(0x1da)](this[_0x11c36a(0x1ca)]);for(var _0x8bd2f4=0x0;_0x8bd2f4<_0x25b5ec[_0x11c36a(0x1d3)];_0x8bd2f4++)await this[_0x11c36a(0x1ca)][_0x25b5ec[_0x8bd2f4]][_0x11c36a(0x1e3)]();}}[a0_0x1e0907(0x1e8)](){const _0x1630a5=a0_0x1e0907;let _0x43a8f8={};return this['tabElements']&&Object[_0x1630a5(0x1da)](this[_0x1630a5(0x1ca)])[_0x1630a5(0x1c0)](_0x3b8373=>{const _0x3b49fc=_0x1630a5;_0x43a8f8[_0x3b8373]=this['tabElements'][_0x3b8373][_0x3b49fc(0x1e8)]();}),_0x43a8f8;}[a0_0x1e0907(0x1e0)](){const _0x5affae=a0_0x1e0907;if(this[_0x5affae(0x1ca)]){let _0x34744b=Object[_0x5affae(0x1da)](this[_0x5affae(0x1ca)]);return this[_0x5affae(0x1ca)][_0x34744b[0x0]][_0x5affae(0x1c7)];}}};
1
+ const a0_0x17359e=a0_0x4383;function a0_0x59de(){const _0x5d49fd=['firstUpdated','1073259xQFcqS','keys','6GPmEaU','forEach','170gHwSPV','clear','6277iyKjLu','getBasicTabHtml','grist','8877834sPRYRG','1086696PUwBOZ','parse','icon','includeMainList','splice','name','mainFilterForm','1769032shrfdj','activityDataSet','tabElements','meta-grist-element','connectedCallback','button','dataSet','etcConfig','pageInitialized','@things-factory/meta-ui/client/pages/meta-grist-element','properties','getData','tabRenderConfig','index','length','1136968tJAfSv','styles','tab','route_name','getContextObject','param_field','currentTabKey','parseBasicTabConfigs','2959297CySDqV','10KIcOzX','15kVuVSK'];a0_0x59de=function(){return _0x5d49fd;};return a0_0x59de();}(function(_0x3969af,_0x3a984f){const _0x3990e9=a0_0x4383,_0x3542c2=_0x3969af();while(!![]){try{const _0x4f6e77=parseInt(_0x3990e9(0x117))/0x1*(parseInt(_0x3990e9(0x115))/0x2)+-parseInt(_0x3990e9(0x11b))/0x3+parseInt(_0x3990e9(0x131))/0x4*(-parseInt(_0x3990e9(0x13b))/0x5)+parseInt(_0x3990e9(0x113))/0x6*(parseInt(_0x3990e9(0x11a))/0x7)+parseInt(_0x3990e9(0x122))/0x8+-parseInt(_0x3990e9(0x111))/0x9*(-parseInt(_0x3990e9(0x13a))/0xa)+-parseInt(_0x3990e9(0x139))/0xb;if(_0x4f6e77===_0x3a984f)break;else _0x3542c2['push'](_0x3542c2['shift']());}catch(_0x532a3f){_0x3542c2['push'](_0x3542c2['shift']());}}}(a0_0x59de,0xa0b1a));function a0_0x4383(_0x3be33b,_0x298f0d){const _0x59dedd=a0_0x59de();return a0_0x4383=function(_0x4383d7,_0x1eb4bb){_0x4383d7=_0x4383d7-0x111;let _0x3f1d26=_0x59dedd[_0x4383d7];return _0x3f1d26;},a0_0x4383(_0x3be33b,_0x298f0d);}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=_0x55a866=>class extends MetaButtonMixin(_0x55a866){static get[a0_0x17359e(0x132)](){return MetaApi['getBasicTabStyles']();}static get[a0_0x17359e(0x12c)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x8091ee=a0_0x17359e;return MetaUiUtil[_0x8091ee(0x135)](this);}async[a0_0x17359e(0x126)](){const _0x4fd040=a0_0x17359e;this[_0x4fd040(0x137)]=void 0x0,await this['getAndParseMenuMeta'](),this[_0x4fd040(0x123)]&&(this[_0x4fd040(0x128)]=this[_0x4fd040(0x123)]),super['connectedCallback']&&await super[_0x4fd040(0x126)]();}async['firstUpdated'](){const _0x465361=a0_0x17359e;super[_0x465361(0x13c)]&&await super[_0x465361(0x13c)]();}async[a0_0x17359e(0x12a)](){const _0xc803cb=a0_0x17359e;super[_0xc803cb(0x12a)]&&await super[_0xc803cb(0x12a)]();}['render'](){const _0x235b09=a0_0x17359e;return MetaApi[_0x235b09(0x118)](this);}[a0_0x17359e(0x138)](_0x1561e0){const _0x50e319=a0_0x17359e;if(!0x0===this[_0x50e319(0x11e)]){let _0x3734ca=this[_0x50e319(0x129)]['main_tab_info'],_0x325db0=JSON[_0x50e319(0x11c)](_0x3734ca||'{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}');_0x325db0[_0x50e319(0x12f)]>_0x1561e0[_0x50e319(0x133)][_0x50e319(0x130)]&&(_0x325db0['index']=_0x1561e0[_0x50e319(0x133)][_0x50e319(0x130)]),_0x1561e0[_0x50e319(0x133)][_0x50e319(0x11f)](_0x325db0[_0x50e319(0x12f)],0x0,{'name':_0x325db0[_0x50e319(0x120)],'display':_0x325db0['display'],'tagname':_0x50e319(0x125),'location':_0x50e319(0x12b),'parent_field':'id','param_field':_0x50e319(0x136),'menu':this[_0x50e319(0x134)],'icon':_0x325db0[_0x50e319(0x11d)],'filter_from':!0x1,'main_filter_form':this[_0x50e319(0x121)]});}this[_0x50e319(0x12e)]=_0x1561e0[_0x50e319(0x133)],_0x1561e0[_0x50e319(0x127)]=[];}async['clear'](){const _0xa1fca9=a0_0x17359e;if(this[_0xa1fca9(0x124)]){let _0x1bb2c4=Object[_0xa1fca9(0x112)](this[_0xa1fca9(0x124)]);for(var _0x2d0ece=0x0;_0x2d0ece<_0x1bb2c4['length'];_0x2d0ece++)await this[_0xa1fca9(0x124)][_0x1bb2c4[_0x2d0ece]][_0xa1fca9(0x116)]();}}[a0_0x17359e(0x12d)](){const _0x37c395=a0_0x17359e;let _0x3c56ee={};return this[_0x37c395(0x124)]&&Object[_0x37c395(0x112)](this[_0x37c395(0x124)])[_0x37c395(0x114)](_0x238c91=>{const _0xfe7d89=_0x37c395;_0x3c56ee[_0x238c91]=this[_0xfe7d89(0x124)][_0x238c91][_0xfe7d89(0x12d)]();}),_0x3c56ee;}['getMainGrist'](){const _0x36dbe3=a0_0x17359e;if(this[_0x36dbe3(0x124)]){let _0x4cb0c8=Object['keys'](this['tabElements']);return this[_0x36dbe3(0x124)][_0x4cb0c8[0x0]][_0x36dbe3(0x119)];}}};