@things-factory/meta-ui 6.0.97 → 6.0.99

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 (62) 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 +2 -2
  12. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  13. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  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 +84 -84
  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
  59. package/translations/en.json +21 -20
  60. package/translations/ko.json +2 -1
  61. package/translations/ms.json +33 -32
  62. package/translations/zh.json +2 -1
@@ -1,7 +1,7 @@
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})}
1
+ function a0_0x3179(){const _0x1c91a7=['rank','dynamic-menu-part','liteMenus','3vvLoeS','appName','HEADERBAR','value','1582090wgaSSK','content','1199828Rkvxsp','354dOhghT','dynamic-menu','8ibImkF','dispatch','landscape','filter','query','portrait','UPDATE_META_MENU_TEMPLATE','694323mYqOSd','NAVBAR','items','374052xGtXoi','UPDATE_META_UI','2269467lDSAIh','get','lite-menu-part','querySelector','7942270kpHfuo','active','hamburger','33155FdgEOp'];a0_0x3179=function(){return _0x1c91a7;};return a0_0x3179();}const a0_0x25a26a=a0_0x4116;(function(_0x5baed1,_0x340e68){const _0x4867f5=a0_0x4116,_0x4c1df1=_0x5baed1();while(!![]){try{const _0x1386ce=parseInt(_0x4867f5(0x194))/0x1+-parseInt(_0x4867f5(0x1a8))/0x2*(-parseInt(_0x4867f5(0x1a4))/0x3)+-parseInt(_0x4867f5(0x1aa))/0x4+-parseInt(_0x4867f5(0x1a0))/0x5*(-parseInt(_0x4867f5(0x1ab))/0x6)+-parseInt(_0x4867f5(0x197))/0x7+-parseInt(_0x4867f5(0x1ad))/0x8*(parseInt(_0x4867f5(0x199))/0x9)+-parseInt(_0x4867f5(0x19d))/0xa;if(_0x1386ce===_0x340e68)break;else _0x4c1df1['push'](_0x4c1df1['shift']());}catch(_0x5bd278){_0x4c1df1['push'](_0x4c1df1['shift']());}}}(a0_0x3179,0x7468e));function a0_0x4116(_0x260a79,_0xa3702d){const _0x317930=a0_0x3179();return a0_0x4116=function(_0x411673,_0x2b2860){_0x411673=_0x411673-0x192;let _0x38e9d8=_0x317930[_0x411673];return _0x38e9d8;},a0_0x4116(_0x260a79,_0xa3702d);}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x25050a 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_0x25a26a(0x198);export const UPDATE_META_MENU_TEMPLATE=a0_0x25a26a(0x193);var HAMBURGER;export async function setupMenuPart(_0x254e52){const _0x5768c1=a0_0x25a26a;var {hovering:_0x28e123=!!isMobileDevice(),slotTemplate:_0x5a2580,portraitSlotTemplate:_0x28fa37,landscapeSlotTemplate:_0x2c33f7,position:_0x44ab38=VIEWPART_POSITION[_0x5768c1(0x195)]}=_0x254e52||{};const {hovering:_0x35d0b4}=(await clientSettingStore[_0x5768c1(0x19a)](_0x5768c1(0x1ac)))?.[_0x5768c1(0x1a7)]||{};void 0x0!==_0x35d0b4&&(_0x28e123=_0x35d0b4);const _0x5b216c=_0x44ab38==VIEWPART_POSITION[_0x5768c1(0x1a6)]?_0x5768c1(0x1af):'portrait',_0x59ae1c=(_0x5768c1(0x1af)==_0x5b216c?_0x2c33f7:_0x28fa37)||_0x5a2580||html``;appendViewpart({'name':_0x5768c1(0x19b),'viewpart':{'show':!_0x28e123,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x28e123,'template':html`<dynamic-menu-part .orientation=${_0x5b216c}>${_0x59ae1c}</dynamic-menu-part>`},'position':_0x44ab38}),_0x28e123&&_0x5768c1(0x192)==_0x5b216c?HAMBURGER||(HAMBURGER={'name':_0x5768c1(0x19f),'template':html`
2
+ <mwc-icon @click=${_0x1f6cf6=>toggleOverlay(_0x5768c1(0x1a2),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
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`
4
+ `,'position':TOOL_POSITION['FRONT_END']},store[_0x5768c1(0x1ae)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x5768c1(0x1ae)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x3e13fd){const _0x4da825=a0_0x25a26a;var _0x3689ff=document[_0x4da825(0x19c)]('meta[name=\x22application-name\x22]')?.[_0x4da825(0x1a9)],_0xa11ce2=(await client[_0x4da825(0x1b1)]({'query':a0_0x25050a`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ function a0_0x11a4(_0x1122af,_0x4b0778){const _0x3e3f64=a0_0x3e3f();return a0_0x
20
20
  total
21
21
  }
22
22
  }
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});}
23
+ `,'variables':{'filters':[{'name':_0x4da825(0x19e),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x3689ff]}],'sortings':[{'name':_0x4da825(0x1a1),'desc':!0x1}]}}))['data'][_0x4da825(0x1a3)][_0x4da825(0x196)];store[_0x4da825(0x1ae)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0xa11ce2[_0x4da825(0x1b0)](_0x208b4d=>!_0x208b4d['appName']||_0x208b4d[_0x4da825(0x1a5)]===_0x3689ff),'template':_0x3e13fd});}
@@ -1 +1 @@
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
+ const a0_0x43e2ff=a0_0x4ebd;(function(_0x519e0b,_0x35d0a2){const _0x5c6f2a=a0_0x4ebd,_0x438b60=_0x519e0b();while(!![]){try{const _0x2eb529=parseInt(_0x5c6f2a(0x17f))/0x1*(-parseInt(_0x5c6f2a(0x15f))/0x2)+parseInt(_0x5c6f2a(0x159))/0x3+-parseInt(_0x5c6f2a(0x171))/0x4+parseInt(_0x5c6f2a(0x179))/0x5+-parseInt(_0x5c6f2a(0x17d))/0x6+parseInt(_0x5c6f2a(0x169))/0x7*(parseInt(_0x5c6f2a(0x17a))/0x8)+parseInt(_0x5c6f2a(0x165))/0x9*(parseInt(_0x5c6f2a(0x15c))/0xa);if(_0x2eb529===_0x35d0a2)break;else _0x438b60['push'](_0x438b60['shift']());}catch(_0x54b36c){_0x438b60['push'](_0x438b60['shift']());}}}(a0_0x492a,0xd9f36));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x4ebd(_0x1db479,_0x3989dc){const _0x492a76=a0_0x492a();return a0_0x4ebd=function(_0x4ebda4,_0x144d8f){_0x4ebda4=_0x4ebda4-0x153;let _0x300dea=_0x492a76[_0x4ebda4];return _0x300dea;},a0_0x4ebd(_0x1db479,_0x3989dc);}import{TermsUtil}from'./../utils/terms-util';function a0_0x492a(){const _0x404cc7=['parent_id','parseBasicFormConfigs','11834396XWLBXc','fetch','isDetail','is_detail','errors','parseBasicServiceConfigs','etcConfig','excuteOpenPopupButtonClick','5237836geHgPn','pageUpdated','split','getParams','title_detail','params','openDynamicPopup','after','505995DvQgaL','8EcoaqQ','executeCallScenarioButtonClick','parseBasicButtonConfigs','954072sihXAD','parseBasicGridConfigs','209846SWqWex','isEmpty','getAndParseMenuMeta','isNotEmpty','isElement','fetchHandler','active','grist','4623303tRlYDM','lifecycle','menu','230ilyBUJ','isPage','filterForm','14wbCgid','menuInfo','name','getMenuMeta','isPopup','parseBasicTabConfigs','194553GFyETt','is_popup'];a0_0x492a=function(){return _0x404cc7;};return a0_0x492a();}export const MetaBaseMixin=_0x505c8b=>class extends _0x505c8b{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x5d8adb=>Boolean(_0x5d8adb)},'is_popup':{'type':Boolean,'converter':_0x3a3b87=>Boolean(_0x3a3b87)},'is_activity':{'type':Boolean,'converter':_0xd9c533=>Boolean(_0xd9c533)},'is_readonly':{'type':Boolean,'converter':_0x6c7976=>Boolean(_0x6c7976)}};}get[a0_0x43e2ff(0x155)](){const _0xb68f86=a0_0x43e2ff;return!0x0===this[_0xb68f86(0x16c)]||!0x0===this['is_popup'];}get[a0_0x43e2ff(0x16b)](){const _0x44542f=a0_0x43e2ff;return!ValueUtil[_0x44542f(0x180)](this[_0x44542f(0x16c)])&&this[_0x44542f(0x16c)];}async[a0_0x43e2ff(0x172)](_0x420fd3,_0x10638c,_0x2924da){const _0x3f3675=a0_0x43e2ff;let _0x3a7fdd=this[_0x3f3675(0x15a)]?.[_0x3f3675(0x176)]?this[_0x3f3675(0x15a)][_0x3f3675(0x176)]:{};this['isPage']&&this[_0x3f3675(0x157)]&&0x0==_0x2924da['active']&&ValueUtil['isNotEmpty'](_0x3a7fdd)&&this[_0x3f3675(0x16a)]();}get[a0_0x43e2ff(0x163)](){const _0x297841=a0_0x43e2ff;return!ValueUtil[_0x297841(0x180)](this[_0x297841(0x166)])&&this['is_popup'];}get[a0_0x43e2ff(0x15d)](){const _0x2a1032=a0_0x43e2ff;return!this[_0x2a1032(0x16c)]&&!this[_0x2a1032(0x166)];}async[a0_0x43e2ff(0x153)](){const _0x395ee5=a0_0x43e2ff;let _0x3874ff=await MetaApi[_0x395ee5(0x162)](this);_0x3874ff&&(this[_0x395ee5(0x160)]=_0x3874ff[_0x395ee5(0x15b)],this[_0x395ee5(0x17e)]&&this[_0x395ee5(0x17e)](_0x3874ff),this[_0x395ee5(0x16e)]&&this['parseBasicServiceConfigs'](_0x3874ff),this[_0x395ee5(0x168)]&&this[_0x395ee5(0x168)](_0x3874ff),this['parseBasicTabConfigs']&&this[_0x395ee5(0x164)](_0x3874ff),this[_0x395ee5(0x17c)]&&this[_0x395ee5(0x17c)](_0x3874ff),this[_0x395ee5(0x16f)]=_0x3874ff['etc']);}async[a0_0x43e2ff(0x16a)](){const _0x3c132e=a0_0x43e2ff;ValueUtil[_0x3c132e(0x154)](this[_0x3c132e(0x158)])?this[_0x3c132e(0x158)]['fetch']():(ValueUtil[_0x3c132e(0x154)](this[_0x3c132e(0x15e)])||this[_0x3c132e(0x156)])&&await this[_0x3c132e(0x156)]();}async[a0_0x43e2ff(0x170)](_0x227fef,_0x5229b7,_0x2215c9){const _0x2faa51=a0_0x43e2ff;let _0x180d78=TermsUtil['tTitle'](_0x227fef['title']);ValueUtil['isNotEmpty'](_0x227fef[_0x2faa51(0x175)])&&(_0x180d78=_0x180d78+'-'+ValueUtil[_0x2faa51(0x174)](_0x5229b7,..._0x227fef[_0x2faa51(0x175)][_0x2faa51(0x173)]('.'))),MetaApi[_0x2faa51(0x177)](_0x180d78,_0x227fef,_0x5229b7,_0x2215c9);}async[a0_0x43e2ff(0x17b)](_0x2a5b68,_0x3db7ce,_0x3a2c60){const _0x35ef30=a0_0x43e2ff;let _0x2a73b4=await MetaApi['callScenario'](_0x2a5b68[_0x35ef30(0x161)],_0x2a5b68[_0x35ef30(0x161)],_0x3db7ce);!0x1!==_0x2a73b4&&!_0x2a73b4[_0x35ef30(0x16d)]&&ValueUtil[_0x35ef30(0x154)](_0x2a5b68[_0x35ef30(0x178)])&&_0x3a2c60();}['setParentId'](_0x3cc352){const _0x116f64=a0_0x43e2ff;this[_0x116f64(0x167)]=_0x3cc352,this[_0x116f64(0x16a)]();}};
@@ -1,4 +1,4 @@
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
+ const a0_0x410d35=a0_0x1e5e;(function(_0x54951e,_0x3e1961){const _0xf2425e=a0_0x1e5e,_0x5a4606=_0x54951e();while(!![]){try{const _0xce20bc=parseInt(_0xf2425e(0x14c))/0x1*(-parseInt(_0xf2425e(0x162))/0x2)+-parseInt(_0xf2425e(0x156))/0x3+-parseInt(_0xf2425e(0x141))/0x4*(-parseInt(_0xf2425e(0x159))/0x5)+-parseInt(_0xf2425e(0x167))/0x6+-parseInt(_0xf2425e(0x14b))/0x7+-parseInt(_0xf2425e(0x168))/0x8*(parseInt(_0xf2425e(0x15e))/0x9)+parseInt(_0xf2425e(0x16b))/0xa;if(_0xce20bc===_0x3e1961)break;else _0x5a4606['push'](_0x5a4606['shift']());}catch(_0x337e55){_0x5a4606['push'](_0x5a4606['shift']());}}}(a0_0x2a08,0x46e19));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x2a08(){const _0x3f4c64=['grid','2sditKt','keys','firstUpdated','menuInfo','getAndParseMenuMeta','1226124sCQWEX','1985432jzrvKQ','import','renderRoot','10201020DPZZFi','parseGridConfigSet','parseBasicGridConfigs','clear','forEach','dataSet','connectedCallback','shadowRoot','deleteByIds','gridConfig','grid_column','getBasicGristStyles','fetch','filterForm','data','isElement','isNotEmpty','gridColumnConfig','2116252noKeHT','exportableData','styles','gristConfigSet','getData','export','properties','getContextObject','tTitle','ox-filters-form','1260217HMWjmF','482789iObgbL','isPage','filterFormId','querySelector','getSelectedIdList','delete','getParams','___data','grist','patchesForUpdateMultiple','430449ZpYnVV','findOne','getBasicGristHtml','5SilHyh','pageInitialized','searchConfig','activityDataSet','title','9iMyVtc','startsWith','getButtonContainer'];a0_0x2a08=function(){return _0x3f4c64;};return a0_0x2a08();}function a0_0x1e5e(_0x567872,_0x3b0444){const _0x2a087d=a0_0x2a08();return a0_0x1e5e=function(_0x1e5ece,_0x4676d0){_0x1e5ece=_0x1e5ece-0x130;let _0x9e6356=_0x2a087d[_0x1e5ece];return _0x9e6356;},a0_0x1e5e(_0x567872,_0x3b0444);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x13c42a=>class extends MetaButtonMixin(_0x13c42a){static get[a0_0x410d35(0x143)](){const _0x453bd2=a0_0x410d35;return MetaApi[_0x453bd2(0x13a)]();}static get[a0_0x410d35(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['grist'](){const _0x20863c=a0_0x410d35;return this[_0x20863c(0x16a)]?.['querySelector'](this['gristId']);}get[a0_0x410d35(0x13c)](){const _0x1003a6=a0_0x410d35;return this[_0x1003a6(0x136)]?.[_0x1003a6(0x14f)](this[_0x1003a6(0x14e)]);}get['context'](){const _0x4fb52c=a0_0x410d35;return MetaUiUtil[_0x4fb52c(0x148)](this);}async[a0_0x410d35(0x135)](){const _0x293ba2=a0_0x410d35;this['gristId']='ox-grist',this['filterFormId']=_0x293ba2(0x14a),await this[_0x293ba2(0x166)](),this[_0x293ba2(0x13e)]&&await this['parseGristConfigs'](),this[_0x293ba2(0x15c)]&&(this[_0x293ba2(0x134)]=this[_0x293ba2(0x15c)]),super[_0x293ba2(0x135)]&&await super[_0x293ba2(0x135)]();}async[a0_0x410d35(0x164)](){const _0x403948=a0_0x410d35;super[_0x403948(0x164)]&&await super[_0x403948(0x164)]();}async[a0_0x410d35(0x15a)](){const _0x55e998=a0_0x410d35;this[_0x55e998(0x14d)]&&await this['parseGristConfigs'](),super[_0x55e998(0x15a)]&&await super[_0x55e998(0x15a)]();}['render'](){const _0x481b05=a0_0x410d35;return html`
2
+ ${MetaApi[_0x481b05(0x158)](this)}
3
+ ${this[_0x481b05(0x14d)]?html``:MetaUiUtil[_0x481b05(0x160)](this)}
4
+ `;}[a0_0x410d35(0x131)](_0x22ee8e){const _0x51ba30=a0_0x410d35;this[_0x51ba30(0x138)]=_0x22ee8e[_0x51ba30(0x161)],this[_0x51ba30(0x140)]=_0x22ee8e[_0x51ba30(0x139)],this[_0x51ba30(0x15b)]=_0x22ee8e['search'];}async['parseGristConfigs'](){const _0x4ea15a=a0_0x410d35;this[_0x4ea15a(0x144)]=await MetaApi[_0x4ea15a(0x130)](this);}async[a0_0x410d35(0x13b)](){const _0x2a9ef6=a0_0x410d35;await this[_0x2a9ef6(0x154)][_0x2a9ef6(0x13b)]();}async['save'](){const _0x4bb6df=a0_0x410d35;let _0x4d9e53=MetaApi[_0x4bb6df(0x155)](this[_0x4bb6df(0x154)]);!!ValueUtil[_0x4bb6df(0x13f)](_0x4d9e53)&&await this['updateMultiple'](_0x4d9e53)&&this[_0x4bb6df(0x13b)]();}async['find'](){const _0x1e98b4=a0_0x410d35;let _0x46038d=MetaApi[_0x1e98b4(0x150)](this[_0x1e98b4(0x154)],!0x0);return ValueUtil[_0x1e98b4(0x13f)](_0x46038d)?await this[_0x1e98b4(0x157)](_0x46038d[0x0]):{};}async[a0_0x410d35(0x151)](){const _0x118e03=a0_0x410d35;let _0x3ff125=MetaApi['getSelectedIdList'](this[_0x118e03(0x154)],!0x0);!!ValueUtil[_0x118e03(0x13f)](_0x3ff125)&&await this[_0x118e03(0x137)](_0x3ff125)&&this[_0x118e03(0x13b)]();}async[a0_0x410d35(0x146)](){const _0x3dc926=a0_0x410d35;let _0x5e637b=TermsUtil[_0x3dc926(0x149)](ValueUtil[_0x3dc926(0x152)](this[_0x3dc926(0x165)],_0x3dc926(0x15d)));return await MetaApi[_0x3dc926(0x142)](this[_0x3dc926(0x13e)],_0x5e637b,this[_0x3dc926(0x154)]);}async[a0_0x410d35(0x169)](){}async[a0_0x410d35(0x132)](){const _0x4fbe8c=a0_0x410d35;this[_0x4fbe8c(0x154)]&&(this[_0x4fbe8c(0x154)][_0x4fbe8c(0x13d)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x410d35(0x145)](){const _0x26c06d=a0_0x410d35;let _0x3bdde6=this[_0x26c06d(0x154)][_0x26c06d(0x153)]['records'];return _0x3bdde6=JSON['parse'](JSON['stringify'](_0x3bdde6)),_0x3bdde6[_0x26c06d(0x133)](_0x523ee1=>{const _0x2c3965=_0x26c06d;Object[_0x2c3965(0x163)](_0x523ee1)[_0x2c3965(0x133)](_0x3fd059=>{const _0x1a0c99=_0x2c3965;_0x3fd059[_0x1a0c99(0x15f)]('__')&&delete _0x523ee1[_0x3fd059];});}),_0x3bdde6;}};
@@ -1 +1 @@
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
+ const a0_0x436885=a0_0x16dd;function a0_0x4d9f(){const _0x4a69a6=['gristButtonHandler','import','add','21161yaleIA','customButtonHandler','getContextButtons','export','isPage','buttonConfig','useButtonAdd','33mPAagQ','properties','1518740cPAEFr','getBasicButtonHandler','9EDFOgL','useButtonImport','button','1842640aEwIDI','getCustomButtonContainerStyle','getButtonContainer','7061814fuCTWb','923976IazrLS','100934AQfwoe','165MZcGws','getCustomButtonContainerStyles','188140LOOeXB','5IzqyNZ','getButtonActionHandler','1288QImYiR'];a0_0x4d9f=function(){return _0x4a69a6;};return a0_0x4d9f();}(function(_0x5e9974,_0x219fdf){const _0x335de4=a0_0x16dd,_0x4a0de5=_0x5e9974();while(!![]){try{const _0xe358a8=parseInt(_0x335de4(0x208))/0x1+parseInt(_0x335de4(0x205))/0x2*(parseInt(_0x335de4(0x1f9))/0x3)+-parseInt(_0x335de4(0x200))/0x4*(parseInt(_0x335de4(0x209))/0x5)+-parseInt(_0x335de4(0x203))/0x6+parseInt(_0x335de4(0x1f2))/0x7*(parseInt(_0x335de4(0x20b))/0x8)+parseInt(_0x335de4(0x1fd))/0x9*(-parseInt(_0x335de4(0x1fb))/0xa)+parseInt(_0x335de4(0x206))/0xb*(parseInt(_0x335de4(0x204))/0xc);if(_0xe358a8===_0x219fdf)break;else _0x4a0de5['push'](_0x4a0de5['shift']());}catch(_0x58c566){_0x4a0de5['push'](_0x4a0de5['shift']());}}}(a0_0x4d9f,0x915f7));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x16dd(_0x3c2d58,_0x2e839c){const _0x4d9f30=a0_0x4d9f();return a0_0x16dd=function(_0x16dd64,_0x158ccf){_0x16dd64=_0x16dd64-0x1f1;let _0x407d4c=_0x4d9f30[_0x16dd64];return _0x407d4c;},a0_0x16dd(_0x3c2d58,_0x2e839c);}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x50a914=>class extends MetaServiceMixin(_0x50a914){static get[a0_0x436885(0x1fa)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x436885(0x201)](){const _0x27280b=a0_0x436885;return MetaUiUtil[_0x27280b(0x207)]();}[a0_0x436885(0x1f4)](){const _0x42212d=a0_0x436885;return MetaUiUtil[_0x42212d(0x1f4)](this);}[a0_0x436885(0x202)](){const _0x4b321e=a0_0x436885;return this[_0x4b321e(0x1f6)]?html``:MetaUiUtil['getButtonContainer'](this);}async[a0_0x436885(0x1fc)](_0x4dcc97,_0x54ad62,_0x22d95a){const _0x144517=a0_0x436885;return await MetaUiUtil[_0x144517(0x20a)](this,_0x4dcc97,_0x54ad62,_0x22d95a);}async[a0_0x436885(0x1f3)](_0x3c7062){const _0x1f5d6e=a0_0x436885;await MetaUiUtil[_0x1f5d6e(0x1f3)](this,_0x3c7062);}async[a0_0x436885(0x20c)](_0x58488e,_0x1c7ca0){const _0x6ad280=a0_0x436885;await MetaUiUtil[_0x6ad280(0x20c)](this,_0x58488e,_0x1c7ca0);}['parseBasicButtonConfigs'](_0x12f8a1){const _0x407170=a0_0x436885;this[_0x407170(0x1f7)]=_0x12f8a1[_0x407170(0x1ff)],this[_0x407170(0x1fe)]=MetaUiUtil['isButtonExist'](this[_0x407170(0x1f7)],_0x407170(0x20d)),this['useButtonExport']=MetaUiUtil['isButtonExist'](this[_0x407170(0x1f7)],_0x407170(0x1f5)),this[_0x407170(0x1f8)]=MetaUiUtil['isButtonExist'](this['buttonConfig'],_0x407170(0x1f1));}};
@@ -1 +1 @@
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
+ const a0_0x834e9f=a0_0x561f;(function(_0x30a475,_0x47c96a){const _0xbb6b6f=a0_0x561f,_0x988068=_0x30a475();while(!![]){try{const _0x42a53b=-parseInt(_0xbb6b6f(0xa7))/0x1*(-parseInt(_0xbb6b6f(0xaf))/0x2)+-parseInt(_0xbb6b6f(0x7e))/0x3+parseInt(_0xbb6b6f(0x80))/0x4+parseInt(_0xbb6b6f(0x87))/0x5*(parseInt(_0xbb6b6f(0xc8))/0x6)+-parseInt(_0xbb6b6f(0xb1))/0x7*(parseInt(_0xbb6b6f(0x8c))/0x8)+-parseInt(_0xbb6b6f(0xaa))/0x9+parseInt(_0xbb6b6f(0xa5))/0xa;if(_0x42a53b===_0x47c96a)break;else _0x988068['push'](_0x988068['shift']());}catch(_0x17f302){_0x988068['push'](_0x988068['shift']());}}}(a0_0x5b3c,0x21ebc));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x561f(_0x19a98d,_0x227962){const _0x5b3c01=a0_0x5b3c();return a0_0x561f=function(_0x561f23,_0x29df11){_0x561f23=_0x561f23-0x7e;let _0x245780=_0x5b3c01[_0x561f23];return _0x245780;},a0_0x561f(_0x19a98d,_0x227962);}import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x5b3c(){const _0x12996d=['map','before','Enter','Escape','formRenderConfig','keydown','updateMultiple','getBasicFormStyles','properties','after','column','object','__seq__','form','name','patchData','isElement','activityDataSet','key','filter','parseFormConfigSet','button','10554bukrjU','render','OX-GRID-FIELD','getData','tagName','parseFormConfigs','Esc','getContextObject','dirtyData','getBasicFormHtml','482190CDjBpb','keys','391672VDarTt','pageInitialized','__dirty__','focus','orgData','clear','renderRoot','10UgtSDG','field-change','startsWith','assign','connectedCallback','23808SuieNS','validation','parent_id','__dirtyfields__','removeGarbageData','findOne','fetch','formColumnConfig','editing','currentTarget','removeAttribute','true','isNotEmpty','context','activity','target','styles','grid_column','isPage','record','addEventListener','currentData','save','detail','__origin__','2305160PuNDxP','cuFlag','20tfAuZe','parseBasicFormConfigs','showAlertPopup','147510HkjmTF','config','isEquals','firstUpdated','forEach','1982jsdkvx','isEmpty','84zPreaW'];a0_0x5b3c=function(){return _0x12996d;};return a0_0x5b3c();}export const MetaFormMixin=_0x178c3a=>class extends MetaButtonMixin(_0x178c3a){static get[a0_0x834e9f(0x9c)](){const _0x12e4cf=a0_0x834e9f;return MetaApi[_0x12e4cf(0xb9)]();}static get[a0_0x834e9f(0xba)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x834e9f(0x99)](){const _0x3322ba=a0_0x834e9f;return MetaUiUtil[_0x3322ba(0xcf)](this);}async[a0_0x834e9f(0x8b)](){const _0x346590=a0_0x834e9f;if(this[_0x346590(0xab)]){let {column:_0xaa4c85=0x1}=this[_0x346590(0xab)];this[_0x346590(0xbc)]=_0xaa4c85;}await this['getAndParseMenuMeta'](),this[_0x346590(0xc2)]&&await this[_0x346590(0xcd)](),this['activityDataSet']&&(this['dataSet']=this[_0x346590(0xc3)]),!0x0!==this['is_activity']||this[_0x346590(0x8e)]||(this['parent_id']=_0x346590(0x9a)),super[_0x346590(0x8b)]&&await super[_0x346590(0x8b)](),this[_0x346590(0xc2)]&&await this[_0x346590(0x92)](),this[_0x346590(0x86)][_0x346590(0xa0)](_0x346590(0xb7),_0x452335=>{const _0x308f16=_0x346590;switch(_0x452335[_0x308f16(0xc4)]){case _0x308f16(0xce):case _0x308f16(0xb5):case _0x308f16(0xb4):this[_0x308f16(0x83)](),this[_0x308f16(0x95)]&&this[_0x308f16(0x95)][_0x308f16(0x96)](_0x308f16(0x94)),this[_0x308f16(0x95)]=null;}}),this[_0x346590(0x86)][_0x346590(0xa0)]('click',_0x2b1a49=>{const _0x203972=_0x346590;_0x2b1a49['stopPropagation']();let _0x42afc3=_0x2b1a49[_0x203972(0x9b)];if(this['currentTarget']&&(this['focus'](),this[_0x203972(0x95)][_0x203972(0x96)]('editing')),_0x203972(0xca)!==_0x42afc3[_0x203972(0xcc)]||!_0x42afc3[_0x203972(0xbc)][_0x203972(0x9f)]['editable'])return this[_0x203972(0x83)](),void(this[_0x203972(0x95)]=null);this['currentTarget']=_0x42afc3,_0x42afc3['setAttribute']('editing',_0x203972(0x97));}),this[_0x346590(0xa0)](_0x346590(0x88),_0x542256=>{const _0x4f40ab=_0x346590;var {after:_0x426bb8,before:_0x51b19e,column:_0xc4a328,record:_0x26e001,row:_0x1d763b}=_0x542256[_0x4f40ab(0xa3)];if(ValueUtil[_0x4f40ab(0xac)](_0x426bb8,_0x51b19e))return;var _0x16febd=_0xc4a328[_0x4f40ab(0x8d)];if(_0x16febd&&'function'==typeof _0x16febd&&!_0x16febd['call'](this,_0x426bb8,_0x51b19e,_0x26e001,_0xc4a328))return;let _0x432518=_0xc4a328[_0x4f40ab(0xc0)];_0x26e001[_0x432518]=_0x426bb8,_0x26e001[_0x4f40ab(0x8f)]=_0x26e001[_0x4f40ab(0x8f)]||{},_0x26e001[_0x4f40ab(0xa4)]=_0x26e001[_0x4f40ab(0xa4)]||{},_0x26e001[_0x4f40ab(0x8f)][_0x432518]={'before':_0x26e001['__origin__'][_0x432518],'after':_0x26e001[_0x432518]},ValueUtil[_0x4f40ab(0xac)](_0x26e001[_0x4f40ab(0x8f)][_0x432518][_0x4f40ab(0xb3)],_0x26e001[_0x4f40ab(0x8f)][_0x432518][_0x4f40ab(0xbb)])&&delete _0x26e001[_0x4f40ab(0x8f)][_0x432518],ValueUtil[_0x4f40ab(0x98)](_0x26e001[_0x4f40ab(0x8f)])?_0x26e001[_0x4f40ab(0x82)]='M':_0x26e001[_0x4f40ab(0x82)]='',this[_0x4f40ab(0x9f)]={..._0x26e001};});}async['firstUpdated'](){const _0x2b646b=a0_0x834e9f;super['firstUpdated']&&await super[_0x2b646b(0xad)]();}async[a0_0x834e9f(0x81)](){const _0x3db1c1=a0_0x834e9f;this[_0x3db1c1(0x9e)]&&await this[_0x3db1c1(0xcd)](),super[_0x3db1c1(0x81)]&&await super['pageInitialized'](),this[_0x3db1c1(0x9e)]&&await this['fetch']();}[a0_0x834e9f(0xc9)](){const _0x4f129d=a0_0x834e9f;return MetaApi[_0x4f129d(0xd1)](this);}[a0_0x834e9f(0xa8)](_0x45468e){const _0xdff28a=a0_0x834e9f;this[_0xdff28a(0x93)]=_0x45468e[_0xdff28a(0x9d)],this[_0xdff28a(0xb6)]=_0x45468e[_0xdff28a(0xbf)],_0x45468e[_0xdff28a(0xc7)]=_0x45468e[_0xdff28a(0xc7)][_0xdff28a(0xc5)](_0x410453=>_0xdff28a(0xa2)==_0x410453[_0xdff28a(0xc0)]);}async[a0_0x834e9f(0xcd)](){const _0x56b378=a0_0x834e9f;this['formConfigSet']=await MetaApi[_0x56b378(0xc6)](this);}get[a0_0x834e9f(0x84)](){const _0x583b59=a0_0x834e9f;return this[_0x583b59(0x90)](this['record'][_0x583b59(0xa4)]);}get[a0_0x834e9f(0xd0)](){const _0x4cd60f=a0_0x834e9f;if(ValueUtil[_0x4cd60f(0xb0)](this['record'][_0x4cd60f(0x8f)]))return{};let _0xf90bb8={};return Object['entries'](this[_0x4cd60f(0x9f)][_0x4cd60f(0x8f)])[_0x4cd60f(0xb2)](([_0x28227f,_0x10f940])=>{const _0x2e6ae4=_0x4cd60f;0x0==_0x28227f[_0x2e6ae4(0x89)]('__')&&(_0xf90bb8[_0x28227f]=_0x10f940['after']);}),_0xf90bb8;}get[a0_0x834e9f(0xa1)](){const _0x10df24=a0_0x834e9f;return this[_0x10df24(0x90)](this['record']);}[a0_0x834e9f(0x90)](_0x4268a0){let _0x1fb9b9={};if(_0x4268a0)return Object['entries'](_0x4268a0)['map'](([_0x2ee8af,_0x332215])=>{const _0x114c9c=a0_0x561f;0x0==_0x2ee8af[_0x114c9c(0x89)]('__')&&(_0x1fb9b9[_0x2ee8af]=_0x332215);}),_0x1fb9b9;}get[a0_0x834e9f(0xc1)](){const _0x595c8f=a0_0x834e9f;let _0x481da1=this['dirtyData'],_0x3b6cfe=this['record'];return ValueUtil[_0x595c8f(0xb0)](_0x481da1)?[]:(ValueUtil[_0x595c8f(0x98)](_0x3b6cfe['id'])?(_0x481da1['id']=_0x3b6cfe['id'],_0x481da1[_0x595c8f(0xa6)]='M'):_0x481da1[_0x595c8f(0xa6)]='+',Object[_0x595c8f(0x7f)](_0x481da1)[_0x595c8f(0xae)](_0x3fb1e7=>{const _0x49386f=_0x595c8f;_0x49386f(0xbd)==typeof _0x481da1[_0x3fb1e7]&&(_0x481da1[_0x3fb1e7]={'id':_0x481da1[_0x3fb1e7]['id']});}),[_0x481da1]);}async[a0_0x834e9f(0x92)](){const _0x50b7fd=a0_0x834e9f;if(ValueUtil['isEmpty'](this[_0x50b7fd(0x8e)]))return;let _0x2f9b9d=await this[_0x50b7fd(0x91)](this['parent_id']);_0x2f9b9d[_0x50b7fd(0xbe)]=0x1;let _0x596542={};Object[_0x50b7fd(0x8a)](_0x596542,_0x2f9b9d),_0x2f9b9d[_0x50b7fd(0xa4)]=_0x596542,this[_0x50b7fd(0x9f)]={..._0x2f9b9d};}async[a0_0x834e9f(0xa2)](){const _0x5d4e3e=a0_0x834e9f;let _0x4e7e36=this[_0x5d4e3e(0xc1)];if(ValueUtil[_0x5d4e3e(0xb0)](_0x4e7e36))return void MetaApi[_0x5d4e3e(0xa9)]('title.info','text.NOTHING_CHANGED');let _0x2a27b1=await this[_0x5d4e3e(0xb8)](_0x4e7e36);return _0x2a27b1&&await this[_0x5d4e3e(0x92)](),_0x2a27b1;}async[a0_0x834e9f(0x85)](){const _0x3c55a9=a0_0x834e9f;this[_0x3c55a9(0x9f)]&&(this[_0x3c55a9(0x9f)]={});}[a0_0x834e9f(0xcb)](){const _0x133a84=a0_0x834e9f;return this[_0x133a84(0xa1)]||{};}};
@@ -1 +1 @@
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
+ const a0_0x4cfecb=a0_0x2b5a;function a0_0x2b5a(_0x96fae,_0x3049c5){const _0x5da64e=a0_0x5da6();return a0_0x2b5a=function(_0x2b5ac0,_0x240096){_0x2b5ac0=_0x2b5ac0-0x1e3;let _0x5731eb=_0x5da64e[_0x2b5ac0];return _0x5731eb;},a0_0x2b5a(_0x96fae,_0x3049c5);}(function(_0x336025,_0x5591c0){const _0x409960=a0_0x2b5a,_0x2a21c2=_0x336025();while(!![]){try{const _0x5e2c85=parseInt(_0x409960(0x1ea))/0x1+-parseInt(_0x409960(0x21e))/0x2*(-parseInt(_0x409960(0x225))/0x3)+-parseInt(_0x409960(0x1f1))/0x4+-parseInt(_0x409960(0x216))/0x5*(parseInt(_0x409960(0x1f7))/0x6)+parseInt(_0x409960(0x209))/0x7*(parseInt(_0x409960(0x210))/0x8)+parseInt(_0x409960(0x1ee))/0x9+-parseInt(_0x409960(0x202))/0xa;if(_0x5e2c85===_0x5591c0)break;else _0x2a21c2['push'](_0x2a21c2['shift']());}catch(_0x3cc2a9){_0x2a21c2['push'](_0x2a21c2['shift']());}}}(a0_0x5da6,0xa3d96));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x5da6(){const _0x39b906=['152jQGPsE','querySelector','name','beforeFetch','tTitle','patchesForUpdateMultiple','5GbrtiD','getBasicGristTabStyles','delete','ox-filters-form-base','menuInfo','stringify','searchFields','keys','2pkCyiX','gristId','filter','grist','findOne','type','search','2785326eWHWvS','pageInitialized','gridConfig','parseGristConfigs','importable','getData','operator','meta-tab-element','startsWith','parseGridConfigSet','ox-grist','useFilterForm','render','context','gristConfigSet','grid','isElement','isNotEmpty','connectedCallback','___data','1126613RPysHH','filterForm','gridColumnConfig','filterFormId','6979932wJDzov','actions','exportable','499220sRynxP','getGristTabHtml','properties','dataSet','find','title','6310584FJDOey','isPage','exportableData','getAndParseMenuMeta','getSelectedIdList','activityDataSet','import','map','styles','renderRoot','save','18875550AvMwRD','getParams','options','useMasterFilterForm','updateMultiple','shadowRoot','record','333291cjoXKY','fetch','columns','export','firstUpdated','clear','searchConfig'];a0_0x5da6=function(){return _0x39b906;};return a0_0x5da6();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x160a7a=>class extends MetaButtonMixin(_0x160a7a){static get[a0_0x4cfecb(0x1ff)](){const _0x3a1bca=a0_0x4cfecb;return MetaApi[_0x3a1bca(0x217)]();}static get[a0_0x4cfecb(0x1f3)](){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_0x4cfecb(0x221)](){const _0x4b65bd=a0_0x4cfecb;return this[_0x4b65bd(0x200)][_0x4b65bd(0x211)](this[_0x4b65bd(0x21f)]);}get[a0_0x4cfecb(0x1eb)](){const _0x54a990=a0_0x4cfecb;return this[_0x54a990(0x207)]?.['querySelector'](this[_0x54a990(0x1ed)]);}get[a0_0x4cfecb(0x1e3)](){const _0xc39ecc=a0_0x4cfecb;let _0x5f0069=MetaUiUtil['getContextObject'](this);return _0x5f0069[_0xc39ecc(0x1ef)]&&delete _0x5f0069[_0xc39ecc(0x1ef)],_0x5f0069[_0xc39ecc(0x1f0)]&&delete _0x5f0069[_0xc39ecc(0x1f0)],_0x5f0069[_0xc39ecc(0x229)]&&delete _0x5f0069['importable'],_0x5f0069;}async[a0_0x4cfecb(0x1e8)](){const _0x2c75d9=a0_0x4cfecb;this[_0x2c75d9(0x21f)]=_0x2c75d9(0x22f),this[_0x2c75d9(0x1ed)]=_0x2c75d9(0x219),await this[_0x2c75d9(0x1fa)](),this[_0x2c75d9(0x1e6)]&&await this[_0x2c75d9(0x228)](),this[_0x2c75d9(0x1fc)]&&(this[_0x2c75d9(0x1f4)]=(this[_0x2c75d9(0x1fc)]||{})['main']),super[_0x2c75d9(0x1e8)]&&await super[_0x2c75d9(0x1e8)]();}async[a0_0x4cfecb(0x20d)](){const _0xb54a1e=a0_0x4cfecb;super['firstUpdated']&&await super[_0xb54a1e(0x20d)]();}async[a0_0x4cfecb(0x226)](){const _0x4cf9e4=a0_0x4cfecb;this[_0x4cf9e4(0x1f8)]&&await this[_0x4cf9e4(0x228)](),super[_0x4cf9e4(0x226)]&&await super[_0x4cf9e4(0x226)]();}[a0_0x4cfecb(0x231)](){const _0xc49bfd=a0_0x4cfecb;return MetaApi[_0xc49bfd(0x1f2)](this);}['parseBasicGridConfigs'](_0x8311dc){const _0x309cd3=a0_0x4cfecb;this[_0x309cd3(0x227)]=_0x8311dc[_0x309cd3(0x1e5)],this[_0x309cd3(0x1ec)]=_0x8311dc['grid_column'],this[_0x309cd3(0x20f)]=_0x8311dc[_0x309cd3(0x224)];}async['parseGristConfigs'](){const _0x10a4d6=a0_0x4cfecb;this[_0x10a4d6(0x1e4)]=await MetaApi[_0x10a4d6(0x22e)](this),this[_0x10a4d6(0x205)]=this[_0x10a4d6(0x230)],this[_0x10a4d6(0x230)]=!0x1,this[_0x10a4d6(0x21c)]=this[_0x10a4d6(0x1e4)][_0x10a4d6(0x20b)][_0x10a4d6(0x220)](_0xcfb588=>_0xcfb588[_0x10a4d6(0x220)])[_0x10a4d6(0x1fe)](_0x5d09ab=>{const _0x3840bf=_0x10a4d6;let _0x53c1f={'name':_0x5d09ab[_0x3840bf(0x212)],'type':_0x5d09ab[_0x3840bf(0x223)],'label':_0x5d09ab['header'],'operator':_0x5d09ab[_0x3840bf(0x220)][_0x3840bf(0x22b)]?_0x5d09ab[_0x3840bf(0x220)]['operator']:'eq'};return _0x5d09ab['record']['options']&&(_0x53c1f['options']=_0x5d09ab[_0x3840bf(0x208)][_0x3840bf(0x204)]),_0x53c1f;});}async['fetch'](){const _0x1016af=a0_0x4cfecb;await this['grist'][_0x1016af(0x20a)]();}async[a0_0x4cfecb(0x213)]({page:_0x498d61=0x0,limit:_0x5a598f=0x0,sortings:_0x291a6d=[],filters:_0x33cb5f=[]}){const _0x2fdccf=a0_0x4cfecb;let _0x4c55c7=this[_0x2fdccf(0x200)][_0x2fdccf(0x211)](_0x2fdccf(0x22c));return await _0x4c55c7[_0x2fdccf(0x20e)](),!0x0;}async[a0_0x4cfecb(0x201)](){const _0x4de3f4=a0_0x4cfecb;let _0x4e2a95=MetaApi[_0x4de3f4(0x215)](this['grist']);!!ValueUtil[_0x4de3f4(0x1e7)](_0x4e2a95)&&await this[_0x4de3f4(0x206)](_0x4e2a95)&&this[_0x4de3f4(0x20a)]();}async[a0_0x4cfecb(0x1f5)](){const _0x3f49c2=a0_0x4cfecb;let _0x40188b=MetaApi[_0x3f49c2(0x1fb)](this[_0x3f49c2(0x221)],!0x0);return ValueUtil[_0x3f49c2(0x1e7)](_0x40188b)?await this[_0x3f49c2(0x222)](_0x40188b[0x0]):{};}async[a0_0x4cfecb(0x218)](){const _0x2d8292=a0_0x4cfecb;let _0x369ab8=MetaApi['getSelectedIdList'](this[_0x2d8292(0x221)],!0x0);!!ValueUtil[_0x2d8292(0x1e7)](_0x369ab8)&&await this['deleteByIds'](_0x369ab8)&&this['fetch']();}async[a0_0x4cfecb(0x20c)](){const _0x1c2e31=a0_0x4cfecb;let _0x47dc0b=TermsUtil[_0x1c2e31(0x214)](ValueUtil[_0x1c2e31(0x203)](this[_0x1c2e31(0x21a)],_0x1c2e31(0x1f6)));return await MetaApi[_0x1c2e31(0x1f9)](this[_0x1c2e31(0x1e6)],_0x47dc0b,this[_0x1c2e31(0x221)]);}async[a0_0x4cfecb(0x1fd)](){}[a0_0x4cfecb(0x22a)](){const _0x27cd52=a0_0x4cfecb;let _0x55ae80=this[_0x27cd52(0x221)][_0x27cd52(0x1e9)]['records'];return _0x55ae80=JSON['parse'](JSON[_0x27cd52(0x21b)](_0x55ae80)),_0x55ae80['forEach'](_0x569c0f=>{const _0x327d44=_0x27cd52;Object[_0x327d44(0x21d)](_0x569c0f)['forEach'](_0x1126eb=>{const _0x56d3f7=_0x327d44;_0x1126eb[_0x56d3f7(0x22d)]('__')&&delete _0x569c0f[_0x1126eb];});}),{'main':_0x55ae80,'detail':this[_0x27cd52(0x200)][_0x27cd52(0x211)](_0x27cd52(0x22c))['getData']()};}};
@@ -1 +1 @@
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
+ const a0_0x88134b=a0_0x3446;function a0_0x3446(_0xdf09ee,_0x50e043){const _0x4cb3a7=a0_0x4cb3();return a0_0x3446=function(_0x344651,_0x2fd0c1){_0x344651=_0x344651-0x73;let _0x2f7503=_0x4cb3a7[_0x344651];return _0x2f7503;},a0_0x3446(_0xdf09ee,_0x50e043);}(function(_0x46c851,_0x402427){const _0x17b6f7=a0_0x3446,_0x2767cb=_0x46c851();while(!![]){try{const _0x4ad715=parseInt(_0x17b6f7(0xb2))/0x1+parseInt(_0x17b6f7(0x93))/0x2*(-parseInt(_0x17b6f7(0x77))/0x3)+parseInt(_0x17b6f7(0x82))/0x4+-parseInt(_0x17b6f7(0x8f))/0x5+parseInt(_0x17b6f7(0xb0))/0x6*(parseInt(_0x17b6f7(0xb1))/0x7)+parseInt(_0x17b6f7(0xab))/0x8+parseInt(_0x17b6f7(0xaa))/0x9;if(_0x4ad715===_0x402427)break;else _0x2767cb['push'](_0x2767cb['shift']());}catch(_0x2fdcbc){_0x2767cb['push'](_0x2767cb['shift']());}}}(a0_0x4cb3,0xc0e21));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0xe984b9=>class extends MetaButtonMixin(_0xe984b9){static get[a0_0x88134b(0xa1)](){const _0x2a9dcf=a0_0x88134b;return MetaApi[_0x2a9dcf(0x94)]();}static get[a0_0x88134b(0x97)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0x4bdab4=a0_0x88134b;return this[_0x4bdab4(0x99)][_0x4bdab4(0x9c)](this[_0x4bdab4(0x9a)]);}get[a0_0x88134b(0x7e)](){const _0x50d1e7=a0_0x88134b;return this[_0x50d1e7(0x81)]?.['querySelector'](this[_0x50d1e7(0xc0)]);}get['context'](){const _0x556c72=a0_0x88134b;let _0x2db430=MetaUiUtil[_0x556c72(0xbb)](this);return _0x2db430[_0x556c72(0x8e)]&&delete _0x2db430[_0x556c72(0x8e)],_0x2db430[_0x556c72(0x78)]&&delete _0x2db430['exportable'],_0x2db430[_0x556c72(0x80)]&&delete _0x2db430[_0x556c72(0x80)],_0x2db430;}async['connectedCallback'](){const _0x5919c8=a0_0x88134b;this[_0x5919c8(0x9a)]='ox-grist',this[_0x5919c8(0xc0)]=_0x5919c8(0x83),await this[_0x5919c8(0xae)](),this['isElement']&&await this[_0x5919c8(0x9e)](),this[_0x5919c8(0x90)]&&(this[_0x5919c8(0x7f)]=(this['activityDataSet']||{})[_0x5919c8(0x95)]),super[_0x5919c8(0xaf)]&&await super[_0x5919c8(0xaf)]();}async['firstUpdated'](){const _0x2c603c=a0_0x88134b;super[_0x2c603c(0x87)]&&await super['firstUpdated']();}async[a0_0x88134b(0x85)](){const _0x35d84d=a0_0x88134b;this[_0x35d84d(0x91)]&&await this[_0x35d84d(0x9e)](),super[_0x35d84d(0x85)]&&await super[_0x35d84d(0x85)]();}[a0_0x88134b(0xa5)](){const _0x3a867e=a0_0x88134b;return MetaApi[_0x3a867e(0xa9)](this);}['createDetailElement'](_0x319e2c){const _0x265316=a0_0x88134b;if(!this['detailElement']){let _0x415428=_0x319e2c[_0x265316(0x7b)]?_0x319e2c['name']:'detail',_0x2493c2='<'+_0x319e2c[_0x265316(0x9d)]+_0x265316(0xa0)+_0x415428+'\x22\x20name=\x22'+_0x415428+'\x22\x20route_name=\x22'+_0x319e2c['routing']+'\x22\x20'+(!0x0===this[_0x265316(0x8c)]?_0x265316(0x92):'')+'\x20'+(!0x0===this['is_readonly']?_0x265316(0xb6):'')+_0x265316(0xac)+_0x319e2c[_0x265316(0x9d)]+'>';this['detailElement']=UiUtil[_0x265316(0xa4)](_0x2493c2),this[_0x265316(0x96)][_0x265316(0x90)]=(this[_0x265316(0x90)]||{})[_0x265316(0x8b)];}}[a0_0x88134b(0x8a)](_0x3dacd5){const _0x4b65eb=a0_0x88134b;this[_0x4b65eb(0xbc)]=_0x3dacd5['grid'],this['gridColumnConfig']=_0x3dacd5['grid_column'],this['searchConfig']=_0x3dacd5[_0x4b65eb(0xb4)];}async[a0_0x88134b(0x9e)](){const _0x10e105=a0_0x88134b;this[_0x10e105(0xa2)]=await MetaApi[_0x10e105(0xbf)](this),this[_0x10e105(0x76)]=this[_0x10e105(0xa7)],this[_0x10e105(0xa7)]=!0x1,this[_0x10e105(0xa6)]=this[_0x10e105(0xa2)]['columns']['filter'](_0x40686a=>_0x40686a[_0x10e105(0x9b)])[_0x10e105(0xbd)](_0x11dfec=>{const _0x4a7273=_0x10e105;let _0x54d33c={'name':_0x11dfec[_0x4a7273(0x7b)],'type':_0x11dfec['type'],'label':_0x11dfec[_0x4a7273(0x9f)],'operator':_0x11dfec[_0x4a7273(0x9b)][_0x4a7273(0xbe)]?_0x11dfec[_0x4a7273(0x9b)][_0x4a7273(0xbe)]:'eq'};return _0x11dfec['record']['options']&&(_0x54d33c[_0x4a7273(0xba)]=_0x11dfec[_0x4a7273(0xb8)]['options']),_0x54d33c;});}async[a0_0x88134b(0x84)](){const _0x364764=a0_0x88134b;await this[_0x364764(0xad)][_0x364764(0x84)]();}async['beforeFetch']({page:_0x2badb4=0x0,limit:_0xe3f5ab=0x0,sortings:_0x4d6659=[],filters:_0x5c13af=[]}){const _0x5ee35c=a0_0x88134b;return this['detailElement']&&this[_0x5ee35c(0x96)]['clear']&&await this[_0x5ee35c(0x96)][_0x5ee35c(0x73)](),!0x0;}async['save'](){const _0x4bec19=a0_0x88134b;let _0x5d16ae=MetaApi[_0x4bec19(0x75)](this[_0x4bec19(0xad)]);!!ValueUtil['isNotEmpty'](_0x5d16ae)&&await this['updateMultiple'](_0x5d16ae)&&this[_0x4bec19(0x84)]();}async[a0_0x88134b(0x8d)](){const _0x7b3164=a0_0x88134b;let _0x5d5131=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil[_0x7b3164(0x7a)](_0x5d5131)?await this['findOne'](_0x5d5131[0x0]):{};}async[a0_0x88134b(0x79)](){const _0x3db937=a0_0x88134b;let _0x43ad6f=MetaApi[_0x3db937(0xa8)](this[_0x3db937(0xad)],!0x0);!!ValueUtil['isNotEmpty'](_0x43ad6f)&&await this['deleteByIds'](_0x43ad6f)&&this['fetch']();}async['export'](){const _0x7767c0=a0_0x88134b;let _0x4e60e3=TermsUtil[_0x7767c0(0x88)](ValueUtil[_0x7767c0(0xa3)](this[_0x7767c0(0x7c)],'title'));return await MetaApi[_0x7767c0(0x98)](this['isElement'],_0x4e60e3,this[_0x7767c0(0xad)]);}async[a0_0x88134b(0xb9)](){}[a0_0x88134b(0xb3)](){const _0x16e3b7=a0_0x88134b;let _0x1fbc8c=this['grist'][_0x16e3b7(0x86)][_0x16e3b7(0x7d)];return _0x1fbc8c=JSON[_0x16e3b7(0xb7)](JSON['stringify'](_0x1fbc8c)),_0x1fbc8c[_0x16e3b7(0x74)](_0x1955c2=>{const _0x30901d=_0x16e3b7;Object[_0x30901d(0xb5)](_0x1955c2)['forEach'](_0x26f3f2=>{const _0x1853d1=_0x30901d;_0x26f3f2[_0x1853d1(0x89)]('__')&&delete _0x1955c2[_0x26f3f2];});}),{'main':_0x1fbc8c,'detail':this['detailElement'][_0x16e3b7(0xb3)]()};}};function a0_0x4cb3(){const _0x41e8e6=['___data','firstUpdated','tTitle','startsWith','parseBasicGridConfigs','detail','is_activity','find','actions','6344395osgAOu','activityDataSet','isPage','is_activity=true','1034702jsBnMi','getBasicMasterDetailStyles','main','detailElement','properties','exportableData','renderRoot','gristId','filter','querySelector','tagname','parseGristConfigs','header','\x20id=\x22','styles','gristConfigSet','getParams','htmlToElement','render','searchFields','useFilterForm','getSelectedIdList','getMasterDetailHtml','5002425ExoWXW','6057904zGgMXg','\x20is_detail=true\x20style=\x22flex:1;\x22></','grist','getAndParseMenuMeta','connectedCallback','12eqxdpl','2054108awaoMZ','569079QExVUn','getData','search','keys','is_readonly=true','parse','record','import','options','getContextObject','gridConfig','map','operator','parseGridConfigSet','filterFormId','clear','forEach','patchesForUpdateMultiple','useMasterFilterForm','6bzEJDP','exportable','delete','isNotEmpty','name','menuInfo','records','filterForm','dataSet','importable','shadowRoot','2498400OMnZoL','ox-filters-form-base','fetch','pageInitialized'];a0_0x4cb3=function(){return _0x41e8e6;};return a0_0x4cb3();}
@@ -1 +1 @@
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
+ function a0_0x3039(_0x5b9d98,_0x487b5d){const _0x87f283=a0_0x87f2();return a0_0x3039=function(_0x30397e,_0x544b32){_0x30397e=_0x30397e-0x112;let _0xf9fbac=_0x87f283[_0x30397e];return _0xf9fbac;},a0_0x3039(_0x5b9d98,_0x487b5d);}const a0_0x26b1b7=a0_0x3039;(function(_0x19450c,_0x7d8cfd){const _0x5877ba=a0_0x3039,_0x19a22c=_0x19450c();while(!![]){try{const _0x1e5d50=-parseInt(_0x5877ba(0x138))/0x1+parseInt(_0x5877ba(0x131))/0x2*(-parseInt(_0x5877ba(0x113))/0x3)+parseInt(_0x5877ba(0x11e))/0x4+parseInt(_0x5877ba(0x134))/0x5*(parseInt(_0x5877ba(0x120))/0x6)+parseInt(_0x5877ba(0x121))/0x7*(-parseInt(_0x5877ba(0x11c))/0x8)+-parseInt(_0x5877ba(0x124))/0x9*(-parseInt(_0x5877ba(0x12a))/0xa)+-parseInt(_0x5877ba(0x14a))/0xb;if(_0x1e5d50===_0x7d8cfd)break;else _0x19a22c['push'](_0x19a22c['shift']());}catch(_0x4d4399){_0x19a22c['push'](_0x19a22c['shift']());}}}(a0_0x87f2,0x49fae));import{adjustFilters}from'@operato/utils';function a0_0x87f2(){const _0x2e2af2=['3971693DzDKoZ','multiple','after_set_fields','map','query','72855bxAEbG','afterFetch','deleteByIds','isNotEmpty','getPageNavigateParams','updateMultiple','name','getSelectColumns','delete','73888CUFIpA','parent_id','1931308nxAfwH','filter','433572yrPLXD','112fcONCG','gqlInfo','getQueryFilters','9WIyJAT','isElement','columns','push','beforeFetch','pass','1122070ORSFrN','properties','isEmpty','findOne','dataSet','parse','gristConfigSet','4HXujsT','lifecycle','searchByPagination','40TibihE','infinityPage','parseBasicServiceConfigs','skip_fields','312699Dnloov','split','func','forEach','isArray','keys','params','includes','gql','deleteListByIds','records','value','filterForm','is_activity','find_one_func','getParams','length','mutation'];a0_0x87f2=function(){return _0x2e2af2;};return a0_0x87f2();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x149a79=>class extends MetaBaseMixin(_0x149a79){static get[a0_0x26b1b7(0x12b)](){return{'gqlInfo':Object};}[a0_0x26b1b7(0x136)](_0x289dab){const _0xa14a9b=a0_0x26b1b7;this[_0xa14a9b(0x122)]=_0x289dab[_0xa14a9b(0x140)];}async['fetchHandler']({page:_0xacec63=0x0,limit:_0x391387=0x0,sortings:_0x319b56=[],filters:_0x2febc7=[]}){const _0x4ddfc9=a0_0x26b1b7;if(this['is_activity'])return{'total':0x0,'records':this[_0x4ddfc9(0x12e)]||[]};if(!0x0===this[_0x4ddfc9(0x135)]&&(_0xacec63=0x0,_0x391387=0x0),this[_0x4ddfc9(0x128)]&&0x0==await this['beforeFetch']({'page':_0xacec63,'limit':_0x391387,'sortings':_0x319b56,'filters':_0x2febc7}))return;if(!this[_0x4ddfc9(0x130)])return{'total':0x0,'records':[]};let _0x29e301=ValueUtil[_0x4ddfc9(0x12c)](_0x2febc7)?await this[_0x4ddfc9(0x144)]?.[_0x4ddfc9(0x123)]()||[]:_0x2febc7,_0x4a784b=ValueUtil[_0x4ddfc9(0x147)](this[_0x4ddfc9(0x122)],'query','list_func'),_0x3d7695=ValueUtil['getParams'](this[_0x4ddfc9(0x122)],_0x4ddfc9(0x112),'filters'),_0x11e225=ValueUtil['getParams'](this[_0x4ddfc9(0x122)],_0x4ddfc9(0x112),_0x4ddfc9(0x14c));if(ValueUtil[_0x4ddfc9(0x116)](_0x3d7695)&&(_0x29e301=adjustFilters(_0x29e301,_0x3d7695)),_0x29e301[_0x4ddfc9(0x127)](...this[_0x4ddfc9(0x117)]()),this[_0x4ddfc9(0x125)]){let _0x1303b2=ValueUtil['getParams'](this[_0x4ddfc9(0x122)],_0x4ddfc9(0x112),_0x4ddfc9(0x11d));if(!ValueUtil[_0x4ddfc9(0x116)](_0x1303b2)||!ValueUtil[_0x4ddfc9(0x116)](this[_0x4ddfc9(0x11d)]))return{'total':0x0,'records':[]};_0x29e301=adjustFilters(_0x29e301,[{'name':_0x1303b2,'operator':'eq','value':this['parent_id']}]);}let _0x449cfa=Object[_0x4ddfc9(0x13d)](_0x11e225||{}),_0x4bce9b=MetaApi[_0x4ddfc9(0x11a)](this['gristConfigSet'][_0x4ddfc9(0x126)][_0x4ddfc9(0x11f)](_0x2aca36=>!_0x449cfa[_0x4ddfc9(0x13f)](_0x2aca36['name']))),_0xff3e56=await MetaApi[_0x4ddfc9(0x133)](_0x4a784b,_0x29e301,_0x319b56,_0xacec63,_0x391387,_0x4bce9b);if(this[_0x4ddfc9(0x114)]){let _0x51582b=await this[_0x4ddfc9(0x114)]({'page':_0xacec63,'limit':_0x391387,'sortings':_0x319b56,'filters':_0x2febc7},_0xff3e56);if(_0x51582b)return _0x51582b;}return ValueUtil[_0x4ddfc9(0x116)](_0x11e225)&&ValueUtil[_0x4ddfc9(0x116)](_0xff3e56)&&ValueUtil[_0x4ddfc9(0x116)](_0xff3e56[_0x4ddfc9(0x142)])&&_0xff3e56[_0x4ddfc9(0x142)][_0x4ddfc9(0x14d)](_0x2720fd=>(_0x449cfa[_0x4ddfc9(0x13b)](_0x2cf375=>{const _0x7580ed=_0x4ddfc9;_0x2720fd[_0x2cf375]=ValueUtil[_0x7580ed(0x147)](_0x2720fd,..._0x11e225[_0x2cf375][_0x7580ed(0x139)]('.'));}),_0x2720fd)),_0xff3e56;}[a0_0x26b1b7(0x117)](){const _0x2627b9=a0_0x26b1b7;if(0x0==this['isPage'])return[];let _0x3c6773=this[_0x2627b9(0x132)]?.[_0x2627b9(0x13e)]?this[_0x2627b9(0x132)][_0x2627b9(0x13e)]:{};if(!_0x3c6773[_0x2627b9(0x129)])return[];let _0x97aa39=_0x3c6773[_0x2627b9(0x129)],_0x57f276=JSON[_0x2627b9(0x12f)](_0x97aa39),_0x38c2cc=0x1==_0x57f276[_0x2627b9(0x148)]?'eq':'in',_0x440e3d={},_0x206b01=[];return Object[_0x2627b9(0x13d)](_0x57f276[0x0])['forEach'](_0x5f3822=>{_0x440e3d[_0x5f3822]={'name':_0x5f3822,'operator':_0x38c2cc,'value':'eq'===_0x38c2cc?_0x57f276[0x0][_0x5f3822]:[]};}),_0x57f276[_0x2627b9(0x148)]>0x1&&_0x57f276[_0x2627b9(0x13b)](_0x2858d6=>{const _0x1c6eae=_0x2627b9;Object[_0x1c6eae(0x13d)](_0x2858d6)[_0x1c6eae(0x13b)](_0x307011=>{const _0x55fa90=_0x1c6eae;_0x440e3d[_0x307011][_0x55fa90(0x143)][_0x55fa90(0x127)](_0x2858d6[_0x307011]);});}),Object[_0x2627b9(0x13d)](_0x440e3d)[_0x2627b9(0x13b)](_0x231cac=>{_0x206b01['push'](_0x440e3d[_0x231cac]);}),_0x206b01;}async[a0_0x26b1b7(0x12d)](_0x1ff4d3){const _0x44fa76=a0_0x26b1b7;if(this[_0x44fa76(0x145)])return this['dataSet']||{};let _0x23e7be=ValueUtil['getParams'](this['gqlInfo'],_0x44fa76(0x112),_0x44fa76(0x146)),_0x43b4c4=ValueUtil[_0x44fa76(0x147)](this[_0x44fa76(0x122)],'query',_0x44fa76(0x14c)),_0x1f6c70=Object['keys'](_0x43b4c4||{}),_0x2bbcbe=MetaApi[_0x44fa76(0x11a)]((this['gristConfigSet']?this['gristConfigSet']:{'columns':this['formConfigSet']})[_0x44fa76(0x126)]['filter'](_0x3a044f=>!_0x1f6c70['includes'](_0x3a044f[_0x44fa76(0x119)]))),_0x496b14=await MetaApi[_0x44fa76(0x12d)](_0x23e7be,_0x1ff4d3,_0x2bbcbe);return ValueUtil[_0x44fa76(0x116)](_0x43b4c4)&&ValueUtil[_0x44fa76(0x116)](_0x496b14)&&_0x1f6c70[_0x44fa76(0x13b)](_0x21fef8=>{const _0x1f334a=_0x44fa76;_0x496b14[_0x21fef8]=ValueUtil[_0x1f334a(0x147)](_0x496b14,..._0x43b4c4[_0x21fef8][_0x1f334a(0x139)]('.'));}),_0x496b14;}async[a0_0x26b1b7(0x115)](_0x295783){const _0xc61f9a=a0_0x26b1b7;let _0x4f9f27=ValueUtil[_0xc61f9a(0x147)](this[_0xc61f9a(0x122)],_0xc61f9a(0x149),_0xc61f9a(0x11b),_0xc61f9a(0x13a));return await MetaApi[_0xc61f9a(0x141)](_0x295783,_0x4f9f27);}async['updateMultiple'](_0x53c188){const _0x4e3d45=a0_0x26b1b7;let _0x2abde9=ValueUtil[_0x4e3d45(0x147)](this['gqlInfo'],_0x4e3d45(0x149),_0x4e3d45(0x14b),_0x4e3d45(0x13a)),_0x449de0=ValueUtil[_0x4e3d45(0x147)](this[_0x4e3d45(0x122)],_0x4e3d45(0x149),_0x4e3d45(0x14b),_0x4e3d45(0x137));if(ValueUtil[_0x4e3d45(0x116)](_0x449de0)&&(_0x449de0=_0x449de0[_0x4e3d45(0x14d)](_0xaf07e5=>_0xaf07e5['includes']('.')?_0xaf07e5[_0x4e3d45(0x139)]('.'):_0xaf07e5),_0x53c188=_0x53c188[_0x4e3d45(0x14d)](_0x17805b=>(_0x449de0['forEach'](_0x5b7eca=>{const _0x403dc1=_0x4e3d45;Array[_0x403dc1(0x13c)](_0x5b7eca)?delete _0x17805b[_0x5b7eca[0x0]][_0x5b7eca[0x1]]:delete _0x17805b[_0x5b7eca];}),_0x17805b))),this[_0x4e3d45(0x125)]&&ValueUtil[_0x4e3d45(0x116)](this[_0x4e3d45(0x11d)])){let _0x2da473=ValueUtil[_0x4e3d45(0x147)](this[_0x4e3d45(0x122)],_0x4e3d45(0x149),_0x4e3d45(0x14b),_0x4e3d45(0x11d));ValueUtil[_0x4e3d45(0x116)](_0x2da473)&&_0x53c188[_0x4e3d45(0x13b)](_0x7b1257=>{const _0x362704=_0x4e3d45;if(_0x2da473[_0x362704(0x13f)]('.')){let _0x4bc291=_0x2da473[_0x362704(0x139)]('.');_0x7b1257[_0x4bc291[0x0]]={},_0x7b1257[_0x4bc291[0x0]][_0x4bc291[0x1]]=this[_0x362704(0x11d)];}else _0x7b1257[_0x2da473]=this[_0x362704(0x11d)];});}return await MetaApi[_0x4e3d45(0x118)](_0x2abde9,_0x53c188);}};
@@ -1 +1 @@
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
+ const a0_0x382209=a0_0x4f2c;(function(_0x2f3e60,_0x1cdc87){const _0x2fdea8=a0_0x4f2c,_0x1cdeca=_0x2f3e60();while(!![]){try{const _0x362459=-parseInt(_0x2fdea8(0xf4))/0x1*(-parseInt(_0x2fdea8(0x10d))/0x2)+-parseInt(_0x2fdea8(0x109))/0x3*(-parseInt(_0x2fdea8(0xf5))/0x4)+parseInt(_0x2fdea8(0x101))/0x5*(parseInt(_0x2fdea8(0xfd))/0x6)+-parseInt(_0x2fdea8(0x102))/0x7*(-parseInt(_0x2fdea8(0x103))/0x8)+-parseInt(_0x2fdea8(0xf9))/0x9+-parseInt(_0x2fdea8(0xfb))/0xa*(parseInt(_0x2fdea8(0x105))/0xb)+-parseInt(_0x2fdea8(0x10f))/0xc;if(_0x362459===_0x1cdc87)break;else _0x1cdeca['push'](_0x1cdeca['shift']());}catch(_0x21ad61){_0x1cdeca['push'](_0x1cdeca['shift']());}}}(a0_0x15d1,0x284f8));import{MetaApi}from'../utils/meta-api';function a0_0x15d1(){const _0x13717c=['tabElements','tabRenderConfig','374067EzllfP','keys','20rGjyNz','currentTabKey','188814Sagwrt','pageInitialized','connectedCallback','getData','40LylLgo','198478FWDIZr','40HfpElW','clear','697367ECCTGh','getBasicTabHtml','tab','context','15uoqEqG','properties','getBasicTabStyles','getAndParseMenuMeta','2ocWWRi','activityDataSet','7455504UmgEuQ','forEach','parseBasicTabConfigs','length','styles','243699zBnfBM','254032ADTJhc','firstUpdated'];a0_0x15d1=function(){return _0x13717c;};return a0_0x15d1();}function a0_0x4f2c(_0x177aad,_0xc86430){const _0x15d1bb=a0_0x15d1();return a0_0x4f2c=function(_0x4f2cb5,_0x2c2180){_0x4f2cb5=_0x4f2cb5-0xf0;let _0x797328=_0x15d1bb[_0x4f2cb5];return _0x797328;},a0_0x4f2c(_0x177aad,_0xc86430);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x51e572=>class extends MetaButtonMixin(_0x51e572){static get[a0_0x382209(0xf3)](){const _0xbade6f=a0_0x382209;return MetaApi[_0xbade6f(0x10b)]();}static get[a0_0x382209(0x10a)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x382209(0x108)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x235d4a=a0_0x382209;this[_0x235d4a(0xfc)]=void 0x0,await this[_0x235d4a(0x10c)](),this['activityDataSet']&&(this['dataSet']=this[_0x235d4a(0x10e)]),super[_0x235d4a(0xff)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0xdd5842=a0_0x382209;super[_0xdd5842(0xf6)]&&await super[_0xdd5842(0xf6)]();}async['pageInitialized'](){const _0x107a7c=a0_0x382209;super[_0x107a7c(0xfe)]&&await super[_0x107a7c(0xfe)]();}['render'](){const _0x2f5d04=a0_0x382209;return MetaApi[_0x2f5d04(0x106)](this);}[a0_0x382209(0xf1)](_0x489660){const _0x5affd4=a0_0x382209;this[_0x5affd4(0xf8)]=_0x489660[_0x5affd4(0x107)],_0x489660['button']=[];}async['clear'](){const _0x13f200=a0_0x382209;if(this[_0x13f200(0xf7)]){let _0x3f7f2a=Object[_0x13f200(0xfa)](this[_0x13f200(0xf7)]);for(var _0x34b7da=0x0;_0x34b7da<_0x3f7f2a[_0x13f200(0xf2)];_0x34b7da++)await this[_0x13f200(0xf7)][_0x3f7f2a[_0x34b7da]][_0x13f200(0x104)]();}}[a0_0x382209(0x100)](){const _0x5247e6=a0_0x382209;let _0x6265c4={};return this[_0x5247e6(0xf7)]&&Object[_0x5247e6(0xfa)](this[_0x5247e6(0xf7)])[_0x5247e6(0xf0)](_0x45da51=>{const _0x27f9b2=_0x5247e6;_0x6265c4[_0x45da51]=this[_0x27f9b2(0xf7)][_0x45da51][_0x27f9b2(0x100)]();}),_0x6265c4;}};
@@ -1,18 +1,18 @@
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`
1
+ const a0_0x2fdf20=a0_0x49e3;(function(_0xc2d434,_0x32339d){const _0x5c4287=a0_0x49e3,_0x364869=_0xc2d434();while(!![]){try{const _0x27477a=parseInt(_0x5c4287(0xe2))/0x1*(parseInt(_0x5c4287(0xbc))/0x2)+-parseInt(_0x5c4287(0xb7))/0x3*(-parseInt(_0x5c4287(0xd6))/0x4)+-parseInt(_0x5c4287(0xff))/0x5*(-parseInt(_0x5c4287(0xad))/0x6)+parseInt(_0x5c4287(0xbe))/0x7*(parseInt(_0x5c4287(0xcd))/0x8)+-parseInt(_0x5c4287(0xef))/0x9+parseInt(_0x5c4287(0xe9))/0xa+parseInt(_0x5c4287(0xf9))/0xb*(parseInt(_0x5c4287(0x104))/0xc);if(_0x27477a===_0x32339d)break;else _0x364869['push'](_0x364869['shift']());}catch(_0xb45fa8){_0x364869['push'](_0x364869['shift']());}}}(a0_0x3b4f,0xb13a9));import a0_0x4e01e7 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';function a0_0x49e3(_0xb2e0f4,_0x5c78e2){const _0x3b4fe5=a0_0x3b4f();return a0_0x49e3=function(_0x49e367,_0x389007){_0x49e367=_0x49e367-0xa7;let _0x1de150=_0x3b4fe5[_0x49e367];return _0x1de150;},a0_0x49e3(_0xb2e0f4,_0x5c78e2);}import{MetaUiUtil}from'./../../utils/meta-ui-util';import{ValueUtil}from'./../../utils/value-util';import{TermsUtil}from'./../../utils/terms-util';function a0_0x3b4f(){const _0x2400ed=['delete','activity-state-deprecated','GRID','menu_type','state','4224krlQJT','searchByPagination','gridConfig','menuType','querySelector','bind','routing','isMobileEnv','showToast','render','3qcGqrp','grid_view_options','deprecated','meta_activity_list','getGristSelectorColumnConfig','230UCtdNV','custom-element','22757MWFnMh','assign','activity-state-released','install_activity_success','getGristCodeSelectorColumnConfig','grist','left','updateMultiple','meta-activity-list-page','pageInitialized','push','context','query','columns','ox-grist','584DciOvf','shadowRoot','like','customElements','install_activity','name','getSelectColumns','is_not_null','activity-state-draft','286872qhlMaU','showGraphqlException','menu','updated_at','gridMode','length','MENU_PAGE_TYPE','description','POPUP','post','getGristColumnConfig2','getGristGuttersConfig','3754FPatpH','connectedCallback','HIDDEN-PAGE','model','activityType','save','LIST','719620EMRjQH','getGristPagination50Config','string','\x22relation-menu\x22','center','patchesForUpdateMultiple','9521460HwYTMn','define','forEach','meta-activity-viewer-element','system_update','parse','template','tButton','updatedAt','tText','112002vKBQpM','meta-activity-writer-element','getBasicGristStyles','resource-object','SCREEN','errors','5885XnMrBG','tLabel','\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','info','draft','168kfgpIT','multiple','search','updater','CARD','fetchHandler','deploy','filter'];a0_0x3b4f=function(){return _0x2400ed;};return a0_0x3b4f();}import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get['styles'](){const _0x49fdc1=a0_0x49e3;return MetaApi[_0x49fdc1(0xfb)]();}get[a0_0x2fdf20(0xc9)](){const _0x1355d8=a0_0x2fdf20;return{'title':TermsUtil['tTitle'](_0x1355d8(0xba)),'actions':[{'title':TermsUtil[_0x1355d8(0xf6)](_0x1355d8(0xe7)),'action':this[_0x1355d8(0xe7)][_0x1355d8(0xb2)](this),...CommonButtonStyles[_0x1355d8(0xe7)]},{'title':TermsUtil[_0x1355d8(0xf6)](_0x1355d8(0xa8)),'action':this[_0x1355d8(0xa8)][_0x1355d8(0xb2)](this),...CommonButtonStyles[_0x1355d8(0xa8)]},{'title':TermsUtil[_0x1355d8(0xf6)](_0x1355d8(0xd1)),'action':this['deploy'][_0x1355d8(0xb2)](this),'icon':_0x1355d8(0xf3),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get[a0_0x2fdf20(0xc3)](){const _0x3f2267=a0_0x2fdf20;return this[_0x3f2267(0xce)][_0x3f2267(0xb1)](_0x3f2267(0xcc));}async[a0_0x2fdf20(0xe3)](){const _0x4a5ec5=a0_0x2fdf20,_0x2b32b0=[{'display':'','value':''},{'display':TermsUtil[_0x4a5ec5(0x100)](_0x4a5ec5(0xd5)),'value':_0x4a5ec5(0x103)},{'display':TermsUtil[_0x4a5ec5(0x100)](_0x4a5ec5(0xc0)),'value':'released'},{'display':TermsUtil['tLabel'](_0x4a5ec5(0xa9)),'value':_0x4a5ec5(0xb9)}];this[_0x4a5ec5(0xb8)]=[_0x4a5ec5(0xe8),_0x4a5ec5(0xaa),_0x4a5ec5(0x108)],this[_0x4a5ec5(0xda)]=MetaApi[_0x4a5ec5(0xb4)]()?_0x4a5ec5(0xe8):'GRID',this[_0x4a5ec5(0xaf)]={'option':{'view_mode':this['grid_view_options']},'rows':MetaApi['getGristSelectableConfig'](!0x0),'pagination':MetaApi[_0x4a5ec5(0xea)](),'sorters':[{'name':_0x4a5ec5(0xd2),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x4a5ec5(0xe1)](!0x0,!0x1),{'type':'string','name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0x4a5ec5(0xe0)](_0x4a5ec5(0xeb),_0x4a5ec5(0xd2),_0x4a5ec5(0xd2),_0x4a5ec5(0xc4),!0x0,!0x0,0xc8),MetaUiUtil[_0x4a5ec5(0xe0)]('string',_0x4a5ec5(0xdd),_0x4a5ec5(0xdd),_0x4a5ec5(0xc4),!0x0,!0x0,0x12c),MetaUiUtil[_0x4a5ec5(0xbb)](_0x4a5ec5(0xac),'status',_0x4a5ec5(0xed),!0x0,0x64,!0x1,_0x2b32b0),{'type':_0x4a5ec5(0xfc),'name':_0x4a5ec5(0xd8),'header':TermsUtil[_0x4a5ec5(0x100)](_0x4a5ec5(0xd8)),'record':{'editable':!0x0,'options':{'queryName':'menus','basicArgs':{'filters':[{'name':_0x4a5ec5(0xb0),'operator':'in','value':[_0x4a5ec5(0xfd),_0x4a5ec5(0xde),_0x4a5ec5(0xe4)]},{'name':_0x4a5ec5(0xb3),'operator':_0x4a5ec5(0xd4),'value':''},{'name':_0x4a5ec5(0xf5),'operator':_0x4a5ec5(0xd4),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':_0x4a5ec5(0xd2),'header':TermsUtil['tLabel'](_0x4a5ec5(0xd2)),'width':0xb9,'filter':_0x4a5ec5(0x106)},await MetaApi[_0x4a5ec5(0xc2)](_0x4a5ec5(0xb0),_0x4a5ec5(0xab),'center',!0x1,0x64,!0x1,_0x4a5ec5(0xdc)),MetaUiUtil['getGristColumnConfig2'](_0x4a5ec5(0xeb),'routing',_0x4a5ec5(0xb3),_0x4a5ec5(0xc4),!0x1,!0x1,0xc8)],'list':{'fields':[_0x4a5ec5(0xd2),_0x4a5ec5(0xb3)]},'nameField':_0x4a5ec5(0xb3)}},'width':0xeb},MetaUiUtil[_0x4a5ec5(0xe0)]('object',_0x4a5ec5(0x107),'updater',_0x4a5ec5(0xed),!0x1,!0x1,0x78),MetaUiUtil[_0x4a5ec5(0xe0)]('datetime',_0x4a5ec5(0xf7),_0x4a5ec5(0xd9),_0x4a5ec5(0xed),!0x1,!0x0,0xb4),{'name':_0x4a5ec5(0xe6),'hidden':!0x0},{'name':_0x4a5ec5(0x105),'hidden':!0x0},{'name':'startingType','hidden':!0x0}],'sorters':[{'name':_0x4a5ec5(0xd2),'desc':!0x1}]};let _0xc8fe9={'name':_0x4a5ec5(0xcf)};this[_0x4a5ec5(0xaf)][_0x4a5ec5(0xcb)][_0x4a5ec5(0xa7)](_0xdcf84d=>_0xc8fe9[_0xdcf84d['name']])['forEach'](_0x150433=>{const _0x333822=_0x4a5ec5;_0x150433['filter']=_0xc8fe9[_0x150433[_0x333822(0xd2)]];}),this[_0x4a5ec5(0xe3)]&&await super['connectedCallback']();}async[a0_0x2fdf20(0x109)]({page:_0xf3676d,limit:_0x4ac955,sorters:_0x12c22b=[],filters:_0x648295=[]}){const _0x1f9e06=a0_0x2fdf20;_0x648295[_0x1f9e06(0xc8)]({'name':_0x1f9e06(0xe5),'operator':_0x1f9e06(0xcf),'value':_0x1f9e06(0xec)});let _0x58c376=MetaApi[_0x1f9e06(0xd3)](this[_0x1f9e06(0xaf)]['columns'][_0x1f9e06(0xa7)](_0x3090f2=>_0x1f9e06(0xd8)!=_0x3090f2['name']));_0x58c376+=_0x1f9e06(0x101);let _0x37aa72=await MetaApi[_0x1f9e06(0xae)]('metaActivities',_0x648295,_0x12c22b,_0xf3676d,_0x4ac955,_0x58c376);return _0x37aa72['records'][_0x1f9e06(0xf1)](_0x3345e7=>{const _0x4cade9=_0x1f9e06;let _0x4f6cfd=_0x3345e7[_0x4cade9(0xe5)][_0x4cade9(0xa7)](_0x111f62=>'relation-menu'==_0x111f62[_0x4cade9(0xd2)]);_0x4f6cfd&&_0x4f6cfd[_0x4cade9(0xdb)]>0x0&&(_0x3345e7[_0x4cade9(0xd8)]=JSON[_0x4cade9(0xf4)](_0x4f6cfd[0x0][_0x4cade9(0xdd)])),delete _0x3345e7[_0x4cade9(0xe5)];}),_0x37aa72;}async[a0_0x2fdf20(0x10a)](){const _0x26df67=a0_0x2fdf20;try{var _0x49cc69=await client[_0x26df67(0xca)]({'query':a0_0x4e01e7`
2
2
  mutation {
3
3
  installActivityTemplate
4
4
  }
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`
5
+ `});if(!_0x49cc69[_0x26df67(0xfe)])return UiUtil[_0x26df67(0xb5)](_0x26df67(0x102),TermsUtil[_0x26df67(0xf8)](_0x26df67(0xc1))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x49cc69);}catch(_0x49a56b){ServiceUtil[_0x26df67(0xd7)](_0x49a56b);}}async['save'](){const _0xcf7c8b=a0_0x2fdf20;let _0x575183=ServiceUtil[_0xcf7c8b(0xee)](this[_0xcf7c8b(0xc3)]);if(ValueUtil['isNotEmpty'](_0x575183)){_0x575183[_0xcf7c8b(0xf1)](_0x48f2c9=>{const _0x249052=_0xcf7c8b;Object[_0x249052(0xbf)](_0x48f2c9,{'uiSource':_0x249052(0xfa),'uiType':'custom-element','viewSource':_0x249052(0xf2),'viewType':_0x249052(0xbd)}),_0x48f2c9['multiple']||(_0x48f2c9[_0x249052(0x105)]='single'),_0x48f2c9[_0x249052(0xe6)]||(_0x48f2c9[_0x249052(0xe6)]='task'),_0x48f2c9['startingType']||(_0x48f2c9['startingType']=_0x249052(0xdf));});let _0x429fb8=await ServiceUtil[_0xcf7c8b(0xc5)]('updateMultipleMetaActivity',_0x575183);if(_0x429fb8)return this[_0xcf7c8b(0xc3)]['fetch'](),_0x429fb8;}}async[a0_0x2fdf20(0xa8)](){await MetaApi['deleteListByGristSelected'](this['grist'],'deleteMetaActivities');}async[a0_0x2fdf20(0xc7)](){}[a0_0x2fdf20(0xb6)](){const _0x16e71e=a0_0x2fdf20;return html`
6
6
  <ox-grist
7
7
  auto-fetch
8
8
  id="ox-grist"
9
- .config=${this[_0x54d1fd(0x103)]}
10
- .mode=${this[_0x54d1fd(0x139)]}
11
- .fetchHandler=${this['fetchHandler'][_0x54d1fd(0xfb)](this)}>
9
+ .config=${this[_0x16e71e(0xaf)]}
10
+ .mode=${this['gridMode']}
11
+ .fetchHandler=${this[_0x16e71e(0x109)][_0x16e71e(0xb2)](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[a0_0x2dd558(0xf3)]['define'](a0_0x2dd558(0x149),MetaActivityListPage);
18
+ `;}}window[a0_0x2fdf20(0xd0)][a0_0x2fdf20(0xf0)](a0_0x2fdf20(0xc6),MetaActivityListPage);