@things-factory/meta-ui 6.0.3 → 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 +2 -2
@@ -1,4 +1,4 @@
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})}
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[_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});}
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_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
+ 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_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
- ${MetaApi['getBasicGristHtml'](this)}
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
+ 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
- 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
+ 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
- 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
+ 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_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`
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[_0x3dc021(0x196)]||[]}
8
- @filters-change=${_0x175f46=>{const _0x2d8436=_0x3dc021;this['grist']?.[_0x2d8436(0x1ad)]();}}
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="${_0x2a75a9}">
13
+ <div id="container" class="container" style="${_0x5a94b9}">
14
14
  <div class="container_detail">
15
- ${MetaApi[_0x3dc021(0x184)](this)}
16
- ${MetaUiUtil[_0x3dc021(0x1bb)](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="${_0x42876d}" 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_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();}
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_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
+ 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
- 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)]=[];}};
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']=[];}};