@things-factory/meta-ui 6.0.102 → 6.0.103

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 (61) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/mixin/meta-base-mixin.js +1 -1
  3. package/client/mixin/meta-basic-grist-mixin.js +3 -3
  4. package/client/mixin/meta-button-mixin.js +1 -1
  5. package/client/mixin/meta-form-mixin.js +1 -1
  6. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  7. package/client/mixin/meta-master-detail-mixin.js +1 -1
  8. package/client/mixin/meta-service-mixin.js +1 -1
  9. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  10. package/client/mixin/meta-tab-mixin.js +1 -1
  11. package/client/pages/activity/meta-activity-list-page.js +6 -6
  12. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  13. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  14. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  15. package/client/pages/entity/config-entity.js +28 -28
  16. package/client/pages/entity/main-menu-selector.js +8 -8
  17. package/client/pages/history/history-copy-list-popup.js +6 -6
  18. package/client/pages/history/history-json-list-popup.js +6 -6
  19. package/client/pages/loading-page.js +5 -5
  20. package/client/pages/menu/dynamic-menu-template.js +7 -7
  21. package/client/pages/menu/dynamic-menu.js +15 -15
  22. package/client/pages/meta-form-element.js +1 -1
  23. package/client/pages/meta-grist-element.js +1 -1
  24. package/client/pages/meta-grist-page.js +1 -1
  25. package/client/pages/meta-grist-tab-element.js +1 -1
  26. package/client/pages/meta-grist-tab-page.js +1 -1
  27. package/client/pages/meta-master-detail-element.js +1 -1
  28. package/client/pages/meta-master-detail-page.js +1 -1
  29. package/client/pages/meta-tab-detail-element.js +1 -1
  30. package/client/pages/meta-tab-detail-page.js +1 -1
  31. package/client/pages/meta-tab-element.js +1 -1
  32. package/client/pages/personalize/personal-column-selector.js +11 -11
  33. package/client/pages/terms/config-terminology.js +6 -6
  34. package/client/reducers/main.js +1 -1
  35. package/client/utils/meta-api.js +1 -1
  36. package/client/utils/meta-crypto.js +1 -1
  37. package/client/utils/meta-ui-util.js +93 -93
  38. package/client/utils/service-util.js +12 -12
  39. package/client/utils/terms-util.js +2 -2
  40. package/client/utils/ui-util.js +1 -1
  41. package/client/utils/value-util.js +1 -1
  42. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  43. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  44. package/client/viewparts/dynamic-menu-part.js +12 -12
  45. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  46. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  47. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  48. package/package.json +2 -2
  49. package/server/activity/CommonActivity.js +2 -2
  50. package/server/constants/error-code.js +1 -1
  51. package/server/errors/license-error.js +1 -1
  52. package/server/routes.js +1 -1
  53. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  54. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  55. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  56. package/server/service/grid-personalize/grid-personalize.js +1 -1
  57. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  58. package/server/service/meta-activity/meta-activity-query.js +1 -1
  59. package/server/service/meta-activity/meta-activity-type.js +1 -1
  60. package/server/service/meta-secret/meta-resolver.js +1 -1
  61. package/server/service/set-translations/set-translation-resolver.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0x248fcf=a0_0x3dbf;(function(_0x238996,_0x2fa541){const _0x5c3827=a0_0x3dbf,_0x318480=_0x238996();while(!![]){try{const _0x2006ef=-parseInt(_0x5c3827(0xca))/0x1*(-parseInt(_0x5c3827(0xc2))/0x2)+-parseInt(_0x5c3827(0xd4))/0x3*(-parseInt(_0x5c3827(0xc5))/0x4)+parseInt(_0x5c3827(0xc8))/0x5*(parseInt(_0x5c3827(0xb9))/0x6)+parseInt(_0x5c3827(0xd1))/0x7*(parseInt(_0x5c3827(0xc4))/0x8)+parseInt(_0x5c3827(0xbd))/0x9*(parseInt(_0x5c3827(0xc7))/0xa)+parseInt(_0x5c3827(0xb7))/0xb*(parseInt(_0x5c3827(0xce))/0xc)+-parseInt(_0x5c3827(0xbf))/0xd;if(_0x2006ef===_0x2fa541)break;else _0x318480['push'](_0x318480['shift']());}catch(_0x5487ef){_0x318480['push'](_0x318480['shift']());}}}(a0_0x3f0a,0x2ffb4));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x2fca94 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';function a0_0x3dbf(_0x57112c,_0x188020){const _0x3f0ab1=a0_0x3f0a();return a0_0x3dbf=function(_0x3dbfbe,_0x4057db){_0x3dbfbe=_0x3dbfbe-0xb7;let _0xf081c1=_0x3f0ab1[_0x3dbfbe];return _0xf081c1;},a0_0x3dbf(_0x57112c,_0x188020);}import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x248fcf(0xc1);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;function a0_0x3f0a(){const _0x9cdf21=['11268rKwVkC','FRONT_END','content','7oOnnNM','data','hamburger','6dfUdIo','appName','dynamic-menu-part','2772qGjOQM','lite-menu-part','402GLwdTq','active','portrait','rank','48609mtOFOl','meta[name=\x22application-name\x22]','16649581uhEBLf','filter','UPDATE_META_UI','40hmzyqw','query','1451048kKyJRo','57836rKjhvj','liteMenus','710ejInON','20665bokuAj','querySelector','18498xXSeHe','HEADERBAR','dispatch','landscape'];a0_0x3f0a=function(){return _0x9cdf21;};return a0_0x3f0a();}export async function setupMenuPart(_0x2834a0){const _0x14fb13=a0_0x248fcf;var {hovering:_0x715f2e=!!isMobileDevice(),slotTemplate:_0x23a7cb,portraitSlotTemplate:_0x4f91dd,landscapeSlotTemplate:_0x3d2a3e,position:_0x4b680e=VIEWPART_POSITION['NAVBAR']}=_0x2834a0||{};const {hovering:_0x37f50f}=(await clientSettingStore['get']('dynamic-menu'))?.['value']||{};void 0x0!==_0x37f50f&&(_0x715f2e=_0x37f50f);const _0x3517a8=_0x4b680e==VIEWPART_POSITION[_0x14fb13(0xcb)]?_0x14fb13(0xcd):_0x14fb13(0xbb),_0x46ed78=('landscape'==_0x3517a8?_0x3d2a3e:_0x4f91dd)||_0x23a7cb||html``;appendViewpart({'name':_0x14fb13(0xb8),'viewpart':{'show':!_0x715f2e,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x715f2e,'template':html`<dynamic-menu-part .orientation=${_0x3517a8}>${_0x46ed78}</dynamic-menu-part>`},'position':_0x4b680e}),_0x715f2e&&_0x14fb13(0xbb)==_0x3517a8?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
