@things-factory/meta-ui 6.0.25 → 6.0.28

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 (53) 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-master-detail-mixin.js +23 -0
  8. package/client/mixin/meta-service-mixin.js +1 -1
  9. package/client/mixin/meta-tab-mixin.js +1 -1
  10. package/client/pages/entity/config-entity.js +29 -29
  11. package/client/pages/entity/main-menu-selector.js +8 -8
  12. package/client/pages/history/history-copy-list-popup.js +18 -0
  13. package/client/pages/history/history-json-list-popup.js +18 -0
  14. package/client/pages/loading-page.js +5 -5
  15. package/client/pages/menu/dynamic-menu-template.js +7 -7
  16. package/client/pages/menu/dynamic-menu.js +15 -15
  17. package/client/pages/meta-form-element.js +1 -1
  18. package/client/pages/meta-grist-element.js +1 -1
  19. package/client/pages/meta-grist-page.js +1 -1
  20. package/client/pages/meta-grist-tab-page.js +1 -1
  21. package/client/pages/meta-master-detail-element.js +1 -0
  22. package/client/pages/meta-master-detail-page.js +1 -0
  23. package/client/pages/meta-tab-element.js +1 -1
  24. package/client/pages/personalize/personal-column-selector.js +11 -11
  25. package/client/pages/terms/config-terminology.js +5 -5
  26. package/client/reducers/main.js +1 -1
  27. package/client/utils/meta-api.js +1 -1
  28. package/client/utils/meta-crypto.js +1 -1
  29. package/client/utils/meta-ui-util.js +108 -61
  30. package/client/utils/service-util.js +12 -12
  31. package/client/utils/terms-util.js +2 -2
  32. package/client/utils/ui-util.js +1 -1
  33. package/client/utils/value-util.js +1 -1
  34. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  35. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  36. package/client/viewparts/dynamic-menu-part.js +6 -6
  37. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  38. package/client/viewparts/dynamic-menu-portrait.js +10 -10
  39. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  40. package/package.json +5 -5
  41. package/server/constants/error-code.js +1 -1
  42. package/server/errors/license-error.js +1 -1
  43. package/server/routes.js +1 -1
  44. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  45. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  46. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  47. package/server/service/grid-personalize/grid-personalize.js +1 -1
  48. package/server/service/meta-secret/meta-resolver.js +1 -1
  49. package/server/service/set-translations/set-translation-resolver.js +1 -1
  50. package/translations/en.json +5 -1
  51. package/translations/ko.json +5 -1
  52. package/translations/ms.json +5 -1
  53. package/translations/zh.json +5 -1
