@things-factory/meta-ui 6.0.36 → 6.0.43

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 +22 -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 +1 -1
  7. package/client/mixin/meta-master-detail-mixin.js +1 -1
  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 +7 -7
  12. package/client/pages/history/history-copy-list-popup.js +6 -6
  13. package/client/pages/history/history-json-list-popup.js +6 -6
  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 -1
  22. package/client/pages/meta-master-detail-page.js +1 -1
  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 +6 -6
  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 +79 -79
  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 +1 -1
  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 +1 -0
  51. package/translations/ko.json +1 -0
  52. package/translations/ms.json +1 -0
  53. package/translations/zh.json +1 -0
@@ -1,4 +1,23 @@
1
- function a0_0xf0e3(){const _0x7a70c4=['6cODVAj','6669666qEXJJz','846737mubROi','5640590jzaAtm','UPDATE_META_UI','dynamic-menu','4403lKLsMV','2555455pAftDQ','portrait','8QkTlnQ','18RPMCmt','FRONT_END','lite-menu-part','91978qvLmwI','NAVBAR','hamburger','dynamic-menu-part','22384XCVNZe','1122IgooBS','get','UPDATE_META_MENU_TEMPLATE','dispatch','landscape','value','344088VItXgR'];a0_0xf0e3=function(){return _0x7a70c4;};return a0_0xf0e3();}const a0_0x35b1a8=a0_0x2a99;(function(_0x47181c,_0x57e39c){const _0x15f1b4=a0_0x2a99,_0x15871e=_0x47181c();while(!![]){try{const _0xa54e8f=parseInt(_0x15f1b4(0x17f))/0x1+parseInt(_0x15f1b4(0x18a))/0x2*(-parseInt(_0x15f1b4(0x196))/0x3)+-parseInt(_0x15f1b4(0x186))/0x4*(parseInt(_0x15f1b4(0x184))/0x5)+-parseInt(_0x15f1b4(0x17e))/0x6+parseInt(_0x15f1b4(0x183))/0x7*(-parseInt(_0x15f1b4(0x18e))/0x8)+-parseInt(_0x15f1b4(0x187))/0x9*(-parseInt(_0x15f1b4(0x180))/0xa)+-parseInt(_0x15f1b4(0x18f))/0xb*(-parseInt(_0x15f1b4(0x195))/0xc);if(_0xa54e8f===_0x57e39c)break;else _0x15871e['push'](_0x15871e['shift']());}catch(_0x269dd0){_0x15871e['push'](_0x15871e['shift']());}}}(a0_0xf0e3,0xdf1e2));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import{html}from'lit';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0x2a99(_0x1ad923,_0x1a0400){const _0xf0e353=a0_0xf0e3();return a0_0x2a99=function(_0x2a99bf,_0x106331){_0x2a99bf=_0x2a99bf-0x17e;let _0x1939ca=_0xf0e353[_0x2a99bf];return _0x1939ca;},a0_0x2a99(_0x1ad923,_0x1a0400);}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_0x453d35}from'@things-factory/lite-menu';export const UPDATE_META_UI=a0_0x35b1a8(0x181);export const UPDATE_META_MENU_TEMPLATE=a0_0x35b1a8(0x191);var HAMBURGER;export async function setupMenuPart(_0x521e29){const _0x377b4c=a0_0x35b1a8;var {hovering:_0x897656=!!isMobileDevice(),slotTemplate:_0x35884b,portraitSlotTemplate:_0x4ed09f,landscapeSlotTemplate:_0x6ff4c,position:_0x91fe2b=VIEWPART_POSITION[_0x377b4c(0x18b)]}=_0x521e29||{};const {hovering:_0x14fac7}=(await clientSettingStore[_0x377b4c(0x190)](_0x377b4c(0x182)))?.[_0x377b4c(0x194)]||{};void 0x0!==_0x14fac7&&(_0x897656=_0x14fac7);const _0x537fcc=_0x91fe2b==VIEWPART_POSITION['HEADERBAR']?_0x377b4c(0x193):_0x377b4c(0x185),_0x12b23b=(_0x377b4c(0x193)==_0x537fcc?_0x6ff4c:_0x4ed09f)||_0x35884b||html``;appendViewpart({'name':_0x377b4c(0x189),'viewpart':{'show':!_0x897656,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x897656,'template':html`<dynamic-menu-part .orientation=${_0x537fcc}>${_0x12b23b}</dynamic-menu-part>`},'position':_0x91fe2b}),_0x897656&&_0x377b4c(0x185)==_0x537fcc?HAMBURGER||(HAMBURGER={'name':_0x377b4c(0x18c),'template':html`
2
- <mwc-icon @click=${_0x474573=>toggleOverlay(_0x377b4c(0x18d),{'backdrop':!0x0})}
1
+ const a0_0x2f9244=a0_0x4131;(function(_0x396741,_0x5b0f0c){const _0x1369cc=a0_0x4131,_0x532d04=_0x396741();while(!![]){try{const _0x4cd723=parseInt(_0x1369cc(0xce))/0x1*(-parseInt(_0x1369cc(0xb8))/0x2)+-parseInt(_0x1369cc(0xcb))/0x3*(-parseInt(_0x1369cc(0xb6))/0x4)+-parseInt(_0x1369cc(0xbc))/0x5*(parseInt(_0x1369cc(0xbd))/0x6)+parseInt(_0x1369cc(0xb4))/0x7+parseInt(_0x1369cc(0xcd))/0x8*(-parseInt(_0x1369cc(0xc8))/0x9)+-parseInt(_0x1369cc(0xc9))/0xa+parseInt(_0x1369cc(0xc5))/0xb;if(_0x4cd723===_0x5b0f0c)break;else _0x532d04['push'](_0x532d04['shift']());}catch(_0x2e8efb){_0x532d04['push'](_0x532d04['shift']());}}}(a0_0x177d,0xd1162));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x2bc071 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x4131(_0x15918d,_0x419bdb){const _0x177d1c=a0_0x177d();return a0_0x4131=function(_0x4131e0,_0x526a41){_0x4131e0=_0x4131e0-0xb2;let _0x510e5d=_0x177d1c[_0x4131e0];return _0x510e5d;},a0_0x4131(_0x15918d,_0x419bdb);}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';export const UPDATE_META_UI=a0_0x2f9244(0xbb);function a0_0x177d(){const _0x382bb0=['946794evdoDQ','querySelector','UPDATE_META_MENU_TEMPLATE','items','meta[name=\x22application-name\x22]','landscape','dispatch','data','31396255vYRQHO','active','dynamic-menu-part','423AqbNMt','9962270KQFzhH','liteMenus','4137393LjqaCL','content','165904LycSPe','926508nTNzcD','value','NAVBAR','hamburger','portrait','rank','get','6584858FnhKey','appName','4ZGllJb','dynamic-menu','2DabVWv','lite-menu-part','query','UPDATE_META_UI','45iRmpUY'];a0_0x177d=function(){return _0x382bb0;};return a0_0x177d();}export const UPDATE_META_MENU_TEMPLATE=a0_0x2f9244(0xbf);var HAMBURGER;export async function setupMenuPart(_0x5297a2){const _0x56fe46=a0_0x2f9244;var {hovering:_0x3562e4=!!isMobileDevice(),slotTemplate:_0x510ba8,portraitSlotTemplate:_0x505f5e,landscapeSlotTemplate:_0x2ae62e,position:_0x598724=VIEWPART_POSITION[_0x56fe46(0xd0)]}=_0x5297a2||{};const {hovering:_0x5eb76c}=(await clientSettingStore[_0x56fe46(0xb3)](_0x56fe46(0xb7)))?.[_0x56fe46(0xcf)]||{};void 0x0!==_0x5eb76c&&(_0x3562e4=_0x5eb76c);const _0x5bfdc3=_0x598724==VIEWPART_POSITION['HEADERBAR']?_0x56fe46(0xc2):'portrait',_0x458922=(_0x56fe46(0xc2)==_0x5bfdc3?_0x2ae62e:_0x505f5e)||_0x510ba8||html``;appendViewpart({'name':_0x56fe46(0xb9),'viewpart':{'show':!_0x3562e4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x3562e4,'template':html`<dynamic-menu-part .orientation=${_0x5bfdc3}>${_0x458922}</dynamic-menu-part>`},'position':_0x598724}),_0x3562e4&&_0x56fe46(0xd2)==_0x5bfdc3?HAMBURGER||(HAMBURGER={'name':_0x56fe46(0xd1),'template':html`
2
+ <mwc-icon @click=${_0x35433e=>toggleOverlay(_0x56fe46(0xc7),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x377b4c(0x188)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x377b4c(0x192)]({'type':REMOVE_APP_TOOL,'name':_0x377b4c(0x18c)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x22ff38){const _0x466847=a0_0x35b1a8;a0_0x453d35(_0x22ff38),store[_0x466847(0x192)]({'type':UPDATE_META_MENU_TEMPLATE,'template':_0x22ff38});}
4
+ `,'position':TOOL_POSITION['FRONT_END']},store[_0x56fe46(0xc3)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x56fe46(0xc3)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x3509ac){const _0x53f580=a0_0x2f9244;var _0x3f271d=document[_0x53f580(0xbe)](_0x53f580(0xc1))?.[_0x53f580(0xcc)],_0x843b85=(await client[_0x53f580(0xba)]({'query':a0_0x2bc071`
5
+ query ($filters: [Filter!], $sortings: [Sorting!]) {
6
+ liteMenus: liteMenus(filters: $filters
7
+ sortings: $sortings) {
8
+ items {
9
+ id
10
+ name
11
+ description
12
+ appName
13
+ parent
14
+ rank
15
+ active
16
+ type
17
+ value
18
+ icon
19
+ }
20
+ total
21
+ }
22
+ }
23
+ `,'variables':{'filters':[{'name':_0x53f580(0xc6),'operator':'eq','value':!0x0},{'name':_0x53f580(0xb5),'operator':'in','value':['',_0x3f271d]}],'sortings':[{'name':_0x53f580(0xb2),'desc':!0x1}]}}))[_0x53f580(0xc4)][_0x53f580(0xca)][_0x53f580(0xc0)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x843b85['filter'](_0x305abb=>!_0x305abb[_0x53f580(0xb5)]||_0x305abb[_0x53f580(0xb5)]===_0x3f271d),'template':_0x3509ac});}
@@ -1 +1 @@
1
- function a0_0x5f17(_0x37bac0,_0x220109){const _0x2396d8=a0_0x2396();return a0_0x5f17=function(_0x5f1767,_0x1c7a54){_0x5f1767=_0x5f1767-0x81;let _0x254d3f=_0x2396d8[_0x5f1767];return _0x254d3f;},a0_0x5f17(_0x37bac0,_0x220109);}const a0_0x440785=a0_0x5f17;(function(_0x25ca61,_0x5d9f0b){const _0x5f1287=a0_0x5f17,_0x49ce55=_0x25ca61();while(!![]){try{const _0x48694=parseInt(_0x5f1287(0x9d))/0x1*(-parseInt(_0x5f1287(0x9e))/0x2)+parseInt(_0x5f1287(0x84))/0x3*(-parseInt(_0x5f1287(0x88))/0x4)+-parseInt(_0x5f1287(0x86))/0x5+-parseInt(_0x5f1287(0x9f))/0x6*(parseInt(_0x5f1287(0xab))/0x7)+-parseInt(_0x5f1287(0x93))/0x8+parseInt(_0x5f1287(0x8e))/0x9*(-parseInt(_0x5f1287(0x87))/0xa)+parseInt(_0x5f1287(0x95))/0xb;if(_0x48694===_0x5d9f0b)break;else _0x49ce55['push'](_0x49ce55['shift']());}catch(_0x4113e4){_0x49ce55['push'](_0x49ce55['shift']());}}}(a0_0x2396,0xadbf2));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x2396(){const _0x193332=['isEmpty','name','errors','title_detail','9208717kBotuF','tTitle','is_popup','filterForm','getMenuMeta','title','parseBasicButtonConfigs','3XsZfce','etcConfig','6280830aspJNt','10qybpgY','190732KiXVXy','parseBasicTabConfigs','excuteOpenPopupButtonClick','is_detail','lifecycle','openDynamicPopup','3752901gNQYqj','parseBasicGridConfigs','isPage','fetchHandler','parseBasicServiceConfigs','7007672XioTwT','after','63030946WJQdmQ','params','parent_id','getAndParseMenuMeta','menu','setParentId','menuInfo','callScenario','178vcSGbd','12428vbpBqY','6FmqxAg','parseBasicFormConfigs','fetch','isPopup','split','etc','grist','isNotEmpty'];a0_0x2396=function(){return _0x193332;};return a0_0x2396();}export const MetaBaseMixin=_0x28b8a6=>class extends _0x28b8a6{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x5b6634=>Boolean(_0x5b6634)},'is_popup':{'type':Boolean,'converter':_0x2b8fa9=>Boolean(_0x2b8fa9)}};}get['isElement'](){const _0x25d683=a0_0x5f17;return!0x0===this['is_detail']||!0x0===this[_0x25d683(0xad)];}get['isDetail'](){const _0x1a691f=a0_0x5f17;return!ValueUtil[_0x1a691f(0xa7)](this[_0x1a691f(0x8b)])&&this['is_detail'];}async['pageUpdated'](_0x402da3,_0x4fa780,_0x1ff528){const _0x17393e=a0_0x5f17;let _0x16db47=this[_0x17393e(0x8c)]?.[_0x17393e(0x96)]?this[_0x17393e(0x8c)]['params']:{};this[_0x17393e(0x90)]&&this['active']&&0x0==_0x1ff528['active']&&ValueUtil['isNotEmpty'](_0x16db47)&&this[_0x17393e(0xa1)]();}get[a0_0x440785(0xa2)](){const _0x48a6ab=a0_0x440785;return!ValueUtil[_0x48a6ab(0xa7)](this[_0x48a6ab(0xad)])&&this['is_popup'];}get[a0_0x440785(0x90)](){const _0x11a321=a0_0x440785;return!this['is_detail']&&!this[_0x11a321(0xad)];}async[a0_0x440785(0x98)](){const _0xb880e5=a0_0x440785;let _0x463129=await MetaApi[_0xb880e5(0x81)](this);_0x463129&&(this[_0xb880e5(0x9b)]=_0x463129[_0xb880e5(0x99)],this[_0xb880e5(0x8f)]&&this['parseBasicGridConfigs'](_0x463129),this[_0xb880e5(0x92)]&&this[_0xb880e5(0x92)](_0x463129),this[_0xb880e5(0xa0)]&&this[_0xb880e5(0xa0)](_0x463129),this[_0xb880e5(0x89)]&&this[_0xb880e5(0x89)](_0x463129),this[_0xb880e5(0x83)]&&this[_0xb880e5(0x83)](_0x463129),this[_0xb880e5(0x85)]=_0x463129[_0xb880e5(0xa4)]);}async[a0_0x440785(0xa1)](){const _0xab440d=a0_0x440785;ValueUtil['isNotEmpty'](this['grist'])?this[_0xab440d(0xa5)][_0xab440d(0xa1)]():(ValueUtil[_0xab440d(0xa6)](this[_0xab440d(0xae)])||this['fetchHandler'])&&await this[_0xab440d(0x91)]();}async[a0_0x440785(0x8a)](_0x264d4f,_0x398ec1,_0x1800c2){const _0x533395=a0_0x440785;let _0x25e117=TermsUtil[_0x533395(0xac)](_0x264d4f[_0x533395(0x82)]);ValueUtil['isNotEmpty'](_0x264d4f[_0x533395(0xaa)])&&(_0x25e117=_0x25e117+'-'+ValueUtil['getParams'](_0x398ec1,..._0x264d4f[_0x533395(0xaa)][_0x533395(0xa3)]('.'))),MetaApi[_0x533395(0x8d)](_0x25e117,_0x264d4f,_0x398ec1,_0x1800c2);}async['executeCallScenarioButtonClick'](_0x18fbed,_0x36a7b6,_0x22e218){const _0x5a9b7a=a0_0x440785;let _0x3ca77a=await MetaApi[_0x5a9b7a(0x9c)](_0x18fbed[_0x5a9b7a(0xa8)],_0x18fbed['name'],_0x36a7b6);!0x1!==_0x3ca77a&&!_0x3ca77a[_0x5a9b7a(0xa9)]&&ValueUtil[_0x5a9b7a(0xa6)](_0x18fbed[_0x5a9b7a(0x94)])&&_0x22e218();}[a0_0x440785(0x9a)](_0x47304f){const _0x44f85b=a0_0x440785;this[_0x44f85b(0x97)]=_0x47304f,this[_0x44f85b(0xa1)]();}};
1
+ const a0_0x280c45=a0_0x392f;function a0_0x415e(){const _0x2236c3=['fetch','split','parseBasicButtonConfigs','lifecycle','parseBasicFormConfigs','active','51432QaGMZL','isPopup','12240cvZszv','5676396lLYAev','openDynamicPopup','94299MMsdFe','parseBasicServiceConfigs','52EHJprO','name','menuInfo','isEmpty','callScenario','isNotEmpty','pageUpdated','is_popup','isPage','parseBasicGridConfigs','12voyCKv','94zlcvGT','params','getAndParseMenuMeta','isDetail','parseBasicTabConfigs','etc','4932815rmtzOg','4411EpEbim','excuteOpenPopupButtonClick','1466626dUxDFo','setParentId','getMenuMeta','686bkKQLA','title_detail','801zwpYuD','getParams','parent_id','grist','is_detail','16etPLxM','properties'];a0_0x415e=function(){return _0x2236c3;};return a0_0x415e();}(function(_0x87f78b,_0x573967){const _0x49e80c=a0_0x392f,_0x1dba7b=_0x87f78b();while(!![]){try{const _0x328d5f=parseInt(_0x49e80c(0x1b0))/0x1*(-parseInt(_0x49e80c(0x1d1))/0x2)+parseInt(_0x49e80c(0x1c4))/0x3*(parseInt(_0x49e80c(0x1b7))/0x4)+-parseInt(_0x49e80c(0x1aa))/0x5+parseInt(_0x49e80c(0x1d0))/0x6*(-parseInt(_0x49e80c(0x1ad))/0x7)+parseInt(_0x49e80c(0x1bf))/0x8*(-parseInt(_0x49e80c(0x1b2))/0x9)+-parseInt(_0x49e80c(0x1c1))/0xa*(-parseInt(_0x49e80c(0x1ab))/0xb)+parseInt(_0x49e80c(0x1c2))/0xc*(parseInt(_0x49e80c(0x1c6))/0xd);if(_0x328d5f===_0x573967)break;else _0x1dba7b['push'](_0x1dba7b['shift']());}catch(_0x1efa9f){_0x1dba7b['push'](_0x1dba7b['shift']());}}}(a0_0x415e,0x79bea));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x392f(_0x20de3b,_0x3bdb11){const _0x415ed4=a0_0x415e();return a0_0x392f=function(_0x392f07,_0x3b05ef){_0x392f07=_0x392f07-0x1aa;let _0x3c789f=_0x415ed4[_0x392f07];return _0x3c789f;},a0_0x392f(_0x20de3b,_0x3bdb11);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x85d30e=>class extends _0x85d30e{static get[a0_0x280c45(0x1b8)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x593e6f=>Boolean(_0x593e6f)},'is_popup':{'type':Boolean,'converter':_0x3ba3ef=>Boolean(_0x3ba3ef)}};}get['isElement'](){const _0x21b433=a0_0x280c45;return!0x0===this[_0x21b433(0x1b6)]||!0x0===this[_0x21b433(0x1cd)];}get[a0_0x280c45(0x1d4)](){const _0x208ba2=a0_0x280c45;return!ValueUtil[_0x208ba2(0x1c9)](this['is_detail'])&&this[_0x208ba2(0x1b6)];}async[a0_0x280c45(0x1cc)](_0x19a1fa,_0x27cd3f,_0x3c89fb){const _0x2cee24=a0_0x280c45;let _0x54f08c=this[_0x2cee24(0x1bc)]?.[_0x2cee24(0x1d2)]?this[_0x2cee24(0x1bc)][_0x2cee24(0x1d2)]:{};this['isPage']&&this[_0x2cee24(0x1be)]&&0x0==_0x3c89fb[_0x2cee24(0x1be)]&&ValueUtil[_0x2cee24(0x1cb)](_0x54f08c)&&this['fetch']();}get[a0_0x280c45(0x1c0)](){const _0x2392ac=a0_0x280c45;return!ValueUtil[_0x2392ac(0x1c9)](this['is_popup'])&&this[_0x2392ac(0x1cd)];}get[a0_0x280c45(0x1ce)](){const _0x27b829=a0_0x280c45;return!this[_0x27b829(0x1b6)]&&!this[_0x27b829(0x1cd)];}async[a0_0x280c45(0x1d3)](){const _0x1f6250=a0_0x280c45;let _0x526691=await MetaApi[_0x1f6250(0x1af)](this);_0x526691&&(this[_0x1f6250(0x1c8)]=_0x526691['menu'],this['parseBasicGridConfigs']&&this[_0x1f6250(0x1cf)](_0x526691),this[_0x1f6250(0x1c5)]&&this[_0x1f6250(0x1c5)](_0x526691),this['parseBasicFormConfigs']&&this[_0x1f6250(0x1bd)](_0x526691),this['parseBasicTabConfigs']&&this[_0x1f6250(0x1d5)](_0x526691),this['parseBasicButtonConfigs']&&this[_0x1f6250(0x1bb)](_0x526691),this['etcConfig']=_0x526691[_0x1f6250(0x1d6)]);}async[a0_0x280c45(0x1b9)](){const _0x2c0d09=a0_0x280c45;ValueUtil[_0x2c0d09(0x1cb)](this[_0x2c0d09(0x1b5)])?this[_0x2c0d09(0x1b5)]['fetch']():(ValueUtil['isNotEmpty'](this['filterForm'])||this['fetchHandler'])&&await this['fetchHandler']();}async[a0_0x280c45(0x1ac)](_0x361d28,_0x2b4299,_0x826aae){const _0x34b458=a0_0x280c45;let _0x4a906a=TermsUtil['tTitle'](_0x361d28['title']);ValueUtil[_0x34b458(0x1cb)](_0x361d28[_0x34b458(0x1b1)])&&(_0x4a906a=_0x4a906a+'-'+ValueUtil[_0x34b458(0x1b3)](_0x2b4299,..._0x361d28['title_detail'][_0x34b458(0x1ba)]('.'))),MetaApi[_0x34b458(0x1c3)](_0x4a906a,_0x361d28,_0x2b4299,_0x826aae);}async['executeCallScenarioButtonClick'](_0x1e557a,_0x3e5d93,_0x3dced8){const _0x295f52=a0_0x280c45;let _0x31e87c=await MetaApi[_0x295f52(0x1ca)](_0x1e557a[_0x295f52(0x1c7)],_0x1e557a[_0x295f52(0x1c7)],_0x3e5d93);!0x1!==_0x31e87c&&!_0x31e87c['errors']&&ValueUtil[_0x295f52(0x1cb)](_0x1e557a['after'])&&_0x3dced8();}[a0_0x280c45(0x1ae)](_0x3fa2e1){const _0x27093a=a0_0x280c45;this[_0x27093a(0x1b4)]=_0x3fa2e1,this[_0x27093a(0x1b9)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0x147bac=a0_0x3146;(function(_0x74bd2f,_0x25dff8){const _0x2165e4=a0_0x3146,_0x52da01=_0x74bd2f();while(!![]){try{const _0x2cd2c3=-parseInt(_0x2165e4(0xa0))/0x1+-parseInt(_0x2165e4(0x9f))/0x2+parseInt(_0x2165e4(0xb7))/0x3*(-parseInt(_0x2165e4(0x99))/0x4)+-parseInt(_0x2165e4(0xab))/0x5+-parseInt(_0x2165e4(0xa3))/0x6*(parseInt(_0x2165e4(0x8a))/0x7)+parseInt(_0x2165e4(0x96))/0x8*(-parseInt(_0x2165e4(0xae))/0x9)+-parseInt(_0x2165e4(0x9c))/0xa*(-parseInt(_0x2165e4(0xa8))/0xb);if(_0x2cd2c3===_0x25dff8)break;else _0x52da01['push'](_0x52da01['shift']());}catch(_0x10284c){_0x52da01['push'](_0x52da01['shift']());}}}(a0_0x3fab,0x3dda4));import{html}from'lit';function a0_0x3fab(){const _0x2b2530=['title','24118039GjtZUF','parseBasicGridConfigs','getBasicGristStyles','1027880fOQxjF','parseGridConfigSet','updateMultiple','44037uwhdsh','save','fetch','searchConfig','getContextObject','import','grid_column','gridConfig','export','106287MLmneE','styles','renderRoot','render','menuInfo','exportableData','ox-grist','search','329oLeWCt','parseGristConfigs','filterFormId','tTitle','deleteByIds','gristId','connectedCallback','isNotEmpty','findOne','grid','gridColumnConfig','clear','512FdVQMW','isElement','getSelectedIdList','40ysVbik','context','firstUpdated','10OJKxBv','delete','getParams','908892jQMVbh','360898vHnHou','querySelector','isPage','32022iLauvr','filterForm','grist','find'];a0_0x3fab=function(){return _0x2b2530;};return a0_0x3fab();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x3146(_0x1838f1,_0x1facdb){const _0x3fab9d=a0_0x3fab();return a0_0x3146=function(_0x31460a,_0xb2750e){_0x31460a=_0x31460a-0x85;let _0x6fef9c=_0x3fab9d[_0x31460a];return _0x6fef9c;},a0_0x3146(_0x1838f1,_0x1facdb);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x50b2b9=>class extends MetaButtonMixin(_0x50b2b9){static get[a0_0x147bac(0xb8)](){const _0x37eed1=a0_0x147bac;return MetaApi[_0x37eed1(0xaa)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x147bac(0xa5)](){const _0x2b9452=a0_0x147bac;return this[_0x2b9452(0xb9)]?.[_0x2b9452(0xa1)](this[_0x2b9452(0x8f)]);}get[a0_0x147bac(0xa4)](){const _0x40c13d=a0_0x147bac;return this['shadowRoot']?.[_0x40c13d(0xa1)](this[_0x40c13d(0x8c)]);}get[a0_0x147bac(0x9a)](){const _0x516ed5=a0_0x147bac;return MetaUiUtil[_0x516ed5(0xb2)](this);}async['connectedCallback'](){const _0x58ba66=a0_0x147bac;this[_0x58ba66(0x8f)]=_0x58ba66(0x88),this[_0x58ba66(0x8c)]='ox-filters-form',await this['getAndParseMenuMeta'](),this[_0x58ba66(0x97)]&&await this[_0x58ba66(0x8b)](),super[_0x58ba66(0x90)]&&await super[_0x58ba66(0x90)]();}async['firstUpdated'](){const _0x9a1e8e=a0_0x147bac;super[_0x9a1e8e(0x9b)]&&await super[_0x9a1e8e(0x9b)]();}async['pageInitialized'](){const _0x44fde7=a0_0x147bac;this['isPage']&&await this[_0x44fde7(0x8b)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x147bac(0x85)](){const _0x3dfcfb=a0_0x147bac;return html`
2
- ${MetaApi['getBasicGristHtml'](this)}
3
- ${this[_0x3dfcfb(0xa2)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
- `;}[a0_0x147bac(0xa9)](_0x2463eb){const _0x18034f=a0_0x147bac;this[_0x18034f(0xb5)]=_0x2463eb[_0x18034f(0x93)],this[_0x18034f(0x94)]=_0x2463eb[_0x18034f(0xb4)],this[_0x18034f(0xb1)]=_0x2463eb[_0x18034f(0x89)];}async['parseGristConfigs'](){const _0x4c3506=a0_0x147bac;this['gristConfigSet']=await MetaApi[_0x4c3506(0xac)](this);}async['fetch'](){const _0x57ddde=a0_0x147bac;await this[_0x57ddde(0xa5)][_0x57ddde(0xb0)]();}async[a0_0x147bac(0xaf)](){const _0x3be3e6=a0_0x147bac;let _0x31958b=MetaApi['patchesForUpdateMultiple'](this[_0x3be3e6(0xa5)]);!!ValueUtil[_0x3be3e6(0x91)](_0x31958b)&&await this[_0x3be3e6(0xad)](_0x31958b)&&this[_0x3be3e6(0xb0)]();}async[a0_0x147bac(0xa6)](){const _0xe50d3c=a0_0x147bac;let _0x273bd4=MetaApi[_0xe50d3c(0x98)](this['grist'],!0x0);return ValueUtil['isNotEmpty'](_0x273bd4)?await this[_0xe50d3c(0x92)](_0x273bd4[0x0]):{};}async[a0_0x147bac(0x9d)](){const _0x440818=a0_0x147bac;let _0x2cdc90=MetaApi[_0x440818(0x98)](this[_0x440818(0xa5)],!0x0);!!ValueUtil['isNotEmpty'](_0x2cdc90)&&await this[_0x440818(0x8e)](_0x2cdc90)&&this[_0x440818(0xb0)]();}async[a0_0x147bac(0xb6)](){const _0x329da5=a0_0x147bac;let _0xa8935b=TermsUtil[_0x329da5(0x8d)](ValueUtil[_0x329da5(0x9e)](this[_0x329da5(0x86)],_0x329da5(0xa7)));return await MetaApi[_0x329da5(0x87)](this[_0x329da5(0x97)],_0xa8935b,this[_0x329da5(0xa5)]);}async[a0_0x147bac(0xb3)](){}async[a0_0x147bac(0x95)](){const _0x19739c=a0_0x147bac;this[_0x19739c(0xa5)]&&(this[_0x19739c(0xa5)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};
1
+ const a0_0x5699a6=a0_0xf179;(function(_0x4260ff,_0x95fa9b){const _0x3772b1=a0_0xf179,_0x45efe2=_0x4260ff();while(!![]){try{const _0x25ac49=parseInt(_0x3772b1(0xcd))/0x1+-parseInt(_0x3772b1(0xe9))/0x2*(-parseInt(_0x3772b1(0xed))/0x3)+-parseInt(_0x3772b1(0xeb))/0x4+parseInt(_0x3772b1(0xc7))/0x5+parseInt(_0x3772b1(0xde))/0x6*(parseInt(_0x3772b1(0xef))/0x7)+parseInt(_0x3772b1(0xee))/0x8+parseInt(_0x3772b1(0xda))/0x9*(-parseInt(_0x3772b1(0xf6))/0xa);if(_0x25ac49===_0x95fa9b)break;else _0x45efe2['push'](_0x45efe2['shift']());}catch(_0x3d6214){_0x45efe2['push'](_0x45efe2['shift']());}}}(a0_0x3f4e,0xb8668));function a0_0xf179(_0x285326,_0x111158){const _0x3f4e3c=a0_0x3f4e();return a0_0xf179=function(_0xf179d1,_0x37eccf){_0xf179d1=_0xf179d1-0xc7;let _0x269e7d=_0x3f4e3c[_0xf179d1];return _0x269e7d;},a0_0xf179(_0x285326,_0x111158);}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';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x3b3229=>class extends MetaButtonMixin(_0x3b3229){static get[a0_0x5699a6(0xe1)](){return MetaApi['getBasicGristStyles']();}static get[a0_0x5699a6(0xca)](){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_0x5699a6(0xe3)](){const _0x3ecd68=a0_0x5699a6;return this[_0x3ecd68(0xd4)]?.['querySelector'](this[_0x3ecd68(0xe5)]);}get[a0_0x5699a6(0xf9)](){const _0x6311f6=a0_0x5699a6;return this[_0x6311f6(0xd5)]?.[_0x6311f6(0xf8)](this[_0x6311f6(0xd7)]);}get[a0_0x5699a6(0xd3)](){const _0x4dc7a0=a0_0x5699a6;return MetaUiUtil[_0x4dc7a0(0xce)](this);}async[a0_0x5699a6(0xd0)](){const _0x312f3d=a0_0x5699a6;this[_0x312f3d(0xe5)]=_0x312f3d(0xdd),this['filterFormId']='ox-filters-form',await this[_0x312f3d(0xdc)](),this['isElement']&&await this['parseGristConfigs'](),super[_0x312f3d(0xd0)]&&await super[_0x312f3d(0xd0)]();}async['firstUpdated'](){const _0x1d98e3=a0_0x5699a6;super[_0x1d98e3(0xf0)]&&await super[_0x1d98e3(0xf0)]();}async[a0_0x5699a6(0xdb)](){const _0x2dddd1=a0_0x5699a6;this[_0x2dddd1(0xe2)]&&await this[_0x2dddd1(0xf1)](),super[_0x2dddd1(0xdb)]&&await super[_0x2dddd1(0xdb)]();}[a0_0x5699a6(0xd2)](){const _0x33a0ed=a0_0x5699a6;return html`
2
+ ${MetaApi[_0x33a0ed(0xe7)](this)}
3
+ ${this[_0x33a0ed(0xe2)]?html``:MetaUiUtil[_0x33a0ed(0xc8)](this)}
4
+ `;}[a0_0x5699a6(0xea)](_0x5eaab3){const _0x42c982=a0_0x5699a6;this[_0x42c982(0xfa)]=_0x5eaab3[_0x42c982(0xf2)],this[_0x42c982(0xf3)]=_0x5eaab3[_0x42c982(0xc9)],this['searchConfig']=_0x5eaab3['search'];}async[a0_0x5699a6(0xf1)](){const _0x2dc9dd=a0_0x5699a6;this[_0x2dc9dd(0xcb)]=await MetaApi[_0x2dc9dd(0xd8)](this);}async[a0_0x5699a6(0xfb)](){const _0x2f8f86=a0_0x5699a6;await this[_0x2f8f86(0xe3)][_0x2f8f86(0xfb)]();}async[a0_0x5699a6(0xe8)](){const _0x382281=a0_0x5699a6;let _0x118f0e=MetaApi[_0x382281(0xf7)](this[_0x382281(0xe3)]);!!ValueUtil[_0x382281(0xe6)](_0x118f0e)&&await this[_0x382281(0xe0)](_0x118f0e)&&this[_0x382281(0xfb)]();}async['find'](){const _0x3e9fae=a0_0x5699a6;let _0x332514=MetaApi[_0x3e9fae(0xdf)](this[_0x3e9fae(0xe3)],!0x0);return ValueUtil['isNotEmpty'](_0x332514)?await this[_0x3e9fae(0xcf)](_0x332514[0x0]):{};}async[a0_0x5699a6(0xd1)](){const _0x55828b=a0_0x5699a6;let _0xb77901=MetaApi[_0x55828b(0xdf)](this[_0x55828b(0xe3)],!0x0);!!ValueUtil[_0x55828b(0xe6)](_0xb77901)&&await this[_0x55828b(0xe4)](_0xb77901)&&this[_0x55828b(0xfb)]();}async[a0_0x5699a6(0xf4)](){const _0x1b2f14=a0_0x5699a6;let _0xcb82b6=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x1b2f14(0xd9)],_0x1b2f14(0xcc)));return await MetaApi['exportableData'](this[_0x1b2f14(0xf5)],_0xcb82b6,this['grist']);}async[a0_0x5699a6(0xec)](){}async['clear'](){const _0x3ca79c=a0_0x5699a6;this['grist']&&(this['grist'][_0x3ca79c(0xd6)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};function a0_0x3f4e(){const _0x272e96=['gristId','isNotEmpty','getBasicGristHtml','save','1334VnxkSH','parseBasicGridConfigs','6040760jTHrOY','import','3633cWfzYj','4597152vwGmKI','20146PlDEiS','firstUpdated','parseGristConfigs','grid','gridColumnConfig','export','isElement','310EHpzpD','patchesForUpdateMultiple','querySelector','filterForm','gridConfig','fetch','3291725sLvpnn','getButtonContainer','grid_column','properties','gristConfigSet','title','223911OsphUS','getContextObject','findOne','connectedCallback','delete','render','context','renderRoot','shadowRoot','data','filterFormId','parseGridConfigSet','menuInfo','22311yvIrMK','pageInitialized','getAndParseMenuMeta','ox-grist','162deoXSd','getSelectedIdList','updateMultiple','styles','isPage','grist','deleteByIds'];a0_0x3f4e=function(){return _0x272e96;};return a0_0x3f4e();}
@@ -1 +1 @@
1
- const a0_0x3b825b=a0_0xb764;(function(_0x58baf1,_0x979895){const _0x3e5a1f=a0_0xb764,_0x74c747=_0x58baf1();while(!![]){try{const _0xe317d4=parseInt(_0x3e5a1f(0x1c7))/0x1*(parseInt(_0x3e5a1f(0x1c4))/0x2)+parseInt(_0x3e5a1f(0x1d0))/0x3+parseInt(_0x3e5a1f(0x1c1))/0x4+-parseInt(_0x3e5a1f(0x1cb))/0x5+parseInt(_0x3e5a1f(0x1bc))/0x6+parseInt(_0x3e5a1f(0x1c2))/0x7+parseInt(_0x3e5a1f(0x1c8))/0x8*(-parseInt(_0x3e5a1f(0x1c3))/0x9);if(_0xe317d4===_0x979895)break;else _0x74c747['push'](_0x74c747['shift']());}catch(_0x312587){_0x74c747['push'](_0x74c747['shift']());}}}(a0_0x2969,0xa22f7));function a0_0xb764(_0xebbfef,_0x330cdf){const _0x29695d=a0_0x2969();return a0_0xb764=function(_0xb76474,_0x5e1c6e){_0xb76474=_0xb76474-0x1bb;let _0x262d6e=_0x29695d[_0xb76474];return _0x262d6e;},a0_0xb764(_0xebbfef,_0x330cdf);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x2969(){const _0x2ed5bc=['button','getCustomButtonContainerStyle','58890cpSIOD','import','properties','getCustomButtonContainerStyles','useButtonExport','3058095mcoqUh','gristButtonHandler','getContextButtons','useButtonAdd','2681934IQWJmJ','isButtonExist','getButtonContainer','useButtonImport','buttonConfig','3392124aDMOQj','743736zrqrHR','9hXZsPz','50306bEQQqP','add','customButtonHandler','44zBBPMr','22810208aUGvNT'];a0_0x2969=function(){return _0x2ed5bc;};return a0_0x2969();}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x4ae2c2=>class extends MetaServiceMixin(_0x4ae2c2){static get[a0_0x3b825b(0x1cd)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x3b825b(0x1ca)](){const _0x27b5f6=a0_0x3b825b;return MetaUiUtil[_0x27b5f6(0x1ce)]();}[a0_0x3b825b(0x1d2)](){const _0x417128=a0_0x3b825b;return MetaUiUtil[_0x417128(0x1d2)](this);}[a0_0x3b825b(0x1be)](){return this['isPage']?html``:MetaUiUtil['getButtonContainer'](this);}async['getBasicButtonHandler'](_0xa570db,_0x25027d,_0x57f9ff){return await MetaUiUtil['getButtonActionHandler'](this,_0xa570db,_0x25027d,_0x57f9ff);}async[a0_0x3b825b(0x1c6)](_0xce43e3){await MetaUiUtil['customButtonHandler'](this,_0xce43e3);}async[a0_0x3b825b(0x1d1)](_0xb7b54d,_0x5427e0){const _0x16337d=a0_0x3b825b;await MetaUiUtil[_0x16337d(0x1d1)](this,_0xb7b54d,_0x5427e0);}['parseBasicButtonConfigs'](_0x2e2f5f){const _0x3627e7=a0_0x3b825b;this[_0x3627e7(0x1c0)]=_0x2e2f5f[_0x3627e7(0x1c9)],this[_0x3627e7(0x1bf)]=MetaUiUtil[_0x3627e7(0x1bd)](this[_0x3627e7(0x1c0)],_0x3627e7(0x1cc)),this[_0x3627e7(0x1cf)]=MetaUiUtil['isButtonExist'](this[_0x3627e7(0x1c0)],'export'),this[_0x3627e7(0x1bb)]=MetaUiUtil[_0x3627e7(0x1bd)](this['buttonConfig'],_0x3627e7(0x1c5));}};
1
+ const a0_0x1b92d1=a0_0x470b;(function(_0x337d7f,_0x981aa){const _0x457848=a0_0x470b,_0x4d2f12=_0x337d7f();while(!![]){try{const _0x281a54=-parseInt(_0x457848(0x171))/0x1*(-parseInt(_0x457848(0x178))/0x2)+-parseInt(_0x457848(0x177))/0x3*(parseInt(_0x457848(0x181))/0x4)+parseInt(_0x457848(0x179))/0x5*(-parseInt(_0x457848(0x17a))/0x6)+-parseInt(_0x457848(0x186))/0x7+-parseInt(_0x457848(0x17e))/0x8*(-parseInt(_0x457848(0x182))/0x9)+-parseInt(_0x457848(0x17b))/0xa*(parseInt(_0x457848(0x17d))/0xb)+-parseInt(_0x457848(0x189))/0xc*(-parseInt(_0x457848(0x18d))/0xd);if(_0x281a54===_0x981aa)break;else _0x4d2f12['push'](_0x4d2f12['shift']());}catch(_0x39e18f){_0x4d2f12['push'](_0x4d2f12['shift']());}}}(a0_0x11a5,0x9476d));function a0_0x470b(_0x332f61,_0x3dea4f){const _0x11a54f=a0_0x11a5();return a0_0x470b=function(_0x470b00,_0x265e71){_0x470b00=_0x470b00-0x171;let _0x5c7eed=_0x11a54f[_0x470b00];return _0x5c7eed;},a0_0x470b(_0x332f61,_0x3dea4f);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x11a5(){const _0xab4c60=['customButtonHandler','isButtonExist','44ORbOVj','108nMfCnl','getButtonContainer','getButtonActionHandler','useButtonImport','246330tJRbJx','add','gristButtonHandler','24220968uTbCxk','parseBasicButtonConfigs','properties','getContextButtons','13mwXlmK','getBasicButtonHandler','buttonConfig','557402drwtMf','getCustomButtonContainerStyles','isPage','button','import','useButtonAdd','41811ImWjWT','2GvIGbz','36200hYIBXU','960bMKEbi','10nJaxue','getCustomButtonContainerStyle','12581074uEyQuo','348616FEpjCM'];a0_0x11a5=function(){return _0xab4c60;};return a0_0x11a5();}export const MetaButtonMixin=_0x34afa5=>class extends MetaServiceMixin(_0x34afa5){static get[a0_0x1b92d1(0x18b)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1b92d1(0x17c)](){const _0x54fc69=a0_0x1b92d1;return MetaUiUtil[_0x54fc69(0x172)]();}[a0_0x1b92d1(0x18c)](){const _0x35a6bf=a0_0x1b92d1;return MetaUiUtil[_0x35a6bf(0x18c)](this);}[a0_0x1b92d1(0x183)](){const _0x560000=a0_0x1b92d1;return this[_0x560000(0x173)]?html``:MetaUiUtil[_0x560000(0x183)](this);}async[a0_0x1b92d1(0x18e)](_0x267bcb,_0x103546,_0xf076ec){const _0x356f79=a0_0x1b92d1;return await MetaUiUtil[_0x356f79(0x184)](this,_0x267bcb,_0x103546,_0xf076ec);}async[a0_0x1b92d1(0x17f)](_0xd4a981){const _0x1fcd55=a0_0x1b92d1;await MetaUiUtil[_0x1fcd55(0x17f)](this,_0xd4a981);}async[a0_0x1b92d1(0x188)](_0x4e6b4c,_0x2ee052){const _0x24edff=a0_0x1b92d1;await MetaUiUtil[_0x24edff(0x188)](this,_0x4e6b4c,_0x2ee052);}[a0_0x1b92d1(0x18a)](_0x436c32){const _0x2de92f=a0_0x1b92d1;this[_0x2de92f(0x18f)]=_0x436c32[_0x2de92f(0x174)],this[_0x2de92f(0x185)]=MetaUiUtil[_0x2de92f(0x180)](this['buttonConfig'],_0x2de92f(0x175)),this['useButtonExport']=MetaUiUtil[_0x2de92f(0x180)](this[_0x2de92f(0x18f)],'export'),this[_0x2de92f(0x176)]=MetaUiUtil[_0x2de92f(0x180)](this[_0x2de92f(0x18f)],_0x2de92f(0x187));}};
@@ -1 +1 @@
1
- const a0_0x135409=a0_0x341a;(function(_0x328b6e,_0x55750c){const _0x65103=a0_0x341a,_0x2744f0=_0x328b6e();while(!![]){try{const _0xc25020=-parseInt(_0x65103(0xcb))/0x1*(parseInt(_0x65103(0xc1))/0x2)+-parseInt(_0x65103(0xc7))/0x3*(-parseInt(_0x65103(0xe4))/0x4)+parseInt(_0x65103(0xa6))/0x5+parseInt(_0x65103(0xeb))/0x6*(-parseInt(_0x65103(0xe7))/0x7)+-parseInt(_0x65103(0xb4))/0x8+parseInt(_0x65103(0xd3))/0x9+parseInt(_0x65103(0xd8))/0xa;if(_0xc25020===_0x55750c)break;else _0x2744f0['push'](_0x2744f0['shift']());}catch(_0x10845c){_0x2744f0['push'](_0x2744f0['shift']());}}}(a0_0x22e6,0x782fe));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x341a(_0x386f6b,_0x9226d3){const _0x22e637=a0_0x22e6();return a0_0x341a=function(_0x341a11,_0x57c244){_0x341a11=_0x341a11-0xa5;let _0x36b4a4=_0x22e637[_0x341a11];return _0x36b4a4;},a0_0x341a(_0x386f6b,_0x9226d3);}function a0_0x22e6(){const _0x2e656a=['properties','target','formRenderConfig','call','record','config','getBasicFormHtml','title.info','startsWith','Escape','5617472qlKkqV','after','render','isEquals','currentTarget','button','patchData','getAndParseMenuMeta','orgData','click','currentData','grid_column','removeGarbageData','1209174HMZkkT','formConfigSet','removeAttribute','showAlertPopup','getContextObject','cuFlag','3CGXoNT','editable','parent_id','__dirty__','1xCQBoh','parseFormConfigs','true','name','save','before','isElement','addEventListener','4991553JpTzcU','getBasicFormStyles','clear','pageInitialized','__origin__','2612250JHntIc','parseBasicFormConfigs','text.NOTHING_CHANGED','firstUpdated','column','context','dirtyData','key','OX-GRID-FIELD','connectedCallback','__dirtyfields__','map','3213436wYTazC','entries','formColumnConfig','28YZlGCT','form','focus','updateMultiple','1154226MdlQuX','Enter','parseFormConfigSet','isEmpty','fetch','isPage','4746700CavAtq','field-change','keydown','editing'];a0_0x22e6=function(){return _0x2e656a;};return a0_0x22e6();}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x430b2d=>class extends MetaButtonMixin(_0x430b2d){static get['styles'](){const _0x227e89=a0_0x341a;return MetaApi[_0x227e89(0xd4)]();}static get[a0_0x135409(0xaa)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x135409(0xdd)](){const _0x26e35f=a0_0x135409;return MetaUiUtil[_0x26e35f(0xc5)](this);}async['connectedCallback'](){const _0x683654=a0_0x135409;if(this['config']){let {column:_0x3a0e0d=0x1}=this[_0x683654(0xaf)];this['column']=_0x3a0e0d;}await this[_0x683654(0xbb)](),this[_0x683654(0xd1)]&&await this['parseFormConfigs'](),super[_0x683654(0xe1)]&&await super[_0x683654(0xe1)](),this[_0x683654(0xd1)]&&await this[_0x683654(0xef)](),this['renderRoot'][_0x683654(0xd2)](_0x683654(0xa8),_0x2ec696=>{const _0x521fbf=_0x683654;switch(_0x2ec696[_0x521fbf(0xdf)]){case'Esc':case _0x521fbf(0xb3):case _0x521fbf(0xec):this[_0x521fbf(0xe9)](),this['currentTarget']&&this[_0x521fbf(0xb8)][_0x521fbf(0xc3)](_0x521fbf(0xa9)),this[_0x521fbf(0xb8)]=null;}}),this['renderRoot']['addEventListener'](_0x683654(0xbd),_0x3d836f=>{const _0x33e93e=_0x683654;_0x3d836f['stopPropagation']();let _0x4bdf05=_0x3d836f[_0x33e93e(0xab)];if(this[_0x33e93e(0xb8)]&&(this['focus'](),this[_0x33e93e(0xb8)]['removeAttribute'](_0x33e93e(0xa9))),_0x33e93e(0xe0)!==_0x4bdf05['tagName']||!_0x4bdf05[_0x33e93e(0xdc)][_0x33e93e(0xae)][_0x33e93e(0xc8)])return this[_0x33e93e(0xe9)](),void(this['currentTarget']=null);this[_0x33e93e(0xb8)]=_0x4bdf05,_0x4bdf05['setAttribute']('editing',_0x33e93e(0xcd));}),this[_0x683654(0xd2)](_0x683654(0xa7),_0x261ed0=>{const _0x5b7602=_0x683654;var {after:_0x28cfc1,before:_0x26970c,column:_0x6b5053,record:_0x2e858,row:_0x36596f}=_0x261ed0['detail'];if(ValueUtil[_0x5b7602(0xb7)](_0x28cfc1,_0x26970c))return;var _0x4cd38a=_0x6b5053['validation'];if(_0x4cd38a&&'function'==typeof _0x4cd38a&&!_0x4cd38a[_0x5b7602(0xad)](this,_0x28cfc1,_0x26970c,_0x2e858,_0x6b5053))return;let _0x379017=_0x6b5053['name'];_0x2e858[_0x379017]=_0x28cfc1,_0x2e858[_0x5b7602(0xe2)]=_0x2e858['__dirtyfields__']||{},_0x2e858['__dirtyfields__'][_0x379017]={'before':_0x2e858[_0x5b7602(0xd7)][_0x379017],'after':_0x2e858[_0x379017]},ValueUtil[_0x5b7602(0xb7)](_0x2e858[_0x5b7602(0xe2)][_0x379017][_0x5b7602(0xd0)],_0x2e858['__dirtyfields__'][_0x379017][_0x5b7602(0xb5)])&&delete _0x2e858[_0x5b7602(0xe2)][_0x379017],ValueUtil['isNotEmpty'](_0x2e858[_0x5b7602(0xe2)])?_0x2e858[_0x5b7602(0xca)]='M':_0x2e858[_0x5b7602(0xca)]='',this[_0x5b7602(0xae)]={..._0x2e858};});}async['firstUpdated'](){const _0x195f90=a0_0x135409;super[_0x195f90(0xdb)]&&await super[_0x195f90(0xdb)]();}async['pageInitialized'](){const _0x3e7870=a0_0x135409;this[_0x3e7870(0xa5)]&&await this[_0x3e7870(0xcc)](),super['pageInitialized']&&await super[_0x3e7870(0xd6)](),this[_0x3e7870(0xa5)]&&await this[_0x3e7870(0xef)]();}[a0_0x135409(0xb6)](){const _0x703623=a0_0x135409;return MetaApi[_0x703623(0xb0)](this);}[a0_0x135409(0xd9)](_0xa9f052){const _0x3d0e49=a0_0x135409;this[_0x3d0e49(0xe6)]=_0xa9f052[_0x3d0e49(0xbf)],this[_0x3d0e49(0xac)]=_0xa9f052[_0x3d0e49(0xe8)],_0xa9f052[_0x3d0e49(0xb9)]=_0xa9f052[_0x3d0e49(0xb9)]['filter'](_0x3afda5=>'save'==_0x3afda5[_0x3d0e49(0xce)]);}async[a0_0x135409(0xcc)](){const _0x153616=a0_0x135409;this[_0x153616(0xc2)]=await MetaApi[_0x153616(0xed)](this);}get[a0_0x135409(0xbc)](){const _0x33ce52=a0_0x135409;return this[_0x33ce52(0xc0)](this[_0x33ce52(0xae)][_0x33ce52(0xd7)]);}get[a0_0x135409(0xde)](){const _0x4a74e8=a0_0x135409;if(ValueUtil['isEmpty'](this[_0x4a74e8(0xae)]['__dirtyfields__']))return{};let _0xd8f6e0={};return Object[_0x4a74e8(0xe5)](this['record'][_0x4a74e8(0xe2)])[_0x4a74e8(0xe3)](([_0x50a29e,_0x5c3b92])=>{const _0x982318=_0x4a74e8;0x0==_0x50a29e[_0x982318(0xb2)]('__')&&(_0xd8f6e0[_0x50a29e]=_0x5c3b92[_0x982318(0xb5)]);}),_0xd8f6e0;}get[a0_0x135409(0xbe)](){const _0x55e361=a0_0x135409;return this[_0x55e361(0xc0)](this[_0x55e361(0xae)]);}['removeGarbageData'](_0x1f9fde){const _0x48202e=a0_0x135409;let _0x39178a={};return Object[_0x48202e(0xe5)](_0x1f9fde)['map'](([_0x10c5ca,_0x3bc54b])=>{const _0x1aa4dd=_0x48202e;0x0==_0x10c5ca[_0x1aa4dd(0xb2)]('__')&&(_0x39178a[_0x10c5ca]=_0x3bc54b);}),_0x39178a;}get[a0_0x135409(0xba)](){const _0x528ef3=a0_0x135409;let _0x4452f4=this['dirtyData'],_0x57da3c=this[_0x528ef3(0xae)];return ValueUtil[_0x528ef3(0xee)](_0x4452f4)?{}:(ValueUtil['isNotEmpty'](_0x57da3c['id'])?(_0x4452f4['id']=_0x57da3c['id'],_0x4452f4[_0x528ef3(0xc6)]='M'):_0x4452f4[_0x528ef3(0xc6)]='+',[_0x4452f4]);}async[a0_0x135409(0xef)](){const _0x2bb074=a0_0x135409;if(ValueUtil[_0x2bb074(0xee)](this[_0x2bb074(0xc9)]))return;let _0x11153d=await this['findOne'](this[_0x2bb074(0xc9)]);_0x11153d['__seq__']=0x1;let _0x175097={};Object['assign'](_0x175097,_0x11153d),_0x11153d[_0x2bb074(0xd7)]=_0x175097,this['record']={..._0x11153d};}async[a0_0x135409(0xcf)](){const _0x11c4a1=a0_0x135409;let _0x58de4d=this[_0x11c4a1(0xba)];if(ValueUtil['isEmpty'](_0x58de4d))return void MetaApi[_0x11c4a1(0xc4)](_0x11c4a1(0xb1),_0x11c4a1(0xda));let _0x141d03=await this[_0x11c4a1(0xea)](_0x58de4d);return _0x141d03&&await this[_0x11c4a1(0xef)](),_0x141d03;}async[a0_0x135409(0xd5)](){const _0x78137e=a0_0x135409;this[_0x78137e(0xae)]&&(this[_0x78137e(0xae)]={});}};
1
+ const a0_0x487acb=a0_0xc283;(function(_0x577522,_0x2fc867){const _0x4bac48=a0_0xc283,_0x235a9d=_0x577522();while(!![]){try{const _0x114335=parseInt(_0x4bac48(0x1a0))/0x1+-parseInt(_0x4bac48(0x1b4))/0x2*(-parseInt(_0x4bac48(0x1a3))/0x3)+parseInt(_0x4bac48(0x1a1))/0x4+parseInt(_0x4bac48(0x1da))/0x5*(parseInt(_0x4bac48(0x1ce))/0x6)+-parseInt(_0x4bac48(0x196))/0x7*(parseInt(_0x4bac48(0x19a))/0x8)+-parseInt(_0x4bac48(0x1de))/0x9+-parseInt(_0x4bac48(0x1af))/0xa;if(_0x114335===_0x2fc867)break;else _0x235a9d['push'](_0x235a9d['shift']());}catch(_0x3eca5f){_0x235a9d['push'](_0x235a9d['shift']());}}}(a0_0x3e3b,0x9ad49));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x3e3b(){const _0x1029d9=['11263cSQfye','column','save','startsWith','3496zAtKJG','formConfigSet','__seq__','name','field-change','function','484238oGasUy','1285104wLpCEe','orgData','9NiyjAk','text.NOTHING_CHANGED','keydown','isEmpty','firstUpdated','removeAttribute','setAttribute','map','click','isPage','patchData','isEquals','14262150yOVBQc','fetch','clear','isElement','editing','679732ndSlNE','__dirtyfields__','currentTarget','properties','pageInitialized','findOne','editable','dirtyData','entries','target','OX-GRID-FIELD','getContextObject','key','updateMultiple','isNotEmpty','removeGarbageData','parseFormConfigs','formRenderConfig','Escape','getAndParseMenuMeta','__dirty__','forEach','getBasicFormStyles','detail','keys','grid_column','6xtCYST','connectedCallback','object','true','formColumnConfig','addEventListener','form','title.info','cuFlag','__origin__','renderRoot','Esc','5904345sDCSMh','after','stopPropagation','Enter','2182032vnNQkX','focus','record','parent_id','button','filter'];a0_0x3e3b=function(){return _0x1029d9;};return a0_0x3e3b();}function a0_0xc283(_0x4c467a,_0x5b04eb){const _0x3e3b19=a0_0x3e3b();return a0_0xc283=function(_0xc28358,_0x1d60d6){_0xc28358=_0xc28358-0x192;let _0x4d4592=_0x3e3b19[_0xc28358];return _0x4d4592;},a0_0xc283(_0x4c467a,_0x5b04eb);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x1d52d4=>class extends MetaButtonMixin(_0x1d52d4){static get['styles'](){const _0x5b2d85=a0_0xc283;return MetaApi[_0x5b2d85(0x1ca)]();}static get[a0_0x487acb(0x1b7)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x42158f=a0_0x487acb;return MetaUiUtil[_0x42158f(0x1bf)](this);}async[a0_0x487acb(0x1cf)](){const _0x5c77f4=a0_0x487acb;if(this['config']){let {column:_0x50e09f=0x1}=this['config'];this[_0x5c77f4(0x197)]=_0x50e09f;}await this[_0x5c77f4(0x1c7)](),this['isElement']&&await this[_0x5c77f4(0x1c4)](),super[_0x5c77f4(0x1cf)]&&await super[_0x5c77f4(0x1cf)](),this[_0x5c77f4(0x1b2)]&&await this[_0x5c77f4(0x1b0)](),this[_0x5c77f4(0x1d8)][_0x5c77f4(0x1d3)](_0x5c77f4(0x1a5),_0x48e644=>{const _0x30a944=_0x5c77f4;switch(_0x48e644[_0x30a944(0x1c0)]){case _0x30a944(0x1d9):case _0x30a944(0x1c6):case _0x30a944(0x1dd):this[_0x30a944(0x1df)](),this[_0x30a944(0x1b6)]&&this['currentTarget'][_0x30a944(0x1a8)](_0x30a944(0x1b3)),this[_0x30a944(0x1b6)]=null;}}),this[_0x5c77f4(0x1d8)]['addEventListener'](_0x5c77f4(0x1ab),_0xed3247=>{const _0x478a2b=_0x5c77f4;_0xed3247[_0x478a2b(0x1dc)]();let _0x4ce7bd=_0xed3247[_0x478a2b(0x1bd)];if(this['currentTarget']&&(this[_0x478a2b(0x1df)](),this[_0x478a2b(0x1b6)][_0x478a2b(0x1a8)](_0x478a2b(0x1b3))),_0x478a2b(0x1be)!==_0x4ce7bd['tagName']||!_0x4ce7bd[_0x478a2b(0x197)]['record'][_0x478a2b(0x1ba)])return this['focus'](),void(this[_0x478a2b(0x1b6)]=null);this[_0x478a2b(0x1b6)]=_0x4ce7bd,_0x4ce7bd[_0x478a2b(0x1a9)](_0x478a2b(0x1b3),_0x478a2b(0x1d1));}),this[_0x5c77f4(0x1d3)](_0x5c77f4(0x19e),_0x95e57d=>{const _0x1bc9fb=_0x5c77f4;var {after:_0x487e57,before:_0x9bba35,column:_0x2edb92,record:_0x4d7c67,row:_0x5afdad}=_0x95e57d[_0x1bc9fb(0x1cb)];if(ValueUtil[_0x1bc9fb(0x1ae)](_0x487e57,_0x9bba35))return;var _0xa47fb0=_0x2edb92['validation'];if(_0xa47fb0&&_0x1bc9fb(0x19f)==typeof _0xa47fb0&&!_0xa47fb0['call'](this,_0x487e57,_0x9bba35,_0x4d7c67,_0x2edb92))return;let _0x2b037c=_0x2edb92[_0x1bc9fb(0x19d)];_0x4d7c67[_0x2b037c]=_0x487e57,_0x4d7c67[_0x1bc9fb(0x1b5)]=_0x4d7c67['__dirtyfields__']||{},_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c]={'before':_0x4d7c67[_0x1bc9fb(0x1d7)][_0x2b037c],'after':_0x4d7c67[_0x2b037c]},ValueUtil[_0x1bc9fb(0x1ae)](_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c]['before'],_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c][_0x1bc9fb(0x1db)])&&delete _0x4d7c67['__dirtyfields__'][_0x2b037c],ValueUtil[_0x1bc9fb(0x1c2)](_0x4d7c67[_0x1bc9fb(0x1b5)])?_0x4d7c67[_0x1bc9fb(0x1c8)]='M':_0x4d7c67[_0x1bc9fb(0x1c8)]='',this[_0x1bc9fb(0x192)]={..._0x4d7c67};});}async['firstUpdated'](){const _0x2d3bc4=a0_0x487acb;super['firstUpdated']&&await super[_0x2d3bc4(0x1a7)]();}async[a0_0x487acb(0x1b8)](){const _0x243681=a0_0x487acb;this['isPage']&&await this[_0x243681(0x1c4)](),super[_0x243681(0x1b8)]&&await super[_0x243681(0x1b8)](),this[_0x243681(0x1ac)]&&await this[_0x243681(0x1b0)]();}['render'](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x50dc71){const _0x48b1c3=a0_0x487acb;this[_0x48b1c3(0x1d2)]=_0x50dc71[_0x48b1c3(0x1cd)],this[_0x48b1c3(0x1c5)]=_0x50dc71[_0x48b1c3(0x1d4)],_0x50dc71[_0x48b1c3(0x194)]=_0x50dc71[_0x48b1c3(0x194)][_0x48b1c3(0x195)](_0x43982f=>_0x48b1c3(0x198)==_0x43982f[_0x48b1c3(0x19d)]);}async['parseFormConfigs'](){const _0xadbc10=a0_0x487acb;this[_0xadbc10(0x19b)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x487acb(0x1a2)](){const _0x43a922=a0_0x487acb;return this[_0x43a922(0x1c3)](this['record'][_0x43a922(0x1d7)]);}get[a0_0x487acb(0x1bb)](){const _0x6520ff=a0_0x487acb;if(ValueUtil[_0x6520ff(0x1a6)](this['record'][_0x6520ff(0x1b5)]))return{};let _0x6c271a={};return Object[_0x6520ff(0x1bc)](this[_0x6520ff(0x192)]['__dirtyfields__'])[_0x6520ff(0x1aa)](([_0xde82b2,_0x2d4ae3])=>{const _0x48d159=_0x6520ff;0x0==_0xde82b2[_0x48d159(0x199)]('__')&&(_0x6c271a[_0xde82b2]=_0x2d4ae3['after']);}),_0x6c271a;}get['currentData'](){const _0x17db6d=a0_0x487acb;return this[_0x17db6d(0x1c3)](this[_0x17db6d(0x192)]);}['removeGarbageData'](_0x1635aa){const _0x537c0a=a0_0x487acb;let _0x3bf0f6={};return Object[_0x537c0a(0x1bc)](_0x1635aa)[_0x537c0a(0x1aa)](([_0x307cd1,_0x4f8692])=>{0x0==_0x307cd1['startsWith']('__')&&(_0x3bf0f6[_0x307cd1]=_0x4f8692);}),_0x3bf0f6;}get[a0_0x487acb(0x1ad)](){const _0x550f7c=a0_0x487acb;let _0x542880=this[_0x550f7c(0x1bb)],_0x2cde9a=this[_0x550f7c(0x192)];return ValueUtil['isEmpty'](_0x542880)?[]:(ValueUtil[_0x550f7c(0x1c2)](_0x2cde9a['id'])?(_0x542880['id']=_0x2cde9a['id'],_0x542880[_0x550f7c(0x1d6)]='M'):_0x542880[_0x550f7c(0x1d6)]='+',Object[_0x550f7c(0x1cc)](_0x542880)[_0x550f7c(0x1c9)](_0x2b7250=>{const _0x3b0127=_0x550f7c;_0x3b0127(0x1d0)==typeof _0x542880[_0x2b7250]&&(_0x542880[_0x2b7250]={'id':_0x542880[_0x2b7250]['id']});}),[_0x542880]);}async[a0_0x487acb(0x1b0)](){const _0xb18a5d=a0_0x487acb;if(ValueUtil['isEmpty'](this[_0xb18a5d(0x193)]))return;let _0x5a0bd9=await this[_0xb18a5d(0x1b9)](this[_0xb18a5d(0x193)]);_0x5a0bd9[_0xb18a5d(0x19c)]=0x1;let _0x14a6e3={};Object['assign'](_0x14a6e3,_0x5a0bd9),_0x5a0bd9[_0xb18a5d(0x1d7)]=_0x14a6e3,this['record']={..._0x5a0bd9};}async[a0_0x487acb(0x198)](){const _0x5a8aa8=a0_0x487acb;let _0x2d47dd=this[_0x5a8aa8(0x1ad)];if(ValueUtil[_0x5a8aa8(0x1a6)](_0x2d47dd))return void MetaApi['showAlertPopup'](_0x5a8aa8(0x1d5),_0x5a8aa8(0x1a4));let _0x104267=await this[_0x5a8aa8(0x1c1)](_0x2d47dd);return _0x104267&&await this[_0x5a8aa8(0x1b0)](),_0x104267;}async[a0_0x487acb(0x1b1)](){const _0x1cfb33=a0_0x487acb;this[_0x1cfb33(0x192)]&&(this['record']={});}};
@@ -1 +1 @@
1
- const a0_0x4a9969=a0_0x1066;(function(_0x1dcef1,_0x2b0d64){const _0x2e9197=a0_0x1066,_0x45fccb=_0x1dcef1();while(!![]){try{const _0x56e152=parseInt(_0x2e9197(0x1f1))/0x1*(parseInt(_0x2e9197(0x1c1))/0x2)+parseInt(_0x2e9197(0x1d1))/0x3+parseInt(_0x2e9197(0x1cc))/0x4*(parseInt(_0x2e9197(0x1f8))/0x5)+-parseInt(_0x2e9197(0x1d3))/0x6*(-parseInt(_0x2e9197(0x1e5))/0x7)+parseInt(_0x2e9197(0x1ed))/0x8+-parseInt(_0x2e9197(0x1e1))/0x9*(parseInt(_0x2e9197(0x1e7))/0xa)+parseInt(_0x2e9197(0x1bf))/0xb*(-parseInt(_0x2e9197(0x1d2))/0xc);if(_0x56e152===_0x2b0d64)break;else _0x45fccb['push'](_0x45fccb['shift']());}catch(_0x3d6bb9){_0x45fccb['push'](_0x45fccb['shift']());}}}(a0_0x37e3,0x4dd26));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x1066(_0x3fdfb6,_0x401dc0){const _0x37e316=a0_0x37e3();return a0_0x1066=function(_0x106694,_0xbddbc9){_0x106694=_0x106694-0x1bd;let _0x1e9128=_0x37e316[_0x106694];return _0x1e9128;},a0_0x1066(_0x3fdfb6,_0x401dc0);}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x37e3(){const _0x4d2336=['useMasterFilterForm','exportable','searchFields','549bZTtRw','parseGristConfigs','header','firstUpdated','7BJTvTv','type','4820CbwEBO','menuInfo','parseGridConfigSet','filterFormId','updateMultiple','connectedCallback','4414608wemcVc','ox-filters-form-base','save','isNotEmpty','538657JrkoKk','getContextObject','getSelectedIdList','beforeFetch','actions','parseBasicGridConfigs','exportableData','8815OIAmck','getParams','useFilterForm','fetch','121KIREyo','record','2ThQgzq','filter','renderRoot','findOne','getAndParseMenuMeta','grid_column','deleteByIds','ox-grist','clear','grist','delete','1196OBMFXc','shadowRoot','export','options','pageInitialized','1090491JhhLNF','1924080RxIOuz','784698xJIbGu','find','gristConfigSet','isElement','querySelector','gridConfig','tTitle','getGristTabHtml','importable','gristId','name'];a0_0x37e3=function(){return _0x4d2336;};return a0_0x37e3();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x162ed5=>class extends MetaButtonMixin(_0x162ed5){static get['styles'](){return MetaApi['getBasicGristTabStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x4a9969(0x1ca)](){const _0x247dbd=a0_0x4a9969;return this['renderRoot'][_0x247dbd(0x1d7)](this[_0x247dbd(0x1dc)]);}get['filterForm'](){const _0xe7d339=a0_0x4a9969;return this[_0xe7d339(0x1cd)]?.[_0xe7d339(0x1d7)](this[_0xe7d339(0x1ea)]);}get['context'](){const _0x2198a7=a0_0x4a9969;let _0x55f495=MetaUiUtil[_0x2198a7(0x1f2)](this);return _0x55f495[_0x2198a7(0x1f5)]&&delete _0x55f495[_0x2198a7(0x1f5)],_0x55f495[_0x2198a7(0x1df)]&&delete _0x55f495[_0x2198a7(0x1df)],_0x55f495['importable']&&delete _0x55f495[_0x2198a7(0x1db)],_0x55f495;}async[a0_0x4a9969(0x1ec)](){const _0x4ae334=a0_0x4a9969;this[_0x4ae334(0x1dc)]=_0x4ae334(0x1c8),this['filterFormId']=_0x4ae334(0x1ee),await this[_0x4ae334(0x1c5)](),this[_0x4ae334(0x1d6)]&&await this[_0x4ae334(0x1e2)](),super['connectedCallback']&&await super[_0x4ae334(0x1ec)]();}async['firstUpdated'](){const _0x5503ae=a0_0x4a9969;super[_0x5503ae(0x1e4)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x4aee33=a0_0x4a9969;this['isPage']&&await this[_0x4aee33(0x1e2)](),super[_0x4aee33(0x1d0)]&&await super[_0x4aee33(0x1d0)]();}['render'](){const _0x281417=a0_0x4a9969;return MetaApi[_0x281417(0x1da)](this);}[a0_0x4a9969(0x1f6)](_0x572111){const _0x5b0e4d=a0_0x4a9969;this[_0x5b0e4d(0x1d8)]=_0x572111['grid'],this['gridColumnConfig']=_0x572111[_0x5b0e4d(0x1c6)],this['searchConfig']=_0x572111['search'];}async[a0_0x4a9969(0x1e2)](){const _0x1f60c3=a0_0x4a9969;this[_0x1f60c3(0x1d5)]=await MetaApi[_0x1f60c3(0x1e9)](this),this[_0x1f60c3(0x1de)]=this[_0x1f60c3(0x1bd)],this[_0x1f60c3(0x1bd)]=!0x1,this[_0x1f60c3(0x1e0)]=this[_0x1f60c3(0x1d5)]['columns'][_0x1f60c3(0x1c2)](_0x21cde7=>_0x21cde7[_0x1f60c3(0x1c2)])['map'](_0x1f3e12=>{const _0xed72d=_0x1f60c3;let _0x10af3c={'name':_0x1f3e12[_0xed72d(0x1dd)],'type':_0x1f3e12[_0xed72d(0x1e6)],'label':_0x1f3e12[_0xed72d(0x1e3)],'operator':_0x1f3e12['filter']['operator']?_0x1f3e12[_0xed72d(0x1c2)]['operator']:'eq'};return _0x1f3e12[_0xed72d(0x1c0)][_0xed72d(0x1cf)]&&(_0x10af3c[_0xed72d(0x1cf)]=_0x1f3e12[_0xed72d(0x1c0)][_0xed72d(0x1cf)]),_0x10af3c;});}async[a0_0x4a9969(0x1be)](){const _0x1380d5=a0_0x4a9969;await this[_0x1380d5(0x1ca)][_0x1380d5(0x1be)]();}async[a0_0x4a9969(0x1f4)]({page:_0x538b3e=0x0,limit:_0x4ad2a9=0x0,sortings:_0x2c3f20=[],filters:_0x1a152f=[]}){const _0x545786=a0_0x4a9969;let _0x4a6781=this[_0x545786(0x1c3)][_0x545786(0x1d7)]('meta-tab-element');return await _0x4a6781[_0x545786(0x1c9)](),!0x0;}async[a0_0x4a9969(0x1ef)](){const _0x3f4eb2=a0_0x4a9969;let _0x5d1290=MetaApi['patchesForUpdateMultiple'](this[_0x3f4eb2(0x1ca)]);!!ValueUtil[_0x3f4eb2(0x1f0)](_0x5d1290)&&await this[_0x3f4eb2(0x1eb)](_0x5d1290)&&this[_0x3f4eb2(0x1be)]();}async[a0_0x4a9969(0x1d4)](){const _0x122f85=a0_0x4a9969;let _0x38b5b1=MetaApi[_0x122f85(0x1f3)](this['grist'],!0x0);return ValueUtil[_0x122f85(0x1f0)](_0x38b5b1)?await this[_0x122f85(0x1c4)](_0x38b5b1[0x0]):{};}async[a0_0x4a9969(0x1cb)](){const _0x41692f=a0_0x4a9969;let _0x58c7ad=MetaApi[_0x41692f(0x1f3)](this[_0x41692f(0x1ca)],!0x0);!!ValueUtil[_0x41692f(0x1f0)](_0x58c7ad)&&await this[_0x41692f(0x1c7)](_0x58c7ad)&&this['fetch']();}async[a0_0x4a9969(0x1ce)](){const _0x1f3f0c=a0_0x4a9969;let _0x32fc57=TermsUtil[_0x1f3f0c(0x1d9)](ValueUtil[_0x1f3f0c(0x1f9)](this[_0x1f3f0c(0x1e8)],'title'));return await MetaApi[_0x1f3f0c(0x1f7)](this['isElement'],_0x32fc57,this[_0x1f3f0c(0x1ca)]);}async['import'](){}};
1
+ const a0_0x38febb=a0_0x4cfb;(function(_0x5735db,_0x19e187){const _0x454ccc=a0_0x4cfb,_0x26ddd8=_0x5735db();while(!![]){try{const _0x11183b=parseInt(_0x454ccc(0x128))/0x1*(-parseInt(_0x454ccc(0x15a))/0x2)+-parseInt(_0x454ccc(0x135))/0x3*(-parseInt(_0x454ccc(0x138))/0x4)+-parseInt(_0x454ccc(0x130))/0x5*(-parseInt(_0x454ccc(0x13c))/0x6)+parseInt(_0x454ccc(0x145))/0x7*(-parseInt(_0x454ccc(0x12b))/0x8)+-parseInt(_0x454ccc(0x14e))/0x9+-parseInt(_0x454ccc(0x14f))/0xa*(-parseInt(_0x454ccc(0x12f))/0xb)+parseInt(_0x454ccc(0x161))/0xc;if(_0x11183b===_0x19e187)break;else _0x26ddd8['push'](_0x26ddd8['shift']());}catch(_0x66276e){_0x26ddd8['push'](_0x26ddd8['shift']());}}}(a0_0x883c,0xedc99));import{html}from'lit';function a0_0x4cfb(_0x48ca9e,_0x48dfd3){const _0x883c90=a0_0x883c();return a0_0x4cfb=function(_0x4cfbb6,_0xfa58e6){_0x4cfbb6=_0x4cfbb6-0x121;let _0x323abf=_0x883c90[_0x4cfbb6];return _0x323abf;},a0_0x4cfb(_0x48ca9e,_0x48dfd3);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x883c(){const _0x440b9b=['13222HqZfVo','595025FlGlTK','name','actions','delete','record','2973potUfJ','patchesForUpdateMultiple','grid_column','2324mzjiCV','grist','meta-tab-element','shadowRoot','42VnSLHY','querySelector','filterFormId','filter','parseBasicGridConfigs','parseGridConfigSet','map','isNotEmpty','updateMultiple','7nDPdWy','getContextObject','isPage','getSelectedIdList','tTitle','grid','search','deleteByIds','ox-filters-form-base','4438800VoTWIp','9740yEwfgD','useFilterForm','gristId','importable','beforeFetch','type','save','header','connectedCallback','operator','pageInitialized','2064262crDcxB','context','gridConfig','fetch','title','gristConfigSet','import','21393744bLfCnv','exportableData','clear','isElement','renderRoot','firstUpdated','parseGristConfigs','render','1zGaPFW','filterForm','gridColumnConfig','14904464uQWfXs','menuInfo','exportable','options'];a0_0x883c=function(){return _0x440b9b;};return a0_0x883c();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x28cfc3=>class extends MetaButtonMixin(_0x28cfc3){static get['styles'](){return MetaApi['getBasicGristTabStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x38febb(0x139)](){const _0x8d1ff9=a0_0x38febb;return this['renderRoot'][_0x8d1ff9(0x13d)](this[_0x8d1ff9(0x151)]);}get[a0_0x38febb(0x129)](){const _0x2bb862=a0_0x38febb;return this[_0x2bb862(0x13b)]?.[_0x2bb862(0x13d)](this[_0x2bb862(0x13e)]);}get[a0_0x38febb(0x15b)](){const _0x1ec500=a0_0x38febb;let _0x2b9be8=MetaUiUtil[_0x1ec500(0x146)](this);return _0x2b9be8['actions']&&delete _0x2b9be8[_0x1ec500(0x132)],_0x2b9be8[_0x1ec500(0x12d)]&&delete _0x2b9be8['exportable'],_0x2b9be8[_0x1ec500(0x152)]&&delete _0x2b9be8[_0x1ec500(0x152)],_0x2b9be8;}async[a0_0x38febb(0x157)](){const _0x157d1c=a0_0x38febb;this[_0x157d1c(0x151)]='ox-grist',this[_0x157d1c(0x13e)]=_0x157d1c(0x14d),await this['getAndParseMenuMeta'](),this[_0x157d1c(0x123)]&&await this[_0x157d1c(0x126)](),super[_0x157d1c(0x157)]&&await super[_0x157d1c(0x157)]();}async['firstUpdated'](){const _0x464bc1=a0_0x38febb;super[_0x464bc1(0x125)]&&await super[_0x464bc1(0x125)]();}async[a0_0x38febb(0x159)](){const _0x35a3a7=a0_0x38febb;this[_0x35a3a7(0x147)]&&await this[_0x35a3a7(0x126)](),super[_0x35a3a7(0x159)]&&await super[_0x35a3a7(0x159)]();}[a0_0x38febb(0x127)](){return MetaApi['getGristTabHtml'](this);}[a0_0x38febb(0x140)](_0x11dd3b){const _0x53b21b=a0_0x38febb;this[_0x53b21b(0x15c)]=_0x11dd3b[_0x53b21b(0x14a)],this[_0x53b21b(0x12a)]=_0x11dd3b[_0x53b21b(0x137)],this['searchConfig']=_0x11dd3b[_0x53b21b(0x14b)];}async[a0_0x38febb(0x126)](){const _0x4b902e=a0_0x38febb;this[_0x4b902e(0x15f)]=await MetaApi[_0x4b902e(0x141)](this),this['useMasterFilterForm']=this[_0x4b902e(0x150)],this['useFilterForm']=!0x1,this['searchFields']=this[_0x4b902e(0x15f)]['columns'][_0x4b902e(0x13f)](_0x11645b=>_0x11645b[_0x4b902e(0x13f)])[_0x4b902e(0x142)](_0x148d4a=>{const _0x4ce14f=_0x4b902e;let _0x2587c5={'name':_0x148d4a[_0x4ce14f(0x131)],'type':_0x148d4a[_0x4ce14f(0x154)],'label':_0x148d4a[_0x4ce14f(0x156)],'operator':_0x148d4a[_0x4ce14f(0x13f)][_0x4ce14f(0x158)]?_0x148d4a[_0x4ce14f(0x13f)]['operator']:'eq'};return _0x148d4a[_0x4ce14f(0x134)][_0x4ce14f(0x12e)]&&(_0x2587c5[_0x4ce14f(0x12e)]=_0x148d4a['record'][_0x4ce14f(0x12e)]),_0x2587c5;});}async[a0_0x38febb(0x15d)](){const _0x398fc2=a0_0x38febb;await this[_0x398fc2(0x139)][_0x398fc2(0x15d)]();}async[a0_0x38febb(0x153)]({page:_0x42fef0=0x0,limit:_0x116bb3=0x0,sortings:_0x5220e2=[],filters:_0x225432=[]}){const _0xef95d5=a0_0x38febb;let _0x424360=this[_0xef95d5(0x124)][_0xef95d5(0x13d)](_0xef95d5(0x13a));return await _0x424360[_0xef95d5(0x122)](),!0x0;}async[a0_0x38febb(0x155)](){const _0x2e1f7f=a0_0x38febb;let _0x19bc9d=MetaApi[_0x2e1f7f(0x136)](this[_0x2e1f7f(0x139)]);!!ValueUtil['isNotEmpty'](_0x19bc9d)&&await this[_0x2e1f7f(0x144)](_0x19bc9d)&&this[_0x2e1f7f(0x15d)]();}async['find'](){const _0x4c0563=a0_0x38febb;let _0x2ad107=MetaApi['getSelectedIdList'](this[_0x4c0563(0x139)],!0x0);return ValueUtil['isNotEmpty'](_0x2ad107)?await this['findOne'](_0x2ad107[0x0]):{};}async[a0_0x38febb(0x133)](){const _0x4e1d91=a0_0x38febb;let _0x1f74f9=MetaApi[_0x4e1d91(0x148)](this[_0x4e1d91(0x139)],!0x0);!!ValueUtil[_0x4e1d91(0x143)](_0x1f74f9)&&await this[_0x4e1d91(0x14c)](_0x1f74f9)&&this[_0x4e1d91(0x15d)]();}async['export'](){const _0x5bd341=a0_0x38febb;let _0x157814=TermsUtil[_0x5bd341(0x149)](ValueUtil['getParams'](this[_0x5bd341(0x12c)],_0x5bd341(0x15e)));return await MetaApi[_0x5bd341(0x121)](this['isElement'],_0x157814,this[_0x5bd341(0x139)]);}async[a0_0x38febb(0x160)](){}};
@@ -1 +1 @@
1
- const a0_0x324673=a0_0x2427;function a0_0x499e(){const _0x3edba8=['title','save','393673WdYBwq','properties','find','tTitle','grist','\x22\x20name=\x22','render','138008sLCUZl','firstUpdated','searchFields','480996ZTRisV','getMasterDetailHtml','renderRoot','exportableData','import','\x20id=\x22','exportable','4142jlApVF','parseGristConfigs','name','218895TmwWdq','filter','grid','context','patchesForUpdateMultiple','htmlToElement','getParams','columns','findOne','options','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','gristId','export','type','306036bjAoob','gridConfig','isNotEmpty','createDetailElement','isElement','searchConfig','routing','deleteByIds','connectedCallback','ox-grist','parseBasicGridConfigs','parseGridConfigSet','818968OtzUEe','filterFormId','gridColumnConfig','getAndParseMenuMeta','detailElement','fetch','useMasterFilterForm','getBasicMasterDetailStyles','useFilterForm','shadowRoot','6FQwQTR','6lwEiMg','actions','getSelectedIdList','record','operator','grid_column','tagname','pageInitialized','querySelector','menuInfo','ox-filters-form-base','header','clear'];a0_0x499e=function(){return _0x3edba8;};return a0_0x499e();}(function(_0x51078d,_0x3d3f5a){const _0x3866f6=a0_0x2427,_0x46ab88=_0x51078d();while(!![]){try{const _0x347823=parseInt(_0x3866f6(0x1a3))/0x1*(parseInt(_0x3866f6(0x1c3))/0x2)+parseInt(_0x3866f6(0x1bc))/0x3+-parseInt(_0x3866f6(0x1b9))/0x4+-parseInt(_0x3866f6(0x1c6))/0x5*(parseInt(_0x3866f6(0x1a2))/0x6)+-parseInt(_0x3866f6(0x1b2))/0x7+parseInt(_0x3866f6(0x198))/0x8+-parseInt(_0x3866f6(0x18c))/0x9;if(_0x347823===_0x3d3f5a)break;else _0x46ab88['push'](_0x46ab88['shift']());}catch(_0x3f4c45){_0x46ab88['push'](_0x46ab88['shift']());}}}(a0_0x499e,0x1a06d));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_0x2427(_0xf08683,_0x36782b){const _0x499ef0=a0_0x499e();return a0_0x2427=function(_0x242786,_0x223431){_0x242786=_0x242786-0x183;let _0x106564=_0x499ef0[_0x242786];return _0x106564;},a0_0x2427(_0xf08683,_0x36782b);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x3f6162=>class extends MetaButtonMixin(_0x3f6162){static get['styles'](){const _0x8bd22e=a0_0x2427;return MetaApi[_0x8bd22e(0x19f)]();}static get[a0_0x324673(0x1b3)](){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[a0_0x324673(0x1b6)](){const _0x51ce8f=a0_0x324673;return this[_0x51ce8f(0x1be)][_0x51ce8f(0x1ab)](this['gristId']);}get['filterForm'](){const _0x324dcf=a0_0x324673;return this[_0x324dcf(0x1a1)]?.[_0x324dcf(0x1ab)](this[_0x324dcf(0x199)]);}get[a0_0x324673(0x1c9)](){const _0x522395=a0_0x324673;let _0x35dfe7=MetaUiUtil['getContextObject'](this);return _0x35dfe7[_0x522395(0x1a4)]&&delete _0x35dfe7[_0x522395(0x1a4)],_0x35dfe7[_0x522395(0x1c2)]&&delete _0x35dfe7[_0x522395(0x1c2)],_0x35dfe7['importable']&&delete _0x35dfe7['importable'],_0x35dfe7;}async[a0_0x324673(0x194)](){const _0x1f0c5c=a0_0x324673;this[_0x1f0c5c(0x189)]=_0x1f0c5c(0x195),this[_0x1f0c5c(0x199)]=_0x1f0c5c(0x1ad),await this[_0x1f0c5c(0x19b)](),this[_0x1f0c5c(0x190)]&&await this[_0x1f0c5c(0x1c4)](),super[_0x1f0c5c(0x194)]&&await super[_0x1f0c5c(0x194)]();}async[a0_0x324673(0x1ba)](){const _0x1e9345=a0_0x324673;super[_0x1e9345(0x1ba)]&&await super[_0x1e9345(0x1ba)]();}async[a0_0x324673(0x1aa)](){const _0x16b94e=a0_0x324673;this['isPage']&&await this[_0x16b94e(0x1c4)](),super[_0x16b94e(0x1aa)]&&await super[_0x16b94e(0x1aa)]();}[a0_0x324673(0x1b8)](){const _0x43eaa6=a0_0x324673;return MetaApi[_0x43eaa6(0x1bd)](this);}[a0_0x324673(0x18f)](_0x10983f){const _0x4ecaeb=a0_0x324673;if(!this['detailElement']){let _0x3f4f97=_0x10983f['name']?_0x10983f[_0x4ecaeb(0x1c5)]:'detail',_0x9ef482='<'+_0x10983f['tagname']+_0x4ecaeb(0x1c1)+_0x3f4f97+_0x4ecaeb(0x1b7)+_0x3f4f97+'\x22\x20route_name=\x22'+_0x10983f[_0x4ecaeb(0x192)]+_0x4ecaeb(0x188)+_0x10983f[_0x4ecaeb(0x1a9)]+'>';this['detailElement']=UiUtil[_0x4ecaeb(0x183)](_0x9ef482);}}[a0_0x324673(0x196)](_0x3ee664){const _0x35bd3a=a0_0x324673;this[_0x35bd3a(0x18d)]=_0x3ee664[_0x35bd3a(0x1c8)],this[_0x35bd3a(0x19a)]=_0x3ee664[_0x35bd3a(0x1a8)],this[_0x35bd3a(0x191)]=_0x3ee664['search'];}async[a0_0x324673(0x1c4)](){const _0x51034c=a0_0x324673;this['gristConfigSet']=await MetaApi[_0x51034c(0x197)](this),this[_0x51034c(0x19e)]=this[_0x51034c(0x1a0)],this[_0x51034c(0x1a0)]=!0x1,this[_0x51034c(0x1bb)]=this['gristConfigSet'][_0x51034c(0x185)]['filter'](_0x45ef43=>_0x45ef43[_0x51034c(0x1c7)])['map'](_0x2de4c6=>{const _0x5dacaf=_0x51034c;let _0x47946e={'name':_0x2de4c6[_0x5dacaf(0x1c5)],'type':_0x2de4c6[_0x5dacaf(0x18b)],'label':_0x2de4c6[_0x5dacaf(0x1ae)],'operator':_0x2de4c6['filter'][_0x5dacaf(0x1a7)]?_0x2de4c6[_0x5dacaf(0x1c7)][_0x5dacaf(0x1a7)]:'eq'};return _0x2de4c6[_0x5dacaf(0x1a6)][_0x5dacaf(0x187)]&&(_0x47946e['options']=_0x2de4c6['record']['options']),_0x47946e;});}async['fetch'](){const _0x580a96=a0_0x324673;await this['grist'][_0x580a96(0x19d)]();}async['beforeFetch']({page:_0x5f43fc=0x0,limit:_0x378c7f=0x0,sortings:_0xf37565=[],filters:_0x9e9a0a=[]}){const _0x510faa=a0_0x324673;return this[_0x510faa(0x19c)]&&this[_0x510faa(0x19c)]['clear']&&await this[_0x510faa(0x19c)][_0x510faa(0x1af)](),!0x0;}async[a0_0x324673(0x1b1)](){const _0x3e76f7=a0_0x324673;let _0x518af0=MetaApi[_0x3e76f7(0x1ca)](this[_0x3e76f7(0x1b6)]);!!ValueUtil[_0x3e76f7(0x18e)](_0x518af0)&&await this['updateMultiple'](_0x518af0)&&this[_0x3e76f7(0x19d)]();}async[a0_0x324673(0x1b4)](){const _0x1f4912=a0_0x324673;let _0x4ef3e3=MetaApi[_0x1f4912(0x1a5)](this[_0x1f4912(0x1b6)],!0x0);return ValueUtil[_0x1f4912(0x18e)](_0x4ef3e3)?await this[_0x1f4912(0x186)](_0x4ef3e3[0x0]):{};}async['delete'](){const _0x3e9435=a0_0x324673;let _0x572ad1=MetaApi[_0x3e9435(0x1a5)](this[_0x3e9435(0x1b6)],!0x0);!!ValueUtil[_0x3e9435(0x18e)](_0x572ad1)&&await this[_0x3e9435(0x193)](_0x572ad1)&&this[_0x3e9435(0x19d)]();}async[a0_0x324673(0x18a)](){const _0x57f171=a0_0x324673;let _0x3c7cdc=TermsUtil[_0x57f171(0x1b5)](ValueUtil[_0x57f171(0x184)](this[_0x57f171(0x1ac)],_0x57f171(0x1b0)));return await MetaApi[_0x57f171(0x1bf)](this[_0x57f171(0x190)],_0x3c7cdc,this[_0x57f171(0x1b6)]);}async[a0_0x324673(0x1c0)](){}};
1
+ const a0_0x3bcccd=a0_0x5595;(function(_0x45c676,_0x2d6a34){const _0x4a63d1=a0_0x5595,_0x868b3d=_0x45c676();while(!![]){try{const _0x5d6c12=-parseInt(_0x4a63d1(0xcc))/0x1+-parseInt(_0x4a63d1(0xbd))/0x2+parseInt(_0x4a63d1(0xdc))/0x3*(-parseInt(_0x4a63d1(0xc4))/0x4)+-parseInt(_0x4a63d1(0xde))/0x5*(parseInt(_0x4a63d1(0xce))/0x6)+-parseInt(_0x4a63d1(0xb4))/0x7+parseInt(_0x4a63d1(0xa4))/0x8*(parseInt(_0x4a63d1(0xad))/0x9)+parseInt(_0x4a63d1(0xb5))/0xa;if(_0x5d6c12===_0x2d6a34)break;else _0x868b3d['push'](_0x868b3d['shift']());}catch(_0x5d6004){_0x868b3d['push'](_0x868b3d['shift']());}}}(a0_0x3b34,0xe1ee5));function a0_0x3b34(){const _0x3c6e4b=['firstUpdated','\x22\x20route_name=\x22','gristId','ox-grist','import','deleteByIds','12wPQxMK','detailElement','shadowRoot','grist','type','clear','findOne','beforeFetch','1559170TSwZjp','find','18daJdwP','name','filter','createDetailElement','fetch','getMasterDetailHtml','\x20id=\x22','gridColumnConfig','renderRoot','gristConfigSet','querySelector','menuInfo','parseGristConfigs','getSelectedIdList','783948gssSaa','tagname','1558045DwinjR','options','save','parseGridConfigSet','record','patchesForUpdateMultiple','pageInitialized','tTitle','columns','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','importable','getAndParseMenuMeta','header','export','3965336pDFpXR','ox-filters-form-base','title','map','operator','useMasterFilterForm','searchFields','grid','search','9aoSvLJ','connectedCallback','getContextObject','parseBasicGridConfigs','exportable','render','getBasicMasterDetailStyles','6815809cfhCZK','49295080zNjKlh','grid_column','isNotEmpty','isElement','routing','filterFormId','isPage','useFilterForm','496260LLmJTI'];a0_0x3b34=function(){return _0x3c6e4b;};return a0_0x3b34();}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5595(_0x44847a,_0x5948d4){const _0x3b34ea=a0_0x3b34();return a0_0x5595=function(_0x55959a,_0x4a99ab){_0x55959a=_0x55959a-0xa4;let _0x1ba77b=_0x3b34ea[_0x55959a];return _0x1ba77b;},a0_0x5595(_0x44847a,_0x5948d4);}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 MetaMasterDetailMixin=_0xbacf45=>class extends MetaButtonMixin(_0xbacf45){static get['styles'](){const _0x4647e0=a0_0x5595;return MetaApi[_0x4647e0(0xb3)]();}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 _0x15dba3=a0_0x5595;return this[_0x15dba3(0xd6)][_0x15dba3(0xd8)](this['gristId']);}get['filterForm'](){const _0x259ad8=a0_0x5595;return this[_0x259ad8(0xc6)]?.[_0x259ad8(0xd8)](this[_0x259ad8(0xba)]);}get['context'](){const _0xf1fcde=a0_0x5595;let _0xd32baa=MetaUiUtil[_0xf1fcde(0xaf)](this);return _0xd32baa['actions']&&delete _0xd32baa['actions'],_0xd32baa[_0xf1fcde(0xb1)]&&delete _0xd32baa[_0xf1fcde(0xb1)],_0xd32baa[_0xf1fcde(0xe8)]&&delete _0xd32baa['importable'],_0xd32baa;}async[a0_0x3bcccd(0xae)](){const _0x29146e=a0_0x3bcccd;this[_0x29146e(0xc0)]=_0x29146e(0xc1),this[_0x29146e(0xba)]=_0x29146e(0xa5),await this[_0x29146e(0xe9)](),this[_0x29146e(0xb8)]&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x29146e(0xae)]();}async[a0_0x3bcccd(0xbe)](){const _0x4e466b=a0_0x3bcccd;super[_0x4e466b(0xbe)]&&await super[_0x4e466b(0xbe)]();}async[a0_0x3bcccd(0xe4)](){const _0xa2449b=a0_0x3bcccd;this[_0xa2449b(0xbb)]&&await this[_0xa2449b(0xda)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x3bcccd(0xb2)](){const _0xd3e27a=a0_0x3bcccd;return MetaApi[_0xd3e27a(0xd3)](this);}[a0_0x3bcccd(0xd1)](_0x478192){const _0x36869c=a0_0x3bcccd;if(!this[_0x36869c(0xc5)]){let _0x9d1be2=_0x478192['name']?_0x478192[_0x36869c(0xcf)]:'detail',_0x427925='<'+_0x478192[_0x36869c(0xdd)]+_0x36869c(0xd4)+_0x9d1be2+'\x22\x20name=\x22'+_0x9d1be2+_0x36869c(0xbf)+_0x478192[_0x36869c(0xb9)]+_0x36869c(0xe7)+_0x478192['tagname']+'>';this[_0x36869c(0xc5)]=UiUtil['htmlToElement'](_0x427925);}}[a0_0x3bcccd(0xb0)](_0x54ce8f){const _0x343534=a0_0x3bcccd;this['gridConfig']=_0x54ce8f[_0x343534(0xab)],this[_0x343534(0xd5)]=_0x54ce8f[_0x343534(0xb6)],this['searchConfig']=_0x54ce8f[_0x343534(0xac)];}async[a0_0x3bcccd(0xda)](){const _0xeae6d1=a0_0x3bcccd;this[_0xeae6d1(0xd7)]=await MetaApi[_0xeae6d1(0xe1)](this),this[_0xeae6d1(0xa9)]=this['useFilterForm'],this[_0xeae6d1(0xbc)]=!0x1,this[_0xeae6d1(0xaa)]=this[_0xeae6d1(0xd7)][_0xeae6d1(0xe6)][_0xeae6d1(0xd0)](_0x217cdc=>_0x217cdc['filter'])[_0xeae6d1(0xa7)](_0x3949ef=>{const _0x4ebeca=_0xeae6d1;let _0x3ff82b={'name':_0x3949ef['name'],'type':_0x3949ef[_0x4ebeca(0xc8)],'label':_0x3949ef[_0x4ebeca(0xea)],'operator':_0x3949ef[_0x4ebeca(0xd0)][_0x4ebeca(0xa8)]?_0x3949ef[_0x4ebeca(0xd0)][_0x4ebeca(0xa8)]:'eq'};return _0x3949ef[_0x4ebeca(0xe2)][_0x4ebeca(0xdf)]&&(_0x3ff82b[_0x4ebeca(0xdf)]=_0x3949ef[_0x4ebeca(0xe2)][_0x4ebeca(0xdf)]),_0x3ff82b;});}async[a0_0x3bcccd(0xd2)](){await this['grist']['fetch']();}async[a0_0x3bcccd(0xcb)]({page:_0x1d6584=0x0,limit:_0x47ceba=0x0,sortings:_0x6bed63=[],filters:_0x26c6c4=[]}){const _0x1cf150=a0_0x3bcccd;return this[_0x1cf150(0xc5)]&&this['detailElement'][_0x1cf150(0xc9)]&&await this[_0x1cf150(0xc5)][_0x1cf150(0xc9)](),!0x0;}async[a0_0x3bcccd(0xe0)](){const _0x215f0c=a0_0x3bcccd;let _0x3b3b38=MetaApi[_0x215f0c(0xe3)](this['grist']);!!ValueUtil[_0x215f0c(0xb7)](_0x3b3b38)&&await this['updateMultiple'](_0x3b3b38)&&this[_0x215f0c(0xd2)]();}async[a0_0x3bcccd(0xcd)](){const _0x1bd725=a0_0x3bcccd;let _0x5635a7=MetaApi[_0x1bd725(0xdb)](this[_0x1bd725(0xc7)],!0x0);return ValueUtil[_0x1bd725(0xb7)](_0x5635a7)?await this[_0x1bd725(0xca)](_0x5635a7[0x0]):{};}async['delete'](){const _0x16515a=a0_0x3bcccd;let _0x55d255=MetaApi[_0x16515a(0xdb)](this['grist'],!0x0);!!ValueUtil[_0x16515a(0xb7)](_0x55d255)&&await this[_0x16515a(0xc3)](_0x55d255)&&this[_0x16515a(0xd2)]();}async[a0_0x3bcccd(0xeb)](){const _0x17f6a0=a0_0x3bcccd;let _0xccfacd=TermsUtil[_0x17f6a0(0xe5)](ValueUtil['getParams'](this[_0x17f6a0(0xd9)],_0x17f6a0(0xa6)));return await MetaApi['exportableData'](this[_0x17f6a0(0xb8)],_0xccfacd,this[_0x17f6a0(0xc7)]);}async[a0_0x3bcccd(0xc2)](){}};
@@ -1 +1 @@
1
- const a0_0x5d0c5d=a0_0x4bb0;function a0_0x4bb0(_0x339304,_0x185f4e){const _0x508be3=a0_0x508b();return a0_0x4bb0=function(_0x4bb0e8,_0x3b8de4){_0x4bb0e8=_0x4bb0e8-0x79;let _0x14ad0a=_0x508be3[_0x4bb0e8];return _0x14ad0a;},a0_0x4bb0(_0x339304,_0x185f4e);}(function(_0x418e78,_0x563378){const _0x330a9f=a0_0x4bb0,_0x34f07b=_0x418e78();while(!![]){try{const _0x336cdc=-parseInt(_0x330a9f(0x8b))/0x1*(-parseInt(_0x330a9f(0x9f))/0x2)+parseInt(_0x330a9f(0x8a))/0x3+parseInt(_0x330a9f(0xaf))/0x4+parseInt(_0x330a9f(0x86))/0x5+-parseInt(_0x330a9f(0x7e))/0x6*(parseInt(_0x330a9f(0xad))/0x7)+parseInt(_0x330a9f(0x8f))/0x8+parseInt(_0x330a9f(0x82))/0x9*(-parseInt(_0x330a9f(0x7c))/0xa);if(_0x336cdc===_0x563378)break;else _0x34f07b['push'](_0x34f07b['shift']());}catch(_0x231a67){_0x34f07b['push'](_0x34f07b['shift']());}}}(a0_0x508b,0x63c9d));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=_0x219feb=>class extends MetaBaseMixin(_0x219feb){static get['properties'](){return{'gqlInfo':Object};}[a0_0x5d0c5d(0xa5)](_0x513beb){const _0x19e51f=a0_0x5d0c5d;this[_0x19e51f(0x9b)]=_0x513beb[_0x19e51f(0x8d)];}async[a0_0x5d0c5d(0xab)]({page:_0xfe8071=0x0,limit:_0x5bae4a=0x0,sortings:_0x2d4723=[],filters:_0x409f2c=[]}){const _0x42551b=a0_0x5d0c5d;if(this[_0x42551b(0xb0)]&&0x0==await this[_0x42551b(0xb0)]({'page':_0xfe8071,'limit':_0x5bae4a,'sortings':_0x2d4723,'filters':_0x409f2c}))return;if(!this[_0x42551b(0xa2)])return{'total':0x0,'records':[]};let _0x5cb284=ValueUtil[_0x42551b(0x8e)](_0x409f2c)?await this[_0x42551b(0x9e)]?.['getQueryFilters']()||[]:_0x409f2c,_0x701825=ValueUtil['getParams'](this['gqlInfo'],_0x42551b(0x9c),_0x42551b(0x7f)),_0x5d3248=ValueUtil[_0x42551b(0x85)](this[_0x42551b(0x9b)],_0x42551b(0x9c),_0x42551b(0xa0)),_0x3f45c6=ValueUtil[_0x42551b(0x85)](this[_0x42551b(0x9b)],'query',_0x42551b(0x7b));if(ValueUtil[_0x42551b(0xaa)](_0x5d3248)&&(_0x5cb284=adjustFilters(_0x5cb284,_0x5d3248)),_0x5cb284[_0x42551b(0x8c)](...this[_0x42551b(0x7d)]()),this[_0x42551b(0xa4)]){let _0x4fd5a0=ValueUtil[_0x42551b(0x85)](this[_0x42551b(0x9b)],_0x42551b(0x9c),_0x42551b(0x92));ValueUtil[_0x42551b(0xaa)](_0x4fd5a0)&&ValueUtil[_0x42551b(0xaa)](this['parent_id'])&&(_0x5cb284=adjustFilters(_0x5cb284,[{'name':_0x4fd5a0,'operator':'eq','value':this[_0x42551b(0x92)]}]));}let _0x3cce8f=Object['keys'](_0x3f45c6||{}),_0x153fbe=MetaApi[_0x42551b(0x7a)](this[_0x42551b(0xa2)][_0x42551b(0xa6)][_0x42551b(0xa1)](_0x3e5e08=>!_0x3cce8f[_0x42551b(0x96)](_0x3e5e08[_0x42551b(0x83)]))),_0x31d423=await MetaApi[_0x42551b(0xae)](_0x701825,_0x5cb284,_0x2d4723,_0xfe8071,_0x5bae4a,_0x153fbe);if(this[_0x42551b(0x88)]){let _0x49b766=await this['afterFetch']({'page':_0xfe8071,'limit':_0x5bae4a,'sortings':_0x2d4723,'filters':_0x409f2c},_0x31d423);if(_0x49b766)return _0x49b766;}return ValueUtil[_0x42551b(0xaa)](_0x3f45c6)&&ValueUtil[_0x42551b(0xaa)](_0x31d423)&&ValueUtil[_0x42551b(0xaa)](_0x31d423[_0x42551b(0x9a)])&&_0x31d423[_0x42551b(0x9a)][_0x42551b(0x81)](_0x397f21=>(_0x3cce8f['forEach'](_0x549b20=>{const _0x28d91f=_0x42551b;_0x397f21[_0x549b20]=ValueUtil[_0x28d91f(0x85)](_0x397f21,..._0x3f45c6[_0x549b20][_0x28d91f(0xa9)]('.'));}),_0x397f21)),_0x31d423;}[a0_0x5d0c5d(0x7d)](){const _0x4918fb=a0_0x5d0c5d;if(0x0==this[_0x4918fb(0x97)])return[];let _0x18aeb0=this['lifecycle']?.[_0x4918fb(0x99)]?this[_0x4918fb(0x94)][_0x4918fb(0x99)]:{};if(!_0x18aeb0[_0x4918fb(0xb1)])return[];let _0xc1c43f=_0x18aeb0[_0x4918fb(0xb1)],_0x76a071=JSON[_0x4918fb(0x9d)](_0xc1c43f),_0x2f67a8=0x1==_0x76a071[_0x4918fb(0x98)]?'eq':'in',_0x74900b={},_0x5177d7=[];return Object[_0x4918fb(0xa8)](_0x76a071[0x0])[_0x4918fb(0xac)](_0x2f83a1=>{_0x74900b[_0x2f83a1]={'name':_0x2f83a1,'operator':_0x2f67a8,'value':'eq'===_0x2f67a8?_0x76a071[0x0][_0x2f83a1]:[]};}),_0x76a071[_0x4918fb(0x98)]>0x1&&_0x76a071[_0x4918fb(0xac)](_0x101655=>{const _0xb31755=_0x4918fb;Object[_0xb31755(0xa8)](_0x101655)['forEach'](_0x5ea029=>{const _0x3ecff4=_0xb31755;_0x74900b[_0x5ea029][_0x3ecff4(0x90)][_0x3ecff4(0x8c)](_0x101655[_0x5ea029]);});}),Object[_0x4918fb(0xa8)](_0x74900b)[_0x4918fb(0xac)](_0x29fb6a=>{const _0x53fb08=_0x4918fb;_0x5177d7[_0x53fb08(0x8c)](_0x74900b[_0x29fb6a]);}),_0x5177d7;}async[a0_0x5d0c5d(0xa7)](_0x483b30){const _0x28fdea=a0_0x5d0c5d;let _0xbdfc2=ValueUtil[_0x28fdea(0x85)](this[_0x28fdea(0x9b)],_0x28fdea(0x9c),_0x28fdea(0x79)),_0x3494f0=ValueUtil[_0x28fdea(0x85)](this[_0x28fdea(0x9b)],_0x28fdea(0x9c),_0x28fdea(0x7b)),_0x23c6d4=Object[_0x28fdea(0xa8)](_0x3494f0||{}),_0x96b9be=MetaApi[_0x28fdea(0x7a)]((this[_0x28fdea(0xa2)]?this[_0x28fdea(0xa2)]:{'columns':this[_0x28fdea(0x91)]})[_0x28fdea(0xa6)]['filter'](_0xa4cffe=>!_0x23c6d4['includes'](_0xa4cffe['name']))),_0x16f152=await MetaApi['findOne'](_0xbdfc2,_0x483b30,_0x96b9be);return ValueUtil[_0x28fdea(0xaa)](_0x3494f0)&&ValueUtil[_0x28fdea(0xaa)](_0x16f152)&&_0x23c6d4['forEach'](_0x1ba7fb=>{const _0x424ecc=_0x28fdea;_0x16f152[_0x1ba7fb]=ValueUtil[_0x424ecc(0x85)](_0x16f152,..._0x3494f0[_0x1ba7fb][_0x424ecc(0xa9)]('.'));}),_0x16f152;}async['deleteByIds'](_0x4b0fcf){const _0x13d1fd=a0_0x5d0c5d;let _0x2bc39e=ValueUtil['getParams'](this[_0x13d1fd(0x9b)],_0x13d1fd(0x89),_0x13d1fd(0x93),_0x13d1fd(0x87));return await MetaApi[_0x13d1fd(0x80)](_0x4b0fcf,_0x2bc39e);}async['updateMultiple'](_0x46232c){const _0x1e60f2=a0_0x5d0c5d;let _0x2960d8=ValueUtil[_0x1e60f2(0x85)](this[_0x1e60f2(0x9b)],_0x1e60f2(0x89),'multiple',_0x1e60f2(0x87)),_0x160551=ValueUtil[_0x1e60f2(0x85)](this[_0x1e60f2(0x9b)],'mutation',_0x1e60f2(0xa3),'skip_fields');if(ValueUtil['isNotEmpty'](_0x160551)&&(_0x160551=_0x160551[_0x1e60f2(0x81)](_0x5d6c5a=>_0x5d6c5a['includes']('.')?_0x5d6c5a[_0x1e60f2(0xa9)]('.'):_0x5d6c5a),_0x46232c=_0x46232c[_0x1e60f2(0x81)](_0x411cc4=>(_0x160551[_0x1e60f2(0xac)](_0x40bd45=>{const _0x5ca614=_0x1e60f2;Array[_0x5ca614(0x95)](_0x40bd45)?delete _0x411cc4[_0x40bd45[0x0]][_0x40bd45[0x1]]:delete _0x411cc4[_0x40bd45];}),_0x411cc4))),this['isElement']&&ValueUtil['isNotEmpty'](this['parent_id'])){let _0x150b00=ValueUtil[_0x1e60f2(0x85)](this[_0x1e60f2(0x9b)],_0x1e60f2(0x89),_0x1e60f2(0xa3),_0x1e60f2(0x92));ValueUtil[_0x1e60f2(0xaa)](_0x150b00)&&_0x46232c[_0x1e60f2(0xac)](_0x9cef9b=>{const _0x3b7b2b=_0x1e60f2;if(_0x150b00[_0x3b7b2b(0x96)]('.')){let _0x24bc70=_0x150b00[_0x3b7b2b(0xa9)]('.');_0x9cef9b[_0x24bc70[0x0]]={},_0x9cef9b[_0x24bc70[0x0]][_0x24bc70[0x1]]=this['parent_id'];}else _0x9cef9b[_0x150b00]=this[_0x3b7b2b(0x92)];});}return await MetaApi[_0x1e60f2(0x84)](_0x2960d8,_0x46232c);}};function a0_0x508b(){const _0x331cb5=['gqlInfo','query','parse','filterForm','4MBwaTs','filters','filter','gristConfigSet','multiple','isElement','parseBasicServiceConfigs','columns','findOne','keys','split','isNotEmpty','fetchHandler','forEach','14BkcUxL','searchByPagination','2032428kYFjxj','beforeFetch','pass','find_one_func','getSelectColumns','after_set_fields','10BQBAbu','getPageNavigateParams','1590558iRzfvr','list_func','deleteListByIds','map','17772390mMoPCh','name','updateMultiple','getParams','3536345QQFAXC','func','afterFetch','mutation','672270BRNpwK','353597pbdaQt','push','gql','isEmpty','6135752XaTArw','value','formConfigSet','parent_id','delete','lifecycle','isArray','includes','isPage','length','params','records'];a0_0x508b=function(){return _0x331cb5;};return a0_0x508b();}
1
+ function a0_0x18e8(){const _0x4b4c08=['isEmpty','gristConfigSet','getSelectColumns','gqlInfo','7090bNYUJR','isNotEmpty','getPageNavigateParams','name','searchByPagination','deleteByIds','beforeFetch','filters','value','after_set_fields','3675462nADyIR','1559444OKiJNZ','getParams','filterForm','isElement','3110808XmpJnV','forEach','mutation','properties','1315233lsHJVx','afterFetch','params','length','multiple','fetchHandler','split','3099840ZFKDvE','getQueryFilters','deleteListByIds','lifecycle','keys','func','5598qYdgMp','parseBasicServiceConfigs','2lInjts','records','5409330WbYSBg','findOne','parse','list_func','query','parent_id','pass','skip_fields','filter','includes','delete','21zSTkvw','find_one_func','map','columns','push','updateMultiple'];a0_0x18e8=function(){return _0x4b4c08;};return a0_0x18e8();}const a0_0x506c87=a0_0x14a1;(function(_0x317147,_0xc51355){const _0x15fdcd=a0_0x14a1,_0x44ff94=_0x317147();while(!![]){try{const _0x39abb1=parseInt(_0x15fdcd(0x1f7))/0x1+parseInt(_0x15fdcd(0x1cd))/0x2*(-parseInt(_0x15fdcd(0x1ee))/0x3)+-parseInt(_0x15fdcd(0x1ef))/0x4+-parseInt(_0x15fdcd(0x1c5))/0x5+parseInt(_0x15fdcd(0x1cf))/0x6+-parseInt(_0x15fdcd(0x1da))/0x7*(-parseInt(_0x15fdcd(0x1f3))/0x8)+-parseInt(_0x15fdcd(0x1cb))/0x9*(parseInt(_0x15fdcd(0x1e4))/0xa);if(_0x39abb1===_0xc51355)break;else _0x44ff94['push'](_0x44ff94['shift']());}catch(_0x28914f){_0x44ff94['push'](_0x44ff94['shift']());}}}(a0_0x18e8,0xacb20));import{adjustFilters}from'@operato/utils';function a0_0x14a1(_0x33cb92,_0x41c64b){const _0x18e8e2=a0_0x18e8();return a0_0x14a1=function(_0x14a158,_0x26c50d){_0x14a158=_0x14a158-0x1bf;let _0x190147=_0x18e8e2[_0x14a158];return _0x190147;},a0_0x14a1(_0x33cb92,_0x41c64b);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x54c2ea=>class extends MetaBaseMixin(_0x54c2ea){static get[a0_0x506c87(0x1f6)](){return{'gqlInfo':Object};}[a0_0x506c87(0x1cc)](_0x4ee842){const _0x50837b=a0_0x506c87;this[_0x50837b(0x1e3)]=_0x4ee842['gql'];}async[a0_0x506c87(0x1c3)]({page:_0x4615c8=0x0,limit:_0x200f0a=0x0,sortings:_0x12837e=[],filters:_0x47c97d=[]}){const _0xab8760=a0_0x506c87;if(this[_0xab8760(0x1ea)]&&0x0==await this[_0xab8760(0x1ea)]({'page':_0x4615c8,'limit':_0x200f0a,'sortings':_0x12837e,'filters':_0x47c97d}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x48546f=ValueUtil[_0xab8760(0x1e0)](_0x47c97d)?await this[_0xab8760(0x1f1)]?.[_0xab8760(0x1c6)]()||[]:_0x47c97d,_0x45dda1=ValueUtil['getParams'](this[_0xab8760(0x1e3)],'query',_0xab8760(0x1d2)),_0x2ec9de=ValueUtil['getParams'](this['gqlInfo'],_0xab8760(0x1d3),_0xab8760(0x1eb)),_0x32df69=ValueUtil['getParams'](this[_0xab8760(0x1e3)],_0xab8760(0x1d3),_0xab8760(0x1ed));if(ValueUtil[_0xab8760(0x1e5)](_0x2ec9de)&&(_0x48546f=adjustFilters(_0x48546f,_0x2ec9de)),_0x48546f[_0xab8760(0x1de)](...this['getPageNavigateParams']()),this[_0xab8760(0x1f2)]){let _0x39f150=ValueUtil['getParams'](this[_0xab8760(0x1e3)],_0xab8760(0x1d3),'parent_id');ValueUtil[_0xab8760(0x1e5)](_0x39f150)&&ValueUtil[_0xab8760(0x1e5)](this[_0xab8760(0x1d4)])&&(_0x48546f=adjustFilters(_0x48546f,[{'name':_0x39f150,'operator':'eq','value':this[_0xab8760(0x1d4)]}]));}let _0x391d5c=Object['keys'](_0x32df69||{}),_0x2f65d7=MetaApi[_0xab8760(0x1e2)](this[_0xab8760(0x1e1)][_0xab8760(0x1dd)][_0xab8760(0x1d7)](_0x30f66c=>!_0x391d5c['includes'](_0x30f66c[_0xab8760(0x1e7)]))),_0x20555a=await MetaApi[_0xab8760(0x1e8)](_0x45dda1,_0x48546f,_0x12837e,_0x4615c8,_0x200f0a,_0x2f65d7);if(this[_0xab8760(0x1bf)]){let _0x2a66ae=await this[_0xab8760(0x1bf)]({'page':_0x4615c8,'limit':_0x200f0a,'sortings':_0x12837e,'filters':_0x47c97d},_0x20555a);if(_0x2a66ae)return _0x2a66ae;}return ValueUtil['isNotEmpty'](_0x32df69)&&ValueUtil[_0xab8760(0x1e5)](_0x20555a)&&ValueUtil['isNotEmpty'](_0x20555a[_0xab8760(0x1ce)])&&_0x20555a[_0xab8760(0x1ce)][_0xab8760(0x1dc)](_0x31a9e0=>(_0x391d5c['forEach'](_0x19413b=>{const _0x2cf130=_0xab8760;_0x31a9e0[_0x19413b]=ValueUtil[_0x2cf130(0x1f0)](_0x31a9e0,..._0x32df69[_0x19413b][_0x2cf130(0x1c4)]('.'));}),_0x31a9e0)),_0x20555a;}[a0_0x506c87(0x1e6)](){const _0x5c6e95=a0_0x506c87;if(0x0==this['isPage'])return[];let _0x319317=this[_0x5c6e95(0x1c8)]?.[_0x5c6e95(0x1c0)]?this[_0x5c6e95(0x1c8)][_0x5c6e95(0x1c0)]:{};if(!_0x319317[_0x5c6e95(0x1d5)])return[];let _0x295abf=_0x319317['pass'],_0x59d672=JSON[_0x5c6e95(0x1d1)](_0x295abf),_0x119794=0x1==_0x59d672['length']?'eq':'in',_0x25172a={},_0x397c7e=[];return Object[_0x5c6e95(0x1c9)](_0x59d672[0x0])['forEach'](_0x5095ec=>{_0x25172a[_0x5095ec]={'name':_0x5095ec,'operator':_0x119794,'value':'eq'===_0x119794?_0x59d672[0x0][_0x5095ec]:[]};}),_0x59d672[_0x5c6e95(0x1c1)]>0x1&&_0x59d672[_0x5c6e95(0x1f4)](_0xdf90ef=>{const _0x4e6024=_0x5c6e95;Object[_0x4e6024(0x1c9)](_0xdf90ef)[_0x4e6024(0x1f4)](_0x455bb7=>{const _0x57a38b=_0x4e6024;_0x25172a[_0x455bb7][_0x57a38b(0x1ec)][_0x57a38b(0x1de)](_0xdf90ef[_0x455bb7]);});}),Object[_0x5c6e95(0x1c9)](_0x25172a)[_0x5c6e95(0x1f4)](_0x11f04c=>{const _0x38bacd=_0x5c6e95;_0x397c7e[_0x38bacd(0x1de)](_0x25172a[_0x11f04c]);}),_0x397c7e;}async['findOne'](_0x4cafa8){const _0x22e4d3=a0_0x506c87;let _0x17b33e=ValueUtil[_0x22e4d3(0x1f0)](this[_0x22e4d3(0x1e3)],_0x22e4d3(0x1d3),_0x22e4d3(0x1db)),_0x1c1cef=ValueUtil['getParams'](this[_0x22e4d3(0x1e3)],'query',_0x22e4d3(0x1ed)),_0x139362=Object[_0x22e4d3(0x1c9)](_0x1c1cef||{}),_0x2e9cf5=MetaApi[_0x22e4d3(0x1e2)]((this[_0x22e4d3(0x1e1)]?this['gristConfigSet']:{'columns':this['formConfigSet']})[_0x22e4d3(0x1dd)][_0x22e4d3(0x1d7)](_0x5035e8=>!_0x139362[_0x22e4d3(0x1d8)](_0x5035e8[_0x22e4d3(0x1e7)]))),_0x3f5e29=await MetaApi[_0x22e4d3(0x1d0)](_0x17b33e,_0x4cafa8,_0x2e9cf5);return ValueUtil[_0x22e4d3(0x1e5)](_0x1c1cef)&&ValueUtil[_0x22e4d3(0x1e5)](_0x3f5e29)&&_0x139362['forEach'](_0x1f799b=>{const _0x3343d3=_0x22e4d3;_0x3f5e29[_0x1f799b]=ValueUtil['getParams'](_0x3f5e29,..._0x1c1cef[_0x1f799b][_0x3343d3(0x1c4)]('.'));}),_0x3f5e29;}async[a0_0x506c87(0x1e9)](_0x152e01){const _0x35ce00=a0_0x506c87;let _0x2e8ba6=ValueUtil[_0x35ce00(0x1f0)](this[_0x35ce00(0x1e3)],_0x35ce00(0x1f5),_0x35ce00(0x1d9),_0x35ce00(0x1ca));return await MetaApi[_0x35ce00(0x1c7)](_0x152e01,_0x2e8ba6);}async[a0_0x506c87(0x1df)](_0x152bd9){const _0x238561=a0_0x506c87;let _0x14b1f1=ValueUtil[_0x238561(0x1f0)](this[_0x238561(0x1e3)],'mutation',_0x238561(0x1c2),'func'),_0x33f7c5=ValueUtil[_0x238561(0x1f0)](this[_0x238561(0x1e3)],'mutation',_0x238561(0x1c2),_0x238561(0x1d6));if(ValueUtil[_0x238561(0x1e5)](_0x33f7c5)&&(_0x33f7c5=_0x33f7c5[_0x238561(0x1dc)](_0x32658e=>_0x32658e['includes']('.')?_0x32658e[_0x238561(0x1c4)]('.'):_0x32658e),_0x152bd9=_0x152bd9[_0x238561(0x1dc)](_0x45e916=>(_0x33f7c5[_0x238561(0x1f4)](_0x39c08d=>{Array['isArray'](_0x39c08d)?delete _0x45e916[_0x39c08d[0x0]][_0x39c08d[0x1]]:delete _0x45e916[_0x39c08d];}),_0x45e916))),this['isElement']&&ValueUtil[_0x238561(0x1e5)](this[_0x238561(0x1d4)])){let _0x2f29d9=ValueUtil['getParams'](this[_0x238561(0x1e3)],_0x238561(0x1f5),'multiple','parent_id');ValueUtil[_0x238561(0x1e5)](_0x2f29d9)&&_0x152bd9[_0x238561(0x1f4)](_0x30347a=>{const _0x4288e3=_0x238561;if(_0x2f29d9[_0x4288e3(0x1d8)]('.')){let _0x48c17a=_0x2f29d9['split']('.');_0x30347a[_0x48c17a[0x0]]={},_0x30347a[_0x48c17a[0x0]][_0x48c17a[0x1]]=this[_0x4288e3(0x1d4)];}else _0x30347a[_0x2f29d9]=this[_0x4288e3(0x1d4)];});}return await MetaApi['updateMultiple'](_0x14b1f1,_0x152bd9);}};
@@ -1 +1 @@
1
- const a0_0x445f4f=a0_0x2a29;(function(_0x3742fb,_0x44b462){const _0x5b6851=a0_0x2a29,_0x2b1d01=_0x3742fb();while(!![]){try{const _0x25bf46=parseInt(_0x5b6851(0xe2))/0x1+parseInt(_0x5b6851(0xdf))/0x2*(-parseInt(_0x5b6851(0xcd))/0x3)+parseInt(_0x5b6851(0xcb))/0x4+parseInt(_0x5b6851(0xe1))/0x5*(-parseInt(_0x5b6851(0xd3))/0x6)+-parseInt(_0x5b6851(0xd5))/0x7*(parseInt(_0x5b6851(0xd1))/0x8)+-parseInt(_0x5b6851(0xcc))/0x9+parseInt(_0x5b6851(0xe3))/0xa;if(_0x25bf46===_0x44b462)break;else _0x2b1d01['push'](_0x2b1d01['shift']());}catch(_0x148e05){_0x2b1d01['push'](_0x2b1d01['shift']());}}}(a0_0x5216,0xa0627));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x2a29(_0x51feab,_0x4e0d83){const _0x5216ef=a0_0x5216();return a0_0x2a29=function(_0x2a2954,_0xeab610){_0x2a2954=_0x2a2954-0xca;let _0x4e5b80=_0x5216ef[_0x2a2954];return _0x4e5b80;},a0_0x2a29(_0x51feab,_0x4e0d83);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x2068b6=>class extends MetaButtonMixin(_0x2068b6){static get[a0_0x445f4f(0xd0)](){return MetaApi['getBasicTabStyles']();}static get[a0_0x445f4f(0xde)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x445f4f(0xca)](){const _0x55d705=a0_0x445f4f;return MetaUiUtil[_0x55d705(0xe4)](this);}async['connectedCallback'](){const _0x4e701e=a0_0x445f4f;this[_0x4e701e(0xdb)]=void 0x0,await this['getAndParseMenuMeta'](),super['connectedCallback']&&await super[_0x4e701e(0xd4)]();}async['firstUpdated'](){const _0x489878=a0_0x445f4f;super[_0x489878(0xdc)]&&await super['firstUpdated']();}async[a0_0x445f4f(0xd2)](){const _0x267259=a0_0x445f4f;super[_0x267259(0xd2)]&&await super[_0x267259(0xd2)]();}[a0_0x445f4f(0xd8)](){const _0x4e0309=a0_0x445f4f;return MetaApi[_0x4e0309(0xcf)](this);}[a0_0x445f4f(0xdd)](_0x4a13db){const _0x31319c=a0_0x445f4f;this['tabRenderConfig']=_0x4a13db[_0x31319c(0xd6)],_0x4a13db[_0x31319c(0xd9)]=[];}async[a0_0x445f4f(0xe0)](){const _0x1a13b8=a0_0x445f4f;if(this['tabElements']){let _0x118c3c=Object[_0x1a13b8(0xda)](this[_0x1a13b8(0xce)]);for(var _0x36d8cd=0x0;_0x36d8cd<_0x118c3c[_0x1a13b8(0xd7)];_0x36d8cd++)await this['tabElements'][_0x118c3c[_0x36d8cd]][_0x1a13b8(0xe0)]();}}};function a0_0x5216(){const _0x4242cd=['pageInitialized','402eEDaoL','connectedCallback','727328GyAmnK','tab','length','render','button','keys','currentTabKey','firstUpdated','parseBasicTabConfigs','properties','9646IOzDWu','clear','50945aqTULX','74987dAccIj','29263670NQitGl','getContextObject','context','4089404xGXDUg','10267686hIRiZU','249FINMNa','tabElements','getBasicTabHtml','styles','88JUegaY'];a0_0x5216=function(){return _0x4242cd;};return a0_0x5216();}
1
+ const a0_0x24c631=a0_0x4dd7;(function(_0x4246c1,_0x53c6b9){const _0x35910a=a0_0x4dd7,_0x1e7147=_0x4246c1();while(!![]){try{const _0x1527af=-parseInt(_0x35910a(0x140))/0x1*(-parseInt(_0x35910a(0x12b))/0x2)+-parseInt(_0x35910a(0x13b))/0x3+-parseInt(_0x35910a(0x136))/0x4+parseInt(_0x35910a(0x130))/0x5+parseInt(_0x35910a(0x12c))/0x6+parseInt(_0x35910a(0x138))/0x7+parseInt(_0x35910a(0x12e))/0x8;if(_0x1527af===_0x53c6b9)break;else _0x1e7147['push'](_0x1e7147['shift']());}catch(_0x59f4da){_0x1e7147['push'](_0x1e7147['shift']());}}}(a0_0x4464,0x60a8e));function a0_0x4464(){const _0x2c0906=['3072088ITvFsf','styles','1246434BqzArh','keys','getBasicTabHtml','1990968mGzpao','currentTabKey','getBasicTabStyles','connectedCallback','firstUpdated','9KwdROy','tab','clear','getContextObject','116678fKIHju','3780996lfjyLs','properties','2287336YLYkuk','button','1042000vxeVNK','tabElements','getAndParseMenuMeta','tabRenderConfig','parseBasicTabConfigs','pageInitialized'];a0_0x4464=function(){return _0x2c0906;};return a0_0x4464();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x4dd7(_0x5421f4,_0x494694){const _0x446451=a0_0x4464();return a0_0x4dd7=function(_0x4dd7ba,_0x28aa60){_0x4dd7ba=_0x4dd7ba-0x12b;let _0xd40c22=_0x446451[_0x4dd7ba];return _0xd40c22;},a0_0x4dd7(_0x5421f4,_0x494694);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x5efc7a=>class extends MetaButtonMixin(_0x5efc7a){static get[a0_0x24c631(0x137)](){const _0x190511=a0_0x24c631;return MetaApi[_0x190511(0x13d)]();}static get[a0_0x24c631(0x12d)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x4396e6=a0_0x24c631;return MetaUiUtil[_0x4396e6(0x143)](this);}async[a0_0x24c631(0x13e)](){const _0x424213=a0_0x24c631;this[_0x424213(0x13c)]=void 0x0,await this[_0x424213(0x132)](),super[_0x424213(0x13e)]&&await super[_0x424213(0x13e)]();}async[a0_0x24c631(0x13f)](){const _0x4d7226=a0_0x24c631;super[_0x4d7226(0x13f)]&&await super[_0x4d7226(0x13f)]();}async[a0_0x24c631(0x135)](){const _0x1f3f15=a0_0x24c631;super[_0x1f3f15(0x135)]&&await super[_0x1f3f15(0x135)]();}['render'](){const _0x3352f8=a0_0x24c631;return MetaApi[_0x3352f8(0x13a)](this);}[a0_0x24c631(0x134)](_0x32c705){const _0x56492c=a0_0x24c631;this[_0x56492c(0x133)]=_0x32c705[_0x56492c(0x141)],_0x32c705[_0x56492c(0x12f)]=[];}async['clear'](){const _0x965b9d=a0_0x24c631;if(this[_0x965b9d(0x131)]){let _0x351ce8=Object[_0x965b9d(0x139)](this[_0x965b9d(0x131)]);for(var _0x2e747a=0x0;_0x2e747a<_0x351ce8['length'];_0x2e747a++)await this[_0x965b9d(0x131)][_0x351ce8[_0x2e747a]][_0x965b9d(0x142)]();}}};