@things-factory/meta-ui 6.0.78 → 6.0.90

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 (58) 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 +4 -4
  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-mixin.js +1 -1
  10. package/client/pages/activity/meta-activity-list-page.js +6 -6
  11. package/client/pages/activity/meta-activity-viewer-element.js +3 -1
  12. package/client/pages/activity/meta-activity-writer-element.js +3 -20
  13. package/client/pages/activity/meta-activiy-mixin.js +18 -0
  14. package/client/pages/entity/config-entity.js +29 -29
  15. package/client/pages/entity/main-menu-selector.js +8 -8
  16. package/client/pages/history/history-copy-list-popup.js +6 -6
  17. package/client/pages/history/history-json-list-popup.js +6 -6
  18. package/client/pages/loading-page.js +5 -5
  19. package/client/pages/menu/dynamic-menu-template.js +7 -7
  20. package/client/pages/menu/dynamic-menu.js +15 -15
  21. package/client/pages/meta-form-element.js +1 -1
  22. package/client/pages/meta-grist-element.js +1 -1
  23. package/client/pages/meta-grist-page.js +1 -1
  24. package/client/pages/meta-grist-tab-element.js +1 -1
  25. package/client/pages/meta-grist-tab-page.js +1 -1
  26. package/client/pages/meta-master-detail-element.js +1 -1
  27. package/client/pages/meta-master-detail-page.js +1 -1
  28. package/client/pages/meta-tab-element.js +1 -1
  29. package/client/pages/personalize/personal-column-selector.js +11 -11
  30. package/client/pages/terms/config-terminology.js +6 -6
  31. package/client/reducers/main.js +1 -1
  32. package/client/utils/meta-api.js +1 -1
  33. package/client/utils/meta-crypto.js +1 -1
  34. package/client/utils/meta-ui-util.js +94 -87
  35. package/client/utils/service-util.js +12 -12
  36. package/client/utils/terms-util.js +2 -2
  37. package/client/utils/ui-util.js +1 -1
  38. package/client/utils/value-util.js +1 -1
  39. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  40. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  41. package/client/viewparts/dynamic-menu-part.js +12 -12
  42. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  43. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  44. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  45. package/package.json +5 -5
  46. package/server/activity/CommonActivity.js +2 -2
  47. package/server/constants/error-code.js +1 -1
  48. package/server/errors/license-error.js +1 -1
  49. package/server/routes.js +1 -1
  50. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  51. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  52. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  53. package/server/service/grid-personalize/grid-personalize.js +1 -1
  54. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  55. package/server/service/meta-activity/meta-activity-query.js +1 -1
  56. package/server/service/meta-activity/meta-activity-type.js +1 -1
  57. package/server/service/meta-secret/meta-resolver.js +1 -1
  58. package/server/service/set-translations/set-translation-resolver.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0x18da30=a0_0xf6fe;(function(_0x3c28eb,_0xef2ae9){const _0xc3a811=a0_0xf6fe,_0x49a0d9=_0x3c28eb();while(!![]){try{const _0xd77716=-parseInt(_0xc3a811(0x1fa))/0x1*(parseInt(_0xc3a811(0x20c))/0x2)+parseInt(_0xc3a811(0x203))/0x3*(parseInt(_0xc3a811(0x210))/0x4)+-parseInt(_0xc3a811(0x1fb))/0x5+parseInt(_0xc3a811(0x204))/0x6+parseInt(_0xc3a811(0x20e))/0x7+-parseInt(_0xc3a811(0x207))/0x8*(-parseInt(_0xc3a811(0x208))/0x9)+-parseInt(_0xc3a811(0x201))/0xa*(-parseInt(_0xc3a811(0x205))/0xb);if(_0xd77716===_0xef2ae9)break;else _0x49a0d9['push'](_0x49a0d9['shift']());}catch(_0xcce54c){_0x49a0d9['push'](_0x49a0d9['shift']());}}}(a0_0x306f,0x667a0));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0xd3f283 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';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_0x18da30(0x20d);export const UPDATE_META_MENU_TEMPLATE=a0_0x18da30(0x1f9);function a0_0xf6fe(_0xa9de27,_0x335024){const _0x306f0b=a0_0x306f();return a0_0xf6fe=function(_0xf6fe32,_0x255e4d){_0xf6fe32=_0xf6fe32-0x1f4;let _0x5400cb=_0x306f0b[_0xf6fe32];return _0x5400cb;},a0_0xf6fe(_0xa9de27,_0x335024);}var HAMBURGER;export async function setupMenuPart(_0x10ea3e){const _0x108cd5=a0_0x18da30;var {hovering:_0x5574a0=!!isMobileDevice(),slotTemplate:_0x3fa718,portraitSlotTemplate:_0x511d82,landscapeSlotTemplate:_0x27533e,position:_0x9e71ba=VIEWPART_POSITION[_0x108cd5(0x202)]}=_0x10ea3e||{};const {hovering:_0x34afd4}=(await clientSettingStore[_0x108cd5(0x1fd)](_0x108cd5(0x1ff)))?.[_0x108cd5(0x1fe)]||{};void 0x0!==_0x34afd4&&(_0x5574a0=_0x34afd4);const _0x5cd665=_0x9e71ba==VIEWPART_POSITION['HEADERBAR']?_0x108cd5(0x20f):_0x108cd5(0x211),_0x2e9088=('landscape'==_0x5cd665?_0x27533e:_0x511d82)||_0x3fa718||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x5574a0,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x5574a0,'template':html`<dynamic-menu-part .orientation=${_0x5cd665}>${_0x2e9088}</dynamic-menu-part>`},'position':_0x9e71ba}),_0x5574a0&&_0x108cd5(0x211)==_0x5cd665?HAMBURGER||(HAMBURGER={'name':_0x108cd5(0x200),'template':html`
