@things-factory/meta-ui 6.0.1 → 6.0.4

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 +4 -4
  4. package/client/mixin/meta-button-mixin.js +1 -1
  5. package/client/mixin/meta-form-mixin.js +1 -1
  6. package/client/mixin/meta-grist-tab-mixin.js +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 +15 -15
  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 +2 -2
  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
+ const a0_0x742948=a0_0x4e21;(function(_0x139b67,_0x3f98ec){const _0x3be2ef=a0_0x4e21,_0xc512b1=_0x139b67();while(!![]){try{const _0x10ce49=-parseInt(_0x3be2ef(0x93))/0x1+-parseInt(_0x3be2ef(0x99))/0x2+parseInt(_0x3be2ef(0x94))/0x3+-parseInt(_0x3be2ef(0x95))/0x4+parseInt(_0x3be2ef(0x92))/0x5+-parseInt(_0x3be2ef(0x97))/0x6+-parseInt(_0x3be2ef(0x9c))/0x7*(-parseInt(_0x3be2ef(0x8e))/0x8);if(_0x10ce49===_0x3f98ec)break;else _0xc512b1['push'](_0xc512b1['shift']());}catch(_0x591f68){_0xc512b1['push'](_0xc512b1['shift']());}}}(a0_0x2b60,0x1b918));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';function a0_0x2b60(){const _0x57f7f0=['211686jDudes','lite-menu-part','landscape','159236OObLyR','value','dynamic-menu-part','72ttNxdq','hamburger','dispatch','portrait','305870rhChnf','84936HDbgVK','524370lBLRKy','243132EIPuYI','UPDATE_META_UI','457284cTzLhH','FRONT_END'];a0_0x2b60=function(){return _0x57f7f0;};return a0_0x2b60();}import{html}from'lit';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';import{updateMenuTemplate as a0_0x1290d8}from'@things-factory/lite-menu';export const UPDATE_META_UI=a0_0x742948(0x96);function a0_0x4e21(_0x40eb46,_0x52d440){const _0x2b60f8=a0_0x2b60();return a0_0x4e21=function(_0x4e2184,_0xa4e525){_0x4e2184=_0x4e2184-0x8e;let _0x4c1c39=_0x2b60f8[_0x4e2184];return _0x4c1c39;},a0_0x4e21(_0x40eb46,_0x52d440);}export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0xb6c62b){const _0x20f102=a0_0x742948;var {hovering:_0x156a84=!!isMobileDevice(),slotTemplate:_0x2445b9,portraitSlotTemplate:_0x20eb71,landscapeSlotTemplate:_0x31558f,position:_0x104672=VIEWPART_POSITION['NAVBAR']}=_0xb6c62b||{};const {hovering:_0x41ccbd}=(await clientSettingStore['get']('dynamic-menu'))?.[_0x20f102(0x9d)]||{};void 0x0!==_0x41ccbd&&(_0x156a84=_0x41ccbd);const _0x454c5f=_0x104672==VIEWPART_POSITION['HEADERBAR']?_0x20f102(0x9b):_0x20f102(0x91),_0xc98b1c=(_0x20f102(0x9b)==_0x454c5f?_0x31558f:_0x20eb71)||_0x2445b9||html``;appendViewpart({'name':_0x20f102(0x9a),'viewpart':{'show':!_0x156a84,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x156a84,'template':html`<dynamic-menu-part .orientation=${_0x454c5f}>${_0xc98b1c}</dynamic-menu-part>`},'position':_0x104672}),_0x156a84&&'portrait'==_0x454c5f?HAMBURGER||(HAMBURGER={'name':_0x20f102(0x8f),'template':html`
2
+ <mwc-icon @click=${_0x36e7a8=>toggleOverlay(_0x20f102(0x9e),{'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[_0x20f102(0x98)]},store[_0x20f102(0x90)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x20f102(0x90)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x56c74f){const _0x282bce=a0_0x742948;a0_0x1290d8(_0x56c74f),store[_0x282bce(0x90)]({'type':UPDATE_META_MENU_TEMPLATE,'template':_0x56c74f});}
@@ -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_0x17527a=a0_0x29a3;function a0_0x1f1d(){const _0xd2438c=['fetchHandler','isElement','openDynamicPopup','6DGImoZ','menu','properties','pageUpdated','tTitle','parseBasicButtonConfigs','is_detail','2720448sOLxJl','541779qIeQMH','2503795Prfykz','filterForm','params','title_detail','errors','active','setParentId','split','parseBasicServiceConfigs','fetch','menuInfo','lifecycle','isDetail','grist','1711980obKffm','isNotEmpty','parent_id','getParams','is_popup','getMenuMeta','parseBasicTabConfigs','isEmpty','after','85091mGBGHY','isPopup','isPage','parseBasicFormConfigs','27hNGZzo','name','parseBasicGridConfigs','2200856QKgpiN','17085tqNnzP','getAndParseMenuMeta'];a0_0x1f1d=function(){return _0xd2438c;};return a0_0x1f1d();}(function(_0xefba94,_0x13e3a4){const _0x18a60a=a0_0x29a3,_0x1ebeb=_0xefba94();while(!![]){try{const _0x45e07b=-parseInt(_0x18a60a(0x177))/0x1+-parseInt(_0x18a60a(0x184))/0x2*(-parseInt(_0x18a60a(0x15f))/0x3)+parseInt(_0x18a60a(0x18b))/0x4+parseInt(_0x18a60a(0x17f))/0x5+-parseInt(_0x18a60a(0x16e))/0x6+parseInt(_0x18a60a(0x160))/0x7+parseInt(_0x18a60a(0x17e))/0x8*(-parseInt(_0x18a60a(0x17b))/0x9);if(_0x45e07b===_0x13e3a4)break;else _0x1ebeb['push'](_0x1ebeb['shift']());}catch(_0xd8729c){_0x1ebeb['push'](_0x1ebeb['shift']());}}}(a0_0x1f1d,0x5e8b3));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x29a3(_0x514718,_0x927498){const _0x1f1dcf=a0_0x1f1d();return a0_0x29a3=function(_0x29a3f2,_0x4603c6){_0x29a3f2=_0x29a3f2-0x15f;let _0x2d0d5c=_0x1f1dcf[_0x29a3f2];return _0x2d0d5c;},a0_0x29a3(_0x514718,_0x927498);}export const MetaBaseMixin=_0x149454=>class extends _0x149454{static get[a0_0x17527a(0x186)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x4578cb=>Boolean(_0x4578cb)},'is_popup':{'type':Boolean,'converter':_0x822f18=>Boolean(_0x822f18)}};}get[a0_0x17527a(0x182)](){const _0x3eae19=a0_0x17527a;return!0x0===this[_0x3eae19(0x18a)]||!0x0===this[_0x3eae19(0x172)];}get[a0_0x17527a(0x16c)](){const _0x2d58d0=a0_0x17527a;return!ValueUtil[_0x2d58d0(0x175)](this[_0x2d58d0(0x18a)])&&this[_0x2d58d0(0x18a)];}async[a0_0x17527a(0x187)](_0x55c476,_0x3d1c2a,_0x190d3c){const _0x297f29=a0_0x17527a;let _0x2ef509=this[_0x297f29(0x16b)]?.[_0x297f29(0x162)]?this[_0x297f29(0x16b)][_0x297f29(0x162)]:{};this[_0x297f29(0x179)]&&this[_0x297f29(0x165)]&&0x0==_0x190d3c[_0x297f29(0x165)]&&ValueUtil['isNotEmpty'](_0x2ef509)&&this[_0x297f29(0x169)]();}get[a0_0x17527a(0x178)](){const _0x3d495a=a0_0x17527a;return!ValueUtil['isEmpty'](this[_0x3d495a(0x172)])&&this[_0x3d495a(0x172)];}get[a0_0x17527a(0x179)](){const _0x30f46d=a0_0x17527a;return!this['is_detail']&&!this[_0x30f46d(0x172)];}async[a0_0x17527a(0x180)](){const _0x35889a=a0_0x17527a;let _0x35a5bf=await MetaApi[_0x35889a(0x173)](this);_0x35a5bf&&(this[_0x35889a(0x16a)]=_0x35a5bf[_0x35889a(0x185)],this[_0x35889a(0x17d)]&&this[_0x35889a(0x17d)](_0x35a5bf),this[_0x35889a(0x168)]&&this[_0x35889a(0x168)](_0x35a5bf),this[_0x35889a(0x17a)]&&this['parseBasicFormConfigs'](_0x35a5bf),this[_0x35889a(0x174)]&&this[_0x35889a(0x174)](_0x35a5bf),this[_0x35889a(0x189)]&&this[_0x35889a(0x189)](_0x35a5bf));}async[a0_0x17527a(0x169)](){const _0x3d1dde=a0_0x17527a;ValueUtil['isNotEmpty'](this[_0x3d1dde(0x16d)])?this[_0x3d1dde(0x16d)][_0x3d1dde(0x169)]():(ValueUtil[_0x3d1dde(0x16f)](this[_0x3d1dde(0x161)])||this[_0x3d1dde(0x181)])&&await this[_0x3d1dde(0x181)]();}async['excuteOpenPopupButtonClick'](_0xe7315a,_0xb5fac9,_0x132de8){const _0x3187e2=a0_0x17527a;let _0x5e54ad=TermsUtil[_0x3187e2(0x188)](_0xe7315a['title']);ValueUtil[_0x3187e2(0x16f)](_0xe7315a['title_detail'])&&(_0x5e54ad=_0x5e54ad+'-'+ValueUtil[_0x3187e2(0x171)](_0xb5fac9,..._0xe7315a[_0x3187e2(0x163)][_0x3187e2(0x167)]('.'))),MetaApi[_0x3187e2(0x183)](_0x5e54ad,_0xe7315a,_0xb5fac9,_0x132de8);}async['executeCallScenarioButtonClick'](_0x139b19,_0x535647,_0x16d489){const _0x5d6f52=a0_0x17527a;let _0x1730d1=await MetaApi['callScenario'](_0x139b19[_0x5d6f52(0x17c)],_0x139b19[_0x5d6f52(0x17c)],_0x535647);!0x1!==_0x1730d1&&!_0x1730d1[_0x5d6f52(0x164)]&&ValueUtil[_0x5d6f52(0x16f)](_0x139b19[_0x5d6f52(0x176)])&&_0x16d489();}[a0_0x17527a(0x166)](_0x7307be){const _0x13cf74=a0_0x17527a;this[_0x13cf74(0x170)]=_0x7307be,this[_0x13cf74(0x169)]();}};
@@ -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`
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)](){}};
1
+ function a0_0x184b(_0x53c625,_0x310720){const _0x20bf61=a0_0x20bf();return a0_0x184b=function(_0x184bcd,_0x25c2ef){_0x184bcd=_0x184bcd-0x11d;let _0x1b8010=_0x20bf61[_0x184bcd];return _0x1b8010;},a0_0x184b(_0x53c625,_0x310720);}const a0_0x38fdd2=a0_0x184b;(function(_0x4b9755,_0x7591fe){const _0x3692e7=a0_0x184b,_0x425a47=_0x4b9755();while(!![]){try{const _0x65c6c8=parseInt(_0x3692e7(0x135))/0x1+-parseInt(_0x3692e7(0x11e))/0x2+-parseInt(_0x3692e7(0x11d))/0x3*(-parseInt(_0x3692e7(0x144))/0x4)+-parseInt(_0x3692e7(0x126))/0x5+-parseInt(_0x3692e7(0x121))/0x6+-parseInt(_0x3692e7(0x132))/0x7*(-parseInt(_0x3692e7(0x129))/0x8)+parseInt(_0x3692e7(0x14b))/0x9;if(_0x65c6c8===_0x7591fe)break;else _0x425a47['push'](_0x425a47['shift']());}catch(_0x4f8a8b){_0x425a47['push'](_0x425a47['shift']());}}}(a0_0x20bf,0x4f502));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x20bf(){const _0x39cc91=['173113miCIDK','ox-filters-form','connectedCallback','isElement','getParams','updateMultiple','filterForm','menuInfo','parseGristConfigs','tTitle','getBasicGristHtml','searchConfig','ox-grist','renderRoot','patchesForUpdateMultiple','76lMWlFZ','getAndParseMenuMeta','shadowRoot','isPage','getButtonContainer','title','getSelectedIdList','11586132kLelqU','78657IPVgTi','984114mKLaxR','querySelector','gridColumnConfig','3504336llWZZV','gristId','getBasicGristStyles','import','find','2897350WwAvvf','gridConfig','search','184npVzhK','gristConfigSet','parseBasicGridConfigs','deleteByIds','grid_column','grist','properties','firstUpdated','save','6643RqnUWc','delete','fetch'];a0_0x20bf=function(){return _0x39cc91;};return a0_0x20bf();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0xd9096c=>class extends MetaButtonMixin(_0xd9096c){static get['styles'](){const _0x242dba=a0_0x184b;return MetaApi[_0x242dba(0x123)]();}static get[a0_0x38fdd2(0x12f)](){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_0x38fdd2(0x12e)](){const _0x2e91b4=a0_0x38fdd2;return this[_0x2e91b4(0x142)]['querySelector'](this[_0x2e91b4(0x122)]);}get[a0_0x38fdd2(0x13b)](){const _0x246f16=a0_0x38fdd2;return this[_0x246f16(0x146)]?.[_0x246f16(0x11f)](this['filterFormId']);}get['context'](){return MetaUiUtil['getContextObject'](this);}async[a0_0x38fdd2(0x137)](){const _0xf3d6fd=a0_0x38fdd2;this[_0xf3d6fd(0x122)]=_0xf3d6fd(0x141),this['filterFormId']=_0xf3d6fd(0x136),await this[_0xf3d6fd(0x145)](),this[_0xf3d6fd(0x138)]&&await this[_0xf3d6fd(0x13d)](),super[_0xf3d6fd(0x137)]&&await super['connectedCallback']();}async[a0_0x38fdd2(0x130)](){const _0x1f4483=a0_0x38fdd2;super[_0x1f4483(0x130)]&&await super[_0x1f4483(0x130)]();}async['pageInitialized'](){const _0x5a982c=a0_0x38fdd2;this[_0x5a982c(0x147)]&&await this[_0x5a982c(0x13d)](),super['pageInitialized']&&await super['pageInitialized']();}['render'](){const _0x1d6086=a0_0x38fdd2;return html`
2
+ ${MetaApi[_0x1d6086(0x13f)](this)}
3
+ ${this[_0x1d6086(0x147)]?html``:MetaUiUtil[_0x1d6086(0x148)](this)}
4
+ `;}[a0_0x38fdd2(0x12b)](_0x4c49fa){const _0x451745=a0_0x38fdd2;this[_0x451745(0x127)]=_0x4c49fa['grid'],this[_0x451745(0x120)]=_0x4c49fa[_0x451745(0x12d)],this[_0x451745(0x140)]=_0x4c49fa[_0x451745(0x128)];}async[a0_0x38fdd2(0x13d)](){const _0xd20db6=a0_0x38fdd2;this[_0xd20db6(0x12a)]=await MetaApi['parseGridConfigSet'](this);}async[a0_0x38fdd2(0x134)](){const _0xfa68b4=a0_0x38fdd2;await this[_0xfa68b4(0x12e)]['fetch']();}async[a0_0x38fdd2(0x131)](){const _0x1eef42=a0_0x38fdd2;let _0x4745ba=MetaApi[_0x1eef42(0x143)](this[_0x1eef42(0x12e)]);!!ValueUtil['isNotEmpty'](_0x4745ba)&&await this[_0x1eef42(0x13a)](_0x4745ba)&&this[_0x1eef42(0x134)]();}async[a0_0x38fdd2(0x125)](){const _0x5701fa=a0_0x38fdd2;let _0x563eee=MetaApi[_0x5701fa(0x14a)](this[_0x5701fa(0x12e)],!0x0);return ValueUtil['isNotEmpty'](_0x563eee)?await this['findOne'](_0x563eee[0x0]):{};}async[a0_0x38fdd2(0x133)](){const _0x157c53=a0_0x38fdd2;let _0x1fc520=MetaApi['getSelectedIdList'](this[_0x157c53(0x12e)],!0x0);!!ValueUtil['isNotEmpty'](_0x1fc520)&&await this[_0x157c53(0x12c)](_0x1fc520)&&this[_0x157c53(0x134)]();}async['export'](){const _0x1375a2=a0_0x38fdd2;let _0x27aedf=TermsUtil[_0x1375a2(0x13e)](ValueUtil[_0x1375a2(0x139)](this[_0x1375a2(0x13c)],_0x1375a2(0x149)));return await MetaApi['exportableData'](this['isElement'],_0x27aedf,this[_0x1375a2(0x12e)]);}async[a0_0x38fdd2(0x124)](){}};
@@ -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_0x43c89f=a0_0x3e99;(function(_0x2413b5,_0x1974b0){const _0x3574b8=a0_0x3e99,_0xdc9c0c=_0x2413b5();while(!![]){try{const _0x3def3d=-parseInt(_0x3574b8(0x96))/0x1+parseInt(_0x3574b8(0x9f))/0x2+-parseInt(_0x3574b8(0x91))/0x3*(-parseInt(_0x3574b8(0xa7))/0x4)+-parseInt(_0x3574b8(0x98))/0x5+parseInt(_0x3574b8(0x99))/0x6*(parseInt(_0x3574b8(0xa6))/0x7)+parseInt(_0x3574b8(0xa8))/0x8+-parseInt(_0x3574b8(0x90))/0x9;if(_0x3def3d===_0x1974b0)break;else _0xdc9c0c['push'](_0xdc9c0c['shift']());}catch(_0x2a0916){_0xdc9c0c['push'](_0xdc9c0c['shift']());}}}(a0_0x1453,0x612b5));function a0_0x3e99(_0x40a0be,_0x179535){const _0x14535f=a0_0x1453();return a0_0x3e99=function(_0x3e9971,_0x3bbbd9){_0x3e9971=_0x3e9971-0x90;let _0x445a3d=_0x14535f[_0x3e9971];return _0x445a3d;},a0_0x3e99(_0x40a0be,_0x179535);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x1453(){const _0x356df4=['360304REWfqj','import','customButtonHandler','10325772sqrNli','228RXxTNF','export','parseBasicButtonConfigs','isPage','buttonConfig','180743CSXgPi','useButtonImport','334175MSQthV','74598OuAWQI','add','getContextButtons','getCustomButtonContainerStyle','getBasicButtonHandler','getCustomButtonContainerStyles','1572020FSnJHM','useButtonAdd','isButtonExist','getButtonContainer','gristButtonHandler','getButtonActionHandler','button','329PrkuoO','19868IPbwUk'];a0_0x1453=function(){return _0x356df4;};return a0_0x1453();}export const MetaButtonMixin=_0x5b4a51=>class extends MetaServiceMixin(_0x5b4a51){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x43c89f(0x9c)](){const _0x2393c7=a0_0x43c89f;return MetaUiUtil[_0x2393c7(0x9e)]();}[a0_0x43c89f(0x9b)](){return MetaUiUtil['getContextButtons'](this);}[a0_0x43c89f(0xa2)](){const _0x58d344=a0_0x43c89f;return this[_0x58d344(0x94)]?html``:MetaUiUtil[_0x58d344(0xa2)](this);}async[a0_0x43c89f(0x9d)](_0x470626,_0x5037da,_0x1e6b8b){const _0x4d4107=a0_0x43c89f;return await MetaUiUtil[_0x4d4107(0xa4)](this,_0x470626,_0x5037da,_0x1e6b8b);}async[a0_0x43c89f(0xaa)](_0x2aa0ed){await MetaUiUtil['customButtonHandler'](this,_0x2aa0ed);}async[a0_0x43c89f(0xa3)](_0x14c2ec,_0x4255d0){const _0x387f0a=a0_0x43c89f;await MetaUiUtil[_0x387f0a(0xa3)](this,_0x14c2ec,_0x4255d0);}[a0_0x43c89f(0x93)](_0x2321ce){const _0x260c87=a0_0x43c89f;this[_0x260c87(0x95)]=_0x2321ce[_0x260c87(0xa5)],this[_0x260c87(0x97)]=MetaUiUtil[_0x260c87(0xa1)](this[_0x260c87(0x95)],_0x260c87(0xa9)),this['useButtonExport']=MetaUiUtil[_0x260c87(0xa1)](this[_0x260c87(0x95)],_0x260c87(0x92)),this[_0x260c87(0xa0)]=MetaUiUtil[_0x260c87(0xa1)](this[_0x260c87(0x95)],_0x260c87(0x9a));}};
@@ -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
+ const a0_0x4fa1f7=a0_0x4668;(function(_0x120787,_0x4d0820){const _0x49f5a9=a0_0x4668,_0x46957a=_0x120787();while(!![]){try{const _0x36c24f=-parseInt(_0x49f5a9(0xd8))/0x1*(-parseInt(_0x49f5a9(0xd4))/0x2)+parseInt(_0x49f5a9(0x102))/0x3*(-parseInt(_0x49f5a9(0x108))/0x4)+parseInt(_0x49f5a9(0x11a))/0x5*(-parseInt(_0x49f5a9(0xea))/0x6)+parseInt(_0x49f5a9(0xd3))/0x7*(-parseInt(_0x49f5a9(0xe4))/0x8)+-parseInt(_0x49f5a9(0xfa))/0x9*(-parseInt(_0x49f5a9(0xf6))/0xa)+parseInt(_0x49f5a9(0xe9))/0xb*(parseInt(_0x49f5a9(0xf0))/0xc)+parseInt(_0x49f5a9(0xf1))/0xd;if(_0x36c24f===_0x4d0820)break;else _0x46957a['push'](_0x46957a['shift']());}catch(_0x3248c5){_0x46957a['push'](_0x46957a['shift']());}}}(a0_0x45d8,0x696f3));function a0_0x4668(_0x56fe00,_0xdc5b3){const _0x45d886=a0_0x45d8();return a0_0x4668=function(_0x4668f4,_0x2bbfc0){_0x4668f4=_0x4668f4-0xd3;let _0x17687c=_0x45d886[_0x4668f4];return _0x17687c;},a0_0x4668(_0x56fe00,_0xdc5b3);}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';function a0_0x45d8(){const _0x899a3b=['editing','getContextObject','startsWith','config','3OogHDj','__origin__','column','OX-GRID-FIELD','after','setAttribute','402244tQdDmF','function','firstUpdated','title.info','entries','cuFlag','parseBasicFormConfigs','renderRoot','getBasicFormStyles','key','__dirtyfields__','name','formConfigSet','connectedCallback','Enter','patchData','detail','removeGarbageData','90OMHggY','filter','text.NOTHING_CHANGED','isEmpty','35539AwQtdw','242206gjMlzJ','updateMultiple','Esc','removeAttribute','1xgLzDx','parseFormConfigs','map','currentTarget','addEventListener','isNotEmpty','focus','findOne','tagName','keydown','isElement','parent_id','1256GLqdCA','isPage','record','editable','pageInitialized','7480rmbaho','13518OSpUqt','properties','button','assign','save','grid_column','4776DTfDNb','7788092HfjiaQ','true','parseFormConfigSet','Escape','formRenderConfig','510CTsDKv','stopPropagation','currentData','target','66924YuPnPh','showAlertPopup','fetch','dirtyData'];a0_0x45d8=function(){return _0x899a3b;};return a0_0x45d8();}export const MetaFormMixin=_0x1d1958=>class extends MetaButtonMixin(_0x1d1958){static get['styles'](){const _0x1fd65d=a0_0x4668;return MetaApi[_0x1fd65d(0x110)]();}static get[a0_0x4fa1f7(0xeb)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x6afc20=a0_0x4fa1f7;return MetaUiUtil[_0x6afc20(0xff)](this);}async[a0_0x4fa1f7(0x115)](){const _0x441f8d=a0_0x4fa1f7;if(this[_0x441f8d(0x101)]){let {column:_0x322f47=0x1}=this[_0x441f8d(0x101)];this[_0x441f8d(0x104)]=_0x322f47;}await this['getAndParseMenuMeta'](),this[_0x441f8d(0xe2)]&&await this[_0x441f8d(0xd9)](),super[_0x441f8d(0x115)]&&await super[_0x441f8d(0x115)](),this[_0x441f8d(0xe2)]&&await this[_0x441f8d(0xfc)](),this[_0x441f8d(0x10f)][_0x441f8d(0xdc)](_0x441f8d(0xe1),_0x244484=>{const _0x23e164=_0x441f8d;switch(_0x244484[_0x23e164(0x111)]){case _0x23e164(0xd6):case _0x23e164(0xf4):case _0x23e164(0x116):this[_0x23e164(0xde)](),this['currentTarget']&&this[_0x23e164(0xdb)][_0x23e164(0xd7)]('editing'),this[_0x23e164(0xdb)]=null;}}),this['renderRoot'][_0x441f8d(0xdc)]('click',_0x23ae32=>{const _0x45a55b=_0x441f8d;_0x23ae32[_0x45a55b(0xf7)]();let _0x5c29da=_0x23ae32[_0x45a55b(0xf9)];if(this[_0x45a55b(0xdb)]&&(this[_0x45a55b(0xde)](),this[_0x45a55b(0xdb)][_0x45a55b(0xd7)](_0x45a55b(0xfe))),_0x45a55b(0x105)!==_0x5c29da[_0x45a55b(0xe0)]||!_0x5c29da[_0x45a55b(0x104)][_0x45a55b(0xe6)][_0x45a55b(0xe7)])return this[_0x45a55b(0xde)](),void(this[_0x45a55b(0xdb)]=null);this[_0x45a55b(0xdb)]=_0x5c29da,_0x5c29da[_0x45a55b(0x107)]('editing',_0x45a55b(0xf2));}),this[_0x441f8d(0xdc)]('field-change',_0x5393b5=>{const _0x5b953d=_0x441f8d;var {after:_0x11460c,before:_0x2812d5,column:_0x1e9406,record:_0x370e45,row:_0x44d599}=_0x5393b5[_0x5b953d(0x118)];if(ValueUtil['isEquals'](_0x11460c,_0x2812d5))return;var _0x34b8aa=_0x1e9406['validation'];if(_0x34b8aa&&_0x5b953d(0x109)==typeof _0x34b8aa&&!_0x34b8aa['call'](this,_0x11460c,_0x2812d5,_0x370e45,_0x1e9406))return;let _0xc257e7=_0x1e9406['name'];_0x370e45[_0xc257e7]=_0x11460c,_0x370e45[_0x5b953d(0x112)]=_0x370e45['__dirtyfields__']||{},_0x370e45[_0x5b953d(0x112)][_0xc257e7]={'before':_0x370e45[_0x5b953d(0x103)][_0xc257e7],'after':_0x370e45[_0xc257e7]},ValueUtil['isEquals'](_0x370e45[_0x5b953d(0x112)][_0xc257e7]['before'],_0x370e45['__dirtyfields__'][_0xc257e7][_0x5b953d(0x106)])&&delete _0x370e45['__dirtyfields__'][_0xc257e7],ValueUtil[_0x5b953d(0xdd)](_0x370e45[_0x5b953d(0x112)])?_0x370e45['__dirty__']='M':_0x370e45['__dirty__']='',this['record']={..._0x370e45};});}async[a0_0x4fa1f7(0x10a)](){const _0x1ac3a7=a0_0x4fa1f7;super['firstUpdated']&&await super[_0x1ac3a7(0x10a)]();}async[a0_0x4fa1f7(0xe8)](){const _0x25d20d=a0_0x4fa1f7;this['isPage']&&await this[_0x25d20d(0xd9)](),super[_0x25d20d(0xe8)]&&await super['pageInitialized'](),this[_0x25d20d(0xe5)]&&await this[_0x25d20d(0xfc)]();}['render'](){return MetaApi['getBasicFormHtml'](this);}[a0_0x4fa1f7(0x10e)](_0x1c3829){const _0x348dc7=a0_0x4fa1f7;this['formColumnConfig']=_0x1c3829[_0x348dc7(0xef)],this[_0x348dc7(0xf5)]=_0x1c3829['form'],_0x1c3829[_0x348dc7(0xec)]=_0x1c3829[_0x348dc7(0xec)][_0x348dc7(0x11b)](_0x1f034d=>'save'==_0x1f034d[_0x348dc7(0x113)]);}async['parseFormConfigs'](){const _0xfeff95=a0_0x4fa1f7;this[_0xfeff95(0x114)]=await MetaApi[_0xfeff95(0xf3)](this);}get['orgData'](){const _0xb00345=a0_0x4fa1f7;return this[_0xb00345(0x119)](this[_0xb00345(0xe6)][_0xb00345(0x103)]);}get[a0_0x4fa1f7(0xfd)](){const _0x371312=a0_0x4fa1f7;if(ValueUtil[_0x371312(0x11d)](this[_0x371312(0xe6)][_0x371312(0x112)]))return{};let _0x42af13={};return Object[_0x371312(0x10c)](this[_0x371312(0xe6)][_0x371312(0x112)])[_0x371312(0xda)](([_0x36156b,_0x35ddbd])=>{0x0==_0x36156b['startsWith']('__')&&(_0x42af13[_0x36156b]=_0x35ddbd['after']);}),_0x42af13;}get[a0_0x4fa1f7(0xf8)](){const _0x360a31=a0_0x4fa1f7;return this[_0x360a31(0x119)](this[_0x360a31(0xe6)]);}[a0_0x4fa1f7(0x119)](_0x317dbe){const _0x89e194=a0_0x4fa1f7;let _0xc63179={};return Object[_0x89e194(0x10c)](_0x317dbe)['map'](([_0x575cb2,_0x8e2bc0])=>{const _0x37e958=_0x89e194;0x0==_0x575cb2[_0x37e958(0x100)]('__')&&(_0xc63179[_0x575cb2]=_0x8e2bc0);}),_0xc63179;}get[a0_0x4fa1f7(0x117)](){const _0x1bb3f9=a0_0x4fa1f7;let _0x48e626=this[_0x1bb3f9(0xfd)],_0x51f4bf=this[_0x1bb3f9(0xe6)];return ValueUtil[_0x1bb3f9(0x11d)](_0x48e626)?{}:(ValueUtil[_0x1bb3f9(0xdd)](_0x51f4bf['id'])?(_0x48e626['id']=_0x51f4bf['id'],_0x48e626['cuFlag']='M'):_0x48e626[_0x1bb3f9(0x10d)]='+',[_0x48e626]);}async[a0_0x4fa1f7(0xfc)](){const _0x12b8b8=a0_0x4fa1f7;if(ValueUtil['isEmpty'](this[_0x12b8b8(0xe3)]))return;let _0x1af18a=await this[_0x12b8b8(0xdf)](this[_0x12b8b8(0xe3)]);_0x1af18a['__seq__']=0x1;let _0xcddf47={};Object[_0x12b8b8(0xed)](_0xcddf47,_0x1af18a),_0x1af18a['__origin__']=_0xcddf47,this[_0x12b8b8(0xe6)]={..._0x1af18a};}async[a0_0x4fa1f7(0xee)](){const _0x337cfe=a0_0x4fa1f7;let _0x4660d0=this[_0x337cfe(0x117)];if(ValueUtil['isEmpty'](_0x4660d0))return void MetaApi[_0x337cfe(0xfb)](_0x337cfe(0x10b),_0x337cfe(0x11c));let _0x545921=await this[_0x337cfe(0xd5)](_0x4660d0);return _0x545921&&await this[_0x337cfe(0xfc)](),_0x545921;}};
@@ -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_0x56826a=a0_0x1073;(function(_0x255d47,_0x5b3c4d){const _0x390636=a0_0x1073,_0x445cda=_0x255d47();while(!![]){try{const _0x536d54=parseInt(_0x390636(0x1b5))/0x1+parseInt(_0x390636(0x1b9))/0x2+-parseInt(_0x390636(0x1c3))/0x3*(parseInt(_0x390636(0x1ca))/0x4)+parseInt(_0x390636(0x19b))/0x5+parseInt(_0x390636(0x1ab))/0x6*(-parseInt(_0x390636(0x1af))/0x7)+-parseInt(_0x390636(0x1b1))/0x8*(-parseInt(_0x390636(0x1bf))/0x9)+parseInt(_0x390636(0x1a5))/0xa;if(_0x536d54===_0x5b3c4d)break;else _0x445cda['push'](_0x445cda['shift']());}catch(_0x3cf205){_0x445cda['push'](_0x445cda['shift']());}}}(a0_0x3cbc,0x9f8c9));function a0_0x1073(_0x215f9b,_0x4f4a4c){const _0x3cbc91=a0_0x3cbc();return a0_0x1073=function(_0x1073bd,_0x15c26e){_0x1073bd=_0x1073bd-0x185;let _0x469caf=_0x3cbc91[_0x1073bd];return _0x469caf;},a0_0x1073(_0x215f9b,_0x4f4a4c);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x3cbc(){const _0x572806=['useMasterFilterForm','options','getBasicGristHtml','getButtonContainer','connectedCallback','grid-template-rows:','1407220MkygfP','useFilterForm','getAndParseMenuMeta','parseGristConfigs','ox-filters-form-base','render','record','etcConfig','save','pageInitialized','5157590EcBPpy','delete','parseGridConfigSet','name','gridConfig','left_right','1014QEERzU','updateMultiple','grid_column','operator','39214DQPeBe','50%\x2050%','794896SCkyLi','getContextObject','firstUpdated','etc','105181uqUbAU','header','fetch','shadowRoot','45522FHIluM','getBasicGristTabStyles','getParams','route_name','patchesForUpdateMultiple','actions','63prmKyN','styles','ox-grist','exportableData','61284zbKijt','isElement','searchConfig','master_detail_type','getSelectedIdList','exportable','filterFormId','4DvHdEU','import','columns','context','searchFields','querySelector','search','parseBasicGridConfigs','isPage','title','importable','filter','export','renderRoot','grid-template-columns:','grist','gristConfigSet','isNotEmpty','top_bottom','filterForm','properties'];a0_0x3cbc=function(){return _0x572806;};return a0_0x3cbc();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x45822b=>class extends MetaButtonMixin(_0x45822b){static get[a0_0x56826a(0x1c0)](){const _0x19fd69=a0_0x56826a;return MetaApi[_0x19fd69(0x1ba)]();}static get[a0_0x56826a(0x194)](){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_0x56826a(0x18f)](){const _0x4adb91=a0_0x56826a;return this[_0x4adb91(0x18d)][_0x4adb91(0x185)](this['gristId']);}get[a0_0x56826a(0x193)](){const _0x1c9707=a0_0x56826a;return this[_0x1c9707(0x1b8)]?.[_0x1c9707(0x185)](this[_0x1c9707(0x1c9)]);}get[a0_0x56826a(0x1cd)](){const _0x271621=a0_0x56826a;let _0x1211f7=MetaUiUtil[_0x271621(0x1b2)](this);return _0x1211f7[_0x271621(0x1be)]&&delete _0x1211f7[_0x271621(0x1be)],_0x1211f7[_0x271621(0x1c8)]&&delete _0x1211f7[_0x271621(0x1c8)],_0x1211f7[_0x271621(0x18a)]&&delete _0x1211f7[_0x271621(0x18a)],_0x1211f7;}async[a0_0x56826a(0x199)](){const _0x181da9=a0_0x56826a;this['gristId']=_0x181da9(0x1c1),this[_0x181da9(0x1c9)]=_0x181da9(0x19f),await this[_0x181da9(0x19d)](),this['isElement']&&await this[_0x181da9(0x19e)](),super['connectedCallback']&&await super[_0x181da9(0x199)]();}async[a0_0x56826a(0x1b3)](){const _0x29475b=a0_0x56826a;super[_0x29475b(0x1b3)]&&await super[_0x29475b(0x1b3)]();}async[a0_0x56826a(0x1a4)](){const _0x5babac=a0_0x56826a;this[_0x5babac(0x188)]&&await this[_0x5babac(0x19e)](),super[_0x5babac(0x1a4)]&&await super[_0x5babac(0x1a4)]();}[a0_0x56826a(0x1a0)](){const _0x224ddf=a0_0x56826a;let _0xdcbabf=this[_0x224ddf(0x1a2)][_0x224ddf(0x1c6)]||_0x224ddf(0x192),_0x5a656b=this['etcConfig']['master_detail_size']||_0x224ddf(0x1b0),_0x5a94b9=_0x224ddf(0x1aa)==_0xdcbabf?_0x224ddf(0x18e)+_0x5a656b+';':_0x224ddf(0x19a)+_0x5a656b+';',_0x399619=this[_0x224ddf(0x188)]?UiUtil['currentRouting']():this[_0x224ddf(0x1bc)];return html`
2
+ ${0x0==this['useMasterFilterForm']?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['searchFields']||[]}
8
+ @filters-change=${_0x4d7a46=>{const _0x47ae0f=_0x224ddf;this[_0x47ae0f(0x18f)]?.[_0x47ae0f(0x1b7)]();}}
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="${_0x5a94b9}">
14
14
  <div class="container_detail">
15
- ${MetaApi['getBasicGristHtml'](this)}
16
- ${MetaUiUtil['getButtonContainer'](this)}
15
+ ${MetaApi[_0x224ddf(0x197)](this)}
16
+ ${MetaUiUtil[_0x224ddf(0x198)](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="${_0x399619}" 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_0x56826a(0x187)](_0xc9a41a){const _0x24c389=a0_0x56826a;this[_0x24c389(0x1a9)]=_0xc9a41a['grid'],this['gridColumnConfig']=_0xc9a41a[_0x24c389(0x1ad)],this[_0x24c389(0x1c5)]=_0xc9a41a[_0x24c389(0x186)],this[_0x24c389(0x1a2)]=_0xc9a41a[_0x24c389(0x1b4)];}async['parseGristConfigs'](){const _0x510114=a0_0x56826a;this[_0x510114(0x190)]=await MetaApi[_0x510114(0x1a7)](this),this[_0x510114(0x195)]=this[_0x510114(0x19c)],this[_0x510114(0x19c)]=!0x1,this[_0x510114(0x1ce)]=this[_0x510114(0x190)][_0x510114(0x1cc)]['filter'](_0x2bb1e5=>_0x2bb1e5[_0x510114(0x18b)])['map'](_0x438908=>{const _0x5109e3=_0x510114;let _0x254680={'name':_0x438908[_0x5109e3(0x1a8)],'type':_0x438908['type'],'label':_0x438908[_0x5109e3(0x1b6)],'operator':_0x438908[_0x5109e3(0x1ae)]?_0x438908[_0x5109e3(0x1ae)]:'eq'};return _0x438908[_0x5109e3(0x1a1)]['options']&&(_0x254680[_0x5109e3(0x196)]=_0x438908[_0x5109e3(0x1a1)]['options']),_0x254680;});}async[a0_0x56826a(0x1b7)](){const _0x406ada=a0_0x56826a;await this[_0x406ada(0x18f)][_0x406ada(0x1b7)]();}async[a0_0x56826a(0x1a3)](){const _0x4a37da=a0_0x56826a;let _0x542b11=MetaApi[_0x4a37da(0x1bd)](this['grist']);!!ValueUtil['isNotEmpty'](_0x542b11)&&await this[_0x4a37da(0x1ac)](_0x542b11)&&this[_0x4a37da(0x1b7)]();}async['find'](){const _0x11ddd3=a0_0x56826a;let _0x7e5e09=MetaApi['getSelectedIdList'](this[_0x11ddd3(0x18f)],!0x0);return ValueUtil[_0x11ddd3(0x191)](_0x7e5e09)?await this['findOne'](_0x7e5e09[0x0]):{};}async[a0_0x56826a(0x1a6)](){const _0x534920=a0_0x56826a;let _0x54ac3c=MetaApi[_0x534920(0x1c7)](this[_0x534920(0x18f)],!0x0);!!ValueUtil[_0x534920(0x191)](_0x54ac3c)&&await this['deleteByIds'](_0x54ac3c)&&this['fetch']();}async[a0_0x56826a(0x18c)](){const _0x4dc170=a0_0x56826a;let _0x44f318=TermsUtil['tTitle'](ValueUtil[_0x4dc170(0x1bb)](this['menuInfo'],_0x4dc170(0x189)));return await MetaApi[_0x4dc170(0x1c2)](this[_0x4dc170(0x1c4)],_0x44f318,this[_0x4dc170(0x18f)]);}async[a0_0x56826a(0x1cb)](){}};
@@ -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
+ function a0_0x23d1(_0x637c4b,_0x11cc9d){const _0x40fcdc=a0_0x40fc();return a0_0x23d1=function(_0x23d16d,_0x37a856){_0x23d16d=_0x23d16d-0x139;let _0x4de98d=_0x40fcdc[_0x23d16d];return _0x4de98d;},a0_0x23d1(_0x637c4b,_0x11cc9d);}const a0_0x39a070=a0_0x23d1;(function(_0x32ecd4,_0x5c95ee){const _0x3fdad6=a0_0x23d1,_0x248dce=_0x32ecd4();while(!![]){try{const _0x1c0e9e=-parseInt(_0x3fdad6(0x156))/0x1*(-parseInt(_0x3fdad6(0x14e))/0x2)+parseInt(_0x3fdad6(0x158))/0x3*(-parseInt(_0x3fdad6(0x140))/0x4)+-parseInt(_0x3fdad6(0x148))/0x5+-parseInt(_0x3fdad6(0x151))/0x6+parseInt(_0x3fdad6(0x145))/0x7+-parseInt(_0x3fdad6(0x15f))/0x8*(-parseInt(_0x3fdad6(0x14c))/0x9)+-parseInt(_0x3fdad6(0x13d))/0xa;if(_0x1c0e9e===_0x5c95ee)break;else _0x248dce['push'](_0x248dce['shift']());}catch(_0xdeace8){_0x248dce['push'](_0x248dce['shift']());}}}(a0_0x40fc,0x94279));import{adjustFilters}from'@operato/utils';function a0_0x40fc(){const _0x5ba8a2=['columns','length','isArray','formConfigSet','2688XPqCQB','parseBasicServiceConfigs','deleteByIds','mutation','name','multiple','getParams','pass','lifecycle','func','list_func','delete','includes','skip_fields','query','2719600tsfJtp','parent_id','deleteListByIds','8uEzmPE','isElement','forEach','params','getPageNavigateParams','7970529zXLaYK','keys','updateMultiple','3674890uBfhCM','findOne','map','find_one_func','28386BPJKkG','getSelectColumns','502PZPafp','gristConfigSet','gqlInfo','1023726nujrPH','parse','split','push','isNotEmpty','521UzGejU','records','817143jiQHBf','filter','isEmpty'];a0_0x40fc=function(){return _0x5ba8a2;};return a0_0x40fc();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x554fc9=>class extends MetaBaseMixin(_0x554fc9){static get['properties'](){return{'gqlInfo':Object};}[a0_0x39a070(0x160)](_0x1f1d17){const _0x1149a9=a0_0x39a070;this[_0x1149a9(0x150)]=_0x1f1d17['gql'];}async['fetchHandler']({page:_0x504537=0x0,limit:_0x17fb4f=0x0,sortings:_0x50ff31=[],filters:_0x2eda9a=[]}){const _0x521c28=a0_0x39a070;if(!this[_0x521c28(0x14f)])return{'total':0x0,'records':[]};let _0x1fe942=ValueUtil[_0x521c28(0x15a)](_0x2eda9a)?await this['filterForm']?.['getQueryFilters']()||[]:_0x2eda9a,_0x2cea6b=ValueUtil[_0x521c28(0x165)](this[_0x521c28(0x150)],_0x521c28(0x13c),_0x521c28(0x169)),_0x162c64=ValueUtil[_0x521c28(0x165)](this[_0x521c28(0x150)],_0x521c28(0x13c),'filters'),_0x4398ea=ValueUtil[_0x521c28(0x165)](this['gqlInfo'],_0x521c28(0x13c),'after_set_fields');if(ValueUtil[_0x521c28(0x155)](_0x162c64)&&(_0x1fe942=adjustFilters(_0x1fe942,_0x162c64)),_0x1fe942['push'](...this[_0x521c28(0x144)]()),this[_0x521c28(0x141)]){let _0x5e224a=ValueUtil[_0x521c28(0x165)](this[_0x521c28(0x150)],'query','parent_id');ValueUtil[_0x521c28(0x155)](_0x5e224a)&&ValueUtil['isNotEmpty'](this[_0x521c28(0x13e)])&&(_0x1fe942=adjustFilters(_0x1fe942,[{'name':_0x5e224a,'operator':'eq','value':this['parent_id']}]));}let _0x5489e3=Object[_0x521c28(0x146)](_0x4398ea||{}),_0x2b6a38=MetaApi[_0x521c28(0x14d)](this[_0x521c28(0x14f)][_0x521c28(0x15b)][_0x521c28(0x159)](_0x11769f=>!_0x5489e3[_0x521c28(0x13a)](_0x11769f[_0x521c28(0x163)]))),_0x33cde5=await MetaApi['searchByPagination'](_0x2cea6b,_0x1fe942,_0x50ff31,_0x504537,_0x17fb4f,_0x2b6a38);return ValueUtil[_0x521c28(0x155)](_0x4398ea)&&ValueUtil[_0x521c28(0x155)](_0x33cde5)&&ValueUtil[_0x521c28(0x155)](_0x33cde5[_0x521c28(0x157)])&&_0x33cde5[_0x521c28(0x157)][_0x521c28(0x14a)](_0x44b412=>(_0x5489e3[_0x521c28(0x142)](_0x1ff04c=>{_0x44b412[_0x1ff04c]=ValueUtil['getParams'](_0x44b412,..._0x4398ea[_0x1ff04c]['split']('.'));}),_0x44b412)),_0x33cde5;}[a0_0x39a070(0x144)](){const _0x3f1222=a0_0x39a070;if(0x0==this['isPage'])return[];let _0x3fa0cd=this[_0x3f1222(0x167)]?.[_0x3f1222(0x143)]?this['lifecycle']['params']:{};if(!_0x3fa0cd['pass'])return[];let _0x4e469d=_0x3fa0cd[_0x3f1222(0x166)],_0x49414c=JSON[_0x3f1222(0x152)](_0x4e469d),_0x3f8d1b=0x1==_0x49414c[_0x3f1222(0x15c)]?'eq':'in',_0x1233ab={},_0x489c0c=[];return Object[_0x3f1222(0x146)](_0x49414c[0x0])['forEach'](_0x1c82a5=>{_0x1233ab[_0x1c82a5]={'name':_0x1c82a5,'operator':_0x3f8d1b,'value':'eq'===_0x3f8d1b?_0x49414c[0x0][_0x1c82a5]:[]};}),_0x49414c['length']>0x1&&_0x49414c[_0x3f1222(0x142)](_0x410998=>{const _0x45b0d2=_0x3f1222;Object[_0x45b0d2(0x146)](_0x410998)[_0x45b0d2(0x142)](_0x14d501=>{const _0x44cb5f=_0x45b0d2;_0x1233ab[_0x14d501]['value'][_0x44cb5f(0x154)](_0x410998[_0x14d501]);});}),Object[_0x3f1222(0x146)](_0x1233ab)[_0x3f1222(0x142)](_0x5ec00c=>{const _0x49e4d7=_0x3f1222;_0x489c0c[_0x49e4d7(0x154)](_0x1233ab[_0x5ec00c]);}),_0x489c0c;}async[a0_0x39a070(0x149)](_0xfdce3d){const _0x1ff9e1=a0_0x39a070;let _0x4e1195=ValueUtil['getParams'](this[_0x1ff9e1(0x150)],_0x1ff9e1(0x13c),_0x1ff9e1(0x14b)),_0x188b43=ValueUtil[_0x1ff9e1(0x165)](this[_0x1ff9e1(0x150)],_0x1ff9e1(0x13c),'after_set_fields'),_0x3dd3d9=Object[_0x1ff9e1(0x146)](_0x188b43||{}),_0x2727f8=MetaApi[_0x1ff9e1(0x14d)]((this[_0x1ff9e1(0x14f)]?this[_0x1ff9e1(0x14f)]:{'columns':this[_0x1ff9e1(0x15e)]})['columns']['filter'](_0x1fea10=>!_0x3dd3d9['includes'](_0x1fea10[_0x1ff9e1(0x163)]))),_0x50baef=await MetaApi[_0x1ff9e1(0x149)](_0x4e1195,_0xfdce3d,_0x2727f8);return ValueUtil['isNotEmpty'](_0x188b43)&&ValueUtil[_0x1ff9e1(0x155)](_0x50baef)&&_0x3dd3d9[_0x1ff9e1(0x142)](_0x3b7695=>{const _0x91367b=_0x1ff9e1;_0x50baef[_0x3b7695]=ValueUtil[_0x91367b(0x165)](_0x50baef,..._0x188b43[_0x3b7695][_0x91367b(0x153)]('.'));}),_0x50baef;}async[a0_0x39a070(0x161)](_0x17cb98){const _0x441668=a0_0x39a070;let _0x459fae=ValueUtil['getParams'](this[_0x441668(0x150)],_0x441668(0x162),_0x441668(0x139),_0x441668(0x168));return await MetaApi[_0x441668(0x13f)](_0x17cb98,_0x459fae);}async[a0_0x39a070(0x147)](_0x37bcf0){const _0x25568a=a0_0x39a070;let _0x46b321=ValueUtil['getParams'](this[_0x25568a(0x150)],'mutation',_0x25568a(0x164),_0x25568a(0x168)),_0x14ba71=ValueUtil[_0x25568a(0x165)](this[_0x25568a(0x150)],_0x25568a(0x162),'multiple',_0x25568a(0x13b));if(ValueUtil['isNotEmpty'](_0x14ba71)&&(_0x14ba71=_0x14ba71[_0x25568a(0x14a)](_0x9102aa=>_0x9102aa[_0x25568a(0x13a)]('.')?_0x9102aa['split']('.'):_0x9102aa),_0x37bcf0=_0x37bcf0['map'](_0x3d52a6=>(_0x14ba71[_0x25568a(0x142)](_0xe9f03a=>{const _0x14a6f1=_0x25568a;Array[_0x14a6f1(0x15d)](_0xe9f03a)?delete _0x3d52a6[_0xe9f03a[0x0]][_0xe9f03a[0x1]]:delete _0x3d52a6[_0xe9f03a];}),_0x3d52a6))),this[_0x25568a(0x141)]&&ValueUtil[_0x25568a(0x155)](this['parent_id'])){let _0x397e9f=ValueUtil['getParams'](this[_0x25568a(0x150)],_0x25568a(0x162),_0x25568a(0x164),_0x25568a(0x13e));ValueUtil[_0x25568a(0x155)](_0x397e9f)&&_0x37bcf0[_0x25568a(0x142)](_0x547e7c=>{const _0x4a1640=_0x25568a;if(_0x397e9f[_0x4a1640(0x13a)]('.')){let _0x20a5f9=_0x397e9f['split']('.');_0x547e7c[_0x20a5f9[0x0]]={},_0x547e7c[_0x20a5f9[0x0]][_0x20a5f9[0x1]]=this['parent_id'];}else _0x547e7c[_0x397e9f]=this['parent_id'];});}return await MetaApi['updateMultiple'](_0x46b321,_0x37bcf0);}};
@@ -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
+ const a0_0x65aba4=a0_0x291d;(function(_0x5ef8df,_0x44ca1f){const _0x4a1088=a0_0x291d,_0x942387=_0x5ef8df();while(!![]){try{const _0x42e4cb=parseInt(_0x4a1088(0x1cc))/0x1+parseInt(_0x4a1088(0x1cb))/0x2*(-parseInt(_0x4a1088(0x1dc))/0x3)+parseInt(_0x4a1088(0x1d6))/0x4+-parseInt(_0x4a1088(0x1d8))/0x5+parseInt(_0x4a1088(0x1d5))/0x6+parseInt(_0x4a1088(0x1de))/0x7+-parseInt(_0x4a1088(0x1da))/0x8*(parseInt(_0x4a1088(0x1d7))/0x9);if(_0x42e4cb===_0x44ca1f)break;else _0x942387['push'](_0x942387['shift']());}catch(_0x1fcaf0){_0x942387['push'](_0x942387['shift']());}}}(a0_0x3180,0x847b8));import{MetaApi}from'../utils/meta-api';function a0_0x3180(){const _0x23dbbf=['tab','render','getBasicTabHtml','getAndParseMenuMeta','styles','2515842xFFggZ','2285024didYcX','4869162MIbQuc','2855785VCPVlm','getContextObject','8XizSdk','firstUpdated','966THaoly','parseBasicTabConfigs','5325208xyoKlE','properties','tabRenderConfig','currentTabKey','1118vMraNK','83514AHJKhc','pageInitialized','getBasicTabStyles','connectedCallback'];a0_0x3180=function(){return _0x23dbbf;};return a0_0x3180();}import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x291d(_0x7d288e,_0x4e1ccb){const _0x31809e=a0_0x3180();return a0_0x291d=function(_0x291d66,_0x5f19ac){_0x291d66=_0x291d66-0x1ca;let _0x391fb2=_0x31809e[_0x291d66];return _0x391fb2;},a0_0x291d(_0x7d288e,_0x4e1ccb);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0xfe7fb5=>class extends MetaButtonMixin(_0xfe7fb5){static get[a0_0x65aba4(0x1d4)](){const _0x7bc85d=a0_0x65aba4;return MetaApi[_0x7bc85d(0x1ce)]();}static get[a0_0x65aba4(0x1df)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x3ccd9f=a0_0x65aba4;return MetaUiUtil[_0x3ccd9f(0x1d9)](this);}async[a0_0x65aba4(0x1cf)](){const _0x4f0da3=a0_0x65aba4;this[_0x4f0da3(0x1ca)]=void 0x0,await this[_0x4f0da3(0x1d3)](),super[_0x4f0da3(0x1cf)]&&await super[_0x4f0da3(0x1cf)]();}async['firstUpdated'](){const _0x3d2af9=a0_0x65aba4;super[_0x3d2af9(0x1db)]&&await super[_0x3d2af9(0x1db)]();}async[a0_0x65aba4(0x1cd)](){const _0x32c937=a0_0x65aba4;super['pageInitialized']&&await super[_0x32c937(0x1cd)]();}[a0_0x65aba4(0x1d1)](){const _0x103eaf=a0_0x65aba4;return MetaApi[_0x103eaf(0x1d2)](this);}[a0_0x65aba4(0x1dd)](_0x4da913){const _0xe9fca6=a0_0x65aba4;this[_0xe9fca6(0x1e0)]=_0x4da913[_0xe9fca6(0x1d0)],_0x4da913['button']=[];}};