@things-factory/meta-ui 6.0.58 → 6.0.59

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 (58) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +41 -7
  3. package/client/mixin/meta-base-mixin.js +1 -1
  4. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  5. package/client/mixin/meta-button-mixin.js +1 -1
  6. package/client/mixin/meta-form-mixin.js +1 -1
  7. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  8. package/client/mixin/meta-master-detail-mixin.js +1 -1
  9. package/client/mixin/meta-service-mixin.js +1 -1
  10. package/client/mixin/meta-tab-mixin.js +1 -1
  11. package/client/pages/activity/meta-activity-viewer-element.js +1 -0
  12. package/client/pages/activity/meta-activity-writer-element.js +19 -0
  13. package/client/pages/entity/config-entity.js +29 -29
  14. package/client/pages/entity/main-menu-selector.js +8 -8
  15. package/client/pages/history/history-copy-list-popup.js +6 -6
  16. package/client/pages/history/history-json-list-popup.js +6 -6
  17. package/client/pages/loading-page.js +5 -5
  18. package/client/pages/menu/dynamic-menu-template.js +7 -7
  19. package/client/pages/menu/dynamic-menu.js +15 -15
  20. package/client/pages/meta-form-element.js +1 -1
  21. package/client/pages/meta-grist-element.js +1 -1
  22. package/client/pages/meta-grist-page.js +1 -1
  23. package/client/pages/meta-grist-tab-page.js +1 -1
  24. package/client/pages/meta-master-detail-element.js +1 -1
  25. package/client/pages/meta-master-detail-page.js +1 -1
  26. package/client/pages/meta-tab-element.js +1 -1
  27. package/client/pages/personalize/personal-column-selector.js +11 -11
  28. package/client/pages/terms/config-terminology.js +5 -5
  29. package/client/reducers/main.js +1 -1
  30. package/client/utils/meta-api.js +1 -1
  31. package/client/utils/meta-crypto.js +1 -1
  32. package/client/utils/meta-ui-util.js +79 -79
  33. package/client/utils/service-util.js +12 -12
  34. package/client/utils/terms-util.js +2 -2
  35. package/client/utils/ui-util.js +1 -1
  36. package/client/utils/value-util.js +1 -1
  37. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  38. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  39. package/client/viewparts/dynamic-menu-part.js +16 -8
  40. package/client/viewparts/dynamic-menu-portrait-styles.js +12 -3
  41. package/client/viewparts/dynamic-menu-portrait.js +12 -16
  42. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  43. package/package.json +5 -5
  44. package/server/activity/CommonActivity.js +1 -0
  45. package/server/constants/error-code.js +1 -1
  46. package/server/errors/license-error.js +1 -1
  47. package/server/middlewares/index.js +1 -0
  48. package/server/routes.js +1 -1
  49. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  50. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  51. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  52. package/server/service/grid-personalize/grid-personalize.js +1 -1
  53. package/server/service/meta-secret/meta-resolver.js +1 -1
  54. package/server/service/set-translations/set-translation-resolver.js +1 -1
  55. package/translations/en.json +12 -0
  56. package/translations/ko.json +12 -0
  57. package/translations/ms.json +12 -0
  58. package/translations/zh.json +12 -0
