@things-factory/meta-ui 6.0.5 → 6.0.7

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 (45) 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 +88 -73
  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 +2 -2
  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/middlewares/index.js +8 -2
  38. package/dist-server/routes.js +1 -1
  39. package/dist-server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  40. package/dist-server/service/grid-personalize/grid-personalize-query.js +1 -1
  41. package/dist-server/service/grid-personalize/grid-personalize-type.js +1 -1
  42. package/dist-server/service/grid-personalize/grid-personalize.js +1 -1
  43. package/dist-server/service/meta-secret/meta-resolver.js +1 -1
  44. package/dist-server/service/set-translations/set-translation-resolver.js +1 -1
  45. package/package.json +5 -4
@@ -1,4 +1,4 @@
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})}
1
+ const a0_0x1e4395=a0_0xc136;function a0_0xc136(_0x56b322,_0x49fa99){const _0x2b4c28=a0_0x2b4c();return a0_0xc136=function(_0xc1363a,_0x5810e6){_0xc1363a=_0xc1363a-0xd4;let _0x1ca1a0=_0x2b4c28[_0xc1363a];return _0x1ca1a0;},a0_0xc136(_0x56b322,_0x49fa99);}(function(_0x2687f1,_0x1bceb7){const _0x48ad1e=a0_0xc136,_0x450e99=_0x2687f1();while(!![]){try{const _0xec1539=parseInt(_0x48ad1e(0xe9))/0x1*(parseInt(_0x48ad1e(0xd8))/0x2)+parseInt(_0x48ad1e(0xd7))/0x3*(-parseInt(_0x48ad1e(0xe4))/0x4)+parseInt(_0x48ad1e(0xe5))/0x5*(parseInt(_0x48ad1e(0xe6))/0x6)+parseInt(_0x48ad1e(0xed))/0x7*(-parseInt(_0x48ad1e(0xdc))/0x8)+parseInt(_0x48ad1e(0xd6))/0x9*(-parseInt(_0x48ad1e(0xe0))/0xa)+parseInt(_0x48ad1e(0xe2))/0xb*(parseInt(_0x48ad1e(0xee))/0xc)+-parseInt(_0x48ad1e(0xd9))/0xd;if(_0xec1539===_0x1bceb7)break;else _0x450e99['push'](_0x450e99['shift']());}catch(_0xa7be48){_0x450e99['push'](_0x450e99['shift']());}}}(a0_0x2b4c,0x9d767));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';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_0x5d38c9}from'@things-factory/lite-menu';export const UPDATE_META_UI=a0_0x1e4395(0xdf);function a0_0x2b4c(){const _0xaccea8=['27164bVeFNZ','5hTrbBJ','6694014YtGEaR','dynamic-menu','UPDATE_META_MENU_TEMPLATE','1222yPuLwy','NAVBAR','hamburger','FRONT_END','28eLGtzQ','732pGmIDy','portrait','dispatch','27FBcphn','123bwZurd','1484Mkffei','10574928WwWuFZ','get','dynamic-menu-part','855808fJMJzi','HEADERBAR','lite-menu-part','UPDATE_META_UI','175710wXoPUr','value','35178JjwYkf','landscape'];a0_0x2b4c=function(){return _0xaccea8;};return a0_0x2b4c();}export const UPDATE_META_MENU_TEMPLATE=a0_0x1e4395(0xe8);var HAMBURGER;export async function setupMenuPart(_0x11e936){const _0x225ae8=a0_0x1e4395;var {hovering:_0x30583c=!!isMobileDevice(),slotTemplate:_0x480538,portraitSlotTemplate:_0x4688e0,landscapeSlotTemplate:_0x4e1581,position:_0x299665=VIEWPART_POSITION[_0x225ae8(0xea)]}=_0x11e936||{};const {hovering:_0x571458}=(await clientSettingStore[_0x225ae8(0xda)](_0x225ae8(0xe7)))?.[_0x225ae8(0xe1)]||{};void 0x0!==_0x571458&&(_0x30583c=_0x571458);const _0x3b0480=_0x299665==VIEWPART_POSITION[_0x225ae8(0xdd)]?_0x225ae8(0xe3):_0x225ae8(0xd4),_0x430b3c=(_0x225ae8(0xe3)==_0x3b0480?_0x4e1581:_0x4688e0)||_0x480538||html``;appendViewpart({'name':_0x225ae8(0xde),'viewpart':{'show':!_0x30583c,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x30583c,'template':html`<dynamic-menu-part .orientation=${_0x3b0480}>${_0x430b3c}</dynamic-menu-part>`},'position':_0x299665}),_0x30583c&&_0x225ae8(0xd4)==_0x3b0480?HAMBURGER||(HAMBURGER={'name':_0x225ae8(0xeb),'template':html`
2
+ <mwc-icon @click=${_0x255b8d=>toggleOverlay(_0x225ae8(0xdb),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
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});}
4
+ `,'position':TOOL_POSITION[_0x225ae8(0xec)]},store[_0x225ae8(0xd5)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x4bafe2){const _0x4fc202=a0_0x1e4395;a0_0x5d38c9(_0x4bafe2),store[_0x4fc202(0xd5)]({'type':UPDATE_META_MENU_TEMPLATE,'template':_0x4bafe2});}
@@ -1 +1 @@
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
+ const a0_0x36921c=a0_0x3ed6;(function(_0x4572e7,_0x182234){const _0xd29e8f=a0_0x3ed6,_0x20d87f=_0x4572e7();while(!![]){try{const _0x5bdb06=-parseInt(_0xd29e8f(0x1d5))/0x1+parseInt(_0xd29e8f(0x1dd))/0x2+parseInt(_0xd29e8f(0x1e3))/0x3+parseInt(_0xd29e8f(0x1c8))/0x4*(-parseInt(_0xd29e8f(0x1cc))/0x5)+-parseInt(_0xd29e8f(0x1e1))/0x6*(-parseInt(_0xd29e8f(0x1dc))/0x7)+parseInt(_0xd29e8f(0x1ee))/0x8*(parseInt(_0xd29e8f(0x1d3))/0x9)+-parseInt(_0xd29e8f(0x1ec))/0xa;if(_0x5bdb06===_0x182234)break;else _0x20d87f['push'](_0x20d87f['shift']());}catch(_0x42a4f0){_0x20d87f['push'](_0x20d87f['shift']());}}}(a0_0x58d8,0x733c4));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x3ed6(_0x45ee50,_0x498493){const _0x58d803=a0_0x58d8();return a0_0x3ed6=function(_0x3ed611,_0x48a9d4){_0x3ed611=_0x3ed611-0x1c8;let _0x222f28=_0x58d803[_0x3ed611];return _0x222f28;},a0_0x3ed6(_0x45ee50,_0x498493);}export const MetaBaseMixin=_0x536b72=>class extends _0x536b72{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x232478=>Boolean(_0x232478)},'is_popup':{'type':Boolean,'converter':_0x4080f0=>Boolean(_0x4080f0)}};}get[a0_0x36921c(0x1f0)](){const _0x39aa37=a0_0x36921c;return!0x0===this[_0x39aa37(0x1df)]||!0x0===this[_0x39aa37(0x1e4)];}get[a0_0x36921c(0x1d6)](){const _0x140784=a0_0x36921c;return!ValueUtil['isEmpty'](this[_0x140784(0x1df)])&&this[_0x140784(0x1df)];}async[a0_0x36921c(0x1d8)](_0xa3b2c,_0x46bd15,_0x39f103){const _0x503e78=a0_0x36921c;let _0x21a006=this[_0x503e78(0x1d2)]?.['params']?this[_0x503e78(0x1d2)][_0x503e78(0x1e8)]:{};this[_0x503e78(0x1da)]&&this[_0x503e78(0x1d1)]&&0x0==_0x39f103[_0x503e78(0x1d1)]&&ValueUtil['isNotEmpty'](_0x21a006)&&this[_0x503e78(0x1e2)]();}get['isPopup'](){const _0x594291=a0_0x36921c;return!ValueUtil['isEmpty'](this[_0x594291(0x1e4)])&&this[_0x594291(0x1e4)];}get[a0_0x36921c(0x1da)](){const _0x184cdb=a0_0x36921c;return!this['is_detail']&&!this[_0x184cdb(0x1e4)];}async['getAndParseMenuMeta'](){const _0x4a63c1=a0_0x36921c;let _0xa72c1d=await MetaApi['getMenuMeta'](this);_0xa72c1d&&(this[_0x4a63c1(0x1e6)]=_0xa72c1d[_0x4a63c1(0x1f1)],this[_0x4a63c1(0x1d7)]&&this[_0x4a63c1(0x1d7)](_0xa72c1d),this[_0x4a63c1(0x1eb)]&&this[_0x4a63c1(0x1eb)](_0xa72c1d),this[_0x4a63c1(0x1d4)]&&this[_0x4a63c1(0x1d4)](_0xa72c1d),this[_0x4a63c1(0x1cd)]&&this['parseBasicTabConfigs'](_0xa72c1d),this[_0x4a63c1(0x1e7)]&&this['parseBasicButtonConfigs'](_0xa72c1d),this[_0x4a63c1(0x1ca)]=_0xa72c1d[_0x4a63c1(0x1c9)]);}async[a0_0x36921c(0x1e2)](){const _0x3ed85a=a0_0x36921c;ValueUtil[_0x3ed85a(0x1db)](this[_0x3ed85a(0x1e0)])?this['grist'][_0x3ed85a(0x1e2)]():(ValueUtil[_0x3ed85a(0x1db)](this[_0x3ed85a(0x1ef)])||this[_0x3ed85a(0x1d9)])&&await this['fetchHandler']();}async['excuteOpenPopupButtonClick'](_0x44cbf7,_0xf00e6d,_0x165fae){const _0x4275fc=a0_0x36921c;let _0x48de14=TermsUtil[_0x4275fc(0x1cf)](_0x44cbf7['title']);ValueUtil[_0x4275fc(0x1db)](_0x44cbf7[_0x4275fc(0x1cb)])&&(_0x48de14=_0x48de14+'-'+ValueUtil[_0x4275fc(0x1ce)](_0xf00e6d,..._0x44cbf7[_0x4275fc(0x1cb)][_0x4275fc(0x1e9)]('.'))),MetaApi[_0x4275fc(0x1de)](_0x48de14,_0x44cbf7,_0xf00e6d,_0x165fae);}async['executeCallScenarioButtonClick'](_0x2b4de2,_0x9752f,_0x46837a){const _0x57efca=a0_0x36921c;let _0x305b6d=await MetaApi['callScenario'](_0x2b4de2[_0x57efca(0x1ea)],_0x2b4de2[_0x57efca(0x1ea)],_0x9752f);!0x1!==_0x305b6d&&!_0x305b6d['errors']&&ValueUtil[_0x57efca(0x1db)](_0x2b4de2[_0x57efca(0x1e5)])&&_0x46837a();}[a0_0x36921c(0x1d0)](_0x1007ea){const _0x4f67b4=a0_0x36921c;this[_0x4f67b4(0x1ed)]=_0x1007ea,this[_0x4f67b4(0x1e2)]();}};function a0_0x58d8(){const _0x8c35ef=['isPage','isNotEmpty','507878bxiKKF','585412YHDSkG','openDynamicPopup','is_detail','grist','66rLHCpE','fetch','2785995qovFYf','is_popup','after','menuInfo','parseBasicButtonConfigs','params','split','name','parseBasicServiceConfigs','7299960ogchnq','parent_id','8ImgRMz','filterForm','isElement','menu','3209524MzdmOS','etc','etcConfig','title_detail','5EprMyf','parseBasicTabConfigs','getParams','tTitle','setParentId','active','lifecycle','3611601UEYJeI','parseBasicFormConfigs','416373YYqPwy','isDetail','parseBasicGridConfigs','pageUpdated','fetchHandler'];a0_0x58d8=function(){return _0x8c35ef;};return a0_0x58d8();}
@@ -1,4 +1,4 @@
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
+ const a0_0x2bd53a=a0_0xe9d4;(function(_0x29675f,_0x380e68){const _0x40ea4a=a0_0xe9d4,_0x53ab61=_0x29675f();while(!![]){try{const _0x39abfc=parseInt(_0x40ea4a(0x17e))/0x1+parseInt(_0x40ea4a(0x185))/0x2+parseInt(_0x40ea4a(0x16f))/0x3+parseInt(_0x40ea4a(0x184))/0x4+-parseInt(_0x40ea4a(0x187))/0x5*(parseInt(_0x40ea4a(0x15e))/0x6)+parseInt(_0x40ea4a(0x16d))/0x7+-parseInt(_0x40ea4a(0x16b))/0x8;if(_0x39abfc===_0x380e68)break;else _0x53ab61['push'](_0x53ab61['shift']());}catch(_0x1b9a08){_0x53ab61['push'](_0x53ab61['shift']());}}}(a0_0x114d,0xe1b45));function a0_0xe9d4(_0x143475,_0x22c75b){const _0x114d3a=a0_0x114d();return a0_0xe9d4=function(_0xe9d405,_0x1f76d3){_0xe9d405=_0xe9d405-0x15d;let _0x12e1c1=_0x114d3a[_0xe9d405];return _0x12e1c1;},a0_0xe9d4(_0x143475,_0x22c75b);}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_0x114d(){const _0x301b2c=['context','getAndParseMenuMeta','22983712NCqvKd','export','7839370MjKnQP','parseBasicGridConfigs','3782001wBZPoV','search','patchesForUpdateMultiple','getBasicGristHtml','import','getBasicGristStyles','connectedCallback','renderRoot','render','searchConfig','gristId','delete','properties','filterForm','ox-filters-form','1126857QhjZQE','updateMultiple','title','isElement','tTitle','styles','2362028TCqpZW','1832752KOmMzw','isPage','1521085AiizJC','ox-grist','gristConfigSet','getContextObject','findOne','filterFormId','save','isNotEmpty','shadowRoot','exportableData','24OoNzrm','parseGristConfigs','deleteByIds','grid_column','getSelectedIdList','firstUpdated','querySelector','grist','pageInitialized','fetch','gridColumnConfig'];a0_0x114d=function(){return _0x301b2c;};return a0_0x114d();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x3b3a92=>class extends MetaButtonMixin(_0x3b3a92){static get[a0_0x2bd53a(0x183)](){const _0x1326d3=a0_0x2bd53a;return MetaApi[_0x1326d3(0x174)]();}static get[a0_0x2bd53a(0x17b)](){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_0x2bd53a(0x165)](){const _0x397809=a0_0x2bd53a;return this[_0x397809(0x176)][_0x397809(0x164)](this[_0x397809(0x179)]);}get[a0_0x2bd53a(0x17c)](){const _0x4f37e6=a0_0x2bd53a;return this[_0x4f37e6(0x18f)]?.[_0x4f37e6(0x164)](this[_0x4f37e6(0x18c)]);}get[a0_0x2bd53a(0x169)](){const _0x1d0838=a0_0x2bd53a;return MetaUiUtil[_0x1d0838(0x18a)](this);}async[a0_0x2bd53a(0x175)](){const _0x227799=a0_0x2bd53a;this[_0x227799(0x179)]=_0x227799(0x188),this['filterFormId']=_0x227799(0x17d),await this[_0x227799(0x16a)](),this[_0x227799(0x181)]&&await this['parseGristConfigs'](),super[_0x227799(0x175)]&&await super[_0x227799(0x175)]();}async['firstUpdated'](){const _0x10d831=a0_0x2bd53a;super[_0x10d831(0x163)]&&await super[_0x10d831(0x163)]();}async[a0_0x2bd53a(0x166)](){const _0x31a3cd=a0_0x2bd53a;this[_0x31a3cd(0x186)]&&await this[_0x31a3cd(0x15f)](),super[_0x31a3cd(0x166)]&&await super[_0x31a3cd(0x166)]();}[a0_0x2bd53a(0x177)](){const _0x47dd24=a0_0x2bd53a;return html`
2
+ ${MetaApi[_0x47dd24(0x172)](this)}
3
+ ${this['isPage']?html``:MetaUiUtil['getButtonContainer'](this)}
4
+ `;}[a0_0x2bd53a(0x16e)](_0x5113e4){const _0x3fb61c=a0_0x2bd53a;this['gridConfig']=_0x5113e4['grid'],this[_0x3fb61c(0x168)]=_0x5113e4[_0x3fb61c(0x161)],this[_0x3fb61c(0x178)]=_0x5113e4[_0x3fb61c(0x170)];}async[a0_0x2bd53a(0x15f)](){const _0x492764=a0_0x2bd53a;this[_0x492764(0x189)]=await MetaApi['parseGridConfigSet'](this);}async[a0_0x2bd53a(0x167)](){const _0x5c147c=a0_0x2bd53a;await this[_0x5c147c(0x165)][_0x5c147c(0x167)]();}async[a0_0x2bd53a(0x18d)](){const _0x40579b=a0_0x2bd53a;let _0x31bd8f=MetaApi[_0x40579b(0x171)](this[_0x40579b(0x165)]);!!ValueUtil['isNotEmpty'](_0x31bd8f)&&await this[_0x40579b(0x17f)](_0x31bd8f)&&this[_0x40579b(0x167)]();}async['find'](){const _0x1b6e21=a0_0x2bd53a;let _0x43a7d7=MetaApi[_0x1b6e21(0x162)](this[_0x1b6e21(0x165)],!0x0);return ValueUtil[_0x1b6e21(0x18e)](_0x43a7d7)?await this[_0x1b6e21(0x18b)](_0x43a7d7[0x0]):{};}async[a0_0x2bd53a(0x17a)](){const _0x4341ba=a0_0x2bd53a;let _0x509acf=MetaApi[_0x4341ba(0x162)](this[_0x4341ba(0x165)],!0x0);!!ValueUtil[_0x4341ba(0x18e)](_0x509acf)&&await this[_0x4341ba(0x160)](_0x509acf)&&this[_0x4341ba(0x167)]();}async[a0_0x2bd53a(0x16c)](){const _0x58d4d4=a0_0x2bd53a;let _0x563cfe=TermsUtil[_0x58d4d4(0x182)](ValueUtil['getParams'](this['menuInfo'],_0x58d4d4(0x180)));return await MetaApi[_0x58d4d4(0x15d)](this[_0x58d4d4(0x181)],_0x563cfe,this[_0x58d4d4(0x165)]);}async[a0_0x2bd53a(0x173)](){}};
@@ -1 +1 @@
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
+ const a0_0x3f473c=a0_0x4349;(function(_0x114880,_0x10035f){const _0x4e05a4=a0_0x4349,_0x4024d6=_0x114880();while(!![]){try{const _0x48f1e2=parseInt(_0x4e05a4(0x187))/0x1+-parseInt(_0x4e05a4(0x195))/0x2*(parseInt(_0x4e05a4(0x19d))/0x3)+-parseInt(_0x4e05a4(0x19a))/0x4+-parseInt(_0x4e05a4(0x19b))/0x5+-parseInt(_0x4e05a4(0x18f))/0x6*(-parseInt(_0x4e05a4(0x192))/0x7)+parseInt(_0x4e05a4(0x185))/0x8*(parseInt(_0x4e05a4(0x197))/0x9)+parseInt(_0x4e05a4(0x189))/0xa*(parseInt(_0x4e05a4(0x186))/0xb);if(_0x48f1e2===_0x10035f)break;else _0x4024d6['push'](_0x4024d6['shift']());}catch(_0x38e0be){_0x4024d6['push'](_0x4024d6['shift']());}}}(a0_0x5141,0x5b4a4));function a0_0x4349(_0x40c776,_0x279339){const _0x5141b4=a0_0x5141();return a0_0x4349=function(_0x4349bc,_0x7e4e9c){_0x4349bc=_0x4349bc-0x183;let _0xfb76a6=_0x5141b4[_0x4349bc];return _0xfb76a6;},a0_0x4349(_0x40c776,_0x279339);}import{html}from'lit';function a0_0x5141(){const _0x4d33a3=['16641UhaEWY','useButtonImport','getBasicButtonHandler','1643524BXEnui','1286385JFObSg','useButtonAdd','1197pLsIQb','customButtonHandler','isButtonExist','272ndimNg','22EXsWAz','109325KRwYMF','buttonConfig','5496530AabySH','gristButtonHandler','isPage','getContextButtons','getCustomButtonContainerStyle','getButtonActionHandler','6HyOmgV','properties','export','2801449gkTWph','getCustomButtonContainerStyles','parseBasicButtonConfigs','3156pXmYiW','getButtonContainer'];a0_0x5141=function(){return _0x4d33a3;};return a0_0x5141();}import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x18dbff=>class extends MetaServiceMixin(_0x18dbff){static get[a0_0x3f473c(0x190)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x3f473c(0x18d)](){const _0x2ca2e2=a0_0x3f473c;return MetaUiUtil[_0x2ca2e2(0x193)]();}[a0_0x3f473c(0x18c)](){const _0x27b83c=a0_0x3f473c;return MetaUiUtil[_0x27b83c(0x18c)](this);}[a0_0x3f473c(0x196)](){const _0x7a0636=a0_0x3f473c;return this[_0x7a0636(0x18b)]?html``:MetaUiUtil['getButtonContainer'](this);}async[a0_0x3f473c(0x199)](_0x430500,_0x25e432,_0x2d579d){const _0x26003e=a0_0x3f473c;return await MetaUiUtil[_0x26003e(0x18e)](this,_0x430500,_0x25e432,_0x2d579d);}async['customButtonHandler'](_0x5b6b56){const _0x30304c=a0_0x3f473c;await MetaUiUtil[_0x30304c(0x183)](this,_0x5b6b56);}async[a0_0x3f473c(0x18a)](_0x59eba8,_0x90c6ea){await MetaUiUtil['gristButtonHandler'](this,_0x59eba8,_0x90c6ea);}[a0_0x3f473c(0x194)](_0x1d0a0a){const _0xafb86=a0_0x3f473c;this[_0xafb86(0x188)]=_0x1d0a0a['button'],this[_0xafb86(0x198)]=MetaUiUtil['isButtonExist'](this[_0xafb86(0x188)],'import'),this['useButtonExport']=MetaUiUtil['isButtonExist'](this[_0xafb86(0x188)],_0xafb86(0x191)),this[_0xafb86(0x19c)]=MetaUiUtil[_0xafb86(0x184)](this[_0xafb86(0x188)],'add');}};
@@ -1 +1 @@
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
+ const a0_0x430aa6=a0_0x4b6a;function a0_0x4b6a(_0x1d3e86,_0x5638c3){const _0x32d001=a0_0x32d0();return a0_0x4b6a=function(_0x4b6a83,_0x54705a){_0x4b6a83=_0x4b6a83-0xed;let _0x267249=_0x32d001[_0x4b6a83];return _0x267249;},a0_0x4b6a(_0x1d3e86,_0x5638c3);}function a0_0x32d0(){const _0x1f3654=['title.info','field-change','pageInitialized','setAttribute','429385EqniiT','keydown','formConfigSet','fetch','isElement','Escape','button','571372shrXjI','text.NOTHING_CHANGED','parseFormConfigSet','orgData','63078rSkVdN','dirtyData','__seq__','14pVEhXw','isPage','render','removeAttribute','name','Enter','map','firstUpdated','true','detail','parseBasicFormConfigs','tagName','click','currentTarget','stopPropagation','startsWith','isEmpty','parent_id','removeGarbageData','styles','patchData','findOne','cuFlag','formRenderConfig','key','OX-GRID-FIELD','__dirtyfields__','942748MdOdlr','2290UdYjjd','67507nCorkc','properties','save','addEventListener','parseFormConfigs','renderRoot','connectedCallback','filter','target','getBasicFormHtml','6EJRbxX','validation','66402vQeQXm','updateMultiple','entries','__dirty__','isNotEmpty','before','Esc','showAlertPopup','isEquals','__origin__','after','942024BrsrEX','config','editing','editable','getAndParseMenuMeta','context','record','352FuQPfa'];a0_0x32d0=function(){return _0x1f3654;};return a0_0x32d0();}(function(_0x5ba293,_0x3de43c){const _0x13ddc9=a0_0x4b6a,_0xdd8dfd=_0x5ba293();while(!![]){try{const _0x337e3a=-parseInt(_0x13ddc9(0x10c))/0x1+parseInt(_0x13ddc9(0x110))/0x2+parseInt(_0x13ddc9(0x13a))/0x3*(-parseInt(_0x13ddc9(0x12e))/0x4)+-parseInt(_0x13ddc9(0x105))/0x5+-parseInt(_0x13ddc9(0xf9))/0x6*(-parseInt(_0x13ddc9(0x113))/0x7)+parseInt(_0x13ddc9(0x100))/0x8*(-parseInt(_0x13ddc9(0xee))/0x9)+-parseInt(_0x13ddc9(0x12f))/0xa*(-parseInt(_0x13ddc9(0x130))/0xb);if(_0x337e3a===_0x3de43c)break;else _0xdd8dfd['push'](_0xdd8dfd['shift']());}catch(_0x12e163){_0xdd8dfd['push'](_0xdd8dfd['shift']());}}}(a0_0x32d0,0x48ac1));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x24e485=>class extends MetaButtonMixin(_0x24e485){static get[a0_0x430aa6(0x126)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x430aa6(0x131)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x430aa6(0xfe)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x430aa6(0x136)](){const _0x3a140a=a0_0x430aa6;if(this['config']){let {column:_0x10fbee=0x1}=this[_0x3a140a(0xfa)];this['column']=_0x10fbee;}await this[_0x3a140a(0xfd)](),this['isElement']&&await this['parseFormConfigs'](),super[_0x3a140a(0x136)]&&await super[_0x3a140a(0x136)](),this[_0x3a140a(0x109)]&&await this[_0x3a140a(0x108)](),this[_0x3a140a(0x135)]['addEventListener'](_0x3a140a(0x106),_0x5811c2=>{const _0x2a1861=_0x3a140a;switch(_0x5811c2[_0x2a1861(0x12b)]){case _0x2a1861(0xf4):case _0x2a1861(0x10a):case _0x2a1861(0x118):this['focus'](),this[_0x2a1861(0x120)]&&this['currentTarget']['removeAttribute'](_0x2a1861(0xfb)),this['currentTarget']=null;}}),this[_0x3a140a(0x135)][_0x3a140a(0x133)](_0x3a140a(0x11f),_0x1a6601=>{const _0x3ccc31=_0x3a140a;_0x1a6601[_0x3ccc31(0x121)]();let _0x2dacd5=_0x1a6601[_0x3ccc31(0x138)];if(this[_0x3ccc31(0x120)]&&(this['focus'](),this[_0x3ccc31(0x120)][_0x3ccc31(0x116)](_0x3ccc31(0xfb))),_0x3ccc31(0x12c)!==_0x2dacd5[_0x3ccc31(0x11e)]||!_0x2dacd5['column'][_0x3ccc31(0xff)][_0x3ccc31(0xfc)])return this['focus'](),void(this['currentTarget']=null);this['currentTarget']=_0x2dacd5,_0x2dacd5[_0x3ccc31(0x104)]('editing',_0x3ccc31(0x11b));}),this[_0x3a140a(0x133)](_0x3a140a(0x102),_0xb5dc34=>{const _0x2d2961=_0x3a140a;var {after:_0x457dca,before:_0x40fac3,column:_0x3b4e7f,record:_0x3c622b,row:_0x29a849}=_0xb5dc34[_0x2d2961(0x11c)];if(ValueUtil[_0x2d2961(0xf6)](_0x457dca,_0x40fac3))return;var _0x2ad671=_0x3b4e7f[_0x2d2961(0xed)];if(_0x2ad671&&'function'==typeof _0x2ad671&&!_0x2ad671['call'](this,_0x457dca,_0x40fac3,_0x3c622b,_0x3b4e7f))return;let _0x546141=_0x3b4e7f['name'];_0x3c622b[_0x546141]=_0x457dca,_0x3c622b['__dirtyfields__']=_0x3c622b[_0x2d2961(0x12d)]||{},_0x3c622b[_0x2d2961(0x12d)][_0x546141]={'before':_0x3c622b[_0x2d2961(0xf7)][_0x546141],'after':_0x3c622b[_0x546141]},ValueUtil['isEquals'](_0x3c622b[_0x2d2961(0x12d)][_0x546141][_0x2d2961(0xf3)],_0x3c622b[_0x2d2961(0x12d)][_0x546141][_0x2d2961(0xf8)])&&delete _0x3c622b[_0x2d2961(0x12d)][_0x546141],ValueUtil[_0x2d2961(0xf2)](_0x3c622b[_0x2d2961(0x12d)])?_0x3c622b['__dirty__']='M':_0x3c622b[_0x2d2961(0xf1)]='',this[_0x2d2961(0xff)]={..._0x3c622b};});}async[a0_0x430aa6(0x11a)](){const _0x1796e5=a0_0x430aa6;super[_0x1796e5(0x11a)]&&await super[_0x1796e5(0x11a)]();}async[a0_0x430aa6(0x103)](){const _0x26c78b=a0_0x430aa6;this[_0x26c78b(0x114)]&&await this[_0x26c78b(0x134)](),super['pageInitialized']&&await super[_0x26c78b(0x103)](),this[_0x26c78b(0x114)]&&await this[_0x26c78b(0x108)]();}[a0_0x430aa6(0x115)](){const _0x1df50d=a0_0x430aa6;return MetaApi[_0x1df50d(0x139)](this);}[a0_0x430aa6(0x11d)](_0x59b287){const _0x33acbe=a0_0x430aa6;this['formColumnConfig']=_0x59b287['grid_column'],this[_0x33acbe(0x12a)]=_0x59b287['form'],_0x59b287[_0x33acbe(0x10b)]=_0x59b287[_0x33acbe(0x10b)][_0x33acbe(0x137)](_0x3ae2fe=>_0x33acbe(0x132)==_0x3ae2fe[_0x33acbe(0x117)]);}async['parseFormConfigs'](){const _0x26c07a=a0_0x430aa6;this[_0x26c07a(0x107)]=await MetaApi[_0x26c07a(0x10e)](this);}get[a0_0x430aa6(0x10f)](){const _0x362a3b=a0_0x430aa6;return this['removeGarbageData'](this[_0x362a3b(0xff)][_0x362a3b(0xf7)]);}get['dirtyData'](){const _0x145058=a0_0x430aa6;if(ValueUtil[_0x145058(0x123)](this['record']['__dirtyfields__']))return{};let _0x2919e8={};return Object[_0x145058(0xf0)](this['record'][_0x145058(0x12d)])[_0x145058(0x119)](([_0x2097f5,_0x99c2a1])=>{const _0x27aa4a=_0x145058;0x0==_0x2097f5['startsWith']('__')&&(_0x2919e8[_0x2097f5]=_0x99c2a1[_0x27aa4a(0xf8)]);}),_0x2919e8;}get['currentData'](){const _0x5aadca=a0_0x430aa6;return this[_0x5aadca(0x125)](this[_0x5aadca(0xff)]);}[a0_0x430aa6(0x125)](_0x3fdf73){const _0x12e33c=a0_0x430aa6;let _0x598682={};return Object[_0x12e33c(0xf0)](_0x3fdf73)['map'](([_0x56cc92,_0x45af2d])=>{const _0x350e3a=_0x12e33c;0x0==_0x56cc92[_0x350e3a(0x122)]('__')&&(_0x598682[_0x56cc92]=_0x45af2d);}),_0x598682;}get[a0_0x430aa6(0x127)](){const _0x1f4708=a0_0x430aa6;let _0x3b8836=this[_0x1f4708(0x111)],_0x6b6734=this[_0x1f4708(0xff)];return ValueUtil['isEmpty'](_0x3b8836)?{}:(ValueUtil['isNotEmpty'](_0x6b6734['id'])?(_0x3b8836['id']=_0x6b6734['id'],_0x3b8836[_0x1f4708(0x129)]='M'):_0x3b8836[_0x1f4708(0x129)]='+',[_0x3b8836]);}async['fetch'](){const _0x1f4c5b=a0_0x430aa6;if(ValueUtil[_0x1f4c5b(0x123)](this[_0x1f4c5b(0x124)]))return;let _0x30a350=await this[_0x1f4c5b(0x128)](this[_0x1f4c5b(0x124)]);_0x30a350[_0x1f4c5b(0x112)]=0x1;let _0x5b86f4={};Object['assign'](_0x5b86f4,_0x30a350),_0x30a350[_0x1f4c5b(0xf7)]=_0x5b86f4,this[_0x1f4c5b(0xff)]={..._0x30a350};}async['save'](){const _0x407889=a0_0x430aa6;let _0x4e6281=this[_0x407889(0x127)];if(ValueUtil[_0x407889(0x123)](_0x4e6281))return void MetaApi[_0x407889(0xf5)](_0x407889(0x101),_0x407889(0x10d));let _0x778a57=await this[_0x407889(0xef)](_0x4e6281);return _0x778a57&&await this[_0x407889(0x108)](),_0x778a57;}};
@@ -1,22 +1,22 @@
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`
1
+ const a0_0x1db3d7=a0_0x2e20;(function(_0x1c2f8b,_0x3ab139){const _0x39f29e=a0_0x2e20,_0x56ba21=_0x1c2f8b();while(!![]){try{const _0x352120=-parseInt(_0x39f29e(0x159))/0x1+-parseInt(_0x39f29e(0x147))/0x2*(parseInt(_0x39f29e(0x152))/0x3)+-parseInt(_0x39f29e(0x13c))/0x4*(-parseInt(_0x39f29e(0x155))/0x5)+-parseInt(_0x39f29e(0x169))/0x6+parseInt(_0x39f29e(0x172))/0x7*(parseInt(_0x39f29e(0x14a))/0x8)+parseInt(_0x39f29e(0x139))/0x9*(-parseInt(_0x39f29e(0x15d))/0xa)+-parseInt(_0x39f29e(0x14d))/0xb*(-parseInt(_0x39f29e(0x135))/0xc);if(_0x352120===_0x3ab139)break;else _0x56ba21['push'](_0x56ba21['shift']());}catch(_0x2b534e){_0x56ba21['push'](_0x56ba21['shift']());}}}(a0_0x4e71,0x50423));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=_0x11fead=>class extends MetaButtonMixin(_0x11fead){static get['styles'](){const _0x4cff0d=a0_0x2e20;return MetaApi[_0x4cff0d(0x150)]();}static get[a0_0x1db3d7(0x15e)](){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_0x1db3d7(0x16e)](){const _0x5cd813=a0_0x1db3d7;return this[_0x5cd813(0x148)][_0x5cd813(0x146)](this[_0x5cd813(0x145)]);}get[a0_0x1db3d7(0x138)](){const _0x387464=a0_0x1db3d7;return this[_0x387464(0x17b)]?.[_0x387464(0x146)](this[_0x387464(0x17a)]);}get[a0_0x1db3d7(0x158)](){const _0x243183=a0_0x1db3d7;let _0x1e1405=MetaUiUtil[_0x243183(0x140)](this);return _0x1e1405['actions']&&delete _0x1e1405[_0x243183(0x16b)],_0x1e1405[_0x243183(0x162)]&&delete _0x1e1405[_0x243183(0x162)],_0x1e1405['importable']&&delete _0x1e1405['importable'],_0x1e1405;}async[a0_0x1db3d7(0x167)](){const _0x241a01=a0_0x1db3d7;this['gristId']=_0x241a01(0x153),this[_0x241a01(0x17a)]=_0x241a01(0x177),await this[_0x241a01(0x149)](),this[_0x241a01(0x154)]&&await this['parseGristConfigs'](),super[_0x241a01(0x167)]&&await super[_0x241a01(0x167)]();}async[a0_0x1db3d7(0x163)](){const _0x4ac60d=a0_0x1db3d7;super['firstUpdated']&&await super[_0x4ac60d(0x163)]();}async[a0_0x1db3d7(0x166)](){const _0x1a2ce7=a0_0x1db3d7;this['isPage']&&await this['parseGristConfigs'](),super[_0x1a2ce7(0x166)]&&await super[_0x1a2ce7(0x166)]();}['render'](){const _0x406520=a0_0x1db3d7;let _0x13cd5c=this[_0x406520(0x156)][_0x406520(0x16d)]||_0x406520(0x178),_0x478fb3=this[_0x406520(0x156)][_0x406520(0x15f)]||'50%\x2050%',_0x3aca82=_0x406520(0x15a)==_0x13cd5c?_0x406520(0x164)+_0x478fb3+';':_0x406520(0x15c)+_0x478fb3+';',_0x53f5c1=this['isPage']?UiUtil['currentRouting']():this[_0x406520(0x14c)];return html`
2
+ ${0x0==this[_0x406520(0x13f)]?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['searchFields']||[]}
8
- @filters-change=${_0x4d7a46=>{const _0x47ae0f=_0x224ddf;this[_0x47ae0f(0x18f)]?.[_0x47ae0f(0x1b7)]();}}
7
+ .filters=${this[_0x406520(0x13a)]||[]}
8
+ @filters-change=${_0x5c2c64=>{const _0x385af1=_0x406520;this[_0x385af1(0x16e)]?.[_0x385af1(0x16f)]();}}
9
9
  ></ox-filters-form-base>
10
10
  </div>
11
11
  </div>
12
12
  `}
13
- <div id="container" class="container" style="${_0x5a94b9}">
13
+ <div id="container" class="container" style="${_0x3aca82}">
14
14
  <div class="container_detail">
15
- ${MetaApi[_0x224ddf(0x197)](this)}
16
- ${MetaUiUtil[_0x224ddf(0x198)](this)}
15
+ ${MetaApi[_0x406520(0x13e)](this)}
16
+ ${MetaUiUtil['getButtonContainer'](this)}
17
17
  </div>
18
18
  <div class="container_detail">
19
- <meta-tab-element id="detail" route_name="${_0x399619}" is_detail=true></meta-tab-element>
19
+ <meta-tab-element id="detail" route_name="${_0x53f5c1}" is_detail=true></meta-tab-element>
20
20
  </div>
21
21
  </div>
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)](){}};
22
+ `;}['parseBasicGridConfigs'](_0x102b1e){const _0x14aea6=a0_0x1db3d7;this[_0x14aea6(0x173)]=_0x102b1e[_0x14aea6(0x168)],this[_0x14aea6(0x137)]=_0x102b1e['grid_column'],this[_0x14aea6(0x151)]=_0x102b1e[_0x14aea6(0x160)];}async[a0_0x1db3d7(0x165)](){const _0x51c379=a0_0x1db3d7;this['gristConfigSet']=await MetaApi[_0x51c379(0x14b)](this),this[_0x51c379(0x13f)]=this[_0x51c379(0x157)],this[_0x51c379(0x157)]=!0x1,this[_0x51c379(0x13a)]=this[_0x51c379(0x143)][_0x51c379(0x175)][_0x51c379(0x13b)](_0xc3786b=>_0xc3786b[_0x51c379(0x13b)])['map'](_0x51ab66=>{const _0x1e76b2=_0x51c379;let _0xe070d={'name':_0x51ab66[_0x1e76b2(0x174)],'type':_0x51ab66[_0x1e76b2(0x16c)],'label':_0x51ab66[_0x1e76b2(0x176)],'operator':_0x51ab66[_0x1e76b2(0x144)]?_0x51ab66[_0x1e76b2(0x144)]:'eq'};return _0x51ab66[_0x1e76b2(0x142)]['options']&&(_0xe070d[_0x1e76b2(0x14e)]=_0x51ab66[_0x1e76b2(0x142)][_0x1e76b2(0x14e)]),_0xe070d;});}async['fetch'](){const _0x22a6bb=a0_0x1db3d7;await this[_0x22a6bb(0x16e)]['fetch']();}async[a0_0x1db3d7(0x136)](){const _0x159f79=a0_0x1db3d7;let _0x5c9f4e=MetaApi['patchesForUpdateMultiple'](this[_0x159f79(0x16e)]);!!ValueUtil[_0x159f79(0x13d)](_0x5c9f4e)&&await this[_0x159f79(0x15b)](_0x5c9f4e)&&this['fetch']();}async[a0_0x1db3d7(0x161)](){const _0xc1570a=a0_0x1db3d7;let _0x43c32a=MetaApi[_0xc1570a(0x141)](this[_0xc1570a(0x16e)],!0x0);return ValueUtil[_0xc1570a(0x13d)](_0x43c32a)?await this['findOne'](_0x43c32a[0x0]):{};}async['delete'](){const _0x408169=a0_0x1db3d7;let _0x1d4d21=MetaApi[_0x408169(0x141)](this['grist'],!0x0);!!ValueUtil[_0x408169(0x13d)](_0x1d4d21)&&await this[_0x408169(0x171)](_0x1d4d21)&&this[_0x408169(0x16f)]();}async['export'](){const _0x4d1afe=a0_0x1db3d7;let _0x197aa1=TermsUtil[_0x4d1afe(0x179)](ValueUtil[_0x4d1afe(0x16a)](this['menuInfo'],_0x4d1afe(0x170)));return await MetaApi[_0x4d1afe(0x14f)](this[_0x4d1afe(0x154)],_0x197aa1,this['grist']);}async['import'](){}};function a0_0x2e20(_0x2c36c2,_0x190208){const _0x4e7173=a0_0x4e71();return a0_0x2e20=function(_0x2e2070,_0x44fdda){_0x2e2070=_0x2e2070-0x135;let _0x26f53e=_0x4e7173[_0x2e2070];return _0x26f53e;},a0_0x2e20(_0x2c36c2,_0x190208);}function a0_0x4e71(){const _0x10a44d=['context','317984UBdXkK','left_right','updateMultiple','grid-template-rows:','2989420jzkxzi','properties','master_detail_size','search','find','exportable','firstUpdated','grid-template-columns:','parseGristConfigs','pageInitialized','connectedCallback','grid','270018VChsom','getParams','actions','type','master_detail_type','grist','fetch','title','deleteByIds','64981MLRrCI','gridConfig','name','columns','header','ox-filters-form-base','top_bottom','tTitle','filterFormId','shadowRoot','250836MYDjHu','save','gridColumnConfig','filterForm','9MZZKVy','searchFields','filter','4URPVeF','isNotEmpty','getBasicGristHtml','useMasterFilterForm','getContextObject','getSelectedIdList','record','gristConfigSet','operator','gristId','querySelector','583504XsYkpY','renderRoot','getAndParseMenuMeta','144MJdtoa','parseGridConfigSet','route_name','363uuveCH','options','exportableData','getBasicGristTabStyles','searchConfig','3KFFYNm','ox-grist','isElement','2127635KDoQcn','etcConfig','useFilterForm'];a0_0x4e71=function(){return _0x10a44d;};return a0_0x4e71();}
@@ -1 +1 @@
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
+ const a0_0x165757=a0_0x3f34;function a0_0x3f34(_0x15e3bc,_0x5dcaf1){const _0x117297=a0_0x1172();return a0_0x3f34=function(_0x3f3476,_0x46a41b){_0x3f3476=_0x3f3476-0xdc;let _0xad7c91=_0x117297[_0x3f3476];return _0xad7c91;},a0_0x3f34(_0x15e3bc,_0x5dcaf1);}(function(_0x3f0211,_0x273830){const _0x1ba10d=a0_0x3f34,_0x5b8e6c=_0x3f0211();while(!![]){try{const _0x43bfc7=parseInt(_0x1ba10d(0xea))/0x1+parseInt(_0x1ba10d(0x102))/0x2*(parseInt(_0x1ba10d(0xdf))/0x3)+parseInt(_0x1ba10d(0xf6))/0x4+-parseInt(_0x1ba10d(0xff))/0x5*(parseInt(_0x1ba10d(0xee))/0x6)+parseInt(_0x1ba10d(0xe0))/0x7*(parseInt(_0x1ba10d(0xf1))/0x8)+parseInt(_0x1ba10d(0xe1))/0x9+-parseInt(_0x1ba10d(0x103))/0xa;if(_0x43bfc7===_0x273830)break;else _0x5b8e6c['push'](_0x5b8e6c['shift']());}catch(_0x6798e5){_0x5b8e6c['push'](_0x5b8e6c['shift']());}}}(a0_0x1172,0x21233));import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x1df24a=>class extends MetaBaseMixin(_0x1df24a){static get[a0_0x165757(0x10c)](){return{'gqlInfo':Object};}[a0_0x165757(0xe9)](_0x209929){const _0x4f08e0=a0_0x165757;this[_0x4f08e0(0xec)]=_0x209929[_0x4f08e0(0xe3)];}async['fetchHandler']({page:_0x3f0306=0x0,limit:_0x14101d=0x0,sortings:_0x1ac85b=[],filters:_0x515b93=[]}){const _0x3156ad=a0_0x165757;if(!this[_0x3156ad(0xf7)])return{'total':0x0,'records':[]};let _0x1d1dd3=ValueUtil[_0x3156ad(0x106)](_0x515b93)?await this[_0x3156ad(0xef)]?.[_0x3156ad(0xe8)]()||[]:_0x515b93,_0xf330f0=ValueUtil[_0x3156ad(0x107)](this[_0x3156ad(0xec)],'query',_0x3156ad(0xeb)),_0xba1133=ValueUtil[_0x3156ad(0x107)](this['gqlInfo'],_0x3156ad(0xf2),'filters'),_0x33480c=ValueUtil[_0x3156ad(0x107)](this[_0x3156ad(0xec)],_0x3156ad(0xf2),'after_set_fields');if(ValueUtil[_0x3156ad(0x10d)](_0xba1133)&&(_0x1d1dd3=adjustFilters(_0x1d1dd3,_0xba1133)),_0x1d1dd3[_0x3156ad(0xf3)](...this[_0x3156ad(0xe2)]()),this[_0x3156ad(0xfa)]){let _0x58ba8b=ValueUtil[_0x3156ad(0x107)](this[_0x3156ad(0xec)],_0x3156ad(0xf2),_0x3156ad(0x108));ValueUtil[_0x3156ad(0x10d)](_0x58ba8b)&&ValueUtil[_0x3156ad(0x10d)](this[_0x3156ad(0x108)])&&(_0x1d1dd3=adjustFilters(_0x1d1dd3,[{'name':_0x58ba8b,'operator':'eq','value':this['parent_id']}]));}let _0x403008=Object[_0x3156ad(0xf5)](_0x33480c||{}),_0x27f4a4=MetaApi[_0x3156ad(0x105)](this[_0x3156ad(0xf7)][_0x3156ad(0xf0)][_0x3156ad(0xf9)](_0x30bd4b=>!_0x403008[_0x3156ad(0xf8)](_0x30bd4b[_0x3156ad(0xed)]))),_0xdd90a7=await MetaApi[_0x3156ad(0xfe)](_0xf330f0,_0x1d1dd3,_0x1ac85b,_0x3f0306,_0x14101d,_0x27f4a4);return ValueUtil[_0x3156ad(0x10d)](_0x33480c)&&ValueUtil[_0x3156ad(0x10d)](_0xdd90a7)&&ValueUtil['isNotEmpty'](_0xdd90a7[_0x3156ad(0x101)])&&_0xdd90a7['records'][_0x3156ad(0xfd)](_0x363eb6=>(_0x403008['forEach'](_0x1fdd73=>{const _0x208402=_0x3156ad;_0x363eb6[_0x1fdd73]=ValueUtil[_0x208402(0x107)](_0x363eb6,..._0x33480c[_0x1fdd73][_0x208402(0xe6)]('.'));}),_0x363eb6)),_0xdd90a7;}['getPageNavigateParams'](){const _0x4c86d6=a0_0x165757;if(0x0==this['isPage'])return[];let _0x343b4f=this[_0x4c86d6(0xde)]?.[_0x4c86d6(0xdc)]?this[_0x4c86d6(0xde)][_0x4c86d6(0xdc)]:{};if(!_0x343b4f[_0x4c86d6(0xe4)])return[];let _0x2efd65=_0x343b4f[_0x4c86d6(0xe4)],_0x3a8291=JSON[_0x4c86d6(0xe5)](_0x2efd65),_0x34eb78=0x1==_0x3a8291[_0x4c86d6(0xfb)]?'eq':'in',_0x942628={},_0x49da30=[];return Object[_0x4c86d6(0xf5)](_0x3a8291[0x0])['forEach'](_0x487624=>{_0x942628[_0x487624]={'name':_0x487624,'operator':_0x34eb78,'value':'eq'===_0x34eb78?_0x3a8291[0x0][_0x487624]:[]};}),_0x3a8291[_0x4c86d6(0xfb)]>0x1&&_0x3a8291['forEach'](_0x43d33c=>{Object['keys'](_0x43d33c)['forEach'](_0x7b95b4=>{_0x942628[_0x7b95b4]['value']['push'](_0x43d33c[_0x7b95b4]);});}),Object[_0x4c86d6(0xf5)](_0x942628)[_0x4c86d6(0xfc)](_0x1220df=>{const _0x2f7f0a=_0x4c86d6;_0x49da30[_0x2f7f0a(0xf3)](_0x942628[_0x1220df]);}),_0x49da30;}async[a0_0x165757(0x10e)](_0x402857){const _0xd5a924=a0_0x165757;let _0x1ec46f=ValueUtil[_0xd5a924(0x107)](this[_0xd5a924(0xec)],'query',_0xd5a924(0x10a)),_0x1109ef=ValueUtil[_0xd5a924(0x107)](this[_0xd5a924(0xec)],_0xd5a924(0xf2),'after_set_fields'),_0x4d97b4=Object[_0xd5a924(0xf5)](_0x1109ef||{}),_0x19ebf6=MetaApi[_0xd5a924(0x105)]((this[_0xd5a924(0xf7)]?this[_0xd5a924(0xf7)]:{'columns':this['formConfigSet']})[_0xd5a924(0xf0)]['filter'](_0x1aff4f=>!_0x4d97b4['includes'](_0x1aff4f['name']))),_0x1ac8ba=await MetaApi[_0xd5a924(0x10e)](_0x1ec46f,_0x402857,_0x19ebf6);return ValueUtil[_0xd5a924(0x10d)](_0x1109ef)&&ValueUtil[_0xd5a924(0x10d)](_0x1ac8ba)&&_0x4d97b4[_0xd5a924(0xfc)](_0x2d0e99=>{const _0x3f8846=_0xd5a924;_0x1ac8ba[_0x2d0e99]=ValueUtil[_0x3f8846(0x107)](_0x1ac8ba,..._0x1109ef[_0x2d0e99]['split']('.'));}),_0x1ac8ba;}async['deleteByIds'](_0x388b86){const _0x29758b=a0_0x165757;let _0x406f66=ValueUtil[_0x29758b(0x107)](this[_0x29758b(0xec)],'mutation',_0x29758b(0xf4),_0x29758b(0xdd));return await MetaApi[_0x29758b(0x104)](_0x388b86,_0x406f66);}async['updateMultiple'](_0x4ee06d){const _0x5e4e17=a0_0x165757;let _0x1697f7=ValueUtil['getParams'](this['gqlInfo'],_0x5e4e17(0x100),'multiple',_0x5e4e17(0xdd)),_0x1ea850=ValueUtil[_0x5e4e17(0x107)](this[_0x5e4e17(0xec)],_0x5e4e17(0x100),'multiple',_0x5e4e17(0x109));if(ValueUtil[_0x5e4e17(0x10d)](_0x1ea850)&&(_0x1ea850=_0x1ea850[_0x5e4e17(0xfd)](_0x924e64=>_0x924e64[_0x5e4e17(0xf8)]('.')?_0x924e64[_0x5e4e17(0xe6)]('.'):_0x924e64),_0x4ee06d=_0x4ee06d[_0x5e4e17(0xfd)](_0x112aa1=>(_0x1ea850[_0x5e4e17(0xfc)](_0x293140=>{Array['isArray'](_0x293140)?delete _0x112aa1[_0x293140[0x0]][_0x293140[0x1]]:delete _0x112aa1[_0x293140];}),_0x112aa1))),this['isElement']&&ValueUtil[_0x5e4e17(0x10d)](this[_0x5e4e17(0x108)])){let _0x3e2c9a=ValueUtil[_0x5e4e17(0x107)](this[_0x5e4e17(0xec)],_0x5e4e17(0x100),_0x5e4e17(0xe7),_0x5e4e17(0x108));ValueUtil['isNotEmpty'](_0x3e2c9a)&&_0x4ee06d[_0x5e4e17(0xfc)](_0x3d1de4=>{const _0x4c215f=_0x5e4e17;if(_0x3e2c9a['includes']('.')){let _0x74109f=_0x3e2c9a[_0x4c215f(0xe6)]('.');_0x3d1de4[_0x74109f[0x0]]={},_0x3d1de4[_0x74109f[0x0]][_0x74109f[0x1]]=this[_0x4c215f(0x108)];}else _0x3d1de4[_0x3e2c9a]=this[_0x4c215f(0x108)];});}return await MetaApi[_0x5e4e17(0x10b)](_0x1697f7,_0x4ee06d);}};function a0_0x1172(){const _0x53478c=['deleteListByIds','getSelectColumns','isEmpty','getParams','parent_id','skip_fields','find_one_func','updateMultiple','properties','isNotEmpty','findOne','params','func','lifecycle','583035aRtBfQ','56IAdUQG','368739ykHrpJ','getPageNavigateParams','gql','pass','parse','split','multiple','getQueryFilters','parseBasicServiceConfigs','18273kbThIy','list_func','gqlInfo','name','6reRUle','filterForm','columns','242808HrJqop','query','push','delete','keys','440900VyFplW','gristConfigSet','includes','filter','isElement','length','forEach','map','searchByPagination','768245XFyZLX','mutation','records','2ChmjLE','3172420RzNBqk'];a0_0x1172=function(){return _0x53478c;};return a0_0x1172();}
@@ -1 +1 @@
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']=[];}};
1
+ const a0_0x31fae5=a0_0x4083;(function(_0x559a77,_0x5521f6){const _0x408e19=a0_0x4083,_0x4c794e=_0x559a77();while(!![]){try{const _0x31537c=-parseInt(_0x408e19(0x116))/0x1*(-parseInt(_0x408e19(0x12a))/0x2)+-parseInt(_0x408e19(0x117))/0x3+-parseInt(_0x408e19(0x115))/0x4*(-parseInt(_0x408e19(0x127))/0x5)+parseInt(_0x408e19(0x121))/0x6*(-parseInt(_0x408e19(0x11b))/0x7)+-parseInt(_0x408e19(0x11e))/0x8*(-parseInt(_0x408e19(0x118))/0x9)+-parseInt(_0x408e19(0x124))/0xa*(parseInt(_0x408e19(0x128))/0xb)+-parseInt(_0x408e19(0x12b))/0xc*(-parseInt(_0x408e19(0x120))/0xd);if(_0x31537c===_0x5521f6)break;else _0x4c794e['push'](_0x4c794e['shift']());}catch(_0x48e091){_0x4c794e['push'](_0x4c794e['shift']());}}}(a0_0x5675,0xa2cbc));import{MetaApi}from'../utils/meta-api';function a0_0x4083(_0x5ad19a,_0x173699){const _0x567546=a0_0x5675();return a0_0x4083=function(_0x4083ca,_0x4b1194){_0x4083ca=_0x4083ca-0x114;let _0x22013a=_0x567546[_0x4083ca];return _0x22013a;},a0_0x4083(_0x5ad19a,_0x173699);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x5675(){const _0x181b77=['274556uJPYLL','19021hatZpw','2566683AHhOHq','9bnxNut','connectedCallback','pageInitialized','1981uNPUns','context','tab','1282968fEhFkg','getBasicTabStyles','11178466MEduWe','23286qmailm','firstUpdated','getAndParseMenuMeta','397030JrkTiw','button','tabRenderConfig','5pguNiP','363KHwQKo','getContextObject','118tgAFIu','36rXLHRv','parseBasicTabConfigs'];a0_0x5675=function(){return _0x181b77;};return a0_0x5675();}export const MetaTabMixin=_0x4b3a4f=>class extends MetaButtonMixin(_0x4b3a4f){static get['styles'](){const _0x4585f1=a0_0x4083;return MetaApi[_0x4585f1(0x11f)]();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x31fae5(0x11c)](){const _0x191770=a0_0x31fae5;return MetaUiUtil[_0x191770(0x129)](this);}async[a0_0x31fae5(0x119)](){const _0x25e9fe=a0_0x31fae5;this['currentTabKey']=void 0x0,await this[_0x25e9fe(0x123)](),super[_0x25e9fe(0x119)]&&await super[_0x25e9fe(0x119)]();}async['firstUpdated'](){const _0x361a5e=a0_0x31fae5;super[_0x361a5e(0x122)]&&await super[_0x361a5e(0x122)]();}async[a0_0x31fae5(0x11a)](){const _0x482977=a0_0x31fae5;super[_0x482977(0x11a)]&&await super[_0x482977(0x11a)]();}['render'](){return MetaApi['getBasicTabHtml'](this);}[a0_0x31fae5(0x114)](_0x3b73d6){const _0x141baf=a0_0x31fae5;this[_0x141baf(0x126)]=_0x3b73d6[_0x141baf(0x11d)],_0x3b73d6[_0x141baf(0x125)]=[];}};