2
- <mwc-icon @click=${_0x18e565=>toggleOverlay(_0x108cd5(0x1f8),{'backdrop':!0x0})}
1
+ function a0_0x11a4(_0x1122af,_0x4b0778){const _0x3e3f64=a0_0x3e3f();return a0_0x11a4=function(_0x11a418,_0x324f24){_0x11a418=_0x11a418-0x88;let _0x37c167=_0x3e3f64[_0x11a418];return _0x37c167;},a0_0x11a4(_0x1122af,_0x4b0778);}const a0_0x46401e=a0_0x11a4;function a0_0x3e3f(){const _0x5003f5=['items','3270500MAfbHr','portrait','dynamic-menu-part','20262eBiyfn','700532MkFfqH','NAVBAR','FRONT_END','284603FYCqIJ','lite-menu-part','appName','liteMenus','439395OYlCYz','729112sYrbgl','96AKBAUS','data','9MSPKuS','hamburger','UPDATE_META_UI','filter','meta[name=\x22application-name\x22]','72UKOStq','get','4416ADtNuT','3521OBKrYh','10XXDiPV','dispatch','active','landscape','value','content','querySelector'];a0_0x3e3f=function(){return _0x5003f5;};return a0_0x3e3f();}(function(_0x37a5fd,_0x149ce1){const _0x4806b4=a0_0x11a4,_0x5960a7=_0x37a5fd();while(!![]){try{const _0x24a917=-parseInt(_0x4806b4(0xa5))/0x1+parseInt(_0x4806b4(0xa1))/0x2*(parseInt(_0x4806b4(0x8b))/0x3)+-parseInt(_0x4806b4(0xa2))/0x4*(-parseInt(_0x4806b4(0x96))/0x5)+-parseInt(_0x4806b4(0x94))/0x6*(parseInt(_0x4806b4(0x95))/0x7)+-parseInt(_0x4806b4(0x8a))/0x8*(-parseInt(_0x4806b4(0x8d))/0x9)+parseInt(_0x4806b4(0x9e))/0xa+parseInt(_0x4806b4(0x89))/0xb*(-parseInt(_0x4806b4(0x92))/0xc);if(_0x24a917===_0x149ce1)break;else _0x5960a7['push'](_0x5960a7['shift']());}catch(_0x4f8da6){_0x5960a7['push'](_0x5960a7['shift']());}}}(a0_0x3e3f,0x30616));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x487521 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';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_0x46401e(0x8f);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x3db0e7){const _0x1faf31=a0_0x46401e;var {hovering:_0x1a332b=!!isMobileDevice(),slotTemplate:_0xb0fc16,portraitSlotTemplate:_0x46ee5d,landscapeSlotTemplate:_0x227514,position:_0x598b24=VIEWPART_POSITION[_0x1faf31(0xa3)]}=_0x3db0e7||{};const {hovering:_0x267537}=(await clientSettingStore[_0x1faf31(0x93)]('dynamic-menu'))?.[_0x1faf31(0x9a)]||{};void 0x0!==_0x267537&&(_0x1a332b=_0x267537);const _0x223c36=_0x598b24==VIEWPART_POSITION['HEADERBAR']?_0x1faf31(0x99):_0x1faf31(0x9f),_0x347346=(_0x1faf31(0x99)==_0x223c36?_0x227514:_0x46ee5d)||_0xb0fc16||html``;appendViewpart({'name':_0x1faf31(0xa6),'viewpart':{'show':!_0x1a332b,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x1a332b,'template':html`<dynamic-menu-part .orientation=${_0x223c36}>${_0x347346}</dynamic-menu-part>`},'position':_0x598b24}),_0x1a332b&&_0x1faf31(0x9f)==_0x223c36?HAMBURGER||(HAMBURGER={'name':_0x1faf31(0x8e),'template':html`
2
+ <mwc-icon @click=${_0x28b373=>toggleOverlay(_0x1faf31(0xa0),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION['FRONT_END']},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x108cd5(0x206)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}function a0_0x306f(){const _0x50fe05=['dispatch','8XNLNtK','2046996TgtTUe','meta[name=\x22application-name\x22]','items','query','2ZuTFmw','UPDATE_META_UI','2659615LvpczK','landscape','39692TpdLJg','portrait','data','appName','active','querySelector','dynamic-menu-part','UPDATE_META_MENU_TEMPLATE','803447kmzAnO','2706565TXoasq','content','get','value','dynamic-menu','hamburger','1843640djFjlH','NAVBAR','177aHJhYO','2323764eqBIzT','11tvByaG'];a0_0x306f=function(){return _0x50fe05;};return a0_0x306f();}export async function updateMenuTemplate(_0x2b1d9d){const _0x186134=a0_0x18da30;var _0x44608e=document[_0x186134(0x1f7)](_0x186134(0x209))?.[_0x186134(0x1fc)],_0x376854=(await client[_0x186134(0x20b)]({'query':a0_0xd3f283`
4
+ `,'position':TOOL_POSITION[_0x1faf31(0xa4)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1faf31(0x97)]({'type':REMOVE_APP_TOOL,'name':_0x1faf31(0x8e)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x937f0d){const _0x18a1a6=a0_0x46401e;var _0x522e3c=document[_0x18a1a6(0x9c)](_0x18a1a6(0x91))?.[_0x18a1a6(0x9b)],_0x33ff1e=(await client['query']({'query':a0_0x487521`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x18da30=a0_0xf6fe;(function(_0x3c28eb,_0xef2ae9){const _0xc3a811=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x186134(0x1f6),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x44608e]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x186134(0x1f4)]['liteMenus'][_0x186134(0x20a)];store[_0x186134(0x206)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x376854['filter'](_0x7d36a0=>!_0x7d36a0[_0x186134(0x1f5)]||_0x7d36a0[_0x186134(0x1f5)]===_0x44608e),'template':_0x2b1d9d});}
23
+ `,'variables':{'filters':[{'name':_0x18a1a6(0x98),'operator':'eq','value':!0x0},{'name':_0x18a1a6(0xa7),'operator':'in','value':['',_0x522e3c]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x18a1a6(0x8c)][_0x18a1a6(0x88)][_0x18a1a6(0x9d)];store[_0x18a1a6(0x97)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x33ff1e[_0x18a1a6(0x90)](_0x5e066c=>!_0x5e066c[_0x18a1a6(0xa7)]||_0x5e066c[_0x18a1a6(0xa7)]===_0x522e3c),'template':_0x937f0d});}
@@ -1 +1 @@
1
- function a0_0x40d4(_0x48c5ec,_0x225981){const _0x580492=a0_0x5804();return a0_0x40d4=function(_0x40d441,_0x32d0d1){_0x40d441=_0x40d441-0x126;let _0x379e12=_0x580492[_0x40d441];return _0x379e12;},a0_0x40d4(_0x48c5ec,_0x225981);}function a0_0x5804(){const _0x3719c6=['after','257148OWNOiW','133EigWWa','isDetail','parseBasicGridConfigs','isElement','12axNKeZ','is_popup','pageUpdated','properties','parent_id','isNotEmpty','getMenuMeta','title_detail','executeCallScenarioButtonClick','callScenario','fetchHandler','3759112VSHcTd','parseBasicFormConfigs','title','excuteOpenPopupButtonClick','getParams','is_detail','parseBasicServiceConfigs','getAndParseMenuMeta','errors','params','filterForm','893700fPiZFU','isEmpty','parseBasicButtonConfigs','active','etc','tTitle','3562344cIrVah','setParentId','isPage','etcConfig','247796LMvbZB','fetch','openDynamicPopup','188310QqlXyT','name','3235675zjNahZ','lifecycle','split','parseBasicTabConfigs'];a0_0x5804=function(){return _0x3719c6;};return a0_0x5804();}const a0_0x3f75a0=a0_0x40d4;(function(_0x5dd286,_0x3382be){const _0x3a4159=a0_0x40d4,_0x6a44b7=_0x5dd286();while(!![]){try{const _0x59df37=-parseInt(_0x3a4159(0x142))/0x1+parseInt(_0x3a4159(0x14c))/0x2*(parseInt(_0x3a4159(0x12c))/0x3)+parseInt(_0x3a4159(0x127))/0x4+-parseInt(_0x3a4159(0x151))/0x5+parseInt(_0x3a4159(0x14f))/0x6*(parseInt(_0x3a4159(0x128))/0x7)+parseInt(_0x3a4159(0x137))/0x8+parseInt(_0x3a4159(0x148))/0x9;if(_0x59df37===_0x3382be)break;else _0x6a44b7['push'](_0x6a44b7['shift']());}catch(_0xf30591){_0x6a44b7['push'](_0x6a44b7['shift']());}}}(a0_0x5804,0x75728));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x159596=>class extends _0x159596{static get[a0_0x3f75a0(0x12f)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x542572=>Boolean(_0x542572)},'is_popup':{'type':Boolean,'converter':_0x4b50b5=>Boolean(_0x4b50b5)},'is_activity':{'type':Boolean,'converter':_0x350a92=>Boolean(_0x350a92)}};}get[a0_0x3f75a0(0x12b)](){const _0x29a6fe=a0_0x3f75a0;return!0x0===this[_0x29a6fe(0x13c)]||!0x0===this[_0x29a6fe(0x12d)];}get[a0_0x3f75a0(0x129)](){const _0xdb6a79=a0_0x3f75a0;return!ValueUtil[_0xdb6a79(0x143)](this[_0xdb6a79(0x13c)])&&this[_0xdb6a79(0x13c)];}async[a0_0x3f75a0(0x12e)](_0x276e73,_0x3342a9,_0x5b0faa){const _0x315cf1=a0_0x3f75a0;let _0x344e4f=this[_0x315cf1(0x152)]?.[_0x315cf1(0x140)]?this['lifecycle'][_0x315cf1(0x140)]:{};this[_0x315cf1(0x14a)]&&this[_0x315cf1(0x145)]&&0x0==_0x5b0faa[_0x315cf1(0x145)]&&ValueUtil[_0x315cf1(0x131)](_0x344e4f)&&this['fetch']();}get['isPopup'](){const _0x844f7e=a0_0x3f75a0;return!ValueUtil[_0x844f7e(0x143)](this['is_popup'])&&this['is_popup'];}get[a0_0x3f75a0(0x14a)](){const _0x594cbb=a0_0x3f75a0;return!this[_0x594cbb(0x13c)]&&!this[_0x594cbb(0x12d)];}async[a0_0x3f75a0(0x13e)](){const _0x594ee3=a0_0x3f75a0;let _0x1a1890=await MetaApi[_0x594ee3(0x132)](this);_0x1a1890&&(this['menuInfo']=_0x1a1890['menu'],this[_0x594ee3(0x12a)]&&this['parseBasicGridConfigs'](_0x1a1890),this[_0x594ee3(0x13d)]&&this[_0x594ee3(0x13d)](_0x1a1890),this[_0x594ee3(0x138)]&&this['parseBasicFormConfigs'](_0x1a1890),this[_0x594ee3(0x154)]&&this['parseBasicTabConfigs'](_0x1a1890),this['parseBasicButtonConfigs']&&this[_0x594ee3(0x144)](_0x1a1890),this[_0x594ee3(0x14b)]=_0x1a1890[_0x594ee3(0x146)]);}async[a0_0x3f75a0(0x14d)](){const _0x3853bc=a0_0x3f75a0;ValueUtil[_0x3853bc(0x131)](this['grist'])?this['grist'][_0x3853bc(0x14d)]():(ValueUtil[_0x3853bc(0x131)](this[_0x3853bc(0x141)])||this['fetchHandler'])&&await this[_0x3853bc(0x136)]();}async[a0_0x3f75a0(0x13a)](_0x1f9517,_0x36a32d,_0x1eda1e){const _0x46d222=a0_0x3f75a0;let _0x2f4768=TermsUtil[_0x46d222(0x147)](_0x1f9517[_0x46d222(0x139)]);ValueUtil[_0x46d222(0x131)](_0x1f9517[_0x46d222(0x133)])&&(_0x2f4768=_0x2f4768+'-'+ValueUtil[_0x46d222(0x13b)](_0x36a32d,..._0x1f9517['title_detail'][_0x46d222(0x153)]('.'))),MetaApi[_0x46d222(0x14e)](_0x2f4768,_0x1f9517,_0x36a32d,_0x1eda1e);}async[a0_0x3f75a0(0x134)](_0x3a26c9,_0x4f2a12,_0x2c4942){const _0x213ef4=a0_0x3f75a0;let _0x57d511=await MetaApi[_0x213ef4(0x135)](_0x3a26c9[_0x213ef4(0x150)],_0x3a26c9[_0x213ef4(0x150)],_0x4f2a12);!0x1!==_0x57d511&&!_0x57d511[_0x213ef4(0x13f)]&&ValueUtil[_0x213ef4(0x131)](_0x3a26c9[_0x213ef4(0x126)])&&_0x2c4942();}[a0_0x3f75a0(0x149)](_0x3c15be){const _0x3c232c=a0_0x3f75a0;this[_0x3c232c(0x130)]=_0x3c15be,this['fetch']();}};
1
+ function a0_0x2c87(_0x2d79bf,_0x111684){const _0x494cfc=a0_0x494c();return a0_0x2c87=function(_0x2c87d1,_0xa061a5){_0x2c87d1=_0x2c87d1-0x89;let _0x477841=_0x494cfc[_0x2c87d1];return _0x477841;},a0_0x2c87(_0x2d79bf,_0x111684);}const a0_0x52fd45=a0_0x2c87;(function(_0x54456b,_0x54eff1){const _0x349088=a0_0x2c87,_0x216ec5=_0x54456b();while(!![]){try{const _0x4513b8=-parseInt(_0x349088(0xac))/0x1+parseInt(_0x349088(0x93))/0x2*(parseInt(_0x349088(0xa8))/0x3)+parseInt(_0x349088(0xa5))/0x4*(-parseInt(_0x349088(0xab))/0x5)+-parseInt(_0x349088(0xa2))/0x6+parseInt(_0x349088(0x98))/0x7+-parseInt(_0x349088(0xad))/0x8*(parseInt(_0x349088(0xa9))/0x9)+parseInt(_0x349088(0x90))/0xa;if(_0x4513b8===_0x54eff1)break;else _0x216ec5['push'](_0x216ec5['shift']());}catch(_0x2d96ee){_0x216ec5['push'](_0x216ec5['shift']());}}}(a0_0x494c,0x84a9d));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x494c(){const _0x55866e=['etcConfig','split','parseBasicFormConfigs','menuInfo','getAndParseMenuMeta','lifecycle','16916540AsgwdZ','parseBasicTabConfigs','parseBasicGridConfigs','53218UNfBtP','fetch','parent_id','is_popup','title','4413143KMDQYt','parseBasicButtonConfigs','is_detail','title_detail','filterForm','isPage','name','isEmpty','isNotEmpty','tTitle','1949046kTfqeF','excuteOpenPopupButtonClick','setParentId','3013336XWorUo','parseBasicServiceConfigs','isPopup','66ISpECz','9pqVeYx','menu','5hDASMe','636968OwyByA','5191752INdXrN','active','fetchHandler','callScenario','grist','params','getParams'];a0_0x494c=function(){return _0x55866e;};return a0_0x494c();}export const MetaBaseMixin=_0x272bbd=>class extends _0x272bbd{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x291572=>Boolean(_0x291572)},'is_popup':{'type':Boolean,'converter':_0x63ae99=>Boolean(_0x63ae99)},'is_activity':{'type':Boolean,'converter':_0x4b3192=>Boolean(_0x4b3192)},'is_readonly':{'type':Boolean,'converter':_0x15857a=>Boolean(_0x15857a)}};}get['isElement'](){const _0x11b424=a0_0x2c87;return!0x0===this[_0x11b424(0x9a)]||!0x0===this[_0x11b424(0x96)];}get['isDetail'](){const _0x2f5d73=a0_0x2c87;return!ValueUtil[_0x2f5d73(0x9f)](this[_0x2f5d73(0x9a)])&&this[_0x2f5d73(0x9a)];}async['pageUpdated'](_0x2f6fa3,_0x94491,_0x362846){const _0x54c4f6=a0_0x2c87;let _0x3f8c23=this[_0x54c4f6(0x8f)]?.['params']?this['lifecycle'][_0x54c4f6(0xb2)]:{};this[_0x54c4f6(0x9d)]&&this[_0x54c4f6(0xae)]&&0x0==_0x362846[_0x54c4f6(0xae)]&&ValueUtil[_0x54c4f6(0xa0)](_0x3f8c23)&&this[_0x54c4f6(0x94)]();}get[a0_0x52fd45(0xa7)](){const _0x568138=a0_0x52fd45;return!ValueUtil[_0x568138(0x9f)](this[_0x568138(0x96)])&&this[_0x568138(0x96)];}get[a0_0x52fd45(0x9d)](){const _0x5a6ca=a0_0x52fd45;return!this['is_detail']&&!this[_0x5a6ca(0x96)];}async[a0_0x52fd45(0x8e)](){const _0x3f9be6=a0_0x52fd45;let _0x491f6f=await MetaApi['getMenuMeta'](this);_0x491f6f&&(this[_0x3f9be6(0x8d)]=_0x491f6f[_0x3f9be6(0xaa)],this[_0x3f9be6(0x92)]&&this['parseBasicGridConfigs'](_0x491f6f),this[_0x3f9be6(0xa6)]&&this[_0x3f9be6(0xa6)](_0x491f6f),this['parseBasicFormConfigs']&&this[_0x3f9be6(0x8c)](_0x491f6f),this[_0x3f9be6(0x91)]&&this[_0x3f9be6(0x91)](_0x491f6f),this[_0x3f9be6(0x99)]&&this[_0x3f9be6(0x99)](_0x491f6f),this[_0x3f9be6(0x8a)]=_0x491f6f['etc']);}async[a0_0x52fd45(0x94)](){const _0xde26da=a0_0x52fd45;ValueUtil['isNotEmpty'](this[_0xde26da(0xb1)])?this[_0xde26da(0xb1)][_0xde26da(0x94)]():(ValueUtil[_0xde26da(0xa0)](this[_0xde26da(0x9c)])||this['fetchHandler'])&&await this[_0xde26da(0xaf)]();}async[a0_0x52fd45(0xa3)](_0x15da33,_0x32b90d,_0x3f92ca){const _0x41c28e=a0_0x52fd45;let _0x73c7af=TermsUtil[_0x41c28e(0xa1)](_0x15da33[_0x41c28e(0x97)]);ValueUtil['isNotEmpty'](_0x15da33[_0x41c28e(0x9b)])&&(_0x73c7af=_0x73c7af+'-'+ValueUtil[_0x41c28e(0x89)](_0x32b90d,..._0x15da33[_0x41c28e(0x9b)][_0x41c28e(0x8b)]('.'))),MetaApi['openDynamicPopup'](_0x73c7af,_0x15da33,_0x32b90d,_0x3f92ca);}async['executeCallScenarioButtonClick'](_0x454e84,_0x2d9297,_0x14bc7c){const _0x4fce2a=a0_0x52fd45;let _0x15e6ff=await MetaApi[_0x4fce2a(0xb0)](_0x454e84[_0x4fce2a(0x9e)],_0x454e84[_0x4fce2a(0x9e)],_0x2d9297);!0x1!==_0x15e6ff&&!_0x15e6ff['errors']&&ValueUtil[_0x4fce2a(0xa0)](_0x454e84['after'])&&_0x14bc7c();}[a0_0x52fd45(0xa4)](_0x1df148){const _0x1f0e56=a0_0x52fd45;this[_0x1f0e56(0x95)]=_0x1df148,this[_0x1f0e56(0x94)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0x33231b=a0_0x142b;(function(_0x15265e,_0x68ceca){const _0x4b5d40=a0_0x142b,_0x4b46f5=_0x15265e();while(!![]){try{const _0xd0a900=parseInt(_0x4b5d40(0x12e))/0x1*(-parseInt(_0x4b5d40(0x108))/0x2)+-parseInt(_0x4b5d40(0x113))/0x3*(parseInt(_0x4b5d40(0x136))/0x4)+parseInt(_0x4b5d40(0x12c))/0x5*(parseInt(_0x4b5d40(0x134))/0x6)+parseInt(_0x4b5d40(0x123))/0x7+-parseInt(_0x4b5d40(0x10c))/0x8*(-parseInt(_0x4b5d40(0x118))/0x9)+-parseInt(_0x4b5d40(0x10a))/0xa+parseInt(_0x4b5d40(0x12f))/0xb;if(_0xd0a900===_0x68ceca)break;else _0x4b46f5['push'](_0x4b46f5['shift']());}catch(_0x299bbe){_0x4b46f5['push'](_0x4b46f5['shift']());}}}(a0_0x30ff,0x7ebb4));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x30ff(){const _0x117ce9=['exportableData','activityDataSet','deleteByIds','isElement','tTitle','3414208fcnjiG','menuInfo','firstUpdated','getBasicGristHtml','gristConfigSet','connectedCallback','export','gridColumnConfig','parse','4490385OFAfGC','ox-filters-form','799142IIUCSY','14962541ZMvNAM','gristId','pageInitialized','stringify','keys','6NdNTNc','ox-grist','1516HBxkqd','context','render','forEach','findOne','dataSet','styles','fetch','search','getBasicGristStyles','getSelectedIdList','querySelector','renderRoot','2MJnlbw','save','7146050BBBmTO','updateMultiple','296HcCUce','getButtonContainer','grid','searchConfig','___data','parseGridConfigSet','isPage','6537vFbYfo','isNotEmpty','startsWith','grist','getAndParseMenuMeta','27396CFZBmo','data','parseGristConfigs','import','delete','find'];a0_0x30ff=function(){return _0x117ce9;};return a0_0x30ff();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x142b(_0x4a7bf9,_0x479492){const _0x30ffc5=a0_0x30ff();return a0_0x142b=function(_0x142b94,_0x3ca2c2){_0x142b94=_0x142b94-0xfe;let _0x34d3f7=_0x30ffc5[_0x142b94];return _0x34d3f7;},a0_0x142b(_0x4a7bf9,_0x479492);}export const MetaBasicGristMixin=_0x63b30e=>class extends MetaButtonMixin(_0x63b30e){static get[a0_0x33231b(0x101)](){const _0x540825=a0_0x33231b;return MetaApi[_0x540825(0x104)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x33231b(0x116)](){const _0x3492b3=a0_0x33231b;return this[_0x3492b3(0x107)]?.[_0x3492b3(0x106)](this[_0x3492b3(0x130)]);}get['filterForm'](){const _0x36afea=a0_0x33231b;return this['shadowRoot']?.[_0x36afea(0x106)](this['filterFormId']);}get[a0_0x33231b(0x137)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x33231b(0x128)](){const _0x36ed7c=a0_0x33231b;this['gristId']=_0x36ed7c(0x135),this['filterFormId']=_0x36ed7c(0x12d),await this[_0x36ed7c(0x117)](),this[_0x36ed7c(0x121)]&&await this[_0x36ed7c(0x11a)](),this[_0x36ed7c(0x11f)]&&(this[_0x36ed7c(0x100)]=this[_0x36ed7c(0x11f)]),super[_0x36ed7c(0x128)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0xb79330=a0_0x33231b;super[_0xb79330(0x125)]&&await super['firstUpdated']();}async[a0_0x33231b(0x131)](){const _0x5871a9=a0_0x33231b;this['isPage']&&await this[_0x5871a9(0x11a)](),super[_0x5871a9(0x131)]&&await super[_0x5871a9(0x131)]();}[a0_0x33231b(0x138)](){const _0x276116=a0_0x33231b;return html`
2
- ${MetaApi[_0x276116(0x126)](this)}
3
- ${this[_0x276116(0x112)]?html``:MetaUiUtil[_0x276116(0x10d)](this)}
4
- `;}['parseBasicGridConfigs'](_0x4de6b2){const _0x4e7b95=a0_0x33231b;this['gridConfig']=_0x4de6b2[_0x4e7b95(0x10e)],this[_0x4e7b95(0x12a)]=_0x4de6b2['grid_column'],this[_0x4e7b95(0x10f)]=_0x4de6b2[_0x4e7b95(0x103)];}async[a0_0x33231b(0x11a)](){const _0x86cd21=a0_0x33231b;this[_0x86cd21(0x127)]=await MetaApi[_0x86cd21(0x111)](this);}async[a0_0x33231b(0x102)](){const _0x2a11cf=a0_0x33231b;await this[_0x2a11cf(0x116)][_0x2a11cf(0x102)]();}async[a0_0x33231b(0x109)](){const _0x3dc155=a0_0x33231b;let _0x5c8966=MetaApi['patchesForUpdateMultiple'](this[_0x3dc155(0x116)]);!!ValueUtil[_0x3dc155(0x114)](_0x5c8966)&&await this[_0x3dc155(0x10b)](_0x5c8966)&&this['fetch']();}async[a0_0x33231b(0x11d)](){const _0x40789e=a0_0x33231b;let _0x54f7d5=MetaApi[_0x40789e(0x105)](this[_0x40789e(0x116)],!0x0);return ValueUtil[_0x40789e(0x114)](_0x54f7d5)?await this[_0x40789e(0xff)](_0x54f7d5[0x0]):{};}async[a0_0x33231b(0x11c)](){const _0x3eb7c1=a0_0x33231b;let _0x1c4254=MetaApi[_0x3eb7c1(0x105)](this[_0x3eb7c1(0x116)],!0x0);!!ValueUtil[_0x3eb7c1(0x114)](_0x1c4254)&&await this[_0x3eb7c1(0x120)](_0x1c4254)&&this[_0x3eb7c1(0x102)]();}async[a0_0x33231b(0x129)](){const _0x182445=a0_0x33231b;let _0x598a0=TermsUtil[_0x182445(0x122)](ValueUtil['getParams'](this[_0x182445(0x124)],'title'));return await MetaApi[_0x182445(0x11e)](this['isElement'],_0x598a0,this['grist']);}async[a0_0x33231b(0x11b)](){}async['clear'](){const _0x2c6dfa=a0_0x33231b;this[_0x2c6dfa(0x116)]&&(this[_0x2c6dfa(0x116)][_0x2c6dfa(0x119)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0x566051=a0_0x33231b;let _0xfa1213=this[_0x566051(0x116)][_0x566051(0x110)]['records'];return _0xfa1213=JSON[_0x566051(0x12b)](JSON[_0x566051(0x132)](_0xfa1213)),_0xfa1213[_0x566051(0xfe)](_0x44e084=>{const _0x10a294=_0x566051;Object[_0x10a294(0x133)](_0x44e084)[_0x10a294(0xfe)](_0x2c4f08=>{const _0x3354bc=_0x10a294;_0x2c4f08[_0x3354bc(0x115)]('__')&&delete _0x44e084[_0x2c4f08];});}),_0xfa1213;}};
1
+ const a0_0x1603eb=a0_0x3cb9;(function(_0x1b21d9,_0x2d740c){const _0x4c186a=a0_0x3cb9,_0x1a957b=_0x1b21d9();while(!![]){try{const _0xeee522=-parseInt(_0x4c186a(0x15d))/0x1+-parseInt(_0x4c186a(0x145))/0x2*(-parseInt(_0x4c186a(0x125))/0x3)+parseInt(_0x4c186a(0x15a))/0x4+-parseInt(_0x4c186a(0x130))/0x5*(-parseInt(_0x4c186a(0x160))/0x6)+parseInt(_0x4c186a(0x14b))/0x7+-parseInt(_0x4c186a(0x15e))/0x8*(parseInt(_0x4c186a(0x158))/0x9)+-parseInt(_0x4c186a(0x144))/0xa;if(_0xeee522===_0x2d740c)break;else _0x1a957b['push'](_0x1a957b['shift']());}catch(_0x58e290){_0x1a957b['push'](_0x1a957b['shift']());}}}(a0_0x3ce3,0x66e41));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3ce3(){const _0x5878ea=['delete','getBasicGristStyles','getSelectedIdList','gridColumnConfig','forEach','save','19053jDTuqD','data','532376RgYCjn','parse','connectedCallback','445104TAJXvY','40xhfYDw','activityDataSet','192eCstqA','getContextObject','patchesForUpdateMultiple','792219ZiTziS','renderRoot','___data','filterForm','stringify','gristId','title','querySelector','isPage','parseGristConfigs','getButtonContainer','109535lusRGg','context','startsWith','exportableData','updateMultiple','filterFormId','tTitle','find','records','fetch','findOne','getData','parseBasicGridConfigs','getParams','isNotEmpty','ox-grist','pageInitialized','parseGridConfigSet','searchConfig','firstUpdated','10540310dNNqKE','6QWCetr','search','properties','export','dataSet','isElement','2133768vOjrvi','styles','grist','clear','keys','ox-filters-form','getBasicGristHtml'];a0_0x3ce3=function(){return _0x5878ea;};return a0_0x3ce3();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x3cb9(_0xff096e,_0x157970){const _0x3ce3e0=a0_0x3ce3();return a0_0x3cb9=function(_0x3cb96f,_0xd3de03){_0x3cb96f=_0x3cb96f-0x124;let _0x30ca38=_0x3ce3e0[_0x3cb96f];return _0x30ca38;},a0_0x3cb9(_0xff096e,_0x157970);}export const MetaBasicGristMixin=_0x4aab87=>class extends MetaButtonMixin(_0x4aab87){static get[a0_0x1603eb(0x14c)](){const _0x86c4fa=a0_0x1603eb;return MetaApi[_0x86c4fa(0x153)]();}static get[a0_0x1603eb(0x147)](){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_0x1603eb(0x14d)](){const _0x3f40f2=a0_0x1603eb;return this[_0x3f40f2(0x126)]?.['querySelector'](this[_0x3f40f2(0x12a)]);}get[a0_0x1603eb(0x128)](){const _0x473fbe=a0_0x1603eb;return this['shadowRoot']?.[_0x473fbe(0x12c)](this['filterFormId']);}get[a0_0x1603eb(0x131)](){const _0x5595bc=a0_0x1603eb;return MetaUiUtil[_0x5595bc(0x161)](this);}async[a0_0x1603eb(0x15c)](){const _0x1b1930=a0_0x1603eb;this[_0x1b1930(0x12a)]=_0x1b1930(0x13f),this[_0x1b1930(0x135)]=_0x1b1930(0x150),await this['getAndParseMenuMeta'](),this[_0x1b1930(0x14a)]&&await this[_0x1b1930(0x12e)](),this[_0x1b1930(0x15f)]&&(this[_0x1b1930(0x149)]=this[_0x1b1930(0x15f)]),super[_0x1b1930(0x15c)]&&await super[_0x1b1930(0x15c)]();}async[a0_0x1603eb(0x143)](){const _0x1d67f4=a0_0x1603eb;super[_0x1d67f4(0x143)]&&await super[_0x1d67f4(0x143)]();}async['pageInitialized'](){const _0x8d7ed5=a0_0x1603eb;this[_0x8d7ed5(0x12d)]&&await this[_0x8d7ed5(0x12e)](),super[_0x8d7ed5(0x140)]&&await super[_0x8d7ed5(0x140)]();}['render'](){const _0x2c2f92=a0_0x1603eb;return html`
2
+ ${MetaApi[_0x2c2f92(0x151)](this)}
3
+ ${this[_0x2c2f92(0x12d)]?html``:MetaUiUtil[_0x2c2f92(0x12f)](this)}
4
+ `;}[a0_0x1603eb(0x13c)](_0x72bf4c){const _0x2315c9=a0_0x1603eb;this['gridConfig']=_0x72bf4c['grid'],this[_0x2315c9(0x155)]=_0x72bf4c['grid_column'],this[_0x2315c9(0x142)]=_0x72bf4c[_0x2315c9(0x146)];}async[a0_0x1603eb(0x12e)](){const _0x4f8ec7=a0_0x1603eb;this['gristConfigSet']=await MetaApi[_0x4f8ec7(0x141)](this);}async[a0_0x1603eb(0x139)](){const _0x1bcd2f=a0_0x1603eb;await this[_0x1bcd2f(0x14d)][_0x1bcd2f(0x139)]();}async[a0_0x1603eb(0x157)](){const _0x15714b=a0_0x1603eb;let _0x548720=MetaApi[_0x15714b(0x124)](this[_0x15714b(0x14d)]);!!ValueUtil[_0x15714b(0x13e)](_0x548720)&&await this[_0x15714b(0x134)](_0x548720)&&this[_0x15714b(0x139)]();}async[a0_0x1603eb(0x137)](){const _0xf3f18d=a0_0x1603eb;let _0x1b4f0b=MetaApi[_0xf3f18d(0x154)](this[_0xf3f18d(0x14d)],!0x0);return ValueUtil[_0xf3f18d(0x13e)](_0x1b4f0b)?await this[_0xf3f18d(0x13a)](_0x1b4f0b[0x0]):{};}async[a0_0x1603eb(0x152)](){const _0x48e4c5=a0_0x1603eb;let _0x538040=MetaApi[_0x48e4c5(0x154)](this[_0x48e4c5(0x14d)],!0x0);!!ValueUtil['isNotEmpty'](_0x538040)&&await this['deleteByIds'](_0x538040)&&this['fetch']();}async[a0_0x1603eb(0x148)](){const _0x2639e4=a0_0x1603eb;let _0x88824b=TermsUtil[_0x2639e4(0x136)](ValueUtil[_0x2639e4(0x13d)](this['menuInfo'],_0x2639e4(0x12b)));return await MetaApi[_0x2639e4(0x133)](this[_0x2639e4(0x14a)],_0x88824b,this[_0x2639e4(0x14d)]);}async['import'](){}async[a0_0x1603eb(0x14e)](){const _0x40349e=a0_0x1603eb;this[_0x40349e(0x14d)]&&(this[_0x40349e(0x14d)][_0x40349e(0x159)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x1603eb(0x13b)](){const _0x334bc3=a0_0x1603eb;let _0x6c5b40=this[_0x334bc3(0x14d)][_0x334bc3(0x127)][_0x334bc3(0x138)];return _0x6c5b40=JSON[_0x334bc3(0x15b)](JSON[_0x334bc3(0x129)](_0x6c5b40)),_0x6c5b40[_0x334bc3(0x156)](_0x218b22=>{const _0x51fab0=_0x334bc3;Object[_0x51fab0(0x14f)](_0x218b22)['forEach'](_0x43e434=>{const _0xa9c7c3=_0x51fab0;_0x43e434[_0xa9c7c3(0x132)]('__')&&delete _0x218b22[_0x43e434];});}),_0x6c5b40;}};
@@ -1 +1 @@
1
- function a0_0x3fdb(){const _0xadaac0=['912muHvca','getButtonContainer','getButtonActionHandler','customButtonHandler','getBasicButtonHandler','49fmPaok','gristButtonHandler','getContextButtons','991590YfTpnV','12727881uFxQiS','isButtonExist','button','121936DSINcv','export','parseBasicButtonConfigs','useButtonExport','buttonConfig','getCustomButtonContainerStyles','9150976HRWmsk','add','12132biwSOB','687675JUCOIV','6116370aEKGhE'];a0_0x3fdb=function(){return _0xadaac0;};return a0_0x3fdb();}const a0_0x474b91=a0_0x1d79;(function(_0x278858,_0x316845){const _0x51cebb=a0_0x1d79,_0x875227=_0x278858();while(!![]){try{const _0x453ba6=-parseInt(_0x51cebb(0xfd))/0x1+parseInt(_0x51cebb(0x10b))/0x2+parseInt(_0x51cebb(0xfc))/0x3*(parseInt(_0x51cebb(0xff))/0x4)+parseInt(_0x51cebb(0xfe))/0x5+-parseInt(_0x51cebb(0x107))/0x6*(parseInt(_0x51cebb(0x104))/0x7)+-parseInt(_0x51cebb(0xfa))/0x8+parseInt(_0x51cebb(0x108))/0x9;if(_0x453ba6===_0x316845)break;else _0x875227['push'](_0x875227['shift']());}catch(_0x3241c4){_0x875227['push'](_0x875227['shift']());}}}(a0_0x3fdb,0x9a511));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1d79(_0x3df1eb,_0x4247e3){const _0x3fdb3b=a0_0x3fdb();return a0_0x1d79=function(_0x1d799,_0x5810a8){_0x1d799=_0x1d799-0xfa;let _0x2d6cce=_0x3fdb3b[_0x1d799];return _0x2d6cce;},a0_0x1d79(_0x3df1eb,_0x4247e3);}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x10766f=>class extends MetaServiceMixin(_0x10766f){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0xc6f708=a0_0x1d79;return MetaUiUtil[_0xc6f708(0x110)]();}[a0_0x474b91(0x106)](){const _0x136eee=a0_0x474b91;return MetaUiUtil[_0x136eee(0x106)](this);}['getButtonContainer'](){const _0x34baca=a0_0x474b91;return this['isPage']?html``:MetaUiUtil[_0x34baca(0x100)](this);}async[a0_0x474b91(0x103)](_0x1051eb,_0x59bce7,_0x1b37a7){const _0x3864b8=a0_0x474b91;return await MetaUiUtil[_0x3864b8(0x101)](this,_0x1051eb,_0x59bce7,_0x1b37a7);}async[a0_0x474b91(0x102)](_0x55a0c3){const _0x38dcd8=a0_0x474b91;await MetaUiUtil[_0x38dcd8(0x102)](this,_0x55a0c3);}async['gristButtonHandler'](_0xd29d48,_0xabfe81){const _0x3620cc=a0_0x474b91;await MetaUiUtil[_0x3620cc(0x105)](this,_0xd29d48,_0xabfe81);}[a0_0x474b91(0x10d)](_0x313340){const _0x42dc70=a0_0x474b91;this[_0x42dc70(0x10f)]=_0x313340[_0x42dc70(0x10a)],this['useButtonImport']=MetaUiUtil[_0x42dc70(0x109)](this[_0x42dc70(0x10f)],'import'),this[_0x42dc70(0x10e)]=MetaUiUtil['isButtonExist'](this[_0x42dc70(0x10f)],_0x42dc70(0x10c)),this['useButtonAdd']=MetaUiUtil['isButtonExist'](this[_0x42dc70(0x10f)],_0x42dc70(0xfb));}};
1
+ const a0_0x14e6fd=a0_0x1ad2;(function(_0x7677d9,_0x49036a){const _0x27cd49=a0_0x1ad2,_0x36fd45=_0x7677d9();while(!![]){try{const _0x4f43c9=parseInt(_0x27cd49(0xbf))/0x1*(-parseInt(_0x27cd49(0xac))/0x2)+parseInt(_0x27cd49(0xa9))/0x3*(parseInt(_0x27cd49(0xb6))/0x4)+parseInt(_0x27cd49(0xb2))/0x5+parseInt(_0x27cd49(0xbd))/0x6+parseInt(_0x27cd49(0xc0))/0x7*(-parseInt(_0x27cd49(0xbb))/0x8)+-parseInt(_0x27cd49(0xaa))/0x9*(parseInt(_0x27cd49(0xb5))/0xa)+parseInt(_0x27cd49(0xb4))/0xb;if(_0x4f43c9===_0x49036a)break;else _0x36fd45['push'](_0x36fd45['shift']());}catch(_0x1db499){_0x36fd45['push'](_0x36fd45['shift']());}}}(a0_0x30bd,0x75031));function a0_0x30bd(){const _0x5ea228=['export','5428668sOtICv','customButtonHandler','480nyQtNh','21jvPCNu','properties','useButtonExport','gristButtonHandler','useButtonImport','button','1140213kILQJe','8102619UKGNSz','import','3898ebgzRj','isButtonExist','buttonConfig','getButtonContainer','getButtonActionHandler','isPage','96575DzgVTy','useButtonAdd','16192539wUrExj','10eESIoh','4jXLaCd','add','getBasicButtonHandler','getCustomButtonContainerStyles','parseBasicButtonConfigs','1229656ZSooWG'];a0_0x30bd=function(){return _0x5ea228;};return a0_0x30bd();}function a0_0x1ad2(_0xbe5a1,_0x3836f2){const _0x30bd92=a0_0x30bd();return a0_0x1ad2=function(_0x1ad2c6,_0x1eb23a){_0x1ad2c6=_0x1ad2c6-0xa4;let _0x100d77=_0x30bd92[_0x1ad2c6];return _0x100d77;},a0_0x1ad2(_0xbe5a1,_0x3836f2);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x2e9877=>class extends MetaServiceMixin(_0x2e9877){static get[a0_0x14e6fd(0xa4)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0x2db362=a0_0x14e6fd;return MetaUiUtil[_0x2db362(0xb9)]();}['getContextButtons'](){return MetaUiUtil['getContextButtons'](this);}[a0_0x14e6fd(0xaf)](){const _0x2ac022=a0_0x14e6fd;return this[_0x2ac022(0xb1)]?html``:MetaUiUtil[_0x2ac022(0xaf)](this);}async[a0_0x14e6fd(0xb8)](_0x2ad8eb,_0x17f4d4,_0x7056f5){const _0x5e0e64=a0_0x14e6fd;return await MetaUiUtil[_0x5e0e64(0xb0)](this,_0x2ad8eb,_0x17f4d4,_0x7056f5);}async[a0_0x14e6fd(0xbe)](_0x56b72e){const _0x49f920=a0_0x14e6fd;await MetaUiUtil[_0x49f920(0xbe)](this,_0x56b72e);}async[a0_0x14e6fd(0xa6)](_0x2454e8,_0x33c201){const _0x16c782=a0_0x14e6fd;await MetaUiUtil[_0x16c782(0xa6)](this,_0x2454e8,_0x33c201);}[a0_0x14e6fd(0xba)](_0x4c5f2d){const _0x5f2152=a0_0x14e6fd;this[_0x5f2152(0xae)]=_0x4c5f2d[_0x5f2152(0xa8)],this[_0x5f2152(0xa7)]=MetaUiUtil[_0x5f2152(0xad)](this[_0x5f2152(0xae)],_0x5f2152(0xab)),this[_0x5f2152(0xa5)]=MetaUiUtil[_0x5f2152(0xad)](this[_0x5f2152(0xae)],_0x5f2152(0xbc)),this[_0x5f2152(0xb3)]=MetaUiUtil[_0x5f2152(0xad)](this['buttonConfig'],_0x5f2152(0xb7));}};
@@ -1 +1 @@
1
- const a0_0x5c779b=a0_0x2134;(function(_0x387d47,_0x30a2b0){const _0x1f62b2=a0_0x2134,_0x4acd2b=_0x387d47();while(!![]){try{const _0x4758ab=parseInt(_0x1f62b2(0x10d))/0x1+-parseInt(_0x1f62b2(0xdf))/0x2+parseInt(_0x1f62b2(0xcc))/0x3+parseInt(_0x1f62b2(0xed))/0x4+parseInt(_0x1f62b2(0xcf))/0x5*(parseInt(_0x1f62b2(0xca))/0x6)+-parseInt(_0x1f62b2(0xe4))/0x7+parseInt(_0x1f62b2(0xfd))/0x8*(-parseInt(_0x1f62b2(0x10e))/0x9);if(_0x4758ab===_0x30a2b0)break;else _0x4acd2b['push'](_0x4acd2b['shift']());}catch(_0x5e04f1){_0x4acd2b['push'](_0x4acd2b['shift']());}}}(a0_0x6997,0xb463b));function a0_0x2134(_0xdc461e,_0xefac14){const _0x6997cd=a0_0x6997();return a0_0x2134=function(_0x213453,_0x3279d3){_0x213453=_0x213453-0xc8;let _0x1c738d=_0x6997cd[_0x213453];return _0x1c738d;},a0_0x2134(_0xdc461e,_0xefac14);}function a0_0x6997(){const _0x546363=['column','forEach','editing','__dirty__','connectedCallback','orgData','isPage','240SMDmSd','keys','459411pNPhTz','call','clear','96935JFiZIk','record','formColumnConfig','Escape','detail','currentTarget','grid_column','entries','addEventListener','properties','isEmpty','isEquals','OX-GRID-FIELD','isElement','object','parseFormConfigs','941178bllgHr','after','showAlertPopup','map','isNotEmpty','3196151NoMSvo','dataSet','__origin__','findOne','validation','is_activity','function','text.NOTHING_CHANGED','__dirtyfields__','5518512YMBWHF','formRenderConfig','target','activityDataSet','stopPropagation','removeAttribute','getBasicFormStyles','firstUpdated','renderRoot','editable','key','parent_id','true','name','startsWith','setAttribute','8pbekzl','pageInitialized','button','tagName','fetch','parseFormConfigSet','save','title.info','getContextObject','getAndParseMenuMeta','render','dirtyData','Esc','focus','cuFlag','field-change','1387473pekpWh','18266949aHYHta','updateMultiple','assign','currentData','removeGarbageData','__seq__','config','patchData'];a0_0x6997=function(){return _0x546363;};return a0_0x6997();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x13f841=>class extends MetaButtonMixin(_0x13f841){static get['styles'](){const _0x10ab6f=a0_0x2134;return MetaApi[_0x10ab6f(0xf3)]();}static get[a0_0x5c779b(0xd8)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x290076=a0_0x5c779b;return MetaUiUtil[_0x290076(0x105)](this);}async[a0_0x5c779b(0x11a)](){const _0x1bb7e7=a0_0x5c779b;if(this[_0x1bb7e7(0x114)]){let {column:_0x27eaac=0x1}=this['config'];this[_0x1bb7e7(0x116)]=_0x27eaac;}await this[_0x1bb7e7(0x106)](),this[_0x1bb7e7(0xdc)]&&await this[_0x1bb7e7(0xde)](),this[_0x1bb7e7(0xf0)]&&(this[_0x1bb7e7(0xe5)]=this[_0x1bb7e7(0xf0)]),!0x0!==this[_0x1bb7e7(0xe9)]||this[_0x1bb7e7(0xf8)]||(this['parent_id']='activity'),super['connectedCallback']&&await super[_0x1bb7e7(0x11a)](),this['isElement']&&await this['fetch'](),this[_0x1bb7e7(0xf5)][_0x1bb7e7(0xd7)]('keydown',_0x599f91=>{const _0x42bc96=_0x1bb7e7;switch(_0x599f91[_0x42bc96(0xf7)]){case _0x42bc96(0x109):case _0x42bc96(0xd2):case'Enter':this[_0x42bc96(0x10a)](),this[_0x42bc96(0xd4)]&&this['currentTarget'][_0x42bc96(0xf2)](_0x42bc96(0x118)),this[_0x42bc96(0xd4)]=null;}}),this[_0x1bb7e7(0xf5)][_0x1bb7e7(0xd7)]('click',_0x46d488=>{const _0x134355=_0x1bb7e7;_0x46d488[_0x134355(0xf1)]();let _0x39cb6f=_0x46d488[_0x134355(0xef)];if(this[_0x134355(0xd4)]&&(this['focus'](),this[_0x134355(0xd4)]['removeAttribute'](_0x134355(0x118))),_0x134355(0xdb)!==_0x39cb6f[_0x134355(0x100)]||!_0x39cb6f[_0x134355(0x116)][_0x134355(0xd0)][_0x134355(0xf6)])return this['focus'](),void(this[_0x134355(0xd4)]=null);this[_0x134355(0xd4)]=_0x39cb6f,_0x39cb6f[_0x134355(0xfc)](_0x134355(0x118),_0x134355(0xf9));}),this['addEventListener'](_0x1bb7e7(0x10c),_0x2712d7=>{const _0x430cb6=_0x1bb7e7;var {after:_0x3952be,before:_0x5c9dd6,column:_0x40b649,record:_0x39f16a,row:_0xe0c607}=_0x2712d7[_0x430cb6(0xd3)];if(ValueUtil[_0x430cb6(0xda)](_0x3952be,_0x5c9dd6))return;var _0x28aad6=_0x40b649[_0x430cb6(0xe8)];if(_0x28aad6&&_0x430cb6(0xea)==typeof _0x28aad6&&!_0x28aad6[_0x430cb6(0xcd)](this,_0x3952be,_0x5c9dd6,_0x39f16a,_0x40b649))return;let _0xa4e9c8=_0x40b649[_0x430cb6(0xfa)];_0x39f16a[_0xa4e9c8]=_0x3952be,_0x39f16a[_0x430cb6(0xec)]=_0x39f16a[_0x430cb6(0xec)]||{},_0x39f16a[_0x430cb6(0xe6)]=_0x39f16a[_0x430cb6(0xe6)]||{},_0x39f16a[_0x430cb6(0xec)][_0xa4e9c8]={'before':_0x39f16a['__origin__'][_0xa4e9c8],'after':_0x39f16a[_0xa4e9c8]},ValueUtil[_0x430cb6(0xda)](_0x39f16a[_0x430cb6(0xec)][_0xa4e9c8]['before'],_0x39f16a[_0x430cb6(0xec)][_0xa4e9c8][_0x430cb6(0xe0)])&&delete _0x39f16a['__dirtyfields__'][_0xa4e9c8],ValueUtil[_0x430cb6(0xe3)](_0x39f16a[_0x430cb6(0xec)])?_0x39f16a[_0x430cb6(0x119)]='M':_0x39f16a[_0x430cb6(0x119)]='',this[_0x430cb6(0xd0)]={..._0x39f16a};});}async[a0_0x5c779b(0xf4)](){const _0x40e5ab=a0_0x5c779b;super['firstUpdated']&&await super[_0x40e5ab(0xf4)]();}async[a0_0x5c779b(0xfe)](){const _0x3baf73=a0_0x5c779b;this[_0x3baf73(0xc9)]&&await this[_0x3baf73(0xde)](),super['pageInitialized']&&await super[_0x3baf73(0xfe)](),this['isPage']&&await this[_0x3baf73(0x101)]();}[a0_0x5c779b(0x107)](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x4ace27){const _0x232ff2=a0_0x5c779b;this[_0x232ff2(0xd1)]=_0x4ace27[_0x232ff2(0xd5)],this[_0x232ff2(0xee)]=_0x4ace27['form'],_0x4ace27[_0x232ff2(0xff)]=_0x4ace27[_0x232ff2(0xff)]['filter'](_0x1ef68a=>_0x232ff2(0x103)==_0x1ef68a['name']);}async[a0_0x5c779b(0xde)](){const _0x19b8bd=a0_0x5c779b;this['formConfigSet']=await MetaApi[_0x19b8bd(0x102)](this);}get[a0_0x5c779b(0xc8)](){const _0x4fdf4c=a0_0x5c779b;return this[_0x4fdf4c(0x112)](this[_0x4fdf4c(0xd0)][_0x4fdf4c(0xe6)]);}get['dirtyData'](){const _0x1f9ea4=a0_0x5c779b;if(ValueUtil[_0x1f9ea4(0xd9)](this[_0x1f9ea4(0xd0)]['__dirtyfields__']))return{};let _0x8999a0={};return Object[_0x1f9ea4(0xd6)](this['record']['__dirtyfields__'])[_0x1f9ea4(0xe2)](([_0x4efb16,_0x38b96f])=>{const _0x2c3833=_0x1f9ea4;0x0==_0x4efb16[_0x2c3833(0xfb)]('__')&&(_0x8999a0[_0x4efb16]=_0x38b96f['after']);}),_0x8999a0;}get[a0_0x5c779b(0x111)](){const _0x20aa5a=a0_0x5c779b;return this[_0x20aa5a(0x112)](this['record']);}['removeGarbageData'](_0x46769d){const _0x35d90b=a0_0x5c779b;let _0xa03779={};if(_0x46769d)return Object[_0x35d90b(0xd6)](_0x46769d)[_0x35d90b(0xe2)](([_0x5e2ea7,_0x3b0604])=>{const _0x279cc9=_0x35d90b;0x0==_0x5e2ea7[_0x279cc9(0xfb)]('__')&&(_0xa03779[_0x5e2ea7]=_0x3b0604);}),_0xa03779;}get[a0_0x5c779b(0x115)](){const _0x52bfaa=a0_0x5c779b;let _0x1d3189=this[_0x52bfaa(0x108)],_0x3b7ae5=this[_0x52bfaa(0xd0)];return ValueUtil[_0x52bfaa(0xd9)](_0x1d3189)?[]:(ValueUtil['isNotEmpty'](_0x3b7ae5['id'])?(_0x1d3189['id']=_0x3b7ae5['id'],_0x1d3189[_0x52bfaa(0x10b)]='M'):_0x1d3189[_0x52bfaa(0x10b)]='+',Object[_0x52bfaa(0xcb)](_0x1d3189)[_0x52bfaa(0x117)](_0x2a00c7=>{const _0x94f42=_0x52bfaa;_0x94f42(0xdd)==typeof _0x1d3189[_0x2a00c7]&&(_0x1d3189[_0x2a00c7]={'id':_0x1d3189[_0x2a00c7]['id']});}),[_0x1d3189]);}async[a0_0x5c779b(0x101)](){const _0x2d53f3=a0_0x5c779b;if(ValueUtil[_0x2d53f3(0xd9)](this['parent_id']))return;let _0x361f01=await this[_0x2d53f3(0xe7)](this['parent_id']);_0x361f01[_0x2d53f3(0x113)]=0x1;let _0x3b7c74={};Object[_0x2d53f3(0x110)](_0x3b7c74,_0x361f01),_0x361f01[_0x2d53f3(0xe6)]=_0x3b7c74,this[_0x2d53f3(0xd0)]={..._0x361f01};}async['save'](){const _0x3b9928=a0_0x5c779b;let _0x54b8f9=this[_0x3b9928(0x115)];if(ValueUtil[_0x3b9928(0xd9)](_0x54b8f9))return void MetaApi[_0x3b9928(0xe1)](_0x3b9928(0x104),_0x3b9928(0xeb));let _0x518207=await this[_0x3b9928(0x10f)](_0x54b8f9);return _0x518207&&await this['fetch'](),_0x518207;}async[a0_0x5c779b(0xce)](){const _0x4798d8=a0_0x5c779b;this[_0x4798d8(0xd0)]&&(this[_0x4798d8(0xd0)]={});}['getData'](){return this['currentData']||{};}};
1
+ const a0_0x9c5422=a0_0x5060;(function(_0x1087fe,_0x1aae3b){const _0x5ed57e=a0_0x5060,_0xcfd39=_0x1087fe();while(!![]){try{const _0x5e05f4=parseInt(_0x5ed57e(0x12d))/0x1+parseInt(_0x5ed57e(0x14d))/0x2+-parseInt(_0x5ed57e(0x14b))/0x3*(-parseInt(_0x5ed57e(0x10e))/0x4)+parseInt(_0x5ed57e(0x10c))/0x5+parseInt(_0x5ed57e(0x149))/0x6*(-parseInt(_0x5ed57e(0x14e))/0x7)+-parseInt(_0x5ed57e(0x157))/0x8+parseInt(_0x5ed57e(0x112))/0x9*(-parseInt(_0x5ed57e(0x12c))/0xa);if(_0x5e05f4===_0x1aae3b)break;else _0xcfd39['push'](_0xcfd39['shift']());}catch(_0x310f72){_0xcfd39['push'](_0xcfd39['shift']());}}}(a0_0x2cf5,0xcaa07));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x3d7869=>class extends MetaButtonMixin(_0x3d7869){static get[a0_0x9c5422(0x135)](){const _0x4edcd8=a0_0x9c5422;return MetaApi[_0x4edcd8(0x132)]();}static get[a0_0x9c5422(0x153)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x9c5422(0x121)](){const _0x14c773=a0_0x9c5422;return MetaUiUtil[_0x14c773(0x124)](this);}async['connectedCallback'](){const _0xdd7b53=a0_0x9c5422;if(this['config']){let {column:_0x33bb67=0x1}=this[_0xdd7b53(0x106)];this['column']=_0x33bb67;}await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0xdd7b53(0x11b)](),this[_0xdd7b53(0x120)]&&(this[_0xdd7b53(0x150)]=this[_0xdd7b53(0x120)]),!0x0!==this[_0xdd7b53(0x109)]||this[_0xdd7b53(0x11f)]||(this[_0xdd7b53(0x11f)]=_0xdd7b53(0x155)),super[_0xdd7b53(0x10d)]&&await super[_0xdd7b53(0x10d)](),this[_0xdd7b53(0x125)]&&await this[_0xdd7b53(0x12e)](),this[_0xdd7b53(0x134)]['addEventListener'](_0xdd7b53(0x147),_0x2e9d1d=>{const _0x2b1a7f=_0xdd7b53;switch(_0x2e9d1d[_0x2b1a7f(0x114)]){case'Esc':case _0x2b1a7f(0x11e):case'Enter':this['focus'](),this['currentTarget']&&this['currentTarget'][_0x2b1a7f(0x130)](_0x2b1a7f(0x11c)),this['currentTarget']=null;}}),this[_0xdd7b53(0x134)]['addEventListener'](_0xdd7b53(0x13c),_0x4a1fc2=>{const _0x1283a5=_0xdd7b53;_0x4a1fc2[_0x1283a5(0x141)]();let _0x4a41f3=_0x4a1fc2['target'];if(this[_0x1283a5(0x152)]&&(this[_0x1283a5(0x10f)](),this[_0x1283a5(0x152)]['removeAttribute'](_0x1283a5(0x11c))),_0x1283a5(0x118)!==_0x4a41f3[_0x1283a5(0x138)]||!_0x4a41f3[_0x1283a5(0x122)]['record'][_0x1283a5(0x143)])return this['focus'](),void(this[_0x1283a5(0x152)]=null);this[_0x1283a5(0x152)]=_0x4a41f3,_0x4a41f3['setAttribute'](_0x1283a5(0x11c),_0x1283a5(0x14c));}),this[_0xdd7b53(0x129)](_0xdd7b53(0x13a),_0x2f2c38=>{const _0x20c8d1=_0xdd7b53;var {after:_0x1ac238,before:_0x10001d,column:_0x537287,record:_0x19f315,row:_0x1d078f}=_0x2f2c38['detail'];if(ValueUtil[_0x20c8d1(0x154)](_0x1ac238,_0x10001d))return;var _0x2b476a=_0x537287[_0x20c8d1(0x139)];if(_0x2b476a&&'function'==typeof _0x2b476a&&!_0x2b476a[_0x20c8d1(0x151)](this,_0x1ac238,_0x10001d,_0x19f315,_0x537287))return;let _0x4db553=_0x537287[_0x20c8d1(0x119)];_0x19f315[_0x4db553]=_0x1ac238,_0x19f315[_0x20c8d1(0x13e)]=_0x19f315[_0x20c8d1(0x13e)]||{},_0x19f315['__origin__']=_0x19f315[_0x20c8d1(0x127)]||{},_0x19f315['__dirtyfields__'][_0x4db553]={'before':_0x19f315['__origin__'][_0x4db553],'after':_0x19f315[_0x4db553]},ValueUtil[_0x20c8d1(0x154)](_0x19f315[_0x20c8d1(0x13e)][_0x4db553]['before'],_0x19f315[_0x20c8d1(0x13e)][_0x4db553]['after'])&&delete _0x19f315[_0x20c8d1(0x13e)][_0x4db553],ValueUtil['isNotEmpty'](_0x19f315['__dirtyfields__'])?_0x19f315[_0x20c8d1(0x12b)]='M':_0x19f315[_0x20c8d1(0x12b)]='',this[_0x20c8d1(0x128)]={..._0x19f315};});}async['firstUpdated'](){const _0x39341a=a0_0x9c5422;super[_0x39341a(0x13d)]&&await super[_0x39341a(0x13d)]();}async[a0_0x9c5422(0x14f)](){const _0x366594=a0_0x9c5422;this[_0x366594(0x107)]&&await this[_0x366594(0x11b)](),super[_0x366594(0x14f)]&&await super[_0x366594(0x14f)](),this[_0x366594(0x107)]&&await this[_0x366594(0x12e)]();}['render'](){const _0x592ebb=a0_0x9c5422;return MetaApi[_0x592ebb(0x13f)](this);}[a0_0x9c5422(0x11a)](_0x1693b2){const _0x59db9a=a0_0x9c5422;this[_0x59db9a(0x13b)]=_0x1693b2[_0x59db9a(0x148)],this[_0x59db9a(0x113)]=_0x1693b2['form'],_0x1693b2[_0x59db9a(0x11d)]=_0x1693b2[_0x59db9a(0x11d)][_0x59db9a(0x108)](_0x4eebe7=>_0x59db9a(0x12f)==_0x4eebe7['name']);}async[a0_0x9c5422(0x11b)](){const _0x45e1ec=a0_0x9c5422;this[_0x45e1ec(0x131)]=await MetaApi[_0x45e1ec(0x10a)](this);}get[a0_0x9c5422(0x105)](){const _0xe4d676=a0_0x9c5422;return this[_0xe4d676(0x126)](this[_0xe4d676(0x128)][_0xe4d676(0x127)]);}get[a0_0x9c5422(0x116)](){const _0x90f0dd=a0_0x9c5422;if(ValueUtil[_0x90f0dd(0x117)](this[_0x90f0dd(0x128)][_0x90f0dd(0x13e)]))return{};let _0x1cdd7a={};return Object[_0x90f0dd(0x156)](this[_0x90f0dd(0x128)][_0x90f0dd(0x13e)])[_0x90f0dd(0x133)](([_0x421e9f,_0x120c2b])=>{const _0x30730d=_0x90f0dd;0x0==_0x421e9f[_0x30730d(0x104)]('__')&&(_0x1cdd7a[_0x421e9f]=_0x120c2b[_0x30730d(0x123)]);}),_0x1cdd7a;}get['currentData'](){const _0x1c6913=a0_0x9c5422;return this[_0x1c6913(0x126)](this[_0x1c6913(0x128)]);}[a0_0x9c5422(0x126)](_0x320a67){const _0x5f0715=a0_0x9c5422;let _0x7f89f9={};if(_0x320a67)return Object[_0x5f0715(0x156)](_0x320a67)[_0x5f0715(0x133)](([_0x42ae3a,_0xd87f98])=>{0x0==_0x42ae3a['startsWith']('__')&&(_0x7f89f9[_0x42ae3a]=_0xd87f98);}),_0x7f89f9;}get[a0_0x9c5422(0x12a)](){const _0x586aab=a0_0x9c5422;let _0x5d36f6=this[_0x586aab(0x116)],_0x5873a7=this[_0x586aab(0x128)];return ValueUtil['isEmpty'](_0x5d36f6)?[]:(ValueUtil['isNotEmpty'](_0x5873a7['id'])?(_0x5d36f6['id']=_0x5873a7['id'],_0x5d36f6[_0x586aab(0x142)]='M'):_0x5d36f6[_0x586aab(0x142)]='+',Object[_0x586aab(0x10b)](_0x5d36f6)[_0x586aab(0x115)](_0x41e57b=>{'object'==typeof _0x5d36f6[_0x41e57b]&&(_0x5d36f6[_0x41e57b]={'id':_0x5d36f6[_0x41e57b]['id']});}),[_0x5d36f6]);}async[a0_0x9c5422(0x12e)](){const _0x3eeae1=a0_0x9c5422;if(ValueUtil['isEmpty'](this[_0x3eeae1(0x11f)]))return;let _0xb697c=await this[_0x3eeae1(0x14a)](this[_0x3eeae1(0x11f)]);_0xb697c[_0x3eeae1(0x140)]=0x1;let _0x1e81ea={};Object[_0x3eeae1(0x146)](_0x1e81ea,_0xb697c),_0xb697c[_0x3eeae1(0x127)]=_0x1e81ea,this[_0x3eeae1(0x128)]={..._0xb697c};}async[a0_0x9c5422(0x12f)](){const _0x33ee97=a0_0x9c5422;let _0x35c897=this['patchData'];if(ValueUtil[_0x33ee97(0x117)](_0x35c897))return void MetaApi[_0x33ee97(0x136)](_0x33ee97(0x137),_0x33ee97(0x145));let _0x31ed10=await this[_0x33ee97(0x144)](_0x35c897);return _0x31ed10&&await this['fetch'](),_0x31ed10;}async[a0_0x9c5422(0x110)](){const _0x1703ef=a0_0x9c5422;this['record']&&(this[_0x1703ef(0x128)]={});}[a0_0x9c5422(0x111)](){return this['currentData']||{};}};function a0_0x5060(_0x1ef7f3,_0x540c2c){const _0x2cf5fe=a0_0x2cf5();return a0_0x5060=function(_0x506052,_0x2ec38b){_0x506052=_0x506052-0x104;let _0x2c8197=_0x2cf5fe[_0x506052];return _0x2c8197;},a0_0x5060(_0x1ef7f3,_0x540c2c);}function a0_0x2cf5(){const _0x14f14d=['focus','clear','getData','9FWFHZC','formRenderConfig','key','forEach','dirtyData','isEmpty','OX-GRID-FIELD','name','parseBasicFormConfigs','parseFormConfigs','editing','button','Escape','parent_id','activityDataSet','context','column','after','getContextObject','isElement','removeGarbageData','__origin__','record','addEventListener','patchData','__dirty__','6659970RyQXMz','432239wPnVFZ','fetch','save','removeAttribute','formConfigSet','getBasicFormStyles','map','renderRoot','styles','showAlertPopup','title.info','tagName','validation','field-change','formColumnConfig','click','firstUpdated','__dirtyfields__','getBasicFormHtml','__seq__','stopPropagation','cuFlag','editable','updateMultiple','text.NOTHING_CHANGED','assign','keydown','grid_column','276AJqnnq','findOne','9105JogooD','true','2895060aEeqhd','89348RJbrOs','pageInitialized','dataSet','call','currentTarget','properties','isEquals','activity','entries','6104128xdmfgN','startsWith','orgData','config','isPage','filter','is_activity','parseFormConfigSet','keys','2176110UMwVyj','connectedCallback','700oRnKsK'];a0_0x2cf5=function(){return _0x14f14d;};return a0_0x2cf5();}
@@ -1 +1 @@
1
- const a0_0x37962b=a0_0x213d;(function(_0x167e71,_0x5a8ba4){const _0x46b92a=a0_0x213d,_0x468548=_0x167e71();while(!![]){try{const _0x4e9834=parseInt(_0x46b92a(0x18d))/0x1*(parseInt(_0x46b92a(0x150))/0x2)+-parseInt(_0x46b92a(0x156))/0x3*(parseInt(_0x46b92a(0x178))/0x4)+parseInt(_0x46b92a(0x17e))/0x5+parseInt(_0x46b92a(0x165))/0x6*(-parseInt(_0x46b92a(0x162))/0x7)+parseInt(_0x46b92a(0x172))/0x8*(parseInt(_0x46b92a(0x173))/0x9)+parseInt(_0x46b92a(0x199))/0xa*(parseInt(_0x46b92a(0x174))/0xb)+-parseInt(_0x46b92a(0x153))/0xc*(parseInt(_0x46b92a(0x177))/0xd);if(_0x4e9834===_0x5a8ba4)break;else _0x468548['push'](_0x468548['shift']());}catch(_0xa692e9){_0x468548['push'](_0x468548['shift']());}}}(a0_0x5ccf,0x4d2dd));function a0_0x5ccf(){const _0x57cf16=['delete','styles','operator','actions','parseBasicGridConfigs','activityDataSet','exportableData','connectedCallback','5191ldTJnD','firstUpdated','beforeFetch','exportable','parseGristConfigs','parseGridConfigSet','forEach','searchConfig','stringify','useFilterForm','render','clear','278470JWaHeF','menuInfo','gristConfigSet','records','grid','164ioWtje','find','fetch','600LPfBWd','getAndParseMenuMeta','shadowRoot','261gqQhsJ','main','meta-tab-element','getParams','gristId','getContextObject','importable','columns','tTitle','parse','record','filter','7wsDvPx','startsWith','export','1475202ljYJDQ','ox-filters-form-base','pageInitialized','grist','isPage','gridColumnConfig','getSelectedIdList','deleteByIds','dataSet','getData','filterFormId','gridConfig','searchFields','2632EVHkjI','15597VXcJaz','88bktiLu','findOne','grid_column','195689AtFLvD','16240YTsNnb','updateMultiple','name','querySelector','map','type','2246335CVAVdm','getBasicGristTabStyles','keys','isNotEmpty','___data','renderRoot','options'];a0_0x5ccf=function(){return _0x57cf16;};return a0_0x5ccf();}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';function a0_0x213d(_0xaff11e,_0x167025){const _0x5ccf7c=a0_0x5ccf();return a0_0x213d=function(_0x213dcc,_0x4be818){_0x213dcc=_0x213dcc-0x150;let _0x463fc1=_0x5ccf7c[_0x213dcc];return _0x463fc1;},a0_0x213d(_0xaff11e,_0x167025);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x1f1201=>class extends MetaButtonMixin(_0x1f1201){static get[a0_0x37962b(0x186)](){const _0x5dbb9a=a0_0x37962b;return MetaApi[_0x5dbb9a(0x17f)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x37962b(0x168)](){const _0x2082aa=a0_0x37962b;return this['renderRoot'][_0x2082aa(0x17b)](this[_0x2082aa(0x15a)]);}get['filterForm'](){const _0x40d74c=a0_0x37962b;return this[_0x40d74c(0x155)]?.[_0x40d74c(0x17b)](this[_0x40d74c(0x16f)]);}get['context'](){const _0x3dcca5=a0_0x37962b;let _0xa3e5e8=MetaUiUtil[_0x3dcca5(0x15b)](this);return _0xa3e5e8[_0x3dcca5(0x188)]&&delete _0xa3e5e8[_0x3dcca5(0x188)],_0xa3e5e8[_0x3dcca5(0x190)]&&delete _0xa3e5e8[_0x3dcca5(0x190)],_0xa3e5e8[_0x3dcca5(0x15c)]&&delete _0xa3e5e8[_0x3dcca5(0x15c)],_0xa3e5e8;}async['connectedCallback'](){const _0xd740f8=a0_0x37962b;this[_0xd740f8(0x15a)]='ox-grist',this['filterFormId']=_0xd740f8(0x166),await this[_0xd740f8(0x154)](),this['isElement']&&await this[_0xd740f8(0x191)](),this[_0xd740f8(0x18a)]&&(this[_0xd740f8(0x16d)]=(this['activityDataSet']||{})[_0xd740f8(0x157)]),super['connectedCallback']&&await super[_0xd740f8(0x18c)]();}async['firstUpdated'](){const _0x3a8faa=a0_0x37962b;super['firstUpdated']&&await super[_0x3a8faa(0x18e)]();}async[a0_0x37962b(0x167)](){const _0xd1dd82=a0_0x37962b;this[_0xd1dd82(0x169)]&&await this[_0xd1dd82(0x191)](),super[_0xd1dd82(0x167)]&&await super[_0xd1dd82(0x167)]();}[a0_0x37962b(0x197)](){return MetaApi['getGristTabHtml'](this);}[a0_0x37962b(0x189)](_0x346986){const _0x246e81=a0_0x37962b;this[_0x246e81(0x170)]=_0x346986[_0x246e81(0x19d)],this[_0x246e81(0x16a)]=_0x346986[_0x246e81(0x176)],this[_0x246e81(0x194)]=_0x346986['search'];}async[a0_0x37962b(0x191)](){const _0x1044bc=a0_0x37962b;this[_0x1044bc(0x19b)]=await MetaApi[_0x1044bc(0x192)](this),this['useMasterFilterForm']=this[_0x1044bc(0x196)],this[_0x1044bc(0x196)]=!0x1,this[_0x1044bc(0x171)]=this['gristConfigSet'][_0x1044bc(0x15d)][_0x1044bc(0x161)](_0x41d57b=>_0x41d57b[_0x1044bc(0x161)])[_0x1044bc(0x17c)](_0x44699a=>{const _0x414246=_0x1044bc;let _0x2c394d={'name':_0x44699a[_0x414246(0x17a)],'type':_0x44699a[_0x414246(0x17d)],'label':_0x44699a['header'],'operator':_0x44699a[_0x414246(0x161)][_0x414246(0x187)]?_0x44699a[_0x414246(0x161)][_0x414246(0x187)]:'eq'};return _0x44699a[_0x414246(0x160)][_0x414246(0x184)]&&(_0x2c394d[_0x414246(0x184)]=_0x44699a['record'][_0x414246(0x184)]),_0x2c394d;});}async['fetch'](){const _0x1e4c77=a0_0x37962b;await this['grist'][_0x1e4c77(0x152)]();}async[a0_0x37962b(0x18f)]({page:_0x20015c=0x0,limit:_0x558ee2=0x0,sortings:_0x3b7f15=[],filters:_0x18c83a=[]}){const _0x2a9e4f=a0_0x37962b;let _0x388cc8=this[_0x2a9e4f(0x183)]['querySelector'](_0x2a9e4f(0x158));return await _0x388cc8[_0x2a9e4f(0x198)](),!0x0;}async['save'](){const _0x26c93d=a0_0x37962b;let _0xb6da70=MetaApi['patchesForUpdateMultiple'](this[_0x26c93d(0x168)]);!!ValueUtil[_0x26c93d(0x181)](_0xb6da70)&&await this[_0x26c93d(0x179)](_0xb6da70)&&this['fetch']();}async[a0_0x37962b(0x151)](){const _0x1a03b8=a0_0x37962b;let _0x15149c=MetaApi[_0x1a03b8(0x16b)](this[_0x1a03b8(0x168)],!0x0);return ValueUtil[_0x1a03b8(0x181)](_0x15149c)?await this[_0x1a03b8(0x175)](_0x15149c[0x0]):{};}async[a0_0x37962b(0x185)](){const _0x4c589d=a0_0x37962b;let _0x5efe4b=MetaApi[_0x4c589d(0x16b)](this[_0x4c589d(0x168)],!0x0);!!ValueUtil['isNotEmpty'](_0x5efe4b)&&await this[_0x4c589d(0x16c)](_0x5efe4b)&&this[_0x4c589d(0x152)]();}async[a0_0x37962b(0x164)](){const _0x20af4e=a0_0x37962b;let _0x571b19=TermsUtil[_0x20af4e(0x15e)](ValueUtil[_0x20af4e(0x159)](this[_0x20af4e(0x19a)],'title'));return await MetaApi[_0x20af4e(0x18b)](this['isElement'],_0x571b19,this[_0x20af4e(0x168)]);}async['import'](){}[a0_0x37962b(0x16e)](){const _0x5c06da=a0_0x37962b;let _0x5bca6e=this[_0x5c06da(0x168)][_0x5c06da(0x182)][_0x5c06da(0x19c)];return _0x5bca6e=JSON[_0x5c06da(0x15f)](JSON[_0x5c06da(0x195)](_0x5bca6e)),_0x5bca6e['forEach'](_0x401cde=>{const _0x50c459=_0x5c06da;Object[_0x50c459(0x180)](_0x401cde)[_0x50c459(0x193)](_0x5399ed=>{const _0x1e859a=_0x50c459;_0x5399ed[_0x1e859a(0x163)]('__')&&delete _0x401cde[_0x5399ed];});}),{'main':_0x5bca6e,'detail':this[_0x5c06da(0x183)]['querySelector']('meta-tab-element')[_0x5c06da(0x16e)]()};}};
1
+ const a0_0x32a9ac=a0_0x7420;(function(_0x4960a5,_0x5b64a6){const _0x53663a=a0_0x7420,_0x1ca35b=_0x4960a5();while(!![]){try{const _0x19685f=-parseInt(_0x53663a(0x171))/0x1*(parseInt(_0x53663a(0x13a))/0x2)+-parseInt(_0x53663a(0x133))/0x3+-parseInt(_0x53663a(0x165))/0x4*(-parseInt(_0x53663a(0x16e))/0x5)+-parseInt(_0x53663a(0x150))/0x6+parseInt(_0x53663a(0x139))/0x7*(-parseInt(_0x53663a(0x163))/0x8)+-parseInt(_0x53663a(0x132))/0x9+parseInt(_0x53663a(0x14c))/0xa*(parseInt(_0x53663a(0x13e))/0xb);if(_0x19685f===_0x5b64a6)break;else _0x1ca35b['push'](_0x1ca35b['shift']());}catch(_0x3e6923){_0x1ca35b['push'](_0x1ca35b['shift']());}}}(a0_0x1e31,0xb843e));function a0_0x1e31(){const _0x1f104b=['1188970iJcukF','gristConfigSet','clear','name','7195140sUgxqq','parseGridConfigSet','searchConfig','connectedCallback','properties','parseBasicGridConfigs','getParams','dataSet','isNotEmpty','keys','records','fetch','importable','ox-filters-form-base','updateMultiple','exportable','firstUpdated','main','menuInfo','160IsNyyk','filterFormId','152bquxHv','getData','grist','gristId','querySelector','deleteByIds','exportableData','___data','operator','164705cpBZEp','find','getBasicGristTabStyles','763290VpXRSu','isElement','pageInitialized','activityDataSet','meta-tab-element','beforeFetch','useFilterForm','record','filter','startsWith','parseGristConfigs','map','delete','save','3318984dFeErk','3603264mhzdQj','getGristTabHtml','type','forEach','styles','gridColumnConfig','102823mzZvAE','2MRksar','findOne','renderRoot','tTitle','308sTSXbi','header','shadowRoot','options','export','isPage','patchesForUpdateMultiple','ox-grist','grid_column','actions','searchFields','parse','getSelectedIdList','useMasterFilterForm'];a0_0x1e31=function(){return _0x1f104b;};return a0_0x1e31();}import{html}from'lit';function a0_0x7420(_0x42537d,_0x55bf72){const _0x1e31f3=a0_0x1e31();return a0_0x7420=function(_0x74202b,_0x5af1fd){_0x74202b=_0x74202b-0x130;let _0x1b01d4=_0x1e31f3[_0x74202b];return _0x1b01d4;},a0_0x7420(_0x42537d,_0x55bf72);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x343089=>class extends MetaButtonMixin(_0x343089){static get[a0_0x32a9ac(0x137)](){const _0x39bbb1=a0_0x32a9ac;return MetaApi[_0x39bbb1(0x170)]();}static get[a0_0x32a9ac(0x154)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x32a9ac(0x167)](){const _0x4c1c5f=a0_0x32a9ac;return this[_0x4c1c5f(0x13c)][_0x4c1c5f(0x169)](this[_0x4c1c5f(0x168)]);}get['filterForm'](){const _0x3bfebb=a0_0x32a9ac;return this[_0x3bfebb(0x140)]?.[_0x3bfebb(0x169)](this[_0x3bfebb(0x164)]);}get['context'](){const _0x35d4b9=a0_0x32a9ac;let _0x3e2c98=MetaUiUtil['getContextObject'](this);return _0x3e2c98[_0x35d4b9(0x147)]&&delete _0x3e2c98[_0x35d4b9(0x147)],_0x3e2c98['exportable']&&delete _0x3e2c98[_0x35d4b9(0x15f)],_0x3e2c98[_0x35d4b9(0x15c)]&&delete _0x3e2c98[_0x35d4b9(0x15c)],_0x3e2c98;}async[a0_0x32a9ac(0x153)](){const _0x38a423=a0_0x32a9ac;this[_0x38a423(0x168)]=_0x38a423(0x145),this[_0x38a423(0x164)]=_0x38a423(0x15d),await this['getAndParseMenuMeta'](),this[_0x38a423(0x172)]&&await this[_0x38a423(0x17b)](),this[_0x38a423(0x174)]&&(this[_0x38a423(0x157)]=(this['activityDataSet']||{})[_0x38a423(0x161)]),super[_0x38a423(0x153)]&&await super[_0x38a423(0x153)]();}async[a0_0x32a9ac(0x160)](){const _0x3b061d=a0_0x32a9ac;super['firstUpdated']&&await super[_0x3b061d(0x160)]();}async[a0_0x32a9ac(0x173)](){const _0x371fc3=a0_0x32a9ac;this[_0x371fc3(0x143)]&&await this[_0x371fc3(0x17b)](),super[_0x371fc3(0x173)]&&await super[_0x371fc3(0x173)]();}['render'](){const _0x3dd27a=a0_0x32a9ac;return MetaApi[_0x3dd27a(0x134)](this);}[a0_0x32a9ac(0x155)](_0x59a6ce){const _0x9feaf4=a0_0x32a9ac;this['gridConfig']=_0x59a6ce['grid'],this[_0x9feaf4(0x138)]=_0x59a6ce[_0x9feaf4(0x146)],this[_0x9feaf4(0x152)]=_0x59a6ce['search'];}async[a0_0x32a9ac(0x17b)](){const _0x361065=a0_0x32a9ac;this['gristConfigSet']=await MetaApi[_0x361065(0x151)](this),this[_0x361065(0x14b)]=this[_0x361065(0x177)],this[_0x361065(0x177)]=!0x1,this[_0x361065(0x148)]=this[_0x361065(0x14d)]['columns'][_0x361065(0x179)](_0x38ab53=>_0x38ab53['filter'])[_0x361065(0x17c)](_0x51f167=>{const _0xcacdd6=_0x361065;let _0x51af57={'name':_0x51f167[_0xcacdd6(0x14f)],'type':_0x51f167[_0xcacdd6(0x135)],'label':_0x51f167[_0xcacdd6(0x13f)],'operator':_0x51f167[_0xcacdd6(0x179)][_0xcacdd6(0x16d)]?_0x51f167['filter']['operator']:'eq'};return _0x51f167[_0xcacdd6(0x178)]['options']&&(_0x51af57[_0xcacdd6(0x141)]=_0x51f167[_0xcacdd6(0x178)]['options']),_0x51af57;});}async[a0_0x32a9ac(0x15b)](){const _0x3e18f9=a0_0x32a9ac;await this[_0x3e18f9(0x167)][_0x3e18f9(0x15b)]();}async[a0_0x32a9ac(0x176)]({page:_0x38a8f5=0x0,limit:_0x274abd=0x0,sortings:_0x34b68e=[],filters:_0x1223ff=[]}){const _0xdb96c4=a0_0x32a9ac;let _0x2abe09=this[_0xdb96c4(0x13c)]['querySelector'](_0xdb96c4(0x175));return await _0x2abe09[_0xdb96c4(0x14e)](),!0x0;}async[a0_0x32a9ac(0x131)](){const _0x5ab30f=a0_0x32a9ac;let _0x1707ed=MetaApi[_0x5ab30f(0x144)](this[_0x5ab30f(0x167)]);!!ValueUtil['isNotEmpty'](_0x1707ed)&&await this[_0x5ab30f(0x15e)](_0x1707ed)&&this[_0x5ab30f(0x15b)]();}async[a0_0x32a9ac(0x16f)](){const _0x2c9acb=a0_0x32a9ac;let _0x4513c8=MetaApi[_0x2c9acb(0x14a)](this[_0x2c9acb(0x167)],!0x0);return ValueUtil['isNotEmpty'](_0x4513c8)?await this[_0x2c9acb(0x13b)](_0x4513c8[0x0]):{};}async[a0_0x32a9ac(0x130)](){const _0x4d4699=a0_0x32a9ac;let _0x3951a8=MetaApi[_0x4d4699(0x14a)](this[_0x4d4699(0x167)],!0x0);!!ValueUtil[_0x4d4699(0x158)](_0x3951a8)&&await this[_0x4d4699(0x16a)](_0x3951a8)&&this[_0x4d4699(0x15b)]();}async[a0_0x32a9ac(0x142)](){const _0x47d0a3=a0_0x32a9ac;let _0xae248=TermsUtil[_0x47d0a3(0x13d)](ValueUtil[_0x47d0a3(0x156)](this[_0x47d0a3(0x162)],'title'));return await MetaApi[_0x47d0a3(0x16b)](this[_0x47d0a3(0x172)],_0xae248,this['grist']);}async['import'](){}[a0_0x32a9ac(0x166)](){const _0x34dda9=a0_0x32a9ac;let _0x3f55d2=this['grist'][_0x34dda9(0x16c)][_0x34dda9(0x15a)];return _0x3f55d2=JSON[_0x34dda9(0x149)](JSON['stringify'](_0x3f55d2)),_0x3f55d2[_0x34dda9(0x136)](_0x577607=>{const _0x824185=_0x34dda9;Object[_0x824185(0x159)](_0x577607)[_0x824185(0x136)](_0x23715c=>{const _0x240905=_0x824185;_0x23715c[_0x240905(0x17a)]('__')&&delete _0x577607[_0x23715c];});}),{'main':_0x3f55d2,'detail':this['renderRoot'][_0x34dda9(0x169)](_0x34dda9(0x175))[_0x34dda9(0x166)]()};}};
@@ -1 +1 @@
1
- function a0_0x30a0(_0x57b432,_0xc6233d){const _0x32960f=a0_0x3296();return a0_0x30a0=function(_0x30a0e4,_0x350487){_0x30a0e4=_0x30a0e4-0x100;let _0x594a23=_0x32960f[_0x30a0e4];return _0x594a23;},a0_0x30a0(_0x57b432,_0xc6233d);}const a0_0x1724d9=a0_0x30a0;(function(_0x39255f,_0x128e44){const _0x28dad4=a0_0x30a0,_0x2fde93=_0x39255f();while(!![]){try{const _0x3ac07a=-parseInt(_0x28dad4(0x150))/0x1*(parseInt(_0x28dad4(0x111))/0x2)+parseInt(_0x28dad4(0x133))/0x3*(parseInt(_0x28dad4(0x144))/0x4)+-parseInt(_0x28dad4(0x115))/0x5+parseInt(_0x28dad4(0x10b))/0x6*(parseInt(_0x28dad4(0x123))/0x7)+parseInt(_0x28dad4(0x11d))/0x8+parseInt(_0x28dad4(0x13d))/0x9*(parseInt(_0x28dad4(0x147))/0xa)+parseInt(_0x28dad4(0x151))/0xb*(-parseInt(_0x28dad4(0x105))/0xc);if(_0x3ac07a===_0x128e44)break;else _0x2fde93['push'](_0x2fde93['shift']());}catch(_0x4987bd){_0x2fde93['push'](_0x2fde93['shift']());}}}(a0_0x3296,0x1a6f4));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x3296(){const _0x3ca5c8=['is_activity','filterForm','fetch','734455ZMHOeG','getParams','activityDataSet','getContextObject','getSelectedIdList','getData','clear','createDetailElement','1232872MfGhbX','dataSet','parseBasicGridConfigs','importable','gristId','delete','21wjypTc','export','gridColumnConfig','tagname','searchFields','ox-filters-form-base','properties','main','gridConfig','actions','getAndParseMenuMeta','routing','parseGristConfigs','beforeFetch','operator','isElement','75564fRZUFC','grid_column','isPage','record','parse','htmlToElement','detailElement','useMasterFilterForm','updateMultiple','detail','1688805jaXfAu','import','name','getMasterDetailHtml','search','deleteByIds','title','12mLfVZz','grist','columns','10wGKtpY','filterFormId','find','pageInitialized','keys','parseGridConfigSet','patchesForUpdateMultiple','exportableData','forEach','37yLgNhx','6809OCGfhL','searchConfig','filter','map','connectedCallback','querySelector','\x20id=\x22','renderRoot','options','getBasicMasterDetailStyles','firstUpdated','6828JuWilx','useFilterForm','\x20is_detail=true\x20style=\x22flex:1;\x22></','type','___data','gristConfigSet','403134WDteuv','startsWith','exportable','save','styles','isNotEmpty','622BQqBRE'];a0_0x3296=function(){return _0x3ca5c8;};return a0_0x3296();}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=_0x3b27fb=>class extends MetaButtonMixin(_0x3b27fb){static get[a0_0x1724d9(0x10f)](){const _0x38f812=a0_0x1724d9;return MetaApi[_0x38f812(0x103)]();}static get[a0_0x1724d9(0x129)](){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_0x1724d9(0x145)](){const _0x1ebe36=a0_0x1724d9;return this[_0x1ebe36(0x101)]['querySelector'](this[_0x1ebe36(0x121)]);}get[a0_0x1724d9(0x113)](){const _0x239b41=a0_0x1724d9;return this['shadowRoot']?.[_0x239b41(0x156)](this[_0x239b41(0x148)]);}get['context'](){const _0x31fe37=a0_0x1724d9;let _0x16e33e=MetaUiUtil[_0x31fe37(0x118)](this);return _0x16e33e[_0x31fe37(0x12c)]&&delete _0x16e33e[_0x31fe37(0x12c)],_0x16e33e[_0x31fe37(0x10d)]&&delete _0x16e33e[_0x31fe37(0x10d)],_0x16e33e['importable']&&delete _0x16e33e[_0x31fe37(0x120)],_0x16e33e;}async[a0_0x1724d9(0x155)](){const _0x4af68c=a0_0x1724d9;this[_0x4af68c(0x121)]='ox-grist',this['filterFormId']=_0x4af68c(0x128),await this[_0x4af68c(0x12d)](),this[_0x4af68c(0x132)]&&await this[_0x4af68c(0x12f)](),this[_0x4af68c(0x117)]&&(this[_0x4af68c(0x11e)]=(this['activityDataSet']||{})[_0x4af68c(0x12a)]),super[_0x4af68c(0x155)]&&await super[_0x4af68c(0x155)]();}async['firstUpdated'](){const _0x5f46d9=a0_0x1724d9;super[_0x5f46d9(0x104)]&&await super[_0x5f46d9(0x104)]();}async[a0_0x1724d9(0x14a)](){const _0x8037d4=a0_0x1724d9;this[_0x8037d4(0x135)]&&await this[_0x8037d4(0x12f)](),super['pageInitialized']&&await super[_0x8037d4(0x14a)]();}['render'](){const _0x551460=a0_0x1724d9;return MetaApi[_0x551460(0x140)](this);}[a0_0x1724d9(0x11c)](_0x2a9291){const _0x2e0ed8=a0_0x1724d9;if(!this[_0x2e0ed8(0x139)]){let _0x5b7c52=_0x2a9291['name']?_0x2a9291[_0x2e0ed8(0x13f)]:_0x2e0ed8(0x13c),_0x32df3c='<'+_0x2a9291[_0x2e0ed8(0x126)]+_0x2e0ed8(0x100)+_0x5b7c52+'\x22\x20name=\x22'+_0x5b7c52+'\x22\x20route_name=\x22'+_0x2a9291[_0x2e0ed8(0x12e)]+'\x22\x20'+(!0x0===this[_0x2e0ed8(0x112)]?'is_activity=true':'')+_0x2e0ed8(0x107)+_0x2a9291[_0x2e0ed8(0x126)]+'>';this[_0x2e0ed8(0x139)]=UiUtil[_0x2e0ed8(0x138)](_0x32df3c),this[_0x2e0ed8(0x139)][_0x2e0ed8(0x117)]=(this[_0x2e0ed8(0x117)]||{})[_0x2e0ed8(0x13c)];}}[a0_0x1724d9(0x11f)](_0x19cb43){const _0x421062=a0_0x1724d9;this[_0x421062(0x12b)]=_0x19cb43['grid'],this[_0x421062(0x125)]=_0x19cb43[_0x421062(0x134)],this[_0x421062(0x152)]=_0x19cb43[_0x421062(0x141)];}async[a0_0x1724d9(0x12f)](){const _0x68786a=a0_0x1724d9;this[_0x68786a(0x10a)]=await MetaApi[_0x68786a(0x14c)](this),this[_0x68786a(0x13a)]=this[_0x68786a(0x106)],this[_0x68786a(0x106)]=!0x1,this[_0x68786a(0x127)]=this['gristConfigSet'][_0x68786a(0x146)][_0x68786a(0x153)](_0x446b7e=>_0x446b7e[_0x68786a(0x153)])[_0x68786a(0x154)](_0x20fdb0=>{const _0x3ce8be=_0x68786a;let _0x2fb39e={'name':_0x20fdb0[_0x3ce8be(0x13f)],'type':_0x20fdb0[_0x3ce8be(0x108)],'label':_0x20fdb0['header'],'operator':_0x20fdb0[_0x3ce8be(0x153)][_0x3ce8be(0x131)]?_0x20fdb0[_0x3ce8be(0x153)][_0x3ce8be(0x131)]:'eq'};return _0x20fdb0['record'][_0x3ce8be(0x102)]&&(_0x2fb39e[_0x3ce8be(0x102)]=_0x20fdb0[_0x3ce8be(0x136)][_0x3ce8be(0x102)]),_0x2fb39e;});}async[a0_0x1724d9(0x114)](){const _0xc2100=a0_0x1724d9;await this[_0xc2100(0x145)][_0xc2100(0x114)]();}async[a0_0x1724d9(0x130)]({page:_0xf6aa7a=0x0,limit:_0x1f756a=0x0,sortings:_0xfa282d=[],filters:_0x43148c=[]}){const _0x183cf0=a0_0x1724d9;return this['detailElement']&&this[_0x183cf0(0x139)][_0x183cf0(0x11b)]&&await this[_0x183cf0(0x139)][_0x183cf0(0x11b)](),!0x0;}async[a0_0x1724d9(0x10e)](){const _0x1c1a83=a0_0x1724d9;let _0x123f60=MetaApi[_0x1c1a83(0x14d)](this[_0x1c1a83(0x145)]);!!ValueUtil['isNotEmpty'](_0x123f60)&&await this[_0x1c1a83(0x13b)](_0x123f60)&&this[_0x1c1a83(0x114)]();}async[a0_0x1724d9(0x149)](){const _0x4707b2=a0_0x1724d9;let _0x5ebc01=MetaApi[_0x4707b2(0x119)](this[_0x4707b2(0x145)],!0x0);return ValueUtil[_0x4707b2(0x110)](_0x5ebc01)?await this['findOne'](_0x5ebc01[0x0]):{};}async[a0_0x1724d9(0x122)](){const _0x4552ea=a0_0x1724d9;let _0x56c823=MetaApi[_0x4552ea(0x119)](this[_0x4552ea(0x145)],!0x0);!!ValueUtil[_0x4552ea(0x110)](_0x56c823)&&await this[_0x4552ea(0x142)](_0x56c823)&&this['fetch']();}async[a0_0x1724d9(0x124)](){const _0x3c5a71=a0_0x1724d9;let _0x4da397=TermsUtil['tTitle'](ValueUtil[_0x3c5a71(0x116)](this['menuInfo'],_0x3c5a71(0x143)));return await MetaApi[_0x3c5a71(0x14e)](this['isElement'],_0x4da397,this[_0x3c5a71(0x145)]);}async[a0_0x1724d9(0x13e)](){}['getData'](){const _0x6f633a=a0_0x1724d9;let _0x5c216f=this[_0x6f633a(0x145)][_0x6f633a(0x109)]['records'];return _0x5c216f=JSON[_0x6f633a(0x137)](JSON['stringify'](_0x5c216f)),_0x5c216f[_0x6f633a(0x14f)](_0x1aa147=>{const _0x40a109=_0x6f633a;Object[_0x40a109(0x14b)](_0x1aa147)[_0x40a109(0x14f)](_0x2862d5=>{const _0x14c9a2=_0x40a109;_0x2862d5[_0x14c9a2(0x10c)]('__')&&delete _0x1aa147[_0x2862d5];});}),{'main':_0x5c216f,'detail':this[_0x6f633a(0x139)][_0x6f633a(0x11a)]()};}};
1
+ const a0_0x47e2b9=a0_0x1634;(function(_0x1189f6,_0x42fc5d){const _0x4cfe07=a0_0x1634,_0x5b18e0=_0x1189f6();while(!![]){try{const _0x2d56a1=parseInt(_0x4cfe07(0x206))/0x1+-parseInt(_0x4cfe07(0x1e6))/0x2+parseInt(_0x4cfe07(0x1f4))/0x3*(-parseInt(_0x4cfe07(0x1ce))/0x4)+-parseInt(_0x4cfe07(0x219))/0x5+-parseInt(_0x4cfe07(0x1ec))/0x6+parseInt(_0x4cfe07(0x21a))/0x7+parseInt(_0x4cfe07(0x1cb))/0x8;if(_0x2d56a1===_0x42fc5d)break;else _0x5b18e0['push'](_0x5b18e0['shift']());}catch(_0x311482){_0x5b18e0['push'](_0x5b18e0['shift']());}}}(a0_0x4a19,0x1aca7));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';function a0_0x1634(_0x70c826,_0x40d4e0){const _0x4a197c=a0_0x4a19();return a0_0x1634=function(_0x163408,_0x1ff720){_0x163408=_0x163408-0x1ca;let _0x56ee40=_0x4a197c[_0x163408];return _0x56ee40;},a0_0x1634(_0x70c826,_0x40d4e0);}function a0_0x4a19(){const _0x19b89e=['keys','filter','filterForm','createDetailElement','parse','is_readonly','\x22\x20route_name=\x22','146475OgbUzN','1454103OFWFnf','dataSet','gristId','map','delete','deleteByIds','shadowRoot','search','ox-filters-form-base','1789824uLfLEm','beforeFetch','grid','524XItZcD','gridConfig','searchConfig','properties','getSelectedIdList','isPage','stringify','grid_column','is_activity','firstUpdated','isNotEmpty','detail','updateMultiple','tTitle','menuInfo','htmlToElement','parseGridConfigSet','gristConfigSet','columns','main','name','find','getParams','ox-grist','150424dtQXDH','styles','pageInitialized','filterFormId','context','grist','506214vzFYKT','tagname','getAndParseMenuMeta','type','\x20is_detail=true\x20style=\x22flex:1;\x22></','clear','findOne','isElement','3105vBGjmS','import','useFilterForm','operator','forEach','searchFields','record','options','activityDataSet','\x20id=\x22','useMasterFilterForm','getMasterDetailHtml','querySelector','patchesForUpdateMultiple','connectedCallback','header','importable','fetch','2739dXsuPX','detailElement','___data','export','parseGristConfigs','\x22\x20name=\x22','actions','routing','exportable','getData','save','render'];a0_0x4a19=function(){return _0x19b89e;};return a0_0x4a19();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x11fdc5=>class extends MetaButtonMixin(_0x11fdc5){static get[a0_0x47e2b9(0x1e7)](){return MetaApi['getBasicMasterDetailStyles']();}static get[a0_0x47e2b9(0x1d1)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x47e2b9(0x1eb)](){const _0x35d74a=a0_0x47e2b9;return this['renderRoot'][_0x35d74a(0x200)](this[_0x35d74a(0x21c)]);}get[a0_0x47e2b9(0x214)](){const _0x16d6b1=a0_0x47e2b9;return this[_0x16d6b1(0x220)]?.[_0x16d6b1(0x200)](this[_0x16d6b1(0x1e9)]);}get[a0_0x47e2b9(0x1ea)](){const _0x1562b3=a0_0x47e2b9;let _0x56d091=MetaUiUtil['getContextObject'](this);return _0x56d091['actions']&&delete _0x56d091[_0x1562b3(0x20c)],_0x56d091[_0x1562b3(0x20e)]&&delete _0x56d091['exportable'],_0x56d091[_0x1562b3(0x204)]&&delete _0x56d091[_0x1562b3(0x204)],_0x56d091;}async['connectedCallback'](){const _0x42944c=a0_0x47e2b9;this[_0x42944c(0x21c)]=_0x42944c(0x1e5),this[_0x42944c(0x1e9)]=_0x42944c(0x1ca),await this[_0x42944c(0x1ee)](),this[_0x42944c(0x1f3)]&&await this['parseGristConfigs'](),this['activityDataSet']&&(this[_0x42944c(0x21b)]=(this['activityDataSet']||{})[_0x42944c(0x1e1)]),super[_0x42944c(0x202)]&&await super[_0x42944c(0x202)]();}async[a0_0x47e2b9(0x1d7)](){const _0x1de917=a0_0x47e2b9;super['firstUpdated']&&await super[_0x1de917(0x1d7)]();}async[a0_0x47e2b9(0x1e8)](){const _0x15fe1d=a0_0x47e2b9;this[_0x15fe1d(0x1d3)]&&await this['parseGristConfigs'](),super[_0x15fe1d(0x1e8)]&&await super[_0x15fe1d(0x1e8)]();}[a0_0x47e2b9(0x211)](){const _0x122b23=a0_0x47e2b9;return MetaApi[_0x122b23(0x1ff)](this);}[a0_0x47e2b9(0x215)](_0x46b23a){const _0xe45efd=a0_0x47e2b9;if(!this[_0xe45efd(0x207)]){let _0x23479a=_0x46b23a['name']?_0x46b23a[_0xe45efd(0x1e2)]:_0xe45efd(0x1d9),_0x2051c4='<'+_0x46b23a[_0xe45efd(0x1ed)]+_0xe45efd(0x1fd)+_0x23479a+_0xe45efd(0x20b)+_0x23479a+_0xe45efd(0x218)+_0x46b23a[_0xe45efd(0x20d)]+'\x22\x20'+(!0x0===this[_0xe45efd(0x1d6)]?'is_activity=true':'')+'\x20'+(!0x0===this[_0xe45efd(0x217)]?'is_readonly=true':'')+_0xe45efd(0x1f0)+_0x46b23a[_0xe45efd(0x1ed)]+'>';this[_0xe45efd(0x207)]=UiUtil[_0xe45efd(0x1dd)](_0x2051c4),this['detailElement']['activityDataSet']=(this[_0xe45efd(0x1fc)]||{})[_0xe45efd(0x1d9)];}}['parseBasicGridConfigs'](_0x437f9d){const _0x1b630b=a0_0x47e2b9;this[_0x1b630b(0x1cf)]=_0x437f9d[_0x1b630b(0x1cd)],this['gridColumnConfig']=_0x437f9d[_0x1b630b(0x1d5)],this[_0x1b630b(0x1d0)]=_0x437f9d[_0x1b630b(0x221)];}async[a0_0x47e2b9(0x20a)](){const _0x4778af=a0_0x47e2b9;this[_0x4778af(0x1df)]=await MetaApi[_0x4778af(0x1de)](this),this[_0x4778af(0x1fe)]=this[_0x4778af(0x1f6)],this[_0x4778af(0x1f6)]=!0x1,this[_0x4778af(0x1f9)]=this['gristConfigSet'][_0x4778af(0x1e0)][_0x4778af(0x213)](_0x1ac7c4=>_0x1ac7c4[_0x4778af(0x213)])[_0x4778af(0x21d)](_0x457ef7=>{const _0x3892c5=_0x4778af;let _0x141bb2={'name':_0x457ef7[_0x3892c5(0x1e2)],'type':_0x457ef7[_0x3892c5(0x1ef)],'label':_0x457ef7[_0x3892c5(0x203)],'operator':_0x457ef7[_0x3892c5(0x213)][_0x3892c5(0x1f7)]?_0x457ef7[_0x3892c5(0x213)][_0x3892c5(0x1f7)]:'eq'};return _0x457ef7[_0x3892c5(0x1fa)][_0x3892c5(0x1fb)]&&(_0x141bb2[_0x3892c5(0x1fb)]=_0x457ef7['record']['options']),_0x141bb2;});}async[a0_0x47e2b9(0x205)](){const _0x348954=a0_0x47e2b9;await this[_0x348954(0x1eb)][_0x348954(0x205)]();}async[a0_0x47e2b9(0x1cc)]({page:_0x5f0f8f=0x0,limit:_0x12e6f3=0x0,sortings:_0x5d6d02=[],filters:_0x419082=[]}){const _0x112dc1=a0_0x47e2b9;return this[_0x112dc1(0x207)]&&this[_0x112dc1(0x207)][_0x112dc1(0x1f1)]&&await this[_0x112dc1(0x207)][_0x112dc1(0x1f1)](),!0x0;}async[a0_0x47e2b9(0x210)](){const _0x1a5ea9=a0_0x47e2b9;let _0x4800a6=MetaApi[_0x1a5ea9(0x201)](this[_0x1a5ea9(0x1eb)]);!!ValueUtil['isNotEmpty'](_0x4800a6)&&await this[_0x1a5ea9(0x1da)](_0x4800a6)&&this['fetch']();}async[a0_0x47e2b9(0x1e3)](){const _0x30f7d7=a0_0x47e2b9;let _0x5e90b7=MetaApi['getSelectedIdList'](this[_0x30f7d7(0x1eb)],!0x0);return ValueUtil[_0x30f7d7(0x1d8)](_0x5e90b7)?await this[_0x30f7d7(0x1f2)](_0x5e90b7[0x0]):{};}async[a0_0x47e2b9(0x21e)](){const _0x176363=a0_0x47e2b9;let _0x5cdbb3=MetaApi[_0x176363(0x1d2)](this[_0x176363(0x1eb)],!0x0);!!ValueUtil[_0x176363(0x1d8)](_0x5cdbb3)&&await this[_0x176363(0x21f)](_0x5cdbb3)&&this[_0x176363(0x205)]();}async[a0_0x47e2b9(0x209)](){const _0x2b7fd8=a0_0x47e2b9;let _0x6004d7=TermsUtil[_0x2b7fd8(0x1db)](ValueUtil[_0x2b7fd8(0x1e4)](this[_0x2b7fd8(0x1dc)],'title'));return await MetaApi['exportableData'](this[_0x2b7fd8(0x1f3)],_0x6004d7,this['grist']);}async[a0_0x47e2b9(0x1f5)](){}[a0_0x47e2b9(0x20f)](){const _0x39e51a=a0_0x47e2b9;let _0x1412cf=this[_0x39e51a(0x1eb)][_0x39e51a(0x208)]['records'];return _0x1412cf=JSON[_0x39e51a(0x216)](JSON[_0x39e51a(0x1d4)](_0x1412cf)),_0x1412cf[_0x39e51a(0x1f8)](_0x400c3d=>{const _0x13939c=_0x39e51a;Object[_0x13939c(0x212)](_0x400c3d)[_0x13939c(0x1f8)](_0x333108=>{_0x333108['startsWith']('__')&&delete _0x400c3d[_0x333108];});}),{'main':_0x1412cf,'detail':this['detailElement'][_0x39e51a(0x20f)]()};}};
@@ -1 +1 @@
1
- const a0_0x374f93=a0_0x1ad3;function a0_0x498e(){const _0x2f2110=['getParams','lifecycle','isPage','300375RsMQSx','mutation','skip_fields','multiple','query','getQueryFilters','7OxjRxo','after_set_fields','parent_id','forEach','getPageNavigateParams','fetchHandler','isElement','gql','deleteListByIds','afterFetch','updateMultiple','value','8Dubfjq','1706874PmzWLe','filterForm','keys','is_activity','name','map','44210KaeJTG','split','118688fhgZPq','isNotEmpty','findOne','func','gristConfigSet','dataSet','find_one_func','searchByPagination','filters','records','deleteByIds','gqlInfo','parseBasicServiceConfigs','405183AcNfuM','isArray','push','beforeFetch','618745nmoCjo','234lpLRWd','filter','86350ZdjxJf','length','properties','includes','getSelectColumns','delete'];a0_0x498e=function(){return _0x2f2110;};return a0_0x498e();}(function(_0x40fdbd,_0x510a80){const _0x4930fa=a0_0x1ad3,_0x5de3c2=_0x40fdbd();while(!![]){try{const _0x4c2a39=-parseInt(_0x4930fa(0xc4))/0x1+-parseInt(_0x4930fa(0xbb))/0x2+-parseInt(_0x4930fa(0xb4))/0x3+parseInt(_0x4930fa(0xd6))/0x4*(parseInt(_0x4930fa(0xb8))/0x5)+parseInt(_0x4930fa(0xd7))/0x6*(parseInt(_0x4930fa(0xca))/0x7)+-parseInt(_0x4930fa(0xa7))/0x8+parseInt(_0x4930fa(0xb9))/0x9*(parseInt(_0x4930fa(0xa5))/0xa);if(_0x4c2a39===_0x510a80)break;else _0x5de3c2['push'](_0x5de3c2['shift']());}catch(_0x205a9f){_0x5de3c2['push'](_0x5de3c2['shift']());}}}(a0_0x498e,0x25784));import{adjustFilters}from'@operato/utils';function a0_0x1ad3(_0x31f4b1,_0x4de5a4){const _0x498e79=a0_0x498e();return a0_0x1ad3=function(_0x1ad3f7,_0x201b84){_0x1ad3f7=_0x1ad3f7-0xa0;let _0x4540dc=_0x498e79[_0x1ad3f7];return _0x4540dc;},a0_0x1ad3(_0x31f4b1,_0x4de5a4);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x56cb15=>class extends MetaBaseMixin(_0x56cb15){static get[a0_0x374f93(0xbd)](){return{'gqlInfo':Object};}[a0_0x374f93(0xb3)](_0x2f823c){const _0x3b05d3=a0_0x374f93;this['gqlInfo']=_0x2f823c[_0x3b05d3(0xd1)];}async[a0_0x374f93(0xcf)]({page:_0x4201ac=0x0,limit:_0x540f68=0x0,sortings:_0x519ca0=[],filters:_0x1dbfdb=[]}){const _0x132ee5=a0_0x374f93;if(this[_0x132ee5(0xa2)])return{'total':0x0,'records':this[_0x132ee5(0xac)]||[]};if(!0x0===this['infinityPage']&&(_0x4201ac=0x0,_0x540f68=0x0),this['beforeFetch']&&0x0==await this[_0x132ee5(0xb7)]({'page':_0x4201ac,'limit':_0x540f68,'sortings':_0x519ca0,'filters':_0x1dbfdb}))return;if(!this[_0x132ee5(0xab)])return{'total':0x0,'records':[]};let _0xd39b14=ValueUtil['isEmpty'](_0x1dbfdb)?await this[_0x132ee5(0xa0)]?.[_0x132ee5(0xc9)]()||[]:_0x1dbfdb,_0x1a9903=ValueUtil[_0x132ee5(0xc1)](this['gqlInfo'],_0x132ee5(0xc8),'list_func'),_0x19268f=ValueUtil[_0x132ee5(0xc1)](this['gqlInfo'],_0x132ee5(0xc8),_0x132ee5(0xaf)),_0x11ee7b=ValueUtil[_0x132ee5(0xc1)](this[_0x132ee5(0xb2)],_0x132ee5(0xc8),'after_set_fields');if(ValueUtil[_0x132ee5(0xa8)](_0x19268f)&&(_0xd39b14=adjustFilters(_0xd39b14,_0x19268f)),_0xd39b14['push'](...this[_0x132ee5(0xce)]()),this[_0x132ee5(0xd0)]){let _0x1175af=ValueUtil[_0x132ee5(0xc1)](this[_0x132ee5(0xb2)],_0x132ee5(0xc8),_0x132ee5(0xcc));ValueUtil[_0x132ee5(0xa8)](_0x1175af)&&ValueUtil[_0x132ee5(0xa8)](this[_0x132ee5(0xcc)])&&(_0xd39b14=adjustFilters(_0xd39b14,[{'name':_0x1175af,'operator':'eq','value':this[_0x132ee5(0xcc)]}]));}let _0x410217=Object['keys'](_0x11ee7b||{}),_0x56b321=MetaApi[_0x132ee5(0xbf)](this[_0x132ee5(0xab)]['columns'][_0x132ee5(0xba)](_0x12eac7=>!_0x410217[_0x132ee5(0xbe)](_0x12eac7[_0x132ee5(0xa3)]))),_0x57b196=await MetaApi[_0x132ee5(0xae)](_0x1a9903,_0xd39b14,_0x519ca0,_0x4201ac,_0x540f68,_0x56b321);if(this['afterFetch']){let _0x2af81f=await this[_0x132ee5(0xd3)]({'page':_0x4201ac,'limit':_0x540f68,'sortings':_0x519ca0,'filters':_0x1dbfdb},_0x57b196);if(_0x2af81f)return _0x2af81f;}return ValueUtil[_0x132ee5(0xa8)](_0x11ee7b)&&ValueUtil[_0x132ee5(0xa8)](_0x57b196)&&ValueUtil[_0x132ee5(0xa8)](_0x57b196[_0x132ee5(0xb0)])&&_0x57b196[_0x132ee5(0xb0)][_0x132ee5(0xa4)](_0x4940c7=>(_0x410217['forEach'](_0x659ac=>{_0x4940c7[_0x659ac]=ValueUtil['getParams'](_0x4940c7,..._0x11ee7b[_0x659ac]['split']('.'));}),_0x4940c7)),_0x57b196;}[a0_0x374f93(0xce)](){const _0x26181f=a0_0x374f93;if(0x0==this[_0x26181f(0xc3)])return[];let _0x37ebf6=this[_0x26181f(0xc2)]?.['params']?this[_0x26181f(0xc2)]['params']:{};if(!_0x37ebf6['pass'])return[];let _0x568bac=_0x37ebf6['pass'],_0x2578ea=JSON['parse'](_0x568bac),_0x984f28=0x1==_0x2578ea[_0x26181f(0xbc)]?'eq':'in',_0x50fe13={},_0x3163e5=[];return Object[_0x26181f(0xa1)](_0x2578ea[0x0])[_0x26181f(0xcd)](_0x346927=>{_0x50fe13[_0x346927]={'name':_0x346927,'operator':_0x984f28,'value':'eq'===_0x984f28?_0x2578ea[0x0][_0x346927]:[]};}),_0x2578ea[_0x26181f(0xbc)]>0x1&&_0x2578ea[_0x26181f(0xcd)](_0x430625=>{const _0x22c716=_0x26181f;Object[_0x22c716(0xa1)](_0x430625)['forEach'](_0x4eab0d=>{const _0x7f0b59=_0x22c716;_0x50fe13[_0x4eab0d][_0x7f0b59(0xd5)][_0x7f0b59(0xb6)](_0x430625[_0x4eab0d]);});}),Object['keys'](_0x50fe13)[_0x26181f(0xcd)](_0x5f3ed0=>{_0x3163e5['push'](_0x50fe13[_0x5f3ed0]);}),_0x3163e5;}async[a0_0x374f93(0xa9)](_0x53803a){const _0x1f198e=a0_0x374f93;if(this[_0x1f198e(0xa2)])return this[_0x1f198e(0xac)]||{};let _0x1ecfdf=ValueUtil['getParams'](this[_0x1f198e(0xb2)],_0x1f198e(0xc8),_0x1f198e(0xad)),_0x33e21a=ValueUtil[_0x1f198e(0xc1)](this[_0x1f198e(0xb2)],_0x1f198e(0xc8),_0x1f198e(0xcb)),_0x56d006=Object[_0x1f198e(0xa1)](_0x33e21a||{}),_0x571e18=MetaApi[_0x1f198e(0xbf)]((this[_0x1f198e(0xab)]?this[_0x1f198e(0xab)]:{'columns':this['formConfigSet']})['columns'][_0x1f198e(0xba)](_0x3f0659=>!_0x56d006[_0x1f198e(0xbe)](_0x3f0659[_0x1f198e(0xa3)]))),_0x322428=await MetaApi[_0x1f198e(0xa9)](_0x1ecfdf,_0x53803a,_0x571e18);return ValueUtil['isNotEmpty'](_0x33e21a)&&ValueUtil[_0x1f198e(0xa8)](_0x322428)&&_0x56d006['forEach'](_0x332669=>{const _0x2bec68=_0x1f198e;_0x322428[_0x332669]=ValueUtil[_0x2bec68(0xc1)](_0x322428,..._0x33e21a[_0x332669][_0x2bec68(0xa6)]('.'));}),_0x322428;}async[a0_0x374f93(0xb1)](_0x944020){const _0x4d343a=a0_0x374f93;let _0x267f65=ValueUtil[_0x4d343a(0xc1)](this[_0x4d343a(0xb2)],_0x4d343a(0xc5),_0x4d343a(0xc0),'func');return await MetaApi[_0x4d343a(0xd2)](_0x944020,_0x267f65);}async[a0_0x374f93(0xd4)](_0x29760d){const _0x1f4c0f=a0_0x374f93;let _0x4858cf=ValueUtil[_0x1f4c0f(0xc1)](this['gqlInfo'],_0x1f4c0f(0xc5),_0x1f4c0f(0xc7),_0x1f4c0f(0xaa)),_0xb1baf7=ValueUtil['getParams'](this[_0x1f4c0f(0xb2)],_0x1f4c0f(0xc5),'multiple',_0x1f4c0f(0xc6));if(ValueUtil['isNotEmpty'](_0xb1baf7)&&(_0xb1baf7=_0xb1baf7[_0x1f4c0f(0xa4)](_0x42a8f6=>_0x42a8f6['includes']('.')?_0x42a8f6['split']('.'):_0x42a8f6),_0x29760d=_0x29760d['map'](_0x4fac1f=>(_0xb1baf7[_0x1f4c0f(0xcd)](_0x3a83fc=>{const _0x5b40db=_0x1f4c0f;Array[_0x5b40db(0xb5)](_0x3a83fc)?delete _0x4fac1f[_0x3a83fc[0x0]][_0x3a83fc[0x1]]:delete _0x4fac1f[_0x3a83fc];}),_0x4fac1f))),this[_0x1f4c0f(0xd0)]&&ValueUtil[_0x1f4c0f(0xa8)](this['parent_id'])){let _0x150c5e=ValueUtil['getParams'](this[_0x1f4c0f(0xb2)],'mutation',_0x1f4c0f(0xc7),_0x1f4c0f(0xcc));ValueUtil[_0x1f4c0f(0xa8)](_0x150c5e)&&_0x29760d['forEach'](_0x10ff0c=>{const _0x2a2c3d=_0x1f4c0f;if(_0x150c5e[_0x2a2c3d(0xbe)]('.')){let _0x4a0586=_0x150c5e[_0x2a2c3d(0xa6)]('.');_0x10ff0c[_0x4a0586[0x0]]={},_0x10ff0c[_0x4a0586[0x0]][_0x4a0586[0x1]]=this['parent_id'];}else _0x10ff0c[_0x150c5e]=this[_0x2a2c3d(0xcc)];});}return await MetaApi[_0x1f4c0f(0xd4)](_0x4858cf,_0x29760d);}};
1
+ function a0_0x1772(){const _0x2c21ec=['forEach','isElement','map','infinityPage','fetchHandler','gristConfigSet','formConfigSet','filter','parseBasicServiceConfigs','keys','filterForm','getSelectColumns','3adDEVj','mutation','includes','after_set_fields','getParams','beforeFetch','records','isEmpty','4383570oksozy','6151450ojNXAe','parse','list_func','64mwMAED','9OJoIfA','multiple','1950388hczIqb','gqlInfo','properties','getQueryFilters','gql','columns','parent_id','push','pass','isPage','deleteListByIds','query','23568LnGOsA','find_one_func','getPageNavigateParams','lifecycle','1121141MEtOAg','1447961TYILEB','value','searchByPagination','is_activity','updateMultiple','findOne','isNotEmpty','length','split','1534328cNEofA'];a0_0x1772=function(){return _0x2c21ec;};return a0_0x1772();}const a0_0x4ffa5e=a0_0x29c1;(function(_0x53286b,_0x5c6561){const _0x83d307=a0_0x29c1,_0x1c4909=_0x53286b();while(!![]){try{const _0x4f2923=-parseInt(_0x83d307(0x139))/0x1+-parseInt(_0x83d307(0x128))/0x2+parseInt(_0x83d307(0x119))/0x3*(parseInt(_0x83d307(0x142))/0x4)+parseInt(_0x83d307(0x121))/0x5+parseInt(_0x83d307(0x134))/0x6+parseInt(_0x83d307(0x138))/0x7*(parseInt(_0x83d307(0x125))/0x8)+-parseInt(_0x83d307(0x126))/0x9*(-parseInt(_0x83d307(0x122))/0xa);if(_0x4f2923===_0x5c6561)break;else _0x1c4909['push'](_0x1c4909['shift']());}catch(_0xbe8ab4){_0x1c4909['push'](_0x1c4909['shift']());}}}(a0_0x1772,0xb40ee));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';function a0_0x29c1(_0xf13380,_0x1c55fa){const _0x17720a=a0_0x1772();return a0_0x29c1=function(_0x29c127,_0x1404ed){_0x29c127=_0x29c127-0x10e;let _0x68b81e=_0x17720a[_0x29c127];return _0x68b81e;},a0_0x29c1(_0xf13380,_0x1c55fa);}import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x144981=>class extends MetaBaseMixin(_0x144981){static get[a0_0x4ffa5e(0x12a)](){return{'gqlInfo':Object};}[a0_0x4ffa5e(0x115)](_0x23b493){const _0x2b37db=a0_0x4ffa5e;this[_0x2b37db(0x129)]=_0x23b493[_0x2b37db(0x12c)];}async[a0_0x4ffa5e(0x111)]({page:_0x2393ed=0x0,limit:_0x250d83=0x0,sortings:_0x3455d9=[],filters:_0x3c6de6=[]}){const _0x368fc1=a0_0x4ffa5e;if(this['is_activity'])return{'total':0x0,'records':this['dataSet']||[]};if(!0x0===this[_0x368fc1(0x110)]&&(_0x2393ed=0x0,_0x250d83=0x0),this[_0x368fc1(0x11e)]&&0x0==await this[_0x368fc1(0x11e)]({'page':_0x2393ed,'limit':_0x250d83,'sortings':_0x3455d9,'filters':_0x3c6de6}))return;if(!this[_0x368fc1(0x112)])return{'total':0x0,'records':[]};let _0x33282d=ValueUtil[_0x368fc1(0x120)](_0x3c6de6)?await this[_0x368fc1(0x117)]?.[_0x368fc1(0x12b)]()||[]:_0x3c6de6,_0xdbd493=ValueUtil[_0x368fc1(0x11d)](this[_0x368fc1(0x129)],_0x368fc1(0x133),_0x368fc1(0x124)),_0x1c6e6a=ValueUtil[_0x368fc1(0x11d)](this[_0x368fc1(0x129)],_0x368fc1(0x133),'filters'),_0x14ef09=ValueUtil[_0x368fc1(0x11d)](this[_0x368fc1(0x129)],'query','after_set_fields');if(ValueUtil[_0x368fc1(0x13f)](_0x1c6e6a)&&(_0x33282d=adjustFilters(_0x33282d,_0x1c6e6a)),_0x33282d[_0x368fc1(0x12f)](...this[_0x368fc1(0x136)]()),this[_0x368fc1(0x10e)]){let _0x23099e=ValueUtil[_0x368fc1(0x11d)](this[_0x368fc1(0x129)],_0x368fc1(0x133),_0x368fc1(0x12e));if(!ValueUtil[_0x368fc1(0x13f)](_0x23099e)||!ValueUtil[_0x368fc1(0x13f)](this[_0x368fc1(0x12e)]))return{'total':0x0,'records':[]};_0x33282d=adjustFilters(_0x33282d,[{'name':_0x23099e,'operator':'eq','value':this['parent_id']}]);}let _0x4bee0e=Object[_0x368fc1(0x116)](_0x14ef09||{}),_0x3fb389=MetaApi[_0x368fc1(0x118)](this['gristConfigSet']['columns'][_0x368fc1(0x114)](_0x2b990=>!_0x4bee0e['includes'](_0x2b990['name']))),_0x3645b0=await MetaApi[_0x368fc1(0x13b)](_0xdbd493,_0x33282d,_0x3455d9,_0x2393ed,_0x250d83,_0x3fb389);if(this['afterFetch']){let _0x57f2af=await this['afterFetch']({'page':_0x2393ed,'limit':_0x250d83,'sortings':_0x3455d9,'filters':_0x3c6de6},_0x3645b0);if(_0x57f2af)return _0x57f2af;}return ValueUtil[_0x368fc1(0x13f)](_0x14ef09)&&ValueUtil[_0x368fc1(0x13f)](_0x3645b0)&&ValueUtil['isNotEmpty'](_0x3645b0[_0x368fc1(0x11f)])&&_0x3645b0[_0x368fc1(0x11f)][_0x368fc1(0x10f)](_0x40c273=>(_0x4bee0e[_0x368fc1(0x143)](_0x5269cb=>{const _0x1cbeb7=_0x368fc1;_0x40c273[_0x5269cb]=ValueUtil[_0x1cbeb7(0x11d)](_0x40c273,..._0x14ef09[_0x5269cb]['split']('.'));}),_0x40c273)),_0x3645b0;}[a0_0x4ffa5e(0x136)](){const _0x3c8ca8=a0_0x4ffa5e;if(0x0==this[_0x3c8ca8(0x131)])return[];let _0x83b75e=this[_0x3c8ca8(0x137)]?.['params']?this['lifecycle']['params']:{};if(!_0x83b75e[_0x3c8ca8(0x130)])return[];let _0x1049f1=_0x83b75e[_0x3c8ca8(0x130)],_0x126ede=JSON[_0x3c8ca8(0x123)](_0x1049f1),_0x4d1dca=0x1==_0x126ede[_0x3c8ca8(0x140)]?'eq':'in',_0x45dced={},_0x145c2d=[];return Object[_0x3c8ca8(0x116)](_0x126ede[0x0])['forEach'](_0x34f0dd=>{_0x45dced[_0x34f0dd]={'name':_0x34f0dd,'operator':_0x4d1dca,'value':'eq'===_0x4d1dca?_0x126ede[0x0][_0x34f0dd]:[]};}),_0x126ede[_0x3c8ca8(0x140)]>0x1&&_0x126ede['forEach'](_0x46d171=>{const _0x293dd2=_0x3c8ca8;Object[_0x293dd2(0x116)](_0x46d171)[_0x293dd2(0x143)](_0x56f8b2=>{const _0xa99454=_0x293dd2;_0x45dced[_0x56f8b2][_0xa99454(0x13a)][_0xa99454(0x12f)](_0x46d171[_0x56f8b2]);});}),Object[_0x3c8ca8(0x116)](_0x45dced)[_0x3c8ca8(0x143)](_0x4f31f3=>{const _0xd3101e=_0x3c8ca8;_0x145c2d[_0xd3101e(0x12f)](_0x45dced[_0x4f31f3]);}),_0x145c2d;}async[a0_0x4ffa5e(0x13e)](_0x4dc10c){const _0x389cef=a0_0x4ffa5e;if(this[_0x389cef(0x13c)])return this['dataSet']||{};let _0x19ea09=ValueUtil[_0x389cef(0x11d)](this['gqlInfo'],_0x389cef(0x133),_0x389cef(0x135)),_0xbce892=ValueUtil['getParams'](this[_0x389cef(0x129)],_0x389cef(0x133),_0x389cef(0x11c)),_0xd34701=Object[_0x389cef(0x116)](_0xbce892||{}),_0x4c47cc=MetaApi[_0x389cef(0x118)]((this['gristConfigSet']?this[_0x389cef(0x112)]:{'columns':this[_0x389cef(0x113)]})[_0x389cef(0x12d)][_0x389cef(0x114)](_0x24a0d2=>!_0xd34701[_0x389cef(0x11b)](_0x24a0d2['name']))),_0x116b3f=await MetaApi[_0x389cef(0x13e)](_0x19ea09,_0x4dc10c,_0x4c47cc);return ValueUtil[_0x389cef(0x13f)](_0xbce892)&&ValueUtil['isNotEmpty'](_0x116b3f)&&_0xd34701[_0x389cef(0x143)](_0x324a00=>{const _0x336ec8=_0x389cef;_0x116b3f[_0x324a00]=ValueUtil[_0x336ec8(0x11d)](_0x116b3f,..._0xbce892[_0x324a00][_0x336ec8(0x141)]('.'));}),_0x116b3f;}async['deleteByIds'](_0x5648c0){const _0x1a4c4f=a0_0x4ffa5e;let _0x2232ef=ValueUtil[_0x1a4c4f(0x11d)](this[_0x1a4c4f(0x129)],_0x1a4c4f(0x11a),'delete','func');return await MetaApi[_0x1a4c4f(0x132)](_0x5648c0,_0x2232ef);}async[a0_0x4ffa5e(0x13d)](_0x3a52ba){const _0x49517e=a0_0x4ffa5e;let _0x521bf6=ValueUtil['getParams'](this[_0x49517e(0x129)],_0x49517e(0x11a),'multiple','func'),_0x197f90=ValueUtil[_0x49517e(0x11d)](this[_0x49517e(0x129)],_0x49517e(0x11a),_0x49517e(0x127),'skip_fields');if(ValueUtil['isNotEmpty'](_0x197f90)&&(_0x197f90=_0x197f90[_0x49517e(0x10f)](_0x578d76=>_0x578d76[_0x49517e(0x11b)]('.')?_0x578d76[_0x49517e(0x141)]('.'):_0x578d76),_0x3a52ba=_0x3a52ba[_0x49517e(0x10f)](_0xc7a86d=>(_0x197f90[_0x49517e(0x143)](_0x3b138f=>{Array['isArray'](_0x3b138f)?delete _0xc7a86d[_0x3b138f[0x0]][_0x3b138f[0x1]]:delete _0xc7a86d[_0x3b138f];}),_0xc7a86d))),this[_0x49517e(0x10e)]&&ValueUtil[_0x49517e(0x13f)](this[_0x49517e(0x12e)])){let _0x247f2d=ValueUtil['getParams'](this['gqlInfo'],_0x49517e(0x11a),'multiple','parent_id');ValueUtil[_0x49517e(0x13f)](_0x247f2d)&&_0x3a52ba[_0x49517e(0x143)](_0x3674b9=>{const _0x2e6ad4=_0x49517e;if(_0x247f2d[_0x2e6ad4(0x11b)]('.')){let _0x243e02=_0x247f2d[_0x2e6ad4(0x141)]('.');_0x3674b9[_0x243e02[0x0]]={},_0x3674b9[_0x243e02[0x0]][_0x243e02[0x1]]=this[_0x2e6ad4(0x12e)];}else _0x3674b9[_0x247f2d]=this['parent_id'];});}return await MetaApi[_0x49517e(0x13d)](_0x521bf6,_0x3a52ba);}};
@@ -1 +1 @@
1
- const a0_0x553469=a0_0x1c04;(function(_0x37586d,_0xfdb995){const _0x58a158=a0_0x1c04,_0x4350d9=_0x37586d();while(!![]){try{const _0x1d8794=parseInt(_0x58a158(0x10e))/0x1+parseInt(_0x58a158(0x10b))/0x2+parseInt(_0x58a158(0x10f))/0x3*(parseInt(_0x58a158(0xfc))/0x4)+parseInt(_0x58a158(0x10d))/0x5*(parseInt(_0x58a158(0x113))/0x6)+parseInt(_0x58a158(0x104))/0x7+-parseInt(_0x58a158(0x10a))/0x8+-parseInt(_0x58a158(0xfa))/0x9;if(_0x1d8794===_0xfdb995)break;else _0x4350d9['push'](_0x4350d9['shift']());}catch(_0x1d8a34){_0x4350d9['push'](_0x4350d9['shift']());}}}(a0_0x4c2c,0x42160));function a0_0x4c2c(){const _0x291168=['2602243ZqaFRv','activityDataSet','render','tabElements','clear','firstUpdated','3842216qJdmPi','207766RgWgCk','getBasicTabHtml','344325opgbOL','217224cPjcdE','4938zRdjfL','context','styles','currentTabKey','6tTnKrp','keys','getAndParseMenuMeta','378270ugdgIW','connectedCallback','76PEHrHT','tabRenderConfig','parseBasicTabConfigs','length','getContextObject','button','dataSet','getData'];a0_0x4c2c=function(){return _0x291168;};return a0_0x4c2c();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1c04(_0x515bf4,_0x52c655){const _0x4c2c4d=a0_0x4c2c();return a0_0x1c04=function(_0x1c044b,_0x134be8){_0x1c044b=_0x1c044b-0xf8;let _0x3cfeae=_0x4c2c4d[_0x1c044b];return _0x3cfeae;},a0_0x1c04(_0x515bf4,_0x52c655);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x143d88=>class extends MetaButtonMixin(_0x143d88){static get[a0_0x553469(0x111)](){return MetaApi['getBasicTabStyles']();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x553469(0x110)](){const _0xbc5422=a0_0x553469;return MetaUiUtil[_0xbc5422(0x100)](this);}async[a0_0x553469(0xfb)](){const _0x2e4a9a=a0_0x553469;this[_0x2e4a9a(0x112)]=void 0x0,await this[_0x2e4a9a(0xf9)](),this[_0x2e4a9a(0x105)]&&(this[_0x2e4a9a(0x102)]=this['activityDataSet']),super[_0x2e4a9a(0xfb)]&&await super[_0x2e4a9a(0xfb)]();}async[a0_0x553469(0x109)](){const _0x3fce19=a0_0x553469;super[_0x3fce19(0x109)]&&await super[_0x3fce19(0x109)]();}async['pageInitialized'](){super['pageInitialized']&&await super['pageInitialized']();}[a0_0x553469(0x106)](){const _0x258747=a0_0x553469;return MetaApi[_0x258747(0x10c)](this);}[a0_0x553469(0xfe)](_0x34d318){const _0x270dcb=a0_0x553469;this[_0x270dcb(0xfd)]=_0x34d318['tab'],_0x34d318[_0x270dcb(0x101)]=[];}async[a0_0x553469(0x108)](){const _0x2552e3=a0_0x553469;if(this[_0x2552e3(0x107)]){let _0x124afe=Object[_0x2552e3(0xf8)](this[_0x2552e3(0x107)]);for(var _0x503628=0x0;_0x503628<_0x124afe[_0x2552e3(0xff)];_0x503628++)await this[_0x2552e3(0x107)][_0x124afe[_0x503628]][_0x2552e3(0x108)]();}}[a0_0x553469(0x103)](){const _0xdb3692=a0_0x553469;let _0x2cffc6={};return this[_0xdb3692(0x107)]&&Object[_0xdb3692(0xf8)](this[_0xdb3692(0x107)])['forEach'](_0xeee010=>{const _0x3eeffa=_0xdb3692;_0x2cffc6[_0xeee010]=this['tabElements'][_0xeee010][_0x3eeffa(0x103)]();}),_0x2cffc6;}};
1
+ const a0_0xad9264=a0_0x490a;(function(_0x3215f9,_0x332456){const _0x1e9e9f=a0_0x490a,_0x233795=_0x3215f9();while(!![]){try{const _0x3c9710=-parseInt(_0x1e9e9f(0x15e))/0x1*(parseInt(_0x1e9e9f(0x162))/0x2)+parseInt(_0x1e9e9f(0x150))/0x3*(-parseInt(_0x1e9e9f(0x16f))/0x4)+parseInt(_0x1e9e9f(0x159))/0x5+parseInt(_0x1e9e9f(0x166))/0x6*(parseInt(_0x1e9e9f(0x155))/0x7)+-parseInt(_0x1e9e9f(0x167))/0x8*(-parseInt(_0x1e9e9f(0x158))/0x9)+parseInt(_0x1e9e9f(0x164))/0xa*(-parseInt(_0x1e9e9f(0x151))/0xb)+parseInt(_0x1e9e9f(0x15c))/0xc*(parseInt(_0x1e9e9f(0x16a))/0xd);if(_0x3c9710===_0x332456)break;else _0x233795['push'](_0x233795['shift']());}catch(_0x37f5a0){_0x233795['push'](_0x233795['shift']());}}}(a0_0x3b99,0x648a2));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x490a(_0x4011ba,_0x413669){const _0x3b993f=a0_0x3b99();return a0_0x490a=function(_0x490a31,_0x565d44){_0x490a31=_0x490a31-0x14e;let _0x1cf4d1=_0x3b993f[_0x490a31];return _0x1cf4d1;},a0_0x490a(_0x4011ba,_0x413669);}import{ValueUtil}from'../utils/value-util';function a0_0x3b99(){const _0x271f0b=['clear','button','1900648FWCQpy','currentTabKey','dataSet','render','3xUzzus','22eKyliO','activityDataSet','getBasicTabStyles','tabElements','30303HTyVIY','firstUpdated','pageInitialized','360CnuSKn','1711165HyhYcY','tab','connectedCallback','1420476oTJJIm','keys','109877JWYTci','styles','getContextObject','getBasicTabHtml','10jQncjl','length','578510xgQYXY','tabRenderConfig','498NWIUDh','99080DIiwxJ','getAndParseMenuMeta','properties','39QvtYis','getData','parseBasicTabConfigs'];a0_0x3b99=function(){return _0x271f0b;};return a0_0x3b99();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0xe13216=>class extends MetaButtonMixin(_0xe13216){static get[a0_0xad9264(0x15f)](){const _0x2d2c73=a0_0xad9264;return MetaApi[_0x2d2c73(0x153)]();}static get[a0_0xad9264(0x169)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x3db2f8=a0_0xad9264;return MetaUiUtil[_0x3db2f8(0x160)](this);}async['connectedCallback'](){const _0x1fa77e=a0_0xad9264;this[_0x1fa77e(0x170)]=void 0x0,await this[_0x1fa77e(0x168)](),this[_0x1fa77e(0x152)]&&(this[_0x1fa77e(0x14e)]=this['activityDataSet']),super['connectedCallback']&&await super[_0x1fa77e(0x15b)]();}async[a0_0xad9264(0x156)](){const _0x15fc92=a0_0xad9264;super[_0x15fc92(0x156)]&&await super[_0x15fc92(0x156)]();}async[a0_0xad9264(0x157)](){const _0x1deda9=a0_0xad9264;super[_0x1deda9(0x157)]&&await super[_0x1deda9(0x157)]();}[a0_0xad9264(0x14f)](){const _0xcbf918=a0_0xad9264;return MetaApi[_0xcbf918(0x161)](this);}[a0_0xad9264(0x16c)](_0x4e47cc){const _0x17bd76=a0_0xad9264;this[_0x17bd76(0x165)]=_0x4e47cc[_0x17bd76(0x15a)],_0x4e47cc[_0x17bd76(0x16e)]=[];}async[a0_0xad9264(0x16d)](){const _0x4fc5b1=a0_0xad9264;if(this[_0x4fc5b1(0x154)]){let _0x3623e3=Object[_0x4fc5b1(0x15d)](this['tabElements']);for(var _0x6b9c9d=0x0;_0x6b9c9d<_0x3623e3[_0x4fc5b1(0x163)];_0x6b9c9d++)await this[_0x4fc5b1(0x154)][_0x3623e3[_0x6b9c9d]]['clear']();}}[a0_0xad9264(0x16b)](){const _0x4f901f=a0_0xad9264;let _0x164f2f={};return this['tabElements']&&Object[_0x4f901f(0x15d)](this['tabElements'])['forEach'](_0x5800bb=>{const _0x47b745=_0x4f901f;_0x164f2f[_0x5800bb]=this[_0x47b745(0x154)][_0x5800bb][_0x47b745(0x16b)]();}),_0x164f2f;}};
@@ -1,18 +1,18 @@
1
- const a0_0x5a5ecd=a0_0x105b;function a0_0x381b(){const _0x2fb6f7=['install_activity_success','isNotEmpty','GRID','tButton','meta-activity-viewer-element','1948788sfhzns','object','post','meta-activity-writer-element','left','activity-state-released','tLabel','string','activity-state-draft','270318bbUdVu','columns','metaActivities','menu','system_update','datetime','filter','\x22relation-menu\x22','getGristSelectableConfig','forEach','updated_at','name','ox-grist','search','updater','like','getGristSelectorColumnConfig','deleteListByGristSelected','custom-element','gridConfig','getGristColumnConfig2','description','bind','1118738GYBkHJ','595fnzjhb','define','showToast','getGristPagination50Config','50584HphEQW','MENU_PAGE_TYPE','menuType','template','grid_view_options','getBasicGristStyles','isMobileEnv','routing','save','deploy','fetchHandler','model','is_not_null','meta-activity-list-page','parse','records','querySelector','getGristCodeSelectorColumnConfig','delete','resource-object','released','showGraphqlException','render','10LpTiRe','query','grist','status','tText','8757dqDXoO','install_activity','LIST','updateMultipleMetaActivity','HIDDEN-PAGE','center','gridMode','push','activity-state-deprecated','connectedCallback','menus','getSelectColumns','fetch','tTitle','1572028VBgbSD','draft','28410XaNAXn','SCREEN','shadowRoot','searchByPagination','task','CARD','1757320uvhEtM'];a0_0x381b=function(){return _0x2fb6f7;};return a0_0x381b();}function a0_0x105b(_0x66b0b7,_0x93c9d9){const _0x381bcc=a0_0x381b();return a0_0x105b=function(_0x105bbf,_0x242cf0){_0x105bbf=_0x105bbf-0x1a2;let _0x1fb81e=_0x381bcc[_0x105bbf];return _0x1fb81e;},a0_0x105b(_0x66b0b7,_0x93c9d9);}(function(_0x28f14d,_0x1c2cc0){const _0x121e32=a0_0x105b,_0x5f43d0=_0x28f14d();while(!![]){try{const _0xf50228=-parseInt(_0x121e32(0x1cb))/0x1+-parseInt(_0x121e32(0x1a5))/0x2+parseInt(_0x121e32(0x1ab))/0x3+-parseInt(_0x121e32(0x1fa))/0x4+-parseInt(_0x121e32(0x1e7))/0x5*(-parseInt(_0x121e32(0x1b4))/0x6)+parseInt(_0x121e32(0x1cc))/0x7*(-parseInt(_0x121e32(0x1d0))/0x8)+parseInt(_0x121e32(0x1ec))/0x9*(parseInt(_0x121e32(0x1fc))/0xa);if(_0xf50228===_0x1c2cc0)break;else _0x5f43d0['push'](_0x5f43d0['shift']());}catch(_0x30b2ef){_0x5f43d0['push'](_0x5f43d0['shift']());}}}(a0_0x381b,0x8ca87));import a0_0x5d3fd0 from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{MetaApi}from'./../../utils/meta-api';import{MetaUiUtil}from'./../../utils/meta-ui-util';import{ValueUtil}from'./../../utils/value-util';import{TermsUtil}from'./../../utils/terms-util';import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get['styles'](){const _0x494ec2=a0_0x105b;return MetaApi[_0x494ec2(0x1d5)]();}get['context'](){const _0x2829be=a0_0x105b;return{'title':TermsUtil[_0x2829be(0x1f9)]('activity_list'),'actions':[{'title':TermsUtil[_0x2829be(0x1a9)](_0x2829be(0x1d8)),'action':this[_0x2829be(0x1d8)]['bind'](this),...CommonButtonStyles[_0x2829be(0x1d8)]},{'title':TermsUtil[_0x2829be(0x1a9)](_0x2829be(0x1e2)),'action':this[_0x2829be(0x1e2)][_0x2829be(0x1ca)](this),...CommonButtonStyles[_0x2829be(0x1e2)]},{'title':TermsUtil[_0x2829be(0x1a9)](_0x2829be(0x1ed)),'action':this['deploy']['bind'](this),'icon':_0x2829be(0x1b8),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x5a5ecd(0x1e9)](){const _0x432650=a0_0x5a5ecd;return this[_0x432650(0x1fe)][_0x432650(0x1e0)](_0x432650(0x1c0));}async[a0_0x5a5ecd(0x1f5)](){const _0x1c23c8=a0_0x5a5ecd,_0x5334a9=[{'display':'','value':''},{'display':TermsUtil[_0x1c23c8(0x1b1)](_0x1c23c8(0x1b3)),'value':_0x1c23c8(0x1fb)},{'display':TermsUtil[_0x1c23c8(0x1b1)](_0x1c23c8(0x1b0)),'value':_0x1c23c8(0x1e4)},{'display':TermsUtil[_0x1c23c8(0x1b1)](_0x1c23c8(0x1f4)),'value':'deprecated'}];this[_0x1c23c8(0x1d4)]=[_0x1c23c8(0x1ee),_0x1c23c8(0x1a8),_0x1c23c8(0x1a4)],this[_0x1c23c8(0x1f2)]=MetaApi[_0x1c23c8(0x1d6)]()?_0x1c23c8(0x1ee):'GRID',this['gridConfig']={'option':{'view_mode':this[_0x1c23c8(0x1d4)]},'rows':MetaApi[_0x1c23c8(0x1bc)](!0x0),'pagination':MetaApi[_0x1c23c8(0x1cf)](),'sorters':[{'name':_0x1c23c8(0x1bf),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi['getGristGuttersConfig'](!0x0,!0x1),{'type':_0x1c23c8(0x1b2),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0x1c23c8(0x1c8)](_0x1c23c8(0x1b2),_0x1c23c8(0x1bf),_0x1c23c8(0x1bf),_0x1c23c8(0x1af),!0x0,!0x0,0x96),MetaUiUtil[_0x1c23c8(0x1c8)](_0x1c23c8(0x1b2),_0x1c23c8(0x1c9),'description',_0x1c23c8(0x1af),!0x0,!0x0,0xfa),MetaUiUtil[_0x1c23c8(0x1c4)]('state',_0x1c23c8(0x1ea),_0x1c23c8(0x1f1),!0x0,0x64,!0x1,_0x5334a9),{'type':_0x1c23c8(0x1e3),'name':_0x1c23c8(0x1b7),'header':TermsUtil[_0x1c23c8(0x1b1)](_0x1c23c8(0x1b7)),'record':{'editable':!0x0,'options':{'queryName':_0x1c23c8(0x1f6),'basicArgs':{'filters':[{'name':_0x1c23c8(0x1d2),'operator':'in','value':[_0x1c23c8(0x1fd),'POPUP',_0x1c23c8(0x1f0)]},{'name':_0x1c23c8(0x1d7),'operator':_0x1c23c8(0x1dc),'value':''},{'name':_0x1c23c8(0x1d3),'operator':_0x1c23c8(0x1dc),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':'name','header':TermsUtil['tLabel']('name'),'width':0xb9,'filter':_0x1c23c8(0x1c1)},await MetaApi[_0x1c23c8(0x1e1)](_0x1c23c8(0x1d2),'menu_type','center',!0x1,0x64,!0x1,_0x1c23c8(0x1d1)),MetaUiUtil[_0x1c23c8(0x1c8)]('string',_0x1c23c8(0x1d7),_0x1c23c8(0x1d7),_0x1c23c8(0x1af),!0x1,!0x1,0xc8)],'list':{'fields':[_0x1c23c8(0x1bf),_0x1c23c8(0x1d7)]},'nameField':_0x1c23c8(0x1d7)}},'width':0xc8},MetaUiUtil[_0x1c23c8(0x1c8)](_0x1c23c8(0x1ac),_0x1c23c8(0x1c2),_0x1c23c8(0x1c2),_0x1c23c8(0x1f1),!0x1,!0x1,0x78),MetaUiUtil['getGristColumnConfig2'](_0x1c23c8(0x1b9),'updatedAt',_0x1c23c8(0x1be),_0x1c23c8(0x1f1),!0x1,!0x0,0xb4)],'sorters':[{'name':_0x1c23c8(0x1bf),'desc':!0x1}]};let _0x562ec3={'name':_0x1c23c8(0x1c3)};this[_0x1c23c8(0x1c7)][_0x1c23c8(0x1b5)]['filter'](_0x5e8399=>_0x562ec3[_0x5e8399[_0x1c23c8(0x1bf)]])[_0x1c23c8(0x1bd)](_0x1a6cb3=>{const _0x35adcc=_0x1c23c8;_0x1a6cb3[_0x35adcc(0x1ba)]=_0x562ec3[_0x1a6cb3[_0x35adcc(0x1bf)]];}),this[_0x1c23c8(0x1f5)]&&await super[_0x1c23c8(0x1f5)]();}async[a0_0x5a5ecd(0x1da)]({page:_0x3d7034,limit:_0x3c07d9,sorters:_0x32df86=[],filters:_0x314bda=[]}){const _0x277cc9=a0_0x5a5ecd;_0x314bda[_0x277cc9(0x1f3)]({'name':_0x277cc9(0x1db),'operator':'like','value':_0x277cc9(0x1bb)});let _0x45d723=MetaApi[_0x277cc9(0x1f7)](this['gridConfig'][_0x277cc9(0x1b5)][_0x277cc9(0x1ba)](_0x5ecb83=>_0x277cc9(0x1b7)!=_0x5ecb83['name']));_0x45d723+='\x0a\x20\x20\x20\x20\x20\x20model\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20';let _0x2cd552=await MetaApi[_0x277cc9(0x1a2)](_0x277cc9(0x1b6),_0x314bda,_0x32df86,_0x3d7034,_0x3c07d9,_0x45d723);return _0x2cd552[_0x277cc9(0x1df)][_0x277cc9(0x1bd)](_0x4717f5=>{const _0x40fe6b=_0x277cc9;let _0xe90d67=_0x4717f5['model'][_0x40fe6b(0x1ba)](_0x214600=>'relation-menu'==_0x214600['name']);_0xe90d67&&_0xe90d67['length']>0x0&&(_0x4717f5[_0x40fe6b(0x1b7)]=JSON[_0x40fe6b(0x1de)](_0xe90d67[0x0]['description'])),delete _0x4717f5[_0x40fe6b(0x1db)];}),_0x2cd552;}async[a0_0x5a5ecd(0x1d9)](){const _0x4cdf7d=a0_0x5a5ecd;try{var _0x1cc775=await client[_0x4cdf7d(0x1e8)]({'query':a0_0x5d3fd0`
1
+ function a0_0xdd04(_0x268b67,_0x237739){const _0x53cce6=a0_0x53cc();return a0_0xdd04=function(_0xdd044d,_0x6b4dac){_0xdd044d=_0xdd044d-0xea;let _0x19ac9b=_0x53cce6[_0xdd044d];return _0x19ac9b;},a0_0xdd04(_0x268b67,_0x237739);}function a0_0x53cc(){const _0x2dda88=['activity-state-released','name','368LDlROK','search','333fUdhzX','1710LGmmnQ','activity-state-deprecated','tLabel','HIDDEN-PAGE','connectedCallback','object','\x22relation-menu\x22','left','showGraphqlErrorResponse','1DKbCGz','29903724Wqhetj','fetchHandler','is_not_null','gridMode','POPUP','querySelector','isMobileEnv','getGristCodeSelectorColumnConfig','updateMultiple','menus','deleteListByGristSelected','menu_type','fetch','deploy','description','searchByPagination','menu','1887694YZirlk','released','meta-activity-list-page','save','relation-menu','isNotEmpty','datetime','styles','startingType','8LnvdAd','custom-element','query','like','activityType','routing','updated_at','getGristSelectorColumnConfig','multiple','showToast','customElements','3688784UUfYcz','getSelectColumns','model','template','meta-activity-writer-element','tButton','system_update','bind','single','GRID','post','updater','install_activity','menuType','grist','gridConfig','778687ibXklw','getGristColumnConfig2','15339pGJcZh','SCREEN','275790WooacV','delete','forEach','getBasicGristStyles','install_activity_success','push','task','patchesForUpdateMultiple','records','length','filter','string','LIST','grid_view_options','updatedAt','draft','metaActivities','tText','tTitle','getGristPagination50Config','CARD','activity-state-draft','state','parse','errors','\x0a\x20\x20\x20\x20\x20\x20model\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','showGraphqlException','10035BeTjjh','center','getGristGuttersConfig','activity_list'];a0_0x53cc=function(){return _0x2dda88;};return a0_0x53cc();}const a0_0x2dd558=a0_0xdd04;(function(_0x3be70d,_0x1ac2a2){const _0x5f1a27=a0_0xdd04,_0x5b7e8f=_0x3be70d();while(!![]){try{const _0x28fd50=parseInt(_0x5f1a27(0x135))/0x1*(-parseInt(_0x5f1a27(0x147))/0x2)+-parseInt(_0x5f1a27(0x106))/0x3*(-parseInt(_0x5f1a27(0x129))/0x4)+parseInt(_0x5f1a27(0x123))/0x5*(-parseInt(_0x5f1a27(0x12c))/0x6)+parseInt(_0x5f1a27(0x104))/0x7*(-parseInt(_0x5f1a27(0x150))/0x8)+parseInt(_0x5f1a27(0x12b))/0x9*(-parseInt(_0x5f1a27(0x108))/0xa)+parseInt(_0x5f1a27(0xf4))/0xb+parseInt(_0x5f1a27(0x136))/0xc;if(_0x28fd50===_0x1ac2a2)break;else _0x5b7e8f['push'](_0x5b7e8f['shift']());}catch(_0x2fd955){_0x5b7e8f['push'](_0x5b7e8f['shift']());}}}(a0_0x53cc,0x9ebe3));import a0_0x3a6489 from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{MetaApi}from'./../../utils/meta-api';import{MetaUiUtil}from'./../../utils/meta-ui-util';import{ValueUtil}from'./../../utils/value-util';import{TermsUtil}from'./../../utils/terms-util';import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x2dd558(0x14e)](){const _0x109e05=a0_0x2dd558;return MetaApi[_0x109e05(0x10b)]();}get['context'](){const _0x3cc48a=a0_0x2dd558;return{'title':TermsUtil[_0x3cc48a(0x11a)](_0x3cc48a(0x126)),'actions':[{'title':TermsUtil[_0x3cc48a(0xf9)](_0x3cc48a(0x14a)),'action':this['save'][_0x3cc48a(0xfb)](this),...CommonButtonStyles['save']},{'title':TermsUtil[_0x3cc48a(0xf9)]('delete'),'action':this['delete'][_0x3cc48a(0xfb)](this),...CommonButtonStyles[_0x3cc48a(0x109)]},{'title':TermsUtil[_0x3cc48a(0xf9)](_0x3cc48a(0x100)),'action':this[_0x3cc48a(0x143)][_0x3cc48a(0xfb)](this),'icon':_0x3cc48a(0xfa),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x2dd558(0x102)](){const _0x1390d1=a0_0x2dd558;return this['shadowRoot'][_0x1390d1(0x13b)]('ox-grist');}async['connectedCallback'](){const _0x46c13d=a0_0x2dd558,_0x4b1813=[{'display':'','value':''},{'display':TermsUtil['tLabel'](_0x46c13d(0x11d)),'value':_0x46c13d(0x117)},{'display':TermsUtil[_0x46c13d(0x12e)](_0x46c13d(0x127)),'value':_0x46c13d(0x148)},{'display':TermsUtil[_0x46c13d(0x12e)](_0x46c13d(0x12d)),'value':'deprecated'}];this[_0x46c13d(0x115)]=[_0x46c13d(0x114),_0x46c13d(0xfd),_0x46c13d(0x11c)],this[_0x46c13d(0x139)]=MetaApi[_0x46c13d(0x13c)]()?_0x46c13d(0x114):_0x46c13d(0xfd),this[_0x46c13d(0x103)]={'option':{'view_mode':this['grid_view_options']},'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':MetaApi[_0x46c13d(0x11b)](),'sorters':[{'name':_0x46c13d(0x128),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x46c13d(0x125)](!0x0,!0x1),{'type':_0x46c13d(0x113),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil['getGristColumnConfig2']('string',_0x46c13d(0x128),_0x46c13d(0x128),_0x46c13d(0x133),!0x0,!0x0,0x96),MetaUiUtil['getGristColumnConfig2'](_0x46c13d(0x113),'description',_0x46c13d(0x144),'left',!0x0,!0x0,0xfa),MetaUiUtil[_0x46c13d(0xf0)](_0x46c13d(0x11e),'status',_0x46c13d(0x124),!0x0,0x64,!0x1,_0x4b1813),{'type':'resource-object','name':_0x46c13d(0x146),'header':TermsUtil[_0x46c13d(0x12e)](_0x46c13d(0x146)),'record':{'editable':!0x0,'options':{'queryName':_0x46c13d(0x13f),'basicArgs':{'filters':[{'name':_0x46c13d(0x101),'operator':'in','value':[_0x46c13d(0x107),_0x46c13d(0x13a),_0x46c13d(0x12f)]},{'name':_0x46c13d(0xee),'operator':_0x46c13d(0x138),'value':''},{'name':_0x46c13d(0xf7),'operator':_0x46c13d(0x138),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x46c13d(0x128),'header':TermsUtil[_0x46c13d(0x12e)]('name'),'width':0xb9,'filter':_0x46c13d(0x12a)},await MetaApi[_0x46c13d(0x13d)](_0x46c13d(0x101),_0x46c13d(0x141),'center',!0x1,0x64,!0x1,'MENU_PAGE_TYPE'),MetaUiUtil[_0x46c13d(0x105)](_0x46c13d(0x113),_0x46c13d(0xee),_0x46c13d(0xee),_0x46c13d(0x133),!0x1,!0x1,0xc8)],'list':{'fields':['name','routing']},'nameField':_0x46c13d(0xee)}},'width':0xc8},MetaUiUtil[_0x46c13d(0x105)](_0x46c13d(0x131),_0x46c13d(0xff),_0x46c13d(0xff),_0x46c13d(0x124),!0x1,!0x1,0x78),MetaUiUtil[_0x46c13d(0x105)](_0x46c13d(0x14d),_0x46c13d(0x116),_0x46c13d(0xef),_0x46c13d(0x124),!0x1,!0x0,0xb4),{'name':_0x46c13d(0xed),'hidden':!0x0},{'name':_0x46c13d(0xf1),'hidden':!0x0},{'name':_0x46c13d(0x14f),'hidden':!0x0}],'sorters':[{'name':_0x46c13d(0x128),'desc':!0x1}]};let _0x39b244={'name':_0x46c13d(0xec)};this[_0x46c13d(0x103)]['columns'][_0x46c13d(0x112)](_0x400eee=>_0x39b244[_0x400eee[_0x46c13d(0x128)]])['forEach'](_0x347271=>{const _0x25f0bb=_0x46c13d;_0x347271[_0x25f0bb(0x112)]=_0x39b244[_0x347271[_0x25f0bb(0x128)]];}),this[_0x46c13d(0x130)]&&await super[_0x46c13d(0x130)]();}async[a0_0x2dd558(0x137)]({page:_0x272abe,limit:_0x59f1e2,sorters:_0x36ed66=[],filters:_0x58f057=[]}){const _0x47a9e3=a0_0x2dd558;_0x58f057[_0x47a9e3(0x10d)]({'name':_0x47a9e3(0xf6),'operator':'like','value':_0x47a9e3(0x132)});let _0x58d682=MetaApi[_0x47a9e3(0xf5)](this[_0x47a9e3(0x103)]['columns']['filter'](_0x23fc28=>_0x47a9e3(0x146)!=_0x23fc28['name']));_0x58d682+=_0x47a9e3(0x121);let _0x4c97c9=await MetaApi[_0x47a9e3(0x145)](_0x47a9e3(0x118),_0x58f057,_0x36ed66,_0x272abe,_0x59f1e2,_0x58d682);return _0x4c97c9[_0x47a9e3(0x110)]['forEach'](_0x127fb6=>{const _0x229d19=_0x47a9e3;let _0x1c6895=_0x127fb6[_0x229d19(0xf6)][_0x229d19(0x112)](_0x529539=>_0x229d19(0x14b)==_0x529539['name']);_0x1c6895&&_0x1c6895[_0x229d19(0x111)]>0x0&&(_0x127fb6['menu']=JSON[_0x229d19(0x11f)](_0x1c6895[0x0][_0x229d19(0x144)])),delete _0x127fb6[_0x229d19(0xf6)];}),_0x4c97c9;}async[a0_0x2dd558(0x143)](){const _0x544413=a0_0x2dd558;try{var _0x171359=await client[_0x544413(0xeb)]({'query':a0_0x3a6489`
2
2
  mutation {
3
3
  installActivityTemplate
4
4
  }
5
- `});if(!_0x1cc775['errors'])return UiUtil[_0x4cdf7d(0x1ce)]('info',TermsUtil[_0x4cdf7d(0x1eb)](_0x4cdf7d(0x1a6))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x1cc775);}catch(_0xda0564){ServiceUtil[_0x4cdf7d(0x1e5)](_0xda0564);}}async[a0_0x5a5ecd(0x1d8)](){const _0x37a527=a0_0x5a5ecd;let _0x4d5c39=ServiceUtil['patchesForUpdateMultiple'](this[_0x37a527(0x1e9)]);if(ValueUtil[_0x37a527(0x1a7)](_0x4d5c39)){_0x4d5c39['forEach'](_0x3c07b1=>{const _0x40d2ac=_0x37a527;Object['assign'](_0x3c07b1,{'activityType':_0x40d2ac(0x1a3),'multiple':'single','startingType':_0x40d2ac(0x1ad),'uiSource':_0x40d2ac(0x1ae),'uiType':'custom-element','viewSource':_0x40d2ac(0x1aa),'viewType':_0x40d2ac(0x1c6)});});let _0x40f2ea=await ServiceUtil['updateMultiple'](_0x37a527(0x1ef),_0x4d5c39);if(_0x40f2ea)return this[_0x37a527(0x1e9)][_0x37a527(0x1f8)](),_0x40f2ea;}}async[a0_0x5a5ecd(0x1e2)](){const _0x55436b=a0_0x5a5ecd;await MetaApi[_0x55436b(0x1c5)](this[_0x55436b(0x1e9)],'deleteMetaActivities');}async['pageInitialized'](){}[a0_0x5a5ecd(0x1e6)](){const _0x5b2248=a0_0x5a5ecd;return html`
5
+ `});if(!_0x171359[_0x544413(0x120)])return UiUtil[_0x544413(0xf2)]('info',TermsUtil[_0x544413(0x119)](_0x544413(0x10c))),!0x0;ServiceUtil[_0x544413(0x134)](_0x171359);}catch(_0x42366e){ServiceUtil[_0x544413(0x122)](_0x42366e);}}async['save'](){const _0x14781=a0_0x2dd558;let _0x496a52=ServiceUtil[_0x14781(0x10f)](this[_0x14781(0x102)]);if(ValueUtil[_0x14781(0x14c)](_0x496a52)){_0x496a52[_0x14781(0x10a)](_0x173342=>{const _0xe90b62=_0x14781;Object['assign'](_0x173342,{'uiSource':_0xe90b62(0xf8),'uiType':_0xe90b62(0xea),'viewSource':'meta-activity-viewer-element','viewType':'custom-element'}),_0x173342[_0xe90b62(0xf1)]||(_0x173342[_0xe90b62(0xf1)]=_0xe90b62(0xfc)),_0x173342['activityType']||(_0x173342[_0xe90b62(0xed)]=_0xe90b62(0x10e)),_0x173342[_0xe90b62(0x14f)]||(_0x173342[_0xe90b62(0x14f)]=_0xe90b62(0xfe));});let _0x118e40=await ServiceUtil[_0x14781(0x13e)]('updateMultipleMetaActivity',_0x496a52);if(_0x118e40)return this['grist'][_0x14781(0x142)](),_0x118e40;}}async[a0_0x2dd558(0x109)](){const _0x48b711=a0_0x2dd558;await MetaApi[_0x48b711(0x140)](this[_0x48b711(0x102)],'deleteMetaActivities');}async['pageInitialized'](){}['render'](){const _0x54d1fd=a0_0x2dd558;return html`
6
6
  <ox-grist
7
7
  auto-fetch
8
8
  id="ox-grist"
9
- .config=${this[_0x5b2248(0x1c7)]}
10
- .mode=${this['gridMode']}
11
- .fetchHandler=${this['fetchHandler'][_0x5b2248(0x1ca)](this)}>
9
+ .config=${this[_0x54d1fd(0x103)]}
10
+ .mode=${this[_0x54d1fd(0x139)]}
11
+ .fetchHandler=${this['fetchHandler'][_0x54d1fd(0xfb)](this)}>
12
12
  <div slot="headroom">
13
13
  <div id="filters">
14
14
  <ox-filters-form ></ox-filters-form>
15
15
  </div>
16
16
  </div>
17
17
  </ox-grist>
18
- `;}}window['customElements'][a0_0x5a5ecd(0x1cd)](a0_0x5a5ecd(0x1dd),MetaActivityListPage);
18
+ `;}}window[a0_0x2dd558(0xf3)]['define'](a0_0x2dd558(0x149),MetaActivityListPage);
@@ -1 +1,3 @@
1
- var a0_0x3fe6e6=a0_0x47c7;function a0_0x47c7(_0x44c9ea,_0x5db715){var _0x56daba=a0_0x56da();return a0_0x47c7=function(_0x47c7fe,_0x1cfbc7){_0x47c7fe=_0x47c7fe-0x118;var _0x4e4bba=_0x56daba[_0x47c7fe];return _0x4e4bba;},a0_0x47c7(_0x44c9ea,_0x5db715);}(function(_0x56776e,_0x10a9fe){var _0x5925a2=a0_0x47c7,_0x22a717=_0x56776e();while(!![]){try{var _0x340742=parseInt(_0x5925a2(0x11c))/0x1*(-parseInt(_0x5925a2(0x119))/0x2)+-parseInt(_0x5925a2(0x122))/0x3*(parseInt(_0x5925a2(0x120))/0x4)+parseInt(_0x5925a2(0x11a))/0x5+-parseInt(_0x5925a2(0x11f))/0x6+-parseInt(_0x5925a2(0x11d))/0x7+-parseInt(_0x5925a2(0x11b))/0x8+parseInt(_0x5925a2(0x121))/0x9;if(_0x340742===_0x10a9fe)break;else _0x22a717['push'](_0x22a717['shift']());}catch(_0x2b52ba){_0x22a717['push'](_0x22a717['shift']());}}}(a0_0x56da,0x553e2));import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x56da(){var _0x48490d=['meta-activity-viewer-element','2977278QjCYwV','4QZtNnp','15211476pGTuma','888090mIRFxX','define','4qHpCJe','2502895rnmiEW','2393456xEpMpp','341193caEYSK','474446hLwPRJ'];a0_0x56da=function(){return _0x48490d;};return a0_0x56da();}import{MetaBasicGristMixin}from'./../../mixin/meta-basic-grist-mixin';export class MetaActivityViewerElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements[a0_0x3fe6e6(0x118)](a0_0x3fe6e6(0x11e),MetaActivityViewerElement);
1
+ const a0_0x39c2a0=a0_0x2301;(function(_0xa6e1,_0x180bb7){const _0x36f3db=a0_0x2301,_0xc89cf=_0xa6e1();while(!![]){try{const _0x2507d0=parseInt(_0x36f3db(0x98))/0x1+parseInt(_0x36f3db(0x90))/0x2*(-parseInt(_0x36f3db(0xa3))/0x3)+parseInt(_0x36f3db(0x8c))/0x4+parseInt(_0x36f3db(0x97))/0x5*(parseInt(_0x36f3db(0xa2))/0x6)+parseInt(_0x36f3db(0x8d))/0x7*(-parseInt(_0x36f3db(0x8f))/0x8)+parseInt(_0x36f3db(0xa1))/0x9*(parseInt(_0x36f3db(0x94))/0xa)+parseInt(_0x36f3db(0x9d))/0xb*(-parseInt(_0x36f3db(0x9e))/0xc);if(_0x2507d0===_0x180bb7)break;else _0xc89cf['push'](_0xc89cf['shift']());}catch(_0x1ccdba){_0xc89cf['push'](_0xc89cf['shift']());}}}(a0_0x5bed,0x4803e));import a0_0x1582c8 from'graphql-tag';import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';function a0_0x5bed(){const _0x41cce6=['isEmpty','920UBvEwD','86KoDbrV','output','relationMenu','define','150CJkKYj','\x27\x20route_name=\x27','name','5VCvGYo','109043eByVgU','activityDataSet','render','contentElement','meta-activity-viewer-element','253gyWFUx','133188OqoAQR','\x20id=\x27','routing','30933RZAcIM','3509100xHfKxj','13830BeKepP','1745872gVfxtY','26383HAxWsZ'];a0_0x5bed=function(){return _0x41cce6;};return a0_0x5bed();}function a0_0x2301(_0x5dbb93,_0x36153e){const _0x5bedbc=a0_0x5bed();return a0_0x2301=function(_0x2301ec,_0x422504){_0x2301ec=_0x2301ec-0x8c;let _0x289650=_0x5bedbc[_0x2301ec];return _0x289650;},a0_0x2301(_0x5dbb93,_0x36153e);}import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x39c2a0(0x9a)](){const _0x2f4939=a0_0x39c2a0;if(this[_0x2f4939(0x92)]&&!this[_0x2f4939(0x9b)]){let _0x1fad09=this[_0x2f4939(0x92)]['tagName'],_0x2cb1a5=this[_0x2f4939(0x92)][_0x2f4939(0xa0)],_0x382096='<'+_0x1fad09+_0x2f4939(0x9f)+this['relationMenu'][_0x2f4939(0x96)]+_0x2f4939(0x95)+_0x2cb1a5+'\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></'+_0x1fad09+'>';this[_0x2f4939(0x9b)]=UiUtil['htmlToElement'](_0x382096),this[_0x2f4939(0x9b)][_0x2f4939(0x99)]=ValueUtil[_0x2f4939(0x8e)](this[_0x2f4939(0x91)])?void 0x0:this[_0x2f4939(0x91)]['customData'];}return html`
2
+ ${this['contentElement']}
3
+ `;}}customElements[a0_0x39c2a0(0x93)](a0_0x39c2a0(0x9c),MetaActivityViewerElement);