@things-factory/meta-ui 6.0.62 → 6.0.67

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 (56) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +1 -1
  3. package/client/mixin/meta-base-mixin.js +1 -1
  4. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  5. package/client/mixin/meta-button-mixin.js +1 -1
  6. package/client/mixin/meta-form-mixin.js +1 -1
  7. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  8. package/client/mixin/meta-master-detail-mixin.js +1 -1
  9. package/client/mixin/meta-service-mixin.js +1 -1
  10. package/client/mixin/meta-tab-mixin.js +1 -1
  11. package/client/pages/activity/meta-activity-list-page.js +51 -0
  12. package/client/pages/activity/meta-activity-viewer-element.js +1 -1
  13. package/client/pages/activity/meta-activity-writer-element.js +2 -2
  14. package/client/pages/entity/config-entity.js +28 -28
  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 +6 -6
  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-page.js +1 -1
  25. package/client/pages/meta-master-detail-element.js +1 -1
  26. package/client/pages/meta-master-detail-page.js +1 -1
  27. package/client/pages/meta-tab-element.js +1 -1
  28. package/client/pages/personalize/personal-column-selector.js +11 -11
  29. package/client/pages/terms/config-terminology.js +6 -6
  30. package/client/reducers/main.js +1 -1
  31. package/client/route.js +4 -0
  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 +79 -79
  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 +2 -2
  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 +1 -1
  47. package/server/constants/error-code.js +1 -1
  48. package/server/errors/license-error.js +1 -1
  49. package/server/middlewares/index.js +2 -1
  50. package/server/routes.js +1 -1
  51. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  52. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  53. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  54. package/server/service/grid-personalize/grid-personalize.js +1 -1
  55. package/server/service/meta-secret/meta-resolver.js +1 -1
  56. package/server/service/set-translations/set-translation-resolver.js +1 -1
@@ -1,7 +1,7 @@
1
- function a0_0x5189(){const _0x49a917=['portrait','24629PbbkAV','query','2aJzIHE','rank','748MIEjLJ','dynamic-menu-part','FRONT_END','dispatch','active','querySelector','9230096guAPbV','appName','meta[name=\x22application-name\x22]','data','dynamic-menu','9502178XTJJxY','value','686130eypfqK','6303236dfBckt','NAVBAR','landscape','lite-menu-part','1767240Nszern','HEADERBAR','3oqYNQG','get','content','UPDATE_META_MENU_TEMPLATE','9IxcyKK','39GJoHgA','24MrYFgM','11410CznUJl'];a0_0x5189=function(){return _0x49a917;};return a0_0x5189();}const a0_0x227d21=a0_0x5ff3;(function(_0x1cb004,_0x220e1e){const _0x92a5b6=a0_0x5ff3,_0x2ecf57=_0x1cb004();while(!![]){try{const _0x3980a1=parseInt(_0x92a5b6(0x13d))/0x1*(-parseInt(_0x92a5b6(0x13f))/0x2)+parseInt(_0x92a5b6(0x155))/0x3*(-parseInt(_0x92a5b6(0x14f))/0x4)+parseInt(_0x92a5b6(0x14e))/0x5*(-parseInt(_0x92a5b6(0x13a))/0x6)+parseInt(_0x92a5b6(0x14c))/0x7+-parseInt(_0x92a5b6(0x147))/0x8*(-parseInt(_0x92a5b6(0x138))/0x9)+-parseInt(_0x92a5b6(0x13b))/0xa*(-parseInt(_0x92a5b6(0x141))/0xb)+-parseInt(_0x92a5b6(0x153))/0xc*(-parseInt(_0x92a5b6(0x139))/0xd);if(_0x3980a1===_0x220e1e)break;else _0x2ecf57['push'](_0x2ecf57['shift']());}catch(_0x11a0b2){_0x2ecf57['push'](_0x2ecf57['shift']());}}}(a0_0x5189,0xd7278));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x21f4e3 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x5ff3(_0x5be157,_0x55568e){const _0x51891c=a0_0x5189();return a0_0x5ff3=function(_0x5ff3b0,_0x53a65b){_0x5ff3b0=_0x5ff3b0-0x135;let _0x2d2526=_0x51891c[_0x5ff3b0];return _0x2d2526;},a0_0x5ff3(_0x5be157,_0x55568e);}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='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE=a0_0x227d21(0x137);var HAMBURGER;export async function setupMenuPart(_0x4ae29e){const _0x1c898b=a0_0x227d21;var {hovering:_0x228539=!!isMobileDevice(),slotTemplate:_0x49c103,portraitSlotTemplate:_0x36d598,landscapeSlotTemplate:_0xf016e8,position:_0x226afb=VIEWPART_POSITION[_0x1c898b(0x150)]}=_0x4ae29e||{};const {hovering:_0x33aa3a}=(await clientSettingStore[_0x1c898b(0x135)](_0x1c898b(0x14b)))?.[_0x1c898b(0x14d)]||{};void 0x0!==_0x33aa3a&&(_0x228539=_0x33aa3a);const _0x17137d=_0x226afb==VIEWPART_POSITION[_0x1c898b(0x154)]?_0x1c898b(0x151):_0x1c898b(0x13c),_0x1bbed9=(_0x1c898b(0x151)==_0x17137d?_0xf016e8:_0x36d598)||_0x49c103||html``;appendViewpart({'name':_0x1c898b(0x152),'viewpart':{'show':!_0x228539,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x228539,'template':html`<dynamic-menu-part .orientation=${_0x17137d}>${_0x1bbed9}</dynamic-menu-part>`},'position':_0x226afb}),_0x228539&&_0x1c898b(0x13c)==_0x17137d?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
- <mwc-icon @click=${_0x599b54=>toggleOverlay(_0x1c898b(0x142),{'backdrop':!0x0})}
1
+ const a0_0x2e3df2=a0_0x2586;(function(_0x2364e5,_0x1932bc){const _0xea8f3d=a0_0x2586,_0x1f8f2c=_0x2364e5();while(!![]){try{const _0x5e8fd5=parseInt(_0xea8f3d(0x1b9))/0x1*(-parseInt(_0xea8f3d(0x1bc))/0x2)+-parseInt(_0xea8f3d(0x1ba))/0x3*(-parseInt(_0xea8f3d(0x1b4))/0x4)+-parseInt(_0xea8f3d(0x1ae))/0x5*(-parseInt(_0xea8f3d(0x1c9))/0x6)+parseInt(_0xea8f3d(0x1c0))/0x7*(parseInt(_0xea8f3d(0x1ca))/0x8)+-parseInt(_0xea8f3d(0x1bd))/0x9+-parseInt(_0xea8f3d(0x1c5))/0xa*(-parseInt(_0xea8f3d(0x1b6))/0xb)+parseInt(_0xea8f3d(0x1c8))/0xc;if(_0x5e8fd5===_0x1932bc)break;else _0x1f8f2c['push'](_0x1f8f2c['shift']());}catch(_0x5133b4){_0x1f8f2c['push'](_0x1f8f2c['shift']());}}}(a0_0x851b,0xea76f));import'../viewparts/dynamic-menu-part';function a0_0x2586(_0x3424e0,_0x5f368c){const _0x851b6e=a0_0x851b();return a0_0x2586=function(_0x258690,_0x1c8d63){_0x258690=_0x258690-0x1ae;let _0xd9cd82=_0x851b6e[_0x258690];return _0xd9cd82;},a0_0x2586(_0x3424e0,_0x5f368c);}import'@material/mwc-icon';import a0_0x1c0351 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_0x2e3df2(0x1c7);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;function a0_0x851b(){const _0x2d0efe=['UPDATE_META_UI','10874376DaEfSw','4378512yubipO','1019944IFhVoO','querySelector','5hHfvxH','items','lite-menu-part','data','content','meta[name=\x22application-name\x22]','162188MNPkiV','appName','13316303gZEVHT','filter','dispatch','269609QVsiOu','3ctKWRh','active','4JHZkPm','13634802YcjqKl','dynamic-menu','portrait','7NSNWHO','landscape','rank','NAVBAR','get','10MoPuxk','HEADERBAR'];a0_0x851b=function(){return _0x2d0efe;};return a0_0x851b();}export async function setupMenuPart(_0x215917){const _0x833215=a0_0x2e3df2;var {hovering:_0x45c6c5=!!isMobileDevice(),slotTemplate:_0x30fca1,portraitSlotTemplate:_0x4f68c9,landscapeSlotTemplate:_0x3e6ab3,position:_0x31e30d=VIEWPART_POSITION[_0x833215(0x1c3)]}=_0x215917||{};const {hovering:_0x31e59b}=(await clientSettingStore[_0x833215(0x1c4)](_0x833215(0x1be)))?.['value']||{};void 0x0!==_0x31e59b&&(_0x45c6c5=_0x31e59b);const _0x470c26=_0x31e30d==VIEWPART_POSITION[_0x833215(0x1c6)]?_0x833215(0x1c1):'portrait',_0x3baa9a=(_0x833215(0x1c1)==_0x470c26?_0x3e6ab3:_0x4f68c9)||_0x30fca1||html``;appendViewpart({'name':_0x833215(0x1b0),'viewpart':{'show':!_0x45c6c5,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x45c6c5,'template':html`<dynamic-menu-part .orientation=${_0x470c26}>${_0x3baa9a}</dynamic-menu-part>`},'position':_0x31e30d}),_0x45c6c5&&_0x833215(0x1bf)==_0x470c26?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
+ <mwc-icon @click=${_0x389d07=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x1c898b(0x143)]},store[_0x1c898b(0x144)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1c898b(0x144)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x11a252){const _0x56d2fb=a0_0x227d21;var _0x519ae7=document[_0x56d2fb(0x146)](_0x56d2fb(0x149))?.[_0x56d2fb(0x136)],_0x51fbd1=(await client[_0x56d2fb(0x13e)]({'query':a0_0x21f4e3`
4
+ `,'position':TOOL_POSITION['FRONT_END']},store[_0x833215(0x1b8)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x833215(0x1b8)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x226dfc){const _0x42e425=a0_0x2e3df2;var _0x1cfe5a=document[_0x42e425(0x1cb)](_0x42e425(0x1b3))?.[_0x42e425(0x1b2)],_0x1ecf04=(await client['query']({'query':a0_0x1c0351`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ function a0_0x5189(){const _0x49a917=['portrait','24629PbbkAV','query','2aJzIHE'
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x56d2fb(0x145),'operator':'eq','value':!0x0},{'name':_0x56d2fb(0x148),'operator':'in','value':['',_0x519ae7]}],'sortings':[{'name':_0x56d2fb(0x140),'desc':!0x1}]}}))[_0x56d2fb(0x14a)]['liteMenus']['items'];store[_0x56d2fb(0x144)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x51fbd1['filter'](_0xa433b4=>!_0xa433b4[_0x56d2fb(0x148)]||_0xa433b4[_0x56d2fb(0x148)]===_0x519ae7),'template':_0x11a252});}
23
+ `,'variables':{'filters':[{'name':_0x42e425(0x1bb),'operator':'eq','value':!0x0},{'name':_0x42e425(0x1b5),'operator':'in','value':['',_0x1cfe5a]}],'sortings':[{'name':_0x42e425(0x1c2),'desc':!0x1}]}}))[_0x42e425(0x1b1)]['liteMenus'][_0x42e425(0x1af)];store[_0x42e425(0x1b8)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1ecf04[_0x42e425(0x1b7)](_0xeb9871=>!_0xeb9871[_0x42e425(0x1b5)]||_0xeb9871[_0x42e425(0x1b5)]===_0x1cfe5a),'template':_0x226dfc});}
@@ -91,7 +91,7 @@ export default function bootstrap() {
91
91
  icon: html`<mwc-icon>work</mwc-icon>`,
92
92
  name: html`<ox-i18n msgid="title.activity_list"></ox-i18n>`,
93
93
  action: () => {
94
- navigate('activity-list')
94
+ navigate('meta-activity-list')
95
95
  }
96
96
  }
97
97
  })
