@things-factory/meta-ui 6.0.73 → 6.0.74

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 (63) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +24 -11
  3. package/client/index.js +1 -0
  4. package/client/mixin/meta-base-mixin.js +1 -1
  5. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  6. package/client/mixin/meta-button-mixin.js +1 -1
  7. package/client/mixin/meta-form-mixin.js +1 -1
  8. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  9. package/client/mixin/meta-master-detail-mixin.js +1 -1
  10. package/client/mixin/meta-service-mixin.js +1 -1
  11. package/client/mixin/meta-tab-mixin.js +1 -1
  12. package/client/pages/activity/meta-activity-list-page.js +6 -6
  13. package/client/pages/activity/meta-activity-viewer-element.js +1 -1
  14. package/client/pages/activity/meta-activity-writer-element.js +11 -10
  15. package/client/pages/entity/config-entity.js +29 -29
  16. package/client/pages/entity/main-menu-selector.js +8 -8
  17. package/client/pages/history/history-copy-list-popup.js +6 -6
  18. package/client/pages/history/history-json-list-popup.js +6 -6
  19. package/client/pages/loading-page.js +5 -5
  20. package/client/pages/menu/dynamic-menu-template.js +7 -7
  21. package/client/pages/menu/dynamic-menu.js +15 -15
  22. package/client/pages/meta-form-element.js +1 -1
  23. package/client/pages/meta-grist-element.js +1 -1
  24. package/client/pages/meta-grist-page.js +1 -1
  25. package/client/pages/meta-grist-tab-element.js +1 -0
  26. package/client/pages/meta-grist-tab-page.js +1 -1
  27. package/client/pages/meta-master-detail-element.js +1 -1
  28. package/client/pages/meta-master-detail-page.js +1 -1
  29. package/client/pages/meta-tab-element.js +1 -1
  30. package/client/pages/personalize/personal-column-selector.js +11 -11
  31. package/client/pages/terms/config-terminology.js +6 -6
  32. package/client/reducers/main.js +1 -1
  33. package/client/utils/meta-api.js +1 -1
  34. package/client/utils/meta-crypto.js +1 -1
  35. package/client/utils/meta-ui-util.js +84 -78
  36. package/client/utils/service-util.js +12 -12
  37. package/client/utils/terms-util.js +2 -2
  38. package/client/utils/ui-util.js +1 -1
  39. package/client/utils/value-util.js +1 -1
  40. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  41. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  42. package/client/viewparts/dynamic-menu-part.js +12 -12
  43. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  44. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  45. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  46. package/package.json +2 -2
  47. package/server/activity/CommonActivity.js +12 -1
  48. package/server/constants/error-code.js +1 -1
  49. package/server/errors/license-error.js +1 -1
  50. package/server/routes.js +1 -1
  51. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  52. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  53. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  54. package/server/service/grid-personalize/grid-personalize.js +1 -1
  55. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  56. package/server/service/meta-activity/meta-activity-query.js +1 -1
  57. package/server/service/meta-activity/meta-activity-type.js +1 -1
  58. package/server/service/meta-secret/meta-resolver.js +1 -1
  59. package/server/service/set-translations/set-translation-resolver.js +1 -1
  60. package/translations/en.json +1 -0
  61. package/translations/ko.json +1 -0
  62. package/translations/ms.json +1 -0
  63. package/translations/zh.json +1 -0