- <mwc-icon @click=${_0x4d869e=>toggleOverlay(_0x14fb13(0xd6),{'backdrop':!0x0})}
1
+ const a0_0xd68625=a0_0x4888;(function(_0x586249,_0x1dcc1e){const _0xf349bd=a0_0x4888,_0x1254bb=_0x586249();while(!![]){try{const _0x4429d5=parseInt(_0xf349bd(0x123))/0x1+-parseInt(_0xf349bd(0x109))/0x2*(-parseInt(_0xf349bd(0x10c))/0x3)+parseInt(_0xf349bd(0x107))/0x4+-parseInt(_0xf349bd(0x115))/0x5+parseInt(_0xf349bd(0x116))/0x6*(-parseInt(_0xf349bd(0x11b))/0x7)+parseInt(_0xf349bd(0x122))/0x8+parseInt(_0xf349bd(0x111))/0x9*(-parseInt(_0xf349bd(0x121))/0xa);if(_0x4429d5===_0x1dcc1e)break;else _0x1254bb['push'](_0x1254bb['shift']());}catch(_0x8e85ab){_0x1254bb['push'](_0x1254bb['shift']());}}}(a0_0x1517,0x8fd17));function a0_0x1517(){const _0x385f51=['appName','get','landscape','119nsbjyH','data','hamburger','FRONT_END','items','content','20KQGYfV','1807984ZDQOMr','770157rcMKIm','meta[name=\x22application-name\x22]','dispatch','liteMenus','lite-menu-part','NAVBAR','4479140RkhKZR','dynamic-menu-part','5092SdXyXl','UPDATE_META_MENU_TEMPLATE','rank','999egkXPD','query','UPDATE_META_UI','HEADERBAR','active','6306435AauPcO','value','portrait','dynamic-menu','1802760XjTKLW','216246umIiZE','querySelector'];a0_0x1517=function(){return _0x385f51;};return a0_0x1517();}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0xc092b8 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0x4888(_0x1c93b0,_0x18e56c){const _0x151724=a0_0x1517();return a0_0x4888=function(_0x488843,_0x364cbf){_0x488843=_0x488843-0x106;let _0x15f549=_0x151724[_0x488843];return _0x15f549;},a0_0x4888(_0x1c93b0,_0x18e56c);}import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0xd68625(0x10e);export const UPDATE_META_MENU_TEMPLATE=a0_0xd68625(0x10a);var HAMBURGER;export async function setupMenuPart(_0xe35654){const _0x1c9953=a0_0xd68625;var {hovering:_0x4b66fb=!!isMobileDevice(),slotTemplate:_0x25537a,portraitSlotTemplate:_0x549bae,landscapeSlotTemplate:_0x5d49c0,position:_0x4e7b14=VIEWPART_POSITION[_0x1c9953(0x106)]}=_0xe35654||{};const {hovering:_0xe056dc}=(await clientSettingStore[_0x1c9953(0x119)](_0x1c9953(0x114)))?.[_0x1c9953(0x112)]||{};void 0x0!==_0xe056dc&&(_0x4b66fb=_0xe056dc);const _0x1d2abb=_0x4e7b14==VIEWPART_POSITION[_0x1c9953(0x10f)]?_0x1c9953(0x11a):'portrait',_0x24e512=(_0x1c9953(0x11a)==_0x1d2abb?_0x5d49c0:_0x549bae)||_0x25537a||html``;appendViewpart({'name':_0x1c9953(0x127),'viewpart':{'show':!_0x4b66fb,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4b66fb,'template':html`<dynamic-menu-part .orientation=${_0x1d2abb}>${_0x24e512}</dynamic-menu-part>`},'position':_0x4e7b14}),_0x4b66fb&&_0x1c9953(0x113)==_0x1d2abb?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
+ <mwc-icon @click=${_0x38be4c=>toggleOverlay(_0x1c9953(0x108),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x14fb13(0xcf)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x14fb13(0xcc)]({'type':REMOVE_APP_TOOL,'name':_0x14fb13(0xd3)}),HAMBURGER=null);}export async function updateMenuTemplate(_0xb4fc37){const _0x23b867=a0_0x248fcf;var _0x2c1787=document[_0x23b867(0xc9)](_0x23b867(0xbe))?.[_0x23b867(0xd0)],_0x77b000=(await client[_0x23b867(0xc3)]({'query':a0_0x2fca94`
4
+ `,'position':TOOL_POSITION[_0x1c9953(0x11e)]},store[_0x1c9953(0x125)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1c9953(0x125)]({'type':REMOVE_APP_TOOL,'name':_0x1c9953(0x11d)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x468351){const _0x4be8d9=a0_0xd68625;var _0xa23d4b=document[_0x4be8d9(0x117)](_0x4be8d9(0x124))?.[_0x4be8d9(0x120)],_0x6005f0=(await client[_0x4be8d9(0x10d)]({'query':a0_0xc092b8`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x248fcf=a0_0x3dbf;(function(_0x238996,_0x2fa541){const _0x5c3827=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x23b867(0xba),'operator':'eq','value':!0x0},{'name':_0x23b867(0xd5),'operator':'in','value':['',_0x2c1787]}],'sortings':[{'name':_0x23b867(0xbc),'desc':!0x1}]}}))[_0x23b867(0xd2)][_0x23b867(0xc6)]['items'];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x77b000[_0x23b867(0xc0)](_0x4eaad5=>!_0x4eaad5['appName']||_0x4eaad5[_0x23b867(0xd5)]===_0x2c1787),'template':_0xb4fc37});}
23
+ `,'variables':{'filters':[{'name':_0x4be8d9(0x110),'operator':'eq','value':!0x0},{'name':_0x4be8d9(0x118),'operator':'in','value':['',_0xa23d4b]}],'sortings':[{'name':_0x4be8d9(0x10b),'desc':!0x1}]}}))[_0x4be8d9(0x11c)][_0x4be8d9(0x126)][_0x4be8d9(0x11f)];store[_0x4be8d9(0x125)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x6005f0['filter'](_0x1ae7ab=>!_0x1ae7ab[_0x4be8d9(0x118)]||_0x1ae7ab[_0x4be8d9(0x118)]===_0xa23d4b),'template':_0x468351});}
@@ -1 +1 @@
1
- const a0_0x143e4d=a0_0x57a2;function a0_0x57a2(_0x1083cc,_0x25c38d){const _0x146e00=a0_0x146e();return a0_0x57a2=function(_0x57a256,_0x49dd2d){_0x57a256=_0x57a256-0x184;let _0x3b4229=_0x146e00[_0x57a256];return _0x3b4229;},a0_0x57a2(_0x1083cc,_0x25c38d);}(function(_0xc659bb,_0x507f7e){const _0x55eb6c=a0_0x57a2,_0x297c02=_0xc659bb();while(!![]){try{const _0x5958d9=parseInt(_0x55eb6c(0x196))/0x1+parseInt(_0x55eb6c(0x1aa))/0x2*(parseInt(_0x55eb6c(0x1a9))/0x3)+parseInt(_0x55eb6c(0x188))/0x4+parseInt(_0x55eb6c(0x1ac))/0x5*(-parseInt(_0x55eb6c(0x1a4))/0x6)+parseInt(_0x55eb6c(0x184))/0x7+parseInt(_0x55eb6c(0x187))/0x8+-parseInt(_0x55eb6c(0x19a))/0x9*(parseInt(_0x55eb6c(0x19d))/0xa);if(_0x5958d9===_0x507f7e)break;else _0x297c02['push'](_0x297c02['shift']());}catch(_0x514b7c){_0x297c02['push'](_0x297c02['shift']());}}}(a0_0x146e,0xb52e7));import{MetaApi}from'./../utils/meta-api';function a0_0x146e(){const _0x10bf20=['14959053OIHdZp','params','getAndParseMenuMeta','10kDLTJx','title','is_popup','getParams','isPage','isPopup','parseBasicButtonConfigs','255498dSQEBR','after','parseBasicFormConfigs','title_detail','pageUpdated','12GEREZp','680462lHXSFo','setParentId','125pTlwOI','parseBasicServiceConfigs','6274002apQenV','callScenario','isEmpty','9167904kReVTk','81844INxPNy','excuteOpenPopupButtonClick','parseBasicTabConfigs','fetchHandler','is_detail','name','active','menuInfo','split','grist','filterForm','isDetail','isNotEmpty','lifecycle','45152KSERcc','properties','parent_id','etcConfig'];a0_0x146e=function(){return _0x10bf20;};return a0_0x146e();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x271f73=>class extends _0x271f73{static get[a0_0x143e4d(0x197)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x176464=>Boolean(_0x176464)},'is_popup':{'type':Boolean,'converter':_0x4b54c4=>Boolean(_0x4b54c4)},'is_activity':{'type':Boolean,'converter':_0x3ae3af=>Boolean(_0x3ae3af)},'is_readonly':{'type':Boolean,'converter':_0x3f60d4=>Boolean(_0x3f60d4)}};}get['isElement'](){const _0x8f9655=a0_0x143e4d;return!0x0===this['is_detail']||!0x0===this[_0x8f9655(0x19f)];}get[a0_0x143e4d(0x193)](){const _0x2454a0=a0_0x143e4d;return!ValueUtil[_0x2454a0(0x186)](this[_0x2454a0(0x18c)])&&this[_0x2454a0(0x18c)];}async[a0_0x143e4d(0x1a8)](_0x25397e,_0x3b7b3c,_0x5cd9b1){const _0x414db8=a0_0x143e4d;let _0x23c7c5=this[_0x414db8(0x195)]?.[_0x414db8(0x19b)]?this[_0x414db8(0x195)]['params']:{};this['isPage']&&this['active']&&0x0==_0x5cd9b1[_0x414db8(0x18e)]&&ValueUtil[_0x414db8(0x194)](_0x23c7c5)&&this['fetch']();}get[a0_0x143e4d(0x1a2)](){const _0x33d45f=a0_0x143e4d;return!ValueUtil[_0x33d45f(0x186)](this['is_popup'])&&this[_0x33d45f(0x19f)];}get[a0_0x143e4d(0x1a1)](){const _0x49eee9=a0_0x143e4d;return!this[_0x49eee9(0x18c)]&&!this[_0x49eee9(0x19f)];}async[a0_0x143e4d(0x19c)](){const _0x40d2ed=a0_0x143e4d;let _0x26bc43=await MetaApi['getMenuMeta'](this);_0x26bc43&&(this[_0x40d2ed(0x18f)]=_0x26bc43['menu'],this[_0x40d2ed(0x199)]=_0x26bc43['etc'],this['parseBasicGridConfigs']&&this['parseBasicGridConfigs'](_0x26bc43),this['parseBasicServiceConfigs']&&this[_0x40d2ed(0x1ad)](_0x26bc43),this[_0x40d2ed(0x1a6)]&&this['parseBasicFormConfigs'](_0x26bc43),this[_0x40d2ed(0x18a)]&&this[_0x40d2ed(0x18a)](_0x26bc43),this[_0x40d2ed(0x1a3)]&&this[_0x40d2ed(0x1a3)](_0x26bc43));}async['fetch'](){const _0x2b3256=a0_0x143e4d;ValueUtil[_0x2b3256(0x194)](this[_0x2b3256(0x191)])?this[_0x2b3256(0x191)]['fetch']():(ValueUtil[_0x2b3256(0x194)](this[_0x2b3256(0x192)])||this[_0x2b3256(0x18b)])&&await this[_0x2b3256(0x18b)]();}async[a0_0x143e4d(0x189)](_0x1e6e99,_0x15d7ed,_0x4a25b5){const _0x44ccf8=a0_0x143e4d;let _0x478ebe=TermsUtil['tTitle'](_0x1e6e99[_0x44ccf8(0x19e)]);ValueUtil[_0x44ccf8(0x194)](_0x1e6e99[_0x44ccf8(0x1a7)])&&(_0x478ebe=_0x478ebe+'-'+ValueUtil[_0x44ccf8(0x1a0)](_0x15d7ed,..._0x1e6e99[_0x44ccf8(0x1a7)][_0x44ccf8(0x190)]('.'))),MetaApi['openDynamicPopup'](_0x478ebe,_0x1e6e99,_0x15d7ed,_0x4a25b5);}async['executeCallScenarioButtonClick'](_0x4ebeca,_0x1e0bbb,_0x519df3){const _0x27bd7e=a0_0x143e4d;let _0x4b1c8f=await MetaApi[_0x27bd7e(0x185)](_0x4ebeca[_0x27bd7e(0x18d)],_0x4ebeca[_0x27bd7e(0x18d)],_0x1e0bbb);!0x1!==_0x4b1c8f&&!_0x4b1c8f['errors']&&ValueUtil[_0x27bd7e(0x194)](_0x4ebeca[_0x27bd7e(0x1a5)])&&_0x519df3();}[a0_0x143e4d(0x1ab)](_0x1a3f99){const _0x37852c=a0_0x143e4d;this[_0x37852c(0x198)]=_0x1a3f99,this['fetch']();}};
1
+ function a0_0x3d05(_0x1326e9,_0x1bf581){const _0x38ff43=a0_0x38ff();return a0_0x3d05=function(_0x3d05c3,_0x4c7ffe){_0x3d05c3=_0x3d05c3-0x6f;let _0x448f41=_0x38ff43[_0x3d05c3];return _0x448f41;},a0_0x3d05(_0x1326e9,_0x1bf581);}const a0_0x35a499=a0_0x3d05;(function(_0x8ec5c5,_0x770392){const _0x1d384d=a0_0x3d05,_0x1cd4d4=_0x8ec5c5();while(!![]){try{const _0x25bd52=parseInt(_0x1d384d(0x8b))/0x1+parseInt(_0x1d384d(0x78))/0x2*(-parseInt(_0x1d384d(0x73))/0x3)+-parseInt(_0x1d384d(0x9a))/0x4*(-parseInt(_0x1d384d(0x92))/0x5)+-parseInt(_0x1d384d(0x7c))/0x6*(parseInt(_0x1d384d(0x7e))/0x7)+-parseInt(_0x1d384d(0x7d))/0x8+-parseInt(_0x1d384d(0x82))/0x9+parseInt(_0x1d384d(0x8a))/0xa;if(_0x25bd52===_0x770392)break;else _0x1cd4d4['push'](_0x1cd4d4['shift']());}catch(_0x2c86d4){_0x1cd4d4['push'](_0x1cd4d4['shift']());}}}(a0_0x38ff,0xe91ae));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x38ff(){const _0x23d532=['isPopup','params','properties','isElement','name','627516SOkrIz','openDynamicPopup','lifecycle','menu','errors','pageUpdated','filterForm','grist','parent_id','471WORSEx','getAndParseMenuMeta','setParentId','active','getMenuMeta','9928lxzXaJ','title','after','tTitle','1148646UaOUCV','8571864AtFlYZ','63spCacE','is_popup','menuInfo','isDetail','10147473SmnCtl','parseBasicTabConfigs','split','parseBasicGridConfigs','parseBasicButtonConfigs','etc','etcConfig','isNotEmpty','48705900xDmVxU','1110wVMtnC','isPage','parseBasicServiceConfigs','callScenario','is_detail','title_detail','fetch','25vFYaIc','fetchHandler','parseBasicFormConfigs'];a0_0x38ff=function(){return _0x23d532;};return a0_0x38ff();}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x67a3d7=>class extends _0x67a3d7{static get[a0_0x35a499(0x97)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x1d0936=>Boolean(_0x1d0936)},'is_popup':{'type':Boolean,'converter':_0x3e0b1f=>Boolean(_0x3e0b1f)},'is_activity':{'type':Boolean,'converter':_0x200e01=>Boolean(_0x200e01)},'is_readonly':{'type':Boolean,'converter':_0x757aac=>Boolean(_0x757aac)}};}get[a0_0x35a499(0x98)](){const _0x374295=a0_0x35a499;return!0x0===this['is_detail']||!0x0===this[_0x374295(0x7f)];}get[a0_0x35a499(0x81)](){const _0x97ea48=a0_0x35a499;return!ValueUtil['isEmpty'](this[_0x97ea48(0x8f)])&&this['is_detail'];}async[a0_0x35a499(0x6f)](_0x4ea8c0,_0x2ae1ad,_0x143267){const _0x29cc20=a0_0x35a499;let _0x283fec=this[_0x29cc20(0x9c)]?.[_0x29cc20(0x96)]?this[_0x29cc20(0x9c)][_0x29cc20(0x96)]:{};this[_0x29cc20(0x8c)]&&this[_0x29cc20(0x76)]&&0x0==_0x143267[_0x29cc20(0x76)]&&ValueUtil['isNotEmpty'](_0x283fec)&&this[_0x29cc20(0x91)]();}get[a0_0x35a499(0x95)](){const _0x18d026=a0_0x35a499;return!ValueUtil['isEmpty'](this[_0x18d026(0x7f)])&&this[_0x18d026(0x7f)];}get[a0_0x35a499(0x8c)](){const _0x2449f3=a0_0x35a499;return!this[_0x2449f3(0x8f)]&&!this[_0x2449f3(0x7f)];}async[a0_0x35a499(0x74)](){const _0x2e1a06=a0_0x35a499;let _0x36a994=await MetaApi[_0x2e1a06(0x77)](this);_0x36a994&&(this[_0x2e1a06(0x80)]=_0x36a994[_0x2e1a06(0x9d)],this[_0x2e1a06(0x88)]=_0x36a994[_0x2e1a06(0x87)],this[_0x2e1a06(0x85)]&&this['parseBasicGridConfigs'](_0x36a994),this[_0x2e1a06(0x8d)]&&this['parseBasicServiceConfigs'](_0x36a994),this[_0x2e1a06(0x94)]&&this[_0x2e1a06(0x94)](_0x36a994),this[_0x2e1a06(0x83)]&&this[_0x2e1a06(0x83)](_0x36a994),this[_0x2e1a06(0x86)]&&this[_0x2e1a06(0x86)](_0x36a994));}async[a0_0x35a499(0x91)](){const _0x320d07=a0_0x35a499;ValueUtil[_0x320d07(0x89)](this[_0x320d07(0x71)])?this['grist'][_0x320d07(0x91)]():(ValueUtil[_0x320d07(0x89)](this[_0x320d07(0x70)])||this[_0x320d07(0x93)])&&await this[_0x320d07(0x93)]();}async['excuteOpenPopupButtonClick'](_0x5e54f8,_0x810e27,_0xd23520){const _0x4b564e=a0_0x35a499;let _0x27513e=TermsUtil[_0x4b564e(0x7b)](_0x5e54f8[_0x4b564e(0x79)]);ValueUtil['isNotEmpty'](_0x5e54f8[_0x4b564e(0x90)])&&(_0x27513e=_0x27513e+'-'+ValueUtil['getParams'](_0x810e27,..._0x5e54f8[_0x4b564e(0x90)][_0x4b564e(0x84)]('.'))),MetaApi[_0x4b564e(0x9b)](_0x27513e,_0x5e54f8,_0x810e27,_0xd23520);}async['executeCallScenarioButtonClick'](_0x443b22,_0x380ede,_0x472808){const _0x311548=a0_0x35a499;let _0x49ba3e=await MetaApi[_0x311548(0x8e)](_0x443b22[_0x311548(0x99)],_0x443b22[_0x311548(0x99)],_0x380ede);!0x1!==_0x49ba3e&&!_0x49ba3e[_0x311548(0x9e)]&&ValueUtil[_0x311548(0x89)](_0x443b22[_0x311548(0x7a)])&&_0x472808();}[a0_0x35a499(0x75)](_0x25be76){const _0x2c4502=a0_0x35a499;this[_0x2c4502(0x72)]=_0x25be76,this['fetch']();}};
@@ -1,4 +1,4 @@
1
- const a0_0x5b3ab9=a0_0x43d3;(function(_0x569674,_0x3f65c2){const _0x53f797=a0_0x43d3,_0x4b1d35=_0x569674();while(!![]){try{const _0xbb584c=-parseInt(_0x53f797(0x11e))/0x1+-parseInt(_0x53f797(0x119))/0x2*(parseInt(_0x53f797(0x125))/0x3)+parseInt(_0x53f797(0x141))/0x4*(-parseInt(_0x53f797(0x146))/0x5)+-parseInt(_0x53f797(0x151))/0x6+-parseInt(_0x53f797(0x136))/0x7*(parseInt(_0x53f797(0x150))/0x8)+-parseInt(_0x53f797(0x11b))/0x9+parseInt(_0x53f797(0x148))/0xa*(parseInt(_0x53f797(0x142))/0xb);if(_0xbb584c===_0x3f65c2)break;else _0x4b1d35['push'](_0x4b1d35['shift']());}catch(_0x371705){_0x4b1d35['push'](_0x4b1d35['shift']());}}}(a0_0x815e,0x8a10d));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x43d3(_0x510701,_0xf91666){const _0x815ec6=a0_0x815e();return a0_0x43d3=function(_0x43d321,_0x24ab1d){_0x43d321=_0x43d321-0x116;let _0x4fb0bb=_0x815ec6[_0x43d321];return _0x4fb0bb;},a0_0x43d3(_0x510701,_0xf91666);}function a0_0x815e(){const _0x241660=['menuInfo','updateMultiple','168535tKhoWC','render','forEach','getContextObject','import','getButtonContainer','find','704703aFRwWU','patchesForUpdateMultiple','fetch','getParams','firstUpdated','connectedCallback','___data','gristId','parseBasicGridConfigs','styles','gridColumnConfig','isNotEmpty','filterFormId','renderRoot','isPage','startsWith','parse','109858jSxzbg','parseGridConfigSet','context','keys','clear','search','querySelector','getData','properties','dataSet','findOne','24FUDuym','385wpSXIN','filterForm','title','exportableData','725225boGkYX','ox-grist','1007330YciwAM','isElement','getBasicGristStyles','stringify','getAndParseMenuMeta','pageInitialized','parseGristConfigs','grist','328EFNoCS','2437224iYLprf','grid_column','activityDataSet','searchConfig','6GyMhQY','getSelectedIdList','1502748IGSGsb'];a0_0x815e=function(){return _0x241660;};return a0_0x815e();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x5bfd2b=>class extends MetaButtonMixin(_0x5bfd2b){static get[a0_0x5b3ab9(0x12e)](){const _0x181ca5=a0_0x5b3ab9;return MetaApi[_0x181ca5(0x14a)]();}static get[a0_0x5b3ab9(0x13e)](){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_0x5b3ab9(0x14f)](){const _0x4d90c1=a0_0x5b3ab9;return this[_0x4d90c1(0x132)]?.[_0x4d90c1(0x13c)](this[_0x4d90c1(0x12c)]);}get[a0_0x5b3ab9(0x143)](){const _0x4fb98f=a0_0x5b3ab9;return this['shadowRoot']?.[_0x4fb98f(0x13c)](this[_0x4fb98f(0x131)]);}get[a0_0x5b3ab9(0x138)](){const _0x539e1a=a0_0x5b3ab9;return MetaUiUtil[_0x539e1a(0x121)](this);}async[a0_0x5b3ab9(0x12a)](){const _0x254b3f=a0_0x5b3ab9;this['gristId']=_0x254b3f(0x147),this[_0x254b3f(0x131)]='ox-filters-form',await this[_0x254b3f(0x14c)](),this['isElement']&&await this[_0x254b3f(0x14e)](),this[_0x254b3f(0x117)]&&(this[_0x254b3f(0x13f)]=this['activityDataSet']),super['connectedCallback']&&await super[_0x254b3f(0x12a)]();}async[a0_0x5b3ab9(0x129)](){const _0x28b2ec=a0_0x5b3ab9;super[_0x28b2ec(0x129)]&&await super[_0x28b2ec(0x129)]();}async['pageInitialized'](){const _0x415c7b=a0_0x5b3ab9;this[_0x415c7b(0x133)]&&await this['parseGristConfigs'](),super[_0x415c7b(0x14d)]&&await super[_0x415c7b(0x14d)]();}[a0_0x5b3ab9(0x11f)](){const _0x4eae36=a0_0x5b3ab9;return html`
1
+ const a0_0x3602ba=a0_0x5910;function a0_0x13e1(){const _0xe9795d=['filterForm','910320RMYUfS','title','deleteByIds','6632OPusrt','1930xMApXa','updateMultiple','ox-filters-form','styles','grist','getContextObject','gristConfigSet','save','tTitle','isPage','gristId','1020699KeNVbV','searchConfig','startsWith','49924xUTMZy','export','parseBasicGridConfigs','gridConfig','menuInfo','records','render','isElement','shadowRoot','connectedCallback','1551663rtUCZR','firstUpdated','isNotEmpty','dataSet','keys','pageInitialized','querySelector','parseGristConfigs','delete','grid_column','findOne','23592qRbrZF','49dUtZBR','properties','39413nIafZn','fetch','exportableData','parseGridConfigSet','clear','find','getAndParseMenuMeta','getBasicGristStyles','43HtqYiX','210zTFpTQ','activityDataSet','getSelectedIdList','filterFormId','search'];a0_0x13e1=function(){return _0xe9795d;};return a0_0x13e1();}(function(_0xf5b970,_0x4e0adf){const _0x933cc7=a0_0x5910,_0x349d1b=_0xf5b970();while(!![]){try{const _0x16d0e3=parseInt(_0x933cc7(0x185))/0x1*(-parseInt(_0x933cc7(0x18f))/0x2)+parseInt(_0x933cc7(0x1a8))/0x3+-parseInt(_0x933cc7(0x19e))/0x4*(parseInt(_0x933cc7(0x186))/0x5)+-parseInt(_0x933cc7(0x18c))/0x6+parseInt(_0x933cc7(0x17b))/0x7*(parseInt(_0x933cc7(0x17a))/0x8)+-parseInt(_0x933cc7(0x19b))/0x9+parseInt(_0x933cc7(0x190))/0xa*(parseInt(_0x933cc7(0x17d))/0xb);if(_0x16d0e3===_0x4e0adf)break;else _0x349d1b['push'](_0x349d1b['shift']());}catch(_0x3317c5){_0x349d1b['push'](_0x349d1b['shift']());}}}(a0_0x13e1,0x489f6));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x5910(_0x481a10,_0x37331e){const _0x13e185=a0_0x13e1();return a0_0x5910=function(_0x591058,_0x5e060a){_0x591058=_0x591058-0x177;let _0x35a9f8=_0x13e185[_0x591058];return _0x35a9f8;},a0_0x5910(_0x481a10,_0x37331e);}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=_0x18b997=>class extends MetaButtonMixin(_0x18b997){static get[a0_0x3602ba(0x193)](){const _0x5ad430=a0_0x3602ba;return MetaApi[_0x5ad430(0x184)]();}static get[a0_0x3602ba(0x17c)](){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 _0x1f9e17=a0_0x3602ba;return this['renderRoot']?.['querySelector'](this[_0x1f9e17(0x19a)]);}get[a0_0x3602ba(0x18b)](){const _0x133a0f=a0_0x3602ba;return this[_0x133a0f(0x1a6)]?.[_0x133a0f(0x1ae)](this[_0x133a0f(0x189)]);}get['context'](){const _0x1b365f=a0_0x3602ba;return MetaUiUtil[_0x1b365f(0x195)](this);}async[a0_0x3602ba(0x1a7)](){const _0x535a2f=a0_0x3602ba;this[_0x535a2f(0x19a)]='ox-grist',this[_0x535a2f(0x189)]=_0x535a2f(0x192),await this[_0x535a2f(0x183)](),this[_0x535a2f(0x1a5)]&&await this[_0x535a2f(0x1af)](),this[_0x535a2f(0x187)]&&(this[_0x535a2f(0x1ab)]=this['activityDataSet']),super[_0x535a2f(0x1a7)]&&await super[_0x535a2f(0x1a7)]();}async[a0_0x3602ba(0x1a9)](){const _0x57cf08=a0_0x3602ba;super[_0x57cf08(0x1a9)]&&await super[_0x57cf08(0x1a9)]();}async[a0_0x3602ba(0x1ad)](){const _0x192ff2=a0_0x3602ba;this[_0x192ff2(0x199)]&&await this[_0x192ff2(0x1af)](),super[_0x192ff2(0x1ad)]&&await super['pageInitialized']();}[a0_0x3602ba(0x1a4)](){const _0x3bb469=a0_0x3602ba;return html`
2
2
  ${MetaApi['getBasicGristHtml'](this)}
3
- ${this[_0x4eae36(0x133)]?html``:MetaUiUtil[_0x4eae36(0x123)](this)}
4
- `;}[a0_0x5b3ab9(0x12d)](_0x6552f4){const _0xeac584=a0_0x5b3ab9;this['gridConfig']=_0x6552f4['grid'],this[_0xeac584(0x12f)]=_0x6552f4[_0xeac584(0x116)],this[_0xeac584(0x118)]=_0x6552f4[_0xeac584(0x13b)];}async[a0_0x5b3ab9(0x14e)](){const _0x1be76d=a0_0x5b3ab9;this['gristConfigSet']=await MetaApi[_0x1be76d(0x137)](this);}async[a0_0x5b3ab9(0x127)](){const _0x49130c=a0_0x5b3ab9;await this['grist'][_0x49130c(0x127)]();}async['save'](){const _0x5232d2=a0_0x5b3ab9;let _0x3febe1=MetaApi[_0x5232d2(0x126)](this[_0x5232d2(0x14f)]);!!ValueUtil[_0x5232d2(0x130)](_0x3febe1)&&await this[_0x5232d2(0x11d)](_0x3febe1)&&this[_0x5232d2(0x127)]();}async[a0_0x5b3ab9(0x124)](){const _0x1cd9d5=a0_0x5b3ab9;let _0x2b0f64=MetaApi['getSelectedIdList'](this[_0x1cd9d5(0x14f)],!0x0);return ValueUtil[_0x1cd9d5(0x130)](_0x2b0f64)?await this[_0x1cd9d5(0x140)](_0x2b0f64[0x0]):{};}async['delete'](){const _0x4c56e7=a0_0x5b3ab9;let _0x422513=MetaApi[_0x4c56e7(0x11a)](this[_0x4c56e7(0x14f)],!0x0);!!ValueUtil[_0x4c56e7(0x130)](_0x422513)&&await this['deleteByIds'](_0x422513)&&this[_0x4c56e7(0x127)]();}async['export'](){const _0x23da26=a0_0x5b3ab9;let _0x3b56f3=TermsUtil['tTitle'](ValueUtil[_0x23da26(0x128)](this[_0x23da26(0x11c)],_0x23da26(0x144)));return await MetaApi[_0x23da26(0x145)](this[_0x23da26(0x149)],_0x3b56f3,this[_0x23da26(0x14f)]);}async[a0_0x5b3ab9(0x122)](){}async[a0_0x5b3ab9(0x13a)](){const _0x3cb228=a0_0x5b3ab9;this[_0x3cb228(0x14f)]&&(this['grist']['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x5b3ab9(0x13d)](){const _0x36e8f2=a0_0x5b3ab9;let _0x295522=this['grist'][_0x36e8f2(0x12b)]['records'];return _0x295522=JSON[_0x36e8f2(0x135)](JSON[_0x36e8f2(0x14b)](_0x295522)),_0x295522[_0x36e8f2(0x120)](_0x488228=>{const _0x4aacab=_0x36e8f2;Object[_0x4aacab(0x139)](_0x488228)[_0x4aacab(0x120)](_0x52b0b2=>{const _0x5f4101=_0x4aacab;_0x52b0b2[_0x5f4101(0x134)]('__')&&delete _0x488228[_0x52b0b2];});}),_0x295522;}};
3
+ ${this[_0x3bb469(0x199)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
+ `;}[a0_0x3602ba(0x1a0)](_0x3a75f2){const _0x5cd5a6=a0_0x3602ba;this[_0x5cd5a6(0x1a1)]=_0x3a75f2['grid'],this['gridColumnConfig']=_0x3a75f2[_0x5cd5a6(0x178)],this[_0x5cd5a6(0x19c)]=_0x3a75f2[_0x5cd5a6(0x18a)];}async[a0_0x3602ba(0x1af)](){const _0x1db29a=a0_0x3602ba;this[_0x1db29a(0x196)]=await MetaApi[_0x1db29a(0x180)](this);}async[a0_0x3602ba(0x17e)](){const _0x1d95eb=a0_0x3602ba;await this['grist'][_0x1d95eb(0x17e)]();}async[a0_0x3602ba(0x197)](){const _0x43dc4a=a0_0x3602ba;let _0x2eec49=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil[_0x43dc4a(0x1aa)](_0x2eec49)&&await this[_0x43dc4a(0x191)](_0x2eec49)&&this[_0x43dc4a(0x17e)]();}async[a0_0x3602ba(0x182)](){const _0x4f298c=a0_0x3602ba;let _0x4da27d=MetaApi[_0x4f298c(0x188)](this['grist'],!0x0);return ValueUtil[_0x4f298c(0x1aa)](_0x4da27d)?await this[_0x4f298c(0x179)](_0x4da27d[0x0]):{};}async[a0_0x3602ba(0x177)](){const _0xe22f43=a0_0x3602ba;let _0x49b755=MetaApi[_0xe22f43(0x188)](this[_0xe22f43(0x194)],!0x0);!!ValueUtil['isNotEmpty'](_0x49b755)&&await this[_0xe22f43(0x18e)](_0x49b755)&&this[_0xe22f43(0x17e)]();}async[a0_0x3602ba(0x19f)](){const _0x371f20=a0_0x3602ba;let _0x55f92a=TermsUtil[_0x371f20(0x198)](ValueUtil['getParams'](this[_0x371f20(0x1a2)],_0x371f20(0x18d)));return await MetaApi[_0x371f20(0x17f)](this[_0x371f20(0x1a5)],_0x55f92a,this[_0x371f20(0x194)]);}async['import'](){}async[a0_0x3602ba(0x181)](){const _0x3bb6f1=a0_0x3602ba;this[_0x3bb6f1(0x194)]&&(this[_0x3bb6f1(0x194)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0x1cbda2=a0_0x3602ba;let _0x21e1d5=this[_0x1cbda2(0x194)]['___data'][_0x1cbda2(0x1a3)];return _0x21e1d5=JSON['parse'](JSON['stringify'](_0x21e1d5)),_0x21e1d5['forEach'](_0x338ce7=>{const _0x1df100=_0x1cbda2;Object[_0x1df100(0x1ac)](_0x338ce7)['forEach'](_0x5894ce=>{const _0xcf5f5a=_0x1df100;_0x5894ce[_0xcf5f5a(0x19d)]('__')&&delete _0x338ce7[_0x5894ce];});}),_0x21e1d5;}};
@@ -1 +1 @@
1
- const a0_0xe70b90=a0_0x2705;(function(_0x3064a9,_0x102b93){const _0x12ce96=a0_0x2705,_0x3f43f6=_0x3064a9();while(!![]){try{const _0x39f27a=-parseInt(_0x12ce96(0x203))/0x1+parseInt(_0x12ce96(0x1f4))/0x2+-parseInt(_0x12ce96(0x1ff))/0x3*(parseInt(_0x12ce96(0x1fe))/0x4)+-parseInt(_0x12ce96(0x206))/0x5+parseInt(_0x12ce96(0x1f8))/0x6*(-parseInt(_0x12ce96(0x201))/0x7)+-parseInt(_0x12ce96(0x1f7))/0x8*(parseInt(_0x12ce96(0x1eb))/0x9)+parseInt(_0x12ce96(0x1f0))/0xa*(parseInt(_0x12ce96(0x1fd))/0xb);if(_0x39f27a===_0x102b93)break;else _0x3f43f6['push'](_0x3f43f6['shift']());}catch(_0x3b5a2d){_0x3f43f6['push'](_0x3f43f6['shift']());}}}(a0_0x12a6,0x48443));function a0_0x2705(_0x3f16dc,_0x3cd228){const _0x12a60f=a0_0x12a6();return a0_0x2705=function(_0x270543,_0x4c4c31){_0x270543=_0x270543-0x1eb;let _0x50764f=_0x12a60f[_0x270543];return _0x50764f;},a0_0x2705(_0x3f16dc,_0x3cd228);}import{html}from'lit';function a0_0x12a6(){const _0x5bfa46=['33KCcnKr','useButtonExport','116137ZHXjKG','isPage','230257JSYVlX','getCustomButtonContainerStyle','getBasicButtonHandler','1182965icITjb','add','35001rSGfeR','gristButtonHandler','customButtonHandler','useButtonImport','getButtonContainer','10GQlypk','properties','buttonConfig','getContextButtons','982380KARdpA','import','export','976CWOyWB','156TDJNBT','parseBasicButtonConfigs','getCustomButtonContainerStyles','isButtonExist','useButtonAdd','15305323MlFjiD','77784QQJFjX'];a0_0x12a6=function(){return _0x5bfa46;};return a0_0x12a6();}import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x2d7129=>class extends MetaServiceMixin(_0x2d7129){static get[a0_0xe70b90(0x1f1)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0xe70b90(0x204)](){const _0x2ae20d=a0_0xe70b90;return MetaUiUtil[_0x2ae20d(0x1fa)]();}[a0_0xe70b90(0x1f3)](){return MetaUiUtil['getContextButtons'](this);}[a0_0xe70b90(0x1ef)](){const _0xdfd20b=a0_0xe70b90;return this[_0xdfd20b(0x202)]?html``:MetaUiUtil[_0xdfd20b(0x1ef)](this);}async[a0_0xe70b90(0x205)](_0x276c5c,_0x2bae0e,_0x41e4a6){return await MetaUiUtil['getButtonActionHandler'](this,_0x276c5c,_0x2bae0e,_0x41e4a6);}async['customButtonHandler'](_0x3a59c1){const _0x175f99=a0_0xe70b90;await MetaUiUtil[_0x175f99(0x1ed)](this,_0x3a59c1);}async['gristButtonHandler'](_0x5525c5,_0x3e0313){const _0x58f5c7=a0_0xe70b90;await MetaUiUtil[_0x58f5c7(0x1ec)](this,_0x5525c5,_0x3e0313);}[a0_0xe70b90(0x1f9)](_0x9eaf92){const _0x51fac0=a0_0xe70b90;this['buttonConfig']=_0x9eaf92['button'],this[_0x51fac0(0x1ee)]=MetaUiUtil[_0x51fac0(0x1fb)](this['buttonConfig'],_0x51fac0(0x1f5)),this[_0x51fac0(0x200)]=MetaUiUtil[_0x51fac0(0x1fb)](this[_0x51fac0(0x1f2)],_0x51fac0(0x1f6)),this[_0x51fac0(0x1fc)]=MetaUiUtil[_0x51fac0(0x1fb)](this[_0x51fac0(0x1f2)],_0x51fac0(0x207));}};
1
+ const a0_0x5c885d=a0_0x2f8e;(function(_0x16ccc4,_0xbc06f7){const _0x1a9eae=a0_0x2f8e,_0xd19590=_0x16ccc4();while(!![]){try{const _0x2fb8cd=parseInt(_0x1a9eae(0x118))/0x1*(-parseInt(_0x1a9eae(0x108))/0x2)+parseInt(_0x1a9eae(0x11f))/0x3+parseInt(_0x1a9eae(0x112))/0x4+parseInt(_0x1a9eae(0x11e))/0x5*(-parseInt(_0x1a9eae(0x110))/0x6)+parseInt(_0x1a9eae(0x10e))/0x7+-parseInt(_0x1a9eae(0x117))/0x8*(-parseInt(_0x1a9eae(0x11c))/0x9)+-parseInt(_0x1a9eae(0x119))/0xa*(parseInt(_0x1a9eae(0x111))/0xb);if(_0x2fb8cd===_0xbc06f7)break;else _0xd19590['push'](_0xd19590['shift']());}catch(_0x1bf957){_0xd19590['push'](_0xd19590['shift']());}}}(a0_0x1ab7,0xeb731));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x2f8e(_0xa22905,_0x44261d){const _0x1ab7f7=a0_0x1ab7();return a0_0x2f8e=function(_0x2f8e9a,_0x2fb1d4){_0x2f8e9a=_0x2f8e9a-0x108;let _0xef8bc5=_0x1ab7f7[_0x2f8e9a];return _0xef8bc5;},a0_0x2f8e(_0xa22905,_0x44261d);}import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x1ab7(){const _0x47e297=['getBasicButtonHandler','getCustomButtonContainerStyles','useButtonExport','4016KGwcll','11766uGpqWG','2550kOXlqw','useButtonAdd','getCustomButtonContainerStyle','25614sEiTZG','customButtonHandler','40DlRNBu','1110990KQaKvJ','getButtonActionHandler','export','188TZFkAc','buttonConfig','button','getContextButtons','gristButtonHandler','add','13414387TxpYzd','getButtonContainer','89382dHFxAX','132220mETjLb','6157272Szgjhm','isButtonExist'];a0_0x1ab7=function(){return _0x47e297;};return a0_0x1ab7();}export const MetaButtonMixin=_0x25d6d2=>class extends MetaServiceMixin(_0x25d6d2){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x5c885d(0x11b)](){const _0x4c7421=a0_0x5c885d;return MetaUiUtil[_0x4c7421(0x115)]();}[a0_0x5c885d(0x10b)](){const _0x40fa40=a0_0x5c885d;return MetaUiUtil[_0x40fa40(0x10b)](this);}['getButtonContainer'](){const _0xb5c9eb=a0_0x5c885d;return this['isPage']?html``:MetaUiUtil[_0xb5c9eb(0x10f)](this);}async[a0_0x5c885d(0x114)](_0x39c246,_0x4a57ec,_0x22d235){const _0x46fcc7=a0_0x5c885d;return await MetaUiUtil[_0x46fcc7(0x120)](this,_0x39c246,_0x4a57ec,_0x22d235);}async['customButtonHandler'](_0x55f4ad){const _0x5e9913=a0_0x5c885d;await MetaUiUtil[_0x5e9913(0x11d)](this,_0x55f4ad);}async[a0_0x5c885d(0x10c)](_0x279be0,_0x30d89e){await MetaUiUtil['gristButtonHandler'](this,_0x279be0,_0x30d89e);}['parseBasicButtonConfigs'](_0x39d504){const _0xe2159c=a0_0x5c885d;this[_0xe2159c(0x109)]=_0x39d504[_0xe2159c(0x10a)],this['useButtonImport']=MetaUiUtil[_0xe2159c(0x113)](this['buttonConfig'],'import'),this[_0xe2159c(0x116)]=MetaUiUtil['isButtonExist'](this[_0xe2159c(0x109)],_0xe2159c(0x121)),this[_0xe2159c(0x11a)]=MetaUiUtil[_0xe2159c(0x113)](this[_0xe2159c(0x109)],_0xe2159c(0x10d));}};
@@ -1 +1 @@
1
- const a0_0x5196c3=a0_0x3cbc;(function(_0x32a76e,_0x3fd99e){const _0x43d0ac=a0_0x3cbc,_0x18c448=_0x32a76e();while(!![]){try{const _0x3a2833=parseInt(_0x43d0ac(0x1fb))/0x1+-parseInt(_0x43d0ac(0x1d7))/0x2*(-parseInt(_0x43d0ac(0x1ed))/0x3)+-parseInt(_0x43d0ac(0x1d6))/0x4+parseInt(_0x43d0ac(0x1d3))/0x5*(-parseInt(_0x43d0ac(0x1eb))/0x6)+parseInt(_0x43d0ac(0x1ce))/0x7*(parseInt(_0x43d0ac(0x1cc))/0x8)+-parseInt(_0x43d0ac(0x1bf))/0x9*(parseInt(_0x43d0ac(0x1e8))/0xa)+-parseInt(_0x43d0ac(0x1e3))/0xb*(-parseInt(_0x43d0ac(0x1bc))/0xc);if(_0x3a2833===_0x3fd99e)break;else _0x18c448['push'](_0x18c448['shift']());}catch(_0x404360){_0x18c448['push'](_0x18c448['shift']());}}}(a0_0x5f37,0xcf554));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5f37(){const _0x20b268=['fetch','396066hrLqbG','formConfigSet','entries','setAttribute','text.NOTHING_CHANGED','10kvIyLa','getContextObject','grid_column','12828OckKrY','Esc','99GIogyS','dataSet','formColumnConfig','properties','context','styles','after','showAlertPopup','Escape','focus','getBasicFormStyles','column','renderRoot','forEach','1077750TyQLxh','stopPropagation','target','startsWith','cuFlag','call','isPage','__origin__','dirtyData','firstUpdated','filter','true','before','keydown','patchData','clear','__dirty__','isEmpty','isNotEmpty','removeAttribute','currentTarget','444zrlYGR','addEventListener','pageInitialized','7866423BlhMIp','click','editable','__seq__','editing','assign','getBasicFormHtml','parent_id','__dirtyfields__','currentData','title.info','validation','parseFormConfigs','104xgWXvY','form','487270AzAcKg','parseBasicFormConfigs','button','activity','isElement','3005XChpDj','map','isEquals','1699416snRNUO','7162IMjRgO','OX-GRID-FIELD','record','render','activityDataSet','removeGarbageData','connectedCallback','function','name','formRenderConfig','is_activity'];a0_0x5f37=function(){return _0x20b268;};return a0_0x5f37();}function a0_0x3cbc(_0x20a59a,_0x25315e){const _0x5f377c=a0_0x5f37();return a0_0x3cbc=function(_0x3cbcf5,_0x1decd3){_0x3cbcf5=_0x3cbcf5-0x1b6;let _0x28847f=_0x5f377c[_0x3cbcf5];return _0x28847f;},a0_0x3cbc(_0x20a59a,_0x25315e);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x2fcd79=>class extends MetaButtonMixin(_0x2fcd79){static get[a0_0x5196c3(0x1f2)](){const _0x51fdc5=a0_0x5196c3;return MetaApi[_0x51fdc5(0x1f7)]();}static get[a0_0x5196c3(0x1f0)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x5196c3(0x1f1)](){const _0x506d51=a0_0x5196c3;return MetaUiUtil[_0x506d51(0x1e9)](this);}async[a0_0x5196c3(0x1dd)](){const _0x1d6f63=a0_0x5196c3;if(this['config']){let {column:_0x46ca81=0x1}=this['config'];this[_0x1d6f63(0x1f8)]=_0x46ca81;}await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0x1d6f63(0x1cb)](),this[_0x1d6f63(0x1db)]&&(this[_0x1d6f63(0x1ee)]=this[_0x1d6f63(0x1db)]),!0x0!==this[_0x1d6f63(0x1e1)]||this['parent_id']||(this[_0x1d6f63(0x1c6)]=_0x1d6f63(0x1d1)),super[_0x1d6f63(0x1dd)]&&await super[_0x1d6f63(0x1dd)](),this[_0x1d6f63(0x1d2)]&&await this[_0x1d6f63(0x1e2)](),this[_0x1d6f63(0x1f9)]['addEventListener'](_0x1d6f63(0x208),_0x398a70=>{const _0x58147e=_0x1d6f63;switch(_0x398a70['key']){case _0x58147e(0x1ec):case _0x58147e(0x1f5):case'Enter':this[_0x58147e(0x1f6)](),this[_0x58147e(0x1bb)]&&this[_0x58147e(0x1bb)]['removeAttribute']('editing'),this[_0x58147e(0x1bb)]=null;}}),this[_0x1d6f63(0x1f9)][_0x1d6f63(0x1bd)](_0x1d6f63(0x1c0),_0x252d96=>{const _0x298668=_0x1d6f63;_0x252d96[_0x298668(0x1fc)]();let _0x5161c9=_0x252d96[_0x298668(0x1fd)];if(this[_0x298668(0x1bb)]&&(this['focus'](),this[_0x298668(0x1bb)][_0x298668(0x1ba)]('editing')),_0x298668(0x1d8)!==_0x5161c9['tagName']||!_0x5161c9['column'][_0x298668(0x1d9)][_0x298668(0x1c1)])return this['focus'](),void(this[_0x298668(0x1bb)]=null);this[_0x298668(0x1bb)]=_0x5161c9,_0x5161c9[_0x298668(0x1e6)](_0x298668(0x1c3),_0x298668(0x206));}),this[_0x1d6f63(0x1bd)]('field-change',_0x11bd0b=>{const _0x55db66=_0x1d6f63;var {after:_0x44eec9,before:_0x4af953,column:_0x8cdb60,record:_0x31c676,row:_0x71c429}=_0x11bd0b['detail'];if(ValueUtil[_0x55db66(0x1d5)](_0x44eec9,_0x4af953))return;var _0x327e7e=_0x8cdb60[_0x55db66(0x1ca)];if(_0x327e7e&&_0x55db66(0x1de)==typeof _0x327e7e&&!_0x327e7e[_0x55db66(0x200)](this,_0x44eec9,_0x4af953,_0x31c676,_0x8cdb60))return;let _0x387f3d=_0x8cdb60[_0x55db66(0x1df)];_0x31c676[_0x387f3d]=_0x44eec9,_0x31c676[_0x55db66(0x1c7)]=_0x31c676[_0x55db66(0x1c7)]||{},_0x31c676['__origin__']=_0x31c676[_0x55db66(0x202)]||{},_0x31c676[_0x55db66(0x1c7)][_0x387f3d]={'before':_0x31c676[_0x55db66(0x202)][_0x387f3d],'after':_0x31c676[_0x387f3d]},ValueUtil[_0x55db66(0x1d5)](_0x31c676['__dirtyfields__'][_0x387f3d][_0x55db66(0x207)],_0x31c676[_0x55db66(0x1c7)][_0x387f3d][_0x55db66(0x1f3)])&&delete _0x31c676['__dirtyfields__'][_0x387f3d],ValueUtil[_0x55db66(0x1b9)](_0x31c676[_0x55db66(0x1c7)])?_0x31c676[_0x55db66(0x1b7)]='M':_0x31c676[_0x55db66(0x1b7)]='',this[_0x55db66(0x1d9)]={..._0x31c676};});}async[a0_0x5196c3(0x204)](){const _0x4b70ea=a0_0x5196c3;super[_0x4b70ea(0x204)]&&await super[_0x4b70ea(0x204)]();}async[a0_0x5196c3(0x1be)](){const _0x2daab6=a0_0x5196c3;this[_0x2daab6(0x201)]&&await this['parseFormConfigs'](),super[_0x2daab6(0x1be)]&&await super['pageInitialized'](),this[_0x2daab6(0x201)]&&await this['fetch']();}[a0_0x5196c3(0x1da)](){const _0x34fa58=a0_0x5196c3;return MetaApi[_0x34fa58(0x1c5)](this);}[a0_0x5196c3(0x1cf)](_0x368725){const _0xa6648b=a0_0x5196c3;this[_0xa6648b(0x1ef)]=_0x368725[_0xa6648b(0x1ea)],this[_0xa6648b(0x1e0)]=_0x368725[_0xa6648b(0x1cd)],_0x368725[_0xa6648b(0x1d0)]=_0x368725[_0xa6648b(0x1d0)][_0xa6648b(0x205)](_0x15887a=>'save'==_0x15887a[_0xa6648b(0x1df)]);}async[a0_0x5196c3(0x1cb)](){const _0x10ccbd=a0_0x5196c3;this[_0x10ccbd(0x1e4)]=await MetaApi['parseFormConfigSet'](this);}get['orgData'](){const _0x1a2684=a0_0x5196c3;return this[_0x1a2684(0x1dc)](this[_0x1a2684(0x1d9)][_0x1a2684(0x202)]);}get['dirtyData'](){const _0xee6c57=a0_0x5196c3;if(ValueUtil[_0xee6c57(0x1b8)](this[_0xee6c57(0x1d9)][_0xee6c57(0x1c7)]))return{};let _0x5adad4={};return Object[_0xee6c57(0x1e5)](this['record']['__dirtyfields__'])[_0xee6c57(0x1d4)](([_0x45046e,_0x59a499])=>{const _0xd9c3b8=_0xee6c57;0x0==_0x45046e[_0xd9c3b8(0x1fe)]('__')&&(_0x5adad4[_0x45046e]=_0x59a499[_0xd9c3b8(0x1f3)]);}),_0x5adad4;}get[a0_0x5196c3(0x1c8)](){const _0x352eb6=a0_0x5196c3;return this['removeGarbageData'](this[_0x352eb6(0x1d9)]);}[a0_0x5196c3(0x1dc)](_0x501b24){const _0x12f32d=a0_0x5196c3;let _0x281552={};if(_0x501b24)return Object[_0x12f32d(0x1e5)](_0x501b24)['map'](([_0x4ac9fc,_0x229798])=>{0x0==_0x4ac9fc['startsWith']('__')&&(_0x281552[_0x4ac9fc]=_0x229798);}),_0x281552;}get[a0_0x5196c3(0x209)](){const _0x3712e6=a0_0x5196c3;let _0x4c588d=this[_0x3712e6(0x203)],_0x5c847c=this[_0x3712e6(0x1d9)];return ValueUtil[_0x3712e6(0x1b8)](_0x4c588d)?[]:(ValueUtil['isNotEmpty'](_0x5c847c['id'])?(_0x4c588d['id']=_0x5c847c['id'],_0x4c588d['cuFlag']='M'):_0x4c588d[_0x3712e6(0x1ff)]='+',Object['keys'](_0x4c588d)[_0x3712e6(0x1fa)](_0x573b0f=>{'object'==typeof _0x4c588d[_0x573b0f]&&(_0x4c588d[_0x573b0f]={'id':_0x4c588d[_0x573b0f]['id']});}),[_0x4c588d]);}async[a0_0x5196c3(0x1e2)](){const _0x3aa1a0=a0_0x5196c3;if(ValueUtil[_0x3aa1a0(0x1b8)](this[_0x3aa1a0(0x1c6)]))return;let _0x1d5e01=await this['findOne'](this[_0x3aa1a0(0x1c6)]);_0x1d5e01[_0x3aa1a0(0x1c2)]=0x1;let _0x2905ad={};Object[_0x3aa1a0(0x1c4)](_0x2905ad,_0x1d5e01),_0x1d5e01[_0x3aa1a0(0x202)]=_0x2905ad,this['record']={..._0x1d5e01};}async['save'](){const _0x5b8da2=a0_0x5196c3;let _0x73d5cd=this[_0x5b8da2(0x209)];if(ValueUtil[_0x5b8da2(0x1b8)](_0x73d5cd))return void MetaApi[_0x5b8da2(0x1f4)](_0x5b8da2(0x1c9),_0x5b8da2(0x1e7));let _0x14a7b2=await this['updateMultiple'](_0x73d5cd);return _0x14a7b2&&await this['fetch'](),_0x14a7b2;}async[a0_0x5196c3(0x1b6)](){const _0x1cf449=a0_0x5196c3;this[_0x1cf449(0x1d9)]&&(this[_0x1cf449(0x1d9)]={});}['getData'](){const _0x437314=a0_0x5196c3;return this[_0x437314(0x1c8)]||{};}};
1
+ const a0_0x37a543=a0_0x219f;(function(_0x4d7e92,_0x2f9b32){const _0x48a17f=a0_0x219f,_0x4ea633=_0x4d7e92();while(!![]){try{const _0x4b2acd=-parseInt(_0x48a17f(0x166))/0x1+-parseInt(_0x48a17f(0x149))/0x2+-parseInt(_0x48a17f(0x17e))/0x3*(-parseInt(_0x48a17f(0x151))/0x4)+parseInt(_0x48a17f(0x159))/0x5+parseInt(_0x48a17f(0x16a))/0x6*(parseInt(_0x48a17f(0x16d))/0x7)+parseInt(_0x48a17f(0x137))/0x8+parseInt(_0x48a17f(0x169))/0x9;if(_0x4b2acd===_0x2f9b32)break;else _0x4ea633['push'](_0x4ea633['shift']());}catch(_0x174986){_0x4ea633['push'](_0x4ea633['shift']());}}}(a0_0x43af,0xdda12));function a0_0x219f(_0x4bef21,_0x5200de){const _0x43af43=a0_0x43af();return a0_0x219f=function(_0x219f28,_0x2da716){_0x219f28=_0x219f28-0x135;let _0xeb9871=_0x43af43[_0x219f28];return _0xeb9871;},a0_0x219f(_0x4bef21,_0x5200de);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x43af(){const _0x46b676=['parseFormConfigSet','getAndParseMenuMeta','fetch','stopPropagation','name','4404555todAvE','getBasicFormHtml','key','editable','grid_column','forEach','setAttribute','tagName','formColumnConfig','formRenderConfig','dataSet','formConfigSet','__seq__','751678NXZHcn','isElement','__dirtyfields__','5800122XpKTxJ','718266oUQXyi','context','findOne','49exIqMF','isNotEmpty','column','validation','filter','is_activity','editing','orgData','map','connectedCallback','Esc','parent_id','parseFormConfigs','button','updateMultiple','getBasicFormStyles','focus','6012yxYtXv','detail','cuFlag','isPage','getData','__origin__','pageInitialized','showAlertPopup','dirtyData','isEquals','3351088AbGbtE','function','firstUpdated','properties','target','addEventListener','field-change','styles','currentData','Escape','activity','record','form','__dirty__','removeAttribute','save','removeGarbageData','entries','2558144iqmclj','isEmpty','keydown','activityDataSet','startsWith','keys','renderRoot','Enter','312vkluUW','config','currentTarget'];a0_0x43af=function(){return _0x46b676;};return a0_0x43af();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x35971c=>class extends MetaButtonMixin(_0x35971c){static get[a0_0x37a543(0x13e)](){const _0x220af9=a0_0x37a543;return MetaApi[_0x220af9(0x17c)]();}static get[a0_0x37a543(0x13a)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x37a543(0x16b)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x37a543(0x176)](){const _0x3d1aef=a0_0x37a543;if(this[_0x3d1aef(0x152)]){let {column:_0x45f6a0=0x1}=this[_0x3d1aef(0x152)];this['column']=_0x45f6a0;}await this[_0x3d1aef(0x155)](),this[_0x3d1aef(0x167)]&&await this['parseFormConfigs'](),this[_0x3d1aef(0x14c)]&&(this[_0x3d1aef(0x163)]=this[_0x3d1aef(0x14c)]),!0x0!==this[_0x3d1aef(0x172)]||this[_0x3d1aef(0x178)]||(this[_0x3d1aef(0x178)]=_0x3d1aef(0x141)),super[_0x3d1aef(0x176)]&&await super[_0x3d1aef(0x176)](),this[_0x3d1aef(0x167)]&&await this[_0x3d1aef(0x156)](),this[_0x3d1aef(0x14f)]['addEventListener'](_0x3d1aef(0x14b),_0x1b1369=>{const _0x446ff5=_0x3d1aef;switch(_0x1b1369[_0x446ff5(0x15b)]){case _0x446ff5(0x177):case _0x446ff5(0x140):case _0x446ff5(0x150):this['focus'](),this[_0x446ff5(0x153)]&&this[_0x446ff5(0x153)]['removeAttribute'](_0x446ff5(0x173)),this[_0x446ff5(0x153)]=null;}}),this[_0x3d1aef(0x14f)][_0x3d1aef(0x13c)]('click',_0xd25456=>{const _0x192082=_0x3d1aef;_0xd25456[_0x192082(0x157)]();let _0x5a2cd1=_0xd25456[_0x192082(0x13b)];if(this[_0x192082(0x153)]&&(this[_0x192082(0x17d)](),this[_0x192082(0x153)][_0x192082(0x145)](_0x192082(0x173))),'OX-GRID-FIELD'!==_0x5a2cd1[_0x192082(0x160)]||!_0x5a2cd1[_0x192082(0x16f)][_0x192082(0x142)][_0x192082(0x15c)])return this[_0x192082(0x17d)](),void(this[_0x192082(0x153)]=null);this[_0x192082(0x153)]=_0x5a2cd1,_0x5a2cd1[_0x192082(0x15f)](_0x192082(0x173),'true');}),this['addEventListener'](_0x3d1aef(0x13d),_0x366afe=>{const _0x47b90f=_0x3d1aef;var {after:_0x310b81,before:_0x5ee30a,column:_0x1260b6,record:_0x514a73,row:_0x448b27}=_0x366afe[_0x47b90f(0x17f)];if(ValueUtil['isEquals'](_0x310b81,_0x5ee30a))return;var _0x1016dd=_0x1260b6[_0x47b90f(0x170)];if(_0x1016dd&&_0x47b90f(0x138)==typeof _0x1016dd&&!_0x1016dd['call'](this,_0x310b81,_0x5ee30a,_0x514a73,_0x1260b6))return;let _0x24df65=_0x1260b6[_0x47b90f(0x158)];_0x514a73[_0x24df65]=_0x310b81,_0x514a73[_0x47b90f(0x168)]=_0x514a73[_0x47b90f(0x168)]||{},_0x514a73['__origin__']=_0x514a73['__origin__']||{},_0x514a73[_0x47b90f(0x168)][_0x24df65]={'before':_0x514a73[_0x47b90f(0x183)][_0x24df65],'after':_0x514a73[_0x24df65]},ValueUtil[_0x47b90f(0x136)](_0x514a73[_0x47b90f(0x168)][_0x24df65]['before'],_0x514a73[_0x47b90f(0x168)][_0x24df65]['after'])&&delete _0x514a73['__dirtyfields__'][_0x24df65],ValueUtil['isNotEmpty'](_0x514a73[_0x47b90f(0x168)])?_0x514a73[_0x47b90f(0x144)]='M':_0x514a73['__dirty__']='',this[_0x47b90f(0x142)]={..._0x514a73};});}async[a0_0x37a543(0x139)](){const _0x1c2d4f=a0_0x37a543;super[_0x1c2d4f(0x139)]&&await super[_0x1c2d4f(0x139)]();}async['pageInitialized'](){const _0x22c14d=a0_0x37a543;this[_0x22c14d(0x181)]&&await this[_0x22c14d(0x179)](),super[_0x22c14d(0x184)]&&await super[_0x22c14d(0x184)](),this['isPage']&&await this[_0x22c14d(0x156)]();}['render'](){const _0x196116=a0_0x37a543;return MetaApi[_0x196116(0x15a)](this);}['parseBasicFormConfigs'](_0x54e383){const _0x2e7820=a0_0x37a543;this[_0x2e7820(0x161)]=_0x54e383[_0x2e7820(0x15d)],this[_0x2e7820(0x162)]=_0x54e383[_0x2e7820(0x143)],_0x54e383[_0x2e7820(0x17a)]=_0x54e383['button'][_0x2e7820(0x171)](_0x25cd65=>_0x2e7820(0x146)==_0x25cd65[_0x2e7820(0x158)]);}async[a0_0x37a543(0x179)](){const _0x38c371=a0_0x37a543;this[_0x38c371(0x164)]=await MetaApi[_0x38c371(0x154)](this);}get[a0_0x37a543(0x174)](){const _0x1f2130=a0_0x37a543;return this[_0x1f2130(0x147)](this[_0x1f2130(0x142)][_0x1f2130(0x183)]);}get[a0_0x37a543(0x135)](){const _0x46134c=a0_0x37a543;if(ValueUtil[_0x46134c(0x14a)](this[_0x46134c(0x142)][_0x46134c(0x168)]))return{};let _0x37e88f={};return Object[_0x46134c(0x148)](this['record'][_0x46134c(0x168)])[_0x46134c(0x175)](([_0x2883bf,_0x78c871])=>{0x0==_0x2883bf['startsWith']('__')&&(_0x37e88f[_0x2883bf]=_0x78c871['after']);}),_0x37e88f;}get['currentData'](){const _0x314b0d=a0_0x37a543;return this[_0x314b0d(0x147)](this[_0x314b0d(0x142)]);}[a0_0x37a543(0x147)](_0x523106){const _0x2e9b80=a0_0x37a543;let _0x2d8a23={};if(_0x523106)return Object[_0x2e9b80(0x148)](_0x523106)[_0x2e9b80(0x175)](([_0x3b88f3,_0x15b35f])=>{const _0x969cab=_0x2e9b80;0x0==_0x3b88f3[_0x969cab(0x14d)]('__')&&(_0x2d8a23[_0x3b88f3]=_0x15b35f);}),_0x2d8a23;}get['patchData'](){const _0x4435e4=a0_0x37a543;let _0x57af34=this[_0x4435e4(0x135)],_0x5d5c5e=this[_0x4435e4(0x142)];return ValueUtil[_0x4435e4(0x14a)](_0x57af34)?[]:(ValueUtil[_0x4435e4(0x16e)](_0x5d5c5e['id'])?(_0x57af34['id']=_0x5d5c5e['id'],_0x57af34['cuFlag']='M'):_0x57af34[_0x4435e4(0x180)]='+',Object[_0x4435e4(0x14e)](_0x57af34)[_0x4435e4(0x15e)](_0x202281=>{'object'==typeof _0x57af34[_0x202281]&&(_0x57af34[_0x202281]={'id':_0x57af34[_0x202281]['id']});}),[_0x57af34]);}async[a0_0x37a543(0x156)](){const _0x414877=a0_0x37a543;if(ValueUtil[_0x414877(0x14a)](this[_0x414877(0x178)]))return;let _0x3165ec=await this[_0x414877(0x16c)](this[_0x414877(0x178)]);_0x3165ec[_0x414877(0x165)]=0x1;let _0x2f16f4={};Object['assign'](_0x2f16f4,_0x3165ec),_0x3165ec[_0x414877(0x183)]=_0x2f16f4,this[_0x414877(0x142)]={..._0x3165ec};}async[a0_0x37a543(0x146)](){const _0x35e878=a0_0x37a543;let _0x2d3411=this['patchData'];if(ValueUtil[_0x35e878(0x14a)](_0x2d3411))return void MetaApi[_0x35e878(0x185)]('title.info','text.NOTHING_CHANGED');let _0x295c3c=await this[_0x35e878(0x17b)](_0x2d3411);return _0x295c3c&&await this[_0x35e878(0x156)](),_0x295c3c;}async['clear'](){const _0x2fa032=a0_0x37a543;this[_0x2fa032(0x142)]&&(this[_0x2fa032(0x142)]={});}[a0_0x37a543(0x182)](){const _0x374713=a0_0x37a543;return this[_0x374713(0x13f)]||{};}};
@@ -1 +1 @@
1
- const a0_0x5c3ddd=a0_0x5853;(function(_0x522c89,_0xb7ddeb){const _0x4f8831=a0_0x5853,_0x476877=_0x522c89();while(!![]){try{const _0x26f72f=-parseInt(_0x4f8831(0xb1))/0x1*(-parseInt(_0x4f8831(0xd4))/0x2)+-parseInt(_0x4f8831(0xaf))/0x3+parseInt(_0x4f8831(0x9a))/0x4+parseInt(_0x4f8831(0xa5))/0x5+parseInt(_0x4f8831(0xb2))/0x6*(-parseInt(_0x4f8831(0x9f))/0x7)+parseInt(_0x4f8831(0x9d))/0x8*(parseInt(_0x4f8831(0xd0))/0x9)+parseInt(_0x4f8831(0xe0))/0xa*(parseInt(_0x4f8831(0xd3))/0xb);if(_0x26f72f===_0xb7ddeb)break;else _0x476877['push'](_0x476877['shift']());}catch(_0x413710){_0x476877['push'](_0x476877['shift']());}}}(a0_0x5b28,0xc8aa3));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x5b28(){const _0xcb9855=['getAndParseMenuMeta','forEach','useMasterFilterForm','keys','actions','operator','filterForm','getSelectedIdList','import','3323484GofdAY','getParams','20773TYldET','24VufgYg','gridConfig','getBasicGristTabStyles','startsWith','___data','parseBasicGridConfigs','properties','stringify','ox-filters-form-base','export','updateMultiple','filterFormId','beforeFetch','records','pageInitialized','shadowRoot','render','parseGristConfigs','options','record','menuInfo','isElement','isNotEmpty','#detail','deleteByIds','dataSet','importable','gristConfigSet','fetch','getData','35703GMVPcf','ox-grist','parse','209rsbZLX','58iaLmJr','columns','save','delete','exportableData','firstUpdated','filter','type','activityDataSet','useFilterForm','detailElement','gristId','541770PvuuLx','parseGridConfigSet','name','getGristTabHtml','title','main','context','map','header','exportable','meta-tab-element','1705188zdlOrY','searchFields','searchConfig','2000PBvaZW','grist','2097242KLKWSr','findOne','renderRoot','grid_column','patchesForUpdateMultiple','querySelector','391740rcaEFq'];a0_0x5b28=function(){return _0xcb9855;};return a0_0x5b28();}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x5853(_0x216695,_0x2ad77b){const _0x5b281c=a0_0x5b28();return a0_0x5853=function(_0x5853d8,_0x498a67){_0x5853d8=_0x5853d8-0x95;let _0x49a739=_0x5b281c[_0x5853d8];return _0x49a739;},a0_0x5853(_0x216695,_0x2ad77b);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x3ce4cc=>class extends MetaButtonMixin(_0x3ce4cc){static get['styles'](){const _0x2c6aa=a0_0x5853;return MetaApi[_0x2c6aa(0xb4)]();}static get[a0_0x5c3ddd(0xb8)](){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_0x5c3ddd(0x9e)](){const _0x4a0523=a0_0x5c3ddd;return this[_0x4a0523(0xa1)][_0x4a0523(0xa4)](this['gristId']);}get[a0_0x5c3ddd(0xac)](){const _0x593276=a0_0x5c3ddd;return this[_0x593276(0xc1)]?.[_0x593276(0xa4)](this[_0x593276(0xbd)]);}get[a0_0x5c3ddd(0xde)](){const _0xe36a07=a0_0x5c3ddd;return this[_0xe36a07(0xc1)][_0xe36a07(0xa4)](_0xe36a07(0xc9));}get[a0_0x5c3ddd(0x95)](){const _0x43200c=a0_0x5c3ddd;let _0x18bdad=MetaUiUtil['getContextObject'](this);return _0x18bdad[_0x43200c(0xaa)]&&delete _0x18bdad['actions'],_0x18bdad[_0x43200c(0x98)]&&delete _0x18bdad['exportable'],_0x18bdad[_0x43200c(0xcc)]&&delete _0x18bdad[_0x43200c(0xcc)],_0x18bdad;}async['connectedCallback'](){const _0x353294=a0_0x5c3ddd;this[_0x353294(0xdf)]=_0x353294(0xd1),this['filterFormId']=_0x353294(0xba),await this[_0x353294(0xa6)](),this[_0x353294(0xc7)]&&await this['parseGristConfigs'](),this[_0x353294(0xdc)]&&(this[_0x353294(0xcb)]=(this[_0x353294(0xdc)]||{})[_0x353294(0xe5)]),super['connectedCallback']&&await super['connectedCallback']();}async['firstUpdated'](){const _0x2313cf=a0_0x5c3ddd;super[_0x2313cf(0xd9)]&&await super['firstUpdated']();}async[a0_0x5c3ddd(0xc0)](){const _0x3f8f39=a0_0x5c3ddd;this['isPage']&&await this[_0x3f8f39(0xc3)](),super['pageInitialized']&&await super[_0x3f8f39(0xc0)]();}[a0_0x5c3ddd(0xc2)](){const _0xdc7a82=a0_0x5c3ddd;return MetaApi[_0xdc7a82(0xe3)](this);}[a0_0x5c3ddd(0xb7)](_0x2f197c){const _0x4956df=a0_0x5c3ddd;this[_0x4956df(0xb3)]=_0x2f197c['grid'],this['gridColumnConfig']=_0x2f197c[_0x4956df(0xa2)],this[_0x4956df(0x9c)]=_0x2f197c['search'];}async[a0_0x5c3ddd(0xc3)](){const _0x1e8cd9=a0_0x5c3ddd;this[_0x1e8cd9(0xcd)]=await MetaApi[_0x1e8cd9(0xe1)](this),this[_0x1e8cd9(0xa8)]=!0x0===this[_0x1e8cd9(0xdd)],this[_0x1e8cd9(0xdd)]=!0x1,this[_0x1e8cd9(0x9b)]=this['gristConfigSet'][_0x1e8cd9(0xd5)][_0x1e8cd9(0xda)](_0x489af9=>_0x489af9['filter'])[_0x1e8cd9(0x96)](_0x21429b=>{const _0xf9cc05=_0x1e8cd9;let _0xb822e9={'name':_0x21429b[_0xf9cc05(0xe2)],'type':_0x21429b[_0xf9cc05(0xdb)],'label':_0x21429b[_0xf9cc05(0x97)],'operator':_0x21429b[_0xf9cc05(0xda)][_0xf9cc05(0xab)]?_0x21429b[_0xf9cc05(0xda)][_0xf9cc05(0xab)]:'eq'};return _0x21429b['record'][_0xf9cc05(0xc4)]&&(_0xb822e9['options']=_0x21429b[_0xf9cc05(0xc5)]['options']),_0xb822e9;});}async[a0_0x5c3ddd(0xce)](){const _0x185ac6=a0_0x5c3ddd;await this[_0x185ac6(0x9e)][_0x185ac6(0xce)]();}async[a0_0x5c3ddd(0xbe)]({page:_0x4105b1=0x0,limit:_0x5a7114=0x0,sortings:_0x317625=[],filters:_0x51a693=[]}){const _0xbf37aa=a0_0x5c3ddd;let _0x105145=this[_0xbf37aa(0xa1)][_0xbf37aa(0xa4)](_0xbf37aa(0x99));return await _0x105145['clear'](),!0x0;}async[a0_0x5c3ddd(0xd6)](){const _0x3502f4=a0_0x5c3ddd;let _0x4c5dbd=MetaApi[_0x3502f4(0xa3)](this[_0x3502f4(0x9e)]);!!ValueUtil[_0x3502f4(0xc8)](_0x4c5dbd)&&await this[_0x3502f4(0xbc)](_0x4c5dbd)&&this[_0x3502f4(0xce)]();}async['find'](){const _0x4ce774=a0_0x5c3ddd;let _0x3d2d69=MetaApi[_0x4ce774(0xad)](this[_0x4ce774(0x9e)],!0x0);return ValueUtil[_0x4ce774(0xc8)](_0x3d2d69)?await this[_0x4ce774(0xa0)](_0x3d2d69[0x0]):{};}async[a0_0x5c3ddd(0xd7)](){const _0x2b2158=a0_0x5c3ddd;let _0x394b54=MetaApi[_0x2b2158(0xad)](this['grist'],!0x0);!!ValueUtil[_0x2b2158(0xc8)](_0x394b54)&&await this[_0x2b2158(0xca)](_0x394b54)&&this[_0x2b2158(0xce)]();}async[a0_0x5c3ddd(0xbb)](){const _0x2d5b27=a0_0x5c3ddd;let _0x6ff02b=TermsUtil['tTitle'](ValueUtil[_0x2d5b27(0xb0)](this[_0x2d5b27(0xc6)],_0x2d5b27(0xe4)));return await MetaApi[_0x2d5b27(0xd8)](this[_0x2d5b27(0xc7)],_0x6ff02b,this[_0x2d5b27(0x9e)]);}async[a0_0x5c3ddd(0xae)](){}[a0_0x5c3ddd(0xcf)](){const _0x5d002b=a0_0x5c3ddd;let _0x124fc8=this[_0x5d002b(0x9e)][_0x5d002b(0xb6)][_0x5d002b(0xbf)];return _0x124fc8=JSON[_0x5d002b(0xd2)](JSON[_0x5d002b(0xb9)](_0x124fc8)),_0x124fc8[_0x5d002b(0xa7)](_0x7f8278=>{const _0x1961c8=_0x5d002b;Object[_0x1961c8(0xa9)](_0x7f8278)[_0x1961c8(0xa7)](_0x55d204=>{const _0x1e5f6e=_0x1961c8;_0x55d204[_0x1e5f6e(0xb5)]('__')&&delete _0x7f8278[_0x55d204];});}),{'main':_0x124fc8,'detail':this['renderRoot'][_0x5d002b(0xa4)](_0x5d002b(0x99))[_0x5d002b(0xcf)]()};}};
1
+ const a0_0x14bb23=a0_0x32e2;(function(_0x43e47b,_0x479b76){const _0x53ff61=a0_0x32e2,_0x17dd3c=_0x43e47b();while(!![]){try{const _0x1c2942=parseInt(_0x53ff61(0x104))/0x1+-parseInt(_0x53ff61(0x113))/0x2+parseInt(_0x53ff61(0xe9))/0x3*(parseInt(_0x53ff61(0xfa))/0x4)+parseInt(_0x53ff61(0x10d))/0x5*(parseInt(_0x53ff61(0xe3))/0x6)+-parseInt(_0x53ff61(0x100))/0x7*(parseInt(_0x53ff61(0xe7))/0x8)+-parseInt(_0x53ff61(0x103))/0x9*(parseInt(_0x53ff61(0xdd))/0xa)+parseInt(_0x53ff61(0xe4))/0xb;if(_0x1c2942===_0x479b76)break;else _0x17dd3c['push'](_0x17dd3c['shift']());}catch(_0xf3491a){_0x17dd3c['push'](_0x17dd3c['shift']());}}}(a0_0x47b9,0x44f46));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x32e2(_0x16eb2d,_0x2bcf35){const _0x47b950=a0_0x47b9();return a0_0x32e2=function(_0x32e21a,_0x340c2c){_0x32e21a=_0x32e21a-0xdd;let _0x2d3ce1=_0x47b950[_0x32e21a];return _0x2d3ce1;},a0_0x32e2(_0x16eb2d,_0x2bcf35);}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x47b9(){const _0x256ed8=['grid_column','6NwXdnW','4708077mELAeF','meta-tab-element','operator','1167728XNIxbZ','parseGristConfigs','3yJFZCI','getGristTabHtml','startsWith','___data','connectedCallback','updateMultiple','columns','export','parseGridConfigSet','title','styles','gristId','getAndParseMenuMeta','grid','parseBasicGridConfigs','delete','tTitle','632204wGoSuD','dataSet','renderRoot','isNotEmpty','gridColumnConfig','isElement','7kwcSXp','filterFormId','search','4212yaIylW','259639vpEeme','record','import','useFilterForm','filter','useMasterFilterForm','pageInitialized','gridConfig','querySelector','371695NMOlec','gristConfigSet','main','actions','getData','activityDataSet','183920slzxDY','records','options','getSelectedIdList','#detail','importable','searchConfig','exportableData','save','properties','render','detailElement','shadowRoot','fetch','searchFields','grist','find','parse','menuInfo','map','forEach','8540eMNesT','exportable','context','keys','firstUpdated'];a0_0x47b9=function(){return _0x256ed8;};return a0_0x47b9();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x3951b1=>class extends MetaButtonMixin(_0x3951b1){static get[a0_0x14bb23(0xf3)](){return MetaApi['getBasicGristTabStyles']();}static get[a0_0x14bb23(0x11c)](){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 _0x572bdf=a0_0x14bb23;return this['renderRoot'][_0x572bdf(0x10c)](this[_0x572bdf(0xf4)]);}get['filterForm'](){const _0x9e8f98=a0_0x14bb23;return this[_0x9e8f98(0x11f)]?.[_0x9e8f98(0x10c)](this[_0x9e8f98(0x101)]);}get[a0_0x14bb23(0x11e)](){const _0xb0141d=a0_0x14bb23;return this[_0xb0141d(0x11f)][_0xb0141d(0x10c)](_0xb0141d(0x117));}get[a0_0x14bb23(0xdf)](){const _0xa8ef0e=a0_0x14bb23;let _0x1d8a78=MetaUiUtil['getContextObject'](this);return _0x1d8a78[_0xa8ef0e(0x110)]&&delete _0x1d8a78[_0xa8ef0e(0x110)],_0x1d8a78[_0xa8ef0e(0xde)]&&delete _0x1d8a78['exportable'],_0x1d8a78[_0xa8ef0e(0x118)]&&delete _0x1d8a78['importable'],_0x1d8a78;}async['connectedCallback'](){const _0x3ade28=a0_0x14bb23;this['gristId']='ox-grist',this['filterFormId']='ox-filters-form-base',await this[_0x3ade28(0xf5)](),this['isElement']&&await this[_0x3ade28(0xe8)](),this[_0x3ade28(0x112)]&&(this[_0x3ade28(0xfb)]=(this[_0x3ade28(0x112)]||{})[_0x3ade28(0x10f)]),super[_0x3ade28(0xed)]&&await super['connectedCallback']();}async[a0_0x14bb23(0xe1)](){const _0x4298b5=a0_0x14bb23;super[_0x4298b5(0xe1)]&&await super[_0x4298b5(0xe1)]();}async['pageInitialized'](){const _0x33a62f=a0_0x14bb23;this['isPage']&&await this[_0x33a62f(0xe8)](),super[_0x33a62f(0x10a)]&&await super[_0x33a62f(0x10a)]();}[a0_0x14bb23(0x11d)](){const _0x5aef56=a0_0x14bb23;return MetaApi[_0x5aef56(0xea)](this);}[a0_0x14bb23(0xf7)](_0x274599){const _0x17f9cc=a0_0x14bb23;this[_0x17f9cc(0x10b)]=_0x274599[_0x17f9cc(0xf6)],this[_0x17f9cc(0xfe)]=_0x274599[_0x17f9cc(0xe2)],this[_0x17f9cc(0x119)]=_0x274599[_0x17f9cc(0x102)];}async[a0_0x14bb23(0xe8)](){const _0xcd3833=a0_0x14bb23;this[_0xcd3833(0x10e)]=await MetaApi[_0xcd3833(0xf1)](this),this[_0xcd3833(0x109)]=!0x0===this[_0xcd3833(0x107)],this[_0xcd3833(0x107)]=!0x1,this[_0xcd3833(0x121)]=this[_0xcd3833(0x10e)][_0xcd3833(0xef)]['filter'](_0x429090=>_0x429090[_0xcd3833(0x108)])[_0xcd3833(0x126)](_0x4d4c73=>{const _0x5d65bd=_0xcd3833;let _0x1ebb1f={'name':_0x4d4c73['name'],'type':_0x4d4c73['type'],'label':_0x4d4c73['header'],'operator':_0x4d4c73[_0x5d65bd(0x108)][_0x5d65bd(0xe6)]?_0x4d4c73[_0x5d65bd(0x108)][_0x5d65bd(0xe6)]:'eq'};return _0x4d4c73[_0x5d65bd(0x105)]['options']&&(_0x1ebb1f['options']=_0x4d4c73[_0x5d65bd(0x105)][_0x5d65bd(0x115)]),_0x1ebb1f;});}async[a0_0x14bb23(0x120)](){await this['grist']['fetch']();}async['beforeFetch']({page:_0x2f4c5d=0x0,limit:_0x4898d2=0x0,sortings:_0x34ffd0=[],filters:_0x372c56=[]}){const _0x436f2a=a0_0x14bb23;let _0x223d4f=this[_0x436f2a(0xfc)][_0x436f2a(0x10c)](_0x436f2a(0xe5));return await _0x223d4f['clear'](),!0x0;}async[a0_0x14bb23(0x11b)](){const _0x289ff8=a0_0x14bb23;let _0x3f5a8f=MetaApi['patchesForUpdateMultiple'](this[_0x289ff8(0x122)]);!!ValueUtil[_0x289ff8(0xfd)](_0x3f5a8f)&&await this[_0x289ff8(0xee)](_0x3f5a8f)&&this[_0x289ff8(0x120)]();}async[a0_0x14bb23(0x123)](){const _0x155e34=a0_0x14bb23;let _0x14a170=MetaApi[_0x155e34(0x116)](this[_0x155e34(0x122)],!0x0);return ValueUtil[_0x155e34(0xfd)](_0x14a170)?await this['findOne'](_0x14a170[0x0]):{};}async[a0_0x14bb23(0xf8)](){const _0x5c93a3=a0_0x14bb23;let _0x3686b5=MetaApi[_0x5c93a3(0x116)](this['grist'],!0x0);!!ValueUtil[_0x5c93a3(0xfd)](_0x3686b5)&&await this['deleteByIds'](_0x3686b5)&&this[_0x5c93a3(0x120)]();}async[a0_0x14bb23(0xf0)](){const _0x57681a=a0_0x14bb23;let _0x5c7558=TermsUtil[_0x57681a(0xf9)](ValueUtil['getParams'](this[_0x57681a(0x125)],_0x57681a(0xf2)));return await MetaApi[_0x57681a(0x11a)](this[_0x57681a(0xff)],_0x5c7558,this[_0x57681a(0x122)]);}async[a0_0x14bb23(0x106)](){}[a0_0x14bb23(0x111)](){const _0x46f799=a0_0x14bb23;let _0x332d89=this[_0x46f799(0x122)][_0x46f799(0xec)][_0x46f799(0x114)];return _0x332d89=JSON[_0x46f799(0x124)](JSON['stringify'](_0x332d89)),_0x332d89[_0x46f799(0x127)](_0x2e23ca=>{const _0x125c0e=_0x46f799;Object[_0x125c0e(0xe0)](_0x2e23ca)[_0x125c0e(0x127)](_0x24d4ce=>{const _0xff2c41=_0x125c0e;_0x24d4ce[_0xff2c41(0xeb)]('__')&&delete _0x2e23ca[_0x24d4ce];});}),{'main':_0x332d89,'detail':this[_0x46f799(0xfc)][_0x46f799(0x10c)](_0x46f799(0xe5))[_0x46f799(0x111)]()};}};
@@ -1 +1 @@
1
- const a0_0x57df7f=a0_0x3eb0;(function(_0xd2911a,_0x167db9){const _0x5baa48=a0_0x3eb0,_0x519396=_0xd2911a();while(!![]){try{const _0x117034=-parseInt(_0x5baa48(0x1b0))/0x1+-parseInt(_0x5baa48(0x18f))/0x2*(parseInt(_0x5baa48(0x190))/0x3)+-parseInt(_0x5baa48(0x1a4))/0x4+-parseInt(_0x5baa48(0x189))/0x5*(-parseInt(_0x5baa48(0x18b))/0x6)+-parseInt(_0x5baa48(0x195))/0x7+parseInt(_0x5baa48(0x1ae))/0x8*(-parseInt(_0x5baa48(0x1c1))/0x9)+parseInt(_0x5baa48(0x1b9))/0xa;if(_0x117034===_0x167db9)break;else _0x519396['push'](_0x519396['shift']());}catch(_0x51985a){_0x519396['push'](_0x519396['shift']());}}}(a0_0x4ee5,0x9f52c));function a0_0x3eb0(_0x255184,_0x3d14a3){const _0x4ee56d=a0_0x4ee5();return a0_0x3eb0=function(_0x3eb064,_0x1abe79){_0x3eb064=_0x3eb064-0x185;let _0x454aca=_0x4ee56d[_0x3eb064];return _0x454aca;},a0_0x3eb0(_0x255184,_0x3d14a3);}function a0_0x4ee5(){const _0x59a9b2=['record','useMasterFilterForm','operator','updateMultiple','parseGristConfigs','clear','626545TySeBn','filterFormId','30CoKvWD','title','querySelector','getBasicMasterDetailStyles','31708MinrPM','3uairrO','getAndParseMenuMeta','firstUpdated','stringify','activityDataSet','1674442hqBMla','renderRoot','getSelectedIdList','options','dataSet','ox-grist','export','delete','detailElement','type','render','context','searchFields','findOne','parseBasicGridConfigs','4796460FfTAcr','useFilterForm','forEach','beforeFetch','parseGridConfigSet','find','filter','connectedCallback','deleteByIds','parse','16OqskEN','isNotEmpty','993649DxSFup','getData','gridColumnConfig','records','map','importable','getContextObject','grist','filterForm','25294270UmYzIl','exportable','main','gristId','fetch','gristConfigSet','header','keys','250020TyoDgJ','searchConfig','pageInitialized','tTitle','styles','actions','properties','isElement','save','search','grid_column'];a0_0x4ee5=function(){return _0x59a9b2;};return a0_0x4ee5();}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=_0x5734b4=>class extends MetaButtonMixin(_0x5734b4){static get[a0_0x57df7f(0x1c5)](){const _0x4c861d=a0_0x57df7f;return MetaApi[_0x4c861d(0x18e)]();}static get[a0_0x57df7f(0x1c7)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x57df7f(0x1b7)](){const _0x44e0d0=a0_0x57df7f;return this[_0x44e0d0(0x196)][_0x44e0d0(0x18d)](this[_0x44e0d0(0x1bc)]);}get[a0_0x57df7f(0x1b8)](){const _0x1655d9=a0_0x57df7f;return this['shadowRoot']?.[_0x1655d9(0x18d)](this[_0x1655d9(0x18a)]);}get[a0_0x57df7f(0x1a0)](){const _0x16eb9f=a0_0x57df7f;let _0x75dbe5=MetaUiUtil[_0x16eb9f(0x1b6)](this);return _0x75dbe5[_0x16eb9f(0x1c6)]&&delete _0x75dbe5['actions'],_0x75dbe5[_0x16eb9f(0x1ba)]&&delete _0x75dbe5[_0x16eb9f(0x1ba)],_0x75dbe5[_0x16eb9f(0x1b5)]&&delete _0x75dbe5['importable'],_0x75dbe5;}async[a0_0x57df7f(0x1ab)](){const _0x77cd8c=a0_0x57df7f;this['gristId']=_0x77cd8c(0x19a),this['filterFormId']='ox-filters-form-base',await this[_0x77cd8c(0x191)](),this[_0x77cd8c(0x1c8)]&&await this[_0x77cd8c(0x187)](),this[_0x77cd8c(0x194)]&&(this[_0x77cd8c(0x199)]=(this['activityDataSet']||{})[_0x77cd8c(0x1bb)]),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x57df7f(0x192)](){const _0x2361fc=a0_0x57df7f;super['firstUpdated']&&await super[_0x2361fc(0x192)]();}async[a0_0x57df7f(0x1c3)](){const _0x5a4afa=a0_0x57df7f;this['isPage']&&await this['parseGristConfigs'](),super[_0x5a4afa(0x1c3)]&&await super[_0x5a4afa(0x1c3)]();}[a0_0x57df7f(0x19f)](){return MetaApi['getMasterDetailHtml'](this);}[a0_0x57df7f(0x1a3)](_0x1be195){const _0x42f882=a0_0x57df7f;this['gridConfig']=_0x1be195['grid'],this[_0x42f882(0x1b2)]=_0x1be195[_0x42f882(0x1cb)],this[_0x42f882(0x1c2)]=_0x1be195[_0x42f882(0x1ca)];}async[a0_0x57df7f(0x187)](){const _0x35ca13=a0_0x57df7f;this[_0x35ca13(0x1be)]=await MetaApi[_0x35ca13(0x1a8)](this),this[_0x35ca13(0x1cd)]=!0x0===this[_0x35ca13(0x1a5)],this[_0x35ca13(0x1a5)]=!0x1,this[_0x35ca13(0x1a1)]=this['gristConfigSet']['columns'][_0x35ca13(0x1aa)](_0x150829=>_0x150829[_0x35ca13(0x1aa)])[_0x35ca13(0x1b4)](_0x88253f=>{const _0x26af48=_0x35ca13;let _0x53f12b={'name':_0x88253f['name'],'type':_0x88253f[_0x26af48(0x19e)],'label':_0x88253f[_0x26af48(0x1bf)],'operator':_0x88253f[_0x26af48(0x1aa)][_0x26af48(0x185)]?_0x88253f[_0x26af48(0x1aa)][_0x26af48(0x185)]:'eq'};return _0x88253f['record'][_0x26af48(0x198)]&&(_0x53f12b[_0x26af48(0x198)]=_0x88253f[_0x26af48(0x1cc)][_0x26af48(0x198)]),_0x53f12b;});}async[a0_0x57df7f(0x1bd)](){const _0x26cbfd=a0_0x57df7f;await this[_0x26cbfd(0x1b7)]['fetch']();}async[a0_0x57df7f(0x1a7)]({page:_0x28951c=0x0,limit:_0x441b59=0x0,sortings:_0xfe904d=[],filters:_0x47060d=[]}){const _0x116eef=a0_0x57df7f;return this[_0x116eef(0x19d)]&&this[_0x116eef(0x19d)][_0x116eef(0x188)]&&await this[_0x116eef(0x19d)][_0x116eef(0x188)](),!0x0;}async[a0_0x57df7f(0x1c9)](){const _0x4758aa=a0_0x57df7f;let _0x3c2336=MetaApi['patchesForUpdateMultiple'](this[_0x4758aa(0x1b7)]);!!ValueUtil['isNotEmpty'](_0x3c2336)&&await this[_0x4758aa(0x186)](_0x3c2336)&&this[_0x4758aa(0x1bd)]();}async[a0_0x57df7f(0x1a9)](){const _0x28c10b=a0_0x57df7f;let _0x4d5c61=MetaApi[_0x28c10b(0x197)](this[_0x28c10b(0x1b7)],!0x0);return ValueUtil[_0x28c10b(0x1af)](_0x4d5c61)?await this[_0x28c10b(0x1a2)](_0x4d5c61[0x0]):{};}async[a0_0x57df7f(0x19c)](){const _0x420773=a0_0x57df7f;let _0x1296a5=MetaApi[_0x420773(0x197)](this['grist'],!0x0);!!ValueUtil[_0x420773(0x1af)](_0x1296a5)&&await this[_0x420773(0x1ac)](_0x1296a5)&&this[_0x420773(0x1bd)]();}async[a0_0x57df7f(0x19b)](){const _0x4d281f=a0_0x57df7f;let _0x405ea5=TermsUtil[_0x4d281f(0x1c4)](ValueUtil['getParams'](this['menuInfo'],_0x4d281f(0x18c)));return await MetaApi['exportableData'](this['isElement'],_0x405ea5,this['grist']);}async['import'](){}[a0_0x57df7f(0x1b1)](){const _0x333e77=a0_0x57df7f;let _0x499ff1=this[_0x333e77(0x1b7)]['___data'][_0x333e77(0x1b3)];return _0x499ff1=JSON[_0x333e77(0x1ad)](JSON[_0x333e77(0x193)](_0x499ff1)),_0x499ff1[_0x333e77(0x1a6)](_0x1eb2d5=>{const _0x42c63f=_0x333e77;Object[_0x42c63f(0x1c0)](_0x1eb2d5)['forEach'](_0x20ad7b=>{_0x20ad7b['startsWith']('__')&&delete _0x1eb2d5[_0x20ad7b];});}),{'main':_0x499ff1,'detail':this['detailElement'][_0x333e77(0x1b1)]()};}};
1
+ const a0_0x2360e8=a0_0x5b7e;(function(_0x32f38f,_0x3225fd){const _0x381973=a0_0x5b7e,_0xfebbec=_0x32f38f();while(!![]){try{const _0x3d2d2f=-parseInt(_0x381973(0x1b1))/0x1+-parseInt(_0x381973(0x1eb))/0x2+parseInt(_0x381973(0x1a9))/0x3*(-parseInt(_0x381973(0x1b7))/0x4)+-parseInt(_0x381973(0x1ee))/0x5+parseInt(_0x381973(0x1b0))/0x6+parseInt(_0x381973(0x1f0))/0x7*(-parseInt(_0x381973(0x1ac))/0x8)+-parseInt(_0x381973(0x1b5))/0x9*(-parseInt(_0x381973(0x1e7))/0xa);if(_0x3d2d2f===_0x3225fd)break;else _0xfebbec['push'](_0xfebbec['shift']());}catch(_0x345cdd){_0xfebbec['push'](_0xfebbec['shift']());}}}(a0_0x1ddf,0xb64df));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x5b7e(_0x3ef0ee,_0x4d4215){const _0x1ddfe5=a0_0x1ddf();return a0_0x5b7e=function(_0x5b7ec2,_0x1b3ca6){_0x5b7ec2=_0x5b7ec2-0x1a4;let _0x37930d=_0x1ddfe5[_0x5b7ec2];return _0x37930d;},a0_0x5b7e(_0x3ef0ee,_0x4d4215);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x1ddf(){const _0x57a50f=['searchConfig','getSelectedIdList','records','columns','stringify','forEach','renderRoot','getAndParseMenuMeta','filter','type','grid','2614070jXSSkb','filterForm','map','grid_column','2774554vwdCYv','importable','getBasicMasterDetailStyles','253015XWwpuI','ox-grist','8561FOnNLT','parse','useFilterForm','firstUpdated','grist','actions','20493GOhHvo','getContextObject','gristConfigSet','2328bvEAAm','ox-filters-form-base','getParams','querySelector','4387248zUHGNY','458234rcduAy','deleteByIds','parseBasicGridConfigs','shadowRoot','99SiJSxf','filterFormId','356WDwVQa','detailElement','properties','title','useMasterFilterForm','context','___data','activityDataSet','isElement','clear','fetch','header','updateMultiple','dataSet','gridConfig','getData','isPage','styles','startsWith','main','isNotEmpty','record','operator','import','gridColumnConfig','render','beforeFetch','pageInitialized','find','tTitle','exportable','search','parseGridConfigSet','connectedCallback','patchesForUpdateMultiple','options','menuInfo'];a0_0x1ddf=function(){return _0x57a50f;};return a0_0x1ddf();}export const MetaMasterDetailMixin=_0x5e88cb=>class extends MetaButtonMixin(_0x5e88cb){static get[a0_0x2360e8(0x1c8)](){const _0x55ae2d=a0_0x2360e8;return MetaApi[_0x55ae2d(0x1ed)]();}static get[a0_0x2360e8(0x1b9)](){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 _0x529379=a0_0x2360e8;return this[_0x529379(0x1e2)][_0x529379(0x1af)](this['gristId']);}get[a0_0x2360e8(0x1e8)](){const _0x239f9b=a0_0x2360e8;return this[_0x239f9b(0x1b4)]?.[_0x239f9b(0x1af)](this['filterFormId']);}get[a0_0x2360e8(0x1bc)](){const _0x4bf09e=a0_0x2360e8;let _0xa09383=MetaUiUtil[_0x4bf09e(0x1aa)](this);return _0xa09383[_0x4bf09e(0x1a8)]&&delete _0xa09383[_0x4bf09e(0x1a8)],_0xa09383['exportable']&&delete _0xa09383[_0x4bf09e(0x1d5)],_0xa09383[_0x4bf09e(0x1ec)]&&delete _0xa09383[_0x4bf09e(0x1ec)],_0xa09383;}async[a0_0x2360e8(0x1d8)](){const _0x4292b9=a0_0x2360e8;this['gristId']=_0x4292b9(0x1ef),this[_0x4292b9(0x1b6)]=_0x4292b9(0x1ad),await this[_0x4292b9(0x1e3)](),this[_0x4292b9(0x1bf)]&&await this['parseGristConfigs'](),this[_0x4292b9(0x1be)]&&(this[_0x4292b9(0x1c4)]=(this[_0x4292b9(0x1be)]||{})[_0x4292b9(0x1ca)]),super[_0x4292b9(0x1d8)]&&await super[_0x4292b9(0x1d8)]();}async[a0_0x2360e8(0x1a6)](){const _0x5498ba=a0_0x2360e8;super[_0x5498ba(0x1a6)]&&await super['firstUpdated']();}async[a0_0x2360e8(0x1d2)](){const _0x20a00c=a0_0x2360e8;this[_0x20a00c(0x1c7)]&&await this['parseGristConfigs'](),super[_0x20a00c(0x1d2)]&&await super[_0x20a00c(0x1d2)]();}[a0_0x2360e8(0x1d0)](){return MetaApi['getMasterDetailHtml'](this);}[a0_0x2360e8(0x1b3)](_0x2bf857){const _0x44c607=a0_0x2360e8;this[_0x44c607(0x1c5)]=_0x2bf857[_0x44c607(0x1e6)],this[_0x44c607(0x1cf)]=_0x2bf857[_0x44c607(0x1ea)],this[_0x44c607(0x1dc)]=_0x2bf857[_0x44c607(0x1d6)];}async['parseGristConfigs'](){const _0x315fad=a0_0x2360e8;this[_0x315fad(0x1ab)]=await MetaApi[_0x315fad(0x1d7)](this),this[_0x315fad(0x1bb)]=!0x0===this[_0x315fad(0x1a5)],this[_0x315fad(0x1a5)]=!0x1,this['searchFields']=this['gristConfigSet'][_0x315fad(0x1df)][_0x315fad(0x1e4)](_0x11fba4=>_0x11fba4[_0x315fad(0x1e4)])[_0x315fad(0x1e9)](_0x308ee3=>{const _0x506b15=_0x315fad;let _0x277a8b={'name':_0x308ee3['name'],'type':_0x308ee3[_0x506b15(0x1e5)],'label':_0x308ee3[_0x506b15(0x1c2)],'operator':_0x308ee3[_0x506b15(0x1e4)]['operator']?_0x308ee3[_0x506b15(0x1e4)][_0x506b15(0x1cd)]:'eq'};return _0x308ee3[_0x506b15(0x1cc)][_0x506b15(0x1da)]&&(_0x277a8b[_0x506b15(0x1da)]=_0x308ee3['record'][_0x506b15(0x1da)]),_0x277a8b;});}async['fetch'](){const _0x5f053a=a0_0x2360e8;await this[_0x5f053a(0x1a7)]['fetch']();}async[a0_0x2360e8(0x1d1)]({page:_0x3a95e4=0x0,limit:_0x354c68=0x0,sortings:_0x5f0b77=[],filters:_0x47b66b=[]}){const _0x9b88ac=a0_0x2360e8;return this[_0x9b88ac(0x1b8)]&&this[_0x9b88ac(0x1b8)][_0x9b88ac(0x1c0)]&&await this[_0x9b88ac(0x1b8)][_0x9b88ac(0x1c0)](),!0x0;}async['save'](){const _0x4918d6=a0_0x2360e8;let _0x4a2887=MetaApi[_0x4918d6(0x1d9)](this[_0x4918d6(0x1a7)]);!!ValueUtil[_0x4918d6(0x1cb)](_0x4a2887)&&await this[_0x4918d6(0x1c3)](_0x4a2887)&&this[_0x4918d6(0x1c1)]();}async[a0_0x2360e8(0x1d3)](){const _0x38d98d=a0_0x2360e8;let _0x217ed8=MetaApi[_0x38d98d(0x1dd)](this['grist'],!0x0);return ValueUtil[_0x38d98d(0x1cb)](_0x217ed8)?await this['findOne'](_0x217ed8[0x0]):{};}async['delete'](){const _0x2264c2=a0_0x2360e8;let _0x11c9cd=MetaApi[_0x2264c2(0x1dd)](this[_0x2264c2(0x1a7)],!0x0);!!ValueUtil[_0x2264c2(0x1cb)](_0x11c9cd)&&await this[_0x2264c2(0x1b2)](_0x11c9cd)&&this[_0x2264c2(0x1c1)]();}async['export'](){const _0x103885=a0_0x2360e8;let _0x194d7b=TermsUtil[_0x103885(0x1d4)](ValueUtil[_0x103885(0x1ae)](this[_0x103885(0x1db)],_0x103885(0x1ba)));return await MetaApi['exportableData'](this[_0x103885(0x1bf)],_0x194d7b,this[_0x103885(0x1a7)]);}async[a0_0x2360e8(0x1ce)](){}['getData'](){const _0x4c861c=a0_0x2360e8;let _0x3a268c=this[_0x4c861c(0x1a7)][_0x4c861c(0x1bd)][_0x4c861c(0x1de)];return _0x3a268c=JSON[_0x4c861c(0x1a4)](JSON[_0x4c861c(0x1e0)](_0x3a268c)),_0x3a268c[_0x4c861c(0x1e1)](_0x41e0bf=>{const _0x47fa34=_0x4c861c;Object['keys'](_0x41e0bf)[_0x47fa34(0x1e1)](_0x2d7025=>{const _0xa423f1=_0x47fa34;_0x2d7025[_0xa423f1(0x1c9)]('__')&&delete _0x41e0bf[_0x2d7025];});}),{'main':_0x3a268c,'detail':this[_0x4c861c(0x1b8)][_0x4c861c(0x1c6)]()};}};
@@ -1 +1 @@
1
- function a0_0x5d60(_0x173296,_0x3f9367){const _0x2cbfbc=a0_0x2cbf();return a0_0x5d60=function(_0x5d6079,_0x1dc371){_0x5d6079=_0x5d6079-0x132;let _0x563330=_0x2cbfbc[_0x5d6079];return _0x563330;},a0_0x5d60(_0x173296,_0x3f9367);}const a0_0x2afd44=a0_0x5d60;(function(_0xd990e9,_0x4b84d2){const _0x301269=a0_0x5d60,_0x593c26=_0xd990e9();while(!![]){try{const _0x4840fa=parseInt(_0x301269(0x165))/0x1*(-parseInt(_0x301269(0x136))/0x2)+-parseInt(_0x301269(0x135))/0x3*(-parseInt(_0x301269(0x16d))/0x4)+parseInt(_0x301269(0x151))/0x5+parseInt(_0x301269(0x14f))/0x6*(-parseInt(_0x301269(0x138))/0x7)+-parseInt(_0x301269(0x144))/0x8*(-parseInt(_0x301269(0x161))/0x9)+-parseInt(_0x301269(0x154))/0xa*(-parseInt(_0x301269(0x158))/0xb)+parseInt(_0x301269(0x160))/0xc*(-parseInt(_0x301269(0x14b))/0xd);if(_0x4840fa===_0x4b84d2)break;else _0x593c26['push'](_0x593c26['shift']());}catch(_0xb1d997){_0x593c26['push'](_0x593c26['shift']());}}}(a0_0x2cbf,0xd71bc));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x4f5217=>class extends MetaBaseMixin(_0x4f5217){static get[a0_0x2afd44(0x145)](){return{'gqlInfo':Object};}[a0_0x2afd44(0x15d)](_0xc70259){const _0x1789ed=a0_0x2afd44;this['gqlInfo']=_0xc70259[_0x1789ed(0x13f)];}async['fetchHandler']({page:_0x2c5661=0x0,limit:_0x3fea09=0x0,sortings:_0x503df2=[],filters:_0x1433df=[]}){const _0x4eade9=a0_0x2afd44;if(this[_0x4eade9(0x157)])return{'total':0x0,'records':this[_0x4eade9(0x14d)]||[]};if(!0x0===this['infinityPage']&&(_0x2c5661=0x0,_0x3fea09=0x0),this[_0x4eade9(0x15c)]&&0x0==await this['beforeFetch']({'page':_0x2c5661,'limit':_0x3fea09,'sortings':_0x503df2,'filters':_0x1433df}))return;if(!this[_0x4eade9(0x13e)])return{'total':0x0,'records':[]};let _0x511793=ValueUtil['isEmpty'](_0x1433df)?this['mainFilterForm']?await this[_0x4eade9(0x146)][_0x4eade9(0x167)]()||[]:await this['filterForm']?.[_0x4eade9(0x167)]()||[]:_0x1433df,_0x501971=ValueUtil[_0x4eade9(0x164)](this[_0x4eade9(0x170)],_0x4eade9(0x142),_0x4eade9(0x13a)),_0x5e536d=ValueUtil['getParams'](this[_0x4eade9(0x170)],_0x4eade9(0x142),_0x4eade9(0x169)),_0x20bd9a=ValueUtil[_0x4eade9(0x164)](this['gqlInfo'],_0x4eade9(0x142),_0x4eade9(0x133));if(ValueUtil[_0x4eade9(0x137)](_0x5e536d)&&(_0x511793=adjustFilters(_0x511793,_0x5e536d)),_0x511793[_0x4eade9(0x140)](...this['getPageNavigateParams']()),this[_0x4eade9(0x15e)]&&!this['mainFilterForm']){let _0x2cdade=ValueUtil['getParams'](this[_0x4eade9(0x170)],'query',_0x4eade9(0x15b));if(!ValueUtil[_0x4eade9(0x137)](_0x2cdade)||!ValueUtil[_0x4eade9(0x137)](this[_0x4eade9(0x15b)]))return{'total':0x0,'records':[]};_0x511793=adjustFilters(_0x511793,[{'name':_0x2cdade,'operator':'eq','value':this[_0x4eade9(0x15b)]}]);}let _0xf14429=Object[_0x4eade9(0x156)](_0x20bd9a||{}),_0x2d78a3=MetaApi[_0x4eade9(0x14a)](this[_0x4eade9(0x13e)][_0x4eade9(0x166)][_0x4eade9(0x139)](_0xef52d3=>!_0xf14429[_0x4eade9(0x13b)](_0xef52d3['name']))),_0xee010e=await MetaApi[_0x4eade9(0x168)](_0x501971,_0x511793,_0x503df2,_0x2c5661,_0x3fea09,_0x2d78a3);if(this[_0x4eade9(0x163)]){let _0x4529c0=await this['afterFetch']({'page':_0x2c5661,'limit':_0x3fea09,'sortings':_0x503df2,'filters':_0x1433df},_0xee010e);if(_0x4529c0)return _0x4529c0;}return ValueUtil['isNotEmpty'](_0x20bd9a)&&ValueUtil['isNotEmpty'](_0xee010e)&&ValueUtil['isNotEmpty'](_0xee010e[_0x4eade9(0x148)])&&_0xee010e[_0x4eade9(0x148)]['map'](_0x288e3b=>(_0xf14429['forEach'](_0xb286f6=>{const _0xae3331=_0x4eade9;_0x288e3b[_0xb286f6]=ValueUtil[_0xae3331(0x164)](_0x288e3b,..._0x20bd9a[_0xb286f6][_0xae3331(0x14c)]('.'));}),_0x288e3b)),_0xee010e;}['getPageNavigateParams'](){const _0x7bbe5c=a0_0x2afd44;if(0x0==this[_0x7bbe5c(0x13d)])return[];let _0x183090=this[_0x7bbe5c(0x15f)]?.[_0x7bbe5c(0x15a)]?this['lifecycle']['params']:{};if(!_0x183090[_0x7bbe5c(0x162)])return[];let _0x59b69a=_0x183090[_0x7bbe5c(0x162)],_0x1ec9cc=JSON[_0x7bbe5c(0x132)](_0x59b69a),_0x5a67bc=0x1==_0x1ec9cc[_0x7bbe5c(0x141)]?'eq':'in',_0x2ff3be={},_0x4479de=[];return Object[_0x7bbe5c(0x156)](_0x1ec9cc[0x0])[_0x7bbe5c(0x152)](_0x110edd=>{_0x2ff3be[_0x110edd]={'name':_0x110edd,'operator':_0x5a67bc,'value':'eq'===_0x5a67bc?_0x1ec9cc[0x0][_0x110edd]:[]};}),_0x1ec9cc[_0x7bbe5c(0x141)]>0x1&&_0x1ec9cc[_0x7bbe5c(0x152)](_0xcf2788=>{const _0x2badff=_0x7bbe5c;Object[_0x2badff(0x156)](_0xcf2788)['forEach'](_0x3f4c75=>{const _0x1e7151=_0x2badff;_0x2ff3be[_0x3f4c75][_0x1e7151(0x147)][_0x1e7151(0x140)](_0xcf2788[_0x3f4c75]);});}),Object[_0x7bbe5c(0x156)](_0x2ff3be)[_0x7bbe5c(0x152)](_0x2cc572=>{_0x4479de['push'](_0x2ff3be[_0x2cc572]);}),_0x4479de;}async[a0_0x2afd44(0x16c)](_0x3de1a3){const _0x591360=a0_0x2afd44;if(this['is_activity'])return this[_0x591360(0x14d)]||{};let _0xeff1c6=ValueUtil[_0x591360(0x164)](this[_0x591360(0x170)],_0x591360(0x142),_0x591360(0x16a)),_0x536df1=ValueUtil[_0x591360(0x164)](this[_0x591360(0x170)],_0x591360(0x142),'after_set_fields'),_0x15371c=Object[_0x591360(0x156)](_0x536df1||{}),_0x528725=MetaApi[_0x591360(0x14a)]((this['gristConfigSet']?this[_0x591360(0x13e)]:{'columns':this[_0x591360(0x155)]})['columns'][_0x591360(0x139)](_0x4d9fe9=>!_0x15371c[_0x591360(0x13b)](_0x4d9fe9[_0x591360(0x143)]))),_0x279949=await MetaApi[_0x591360(0x16c)](_0xeff1c6,_0x3de1a3,_0x528725);return ValueUtil[_0x591360(0x137)](_0x536df1)&&ValueUtil[_0x591360(0x137)](_0x279949)&&_0x15371c[_0x591360(0x152)](_0x154a3d=>{const _0x5cdd7b=_0x591360;_0x279949[_0x154a3d]=ValueUtil['getParams'](_0x279949,..._0x536df1[_0x154a3d][_0x5cdd7b(0x14c)]('.'));}),_0x279949;}async[a0_0x2afd44(0x14e)](_0x379a9f){const _0x41245c=a0_0x2afd44;let _0x2ab23b=ValueUtil[_0x41245c(0x164)](this[_0x41245c(0x170)],_0x41245c(0x134),_0x41245c(0x13c),'func');return await MetaApi[_0x41245c(0x153)](_0x379a9f,_0x2ab23b);}async[a0_0x2afd44(0x16e)](_0x1c096b){const _0x595b80=a0_0x2afd44;let _0x4ad8dc=ValueUtil[_0x595b80(0x164)](this[_0x595b80(0x170)],'mutation',_0x595b80(0x149),_0x595b80(0x16b)),_0x187fcc=ValueUtil[_0x595b80(0x164)](this[_0x595b80(0x170)],'mutation','multiple',_0x595b80(0x150));if(ValueUtil[_0x595b80(0x137)](_0x187fcc)&&(_0x187fcc=_0x187fcc[_0x595b80(0x16f)](_0x62136a=>_0x62136a['includes']('.')?_0x62136a['split']('.'):_0x62136a),_0x1c096b=_0x1c096b[_0x595b80(0x16f)](_0x4b8943=>(_0x187fcc[_0x595b80(0x152)](_0x8b10ef=>{const _0x705f4c=_0x595b80;Array[_0x705f4c(0x159)](_0x8b10ef)?delete _0x4b8943[_0x8b10ef[0x0]][_0x8b10ef[0x1]]:delete _0x4b8943[_0x8b10ef];}),_0x4b8943))),this[_0x595b80(0x15e)]&&ValueUtil[_0x595b80(0x137)](this[_0x595b80(0x15b)])){let _0x21400b=ValueUtil[_0x595b80(0x164)](this[_0x595b80(0x170)],'mutation',_0x595b80(0x149),_0x595b80(0x15b));ValueUtil['isNotEmpty'](_0x21400b)&&_0x1c096b[_0x595b80(0x152)](_0x31ca93=>{const _0x483478=_0x595b80;if(_0x21400b[_0x483478(0x13b)]('.')){let _0x21e1b7=_0x21400b[_0x483478(0x14c)]('.');_0x31ca93[_0x21e1b7[0x0]]={},_0x31ca93[_0x21e1b7[0x0]][_0x21e1b7[0x1]]=this[_0x483478(0x15b)];}else _0x31ca93[_0x21400b]=this[_0x483478(0x15b)];});}return await MetaApi[_0x595b80(0x16e)](_0x4ad8dc,_0x1c096b);}};function a0_0x2cbf(){const _0x2e29c3=['push','length','query','name','521320dbvgiF','properties','mainFilterForm','value','records','multiple','getSelectColumns','23917049FbanwX','split','dataSet','deleteByIds','120966jAptFK','skip_fields','7320765vanDhX','forEach','deleteListByIds','21230xHJVwS','formConfigSet','keys','is_activity','3663HLiRvl','isArray','params','parent_id','beforeFetch','parseBasicServiceConfigs','isElement','lifecycle','12tnSngm','153WTbbxu','pass','afterFetch','getParams','131159SRsGmj','columns','getQueryFilters','searchByPagination','filters','find_one_func','func','findOne','3720Ddmmtc','updateMultiple','map','gqlInfo','parse','after_set_fields','mutation','639PuvrnH','2FNSgHx','isNotEmpty','217FLEFpA','filter','list_func','includes','delete','isPage','gristConfigSet','gql'];a0_0x2cbf=function(){return _0x2e29c3;};return a0_0x2cbf();}
1
+ const a0_0x24625a=a0_0x4145;(function(_0x4df4d6,_0x181245){const _0xd88e28=a0_0x4145,_0x335f54=_0x4df4d6();while(!![]){try{const _0x2a62b9=-parseInt(_0xd88e28(0x99))/0x1+parseInt(_0xd88e28(0x90))/0x2+-parseInt(_0xd88e28(0x9b))/0x3+parseInt(_0xd88e28(0x9a))/0x4*(parseInt(_0xd88e28(0xac))/0x5)+parseInt(_0xd88e28(0x81))/0x6*(parseInt(_0xd88e28(0x7f))/0x7)+-parseInt(_0xd88e28(0x95))/0x8*(parseInt(_0xd88e28(0x8c))/0x9)+-parseInt(_0xd88e28(0x79))/0xa*(-parseInt(_0xd88e28(0x71))/0xb);if(_0x2a62b9===_0x181245)break;else _0x335f54['push'](_0x335f54['shift']());}catch(_0x3a9ba3){_0x335f54['push'](_0x335f54['shift']());}}}(a0_0x3776,0xb0b42));import{adjustFilters}from'@operato/utils';function a0_0x4145(_0x1322a8,_0x1cb206){const _0x377644=a0_0x3776();return a0_0x4145=function(_0x4145b0,_0xd0bc4f){_0x4145b0=_0x4145b0-0x6f;let _0x34d163=_0x377644[_0x4145b0];return _0x34d163;},a0_0x4145(_0x1322a8,_0x1cb206);}function a0_0x3776(){const _0x1cd948=['getParams','keys','getQueryFilters','map','formConfigSet','params','filter','23284550NuGqMf','mutation','searchByPagination','is_activity','beforeFetch','query','14931zrMbId','includes','1746EwoXaD','multiple','updateMultiple','gqlInfo','func','push','name','columns','afterFetch','split','gristConfigSet','9GwRkFc','after_set_fields','isEmpty','deleteListByIds','1140008sBJQnj','getSelectColumns','findOne','parse','value','8642008iKUwpU','properties','isNotEmpty','lifecycle','989443HUEIWN','4ffnOHL','3699720FMfjEk','find_one_func','length','parent_id','forEach','pass','isElement','gql','dataSet','getPageNavigateParams','delete','skip_fields','parseBasicServiceConfigs','isPage','mainFilterForm','list_func','records','2537750bguars','filterForm','deleteByIds','infinityPage','11oCXjsI'];a0_0x3776=function(){return _0x1cd948;};return a0_0x3776();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x15fa18=>class extends MetaBaseMixin(_0x15fa18){static get[a0_0x24625a(0x96)](){return{'gqlInfo':Object};}[a0_0x24625a(0xa7)](_0x3d0236){const _0x5c898c=a0_0x24625a;this[_0x5c898c(0x84)]=_0x3d0236[_0x5c898c(0xa2)];}async['fetchHandler']({page:_0x3471ba=0x0,limit:_0x4600b3=0x0,sortings:_0xbc3c5b=[],filters:_0x3d9de5=[]}){const _0xdd4032=a0_0x24625a;if(this[_0xdd4032(0x7c)])return{'total':0x0,'records':this[_0xdd4032(0xa3)]||[]};if(!0x0===this[_0xdd4032(0x70)]&&(_0x3471ba=0x0,_0x4600b3=0x0),this[_0xdd4032(0x7d)]&&0x0==await this[_0xdd4032(0x7d)]({'page':_0x3471ba,'limit':_0x4600b3,'sortings':_0xbc3c5b,'filters':_0x3d9de5}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x120be5=ValueUtil[_0xdd4032(0x8e)](_0x3d9de5)?this[_0xdd4032(0xa9)]?await this[_0xdd4032(0xa9)]['getQueryFilters']()||[]:await this[_0xdd4032(0xad)]?.[_0xdd4032(0x74)]()||[]:_0x3d9de5,_0x353745=ValueUtil[_0xdd4032(0x72)](this[_0xdd4032(0x84)],_0xdd4032(0x7e),_0xdd4032(0xaa)),_0x3654f6=ValueUtil[_0xdd4032(0x72)](this['gqlInfo'],_0xdd4032(0x7e),'filters'),_0x51abf7=ValueUtil['getParams'](this[_0xdd4032(0x84)],_0xdd4032(0x7e),_0xdd4032(0x8d));if(ValueUtil[_0xdd4032(0x97)](_0x3654f6)&&(_0x120be5=adjustFilters(_0x120be5,_0x3654f6)),_0x120be5[_0xdd4032(0x86)](...this[_0xdd4032(0xa4)]()),this[_0xdd4032(0xa1)]&&!this['mainFilterForm']){let _0x3c9ca5=ValueUtil[_0xdd4032(0x72)](this[_0xdd4032(0x84)],_0xdd4032(0x7e),'parent_id');if(!ValueUtil['isNotEmpty'](_0x3c9ca5)||!ValueUtil[_0xdd4032(0x97)](this[_0xdd4032(0x9e)]))return{'total':0x0,'records':[]};_0x120be5=adjustFilters(_0x120be5,[{'name':_0x3c9ca5,'operator':'eq','value':this[_0xdd4032(0x9e)]}]);}let _0x449522=Object['keys'](_0x51abf7||{}),_0x1c72aa=MetaApi[_0xdd4032(0x91)](this[_0xdd4032(0x8b)][_0xdd4032(0x88)][_0xdd4032(0x78)](_0x475703=>!_0x449522[_0xdd4032(0x80)](_0x475703[_0xdd4032(0x87)]))),_0xd79e57=await MetaApi[_0xdd4032(0x7b)](_0x353745,_0x120be5,_0xbc3c5b,_0x3471ba,_0x4600b3,_0x1c72aa);if(this['afterFetch']){let _0x4092ab=await this[_0xdd4032(0x89)]({'page':_0x3471ba,'limit':_0x4600b3,'sortings':_0xbc3c5b,'filters':_0x3d9de5},_0xd79e57);if(_0x4092ab)return _0x4092ab;}return ValueUtil['isNotEmpty'](_0x51abf7)&&ValueUtil['isNotEmpty'](_0xd79e57)&&ValueUtil[_0xdd4032(0x97)](_0xd79e57[_0xdd4032(0xab)])&&_0xd79e57[_0xdd4032(0xab)][_0xdd4032(0x75)](_0xc57232=>(_0x449522[_0xdd4032(0x9f)](_0x3c42f6=>{const _0x121f8b=_0xdd4032;_0xc57232[_0x3c42f6]=ValueUtil[_0x121f8b(0x72)](_0xc57232,..._0x51abf7[_0x3c42f6][_0x121f8b(0x8a)]('.'));}),_0xc57232)),_0xd79e57;}['getPageNavigateParams'](){const _0x15a1c7=a0_0x24625a;if(0x0==this[_0x15a1c7(0xa8)])return[];let _0x70d443=this[_0x15a1c7(0x98)]?.[_0x15a1c7(0x77)]?this[_0x15a1c7(0x98)]['params']:{};if(!_0x70d443[_0x15a1c7(0xa0)])return[];let _0xbb6d3c=_0x70d443[_0x15a1c7(0xa0)],_0x2f0099=JSON[_0x15a1c7(0x93)](_0xbb6d3c),_0x94b78d=0x1==_0x2f0099[_0x15a1c7(0x9d)]?'eq':'in',_0x5e33eb={},_0xbc5367=[];return Object[_0x15a1c7(0x73)](_0x2f0099[0x0])[_0x15a1c7(0x9f)](_0x441861=>{_0x5e33eb[_0x441861]={'name':_0x441861,'operator':_0x94b78d,'value':'eq'===_0x94b78d?_0x2f0099[0x0][_0x441861]:[]};}),_0x2f0099[_0x15a1c7(0x9d)]>0x1&&_0x2f0099[_0x15a1c7(0x9f)](_0x1d4447=>{const _0x3fe771=_0x15a1c7;Object[_0x3fe771(0x73)](_0x1d4447)[_0x3fe771(0x9f)](_0x1bee8e=>{const _0x1022d4=_0x3fe771;_0x5e33eb[_0x1bee8e][_0x1022d4(0x94)][_0x1022d4(0x86)](_0x1d4447[_0x1bee8e]);});}),Object['keys'](_0x5e33eb)[_0x15a1c7(0x9f)](_0x1328e7=>{_0xbc5367['push'](_0x5e33eb[_0x1328e7]);}),_0xbc5367;}async[a0_0x24625a(0x92)](_0x1f24fe){const _0x3c6bc1=a0_0x24625a;if(this[_0x3c6bc1(0x7c)])return this[_0x3c6bc1(0xa3)]||{};let _0x2b8ff5=ValueUtil[_0x3c6bc1(0x72)](this[_0x3c6bc1(0x84)],_0x3c6bc1(0x7e),_0x3c6bc1(0x9c)),_0x2ff6e3=ValueUtil[_0x3c6bc1(0x72)](this[_0x3c6bc1(0x84)],_0x3c6bc1(0x7e),_0x3c6bc1(0x8d)),_0x5af090=Object['keys'](_0x2ff6e3||{}),_0x32fe45=MetaApi[_0x3c6bc1(0x91)]((this[_0x3c6bc1(0x8b)]?this['gristConfigSet']:{'columns':this[_0x3c6bc1(0x76)]})[_0x3c6bc1(0x88)]['filter'](_0x47d9b1=>!_0x5af090[_0x3c6bc1(0x80)](_0x47d9b1[_0x3c6bc1(0x87)]))),_0x2c47c3=await MetaApi[_0x3c6bc1(0x92)](_0x2b8ff5,_0x1f24fe,_0x32fe45);return ValueUtil[_0x3c6bc1(0x97)](_0x2ff6e3)&&ValueUtil[_0x3c6bc1(0x97)](_0x2c47c3)&&_0x5af090[_0x3c6bc1(0x9f)](_0x4c0db5=>{const _0x21575b=_0x3c6bc1;_0x2c47c3[_0x4c0db5]=ValueUtil['getParams'](_0x2c47c3,..._0x2ff6e3[_0x4c0db5][_0x21575b(0x8a)]('.'));}),_0x2c47c3;}async[a0_0x24625a(0x6f)](_0x2f5e45){const _0x4ff035=a0_0x24625a;let _0x5307da=ValueUtil['getParams'](this['gqlInfo'],'mutation',_0x4ff035(0xa5),'func');return await MetaApi[_0x4ff035(0x8f)](_0x2f5e45,_0x5307da);}async['updateMultiple'](_0x135ef4){const _0xdb0569=a0_0x24625a;let _0x5c7081=ValueUtil[_0xdb0569(0x72)](this[_0xdb0569(0x84)],_0xdb0569(0x7a),_0xdb0569(0x82),_0xdb0569(0x85)),_0x1310f2=ValueUtil[_0xdb0569(0x72)](this[_0xdb0569(0x84)],'mutation',_0xdb0569(0x82),_0xdb0569(0xa6));if(ValueUtil['isNotEmpty'](_0x1310f2)&&(_0x1310f2=_0x1310f2[_0xdb0569(0x75)](_0x1873f3=>_0x1873f3[_0xdb0569(0x80)]('.')?_0x1873f3['split']('.'):_0x1873f3),_0x135ef4=_0x135ef4[_0xdb0569(0x75)](_0x4eb7c7=>(_0x1310f2[_0xdb0569(0x9f)](_0x4655d8=>{Array['isArray'](_0x4655d8)?delete _0x4eb7c7[_0x4655d8[0x0]][_0x4655d8[0x1]]:delete _0x4eb7c7[_0x4655d8];}),_0x4eb7c7))),this['isElement']&&ValueUtil[_0xdb0569(0x97)](this[_0xdb0569(0x9e)])){let _0x540138=ValueUtil[_0xdb0569(0x72)](this[_0xdb0569(0x84)],_0xdb0569(0x7a),_0xdb0569(0x82),_0xdb0569(0x9e));ValueUtil[_0xdb0569(0x97)](_0x540138)&&_0x135ef4[_0xdb0569(0x9f)](_0x117b5d=>{const _0x4bcbf1=_0xdb0569;if(_0x540138['includes']('.')){let _0x5e88d4=_0x540138[_0x4bcbf1(0x8a)]('.');_0x117b5d[_0x5e88d4[0x0]]={},_0x117b5d[_0x5e88d4[0x0]][_0x5e88d4[0x1]]=this[_0x4bcbf1(0x9e)];}else _0x117b5d[_0x540138]=this[_0x4bcbf1(0x9e)];});}return await MetaApi[_0xdb0569(0x83)](_0x5c7081,_0x135ef4);}};
@@ -1 +1 @@
1
- function a0_0x5e93(_0x59ec91,_0x11f298){const _0x3713d6=a0_0x3713();return a0_0x5e93=function(_0x5e937c,_0xce36c1){_0x5e937c=_0x5e937c-0x18c;let _0x5c2c86=_0x3713d6[_0x5e937c];return _0x5c2c86;},a0_0x5e93(_0x59ec91,_0x11f298);}const a0_0xb82ec=a0_0x5e93;function a0_0x3713(){const _0x9a77e0=['1233276ytbNsO','1585262Ilqesh','1261428EjOkzP','isElement','operator','getMainGrist','connectedCallback','clear','grid','isPage','getAndParseMenuMeta','grist','querySelector','columns','filterFormId','filterForm','activityDataSet','properties','parseBasicGridConfigs','actions','ox-filters-form-base','96GPKXsI','options','search','gristId','beforeFetch','2981160esqbxZ','styles','9agKjre','filter','useFilterForm','pageInitialized','context','gristConfigSet','masterElement','importable','gridConfig','record','getTabDetailHtml','map','getData','gridColumnConfig','346843QdgXPg','parseGristConfigs','searchFields','firstUpdated','detailElement','render','ox-grist','50084IyYLcT','12961896skXiim','searchConfig','type','useButtonExport'];a0_0x3713=function(){return _0x9a77e0;};return a0_0x3713();}(function(_0x222474,_0x1dc22){const _0x2ba391=a0_0x5e93,_0x5f5b33=_0x222474();while(!![]){try{const _0x122dd8=parseInt(_0x2ba391(0x1ab))/0x1+parseInt(_0x2ba391(0x1b9))/0x2+-parseInt(_0x2ba391(0x196))/0x3*(-parseInt(_0x2ba391(0x1b2))/0x4)+parseInt(_0x2ba391(0x19b))/0x5+-parseInt(_0x2ba391(0x1b7))/0x6+parseInt(_0x2ba391(0x1b8))/0x7+parseInt(_0x2ba391(0x1b3))/0x8*(-parseInt(_0x2ba391(0x19d))/0x9);if(_0x122dd8===_0x1dc22)break;else _0x5f5b33['push'](_0x5f5b33['shift']());}catch(_0x4afe97){_0x5f5b33['push'](_0x5f5b33['shift']());}}}(a0_0x3713,0x5b968));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=_0x4605e1=>class extends MetaButtonMixin(_0x4605e1){static get[a0_0xb82ec(0x19c)](){return MetaApi['getBasicTabDetailStyles']();}static get[a0_0xb82ec(0x192)](){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_0xb82ec(0x18c)](){const _0x64a29a=a0_0xb82ec;return this[_0x64a29a(0x1a3)][_0x64a29a(0x1bc)]();}get[a0_0xb82ec(0x190)](){const _0x592860=a0_0xb82ec;return this['shadowRoot']?.[_0x592860(0x18d)](this[_0x592860(0x18f)]);}get[a0_0xb82ec(0x1a1)](){const _0x37184d=a0_0xb82ec;let _0x3e1d16=MetaUiUtil['getContextObject'](this);return _0x3e1d16[_0x37184d(0x194)]&&delete _0x3e1d16[_0x37184d(0x194)],_0x3e1d16['exportable']&&delete _0x3e1d16['exportable'],_0x3e1d16[_0x37184d(0x1a4)]&&delete _0x3e1d16[_0x37184d(0x1a4)],_0x3e1d16;}async[a0_0xb82ec(0x1bd)](){const _0x2dd690=a0_0xb82ec;this[_0x2dd690(0x199)]=_0x2dd690(0x1b1),this[_0x2dd690(0x18f)]=_0x2dd690(0x195),await this[_0x2dd690(0x1c1)](),this[_0x2dd690(0x1ba)]&&await this[_0x2dd690(0x1ac)](),this[_0x2dd690(0x191)]&&(this['dataSet']=(this['activityDataSet']||{})['main']),super[_0x2dd690(0x1bd)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0x1b5b79=a0_0xb82ec;super[_0x1b5b79(0x1ae)]&&await super[_0x1b5b79(0x1ae)]();}async[a0_0xb82ec(0x1a0)](){const _0x27172a=a0_0xb82ec;this[_0x27172a(0x1c0)]&&await this[_0x27172a(0x1ac)](),super[_0x27172a(0x1a0)]&&await super[_0x27172a(0x1a0)]();}[a0_0xb82ec(0x1b0)](){const _0x3486bb=a0_0xb82ec;return MetaApi[_0x3486bb(0x1a7)](this);}[a0_0xb82ec(0x193)](_0x170bf8){const _0x41184e=a0_0xb82ec;this[_0x41184e(0x1a5)]=_0x170bf8[_0x41184e(0x1bf)],this[_0x41184e(0x1aa)]=_0x170bf8['grid_column'],this[_0x41184e(0x1b4)]=_0x170bf8[_0x41184e(0x198)];}async[a0_0xb82ec(0x1ac)](){const _0x229549=a0_0xb82ec;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this['useMasterFilterForm']=!0x0===this[_0x229549(0x19f)],this[_0x229549(0x19f)]=!0x1,this['buttonConfig']=void 0x0,this[_0x229549(0x1b6)]=!0x1,this['useButtonImport']=!0x1,this[_0x229549(0x1ad)]=this[_0x229549(0x1a2)][_0x229549(0x18e)]['filter'](_0x4bc8a5=>_0x4bc8a5[_0x229549(0x19e)])[_0x229549(0x1a8)](_0x45edb4=>{const _0x523bee=_0x229549;let _0x92e16c={'name':_0x45edb4['name'],'type':_0x45edb4[_0x523bee(0x1b5)],'label':_0x45edb4['header'],'operator':_0x45edb4['filter'][_0x523bee(0x1bb)]?_0x45edb4[_0x523bee(0x19e)][_0x523bee(0x1bb)]:'eq'};return _0x45edb4[_0x523bee(0x1a6)][_0x523bee(0x197)]&&(_0x92e16c[_0x523bee(0x197)]=_0x45edb4[_0x523bee(0x1a6)][_0x523bee(0x197)]),_0x92e16c;});}async['fetch'](){await this['grist']['fetch']();}async[a0_0xb82ec(0x19a)]({page:_0x556bc0=0x0,limit:_0x13d12d=0x0,sortings:_0x2262f1=[],filters:_0x42b335=[]}){const _0x1d81c8=a0_0xb82ec;return this[_0x1d81c8(0x1a3)]&&this[_0x1d81c8(0x1a3)][_0x1d81c8(0x1be)]&&await this[_0x1d81c8(0x1a3)]['clear'](),this['detailElement']&&this[_0x1d81c8(0x1af)][_0x1d81c8(0x1be)]&&await this['detailElement'][_0x1d81c8(0x1be)](),!0x0;}[a0_0xb82ec(0x1a9)](){const _0x35838f=a0_0xb82ec;return{'master':this[_0x35838f(0x1a3)][_0x35838f(0x1a9)](),'detail':this[_0x35838f(0x1af)]['getData']()};}};
1
+ const a0_0x1a626b=a0_0x1381;(function(_0x30af30,_0x326df0){const _0x5f2b5a=a0_0x1381,_0x268fbe=_0x30af30();while(!![]){try{const _0x325336=-parseInt(_0x5f2b5a(0x125))/0x1*(parseInt(_0x5f2b5a(0x128))/0x2)+parseInt(_0x5f2b5a(0x126))/0x3*(-parseInt(_0x5f2b5a(0x131))/0x4)+-parseInt(_0x5f2b5a(0x12b))/0x5+-parseInt(_0x5f2b5a(0x10a))/0x6*(parseInt(_0x5f2b5a(0x130))/0x7)+-parseInt(_0x5f2b5a(0x12e))/0x8+parseInt(_0x5f2b5a(0x12f))/0x9+parseInt(_0x5f2b5a(0x139))/0xa*(parseInt(_0x5f2b5a(0x127))/0xb);if(_0x325336===_0x326df0)break;else _0x268fbe['push'](_0x268fbe['shift']());}catch(_0x2b03fb){_0x268fbe['push'](_0x268fbe['shift']());}}}(a0_0x48ba,0x5e672));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1381(_0x4aac4a,_0x8bf761){const _0x48bab1=a0_0x48ba();return a0_0x1381=function(_0x138151,_0x41df69){_0x138151=_0x138151-0x109;let _0x2b3e66=_0x48bab1[_0x138151];return _0x2b3e66;},a0_0x1381(_0x4aac4a,_0x8bf761);}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x48ba(){const _0x286945=['gristConfigSet','useButtonExport','styles','getAndParseMenuMeta','ox-filters-form-base','getTabDetailHtml','connectedCallback','parseGridConfigSet','map','filter','7561UlEnvG','6933XdJanf','1767062BvgTfR','58FclNrE','type','gridConfig','1280915FWdFlt','dataSet','getContextObject','5978824YpnGVn','5957352EqmTCs','915831JvpKpv','1192dFphYr','options','properties','clear','shadowRoot','filterFormId','detailElement','gristId','110njeZkQ','grid_column','parseGristConfigs','grid','search','useFilterForm','record','importable','pageInitialized','operator','columns','exportable','6PPLcvk','querySelector','filterForm','masterElement','context','getData','useButtonImport','activityDataSet','grist','firstUpdated','main','ox-grist','beforeFetch','getMainGrist','fetch','header','actions'];a0_0x48ba=function(){return _0x286945;};return a0_0x48ba();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x5ec9e5=>class extends MetaButtonMixin(_0x5ec9e5){static get[a0_0x1a626b(0x11d)](){return MetaApi['getBasicTabDetailStyles']();}static get[a0_0x1a626b(0x133)](){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 _0x1e77b7=a0_0x1a626b;return this[_0x1e77b7(0x10d)][_0x1e77b7(0x117)]();}get[a0_0x1a626b(0x10c)](){const _0x452249=a0_0x1a626b;return this[_0x452249(0x135)]?.[_0x452249(0x10b)](this[_0x452249(0x136)]);}get[a0_0x1a626b(0x10e)](){const _0x252387=a0_0x1a626b;let _0x2725b9=MetaUiUtil[_0x252387(0x12d)](this);return _0x2725b9[_0x252387(0x11a)]&&delete _0x2725b9[_0x252387(0x11a)],_0x2725b9['exportable']&&delete _0x2725b9[_0x252387(0x109)],_0x2725b9[_0x252387(0x140)]&&delete _0x2725b9['importable'],_0x2725b9;}async[a0_0x1a626b(0x121)](){const _0x1b2d9d=a0_0x1a626b;this[_0x1b2d9d(0x138)]=_0x1b2d9d(0x115),this['filterFormId']=_0x1b2d9d(0x11f),await this[_0x1b2d9d(0x11e)](),this['isElement']&&await this[_0x1b2d9d(0x13b)](),this['activityDataSet']&&(this[_0x1b2d9d(0x12c)]=(this[_0x1b2d9d(0x111)]||{})[_0x1b2d9d(0x114)]),super['connectedCallback']&&await super[_0x1b2d9d(0x121)]();}async['firstUpdated'](){const _0x5c7920=a0_0x1a626b;super[_0x5c7920(0x113)]&&await super[_0x5c7920(0x113)]();}async['pageInitialized'](){const _0x388187=a0_0x1a626b;this['isPage']&&await this['parseGristConfigs'](),super[_0x388187(0x141)]&&await super[_0x388187(0x141)]();}['render'](){const _0x56502b=a0_0x1a626b;return MetaApi[_0x56502b(0x120)](this);}['parseBasicGridConfigs'](_0x2a9293){const _0x4e2672=a0_0x1a626b;this[_0x4e2672(0x12a)]=_0x2a9293[_0x4e2672(0x13c)],this['gridColumnConfig']=_0x2a9293[_0x4e2672(0x13a)],this['searchConfig']=_0x2a9293[_0x4e2672(0x13d)];}async[a0_0x1a626b(0x13b)](){const _0x764ef7=a0_0x1a626b;this['gristConfigSet']=await MetaApi[_0x764ef7(0x122)](this),this['useMasterFilterForm']=!0x0===this['useFilterForm'],this[_0x764ef7(0x13e)]=!0x1,this['buttonConfig']=void 0x0,this[_0x764ef7(0x11c)]=!0x1,this[_0x764ef7(0x110)]=!0x1,this['searchFields']=this[_0x764ef7(0x11b)][_0x764ef7(0x143)][_0x764ef7(0x124)](_0x254928=>_0x254928[_0x764ef7(0x124)])[_0x764ef7(0x123)](_0x28b5ef=>{const _0x4bcd44=_0x764ef7;let _0x27f790={'name':_0x28b5ef['name'],'type':_0x28b5ef[_0x4bcd44(0x129)],'label':_0x28b5ef[_0x4bcd44(0x119)],'operator':_0x28b5ef['filter'][_0x4bcd44(0x142)]?_0x28b5ef[_0x4bcd44(0x124)][_0x4bcd44(0x142)]:'eq'};return _0x28b5ef[_0x4bcd44(0x13f)][_0x4bcd44(0x132)]&&(_0x27f790[_0x4bcd44(0x132)]=_0x28b5ef[_0x4bcd44(0x13f)][_0x4bcd44(0x132)]),_0x27f790;});}async[a0_0x1a626b(0x118)](){const _0x118abd=a0_0x1a626b;await this[_0x118abd(0x112)][_0x118abd(0x118)]();}async[a0_0x1a626b(0x116)]({page:_0x3c1e81=0x0,limit:_0x1e38b4=0x0,sortings:_0x43a9bb=[],filters:_0x5d164c=[]}){const _0x3dcb02=a0_0x1a626b;return this['masterElement']&&this['masterElement'][_0x3dcb02(0x134)]&&await this[_0x3dcb02(0x10d)][_0x3dcb02(0x134)](),this[_0x3dcb02(0x137)]&&this[_0x3dcb02(0x137)][_0x3dcb02(0x134)]&&await this[_0x3dcb02(0x137)]['clear'](),!0x0;}[a0_0x1a626b(0x10f)](){const _0x594009=a0_0x1a626b;return{'master':this['masterElement']['getData'](),'detail':this[_0x594009(0x137)]['getData']()};}};
@@ -1 +1 @@
1
- const a0_0x5ec6db=a0_0x4b22;function a0_0x4b22(_0x4abc44,_0x378fa6){const _0x5ca0e1=a0_0x5ca0();return a0_0x4b22=function(_0x4b22c9,_0x29014d){_0x4b22c9=_0x4b22c9-0x1d5;let _0x11b379=_0x5ca0e1[_0x4b22c9];return _0x11b379;},a0_0x4b22(_0x4abc44,_0x378fa6);}(function(_0x385a2d,_0x256c01){const _0x577a7f=a0_0x4b22,_0x1ac0ec=_0x385a2d();while(!![]){try{const _0xe8896d=-parseInt(_0x577a7f(0x1ea))/0x1+-parseInt(_0x577a7f(0x1dc))/0x2+parseInt(_0x577a7f(0x1d7))/0x3*(parseInt(_0x577a7f(0x1f2))/0x4)+parseInt(_0x577a7f(0x1e6))/0x5+-parseInt(_0x577a7f(0x1f6))/0x6+-parseInt(_0x577a7f(0x1e3))/0x7+parseInt(_0x577a7f(0x1f9))/0x8;if(_0xe8896d===_0x256c01)break;else _0x1ac0ec['push'](_0x1ac0ec['shift']());}catch(_0x14fb12){_0x1ac0ec['push'](_0x1ac0ec['shift']());}}}(a0_0x5ca0,0xdb624));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x5ca0(){const _0x10b9d1=['getBasicTabStyles','10127940TOclaC','connectedCallback','route_name','13787504SYyXlU','getData','tab','@things-factory/meta-ui/client/pages/meta-grist-element','tabElements','3PElYvT','firstUpdated','keys','currentTabKey','tabRenderConfig','2059098ExnKUX','parse','length','display','context','styles','clear','6860217TmMvWy','getMainGrist','activityDataSet','8920905NvBvik','getAndParseMenuMeta','pageInitialized','grist','347318TtOLVn','main_tab_info','properties','etcConfig','param_field','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','name','dataSet','5743460yKZfOq','getBasicTabHtml','unshift'];a0_0x5ca0=function(){return _0x10b9d1;};return a0_0x5ca0();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0xb01cb4=>class extends MetaButtonMixin(_0xb01cb4){static get[a0_0x5ec6db(0x1e1)](){const _0x34e108=a0_0x5ec6db;return MetaApi[_0x34e108(0x1f5)]();}static get[a0_0x5ec6db(0x1ec)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x5ec6db(0x1e0)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x5ec6db(0x1f7)](){const _0x40aa63=a0_0x5ec6db;this[_0x40aa63(0x1da)]=void 0x0,await this[_0x40aa63(0x1e7)](),this[_0x40aa63(0x1e5)]&&(this[_0x40aa63(0x1f1)]=this[_0x40aa63(0x1e5)]),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x5ec6db(0x1d8)](){const _0x12c31a=a0_0x5ec6db;super['firstUpdated']&&await super[_0x12c31a(0x1d8)]();}async[a0_0x5ec6db(0x1e8)](){const _0x273d92=a0_0x5ec6db;super['pageInitialized']&&await super[_0x273d92(0x1e8)]();}['render'](){const _0x3bf062=a0_0x5ec6db;return MetaApi[_0x3bf062(0x1f3)](this);}['parseBasicTabConfigs'](_0x1c5ac1){const _0xdd43f9=a0_0x5ec6db;if(!0x0===this['includeMainList']){let _0x2653c7=this[_0xdd43f9(0x1ed)][_0xdd43f9(0x1eb)],_0x237a95=JSON[_0xdd43f9(0x1dd)](_0x2653c7||_0xdd43f9(0x1ef));_0x1c5ac1[_0xdd43f9(0x1fb)][_0xdd43f9(0x1f4)]({'name':_0x237a95[_0xdd43f9(0x1f0)],'display':_0x237a95[_0xdd43f9(0x1df)],'tagname':'meta-grist-element','location':_0xdd43f9(0x1d5),'parent_field':'id','param_field':_0xdd43f9(0x1ee),'menu':this[_0xdd43f9(0x1f8)],'icon':_0x237a95['icon'],'filter_from':!0x1,'main_filter_form':this['mainFilterForm']});}this[_0xdd43f9(0x1db)]=_0x1c5ac1['tab'],_0x1c5ac1['button']=[];}async[a0_0x5ec6db(0x1e2)](){const _0x446c21=a0_0x5ec6db;if(this['tabElements']){let _0x2a286f=Object['keys'](this[_0x446c21(0x1d6)]);for(var _0x2aecb3=0x0;_0x2aecb3<_0x2a286f[_0x446c21(0x1de)];_0x2aecb3++)await this[_0x446c21(0x1d6)][_0x2a286f[_0x2aecb3]][_0x446c21(0x1e2)]();}}[a0_0x5ec6db(0x1fa)](){const _0x43c3ae=a0_0x5ec6db;let _0xabc645={};return this['tabElements']&&Object[_0x43c3ae(0x1d9)](this[_0x43c3ae(0x1d6)])['forEach'](_0x56f675=>{_0xabc645[_0x56f675]=this['tabElements'][_0x56f675]['getData']();}),_0xabc645;}[a0_0x5ec6db(0x1e4)](){const _0x4bd9fa=a0_0x5ec6db;if(this[_0x4bd9fa(0x1d6)]){let _0x3a3a0b=Object['keys'](this[_0x4bd9fa(0x1d6)]);return this[_0x4bd9fa(0x1d6)][_0x3a3a0b[0x0]][_0x4bd9fa(0x1e9)];}}};
1
+ function a0_0x3574(_0x4aca10,_0x13c90c){const _0xbaa8ec=a0_0xbaa8();return a0_0x3574=function(_0x35744a,_0x121b4d){_0x35744a=_0x35744a-0x70;let _0x11bd0c=_0xbaa8ec[_0x35744a];return _0x11bd0c;},a0_0x3574(_0x4aca10,_0x13c90c);}const a0_0x283cc4=a0_0x3574;(function(_0x2e55cd,_0x3d30be){const _0x30c33f=a0_0x3574,_0x2bb8bb=_0x2e55cd();while(!![]){try{const _0x448a3b=-parseInt(_0x30c33f(0x89))/0x1+-parseInt(_0x30c33f(0x91))/0x2*(-parseInt(_0x30c33f(0x79))/0x3)+-parseInt(_0x30c33f(0x83))/0x4*(-parseInt(_0x30c33f(0x94))/0x5)+parseInt(_0x30c33f(0x71))/0x6+-parseInt(_0x30c33f(0x78))/0x7+-parseInt(_0x30c33f(0x97))/0x8+parseInt(_0x30c33f(0x8a))/0x9*(parseInt(_0x30c33f(0x7a))/0xa);if(_0x448a3b===_0x3d30be)break;else _0x2bb8bb['push'](_0x2bb8bb['shift']());}catch(_0x303afc){_0x2bb8bb['push'](_0x2bb8bb['shift']());}}}(a0_0xbaa8,0x8917a));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=_0x9a2eef=>class extends MetaButtonMixin(_0x9a2eef){static get['styles'](){const _0x2af73d=a0_0x3574;return MetaApi[_0x2af73d(0x92)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x283cc4(0x85)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x201a9b=a0_0x283cc4;this[_0x201a9b(0x70)]=void 0x0,await this['getAndParseMenuMeta'](),this['activityDataSet']&&(this[_0x201a9b(0x72)]=this['activityDataSet']),super[_0x201a9b(0x75)]&&await super['connectedCallback']();}async[a0_0x283cc4(0x76)](){const _0x577d71=a0_0x283cc4;super[_0x577d71(0x76)]&&await super[_0x577d71(0x76)]();}async[a0_0x283cc4(0x77)](){super['pageInitialized']&&await super['pageInitialized']();}['render'](){const _0x4b8eb3=a0_0x283cc4;return MetaApi[_0x4b8eb3(0x81)](this);}[a0_0x283cc4(0x7e)](_0x4e660c){const _0x42a01a=a0_0x283cc4;if(!0x0===this[_0x42a01a(0x93)]){let _0x150c02=this['etcConfig'][_0x42a01a(0x86)],_0x31baf4=JSON[_0x42a01a(0x74)](_0x150c02||_0x42a01a(0x90));_0x4e660c[_0x42a01a(0x8c)]['unshift']({'name':_0x31baf4[_0x42a01a(0x98)],'display':_0x31baf4[_0x42a01a(0x7f)],'tagname':_0x42a01a(0x73),'location':_0x42a01a(0x88),'parent_field':'id','param_field':_0x42a01a(0x7d),'menu':this[_0x42a01a(0x96)],'icon':_0x31baf4[_0x42a01a(0x7b)],'filter_from':!0x1,'main_filter_form':this[_0x42a01a(0x82)]});}this[_0x42a01a(0x7c)]=_0x4e660c[_0x42a01a(0x8c)],_0x4e660c[_0x42a01a(0x8e)]=[];}async['clear'](){const _0x17ab21=a0_0x283cc4;if(this[_0x17ab21(0x84)]){let _0x1208dc=Object[_0x17ab21(0x87)](this[_0x17ab21(0x84)]);for(var _0x142d6d=0x0;_0x142d6d<_0x1208dc[_0x17ab21(0x80)];_0x142d6d++)await this['tabElements'][_0x1208dc[_0x142d6d]][_0x17ab21(0x8b)]();}}[a0_0x283cc4(0x8d)](){const _0x4dfbcc=a0_0x283cc4;let _0x3a8643={};return this[_0x4dfbcc(0x84)]&&Object['keys'](this[_0x4dfbcc(0x84)])[_0x4dfbcc(0x95)](_0xf51efe=>{const _0x4c7e0d=_0x4dfbcc;_0x3a8643[_0xf51efe]=this[_0x4c7e0d(0x84)][_0xf51efe][_0x4c7e0d(0x8d)]();}),_0x3a8643;}[a0_0x283cc4(0x8f)](){const _0x4460f5=a0_0x283cc4;if(this[_0x4460f5(0x84)]){let _0x409c21=Object[_0x4460f5(0x87)](this[_0x4460f5(0x84)]);return this[_0x4460f5(0x84)][_0x409c21[0x0]]['grist'];}}};function a0_0xbaa8(){const _0x13dae9=['1058801diaiBZ','58095fAjisR','clear','tab','getData','button','getMainGrist','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22\x20}','183052zKLgth','getBasicTabStyles','includeMainList','5dJclsl','forEach','route_name','3539040JJhiIc','name','currentTabKey','283374AaEkjn','dataSet','meta-grist-element','parse','connectedCallback','firstUpdated','pageInitialized','6767362zAXCvU','6IwAaqj','3790hOwwvJ','icon','tabRenderConfig','param_field','parseBasicTabConfigs','display','length','getBasicTabHtml','mainFilterForm','1411004cgjPCF','tabElements','context','main_tab_info','keys','@things-factory/meta-ui/client/pages/meta-grist-element'];a0_0xbaa8=function(){return _0x13dae9;};return a0_0xbaa8();}