@things-factory/meta-ui 6.0.151 → 6.0.153

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 (83) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +6 -6
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  13. package/client/mixin/meta-button-mixin.js +1 -1
  14. package/client/mixin/meta-form-mixin.js +1 -1
  15. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  16. package/client/mixin/meta-main-tab-mixin.js +1 -1
  17. package/client/mixin/meta-master-detail-mixin.js +1 -1
  18. package/client/mixin/meta-service-mixin.js +1 -1
  19. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  20. package/client/mixin/meta-tab-mixin.js +1 -1
  21. package/client/pages/activity/meta-activity-list-page.js +6 -6
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +29 -29
  26. package/client/pages/entity/main-menu-selector.js +8 -8
  27. package/client/pages/history/history-copy-list-popup.js +5 -5
  28. package/client/pages/history/history-json-list-popup.js +5 -5
  29. package/client/pages/loading-page.js +5 -5
  30. package/client/pages/menu/dynamic-menu-template.js +7 -7
  31. package/client/pages/menu/dynamic-menu.js +15 -15
  32. package/client/pages/meta-form-element.js +1 -1
  33. package/client/pages/meta-grist-element.js +1 -1
  34. package/client/pages/meta-grist-page.js +1 -1
  35. package/client/pages/meta-grist-tab-element.js +1 -1
  36. package/client/pages/meta-grist-tab-page.js +1 -1
  37. package/client/pages/meta-main-tab-element.js +1 -1
  38. package/client/pages/meta-main-tab-page.js +1 -1
  39. package/client/pages/meta-master-detail-element.js +1 -1
  40. package/client/pages/meta-master-detail-page.js +1 -1
  41. package/client/pages/meta-tab-detail-element.js +1 -1
  42. package/client/pages/meta-tab-detail-page.js +1 -1
  43. package/client/pages/meta-tab-element.js +1 -1
  44. package/client/pages/personalize/personal-column-selector.js +11 -11
  45. package/client/pages/terms/config-terminology.js +5 -5
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +103 -103
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +12 -12
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +2 -2
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize.js +1 -1
  71. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  72. package/server/service/meta-activity/meta-activity-query.js +1 -1
  73. package/server/service/meta-activity/meta-activity-type.js +1 -1
  74. package/server/service/meta-secret/meta-resolver.js +1 -1
  75. package/server/service/set-translations/set-translation-resolver.js +1 -1
  76. package/server/service/work-code/work-code-mutation.js +1 -1
  77. package/server/service/work-code/work-code-query.js +1 -1
  78. package/server/service/work-code/work-code-type.js +1 -1
  79. package/server/service/work-code/work-code.js +1 -1
  80. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0x12dda5=a0_0xa272;(function(_0x3ee22e,_0xea0c3b){const _0x5cbac9=a0_0xa272,_0x31a1f8=_0x3ee22e();while(!![]){try{const _0x5de137=parseInt(_0x5cbac9(0xb2))/0x1+-parseInt(_0x5cbac9(0xa2))/0x2*(-parseInt(_0x5cbac9(0xb1))/0x3)+-parseInt(_0x5cbac9(0xaa))/0x4+parseInt(_0x5cbac9(0xb9))/0x5+-parseInt(_0x5cbac9(0xb4))/0x6+-parseInt(_0x5cbac9(0xb6))/0x7*(-parseInt(_0x5cbac9(0xae))/0x8)+-parseInt(_0x5cbac9(0xb8))/0x9*(parseInt(_0x5cbac9(0xa1))/0xa);if(_0x5de137===_0xea0c3b)break;else _0x31a1f8['push'](_0x31a1f8['shift']());}catch(_0x5d2132){_0x31a1f8['push'](_0x31a1f8['shift']());}}}(a0_0x1f29,0x71407));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x378b3e from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';function a0_0x1f29(){const _0x238844=['12CpdkTs','data','appName','HEADERBAR','dynamic-menu','value','portrait','hamburger','398352hpSNme','items','meta[name=\x22application-name\x22]','lite-menu-part','96272SJlMEr','UPDATE_META_UI','landscape','436938munyZz','302820tkBCUx','liteMenus','5354814nBBIYE','dynamic-menu-part','301VZwuYA','filter','270yqksVO','2010640QtXcEh','FRONT_END','UPDATE_META_MENU_TEMPLATE','213450vKgRUm'];a0_0x1f29=function(){return _0x238844;};return a0_0x1f29();}export const UPDATE_META_UI=a0_0x12dda5(0xaf);export const UPDATE_META_MENU_TEMPLATE=a0_0x12dda5(0xa0);function a0_0xa272(_0x532ff7,_0x227651){const _0x1f29c7=a0_0x1f29();return a0_0xa272=function(_0xa272d,_0x473f9f){_0xa272d=_0xa272d-0xa0;let _0x450199=_0x1f29c7[_0xa272d];return _0x450199;},a0_0xa272(_0x532ff7,_0x227651);}var HAMBURGER;export async function setupMenuPart(_0x327227){const _0x18898d=a0_0x12dda5;var {hovering:_0x3bb806=!!isMobileDevice(),slotTemplate:_0x26344e,portraitSlotTemplate:_0x3a4ad7,landscapeSlotTemplate:_0x8c74fa,position:_0x5e384f=VIEWPART_POSITION['NAVBAR']}=_0x327227||{};const {hovering:_0x49cfea}=(await clientSettingStore['get'](_0x18898d(0xa6)))?.[_0x18898d(0xa7)]||{};void 0x0!==_0x49cfea&&(_0x3bb806=_0x49cfea);const _0x1fd794=_0x5e384f==VIEWPART_POSITION[_0x18898d(0xa5)]?_0x18898d(0xb0):_0x18898d(0xa8),_0xb6ae10=(_0x18898d(0xb0)==_0x1fd794?_0x8c74fa:_0x3a4ad7)||_0x26344e||html``;appendViewpart({'name':_0x18898d(0xad),'viewpart':{'show':!_0x3bb806,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x3bb806,'template':html`<dynamic-menu-part .orientation=${_0x1fd794}>${_0xb6ae10}</dynamic-menu-part>`},'position':_0x5e384f}),_0x3bb806&&_0x18898d(0xa8)==_0x1fd794?HAMBURGER||(HAMBURGER={'name':_0x18898d(0xa9),'template':html`