@@ -1,4 +1,4 @@
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})}
1
+ const a0_0x56e551=a0_0x3959;(function(_0x15c253,_0xb2abc6){const _0xf688e0=a0_0x3959,_0x4cb18e=_0x15c253();while(!![]){try{const _0x2d05d4=parseInt(_0xf688e0(0x1c5))/0x1+parseInt(_0xf688e0(0x1bb))/0x2+parseInt(_0xf688e0(0x1b7))/0x3*(-parseInt(_0xf688e0(0x1b8))/0x4)+-parseInt(_0xf688e0(0x1b9))/0x5+-parseInt(_0xf688e0(0x1b5))/0x6*(parseInt(_0xf688e0(0x1be))/0x7)+-parseInt(_0xf688e0(0x1c0))/0x8+parseInt(_0xf688e0(0x1c3))/0x9;if(_0x2d05d4===_0xb2abc6)break;else _0x4cb18e['push'](_0x4cb18e['shift']());}catch(_0x144d0f){_0x4cb18e['push'](_0x4cb18e['shift']());}}}(a0_0x4540,0xd5eca));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';function a0_0x4540(){const _0x4a7c30=['HEADERBAR','portrait','119wRTkqe','NAVBAR','12112584LduPbw','get','dynamic-menu','19159326eZAlMW','dispatch','1573070bdhvme','lite-menu-part','hamburger','dynamic-menu-part','88428TLvtqU','landscape','3vEbhBi','1626424eSwqtE','7232940JYkRyy','UPDATE_META_MENU_TEMPLATE','1584326cRCkzD'];a0_0x4540=function(){return _0x4a7c30;};return a0_0x4540();}import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';function a0_0x3959(_0x4a99bb,_0x12a693){const _0x454065=a0_0x4540();return a0_0x3959=function(_0x395909,_0x2b3b87){_0x395909=_0x395909-0x1b3;let _0x3b8bf9=_0x454065[_0x395909];return _0x3b8bf9;},a0_0x3959(_0x4a99bb,_0x12a693);}import{clientSettingStore}from'@things-factory/shell';import{updateMenuTemplate as a0_0x1d44be}from'@things-factory/lite-menu';export const UPDATE_META_UI='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE=a0_0x56e551(0x1ba);var HAMBURGER;export async function setupMenuPart(_0x353e14){const _0x42a965=a0_0x56e551;var {hovering:_0x5ea45e=!!isMobileDevice(),slotTemplate:_0x55b028,portraitSlotTemplate:_0x435c63,landscapeSlotTemplate:_0x1dd1cf,position:_0x246b3b=VIEWPART_POSITION[_0x42a965(0x1bf)]}=_0x353e14||{};const {hovering:_0x2b0b1c}=(await clientSettingStore[_0x42a965(0x1c1)](_0x42a965(0x1c2)))?.['value']||{};void 0x0!==_0x2b0b1c&&(_0x5ea45e=_0x2b0b1c);const _0x13802a=_0x246b3b==VIEWPART_POSITION[_0x42a965(0x1bc)]?_0x42a965(0x1b6):'portrait',_0x54c5cb=(_0x42a965(0x1b6)==_0x13802a?_0x1dd1cf:_0x435c63)||_0x55b028||html``;appendViewpart({'name':_0x42a965(0x1c6),'viewpart':{'show':!_0x5ea45e,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x5ea45e,'template':html`<dynamic-menu-part .orientation=${_0x13802a}>${_0x54c5cb}</dynamic-menu-part>`},'position':_0x246b3b}),_0x5ea45e&&_0x42a965(0x1bd)==_0x13802a?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
+ <mwc-icon @click=${_0x56dfc4=>toggleOverlay(_0x42a965(0x1b4),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
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});}
4
+ `,'position':TOOL_POSITION['FRONT_END']},store[_0x42a965(0x1c4)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':_0x42a965(0x1b3)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x54fd1b){a0_0x1d44be(_0x54fd1b),store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'template':_0x54fd1b});}
@@ -1 +1 @@
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
+ const a0_0x89ecbc=a0_0x1ccb;(function(_0x59a02a,_0x3971d2){const _0x38b42a=a0_0x1ccb,_0x476749=_0x59a02a();while(!![]){try{const _0x3a9bed=parseInt(_0x38b42a(0x11d))/0x1*(parseInt(_0x38b42a(0x111))/0x2)+-parseInt(_0x38b42a(0x126))/0x3+parseInt(_0x38b42a(0x112))/0x4*(parseInt(_0x38b42a(0x115))/0x5)+parseInt(_0x38b42a(0x117))/0x6+parseInt(_0x38b42a(0x120))/0x7*(parseInt(_0x38b42a(0x11e))/0x8)+parseInt(_0x38b42a(0x10b))/0x9+-parseInt(_0x38b42a(0x107))/0xa*(parseInt(_0x38b42a(0x10c))/0xb);if(_0x3a9bed===_0x3971d2)break;else _0x476749['push'](_0x476749['shift']());}catch(_0x4b6d01){_0x476749['push'](_0x476749['shift']());}}}(a0_0x2c17,0xa3ef9));function a0_0x2c17(){const _0x122c0c=['split','parseBasicGridConfigs','errors','properties','parseBasicButtonConfigs','executeCallScenarioButtonClick','title','active','openDynamicPopup','is_popup','9850MuChdG','parent_id','is_detail','isEmpty','6509466FGXUBX','35827daBoew','fetchHandler','etcConfig','isPage','etc','20086ZCznxv','4swqmCq','grist','parseBasicFormConfigs','1821785wdwtVr','params','4875384HTrMVK','menuInfo','callScenario','name','isNotEmpty','isElement','129kGszXX','6609800rjVemN','getMenuMeta','7PiEByY','fetch','pageUpdated','filterForm','parseBasicTabConfigs','lifecycle','427023sjUvLk','getAndParseMenuMeta','tTitle','isDetail'];a0_0x2c17=function(){return _0x122c0c;};return a0_0x2c17();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x1ccb(_0x15ece6,_0x1e08c9){const _0x2c17f4=a0_0x2c17();return a0_0x1ccb=function(_0x1ccb07,_0x5ac6b8){_0x1ccb07=_0x1ccb07-0xfa;let _0x56b10b=_0x2c17f4[_0x1ccb07];return _0x56b10b;},a0_0x1ccb(_0x15ece6,_0x1e08c9);}export const MetaBaseMixin=_0x1a0635=>class extends _0x1a0635{static get[a0_0x89ecbc(0x100)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x25ae4a=>Boolean(_0x25ae4a)},'is_popup':{'type':Boolean,'converter':_0x12e7c9=>Boolean(_0x12e7c9)}};}get[a0_0x89ecbc(0x11c)](){const _0x19a3c4=a0_0x89ecbc;return!0x0===this[_0x19a3c4(0x109)]||!0x0===this['is_popup'];}get[a0_0x89ecbc(0xfc)](){const _0x3ea357=a0_0x89ecbc;return!ValueUtil[_0x3ea357(0x10a)](this[_0x3ea357(0x109)])&&this[_0x3ea357(0x109)];}async[a0_0x89ecbc(0x122)](_0x33ea78,_0x3888ee,_0x9edb1c){const _0x672747=a0_0x89ecbc;let _0x3192d5=this[_0x672747(0x125)]?.[_0x672747(0x116)]?this['lifecycle'][_0x672747(0x116)]:{};this[_0x672747(0x10f)]&&this['active']&&0x0==_0x9edb1c[_0x672747(0x104)]&&ValueUtil['isNotEmpty'](_0x3192d5)&&this[_0x672747(0x121)]();}get['isPopup'](){const _0x3bb6f4=a0_0x89ecbc;return!ValueUtil['isEmpty'](this['is_popup'])&&this[_0x3bb6f4(0x106)];}get['isPage'](){const _0x5c2277=a0_0x89ecbc;return!this['is_detail']&&!this[_0x5c2277(0x106)];}async[a0_0x89ecbc(0xfa)](){const _0x56017a=a0_0x89ecbc;let _0x39f13c=await MetaApi[_0x56017a(0x11f)](this);_0x39f13c&&(this[_0x56017a(0x118)]=_0x39f13c['menu'],this[_0x56017a(0xfe)]&&this[_0x56017a(0xfe)](_0x39f13c),this['parseBasicServiceConfigs']&&this['parseBasicServiceConfigs'](_0x39f13c),this[_0x56017a(0x114)]&&this[_0x56017a(0x114)](_0x39f13c),this[_0x56017a(0x124)]&&this['parseBasicTabConfigs'](_0x39f13c),this[_0x56017a(0x101)]&&this[_0x56017a(0x101)](_0x39f13c),this[_0x56017a(0x10e)]=_0x39f13c[_0x56017a(0x110)]);}async[a0_0x89ecbc(0x121)](){const _0x2a05d0=a0_0x89ecbc;ValueUtil['isNotEmpty'](this[_0x2a05d0(0x113)])?this[_0x2a05d0(0x113)][_0x2a05d0(0x121)]():(ValueUtil['isNotEmpty'](this[_0x2a05d0(0x123)])||this[_0x2a05d0(0x10d)])&&await this['fetchHandler']();}async['excuteOpenPopupButtonClick'](_0xdf59eb,_0x4ec4f4,_0x58ebe){const _0x4fae4f=a0_0x89ecbc;let _0x47e01c=TermsUtil[_0x4fae4f(0xfb)](_0xdf59eb[_0x4fae4f(0x103)]);ValueUtil[_0x4fae4f(0x11b)](_0xdf59eb['title_detail'])&&(_0x47e01c=_0x47e01c+'-'+ValueUtil['getParams'](_0x4ec4f4,..._0xdf59eb['title_detail'][_0x4fae4f(0xfd)]('.'))),MetaApi[_0x4fae4f(0x105)](_0x47e01c,_0xdf59eb,_0x4ec4f4,_0x58ebe);}async[a0_0x89ecbc(0x102)](_0x58a54e,_0x8804db,_0x1f30d0){const _0x49df5c=a0_0x89ecbc;let _0x4c5dd9=await MetaApi[_0x49df5c(0x119)](_0x58a54e[_0x49df5c(0x11a)],_0x58a54e[_0x49df5c(0x11a)],_0x8804db);!0x1!==_0x4c5dd9&&!_0x4c5dd9[_0x49df5c(0xff)]&&ValueUtil[_0x49df5c(0x11b)](_0x58a54e['after'])&&_0x1f30d0();}['setParentId'](_0x4fa4ae){const _0xb2ca46=a0_0x89ecbc;this[_0xb2ca46(0x108)]=_0x4fa4ae,this[_0xb2ca46(0x121)]();}};
@@ -1,4 +1,4 @@
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
+ const a0_0xe88133=a0_0x104f;(function(_0x113127,_0x338db7){const _0x12775f=a0_0x104f,_0x50a342=_0x113127();while(!![]){try{const _0x25e3da=-parseInt(_0x12775f(0x160))/0x1+parseInt(_0x12775f(0x177))/0x2+-parseInt(_0x12775f(0x16f))/0x3+-parseInt(_0x12775f(0x173))/0x4+-parseInt(_0x12775f(0x163))/0x5+-parseInt(_0x12775f(0x157))/0x6+parseInt(_0x12775f(0x16b))/0x7;if(_0x25e3da===_0x338db7)break;else _0x50a342['push'](_0x50a342['shift']());}catch(_0x4e4f64){_0x50a342['push'](_0x50a342['shift']());}}}(a0_0xee8f,0x472af));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x104f(_0x113ee1,_0xba0be1){const _0xee8f16=a0_0xee8f();return a0_0x104f=function(_0x104fc2,_0x6c60ca){_0x104fc2=_0x104fc2-0x155;let _0x2345d2=_0xee8f16[_0x104fc2];return _0x2345d2;},a0_0x104f(_0x113ee1,_0xba0be1);}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=_0x35c504=>class extends MetaButtonMixin(_0x35c504){static get['styles'](){return MetaApi['getBasicGristStyles']();}static get[a0_0xe88133(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_0xe88133(0x169)](){const _0x2904ff=a0_0xe88133;return this[_0x2904ff(0x180)]?.[_0x2904ff(0x17c)](this[_0x2904ff(0x170)]);}get[a0_0xe88133(0x17b)](){const _0x297736=a0_0xe88133;return this['shadowRoot']?.[_0x297736(0x17c)](this[_0x297736(0x17f)]);}get['context'](){const _0x5b3002=a0_0xe88133;return MetaUiUtil[_0x5b3002(0x15a)](this);}async[a0_0xe88133(0x167)](){const _0x377498=a0_0xe88133;this[_0x377498(0x170)]=_0x377498(0x155),this[_0x377498(0x17f)]='ox-filters-form',await this[_0x377498(0x16e)](),this[_0x377498(0x15d)]&&await this['parseGristConfigs'](),super[_0x377498(0x167)]&&await super[_0x377498(0x167)]();}async[a0_0xe88133(0x161)](){const _0x50643e=a0_0xe88133;super[_0x50643e(0x161)]&&await super['firstUpdated']();}async[a0_0xe88133(0x16a)](){const _0x577f33=a0_0xe88133;this[_0x577f33(0x164)]&&await this['parseGristConfigs'](),super[_0x577f33(0x16a)]&&await super['pageInitialized']();}[a0_0xe88133(0x15c)](){const _0x52deee=a0_0xe88133;return html`
2
+ ${MetaApi['getBasicGristHtml'](this)}
3
+ ${this[_0x52deee(0x164)]?html``:MetaUiUtil[_0x52deee(0x174)](this)}
4
+ `;}['parseBasicGridConfigs'](_0x2bc125){const _0x5e677c=a0_0xe88133;this[_0x5e677c(0x158)]=_0x2bc125['grid'],this[_0x5e677c(0x17d)]=_0x2bc125[_0x5e677c(0x179)],this['searchConfig']=_0x2bc125[_0x5e677c(0x181)];}async[a0_0xe88133(0x17a)](){const _0xee84e=a0_0xe88133;this[_0xee84e(0x159)]=await MetaApi[_0xee84e(0x156)](this);}async['fetch'](){const _0x588a22=a0_0xe88133;await this[_0x588a22(0x169)]['fetch']();}async[a0_0xe88133(0x16c)](){const _0x46c76a=a0_0xe88133;let _0x4f4bad=MetaApi[_0x46c76a(0x162)](this['grist']);!!ValueUtil[_0x46c76a(0x171)](_0x4f4bad)&&await this['updateMultiple'](_0x4f4bad)&&this[_0x46c76a(0x16d)]();}async[a0_0xe88133(0x15b)](){const _0x37ee79=a0_0xe88133;let _0x2741b0=MetaApi['getSelectedIdList'](this[_0x37ee79(0x169)],!0x0);return ValueUtil[_0x37ee79(0x171)](_0x2741b0)?await this[_0x37ee79(0x17e)](_0x2741b0[0x0]):{};}async[a0_0xe88133(0x168)](){const _0x20ca67=a0_0xe88133;let _0x364059=MetaApi[_0x20ca67(0x172)](this['grist'],!0x0);!!ValueUtil[_0x20ca67(0x171)](_0x364059)&&await this[_0x20ca67(0x165)](_0x364059)&&this['fetch']();}async['export'](){const _0xa6325c=a0_0xe88133;let _0x19eec8=TermsUtil[_0xa6325c(0x166)](ValueUtil['getParams'](this['menuInfo'],_0xa6325c(0x175)));return await MetaApi[_0xa6325c(0x178)](this['isElement'],_0x19eec8,this['grist']);}async['import'](){}async[a0_0xe88133(0x176)](){const _0x395eeb=a0_0xe88133;this[_0x395eeb(0x169)]&&(this[_0x395eeb(0x169)][_0x395eeb(0x15f)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};function a0_0xee8f(){const _0x2f6de0=['getAndParseMenuMeta','369441JwmyxI','gristId','isNotEmpty','getSelectedIdList','1979220giRwfz','getButtonContainer','title','clear','557922IZRfjy','exportableData','grid_column','parseGristConfigs','filterForm','querySelector','gridColumnConfig','findOne','filterFormId','renderRoot','search','ox-grist','parseGridConfigSet','428904rtTFFM','gridConfig','gristConfigSet','getContextObject','find','render','isElement','properties','data','430532gTPSmF','firstUpdated','patchesForUpdateMultiple','2538810bTvSFW','isPage','deleteByIds','tTitle','connectedCallback','delete','grist','pageInitialized','11481904jxPzTx','save','fetch'];a0_0xee8f=function(){return _0x2f6de0;};return a0_0xee8f();}
@@ -1 +1 @@
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
+ const a0_0x5e6fea=a0_0x3e96;(function(_0x4dd843,_0x138b11){const _0x71c08f=a0_0x3e96,_0x70b93f=_0x4dd843();while(!![]){try{const _0x42c7ba=parseInt(_0x71c08f(0xff))/0x1*(parseInt(_0x71c08f(0x10e))/0x2)+parseInt(_0x71c08f(0x10b))/0x3*(-parseInt(_0x71c08f(0x10a))/0x4)+parseInt(_0x71c08f(0x112))/0x5+-parseInt(_0x71c08f(0x107))/0x6*(parseInt(_0x71c08f(0x101))/0x7)+parseInt(_0x71c08f(0x103))/0x8+parseInt(_0x71c08f(0x110))/0x9+parseInt(_0x71c08f(0xfe))/0xa*(-parseInt(_0x71c08f(0xfc))/0xb);if(_0x42c7ba===_0x138b11)break;else _0x70b93f['push'](_0x70b93f['shift']());}catch(_0x442902){_0x70b93f['push'](_0x70b93f['shift']());}}}(a0_0x2963,0x20e56));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x2963(){const _0x20daa6=['gristButtonHandler','add','236qJsnzk','useButtonAdd','1145502BrkAJb','export','855250SSgSVu','isButtonExist','getButtonActionHandler','useButtonExport','getButtonContainer','574211bndOes','useButtonImport','20WaSFjl','879ivkyLE','isPage','1883vElPlM','buttonConfig','1063312kIqehk','button','getContextButtons','getCustomButtonContainerStyle','2286TisRek','getCustomButtonContainerStyles','customButtonHandler','773324jreiHI','3DzZejd'];a0_0x2963=function(){return _0x20daa6;};return a0_0x2963();}function a0_0x3e96(_0x3167f4,_0x3f5bc4){const _0x2963f9=a0_0x2963();return a0_0x3e96=function(_0x3e96e4,_0x1dac0c){_0x3e96e4=_0x3e96e4-0xfb;let _0x22a476=_0x2963f9[_0x3e96e4];return _0x22a476;},a0_0x3e96(_0x3167f4,_0x3f5bc4);}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x39a035=>class extends MetaServiceMixin(_0x39a035){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x5e6fea(0x106)](){const _0x38fd1b=a0_0x5e6fea;return MetaUiUtil[_0x38fd1b(0x108)]();}['getContextButtons'](){const _0x5db9f3=a0_0x5e6fea;return MetaUiUtil[_0x5db9f3(0x105)](this);}[a0_0x5e6fea(0xfb)](){const _0xf42378=a0_0x5e6fea;return this[_0xf42378(0x100)]?html``:MetaUiUtil[_0xf42378(0xfb)](this);}async['getBasicButtonHandler'](_0x3ff10b,_0x2438d7,_0x540590){const _0x3de02e=a0_0x5e6fea;return await MetaUiUtil[_0x3de02e(0x114)](this,_0x3ff10b,_0x2438d7,_0x540590);}async[a0_0x5e6fea(0x109)](_0x2497d8){const _0x4a055c=a0_0x5e6fea;await MetaUiUtil[_0x4a055c(0x109)](this,_0x2497d8);}async[a0_0x5e6fea(0x10c)](_0x29b6ce,_0x4d606c){await MetaUiUtil['gristButtonHandler'](this,_0x29b6ce,_0x4d606c);}['parseBasicButtonConfigs'](_0x1038d5){const _0x25afb3=a0_0x5e6fea;this['buttonConfig']=_0x1038d5[_0x25afb3(0x104)],this[_0x25afb3(0xfd)]=MetaUiUtil[_0x25afb3(0x113)](this[_0x25afb3(0x102)],'import'),this[_0x25afb3(0x115)]=MetaUiUtil['isButtonExist'](this[_0x25afb3(0x102)],_0x25afb3(0x111)),this[_0x25afb3(0x10f)]=MetaUiUtil[_0x25afb3(0x113)](this[_0x25afb3(0x102)],_0x25afb3(0x10d));}};
@@ -1 +1 @@
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
+ function a0_0x3134(_0x5c1e7a,_0x83417){const _0x669398=a0_0x6693();return a0_0x3134=function(_0x3134d8,_0x691104){_0x3134d8=_0x3134d8-0x87;let _0x50a256=_0x669398[_0x3134d8];return _0x50a256;},a0_0x3134(_0x5c1e7a,_0x83417);}function a0_0x6693(){const _0x1cb27d=['field-change','cuFlag','fetch','Esc','render','removeGarbageData','focus','keydown','formRenderConfig','button','getAndParseMenuMeta','config','isEmpty','key','validation','assign','formColumnConfig','entries','updateMultiple','editable','1059260pQagwb','287329xCQopd','getBasicFormStyles','removeAttribute','setAttribute','__seq__','parseBasicFormConfigs','3666768oruBFQ','OX-GRID-FIELD','Escape','parent_id','column','currentTarget','__origin__','filter','patchData','properties','save','10094301nnIMVO','record','true','parseFormConfigs','editing','tagName','26978512sTJtbZ','5441828nrUwUX','title.info','firstUpdated','Enter','isEquals','text.NOTHING_CHANGED','click','form','before','5WOPKBO','addEventListener','detail','styles','__dirtyfields__','currentData','target','isPage','__dirty__','isElement','name','renderRoot','findOne','isNotEmpty','after','stopPropagation','connectedCallback','pageInitialized','4015470bpeNwX','context','call','startsWith'];a0_0x6693=function(){return _0x1cb27d;};return a0_0x6693();}const a0_0x25b735=a0_0x3134;(function(_0xa2ed88,_0x2cf703){const _0x3714c7=a0_0x3134,_0x40abbd=_0xa2ed88();while(!![]){try{const _0x2f2034=parseInt(_0x3714c7(0x87))/0x1+parseInt(_0x3714c7(0xd2))/0x2+parseInt(_0x3714c7(0x8d))/0x3+parseInt(_0x3714c7(0x9f))/0x4+-parseInt(_0x3714c7(0xa8))/0x5*(parseInt(_0x3714c7(0xba))/0x6)+parseInt(_0x3714c7(0x98))/0x7+-parseInt(_0x3714c7(0x9e))/0x8;if(_0x2f2034===_0x2cf703)break;else _0x40abbd['push'](_0x40abbd['shift']());}catch(_0x45e2da){_0x40abbd['push'](_0x40abbd['shift']());}}}(a0_0x6693,0xc359c));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=_0x32fb37=>class extends MetaButtonMixin(_0x32fb37){static get[a0_0x25b735(0xab)](){const _0x3df1f7=a0_0x25b735;return MetaApi[_0x3df1f7(0x88)]();}static get[a0_0x25b735(0x96)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x25b735(0xbb)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x25b735(0xb8)](){const _0x71623c=a0_0x25b735;if(this[_0x71623c(0xc9)]){let {column:_0x46413a=0x1}=this[_0x71623c(0xc9)];this[_0x71623c(0x91)]=_0x46413a;}await this[_0x71623c(0xc8)](),this[_0x71623c(0xb1)]&&await this[_0x71623c(0x9b)](),super[_0x71623c(0xb8)]&&await super[_0x71623c(0xb8)](),this[_0x71623c(0xb1)]&&await this[_0x71623c(0xc0)](),this[_0x71623c(0xb3)]['addEventListener'](_0x71623c(0xc5),_0x3d01ff=>{const _0x367f07=_0x71623c;switch(_0x3d01ff[_0x367f07(0xcb)]){case _0x367f07(0xc1):case _0x367f07(0x8f):case _0x367f07(0xa2):this[_0x367f07(0xc4)](),this[_0x367f07(0x92)]&&this[_0x367f07(0x92)][_0x367f07(0x89)]('editing'),this['currentTarget']=null;}}),this[_0x71623c(0xb3)][_0x71623c(0xa9)](_0x71623c(0xa5),_0x1f2985=>{const _0x49578b=_0x71623c;_0x1f2985[_0x49578b(0xb7)]();let _0x471d6b=_0x1f2985[_0x49578b(0xae)];if(this[_0x49578b(0x92)]&&(this[_0x49578b(0xc4)](),this[_0x49578b(0x92)][_0x49578b(0x89)](_0x49578b(0x9c))),_0x49578b(0x8e)!==_0x471d6b[_0x49578b(0x9d)]||!_0x471d6b['column'][_0x49578b(0x99)][_0x49578b(0xd1)])return this['focus'](),void(this[_0x49578b(0x92)]=null);this[_0x49578b(0x92)]=_0x471d6b,_0x471d6b[_0x49578b(0x8a)](_0x49578b(0x9c),_0x49578b(0x9a));}),this['addEventListener'](_0x71623c(0xbe),_0x7312a5=>{const _0x1ca744=_0x71623c;var {after:_0x7ec456,before:_0x11bacf,column:_0x1518e5,record:_0x21f7ef,row:_0x59ae33}=_0x7312a5[_0x1ca744(0xaa)];if(ValueUtil[_0x1ca744(0xa3)](_0x7ec456,_0x11bacf))return;var _0x29f1fe=_0x1518e5[_0x1ca744(0xcc)];if(_0x29f1fe&&'function'==typeof _0x29f1fe&&!_0x29f1fe[_0x1ca744(0xbc)](this,_0x7ec456,_0x11bacf,_0x21f7ef,_0x1518e5))return;let _0x44c2c4=_0x1518e5[_0x1ca744(0xb2)];_0x21f7ef[_0x44c2c4]=_0x7ec456,_0x21f7ef['__dirtyfields__']=_0x21f7ef[_0x1ca744(0xac)]||{},_0x21f7ef[_0x1ca744(0xac)][_0x44c2c4]={'before':_0x21f7ef[_0x1ca744(0x93)][_0x44c2c4],'after':_0x21f7ef[_0x44c2c4]},ValueUtil['isEquals'](_0x21f7ef[_0x1ca744(0xac)][_0x44c2c4][_0x1ca744(0xa7)],_0x21f7ef[_0x1ca744(0xac)][_0x44c2c4][_0x1ca744(0xb6)])&&delete _0x21f7ef[_0x1ca744(0xac)][_0x44c2c4],ValueUtil[_0x1ca744(0xb5)](_0x21f7ef[_0x1ca744(0xac)])?_0x21f7ef[_0x1ca744(0xb0)]='M':_0x21f7ef[_0x1ca744(0xb0)]='',this[_0x1ca744(0x99)]={..._0x21f7ef};});}async[a0_0x25b735(0xa1)](){const _0x39919f=a0_0x25b735;super[_0x39919f(0xa1)]&&await super[_0x39919f(0xa1)]();}async[a0_0x25b735(0xb9)](){const _0x2e84a1=a0_0x25b735;this[_0x2e84a1(0xaf)]&&await this[_0x2e84a1(0x9b)](),super['pageInitialized']&&await super[_0x2e84a1(0xb9)](),this['isPage']&&await this[_0x2e84a1(0xc0)]();}[a0_0x25b735(0xc2)](){return MetaApi['getBasicFormHtml'](this);}[a0_0x25b735(0x8c)](_0x398710){const _0x504282=a0_0x25b735;this[_0x504282(0xce)]=_0x398710['grid_column'],this[_0x504282(0xc6)]=_0x398710[_0x504282(0xa6)],_0x398710[_0x504282(0xc7)]=_0x398710[_0x504282(0xc7)][_0x504282(0x94)](_0x2192af=>_0x504282(0x97)==_0x2192af[_0x504282(0xb2)]);}async['parseFormConfigs'](){this['formConfigSet']=await MetaApi['parseFormConfigSet'](this);}get['orgData'](){const _0x34f17e=a0_0x25b735;return this[_0x34f17e(0xc3)](this[_0x34f17e(0x99)][_0x34f17e(0x93)]);}get['dirtyData'](){const _0x1fdf97=a0_0x25b735;if(ValueUtil[_0x1fdf97(0xca)](this[_0x1fdf97(0x99)][_0x1fdf97(0xac)]))return{};let _0x246bca={};return Object['entries'](this[_0x1fdf97(0x99)][_0x1fdf97(0xac)])['map'](([_0x5f2aad,_0x84b1b0])=>{const _0x2057eb=_0x1fdf97;0x0==_0x5f2aad[_0x2057eb(0xbd)]('__')&&(_0x246bca[_0x5f2aad]=_0x84b1b0[_0x2057eb(0xb6)]);}),_0x246bca;}get[a0_0x25b735(0xad)](){const _0x24982a=a0_0x25b735;return this[_0x24982a(0xc3)](this[_0x24982a(0x99)]);}['removeGarbageData'](_0x1d6db5){const _0x5255f4=a0_0x25b735;let _0x3ec6c0={};return Object[_0x5255f4(0xcf)](_0x1d6db5)['map'](([_0xefb11a,_0x87b998])=>{const _0x39aa8f=_0x5255f4;0x0==_0xefb11a[_0x39aa8f(0xbd)]('__')&&(_0x3ec6c0[_0xefb11a]=_0x87b998);}),_0x3ec6c0;}get[a0_0x25b735(0x95)](){const _0x30e92f=a0_0x25b735;let _0x1a94d8=this['dirtyData'],_0x5c6203=this[_0x30e92f(0x99)];return ValueUtil['isEmpty'](_0x1a94d8)?{}:(ValueUtil['isNotEmpty'](_0x5c6203['id'])?(_0x1a94d8['id']=_0x5c6203['id'],_0x1a94d8[_0x30e92f(0xbf)]='M'):_0x1a94d8[_0x30e92f(0xbf)]='+',[_0x1a94d8]);}async['fetch'](){const _0x3449d1=a0_0x25b735;if(ValueUtil[_0x3449d1(0xca)](this[_0x3449d1(0x90)]))return;let _0x27d028=await this[_0x3449d1(0xb4)](this[_0x3449d1(0x90)]);_0x27d028[_0x3449d1(0x8b)]=0x1;let _0x220b60={};Object[_0x3449d1(0xcd)](_0x220b60,_0x27d028),_0x27d028[_0x3449d1(0x93)]=_0x220b60,this[_0x3449d1(0x99)]={..._0x27d028};}async[a0_0x25b735(0x97)](){const _0x83fb2a=a0_0x25b735;let _0x21fa21=this[_0x83fb2a(0x95)];if(ValueUtil[_0x83fb2a(0xca)](_0x21fa21))return void MetaApi['showAlertPopup'](_0x83fb2a(0xa0),_0x83fb2a(0xa4));let _0x25ac2e=await this[_0x83fb2a(0xd0)](_0x21fa21);return _0x25ac2e&&await this['fetch'](),_0x25ac2e;}async['clear'](){const _0x2269ac=a0_0x25b735;this[_0x2269ac(0x99)]&&(this[_0x2269ac(0x99)]={});}};
@@ -1,22 +1,22 @@
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`
1
+ const a0_0x130a7b=a0_0x4e79;(function(_0x2e66ed,_0x3b12da){const _0x32969b=a0_0x4e79,_0x1ff8c3=_0x2e66ed();while(!![]){try{const _0x4b9ac6=parseInt(_0x32969b(0xc6))/0x1*(parseInt(_0x32969b(0xc1))/0x2)+parseInt(_0x32969b(0xc4))/0x3+-parseInt(_0x32969b(0x91))/0x4+-parseInt(_0x32969b(0x9d))/0x5+parseInt(_0x32969b(0x87))/0x6+parseInt(_0x32969b(0xbc))/0x7+-parseInt(_0x32969b(0x94))/0x8;if(_0x4b9ac6===_0x3b12da)break;else _0x1ff8c3['push'](_0x1ff8c3['shift']());}catch(_0x448560){_0x1ff8c3['push'](_0x1ff8c3['shift']());}}}(a0_0xbf09,0x8afe7));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';function a0_0xbf09(){const _0x1a37c8=['gristId','beforeFetch','grist','record','map','useMasterFilterForm','getSelectedIdList','menuInfo','clear','filterForm','3110233StokRV','left_right','deleteByIds','top_bottom','exportableData','2IXYyoR','importable','findOne','1937184qYqtIE','connectedCallback','568455OypthA','renderRoot','master_detail_type','updateMultiple','actions','fetch','isNotEmpty','options','firstUpdated','render','export','columns','getAndParseMenuMeta','type','5377680qZkEBc','grid_column','filterFormId','context','parseBasicGridConfigs','meta-tab-element','properties','grid-template-rows:','master_detail_size','useFilterForm','2917552JfUrpG','operator','parseGristConfigs','7856400TIdyLD','grid','querySelector','isPage','50%\x2050%','getBasicGristHtml','isElement','ox-grist','getButtonContainer','1370125tnQSBv','searchFields','patchesForUpdateMultiple','filter','route_name','getContextObject','ox-filters-form-base','pageInitialized','header','parseGridConfigSet','title','gridConfig','exportable','save','getParams','find','name','currentRouting','etcConfig','gristConfigSet','search'];a0_0xbf09=function(){return _0x1a37c8;};return a0_0xbf09();}import{TermsUtil}from'../utils/terms-util';function a0_0x4e79(_0x18f9e9,_0x5ee5f7){const _0xbf0937=a0_0xbf09();return a0_0x4e79=function(_0x4e790b,_0x54eb73){_0x4e790b=_0x4e790b-0x7e;let _0x5b3639=_0xbf0937[_0x4e790b];return _0x5b3639;},a0_0x4e79(_0x18f9e9,_0x5ee5f7);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x3c2751=>class extends MetaButtonMixin(_0x3c2751){static get['styles'](){return MetaApi['getBasicGristTabStyles']();}static get[a0_0x130a7b(0x8d)](){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_0x130a7b(0xb4)](){const _0x2646e8=a0_0x130a7b;return this[_0x2646e8(0xc7)]['querySelector'](this[_0x2646e8(0xb2)]);}get[a0_0x130a7b(0xbb)](){const _0x998639=a0_0x130a7b;return this['shadowRoot']?.[_0x998639(0x96)](this[_0x998639(0x89)]);}get[a0_0x130a7b(0x8a)](){const _0x23a8bb=a0_0x130a7b;let _0x56006f=MetaUiUtil[_0x23a8bb(0xa2)](this);return _0x56006f[_0x23a8bb(0xca)]&&delete _0x56006f[_0x23a8bb(0xca)],_0x56006f[_0x23a8bb(0xa9)]&&delete _0x56006f[_0x23a8bb(0xa9)],_0x56006f[_0x23a8bb(0xc2)]&&delete _0x56006f['importable'],_0x56006f;}async[a0_0x130a7b(0xc5)](){const _0x1408f6=a0_0x130a7b;this[_0x1408f6(0xb2)]=_0x1408f6(0x9b),this[_0x1408f6(0x89)]=_0x1408f6(0xa3),await this[_0x1408f6(0x85)](),this[_0x1408f6(0x9a)]&&await this[_0x1408f6(0x93)](),super[_0x1408f6(0xc5)]&&await super[_0x1408f6(0xc5)]();}async[a0_0x130a7b(0x81)](){const _0xe4bc4e=a0_0x130a7b;super[_0xe4bc4e(0x81)]&&await super[_0xe4bc4e(0x81)]();}async[a0_0x130a7b(0xa4)](){const _0x38be7f=a0_0x130a7b;this[_0x38be7f(0x97)]&&await this[_0x38be7f(0x93)](),super[_0x38be7f(0xa4)]&&await super['pageInitialized']();}[a0_0x130a7b(0x82)](){const _0x4e2c3c=a0_0x130a7b;let _0xc9daf0=this[_0x4e2c3c(0xaf)][_0x4e2c3c(0xc8)]||_0x4e2c3c(0xbf),_0x4ff4d7=this[_0x4e2c3c(0xaf)][_0x4e2c3c(0x8f)]||_0x4e2c3c(0x98),_0x5117b6=_0x4e2c3c(0xbd)==_0xc9daf0?'grid-template-columns:'+_0x4ff4d7+';':_0x4e2c3c(0x8e)+_0x4ff4d7+';',_0x20049c=this[_0x4e2c3c(0x97)]?UiUtil[_0x4e2c3c(0xae)]():this[_0x4e2c3c(0xa1)];return html`
2
+ ${0x0==this[_0x4e2c3c(0xb7)]?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[_0x406520(0x13a)]||[]}
8
- @filters-change=${_0x5c2c64=>{const _0x385af1=_0x406520;this[_0x385af1(0x16e)]?.[_0x385af1(0x16f)]();}}
7
+ .filters=${this[_0x4e2c3c(0x9e)]||[]}
8
+ @filters-change=${_0x1b08a0=>{const _0x562509=_0x4e2c3c;this[_0x562509(0xb4)]?.[_0x562509(0x7e)]();}}
9
9
  ></ox-filters-form-base>
