@things-factory/meta-ui 6.0.70 → 6.0.71

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 (65) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +13 -0
  3. package/client/mixin/meta-base-mixin.js +1 -1
  4. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  5. package/client/mixin/meta-button-mixin.js +1 -1
  6. package/client/mixin/meta-form-mixin.js +1 -1
  7. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  8. package/client/mixin/meta-master-detail-mixin.js +1 -1
  9. package/client/mixin/meta-service-mixin.js +1 -1
  10. package/client/mixin/meta-tab-mixin.js +1 -1
  11. package/client/pages/activity/meta-activity-list-page.js +17 -50
  12. package/client/pages/activity/meta-activity-viewer-element.js +1 -1
  13. package/client/pages/activity/meta-activity-writer-element.js +2 -2
  14. package/client/pages/entity/config-entity.js +29 -29
  15. package/client/pages/entity/main-menu-selector.js +8 -8
  16. package/client/pages/history/history-copy-list-popup.js +6 -6
  17. package/client/pages/history/history-json-list-popup.js +6 -6
  18. package/client/pages/loading-page.js +5 -5
  19. package/client/pages/menu/dynamic-menu-template.js +6 -6
  20. package/client/pages/menu/dynamic-menu.js +15 -15
  21. package/client/pages/meta-form-element.js +1 -1
  22. package/client/pages/meta-grist-element.js +1 -1
  23. package/client/pages/meta-grist-page.js +1 -1
  24. package/client/pages/meta-grist-tab-page.js +1 -1
  25. package/client/pages/meta-master-detail-element.js +1 -1
  26. package/client/pages/meta-master-detail-page.js +1 -1
  27. package/client/pages/meta-tab-element.js +1 -1
  28. package/client/pages/personalize/personal-column-selector.js +11 -11
  29. package/client/pages/terms/config-terminology.js +6 -6
  30. package/client/reducers/main.js +1 -1
  31. package/client/utils/meta-api.js +1 -1
  32. package/client/utils/meta-crypto.js +1 -1
  33. package/client/utils/meta-ui-util.js +79 -79
  34. package/client/utils/service-util.js +12 -12
  35. package/client/utils/terms-util.js +2 -2
  36. package/client/utils/ui-util.js +1 -1
  37. package/client/utils/value-util.js +1 -1
  38. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  39. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  40. package/client/viewparts/dynamic-menu-part.js +12 -12
  41. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  42. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  43. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  44. package/package.json +5 -5
  45. package/server/activity/CommonActivity.js +1 -1
  46. package/server/constants/error-code.js +1 -1
  47. package/server/errors/license-error.js +1 -1
  48. package/server/middlewares/index.js +0 -2
  49. package/server/routes.js +1 -1
  50. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  51. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  52. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  53. package/server/service/grid-personalize/grid-personalize.js +1 -1
  54. package/server/service/index.js +3 -1
  55. package/server/service/meta-activity/index.js +7 -0
  56. package/server/service/meta-activity/meta-activity-mutation.js +1 -0
  57. package/server/service/meta-activity/meta-activity-query.js +1 -0
  58. package/server/service/meta-activity/meta-activity-type.js +1 -0
  59. package/server/service/meta-secret/meta-resolver.js +1 -1
  60. package/server/service/set-translations/set-translation-resolver.js +1 -1
  61. package/things-factory.config.js +4 -0
  62. package/translations/en.json +2 -0
  63. package/translations/ko.json +2 -0
  64. package/translations/ms.json +2 -0
  65. package/translations/zh.json +2 -0
