@things-factory/meta-ui 6.0.130 → 6.0.132

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 (80) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +19 -0
  3. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  4. package/client/component/filter/filter-grist-resource-code-select.js +10 -10
  5. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  6. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  7. package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
  8. package/client/mixin/meta-base-mixin.js +1 -1
  9. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  10. package/client/mixin/meta-button-mixin.js +1 -1
  11. package/client/mixin/meta-form-mixin.js +1 -1
  12. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  13. package/client/mixin/meta-main-tab-mixin.js +1 -1
  14. package/client/mixin/meta-master-detail-mixin.js +1 -1
  15. package/client/mixin/meta-service-mixin.js +1 -1
  16. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  17. package/client/mixin/meta-tab-mixin.js +1 -1
  18. package/client/pages/activity/meta-activity-list-page.js +6 -6
  19. package/client/pages/activity/meta-activity-viewer-element.js +2 -2
  20. package/client/pages/activity/meta-activity-writer-element.js +2 -2
  21. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  22. package/client/pages/entity/config-entity.js +29 -29
  23. package/client/pages/entity/main-menu-selector.js +8 -8
  24. package/client/pages/history/history-copy-list-popup.js +6 -6
  25. package/client/pages/history/history-json-list-popup.js +6 -6
  26. package/client/pages/loading-page.js +5 -5
  27. package/client/pages/menu/dynamic-menu-template.js +7 -7
  28. package/client/pages/menu/dynamic-menu.js +15 -15
  29. package/client/pages/meta-form-element.js +1 -1
  30. package/client/pages/meta-grist-element.js +1 -1
  31. package/client/pages/meta-grist-page.js +1 -1
  32. package/client/pages/meta-grist-tab-element.js +1 -1
  33. package/client/pages/meta-grist-tab-page.js +1 -1
  34. package/client/pages/meta-main-tab-element.js +1 -1
  35. package/client/pages/meta-main-tab-page.js +1 -1
  36. package/client/pages/meta-master-detail-element.js +1 -1
  37. package/client/pages/meta-master-detail-page.js +1 -1
  38. package/client/pages/meta-tab-detail-element.js +1 -1
  39. package/client/pages/meta-tab-detail-page.js +1 -1
  40. package/client/pages/meta-tab-element.js +1 -1
  41. package/client/pages/personalize/personal-column-selector.js +11 -11
  42. package/client/pages/terms/config-terminology.js +6 -6
  43. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  44. package/client/pages/work-code/work-code-page.js +1 -1
  45. package/client/reducers/main.js +1 -1
  46. package/client/utils/meta-api.js +1 -1
  47. package/client/utils/meta-crypto.js +1 -1
  48. package/client/utils/meta-ui-util.js +103 -103
  49. package/client/utils/service-util.js +13 -13
  50. package/client/utils/terms-util.js +2 -2
  51. package/client/utils/ui-util.js +1 -1
  52. package/client/utils/value-util.js +1 -1
  53. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  54. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  55. package/client/viewparts/dynamic-menu-part.js +11 -11
  56. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  58. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  59. package/package.json +2 -2
  60. package/server/activity/CommonActivity.js +2 -2
  61. package/server/constants/error-code.js +1 -1
  62. package/server/errors/license-error.js +1 -1
  63. package/server/routes.js +1 -1
  64. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  65. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  66. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  67. package/server/service/grid-personalize/grid-personalize.js +1 -1
  68. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  69. package/server/service/meta-activity/meta-activity-query.js +1 -1
  70. package/server/service/meta-activity/meta-activity-type.js +1 -1
  71. package/server/service/meta-secret/meta-resolver.js +1 -1
  72. package/server/service/set-translations/set-translation-resolver.js +1 -1
  73. package/server/service/work-code/work-code-mutation.js +1 -1
  74. package/server/service/work-code/work-code-query.js +1 -1
  75. package/server/service/work-code/work-code-type.js +1 -1
  76. package/server/service/work-code/work-code.js +1 -1
  77. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  78. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  79. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  80. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0xae16c6=a0_0x58c7;(function(_0x1705fc,_0x9e4aa4){const _0x415899=a0_0x58c7,_0x34f8db=_0x1705fc();while(!![]){try{const _0x395572=parseInt(_0x415899(0x116))/0x1+parseInt(_0x415899(0x114))/0x2+parseInt(_0x415899(0x112))/0x3+-parseInt(_0x415899(0x108))/0x4+-parseInt(_0x415899(0x101))/0x5+parseInt(_0x415899(0x10f))/0x6+-parseInt(_0x415899(0x10b))/0x7*(parseInt(_0x415899(0x10e))/0x8);if(_0x395572===_0x9e4aa4)break;else _0x34f8db['push'](_0x34f8db['shift']());}catch(_0x42db2d){_0x34f8db['push'](_0x34f8db['shift']());}}}(a0_0x336b,0x85133));import'../viewparts/dynamic-menu-part';function a0_0x336b(){const _0x1913f2=['dynamic-menu','UPDATE_META_UI','items','content','get','data','5328580qEFWIF','active','landscape','appName','query','rank','FRONT_END','170896SuEJdA','querySelector','lite-menu-part','63VtJfuo','portrait','filter','366864AlAvAg','3697992HUsAXG','dispatch','meta[name=\x22application-name\x22]','1205058utKjhN','hamburger','1219620Tuxgzl','liteMenus','438409iezHlR','HEADERBAR'];a0_0x336b=function(){return _0x1913f2;};return a0_0x336b();}import'@material/mwc-icon';import a0_0x308ee8 from'graphql-tag';function a0_0x58c7(_0x162640,_0x3da4d2){const _0x336bf0=a0_0x336b();return a0_0x58c7=function(_0x58c7bd,_0x57e4e8){_0x58c7bd=_0x58c7bd-0xfa;let _0x24a226=_0x336bf0[_0x58c7bd];return _0x24a226;},a0_0x58c7(_0x162640,_0x3da4d2);}import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0xae16c6(0xfc);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x3e706d){const _0x1fd712=a0_0xae16c6;var {hovering:_0x4020ea=!!isMobileDevice(),slotTemplate:_0x578bd1,portraitSlotTemplate:_0x54e510,landscapeSlotTemplate:_0x19ef11,position:_0x170126=VIEWPART_POSITION['NAVBAR']}=_0x3e706d||{};const {hovering:_0x3971af}=(await clientSettingStore[_0x1fd712(0xff)](_0x1fd712(0xfb)))?.['value']||{};void 0x0!==_0x3971af&&(_0x4020ea=_0x3971af);const _0x4c4512=_0x170126==VIEWPART_POSITION[_0x1fd712(0xfa)]?_0x1fd712(0x103):_0x1fd712(0x10c),_0xac2bc5=('landscape'==_0x4c4512?_0x19ef11:_0x54e510)||_0x578bd1||html``;appendViewpart({'name':_0x1fd712(0x10a),'viewpart':{'show':!_0x4020ea,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4020ea,'template':html`<dynamic-menu-part .orientation=${_0x4c4512}>${_0xac2bc5}</dynamic-menu-part>`},'position':_0x170126}),_0x4020ea&&_0x1fd712(0x10c)==_0x4c4512?HAMBURGER||(HAMBURGER={'name':_0x1fd712(0x113),'template':html`
2
- <mwc-icon @click=${_0x2e37d9=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
1
+ function a0_0x3b7b(_0x34daff,_0x288cd7){const _0x4d6399=a0_0x4d63();return a0_0x3b7b=function(_0x3b7ba4,_0x1bc118){_0x3b7ba4=_0x3b7ba4-0x1af;let _0x4153c2=_0x4d6399[_0x3b7ba4];return _0x4153c2;},a0_0x3b7b(_0x34daff,_0x288cd7);}const a0_0xe2c86f=a0_0x3b7b;(function(_0x5f157f,_0x347093){const _0x3b6924=a0_0x3b7b,_0x377650=_0x5f157f();while(!![]){try{const _0x392887=parseInt(_0x3b6924(0x1af))/0x1+parseInt(_0x3b6924(0x1bf))/0x2+parseInt(_0x3b6924(0x1ba))/0x3*(parseInt(_0x3b6924(0x1be))/0x4)+parseInt(_0x3b6924(0x1c6))/0x5+parseInt(_0x3b6924(0x1b5))/0x6*(parseInt(_0x3b6924(0x1b8))/0x7)+parseInt(_0x3b6924(0x1c2))/0x8*(-parseInt(_0x3b6924(0x1b3))/0x9)+-parseInt(_0x3b6924(0x1b4))/0xa;if(_0x392887===_0x347093)break;else _0x377650['push'](_0x377650['shift']());}catch(_0x33bc8b){_0x377650['push'](_0x377650['shift']());}}}(a0_0x4d63,0x8d7d9));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x4396c2 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0xe2c86f(0x1c1);export const UPDATE_META_MENU_TEMPLATE=a0_0xe2c86f(0x1c8);var HAMBURGER;export async function setupMenuPart(_0x117946){const _0x5bd979=a0_0xe2c86f;var {hovering:_0x480fdf=!!isMobileDevice(),slotTemplate:_0x28991b,portraitSlotTemplate:_0x58d11c,landscapeSlotTemplate:_0x314999,position:_0x26c091=VIEWPART_POSITION[_0x5bd979(0x1c4)]}=_0x117946||{};const {hovering:_0x335032}=(await clientSettingStore[_0x5bd979(0x1ca)]('dynamic-menu'))?.[_0x5bd979(0x1c0)]||{};void 0x0!==_0x335032&&(_0x480fdf=_0x335032);const _0x253b94=_0x26c091==VIEWPART_POSITION[_0x5bd979(0x1c7)]?'landscape':_0x5bd979(0x1b2),_0x19ff88=('landscape'==_0x253b94?_0x314999:_0x58d11c)||_0x28991b||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x480fdf,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x480fdf,'template':html`<dynamic-menu-part .orientation=${_0x253b94}>${_0x19ff88}</dynamic-menu-part>`},'position':_0x26c091}),_0x480fdf&&_0x5bd979(0x1b2)==_0x253b94?HAMBURGER||(HAMBURGER={'name':_0x5bd979(0x1bc),'template':html`
2
+ <mwc-icon @click=${_0x256a37=>toggleOverlay(_0x5bd979(0x1bd),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x1fd712(0x107)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1fd712(0x110)]({'type':REMOVE_APP_TOOL,'name':_0x1fd712(0x113)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x167596){const _0x3cfdae=a0_0xae16c6;var _0x4e9f52=document[_0x3cfdae(0x109)](_0x3cfdae(0x111))?.[_0x3cfdae(0xfe)],_0x25bf10=(await client[_0x3cfdae(0x105)]({'query':a0_0x308ee8`
4
+ `,'position':TOOL_POSITION[_0x5bd979(0x1b0)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x5bd979(0x1c3)]({'type':REMOVE_APP_TOOL,'name':_0x5bd979(0x1bc)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x2d2e26){const _0x31ca52=a0_0xe2c86f;var _0x3e7ecf=document[_0x31ca52(0x1bb)]('meta[name=\x22application-name\x22]')?.[_0x31ca52(0x1c9)],_0x3abe61=(await client[_0x31ca52(0x1b9)]({'query':a0_0x4396c2`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0xae16c6=a0_0x58c7;(function(_0x1705fc,_0x9e4aa4){const _0x415899=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x3cfdae(0x102),'operator':'eq','value':!0x0},{'name':_0x3cfdae(0x104),'operator':'in','value':['',_0x4e9f52]}],'sortings':[{'name':_0x3cfdae(0x106),'desc':!0x1}]}}))[_0x3cfdae(0x100)][_0x3cfdae(0x115)][_0x3cfdae(0xfd)];store[_0x3cfdae(0x110)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x25bf10[_0x3cfdae(0x10d)](_0x588bec=>!_0x588bec[_0x3cfdae(0x104)]||_0x588bec[_0x3cfdae(0x104)]===_0x4e9f52),'template':_0x167596});}
23
+ `,'variables':{'filters':[{'name':'active','operator':'eq','value':!0x0},{'name':_0x31ca52(0x1b6),'operator':'in','value':['',_0x3e7ecf]}],'sortings':[{'name':_0x31ca52(0x1b7),'desc':!0x1}]}}))[_0x31ca52(0x1c5)]['liteMenus']['items'];store[_0x31ca52(0x1c3)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x3abe61[_0x31ca52(0x1b1)](_0x4abb66=>!_0x4abb66[_0x31ca52(0x1b6)]||_0x4abb66[_0x31ca52(0x1b6)]===_0x3e7ecf),'template':_0x2d2e26});}function a0_0x4d63(){const _0xdc68f7=['value','UPDATE_META_UI','2663096qhcFde','dispatch','NAVBAR','data','984780iWvRsO','HEADERBAR','UPDATE_META_MENU_TEMPLATE','content','get','802210xwdBxn','FRONT_END','filter','portrait','27qQGqdH','14643320buybTP','66WrbMwE','appName','rank','549269LfoItG','query','73287TELJhK','querySelector','hamburger','dynamic-menu-part','76jnEYAL','1432168CkDIxu'];a0_0x4d63=function(){return _0xdc68f7;};return a0_0x4d63();}
@@ -23,6 +23,9 @@ import { OxGristEditorResourceCodeSelector } from './component/grist/editor/ox-g
23
23
  import { FilterGristResourceCodeSelect } from './component/filter/filter-grist-resource-code-select'
24
24
  import { FilterFormResourceCodeSelect } from './component/filter/filter-form-resource-code-select'
25
25
 
26
+ import '@operato/app/filter-renderer.js'
27
+ import '@operato/app/filters-form.js'
28
+
26
29
  export default function bootstrap() {
27
30
  import(`./pages/activity/meta-activity-writer-element`)
28
31
  import(`./pages/activity/meta-activity-viewer-element`)
@@ -38,6 +41,22 @@ export default function bootstrap() {
38
41
  metaUI
39
42
  })
40
43
 
44
+ // var titleMeta = document.querySelector('meta[name="application-name"]');
45
+ // console.log(titleMeta ? titleMeta.content : 'Things Factory')
46
+ // console.log(ENV['APP-VERSION'])
47
+
48
+ // var iconLink = document.querySelector('link[rel="application-icon"]')
49
+ // var titleMeta = document.querySelector('meta[name="application-name"]')
50
+ // var descriptionMeta = document.querySelector('meta[name="application-description"]')
51
+
52
+ // this._applicationMeta = {
53
+ // icon: iconLink ? iconLink.href : logo,
54
+ // title: titleMeta ? titleMeta.content : 'Things Factory',
55
+ // description: descriptionMeta ? descriptionMeta.content : 'Reimagining Software'
56
+ // }
57
+
58
+
59
+
41
60
  auth.on('profile', async ({ credential, domains, domain }) => {
42
61
  // 1. 용어 다운로드
43
62
  let locale = MetaApi.currentLocale()
@@ -1,16 +1,16 @@
1
- (function(_0x4b6c79,_0x3004fe){const _0x45906b=a0_0x13a9,_0x24b1d2=_0x4b6c79();while(!![]){try{const _0x69214=parseInt(_0x45906b(0x11e))/0x1*(parseInt(_0x45906b(0x131))/0x2)+-parseInt(_0x45906b(0x125))/0x3*(parseInt(_0x45906b(0x136))/0x4)+-parseInt(_0x45906b(0x127))/0x5+-parseInt(_0x45906b(0x120))/0x6*(-parseInt(_0x45906b(0x11f))/0x7)+-parseInt(_0x45906b(0x122))/0x8+parseInt(_0x45906b(0x123))/0x9*(parseInt(_0x45906b(0x130))/0xa)+parseInt(_0x45906b(0x133))/0xb;if(_0x69214===_0x3004fe)break;else _0x24b1d2['push'](_0x24b1d2['shift']());}catch(_0x448add){_0x24b1d2['push'](_0x24b1d2['shift']());}}}(a0_0x55e8,0x55077));import'../grist/selector/ox-resource-code-selector-popup';function a0_0x55e8(){const _0x74c6b2=['change','2137498lqUntS','value','form\x20[name=\x22','156lAXVVc','length','options','16153LrGRhc','132076AoeOSj','42QihFnh','name','1549368skzGiD','2514672uEUgYo','renderRoot','40860hCMQUf','large','651665GXgJfx','tMenu','filter-change','dispField','codes','stopPropagation','filter','querySelector','dispatchEvent','10LdawLW','74VTwzbf'];a0_0x55e8=function(){return _0x74c6b2;};return a0_0x55e8();}import{html}from'lit-html';function a0_0x13a9(_0x41be0c,_0x461f96){const _0x55e8f1=a0_0x55e8();return a0_0x13a9=function(_0x13a912,_0x23e73d){_0x13a912=_0x13a912-0x11d;let _0x4f9eae=_0x55e8f1[_0x13a912];return _0x4f9eae;},a0_0x13a9(_0x41be0c,_0x461f96);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x50cc02,_0x1ad835,_0x3f0977){const _0x4711b3=a0_0x13a9;var _0xdf726b=html`
1
+ function a0_0x3da1(){const _0x33f291=['520028FDoOZH','value','options','1557668sYsWrL','14632vbsrwt','140bBbqPE','189LOQUSh','toLowerCase','dispatchEvent','target','1215aASJVs','change','querySelector','renderRoot','codes','ox-grid-header','11sEOzhV','selectorName','tagName','filter','length','large','[name=\x22','39152lrmlFM','10361070SruskU','dispField','510950dCxFeB','tMenu','174402JotooE','name','codeField'];a0_0x3da1=function(){return _0x33f291;};return a0_0x3da1();}(function(_0x166d7c,_0x421b51){const _0x4c0708=a0_0x2bf0,_0x5663ef=_0x166d7c();while(!![]){try{const _0x5815ed=parseInt(_0x4c0708(0xd1))/0x1+parseInt(_0x4c0708(0xb7))/0x2+parseInt(_0x4c0708(0xbd))/0x3*(parseInt(_0x4c0708(0xce))/0x4)+-parseInt(_0x4c0708(0xbc))/0x5*(-parseInt(_0x4c0708(0xd3))/0x6)+-parseInt(_0x4c0708(0xba))/0x7+parseInt(_0x4c0708(0xbb))/0x8*(-parseInt(_0x4c0708(0xc1))/0x9)+-parseInt(_0x4c0708(0xcf))/0xa*(parseInt(_0x4c0708(0xc7))/0xb);if(_0x5815ed===_0x421b51)break;else _0x5663ef['push'](_0x5663ef['shift']());}catch(_0x18723f){_0x5663ef['push'](_0x5663ef['shift']());}}}(a0_0x3da1,0xa9e82));import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2bf0(_0x13849c,_0x1e2ab7){const _0x3da188=a0_0x3da1();return a0_0x2bf0=function(_0x2bf08e,_0x3bdbd9){_0x2bf08e=_0x2bf08e-0xb5;let _0x45e459=_0x3da188[_0x2bf08e];return _0x45e459;},a0_0x2bf0(_0x13849c,_0x1e2ab7);}import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x2a4f76,_0x505300,_0x4afa99){const _0x5961f7=a0_0x2bf0;var _0x449880=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x1ad835}
4
- .options=${_0x50cc02[_0x4711b3(0x11d)]}
5
- .confirmCallback=${_0x3f0977}
3
+ .value=${_0x505300}
4
+ .options=${_0x2a4f76[_0x5961f7(0xb9)]}
5
+ .confirmCallback=${_0x4afa99}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0xdf726b,{'backdrop':!0x0,'size':_0x4711b3(0x126),'title':TermsUtil[_0x4711b3(0x128)](_0x50cc02[_0x4711b3(0x11d)]['selectorName'])});}export const FilterFormResourceCodeSelect=(_0x4ae907,_0x49ea17,_0x199ee2)=>{const _0x4e4f3d=a0_0x13a9,_0x57ec39=_0x4ae907[_0x4e4f3d(0x11d)],_0x2aa834=_0x57ec39[_0x4e4f3d(0x12b)]&&_0x57ec39[_0x4e4f3d(0x137)]>0x0?_0x57ec39['codes']:void 0x0,{operator:_0x276298='eq'}=_0x4ae907;let _0x158db1=_0x49ea17||'';if(_0x57ec39[_0x4e4f3d(0x12a)]&&_0x49ea17&&_0x2aa834&&_0x2aa834){let _0xd3eacc=_0x2aa834[_0x4e4f3d(0x12d)](_0x24c656=>_0x24c656[_0x4e4f3d(0x134)]==_0x49ea17);_0xd3eacc&&_0xd3eacc[_0x4e4f3d(0x137)]>0x0&&(_0x158db1=_0xd3eacc[0x0][_0x57ec39[_0x4e4f3d(0x12a)]]);}return'eq'===_0x276298?html`
8
- <input name='${_0x4ae907['name']}' type="text" hidden></input>
7
+ `;openPopup(_0x449880,{'backdrop':!0x0,'size':_0x5961f7(0xcc),'title':TermsUtil[_0x5961f7(0xd2)](_0x2a4f76[_0x5961f7(0xb9)][_0x5961f7(0xc8)])});}export const FilterFormResourceCodeSelect=(_0x340069,_0x5f2683,_0x450d53)=>{const _0x231ad4=a0_0x2bf0,_0x27396c=_0x340069['options'],_0x72853=_0x27396c[_0x231ad4(0xc5)]&&_0x27396c['codes']['length']>0x0?_0x27396c[_0x231ad4(0xc5)]:void 0x0,{operator:_0x4427f4='eq'}=_0x340069;let _0x969dc1=_0x5f2683?_0x5f2683[_0x27396c[_0x231ad4(0xb6)]]:'',_0x1e17d2=_0x5f2683?_0x5f2683[_0x27396c['codeField']]:'';if(_0x27396c[_0x231ad4(0xd0)]&&_0x5f2683&&_0x72853){let _0x448e63=_0x72853[_0x231ad4(0xca)](_0x183257=>_0x183257[_0x231ad4(0xb8)]==_0x5f2683);_0x448e63&&_0x448e63[_0x231ad4(0xcb)]>0x0&&(_0x1e17d2=_0x448e63[0x0][_0x27396c[_0x231ad4(0xd0)]]);}return'eq'===_0x4427f4?html`
8
+ <input name='${_0x340069[_0x231ad4(0xb5)]}' .value=${_0x969dc1} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x4ae907[_0x4e4f3d(0x121)]}_disp'
13
- .value=${_0x158db1}
14
- @click=${_0xad8169=>{const _0x266f7c=_0x4e4f3d;_0xad8169[_0x266f7c(0x12c)]();const _0x36bf22=_0xad8169['target'];openResourceCodeSelector(_0x4ae907,_0x49ea17,_0x28f6f9=>{const _0x2760f=_0x266f7c;let _0x38d9f4=_0x28f6f9?_0x28f6f9[_0x57ec39['codeField']]:'',_0x37b94d=_0x38d9f4;_0x28f6f9&&_0x57ec39['dispField']&&(_0x37b94d=_0x28f6f9[_0x57ec39[_0x2760f(0x12a)]]),_0x36bf22[_0x2760f(0x134)]=_0x37b94d,_0x199ee2[_0x2760f(0x124)][_0x2760f(0x12e)](_0x2760f(0x135)+_0x4ae907['name']+'\x22]')[_0x2760f(0x134)]=_0x38d9f4,_0x36bf22['dispatchEvent'](new Event(_0x2760f(0x132),{'bubbles':!0x0})),_0x36bf22[_0x2760f(0x12f)](new CustomEvent(_0x2760f(0x129),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4ae907['name'],'operator':_0x276298,'value':_0x38d9f4}}));});}}
12
+ name='${_0x340069[_0x231ad4(0xb5)]}_disp'
13
+ .value=${_0x1e17d2}
14
+ @click=${_0x36f3cf=>{const _0x3b45d4=_0x231ad4;_0x36f3cf['stopPropagation']();const _0x2c4695=_0x36f3cf[_0x3b45d4(0xc0)];openResourceCodeSelector(_0x340069,_0x5f2683,_0x3d6f9b=>{const _0x21e8b8=_0x3b45d4;let _0x189703=_0x3d6f9b?_0x3d6f9b[_0x27396c[_0x21e8b8(0xb6)]]:'',_0x19993e=_0x189703;_0x3d6f9b&&_0x27396c[_0x21e8b8(0xd0)]&&(_0x19993e=_0x3d6f9b[_0x27396c[_0x21e8b8(0xd0)]]),_0x2c4695[_0x21e8b8(0xb8)]=_0x19993e,(_0x21e8b8(0xc6)==_0x450d53[_0x21e8b8(0xc9)][_0x21e8b8(0xbe)]()?_0x450d53['renderRoot'][_0x21e8b8(0xc3)](_0x21e8b8(0xcd)+_0x340069[_0x21e8b8(0xb5)]+'\x22]'):_0x450d53[_0x21e8b8(0xc4)][_0x21e8b8(0xc3)]('form\x20[name=\x22'+_0x340069['name']+'\x22]'))['value']=_0x189703,_0x2c4695[_0x21e8b8(0xbf)](new Event(_0x21e8b8(0xc2),{'bubbles':!0x0})),_0x2c4695[_0x21e8b8(0xbf)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x340069['name'],'operator':_0x4427f4,'value':_0x189703}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x5468(_0x149267,_0x235563){const _0x30267c=a0_0x3026();return a0_0x5468=function(_0x5468b7,_0xa321ef){_0x5468b7=_0x5468b7-0xf4;let _0x37f289=_0x30267c[_0x5468b7];return _0x37f289;},a0_0x5468(_0x149267,_0x235563);}function a0_0x3026(){const _0x437864=['370857KDrwpG','7969275rriATX','4uKHvAF','22ohXrfu','100709tNnjiF','dispatchEvent','4223268pYcpxa','tMenu','record','776047krZYba','length','name','value','options','renderRoot','large','target','272TWWPXO','codeField','change','form\x20[name=\x22','51073010ySDRBQ','selectorName','querySelector','filter','5457455TOgWrV','dispField'];a0_0x3026=function(){return _0x437864;};return a0_0x3026();}(function(_0x50604,_0x4196a2){const _0x1dedad=a0_0x5468,_0x36c9c5=_0x50604();while(!![]){try{const _0x29bd4f=-parseInt(_0x1dedad(0xfb))/0x1+parseInt(_0x1dedad(0xf5))/0x2*(-parseInt(_0x1dedad(0x10d))/0x3)+-parseInt(_0x1dedad(0xf4))/0x4*(parseInt(_0x1dedad(0x10b))/0x5)+-parseInt(_0x1dedad(0xf8))/0x6+-parseInt(_0x1dedad(0xf6))/0x7*(-parseInt(_0x1dedad(0x103))/0x8)+-parseInt(_0x1dedad(0x10e))/0x9+parseInt(_0x1dedad(0x107))/0xa;if(_0x29bd4f===_0x4196a2)break;else _0x36c9c5['push'](_0x36c9c5['shift']());}catch(_0x1f5398){_0x36c9c5['push'](_0x36c9c5['shift']());}}}(a0_0x3026,0xbe5ef));import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x342b60,_0x33e711,_0x2e18fa){const _0xf3c4d4=a0_0x5468;var _0x3c972c=html`
1
+ (function(_0x3f3537,_0x1953e3){const _0x20409c=a0_0x369b,_0xd3a2f=_0x3f3537();while(!![]){try{const _0x5bd40c=-parseInt(_0x20409c(0x10a))/0x1*(parseInt(_0x20409c(0x11d))/0x2)+-parseInt(_0x20409c(0x123))/0x3+-parseInt(_0x20409c(0x120))/0x4+parseInt(_0x20409c(0x129))/0x5*(parseInt(_0x20409c(0x127))/0x6)+-parseInt(_0x20409c(0x118))/0x7*(-parseInt(_0x20409c(0x117))/0x8)+parseInt(_0x20409c(0x113))/0x9*(parseInt(_0x20409c(0x126))/0xa)+parseInt(_0x20409c(0x119))/0xb;if(_0x5bd40c===_0x1953e3)break;else _0xd3a2f['push'](_0xd3a2f['shift']());}catch(_0x2f09bf){_0xd3a2f['push'](_0xd3a2f['shift']());}}}(a0_0x28c9,0xeaeee));import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x369b(_0x2bce7a,_0x300681){const _0x28c93b=a0_0x28c9();return a0_0x369b=function(_0x369b19,_0x5a324a){_0x369b19=_0x369b19-0x10a;let _0xd1419e=_0x28c93b[_0x369b19];return _0xd1419e;},a0_0x369b(_0x2bce7a,_0x300681);}import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x3206d9,_0x1c7cea,_0x42d79f){const _0x374b99=a0_0x369b;var _0x2bf4d9=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x33e711}
4
- .options=${_0x342b60['record'][_0xf3c4d4(0xff)]}
5
- .confirmCallback=${_0x2e18fa}
3
+ .value=${_0x1c7cea}
4
+ .options=${_0x3206d9[_0x374b99(0x11a)][_0x374b99(0x112)]}
5
+ .confirmCallback=${_0x42d79f}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0x3c972c,{'backdrop':!0x0,'size':_0xf3c4d4(0x101),'title':TermsUtil[_0xf3c4d4(0xf9)](_0x342b60[_0xf3c4d4(0xfa)][_0xf3c4d4(0xff)][_0xf3c4d4(0x108)])});}export const FilterGristResourceCodeSelect=(_0x3afbaf,_0x28a0e9,_0x3db143)=>{const _0x50365=a0_0x5468,_0x134cd9=_0x3afbaf[_0x50365(0x10a)],_0x1bf0ff=_0x3afbaf[_0x50365(0xfa)][_0x50365(0xff)],_0x29dd83=_0x1bf0ff['codes']&&_0x1bf0ff[_0x50365(0xfc)]>0x0?_0x1bf0ff['codes']:void 0x0,{operator:_0x40b072='eq'}=_0x134cd9;let _0x3d4555=_0x28a0e9||'';if(_0x1bf0ff[_0x50365(0x10c)]&&_0x28a0e9&&_0x29dd83&&_0x29dd83){let _0xb20f9e=_0x29dd83['filter'](_0x58824f=>_0x58824f[_0x50365(0xfe)]==_0x28a0e9);_0xb20f9e&&_0xb20f9e[_0x50365(0xfc)]>0x0&&(_0x3d4555=_0xb20f9e[0x0][_0x1bf0ff[_0x50365(0x10c)]]);}return'eq'===_0x40b072?html`
8
- <input name='${_0x3afbaf['name']}' type="text" hidden></input>
7
+ `;openPopup(_0x2bf4d9,{'backdrop':!0x0,'size':_0x374b99(0x114),'title':TermsUtil[_0x374b99(0x10b)](_0x3206d9[_0x374b99(0x11a)][_0x374b99(0x112)][_0x374b99(0x10e)])});}export const FilterGristResourceCodeSelect=(_0x1b438d,_0x4731e2,_0x29452c)=>{const _0x346ed1=a0_0x369b,_0x57aafd=_0x1b438d['filter'],_0x4a420c=_0x1b438d['record'][_0x346ed1(0x112)],_0x426319=_0x4a420c[_0x346ed1(0x121)]&&_0x4a420c['codes'][_0x346ed1(0x11c)]>0x0?_0x4a420c['codes']:void 0x0,{operator:_0x2cf498='eq'}=_0x57aafd;let _0x12d71b=_0x4731e2?_0x4731e2[_0x4a420c[_0x346ed1(0x12a)]]:'',_0xffef78=_0x4731e2?_0x4731e2[_0x4a420c[_0x346ed1(0x12a)]]:'';if(_0x4a420c[_0x346ed1(0x10c)]&&_0x4731e2&&_0x426319){let _0x99c6a0=_0x426319[_0x346ed1(0x111)](_0x1136ec=>_0x1136ec[_0x346ed1(0x10d)]==_0x4731e2);_0x99c6a0&&_0x99c6a0['length']>0x0&&(_0xffef78=_0x99c6a0[0x0][_0x4a420c[_0x346ed1(0x10c)]]);}return'eq'===_0x2cf498?html`
8
+ <input name='${_0x1b438d[_0x346ed1(0x115)]}' .value=${_0x12d71b} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x3afbaf[_0x50365(0xfd)]}_disp'
13
- .value=${_0x3d4555}
14
- @click=${_0x4111ee=>{const _0x4f11c1=_0x50365;_0x4111ee['stopPropagation']();const _0x1aad6e=_0x4111ee[_0x4f11c1(0x102)];openResourceCodeSelector(_0x3afbaf,_0x28a0e9,_0x14b625=>{const _0x516eaf=_0x4f11c1;let _0x2dee31=_0x14b625?_0x14b625[_0x1bf0ff[_0x516eaf(0x104)]]:'',_0x5ad087=_0x2dee31;_0x14b625&&_0x1bf0ff[_0x516eaf(0x10c)]&&(_0x5ad087=_0x14b625[_0x1bf0ff[_0x516eaf(0x10c)]]),_0x1aad6e[_0x516eaf(0xfe)]=_0x5ad087,_0x3db143[_0x516eaf(0x100)][_0x516eaf(0x109)](_0x516eaf(0x106)+_0x3afbaf[_0x516eaf(0xfd)]+'\x22]')[_0x516eaf(0xfe)]=_0x2dee31,_0x1aad6e[_0x516eaf(0xf7)](new Event(_0x516eaf(0x105),{'bubbles':!0x0})),_0x1aad6e[_0x516eaf(0xf7)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3afbaf[_0x516eaf(0xfd)],'operator':_0x40b072,'value':_0x2dee31}}));});}}
12
+ name='${_0x1b438d['name']}_disp'
13
+ .value=${_0xffef78}
14
+ @click=${_0x517358=>{const _0x2102e2=_0x346ed1;_0x517358[_0x2102e2(0x110)]();const _0x32fc6c=_0x517358[_0x2102e2(0x122)];openResourceCodeSelector(_0x1b438d,_0x4731e2,_0x21b1a6=>{const _0x56935f=_0x2102e2;let _0x5ef3ae=_0x21b1a6?_0x21b1a6[_0x4a420c['codeField']]:'',_0x603e10=_0x5ef3ae;_0x21b1a6&&_0x4a420c[_0x56935f(0x10c)]&&(_0x603e10=_0x21b1a6[_0x4a420c[_0x56935f(0x10c)]]),_0x32fc6c['value']=_0x603e10,('ox-grid-header'==_0x29452c[_0x56935f(0x125)][_0x56935f(0x11b)]()?_0x29452c[_0x56935f(0x11e)][_0x56935f(0x10f)](_0x56935f(0x128)+_0x57aafd[_0x56935f(0x115)]+'\x22]'):_0x29452c['renderRoot']['querySelector'](_0x56935f(0x116)+_0x57aafd['name']+'\x22]'))[_0x56935f(0x10d)]=_0x5ef3ae,_0x32fc6c[_0x56935f(0x11f)](new Event('change',{'bubbles':!0x0})),_0x32fc6c[_0x56935f(0x11f)](new CustomEvent(_0x56935f(0x124),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1b438d[_0x56935f(0x115)],'operator':_0x2cf498,'value':_0x5ef3ae}}));});}}
15
15
  />
16
- `:html``;};
16
+ `:html``;};function a0_0x28c9(){const _0x20e0cb=['toLowerCase','length','3680526ZFzQEb','renderRoot','dispatchEvent','2804008udYYqU','codes','target','1315953UjHAzb','filter-change','tagName','116630ABRiTD','9189252EksKsR','[name=\x22','5Guqhve','codeField','1KoWiAP','tMenu','dispField','value','selectorName','querySelector','stopPropagation','filter','options','981jkAASz','large','name','form\x20[name=\x22','8XZAazb','6980596LwDBge','1563815QNFHYc','record'];a0_0x28c9=function(){return _0x20e0cb;};return a0_0x28c9();}
@@ -1,11 +1,11 @@
1
- const a0_0xaa97f8=a0_0x35a8;(function(_0x49abe3,_0x4a3979){const _0x341e76=a0_0x35a8,_0x452c36=_0x49abe3();while(!![]){try{const _0x2d0d95=parseInt(_0x341e76(0x183))/0x1*(parseInt(_0x341e76(0x176))/0x2)+parseInt(_0x341e76(0x18d))/0x3*(-parseInt(_0x341e76(0x189))/0x4)+-parseInt(_0x341e76(0x17b))/0x5+parseInt(_0x341e76(0x190))/0x6+-parseInt(_0x341e76(0x186))/0x7+parseInt(_0x341e76(0x180))/0x8*(parseInt(_0x341e76(0x182))/0x9)+parseInt(_0x341e76(0x18c))/0xa;if(_0x2d0d95===_0x4a3979)break;else _0x452c36['push'](_0x452c36['shift']());}catch(_0x424375){_0x452c36['push'](_0x452c36['shift']());}}}(a0_0x1432,0x8b502));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x35a8(_0x2759d6,_0x434c3e){const _0x14320a=a0_0x1432();return a0_0x35a8=function(_0x35a84c,_0x281875){_0x35a84c=_0x35a84c-0x172;let _0x1b42b3=_0x14320a[_0x35a84c];return _0x1b42b3;},a0_0x35a8(_0x2759d6,_0x434c3e);}import'../selector/ox-resource-code-selector-popup';export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0x35e6be=a0_0x35a8;let _0x2371f9,_0x11b073=this[_0x35e6be(0x17a)][_0x35e6be(0x17f)][_0x35e6be(0x185)][_0x35e6be(0x175)]||[];if(!this[_0x35e6be(0x17a)][_0x35e6be(0x17f)][_0x35e6be(0x185)]['dispField'])return html`
2
- ${this[_0x35e6be(0x18b)]?html` <span tabindex="0" style="flex:1">${this['value']}</span> `:html`<span tabindex="0"></span>`}
3
- `;if(this[_0x35e6be(0x18b)]&&this['value'][_0x35e6be(0x18e)]>0x0){let _0x28930e=_0x11b073[_0x35e6be(0x17e)](_0x13e80e=>_0x13e80e[_0x35e6be(0x18b)]===this['value']);_0x2371f9=_0x28930e&&_0x28930e[_0x35e6be(0x18e)]>0x0?_0x28930e[0x0]['display']:'';}return html`
4
- ${_0x2371f9?html` <span tabindex="0" style="flex:1">${_0x2371f9}</span> `:html`<span tabindex="0"></span>`}
5
- `;}async[a0_0xaa97f8(0x187)](){const _0xc8546e=a0_0xaa97f8;super[_0xc8546e(0x187)]();}[a0_0xaa97f8(0x179)](_0x40999d){const _0x490c85=a0_0xaa97f8;_0x40999d[_0x490c85(0x172)](),this[_0x490c85(0x184)]();}['_onkeydown'](_0x370c9f){const _0x23929a=a0_0xaa97f8;_0x23929a(0x18f)==_0x370c9f[_0x23929a(0x17c)]&&(_0x370c9f[_0x23929a(0x172)](),this[_0x23929a(0x184)]());}[a0_0xaa97f8(0x184)](){const _0x450f3f=a0_0xaa97f8;this[_0x450f3f(0x174)]&&delete this[_0x450f3f(0x174)];var {selectorName:_0xf4ab07=''}=this['column'][_0x450f3f(0x17f)]['options']||{},_0x57b5c8=html`
1
+ const a0_0x201720=a0_0xa5bf;(function(_0x29ed8d,_0x4bbf79){const _0x427ecf=a0_0xa5bf,_0x313253=_0x29ed8d();while(!![]){try{const _0x2360cf=parseInt(_0x427ecf(0x1e2))/0x1+parseInt(_0x427ecf(0x1ca))/0x2*(-parseInt(_0x427ecf(0x1c8))/0x3)+-parseInt(_0x427ecf(0x1c7))/0x4*(parseInt(_0x427ecf(0x1e5))/0x5)+-parseInt(_0x427ecf(0x1d6))/0x6*(-parseInt(_0x427ecf(0x1d1))/0x7)+parseInt(_0x427ecf(0x1c2))/0x8*(-parseInt(_0x427ecf(0x1cb))/0x9)+-parseInt(_0x427ecf(0x1c1))/0xa*(-parseInt(_0x427ecf(0x1d4))/0xb)+parseInt(_0x427ecf(0x1da))/0xc*(parseInt(_0x427ecf(0x1de))/0xd);if(_0x2360cf===_0x4bbf79)break;else _0x313253['push'](_0x313253['shift']());}catch(_0x3df57c){_0x313253['push'](_0x313253['shift']());}}}(a0_0x1db2,0x79049));function a0_0x1db2(){const _0x3f9ccd=['7909ZUMcBb','field-change','6738qeQFTF','bind','popup','stopPropagation','1919604vLaWNX','column','display','dispField','39LpVOsj','key','_onkeydown','_onclick','149118bOhCcc','length','record','7820DbLgMo','value','tMenu','options','5740jHxAkr','46296XeamEW','codeField','codes','Enter','define','872wXIqWm','9AIqSLp','ox-grist-editor-resource-code-selector','462932NsfvmK','369qxbGOD','properties','dispatchEvent','push','filter','firstUpdated','4529HrKwun','openSelector','editorTemplate'];a0_0x1db2=function(){return _0x3f9ccd;};return a0_0x1db2();}import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../selector/ox-resource-code-selector-popup';export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get[a0_0x201720(0x1cc)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x201720(0x1d3)](){const _0x157056=a0_0x201720;let _0x33f076,_0x4b6543=this[_0x157056(0x1db)][_0x157056(0x1e4)]['options'][_0x157056(0x1c4)]||[];if(!this['column'][_0x157056(0x1e4)][_0x157056(0x1c0)]['dispField'])return html`
2
+ ${this[_0x157056(0x1be)]?html` <span tabindex="0" style="flex:1">${this[_0x157056(0x1be)]}</span> `:html`<span tabindex="0"></span>`}
3
+ `;if(this[_0x157056(0x1be)]&&this[_0x157056(0x1be)][_0x157056(0x1e3)]>0x0){let _0x40c3fb=_0x4b6543[_0x157056(0x1cf)](_0x1e4372=>_0x1e4372['value']===this[_0x157056(0x1be)]);_0x33f076=_0x40c3fb&&_0x40c3fb[_0x157056(0x1e3)]>0x0?_0x40c3fb[0x0][_0x157056(0x1dc)]:'';}return html`
4
+ ${_0x33f076?html` <span tabindex="0" style="flex:1">${_0x33f076}</span> `:html`<span tabindex="0"></span>`}
5
+ `;}async[a0_0x201720(0x1d0)](){super['firstUpdated']();}[a0_0x201720(0x1e1)](_0x29a49f){const _0x19d6a5=a0_0x201720;_0x29a49f[_0x19d6a5(0x1d9)](),this[_0x19d6a5(0x1d2)]();}[a0_0x201720(0x1e0)](_0x385b02){const _0x3c7b29=a0_0x201720;_0x3c7b29(0x1c5)==_0x385b02[_0x3c7b29(0x1df)]&&(_0x385b02[_0x3c7b29(0x1d9)](),this[_0x3c7b29(0x1d2)]());}[a0_0x201720(0x1d2)](){const _0x1ae93c=a0_0x201720;this['popup']&&delete this['popup'];var {selectorName:_0x2dfe07=''}=this[_0x1ae93c(0x1db)][_0x1ae93c(0x1e4)][_0x1ae93c(0x1c0)]||{},_0x5b1eb7=html`
6
6
  <ox-resource-code-selector-popup
7
- .value=${this[_0x450f3f(0x18b)]}
8
- .options=${this['column'][_0x450f3f(0x17f)]['options']}
9
- .confirmCallback=${(_0x39be9e=>{const _0x12b6ad=_0x450f3f;let _0x3da236=this[_0x12b6ad(0x17a)][_0x12b6ad(0x17f)][_0x12b6ad(0x185)]['codeField'],_0x422526=this[_0x12b6ad(0x17a)][_0x12b6ad(0x17f)][_0x12b6ad(0x185)]['dispField'];this[_0x12b6ad(0x17a)]['record'][_0x12b6ad(0x185)][_0x12b6ad(0x175)]||(this[_0x12b6ad(0x17a)][_0x12b6ad(0x17f)][_0x12b6ad(0x185)][_0x12b6ad(0x175)]=[]);let _0x407b3d=this[_0x12b6ad(0x17a)][_0x12b6ad(0x17f)]['options'][_0x12b6ad(0x175)]['filter'](_0x1abb38=>_0x1abb38['value']==_0x39be9e[_0x3da236]);_0x407b3d&&0x0!=_0x407b3d['length']||this['column'][_0x12b6ad(0x17f)][_0x12b6ad(0x185)]['codes']['push']({'value':_0x39be9e[_0x3da236],'display':_0x39be9e[_0x422526]}),this['dispatchEvent'](new CustomEvent(_0x12b6ad(0x18a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x12b6ad(0x18b)],'after':_0x39be9e?_0x39be9e[_0x3da236]:null,'record':this[_0x12b6ad(0x17f)],'column':this['column'],'row':this[_0x12b6ad(0x188)]}}));})[_0x450f3f(0x177)](this)}
7
+ .value=${this[_0x1ae93c(0x1be)]}
8
+ .options=${this[_0x1ae93c(0x1db)][_0x1ae93c(0x1e4)][_0x1ae93c(0x1c0)]}
9
+ .confirmCallback=${(_0xdfefa8=>{const _0x37147f=_0x1ae93c;let _0x5e3a6b=this[_0x37147f(0x1db)][_0x37147f(0x1e4)][_0x37147f(0x1c0)][_0x37147f(0x1c3)],_0xfbebfa=this[_0x37147f(0x1db)][_0x37147f(0x1e4)][_0x37147f(0x1c0)][_0x37147f(0x1dd)];this['column']['record'][_0x37147f(0x1c0)]['codes']||(this[_0x37147f(0x1db)][_0x37147f(0x1e4)]['options'][_0x37147f(0x1c4)]=[]);let _0x25a286=this[_0x37147f(0x1db)][_0x37147f(0x1e4)][_0x37147f(0x1c0)]['codes']['filter'](_0x54d3fc=>_0x54d3fc[_0x37147f(0x1be)]==_0xdfefa8[_0x5e3a6b]);_0x25a286&&0x0!=_0x25a286['length']||this['column'][_0x37147f(0x1e4)][_0x37147f(0x1c0)][_0x37147f(0x1c4)][_0x37147f(0x1ce)]({'value':_0xdfefa8[_0x5e3a6b],'display':_0xdfefa8[_0xfbebfa]}),this[_0x37147f(0x1cd)](new CustomEvent(_0x37147f(0x1d5),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x37147f(0x1be)],'after':_0xdfefa8?_0xdfefa8[_0x5e3a6b]:null,'record':this['record'],'column':this[_0x37147f(0x1db)],'row':this['row']}}));})[_0x1ae93c(0x1d7)](this)}
10
10
  ></ox-resource-code-selector-popup>
11
- `;this[_0x450f3f(0x174)]=openPopup(_0x57b5c8,{'backdrop':!0x0,'size':_0x450f3f(0x173),'title':TermsUtil[_0x450f3f(0x17d)](_0xf4ab07)});}}function a0_0x1432(){const _0x1c437d=['popup','codes','211746Kjaqnv','bind','define','_onclick','column','235600nzpbFG','key','tMenu','filter','record','200ITGrWH','ox-grist-editor-resource-code-selector','273672sYubww','3ZGILqZ','openSelector','options','6336141vEranV','firstUpdated','row','12IffGhl','field-change','value','8412970YpwJnO','865167WUzAyJ','length','Enter','2813760MRvyCa','stopPropagation','large'];a0_0x1432=function(){return _0x1c437d;};return a0_0x1432();}customElements[a0_0xaa97f8(0x178)](a0_0xaa97f8(0x181),OxGristEditorResourceCodeSelector);
11
+ `;this[_0x1ae93c(0x1d8)]=openPopup(_0x5b1eb7,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x1ae93c(0x1bf)](_0x2dfe07)});}}function a0_0xa5bf(_0x59a9bc,_0x47550c){const _0x1db226=a0_0x1db2();return a0_0xa5bf=function(_0xa5bf30,_0xc9fb28){_0xa5bf30=_0xa5bf30-0x1be;let _0x3fbe02=_0x1db226[_0xa5bf30];return _0x3fbe02;},a0_0xa5bf(_0x59a9bc,_0x47550c);}customElements[a0_0x201720(0x1c6)](a0_0x201720(0x1c9),OxGristEditorResourceCodeSelector);
@@ -1 +1 @@
1
- (function(_0x868e06,_0x352279){const _0x5f35f6=a0_0x47b1,_0x5ac826=_0x868e06();while(!![]){try{const _0x40d7fb=parseInt(_0x5f35f6(0x191))/0x1*(parseInt(_0x5f35f6(0x192))/0x2)+-parseInt(_0x5f35f6(0x180))/0x3+parseInt(_0x5f35f6(0x18c))/0x4*(-parseInt(_0x5f35f6(0x182))/0x5)+parseInt(_0x5f35f6(0x189))/0x6+parseInt(_0x5f35f6(0x18b))/0x7*(parseInt(_0x5f35f6(0x17c))/0x8)+parseInt(_0x5f35f6(0x18d))/0x9*(-parseInt(_0x5f35f6(0x186))/0xa)+parseInt(_0x5f35f6(0x17b))/0xb*(-parseInt(_0x5f35f6(0x18f))/0xc);if(_0x40d7fb===_0x352279)break;else _0x5ac826['push'](_0x5ac826['shift']());}catch(_0x5d9d3b){_0x5ac826['push'](_0x5ac826['shift']());}}}(a0_0x343f,0x323ee));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x47b1(_0x147298,_0xc0bf4f){const _0x343f45=a0_0x343f();return a0_0x47b1=function(_0x47b116,_0x4a5017){_0x47b116=_0x47b116-0x17b;let _0x5ab0cc=_0x343f45[_0x47b116];return _0x5ab0cc;},a0_0x47b1(_0x147298,_0xc0bf4f);}function onmouseover(_0x57302d){const _0x21a374=a0_0x47b1,_0xd8ffe8=_0x57302d[_0x21a374(0x185)];detectOverflow(_0xd8ffe8)&&_0xd8ffe8[_0x21a374(0x17e)](_0x21a374(0x17f),_0xd8ffe8[_0x21a374(0x17d)]);}function a0_0x343f(){const _0x2f1b4f=['189415tcdnbP','codes','display','target','10gLgeBV','dispField','record','2462910tIFWzh','length','36365tdULet','4BfWNXd','2280123ntJzqi','options','12omzRPK','value','6559MsatMG','114aFwoJP','3946437pTLjFC','584iJyoki','textContent','setAttribute','data-tooltip','923340IuOoBH','filter'];a0_0x343f=function(){return _0x2f1b4f;};return a0_0x343f();}function onmouseout(_0x4b55bd){const _0x45b197=a0_0x47b1;_0x4b55bd[_0x45b197(0x185)]['removeAttribute'](_0x45b197(0x17f));}export const OxGristRendererResourceCodeSelector=(_0x363846,_0x58ea30,_0x1cae49,_0x5e8a43,_0x261aab)=>{const _0x57b564=a0_0x47b1;if(!_0x58ea30[_0x57b564(0x188)][_0x57b564(0x18e)][_0x57b564(0x187)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x363846}</span>`;_0x58ea30[_0x57b564(0x188)][_0x57b564(0x18e)]['codes']||(_0x58ea30[_0x57b564(0x188)][_0x57b564(0x18e)][_0x57b564(0x183)]=[]);let _0x5338f6='';if(_0x363846&&_0x363846[_0x57b564(0x18a)]>0x0){let _0x28a24c=_0x58ea30[_0x57b564(0x188)][_0x57b564(0x18e)][_0x57b564(0x183)][_0x57b564(0x181)](_0x1db14a=>_0x1db14a[_0x57b564(0x190)]===_0x363846);_0x5338f6=_0x28a24c&&_0x28a24c['length']>0x0?_0x28a24c[0x0][_0x57b564(0x184)]:_0x363846;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5338f6}</span>`;};
1
+ (function(_0x125f37,_0x1f5ecc){const _0x49c038=a0_0x5f5b,_0x410255=_0x125f37();while(!![]){try{const _0x9ae938=-parseInt(_0x49c038(0x119))/0x1*(-parseInt(_0x49c038(0x11f))/0x2)+parseInt(_0x49c038(0x111))/0x3+-parseInt(_0x49c038(0x11c))/0x4+parseInt(_0x49c038(0x115))/0x5+-parseInt(_0x49c038(0x10e))/0x6*(parseInt(_0x49c038(0x110))/0x7)+parseInt(_0x49c038(0x11e))/0x8+-parseInt(_0x49c038(0x11d))/0x9;if(_0x9ae938===_0x1f5ecc)break;else _0x410255['push'](_0x410255['shift']());}catch(_0x2806f1){_0x410255['push'](_0x410255['shift']());}}}(a0_0x4dc6,0x724cc));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x35bb1d){const _0x46261c=a0_0x5f5b,_0x8ee2e=_0x35bb1d[_0x46261c(0x120)];detectOverflow(_0x8ee2e)&&_0x8ee2e[_0x46261c(0x116)](_0x46261c(0x10d),_0x8ee2e[_0x46261c(0x112)]);}function onmouseout(_0x110199){const _0x32b4ba=a0_0x5f5b;_0x110199[_0x32b4ba(0x120)][_0x32b4ba(0x117)](_0x32b4ba(0x10d));}export const OxGristRendererResourceCodeSelector=(_0x2dc71e,_0x5d3b0a,_0x2871ee,_0x5257cb,_0x578691)=>{const _0xef9c04=a0_0x5f5b;if(!_0x5d3b0a[_0xef9c04(0x113)][_0xef9c04(0x10f)][_0xef9c04(0x118)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2dc71e}</span>`;_0x5d3b0a['record'][_0xef9c04(0x10f)]['codes']||(_0x5d3b0a[_0xef9c04(0x113)][_0xef9c04(0x10f)][_0xef9c04(0x114)]=[]);let _0x8c8c2='';if(_0x2dc71e&&_0x2dc71e[_0xef9c04(0x11b)]>0x0){let _0x5bf483=_0x5d3b0a[_0xef9c04(0x113)]['options'][_0xef9c04(0x114)]['filter'](_0x444b47=>_0x444b47['value']===_0x2dc71e);_0x8c8c2=_0x5bf483&&_0x5bf483['length']>0x0?_0x5bf483[0x0][_0xef9c04(0x11a)]:_0x2dc71e;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x8c8c2}</span>`;};function a0_0x5f5b(_0x4fd5de,_0x43acfc){const _0x4dc6c8=a0_0x4dc6();return a0_0x5f5b=function(_0x5f5b4d,_0x662c65){_0x5f5b4d=_0x5f5b4d-0x10d;let _0x3c3133=_0x4dc6c8[_0x5f5b4d];return _0x3c3133;},a0_0x5f5b(_0x4fd5de,_0x43acfc);}function a0_0x4dc6(){const _0x30f388=['display','length','3637908RNwqGx','7239906tgYgXp','4191560LvVpsH','2BqQbRM','target','data-tooltip','6qttCyq','options','6290354JClBWS','2767863xqPaNJ','textContent','record','codes','4240060UcYpdo','setAttribute','removeAttribute','dispField','786127fMakRF'];a0_0x4dc6=function(){return _0x30f388;};return a0_0x4dc6();}
@@ -1,4 +1,4 @@
1
- const a0_0x54340b=a0_0x3216;function a0_0x3216(_0x56f20e,_0x3ca439){const _0x1d7260=a0_0x1d72();return a0_0x3216=function(_0x321679,_0x47a8a7){_0x321679=_0x321679-0x1f4;let _0x24b99b=_0x1d7260[_0x321679];return _0x24b99b;},a0_0x3216(_0x56f20e,_0x3ca439);}function a0_0x1d72(){const _0x855981=['header','left','forEach','record','empty','confirmCallback','clickEmpty','info','search_hidden_fields','fetchHandler','getCodeSelectorData','object','code','select-row-toggle','shadowRoot','scenario','searchByPagination','filterFields','getSelectColumns','8mgSdPl','options','codes','775326bBaeIK','render','connectedCallback','entity','102276ANxYig','length','#ox-grist','cancel','name','482913VjIYFP','columns','5mjslYI','tButton','type','select','handlers','1481998FvSCSS','push','GRID','getGristSelectableConfig','styles','295503yaREYV','selectRecord','dispField','map','1373668elUGRJ','values','resource-object','clickCancel','getCodeByEntity','sorters','getGristGuttersConfig','codeField','filter','tText','tLabel','resource-code-selector','selected','string','showToast','filters','10XCJJxk','getGristColumnConfig2','clickSelect','args','bind','gridConfig','rows','69902NHnTyq','isArray','grist','LIST'];a0_0x1d72=function(){return _0x855981;};return a0_0x1d72();}(function(_0x28a032,_0x7a2b6f){const _0x14e819=a0_0x3216,_0x105793=_0x28a032();while(!![]){try{const _0x5a1c62=-parseInt(_0x14e819(0x22d))/0x1+parseInt(_0x14e819(0x201))/0x2+-parseInt(_0x14e819(0x212))/0x3+parseInt(_0x14e819(0x216))/0x4+-parseInt(_0x14e819(0x208))/0x5*(-parseInt(_0x14e819(0x1fd))/0x6)+parseInt(_0x14e819(0x20d))/0x7*(-parseInt(_0x14e819(0x1fa))/0x8)+-parseInt(_0x14e819(0x206))/0x9*(-parseInt(_0x14e819(0x226))/0xa);if(_0x5a1c62===_0x7a2b6f)break;else _0x105793['push'](_0x105793['shift']());}catch(_0x51656a){_0x105793['push'](_0x105793['shift']());}}}(a0_0x1d72,0x302c4));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../../utils/terms-util';import{ValueUtil}from'../../../utils/value-util';import{ServiceUtil}from'../../../utils/service-util';import{MetaApi}from'../../../utils/meta-api';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class OxResourceCodeSelectorPopup extends LitElement{static [a0_0x54340b(0x211)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x574866=a0_0x18af;(function(_0x510fcb,_0x473fac){const _0x1b0456=a0_0x18af,_0x400e54=_0x510fcb();while(!![]){try{const _0x4302c8=parseInt(_0x1b0456(0x1f2))/0x1*(-parseInt(_0x1b0456(0x216))/0x2)+parseInt(_0x1b0456(0x211))/0x3+parseInt(_0x1b0456(0x1e4))/0x4+parseInt(_0x1b0456(0x1fe))/0x5*(parseInt(_0x1b0456(0x1f1))/0x6)+parseInt(_0x1b0456(0x206))/0x7*(parseInt(_0x1b0456(0x205))/0x8)+parseInt(_0x1b0456(0x1e7))/0x9*(-parseInt(_0x1b0456(0x1d9))/0xa)+-parseInt(_0x1b0456(0x219))/0xb*(parseInt(_0x1b0456(0x20f))/0xc);if(_0x4302c8===_0x473fac)break;else _0x400e54['push'](_0x400e54['shift']());}catch(_0x4ffdae){_0x400e54['push'](_0x400e54['shift']());}}}(a0_0x2f71,0x32e8c));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../../utils/terms-util';import{ValueUtil}from'../../../utils/value-util';import{ServiceUtil}from'../../../utils/service-util';import{MetaApi}from'../../../utils/meta-api';import{isMobileDevice}from'@operato/utils';function a0_0x18af(_0xee60ed,_0x2ee750){const _0x2f71d0=a0_0x2f71();return a0_0x18af=function(_0x18afe9,_0x5bb940){_0x18afe9=_0x18afe9-0x1d8;let _0x4ba54f=_0x2f71d0[_0x18afe9];return _0x4ba54f;},a0_0x18af(_0xee60ed,_0x2ee750);}function a0_0x2f71(){const _0x5e780a=['9whAsCV','getCodeByEntity','dispField','code','object','entity','length','filters','connectedCallback','scenario','186PZWCPf','205999oIcoNZ','search_hidden_fields','resource-object','push','confirmCallback','options','fetchHandler','forEach','firstUpdated','querySelector','cancel','empty','56530oAkXaV','ox-resource-code-selector-popup','clickCancel','type','args','columns','clickEmpty','29688oqlIUP','483JAIFGx','resource-code-selector','LIST','info','NOTHING_SELECTED','define','getGristGuttersConfig','sorters','shadowRoot','2376dcLFdG','GRID','919464usLQnV','name','header','selected','map','4krdNDX','gridConfig','getGristPagination100Config','17809jOkOHQ','filter','filterFields','isArray','selectRecord','string','tLabel','#ox-grist','getGristColumnConfig2','rows','769380qEbFAU','tButton','clickSelect','select','getCodeSelectorData','handlers','showToast','grist','getSelectColumns','values','codeField','419956fgfUam','record','bind'];a0_0x2f71=function(){return _0x5e780a;};return a0_0x2f71();}import{closePopup}from'@operato/popup';export class OxResourceCodeSelectorPopup extends LitElement{static ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x54340b=a0_0x3216;function a0_0x3216(_0x56f20e,_0x3ca439){const _0x1d7
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0x54340b(0x1ff)](){const _0x58bf53=a0_0x54340b;this['search_hidden_fields']=this['options'][_0x58bf53(0x225)]||[];let _0x294535=[...MetaApi[_0x58bf53(0x21c)](!0x0,!0x1)],_0x12909a=(this['options'][_0x58bf53(0x1f8)]&&this[_0x58bf53(0x1fb)][_0x58bf53(0x1f8)][_0x58bf53(0x202)]>0x0?this[_0x58bf53(0x1fb)][_0x58bf53(0x1f8)]:[this[_0x58bf53(0x1fb)][_0x58bf53(0x21d)]])[_0x58bf53(0x215)](_0x167b19=>{const _0x19cfec=_0x58bf53;let {name:_0x4896cf,operator:_0x2a7f02='eq'}=_0x19cfec(0x23c)==typeof _0x167b19?_0x167b19:{'name':_0x167b19};return{'name':_0x4896cf,'operator':_0x2a7f02};});if(this['options'][_0x58bf53(0x20b)]&&this[_0x58bf53(0x1fb)]['select']['length']>0x0)for(let _0x51a1f4=0x0;_0x51a1f4<this['options'][_0x58bf53(0x20b)][_0x58bf53(0x202)];_0x51a1f4++){let {type:_0x2321b7=_0x58bf53(0x223),name:_0x2fb6ca,hidden:_0x858222=!0x1,align:_0x80b2f1=_0x58bf53(0x232),header:_0x8f874b,sortable:_0x55d6aa=!0x1,width:_0x3691ad=0x87,options:_0xcbaa79}=this[_0x58bf53(0x1fb)][_0x58bf53(0x20b)][_0x51a1f4];if(0x1==_0x858222)_0x294535[_0x58bf53(0x20e)]({'type':_0x58bf53(0x223),'name':_0x2fb6ca,'hidden':!0x0});else{let _0x311370=MetaApi[_0x58bf53(0x227)](_0x2321b7,_0x2fb6ca,_0x8f874b||_0x2fb6ca,_0x80b2f1,!0x1,_0x55d6aa,_0x3691ad);_0x58bf53(0x20b)===_0x2321b7?Array[_0x58bf53(0x22e)](_0xcbaa79)?_0x311370[_0x58bf53(0x234)][_0x58bf53(0x1fb)]=_0xcbaa79:_0x58bf53(0x23d)===_0xcbaa79['type']?_0x311370[_0x58bf53(0x234)]['options']=await ServiceUtil[_0x58bf53(0x23b)](_0xcbaa79[_0x58bf53(0x217)]?_0xcbaa79['values']:_0xcbaa79[_0x58bf53(0x205)]):_0x58bf53(0x1f6)===_0xcbaa79['type']?_0x311370[_0x58bf53(0x234)][_0x58bf53(0x1fb)]=await ServiceUtil['getCodeByScenario'](_0xcbaa79[_0x58bf53(0x205)],_0xcbaa79[_0x58bf53(0x229)]):_0x58bf53(0x200)===_0xcbaa79[_0x58bf53(0x20a)]&&(_0x311370[_0x58bf53(0x234)][_0x58bf53(0x1fb)]=await ServiceUtil[_0x58bf53(0x21a)](_0xcbaa79[_0x58bf53(0x229)])):'object'===_0x2321b7||_0x58bf53(0x218)===_0x2321b7?(_0xcbaa79[_0x58bf53(0x20b)]&&_0xcbaa79['select'][_0x58bf53(0x233)](_0x59ac31=>{const _0x25eb72=_0x58bf53;_0x59ac31[_0x25eb72(0x231)]||(_0x59ac31[_0x25eb72(0x231)]=_0x59ac31[_0x25eb72(0x205)]),_0x59ac31[_0x25eb72(0x231)]=TermsUtil[_0x25eb72(0x220)](_0x59ac31[_0x25eb72(0x231)]);}),_0x311370[_0x58bf53(0x234)]['options']=_0xcbaa79):_0x58bf53(0x221)==_0x2321b7&&(_0x311370['record']['options']=object_opt,_0x311370['record'][_0x58bf53(0x1fb)][_0x58bf53(0x1fc)]=await ServiceUtil[_0x58bf53(0x21a)](object_opt)),_0x294535[_0x58bf53(0x20e)](_0x311370);}}else _0x294535[_0x58bf53(0x20e)](MetaApi[_0x58bf53(0x227)](_0x58bf53(0x223),this[_0x58bf53(0x1fb)][_0x58bf53(0x21d)],this[_0x58bf53(0x1fb)][_0x58bf53(0x21d)],'left',!0x1,!0x0,0xb4)),this[_0x58bf53(0x1fb)][_0x58bf53(0x214)]&&_0x294535['push'](MetaApi['getGristColumnConfig2']('string',this['options']['dispField'],this[_0x58bf53(0x1fb)]['dispField'],_0x58bf53(0x232),!0x1,!0x0,0x12c));_0x294535[_0x58bf53(0x233)](_0x1dc072=>{const _0x17bc57=_0x58bf53;let _0x24b8dc=_0x12909a[_0x17bc57(0x21e)](_0x429abf=>_0x1dc072[_0x17bc57(0x205)]==_0x429abf['name']);_0x24b8dc&&_0x24b8dc[_0x17bc57(0x202)]>0x0&&(_0x1dc072[_0x17bc57(0x21e)]=_0x24b8dc);});let _0x830250={'rows':MetaApi[_0x58bf53(0x210)](!0x1),'pagination':MetaApi['getGristPagination100Config'](),'appendable':!0x1,'columns':_0x294535,'sorters':[...this[_0x58bf53(0x1fb)][_0x58bf53(0x21b)]||[]]};_0x830250[_0x58bf53(0x22c)][_0x58bf53(0x20c)]={'click':_0x58bf53(0x1f4),'dblclick':(_0x32b58c,_0x1a4554,_0xb99488,_0x1533ab,_0x2885f0,_0x5df953)=>{const _0x4ad1e6=_0x58bf53;this[_0x4ad1e6(0x213)](_0x1533ab);}},this['gridConfig']=_0x830250,await super[_0x58bf53(0x1ff)]();}async['firstUpdated'](){await super['firstUpdated']();}[a0_0x54340b(0x1fe)](){const _0x167eeb=a0_0x54340b;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x167eeb(0x22b)]} .mode=${isMobileDevice()?_0x167eeb(0x230):_0x167eeb(0x20f)} auto-fetch
22
- .fetchHandler=${this[_0x167eeb(0x23a)][_0x167eeb(0x22a)](this)}>
20
+ `];async[a0_0x574866(0x1ef)](){const _0x453067=a0_0x574866;this['search_hidden_fields']=this[_0x453067(0x1f7)][_0x453067(0x1ee)]||[];let _0x229a74=[...MetaApi[_0x453067(0x20c)](!0x0,!0x1)],_0x313316=(this[_0x453067(0x1f7)][_0x453067(0x21b)]&&this['options'][_0x453067(0x21b)][_0x453067(0x1ed)]>0x0?this['options'][_0x453067(0x21b)]:[this['options'][_0x453067(0x1e3)]])[_0x453067(0x215)](_0x18591e=>{let {name:_0x2963df,operator:_0x27947d='eq'}='object'==typeof _0x18591e?_0x18591e:{'name':_0x18591e};return{'name':_0x2963df,'operator':_0x27947d};});if(this[_0x453067(0x1f7)][_0x453067(0x1dc)]&&this[_0x453067(0x1f7)][_0x453067(0x1dc)][_0x453067(0x1ed)]>0x0)for(let _0x259d6f=0x0;_0x259d6f<this[_0x453067(0x1f7)][_0x453067(0x1dc)]['length'];_0x259d6f++){let {type:_0x4464c0='string',name:_0x3dc8a6,hidden:_0x29701c=!0x1,align:_0x57b178='left',header:_0x3b6464,sortable:_0x53bcc4=!0x1,width:_0x3f6177=0x87,options:_0x9fb63c}=this[_0x453067(0x1f7)][_0x453067(0x1dc)][_0x259d6f];if(0x1==_0x29701c)_0x229a74[_0x453067(0x1f5)]({'type':_0x453067(0x21e),'name':_0x3dc8a6,'hidden':!0x0});else{let _0x10c09b=MetaApi['getGristColumnConfig2'](_0x4464c0,_0x3dc8a6,_0x3b6464||_0x3dc8a6,_0x57b178,!0x1,_0x53bcc4,_0x3f6177);'select'===_0x4464c0?Array[_0x453067(0x21c)](_0x9fb63c)?_0x10c09b[_0x453067(0x1e5)]['options']=_0x9fb63c:_0x453067(0x1ea)===_0x9fb63c[_0x453067(0x201)]?_0x10c09b['record'][_0x453067(0x1f7)]=await ServiceUtil[_0x453067(0x1dd)](_0x9fb63c['values']?_0x9fb63c[_0x453067(0x1e2)]:_0x9fb63c[_0x453067(0x212)]):_0x453067(0x1f0)===_0x9fb63c[_0x453067(0x201)]?_0x10c09b[_0x453067(0x1e5)][_0x453067(0x1f7)]=await ServiceUtil['getCodeByScenario'](_0x9fb63c['name'],_0x9fb63c[_0x453067(0x202)]):_0x453067(0x1ec)===_0x9fb63c[_0x453067(0x201)]&&(_0x10c09b['record'][_0x453067(0x1f7)]=await ServiceUtil[_0x453067(0x1e8)](_0x9fb63c[_0x453067(0x202)])):_0x453067(0x1eb)===_0x4464c0||_0x453067(0x1f4)===_0x4464c0?(_0x9fb63c['select']&&_0x9fb63c[_0x453067(0x1dc)][_0x453067(0x1f9)](_0x20a047=>{const _0x3bde5e=_0x453067;_0x20a047[_0x3bde5e(0x213)]||(_0x20a047[_0x3bde5e(0x213)]=_0x20a047['name']),_0x20a047[_0x3bde5e(0x213)]=TermsUtil[_0x3bde5e(0x21f)](_0x20a047[_0x3bde5e(0x213)]);}),_0x10c09b[_0x453067(0x1e5)][_0x453067(0x1f7)]=_0x9fb63c):_0x453067(0x207)==_0x4464c0&&(_0x10c09b[_0x453067(0x1e5)][_0x453067(0x1f7)]=object_opt,_0x10c09b[_0x453067(0x1e5)][_0x453067(0x1f7)]['codes']=await ServiceUtil['getCodeByEntity'](object_opt)),_0x229a74[_0x453067(0x1f5)](_0x10c09b);}}else _0x229a74['push'](MetaApi[_0x453067(0x221)](_0x453067(0x21e),this['options']['codeField'],this[_0x453067(0x1f7)]['codeField'],'left',!0x1,!0x0,0xb4)),this[_0x453067(0x1f7)][_0x453067(0x1e9)]&&_0x229a74[_0x453067(0x1f5)](MetaApi[_0x453067(0x221)]('string',this[_0x453067(0x1f7)][_0x453067(0x1e9)],this['options'][_0x453067(0x1e9)],'left',!0x1,!0x0,0x12c));_0x229a74[_0x453067(0x1f9)](_0x24e45=>{const _0x4abad6=_0x453067;let _0x4027bb=_0x313316[_0x4abad6(0x21a)](_0x330171=>_0x24e45[_0x4abad6(0x212)]==_0x330171['name']);_0x4027bb&&_0x4027bb['length']>0x0&&(_0x24e45[_0x4abad6(0x21a)]=_0x4027bb);});let _0x1b364e={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x453067(0x218)](),'appendable':!0x1,'columns':_0x229a74,'sorters':[...this[_0x453067(0x1f7)][_0x453067(0x20d)]||[]]};_0x1b364e[_0x453067(0x1d8)][_0x453067(0x1de)]={'click':'select-row-toggle','dblclick':(_0x1c6f00,_0x49cec0,_0x54f42d,_0x15f6c1,_0x20eb44,_0x3b6c68)=>{const _0x4129d0=_0x453067;this[_0x4129d0(0x21d)](_0x15f6c1);}},this[_0x453067(0x217)]=_0x1b364e,await super[_0x453067(0x1ef)]();}async[a0_0x574866(0x1fa)](){const _0x37a232=a0_0x574866;await super[_0x37a232(0x1fa)]();}['render'](){const _0xebc16f=a0_0x574866;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0xebc16f(0x217)]} .mode=${isMobileDevice()?_0xebc16f(0x208):_0xebc16f(0x210)} auto-fetch
22
+ .fetchHandler=${this[_0xebc16f(0x1f8)]['bind'](this)}>
23
23
  <div slot="headroom">
24
24
  <div id="filters">
25
25
  <ox-filters-form></ox-filters-form>
@@ -27,14 +27,14 @@ const a0_0x54340b=a0_0x3216;function a0_0x3216(_0x56f20e,_0x3ca439){const _0x1d7
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil['tButton'](_0x167eeb(0x235))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this['clickEmpty'][_0x167eeb(0x22a)](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0xebc16f(0x1da)](_0xebc16f(0x1fd))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0xebc16f(0x204)][_0xebc16f(0x1e6)](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x167eeb(0x209)](_0x167eeb(0x204))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x167eeb(0x219)][_0x167eeb(0x22a)](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0xebc16f(0x1da)](_0xebc16f(0x1fc))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this['clickCancel'][_0xebc16f(0x1e6)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x167eeb(0x209)](_0x167eeb(0x20b))}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0x167eeb(0x228)][_0x167eeb(0x22a)](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0xebc16f(0x1da)](_0xebc16f(0x1dc))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0xebc16f(0x1db)]['bind'](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get[a0_0x54340b(0x22f)](){const _0x3fa90=a0_0x54340b;return this[_0x3fa90(0x1f5)]['querySelector'](_0x3fa90(0x203));}async['fetchHandler']({page:_0x159d1c=0x0,limit:_0x183453=0x0,sorters:_0x2e9040=[],filters:_0x1549c6=[]}){const _0x39e753=a0_0x54340b;let _0x593247=[...this[_0x39e753(0x239)]];_0x1549c6['forEach'](_0x405a16=>{const _0x581a96=_0x39e753;let _0x13eec7=_0x593247[_0x581a96(0x21e)](_0x49f2a6=>_0x405a16['name']==_0x49f2a6[_0x581a96(0x205)]);_0x13eec7&&_0x13eec7['length']>0x0&&delete _0x593247[_0x405a16['name']],_0x593247[_0x581a96(0x20e)](_0x405a16);});let _0x590ef1=MetaApi[_0x39e753(0x1f9)](this[_0x39e753(0x22b)][_0x39e753(0x207)]);return await MetaApi[_0x39e753(0x1f7)](this[_0x39e753(0x1fb)]['queryName'],_0x593247,_0x2e9040,_0x159d1c,_0x183453,_0x590ef1);}async[a0_0x54340b(0x237)](_0x4c13d9){this['confirmCallback']&&this['confirmCallback'](null),closePopup(this);}async[a0_0x54340b(0x219)](_0x65630d){closePopup(this);}async[a0_0x54340b(0x228)](_0x4830fa){const _0x59c641=a0_0x54340b;let _0x55ffe5=this[_0x59c641(0x22f)][_0x59c641(0x222)];_0x55ffe5&&0x0!=_0x55ffe5[_0x59c641(0x202)]?this[_0x59c641(0x213)](_0x55ffe5[0x0]):MetaApi[_0x59c641(0x224)](_0x59c641(0x238),TermsUtil[_0x59c641(0x21f)]('NOTHING_SELECTED'));}async[a0_0x54340b(0x213)](_0x3d77ce){const _0x1d4c27=a0_0x54340b;this[_0x1d4c27(0x236)]&&this[_0x1d4c27(0x236)](_0x3d77ce),closePopup(this);}}customElements['define']('ox-resource-code-selector-popup',OxResourceCodeSelectorPopup);
40
+ `;}get[a0_0x574866(0x1e0)](){const _0x3cf1cd=a0_0x574866;return this[_0x3cf1cd(0x20e)][_0x3cf1cd(0x1fb)](_0x3cf1cd(0x220));}async[a0_0x574866(0x1f8)]({page:_0x2bbe2b=0x0,limit:_0x127f3c=0x0,sorters:_0x6dc21=[],filters:_0x1d2d7a=[]}){const _0x3853b4=a0_0x574866;let _0x442826=[...this[_0x3853b4(0x1f3)]];_0x1d2d7a[_0x3853b4(0x1f9)](_0x4e8444=>{const _0x5db3d0=_0x3853b4;let _0x467196=_0x442826[_0x5db3d0(0x21a)](_0x21df1d=>_0x4e8444['name']==_0x21df1d['name']);_0x467196&&_0x467196[_0x5db3d0(0x1ed)]>0x0&&delete _0x442826[_0x4e8444['name']],_0x442826[_0x5db3d0(0x1f5)](_0x4e8444);});let _0x59abc6=MetaApi[_0x3853b4(0x1e1)](this[_0x3853b4(0x217)][_0x3853b4(0x203)]);return await MetaApi['searchByPagination'](this['options']['queryName'],_0x442826,_0x6dc21,_0x2bbe2b,_0x127f3c,_0x59abc6);}async[a0_0x574866(0x204)](_0x5ba96e){const _0x3b63a6=a0_0x574866;this['confirmCallback']&&this[_0x3b63a6(0x1f6)](null),closePopup(this);}async[a0_0x574866(0x200)](_0x28c986){closePopup(this);}async[a0_0x574866(0x1db)](_0x5ba56a){const _0x17a71e=a0_0x574866;let _0x52fb63=this['grist'][_0x17a71e(0x214)];_0x52fb63&&0x0!=_0x52fb63[_0x17a71e(0x1ed)]?this[_0x17a71e(0x21d)](_0x52fb63[0x0]):MetaApi[_0x17a71e(0x1df)](_0x17a71e(0x209),TermsUtil['tText'](_0x17a71e(0x20a)));}async['selectRecord'](_0x3099ee){const _0x3a4a94=a0_0x574866;this['confirmCallback']&&this[_0x3a4a94(0x1f6)](_0x3099ee),closePopup(this);}}customElements[a0_0x574866(0x20b)](a0_0x574866(0x1ff),OxResourceCodeSelectorPopup);
@@ -1 +1 @@
1
- const a0_0xe64230=a0_0x3a37;(function(_0x4818d1,_0x3c88bd){const _0x5a5d46=a0_0x3a37,_0x5a5737=_0x4818d1();while(!![]){try{const _0x22ad6c=parseInt(_0x5a5d46(0xf5))/0x1+parseInt(_0x5a5d46(0xf7))/0x2*(parseInt(_0x5a5d46(0x106))/0x3)+-parseInt(_0x5a5d46(0x102))/0x4+parseInt(_0x5a5d46(0x101))/0x5+parseInt(_0x5a5d46(0xef))/0x6*(-parseInt(_0x5a5d46(0x109))/0x7)+-parseInt(_0x5a5d46(0x110))/0x8+parseInt(_0x5a5d46(0xf3))/0x9;if(_0x22ad6c===_0x3c88bd)break;else _0x5a5737['push'](_0x5a5737['shift']());}catch(_0x30f39b){_0x5a5737['push'](_0x5a5737['shift']());}}}(a0_0xdd43,0x76a8f));function a0_0xdd43(){const _0x33b4d1=['3gfkISZ','etcConfig','filterForm','43666DrBKDz','isPage','name','fetchHandler','callScenario','params','menu','2659424IEWIZs','grist','parent_id','executeCallScenarioButtonClick','parseBasicGridConfigs','parseBasicTabConfigs','tTitle','getAndParseMenuMeta','318hOojkh','fetch','title_detail','parseBasicButtonConfigs','9474984KCCTHz','is_popup','92158sugGPL','pageUpdated','129590bdewjR','properties','split','parseBasicFormConfigs','getMenuMeta','active','lifecycle','isEmpty','openDynamicPopup','isPopup','183740YzSpZi','389616wrqhqS','isNotEmpty','is_detail','parseBasicServiceConfigs'];a0_0xdd43=function(){return _0x33b4d1;};return a0_0xdd43();}function a0_0x3a37(_0x594752,_0x152b0b){const _0xdd4325=a0_0xdd43();return a0_0x3a37=function(_0x3a3773,_0x2c21d2){_0x3a3773=_0x3a3773-0xed;let _0x3e3f2d=_0xdd4325[_0x3a3773];return _0x3e3f2d;},a0_0x3a37(_0x594752,_0x152b0b);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x187d0e=>class extends _0x187d0e{static get[a0_0xe64230(0xf8)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x31e106=>Boolean(_0x31e106)},'is_popup':{'type':Boolean,'converter':_0x5e709d=>Boolean(_0x5e709d)},'is_activity':{'type':Boolean,'converter':_0x5f36eb=>Boolean(_0x5f36eb)},'is_readonly':{'type':Boolean,'converter':_0x193a1a=>Boolean(_0x193a1a)}};}get['isElement'](){const _0x2382cc=a0_0xe64230;return!0x0===this[_0x2382cc(0x104)]||!0x0===this[_0x2382cc(0xf4)];}get['isDetail'](){const _0x5e7318=a0_0xe64230;return!ValueUtil[_0x5e7318(0xfe)](this[_0x5e7318(0x104)])&&this[_0x5e7318(0x104)];}async[a0_0xe64230(0xf6)](_0x291b42,_0x36583b,_0x4479b2){const _0x32ea0d=a0_0xe64230;let _0xddcd3f=this[_0x32ea0d(0xfd)]?.[_0x32ea0d(0x10e)]?this[_0x32ea0d(0xfd)][_0x32ea0d(0x10e)]:{};this[_0x32ea0d(0x10a)]&&this[_0x32ea0d(0xfc)]&&0x0==_0x4479b2[_0x32ea0d(0xfc)]&&ValueUtil['isNotEmpty'](_0xddcd3f)&&this['fetch']();}get[a0_0xe64230(0x100)](){const _0x4246b4=a0_0xe64230;return!ValueUtil['isEmpty'](this[_0x4246b4(0xf4)])&&this[_0x4246b4(0xf4)];}get[a0_0xe64230(0x10a)](){const _0x5935c5=a0_0xe64230;return!this[_0x5935c5(0x104)]&&!this[_0x5935c5(0xf4)];}async[a0_0xe64230(0xee)](){const _0x8f29af=a0_0xe64230;let _0x44df34=await MetaApi[_0x8f29af(0xfb)](this);_0x44df34&&(this['menuInfo']=_0x44df34[_0x8f29af(0x10f)],this[_0x8f29af(0x107)]=_0x44df34['etc'],this[_0x8f29af(0x114)]&&this['parseBasicGridConfigs'](_0x44df34),this[_0x8f29af(0x105)]&&this['parseBasicServiceConfigs'](_0x44df34),this['parseBasicFormConfigs']&&this[_0x8f29af(0xfa)](_0x44df34),this[_0x8f29af(0x115)]&&this[_0x8f29af(0x115)](_0x44df34),this[_0x8f29af(0xf2)]&&this[_0x8f29af(0xf2)](_0x44df34));}async['fetch'](){const _0x29389b=a0_0xe64230;ValueUtil[_0x29389b(0x103)](this[_0x29389b(0x111)])?this[_0x29389b(0x111)][_0x29389b(0xf0)]():(ValueUtil[_0x29389b(0x103)](this[_0x29389b(0x108)])||this[_0x29389b(0x10c)])&&await this['fetchHandler']();}async['excuteOpenPopupButtonClick'](_0x5cc84b,_0x1a0d75,_0x515c58){const _0x157dfc=a0_0xe64230;let _0x147262=TermsUtil[_0x157dfc(0xed)](_0x5cc84b['title']);ValueUtil['isNotEmpty'](_0x5cc84b[_0x157dfc(0xf1)])&&(_0x147262=_0x147262+'-'+ValueUtil['getParams'](_0x1a0d75,..._0x5cc84b[_0x157dfc(0xf1)][_0x157dfc(0xf9)]('.'))),MetaApi[_0x157dfc(0xff)](_0x147262,_0x5cc84b,_0x1a0d75,_0x515c58);}async[a0_0xe64230(0x113)](_0x2a7b7c,_0x26678,_0x2b9701){const _0x21f852=a0_0xe64230;let _0x595dfa=await MetaApi[_0x21f852(0x10d)](_0x2a7b7c['name'],_0x2a7b7c[_0x21f852(0x10b)],_0x26678);!0x1!==_0x595dfa&&!_0x595dfa['errors']&&ValueUtil[_0x21f852(0x103)](_0x2a7b7c['after'])&&_0x2b9701();}['setParentId'](_0x30fdbf){const _0x2b1a50=a0_0xe64230;this[_0x2b1a50(0x112)]=_0x30fdbf,this[_0x2b1a50(0xf0)]();}};
1
+ const a0_0x399c22=a0_0x3526;(function(_0x108e15,_0x2af90e){const _0x42995b=a0_0x3526,_0x32a9c6=_0x108e15();while(!![]){try{const _0x3be1c0=-parseInt(_0x42995b(0xce))/0x1*(parseInt(_0x42995b(0xb6))/0x2)+parseInt(_0x42995b(0xc4))/0x3*(parseInt(_0x42995b(0xb5))/0x4)+-parseInt(_0x42995b(0xcd))/0x5+-parseInt(_0x42995b(0xb0))/0x6*(parseInt(_0x42995b(0xc2))/0x7)+-parseInt(_0x42995b(0xa9))/0x8+parseInt(_0x42995b(0xcf))/0x9+-parseInt(_0x42995b(0xa7))/0xa*(-parseInt(_0x42995b(0xbd))/0xb);if(_0x3be1c0===_0x2af90e)break;else _0x32a9c6['push'](_0x32a9c6['shift']());}catch(_0x35c384){_0x32a9c6['push'](_0x32a9c6['shift']());}}}(a0_0x3a6a,0x99f20));import{MetaApi}from'./../utils/meta-api';function a0_0x3526(_0x5d6183,_0x1ebeb3){const _0x3a6a3b=a0_0x3a6a();return a0_0x3526=function(_0x3526df,_0x105927){_0x3526df=_0x3526df-0xa4;let _0x2bd63e=_0x3a6a3b[_0x3526df];return _0x2bd63e;},a0_0x3526(_0x5d6183,_0x1ebeb3);}import{ValueUtil}from'./../utils/value-util';function a0_0x3a6a(){const _0x4c404b=['fetchHandler','fetch','is_popup','isNotEmpty','7633479uipyzh','isElement','123EsKBff','after','errors','title','pageUpdated','getAndParseMenuMeta','isDetail','parseBasicTabConfigs','parseBasicButtonConfigs','2301875VQolmD','43088yhrpqi','1265715BzzLds','isPopup','split','menuInfo','params','title_detail','executeCallScenarioButtonClick','name','779110KONhPv','lifecycle','2051160lrKhCf','getMenuMeta','parseBasicServiceConfigs','parseBasicGridConfigs','menu','tTitle','isEmpty','6yuddiv','callScenario','etcConfig','active','grist','54764nGEkRE','46RYtoLV','parent_id','is_detail','etc','excuteOpenPopupButtonClick','properties','isPage','385QeBUDQ'];a0_0x3a6a=function(){return _0x4c404b;};return a0_0x3a6a();}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x162b57=>class extends _0x162b57{static get[a0_0x399c22(0xbb)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x4cd9bc=>Boolean(_0x4cd9bc)},'is_popup':{'type':Boolean,'converter':_0x5114e2=>Boolean(_0x5114e2)},'is_activity':{'type':Boolean,'converter':_0x2b1a46=>Boolean(_0x2b1a46)},'is_readonly':{'type':Boolean,'converter':_0x1e2f92=>Boolean(_0x1e2f92)}};}get[a0_0x399c22(0xc3)](){const _0x15bb73=a0_0x399c22;return!0x0===this[_0x15bb73(0xb8)]||!0x0===this[_0x15bb73(0xc0)];}get[a0_0x399c22(0xca)](){const _0x1323d4=a0_0x399c22;return!ValueUtil[_0x1323d4(0xaf)](this[_0x1323d4(0xb8)])&&this[_0x1323d4(0xb8)];}async[a0_0x399c22(0xc8)](_0x165f24,_0x553fb8,_0x14c4b5){const _0x567730=a0_0x399c22;let _0x4a8edd=this[_0x567730(0xa8)]?.[_0x567730(0xd3)]?this[_0x567730(0xa8)]['params']:{};this[_0x567730(0xbc)]&&this[_0x567730(0xb3)]&&0x0==_0x14c4b5['active']&&ValueUtil['isNotEmpty'](_0x4a8edd)&&this[_0x567730(0xbf)]();}get[a0_0x399c22(0xd0)](){const _0x1993fd=a0_0x399c22;return!ValueUtil[_0x1993fd(0xaf)](this[_0x1993fd(0xc0)])&&this[_0x1993fd(0xc0)];}get[a0_0x399c22(0xbc)](){const _0x197b06=a0_0x399c22;return!this['is_detail']&&!this[_0x197b06(0xc0)];}async[a0_0x399c22(0xc9)](){const _0x2cbdf2=a0_0x399c22;let _0x143586=await MetaApi[_0x2cbdf2(0xaa)](this);_0x143586&&(this[_0x2cbdf2(0xd2)]=_0x143586[_0x2cbdf2(0xad)],this[_0x2cbdf2(0xb2)]=_0x143586[_0x2cbdf2(0xb9)],this[_0x2cbdf2(0xac)]&&this[_0x2cbdf2(0xac)](_0x143586),this[_0x2cbdf2(0xab)]&&this[_0x2cbdf2(0xab)](_0x143586),this['parseBasicFormConfigs']&&this['parseBasicFormConfigs'](_0x143586),this['parseBasicTabConfigs']&&this[_0x2cbdf2(0xcb)](_0x143586),this['parseBasicButtonConfigs']&&this[_0x2cbdf2(0xcc)](_0x143586));}async[a0_0x399c22(0xbf)](){const _0x351e24=a0_0x399c22;ValueUtil[_0x351e24(0xc1)](this['grist'])?this[_0x351e24(0xb4)]['fetch']():(ValueUtil[_0x351e24(0xc1)](this['filterForm'])||this['fetchHandler'])&&await this[_0x351e24(0xbe)]();}async[a0_0x399c22(0xba)](_0x2aa2a0,_0x3d047c,_0x30c54e){const _0xda16a3=a0_0x399c22;let _0x242f99=TermsUtil[_0xda16a3(0xae)](_0x2aa2a0[_0xda16a3(0xc7)]);ValueUtil[_0xda16a3(0xc1)](_0x2aa2a0[_0xda16a3(0xa4)])&&(_0x242f99=_0x242f99+'-'+ValueUtil['getParams'](_0x3d047c,..._0x2aa2a0[_0xda16a3(0xa4)][_0xda16a3(0xd1)]('.'))),MetaApi['openDynamicPopup'](_0x242f99,_0x2aa2a0,_0x3d047c,_0x30c54e);}async[a0_0x399c22(0xa5)](_0x507e87,_0x4e56b1,_0x5ae7c3){const _0x337350=a0_0x399c22;let _0x10b47b=await MetaApi[_0x337350(0xb1)](_0x507e87['name'],_0x507e87[_0x337350(0xa6)],_0x4e56b1);!0x1!==_0x10b47b&&!_0x10b47b[_0x337350(0xc6)]&&ValueUtil[_0x337350(0xc1)](_0x507e87[_0x337350(0xc5)])&&_0x5ae7c3();}['setParentId'](_0x4cfed4){const _0x3b9999=a0_0x399c22;this[_0x3b9999(0xb7)]=_0x4cfed4,this[_0x3b9999(0xbf)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0xf3120d=a0_0x56df;(function(_0x1b7f60,_0x1ad8fc){const _0x56ac8d=a0_0x56df,_0x547929=_0x1b7f60();while(!![]){try{const _0x3d505b=-parseInt(_0x56ac8d(0x137))/0x1*(-parseInt(_0x56ac8d(0x16b))/0x2)+-parseInt(_0x56ac8d(0x151))/0x3*(parseInt(_0x56ac8d(0x15c))/0x4)+parseInt(_0x56ac8d(0x161))/0x5+-parseInt(_0x56ac8d(0x12f))/0x6+-parseInt(_0x56ac8d(0x13f))/0x7*(-parseInt(_0x56ac8d(0x154))/0x8)+-parseInt(_0x56ac8d(0x14c))/0x9+parseInt(_0x56ac8d(0x159))/0xa*(parseInt(_0x56ac8d(0x15d))/0xb);if(_0x3d505b===_0x1ad8fc)break;else _0x547929['push'](_0x547929['shift']());}catch(_0x271828){_0x547929['push'](_0x547929['shift']());}}}(a0_0x46e8,0x97f92));function a0_0x56df(_0x4661e9,_0x4843e5){const _0x46e888=a0_0x46e8();return a0_0x56df=function(_0x56dfd5,_0x230d1b){_0x56dfd5=_0x56dfd5-0x12e;let _0xc92297=_0x46e888[_0x56dfd5];return _0xc92297;},a0_0x56df(_0x4661e9,_0x4843e5);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x46e8(){const _0x1aae02=['getSelectedIdList','258243qhklZn','getParams','isNotEmpty','88kcKmGd','styles','activityDataSet','dataSet','findOne','10KaiYTP','title','connectedCallback','4KXkVMO','5653714LXIujl','gridConfig','clear','filterFormId','1756070nuqsvG','searchConfig','___data','parseGridConfigSet','tTitle','getContextObject','exportableData','shadowRoot','ox-grist','data','2OanWqX','forEach','menuInfo','5313366xKHwwV','firstUpdated','search','parseBasicGridConfigs','fetch','querySelector','grist','ox-filters-form','143237dDVflp','isPage','save','updateMultiple','getData','render','patchesForUpdateMultiple','getBasicGristStyles','710423bSGCNc','stringify','grid','pageInitialized','deleteByIds','properties','getAndParseMenuMeta','records','find','delete','startsWith','parse','keys','4776120bQFgvL','isElement','gristConfigSet','parseGristConfigs'];a0_0x46e8=function(){return _0x1aae02;};return a0_0x46e8();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x15d2a7=>class extends MetaButtonMixin(_0x15d2a7){static get[a0_0xf3120d(0x155)](){const _0x1a0ba3=a0_0xf3120d;return MetaApi[_0x1a0ba3(0x13e)]();}static get[a0_0xf3120d(0x144)](){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_0xf3120d(0x135)](){const _0x31c603=a0_0xf3120d;return this['renderRoot']?.[_0x31c603(0x134)](this['gristId']);}get['filterForm'](){const _0x4a6ac9=a0_0xf3120d;return this[_0x4a6ac9(0x168)]?.[_0x4a6ac9(0x134)](this['filterFormId']);}get['context'](){const _0x5b6697=a0_0xf3120d;return MetaUiUtil[_0x5b6697(0x166)](this);}async[a0_0xf3120d(0x15b)](){const _0x2dc61b=a0_0xf3120d;this['gristId']=_0x2dc61b(0x169),this[_0x2dc61b(0x160)]=_0x2dc61b(0x136),await this[_0x2dc61b(0x145)](),this[_0x2dc61b(0x14d)]&&await this[_0x2dc61b(0x14f)](),this['activityDataSet']&&(this[_0x2dc61b(0x157)]=this[_0x2dc61b(0x156)]),super[_0x2dc61b(0x15b)]&&await super[_0x2dc61b(0x15b)]();}async['firstUpdated'](){const _0x17e7d3=a0_0xf3120d;super[_0x17e7d3(0x130)]&&await super['firstUpdated']();}async[a0_0xf3120d(0x142)](){const _0x2f0f82=a0_0xf3120d;this[_0x2f0f82(0x138)]&&await this[_0x2f0f82(0x14f)](),super[_0x2f0f82(0x142)]&&await super['pageInitialized']();}[a0_0xf3120d(0x13c)](){const _0x3a87b8=a0_0xf3120d;return html`
2
- ${MetaApi['getBasicGristHtml'](this)}
3
- ${this[_0x3a87b8(0x138)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
- `;}[a0_0xf3120d(0x132)](_0x3596e6){const _0x9f6372=a0_0xf3120d;this[_0x9f6372(0x15e)]=_0x3596e6[_0x9f6372(0x141)],this['gridColumnConfig']=_0x3596e6['grid_column'],this[_0x9f6372(0x162)]=_0x3596e6[_0x9f6372(0x131)];}async[a0_0xf3120d(0x14f)](){const _0x50ddb3=a0_0xf3120d;this[_0x50ddb3(0x14e)]=await MetaApi[_0x50ddb3(0x164)](this);}async[a0_0xf3120d(0x133)](){const _0x558738=a0_0xf3120d;await this[_0x558738(0x135)][_0x558738(0x133)]();}async[a0_0xf3120d(0x139)](){const _0x4da87f=a0_0xf3120d;let _0x540486=MetaApi[_0x4da87f(0x13d)](this[_0x4da87f(0x135)]);!!ValueUtil[_0x4da87f(0x153)](_0x540486)&&await this[_0x4da87f(0x13a)](_0x540486)&&this[_0x4da87f(0x133)]();}async[a0_0xf3120d(0x147)](){const _0x3ef799=a0_0xf3120d;let _0x2249a0=MetaApi[_0x3ef799(0x150)](this[_0x3ef799(0x135)],!0x0);return ValueUtil[_0x3ef799(0x153)](_0x2249a0)?await this[_0x3ef799(0x158)](_0x2249a0[0x0]):{};}async[a0_0xf3120d(0x148)](){const _0x54d900=a0_0xf3120d;let _0x4dcb31=MetaApi[_0x54d900(0x150)](this[_0x54d900(0x135)],!0x0);!!ValueUtil[_0x54d900(0x153)](_0x4dcb31)&&await this[_0x54d900(0x143)](_0x4dcb31)&&this[_0x54d900(0x133)]();}async['export'](){const _0x5ca45f=a0_0xf3120d;let _0x457d13=TermsUtil[_0x5ca45f(0x165)](ValueUtil[_0x5ca45f(0x152)](this[_0x5ca45f(0x12e)],_0x5ca45f(0x15a)));return await MetaApi[_0x5ca45f(0x167)](this[_0x5ca45f(0x14d)],_0x457d13,this[_0x5ca45f(0x135)]);}async['import'](){}async[a0_0xf3120d(0x15f)](){const _0x433a96=a0_0xf3120d;this['grist']&&(this[_0x433a96(0x135)][_0x433a96(0x16a)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0xf3120d(0x13b)](){const _0x472cc6=a0_0xf3120d;let _0x5cf1ca=this[_0x472cc6(0x135)][_0x472cc6(0x163)][_0x472cc6(0x146)];return _0x5cf1ca=JSON[_0x472cc6(0x14a)](JSON[_0x472cc6(0x140)](_0x5cf1ca)),_0x5cf1ca[_0x472cc6(0x16c)](_0x4c03fb=>{const _0x1b2eec=_0x472cc6;Object[_0x1b2eec(0x14b)](_0x4c03fb)['forEach'](_0x4a829c=>{const _0x13d16a=_0x1b2eec;_0x4a829c[_0x13d16a(0x149)]('__')&&delete _0x4c03fb[_0x4a829c];});}),_0x5cf1ca;}};
1
+ const a0_0x3833bf=a0_0x1e83;function a0_0x1e83(_0x9e7f9d,_0xa7d430){const _0x17cc0d=a0_0x17cc();return a0_0x1e83=function(_0x1e834b,_0x1e6156){_0x1e834b=_0x1e834b-0x1b1;let _0x20932e=_0x17cc0d[_0x1e834b];return _0x20932e;},a0_0x1e83(_0x9e7f9d,_0xa7d430);}(function(_0x47fa05,_0x3030e8){const _0x4f0313=a0_0x1e83,_0xf763d5=_0x47fa05();while(!![]){try{const _0x3bf2dc=parseInt(_0x4f0313(0x1b7))/0x1+parseInt(_0x4f0313(0x1c7))/0x2+-parseInt(_0x4f0313(0x1dc))/0x3+parseInt(_0x4f0313(0x1ca))/0x4*(-parseInt(_0x4f0313(0x1cd))/0x5)+parseInt(_0x4f0313(0x1ba))/0x6*(-parseInt(_0x4f0313(0x1e3))/0x7)+-parseInt(_0x4f0313(0x1c1))/0x8+-parseInt(_0x4f0313(0x1ec))/0x9*(-parseInt(_0x4f0313(0x1bd))/0xa);if(_0x3bf2dc===_0x3030e8)break;else _0xf763d5['push'](_0xf763d5['shift']());}catch(_0x246d6c){_0xf763d5['push'](_0xf763d5['shift']());}}}(a0_0x17cc,0x9cf2b));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x17cc(){const _0x167c4e=['activityDataSet','2129808YTefUn','getBasicGristHtml','parseBasicGridConfigs','clear','gristId','ox-filters-form','title','1496201hATfJA','ox-grist','grist','data','startsWith','getSelectedIdList','gristConfigSet','menuInfo','firstUpdated','63vfLfiU','isElement','shadowRoot','filterFormId','search','getAndParseMenuMeta','tTitle','save','isPage','265566zGvBDd','forEach','getData','18vpZTQI','context','grid_column','3662810NoOIDj','parseGristConfigs','___data','records','1919664SuLgtG','updateMultiple','renderRoot','getParams','gridColumnConfig','render','19256pzZLcf','querySelector','filterForm','3988LKqicZ','delete','findOne','3035LhwWVU','dataSet','gridConfig','connectedCallback','patchesForUpdateMultiple','pageInitialized','import','parseGridConfigSet','properties','isNotEmpty','getBasicGristStyles','keys','getContextObject','export'];a0_0x17cc=function(){return _0x167c4e;};return a0_0x17cc();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x53cabe=>class extends MetaButtonMixin(_0x53cabe){static get['styles'](){const _0x5aa32a=a0_0x1e83;return MetaApi[_0x5aa32a(0x1d7)]();}static get[a0_0x3833bf(0x1d5)](){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_0x3833bf(0x1e5)](){const _0x100292=a0_0x3833bf;return this[_0x100292(0x1c3)]?.[_0x100292(0x1c8)](this[_0x100292(0x1e0)]);}get[a0_0x3833bf(0x1c9)](){const _0x2f4ebb=a0_0x3833bf;return this[_0x2f4ebb(0x1ee)]?.['querySelector'](this['filterFormId']);}get[a0_0x3833bf(0x1bb)](){const _0x470e37=a0_0x3833bf;return MetaUiUtil[_0x470e37(0x1d9)](this);}async[a0_0x3833bf(0x1d0)](){const _0x2f4b39=a0_0x3833bf;this[_0x2f4b39(0x1e0)]=_0x2f4b39(0x1e4),this[_0x2f4b39(0x1b1)]=_0x2f4b39(0x1e1),await this[_0x2f4b39(0x1b3)](),this[_0x2f4b39(0x1ed)]&&await this[_0x2f4b39(0x1be)](),this['activityDataSet']&&(this[_0x2f4b39(0x1ce)]=this[_0x2f4b39(0x1db)]),super['connectedCallback']&&await super[_0x2f4b39(0x1d0)]();}async['firstUpdated'](){const _0x214212=a0_0x3833bf;super[_0x214212(0x1eb)]&&await super['firstUpdated']();}async[a0_0x3833bf(0x1d2)](){const _0x56594e=a0_0x3833bf;this[_0x56594e(0x1b6)]&&await this['parseGristConfigs'](),super[_0x56594e(0x1d2)]&&await super[_0x56594e(0x1d2)]();}[a0_0x3833bf(0x1c6)](){const _0x3dfca3=a0_0x3833bf;return html`
2
+ ${MetaApi[_0x3dfca3(0x1dd)](this)}
3
+ ${this[_0x3dfca3(0x1b6)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
+ `;}[a0_0x3833bf(0x1de)](_0x5a143a){const _0x5a4504=a0_0x3833bf;this[_0x5a4504(0x1cf)]=_0x5a143a['grid'],this[_0x5a4504(0x1c5)]=_0x5a143a[_0x5a4504(0x1bc)],this['searchConfig']=_0x5a143a[_0x5a4504(0x1b2)];}async[a0_0x3833bf(0x1be)](){const _0x49d9f7=a0_0x3833bf;this[_0x49d9f7(0x1e9)]=await MetaApi[_0x49d9f7(0x1d4)](this);}async['fetch'](){await this['grist']['fetch']();}async[a0_0x3833bf(0x1b5)](){const _0x1207d0=a0_0x3833bf;let _0x1c7b52=MetaApi[_0x1207d0(0x1d1)](this[_0x1207d0(0x1e5)]);!!ValueUtil[_0x1207d0(0x1d6)](_0x1c7b52)&&await this[_0x1207d0(0x1c2)](_0x1c7b52)&&this['fetch']();}async['find'](){const _0x15ef69=a0_0x3833bf;let _0x52072e=MetaApi[_0x15ef69(0x1e8)](this[_0x15ef69(0x1e5)],!0x0);return ValueUtil[_0x15ef69(0x1d6)](_0x52072e)?await this[_0x15ef69(0x1cc)](_0x52072e[0x0]):{};}async[a0_0x3833bf(0x1cb)](){const _0x4ec5c3=a0_0x3833bf;let _0x34f026=MetaApi[_0x4ec5c3(0x1e8)](this[_0x4ec5c3(0x1e5)],!0x0);!!ValueUtil[_0x4ec5c3(0x1d6)](_0x34f026)&&await this['deleteByIds'](_0x34f026)&&this['fetch']();}async[a0_0x3833bf(0x1da)](){const _0x2e1d00=a0_0x3833bf;let _0x23b48d=TermsUtil[_0x2e1d00(0x1b4)](ValueUtil[_0x2e1d00(0x1c4)](this[_0x2e1d00(0x1ea)],_0x2e1d00(0x1e2)));return await MetaApi['exportableData'](this['isElement'],_0x23b48d,this['grist']);}async[a0_0x3833bf(0x1d3)](){}async[a0_0x3833bf(0x1df)](){const _0x1a350a=a0_0x3833bf;this[_0x1a350a(0x1e5)]&&(this[_0x1a350a(0x1e5)][_0x1a350a(0x1e6)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x3833bf(0x1b9)](){const _0x4e203b=a0_0x3833bf;let _0x16cf80=this['grist'][_0x4e203b(0x1bf)][_0x4e203b(0x1c0)];return _0x16cf80=JSON['parse'](JSON['stringify'](_0x16cf80)),_0x16cf80[_0x4e203b(0x1b8)](_0x1f64c0=>{const _0xee7d72=_0x4e203b;Object[_0xee7d72(0x1d8)](_0x1f64c0)[_0xee7d72(0x1b8)](_0x1d1b49=>{const _0x8bddb2=_0xee7d72;_0x1d1b49[_0x8bddb2(0x1e7)]('__')&&delete _0x1f64c0[_0x1d1b49];});}),_0x16cf80;}};
@@ -1 +1 @@
1
- const a0_0x1e3033=a0_0x7b9d;function a0_0xde55(){const _0x434f60=['184051aYlcYA','1772ZxPKBY','getCustomButtonContainerStyle','6erRYQv','56DkkSjs','customButtonHandler','useButtonExport','button','12003GOxMUs','export','2130687RwJOpS','import','getContextButtons','5556530OksPoj','1543875ijBDGA','properties','add','421914wQpsMx','getBasicButtonHandler','getButtonActionHandler','useButtonImport','gristButtonHandler','buttonConfig','useButtonAdd','1941cINysM','isButtonExist','getButtonContainer','parseBasicButtonConfigs'];a0_0xde55=function(){return _0x434f60;};return a0_0xde55();}(function(_0x58fd55,_0x2f93ac){const _0x584a03=a0_0x7b9d,_0x5d0184=_0x58fd55();while(!![]){try{const _0x29a7fb=-parseInt(_0x584a03(0x1a8))/0x1+parseInt(_0x584a03(0x1b1))/0x2+parseInt(_0x584a03(0x1b8))/0x3*(parseInt(_0x584a03(0x1bd))/0x4)+parseInt(_0x584a03(0x1ae))/0x5*(parseInt(_0x584a03(0x1bf))/0x6)+parseInt(_0x584a03(0x1bc))/0x7*(parseInt(_0x584a03(0x1c0))/0x8)+-parseInt(_0x584a03(0x1aa))/0x9+-parseInt(_0x584a03(0x1ad))/0xa;if(_0x29a7fb===_0x2f93ac)break;else _0x5d0184['push'](_0x5d0184['shift']());}catch(_0x35c1e5){_0x5d0184['push'](_0x5d0184['shift']());}}}(a0_0xde55,0x2d695));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x7b9d(_0x357fde,_0x4ea459){const _0xde55d9=a0_0xde55();return a0_0x7b9d=function(_0x7b9d3d,_0x46160d){_0x7b9d3d=_0x7b9d3d-0x1a7;let _0x2af220=_0xde55d9[_0x7b9d3d];return _0x2af220;},a0_0x7b9d(_0x357fde,_0x4ea459);}export const MetaButtonMixin=_0x5b52ee=>class extends MetaServiceMixin(_0x5b52ee){static get[a0_0x1e3033(0x1af)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1e3033(0x1be)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0x1e3033(0x1ac)](){const _0x328b25=a0_0x1e3033;return MetaUiUtil[_0x328b25(0x1ac)](this);}['getButtonContainer'](){const _0x33bfd4=a0_0x1e3033;return this['isPage']?html``:MetaUiUtil[_0x33bfd4(0x1ba)](this);}async[a0_0x1e3033(0x1b2)](_0x5f4342,_0xd89ced,_0x4c4337){const _0x2bc500=a0_0x1e3033;return await MetaUiUtil[_0x2bc500(0x1b3)](this,_0x5f4342,_0xd89ced,_0x4c4337);}async[a0_0x1e3033(0x1c1)](_0x56094a){await MetaUiUtil['customButtonHandler'](this,_0x56094a);}async[a0_0x1e3033(0x1b5)](_0x1b2b67,_0x460358){await MetaUiUtil['gristButtonHandler'](this,_0x1b2b67,_0x460358);}[a0_0x1e3033(0x1bb)](_0x597777){const _0x58c68e=a0_0x1e3033;this[_0x58c68e(0x1b6)]=_0x597777[_0x58c68e(0x1a7)],this[_0x58c68e(0x1b4)]=MetaUiUtil[_0x58c68e(0x1b9)](this['buttonConfig'],_0x58c68e(0x1ab)),this[_0x58c68e(0x1c2)]=MetaUiUtil[_0x58c68e(0x1b9)](this[_0x58c68e(0x1b6)],_0x58c68e(0x1a9)),this[_0x58c68e(0x1b7)]=MetaUiUtil[_0x58c68e(0x1b9)](this[_0x58c68e(0x1b6)],_0x58c68e(0x1b0));}};
1
+ const a0_0x281caa=a0_0x52e9;function a0_0x5dc7(){const _0x1c79ba=['useButtonImport','5lXxpsF','useButtonExport','getContextButtons','buttonConfig','button','7837292hwDGEk','isButtonExist','18lVtoPA','4595630rYQyIj','270312ktCcHw','gristButtonHandler','customButtonHandler','export','3626598BUhPYF','12208427HHqECm','add','import','24kulEqE','10582077IlIKkG','6juYHeV','properties','1723518TMywjn','getBasicButtonHandler','getButtonContainer','1fvUnGV','parseBasicButtonConfigs'];a0_0x5dc7=function(){return _0x1c79ba;};return a0_0x5dc7();}(function(_0x180450,_0x26b25c){const _0xa2746a=a0_0x52e9,_0x231f11=_0x180450();while(!![]){try{const _0x451321=-parseInt(_0xa2746a(0x1ff))/0x1*(parseInt(_0xa2746a(0x1f4))/0x2)+parseInt(_0xa2746a(0x1fc))/0x3+parseInt(_0xa2746a(0x1ec))/0x4*(-parseInt(_0xa2746a(0x202))/0x5)+-parseInt(_0xa2746a(0x1fa))/0x6*(-parseInt(_0xa2746a(0x1f5))/0x7)+-parseInt(_0xa2746a(0x1f0))/0x8*(-parseInt(_0xa2746a(0x1ee))/0x9)+parseInt(_0xa2746a(0x1ef))/0xa+-parseInt(_0xa2746a(0x1f9))/0xb*(-parseInt(_0xa2746a(0x1f8))/0xc);if(_0x451321===_0x26b25c)break;else _0x231f11['push'](_0x231f11['shift']());}catch(_0x4710ed){_0x231f11['push'](_0x231f11['shift']());}}}(a0_0x5dc7,0xf36ec));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x52e9(_0x1456a0,_0x25ef07){const _0x5dc7e1=a0_0x5dc7();return a0_0x52e9=function(_0x52e983,_0x139395){_0x52e983=_0x52e983-0x1eb;let _0x2200f1=_0x5dc7e1[_0x52e983];return _0x2200f1;},a0_0x52e9(_0x1456a0,_0x25ef07);}export const MetaButtonMixin=_0x4203c2=>class extends MetaServiceMixin(_0x4203c2){static get[a0_0x281caa(0x1fb)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0x281caa(0x204)](){const _0x47240a=a0_0x281caa;return MetaUiUtil[_0x47240a(0x204)](this);}[a0_0x281caa(0x1fe)](){const _0x4026df=a0_0x281caa;return this['isPage']?html``:MetaUiUtil[_0x4026df(0x1fe)](this);}async[a0_0x281caa(0x1fd)](_0x2603e1,_0x50bf78,_0x1cc8ba){return await MetaUiUtil['getButtonActionHandler'](this,_0x2603e1,_0x50bf78,_0x1cc8ba);}async[a0_0x281caa(0x1f2)](_0x34829b){const _0x5604c7=a0_0x281caa;await MetaUiUtil[_0x5604c7(0x1f2)](this,_0x34829b);}async['gristButtonHandler'](_0x59b3e6,_0x2ff8c1){const _0x59e536=a0_0x281caa;await MetaUiUtil[_0x59e536(0x1f1)](this,_0x59b3e6,_0x2ff8c1);}[a0_0x281caa(0x200)](_0x3eb8a6){const _0x74e2c4=a0_0x281caa;this[_0x74e2c4(0x205)]=_0x3eb8a6[_0x74e2c4(0x1eb)],this[_0x74e2c4(0x201)]=MetaUiUtil['isButtonExist'](this['buttonConfig'],_0x74e2c4(0x1f7)),this[_0x74e2c4(0x203)]=MetaUiUtil[_0x74e2c4(0x1ed)](this['buttonConfig'],_0x74e2c4(0x1f3)),this['useButtonAdd']=MetaUiUtil['isButtonExist'](this[_0x74e2c4(0x205)],_0x74e2c4(0x1f6));}};
@@ -1 +1 @@
1
- const a0_0x2e31d7=a0_0x1ec6;(function(_0x32c870,_0x36d80b){const _0x41b593=a0_0x1ec6,_0x48d044=_0x32c870();while(!![]){try{const _0x57f204=parseInt(_0x41b593(0x15a))/0x1*(-parseInt(_0x41b593(0x187))/0x2)+parseInt(_0x41b593(0x155))/0x3*(parseInt(_0x41b593(0x1a6))/0x4)+parseInt(_0x41b593(0x169))/0x5+-parseInt(_0x41b593(0x166))/0x6*(-parseInt(_0x41b593(0x174))/0x7)+-parseInt(_0x41b593(0x19a))/0x8+-parseInt(_0x41b593(0x16d))/0x9+-parseInt(_0x41b593(0x15c))/0xa*(-parseInt(_0x41b593(0x160))/0xb);if(_0x57f204===_0x36d80b)break;else _0x48d044['push'](_0x48d044['shift']());}catch(_0x4ed534){_0x48d044['push'](_0x48d044['shift']());}}}(a0_0xf6a9,0xd14d6));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x1ec6(_0x341761,_0x47b290){const _0xf6a944=a0_0xf6a9();return a0_0x1ec6=function(_0x1ec6ab,_0x12448b){_0x1ec6ab=_0x1ec6ab-0x155;let _0x323172=_0xf6a944[_0x1ec6ab];return _0x323172;},a0_0x1ec6(_0x341761,_0x47b290);}function a0_0xf6a9(){const _0x5456d1=['3099738TUsjJA','currentTarget','name','keys','filter','entries','assign','formColumnConfig','record','isEmpty','text.NOTHING_CHANGED','before','currentData','target','isElement','function','clear','getData','updateMultiple','2970864lqWDPo','properties','context','after','activity','removeGarbageData','renderRoot','firstUpdated','object','__dirty__','findOne','getBasicFormHtml','4QsdStV','__origin__','24888ScScCa','startsWith','OX-GRID-FIELD','map','is_activity','1TPoykG','addEventListener','700POCTcU','title.info','stopPropagation','parseBasicFormConfigs','472846VWZxKi','pageInitialized','focus','removeAttribute','button','isEquals','856932pGtreU','isNotEmpty','fetch','2240705InvCXG','parseFormConfigs','activityDataSet','__dirtyfields__','8753148RwufVG','isPage','editing','grid_column','Escape','call','dirtyData','14rWSSxL','form','Enter','cuFlag','formConfigSet','field-change','parent_id','keydown','forEach','editable','validation','tagName','connectedCallback','key','detail','orgData','getAndParseMenuMeta','patchData','Esc'];a0_0xf6a9=function(){return _0x5456d1;};return a0_0xf6a9();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x3cdad1=>class extends MetaButtonMixin(_0x3cdad1){static get['styles'](){return MetaApi['getBasicFormStyles']();}static get[a0_0x2e31d7(0x19b)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x2e31d7(0x19c)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x2e31d7(0x180)](){const _0x7ea308=a0_0x2e31d7;await this[_0x7ea308(0x184)](),this[_0x7ea308(0x195)]&&await this[_0x7ea308(0x16a)](),this['activityDataSet']&&(this['dataSet']=this[_0x7ea308(0x16b)]),!0x0!==this[_0x7ea308(0x159)]||this[_0x7ea308(0x17a)]||(this[_0x7ea308(0x17a)]=_0x7ea308(0x19e)),super[_0x7ea308(0x180)]&&await super[_0x7ea308(0x180)](),this[_0x7ea308(0x195)]&&await this[_0x7ea308(0x168)](),this[_0x7ea308(0x1a0)][_0x7ea308(0x15b)](_0x7ea308(0x17b),_0xd2fcd=>{const _0x84e406=_0x7ea308;switch(_0xd2fcd[_0x84e406(0x181)]){case _0x84e406(0x186):case _0x84e406(0x171):case _0x84e406(0x176):this['focus'](),this['currentTarget']&&this[_0x84e406(0x188)][_0x84e406(0x163)](_0x84e406(0x16f)),this[_0x84e406(0x188)]=null;}}),this[_0x7ea308(0x1a0)][_0x7ea308(0x15b)]('click',_0x4f1982=>{const _0x270fdd=_0x7ea308;_0x4f1982[_0x270fdd(0x15e)]();let _0x4e34fa=_0x4f1982[_0x270fdd(0x194)];if(this[_0x270fdd(0x188)]&&(this['focus'](),this[_0x270fdd(0x188)][_0x270fdd(0x163)](_0x270fdd(0x16f))),_0x270fdd(0x157)!==_0x4e34fa[_0x270fdd(0x17f)]||!_0x4e34fa['column'][_0x270fdd(0x18f)][_0x270fdd(0x17d)])return this[_0x270fdd(0x162)](),void(this[_0x270fdd(0x188)]=null);this[_0x270fdd(0x188)]=_0x4e34fa,_0x4e34fa['setAttribute'](_0x270fdd(0x16f),'true');}),this[_0x7ea308(0x15b)](_0x7ea308(0x179),_0x5c313f=>{const _0x4c2fef=_0x7ea308;var {after:_0x27691f,before:_0x43bd30,column:_0x2931ed,record:_0x28f810,row:_0x3d0ea5}=_0x5c313f[_0x4c2fef(0x182)];if(ValueUtil[_0x4c2fef(0x165)](_0x27691f,_0x43bd30))return;var _0x2f2775=_0x2931ed[_0x4c2fef(0x17e)];if(_0x2f2775&&_0x4c2fef(0x196)==typeof _0x2f2775&&!_0x2f2775[_0x4c2fef(0x172)](this,_0x27691f,_0x43bd30,_0x28f810,_0x2931ed))return;let _0x1aa98d=_0x2931ed[_0x4c2fef(0x189)];_0x28f810[_0x1aa98d]=_0x27691f,_0x28f810[_0x4c2fef(0x16c)]=_0x28f810[_0x4c2fef(0x16c)]||{},_0x28f810['__origin__']=_0x28f810[_0x4c2fef(0x1a7)]||{},_0x28f810[_0x4c2fef(0x16c)][_0x1aa98d]={'before':_0x28f810[_0x4c2fef(0x1a7)][_0x1aa98d],'after':_0x28f810[_0x1aa98d]},ValueUtil['isEquals'](_0x28f810[_0x4c2fef(0x16c)][_0x1aa98d][_0x4c2fef(0x192)],_0x28f810[_0x4c2fef(0x16c)][_0x1aa98d]['after'])&&delete _0x28f810[_0x4c2fef(0x16c)][_0x1aa98d],ValueUtil[_0x4c2fef(0x167)](_0x28f810[_0x4c2fef(0x16c)])?_0x28f810[_0x4c2fef(0x1a3)]='M':_0x28f810[_0x4c2fef(0x1a3)]='',this[_0x4c2fef(0x18f)]={..._0x28f810};});}async[a0_0x2e31d7(0x1a1)](){const _0x160fcf=a0_0x2e31d7;super[_0x160fcf(0x1a1)]&&await super[_0x160fcf(0x1a1)]();}async[a0_0x2e31d7(0x161)](){const _0x244c22=a0_0x2e31d7;this[_0x244c22(0x16e)]&&await this[_0x244c22(0x16a)](),super[_0x244c22(0x161)]&&await super[_0x244c22(0x161)](),this[_0x244c22(0x16e)]&&await this[_0x244c22(0x168)]();}['render'](){const _0x66eb4f=a0_0x2e31d7;return MetaApi[_0x66eb4f(0x1a5)](this);}[a0_0x2e31d7(0x15f)](_0x5c9499){const _0x220148=a0_0x2e31d7;this[_0x220148(0x18e)]=_0x5c9499[_0x220148(0x170)],this['formRenderConfig']=_0x5c9499[_0x220148(0x175)],_0x5c9499[_0x220148(0x164)]=_0x5c9499[_0x220148(0x164)][_0x220148(0x18b)](_0x219c87=>'save'==_0x219c87['name']);}async[a0_0x2e31d7(0x16a)](){const _0x1b14a1=a0_0x2e31d7;this[_0x1b14a1(0x178)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x2e31d7(0x183)](){const _0x21e602=a0_0x2e31d7;return this['removeGarbageData'](this[_0x21e602(0x18f)]['__origin__']);}get[a0_0x2e31d7(0x173)](){const _0x303096=a0_0x2e31d7;if(ValueUtil[_0x303096(0x190)](this[_0x303096(0x18f)][_0x303096(0x16c)]))return{};let _0x59228e={};return Object[_0x303096(0x18c)](this[_0x303096(0x18f)]['__dirtyfields__'])[_0x303096(0x158)](([_0x42af02,_0x232995])=>{const _0x29adda=_0x303096;0x0==_0x42af02['startsWith']('__')&&(_0x59228e[_0x42af02]=_0x232995[_0x29adda(0x19d)]);}),_0x59228e;}get['currentData'](){const _0x2c765c=a0_0x2e31d7;return this[_0x2c765c(0x19f)](this['record']);}[a0_0x2e31d7(0x19f)](_0x2e6ede){const _0x16b80c=a0_0x2e31d7;let _0x103ae5={};if(_0x2e6ede)return Object['entries'](_0x2e6ede)[_0x16b80c(0x158)](([_0x46ee31,_0x38923b])=>{const _0x528b7a=_0x16b80c;0x0==_0x46ee31[_0x528b7a(0x156)]('__')&&(_0x103ae5[_0x46ee31]=_0x38923b);}),_0x103ae5;}get[a0_0x2e31d7(0x185)](){const _0x5151ab=a0_0x2e31d7;let _0x2e43dd=this[_0x5151ab(0x173)],_0x3c5834=this[_0x5151ab(0x18f)];return ValueUtil[_0x5151ab(0x190)](_0x2e43dd)?[]:(ValueUtil[_0x5151ab(0x167)](_0x3c5834['id'])?(_0x2e43dd['id']=_0x3c5834['id'],_0x2e43dd['cuFlag']='M'):_0x2e43dd[_0x5151ab(0x177)]='+',Object[_0x5151ab(0x18a)](_0x2e43dd)[_0x5151ab(0x17c)](_0x26803e=>{const _0xcd478e=_0x5151ab;_0xcd478e(0x1a2)==typeof _0x2e43dd[_0x26803e]&&(_0x2e43dd[_0x26803e]={'id':_0x2e43dd[_0x26803e]['id']});}),[_0x2e43dd]);}async[a0_0x2e31d7(0x168)](){const _0x2479c3=a0_0x2e31d7;if(ValueUtil[_0x2479c3(0x190)](this[_0x2479c3(0x17a)]))return;let _0x2c8386=await this[_0x2479c3(0x1a4)](this[_0x2479c3(0x17a)]);_0x2c8386['__seq__']=0x1;let _0x472faa={};Object[_0x2479c3(0x18d)](_0x472faa,_0x2c8386),_0x2c8386[_0x2479c3(0x1a7)]=_0x472faa,this['record']={..._0x2c8386};}async['save'](){const _0x562f94=a0_0x2e31d7;let _0x1fcd6d=this['patchData'];if(ValueUtil['isEmpty'](_0x1fcd6d))return void MetaApi['showAlertPopup'](_0x562f94(0x15d),_0x562f94(0x191));let _0x39014f=await this[_0x562f94(0x199)](_0x1fcd6d);return _0x39014f&&await this['fetch'](),_0x39014f;}async[a0_0x2e31d7(0x197)](){const _0x4f6dcb=a0_0x2e31d7;this[_0x4f6dcb(0x18f)]&&(this['record']={});}[a0_0x2e31d7(0x198)](){const _0x4e8754=a0_0x2e31d7;return this[_0x4e8754(0x193)]||{};}};
1
+ const a0_0x53bc16=a0_0x1f1b;(function(_0x122d4e,_0x44d9e2){const _0x2a0c6b=a0_0x1f1b,_0x200b34=_0x122d4e();while(!![]){try{const _0x302ee4=parseInt(_0x2a0c6b(0xa9))/0x1+parseInt(_0x2a0c6b(0xd5))/0x2+-parseInt(_0x2a0c6b(0xd8))/0x3+parseInt(_0x2a0c6b(0xd3))/0x4+-parseInt(_0x2a0c6b(0xaf))/0x5*(-parseInt(_0x2a0c6b(0xe2))/0x6)+-parseInt(_0x2a0c6b(0xdf))/0x7+parseInt(_0x2a0c6b(0xca))/0x8;if(_0x302ee4===_0x44d9e2)break;else _0x200b34['push'](_0x200b34['shift']());}catch(_0x101bab){_0x200b34['push'](_0x200b34['shift']());}}}(a0_0x269a,0x2de36));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1f1b(_0x49d1a2,_0x21d236){const _0x269afd=a0_0x269a();return a0_0x1f1b=function(_0x1f1bf4,_0x4a02a3){_0x1f1bf4=_0x1f1bf4-0x95;let _0x3bbf73=_0x269afd[_0x1f1bf4];return _0x3bbf73;},a0_0x1f1b(_0x49d1a2,_0x21d236);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x5e7da1=>class extends MetaButtonMixin(_0x5e7da1){static get[a0_0x53bc16(0xc9)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x53bc16(0xc2)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x53bc16(0xc6)](){const _0x5129ac=a0_0x53bc16;return MetaUiUtil[_0x5129ac(0xae)](this);}async[a0_0x53bc16(0xb4)](){const _0x190b4b=a0_0x53bc16;await this['getAndParseMenuMeta'](),this[_0x190b4b(0xbd)]&&await this[_0x190b4b(0xdb)](),this['activityDataSet']&&(this[_0x190b4b(0xba)]=this[_0x190b4b(0xcd)]),!0x0!==this['is_activity']||this['parent_id']||(this[_0x190b4b(0xab)]=_0x190b4b(0xb0)),super[_0x190b4b(0xb4)]&&await super['connectedCallback'](),this[_0x190b4b(0xbd)]&&await this[_0x190b4b(0xe0)](),this[_0x190b4b(0xc1)][_0x190b4b(0xb1)](_0x190b4b(0x9b),_0x513463=>{const _0x570fc2=_0x190b4b;switch(_0x513463[_0x570fc2(0xc3)]){case _0x570fc2(0xaa):case _0x570fc2(0xb3):case _0x570fc2(0xcf):this[_0x570fc2(0xa4)](),this[_0x570fc2(0xc0)]&&this[_0x570fc2(0xc0)][_0x570fc2(0xde)]('editing'),this['currentTarget']=null;}}),this[_0x190b4b(0xc1)][_0x190b4b(0xb1)](_0x190b4b(0xbf),_0x2df726=>{const _0x1122ad=_0x190b4b;_0x2df726['stopPropagation']();let _0x4cebce=_0x2df726[_0x1122ad(0xa1)];if(this[_0x1122ad(0xc0)]&&(this[_0x1122ad(0xa4)](),this[_0x1122ad(0xc0)]['removeAttribute'](_0x1122ad(0xe1))),_0x1122ad(0xb2)!==_0x4cebce[_0x1122ad(0xd6)]||!_0x4cebce[_0x1122ad(0xd0)][_0x1122ad(0xa0)][_0x1122ad(0x96)])return this[_0x1122ad(0xa4)](),void(this[_0x1122ad(0xc0)]=null);this[_0x1122ad(0xc0)]=_0x4cebce,_0x4cebce[_0x1122ad(0xac)](_0x1122ad(0xe1),_0x1122ad(0x99));}),this[_0x190b4b(0xb1)](_0x190b4b(0xe3),_0x2fd6a6=>{const _0x443e7d=_0x190b4b;var {after:_0x18620e,before:_0x115304,column:_0x314359,record:_0xb9c599,row:_0x1d4749}=_0x2fd6a6[_0x443e7d(0x98)];if(ValueUtil[_0x443e7d(0xdd)](_0x18620e,_0x115304))return;var _0x4a83f9=_0x314359['validation'];if(_0x4a83f9&&_0x443e7d(0xda)==typeof _0x4a83f9&&!_0x4a83f9[_0x443e7d(0xb6)](this,_0x18620e,_0x115304,_0xb9c599,_0x314359))return;let _0x3303cc=_0x314359[_0x443e7d(0xd2)];_0xb9c599[_0x3303cc]=_0x18620e,_0xb9c599['__dirtyfields__']=_0xb9c599['__dirtyfields__']||{},_0xb9c599[_0x443e7d(0xc8)]=_0xb9c599['__origin__']||{},_0xb9c599['__dirtyfields__'][_0x3303cc]={'before':_0xb9c599[_0x443e7d(0xc8)][_0x3303cc],'after':_0xb9c599[_0x3303cc]},ValueUtil[_0x443e7d(0xdd)](_0xb9c599[_0x443e7d(0xbb)][_0x3303cc][_0x443e7d(0xb8)],_0xb9c599[_0x443e7d(0xbb)][_0x3303cc][_0x443e7d(0xc7)])&&delete _0xb9c599['__dirtyfields__'][_0x3303cc],ValueUtil[_0x443e7d(0x9c)](_0xb9c599['__dirtyfields__'])?_0xb9c599[_0x443e7d(0xa5)]='M':_0xb9c599[_0x443e7d(0xa5)]='',this[_0x443e7d(0xa0)]={..._0xb9c599};});}async[a0_0x53bc16(0x9a)](){const _0x278a82=a0_0x53bc16;super[_0x278a82(0x9a)]&&await super[_0x278a82(0x9a)]();}async[a0_0x53bc16(0xb7)](){const _0x5a88d0=a0_0x53bc16;this[_0x5a88d0(0x97)]&&await this[_0x5a88d0(0xdb)](),super['pageInitialized']&&await super['pageInitialized'](),this[_0x5a88d0(0x97)]&&await this['fetch']();}['render'](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x275846){const _0xdcad13=a0_0x53bc16;this[_0xdcad13(0xbe)]=_0x275846[_0xdcad13(0xd4)],this[_0xdcad13(0x9e)]=_0x275846[_0xdcad13(0xb5)],_0x275846[_0xdcad13(0xa6)]=_0x275846[_0xdcad13(0xa6)]['filter'](_0x64b61f=>'save'==_0x64b61f[_0xdcad13(0xd2)]);}async['parseFormConfigs'](){const _0xe9f366=a0_0x53bc16;this[_0xe9f366(0xa8)]=await MetaApi[_0xe9f366(0xd1)](this);}get['orgData'](){const _0x15701d=a0_0x53bc16;return this['removeGarbageData'](this['record'][_0x15701d(0xc8)]);}get['dirtyData'](){const _0x1eecc7=a0_0x53bc16;if(ValueUtil[_0x1eecc7(0x9d)](this[_0x1eecc7(0xa0)][_0x1eecc7(0xbb)]))return{};let _0x385f01={};return Object[_0x1eecc7(0xa7)](this['record'][_0x1eecc7(0xbb)])[_0x1eecc7(0xb9)](([_0x5952a5,_0x2e89c8])=>{const _0x5e881e=_0x1eecc7;0x0==_0x5952a5[_0x5e881e(0x95)]('__')&&(_0x385f01[_0x5952a5]=_0x2e89c8[_0x5e881e(0xc7)]);}),_0x385f01;}get[a0_0x53bc16(0xd9)](){const _0x31c7df=a0_0x53bc16;return this['removeGarbageData'](this[_0x31c7df(0xa0)]);}[a0_0x53bc16(0xa2)](_0x4eacd9){const _0x4100a3=a0_0x53bc16;let _0x1591a8={};if(_0x4eacd9)return Object[_0x4100a3(0xa7)](_0x4eacd9)[_0x4100a3(0xb9)](([_0x58682d,_0x10794b])=>{const _0x183d44=_0x4100a3;0x0==_0x58682d[_0x183d44(0x95)]('__')&&(_0x1591a8[_0x58682d]=_0x10794b);}),_0x1591a8;}get[a0_0x53bc16(0xad)](){const _0x1d639e=a0_0x53bc16;let _0x4f58fe=this['dirtyData'],_0x171297=this['record'];return ValueUtil[_0x1d639e(0x9d)](_0x4f58fe)?[]:(ValueUtil[_0x1d639e(0x9c)](_0x171297['id'])?(_0x4f58fe['id']=_0x171297['id'],_0x4f58fe['cuFlag']='M'):_0x4f58fe['cuFlag']='+',Object[_0x1d639e(0xcc)](_0x4f58fe)[_0x1d639e(0xd7)](_0x52c137=>{const _0x12443e=_0x1d639e;_0x12443e(0xc5)==typeof _0x4f58fe[_0x52c137]&&(_0x4f58fe[_0x52c137]={'id':_0x4f58fe[_0x52c137]['id']});}),[_0x4f58fe]);}async['fetch'](){const _0x5e1438=a0_0x53bc16;if(ValueUtil[_0x5e1438(0x9d)](this['parent_id']))return;let _0x200355=await this['findOne'](this[_0x5e1438(0xab)]);_0x200355[_0x5e1438(0xbc)]=0x1;let _0x49c98f={};Object['assign'](_0x49c98f,_0x200355),_0x200355[_0x5e1438(0xc8)]=_0x49c98f,this['record']={..._0x200355};}async[a0_0x53bc16(0xce)](){const _0x1c88a9=a0_0x53bc16;let _0x3b3046=this[_0x1c88a9(0xad)];if(ValueUtil['isEmpty'](_0x3b3046))return void MetaApi[_0x1c88a9(0x9f)]('title.info',_0x1c88a9(0xcb));let _0x2be814=await this[_0x1c88a9(0xc4)](_0x3b3046);return _0x2be814&&await this[_0x1c88a9(0xe0)](),_0x2be814;}async[a0_0x53bc16(0xa3)](){const _0x5a35d6=a0_0x53bc16;this[_0x5a35d6(0xa0)]&&(this[_0x5a35d6(0xa0)]={});}[a0_0x53bc16(0xdc)](){const _0x3f2b73=a0_0x53bc16;return this[_0x3f2b73(0xd9)]||{};}};function a0_0x269a(){const _0x1011f8=['grid_column','591390tLyrjM','tagName','forEach','999075NxdTec','currentData','function','parseFormConfigs','getData','isEquals','removeAttribute','1847482YBllVJ','fetch','editing','3552SVEvVn','field-change','startsWith','editable','isPage','detail','true','firstUpdated','keydown','isNotEmpty','isEmpty','formRenderConfig','showAlertPopup','record','target','removeGarbageData','clear','focus','__dirty__','button','entries','formConfigSet','162760KZShvi','Esc','parent_id','setAttribute','patchData','getContextObject','100WEBxHh','activity','addEventListener','OX-GRID-FIELD','Escape','connectedCallback','form','call','pageInitialized','before','map','dataSet','__dirtyfields__','__seq__','isElement','formColumnConfig','click','currentTarget','renderRoot','properties','key','updateMultiple','object','context','after','__origin__','styles','1470952LKENuo','text.NOTHING_CHANGED','keys','activityDataSet','save','Enter','column','parseFormConfigSet','name','522980NksDbV'];a0_0x269a=function(){return _0x1011f8;};return a0_0x269a();}