2
- <mwc-icon @click=${_0x4b8cc5=>toggleOverlay(_0x18898d(0xb5),{'backdrop':!0x0})}
1
+ const a0_0x4bf869=a0_0x3cf4;(function(_0x933b85,_0x2e7327){const _0x47668a=a0_0x3cf4,_0xc1c3e=_0x933b85();while(!![]){try{const _0x4d9326=-parseInt(_0x47668a(0xfc))/0x1+parseInt(_0x47668a(0x103))/0x2+parseInt(_0x47668a(0xfd))/0x3*(parseInt(_0x47668a(0xf1))/0x4)+-parseInt(_0x47668a(0x104))/0x5+-parseInt(_0x47668a(0xf3))/0x6+parseInt(_0x47668a(0xf4))/0x7+parseInt(_0x47668a(0xfb))/0x8;if(_0x4d9326===_0x2e7327)break;else _0xc1c3e['push'](_0xc1c3e['shift']());}catch(_0x1c6d8f){_0xc1c3e['push'](_0xc1c3e['shift']());}}}(a0_0x22fd,0x2afca));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x545ad2 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0x22fd(){const _0x53fd1c=['HEADERBAR','1300FtFMHk','active','1978926tuukYF','1782445OpfLfS','query','hamburger','dispatch','NAVBAR','lite-menu-part','FRONT_END','4563312lWqjQm','217578qVKRBo','147ostjgi','items','meta[name=\x22application-name\x22]','querySelector','appName','rank','392590VknRyg','1568980jUMlHY','portrait','get','UPDATE_META_UI','content','liteMenus','dynamic-menu-part','UPDATE_META_MENU_TEMPLATE','landscape','filter'];a0_0x22fd=function(){return _0x53fd1c;};return a0_0x22fd();}function a0_0x3cf4(_0x51d857,_0x134183){const _0x22fd62=a0_0x22fd();return a0_0x3cf4=function(_0x3cf4ca,_0x18dd5e){_0x3cf4ca=_0x3cf4ca-0xe7;let _0x3c3e5d=_0x22fd62[_0x3cf4ca];return _0x3c3e5d;},a0_0x3cf4(_0x51d857,_0x134183);}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_0x4bf869(0xe9);export const UPDATE_META_MENU_TEMPLATE=a0_0x4bf869(0xed);var HAMBURGER;export async function setupMenuPart(_0x2b25bd){const _0x359f25=a0_0x4bf869;var {hovering:_0x3d2feb=!!isMobileDevice(),slotTemplate:_0xa23fe2,portraitSlotTemplate:_0x3de47a,landscapeSlotTemplate:_0x451e34,position:_0x252b6a=VIEWPART_POSITION[_0x359f25(0xf8)]}=_0x2b25bd||{};const {hovering:_0x5df52e}=(await clientSettingStore[_0x359f25(0xe8)]('dynamic-menu'))?.['value']||{};void 0x0!==_0x5df52e&&(_0x3d2feb=_0x5df52e);const _0xbb694e=_0x252b6a==VIEWPART_POSITION[_0x359f25(0xf0)]?_0x359f25(0xee):_0x359f25(0xe7),_0x4e14e8=(_0x359f25(0xee)==_0xbb694e?_0x451e34:_0x3de47a)||_0xa23fe2||html``;appendViewpart({'name':_0x359f25(0xf9),'viewpart':{'show':!_0x3d2feb,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x3d2feb,'template':html`<dynamic-menu-part .orientation=${_0xbb694e}>${_0x4e14e8}</dynamic-menu-part>`},'position':_0x252b6a}),_0x3d2feb&&'portrait'==_0xbb694e?HAMBURGER||(HAMBURGER={'name':_0x359f25(0xf6),'template':html`
2
+ <mwc-icon @click=${_0x16b5bf=>toggleOverlay(_0x359f25(0xec),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x18898d(0xba)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x41b40c){const _0x2e6bb9=a0_0x12dda5;var _0x2f7d71=document['querySelector'](_0x2e6bb9(0xac))?.['content'],_0x1f885a=(await client['query']({'query':a0_0x378b3e`
4
+ `,'position':TOOL_POSITION[_0x359f25(0xfa)]},store[_0x359f25(0xf7)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x359f25(0xf7)]({'type':REMOVE_APP_TOOL,'name':_0x359f25(0xf6)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x3ef1ae){const _0x583884=a0_0x4bf869;var _0x3d28f1=document[_0x583884(0x100)](_0x583884(0xff))?.[_0x583884(0xea)],_0x48b0e0=(await client[_0x583884(0xf5)]({'query':a0_0x545ad2`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x12dda5=a0_0xa272;(function(_0x3ee22e,_0xea0c3b){const _0x5cbac9=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':'active','operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x2f7d71]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x2e6bb9(0xa3)][_0x2e6bb9(0xb3)][_0x2e6bb9(0xab)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1f885a[_0x2e6bb9(0xb7)](_0x36d2e7=>!_0x36d2e7[_0x2e6bb9(0xa4)]||_0x36d2e7[_0x2e6bb9(0xa4)]===_0x2f7d71),'template':_0x41b40c});}
23
+ `,'variables':{'filters':[{'name':_0x583884(0xf2),'operator':'eq','value':!0x0},{'name':_0x583884(0x101),'operator':'in','value':['',_0x3d28f1]}],'sortings':[{'name':_0x583884(0x102),'desc':!0x1}]}}))['data'][_0x583884(0xeb)][_0x583884(0xfe)];store[_0x583884(0xf7)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x48b0e0[_0x583884(0xef)](_0x212894=>!_0x212894['appName']||_0x212894[_0x583884(0x101)]===_0x3d28f1),'template':_0x3ef1ae});}
@@ -1,16 +1,16 @@
1
- (function(_0x5d12ce,_0x127e14){const _0x9044b=a0_0x2a0d,_0x4ad20d=_0x5d12ce();while(!![]){try{const _0x5471f8=parseInt(_0x9044b(0x10b))/0x1*(parseInt(_0x9044b(0x104))/0x2)+parseInt(_0x9044b(0x10c))/0x3*(-parseInt(_0x9044b(0x106))/0x4)+-parseInt(_0x9044b(0x10a))/0x5+parseInt(_0x9044b(0x114))/0x6+-parseInt(_0x9044b(0x116))/0x7+-parseInt(_0x9044b(0x108))/0x8*(parseInt(_0x9044b(0x10f))/0x9)+parseInt(_0x9044b(0x10e))/0xa*(parseInt(_0x9044b(0xff))/0xb);if(_0x5471f8===_0x127e14)break;else _0x4ad20d['push'](_0x4ad20d['shift']());}catch(_0x585196){_0x4ad20d['push'](_0x4ad20d['shift']());}}}(a0_0x23e9,0x246f7));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x2a0d(_0x5625a8,_0x407d58){const _0x23e939=a0_0x23e9();return a0_0x2a0d=function(_0x2a0d2f,_0xe1a103){_0x2a0d2f=_0x2a0d2f-0xfc;let _0x3d6ea8=_0x23e939[_0x2a0d2f];return _0x3d6ea8;},a0_0x2a0d(_0x5625a8,_0x407d58);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3035b2,_0x5ea03d,_0xe5a4c9){const _0x356598=a0_0x2a0d;var _0x15bf40=html`
1
+ (function(_0x55b9ae,_0x294fb8){const _0x1dfc6b=a0_0x2de4,_0x4a8c24=_0x55b9ae();while(!![]){try{const _0x3178b3=-parseInt(_0x1dfc6b(0x208))/0x1+-parseInt(_0x1dfc6b(0x1f2))/0x2+-parseInt(_0x1dfc6b(0x1ed))/0x3+-parseInt(_0x1dfc6b(0x1ec))/0x4*(parseInt(_0x1dfc6b(0x1ef))/0x5)+-parseInt(_0x1dfc6b(0x1f0))/0x6+-parseInt(_0x1dfc6b(0x1f4))/0x7+-parseInt(_0x1dfc6b(0x207))/0x8*(-parseInt(_0x1dfc6b(0x1fa))/0x9);if(_0x3178b3===_0x294fb8)break;else _0x4a8c24['push'](_0x4a8c24['shift']());}catch(_0x55d81e){_0x4a8c24['push'](_0x4a8c24['shift']());}}}(a0_0x520f,0xe15ea));import'../selector/meta-object-selector-popup';function a0_0x2de4(_0x5ea0e0,_0x4a0d81){const _0x520f4d=a0_0x520f();return a0_0x2de4=function(_0x2de404,_0x3c4ce5){_0x2de404=_0x2de404-0x1eb;let _0x15edc2=_0x520f4d[_0x2de404];return _0x15edc2;},a0_0x2de4(_0x5ea0e0,_0x4a0d81);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3f263c,_0x26ab14,_0x311ade){const _0x4e351b=a0_0x2de4;var _0x12211d=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x5ea03d}
4
- .options=${_0x3035b2['options']}
5
- .confirmCallback=${_0xe5a4c9}
3
+ .value=${_0x26ab14}
4
+ .options=${_0x3f263c['options']}
5
+ .confirmCallback=${_0x311ade}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x15bf40,{'backdrop':!0x0,'size':_0x356598(0x11a),'title':_0x3035b2[_0x356598(0xfc)][_0x356598(0x110)]?TermsUtil[_0x356598(0x11c)](_0x3035b2['options'][_0x356598(0x110)]):TermsUtil['tTitle'](_0x356598(0x11b))});}function a0_0x23e9(){const _0x3788a0=['2708838unWcZa','change','ox-grid-header','display','form\x20[name=\x22','28MHJSDP','tagName','270804AgklFW','length','32Akbmll','toLowerCase','236400TpeySx','12574KfBkqA','9zNzJmk','target','10bIvxXa','96777bqriEE','selectorName','dispField','codeField','renderRoot','521154nJZsIH','dispatchEvent','465633QZIMxN','value','querySelector','stopPropagation','large','select_item','tMenu','codes','options','name','filter'];a0_0x23e9=function(){return _0x3788a0;};return a0_0x23e9();}export const FilterFormMetaCodeSelect=(_0x2e8bf7,_0xdc304a,_0x5ed541)=>{const _0x469105=a0_0x2a0d,_0x31e896=_0x2e8bf7[_0x469105(0xfc)],_0x1fc03f=_0x31e896[_0x469105(0x11d)]&&_0x31e896[_0x469105(0x11d)][_0x469105(0x107)]>0x0?_0x31e896[_0x469105(0x11d)]:void 0x0,{operator:_0x36ab5f='eq'}=_0x2e8bf7;let _0x3c91a6=_0xdc304a||'',_0x3cae0d=_0xdc304a||'';if(_0x31e896[_0x469105(0x111)]&&_0xdc304a&&_0x1fc03f){let _0x3e947c=_0x1fc03f[_0x469105(0xfe)](_0x4645ea=>_0x4645ea[_0x469105(0x117)]==_0xdc304a);_0x3e947c&&_0x3e947c[_0x469105(0x107)]>0x0&&(_0x3cae0d=_0x3e947c[0x0][_0x469105(0x102)]);}return'eq'===_0x36ab5f?html`
8
- <input name='${_0x2e8bf7[_0x469105(0xfd)]}' .value=${_0x3c91a6} type="text" hidden></input>
7
+ `;openPopup(_0x12211d,{'backdrop':!0x0,'size':'large','title':_0x3f263c[_0x4e351b(0x206)][_0x4e351b(0x202)]?TermsUtil[_0x4e351b(0x1f3)](_0x3f263c[_0x4e351b(0x206)][_0x4e351b(0x202)]):TermsUtil[_0x4e351b(0x1fc)](_0x4e351b(0x209))});}export const FilterFormMetaCodeSelect=(_0x4db938,_0x267b96,_0x41f0dd)=>{const _0x5303ae=a0_0x2de4,_0x5f247e=_0x4db938[_0x5303ae(0x206)],_0x5ec775=_0x5f247e[_0x5303ae(0x1f5)]&&_0x5f247e[_0x5303ae(0x1f5)][_0x5303ae(0x201)]>0x0?_0x5f247e[_0x5303ae(0x1f5)]:void 0x0,{operator:_0x3f5a20='eq'}=_0x4db938;let _0x5cb729=_0x267b96||'',_0xccec51=_0x267b96||'';if(_0x5f247e[_0x5303ae(0x1fb)]&&_0x267b96&&_0x5ec775){let _0xf6ed60=_0x5ec775[_0x5303ae(0x1ee)](_0x4271fd=>_0x4271fd[_0x5303ae(0x1f8)]==_0x267b96);_0xf6ed60&&_0xf6ed60['length']>0x0&&(_0xccec51=_0xf6ed60[0x0][_0x5303ae(0x1f1)]);}return'eq'===_0x3f5a20?html`
8
+ <input name='${_0x4db938[_0x5303ae(0x200)]}' .value=${_0x5cb729} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x2e8bf7[_0x469105(0xfd)]}_disp'
13
- .value=${_0x3cae0d}
14
- @click=${_0x2c827c=>{const _0x37cbdb=_0x469105;_0x2c827c[_0x37cbdb(0x119)]();const _0x17538e=_0x2c827c[_0x37cbdb(0x10d)];openMetaCodeSelector(_0x2e8bf7,_0xdc304a,_0x4f077c=>{const _0x223ffe=_0x37cbdb;let _0x22e23f=_0x4f077c?_0x4f077c[_0x31e896[_0x223ffe(0x112)]]:'',_0x15e738=_0x22e23f;_0x4f077c&&_0x31e896['dispField']&&(_0x15e738=_0x4f077c[_0x31e896[_0x223ffe(0x111)]]),_0x17538e[_0x223ffe(0x117)]=_0x15e738,(_0x223ffe(0x101)==_0x5ed541[_0x223ffe(0x105)][_0x223ffe(0x109)]()?_0x5ed541[_0x223ffe(0x113)][_0x223ffe(0x118)]('[name=\x22'+_0x2e8bf7['name']+'\x22]'):_0x5ed541[_0x223ffe(0x113)][_0x223ffe(0x118)](_0x223ffe(0x103)+_0x2e8bf7['name']+'\x22]'))[_0x223ffe(0x117)]=_0x22e23f,_0x17538e[_0x223ffe(0x115)](new Event(_0x223ffe(0x100),{'bubbles':!0x0})),_0x17538e[_0x223ffe(0x115)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2e8bf7[_0x223ffe(0xfd)],'operator':_0x36ab5f,'value':_0x22e23f}}));});}}
12
+ name='${_0x4db938[_0x5303ae(0x200)]}_disp'
13
+ .value=${_0xccec51}
14
+ @click=${_0xe0fed9=>{const _0x1e3c08=_0x5303ae;_0xe0fed9['stopPropagation']();const _0x51a67a=_0xe0fed9[_0x1e3c08(0x1f9)];openMetaCodeSelector(_0x4db938,_0x267b96,_0x2928e4=>{const _0x17df43=_0x1e3c08;let _0x3ba3c0=_0x2928e4?_0x2928e4[_0x5f247e['codeField']]:'',_0x5046ff=_0x3ba3c0;_0x2928e4&&_0x5f247e[_0x17df43(0x1fb)]&&(_0x5046ff=_0x2928e4[_0x5f247e[_0x17df43(0x1fb)]]),_0x51a67a[_0x17df43(0x1f8)]=_0x5046ff,(_0x17df43(0x1fe)==_0x41f0dd['tagName'][_0x17df43(0x204)]()?_0x41f0dd[_0x17df43(0x1ff)][_0x17df43(0x205)](_0x17df43(0x1f7)+_0x4db938[_0x17df43(0x200)]+'\x22]'):_0x41f0dd[_0x17df43(0x1ff)][_0x17df43(0x205)](_0x17df43(0x1eb)+_0x4db938[_0x17df43(0x200)]+'\x22]'))[_0x17df43(0x1f8)]=_0x3ba3c0,_0x51a67a[_0x17df43(0x1f6)](new Event(_0x17df43(0x1fd),{'bubbles':!0x0})),_0x51a67a[_0x17df43(0x1f6)](new CustomEvent(_0x17df43(0x203),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4db938['name'],'operator':_0x3f5a20,'value':_0x3ba3c0}}));});}}
15
15
  />
16
- `:html``;};
16
+ `:html``;};function a0_0x520f(){const _0x40128e=['filter-change','toLowerCase','querySelector','options','8PzOqzu','633314GrSMRr','select_item','form\x20[name=\x22','131084CXQtmg','398172bHVwUE','filter','235ytEuPt','5667072ZmMBTz','display','672026tpMoGS','tMenu','11863383ZbFMMe','codes','dispatchEvent','[name=\x22','value','target','55842147gPrxjj','dispField','tTitle','change','ox-grid-header','renderRoot','name','length','selectorName'];a0_0x520f=function(){return _0x40128e;};return a0_0x520f();}
@@ -1,16 +1,16 @@
1
- (function(_0xc13577,_0x48595f){const _0x252017=a0_0x1a92,_0x59f8b4=_0xc13577();while(!![]){try{const _0x1b3a97=-parseInt(_0x252017(0x119))/0x1+parseInt(_0x252017(0x115))/0x2*(-parseInt(_0x252017(0x111))/0x3)+parseInt(_0x252017(0x11c))/0x4*(-parseInt(_0x252017(0x112))/0x5)+parseInt(_0x252017(0x125))/0x6*(parseInt(_0x252017(0x117))/0x7)+-parseInt(_0x252017(0x123))/0x8+-parseInt(_0x252017(0x10d))/0x9+parseInt(_0x252017(0x121))/0xa*(parseInt(_0x252017(0x11f))/0xb);if(_0x1b3a97===_0x48595f)break;else _0x59f8b4['push'](_0x59f8b4['shift']());}catch(_0x3eeb6b){_0x59f8b4['push'](_0x59f8b4['shift']());}}}(a0_0x3c88,0x50753));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x1a92(_0x2ebafc,_0x170c6f){const _0x3c8870=a0_0x3c88();return a0_0x1a92=function(_0x1a927c,_0x4df71d){_0x1a927c=_0x1a927c-0x10c;let _0x353d08=_0x3c8870[_0x1a927c];return _0x353d08;},a0_0x1a92(_0x2ebafc,_0x170c6f);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x303136,_0x2f65d1,_0x36eb3b){const _0x1e17cc=a0_0x1a92;var _0x537973=html`
1
+ (function(_0x53be81,_0x1ddc5a){const _0x5950bf=a0_0x57c2,_0x4245f2=_0x53be81();while(!![]){try{const _0x1a4a47=parseInt(_0x5950bf(0x1e9))/0x1+-parseInt(_0x5950bf(0x1ea))/0x2*(parseInt(_0x5950bf(0x1e3))/0x3)+-parseInt(_0x5950bf(0x1f4))/0x4*(-parseInt(_0x5950bf(0x1e2))/0x5)+-parseInt(_0x5950bf(0x1eb))/0x6*(-parseInt(_0x5950bf(0x1e6))/0x7)+-parseInt(_0x5950bf(0x1f7))/0x8+parseInt(_0x5950bf(0x1ed))/0x9*(parseInt(_0x5950bf(0x1fa))/0xa)+parseInt(_0x5950bf(0x1f6))/0xb*(-parseInt(_0x5950bf(0x1e0))/0xc);if(_0x1a4a47===_0x1ddc5a)break;else _0x4245f2['push'](_0x4245f2['shift']());}catch(_0x30a0d1){_0x4245f2['push'](_0x4245f2['shift']());}}}(a0_0xfc18,0x92224));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0xfc18(){const _0x171ff4=['selectorName','value','dispatchEvent','options','[name=\x22','form\x20[name=\x22','833348TiIoco','toLowerCase','374Ejvwjw','4933088AmkPIG','change','filter-change','11060eCmyMs','select_item','nameField','ox-grid-header','tagName','372588eCPxrq','name','15vuCQsl','1132491EjfMQI','renderRoot','tMenu','270207wlGCvq','target','querySelector','504019IFkMXR','2lzfSuS','78DvuHNw','tTitle','8280LtpDAq'];a0_0xfc18=function(){return _0x171ff4;};return a0_0xfc18();}function a0_0x57c2(_0x22dba2,_0x30e7b7){const _0xfc18a8=a0_0xfc18();return a0_0x57c2=function(_0x57c227,_0x2298cf){_0x57c227=_0x57c227-0x1dd;let _0x4beb13=_0xfc18a8[_0x57c227];return _0x4beb13;},a0_0x57c2(_0x22dba2,_0x30e7b7);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x2c254b,_0x14a355,_0x1f8c74){const _0x1c7240=a0_0x57c2;var _0x1d2379=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x2f65d1}
4
- .options=${_0x303136[_0x1e17cc(0x110)]}
5
- .confirmCallback=${_0x36eb3b}
3
+ .value=${_0x14a355}
4
+ .options=${_0x2c254b[_0x1c7240(0x1f1)]}
5
+ .confirmCallback=${_0x1f8c74}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x537973,{'backdrop':!0x0,'size':_0x1e17cc(0x11b),'title':_0x303136[_0x1e17cc(0x110)][_0x1e17cc(0x10f)]?TermsUtil[_0x1e17cc(0x11e)](_0x303136[_0x1e17cc(0x110)][_0x1e17cc(0x10f)]):TermsUtil[_0x1e17cc(0x116)](_0x1e17cc(0x120))});}function a0_0x3c88(){const _0x41ea75=['2620424dWvWHC','renderRoot','792954TjmchD','toLowerCase','5552811qQWtTP','name','selectorName','options','15SPoXLs','1145XfEylP','querySelector','nameField','86414ODOFUz','tTitle','7kFnnrs','value','256614vOoFqj','dispatchEvent','large','2792fuXuPP','stopPropagation','tMenu','11xnbnRP','select_item','17744190JTwepv','[name=\x22'];a0_0x3c88=function(){return _0x41ea75;};return a0_0x3c88();}export const FilterFormMetaObjectSelect=(_0x14b956,_0x4c7f62,_0x585006)=>{const _0x1a1220=a0_0x1a92,_0x55c84f=_0x14b956[_0x1a1220(0x110)],{operator:_0x6bfa13='eq'}=_0x14b956;let _0x1b2638=_0x4c7f62?_0x4c7f62['id']:'',_0x125900=_0x4c7f62?_0x4c7f62[_0x55c84f[_0x1a1220(0x114)]]:'';return'eq'===_0x6bfa13?html`
8
- <input name='${_0x14b956[_0x1a1220(0x10e)]}' .value=${_0x1b2638} type="text" hidden></input>
7
+ `;openPopup(_0x1d2379,{'backdrop':!0x0,'size':'large','title':_0x2c254b[_0x1c7240(0x1f1)]['selectorName']?TermsUtil[_0x1c7240(0x1e5)](_0x2c254b['options'][_0x1c7240(0x1ee)]):TermsUtil[_0x1c7240(0x1ec)](_0x1c7240(0x1fb))});}export const FilterFormMetaObjectSelect=(_0x2f44cd,_0x2143ca,_0x4c2002)=>{const _0x41f9f6=a0_0x57c2,_0x5e70d3=_0x2f44cd[_0x41f9f6(0x1f1)],{operator:_0x440a6d='eq'}=_0x2f44cd;let _0x55f95b=_0x2143ca?_0x2143ca['id']:'',_0x43947c=_0x2143ca?_0x2143ca[_0x5e70d3['nameField']]:'';return'eq'===_0x440a6d?html`
8
+ <input name='${_0x2f44cd[_0x41f9f6(0x1e1)]}' .value=${_0x55f95b} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x14b956[_0x1a1220(0x10e)]}_disp'
13
- .value=${_0x125900}
14
- @click=${_0x4d394f=>{const _0x4d069c=_0x1a1220;_0x4d394f[_0x4d069c(0x11d)]();const _0x51dbdf=_0x4d394f['target'];openMetaObjectSelector(_0x14b956,_0x4c7f62,_0x9fc7e0=>{const _0x3ec12f=_0x4d069c;let _0x904293=_0x9fc7e0?_0x9fc7e0['id']:'',_0x5c431f=_0x9fc7e0?_0x9fc7e0[_0x55c84f['nameField']]:'';_0x51dbdf[_0x3ec12f(0x118)]=_0x5c431f,('ox-grid-header'==_0x585006['tagName'][_0x3ec12f(0x10c)]()?_0x585006[_0x3ec12f(0x124)][_0x3ec12f(0x113)](_0x3ec12f(0x122)+_0x14b956[_0x3ec12f(0x10e)]+'\x22]'):_0x585006[_0x3ec12f(0x124)][_0x3ec12f(0x113)]('form\x20[name=\x22'+_0x14b956[_0x3ec12f(0x10e)]+'\x22]'))[_0x3ec12f(0x118)]=_0x904293,_0x51dbdf['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x51dbdf[_0x3ec12f(0x11a)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x14b956[_0x3ec12f(0x10e)],'operator':_0x6bfa13,'value':_0x904293}}));});}}
12
+ name='${_0x2f44cd[_0x41f9f6(0x1e1)]}_disp'
13
+ .value=${_0x43947c}
14
+ @click=${_0x185a05=>{const _0x419c1a=_0x41f9f6;_0x185a05['stopPropagation']();const _0x5557e5=_0x185a05[_0x419c1a(0x1e7)];openMetaObjectSelector(_0x2f44cd,_0x2143ca,_0x2aaf7f=>{const _0xc584ad=_0x419c1a;let _0x5bd038=_0x2aaf7f?_0x2aaf7f['id']:'',_0x4b05da=_0x2aaf7f?_0x2aaf7f[_0x5e70d3[_0xc584ad(0x1dd)]]:'';_0x5557e5['value']=_0x4b05da,(_0xc584ad(0x1de)==_0x4c2002[_0xc584ad(0x1df)][_0xc584ad(0x1f5)]()?_0x4c2002['renderRoot']['querySelector'](_0xc584ad(0x1f2)+_0x2f44cd['name']+'\x22]'):_0x4c2002[_0xc584ad(0x1e4)][_0xc584ad(0x1e8)](_0xc584ad(0x1f3)+_0x2f44cd[_0xc584ad(0x1e1)]+'\x22]'))[_0xc584ad(0x1ef)]=_0x5bd038,_0x5557e5[_0xc584ad(0x1f0)](new Event(_0xc584ad(0x1f8),{'bubbles':!0x0})),_0x5557e5['dispatchEvent'](new CustomEvent(_0xc584ad(0x1f9),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2f44cd[_0xc584ad(0x1e1)],'operator':_0x440a6d,'value':_0x5bd038}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0xe9489d,_0xc51d55){const _0x1d4e8f=a0_0x58a1,_0x1414bd=_0xe9489d();while(!![]){try{const _0x293a5d=parseInt(_0x1d4e8f(0x1e1))/0x1+-parseInt(_0x1d4e8f(0x1ed))/0x2+-parseInt(_0x1d4e8f(0x1f0))/0x3+-parseInt(_0x1d4e8f(0x1f3))/0x4*(parseInt(_0x1d4e8f(0x1e2))/0x5)+-parseInt(_0x1d4e8f(0x1ea))/0x6+parseInt(_0x1d4e8f(0x1fc))/0x7*(-parseInt(_0x1d4e8f(0x1e8))/0x8)+parseInt(_0x1d4e8f(0x1f4))/0x9;if(_0x293a5d===_0xc51d55)break;else _0x1414bd['push'](_0x1414bd['shift']());}catch(_0x1b6a12){_0x1414bd['push'](_0x1414bd['shift']());}}}(a0_0x84bf,0xb4d03));function a0_0x84bf(){const _0x85aedb=['tMenu','tTitle','21MJBhwI','select_item','filter-change','options','length','851470hERCQv','102545vRsFOW','[name=\x22','selectorName','renderRoot','filter','codeField','3147960GxvQmk','value','4315758NhFbDC','querySelector','change','2429968PfwHDX','record','stopPropagation','2396028GyLNHW','ox-grid-header','codes','256LIyVLw','46036395UmBTed','dispatchEvent','tagName','name','toLowerCase','dispField'];a0_0x84bf=function(){return _0x85aedb;};return a0_0x84bf();}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x58a1(_0x557bf6,_0x556439){const _0x84bf2b=a0_0x84bf();return a0_0x58a1=function(_0x58a126,_0x551e42){_0x58a126=_0x58a126-0x1e1;let _0x4395d0=_0x84bf2b[_0x58a126];return _0x4395d0;},a0_0x58a1(_0x557bf6,_0x556439);}function openMetaCodeSelector(_0x109826,_0x3d9672,_0x9837a1){const _0x55304c=a0_0x58a1;var _0x57b45c=html`
1
+ (function(_0x38b70f,_0xe1179b){const _0x5a7bbc=a0_0x45fb,_0x37391a=_0x38b70f();while(!![]){try{const _0x5078e1=-parseInt(_0x5a7bbc(0x20c))/0x1*(parseInt(_0x5a7bbc(0x1fd))/0x2)+parseInt(_0x5a7bbc(0x202))/0x3*(parseInt(_0x5a7bbc(0x207))/0x4)+-parseInt(_0x5a7bbc(0x212))/0x5+-parseInt(_0x5a7bbc(0x1ff))/0x6*(-parseInt(_0x5a7bbc(0x1f9))/0x7)+-parseInt(_0x5a7bbc(0x1f7))/0x8*(-parseInt(_0x5a7bbc(0x1f2))/0x9)+parseInt(_0x5a7bbc(0x200))/0xa*(-parseInt(_0x5a7bbc(0x1f6))/0xb)+parseInt(_0x5a7bbc(0x1f8))/0xc;if(_0x5078e1===_0xe1179b)break;else _0x37391a['push'](_0x37391a['shift']());}catch(_0x3de9f1){_0x37391a['push'](_0x37391a['shift']());}}}(a0_0x52d2,0x4621a));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x45fb(_0x270620,_0x26d1eb){const _0x52d232=a0_0x52d2();return a0_0x45fb=function(_0x45fb2c,_0x4ed2ad){_0x45fb2c=_0x45fb2c-0x1f2;let _0x4677cd=_0x52d232[_0x45fb2c];return _0x4677cd;},a0_0x45fb(_0x270620,_0x26d1eb);}function a0_0x52d2(){const _0x4827bb=['dispField','record','value','ox-grid-header','41LZvFnw','[name=\x22','querySelector','tMenu','tagName','target','1856060KhzDrX','981aCtsUK','name','tTitle','selectorName','3190DleLfS','36056vqhIhA','5707368wlNMfr','7hewONu','codes','select_item','large','27978WFuRmX','length','2995572LcIkZz','19630lGgdSo','filter-change','150yKhUes','options','stopPropagation','filter','display','26812EEFKQW'];a0_0x52d2=function(){return _0x4827bb;};return a0_0x52d2();}function openMetaCodeSelector(_0x43e27e,_0x40b088,_0x36efc7){const _0xdae163=a0_0x45fb;var _0x53f925=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x3d9672}
4
- .options=${_0x109826[_0x55304c(0x1ee)][_0x55304c(0x1ff)]}
5
- .confirmCallback=${_0x9837a1}
3
+ .value=${_0x40b088}
4
+ .options=${_0x43e27e['record'][_0xdae163(0x203)]}
5
+ .confirmCallback=${_0x36efc7}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x57b45c,{'backdrop':!0x0,'size':'large','title':_0x109826[_0x55304c(0x1ee)][_0x55304c(0x1ff)][_0x55304c(0x1e4)]?TermsUtil[_0x55304c(0x1fa)](_0x109826[_0x55304c(0x1ee)][_0x55304c(0x1ff)]['selectorName']):TermsUtil[_0x55304c(0x1fb)](_0x55304c(0x1fd))});}export const FilterGristMetaCodeSelect=(_0xe53f66,_0x2ded5a,_0x527dee)=>{const _0x15eeaa=a0_0x58a1,_0x3a9ee1=_0xe53f66['filter'],_0x378db7=_0xe53f66[_0x15eeaa(0x1ee)][_0x15eeaa(0x1ff)],_0x6b8bd3=_0x378db7['codes']&&_0x378db7['codes']['length']>0x0?_0x378db7[_0x15eeaa(0x1f2)]:void 0x0,{operator:_0x7623cc='eq'}=_0x3a9ee1;let _0x456713=_0x2ded5a||'',_0x484934=_0x2ded5a||'';if(_0x378db7[_0x15eeaa(0x1f9)]&&_0x2ded5a&&_0x6b8bd3){let _0x5d89b1=_0x6b8bd3[_0x15eeaa(0x1e6)](_0x26407e=>_0x26407e['value']==_0x2ded5a);_0x5d89b1&&_0x5d89b1[_0x15eeaa(0x200)]>0x0&&(_0x484934=_0x5d89b1[0x0]['display']);}return'eq'===_0x7623cc?html`
8
- <input name='${_0xe53f66[_0x15eeaa(0x1f7)]}' .value=${_0x456713} type="text" hidden></input>
7
+ `;openPopup(_0x53f925,{'backdrop':!0x0,'size':_0xdae163(0x1fc),'title':_0x43e27e[_0xdae163(0x209)]['options'][_0xdae163(0x1f5)]?TermsUtil[_0xdae163(0x20f)](_0x43e27e[_0xdae163(0x209)][_0xdae163(0x203)][_0xdae163(0x1f5)]):TermsUtil[_0xdae163(0x1f4)](_0xdae163(0x1fb))});}export const FilterGristMetaCodeSelect=(_0x1e1f0e,_0x26e2e2,_0x51c540)=>{const _0x7811c2=a0_0x45fb,_0x1e55c6=_0x1e1f0e[_0x7811c2(0x205)],_0x307c1f=_0x1e1f0e[_0x7811c2(0x209)][_0x7811c2(0x203)],_0x2b51a9=_0x307c1f[_0x7811c2(0x1fa)]&&_0x307c1f[_0x7811c2(0x1fa)][_0x7811c2(0x1fe)]>0x0?_0x307c1f['codes']:void 0x0,{operator:_0x4fc7ed='eq'}=_0x1e55c6;let _0x4d566f=_0x26e2e2||'',_0x1c06cf=_0x26e2e2||'';if(_0x307c1f[_0x7811c2(0x208)]&&_0x26e2e2&&_0x2b51a9){let _0x401242=_0x2b51a9[_0x7811c2(0x205)](_0x1b9c7f=>_0x1b9c7f[_0x7811c2(0x20a)]==_0x26e2e2);_0x401242&&_0x401242[_0x7811c2(0x1fe)]>0x0&&(_0x1c06cf=_0x401242[0x0][_0x7811c2(0x206)]);}return'eq'===_0x4fc7ed?html`
8
+ <input name='${_0x1e1f0e[_0x7811c2(0x1f3)]}' .value=${_0x4d566f} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0xe53f66[_0x15eeaa(0x1f7)]}_disp'
13
- .value=${_0x484934}
14
- @click=${_0x5b005c=>{const _0x1910f4=_0x15eeaa;_0x5b005c[_0x1910f4(0x1ef)]();const _0x18f9ae=_0x5b005c['target'];openMetaCodeSelector(_0xe53f66,_0x2ded5a,_0x930df=>{const _0x54f4c3=_0x1910f4;let _0x510463=_0x930df?_0x930df[_0x378db7[_0x54f4c3(0x1e7)]]:'',_0x212a0f=_0x510463;_0x930df&&_0x378db7['dispField']&&(_0x212a0f=_0x930df[_0x378db7[_0x54f4c3(0x1f9)]]),_0x18f9ae['value']=_0x212a0f,(_0x54f4c3(0x1f1)==_0x527dee[_0x54f4c3(0x1f6)][_0x54f4c3(0x1f8)]()?_0x527dee[_0x54f4c3(0x1e5)][_0x54f4c3(0x1eb)](_0x54f4c3(0x1e3)+_0x3a9ee1[_0x54f4c3(0x1f7)]+'\x22]'):_0x527dee[_0x54f4c3(0x1e5)][_0x54f4c3(0x1eb)]('form\x20[name=\x22'+_0x3a9ee1[_0x54f4c3(0x1f7)]+'\x22]'))[_0x54f4c3(0x1e9)]=_0x510463,_0x18f9ae[_0x54f4c3(0x1f5)](new Event(_0x54f4c3(0x1ec),{'bubbles':!0x0})),_0x18f9ae['dispatchEvent'](new CustomEvent(_0x54f4c3(0x1fe),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xe53f66[_0x54f4c3(0x1f7)],'operator':_0x7623cc,'value':_0x510463}}));});}}
12
+ name='${_0x1e1f0e[_0x7811c2(0x1f3)]}_disp'
13
+ .value=${_0x1c06cf}
14
+ @click=${_0x5b917a=>{const _0x3b8967=_0x7811c2;_0x5b917a[_0x3b8967(0x204)]();const _0x36dc04=_0x5b917a[_0x3b8967(0x211)];openMetaCodeSelector(_0x1e1f0e,_0x26e2e2,_0x11b068=>{const _0x10b426=_0x3b8967;let _0x2e286b=_0x11b068?_0x11b068[_0x307c1f['codeField']]:'',_0x275f7e=_0x2e286b;_0x11b068&&_0x307c1f['dispField']&&(_0x275f7e=_0x11b068[_0x307c1f[_0x10b426(0x208)]]),_0x36dc04[_0x10b426(0x20a)]=_0x275f7e,(_0x10b426(0x20b)==_0x51c540[_0x10b426(0x210)]['toLowerCase']()?_0x51c540['renderRoot']['querySelector'](_0x10b426(0x20d)+_0x1e55c6[_0x10b426(0x1f3)]+'\x22]'):_0x51c540['renderRoot'][_0x10b426(0x20e)]('form\x20[name=\x22'+_0x1e55c6[_0x10b426(0x1f3)]+'\x22]'))['value']=_0x2e286b,_0x36dc04['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x36dc04['dispatchEvent'](new CustomEvent(_0x10b426(0x201),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1e1f0e[_0x10b426(0x1f3)],'operator':_0x4fc7ed,'value':_0x2e286b}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x7ba1(){const _0x1672c1=['tMenu','201885GLTNfG','value','target','2874880IcPluq','nameField','30fdQgxB','options','108kXBKpj','[name=\x22','toLowerCase','308fROIrU','ox-grid-header','selectorName','1857060Dhgvwg','form\x20[name=\x22','record','13UHFoKr','529177kUmsbh','renderRoot','tTitle','querySelector','name','34610CVQPYH','26064PzhaZz','change','select_item','42rlAYeE','92408kbdPHf','filter'];a0_0x7ba1=function(){return _0x1672c1;};return a0_0x7ba1();}(function(_0x39a0ef,_0x35dbcf){const _0x27bcf4=a0_0x4eb2,_0x583556=_0x39a0ef();while(!![]){try{const _0x40f5e0=-parseInt(_0x27bcf4(0xb0))/0x1*(parseInt(_0x27bcf4(0xb6))/0x2)+-parseInt(_0x27bcf4(0xba))/0x3*(parseInt(_0x27bcf4(0xbb))/0x4)+-parseInt(_0x27bcf4(0xbe))/0x5*(-parseInt(_0x27bcf4(0xa5))/0x6)+parseInt(_0x27bcf4(0xaa))/0x7*(parseInt(_0x27bcf4(0xb7))/0x8)+-parseInt(_0x27bcf4(0xad))/0x9+parseInt(_0x27bcf4(0xc1))/0xa+parseInt(_0x27bcf4(0xb1))/0xb*(parseInt(_0x27bcf4(0xa7))/0xc);if(_0x40f5e0===_0x35dbcf)break;else _0x583556['push'](_0x583556['shift']());}catch(_0x1d8232){_0x583556['push'](_0x583556['shift']());}}}(a0_0x7ba1,0x4beab));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x31a495,_0x12c93b,_0xe73442){const _0x3c8e13=a0_0x4eb2;var _0x5b7aff=html`
1
+ (function(_0x242cb5,_0x5c0cab){const _0x266216=a0_0x39f8,_0xfbc487=_0x242cb5();while(!![]){try{const _0x2d190b=parseInt(_0x266216(0xaf))/0x1+parseInt(_0x266216(0xa2))/0x2+parseInt(_0x266216(0xaa))/0x3*(parseInt(_0x266216(0xb2))/0x4)+parseInt(_0x266216(0x99))/0x5+parseInt(_0x266216(0xa0))/0x6*(-parseInt(_0x266216(0xa6))/0x7)+parseInt(_0x266216(0x9b))/0x8+-parseInt(_0x266216(0x9c))/0x9;if(_0x2d190b===_0x5c0cab)break;else _0xfbc487['push'](_0xfbc487['shift']());}catch(_0x9f4071){_0xfbc487['push'](_0xfbc487['shift']());}}}(a0_0x54c3,0xda1b1));function a0_0x54c3(){const _0x39b221=['1185LUjQBr','options','selectorName','renderRoot','record','999755DLpQTL','select_item','filter','12184YbdiqQ','value','querySelector','5016960jEdrRr','toLowerCase','2724768VTsQRq','29439198umhFrT','large','target','ox-grid-header','1290RaCyqW','stopPropagation','2521930lsJeEv','nameField','tMenu','dispatchEvent','20951LronLR','name','[name=\x22','tTitle'];a0_0x54c3=function(){return _0x39b221;};return a0_0x54c3();}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x39f8(_0x55eb5a,_0x3f3663){const _0x54c30e=a0_0x54c3();return a0_0x39f8=function(_0x39f8bd,_0x49b818){_0x39f8bd=_0x39f8bd-0x97;let _0x5bd04d=_0x54c30e[_0x39f8bd];return _0x5bd04d;},a0_0x39f8(_0x55eb5a,_0x3f3663);}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x468e0d,_0xc51417,_0x4bcc5b){const _0x42dd56=a0_0x39f8;var _0x52cbc7=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x12c93b}
4
- .options=${_0x31a495['record'][_0x3c8e13(0xa6)]}
5
- .confirmCallback=${_0xe73442}
3
+ .value=${_0xc51417}
4
+ .options=${_0x468e0d[_0x42dd56(0xae)][_0x42dd56(0xab)]}
5
+ .confirmCallback=${_0x4bcc5b}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x5b7aff,{'backdrop':!0x0,'size':'large','title':_0x31a495['record'][_0x3c8e13(0xa6)]['selectorName']?TermsUtil[_0x3c8e13(0xbd)](_0x31a495[_0x3c8e13(0xaf)][_0x3c8e13(0xa6)][_0x3c8e13(0xac)]):TermsUtil[_0x3c8e13(0xb3)](_0x3c8e13(0xb9))});}function a0_0x4eb2(_0x5f18bf,_0x53c076){const _0x7ba149=a0_0x7ba1();return a0_0x4eb2=function(_0x4eb2a5,_0x4af395){_0x4eb2a5=_0x4eb2a5-0xa5;let _0x31324e=_0x7ba149[_0x4eb2a5];return _0x31324e;},a0_0x4eb2(_0x5f18bf,_0x53c076);}export const FilterGristMetaObjectSelect=(_0x14a18e,_0x1fe6ba,_0xca6a63)=>{const _0x3b503b=a0_0x4eb2,_0x25aa4c=_0x14a18e[_0x3b503b(0xbc)],{operator:_0x5cce0f='eq'}=_0x25aa4c,_0x1d3164=_0x14a18e[_0x3b503b(0xaf)][_0x3b503b(0xa6)];let _0x1fc313=_0x1fe6ba?_0x1fe6ba['id']:'',_0x3dc2c3=_0x1fe6ba?_0x1fe6ba[_0x1d3164['nameField']]:'';return'eq'===_0x5cce0f?html`
8
- <input name='${_0x14a18e[_0x3b503b(0xb5)]}' .value=${_0x1fc313} type="text" hidden></input>
7
+ `;openPopup(_0x52cbc7,{'backdrop':!0x0,'size':_0x42dd56(0x9d),'title':_0x468e0d[_0x42dd56(0xae)][_0x42dd56(0xab)][_0x42dd56(0xac)]?TermsUtil[_0x42dd56(0xa4)](_0x468e0d[_0x42dd56(0xae)][_0x42dd56(0xab)][_0x42dd56(0xac)]):TermsUtil[_0x42dd56(0xa9)](_0x42dd56(0xb0))});}export const FilterGristMetaObjectSelect=(_0x320552,_0x20c942,_0x30b910)=>{const _0x2cf85a=a0_0x39f8,_0x545c95=_0x320552[_0x2cf85a(0xb1)],{operator:_0x14ad00='eq'}=_0x545c95,_0x307f4d=_0x320552[_0x2cf85a(0xae)][_0x2cf85a(0xab)];let _0x266ba3=_0x20c942?_0x20c942['id']:'',_0x134764=_0x20c942?_0x20c942[_0x307f4d[_0x2cf85a(0xa3)]]:'';return'eq'===_0x14ad00?html`
8
+ <input name='${_0x320552['name']}' .value=${_0x266ba3} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x14a18e[_0x3b503b(0xb5)]}_disp'
13
- .value=${_0x3dc2c3}
14
- @click=${_0x1e4e6f=>{const _0x275e05=_0x3b503b;_0x1e4e6f['stopPropagation']();const _0x232e07=_0x1e4e6f[_0x275e05(0xc0)];openMetaObjectSelector(_0x14a18e,_0x1fe6ba,_0x5c768a=>{const _0x1d3a5c=_0x275e05;let _0x11aa4b=_0x5c768a?_0x5c768a['id']:'',_0x703a2e=_0x5c768a?_0x5c768a[_0x1d3164[_0x1d3a5c(0xc2)]]:'';_0x232e07[_0x1d3a5c(0xbf)]=_0x703a2e,(_0x1d3a5c(0xab)==_0xca6a63['tagName'][_0x1d3a5c(0xa9)]()?_0xca6a63[_0x1d3a5c(0xb2)][_0x1d3a5c(0xb4)](_0x1d3a5c(0xa8)+_0x25aa4c[_0x1d3a5c(0xb5)]+'\x22]'):_0xca6a63[_0x1d3a5c(0xb2)][_0x1d3a5c(0xb4)](_0x1d3a5c(0xae)+_0x25aa4c[_0x1d3a5c(0xb5)]+'\x22]'))[_0x1d3a5c(0xbf)]=_0x11aa4b,_0x232e07['dispatchEvent'](new Event(_0x1d3a5c(0xb8),{'bubbles':!0x0})),_0x232e07['dispatchEvent'](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x14a18e['name'],'operator':_0x5cce0f,'value':_0x11aa4b}}));});}}
12
+ name='${_0x320552['name']}_disp'
13
+ .value=${_0x134764}
14
+ @click=${_0x35e90b=>{const _0x24c2d8=_0x2cf85a;_0x35e90b[_0x24c2d8(0xa1)]();const _0x2f6d66=_0x35e90b[_0x24c2d8(0x9e)];openMetaObjectSelector(_0x320552,_0x20c942,_0x47a76d=>{const _0x8aaceb=_0x24c2d8;let _0x3061c7=_0x47a76d?_0x47a76d['id']:'',_0x1b268f=_0x47a76d?_0x47a76d[_0x307f4d[_0x8aaceb(0xa3)]]:'';_0x2f6d66[_0x8aaceb(0x97)]=_0x1b268f,(_0x8aaceb(0x9f)==_0x30b910['tagName'][_0x8aaceb(0x9a)]()?_0x30b910[_0x8aaceb(0xad)][_0x8aaceb(0x98)](_0x8aaceb(0xa8)+_0x545c95[_0x8aaceb(0xa7)]+'\x22]'):_0x30b910[_0x8aaceb(0xad)][_0x8aaceb(0x98)]('form\x20[name=\x22'+_0x545c95[_0x8aaceb(0xa7)]+'\x22]'))[_0x8aaceb(0x97)]=_0x3061c7,_0x2f6d66['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x2f6d66[_0x8aaceb(0xa5)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x320552[_0x8aaceb(0xa7)],'operator':_0x14ad00,'value':_0x3061c7}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,9 +1,9 @@
1
- const a0_0x9c6185=a0_0x1d99;(function(_0x3639cd,_0x58e03f){const _0x577865=a0_0x1d99,_0x3e9583=_0x3639cd();while(!![]){try{const _0x42692b=-parseInt(_0x577865(0xaf))/0x1+-parseInt(_0x577865(0xb1))/0x2+parseInt(_0x577865(0xb7))/0x3*(-parseInt(_0x577865(0xb9))/0x4)+parseInt(_0x577865(0xbd))/0x5+-parseInt(_0x577865(0xd0))/0x6*(parseInt(_0x577865(0xce))/0x7)+-parseInt(_0x577865(0xc1))/0x8+parseInt(_0x577865(0xd3))/0x9;if(_0x42692b===_0x58e03f)break;else _0x3e9583['push'](_0x3e9583['shift']());}catch(_0x30fcbe){_0x3e9583['push'](_0x3e9583['shift']());}}}(a0_0x4f62,0x8b5ca));function a0_0x4f62(){const _0xd56420=['2824450btrpDn','popup','dispatchEvent','select_item','5255064QOjWJK','stopPropagation','display','openSelector','key','field-change','codeField','grist-editor-meta-code-selector','editorTemplate','row','_onclick','tMenu','properties','2939678YBjcuk','large','12yIRLEh','Enter','define','24501456cqPWsf','options','value','707588RqZLDG','push','858010nIeYJR','firstUpdated','forEach','record','codes','column','36Kppoml','filter','27688fNiaIT','keys','bind','length'];a0_0x4f62=function(){return _0xd56420;};return a0_0x4f62();}import{html}from'lit';function a0_0x1d99(_0x2433ae,_0x2adaed){const _0x4f62fc=a0_0x4f62();return a0_0x1d99=function(_0x1d99fc,_0x17ff6f){_0x1d99fc=_0x1d99fc-0xae;let _0x40527b=_0x4f62fc[_0x1d99fc];return _0x40527b;},a0_0x1d99(_0x2433ae,_0x2adaed);}import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x9c6185(0xcd)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x9c6185(0xc9)](){const _0x11c466=a0_0x9c6185;let _0x100609='';if(this[_0x11c466(0xb6)]['record']&&this['column']['record']['options']){if(this[_0x11c466(0xb6)][_0x11c466(0xb4)]['options']['dispField']){let _0x346cb5=this[_0x11c466(0xb6)][_0x11c466(0xb4)][_0x11c466(0xd4)][_0x11c466(0xb5)]||[];if(this['value']&&this[_0x11c466(0xae)][_0x11c466(0xbc)]>0x0){let _0x1980bc=_0x346cb5[_0x11c466(0xb8)](_0x168ac5=>_0x168ac5['value']===this[_0x11c466(0xae)]);_0x100609=_0x1980bc&&_0x1980bc[_0x11c466(0xbc)]>0x0?_0x1980bc[0x0][_0x11c466(0xc3)]:'';}}else _0x100609=this['value'];}else _0x100609='';return html`
2
- ${_0x100609?html` <span tabindex="0" style="flex:1">${_0x100609}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async['firstUpdated'](){const _0x3b85d7=a0_0x9c6185;super[_0x3b85d7(0xb2)]();}[a0_0x9c6185(0xcb)](_0x429469){const _0x3ba8e6=a0_0x9c6185;_0x429469[_0x3ba8e6(0xc2)](),this[_0x3ba8e6(0xc4)]();}['_onkeydown'](_0x137747){const _0x40388f=a0_0x9c6185;_0x40388f(0xd1)==_0x137747[_0x40388f(0xc5)]&&(_0x137747[_0x40388f(0xc2)](),this[_0x40388f(0xc4)]());}[a0_0x9c6185(0xc4)](){const _0x56373a=a0_0x9c6185;this['popup']&&delete this[_0x56373a(0xbe)];var {selectorName:_0x8752f4=TermsUtil['tTitle'](_0x56373a(0xc0))}=this[_0x56373a(0xb6)][_0x56373a(0xb4)][_0x56373a(0xd4)]||{},_0x35fee7=html`
1
+ const a0_0x4d5a3d=a0_0x38f4;(function(_0x253a66,_0x44672e){const _0x141adc=a0_0x38f4,_0x106acd=_0x253a66();while(!![]){try{const _0x91a7d4=-parseInt(_0x141adc(0x9f))/0x1*(parseInt(_0x141adc(0xa5))/0x2)+-parseInt(_0x141adc(0x94))/0x3+parseInt(_0x141adc(0xb1))/0x4*(parseInt(_0x141adc(0xab))/0x5)+-parseInt(_0x141adc(0xa2))/0x6+-parseInt(_0x141adc(0xaa))/0x7+-parseInt(_0x141adc(0x9d))/0x8+-parseInt(_0x141adc(0xa6))/0x9*(-parseInt(_0x141adc(0xa8))/0xa);if(_0x91a7d4===_0x44672e)break;else _0x106acd['push'](_0x106acd['shift']());}catch(_0x3aad6a){_0x106acd['push'](_0x106acd['shift']());}}}(a0_0x3f22,0x98b45));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x38f4(_0x569d53,_0x143698){const _0x3f22c6=a0_0x3f22();return a0_0x38f4=function(_0x38f4ae,_0x49cb9a){_0x38f4ae=_0x38f4ae-0x92;let _0x1bc819=_0x3f22c6[_0x38f4ae];return _0x1bc819;},a0_0x38f4(_0x569d53,_0x143698);}import{openPopup}from'@operato/layout';function a0_0x3f22(){const _0x48c148=['dispField','fieldMap','_onkeydown','openSelector','select_item','large','stopPropagation','tTitle','_onclick','display','383793UjqdfZ','length','dispatchEvent','editorTemplate','row','tMenu','keys','firstUpdated','value','7133528XXHjEY','key','11kxFZIH','codes','column','6770004hppUUs','bind','codeField','145780uPnbwh','9IbCJie','Enter','40695920qHbtgM','properties','5179783bHxkzd','307000inXYmy','options','filter','popup','record','field-change','16fGRArg'];a0_0x3f22=function(){return _0x48c148;};return a0_0x3f22();}import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x4d5a3d(0xa9)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x4d5a3d(0x97)](){const _0x15d45c=a0_0x4d5a3d;let _0x7f8ce2='';if(this[_0x15d45c(0xa1)][_0x15d45c(0xaf)]&&this[_0x15d45c(0xa1)]['record'][_0x15d45c(0xac)]){if(this[_0x15d45c(0xa1)][_0x15d45c(0xaf)][_0x15d45c(0xac)][_0x15d45c(0xb2)]){let _0x688ba7=this['column'][_0x15d45c(0xaf)]['options'][_0x15d45c(0xa0)]||[];if(this[_0x15d45c(0x9c)]&&this['value'][_0x15d45c(0x95)]>0x0){let _0x323596=_0x688ba7['filter'](_0x1a54cb=>_0x1a54cb['value']===this['value']);_0x7f8ce2=_0x323596&&_0x323596[_0x15d45c(0x95)]>0x0?_0x323596[0x0][_0x15d45c(0x93)]:'';}}else _0x7f8ce2=this['value'];}else _0x7f8ce2='';return html`
2
+ ${_0x7f8ce2?html` <span tabindex="0" style="flex:1">${_0x7f8ce2}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x4d5a3d(0x9b)](){const _0x5dd13e=a0_0x4d5a3d;super[_0x5dd13e(0x9b)]();}[a0_0x4d5a3d(0x92)](_0x31a867){const _0x379461=a0_0x4d5a3d;_0x31a867['stopPropagation'](),this[_0x379461(0xb5)]();}[a0_0x4d5a3d(0xb4)](_0x45f443){const _0xaa9a4c=a0_0x4d5a3d;_0xaa9a4c(0xa7)==_0x45f443[_0xaa9a4c(0x9e)]&&(_0x45f443[_0xaa9a4c(0xb8)](),this[_0xaa9a4c(0xb5)]());}[a0_0x4d5a3d(0xb5)](){const _0x5bda5e=a0_0x4d5a3d;this[_0x5bda5e(0xae)]&&delete this[_0x5bda5e(0xae)];var {selectorName:_0x176c67=TermsUtil[_0x5bda5e(0xb9)](_0x5bda5e(0xb6))}=this[_0x5bda5e(0xa1)][_0x5bda5e(0xaf)][_0x5bda5e(0xac)]||{},_0x5be49f=html`
4
4
  <meta-object-selector-popup
5
- .value=${this['value']}
6
- .options=${this[_0x56373a(0xb6)][_0x56373a(0xb4)][_0x56373a(0xd4)]}
7
- .confirmCallback=${(_0x2b37bd=>{const _0x29d7ac=_0x56373a;let _0x42534d=this['column'][_0x29d7ac(0xb4)][_0x29d7ac(0xd4)][_0x29d7ac(0xc7)],_0x3cbce8=this[_0x29d7ac(0xb6)][_0x29d7ac(0xb4)][_0x29d7ac(0xd4)]['dispField'],_0xd97d1f=this['column'][_0x29d7ac(0xb4)][_0x29d7ac(0xd4)]['fieldMap']||{};if(this[_0x29d7ac(0xb6)]['record'][_0x29d7ac(0xd4)][_0x29d7ac(0xb5)]||(this[_0x29d7ac(0xb6)][_0x29d7ac(0xb4)][_0x29d7ac(0xd4)][_0x29d7ac(0xb5)]=[]),_0x2b37bd){let _0x14c563=this[_0x29d7ac(0xb6)]['record'][_0x29d7ac(0xd4)]['codes'][_0x29d7ac(0xb8)](_0x1b5140=>_0x1b5140['value']==_0x2b37bd[_0x42534d]);_0x14c563&&0x0!=_0x14c563[_0x29d7ac(0xbc)]||this['column']['record']['options'][_0x29d7ac(0xb5)][_0x29d7ac(0xb0)]({'value':_0x2b37bd[_0x42534d],'display':_0x2b37bd[_0x3cbce8]});}this[_0x29d7ac(0xbf)](new CustomEvent(_0x29d7ac(0xc6),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x29d7ac(0xae)],'after':_0x2b37bd?_0x2b37bd[_0x42534d]:null,'record':this[_0x29d7ac(0xb4)],'column':this[_0x29d7ac(0xb6)],'row':this['row']}})),Object[_0x29d7ac(0xba)](_0xd97d1f)[_0x29d7ac(0xb3)](_0x5ec973=>{const _0x4f0d65=_0x29d7ac;this['dispatchEvent'](new CustomEvent(_0x4f0d65(0xc6),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4f0d65(0xb4)][_0xd97d1f[_0x5ec973]],'after':_0x2b37bd?_0x2b37bd[_0x5ec973]:null,'record':this[_0x4f0d65(0xb4)],'column':{'name':_0xd97d1f[_0x5ec973]},'row':this[_0x4f0d65(0xca)]}}));});})[_0x56373a(0xbb)](this)}
5
+ .value=${this[_0x5bda5e(0x9c)]}
6
+ .options=${this[_0x5bda5e(0xa1)][_0x5bda5e(0xaf)][_0x5bda5e(0xac)]}
7
+ .confirmCallback=${(_0x4851de=>{const _0x40c317=_0x5bda5e;let _0x95bed9=this[_0x40c317(0xa1)]['record'][_0x40c317(0xac)][_0x40c317(0xa4)],_0x2fb606=this[_0x40c317(0xa1)][_0x40c317(0xaf)]['options'][_0x40c317(0xb2)],_0x395a1a=this[_0x40c317(0xa1)]['record'][_0x40c317(0xac)][_0x40c317(0xb3)]||{};if(this['column']['record'][_0x40c317(0xac)]['codes']||(this['column'][_0x40c317(0xaf)][_0x40c317(0xac)][_0x40c317(0xa0)]=[]),_0x4851de){let _0x386dcb=this['column'][_0x40c317(0xaf)][_0x40c317(0xac)]['codes'][_0x40c317(0xad)](_0x359266=>_0x359266[_0x40c317(0x9c)]==_0x4851de[_0x95bed9]);_0x386dcb&&0x0!=_0x386dcb[_0x40c317(0x95)]||this['column']['record'][_0x40c317(0xac)][_0x40c317(0xa0)]['push']({'value':_0x4851de[_0x95bed9],'display':_0x4851de[_0x2fb606]});}this[_0x40c317(0x96)](new CustomEvent(_0x40c317(0xb0),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x40c317(0x9c)],'after':_0x4851de?_0x4851de[_0x95bed9]:null,'record':this['record'],'column':this[_0x40c317(0xa1)],'row':this[_0x40c317(0x98)]}})),Object[_0x40c317(0x9a)](_0x395a1a)['forEach'](_0x5cda01=>{const _0x167d37=_0x40c317;this['dispatchEvent'](new CustomEvent(_0x167d37(0xb0),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x167d37(0xaf)][_0x395a1a[_0x5cda01]],'after':_0x4851de?_0x4851de[_0x5cda01]:null,'record':this[_0x167d37(0xaf)],'column':{'name':_0x395a1a[_0x5cda01]},'row':this['row']}}));});})[_0x5bda5e(0xa3)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x56373a(0xbe)]=openPopup(_0x35fee7,{'backdrop':!0x0,'size':_0x56373a(0xcf),'title':TermsUtil[_0x56373a(0xcc)](_0x8752f4)});}}customElements[a0_0x9c6185(0xd2)](a0_0x9c6185(0xc8),GristEditorMetaCodeSelector);
9
+ `;this[_0x5bda5e(0xae)]=openPopup(_0x5be49f,{'backdrop':!0x0,'size':_0x5bda5e(0xb7),'title':TermsUtil[_0x5bda5e(0x99)](_0x176c67)});}}customElements['define']('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- var a0_0x27138c=a0_0x1e4f;(function(_0x11f2be,_0x2c7593){var _0x2f043b=a0_0x1e4f,_0x2dca19=_0x11f2be();while(!![]){try{var _0xe1ff55=-parseInt(_0x2f043b(0x178))/0x1+-parseInt(_0x2f043b(0x16f))/0x2*(-parseInt(_0x2f043b(0x173))/0x3)+-parseInt(_0x2f043b(0x15b))/0x4+-parseInt(_0x2f043b(0x167))/0x5+parseInt(_0x2f043b(0x163))/0x6*(-parseInt(_0x2f043b(0x15e))/0x7)+-parseInt(_0x2f043b(0x15c))/0x8+parseInt(_0x2f043b(0x177))/0x9*(parseInt(_0x2f043b(0x161))/0xa);if(_0xe1ff55===_0x2c7593)break;else _0x2dca19['push'](_0x2dca19['shift']());}catch(_0x5e96ef){_0x2dca19['push'](_0x2dca19['shift']());}}}(a0_0x233a,0xd4867));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x233a(){var _0x473faa=['6558972lNAKqV','309800JWLmqt','bind','9744UGMUJC','column','_onkeydown','17006300kAJLfR','large','2898dcjHRm','grist-editor-meta-object-selector','_onclick','record','4908065DaRbxf','firstUpdated','field-change','nameField','fieldMap','popup','Enter','select_item','818RGPICT','openSelector','tTitle','options','7401PzKgdX','key','tMenu','dispatchEvent','18KaLJBy','207343GlIAAm','value','editorTemplate','stopPropagation','properties'];a0_0x233a=function(){return _0x473faa;};return a0_0x233a();}import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x27138c(0x15a)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x27138c(0x158)](){var _0x2a9a33=a0_0x27138c;let _0x5c5ccf='';return this[_0x2a9a33(0x157)]&&this[_0x2a9a33(0x15f)][_0x2a9a33(0x166)]['options']&&(_0x5c5ccf=this['value'][this[_0x2a9a33(0x15f)]['record']['options'][_0x2a9a33(0x16a)]]),html`
2
- ${this[_0x2a9a33(0x157)]?html` <span tabindex="0" style="flex:1">${_0x5c5ccf}</span> `:html`<span tabindex="0">${_0x5c5ccf}</span>`}
3
- `;}async[a0_0x27138c(0x168)](){super['firstUpdated']();}[a0_0x27138c(0x165)](_0x192cd8){var _0x43d284=a0_0x27138c;_0x192cd8['stopPropagation'](),this[_0x43d284(0x170)]();}[a0_0x27138c(0x160)](_0x253b03){var _0x1e0f8e=a0_0x27138c;_0x1e0f8e(0x16d)==_0x253b03[_0x1e0f8e(0x174)]&&(_0x253b03[_0x1e0f8e(0x159)](),this[_0x1e0f8e(0x170)]());}[a0_0x27138c(0x170)](){var _0x1fe88a=a0_0x27138c;this[_0x1fe88a(0x16c)]&&delete this[_0x1fe88a(0x16c)];var {selectorName:_0x5715e9=TermsUtil[_0x1fe88a(0x171)](_0x1fe88a(0x16e))}=this[_0x1fe88a(0x15f)][_0x1fe88a(0x166)]['options']||{},_0x141844=html`
1
+ function a0_0xbbc5(){var _0x48b793=['properties','dispatchEvent','popup','1294308sAmKtX','1298220gEnaCM','row','9WquqZs','options','815647OAxtXi','bind','field-change','stopPropagation','1612028tEsUex','18bNeLdU','keys','key','fieldMap','value','column','20PXJcku','editorTemplate','546SHgYWt','tTitle','912872xvdhmt','firstUpdated','record','_onkeydown','grist-editor-meta-object-selector','1201pPsPux','openSelector','6798726DVnlvo','forEach','Enter','nameField','_onclick'];a0_0xbbc5=function(){return _0x48b793;};return a0_0xbbc5();}var a0_0x11c81d=a0_0x1ca5;(function(_0x6e4d26,_0x406f9c){var _0x41417a=a0_0x1ca5,_0x5c66e6=_0x6e4d26();while(!![]){try{var _0x2040a4=parseInt(_0x41417a(0xfe))/0x1*(-parseInt(_0x41417a(0x11a))/0x2)+-parseInt(_0x41417a(0x108))/0x3+-parseInt(_0x41417a(0x111))/0x4+-parseInt(_0x41417a(0x109))/0x5+parseInt(_0x41417a(0x112))/0x6*(parseInt(_0x41417a(0x10d))/0x7)+parseInt(_0x41417a(0x11c))/0x8*(parseInt(_0x41417a(0x10b))/0x9)+-parseInt(_0x41417a(0x118))/0xa*(-parseInt(_0x41417a(0x100))/0xb);if(_0x2040a4===_0x406f9c)break;else _0x5c66e6['push'](_0x5c66e6['shift']());}catch(_0x206dba){_0x5c66e6['push'](_0x5c66e6['shift']());}}}(a0_0xbbc5,0x43d54));import{html}from'lit';function a0_0x1ca5(_0x471307,_0x83b2b6){var _0xbbc50e=a0_0xbbc5();return a0_0x1ca5=function(_0x1ca5c1,_0x3cdc29){_0x1ca5c1=_0x1ca5c1-0xfd;var _0xaa76c1=_0xbbc50e[_0x1ca5c1];return _0xaa76c1;},a0_0x1ca5(_0x471307,_0x83b2b6);}import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x11c81d(0x105)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x11c81d(0x119)](){var _0x135436=a0_0x11c81d;let _0x57502f='';return this[_0x135436(0x116)]&&this[_0x135436(0x117)][_0x135436(0x11e)]['options']&&(_0x57502f=this[_0x135436(0x116)][this['column'][_0x135436(0x11e)]['options'][_0x135436(0x103)]]),html`
2
+ ${this['value']?html` <span tabindex="0" style="flex:1">${_0x57502f}</span> `:html`<span tabindex="0">${_0x57502f}</span>`}
3
+ `;}async[a0_0x11c81d(0x11d)](){var _0x52baa7=a0_0x11c81d;super[_0x52baa7(0x11d)]();}[a0_0x11c81d(0x104)](_0x2febe3){var _0x1b97ff=a0_0x11c81d;_0x2febe3['stopPropagation'](),this[_0x1b97ff(0xff)]();}[a0_0x11c81d(0x11f)](_0x12517a){var _0x58fd7e=a0_0x11c81d;_0x58fd7e(0x102)==_0x12517a[_0x58fd7e(0x114)]&&(_0x12517a[_0x58fd7e(0x110)](),this[_0x58fd7e(0xff)]());}['openSelector'](){var _0x2fab45=a0_0x11c81d;this[_0x2fab45(0x107)]&&delete this[_0x2fab45(0x107)];var {selectorName:_0x4ce1cf=TermsUtil[_0x2fab45(0x11b)]('select_item')}=this[_0x2fab45(0x117)]['record']['options']||{},_0x51dfd5=html`
4
4
  <meta-object-selector-popup
5
5
  .value=${this['value']}
6
- .options=${this['column']['record'][_0x1fe88a(0x172)]}
7
- .confirmCallback=${(_0x1beaaf=>{var _0x4aa19c=_0x1fe88a;let _0x1df9f8=this[_0x4aa19c(0x15f)][_0x4aa19c(0x166)][_0x4aa19c(0x172)][_0x4aa19c(0x16b)]||{};this[_0x4aa19c(0x176)](new CustomEvent(_0x4aa19c(0x169),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1beaaf||null,'record':this['record'],'column':this[_0x4aa19c(0x15f)],'row':this['row']}})),Object['keys'](_0x1df9f8)['forEach'](_0x329f23=>{var _0x289413=_0x4aa19c;this[_0x289413(0x176)](new CustomEvent(_0x289413(0x169),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x289413(0x166)][_0x1df9f8[_0x329f23]],'after':_0x1beaaf?_0x1beaaf[_0x329f23]:null,'record':this[_0x289413(0x166)],'column':{'name':_0x1df9f8[_0x329f23]},'row':this['row']}}));});})[_0x1fe88a(0x15d)](this)}
6
+ .options=${this['column'][_0x2fab45(0x11e)][_0x2fab45(0x10c)]}
7
+ .confirmCallback=${(_0x2f0245=>{var _0x26f710=_0x2fab45;let _0x4ec20a=this[_0x26f710(0x117)][_0x26f710(0x11e)][_0x26f710(0x10c)][_0x26f710(0x115)]||{};this[_0x26f710(0x106)](new CustomEvent(_0x26f710(0x10f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x26f710(0x116)],'after':_0x2f0245||null,'record':this['record'],'column':this[_0x26f710(0x117)],'row':this[_0x26f710(0x10a)]}})),Object[_0x26f710(0x113)](_0x4ec20a)[_0x26f710(0x101)](_0x2de66f=>{var _0x435e52=_0x26f710;this[_0x435e52(0x106)](new CustomEvent(_0x435e52(0x10f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x435e52(0x11e)][_0x4ec20a[_0x2de66f]],'after':_0x2f0245?_0x2f0245[_0x2de66f]:null,'record':this[_0x435e52(0x11e)],'column':{'name':_0x4ec20a[_0x2de66f]},'row':this[_0x435e52(0x10a)]}}));});})[_0x2fab45(0x10e)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x1fe88a(0x16c)]=openPopup(_0x141844,{'backdrop':!0x0,'size':_0x1fe88a(0x162),'title':TermsUtil[_0x1fe88a(0x175)](_0x5715e9)});}}function a0_0x1e4f(_0x4e9f96,_0x475ad2){var _0x233a4d=a0_0x233a();return a0_0x1e4f=function(_0x1e4fa2,_0x55dd06){_0x1e4fa2=_0x1e4fa2-0x157;var _0x5788b0=_0x233a4d[_0x1e4fa2];return _0x5788b0;},a0_0x1e4f(_0x4e9f96,_0x475ad2);}customElements['define'](a0_0x27138c(0x164),GristEditorMetaObjectSelector);
9
+ `;this[_0x2fab45(0x107)]=openPopup(_0x51dfd5,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x4ce1cf)});}}customElements['define'](a0_0x11c81d(0xfd),GristEditorMetaObjectSelector);
@@ -1 +1 @@
1
- function a0_0x4234(){const _0x1df61f=['codes','1513740aJiCSJ','40ajmpZm','filter','target','78RfuClA','5084262EJXVDb','1632204ynXZNX','length','removeAttribute','record','12tIMQsg','15221393kDsCFf','1075900xtVzzr','3159jeHNVP','dispField','24RzKEUV','options','7IIQjVy','setAttribute','data-tooltip','1194470BlwNwM'];a0_0x4234=function(){return _0x1df61f;};return a0_0x4234();}(function(_0x5380ba,_0x145cc4){const _0x4f0cae=a0_0x4890,_0x2a198e=_0x5380ba();while(!![]){try{const _0x337868=-parseInt(_0x4f0cae(0x175))/0x1+-parseInt(_0x4f0cae(0x183))/0x2*(-parseInt(_0x4f0cae(0x176))/0x3)+parseInt(_0x4f0cae(0x189))/0x4*(parseInt(_0x4f0cae(0x17d))/0x5)+parseInt(_0x4f0cae(0x184))/0x6*(-parseInt(_0x4f0cae(0x17a))/0x7)+-parseInt(_0x4f0cae(0x180))/0x8*(parseInt(_0x4f0cae(0x185))/0x9)+-parseInt(_0x4f0cae(0x17f))/0xa+-parseInt(_0x4f0cae(0x18a))/0xb*(-parseInt(_0x4f0cae(0x178))/0xc);if(_0x337868===_0x145cc4)break;else _0x2a198e['push'](_0x2a198e['shift']());}catch(_0x3e9e8b){_0x2a198e['push'](_0x2a198e['shift']());}}}(a0_0x4234,0x84c64));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x555dbc){const _0x56eda5=a0_0x4890,_0x1d3555=_0x555dbc[_0x56eda5(0x182)];detectOverflow(_0x1d3555)&&_0x1d3555[_0x56eda5(0x17b)](_0x56eda5(0x17c),_0x1d3555['textContent']);}function onmouseout(_0x5efa7f){const _0x2590f3=a0_0x4890;_0x5efa7f[_0x2590f3(0x182)][_0x2590f3(0x187)](_0x2590f3(0x17c));}function a0_0x4890(_0x305e0a,_0x4226a2){const _0x4234b7=a0_0x4234();return a0_0x4890=function(_0x4890fe,_0x9fef11){_0x4890fe=_0x4890fe-0x175;let _0x53cf88=_0x4234b7[_0x4890fe];return _0x53cf88;},a0_0x4890(_0x305e0a,_0x4226a2);}export const GristRendererMetaCodeSelector=(_0x2c6463,_0x350383,_0x170bc0,_0x3f2b7e,_0x5776ab)=>{const _0x9d8642=a0_0x4890;let _0x5a863e='';if(_0x350383[_0x9d8642(0x188)]&&_0x350383[_0x9d8642(0x188)][_0x9d8642(0x179)]){if(_0x350383[_0x9d8642(0x188)]['options'][_0x9d8642(0x177)]){if(_0x350383[_0x9d8642(0x188)][_0x9d8642(0x179)][_0x9d8642(0x17e)]||(_0x350383[_0x9d8642(0x188)][_0x9d8642(0x179)][_0x9d8642(0x17e)]=[]),_0x2c6463&&_0x2c6463[_0x9d8642(0x186)]>0x0){let _0x2e99b8=_0x350383[_0x9d8642(0x188)][_0x9d8642(0x179)][_0x9d8642(0x17e)][_0x9d8642(0x181)](_0x582c3c=>_0x582c3c['value']===_0x2c6463);_0x5a863e=_0x2e99b8&&_0x2e99b8[_0x9d8642(0x186)]>0x0?_0x2e99b8[0x0]['display']:_0x2c6463;}}else _0x5a863e=_0x2c6463;}else _0x5a863e='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5a863e}</span>`;};
1
+ (function(_0x38d402,_0x2de313){const _0x27a17c=a0_0x3b4c,_0x5b4991=_0x38d402();while(!![]){try{const _0x123fcd=-parseInt(_0x27a17c(0x1bc))/0x1+-parseInt(_0x27a17c(0x1bd))/0x2*(-parseInt(_0x27a17c(0x1c9))/0x3)+parseInt(_0x27a17c(0x1b8))/0x4+parseInt(_0x27a17c(0x1c4))/0x5+-parseInt(_0x27a17c(0x1ba))/0x6*(parseInt(_0x27a17c(0x1be))/0x7)+parseInt(_0x27a17c(0x1bf))/0x8*(parseInt(_0x27a17c(0x1cc))/0x9)+parseInt(_0x27a17c(0x1cb))/0xa;if(_0x123fcd===_0x2de313)break;else _0x5b4991['push'](_0x5b4991['shift']());}catch(_0x488d60){_0x5b4991['push'](_0x5b4991['shift']());}}}(a0_0x5000,0x6a412));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3b4c(_0x3df8e4,_0x846800){const _0x5000ad=a0_0x5000();return a0_0x3b4c=function(_0x3b4c66,_0x10558f){_0x3b4c66=_0x3b4c66-0x1b8;let _0x5cbefd=_0x5000ad[_0x3b4c66];return _0x5cbefd;},a0_0x3b4c(_0x3df8e4,_0x846800);}function onmouseover(_0x6c658c){const _0xf3eb84=a0_0x3b4c,_0x1a09d1=_0x6c658c[_0xf3eb84(0x1cd)];detectOverflow(_0x1a09d1)&&_0x1a09d1[_0xf3eb84(0x1c2)](_0xf3eb84(0x1c1),_0x1a09d1[_0xf3eb84(0x1c8)]);}function onmouseout(_0x3bc047){const _0x7d8a19=a0_0x3b4c;_0x3bc047['target'][_0x7d8a19(0x1c5)](_0x7d8a19(0x1c1));}export const GristRendererMetaCodeSelector=(_0x26a05d,_0x2ba6e5,_0x2b6c2c,_0x10ba76,_0x58de39)=>{const _0x429785=a0_0x3b4c;let _0x53751b='';if(_0x2ba6e5['record']&&_0x2ba6e5['record']['options']){if(_0x2ba6e5[_0x429785(0x1c3)][_0x429785(0x1c6)][_0x429785(0x1b9)]){if(_0x2ba6e5[_0x429785(0x1c3)][_0x429785(0x1c6)][_0x429785(0x1ca)]||(_0x2ba6e5[_0x429785(0x1c3)][_0x429785(0x1c6)][_0x429785(0x1ca)]=[]),_0x26a05d&&_0x26a05d['length']>0x0){let _0x4f497b=_0x2ba6e5[_0x429785(0x1c3)]['options'][_0x429785(0x1ca)][_0x429785(0x1c7)](_0x29c12e=>_0x29c12e['value']===_0x26a05d);_0x53751b=_0x4f497b&&_0x4f497b[_0x429785(0x1bb)]>0x0?_0x4f497b[0x0][_0x429785(0x1c0)]:_0x26a05d;}}else _0x53751b=_0x26a05d;}else _0x53751b='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x53751b}</span>`;};function a0_0x5000(){const _0x3b1bac=['data-tooltip','setAttribute','record','352155LlcrsC','removeAttribute','options','filter','textContent','18ojeeVX','codes','2798120aKzrXd','27szxGti','target','598092UZZCzK','dispField','29598swjIHa','length','654235ivVqqV','123476BTKTbA','203rjttIW','966176DlOzYq','display'];a0_0x5000=function(){return _0x3b1bac;};return a0_0x5000();}
@@ -1 +1 @@
1
- (function(_0x184c77,_0x493df6){const _0x1de328=a0_0x50f2,_0x551246=_0x184c77();while(!![]){try{const _0x17660d=parseInt(_0x1de328(0x1cc))/0x1+-parseInt(_0x1de328(0x1d3))/0x2*(-parseInt(_0x1de328(0x1cf))/0x3)+parseInt(_0x1de328(0x1d8))/0x4*(parseInt(_0x1de328(0x1d1))/0x5)+-parseInt(_0x1de328(0x1d5))/0x6+parseInt(_0x1de328(0x1d6))/0x7*(-parseInt(_0x1de328(0x1d9))/0x8)+parseInt(_0x1de328(0x1d4))/0x9+-parseInt(_0x1de328(0x1dc))/0xa;if(_0x17660d===_0x493df6)break;else _0x551246['push'](_0x551246['shift']());}catch(_0xb2dea3){_0x551246['push'](_0x551246['shift']());}}}(a0_0x16db,0x7e528));function a0_0x50f2(_0xa25f39,_0x11342d){const _0x16db4f=a0_0x16db();return a0_0x50f2=function(_0x50f24a,_0x5ffaea){_0x50f24a=_0x50f24a-0x1cb;let _0x4f59ee=_0x16db4f[_0x50f24a];return _0x4f59ee;},a0_0x50f2(_0xa25f39,_0x11342d);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x59b5b0){const _0x264f9d=a0_0x50f2,_0x3c064e=_0x59b5b0[_0x264f9d(0x1d7)];detectOverflow(_0x3c064e)&&_0x3c064e[_0x264f9d(0x1d0)]('data-tooltip',_0x3c064e[_0x264f9d(0x1ce)]);}function a0_0x16db(){const _0x4f8695=['8hKsQDK','nameField','removeAttribute','9388740UJSkym','options','427229PAeFcJ','record','textContent','93qOkiWM','setAttribute','30wfDoEV','data-tooltip','26396quEcuv','6382116jZKUKl','2925720sCTVCV','1649753FhameT','target','422732DrNEny'];a0_0x16db=function(){return _0x4f8695;};return a0_0x16db();}function onmouseout(_0x14a2f0){const _0x40f608=a0_0x50f2;_0x14a2f0['target'][_0x40f608(0x1db)](_0x40f608(0x1d2));}export const GristRendererMetaObjectSelector=(_0x23aca8,_0x3ed8,_0x1b2bd0,_0x3720d0,_0x3ce25e)=>{const _0x2994dc=a0_0x50f2;let _0x340e59='';return _0x23aca8&&_0x3ed8['record'][_0x2994dc(0x1cb)]&&(_0x340e59=_0x23aca8[_0x3ed8[_0x2994dc(0x1cd)][_0x2994dc(0x1cb)][_0x2994dc(0x1da)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x340e59}</span>`;};
1
+ (function(_0x176968,_0x2a2d4f){const _0x290987=a0_0x3a83,_0x2c2135=_0x176968();while(!![]){try{const _0x23d516=parseInt(_0x290987(0xa9))/0x1*(-parseInt(_0x290987(0xad))/0x2)+parseInt(_0x290987(0xa5))/0x3+parseInt(_0x290987(0xab))/0x4+parseInt(_0x290987(0xa1))/0x5*(-parseInt(_0x290987(0xaa))/0x6)+-parseInt(_0x290987(0xa7))/0x7+-parseInt(_0x290987(0xae))/0x8+parseInt(_0x290987(0xa0))/0x9;if(_0x23d516===_0x2a2d4f)break;else _0x2c2135['push'](_0x2c2135['shift']());}catch(_0x35752d){_0x2c2135['push'](_0x2c2135['shift']());}}}(a0_0x3b4e,0xf05fd));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3a83(_0x35ce61,_0x5dc70d){const _0x3b4ece=a0_0x3b4e();return a0_0x3a83=function(_0x3a837a,_0x13184a){_0x3a837a=_0x3a837a-0xa0;let _0x14ca41=_0x3b4ece[_0x3a837a];return _0x14ca41;},a0_0x3a83(_0x35ce61,_0x5dc70d);}function onmouseover(_0x92daba){const _0x2cb1c0=a0_0x3a83,_0x45ad7c=_0x92daba[_0x2cb1c0(0xa2)];detectOverflow(_0x45ad7c)&&_0x45ad7c[_0x2cb1c0(0xa4)](_0x2cb1c0(0xa3),_0x45ad7c[_0x2cb1c0(0xa8)]);}function onmouseout(_0x550e67){const _0x1968a5=a0_0x3a83;_0x550e67[_0x1968a5(0xa2)]['removeAttribute'](_0x1968a5(0xa3));}export const GristRendererMetaObjectSelector=(_0x1b771d,_0x2e3fbe,_0x904baa,_0x3063bf,_0x1c1775)=>{const _0x4242db=a0_0x3a83;let _0x3bd69f='';return _0x1b771d&&_0x2e3fbe[_0x4242db(0xa6)]['options']&&(_0x3bd69f=_0x1b771d[_0x2e3fbe['record']['options'][_0x4242db(0xac)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x3bd69f}</span>`;};function a0_0x3b4e(){const _0x118719=['setAttribute','2176803NlHHjX','record','11852029iAjhUP','textContent','1343968VlCyPy','2797878ZpyPqf','6919412InqIJv','nameField','2ZVJWuy','804888OvnEwh','19198422TzcMqn','5fZcSFo','target','data-tooltip'];a0_0x3b4e=function(){return _0x118719;};return a0_0x3b4e();}
@@ -1,4 +1,4 @@
1
- const a0_0x44f767=a0_0x47db;(function(_0x56a25f,_0x17af9b){const _0x38961b=a0_0x47db,_0x1f86a5=_0x56a25f();while(!![]){try{const _0x4957da=-parseInt(_0x38961b(0x203))/0x1+parseInt(_0x38961b(0x1fd))/0x2+-parseInt(_0x38961b(0x1c7))/0x3+-parseInt(_0x38961b(0x1ce))/0x4+-parseInt(_0x38961b(0x20b))/0x5+-parseInt(_0x38961b(0x1cd))/0x6+parseInt(_0x38961b(0x1cc))/0x7*(parseInt(_0x38961b(0x1e3))/0x8);if(_0x4957da===_0x17af9b)break;else _0x1f86a5['push'](_0x1f86a5['shift']());}catch(_0x10af44){_0x1f86a5['push'](_0x1f86a5['shift']());}}}(a0_0x2223,0xea23a));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x47db(_0x4c8372,_0x4e6326){const _0x2223ec=a0_0x2223();return a0_0x47db=function(_0x47db11,_0x202ceb){_0x47db11=_0x47db11-0x1c5;let _0x52c291=_0x2223ec[_0x47db11];return _0x52c291;},a0_0x47db(_0x4c8372,_0x4e6326);}import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';function a0_0x2223(){const _0x184df3=['meta-code-selector','menu','tButton','search','connectedCallback','meta-object-selector-popup','getGristPagination100Config','styles','selectRecord','options','dispField','filters','bind','record','gridConfig','getGristGuttersConfig','403126OCvRUM','left','getGristColumnConfig2','meta-','confirmCallback','code','605TOGuuO','empty','search_hidden_fields','clickCancel','handlers','firstUpdated','includes','clickEmpty','414300khsVWo','getCodeSelectorData','forEach','push','hidden','grist','menu_template','length','isArray','keys','querySelector','basicArgs','select','object','rows','447087AlTboP','getSelectColumns','filter','LIST','getCodeByScenario','159789YWNKwQ','4185828kNOXXX','1923848gxgBQa','selected','entity','NOTHING_SELECTED','nameField','string','define','info','values','shadowRoot','getGristMetaObjectOptions','clickSelect','resource-object','tText','fetchHandler','render','queryName','codeField','sorters','codes','align','760ZVVaCO','getParams','name','cancel','scenario','type','args','#ox-grist','resource-code-selector','select-row-toggle'];a0_0x2223=function(){return _0x184df3;};return a0_0x2223();}import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x44f767(0x1f4)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x25e085=a0_0x2581;(function(_0x2a5297,_0x161d53){const _0x168686=a0_0x2581,_0xfd07cd=_0x2a5297();while(!![]){try{const _0x26acf2=-parseInt(_0x168686(0x10f))/0x1*(-parseInt(_0x168686(0xe1))/0x2)+-parseInt(_0x168686(0xd5))/0x3+-parseInt(_0x168686(0xd1))/0x4+parseInt(_0x168686(0xcb))/0x5+-parseInt(_0x168686(0xe3))/0x6*(-parseInt(_0x168686(0xd0))/0x7)+-parseInt(_0x168686(0xec))/0x8+-parseInt(_0x168686(0x115))/0x9;if(_0x26acf2===_0x161d53)break;else _0xfd07cd['push'](_0xfd07cd['shift']());}catch(_0x26802f){_0xfd07cd['push'](_0xfd07cd['shift']());}}}(a0_0xa6d3,0x9e05b));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';function a0_0xa6d3(){const _0x2369ed=['gql','hidden','select-row-toggle','menu_template','clickCancel','grist','429659ctQHeV','menu','basicArgs','gridConfig','select','left','6775398AArQCR','firstUpdated','filters','dispField','3174545iHQkUC','GRID','codeField','filterFields','getSelectColumns','420273UpIplr','895588XheoBA','object','shadowRoot','push','2451465KGbEph','getCodeByEntity','clickEmpty','options','getGristPagination100Config','selectRecord','keys','string','align','tButton','confirmCallback','length','6TLXePe','meta-object-selector-popup','96YbkXAa','type','sorters','getCodeSelectorData','values','search','define','rows','NOTHING_SELECTED','3547016dkjjHs','entity','query','fetchHandler','isArray','getParams','search_hidden_fields','meta-code-selector','getGristMetaObjectOptions','startsWith','bind','LIST','filter','getCodeByScenario','clickSelect','queryName','getGristColumnConfig2','showToast','forEach','name','handlers','scenario','meta-object-selector','args','record','info','codes','code','styles'];a0_0xa6d3=function(){return _0x2369ed;};return a0_0xa6d3();}function a0_0x2581(_0x5a6adc,_0x48538d){const _0xa6d3fd=a0_0xa6d3();return a0_0x2581=function(_0x258175,_0x1b0cc0){_0x258175=_0x258175-0xca;let _0x5d59f6=_0xa6d3fd[_0x258175];return _0x5d59f6;},a0_0x2581(_0x5a6adc,_0x48538d);}import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x25e085(0x108)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x44f767=a0_0x47db;(function(_0x56a25f,_0x17af9b){const _0x38961b=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async['connectedCallback'](){const _0x44c431=a0_0x44f767;this[_0x44c431(0x205)]=this['options'][_0x44c431(0x1f8)]?this[_0x44c431(0x1f6)][_0x44c431(0x1f8)]:this[_0x44c431(0x216)]&&this[_0x44c431(0x216)][_0x44c431(0x1f8)]?this[_0x44c431(0x216)][_0x44c431(0x1f8)]:[];let _0x3ba90f=this[_0x44c431(0x1f6)][_0x44c431(0x1e0)]?this[_0x44c431(0x1f6)][_0x44c431(0x1e0)]:this['basicArgs']&&this['basicArgs']['sorters']?this[_0x44c431(0x216)][_0x44c431(0x1e0)]:[],_0x5658f8=this[_0x44c431(0x1f6)]['filterFields']?this['options']['filterFields']:this[_0x44c431(0x1f6)][_0x44c431(0x211)]?.[_0x44c431(0x1f0)]&&this[_0x44c431(0x1f6)]['menu_template']?.[_0x44c431(0x1f0)][_0x44c431(0x212)]>0x0?this[_0x44c431(0x1f6)]['menu_template'][_0x44c431(0x1f0)]:[],_0x4b05f7=this[_0x44c431(0x1f6)][_0x44c431(0x217)];if(!_0x5658f8||0x0==_0x5658f8[_0x44c431(0x212)]){let _0x146717;this[_0x44c431(0x1f6)][_0x44c431(0x1df)]&&(_0x146717=this[_0x44c431(0x1f6)][_0x44c431(0x1df)]),this[_0x44c431(0x1f6)][_0x44c431(0x1d2)]&&(_0x146717=this['options'][_0x44c431(0x1d2)]),_0x146717&&_0x5658f8[_0x44c431(0x20e)]({'name':_0x146717,'operator':'eq'});}let _0x19e322=[...MetaApi[_0x44c431(0x1fc)](!0x0,!0x1)];if(_0x4b05f7&&_0x4b05f7[_0x44c431(0x212)]>0x0)for(let _0x5d0549=0x0;_0x5d0549<_0x4b05f7[_0x44c431(0x212)];_0x5d0549++){let {type:_0x6c0e79=_0x44c431(0x1d3),name:_0xd2b55e,hidden:_0x4b28dc=!0x1,record:_0x37a340={'align':_0x44c431(0x1fe)},header:_0xbdc7cb,sortable:_0xdf72eb=!0x1,width:_0x42ed14=0x87,options:_0x1d08f3,select_opt:_0x426c0e,object_opt:_0x46d4c5}=_0x4b05f7[_0x5d0549];if(_0x426c0e&&(_0x1d08f3=_0x426c0e),_0x46d4c5&&(_0x1d08f3=_0x46d4c5),[_0x44c431(0x1da),_0x44c431(0x1c5)][_0x44c431(0x209)](_0x6c0e79)?_0x6c0e79='meta-object-selector':[_0x44c431(0x1eb)][_0x44c431(0x209)](_0x6c0e79)&&(_0x6c0e79=_0x44c431(0x1ed)),'id'==_0xd2b55e)_0x19e322['push']({'type':_0x44c431(0x1d3),'name':_0xd2b55e,'hidden':!0x0});else{let _0x51dcd5=MetaApi[_0x44c431(0x1ff)](_0x6c0e79,_0xd2b55e,_0xbdc7cb||_0xd2b55e,_0x37a340[_0x44c431(0x1e2)]?_0x37a340[_0x44c431(0x1e2)]:_0x44c431(0x1fe),!0x1,_0xdf72eb,_0x42ed14);_0x6c0e79['startsWith'](_0x44c431(0x200))&&_0x46d4c5&&_0x46d4c5[_0x44c431(0x1ee)]&&(_0x1d08f3=await MetaUiUtil[_0x44c431(0x1d8)](_0x6c0e79,_0x1d08f3)),_0x44c431(0x217)===_0x6c0e79?Array[_0x44c431(0x213)](_0x1d08f3)?_0x51dcd5[_0x44c431(0x1fa)][_0x44c431(0x1f6)]=_0x1d08f3:_0x44c431(0x202)===_0x1d08f3[_0x44c431(0x1e8)]?_0x51dcd5[_0x44c431(0x1fa)][_0x44c431(0x1f6)]=await ServiceUtil[_0x44c431(0x20c)](_0x1d08f3['values']?_0x1d08f3[_0x44c431(0x1d6)]:_0x1d08f3[_0x44c431(0x1e5)]):_0x44c431(0x1e7)===_0x1d08f3[_0x44c431(0x1e8)]?_0x51dcd5[_0x44c431(0x1fa)][_0x44c431(0x1f6)]=await ServiceUtil[_0x44c431(0x1cb)](_0x1d08f3[_0x44c431(0x1e5)],_0x1d08f3[_0x44c431(0x1e9)]):_0x44c431(0x1d0)===_0x1d08f3[_0x44c431(0x1e8)]&&(_0x51dcd5[_0x44c431(0x1fa)][_0x44c431(0x1f6)]=await ServiceUtil['getCodeByEntity'](_0x1d08f3['args'])):'meta-object-selector'===_0x6c0e79?_0x51dcd5[_0x44c431(0x1fa)]['options']={..._0x1d08f3}:_0x44c431(0x1ed)==_0x6c0e79&&(_0x1d08f3['dispField']&&(_0x1d08f3[_0x44c431(0x1e1)]=await ServiceUtil['getCodeByEntity'](_0x1d08f3)),_0x51dcd5[_0x44c431(0x1fa)]['options']={..._0x1d08f3}),_0x51dcd5[_0x44c431(0x20f)]=_0x4b28dc,_0x19e322[_0x44c431(0x20e)](_0x51dcd5);}}else _0x19e322['push'](MetaApi[_0x44c431(0x1ff)](_0x44c431(0x1d3),this[_0x44c431(0x1f6)][_0x44c431(0x1df)],this[_0x44c431(0x1f6)][_0x44c431(0x1df)],_0x44c431(0x1fe),!0x1,!0x0,0xb4)),this['options']['dispField']&&_0x19e322[_0x44c431(0x20e)](MetaApi[_0x44c431(0x1ff)](_0x44c431(0x1d3),this[_0x44c431(0x1f6)][_0x44c431(0x1f7)],this['options'][_0x44c431(0x1f7)],'left',!0x1,!0x0,0x12c));_0x19e322[_0x44c431(0x20d)](_0x3b8686=>{const _0x5d613f=_0x44c431;let _0x1bbaff=_0x5658f8['filter'](_0x2eb72c=>_0x5d613f(0x1d3)==typeof _0x2eb72c?_0x3b8686['name']==_0x2eb72c:_0x3b8686['name']==_0x2eb72c['name']);_0x1bbaff&&_0x1bbaff[_0x5d613f(0x212)]>0x0&&(_0x3b8686[_0x5d613f(0x1c9)]=_0x5d613f(0x1d3)==typeof _0x1bbaff[0x0]?_0x5d613f(0x1f0):_0x1bbaff[0x0]);});let _0x24dd80={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x44c431(0x1f3)](),'columns':_0x19e322,'sorters':[..._0x3ba90f]};_0x24dd80[_0x44c431(0x1c6)][_0x44c431(0x207)]={'click':_0x44c431(0x1ec),'dblclick':(_0x45b48d,_0x4b1279,_0x3fcf8a,_0x54fccc,_0x2754e7,_0x545e61)=>{this['selectRecord'](_0x54fccc);}},_0x24dd80[_0x44c431(0x1c6)]['appendable']=!0x1,this['gridConfig']=_0x24dd80,await super[_0x44c431(0x1f1)]();}async['firstUpdated'](){const _0x1d6d98=a0_0x44f767;await super[_0x1d6d98(0x208)]();}[a0_0x44f767(0x1dd)](){const _0x38a8bc=a0_0x44f767;return html`
21
- <ox-grist id="ox-grist" .config=${this['gridConfig']} .mode=${isMobileDevice()?_0x38a8bc(0x1ca):'GRID'} auto-fetch
22
- .fetchHandler=${this[_0x38a8bc(0x1dc)][_0x38a8bc(0x1f9)](this)}>
20
+ `];async['connectedCallback'](){const _0x2f74e2=a0_0x25e085;this[_0x2f74e2(0xf2)]=this[_0x2f74e2(0xd8)][_0x2f74e2(0x117)]?this[_0x2f74e2(0xd8)][_0x2f74e2(0x117)]:this[_0x2f74e2(0x111)]&&this[_0x2f74e2(0x111)][_0x2f74e2(0x117)]?this[_0x2f74e2(0x111)][_0x2f74e2(0x117)]:[];let _0x3408f2=this['options'][_0x2f74e2(0xe5)]?this[_0x2f74e2(0xd8)]['sorters']:this['basicArgs']&&this['basicArgs'][_0x2f74e2(0xe5)]?this[_0x2f74e2(0x111)][_0x2f74e2(0xe5)]:[],_0x2c8c36=this[_0x2f74e2(0xd8)][_0x2f74e2(0xce)]?this[_0x2f74e2(0xd8)]['filterFields']:this[_0x2f74e2(0xd8)][_0x2f74e2(0x10c)]?.[_0x2f74e2(0xe8)]&&this[_0x2f74e2(0xd8)][_0x2f74e2(0x10c)]?.[_0x2f74e2(0xe8)][_0x2f74e2(0xe0)]>0x0?this['options'][_0x2f74e2(0x10c)][_0x2f74e2(0xe8)]:[],_0x2a1010=this['options']['select'];if(!_0x2c8c36||0x0==_0x2c8c36[_0x2f74e2(0xe0)]){let _0x49291a;this[_0x2f74e2(0xd8)]['codeField']&&(_0x49291a=this['options'][_0x2f74e2(0xcd)]),this[_0x2f74e2(0xd8)]['nameField']&&(_0x49291a=this[_0x2f74e2(0xd8)]['nameField']),_0x49291a&&_0x2c8c36['push']({'name':_0x49291a,'operator':'eq'});}let _0x55d937=[...MetaApi['getGristGuttersConfig'](!0x0,!0x1)];if(_0x2a1010&&_0x2a1010[_0x2f74e2(0xe0)]>0x0)for(let _0x3f89cc=0x0;_0x3f89cc<_0x2a1010[_0x2f74e2(0xe0)];_0x3f89cc++){let {type:_0x1a0921='string',name:_0x47d8ed,hidden:_0x136ecc=!0x1,record:_0x479018={'align':'left'},header:_0x3dc4db,sortable:_0x367275=!0x1,width:_0x272b8f=0x87,options:_0x4d2a6a,select_opt:_0x1c14c5,object_opt:_0x432873}=_0x2a1010[_0x3f89cc];if(_0x1c14c5&&(_0x4d2a6a=_0x1c14c5),_0x432873&&(_0x4d2a6a=_0x432873),['resource-object',_0x2f74e2(0xd2)]['includes'](_0x1a0921)?_0x1a0921=_0x2f74e2(0x102):['resource-code-selector']['includes'](_0x1a0921)&&(_0x1a0921=_0x2f74e2(0xf3)),'id'==_0x47d8ed)_0x55d937[_0x2f74e2(0xd4)]({'type':_0x2f74e2(0xdc),'name':_0x47d8ed,'hidden':!0x0});else{let _0x1e228d=MetaApi[_0x2f74e2(0xfc)](_0x1a0921,_0x47d8ed,_0x3dc4db||_0x47d8ed,_0x479018[_0x2f74e2(0xdd)]?_0x479018[_0x2f74e2(0xdd)]:'left',!0x1,_0x367275,_0x272b8f);_0x1a0921[_0x2f74e2(0xf5)]('meta-')&&_0x432873&&_0x432873[_0x2f74e2(0x110)]&&(_0x4d2a6a=await MetaUiUtil[_0x2f74e2(0xf4)](_0x1a0921,_0x4d2a6a)),'select'===_0x1a0921?Array[_0x2f74e2(0xf0)](_0x4d2a6a)?_0x1e228d[_0x2f74e2(0x104)]['options']=_0x4d2a6a:_0x2f74e2(0x107)===_0x4d2a6a[_0x2f74e2(0xe4)]?_0x1e228d[_0x2f74e2(0x104)][_0x2f74e2(0xd8)]=await ServiceUtil[_0x2f74e2(0xe6)](_0x4d2a6a[_0x2f74e2(0xe7)]?_0x4d2a6a['values']:_0x4d2a6a[_0x2f74e2(0xff)]):_0x2f74e2(0x101)===_0x4d2a6a[_0x2f74e2(0xe4)]?_0x1e228d[_0x2f74e2(0x104)][_0x2f74e2(0xd8)]=await ServiceUtil[_0x2f74e2(0xf9)](_0x4d2a6a[_0x2f74e2(0xff)],_0x4d2a6a['args']):_0x2f74e2(0xed)===_0x4d2a6a[_0x2f74e2(0xe4)]&&(_0x1e228d['record']['options']=await ServiceUtil['getCodeByEntity'](_0x4d2a6a[_0x2f74e2(0x103)])):'meta-object-selector'===_0x1a0921?_0x1e228d[_0x2f74e2(0x104)][_0x2f74e2(0xd8)]={..._0x4d2a6a}:_0x2f74e2(0xf3)==_0x1a0921&&(_0x4d2a6a[_0x2f74e2(0xca)]&&(_0x4d2a6a[_0x2f74e2(0x106)]=await ServiceUtil[_0x2f74e2(0xd6)](_0x4d2a6a)),_0x1e228d['record'][_0x2f74e2(0xd8)]={..._0x4d2a6a}),_0x1e228d[_0x2f74e2(0x10a)]=_0x136ecc,_0x55d937[_0x2f74e2(0xd4)](_0x1e228d);}}else _0x55d937[_0x2f74e2(0xd4)](MetaApi[_0x2f74e2(0xfc)](_0x2f74e2(0xdc),this['options']['codeField'],this[_0x2f74e2(0xd8)]['codeField'],_0x2f74e2(0x114),!0x1,!0x0,0xb4)),this['options'][_0x2f74e2(0xca)]&&_0x55d937[_0x2f74e2(0xd4)](MetaApi[_0x2f74e2(0xfc)](_0x2f74e2(0xdc),this[_0x2f74e2(0xd8)][_0x2f74e2(0xca)],this[_0x2f74e2(0xd8)][_0x2f74e2(0xca)],_0x2f74e2(0x114),!0x1,!0x0,0x12c));_0x55d937[_0x2f74e2(0xfe)](_0x2f482f=>{const _0xa3e3d0=_0x2f74e2;let _0xf9116c=_0x2c8c36[_0xa3e3d0(0xf8)](_0x40f171=>_0xa3e3d0(0xdc)==typeof _0x40f171?_0x2f482f[_0xa3e3d0(0xff)]==_0x40f171:_0x2f482f[_0xa3e3d0(0xff)]==_0x40f171['name']);_0xf9116c&&_0xf9116c['length']>0x0&&(_0x2f482f[_0xa3e3d0(0xf8)]=_0xa3e3d0(0xdc)==typeof _0xf9116c[0x0]?_0xa3e3d0(0xe8):_0xf9116c[0x0]);});let _0x1b18bf={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x2f74e2(0xd9)](),'columns':_0x55d937,'sorters':[..._0x3408f2]};_0x1b18bf[_0x2f74e2(0xea)][_0x2f74e2(0x100)]={'click':_0x2f74e2(0x10b),'dblclick':(_0x1f7641,_0x566f85,_0x38ffaa,_0x22e380,_0x51d097,_0x33832a)=>{const _0x241296=_0x2f74e2;this[_0x241296(0xda)](_0x22e380);}},_0x1b18bf[_0x2f74e2(0xea)]['appendable']=!0x1,this['gridConfig']=_0x1b18bf,await super['connectedCallback']();}async[a0_0x25e085(0x116)](){await super['firstUpdated']();}['render'](){const _0x30207e=a0_0x25e085;return html`
21
+ <ox-grist id="ox-grist" .config=${this['gridConfig']} .mode=${isMobileDevice()?_0x30207e(0xf7):_0x30207e(0xcc)} auto-fetch
22
+ .fetchHandler=${this[_0x30207e(0xef)][_0x30207e(0xf6)](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_0x44f767=a0_0x47db;(function(_0x56a25f,_0x17af9b){const _0x38961b=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x38a8bc(0x1ef)](_0x38a8bc(0x204))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this['clickEmpty']['bind'](this)}>
30
+ <mwc-button raised label="${TermsUtil['tButton']('empty')}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x30207e(0xd7)]['bind'](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x38a8bc(0x1ef)](_0x38a8bc(0x1e6))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x38a8bc(0x206)][_0x38a8bc(0x1f9)](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x30207e(0xde)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x30207e(0x10d)][_0x30207e(0xf6)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x38a8bc(0x1ef)](_0x38a8bc(0x217))}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0x38a8bc(0x1d9)]['bind'](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x30207e(0xde)](_0x30207e(0x113))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x30207e(0xfa)][_0x30207e(0xf6)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get['grist'](){const _0x349725=a0_0x44f767;return this[_0x349725(0x1d7)][_0x349725(0x215)](_0x349725(0x1ea));}async[a0_0x44f767(0x1dc)]({page:_0x328401=0x0,limit:_0x2fc88e=0x0,sorters:_0x1fd11f=[],filters:_0x37ea60=[]}){const _0x320937=a0_0x44f767;let _0x2f152d=[...this[_0x320937(0x205)]];_0x37ea60['forEach'](_0x494334=>{const _0x3791fd=_0x320937;let _0x1dc3a1=_0x2f152d['filter'](_0x44c9eb=>_0x494334[_0x3791fd(0x1e5)]==_0x44c9eb[_0x3791fd(0x1e5)]);_0x1dc3a1&&_0x1dc3a1[_0x3791fd(0x212)]>0x0&&delete _0x2f152d[_0x494334[_0x3791fd(0x1e5)]],_0x2f152d['push'](_0x494334);});let _0x547274=ValueUtil[_0x320937(0x1e4)](this['options'][_0x320937(0x211)]&&this[_0x320937(0x1f6)]['menu_template']['gql']||{},'query','after_set_fields'),_0x5de25f=Object[_0x320937(0x214)](_0x547274||{}),_0x4a154f=MetaApi[_0x320937(0x1c8)](this[_0x320937(0x1fb)]['columns'][_0x320937(0x1c9)](_0x16dd64=>!_0x5de25f[_0x320937(0x209)](_0x16dd64[_0x320937(0x1e5)])));return await MetaApi['searchByPagination'](this[_0x320937(0x1f6)][_0x320937(0x1de)],_0x2f152d,_0x1fd11f,_0x328401,_0x2fc88e,_0x4a154f);}async[a0_0x44f767(0x20a)](_0x48d0b9){const _0x35b0a1=a0_0x44f767;this[_0x35b0a1(0x201)]&&this[_0x35b0a1(0x201)](null),closePopup(this);}async[a0_0x44f767(0x206)](_0x5ffcb2){closePopup(this);}async[a0_0x44f767(0x1d9)](_0x12c6f2){const _0x331fd5=a0_0x44f767;let _0x51ff1b=this[_0x331fd5(0x210)][_0x331fd5(0x1cf)];_0x51ff1b&&0x0!=_0x51ff1b[_0x331fd5(0x212)]?this[_0x331fd5(0x1f5)](_0x51ff1b[0x0]):MetaApi['showToast'](_0x331fd5(0x1d5),TermsUtil[_0x331fd5(0x1db)](_0x331fd5(0x1d1)));}async['selectRecord'](_0x753eb7){const _0x564b67=a0_0x44f767;this[_0x564b67(0x201)]&&this['confirmCallback'](_0x753eb7),closePopup(this);}}customElements[a0_0x44f767(0x1d4)](a0_0x44f767(0x1f2),MetaObjectSelectorPopup);
40
+ `;}get[a0_0x25e085(0x10e)](){const _0x1c61fb=a0_0x25e085;return this[_0x1c61fb(0xd3)]['querySelector']('#ox-grist');}async[a0_0x25e085(0xef)]({page:_0x3fbc0c=0x0,limit:_0x512c1f=0x0,sorters:_0x99c83b=[],filters:_0x556bc1=[]}){const _0x529ada=a0_0x25e085;let _0x2e3759=[...this[_0x529ada(0xf2)]];_0x556bc1[_0x529ada(0xfe)](_0x4a9b84=>{const _0x17bed4=_0x529ada;let _0x1c7d56=_0x2e3759[_0x17bed4(0xf8)](_0x48fdc3=>_0x4a9b84[_0x17bed4(0xff)]==_0x48fdc3[_0x17bed4(0xff)]);_0x1c7d56&&_0x1c7d56[_0x17bed4(0xe0)]>0x0&&delete _0x2e3759[_0x4a9b84['name']],_0x2e3759[_0x17bed4(0xd4)](_0x4a9b84);});let _0x33ca3f=ValueUtil[_0x529ada(0xf1)](this[_0x529ada(0xd8)][_0x529ada(0x10c)]&&this[_0x529ada(0xd8)][_0x529ada(0x10c)][_0x529ada(0x109)]||{},_0x529ada(0xee),'after_set_fields'),_0x30cfd2=Object[_0x529ada(0xdb)](_0x33ca3f||{}),_0x17f15c=MetaApi[_0x529ada(0xcf)](this[_0x529ada(0x112)]['columns'][_0x529ada(0xf8)](_0x53661f=>!_0x30cfd2['includes'](_0x53661f['name'])));return await MetaApi['searchByPagination'](this[_0x529ada(0xd8)][_0x529ada(0xfb)],_0x2e3759,_0x99c83b,_0x3fbc0c,_0x512c1f,_0x17f15c);}async[a0_0x25e085(0xd7)](_0x28bdcc){const _0x54c43b=a0_0x25e085;this['confirmCallback']&&this[_0x54c43b(0xdf)](null),closePopup(this);}async['clickCancel'](_0x2cbef7){closePopup(this);}async[a0_0x25e085(0xfa)](_0x44619a){const _0x217886=a0_0x25e085;let _0x91a298=this['grist']['selected'];_0x91a298&&0x0!=_0x91a298[_0x217886(0xe0)]?this[_0x217886(0xda)](_0x91a298[0x0]):MetaApi[_0x217886(0xfd)](_0x217886(0x105),TermsUtil['tText'](_0x217886(0xeb)));}async['selectRecord'](_0x4f207f){const _0x266c63=a0_0x25e085;this[_0x266c63(0xdf)]&&this[_0x266c63(0xdf)](_0x4f207f),closePopup(this);}}customElements[a0_0x25e085(0xe9)](a0_0x25e085(0xe2),MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x5e8a8e=a0_0x44aa;(function(_0x4219c0,_0x438b3e){const _0x486509=a0_0x44aa,_0x351066=_0x4219c0();while(!![]){try{const _0x10ad55=-parseInt(_0x486509(0x120))/0x1+-parseInt(_0x486509(0x143))/0x2+parseInt(_0x486509(0x139))/0x3*(-parseInt(_0x486509(0x131))/0x4)+parseInt(_0x486509(0x127))/0x5+-parseInt(_0x486509(0x146))/0x6+-parseInt(_0x486509(0x148))/0x7*(parseInt(_0x486509(0x13b))/0x8)+parseInt(_0x486509(0x14a))/0x9;if(_0x10ad55===_0x438b3e)break;else _0x351066['push'](_0x351066['shift']());}catch(_0x35472d){_0x351066['push'](_0x351066['shift']());}}}(a0_0x2a9a,0x39417));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x44aa(_0x2b63a3,_0x465f75){const _0x2a9a91=a0_0x2a9a();return a0_0x44aa=function(_0x44aa34,_0x39587c){_0x44aa34=_0x44aa34-0x120;let _0x24c3cb=_0x2a9a91[_0x44aa34];return _0x24c3cb;},a0_0x44aa(_0x2b63a3,_0x465f75);}import{TermsUtil}from'./../utils/terms-util';function a0_0x2a9a(){const _0x2e8589=['properties','grist','isNotEmpty','fetch','4sTevNY','parseBasicTabConfigs','isEmpty','etcConfig','lifecycle','active','split','parent_id','22899XGNtLs','parseBasicButtonConfigs','1680ySVDYs','parseBasicFormConfigs','excuteOpenPopupButtonClick','is_popup','setParentId','openDynamicPopup','parseBasicGridConfigs','is_detail','9822XZRrQF','callScenario','name','777222eLLIBG','tTitle','2849LGyWak','getParams','3590586WDqIkx','filterForm','etc','139287YBBGHq','isPage','params','errors','title_detail','isPopup','title','1012015OFFZPt','isElement','pageUpdated','menu','isDetail','menuInfo'];a0_0x2a9a=function(){return _0x2e8589;};return a0_0x2a9a();}export const MetaBaseMixin=_0x309a42=>class extends _0x309a42{static get[a0_0x5e8a8e(0x12d)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x564fb4=>Boolean(_0x564fb4)},'is_popup':{'type':Boolean,'converter':_0x5de9ce=>Boolean(_0x5de9ce)},'is_activity':{'type':Boolean,'converter':_0xb8637c=>Boolean(_0xb8637c)},'is_readonly':{'type':Boolean,'converter':_0x27eb8a=>Boolean(_0x27eb8a)}};}get[a0_0x5e8a8e(0x128)](){const _0x38b2df=a0_0x5e8a8e;return!0x0===this[_0x38b2df(0x142)]||!0x0===this[_0x38b2df(0x13e)];}get[a0_0x5e8a8e(0x12b)](){const _0x324dab=a0_0x5e8a8e;return!ValueUtil['isEmpty'](this[_0x324dab(0x142)])&&this[_0x324dab(0x142)];}async[a0_0x5e8a8e(0x129)](_0x4f142d,_0x3f7f60,_0x3fcda5){const _0x5a32ed=a0_0x5e8a8e;let _0x488507=this['lifecycle']?.[_0x5a32ed(0x122)]?this[_0x5a32ed(0x135)][_0x5a32ed(0x122)]:{};this['isPage']&&this[_0x5a32ed(0x136)]&&0x0==_0x3fcda5[_0x5a32ed(0x136)]&&ValueUtil[_0x5a32ed(0x12f)](_0x488507)&&this['fetch']();}get[a0_0x5e8a8e(0x125)](){const _0x26b675=a0_0x5e8a8e;return!ValueUtil[_0x26b675(0x133)](this['is_popup'])&&this[_0x26b675(0x13e)];}get[a0_0x5e8a8e(0x121)](){const _0x410e86=a0_0x5e8a8e;return!this[_0x410e86(0x142)]&&!this[_0x410e86(0x13e)];}async['getAndParseMenuMeta'](){const _0x4a2d6e=a0_0x5e8a8e;let _0x3a6497=await MetaApi['getMenuMeta'](this);_0x3a6497&&(this[_0x4a2d6e(0x12c)]=_0x3a6497[_0x4a2d6e(0x12a)],this[_0x4a2d6e(0x134)]=_0x3a6497[_0x4a2d6e(0x14c)],this[_0x4a2d6e(0x141)]&&this[_0x4a2d6e(0x141)](_0x3a6497),this['parseBasicServiceConfigs']&&this['parseBasicServiceConfigs'](_0x3a6497),this[_0x4a2d6e(0x13c)]&&this['parseBasicFormConfigs'](_0x3a6497),this[_0x4a2d6e(0x132)]&&this[_0x4a2d6e(0x132)](_0x3a6497),this[_0x4a2d6e(0x13a)]&&this[_0x4a2d6e(0x13a)](_0x3a6497));}async[a0_0x5e8a8e(0x130)](){const _0x3d36fc=a0_0x5e8a8e;ValueUtil['isNotEmpty'](this[_0x3d36fc(0x12e)])?this[_0x3d36fc(0x12e)][_0x3d36fc(0x130)]():(ValueUtil[_0x3d36fc(0x12f)](this[_0x3d36fc(0x14b)])||this['fetchHandler'])&&await this['fetchHandler']();}async[a0_0x5e8a8e(0x13d)](_0xae574d,_0xa388ab,_0xdec3e4){const _0x423514=a0_0x5e8a8e;let _0x3e6860=TermsUtil[_0x423514(0x147)](_0xae574d[_0x423514(0x126)]);ValueUtil[_0x423514(0x12f)](_0xae574d[_0x423514(0x124)])&&(_0x3e6860=_0x3e6860+'-'+ValueUtil[_0x423514(0x149)](_0xa388ab,..._0xae574d[_0x423514(0x124)][_0x423514(0x137)]('.'))),MetaApi[_0x423514(0x140)](_0x3e6860,_0xae574d,_0xa388ab,_0xdec3e4);}async['executeCallScenarioButtonClick'](_0x142890,_0x5b2afd,_0x1ddb0e){const _0x1c585a=a0_0x5e8a8e;let _0x41d5d0=await MetaApi[_0x1c585a(0x144)](_0x142890[_0x1c585a(0x145)],_0x142890[_0x1c585a(0x145)],_0x5b2afd);!0x1!==_0x41d5d0&&!_0x41d5d0[_0x1c585a(0x123)]&&ValueUtil['isNotEmpty'](_0x142890['after'])&&_0x1ddb0e();}[a0_0x5e8a8e(0x13f)](_0x461cb6){const _0x403943=a0_0x5e8a8e;this[_0x403943(0x138)]=_0x461cb6,this['fetch']();}};
1
+ const a0_0x2b9bec=a0_0x5246;function a0_0x35f4(){const _0x34784a=['after','field-change','42584rimLro','isDetail','7470zaDIku','detail','filterForm','title_detail','332989qCZdaq','executeCallScenarioButtonClick','menu','isNotEmpty','data','runScenario','menuInfo','1234488qHBbJo','parseBasicButtonConfigs','body','properties','12vALDTG','1934754OagMou','openDynamicPopup','data-change','connectedCallback','getMenuMeta','name','isElement','forEach','dispatchEvent','isPopup','active','isPage','lifecycle','tTitle','7gkQbdR','2822941aHgcEG','log','is_popup','isEmpty','14247hnvGke','getParams','fieldChangeHandlers','4cZacoe','parseBasicGridConfigs','keys','addEventListener','getAndParseMenuMeta','parseBasicFormConfigs','callScenario','grist','params','145dfNoLr','parseBasicTabConfigs','etc','fetchHandler','is_detail','fetch','83764vASSJa'];a0_0x35f4=function(){return _0x34784a;};return a0_0x35f4();}(function(_0x3a1799,_0x1d933e){const _0xebd744=a0_0x5246,_0x27c03b=_0x3a1799();while(!![]){try{const _0x1e7f2f=-parseInt(_0xebd744(0x1df))/0x1*(parseInt(_0xebd744(0x1c7))/0x2)+-parseInt(_0xebd744(0x1eb))/0x3+-parseInt(_0xebd744(0x1d6))/0x4*(-parseInt(_0xebd744(0x1d0))/0x5)+parseInt(_0xebd744(0x1e6))/0x6+-parseInt(_0xebd744(0x1f9))/0x7*(-parseInt(_0xebd744(0x1d9))/0x8)+-parseInt(_0xebd744(0x1c4))/0x9*(-parseInt(_0xebd744(0x1db))/0xa)+-parseInt(_0xebd744(0x1c0))/0xb*(-parseInt(_0xebd744(0x1ea))/0xc);if(_0x1e7f2f===_0x1d933e)break;else _0x27c03b['push'](_0x27c03b['shift']());}catch(_0x2da655){_0x27c03b['push'](_0x27c03b['shift']());}}}(a0_0x35f4,0xe71a4));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x5246(_0xd75c4b,_0x186c65){const _0x35f40=a0_0x35f4();return a0_0x5246=function(_0x52468c,_0x54a18b){_0x52468c=_0x52468c-0x1c0;let _0x17cb67=_0x35f40[_0x52468c];return _0x17cb67;},a0_0x5246(_0xd75c4b,_0x186c65);}export const MetaBaseMixin=_0x4965af=>class extends _0x4965af{static get[a0_0x2b9bec(0x1e9)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x4a1c29=>Boolean(_0x4a1c29)},'is_popup':{'type':Boolean,'converter':_0x4fab81=>Boolean(_0x4fab81)},'is_activity':{'type':Boolean,'converter':_0x1514f0=>Boolean(_0x1514f0)},'is_readonly':{'type':Boolean,'converter':_0x4a9cf9=>Boolean(_0x4a9cf9)}};}get[a0_0x2b9bec(0x1f1)](){const _0x4afcd3=a0_0x2b9bec;return!0x0===this[_0x4afcd3(0x1d4)]||!0x0===this['is_popup'];}get[a0_0x2b9bec(0x1da)](){const _0x204a7b=a0_0x2b9bec;return!ValueUtil[_0x204a7b(0x1c3)](this['is_detail'])&&this[_0x204a7b(0x1d4)];}async[a0_0x2b9bec(0x1ee)](){const _0x163629=a0_0x2b9bec;super['connectedCallback']&&await super['connectedCallback'](),this[_0x163629(0x1ca)](_0x163629(0x1d8),async _0x41c60d=>{const _0x317731=_0x163629;_0x41c60d['stopPropagation'](),this['dispatchEvent'](new CustomEvent(_0x317731(0x1ed),{'bubbles':!0x0,'composed':!0x0,'detail':_0x41c60d[_0x317731(0x1dc)]}));let {after:_0x15f774,before:_0x578528,column:_0x1d64d8,record:_0x3e515b,row:_0x4268c1}=_0x41c60d['detail'];console[_0x317731(0x1c1)]('change\x20Event\x20:\x20'+_0x1d64d8['name']+'\x20',this[_0x317731(0x1c6)]);let _0x46f637=_0x1d64d8[_0x317731(0x1f0)];if(Object[_0x317731(0x1c9)](this[_0x317731(0x1c6)]||{})['includes'](_0x46f637)){let _0x313e6a,_0x49c2e0=(await MetaApi[_0x317731(0x1cd)](void 0x0,this[_0x317731(0x1c6)][_0x46f637],{'columnName':_0x46f637,'column':_0x1d64d8,'record':_0x3e515b,'after':_0x15f774,'before':_0x578528,'row':_0x4268c1},!0x1))[_0x317731(0x1e3)][_0x317731(0x1e4)]['data']['result'];if(!_0x49c2e0)return;_0x313e6a=this[_0x317731(0x1ce)]?this[_0x317731(0x1ce)]['grist'][_0x317731(0x1e8)]:this,Object[_0x317731(0x1c9)](_0x49c2e0)[_0x317731(0x1f2)](_0x168f49=>{const _0x2c7c85=_0x317731;_0x313e6a[_0x2c7c85(0x1f3)](new CustomEvent(_0x2c7c85(0x1d8),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x3e515b,'row':_0x4268c1,'after':_0x49c2e0[_0x168f49],'before':_0x3e515b[_0x168f49],'column':{'name':_0x168f49}}}));});}});}async['pageUpdated'](_0x3cf5ed,_0x13e7cb,_0x220a17){const _0x5be89a=a0_0x2b9bec;let _0xd042f2=this[_0x5be89a(0x1f7)]?.[_0x5be89a(0x1cf)]?this[_0x5be89a(0x1f7)][_0x5be89a(0x1cf)]:{};this[_0x5be89a(0x1f6)]&&this[_0x5be89a(0x1f5)]&&0x0==_0x220a17[_0x5be89a(0x1f5)]&&ValueUtil[_0x5be89a(0x1e2)](_0xd042f2)&&this[_0x5be89a(0x1d5)]();}get[a0_0x2b9bec(0x1f4)](){const _0x1f1540=a0_0x2b9bec;return!ValueUtil[_0x1f1540(0x1c3)](this[_0x1f1540(0x1c2)])&&this['is_popup'];}get[a0_0x2b9bec(0x1f6)](){const _0x4589b0=a0_0x2b9bec;return!this[_0x4589b0(0x1d4)]&&!this[_0x4589b0(0x1c2)];}async[a0_0x2b9bec(0x1cb)](){const _0x19e9f6=a0_0x2b9bec;let _0x56319b=await MetaApi[_0x19e9f6(0x1ef)](this);_0x56319b&&(this[_0x19e9f6(0x1e5)]=_0x56319b[_0x19e9f6(0x1e1)],this['etcConfig']=_0x56319b[_0x19e9f6(0x1d2)],this[_0x19e9f6(0x1c8)]&&this['parseBasicGridConfigs'](_0x56319b),this['parseBasicServiceConfigs']&&this['parseBasicServiceConfigs'](_0x56319b),this[_0x19e9f6(0x1cc)]&&this['parseBasicFormConfigs'](_0x56319b),this['parseBasicTabConfigs']&&this[_0x19e9f6(0x1d1)](_0x56319b),this[_0x19e9f6(0x1e7)]&&this[_0x19e9f6(0x1e7)](_0x56319b));}async[a0_0x2b9bec(0x1d5)](){const _0x3cba2f=a0_0x2b9bec;ValueUtil[_0x3cba2f(0x1e2)](this[_0x3cba2f(0x1ce)])?this[_0x3cba2f(0x1ce)][_0x3cba2f(0x1d5)]():(ValueUtil[_0x3cba2f(0x1e2)](this[_0x3cba2f(0x1dd)])||this[_0x3cba2f(0x1d3)])&&await this[_0x3cba2f(0x1d3)]();}async['excuteOpenPopupButtonClick'](_0x5c44b1,_0x585ea2,_0x534501){const _0x445ac1=a0_0x2b9bec;let _0x495cd8=TermsUtil[_0x445ac1(0x1f8)](_0x5c44b1['title']);ValueUtil['isNotEmpty'](_0x5c44b1[_0x445ac1(0x1de)])&&(_0x495cd8=_0x495cd8+'-'+ValueUtil[_0x445ac1(0x1c5)](_0x585ea2,..._0x5c44b1[_0x445ac1(0x1de)]['split']('.'))),MetaApi[_0x445ac1(0x1ec)](_0x495cd8,_0x5c44b1,_0x585ea2,_0x534501);}async[a0_0x2b9bec(0x1e0)](_0x33062b,_0x4d90de,_0x520c35){const _0x1b06bd=a0_0x2b9bec;let _0x20ef9c=await MetaApi[_0x1b06bd(0x1cd)](_0x33062b[_0x1b06bd(0x1f0)],_0x33062b[_0x1b06bd(0x1f0)],_0x4d90de);!0x1!==_0x20ef9c&&!_0x20ef9c['errors']&&ValueUtil[_0x1b06bd(0x1e2)](_0x33062b[_0x1b06bd(0x1d7)])&&_0x520c35();}['setParentId'](_0x519df6){const _0x40ed74=a0_0x2b9bec;this['parent_id']=_0x519df6,this[_0x40ed74(0x1d5)]();}};