10
10
  </div>
11
11
  </div>
12
12
  `}
13
- <div id="container" class="container" style="${_0x3aca82}">
13
+ <div id="container" class="container" style="${_0x5117b6}">
14
14
  <div class="container_detail">
15
- ${MetaApi[_0x406520(0x13e)](this)}
16
- ${MetaUiUtil['getButtonContainer'](this)}
15
+ ${MetaApi[_0x4e2c3c(0x99)](this)}
16
+ ${MetaUiUtil[_0x4e2c3c(0x9c)](this)}
17
17
  </div>
18
18
  <div class="container_detail">
19
- <meta-tab-element id="detail" route_name="${_0x53f5c1}" is_detail=true></meta-tab-element>
19
+ <meta-tab-element id="detail" route_name="${_0x20049c}" is_detail=true></meta-tab-element>
20
20
  </div>
21
21
  </div>
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();}
22
+ `;}[a0_0x130a7b(0x8b)](_0xa313b){const _0x243306=a0_0x130a7b;this[_0x243306(0xa8)]=_0xa313b[_0x243306(0x95)],this['gridColumnConfig']=_0xa313b[_0x243306(0x88)],this['searchConfig']=_0xa313b[_0x243306(0xb1)];}async[a0_0x130a7b(0x93)](){const _0x22cdf4=a0_0x130a7b;this['gristConfigSet']=await MetaApi[_0x22cdf4(0xa6)](this),this['useMasterFilterForm']=this[_0x22cdf4(0x90)],this[_0x22cdf4(0x90)]=!0x1,this[_0x22cdf4(0x9e)]=this[_0x22cdf4(0xb0)][_0x22cdf4(0x84)][_0x22cdf4(0xa0)](_0x222cf0=>_0x222cf0[_0x22cdf4(0xa0)])[_0x22cdf4(0xb6)](_0x52231e=>{const _0x2fb460=_0x22cdf4;let _0x36a662={'name':_0x52231e[_0x2fb460(0xad)],'type':_0x52231e[_0x2fb460(0x86)],'label':_0x52231e[_0x2fb460(0xa5)],'operator':_0x52231e[_0x2fb460(0xa0)][_0x2fb460(0x92)]?_0x52231e[_0x2fb460(0xa0)][_0x2fb460(0x92)]:'eq'};return _0x52231e['record']['options']&&(_0x36a662[_0x2fb460(0x80)]=_0x52231e[_0x2fb460(0xb5)][_0x2fb460(0x80)]),_0x36a662;});}async[a0_0x130a7b(0x7e)](){const _0x2d9d21=a0_0x130a7b;await this[_0x2d9d21(0xb4)][_0x2d9d21(0x7e)]();}async[a0_0x130a7b(0xb3)]({page:_0x433c90=0x0,limit:_0x44f386=0x0,sortings:_0x420a62=[],filters:_0x5cc814=[]}){const _0xb80353=a0_0x130a7b;let _0x6afd7d=this[_0xb80353(0xc7)]['querySelector'](_0xb80353(0x8c));return await _0x6afd7d[_0xb80353(0xba)](),!0x0;}async[a0_0x130a7b(0xaa)](){const _0x5dd2ef=a0_0x130a7b;let _0x4177c3=MetaApi[_0x5dd2ef(0x9f)](this[_0x5dd2ef(0xb4)]);!!ValueUtil[_0x5dd2ef(0x7f)](_0x4177c3)&&await this[_0x5dd2ef(0xc9)](_0x4177c3)&&this[_0x5dd2ef(0x7e)]();}async[a0_0x130a7b(0xac)](){const _0x4b6696=a0_0x130a7b;let _0x3f3c82=MetaApi[_0x4b6696(0xb8)](this['grist'],!0x0);return ValueUtil['isNotEmpty'](_0x3f3c82)?await this[_0x4b6696(0xc3)](_0x3f3c82[0x0]):{};}async['delete'](){const _0x3b8fd4=a0_0x130a7b;let _0x467d4c=MetaApi[_0x3b8fd4(0xb8)](this[_0x3b8fd4(0xb4)],!0x0);!!ValueUtil[_0x3b8fd4(0x7f)](_0x467d4c)&&await this[_0x3b8fd4(0xbe)](_0x467d4c)&&this[_0x3b8fd4(0x7e)]();}async[a0_0x130a7b(0x83)](){const _0x560e30=a0_0x130a7b;let _0x50292f=TermsUtil['tTitle'](ValueUtil[_0x560e30(0xab)](this[_0x560e30(0xb9)],_0x560e30(0xa7)));return await MetaApi[_0x560e30(0xc0)](this[_0x560e30(0x9a)],_0x50292f,this[_0x560e30(0xb4)]);}async['import'](){}};
@@ -0,0 +1,23 @@
1
+ const a0_0x37d283=a0_0x93fd;function a0_0x93fd(_0x2431a5,_0x291a12){const _0x193825=a0_0x1938();return a0_0x93fd=function(_0x93fd43,_0x363b81){_0x93fd43=_0x93fd43-0x1cd;let _0x51419e=_0x193825[_0x93fd43];return _0x51419e;},a0_0x93fd(_0x2431a5,_0x291a12);}(function(_0x3ebd1f,_0x4472e6){const _0x29614d=a0_0x93fd,_0x4cfe0a=_0x3ebd1f();while(!![]){try{const _0x1f3140=parseInt(_0x29614d(0x204))/0x1+-parseInt(_0x29614d(0x210))/0x2*(-parseInt(_0x29614d(0x1ff))/0x3)+parseInt(_0x29614d(0x1ce))/0x4*(parseInt(_0x29614d(0x1ed))/0x5)+-parseInt(_0x29614d(0x216))/0x6*(parseInt(_0x29614d(0x201))/0x7)+-parseInt(_0x29614d(0x1fc))/0x8*(parseInt(_0x29614d(0x208))/0x9)+-parseInt(_0x29614d(0x203))/0xa*(parseInt(_0x29614d(0x1d0))/0xb)+parseInt(_0x29614d(0x1fd))/0xc;if(_0x1f3140===_0x4472e6)break;else _0x4cfe0a['push'](_0x4cfe0a['shift']());}catch(_0x3a18a5){_0x4cfe0a['push'](_0x4cfe0a['shift']());}}}(a0_0x1938,0x62b7e));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x1938(){const _0x4df4c6=['76118zsNkfi','grist','querySelector','createDetailElement','detailElement','gridColumnConfig','4839774gKlpBw','operator','grid-template-rows:','find','isElement','parseGristConfigs','searchFields','ox-filters-form-base','8eYZqoJ','getBasicGristHtml','924dhoope','htmlToElement','filter','getContextObject','searchConfig','isPage','display','fetch','title','importable','grid-template-columns:','search','map','renderRoot','getSelectedIdList','parseBasicGridConfigs','etcConfig','parse','patchesForUpdateMultiple','\x22\x20name=\x22','master_detail_element','import','detail','save','columns','master_detail_size','deleteByIds','options','name','215320SBhRLw','isNotEmpty','clear','gristConfigSet','getAndParseMenuMeta','useFilterForm','context','tagname','getButtonContainer','left_right','findOne','gristId','getBasicMasterDetailStyles','parseGridConfigSet','connectedCallback','8mmrhio','20951196PYPLqt','tTitle','3MEgOTK','record','7syKWRE','filterFormId','17790wwQBNi','185449ZqDxvj','grid_column','exportableData','pageInitialized','6256386ZCePUw','firstUpdated','routing','useMasterFilterForm','header','actions','render','styles'];a0_0x1938=function(){return _0x4df4c6;};return a0_0x1938();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x5f2e0c=>class extends MetaButtonMixin(_0x5f2e0c){static get[a0_0x37d283(0x20f)](){const _0x38a079=a0_0x37d283;return MetaApi[_0x38a079(0x1f9)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0xa16446=a0_0x37d283;return this[_0xa16446(0x1dd)][_0xa16446(0x212)](this[_0xa16446(0x1f8)]);}get['filterForm'](){const _0x3d9255=a0_0x37d283;return this['shadowRoot']?.['querySelector'](this[_0x3d9255(0x202)]);}get[a0_0x37d283(0x1f3)](){const _0x495235=a0_0x37d283;let _0x34d1c4=MetaUiUtil[_0x495235(0x1d3)](this);return _0x34d1c4['actions']&&delete _0x34d1c4[_0x495235(0x20d)],_0x34d1c4['exportable']&&delete _0x34d1c4['exportable'],_0x34d1c4['importable']&&delete _0x34d1c4[_0x495235(0x1d9)],_0x34d1c4;}async[a0_0x37d283(0x1fb)](){const _0x39523d=a0_0x37d283;this['gristId']='ox-grist',this[_0x39523d(0x202)]=_0x39523d(0x1cd),await this[_0x39523d(0x1f1)](),this[_0x39523d(0x21a)]&&await this[_0x39523d(0x21b)](),super['connectedCallback']&&await super['connectedCallback']();}async[a0_0x37d283(0x209)](){const _0x330232=a0_0x37d283;super[_0x330232(0x209)]&&await super[_0x330232(0x209)]();}async[a0_0x37d283(0x207)](){const _0x371897=a0_0x37d283;this[_0x371897(0x1d5)]&&await this['parseGristConfigs'](),super[_0x371897(0x207)]&&await super[_0x371897(0x207)]();}[a0_0x37d283(0x20e)](){const _0x3f1414=a0_0x37d283;let _0x1f61f9=this[_0x3f1414(0x1e0)]['master_detail_type']||'top_bottom',_0x4ec2f4=this[_0x3f1414(0x1e0)][_0x3f1414(0x1e9)]||'50%\x2050%',_0x1e2833=this[_0x3f1414(0x1e0)][_0x3f1414(0x1e4)],_0x3021fc=JSON[_0x3f1414(0x1e1)](_0x1e2833||'{}'),_0x5eb2dc=_0x3f1414(0x1f6)==_0x1f61f9?_0x3f1414(0x1da)+_0x4ec2f4+';':_0x3f1414(0x218)+_0x4ec2f4+';';return this[_0x3f1414(0x213)](_0x3021fc),html`
2
+ ${0x0==this[_0x3f1414(0x20b)]?html``:html`
3
+ <div slot="headroom">
4
+ <div id="filters">
5
+ <ox-filters-form-base
6
+ id='ox-filters-form'
7
+ .filters=${this[_0x3f1414(0x21c)]||[]}
8
+ @filters-change=${_0xbaf29=>{const _0x37f7f2=_0x3f1414;this[_0x37f7f2(0x211)]?.[_0x37f7f2(0x1d7)]();}}
9
+ ></ox-filters-form-base>
10
+ </div>
11
+ </div>
12
+ `}
13
+ <div id="container" class="container" style="${_0x5eb2dc}">
14
+ <div class="container_detail">
15
+ ${MetaApi[_0x3f1414(0x1cf)](this)}
16
+ ${MetaUiUtil[_0x3f1414(0x1f5)](this)}
17
+ </div>
18
+ <div class="container_detail">
19
+ ${''==_0x3021fc[_0x3f1414(0x1f4)]||''==_0x3021fc[_0x3f1414(0x1f4)]?html``:html`<h2 id='detail_title'><mwc-icon>list_alt</mwc-icon>${TermsUtil['tTitle'](''+_0x3021fc[_0x3f1414(0x1d6)])}</h2>`}
20
+ ${this[_0x3f1414(0x214)]}
21
+ </div>
22
+ </div>
23
+ `;}[a0_0x37d283(0x213)](_0x13a2bc){const _0x286902=a0_0x37d283;if(!this['detailElement']){let _0x4bd90d=_0x13a2bc[_0x286902(0x1ec)]?_0x13a2bc[_0x286902(0x1ec)]:_0x286902(0x1e6),_0x552c34='<'+_0x13a2bc['tagname']+'\x20id=\x22'+_0x4bd90d+_0x286902(0x1e3)+_0x4bd90d+'\x22\x20route_name=\x22'+_0x13a2bc[_0x286902(0x20a)]+'\x22\x20is_detail=true\x20style=\x22flex:1;\x22></'+_0x13a2bc['tagname']+'>';this['detailElement']=UiUtil[_0x286902(0x1d1)](_0x552c34);}}[a0_0x37d283(0x1df)](_0x240a3e){const _0x27e016=a0_0x37d283;this['gridConfig']=_0x240a3e['grid'],this[_0x27e016(0x215)]=_0x240a3e[_0x27e016(0x205)],this[_0x27e016(0x1d4)]=_0x240a3e[_0x27e016(0x1db)];}async['parseGristConfigs'](){const _0x488c1e=a0_0x37d283;this[_0x488c1e(0x1f0)]=await MetaApi[_0x488c1e(0x1fa)](this),this['useMasterFilterForm']=this[_0x488c1e(0x1f2)],this[_0x488c1e(0x1f2)]=!0x1,this[_0x488c1e(0x21c)]=this['gristConfigSet'][_0x488c1e(0x1e8)][_0x488c1e(0x1d2)](_0x576288=>_0x576288['filter'])[_0x488c1e(0x1dc)](_0x5ad66f=>{const _0x28e84c=_0x488c1e;let _0x1d00d9={'name':_0x5ad66f[_0x28e84c(0x1ec)],'type':_0x5ad66f['type'],'label':_0x5ad66f[_0x28e84c(0x20c)],'operator':_0x5ad66f[_0x28e84c(0x1d2)]['operator']?_0x5ad66f[_0x28e84c(0x1d2)][_0x28e84c(0x217)]:'eq'};return _0x5ad66f[_0x28e84c(0x200)]['options']&&(_0x1d00d9[_0x28e84c(0x1eb)]=_0x5ad66f[_0x28e84c(0x200)][_0x28e84c(0x1eb)]),_0x1d00d9;});}async[a0_0x37d283(0x1d7)](){const _0x49c4e7=a0_0x37d283;await this[_0x49c4e7(0x211)][_0x49c4e7(0x1d7)]();}async['beforeFetch']({page:_0x14930e=0x0,limit:_0x5068ba=0x0,sortings:_0x596876=[],filters:_0x46d068=[]}){const _0x58e1cf=a0_0x37d283;return this[_0x58e1cf(0x214)]&&this[_0x58e1cf(0x214)][_0x58e1cf(0x1ef)]&&await this[_0x58e1cf(0x214)][_0x58e1cf(0x1ef)](),!0x0;}async[a0_0x37d283(0x1e7)](){const _0x3ee25e=a0_0x37d283;let _0x33c81f=MetaApi[_0x3ee25e(0x1e2)](this[_0x3ee25e(0x211)]);!!ValueUtil[_0x3ee25e(0x1ee)](_0x33c81f)&&await this['updateMultiple'](_0x33c81f)&&this[_0x3ee25e(0x1d7)]();}async[a0_0x37d283(0x219)](){const _0x2c84fc=a0_0x37d283;let _0x30ad6b=MetaApi[_0x2c84fc(0x1de)](this[_0x2c84fc(0x211)],!0x0);return ValueUtil['isNotEmpty'](_0x30ad6b)?await this[_0x2c84fc(0x1f7)](_0x30ad6b[0x0]):{};}async['delete'](){const _0x54031b=a0_0x37d283;let _0x236c3a=MetaApi[_0x54031b(0x1de)](this[_0x54031b(0x211)],!0x0);!!ValueUtil['isNotEmpty'](_0x236c3a)&&await this[_0x54031b(0x1ea)](_0x236c3a)&&this[_0x54031b(0x1d7)]();}async['export'](){const _0x3dcf7e=a0_0x37d283;let _0x242e5a=TermsUtil[_0x3dcf7e(0x1fe)](ValueUtil['getParams'](this['menuInfo'],_0x3dcf7e(0x1d8)));return await MetaApi[_0x3dcf7e(0x206)](this['isElement'],_0x242e5a,this[_0x3dcf7e(0x211)]);}async[a0_0x37d283(0x1e5)](){}};
@@ -1 +1 @@
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
+ const a0_0x286308=a0_0x5247;(function(_0x4d8f70,_0x14918d){const _0x98bacb=a0_0x5247,_0x7261c0=_0x4d8f70();while(!![]){try{const _0x411f9e=-parseInt(_0x98bacb(0xfd))/0x1*(-parseInt(_0x98bacb(0x101))/0x2)+-parseInt(_0x98bacb(0xe6))/0x3+-parseInt(_0x98bacb(0xf2))/0x4*(parseInt(_0x98bacb(0xe3))/0x5)+-parseInt(_0x98bacb(0x100))/0x6+parseInt(_0x98bacb(0xf5))/0x7+parseInt(_0x98bacb(0xdc))/0x8*(-parseInt(_0x98bacb(0xec))/0x9)+-parseInt(_0x98bacb(0xfe))/0xa*(-parseInt(_0x98bacb(0x107))/0xb);if(_0x411f9e===_0x14918d)break;else _0x7261c0['push'](_0x7261c0['shift']());}catch(_0x28e757){_0x7261c0['push'](_0x7261c0['shift']());}}}(a0_0x63da,0xb5c27));function a0_0x5247(_0x45f985,_0x5e2247){const _0x63daf2=a0_0x63da();return a0_0x5247=function(_0x52475c,_0x595042){_0x52475c=_0x52475c-0xdb;let _0x44055c=_0x63daf2[_0x52475c];return _0x44055c;},a0_0x5247(_0x45f985,_0x5e2247);}import{adjustFilters}from'@operato/utils';function a0_0x63da(){const _0x5e60ef=['func','query','includes','skip_fields','8jThPNw','lifecycle','parse','beforeFetch','keys','fetchHandler','length','4332125SeoxRy','getSelectColumns','after_set_fields','1014609gaDUPO','isArray','mutation','findOne','getQueryFilters','map','8275887TaQWFD','isPage','push','split','name','isNotEmpty','4IFDxua','multiple','filter','7148176OepYpy','deleteByIds','list_func','afterFetch','gristConfigSet','getPageNavigateParams','getParams','value','196qFOpnF','21614540ZjhKKe','forEach','8235360BxjYNG','10802suoygc','isEmpty','formConfigSet','isElement','records','parent_id','11MKRhwS','updateMultiple','delete','find_one_func','pass','columns','gqlInfo','filters','searchByPagination','params'];a0_0x63da=function(){return _0x5e60ef;};return a0_0x63da();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x38b594=>class extends MetaBaseMixin(_0x38b594){static get['properties'](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x569db5){const _0x3afe42=a0_0x5247;this[_0x3afe42(0x10d)]=_0x569db5['gql'];}async[a0_0x286308(0xe1)]({page:_0xdb8552=0x0,limit:_0x23c9e3=0x0,sortings:_0x468f47=[],filters:_0x141b34=[]}){const _0x269ef1=a0_0x286308;if(this[_0x269ef1(0xdf)]&&0x0==await this[_0x269ef1(0xdf)]({'page':_0xdb8552,'limit':_0x23c9e3,'sortings':_0x468f47,'filters':_0x141b34}))return;if(!this[_0x269ef1(0xf9)])return{'total':0x0,'records':[]};let _0x55c777=ValueUtil[_0x269ef1(0x102)](_0x141b34)?await this['filterForm']?.[_0x269ef1(0xea)]()||[]:_0x141b34,_0x590529=ValueUtil[_0x269ef1(0xfb)](this['gqlInfo'],_0x269ef1(0x112),_0x269ef1(0xf7)),_0x1a0821=ValueUtil[_0x269ef1(0xfb)](this['gqlInfo'],'query',_0x269ef1(0x10e)),_0x1c7d95=ValueUtil[_0x269ef1(0xfb)](this[_0x269ef1(0x10d)],'query',_0x269ef1(0xe5));if(ValueUtil[_0x269ef1(0xf1)](_0x1a0821)&&(_0x55c777=adjustFilters(_0x55c777,_0x1a0821)),_0x55c777[_0x269ef1(0xee)](...this[_0x269ef1(0xfa)]()),this[_0x269ef1(0x104)]){let _0x1b5369=ValueUtil[_0x269ef1(0xfb)](this['gqlInfo'],_0x269ef1(0x112),_0x269ef1(0x106));ValueUtil['isNotEmpty'](_0x1b5369)&&ValueUtil[_0x269ef1(0xf1)](this[_0x269ef1(0x106)])&&(_0x55c777=adjustFilters(_0x55c777,[{'name':_0x1b5369,'operator':'eq','value':this[_0x269ef1(0x106)]}]));}let _0x1c753=Object['keys'](_0x1c7d95||{}),_0x4359c6=MetaApi[_0x269ef1(0xe4)](this['gristConfigSet'][_0x269ef1(0x10c)][_0x269ef1(0xf4)](_0x16e0e2=>!_0x1c753[_0x269ef1(0x113)](_0x16e0e2[_0x269ef1(0xf0)]))),_0x492b24=await MetaApi[_0x269ef1(0x10f)](_0x590529,_0x55c777,_0x468f47,_0xdb8552,_0x23c9e3,_0x4359c6);return this[_0x269ef1(0xf8)]&&0x0==await this['afterFetch']({'page':_0xdb8552,'limit':_0x23c9e3,'sortings':_0x468f47,'filters':_0x141b34},_0x492b24)?void 0x0:(ValueUtil[_0x269ef1(0xf1)](_0x1c7d95)&&ValueUtil[_0x269ef1(0xf1)](_0x492b24)&&ValueUtil[_0x269ef1(0xf1)](_0x492b24['records'])&&_0x492b24[_0x269ef1(0x105)]['map'](_0x29fd0d=>(_0x1c753[_0x269ef1(0xff)](_0x2061bd=>{const _0x5494c7=_0x269ef1;_0x29fd0d[_0x2061bd]=ValueUtil[_0x5494c7(0xfb)](_0x29fd0d,..._0x1c7d95[_0x2061bd][_0x5494c7(0xef)]('.'));}),_0x29fd0d)),_0x492b24);}[a0_0x286308(0xfa)](){const _0x3fe0d9=a0_0x286308;if(0x0==this[_0x3fe0d9(0xed)])return[];let _0x492cd2=this['lifecycle']?.[_0x3fe0d9(0x110)]?this[_0x3fe0d9(0xdd)][_0x3fe0d9(0x110)]:{};if(!_0x492cd2[_0x3fe0d9(0x10b)])return[];let _0xd29069=_0x492cd2[_0x3fe0d9(0x10b)],_0x36bed0=JSON[_0x3fe0d9(0xde)](_0xd29069),_0x334250=0x1==_0x36bed0['length']?'eq':'in',_0x141f8c={},_0x3ea940=[];return Object[_0x3fe0d9(0xe0)](_0x36bed0[0x0])[_0x3fe0d9(0xff)](_0x1218bd=>{_0x141f8c[_0x1218bd]={'name':_0x1218bd,'operator':_0x334250,'value':'eq'===_0x334250?_0x36bed0[0x0][_0x1218bd]:[]};}),_0x36bed0[_0x3fe0d9(0xe2)]>0x1&&_0x36bed0[_0x3fe0d9(0xff)](_0x4b92de=>{const _0x34f5f6=_0x3fe0d9;Object[_0x34f5f6(0xe0)](_0x4b92de)[_0x34f5f6(0xff)](_0x302ea5=>{const _0xeacc6=_0x34f5f6;_0x141f8c[_0x302ea5][_0xeacc6(0xfc)]['push'](_0x4b92de[_0x302ea5]);});}),Object[_0x3fe0d9(0xe0)](_0x141f8c)['forEach'](_0x22af7a=>{const _0x48530a=_0x3fe0d9;_0x3ea940[_0x48530a(0xee)](_0x141f8c[_0x22af7a]);}),_0x3ea940;}async[a0_0x286308(0xe9)](_0x47f9c9){const _0x9f80db=a0_0x286308;let _0x45f8dc=ValueUtil[_0x9f80db(0xfb)](this['gqlInfo'],_0x9f80db(0x112),_0x9f80db(0x10a)),_0x311400=ValueUtil[_0x9f80db(0xfb)](this[_0x9f80db(0x10d)],_0x9f80db(0x112),_0x9f80db(0xe5)),_0x367413=Object['keys'](_0x311400||{}),_0x4ee038=MetaApi[_0x9f80db(0xe4)]((this[_0x9f80db(0xf9)]?this[_0x9f80db(0xf9)]:{'columns':this[_0x9f80db(0x103)]})[_0x9f80db(0x10c)][_0x9f80db(0xf4)](_0x18584a=>!_0x367413[_0x9f80db(0x113)](_0x18584a['name']))),_0x566707=await MetaApi[_0x9f80db(0xe9)](_0x45f8dc,_0x47f9c9,_0x4ee038);return ValueUtil[_0x9f80db(0xf1)](_0x311400)&&ValueUtil['isNotEmpty'](_0x566707)&&_0x367413[_0x9f80db(0xff)](_0x52f89c=>{const _0x52d500=_0x9f80db;_0x566707[_0x52f89c]=ValueUtil[_0x52d500(0xfb)](_0x566707,..._0x311400[_0x52f89c]['split']('.'));}),_0x566707;}async[a0_0x286308(0xf6)](_0x3da5a0){const _0x518d5e=a0_0x286308;let _0x4e62ff=ValueUtil[_0x518d5e(0xfb)](this[_0x518d5e(0x10d)],_0x518d5e(0xe8),_0x518d5e(0x109),_0x518d5e(0x111));return await MetaApi['deleteListByIds'](_0x3da5a0,_0x4e62ff);}async[a0_0x286308(0x108)](_0x13d9d4){const _0xfb61cf=a0_0x286308;let _0x35823e=ValueUtil['getParams'](this[_0xfb61cf(0x10d)],_0xfb61cf(0xe8),_0xfb61cf(0xf3),_0xfb61cf(0x111)),_0x13f37f=ValueUtil[_0xfb61cf(0xfb)](this[_0xfb61cf(0x10d)],'mutation','multiple',_0xfb61cf(0xdb));if(ValueUtil['isNotEmpty'](_0x13f37f)&&(_0x13f37f=_0x13f37f['map'](_0x7b07f0=>_0x7b07f0['includes']('.')?_0x7b07f0[_0xfb61cf(0xef)]('.'):_0x7b07f0),_0x13d9d4=_0x13d9d4[_0xfb61cf(0xeb)](_0x4f7aad=>(_0x13f37f[_0xfb61cf(0xff)](_0xb30978=>{const _0x24670b=_0xfb61cf;Array[_0x24670b(0xe7)](_0xb30978)?delete _0x4f7aad[_0xb30978[0x0]][_0xb30978[0x1]]:delete _0x4f7aad[_0xb30978];}),_0x4f7aad))),this[_0xfb61cf(0x104)]&&ValueUtil[_0xfb61cf(0xf1)](this['parent_id'])){let _0x4ef33f=ValueUtil[_0xfb61cf(0xfb)](this[_0xfb61cf(0x10d)],_0xfb61cf(0xe8),_0xfb61cf(0xf3),'parent_id');ValueUtil[_0xfb61cf(0xf1)](_0x4ef33f)&&_0x13d9d4['forEach'](_0x1ee4ca=>{const _0x339bd1=_0xfb61cf;if(_0x4ef33f['includes']('.')){let _0x1c1853=_0x4ef33f[_0x339bd1(0xef)]('.');_0x1ee4ca[_0x1c1853[0x0]]={},_0x1ee4ca[_0x1c1853[0x0]][_0x1c1853[0x1]]=this[_0x339bd1(0x106)];}else _0x1ee4ca[_0x4ef33f]=this[_0x339bd1(0x106)];});}return await MetaApi[_0xfb61cf(0x108)](_0x35823e,_0x13d9d4);}};
@@ -1 +1 @@
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)]=[];}};
1
+ const a0_0x1f1028=a0_0xd979;function a0_0x235b(){const _0x1111a8=['getBasicTabHtml','keys','4776kwtNVr','12927170wILPzF','138PaxPyW','tabElements','17026wrGuqF','parseBasicTabConfigs','render','context','1335UNDRav','length','1902429HOzdCk','33566mQhFOI','11ajafFD','511CFDFIU','getAndParseMenuMeta','pageInitialized','styles','properties','firstUpdated','clear','6378EWheOf','983562aGhtGr','51064QzxrmR','4yYxsGh','connectedCallback'];a0_0x235b=function(){return _0x1111a8;};return a0_0x235b();}(function(_0x101eb6,_0x3abe46){const _0x529a9a=a0_0xd979,_0x1a06ce=_0x101eb6();while(!![]){try{const _0x1881d6=parseInt(_0x529a9a(0x10c))/0x1*(parseInt(_0x529a9a(0x10e))/0x2)+parseInt(_0x529a9a(0x104))/0x3*(parseInt(_0x529a9a(0x106))/0x4)+parseInt(_0x529a9a(0x112))/0x5*(-parseInt(_0x529a9a(0x11e))/0x6)+parseInt(_0x529a9a(0x117))/0x7*(-parseInt(_0x529a9a(0x105))/0x8)+parseInt(_0x529a9a(0x114))/0x9+parseInt(_0x529a9a(0x10b))/0xa*(-parseInt(_0x529a9a(0x116))/0xb)+-parseInt(_0x529a9a(0x10a))/0xc*(-parseInt(_0x529a9a(0x115))/0xd);if(_0x1881d6===_0x3abe46)break;else _0x1a06ce['push'](_0x1a06ce['shift']());}catch(_0x5a887c){_0x1a06ce['push'](_0x1a06ce['shift']());}}}(a0_0x235b,0xaab20));import{MetaApi}from'../utils/meta-api';function a0_0xd979(_0x51e4fd,_0x14fbde){const _0x235bf8=a0_0x235b();return a0_0xd979=function(_0xd97910,_0x26e48e){_0xd97910=_0xd97910-0x104;let _0xbb228d=_0x235bf8[_0xd97910];return _0xbb228d;},a0_0xd979(_0x51e4fd,_0x14fbde);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x16067b=>class extends MetaButtonMixin(_0x16067b){static get[a0_0x1f1028(0x11a)](){return MetaApi['getBasicTabStyles']();}static get[a0_0x1f1028(0x11b)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x1f1028(0x111)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x3654f8=a0_0x1f1028;this['currentTabKey']=void 0x0,await this[_0x3654f8(0x118)](),super[_0x3654f8(0x107)]&&await super[_0x3654f8(0x107)]();}async['firstUpdated'](){const _0xda88b7=a0_0x1f1028;super['firstUpdated']&&await super[_0xda88b7(0x11c)]();}async[a0_0x1f1028(0x119)](){const _0x4b1862=a0_0x1f1028;super['pageInitialized']&&await super[_0x4b1862(0x119)]();}[a0_0x1f1028(0x110)](){const _0x5bcb62=a0_0x1f1028;return MetaApi[_0x5bcb62(0x108)](this);}[a0_0x1f1028(0x10f)](_0x44accb){this['tabRenderConfig']=_0x44accb['tab'],_0x44accb['button']=[];}async['clear'](){const _0x4708a5=a0_0x1f1028;if(this[_0x4708a5(0x10d)]){let _0x42134f=Object[_0x4708a5(0x109)](this[_0x4708a5(0x10d)]);for(var _0x4e43cb=0x0;_0x4e43cb<_0x42134f[_0x4708a5(0x113)];_0x4e43cb++)await this[_0x4708a5(0x10d)][_0x42134f[_0x4e43cb]][_0x4708a5(0x11d)]();}}};