@things-factory/meta-ui 6.0.1 → 6.0.3

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 (44) hide show
  1. package/client/actions/main.js +3 -3
  2. package/client/mixin/meta-base-mixin.js +1 -1
  3. package/client/mixin/meta-basic-grist-mixin.js +3 -3
  4. package/client/mixin/meta-button-mixin.js +1 -1
  5. package/client/mixin/meta-form-mixin.js +1 -1
  6. package/client/mixin/meta-grist-tab-mixin.js +9 -9
  7. package/client/mixin/meta-service-mixin.js +1 -1
  8. package/client/mixin/meta-tab-mixin.js +1 -1
  9. package/client/pages/entity/config-entity.js +29 -29
  10. package/client/pages/entity/main-menu-selector.js +8 -8
  11. package/client/pages/loading-page.js +5 -5
  12. package/client/pages/menu/dynamic-menu-template.js +7 -7
  13. package/client/pages/menu/dynamic-menu.js +14 -14
  14. package/client/pages/meta-form-element.js +1 -1
  15. package/client/pages/meta-grist-element.js +1 -1
  16. package/client/pages/meta-grist-page.js +1 -1
  17. package/client/pages/meta-grist-tab-page.js +1 -1
  18. package/client/pages/meta-tab-element.js +1 -1
  19. package/client/pages/personalize/personal-column-selector.js +11 -11
  20. package/client/pages/terms/config-terminology.js +6 -6
  21. package/client/reducers/main.js +1 -1
  22. package/client/utils/meta-api.js +1 -1
  23. package/client/utils/meta-crypto.js +1 -1
  24. package/client/utils/meta-ui-util.js +60 -60
  25. package/client/utils/service-util.js +12 -12
  26. package/client/utils/terms-util.js +2 -2
  27. package/client/utils/ui-util.js +1 -1
  28. package/client/utils/value-util.js +1 -1
  29. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  30. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  31. package/client/viewparts/dynamic-menu-part.js +6 -6
  32. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  33. package/client/viewparts/dynamic-menu-portrait.js +10 -10
  34. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  35. package/dist-server/constants/error-code.js +1 -1
  36. package/dist-server/errors/license-error.js +1 -1
  37. package/dist-server/routes.js +1 -1
  38. package/dist-server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  39. package/dist-server/service/grid-personalize/grid-personalize-query.js +1 -1
  40. package/dist-server/service/grid-personalize/grid-personalize-type.js +1 -1
  41. package/dist-server/service/grid-personalize/grid-personalize.js +1 -1
  42. package/dist-server/service/meta-secret/meta-resolver.js +1 -1
  43. package/dist-server/service/set-translations/set-translation-resolver.js +1 -1
  44. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- const a0_0x4cedae=a0_0xb39f;(function(_0x3ed36d,_0x5f12a3){const _0xd1de5c=a0_0xb39f,_0x358b9a=_0x3ed36d();while(!![]){try{const _0x2291d1=-parseInt(_0xd1de5c(0x19d))/0x1+parseInt(_0xd1de5c(0x1af))/0x2+-parseInt(_0xd1de5c(0x1ad))/0x3*(parseInt(_0xd1de5c(0x1a2))/0x4)+-parseInt(_0xd1de5c(0x1a5))/0x5*(-parseInt(_0xd1de5c(0x1a9))/0x6)+-parseInt(_0xd1de5c(0x1a6))/0x7*(-parseInt(_0xd1de5c(0x1aa))/0x8)+-parseInt(_0xd1de5c(0x1a3))/0x9*(-parseInt(_0xd1de5c(0x1a0))/0xa)+-parseInt(_0xd1de5c(0x1b0))/0xb*(parseInt(_0xd1de5c(0x1ae))/0xc);if(_0x2291d1===_0x5f12a3)break;else _0x358b9a['push'](_0x358b9a['shift']());}catch(_0x5f3f95){_0x358b9a['push'](_0x358b9a['shift']());}}}(a0_0x18f2,0x8fc51));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import{html}from'lit';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0xb39f(_0x2e28d5,_0x38b295){const _0x18f25c=a0_0x18f2();return a0_0xb39f=function(_0xb39ff8,_0x306e73){_0xb39ff8=_0xb39ff8-0x19d;let _0x3de53b=_0x18f25c[_0xb39ff8];return _0x3de53b;},a0_0xb39f(_0x2e28d5,_0x38b295);}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';function a0_0x18f2(){const _0x172e2b=['446030VfLliu','637NNZgWC','value','portrait','78Zmhpet','92408OPlkmP','UPDATE_META_MENU_TEMPLATE','get','34644kqkvjO','387252zUuSuR','1260452YfFrXO','517FChdGM','hamburger','NAVBAR','dynamic-menu-part','dynamic-menu','677638JNAhPu','HEADERBAR','landscape','10IGmjYD','FRONT_END','44sxNfLk','623151GlOTth','dispatch'];a0_0x18f2=function(){return _0x172e2b;};return a0_0x18f2();}export const UPDATE_META_UI='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE=a0_0x4cedae(0x1ab);var HAMBURGER;export async function setupMenuPart(_0x3dc933){const _0x3bdb6f=a0_0x4cedae;var {hovering:_0x35c2d0=!!isMobileDevice(),slotTemplate:_0x54bc22,portraitSlotTemplate:_0x51bfa1,landscapeSlotTemplate:_0x266c96,position:_0x18d345=VIEWPART_POSITION[_0x3bdb6f(0x1b2)]}=_0x3dc933||{};const {hovering:_0x4182e6}=(await clientSettingStore[_0x3bdb6f(0x1ac)](_0x3bdb6f(0x1b4)))?.[_0x3bdb6f(0x1a7)]||{};void 0x0!==_0x4182e6&&(_0x35c2d0=_0x4182e6);const _0x4095c3=_0x18d345==VIEWPART_POSITION[_0x3bdb6f(0x19e)]?_0x3bdb6f(0x19f):_0x3bdb6f(0x1a8),_0x4ea910=('landscape'==_0x4095c3?_0x266c96:_0x51bfa1)||_0x54bc22||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x35c2d0,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x35c2d0,'template':html`<dynamic-menu-part .orientation=${_0x4095c3}>${_0x4ea910}</dynamic-menu-part>`},'position':_0x18d345}),_0x35c2d0&&'portrait'==_0x4095c3?HAMBURGER||(HAMBURGER={'name':_0x3bdb6f(0x1b1),'template':html`
2
- <mwc-icon @click=${_0x32fe95=>toggleOverlay(_0x3bdb6f(0x1b3),{'backdrop':!0x0})}
1
+ (function(_0x2086d9,_0xacf9d9){const _0x5056a=a0_0x401c,_0x1957f3=_0x2086d9();while(!![]){try{const _0x4e9d53=-parseInt(_0x5056a(0x6c))/0x1*(-parseInt(_0x5056a(0x6b))/0x2)+-parseInt(_0x5056a(0x67))/0x3+-parseInt(_0x5056a(0x78))/0x4*(-parseInt(_0x5056a(0x65))/0x5)+parseInt(_0x5056a(0x6d))/0x6+parseInt(_0x5056a(0x79))/0x7*(-parseInt(_0x5056a(0x72))/0x8)+-parseInt(_0x5056a(0x77))/0x9*(parseInt(_0x5056a(0x74))/0xa)+parseInt(_0x5056a(0x66))/0xb;if(_0x4e9d53===_0xacf9d9)break;else _0x1957f3['push'](_0x1957f3['shift']());}catch(_0x30d60b){_0x1957f3['push'](_0x1957f3['shift']());}}}(a0_0x4ee7,0xb922d));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import{html}from'lit';function a0_0x401c(_0x2a530b,_0x1d037f){const _0x4ee70d=a0_0x4ee7();return a0_0x401c=function(_0x401cf5,_0x56c6c9){_0x401cf5=_0x401cf5-0x65;let _0x2af95c=_0x4ee70d[_0x401cf5];return _0x2af95c;},a0_0x401c(_0x2a530b,_0x1d037f);}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';function a0_0x4ee7(){const _0x4f4b73=['landscape','NAVBAR','4781368HsAEau','lite-menu-part','282390BupMxO','portrait','dynamic-menu','288dDZGeL','22948GItBjF','7XxLgTf','dispatch','55MqRtvE','31373111NTzMWl','3913503HyqONp','FRONT_END','value','HEADERBAR','82sdTPgu','10543YweyER','1299996XWKyLB','hamburger','get'];a0_0x4ee7=function(){return _0x4f4b73;};return a0_0x4ee7();}import{updateMenuTemplate as a0_0x2b511f}from'@things-factory/lite-menu';export const UPDATE_META_UI='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x230b82){const _0x354783=a0_0x401c;var {hovering:_0x38fdf7=!!isMobileDevice(),slotTemplate:_0x52128d,portraitSlotTemplate:_0x244d35,landscapeSlotTemplate:_0xc989e8,position:_0x269ba6=VIEWPART_POSITION[_0x354783(0x71)]}=_0x230b82||{};const {hovering:_0x1a8ee6}=(await clientSettingStore[_0x354783(0x6f)](_0x354783(0x76)))?.[_0x354783(0x69)]||{};void 0x0!==_0x1a8ee6&&(_0x38fdf7=_0x1a8ee6);const _0x55666b=_0x269ba6==VIEWPART_POSITION[_0x354783(0x6a)]?_0x354783(0x70):_0x354783(0x75),_0x22380f=('landscape'==_0x55666b?_0xc989e8:_0x244d35)||_0x52128d||html``;appendViewpart({'name':_0x354783(0x73),'viewpart':{'show':!_0x38fdf7,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x38fdf7,'template':html`<dynamic-menu-part .orientation=${_0x55666b}>${_0x22380f}</dynamic-menu-part>`},'position':_0x269ba6}),_0x38fdf7&&_0x354783(0x75)==_0x55666b?HAMBURGER||(HAMBURGER={'name':_0x354783(0x6e),'template':html`
2
+ <mwc-icon @click=${_0x4e931d=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x3bdb6f(0x1a1)]},store[_0x3bdb6f(0x1a4)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x3bdb6f(0x1a4)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x184139){store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'template':_0x184139});}
4
+ `,'position':TOOL_POSITION[_0x354783(0x68)]},store[_0x354783(0x7a)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x354783(0x7a)]({'type':REMOVE_APP_TOOL,'name':_0x354783(0x6e)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x4ab6fe){const _0x819566=a0_0x401c;a0_0x2b511f(_0x4ab6fe),store[_0x819566(0x7a)]({'type':UPDATE_META_MENU_TEMPLATE,'template':_0x4ab6fe});}
@@ -1 +1 @@
1
- const a0_0x8884ef=a0_0x2974;(function(_0x20f5d3,_0x4fccb4){const _0x2b8fff=a0_0x2974,_0x2d93a2=_0x20f5d3();while(!![]){try{const _0x552d57=parseInt(_0x2b8fff(0x1c1))/0x1+-parseInt(_0x2b8fff(0x1c2))/0x2*(parseInt(_0x2b8fff(0x1ca))/0x3)+-parseInt(_0x2b8fff(0x1b7))/0x4*(-parseInt(_0x2b8fff(0x1bf))/0x5)+parseInt(_0x2b8fff(0x1b6))/0x6*(parseInt(_0x2b8fff(0x1c9))/0x7)+-parseInt(_0x2b8fff(0x1c5))/0x8+parseInt(_0x2b8fff(0x1d5))/0x9*(-parseInt(_0x2b8fff(0x1c7))/0xa)+-parseInt(_0x2b8fff(0x1ce))/0xb;if(_0x552d57===_0x4fccb4)break;else _0x2d93a2['push'](_0x2d93a2['shift']());}catch(_0x49f41c){_0x2d93a2['push'](_0x2d93a2['shift']());}}}(a0_0x5c63,0xe8454));function a0_0x2974(_0x2df2d7,_0x54fe32){const _0x5c634c=a0_0x5c63();return a0_0x2974=function(_0x2974f8,_0x3a7dc5){_0x2974f8=_0x2974f8-0x1b0;let _0x5ad64d=_0x5c634c[_0x2974f8];return _0x5ad64d;},a0_0x2974(_0x2df2d7,_0x54fe32);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0xc9c03=>class extends _0xc9c03{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x271109=>Boolean(_0x271109)},'is_popup':{'type':Boolean,'converter':_0x2be38d=>Boolean(_0x2be38d)}};}get[a0_0x8884ef(0x1c6)](){const _0x5815bb=a0_0x8884ef;return!0x0===this['is_detail']||!0x0===this[_0x5815bb(0x1b1)];}get['isDetail'](){const _0x4699e3=a0_0x8884ef;return!ValueUtil[_0x4699e3(0x1d6)](this[_0x4699e3(0x1b8)])&&this[_0x4699e3(0x1b8)];}async[a0_0x8884ef(0x1ba)](_0x110bf2,_0x4a50b9,_0x332125){const _0x35a9cc=a0_0x8884ef;let _0x3cd639=this[_0x35a9cc(0x1b4)]?.[_0x35a9cc(0x1d7)]?this['lifecycle'][_0x35a9cc(0x1d7)]:{};this[_0x35a9cc(0x1c0)]&&this[_0x35a9cc(0x1d1)]&&0x0==_0x332125['active']&&ValueUtil[_0x35a9cc(0x1b2)](_0x3cd639)&&this[_0x35a9cc(0x1bb)]();}get[a0_0x8884ef(0x1cd)](){const _0x17dcab=a0_0x8884ef;return!ValueUtil[_0x17dcab(0x1d6)](this['is_popup'])&&this[_0x17dcab(0x1b1)];}get[a0_0x8884ef(0x1c0)](){const _0x24163c=a0_0x8884ef;return!this['is_detail']&&!this[_0x24163c(0x1b1)];}async[a0_0x8884ef(0x1bd)](){const _0xe1f728=a0_0x8884ef;let _0x40d183=await MetaApi['getMenuMeta'](this);_0x40d183&&(this[_0xe1f728(0x1da)]=_0x40d183[_0xe1f728(0x1cc)],this['parseBasicGridConfigs']&&this[_0xe1f728(0x1b0)](_0x40d183),this[_0xe1f728(0x1db)]&&this[_0xe1f728(0x1db)](_0x40d183),this[_0xe1f728(0x1d9)]&&this[_0xe1f728(0x1d9)](_0x40d183),this[_0xe1f728(0x1b9)]&&this[_0xe1f728(0x1b9)](_0x40d183),this[_0xe1f728(0x1c4)]&&this[_0xe1f728(0x1c4)](_0x40d183));}async['fetch'](){const _0x9502ce=a0_0x8884ef;ValueUtil[_0x9502ce(0x1b2)](this[_0x9502ce(0x1d4)])?this[_0x9502ce(0x1d4)]['fetch']():(ValueUtil['isNotEmpty'](this[_0x9502ce(0x1b5)])||this[_0x9502ce(0x1d3)])&&await this['fetchHandler']();}async[a0_0x8884ef(0x1be)](_0x26b261,_0x15e73d,_0x3a3b76){const _0x513b11=a0_0x8884ef;let _0x6fdc7a=TermsUtil[_0x513b11(0x1d2)](_0x26b261[_0x513b11(0x1d8)]);ValueUtil[_0x513b11(0x1b2)](_0x26b261[_0x513b11(0x1c3)])&&(_0x6fdc7a=_0x6fdc7a+'-'+ValueUtil[_0x513b11(0x1cf)](_0x15e73d,..._0x26b261[_0x513b11(0x1c3)][_0x513b11(0x1b3)]('.'))),MetaApi['openDynamicPopup'](_0x6fdc7a,_0x26b261,_0x15e73d,_0x3a3b76);}async[a0_0x8884ef(0x1cb)](_0x3fc9bb,_0x1c20bd,_0x5997d7){const _0x4816c8=a0_0x8884ef;let _0x345997=await MetaApi[_0x4816c8(0x1bc)](_0x3fc9bb['name'],_0x3fc9bb[_0x4816c8(0x1d0)],_0x1c20bd);!0x1!==_0x345997&&!_0x345997['errors']&&ValueUtil[_0x4816c8(0x1b2)](_0x3fc9bb['after'])&&_0x5997d7();}[a0_0x8884ef(0x1c8)](_0x5e9273){const _0x4e9952=a0_0x8884ef;this['parent_id']=_0x5e9273,this[_0x4e9952(0x1bb)]();}};function a0_0x5c63(){const _0x1e1c5a=['tTitle','fetchHandler','grist','27LBEtbm','isEmpty','params','title','parseBasicFormConfigs','menuInfo','parseBasicServiceConfigs','parseBasicGridConfigs','is_popup','isNotEmpty','split','lifecycle','filterForm','6vlAXhN','6508LwsxGi','is_detail','parseBasicTabConfigs','pageUpdated','fetch','callScenario','getAndParseMenuMeta','excuteOpenPopupButtonClick','4360OgtwxK','isPage','715889nmhlVt','20632KreaPW','title_detail','parseBasicButtonConfigs','7121432dQljwi','isElement','629870yXYTgu','setParentId','6456842nDSXpy','270pkCOOk','executeCallScenarioButtonClick','menu','isPopup','1078869xdvaVw','getParams','name','active'];a0_0x5c63=function(){return _0x1e1c5a;};return a0_0x5c63();}
1
+ const a0_0x37468e=a0_0xe4ff;(function(_0x27b850,_0x4072fe){const _0x4ceca6=a0_0xe4ff,_0x528c4b=_0x27b850();while(!![]){try{const _0x36febc=-parseInt(_0x4ceca6(0xcd))/0x1*(-parseInt(_0x4ceca6(0xb4))/0x2)+parseInt(_0x4ceca6(0xc5))/0x3+-parseInt(_0x4ceca6(0xb1))/0x4+-parseInt(_0x4ceca6(0xc3))/0x5*(parseInt(_0x4ceca6(0xd5))/0x6)+-parseInt(_0x4ceca6(0xac))/0x7*(parseInt(_0x4ceca6(0xcb))/0x8)+parseInt(_0x4ceca6(0xb2))/0x9*(parseInt(_0x4ceca6(0xae))/0xa)+parseInt(_0x4ceca6(0xcf))/0xb;if(_0x36febc===_0x4072fe)break;else _0x528c4b['push'](_0x528c4b['shift']());}catch(_0x1fa092){_0x528c4b['push'](_0x528c4b['shift']());}}}(a0_0xfc9f,0x40cf1));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0xe4ff(_0x2da3ad,_0x38b304){const _0xfc9f32=a0_0xfc9f();return a0_0xe4ff=function(_0xe4ff9b,_0x45813d){_0xe4ff9b=_0xe4ff9b-0xab;let _0x222861=_0xfc9f32[_0xe4ff9b];return _0x222861;},a0_0xe4ff(_0x2da3ad,_0x38b304);}function a0_0xfc9f(){const _0x4f037f=['excuteOpenPopupButtonClick','parseBasicServiceConfigs','isPage','callScenario','isDetail','isElement','menuInfo','fetchHandler','155KgJcJZ','filterForm','631362WrqVmI','pageUpdated','isEmpty','errors','name','title_detail','8NKKFGL','params','40054DGfcLd','parseBasicTabConfigs','3559160OiEFJx','grist','properties','lifecycle','parseBasicButtonConfigs','getMenuMeta','15354fQDtoU','parseBasicGridConfigs','533743lMkNkg','title','3171620mHOlQu','openDynamicPopup','is_popup','2040996husUxZ','9UdhnUn','active','4hiRjFC','fetch','isPopup','isNotEmpty','menu','is_detail','after'];a0_0xfc9f=function(){return _0x4f037f;};return a0_0xfc9f();}export const MetaBaseMixin=_0x183456=>class extends _0x183456{static get[a0_0x37468e(0xd1)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x2c1ebb=>Boolean(_0x2c1ebb)},'is_popup':{'type':Boolean,'converter':_0x39032d=>Boolean(_0x39032d)}};}get[a0_0x37468e(0xc0)](){const _0x7e6c15=a0_0x37468e;return!0x0===this[_0x7e6c15(0xb9)]||!0x0===this['is_popup'];}get[a0_0x37468e(0xbf)](){const _0x513fc6=a0_0x37468e;return!ValueUtil[_0x513fc6(0xc7)](this['is_detail'])&&this[_0x513fc6(0xb9)];}async[a0_0x37468e(0xc6)](_0x4a51af,_0x5692a1,_0x3365f6){const _0x443a20=a0_0x37468e;let _0xfa7871=this[_0x443a20(0xd2)]?.[_0x443a20(0xcc)]?this[_0x443a20(0xd2)][_0x443a20(0xcc)]:{};this[_0x443a20(0xbd)]&&this['active']&&0x0==_0x3365f6[_0x443a20(0xb3)]&&ValueUtil[_0x443a20(0xb7)](_0xfa7871)&&this[_0x443a20(0xb5)]();}get[a0_0x37468e(0xb6)](){const _0x1b13ac=a0_0x37468e;return!ValueUtil[_0x1b13ac(0xc7)](this[_0x1b13ac(0xb0)])&&this[_0x1b13ac(0xb0)];}get['isPage'](){const _0x592002=a0_0x37468e;return!this[_0x592002(0xb9)]&&!this[_0x592002(0xb0)];}async['getAndParseMenuMeta'](){const _0xc47f3b=a0_0x37468e;let _0x595904=await MetaApi[_0xc47f3b(0xd4)](this);_0x595904&&(this[_0xc47f3b(0xc1)]=_0x595904[_0xc47f3b(0xb8)],this['parseBasicGridConfigs']&&this[_0xc47f3b(0xab)](_0x595904),this[_0xc47f3b(0xbc)]&&this[_0xc47f3b(0xbc)](_0x595904),this['parseBasicFormConfigs']&&this['parseBasicFormConfigs'](_0x595904),this[_0xc47f3b(0xce)]&&this[_0xc47f3b(0xce)](_0x595904),this[_0xc47f3b(0xd3)]&&this[_0xc47f3b(0xd3)](_0x595904));}async[a0_0x37468e(0xb5)](){const _0x4eba37=a0_0x37468e;ValueUtil[_0x4eba37(0xb7)](this['grist'])?this[_0x4eba37(0xd0)][_0x4eba37(0xb5)]():(ValueUtil['isNotEmpty'](this[_0x4eba37(0xc4)])||this[_0x4eba37(0xc2)])&&await this['fetchHandler']();}async[a0_0x37468e(0xbb)](_0x1dbac7,_0x244035,_0x34b0b6){const _0x2850cd=a0_0x37468e;let _0x5e798=TermsUtil['tTitle'](_0x1dbac7[_0x2850cd(0xad)]);ValueUtil[_0x2850cd(0xb7)](_0x1dbac7[_0x2850cd(0xca)])&&(_0x5e798=_0x5e798+'-'+ValueUtil['getParams'](_0x244035,..._0x1dbac7[_0x2850cd(0xca)]['split']('.'))),MetaApi[_0x2850cd(0xaf)](_0x5e798,_0x1dbac7,_0x244035,_0x34b0b6);}async['executeCallScenarioButtonClick'](_0x21283f,_0x24846,_0x67f02){const _0x3a32db=a0_0x37468e;let _0x473976=await MetaApi[_0x3a32db(0xbe)](_0x21283f[_0x3a32db(0xc9)],_0x21283f[_0x3a32db(0xc9)],_0x24846);!0x1!==_0x473976&&!_0x473976[_0x3a32db(0xc8)]&&ValueUtil[_0x3a32db(0xb7)](_0x21283f[_0x3a32db(0xba)])&&_0x67f02();}['setParentId'](_0x1dfc0c){this['parent_id']=_0x1dfc0c,this['fetch']();}};
@@ -1,4 +1,4 @@
1
- const a0_0x4568c5=a0_0xfa1b;function a0_0x2045(){const _0x1c343c=['patchesForUpdateMultiple','946605AnaIcz','2068562gXnhGF','grist','isNotEmpty','fetch','gridConfig','querySelector','gridColumnConfig','import','pageInitialized','1993920IGfBTX','gristId','104fZUMXW','find','grid','title','search','connectedCallback','getAndParseMenuMeta','styles','parseGristConfigs','delete','getSelectedIdList','searchConfig','filterForm','exportableData','parseGridConfigSet','isElement','isPage','3258963ufHKMW','6791800VnHXnx','gristConfigSet','renderRoot','2746284qZaoss','export','shadowRoot','firstUpdated','getContextObject','ox-grist','14hgiWNQ','grid_column','deleteByIds','tTitle','1850409TOfeox'];a0_0x2045=function(){return _0x1c343c;};return a0_0x2045();}(function(_0x422cb6,_0x219392){const _0x5d37ac=a0_0xfa1b,_0xb6c300=_0x422cb6();while(!![]){try{const _0x24e2a9=-parseInt(_0x5d37ac(0x17a))/0x1+parseInt(_0x5d37ac(0x17b))/0x2+-parseInt(_0x5d37ac(0x16a))/0x3+-parseInt(_0x5d37ac(0x157))/0x4+-parseInt(_0x5d37ac(0x16b))/0x5+-parseInt(_0x5d37ac(0x16e))/0x6*(-parseInt(_0x5d37ac(0x174))/0x7)+parseInt(_0x5d37ac(0x159))/0x8*(parseInt(_0x5d37ac(0x178))/0x9);if(_0x24e2a9===_0x219392)break;else _0xb6c300['push'](_0xb6c300['shift']());}catch(_0x1c5bb5){_0xb6c300['push'](_0xb6c300['shift']());}}}(a0_0x2045,0xb2e54));import{html}from'lit';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';function a0_0xfa1b(_0x2818e0,_0x317c45){const _0x20456a=a0_0x2045();return a0_0xfa1b=function(_0xfa1b85,_0x41fac){_0xfa1b85=_0xfa1b85-0x156;let _0x42f70e=_0x20456a[_0xfa1b85];return _0x42f70e;},a0_0xfa1b(_0x2818e0,_0x317c45);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x81debe=>class extends MetaButtonMixin(_0x81debe){static get[a0_0x4568c5(0x160)](){return MetaApi['getBasicGristStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x4568c5(0x17c)](){const _0xa76d37=a0_0x4568c5;return this[_0xa76d37(0x16d)][_0xa76d37(0x180)](this[_0xa76d37(0x158)]);}get[a0_0x4568c5(0x165)](){const _0x21beef=a0_0x4568c5;return this[_0x21beef(0x170)]?.[_0x21beef(0x180)](this['filterFormId']);}get['context'](){const _0x1941a3=a0_0x4568c5;return MetaUiUtil[_0x1941a3(0x172)](this);}async[a0_0x4568c5(0x15e)](){const _0x595884=a0_0x4568c5;this[_0x595884(0x158)]=_0x595884(0x173),this['filterFormId']='ox-filters-form',await this[_0x595884(0x15f)](),this[_0x595884(0x168)]&&await this[_0x595884(0x161)](),super[_0x595884(0x15e)]&&await super[_0x595884(0x15e)]();}async[a0_0x4568c5(0x171)](){const _0x4920c3=a0_0x4568c5;super[_0x4920c3(0x171)]&&await super[_0x4920c3(0x171)]();}async[a0_0x4568c5(0x156)](){const _0x33060c=a0_0x4568c5;this[_0x33060c(0x169)]&&await this[_0x33060c(0x161)](),super[_0x33060c(0x156)]&&await super[_0x33060c(0x156)]();}['render'](){const _0x4a8dde=a0_0x4568c5;return html`
1
+ const a0_0x335fe4=a0_0x4c7a;(function(_0x1d0413,_0x4f9a81){const _0x593862=a0_0x4c7a,_0x372836=_0x1d0413();while(!![]){try{const _0x11f0c2=parseInt(_0x593862(0xa1))/0x1+-parseInt(_0x593862(0xbe))/0x2*(-parseInt(_0x593862(0xa5))/0x3)+-parseInt(_0x593862(0xd0))/0x4+parseInt(_0x593862(0xc8))/0x5*(-parseInt(_0x593862(0xb0))/0x6)+-parseInt(_0x593862(0xce))/0x7+parseInt(_0x593862(0xc2))/0x8*(-parseInt(_0x593862(0xb3))/0x9)+parseInt(_0x593862(0xc4))/0xa;if(_0x11f0c2===_0x4f9a81)break;else _0x372836['push'](_0x372836['shift']());}catch(_0x4d1d42){_0x372836['push'](_0x372836['shift']());}}}(a0_0x9618,0x3d238));import{html}from'lit';function a0_0x4c7a(_0x3959ad,_0x38c65a){const _0x961887=a0_0x9618();return a0_0x4c7a=function(_0x4c7ab7,_0x500737){_0x4c7ab7=_0x4c7ab7-0xa1;let _0xefc16e=_0x961887[_0x4c7ab7];return _0xefc16e;},a0_0x4c7a(_0x3959ad,_0x38c65a);}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=_0xed535b=>class extends MetaButtonMixin(_0xed535b){static get[a0_0x335fe4(0xbc)](){const _0x1178f9=a0_0x335fe4;return MetaApi[_0x1178f9(0xa8)]();}static get[a0_0x335fe4(0xb6)](){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_0x335fe4(0xa6)](){const _0x230e68=a0_0x335fe4;return this[_0x230e68(0xbf)][_0x230e68(0xc5)](this[_0x230e68(0xc1)]);}get['filterForm'](){const _0x48bd3a=a0_0x335fe4;return this['shadowRoot']?.[_0x48bd3a(0xc5)](this['filterFormId']);}get[a0_0x335fe4(0xa3)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x1d4289=a0_0x335fe4;this[_0x1d4289(0xc1)]=_0x1d4289(0xd1),this[_0x1d4289(0xc0)]=_0x1d4289(0xa9),await this['getAndParseMenuMeta'](),this[_0x1d4289(0xb9)]&&await this[_0x1d4289(0xb2)](),super[_0x1d4289(0xae)]&&await super['connectedCallback']();}async[a0_0x335fe4(0xcd)](){const _0x211ea6=a0_0x335fe4;super[_0x211ea6(0xcd)]&&await super[_0x211ea6(0xcd)]();}async['pageInitialized'](){const _0x3d5ff3=a0_0x335fe4;this['isPage']&&await this[_0x3d5ff3(0xb2)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x335fe4(0xaa)](){const _0x2b09c3=a0_0x335fe4;return html`
2
2
  ${MetaApi['getBasicGristHtml'](this)}
3
- ${this[_0x4a8dde(0x169)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
- `;}['parseBasicGridConfigs'](_0x5b64fa){const _0x124990=a0_0x4568c5;this[_0x124990(0x17f)]=_0x5b64fa[_0x124990(0x15b)],this[_0x124990(0x181)]=_0x5b64fa[_0x124990(0x175)],this[_0x124990(0x164)]=_0x5b64fa[_0x124990(0x15d)];}async[a0_0x4568c5(0x161)](){const _0x4defd3=a0_0x4568c5;this[_0x4defd3(0x16c)]=await MetaApi[_0x4defd3(0x167)](this);}async[a0_0x4568c5(0x17e)](){const _0x5de684=a0_0x4568c5;await this['grist'][_0x5de684(0x17e)]();}async['save'](){const _0x1065ed=a0_0x4568c5;let _0x2f1791=MetaApi[_0x1065ed(0x179)](this[_0x1065ed(0x17c)]);!!ValueUtil['isNotEmpty'](_0x2f1791)&&await this['updateMultiple'](_0x2f1791)&&this[_0x1065ed(0x17e)]();}async[a0_0x4568c5(0x15a)](){const _0x3f0491=a0_0x4568c5;let _0x3a9396=MetaApi['getSelectedIdList'](this[_0x3f0491(0x17c)],!0x0);return ValueUtil[_0x3f0491(0x17d)](_0x3a9396)?await this['findOne'](_0x3a9396[0x0]):{};}async[a0_0x4568c5(0x162)](){const _0x5eb2e5=a0_0x4568c5;let _0x301733=MetaApi[_0x5eb2e5(0x163)](this[_0x5eb2e5(0x17c)],!0x0);!!ValueUtil['isNotEmpty'](_0x301733)&&await this[_0x5eb2e5(0x176)](_0x301733)&&this[_0x5eb2e5(0x17e)]();}async[a0_0x4568c5(0x16f)](){const _0x315298=a0_0x4568c5;let _0x2dddf5=TermsUtil[_0x315298(0x177)](ValueUtil['getParams'](this['menuInfo'],_0x315298(0x15c)));return await MetaApi[_0x315298(0x166)](this['isElement'],_0x2dddf5,this[_0x315298(0x17c)]);}async[a0_0x4568c5(0x182)](){}};
3
+ ${this[_0x2b09c3(0xc9)]?html``:MetaUiUtil[_0x2b09c3(0xad)](this)}
4
+ `;}['parseBasicGridConfigs'](_0x354ff1){const _0x193e87=a0_0x335fe4;this[_0x193e87(0xbb)]=_0x354ff1[_0x193e87(0xc3)],this[_0x193e87(0xb4)]=_0x354ff1[_0x193e87(0xc6)],this['searchConfig']=_0x354ff1[_0x193e87(0xa2)];}async['parseGristConfigs'](){const _0x5f1154=a0_0x335fe4;this['gristConfigSet']=await MetaApi[_0x5f1154(0xaf)](this);}async['fetch'](){const _0x5dcae8=a0_0x335fe4;await this[_0x5dcae8(0xa6)][_0x5dcae8(0xcb)]();}async['save'](){const _0x37da6b=a0_0x335fe4;let _0x2420f0=MetaApi[_0x37da6b(0xb7)](this[_0x37da6b(0xa6)]);!!ValueUtil['isNotEmpty'](_0x2420f0)&&await this[_0x37da6b(0xab)](_0x2420f0)&&this[_0x37da6b(0xcb)]();}async[a0_0x335fe4(0xb5)](){const _0x4cbdc7=a0_0x335fe4;let _0x480656=MetaApi[_0x4cbdc7(0xa4)](this[_0x4cbdc7(0xa6)],!0x0);return ValueUtil[_0x4cbdc7(0xcf)](_0x480656)?await this['findOne'](_0x480656[0x0]):{};}async[a0_0x335fe4(0xc7)](){const _0x779108=a0_0x335fe4;let _0x57b6ba=MetaApi[_0x779108(0xa4)](this['grist'],!0x0);!!ValueUtil[_0x779108(0xcf)](_0x57b6ba)&&await this[_0x779108(0xa7)](_0x57b6ba)&&this['fetch']();}async[a0_0x335fe4(0xb1)](){const _0x49d886=a0_0x335fe4;let _0x193d07=TermsUtil[_0x49d886(0xba)](ValueUtil[_0x49d886(0xca)](this[_0x49d886(0xac)],_0x49d886(0xbd)));return await MetaApi[_0x49d886(0xb8)](this[_0x49d886(0xb9)],_0x193d07,this[_0x49d886(0xa6)]);}async[a0_0x335fe4(0xcc)](){}};function a0_0x9618(){const _0x463158=['deleteByIds','getBasicGristStyles','ox-filters-form','render','updateMultiple','menuInfo','getButtonContainer','connectedCallback','parseGridConfigSet','2382876ATDbxw','export','parseGristConfigs','556758yKncLO','gridColumnConfig','find','properties','patchesForUpdateMultiple','exportableData','isElement','tTitle','gridConfig','styles','title','108952NyKiKZ','renderRoot','filterFormId','gristId','8BUahZx','grid','9251800PFHuqc','querySelector','grid_column','delete','5ilUwBH','isPage','getParams','fetch','import','firstUpdated','3072692AfUruI','isNotEmpty','1919924bgDJIn','ox-grist','376333wzcbch','search','context','getSelectedIdList','18MxTEWY','grist'];a0_0x9618=function(){return _0x463158;};return a0_0x9618();}
@@ -1 +1 @@
1
- function a0_0x2927(_0x2894a5,_0x30bf44){const _0x44a334=a0_0x44a3();return a0_0x2927=function(_0x292796,_0x56b7c8){_0x292796=_0x292796-0xc5;let _0x281fc1=_0x44a334[_0x292796];return _0x281fc1;},a0_0x2927(_0x2894a5,_0x30bf44);}const a0_0x23ff24=a0_0x2927;function a0_0x44a3(){const _0xa296f5=['isPage','1072FBUvkz','getCustomButtonContainerStyle','249790rtSsWV','getContextButtons','properties','isButtonExist','useButtonAdd','576XbqeOV','add','137032hDKKqO','2PYqBEz','1827450chNpHH','export','25278qXyqVQ','getBasicButtonHandler','getCustomButtonContainerStyles','1518660YGcukK','getButtonActionHandler','1570VosXCF','parseBasicButtonConfigs','getButtonContainer','buttonConfig','button','7KgjXkD','customButtonHandler','useButtonExport','useButtonImport','59756vmrNeH'];a0_0x44a3=function(){return _0xa296f5;};return a0_0x44a3();}(function(_0x2a2147,_0xbfeba){const _0xe7b034=a0_0x2927,_0x1d4a25=_0x2a2147();while(!![]){try{const _0x20a87d=parseInt(_0xe7b034(0xdd))/0x1*(-parseInt(_0xe7b034(0xcc))/0x2)+parseInt(_0xe7b034(0xc9))/0x3*(-parseInt(_0xe7b034(0xdf))/0x4)+-parseInt(_0xe7b034(0xe1))/0x5+-parseInt(_0xe7b034(0xd2))/0x6+-parseInt(_0xe7b034(0xd9))/0x7*(parseInt(_0xe7b034(0xcb))/0x8)+parseInt(_0xe7b034(0xcd))/0x9+-parseInt(_0xe7b034(0xd4))/0xa*(-parseInt(_0xe7b034(0xcf))/0xb);if(_0x20a87d===_0xbfeba)break;else _0x1d4a25['push'](_0x1d4a25['shift']());}catch(_0x180909){_0x1d4a25['push'](_0x1d4a25['shift']());}}}(a0_0x44a3,0x2054b));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x219474=>class extends MetaServiceMixin(_0x219474){static get[a0_0x23ff24(0xc6)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x23ff24(0xe0)](){const _0x59355a=a0_0x23ff24;return MetaUiUtil[_0x59355a(0xd1)]();}[a0_0x23ff24(0xc5)](){return MetaUiUtil['getContextButtons'](this);}[a0_0x23ff24(0xd6)](){const _0x3807e1=a0_0x23ff24;return this[_0x3807e1(0xde)]?html``:MetaUiUtil[_0x3807e1(0xd6)](this);}async[a0_0x23ff24(0xd0)](_0x7fc273,_0x27a915,_0x4fb24a){const _0x39207e=a0_0x23ff24;return await MetaUiUtil[_0x39207e(0xd3)](this,_0x7fc273,_0x27a915,_0x4fb24a);}async[a0_0x23ff24(0xda)](_0x3c21d3){const _0x3dece0=a0_0x23ff24;await MetaUiUtil[_0x3dece0(0xda)](this,_0x3c21d3);}async['gristButtonHandler'](_0x41c4f2,_0x11857e){await MetaUiUtil['gristButtonHandler'](this,_0x41c4f2,_0x11857e);}[a0_0x23ff24(0xd5)](_0x58c2dc){const _0x1dfd5a=a0_0x23ff24;this[_0x1dfd5a(0xd7)]=_0x58c2dc[_0x1dfd5a(0xd8)],this[_0x1dfd5a(0xdc)]=MetaUiUtil[_0x1dfd5a(0xc7)](this['buttonConfig'],'import'),this[_0x1dfd5a(0xdb)]=MetaUiUtil['isButtonExist'](this[_0x1dfd5a(0xd7)],_0x1dfd5a(0xce)),this[_0x1dfd5a(0xc8)]=MetaUiUtil['isButtonExist'](this[_0x1dfd5a(0xd7)],_0x1dfd5a(0xca));}};
1
+ const a0_0x3380b5=a0_0x3836;function a0_0x3836(_0x559aa9,_0x33e924){const _0x8eadf4=a0_0x8ead();return a0_0x3836=function(_0x3836f2,_0x5ed347){_0x3836f2=_0x3836f2-0x103;let _0x2a969c=_0x8eadf4[_0x3836f2];return _0x2a969c;},a0_0x3836(_0x559aa9,_0x33e924);}(function(_0x4bfe52,_0x4788d9){const _0x2eaebe=a0_0x3836,_0x33a499=_0x4bfe52();while(!![]){try{const _0x4b3366=parseInt(_0x2eaebe(0x115))/0x1*(-parseInt(_0x2eaebe(0x117))/0x2)+parseInt(_0x2eaebe(0x10d))/0x3*(-parseInt(_0x2eaebe(0x106))/0x4)+parseInt(_0x2eaebe(0x10b))/0x5+-parseInt(_0x2eaebe(0x109))/0x6+-parseInt(_0x2eaebe(0x118))/0x7+-parseInt(_0x2eaebe(0x104))/0x8+-parseInt(_0x2eaebe(0x11c))/0x9*(-parseInt(_0x2eaebe(0x114))/0xa);if(_0x4b3366===_0x4788d9)break;else _0x33a499['push'](_0x33a499['shift']());}catch(_0x583b33){_0x33a499['push'](_0x33a499['shift']());}}}(a0_0x8ead,0xe42ab));import{html}from'lit';function a0_0x8ead(){const _0x5ae3fc=['parseBasicButtonConfigs','7269325CvBjFw','isPage','237YWuQCX','customButtonHandler','getContextButtons','useButtonImport','add','useButtonAdd','button','18947610rXFmaD','49cOvBoi','getCustomButtonContainerStyle','14486xSWCIi','1515010EKUdZT','gristButtonHandler','import','buttonConfig','18UXKsio','isButtonExist','getButtonContainer','9356864OSVBuS','getBasicButtonHandler','54140ROORar','getCustomButtonContainerStyles','properties','8991636mgDlwH'];a0_0x8ead=function(){return _0x5ae3fc;};return a0_0x8ead();}import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x3cf859=>class extends MetaServiceMixin(_0x3cf859){static get[a0_0x3380b5(0x108)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x3380b5(0x116)](){const _0x70e9ee=a0_0x3380b5;return MetaUiUtil[_0x70e9ee(0x107)]();}[a0_0x3380b5(0x10f)](){const _0x2d00e3=a0_0x3380b5;return MetaUiUtil[_0x2d00e3(0x10f)](this);}['getButtonContainer'](){const _0x5c3975=a0_0x3380b5;return this[_0x5c3975(0x10c)]?html``:MetaUiUtil[_0x5c3975(0x103)](this);}async[a0_0x3380b5(0x105)](_0x5dc2a3,_0x4802d7,_0x387aca){return await MetaUiUtil['getButtonActionHandler'](this,_0x5dc2a3,_0x4802d7,_0x387aca);}async[a0_0x3380b5(0x10e)](_0x293446){const _0x12daab=a0_0x3380b5;await MetaUiUtil[_0x12daab(0x10e)](this,_0x293446);}async[a0_0x3380b5(0x119)](_0x136856,_0x5d68fc){await MetaUiUtil['gristButtonHandler'](this,_0x136856,_0x5d68fc);}[a0_0x3380b5(0x10a)](_0x69f464){const _0x58f3c4=a0_0x3380b5;this[_0x58f3c4(0x11b)]=_0x69f464[_0x58f3c4(0x113)],this[_0x58f3c4(0x110)]=MetaUiUtil[_0x58f3c4(0x11d)](this[_0x58f3c4(0x11b)],_0x58f3c4(0x11a)),this['useButtonExport']=MetaUiUtil[_0x58f3c4(0x11d)](this[_0x58f3c4(0x11b)],'export'),this[_0x58f3c4(0x112)]=MetaUiUtil[_0x58f3c4(0x11d)](this[_0x58f3c4(0x11b)],_0x58f3c4(0x111));}};
@@ -1 +1 @@
1
- const a0_0x4b094b=a0_0x4d92;(function(_0x42f529,_0x2e5c90){const _0x4dc0f4=a0_0x4d92,_0x200117=_0x42f529();while(!![]){try{const _0x14a1f5=-parseInt(_0x4dc0f4(0x121))/0x1+parseInt(_0x4dc0f4(0x100))/0x2+-parseInt(_0x4dc0f4(0xdc))/0x3+-parseInt(_0x4dc0f4(0xe3))/0x4+-parseInt(_0x4dc0f4(0xf0))/0x5*(-parseInt(_0x4dc0f4(0xdf))/0x6)+-parseInt(_0x4dc0f4(0xf5))/0x7*(-parseInt(_0x4dc0f4(0x106))/0x8)+-parseInt(_0x4dc0f4(0xec))/0x9;if(_0x14a1f5===_0x2e5c90)break;else _0x200117['push'](_0x200117['shift']());}catch(_0xb84de5){_0x200117['push'](_0x200117['shift']());}}}(a0_0x5ee1,0x526ec));import{MetaApi}from'../utils/meta-api';function a0_0x4d92(_0x948a3e,_0x5ccc1e){const _0x5ee123=a0_0x5ee1();return a0_0x4d92=function(_0x4d9229,_0x336e86){_0x4d9229=_0x4d9229-0xdc;let _0xbd47ae=_0x5ee123[_0x4d9229];return _0xbd47ae;},a0_0x4d92(_0x948a3e,_0x5ccc1e);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x5ee1(){const _0x3a8229=['__dirtyfields__','findOne','fetch','form','parseBasicFormConfigs','grid_column','setAttribute','OX-GRID-FIELD','653370GcxsrI','focus','field-change','renderRoot','properties','formColumnConfig','8WmTPcH','__dirty__','formRenderConfig','title.info','currentData','patchData','config','name','isPage','save','__origin__','isEmpty','call','button','parent_id','getAndParseMenuMeta','orgData','stopPropagation','editing','cuFlag','record','getBasicFormHtml','connectedCallback','dirtyData','isElement','getBasicFormStyles','filter','515673lPRCoP','entries','tagName','currentTarget','Escape','52638XCvGDI','isEquals','click','6mzSsHF','firstUpdated','map','startsWith','1138144BrXAbb','styles','removeGarbageData','after','addEventListener','editable','parseFormConfigs','pageInitialized','updateMultiple','141669IHlhDa','column','detail','getContextObject','3218365CEEuGV','target','Esc','showAlertPopup','__seq__','1405474wPkvMy','isNotEmpty','validation'];a0_0x5ee1=function(){return _0x3a8229;};return a0_0x5ee1();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x719fe9=>class extends MetaButtonMixin(_0x719fe9){static get[a0_0x4b094b(0xe4)](){const _0x12c76c=a0_0x4b094b;return MetaApi[_0x12c76c(0x11f)]();}static get[a0_0x4b094b(0x104)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x5b9a4a=a0_0x4b094b;return MetaUiUtil[_0x5b9a4a(0xef)](this);}async['connectedCallback'](){const _0x37f404=a0_0x4b094b;if(this[_0x37f404(0x10c)]){let {column:_0x5e5658=0x1}=this[_0x37f404(0x10c)];this[_0x37f404(0xed)]=_0x5e5658;}await this[_0x37f404(0x115)](),this['isElement']&&await this[_0x37f404(0xe9)](),super[_0x37f404(0x11c)]&&await super[_0x37f404(0x11c)](),this[_0x37f404(0x11e)]&&await this[_0x37f404(0xfa)](),this[_0x37f404(0x103)][_0x37f404(0xe7)]('keydown',_0x8eb4c4=>{const _0x27b18c=_0x37f404;switch(_0x8eb4c4['key']){case _0x27b18c(0xf2):case _0x27b18c(0x125):case'Enter':this['focus'](),this['currentTarget']&&this[_0x27b18c(0x124)]['removeAttribute'](_0x27b18c(0x118)),this[_0x27b18c(0x124)]=null;}}),this['renderRoot'][_0x37f404(0xe7)](_0x37f404(0xde),_0x5ba1fb=>{const _0x1b9b7b=_0x37f404;_0x5ba1fb[_0x1b9b7b(0x117)]();let _0x2c1c1b=_0x5ba1fb[_0x1b9b7b(0xf1)];if(this['currentTarget']&&(this['focus'](),this[_0x1b9b7b(0x124)]['removeAttribute']('editing')),_0x1b9b7b(0xff)!==_0x2c1c1b[_0x1b9b7b(0x123)]||!_0x2c1c1b[_0x1b9b7b(0xed)]['record'][_0x1b9b7b(0xe8)])return this[_0x1b9b7b(0x101)](),void(this['currentTarget']=null);this['currentTarget']=_0x2c1c1b,_0x2c1c1b[_0x1b9b7b(0xfe)]('editing','true');}),this[_0x37f404(0xe7)](_0x37f404(0x102),_0x4e7923=>{const _0x18e3fc=_0x37f404;var {after:_0x249e57,before:_0x1f6a93,column:_0x1d30e6,record:_0x3d1404,row:_0x3c789d}=_0x4e7923[_0x18e3fc(0xee)];if(ValueUtil[_0x18e3fc(0xdd)](_0x249e57,_0x1f6a93))return;var _0x42fd0f=_0x1d30e6[_0x18e3fc(0xf7)];if(_0x42fd0f&&'function'==typeof _0x42fd0f&&!_0x42fd0f[_0x18e3fc(0x112)](this,_0x249e57,_0x1f6a93,_0x3d1404,_0x1d30e6))return;let _0x24a026=_0x1d30e6[_0x18e3fc(0x10d)];_0x3d1404[_0x24a026]=_0x249e57,_0x3d1404[_0x18e3fc(0xf8)]=_0x3d1404[_0x18e3fc(0xf8)]||{},_0x3d1404[_0x18e3fc(0xf8)][_0x24a026]={'before':_0x3d1404[_0x18e3fc(0x110)][_0x24a026],'after':_0x3d1404[_0x24a026]},ValueUtil['isEquals'](_0x3d1404[_0x18e3fc(0xf8)][_0x24a026]['before'],_0x3d1404[_0x18e3fc(0xf8)][_0x24a026][_0x18e3fc(0xe6)])&&delete _0x3d1404[_0x18e3fc(0xf8)][_0x24a026],ValueUtil[_0x18e3fc(0xf6)](_0x3d1404[_0x18e3fc(0xf8)])?_0x3d1404['__dirty__']='M':_0x3d1404[_0x18e3fc(0x107)]='',this['record']={..._0x3d1404};});}async[a0_0x4b094b(0xe0)](){const _0x18b32c=a0_0x4b094b;super[_0x18b32c(0xe0)]&&await super['firstUpdated']();}async[a0_0x4b094b(0xea)](){const _0x5de372=a0_0x4b094b;this['isPage']&&await this[_0x5de372(0xe9)](),super[_0x5de372(0xea)]&&await super[_0x5de372(0xea)](),this[_0x5de372(0x10e)]&&await this[_0x5de372(0xfa)]();}['render'](){const _0x254267=a0_0x4b094b;return MetaApi[_0x254267(0x11b)](this);}[a0_0x4b094b(0xfc)](_0x26b475){const _0x2766ee=a0_0x4b094b;this[_0x2766ee(0x105)]=_0x26b475[_0x2766ee(0xfd)],this[_0x2766ee(0x108)]=_0x26b475[_0x2766ee(0xfb)],_0x26b475[_0x2766ee(0x113)]=_0x26b475[_0x2766ee(0x113)][_0x2766ee(0x120)](_0x41c778=>_0x2766ee(0x10f)==_0x41c778[_0x2766ee(0x10d)]);}async[a0_0x4b094b(0xe9)](){this['formConfigSet']=await MetaApi['parseFormConfigSet'](this);}get[a0_0x4b094b(0x116)](){const _0xef48d1=a0_0x4b094b;return this[_0xef48d1(0xe5)](this[_0xef48d1(0x11a)]['__origin__']);}get[a0_0x4b094b(0x11d)](){const _0x1a1c8d=a0_0x4b094b;if(ValueUtil['isEmpty'](this[_0x1a1c8d(0x11a)][_0x1a1c8d(0xf8)]))return{};let _0x577def={};return Object[_0x1a1c8d(0x122)](this[_0x1a1c8d(0x11a)][_0x1a1c8d(0xf8)])[_0x1a1c8d(0xe1)](([_0x24f481,_0x17dbe8])=>{const _0x537807=_0x1a1c8d;0x0==_0x24f481[_0x537807(0xe2)]('__')&&(_0x577def[_0x24f481]=_0x17dbe8[_0x537807(0xe6)]);}),_0x577def;}get[a0_0x4b094b(0x10a)](){const _0x47e6bd=a0_0x4b094b;return this[_0x47e6bd(0xe5)](this[_0x47e6bd(0x11a)]);}[a0_0x4b094b(0xe5)](_0x6cfb64){const _0x139061=a0_0x4b094b;let _0x572fbc={};return Object[_0x139061(0x122)](_0x6cfb64)['map'](([_0x28e1de,_0x2593fb])=>{const _0x4d82a9=_0x139061;0x0==_0x28e1de[_0x4d82a9(0xe2)]('__')&&(_0x572fbc[_0x28e1de]=_0x2593fb);}),_0x572fbc;}get['patchData'](){const _0x14a03e=a0_0x4b094b;let _0x5b3592=this[_0x14a03e(0x11d)],_0x5995a8=this[_0x14a03e(0x11a)];return ValueUtil['isEmpty'](_0x5b3592)?{}:(ValueUtil[_0x14a03e(0xf6)](_0x5995a8['id'])?(_0x5b3592['id']=_0x5995a8['id'],_0x5b3592[_0x14a03e(0x119)]='M'):_0x5b3592[_0x14a03e(0x119)]='+',[_0x5b3592]);}async['fetch'](){const _0x15fe69=a0_0x4b094b;if(ValueUtil[_0x15fe69(0x111)](this['parent_id']))return;let _0x56a4b8=await this[_0x15fe69(0xf9)](this[_0x15fe69(0x114)]);_0x56a4b8[_0x15fe69(0xf4)]=0x1;let _0x317753={};Object['assign'](_0x317753,_0x56a4b8),_0x56a4b8[_0x15fe69(0x110)]=_0x317753,this['record']={..._0x56a4b8};}async[a0_0x4b094b(0x10f)](){const _0x2740ac=a0_0x4b094b;let _0x11367c=this[_0x2740ac(0x10b)];if(ValueUtil[_0x2740ac(0x111)](_0x11367c))return void MetaApi[_0x2740ac(0xf3)](_0x2740ac(0x109),'text.NOTHING_CHANGED');let _0x386dc3=await this[_0x2740ac(0xeb)](_0x11367c);return _0x386dc3&&await this[_0x2740ac(0xfa)](),_0x386dc3;}};
1
+ function a0_0x482c(){const _0xa4c5c4=['getContextObject','Esc','before','currentTarget','OX-GRID-FIELD','config','column','updateMultiple','pageInitialized','removeAttribute','isEmpty','Escape','stopPropagation','validation','grid_column','button','form','isNotEmpty','parent_id','34968FyngSQ','context','patchData','save','formColumnConfig','543260DPuvlM','12230210mQXjwI','title.info','call','setAttribute','getBasicFormStyles','detail','10024EXoOHV','connectedCallback','Enter','1012806ncRobT','48XMbkrj','styles','text.NOTHING_CHANGED','function','field-change','fetch','findOne','click','focus','1015qkntYT','__dirty__','getAndParseMenuMeta','parseFormConfigs','editing','record','removeGarbageData','key','formRenderConfig','addEventListener','startsWith','orgData','renderRoot','tagName','dirtyData','__origin__','parseBasicFormConfigs','firstUpdated','__dirtyfields__','after','formConfigSet','keydown','map','currentData','527334hgLLzF','763iCoqfe','assign','isPage','isElement','render','__seq__','cuFlag','1677522pnLniv','true','isEquals'];a0_0x482c=function(){return _0xa4c5c4;};return a0_0x482c();}const a0_0x823fe6=a0_0x1930;(function(_0x1c02e5,_0x19861a){const _0xbcb80=a0_0x1930,_0x16065a=_0x1c02e5();while(!![]){try{const _0x4865cf=-parseInt(_0xbcb80(0x92))/0x1+-parseInt(_0xbcb80(0x6f))/0x2+-parseInt(_0xbcb80(0x77))/0x3+-parseInt(_0xbcb80(0x99))/0x4*(-parseInt(_0xbcb80(0xa6))/0x5)+parseInt(_0xbcb80(0x8d))/0x6*(-parseInt(_0xbcb80(0x70))/0x7)+-parseInt(_0xbcb80(0x9d))/0x8*(-parseInt(_0xbcb80(0x9c))/0x9)+parseInt(_0xbcb80(0x93))/0xa;if(_0x4865cf===_0x19861a)break;else _0x16065a['push'](_0x16065a['shift']());}catch(_0x5835c6){_0x16065a['push'](_0x16065a['shift']());}}}(a0_0x482c,0x63056));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1930(_0x6c6f0e,_0x3fa034){const _0x482cb6=a0_0x482c();return a0_0x1930=function(_0x19301f,_0x2edf8c){_0x19301f=_0x19301f-0x67;let _0x14b34e=_0x482cb6[_0x19301f];return _0x14b34e;},a0_0x1930(_0x6c6f0e,_0x3fa034);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x64bd13=>class extends MetaButtonMixin(_0x64bd13){static get[a0_0x823fe6(0x9e)](){const _0x3e42ae=a0_0x823fe6;return MetaApi[_0x3e42ae(0x97)]();}static get['properties'](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x823fe6(0x8e)](){const _0x880e3b=a0_0x823fe6;return MetaUiUtil[_0x880e3b(0x7a)](this);}async['connectedCallback'](){const _0x1865b2=a0_0x823fe6;if(this[_0x1865b2(0x7f)]){let {column:_0x129191=0x1}=this[_0x1865b2(0x7f)];this[_0x1865b2(0x80)]=_0x129191;}await this[_0x1865b2(0xa8)](),this[_0x1865b2(0x73)]&&await this[_0x1865b2(0xa9)](),super[_0x1865b2(0x9a)]&&await super[_0x1865b2(0x9a)](),this[_0x1865b2(0x73)]&&await this[_0x1865b2(0xa2)](),this['renderRoot'][_0x1865b2(0xaf)](_0x1865b2(0x6c),_0x594f1b=>{const _0x2fce50=_0x1865b2;switch(_0x594f1b[_0x2fce50(0xad)]){case _0x2fce50(0x7b):case _0x2fce50(0x85):case _0x2fce50(0x9b):this[_0x2fce50(0xa5)](),this['currentTarget']&&this[_0x2fce50(0x7d)][_0x2fce50(0x83)](_0x2fce50(0xaa)),this[_0x2fce50(0x7d)]=null;}}),this[_0x1865b2(0xb2)][_0x1865b2(0xaf)](_0x1865b2(0xa4),_0x3d221f=>{const _0x23d481=_0x1865b2;_0x3d221f[_0x23d481(0x86)]();let _0x3e17d4=_0x3d221f['target'];if(this[_0x23d481(0x7d)]&&(this['focus'](),this['currentTarget'][_0x23d481(0x83)](_0x23d481(0xaa))),_0x23d481(0x7e)!==_0x3e17d4[_0x23d481(0xb3)]||!_0x3e17d4[_0x23d481(0x80)][_0x23d481(0xab)]['editable'])return this[_0x23d481(0xa5)](),void(this[_0x23d481(0x7d)]=null);this['currentTarget']=_0x3e17d4,_0x3e17d4[_0x23d481(0x96)](_0x23d481(0xaa),_0x23d481(0x78));}),this[_0x1865b2(0xaf)](_0x1865b2(0xa1),_0x1833bb=>{const _0x305b49=_0x1865b2;var {after:_0xb8e806,before:_0x5100e9,column:_0x2d3e84,record:_0x57b75f,row:_0x3c0320}=_0x1833bb[_0x305b49(0x98)];if(ValueUtil['isEquals'](_0xb8e806,_0x5100e9))return;var _0x5e4c70=_0x2d3e84[_0x305b49(0x87)];if(_0x5e4c70&&_0x305b49(0xa0)==typeof _0x5e4c70&&!_0x5e4c70[_0x305b49(0x95)](this,_0xb8e806,_0x5100e9,_0x57b75f,_0x2d3e84))return;let _0x3be975=_0x2d3e84['name'];_0x57b75f[_0x3be975]=_0xb8e806,_0x57b75f[_0x305b49(0x69)]=_0x57b75f['__dirtyfields__']||{},_0x57b75f[_0x305b49(0x69)][_0x3be975]={'before':_0x57b75f[_0x305b49(0xb5)][_0x3be975],'after':_0x57b75f[_0x3be975]},ValueUtil[_0x305b49(0x79)](_0x57b75f[_0x305b49(0x69)][_0x3be975][_0x305b49(0x7c)],_0x57b75f[_0x305b49(0x69)][_0x3be975][_0x305b49(0x6a)])&&delete _0x57b75f[_0x305b49(0x69)][_0x3be975],ValueUtil[_0x305b49(0x8b)](_0x57b75f[_0x305b49(0x69)])?_0x57b75f[_0x305b49(0xa7)]='M':_0x57b75f[_0x305b49(0xa7)]='',this[_0x305b49(0xab)]={..._0x57b75f};});}async[a0_0x823fe6(0x68)](){const _0x8bf4cc=a0_0x823fe6;super['firstUpdated']&&await super[_0x8bf4cc(0x68)]();}async[a0_0x823fe6(0x82)](){const _0x2f974f=a0_0x823fe6;this['isPage']&&await this['parseFormConfigs'](),super[_0x2f974f(0x82)]&&await super[_0x2f974f(0x82)](),this[_0x2f974f(0x72)]&&await this[_0x2f974f(0xa2)]();}[a0_0x823fe6(0x74)](){return MetaApi['getBasicFormHtml'](this);}[a0_0x823fe6(0x67)](_0x37c8be){const _0x58cf74=a0_0x823fe6;this[_0x58cf74(0x91)]=_0x37c8be[_0x58cf74(0x88)],this[_0x58cf74(0xae)]=_0x37c8be[_0x58cf74(0x8a)],_0x37c8be[_0x58cf74(0x89)]=_0x37c8be[_0x58cf74(0x89)]['filter'](_0x4cd0ed=>_0x58cf74(0x90)==_0x4cd0ed['name']);}async[a0_0x823fe6(0xa9)](){const _0x212ebb=a0_0x823fe6;this[_0x212ebb(0x6b)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x823fe6(0xb1)](){const _0x4efb4c=a0_0x823fe6;return this[_0x4efb4c(0xac)](this[_0x4efb4c(0xab)][_0x4efb4c(0xb5)]);}get[a0_0x823fe6(0xb4)](){const _0xe2f846=a0_0x823fe6;if(ValueUtil[_0xe2f846(0x84)](this['record'][_0xe2f846(0x69)]))return{};let _0x62c287={};return Object['entries'](this['record'][_0xe2f846(0x69)])[_0xe2f846(0x6d)](([_0x454e04,_0x28976e])=>{const _0x100624=_0xe2f846;0x0==_0x454e04[_0x100624(0xb0)]('__')&&(_0x62c287[_0x454e04]=_0x28976e[_0x100624(0x6a)]);}),_0x62c287;}get[a0_0x823fe6(0x6e)](){const _0x59e4c1=a0_0x823fe6;return this[_0x59e4c1(0xac)](this['record']);}[a0_0x823fe6(0xac)](_0x159308){const _0x2e0158=a0_0x823fe6;let _0x3d61ab={};return Object['entries'](_0x159308)[_0x2e0158(0x6d)](([_0x4f113b,_0x483e46])=>{const _0x1a0163=_0x2e0158;0x0==_0x4f113b[_0x1a0163(0xb0)]('__')&&(_0x3d61ab[_0x4f113b]=_0x483e46);}),_0x3d61ab;}get['patchData'](){const _0x16cf7b=a0_0x823fe6;let _0x518ec9=this[_0x16cf7b(0xb4)],_0x4d7a83=this[_0x16cf7b(0xab)];return ValueUtil[_0x16cf7b(0x84)](_0x518ec9)?{}:(ValueUtil[_0x16cf7b(0x8b)](_0x4d7a83['id'])?(_0x518ec9['id']=_0x4d7a83['id'],_0x518ec9[_0x16cf7b(0x76)]='M'):_0x518ec9[_0x16cf7b(0x76)]='+',[_0x518ec9]);}async['fetch'](){const _0x55bef5=a0_0x823fe6;if(ValueUtil[_0x55bef5(0x84)](this[_0x55bef5(0x8c)]))return;let _0x19b117=await this[_0x55bef5(0xa3)](this[_0x55bef5(0x8c)]);_0x19b117[_0x55bef5(0x75)]=0x1;let _0xb8fea1={};Object[_0x55bef5(0x71)](_0xb8fea1,_0x19b117),_0x19b117['__origin__']=_0xb8fea1,this[_0x55bef5(0xab)]={..._0x19b117};}async['save'](){const _0x598390=a0_0x823fe6;let _0x2cf4eb=this[_0x598390(0x8f)];if(ValueUtil[_0x598390(0x84)](_0x2cf4eb))return void MetaApi['showAlertPopup'](_0x598390(0x94),_0x598390(0x9f));let _0x475f4a=await this[_0x598390(0x81)](_0x2cf4eb);return _0x475f4a&&await this[_0x598390(0xa2)](),_0x475f4a;}};
@@ -1,22 +1,22 @@
1
- const a0_0x326317=a0_0x1731;(function(_0x31d1af,_0x536d3f){const _0x394143=a0_0x1731,_0x45de77=_0x31d1af();while(!![]){try{const _0x53b43d=-parseInt(_0x394143(0x155))/0x1*(parseInt(_0x394143(0x17c))/0x2)+-parseInt(_0x394143(0x182))/0x3+-parseInt(_0x394143(0x162))/0x4*(-parseInt(_0x394143(0x17d))/0x5)+parseInt(_0x394143(0x160))/0x6*(parseInt(_0x394143(0x165))/0x7)+-parseInt(_0x394143(0x172))/0x8+-parseInt(_0x394143(0x156))/0x9+-parseInt(_0x394143(0x15d))/0xa*(-parseInt(_0x394143(0x16a))/0xb);if(_0x53b43d===_0x536d3f)break;else _0x45de77['push'](_0x45de77['shift']());}catch(_0x28a2a8){_0x45de77['push'](_0x45de77['shift']());}}}(a0_0x4712,0x98336));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1731(_0x241403,_0x2a8142){const _0x47127f=a0_0x4712();return a0_0x1731=function(_0x17319c,_0x131a8b){_0x17319c=_0x17319c-0x14f;let _0x6708dd=_0x47127f[_0x17319c];return _0x6708dd;},a0_0x1731(_0x241403,_0x2a8142);}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_0x4712(){const _0x4df5dd=['findOne','etc','useFilterForm','filterForm','6zFXRgy','2142615OMZAOR','parseGridConfigSet','currentRouting','import','search','3262392RjAtGK','parseGristConfigs','gridConfig','getBasicGristTabStyles','isNotEmpty','grid','menuInfo','record','actions','etcConfig','ox-grist','gristConfigSet','deleteByIds','pageInitialized','fetch','grid_column','firstUpdated','grist','isElement','getParams','connectedCallback','parseBasicGridConfigs','gristId','tTitle','isPage','searchFields','filterFormId','265801ALARlb','8182314TMYRhi','getAndParseMenuMeta','columns','find','exportable','exportableData','patchesForUpdateMultiple','7840AaJsll','render','title','21564FSmBfC','importable','4SPKgrn','gridColumnConfig','context','868arCCmA','styles','name','getSelectedIdList','filter','44033arqteC','properties','50%\x2050%','export','master_detail_size','options','route_name','operator','4760832wOocaS','save','querySelector','grid-template-rows:','useMasterFilterForm','map'];a0_0x4712=function(){return _0x4df5dd;};return a0_0x4712();}export const MetaGristTabMixin=_0x34be52=>class extends MetaButtonMixin(_0x34be52){static get[a0_0x326317(0x166)](){const _0x58d23f=a0_0x326317;return MetaApi[_0x58d23f(0x185)]();}static get[a0_0x326317(0x16b)](){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 _0x542422=a0_0x326317;return this['renderRoot'][_0x542422(0x174)](this['gristId']);}get[a0_0x326317(0x17b)](){const _0x2123ff=a0_0x326317;return this['shadowRoot']?.[_0x2123ff(0x174)](this[_0x2123ff(0x154)]);}get[a0_0x326317(0x164)](){const _0x33e865=a0_0x326317;let _0x136fe8=MetaUiUtil['getContextObject'](this);return _0x136fe8['actions']&&delete _0x136fe8[_0x33e865(0x18a)],_0x136fe8[_0x33e865(0x15a)]&&delete _0x136fe8['exportable'],_0x136fe8[_0x33e865(0x161)]&&delete _0x136fe8[_0x33e865(0x161)],_0x136fe8;}async[a0_0x326317(0x196)](){const _0x420c78=a0_0x326317;this[_0x420c78(0x150)]=_0x420c78(0x18c),this[_0x420c78(0x154)]='ox-filters-form-base',await this[_0x420c78(0x157)](),this[_0x420c78(0x194)]&&await this['parseGristConfigs'](),super[_0x420c78(0x196)]&&await super['connectedCallback']();}async[a0_0x326317(0x192)](){const _0x3e5141=a0_0x326317;super['firstUpdated']&&await super[_0x3e5141(0x192)]();}async[a0_0x326317(0x18f)](){const _0x4e6b02=a0_0x326317;this[_0x4e6b02(0x152)]&&await this[_0x4e6b02(0x183)](),super[_0x4e6b02(0x18f)]&&await super[_0x4e6b02(0x18f)]();}[a0_0x326317(0x15e)](){const _0xf5441a=a0_0x326317;let _0x24776c=this['etcConfig']['master_detail_type']||'top_bottom',_0x56d256=this['etcConfig'][_0xf5441a(0x16e)]||_0xf5441a(0x16c),_0x6a87ec='left_right'==_0x24776c?'grid-template-columns:'+_0x56d256+';':_0xf5441a(0x175)+_0x56d256+';',_0x486c69=this[_0xf5441a(0x152)]?UiUtil[_0xf5441a(0x17f)]():this[_0xf5441a(0x170)];return html`
2
- ${0x0==this[_0xf5441a(0x176)]?html``:html`
1
+ const a0_0x461fe2=a0_0x2f22;(function(_0x2faf99,_0x22989e){const _0x142ae0=a0_0x2f22,_0x262206=_0x2faf99();while(!![]){try{const _0x87a872=-parseInt(_0x142ae0(0x1a6))/0x1+-parseInt(_0x142ae0(0x188))/0x2*(-parseInt(_0x142ae0(0x19c))/0x3)+parseInt(_0x142ae0(0x1a2))/0x4*(parseInt(_0x142ae0(0x17f))/0x5)+-parseInt(_0x142ae0(0x1b3))/0x6+-parseInt(_0x142ae0(0x19a))/0x7*(parseInt(_0x142ae0(0x1b9))/0x8)+-parseInt(_0x142ae0(0x19e))/0x9+parseInt(_0x142ae0(0x1b4))/0xa;if(_0x87a872===_0x22989e)break;else _0x262206['push'](_0x262206['shift']());}catch(_0x4c496b){_0x262206['push'](_0x262206['shift']());}}}(a0_0x2776,0x96d46));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0xab1d96=>class extends MetaButtonMixin(_0xab1d96){static get[a0_0x461fe2(0x181)](){const _0x55c602=a0_0x461fe2;return MetaApi[_0x55c602(0x17c)]();}static get[a0_0x461fe2(0x1b2)](){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_0x461fe2(0x191)](){const _0x27cc64=a0_0x461fe2;return this[_0x27cc64(0x183)][_0x27cc64(0x19d)](this['gristId']);}get[a0_0x461fe2(0x1ab)](){const _0x27a39f=a0_0x461fe2;return this[_0x27a39f(0x19b)]?.[_0x27a39f(0x19d)](this['filterFormId']);}get[a0_0x461fe2(0x1ac)](){const _0xed1277=a0_0x461fe2;let _0x1ed4bd=MetaUiUtil['getContextObject'](this);return _0x1ed4bd['actions']&&delete _0x1ed4bd[_0xed1277(0x193)],_0x1ed4bd[_0xed1277(0x1b1)]&&delete _0x1ed4bd[_0xed1277(0x1b1)],_0x1ed4bd[_0xed1277(0x1a4)]&&delete _0x1ed4bd['importable'],_0x1ed4bd;}async[a0_0x461fe2(0x1bd)](){const _0x24c57a=a0_0x461fe2;this['gristId']=_0x24c57a(0x1ae),this['filterFormId']=_0x24c57a(0x199),await this[_0x24c57a(0x1a7)](),this[_0x24c57a(0x187)]&&await this['parseGristConfigs'](),super[_0x24c57a(0x1bd)]&&await super[_0x24c57a(0x1bd)]();}async[a0_0x461fe2(0x195)](){const _0x28ae7c=a0_0x461fe2;super[_0x28ae7c(0x195)]&&await super['firstUpdated']();}async[a0_0x461fe2(0x192)](){const _0x517c2e=a0_0x461fe2;this[_0x517c2e(0x1af)]&&await this[_0x517c2e(0x1c0)](),super[_0x517c2e(0x192)]&&await super[_0x517c2e(0x192)]();}[a0_0x461fe2(0x1c1)](){const _0x3dc021=a0_0x461fe2;let _0x5c958e=this[_0x3dc021(0x1be)][_0x3dc021(0x1a3)]||_0x3dc021(0x1a8),_0x5e98ae=this[_0x3dc021(0x1be)][_0x3dc021(0x1b5)]||_0x3dc021(0x1b8),_0x2a75a9=_0x3dc021(0x180)==_0x5c958e?_0x3dc021(0x1a9)+_0x5e98ae+';':'grid-template-rows:'+_0x5e98ae+';',_0x42876d=this[_0x3dc021(0x1af)]?UiUtil['currentRouting']():this['route_name'];return html`
2
+ ${0x0==this[_0x3dc021(0x17d)]?html``:html`
3
3
  <div slot="headroom">
4
4
  <div id="filters">
5
5
  <ox-filters-form-base
6
6
  id='ox-filters-form'
7
- .filters=${this[_0xf5441a(0x153)]||[]}
8
- @filters-change=${_0x19dbff=>{const _0x5a06ad=_0xf5441a;this[_0x5a06ad(0x193)]?.['fetch']();}}
7
+ .filters=${this[_0x3dc021(0x196)]||[]}
8
+ @filters-change=${_0x175f46=>{const _0x2d8436=_0x3dc021;this['grist']?.[_0x2d8436(0x1ad)]();}}
9
9
  ></ox-filters-form-base>
10
10
  </div>
11
11
  </div>
12
12
  `}
13
- <div id="container" class="container" style="${_0x6a87ec}">
13
+ <div id="container" class="container" style="${_0x2a75a9}">
14
14
  <div class="container_detail">
15
- ${MetaApi['getBasicGristHtml'](this)}
16
- ${MetaUiUtil['getButtonContainer'](this)}
15
+ ${MetaApi[_0x3dc021(0x184)](this)}
16
+ ${MetaUiUtil[_0x3dc021(0x1bb)](this)}
17
17
  </div>
18
18
  <div class="container_detail">
19
- <meta-tab-element id="detail" route_name="${_0x486c69}" is_detail=true></meta-tab-element>
19
+ <meta-tab-element id="detail" route_name="${_0x42876d}" is_detail=true></meta-tab-element>
20
20
  </div>
21
21
  </div>
22
- `;}[a0_0x326317(0x14f)](_0x5a1b18){const _0x4cb31c=a0_0x326317;this[_0x4cb31c(0x184)]=_0x5a1b18[_0x4cb31c(0x187)],this[_0x4cb31c(0x163)]=_0x5a1b18[_0x4cb31c(0x191)],this['searchConfig']=_0x5a1b18[_0x4cb31c(0x181)],this[_0x4cb31c(0x18b)]=_0x5a1b18[_0x4cb31c(0x179)];}async[a0_0x326317(0x183)](){const _0x42f47b=a0_0x326317;this[_0x42f47b(0x18d)]=await MetaApi[_0x42f47b(0x17e)](this),this['useMasterFilterForm']=this[_0x42f47b(0x17a)],this['useFilterForm']=!0x1,this[_0x42f47b(0x153)]=this[_0x42f47b(0x18d)][_0x42f47b(0x158)][_0x42f47b(0x169)](_0x397649=>_0x397649[_0x42f47b(0x169)])[_0x42f47b(0x177)](_0x5a45c7=>{const _0x449021=_0x42f47b;let _0x2b16ee={'name':_0x5a45c7[_0x449021(0x167)],'type':_0x5a45c7['type'],'label':_0x5a45c7['header'],'operator':_0x5a45c7[_0x449021(0x171)]?_0x5a45c7['operator']:'eq'};return _0x5a45c7[_0x449021(0x189)][_0x449021(0x16f)]&&(_0x2b16ee[_0x449021(0x16f)]=_0x5a45c7[_0x449021(0x189)][_0x449021(0x16f)]),_0x2b16ee;});}async['fetch'](){const _0x20a11f=a0_0x326317;await this[_0x20a11f(0x193)][_0x20a11f(0x190)]();}async[a0_0x326317(0x173)](){const _0x2c7b58=a0_0x326317;let _0x391cb6=MetaApi[_0x2c7b58(0x15c)](this[_0x2c7b58(0x193)]);!!ValueUtil[_0x2c7b58(0x186)](_0x391cb6)&&await this['updateMultiple'](_0x391cb6)&&this[_0x2c7b58(0x190)]();}async[a0_0x326317(0x159)](){const _0x128ab7=a0_0x326317;let _0x2358ba=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil['isNotEmpty'](_0x2358ba)?await this[_0x128ab7(0x178)](_0x2358ba[0x0]):{};}async['delete'](){const _0x270956=a0_0x326317;let _0x3c1800=MetaApi[_0x270956(0x168)](this[_0x270956(0x193)],!0x0);!!ValueUtil[_0x270956(0x186)](_0x3c1800)&&await this[_0x270956(0x18e)](_0x3c1800)&&this[_0x270956(0x190)]();}async[a0_0x326317(0x16d)](){const _0x6a4dc=a0_0x326317;let _0x5b9da3=TermsUtil[_0x6a4dc(0x151)](ValueUtil[_0x6a4dc(0x195)](this[_0x6a4dc(0x188)],_0x6a4dc(0x15f)));return await MetaApi[_0x6a4dc(0x15b)](this[_0x6a4dc(0x194)],_0x5b9da3,this[_0x6a4dc(0x193)]);}async[a0_0x326317(0x180)](){}};
22
+ `;}[a0_0x461fe2(0x18c)](_0x373867){const _0x41d438=a0_0x461fe2;this[_0x41d438(0x1aa)]=_0x373867['grid'],this['gridColumnConfig']=_0x373867[_0x41d438(0x18e)],this[_0x41d438(0x17e)]=_0x373867['search'],this[_0x41d438(0x1be)]=_0x373867[_0x41d438(0x18d)];}async[a0_0x461fe2(0x1c0)](){const _0x256122=a0_0x461fe2;this[_0x256122(0x1a5)]=await MetaApi[_0x256122(0x1a1)](this),this['useMasterFilterForm']=this[_0x256122(0x1ba)],this[_0x256122(0x1ba)]=!0x1,this[_0x256122(0x196)]=this[_0x256122(0x1a5)][_0x256122(0x182)]['filter'](_0x12debc=>_0x12debc[_0x256122(0x198)])['map'](_0x5f3a7a=>{const _0x1ab764=_0x256122;let _0x3a3c41={'name':_0x5f3a7a[_0x1ab764(0x1b6)],'type':_0x5f3a7a[_0x1ab764(0x19f)],'label':_0x5f3a7a[_0x1ab764(0x18f)],'operator':_0x5f3a7a[_0x1ab764(0x185)]?_0x5f3a7a[_0x1ab764(0x185)]:'eq'};return _0x5f3a7a['record'][_0x1ab764(0x197)]&&(_0x3a3c41[_0x1ab764(0x197)]=_0x5f3a7a['record']['options']),_0x3a3c41;});}async['fetch'](){const _0x291db8=a0_0x461fe2;await this[_0x291db8(0x191)]['fetch']();}async[a0_0x461fe2(0x1bc)](){const _0x2b11e0=a0_0x461fe2;let _0x272958=MetaApi[_0x2b11e0(0x18a)](this[_0x2b11e0(0x191)]);!!ValueUtil[_0x2b11e0(0x186)](_0x272958)&&await this['updateMultiple'](_0x272958)&&this['fetch']();}async[a0_0x461fe2(0x1b0)](){const _0x29b937=a0_0x461fe2;let _0x491962=MetaApi[_0x29b937(0x18b)](this[_0x29b937(0x191)],!0x0);return ValueUtil[_0x29b937(0x186)](_0x491962)?await this['findOne'](_0x491962[0x0]):{};}async['delete'](){const _0x8295c2=a0_0x461fe2;let _0x18c40b=MetaApi[_0x8295c2(0x18b)](this[_0x8295c2(0x191)],!0x0);!!ValueUtil[_0x8295c2(0x186)](_0x18c40b)&&await this[_0x8295c2(0x1bf)](_0x18c40b)&&this[_0x8295c2(0x1ad)]();}async[a0_0x461fe2(0x194)](){const _0x2ea5e5=a0_0x461fe2;let _0x64f173=TermsUtil[_0x2ea5e5(0x1a0)](ValueUtil[_0x2ea5e5(0x190)](this['menuInfo'],_0x2ea5e5(0x1b7)));return await MetaApi['exportableData'](this[_0x2ea5e5(0x187)],_0x64f173,this[_0x2ea5e5(0x191)]);}async[a0_0x461fe2(0x189)](){}};function a0_0x2f22(_0x3d5c82,_0x5e4e44){const _0x2776c4=a0_0x2776();return a0_0x2f22=function(_0x2f2213,_0x15c55c){_0x2f2213=_0x2f2213-0x17c;let _0x2b0797=_0x2776c4[_0x2f2213];return _0x2b0797;},a0_0x2f22(_0x3d5c82,_0x5e4e44);}function a0_0x2776(){const _0x3a93c2=['deleteByIds','parseGristConfigs','render','getBasicGristTabStyles','useMasterFilterForm','searchConfig','60245ffHWqb','left_right','styles','columns','renderRoot','getBasicGristHtml','operator','isNotEmpty','isElement','18532mNXxrs','import','patchesForUpdateMultiple','getSelectedIdList','parseBasicGridConfigs','etc','grid_column','header','getParams','grist','pageInitialized','actions','export','firstUpdated','searchFields','options','filter','ox-filters-form-base','432082fBNriP','shadowRoot','123fZJeuM','querySelector','7209720PATAvE','type','tTitle','parseGridConfigSet','60UzDcpU','master_detail_type','importable','gristConfigSet','999602IAggzq','getAndParseMenuMeta','top_bottom','grid-template-columns:','gridConfig','filterForm','context','fetch','ox-grist','isPage','find','exportable','properties','1451280lukzAr','28404310BxYdsZ','master_detail_size','name','title','50%\x2050%','96DbQJTH','useFilterForm','getButtonContainer','save','connectedCallback','etcConfig'];a0_0x2776=function(){return _0x3a93c2;};return a0_0x2776();}
@@ -1 +1 @@
1
- const a0_0x23c921=a0_0x1584;(function(_0x153306,_0x3d3af5){const _0x5a47a=a0_0x1584,_0xdd6927=_0x153306();while(!![]){try{const _0x433cd5=parseInt(_0x5a47a(0xf4))/0x1*(-parseInt(_0x5a47a(0xdf))/0x2)+parseInt(_0x5a47a(0x107))/0x3+-parseInt(_0x5a47a(0xfc))/0x4*(parseInt(_0x5a47a(0xfa))/0x5)+-parseInt(_0x5a47a(0xfb))/0x6*(-parseInt(_0x5a47a(0x108))/0x7)+-parseInt(_0x5a47a(0xe6))/0x8+-parseInt(_0x5a47a(0x101))/0x9+parseInt(_0x5a47a(0xf8))/0xa;if(_0x433cd5===_0x3d3af5)break;else _0xdd6927['push'](_0xdd6927['shift']());}catch(_0x26ae05){_0xdd6927['push'](_0xdd6927['shift']());}}}(a0_0x52e4,0xc58d7));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x1584(_0x9216ad,_0x4658b2){const _0x52e409=a0_0x52e4();return a0_0x1584=function(_0x158414,_0x6ee9e3){_0x158414=_0x158414-0xdc;let _0xde3371=_0x52e409[_0x158414];return _0xde3371;},a0_0x1584(_0x9216ad,_0x4658b2);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x52e4(){const _0x4d66aa=['map','544542GnDOhq','params','list_func','getSelectColumns','18277850eJWLpZ','isElement','275oaUfNm','17166ipmWWt','45860dSOzYy','pass','isNotEmpty','func','parent_id','9974160OfbvDj','updateMultiple','parseBasicServiceConfigs','split','name','findOne','3283323xVUljO','721vqWEzf','deleteListByIds','gqlInfo','value','gristConfigSet','keys','filters','getQueryFilters','2UdvfIg','columns','lifecycle','multiple','push','properties','query','995016qugThb','includes','searchByPagination','records','getPageNavigateParams','forEach','getParams','isPage','filter','isEmpty','mutation','length','deleteByIds'];a0_0x52e4=function(){return _0x4d66aa;};return a0_0x52e4();}export const MetaServiceMixin=_0x4ec654=>class extends MetaBaseMixin(_0x4ec654){static get[a0_0x23c921(0xe4)](){return{'gqlInfo':Object};}[a0_0x23c921(0x103)](_0x3971ca){const _0x45f6ce=a0_0x23c921;this[_0x45f6ce(0x10a)]=_0x3971ca['gql'];}async['fetchHandler']({page:_0x2149ac=0x0,limit:_0x150222=0x0,sortings:_0x766353=[],filters:_0x56f435=[]}){const _0x157036=a0_0x23c921;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x2c33d5=ValueUtil[_0x157036(0xef)](_0x56f435)?await this['filterForm']?.[_0x157036(0xde)]()||[]:_0x56f435,_0x1e4eea=ValueUtil[_0x157036(0xec)](this['gqlInfo'],'query',_0x157036(0xf6)),_0x8b9d0d=ValueUtil[_0x157036(0xec)](this[_0x157036(0x10a)],'query',_0x157036(0xdd)),_0x125e5f=ValueUtil[_0x157036(0xec)](this[_0x157036(0x10a)],_0x157036(0xe5),'after_set_fields');if(ValueUtil[_0x157036(0xfe)](_0x8b9d0d)&&(_0x2c33d5=adjustFilters(_0x2c33d5,_0x8b9d0d)),_0x2c33d5[_0x157036(0xe3)](...this['getPageNavigateParams']()),this[_0x157036(0xf9)]){let _0xdeca94=ValueUtil[_0x157036(0xec)](this['gqlInfo'],_0x157036(0xe5),'parent_id');ValueUtil[_0x157036(0xfe)](_0xdeca94)&&ValueUtil[_0x157036(0xfe)](this[_0x157036(0x100)])&&(_0x2c33d5=adjustFilters(_0x2c33d5,[{'name':_0xdeca94,'operator':'eq','value':this[_0x157036(0x100)]}]));}let _0x5eefa7=Object['keys'](_0x125e5f||{}),_0x5f3946=MetaApi[_0x157036(0xf7)](this[_0x157036(0x10c)][_0x157036(0xe0)][_0x157036(0xee)](_0x152ef1=>!_0x5eefa7[_0x157036(0xe7)](_0x152ef1[_0x157036(0x105)]))),_0x133111=await MetaApi[_0x157036(0xe8)](_0x1e4eea,_0x2c33d5,_0x766353,_0x2149ac,_0x150222,_0x5f3946);return ValueUtil[_0x157036(0xfe)](_0x125e5f)&&ValueUtil[_0x157036(0xfe)](_0x133111)&&ValueUtil[_0x157036(0xfe)](_0x133111[_0x157036(0xe9)])&&_0x133111['records']['map'](_0x48e275=>(_0x5eefa7[_0x157036(0xeb)](_0x52b8a2=>{const _0x2191ec=_0x157036;_0x48e275[_0x52b8a2]=ValueUtil[_0x2191ec(0xec)](_0x48e275,..._0x125e5f[_0x52b8a2][_0x2191ec(0x104)]('.'));}),_0x48e275)),_0x133111;}[a0_0x23c921(0xea)](){const _0x294ff5=a0_0x23c921;if(0x0==this[_0x294ff5(0xed)])return[];let _0x578c14=this[_0x294ff5(0xe1)]?.[_0x294ff5(0xf5)]?this['lifecycle']['params']:{};if(!_0x578c14[_0x294ff5(0xfd)])return[];let _0x26deb5=_0x578c14[_0x294ff5(0xfd)],_0x5f4e90=JSON['parse'](_0x26deb5),_0x57f5c2=0x1==_0x5f4e90[_0x294ff5(0xf1)]?'eq':'in',_0x110bf4={},_0x3f1b45=[];return Object[_0x294ff5(0xdc)](_0x5f4e90[0x0])['forEach'](_0x521683=>{_0x110bf4[_0x521683]={'name':_0x521683,'operator':_0x57f5c2,'value':'eq'===_0x57f5c2?_0x5f4e90[0x0][_0x521683]:[]};}),_0x5f4e90[_0x294ff5(0xf1)]>0x1&&_0x5f4e90[_0x294ff5(0xeb)](_0x29b50d=>{const _0x23ed71=_0x294ff5;Object[_0x23ed71(0xdc)](_0x29b50d)['forEach'](_0x2995bb=>{const _0x8dc632=_0x23ed71;_0x110bf4[_0x2995bb][_0x8dc632(0x10b)][_0x8dc632(0xe3)](_0x29b50d[_0x2995bb]);});}),Object['keys'](_0x110bf4)['forEach'](_0xf29d=>{const _0x4d9b6b=_0x294ff5;_0x3f1b45[_0x4d9b6b(0xe3)](_0x110bf4[_0xf29d]);}),_0x3f1b45;}async[a0_0x23c921(0x106)](_0x384db2){const _0x27c7c6=a0_0x23c921;let _0x51a8b5=ValueUtil['getParams'](this[_0x27c7c6(0x10a)],_0x27c7c6(0xe5),'find_one_func'),_0x14ca8f=ValueUtil[_0x27c7c6(0xec)](this[_0x27c7c6(0x10a)],'query','after_set_fields'),_0xf7ccf4=Object['keys'](_0x14ca8f||{}),_0x3a9e98=MetaApi[_0x27c7c6(0xf7)]((this[_0x27c7c6(0x10c)]?this['gristConfigSet']:{'columns':this['formConfigSet']})['columns'][_0x27c7c6(0xee)](_0x1704cf=>!_0xf7ccf4[_0x27c7c6(0xe7)](_0x1704cf['name']))),_0x3ab349=await MetaApi['findOne'](_0x51a8b5,_0x384db2,_0x3a9e98);return ValueUtil[_0x27c7c6(0xfe)](_0x14ca8f)&&ValueUtil['isNotEmpty'](_0x3ab349)&&_0xf7ccf4[_0x27c7c6(0xeb)](_0x24ebd5=>{const _0x320708=_0x27c7c6;_0x3ab349[_0x24ebd5]=ValueUtil[_0x320708(0xec)](_0x3ab349,..._0x14ca8f[_0x24ebd5][_0x320708(0x104)]('.'));}),_0x3ab349;}async[a0_0x23c921(0xf2)](_0x2c1fa8){const _0x408b7d=a0_0x23c921;let _0x38d2ba=ValueUtil[_0x408b7d(0xec)](this[_0x408b7d(0x10a)],_0x408b7d(0xf0),'delete','func');return await MetaApi[_0x408b7d(0x109)](_0x2c1fa8,_0x38d2ba);}async[a0_0x23c921(0x102)](_0x127983){const _0xd6a724=a0_0x23c921;let _0x2cae11=ValueUtil[_0xd6a724(0xec)](this['gqlInfo'],_0xd6a724(0xf0),_0xd6a724(0xe2),_0xd6a724(0xff)),_0x366975=ValueUtil['getParams'](this['gqlInfo'],_0xd6a724(0xf0),_0xd6a724(0xe2),'skip_fields');if(ValueUtil[_0xd6a724(0xfe)](_0x366975)&&(_0x366975=_0x366975[_0xd6a724(0xf3)](_0x43cafc=>_0x43cafc[_0xd6a724(0xe7)]('.')?_0x43cafc[_0xd6a724(0x104)]('.'):_0x43cafc),_0x127983=_0x127983['map'](_0x2d71fc=>(_0x366975[_0xd6a724(0xeb)](_0x2b15e3=>{Array['isArray'](_0x2b15e3)?delete _0x2d71fc[_0x2b15e3[0x0]][_0x2b15e3[0x1]]:delete _0x2d71fc[_0x2b15e3];}),_0x2d71fc))),this['isElement']&&ValueUtil[_0xd6a724(0xfe)](this[_0xd6a724(0x100)])){let _0x572ac9=ValueUtil['getParams'](this['gqlInfo'],_0xd6a724(0xf0),'multiple','parent_id');ValueUtil[_0xd6a724(0xfe)](_0x572ac9)&&_0x127983['forEach'](_0x1145c4=>{const _0x18cc98=_0xd6a724;if(_0x572ac9['includes']('.')){let _0x5c8517=_0x572ac9[_0x18cc98(0x104)]('.');_0x1145c4[_0x5c8517[0x0]]={},_0x1145c4[_0x5c8517[0x0]][_0x5c8517[0x1]]=this[_0x18cc98(0x100)];}else _0x1145c4[_0x572ac9]=this[_0x18cc98(0x100)];});}return await MetaApi['updateMultiple'](_0x2cae11,_0x127983);}};
1
+ const a0_0x10fcdc=a0_0x256d;(function(_0x9c5839,_0x5cf82f){const _0x40732c=a0_0x256d,_0x331622=_0x9c5839();while(!![]){try{const _0x4b1120=parseInt(_0x40732c(0x19f))/0x1*(-parseInt(_0x40732c(0x176))/0x2)+parseInt(_0x40732c(0x19a))/0x3*(-parseInt(_0x40732c(0x185))/0x4)+-parseInt(_0x40732c(0x17e))/0x5+-parseInt(_0x40732c(0x180))/0x6+parseInt(_0x40732c(0x19e))/0x7+parseInt(_0x40732c(0x195))/0x8+-parseInt(_0x40732c(0x198))/0x9*(-parseInt(_0x40732c(0x19b))/0xa);if(_0x4b1120===_0x5cf82f)break;else _0x331622['push'](_0x331622['shift']());}catch(_0x4a7dd2){_0x331622['push'](_0x331622['shift']());}}}(a0_0x357a,0x2cfcf));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x256d(_0x2c8b20,_0x5e4c93){const _0x357a02=a0_0x357a();return a0_0x256d=function(_0x256d4f,_0xc43d84){_0x256d4f=_0x256d4f-0x167;let _0x30baf4=_0x357a02[_0x256d4f];return _0x30baf4;},a0_0x256d(_0x2c8b20,_0x5e4c93);}function a0_0x357a(){const _0xc79013=['lifecycle','parent_id','586FBAMSR','forEach','value','mutation','query','parseBasicServiceConfigs','parse','filterForm','809375UZSLzm','includes','816588YPVdiv','fetchHandler','filters','keys','gql','137108CMinoY','filter','map','params','isEmpty','getQueryFilters','searchByPagination','isPage','push','gristConfigSet','skip_fields','properties','multiple','length','getPageNavigateParams','isArray','2657688CrvzoR','findOne','delete','3011166PWYDfA','records','24eOKuSp','10xlxsWA','getSelectColumns','after_set_fields','927171ZOBNAt','146mktDbK','getParams','pass','func','isElement','deleteListByIds','split','columns','isNotEmpty','formConfigSet','gqlInfo','deleteByIds','find_one_func','name'];a0_0x357a=function(){return _0xc79013;};return a0_0x357a();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x5329fd=>class extends MetaBaseMixin(_0x5329fd){static get[a0_0x10fcdc(0x190)](){return{'gqlInfo':Object};}[a0_0x10fcdc(0x17b)](_0x2723d3){const _0x59cb24=a0_0x10fcdc;this[_0x59cb24(0x170)]=_0x2723d3[_0x59cb24(0x184)];}async[a0_0x10fcdc(0x181)]({page:_0x12a780=0x0,limit:_0x17d025=0x0,sortings:_0x4d7cdc=[],filters:_0x5883c8=[]}){const _0x92ad7f=a0_0x10fcdc;if(!this[_0x92ad7f(0x18e)])return{'total':0x0,'records':[]};let _0x34bc7f=ValueUtil[_0x92ad7f(0x189)](_0x5883c8)?await this[_0x92ad7f(0x17d)]?.[_0x92ad7f(0x18a)]()||[]:_0x5883c8,_0x52e644=ValueUtil[_0x92ad7f(0x167)](this[_0x92ad7f(0x170)],_0x92ad7f(0x17a),'list_func'),_0x17e22e=ValueUtil['getParams'](this[_0x92ad7f(0x170)],_0x92ad7f(0x17a),_0x92ad7f(0x182)),_0x3d0d29=ValueUtil[_0x92ad7f(0x167)](this[_0x92ad7f(0x170)],_0x92ad7f(0x17a),_0x92ad7f(0x19d));if(ValueUtil[_0x92ad7f(0x16e)](_0x17e22e)&&(_0x34bc7f=adjustFilters(_0x34bc7f,_0x17e22e)),_0x34bc7f['push'](...this[_0x92ad7f(0x193)]()),this[_0x92ad7f(0x16a)]){let _0x2df77f=ValueUtil[_0x92ad7f(0x167)](this[_0x92ad7f(0x170)],'query','parent_id');ValueUtil['isNotEmpty'](_0x2df77f)&&ValueUtil[_0x92ad7f(0x16e)](this[_0x92ad7f(0x175)])&&(_0x34bc7f=adjustFilters(_0x34bc7f,[{'name':_0x2df77f,'operator':'eq','value':this['parent_id']}]));}let _0x4682a0=Object[_0x92ad7f(0x183)](_0x3d0d29||{}),_0x226f15=MetaApi['getSelectColumns'](this['gristConfigSet']['columns'][_0x92ad7f(0x186)](_0x2fab53=>!_0x4682a0[_0x92ad7f(0x17f)](_0x2fab53[_0x92ad7f(0x173)]))),_0x5f4595=await MetaApi[_0x92ad7f(0x18b)](_0x52e644,_0x34bc7f,_0x4d7cdc,_0x12a780,_0x17d025,_0x226f15);return ValueUtil[_0x92ad7f(0x16e)](_0x3d0d29)&&ValueUtil[_0x92ad7f(0x16e)](_0x5f4595)&&ValueUtil[_0x92ad7f(0x16e)](_0x5f4595[_0x92ad7f(0x199)])&&_0x5f4595[_0x92ad7f(0x199)][_0x92ad7f(0x187)](_0x154085=>(_0x4682a0[_0x92ad7f(0x177)](_0x1adeba=>{const _0x497c96=_0x92ad7f;_0x154085[_0x1adeba]=ValueUtil[_0x497c96(0x167)](_0x154085,..._0x3d0d29[_0x1adeba]['split']('.'));}),_0x154085)),_0x5f4595;}['getPageNavigateParams'](){const _0x5740c2=a0_0x10fcdc;if(0x0==this[_0x5740c2(0x18c)])return[];let _0x21da0d=this[_0x5740c2(0x174)]?.[_0x5740c2(0x188)]?this[_0x5740c2(0x174)]['params']:{};if(!_0x21da0d[_0x5740c2(0x168)])return[];let _0x374b59=_0x21da0d[_0x5740c2(0x168)],_0x29836e=JSON[_0x5740c2(0x17c)](_0x374b59),_0x107e11=0x1==_0x29836e[_0x5740c2(0x192)]?'eq':'in',_0x505736={},_0x448346=[];return Object[_0x5740c2(0x183)](_0x29836e[0x0])[_0x5740c2(0x177)](_0x2f3965=>{_0x505736[_0x2f3965]={'name':_0x2f3965,'operator':_0x107e11,'value':'eq'===_0x107e11?_0x29836e[0x0][_0x2f3965]:[]};}),_0x29836e[_0x5740c2(0x192)]>0x1&&_0x29836e[_0x5740c2(0x177)](_0x3e8cab=>{const _0x4076a9=_0x5740c2;Object[_0x4076a9(0x183)](_0x3e8cab)[_0x4076a9(0x177)](_0x5e5314=>{const _0x2c1038=_0x4076a9;_0x505736[_0x5e5314][_0x2c1038(0x178)][_0x2c1038(0x18d)](_0x3e8cab[_0x5e5314]);});}),Object[_0x5740c2(0x183)](_0x505736)[_0x5740c2(0x177)](_0x38db3b=>{const _0x348b5a=_0x5740c2;_0x448346[_0x348b5a(0x18d)](_0x505736[_0x38db3b]);}),_0x448346;}async[a0_0x10fcdc(0x196)](_0x5797ce){const _0x2557b5=a0_0x10fcdc;let _0x1d39e2=ValueUtil[_0x2557b5(0x167)](this['gqlInfo'],_0x2557b5(0x17a),_0x2557b5(0x172)),_0x2bb38c=ValueUtil['getParams'](this['gqlInfo'],'query',_0x2557b5(0x19d)),_0x17214d=Object[_0x2557b5(0x183)](_0x2bb38c||{}),_0x4c4a47=MetaApi[_0x2557b5(0x19c)]((this[_0x2557b5(0x18e)]?this[_0x2557b5(0x18e)]:{'columns':this[_0x2557b5(0x16f)]})[_0x2557b5(0x16d)][_0x2557b5(0x186)](_0x54db9c=>!_0x17214d[_0x2557b5(0x17f)](_0x54db9c[_0x2557b5(0x173)]))),_0x21f380=await MetaApi[_0x2557b5(0x196)](_0x1d39e2,_0x5797ce,_0x4c4a47);return ValueUtil['isNotEmpty'](_0x2bb38c)&&ValueUtil['isNotEmpty'](_0x21f380)&&_0x17214d[_0x2557b5(0x177)](_0x306792=>{const _0x35bc89=_0x2557b5;_0x21f380[_0x306792]=ValueUtil[_0x35bc89(0x167)](_0x21f380,..._0x2bb38c[_0x306792]['split']('.'));}),_0x21f380;}async[a0_0x10fcdc(0x171)](_0x44e0d8){const _0x3cffa7=a0_0x10fcdc;let _0x413b89=ValueUtil['getParams'](this[_0x3cffa7(0x170)],_0x3cffa7(0x179),_0x3cffa7(0x197),_0x3cffa7(0x169));return await MetaApi[_0x3cffa7(0x16b)](_0x44e0d8,_0x413b89);}async['updateMultiple'](_0x27ad99){const _0x3729d2=a0_0x10fcdc;let _0x398f98=ValueUtil[_0x3729d2(0x167)](this[_0x3729d2(0x170)],_0x3729d2(0x179),'multiple','func'),_0x4c59bc=ValueUtil[_0x3729d2(0x167)](this[_0x3729d2(0x170)],'mutation',_0x3729d2(0x191),_0x3729d2(0x18f));if(ValueUtil[_0x3729d2(0x16e)](_0x4c59bc)&&(_0x4c59bc=_0x4c59bc[_0x3729d2(0x187)](_0x33a44a=>_0x33a44a[_0x3729d2(0x17f)]('.')?_0x33a44a[_0x3729d2(0x16c)]('.'):_0x33a44a),_0x27ad99=_0x27ad99[_0x3729d2(0x187)](_0x221736=>(_0x4c59bc['forEach'](_0x1df6e4=>{const _0x5e1f5a=_0x3729d2;Array[_0x5e1f5a(0x194)](_0x1df6e4)?delete _0x221736[_0x1df6e4[0x0]][_0x1df6e4[0x1]]:delete _0x221736[_0x1df6e4];}),_0x221736))),this[_0x3729d2(0x16a)]&&ValueUtil[_0x3729d2(0x16e)](this[_0x3729d2(0x175)])){let _0x50c829=ValueUtil[_0x3729d2(0x167)](this[_0x3729d2(0x170)],_0x3729d2(0x179),'multiple','parent_id');ValueUtil[_0x3729d2(0x16e)](_0x50c829)&&_0x27ad99[_0x3729d2(0x177)](_0xf5ea27=>{const _0x223159=_0x3729d2;if(_0x50c829['includes']('.')){let _0xe57330=_0x50c829['split']('.');_0xf5ea27[_0xe57330[0x0]]={},_0xf5ea27[_0xe57330[0x0]][_0xe57330[0x1]]=this[_0x223159(0x175)];}else _0xf5ea27[_0x50c829]=this[_0x223159(0x175)];});}return await MetaApi['updateMultiple'](_0x398f98,_0x27ad99);}};
@@ -1 +1 @@
1
- const a0_0x3927d4=a0_0x23b3;(function(_0x55548b,_0x550809){const _0x2765ec=a0_0x23b3,_0x23e450=_0x55548b();while(!![]){try{const _0x67ce65=parseInt(_0x2765ec(0xb3))/0x1*(-parseInt(_0x2765ec(0xb6))/0x2)+parseInt(_0x2765ec(0xbb))/0x3+parseInt(_0x2765ec(0xb0))/0x4*(-parseInt(_0x2765ec(0xbc))/0x5)+parseInt(_0x2765ec(0xb8))/0x6*(-parseInt(_0x2765ec(0xa7))/0x7)+-parseInt(_0x2765ec(0xb1))/0x8+parseInt(_0x2765ec(0xac))/0x9+parseInt(_0x2765ec(0xbd))/0xa;if(_0x67ce65===_0x550809)break;else _0x23e450['push'](_0x23e450['shift']());}catch(_0x5d2eb8){_0x23e450['push'](_0x23e450['shift']());}}}(a0_0x5eab,0xd2c29));import{MetaApi}from'../utils/meta-api';function a0_0x23b3(_0x36957b,_0x3e4e47){const _0x5eabbb=a0_0x5eab();return a0_0x23b3=function(_0x23b344,_0x3e8a8c){_0x23b344=_0x23b344-0xa7;let _0x4e61e6=_0x5eabbb[_0x23b344];return _0x4e61e6;},a0_0x23b3(_0x36957b,_0x3e4e47);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x3cd783=>class extends MetaButtonMixin(_0x3cd783){static get[a0_0x3927d4(0xaf)](){return MetaApi['getBasicTabStyles']();}static get[a0_0x3927d4(0xb4)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x3927d4(0xa8)](){const _0x56d391=a0_0x3927d4;return MetaUiUtil[_0x56d391(0xb9)](this);}async[a0_0x3927d4(0xae)](){const _0x46a1a4=a0_0x3927d4;this[_0x46a1a4(0xb5)]=void 0x0,await this[_0x46a1a4(0xaa)](),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x3927d4(0xad)](){const _0x1d765b=a0_0x3927d4;super['firstUpdated']&&await super[_0x1d765b(0xad)]();}async['pageInitialized'](){super['pageInitialized']&&await super['pageInitialized']();}['render'](){const _0x57c981=a0_0x3927d4;return MetaApi[_0x57c981(0xba)](this);}[a0_0x3927d4(0xab)](_0x40479f){const _0x41e9f1=a0_0x3927d4;this[_0x41e9f1(0xb2)]=_0x40479f[_0x41e9f1(0xa9)],_0x40479f[_0x41e9f1(0xb7)]=[];}};function a0_0x5eab(){const _0x365ea8=['3199436NKeLIF','button','402kFYhWM','getContextObject','getBasicTabHtml','2006709saVgpH','10tCiYVD','31364880lFWbhT','11704vaYcac','context','tab','getAndParseMenuMeta','parseBasicTabConfigs','4706964IcgOlU','firstUpdated','connectedCallback','styles','844064bDaZdI','10650720vUASpX','tabRenderConfig','1SBViDY','properties','currentTabKey'];a0_0x5eab=function(){return _0x365ea8;};return a0_0x5eab();}
1
+ function a0_0x165f(){const _0x31653e=['pageInitialized','258051CtQEvt','getBasicTabStyles','63410hpyPyD','tab','render','1269oUwGhH','521085BiwmVf','280212DYZKDb','16FZTPpu','getBasicTabHtml','firstUpdated','parseBasicTabConfigs','1973208IjLJCN','tabRenderConfig','styles','button','7puvtjy','context','851660CvBqVN','42704ABKjUC','connectedCallback','properties','currentTabKey'];a0_0x165f=function(){return _0x31653e;};return a0_0x165f();}const a0_0x9902dd=a0_0x46dd;(function(_0x22dbf2,_0x534dde){const _0x57a1b4=a0_0x46dd,_0xc662bd=_0x22dbf2();while(!![]){try{const _0x4e5987=-parseInt(_0x57a1b4(0x190))/0x1*(parseInt(_0x57a1b4(0x19b))/0x2)+parseInt(_0x57a1b4(0x1a0))/0x3+-parseInt(_0x57a1b4(0x19a))/0x4+parseInt(_0x57a1b4(0x18e))/0x5+parseInt(_0x57a1b4(0x18f))/0x6+-parseInt(_0x57a1b4(0x198))/0x7*(parseInt(_0x57a1b4(0x194))/0x8)+parseInt(_0x57a1b4(0x18d))/0x9*(parseInt(_0x57a1b4(0x1a2))/0xa);if(_0x4e5987===_0x534dde)break;else _0xc662bd['push'](_0xc662bd['shift']());}catch(_0xb2f43a){_0xc662bd['push'](_0xc662bd['shift']());}}}(a0_0x165f,0x5085b));function a0_0x46dd(_0x225823,_0x4d960a){const _0x165faa=a0_0x165f();return a0_0x46dd=function(_0x46dd77,_0x476800){_0x46dd77=_0x46dd77-0x18c;let _0x521c40=_0x165faa[_0x46dd77];return _0x521c40;},a0_0x46dd(_0x225823,_0x4d960a);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0xe1ee73=>class extends MetaButtonMixin(_0xe1ee73){static get[a0_0x9902dd(0x196)](){const _0x45290e=a0_0x9902dd;return MetaApi[_0x45290e(0x1a1)]();}static get[a0_0x9902dd(0x19d)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x9902dd(0x199)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x9902dd(0x19c)](){const _0x42e194=a0_0x9902dd;this[_0x42e194(0x19e)]=void 0x0,await this['getAndParseMenuMeta'](),super[_0x42e194(0x19c)]&&await super[_0x42e194(0x19c)]();}async['firstUpdated'](){const _0x356745=a0_0x9902dd;super[_0x356745(0x192)]&&await super[_0x356745(0x192)]();}async[a0_0x9902dd(0x19f)](){const _0x4a169a=a0_0x9902dd;super[_0x4a169a(0x19f)]&&await super[_0x4a169a(0x19f)]();}[a0_0x9902dd(0x18c)](){const _0x2333b2=a0_0x9902dd;return MetaApi[_0x2333b2(0x191)](this);}[a0_0x9902dd(0x193)](_0x4e9a21){const _0x1f7cf7=a0_0x9902dd;this[_0x1f7cf7(0x195)]=_0x4e9a21[_0x1f7cf7(0x1a3)],_0x4e9a21[_0x1f7cf7(0x197)]=[];}};