@@ -1,7 +1,7 @@
1
- const a0_0x2f9244=a0_0x4131;(function(_0x396741,_0x5b0f0c){const _0x1369cc=a0_0x4131,_0x532d04=_0x396741();while(!![]){try{const _0x4cd723=parseInt(_0x1369cc(0xce))/0x1*(-parseInt(_0x1369cc(0xb8))/0x2)+-parseInt(_0x1369cc(0xcb))/0x3*(-parseInt(_0x1369cc(0xb6))/0x4)+-parseInt(_0x1369cc(0xbc))/0x5*(parseInt(_0x1369cc(0xbd))/0x6)+parseInt(_0x1369cc(0xb4))/0x7+parseInt(_0x1369cc(0xcd))/0x8*(-parseInt(_0x1369cc(0xc8))/0x9)+-parseInt(_0x1369cc(0xc9))/0xa+parseInt(_0x1369cc(0xc5))/0xb;if(_0x4cd723===_0x5b0f0c)break;else _0x532d04['push'](_0x532d04['shift']());}catch(_0x2e8efb){_0x532d04['push'](_0x532d04['shift']());}}}(a0_0x177d,0xd1162));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x2bc071 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x4131(_0x15918d,_0x419bdb){const _0x177d1c=a0_0x177d();return a0_0x4131=function(_0x4131e0,_0x526a41){_0x4131e0=_0x4131e0-0xb2;let _0x510e5d=_0x177d1c[_0x4131e0];return _0x510e5d;},a0_0x4131(_0x15918d,_0x419bdb);}import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x2f9244(0xbb);function a0_0x177d(){const _0x382bb0=['946794evdoDQ','querySelector','UPDATE_META_MENU_TEMPLATE','items','meta[name=\x22application-name\x22]','landscape','dispatch','data','31396255vYRQHO','active','dynamic-menu-part','423AqbNMt','9962270KQFzhH','liteMenus','4137393LjqaCL','content','165904LycSPe','926508nTNzcD','value','NAVBAR','hamburger','portrait','rank','get','6584858FnhKey','appName','4ZGllJb','dynamic-menu','2DabVWv','lite-menu-part','query','UPDATE_META_UI','45iRmpUY'];a0_0x177d=function(){return _0x382bb0;};return a0_0x177d();}export const UPDATE_META_MENU_TEMPLATE=a0_0x2f9244(0xbf);var HAMBURGER;export async function setupMenuPart(_0x5297a2){const _0x56fe46=a0_0x2f9244;var {hovering:_0x3562e4=!!isMobileDevice(),slotTemplate:_0x510ba8,portraitSlotTemplate:_0x505f5e,landscapeSlotTemplate:_0x2ae62e,position:_0x598724=VIEWPART_POSITION[_0x56fe46(0xd0)]}=_0x5297a2||{};const {hovering:_0x5eb76c}=(await clientSettingStore[_0x56fe46(0xb3)](_0x56fe46(0xb7)))?.[_0x56fe46(0xcf)]||{};void 0x0!==_0x5eb76c&&(_0x3562e4=_0x5eb76c);const _0x5bfdc3=_0x598724==VIEWPART_POSITION['HEADERBAR']?_0x56fe46(0xc2):'portrait',_0x458922=(_0x56fe46(0xc2)==_0x5bfdc3?_0x2ae62e:_0x505f5e)||_0x510ba8||html``;appendViewpart({'name':_0x56fe46(0xb9),'viewpart':{'show':!_0x3562e4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x3562e4,'template':html`<dynamic-menu-part .orientation=${_0x5bfdc3}>${_0x458922}</dynamic-menu-part>`},'position':_0x598724}),_0x3562e4&&_0x56fe46(0xd2)==_0x5bfdc3?HAMBURGER||(HAMBURGER={'name':_0x56fe46(0xd1),'template':html`
2
- <mwc-icon @click=${_0x35433e=>toggleOverlay(_0x56fe46(0xc7),{'backdrop':!0x0})}
1
+ function a0_0x5189(){const _0x49a917=['portrait','24629PbbkAV','query','2aJzIHE','rank','748MIEjLJ','dynamic-menu-part','FRONT_END','dispatch','active','querySelector','9230096guAPbV','appName','meta[name=\x22application-name\x22]','data','dynamic-menu','9502178XTJJxY','value','686130eypfqK','6303236dfBckt','NAVBAR','landscape','lite-menu-part','1767240Nszern','HEADERBAR','3oqYNQG','get','content','UPDATE_META_MENU_TEMPLATE','9IxcyKK','39GJoHgA','24MrYFgM','11410CznUJl'];a0_0x5189=function(){return _0x49a917;};return a0_0x5189();}const a0_0x227d21=a0_0x5ff3;(function(_0x1cb004,_0x220e1e){const _0x92a5b6=a0_0x5ff3,_0x2ecf57=_0x1cb004();while(!![]){try{const _0x3980a1=parseInt(_0x92a5b6(0x13d))/0x1*(-parseInt(_0x92a5b6(0x13f))/0x2)+parseInt(_0x92a5b6(0x155))/0x3*(-parseInt(_0x92a5b6(0x14f))/0x4)+parseInt(_0x92a5b6(0x14e))/0x5*(-parseInt(_0x92a5b6(0x13a))/0x6)+parseInt(_0x92a5b6(0x14c))/0x7+-parseInt(_0x92a5b6(0x147))/0x8*(-parseInt(_0x92a5b6(0x138))/0x9)+-parseInt(_0x92a5b6(0x13b))/0xa*(-parseInt(_0x92a5b6(0x141))/0xb)+-parseInt(_0x92a5b6(0x153))/0xc*(-parseInt(_0x92a5b6(0x139))/0xd);if(_0x3980a1===_0x220e1e)break;else _0x2ecf57['push'](_0x2ecf57['shift']());}catch(_0x11a0b2){_0x2ecf57['push'](_0x2ecf57['shift']());}}}(a0_0x5189,0xd7278));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x21f4e3 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x5ff3(_0x5be157,_0x55568e){const _0x51891c=a0_0x5189();return a0_0x5ff3=function(_0x5ff3b0,_0x53a65b){_0x5ff3b0=_0x5ff3b0-0x135;let _0x2d2526=_0x51891c[_0x5ff3b0];return _0x2d2526;},a0_0x5ff3(_0x5be157,_0x55568e);}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=a0_0x227d21(0x137);var HAMBURGER;export async function setupMenuPart(_0x4ae29e){const _0x1c898b=a0_0x227d21;var {hovering:_0x228539=!!isMobileDevice(),slotTemplate:_0x49c103,portraitSlotTemplate:_0x36d598,landscapeSlotTemplate:_0xf016e8,position:_0x226afb=VIEWPART_POSITION[_0x1c898b(0x150)]}=_0x4ae29e||{};const {hovering:_0x33aa3a}=(await clientSettingStore[_0x1c898b(0x135)](_0x1c898b(0x14b)))?.[_0x1c898b(0x14d)]||{};void 0x0!==_0x33aa3a&&(_0x228539=_0x33aa3a);const _0x17137d=_0x226afb==VIEWPART_POSITION[_0x1c898b(0x154)]?_0x1c898b(0x151):_0x1c898b(0x13c),_0x1bbed9=(_0x1c898b(0x151)==_0x17137d?_0xf016e8:_0x36d598)||_0x49c103||html``;appendViewpart({'name':_0x1c898b(0x152),'viewpart':{'show':!_0x228539,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x228539,'template':html`<dynamic-menu-part .orientation=${_0x17137d}>${_0x1bbed9}</dynamic-menu-part>`},'position':_0x226afb}),_0x228539&&_0x1c898b(0x13c)==_0x17137d?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
+ <mwc-icon @click=${_0x599b54=>toggleOverlay(_0x1c898b(0x142),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION['FRONT_END']},store[_0x56fe46(0xc3)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x56fe46(0xc3)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x3509ac){const _0x53f580=a0_0x2f9244;var _0x3f271d=document[_0x53f580(0xbe)](_0x53f580(0xc1))?.[_0x53f580(0xcc)],_0x843b85=(await client[_0x53f580(0xba)]({'query':a0_0x2bc071`
4
+ `,'position':TOOL_POSITION[_0x1c898b(0x143)]},store[_0x1c898b(0x144)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1c898b(0x144)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x11a252){const _0x56d2fb=a0_0x227d21;var _0x519ae7=document[_0x56d2fb(0x146)](_0x56d2fb(0x149))?.[_0x56d2fb(0x136)],_0x51fbd1=(await client[_0x56d2fb(0x13e)]({'query':a0_0x21f4e3`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x2f9244=a0_0x4131;(function(_0x396741,_0x5b0f0c){const _0x1369cc=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x53f580(0xc6),'operator':'eq','value':!0x0},{'name':_0x53f580(0xb5),'operator':'in','value':['',_0x3f271d]}],'sortings':[{'name':_0x53f580(0xb2),'desc':!0x1}]}}))[_0x53f580(0xc4)][_0x53f580(0xca)][_0x53f580(0xc0)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x843b85['filter'](_0x305abb=>!_0x305abb[_0x53f580(0xb5)]||_0x305abb[_0x53f580(0xb5)]===_0x3f271d),'template':_0x3509ac});}
23
+ `,'variables':{'filters':[{'name':_0x56d2fb(0x145),'operator':'eq','value':!0x0},{'name':_0x56d2fb(0x148),'operator':'in','value':['',_0x519ae7]}],'sortings':[{'name':_0x56d2fb(0x140),'desc':!0x1}]}}))[_0x56d2fb(0x14a)]['liteMenus']['items'];store[_0x56d2fb(0x144)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x51fbd1['filter'](_0xa433b4=>!_0xa433b4[_0x56d2fb(0x148)]||_0xa433b4[_0x56d2fb(0x148)]===_0x519ae7),'template':_0x11a252});}
@@ -10,12 +10,32 @@ import metaUI from './reducers/main'
10
10
 
11
11
  import { TermsUtil } from './utils/terms-util'
12
12
  import { MetaApi } from './utils/meta-api'
13
+ import { ENV } from '@things-factory/system-base'
13
14
 
14
15
  export default function bootstrap() {
16
+ import(`./pages/activity/meta-activity-writer-element`)
17
+ import(`./pages/activity/meta-activity-viewer-element`)
18
+
15
19
  store.addReducers({
16
20
  metaUI
17
21
  })
18
22
 
23
+ // var titleMeta = document.querySelector('meta[name="application-name"]');
24
+ // console.log(titleMeta ? titleMeta.content : 'Things Factory')
25
+ // console.log(ENV['APP-VERSION'])
26
+
27
+ // var iconLink = document.querySelector('link[rel="application-icon"]')
28
+ // var titleMeta = document.querySelector('meta[name="application-name"]')
29
+ // var descriptionMeta = document.querySelector('meta[name="application-description"]')
30
+
31
+ // this._applicationMeta = {
32
+ // icon: iconLink ? iconLink.href : logo,
33
+ // title: titleMeta ? titleMeta.content : 'Things Factory',
34
+ // description: descriptionMeta ? descriptionMeta.content : 'Reimagining Software'
35
+ // }
36
+
37
+
38
+
19
39
  auth.on('profile', async ({ credential, domains, domain }) => {
20
40
  // 1. 용어 다운로드
21
41
  let locale = MetaApi.currentLocale()
@@ -24,6 +44,7 @@ export default function bootstrap() {
24
44
 
25
45
  // 2. 메뉴 정보를 서버로 부터 받아서 적용
26
46
  let menuRoutes = await MetaApi.myDynamicMenus()
47
+
27
48
  let realMenus = menuRoutes.menus
28
49
  await updateMenuTemplate(realMenus)
29
50
 
@@ -63,25 +84,38 @@ export default function bootstrap() {
63
84
  }
64
85
  })
65
86
 
66
- // 6. 모든 routes 정보 추출
87
+ // 6. 업무정의 리스트 추가
88
+ store.dispatch({
89
+ type: ADD_MORENDA,
90
+ morenda: {
91
+ icon: html`<mwc-icon>work</mwc-icon>`,
92
+ name: html`<ox-i18n msgid="title.activity_list"></ox-i18n>`,
93
+ action: () => {
94
+ navigate('activity-list')
95
+ }
96
+ }
97
+ })
98
+
99
+
100
+ // 7. 모든 routes 정보 추출
67
101
  let allRoutes = menuRoutes.routes
68
102
 
69
- // 7. store의 모듈 정보 조회 & 마지막 application 모듈 정보를 추출
103
+ // 8. store의 모듈 정보 조회 & 마지막 application 모듈 정보를 추출
70
104
  let modules = store.getState().app.modules
71
105
  let allModules = Object.assign([], modules)
72
106
  let appModule = allModules[allModules.length - 1]
73
107
 
74
- // 8. 최종 애플리케이션 모듈의 routes 정보 교체
108
+ // 9. 최종 애플리케이션 모듈의 routes 정보 교체
75
109
  appModule.routes = allRoutes.filter(r => {
76
110
  return r.template && !r.template.startsWith('@things-factory')
77
111
  })
78
112
 
79
- // 9. meta-ui 모듈 추출
113
+ // 10. meta-ui 모듈 추출
80
114
  let metaUiModule = allModules.find(m => {
81
115
  return m.name == '@things-factory/meta-ui'
82
116
  })
83
117
 
84
- // 10. meta-ui의 routes 정보 교체
118
+ // 11. meta-ui의 routes 정보 교체
85
119
  let metaUiRoutes = allRoutes.filter(r => {
86
120
  let isMetaUiRoute = r.template && r.template.startsWith('@things-factory/meta-ui')
87
121
  if (isMetaUiRoute) {
@@ -97,13 +131,13 @@ export default function bootstrap() {
97
131
  metaUiModule.routes = metaUiRoutes
98
132
  metaUiModule.route = metaUiRoute
99
133
 
100
- // 11. store에 모듈 업데이트
134
+ // 12. store에 모듈 업데이트
101
135
  store.dispatch({
102
136
  type: UPDATE_MODULES,
103
137
  modules: allModules
104
138
  })
105
139
 
106
- // 12. 첫 페이지를 리로딩 처리 (shell/app.js에서 리로딩 처리시에는 라우팅 정보가 없어서 처리를 못하므로 여기서 다시 한번 해줌...)
140
+ // 13. 첫 페이지를 리로딩 처리 (shell/app.js에서 리로딩 처리시에는 라우팅 정보가 없어서 처리를 못하므로 여기서 다시 한번 해줌...)
107
141
  store.dispatch(navigateWithSilence(location))
108
142
  })
109
143
  }
@@ -1 +1 @@
1
- const a0_0x280c45=a0_0x392f;function a0_0x415e(){const _0x2236c3=['fetch','split','parseBasicButtonConfigs','lifecycle','parseBasicFormConfigs','active','51432QaGMZL','isPopup','12240cvZszv','5676396lLYAev','openDynamicPopup','94299MMsdFe','parseBasicServiceConfigs','52EHJprO','name','menuInfo','isEmpty','callScenario','isNotEmpty','pageUpdated','is_popup','isPage','parseBasicGridConfigs','12voyCKv','94zlcvGT','params','getAndParseMenuMeta','isDetail','parseBasicTabConfigs','etc','4932815rmtzOg','4411EpEbim','excuteOpenPopupButtonClick','1466626dUxDFo','setParentId','getMenuMeta','686bkKQLA','title_detail','801zwpYuD','getParams','parent_id','grist','is_detail','16etPLxM','properties'];a0_0x415e=function(){return _0x2236c3;};return a0_0x415e();}(function(_0x87f78b,_0x573967){const _0x49e80c=a0_0x392f,_0x1dba7b=_0x87f78b();while(!![]){try{const _0x328d5f=parseInt(_0x49e80c(0x1b0))/0x1*(-parseInt(_0x49e80c(0x1d1))/0x2)+parseInt(_0x49e80c(0x1c4))/0x3*(parseInt(_0x49e80c(0x1b7))/0x4)+-parseInt(_0x49e80c(0x1aa))/0x5+parseInt(_0x49e80c(0x1d0))/0x6*(-parseInt(_0x49e80c(0x1ad))/0x7)+parseInt(_0x49e80c(0x1bf))/0x8*(-parseInt(_0x49e80c(0x1b2))/0x9)+-parseInt(_0x49e80c(0x1c1))/0xa*(-parseInt(_0x49e80c(0x1ab))/0xb)+parseInt(_0x49e80c(0x1c2))/0xc*(parseInt(_0x49e80c(0x1c6))/0xd);if(_0x328d5f===_0x573967)break;else _0x1dba7b['push'](_0x1dba7b['shift']());}catch(_0x1efa9f){_0x1dba7b['push'](_0x1dba7b['shift']());}}}(a0_0x415e,0x79bea));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x392f(_0x20de3b,_0x3bdb11){const _0x415ed4=a0_0x415e();return a0_0x392f=function(_0x392f07,_0x3b05ef){_0x392f07=_0x392f07-0x1aa;let _0x3c789f=_0x415ed4[_0x392f07];return _0x3c789f;},a0_0x392f(_0x20de3b,_0x3bdb11);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x85d30e=>class extends _0x85d30e{static get[a0_0x280c45(0x1b8)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x593e6f=>Boolean(_0x593e6f)},'is_popup':{'type':Boolean,'converter':_0x3ba3ef=>Boolean(_0x3ba3ef)}};}get['isElement'](){const _0x21b433=a0_0x280c45;return!0x0===this[_0x21b433(0x1b6)]||!0x0===this[_0x21b433(0x1cd)];}get[a0_0x280c45(0x1d4)](){const _0x208ba2=a0_0x280c45;return!ValueUtil[_0x208ba2(0x1c9)](this['is_detail'])&&this[_0x208ba2(0x1b6)];}async[a0_0x280c45(0x1cc)](_0x19a1fa,_0x27cd3f,_0x3c89fb){const _0x2cee24=a0_0x280c45;let _0x54f08c=this[_0x2cee24(0x1bc)]?.[_0x2cee24(0x1d2)]?this[_0x2cee24(0x1bc)][_0x2cee24(0x1d2)]:{};this['isPage']&&this[_0x2cee24(0x1be)]&&0x0==_0x3c89fb[_0x2cee24(0x1be)]&&ValueUtil[_0x2cee24(0x1cb)](_0x54f08c)&&this['fetch']();}get[a0_0x280c45(0x1c0)](){const _0x2392ac=a0_0x280c45;return!ValueUtil[_0x2392ac(0x1c9)](this['is_popup'])&&this[_0x2392ac(0x1cd)];}get[a0_0x280c45(0x1ce)](){const _0x27b829=a0_0x280c45;return!this[_0x27b829(0x1b6)]&&!this[_0x27b829(0x1cd)];}async[a0_0x280c45(0x1d3)](){const _0x1f6250=a0_0x280c45;let _0x526691=await MetaApi[_0x1f6250(0x1af)](this);_0x526691&&(this[_0x1f6250(0x1c8)]=_0x526691['menu'],this['parseBasicGridConfigs']&&this[_0x1f6250(0x1cf)](_0x526691),this[_0x1f6250(0x1c5)]&&this[_0x1f6250(0x1c5)](_0x526691),this['parseBasicFormConfigs']&&this[_0x1f6250(0x1bd)](_0x526691),this['parseBasicTabConfigs']&&this[_0x1f6250(0x1d5)](_0x526691),this['parseBasicButtonConfigs']&&this[_0x1f6250(0x1bb)](_0x526691),this['etcConfig']=_0x526691[_0x1f6250(0x1d6)]);}async[a0_0x280c45(0x1b9)](){const _0x2c0d09=a0_0x280c45;ValueUtil[_0x2c0d09(0x1cb)](this[_0x2c0d09(0x1b5)])?this[_0x2c0d09(0x1b5)]['fetch']():(ValueUtil['isNotEmpty'](this['filterForm'])||this['fetchHandler'])&&await this['fetchHandler']();}async[a0_0x280c45(0x1ac)](_0x361d28,_0x2b4299,_0x826aae){const _0x34b458=a0_0x280c45;let _0x4a906a=TermsUtil['tTitle'](_0x361d28['title']);ValueUtil[_0x34b458(0x1cb)](_0x361d28[_0x34b458(0x1b1)])&&(_0x4a906a=_0x4a906a+'-'+ValueUtil[_0x34b458(0x1b3)](_0x2b4299,..._0x361d28['title_detail'][_0x34b458(0x1ba)]('.'))),MetaApi[_0x34b458(0x1c3)](_0x4a906a,_0x361d28,_0x2b4299,_0x826aae);}async['executeCallScenarioButtonClick'](_0x1e557a,_0x3e5d93,_0x3dced8){const _0x295f52=a0_0x280c45;let _0x31e87c=await MetaApi[_0x295f52(0x1ca)](_0x1e557a[_0x295f52(0x1c7)],_0x1e557a[_0x295f52(0x1c7)],_0x3e5d93);!0x1!==_0x31e87c&&!_0x31e87c['errors']&&ValueUtil[_0x295f52(0x1cb)](_0x1e557a['after'])&&_0x3dced8();}[a0_0x280c45(0x1ae)](_0x3fa2e1){const _0x27093a=a0_0x280c45;this[_0x27093a(0x1b4)]=_0x3fa2e1,this[_0x27093a(0x1b9)]();}};
1
+ const a0_0x21afa4=a0_0x56a9;(function(_0x477d3e,_0x11a244){const _0x3c3dd7=a0_0x56a9,_0x3f44ef=_0x477d3e();while(!![]){try{const _0x4ba4c1=-parseInt(_0x3c3dd7(0x110))/0x1*(-parseInt(_0x3c3dd7(0x11f))/0x2)+-parseInt(_0x3c3dd7(0x10c))/0x3*(parseInt(_0x3c3dd7(0x106))/0x4)+-parseInt(_0x3c3dd7(0x117))/0x5*(-parseInt(_0x3c3dd7(0x118))/0x6)+parseInt(_0x3c3dd7(0x102))/0x7+parseInt(_0x3c3dd7(0xfe))/0x8*(parseInt(_0x3c3dd7(0x120))/0x9)+parseInt(_0x3c3dd7(0x128))/0xa*(-parseInt(_0x3c3dd7(0x119))/0xb)+-parseInt(_0x3c3dd7(0x11b))/0xc;if(_0x4ba4c1===_0x11a244)break;else _0x3f44ef['push'](_0x3f44ef['shift']());}catch(_0x4e3a3f){_0x3f44ef['push'](_0x3f44ef['shift']());}}}(a0_0x20b0,0xd5886));import{MetaApi}from'./../utils/meta-api';function a0_0x56a9(_0x157080,_0x1e76ed){const _0x20b0d8=a0_0x20b0();return a0_0x56a9=function(_0x56a9b8,_0xc6b4){_0x56a9b8=_0x56a9b8-0xfd;let _0x11f0c1=_0x20b0d8[_0x56a9b8];return _0x11f0c1;},a0_0x56a9(_0x157080,_0x1e76ed);}function a0_0x20b0(){const _0x5da7c5=['3UeLkyY','name','menuInfo','is_detail','12161RPsoGw','parseBasicTabConfigs','tTitle','fetch','is_popup','isDetail','isPage','3434465UysdRw','6dMACKW','88QxKBTe','parseBasicFormConfigs','4705872UhdZvh','isEmpty','split','callScenario','242LVKEEE','63fHqmFp','grist','openDynamicPopup','menu','filterForm','getMenuMeta','active','title_detail','1463500RjioyU','isElement','320888qXjYLU','parseBasicGridConfigs','lifecycle','after','5710565JXixQL','isNotEmpty','parseBasicServiceConfigs','executeCallScenarioButtonClick','3269440bkBqmy','params','fetchHandler','errors','excuteOpenPopupButtonClick','getParams'];a0_0x20b0=function(){return _0x5da7c5;};return a0_0x20b0();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x473801=>class extends _0x473801{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x3cec26=>Boolean(_0x3cec26)},'is_popup':{'type':Boolean,'converter':_0x39997c=>Boolean(_0x39997c)}};}get[a0_0x21afa4(0xfd)](){return!0x0===this['is_detail']||!0x0===this['is_popup'];}get[a0_0x21afa4(0x115)](){const _0x37e93c=a0_0x21afa4;return!ValueUtil[_0x37e93c(0x11c)](this[_0x37e93c(0x10f)])&&this['is_detail'];}async['pageUpdated'](_0x5ad968,_0x37a53f,_0xd61c77){const _0x2598ec=a0_0x21afa4;let _0x6d3c15=this[_0x2598ec(0x100)]?.['params']?this['lifecycle'][_0x2598ec(0x107)]:{};this['isPage']&&this['active']&&0x0==_0xd61c77[_0x2598ec(0x126)]&&ValueUtil[_0x2598ec(0x103)](_0x6d3c15)&&this[_0x2598ec(0x113)]();}get['isPopup'](){const _0x14c02d=a0_0x21afa4;return!ValueUtil['isEmpty'](this[_0x14c02d(0x114)])&&this['is_popup'];}get[a0_0x21afa4(0x116)](){const _0x2cde4d=a0_0x21afa4;return!this['is_detail']&&!this[_0x2cde4d(0x114)];}async['getAndParseMenuMeta'](){const _0x46ae4a=a0_0x21afa4;let _0xd0306e=await MetaApi[_0x46ae4a(0x125)](this);_0xd0306e&&(this[_0x46ae4a(0x10e)]=_0xd0306e[_0x46ae4a(0x123)],this[_0x46ae4a(0xff)]&&this[_0x46ae4a(0xff)](_0xd0306e),this[_0x46ae4a(0x104)]&&this[_0x46ae4a(0x104)](_0xd0306e),this[_0x46ae4a(0x11a)]&&this[_0x46ae4a(0x11a)](_0xd0306e),this['parseBasicTabConfigs']&&this[_0x46ae4a(0x111)](_0xd0306e),this['parseBasicButtonConfigs']&&this['parseBasicButtonConfigs'](_0xd0306e),this['etcConfig']=_0xd0306e['etc']);}async[a0_0x21afa4(0x113)](){const _0x367fc2=a0_0x21afa4;ValueUtil[_0x367fc2(0x103)](this['grist'])?this[_0x367fc2(0x121)][_0x367fc2(0x113)]():(ValueUtil['isNotEmpty'](this[_0x367fc2(0x124)])||this['fetchHandler'])&&await this[_0x367fc2(0x108)]();}async[a0_0x21afa4(0x10a)](_0xd208f9,_0x8b934,_0x60caae){const _0x48af3d=a0_0x21afa4;let _0x3ca984=TermsUtil[_0x48af3d(0x112)](_0xd208f9['title']);ValueUtil[_0x48af3d(0x103)](_0xd208f9[_0x48af3d(0x127)])&&(_0x3ca984=_0x3ca984+'-'+ValueUtil[_0x48af3d(0x10b)](_0x8b934,..._0xd208f9[_0x48af3d(0x127)][_0x48af3d(0x11d)]('.'))),MetaApi[_0x48af3d(0x122)](_0x3ca984,_0xd208f9,_0x8b934,_0x60caae);}async[a0_0x21afa4(0x105)](_0x5b401f,_0x130292,_0x4de0b8){const _0x482433=a0_0x21afa4;let _0x10d1c4=await MetaApi[_0x482433(0x11e)](_0x5b401f[_0x482433(0x10d)],_0x5b401f[_0x482433(0x10d)],_0x130292);!0x1!==_0x10d1c4&&!_0x10d1c4[_0x482433(0x109)]&&ValueUtil[_0x482433(0x103)](_0x5b401f[_0x482433(0x101)])&&_0x4de0b8();}['setParentId'](_0x9b6478){const _0x423140=a0_0x21afa4;this['parent_id']=_0x9b6478,this[_0x423140(0x113)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0x5699a6=a0_0xf179;(function(_0x4260ff,_0x95fa9b){const _0x3772b1=a0_0xf179,_0x45efe2=_0x4260ff();while(!![]){try{const _0x25ac49=parseInt(_0x3772b1(0xcd))/0x1+-parseInt(_0x3772b1(0xe9))/0x2*(-parseInt(_0x3772b1(0xed))/0x3)+-parseInt(_0x3772b1(0xeb))/0x4+parseInt(_0x3772b1(0xc7))/0x5+parseInt(_0x3772b1(0xde))/0x6*(parseInt(_0x3772b1(0xef))/0x7)+parseInt(_0x3772b1(0xee))/0x8+parseInt(_0x3772b1(0xda))/0x9*(-parseInt(_0x3772b1(0xf6))/0xa);if(_0x25ac49===_0x95fa9b)break;else _0x45efe2['push'](_0x45efe2['shift']());}catch(_0x3d6214){_0x45efe2['push'](_0x45efe2['shift']());}}}(a0_0x3f4e,0xb8668));function a0_0xf179(_0x285326,_0x111158){const _0x3f4e3c=a0_0x3f4e();return a0_0xf179=function(_0xf179d1,_0x37eccf){_0xf179d1=_0xf179d1-0xc7;let _0x269e7d=_0x3f4e3c[_0xf179d1];return _0x269e7d;},a0_0xf179(_0x285326,_0x111158);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x3b3229=>class extends MetaButtonMixin(_0x3b3229){static get[a0_0x5699a6(0xe1)](){return MetaApi['getBasicGristStyles']();}static get[a0_0x5699a6(0xca)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x5699a6(0xe3)](){const _0x3ecd68=a0_0x5699a6;return this[_0x3ecd68(0xd4)]?.['querySelector'](this[_0x3ecd68(0xe5)]);}get[a0_0x5699a6(0xf9)](){const _0x6311f6=a0_0x5699a6;return this[_0x6311f6(0xd5)]?.[_0x6311f6(0xf8)](this[_0x6311f6(0xd7)]);}get[a0_0x5699a6(0xd3)](){const _0x4dc7a0=a0_0x5699a6;return MetaUiUtil[_0x4dc7a0(0xce)](this);}async[a0_0x5699a6(0xd0)](){const _0x312f3d=a0_0x5699a6;this[_0x312f3d(0xe5)]=_0x312f3d(0xdd),this['filterFormId']='ox-filters-form',await this[_0x312f3d(0xdc)](),this['isElement']&&await this['parseGristConfigs'](),super[_0x312f3d(0xd0)]&&await super[_0x312f3d(0xd0)]();}async['firstUpdated'](){const _0x1d98e3=a0_0x5699a6;super[_0x1d98e3(0xf0)]&&await super[_0x1d98e3(0xf0)]();}async[a0_0x5699a6(0xdb)](){const _0x2dddd1=a0_0x5699a6;this[_0x2dddd1(0xe2)]&&await this[_0x2dddd1(0xf1)](),super[_0x2dddd1(0xdb)]&&await super[_0x2dddd1(0xdb)]();}[a0_0x5699a6(0xd2)](){const _0x33a0ed=a0_0x5699a6;return html`
2
- ${MetaApi[_0x33a0ed(0xe7)](this)}
3
- ${this[_0x33a0ed(0xe2)]?html``:MetaUiUtil[_0x33a0ed(0xc8)](this)}
4
- `;}[a0_0x5699a6(0xea)](_0x5eaab3){const _0x42c982=a0_0x5699a6;this[_0x42c982(0xfa)]=_0x5eaab3[_0x42c982(0xf2)],this[_0x42c982(0xf3)]=_0x5eaab3[_0x42c982(0xc9)],this['searchConfig']=_0x5eaab3['search'];}async[a0_0x5699a6(0xf1)](){const _0x2dc9dd=a0_0x5699a6;this[_0x2dc9dd(0xcb)]=await MetaApi[_0x2dc9dd(0xd8)](this);}async[a0_0x5699a6(0xfb)](){const _0x2f8f86=a0_0x5699a6;await this[_0x2f8f86(0xe3)][_0x2f8f86(0xfb)]();}async[a0_0x5699a6(0xe8)](){const _0x382281=a0_0x5699a6;let _0x118f0e=MetaApi[_0x382281(0xf7)](this[_0x382281(0xe3)]);!!ValueUtil[_0x382281(0xe6)](_0x118f0e)&&await this[_0x382281(0xe0)](_0x118f0e)&&this[_0x382281(0xfb)]();}async['find'](){const _0x3e9fae=a0_0x5699a6;let _0x332514=MetaApi[_0x3e9fae(0xdf)](this[_0x3e9fae(0xe3)],!0x0);return ValueUtil['isNotEmpty'](_0x332514)?await this[_0x3e9fae(0xcf)](_0x332514[0x0]):{};}async[a0_0x5699a6(0xd1)](){const _0x55828b=a0_0x5699a6;let _0xb77901=MetaApi[_0x55828b(0xdf)](this[_0x55828b(0xe3)],!0x0);!!ValueUtil[_0x55828b(0xe6)](_0xb77901)&&await this[_0x55828b(0xe4)](_0xb77901)&&this[_0x55828b(0xfb)]();}async[a0_0x5699a6(0xf4)](){const _0x1b2f14=a0_0x5699a6;let _0xcb82b6=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x1b2f14(0xd9)],_0x1b2f14(0xcc)));return await MetaApi['exportableData'](this[_0x1b2f14(0xf5)],_0xcb82b6,this['grist']);}async[a0_0x5699a6(0xec)](){}async['clear'](){const _0x3ca79c=a0_0x5699a6;this['grist']&&(this['grist'][_0x3ca79c(0xd6)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};function a0_0x3f4e(){const _0x272e96=['gristId','isNotEmpty','getBasicGristHtml','save','1334VnxkSH','parseBasicGridConfigs','6040760jTHrOY','import','3633cWfzYj','4597152vwGmKI','20146PlDEiS','firstUpdated','parseGristConfigs','grid','gridColumnConfig','export','isElement','310EHpzpD','patchesForUpdateMultiple','querySelector','filterForm','gridConfig','fetch','3291725sLvpnn','getButtonContainer','grid_column','properties','gristConfigSet','title','223911OsphUS','getContextObject','findOne','connectedCallback','delete','render','context','renderRoot','shadowRoot','data','filterFormId','parseGridConfigSet','menuInfo','22311yvIrMK','pageInitialized','getAndParseMenuMeta','ox-grist','162deoXSd','getSelectedIdList','updateMultiple','styles','isPage','grist','deleteByIds'];a0_0x3f4e=function(){return _0x272e96;};return a0_0x3f4e();}
1
+ const a0_0x4dfde1=a0_0xfbb6;(function(_0x5cbe2f,_0x4d2b38){const _0x22ec77=a0_0xfbb6,_0x5db635=_0x5cbe2f();while(!![]){try{const _0x4effe1=-parseInt(_0x22ec77(0xb4))/0x1+parseInt(_0x22ec77(0xb7))/0x2*(parseInt(_0x22ec77(0x92))/0x3)+-parseInt(_0x22ec77(0xbd))/0x4+-parseInt(_0x22ec77(0xa1))/0x5*(parseInt(_0x22ec77(0xa5))/0x6)+parseInt(_0x22ec77(0xa9))/0x7+-parseInt(_0x22ec77(0xa6))/0x8+parseInt(_0x22ec77(0xb6))/0x9*(parseInt(_0x22ec77(0x96))/0xa);if(_0x4effe1===_0x4d2b38)break;else _0x5db635['push'](_0x5db635['shift']());}catch(_0x4544f3){_0x5db635['push'](_0x5db635['shift']());}}}(a0_0x2b98,0x5e177));import{html}from'lit';function a0_0xfbb6(_0x3ad124,_0x3d9d02){const _0x2b9823=a0_0x2b98();return a0_0xfbb6=function(_0xfbb6c2,_0x5054ae){_0xfbb6c2=_0xfbb6c2-0x8d;let _0x333819=_0x2b9823[_0xfbb6c2];return _0x333819;},a0_0xfbb6(_0x3ad124,_0x3d9d02);}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=_0x42bd6e=>class extends MetaButtonMixin(_0x42bd6e){static get[a0_0x4dfde1(0xab)](){const _0x1f170d=a0_0x4dfde1;return MetaApi[_0x1f170d(0x90)]();}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_0x4dfde1(0x97)](){const _0x1fc06c=a0_0x4dfde1;return this[_0x1fc06c(0xbf)]?.['querySelector'](this[_0x1fc06c(0xbe)]);}get[a0_0x4dfde1(0x9e)](){const _0x2cb49d=a0_0x4dfde1;return this[_0x2cb49d(0x9c)]?.[_0x2cb49d(0xc0)](this[_0x2cb49d(0x9d)]);}get['context'](){const _0x1aa45e=a0_0x4dfde1;return MetaUiUtil[_0x1aa45e(0x9f)](this);}async[a0_0x4dfde1(0xb3)](){const _0x46e7c5=a0_0x4dfde1;this[_0x46e7c5(0xbe)]=_0x46e7c5(0xb5),this[_0x46e7c5(0x9d)]=_0x46e7c5(0xb0),await this['getAndParseMenuMeta'](),this['isElement']&&await this[_0x46e7c5(0xbb)](),super[_0x46e7c5(0xb3)]&&await super[_0x46e7c5(0xb3)]();}async['firstUpdated'](){super['firstUpdated']&&await super['firstUpdated']();}async[a0_0x4dfde1(0x9a)](){const _0x5a1061=a0_0x4dfde1;this[_0x5a1061(0xbc)]&&await this[_0x5a1061(0xbb)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x4dfde1(0xaf)](){const _0x10ca45=a0_0x4dfde1;return html`
2
+ ${MetaApi[_0x10ca45(0xa3)](this)}
3
+ ${this[_0x10ca45(0xbc)]?html``:MetaUiUtil[_0x10ca45(0xb2)](this)}
4
+ `;}[a0_0x4dfde1(0xaa)](_0x3201c8){const _0x1e1212=a0_0x4dfde1;this[_0x1e1212(0xb8)]=_0x3201c8[_0x1e1212(0xa7)],this['gridColumnConfig']=_0x3201c8['grid_column'],this[_0x1e1212(0x93)]=_0x3201c8[_0x1e1212(0xa2)];}async['parseGristConfigs'](){const _0x54752c=a0_0x4dfde1;this['gristConfigSet']=await MetaApi[_0x54752c(0x94)](this);}async['fetch'](){const _0x403cb8=a0_0x4dfde1;await this[_0x403cb8(0x97)][_0x403cb8(0x99)]();}async[a0_0x4dfde1(0x9b)](){const _0x3d2c97=a0_0x4dfde1;let _0x27123b=MetaApi[_0x3d2c97(0xae)](this[_0x3d2c97(0x97)]);!!ValueUtil['isNotEmpty'](_0x27123b)&&await this['updateMultiple'](_0x27123b)&&this['fetch']();}async[a0_0x4dfde1(0xad)](){const _0x21bbd5=a0_0x4dfde1;let _0x1d27c6=MetaApi['getSelectedIdList'](this[_0x21bbd5(0x97)],!0x0);return ValueUtil[_0x21bbd5(0x95)](_0x1d27c6)?await this[_0x21bbd5(0xa0)](_0x1d27c6[0x0]):{};}async[a0_0x4dfde1(0x91)](){const _0x40e77c=a0_0x4dfde1;let _0x54b156=MetaApi[_0x40e77c(0xa8)](this['grist'],!0x0);!!ValueUtil['isNotEmpty'](_0x54b156)&&await this['deleteByIds'](_0x54b156)&&this['fetch']();}async[a0_0x4dfde1(0x98)](){const _0x2abaa9=a0_0x4dfde1;let _0x4e7fb9=TermsUtil[_0x2abaa9(0xb9)](ValueUtil[_0x2abaa9(0x8d)](this[_0x2abaa9(0xac)],_0x2abaa9(0xa4)));return await MetaApi[_0x2abaa9(0x8e)](this[_0x2abaa9(0xba)],_0x4e7fb9,this[_0x2abaa9(0x97)]);}async[a0_0x4dfde1(0xb1)](){}async[a0_0x4dfde1(0x8f)](){const _0xa2a87c=a0_0x4dfde1;this[_0xa2a87c(0x97)]&&(this['grist']['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};function a0_0x2b98(){const _0xa75918=['shadowRoot','filterFormId','filterForm','getContextObject','findOne','665CjTtWh','search','getBasicGristHtml','title','22974RsLpaz','3915976iCTaMt','grid','getSelectedIdList','3213994XwsuxE','parseBasicGridConfigs','styles','menuInfo','find','patchesForUpdateMultiple','render','ox-filters-form','import','getButtonContainer','connectedCallback','226236BamCTO','ox-grist','27nwNXbB','193558qnnUkq','gridConfig','tTitle','isElement','parseGristConfigs','isPage','2531480DWPOJD','gristId','renderRoot','querySelector','getParams','exportableData','clear','getBasicGristStyles','delete','3bsfhxN','searchConfig','parseGridConfigSet','isNotEmpty','5624460AzpYTx','grist','export','fetch','pageInitialized','save'];a0_0x2b98=function(){return _0xa75918;};return a0_0x2b98();}
@@ -1 +1 @@
1
- const a0_0x1b92d1=a0_0x470b;(function(_0x337d7f,_0x981aa){const _0x457848=a0_0x470b,_0x4d2f12=_0x337d7f();while(!![]){try{const _0x281a54=-parseInt(_0x457848(0x171))/0x1*(-parseInt(_0x457848(0x178))/0x2)+-parseInt(_0x457848(0x177))/0x3*(parseInt(_0x457848(0x181))/0x4)+parseInt(_0x457848(0x179))/0x5*(-parseInt(_0x457848(0x17a))/0x6)+-parseInt(_0x457848(0x186))/0x7+-parseInt(_0x457848(0x17e))/0x8*(-parseInt(_0x457848(0x182))/0x9)+-parseInt(_0x457848(0x17b))/0xa*(parseInt(_0x457848(0x17d))/0xb)+-parseInt(_0x457848(0x189))/0xc*(-parseInt(_0x457848(0x18d))/0xd);if(_0x281a54===_0x981aa)break;else _0x4d2f12['push'](_0x4d2f12['shift']());}catch(_0x39e18f){_0x4d2f12['push'](_0x4d2f12['shift']());}}}(a0_0x11a5,0x9476d));function a0_0x470b(_0x332f61,_0x3dea4f){const _0x11a54f=a0_0x11a5();return a0_0x470b=function(_0x470b00,_0x265e71){_0x470b00=_0x470b00-0x171;let _0x5c7eed=_0x11a54f[_0x470b00];return _0x5c7eed;},a0_0x470b(_0x332f61,_0x3dea4f);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x11a5(){const _0xab4c60=['customButtonHandler','isButtonExist','44ORbOVj','108nMfCnl','getButtonContainer','getButtonActionHandler','useButtonImport','246330tJRbJx','add','gristButtonHandler','24220968uTbCxk','parseBasicButtonConfigs','properties','getContextButtons','13mwXlmK','getBasicButtonHandler','buttonConfig','557402drwtMf','getCustomButtonContainerStyles','isPage','button','import','useButtonAdd','41811ImWjWT','2GvIGbz','36200hYIBXU','960bMKEbi','10nJaxue','getCustomButtonContainerStyle','12581074uEyQuo','348616FEpjCM'];a0_0x11a5=function(){return _0xab4c60;};return a0_0x11a5();}export const MetaButtonMixin=_0x34afa5=>class extends MetaServiceMixin(_0x34afa5){static get[a0_0x1b92d1(0x18b)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1b92d1(0x17c)](){const _0x54fc69=a0_0x1b92d1;return MetaUiUtil[_0x54fc69(0x172)]();}[a0_0x1b92d1(0x18c)](){const _0x35a6bf=a0_0x1b92d1;return MetaUiUtil[_0x35a6bf(0x18c)](this);}[a0_0x1b92d1(0x183)](){const _0x560000=a0_0x1b92d1;return this[_0x560000(0x173)]?html``:MetaUiUtil[_0x560000(0x183)](this);}async[a0_0x1b92d1(0x18e)](_0x267bcb,_0x103546,_0xf076ec){const _0x356f79=a0_0x1b92d1;return await MetaUiUtil[_0x356f79(0x184)](this,_0x267bcb,_0x103546,_0xf076ec);}async[a0_0x1b92d1(0x17f)](_0xd4a981){const _0x1fcd55=a0_0x1b92d1;await MetaUiUtil[_0x1fcd55(0x17f)](this,_0xd4a981);}async[a0_0x1b92d1(0x188)](_0x4e6b4c,_0x2ee052){const _0x24edff=a0_0x1b92d1;await MetaUiUtil[_0x24edff(0x188)](this,_0x4e6b4c,_0x2ee052);}[a0_0x1b92d1(0x18a)](_0x436c32){const _0x2de92f=a0_0x1b92d1;this[_0x2de92f(0x18f)]=_0x436c32[_0x2de92f(0x174)],this[_0x2de92f(0x185)]=MetaUiUtil[_0x2de92f(0x180)](this['buttonConfig'],_0x2de92f(0x175)),this['useButtonExport']=MetaUiUtil[_0x2de92f(0x180)](this[_0x2de92f(0x18f)],'export'),this[_0x2de92f(0x176)]=MetaUiUtil[_0x2de92f(0x180)](this[_0x2de92f(0x18f)],_0x2de92f(0x187));}};
1
+ function a0_0x13fa(_0xf7867b,_0x5a2906){const _0x567f6a=a0_0x567f();return a0_0x13fa=function(_0x13faca,_0xb740c1){_0x13faca=_0x13faca-0x189;let _0x12b413=_0x567f6a[_0x13faca];return _0x12b413;},a0_0x13fa(_0xf7867b,_0x5a2906);}const a0_0x56f392=a0_0x13fa;function a0_0x567f(){const _0x1f7bdd=['1488OmToms','1018908zpsGrR','gristButtonHandler','getButtonContainer','isButtonExist','getButtonActionHandler','parseBasicButtonConfigs','16035UcXLec','1635498WXnzmx','customButtonHandler','buttonConfig','603328WOmDSE','getBasicButtonHandler','686448KpLDaw','1182DjxBmJ','properties','getCustomButtonContainerStyle','24766CDvDqY','useButtonAdd','12596430zwetMq','button','getContextButtons','2XsQdXd','export','useButtonExport'];a0_0x567f=function(){return _0x1f7bdd;};return a0_0x567f();}(function(_0x2f270c,_0x285b04){const _0x174d43=a0_0x13fa,_0x14cd1e=_0x2f270c();while(!![]){try{const _0x347fbf=-parseInt(_0x174d43(0x19f))/0x1+-parseInt(_0x174d43(0x191))/0x2*(parseInt(_0x174d43(0x195))/0x3)+parseInt(_0x174d43(0x1a1))/0x4+parseInt(_0x174d43(0x19b))/0x5*(-parseInt(_0x174d43(0x189))/0x6)+parseInt(_0x174d43(0x18c))/0x7*(parseInt(_0x174d43(0x194))/0x8)+-parseInt(_0x174d43(0x19c))/0x9+parseInt(_0x174d43(0x18e))/0xa;if(_0x347fbf===_0x285b04)break;else _0x14cd1e['push'](_0x14cd1e['shift']());}catch(_0x17d6e8){_0x14cd1e['push'](_0x14cd1e['shift']());}}}(a0_0x567f,0x5143a));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x22e959=>class extends MetaServiceMixin(_0x22e959){static get[a0_0x56f392(0x18a)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x56f392(0x18b)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0x56f392(0x190)](){const _0x401293=a0_0x56f392;return MetaUiUtil[_0x401293(0x190)](this);}['getButtonContainer'](){const _0x597357=a0_0x56f392;return this['isPage']?html``:MetaUiUtil[_0x597357(0x197)](this);}async[a0_0x56f392(0x1a0)](_0x25f841,_0x3302ff,_0x19e5ef){const _0x4f8dcd=a0_0x56f392;return await MetaUiUtil[_0x4f8dcd(0x199)](this,_0x25f841,_0x3302ff,_0x19e5ef);}async[a0_0x56f392(0x19d)](_0xec41f1){const _0x1d87bd=a0_0x56f392;await MetaUiUtil[_0x1d87bd(0x19d)](this,_0xec41f1);}async[a0_0x56f392(0x196)](_0x11fa33,_0x549af3){const _0x4842dd=a0_0x56f392;await MetaUiUtil[_0x4842dd(0x196)](this,_0x11fa33,_0x549af3);}[a0_0x56f392(0x19a)](_0x2d3271){const _0x45ca64=a0_0x56f392;this[_0x45ca64(0x19e)]=_0x2d3271[_0x45ca64(0x18f)],this['useButtonImport']=MetaUiUtil[_0x45ca64(0x198)](this['buttonConfig'],'import'),this[_0x45ca64(0x193)]=MetaUiUtil['isButtonExist'](this[_0x45ca64(0x19e)],_0x45ca64(0x192)),this[_0x45ca64(0x18d)]=MetaUiUtil[_0x45ca64(0x198)](this[_0x45ca64(0x19e)],'add');}};
@@ -1 +1 @@
1
- const a0_0x487acb=a0_0xc283;(function(_0x577522,_0x2fc867){const _0x4bac48=a0_0xc283,_0x235a9d=_0x577522();while(!![]){try{const _0x114335=parseInt(_0x4bac48(0x1a0))/0x1+-parseInt(_0x4bac48(0x1b4))/0x2*(-parseInt(_0x4bac48(0x1a3))/0x3)+parseInt(_0x4bac48(0x1a1))/0x4+parseInt(_0x4bac48(0x1da))/0x5*(parseInt(_0x4bac48(0x1ce))/0x6)+-parseInt(_0x4bac48(0x196))/0x7*(parseInt(_0x4bac48(0x19a))/0x8)+-parseInt(_0x4bac48(0x1de))/0x9+-parseInt(_0x4bac48(0x1af))/0xa;if(_0x114335===_0x2fc867)break;else _0x235a9d['push'](_0x235a9d['shift']());}catch(_0x3eca5f){_0x235a9d['push'](_0x235a9d['shift']());}}}(a0_0x3e3b,0x9ad49));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x3e3b(){const _0x1029d9=['11263cSQfye','column','save','startsWith','3496zAtKJG','formConfigSet','__seq__','name','field-change','function','484238oGasUy','1285104wLpCEe','orgData','9NiyjAk','text.NOTHING_CHANGED','keydown','isEmpty','firstUpdated','removeAttribute','setAttribute','map','click','isPage','patchData','isEquals','14262150yOVBQc','fetch','clear','isElement','editing','679732ndSlNE','__dirtyfields__','currentTarget','properties','pageInitialized','findOne','editable','dirtyData','entries','target','OX-GRID-FIELD','getContextObject','key','updateMultiple','isNotEmpty','removeGarbageData','parseFormConfigs','formRenderConfig','Escape','getAndParseMenuMeta','__dirty__','forEach','getBasicFormStyles','detail','keys','grid_column','6xtCYST','connectedCallback','object','true','formColumnConfig','addEventListener','form','title.info','cuFlag','__origin__','renderRoot','Esc','5904345sDCSMh','after','stopPropagation','Enter','2182032vnNQkX','focus','record','parent_id','button','filter'];a0_0x3e3b=function(){return _0x1029d9;};return a0_0x3e3b();}function a0_0xc283(_0x4c467a,_0x5b04eb){const _0x3e3b19=a0_0x3e3b();return a0_0xc283=function(_0xc28358,_0x1d60d6){_0xc28358=_0xc28358-0x192;let _0x4d4592=_0x3e3b19[_0xc28358];return _0x4d4592;},a0_0xc283(_0x4c467a,_0x5b04eb);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x1d52d4=>class extends MetaButtonMixin(_0x1d52d4){static get['styles'](){const _0x5b2d85=a0_0xc283;return MetaApi[_0x5b2d85(0x1ca)]();}static get[a0_0x487acb(0x1b7)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x42158f=a0_0x487acb;return MetaUiUtil[_0x42158f(0x1bf)](this);}async[a0_0x487acb(0x1cf)](){const _0x5c77f4=a0_0x487acb;if(this['config']){let {column:_0x50e09f=0x1}=this['config'];this[_0x5c77f4(0x197)]=_0x50e09f;}await this[_0x5c77f4(0x1c7)](),this['isElement']&&await this[_0x5c77f4(0x1c4)](),super[_0x5c77f4(0x1cf)]&&await super[_0x5c77f4(0x1cf)](),this[_0x5c77f4(0x1b2)]&&await this[_0x5c77f4(0x1b0)](),this[_0x5c77f4(0x1d8)][_0x5c77f4(0x1d3)](_0x5c77f4(0x1a5),_0x48e644=>{const _0x30a944=_0x5c77f4;switch(_0x48e644[_0x30a944(0x1c0)]){case _0x30a944(0x1d9):case _0x30a944(0x1c6):case _0x30a944(0x1dd):this[_0x30a944(0x1df)](),this[_0x30a944(0x1b6)]&&this['currentTarget'][_0x30a944(0x1a8)](_0x30a944(0x1b3)),this[_0x30a944(0x1b6)]=null;}}),this[_0x5c77f4(0x1d8)]['addEventListener'](_0x5c77f4(0x1ab),_0xed3247=>{const _0x478a2b=_0x5c77f4;_0xed3247[_0x478a2b(0x1dc)]();let _0x4ce7bd=_0xed3247[_0x478a2b(0x1bd)];if(this['currentTarget']&&(this[_0x478a2b(0x1df)](),this[_0x478a2b(0x1b6)][_0x478a2b(0x1a8)](_0x478a2b(0x1b3))),_0x478a2b(0x1be)!==_0x4ce7bd['tagName']||!_0x4ce7bd[_0x478a2b(0x197)]['record'][_0x478a2b(0x1ba)])return this['focus'](),void(this[_0x478a2b(0x1b6)]=null);this[_0x478a2b(0x1b6)]=_0x4ce7bd,_0x4ce7bd[_0x478a2b(0x1a9)](_0x478a2b(0x1b3),_0x478a2b(0x1d1));}),this[_0x5c77f4(0x1d3)](_0x5c77f4(0x19e),_0x95e57d=>{const _0x1bc9fb=_0x5c77f4;var {after:_0x487e57,before:_0x9bba35,column:_0x2edb92,record:_0x4d7c67,row:_0x5afdad}=_0x95e57d[_0x1bc9fb(0x1cb)];if(ValueUtil[_0x1bc9fb(0x1ae)](_0x487e57,_0x9bba35))return;var _0xa47fb0=_0x2edb92['validation'];if(_0xa47fb0&&_0x1bc9fb(0x19f)==typeof _0xa47fb0&&!_0xa47fb0['call'](this,_0x487e57,_0x9bba35,_0x4d7c67,_0x2edb92))return;let _0x2b037c=_0x2edb92[_0x1bc9fb(0x19d)];_0x4d7c67[_0x2b037c]=_0x487e57,_0x4d7c67[_0x1bc9fb(0x1b5)]=_0x4d7c67['__dirtyfields__']||{},_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c]={'before':_0x4d7c67[_0x1bc9fb(0x1d7)][_0x2b037c],'after':_0x4d7c67[_0x2b037c]},ValueUtil[_0x1bc9fb(0x1ae)](_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c]['before'],_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c][_0x1bc9fb(0x1db)])&&delete _0x4d7c67['__dirtyfields__'][_0x2b037c],ValueUtil[_0x1bc9fb(0x1c2)](_0x4d7c67[_0x1bc9fb(0x1b5)])?_0x4d7c67[_0x1bc9fb(0x1c8)]='M':_0x4d7c67[_0x1bc9fb(0x1c8)]='',this[_0x1bc9fb(0x192)]={..._0x4d7c67};});}async['firstUpdated'](){const _0x2d3bc4=a0_0x487acb;super['firstUpdated']&&await super[_0x2d3bc4(0x1a7)]();}async[a0_0x487acb(0x1b8)](){const _0x243681=a0_0x487acb;this['isPage']&&await this[_0x243681(0x1c4)](),super[_0x243681(0x1b8)]&&await super[_0x243681(0x1b8)](),this[_0x243681(0x1ac)]&&await this[_0x243681(0x1b0)]();}['render'](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x50dc71){const _0x48b1c3=a0_0x487acb;this[_0x48b1c3(0x1d2)]=_0x50dc71[_0x48b1c3(0x1cd)],this[_0x48b1c3(0x1c5)]=_0x50dc71[_0x48b1c3(0x1d4)],_0x50dc71[_0x48b1c3(0x194)]=_0x50dc71[_0x48b1c3(0x194)][_0x48b1c3(0x195)](_0x43982f=>_0x48b1c3(0x198)==_0x43982f[_0x48b1c3(0x19d)]);}async['parseFormConfigs'](){const _0xadbc10=a0_0x487acb;this[_0xadbc10(0x19b)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x487acb(0x1a2)](){const _0x43a922=a0_0x487acb;return this[_0x43a922(0x1c3)](this['record'][_0x43a922(0x1d7)]);}get[a0_0x487acb(0x1bb)](){const _0x6520ff=a0_0x487acb;if(ValueUtil[_0x6520ff(0x1a6)](this['record'][_0x6520ff(0x1b5)]))return{};let _0x6c271a={};return Object[_0x6520ff(0x1bc)](this[_0x6520ff(0x192)]['__dirtyfields__'])[_0x6520ff(0x1aa)](([_0xde82b2,_0x2d4ae3])=>{const _0x48d159=_0x6520ff;0x0==_0xde82b2[_0x48d159(0x199)]('__')&&(_0x6c271a[_0xde82b2]=_0x2d4ae3['after']);}),_0x6c271a;}get['currentData'](){const _0x17db6d=a0_0x487acb;return this[_0x17db6d(0x1c3)](this[_0x17db6d(0x192)]);}['removeGarbageData'](_0x1635aa){const _0x537c0a=a0_0x487acb;let _0x3bf0f6={};return Object[_0x537c0a(0x1bc)](_0x1635aa)[_0x537c0a(0x1aa)](([_0x307cd1,_0x4f8692])=>{0x0==_0x307cd1['startsWith']('__')&&(_0x3bf0f6[_0x307cd1]=_0x4f8692);}),_0x3bf0f6;}get[a0_0x487acb(0x1ad)](){const _0x550f7c=a0_0x487acb;let _0x542880=this[_0x550f7c(0x1bb)],_0x2cde9a=this[_0x550f7c(0x192)];return ValueUtil['isEmpty'](_0x542880)?[]:(ValueUtil[_0x550f7c(0x1c2)](_0x2cde9a['id'])?(_0x542880['id']=_0x2cde9a['id'],_0x542880[_0x550f7c(0x1d6)]='M'):_0x542880[_0x550f7c(0x1d6)]='+',Object[_0x550f7c(0x1cc)](_0x542880)[_0x550f7c(0x1c9)](_0x2b7250=>{const _0x3b0127=_0x550f7c;_0x3b0127(0x1d0)==typeof _0x542880[_0x2b7250]&&(_0x542880[_0x2b7250]={'id':_0x542880[_0x2b7250]['id']});}),[_0x542880]);}async[a0_0x487acb(0x1b0)](){const _0xb18a5d=a0_0x487acb;if(ValueUtil['isEmpty'](this[_0xb18a5d(0x193)]))return;let _0x5a0bd9=await this[_0xb18a5d(0x1b9)](this[_0xb18a5d(0x193)]);_0x5a0bd9[_0xb18a5d(0x19c)]=0x1;let _0x14a6e3={};Object['assign'](_0x14a6e3,_0x5a0bd9),_0x5a0bd9[_0xb18a5d(0x1d7)]=_0x14a6e3,this['record']={..._0x5a0bd9};}async[a0_0x487acb(0x198)](){const _0x5a8aa8=a0_0x487acb;let _0x2d47dd=this[_0x5a8aa8(0x1ad)];if(ValueUtil[_0x5a8aa8(0x1a6)](_0x2d47dd))return void MetaApi['showAlertPopup'](_0x5a8aa8(0x1d5),_0x5a8aa8(0x1a4));let _0x104267=await this[_0x5a8aa8(0x1c1)](_0x2d47dd);return _0x104267&&await this[_0x5a8aa8(0x1b0)](),_0x104267;}async[a0_0x487acb(0x1b1)](){const _0x1cfb33=a0_0x487acb;this[_0x1cfb33(0x192)]&&(this['record']={});}};
1
+ const a0_0x4ef188=a0_0x3f51;(function(_0x5d57fc,_0x5ded7e){const _0x4ac5f5=a0_0x3f51,_0x4923b3=_0x5d57fc();while(!![]){try{const _0x54a39f=-parseInt(_0x4ac5f5(0xb7))/0x1*(parseInt(_0x4ac5f5(0xc1))/0x2)+-parseInt(_0x4ac5f5(0x90))/0x3+-parseInt(_0x4ac5f5(0x7b))/0x4+parseInt(_0x4ac5f5(0x93))/0x5+parseInt(_0x4ac5f5(0xa6))/0x6*(-parseInt(_0x4ac5f5(0x82))/0x7)+-parseInt(_0x4ac5f5(0x7d))/0x8*(parseInt(_0x4ac5f5(0xa1))/0x9)+parseInt(_0x4ac5f5(0xbd))/0xa;if(_0x54a39f===_0x5ded7e)break;else _0x4923b3['push'](_0x4923b3['shift']());}catch(_0x2abdca){_0x4923b3['push'](_0x4923b3['shift']());}}}(a0_0x4c79,0x1cbb9));function a0_0x3f51(_0x52511b,_0x1e8775){const _0x4c799d=a0_0x4c79();return a0_0x3f51=function(_0x3f5108,_0x53c27){_0x3f5108=_0x3f5108-0x76;let _0x1cf38d=_0x4c799d[_0x3f5108];return _0x1cf38d;},a0_0x3f51(_0x52511b,_0x1e8775);}function a0_0x4c79(){const _0x29c772=['editable','after','properties','clear','filter','146748wYgXeh','title.info','before','99015CwyIvM','true','tagName','connectedCallback','grid_column','cuFlag','startsWith','config','button','getBasicFormStyles','findOne','isPage','editing','save','45zBLJfh','field-change','__dirtyfields__','assign','text.NOTHING_CHANGED','5430XmcNzl','parseFormConfigs','Esc','OX-GRID-FIELD','currentTarget','patchData','column','function','dirtyData','isElement','isEmpty','orgData','currentData','styles','parent_id','renderRoot','Enter','1FKCdNQ','firstUpdated','getBasicFormHtml','fetch','focus','target','4586080kYcfaB','getContextObject','map','__dirty__','184436HaYZVO','removeGarbageData','formColumnConfig','object','validation','isEquals','108312MCVGBK','addEventListener','48824XtSVjp','keys','detail','keydown','render','1253ucHKFp','entries','stopPropagation','isNotEmpty','removeAttribute','__origin__','key','pageInitialized','record'];a0_0x4c79=function(){return _0x29c772;};return a0_0x4c79();}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=_0x56173c=>class extends MetaButtonMixin(_0x56173c){static get[a0_0x4ef188(0xb3)](){const _0x1118c7=a0_0x4ef188;return MetaApi[_0x1118c7(0x9c)]();}static get[a0_0x4ef188(0x8d)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x5c2da2=a0_0x4ef188;return MetaUiUtil[_0x5c2da2(0xbe)](this);}async[a0_0x4ef188(0x96)](){const _0x4fa294=a0_0x4ef188;if(this['config']){let {column:_0x2346b5=0x1}=this[_0x4fa294(0x9a)];this[_0x4fa294(0xac)]=_0x2346b5;}await this['getAndParseMenuMeta'](),this[_0x4fa294(0xaf)]&&await this['parseFormConfigs'](),super['connectedCallback']&&await super[_0x4fa294(0x96)](),this[_0x4fa294(0xaf)]&&await this['fetch'](),this[_0x4fa294(0xb5)][_0x4fa294(0x7c)](_0x4fa294(0x80),_0x42b1b2=>{const _0x2f852d=_0x4fa294;switch(_0x42b1b2[_0x2f852d(0x88)]){case _0x2f852d(0xa8):case'Escape':case _0x2f852d(0xb6):this[_0x2f852d(0xbb)](),this[_0x2f852d(0xaa)]&&this[_0x2f852d(0xaa)][_0x2f852d(0x86)](_0x2f852d(0x9f)),this[_0x2f852d(0xaa)]=null;}}),this[_0x4fa294(0xb5)][_0x4fa294(0x7c)]('click',_0x54640d=>{const _0x75b92a=_0x4fa294;_0x54640d[_0x75b92a(0x84)]();let _0x3ad9ca=_0x54640d[_0x75b92a(0xbc)];if(this['currentTarget']&&(this[_0x75b92a(0xbb)](),this[_0x75b92a(0xaa)][_0x75b92a(0x86)](_0x75b92a(0x9f))),_0x75b92a(0xa9)!==_0x3ad9ca[_0x75b92a(0x95)]||!_0x3ad9ca[_0x75b92a(0xac)]['record'][_0x75b92a(0x8b)])return this[_0x75b92a(0xbb)](),void(this['currentTarget']=null);this[_0x75b92a(0xaa)]=_0x3ad9ca,_0x3ad9ca['setAttribute'](_0x75b92a(0x9f),_0x75b92a(0x94));}),this['addEventListener'](_0x4fa294(0xa2),_0x32ea4b=>{const _0x2dbe7a=_0x4fa294;var {after:_0x14060e,before:_0x5583be,column:_0x1c7bfe,record:_0x2c95c4,row:_0x2172e1}=_0x32ea4b[_0x2dbe7a(0x7f)];if(ValueUtil[_0x2dbe7a(0x7a)](_0x14060e,_0x5583be))return;var _0x5f4411=_0x1c7bfe[_0x2dbe7a(0x79)];if(_0x5f4411&&_0x2dbe7a(0xad)==typeof _0x5f4411&&!_0x5f4411['call'](this,_0x14060e,_0x5583be,_0x2c95c4,_0x1c7bfe))return;let _0x1033a4=_0x1c7bfe['name'];_0x2c95c4[_0x1033a4]=_0x14060e,_0x2c95c4[_0x2dbe7a(0xa3)]=_0x2c95c4['__dirtyfields__']||{},_0x2c95c4['__dirtyfields__'][_0x1033a4]={'before':_0x2c95c4[_0x2dbe7a(0x87)][_0x1033a4],'after':_0x2c95c4[_0x1033a4]},ValueUtil[_0x2dbe7a(0x7a)](_0x2c95c4[_0x2dbe7a(0xa3)][_0x1033a4][_0x2dbe7a(0x92)],_0x2c95c4[_0x2dbe7a(0xa3)][_0x1033a4][_0x2dbe7a(0x8c)])&&delete _0x2c95c4[_0x2dbe7a(0xa3)][_0x1033a4],ValueUtil[_0x2dbe7a(0x85)](_0x2c95c4['__dirtyfields__'])?_0x2c95c4['__dirty__']='M':_0x2c95c4[_0x2dbe7a(0xc0)]='',this[_0x2dbe7a(0x8a)]={..._0x2c95c4};});}async['firstUpdated'](){const _0xb8399a=a0_0x4ef188;super[_0xb8399a(0xb8)]&&await super[_0xb8399a(0xb8)]();}async[a0_0x4ef188(0x89)](){const _0x270127=a0_0x4ef188;this[_0x270127(0x9e)]&&await this[_0x270127(0xa7)](),super[_0x270127(0x89)]&&await super[_0x270127(0x89)](),this[_0x270127(0x9e)]&&await this['fetch']();}[a0_0x4ef188(0x81)](){const _0x5a4dec=a0_0x4ef188;return MetaApi[_0x5a4dec(0xb9)](this);}['parseBasicFormConfigs'](_0x284990){const _0x2ad673=a0_0x4ef188;this[_0x2ad673(0x77)]=_0x284990[_0x2ad673(0x97)],this['formRenderConfig']=_0x284990['form'],_0x284990[_0x2ad673(0x9b)]=_0x284990[_0x2ad673(0x9b)][_0x2ad673(0x8f)](_0x39d409=>_0x2ad673(0xa0)==_0x39d409['name']);}async[a0_0x4ef188(0xa7)](){this['formConfigSet']=await MetaApi['parseFormConfigSet'](this);}get[a0_0x4ef188(0xb1)](){const _0xfc9d75=a0_0x4ef188;return this['removeGarbageData'](this['record'][_0xfc9d75(0x87)]);}get[a0_0x4ef188(0xae)](){const _0x11ca6e=a0_0x4ef188;if(ValueUtil[_0x11ca6e(0xb0)](this[_0x11ca6e(0x8a)][_0x11ca6e(0xa3)]))return{};let _0x2c38a8={};return Object['entries'](this[_0x11ca6e(0x8a)][_0x11ca6e(0xa3)])['map'](([_0x3a0cf9,_0x472208])=>{const _0x47f808=_0x11ca6e;0x0==_0x3a0cf9[_0x47f808(0x99)]('__')&&(_0x2c38a8[_0x3a0cf9]=_0x472208[_0x47f808(0x8c)]);}),_0x2c38a8;}get[a0_0x4ef188(0xb2)](){const _0x510e4d=a0_0x4ef188;return this[_0x510e4d(0x76)](this[_0x510e4d(0x8a)]);}['removeGarbageData'](_0x1abbca){const _0x126047=a0_0x4ef188;let _0x4a653a={};return Object[_0x126047(0x83)](_0x1abbca)[_0x126047(0xbf)](([_0x47e34f,_0x24cbc6])=>{const _0x4001cb=_0x126047;0x0==_0x47e34f[_0x4001cb(0x99)]('__')&&(_0x4a653a[_0x47e34f]=_0x24cbc6);}),_0x4a653a;}get[a0_0x4ef188(0xab)](){const _0x38989b=a0_0x4ef188;let _0x1712db=this[_0x38989b(0xae)],_0x252b1b=this[_0x38989b(0x8a)];return ValueUtil['isEmpty'](_0x1712db)?[]:(ValueUtil[_0x38989b(0x85)](_0x252b1b['id'])?(_0x1712db['id']=_0x252b1b['id'],_0x1712db['cuFlag']='M'):_0x1712db[_0x38989b(0x98)]='+',Object[_0x38989b(0x7e)](_0x1712db)['forEach'](_0x193a8d=>{const _0x1137af=_0x38989b;_0x1137af(0x78)==typeof _0x1712db[_0x193a8d]&&(_0x1712db[_0x193a8d]={'id':_0x1712db[_0x193a8d]['id']});}),[_0x1712db]);}async['fetch'](){const _0x157e0f=a0_0x4ef188;if(ValueUtil[_0x157e0f(0xb0)](this['parent_id']))return;let _0x401041=await this[_0x157e0f(0x9d)](this[_0x157e0f(0xb4)]);_0x401041['__seq__']=0x1;let _0x4ca537={};Object[_0x157e0f(0xa4)](_0x4ca537,_0x401041),_0x401041[_0x157e0f(0x87)]=_0x4ca537,this[_0x157e0f(0x8a)]={..._0x401041};}async['save'](){const _0x1670f=a0_0x4ef188;let _0x27237d=this[_0x1670f(0xab)];if(ValueUtil['isEmpty'](_0x27237d))return void MetaApi['showAlertPopup'](_0x1670f(0x91),_0x1670f(0xa5));let _0x68aead=await this['updateMultiple'](_0x27237d);return _0x68aead&&await this[_0x1670f(0xba)](),_0x68aead;}async[a0_0x4ef188(0x8e)](){const _0x5b1ccf=a0_0x4ef188;this[_0x5b1ccf(0x8a)]&&(this[_0x5b1ccf(0x8a)]={});}};
@@ -1 +1 @@
1
- const a0_0x38febb=a0_0x4cfb;(function(_0x5735db,_0x19e187){const _0x454ccc=a0_0x4cfb,_0x26ddd8=_0x5735db();while(!![]){try{const _0x11183b=parseInt(_0x454ccc(0x128))/0x1*(-parseInt(_0x454ccc(0x15a))/0x2)+-parseInt(_0x454ccc(0x135))/0x3*(-parseInt(_0x454ccc(0x138))/0x4)+-parseInt(_0x454ccc(0x130))/0x5*(-parseInt(_0x454ccc(0x13c))/0x6)+parseInt(_0x454ccc(0x145))/0x7*(-parseInt(_0x454ccc(0x12b))/0x8)+-parseInt(_0x454ccc(0x14e))/0x9+-parseInt(_0x454ccc(0x14f))/0xa*(-parseInt(_0x454ccc(0x12f))/0xb)+parseInt(_0x454ccc(0x161))/0xc;if(_0x11183b===_0x19e187)break;else _0x26ddd8['push'](_0x26ddd8['shift']());}catch(_0x66276e){_0x26ddd8['push'](_0x26ddd8['shift']());}}}(a0_0x883c,0xedc99));import{html}from'lit';function a0_0x4cfb(_0x48ca9e,_0x48dfd3){const _0x883c90=a0_0x883c();return a0_0x4cfb=function(_0x4cfbb6,_0xfa58e6){_0x4cfbb6=_0x4cfbb6-0x121;let _0x323abf=_0x883c90[_0x4cfbb6];return _0x323abf;},a0_0x4cfb(_0x48ca9e,_0x48dfd3);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x883c(){const _0x440b9b=['13222HqZfVo','595025FlGlTK','name','actions','delete','record','2973potUfJ','patchesForUpdateMultiple','grid_column','2324mzjiCV','grist','meta-tab-element','shadowRoot','42VnSLHY','querySelector','filterFormId','filter','parseBasicGridConfigs','parseGridConfigSet','map','isNotEmpty','updateMultiple','7nDPdWy','getContextObject','isPage','getSelectedIdList','tTitle','grid','search','deleteByIds','ox-filters-form-base','4438800VoTWIp','9740yEwfgD','useFilterForm','gristId','importable','beforeFetch','type','save','header','connectedCallback','operator','pageInitialized','2064262crDcxB','context','gridConfig','fetch','title','gristConfigSet','import','21393744bLfCnv','exportableData','clear','isElement','renderRoot','firstUpdated','parseGristConfigs','render','1zGaPFW','filterForm','gridColumnConfig','14904464uQWfXs','menuInfo','exportable','options'];a0_0x883c=function(){return _0x440b9b;};return a0_0x883c();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x28cfc3=>class extends MetaButtonMixin(_0x28cfc3){static get['styles'](){return MetaApi['getBasicGristTabStyles']();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x38febb(0x139)](){const _0x8d1ff9=a0_0x38febb;return this['renderRoot'][_0x8d1ff9(0x13d)](this[_0x8d1ff9(0x151)]);}get[a0_0x38febb(0x129)](){const _0x2bb862=a0_0x38febb;return this[_0x2bb862(0x13b)]?.[_0x2bb862(0x13d)](this[_0x2bb862(0x13e)]);}get[a0_0x38febb(0x15b)](){const _0x1ec500=a0_0x38febb;let _0x2b9be8=MetaUiUtil[_0x1ec500(0x146)](this);return _0x2b9be8['actions']&&delete _0x2b9be8[_0x1ec500(0x132)],_0x2b9be8[_0x1ec500(0x12d)]&&delete _0x2b9be8['exportable'],_0x2b9be8[_0x1ec500(0x152)]&&delete _0x2b9be8[_0x1ec500(0x152)],_0x2b9be8;}async[a0_0x38febb(0x157)](){const _0x157d1c=a0_0x38febb;this[_0x157d1c(0x151)]='ox-grist',this[_0x157d1c(0x13e)]=_0x157d1c(0x14d),await this['getAndParseMenuMeta'](),this[_0x157d1c(0x123)]&&await this[_0x157d1c(0x126)](),super[_0x157d1c(0x157)]&&await super[_0x157d1c(0x157)]();}async['firstUpdated'](){const _0x464bc1=a0_0x38febb;super[_0x464bc1(0x125)]&&await super[_0x464bc1(0x125)]();}async[a0_0x38febb(0x159)](){const _0x35a3a7=a0_0x38febb;this[_0x35a3a7(0x147)]&&await this[_0x35a3a7(0x126)](),super[_0x35a3a7(0x159)]&&await super[_0x35a3a7(0x159)]();}[a0_0x38febb(0x127)](){return MetaApi['getGristTabHtml'](this);}[a0_0x38febb(0x140)](_0x11dd3b){const _0x53b21b=a0_0x38febb;this[_0x53b21b(0x15c)]=_0x11dd3b[_0x53b21b(0x14a)],this[_0x53b21b(0x12a)]=_0x11dd3b[_0x53b21b(0x137)],this['searchConfig']=_0x11dd3b[_0x53b21b(0x14b)];}async[a0_0x38febb(0x126)](){const _0x4b902e=a0_0x38febb;this[_0x4b902e(0x15f)]=await MetaApi[_0x4b902e(0x141)](this),this['useMasterFilterForm']=this[_0x4b902e(0x150)],this['useFilterForm']=!0x1,this['searchFields']=this[_0x4b902e(0x15f)]['columns'][_0x4b902e(0x13f)](_0x11645b=>_0x11645b[_0x4b902e(0x13f)])[_0x4b902e(0x142)](_0x148d4a=>{const _0x4ce14f=_0x4b902e;let _0x2587c5={'name':_0x148d4a[_0x4ce14f(0x131)],'type':_0x148d4a[_0x4ce14f(0x154)],'label':_0x148d4a[_0x4ce14f(0x156)],'operator':_0x148d4a[_0x4ce14f(0x13f)][_0x4ce14f(0x158)]?_0x148d4a[_0x4ce14f(0x13f)]['operator']:'eq'};return _0x148d4a[_0x4ce14f(0x134)][_0x4ce14f(0x12e)]&&(_0x2587c5[_0x4ce14f(0x12e)]=_0x148d4a['record'][_0x4ce14f(0x12e)]),_0x2587c5;});}async[a0_0x38febb(0x15d)](){const _0x398fc2=a0_0x38febb;await this[_0x398fc2(0x139)][_0x398fc2(0x15d)]();}async[a0_0x38febb(0x153)]({page:_0x42fef0=0x0,limit:_0x116bb3=0x0,sortings:_0x5220e2=[],filters:_0x225432=[]}){const _0xef95d5=a0_0x38febb;let _0x424360=this[_0xef95d5(0x124)][_0xef95d5(0x13d)](_0xef95d5(0x13a));return await _0x424360[_0xef95d5(0x122)](),!0x0;}async[a0_0x38febb(0x155)](){const _0x2e1f7f=a0_0x38febb;let _0x19bc9d=MetaApi[_0x2e1f7f(0x136)](this[_0x2e1f7f(0x139)]);!!ValueUtil['isNotEmpty'](_0x19bc9d)&&await this[_0x2e1f7f(0x144)](_0x19bc9d)&&this[_0x2e1f7f(0x15d)]();}async['find'](){const _0x4c0563=a0_0x38febb;let _0x2ad107=MetaApi['getSelectedIdList'](this[_0x4c0563(0x139)],!0x0);return ValueUtil['isNotEmpty'](_0x2ad107)?await this['findOne'](_0x2ad107[0x0]):{};}async[a0_0x38febb(0x133)](){const _0x4e1d91=a0_0x38febb;let _0x1f74f9=MetaApi[_0x4e1d91(0x148)](this[_0x4e1d91(0x139)],!0x0);!!ValueUtil[_0x4e1d91(0x143)](_0x1f74f9)&&await this[_0x4e1d91(0x14c)](_0x1f74f9)&&this[_0x4e1d91(0x15d)]();}async['export'](){const _0x5bd341=a0_0x38febb;let _0x157814=TermsUtil[_0x5bd341(0x149)](ValueUtil['getParams'](this[_0x5bd341(0x12c)],_0x5bd341(0x15e)));return await MetaApi[_0x5bd341(0x121)](this['isElement'],_0x157814,this[_0x5bd341(0x139)]);}async[a0_0x38febb(0x160)](){}};
1
+ const a0_0x3d4ea1=a0_0x1414;(function(_0x4e0fe0,_0x291716){const _0x3e9baf=a0_0x1414,_0x1877c2=_0x4e0fe0();while(!![]){try{const _0x12e40e=-parseInt(_0x3e9baf(0xd6))/0x1+parseInt(_0x3e9baf(0xd3))/0x2*(-parseInt(_0x3e9baf(0xf9))/0x3)+-parseInt(_0x3e9baf(0xe6))/0x4*(parseInt(_0x3e9baf(0x109))/0x5)+parseInt(_0x3e9baf(0xf8))/0x6+-parseInt(_0x3e9baf(0xd1))/0x7+parseInt(_0x3e9baf(0xdb))/0x8+parseInt(_0x3e9baf(0xff))/0x9;if(_0x12e40e===_0x291716)break;else _0x1877c2['push'](_0x1877c2['shift']());}catch(_0x451313){_0x1877c2['push'](_0x1877c2['shift']());}}}(a0_0x11d8,0x40a0c));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x1414(_0x1eee35,_0x5b8594){const _0x11d8dc=a0_0x11d8();return a0_0x1414=function(_0x1414d2,_0x4936ad){_0x1414d2=_0x1414d2-0xcb;let _0x59bb1a=_0x11d8dc[_0x1414d2];return _0x59bb1a;},a0_0x1414(_0x1eee35,_0x5b8594);}function a0_0x11d8(){const _0x3bac45=['gristId','map','pageInitialized','delete','actions','471079JjySGL','columns','10EgPdsb','render','title','162879PZkjru','importable','styles','patchesForUpdateMultiple','parseBasicGridConfigs','2457264sERiiK','getContextObject','filter','useMasterFilterForm','meta-tab-element','firstUpdated','isElement','getAndParseMenuMeta','ox-filters-form-base','renderRoot','getSelectedIdList','100NRMpUj','properties','search','record','operator','grist','getBasicGristTabStyles','context','shadowRoot','grid','searchFields','filterForm','querySelector','clear','gristConfigSet','import','menuInfo','fetch','1187442wuPYCz','179205UQXtkQ','grid_column','name','type','isPage','gridColumnConfig','5831343whgvBo','filterFormId','isNotEmpty','parseGristConfigs','exportableData','useFilterForm','export','beforeFetch','exportable','options','71885digTqq','gridConfig','getParams','connectedCallback'];a0_0x11d8=function(){return _0x3bac45;};return a0_0x11d8();}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x58bb4f=>class extends MetaButtonMixin(_0x58bb4f){static get[a0_0x3d4ea1(0xd8)](){const _0x425c03=a0_0x3d4ea1;return MetaApi[_0x425c03(0xec)]();}static get[a0_0x3d4ea1(0xe7)](){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['grist'](){const _0x20a6e2=a0_0x3d4ea1;return this['renderRoot'][_0x20a6e2(0xf2)](this[_0x20a6e2(0xcc)]);}get[a0_0x3d4ea1(0xf1)](){const _0xd7cace=a0_0x3d4ea1;return this[_0xd7cace(0xee)]?.[_0xd7cace(0xf2)](this[_0xd7cace(0x100)]);}get[a0_0x3d4ea1(0xed)](){const _0x2605dd=a0_0x3d4ea1;let _0x1a3299=MetaUiUtil[_0x2605dd(0xdc)](this);return _0x1a3299[_0x2605dd(0xd0)]&&delete _0x1a3299['actions'],_0x1a3299[_0x2605dd(0x107)]&&delete _0x1a3299[_0x2605dd(0x107)],_0x1a3299[_0x2605dd(0xd7)]&&delete _0x1a3299[_0x2605dd(0xd7)],_0x1a3299;}async[a0_0x3d4ea1(0xcb)](){const _0x37e4b1=a0_0x3d4ea1;this[_0x37e4b1(0xcc)]='ox-grist',this[_0x37e4b1(0x100)]=_0x37e4b1(0xe3),await this[_0x37e4b1(0xe2)](),this['isElement']&&await this[_0x37e4b1(0x102)](),super['connectedCallback']&&await super[_0x37e4b1(0xcb)]();}async[a0_0x3d4ea1(0xe0)](){const _0xf92e11=a0_0x3d4ea1;super[_0xf92e11(0xe0)]&&await super[_0xf92e11(0xe0)]();}async[a0_0x3d4ea1(0xce)](){const _0x45622c=a0_0x3d4ea1;this[_0x45622c(0xfd)]&&await this[_0x45622c(0x102)](),super[_0x45622c(0xce)]&&await super[_0x45622c(0xce)]();}[a0_0x3d4ea1(0xd4)](){return MetaApi['getGristTabHtml'](this);}[a0_0x3d4ea1(0xda)](_0x5685d4){const _0x4bbc2d=a0_0x3d4ea1;this[_0x4bbc2d(0x10a)]=_0x5685d4[_0x4bbc2d(0xef)],this[_0x4bbc2d(0xfe)]=_0x5685d4[_0x4bbc2d(0xfa)],this['searchConfig']=_0x5685d4[_0x4bbc2d(0xe8)];}async[a0_0x3d4ea1(0x102)](){const _0x5d147c=a0_0x3d4ea1;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x5d147c(0xde)]=this[_0x5d147c(0x104)],this[_0x5d147c(0x104)]=!0x1,this[_0x5d147c(0xf0)]=this[_0x5d147c(0xf4)][_0x5d147c(0xd2)][_0x5d147c(0xdd)](_0xcc8439=>_0xcc8439[_0x5d147c(0xdd)])[_0x5d147c(0xcd)](_0x58c4e8=>{const _0x30335b=_0x5d147c;let _0x282b84={'name':_0x58c4e8[_0x30335b(0xfb)],'type':_0x58c4e8[_0x30335b(0xfc)],'label':_0x58c4e8['header'],'operator':_0x58c4e8[_0x30335b(0xdd)][_0x30335b(0xea)]?_0x58c4e8[_0x30335b(0xdd)][_0x30335b(0xea)]:'eq'};return _0x58c4e8[_0x30335b(0xe9)][_0x30335b(0x108)]&&(_0x282b84[_0x30335b(0x108)]=_0x58c4e8[_0x30335b(0xe9)][_0x30335b(0x108)]),_0x282b84;});}async[a0_0x3d4ea1(0xf7)](){const _0x4da6bb=a0_0x3d4ea1;await this[_0x4da6bb(0xeb)][_0x4da6bb(0xf7)]();}async[a0_0x3d4ea1(0x106)]({page:_0x104b94=0x0,limit:_0x109d5c=0x0,sortings:_0x21d53a=[],filters:_0x461824=[]}){const _0x345f62=a0_0x3d4ea1;let _0xdecafa=this[_0x345f62(0xe4)]['querySelector'](_0x345f62(0xdf));return await _0xdecafa[_0x345f62(0xf3)](),!0x0;}async['save'](){const _0x24d123=a0_0x3d4ea1;let _0x29dedb=MetaApi[_0x24d123(0xd9)](this['grist']);!!ValueUtil['isNotEmpty'](_0x29dedb)&&await this['updateMultiple'](_0x29dedb)&&this[_0x24d123(0xf7)]();}async['find'](){const _0x1c454d=a0_0x3d4ea1;let _0x2aadc7=MetaApi['getSelectedIdList'](this[_0x1c454d(0xeb)],!0x0);return ValueUtil[_0x1c454d(0x101)](_0x2aadc7)?await this['findOne'](_0x2aadc7[0x0]):{};}async[a0_0x3d4ea1(0xcf)](){const _0x4407e3=a0_0x3d4ea1;let _0x2060b5=MetaApi[_0x4407e3(0xe5)](this[_0x4407e3(0xeb)],!0x0);!!ValueUtil[_0x4407e3(0x101)](_0x2060b5)&&await this['deleteByIds'](_0x2060b5)&&this['fetch']();}async[a0_0x3d4ea1(0x105)](){const _0x24829e=a0_0x3d4ea1;let _0x1968db=TermsUtil['tTitle'](ValueUtil[_0x24829e(0x10b)](this[_0x24829e(0xf6)],_0x24829e(0xd5)));return await MetaApi[_0x24829e(0x103)](this[_0x24829e(0xe1)],_0x1968db,this[_0x24829e(0xeb)]);}async[a0_0x3d4ea1(0xf5)](){}};
@@ -1 +1 @@
1
- const a0_0x3bcccd=a0_0x5595;(function(_0x45c676,_0x2d6a34){const _0x4a63d1=a0_0x5595,_0x868b3d=_0x45c676();while(!![]){try{const _0x5d6c12=-parseInt(_0x4a63d1(0xcc))/0x1+-parseInt(_0x4a63d1(0xbd))/0x2+parseInt(_0x4a63d1(0xdc))/0x3*(-parseInt(_0x4a63d1(0xc4))/0x4)+-parseInt(_0x4a63d1(0xde))/0x5*(parseInt(_0x4a63d1(0xce))/0x6)+-parseInt(_0x4a63d1(0xb4))/0x7+parseInt(_0x4a63d1(0xa4))/0x8*(parseInt(_0x4a63d1(0xad))/0x9)+parseInt(_0x4a63d1(0xb5))/0xa;if(_0x5d6c12===_0x2d6a34)break;else _0x868b3d['push'](_0x868b3d['shift']());}catch(_0x5d6004){_0x868b3d['push'](_0x868b3d['shift']());}}}(a0_0x3b34,0xe1ee5));function a0_0x3b34(){const _0x3c6e4b=['firstUpdated','\x22\x20route_name=\x22','gristId','ox-grist','import','deleteByIds','12wPQxMK','detailElement','shadowRoot','grist','type','clear','findOne','beforeFetch','1559170TSwZjp','find','18daJdwP','name','filter','createDetailElement','fetch','getMasterDetailHtml','\x20id=\x22','gridColumnConfig','renderRoot','gristConfigSet','querySelector','menuInfo','parseGristConfigs','getSelectedIdList','783948gssSaa','tagname','1558045DwinjR','options','save','parseGridConfigSet','record','patchesForUpdateMultiple','pageInitialized','tTitle','columns','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','importable','getAndParseMenuMeta','header','export','3965336pDFpXR','ox-filters-form-base','title','map','operator','useMasterFilterForm','searchFields','grid','search','9aoSvLJ','connectedCallback','getContextObject','parseBasicGridConfigs','exportable','render','getBasicMasterDetailStyles','6815809cfhCZK','49295080zNjKlh','grid_column','isNotEmpty','isElement','routing','filterFormId','isPage','useFilterForm','496260LLmJTI'];a0_0x3b34=function(){return _0x3c6e4b;};return a0_0x3b34();}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5595(_0x44847a,_0x5948d4){const _0x3b34ea=a0_0x3b34();return a0_0x5595=function(_0x55959a,_0x4a99ab){_0x55959a=_0x55959a-0xa4;let _0x1ba77b=_0x3b34ea[_0x55959a];return _0x1ba77b;},a0_0x5595(_0x44847a,_0x5948d4);}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0xbacf45=>class extends MetaButtonMixin(_0xbacf45){static get['styles'](){const _0x4647e0=a0_0x5595;return MetaApi[_0x4647e0(0xb3)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0x15dba3=a0_0x5595;return this[_0x15dba3(0xd6)][_0x15dba3(0xd8)](this['gristId']);}get['filterForm'](){const _0x259ad8=a0_0x5595;return this[_0x259ad8(0xc6)]?.[_0x259ad8(0xd8)](this[_0x259ad8(0xba)]);}get['context'](){const _0xf1fcde=a0_0x5595;let _0xd32baa=MetaUiUtil[_0xf1fcde(0xaf)](this);return _0xd32baa['actions']&&delete _0xd32baa['actions'],_0xd32baa[_0xf1fcde(0xb1)]&&delete _0xd32baa[_0xf1fcde(0xb1)],_0xd32baa[_0xf1fcde(0xe8)]&&delete _0xd32baa['importable'],_0xd32baa;}async[a0_0x3bcccd(0xae)](){const _0x29146e=a0_0x3bcccd;this[_0x29146e(0xc0)]=_0x29146e(0xc1),this[_0x29146e(0xba)]=_0x29146e(0xa5),await this[_0x29146e(0xe9)](),this[_0x29146e(0xb8)]&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x29146e(0xae)]();}async[a0_0x3bcccd(0xbe)](){const _0x4e466b=a0_0x3bcccd;super[_0x4e466b(0xbe)]&&await super[_0x4e466b(0xbe)]();}async[a0_0x3bcccd(0xe4)](){const _0xa2449b=a0_0x3bcccd;this[_0xa2449b(0xbb)]&&await this[_0xa2449b(0xda)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x3bcccd(0xb2)](){const _0xd3e27a=a0_0x3bcccd;return MetaApi[_0xd3e27a(0xd3)](this);}[a0_0x3bcccd(0xd1)](_0x478192){const _0x36869c=a0_0x3bcccd;if(!this[_0x36869c(0xc5)]){let _0x9d1be2=_0x478192['name']?_0x478192[_0x36869c(0xcf)]:'detail',_0x427925='<'+_0x478192[_0x36869c(0xdd)]+_0x36869c(0xd4)+_0x9d1be2+'\x22\x20name=\x22'+_0x9d1be2+_0x36869c(0xbf)+_0x478192[_0x36869c(0xb9)]+_0x36869c(0xe7)+_0x478192['tagname']+'>';this[_0x36869c(0xc5)]=UiUtil['htmlToElement'](_0x427925);}}[a0_0x3bcccd(0xb0)](_0x54ce8f){const _0x343534=a0_0x3bcccd;this['gridConfig']=_0x54ce8f[_0x343534(0xab)],this[_0x343534(0xd5)]=_0x54ce8f[_0x343534(0xb6)],this['searchConfig']=_0x54ce8f[_0x343534(0xac)];}async[a0_0x3bcccd(0xda)](){const _0xeae6d1=a0_0x3bcccd;this[_0xeae6d1(0xd7)]=await MetaApi[_0xeae6d1(0xe1)](this),this[_0xeae6d1(0xa9)]=this['useFilterForm'],this[_0xeae6d1(0xbc)]=!0x1,this[_0xeae6d1(0xaa)]=this[_0xeae6d1(0xd7)][_0xeae6d1(0xe6)][_0xeae6d1(0xd0)](_0x217cdc=>_0x217cdc['filter'])[_0xeae6d1(0xa7)](_0x3949ef=>{const _0x4ebeca=_0xeae6d1;let _0x3ff82b={'name':_0x3949ef['name'],'type':_0x3949ef[_0x4ebeca(0xc8)],'label':_0x3949ef[_0x4ebeca(0xea)],'operator':_0x3949ef[_0x4ebeca(0xd0)][_0x4ebeca(0xa8)]?_0x3949ef[_0x4ebeca(0xd0)][_0x4ebeca(0xa8)]:'eq'};return _0x3949ef[_0x4ebeca(0xe2)][_0x4ebeca(0xdf)]&&(_0x3ff82b[_0x4ebeca(0xdf)]=_0x3949ef[_0x4ebeca(0xe2)][_0x4ebeca(0xdf)]),_0x3ff82b;});}async[a0_0x3bcccd(0xd2)](){await this['grist']['fetch']();}async[a0_0x3bcccd(0xcb)]({page:_0x1d6584=0x0,limit:_0x47ceba=0x0,sortings:_0x6bed63=[],filters:_0x26c6c4=[]}){const _0x1cf150=a0_0x3bcccd;return this[_0x1cf150(0xc5)]&&this['detailElement'][_0x1cf150(0xc9)]&&await this[_0x1cf150(0xc5)][_0x1cf150(0xc9)](),!0x0;}async[a0_0x3bcccd(0xe0)](){const _0x215f0c=a0_0x3bcccd;let _0x3b3b38=MetaApi[_0x215f0c(0xe3)](this['grist']);!!ValueUtil[_0x215f0c(0xb7)](_0x3b3b38)&&await this['updateMultiple'](_0x3b3b38)&&this[_0x215f0c(0xd2)]();}async[a0_0x3bcccd(0xcd)](){const _0x1bd725=a0_0x3bcccd;let _0x5635a7=MetaApi[_0x1bd725(0xdb)](this[_0x1bd725(0xc7)],!0x0);return ValueUtil[_0x1bd725(0xb7)](_0x5635a7)?await this[_0x1bd725(0xca)](_0x5635a7[0x0]):{};}async['delete'](){const _0x16515a=a0_0x3bcccd;let _0x55d255=MetaApi[_0x16515a(0xdb)](this['grist'],!0x0);!!ValueUtil[_0x16515a(0xb7)](_0x55d255)&&await this[_0x16515a(0xc3)](_0x55d255)&&this[_0x16515a(0xd2)]();}async[a0_0x3bcccd(0xeb)](){const _0x17f6a0=a0_0x3bcccd;let _0xccfacd=TermsUtil[_0x17f6a0(0xe5)](ValueUtil['getParams'](this[_0x17f6a0(0xd9)],_0x17f6a0(0xa6)));return await MetaApi['exportableData'](this[_0x17f6a0(0xb8)],_0xccfacd,this[_0x17f6a0(0xc7)]);}async[a0_0x3bcccd(0xc2)](){}};
1
+ const a0_0x32c9c6=a0_0x3468;(function(_0x569972,_0x53726e){const _0x48e1f5=a0_0x3468,_0x3dba2a=_0x569972();while(!![]){try{const _0x2cabe5=parseInt(_0x48e1f5(0x145))/0x1*(parseInt(_0x48e1f5(0x167))/0x2)+parseInt(_0x48e1f5(0x12f))/0x3*(parseInt(_0x48e1f5(0x14e))/0x4)+-parseInt(_0x48e1f5(0x15d))/0x5+parseInt(_0x48e1f5(0x140))/0x6+-parseInt(_0x48e1f5(0x16e))/0x7*(parseInt(_0x48e1f5(0x13d))/0x8)+parseInt(_0x48e1f5(0x15a))/0x9*(parseInt(_0x48e1f5(0x173))/0xa)+parseInt(_0x48e1f5(0x171))/0xb*(-parseInt(_0x48e1f5(0x13a))/0xc);if(_0x2cabe5===_0x53726e)break;else _0x3dba2a['push'](_0x3dba2a['shift']());}catch(_0x45d0ee){_0x3dba2a['push'](_0x3dba2a['shift']());}}}(a0_0x5289,0x64a29));function a0_0x3468(_0x127f38,_0x406652){const _0x5289cb=a0_0x5289();return a0_0x3468=function(_0x34688b,_0x20d0d0){_0x34688b=_0x34688b-0x12b;let _0x43f181=_0x5289cb[_0x34688b];return _0x43f181;},a0_0x3468(_0x127f38,_0x406652);}import{html}from'lit';function a0_0x5289(){const _0x3c1717=['isElement','deleteByIds','54LyFByP','export','import','2158545RVWWFS','search','exportableData','options','name','gridConfig','findOne','properties','actions','querySelector','6230adrUMh','importable','find','pageInitialized','\x22\x20route_name=\x22','fetch','detail','14NMIjqp','firstUpdated','gristConfigSet','11CjWIkU','getBasicMasterDetailStyles','1131310PuYPMl','exportable','routing','isNotEmpty','shadowRoot','\x22\x20name=\x22','searchConfig','clear','3KodRFm','delete','useFilterForm','\x20id=\x22','getParams','renderRoot','tTitle','type','map','grist','connectedCallback','7455648SxhHzr','filter','detailElement','1375520DyGSvz','getContextObject','gristId','2171892jcMYht','gridColumnConfig','useMasterFilterForm','getSelectedIdList','isPage','151BFHORU','operator','ox-grist','htmlToElement','filterForm','filterFormId','createDetailElement','parseGridConfigSet','record','1191844phjzrc','grid','parseGristConfigs','tagname','context','render','updateMultiple','searchFields','beforeFetch','getMasterDetailHtml'];a0_0x5289=function(){return _0x3c1717;};return a0_0x5289();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x5f3e06=>class extends MetaButtonMixin(_0x5f3e06){static get['styles'](){const _0x8d08d3=a0_0x3468;return MetaApi[_0x8d08d3(0x172)]();}static get[a0_0x32c9c6(0x164)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0x154bb9=a0_0x32c9c6;return this[_0x154bb9(0x134)][_0x154bb9(0x166)](this[_0x154bb9(0x13f)]);}get[a0_0x32c9c6(0x149)](){const _0x51eace=a0_0x32c9c6;return this[_0x51eace(0x12b)]?.[_0x51eace(0x166)](this[_0x51eace(0x14a)]);}get[a0_0x32c9c6(0x152)](){const _0x4b0430=a0_0x32c9c6;let _0x2372eb=MetaUiUtil[_0x4b0430(0x13e)](this);return _0x2372eb[_0x4b0430(0x165)]&&delete _0x2372eb[_0x4b0430(0x165)],_0x2372eb[_0x4b0430(0x174)]&&delete _0x2372eb[_0x4b0430(0x174)],_0x2372eb['importable']&&delete _0x2372eb[_0x4b0430(0x168)],_0x2372eb;}async[a0_0x32c9c6(0x139)](){const _0x4ae716=a0_0x32c9c6;this['gristId']=_0x4ae716(0x147),this[_0x4ae716(0x14a)]='ox-filters-form-base',await this['getAndParseMenuMeta'](),this['isElement']&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x4ae716(0x139)]();}async[a0_0x32c9c6(0x16f)](){const _0x55d845=a0_0x32c9c6;super[_0x55d845(0x16f)]&&await super[_0x55d845(0x16f)]();}async['pageInitialized'](){const _0x326bbf=a0_0x32c9c6;this[_0x326bbf(0x144)]&&await this[_0x326bbf(0x150)](),super[_0x326bbf(0x16a)]&&await super[_0x326bbf(0x16a)]();}[a0_0x32c9c6(0x153)](){const _0x38fa4f=a0_0x32c9c6;return MetaApi[_0x38fa4f(0x157)](this);}[a0_0x32c9c6(0x14b)](_0x5d84ba){const _0x19898c=a0_0x32c9c6;if(!this[_0x19898c(0x13c)]){let _0x65f903=_0x5d84ba[_0x19898c(0x161)]?_0x5d84ba[_0x19898c(0x161)]:_0x19898c(0x16d),_0x273dbd='<'+_0x5d84ba[_0x19898c(0x151)]+_0x19898c(0x132)+_0x65f903+_0x19898c(0x12c)+_0x65f903+_0x19898c(0x16b)+_0x5d84ba[_0x19898c(0x175)]+'\x22\x20is_detail=true\x20style=\x22flex:1;\x22></'+_0x5d84ba[_0x19898c(0x151)]+'>';this[_0x19898c(0x13c)]=UiUtil[_0x19898c(0x148)](_0x273dbd);}}['parseBasicGridConfigs'](_0x57e86d){const _0x591142=a0_0x32c9c6;this[_0x591142(0x162)]=_0x57e86d[_0x591142(0x14f)],this[_0x591142(0x141)]=_0x57e86d['grid_column'],this[_0x591142(0x12d)]=_0x57e86d[_0x591142(0x15e)];}async[a0_0x32c9c6(0x150)](){const _0x3a4f15=a0_0x32c9c6;this[_0x3a4f15(0x170)]=await MetaApi[_0x3a4f15(0x14c)](this),this[_0x3a4f15(0x142)]=this[_0x3a4f15(0x131)],this[_0x3a4f15(0x131)]=!0x1,this[_0x3a4f15(0x155)]=this['gristConfigSet']['columns'][_0x3a4f15(0x13b)](_0x537ea0=>_0x537ea0[_0x3a4f15(0x13b)])[_0x3a4f15(0x137)](_0x31ea54=>{const _0x367d7b=_0x3a4f15;let _0x4d5d7b={'name':_0x31ea54[_0x367d7b(0x161)],'type':_0x31ea54[_0x367d7b(0x136)],'label':_0x31ea54['header'],'operator':_0x31ea54['filter'][_0x367d7b(0x146)]?_0x31ea54[_0x367d7b(0x13b)][_0x367d7b(0x146)]:'eq'};return _0x31ea54[_0x367d7b(0x14d)]['options']&&(_0x4d5d7b['options']=_0x31ea54[_0x367d7b(0x14d)][_0x367d7b(0x160)]),_0x4d5d7b;});}async['fetch'](){const _0xcc9988=a0_0x32c9c6;await this['grist'][_0xcc9988(0x16c)]();}async[a0_0x32c9c6(0x156)]({page:_0x5858c5=0x0,limit:_0x39848d=0x0,sortings:_0x216db8=[],filters:_0x5a4da2=[]}){const _0x15e2cd=a0_0x32c9c6;return this[_0x15e2cd(0x13c)]&&this[_0x15e2cd(0x13c)][_0x15e2cd(0x12e)]&&await this[_0x15e2cd(0x13c)][_0x15e2cd(0x12e)](),!0x0;}async['save'](){const _0x2c56c5=a0_0x32c9c6;let _0x13a69c=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil['isNotEmpty'](_0x13a69c)&&await this[_0x2c56c5(0x154)](_0x13a69c)&&this[_0x2c56c5(0x16c)]();}async[a0_0x32c9c6(0x169)](){const _0x118a43=a0_0x32c9c6;let _0x2bfb39=MetaApi[_0x118a43(0x143)](this[_0x118a43(0x138)],!0x0);return ValueUtil[_0x118a43(0x176)](_0x2bfb39)?await this[_0x118a43(0x163)](_0x2bfb39[0x0]):{};}async[a0_0x32c9c6(0x130)](){const _0x81cfd=a0_0x32c9c6;let _0x229fcf=MetaApi[_0x81cfd(0x143)](this[_0x81cfd(0x138)],!0x0);!!ValueUtil[_0x81cfd(0x176)](_0x229fcf)&&await this[_0x81cfd(0x159)](_0x229fcf)&&this['fetch']();}async[a0_0x32c9c6(0x15b)](){const _0x104e64=a0_0x32c9c6;let _0xa85594=TermsUtil[_0x104e64(0x135)](ValueUtil[_0x104e64(0x133)](this['menuInfo'],'title'));return await MetaApi[_0x104e64(0x15f)](this[_0x104e64(0x158)],_0xa85594,this[_0x104e64(0x138)]);}async[a0_0x32c9c6(0x15c)](){}};
@@ -1 +1 @@
1
- function a0_0x18e8(){const _0x4b4c08=['isEmpty','gristConfigSet','getSelectColumns','gqlInfo','7090bNYUJR','isNotEmpty','getPageNavigateParams','name','searchByPagination','deleteByIds','beforeFetch','filters','value','after_set_fields','3675462nADyIR','1559444OKiJNZ','getParams','filterForm','isElement','3110808XmpJnV','forEach','mutation','properties','1315233lsHJVx','afterFetch','params','length','multiple','fetchHandler','split','3099840ZFKDvE','getQueryFilters','deleteListByIds','lifecycle','keys','func','5598qYdgMp','parseBasicServiceConfigs','2lInjts','records','5409330WbYSBg','findOne','parse','list_func','query','parent_id','pass','skip_fields','filter','includes','delete','21zSTkvw','find_one_func','map','columns','push','updateMultiple'];a0_0x18e8=function(){return _0x4b4c08;};return a0_0x18e8();}const a0_0x506c87=a0_0x14a1;(function(_0x317147,_0xc51355){const _0x15fdcd=a0_0x14a1,_0x44ff94=_0x317147();while(!![]){try{const _0x39abb1=parseInt(_0x15fdcd(0x1f7))/0x1+parseInt(_0x15fdcd(0x1cd))/0x2*(-parseInt(_0x15fdcd(0x1ee))/0x3)+-parseInt(_0x15fdcd(0x1ef))/0x4+-parseInt(_0x15fdcd(0x1c5))/0x5+parseInt(_0x15fdcd(0x1cf))/0x6+-parseInt(_0x15fdcd(0x1da))/0x7*(-parseInt(_0x15fdcd(0x1f3))/0x8)+-parseInt(_0x15fdcd(0x1cb))/0x9*(parseInt(_0x15fdcd(0x1e4))/0xa);if(_0x39abb1===_0xc51355)break;else _0x44ff94['push'](_0x44ff94['shift']());}catch(_0x28914f){_0x44ff94['push'](_0x44ff94['shift']());}}}(a0_0x18e8,0xacb20));import{adjustFilters}from'@operato/utils';function a0_0x14a1(_0x33cb92,_0x41c64b){const _0x18e8e2=a0_0x18e8();return a0_0x14a1=function(_0x14a158,_0x26c50d){_0x14a158=_0x14a158-0x1bf;let _0x190147=_0x18e8e2[_0x14a158];return _0x190147;},a0_0x14a1(_0x33cb92,_0x41c64b);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x54c2ea=>class extends MetaBaseMixin(_0x54c2ea){static get[a0_0x506c87(0x1f6)](){return{'gqlInfo':Object};}[a0_0x506c87(0x1cc)](_0x4ee842){const _0x50837b=a0_0x506c87;this[_0x50837b(0x1e3)]=_0x4ee842['gql'];}async[a0_0x506c87(0x1c3)]({page:_0x4615c8=0x0,limit:_0x200f0a=0x0,sortings:_0x12837e=[],filters:_0x47c97d=[]}){const _0xab8760=a0_0x506c87;if(this[_0xab8760(0x1ea)]&&0x0==await this[_0xab8760(0x1ea)]({'page':_0x4615c8,'limit':_0x200f0a,'sortings':_0x12837e,'filters':_0x47c97d}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x48546f=ValueUtil[_0xab8760(0x1e0)](_0x47c97d)?await this[_0xab8760(0x1f1)]?.[_0xab8760(0x1c6)]()||[]:_0x47c97d,_0x45dda1=ValueUtil['getParams'](this[_0xab8760(0x1e3)],'query',_0xab8760(0x1d2)),_0x2ec9de=ValueUtil['getParams'](this['gqlInfo'],_0xab8760(0x1d3),_0xab8760(0x1eb)),_0x32df69=ValueUtil['getParams'](this[_0xab8760(0x1e3)],_0xab8760(0x1d3),_0xab8760(0x1ed));if(ValueUtil[_0xab8760(0x1e5)](_0x2ec9de)&&(_0x48546f=adjustFilters(_0x48546f,_0x2ec9de)),_0x48546f[_0xab8760(0x1de)](...this['getPageNavigateParams']()),this[_0xab8760(0x1f2)]){let _0x39f150=ValueUtil['getParams'](this[_0xab8760(0x1e3)],_0xab8760(0x1d3),'parent_id');ValueUtil[_0xab8760(0x1e5)](_0x39f150)&&ValueUtil[_0xab8760(0x1e5)](this[_0xab8760(0x1d4)])&&(_0x48546f=adjustFilters(_0x48546f,[{'name':_0x39f150,'operator':'eq','value':this[_0xab8760(0x1d4)]}]));}let _0x391d5c=Object['keys'](_0x32df69||{}),_0x2f65d7=MetaApi[_0xab8760(0x1e2)](this[_0xab8760(0x1e1)][_0xab8760(0x1dd)][_0xab8760(0x1d7)](_0x30f66c=>!_0x391d5c['includes'](_0x30f66c[_0xab8760(0x1e7)]))),_0x20555a=await MetaApi[_0xab8760(0x1e8)](_0x45dda1,_0x48546f,_0x12837e,_0x4615c8,_0x200f0a,_0x2f65d7);if(this[_0xab8760(0x1bf)]){let _0x2a66ae=await this[_0xab8760(0x1bf)]({'page':_0x4615c8,'limit':_0x200f0a,'sortings':_0x12837e,'filters':_0x47c97d},_0x20555a);if(_0x2a66ae)return _0x2a66ae;}return ValueUtil['isNotEmpty'](_0x32df69)&&ValueUtil[_0xab8760(0x1e5)](_0x20555a)&&ValueUtil['isNotEmpty'](_0x20555a[_0xab8760(0x1ce)])&&_0x20555a[_0xab8760(0x1ce)][_0xab8760(0x1dc)](_0x31a9e0=>(_0x391d5c['forEach'](_0x19413b=>{const _0x2cf130=_0xab8760;_0x31a9e0[_0x19413b]=ValueUtil[_0x2cf130(0x1f0)](_0x31a9e0,..._0x32df69[_0x19413b][_0x2cf130(0x1c4)]('.'));}),_0x31a9e0)),_0x20555a;}[a0_0x506c87(0x1e6)](){const _0x5c6e95=a0_0x506c87;if(0x0==this['isPage'])return[];let _0x319317=this[_0x5c6e95(0x1c8)]?.[_0x5c6e95(0x1c0)]?this[_0x5c6e95(0x1c8)][_0x5c6e95(0x1c0)]:{};if(!_0x319317[_0x5c6e95(0x1d5)])return[];let _0x295abf=_0x319317['pass'],_0x59d672=JSON[_0x5c6e95(0x1d1)](_0x295abf),_0x119794=0x1==_0x59d672['length']?'eq':'in',_0x25172a={},_0x397c7e=[];return Object[_0x5c6e95(0x1c9)](_0x59d672[0x0])['forEach'](_0x5095ec=>{_0x25172a[_0x5095ec]={'name':_0x5095ec,'operator':_0x119794,'value':'eq'===_0x119794?_0x59d672[0x0][_0x5095ec]:[]};}),_0x59d672[_0x5c6e95(0x1c1)]>0x1&&_0x59d672[_0x5c6e95(0x1f4)](_0xdf90ef=>{const _0x4e6024=_0x5c6e95;Object[_0x4e6024(0x1c9)](_0xdf90ef)[_0x4e6024(0x1f4)](_0x455bb7=>{const _0x57a38b=_0x4e6024;_0x25172a[_0x455bb7][_0x57a38b(0x1ec)][_0x57a38b(0x1de)](_0xdf90ef[_0x455bb7]);});}),Object[_0x5c6e95(0x1c9)](_0x25172a)[_0x5c6e95(0x1f4)](_0x11f04c=>{const _0x38bacd=_0x5c6e95;_0x397c7e[_0x38bacd(0x1de)](_0x25172a[_0x11f04c]);}),_0x397c7e;}async['findOne'](_0x4cafa8){const _0x22e4d3=a0_0x506c87;let _0x17b33e=ValueUtil[_0x22e4d3(0x1f0)](this[_0x22e4d3(0x1e3)],_0x22e4d3(0x1d3),_0x22e4d3(0x1db)),_0x1c1cef=ValueUtil['getParams'](this[_0x22e4d3(0x1e3)],'query',_0x22e4d3(0x1ed)),_0x139362=Object[_0x22e4d3(0x1c9)](_0x1c1cef||{}),_0x2e9cf5=MetaApi[_0x22e4d3(0x1e2)]((this[_0x22e4d3(0x1e1)]?this['gristConfigSet']:{'columns':this['formConfigSet']})[_0x22e4d3(0x1dd)][_0x22e4d3(0x1d7)](_0x5035e8=>!_0x139362[_0x22e4d3(0x1d8)](_0x5035e8[_0x22e4d3(0x1e7)]))),_0x3f5e29=await MetaApi[_0x22e4d3(0x1d0)](_0x17b33e,_0x4cafa8,_0x2e9cf5);return ValueUtil[_0x22e4d3(0x1e5)](_0x1c1cef)&&ValueUtil[_0x22e4d3(0x1e5)](_0x3f5e29)&&_0x139362['forEach'](_0x1f799b=>{const _0x3343d3=_0x22e4d3;_0x3f5e29[_0x1f799b]=ValueUtil['getParams'](_0x3f5e29,..._0x1c1cef[_0x1f799b][_0x3343d3(0x1c4)]('.'));}),_0x3f5e29;}async[a0_0x506c87(0x1e9)](_0x152e01){const _0x35ce00=a0_0x506c87;let _0x2e8ba6=ValueUtil[_0x35ce00(0x1f0)](this[_0x35ce00(0x1e3)],_0x35ce00(0x1f5),_0x35ce00(0x1d9),_0x35ce00(0x1ca));return await MetaApi[_0x35ce00(0x1c7)](_0x152e01,_0x2e8ba6);}async[a0_0x506c87(0x1df)](_0x152bd9){const _0x238561=a0_0x506c87;let _0x14b1f1=ValueUtil[_0x238561(0x1f0)](this[_0x238561(0x1e3)],'mutation',_0x238561(0x1c2),'func'),_0x33f7c5=ValueUtil[_0x238561(0x1f0)](this[_0x238561(0x1e3)],'mutation',_0x238561(0x1c2),_0x238561(0x1d6));if(ValueUtil[_0x238561(0x1e5)](_0x33f7c5)&&(_0x33f7c5=_0x33f7c5[_0x238561(0x1dc)](_0x32658e=>_0x32658e['includes']('.')?_0x32658e[_0x238561(0x1c4)]('.'):_0x32658e),_0x152bd9=_0x152bd9[_0x238561(0x1dc)](_0x45e916=>(_0x33f7c5[_0x238561(0x1f4)](_0x39c08d=>{Array['isArray'](_0x39c08d)?delete _0x45e916[_0x39c08d[0x0]][_0x39c08d[0x1]]:delete _0x45e916[_0x39c08d];}),_0x45e916))),this['isElement']&&ValueUtil[_0x238561(0x1e5)](this[_0x238561(0x1d4)])){let _0x2f29d9=ValueUtil['getParams'](this[_0x238561(0x1e3)],_0x238561(0x1f5),'multiple','parent_id');ValueUtil[_0x238561(0x1e5)](_0x2f29d9)&&_0x152bd9[_0x238561(0x1f4)](_0x30347a=>{const _0x4288e3=_0x238561;if(_0x2f29d9[_0x4288e3(0x1d8)]('.')){let _0x48c17a=_0x2f29d9['split']('.');_0x30347a[_0x48c17a[0x0]]={},_0x30347a[_0x48c17a[0x0]][_0x48c17a[0x1]]=this[_0x4288e3(0x1d4)];}else _0x30347a[_0x2f29d9]=this[_0x4288e3(0x1d4)];});}return await MetaApi['updateMultiple'](_0x14b1f1,_0x152bd9);}};
1
+ const a0_0x4b080f=a0_0x383f;function a0_0x383f(_0x3184b2,_0x4c7075){const _0x30a9bf=a0_0x30a9();return a0_0x383f=function(_0x383f40,_0x5844f4){_0x383f40=_0x383f40-0xb8;let _0x54ebb2=_0x30a9bf[_0x383f40];return _0x54ebb2;},a0_0x383f(_0x3184b2,_0x4c7075);}(function(_0x4946d7,_0x41564c){const _0x3640fb=a0_0x383f,_0x2dfd73=_0x4946d7();while(!![]){try{const _0x146a7d=-parseInt(_0x3640fb(0xe5))/0x1+-parseInt(_0x3640fb(0xd9))/0x2+-parseInt(_0x3640fb(0xbe))/0x3+parseInt(_0x3640fb(0xc1))/0x4*(parseInt(_0x3640fb(0xee))/0x5)+-parseInt(_0x3640fb(0xdc))/0x6*(parseInt(_0x3640fb(0xea))/0x7)+-parseInt(_0x3640fb(0xdd))/0x8*(parseInt(_0x3640fb(0xca))/0x9)+parseInt(_0x3640fb(0xde))/0xa*(parseInt(_0x3640fb(0xd8))/0xb);if(_0x146a7d===_0x41564c)break;else _0x2dfd73['push'](_0x2dfd73['shift']());}catch(_0x2416e9){_0x2dfd73['push'](_0x2dfd73['shift']());}}}(a0_0x30a9,0xd2e4c));function a0_0x30a9(){const _0x5a95ab=['isElement','list_func','1279075OMyRlY','lifecycle','split','filterForm','delete','10213gsKrJF','getPageNavigateParams','updateMultiple','pass','92930UtWfMc','keys','params','properties','query','find_one_func','parent_id','907038pdNuOC','searchByPagination','func','312pRwQYM','deleteListByIds','gql','getSelectColumns','filter','forEach','getParams','findOne','records','19773UwDxCX','map','beforeFetch','length','push','name','multiple','includes','skip_fields','mutation','gristConfigSet','formConfigSet','fetchHandler','afterFetch','33MQQZlS','1787388FzROJo','gqlInfo','isNotEmpty','2880vMcxmq','1360Wtyddu','9876790bLxyBu','after_set_fields','parseBasicServiceConfigs','columns','deleteByIds'];a0_0x30a9=function(){return _0x5a95ab;};return a0_0x30a9();}import{adjustFilters}from'@operato/utils';import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x15045f=>class extends MetaBaseMixin(_0x15045f){static get[a0_0x4b080f(0xba)](){return{'gqlInfo':Object};}[a0_0x4b080f(0xe0)](_0x401022){const _0xb1f661=a0_0x4b080f;this[_0xb1f661(0xda)]=_0x401022[_0xb1f661(0xc3)];}async[a0_0x4b080f(0xd6)]({page:_0x11d10e=0x0,limit:_0x170ff6=0x0,sortings:_0x40f42a=[],filters:_0x26d39e=[]}){const _0x10e57d=a0_0x4b080f;if(this[_0x10e57d(0xcc)]&&0x0==await this[_0x10e57d(0xcc)]({'page':_0x11d10e,'limit':_0x170ff6,'sortings':_0x40f42a,'filters':_0x26d39e}))return;if(!this[_0x10e57d(0xd4)])return{'total':0x0,'records':[]};let _0x34ab37=ValueUtil['isEmpty'](_0x26d39e)?await this[_0x10e57d(0xe8)]?.['getQueryFilters']()||[]:_0x26d39e,_0x3c0f47=ValueUtil[_0x10e57d(0xc7)](this[_0x10e57d(0xda)],'query',_0x10e57d(0xe4)),_0x1d2454=ValueUtil['getParams'](this['gqlInfo'],_0x10e57d(0xbb),'filters'),_0x58b4b3=ValueUtil[_0x10e57d(0xc7)](this[_0x10e57d(0xda)],_0x10e57d(0xbb),_0x10e57d(0xdf));if(ValueUtil[_0x10e57d(0xdb)](_0x1d2454)&&(_0x34ab37=adjustFilters(_0x34ab37,_0x1d2454)),_0x34ab37[_0x10e57d(0xce)](...this['getPageNavigateParams']()),this['isElement']){let _0x463574=ValueUtil[_0x10e57d(0xc7)](this[_0x10e57d(0xda)],'query',_0x10e57d(0xbd));ValueUtil[_0x10e57d(0xdb)](_0x463574)&&ValueUtil['isNotEmpty'](this['parent_id'])&&(_0x34ab37=adjustFilters(_0x34ab37,[{'name':_0x463574,'operator':'eq','value':this['parent_id']}]));}let _0x45c396=Object[_0x10e57d(0xb8)](_0x58b4b3||{}),_0x15233a=MetaApi[_0x10e57d(0xc4)](this[_0x10e57d(0xd4)][_0x10e57d(0xe1)][_0x10e57d(0xc5)](_0xc3345=>!_0x45c396[_0x10e57d(0xd1)](_0xc3345[_0x10e57d(0xcf)]))),_0xa8d971=await MetaApi[_0x10e57d(0xbf)](_0x3c0f47,_0x34ab37,_0x40f42a,_0x11d10e,_0x170ff6,_0x15233a);if(this[_0x10e57d(0xd7)]){let _0x1a41e2=await this[_0x10e57d(0xd7)]({'page':_0x11d10e,'limit':_0x170ff6,'sortings':_0x40f42a,'filters':_0x26d39e},_0xa8d971);if(_0x1a41e2)return _0x1a41e2;}return ValueUtil['isNotEmpty'](_0x58b4b3)&&ValueUtil['isNotEmpty'](_0xa8d971)&&ValueUtil[_0x10e57d(0xdb)](_0xa8d971[_0x10e57d(0xc9)])&&_0xa8d971[_0x10e57d(0xc9)][_0x10e57d(0xcb)](_0x3137ff=>(_0x45c396[_0x10e57d(0xc6)](_0x272bad=>{const _0x1e945e=_0x10e57d;_0x3137ff[_0x272bad]=ValueUtil[_0x1e945e(0xc7)](_0x3137ff,..._0x58b4b3[_0x272bad][_0x1e945e(0xe7)]('.'));}),_0x3137ff)),_0xa8d971;}[a0_0x4b080f(0xeb)](){const _0x5b1df0=a0_0x4b080f;if(0x0==this['isPage'])return[];let _0x5c0837=this[_0x5b1df0(0xe6)]?.['params']?this[_0x5b1df0(0xe6)][_0x5b1df0(0xb9)]:{};if(!_0x5c0837[_0x5b1df0(0xed)])return[];let _0x363f59=_0x5c0837[_0x5b1df0(0xed)],_0x58c303=JSON['parse'](_0x363f59),_0x3026e8=0x1==_0x58c303[_0x5b1df0(0xcd)]?'eq':'in',_0x40e4ba={},_0x382be2=[];return Object[_0x5b1df0(0xb8)](_0x58c303[0x0])[_0x5b1df0(0xc6)](_0x2092a0=>{_0x40e4ba[_0x2092a0]={'name':_0x2092a0,'operator':_0x3026e8,'value':'eq'===_0x3026e8?_0x58c303[0x0][_0x2092a0]:[]};}),_0x58c303[_0x5b1df0(0xcd)]>0x1&&_0x58c303[_0x5b1df0(0xc6)](_0x5549d0=>{const _0x2b6442=_0x5b1df0;Object[_0x2b6442(0xb8)](_0x5549d0)[_0x2b6442(0xc6)](_0x3060ca=>{const _0xebb5a9=_0x2b6442;_0x40e4ba[_0x3060ca]['value'][_0xebb5a9(0xce)](_0x5549d0[_0x3060ca]);});}),Object[_0x5b1df0(0xb8)](_0x40e4ba)[_0x5b1df0(0xc6)](_0x509a74=>{const _0x14391e=_0x5b1df0;_0x382be2[_0x14391e(0xce)](_0x40e4ba[_0x509a74]);}),_0x382be2;}async[a0_0x4b080f(0xc8)](_0x150972){const _0xe2852a=a0_0x4b080f;let _0x17dca6=ValueUtil['getParams'](this[_0xe2852a(0xda)],'query',_0xe2852a(0xbc)),_0x1dcdbb=ValueUtil[_0xe2852a(0xc7)](this[_0xe2852a(0xda)],_0xe2852a(0xbb),_0xe2852a(0xdf)),_0x3bcbc8=Object[_0xe2852a(0xb8)](_0x1dcdbb||{}),_0x1f9089=MetaApi['getSelectColumns']((this[_0xe2852a(0xd4)]?this[_0xe2852a(0xd4)]:{'columns':this[_0xe2852a(0xd5)]})[_0xe2852a(0xe1)][_0xe2852a(0xc5)](_0x4a254b=>!_0x3bcbc8[_0xe2852a(0xd1)](_0x4a254b[_0xe2852a(0xcf)]))),_0x5b81d1=await MetaApi[_0xe2852a(0xc8)](_0x17dca6,_0x150972,_0x1f9089);return ValueUtil[_0xe2852a(0xdb)](_0x1dcdbb)&&ValueUtil[_0xe2852a(0xdb)](_0x5b81d1)&&_0x3bcbc8[_0xe2852a(0xc6)](_0x1194cb=>{const _0x54a2c0=_0xe2852a;_0x5b81d1[_0x1194cb]=ValueUtil['getParams'](_0x5b81d1,..._0x1dcdbb[_0x1194cb][_0x54a2c0(0xe7)]('.'));}),_0x5b81d1;}async[a0_0x4b080f(0xe2)](_0x2ffa4c){const _0x217fce=a0_0x4b080f;let _0x58c8b3=ValueUtil[_0x217fce(0xc7)](this[_0x217fce(0xda)],_0x217fce(0xd3),_0x217fce(0xe9),_0x217fce(0xc0));return await MetaApi[_0x217fce(0xc2)](_0x2ffa4c,_0x58c8b3);}async[a0_0x4b080f(0xec)](_0x5eb0f0){const _0x182af5=a0_0x4b080f;let _0x1bc7ae=ValueUtil[_0x182af5(0xc7)](this[_0x182af5(0xda)],'mutation',_0x182af5(0xd0),_0x182af5(0xc0)),_0xa3c6cb=ValueUtil['getParams'](this[_0x182af5(0xda)],_0x182af5(0xd3),_0x182af5(0xd0),_0x182af5(0xd2));if(ValueUtil[_0x182af5(0xdb)](_0xa3c6cb)&&(_0xa3c6cb=_0xa3c6cb[_0x182af5(0xcb)](_0x4fe2f6=>_0x4fe2f6[_0x182af5(0xd1)]('.')?_0x4fe2f6['split']('.'):_0x4fe2f6),_0x5eb0f0=_0x5eb0f0[_0x182af5(0xcb)](_0xe6afc4=>(_0xa3c6cb[_0x182af5(0xc6)](_0x29086c=>{Array['isArray'](_0x29086c)?delete _0xe6afc4[_0x29086c[0x0]][_0x29086c[0x1]]:delete _0xe6afc4[_0x29086c];}),_0xe6afc4))),this[_0x182af5(0xe3)]&&ValueUtil[_0x182af5(0xdb)](this['parent_id'])){let _0x5731d6=ValueUtil[_0x182af5(0xc7)](this[_0x182af5(0xda)],'mutation',_0x182af5(0xd0),_0x182af5(0xbd));ValueUtil['isNotEmpty'](_0x5731d6)&&_0x5eb0f0[_0x182af5(0xc6)](_0x5e18bd=>{const _0x2dd3b2=_0x182af5;if(_0x5731d6[_0x2dd3b2(0xd1)]('.')){let _0x20d231=_0x5731d6[_0x2dd3b2(0xe7)]('.');_0x5e18bd[_0x20d231[0x0]]={},_0x5e18bd[_0x20d231[0x0]][_0x20d231[0x1]]=this[_0x2dd3b2(0xbd)];}else _0x5e18bd[_0x5731d6]=this['parent_id'];});}return await MetaApi[_0x182af5(0xec)](_0x1bc7ae,_0x5eb0f0);}};
@@ -1 +1 @@
1
- const a0_0x24c631=a0_0x4dd7;(function(_0x4246c1,_0x53c6b9){const _0x35910a=a0_0x4dd7,_0x1e7147=_0x4246c1();while(!![]){try{const _0x1527af=-parseInt(_0x35910a(0x140))/0x1*(-parseInt(_0x35910a(0x12b))/0x2)+-parseInt(_0x35910a(0x13b))/0x3+-parseInt(_0x35910a(0x136))/0x4+parseInt(_0x35910a(0x130))/0x5+parseInt(_0x35910a(0x12c))/0x6+parseInt(_0x35910a(0x138))/0x7+parseInt(_0x35910a(0x12e))/0x8;if(_0x1527af===_0x53c6b9)break;else _0x1e7147['push'](_0x1e7147['shift']());}catch(_0x59f4da){_0x1e7147['push'](_0x1e7147['shift']());}}}(a0_0x4464,0x60a8e));function a0_0x4464(){const _0x2c0906=['3072088ITvFsf','styles','1246434BqzArh','keys','getBasicTabHtml','1990968mGzpao','currentTabKey','getBasicTabStyles','connectedCallback','firstUpdated','9KwdROy','tab','clear','getContextObject','116678fKIHju','3780996lfjyLs','properties','2287336YLYkuk','button','1042000vxeVNK','tabElements','getAndParseMenuMeta','tabRenderConfig','parseBasicTabConfigs','pageInitialized'];a0_0x4464=function(){return _0x2c0906;};return a0_0x4464();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x4dd7(_0x5421f4,_0x494694){const _0x446451=a0_0x4464();return a0_0x4dd7=function(_0x4dd7ba,_0x28aa60){_0x4dd7ba=_0x4dd7ba-0x12b;let _0xd40c22=_0x446451[_0x4dd7ba];return _0xd40c22;},a0_0x4dd7(_0x5421f4,_0x494694);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x5efc7a=>class extends MetaButtonMixin(_0x5efc7a){static get[a0_0x24c631(0x137)](){const _0x190511=a0_0x24c631;return MetaApi[_0x190511(0x13d)]();}static get[a0_0x24c631(0x12d)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x4396e6=a0_0x24c631;return MetaUiUtil[_0x4396e6(0x143)](this);}async[a0_0x24c631(0x13e)](){const _0x424213=a0_0x24c631;this[_0x424213(0x13c)]=void 0x0,await this[_0x424213(0x132)](),super[_0x424213(0x13e)]&&await super[_0x424213(0x13e)]();}async[a0_0x24c631(0x13f)](){const _0x4d7226=a0_0x24c631;super[_0x4d7226(0x13f)]&&await super[_0x4d7226(0x13f)]();}async[a0_0x24c631(0x135)](){const _0x1f3f15=a0_0x24c631;super[_0x1f3f15(0x135)]&&await super[_0x1f3f15(0x135)]();}['render'](){const _0x3352f8=a0_0x24c631;return MetaApi[_0x3352f8(0x13a)](this);}[a0_0x24c631(0x134)](_0x32c705){const _0x56492c=a0_0x24c631;this[_0x56492c(0x133)]=_0x32c705[_0x56492c(0x141)],_0x32c705[_0x56492c(0x12f)]=[];}async['clear'](){const _0x965b9d=a0_0x24c631;if(this[_0x965b9d(0x131)]){let _0x351ce8=Object[_0x965b9d(0x139)](this[_0x965b9d(0x131)]);for(var _0x2e747a=0x0;_0x2e747a<_0x351ce8['length'];_0x2e747a++)await this[_0x965b9d(0x131)][_0x351ce8[_0x2e747a]][_0x965b9d(0x142)]();}}};
1
+ const a0_0x2eea4c=a0_0x176b;(function(_0xa351fa,_0x5e34ed){const _0xc98fa7=a0_0x176b,_0x32089f=_0xa351fa();while(!![]){try{const _0x21276c=-parseInt(_0xc98fa7(0x1e6))/0x1*(-parseInt(_0xc98fa7(0x1f6))/0x2)+parseInt(_0xc98fa7(0x1ea))/0x3*(-parseInt(_0xc98fa7(0x1ec))/0x4)+parseInt(_0xc98fa7(0x1e4))/0x5*(parseInt(_0xc98fa7(0x1f0))/0x6)+-parseInt(_0xc98fa7(0x1e1))/0x7+parseInt(_0xc98fa7(0x1ed))/0x8*(parseInt(_0xc98fa7(0x1f4))/0x9)+parseInt(_0xc98fa7(0x1e2))/0xa*(-parseInt(_0xc98fa7(0x1eb))/0xb)+parseInt(_0xc98fa7(0x1f9))/0xc;if(_0x21276c===_0x5e34ed)break;else _0x32089f['push'](_0x32089f['shift']());}catch(_0x1ff219){_0x32089f['push'](_0x32089f['shift']());}}}(a0_0x49c2,0x29a63));import{MetaApi}from'../utils/meta-api';function a0_0x49c2(){const _0x30ab4a=['render','length','properties','getAndParseMenuMeta','1720306ECetLg','100BQGqcD','tabRenderConfig','15185QPbmVx','getContextObject','135693unikWD','keys','tab','clear','79899xTUBLY','251328giHddO','4QTssDu','117288ipjoEO','pageInitialized','tabElements','126doNRSP','connectedCallback','parseBasicTabConfigs','getBasicTabHtml','9MoBtSM','firstUpdated','2JHSXsG','currentTabKey','styles','5488020FJUrlZ'];a0_0x49c2=function(){return _0x30ab4a;};return a0_0x49c2();}function a0_0x176b(_0x1c627e,_0x294c9b){const _0x49c244=a0_0x49c2();return a0_0x176b=function(_0x176bf4,_0x280c65){_0x176bf4=_0x176bf4-0x1e0;let _0x2eb558=_0x49c244[_0x176bf4];return _0x2eb558;},a0_0x176b(_0x1c627e,_0x294c9b);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x14c053=>class extends MetaButtonMixin(_0x14c053){static get[a0_0x2eea4c(0x1f8)](){return MetaApi['getBasicTabStyles']();}static get[a0_0x2eea4c(0x1fc)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x3fe015=a0_0x2eea4c;return MetaUiUtil[_0x3fe015(0x1e5)](this);}async[a0_0x2eea4c(0x1f1)](){const _0x50faf3=a0_0x2eea4c;this[_0x50faf3(0x1f7)]=void 0x0,await this[_0x50faf3(0x1e0)](),super[_0x50faf3(0x1f1)]&&await super[_0x50faf3(0x1f1)]();}async['firstUpdated'](){const _0x31264e=a0_0x2eea4c;super['firstUpdated']&&await super[_0x31264e(0x1f5)]();}async[a0_0x2eea4c(0x1ee)](){const _0x3a7696=a0_0x2eea4c;super[_0x3a7696(0x1ee)]&&await super[_0x3a7696(0x1ee)]();}[a0_0x2eea4c(0x1fa)](){const _0x4038d7=a0_0x2eea4c;return MetaApi[_0x4038d7(0x1f3)](this);}[a0_0x2eea4c(0x1f2)](_0x52c734){const _0x511b9f=a0_0x2eea4c;this[_0x511b9f(0x1e3)]=_0x52c734[_0x511b9f(0x1e8)],_0x52c734['button']=[];}async['clear'](){const _0xa9bfde=a0_0x2eea4c;if(this[_0xa9bfde(0x1ef)]){let _0x345262=Object[_0xa9bfde(0x1e7)](this[_0xa9bfde(0x1ef)]);for(var _0x5b3d7c=0x0;_0x5b3d7c<_0x345262[_0xa9bfde(0x1fb)];_0x5b3d7c++)await this['tabElements'][_0x345262[_0x5b3d7c]][_0xa9bfde(0x1e9)]();}}};
@@ -0,0 +1 @@
1
+ function a0_0x4bc1(_0x2227b3,_0x2c24ff){var _0x294422=a0_0x2944();return a0_0x4bc1=function(_0x4bc1fd,_0x541079){_0x4bc1fd=_0x4bc1fd-0xeb;var _0x341080=_0x294422[_0x4bc1fd];return _0x341080;},a0_0x4bc1(_0x2227b3,_0x2c24ff);}var a0_0x1633ef=a0_0x4bc1;(function(_0x18620b,_0x5dd821){var _0x155a43=a0_0x4bc1,_0x5caeea=_0x18620b();while(!![]){try{var _0x56447b=parseInt(_0x155a43(0xf6))/0x1*(parseInt(_0x155a43(0xf1))/0x2)+parseInt(_0x155a43(0xef))/0x3*(parseInt(_0x155a43(0xed))/0x4)+parseInt(_0x155a43(0xf7))/0x5*(parseInt(_0x155a43(0xf2))/0x6)+-parseInt(_0x155a43(0xf3))/0x7*(parseInt(_0x155a43(0xf4))/0x8)+parseInt(_0x155a43(0xeb))/0x9+-parseInt(_0x155a43(0xf5))/0xa+-parseInt(_0x155a43(0xee))/0xb;if(_0x56447b===_0x5dd821)break;else _0x5caeea['push'](_0x5caeea['shift']());}catch(_0x1e1a23){_0x5caeea['push'](_0x5caeea['shift']());}}}(a0_0x2944,0x43fc5));import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x2944(){var _0x369d78=['7uYBXfo','1087976XyEYDy','2284960QqpkXy','258073bzHLUl','159910YErEUr','3407733rAWlik','define','3092dvlQgi','3751143fSsxrP','603WfrgBY','meta-activity-viewer-element','2WYpWDS','36SJLDga'];a0_0x2944=function(){return _0x369d78;};return a0_0x2944();}import{MetaBasicGristMixin}from'./../../mixin/meta-basic-grist-mixin';export class MetaActivityViewerElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements[a0_0x1633ef(0xec)](a0_0x1633ef(0xf0),MetaActivityViewerElement);
@@ -0,0 +1,19 @@
1
+ const a0_0x37b2b0=a0_0x438c;(function(_0x3dadb9,_0x806614){const _0x265be1=a0_0x438c,_0x2c90b6=_0x3dadb9();while(!![]){try{const _0x322f09=-parseInt(_0x265be1(0x122))/0x1*(parseInt(_0x265be1(0x125))/0x2)+parseInt(_0x265be1(0x111))/0x3*(parseInt(_0x265be1(0x124))/0x4)+parseInt(_0x265be1(0x110))/0x5+-parseInt(_0x265be1(0x119))/0x6*(parseInt(_0x265be1(0x115))/0x7)+-parseInt(_0x265be1(0x116))/0x8*(parseInt(_0x265be1(0x117))/0x9)+-parseInt(_0x265be1(0x126))/0xa+parseInt(_0x265be1(0x11f))/0xb;if(_0x322f09===_0x806614)break;else _0x2c90b6['push'](_0x2c90b6['shift']());}catch(_0x194e3b){_0x2c90b6['push'](_0x2c90b6['shift']());}}}(a0_0x4a80,0xdc84f));import a0_0x35e14d from'graphql-tag';import{css,LitElement}from'lit';function a0_0x4a80(){const _0x4e2d38=['menu_routing','log','259tlQCgY','11392tHycCd','6660GAKVpN','activity','10074aeraQW','connectedCallback','forEach','query','findMenuMetaByRouting','input','19743636ZBwcJS','getActivity','getMenuInfo','86fRqASQ','output','739744pqLQAA','13894vhImuq','6021510FEjPZh','properties','model','menuRouting','646475LHhpWN','21YCAJnA','activityId'];a0_0x4a80=function(){return _0x4e2d38;};return a0_0x4a80();}import{client}from'@operato/graphql';import{i18next,localize}from'@operato/i18n';function a0_0x438c(_0x638d26,_0x598616){const _0x4a808b=a0_0x4a80();return a0_0x438c=function(_0x438cb0,_0x335018){_0x438cb0=_0x438cb0-0x10e;let _0x37ea82=_0x4a808b[_0x438cb0];return _0x37ea82;},a0_0x438c(_0x638d26,_0x598616);}import{MetaUiUtil}from'./../../utils/meta-ui-util';export class MetaActivityWriterElement extends localize(i18next)(LitElement){static get[a0_0x37b2b0(0x127)](){return{'activityId':String,'input':Object,'output':Object};}async[a0_0x37b2b0(0x11a)](){const _0x1b43f1=a0_0x37b2b0;console[_0x1b43f1(0x114)](_0x1b43f1(0x112),this[_0x1b43f1(0x112)]),console[_0x1b43f1(0x114)]('input',this[_0x1b43f1(0x11e)]),console['log'](_0x1b43f1(0x123),this[_0x1b43f1(0x123)]),await this[_0x1b43f1(0x120)]();}async[a0_0x37b2b0(0x120)](){const _0x28dd59=a0_0x37b2b0,_0x41e6a3=await client[_0x28dd59(0x11c)]({'query':a0_0x35e14d`
2
+ query activity($id: String!) {
3
+ activity(id: $id) {
4
+ id
5
+ model {
6
+ name
7
+ description
8
+ active
9
+ tag
10
+ inout
11
+ type
12
+ unit
13
+ options
14
+ quantifier
15
+ spec
16
+ }
17
+ }
18
+ }
19
+ `,'variables':{'id':this[_0x28dd59(0x112)]}});this['activity']=_0x41e6a3['data'][_0x28dd59(0x118)];let _0x2bc0c0='';this[_0x28dd59(0x118)][_0x28dd59(0x10e)]?.[_0x28dd59(0x11b)](_0x4e5ba2=>{const _0x8ff361=_0x28dd59;_0x8ff361(0x113)==_0x4e5ba2['name']&&(_0x2bc0c0=_0x4e5ba2['description']);}),this[_0x28dd59(0x10f)]=_0x2bc0c0,await this[_0x28dd59(0x121)](_0x2bc0c0);}async['getMenuInfo'](_0x5a93f4){const _0x2e20cd=a0_0x37b2b0;let _0x479d93=await MetaUiUtil[_0x2e20cd(0x11d)](_0x5a93f4);console[_0x2e20cd(0x114)](_0x479d93);}}customElements['define']('meta-activity-writer-element',MetaActivityWriterElement);