@@ -1,7 +1,7 @@
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})}
1
+ const a0_0x18da30=a0_0xf6fe;(function(_0x3c28eb,_0xef2ae9){const _0xc3a811=a0_0xf6fe,_0x49a0d9=_0x3c28eb();while(!![]){try{const _0xd77716=-parseInt(_0xc3a811(0x1fa))/0x1*(parseInt(_0xc3a811(0x20c))/0x2)+parseInt(_0xc3a811(0x203))/0x3*(parseInt(_0xc3a811(0x210))/0x4)+-parseInt(_0xc3a811(0x1fb))/0x5+parseInt(_0xc3a811(0x204))/0x6+parseInt(_0xc3a811(0x20e))/0x7+-parseInt(_0xc3a811(0x207))/0x8*(-parseInt(_0xc3a811(0x208))/0x9)+-parseInt(_0xc3a811(0x201))/0xa*(-parseInt(_0xc3a811(0x205))/0xb);if(_0xd77716===_0xef2ae9)break;else _0x49a0d9['push'](_0x49a0d9['shift']());}catch(_0xcce54c){_0x49a0d9['push'](_0x49a0d9['shift']());}}}(a0_0x306f,0x667a0));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0xd3f283 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_0x18da30(0x20d);export const UPDATE_META_MENU_TEMPLATE=a0_0x18da30(0x1f9);function a0_0xf6fe(_0xa9de27,_0x335024){const _0x306f0b=a0_0x306f();return a0_0xf6fe=function(_0xf6fe32,_0x255e4d){_0xf6fe32=_0xf6fe32-0x1f4;let _0x5400cb=_0x306f0b[_0xf6fe32];return _0x5400cb;},a0_0xf6fe(_0xa9de27,_0x335024);}var HAMBURGER;export async function setupMenuPart(_0x10ea3e){const _0x108cd5=a0_0x18da30;var {hovering:_0x5574a0=!!isMobileDevice(),slotTemplate:_0x3fa718,portraitSlotTemplate:_0x511d82,landscapeSlotTemplate:_0x27533e,position:_0x9e71ba=VIEWPART_POSITION[_0x108cd5(0x202)]}=_0x10ea3e||{};const {hovering:_0x34afd4}=(await clientSettingStore[_0x108cd5(0x1fd)](_0x108cd5(0x1ff)))?.[_0x108cd5(0x1fe)]||{};void 0x0!==_0x34afd4&&(_0x5574a0=_0x34afd4);const _0x5cd665=_0x9e71ba==VIEWPART_POSITION['HEADERBAR']?_0x108cd5(0x20f):_0x108cd5(0x211),_0x2e9088=('landscape'==_0x5cd665?_0x27533e:_0x511d82)||_0x3fa718||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x5574a0,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x5574a0,'template':html`<dynamic-menu-part .orientation=${_0x5cd665}>${_0x2e9088}</dynamic-menu-part>`},'position':_0x9e71ba}),_0x5574a0&&_0x108cd5(0x211)==_0x5cd665?HAMBURGER||(HAMBURGER={'name':_0x108cd5(0x200),'template':html`
2
+ <mwc-icon @click=${_0x18e565=>toggleOverlay(_0x108cd5(0x1f8),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
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`
4
+ `,'position':TOOL_POSITION['FRONT_END']},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x108cd5(0x206)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}function a0_0x306f(){const _0x50fe05=['dispatch','8XNLNtK','2046996TgtTUe','meta[name=\x22application-name\x22]','items','query','2ZuTFmw','UPDATE_META_UI','2659615LvpczK','landscape','39692TpdLJg','portrait','data','appName','active','querySelector','dynamic-menu-part','UPDATE_META_MENU_TEMPLATE','803447kmzAnO','2706565TXoasq','content','get','value','dynamic-menu','hamburger','1843640djFjlH','NAVBAR','177aHJhYO','2323764eqBIzT','11tvByaG'];a0_0x306f=function(){return _0x50fe05;};return a0_0x306f();}export async function updateMenuTemplate(_0x2b1d9d){const _0x186134=a0_0x18da30;var _0x44608e=document[_0x186134(0x1f7)](_0x186134(0x209))?.[_0x186134(0x1fc)],_0x376854=(await client[_0x186134(0x20b)]({'query':a0_0xd3f283`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ function a0_0x1e56(){const _0x32a78c=['content','1193vZupex','portrait','NAVBAR'
20
20
  total
21
21
  }
22
22
  }
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});}
23
+ `,'variables':{'filters':[{'name':_0x186134(0x1f6),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x44608e]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x186134(0x1f4)]['liteMenus'][_0x186134(0x20a)];store[_0x186134(0x206)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x376854['filter'](_0x7d36a0=>!_0x7d36a0[_0x186134(0x1f5)]||_0x7d36a0[_0x186134(0x1f5)]===_0x44608e),'template':_0x2b1d9d});}
@@ -84,12 +84,25 @@ export default function bootstrap() {
84
84
  }
85
85
  })
86
86
 
87
- // 6. 업무정의 리스트 추가
87
+ // 6. 공통 코드 화면 추가
88
88
  store.dispatch({
89
89
  type: ADD_MORENDA,
90
90
  morenda: {
91
- icon: html`<mwc-icon>work</mwc-icon>`,
92
- name: html`<ox-i18n msgid="title.activity_list"></ox-i18n>`,
91
+ icon: html`<mwc-icon>code</mwc-icon>`,
92
+ name: html`<ox-i18n msgid="title.code_management"></ox-i18n>`,
93
+ action: () => {
94
+ navigate('codes')
95
+ }
96
+ }
97
+ })
98
+
99
+
100
+ // 7. 업무정의 리스트 추가
101
+ store.dispatch({
102
+ type: ADD_MORENDA,
103
+ morenda: {
104
+ icon: html`<mwc-icon>business_center</mwc-icon>`,
105
+ name: html`<ox-i18n msgid="title.meta_activity_list"></ox-i18n>`,
93
106
  action: () => {
94
107
  navigate('meta-activity-list')
95
108
  }
@@ -99,7 +112,7 @@ export default function bootstrap() {
99
112
  type: ADD_MORENDA,
100
113
  morenda: {
101
114
  icon: html`<mwc-icon>work</mwc-icon>`,
102
- name: html`<ox-i18n msgid="원본"></ox-i18n>`,
115
+ name: html`<ox-i18n msgid="title.activity_list"></ox-i18n>`,
103
116
  action: () => {
104
117
  navigate('activity-list')
105
118
  }
@@ -107,25 +120,25 @@ export default function bootstrap() {
107
120
  })
108
121
 
109
122
 
110
- // 7. 모든 routes 정보 추출
123
+ // 8. 모든 routes 정보 추출
111
124
  let allRoutes = menuRoutes.routes
112
125
 
113
- // 8. store의 모듈 정보 조회 & 마지막 application 모듈 정보를 추출
126
+ // 9. store의 모듈 정보 조회 & 마지막 application 모듈 정보를 추출
114
127
  let modules = store.getState().app.modules
115
128
  let allModules = Object.assign([], modules)
116
129
  let appModule = allModules[allModules.length - 1]
117
130
 
118
- // 9. 최종 애플리케이션 모듈의 routes 정보 교체
131
+ // 10. 최종 애플리케이션 모듈의 routes 정보 교체
119
132
  appModule.routes = allRoutes.filter(r => {
120
133
  return r.template && !r.template.startsWith('@things-factory')
121
134
  })
122
135
 
123
- // 10. meta-ui 모듈 추출
136
+ // 11. meta-ui 모듈 추출
124
137
  let metaUiModule = allModules.find(m => {
125
138
  return m.name == '@things-factory/meta-ui'
126
139
  })
127
140
 
128
- // 11. meta-ui의 routes 정보 교체
141
+ // 12. meta-ui의 routes 정보 교체
129
142
  let metaUiRoutes = allRoutes.filter(r => {
130
143
  let isMetaUiRoute = r.template && r.template.startsWith('@things-factory/meta-ui')
131
144
  if (isMetaUiRoute) {
@@ -141,13 +154,13 @@ export default function bootstrap() {
141
154
  metaUiModule.routes = metaUiRoutes
142
155
  metaUiModule.route = metaUiRoute
143
156
 
144
- // 12. store에 모듈 업데이트
157
+ // 13. store에 모듈 업데이트
145
158
  store.dispatch({
146
159
  type: UPDATE_MODULES,
147
160
  modules: allModules
148
161
  })
149
162
 
150
- // 13. 첫 페이지를 리로딩 처리 (shell/app.js에서 리로딩 처리시에는 라우팅 정보가 없어서 처리를 못하므로 여기서 다시 한번 해줌...)
163
+ // 14. 첫 페이지를 리로딩 처리 (shell/app.js에서 리로딩 처리시에는 라우팅 정보가 없어서 처리를 못하므로 여기서 다시 한번 해줌...)
151
164
  store.dispatch(navigateWithSilence(location))
152
165
  })
153
166
  }
package/client/index.js CHANGED
@@ -23,6 +23,7 @@ export * from './mixin/meta-grist-tab-mixin'
23
23
  export * from './pages/meta-form-element'
24
24
  export * from './pages/meta-grist-element'
25
25
  export * from './pages/meta-grist-page'
26
+ export * from './pages/meta-grist-tab-element'
26
27
  export * from './pages/meta-grist-tab-page'
27
28
  export * from './pages/meta-master-detail-element'
28
29
  export * from './pages/meta-master-detail-page'
@@ -1 +1 @@
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
+ function a0_0x40d4(_0x48c5ec,_0x225981){const _0x580492=a0_0x5804();return a0_0x40d4=function(_0x40d441,_0x32d0d1){_0x40d441=_0x40d441-0x126;let _0x379e12=_0x580492[_0x40d441];return _0x379e12;},a0_0x40d4(_0x48c5ec,_0x225981);}function a0_0x5804(){const _0x3719c6=['after','257148OWNOiW','133EigWWa','isDetail','parseBasicGridConfigs','isElement','12axNKeZ','is_popup','pageUpdated','properties','parent_id','isNotEmpty','getMenuMeta','title_detail','executeCallScenarioButtonClick','callScenario','fetchHandler','3759112VSHcTd','parseBasicFormConfigs','title','excuteOpenPopupButtonClick','getParams','is_detail','parseBasicServiceConfigs','getAndParseMenuMeta','errors','params','filterForm','893700fPiZFU','isEmpty','parseBasicButtonConfigs','active','etc','tTitle','3562344cIrVah','setParentId','isPage','etcConfig','247796LMvbZB','fetch','openDynamicPopup','188310QqlXyT','name','3235675zjNahZ','lifecycle','split','parseBasicTabConfigs'];a0_0x5804=function(){return _0x3719c6;};return a0_0x5804();}const a0_0x3f75a0=a0_0x40d4;(function(_0x5dd286,_0x3382be){const _0x3a4159=a0_0x40d4,_0x6a44b7=_0x5dd286();while(!![]){try{const _0x59df37=-parseInt(_0x3a4159(0x142))/0x1+parseInt(_0x3a4159(0x14c))/0x2*(parseInt(_0x3a4159(0x12c))/0x3)+parseInt(_0x3a4159(0x127))/0x4+-parseInt(_0x3a4159(0x151))/0x5+parseInt(_0x3a4159(0x14f))/0x6*(parseInt(_0x3a4159(0x128))/0x7)+parseInt(_0x3a4159(0x137))/0x8+parseInt(_0x3a4159(0x148))/0x9;if(_0x59df37===_0x3382be)break;else _0x6a44b7['push'](_0x6a44b7['shift']());}catch(_0xf30591){_0x6a44b7['push'](_0x6a44b7['shift']());}}}(a0_0x5804,0x75728));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x159596=>class extends _0x159596{static get[a0_0x3f75a0(0x12f)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x542572=>Boolean(_0x542572)},'is_popup':{'type':Boolean,'converter':_0x4b50b5=>Boolean(_0x4b50b5)},'is_activity':{'type':Boolean,'converter':_0x350a92=>Boolean(_0x350a92)}};}get[a0_0x3f75a0(0x12b)](){const _0x29a6fe=a0_0x3f75a0;return!0x0===this[_0x29a6fe(0x13c)]||!0x0===this[_0x29a6fe(0x12d)];}get[a0_0x3f75a0(0x129)](){const _0xdb6a79=a0_0x3f75a0;return!ValueUtil[_0xdb6a79(0x143)](this[_0xdb6a79(0x13c)])&&this[_0xdb6a79(0x13c)];}async[a0_0x3f75a0(0x12e)](_0x276e73,_0x3342a9,_0x5b0faa){const _0x315cf1=a0_0x3f75a0;let _0x344e4f=this[_0x315cf1(0x152)]?.[_0x315cf1(0x140)]?this['lifecycle'][_0x315cf1(0x140)]:{};this[_0x315cf1(0x14a)]&&this[_0x315cf1(0x145)]&&0x0==_0x5b0faa[_0x315cf1(0x145)]&&ValueUtil[_0x315cf1(0x131)](_0x344e4f)&&this['fetch']();}get['isPopup'](){const _0x844f7e=a0_0x3f75a0;return!ValueUtil[_0x844f7e(0x143)](this['is_popup'])&&this['is_popup'];}get[a0_0x3f75a0(0x14a)](){const _0x594cbb=a0_0x3f75a0;return!this[_0x594cbb(0x13c)]&&!this[_0x594cbb(0x12d)];}async[a0_0x3f75a0(0x13e)](){const _0x594ee3=a0_0x3f75a0;let _0x1a1890=await MetaApi[_0x594ee3(0x132)](this);_0x1a1890&&(this['menuInfo']=_0x1a1890['menu'],this[_0x594ee3(0x12a)]&&this['parseBasicGridConfigs'](_0x1a1890),this[_0x594ee3(0x13d)]&&this[_0x594ee3(0x13d)](_0x1a1890),this[_0x594ee3(0x138)]&&this['parseBasicFormConfigs'](_0x1a1890),this[_0x594ee3(0x154)]&&this['parseBasicTabConfigs'](_0x1a1890),this['parseBasicButtonConfigs']&&this[_0x594ee3(0x144)](_0x1a1890),this[_0x594ee3(0x14b)]=_0x1a1890[_0x594ee3(0x146)]);}async[a0_0x3f75a0(0x14d)](){const _0x3853bc=a0_0x3f75a0;ValueUtil[_0x3853bc(0x131)](this['grist'])?this['grist'][_0x3853bc(0x14d)]():(ValueUtil[_0x3853bc(0x131)](this[_0x3853bc(0x141)])||this['fetchHandler'])&&await this[_0x3853bc(0x136)]();}async[a0_0x3f75a0(0x13a)](_0x1f9517,_0x36a32d,_0x1eda1e){const _0x46d222=a0_0x3f75a0;let _0x2f4768=TermsUtil[_0x46d222(0x147)](_0x1f9517[_0x46d222(0x139)]);ValueUtil[_0x46d222(0x131)](_0x1f9517[_0x46d222(0x133)])&&(_0x2f4768=_0x2f4768+'-'+ValueUtil[_0x46d222(0x13b)](_0x36a32d,..._0x1f9517['title_detail'][_0x46d222(0x153)]('.'))),MetaApi[_0x46d222(0x14e)](_0x2f4768,_0x1f9517,_0x36a32d,_0x1eda1e);}async[a0_0x3f75a0(0x134)](_0x3a26c9,_0x4f2a12,_0x2c4942){const _0x213ef4=a0_0x3f75a0;let _0x57d511=await MetaApi[_0x213ef4(0x135)](_0x3a26c9[_0x213ef4(0x150)],_0x3a26c9[_0x213ef4(0x150)],_0x4f2a12);!0x1!==_0x57d511&&!_0x57d511[_0x213ef4(0x13f)]&&ValueUtil[_0x213ef4(0x131)](_0x3a26c9[_0x213ef4(0x126)])&&_0x2c4942();}[a0_0x3f75a0(0x149)](_0x3c15be){const _0x3c232c=a0_0x3f75a0;this[_0x3c232c(0x130)]=_0x3c15be,this['fetch']();}};
@@ -1,4 +1,4 @@
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
+ const a0_0x33231b=a0_0x142b;(function(_0x15265e,_0x68ceca){const _0x4b5d40=a0_0x142b,_0x4b46f5=_0x15265e();while(!![]){try{const _0xd0a900=parseInt(_0x4b5d40(0x12e))/0x1*(-parseInt(_0x4b5d40(0x108))/0x2)+-parseInt(_0x4b5d40(0x113))/0x3*(parseInt(_0x4b5d40(0x136))/0x4)+parseInt(_0x4b5d40(0x12c))/0x5*(parseInt(_0x4b5d40(0x134))/0x6)+parseInt(_0x4b5d40(0x123))/0x7+-parseInt(_0x4b5d40(0x10c))/0x8*(-parseInt(_0x4b5d40(0x118))/0x9)+-parseInt(_0x4b5d40(0x10a))/0xa+parseInt(_0x4b5d40(0x12f))/0xb;if(_0xd0a900===_0x68ceca)break;else _0x4b46f5['push'](_0x4b46f5['shift']());}catch(_0x299bbe){_0x4b46f5['push'](_0x4b46f5['shift']());}}}(a0_0x30ff,0x7ebb4));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x30ff(){const _0x117ce9=['exportableData','activityDataSet','deleteByIds','isElement','tTitle','3414208fcnjiG','menuInfo','firstUpdated','getBasicGristHtml','gristConfigSet','connectedCallback','export','gridColumnConfig','parse','4490385OFAfGC','ox-filters-form','799142IIUCSY','14962541ZMvNAM','gristId','pageInitialized','stringify','keys','6NdNTNc','ox-grist','1516HBxkqd','context','render','forEach','findOne','dataSet','styles','fetch','search','getBasicGristStyles','getSelectedIdList','querySelector','renderRoot','2MJnlbw','save','7146050BBBmTO','updateMultiple','296HcCUce','getButtonContainer','grid','searchConfig','___data','parseGridConfigSet','isPage','6537vFbYfo','isNotEmpty','startsWith','grist','getAndParseMenuMeta','27396CFZBmo','data','parseGristConfigs','import','delete','find'];a0_0x30ff=function(){return _0x117ce9;};return a0_0x30ff();}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';function a0_0x142b(_0x4a7bf9,_0x479492){const _0x30ffc5=a0_0x30ff();return a0_0x142b=function(_0x142b94,_0x3ca2c2){_0x142b94=_0x142b94-0xfe;let _0x34d3f7=_0x30ffc5[_0x142b94];return _0x34d3f7;},a0_0x142b(_0x4a7bf9,_0x479492);}export const MetaBasicGristMixin=_0x63b30e=>class extends MetaButtonMixin(_0x63b30e){static get[a0_0x33231b(0x101)](){const _0x540825=a0_0x33231b;return MetaApi[_0x540825(0x104)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x33231b(0x116)](){const _0x3492b3=a0_0x33231b;return this[_0x3492b3(0x107)]?.[_0x3492b3(0x106)](this[_0x3492b3(0x130)]);}get['filterForm'](){const _0x36afea=a0_0x33231b;return this['shadowRoot']?.[_0x36afea(0x106)](this['filterFormId']);}get[a0_0x33231b(0x137)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x33231b(0x128)](){const _0x36ed7c=a0_0x33231b;this['gristId']=_0x36ed7c(0x135),this['filterFormId']=_0x36ed7c(0x12d),await this[_0x36ed7c(0x117)](),this[_0x36ed7c(0x121)]&&await this[_0x36ed7c(0x11a)](),this[_0x36ed7c(0x11f)]&&(this[_0x36ed7c(0x100)]=this[_0x36ed7c(0x11f)]),super[_0x36ed7c(0x128)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0xb79330=a0_0x33231b;super[_0xb79330(0x125)]&&await super['firstUpdated']();}async[a0_0x33231b(0x131)](){const _0x5871a9=a0_0x33231b;this['isPage']&&await this[_0x5871a9(0x11a)](),super[_0x5871a9(0x131)]&&await super[_0x5871a9(0x131)]();}[a0_0x33231b(0x138)](){const _0x276116=a0_0x33231b;return html`
2
+ ${MetaApi[_0x276116(0x126)](this)}
3
+ ${this[_0x276116(0x112)]?html``:MetaUiUtil[_0x276116(0x10d)](this)}
4
+ `;}['parseBasicGridConfigs'](_0x4de6b2){const _0x4e7b95=a0_0x33231b;this['gridConfig']=_0x4de6b2[_0x4e7b95(0x10e)],this[_0x4e7b95(0x12a)]=_0x4de6b2['grid_column'],this[_0x4e7b95(0x10f)]=_0x4de6b2[_0x4e7b95(0x103)];}async[a0_0x33231b(0x11a)](){const _0x86cd21=a0_0x33231b;this[_0x86cd21(0x127)]=await MetaApi[_0x86cd21(0x111)](this);}async[a0_0x33231b(0x102)](){const _0x2a11cf=a0_0x33231b;await this[_0x2a11cf(0x116)][_0x2a11cf(0x102)]();}async[a0_0x33231b(0x109)](){const _0x3dc155=a0_0x33231b;let _0x5c8966=MetaApi['patchesForUpdateMultiple'](this[_0x3dc155(0x116)]);!!ValueUtil[_0x3dc155(0x114)](_0x5c8966)&&await this[_0x3dc155(0x10b)](_0x5c8966)&&this['fetch']();}async[a0_0x33231b(0x11d)](){const _0x40789e=a0_0x33231b;let _0x54f7d5=MetaApi[_0x40789e(0x105)](this[_0x40789e(0x116)],!0x0);return ValueUtil[_0x40789e(0x114)](_0x54f7d5)?await this[_0x40789e(0xff)](_0x54f7d5[0x0]):{};}async[a0_0x33231b(0x11c)](){const _0x3eb7c1=a0_0x33231b;let _0x1c4254=MetaApi[_0x3eb7c1(0x105)](this[_0x3eb7c1(0x116)],!0x0);!!ValueUtil[_0x3eb7c1(0x114)](_0x1c4254)&&await this[_0x3eb7c1(0x120)](_0x1c4254)&&this[_0x3eb7c1(0x102)]();}async[a0_0x33231b(0x129)](){const _0x182445=a0_0x33231b;let _0x598a0=TermsUtil[_0x182445(0x122)](ValueUtil['getParams'](this[_0x182445(0x124)],'title'));return await MetaApi[_0x182445(0x11e)](this['isElement'],_0x598a0,this['grist']);}async[a0_0x33231b(0x11b)](){}async['clear'](){const _0x2c6dfa=a0_0x33231b;this[_0x2c6dfa(0x116)]&&(this[_0x2c6dfa(0x116)][_0x2c6dfa(0x119)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0x566051=a0_0x33231b;let _0xfa1213=this[_0x566051(0x116)][_0x566051(0x110)]['records'];return _0xfa1213=JSON[_0x566051(0x12b)](JSON[_0x566051(0x132)](_0xfa1213)),_0xfa1213[_0x566051(0xfe)](_0x44e084=>{const _0x10a294=_0x566051;Object[_0x10a294(0x133)](_0x44e084)[_0x10a294(0xfe)](_0x2c4f08=>{const _0x3354bc=_0x10a294;_0x2c4f08[_0x3354bc(0x115)]('__')&&delete _0x44e084[_0x2c4f08];});}),_0xfa1213;}};
@@ -1 +1 @@
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
+ function a0_0x3fdb(){const _0xadaac0=['912muHvca','getButtonContainer','getButtonActionHandler','customButtonHandler','getBasicButtonHandler','49fmPaok','gristButtonHandler','getContextButtons','991590YfTpnV','12727881uFxQiS','isButtonExist','button','121936DSINcv','export','parseBasicButtonConfigs','useButtonExport','buttonConfig','getCustomButtonContainerStyles','9150976HRWmsk','add','12132biwSOB','687675JUCOIV','6116370aEKGhE'];a0_0x3fdb=function(){return _0xadaac0;};return a0_0x3fdb();}const a0_0x474b91=a0_0x1d79;(function(_0x278858,_0x316845){const _0x51cebb=a0_0x1d79,_0x875227=_0x278858();while(!![]){try{const _0x453ba6=-parseInt(_0x51cebb(0xfd))/0x1+parseInt(_0x51cebb(0x10b))/0x2+parseInt(_0x51cebb(0xfc))/0x3*(parseInt(_0x51cebb(0xff))/0x4)+parseInt(_0x51cebb(0xfe))/0x5+-parseInt(_0x51cebb(0x107))/0x6*(parseInt(_0x51cebb(0x104))/0x7)+-parseInt(_0x51cebb(0xfa))/0x8+parseInt(_0x51cebb(0x108))/0x9;if(_0x453ba6===_0x316845)break;else _0x875227['push'](_0x875227['shift']());}catch(_0x3241c4){_0x875227['push'](_0x875227['shift']());}}}(a0_0x3fdb,0x9a511));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1d79(_0x3df1eb,_0x4247e3){const _0x3fdb3b=a0_0x3fdb();return a0_0x1d79=function(_0x1d799,_0x5810a8){_0x1d799=_0x1d799-0xfa;let _0x2d6cce=_0x3fdb3b[_0x1d799];return _0x2d6cce;},a0_0x1d79(_0x3df1eb,_0x4247e3);}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x10766f=>class extends MetaServiceMixin(_0x10766f){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0xc6f708=a0_0x1d79;return MetaUiUtil[_0xc6f708(0x110)]();}[a0_0x474b91(0x106)](){const _0x136eee=a0_0x474b91;return MetaUiUtil[_0x136eee(0x106)](this);}['getButtonContainer'](){const _0x34baca=a0_0x474b91;return this['isPage']?html``:MetaUiUtil[_0x34baca(0x100)](this);}async[a0_0x474b91(0x103)](_0x1051eb,_0x59bce7,_0x1b37a7){const _0x3864b8=a0_0x474b91;return await MetaUiUtil[_0x3864b8(0x101)](this,_0x1051eb,_0x59bce7,_0x1b37a7);}async[a0_0x474b91(0x102)](_0x55a0c3){const _0x38dcd8=a0_0x474b91;await MetaUiUtil[_0x38dcd8(0x102)](this,_0x55a0c3);}async['gristButtonHandler'](_0xd29d48,_0xabfe81){const _0x3620cc=a0_0x474b91;await MetaUiUtil[_0x3620cc(0x105)](this,_0xd29d48,_0xabfe81);}[a0_0x474b91(0x10d)](_0x313340){const _0x42dc70=a0_0x474b91;this[_0x42dc70(0x10f)]=_0x313340[_0x42dc70(0x10a)],this['useButtonImport']=MetaUiUtil[_0x42dc70(0x109)](this[_0x42dc70(0x10f)],'import'),this[_0x42dc70(0x10e)]=MetaUiUtil['isButtonExist'](this[_0x42dc70(0x10f)],_0x42dc70(0x10c)),this['useButtonAdd']=MetaUiUtil['isButtonExist'](this[_0x42dc70(0x10f)],_0x42dc70(0xfb));}};
@@ -1 +1 @@
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
+ const a0_0x5c779b=a0_0x2134;(function(_0x387d47,_0x30a2b0){const _0x1f62b2=a0_0x2134,_0x4acd2b=_0x387d47();while(!![]){try{const _0x4758ab=parseInt(_0x1f62b2(0x10d))/0x1+-parseInt(_0x1f62b2(0xdf))/0x2+parseInt(_0x1f62b2(0xcc))/0x3+parseInt(_0x1f62b2(0xed))/0x4+parseInt(_0x1f62b2(0xcf))/0x5*(parseInt(_0x1f62b2(0xca))/0x6)+-parseInt(_0x1f62b2(0xe4))/0x7+parseInt(_0x1f62b2(0xfd))/0x8*(-parseInt(_0x1f62b2(0x10e))/0x9);if(_0x4758ab===_0x30a2b0)break;else _0x4acd2b['push'](_0x4acd2b['shift']());}catch(_0x5e04f1){_0x4acd2b['push'](_0x4acd2b['shift']());}}}(a0_0x6997,0xb463b));function a0_0x2134(_0xdc461e,_0xefac14){const _0x6997cd=a0_0x6997();return a0_0x2134=function(_0x213453,_0x3279d3){_0x213453=_0x213453-0xc8;let _0x1c738d=_0x6997cd[_0x213453];return _0x1c738d;},a0_0x2134(_0xdc461e,_0xefac14);}function a0_0x6997(){const _0x546363=['column','forEach','editing','__dirty__','connectedCallback','orgData','isPage','240SMDmSd','keys','459411pNPhTz','call','clear','96935JFiZIk','record','formColumnConfig','Escape','detail','currentTarget','grid_column','entries','addEventListener','properties','isEmpty','isEquals','OX-GRID-FIELD','isElement','object','parseFormConfigs','941178bllgHr','after','showAlertPopup','map','isNotEmpty','3196151NoMSvo','dataSet','__origin__','findOne','validation','is_activity','function','text.NOTHING_CHANGED','__dirtyfields__','5518512YMBWHF','formRenderConfig','target','activityDataSet','stopPropagation','removeAttribute','getBasicFormStyles','firstUpdated','renderRoot','editable','key','parent_id','true','name','startsWith','setAttribute','8pbekzl','pageInitialized','button','tagName','fetch','parseFormConfigSet','save','title.info','getContextObject','getAndParseMenuMeta','render','dirtyData','Esc','focus','cuFlag','field-change','1387473pekpWh','18266949aHYHta','updateMultiple','assign','currentData','removeGarbageData','__seq__','config','patchData'];a0_0x6997=function(){return _0x546363;};return a0_0x6997();}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=_0x13f841=>class extends MetaButtonMixin(_0x13f841){static get['styles'](){const _0x10ab6f=a0_0x2134;return MetaApi[_0x10ab6f(0xf3)]();}static get[a0_0x5c779b(0xd8)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x290076=a0_0x5c779b;return MetaUiUtil[_0x290076(0x105)](this);}async[a0_0x5c779b(0x11a)](){const _0x1bb7e7=a0_0x5c779b;if(this[_0x1bb7e7(0x114)]){let {column:_0x27eaac=0x1}=this['config'];this[_0x1bb7e7(0x116)]=_0x27eaac;}await this[_0x1bb7e7(0x106)](),this[_0x1bb7e7(0xdc)]&&await this[_0x1bb7e7(0xde)](),this[_0x1bb7e7(0xf0)]&&(this[_0x1bb7e7(0xe5)]=this[_0x1bb7e7(0xf0)]),!0x0!==this[_0x1bb7e7(0xe9)]||this[_0x1bb7e7(0xf8)]||(this['parent_id']='activity'),super['connectedCallback']&&await super[_0x1bb7e7(0x11a)](),this['isElement']&&await this['fetch'](),this[_0x1bb7e7(0xf5)][_0x1bb7e7(0xd7)]('keydown',_0x599f91=>{const _0x42bc96=_0x1bb7e7;switch(_0x599f91[_0x42bc96(0xf7)]){case _0x42bc96(0x109):case _0x42bc96(0xd2):case'Enter':this[_0x42bc96(0x10a)](),this[_0x42bc96(0xd4)]&&this['currentTarget'][_0x42bc96(0xf2)](_0x42bc96(0x118)),this[_0x42bc96(0xd4)]=null;}}),this[_0x1bb7e7(0xf5)][_0x1bb7e7(0xd7)]('click',_0x46d488=>{const _0x134355=_0x1bb7e7;_0x46d488[_0x134355(0xf1)]();let _0x39cb6f=_0x46d488[_0x134355(0xef)];if(this[_0x134355(0xd4)]&&(this['focus'](),this[_0x134355(0xd4)]['removeAttribute'](_0x134355(0x118))),_0x134355(0xdb)!==_0x39cb6f[_0x134355(0x100)]||!_0x39cb6f[_0x134355(0x116)][_0x134355(0xd0)][_0x134355(0xf6)])return this['focus'](),void(this[_0x134355(0xd4)]=null);this[_0x134355(0xd4)]=_0x39cb6f,_0x39cb6f[_0x134355(0xfc)](_0x134355(0x118),_0x134355(0xf9));}),this['addEventListener'](_0x1bb7e7(0x10c),_0x2712d7=>{const _0x430cb6=_0x1bb7e7;var {after:_0x3952be,before:_0x5c9dd6,column:_0x40b649,record:_0x39f16a,row:_0xe0c607}=_0x2712d7[_0x430cb6(0xd3)];if(ValueUtil[_0x430cb6(0xda)](_0x3952be,_0x5c9dd6))return;var _0x28aad6=_0x40b649[_0x430cb6(0xe8)];if(_0x28aad6&&_0x430cb6(0xea)==typeof _0x28aad6&&!_0x28aad6[_0x430cb6(0xcd)](this,_0x3952be,_0x5c9dd6,_0x39f16a,_0x40b649))return;let _0xa4e9c8=_0x40b649[_0x430cb6(0xfa)];_0x39f16a[_0xa4e9c8]=_0x3952be,_0x39f16a[_0x430cb6(0xec)]=_0x39f16a[_0x430cb6(0xec)]||{},_0x39f16a[_0x430cb6(0xe6)]=_0x39f16a[_0x430cb6(0xe6)]||{},_0x39f16a[_0x430cb6(0xec)][_0xa4e9c8]={'before':_0x39f16a['__origin__'][_0xa4e9c8],'after':_0x39f16a[_0xa4e9c8]},ValueUtil[_0x430cb6(0xda)](_0x39f16a[_0x430cb6(0xec)][_0xa4e9c8]['before'],_0x39f16a[_0x430cb6(0xec)][_0xa4e9c8][_0x430cb6(0xe0)])&&delete _0x39f16a['__dirtyfields__'][_0xa4e9c8],ValueUtil[_0x430cb6(0xe3)](_0x39f16a[_0x430cb6(0xec)])?_0x39f16a[_0x430cb6(0x119)]='M':_0x39f16a[_0x430cb6(0x119)]='',this[_0x430cb6(0xd0)]={..._0x39f16a};});}async[a0_0x5c779b(0xf4)](){const _0x40e5ab=a0_0x5c779b;super['firstUpdated']&&await super[_0x40e5ab(0xf4)]();}async[a0_0x5c779b(0xfe)](){const _0x3baf73=a0_0x5c779b;this[_0x3baf73(0xc9)]&&await this[_0x3baf73(0xde)](),super['pageInitialized']&&await super[_0x3baf73(0xfe)](),this['isPage']&&await this[_0x3baf73(0x101)]();}[a0_0x5c779b(0x107)](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x4ace27){const _0x232ff2=a0_0x5c779b;this[_0x232ff2(0xd1)]=_0x4ace27[_0x232ff2(0xd5)],this[_0x232ff2(0xee)]=_0x4ace27['form'],_0x4ace27[_0x232ff2(0xff)]=_0x4ace27[_0x232ff2(0xff)]['filter'](_0x1ef68a=>_0x232ff2(0x103)==_0x1ef68a['name']);}async[a0_0x5c779b(0xde)](){const _0x19b8bd=a0_0x5c779b;this['formConfigSet']=await MetaApi[_0x19b8bd(0x102)](this);}get[a0_0x5c779b(0xc8)](){const _0x4fdf4c=a0_0x5c779b;return this[_0x4fdf4c(0x112)](this[_0x4fdf4c(0xd0)][_0x4fdf4c(0xe6)]);}get['dirtyData'](){const _0x1f9ea4=a0_0x5c779b;if(ValueUtil[_0x1f9ea4(0xd9)](this[_0x1f9ea4(0xd0)]['__dirtyfields__']))return{};let _0x8999a0={};return Object[_0x1f9ea4(0xd6)](this['record']['__dirtyfields__'])[_0x1f9ea4(0xe2)](([_0x4efb16,_0x38b96f])=>{const _0x2c3833=_0x1f9ea4;0x0==_0x4efb16[_0x2c3833(0xfb)]('__')&&(_0x8999a0[_0x4efb16]=_0x38b96f['after']);}),_0x8999a0;}get[a0_0x5c779b(0x111)](){const _0x20aa5a=a0_0x5c779b;return this[_0x20aa5a(0x112)](this['record']);}['removeGarbageData'](_0x46769d){const _0x35d90b=a0_0x5c779b;let _0xa03779={};if(_0x46769d)return Object[_0x35d90b(0xd6)](_0x46769d)[_0x35d90b(0xe2)](([_0x5e2ea7,_0x3b0604])=>{const _0x279cc9=_0x35d90b;0x0==_0x5e2ea7[_0x279cc9(0xfb)]('__')&&(_0xa03779[_0x5e2ea7]=_0x3b0604);}),_0xa03779;}get[a0_0x5c779b(0x115)](){const _0x52bfaa=a0_0x5c779b;let _0x1d3189=this[_0x52bfaa(0x108)],_0x3b7ae5=this[_0x52bfaa(0xd0)];return ValueUtil[_0x52bfaa(0xd9)](_0x1d3189)?[]:(ValueUtil['isNotEmpty'](_0x3b7ae5['id'])?(_0x1d3189['id']=_0x3b7ae5['id'],_0x1d3189[_0x52bfaa(0x10b)]='M'):_0x1d3189[_0x52bfaa(0x10b)]='+',Object[_0x52bfaa(0xcb)](_0x1d3189)[_0x52bfaa(0x117)](_0x2a00c7=>{const _0x94f42=_0x52bfaa;_0x94f42(0xdd)==typeof _0x1d3189[_0x2a00c7]&&(_0x1d3189[_0x2a00c7]={'id':_0x1d3189[_0x2a00c7]['id']});}),[_0x1d3189]);}async[a0_0x5c779b(0x101)](){const _0x2d53f3=a0_0x5c779b;if(ValueUtil[_0x2d53f3(0xd9)](this['parent_id']))return;let _0x361f01=await this[_0x2d53f3(0xe7)](this['parent_id']);_0x361f01[_0x2d53f3(0x113)]=0x1;let _0x3b7c74={};Object[_0x2d53f3(0x110)](_0x3b7c74,_0x361f01),_0x361f01[_0x2d53f3(0xe6)]=_0x3b7c74,this[_0x2d53f3(0xd0)]={..._0x361f01};}async['save'](){const _0x3b9928=a0_0x5c779b;let _0x54b8f9=this[_0x3b9928(0x115)];if(ValueUtil[_0x3b9928(0xd9)](_0x54b8f9))return void MetaApi[_0x3b9928(0xe1)](_0x3b9928(0x104),_0x3b9928(0xeb));let _0x518207=await this[_0x3b9928(0x10f)](_0x54b8f9);return _0x518207&&await this['fetch'](),_0x518207;}async[a0_0x5c779b(0xce)](){const _0x4798d8=a0_0x5c779b;this[_0x4798d8(0xd0)]&&(this[_0x4798d8(0xd0)]={});}['getData'](){return this['currentData']||{};}};
@@ -1 +1 @@
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
+ const a0_0x37962b=a0_0x213d;(function(_0x167e71,_0x5a8ba4){const _0x46b92a=a0_0x213d,_0x468548=_0x167e71();while(!![]){try{const _0x4e9834=parseInt(_0x46b92a(0x18d))/0x1*(parseInt(_0x46b92a(0x150))/0x2)+-parseInt(_0x46b92a(0x156))/0x3*(parseInt(_0x46b92a(0x178))/0x4)+parseInt(_0x46b92a(0x17e))/0x5+parseInt(_0x46b92a(0x165))/0x6*(-parseInt(_0x46b92a(0x162))/0x7)+parseInt(_0x46b92a(0x172))/0x8*(parseInt(_0x46b92a(0x173))/0x9)+parseInt(_0x46b92a(0x199))/0xa*(parseInt(_0x46b92a(0x174))/0xb)+-parseInt(_0x46b92a(0x153))/0xc*(parseInt(_0x46b92a(0x177))/0xd);if(_0x4e9834===_0x5a8ba4)break;else _0x468548['push'](_0x468548['shift']());}catch(_0xa692e9){_0x468548['push'](_0x468548['shift']());}}}(a0_0x5ccf,0x4d2dd));function a0_0x5ccf(){const _0x57cf16=['delete','styles','operator','actions','parseBasicGridConfigs','activityDataSet','exportableData','connectedCallback','5191ldTJnD','firstUpdated','beforeFetch','exportable','parseGristConfigs','parseGridConfigSet','forEach','searchConfig','stringify','useFilterForm','render','clear','278470JWaHeF','menuInfo','gristConfigSet','records','grid','164ioWtje','find','fetch','600LPfBWd','getAndParseMenuMeta','shadowRoot','261gqQhsJ','main','meta-tab-element','getParams','gristId','getContextObject','importable','columns','tTitle','parse','record','filter','7wsDvPx','startsWith','export','1475202ljYJDQ','ox-filters-form-base','pageInitialized','grist','isPage','gridColumnConfig','getSelectedIdList','deleteByIds','dataSet','getData','filterFormId','gridConfig','searchFields','2632EVHkjI','15597VXcJaz','88bktiLu','findOne','grid_column','195689AtFLvD','16240YTsNnb','updateMultiple','name','querySelector','map','type','2246335CVAVdm','getBasicGristTabStyles','keys','isNotEmpty','___data','renderRoot','options'];a0_0x5ccf=function(){return _0x57cf16;};return a0_0x5ccf();}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_0x213d(_0xaff11e,_0x167025){const _0x5ccf7c=a0_0x5ccf();return a0_0x213d=function(_0x213dcc,_0x4be818){_0x213dcc=_0x213dcc-0x150;let _0x463fc1=_0x5ccf7c[_0x213dcc];return _0x463fc1;},a0_0x213d(_0xaff11e,_0x167025);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x1f1201=>class extends MetaButtonMixin(_0x1f1201){static get[a0_0x37962b(0x186)](){const _0x5dbb9a=a0_0x37962b;return MetaApi[_0x5dbb9a(0x17f)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x37962b(0x168)](){const _0x2082aa=a0_0x37962b;return this['renderRoot'][_0x2082aa(0x17b)](this[_0x2082aa(0x15a)]);}get['filterForm'](){const _0x40d74c=a0_0x37962b;return this[_0x40d74c(0x155)]?.[_0x40d74c(0x17b)](this[_0x40d74c(0x16f)]);}get['context'](){const _0x3dcca5=a0_0x37962b;let _0xa3e5e8=MetaUiUtil[_0x3dcca5(0x15b)](this);return _0xa3e5e8[_0x3dcca5(0x188)]&&delete _0xa3e5e8[_0x3dcca5(0x188)],_0xa3e5e8[_0x3dcca5(0x190)]&&delete _0xa3e5e8[_0x3dcca5(0x190)],_0xa3e5e8[_0x3dcca5(0x15c)]&&delete _0xa3e5e8[_0x3dcca5(0x15c)],_0xa3e5e8;}async['connectedCallback'](){const _0xd740f8=a0_0x37962b;this[_0xd740f8(0x15a)]='ox-grist',this['filterFormId']=_0xd740f8(0x166),await this[_0xd740f8(0x154)](),this['isElement']&&await this[_0xd740f8(0x191)](),this[_0xd740f8(0x18a)]&&(this[_0xd740f8(0x16d)]=(this['activityDataSet']||{})[_0xd740f8(0x157)]),super['connectedCallback']&&await super[_0xd740f8(0x18c)]();}async['firstUpdated'](){const _0x3a8faa=a0_0x37962b;super['firstUpdated']&&await super[_0x3a8faa(0x18e)]();}async[a0_0x37962b(0x167)](){const _0xd1dd82=a0_0x37962b;this[_0xd1dd82(0x169)]&&await this[_0xd1dd82(0x191)](),super[_0xd1dd82(0x167)]&&await super[_0xd1dd82(0x167)]();}[a0_0x37962b(0x197)](){return MetaApi['getGristTabHtml'](this);}[a0_0x37962b(0x189)](_0x346986){const _0x246e81=a0_0x37962b;this[_0x246e81(0x170)]=_0x346986[_0x246e81(0x19d)],this[_0x246e81(0x16a)]=_0x346986[_0x246e81(0x176)],this[_0x246e81(0x194)]=_0x346986['search'];}async[a0_0x37962b(0x191)](){const _0x1044bc=a0_0x37962b;this[_0x1044bc(0x19b)]=await MetaApi[_0x1044bc(0x192)](this),this['useMasterFilterForm']=this[_0x1044bc(0x196)],this[_0x1044bc(0x196)]=!0x1,this[_0x1044bc(0x171)]=this['gristConfigSet'][_0x1044bc(0x15d)][_0x1044bc(0x161)](_0x41d57b=>_0x41d57b[_0x1044bc(0x161)])[_0x1044bc(0x17c)](_0x44699a=>{const _0x414246=_0x1044bc;let _0x2c394d={'name':_0x44699a[_0x414246(0x17a)],'type':_0x44699a[_0x414246(0x17d)],'label':_0x44699a['header'],'operator':_0x44699a[_0x414246(0x161)][_0x414246(0x187)]?_0x44699a[_0x414246(0x161)][_0x414246(0x187)]:'eq'};return _0x44699a[_0x414246(0x160)][_0x414246(0x184)]&&(_0x2c394d[_0x414246(0x184)]=_0x44699a['record'][_0x414246(0x184)]),_0x2c394d;});}async['fetch'](){const _0x1e4c77=a0_0x37962b;await this['grist'][_0x1e4c77(0x152)]();}async[a0_0x37962b(0x18f)]({page:_0x20015c=0x0,limit:_0x558ee2=0x0,sortings:_0x3b7f15=[],filters:_0x18c83a=[]}){const _0x2a9e4f=a0_0x37962b;let _0x388cc8=this[_0x2a9e4f(0x183)]['querySelector'](_0x2a9e4f(0x158));return await _0x388cc8[_0x2a9e4f(0x198)](),!0x0;}async['save'](){const _0x26c93d=a0_0x37962b;let _0xb6da70=MetaApi['patchesForUpdateMultiple'](this[_0x26c93d(0x168)]);!!ValueUtil[_0x26c93d(0x181)](_0xb6da70)&&await this[_0x26c93d(0x179)](_0xb6da70)&&this['fetch']();}async[a0_0x37962b(0x151)](){const _0x1a03b8=a0_0x37962b;let _0x15149c=MetaApi[_0x1a03b8(0x16b)](this[_0x1a03b8(0x168)],!0x0);return ValueUtil[_0x1a03b8(0x181)](_0x15149c)?await this[_0x1a03b8(0x175)](_0x15149c[0x0]):{};}async[a0_0x37962b(0x185)](){const _0x4c589d=a0_0x37962b;let _0x5efe4b=MetaApi[_0x4c589d(0x16b)](this[_0x4c589d(0x168)],!0x0);!!ValueUtil['isNotEmpty'](_0x5efe4b)&&await this[_0x4c589d(0x16c)](_0x5efe4b)&&this[_0x4c589d(0x152)]();}async[a0_0x37962b(0x164)](){const _0x20af4e=a0_0x37962b;let _0x571b19=TermsUtil[_0x20af4e(0x15e)](ValueUtil[_0x20af4e(0x159)](this[_0x20af4e(0x19a)],'title'));return await MetaApi[_0x20af4e(0x18b)](this['isElement'],_0x571b19,this[_0x20af4e(0x168)]);}async['import'](){}[a0_0x37962b(0x16e)](){const _0x5c06da=a0_0x37962b;let _0x5bca6e=this[_0x5c06da(0x168)][_0x5c06da(0x182)][_0x5c06da(0x19c)];return _0x5bca6e=JSON[_0x5c06da(0x15f)](JSON[_0x5c06da(0x195)](_0x5bca6e)),_0x5bca6e['forEach'](_0x401cde=>{const _0x50c459=_0x5c06da;Object[_0x50c459(0x180)](_0x401cde)[_0x50c459(0x193)](_0x5399ed=>{const _0x1e859a=_0x50c459;_0x5399ed[_0x1e859a(0x163)]('__')&&delete _0x401cde[_0x5399ed];});}),{'main':_0x5bca6e,'detail':this[_0x5c06da(0x183)]['querySelector']('meta-tab-element')[_0x5c06da(0x16e)]()};}};
@@ -1 +1 @@
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
+ function a0_0x30a0(_0x57b432,_0xc6233d){const _0x32960f=a0_0x3296();return a0_0x30a0=function(_0x30a0e4,_0x350487){_0x30a0e4=_0x30a0e4-0x100;let _0x594a23=_0x32960f[_0x30a0e4];return _0x594a23;},a0_0x30a0(_0x57b432,_0xc6233d);}const a0_0x1724d9=a0_0x30a0;(function(_0x39255f,_0x128e44){const _0x28dad4=a0_0x30a0,_0x2fde93=_0x39255f();while(!![]){try{const _0x3ac07a=-parseInt(_0x28dad4(0x150))/0x1*(parseInt(_0x28dad4(0x111))/0x2)+parseInt(_0x28dad4(0x133))/0x3*(parseInt(_0x28dad4(0x144))/0x4)+-parseInt(_0x28dad4(0x115))/0x5+parseInt(_0x28dad4(0x10b))/0x6*(parseInt(_0x28dad4(0x123))/0x7)+parseInt(_0x28dad4(0x11d))/0x8+parseInt(_0x28dad4(0x13d))/0x9*(parseInt(_0x28dad4(0x147))/0xa)+parseInt(_0x28dad4(0x151))/0xb*(-parseInt(_0x28dad4(0x105))/0xc);if(_0x3ac07a===_0x128e44)break;else _0x2fde93['push'](_0x2fde93['shift']());}catch(_0x4987bd){_0x2fde93['push'](_0x2fde93['shift']());}}}(a0_0x3296,0x1a6f4));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x3296(){const _0x3ca5c8=['is_activity','filterForm','fetch','734455ZMHOeG','getParams','activityDataSet','getContextObject','getSelectedIdList','getData','clear','createDetailElement','1232872MfGhbX','dataSet','parseBasicGridConfigs','importable','gristId','delete','21wjypTc','export','gridColumnConfig','tagname','searchFields','ox-filters-form-base','properties','main','gridConfig','actions','getAndParseMenuMeta','routing','parseGristConfigs','beforeFetch','operator','isElement','75564fRZUFC','grid_column','isPage','record','parse','htmlToElement','detailElement','useMasterFilterForm','updateMultiple','detail','1688805jaXfAu','import','name','getMasterDetailHtml','search','deleteByIds','title','12mLfVZz','grist','columns','10wGKtpY','filterFormId','find','pageInitialized','keys','parseGridConfigSet','patchesForUpdateMultiple','exportableData','forEach','37yLgNhx','6809OCGfhL','searchConfig','filter','map','connectedCallback','querySelector','\x20id=\x22','renderRoot','options','getBasicMasterDetailStyles','firstUpdated','6828JuWilx','useFilterForm','\x20is_detail=true\x20style=\x22flex:1;\x22></','type','___data','gristConfigSet','403134WDteuv','startsWith','exportable','save','styles','isNotEmpty','622BQqBRE'];a0_0x3296=function(){return _0x3ca5c8;};return a0_0x3296();}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=_0x3b27fb=>class extends MetaButtonMixin(_0x3b27fb){static get[a0_0x1724d9(0x10f)](){const _0x38f812=a0_0x1724d9;return MetaApi[_0x38f812(0x103)]();}static get[a0_0x1724d9(0x129)](){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_0x1724d9(0x145)](){const _0x1ebe36=a0_0x1724d9;return this[_0x1ebe36(0x101)]['querySelector'](this[_0x1ebe36(0x121)]);}get[a0_0x1724d9(0x113)](){const _0x239b41=a0_0x1724d9;return this['shadowRoot']?.[_0x239b41(0x156)](this[_0x239b41(0x148)]);}get['context'](){const _0x31fe37=a0_0x1724d9;let _0x16e33e=MetaUiUtil[_0x31fe37(0x118)](this);return _0x16e33e[_0x31fe37(0x12c)]&&delete _0x16e33e[_0x31fe37(0x12c)],_0x16e33e[_0x31fe37(0x10d)]&&delete _0x16e33e[_0x31fe37(0x10d)],_0x16e33e['importable']&&delete _0x16e33e[_0x31fe37(0x120)],_0x16e33e;}async[a0_0x1724d9(0x155)](){const _0x4af68c=a0_0x1724d9;this[_0x4af68c(0x121)]='ox-grist',this['filterFormId']=_0x4af68c(0x128),await this[_0x4af68c(0x12d)](),this[_0x4af68c(0x132)]&&await this[_0x4af68c(0x12f)](),this[_0x4af68c(0x117)]&&(this[_0x4af68c(0x11e)]=(this['activityDataSet']||{})[_0x4af68c(0x12a)]),super[_0x4af68c(0x155)]&&await super[_0x4af68c(0x155)]();}async['firstUpdated'](){const _0x5f46d9=a0_0x1724d9;super[_0x5f46d9(0x104)]&&await super[_0x5f46d9(0x104)]();}async[a0_0x1724d9(0x14a)](){const _0x8037d4=a0_0x1724d9;this[_0x8037d4(0x135)]&&await this[_0x8037d4(0x12f)](),super['pageInitialized']&&await super[_0x8037d4(0x14a)]();}['render'](){const _0x551460=a0_0x1724d9;return MetaApi[_0x551460(0x140)](this);}[a0_0x1724d9(0x11c)](_0x2a9291){const _0x2e0ed8=a0_0x1724d9;if(!this[_0x2e0ed8(0x139)]){let _0x5b7c52=_0x2a9291['name']?_0x2a9291[_0x2e0ed8(0x13f)]:_0x2e0ed8(0x13c),_0x32df3c='<'+_0x2a9291[_0x2e0ed8(0x126)]+_0x2e0ed8(0x100)+_0x5b7c52+'\x22\x20name=\x22'+_0x5b7c52+'\x22\x20route_name=\x22'+_0x2a9291[_0x2e0ed8(0x12e)]+'\x22\x20'+(!0x0===this[_0x2e0ed8(0x112)]?'is_activity=true':'')+_0x2e0ed8(0x107)+_0x2a9291[_0x2e0ed8(0x126)]+'>';this[_0x2e0ed8(0x139)]=UiUtil[_0x2e0ed8(0x138)](_0x32df3c),this[_0x2e0ed8(0x139)][_0x2e0ed8(0x117)]=(this[_0x2e0ed8(0x117)]||{})[_0x2e0ed8(0x13c)];}}[a0_0x1724d9(0x11f)](_0x19cb43){const _0x421062=a0_0x1724d9;this[_0x421062(0x12b)]=_0x19cb43['grid'],this[_0x421062(0x125)]=_0x19cb43[_0x421062(0x134)],this[_0x421062(0x152)]=_0x19cb43[_0x421062(0x141)];}async[a0_0x1724d9(0x12f)](){const _0x68786a=a0_0x1724d9;this[_0x68786a(0x10a)]=await MetaApi[_0x68786a(0x14c)](this),this[_0x68786a(0x13a)]=this[_0x68786a(0x106)],this[_0x68786a(0x106)]=!0x1,this[_0x68786a(0x127)]=this['gristConfigSet'][_0x68786a(0x146)][_0x68786a(0x153)](_0x446b7e=>_0x446b7e[_0x68786a(0x153)])[_0x68786a(0x154)](_0x20fdb0=>{const _0x3ce8be=_0x68786a;let _0x2fb39e={'name':_0x20fdb0[_0x3ce8be(0x13f)],'type':_0x20fdb0[_0x3ce8be(0x108)],'label':_0x20fdb0['header'],'operator':_0x20fdb0[_0x3ce8be(0x153)][_0x3ce8be(0x131)]?_0x20fdb0[_0x3ce8be(0x153)][_0x3ce8be(0x131)]:'eq'};return _0x20fdb0['record'][_0x3ce8be(0x102)]&&(_0x2fb39e[_0x3ce8be(0x102)]=_0x20fdb0[_0x3ce8be(0x136)][_0x3ce8be(0x102)]),_0x2fb39e;});}async[a0_0x1724d9(0x114)](){const _0xc2100=a0_0x1724d9;await this[_0xc2100(0x145)][_0xc2100(0x114)]();}async[a0_0x1724d9(0x130)]({page:_0xf6aa7a=0x0,limit:_0x1f756a=0x0,sortings:_0xfa282d=[],filters:_0x43148c=[]}){const _0x183cf0=a0_0x1724d9;return this['detailElement']&&this[_0x183cf0(0x139)][_0x183cf0(0x11b)]&&await this[_0x183cf0(0x139)][_0x183cf0(0x11b)](),!0x0;}async[a0_0x1724d9(0x10e)](){const _0x1c1a83=a0_0x1724d9;let _0x123f60=MetaApi[_0x1c1a83(0x14d)](this[_0x1c1a83(0x145)]);!!ValueUtil['isNotEmpty'](_0x123f60)&&await this[_0x1c1a83(0x13b)](_0x123f60)&&this[_0x1c1a83(0x114)]();}async[a0_0x1724d9(0x149)](){const _0x4707b2=a0_0x1724d9;let _0x5ebc01=MetaApi[_0x4707b2(0x119)](this[_0x4707b2(0x145)],!0x0);return ValueUtil[_0x4707b2(0x110)](_0x5ebc01)?await this['findOne'](_0x5ebc01[0x0]):{};}async[a0_0x1724d9(0x122)](){const _0x4552ea=a0_0x1724d9;let _0x56c823=MetaApi[_0x4552ea(0x119)](this[_0x4552ea(0x145)],!0x0);!!ValueUtil[_0x4552ea(0x110)](_0x56c823)&&await this[_0x4552ea(0x142)](_0x56c823)&&this['fetch']();}async[a0_0x1724d9(0x124)](){const _0x3c5a71=a0_0x1724d9;let _0x4da397=TermsUtil['tTitle'](ValueUtil[_0x3c5a71(0x116)](this['menuInfo'],_0x3c5a71(0x143)));return await MetaApi[_0x3c5a71(0x14e)](this['isElement'],_0x4da397,this[_0x3c5a71(0x145)]);}async[a0_0x1724d9(0x13e)](){}['getData'](){const _0x6f633a=a0_0x1724d9;let _0x5c216f=this[_0x6f633a(0x145)][_0x6f633a(0x109)]['records'];return _0x5c216f=JSON[_0x6f633a(0x137)](JSON['stringify'](_0x5c216f)),_0x5c216f[_0x6f633a(0x14f)](_0x1aa147=>{const _0x40a109=_0x6f633a;Object[_0x40a109(0x14b)](_0x1aa147)[_0x40a109(0x14f)](_0x2862d5=>{const _0x14c9a2=_0x40a109;_0x2862d5[_0x14c9a2(0x10c)]('__')&&delete _0x1aa147[_0x2862d5];});}),{'main':_0x5c216f,'detail':this[_0x6f633a(0x139)][_0x6f633a(0x11a)]()};}};
@@ -1 +1 @@
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
+ const a0_0x374f93=a0_0x1ad3;function a0_0x498e(){const _0x2f2110=['getParams','lifecycle','isPage','300375RsMQSx','mutation','skip_fields','multiple','query','getQueryFilters','7OxjRxo','after_set_fields','parent_id','forEach','getPageNavigateParams','fetchHandler','isElement','gql','deleteListByIds','afterFetch','updateMultiple','value','8Dubfjq','1706874PmzWLe','filterForm','keys','is_activity','name','map','44210KaeJTG','split','118688fhgZPq','isNotEmpty','findOne','func','gristConfigSet','dataSet','find_one_func','searchByPagination','filters','records','deleteByIds','gqlInfo','parseBasicServiceConfigs','405183AcNfuM','isArray','push','beforeFetch','618745nmoCjo','234lpLRWd','filter','86350ZdjxJf','length','properties','includes','getSelectColumns','delete'];a0_0x498e=function(){return _0x2f2110;};return a0_0x498e();}(function(_0x40fdbd,_0x510a80){const _0x4930fa=a0_0x1ad3,_0x5de3c2=_0x40fdbd();while(!![]){try{const _0x4c2a39=-parseInt(_0x4930fa(0xc4))/0x1+-parseInt(_0x4930fa(0xbb))/0x2+-parseInt(_0x4930fa(0xb4))/0x3+parseInt(_0x4930fa(0xd6))/0x4*(parseInt(_0x4930fa(0xb8))/0x5)+parseInt(_0x4930fa(0xd7))/0x6*(parseInt(_0x4930fa(0xca))/0x7)+-parseInt(_0x4930fa(0xa7))/0x8+parseInt(_0x4930fa(0xb9))/0x9*(parseInt(_0x4930fa(0xa5))/0xa);if(_0x4c2a39===_0x510a80)break;else _0x5de3c2['push'](_0x5de3c2['shift']());}catch(_0x205a9f){_0x5de3c2['push'](_0x5de3c2['shift']());}}}(a0_0x498e,0x25784));import{adjustFilters}from'@operato/utils';function a0_0x1ad3(_0x31f4b1,_0x4de5a4){const _0x498e79=a0_0x498e();return a0_0x1ad3=function(_0x1ad3f7,_0x201b84){_0x1ad3f7=_0x1ad3f7-0xa0;let _0x4540dc=_0x498e79[_0x1ad3f7];return _0x4540dc;},a0_0x1ad3(_0x31f4b1,_0x4de5a4);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x56cb15=>class extends MetaBaseMixin(_0x56cb15){static get[a0_0x374f93(0xbd)](){return{'gqlInfo':Object};}[a0_0x374f93(0xb3)](_0x2f823c){const _0x3b05d3=a0_0x374f93;this['gqlInfo']=_0x2f823c[_0x3b05d3(0xd1)];}async[a0_0x374f93(0xcf)]({page:_0x4201ac=0x0,limit:_0x540f68=0x0,sortings:_0x519ca0=[],filters:_0x1dbfdb=[]}){const _0x132ee5=a0_0x374f93;if(this[_0x132ee5(0xa2)])return{'total':0x0,'records':this[_0x132ee5(0xac)]||[]};if(!0x0===this['infinityPage']&&(_0x4201ac=0x0,_0x540f68=0x0),this['beforeFetch']&&0x0==await this[_0x132ee5(0xb7)]({'page':_0x4201ac,'limit':_0x540f68,'sortings':_0x519ca0,'filters':_0x1dbfdb}))return;if(!this[_0x132ee5(0xab)])return{'total':0x0,'records':[]};let _0xd39b14=ValueUtil['isEmpty'](_0x1dbfdb)?await this[_0x132ee5(0xa0)]?.[_0x132ee5(0xc9)]()||[]:_0x1dbfdb,_0x1a9903=ValueUtil[_0x132ee5(0xc1)](this['gqlInfo'],_0x132ee5(0xc8),'list_func'),_0x19268f=ValueUtil[_0x132ee5(0xc1)](this['gqlInfo'],_0x132ee5(0xc8),_0x132ee5(0xaf)),_0x11ee7b=ValueUtil[_0x132ee5(0xc1)](this[_0x132ee5(0xb2)],_0x132ee5(0xc8),'after_set_fields');if(ValueUtil[_0x132ee5(0xa8)](_0x19268f)&&(_0xd39b14=adjustFilters(_0xd39b14,_0x19268f)),_0xd39b14['push'](...this[_0x132ee5(0xce)]()),this[_0x132ee5(0xd0)]){let _0x1175af=ValueUtil[_0x132ee5(0xc1)](this[_0x132ee5(0xb2)],_0x132ee5(0xc8),_0x132ee5(0xcc));ValueUtil[_0x132ee5(0xa8)](_0x1175af)&&ValueUtil[_0x132ee5(0xa8)](this[_0x132ee5(0xcc)])&&(_0xd39b14=adjustFilters(_0xd39b14,[{'name':_0x1175af,'operator':'eq','value':this[_0x132ee5(0xcc)]}]));}let _0x410217=Object['keys'](_0x11ee7b||{}),_0x56b321=MetaApi[_0x132ee5(0xbf)](this[_0x132ee5(0xab)]['columns'][_0x132ee5(0xba)](_0x12eac7=>!_0x410217[_0x132ee5(0xbe)](_0x12eac7[_0x132ee5(0xa3)]))),_0x57b196=await MetaApi[_0x132ee5(0xae)](_0x1a9903,_0xd39b14,_0x519ca0,_0x4201ac,_0x540f68,_0x56b321);if(this['afterFetch']){let _0x2af81f=await this[_0x132ee5(0xd3)]({'page':_0x4201ac,'limit':_0x540f68,'sortings':_0x519ca0,'filters':_0x1dbfdb},_0x57b196);if(_0x2af81f)return _0x2af81f;}return ValueUtil[_0x132ee5(0xa8)](_0x11ee7b)&&ValueUtil[_0x132ee5(0xa8)](_0x57b196)&&ValueUtil[_0x132ee5(0xa8)](_0x57b196[_0x132ee5(0xb0)])&&_0x57b196[_0x132ee5(0xb0)][_0x132ee5(0xa4)](_0x4940c7=>(_0x410217['forEach'](_0x659ac=>{_0x4940c7[_0x659ac]=ValueUtil['getParams'](_0x4940c7,..._0x11ee7b[_0x659ac]['split']('.'));}),_0x4940c7)),_0x57b196;}[a0_0x374f93(0xce)](){const _0x26181f=a0_0x374f93;if(0x0==this[_0x26181f(0xc3)])return[];let _0x37ebf6=this[_0x26181f(0xc2)]?.['params']?this[_0x26181f(0xc2)]['params']:{};if(!_0x37ebf6['pass'])return[];let _0x568bac=_0x37ebf6['pass'],_0x2578ea=JSON['parse'](_0x568bac),_0x984f28=0x1==_0x2578ea[_0x26181f(0xbc)]?'eq':'in',_0x50fe13={},_0x3163e5=[];return Object[_0x26181f(0xa1)](_0x2578ea[0x0])[_0x26181f(0xcd)](_0x346927=>{_0x50fe13[_0x346927]={'name':_0x346927,'operator':_0x984f28,'value':'eq'===_0x984f28?_0x2578ea[0x0][_0x346927]:[]};}),_0x2578ea[_0x26181f(0xbc)]>0x1&&_0x2578ea[_0x26181f(0xcd)](_0x430625=>{const _0x22c716=_0x26181f;Object[_0x22c716(0xa1)](_0x430625)['forEach'](_0x4eab0d=>{const _0x7f0b59=_0x22c716;_0x50fe13[_0x4eab0d][_0x7f0b59(0xd5)][_0x7f0b59(0xb6)](_0x430625[_0x4eab0d]);});}),Object['keys'](_0x50fe13)[_0x26181f(0xcd)](_0x5f3ed0=>{_0x3163e5['push'](_0x50fe13[_0x5f3ed0]);}),_0x3163e5;}async[a0_0x374f93(0xa9)](_0x53803a){const _0x1f198e=a0_0x374f93;if(this[_0x1f198e(0xa2)])return this[_0x1f198e(0xac)]||{};let _0x1ecfdf=ValueUtil['getParams'](this[_0x1f198e(0xb2)],_0x1f198e(0xc8),_0x1f198e(0xad)),_0x33e21a=ValueUtil[_0x1f198e(0xc1)](this[_0x1f198e(0xb2)],_0x1f198e(0xc8),_0x1f198e(0xcb)),_0x56d006=Object[_0x1f198e(0xa1)](_0x33e21a||{}),_0x571e18=MetaApi[_0x1f198e(0xbf)]((this[_0x1f198e(0xab)]?this[_0x1f198e(0xab)]:{'columns':this['formConfigSet']})['columns'][_0x1f198e(0xba)](_0x3f0659=>!_0x56d006[_0x1f198e(0xbe)](_0x3f0659[_0x1f198e(0xa3)]))),_0x322428=await MetaApi[_0x1f198e(0xa9)](_0x1ecfdf,_0x53803a,_0x571e18);return ValueUtil['isNotEmpty'](_0x33e21a)&&ValueUtil[_0x1f198e(0xa8)](_0x322428)&&_0x56d006['forEach'](_0x332669=>{const _0x2bec68=_0x1f198e;_0x322428[_0x332669]=ValueUtil[_0x2bec68(0xc1)](_0x322428,..._0x33e21a[_0x332669][_0x2bec68(0xa6)]('.'));}),_0x322428;}async[a0_0x374f93(0xb1)](_0x944020){const _0x4d343a=a0_0x374f93;let _0x267f65=ValueUtil[_0x4d343a(0xc1)](this[_0x4d343a(0xb2)],_0x4d343a(0xc5),_0x4d343a(0xc0),'func');return await MetaApi[_0x4d343a(0xd2)](_0x944020,_0x267f65);}async[a0_0x374f93(0xd4)](_0x29760d){const _0x1f4c0f=a0_0x374f93;let _0x4858cf=ValueUtil[_0x1f4c0f(0xc1)](this['gqlInfo'],_0x1f4c0f(0xc5),_0x1f4c0f(0xc7),_0x1f4c0f(0xaa)),_0xb1baf7=ValueUtil['getParams'](this[_0x1f4c0f(0xb2)],_0x1f4c0f(0xc5),'multiple',_0x1f4c0f(0xc6));if(ValueUtil['isNotEmpty'](_0xb1baf7)&&(_0xb1baf7=_0xb1baf7[_0x1f4c0f(0xa4)](_0x42a8f6=>_0x42a8f6['includes']('.')?_0x42a8f6['split']('.'):_0x42a8f6),_0x29760d=_0x29760d['map'](_0x4fac1f=>(_0xb1baf7[_0x1f4c0f(0xcd)](_0x3a83fc=>{const _0x5b40db=_0x1f4c0f;Array[_0x5b40db(0xb5)](_0x3a83fc)?delete _0x4fac1f[_0x3a83fc[0x0]][_0x3a83fc[0x1]]:delete _0x4fac1f[_0x3a83fc];}),_0x4fac1f))),this[_0x1f4c0f(0xd0)]&&ValueUtil[_0x1f4c0f(0xa8)](this['parent_id'])){let _0x150c5e=ValueUtil['getParams'](this[_0x1f4c0f(0xb2)],'mutation',_0x1f4c0f(0xc7),_0x1f4c0f(0xcc));ValueUtil[_0x1f4c0f(0xa8)](_0x150c5e)&&_0x29760d['forEach'](_0x10ff0c=>{const _0x2a2c3d=_0x1f4c0f;if(_0x150c5e[_0x2a2c3d(0xbe)]('.')){let _0x4a0586=_0x150c5e[_0x2a2c3d(0xa6)]('.');_0x10ff0c[_0x4a0586[0x0]]={},_0x10ff0c[_0x4a0586[0x0]][_0x4a0586[0x1]]=this['parent_id'];}else _0x10ff0c[_0x150c5e]=this[_0x2a2c3d(0xcc)];});}return await MetaApi[_0x1f4c0f(0xd4)](_0x4858cf,_0x29760d);}};
@@ -1 +1 @@
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
+ const a0_0x553469=a0_0x1c04;(function(_0x37586d,_0xfdb995){const _0x58a158=a0_0x1c04,_0x4350d9=_0x37586d();while(!![]){try{const _0x1d8794=parseInt(_0x58a158(0x10e))/0x1+parseInt(_0x58a158(0x10b))/0x2+parseInt(_0x58a158(0x10f))/0x3*(parseInt(_0x58a158(0xfc))/0x4)+parseInt(_0x58a158(0x10d))/0x5*(parseInt(_0x58a158(0x113))/0x6)+parseInt(_0x58a158(0x104))/0x7+-parseInt(_0x58a158(0x10a))/0x8+-parseInt(_0x58a158(0xfa))/0x9;if(_0x1d8794===_0xfdb995)break;else _0x4350d9['push'](_0x4350d9['shift']());}catch(_0x1d8a34){_0x4350d9['push'](_0x4350d9['shift']());}}}(a0_0x4c2c,0x42160));function a0_0x4c2c(){const _0x291168=['2602243ZqaFRv','activityDataSet','render','tabElements','clear','firstUpdated','3842216qJdmPi','207766RgWgCk','getBasicTabHtml','344325opgbOL','217224cPjcdE','4938zRdjfL','context','styles','currentTabKey','6tTnKrp','keys','getAndParseMenuMeta','378270ugdgIW','connectedCallback','76PEHrHT','tabRenderConfig','parseBasicTabConfigs','length','getContextObject','button','dataSet','getData'];a0_0x4c2c=function(){return _0x291168;};return a0_0x4c2c();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1c04(_0x515bf4,_0x52c655){const _0x4c2c4d=a0_0x4c2c();return a0_0x1c04=function(_0x1c044b,_0x134be8){_0x1c044b=_0x1c044b-0xf8;let _0x3cfeae=_0x4c2c4d[_0x1c044b];return _0x3cfeae;},a0_0x1c04(_0x515bf4,_0x52c655);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x143d88=>class extends MetaButtonMixin(_0x143d88){static get[a0_0x553469(0x111)](){return MetaApi['getBasicTabStyles']();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x553469(0x110)](){const _0xbc5422=a0_0x553469;return MetaUiUtil[_0xbc5422(0x100)](this);}async[a0_0x553469(0xfb)](){const _0x2e4a9a=a0_0x553469;this[_0x2e4a9a(0x112)]=void 0x0,await this[_0x2e4a9a(0xf9)](),this[_0x2e4a9a(0x105)]&&(this[_0x2e4a9a(0x102)]=this['activityDataSet']),super[_0x2e4a9a(0xfb)]&&await super[_0x2e4a9a(0xfb)]();}async[a0_0x553469(0x109)](){const _0x3fce19=a0_0x553469;super[_0x3fce19(0x109)]&&await super[_0x3fce19(0x109)]();}async['pageInitialized'](){super['pageInitialized']&&await super['pageInitialized']();}[a0_0x553469(0x106)](){const _0x258747=a0_0x553469;return MetaApi[_0x258747(0x10c)](this);}[a0_0x553469(0xfe)](_0x34d318){const _0x270dcb=a0_0x553469;this[_0x270dcb(0xfd)]=_0x34d318['tab'],_0x34d318[_0x270dcb(0x101)]=[];}async[a0_0x553469(0x108)](){const _0x2552e3=a0_0x553469;if(this[_0x2552e3(0x107)]){let _0x124afe=Object[_0x2552e3(0xf8)](this[_0x2552e3(0x107)]);for(var _0x503628=0x0;_0x503628<_0x124afe[_0x2552e3(0xff)];_0x503628++)await this[_0x2552e3(0x107)][_0x124afe[_0x503628]][_0x2552e3(0x108)]();}}[a0_0x553469(0x103)](){const _0xdb3692=a0_0x553469;let _0x2cffc6={};return this[_0xdb3692(0x107)]&&Object[_0xdb3692(0xf8)](this[_0xdb3692(0x107)])['forEach'](_0xeee010=>{const _0x3eeffa=_0xdb3692;_0x2cffc6[_0xeee010]=this['tabElements'][_0xeee010][_0x3eeffa(0x103)]();}),_0x2cffc6;}};