@@ -1 +1 @@
1
- const a0_0x21afa4=a0_0x56a9;(function(_0x477d3e,_0x11a244){const _0x3c3dd7=a0_0x56a9,_0x3f44ef=_0x477d3e();while(!![]){try{const _0x4ba4c1=-parseInt(_0x3c3dd7(0x110))/0x1*(-parseInt(_0x3c3dd7(0x11f))/0x2)+-parseInt(_0x3c3dd7(0x10c))/0x3*(parseInt(_0x3c3dd7(0x106))/0x4)+-parseInt(_0x3c3dd7(0x117))/0x5*(-parseInt(_0x3c3dd7(0x118))/0x6)+parseInt(_0x3c3dd7(0x102))/0x7+parseInt(_0x3c3dd7(0xfe))/0x8*(parseInt(_0x3c3dd7(0x120))/0x9)+parseInt(_0x3c3dd7(0x128))/0xa*(-parseInt(_0x3c3dd7(0x119))/0xb)+-parseInt(_0x3c3dd7(0x11b))/0xc;if(_0x4ba4c1===_0x11a244)break;else _0x3f44ef['push'](_0x3f44ef['shift']());}catch(_0x4e3a3f){_0x3f44ef['push'](_0x3f44ef['shift']());}}}(a0_0x20b0,0xd5886));import{MetaApi}from'./../utils/meta-api';function a0_0x56a9(_0x157080,_0x1e76ed){const _0x20b0d8=a0_0x20b0();return a0_0x56a9=function(_0x56a9b8,_0xc6b4){_0x56a9b8=_0x56a9b8-0xfd;let _0x11f0c1=_0x20b0d8[_0x56a9b8];return _0x11f0c1;},a0_0x56a9(_0x157080,_0x1e76ed);}function a0_0x20b0(){const _0x5da7c5=['3UeLkyY','name','menuInfo','is_detail','12161RPsoGw','parseBasicTabConfigs','tTitle','fetch','is_popup','isDetail','isPage','3434465UysdRw','6dMACKW','88QxKBTe','parseBasicFormConfigs','4705872UhdZvh','isEmpty','split','callScenario','242LVKEEE','63fHqmFp','grist','openDynamicPopup','menu','filterForm','getMenuMeta','active','title_detail','1463500RjioyU','isElement','320888qXjYLU','parseBasicGridConfigs','lifecycle','after','5710565JXixQL','isNotEmpty','parseBasicServiceConfigs','executeCallScenarioButtonClick','3269440bkBqmy','params','fetchHandler','errors','excuteOpenPopupButtonClick','getParams'];a0_0x20b0=function(){return _0x5da7c5;};return a0_0x20b0();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x473801=>class extends _0x473801{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x3cec26=>Boolean(_0x3cec26)},'is_popup':{'type':Boolean,'converter':_0x39997c=>Boolean(_0x39997c)}};}get[a0_0x21afa4(0xfd)](){return!0x0===this['is_detail']||!0x0===this['is_popup'];}get[a0_0x21afa4(0x115)](){const _0x37e93c=a0_0x21afa4;return!ValueUtil[_0x37e93c(0x11c)](this[_0x37e93c(0x10f)])&&this['is_detail'];}async['pageUpdated'](_0x5ad968,_0x37a53f,_0xd61c77){const _0x2598ec=a0_0x21afa4;let _0x6d3c15=this[_0x2598ec(0x100)]?.['params']?this['lifecycle'][_0x2598ec(0x107)]:{};this['isPage']&&this['active']&&0x0==_0xd61c77[_0x2598ec(0x126)]&&ValueUtil[_0x2598ec(0x103)](_0x6d3c15)&&this[_0x2598ec(0x113)]();}get['isPopup'](){const _0x14c02d=a0_0x21afa4;return!ValueUtil['isEmpty'](this[_0x14c02d(0x114)])&&this['is_popup'];}get[a0_0x21afa4(0x116)](){const _0x2cde4d=a0_0x21afa4;return!this['is_detail']&&!this[_0x2cde4d(0x114)];}async['getAndParseMenuMeta'](){const _0x46ae4a=a0_0x21afa4;let _0xd0306e=await MetaApi[_0x46ae4a(0x125)](this);_0xd0306e&&(this[_0x46ae4a(0x10e)]=_0xd0306e[_0x46ae4a(0x123)],this[_0x46ae4a(0xff)]&&this[_0x46ae4a(0xff)](_0xd0306e),this[_0x46ae4a(0x104)]&&this[_0x46ae4a(0x104)](_0xd0306e),this[_0x46ae4a(0x11a)]&&this[_0x46ae4a(0x11a)](_0xd0306e),this['parseBasicTabConfigs']&&this[_0x46ae4a(0x111)](_0xd0306e),this['parseBasicButtonConfigs']&&this['parseBasicButtonConfigs'](_0xd0306e),this['etcConfig']=_0xd0306e['etc']);}async[a0_0x21afa4(0x113)](){const _0x367fc2=a0_0x21afa4;ValueUtil[_0x367fc2(0x103)](this['grist'])?this[_0x367fc2(0x121)][_0x367fc2(0x113)]():(ValueUtil['isNotEmpty'](this[_0x367fc2(0x124)])||this['fetchHandler'])&&await this[_0x367fc2(0x108)]();}async[a0_0x21afa4(0x10a)](_0xd208f9,_0x8b934,_0x60caae){const _0x48af3d=a0_0x21afa4;let _0x3ca984=TermsUtil[_0x48af3d(0x112)](_0xd208f9['title']);ValueUtil[_0x48af3d(0x103)](_0xd208f9[_0x48af3d(0x127)])&&(_0x3ca984=_0x3ca984+'-'+ValueUtil[_0x48af3d(0x10b)](_0x8b934,..._0xd208f9[_0x48af3d(0x127)][_0x48af3d(0x11d)]('.'))),MetaApi[_0x48af3d(0x122)](_0x3ca984,_0xd208f9,_0x8b934,_0x60caae);}async[a0_0x21afa4(0x105)](_0x5b401f,_0x130292,_0x4de0b8){const _0x482433=a0_0x21afa4;let _0x10d1c4=await MetaApi[_0x482433(0x11e)](_0x5b401f[_0x482433(0x10d)],_0x5b401f[_0x482433(0x10d)],_0x130292);!0x1!==_0x10d1c4&&!_0x10d1c4[_0x482433(0x109)]&&ValueUtil[_0x482433(0x103)](_0x5b401f[_0x482433(0x101)])&&_0x4de0b8();}['setParentId'](_0x9b6478){const _0x423140=a0_0x21afa4;this['parent_id']=_0x9b6478,this[_0x423140(0x113)]();}};
1
+ function a0_0x25d5(_0xaddc02,_0x111d89){const _0x5c1993=a0_0x5c19();return a0_0x25d5=function(_0x25d587,_0x22f790){_0x25d587=_0x25d587-0x1ab;let _0x3aa020=_0x5c1993[_0x25d587];return _0x3aa020;},a0_0x25d5(_0xaddc02,_0x111d89);}const a0_0x59a72d=a0_0x25d5;(function(_0x212133,_0x3c5a54){const _0x202286=a0_0x25d5,_0x4afbf8=_0x212133();while(!![]){try{const _0x597415=parseInt(_0x202286(0x1d7))/0x1+-parseInt(_0x202286(0x1bb))/0x2*(parseInt(_0x202286(0x1cc))/0x3)+parseInt(_0x202286(0x1bc))/0x4+-parseInt(_0x202286(0x1b9))/0x5*(-parseInt(_0x202286(0x1ae))/0x6)+parseInt(_0x202286(0x1d6))/0x7*(parseInt(_0x202286(0x1ab))/0x8)+parseInt(_0x202286(0x1cd))/0x9+-parseInt(_0x202286(0x1d2))/0xa;if(_0x597415===_0x3c5a54)break;else _0x4afbf8['push'](_0x4afbf8['shift']());}catch(_0x55ea2e){_0x4afbf8['push'](_0x4afbf8['shift']());}}}(a0_0x5c19,0xa1ce3));import{MetaApi}from'./../utils/meta-api';function a0_0x5c19(){const _0x2a2a77=['setParentId','callScenario','6173750AJeYZw','parseBasicTabConfigs','title_detail','params','7LQYjgW','104788FdJPtg','isPage','title','menuInfo','487624rpwPYV','is_popup','filterForm','5052lCALqz','name','pageUpdated','properties','getAndParseMenuMeta','getMenuMeta','getParams','isNotEmpty','excuteOpenPopupButtonClick','active','tTitle','3710ZbjrYU','executeCallScenarioButtonClick','358916ZGmUCe','403604eWihBt','parseBasicFormConfigs','fetch','fetchHandler','etc','split','openDynamicPopup','parseBasicGridConfigs','is_detail','errors','grist','isEmpty','isPopup','isElement','parseBasicServiceConfigs','parseBasicButtonConfigs','6AzDgmd','6728760PNClef','menu','isDetail'];a0_0x5c19=function(){return _0x2a2a77;};return a0_0x5c19();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x6f2ca6=>class extends _0x6f2ca6{static get[a0_0x59a72d(0x1b1)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x561636=>Boolean(_0x561636)},'is_popup':{'type':Boolean,'converter':_0x13a332=>Boolean(_0x13a332)}};}get[a0_0x59a72d(0x1c9)](){const _0x5ac237=a0_0x59a72d;return!0x0===this[_0x5ac237(0x1c4)]||!0x0===this['is_popup'];}get[a0_0x59a72d(0x1cf)](){const _0x56bb49=a0_0x59a72d;return!ValueUtil[_0x56bb49(0x1c7)](this['is_detail'])&&this[_0x56bb49(0x1c4)];}async[a0_0x59a72d(0x1b0)](_0x463e45,_0x3b8d61,_0x2a2fad){const _0x32746a=a0_0x59a72d;let _0x2d5364=this['lifecycle']?.[_0x32746a(0x1d5)]?this['lifecycle'][_0x32746a(0x1d5)]:{};this[_0x32746a(0x1d8)]&&this[_0x32746a(0x1b7)]&&0x0==_0x2a2fad[_0x32746a(0x1b7)]&&ValueUtil[_0x32746a(0x1b5)](_0x2d5364)&&this[_0x32746a(0x1be)]();}get[a0_0x59a72d(0x1c8)](){const _0x3e3b92=a0_0x59a72d;return!ValueUtil[_0x3e3b92(0x1c7)](this[_0x3e3b92(0x1ac)])&&this[_0x3e3b92(0x1ac)];}get['isPage'](){const _0x29ad72=a0_0x59a72d;return!this[_0x29ad72(0x1c4)]&&!this[_0x29ad72(0x1ac)];}async[a0_0x59a72d(0x1b2)](){const _0x3e6cc2=a0_0x59a72d;let _0xb9f697=await MetaApi[_0x3e6cc2(0x1b3)](this);_0xb9f697&&(this[_0x3e6cc2(0x1da)]=_0xb9f697[_0x3e6cc2(0x1ce)],this[_0x3e6cc2(0x1c3)]&&this[_0x3e6cc2(0x1c3)](_0xb9f697),this['parseBasicServiceConfigs']&&this[_0x3e6cc2(0x1ca)](_0xb9f697),this[_0x3e6cc2(0x1bd)]&&this[_0x3e6cc2(0x1bd)](_0xb9f697),this['parseBasicTabConfigs']&&this[_0x3e6cc2(0x1d3)](_0xb9f697),this[_0x3e6cc2(0x1cb)]&&this['parseBasicButtonConfigs'](_0xb9f697),this['etcConfig']=_0xb9f697[_0x3e6cc2(0x1c0)]);}async['fetch'](){const _0x327f0a=a0_0x59a72d;ValueUtil['isNotEmpty'](this[_0x327f0a(0x1c6)])?this[_0x327f0a(0x1c6)][_0x327f0a(0x1be)]():(ValueUtil['isNotEmpty'](this[_0x327f0a(0x1ad)])||this[_0x327f0a(0x1bf)])&&await this['fetchHandler']();}async[a0_0x59a72d(0x1b6)](_0x300b63,_0x5eeebf,_0x12fcf4){const _0x3f308e=a0_0x59a72d;let _0x3d252b=TermsUtil[_0x3f308e(0x1b8)](_0x300b63[_0x3f308e(0x1d9)]);ValueUtil[_0x3f308e(0x1b5)](_0x300b63[_0x3f308e(0x1d4)])&&(_0x3d252b=_0x3d252b+'-'+ValueUtil[_0x3f308e(0x1b4)](_0x5eeebf,..._0x300b63[_0x3f308e(0x1d4)][_0x3f308e(0x1c1)]('.'))),MetaApi[_0x3f308e(0x1c2)](_0x3d252b,_0x300b63,_0x5eeebf,_0x12fcf4);}async[a0_0x59a72d(0x1ba)](_0x324c07,_0x284a4c,_0x12b395){const _0xcbe8a9=a0_0x59a72d;let _0x430887=await MetaApi[_0xcbe8a9(0x1d1)](_0x324c07['name'],_0x324c07[_0xcbe8a9(0x1af)],_0x284a4c);!0x1!==_0x430887&&!_0x430887[_0xcbe8a9(0x1c5)]&&ValueUtil[_0xcbe8a9(0x1b5)](_0x324c07['after'])&&_0x12b395();}[a0_0x59a72d(0x1d0)](_0x2e87cd){const _0x59cb9b=a0_0x59a72d;this['parent_id']=_0x2e87cd,this[_0x59cb9b(0x1be)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0x4dfde1=a0_0xfbb6;(function(_0x5cbe2f,_0x4d2b38){const _0x22ec77=a0_0xfbb6,_0x5db635=_0x5cbe2f();while(!![]){try{const _0x4effe1=-parseInt(_0x22ec77(0xb4))/0x1+parseInt(_0x22ec77(0xb7))/0x2*(parseInt(_0x22ec77(0x92))/0x3)+-parseInt(_0x22ec77(0xbd))/0x4+-parseInt(_0x22ec77(0xa1))/0x5*(parseInt(_0x22ec77(0xa5))/0x6)+parseInt(_0x22ec77(0xa9))/0x7+-parseInt(_0x22ec77(0xa6))/0x8+parseInt(_0x22ec77(0xb6))/0x9*(parseInt(_0x22ec77(0x96))/0xa);if(_0x4effe1===_0x4d2b38)break;else _0x5db635['push'](_0x5db635['shift']());}catch(_0x4544f3){_0x5db635['push'](_0x5db635['shift']());}}}(a0_0x2b98,0x5e177));import{html}from'lit';function a0_0xfbb6(_0x3ad124,_0x3d9d02){const _0x2b9823=a0_0x2b98();return a0_0xfbb6=function(_0xfbb6c2,_0x5054ae){_0xfbb6c2=_0xfbb6c2-0x8d;let _0x333819=_0x2b9823[_0xfbb6c2];return _0x333819;},a0_0xfbb6(_0x3ad124,_0x3d9d02);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x42bd6e=>class extends MetaButtonMixin(_0x42bd6e){static get[a0_0x4dfde1(0xab)](){const _0x1f170d=a0_0x4dfde1;return MetaApi[_0x1f170d(0x90)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x4dfde1(0x97)](){const _0x1fc06c=a0_0x4dfde1;return this[_0x1fc06c(0xbf)]?.['querySelector'](this[_0x1fc06c(0xbe)]);}get[a0_0x4dfde1(0x9e)](){const _0x2cb49d=a0_0x4dfde1;return this[_0x2cb49d(0x9c)]?.[_0x2cb49d(0xc0)](this[_0x2cb49d(0x9d)]);}get['context'](){const _0x1aa45e=a0_0x4dfde1;return MetaUiUtil[_0x1aa45e(0x9f)](this);}async[a0_0x4dfde1(0xb3)](){const _0x46e7c5=a0_0x4dfde1;this[_0x46e7c5(0xbe)]=_0x46e7c5(0xb5),this[_0x46e7c5(0x9d)]=_0x46e7c5(0xb0),await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0x46e7c5(0xbb)](),super[_0x46e7c5(0xb3)]&&await super[_0x46e7c5(0xb3)]();}async['firstUpdated'](){super['firstUpdated']&&await super['firstUpdated']();}async[a0_0x4dfde1(0x9a)](){const _0x5a1061=a0_0x4dfde1;this[_0x5a1061(0xbc)]&&await this[_0x5a1061(0xbb)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x4dfde1(0xaf)](){const _0x10ca45=a0_0x4dfde1;return html`
2
- ${MetaApi[_0x10ca45(0xa3)](this)}
3
- ${this[_0x10ca45(0xbc)]?html``:MetaUiUtil[_0x10ca45(0xb2)](this)}
4
- `;}[a0_0x4dfde1(0xaa)](_0x3201c8){const _0x1e1212=a0_0x4dfde1;this[_0x1e1212(0xb8)]=_0x3201c8[_0x1e1212(0xa7)],this['gridColumnConfig']=_0x3201c8['grid_column'],this[_0x1e1212(0x93)]=_0x3201c8[_0x1e1212(0xa2)];}async['parseGristConfigs'](){const _0x54752c=a0_0x4dfde1;this['gristConfigSet']=await MetaApi[_0x54752c(0x94)](this);}async['fetch'](){const _0x403cb8=a0_0x4dfde1;await this[_0x403cb8(0x97)][_0x403cb8(0x99)]();}async[a0_0x4dfde1(0x9b)](){const _0x3d2c97=a0_0x4dfde1;let _0x27123b=MetaApi[_0x3d2c97(0xae)](this[_0x3d2c97(0x97)]);!!ValueUtil['isNotEmpty'](_0x27123b)&&await this['updateMultiple'](_0x27123b)&&this['fetch']();}async[a0_0x4dfde1(0xad)](){const _0x21bbd5=a0_0x4dfde1;let _0x1d27c6=MetaApi['getSelectedIdList'](this[_0x21bbd5(0x97)],!0x0);return ValueUtil[_0x21bbd5(0x95)](_0x1d27c6)?await this[_0x21bbd5(0xa0)](_0x1d27c6[0x0]):{};}async[a0_0x4dfde1(0x91)](){const _0x40e77c=a0_0x4dfde1;let _0x54b156=MetaApi[_0x40e77c(0xa8)](this['grist'],!0x0);!!ValueUtil['isNotEmpty'](_0x54b156)&&await this['deleteByIds'](_0x54b156)&&this['fetch']();}async[a0_0x4dfde1(0x98)](){const _0x2abaa9=a0_0x4dfde1;let _0x4e7fb9=TermsUtil[_0x2abaa9(0xb9)](ValueUtil[_0x2abaa9(0x8d)](this[_0x2abaa9(0xac)],_0x2abaa9(0xa4)));return await MetaApi[_0x2abaa9(0x8e)](this[_0x2abaa9(0xba)],_0x4e7fb9,this[_0x2abaa9(0x97)]);}async[a0_0x4dfde1(0xb1)](){}async[a0_0x4dfde1(0x8f)](){const _0xa2a87c=a0_0x4dfde1;this[_0xa2a87c(0x97)]&&(this['grist']['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};function a0_0x2b98(){const _0xa75918=['shadowRoot','filterFormId','filterForm','getContextObject','findOne','665CjTtWh','search','getBasicGristHtml','title','22974RsLpaz','3915976iCTaMt','grid','getSelectedIdList','3213994XwsuxE','parseBasicGridConfigs','styles','menuInfo','find','patchesForUpdateMultiple','render','ox-filters-form','import','getButtonContainer','connectedCallback','226236BamCTO','ox-grist','27nwNXbB','193558qnnUkq','gridConfig','tTitle','isElement','parseGristConfigs','isPage','2531480DWPOJD','gristId','renderRoot','querySelector','getParams','exportableData','clear','getBasicGristStyles','delete','3bsfhxN','searchConfig','parseGridConfigSet','isNotEmpty','5624460AzpYTx','grist','export','fetch','pageInitialized','save'];a0_0x2b98=function(){return _0xa75918;};return a0_0x2b98();}
1
+ function a0_0x3752(_0x25d9bb,_0x4f9a23){const _0x2ab4fe=a0_0x2ab4();return a0_0x3752=function(_0x3752f5,_0x186e36){_0x3752f5=_0x3752f5-0x181;let _0x382ed0=_0x2ab4fe[_0x3752f5];return _0x382ed0;},a0_0x3752(_0x25d9bb,_0x4f9a23);}const a0_0x8ee2c=a0_0x3752;(function(_0x161618,_0x45885c){const _0x2c7e4b=a0_0x3752,_0x29986c=_0x161618();while(!![]){try{const _0x197980=-parseInt(_0x2c7e4b(0x191))/0x1+-parseInt(_0x2c7e4b(0x19a))/0x2*(parseInt(_0x2c7e4b(0x18b))/0x3)+-parseInt(_0x2c7e4b(0x1a7))/0x4*(parseInt(_0x2c7e4b(0x1ac))/0x5)+parseInt(_0x2c7e4b(0x184))/0x6+-parseInt(_0x2c7e4b(0x1a8))/0x7+-parseInt(_0x2c7e4b(0x1ab))/0x8*(-parseInt(_0x2c7e4b(0x1a3))/0x9)+parseInt(_0x2c7e4b(0x182))/0xa;if(_0x197980===_0x45885c)break;else _0x29986c['push'](_0x29986c['shift']());}catch(_0x5628a7){_0x29986c['push'](_0x29986c['shift']());}}}(a0_0x2ab4,0x53cb3));import{html}from'lit';function a0_0x2ab4(){const _0x3cc4f5=['deleteByIds','styles','filterFormId','712PjQTGp','4292631qpbBsg','title','import','4118320icImAm','6685vNSsFL','save','isNotEmpty','filterForm','find','firstUpdated','grist','delete','export','10319850VbZvkw','pageInitialized','3091176WrqwFX','parseBasicGridConfigs','getSelectedIdList','parseGridConfigSet','isElement','gridColumnConfig','renderRoot','1382781tqARCW','gridConfig','fetch','gristConfigSet','exportableData','ox-grist','406606LSUVRM','findOne','isPage','searchConfig','getBasicGristStyles','search','querySelector','parseGristConfigs','gristId','2jnNseM','properties','connectedCallback','getButtonContainer','patchesForUpdateMultiple','updateMultiple','clear','getBasicGristHtml','menuInfo','9KXpoGZ'];a0_0x2ab4=function(){return _0x3cc4f5;};return a0_0x2ab4();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0xf8346f=>class extends MetaButtonMixin(_0xf8346f){static get[a0_0x8ee2c(0x1a5)](){const _0x2375a4=a0_0x8ee2c;return MetaApi[_0x2375a4(0x195)]();}static get[a0_0x8ee2c(0x19b)](){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_0x8ee2c(0x1b2)](){const _0x568bed=a0_0x8ee2c;return this[_0x568bed(0x18a)]?.[_0x568bed(0x197)](this[_0x568bed(0x199)]);}get[a0_0x8ee2c(0x1af)](){const _0x2e8b82=a0_0x8ee2c;return this['shadowRoot']?.[_0x2e8b82(0x197)](this[_0x2e8b82(0x1a6)]);}get['context'](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x12867d=a0_0x8ee2c;this[_0x12867d(0x199)]=_0x12867d(0x190),this['filterFormId']='ox-filters-form',await this['getAndParseMenuMeta'](),this[_0x12867d(0x188)]&&await this[_0x12867d(0x198)](),super[_0x12867d(0x19c)]&&await super[_0x12867d(0x19c)]();}async[a0_0x8ee2c(0x1b1)](){const _0x18a897=a0_0x8ee2c;super[_0x18a897(0x1b1)]&&await super[_0x18a897(0x1b1)]();}async[a0_0x8ee2c(0x183)](){const _0x535c2c=a0_0x8ee2c;this[_0x535c2c(0x193)]&&await this[_0x535c2c(0x198)](),super[_0x535c2c(0x183)]&&await super[_0x535c2c(0x183)]();}['render'](){const _0x4fdf93=a0_0x8ee2c;return html`
2
+ ${MetaApi[_0x4fdf93(0x1a1)](this)}
3
+ ${this['isPage']?html``:MetaUiUtil[_0x4fdf93(0x19d)](this)}
4
+ `;}[a0_0x8ee2c(0x185)](_0xfdcdd3){const _0x11fab4=a0_0x8ee2c;this[_0x11fab4(0x18c)]=_0xfdcdd3['grid'],this[_0x11fab4(0x189)]=_0xfdcdd3['grid_column'],this[_0x11fab4(0x194)]=_0xfdcdd3[_0x11fab4(0x196)];}async[a0_0x8ee2c(0x198)](){const _0x5ce9ad=a0_0x8ee2c;this[_0x5ce9ad(0x18e)]=await MetaApi[_0x5ce9ad(0x187)](this);}async['fetch'](){const _0x1f6d59=a0_0x8ee2c;await this[_0x1f6d59(0x1b2)]['fetch']();}async[a0_0x8ee2c(0x1ad)](){const _0x3e766d=a0_0x8ee2c;let _0xb01da5=MetaApi[_0x3e766d(0x19e)](this[_0x3e766d(0x1b2)]);!!ValueUtil['isNotEmpty'](_0xb01da5)&&await this[_0x3e766d(0x19f)](_0xb01da5)&&this[_0x3e766d(0x18d)]();}async[a0_0x8ee2c(0x1b0)](){const _0x30debc=a0_0x8ee2c;let _0x1911dc=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil[_0x30debc(0x1ae)](_0x1911dc)?await this[_0x30debc(0x192)](_0x1911dc[0x0]):{};}async[a0_0x8ee2c(0x1b3)](){const _0x416786=a0_0x8ee2c;let _0x1de137=MetaApi[_0x416786(0x186)](this[_0x416786(0x1b2)],!0x0);!!ValueUtil[_0x416786(0x1ae)](_0x1de137)&&await this[_0x416786(0x1a4)](_0x1de137)&&this[_0x416786(0x18d)]();}async[a0_0x8ee2c(0x181)](){const _0x262e8e=a0_0x8ee2c;let _0x24ccd6=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x262e8e(0x1a2)],_0x262e8e(0x1a9)));return await MetaApi[_0x262e8e(0x18f)](this[_0x262e8e(0x188)],_0x24ccd6,this[_0x262e8e(0x1b2)]);}async[a0_0x8ee2c(0x1aa)](){}async[a0_0x8ee2c(0x1a0)](){const _0x33931b=a0_0x8ee2c;this['grist']&&(this[_0x33931b(0x1b2)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};
@@ -1 +1 @@
1
- function a0_0x13fa(_0xf7867b,_0x5a2906){const _0x567f6a=a0_0x567f();return a0_0x13fa=function(_0x13faca,_0xb740c1){_0x13faca=_0x13faca-0x189;let _0x12b413=_0x567f6a[_0x13faca];return _0x12b413;},a0_0x13fa(_0xf7867b,_0x5a2906);}const a0_0x56f392=a0_0x13fa;function a0_0x567f(){const _0x1f7bdd=['1488OmToms','1018908zpsGrR','gristButtonHandler','getButtonContainer','isButtonExist','getButtonActionHandler','parseBasicButtonConfigs','16035UcXLec','1635498WXnzmx','customButtonHandler','buttonConfig','603328WOmDSE','getBasicButtonHandler','686448KpLDaw','1182DjxBmJ','properties','getCustomButtonContainerStyle','24766CDvDqY','useButtonAdd','12596430zwetMq','button','getContextButtons','2XsQdXd','export','useButtonExport'];a0_0x567f=function(){return _0x1f7bdd;};return a0_0x567f();}(function(_0x2f270c,_0x285b04){const _0x174d43=a0_0x13fa,_0x14cd1e=_0x2f270c();while(!![]){try{const _0x347fbf=-parseInt(_0x174d43(0x19f))/0x1+-parseInt(_0x174d43(0x191))/0x2*(parseInt(_0x174d43(0x195))/0x3)+parseInt(_0x174d43(0x1a1))/0x4+parseInt(_0x174d43(0x19b))/0x5*(-parseInt(_0x174d43(0x189))/0x6)+parseInt(_0x174d43(0x18c))/0x7*(parseInt(_0x174d43(0x194))/0x8)+-parseInt(_0x174d43(0x19c))/0x9+parseInt(_0x174d43(0x18e))/0xa;if(_0x347fbf===_0x285b04)break;else _0x14cd1e['push'](_0x14cd1e['shift']());}catch(_0x17d6e8){_0x14cd1e['push'](_0x14cd1e['shift']());}}}(a0_0x567f,0x5143a));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x22e959=>class extends MetaServiceMixin(_0x22e959){static get[a0_0x56f392(0x18a)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x56f392(0x18b)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0x56f392(0x190)](){const _0x401293=a0_0x56f392;return MetaUiUtil[_0x401293(0x190)](this);}['getButtonContainer'](){const _0x597357=a0_0x56f392;return this['isPage']?html``:MetaUiUtil[_0x597357(0x197)](this);}async[a0_0x56f392(0x1a0)](_0x25f841,_0x3302ff,_0x19e5ef){const _0x4f8dcd=a0_0x56f392;return await MetaUiUtil[_0x4f8dcd(0x199)](this,_0x25f841,_0x3302ff,_0x19e5ef);}async[a0_0x56f392(0x19d)](_0xec41f1){const _0x1d87bd=a0_0x56f392;await MetaUiUtil[_0x1d87bd(0x19d)](this,_0xec41f1);}async[a0_0x56f392(0x196)](_0x11fa33,_0x549af3){const _0x4842dd=a0_0x56f392;await MetaUiUtil[_0x4842dd(0x196)](this,_0x11fa33,_0x549af3);}[a0_0x56f392(0x19a)](_0x2d3271){const _0x45ca64=a0_0x56f392;this[_0x45ca64(0x19e)]=_0x2d3271[_0x45ca64(0x18f)],this['useButtonImport']=MetaUiUtil[_0x45ca64(0x198)](this['buttonConfig'],'import'),this[_0x45ca64(0x193)]=MetaUiUtil['isButtonExist'](this[_0x45ca64(0x19e)],_0x45ca64(0x192)),this[_0x45ca64(0x18d)]=MetaUiUtil[_0x45ca64(0x198)](this[_0x45ca64(0x19e)],'add');}};
1
+ function a0_0x5667(_0x255659,_0x89d19){const _0x410883=a0_0x4108();return a0_0x5667=function(_0x56672e,_0x301416){_0x56672e=_0x56672e-0x70;let _0x43298b=_0x410883[_0x56672e];return _0x43298b;},a0_0x5667(_0x255659,_0x89d19);}function a0_0x4108(){const _0x16dee0=['44644iHltMq','import','438276TPpPdy','customButtonHandler','22WYjzCb','getCustomButtonContainerStyle','9YMGXRt','gristButtonHandler','5eXyWsx','useButtonAdd','getButtonContainer','button','useButtonImport','parseBasicButtonConfigs','1844400XMdAqx','buttonConfig','6165800SpYOIp','getButtonActionHandler','isButtonExist','10ODyedc','useButtonExport','1188090lJQylW','getContextButtons','getBasicButtonHandler','3822651jDtjFc','add','252804eJtlRF'];a0_0x4108=function(){return _0x16dee0;};return a0_0x4108();}const a0_0x35d874=a0_0x5667;(function(_0x45a138,_0x2ec718){const _0x48fd13=a0_0x5667,_0x5b1698=_0x45a138();while(!![]){try{const _0x547632=parseInt(_0x48fd13(0x74))/0x1*(parseInt(_0x48fd13(0x87))/0x2)+-parseInt(_0x48fd13(0x7a))/0x3*(parseInt(_0x48fd13(0x73))/0x4)+-parseInt(_0x48fd13(0x7c))/0x5*(parseInt(_0x48fd13(0x76))/0x6)+-parseInt(_0x48fd13(0x71))/0x7+-parseInt(_0x48fd13(0x82))/0x8+-parseInt(_0x48fd13(0x89))/0x9+parseInt(_0x48fd13(0x84))/0xa*(parseInt(_0x48fd13(0x78))/0xb);if(_0x547632===_0x2ec718)break;else _0x5b1698['push'](_0x5b1698['shift']());}catch(_0xe577d8){_0x5b1698['push'](_0x5b1698['shift']());}}}(a0_0x4108,0x45996));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x3797ca=>class extends MetaServiceMixin(_0x3797ca){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x35d874(0x79)](){return MetaUiUtil['getCustomButtonContainerStyles']();}['getContextButtons'](){const _0x5bc587=a0_0x35d874;return MetaUiUtil[_0x5bc587(0x8a)](this);}[a0_0x35d874(0x7e)](){const _0x3802a4=a0_0x35d874;return this['isPage']?html``:MetaUiUtil[_0x3802a4(0x7e)](this);}async[a0_0x35d874(0x70)](_0x1e5bd7,_0xe377c8,_0x508a76){const _0x199432=a0_0x35d874;return await MetaUiUtil[_0x199432(0x85)](this,_0x1e5bd7,_0xe377c8,_0x508a76);}async[a0_0x35d874(0x77)](_0x531f60){const _0x57b808=a0_0x35d874;await MetaUiUtil[_0x57b808(0x77)](this,_0x531f60);}async[a0_0x35d874(0x7b)](_0x3956c8,_0x957b36){const _0x47e08d=a0_0x35d874;await MetaUiUtil[_0x47e08d(0x7b)](this,_0x3956c8,_0x957b36);}[a0_0x35d874(0x81)](_0x31d862){const _0x270ccb=a0_0x35d874;this[_0x270ccb(0x83)]=_0x31d862[_0x270ccb(0x7f)],this[_0x270ccb(0x80)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],_0x270ccb(0x75)),this[_0x270ccb(0x88)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],'export'),this[_0x270ccb(0x7d)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],_0x270ccb(0x72));}};
@@ -1 +1 @@
1
- const a0_0x4ef188=a0_0x3f51;(function(_0x5d57fc,_0x5ded7e){const _0x4ac5f5=a0_0x3f51,_0x4923b3=_0x5d57fc();while(!![]){try{const _0x54a39f=-parseInt(_0x4ac5f5(0xb7))/0x1*(parseInt(_0x4ac5f5(0xc1))/0x2)+-parseInt(_0x4ac5f5(0x90))/0x3+-parseInt(_0x4ac5f5(0x7b))/0x4+parseInt(_0x4ac5f5(0x93))/0x5+parseInt(_0x4ac5f5(0xa6))/0x6*(-parseInt(_0x4ac5f5(0x82))/0x7)+-parseInt(_0x4ac5f5(0x7d))/0x8*(parseInt(_0x4ac5f5(0xa1))/0x9)+parseInt(_0x4ac5f5(0xbd))/0xa;if(_0x54a39f===_0x5ded7e)break;else _0x4923b3['push'](_0x4923b3['shift']());}catch(_0x2abdca){_0x4923b3['push'](_0x4923b3['shift']());}}}(a0_0x4c79,0x1cbb9));function a0_0x3f51(_0x52511b,_0x1e8775){const _0x4c799d=a0_0x4c79();return a0_0x3f51=function(_0x3f5108,_0x53c27){_0x3f5108=_0x3f5108-0x76;let _0x1cf38d=_0x4c799d[_0x3f5108];return _0x1cf38d;},a0_0x3f51(_0x52511b,_0x1e8775);}function a0_0x4c79(){const _0x29c772=['editable','after','properties','clear','filter','146748wYgXeh','title.info','before','99015CwyIvM','true','tagName','connectedCallback','grid_column','cuFlag','startsWith','config','button','getBasicFormStyles','findOne','isPage','editing','save','45zBLJfh','field-change','__dirtyfields__','assign','text.NOTHING_CHANGED','5430XmcNzl','parseFormConfigs','Esc','OX-GRID-FIELD','currentTarget','patchData','column','function','dirtyData','isElement','isEmpty','orgData','currentData','styles','parent_id','renderRoot','Enter','1FKCdNQ','firstUpdated','getBasicFormHtml','fetch','focus','target','4586080kYcfaB','getContextObject','map','__dirty__','184436HaYZVO','removeGarbageData','formColumnConfig','object','validation','isEquals','108312MCVGBK','addEventListener','48824XtSVjp','keys','detail','keydown','render','1253ucHKFp','entries','stopPropagation','isNotEmpty','removeAttribute','__origin__','key','pageInitialized','record'];a0_0x4c79=function(){return _0x29c772;};return a0_0x4c79();}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=_0x56173c=>class extends MetaButtonMixin(_0x56173c){static get[a0_0x4ef188(0xb3)](){const _0x1118c7=a0_0x4ef188;return MetaApi[_0x1118c7(0x9c)]();}static get[a0_0x4ef188(0x8d)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x5c2da2=a0_0x4ef188;return MetaUiUtil[_0x5c2da2(0xbe)](this);}async[a0_0x4ef188(0x96)](){const _0x4fa294=a0_0x4ef188;if(this['config']){let {column:_0x2346b5=0x1}=this[_0x4fa294(0x9a)];this[_0x4fa294(0xac)]=_0x2346b5;}await this['getAndParseMenuMeta'](),this[_0x4fa294(0xaf)]&&await this['parseFormConfigs'](),super['connectedCallback']&&await super[_0x4fa294(0x96)](),this[_0x4fa294(0xaf)]&&await this['fetch'](),this[_0x4fa294(0xb5)][_0x4fa294(0x7c)](_0x4fa294(0x80),_0x42b1b2=>{const _0x2f852d=_0x4fa294;switch(_0x42b1b2[_0x2f852d(0x88)]){case _0x2f852d(0xa8):case'Escape':case _0x2f852d(0xb6):this[_0x2f852d(0xbb)](),this[_0x2f852d(0xaa)]&&this[_0x2f852d(0xaa)][_0x2f852d(0x86)](_0x2f852d(0x9f)),this[_0x2f852d(0xaa)]=null;}}),this[_0x4fa294(0xb5)][_0x4fa294(0x7c)]('click',_0x54640d=>{const _0x75b92a=_0x4fa294;_0x54640d[_0x75b92a(0x84)]();let _0x3ad9ca=_0x54640d[_0x75b92a(0xbc)];if(this['currentTarget']&&(this[_0x75b92a(0xbb)](),this[_0x75b92a(0xaa)][_0x75b92a(0x86)](_0x75b92a(0x9f))),_0x75b92a(0xa9)!==_0x3ad9ca[_0x75b92a(0x95)]||!_0x3ad9ca[_0x75b92a(0xac)]['record'][_0x75b92a(0x8b)])return this[_0x75b92a(0xbb)](),void(this['currentTarget']=null);this[_0x75b92a(0xaa)]=_0x3ad9ca,_0x3ad9ca['setAttribute'](_0x75b92a(0x9f),_0x75b92a(0x94));}),this['addEventListener'](_0x4fa294(0xa2),_0x32ea4b=>{const _0x2dbe7a=_0x4fa294;var {after:_0x14060e,before:_0x5583be,column:_0x1c7bfe,record:_0x2c95c4,row:_0x2172e1}=_0x32ea4b[_0x2dbe7a(0x7f)];if(ValueUtil[_0x2dbe7a(0x7a)](_0x14060e,_0x5583be))return;var _0x5f4411=_0x1c7bfe[_0x2dbe7a(0x79)];if(_0x5f4411&&_0x2dbe7a(0xad)==typeof _0x5f4411&&!_0x5f4411['call'](this,_0x14060e,_0x5583be,_0x2c95c4,_0x1c7bfe))return;let _0x1033a4=_0x1c7bfe['name'];_0x2c95c4[_0x1033a4]=_0x14060e,_0x2c95c4[_0x2dbe7a(0xa3)]=_0x2c95c4['__dirtyfields__']||{},_0x2c95c4['__dirtyfields__'][_0x1033a4]={'before':_0x2c95c4[_0x2dbe7a(0x87)][_0x1033a4],'after':_0x2c95c4[_0x1033a4]},ValueUtil[_0x2dbe7a(0x7a)](_0x2c95c4[_0x2dbe7a(0xa3)][_0x1033a4][_0x2dbe7a(0x92)],_0x2c95c4[_0x2dbe7a(0xa3)][_0x1033a4][_0x2dbe7a(0x8c)])&&delete _0x2c95c4[_0x2dbe7a(0xa3)][_0x1033a4],ValueUtil[_0x2dbe7a(0x85)](_0x2c95c4['__dirtyfields__'])?_0x2c95c4['__dirty__']='M':_0x2c95c4[_0x2dbe7a(0xc0)]='',this[_0x2dbe7a(0x8a)]={..._0x2c95c4};});}async['firstUpdated'](){const _0xb8399a=a0_0x4ef188;super[_0xb8399a(0xb8)]&&await super[_0xb8399a(0xb8)]();}async[a0_0x4ef188(0x89)](){const _0x270127=a0_0x4ef188;this[_0x270127(0x9e)]&&await this[_0x270127(0xa7)](),super[_0x270127(0x89)]&&await super[_0x270127(0x89)](),this[_0x270127(0x9e)]&&await this['fetch']();}[a0_0x4ef188(0x81)](){const _0x5a4dec=a0_0x4ef188;return MetaApi[_0x5a4dec(0xb9)](this);}['parseBasicFormConfigs'](_0x284990){const _0x2ad673=a0_0x4ef188;this[_0x2ad673(0x77)]=_0x284990[_0x2ad673(0x97)],this['formRenderConfig']=_0x284990['form'],_0x284990[_0x2ad673(0x9b)]=_0x284990[_0x2ad673(0x9b)][_0x2ad673(0x8f)](_0x39d409=>_0x2ad673(0xa0)==_0x39d409['name']);}async[a0_0x4ef188(0xa7)](){this['formConfigSet']=await MetaApi['parseFormConfigSet'](this);}get[a0_0x4ef188(0xb1)](){const _0xfc9d75=a0_0x4ef188;return this['removeGarbageData'](this['record'][_0xfc9d75(0x87)]);}get[a0_0x4ef188(0xae)](){const _0x11ca6e=a0_0x4ef188;if(ValueUtil[_0x11ca6e(0xb0)](this[_0x11ca6e(0x8a)][_0x11ca6e(0xa3)]))return{};let _0x2c38a8={};return Object['entries'](this[_0x11ca6e(0x8a)][_0x11ca6e(0xa3)])['map'](([_0x3a0cf9,_0x472208])=>{const _0x47f808=_0x11ca6e;0x0==_0x3a0cf9[_0x47f808(0x99)]('__')&&(_0x2c38a8[_0x3a0cf9]=_0x472208[_0x47f808(0x8c)]);}),_0x2c38a8;}get[a0_0x4ef188(0xb2)](){const _0x510e4d=a0_0x4ef188;return this[_0x510e4d(0x76)](this[_0x510e4d(0x8a)]);}['removeGarbageData'](_0x1abbca){const _0x126047=a0_0x4ef188;let _0x4a653a={};return Object[_0x126047(0x83)](_0x1abbca)[_0x126047(0xbf)](([_0x47e34f,_0x24cbc6])=>{const _0x4001cb=_0x126047;0x0==_0x47e34f[_0x4001cb(0x99)]('__')&&(_0x4a653a[_0x47e34f]=_0x24cbc6);}),_0x4a653a;}get[a0_0x4ef188(0xab)](){const _0x38989b=a0_0x4ef188;let _0x1712db=this[_0x38989b(0xae)],_0x252b1b=this[_0x38989b(0x8a)];return ValueUtil['isEmpty'](_0x1712db)?[]:(ValueUtil[_0x38989b(0x85)](_0x252b1b['id'])?(_0x1712db['id']=_0x252b1b['id'],_0x1712db['cuFlag']='M'):_0x1712db[_0x38989b(0x98)]='+',Object[_0x38989b(0x7e)](_0x1712db)['forEach'](_0x193a8d=>{const _0x1137af=_0x38989b;_0x1137af(0x78)==typeof _0x1712db[_0x193a8d]&&(_0x1712db[_0x193a8d]={'id':_0x1712db[_0x193a8d]['id']});}),[_0x1712db]);}async['fetch'](){const _0x157e0f=a0_0x4ef188;if(ValueUtil[_0x157e0f(0xb0)](this['parent_id']))return;let _0x401041=await this[_0x157e0f(0x9d)](this[_0x157e0f(0xb4)]);_0x401041['__seq__']=0x1;let _0x4ca537={};Object[_0x157e0f(0xa4)](_0x4ca537,_0x401041),_0x401041[_0x157e0f(0x87)]=_0x4ca537,this[_0x157e0f(0x8a)]={..._0x401041};}async['save'](){const _0x1670f=a0_0x4ef188;let _0x27237d=this[_0x1670f(0xab)];if(ValueUtil['isEmpty'](_0x27237d))return void MetaApi['showAlertPopup'](_0x1670f(0x91),_0x1670f(0xa5));let _0x68aead=await this['updateMultiple'](_0x27237d);return _0x68aead&&await this[_0x1670f(0xba)](),_0x68aead;}async[a0_0x4ef188(0x8e)](){const _0x5b1ccf=a0_0x4ef188;this[_0x5b1ccf(0x8a)]&&(this[_0x5b1ccf(0x8a)]={});}};
1
+ const a0_0x4cd57=a0_0x2fb8;(function(_0x5756e0,_0x493290){const _0x2e8713=a0_0x2fb8,_0x37676b=_0x5756e0();while(!![]){try{const _0x59820c=-parseInt(_0x2e8713(0x17b))/0x1*(parseInt(_0x2e8713(0x144))/0x2)+parseInt(_0x2e8713(0x17d))/0x3+-parseInt(_0x2e8713(0x14f))/0x4+-parseInt(_0x2e8713(0x147))/0x5+-parseInt(_0x2e8713(0x162))/0x6+parseInt(_0x2e8713(0x189))/0x7+parseInt(_0x2e8713(0x160))/0x8;if(_0x59820c===_0x493290)break;else _0x37676b['push'](_0x37676b['shift']());}catch(_0x188a99){_0x37676b['push'](_0x37676b['shift']());}}}(a0_0x13a5,0x6986c));function a0_0x2fb8(_0x1919e3,_0x138240){const _0x13a506=a0_0x13a5();return a0_0x2fb8=function(_0x2fb8fc,_0x3ce161){_0x2fb8fc=_0x2fb8fc-0x141;let _0x1c4fce=_0x13a506[_0x2fb8fc];return _0x1c4fce;},a0_0x2fb8(_0x1919e3,_0x138240);}import{MetaApi}from'../utils/meta-api';function a0_0x13a5(){const _0x57a42c=['detail','dirtyData','field-change','isNotEmpty','target','keys','name','9017776CkyECK','formRenderConfig','1560312GbGmlV','true','click','__seq__','call','parent_id','updateMultiple','isElement','startsWith','getBasicFormStyles','setAttribute','function','parseBasicFormConfigs','parseFormConfigSet','addEventListener','renderRoot','Esc','connectedCallback','currentTarget','patchData','cuFlag','clear','removeGarbageData','context','removeAttribute','324805STFEKe','grid_column','1345983ykwfaZ','styles','form','after','__dirty__','button','properties','isPage','getContextObject','currentData','map','__dirtyfields__','4457033dthieb','keydown','validation','record','formConfigSet','__origin__','Escape','entries','key','column','2oOSeUI','Enter','save','2211165auoCuq','object','editing','fetch','before','title.info','isEmpty','firstUpdated','3013104LywRbC','config','isEquals','OX-GRID-FIELD','getBasicFormHtml','formColumnConfig','getAndParseMenuMeta','pageInitialized','focus','parseFormConfigs'];a0_0x13a5=function(){return _0x57a42c;};return a0_0x13a5();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x39fa76=>class extends MetaButtonMixin(_0x39fa76){static get[a0_0x4cd57(0x17e)](){const _0x7db411=a0_0x4cd57;return MetaApi[_0x7db411(0x16b)]();}static get[a0_0x4cd57(0x183)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x4cd57(0x179)](){const _0x2025fd=a0_0x4cd57;return MetaUiUtil[_0x2025fd(0x185)](this);}async['connectedCallback'](){const _0x5639c5=a0_0x4cd57;if(this[_0x5639c5(0x150)]){let {column:_0x3c8111=0x1}=this[_0x5639c5(0x150)];this[_0x5639c5(0x143)]=_0x3c8111;}await this[_0x5639c5(0x155)](),this[_0x5639c5(0x169)]&&await this[_0x5639c5(0x158)](),super[_0x5639c5(0x173)]&&await super[_0x5639c5(0x173)](),this[_0x5639c5(0x169)]&&await this['fetch'](),this[_0x5639c5(0x171)][_0x5639c5(0x170)](_0x5639c5(0x18a),_0xdad18e=>{const _0x153b3b=_0x5639c5;switch(_0xdad18e[_0x153b3b(0x142)]){case _0x153b3b(0x172):case _0x153b3b(0x18f):case _0x153b3b(0x145):this[_0x153b3b(0x157)](),this[_0x153b3b(0x174)]&&this['currentTarget'][_0x153b3b(0x17a)](_0x153b3b(0x149)),this[_0x153b3b(0x174)]=null;}}),this[_0x5639c5(0x171)][_0x5639c5(0x170)](_0x5639c5(0x164),_0x360aad=>{const _0x43bc98=_0x5639c5;_0x360aad['stopPropagation']();let _0x36be72=_0x360aad[_0x43bc98(0x15d)];if(this['currentTarget']&&(this[_0x43bc98(0x157)](),this[_0x43bc98(0x174)][_0x43bc98(0x17a)](_0x43bc98(0x149))),_0x43bc98(0x152)!==_0x36be72['tagName']||!_0x36be72['column'][_0x43bc98(0x18c)]['editable'])return this[_0x43bc98(0x157)](),void(this[_0x43bc98(0x174)]=null);this[_0x43bc98(0x174)]=_0x36be72,_0x36be72[_0x43bc98(0x16c)](_0x43bc98(0x149),_0x43bc98(0x163));}),this[_0x5639c5(0x170)](_0x5639c5(0x15b),_0x662b51=>{const _0x35a18a=_0x5639c5;var {after:_0x544369,before:_0xb82896,column:_0x579ef0,record:_0x54dd65,row:_0x480240}=_0x662b51[_0x35a18a(0x159)];if(ValueUtil[_0x35a18a(0x151)](_0x544369,_0xb82896))return;var _0x2b7621=_0x579ef0[_0x35a18a(0x18b)];if(_0x2b7621&&_0x35a18a(0x16d)==typeof _0x2b7621&&!_0x2b7621[_0x35a18a(0x166)](this,_0x544369,_0xb82896,_0x54dd65,_0x579ef0))return;let _0x3c5e1a=_0x579ef0[_0x35a18a(0x15f)];_0x54dd65[_0x3c5e1a]=_0x544369,_0x54dd65[_0x35a18a(0x188)]=_0x54dd65[_0x35a18a(0x188)]||{},_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a]={'before':_0x54dd65[_0x35a18a(0x18e)][_0x3c5e1a],'after':_0x54dd65[_0x3c5e1a]},ValueUtil[_0x35a18a(0x151)](_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a][_0x35a18a(0x14b)],_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a][_0x35a18a(0x180)])&&delete _0x54dd65[_0x35a18a(0x188)][_0x3c5e1a],ValueUtil[_0x35a18a(0x15c)](_0x54dd65[_0x35a18a(0x188)])?_0x54dd65[_0x35a18a(0x181)]='M':_0x54dd65[_0x35a18a(0x181)]='',this[_0x35a18a(0x18c)]={..._0x54dd65};});}async[a0_0x4cd57(0x14e)](){const _0x46c193=a0_0x4cd57;super[_0x46c193(0x14e)]&&await super[_0x46c193(0x14e)]();}async[a0_0x4cd57(0x156)](){const _0xd6d5d3=a0_0x4cd57;this[_0xd6d5d3(0x184)]&&await this['parseFormConfigs'](),super['pageInitialized']&&await super[_0xd6d5d3(0x156)](),this[_0xd6d5d3(0x184)]&&await this[_0xd6d5d3(0x14a)]();}['render'](){const _0x1544a1=a0_0x4cd57;return MetaApi[_0x1544a1(0x153)](this);}[a0_0x4cd57(0x16e)](_0x4dbec0){const _0x3c30ce=a0_0x4cd57;this[_0x3c30ce(0x154)]=_0x4dbec0[_0x3c30ce(0x17c)],this[_0x3c30ce(0x161)]=_0x4dbec0[_0x3c30ce(0x17f)],_0x4dbec0[_0x3c30ce(0x182)]=_0x4dbec0[_0x3c30ce(0x182)]['filter'](_0x525b9c=>_0x3c30ce(0x146)==_0x525b9c[_0x3c30ce(0x15f)]);}async[a0_0x4cd57(0x158)](){const _0x1e493f=a0_0x4cd57;this[_0x1e493f(0x18d)]=await MetaApi[_0x1e493f(0x16f)](this);}get['orgData'](){const _0x7b7208=a0_0x4cd57;return this[_0x7b7208(0x178)](this[_0x7b7208(0x18c)][_0x7b7208(0x18e)]);}get[a0_0x4cd57(0x15a)](){const _0x5f7943=a0_0x4cd57;if(ValueUtil['isEmpty'](this[_0x5f7943(0x18c)][_0x5f7943(0x188)]))return{};let _0x144c86={};return Object['entries'](this['record'][_0x5f7943(0x188)])[_0x5f7943(0x187)](([_0x572625,_0x4fbff8])=>{const _0x39de82=_0x5f7943;0x0==_0x572625[_0x39de82(0x16a)]('__')&&(_0x144c86[_0x572625]=_0x4fbff8[_0x39de82(0x180)]);}),_0x144c86;}get[a0_0x4cd57(0x186)](){const _0x482ce6=a0_0x4cd57;return this['removeGarbageData'](this[_0x482ce6(0x18c)]);}[a0_0x4cd57(0x178)](_0x18ea11){const _0x2b634b=a0_0x4cd57;let _0x9602fb={};return Object[_0x2b634b(0x141)](_0x18ea11)['map'](([_0x473487,_0x15a676])=>{0x0==_0x473487['startsWith']('__')&&(_0x9602fb[_0x473487]=_0x15a676);}),_0x9602fb;}get[a0_0x4cd57(0x175)](){const _0x3f7624=a0_0x4cd57;let _0x51862d=this[_0x3f7624(0x15a)],_0x2342ed=this[_0x3f7624(0x18c)];return ValueUtil[_0x3f7624(0x14d)](_0x51862d)?[]:(ValueUtil[_0x3f7624(0x15c)](_0x2342ed['id'])?(_0x51862d['id']=_0x2342ed['id'],_0x51862d[_0x3f7624(0x176)]='M'):_0x51862d[_0x3f7624(0x176)]='+',Object[_0x3f7624(0x15e)](_0x51862d)['forEach'](_0x291abf=>{const _0x33b36e=_0x3f7624;_0x33b36e(0x148)==typeof _0x51862d[_0x291abf]&&(_0x51862d[_0x291abf]={'id':_0x51862d[_0x291abf]['id']});}),[_0x51862d]);}async[a0_0x4cd57(0x14a)](){const _0x5d676e=a0_0x4cd57;if(ValueUtil[_0x5d676e(0x14d)](this[_0x5d676e(0x167)]))return;let _0xdd759b=await this['findOne'](this[_0x5d676e(0x167)]);_0xdd759b[_0x5d676e(0x165)]=0x1;let _0xe276b2={};Object['assign'](_0xe276b2,_0xdd759b),_0xdd759b[_0x5d676e(0x18e)]=_0xe276b2,this[_0x5d676e(0x18c)]={..._0xdd759b};}async[a0_0x4cd57(0x146)](){const _0x5b0860=a0_0x4cd57;let _0x7c00=this[_0x5b0860(0x175)];if(ValueUtil['isEmpty'](_0x7c00))return void MetaApi['showAlertPopup'](_0x5b0860(0x14c),'text.NOTHING_CHANGED');let _0x11322d=await this[_0x5b0860(0x168)](_0x7c00);return _0x11322d&&await this[_0x5b0860(0x14a)](),_0x11322d;}async[a0_0x4cd57(0x177)](){const _0x3a9a07=a0_0x4cd57;this[_0x3a9a07(0x18c)]&&(this[_0x3a9a07(0x18c)]={});}};
@@ -1 +1 @@
1
- const a0_0x3d4ea1=a0_0x1414;(function(_0x4e0fe0,_0x291716){const _0x3e9baf=a0_0x1414,_0x1877c2=_0x4e0fe0();while(!![]){try{const _0x12e40e=-parseInt(_0x3e9baf(0xd6))/0x1+parseInt(_0x3e9baf(0xd3))/0x2*(-parseInt(_0x3e9baf(0xf9))/0x3)+-parseInt(_0x3e9baf(0xe6))/0x4*(parseInt(_0x3e9baf(0x109))/0x5)+parseInt(_0x3e9baf(0xf8))/0x6+-parseInt(_0x3e9baf(0xd1))/0x7+parseInt(_0x3e9baf(0xdb))/0x8+parseInt(_0x3e9baf(0xff))/0x9;if(_0x12e40e===_0x291716)break;else _0x1877c2['push'](_0x1877c2['shift']());}catch(_0x451313){_0x1877c2['push'](_0x1877c2['shift']());}}}(a0_0x11d8,0x40a0c));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x1414(_0x1eee35,_0x5b8594){const _0x11d8dc=a0_0x11d8();return a0_0x1414=function(_0x1414d2,_0x4936ad){_0x1414d2=_0x1414d2-0xcb;let _0x59bb1a=_0x11d8dc[_0x1414d2];return _0x59bb1a;},a0_0x1414(_0x1eee35,_0x5b8594);}function a0_0x11d8(){const _0x3bac45=['gristId','map','pageInitialized','delete','actions','471079JjySGL','columns','10EgPdsb','render','title','162879PZkjru','importable','styles','patchesForUpdateMultiple','parseBasicGridConfigs','2457264sERiiK','getContextObject','filter','useMasterFilterForm','meta-tab-element','firstUpdated','isElement','getAndParseMenuMeta','ox-filters-form-base','renderRoot','getSelectedIdList','100NRMpUj','properties','search','record','operator','grist','getBasicGristTabStyles','context','shadowRoot','grid','searchFields','filterForm','querySelector','clear','gristConfigSet','import','menuInfo','fetch','1187442wuPYCz','179205UQXtkQ','grid_column','name','type','isPage','gridColumnConfig','5831343whgvBo','filterFormId','isNotEmpty','parseGristConfigs','exportableData','useFilterForm','export','beforeFetch','exportable','options','71885digTqq','gridConfig','getParams','connectedCallback'];a0_0x11d8=function(){return _0x3bac45;};return a0_0x11d8();}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=_0x58bb4f=>class extends MetaButtonMixin(_0x58bb4f){static get[a0_0x3d4ea1(0xd8)](){const _0x425c03=a0_0x3d4ea1;return MetaApi[_0x425c03(0xec)]();}static get[a0_0x3d4ea1(0xe7)](){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 _0x20a6e2=a0_0x3d4ea1;return this['renderRoot'][_0x20a6e2(0xf2)](this[_0x20a6e2(0xcc)]);}get[a0_0x3d4ea1(0xf1)](){const _0xd7cace=a0_0x3d4ea1;return this[_0xd7cace(0xee)]?.[_0xd7cace(0xf2)](this[_0xd7cace(0x100)]);}get[a0_0x3d4ea1(0xed)](){const _0x2605dd=a0_0x3d4ea1;let _0x1a3299=MetaUiUtil[_0x2605dd(0xdc)](this);return _0x1a3299[_0x2605dd(0xd0)]&&delete _0x1a3299['actions'],_0x1a3299[_0x2605dd(0x107)]&&delete _0x1a3299[_0x2605dd(0x107)],_0x1a3299[_0x2605dd(0xd7)]&&delete _0x1a3299[_0x2605dd(0xd7)],_0x1a3299;}async[a0_0x3d4ea1(0xcb)](){const _0x37e4b1=a0_0x3d4ea1;this[_0x37e4b1(0xcc)]='ox-grist',this[_0x37e4b1(0x100)]=_0x37e4b1(0xe3),await this[_0x37e4b1(0xe2)](),this['isElement']&&await this[_0x37e4b1(0x102)](),super['connectedCallback']&&await super[_0x37e4b1(0xcb)]();}async[a0_0x3d4ea1(0xe0)](){const _0xf92e11=a0_0x3d4ea1;super[_0xf92e11(0xe0)]&&await super[_0xf92e11(0xe0)]();}async[a0_0x3d4ea1(0xce)](){const _0x45622c=a0_0x3d4ea1;this[_0x45622c(0xfd)]&&await this[_0x45622c(0x102)](),super[_0x45622c(0xce)]&&await super[_0x45622c(0xce)]();}[a0_0x3d4ea1(0xd4)](){return MetaApi['getGristTabHtml'](this);}[a0_0x3d4ea1(0xda)](_0x5685d4){const _0x4bbc2d=a0_0x3d4ea1;this[_0x4bbc2d(0x10a)]=_0x5685d4[_0x4bbc2d(0xef)],this[_0x4bbc2d(0xfe)]=_0x5685d4[_0x4bbc2d(0xfa)],this['searchConfig']=_0x5685d4[_0x4bbc2d(0xe8)];}async[a0_0x3d4ea1(0x102)](){const _0x5d147c=a0_0x3d4ea1;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x5d147c(0xde)]=this[_0x5d147c(0x104)],this[_0x5d147c(0x104)]=!0x1,this[_0x5d147c(0xf0)]=this[_0x5d147c(0xf4)][_0x5d147c(0xd2)][_0x5d147c(0xdd)](_0xcc8439=>_0xcc8439[_0x5d147c(0xdd)])[_0x5d147c(0xcd)](_0x58c4e8=>{const _0x30335b=_0x5d147c;let _0x282b84={'name':_0x58c4e8[_0x30335b(0xfb)],'type':_0x58c4e8[_0x30335b(0xfc)],'label':_0x58c4e8['header'],'operator':_0x58c4e8[_0x30335b(0xdd)][_0x30335b(0xea)]?_0x58c4e8[_0x30335b(0xdd)][_0x30335b(0xea)]:'eq'};return _0x58c4e8[_0x30335b(0xe9)][_0x30335b(0x108)]&&(_0x282b84[_0x30335b(0x108)]=_0x58c4e8[_0x30335b(0xe9)][_0x30335b(0x108)]),_0x282b84;});}async[a0_0x3d4ea1(0xf7)](){const _0x4da6bb=a0_0x3d4ea1;await this[_0x4da6bb(0xeb)][_0x4da6bb(0xf7)]();}async[a0_0x3d4ea1(0x106)]({page:_0x104b94=0x0,limit:_0x109d5c=0x0,sortings:_0x21d53a=[],filters:_0x461824=[]}){const _0x345f62=a0_0x3d4ea1;let _0xdecafa=this[_0x345f62(0xe4)]['querySelector'](_0x345f62(0xdf));return await _0xdecafa[_0x345f62(0xf3)](),!0x0;}async['save'](){const _0x24d123=a0_0x3d4ea1;let _0x29dedb=MetaApi[_0x24d123(0xd9)](this['grist']);!!ValueUtil['isNotEmpty'](_0x29dedb)&&await this['updateMultiple'](_0x29dedb)&&this[_0x24d123(0xf7)]();}async['find'](){const _0x1c454d=a0_0x3d4ea1;let _0x2aadc7=MetaApi['getSelectedIdList'](this[_0x1c454d(0xeb)],!0x0);return ValueUtil[_0x1c454d(0x101)](_0x2aadc7)?await this['findOne'](_0x2aadc7[0x0]):{};}async[a0_0x3d4ea1(0xcf)](){const _0x4407e3=a0_0x3d4ea1;let _0x2060b5=MetaApi[_0x4407e3(0xe5)](this[_0x4407e3(0xeb)],!0x0);!!ValueUtil[_0x4407e3(0x101)](_0x2060b5)&&await this['deleteByIds'](_0x2060b5)&&this['fetch']();}async[a0_0x3d4ea1(0x105)](){const _0x24829e=a0_0x3d4ea1;let _0x1968db=TermsUtil['tTitle'](ValueUtil[_0x24829e(0x10b)](this[_0x24829e(0xf6)],_0x24829e(0xd5)));return await MetaApi[_0x24829e(0x103)](this[_0x24829e(0xe1)],_0x1968db,this[_0x24829e(0xeb)]);}async[a0_0x3d4ea1(0xf5)](){}};
1
+ const a0_0x3ce2f5=a0_0x26fb;(function(_0x2b6355,_0x3fb4fe){const _0x433834=a0_0x26fb,_0x9820ca=_0x2b6355();while(!![]){try{const _0xc12910=-parseInt(_0x433834(0x1fb))/0x1*(-parseInt(_0x433834(0x211))/0x2)+-parseInt(_0x433834(0x1ed))/0x3+-parseInt(_0x433834(0x1f3))/0x4*(parseInt(_0x433834(0x22e))/0x5)+-parseInt(_0x433834(0x230))/0x6*(-parseInt(_0x433834(0x217))/0x7)+parseInt(_0x433834(0x1fc))/0x8*(-parseInt(_0x433834(0x1f2))/0x9)+-parseInt(_0x433834(0x21b))/0xa+parseInt(_0x433834(0x223))/0xb*(parseInt(_0x433834(0x224))/0xc);if(_0xc12910===_0x3fb4fe)break;else _0x9820ca['push'](_0x9820ca['shift']());}catch(_0x44a96c){_0x9820ca['push'](_0x9820ca['shift']());}}}(a0_0x7161,0x74aea));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_0x26fb(_0x1f1ed9,_0x3dfc9a){const _0x7161fa=a0_0x7161();return a0_0x26fb=function(_0x26fb32,_0x25cb75){_0x26fb32=_0x26fb32-0x1ec;let _0x452e81=_0x7161fa[_0x26fb32];return _0x452e81;},a0_0x26fb(_0x1f1ed9,_0x3dfc9a);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x7161(){const _0x52d894=['grist','render','connectedCallback','fetch','export','grid_column','importable','417626jTmEWq','192bRwZGn','gridColumnConfig','parseGridConfigSet','filter','search','find','operator','options','useFilterForm','findOne','7195PMTlvX','firstUpdated','5282148gyUTcW','isNotEmpty','1262745TYdIxW','tTitle','isPage','save','delete','27eYizMH','492zzKlxb','deleteByIds','header','columns','getGristTabHtml','shadowRoot','exportableData','gristId','123309dLunQY','1307272wThtSK','parseGristConfigs','name','meta-tab-element','grid','filterForm','clear','record','querySelector','searchFields','ox-grist','properties','styles','menuInfo','isElement','actions','getAndParseMenuMeta','renderRoot','useMasterFilterForm','map','exportable','6hDvFbv','filterFormId','beforeFetch','getBasicGristTabStyles','title','parseBasicGridConfigs','7RquBKM','gristConfigSet','searchConfig','getSelectedIdList','2916720aiyNdG'];a0_0x7161=function(){return _0x52d894;};return a0_0x7161();}export const MetaGristTabMixin=_0x31887f=>class extends MetaButtonMixin(_0x31887f){static get[a0_0x3ce2f5(0x208)](){const _0x372015=a0_0x3ce2f5;return MetaApi[_0x372015(0x214)]();}static get[a0_0x3ce2f5(0x207)](){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_0x3ce2f5(0x21c)](){const _0x1a500e=a0_0x3ce2f5;return this[_0x1a500e(0x20d)][_0x1a500e(0x204)](this[_0x1a500e(0x1fa)]);}get[a0_0x3ce2f5(0x201)](){const _0x4391d8=a0_0x3ce2f5;return this[_0x4391d8(0x1f8)]?.['querySelector'](this[_0x4391d8(0x212)]);}get['context'](){const _0x45597f=a0_0x3ce2f5;let _0x577765=MetaUiUtil['getContextObject'](this);return _0x577765[_0x45597f(0x20b)]&&delete _0x577765['actions'],_0x577765[_0x45597f(0x210)]&&delete _0x577765[_0x45597f(0x210)],_0x577765[_0x45597f(0x222)]&&delete _0x577765[_0x45597f(0x222)],_0x577765;}async[a0_0x3ce2f5(0x21e)](){const _0x5c4755=a0_0x3ce2f5;this['gristId']=_0x5c4755(0x206),this[_0x5c4755(0x212)]='ox-filters-form-base',await this[_0x5c4755(0x20c)](),this['isElement']&&await this[_0x5c4755(0x1fd)](),super[_0x5c4755(0x21e)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0x179456=a0_0x3ce2f5;super[_0x179456(0x22f)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x2a72f3=a0_0x3ce2f5;this[_0x2a72f3(0x1ef)]&&await this[_0x2a72f3(0x1fd)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x3ce2f5(0x21d)](){const _0x2457fa=a0_0x3ce2f5;return MetaApi[_0x2457fa(0x1f7)](this);}[a0_0x3ce2f5(0x216)](_0x2b461d){const _0x1b5ecc=a0_0x3ce2f5;this['gridConfig']=_0x2b461d[_0x1b5ecc(0x200)],this[_0x1b5ecc(0x225)]=_0x2b461d[_0x1b5ecc(0x221)],this[_0x1b5ecc(0x219)]=_0x2b461d[_0x1b5ecc(0x228)];}async['parseGristConfigs'](){const _0xb9fcc=a0_0x3ce2f5;this[_0xb9fcc(0x218)]=await MetaApi[_0xb9fcc(0x226)](this),this[_0xb9fcc(0x20e)]=this['useFilterForm'],this[_0xb9fcc(0x22c)]=!0x1,this[_0xb9fcc(0x205)]=this['gristConfigSet'][_0xb9fcc(0x1f6)][_0xb9fcc(0x227)](_0x257a20=>_0x257a20[_0xb9fcc(0x227)])[_0xb9fcc(0x20f)](_0x193b88=>{const _0x473afe=_0xb9fcc;let _0x1f6106={'name':_0x193b88[_0x473afe(0x1fe)],'type':_0x193b88['type'],'label':_0x193b88[_0x473afe(0x1f5)],'operator':_0x193b88[_0x473afe(0x227)]['operator']?_0x193b88[_0x473afe(0x227)][_0x473afe(0x22a)]:'eq'};return _0x193b88[_0x473afe(0x203)][_0x473afe(0x22b)]&&(_0x1f6106[_0x473afe(0x22b)]=_0x193b88[_0x473afe(0x203)][_0x473afe(0x22b)]),_0x1f6106;});}async[a0_0x3ce2f5(0x21f)](){const _0x2994c4=a0_0x3ce2f5;await this[_0x2994c4(0x21c)][_0x2994c4(0x21f)]();}async[a0_0x3ce2f5(0x213)]({page:_0x17b4c7=0x0,limit:_0x264dd1=0x0,sortings:_0x9406f9=[],filters:_0x35fbaa=[]}){const _0x868328=a0_0x3ce2f5;let _0x525b26=this[_0x868328(0x20d)][_0x868328(0x204)](_0x868328(0x1ff));return await _0x525b26[_0x868328(0x202)](),!0x0;}async[a0_0x3ce2f5(0x1f0)](){const _0x8ad683=a0_0x3ce2f5;let _0x668c17=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil[_0x8ad683(0x1ec)](_0x668c17)&&await this['updateMultiple'](_0x668c17)&&this[_0x8ad683(0x21f)]();}async[a0_0x3ce2f5(0x229)](){const _0x25e287=a0_0x3ce2f5;let _0x57cc10=MetaApi[_0x25e287(0x21a)](this[_0x25e287(0x21c)],!0x0);return ValueUtil[_0x25e287(0x1ec)](_0x57cc10)?await this[_0x25e287(0x22d)](_0x57cc10[0x0]):{};}async[a0_0x3ce2f5(0x1f1)](){const _0x227d63=a0_0x3ce2f5;let _0x25d7d0=MetaApi[_0x227d63(0x21a)](this[_0x227d63(0x21c)],!0x0);!!ValueUtil[_0x227d63(0x1ec)](_0x25d7d0)&&await this[_0x227d63(0x1f4)](_0x25d7d0)&&this[_0x227d63(0x21f)]();}async[a0_0x3ce2f5(0x220)](){const _0x2bba33=a0_0x3ce2f5;let _0x47ef3b=TermsUtil[_0x2bba33(0x1ee)](ValueUtil['getParams'](this[_0x2bba33(0x209)],_0x2bba33(0x215)));return await MetaApi[_0x2bba33(0x1f9)](this[_0x2bba33(0x20a)],_0x47ef3b,this['grist']);}async['import'](){}};
@@ -1 +1 @@
1
- const a0_0x32c9c6=a0_0x3468;(function(_0x569972,_0x53726e){const _0x48e1f5=a0_0x3468,_0x3dba2a=_0x569972();while(!![]){try{const _0x2cabe5=parseInt(_0x48e1f5(0x145))/0x1*(parseInt(_0x48e1f5(0x167))/0x2)+parseInt(_0x48e1f5(0x12f))/0x3*(parseInt(_0x48e1f5(0x14e))/0x4)+-parseInt(_0x48e1f5(0x15d))/0x5+parseInt(_0x48e1f5(0x140))/0x6+-parseInt(_0x48e1f5(0x16e))/0x7*(parseInt(_0x48e1f5(0x13d))/0x8)+parseInt(_0x48e1f5(0x15a))/0x9*(parseInt(_0x48e1f5(0x173))/0xa)+parseInt(_0x48e1f5(0x171))/0xb*(-parseInt(_0x48e1f5(0x13a))/0xc);if(_0x2cabe5===_0x53726e)break;else _0x3dba2a['push'](_0x3dba2a['shift']());}catch(_0x45d0ee){_0x3dba2a['push'](_0x3dba2a['shift']());}}}(a0_0x5289,0x64a29));function a0_0x3468(_0x127f38,_0x406652){const _0x5289cb=a0_0x5289();return a0_0x3468=function(_0x34688b,_0x20d0d0){_0x34688b=_0x34688b-0x12b;let _0x43f181=_0x5289cb[_0x34688b];return _0x43f181;},a0_0x3468(_0x127f38,_0x406652);}import{html}from'lit';function a0_0x5289(){const _0x3c1717=['isElement','deleteByIds','54LyFByP','export','import','2158545RVWWFS','search','exportableData','options','name','gridConfig','findOne','properties','actions','querySelector','6230adrUMh','importable','find','pageInitialized','\x22\x20route_name=\x22','fetch','detail','14NMIjqp','firstUpdated','gristConfigSet','11CjWIkU','getBasicMasterDetailStyles','1131310PuYPMl','exportable','routing','isNotEmpty','shadowRoot','\x22\x20name=\x22','searchConfig','clear','3KodRFm','delete','useFilterForm','\x20id=\x22','getParams','renderRoot','tTitle','type','map','grist','connectedCallback','7455648SxhHzr','filter','detailElement','1375520DyGSvz','getContextObject','gristId','2171892jcMYht','gridColumnConfig','useMasterFilterForm','getSelectedIdList','isPage','151BFHORU','operator','ox-grist','htmlToElement','filterForm','filterFormId','createDetailElement','parseGridConfigSet','record','1191844phjzrc','grid','parseGristConfigs','tagname','context','render','updateMultiple','searchFields','beforeFetch','getMasterDetailHtml'];a0_0x5289=function(){return _0x3c1717;};return a0_0x5289();}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=_0x5f3e06=>class extends MetaButtonMixin(_0x5f3e06){static get['styles'](){const _0x8d08d3=a0_0x3468;return MetaApi[_0x8d08d3(0x172)]();}static get[a0_0x32c9c6(0x164)](){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 _0x154bb9=a0_0x32c9c6;return this[_0x154bb9(0x134)][_0x154bb9(0x166)](this[_0x154bb9(0x13f)]);}get[a0_0x32c9c6(0x149)](){const _0x51eace=a0_0x32c9c6;return this[_0x51eace(0x12b)]?.[_0x51eace(0x166)](this[_0x51eace(0x14a)]);}get[a0_0x32c9c6(0x152)](){const _0x4b0430=a0_0x32c9c6;let _0x2372eb=MetaUiUtil[_0x4b0430(0x13e)](this);return _0x2372eb[_0x4b0430(0x165)]&&delete _0x2372eb[_0x4b0430(0x165)],_0x2372eb[_0x4b0430(0x174)]&&delete _0x2372eb[_0x4b0430(0x174)],_0x2372eb['importable']&&delete _0x2372eb[_0x4b0430(0x168)],_0x2372eb;}async[a0_0x32c9c6(0x139)](){const _0x4ae716=a0_0x32c9c6;this['gristId']=_0x4ae716(0x147),this[_0x4ae716(0x14a)]='ox-filters-form-base',await this['getAndParseMenuMeta'](),this['isElement']&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x4ae716(0x139)]();}async[a0_0x32c9c6(0x16f)](){const _0x55d845=a0_0x32c9c6;super[_0x55d845(0x16f)]&&await super[_0x55d845(0x16f)]();}async['pageInitialized'](){const _0x326bbf=a0_0x32c9c6;this[_0x326bbf(0x144)]&&await this[_0x326bbf(0x150)](),super[_0x326bbf(0x16a)]&&await super[_0x326bbf(0x16a)]();}[a0_0x32c9c6(0x153)](){const _0x38fa4f=a0_0x32c9c6;return MetaApi[_0x38fa4f(0x157)](this);}[a0_0x32c9c6(0x14b)](_0x5d84ba){const _0x19898c=a0_0x32c9c6;if(!this[_0x19898c(0x13c)]){let _0x65f903=_0x5d84ba[_0x19898c(0x161)]?_0x5d84ba[_0x19898c(0x161)]:_0x19898c(0x16d),_0x273dbd='<'+_0x5d84ba[_0x19898c(0x151)]+_0x19898c(0x132)+_0x65f903+_0x19898c(0x12c)+_0x65f903+_0x19898c(0x16b)+_0x5d84ba[_0x19898c(0x175)]+'\x22\x20is_detail=true\x20style=\x22flex:1;\x22></'+_0x5d84ba[_0x19898c(0x151)]+'>';this[_0x19898c(0x13c)]=UiUtil[_0x19898c(0x148)](_0x273dbd);}}['parseBasicGridConfigs'](_0x57e86d){const _0x591142=a0_0x32c9c6;this[_0x591142(0x162)]=_0x57e86d[_0x591142(0x14f)],this[_0x591142(0x141)]=_0x57e86d['grid_column'],this[_0x591142(0x12d)]=_0x57e86d[_0x591142(0x15e)];}async[a0_0x32c9c6(0x150)](){const _0x3a4f15=a0_0x32c9c6;this[_0x3a4f15(0x170)]=await MetaApi[_0x3a4f15(0x14c)](this),this[_0x3a4f15(0x142)]=this[_0x3a4f15(0x131)],this[_0x3a4f15(0x131)]=!0x1,this[_0x3a4f15(0x155)]=this['gristConfigSet']['columns'][_0x3a4f15(0x13b)](_0x537ea0=>_0x537ea0[_0x3a4f15(0x13b)])[_0x3a4f15(0x137)](_0x31ea54=>{const _0x367d7b=_0x3a4f15;let _0x4d5d7b={'name':_0x31ea54[_0x367d7b(0x161)],'type':_0x31ea54[_0x367d7b(0x136)],'label':_0x31ea54['header'],'operator':_0x31ea54['filter'][_0x367d7b(0x146)]?_0x31ea54[_0x367d7b(0x13b)][_0x367d7b(0x146)]:'eq'};return _0x31ea54[_0x367d7b(0x14d)]['options']&&(_0x4d5d7b['options']=_0x31ea54[_0x367d7b(0x14d)][_0x367d7b(0x160)]),_0x4d5d7b;});}async['fetch'](){const _0xcc9988=a0_0x32c9c6;await this['grist'][_0xcc9988(0x16c)]();}async[a0_0x32c9c6(0x156)]({page:_0x5858c5=0x0,limit:_0x39848d=0x0,sortings:_0x216db8=[],filters:_0x5a4da2=[]}){const _0x15e2cd=a0_0x32c9c6;return this[_0x15e2cd(0x13c)]&&this[_0x15e2cd(0x13c)][_0x15e2cd(0x12e)]&&await this[_0x15e2cd(0x13c)][_0x15e2cd(0x12e)](),!0x0;}async['save'](){const _0x2c56c5=a0_0x32c9c6;let _0x13a69c=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil['isNotEmpty'](_0x13a69c)&&await this[_0x2c56c5(0x154)](_0x13a69c)&&this[_0x2c56c5(0x16c)]();}async[a0_0x32c9c6(0x169)](){const _0x118a43=a0_0x32c9c6;let _0x2bfb39=MetaApi[_0x118a43(0x143)](this[_0x118a43(0x138)],!0x0);return ValueUtil[_0x118a43(0x176)](_0x2bfb39)?await this[_0x118a43(0x163)](_0x2bfb39[0x0]):{};}async[a0_0x32c9c6(0x130)](){const _0x81cfd=a0_0x32c9c6;let _0x229fcf=MetaApi[_0x81cfd(0x143)](this[_0x81cfd(0x138)],!0x0);!!ValueUtil[_0x81cfd(0x176)](_0x229fcf)&&await this[_0x81cfd(0x159)](_0x229fcf)&&this['fetch']();}async[a0_0x32c9c6(0x15b)](){const _0x104e64=a0_0x32c9c6;let _0xa85594=TermsUtil[_0x104e64(0x135)](ValueUtil[_0x104e64(0x133)](this['menuInfo'],'title'));return await MetaApi[_0x104e64(0x15f)](this[_0x104e64(0x158)],_0xa85594,this[_0x104e64(0x138)]);}async[a0_0x32c9c6(0x15c)](){}};
1
+ const a0_0x11c145=a0_0x32c5;(function(_0x58270b,_0x326678){const _0x3ad7ce=a0_0x32c5,_0x40226b=_0x58270b();while(!![]){try{const _0x4741ec=-parseInt(_0x3ad7ce(0x102))/0x1*(parseInt(_0x3ad7ce(0xd9))/0x2)+-parseInt(_0x3ad7ce(0x10d))/0x3+-parseInt(_0x3ad7ce(0xd8))/0x4+parseInt(_0x3ad7ce(0xfe))/0x5*(parseInt(_0x3ad7ce(0xd2))/0x6)+-parseInt(_0x3ad7ce(0xe2))/0x7*(parseInt(_0x3ad7ce(0xdd))/0x8)+parseInt(_0x3ad7ce(0x10f))/0x9*(parseInt(_0x3ad7ce(0x110))/0xa)+parseInt(_0x3ad7ce(0xfd))/0xb;if(_0x4741ec===_0x326678)break;else _0x40226b['push'](_0x40226b['shift']());}catch(_0xddde2e){_0x40226b['push'](_0x40226b['shift']());}}}(a0_0x26df,0xa1a34));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x26df(){const _0x21eb30=['4615580zGkzqH','118JEvtdG','context','getSelectedIdList','isNotEmpty','224232TggRBb','header','useMasterFilterForm','importable','\x20id=\x22','49MzFZtv','ox-filters-form-base','grid','isElement','fetch','exportableData','getBasicMasterDetailStyles','searchFields','title','querySelector','connectedCallback','gristConfigSet','search','find','createDetailElement','grist','actions','gridConfig','operator','searchConfig','shadowRoot','record','parseGristConfigs','filterForm','exportable','firstUpdated','detail','24779590AVOHtn','5zKuHYi','deleteByIds','renderRoot','isPage','9365WipHfm','getAndParseMenuMeta','properties','updateMultiple','routing','patchesForUpdateMultiple','map','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','import','filterFormId','filter','607410IkiKkf','delete','468306TEjACO','10UWKqMW','export','useFilterForm','clear','gristId','tTitle','columns','tagname','getMasterDetailHtml','detailElement','pageInitialized','findOne','gridColumnConfig','2774682sqdTYc','options','\x22\x20name=\x22','ox-grist','name','grid_column'];a0_0x26df=function(){return _0x21eb30;};return a0_0x26df();}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x32c5(_0x56ae52,_0x3d3dd8){const _0x26dfdd=a0_0x26df();return a0_0x32c5=function(_0x32c51b,_0x20e706){_0x32c51b=_0x32c51b-0xc7;let _0x31aab7=_0x26dfdd[_0x32c51b];return _0x31aab7;},a0_0x32c5(_0x56ae52,_0x3d3dd8);}export const MetaMasterDetailMixin=_0x1bb320=>class extends MetaButtonMixin(_0x1bb320){static get['styles'](){const _0x500abd=a0_0x32c5;return MetaApi[_0x500abd(0xe8)]();}static get[a0_0x11c145(0x104)](){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_0x11c145(0xf1)](){const _0x1a8f05=a0_0x11c145;return this[_0x1a8f05(0x100)]['querySelector'](this[_0x1a8f05(0xc9)]);}get[a0_0x11c145(0xf9)](){const _0x1edf66=a0_0x11c145;return this[_0x1edf66(0xf6)]?.[_0x1edf66(0xeb)](this[_0x1edf66(0x10b)]);}get[a0_0x11c145(0xda)](){const _0x4adc1f=a0_0x11c145;let _0xda1ef9=MetaUiUtil['getContextObject'](this);return _0xda1ef9[_0x4adc1f(0xf2)]&&delete _0xda1ef9['actions'],_0xda1ef9[_0x4adc1f(0xfa)]&&delete _0xda1ef9[_0x4adc1f(0xfa)],_0xda1ef9[_0x4adc1f(0xe0)]&&delete _0xda1ef9['importable'],_0xda1ef9;}async['connectedCallback'](){const _0x32f3ab=a0_0x11c145;this[_0x32f3ab(0xc9)]=_0x32f3ab(0xd5),this[_0x32f3ab(0x10b)]=_0x32f3ab(0xe3),await this[_0x32f3ab(0x103)](),this['isElement']&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x32f3ab(0xec)]();}async['firstUpdated'](){const _0x3acfcc=a0_0x11c145;super[_0x3acfcc(0xfb)]&&await super['firstUpdated']();}async[a0_0x11c145(0xcf)](){const _0x46497d=a0_0x11c145;this[_0x46497d(0x101)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x46497d(0xcf)]();}['render'](){const _0x36f95c=a0_0x11c145;return MetaApi[_0x36f95c(0xcd)](this);}[a0_0x11c145(0xf0)](_0x46873d){const _0x86f316=a0_0x11c145;if(!this['detailElement']){let _0x2edaa4=_0x46873d[_0x86f316(0xd6)]?_0x46873d[_0x86f316(0xd6)]:_0x86f316(0xfc),_0x5109eb='<'+_0x46873d[_0x86f316(0xcc)]+_0x86f316(0xe1)+_0x2edaa4+_0x86f316(0xd4)+_0x2edaa4+'\x22\x20route_name=\x22'+_0x46873d[_0x86f316(0x106)]+_0x86f316(0x109)+_0x46873d[_0x86f316(0xcc)]+'>';this[_0x86f316(0xce)]=UiUtil['htmlToElement'](_0x5109eb);}}['parseBasicGridConfigs'](_0x947f08){const _0x4b451a=a0_0x11c145;this[_0x4b451a(0xf3)]=_0x947f08[_0x4b451a(0xe4)],this[_0x4b451a(0xd1)]=_0x947f08[_0x4b451a(0xd7)],this[_0x4b451a(0xf5)]=_0x947f08[_0x4b451a(0xee)];}async[a0_0x11c145(0xf8)](){const _0x149a22=a0_0x11c145;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x149a22(0xdf)]=this[_0x149a22(0xc7)],this[_0x149a22(0xc7)]=!0x1,this[_0x149a22(0xe9)]=this[_0x149a22(0xed)][_0x149a22(0xcb)][_0x149a22(0x10c)](_0x1c3903=>_0x1c3903[_0x149a22(0x10c)])[_0x149a22(0x108)](_0x1bf1c4=>{const _0x356db3=_0x149a22;let _0x3fb059={'name':_0x1bf1c4[_0x356db3(0xd6)],'type':_0x1bf1c4['type'],'label':_0x1bf1c4[_0x356db3(0xde)],'operator':_0x1bf1c4[_0x356db3(0x10c)][_0x356db3(0xf4)]?_0x1bf1c4[_0x356db3(0x10c)][_0x356db3(0xf4)]:'eq'};return _0x1bf1c4[_0x356db3(0xf7)][_0x356db3(0xd3)]&&(_0x3fb059[_0x356db3(0xd3)]=_0x1bf1c4[_0x356db3(0xf7)][_0x356db3(0xd3)]),_0x3fb059;});}async['fetch'](){const _0x13d379=a0_0x11c145;await this['grist'][_0x13d379(0xe6)]();}async['beforeFetch']({page:_0x383bb7=0x0,limit:_0x2d0aa2=0x0,sortings:_0x169e48=[],filters:_0x25aa4d=[]}){const _0xbb2bec=a0_0x11c145;return this['detailElement']&&this[_0xbb2bec(0xce)][_0xbb2bec(0xc8)]&&await this['detailElement'][_0xbb2bec(0xc8)](),!0x0;}async['save'](){const _0x5c38eb=a0_0x11c145;let _0xcc6ed7=MetaApi[_0x5c38eb(0x107)](this[_0x5c38eb(0xf1)]);!!ValueUtil[_0x5c38eb(0xdc)](_0xcc6ed7)&&await this[_0x5c38eb(0x105)](_0xcc6ed7)&&this[_0x5c38eb(0xe6)]();}async[a0_0x11c145(0xef)](){const _0x2741cc=a0_0x11c145;let _0x5d7ac4=MetaApi['getSelectedIdList'](this[_0x2741cc(0xf1)],!0x0);return ValueUtil['isNotEmpty'](_0x5d7ac4)?await this[_0x2741cc(0xd0)](_0x5d7ac4[0x0]):{};}async[a0_0x11c145(0x10e)](){const _0x5172c5=a0_0x11c145;let _0x38c9a1=MetaApi[_0x5172c5(0xdb)](this[_0x5172c5(0xf1)],!0x0);!!ValueUtil[_0x5172c5(0xdc)](_0x38c9a1)&&await this[_0x5172c5(0xff)](_0x38c9a1)&&this[_0x5172c5(0xe6)]();}async[a0_0x11c145(0x111)](){const _0xc9129b=a0_0x11c145;let _0x5c7ec5=TermsUtil[_0xc9129b(0xca)](ValueUtil['getParams'](this['menuInfo'],_0xc9129b(0xea)));return await MetaApi[_0xc9129b(0xe7)](this[_0xc9129b(0xe5)],_0x5c7ec5,this[_0xc9129b(0xf1)]);}async[a0_0x11c145(0x10a)](){}};
@@ -1 +1 @@
1
- const a0_0x4b080f=a0_0x383f;function a0_0x383f(_0x3184b2,_0x4c7075){const _0x30a9bf=a0_0x30a9();return a0_0x383f=function(_0x383f40,_0x5844f4){_0x383f40=_0x383f40-0xb8;let _0x54ebb2=_0x30a9bf[_0x383f40];return _0x54ebb2;},a0_0x383f(_0x3184b2,_0x4c7075);}(function(_0x4946d7,_0x41564c){const _0x3640fb=a0_0x383f,_0x2dfd73=_0x4946d7();while(!![]){try{const _0x146a7d=-parseInt(_0x3640fb(0xe5))/0x1+-parseInt(_0x3640fb(0xd9))/0x2+-parseInt(_0x3640fb(0xbe))/0x3+parseInt(_0x3640fb(0xc1))/0x4*(parseInt(_0x3640fb(0xee))/0x5)+-parseInt(_0x3640fb(0xdc))/0x6*(parseInt(_0x3640fb(0xea))/0x7)+-parseInt(_0x3640fb(0xdd))/0x8*(parseInt(_0x3640fb(0xca))/0x9)+parseInt(_0x3640fb(0xde))/0xa*(parseInt(_0x3640fb(0xd8))/0xb);if(_0x146a7d===_0x41564c)break;else _0x2dfd73['push'](_0x2dfd73['shift']());}catch(_0x2416e9){_0x2dfd73['push'](_0x2dfd73['shift']());}}}(a0_0x30a9,0xd2e4c));function a0_0x30a9(){const _0x5a95ab=['isElement','list_func','1279075OMyRlY','lifecycle','split','filterForm','delete','10213gsKrJF','getPageNavigateParams','updateMultiple','pass','92930UtWfMc','keys','params','properties','query','find_one_func','parent_id','907038pdNuOC','searchByPagination','func','312pRwQYM','deleteListByIds','gql','getSelectColumns','filter','forEach','getParams','findOne','records','19773UwDxCX','map','beforeFetch','length','push','name','multiple','includes','skip_fields','mutation','gristConfigSet','formConfigSet','fetchHandler','afterFetch','33MQQZlS','1787388FzROJo','gqlInfo','isNotEmpty','2880vMcxmq','1360Wtyddu','9876790bLxyBu','after_set_fields','parseBasicServiceConfigs','columns','deleteByIds'];a0_0x30a9=function(){return _0x5a95ab;};return a0_0x30a9();}import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x15045f=>class extends MetaBaseMixin(_0x15045f){static get[a0_0x4b080f(0xba)](){return{'gqlInfo':Object};}[a0_0x4b080f(0xe0)](_0x401022){const _0xb1f661=a0_0x4b080f;this[_0xb1f661(0xda)]=_0x401022[_0xb1f661(0xc3)];}async[a0_0x4b080f(0xd6)]({page:_0x11d10e=0x0,limit:_0x170ff6=0x0,sortings:_0x40f42a=[],filters:_0x26d39e=[]}){const _0x10e57d=a0_0x4b080f;if(this[_0x10e57d(0xcc)]&&0x0==await this[_0x10e57d(0xcc)]({'page':_0x11d10e,'limit':_0x170ff6,'sortings':_0x40f42a,'filters':_0x26d39e}))return;if(!this[_0x10e57d(0xd4)])return{'total':0x0,'records':[]};let _0x34ab37=ValueUtil['isEmpty'](_0x26d39e)?await this[_0x10e57d(0xe8)]?.['getQueryFilters']()||[]:_0x26d39e,_0x3c0f47=ValueUtil[_0x10e57d(0xc7)](this[_0x10e57d(0xda)],'query',_0x10e57d(0xe4)),_0x1d2454=ValueUtil['getParams'](this['gqlInfo'],_0x10e57d(0xbb),'filters'),_0x58b4b3=ValueUtil[_0x10e57d(0xc7)](this[_0x10e57d(0xda)],_0x10e57d(0xbb),_0x10e57d(0xdf));if(ValueUtil[_0x10e57d(0xdb)](_0x1d2454)&&(_0x34ab37=adjustFilters(_0x34ab37,_0x1d2454)),_0x34ab37[_0x10e57d(0xce)](...this['getPageNavigateParams']()),this['isElement']){let _0x463574=ValueUtil[_0x10e57d(0xc7)](this[_0x10e57d(0xda)],'query',_0x10e57d(0xbd));ValueUtil[_0x10e57d(0xdb)](_0x463574)&&ValueUtil['isNotEmpty'](this['parent_id'])&&(_0x34ab37=adjustFilters(_0x34ab37,[{'name':_0x463574,'operator':'eq','value':this['parent_id']}]));}let _0x45c396=Object[_0x10e57d(0xb8)](_0x58b4b3||{}),_0x15233a=MetaApi[_0x10e57d(0xc4)](this[_0x10e57d(0xd4)][_0x10e57d(0xe1)][_0x10e57d(0xc5)](_0xc3345=>!_0x45c396[_0x10e57d(0xd1)](_0xc3345[_0x10e57d(0xcf)]))),_0xa8d971=await MetaApi[_0x10e57d(0xbf)](_0x3c0f47,_0x34ab37,_0x40f42a,_0x11d10e,_0x170ff6,_0x15233a);if(this[_0x10e57d(0xd7)]){let _0x1a41e2=await this[_0x10e57d(0xd7)]({'page':_0x11d10e,'limit':_0x170ff6,'sortings':_0x40f42a,'filters':_0x26d39e},_0xa8d971);if(_0x1a41e2)return _0x1a41e2;}return ValueUtil['isNotEmpty'](_0x58b4b3)&&ValueUtil['isNotEmpty'](_0xa8d971)&&ValueUtil[_0x10e57d(0xdb)](_0xa8d971[_0x10e57d(0xc9)])&&_0xa8d971[_0x10e57d(0xc9)][_0x10e57d(0xcb)](_0x3137ff=>(_0x45c396[_0x10e57d(0xc6)](_0x272bad=>{const _0x1e945e=_0x10e57d;_0x3137ff[_0x272bad]=ValueUtil[_0x1e945e(0xc7)](_0x3137ff,..._0x58b4b3[_0x272bad][_0x1e945e(0xe7)]('.'));}),_0x3137ff)),_0xa8d971;}[a0_0x4b080f(0xeb)](){const _0x5b1df0=a0_0x4b080f;if(0x0==this['isPage'])return[];let _0x5c0837=this[_0x5b1df0(0xe6)]?.['params']?this[_0x5b1df0(0xe6)][_0x5b1df0(0xb9)]:{};if(!_0x5c0837[_0x5b1df0(0xed)])return[];let _0x363f59=_0x5c0837[_0x5b1df0(0xed)],_0x58c303=JSON['parse'](_0x363f59),_0x3026e8=0x1==_0x58c303[_0x5b1df0(0xcd)]?'eq':'in',_0x40e4ba={},_0x382be2=[];return Object[_0x5b1df0(0xb8)](_0x58c303[0x0])[_0x5b1df0(0xc6)](_0x2092a0=>{_0x40e4ba[_0x2092a0]={'name':_0x2092a0,'operator':_0x3026e8,'value':'eq'===_0x3026e8?_0x58c303[0x0][_0x2092a0]:[]};}),_0x58c303[_0x5b1df0(0xcd)]>0x1&&_0x58c303[_0x5b1df0(0xc6)](_0x5549d0=>{const _0x2b6442=_0x5b1df0;Object[_0x2b6442(0xb8)](_0x5549d0)[_0x2b6442(0xc6)](_0x3060ca=>{const _0xebb5a9=_0x2b6442;_0x40e4ba[_0x3060ca]['value'][_0xebb5a9(0xce)](_0x5549d0[_0x3060ca]);});}),Object[_0x5b1df0(0xb8)](_0x40e4ba)[_0x5b1df0(0xc6)](_0x509a74=>{const _0x14391e=_0x5b1df0;_0x382be2[_0x14391e(0xce)](_0x40e4ba[_0x509a74]);}),_0x382be2;}async[a0_0x4b080f(0xc8)](_0x150972){const _0xe2852a=a0_0x4b080f;let _0x17dca6=ValueUtil['getParams'](this[_0xe2852a(0xda)],'query',_0xe2852a(0xbc)),_0x1dcdbb=ValueUtil[_0xe2852a(0xc7)](this[_0xe2852a(0xda)],_0xe2852a(0xbb),_0xe2852a(0xdf)),_0x3bcbc8=Object[_0xe2852a(0xb8)](_0x1dcdbb||{}),_0x1f9089=MetaApi['getSelectColumns']((this[_0xe2852a(0xd4)]?this[_0xe2852a(0xd4)]:{'columns':this[_0xe2852a(0xd5)]})[_0xe2852a(0xe1)][_0xe2852a(0xc5)](_0x4a254b=>!_0x3bcbc8[_0xe2852a(0xd1)](_0x4a254b[_0xe2852a(0xcf)]))),_0x5b81d1=await MetaApi[_0xe2852a(0xc8)](_0x17dca6,_0x150972,_0x1f9089);return ValueUtil[_0xe2852a(0xdb)](_0x1dcdbb)&&ValueUtil[_0xe2852a(0xdb)](_0x5b81d1)&&_0x3bcbc8[_0xe2852a(0xc6)](_0x1194cb=>{const _0x54a2c0=_0xe2852a;_0x5b81d1[_0x1194cb]=ValueUtil['getParams'](_0x5b81d1,..._0x1dcdbb[_0x1194cb][_0x54a2c0(0xe7)]('.'));}),_0x5b81d1;}async[a0_0x4b080f(0xe2)](_0x2ffa4c){const _0x217fce=a0_0x4b080f;let _0x58c8b3=ValueUtil[_0x217fce(0xc7)](this[_0x217fce(0xda)],_0x217fce(0xd3),_0x217fce(0xe9),_0x217fce(0xc0));return await MetaApi[_0x217fce(0xc2)](_0x2ffa4c,_0x58c8b3);}async[a0_0x4b080f(0xec)](_0x5eb0f0){const _0x182af5=a0_0x4b080f;let _0x1bc7ae=ValueUtil[_0x182af5(0xc7)](this[_0x182af5(0xda)],'mutation',_0x182af5(0xd0),_0x182af5(0xc0)),_0xa3c6cb=ValueUtil['getParams'](this[_0x182af5(0xda)],_0x182af5(0xd3),_0x182af5(0xd0),_0x182af5(0xd2));if(ValueUtil[_0x182af5(0xdb)](_0xa3c6cb)&&(_0xa3c6cb=_0xa3c6cb[_0x182af5(0xcb)](_0x4fe2f6=>_0x4fe2f6[_0x182af5(0xd1)]('.')?_0x4fe2f6['split']('.'):_0x4fe2f6),_0x5eb0f0=_0x5eb0f0[_0x182af5(0xcb)](_0xe6afc4=>(_0xa3c6cb[_0x182af5(0xc6)](_0x29086c=>{Array['isArray'](_0x29086c)?delete _0xe6afc4[_0x29086c[0x0]][_0x29086c[0x1]]:delete _0xe6afc4[_0x29086c];}),_0xe6afc4))),this[_0x182af5(0xe3)]&&ValueUtil[_0x182af5(0xdb)](this['parent_id'])){let _0x5731d6=ValueUtil[_0x182af5(0xc7)](this[_0x182af5(0xda)],'mutation',_0x182af5(0xd0),_0x182af5(0xbd));ValueUtil['isNotEmpty'](_0x5731d6)&&_0x5eb0f0[_0x182af5(0xc6)](_0x5e18bd=>{const _0x2dd3b2=_0x182af5;if(_0x5731d6[_0x2dd3b2(0xd1)]('.')){let _0x20d231=_0x5731d6[_0x2dd3b2(0xe7)]('.');_0x5e18bd[_0x20d231[0x0]]={},_0x5e18bd[_0x20d231[0x0]][_0x20d231[0x1]]=this[_0x2dd3b2(0xbd)];}else _0x5e18bd[_0x5731d6]=this['parent_id'];});}return await MetaApi[_0x182af5(0xec)](_0x1bc7ae,_0x5eb0f0);}};
1
+ const a0_0x2d4e44=a0_0x2957;(function(_0x86f08a,_0x1077df){const _0x2fdf77=a0_0x2957,_0x17b28a=_0x86f08a();while(!![]){try{const _0x1e7722=-parseInt(_0x2fdf77(0x11e))/0x1+-parseInt(_0x2fdf77(0x127))/0x2+-parseInt(_0x2fdf77(0xf2))/0x3*(-parseInt(_0x2fdf77(0x11a))/0x4)+parseInt(_0x2fdf77(0xf3))/0x5*(-parseInt(_0x2fdf77(0x120))/0x6)+parseInt(_0x2fdf77(0xff))/0x7+parseInt(_0x2fdf77(0x104))/0x8*(parseInt(_0x2fdf77(0xfb))/0x9)+parseInt(_0x2fdf77(0xf4))/0xa*(parseInt(_0x2fdf77(0x102))/0xb);if(_0x1e7722===_0x1077df)break;else _0x17b28a['push'](_0x17b28a['shift']());}catch(_0x4303b8){_0x17b28a['push'](_0x17b28a['shift']());}}}(a0_0x2095,0xa5a0e));function a0_0x2957(_0x4039e7,_0x1b2937){const _0x209564=a0_0x2095();return a0_0x2957=function(_0x2957e7,_0x5036f8){_0x2957e7=_0x2957e7-0xf2;let _0x3d2ebf=_0x209564[_0x2957e7];return _0x3d2ebf;},a0_0x2957(_0x4039e7,_0x1b2937);}import{adjustFilters}from'@operato/utils';function a0_0x2095(){const _0x2f54f4=['length','filter','beforeFetch','map','1125wGhgtA','lifecycle','getQueryFilters','columns','1683878pRSjgr','parse','getPageNavigateParams','3113QQQCsP','fetchHandler','7848ZeDvtS','filters','includes','gqlInfo','updateMultiple','deleteByIds','afterFetch','getParams','parent_id','getSelectColumns','query','params','searchByPagination','isNotEmpty','name','forEach','gristConfigSet','split','records','pass','multiple','findOne','31604TJRBSR','isElement','after_set_fields','mutation','1342098WJInsV','deleteListByIds','5262GUeheM','push','isEmpty','func','keys','properties','find_one_func','2049792HGwACP','87knJfXu','1405CLzUqF','95390PrMvVK','value','list_func'];a0_0x2095=function(){return _0x2f54f4;};return a0_0x2095();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x565eab=>class extends MetaBaseMixin(_0x565eab){static get[a0_0x2d4e44(0x125)](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x380811){const _0x1cdc6f=a0_0x2d4e44;this[_0x1cdc6f(0x107)]=_0x380811['gql'];}async[a0_0x2d4e44(0x103)]({page:_0x27d094=0x0,limit:_0x40ce82=0x0,sortings:_0x22bca8=[],filters:_0x3107fc=[]}){const _0x3e163a=a0_0x2d4e44;if(this[_0x3e163a(0xf9)]&&0x0==await this['beforeFetch']({'page':_0x27d094,'limit':_0x40ce82,'sortings':_0x22bca8,'filters':_0x3107fc}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x158de0=ValueUtil[_0x3e163a(0x122)](_0x3107fc)?await this['filterForm']?.[_0x3e163a(0xfd)]()||[]:_0x3107fc,_0xb63fd5=ValueUtil[_0x3e163a(0x10b)](this[_0x3e163a(0x107)],_0x3e163a(0x10e),_0x3e163a(0xf6)),_0x2699cf=ValueUtil[_0x3e163a(0x10b)](this[_0x3e163a(0x107)],_0x3e163a(0x10e),_0x3e163a(0x105)),_0x43cb43=ValueUtil['getParams'](this[_0x3e163a(0x107)],'query',_0x3e163a(0x11c));if(ValueUtil['isNotEmpty'](_0x2699cf)&&(_0x158de0=adjustFilters(_0x158de0,_0x2699cf)),_0x158de0['push'](...this[_0x3e163a(0x101)]()),this[_0x3e163a(0x11b)]){let _0x1aeea9=ValueUtil[_0x3e163a(0x10b)](this['gqlInfo'],_0x3e163a(0x10e),_0x3e163a(0x10c));ValueUtil[_0x3e163a(0x111)](_0x1aeea9)&&ValueUtil['isNotEmpty'](this[_0x3e163a(0x10c)])&&(_0x158de0=adjustFilters(_0x158de0,[{'name':_0x1aeea9,'operator':'eq','value':this[_0x3e163a(0x10c)]}]));}let _0x2ec30f=Object[_0x3e163a(0x124)](_0x43cb43||{}),_0x17b628=MetaApi[_0x3e163a(0x10d)](this[_0x3e163a(0x114)][_0x3e163a(0xfe)][_0x3e163a(0xf8)](_0x117386=>!_0x2ec30f['includes'](_0x117386['name']))),_0x347189=await MetaApi[_0x3e163a(0x110)](_0xb63fd5,_0x158de0,_0x22bca8,_0x27d094,_0x40ce82,_0x17b628);if(this[_0x3e163a(0x10a)]){let _0x52395d=await this['afterFetch']({'page':_0x27d094,'limit':_0x40ce82,'sortings':_0x22bca8,'filters':_0x3107fc},_0x347189);if(_0x52395d)return _0x52395d;}return ValueUtil[_0x3e163a(0x111)](_0x43cb43)&&ValueUtil[_0x3e163a(0x111)](_0x347189)&&ValueUtil['isNotEmpty'](_0x347189['records'])&&_0x347189[_0x3e163a(0x116)][_0x3e163a(0xfa)](_0x1ef412=>(_0x2ec30f[_0x3e163a(0x113)](_0x4181d1=>{const _0x133b9e=_0x3e163a;_0x1ef412[_0x4181d1]=ValueUtil[_0x133b9e(0x10b)](_0x1ef412,..._0x43cb43[_0x4181d1][_0x133b9e(0x115)]('.'));}),_0x1ef412)),_0x347189;}[a0_0x2d4e44(0x101)](){const _0x5bb4c9=a0_0x2d4e44;if(0x0==this['isPage'])return[];let _0x285f54=this[_0x5bb4c9(0xfc)]?.[_0x5bb4c9(0x10f)]?this[_0x5bb4c9(0xfc)][_0x5bb4c9(0x10f)]:{};if(!_0x285f54['pass'])return[];let _0x59db22=_0x285f54[_0x5bb4c9(0x117)],_0x9f8d04=JSON[_0x5bb4c9(0x100)](_0x59db22),_0xcbe2ef=0x1==_0x9f8d04['length']?'eq':'in',_0x37e7e7={},_0x5f56e8=[];return Object[_0x5bb4c9(0x124)](_0x9f8d04[0x0])[_0x5bb4c9(0x113)](_0xc4b1a6=>{_0x37e7e7[_0xc4b1a6]={'name':_0xc4b1a6,'operator':_0xcbe2ef,'value':'eq'===_0xcbe2ef?_0x9f8d04[0x0][_0xc4b1a6]:[]};}),_0x9f8d04[_0x5bb4c9(0xf7)]>0x1&&_0x9f8d04[_0x5bb4c9(0x113)](_0x1135f2=>{const _0x579fb1=_0x5bb4c9;Object[_0x579fb1(0x124)](_0x1135f2)[_0x579fb1(0x113)](_0x38f7f2=>{const _0x533f6f=_0x579fb1;_0x37e7e7[_0x38f7f2][_0x533f6f(0xf5)][_0x533f6f(0x121)](_0x1135f2[_0x38f7f2]);});}),Object['keys'](_0x37e7e7)[_0x5bb4c9(0x113)](_0x5c312f=>{const _0x26648b=_0x5bb4c9;_0x5f56e8[_0x26648b(0x121)](_0x37e7e7[_0x5c312f]);}),_0x5f56e8;}async[a0_0x2d4e44(0x119)](_0x26ff35){const _0x38c9f4=a0_0x2d4e44;let _0x2355b5=ValueUtil[_0x38c9f4(0x10b)](this[_0x38c9f4(0x107)],'query',_0x38c9f4(0x126)),_0x3862ce=ValueUtil[_0x38c9f4(0x10b)](this[_0x38c9f4(0x107)],_0x38c9f4(0x10e),_0x38c9f4(0x11c)),_0xdf23ea=Object['keys'](_0x3862ce||{}),_0x2a0f9d=MetaApi[_0x38c9f4(0x10d)]((this['gristConfigSet']?this[_0x38c9f4(0x114)]:{'columns':this['formConfigSet']})['columns'][_0x38c9f4(0xf8)](_0x3850c9=>!_0xdf23ea['includes'](_0x3850c9[_0x38c9f4(0x112)]))),_0x16c57a=await MetaApi[_0x38c9f4(0x119)](_0x2355b5,_0x26ff35,_0x2a0f9d);return ValueUtil[_0x38c9f4(0x111)](_0x3862ce)&&ValueUtil[_0x38c9f4(0x111)](_0x16c57a)&&_0xdf23ea[_0x38c9f4(0x113)](_0x1c2183=>{const _0x3b2f8e=_0x38c9f4;_0x16c57a[_0x1c2183]=ValueUtil[_0x3b2f8e(0x10b)](_0x16c57a,..._0x3862ce[_0x1c2183][_0x3b2f8e(0x115)]('.'));}),_0x16c57a;}async[a0_0x2d4e44(0x109)](_0x1d141a){const _0x561df7=a0_0x2d4e44;let _0xc76f44=ValueUtil[_0x561df7(0x10b)](this[_0x561df7(0x107)],_0x561df7(0x11d),'delete',_0x561df7(0x123));return await MetaApi[_0x561df7(0x11f)](_0x1d141a,_0xc76f44);}async[a0_0x2d4e44(0x108)](_0x2f300d){const _0x4df078=a0_0x2d4e44;let _0x1a5b41=ValueUtil[_0x4df078(0x10b)](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),_0x4df078(0x123)),_0x2a5cee=ValueUtil[_0x4df078(0x10b)](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),'skip_fields');if(ValueUtil[_0x4df078(0x111)](_0x2a5cee)&&(_0x2a5cee=_0x2a5cee[_0x4df078(0xfa)](_0x8fc37a=>_0x8fc37a[_0x4df078(0x106)]('.')?_0x8fc37a['split']('.'):_0x8fc37a),_0x2f300d=_0x2f300d[_0x4df078(0xfa)](_0x56f543=>(_0x2a5cee[_0x4df078(0x113)](_0x79a722=>{Array['isArray'](_0x79a722)?delete _0x56f543[_0x79a722[0x0]][_0x79a722[0x1]]:delete _0x56f543[_0x79a722];}),_0x56f543))),this['isElement']&&ValueUtil[_0x4df078(0x111)](this[_0x4df078(0x10c)])){let _0x56a9bc=ValueUtil['getParams'](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),_0x4df078(0x10c));ValueUtil[_0x4df078(0x111)](_0x56a9bc)&&_0x2f300d['forEach'](_0x13ff75=>{const _0x451bbe=_0x4df078;if(_0x56a9bc[_0x451bbe(0x106)]('.')){let _0x5da4a0=_0x56a9bc['split']('.');_0x13ff75[_0x5da4a0[0x0]]={},_0x13ff75[_0x5da4a0[0x0]][_0x5da4a0[0x1]]=this[_0x451bbe(0x10c)];}else _0x13ff75[_0x56a9bc]=this[_0x451bbe(0x10c)];});}return await MetaApi[_0x4df078(0x108)](_0x1a5b41,_0x2f300d);}};
@@ -1 +1 @@
1
- const a0_0x2eea4c=a0_0x176b;(function(_0xa351fa,_0x5e34ed){const _0xc98fa7=a0_0x176b,_0x32089f=_0xa351fa();while(!![]){try{const _0x21276c=-parseInt(_0xc98fa7(0x1e6))/0x1*(-parseInt(_0xc98fa7(0x1f6))/0x2)+parseInt(_0xc98fa7(0x1ea))/0x3*(-parseInt(_0xc98fa7(0x1ec))/0x4)+parseInt(_0xc98fa7(0x1e4))/0x5*(parseInt(_0xc98fa7(0x1f0))/0x6)+-parseInt(_0xc98fa7(0x1e1))/0x7+parseInt(_0xc98fa7(0x1ed))/0x8*(parseInt(_0xc98fa7(0x1f4))/0x9)+parseInt(_0xc98fa7(0x1e2))/0xa*(-parseInt(_0xc98fa7(0x1eb))/0xb)+parseInt(_0xc98fa7(0x1f9))/0xc;if(_0x21276c===_0x5e34ed)break;else _0x32089f['push'](_0x32089f['shift']());}catch(_0x1ff219){_0x32089f['push'](_0x32089f['shift']());}}}(a0_0x49c2,0x29a63));import{MetaApi}from'../utils/meta-api';function a0_0x49c2(){const _0x30ab4a=['render','length','properties','getAndParseMenuMeta','1720306ECetLg','100BQGqcD','tabRenderConfig','15185QPbmVx','getContextObject','135693unikWD','keys','tab','clear','79899xTUBLY','251328giHddO','4QTssDu','117288ipjoEO','pageInitialized','tabElements','126doNRSP','connectedCallback','parseBasicTabConfigs','getBasicTabHtml','9MoBtSM','firstUpdated','2JHSXsG','currentTabKey','styles','5488020FJUrlZ'];a0_0x49c2=function(){return _0x30ab4a;};return a0_0x49c2();}function a0_0x176b(_0x1c627e,_0x294c9b){const _0x49c244=a0_0x49c2();return a0_0x176b=function(_0x176bf4,_0x280c65){_0x176bf4=_0x176bf4-0x1e0;let _0x2eb558=_0x49c244[_0x176bf4];return _0x2eb558;},a0_0x176b(_0x1c627e,_0x294c9b);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x14c053=>class extends MetaButtonMixin(_0x14c053){static get[a0_0x2eea4c(0x1f8)](){return MetaApi['getBasicTabStyles']();}static get[a0_0x2eea4c(0x1fc)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x3fe015=a0_0x2eea4c;return MetaUiUtil[_0x3fe015(0x1e5)](this);}async[a0_0x2eea4c(0x1f1)](){const _0x50faf3=a0_0x2eea4c;this[_0x50faf3(0x1f7)]=void 0x0,await this[_0x50faf3(0x1e0)](),super[_0x50faf3(0x1f1)]&&await super[_0x50faf3(0x1f1)]();}async['firstUpdated'](){const _0x31264e=a0_0x2eea4c;super['firstUpdated']&&await super[_0x31264e(0x1f5)]();}async[a0_0x2eea4c(0x1ee)](){const _0x3a7696=a0_0x2eea4c;super[_0x3a7696(0x1ee)]&&await super[_0x3a7696(0x1ee)]();}[a0_0x2eea4c(0x1fa)](){const _0x4038d7=a0_0x2eea4c;return MetaApi[_0x4038d7(0x1f3)](this);}[a0_0x2eea4c(0x1f2)](_0x52c734){const _0x511b9f=a0_0x2eea4c;this[_0x511b9f(0x1e3)]=_0x52c734[_0x511b9f(0x1e8)],_0x52c734['button']=[];}async['clear'](){const _0xa9bfde=a0_0x2eea4c;if(this[_0xa9bfde(0x1ef)]){let _0x345262=Object[_0xa9bfde(0x1e7)](this[_0xa9bfde(0x1ef)]);for(var _0x5b3d7c=0x0;_0x5b3d7c<_0x345262[_0xa9bfde(0x1fb)];_0x5b3d7c++)await this['tabElements'][_0x345262[_0x5b3d7c]][_0xa9bfde(0x1e9)]();}}};
1
+ const a0_0x437ea8=a0_0x3b2e;(function(_0x4ac244,_0xeee98d){const _0x14e2e3=a0_0x3b2e,_0xd10ab1=_0x4ac244();while(!![]){try{const _0x151a9f=parseInt(_0x14e2e3(0x1ba))/0x1*(parseInt(_0x14e2e3(0x1a8))/0x2)+-parseInt(_0x14e2e3(0x1b6))/0x3+-parseInt(_0x14e2e3(0x1ad))/0x4+-parseInt(_0x14e2e3(0x1b1))/0x5*(parseInt(_0x14e2e3(0x1ab))/0x6)+-parseInt(_0x14e2e3(0x1af))/0x7+parseInt(_0x14e2e3(0x1b2))/0x8*(parseInt(_0x14e2e3(0x1a4))/0x9)+parseInt(_0x14e2e3(0x1b8))/0xa;if(_0x151a9f===_0xeee98d)break;else _0xd10ab1['push'](_0xd10ab1['shift']());}catch(_0x40d683){_0xd10ab1['push'](_0xd10ab1['shift']());}}}(a0_0x1602,0xdc1b2));import{MetaApi}from'../utils/meta-api';function a0_0x1602(){const _0x3422b8=['67356StXnFu','getBasicTabStyles','10975118oBhuqo','properties','45mMfWFc','304KpXTqg','tabElements','currentTabKey','getBasicTabHtml','1966602gQxQjd','context','26101600mWuWOZ','firstUpdated','46302SeWAws','connectedCallback','clear','getAndParseMenuMeta','255861rmQsgi','parseBasicTabConfigs','pageInitialized','render','26LRARKO','keys','tab','767058RoPNMO','styles'];a0_0x1602=function(){return _0x3422b8;};return a0_0x1602();}import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3b2e(_0x335547,_0x6da9f1){const _0x16023f=a0_0x1602();return a0_0x3b2e=function(_0x3b2ee9,_0x22dae8){_0x3b2ee9=_0x3b2ee9-0x1a4;let _0x3be297=_0x16023f[_0x3b2ee9];return _0x3be297;},a0_0x3b2e(_0x335547,_0x6da9f1);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x10d77d=>class extends MetaButtonMixin(_0x10d77d){static get[a0_0x437ea8(0x1ac)](){const _0x1d2066=a0_0x437ea8;return MetaApi[_0x1d2066(0x1ae)]();}static get[a0_0x437ea8(0x1b0)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x437ea8(0x1b7)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x32e167=a0_0x437ea8;this[_0x32e167(0x1b4)]=void 0x0,await this[_0x32e167(0x1bd)](),super['connectedCallback']&&await super[_0x32e167(0x1bb)]();}async[a0_0x437ea8(0x1b9)](){const _0x3d5657=a0_0x437ea8;super[_0x3d5657(0x1b9)]&&await super[_0x3d5657(0x1b9)]();}async[a0_0x437ea8(0x1a6)](){super['pageInitialized']&&await super['pageInitialized']();}[a0_0x437ea8(0x1a7)](){const _0x1ae397=a0_0x437ea8;return MetaApi[_0x1ae397(0x1b5)](this);}[a0_0x437ea8(0x1a5)](_0x3e1a4b){const _0x1a7c6f=a0_0x437ea8;this['tabRenderConfig']=_0x3e1a4b[_0x1a7c6f(0x1aa)],_0x3e1a4b['button']=[];}async[a0_0x437ea8(0x1bc)](){const _0xf1f0ba=a0_0x437ea8;if(this[_0xf1f0ba(0x1b3)]){let _0x296d1a=Object[_0xf1f0ba(0x1a9)](this['tabElements']);for(var _0x5dff6e=0x0;_0x5dff6e<_0x296d1a['length'];_0x5dff6e++)await this[_0xf1f0ba(0x1b3)][_0x296d1a[_0x5dff6e]]['clear']();}}};
@@ -0,0 +1,51 @@
1
+ var a0_0x569aa6=a0_0x1b0e;(function(_0x47edde,_0x2b7613){var _0x221993=a0_0x1b0e,_0x4b184c=_0x47edde();while(!![]){try{var _0x268001=parseInt(_0x221993(0x102))/0x1*(-parseInt(_0x221993(0x105))/0x2)+parseInt(_0x221993(0xfb))/0x3+parseInt(_0x221993(0xf9))/0x4*(-parseInt(_0x221993(0xfe))/0x5)+parseInt(_0x221993(0x104))/0x6+parseInt(_0x221993(0x10a))/0x7+parseInt(_0x221993(0x101))/0x8+parseInt(_0x221993(0xf7))/0x9*(-parseInt(_0x221993(0x109))/0xa);if(_0x268001===_0x2b7613)break;else _0x4b184c['push'](_0x4b184c['shift']());}catch(_0x564961){_0x4b184c['push'](_0x4b184c['shift']());}}}(a0_0x5cae,0xbc056));import{css,html}from'lit-element';function a0_0x5cae(){var _0x450d2d=['customElements','tText','95MomUvg','meta-activity-list-page','context','10666728itnqXh','398049ZojNYW','define','6554250bXICAD','4NsAWij','please\x20wait','render','styles','27135760LCDeQt','9510914YrjeKp','9XzAtKk','Loading\x20...','1928CXLzyQ','loading\x20page','1513644IELZII'];a0_0x5cae=function(){return _0x450d2d;};return a0_0x5cae();}function a0_0x1b0e(_0x370fda,_0x1d36d5){var _0x5cae9f=a0_0x5cae();return a0_0x1b0e=function(_0x1b0e8b,_0x1a053e){_0x1b0e8b=_0x1b0e8b-0xf7;var _0x2ec02b=_0x5cae9f[_0x1b0e8b];return _0x2ec02b;},a0_0x1b0e(_0x370fda,_0x1d36d5);}import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{TermsUtil}from'./../../utils/terms-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x569aa6(0x108)](){return[css`
2
+ :host {
3
+ display: block;
4
+ background-color: var(--main-section-background-color);
5
+ padding: var(--padding-wide);
6
+ overflow: auto;
7
+ }
8
+ h2 {
9
+ margin: var(--title-margin);
10
+ font: var(--title-font);
11
+ color: var(--title-text-color);
12
+ }
13
+ input {
14
+ display: block;
15
+ }
16
+ [page-description] {
17
+ margin: var(--page-description-margin);
18
+ font: var(--page-description-font);
19
+ color: var(--page-description-color);
20
+ }
21
+ [button-primary] {
22
+ background-color: var(--button-primary-background-color);
23
+ border: var(--button-border);
24
+ border-radius: var(--button-border-radius);
25
+ padding: var(--button-padding);
26
+ color: var(--button-primary-color);
27
+ font: var(--button-primary-font);
28
+ text-transform: var(--button-text-transform);
29
+ text-decoration: none;
30
+ }
31
+ [button-primary]:hover {
32
+ background-color: var(--button-primary-active-background-color);
33
+ box-shadow: var(--button-active-box-shadow);
34
+ }
35
+ img {
36
+ max-width: 45%;
37
+ float: right;
38
+ }
39
+ @media screen and (max-width: 600px) {
40
+ img {
41
+ display: none;
42
+ }
43
+ }
44
+ `];}get[a0_0x569aa6(0x100)](){var _0x1e162f=a0_0x569aa6;return{'title':_0x1e162f(0xf8),'actions':[]};}[a0_0x569aa6(0x107)](){var _0x1b2173=a0_0x569aa6;return html`
45
+ <h2>${TermsUtil[_0x1b2173(0xfd)](_0x1b2173(0xfa))}</h2>
46
+ <p page-description>
47
+ ${TermsUtil[_0x1b2173(0xfd)](_0x1b2173(0x106))}
48
+ </p>
49
+
50
+ <img src="/assets/images/loading-page.png" />
51
+ `;}}window[a0_0x569aa6(0xfc)][a0_0x569aa6(0x103)](a0_0x569aa6(0xff),MetaActivityListPage);
@@ -1 +1 @@
1
- function a0_0x4bc1(_0x2227b3,_0x2c24ff){var _0x294422=a0_0x2944();return a0_0x4bc1=function(_0x4bc1fd,_0x541079){_0x4bc1fd=_0x4bc1fd-0xeb;var _0x341080=_0x294422[_0x4bc1fd];return _0x341080;},a0_0x4bc1(_0x2227b3,_0x2c24ff);}var a0_0x1633ef=a0_0x4bc1;(function(_0x18620b,_0x5dd821){var _0x155a43=a0_0x4bc1,_0x5caeea=_0x18620b();while(!![]){try{var _0x56447b=parseInt(_0x155a43(0xf6))/0x1*(parseInt(_0x155a43(0xf1))/0x2)+parseInt(_0x155a43(0xef))/0x3*(parseInt(_0x155a43(0xed))/0x4)+parseInt(_0x155a43(0xf7))/0x5*(parseInt(_0x155a43(0xf2))/0x6)+-parseInt(_0x155a43(0xf3))/0x7*(parseInt(_0x155a43(0xf4))/0x8)+parseInt(_0x155a43(0xeb))/0x9+-parseInt(_0x155a43(0xf5))/0xa+-parseInt(_0x155a43(0xee))/0xb;if(_0x56447b===_0x5dd821)break;else _0x5caeea['push'](_0x5caeea['shift']());}catch(_0x1e1a23){_0x5caeea['push'](_0x5caeea['shift']());}}}(a0_0x2944,0x43fc5));import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x2944(){var _0x369d78=['7uYBXfo','1087976XyEYDy','2284960QqpkXy','258073bzHLUl','159910YErEUr','3407733rAWlik','define','3092dvlQgi','3751143fSsxrP','603WfrgBY','meta-activity-viewer-element','2WYpWDS','36SJLDga'];a0_0x2944=function(){return _0x369d78;};return a0_0x2944();}import{MetaBasicGristMixin}from'./../../mixin/meta-basic-grist-mixin';export class MetaActivityViewerElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements[a0_0x1633ef(0xec)](a0_0x1633ef(0xf0),MetaActivityViewerElement);
1
+ (function(_0x23794f,_0x2cb5ca){var _0x42e15b=a0_0x1835,_0x256add=_0x23794f();while(!![]){try{var _0x3be9a1=parseInt(_0x42e15b(0x12a))/0x1+-parseInt(_0x42e15b(0x129))/0x2+parseInt(_0x42e15b(0x127))/0x3+-parseInt(_0x42e15b(0x12d))/0x4+parseInt(_0x42e15b(0x128))/0x5*(-parseInt(_0x42e15b(0x12e))/0x6)+parseInt(_0x42e15b(0x12b))/0x7+parseInt(_0x42e15b(0x126))/0x8*(parseInt(_0x42e15b(0x12c))/0x9);if(_0x3be9a1===_0x2cb5ca)break;else _0x256add['push'](_0x256add['shift']());}catch(_0x12f70b){_0x256add['push'](_0x256add['shift']());}}}(a0_0x2033,0x29950));function a0_0x1835(_0x772f82,_0x2bac14){var _0x203354=a0_0x2033();return a0_0x1835=function(_0x1835dc,_0x497d2b){_0x1835dc=_0x1835dc-0x126;var _0x17cea2=_0x203354[_0x1835dc];return _0x17cea2;},a0_0x1835(_0x772f82,_0x2bac14);}import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x2033(){var _0x43a4d0=['658557hxOxUS','15yVKYlk','132746QPRDsK','243327WNNCXr','298130lmyciG','603lmfhrw','852780uGjOBG','234510nPCwLR','7368yvAguj'];a0_0x2033=function(){return _0x43a4d0;};return a0_0x2033();}import{MetaBasicGristMixin}from'./../../mixin/meta-basic-grist-mixin';export class MetaActivityViewerElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements['define']('meta-activity-viewer-element',MetaActivityViewerElement);
@@ -1,4 +1,4 @@
1
- const a0_0x37b2b0=a0_0x438c;(function(_0x3dadb9,_0x806614){const _0x265be1=a0_0x438c,_0x2c90b6=_0x3dadb9();while(!![]){try{const _0x322f09=-parseInt(_0x265be1(0x122))/0x1*(parseInt(_0x265be1(0x125))/0x2)+parseInt(_0x265be1(0x111))/0x3*(parseInt(_0x265be1(0x124))/0x4)+parseInt(_0x265be1(0x110))/0x5+-parseInt(_0x265be1(0x119))/0x6*(parseInt(_0x265be1(0x115))/0x7)+-parseInt(_0x265be1(0x116))/0x8*(parseInt(_0x265be1(0x117))/0x9)+-parseInt(_0x265be1(0x126))/0xa+parseInt(_0x265be1(0x11f))/0xb;if(_0x322f09===_0x806614)break;else _0x2c90b6['push'](_0x2c90b6['shift']());}catch(_0x194e3b){_0x2c90b6['push'](_0x2c90b6['shift']());}}}(a0_0x4a80,0xdc84f));import a0_0x35e14d from'graphql-tag';import{css,LitElement}from'lit';function a0_0x4a80(){const _0x4e2d38=['menu_routing','log','259tlQCgY','11392tHycCd','6660GAKVpN','activity','10074aeraQW','connectedCallback','forEach','query','findMenuMetaByRouting','input','19743636ZBwcJS','getActivity','getMenuInfo','86fRqASQ','output','739744pqLQAA','13894vhImuq','6021510FEjPZh','properties','model','menuRouting','646475LHhpWN','21YCAJnA','activityId'];a0_0x4a80=function(){return _0x4e2d38;};return a0_0x4a80();}import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';function a0_0x438c(_0x638d26,_0x598616){const _0x4a808b=a0_0x4a80();return a0_0x438c=function(_0x438cb0,_0x335018){_0x438cb0=_0x438cb0-0x10e;let _0x37ea82=_0x4a808b[_0x438cb0];return _0x37ea82;},a0_0x438c(_0x638d26,_0x598616);}import{MetaUiUtil}from'./../../utils/meta-ui-util';export class MetaActivityWriterElement extends localize(i18next)(LitElement){static get[a0_0x37b2b0(0x127)](){return{'activityId':String,'input':Object,'output':Object};}async[a0_0x37b2b0(0x11a)](){const _0x1b43f1=a0_0x37b2b0;console[_0x1b43f1(0x114)](_0x1b43f1(0x112),this[_0x1b43f1(0x112)]),console[_0x1b43f1(0x114)]('input',this[_0x1b43f1(0x11e)]),console['log'](_0x1b43f1(0x123),this[_0x1b43f1(0x123)]),await this[_0x1b43f1(0x120)]();}async[a0_0x37b2b0(0x120)](){const _0x28dd59=a0_0x37b2b0,_0x41e6a3=await client[_0x28dd59(0x11c)]({'query':a0_0x35e14d`
1
+ function a0_0x11c2(){const _0x8a8789=['log','menuRouting','4615331YIoPDi','input','meta-activity-writer-element','menu_routing','name','activity','properties','40746bPuuVJ','forEach','52EeZbJB','20188260CITqqp','activityId','38iJFQCH','1220wlzRWe','getActivity','query','description','define','model','270471UdKRtg','1396935XMXouo','88430FAJpeK','data','6801696mwUBUA','getMenuInfo'];a0_0x11c2=function(){return _0x8a8789;};return a0_0x11c2();}const a0_0x3aab23=a0_0x328a;(function(_0x51b1c0,_0x32589a){const _0x5306fc=a0_0x328a,_0x175bd5=_0x51b1c0();while(!![]){try{const _0x5e4314=parseInt(_0x5306fc(0x195))/0x1*(-parseInt(_0x5306fc(0x18c))/0x2)+parseInt(_0x5306fc(0x193))/0x3*(-parseInt(_0x5306fc(0x189))/0x4)+parseInt(_0x5306fc(0x18d))/0x5*(parseInt(_0x5306fc(0x187))/0x6)+-parseInt(_0x5306fc(0x180))/0x7+parseInt(_0x5306fc(0x197))/0x8+-parseInt(_0x5306fc(0x194))/0x9+parseInt(_0x5306fc(0x18a))/0xa;if(_0x5e4314===_0x32589a)break;else _0x175bd5['push'](_0x175bd5['shift']());}catch(_0x282a52){_0x175bd5['push'](_0x175bd5['shift']());}}}(a0_0x11c2,0xd1c93));import a0_0x3175dc from'graphql-tag';import{css,LitElement}from'lit';import{client}from'@operato/graphql';function a0_0x328a(_0x5ef4d8,_0x1ae90b){const _0x11c260=a0_0x11c2();return a0_0x328a=function(_0x328ab1,_0xf95152){_0x328ab1=_0x328ab1-0x17d;let _0x47fd2f=_0x11c260[_0x328ab1];return _0x47fd2f;},a0_0x328a(_0x5ef4d8,_0x1ae90b);}import{i18next,localize}from'@operato/i18n';import{MetaUiUtil}from'./../../utils/meta-ui-util';export class MetaActivityWriterElement extends localize(i18next)(LitElement){static get[a0_0x3aab23(0x186)](){return{'activityId':String,'input':Object,'output':Object};}async['connectedCallback'](){const _0xaef39d=a0_0x3aab23;console[_0xaef39d(0x17e)](_0xaef39d(0x18b),this['activityId']),console[_0xaef39d(0x17e)](_0xaef39d(0x181),this[_0xaef39d(0x181)]),console[_0xaef39d(0x17e)]('output',this['output']),await this['getActivity']();}async[a0_0x3aab23(0x18e)](){const _0x5cdc46=a0_0x3aab23,_0x1c32e3=await client[_0x5cdc46(0x18f)]({'query':a0_0x3175dc`
2
2
  query activity($id: String!) {
3
3
  activity(id: $id) {
4
4
  id
@@ -16,4 +16,4 @@ const a0_0x37b2b0=a0_0x438c;(function(_0x3dadb9,_0x806614){const _0x265be1=a0_0x
16
16
  }
17
17
  }
18
18
  }
19
- `,'variables':{'id':this[_0x28dd59(0x112)]}});this['activity']=_0x41e6a3['data'][_0x28dd59(0x118)];let _0x2bc0c0='';this[_0x28dd59(0x118)][_0x28dd59(0x10e)]?.[_0x28dd59(0x11b)](_0x4e5ba2=>{const _0x8ff361=_0x28dd59;_0x8ff361(0x113)==_0x4e5ba2['name']&&(_0x2bc0c0=_0x4e5ba2['description']);}),this[_0x28dd59(0x10f)]=_0x2bc0c0,await this[_0x28dd59(0x121)](_0x2bc0c0);}async['getMenuInfo'](_0x5a93f4){const _0x2e20cd=a0_0x37b2b0;let _0x479d93=await MetaUiUtil[_0x2e20cd(0x11d)](_0x5a93f4);console[_0x2e20cd(0x114)](_0x479d93);}}customElements['define']('meta-activity-writer-element',MetaActivityWriterElement);
19
+ `,'variables':{'id':this[_0x5cdc46(0x18b)]}});this[_0x5cdc46(0x185)]=_0x1c32e3[_0x5cdc46(0x196)][_0x5cdc46(0x185)];let _0x5c1e3a='';this[_0x5cdc46(0x185)][_0x5cdc46(0x192)]?.[_0x5cdc46(0x188)](_0x456d21=>{const _0x26c9ff=_0x5cdc46;_0x26c9ff(0x183)==_0x456d21[_0x26c9ff(0x184)]&&(_0x5c1e3a=_0x456d21[_0x26c9ff(0x190)]);}),this[_0x5cdc46(0x17f)]=_0x5c1e3a,await this['getMenuInfo'](_0x5c1e3a);}async[a0_0x3aab23(0x17d)](_0x1d575d){const _0x355abd=a0_0x3aab23;let _0x450db1=await MetaUiUtil['findMenuMetaByRouting'](_0x1d575d);console[_0x355abd(0x17e)](_0x450db1);}}customElements[a0_0x3aab23(0x191)](a0_0x3aab23(0x182),MetaActivityWriterElement);