@@ -1,7 +1,7 @@
1
- const a0_0x2e3df2=a0_0x2586;(function(_0x2364e5,_0x1932bc){const _0xea8f3d=a0_0x2586,_0x1f8f2c=_0x2364e5();while(!![]){try{const _0x5e8fd5=parseInt(_0xea8f3d(0x1b9))/0x1*(-parseInt(_0xea8f3d(0x1bc))/0x2)+-parseInt(_0xea8f3d(0x1ba))/0x3*(-parseInt(_0xea8f3d(0x1b4))/0x4)+-parseInt(_0xea8f3d(0x1ae))/0x5*(-parseInt(_0xea8f3d(0x1c9))/0x6)+parseInt(_0xea8f3d(0x1c0))/0x7*(parseInt(_0xea8f3d(0x1ca))/0x8)+-parseInt(_0xea8f3d(0x1bd))/0x9+-parseInt(_0xea8f3d(0x1c5))/0xa*(-parseInt(_0xea8f3d(0x1b6))/0xb)+parseInt(_0xea8f3d(0x1c8))/0xc;if(_0x5e8fd5===_0x1932bc)break;else _0x1f8f2c['push'](_0x1f8f2c['shift']());}catch(_0x5133b4){_0x1f8f2c['push'](_0x1f8f2c['shift']());}}}(a0_0x851b,0xea76f));import'../viewparts/dynamic-menu-part';function a0_0x2586(_0x3424e0,_0x5f368c){const _0x851b6e=a0_0x851b();return a0_0x2586=function(_0x258690,_0x1c8d63){_0x258690=_0x258690-0x1ae;let _0xd9cd82=_0x851b6e[_0x258690];return _0xd9cd82;},a0_0x2586(_0x3424e0,_0x5f368c);}import'@material/mwc-icon';import a0_0x1c0351 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';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_0x2e3df2(0x1c7);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;function a0_0x851b(){const _0x2d0efe=['UPDATE_META_UI','10874376DaEfSw','4378512yubipO','1019944IFhVoO','querySelector','5hHfvxH','items','lite-menu-part','data','content','meta[name=\x22application-name\x22]','162188MNPkiV','appName','13316303gZEVHT','filter','dispatch','269609QVsiOu','3ctKWRh','active','4JHZkPm','13634802YcjqKl','dynamic-menu','portrait','7NSNWHO','landscape','rank','NAVBAR','get','10MoPuxk','HEADERBAR'];a0_0x851b=function(){return _0x2d0efe;};return a0_0x851b();}export async function setupMenuPart(_0x215917){const _0x833215=a0_0x2e3df2;var {hovering:_0x45c6c5=!!isMobileDevice(),slotTemplate:_0x30fca1,portraitSlotTemplate:_0x4f68c9,landscapeSlotTemplate:_0x3e6ab3,position:_0x31e30d=VIEWPART_POSITION[_0x833215(0x1c3)]}=_0x215917||{};const {hovering:_0x31e59b}=(await clientSettingStore[_0x833215(0x1c4)](_0x833215(0x1be)))?.['value']||{};void 0x0!==_0x31e59b&&(_0x45c6c5=_0x31e59b);const _0x470c26=_0x31e30d==VIEWPART_POSITION[_0x833215(0x1c6)]?_0x833215(0x1c1):'portrait',_0x3baa9a=(_0x833215(0x1c1)==_0x470c26?_0x3e6ab3:_0x4f68c9)||_0x30fca1||html``;appendViewpart({'name':_0x833215(0x1b0),'viewpart':{'show':!_0x45c6c5,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x45c6c5,'template':html`<dynamic-menu-part .orientation=${_0x470c26}>${_0x3baa9a}</dynamic-menu-part>`},'position':_0x31e30d}),_0x45c6c5&&_0x833215(0x1bf)==_0x470c26?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
- <mwc-icon @click=${_0x389d07=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
1
+ function a0_0x1e56(){const _0x32a78c=['content','1193vZupex','portrait','NAVBAR','dynamic-menu-part','84496VYuYde','2586072gsxkAO','76695AgNxep','FRONT_END','3135318kkkRKk','active','HEADERBAR','landscape','598wtbdYM','dispatch','data','hamburger','appName','455FgRuTj','172raPxhR','value','77mrpYcT','query','filter','get','4437omNjwM','rank','13810GFLVpU','dynamic-menu','1962621VkwnmR'];a0_0x1e56=function(){return _0x32a78c;};return a0_0x1e56();}(function(_0x37830b,_0x43983b){const _0x545ee3=a0_0x10ec,_0x150865=_0x37830b();while(!![]){try{const _0x56a48c=parseInt(_0x545ee3(0x7e))/0x1*(-parseInt(_0x545ee3(0x8a))/0x2)+-parseInt(_0x545ee3(0x7c))/0x3+-parseInt(_0x545ee3(0x90))/0x4*(parseInt(_0x545ee3(0x84))/0x5)+parseInt(_0x545ee3(0x86))/0x6+parseInt(_0x545ee3(0x8f))/0x7*(-parseInt(_0x545ee3(0x82))/0x8)+parseInt(_0x545ee3(0x78))/0x9*(parseInt(_0x545ee3(0x7a))/0xa)+-parseInt(_0x545ee3(0x92))/0xb*(-parseInt(_0x545ee3(0x83))/0xc);if(_0x56a48c===_0x43983b)break;else _0x150865['push'](_0x150865['shift']());}catch(_0x329163){_0x150865['push'](_0x150865['shift']());}}}(a0_0x1e56,0x56a5b));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x2c0e38 from'graphql-tag';import{html}from'lit';function a0_0x10ec(_0x3c9560,_0x93834a){const _0x1e560d=a0_0x1e56();return a0_0x10ec=function(_0x10ec27,_0x2a18e2){_0x10ec27=_0x10ec27-0x76;let _0x239775=_0x1e560d[_0x10ec27];return _0x239775;},a0_0x10ec(_0x3c9560,_0x93834a);}import{client}from'@operato/graphql';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='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x4736d2){const _0x1f0f85=a0_0x10ec;var {hovering:_0x146567=!!isMobileDevice(),slotTemplate:_0x1ed68f,portraitSlotTemplate:_0x4685d5,landscapeSlotTemplate:_0x5e8821,position:_0x1d5a6e=VIEWPART_POSITION[_0x1f0f85(0x80)]}=_0x4736d2||{};const {hovering:_0x2576fd}=(await clientSettingStore[_0x1f0f85(0x77)](_0x1f0f85(0x7b)))?.[_0x1f0f85(0x91)]||{};void 0x0!==_0x2576fd&&(_0x146567=_0x2576fd);const _0x78fd8b=_0x1d5a6e==VIEWPART_POSITION[_0x1f0f85(0x88)]?_0x1f0f85(0x89):_0x1f0f85(0x7f),_0x5e896f=('landscape'==_0x78fd8b?_0x5e8821:_0x4685d5)||_0x1ed68f||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x146567,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x146567,'template':html`<dynamic-menu-part .orientation=${_0x78fd8b}>${_0x5e896f}</dynamic-menu-part>`},'position':_0x1d5a6e}),_0x146567&&_0x1f0f85(0x7f)==_0x78fd8b?HAMBURGER||(HAMBURGER={'name':_0x1f0f85(0x8d),'template':html`
2
+ <mwc-icon @click=${_0x250467=>toggleOverlay(_0x1f0f85(0x81),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION['FRONT_END']},store[_0x833215(0x1b8)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x833215(0x1b8)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x226dfc){const _0x42e425=a0_0x2e3df2;var _0x1cfe5a=document[_0x42e425(0x1cb)](_0x42e425(0x1b3))?.[_0x42e425(0x1b2)],_0x1ecf04=(await client['query']({'query':a0_0x1c0351`
4
+ `,'position':TOOL_POSITION[_0x1f0f85(0x85)]},store[_0x1f0f85(0x8b)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1f0f85(0x8b)]({'type':REMOVE_APP_TOOL,'name':_0x1f0f85(0x8d)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x4beb49){const _0x390191=a0_0x10ec;var _0x5e8df9=document['querySelector']('meta[name=\x22application-name\x22]')?.[_0x390191(0x7d)],_0x56f4f0=(await client[_0x390191(0x93)]({'query':a0_0x2c0e38`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x2e3df2=a0_0x2586;(function(_0x2364e5,_0x1932bc){const _0xea8f3d=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x42e425(0x1bb),'operator':'eq','value':!0x0},{'name':_0x42e425(0x1b5),'operator':'in','value':['',_0x1cfe5a]}],'sortings':[{'name':_0x42e425(0x1c2),'desc':!0x1}]}}))[_0x42e425(0x1b1)]['liteMenus'][_0x42e425(0x1af)];store[_0x42e425(0x1b8)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1ecf04[_0x42e425(0x1b7)](_0xeb9871=>!_0xeb9871[_0x42e425(0x1b5)]||_0xeb9871[_0x42e425(0x1b5)]===_0x1cfe5a),'template':_0x226dfc});}
23
+ `,'variables':{'filters':[{'name':_0x390191(0x87),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x5e8df9]}],'sortings':[{'name':_0x390191(0x79),'desc':!0x1}]}}))[_0x390191(0x8c)]['liteMenus']['items'];store[_0x390191(0x8b)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x56f4f0[_0x390191(0x76)](_0x32f257=>!_0x32f257[_0x390191(0x8e)]||_0x32f257[_0x390191(0x8e)]===_0x5e8df9),'template':_0x4beb49});}
@@ -95,6 +95,16 @@ export default function bootstrap() {
95
95
  }
96
96
  }
97
97
  })
98
+ store.dispatch({
99
+ type: ADD_MORENDA,
100
+ morenda: {
101
+ icon: html`<mwc-icon>work</mwc-icon>`,
102
+ name: html`<ox-i18n msgid="원본"></ox-i18n>`,
103
+ action: () => {
104
+ navigate('activity-list')
105
+ }
106
+ }
107
+ })
98
108
 
99
109
 
100
110
  // 7. 모든 routes 정보 추출
@@ -155,6 +165,9 @@ function metaUiRoute(page) {
155
165
  } else if (page == 'config-terminology') {
156
166
  import('./pages/terms/config-terminology')
157
167
  return page
168
+ } else if (page == 'meta-activity-list') {
169
+ import('./pages/activity/meta-activity-list-page')
170
+ return page
158
171
  } else if (page == 'config-entity') {
159
172
  import('./pages/entity/config-entity')
160
173
  return page
@@ -1 +1 @@
1
- function a0_0x25d5(_0xaddc02,_0x111d89){const _0x5c1993=a0_0x5c19();return a0_0x25d5=function(_0x25d587,_0x22f790){_0x25d587=_0x25d587-0x1ab;let _0x3aa020=_0x5c1993[_0x25d587];return _0x3aa020;},a0_0x25d5(_0xaddc02,_0x111d89);}const a0_0x59a72d=a0_0x25d5;(function(_0x212133,_0x3c5a54){const _0x202286=a0_0x25d5,_0x4afbf8=_0x212133();while(!![]){try{const _0x597415=parseInt(_0x202286(0x1d7))/0x1+-parseInt(_0x202286(0x1bb))/0x2*(parseInt(_0x202286(0x1cc))/0x3)+parseInt(_0x202286(0x1bc))/0x4+-parseInt(_0x202286(0x1b9))/0x5*(-parseInt(_0x202286(0x1ae))/0x6)+parseInt(_0x202286(0x1d6))/0x7*(parseInt(_0x202286(0x1ab))/0x8)+parseInt(_0x202286(0x1cd))/0x9+-parseInt(_0x202286(0x1d2))/0xa;if(_0x597415===_0x3c5a54)break;else _0x4afbf8['push'](_0x4afbf8['shift']());}catch(_0x55ea2e){_0x4afbf8['push'](_0x4afbf8['shift']());}}}(a0_0x5c19,0xa1ce3));import{MetaApi}from'./../utils/meta-api';function a0_0x5c19(){const _0x2a2a77=['setParentId','callScenario','6173750AJeYZw','parseBasicTabConfigs','title_detail','params','7LQYjgW','104788FdJPtg','isPage','title','menuInfo','487624rpwPYV','is_popup','filterForm','5052lCALqz','name','pageUpdated','properties','getAndParseMenuMeta','getMenuMeta','getParams','isNotEmpty','excuteOpenPopupButtonClick','active','tTitle','3710ZbjrYU','executeCallScenarioButtonClick','358916ZGmUCe','403604eWihBt','parseBasicFormConfigs','fetch','fetchHandler','etc','split','openDynamicPopup','parseBasicGridConfigs','is_detail','errors','grist','isEmpty','isPopup','isElement','parseBasicServiceConfigs','parseBasicButtonConfigs','6AzDgmd','6728760PNClef','menu','isDetail'];a0_0x5c19=function(){return _0x2a2a77;};return a0_0x5c19();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x6f2ca6=>class extends _0x6f2ca6{static get[a0_0x59a72d(0x1b1)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x561636=>Boolean(_0x561636)},'is_popup':{'type':Boolean,'converter':_0x13a332=>Boolean(_0x13a332)}};}get[a0_0x59a72d(0x1c9)](){const _0x5ac237=a0_0x59a72d;return!0x0===this[_0x5ac237(0x1c4)]||!0x0===this['is_popup'];}get[a0_0x59a72d(0x1cf)](){const _0x56bb49=a0_0x59a72d;return!ValueUtil[_0x56bb49(0x1c7)](this['is_detail'])&&this[_0x56bb49(0x1c4)];}async[a0_0x59a72d(0x1b0)](_0x463e45,_0x3b8d61,_0x2a2fad){const _0x32746a=a0_0x59a72d;let _0x2d5364=this['lifecycle']?.[_0x32746a(0x1d5)]?this['lifecycle'][_0x32746a(0x1d5)]:{};this[_0x32746a(0x1d8)]&&this[_0x32746a(0x1b7)]&&0x0==_0x2a2fad[_0x32746a(0x1b7)]&&ValueUtil[_0x32746a(0x1b5)](_0x2d5364)&&this[_0x32746a(0x1be)]();}get[a0_0x59a72d(0x1c8)](){const _0x3e3b92=a0_0x59a72d;return!ValueUtil[_0x3e3b92(0x1c7)](this[_0x3e3b92(0x1ac)])&&this[_0x3e3b92(0x1ac)];}get['isPage'](){const _0x29ad72=a0_0x59a72d;return!this[_0x29ad72(0x1c4)]&&!this[_0x29ad72(0x1ac)];}async[a0_0x59a72d(0x1b2)](){const _0x3e6cc2=a0_0x59a72d;let _0xb9f697=await MetaApi[_0x3e6cc2(0x1b3)](this);_0xb9f697&&(this[_0x3e6cc2(0x1da)]=_0xb9f697[_0x3e6cc2(0x1ce)],this[_0x3e6cc2(0x1c3)]&&this[_0x3e6cc2(0x1c3)](_0xb9f697),this['parseBasicServiceConfigs']&&this[_0x3e6cc2(0x1ca)](_0xb9f697),this[_0x3e6cc2(0x1bd)]&&this[_0x3e6cc2(0x1bd)](_0xb9f697),this['parseBasicTabConfigs']&&this[_0x3e6cc2(0x1d3)](_0xb9f697),this[_0x3e6cc2(0x1cb)]&&this['parseBasicButtonConfigs'](_0xb9f697),this['etcConfig']=_0xb9f697[_0x3e6cc2(0x1c0)]);}async['fetch'](){const _0x327f0a=a0_0x59a72d;ValueUtil['isNotEmpty'](this[_0x327f0a(0x1c6)])?this[_0x327f0a(0x1c6)][_0x327f0a(0x1be)]():(ValueUtil['isNotEmpty'](this[_0x327f0a(0x1ad)])||this[_0x327f0a(0x1bf)])&&await this['fetchHandler']();}async[a0_0x59a72d(0x1b6)](_0x300b63,_0x5eeebf,_0x12fcf4){const _0x3f308e=a0_0x59a72d;let _0x3d252b=TermsUtil[_0x3f308e(0x1b8)](_0x300b63[_0x3f308e(0x1d9)]);ValueUtil[_0x3f308e(0x1b5)](_0x300b63[_0x3f308e(0x1d4)])&&(_0x3d252b=_0x3d252b+'-'+ValueUtil[_0x3f308e(0x1b4)](_0x5eeebf,..._0x300b63[_0x3f308e(0x1d4)][_0x3f308e(0x1c1)]('.'))),MetaApi[_0x3f308e(0x1c2)](_0x3d252b,_0x300b63,_0x5eeebf,_0x12fcf4);}async[a0_0x59a72d(0x1ba)](_0x324c07,_0x284a4c,_0x12b395){const _0xcbe8a9=a0_0x59a72d;let _0x430887=await MetaApi[_0xcbe8a9(0x1d1)](_0x324c07['name'],_0x324c07[_0xcbe8a9(0x1af)],_0x284a4c);!0x1!==_0x430887&&!_0x430887[_0xcbe8a9(0x1c5)]&&ValueUtil[_0xcbe8a9(0x1b5)](_0x324c07['after'])&&_0x12b395();}[a0_0x59a72d(0x1d0)](_0x2e87cd){const _0x59cb9b=a0_0x59a72d;this['parent_id']=_0x2e87cd,this[_0x59cb9b(0x1be)]();}};
1
+ function a0_0x3f0c(){const _0x36b6d2=['629896jvipZj','1034AZMXAg','title_detail','isPopup','grist','isDetail','isEmpty','lifecycle','tTitle','pageUpdated','name','parseBasicFormConfigs','isNotEmpty','is_popup','excuteOpenPopupButtonClick','5118592jhrWLN','16svSxxx','fetchHandler','12FhnrIZ','parent_id','is_detail','active','filterForm','isElement','errors','51690JMjTNg','etcConfig','menuInfo','isPage','split','parseBasicButtonConfigs','params','5LxhTbB','getParams','setParentId','properties','26CFKpCt','callScenario','openDynamicPopup','6yGVoRB','parseBasicServiceConfigs','fetch','5437131MOstAr','2037303bjFHRZ','400746MGzaFp','parseBasicGridConfigs','etc','executeCallScenarioButtonClick','parseBasicTabConfigs','8176920XdIrcD'];a0_0x3f0c=function(){return _0x36b6d2;};return a0_0x3f0c();}const a0_0x1707d4=a0_0x3ede;(function(_0x51a5fa,_0x26355b){const _0x7f1d14=a0_0x3ede,_0x45ce96=_0x51a5fa();while(!![]){try{const _0x5ad9a0=parseInt(_0x7f1d14(0x164))/0x1+parseInt(_0x7f1d14(0x16a))/0x2*(-parseInt(_0x7f1d14(0x14a))/0x3)+parseInt(_0x7f1d14(0x147))/0x4*(parseInt(_0x7f1d14(0x158))/0x5)+parseInt(_0x7f1d14(0x15f))/0x6*(parseInt(_0x7f1d14(0x162))/0x7)+parseInt(_0x7f1d14(0x148))/0x8*(parseInt(_0x7f1d14(0x163))/0x9)+parseInt(_0x7f1d14(0x151))/0xa*(parseInt(_0x7f1d14(0x16b))/0xb)+parseInt(_0x7f1d14(0x169))/0xc*(-parseInt(_0x7f1d14(0x15c))/0xd);if(_0x5ad9a0===_0x26355b)break;else _0x45ce96['push'](_0x45ce96['shift']());}catch(_0x4c7f99){_0x45ce96['push'](_0x45ce96['shift']());}}}(a0_0x3f0c,0xbcc0f));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x3ede(_0x565dda,_0x3e1483){const _0x3f0c33=a0_0x3f0c();return a0_0x3ede=function(_0x3ede42,_0x1e77dc){_0x3ede42=_0x3ede42-0x13a;let _0x22d39a=_0x3f0c33[_0x3ede42];return _0x22d39a;},a0_0x3ede(_0x565dda,_0x3e1483);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0xf35f5c=>class extends _0xf35f5c{static get[a0_0x1707d4(0x15b)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x57cf81=>Boolean(_0x57cf81)},'is_popup':{'type':Boolean,'converter':_0x2b0f52=>Boolean(_0x2b0f52)}};}get[a0_0x1707d4(0x14f)](){const _0x41a01f=a0_0x1707d4;return!0x0===this['is_detail']||!0x0===this[_0x41a01f(0x145)];}get[a0_0x1707d4(0x13d)](){const _0x2f04b0=a0_0x1707d4;return!ValueUtil[_0x2f04b0(0x13e)](this['is_detail'])&&this[_0x2f04b0(0x14c)];}async[a0_0x1707d4(0x141)](_0x418bcf,_0x1fe1d9,_0x13b417){const _0x201f6c=a0_0x1707d4;let _0x2724a1=this[_0x201f6c(0x13f)]?.['params']?this['lifecycle'][_0x201f6c(0x157)]:{};this[_0x201f6c(0x154)]&&this[_0x201f6c(0x14d)]&&0x0==_0x13b417['active']&&ValueUtil['isNotEmpty'](_0x2724a1)&&this[_0x201f6c(0x161)]();}get[a0_0x1707d4(0x13b)](){const _0x30fbbb=a0_0x1707d4;return!ValueUtil[_0x30fbbb(0x13e)](this[_0x30fbbb(0x145)])&&this[_0x30fbbb(0x145)];}get[a0_0x1707d4(0x154)](){const _0x2180ac=a0_0x1707d4;return!this['is_detail']&&!this[_0x2180ac(0x145)];}async['getAndParseMenuMeta'](){const _0x2d83e1=a0_0x1707d4;let _0x580880=await MetaApi['getMenuMeta'](this);_0x580880&&(this[_0x2d83e1(0x153)]=_0x580880['menu'],this[_0x2d83e1(0x165)]&&this['parseBasicGridConfigs'](_0x580880),this[_0x2d83e1(0x160)]&&this[_0x2d83e1(0x160)](_0x580880),this[_0x2d83e1(0x143)]&&this[_0x2d83e1(0x143)](_0x580880),this[_0x2d83e1(0x168)]&&this[_0x2d83e1(0x168)](_0x580880),this['parseBasicButtonConfigs']&&this[_0x2d83e1(0x156)](_0x580880),this[_0x2d83e1(0x152)]=_0x580880[_0x2d83e1(0x166)]);}async['fetch'](){const _0x14214d=a0_0x1707d4;ValueUtil['isNotEmpty'](this['grist'])?this[_0x14214d(0x13c)][_0x14214d(0x161)]():(ValueUtil[_0x14214d(0x144)](this[_0x14214d(0x14e)])||this[_0x14214d(0x149)])&&await this[_0x14214d(0x149)]();}async[a0_0x1707d4(0x146)](_0x168724,_0x5ad474,_0xd421dd){const _0x3152b9=a0_0x1707d4;let _0x597825=TermsUtil[_0x3152b9(0x140)](_0x168724['title']);ValueUtil[_0x3152b9(0x144)](_0x168724['title_detail'])&&(_0x597825=_0x597825+'-'+ValueUtil[_0x3152b9(0x159)](_0x5ad474,..._0x168724[_0x3152b9(0x13a)][_0x3152b9(0x155)]('.'))),MetaApi[_0x3152b9(0x15e)](_0x597825,_0x168724,_0x5ad474,_0xd421dd);}async[a0_0x1707d4(0x167)](_0x12860d,_0x2698ab,_0x14396b){const _0xa046b7=a0_0x1707d4;let _0x86337f=await MetaApi[_0xa046b7(0x15d)](_0x12860d[_0xa046b7(0x142)],_0x12860d[_0xa046b7(0x142)],_0x2698ab);!0x1!==_0x86337f&&!_0x86337f[_0xa046b7(0x150)]&&ValueUtil[_0xa046b7(0x144)](_0x12860d['after'])&&_0x14396b();}[a0_0x1707d4(0x15a)](_0x4e6f4a){const _0x58f6da=a0_0x1707d4;this[_0x58f6da(0x14b)]=_0x4e6f4a,this[_0x58f6da(0x161)]();}};
@@ -1,4 +1,4 @@
1
- function a0_0x3752(_0x25d9bb,_0x4f9a23){const _0x2ab4fe=a0_0x2ab4();return a0_0x3752=function(_0x3752f5,_0x186e36){_0x3752f5=_0x3752f5-0x181;let _0x382ed0=_0x2ab4fe[_0x3752f5];return _0x382ed0;},a0_0x3752(_0x25d9bb,_0x4f9a23);}const a0_0x8ee2c=a0_0x3752;(function(_0x161618,_0x45885c){const _0x2c7e4b=a0_0x3752,_0x29986c=_0x161618();while(!![]){try{const _0x197980=-parseInt(_0x2c7e4b(0x191))/0x1+-parseInt(_0x2c7e4b(0x19a))/0x2*(parseInt(_0x2c7e4b(0x18b))/0x3)+-parseInt(_0x2c7e4b(0x1a7))/0x4*(parseInt(_0x2c7e4b(0x1ac))/0x5)+parseInt(_0x2c7e4b(0x184))/0x6+-parseInt(_0x2c7e4b(0x1a8))/0x7+-parseInt(_0x2c7e4b(0x1ab))/0x8*(-parseInt(_0x2c7e4b(0x1a3))/0x9)+parseInt(_0x2c7e4b(0x182))/0xa;if(_0x197980===_0x45885c)break;else _0x29986c['push'](_0x29986c['shift']());}catch(_0x5628a7){_0x29986c['push'](_0x29986c['shift']());}}}(a0_0x2ab4,0x53cb3));import{html}from'lit';function a0_0x2ab4(){const _0x3cc4f5=['deleteByIds','styles','filterFormId','712PjQTGp','4292631qpbBsg','title','import','4118320icImAm','6685vNSsFL','save','isNotEmpty','filterForm','find','firstUpdated','grist','delete','export','10319850VbZvkw','pageInitialized','3091176WrqwFX','parseBasicGridConfigs','getSelectedIdList','parseGridConfigSet','isElement','gridColumnConfig','renderRoot','1382781tqARCW','gridConfig','fetch','gristConfigSet','exportableData','ox-grist','406606LSUVRM','findOne','isPage','searchConfig','getBasicGristStyles','search','querySelector','parseGristConfigs','gristId','2jnNseM','properties','connectedCallback','getButtonContainer','patchesForUpdateMultiple','updateMultiple','clear','getBasicGristHtml','menuInfo','9KXpoGZ'];a0_0x2ab4=function(){return _0x3cc4f5;};return a0_0x2ab4();}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=_0xf8346f=>class extends MetaButtonMixin(_0xf8346f){static get[a0_0x8ee2c(0x1a5)](){const _0x2375a4=a0_0x8ee2c;return MetaApi[_0x2375a4(0x195)]();}static get[a0_0x8ee2c(0x19b)](){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_0x8ee2c(0x1b2)](){const _0x568bed=a0_0x8ee2c;return this[_0x568bed(0x18a)]?.[_0x568bed(0x197)](this[_0x568bed(0x199)]);}get[a0_0x8ee2c(0x1af)](){const _0x2e8b82=a0_0x8ee2c;return this['shadowRoot']?.[_0x2e8b82(0x197)](this[_0x2e8b82(0x1a6)]);}get['context'](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x12867d=a0_0x8ee2c;this[_0x12867d(0x199)]=_0x12867d(0x190),this['filterFormId']='ox-filters-form',await this['getAndParseMenuMeta'](),this[_0x12867d(0x188)]&&await this[_0x12867d(0x198)](),super[_0x12867d(0x19c)]&&await super[_0x12867d(0x19c)]();}async[a0_0x8ee2c(0x1b1)](){const _0x18a897=a0_0x8ee2c;super[_0x18a897(0x1b1)]&&await super[_0x18a897(0x1b1)]();}async[a0_0x8ee2c(0x183)](){const _0x535c2c=a0_0x8ee2c;this[_0x535c2c(0x193)]&&await this[_0x535c2c(0x198)](),super[_0x535c2c(0x183)]&&await super[_0x535c2c(0x183)]();}['render'](){const _0x4fdf93=a0_0x8ee2c;return html`
2
- ${MetaApi[_0x4fdf93(0x1a1)](this)}
3
- ${this['isPage']?html``:MetaUiUtil[_0x4fdf93(0x19d)](this)}
4
- `;}[a0_0x8ee2c(0x185)](_0xfdcdd3){const _0x11fab4=a0_0x8ee2c;this[_0x11fab4(0x18c)]=_0xfdcdd3['grid'],this[_0x11fab4(0x189)]=_0xfdcdd3['grid_column'],this[_0x11fab4(0x194)]=_0xfdcdd3[_0x11fab4(0x196)];}async[a0_0x8ee2c(0x198)](){const _0x5ce9ad=a0_0x8ee2c;this[_0x5ce9ad(0x18e)]=await MetaApi[_0x5ce9ad(0x187)](this);}async['fetch'](){const _0x1f6d59=a0_0x8ee2c;await this[_0x1f6d59(0x1b2)]['fetch']();}async[a0_0x8ee2c(0x1ad)](){const _0x3e766d=a0_0x8ee2c;let _0xb01da5=MetaApi[_0x3e766d(0x19e)](this[_0x3e766d(0x1b2)]);!!ValueUtil['isNotEmpty'](_0xb01da5)&&await this[_0x3e766d(0x19f)](_0xb01da5)&&this[_0x3e766d(0x18d)]();}async[a0_0x8ee2c(0x1b0)](){const _0x30debc=a0_0x8ee2c;let _0x1911dc=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil[_0x30debc(0x1ae)](_0x1911dc)?await this[_0x30debc(0x192)](_0x1911dc[0x0]):{};}async[a0_0x8ee2c(0x1b3)](){const _0x416786=a0_0x8ee2c;let _0x1de137=MetaApi[_0x416786(0x186)](this[_0x416786(0x1b2)],!0x0);!!ValueUtil[_0x416786(0x1ae)](_0x1de137)&&await this[_0x416786(0x1a4)](_0x1de137)&&this[_0x416786(0x18d)]();}async[a0_0x8ee2c(0x181)](){const _0x262e8e=a0_0x8ee2c;let _0x24ccd6=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x262e8e(0x1a2)],_0x262e8e(0x1a9)));return await MetaApi[_0x262e8e(0x18f)](this[_0x262e8e(0x188)],_0x24ccd6,this[_0x262e8e(0x1b2)]);}async[a0_0x8ee2c(0x1aa)](){}async[a0_0x8ee2c(0x1a0)](){const _0x33931b=a0_0x8ee2c;this['grist']&&(this[_0x33931b(0x1b2)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};
1
+ const a0_0x4abcb5=a0_0x6d43;(function(_0x1042ef,_0x34a66a){const _0x47aee8=a0_0x6d43,_0x25d230=_0x1042ef();while(!![]){try{const _0x5c43dc=parseInt(_0x47aee8(0x168))/0x1+parseInt(_0x47aee8(0x180))/0x2*(-parseInt(_0x47aee8(0x177))/0x3)+parseInt(_0x47aee8(0x170))/0x4*(-parseInt(_0x47aee8(0x156))/0x5)+parseInt(_0x47aee8(0x157))/0x6+-parseInt(_0x47aee8(0x159))/0x7*(parseInt(_0x47aee8(0x181))/0x8)+-parseInt(_0x47aee8(0x172))/0x9+-parseInt(_0x47aee8(0x163))/0xa*(-parseInt(_0x47aee8(0x186))/0xb);if(_0x5c43dc===_0x34a66a)break;else _0x25d230['push'](_0x25d230['shift']());}catch(_0x295513){_0x25d230['push'](_0x25d230['shift']());}}}(a0_0x3914,0x49b81));function a0_0x6d43(_0x8cf8f4,_0x277c25){const _0x39144d=a0_0x3914();return a0_0x6d43=function(_0x6d43f3,_0x2cfc5c){_0x6d43f3=_0x6d43f3-0x156;let _0x11ea8a=_0x39144d[_0x6d43f3];return _0x11ea8a;},a0_0x6d43(_0x8cf8f4,_0x277c25);}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=_0x30ca8b=>class extends MetaButtonMixin(_0x30ca8b){static get[a0_0x4abcb5(0x17b)](){const _0x502a81=a0_0x4abcb5;return MetaApi[_0x502a81(0x15c)]();}static get[a0_0x4abcb5(0x16c)](){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_0x4abcb5(0x164)](){const _0x2f5406=a0_0x4abcb5;return this[_0x2f5406(0x16d)]?.[_0x2f5406(0x179)](this['gristId']);}get[a0_0x4abcb5(0x16a)](){const _0xaf3dd2=a0_0x4abcb5;return this[_0xaf3dd2(0x183)]?.[_0xaf3dd2(0x179)](this[_0xaf3dd2(0x169)]);}get['context'](){const _0x58dbee=a0_0x4abcb5;return MetaUiUtil[_0x58dbee(0x16e)](this);}async[a0_0x4abcb5(0x16f)](){const _0x29e240=a0_0x4abcb5;this['gristId']=_0x29e240(0x15a),this[_0x29e240(0x169)]=_0x29e240(0x182),await this[_0x29e240(0x15d)](),this[_0x29e240(0x166)]&&await this['parseGristConfigs'](),super[_0x29e240(0x16f)]&&await super[_0x29e240(0x16f)]();}async['firstUpdated'](){const _0x8f8e75=a0_0x4abcb5;super[_0x8f8e75(0x175)]&&await super[_0x8f8e75(0x175)]();}async['pageInitialized'](){const _0x54d3a2=a0_0x4abcb5;this[_0x54d3a2(0x16b)]&&await this[_0x54d3a2(0x160)](),super['pageInitialized']&&await super[_0x54d3a2(0x15b)]();}['render'](){const _0x391178=a0_0x4abcb5;return html`
2
+ ${MetaApi[_0x391178(0x167)](this)}
3
+ ${this[_0x391178(0x16b)]?html``:MetaUiUtil[_0x391178(0x165)](this)}
4
+ `;}['parseBasicGridConfigs'](_0xd629a7){const _0x559bc0=a0_0x4abcb5;this[_0x559bc0(0x171)]=_0xd629a7[_0x559bc0(0x158)],this[_0x559bc0(0x15e)]=_0xd629a7[_0x559bc0(0x187)],this[_0x559bc0(0x188)]=_0xd629a7['search'];}async[a0_0x4abcb5(0x160)](){const _0x2dd338=a0_0x4abcb5;this['gristConfigSet']=await MetaApi[_0x2dd338(0x17f)](this);}async['fetch'](){const _0x1d2782=a0_0x4abcb5;await this[_0x1d2782(0x164)][_0x1d2782(0x174)]();}async['save'](){const _0x25129f=a0_0x4abcb5;let _0x272f03=MetaApi[_0x25129f(0x15f)](this[_0x25129f(0x164)]);!!ValueUtil[_0x25129f(0x162)](_0x272f03)&&await this[_0x25129f(0x17a)](_0x272f03)&&this[_0x25129f(0x174)]();}async['find'](){const _0x58514c=a0_0x4abcb5;let _0x4fe7db=MetaApi[_0x58514c(0x17e)](this['grist'],!0x0);return ValueUtil[_0x58514c(0x162)](_0x4fe7db)?await this[_0x58514c(0x17d)](_0x4fe7db[0x0]):{};}async['delete'](){const _0x51cf1d=a0_0x4abcb5;let _0xee34c3=MetaApi['getSelectedIdList'](this[_0x51cf1d(0x164)],!0x0);!!ValueUtil[_0x51cf1d(0x162)](_0xee34c3)&&await this[_0x51cf1d(0x184)](_0xee34c3)&&this['fetch']();}async['export'](){const _0x53ec06=a0_0x4abcb5;let _0x2f4172=TermsUtil['tTitle'](ValueUtil[_0x53ec06(0x176)](this[_0x53ec06(0x17c)],_0x53ec06(0x173)));return await MetaApi['exportableData'](this[_0x53ec06(0x166)],_0x2f4172,this[_0x53ec06(0x164)]);}async[a0_0x4abcb5(0x185)](){}async[a0_0x4abcb5(0x178)](){const _0x19d612=a0_0x4abcb5;this[_0x19d612(0x164)]&&(this[_0x19d612(0x164)][_0x19d612(0x161)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};function a0_0x3914(){const _0x2f4d00=['7sCzitH','ox-grist','pageInitialized','getBasicGristStyles','getAndParseMenuMeta','gridColumnConfig','patchesForUpdateMultiple','parseGristConfigs','data','isNotEmpty','4086230qtlkdL','grist','getButtonContainer','isElement','getBasicGristHtml','267573PJzPLy','filterFormId','filterForm','isPage','properties','renderRoot','getContextObject','connectedCallback','7532DKAzpz','gridConfig','676746ZtklFX','title','fetch','firstUpdated','getParams','21dNKKga','clear','querySelector','updateMultiple','styles','menuInfo','findOne','getSelectedIdList','parseGridConfigSet','11902huFHaO','2618192HrEWtk','ox-filters-form','shadowRoot','deleteByIds','import','22PIPWtU','grid_column','searchConfig','905ITvBkC','12492BRhViP','grid'];a0_0x3914=function(){return _0x2f4d00;};return a0_0x3914();}
@@ -1 +1 @@
1
- function a0_0x5667(_0x255659,_0x89d19){const _0x410883=a0_0x4108();return a0_0x5667=function(_0x56672e,_0x301416){_0x56672e=_0x56672e-0x70;let _0x43298b=_0x410883[_0x56672e];return _0x43298b;},a0_0x5667(_0x255659,_0x89d19);}function a0_0x4108(){const _0x16dee0=['44644iHltMq','import','438276TPpPdy','customButtonHandler','22WYjzCb','getCustomButtonContainerStyle','9YMGXRt','gristButtonHandler','5eXyWsx','useButtonAdd','getButtonContainer','button','useButtonImport','parseBasicButtonConfigs','1844400XMdAqx','buttonConfig','6165800SpYOIp','getButtonActionHandler','isButtonExist','10ODyedc','useButtonExport','1188090lJQylW','getContextButtons','getBasicButtonHandler','3822651jDtjFc','add','252804eJtlRF'];a0_0x4108=function(){return _0x16dee0;};return a0_0x4108();}const a0_0x35d874=a0_0x5667;(function(_0x45a138,_0x2ec718){const _0x48fd13=a0_0x5667,_0x5b1698=_0x45a138();while(!![]){try{const _0x547632=parseInt(_0x48fd13(0x74))/0x1*(parseInt(_0x48fd13(0x87))/0x2)+-parseInt(_0x48fd13(0x7a))/0x3*(parseInt(_0x48fd13(0x73))/0x4)+-parseInt(_0x48fd13(0x7c))/0x5*(parseInt(_0x48fd13(0x76))/0x6)+-parseInt(_0x48fd13(0x71))/0x7+-parseInt(_0x48fd13(0x82))/0x8+-parseInt(_0x48fd13(0x89))/0x9+parseInt(_0x48fd13(0x84))/0xa*(parseInt(_0x48fd13(0x78))/0xb);if(_0x547632===_0x2ec718)break;else _0x5b1698['push'](_0x5b1698['shift']());}catch(_0xe577d8){_0x5b1698['push'](_0x5b1698['shift']());}}}(a0_0x4108,0x45996));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x3797ca=>class extends MetaServiceMixin(_0x3797ca){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x35d874(0x79)](){return MetaUiUtil['getCustomButtonContainerStyles']();}['getContextButtons'](){const _0x5bc587=a0_0x35d874;return MetaUiUtil[_0x5bc587(0x8a)](this);}[a0_0x35d874(0x7e)](){const _0x3802a4=a0_0x35d874;return this['isPage']?html``:MetaUiUtil[_0x3802a4(0x7e)](this);}async[a0_0x35d874(0x70)](_0x1e5bd7,_0xe377c8,_0x508a76){const _0x199432=a0_0x35d874;return await MetaUiUtil[_0x199432(0x85)](this,_0x1e5bd7,_0xe377c8,_0x508a76);}async[a0_0x35d874(0x77)](_0x531f60){const _0x57b808=a0_0x35d874;await MetaUiUtil[_0x57b808(0x77)](this,_0x531f60);}async[a0_0x35d874(0x7b)](_0x3956c8,_0x957b36){const _0x47e08d=a0_0x35d874;await MetaUiUtil[_0x47e08d(0x7b)](this,_0x3956c8,_0x957b36);}[a0_0x35d874(0x81)](_0x31d862){const _0x270ccb=a0_0x35d874;this[_0x270ccb(0x83)]=_0x31d862[_0x270ccb(0x7f)],this[_0x270ccb(0x80)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],_0x270ccb(0x75)),this[_0x270ccb(0x88)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],'export'),this[_0x270ccb(0x7d)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],_0x270ccb(0x72));}};
1
+ function a0_0xe926(){const _0x48c495=['useButtonImport','13778MaToTT','button','buttonConfig','14270DvhXQy','127750sMMclk','4698891nrXxqF','239127LacwDV','getButtonContainer','getCustomButtonContainerStyle','59fWdrkR','gristButtonHandler','401523SqWAWE','getBasicButtonHandler','803LuYywv','parseBasicButtonConfigs','isButtonExist','228UPAtyV','customButtonHandler','useButtonAdd','getButtonActionHandler','export','getCustomButtonContainerStyles','35019456lLotWI','import','getContextButtons','add','32KUwqpl','40BLflGW'];a0_0xe926=function(){return _0x48c495;};return a0_0xe926();}const a0_0x2f51b4=a0_0x3a25;(function(_0x43c71a,_0x5a81bc){const _0x473418=a0_0x3a25,_0x18062f=_0x43c71a();while(!![]){try{const _0x402795=-parseInt(_0x473418(0xe5))/0x1*(-parseInt(_0x473418(0xdc))/0x2)+-parseInt(_0x473418(0xe7))/0x3*(parseInt(_0x473418(0xd9))/0x4)+-parseInt(_0x473418(0xdf))/0x5*(-parseInt(_0x473418(0xcf))/0x6)+-parseInt(_0x473418(0xe2))/0x7*(parseInt(_0x473418(0xda))/0x8)+-parseInt(_0x473418(0xe1))/0x9+parseInt(_0x473418(0xe0))/0xa*(-parseInt(_0x473418(0xcc))/0xb)+parseInt(_0x473418(0xd5))/0xc;if(_0x402795===_0x5a81bc)break;else _0x18062f['push'](_0x18062f['shift']());}catch(_0x3f136a){_0x18062f['push'](_0x18062f['shift']());}}}(a0_0xe926,0xb3ed8));function a0_0x3a25(_0x1e18be,_0x48dae0){const _0xe92653=a0_0xe926();return a0_0x3a25=function(_0x3a254f,_0x27d975){_0x3a254f=_0x3a254f-0xcb;let _0x4d973a=_0xe92653[_0x3a254f];return _0x4d973a;},a0_0x3a25(_0x1e18be,_0x48dae0);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x1d440f=>class extends MetaServiceMixin(_0x1d440f){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x2f51b4(0xe4)](){const _0xcaf093=a0_0x2f51b4;return MetaUiUtil[_0xcaf093(0xd4)]();}[a0_0x2f51b4(0xd7)](){return MetaUiUtil['getContextButtons'](this);}['getButtonContainer'](){const _0x4bee09=a0_0x2f51b4;return this['isPage']?html``:MetaUiUtil[_0x4bee09(0xe3)](this);}async[a0_0x2f51b4(0xcb)](_0x400097,_0x5e9bc9,_0x5eaed0){const _0x1e0a4a=a0_0x2f51b4;return await MetaUiUtil[_0x1e0a4a(0xd2)](this,_0x400097,_0x5e9bc9,_0x5eaed0);}async[a0_0x2f51b4(0xd0)](_0x3eded3){const _0x2c056f=a0_0x2f51b4;await MetaUiUtil[_0x2c056f(0xd0)](this,_0x3eded3);}async[a0_0x2f51b4(0xe6)](_0x3252fb,_0x52ed95){await MetaUiUtil['gristButtonHandler'](this,_0x3252fb,_0x52ed95);}[a0_0x2f51b4(0xcd)](_0x494dcd){const _0x203b13=a0_0x2f51b4;this[_0x203b13(0xde)]=_0x494dcd[_0x203b13(0xdd)],this[_0x203b13(0xdb)]=MetaUiUtil[_0x203b13(0xce)](this['buttonConfig'],_0x203b13(0xd6)),this['useButtonExport']=MetaUiUtil[_0x203b13(0xce)](this[_0x203b13(0xde)],_0x203b13(0xd3)),this[_0x203b13(0xd1)]=MetaUiUtil[_0x203b13(0xce)](this[_0x203b13(0xde)],_0x203b13(0xd8));}};
@@ -1 +1 @@
1
- const a0_0x4cd57=a0_0x2fb8;(function(_0x5756e0,_0x493290){const _0x2e8713=a0_0x2fb8,_0x37676b=_0x5756e0();while(!![]){try{const _0x59820c=-parseInt(_0x2e8713(0x17b))/0x1*(parseInt(_0x2e8713(0x144))/0x2)+parseInt(_0x2e8713(0x17d))/0x3+-parseInt(_0x2e8713(0x14f))/0x4+-parseInt(_0x2e8713(0x147))/0x5+-parseInt(_0x2e8713(0x162))/0x6+parseInt(_0x2e8713(0x189))/0x7+parseInt(_0x2e8713(0x160))/0x8;if(_0x59820c===_0x493290)break;else _0x37676b['push'](_0x37676b['shift']());}catch(_0x188a99){_0x37676b['push'](_0x37676b['shift']());}}}(a0_0x13a5,0x6986c));function a0_0x2fb8(_0x1919e3,_0x138240){const _0x13a506=a0_0x13a5();return a0_0x2fb8=function(_0x2fb8fc,_0x3ce161){_0x2fb8fc=_0x2fb8fc-0x141;let _0x1c4fce=_0x13a506[_0x2fb8fc];return _0x1c4fce;},a0_0x2fb8(_0x1919e3,_0x138240);}import{MetaApi}from'../utils/meta-api';function a0_0x13a5(){const _0x57a42c=['detail','dirtyData','field-change','isNotEmpty','target','keys','name','9017776CkyECK','formRenderConfig','1560312GbGmlV','true','click','__seq__','call','parent_id','updateMultiple','isElement','startsWith','getBasicFormStyles','setAttribute','function','parseBasicFormConfigs','parseFormConfigSet','addEventListener','renderRoot','Esc','connectedCallback','currentTarget','patchData','cuFlag','clear','removeGarbageData','context','removeAttribute','324805STFEKe','grid_column','1345983ykwfaZ','styles','form','after','__dirty__','button','properties','isPage','getContextObject','currentData','map','__dirtyfields__','4457033dthieb','keydown','validation','record','formConfigSet','__origin__','Escape','entries','key','column','2oOSeUI','Enter','save','2211165auoCuq','object','editing','fetch','before','title.info','isEmpty','firstUpdated','3013104LywRbC','config','isEquals','OX-GRID-FIELD','getBasicFormHtml','formColumnConfig','getAndParseMenuMeta','pageInitialized','focus','parseFormConfigs'];a0_0x13a5=function(){return _0x57a42c;};return a0_0x13a5();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x39fa76=>class extends MetaButtonMixin(_0x39fa76){static get[a0_0x4cd57(0x17e)](){const _0x7db411=a0_0x4cd57;return MetaApi[_0x7db411(0x16b)]();}static get[a0_0x4cd57(0x183)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x4cd57(0x179)](){const _0x2025fd=a0_0x4cd57;return MetaUiUtil[_0x2025fd(0x185)](this);}async['connectedCallback'](){const _0x5639c5=a0_0x4cd57;if(this[_0x5639c5(0x150)]){let {column:_0x3c8111=0x1}=this[_0x5639c5(0x150)];this[_0x5639c5(0x143)]=_0x3c8111;}await this[_0x5639c5(0x155)](),this[_0x5639c5(0x169)]&&await this[_0x5639c5(0x158)](),super[_0x5639c5(0x173)]&&await super[_0x5639c5(0x173)](),this[_0x5639c5(0x169)]&&await this['fetch'](),this[_0x5639c5(0x171)][_0x5639c5(0x170)](_0x5639c5(0x18a),_0xdad18e=>{const _0x153b3b=_0x5639c5;switch(_0xdad18e[_0x153b3b(0x142)]){case _0x153b3b(0x172):case _0x153b3b(0x18f):case _0x153b3b(0x145):this[_0x153b3b(0x157)](),this[_0x153b3b(0x174)]&&this['currentTarget'][_0x153b3b(0x17a)](_0x153b3b(0x149)),this[_0x153b3b(0x174)]=null;}}),this[_0x5639c5(0x171)][_0x5639c5(0x170)](_0x5639c5(0x164),_0x360aad=>{const _0x43bc98=_0x5639c5;_0x360aad['stopPropagation']();let _0x36be72=_0x360aad[_0x43bc98(0x15d)];if(this['currentTarget']&&(this[_0x43bc98(0x157)](),this[_0x43bc98(0x174)][_0x43bc98(0x17a)](_0x43bc98(0x149))),_0x43bc98(0x152)!==_0x36be72['tagName']||!_0x36be72['column'][_0x43bc98(0x18c)]['editable'])return this[_0x43bc98(0x157)](),void(this[_0x43bc98(0x174)]=null);this[_0x43bc98(0x174)]=_0x36be72,_0x36be72[_0x43bc98(0x16c)](_0x43bc98(0x149),_0x43bc98(0x163));}),this[_0x5639c5(0x170)](_0x5639c5(0x15b),_0x662b51=>{const _0x35a18a=_0x5639c5;var {after:_0x544369,before:_0xb82896,column:_0x579ef0,record:_0x54dd65,row:_0x480240}=_0x662b51[_0x35a18a(0x159)];if(ValueUtil[_0x35a18a(0x151)](_0x544369,_0xb82896))return;var _0x2b7621=_0x579ef0[_0x35a18a(0x18b)];if(_0x2b7621&&_0x35a18a(0x16d)==typeof _0x2b7621&&!_0x2b7621[_0x35a18a(0x166)](this,_0x544369,_0xb82896,_0x54dd65,_0x579ef0))return;let _0x3c5e1a=_0x579ef0[_0x35a18a(0x15f)];_0x54dd65[_0x3c5e1a]=_0x544369,_0x54dd65[_0x35a18a(0x188)]=_0x54dd65[_0x35a18a(0x188)]||{},_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a]={'before':_0x54dd65[_0x35a18a(0x18e)][_0x3c5e1a],'after':_0x54dd65[_0x3c5e1a]},ValueUtil[_0x35a18a(0x151)](_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a][_0x35a18a(0x14b)],_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a][_0x35a18a(0x180)])&&delete _0x54dd65[_0x35a18a(0x188)][_0x3c5e1a],ValueUtil[_0x35a18a(0x15c)](_0x54dd65[_0x35a18a(0x188)])?_0x54dd65[_0x35a18a(0x181)]='M':_0x54dd65[_0x35a18a(0x181)]='',this[_0x35a18a(0x18c)]={..._0x54dd65};});}async[a0_0x4cd57(0x14e)](){const _0x46c193=a0_0x4cd57;super[_0x46c193(0x14e)]&&await super[_0x46c193(0x14e)]();}async[a0_0x4cd57(0x156)](){const _0xd6d5d3=a0_0x4cd57;this[_0xd6d5d3(0x184)]&&await this['parseFormConfigs'](),super['pageInitialized']&&await super[_0xd6d5d3(0x156)](),this[_0xd6d5d3(0x184)]&&await this[_0xd6d5d3(0x14a)]();}['render'](){const _0x1544a1=a0_0x4cd57;return MetaApi[_0x1544a1(0x153)](this);}[a0_0x4cd57(0x16e)](_0x4dbec0){const _0x3c30ce=a0_0x4cd57;this[_0x3c30ce(0x154)]=_0x4dbec0[_0x3c30ce(0x17c)],this[_0x3c30ce(0x161)]=_0x4dbec0[_0x3c30ce(0x17f)],_0x4dbec0[_0x3c30ce(0x182)]=_0x4dbec0[_0x3c30ce(0x182)]['filter'](_0x525b9c=>_0x3c30ce(0x146)==_0x525b9c[_0x3c30ce(0x15f)]);}async[a0_0x4cd57(0x158)](){const _0x1e493f=a0_0x4cd57;this[_0x1e493f(0x18d)]=await MetaApi[_0x1e493f(0x16f)](this);}get['orgData'](){const _0x7b7208=a0_0x4cd57;return this[_0x7b7208(0x178)](this[_0x7b7208(0x18c)][_0x7b7208(0x18e)]);}get[a0_0x4cd57(0x15a)](){const _0x5f7943=a0_0x4cd57;if(ValueUtil['isEmpty'](this[_0x5f7943(0x18c)][_0x5f7943(0x188)]))return{};let _0x144c86={};return Object['entries'](this['record'][_0x5f7943(0x188)])[_0x5f7943(0x187)](([_0x572625,_0x4fbff8])=>{const _0x39de82=_0x5f7943;0x0==_0x572625[_0x39de82(0x16a)]('__')&&(_0x144c86[_0x572625]=_0x4fbff8[_0x39de82(0x180)]);}),_0x144c86;}get[a0_0x4cd57(0x186)](){const _0x482ce6=a0_0x4cd57;return this['removeGarbageData'](this[_0x482ce6(0x18c)]);}[a0_0x4cd57(0x178)](_0x18ea11){const _0x2b634b=a0_0x4cd57;let _0x9602fb={};return Object[_0x2b634b(0x141)](_0x18ea11)['map'](([_0x473487,_0x15a676])=>{0x0==_0x473487['startsWith']('__')&&(_0x9602fb[_0x473487]=_0x15a676);}),_0x9602fb;}get[a0_0x4cd57(0x175)](){const _0x3f7624=a0_0x4cd57;let _0x51862d=this[_0x3f7624(0x15a)],_0x2342ed=this[_0x3f7624(0x18c)];return ValueUtil[_0x3f7624(0x14d)](_0x51862d)?[]:(ValueUtil[_0x3f7624(0x15c)](_0x2342ed['id'])?(_0x51862d['id']=_0x2342ed['id'],_0x51862d[_0x3f7624(0x176)]='M'):_0x51862d[_0x3f7624(0x176)]='+',Object[_0x3f7624(0x15e)](_0x51862d)['forEach'](_0x291abf=>{const _0x33b36e=_0x3f7624;_0x33b36e(0x148)==typeof _0x51862d[_0x291abf]&&(_0x51862d[_0x291abf]={'id':_0x51862d[_0x291abf]['id']});}),[_0x51862d]);}async[a0_0x4cd57(0x14a)](){const _0x5d676e=a0_0x4cd57;if(ValueUtil[_0x5d676e(0x14d)](this[_0x5d676e(0x167)]))return;let _0xdd759b=await this['findOne'](this[_0x5d676e(0x167)]);_0xdd759b[_0x5d676e(0x165)]=0x1;let _0xe276b2={};Object['assign'](_0xe276b2,_0xdd759b),_0xdd759b[_0x5d676e(0x18e)]=_0xe276b2,this[_0x5d676e(0x18c)]={..._0xdd759b};}async[a0_0x4cd57(0x146)](){const _0x5b0860=a0_0x4cd57;let _0x7c00=this[_0x5b0860(0x175)];if(ValueUtil['isEmpty'](_0x7c00))return void MetaApi['showAlertPopup'](_0x5b0860(0x14c),'text.NOTHING_CHANGED');let _0x11322d=await this[_0x5b0860(0x168)](_0x7c00);return _0x11322d&&await this[_0x5b0860(0x14a)](),_0x11322d;}async[a0_0x4cd57(0x177)](){const _0x3a9a07=a0_0x4cd57;this[_0x3a9a07(0x18c)]&&(this[_0x3a9a07(0x18c)]={});}};
1
+ const a0_0x5f28d3=a0_0x5bda;function a0_0x5bda(_0x4a7f9e,_0x200159){const _0x1f19e4=a0_0x1f19();return a0_0x5bda=function(_0x5bdaa1,_0x2dcee4){_0x5bdaa1=_0x5bdaa1-0xdf;let _0x3793a2=_0x1f19e4[_0x5bdaa1];return _0x3793a2;},a0_0x5bda(_0x4a7f9e,_0x200159);}(function(_0xb71be,_0x45979b){const _0x67c11a=a0_0x5bda,_0x25a51b=_0xb71be();while(!![]){try{const _0x48c27d=parseInt(_0x67c11a(0xf2))/0x1+parseInt(_0x67c11a(0xe3))/0x2*(-parseInt(_0x67c11a(0x106))/0x3)+-parseInt(_0x67c11a(0xfa))/0x4+parseInt(_0x67c11a(0xf7))/0x5+-parseInt(_0x67c11a(0xf3))/0x6+-parseInt(_0x67c11a(0x117))/0x7*(-parseInt(_0x67c11a(0xf1))/0x8)+-parseInt(_0x67c11a(0x121))/0x9;if(_0x48c27d===_0x45979b)break;else _0x25a51b['push'](_0x25a51b['shift']());}catch(_0x3d927f){_0x25a51b['push'](_0x25a51b['shift']());}}}(a0_0x1f19,0x5b202));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x3f3f5b=>class extends MetaButtonMixin(_0x3f3f5b){static get[a0_0x5f28d3(0x118)](){const _0x5bd307=a0_0x5f28d3;return MetaApi[_0x5bd307(0x125)]();}static get[a0_0x5f28d3(0x124)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x5f28d3(0x109)](){const _0x40eb50=a0_0x5f28d3;return MetaUiUtil[_0x40eb50(0xec)](this);}async[a0_0x5f28d3(0xe8)](){const _0x4a768d=a0_0x5f28d3;if(this['config']){let {column:_0x321e56=0x1}=this[_0x4a768d(0xf5)];this[_0x4a768d(0xfe)]=_0x321e56;}await this[_0x4a768d(0x113)](),this['isElement']&&await this[_0x4a768d(0xe0)](),super[_0x4a768d(0xe8)]&&await super[_0x4a768d(0xe8)](),this[_0x4a768d(0x119)]&&await this[_0x4a768d(0x10c)](),this[_0x4a768d(0xe7)][_0x4a768d(0x104)]('keydown',_0x4e2568=>{const _0x3d6017=_0x4a768d;switch(_0x4e2568[_0x3d6017(0x102)]){case _0x3d6017(0xff):case _0x3d6017(0xef):case _0x3d6017(0xf9):this[_0x3d6017(0xea)](),this[_0x3d6017(0xe1)]&&this[_0x3d6017(0xe1)]['removeAttribute'](_0x3d6017(0xe9)),this[_0x3d6017(0xe1)]=null;}}),this[_0x4a768d(0xe7)][_0x4a768d(0x104)](_0x4a768d(0xe6),_0x320c21=>{const _0xb07cc0=_0x4a768d;_0x320c21['stopPropagation']();let _0x2c3a31=_0x320c21[_0xb07cc0(0x126)];if(this[_0xb07cc0(0xe1)]&&(this[_0xb07cc0(0xea)](),this[_0xb07cc0(0xe1)][_0xb07cc0(0x122)](_0xb07cc0(0xe9))),_0xb07cc0(0x10a)!==_0x2c3a31[_0xb07cc0(0x105)]||!_0x2c3a31[_0xb07cc0(0xfe)][_0xb07cc0(0x112)][_0xb07cc0(0xeb)])return this[_0xb07cc0(0xea)](),void(this[_0xb07cc0(0xe1)]=null);this['currentTarget']=_0x2c3a31,_0x2c3a31['setAttribute']('editing',_0xb07cc0(0x10f));}),this['addEventListener'](_0x4a768d(0x108),_0x22f149=>{const _0x33b381=_0x4a768d;var {after:_0x100a83,before:_0x449809,column:_0x10ba46,record:_0x3908e2,row:_0x2f6402}=_0x22f149[_0x33b381(0x11c)];if(ValueUtil['isEquals'](_0x100a83,_0x449809))return;var _0x634fc0=_0x10ba46[_0x33b381(0xdf)];if(_0x634fc0&&_0x33b381(0x120)==typeof _0x634fc0&&!_0x634fc0[_0x33b381(0x10d)](this,_0x100a83,_0x449809,_0x3908e2,_0x10ba46))return;let _0x9d75b1=_0x10ba46[_0x33b381(0x127)];_0x3908e2[_0x9d75b1]=_0x100a83,_0x3908e2[_0x33b381(0x128)]=_0x3908e2['__dirtyfields__']||{},_0x3908e2[_0x33b381(0x128)][_0x9d75b1]={'before':_0x3908e2[_0x33b381(0x11f)][_0x9d75b1],'after':_0x3908e2[_0x9d75b1]},ValueUtil[_0x33b381(0x114)](_0x3908e2[_0x33b381(0x128)][_0x9d75b1]['before'],_0x3908e2[_0x33b381(0x128)][_0x9d75b1]['after'])&&delete _0x3908e2[_0x33b381(0x128)][_0x9d75b1],ValueUtil[_0x33b381(0xf6)](_0x3908e2['__dirtyfields__'])?_0x3908e2[_0x33b381(0xe4)]='M':_0x3908e2['__dirty__']='',this[_0x33b381(0x112)]={..._0x3908e2};});}async[a0_0x5f28d3(0xe2)](){const _0x21c32c=a0_0x5f28d3;super[_0x21c32c(0xe2)]&&await super[_0x21c32c(0xe2)]();}async[a0_0x5f28d3(0x115)](){const _0x6f4999=a0_0x5f28d3;this['isPage']&&await this[_0x6f4999(0xe0)](),super[_0x6f4999(0x115)]&&await super[_0x6f4999(0x115)](),this[_0x6f4999(0x111)]&&await this['fetch']();}[a0_0x5f28d3(0x11d)](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x435441){const _0x31e0d0=a0_0x5f28d3;this[_0x31e0d0(0xf0)]=_0x435441['grid_column'],this['formRenderConfig']=_0x435441[_0x31e0d0(0x10e)],_0x435441[_0x31e0d0(0x103)]=_0x435441[_0x31e0d0(0x103)]['filter'](_0x62a074=>_0x31e0d0(0xee)==_0x62a074[_0x31e0d0(0x127)]);}async[a0_0x5f28d3(0xe0)](){const _0x5193f7=a0_0x5f28d3;this['formConfigSet']=await MetaApi[_0x5193f7(0x11b)](this);}get['orgData'](){const _0x201f9a=a0_0x5f28d3;return this[_0x201f9a(0xfc)](this[_0x201f9a(0x112)][_0x201f9a(0x11f)]);}get[a0_0x5f28d3(0xf8)](){const _0x433fbc=a0_0x5f28d3;if(ValueUtil[_0x433fbc(0xed)](this[_0x433fbc(0x112)][_0x433fbc(0x128)]))return{};let _0x1c1fd5={};return Object[_0x433fbc(0xfb)](this[_0x433fbc(0x112)][_0x433fbc(0x128)])[_0x433fbc(0xfd)](([_0x40537b,_0x21a21c])=>{0x0==_0x40537b['startsWith']('__')&&(_0x1c1fd5[_0x40537b]=_0x21a21c['after']);}),_0x1c1fd5;}get['currentData'](){const _0xb48bf0=a0_0x5f28d3;return this[_0xb48bf0(0xfc)](this[_0xb48bf0(0x112)]);}['removeGarbageData'](_0x3f5a1d){const _0x4b75b4=a0_0x5f28d3;let _0x30b121={};return Object[_0x4b75b4(0xfb)](_0x3f5a1d)[_0x4b75b4(0xfd)](([_0x5cc29b,_0x3f0738])=>{0x0==_0x5cc29b['startsWith']('__')&&(_0x30b121[_0x5cc29b]=_0x3f0738);}),_0x30b121;}get['patchData'](){const _0x166601=a0_0x5f28d3;let _0x1195b4=this[_0x166601(0xf8)],_0x59041d=this[_0x166601(0x112)];return ValueUtil['isEmpty'](_0x1195b4)?[]:(ValueUtil['isNotEmpty'](_0x59041d['id'])?(_0x1195b4['id']=_0x59041d['id'],_0x1195b4[_0x166601(0x123)]='M'):_0x1195b4[_0x166601(0x123)]='+',Object['keys'](_0x1195b4)[_0x166601(0x10b)](_0x50f840=>{const _0x44c394=_0x166601;_0x44c394(0x107)==typeof _0x1195b4[_0x50f840]&&(_0x1195b4[_0x50f840]={'id':_0x1195b4[_0x50f840]['id']});}),[_0x1195b4]);}async[a0_0x5f28d3(0x10c)](){const _0x400180=a0_0x5f28d3;if(ValueUtil[_0x400180(0xed)](this[_0x400180(0x101)]))return;let _0x3d4c45=await this[_0x400180(0x11a)](this[_0x400180(0x101)]);_0x3d4c45['__seq__']=0x1;let _0x3b41bd={};Object[_0x400180(0x110)](_0x3b41bd,_0x3d4c45),_0x3d4c45[_0x400180(0x11f)]=_0x3b41bd,this[_0x400180(0x112)]={..._0x3d4c45};}async[a0_0x5f28d3(0xee)](){const _0x39c404=a0_0x5f28d3;let _0x44e963=this['patchData'];if(ValueUtil[_0x39c404(0xed)](_0x44e963))return void MetaApi[_0x39c404(0x116)](_0x39c404(0xe5),_0x39c404(0x100));let _0x12272a=await this[_0x39c404(0x11e)](_0x44e963);return _0x12272a&&await this['fetch'](),_0x12272a;}async[a0_0x5f28d3(0xf4)](){const _0x461b14=a0_0x5f28d3;this[_0x461b14(0x112)]&&(this[_0x461b14(0x112)]={});}};function a0_0x1f19(){const _0x1da6a6=['map','column','Esc','text.NOTHING_CHANGED','parent_id','key','button','addEventListener','tagName','12225TxIvSO','object','field-change','context','OX-GRID-FIELD','forEach','fetch','call','form','true','assign','isPage','record','getAndParseMenuMeta','isEquals','pageInitialized','showAlertPopup','227787tEWHMZ','styles','isElement','findOne','parseFormConfigSet','detail','render','updateMultiple','__origin__','function','1062792HFNOGQ','removeAttribute','cuFlag','properties','getBasicFormStyles','target','name','__dirtyfields__','validation','parseFormConfigs','currentTarget','firstUpdated','238jIaQQo','__dirty__','title.info','click','renderRoot','connectedCallback','editing','focus','editable','getContextObject','isEmpty','save','Escape','formColumnConfig','8NtIcrm','467556CHOGrn','1167168lwBEOq','clear','config','isNotEmpty','3679850vAnfWd','dirtyData','Enter','261104LHaYPP','entries','removeGarbageData'];a0_0x1f19=function(){return _0x1da6a6;};return a0_0x1f19();}
@@ -1 +1 @@
1
- const a0_0x3ce2f5=a0_0x26fb;(function(_0x2b6355,_0x3fb4fe){const _0x433834=a0_0x26fb,_0x9820ca=_0x2b6355();while(!![]){try{const _0xc12910=-parseInt(_0x433834(0x1fb))/0x1*(-parseInt(_0x433834(0x211))/0x2)+-parseInt(_0x433834(0x1ed))/0x3+-parseInt(_0x433834(0x1f3))/0x4*(parseInt(_0x433834(0x22e))/0x5)+-parseInt(_0x433834(0x230))/0x6*(-parseInt(_0x433834(0x217))/0x7)+parseInt(_0x433834(0x1fc))/0x8*(-parseInt(_0x433834(0x1f2))/0x9)+-parseInt(_0x433834(0x21b))/0xa+parseInt(_0x433834(0x223))/0xb*(parseInt(_0x433834(0x224))/0xc);if(_0xc12910===_0x3fb4fe)break;else _0x9820ca['push'](_0x9820ca['shift']());}catch(_0x44a96c){_0x9820ca['push'](_0x9820ca['shift']());}}}(a0_0x7161,0x74aea));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x26fb(_0x1f1ed9,_0x3dfc9a){const _0x7161fa=a0_0x7161();return a0_0x26fb=function(_0x26fb32,_0x25cb75){_0x26fb32=_0x26fb32-0x1ec;let _0x452e81=_0x7161fa[_0x26fb32];return _0x452e81;},a0_0x26fb(_0x1f1ed9,_0x3dfc9a);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x7161(){const _0x52d894=['grist','render','connectedCallback','fetch','export','grid_column','importable','417626jTmEWq','192bRwZGn','gridColumnConfig','parseGridConfigSet','filter','search','find','operator','options','useFilterForm','findOne','7195PMTlvX','firstUpdated','5282148gyUTcW','isNotEmpty','1262745TYdIxW','tTitle','isPage','save','delete','27eYizMH','492zzKlxb','deleteByIds','header','columns','getGristTabHtml','shadowRoot','exportableData','gristId','123309dLunQY','1307272wThtSK','parseGristConfigs','name','meta-tab-element','grid','filterForm','clear','record','querySelector','searchFields','ox-grist','properties','styles','menuInfo','isElement','actions','getAndParseMenuMeta','renderRoot','useMasterFilterForm','map','exportable','6hDvFbv','filterFormId','beforeFetch','getBasicGristTabStyles','title','parseBasicGridConfigs','7RquBKM','gristConfigSet','searchConfig','getSelectedIdList','2916720aiyNdG'];a0_0x7161=function(){return _0x52d894;};return a0_0x7161();}export const MetaGristTabMixin=_0x31887f=>class extends MetaButtonMixin(_0x31887f){static get[a0_0x3ce2f5(0x208)](){const _0x372015=a0_0x3ce2f5;return MetaApi[_0x372015(0x214)]();}static get[a0_0x3ce2f5(0x207)](){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_0x3ce2f5(0x21c)](){const _0x1a500e=a0_0x3ce2f5;return this[_0x1a500e(0x20d)][_0x1a500e(0x204)](this[_0x1a500e(0x1fa)]);}get[a0_0x3ce2f5(0x201)](){const _0x4391d8=a0_0x3ce2f5;return this[_0x4391d8(0x1f8)]?.['querySelector'](this[_0x4391d8(0x212)]);}get['context'](){const _0x45597f=a0_0x3ce2f5;let _0x577765=MetaUiUtil['getContextObject'](this);return _0x577765[_0x45597f(0x20b)]&&delete _0x577765['actions'],_0x577765[_0x45597f(0x210)]&&delete _0x577765[_0x45597f(0x210)],_0x577765[_0x45597f(0x222)]&&delete _0x577765[_0x45597f(0x222)],_0x577765;}async[a0_0x3ce2f5(0x21e)](){const _0x5c4755=a0_0x3ce2f5;this['gristId']=_0x5c4755(0x206),this[_0x5c4755(0x212)]='ox-filters-form-base',await this[_0x5c4755(0x20c)](),this['isElement']&&await this[_0x5c4755(0x1fd)](),super[_0x5c4755(0x21e)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0x179456=a0_0x3ce2f5;super[_0x179456(0x22f)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x2a72f3=a0_0x3ce2f5;this[_0x2a72f3(0x1ef)]&&await this[_0x2a72f3(0x1fd)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x3ce2f5(0x21d)](){const _0x2457fa=a0_0x3ce2f5;return MetaApi[_0x2457fa(0x1f7)](this);}[a0_0x3ce2f5(0x216)](_0x2b461d){const _0x1b5ecc=a0_0x3ce2f5;this['gridConfig']=_0x2b461d[_0x1b5ecc(0x200)],this[_0x1b5ecc(0x225)]=_0x2b461d[_0x1b5ecc(0x221)],this[_0x1b5ecc(0x219)]=_0x2b461d[_0x1b5ecc(0x228)];}async['parseGristConfigs'](){const _0xb9fcc=a0_0x3ce2f5;this[_0xb9fcc(0x218)]=await MetaApi[_0xb9fcc(0x226)](this),this[_0xb9fcc(0x20e)]=this['useFilterForm'],this[_0xb9fcc(0x22c)]=!0x1,this[_0xb9fcc(0x205)]=this['gristConfigSet'][_0xb9fcc(0x1f6)][_0xb9fcc(0x227)](_0x257a20=>_0x257a20[_0xb9fcc(0x227)])[_0xb9fcc(0x20f)](_0x193b88=>{const _0x473afe=_0xb9fcc;let _0x1f6106={'name':_0x193b88[_0x473afe(0x1fe)],'type':_0x193b88['type'],'label':_0x193b88[_0x473afe(0x1f5)],'operator':_0x193b88[_0x473afe(0x227)]['operator']?_0x193b88[_0x473afe(0x227)][_0x473afe(0x22a)]:'eq'};return _0x193b88[_0x473afe(0x203)][_0x473afe(0x22b)]&&(_0x1f6106[_0x473afe(0x22b)]=_0x193b88[_0x473afe(0x203)][_0x473afe(0x22b)]),_0x1f6106;});}async[a0_0x3ce2f5(0x21f)](){const _0x2994c4=a0_0x3ce2f5;await this[_0x2994c4(0x21c)][_0x2994c4(0x21f)]();}async[a0_0x3ce2f5(0x213)]({page:_0x17b4c7=0x0,limit:_0x264dd1=0x0,sortings:_0x9406f9=[],filters:_0x35fbaa=[]}){const _0x868328=a0_0x3ce2f5;let _0x525b26=this[_0x868328(0x20d)][_0x868328(0x204)](_0x868328(0x1ff));return await _0x525b26[_0x868328(0x202)](),!0x0;}async[a0_0x3ce2f5(0x1f0)](){const _0x8ad683=a0_0x3ce2f5;let _0x668c17=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil[_0x8ad683(0x1ec)](_0x668c17)&&await this['updateMultiple'](_0x668c17)&&this[_0x8ad683(0x21f)]();}async[a0_0x3ce2f5(0x229)](){const _0x25e287=a0_0x3ce2f5;let _0x57cc10=MetaApi[_0x25e287(0x21a)](this[_0x25e287(0x21c)],!0x0);return ValueUtil[_0x25e287(0x1ec)](_0x57cc10)?await this[_0x25e287(0x22d)](_0x57cc10[0x0]):{};}async[a0_0x3ce2f5(0x1f1)](){const _0x227d63=a0_0x3ce2f5;let _0x25d7d0=MetaApi[_0x227d63(0x21a)](this[_0x227d63(0x21c)],!0x0);!!ValueUtil[_0x227d63(0x1ec)](_0x25d7d0)&&await this[_0x227d63(0x1f4)](_0x25d7d0)&&this[_0x227d63(0x21f)]();}async[a0_0x3ce2f5(0x220)](){const _0x2bba33=a0_0x3ce2f5;let _0x47ef3b=TermsUtil[_0x2bba33(0x1ee)](ValueUtil['getParams'](this[_0x2bba33(0x209)],_0x2bba33(0x215)));return await MetaApi[_0x2bba33(0x1f9)](this[_0x2bba33(0x20a)],_0x47ef3b,this['grist']);}async['import'](){}};
1
+ const a0_0x4b12a5=a0_0x36b6;function a0_0x36b6(_0x2d8499,_0x2fa99c){const _0x4903d2=a0_0x4903();return a0_0x36b6=function(_0x36b6d8,_0x284bb5){_0x36b6d8=_0x36b6d8-0x169;let _0x3edf31=_0x4903d2[_0x36b6d8];return _0x3edf31;},a0_0x36b6(_0x2d8499,_0x2fa99c);}(function(_0x4e7634,_0x1b9450){const _0x5a1a9e=a0_0x36b6,_0x2f331a=_0x4e7634();while(!![]){try{const _0x177538=parseInt(_0x5a1a9e(0x16c))/0x1*(parseInt(_0x5a1a9e(0x182))/0x2)+parseInt(_0x5a1a9e(0x1a2))/0x3*(-parseInt(_0x5a1a9e(0x184))/0x4)+-parseInt(_0x5a1a9e(0x195))/0x5*(parseInt(_0x5a1a9e(0x1a9))/0x6)+-parseInt(_0x5a1a9e(0x185))/0x7*(-parseInt(_0x5a1a9e(0x17a))/0x8)+parseInt(_0x5a1a9e(0x176))/0x9+-parseInt(_0x5a1a9e(0x179))/0xa+parseInt(_0x5a1a9e(0x1aa))/0xb;if(_0x177538===_0x1b9450)break;else _0x2f331a['push'](_0x2f331a['shift']());}catch(_0x59ea6f){_0x2f331a['push'](_0x2f331a['shift']());}}}(a0_0x4903,0xa125c));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_0x4903(){const _0x115ddb=['meta-tab-element','save','1623jqukKT','header','querySelector','map','filterFormId','type','fetch','91140OdbAMm','10959641ohVQIt','gridConfig','isElement','gridColumnConfig','1JYlkcW','columns','connectedCallback','exportableData','getAndParseMenuMeta','properties','isNotEmpty','getContextObject','searchConfig','getSelectedIdList','3942378OgvEpQ','clear','options','47650LXGASp','8lgavSp','grid_column','parseGristConfigs','firstUpdated','importable','gristId','pageInitialized','render','1031348iAEObL','operator','8264DIFaYw','2761598InQaMl','patchesForUpdateMultiple','shadowRoot','filterForm','grist','updateMultiple','renderRoot','exportable','record','ox-grist','getGristTabHtml','parseBasicGridConfigs','getBasicGristTabStyles','filter','useMasterFilterForm','delete','185QsMAJH','context','find','actions','findOne','parseGridConfigSet','ox-filters-form-base','isPage','useFilterForm','deleteByIds','gristConfigSet'];a0_0x4903=function(){return _0x115ddb;};return a0_0x4903();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x1a3898=>class extends MetaButtonMixin(_0x1a3898){static get['styles'](){const _0x17a397=a0_0x36b6;return MetaApi[_0x17a397(0x191)]();}static get[a0_0x4b12a5(0x171)](){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_0x4b12a5(0x189)](){const _0x437aef=a0_0x4b12a5;return this['renderRoot'][_0x437aef(0x1a4)](this[_0x437aef(0x17f)]);}get[a0_0x4b12a5(0x188)](){const _0x23925c=a0_0x4b12a5;return this[_0x23925c(0x187)]?.[_0x23925c(0x1a4)](this[_0x23925c(0x1a6)]);}get[a0_0x4b12a5(0x196)](){const _0x85b1dd=a0_0x4b12a5;let _0x2e06af=MetaUiUtil[_0x85b1dd(0x173)](this);return _0x2e06af[_0x85b1dd(0x198)]&&delete _0x2e06af[_0x85b1dd(0x198)],_0x2e06af[_0x85b1dd(0x18c)]&&delete _0x2e06af['exportable'],_0x2e06af[_0x85b1dd(0x17e)]&&delete _0x2e06af['importable'],_0x2e06af;}async[a0_0x4b12a5(0x16e)](){const _0x59090a=a0_0x4b12a5;this[_0x59090a(0x17f)]=_0x59090a(0x18e),this[_0x59090a(0x1a6)]=_0x59090a(0x19b),await this[_0x59090a(0x170)](),this['isElement']&&await this[_0x59090a(0x17c)](),super[_0x59090a(0x16e)]&&await super[_0x59090a(0x16e)]();}async[a0_0x4b12a5(0x17d)](){const _0x397062=a0_0x4b12a5;super[_0x397062(0x17d)]&&await super['firstUpdated']();}async[a0_0x4b12a5(0x180)](){const _0x3aa89b=a0_0x4b12a5;this[_0x3aa89b(0x19c)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x3aa89b(0x180)]();}[a0_0x4b12a5(0x181)](){const _0x35e670=a0_0x4b12a5;return MetaApi[_0x35e670(0x18f)](this);}[a0_0x4b12a5(0x190)](_0x155ec6){const _0x5f2b71=a0_0x4b12a5;this[_0x5f2b71(0x169)]=_0x155ec6['grid'],this[_0x5f2b71(0x16b)]=_0x155ec6[_0x5f2b71(0x17b)],this[_0x5f2b71(0x174)]=_0x155ec6['search'];}async[a0_0x4b12a5(0x17c)](){const _0x6a00e7=a0_0x4b12a5;this[_0x6a00e7(0x19f)]=await MetaApi[_0x6a00e7(0x19a)](this),this[_0x6a00e7(0x193)]=this[_0x6a00e7(0x19d)],this[_0x6a00e7(0x19d)]=!0x1,this['searchFields']=this[_0x6a00e7(0x19f)][_0x6a00e7(0x16d)][_0x6a00e7(0x192)](_0x5356c8=>_0x5356c8[_0x6a00e7(0x192)])[_0x6a00e7(0x1a5)](_0x3e2f18=>{const _0x492e66=_0x6a00e7;let _0x477bf0={'name':_0x3e2f18['name'],'type':_0x3e2f18[_0x492e66(0x1a7)],'label':_0x3e2f18[_0x492e66(0x1a3)],'operator':_0x3e2f18[_0x492e66(0x192)][_0x492e66(0x183)]?_0x3e2f18[_0x492e66(0x192)][_0x492e66(0x183)]:'eq'};return _0x3e2f18[_0x492e66(0x18d)][_0x492e66(0x178)]&&(_0x477bf0[_0x492e66(0x178)]=_0x3e2f18[_0x492e66(0x18d)][_0x492e66(0x178)]),_0x477bf0;});}async[a0_0x4b12a5(0x1a8)](){const _0xea4172=a0_0x4b12a5;await this['grist'][_0xea4172(0x1a8)]();}async['beforeFetch']({page:_0x517c99=0x0,limit:_0x1e5439=0x0,sortings:_0xc8596=[],filters:_0x12807a=[]}){const _0x5f55f4=a0_0x4b12a5;let _0x510f83=this[_0x5f55f4(0x18b)][_0x5f55f4(0x1a4)](_0x5f55f4(0x1a0));return await _0x510f83[_0x5f55f4(0x177)](),!0x0;}async[a0_0x4b12a5(0x1a1)](){const _0x416538=a0_0x4b12a5;let _0x61d59e=MetaApi[_0x416538(0x186)](this[_0x416538(0x189)]);!!ValueUtil['isNotEmpty'](_0x61d59e)&&await this[_0x416538(0x18a)](_0x61d59e)&&this[_0x416538(0x1a8)]();}async[a0_0x4b12a5(0x197)](){const _0x120c0d=a0_0x4b12a5;let _0x4a4bba=MetaApi[_0x120c0d(0x175)](this[_0x120c0d(0x189)],!0x0);return ValueUtil[_0x120c0d(0x172)](_0x4a4bba)?await this[_0x120c0d(0x199)](_0x4a4bba[0x0]):{};}async[a0_0x4b12a5(0x194)](){const _0x41597d=a0_0x4b12a5;let _0x31df0b=MetaApi[_0x41597d(0x175)](this[_0x41597d(0x189)],!0x0);!!ValueUtil['isNotEmpty'](_0x31df0b)&&await this[_0x41597d(0x19e)](_0x31df0b)&&this['fetch']();}async['export'](){const _0xb7abf8=a0_0x4b12a5;let _0x251cab=TermsUtil['tTitle'](ValueUtil['getParams'](this['menuInfo'],'title'));return await MetaApi[_0xb7abf8(0x16f)](this[_0xb7abf8(0x16a)],_0x251cab,this[_0xb7abf8(0x189)]);}async['import'](){}};
@@ -1 +1 @@
1
- const a0_0x11c145=a0_0x32c5;(function(_0x58270b,_0x326678){const _0x3ad7ce=a0_0x32c5,_0x40226b=_0x58270b();while(!![]){try{const _0x4741ec=-parseInt(_0x3ad7ce(0x102))/0x1*(parseInt(_0x3ad7ce(0xd9))/0x2)+-parseInt(_0x3ad7ce(0x10d))/0x3+-parseInt(_0x3ad7ce(0xd8))/0x4+parseInt(_0x3ad7ce(0xfe))/0x5*(parseInt(_0x3ad7ce(0xd2))/0x6)+-parseInt(_0x3ad7ce(0xe2))/0x7*(parseInt(_0x3ad7ce(0xdd))/0x8)+parseInt(_0x3ad7ce(0x10f))/0x9*(parseInt(_0x3ad7ce(0x110))/0xa)+parseInt(_0x3ad7ce(0xfd))/0xb;if(_0x4741ec===_0x326678)break;else _0x40226b['push'](_0x40226b['shift']());}catch(_0xddde2e){_0x40226b['push'](_0x40226b['shift']());}}}(a0_0x26df,0xa1a34));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x26df(){const _0x21eb30=['4615580zGkzqH','118JEvtdG','context','getSelectedIdList','isNotEmpty','224232TggRBb','header','useMasterFilterForm','importable','\x20id=\x22','49MzFZtv','ox-filters-form-base','grid','isElement','fetch','exportableData','getBasicMasterDetailStyles','searchFields','title','querySelector','connectedCallback','gristConfigSet','search','find','createDetailElement','grist','actions','gridConfig','operator','searchConfig','shadowRoot','record','parseGristConfigs','filterForm','exportable','firstUpdated','detail','24779590AVOHtn','5zKuHYi','deleteByIds','renderRoot','isPage','9365WipHfm','getAndParseMenuMeta','properties','updateMultiple','routing','patchesForUpdateMultiple','map','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','import','filterFormId','filter','607410IkiKkf','delete','468306TEjACO','10UWKqMW','export','useFilterForm','clear','gristId','tTitle','columns','tagname','getMasterDetailHtml','detailElement','pageInitialized','findOne','gridColumnConfig','2774682sqdTYc','options','\x22\x20name=\x22','ox-grist','name','grid_column'];a0_0x26df=function(){return _0x21eb30;};return a0_0x26df();}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x32c5(_0x56ae52,_0x3d3dd8){const _0x26dfdd=a0_0x26df();return a0_0x32c5=function(_0x32c51b,_0x20e706){_0x32c51b=_0x32c51b-0xc7;let _0x31aab7=_0x26dfdd[_0x32c51b];return _0x31aab7;},a0_0x32c5(_0x56ae52,_0x3d3dd8);}export const MetaMasterDetailMixin=_0x1bb320=>class extends MetaButtonMixin(_0x1bb320){static get['styles'](){const _0x500abd=a0_0x32c5;return MetaApi[_0x500abd(0xe8)]();}static get[a0_0x11c145(0x104)](){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_0x11c145(0xf1)](){const _0x1a8f05=a0_0x11c145;return this[_0x1a8f05(0x100)]['querySelector'](this[_0x1a8f05(0xc9)]);}get[a0_0x11c145(0xf9)](){const _0x1edf66=a0_0x11c145;return this[_0x1edf66(0xf6)]?.[_0x1edf66(0xeb)](this[_0x1edf66(0x10b)]);}get[a0_0x11c145(0xda)](){const _0x4adc1f=a0_0x11c145;let _0xda1ef9=MetaUiUtil['getContextObject'](this);return _0xda1ef9[_0x4adc1f(0xf2)]&&delete _0xda1ef9['actions'],_0xda1ef9[_0x4adc1f(0xfa)]&&delete _0xda1ef9[_0x4adc1f(0xfa)],_0xda1ef9[_0x4adc1f(0xe0)]&&delete _0xda1ef9['importable'],_0xda1ef9;}async['connectedCallback'](){const _0x32f3ab=a0_0x11c145;this[_0x32f3ab(0xc9)]=_0x32f3ab(0xd5),this[_0x32f3ab(0x10b)]=_0x32f3ab(0xe3),await this[_0x32f3ab(0x103)](),this['isElement']&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x32f3ab(0xec)]();}async['firstUpdated'](){const _0x3acfcc=a0_0x11c145;super[_0x3acfcc(0xfb)]&&await super['firstUpdated']();}async[a0_0x11c145(0xcf)](){const _0x46497d=a0_0x11c145;this[_0x46497d(0x101)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x46497d(0xcf)]();}['render'](){const _0x36f95c=a0_0x11c145;return MetaApi[_0x36f95c(0xcd)](this);}[a0_0x11c145(0xf0)](_0x46873d){const _0x86f316=a0_0x11c145;if(!this['detailElement']){let _0x2edaa4=_0x46873d[_0x86f316(0xd6)]?_0x46873d[_0x86f316(0xd6)]:_0x86f316(0xfc),_0x5109eb='<'+_0x46873d[_0x86f316(0xcc)]+_0x86f316(0xe1)+_0x2edaa4+_0x86f316(0xd4)+_0x2edaa4+'\x22\x20route_name=\x22'+_0x46873d[_0x86f316(0x106)]+_0x86f316(0x109)+_0x46873d[_0x86f316(0xcc)]+'>';this[_0x86f316(0xce)]=UiUtil['htmlToElement'](_0x5109eb);}}['parseBasicGridConfigs'](_0x947f08){const _0x4b451a=a0_0x11c145;this[_0x4b451a(0xf3)]=_0x947f08[_0x4b451a(0xe4)],this[_0x4b451a(0xd1)]=_0x947f08[_0x4b451a(0xd7)],this[_0x4b451a(0xf5)]=_0x947f08[_0x4b451a(0xee)];}async[a0_0x11c145(0xf8)](){const _0x149a22=a0_0x11c145;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x149a22(0xdf)]=this[_0x149a22(0xc7)],this[_0x149a22(0xc7)]=!0x1,this[_0x149a22(0xe9)]=this[_0x149a22(0xed)][_0x149a22(0xcb)][_0x149a22(0x10c)](_0x1c3903=>_0x1c3903[_0x149a22(0x10c)])[_0x149a22(0x108)](_0x1bf1c4=>{const _0x356db3=_0x149a22;let _0x3fb059={'name':_0x1bf1c4[_0x356db3(0xd6)],'type':_0x1bf1c4['type'],'label':_0x1bf1c4[_0x356db3(0xde)],'operator':_0x1bf1c4[_0x356db3(0x10c)][_0x356db3(0xf4)]?_0x1bf1c4[_0x356db3(0x10c)][_0x356db3(0xf4)]:'eq'};return _0x1bf1c4[_0x356db3(0xf7)][_0x356db3(0xd3)]&&(_0x3fb059[_0x356db3(0xd3)]=_0x1bf1c4[_0x356db3(0xf7)][_0x356db3(0xd3)]),_0x3fb059;});}async['fetch'](){const _0x13d379=a0_0x11c145;await this['grist'][_0x13d379(0xe6)]();}async['beforeFetch']({page:_0x383bb7=0x0,limit:_0x2d0aa2=0x0,sortings:_0x169e48=[],filters:_0x25aa4d=[]}){const _0xbb2bec=a0_0x11c145;return this['detailElement']&&this[_0xbb2bec(0xce)][_0xbb2bec(0xc8)]&&await this['detailElement'][_0xbb2bec(0xc8)](),!0x0;}async['save'](){const _0x5c38eb=a0_0x11c145;let _0xcc6ed7=MetaApi[_0x5c38eb(0x107)](this[_0x5c38eb(0xf1)]);!!ValueUtil[_0x5c38eb(0xdc)](_0xcc6ed7)&&await this[_0x5c38eb(0x105)](_0xcc6ed7)&&this[_0x5c38eb(0xe6)]();}async[a0_0x11c145(0xef)](){const _0x2741cc=a0_0x11c145;let _0x5d7ac4=MetaApi['getSelectedIdList'](this[_0x2741cc(0xf1)],!0x0);return ValueUtil['isNotEmpty'](_0x5d7ac4)?await this[_0x2741cc(0xd0)](_0x5d7ac4[0x0]):{};}async[a0_0x11c145(0x10e)](){const _0x5172c5=a0_0x11c145;let _0x38c9a1=MetaApi[_0x5172c5(0xdb)](this[_0x5172c5(0xf1)],!0x0);!!ValueUtil[_0x5172c5(0xdc)](_0x38c9a1)&&await this[_0x5172c5(0xff)](_0x38c9a1)&&this[_0x5172c5(0xe6)]();}async[a0_0x11c145(0x111)](){const _0xc9129b=a0_0x11c145;let _0x5c7ec5=TermsUtil[_0xc9129b(0xca)](ValueUtil['getParams'](this['menuInfo'],_0xc9129b(0xea)));return await MetaApi[_0xc9129b(0xe7)](this[_0xc9129b(0xe5)],_0x5c7ec5,this[_0xc9129b(0xf1)]);}async[a0_0x11c145(0x10a)](){}};
1
+ function a0_0x109c(_0x725400,_0x182fe6){const _0x26306a=a0_0x2630();return a0_0x109c=function(_0x109c2c,_0x2f89c3){_0x109c2c=_0x109c2c-0x199;let _0xc607e1=_0x26306a[_0x109c2c];return _0xc607e1;},a0_0x109c(_0x725400,_0x182fe6);}const a0_0x10ee17=a0_0x109c;(function(_0x4087a3,_0xa9caf1){const _0x1ac62d=a0_0x109c,_0x463d99=_0x4087a3();while(!![]){try{const _0x44c1d0=-parseInt(_0x1ac62d(0x19b))/0x1+-parseInt(_0x1ac62d(0x1b5))/0x2+parseInt(_0x1ac62d(0x1db))/0x3*(parseInt(_0x1ac62d(0x1c9))/0x4)+-parseInt(_0x1ac62d(0x19c))/0x5*(-parseInt(_0x1ac62d(0x1d8))/0x6)+parseInt(_0x1ac62d(0x1b6))/0x7+-parseInt(_0x1ac62d(0x1bd))/0x8+parseInt(_0x1ac62d(0x1a4))/0x9*(parseInt(_0x1ac62d(0x1b3))/0xa);if(_0x44c1d0===_0xa9caf1)break;else _0x463d99['push'](_0x463d99['shift']());}catch(_0x300404){_0x463d99['push'](_0x463d99['shift']());}}}(a0_0x2630,0xce13c));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x2630(){const _0x566167=['6342007tkfABO','useFilterForm','grid','getAndParseMenuMeta','delete','exportableData','gristConfigSet','6319736LjxDmb','getSelectedIdList','exportable','isPage','clear','isNotEmpty','filterForm','filterFormId','getContextObject','fetch','\x22\x20name=\x22','searchFields','13540pyQTNS','columns','getParams','routing','useMasterFilterForm','connectedCallback','detail','deleteByIds','\x22\x20route_name=\x22','tTitle','updateMultiple','properties','title','importable','pageInitialized','150RDobOC','filter','isElement','255XGcvfl','grist','searchConfig','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','gristId','name','ox-filters-form-base','options','renderRoot','1009474EtWhVt','322750fCBMTI','parseBasicGridConfigs','ox-grist','htmlToElement','context','operator','menuInfo','save','215973DBuSaz','getBasicMasterDetailStyles','shadowRoot','find','parseGristConfigs','\x20id=\x22','findOne','tagname','getMasterDetailHtml','map','detailElement','record','firstUpdated','querySelector','header','130OAiSjx','patchesForUpdateMultiple','951808MNElah'];a0_0x2630=function(){return _0x566167;};return a0_0x2630();}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x7ac4a9=>class extends MetaButtonMixin(_0x7ac4a9){static get['styles'](){const _0x2b9617=a0_0x109c;return MetaApi[_0x2b9617(0x1a5)]();}static get[a0_0x10ee17(0x1d4)](){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_0x10ee17(0x1dc)](){const _0x11c645=a0_0x10ee17;return this[_0x11c645(0x19a)][_0x11c645(0x1b1)](this[_0x11c645(0x1df)]);}get[a0_0x10ee17(0x1c3)](){const _0x3e7b88=a0_0x10ee17;return this[_0x3e7b88(0x1a6)]?.['querySelector'](this[_0x3e7b88(0x1c4)]);}get[a0_0x10ee17(0x1a0)](){const _0xe00e21=a0_0x10ee17;let _0x4de1b8=MetaUiUtil[_0xe00e21(0x1c5)](this);return _0x4de1b8['actions']&&delete _0x4de1b8['actions'],_0x4de1b8[_0xe00e21(0x1bf)]&&delete _0x4de1b8[_0xe00e21(0x1bf)],_0x4de1b8[_0xe00e21(0x1d6)]&&delete _0x4de1b8['importable'],_0x4de1b8;}async[a0_0x10ee17(0x1ce)](){const _0x2374d5=a0_0x10ee17;this['gristId']=_0x2374d5(0x19e),this[_0x2374d5(0x1c4)]=_0x2374d5(0x1e1),await this[_0x2374d5(0x1b9)](),this[_0x2374d5(0x1da)]&&await this[_0x2374d5(0x1a8)](),super[_0x2374d5(0x1ce)]&&await super[_0x2374d5(0x1ce)]();}async[a0_0x10ee17(0x1b0)](){const _0x3c0df9=a0_0x10ee17;super[_0x3c0df9(0x1b0)]&&await super['firstUpdated']();}async[a0_0x10ee17(0x1d7)](){const _0x376f38=a0_0x10ee17;this[_0x376f38(0x1c0)]&&await this[_0x376f38(0x1a8)](),super[_0x376f38(0x1d7)]&&await super[_0x376f38(0x1d7)]();}['render'](){const _0x3a3fef=a0_0x10ee17;return MetaApi[_0x3a3fef(0x1ac)](this);}['createDetailElement'](_0x4a41be){const _0x13aa96=a0_0x10ee17;if(!this[_0x13aa96(0x1ae)]){let _0x49d06c=_0x4a41be[_0x13aa96(0x1e0)]?_0x4a41be['name']:_0x13aa96(0x1cf),_0x308e87='<'+_0x4a41be['tagname']+_0x13aa96(0x1a9)+_0x49d06c+_0x13aa96(0x1c7)+_0x49d06c+_0x13aa96(0x1d1)+_0x4a41be[_0x13aa96(0x1cc)]+_0x13aa96(0x1de)+_0x4a41be[_0x13aa96(0x1ab)]+'>';this['detailElement']=UiUtil[_0x13aa96(0x19f)](_0x308e87);}}[a0_0x10ee17(0x19d)](_0x25aad1){const _0x3c1275=a0_0x10ee17;this['gridConfig']=_0x25aad1[_0x3c1275(0x1b8)],this['gridColumnConfig']=_0x25aad1['grid_column'],this[_0x3c1275(0x1dd)]=_0x25aad1['search'];}async[a0_0x10ee17(0x1a8)](){const _0x55f208=a0_0x10ee17;this[_0x55f208(0x1bc)]=await MetaApi['parseGridConfigSet'](this),this[_0x55f208(0x1cd)]=this[_0x55f208(0x1b7)],this[_0x55f208(0x1b7)]=!0x1,this[_0x55f208(0x1c8)]=this['gristConfigSet'][_0x55f208(0x1ca)][_0x55f208(0x1d9)](_0x37a175=>_0x37a175['filter'])[_0x55f208(0x1ad)](_0x392073=>{const _0x4533a8=_0x55f208;let _0x42e2fa={'name':_0x392073[_0x4533a8(0x1e0)],'type':_0x392073['type'],'label':_0x392073[_0x4533a8(0x1b2)],'operator':_0x392073[_0x4533a8(0x1d9)]['operator']?_0x392073[_0x4533a8(0x1d9)][_0x4533a8(0x1a1)]:'eq'};return _0x392073['record'][_0x4533a8(0x199)]&&(_0x42e2fa['options']=_0x392073[_0x4533a8(0x1af)][_0x4533a8(0x199)]),_0x42e2fa;});}async[a0_0x10ee17(0x1c6)](){const _0x484db6=a0_0x10ee17;await this[_0x484db6(0x1dc)]['fetch']();}async['beforeFetch']({page:_0xe385c7=0x0,limit:_0x4e066d=0x0,sortings:_0x1a04a0=[],filters:_0x2a3b8b=[]}){const _0x1b90f5=a0_0x10ee17;return this['detailElement']&&this[_0x1b90f5(0x1ae)]['clear']&&await this[_0x1b90f5(0x1ae)][_0x1b90f5(0x1c1)](),!0x0;}async[a0_0x10ee17(0x1a3)](){const _0x1f610b=a0_0x10ee17;let _0x2c1908=MetaApi[_0x1f610b(0x1b4)](this[_0x1f610b(0x1dc)]);!!ValueUtil[_0x1f610b(0x1c2)](_0x2c1908)&&await this[_0x1f610b(0x1d3)](_0x2c1908)&&this[_0x1f610b(0x1c6)]();}async[a0_0x10ee17(0x1a7)](){const _0xda8b8a=a0_0x10ee17;let _0x3436e9=MetaApi[_0xda8b8a(0x1be)](this[_0xda8b8a(0x1dc)],!0x0);return ValueUtil[_0xda8b8a(0x1c2)](_0x3436e9)?await this[_0xda8b8a(0x1aa)](_0x3436e9[0x0]):{};}async[a0_0x10ee17(0x1ba)](){const _0x26e130=a0_0x10ee17;let _0x5a3189=MetaApi[_0x26e130(0x1be)](this[_0x26e130(0x1dc)],!0x0);!!ValueUtil['isNotEmpty'](_0x5a3189)&&await this[_0x26e130(0x1d0)](_0x5a3189)&&this[_0x26e130(0x1c6)]();}async['export'](){const _0x3960c5=a0_0x10ee17;let _0x174615=TermsUtil[_0x3960c5(0x1d2)](ValueUtil[_0x3960c5(0x1cb)](this[_0x3960c5(0x1a2)],_0x3960c5(0x1d5)));return await MetaApi[_0x3960c5(0x1bb)](this['isElement'],_0x174615,this['grist']);}async['import'](){}};
@@ -1 +1 @@
1
- const a0_0x2d4e44=a0_0x2957;(function(_0x86f08a,_0x1077df){const _0x2fdf77=a0_0x2957,_0x17b28a=_0x86f08a();while(!![]){try{const _0x1e7722=-parseInt(_0x2fdf77(0x11e))/0x1+-parseInt(_0x2fdf77(0x127))/0x2+-parseInt(_0x2fdf77(0xf2))/0x3*(-parseInt(_0x2fdf77(0x11a))/0x4)+parseInt(_0x2fdf77(0xf3))/0x5*(-parseInt(_0x2fdf77(0x120))/0x6)+parseInt(_0x2fdf77(0xff))/0x7+parseInt(_0x2fdf77(0x104))/0x8*(parseInt(_0x2fdf77(0xfb))/0x9)+parseInt(_0x2fdf77(0xf4))/0xa*(parseInt(_0x2fdf77(0x102))/0xb);if(_0x1e7722===_0x1077df)break;else _0x17b28a['push'](_0x17b28a['shift']());}catch(_0x4303b8){_0x17b28a['push'](_0x17b28a['shift']());}}}(a0_0x2095,0xa5a0e));function a0_0x2957(_0x4039e7,_0x1b2937){const _0x209564=a0_0x2095();return a0_0x2957=function(_0x2957e7,_0x5036f8){_0x2957e7=_0x2957e7-0xf2;let _0x3d2ebf=_0x209564[_0x2957e7];return _0x3d2ebf;},a0_0x2957(_0x4039e7,_0x1b2937);}import{adjustFilters}from'@operato/utils';function a0_0x2095(){const _0x2f54f4=['length','filter','beforeFetch','map','1125wGhgtA','lifecycle','getQueryFilters','columns','1683878pRSjgr','parse','getPageNavigateParams','3113QQQCsP','fetchHandler','7848ZeDvtS','filters','includes','gqlInfo','updateMultiple','deleteByIds','afterFetch','getParams','parent_id','getSelectColumns','query','params','searchByPagination','isNotEmpty','name','forEach','gristConfigSet','split','records','pass','multiple','findOne','31604TJRBSR','isElement','after_set_fields','mutation','1342098WJInsV','deleteListByIds','5262GUeheM','push','isEmpty','func','keys','properties','find_one_func','2049792HGwACP','87knJfXu','1405CLzUqF','95390PrMvVK','value','list_func'];a0_0x2095=function(){return _0x2f54f4;};return a0_0x2095();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x565eab=>class extends MetaBaseMixin(_0x565eab){static get[a0_0x2d4e44(0x125)](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x380811){const _0x1cdc6f=a0_0x2d4e44;this[_0x1cdc6f(0x107)]=_0x380811['gql'];}async[a0_0x2d4e44(0x103)]({page:_0x27d094=0x0,limit:_0x40ce82=0x0,sortings:_0x22bca8=[],filters:_0x3107fc=[]}){const _0x3e163a=a0_0x2d4e44;if(this[_0x3e163a(0xf9)]&&0x0==await this['beforeFetch']({'page':_0x27d094,'limit':_0x40ce82,'sortings':_0x22bca8,'filters':_0x3107fc}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x158de0=ValueUtil[_0x3e163a(0x122)](_0x3107fc)?await this['filterForm']?.[_0x3e163a(0xfd)]()||[]:_0x3107fc,_0xb63fd5=ValueUtil[_0x3e163a(0x10b)](this[_0x3e163a(0x107)],_0x3e163a(0x10e),_0x3e163a(0xf6)),_0x2699cf=ValueUtil[_0x3e163a(0x10b)](this[_0x3e163a(0x107)],_0x3e163a(0x10e),_0x3e163a(0x105)),_0x43cb43=ValueUtil['getParams'](this[_0x3e163a(0x107)],'query',_0x3e163a(0x11c));if(ValueUtil['isNotEmpty'](_0x2699cf)&&(_0x158de0=adjustFilters(_0x158de0,_0x2699cf)),_0x158de0['push'](...this[_0x3e163a(0x101)]()),this[_0x3e163a(0x11b)]){let _0x1aeea9=ValueUtil[_0x3e163a(0x10b)](this['gqlInfo'],_0x3e163a(0x10e),_0x3e163a(0x10c));ValueUtil[_0x3e163a(0x111)](_0x1aeea9)&&ValueUtil['isNotEmpty'](this[_0x3e163a(0x10c)])&&(_0x158de0=adjustFilters(_0x158de0,[{'name':_0x1aeea9,'operator':'eq','value':this[_0x3e163a(0x10c)]}]));}let _0x2ec30f=Object[_0x3e163a(0x124)](_0x43cb43||{}),_0x17b628=MetaApi[_0x3e163a(0x10d)](this[_0x3e163a(0x114)][_0x3e163a(0xfe)][_0x3e163a(0xf8)](_0x117386=>!_0x2ec30f['includes'](_0x117386['name']))),_0x347189=await MetaApi[_0x3e163a(0x110)](_0xb63fd5,_0x158de0,_0x22bca8,_0x27d094,_0x40ce82,_0x17b628);if(this[_0x3e163a(0x10a)]){let _0x52395d=await this['afterFetch']({'page':_0x27d094,'limit':_0x40ce82,'sortings':_0x22bca8,'filters':_0x3107fc},_0x347189);if(_0x52395d)return _0x52395d;}return ValueUtil[_0x3e163a(0x111)](_0x43cb43)&&ValueUtil[_0x3e163a(0x111)](_0x347189)&&ValueUtil['isNotEmpty'](_0x347189['records'])&&_0x347189[_0x3e163a(0x116)][_0x3e163a(0xfa)](_0x1ef412=>(_0x2ec30f[_0x3e163a(0x113)](_0x4181d1=>{const _0x133b9e=_0x3e163a;_0x1ef412[_0x4181d1]=ValueUtil[_0x133b9e(0x10b)](_0x1ef412,..._0x43cb43[_0x4181d1][_0x133b9e(0x115)]('.'));}),_0x1ef412)),_0x347189;}[a0_0x2d4e44(0x101)](){const _0x5bb4c9=a0_0x2d4e44;if(0x0==this['isPage'])return[];let _0x285f54=this[_0x5bb4c9(0xfc)]?.[_0x5bb4c9(0x10f)]?this[_0x5bb4c9(0xfc)][_0x5bb4c9(0x10f)]:{};if(!_0x285f54['pass'])return[];let _0x59db22=_0x285f54[_0x5bb4c9(0x117)],_0x9f8d04=JSON[_0x5bb4c9(0x100)](_0x59db22),_0xcbe2ef=0x1==_0x9f8d04['length']?'eq':'in',_0x37e7e7={},_0x5f56e8=[];return Object[_0x5bb4c9(0x124)](_0x9f8d04[0x0])[_0x5bb4c9(0x113)](_0xc4b1a6=>{_0x37e7e7[_0xc4b1a6]={'name':_0xc4b1a6,'operator':_0xcbe2ef,'value':'eq'===_0xcbe2ef?_0x9f8d04[0x0][_0xc4b1a6]:[]};}),_0x9f8d04[_0x5bb4c9(0xf7)]>0x1&&_0x9f8d04[_0x5bb4c9(0x113)](_0x1135f2=>{const _0x579fb1=_0x5bb4c9;Object[_0x579fb1(0x124)](_0x1135f2)[_0x579fb1(0x113)](_0x38f7f2=>{const _0x533f6f=_0x579fb1;_0x37e7e7[_0x38f7f2][_0x533f6f(0xf5)][_0x533f6f(0x121)](_0x1135f2[_0x38f7f2]);});}),Object['keys'](_0x37e7e7)[_0x5bb4c9(0x113)](_0x5c312f=>{const _0x26648b=_0x5bb4c9;_0x5f56e8[_0x26648b(0x121)](_0x37e7e7[_0x5c312f]);}),_0x5f56e8;}async[a0_0x2d4e44(0x119)](_0x26ff35){const _0x38c9f4=a0_0x2d4e44;let _0x2355b5=ValueUtil[_0x38c9f4(0x10b)](this[_0x38c9f4(0x107)],'query',_0x38c9f4(0x126)),_0x3862ce=ValueUtil[_0x38c9f4(0x10b)](this[_0x38c9f4(0x107)],_0x38c9f4(0x10e),_0x38c9f4(0x11c)),_0xdf23ea=Object['keys'](_0x3862ce||{}),_0x2a0f9d=MetaApi[_0x38c9f4(0x10d)]((this['gristConfigSet']?this[_0x38c9f4(0x114)]:{'columns':this['formConfigSet']})['columns'][_0x38c9f4(0xf8)](_0x3850c9=>!_0xdf23ea['includes'](_0x3850c9[_0x38c9f4(0x112)]))),_0x16c57a=await MetaApi[_0x38c9f4(0x119)](_0x2355b5,_0x26ff35,_0x2a0f9d);return ValueUtil[_0x38c9f4(0x111)](_0x3862ce)&&ValueUtil[_0x38c9f4(0x111)](_0x16c57a)&&_0xdf23ea[_0x38c9f4(0x113)](_0x1c2183=>{const _0x3b2f8e=_0x38c9f4;_0x16c57a[_0x1c2183]=ValueUtil[_0x3b2f8e(0x10b)](_0x16c57a,..._0x3862ce[_0x1c2183][_0x3b2f8e(0x115)]('.'));}),_0x16c57a;}async[a0_0x2d4e44(0x109)](_0x1d141a){const _0x561df7=a0_0x2d4e44;let _0xc76f44=ValueUtil[_0x561df7(0x10b)](this[_0x561df7(0x107)],_0x561df7(0x11d),'delete',_0x561df7(0x123));return await MetaApi[_0x561df7(0x11f)](_0x1d141a,_0xc76f44);}async[a0_0x2d4e44(0x108)](_0x2f300d){const _0x4df078=a0_0x2d4e44;let _0x1a5b41=ValueUtil[_0x4df078(0x10b)](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),_0x4df078(0x123)),_0x2a5cee=ValueUtil[_0x4df078(0x10b)](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),'skip_fields');if(ValueUtil[_0x4df078(0x111)](_0x2a5cee)&&(_0x2a5cee=_0x2a5cee[_0x4df078(0xfa)](_0x8fc37a=>_0x8fc37a[_0x4df078(0x106)]('.')?_0x8fc37a['split']('.'):_0x8fc37a),_0x2f300d=_0x2f300d[_0x4df078(0xfa)](_0x56f543=>(_0x2a5cee[_0x4df078(0x113)](_0x79a722=>{Array['isArray'](_0x79a722)?delete _0x56f543[_0x79a722[0x0]][_0x79a722[0x1]]:delete _0x56f543[_0x79a722];}),_0x56f543))),this['isElement']&&ValueUtil[_0x4df078(0x111)](this[_0x4df078(0x10c)])){let _0x56a9bc=ValueUtil['getParams'](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),_0x4df078(0x10c));ValueUtil[_0x4df078(0x111)](_0x56a9bc)&&_0x2f300d['forEach'](_0x13ff75=>{const _0x451bbe=_0x4df078;if(_0x56a9bc[_0x451bbe(0x106)]('.')){let _0x5da4a0=_0x56a9bc['split']('.');_0x13ff75[_0x5da4a0[0x0]]={},_0x13ff75[_0x5da4a0[0x0]][_0x5da4a0[0x1]]=this[_0x451bbe(0x10c)];}else _0x13ff75[_0x56a9bc]=this[_0x451bbe(0x10c)];});}return await MetaApi[_0x4df078(0x108)](_0x1a5b41,_0x2f300d);}};
1
+ const a0_0x28a64d=a0_0x1fd8;(function(_0x30be84,_0x44fbe3){const _0x5dd376=a0_0x1fd8,_0x5bd1ca=_0x30be84();while(!![]){try{const _0x15f6b1=-parseInt(_0x5dd376(0x178))/0x1+-parseInt(_0x5dd376(0x19f))/0x2+-parseInt(_0x5dd376(0x192))/0x3*(parseInt(_0x5dd376(0x18c))/0x4)+parseInt(_0x5dd376(0x194))/0x5+-parseInt(_0x5dd376(0x1a2))/0x6*(-parseInt(_0x5dd376(0x173))/0x7)+parseInt(_0x5dd376(0x176))/0x8+parseInt(_0x5dd376(0x187))/0x9;if(_0x15f6b1===_0x44fbe3)break;else _0x5bd1ca['push'](_0x5bd1ca['shift']());}catch(_0xc79dd5){_0x5bd1ca['push'](_0x5bd1ca['shift']());}}}(a0_0x26a1,0xebb15));import{adjustFilters}from'@operato/utils';function a0_0x26a1(){const _0x19659e=['4pTYyaG','isArray','includes','parent_id','fetchHandler','keys','1385970xGqXid','lifecycle','1832290xIqtKM','findOne','pass','getPageNavigateParams','name','getParams','after_set_fields','getSelectColumns','func','skip_fields','filters','1423806qcFGxm','beforeFetch','find_one_func','10909404KeqKzR','list_func','params','afterFetch','value','query','updateMultiple','forEach','deleteListByIds','gqlInfo','7nAfKva','delete','gristConfigSet','2404568dqoeBx','searchByPagination','1119008YbmOms','parse','filter','formConfigSet','mutation','columns','isEmpty','properties','length','map','gql','push','split','isNotEmpty','isPage','6957315nXKGef','parseBasicServiceConfigs','multiple','getQueryFilters','records'];a0_0x26a1=function(){return _0x19659e;};return a0_0x26a1();}import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x1fd8(_0x451627,_0x5395e8){const _0x26a151=a0_0x26a1();return a0_0x1fd8=function(_0x1fd8ea,_0x19271b){_0x1fd8ea=_0x1fd8ea-0x16b;let _0x24ed4b=_0x26a151[_0x1fd8ea];return _0x24ed4b;},a0_0x1fd8(_0x451627,_0x5395e8);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x5caebd=>class extends MetaBaseMixin(_0x5caebd){static get[a0_0x28a64d(0x17f)](){return{'gqlInfo':Object};}[a0_0x28a64d(0x188)](_0x2c1dee){const _0x57a6f3=a0_0x28a64d;this[_0x57a6f3(0x172)]=_0x2c1dee[_0x57a6f3(0x182)];}async[a0_0x28a64d(0x190)]({page:_0x4600e4=0x0,limit:_0x66508c=0x0,sortings:_0x5d6d8a=[],filters:_0x4d8425=[]}){const _0x318e39=a0_0x28a64d;if(this['beforeFetch']&&0x0==await this[_0x318e39(0x1a0)]({'page':_0x4600e4,'limit':_0x66508c,'sortings':_0x5d6d8a,'filters':_0x4d8425}))return;if(!this[_0x318e39(0x175)])return{'total':0x0,'records':[]};let _0x5707ac=ValueUtil[_0x318e39(0x17e)](_0x4d8425)?await this['filterForm']?.[_0x318e39(0x18a)]()||[]:_0x4d8425,_0x4d0011=ValueUtil[_0x318e39(0x199)](this[_0x318e39(0x172)],'query',_0x318e39(0x1a3)),_0x3d1b0d=ValueUtil[_0x318e39(0x199)](this[_0x318e39(0x172)],'query',_0x318e39(0x19e)),_0x9d1169=ValueUtil[_0x318e39(0x199)](this['gqlInfo'],_0x318e39(0x16e),_0x318e39(0x19a));if(ValueUtil['isNotEmpty'](_0x3d1b0d)&&(_0x5707ac=adjustFilters(_0x5707ac,_0x3d1b0d)),_0x5707ac['push'](...this[_0x318e39(0x197)]()),this['isElement']){let _0x44d8e3=ValueUtil[_0x318e39(0x199)](this[_0x318e39(0x172)],'query',_0x318e39(0x18f));ValueUtil[_0x318e39(0x185)](_0x44d8e3)&&ValueUtil[_0x318e39(0x185)](this[_0x318e39(0x18f)])&&(_0x5707ac=adjustFilters(_0x5707ac,[{'name':_0x44d8e3,'operator':'eq','value':this['parent_id']}]));}let _0x2188a3=Object[_0x318e39(0x191)](_0x9d1169||{}),_0x20ffb6=MetaApi['getSelectColumns'](this[_0x318e39(0x175)][_0x318e39(0x17d)][_0x318e39(0x17a)](_0x28d3c1=>!_0x2188a3[_0x318e39(0x18e)](_0x28d3c1[_0x318e39(0x198)]))),_0x45edf6=await MetaApi[_0x318e39(0x177)](_0x4d0011,_0x5707ac,_0x5d6d8a,_0x4600e4,_0x66508c,_0x20ffb6);if(this[_0x318e39(0x16c)]){let _0x585df5=await this[_0x318e39(0x16c)]({'page':_0x4600e4,'limit':_0x66508c,'sortings':_0x5d6d8a,'filters':_0x4d8425},_0x45edf6);if(_0x585df5)return _0x585df5;}return ValueUtil[_0x318e39(0x185)](_0x9d1169)&&ValueUtil[_0x318e39(0x185)](_0x45edf6)&&ValueUtil[_0x318e39(0x185)](_0x45edf6[_0x318e39(0x18b)])&&_0x45edf6[_0x318e39(0x18b)][_0x318e39(0x181)](_0x372289=>(_0x2188a3[_0x318e39(0x170)](_0x208eb6=>{const _0x141820=_0x318e39;_0x372289[_0x208eb6]=ValueUtil[_0x141820(0x199)](_0x372289,..._0x9d1169[_0x208eb6]['split']('.'));}),_0x372289)),_0x45edf6;}['getPageNavigateParams'](){const _0x3b635f=a0_0x28a64d;if(0x0==this[_0x3b635f(0x186)])return[];let _0x3a6ea0=this[_0x3b635f(0x193)]?.[_0x3b635f(0x16b)]?this[_0x3b635f(0x193)][_0x3b635f(0x16b)]:{};if(!_0x3a6ea0['pass'])return[];let _0x70a61c=_0x3a6ea0[_0x3b635f(0x196)],_0x28ce1b=JSON[_0x3b635f(0x179)](_0x70a61c),_0x276b9d=0x1==_0x28ce1b[_0x3b635f(0x180)]?'eq':'in',_0x4f9eb5={},_0x6e076c=[];return Object['keys'](_0x28ce1b[0x0])['forEach'](_0x102937=>{_0x4f9eb5[_0x102937]={'name':_0x102937,'operator':_0x276b9d,'value':'eq'===_0x276b9d?_0x28ce1b[0x0][_0x102937]:[]};}),_0x28ce1b[_0x3b635f(0x180)]>0x1&&_0x28ce1b['forEach'](_0x3fcaf9=>{const _0x34fab1=_0x3b635f;Object[_0x34fab1(0x191)](_0x3fcaf9)[_0x34fab1(0x170)](_0x4c7907=>{const _0xf558de=_0x34fab1;_0x4f9eb5[_0x4c7907][_0xf558de(0x16d)][_0xf558de(0x183)](_0x3fcaf9[_0x4c7907]);});}),Object[_0x3b635f(0x191)](_0x4f9eb5)['forEach'](_0x4039f8=>{const _0x3e2744=_0x3b635f;_0x6e076c[_0x3e2744(0x183)](_0x4f9eb5[_0x4039f8]);}),_0x6e076c;}async[a0_0x28a64d(0x195)](_0x149589){const _0x57f848=a0_0x28a64d;let _0x341dd5=ValueUtil[_0x57f848(0x199)](this[_0x57f848(0x172)],_0x57f848(0x16e),_0x57f848(0x1a1)),_0x2d6df3=ValueUtil['getParams'](this[_0x57f848(0x172)],_0x57f848(0x16e),_0x57f848(0x19a)),_0x5e8efa=Object[_0x57f848(0x191)](_0x2d6df3||{}),_0x5dac06=MetaApi[_0x57f848(0x19b)]((this[_0x57f848(0x175)]?this['gristConfigSet']:{'columns':this[_0x57f848(0x17b)]})['columns'][_0x57f848(0x17a)](_0x252edf=>!_0x5e8efa[_0x57f848(0x18e)](_0x252edf[_0x57f848(0x198)]))),_0x37de31=await MetaApi[_0x57f848(0x195)](_0x341dd5,_0x149589,_0x5dac06);return ValueUtil[_0x57f848(0x185)](_0x2d6df3)&&ValueUtil[_0x57f848(0x185)](_0x37de31)&&_0x5e8efa[_0x57f848(0x170)](_0xa0ad2b=>{const _0xa21764=_0x57f848;_0x37de31[_0xa0ad2b]=ValueUtil[_0xa21764(0x199)](_0x37de31,..._0x2d6df3[_0xa0ad2b][_0xa21764(0x184)]('.'));}),_0x37de31;}async['deleteByIds'](_0x286ac7){const _0x102f4d=a0_0x28a64d;let _0x16f2a8=ValueUtil[_0x102f4d(0x199)](this[_0x102f4d(0x172)],_0x102f4d(0x17c),_0x102f4d(0x174),_0x102f4d(0x19c));return await MetaApi[_0x102f4d(0x171)](_0x286ac7,_0x16f2a8);}async[a0_0x28a64d(0x16f)](_0x56c9de){const _0x46c8b4=a0_0x28a64d;let _0x3c4c30=ValueUtil[_0x46c8b4(0x199)](this[_0x46c8b4(0x172)],_0x46c8b4(0x17c),_0x46c8b4(0x189),_0x46c8b4(0x19c)),_0x376aa5=ValueUtil[_0x46c8b4(0x199)](this[_0x46c8b4(0x172)],'mutation','multiple',_0x46c8b4(0x19d));if(ValueUtil['isNotEmpty'](_0x376aa5)&&(_0x376aa5=_0x376aa5[_0x46c8b4(0x181)](_0x36c43c=>_0x36c43c[_0x46c8b4(0x18e)]('.')?_0x36c43c[_0x46c8b4(0x184)]('.'):_0x36c43c),_0x56c9de=_0x56c9de[_0x46c8b4(0x181)](_0x2ef065=>(_0x376aa5['forEach'](_0x2dd232=>{const _0x54bf38=_0x46c8b4;Array[_0x54bf38(0x18d)](_0x2dd232)?delete _0x2ef065[_0x2dd232[0x0]][_0x2dd232[0x1]]:delete _0x2ef065[_0x2dd232];}),_0x2ef065))),this['isElement']&&ValueUtil['isNotEmpty'](this[_0x46c8b4(0x18f)])){let _0x41e443=ValueUtil[_0x46c8b4(0x199)](this[_0x46c8b4(0x172)],'mutation',_0x46c8b4(0x189),_0x46c8b4(0x18f));ValueUtil[_0x46c8b4(0x185)](_0x41e443)&&_0x56c9de[_0x46c8b4(0x170)](_0x1a8f25=>{const _0x3cce27=_0x46c8b4;if(_0x41e443[_0x3cce27(0x18e)]('.')){let _0xf644=_0x41e443['split']('.');_0x1a8f25[_0xf644[0x0]]={},_0x1a8f25[_0xf644[0x0]][_0xf644[0x1]]=this[_0x3cce27(0x18f)];}else _0x1a8f25[_0x41e443]=this['parent_id'];});}return await MetaApi[_0x46c8b4(0x16f)](_0x3c4c30,_0x56c9de);}};
@@ -1 +1 @@
1
- const a0_0x437ea8=a0_0x3b2e;(function(_0x4ac244,_0xeee98d){const _0x14e2e3=a0_0x3b2e,_0xd10ab1=_0x4ac244();while(!![]){try{const _0x151a9f=parseInt(_0x14e2e3(0x1ba))/0x1*(parseInt(_0x14e2e3(0x1a8))/0x2)+-parseInt(_0x14e2e3(0x1b6))/0x3+-parseInt(_0x14e2e3(0x1ad))/0x4+-parseInt(_0x14e2e3(0x1b1))/0x5*(parseInt(_0x14e2e3(0x1ab))/0x6)+-parseInt(_0x14e2e3(0x1af))/0x7+parseInt(_0x14e2e3(0x1b2))/0x8*(parseInt(_0x14e2e3(0x1a4))/0x9)+parseInt(_0x14e2e3(0x1b8))/0xa;if(_0x151a9f===_0xeee98d)break;else _0xd10ab1['push'](_0xd10ab1['shift']());}catch(_0x40d683){_0xd10ab1['push'](_0xd10ab1['shift']());}}}(a0_0x1602,0xdc1b2));import{MetaApi}from'../utils/meta-api';function a0_0x1602(){const _0x3422b8=['67356StXnFu','getBasicTabStyles','10975118oBhuqo','properties','45mMfWFc','304KpXTqg','tabElements','currentTabKey','getBasicTabHtml','1966602gQxQjd','context','26101600mWuWOZ','firstUpdated','46302SeWAws','connectedCallback','clear','getAndParseMenuMeta','255861rmQsgi','parseBasicTabConfigs','pageInitialized','render','26LRARKO','keys','tab','767058RoPNMO','styles'];a0_0x1602=function(){return _0x3422b8;};return a0_0x1602();}import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3b2e(_0x335547,_0x6da9f1){const _0x16023f=a0_0x1602();return a0_0x3b2e=function(_0x3b2ee9,_0x22dae8){_0x3b2ee9=_0x3b2ee9-0x1a4;let _0x3be297=_0x16023f[_0x3b2ee9];return _0x3be297;},a0_0x3b2e(_0x335547,_0x6da9f1);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x10d77d=>class extends MetaButtonMixin(_0x10d77d){static get[a0_0x437ea8(0x1ac)](){const _0x1d2066=a0_0x437ea8;return MetaApi[_0x1d2066(0x1ae)]();}static get[a0_0x437ea8(0x1b0)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x437ea8(0x1b7)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x32e167=a0_0x437ea8;this[_0x32e167(0x1b4)]=void 0x0,await this[_0x32e167(0x1bd)](),super['connectedCallback']&&await super[_0x32e167(0x1bb)]();}async[a0_0x437ea8(0x1b9)](){const _0x3d5657=a0_0x437ea8;super[_0x3d5657(0x1b9)]&&await super[_0x3d5657(0x1b9)]();}async[a0_0x437ea8(0x1a6)](){super['pageInitialized']&&await super['pageInitialized']();}[a0_0x437ea8(0x1a7)](){const _0x1ae397=a0_0x437ea8;return MetaApi[_0x1ae397(0x1b5)](this);}[a0_0x437ea8(0x1a5)](_0x3e1a4b){const _0x1a7c6f=a0_0x437ea8;this['tabRenderConfig']=_0x3e1a4b[_0x1a7c6f(0x1aa)],_0x3e1a4b['button']=[];}async[a0_0x437ea8(0x1bc)](){const _0xf1f0ba=a0_0x437ea8;if(this[_0xf1f0ba(0x1b3)]){let _0x296d1a=Object[_0xf1f0ba(0x1a9)](this['tabElements']);for(var _0x5dff6e=0x0;_0x5dff6e<_0x296d1a['length'];_0x5dff6e++)await this[_0xf1f0ba(0x1b3)][_0x296d1a[_0x5dff6e]]['clear']();}}};
1
+ function a0_0xa1af(_0x16b57a,_0x4818d6){const _0x2654fa=a0_0x2654();return a0_0xa1af=function(_0xa1af81,_0x90be86){_0xa1af81=_0xa1af81-0x68;let _0x5a3746=_0x2654fa[_0xa1af81];return _0x5a3746;},a0_0xa1af(_0x16b57a,_0x4818d6);}const a0_0x157816=a0_0xa1af;(function(_0x4654d1,_0x4bd0c9){const _0x1f8d69=a0_0xa1af,_0x48e579=_0x4654d1();while(!![]){try{const _0x2d3758=parseInt(_0x1f8d69(0x77))/0x1+-parseInt(_0x1f8d69(0x70))/0x2+parseInt(_0x1f8d69(0x78))/0x3+parseInt(_0x1f8d69(0x6a))/0x4*(-parseInt(_0x1f8d69(0x7e))/0x5)+parseInt(_0x1f8d69(0x82))/0x6+-parseInt(_0x1f8d69(0x7b))/0x7*(parseInt(_0x1f8d69(0x79))/0x8)+parseInt(_0x1f8d69(0x6d))/0x9*(parseInt(_0x1f8d69(0x75))/0xa);if(_0x2d3758===_0x4bd0c9)break;else _0x48e579['push'](_0x48e579['shift']());}catch(_0x52b5cc){_0x48e579['push'](_0x48e579['shift']());}}}(a0_0x2654,0x1cbf1));import{MetaApi}from'../utils/meta-api';function a0_0x2654(){const _0x2ef921=['5dwfdcH','clear','render','parseBasicTabConfigs','902040oJWhlz','length','getBasicTabStyles','683896FDUigm','getContextObject','firstUpdated','2217906VVtnXO','connectedCallback','tabElements','288258PaZDTr','button','tab','styles','properties','10Psajok','tabRenderConfig','25207jcUebv','299910WiFFau','33944EfRmAE','getAndParseMenuMeta','147XKFjbD','pageInitialized','getBasicTabHtml'];a0_0x2654=function(){return _0x2ef921;};return a0_0x2654();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x44ed83=>class extends MetaButtonMixin(_0x44ed83){static get[a0_0x157816(0x73)](){const _0x246d64=a0_0x157816;return MetaApi[_0x246d64(0x69)]();}static get[a0_0x157816(0x74)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x3690fc=a0_0x157816;return MetaUiUtil[_0x3690fc(0x6b)](this);}async[a0_0x157816(0x6e)](){const _0x2c6d84=a0_0x157816;this['currentTabKey']=void 0x0,await this[_0x2c6d84(0x7a)](),super['connectedCallback']&&await super[_0x2c6d84(0x6e)]();}async[a0_0x157816(0x6c)](){const _0x237aab=a0_0x157816;super['firstUpdated']&&await super[_0x237aab(0x6c)]();}async[a0_0x157816(0x7c)](){const _0x17bfe9=a0_0x157816;super[_0x17bfe9(0x7c)]&&await super[_0x17bfe9(0x7c)]();}[a0_0x157816(0x80)](){const _0x17a668=a0_0x157816;return MetaApi[_0x17a668(0x7d)](this);}[a0_0x157816(0x81)](_0x5a325c){const _0x757343=a0_0x157816;this[_0x757343(0x76)]=_0x5a325c[_0x757343(0x72)],_0x5a325c[_0x757343(0x71)]=[];}async['clear'](){const _0x4a4018=a0_0x157816;if(this[_0x4a4018(0x6f)]){let _0x406140=Object['keys'](this['tabElements']);for(var _0x23a183=0x0;_0x23a183<_0x406140[_0x4a4018(0x68)];_0x23a183++)await this['tabElements'][_0x406140[_0x23a183]][_0x4a4018(0x7f)]();}}};
@@ -1,51 +1,18 @@
1
- var a0_0x569aa6=a0_0x1b0e;(function(_0x47edde,_0x2b7613){var _0x221993=a0_0x1b0e,_0x4b184c=_0x47edde();while(!![]){try{var _0x268001=parseInt(_0x221993(0x102))/0x1*(-parseInt(_0x221993(0x105))/0x2)+parseInt(_0x221993(0xfb))/0x3+parseInt(_0x221993(0xf9))/0x4*(-parseInt(_0x221993(0xfe))/0x5)+parseInt(_0x221993(0x104))/0x6+parseInt(_0x221993(0x10a))/0x7+parseInt(_0x221993(0x101))/0x8+parseInt(_0x221993(0xf7))/0x9*(-parseInt(_0x221993(0x109))/0xa);if(_0x268001===_0x2b7613)break;else _0x4b184c['push'](_0x4b184c['shift']());}catch(_0x564961){_0x4b184c['push'](_0x4b184c['shift']());}}}(a0_0x5cae,0xbc056));import{css,html}from'lit-element';function a0_0x5cae(){var _0x450d2d=['customElements','tText','95MomUvg','meta-activity-list-page','context','10666728itnqXh','398049ZojNYW','define','6554250bXICAD','4NsAWij','please\x20wait','render','styles','27135760LCDeQt','9510914YrjeKp','9XzAtKk','Loading\x20...','1928CXLzyQ','loading\x20page','1513644IELZII'];a0_0x5cae=function(){return _0x450d2d;};return a0_0x5cae();}function a0_0x1b0e(_0x370fda,_0x1d36d5){var _0x5cae9f=a0_0x5cae();return a0_0x1b0e=function(_0x1b0e8b,_0x1a053e){_0x1b0e8b=_0x1b0e8b-0xf7;var _0x2ec02b=_0x5cae9f[_0x1b0e8b];return _0x2ec02b;},a0_0x1b0e(_0x370fda,_0x1d36d5);}import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{TermsUtil}from'./../../utils/terms-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x569aa6(0x108)](){return[css`
2
- :host {
3
- display: block;
4
- background-color: var(--main-section-background-color);
5
- padding: var(--padding-wide);
6
- overflow: auto;
7
- }
8
- h2 {
9
- margin: var(--title-margin);
10
- font: var(--title-font);
11
- color: var(--title-text-color);
12
- }
13
- input {
14
- display: block;
15
- }
16
- [page-description] {
17
- margin: var(--page-description-margin);
18
- font: var(--page-description-font);
19
- color: var(--page-description-color);
20
- }
21
- [button-primary] {
22
- background-color: var(--button-primary-background-color);
23
- border: var(--button-border);
24
- border-radius: var(--button-border-radius);
25
- padding: var(--button-padding);
26
- color: var(--button-primary-color);
27
- font: var(--button-primary-font);
28
- text-transform: var(--button-text-transform);
29
- text-decoration: none;
30
- }
31
- [button-primary]:hover {
32
- background-color: var(--button-primary-active-background-color);
33
- box-shadow: var(--button-active-box-shadow);
34
- }
35
- img {
36
- max-width: 45%;
37
- float: right;
38
- }
39
- @media screen and (max-width: 600px) {
40
- img {
41
- display: none;
1
+ const a0_0x236648=a0_0x17cd;(function(_0x4ca044,_0x3fed1e){const _0x12738f=a0_0x17cd,_0x3d7360=_0x4ca044();while(!![]){try{const _0x3682a5=-parseInt(_0x12738f(0x109))/0x1*(-parseInt(_0x12738f(0xf4))/0x2)+parseInt(_0x12738f(0xe6))/0x3*(-parseInt(_0x12738f(0xf7))/0x4)+parseInt(_0x12738f(0xf3))/0x5*(-parseInt(_0x12738f(0x12b))/0x6)+parseInt(_0x12738f(0xf0))/0x7*(-parseInt(_0x12738f(0xea))/0x8)+-parseInt(_0x12738f(0xe8))/0x9*(parseInt(_0x12738f(0x101))/0xa)+parseInt(_0x12738f(0x117))/0xb*(-parseInt(_0x12738f(0x12f))/0xc)+-parseInt(_0x12738f(0x132))/0xd*(-parseInt(_0x12738f(0x111))/0xe);if(_0x3682a5===_0x3fed1e)break;else _0x3d7360['push'](_0x3d7360['shift']());}catch(_0x1dba9b){_0x3d7360['push'](_0x3d7360['shift']());}}}(a0_0x13be,0x2e73c));import a0_0x1f47e9 from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';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{ServiceUtil}from'../../utils/service-util';function a0_0x13be(){const _0x1ea1cd=['12wqOaLp','render','datetime','24375tgYdYo','getGristSelectableConfig','define','install_activity','task','length','\x0a\x20\x20\x20\x20\x20\x20model\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','routing','system_update','grist','connectedCallback','bind','showToast','menu_type','tButton','tLabel','object','getGristPagination50Config','getGristColumnConfig2','getBasicGristStyles','search','errors','843tqhAJM','GRID','1611270eetFAj','is_not_null','24LCLWKy','like','isNotEmpty','deleteListByGristSelected','gridConfig','querySelector','482419qOglIv','description','resource-object','12915SKrTlD','4LjYrCM','deploy','CARD','4708JHntyp','string','delete','getGristSelectorColumnConfig','save','getGristCodeSelectorColumnConfig','push','install_activity_success','model','getGristGuttersConfig','10QyHiOd','isMobileEnv','status','draft','forEach','query','showGraphqlErrorResponse','info','157561AQJvNL','name','activity-state-released','gridMode','activity-state-draft','updateMultiple','styles','tTitle','6678dbQXBj','left','deprecated','updateMultipleMetaActivity','context','patchesForUpdateMultiple','1568215uWsZAR','menu','post','searchByPagination','columns','pageInitialized','ox-grist','HIDDEN-PAGE','center','POPUP','filter','custom-element','fetchHandler','meta-activity-viewer-element','updater','menuType','records','metaActivities','LIST','menus','372CbJZUi','deleteMetaActivities','grid_view_options','getSelectColumns'];a0_0x13be=function(){return _0x1ea1cd;};return a0_0x13be();}function a0_0x17cd(_0x57849d,_0x4148c4){const _0x13be52=a0_0x13be();return a0_0x17cd=function(_0x17cdcb,_0x4c6481){_0x17cdcb=_0x17cdcb-0xdd;let _0x1a28f8=_0x13be52[_0x17cdcb];return _0x1a28f8;},a0_0x17cd(_0x57849d,_0x4148c4);}import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x236648(0x10f)](){const _0x76e709=a0_0x236648;return MetaApi[_0x76e709(0xe3)]();}get[a0_0x236648(0x115)](){const _0xc94da2=a0_0x236648;return{'title':TermsUtil[_0xc94da2(0x110)]('activity_list'),'actions':[{'title':TermsUtil['tButton'](_0xc94da2(0xfb)),'action':this[_0xc94da2(0xfb)][_0xc94da2(0x13d)](this),...CommonButtonStyles[_0xc94da2(0xfb)]},{'title':TermsUtil[_0xc94da2(0xde)]('delete'),'action':this[_0xc94da2(0xf9)][_0xc94da2(0x13d)](this),...CommonButtonStyles[_0xc94da2(0xf9)]},{'title':TermsUtil[_0xc94da2(0xde)](_0xc94da2(0x135)),'action':this['deploy'][_0xc94da2(0x13d)](this),'icon':_0xc94da2(0x13a),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get['grist'](){const _0xd3ae0a=a0_0x236648;return this['shadowRoot'][_0xd3ae0a(0xef)](_0xd3ae0a(0x11d));}async[a0_0x236648(0x13c)](){const _0x466cec=a0_0x236648,_0x41c2e4=[{'display':'','value':''},{'display':TermsUtil[_0x466cec(0xdf)](_0x466cec(0x10d)),'value':_0x466cec(0x104)},{'display':TermsUtil['tLabel'](_0x466cec(0x10b)),'value':'released'},{'display':TermsUtil[_0x466cec(0xdf)]('activity-state-deprecated'),'value':_0x466cec(0x113)}];this['grid_view_options']=['LIST',_0x466cec(0xe7),_0x466cec(0xf6)],this[_0x466cec(0x10c)]=MetaApi[_0x466cec(0x102)]()?_0x466cec(0x129):'GRID',this['gridConfig']={'option':{'view_mode':this[_0x466cec(0x12d)]},'rows':MetaApi[_0x466cec(0x133)](!0x0),'pagination':MetaApi[_0x466cec(0xe1)](),'sorters':[{'name':_0x466cec(0x10a),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x466cec(0x100)](!0x0,!0x1),{'type':_0x466cec(0xf8),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil['getGristColumnConfig2'](_0x466cec(0xf8),'name','name',_0x466cec(0x112),!0x0,!0x0,0x96),MetaUiUtil[_0x466cec(0xe2)](_0x466cec(0xf8),_0x466cec(0xf1),'description',_0x466cec(0x112),!0x0,!0x0,0xfa),MetaUiUtil[_0x466cec(0xfa)]('state',_0x466cec(0x103),_0x466cec(0x11f),!0x0,0x64,!0x1,_0x41c2e4),{'type':_0x466cec(0xf2),'name':'menu','header':TermsUtil[_0x466cec(0xdf)](_0x466cec(0x118)),'record':{'editable':!0x0,'options':{'queryName':_0x466cec(0x12a),'basicArgs':{'filters':[{'name':_0x466cec(0x126),'operator':'in','value':['SCREEN',_0x466cec(0x120),_0x466cec(0x11e)]},{'name':'routing','operator':_0x466cec(0xe9),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':'name','header':TermsUtil['tLabel']('name'),'width':0xb9,'filter':_0x466cec(0xe4)},await MetaApi[_0x466cec(0xfc)](_0x466cec(0x126),_0x466cec(0xdd),_0x466cec(0x11f),!0x1,0x64,!0x1,'MENU_PAGE_TYPE'),MetaUiUtil[_0x466cec(0xe2)]('string',_0x466cec(0x139),_0x466cec(0x139),_0x466cec(0x112),!0x1,!0x1,0xc8)],'list':{'fields':[_0x466cec(0x10a),_0x466cec(0x139)]},'nameField':_0x466cec(0x139)}},'width':0xc8},MetaUiUtil[_0x466cec(0xe2)](_0x466cec(0xe0),_0x466cec(0x125),_0x466cec(0x125),_0x466cec(0x11f),!0x1,!0x1,0x78),MetaUiUtil[_0x466cec(0xe2)](_0x466cec(0x131),'updatedAt','updated_at',_0x466cec(0x11f),!0x1,!0x0,0xb4)],'sorters':[{'name':'name','desc':!0x1}]};let _0x4164c7={'name':_0x466cec(0xeb)};this['gridConfig'][_0x466cec(0x11b)][_0x466cec(0x121)](_0x10c014=>_0x4164c7[_0x10c014['name']])[_0x466cec(0x105)](_0x51a2c1=>{const _0x32f756=_0x466cec;_0x51a2c1['filter']=_0x4164c7[_0x51a2c1[_0x32f756(0x10a)]];}),this['connectedCallback']&&await super[_0x466cec(0x13c)]();}async[a0_0x236648(0x123)]({page:_0x39ae08,limit:_0x49abe0,sorters:_0x2c2df3=[],filters:_0x1f64c3=[]}){const _0x268783=a0_0x236648;_0x1f64c3[_0x268783(0xfd)]({'name':_0x268783(0xff),'operator':'like','value':'\x22relation-menu\x22'});let _0x25fecf=MetaApi[_0x268783(0x12e)](this[_0x268783(0xee)][_0x268783(0x11b)][_0x268783(0x121)](_0x11a182=>'menu'!=_0x11a182[_0x268783(0x10a)]));_0x25fecf+=_0x268783(0x138);let _0x5880d8=await MetaApi[_0x268783(0x11a)](_0x268783(0x128),_0x1f64c3,_0x2c2df3,_0x39ae08,_0x49abe0,_0x25fecf);return _0x5880d8[_0x268783(0x127)][_0x268783(0x105)](_0x236f1b=>{const _0x41a395=_0x268783;let _0x2cf0a9=_0x236f1b[_0x41a395(0xff)][_0x41a395(0x121)](_0x4d559b=>'relation-menu'==_0x4d559b[_0x41a395(0x10a)]);_0x2cf0a9&&_0x2cf0a9[_0x41a395(0x137)]>0x0&&(_0x236f1b[_0x41a395(0x118)]=JSON['parse'](_0x2cf0a9[0x0][_0x41a395(0xf1)])),delete _0x236f1b[_0x41a395(0xff)];}),_0x5880d8;}async[a0_0x236648(0xf5)](){const _0x51fb10=a0_0x236648;try{var _0x1499fa=await client[_0x51fb10(0x106)]({'query':a0_0x1f47e9`
2
+ mutation {
3
+ installActivityTemplate
42
4
  }
43
- }
44
- `];}get[a0_0x569aa6(0x100)](){var _0x1e162f=a0_0x569aa6;return{'title':_0x1e162f(0xf8),'actions':[]};}[a0_0x569aa6(0x107)](){var _0x1b2173=a0_0x569aa6;return html`
45
- <h2>${TermsUtil[_0x1b2173(0xfd)](_0x1b2173(0xfa))}</h2>
46
- <p page-description>
47
- ${TermsUtil[_0x1b2173(0xfd)](_0x1b2173(0x106))}
48
- </p>
49
-
50
- <img src="/assets/images/loading-page.png" />
51
- `;}}window[a0_0x569aa6(0xfc)][a0_0x569aa6(0x103)](a0_0x569aa6(0xff),MetaActivityListPage);
5
+ `});if(!_0x1499fa[_0x51fb10(0xe5)])return UiUtil[_0x51fb10(0x13e)](_0x51fb10(0x108),TermsUtil['tText'](_0x51fb10(0xfe))),!0x0;ServiceUtil[_0x51fb10(0x107)](_0x1499fa);}catch(_0xf3d875){ServiceUtil['showGraphqlException'](_0xf3d875);}}async[a0_0x236648(0xfb)](){const _0xe6f4da=a0_0x236648;let _0x5a0f3a=ServiceUtil[_0xe6f4da(0x116)](this[_0xe6f4da(0x13b)]);if(ValueUtil[_0xe6f4da(0xec)](_0x5a0f3a)){_0x5a0f3a[_0xe6f4da(0x105)](_0x3a3566=>{const _0x3a052f=_0xe6f4da;Object['assign'](_0x3a3566,{'activityType':_0x3a052f(0x136),'multiple':'single','startingType':_0x3a052f(0x119),'uiSource':'meta-activity-writer-element','uiType':_0x3a052f(0x122),'viewSource':_0x3a052f(0x124),'viewType':'custom-element'});});let _0x5933f4=await ServiceUtil[_0xe6f4da(0x10e)](_0xe6f4da(0x114),_0x5a0f3a);if(_0x5933f4)return this[_0xe6f4da(0x13b)]['fetch'](),_0x5933f4;}}async[a0_0x236648(0xf9)](){const _0x5abe5d=a0_0x236648;await MetaApi[_0x5abe5d(0xed)](this[_0x5abe5d(0x13b)],_0x5abe5d(0x12c));}async[a0_0x236648(0x11c)](){}[a0_0x236648(0x130)](){const _0x516e22=a0_0x236648;return html`
6
+ <ox-grist
7
+ auto-fetch
8
+ id="ox-grist"
9
+ .config=${this[_0x516e22(0xee)]}
10
+ .mode=${this[_0x516e22(0x10c)]}
11
+ .fetchHandler=${this[_0x516e22(0x123)][_0x516e22(0x13d)](this)}>
12
+ <div slot="headroom">
13
+ <div id="filters">
14
+ <ox-filters-form ></ox-filters-form>
15
+ </div>
16
+ </div>
17
+ </ox-grist>
18
+ `;}}window['customElements'][a0_0x236648(0x134)]('meta-activity-list-page',MetaActivityListPage);
@@ -1 +1 @@
1
- (function(_0x23794f,_0x2cb5ca){var _0x42e15b=a0_0x1835,_0x256add=_0x23794f();while(!![]){try{var _0x3be9a1=parseInt(_0x42e15b(0x12a))/0x1+-parseInt(_0x42e15b(0x129))/0x2+parseInt(_0x42e15b(0x127))/0x3+-parseInt(_0x42e15b(0x12d))/0x4+parseInt(_0x42e15b(0x128))/0x5*(-parseInt(_0x42e15b(0x12e))/0x6)+parseInt(_0x42e15b(0x12b))/0x7+parseInt(_0x42e15b(0x126))/0x8*(parseInt(_0x42e15b(0x12c))/0x9);if(_0x3be9a1===_0x2cb5ca)break;else _0x256add['push'](_0x256add['shift']());}catch(_0x12f70b){_0x256add['push'](_0x256add['shift']());}}}(a0_0x2033,0x29950));function a0_0x1835(_0x772f82,_0x2bac14){var _0x203354=a0_0x2033();return a0_0x1835=function(_0x1835dc,_0x497d2b){_0x1835dc=_0x1835dc-0x126;var _0x17cea2=_0x203354[_0x1835dc];return _0x17cea2;},a0_0x1835(_0x772f82,_0x2bac14);}import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x2033(){var _0x43a4d0=['658557hxOxUS','15yVKYlk','132746QPRDsK','243327WNNCXr','298130lmyciG','603lmfhrw','852780uGjOBG','234510nPCwLR','7368yvAguj'];a0_0x2033=function(){return _0x43a4d0;};return a0_0x2033();}import{MetaBasicGristMixin}from'./../../mixin/meta-basic-grist-mixin';export class MetaActivityViewerElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements['define']('meta-activity-viewer-element',MetaActivityViewerElement);
1
+ var a0_0x3ab1c4=a0_0x3cd0;function a0_0x3cd0(_0xb7f869,_0xb5f4a2){var _0x201007=a0_0x2010();return a0_0x3cd0=function(_0x3cd001,_0xa457aa){_0x3cd001=_0x3cd001-0xf1;var _0x41bcaa=_0x201007[_0x3cd001];return _0x41bcaa;},a0_0x3cd0(_0xb7f869,_0xb5f4a2);}(function(_0x58257a,_0x4be677){var _0x17356f=a0_0x3cd0,_0x49494a=_0x58257a();while(!![]){try{var _0x1f4557=parseInt(_0x17356f(0xfb))/0x1+parseInt(_0x17356f(0xf4))/0x2*(-parseInt(_0x17356f(0xf7))/0x3)+-parseInt(_0x17356f(0xf9))/0x4+parseInt(_0x17356f(0xf3))/0x5*(parseInt(_0x17356f(0xf5))/0x6)+-parseInt(_0x17356f(0xfc))/0x7*(parseInt(_0x17356f(0xfa))/0x8)+-parseInt(_0x17356f(0xf8))/0x9*(parseInt(_0x17356f(0xf6))/0xa)+parseInt(_0x17356f(0xfd))/0xb;if(_0x1f4557===_0x4be677)break;else _0x49494a['push'](_0x49494a['shift']());}catch(_0x4c0c57){_0x49494a['push'](_0x49494a['shift']());}}}(a0_0x2010,0x5b939));import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{MetaBasicGristMixin}from'./../../mixin/meta-basic-grist-mixin';function a0_0x2010(){var _0x188039=['define','meta-activity-viewer-element','2965XWeqZk','2jjZHUr','930edYePP','100FLofaa','1472433QpyctF','358596ZlhFwr','1336616ChcgTJ','42344QROWNf','289205mVYEbS','329UinkSi','16127683QarBPN'];a0_0x2010=function(){return _0x188039;};return a0_0x2010();}export class MetaActivityViewerElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements[a0_0x3ab1c4(0xf1)](a0_0x3ab1c4(0xf2),MetaActivityViewerElement);