@things-factory/meta-ui 6.0.126 → 6.0.129

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 (76) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  3. package/client/component/filter/filter-grist-resource-code-select.js +9 -9
  4. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  5. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  6. package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
  7. package/client/mixin/meta-base-mixin.js +1 -1
  8. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  9. package/client/mixin/meta-button-mixin.js +1 -1
  10. package/client/mixin/meta-form-mixin.js +1 -1
  11. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  12. package/client/mixin/meta-master-detail-mixin.js +1 -1
  13. package/client/mixin/meta-service-mixin.js +1 -1
  14. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  15. package/client/mixin/meta-tab-mixin.js +1 -1
  16. package/client/pages/activity/meta-activity-list-page.js +6 -6
  17. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  18. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  19. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  20. package/client/pages/entity/config-entity.js +29 -29
  21. package/client/pages/entity/main-menu-selector.js +7 -7
  22. package/client/pages/history/history-copy-list-popup.js +6 -6
  23. package/client/pages/history/history-json-list-popup.js +6 -6
  24. package/client/pages/loading-page.js +5 -5
  25. package/client/pages/menu/dynamic-menu-template.js +7 -7
  26. package/client/pages/menu/dynamic-menu.js +15 -15
  27. package/client/pages/meta-form-element.js +1 -1
  28. package/client/pages/meta-grist-element.js +1 -1
  29. package/client/pages/meta-grist-page.js +1 -1
  30. package/client/pages/meta-grist-tab-element.js +1 -1
  31. package/client/pages/meta-grist-tab-page.js +1 -1
  32. package/client/pages/meta-master-detail-element.js +1 -1
  33. package/client/pages/meta-master-detail-page.js +1 -1
  34. package/client/pages/meta-tab-detail-element.js +1 -1
  35. package/client/pages/meta-tab-detail-page.js +1 -1
  36. package/client/pages/meta-tab-element.js +1 -1
  37. package/client/pages/personalize/personal-column-selector.js +11 -11
  38. package/client/pages/terms/config-terminology.js +6 -6
  39. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  40. package/client/pages/work-code/work-code-page.js +1 -1
  41. package/client/reducers/main.js +1 -1
  42. package/client/utils/meta-api.js +1 -1
  43. package/client/utils/meta-crypto.js +1 -1
  44. package/client/utils/meta-ui-util.js +96 -96
  45. package/client/utils/service-util.js +13 -13
  46. package/client/utils/terms-util.js +2 -2
  47. package/client/utils/ui-util.js +1 -1
  48. package/client/utils/value-util.js +1 -1
  49. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  50. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  51. package/client/viewparts/dynamic-menu-part.js +11 -11
  52. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  53. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  54. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  55. package/package.json +2 -2
  56. package/server/activity/CommonActivity.js +2 -2
  57. package/server/constants/error-code.js +1 -1
  58. package/server/errors/license-error.js +1 -1
  59. package/server/routes.js +1 -1
  60. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  61. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  62. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize.js +1 -1
  64. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  65. package/server/service/meta-activity/meta-activity-query.js +1 -1
  66. package/server/service/meta-activity/meta-activity-type.js +1 -1
  67. package/server/service/meta-secret/meta-resolver.js +1 -1
  68. package/server/service/set-translations/set-translation-resolver.js +1 -1
  69. package/server/service/work-code/work-code-mutation.js +1 -1
  70. package/server/service/work-code/work-code-query.js +1 -1
  71. package/server/service/work-code/work-code-type.js +1 -1
  72. package/server/service/work-code/work-code.js +1 -1
  73. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  74. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  75. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0xd5e914=a0_0x5c68;(function(_0x7c3f0b,_0x34b06c){const _0x4b2f19=a0_0x5c68,_0x973815=_0x7c3f0b();while(!![]){try{const _0x24642d=parseInt(_0x4b2f19(0xe6))/0x1+-parseInt(_0x4b2f19(0xee))/0x2+-parseInt(_0x4b2f19(0xed))/0x3+parseInt(_0x4b2f19(0xe0))/0x4*(parseInt(_0x4b2f19(0xf9))/0x5)+-parseInt(_0x4b2f19(0xef))/0x6*(-parseInt(_0x4b2f19(0xe8))/0x7)+parseInt(_0x4b2f19(0xf2))/0x8*(parseInt(_0x4b2f19(0xf3))/0x9)+parseInt(_0x4b2f19(0xf6))/0xa;if(_0x24642d===_0x34b06c)break;else _0x973815['push'](_0x973815['shift']());}catch(_0x53282c){_0x973815['push'](_0x973815['shift']());}}}(a0_0x2f58,0x4320f));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x2fc345 from'graphql-tag';import{html}from'lit';function a0_0x2f58(){const _0x5cf6ff=['UPDATE_META_UI','lite-menu-part','rank','items','478782uiJkWD','705486QoxRpb','1308HTWeGL','FRONT_END','querySelector','256gfSJUf','30447VZBszF','dispatch','filter','1448020BJNudB','hamburger','meta[name=\x22application-name\x22]','13765HmIwnv','NAVBAR','344cFCmhN','data','liteMenus','content','get','dynamic-menu-part','28250cFxwsN','appName','8645ymkEyr'];a0_0x2f58=function(){return _0x5cf6ff;};return a0_0x2f58();}import{client}from'@operato/graphql';function a0_0x5c68(_0x3d274a,_0x2f31c5){const _0x2f58ea=a0_0x2f58();return a0_0x5c68=function(_0x5c6843,_0x282589){_0x5c6843=_0x5c6843-0xe0;let _0x5dae8c=_0x2f58ea[_0x5c6843];return _0x5dae8c;},a0_0x5c68(_0x3d274a,_0x2f31c5);}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_0xd5e914(0xe9);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x1822dd){const _0x5e9260=a0_0xd5e914;var {hovering:_0x27e84e=!!isMobileDevice(),slotTemplate:_0x148831,portraitSlotTemplate:_0x742985,landscapeSlotTemplate:_0x3105d3,position:_0x45152c=VIEWPART_POSITION[_0x5e9260(0xfa)]}=_0x1822dd||{};const {hovering:_0x1f3238}=(await clientSettingStore[_0x5e9260(0xe4)]('dynamic-menu'))?.['value']||{};void 0x0!==_0x1f3238&&(_0x27e84e=_0x1f3238);const _0x40a62f=_0x45152c==VIEWPART_POSITION['HEADERBAR']?'landscape':'portrait',_0x268f9a=('landscape'==_0x40a62f?_0x3105d3:_0x742985)||_0x148831||html``;appendViewpart({'name':_0x5e9260(0xea),'viewpart':{'show':!_0x27e84e,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x27e84e,'template':html`<dynamic-menu-part .orientation=${_0x40a62f}>${_0x268f9a}</dynamic-menu-part>`},'position':_0x45152c}),_0x27e84e&&'portrait'==_0x40a62f?HAMBURGER||(HAMBURGER={'name':_0x5e9260(0xf7),'template':html`
2
- <mwc-icon @click=${_0x23b7ae=>toggleOverlay(_0x5e9260(0xe5),{'backdrop':!0x0})}
1
+ const a0_0x6623e0=a0_0x10e3;(function(_0x58d159,_0x4e75d1){const _0x298364=a0_0x10e3,_0x3bdecc=_0x58d159();while(!![]){try{const _0x1f82f9=-parseInt(_0x298364(0x160))/0x1+-parseInt(_0x298364(0x163))/0x2*(-parseInt(_0x298364(0x14a))/0x3)+-parseInt(_0x298364(0x15a))/0x4*(parseInt(_0x298364(0x15d))/0x5)+parseInt(_0x298364(0x151))/0x6+parseInt(_0x298364(0x154))/0x7+parseInt(_0x298364(0x161))/0x8+parseInt(_0x298364(0x14d))/0x9*(parseInt(_0x298364(0x14b))/0xa);if(_0x1f82f9===_0x4e75d1)break;else _0x3bdecc['push'](_0x3bdecc['shift']());}catch(_0x46eead){_0x3bdecc['push'](_0x3bdecc['shift']());}}}(a0_0x3666,0xe2f09));function a0_0x10e3(_0x57eae2,_0x8e7c68){const _0x3666be=a0_0x3666();return a0_0x10e3=function(_0x10e35b,_0x452bcd){_0x10e35b=_0x10e35b-0x147;let _0x838c8=_0x3666be[_0x10e35b];return _0x838c8;},a0_0x10e3(_0x57eae2,_0x8e7c68);}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x52b4c2 from'graphql-tag';function a0_0x3666(){const _0x5da9f3=['470IwRGvZ','active','130950bQterL','UPDATE_META_UI','lite-menu-part','querySelector','6017964Moshjq','landscape','dynamic-menu-part','9135315GmMNiI','content','dispatch','hamburger','meta[name=\x22application-name\x22]','data','4vZVgaL','liteMenus','appName','8719795dLMFGE','rank','NAVBAR','1748389AAaNCY','5149584cJlKyf','HEADERBAR','18076ZYiNxa','value','portrait','query','items','261OPAXHk'];a0_0x3666=function(){return _0x5da9f3;};return a0_0x3666();}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_0x6623e0(0x14e);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0xaea8d){const _0x3c25b3=a0_0x6623e0;var {hovering:_0x4d8de4=!!isMobileDevice(),slotTemplate:_0x4d5888,portraitSlotTemplate:_0x31be15,landscapeSlotTemplate:_0x415835,position:_0x3014f1=VIEWPART_POSITION[_0x3c25b3(0x15f)]}=_0xaea8d||{};const {hovering:_0x51e4d3}=(await clientSettingStore['get']('dynamic-menu'))?.[_0x3c25b3(0x164)]||{};void 0x0!==_0x51e4d3&&(_0x4d8de4=_0x51e4d3);const _0x2c4468=_0x3014f1==VIEWPART_POSITION[_0x3c25b3(0x162)]?_0x3c25b3(0x152):_0x3c25b3(0x147),_0x2cfb99=('landscape'==_0x2c4468?_0x415835:_0x31be15)||_0x4d5888||html``;appendViewpart({'name':_0x3c25b3(0x14f),'viewpart':{'show':!_0x4d8de4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4d8de4,'template':html`<dynamic-menu-part .orientation=${_0x2c4468}>${_0x2cfb99}</dynamic-menu-part>`},'position':_0x3014f1}),_0x4d8de4&&_0x3c25b3(0x147)==_0x2c4468?HAMBURGER||(HAMBURGER={'name':_0x3c25b3(0x157),'template':html`
2
+ <mwc-icon @click=${_0x24aa45=>toggleOverlay(_0x3c25b3(0x153),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x5e9260(0xf0)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x5e9260(0xf4)]({'type':REMOVE_APP_TOOL,'name':_0x5e9260(0xf7)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x54d0e7){const _0x492741=a0_0xd5e914;var _0x25e508=document[_0x492741(0xf1)](_0x492741(0xf8))?.[_0x492741(0xe3)],_0x12a1bd=(await client['query']({'query':a0_0x2fc345`
4
+ `,'position':TOOL_POSITION['FRONT_END']},store[_0x3c25b3(0x156)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x3c25b3(0x156)]({'type':REMOVE_APP_TOOL,'name':_0x3c25b3(0x157)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x5f07aa){const _0x470c9d=a0_0x6623e0;var _0x909ea6=document[_0x470c9d(0x150)](_0x470c9d(0x158))?.[_0x470c9d(0x155)],_0x98db98=(await client[_0x470c9d(0x148)]({'query':a0_0x52b4c2`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0xd5e914=a0_0x5c68;(function(_0x7c3f0b,_0x34b06c){const _0x4b2f19=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':'active','operator':'eq','value':!0x0},{'name':_0x492741(0xe7),'operator':'in','value':['',_0x25e508]}],'sortings':[{'name':_0x492741(0xeb),'desc':!0x1}]}}))[_0x492741(0xe1)][_0x492741(0xe2)][_0x492741(0xec)];store[_0x492741(0xf4)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x12a1bd[_0x492741(0xf5)](_0x5d4be3=>!_0x5d4be3['appName']||_0x5d4be3[_0x492741(0xe7)]===_0x25e508),'template':_0x54d0e7});}
23
+ `,'variables':{'filters':[{'name':_0x470c9d(0x14c),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x909ea6]}],'sortings':[{'name':_0x470c9d(0x15e),'desc':!0x1}]}}))[_0x470c9d(0x159)][_0x470c9d(0x15b)][_0x470c9d(0x149)];store[_0x470c9d(0x156)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x98db98['filter'](_0x2f10fd=>!_0x2f10fd[_0x470c9d(0x15c)]||_0x2f10fd[_0x470c9d(0x15c)]===_0x909ea6),'template':_0x5f07aa});}
@@ -1,16 +1,16 @@
1
- (function(_0x628aab,_0x567dab){const _0xb2cbe0=a0_0x4f7d,_0x3a3609=_0x628aab();while(!![]){try{const _0xa8b559=parseInt(_0xb2cbe0(0x134))/0x1+-parseInt(_0xb2cbe0(0x139))/0x2*(parseInt(_0xb2cbe0(0x120))/0x3)+-parseInt(_0xb2cbe0(0x137))/0x4+-parseInt(_0xb2cbe0(0x12d))/0x5*(parseInt(_0xb2cbe0(0x123))/0x6)+parseInt(_0xb2cbe0(0x130))/0x7*(-parseInt(_0xb2cbe0(0x13a))/0x8)+parseInt(_0xb2cbe0(0x128))/0x9*(parseInt(_0xb2cbe0(0x12b))/0xa)+-parseInt(_0xb2cbe0(0x13b))/0xb*(-parseInt(_0xb2cbe0(0x122))/0xc);if(_0xa8b559===_0x567dab)break;else _0x3a3609['push'](_0x3a3609['shift']());}catch(_0x287396){_0x3a3609['push'](_0x3a3609['shift']());}}}(a0_0xfdfe,0x31ee8));import'../grist/selector/ox-resource-code-selector-popup';function a0_0x4f7d(_0x56391b,_0x1a403b){const _0xfdfe96=a0_0xfdfe();return a0_0x4f7d=function(_0x4f7dc6,_0x3456a8){_0x4f7dc6=_0x4f7dc6-0x120;let _0x45b1b7=_0xfdfe96[_0x4f7dc6];return _0x45b1b7;},a0_0x4f7d(_0x56391b,_0x1a403b);}import{html}from'lit-html';function a0_0xfdfe(){const _0x5cc5c2=['options','tMenu','10kUIBlV','dispatchEvent','1970YLhyXe','filter','value','346262GYQsaG','renderRoot','dispField','change','392845SKtGDH','querySelector','name','166904RShPkM','large','24190MTdHoG','56OCPmiU','1199869rGhHWa','21zyJpzg','form\x20[name=\x22','12Vspixp','1734ENZWRx','length','selectorName','codes','target','2602035FnnhZm'];a0_0xfdfe=function(){return _0x5cc5c2;};return a0_0xfdfe();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x478706,_0x334f6b,_0x3a2b26){const _0x38287f=a0_0x4f7d;var _0x3a56d6=html`
1
+ (function(_0x11f9ec,_0x2219d5){const _0x4164b8=a0_0x26b1,_0x4d9bf9=_0x11f9ec();while(!![]){try{const _0x36093c=-parseInt(_0x4164b8(0x1ee))/0x1*(parseInt(_0x4164b8(0x1fa))/0x2)+-parseInt(_0x4164b8(0x1e4))/0x3+-parseInt(_0x4164b8(0x1f0))/0x4*(parseInt(_0x4164b8(0x1f6))/0x5)+-parseInt(_0x4164b8(0x1f1))/0x6+-parseInt(_0x4164b8(0x1f3))/0x7*(-parseInt(_0x4164b8(0x1ef))/0x8)+parseInt(_0x4164b8(0x1f5))/0x9+parseInt(_0x4164b8(0x1e5))/0xa;if(_0x36093c===_0x2219d5)break;else _0x4d9bf9['push'](_0x4d9bf9['shift']());}catch(_0x57567c){_0x4d9bf9['push'](_0x4d9bf9['shift']());}}}(a0_0x319c,0xc368f));function a0_0x319c(){const _0x400fc9=['codes','2389596rbtOoZ','24611070QTSqZx','name','stopPropagation','change','codeField','tMenu','dispatchEvent','options','large','26201yUITFt','1766912mqQWZk','142728gWsVvt','3381702fnmKvF','filter-change','28RSmvbY','form\x20[name=\x22','4141008BqINmD','190kbThSc','value','filter','length','22tIojaN'];a0_0x319c=function(){return _0x400fc9;};return a0_0x319c();}import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';function a0_0x26b1(_0x34873d,_0x11e6fc){const _0x319ced=a0_0x319c();return a0_0x26b1=function(_0x26b1e8,_0x3ef3f5){_0x26b1e8=_0x26b1e8-0x1e4;let _0x56e281=_0x319ced[_0x26b1e8];return _0x56e281;},a0_0x26b1(_0x34873d,_0x11e6fc);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x59c2c0,_0x28d86d,_0x33d3d1){const _0x552925=a0_0x26b1;var _0xed7579=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x334f6b}
4
- .options=${_0x478706['options']}
5
- .confirmCallback=${_0x3a2b26}
3
+ .value=${_0x28d86d}
4
+ .options=${_0x59c2c0[_0x552925(0x1ec)]}
5
+ .confirmCallback=${_0x33d3d1}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0x3a56d6,{'backdrop':!0x0,'size':_0x38287f(0x138),'title':TermsUtil[_0x38287f(0x12a)](_0x478706[_0x38287f(0x129)][_0x38287f(0x125)])});}export const FilterFormResourceCodeSelect=(_0x1612a9,_0xdc2fbd,_0x508459)=>{const _0x213fb7=a0_0x4f7d,_0x1dd1ef=_0x1612a9[_0x213fb7(0x129)],_0x4ae0f2=_0x1dd1ef[_0x213fb7(0x126)]&&_0x1dd1ef[_0x213fb7(0x124)]>0x0?_0x1dd1ef[_0x213fb7(0x126)]:void 0x0,{operator:_0x2b9487='eq'}=_0x1612a9;let _0x1b56eb=_0xdc2fbd||'';if(_0x1dd1ef[_0x213fb7(0x132)]&&_0xdc2fbd&&_0x4ae0f2&&_0x4ae0f2){let _0x4d7268=_0x4ae0f2[_0x213fb7(0x12e)](_0x3d4cf2=>_0x3d4cf2[_0x213fb7(0x12f)]==_0xdc2fbd);_0x4d7268&&_0x4d7268[_0x213fb7(0x124)]>0x0&&(_0x1b56eb=_0x4d7268[0x0][_0x1dd1ef[_0x213fb7(0x132)]]);}return'eq'===_0x2b9487?html`
8
- <input name='${_0x1612a9[_0x213fb7(0x136)]}' type="text" hidden></input>
7
+ `;openPopup(_0xed7579,{'backdrop':!0x0,'size':_0x552925(0x1ed),'title':TermsUtil[_0x552925(0x1ea)](_0x59c2c0['options']['selectorName'])});}export const FilterFormResourceCodeSelect=(_0x389b6a,_0x475246,_0x2c32df)=>{const _0x530543=a0_0x26b1,_0x423e61=_0x389b6a[_0x530543(0x1ec)],_0x910be7=_0x423e61[_0x530543(0x1fb)]&&_0x423e61[_0x530543(0x1f9)]>0x0?_0x423e61[_0x530543(0x1fb)]:void 0x0,{operator:_0xb2dbe2='eq'}=_0x389b6a;let _0x15babb=_0x475246||'';if(_0x423e61['dispField']&&_0x475246&&_0x910be7&&_0x910be7){let _0x1c2824=_0x910be7[_0x530543(0x1f8)](_0x337acc=>_0x337acc[_0x530543(0x1f7)]==_0x475246);_0x1c2824&&_0x1c2824[_0x530543(0x1f9)]>0x0&&(_0x15babb=_0x1c2824[0x0][_0x423e61['dispField']]);}return'eq'===_0xb2dbe2?html`
8
+ <input name='${_0x389b6a[_0x530543(0x1e6)]}' type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x1612a9[_0x213fb7(0x136)]}_disp'
13
- .value=${_0x1b56eb}
14
- @click=${_0x367721=>{const _0x53571d=_0x213fb7;_0x367721['stopPropagation']();const _0x113a2b=_0x367721[_0x53571d(0x127)];openResourceCodeSelector(_0x1612a9,_0xdc2fbd,_0x31929f=>{const _0x16828f=_0x53571d;let _0x1d6a16=_0x31929f?_0x31929f[_0x1dd1ef['codeField']]:'',_0x5f1c0f=_0x1d6a16;_0x31929f&&_0x1dd1ef[_0x16828f(0x132)]&&(_0x5f1c0f=_0x31929f[_0x1dd1ef[_0x16828f(0x132)]]),_0x113a2b[_0x16828f(0x12f)]=_0x5f1c0f,_0x508459[_0x16828f(0x131)][_0x16828f(0x135)](_0x16828f(0x121)+_0x1612a9[_0x16828f(0x136)]+'\x22]')[_0x16828f(0x12f)]=_0x1d6a16,_0x113a2b[_0x16828f(0x12c)](new Event(_0x16828f(0x133),{'bubbles':!0x0})),_0x113a2b[_0x16828f(0x12c)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1612a9[_0x16828f(0x136)],'operator':_0x2b9487,'value':_0x1d6a16}}));});}}
12
+ name='${_0x389b6a['name']}_disp'
13
+ .value=${_0x15babb}
14
+ @click=${_0x4c882b=>{const _0x9df908=_0x530543;_0x4c882b[_0x9df908(0x1e7)]();const _0x16cf3d=_0x4c882b['target'];openResourceCodeSelector(_0x389b6a,_0x475246,_0x1cdcd4=>{const _0x3a234=_0x9df908;let _0x207ef5=_0x1cdcd4?_0x1cdcd4[_0x423e61[_0x3a234(0x1e9)]]:'',_0x229d04=_0x207ef5;_0x1cdcd4&&_0x423e61['dispField']&&(_0x229d04=_0x1cdcd4[_0x423e61['dispField']]),_0x16cf3d[_0x3a234(0x1f7)]=_0x229d04,_0x2c32df['renderRoot']['querySelector'](_0x3a234(0x1f4)+_0x389b6a[_0x3a234(0x1e6)]+'\x22]')[_0x3a234(0x1f7)]=_0x207ef5,_0x16cf3d[_0x3a234(0x1eb)](new Event(_0x3a234(0x1e8),{'bubbles':!0x0})),_0x16cf3d[_0x3a234(0x1eb)](new CustomEvent(_0x3a234(0x1f2),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x389b6a[_0x3a234(0x1e6)],'operator':_0xb2dbe2,'value':_0x207ef5}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0xa95ee3,_0x79ac64){const _0x256705=a0_0x443b,_0x44dade=_0xa95ee3();while(!![]){try{const _0x22d3dc=-parseInt(_0x256705(0x163))/0x1+parseInt(_0x256705(0x15b))/0x2*(parseInt(_0x256705(0x157))/0x3)+parseInt(_0x256705(0x168))/0x4*(-parseInt(_0x256705(0x152))/0x5)+parseInt(_0x256705(0x156))/0x6*(parseInt(_0x256705(0x161))/0x7)+parseInt(_0x256705(0x15c))/0x8*(-parseInt(_0x256705(0x15e))/0x9)+parseInt(_0x256705(0x15a))/0xa+parseInt(_0x256705(0x153))/0xb*(parseInt(_0x256705(0x159))/0xc);if(_0x22d3dc===_0x79ac64)break;else _0x44dade['push'](_0x44dade['shift']());}catch(_0x339bb0){_0x44dade['push'](_0x44dade['shift']());}}}(a0_0x202c,0x71a3e));import'../grist/selector/ox-resource-code-selector-popup';function a0_0x202c(){const _0x3a87ad=['stopPropagation','record','954704RwxVHw','dispField','10UNmptd','152053gDwkOF','selectorName','dispatchEvent','6ubyozp','21MfJEOZ','options','588SBUcmX','6126630TlKuPS','213298nYSbwM','208vzuQMV','name','310383BoerwL','value','tMenu','3527713yFgPro','filter','701008BlkeyE','filter-change','renderRoot'];a0_0x202c=function(){return _0x3a87ad;};return a0_0x202c();}function a0_0x443b(_0x34d14a,_0xe641ab){const _0x202cee=a0_0x202c();return a0_0x443b=function(_0x443b0a,_0x5aa689){_0x443b0a=_0x443b0a-0x152;let _0x5ea6a1=_0x202cee[_0x443b0a];return _0x5ea6a1;},a0_0x443b(_0x34d14a,_0xe641ab);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x3d55ee,_0x1cb561,_0x4a87c8){const _0x44f88e=a0_0x443b;var _0x3d86a7=html`
1
+ (function(_0x146e99,_0x2eebda){const _0x5897cb=a0_0xf97f,_0x1defd7=_0x146e99();while(!![]){try{const _0x5f18cb=parseInt(_0x5897cb(0xa1))/0x1*(parseInt(_0x5897cb(0xb3))/0x2)+parseInt(_0x5897cb(0xa9))/0x3+parseInt(_0x5897cb(0xad))/0x4+parseInt(_0x5897cb(0xaa))/0x5+parseInt(_0x5897cb(0xae))/0x6+-parseInt(_0x5897cb(0xab))/0x7+-parseInt(_0x5897cb(0xb4))/0x8;if(_0x5f18cb===_0x2eebda)break;else _0x1defd7['push'](_0x1defd7['shift']());}catch(_0x546203){_0x1defd7['push'](_0x1defd7['shift']());}}}(a0_0x3c11,0x7d05f));import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x3c11(){const _0x4996de=['length','196563EzrTSC','stopPropagation','dispField','renderRoot','name','tMenu','selectorName','options','971457ZCWxac','1904135NYmzTI','7157731cOnDRk','filter','2190324LZiLOB','2566710FCDEsU','filter-change','codeField','large','dispatchEvent','2XhWaut','2735576urKEVw','record','querySelector','value'];a0_0x3c11=function(){return _0x4996de;};return a0_0x3c11();}function a0_0xf97f(_0x2ac315,_0x2efc12){const _0x3c112e=a0_0x3c11();return a0_0xf97f=function(_0xf97fee,_0x913ef8){_0xf97fee=_0xf97fee-0xa0;let _0x1c2307=_0x3c112e[_0xf97fee];return _0x1c2307;},a0_0xf97f(_0x2ac315,_0x2efc12);}import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x294922,_0x1db2ef,_0x349f3d){const _0x53f45a=a0_0xf97f;var _0x13ee14=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x1cb561}
4
- .options=${_0x3d55ee[_0x44f88e(0x167)][_0x44f88e(0x158)]}
5
- .confirmCallback=${_0x4a87c8}
3
+ .value=${_0x1db2ef}
4
+ .options=${_0x294922[_0x53f45a(0xb5)][_0x53f45a(0xa8)]}
5
+ .confirmCallback=${_0x349f3d}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0x3d86a7,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x44f88e(0x160)](_0x3d55ee[_0x44f88e(0x167)][_0x44f88e(0x158)][_0x44f88e(0x154)])});}export const FilterGristResourceCodeSelect=(_0x5a1910,_0x50e7f6,_0x5e40d9)=>{const _0x54f329=a0_0x443b,_0x10b37e=_0x5a1910[_0x54f329(0x162)],_0x3a3f79=_0x5a1910['record']['options'],_0x251970=_0x3a3f79['codes']&&_0x3a3f79['length']>0x0?_0x3a3f79['codes']:void 0x0,{operator:_0x1bc000='eq'}=_0x10b37e;let _0xf0b6f5=_0x50e7f6||'';if(_0x3a3f79[_0x54f329(0x169)]&&_0x50e7f6&&_0x251970&&_0x251970){let _0x5e7ab7=_0x251970[_0x54f329(0x162)](_0x2022b2=>_0x2022b2[_0x54f329(0x15f)]==_0x50e7f6);_0x5e7ab7&&_0x5e7ab7['length']>0x0&&(_0xf0b6f5=_0x5e7ab7[0x0][_0x3a3f79[_0x54f329(0x169)]]);}return'eq'===_0x1bc000?html`
8
- <input name='${_0x5a1910[_0x54f329(0x15d)]}' type="text" hidden></input>
7
+ `;openPopup(_0x13ee14,{'backdrop':!0x0,'size':_0x53f45a(0xb1),'title':TermsUtil[_0x53f45a(0xa6)](_0x294922[_0x53f45a(0xb5)][_0x53f45a(0xa8)][_0x53f45a(0xa7)])});}export const FilterGristResourceCodeSelect=(_0x4a4221,_0x1f2e76,_0x391ade)=>{const _0xc6d500=a0_0xf97f,_0x3068dd=_0x4a4221['filter'],_0x2d9d2a=_0x4a4221['record']['options'],_0x59e164=_0x2d9d2a['codes']&&_0x2d9d2a[_0xc6d500(0xa0)]>0x0?_0x2d9d2a['codes']:void 0x0,{operator:_0x23365a='eq'}=_0x3068dd;let _0x1e48b0=_0x1f2e76||'';if(_0x2d9d2a[_0xc6d500(0xa3)]&&_0x1f2e76&&_0x59e164&&_0x59e164){let _0x51ab8a=_0x59e164[_0xc6d500(0xac)](_0x56b734=>_0x56b734[_0xc6d500(0xb7)]==_0x1f2e76);_0x51ab8a&&_0x51ab8a['length']>0x0&&(_0x1e48b0=_0x51ab8a[0x0][_0x2d9d2a['dispField']]);}return'eq'===_0x23365a?html`
8
+ <input name='${_0x4a4221[_0xc6d500(0xa5)]}' type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x5a1910[_0x54f329(0x15d)]}_disp'
13
- .value=${_0xf0b6f5}
14
- @click=${_0x1aa7a3=>{const _0x4d7047=_0x54f329;_0x1aa7a3[_0x4d7047(0x166)]();const _0x406d94=_0x1aa7a3['target'];openResourceCodeSelector(_0x5a1910,_0x50e7f6,_0x315bba=>{const _0x3841ae=_0x4d7047;let _0x943628=_0x315bba?_0x315bba[_0x3a3f79['codeField']]:'',_0x1641b7=_0x943628;_0x315bba&&_0x3a3f79[_0x3841ae(0x169)]&&(_0x1641b7=_0x315bba[_0x3a3f79[_0x3841ae(0x169)]]),_0x406d94[_0x3841ae(0x15f)]=_0x1641b7,_0x5e40d9[_0x3841ae(0x165)]['querySelector']('form\x20[name=\x22'+_0x5a1910[_0x3841ae(0x15d)]+'\x22]')[_0x3841ae(0x15f)]=_0x943628,_0x406d94['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x406d94[_0x3841ae(0x155)](new CustomEvent(_0x3841ae(0x164),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5a1910[_0x3841ae(0x15d)],'operator':_0x1bc000,'value':_0x943628}}));});}}
12
+ name='${_0x4a4221[_0xc6d500(0xa5)]}_disp'
13
+ .value=${_0x1e48b0}
14
+ @click=${_0x12f98a=>{const _0x4dc758=_0xc6d500;_0x12f98a[_0x4dc758(0xa2)]();const _0xa60728=_0x12f98a['target'];openResourceCodeSelector(_0x4a4221,_0x1f2e76,_0x47dc50=>{const _0x97771=_0x4dc758;let _0x2a1917=_0x47dc50?_0x47dc50[_0x2d9d2a[_0x97771(0xb0)]]:'',_0x8b28cf=_0x2a1917;_0x47dc50&&_0x2d9d2a[_0x97771(0xa3)]&&(_0x8b28cf=_0x47dc50[_0x2d9d2a[_0x97771(0xa3)]]),_0xa60728['value']=_0x8b28cf,_0x391ade[_0x97771(0xa4)][_0x97771(0xb6)]('form\x20[name=\x22'+_0x4a4221[_0x97771(0xa5)]+'\x22]')[_0x97771(0xb7)]=_0x2a1917,_0xa60728[_0x97771(0xb2)](new Event('change',{'bubbles':!0x0})),_0xa60728[_0x97771(0xb2)](new CustomEvent(_0x97771(0xaf),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4a4221[_0x97771(0xa5)],'operator':_0x23365a,'value':_0x2a1917}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,11 +1,11 @@
1
- const a0_0x41bbed=a0_0x33d9;(function(_0x36da30,_0x5d5b6a){const _0x55afe8=a0_0x33d9,_0x49c9c3=_0x36da30();while(!![]){try{const _0x4f7f34=parseInt(_0x55afe8(0x1b0))/0x1+-parseInt(_0x55afe8(0x1b4))/0x2+-parseInt(_0x55afe8(0x1b6))/0x3*(-parseInt(_0x55afe8(0x1be))/0x4)+parseInt(_0x55afe8(0x1ac))/0x5+parseInt(_0x55afe8(0x1c4))/0x6+parseInt(_0x55afe8(0x1bd))/0x7+-parseInt(_0x55afe8(0x1bc))/0x8;if(_0x4f7f34===_0x5d5b6a)break;else _0x49c9c3['push'](_0x49c9c3['shift']());}catch(_0xb27b09){_0x49c9c3['push'](_0x49c9c3['shift']());}}}(a0_0x3274,0x1a1e2));function a0_0x33d9(_0x28fa68,_0x402c40){const _0x3274aa=a0_0x3274();return a0_0x33d9=function(_0x33d9e5,_0x3c73ff){_0x33d9e5=_0x33d9e5-0x1a5;let _0x540cd3=_0x3274aa[_0x33d9e5];return _0x540cd3;},a0_0x33d9(_0x28fa68,_0x402c40);}import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x3274(){const _0x48a73f=['3531776DuaAgD','1449287GESjEa','282292nRLZor','dispField','record','ox-grist-editor-resource-code-selector','stopPropagation','options','1191864hwrhKf','filter','column','bind','firstUpdated','define','key','display','length','85450aMzoZp','row','codes','codeField','92045ILgFFL','openSelector','dispatchEvent','field-change','356178UERYQw','tMenu','9HkwXyR','properties','popup','push','value','editorTemplate'];a0_0x3274=function(){return _0x48a73f;};return a0_0x3274();}import{TermsUtil}from'../../../utils/terms-util';import'../selector/ox-resource-code-selector-popup';export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get[a0_0x41bbed(0x1b7)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x41bbed(0x1bb)](){const _0x3a3984=a0_0x41bbed;let _0x58c770,_0x181499=this['column'][_0x3a3984(0x1c0)][_0x3a3984(0x1c3)][_0x3a3984(0x1ae)]||[];if(!this[_0x3a3984(0x1a5)][_0x3a3984(0x1c0)][_0x3a3984(0x1c3)][_0x3a3984(0x1bf)])return html`
2
- ${this[_0x3a3984(0x1ba)]?html` <span tabindex="0" style="flex:1">${this['value']}</span> `:html`<span tabindex="0"></span>`}
3
- `;if(this[_0x3a3984(0x1ba)]&&this[_0x3a3984(0x1ba)][_0x3a3984(0x1ab)]>0x0){let _0x5dc8ea=_0x181499[_0x3a3984(0x1c5)](_0x3a9baa=>_0x3a9baa[_0x3a3984(0x1ba)]===this['value']);_0x58c770=_0x5dc8ea&&_0x5dc8ea['length']>0x0?_0x5dc8ea[0x0][_0x3a3984(0x1aa)]:'';}return html`
4
- ${_0x58c770?html` <span tabindex="0" style="flex:1">${_0x58c770}</span> `:html`<span tabindex="0"></span>`}
5
- `;}async[a0_0x41bbed(0x1a7)](){const _0x2cc2ea=a0_0x41bbed;super[_0x2cc2ea(0x1a7)]();}['_onclick'](_0x42f844){const _0x8320cf=a0_0x41bbed;_0x42f844[_0x8320cf(0x1c2)](),this[_0x8320cf(0x1b1)]();}['_onkeydown'](_0x23d1be){const _0x4c8505=a0_0x41bbed;'Enter'==_0x23d1be[_0x4c8505(0x1a9)]&&(_0x23d1be[_0x4c8505(0x1c2)](),this[_0x4c8505(0x1b1)]());}[a0_0x41bbed(0x1b1)](){const _0x7564f1=a0_0x41bbed;this[_0x7564f1(0x1b8)]&&delete this[_0x7564f1(0x1b8)];var {selectorName:_0x5b0d43=''}=this[_0x7564f1(0x1a5)][_0x7564f1(0x1c0)][_0x7564f1(0x1c3)]||{},_0x39b5d8=html`
1
+ function a0_0x4b48(_0x12ac43,_0x2baecf){const _0x185cfe=a0_0x185c();return a0_0x4b48=function(_0x4b4878,_0x586a63){_0x4b4878=_0x4b4878-0x10d;let _0x1f39f2=_0x185cfe[_0x4b4878];return _0x1f39f2;},a0_0x4b48(_0x12ac43,_0x2baecf);}const a0_0x4e2283=a0_0x4b48;(function(_0x59ddcc,_0x35a2d6){const _0x2eda86=a0_0x4b48,_0x3fec68=_0x59ddcc();while(!![]){try{const _0x5b1419=-parseInt(_0x2eda86(0x118))/0x1+-parseInt(_0x2eda86(0x123))/0x2+-parseInt(_0x2eda86(0x12d))/0x3*(-parseInt(_0x2eda86(0x11b))/0x4)+-parseInt(_0x2eda86(0x11c))/0x5*(parseInt(_0x2eda86(0x125))/0x6)+parseInt(_0x2eda86(0x12b))/0x7*(-parseInt(_0x2eda86(0x11f))/0x8)+-parseInt(_0x2eda86(0x119))/0x9*(-parseInt(_0x2eda86(0x117))/0xa)+parseInt(_0x2eda86(0x126))/0xb;if(_0x5b1419===_0x35a2d6)break;else _0x3fec68['push'](_0x3fec68['shift']());}catch(_0x14c4e4){_0x3fec68['push'](_0x3fec68['shift']());}}}(a0_0x185c,0xc1517));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x185c(){const _0x35afcd=['_onkeydown','codes','push','value','row','ox-grist-editor-resource-code-selector','field-change','column','bind','popup','key','editorTemplate','181290KDbWOf','180948gruUIo','405ExZWHX','firstUpdated','7628ElKnSN','85LWllST','filter','dispatchEvent','3680eVULaz','codeField','length','large','1570176mxCeRE','dispField','476838ByXnQy','27727986usbMoA','record','options','properties','Enter','6685diumlS','openSelector','333uydXiq','_onclick'];a0_0x185c=function(){return _0x35afcd;};return a0_0x185c();}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_0x4e2283(0x129)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x4e2283(0x116)](){const _0x1fd262=a0_0x4e2283;let _0x3dd31c,_0xe08c71=this[_0x1fd262(0x112)][_0x1fd262(0x127)][_0x1fd262(0x128)][_0x1fd262(0x130)]||[];if(!this[_0x1fd262(0x112)][_0x1fd262(0x127)][_0x1fd262(0x128)][_0x1fd262(0x124)])return html`
2
+ ${this['value']?html` <span tabindex="0" style="flex:1">${this[_0x1fd262(0x10e)]}</span> `:html`<span tabindex="0"></span>`}
3
+ `;if(this['value']&&this[_0x1fd262(0x10e)]['length']>0x0){let _0x41471d=_0xe08c71[_0x1fd262(0x11d)](_0x41b7b3=>_0x41b7b3[_0x1fd262(0x10e)]===this['value']);_0x3dd31c=_0x41471d&&_0x41471d[_0x1fd262(0x121)]>0x0?_0x41471d[0x0]['display']:'';}return html`
4
+ ${_0x3dd31c?html` <span tabindex="0" style="flex:1">${_0x3dd31c}</span> `:html`<span tabindex="0"></span>`}
5
+ `;}async['firstUpdated'](){const _0xa1d01f=a0_0x4e2283;super[_0xa1d01f(0x11a)]();}[a0_0x4e2283(0x12e)](_0x4d7905){const _0x14adce=a0_0x4e2283;_0x4d7905['stopPropagation'](),this[_0x14adce(0x12c)]();}[a0_0x4e2283(0x12f)](_0x1fb607){const _0x2df49d=a0_0x4e2283;_0x2df49d(0x12a)==_0x1fb607[_0x2df49d(0x115)]&&(_0x1fb607['stopPropagation'](),this['openSelector']());}['openSelector'](){const _0x3515a1=a0_0x4e2283;this['popup']&&delete this['popup'];var {selectorName:_0x26d4d3=''}=this[_0x3515a1(0x112)]['record']['options']||{},_0x882e11=html`
6
6
  <ox-resource-code-selector-popup
7
- .value=${this[_0x7564f1(0x1ba)]}
8
- .options=${this[_0x7564f1(0x1a5)]['record'][_0x7564f1(0x1c3)]}
9
- .confirmCallback=${(_0x2438bc=>{const _0x978d55=_0x7564f1;let _0x4f4315=this['column'][_0x978d55(0x1c0)][_0x978d55(0x1c3)][_0x978d55(0x1af)],_0x170086=this['column']['record']['options']['dispField'];this[_0x978d55(0x1a5)][_0x978d55(0x1c0)][_0x978d55(0x1c3)][_0x978d55(0x1ae)]||(this['column'][_0x978d55(0x1c0)][_0x978d55(0x1c3)][_0x978d55(0x1ae)]=[]);let _0x35f0dc=this[_0x978d55(0x1a5)][_0x978d55(0x1c0)][_0x978d55(0x1c3)][_0x978d55(0x1ae)][_0x978d55(0x1c5)](_0x230708=>_0x230708[_0x978d55(0x1ba)]==_0x2438bc[_0x4f4315]);_0x35f0dc&&0x0!=_0x35f0dc[_0x978d55(0x1ab)]||this[_0x978d55(0x1a5)][_0x978d55(0x1c0)]['options'][_0x978d55(0x1ae)][_0x978d55(0x1b9)]({'value':_0x2438bc[_0x4f4315],'display':_0x2438bc[_0x170086]}),this[_0x978d55(0x1b2)](new CustomEvent(_0x978d55(0x1b3),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x978d55(0x1ba)],'after':_0x2438bc?_0x2438bc[_0x4f4315]:null,'record':this['record'],'column':this[_0x978d55(0x1a5)],'row':this[_0x978d55(0x1ad)]}}));})[_0x7564f1(0x1a6)](this)}
7
+ .value=${this[_0x3515a1(0x10e)]}
8
+ .options=${this[_0x3515a1(0x112)][_0x3515a1(0x127)][_0x3515a1(0x128)]}
9
+ .confirmCallback=${(_0x1f345c=>{const _0x3ebca6=_0x3515a1;let _0x129c7d=this['column']['record'][_0x3ebca6(0x128)][_0x3ebca6(0x120)],_0x278e16=this[_0x3ebca6(0x112)][_0x3ebca6(0x127)][_0x3ebca6(0x128)]['dispField'];this['column'][_0x3ebca6(0x127)][_0x3ebca6(0x128)][_0x3ebca6(0x130)]||(this['column'][_0x3ebca6(0x127)][_0x3ebca6(0x128)][_0x3ebca6(0x130)]=[]);let _0x5645cb=this[_0x3ebca6(0x112)][_0x3ebca6(0x127)]['options'][_0x3ebca6(0x130)][_0x3ebca6(0x11d)](_0x3414f4=>_0x3414f4[_0x3ebca6(0x10e)]==_0x1f345c[_0x129c7d]);_0x5645cb&&0x0!=_0x5645cb[_0x3ebca6(0x121)]||this['column'][_0x3ebca6(0x127)]['options'][_0x3ebca6(0x130)][_0x3ebca6(0x10d)]({'value':_0x1f345c[_0x129c7d],'display':_0x1f345c[_0x278e16]}),this[_0x3ebca6(0x11e)](new CustomEvent(_0x3ebca6(0x111),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1f345c?_0x1f345c[_0x129c7d]:null,'record':this[_0x3ebca6(0x127)],'column':this['column'],'row':this[_0x3ebca6(0x10f)]}}));})[_0x3515a1(0x113)](this)}
10
10
  ></ox-resource-code-selector-popup>
11
- `;this[_0x7564f1(0x1b8)]=openPopup(_0x39b5d8,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x7564f1(0x1b5)](_0x5b0d43)});}}customElements[a0_0x41bbed(0x1a8)](a0_0x41bbed(0x1c1),OxGristEditorResourceCodeSelector);
11
+ `;this[_0x3515a1(0x114)]=openPopup(_0x882e11,{'backdrop':!0x0,'size':_0x3515a1(0x122),'title':TermsUtil['tMenu'](_0x26d4d3)});}}customElements['define'](a0_0x4e2283(0x110),OxGristEditorResourceCodeSelector);
@@ -1 +1 @@
1
- (function(_0x12aaeb,_0x50234d){const _0x3cbfea=a0_0x14a8,_0xfb4e4=_0x12aaeb();while(!![]){try{const _0x4a9201=parseInt(_0x3cbfea(0x17c))/0x1+-parseInt(_0x3cbfea(0x173))/0x2+parseInt(_0x3cbfea(0x17d))/0x3+-parseInt(_0x3cbfea(0x16c))/0x4*(-parseInt(_0x3cbfea(0x171))/0x5)+parseInt(_0x3cbfea(0x175))/0x6*(parseInt(_0x3cbfea(0x176))/0x7)+parseInt(_0x3cbfea(0x170))/0x8+-parseInt(_0x3cbfea(0x178))/0x9;if(_0x4a9201===_0x50234d)break;else _0xfb4e4['push'](_0xfb4e4['shift']());}catch(_0x491331){_0xfb4e4['push'](_0xfb4e4['shift']());}}}(a0_0x4d3e,0x71ef0));function a0_0x14a8(_0x30f773,_0x50897e){const _0x4d3eaf=a0_0x4d3e();return a0_0x14a8=function(_0x14a818,_0x4e56d1){_0x14a818=_0x14a818-0x16c;let _0x501e1f=_0x4d3eaf[_0x14a818];return _0x501e1f;},a0_0x14a8(_0x30f773,_0x50897e);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x4d3e(){const _0xb13e10=['10340NWkRdz','target','1431188BbMetg','options','7194BQtqcB','3101EqVSzF','data-tooltip','14926824MgYJSg','length','record','codes','568985FksktX','2178879XTByYs','1476SfQpHu','removeAttribute','value','textContent','2010200LokfSC'];a0_0x4d3e=function(){return _0xb13e10;};return a0_0x4d3e();}function onmouseover(_0x59ab71){const _0x38f860=a0_0x14a8,_0x3984e8=_0x59ab71[_0x38f860(0x172)];detectOverflow(_0x3984e8)&&_0x3984e8['setAttribute'](_0x38f860(0x177),_0x3984e8[_0x38f860(0x16f)]);}function onmouseout(_0x420ab3){const _0x167f00=a0_0x14a8;_0x420ab3[_0x167f00(0x172)][_0x167f00(0x16d)](_0x167f00(0x177));}export const OxGristRendererResourceCodeSelector=(_0x51c111,_0x3c5b59,_0x3de7fe,_0x303b39,_0x1d1b09)=>{const _0x3a4be2=a0_0x14a8;if(!_0x3c5b59[_0x3a4be2(0x17a)]['options']['dispField'])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x51c111}</span>`;_0x3c5b59[_0x3a4be2(0x17a)][_0x3a4be2(0x174)][_0x3a4be2(0x17b)]||(_0x3c5b59[_0x3a4be2(0x17a)]['options']['codes']=[]);let _0x1f7191='';if(_0x51c111&&_0x51c111[_0x3a4be2(0x179)]>0x0){let _0x23f542=_0x3c5b59['record']['options'][_0x3a4be2(0x17b)]['filter'](_0x15edaf=>_0x15edaf[_0x3a4be2(0x16e)]===_0x51c111);_0x1f7191=_0x23f542&&_0x23f542[_0x3a4be2(0x179)]>0x0?_0x23f542[0x0]['display']:_0x51c111;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1f7191}</span>`;};
1
+ (function(_0x18aac3,_0x49f3f2){const _0x49341a=a0_0xa43a,_0x541d94=_0x18aac3();while(!![]){try{const _0x465923=parseInt(_0x49341a(0x1b5))/0x1*(-parseInt(_0x49341a(0x1b8))/0x2)+-parseInt(_0x49341a(0x1be))/0x3*(-parseInt(_0x49341a(0x1b6))/0x4)+parseInt(_0x49341a(0x1c1))/0x5*(parseInt(_0x49341a(0x1bc))/0x6)+-parseInt(_0x49341a(0x1b1))/0x7*(-parseInt(_0x49341a(0x1b3))/0x8)+parseInt(_0x49341a(0x1ac))/0x9*(-parseInt(_0x49341a(0x1af))/0xa)+parseInt(_0x49341a(0x1b4))/0xb+-parseInt(_0x49341a(0x1bf))/0xc;if(_0x465923===_0x49f3f2)break;else _0x541d94['push'](_0x541d94['shift']());}catch(_0x2e6c62){_0x541d94['push'](_0x541d94['shift']());}}}(a0_0x3af6,0xb8091));import{html}from'lit';function a0_0x3af6(){const _0x5c079f=['10yUTGAM','dispField','19166UtqByo','codes','3544CPLvuP','1067572MfBIKK','1VgZgMB','104eJwUYO','options','1132266FYvTVs','record','setAttribute','target','42SAhOwi','filter','55194WXSPNi','14552604oNRKHz','value','911035AqbwAv','display','4780116btCNkF','length','data-tooltip'];a0_0x3af6=function(){return _0x5c079f;};return a0_0x3af6();}import{detectOverflow}from'@operato/utils';function onmouseover(_0x55874a){const _0x526a50=a0_0xa43a,_0x482ce9=_0x55874a['target'];detectOverflow(_0x482ce9)&&_0x482ce9[_0x526a50(0x1ba)](_0x526a50(0x1ae),_0x482ce9['textContent']);}function onmouseout(_0x2a4b79){const _0x1fe8b4=a0_0xa43a;_0x2a4b79[_0x1fe8b4(0x1bb)]['removeAttribute']('data-tooltip');}function a0_0xa43a(_0x6f28e6,_0xca050a){const _0x3af69f=a0_0x3af6();return a0_0xa43a=function(_0xa43ad,_0x428c30){_0xa43ad=_0xa43ad-0x1ab;let _0x1e4381=_0x3af69f[_0xa43ad];return _0x1e4381;},a0_0xa43a(_0x6f28e6,_0xca050a);}export const OxGristRendererResourceCodeSelector=(_0x38af6f,_0x37373d,_0x280906,_0x326946,_0x575ab7)=>{const _0x350cc3=a0_0xa43a;if(!_0x37373d[_0x350cc3(0x1b9)][_0x350cc3(0x1b7)][_0x350cc3(0x1b0)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x38af6f}</span>`;_0x37373d[_0x350cc3(0x1b9)][_0x350cc3(0x1b7)]['codes']||(_0x37373d[_0x350cc3(0x1b9)]['options'][_0x350cc3(0x1b2)]=[]);let _0x35bb1b='';if(_0x38af6f&&_0x38af6f[_0x350cc3(0x1ad)]>0x0){let _0x5f0636=_0x37373d['record']['options'][_0x350cc3(0x1b2)][_0x350cc3(0x1bd)](_0x24d57f=>_0x24d57f[_0x350cc3(0x1c0)]===_0x38af6f);_0x35bb1b=_0x5f0636&&_0x5f0636['length']>0x0?_0x5f0636[0x0][_0x350cc3(0x1ab)]:_0x38af6f;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x35bb1b}</span>`;};
@@ -1,4 +1,4 @@
1
- const a0_0xd68286=a0_0x3367;function a0_0x3367(_0x3ff02e,_0x56b656){const _0x1b6932=a0_0x1b69();return a0_0x3367=function(_0x33676f,_0x194956){_0x33676f=_0x33676f-0xb8;let _0x5bfb7c=_0x1b6932[_0x33676f];return _0x5bfb7c;},a0_0x3367(_0x3ff02e,_0x56b656);}(function(_0xf568d1,_0x2d05ef){const _0x3f5c3f=a0_0x3367,_0x2620c6=_0xf568d1();while(!![]){try{const _0x471f9d=parseInt(_0x3f5c3f(0xcf))/0x1+parseInt(_0x3f5c3f(0xc6))/0x2*(parseInt(_0x3f5c3f(0xbf))/0x3)+-parseInt(_0x3f5c3f(0xd6))/0x4*(-parseInt(_0x3f5c3f(0xe7))/0x5)+parseInt(_0x3f5c3f(0xcd))/0x6+parseInt(_0x3f5c3f(0xc2))/0x7+parseInt(_0x3f5c3f(0xd5))/0x8*(-parseInt(_0x3f5c3f(0xd1))/0x9)+-parseInt(_0x3f5c3f(0xfa))/0xa*(parseInt(_0x3f5c3f(0xd2))/0xb);if(_0x471f9d===_0x2d05ef)break;else _0x2620c6['push'](_0x2620c6['shift']());}catch(_0x46c106){_0x2620c6['push'](_0x2620c6['shift']());}}}(a0_0x1b69,0x7bc63));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../../utils/terms-util';function a0_0x1b69(){const _0x8a7f2=['dispField','search_hidden_fields','object','codeField','getGristGuttersConfig','handlers','295Izcuvb','select','filters','args','getGristSelectableConfig','forEach','ox-resource-code-selector-popup','render','length','record','string','type','getCodeByEntity','codes','searchByPagination','resource-code-selector','resource-object','code','filter','10SEWwrm','shadowRoot','tText','tLabel','selectRecord','entity','showToast','columns','confirmCallback','2228388hCicMr','fetchHandler','clickSelect','815423obYKME','name','getSelectColumns','values','2VjSKCq','filterFields','GRID','getGristColumnConfig2','clickEmpty','selected','gridConfig','5104296hHmjwj','firstUpdated','509116JsFufq','LIST','59103uFdvEy','22568711RTdLja','header','bind','464oenahu','48844TUDJWm','getCodeByScenario','push','left','define','map','connectedCallback','scenario','tButton','empty','options'];a0_0x1b69=function(){return _0x8a7f2;};return a0_0x1b69();}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 ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x52a12e=a0_0x4df2;(function(_0x5e9c24,_0x2fa13d){const _0x3f31af=a0_0x4df2,_0x522429=_0x5e9c24();while(!![]){try{const _0x45254c=parseInt(_0x3f31af(0x13b))/0x1+parseInt(_0x3f31af(0x143))/0x2*(-parseInt(_0x3f31af(0x15d))/0x3)+-parseInt(_0x3f31af(0x140))/0x4*(-parseInt(_0x3f31af(0x135))/0x5)+-parseInt(_0x3f31af(0x166))/0x6+parseInt(_0x3f31af(0x13a))/0x7*(-parseInt(_0x3f31af(0x16b))/0x8)+-parseInt(_0x3f31af(0x139))/0x9+parseInt(_0x3f31af(0x14d))/0xa;if(_0x45254c===_0x2fa13d)break;else _0x522429['push'](_0x522429['shift']());}catch(_0x3aadb8){_0x522429['push'](_0x522429['shift']());}}}(a0_0x252d,0xd1040));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../../utils/terms-util';function a0_0x252d(){const _0x2cbf2f=['code','bind','402xzhvUs','string','firstUpdated','getGristColumnConfig2','entity','name','grist','values','filterFields','6083016nbRjQs','styles','args','getCodeByScenario','codes','3410776aezUsh','length','tButton','getCodeSelectorData','columns','getGristPagination100Config','gridConfig','tLabel','dispField','getGristGuttersConfig','sorters','info','#ox-grist','map','5cFfFVz','push','left','confirmCallback','15105447yRgOHi','7NEqlaF','103313hNyKAz','select','filter','type','object','1856164arIlUO','header','connectedCallback','9290AiWYnT','clickCancel','handlers','selectRecord','ox-resource-code-selector-popup','codeField','define','getGristSelectableConfig','filters','tText','40297700zspbPm','getCodeByEntity','getSelectColumns','forEach','fetchHandler','LIST','selected','isArray','record','clickSelect','options','querySelector','select-row-toggle','clickEmpty'];a0_0x252d=function(){return _0x2cbf2f;};return a0_0x252d();}import{ValueUtil}from'../../../utils/value-util';function a0_0x4df2(_0x594691,_0x29a4a6){const _0x252d92=a0_0x252d();return a0_0x4df2=function(_0x4df26c,_0xec7ef0){_0x4df26c=_0x4df26c-0x12a;let _0x34eccc=_0x252d92[_0x4df26c];return _0x34eccc;},a0_0x4df2(_0x594691,_0x29a4a6);}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_0x52a12e(0x167)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0xd68286=a0_0x3367;function a0_0x3367(_0x3ff02e,_0x56b656){const _0x1b6
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0xd68286(0xdc)](){const _0x4bd717=a0_0xd68286;this[_0x4bd717(0xe2)]=this['options'][_0x4bd717(0xe9)]||[];let _0x55f179=[...MetaApi[_0x4bd717(0xe5)](!0x0,!0x1)],_0x3e3718=(this[_0x4bd717(0xe0)]['filterFields']&&this[_0x4bd717(0xe0)][_0x4bd717(0xc7)][_0x4bd717(0xef)]>0x0?this[_0x4bd717(0xe0)][_0x4bd717(0xc7)]:[this[_0x4bd717(0xe0)][_0x4bd717(0xe4)]])[_0x4bd717(0xdb)](_0x499122=>{const _0x10f3e6=_0x4bd717;let {name:_0x5332cf,operator:_0x3426d7='eq'}=_0x10f3e6(0xe3)==typeof _0x499122?_0x499122:{'name':_0x499122};return{'name':_0x5332cf,'operator':_0x3426d7};});if(this[_0x4bd717(0xe0)][_0x4bd717(0xe8)]&&this[_0x4bd717(0xe0)]['select'][_0x4bd717(0xef)]>0x0)for(let _0x56184c=0x0;_0x56184c<this['options'][_0x4bd717(0xe8)][_0x4bd717(0xef)];_0x56184c++){let {type:_0x4880a9=_0x4bd717(0xf1),name:_0xa1c226,hidden:_0xf5c25b=!0x1,align:_0xc7ed25=_0x4bd717(0xd9),header:_0x5cdfbb,sortable:_0x408813=!0x1,width:_0x17143f=0x87,options:_0x3a6a0d}=this[_0x4bd717(0xe0)][_0x4bd717(0xe8)][_0x56184c];if(0x1==_0xf5c25b)_0x55f179[_0x4bd717(0xd8)]({'type':_0x4bd717(0xf1),'name':_0xa1c226,'hidden':!0x0});else{let _0x3fda32=MetaApi[_0x4bd717(0xc9)](_0x4880a9,_0xa1c226,_0x5cdfbb||_0xa1c226,_0xc7ed25,!0x1,_0x408813,_0x17143f);_0x4bd717(0xe8)===_0x4880a9?Array['isArray'](_0x3a6a0d)?_0x3fda32['record'][_0x4bd717(0xe0)]=_0x3a6a0d:_0x4bd717(0xf8)===_0x3a6a0d[_0x4bd717(0xf2)]?_0x3fda32[_0x4bd717(0xf0)][_0x4bd717(0xe0)]=await ServiceUtil['getCodeSelectorData'](_0x3a6a0d['values']?_0x3a6a0d[_0x4bd717(0xc5)]:_0x3a6a0d[_0x4bd717(0xc3)]):_0x4bd717(0xdd)===_0x3a6a0d[_0x4bd717(0xf2)]?_0x3fda32[_0x4bd717(0xf0)][_0x4bd717(0xe0)]=await ServiceUtil[_0x4bd717(0xd7)](_0x3a6a0d[_0x4bd717(0xc3)],_0x3a6a0d[_0x4bd717(0xea)]):_0x4bd717(0xbb)===_0x3a6a0d[_0x4bd717(0xf2)]&&(_0x3fda32[_0x4bd717(0xf0)][_0x4bd717(0xe0)]=await ServiceUtil[_0x4bd717(0xf3)](_0x3a6a0d['args'])):_0x4bd717(0xe3)===_0x4880a9||_0x4bd717(0xf7)===_0x4880a9?(_0x3a6a0d[_0x4bd717(0xe8)]&&_0x3a6a0d[_0x4bd717(0xe8)][_0x4bd717(0xec)](_0x1a9dc0=>{const _0x2019b5=_0x4bd717;_0x1a9dc0[_0x2019b5(0xd3)]||(_0x1a9dc0[_0x2019b5(0xd3)]=_0x1a9dc0[_0x2019b5(0xc3)]),_0x1a9dc0['header']=TermsUtil[_0x2019b5(0xb9)](_0x1a9dc0['header']);}),_0x3fda32[_0x4bd717(0xf0)][_0x4bd717(0xe0)]=_0x3a6a0d):_0x4bd717(0xf6)==_0x4880a9&&(_0x3fda32[_0x4bd717(0xf0)][_0x4bd717(0xe0)]=object_opt,_0x3fda32[_0x4bd717(0xf0)]['options'][_0x4bd717(0xf4)]=await ServiceUtil[_0x4bd717(0xf3)](object_opt)),_0x55f179[_0x4bd717(0xd8)](_0x3fda32);}}else _0x55f179['push'](MetaApi[_0x4bd717(0xc9)](_0x4bd717(0xf1),this[_0x4bd717(0xe0)][_0x4bd717(0xe4)],this[_0x4bd717(0xe0)]['codeField'],_0x4bd717(0xd9),!0x1,!0x0,0xb4)),this[_0x4bd717(0xe0)]['dispField']&&_0x55f179[_0x4bd717(0xd8)](MetaApi[_0x4bd717(0xc9)]('string',this[_0x4bd717(0xe0)][_0x4bd717(0xe1)],this[_0x4bd717(0xe0)][_0x4bd717(0xe1)],_0x4bd717(0xd9),!0x1,!0x0,0x12c));_0x55f179[_0x4bd717(0xec)](_0x4f2749=>{const _0xacca4d=_0x4bd717;let _0x1fd674=_0x3e3718[_0xacca4d(0xf9)](_0x3e3af8=>_0x4f2749[_0xacca4d(0xc3)]==_0x3e3af8['name']);_0x1fd674&&_0x1fd674[_0xacca4d(0xef)]>0x0&&(_0x4f2749[_0xacca4d(0xf9)]=_0x1fd674);});let _0x1688da={'rows':MetaApi[_0x4bd717(0xeb)](!0x1),'pagination':MetaApi['getGristPagination100Config'](),'appendable':!0x1,'columns':_0x55f179,'sorters':[...this[_0x4bd717(0xe0)]['sorters']||[]]};_0x1688da['rows'][_0x4bd717(0xe6)]={'click':'select-row-toggle','dblclick':(_0x55479f,_0xef717,_0x2f8fdc,_0x1444f5,_0x4e5bc3,_0xadbcde)=>{const _0x3af757=_0x4bd717;this[_0x3af757(0xba)](_0x1444f5);}},this[_0x4bd717(0xcc)]=_0x1688da,await super[_0x4bd717(0xdc)]();}async[a0_0xd68286(0xce)](){const _0x370b4b=a0_0xd68286;await super[_0x370b4b(0xce)]();}[a0_0xd68286(0xee)](){const _0x172e50=a0_0xd68286;return html`
21
- <ox-grist id="ox-grist" .config=${this['gridConfig']} .mode=${isMobileDevice()?_0x172e50(0xd0):_0x172e50(0xc8)} auto-fetch
22
- .fetchHandler=${this[_0x172e50(0xc0)]['bind'](this)}>
20
+ `];async[a0_0x52a12e(0x142)](){const _0x1aa524=a0_0x52a12e;this['search_hidden_fields']=this['options'][_0x1aa524(0x14b)]||[];let _0x33900e=[...MetaApi[_0x1aa524(0x130)](!0x0,!0x1)],_0x1e6175=(this[_0x1aa524(0x157)]['filterFields']&&this['options']['filterFields'][_0x1aa524(0x16c)]>0x0?this[_0x1aa524(0x157)][_0x1aa524(0x165)]:[this['options'][_0x1aa524(0x148)]])[_0x1aa524(0x134)](_0x35d6f5=>{let {name:_0x53498e,operator:_0xf27066='eq'}='object'==typeof _0x35d6f5?_0x35d6f5:{'name':_0x35d6f5};return{'name':_0x53498e,'operator':_0xf27066};});if(this[_0x1aa524(0x157)]['select']&&this[_0x1aa524(0x157)][_0x1aa524(0x13c)][_0x1aa524(0x16c)]>0x0)for(let _0xe9265f=0x0;_0xe9265f<this[_0x1aa524(0x157)][_0x1aa524(0x13c)][_0x1aa524(0x16c)];_0xe9265f++){let {type:_0x1d1a30=_0x1aa524(0x15e),name:_0x4b2d6d,hidden:_0x45b85a=!0x1,align:_0x4d0301='left',header:_0x407bcc,sortable:_0x3fa8da=!0x1,width:_0x394593=0x87,options:_0x1bfaec}=this[_0x1aa524(0x157)][_0x1aa524(0x13c)][_0xe9265f];if(0x1==_0x45b85a)_0x33900e[_0x1aa524(0x136)]({'type':_0x1aa524(0x15e),'name':_0x4b2d6d,'hidden':!0x0});else{let _0x5829b6=MetaApi[_0x1aa524(0x160)](_0x1d1a30,_0x4b2d6d,_0x407bcc||_0x4b2d6d,_0x4d0301,!0x1,_0x3fa8da,_0x394593);'select'===_0x1d1a30?Array[_0x1aa524(0x154)](_0x1bfaec)?_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=_0x1bfaec:_0x1aa524(0x15b)===_0x1bfaec['type']?_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=await ServiceUtil[_0x1aa524(0x12a)](_0x1bfaec[_0x1aa524(0x164)]?_0x1bfaec[_0x1aa524(0x164)]:_0x1bfaec[_0x1aa524(0x162)]):'scenario'===_0x1bfaec['type']?_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=await ServiceUtil[_0x1aa524(0x169)](_0x1bfaec['name'],_0x1bfaec[_0x1aa524(0x168)]):_0x1aa524(0x161)===_0x1bfaec[_0x1aa524(0x13e)]&&(_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=await ServiceUtil[_0x1aa524(0x14e)](_0x1bfaec[_0x1aa524(0x168)])):_0x1aa524(0x13f)===_0x1d1a30||'resource-object'===_0x1d1a30?(_0x1bfaec[_0x1aa524(0x13c)]&&_0x1bfaec[_0x1aa524(0x13c)][_0x1aa524(0x150)](_0x5be5ca=>{const _0x584269=_0x1aa524;_0x5be5ca[_0x584269(0x141)]||(_0x5be5ca[_0x584269(0x141)]=_0x5be5ca[_0x584269(0x162)]),_0x5be5ca[_0x584269(0x141)]=TermsUtil[_0x584269(0x12e)](_0x5be5ca[_0x584269(0x141)]);}),_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=_0x1bfaec):'resource-code-selector'==_0x1d1a30&&(_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=object_opt,_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)][_0x1aa524(0x16a)]=await ServiceUtil['getCodeByEntity'](object_opt)),_0x33900e[_0x1aa524(0x136)](_0x5829b6);}}else _0x33900e[_0x1aa524(0x136)](MetaApi[_0x1aa524(0x160)](_0x1aa524(0x15e),this[_0x1aa524(0x157)][_0x1aa524(0x148)],this[_0x1aa524(0x157)][_0x1aa524(0x148)],'left',!0x1,!0x0,0xb4)),this[_0x1aa524(0x157)][_0x1aa524(0x12f)]&&_0x33900e[_0x1aa524(0x136)](MetaApi[_0x1aa524(0x160)](_0x1aa524(0x15e),this['options'][_0x1aa524(0x12f)],this[_0x1aa524(0x157)][_0x1aa524(0x12f)],_0x1aa524(0x137),!0x1,!0x0,0x12c));_0x33900e[_0x1aa524(0x150)](_0x56646e=>{const _0x308cea=_0x1aa524;let _0x44b195=_0x1e6175[_0x308cea(0x13d)](_0x51eece=>_0x56646e['name']==_0x51eece[_0x308cea(0x162)]);_0x44b195&&_0x44b195[_0x308cea(0x16c)]>0x0&&(_0x56646e[_0x308cea(0x13d)]=_0x44b195);});let _0x1c074e={'rows':MetaApi[_0x1aa524(0x14a)](!0x1),'pagination':MetaApi[_0x1aa524(0x12c)](),'appendable':!0x1,'columns':_0x33900e,'sorters':[...this['options'][_0x1aa524(0x131)]||[]]};_0x1c074e['rows'][_0x1aa524(0x145)]={'click':_0x1aa524(0x159),'dblclick':(_0x405d6b,_0x45b57d,_0x3dc2fb,_0x18d0bb,_0x18d407,_0x3c9a15)=>{const _0x394858=_0x1aa524;this[_0x394858(0x146)](_0x18d0bb);}},this['gridConfig']=_0x1c074e,await super[_0x1aa524(0x142)]();}async['firstUpdated'](){const _0x12e2e6=a0_0x52a12e;await super[_0x12e2e6(0x15f)]();}['render'](){const _0x2faa38=a0_0x52a12e;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x2faa38(0x12d)]} .mode=${isMobileDevice()?_0x2faa38(0x152):'GRID'} auto-fetch
22
+ .fetchHandler=${this[_0x2faa38(0x151)]['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_0xd68286=a0_0x3367;function a0_0x3367(_0x3ff02e,_0x56b656){const _0x1b6
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x172e50(0xde)](_0x172e50(0xdf))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x172e50(0xca)][_0x172e50(0xd4)](this)}>
30
+ <mwc-button raised label="${TermsUtil['tButton']('empty')}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this['clickEmpty']['bind'](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x172e50(0xde)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this['clickCancel'][_0x172e50(0xd4)](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x2faa38(0x16d)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x2faa38(0x144)]['bind'](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x172e50(0xde)](_0x172e50(0xe8))}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this['clickSelect'][_0x172e50(0xd4)](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x2faa38(0x16d)]('select')}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x2faa38(0x156)][_0x2faa38(0x15c)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get['grist'](){const _0x4f6eb4=a0_0xd68286;return this[_0x4f6eb4(0xfb)]['querySelector']('#ox-grist');}async[a0_0xd68286(0xc0)]({page:_0x557004=0x0,limit:_0x61c453=0x0,sorters:_0x57a48d=[],filters:_0x1e3b72=[]}){const _0x26b85f=a0_0xd68286;let _0x1d818b=[...this['search_hidden_fields']];_0x1e3b72[_0x26b85f(0xec)](_0x2f5a7f=>{const _0x2fb60c=_0x26b85f;let _0x3c807e=_0x1d818b[_0x2fb60c(0xf9)](_0x1eb3a1=>_0x2f5a7f[_0x2fb60c(0xc3)]==_0x1eb3a1[_0x2fb60c(0xc3)]);_0x3c807e&&_0x3c807e[_0x2fb60c(0xef)]>0x0&&delete _0x1d818b[_0x2f5a7f['name']],_0x1d818b[_0x2fb60c(0xd8)](_0x2f5a7f);});let _0x14928d=MetaApi[_0x26b85f(0xc4)](this[_0x26b85f(0xcc)][_0x26b85f(0xbd)]);return await MetaApi[_0x26b85f(0xf5)](this[_0x26b85f(0xe0)]['queryName'],_0x1d818b,_0x57a48d,_0x557004,_0x61c453,_0x14928d);}async[a0_0xd68286(0xca)](_0x426f4f){const _0x21a17d=a0_0xd68286;this[_0x21a17d(0xbe)]&&this[_0x21a17d(0xbe)](null),closePopup(this);}async['clickCancel'](_0x125721){closePopup(this);}async[a0_0xd68286(0xc1)](_0x566cd0){const _0x552a2a=a0_0xd68286;let _0x345e4d=this['grist'][_0x552a2a(0xcb)];_0x345e4d&&0x0!=_0x345e4d[_0x552a2a(0xef)]?this['selectRecord'](_0x345e4d[0x0]):MetaApi[_0x552a2a(0xbc)]('info',TermsUtil[_0x552a2a(0xb8)]('NOTHING_SELECTED'));}async[a0_0xd68286(0xba)](_0x29bcc9){const _0x4de3ac=a0_0xd68286;this[_0x4de3ac(0xbe)]&&this[_0x4de3ac(0xbe)](_0x29bcc9),closePopup(this);}}customElements[a0_0xd68286(0xda)](a0_0xd68286(0xed),OxResourceCodeSelectorPopup);
40
+ `;}get['grist'](){const _0x3f1e23=a0_0x52a12e;return this['shadowRoot'][_0x3f1e23(0x158)](_0x3f1e23(0x133));}async[a0_0x52a12e(0x151)]({page:_0xa0797a=0x0,limit:_0x54a161=0x0,sorters:_0x2ddc83=[],filters:_0x2f4971=[]}){const _0x4b03c2=a0_0x52a12e;let _0x525c24=[...this['search_hidden_fields']];_0x2f4971[_0x4b03c2(0x150)](_0x356762=>{const _0x42fdc8=_0x4b03c2;let _0x548ae7=_0x525c24[_0x42fdc8(0x13d)](_0x54c9ab=>_0x356762['name']==_0x54c9ab[_0x42fdc8(0x162)]);_0x548ae7&&_0x548ae7[_0x42fdc8(0x16c)]>0x0&&delete _0x525c24[_0x356762['name']],_0x525c24[_0x42fdc8(0x136)](_0x356762);});let _0x3f0257=MetaApi[_0x4b03c2(0x14f)](this[_0x4b03c2(0x12d)][_0x4b03c2(0x12b)]);return await MetaApi['searchByPagination'](this[_0x4b03c2(0x157)]['queryName'],_0x525c24,_0x2ddc83,_0xa0797a,_0x54a161,_0x3f0257);}async[a0_0x52a12e(0x15a)](_0x5a2f2c){const _0x1bb99b=a0_0x52a12e;this[_0x1bb99b(0x138)]&&this['confirmCallback'](null),closePopup(this);}async[a0_0x52a12e(0x144)](_0x210add){closePopup(this);}async[a0_0x52a12e(0x156)](_0x4425ba){const _0x3d87c0=a0_0x52a12e;let _0x310876=this[_0x3d87c0(0x163)][_0x3d87c0(0x153)];_0x310876&&0x0!=_0x310876[_0x3d87c0(0x16c)]?this[_0x3d87c0(0x146)](_0x310876[0x0]):MetaApi['showToast'](_0x3d87c0(0x132),TermsUtil[_0x3d87c0(0x14c)]('NOTHING_SELECTED'));}async[a0_0x52a12e(0x146)](_0x11000f){const _0x50873c=a0_0x52a12e;this[_0x50873c(0x138)]&&this['confirmCallback'](_0x11000f),closePopup(this);}}customElements[a0_0x52a12e(0x149)](a0_0x52a12e(0x147),OxResourceCodeSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x2124c9=a0_0x2837;(function(_0xf6e23c,_0x59aa8a){const _0x1a51d5=a0_0x2837,_0x5ad42a=_0xf6e23c();while(!![]){try{const _0x297d06=-parseInt(_0x1a51d5(0xb4))/0x1+parseInt(_0x1a51d5(0xcb))/0x2*(parseInt(_0x1a51d5(0xa4))/0x3)+parseInt(_0x1a51d5(0xa6))/0x4*(-parseInt(_0x1a51d5(0xb1))/0x5)+parseInt(_0x1a51d5(0x9e))/0x6+-parseInt(_0x1a51d5(0xb2))/0x7*(-parseInt(_0x1a51d5(0xb5))/0x8)+parseInt(_0x1a51d5(0xb7))/0x9+-parseInt(_0x1a51d5(0xad))/0xa;if(_0x297d06===_0x59aa8a)break;else _0x5ad42a['push'](_0x5ad42a['shift']());}catch(_0x15361a){_0x5ad42a['push'](_0x5ad42a['shift']());}}}(a0_0x3260,0xba05d));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x3260(){const _0x503e2b=['setParentId','112899AQDUll','menuInfo','5163028hYtYtM','lifecycle','active','fetchHandler','callScenario','is_popup','executeCallScenarioButtonClick','12314080NAXaRd','fetch','isNotEmpty','errors','5LokYcT','7xgjeFP','excuteOpenPopupButtonClick','728292eGocRF','7491032EwsXle','isDetail','11967426iLcinn','parseBasicFormConfigs','tTitle','filterForm','parent_id','isPage','after','name','parseBasicGridConfigs','getAndParseMenuMeta','properties','getParams','title_detail','is_detail','etcConfig','menu','parseBasicServiceConfigs','etc','title','parseBasicTabConfigs','38WEGjgE','params','6187716IjMSDH','grist','parseBasicButtonConfigs','isEmpty','split'];a0_0x3260=function(){return _0x503e2b;};return a0_0x3260();}function a0_0x2837(_0x19398a,_0x59c8c7){const _0x3260db=a0_0x3260();return a0_0x2837=function(_0x283701,_0x51f38f){_0x283701=_0x283701-0x9d;let _0x1b9ddc=_0x3260db[_0x283701];return _0x1b9ddc;},a0_0x2837(_0x19398a,_0x59c8c7);}export const MetaBaseMixin=_0x140d62=>class extends _0x140d62{static get[a0_0x2124c9(0xc1)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x2fb04a=>Boolean(_0x2fb04a)},'is_popup':{'type':Boolean,'converter':_0x2a45f0=>Boolean(_0x2a45f0)},'is_activity':{'type':Boolean,'converter':_0x104bf6=>Boolean(_0x104bf6)},'is_readonly':{'type':Boolean,'converter':_0x3b3f5e=>Boolean(_0x3b3f5e)}};}get['isElement'](){const _0x37fbda=a0_0x2124c9;return!0x0===this['is_detail']||!0x0===this[_0x37fbda(0xab)];}get[a0_0x2124c9(0xb6)](){const _0x336b47=a0_0x2124c9;return!ValueUtil[_0x336b47(0xa1)](this[_0x336b47(0xc4)])&&this['is_detail'];}async['pageUpdated'](_0x5907c1,_0x404226,_0x5d7f15){const _0x41f8b8=a0_0x2124c9;let _0x55dbe9=this[_0x41f8b8(0xa7)]?.[_0x41f8b8(0x9d)]?this[_0x41f8b8(0xa7)]['params']:{};this[_0x41f8b8(0xbc)]&&this[_0x41f8b8(0xa8)]&&0x0==_0x5d7f15[_0x41f8b8(0xa8)]&&ValueUtil['isNotEmpty'](_0x55dbe9)&&this[_0x41f8b8(0xae)]();}get['isPopup'](){const _0x59030e=a0_0x2124c9;return!ValueUtil[_0x59030e(0xa1)](this['is_popup'])&&this['is_popup'];}get['isPage'](){return!this['is_detail']&&!this['is_popup'];}async[a0_0x2124c9(0xc0)](){const _0x328f3f=a0_0x2124c9;let _0x41c511=await MetaApi['getMenuMeta'](this);_0x41c511&&(this[_0x328f3f(0xa5)]=_0x41c511[_0x328f3f(0xc6)],this[_0x328f3f(0xc5)]=_0x41c511[_0x328f3f(0xc8)],this[_0x328f3f(0xbf)]&&this['parseBasicGridConfigs'](_0x41c511),this['parseBasicServiceConfigs']&&this[_0x328f3f(0xc7)](_0x41c511),this[_0x328f3f(0xb8)]&&this[_0x328f3f(0xb8)](_0x41c511),this[_0x328f3f(0xca)]&&this[_0x328f3f(0xca)](_0x41c511),this[_0x328f3f(0xa0)]&&this['parseBasicButtonConfigs'](_0x41c511));}async[a0_0x2124c9(0xae)](){const _0x29734b=a0_0x2124c9;ValueUtil['isNotEmpty'](this[_0x29734b(0x9f)])?this['grist'][_0x29734b(0xae)]():(ValueUtil[_0x29734b(0xaf)](this[_0x29734b(0xba)])||this['fetchHandler'])&&await this[_0x29734b(0xa9)]();}async[a0_0x2124c9(0xb3)](_0x5967c7,_0x5df396,_0x52f837){const _0x232be8=a0_0x2124c9;let _0x4068f5=TermsUtil[_0x232be8(0xb9)](_0x5967c7[_0x232be8(0xc9)]);ValueUtil[_0x232be8(0xaf)](_0x5967c7[_0x232be8(0xc3)])&&(_0x4068f5=_0x4068f5+'-'+ValueUtil[_0x232be8(0xc2)](_0x5df396,..._0x5967c7[_0x232be8(0xc3)][_0x232be8(0xa2)]('.'))),MetaApi['openDynamicPopup'](_0x4068f5,_0x5967c7,_0x5df396,_0x52f837);}async[a0_0x2124c9(0xac)](_0x1070a5,_0x3c9da1,_0x4bf234){const _0x263028=a0_0x2124c9;let _0x12f3de=await MetaApi[_0x263028(0xaa)](_0x1070a5[_0x263028(0xbe)],_0x1070a5['name'],_0x3c9da1);!0x1!==_0x12f3de&&!_0x12f3de[_0x263028(0xb0)]&&ValueUtil[_0x263028(0xaf)](_0x1070a5[_0x263028(0xbd)])&&_0x4bf234();}[a0_0x2124c9(0xa3)](_0x4bd4de){const _0x1a9cde=a0_0x2124c9;this[_0x1a9cde(0xbb)]=_0x4bd4de,this[_0x1a9cde(0xae)]();}};
1
+ const a0_0x310285=a0_0x22a9;function a0_0x22a9(_0x442ecf,_0x377c48){const _0x192461=a0_0x1924();return a0_0x22a9=function(_0x22a9ff,_0x35e66a){_0x22a9ff=_0x22a9ff-0xf7;let _0x2e5bf5=_0x192461[_0x22a9ff];return _0x2e5bf5;},a0_0x22a9(_0x442ecf,_0x377c48);}(function(_0x160821,_0x51c71a){const _0x20fe42=a0_0x22a9,_0x56aa7e=_0x160821();while(!![]){try{const _0x23b86d=-parseInt(_0x20fe42(0xf9))/0x1*(-parseInt(_0x20fe42(0xfa))/0x2)+parseInt(_0x20fe42(0x122))/0x3+parseInt(_0x20fe42(0x11b))/0x4*(parseInt(_0x20fe42(0x11f))/0x5)+-parseInt(_0x20fe42(0x101))/0x6*(parseInt(_0x20fe42(0x112))/0x7)+-parseInt(_0x20fe42(0x115))/0x8*(parseInt(_0x20fe42(0xfe))/0x9)+-parseInt(_0x20fe42(0xf7))/0xa+parseInt(_0x20fe42(0x124))/0xb;if(_0x23b86d===_0x51c71a)break;else _0x56aa7e['push'](_0x56aa7e['shift']());}catch(_0x3600a3){_0x56aa7e['push'](_0x56aa7e['shift']());}}}(a0_0x1924,0xbb067));function a0_0x1924(){const _0x2265eb=['12013287fKmEYz','active','14969950ikzcZx','lifecycle','1qYJIkm','2985802AcHxRs','parseBasicGridConfigs','setParentId','isEmpty','3738519koJvJW','after','filterForm','324AASlFu','grist','parseBasicTabConfigs','title_detail','name','tTitle','isElement','openDynamicPopup','fetch','isPage','isPopup','isDetail','getMenuMeta','is_popup','fetchHandler','getAndParseMenuMeta','parseBasicButtonConfigs','157171wHCRGP','title','parent_id','16omFKaD','isNotEmpty','errors','properties','callScenario','menu','8WTniCX','etcConfig','excuteOpenPopupButtonClick','parseBasicFormConfigs','897860RmbpfD','is_detail','split','4086396IdWaGW','getParams'];a0_0x1924=function(){return _0x2265eb;};return a0_0x1924();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x286e57=>class extends _0x286e57{static get[a0_0x310285(0x118)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x23582d=>Boolean(_0x23582d)},'is_popup':{'type':Boolean,'converter':_0x5b2347=>Boolean(_0x5b2347)},'is_activity':{'type':Boolean,'converter':_0x1ba498=>Boolean(_0x1ba498)},'is_readonly':{'type':Boolean,'converter':_0x968e01=>Boolean(_0x968e01)}};}get[a0_0x310285(0x107)](){const _0x20cd3f=a0_0x310285;return!0x0===this['is_detail']||!0x0===this[_0x20cd3f(0x10e)];}get[a0_0x310285(0x10c)](){const _0x5ad806=a0_0x310285;return!ValueUtil[_0x5ad806(0xfd)](this[_0x5ad806(0x120)])&&this[_0x5ad806(0x120)];}async['pageUpdated'](_0x202d77,_0x4e6ba5,_0x41bf75){const _0x1f21a5=a0_0x310285;let _0x4fd8dd=this[_0x1f21a5(0xf8)]?.['params']?this[_0x1f21a5(0xf8)]['params']:{};this[_0x1f21a5(0x10a)]&&this[_0x1f21a5(0x125)]&&0x0==_0x41bf75[_0x1f21a5(0x125)]&&ValueUtil[_0x1f21a5(0x116)](_0x4fd8dd)&&this['fetch']();}get[a0_0x310285(0x10b)](){const _0x552787=a0_0x310285;return!ValueUtil['isEmpty'](this[_0x552787(0x10e)])&&this[_0x552787(0x10e)];}get[a0_0x310285(0x10a)](){const _0x1df83c=a0_0x310285;return!this[_0x1df83c(0x120)]&&!this['is_popup'];}async[a0_0x310285(0x110)](){const _0x2e1a4a=a0_0x310285;let _0x5d452d=await MetaApi[_0x2e1a4a(0x10d)](this);_0x5d452d&&(this['menuInfo']=_0x5d452d[_0x2e1a4a(0x11a)],this[_0x2e1a4a(0x11c)]=_0x5d452d['etc'],this[_0x2e1a4a(0xfb)]&&this[_0x2e1a4a(0xfb)](_0x5d452d),this['parseBasicServiceConfigs']&&this['parseBasicServiceConfigs'](_0x5d452d),this[_0x2e1a4a(0x11e)]&&this[_0x2e1a4a(0x11e)](_0x5d452d),this['parseBasicTabConfigs']&&this[_0x2e1a4a(0x103)](_0x5d452d),this[_0x2e1a4a(0x111)]&&this[_0x2e1a4a(0x111)](_0x5d452d));}async[a0_0x310285(0x109)](){const _0x191b04=a0_0x310285;ValueUtil[_0x191b04(0x116)](this[_0x191b04(0x102)])?this[_0x191b04(0x102)][_0x191b04(0x109)]():(ValueUtil['isNotEmpty'](this[_0x191b04(0x100)])||this[_0x191b04(0x10f)])&&await this[_0x191b04(0x10f)]();}async[a0_0x310285(0x11d)](_0x3f46db,_0x29278f,_0x471dcd){const _0x3e9b49=a0_0x310285;let _0x555f9a=TermsUtil[_0x3e9b49(0x106)](_0x3f46db[_0x3e9b49(0x113)]);ValueUtil[_0x3e9b49(0x116)](_0x3f46db['title_detail'])&&(_0x555f9a=_0x555f9a+'-'+ValueUtil[_0x3e9b49(0x123)](_0x29278f,..._0x3f46db[_0x3e9b49(0x104)][_0x3e9b49(0x121)]('.'))),MetaApi[_0x3e9b49(0x108)](_0x555f9a,_0x3f46db,_0x29278f,_0x471dcd);}async['executeCallScenarioButtonClick'](_0x2e61bc,_0x2e60a5,_0xedbfbb){const _0x1018c2=a0_0x310285;let _0x320e32=await MetaApi[_0x1018c2(0x119)](_0x2e61bc[_0x1018c2(0x105)],_0x2e61bc[_0x1018c2(0x105)],_0x2e60a5);!0x1!==_0x320e32&&!_0x320e32[_0x1018c2(0x117)]&&ValueUtil['isNotEmpty'](_0x2e61bc[_0x1018c2(0xff)])&&_0xedbfbb();}[a0_0x310285(0xfc)](_0x135821){const _0x46bfb8=a0_0x310285;this[_0x46bfb8(0x114)]=_0x135821,this[_0x46bfb8(0x109)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0x15c9a8=a0_0xdae4;(function(_0x4bfafd,_0x25c7c9){const _0x553be1=a0_0xdae4,_0x103e2f=_0x4bfafd();while(!![]){try{const _0xe1d771=-parseInt(_0x553be1(0x1d0))/0x1*(parseInt(_0x553be1(0x1d8))/0x2)+-parseInt(_0x553be1(0x1fd))/0x3*(parseInt(_0x553be1(0x1d7))/0x4)+parseInt(_0x553be1(0x1f0))/0x5+-parseInt(_0x553be1(0x1f5))/0x6*(-parseInt(_0x553be1(0x1ef))/0x7)+-parseInt(_0x553be1(0x1db))/0x8+parseInt(_0x553be1(0x1e5))/0x9+parseInt(_0x553be1(0x1df))/0xa*(parseInt(_0x553be1(0x1cf))/0xb);if(_0xe1d771===_0x25c7c9)break;else _0x103e2f['push'](_0x103e2f['shift']());}catch(_0x74b96a){_0x103e2f['push'](_0x103e2f['shift']());}}}(a0_0x5cdd,0x3d9ef));import{html}from'lit';function a0_0x5cdd(){const _0xfaf4c=['context','connectedCallback','gristConfigSet','877302ywjQob','save','startsWith','getBasicGristStyles','isNotEmpty','updateMultiple','parseGristConfigs','parseBasicGridConfigs','312546RKWxqd','patchesForUpdateMultiple','forEach','fetch','exportableData','activityDataSet','firstUpdated','getButtonContainer','getData','render','isElement','parseGridConfigSet','11CNVgUF','2126Qaytut','renderRoot','find','gridConfig','isPage','searchConfig','gristId','8QppWYH','222kymxJs','ox-filters-form','delete','1179432AlJyRE','deleteByIds','filterFormId','records','4657840cYdwfI','getBasicGristHtml','clear','keys','grist','data','783774SyGufg','properties','getParams','querySelector','pageInitialized','parse','tTitle','grid','shadowRoot','getSelectedIdList','7CFKDiQ','725455TRigcV','findOne'];a0_0x5cdd=function(){return _0xfaf4c;};return a0_0x5cdd();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0xdae4(_0x59652b,_0xc20b79){const _0x5cdd96=a0_0x5cdd();return a0_0xdae4=function(_0xdae464,_0x18d749){_0xdae464=_0xdae464-0x1ce;let _0x5bbbd0=_0x5cdd96[_0xdae464];return _0x5bbbd0;},a0_0xdae4(_0x59652b,_0xc20b79);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x498b3b=>class extends MetaButtonMixin(_0x498b3b){static get['styles'](){const _0x41ace0=a0_0xdae4;return MetaApi[_0x41ace0(0x1f8)]();}static get[a0_0x15c9a8(0x1e6)](){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_0x15c9a8(0x1e3)](){const _0x3a2b28=a0_0x15c9a8;return this[_0x3a2b28(0x1d1)]?.[_0x3a2b28(0x1e8)](this[_0x3a2b28(0x1d6)]);}get['filterForm'](){const _0x3e8c11=a0_0x15c9a8;return this[_0x3e8c11(0x1ed)]?.[_0x3e8c11(0x1e8)](this[_0x3e8c11(0x1dd)]);}get[a0_0x15c9a8(0x1f2)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x15c9a8(0x1f3)](){const _0x4cb9f2=a0_0x15c9a8;this['gristId']='ox-grist',this[_0x4cb9f2(0x1dd)]=_0x4cb9f2(0x1d9),await this['getAndParseMenuMeta'](),this[_0x4cb9f2(0x207)]&&await this[_0x4cb9f2(0x1fb)](),this[_0x4cb9f2(0x202)]&&(this['dataSet']=this['activityDataSet']),super['connectedCallback']&&await super[_0x4cb9f2(0x1f3)]();}async[a0_0x15c9a8(0x203)](){const _0x435870=a0_0x15c9a8;super['firstUpdated']&&await super[_0x435870(0x203)]();}async[a0_0x15c9a8(0x1e9)](){const _0x23f2ca=a0_0x15c9a8;this[_0x23f2ca(0x1d4)]&&await this['parseGristConfigs'](),super[_0x23f2ca(0x1e9)]&&await super['pageInitialized']();}[a0_0x15c9a8(0x206)](){const _0xfce4d8=a0_0x15c9a8;return html`
2
- ${MetaApi[_0xfce4d8(0x1e0)](this)}
3
- ${this[_0xfce4d8(0x1d4)]?html``:MetaUiUtil[_0xfce4d8(0x204)](this)}
4
- `;}[a0_0x15c9a8(0x1fc)](_0x2d345c){const _0xae1361=a0_0x15c9a8;this[_0xae1361(0x1d3)]=_0x2d345c[_0xae1361(0x1ec)],this['gridColumnConfig']=_0x2d345c['grid_column'],this[_0xae1361(0x1d5)]=_0x2d345c['search'];}async[a0_0x15c9a8(0x1fb)](){const _0x17d543=a0_0x15c9a8;this[_0x17d543(0x1f4)]=await MetaApi[_0x17d543(0x1ce)](this);}async['fetch'](){const _0x1db041=a0_0x15c9a8;await this[_0x1db041(0x1e3)][_0x1db041(0x200)]();}async[a0_0x15c9a8(0x1f6)](){const _0x10095e=a0_0x15c9a8;let _0x1f9182=MetaApi[_0x10095e(0x1fe)](this[_0x10095e(0x1e3)]);!!ValueUtil[_0x10095e(0x1f9)](_0x1f9182)&&await this[_0x10095e(0x1fa)](_0x1f9182)&&this['fetch']();}async[a0_0x15c9a8(0x1d2)](){const _0x3502f9=a0_0x15c9a8;let _0x58bf20=MetaApi[_0x3502f9(0x1ee)](this[_0x3502f9(0x1e3)],!0x0);return ValueUtil[_0x3502f9(0x1f9)](_0x58bf20)?await this[_0x3502f9(0x1f1)](_0x58bf20[0x0]):{};}async[a0_0x15c9a8(0x1da)](){const _0x195bf5=a0_0x15c9a8;let _0x5d9aa6=MetaApi[_0x195bf5(0x1ee)](this[_0x195bf5(0x1e3)],!0x0);!!ValueUtil[_0x195bf5(0x1f9)](_0x5d9aa6)&&await this[_0x195bf5(0x1dc)](_0x5d9aa6)&&this['fetch']();}async['export'](){const _0x1c9642=a0_0x15c9a8;let _0x479ea5=TermsUtil[_0x1c9642(0x1eb)](ValueUtil[_0x1c9642(0x1e7)](this['menuInfo'],'title'));return await MetaApi[_0x1c9642(0x201)](this[_0x1c9642(0x207)],_0x479ea5,this[_0x1c9642(0x1e3)]);}async['import'](){}async[a0_0x15c9a8(0x1e1)](){const _0x292c71=a0_0x15c9a8;this[_0x292c71(0x1e3)]&&(this[_0x292c71(0x1e3)][_0x292c71(0x1e4)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x15c9a8(0x205)](){const _0x2844af=a0_0x15c9a8;let _0x54aad2=this['grist']['___data'][_0x2844af(0x1de)];return _0x54aad2=JSON[_0x2844af(0x1ea)](JSON['stringify'](_0x54aad2)),_0x54aad2[_0x2844af(0x1ff)](_0x32411f=>{const _0x4b1590=_0x2844af;Object[_0x4b1590(0x1e2)](_0x32411f)[_0x4b1590(0x1ff)](_0x55fb36=>{const _0x215beb=_0x4b1590;_0x55fb36[_0x215beb(0x1f7)]('__')&&delete _0x32411f[_0x55fb36];});}),_0x54aad2;}};
1
+ function a0_0x1d8a(_0x3bd9d4,_0x413da4){const _0x424fb2=a0_0x424f();return a0_0x1d8a=function(_0x1d8ace,_0x405d77){_0x1d8ace=_0x1d8ace-0x90;let _0x498569=_0x424fb2[_0x1d8ace];return _0x498569;},a0_0x1d8a(_0x3bd9d4,_0x413da4);}const a0_0x509611=a0_0x1d8a;(function(_0x4f9e55,_0x57cf60){const _0x43c3cd=a0_0x1d8a,_0x24e410=_0x4f9e55();while(!![]){try{const _0x533abd=parseInt(_0x43c3cd(0x91))/0x1+-parseInt(_0x43c3cd(0xad))/0x2+-parseInt(_0x43c3cd(0xc2))/0x3*(parseInt(_0x43c3cd(0x97))/0x4)+parseInt(_0x43c3cd(0xbe))/0x5+-parseInt(_0x43c3cd(0x98))/0x6+-parseInt(_0x43c3cd(0xcd))/0x7+parseInt(_0x43c3cd(0xa3))/0x8;if(_0x533abd===_0x57cf60)break;else _0x24e410['push'](_0x24e410['shift']());}catch(_0x4381bb){_0x24e410['push'](_0x24e410['shift']());}}}(a0_0x424f,0xb430d));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_0x424f(){const _0x2712a7=['gridConfig','shadowRoot','getBasicGristStyles','getContextObject','grist','isElement','activityDataSet','getParams','title','parseGridConfigSet','render','exportableData','ox-grist','delete','getBasicGristHtml','menuInfo','1451480CppIba','firstUpdated','deleteByIds','import','6JOXDhi','fetch','gristId','tTitle','isPage','startsWith','isNotEmpty','filterFormId','find','records','clear','9612260QZHhNr','context','1405190RHeLAK','querySelector','getData','ox-filters-form','searchConfig','properties','390468GONBja','4979244zFrkma','dataSet','___data','renderRoot','stringify','parseGristConfigs','getSelectedIdList','export','filterForm','gridColumnConfig','findOne','20498720NZfpBK','forEach','search','grid','data','grid_column','parse','connectedCallback','parseBasicGridConfigs','pageInitialized','2242954ssbKJe'];a0_0x424f=function(){return _0x2712a7;};return a0_0x424f();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0xe310a5=>class extends MetaButtonMixin(_0xe310a5){static get['styles'](){const _0x31d1d4=a0_0x1d8a;return MetaApi[_0x31d1d4(0xb0)]();}static get[a0_0x509611(0x96)](){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_0x509611(0xb2)](){const _0x18aacb=a0_0x509611;return this[_0x18aacb(0x9b)]?.[_0x18aacb(0x92)](this['gristId']);}get[a0_0x509611(0xa0)](){const _0x7184d3=a0_0x509611;return this[_0x7184d3(0xaf)]?.[_0x7184d3(0x92)](this[_0x7184d3(0xc9)]);}get[a0_0x509611(0x90)](){const _0xd4144c=a0_0x509611;return MetaUiUtil[_0xd4144c(0xb1)](this);}async[a0_0x509611(0xaa)](){const _0x1a0f25=a0_0x509611;this[_0x1a0f25(0xc4)]=_0x1a0f25(0xba),this['filterFormId']=_0x1a0f25(0x94),await this['getAndParseMenuMeta'](),this[_0x1a0f25(0xb3)]&&await this[_0x1a0f25(0x9d)](),this[_0x1a0f25(0xb4)]&&(this[_0x1a0f25(0x99)]=this[_0x1a0f25(0xb4)]),super[_0x1a0f25(0xaa)]&&await super[_0x1a0f25(0xaa)]();}async['firstUpdated'](){const _0x4d494b=a0_0x509611;super[_0x4d494b(0xbf)]&&await super[_0x4d494b(0xbf)]();}async['pageInitialized'](){const _0x44cba4=a0_0x509611;this[_0x44cba4(0xc6)]&&await this[_0x44cba4(0x9d)](),super['pageInitialized']&&await super[_0x44cba4(0xac)]();}[a0_0x509611(0xb8)](){const _0x370886=a0_0x509611;return html`
2
+ ${MetaApi[_0x370886(0xbc)](this)}
3
+ ${this[_0x370886(0xc6)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
+ `;}[a0_0x509611(0xab)](_0x14e4d6){const _0x17eedd=a0_0x509611;this[_0x17eedd(0xae)]=_0x14e4d6[_0x17eedd(0xa6)],this[_0x17eedd(0xa1)]=_0x14e4d6[_0x17eedd(0xa8)],this[_0x17eedd(0x95)]=_0x14e4d6[_0x17eedd(0xa5)];}async[a0_0x509611(0x9d)](){const _0x1dc2f8=a0_0x509611;this['gristConfigSet']=await MetaApi[_0x1dc2f8(0xb7)](this);}async['fetch'](){const _0x504f39=a0_0x509611;await this[_0x504f39(0xb2)][_0x504f39(0xc3)]();}async['save'](){const _0x353a2e=a0_0x509611;let _0xefe28a=MetaApi['patchesForUpdateMultiple'](this[_0x353a2e(0xb2)]);!!ValueUtil[_0x353a2e(0xc8)](_0xefe28a)&&await this['updateMultiple'](_0xefe28a)&&this[_0x353a2e(0xc3)]();}async[a0_0x509611(0xca)](){const _0x210cac=a0_0x509611;let _0x289979=MetaApi[_0x210cac(0x9e)](this[_0x210cac(0xb2)],!0x0);return ValueUtil[_0x210cac(0xc8)](_0x289979)?await this[_0x210cac(0xa2)](_0x289979[0x0]):{};}async[a0_0x509611(0xbb)](){const _0x573790=a0_0x509611;let _0x25d70b=MetaApi[_0x573790(0x9e)](this[_0x573790(0xb2)],!0x0);!!ValueUtil[_0x573790(0xc8)](_0x25d70b)&&await this[_0x573790(0xc0)](_0x25d70b)&&this['fetch']();}async[a0_0x509611(0x9f)](){const _0x52df65=a0_0x509611;let _0x360fe9=TermsUtil[_0x52df65(0xc5)](ValueUtil[_0x52df65(0xb5)](this[_0x52df65(0xbd)],_0x52df65(0xb6)));return await MetaApi[_0x52df65(0xb9)](this[_0x52df65(0xb3)],_0x360fe9,this[_0x52df65(0xb2)]);}async[a0_0x509611(0xc1)](){}async[a0_0x509611(0xcc)](){const _0x40b208=a0_0x509611;this[_0x40b208(0xb2)]&&(this['grist'][_0x40b208(0xa7)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x509611(0x93)](){const _0x7a696c=a0_0x509611;let _0x5a2076=this[_0x7a696c(0xb2)][_0x7a696c(0x9a)][_0x7a696c(0xcb)];return _0x5a2076=JSON[_0x7a696c(0xa9)](JSON[_0x7a696c(0x9c)](_0x5a2076)),_0x5a2076[_0x7a696c(0xa4)](_0xa2bef9=>{const _0xcf3ae6=_0x7a696c;Object['keys'](_0xa2bef9)[_0xcf3ae6(0xa4)](_0x56b501=>{const _0x473fcb=_0xcf3ae6;_0x56b501[_0x473fcb(0xc7)]('__')&&delete _0xa2bef9[_0x56b501];});}),_0x5a2076;}};
@@ -1 +1 @@
1
- const a0_0x2d70d1=a0_0x39f5;(function(_0x3ace5d,_0x597c9e){const _0x50eae1=a0_0x39f5,_0x543da6=_0x3ace5d();while(!![]){try{const _0x46c1b3=-parseInt(_0x50eae1(0x10d))/0x1*(parseInt(_0x50eae1(0x10f))/0x2)+-parseInt(_0x50eae1(0x10a))/0x3+parseInt(_0x50eae1(0x110))/0x4*(-parseInt(_0x50eae1(0x10e))/0x5)+-parseInt(_0x50eae1(0x105))/0x6*(parseInt(_0x50eae1(0x107))/0x7)+-parseInt(_0x50eae1(0xff))/0x8+-parseInt(_0x50eae1(0x10b))/0x9+parseInt(_0x50eae1(0xfc))/0xa*(parseInt(_0x50eae1(0x113))/0xb);if(_0x46c1b3===_0x597c9e)break;else _0x543da6['push'](_0x543da6['shift']());}catch(_0x3e4817){_0x543da6['push'](_0x543da6['shift']());}}}(a0_0x35c2,0x3af6a));import{html}from'lit';function a0_0x39f5(_0x13bf0c,_0x1de0cd){const _0x35c2ee=a0_0x35c2();return a0_0x39f5=function(_0x39f5b4,_0x5432d8){_0x39f5b4=_0x39f5b4-0xfa;let _0x3352c4=_0x35c2ee[_0x39f5b4];return _0x3352c4;},a0_0x39f5(_0x13bf0c,_0x1de0cd);}import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x9a9575=>class extends MetaServiceMixin(_0x9a9575){static get[a0_0x2d70d1(0xfe)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}['getCustomButtonContainerStyle'](){const _0x25435c=a0_0x2d70d1;return MetaUiUtil[_0x25435c(0x109)]();}[a0_0x2d70d1(0x106)](){const _0x572beb=a0_0x2d70d1;return MetaUiUtil[_0x572beb(0x106)](this);}['getButtonContainer'](){const _0x50929c=a0_0x2d70d1;return this[_0x50929c(0xfb)]?html``:MetaUiUtil[_0x50929c(0x112)](this);}async[a0_0x2d70d1(0x108)](_0xeaeee3,_0x1ce860,_0x4f3fb9){return await MetaUiUtil['getButtonActionHandler'](this,_0xeaeee3,_0x1ce860,_0x4f3fb9);}async[a0_0x2d70d1(0x103)](_0x2e18ae){await MetaUiUtil['customButtonHandler'](this,_0x2e18ae);}async['gristButtonHandler'](_0x282b55,_0x4b0519){const _0x2032e9=a0_0x2d70d1;await MetaUiUtil[_0x2032e9(0x10c)](this,_0x282b55,_0x4b0519);}['parseBasicButtonConfigs'](_0x5ca15f){const _0xd11c8a=a0_0x2d70d1;this['buttonConfig']=_0x5ca15f[_0xd11c8a(0xfa)],this[_0xd11c8a(0x101)]=MetaUiUtil[_0xd11c8a(0x104)](this[_0xd11c8a(0x102)],'import'),this['useButtonExport']=MetaUiUtil[_0xd11c8a(0x104)](this[_0xd11c8a(0x102)],_0xd11c8a(0x100)),this[_0xd11c8a(0x111)]=MetaUiUtil[_0xd11c8a(0x104)](this[_0xd11c8a(0x102)],_0xd11c8a(0xfd));}};function a0_0x35c2(){const _0x545857=['92lRmvbq','636chyDpK','useButtonAdd','getButtonContainer','11484dirEgB','button','isPage','14350cvgOFA','add','properties','1234080HHSPHt','export','useButtonImport','buttonConfig','customButtonHandler','isButtonExist','10524EhHnSK','getContextButtons','315coBfJK','getBasicButtonHandler','getCustomButtonContainerStyles','662211ORAYgu','3488400SkpNnA','gristButtonHandler','4126nBDWBb','7085bOkNLV'];a0_0x35c2=function(){return _0x545857;};return a0_0x35c2();}
1
+ const a0_0x1df804=a0_0x5d2c;function a0_0x5d2c(_0x4e9feb,_0x2b10d9){const _0xe8e2ab=a0_0xe8e2();return a0_0x5d2c=function(_0x5d2cd4,_0x351367){_0x5d2cd4=_0x5d2cd4-0x13b;let _0x4d2193=_0xe8e2ab[_0x5d2cd4];return _0x4d2193;},a0_0x5d2c(_0x4e9feb,_0x2b10d9);}(function(_0xe8c69,_0x179880){const _0x1a30af=a0_0x5d2c,_0x712d84=_0xe8c69();while(!![]){try{const _0x412642=parseInt(_0x1a30af(0x148))/0x1+parseInt(_0x1a30af(0x14a))/0x2+parseInt(_0x1a30af(0x13c))/0x3*(-parseInt(_0x1a30af(0x14d))/0x4)+parseInt(_0x1a30af(0x13d))/0x5*(parseInt(_0x1a30af(0x14b))/0x6)+parseInt(_0x1a30af(0x152))/0x7*(-parseInt(_0x1a30af(0x158))/0x8)+-parseInt(_0x1a30af(0x149))/0x9*(-parseInt(_0x1a30af(0x14f))/0xa)+parseInt(_0x1a30af(0x157))/0xb*(-parseInt(_0x1a30af(0x159))/0xc);if(_0x412642===_0x179880)break;else _0x712d84['push'](_0x712d84['shift']());}catch(_0x3cca39){_0x712d84['push'](_0x712d84['shift']());}}}(a0_0xe8e2,0xa201a));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0xe8e2(){const _0x2b8a0e=['gristButtonHandler','export','button','getButtonContainer','isButtonExist','parseBasicButtonConfigs','customButtonHandler','949476uRQyOY','7677SXErmZ','1960350Pajrbi','1842252vkFZot','getContextButtons','37460pLNMVA','add','7070JAksNN','buttonConfig','getCustomButtonContainerStyles','189sxMfHo','import','useButtonImport','getBasicButtonHandler','useButtonExport','5335fIMjtv','13944MdborM','26496xeVBqY','getCustomButtonContainerStyle','339aMaBMr','5hEWvKg','useButtonAdd','getButtonActionHandler','isPage'];a0_0xe8e2=function(){return _0x2b8a0e;};return a0_0xe8e2();}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x442dfd=>class extends MetaServiceMixin(_0x442dfd){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1df804(0x13b)](){const _0x39732a=a0_0x1df804;return MetaUiUtil[_0x39732a(0x151)]();}[a0_0x1df804(0x14c)](){const _0x28d614=a0_0x1df804;return MetaUiUtil[_0x28d614(0x14c)](this);}['getButtonContainer'](){const _0x4712b6=a0_0x1df804;return this[_0x4712b6(0x140)]?html``:MetaUiUtil[_0x4712b6(0x144)](this);}async[a0_0x1df804(0x155)](_0x22add8,_0x1dc1f8,_0x58eff7){const _0x3c6702=a0_0x1df804;return await MetaUiUtil[_0x3c6702(0x13f)](this,_0x22add8,_0x1dc1f8,_0x58eff7);}async[a0_0x1df804(0x147)](_0x28afab){const _0x3b282f=a0_0x1df804;await MetaUiUtil[_0x3b282f(0x147)](this,_0x28afab);}async[a0_0x1df804(0x141)](_0x265d93,_0xe0e55a){const _0x3b437a=a0_0x1df804;await MetaUiUtil[_0x3b437a(0x141)](this,_0x265d93,_0xe0e55a);}[a0_0x1df804(0x146)](_0x5e8b14){const _0xc88417=a0_0x1df804;this[_0xc88417(0x150)]=_0x5e8b14[_0xc88417(0x143)],this[_0xc88417(0x154)]=MetaUiUtil[_0xc88417(0x145)](this[_0xc88417(0x150)],_0xc88417(0x153)),this[_0xc88417(0x156)]=MetaUiUtil[_0xc88417(0x145)](this[_0xc88417(0x150)],_0xc88417(0x142)),this[_0xc88417(0x13e)]=MetaUiUtil[_0xc88417(0x145)](this['buttonConfig'],_0xc88417(0x14e));}};
@@ -1 +1 @@
1
- const a0_0x5d6f73=a0_0x9c72;(function(_0x4a3c7d,_0x4fde32){const _0x5a2a16=a0_0x9c72,_0x561925=_0x4a3c7d();while(!![]){try{const _0x288f31=-parseInt(_0x5a2a16(0x238))/0x1*(parseInt(_0x5a2a16(0x227))/0x2)+-parseInt(_0x5a2a16(0x22e))/0x3*(-parseInt(_0x5a2a16(0x216))/0x4)+-parseInt(_0x5a2a16(0x203))/0x5+parseInt(_0x5a2a16(0x1fb))/0x6*(-parseInt(_0x5a2a16(0x212))/0x7)+parseInt(_0x5a2a16(0x235))/0x8*(parseInt(_0x5a2a16(0x1f5))/0x9)+parseInt(_0x5a2a16(0x236))/0xa*(-parseInt(_0x5a2a16(0x202))/0xb)+parseInt(_0x5a2a16(0x23e))/0xc*(parseInt(_0x5a2a16(0x23d))/0xd);if(_0x288f31===_0x4fde32)break;else _0x561925['push'](_0x561925['shift']());}catch(_0x513d96){_0x561925['push'](_0x561925['shift']());}}}(a0_0x5655,0xd2727));import{MetaApi}from'../utils/meta-api';function a0_0x5655(){const _0x4fac73=['15FgIGhp','fetch','editable','getBasicFormHtml','__seq__','getContextObject','currentData','40184THSGBf','10xMhEuH','setAttribute','5HazUxG','isPage','cuFlag','startsWith','dirtyData','1605799dzmuBN','132SKvdCa','Escape','isEquals','parseFormConfigs','clear','__origin__','showAlertPopup','editing','grid_column','context','firstUpdated','currentTarget','click','2016rZfNHf','entries','addEventListener','__dirty__','validation','forEach','78ysJiTf','activityDataSet','patchData','isNotEmpty','save','findOne','true','9668461MruPqM','721885stAIzE','parseBasicFormConfigs','keys','field-change','target','properties','formColumnConfig','object','removeGarbageData','dataSet','isEmpty','getBasicFormStyles','formConfigSet','text.NOTHING_CHANGED','record','62559dQvkSI','removeAttribute','detail','column','57028qqruZB','formRenderConfig','isElement','focus','activity','__dirtyfields__','call','keydown','map','pageInitialized','OX-GRID-FIELD','after','stopPropagation','parent_id','getAndParseMenuMeta','parseFormConfigSet','name','221476tsYOAH','connectedCallback','before','styles','Enter','key','button'];a0_0x5655=function(){return _0x4fac73;};return a0_0x5655();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x9c72(_0x300c62,_0x138b62){const _0x5655cf=a0_0x5655();return a0_0x9c72=function(_0x9c72ce,_0x33832a){_0x9c72ce=_0x9c72ce-0x1ef;let _0x17a8d1=_0x5655cf[_0x9c72ce];return _0x17a8d1;},a0_0x9c72(_0x300c62,_0x138b62);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x9cc920=>class extends MetaButtonMixin(_0x9cc920){static get[a0_0x5d6f73(0x22a)](){const _0xfed2d1=a0_0x5d6f73;return MetaApi[_0xfed2d1(0x20e)]();}static get[a0_0x5d6f73(0x208)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x5d6f73(0x1f1)](){const _0x4511d3=a0_0x5d6f73;return MetaUiUtil[_0x4511d3(0x233)](this);}async[a0_0x5d6f73(0x228)](){const _0x2921b7=a0_0x5d6f73;await this[_0x2921b7(0x224)](),this[_0x2921b7(0x218)]&&await this[_0x2921b7(0x241)](),this[_0x2921b7(0x1fc)]&&(this[_0x2921b7(0x20c)]=this['activityDataSet']),!0x0!==this['is_activity']||this[_0x2921b7(0x223)]||(this['parent_id']=_0x2921b7(0x21a)),super['connectedCallback']&&await super['connectedCallback'](),this[_0x2921b7(0x218)]&&await this['fetch'](),this['renderRoot']['addEventListener'](_0x2921b7(0x21d),_0x5de9d0=>{const _0x22489f=_0x2921b7;switch(_0x5de9d0[_0x22489f(0x22c)]){case'Esc':case _0x22489f(0x23f):case _0x22489f(0x22b):this[_0x22489f(0x219)](),this[_0x22489f(0x1f3)]&&this[_0x22489f(0x1f3)][_0x22489f(0x213)](_0x22489f(0x1ef)),this[_0x22489f(0x1f3)]=null;}}),this['renderRoot']['addEventListener'](_0x2921b7(0x1f4),_0x2c3ff6=>{const _0x3be9f6=_0x2921b7;_0x2c3ff6[_0x3be9f6(0x222)]();let _0x3bc6b4=_0x2c3ff6[_0x3be9f6(0x207)];if(this[_0x3be9f6(0x1f3)]&&(this[_0x3be9f6(0x219)](),this['currentTarget'][_0x3be9f6(0x213)]('editing')),_0x3be9f6(0x220)!==_0x3bc6b4['tagName']||!_0x3bc6b4[_0x3be9f6(0x215)][_0x3be9f6(0x211)][_0x3be9f6(0x230)])return this[_0x3be9f6(0x219)](),void(this['currentTarget']=null);this[_0x3be9f6(0x1f3)]=_0x3bc6b4,_0x3bc6b4[_0x3be9f6(0x237)]('editing',_0x3be9f6(0x201));}),this[_0x2921b7(0x1f7)](_0x2921b7(0x206),_0x2a0bca=>{const _0x5c9063=_0x2921b7;var {after:_0x2bad74,before:_0x4d320c,column:_0x32d8b8,record:_0x59177e,row:_0x2b42ce}=_0x2a0bca[_0x5c9063(0x214)];if(ValueUtil[_0x5c9063(0x240)](_0x2bad74,_0x4d320c))return;var _0x5cc706=_0x32d8b8[_0x5c9063(0x1f9)];if(_0x5cc706&&'function'==typeof _0x5cc706&&!_0x5cc706[_0x5c9063(0x21c)](this,_0x2bad74,_0x4d320c,_0x59177e,_0x32d8b8))return;let _0x4ca2a7=_0x32d8b8[_0x5c9063(0x226)];_0x59177e[_0x4ca2a7]=_0x2bad74,_0x59177e[_0x5c9063(0x21b)]=_0x59177e['__dirtyfields__']||{},_0x59177e[_0x5c9063(0x243)]=_0x59177e[_0x5c9063(0x243)]||{},_0x59177e[_0x5c9063(0x21b)][_0x4ca2a7]={'before':_0x59177e['__origin__'][_0x4ca2a7],'after':_0x59177e[_0x4ca2a7]},ValueUtil[_0x5c9063(0x240)](_0x59177e['__dirtyfields__'][_0x4ca2a7][_0x5c9063(0x229)],_0x59177e[_0x5c9063(0x21b)][_0x4ca2a7][_0x5c9063(0x221)])&&delete _0x59177e[_0x5c9063(0x21b)][_0x4ca2a7],ValueUtil[_0x5c9063(0x1fe)](_0x59177e[_0x5c9063(0x21b)])?_0x59177e[_0x5c9063(0x1f8)]='M':_0x59177e[_0x5c9063(0x1f8)]='',this[_0x5c9063(0x211)]={..._0x59177e};});}async[a0_0x5d6f73(0x1f2)](){const _0x3398f0=a0_0x5d6f73;super['firstUpdated']&&await super[_0x3398f0(0x1f2)]();}async[a0_0x5d6f73(0x21f)](){const _0x4a8999=a0_0x5d6f73;this['isPage']&&await this[_0x4a8999(0x241)](),super[_0x4a8999(0x21f)]&&await super[_0x4a8999(0x21f)](),this[_0x4a8999(0x239)]&&await this[_0x4a8999(0x22f)]();}['render'](){const _0x3c4064=a0_0x5d6f73;return MetaApi[_0x3c4064(0x231)](this);}[a0_0x5d6f73(0x204)](_0x15d785){const _0x566387=a0_0x5d6f73;this[_0x566387(0x209)]=_0x15d785[_0x566387(0x1f0)],this[_0x566387(0x217)]=_0x15d785['form'],_0x15d785['button']=_0x15d785[_0x566387(0x22d)]['filter'](_0x3a0d4a=>_0x566387(0x1ff)==_0x3a0d4a[_0x566387(0x226)]);}async['parseFormConfigs'](){const _0x57f51e=a0_0x5d6f73;this[_0x57f51e(0x20f)]=await MetaApi[_0x57f51e(0x225)](this);}get['orgData'](){const _0x5023d3=a0_0x5d6f73;return this[_0x5023d3(0x20b)](this['record'][_0x5023d3(0x243)]);}get['dirtyData'](){const _0x1c9ce5=a0_0x5d6f73;if(ValueUtil[_0x1c9ce5(0x20d)](this[_0x1c9ce5(0x211)]['__dirtyfields__']))return{};let _0x1ec282={};return Object[_0x1c9ce5(0x1f6)](this[_0x1c9ce5(0x211)]['__dirtyfields__'])[_0x1c9ce5(0x21e)](([_0x3766a7,_0x33571e])=>{const _0x3c1f20=_0x1c9ce5;0x0==_0x3766a7[_0x3c1f20(0x23b)]('__')&&(_0x1ec282[_0x3766a7]=_0x33571e[_0x3c1f20(0x221)]);}),_0x1ec282;}get[a0_0x5d6f73(0x234)](){const _0x2ced19=a0_0x5d6f73;return this[_0x2ced19(0x20b)](this['record']);}['removeGarbageData'](_0x45151d){const _0x3b874e=a0_0x5d6f73;let _0x286748={};if(_0x45151d)return Object[_0x3b874e(0x1f6)](_0x45151d)['map'](([_0x540221,_0x10e33f])=>{const _0x393c6d=_0x3b874e;0x0==_0x540221[_0x393c6d(0x23b)]('__')&&(_0x286748[_0x540221]=_0x10e33f);}),_0x286748;}get['patchData'](){const _0x1143a5=a0_0x5d6f73;let _0x20f5ba=this[_0x1143a5(0x23c)],_0x1db9b8=this[_0x1143a5(0x211)];return ValueUtil[_0x1143a5(0x20d)](_0x20f5ba)?[]:(ValueUtil['isNotEmpty'](_0x1db9b8['id'])?(_0x20f5ba['id']=_0x1db9b8['id'],_0x20f5ba[_0x1143a5(0x23a)]='M'):_0x20f5ba[_0x1143a5(0x23a)]='+',Object[_0x1143a5(0x205)](_0x20f5ba)[_0x1143a5(0x1fa)](_0x5d0793=>{const _0x46d417=_0x1143a5;_0x46d417(0x20a)==typeof _0x20f5ba[_0x5d0793]&&(_0x20f5ba[_0x5d0793]={'id':_0x20f5ba[_0x5d0793]['id']});}),[_0x20f5ba]);}async[a0_0x5d6f73(0x22f)](){const _0x2adcf4=a0_0x5d6f73;if(ValueUtil['isEmpty'](this['parent_id']))return;let _0x1e4132=await this[_0x2adcf4(0x200)](this[_0x2adcf4(0x223)]);_0x1e4132[_0x2adcf4(0x232)]=0x1;let _0x331b24={};Object['assign'](_0x331b24,_0x1e4132),_0x1e4132[_0x2adcf4(0x243)]=_0x331b24,this[_0x2adcf4(0x211)]={..._0x1e4132};}async[a0_0x5d6f73(0x1ff)](){const _0x19f75f=a0_0x5d6f73;let _0x33eea4=this[_0x19f75f(0x1fd)];if(ValueUtil[_0x19f75f(0x20d)](_0x33eea4))return void MetaApi[_0x19f75f(0x244)]('title.info',_0x19f75f(0x210));let _0x4c446f=await this['updateMultiple'](_0x33eea4);return _0x4c446f&&await this['fetch'](),_0x4c446f;}async[a0_0x5d6f73(0x242)](){const _0x559705=a0_0x5d6f73;this['record']&&(this[_0x559705(0x211)]={});}['getData'](){const _0x405b05=a0_0x5d6f73;return this[_0x405b05(0x234)]||{};}};
1
+ const a0_0x9f34e7=a0_0x3283;(function(_0x232e05,_0x38009d){const _0x3e7118=a0_0x3283,_0x4ba016=_0x232e05();while(!![]){try{const _0x5298f5=parseInt(_0x3e7118(0x1b8))/0x1*(parseInt(_0x3e7118(0x1ed))/0x2)+-parseInt(_0x3e7118(0x1ce))/0x3+-parseInt(_0x3e7118(0x1ea))/0x4+parseInt(_0x3e7118(0x1be))/0x5+parseInt(_0x3e7118(0x1d5))/0x6+-parseInt(_0x3e7118(0x1ee))/0x7+parseInt(_0x3e7118(0x1c8))/0x8;if(_0x5298f5===_0x38009d)break;else _0x4ba016['push'](_0x4ba016['shift']());}catch(_0x40cdc5){_0x4ba016['push'](_0x4ba016['shift']());}}}(a0_0x41e0,0x9b484));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x41e0(){const _0x31d72a=['tagName','parseFormConfigs','styles','isElement','19550048sQddWP','cuFlag','addEventListener','renderRoot','is_activity','Escape','3775608KhXqON','dirtyData','click','Enter','assign','name','focus','1583820dqIuNt','key','removeGarbageData','fetch','OX-GRID-FIELD','currentTarget','__dirtyfields__','function','firstUpdated','__dirty__','after','isPage','isNotEmpty','grid_column','column','entries','connectedCallback','save','getContextObject','isEmpty','editing','3700076EaTGTN','record','object','4ogvagJ','3971905ifZory','map','formConfigSet','parent_id','context','activity','isEquals','properties','startsWith','filter','keydown','parseBasicFormConfigs','removeAttribute','showAlertPopup','parseFormConfigSet','currentData','field-change','forEach','formRenderConfig','277948pHjMjo','__origin__','call','activityDataSet','updateMultiple','pageInitialized','616920RjLkfy','before','keys','button','validation','setAttribute'];a0_0x41e0=function(){return _0x31d72a;};return a0_0x41e0();}import{ValueUtil}from'../utils/value-util';function a0_0x3283(_0x2ddb96,_0x53e106){const _0x41e0dd=a0_0x41e0();return a0_0x3283=function(_0x3283d2,_0x4eac25){_0x3283d2=_0x3283d2-0x1a9;let _0x381800=_0x41e0dd[_0x3283d2];return _0x381800;},a0_0x3283(_0x2ddb96,_0x53e106);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x584763=>class extends MetaButtonMixin(_0x584763){static get[a0_0x9f34e7(0x1c6)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x9f34e7(0x1ac)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x9f34e7(0x1a9)](){const _0x4b26e6=a0_0x9f34e7;return MetaUiUtil[_0x4b26e6(0x1e7)](this);}async[a0_0x9f34e7(0x1e5)](){const _0x517c7f=a0_0x9f34e7;await this['getAndParseMenuMeta'](),this[_0x517c7f(0x1c7)]&&await this['parseFormConfigs'](),this[_0x517c7f(0x1bb)]&&(this['dataSet']=this['activityDataSet']),!0x0!==this[_0x517c7f(0x1cc)]||this[_0x517c7f(0x1f1)]||(this[_0x517c7f(0x1f1)]=_0x517c7f(0x1aa)),super[_0x517c7f(0x1e5)]&&await super['connectedCallback'](),this['isElement']&&await this[_0x517c7f(0x1d8)](),this[_0x517c7f(0x1cb)][_0x517c7f(0x1ca)](_0x517c7f(0x1af),_0x3def15=>{const _0xc0570=_0x517c7f;switch(_0x3def15[_0xc0570(0x1d6)]){case'Esc':case _0xc0570(0x1cd):case _0xc0570(0x1d1):this[_0xc0570(0x1d4)](),this[_0xc0570(0x1da)]&&this[_0xc0570(0x1da)][_0xc0570(0x1b1)](_0xc0570(0x1e9)),this[_0xc0570(0x1da)]=null;}}),this[_0x517c7f(0x1cb)][_0x517c7f(0x1ca)](_0x517c7f(0x1d0),_0x455fe0=>{const _0x34c01c=_0x517c7f;_0x455fe0['stopPropagation']();let _0x47da9f=_0x455fe0['target'];if(this[_0x34c01c(0x1da)]&&(this[_0x34c01c(0x1d4)](),this[_0x34c01c(0x1da)][_0x34c01c(0x1b1)](_0x34c01c(0x1e9))),_0x34c01c(0x1d9)!==_0x47da9f[_0x34c01c(0x1c4)]||!_0x47da9f[_0x34c01c(0x1e3)][_0x34c01c(0x1eb)]['editable'])return this[_0x34c01c(0x1d4)](),void(this[_0x34c01c(0x1da)]=null);this[_0x34c01c(0x1da)]=_0x47da9f,_0x47da9f[_0x34c01c(0x1c3)](_0x34c01c(0x1e9),'true');}),this[_0x517c7f(0x1ca)](_0x517c7f(0x1b5),_0x425bbc=>{const _0x50a13b=_0x517c7f;var {after:_0x4ce7a5,before:_0xe10a1,column:_0x5f143f,record:_0x20c7b8,row:_0x914a58}=_0x425bbc['detail'];if(ValueUtil['isEquals'](_0x4ce7a5,_0xe10a1))return;var _0x2adda3=_0x5f143f[_0x50a13b(0x1c2)];if(_0x2adda3&&_0x50a13b(0x1dc)==typeof _0x2adda3&&!_0x2adda3[_0x50a13b(0x1ba)](this,_0x4ce7a5,_0xe10a1,_0x20c7b8,_0x5f143f))return;let _0x3b9cdb=_0x5f143f[_0x50a13b(0x1d3)];_0x20c7b8[_0x3b9cdb]=_0x4ce7a5,_0x20c7b8['__dirtyfields__']=_0x20c7b8['__dirtyfields__']||{},_0x20c7b8[_0x50a13b(0x1b9)]=_0x20c7b8[_0x50a13b(0x1b9)]||{},_0x20c7b8[_0x50a13b(0x1db)][_0x3b9cdb]={'before':_0x20c7b8[_0x50a13b(0x1b9)][_0x3b9cdb],'after':_0x20c7b8[_0x3b9cdb]},ValueUtil[_0x50a13b(0x1ab)](_0x20c7b8[_0x50a13b(0x1db)][_0x3b9cdb][_0x50a13b(0x1bf)],_0x20c7b8[_0x50a13b(0x1db)][_0x3b9cdb]['after'])&&delete _0x20c7b8['__dirtyfields__'][_0x3b9cdb],ValueUtil[_0x50a13b(0x1e1)](_0x20c7b8[_0x50a13b(0x1db)])?_0x20c7b8[_0x50a13b(0x1de)]='M':_0x20c7b8[_0x50a13b(0x1de)]='',this[_0x50a13b(0x1eb)]={..._0x20c7b8};});}async[a0_0x9f34e7(0x1dd)](){const _0x3dd5d6=a0_0x9f34e7;super[_0x3dd5d6(0x1dd)]&&await super[_0x3dd5d6(0x1dd)]();}async['pageInitialized'](){const _0x2d77c8=a0_0x9f34e7;this[_0x2d77c8(0x1e0)]&&await this[_0x2d77c8(0x1c5)](),super[_0x2d77c8(0x1bd)]&&await super[_0x2d77c8(0x1bd)](),this['isPage']&&await this['fetch']();}['render'](){return MetaApi['getBasicFormHtml'](this);}[a0_0x9f34e7(0x1b0)](_0x56613a){const _0x4f9b8b=a0_0x9f34e7;this['formColumnConfig']=_0x56613a[_0x4f9b8b(0x1e2)],this[_0x4f9b8b(0x1b7)]=_0x56613a['form'],_0x56613a[_0x4f9b8b(0x1c1)]=_0x56613a['button'][_0x4f9b8b(0x1ae)](_0x25b92a=>'save'==_0x25b92a['name']);}async['parseFormConfigs'](){const _0x30c46f=a0_0x9f34e7;this[_0x30c46f(0x1f0)]=await MetaApi[_0x30c46f(0x1b3)](this);}get['orgData'](){const _0x368e77=a0_0x9f34e7;return this[_0x368e77(0x1d7)](this[_0x368e77(0x1eb)][_0x368e77(0x1b9)]);}get[a0_0x9f34e7(0x1cf)](){const _0x1c6274=a0_0x9f34e7;if(ValueUtil[_0x1c6274(0x1e8)](this['record'][_0x1c6274(0x1db)]))return{};let _0xc01ec0={};return Object[_0x1c6274(0x1e4)](this[_0x1c6274(0x1eb)][_0x1c6274(0x1db)])[_0x1c6274(0x1ef)](([_0x3a05ae,_0x5d2c7e])=>{const _0x147cd1=_0x1c6274;0x0==_0x3a05ae[_0x147cd1(0x1ad)]('__')&&(_0xc01ec0[_0x3a05ae]=_0x5d2c7e[_0x147cd1(0x1df)]);}),_0xc01ec0;}get[a0_0x9f34e7(0x1b4)](){const _0x45e433=a0_0x9f34e7;return this[_0x45e433(0x1d7)](this[_0x45e433(0x1eb)]);}['removeGarbageData'](_0x591ca3){const _0x55039d=a0_0x9f34e7;let _0x1ccfa3={};if(_0x591ca3)return Object[_0x55039d(0x1e4)](_0x591ca3)[_0x55039d(0x1ef)](([_0x287885,_0x240ca0])=>{0x0==_0x287885['startsWith']('__')&&(_0x1ccfa3[_0x287885]=_0x240ca0);}),_0x1ccfa3;}get['patchData'](){const _0x5a2694=a0_0x9f34e7;let _0x1cb719=this[_0x5a2694(0x1cf)],_0x279f4d=this[_0x5a2694(0x1eb)];return ValueUtil[_0x5a2694(0x1e8)](_0x1cb719)?[]:(ValueUtil[_0x5a2694(0x1e1)](_0x279f4d['id'])?(_0x1cb719['id']=_0x279f4d['id'],_0x1cb719['cuFlag']='M'):_0x1cb719[_0x5a2694(0x1c9)]='+',Object[_0x5a2694(0x1c0)](_0x1cb719)[_0x5a2694(0x1b6)](_0x26e34b=>{const _0x5f5a57=_0x5a2694;_0x5f5a57(0x1ec)==typeof _0x1cb719[_0x26e34b]&&(_0x1cb719[_0x26e34b]={'id':_0x1cb719[_0x26e34b]['id']});}),[_0x1cb719]);}async['fetch'](){const _0x404006=a0_0x9f34e7;if(ValueUtil[_0x404006(0x1e8)](this['parent_id']))return;let _0x3c01ec=await this['findOne'](this[_0x404006(0x1f1)]);_0x3c01ec['__seq__']=0x1;let _0x1924f8={};Object[_0x404006(0x1d2)](_0x1924f8,_0x3c01ec),_0x3c01ec[_0x404006(0x1b9)]=_0x1924f8,this[_0x404006(0x1eb)]={..._0x3c01ec};}async[a0_0x9f34e7(0x1e6)](){const _0x3f97b7=a0_0x9f34e7;let _0x3b552b=this['patchData'];if(ValueUtil[_0x3f97b7(0x1e8)](_0x3b552b))return void MetaApi[_0x3f97b7(0x1b2)]('title.info','text.NOTHING_CHANGED');let _0x1b6213=await this[_0x3f97b7(0x1bc)](_0x3b552b);return _0x1b6213&&await this[_0x3f97b7(0x1d8)](),_0x1b6213;}async['clear'](){const _0x24cb33=a0_0x9f34e7;this[_0x24cb33(0x1eb)]&&(this[_0x24cb33(0x1eb)]={});}['getData'](){const _0xc1136e=a0_0x9f34e7;return this[_0xc1136e(0x1b4)]||{};}};