@things-factory/meta-ui 6.1.14 → 6.1.16

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 (84) 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 +10 -10
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +10 -10
  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 +7 -7
  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 +3 -3
  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 +2 -2
  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 +6 -6
  28. package/client/pages/history/history-json-list-popup.js +6 -6
  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 +6 -6
  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 +2 -2
  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/entity-event-subscriber/entity-event-subscriber.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  73. package/server/service/meta-activity/meta-activity-query.js +1 -1
  74. package/server/service/meta-activity/meta-activity-type.js +1 -1
  75. package/server/service/meta-secret/meta-resolver.js +1 -1
  76. package/server/service/set-translations/set-translation-resolver.js +1 -1
  77. package/server/service/work-code/work-code-mutation.js +1 -1
  78. package/server/service/work-code/work-code-query.js +1 -1
  79. package/server/service/work-code/work-code-type.js +1 -1
  80. package/server/service/work-code/work-code.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- function a0_0xb946(){const _0xff650b=['filter','4571VWpleO','portrait','2464640rCFTyo','dynamic-menu-part','appName','dynamic-menu','lite-menu-part','data','meta[name=\x22application-name\x22]','get','rank','8136wKHTNc','content','628838xjrihL','query','41231832CZvwAc','UPDATE_META_MENU_TEMPLATE','hamburger','FRONT_END','dispatch','996SRsQtj','4941360nzDxNl','querySelector','UPDATE_META_UI','1PHyStf','30CrHfbf','11XHZsmi','4770IVDBOV','NAVBAR','92151dbKzIu','liteMenus'];a0_0xb946=function(){return _0xff650b;};return a0_0xb946();}function a0_0x4bb8(_0x35e46d,_0x4325f8){const _0xb946fb=a0_0xb946();return a0_0x4bb8=function(_0x4bb85f,_0x44bbe8){_0x4bb85f=_0x4bb85f-0xbd;let _0x497450=_0xb946fb[_0x4bb85f];return _0x497450;},a0_0x4bb8(_0x35e46d,_0x4325f8);}const a0_0x33c06a=a0_0x4bb8;(function(_0x4ed99c,_0x16212b){const _0x5a4f6c=a0_0x4bb8,_0x5ba8ee=_0x4ed99c();while(!![]){try{const _0x853638=-parseInt(_0x5a4f6c(0xbf))/0x1*(parseInt(_0x5a4f6c(0xd4))/0x2)+parseInt(_0x5a4f6c(0xc2))/0x3*(-parseInt(_0x5a4f6c(0xdb))/0x4)+-parseInt(_0x5a4f6c(0xdc))/0x5+parseInt(_0x5a4f6c(0xd2))/0x6*(-parseInt(_0x5a4f6c(0xc7))/0x7)+-parseInt(_0x5a4f6c(0xc9))/0x8+parseInt(_0x5a4f6c(0xc4))/0x9*(parseInt(_0x5a4f6c(0xc0))/0xa)+parseInt(_0x5a4f6c(0xc1))/0xb*(parseInt(_0x5a4f6c(0xd6))/0xc);if(_0x853638===_0x16212b)break;else _0x5ba8ee['push'](_0x5ba8ee['shift']());}catch(_0x394c5c){_0x5ba8ee['push'](_0x5ba8ee['shift']());}}}(a0_0xb946,0x8c45a));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x178a1c from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x33c06a(0xbe);export const UPDATE_META_MENU_TEMPLATE=a0_0x33c06a(0xd7);var HAMBURGER;export async function setupMenuPart(_0x5c5590){const _0x1a1b8a=a0_0x33c06a;var {hovering:_0xe7bcb4=!!isMobileDevice(),slotTemplate:_0x49a165,portraitSlotTemplate:_0x3eea47,landscapeSlotTemplate:_0x278d1a,position:_0x51645c=VIEWPART_POSITION[_0x1a1b8a(0xc3)]}=_0x5c5590||{};const {hovering:_0x17f1b4}=(await clientSettingStore[_0x1a1b8a(0xd0)](_0x1a1b8a(0xcc)))?.['value']||{};void 0x0!==_0x17f1b4&&(_0xe7bcb4=_0x17f1b4);const _0x418248=_0x51645c==VIEWPART_POSITION['HEADERBAR']?'landscape':_0x1a1b8a(0xc8),_0x570b40=('landscape'==_0x418248?_0x278d1a:_0x3eea47)||_0x49a165||html``;appendViewpart({'name':_0x1a1b8a(0xcd),'viewpart':{'show':!_0xe7bcb4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0xe7bcb4,'template':html`<dynamic-menu-part .orientation=${_0x418248}>${_0x570b40}</dynamic-menu-part>`},'position':_0x51645c}),_0xe7bcb4&&_0x1a1b8a(0xc8)==_0x418248?HAMBURGER||(HAMBURGER={'name':_0x1a1b8a(0xd8),'template':html`
2
- <mwc-icon @click=${_0x59d8bd=>toggleOverlay(_0x1a1b8a(0xca),{'backdrop':!0x0})}
1
+ const a0_0xf250c5=a0_0x2867;(function(_0x4c4e18,_0x304f42){const _0x14d557=a0_0x2867,_0x7b8a12=_0x4c4e18();while(!![]){try{const _0x438564=parseInt(_0x14d557(0xef))/0x1*(parseInt(_0x14d557(0xeb))/0x2)+-parseInt(_0x14d557(0xf6))/0x3*(-parseInt(_0x14d557(0xf9))/0x4)+-parseInt(_0x14d557(0x108))/0x5*(parseInt(_0x14d557(0xf5))/0x6)+-parseInt(_0x14d557(0xff))/0x7+-parseInt(_0x14d557(0xf4))/0x8+-parseInt(_0x14d557(0xfb))/0x9*(-parseInt(_0x14d557(0xf1))/0xa)+parseInt(_0x14d557(0xf7))/0xb;if(_0x438564===_0x304f42)break;else _0x7b8a12['push'](_0x7b8a12['shift']());}catch(_0x2eba6d){_0x7b8a12['push'](_0x7b8a12['shift']());}}}(a0_0x1dba,0x579d5));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x177e2b from'graphql-tag';function a0_0x1dba(){const _0x4c08e0=['get','UPDATE_META_MENU_TEMPLATE','107lKZoXY','lite-menu-part','97470gtYsJb','value','dispatch','3967544lEXjGK','18TxFFqa','2007ipuFIo','176407hpRyMN','appName','1084qPCuEC','dynamic-menu','522hkUFDJ','dynamic-menu-part','meta[name=\x22application-name\x22]','active','2347226qQWKdV','FRONT_END','HEADERBAR','filter','landscape','querySelector','content','hamburger','query','340255vLXlBo','data','UPDATE_META_UI','NAVBAR','portrait','11806NLpMGb','items'];a0_0x1dba=function(){return _0x4c08e0;};return a0_0x1dba();}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';function a0_0x2867(_0x47f3b2,_0xf083e3){const _0x1dba6b=a0_0x1dba();return a0_0x2867=function(_0x286702,_0x30a7b9){_0x286702=_0x286702-0xe8;let _0x170eb6=_0x1dba6b[_0x286702];return _0x170eb6;},a0_0x2867(_0x47f3b2,_0xf083e3);}import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0xf250c5(0xe8);export const UPDATE_META_MENU_TEMPLATE=a0_0xf250c5(0xee);var HAMBURGER;export async function setupMenuPart(_0x2e9204){const _0x163978=a0_0xf250c5;var {hovering:_0x1c17b4=!!isMobileDevice(),slotTemplate:_0x3fa940,portraitSlotTemplate:_0x21385d,landscapeSlotTemplate:_0xdfc714,position:_0x1f7ca2=VIEWPART_POSITION[_0x163978(0xe9)]}=_0x2e9204||{};const {hovering:_0x48b9be}=(await clientSettingStore[_0x163978(0xed)](_0x163978(0xfa)))?.[_0x163978(0xf2)]||{};void 0x0!==_0x48b9be&&(_0x1c17b4=_0x48b9be);const _0x42ab0f=_0x1f7ca2==VIEWPART_POSITION[_0x163978(0x101)]?_0x163978(0x103):_0x163978(0xea),_0x366c53=('landscape'==_0x42ab0f?_0xdfc714:_0x21385d)||_0x3fa940||html``;appendViewpart({'name':_0x163978(0xf0),'viewpart':{'show':!_0x1c17b4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x1c17b4,'template':html`<dynamic-menu-part .orientation=${_0x42ab0f}>${_0x366c53}</dynamic-menu-part>`},'position':_0x1f7ca2}),_0x1c17b4&&_0x163978(0xea)==_0x42ab0f?HAMBURGER||(HAMBURGER={'name':_0x163978(0x106),'template':html`
2
+ <mwc-icon @click=${_0xb9756b=>toggleOverlay(_0x163978(0xfc),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x1a1b8a(0xd9)]},store[_0x1a1b8a(0xda)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1a1b8a(0xda)]({'type':REMOVE_APP_TOOL,'name':_0x1a1b8a(0xd8)}),HAMBURGER=null);}export async function updateMenuTemplate(_0xd0114b){const _0x221819=a0_0x33c06a;var _0x32dbb5=document[_0x221819(0xbd)](_0x221819(0xcf))?.[_0x221819(0xd3)],_0x26ee24=(await client[_0x221819(0xd5)]({'query':a0_0x178a1c`
4
+ `,'position':TOOL_POSITION[_0x163978(0x100)]},store[_0x163978(0xf3)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x163978(0xf3)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x2da86c){const _0x587ae2=a0_0xf250c5;var _0x39ea90=document[_0x587ae2(0x104)](_0x587ae2(0xfd))?.[_0x587ae2(0x105)],_0xa427ad=(await client[_0x587ae2(0x107)]({'query':a0_0x177e2b`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ function a0_0xb946(){const _0xff650b=['filter','4571VWpleO','portrait','2464640r
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':'active','operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x32dbb5]}],'sortings':[{'name':_0x221819(0xd1),'desc':!0x1}]}}))[_0x221819(0xce)][_0x221819(0xc5)]['items'];store[_0x221819(0xda)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x26ee24[_0x221819(0xc6)](_0x477fcc=>!_0x477fcc[_0x221819(0xcb)]||_0x477fcc['appName']===_0x32dbb5),'template':_0xd0114b});}
23
+ `,'variables':{'filters':[{'name':_0x587ae2(0xfe),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x39ea90]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x587ae2(0x109)]['liteMenus'][_0x587ae2(0xec)];store[_0x587ae2(0xf3)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0xa427ad[_0x587ae2(0x102)](_0x165b22=>!_0x165b22[_0x587ae2(0xf8)]||_0x165b22[_0x587ae2(0xf8)]===_0x39ea90),'template':_0x2da86c});}
@@ -1,16 +1,16 @@
1
- function a0_0x4a9b(_0x4143a4,_0x941e54){const _0x3cae65=a0_0x3cae();return a0_0x4a9b=function(_0x4a9b47,_0x246921){_0x4a9b47=_0x4a9b47-0x9c;let _0x17b139=_0x3cae65[_0x4a9b47];return _0x17b139;},a0_0x4a9b(_0x4143a4,_0x941e54);}(function(_0x23b4ef,_0x450cc8){const _0x25dea0=a0_0x4a9b,_0x358971=_0x23b4ef();while(!![]){try{const _0x4da60b=-parseInt(_0x25dea0(0xa3))/0x1+parseInt(_0x25dea0(0xb2))/0x2+-parseInt(_0x25dea0(0xad))/0x3*(parseInt(_0x25dea0(0xa2))/0x4)+parseInt(_0x25dea0(0xa4))/0x5*(-parseInt(_0x25dea0(0xba))/0x6)+-parseInt(_0x25dea0(0xb1))/0x7+-parseInt(_0x25dea0(0xa5))/0x8+-parseInt(_0x25dea0(0xa7))/0x9*(-parseInt(_0x25dea0(0xb8))/0xa);if(_0x4da60b===_0x450cc8)break;else _0x358971['push'](_0x358971['shift']());}catch(_0x1f9a95){_0x358971['push'](_0x358971['shift']());}}}(a0_0x3cae,0x1fa56));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x3cae(){const _0x86c862=['filter-change','display','name','tTitle','9251300ZkuTYM','toLowerCase','186LoOJmd','codes','dispatchEvent','options','querySelector','filter','tMenu','dispField','453636BFaZai','46289cySszQ','40295MNkmNq','1861952XXLRIG','tagName','9FOlAit','change','renderRoot','ox-grid-header','length','stopPropagation','3yUyXAs','value','selectorName','[name=\x22','1558578fzCwDD','138834OROeeR','codeField'];a0_0x3cae=function(){return _0x86c862;};return a0_0x3cae();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x81f6f1,_0x6b82b9,_0x33eedd){const _0x4b251f=a0_0x4a9b;var _0x2afb50=html`
1
+ (function(_0x4bdcad,_0x38c10a){const _0x11a4d5=a0_0x4936,_0x3cc4ad=_0x4bdcad();while(!![]){try{const _0x1fb8dd=parseInt(_0x11a4d5(0x8b))/0x1*(parseInt(_0x11a4d5(0x84))/0x2)+-parseInt(_0x11a4d5(0x90))/0x3+-parseInt(_0x11a4d5(0x7a))/0x4+-parseInt(_0x11a4d5(0x94))/0x5*(parseInt(_0x11a4d5(0x96))/0x6)+parseInt(_0x11a4d5(0x8d))/0x7*(-parseInt(_0x11a4d5(0x7b))/0x8)+-parseInt(_0x11a4d5(0x7f))/0x9+parseInt(_0x11a4d5(0x87))/0xa*(parseInt(_0x11a4d5(0x79))/0xb);if(_0x1fb8dd===_0x38c10a)break;else _0x3cc4ad['push'](_0x3cc4ad['shift']());}catch(_0x72a3db){_0x3cc4ad['push'](_0x3cc4ad['shift']());}}}(a0_0x589a,0x8938c));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x4936(_0x28faf9,_0x2834c9){const _0x589a19=a0_0x589a();return a0_0x4936=function(_0x493639,_0x38ef63){_0x493639=_0x493639-0x79;let _0x1cf980=_0x589a19[_0x493639];return _0x1cf980;},a0_0x4936(_0x28faf9,_0x2834c9);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3bdd8e,_0x275bf8,_0x19db2d){const _0x8f5544=a0_0x4936;var _0x42ad1a=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x6b82b9}
4
- .options=${_0x81f6f1[_0x4b251f(0x9d)]}
5
- .confirmCallback=${_0x33eedd}
3
+ .value=${_0x275bf8}
4
+ .options=${_0x3bdd8e[_0x8f5544(0x92)]}
5
+ .confirmCallback=${_0x19db2d}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x2afb50,{'backdrop':!0x0,'size':'large','title':_0x81f6f1[_0x4b251f(0x9d)][_0x4b251f(0xaf)]?TermsUtil[_0x4b251f(0xa0)](_0x81f6f1[_0x4b251f(0x9d)][_0x4b251f(0xaf)]):TermsUtil[_0x4b251f(0xb7)]('select_item')});}export const FilterFormMetaCodeSelect=(_0xf394af,_0x2bda4f,_0x6c7d33)=>{const _0x18da7d=a0_0x4a9b,_0x1e3ab4=_0xf394af[_0x18da7d(0x9d)],_0x4e25ce=_0x1e3ab4[_0x18da7d(0xbb)]&&_0x1e3ab4[_0x18da7d(0xbb)][_0x18da7d(0xab)]>0x0?_0x1e3ab4[_0x18da7d(0xbb)]:void 0x0,{operator:_0x1403c1='eq'}=_0xf394af;let _0x258d32=_0x2bda4f||'',_0x91585a=_0x2bda4f||'';if(_0x1e3ab4[_0x18da7d(0xa1)]&&_0x2bda4f&&_0x4e25ce){let _0x2aa6d9=_0x4e25ce[_0x18da7d(0x9f)](_0x4aef22=>_0x4aef22[_0x18da7d(0xae)]==_0x2bda4f);_0x2aa6d9&&_0x2aa6d9[_0x18da7d(0xab)]>0x0&&(_0x91585a=_0x2aa6d9[0x0][_0x18da7d(0xb5)]);}return'eq'===_0x1403c1?html`
8
- <input name='${_0xf394af[_0x18da7d(0xb6)]}' .value=${_0x258d32} type="text" hidden></input>
7
+ `;openPopup(_0x42ad1a,{'backdrop':!0x0,'size':_0x8f5544(0x86),'title':_0x3bdd8e[_0x8f5544(0x92)][_0x8f5544(0x83)]?TermsUtil[_0x8f5544(0x93)](_0x3bdd8e[_0x8f5544(0x92)]['selectorName']):TermsUtil[_0x8f5544(0x7d)](_0x8f5544(0x88))});}export const FilterFormMetaCodeSelect=(_0x3a2ab1,_0x517f63,_0x4fc48b)=>{const _0x49a7de=a0_0x4936,_0x522022=_0x3a2ab1['options'],_0x128286=_0x522022['codes']&&_0x522022['codes'][_0x49a7de(0x89)]>0x0?_0x522022[_0x49a7de(0x8f)]:void 0x0,{operator:_0x2dd3f2='eq'}=_0x3a2ab1;let _0x2e83d9=_0x517f63||'',_0x5485af=_0x517f63||'';if(_0x522022['dispField']&&_0x517f63&&_0x128286){let _0x5a1bf7=_0x128286['filter'](_0x4de4c8=>_0x4de4c8[_0x49a7de(0x82)]==_0x517f63);_0x5a1bf7&&_0x5a1bf7[_0x49a7de(0x89)]>0x0&&(_0x5485af=_0x5a1bf7[0x0]['display']);}return'eq'===_0x2dd3f2?html`
8
+ <input name='${_0x3a2ab1[_0x49a7de(0x7e)]}' .value=${_0x2e83d9} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0xf394af[_0x18da7d(0xb6)]}_disp'
13
- .value=${_0x91585a}
14
- @click=${_0x43df9e=>{const _0x8ac2f5=_0x18da7d;_0x43df9e[_0x8ac2f5(0xac)]();const _0x53ea4d=_0x43df9e['target'];openMetaCodeSelector(_0xf394af,_0x2bda4f,_0x316dd5=>{const _0x5d0156=_0x8ac2f5;let _0x19ec87=_0x316dd5?_0x316dd5[_0x1e3ab4[_0x5d0156(0xb3)]]:'',_0x5b4d65=_0x19ec87;_0x316dd5&&_0x1e3ab4[_0x5d0156(0xa1)]&&(_0x5b4d65=_0x316dd5[_0x1e3ab4[_0x5d0156(0xa1)]]),_0x53ea4d[_0x5d0156(0xae)]=_0x5b4d65,(_0x5d0156(0xaa)==_0x6c7d33[_0x5d0156(0xa6)][_0x5d0156(0xb9)]()?_0x6c7d33[_0x5d0156(0xa9)]['querySelector'](_0x5d0156(0xb0)+_0xf394af[_0x5d0156(0xb6)]+'\x22]'):_0x6c7d33[_0x5d0156(0xa9)][_0x5d0156(0x9e)]('form\x20[name=\x22'+_0xf394af[_0x5d0156(0xb6)]+'\x22]'))[_0x5d0156(0xae)]=_0x19ec87,_0x53ea4d[_0x5d0156(0x9c)](new Event(_0x5d0156(0xa8),{'bubbles':!0x0})),_0x53ea4d[_0x5d0156(0x9c)](new CustomEvent(_0x5d0156(0xb4),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xf394af['name'],'operator':_0x1403c1,'value':_0x19ec87}}));});}}
12
+ name='${_0x3a2ab1[_0x49a7de(0x7e)]}_disp'
13
+ .value=${_0x5485af}
14
+ @click=${_0x412e64=>{const _0x5ec9c2=_0x49a7de;_0x412e64[_0x5ec9c2(0x7c)]();const _0x1562d9=_0x412e64[_0x5ec9c2(0x8e)];openMetaCodeSelector(_0x3a2ab1,_0x517f63,_0x617f62=>{const _0x28832a=_0x5ec9c2;let _0x55c847=_0x617f62?_0x617f62[_0x522022['codeField']]:'',_0x8d7e3f=_0x55c847;_0x617f62&&_0x522022[_0x28832a(0x81)]&&(_0x8d7e3f=_0x617f62[_0x522022[_0x28832a(0x81)]]),_0x1562d9[_0x28832a(0x82)]=_0x8d7e3f,(_0x28832a(0x97)==_0x4fc48b[_0x28832a(0x8c)][_0x28832a(0x85)]()?_0x4fc48b[_0x28832a(0x8a)]['querySelector']('[name=\x22'+_0x3a2ab1['name']+'\x22]'):_0x4fc48b[_0x28832a(0x8a)][_0x28832a(0x95)]('form\x20[name=\x22'+_0x3a2ab1['name']+'\x22]'))[_0x28832a(0x82)]=_0x55c847,_0x1562d9[_0x28832a(0x91)](new Event(_0x28832a(0x80),{'bubbles':!0x0})),_0x1562d9[_0x28832a(0x91)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3a2ab1[_0x28832a(0x7e)],'operator':_0x2dd3f2,'value':_0x55c847}}));});}}
15
15
  />
16
- `:html``;};
16
+ `:html``;};function a0_0x589a(){const _0x5d67db=['tagName','28znAKac','target','codes','2165499KXjasW','dispatchEvent','options','tMenu','8885sdOnER','querySelector','3324ggvalj','ox-grid-header','687951VrPWWj','2325684eirBID','1630176pDHVAL','stopPropagation','tTitle','name','3250638RHMuDS','change','dispField','value','selectorName','6QZPoIY','toLowerCase','large','470UBqiMn','select_item','length','renderRoot','362205OfHepy'];a0_0x589a=function(){return _0x5d67db;};return a0_0x589a();}
@@ -1,16 +1,16 @@
1
- function a0_0x3355(_0x3fde97,_0x42b95f){const _0x177303=a0_0x1773();return a0_0x3355=function(_0x3355c4,_0x4e6081){_0x3355c4=_0x3355c4-0xd4;let _0xb227e=_0x177303[_0x3355c4];return _0xb227e;},a0_0x3355(_0x3fde97,_0x42b95f);}(function(_0x17ba91,_0x22ae17){const _0x38cf9a=a0_0x3355,_0x207faf=_0x17ba91();while(!![]){try{const _0x1359ca=parseInt(_0x38cf9a(0xf0))/0x1*(-parseInt(_0x38cf9a(0xeb))/0x2)+-parseInt(_0x38cf9a(0xe9))/0x3*(parseInt(_0x38cf9a(0xd8))/0x4)+-parseInt(_0x38cf9a(0xd4))/0x5+parseInt(_0x38cf9a(0xe6))/0x6*(parseInt(_0x38cf9a(0xee))/0x7)+parseInt(_0x38cf9a(0xed))/0x8*(parseInt(_0x38cf9a(0xd6))/0x9)+-parseInt(_0x38cf9a(0xef))/0xa+parseInt(_0x38cf9a(0xe5))/0xb*(parseInt(_0x38cf9a(0xe7))/0xc);if(_0x1359ca===_0x22ae17)break;else _0x207faf['push'](_0x207faf['shift']());}catch(_0x42796a){_0x207faf['push'](_0x207faf['shift']());}}}(a0_0x1773,0xbef81));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x1773(){const _0x2c9dc9=['23496YFSCWZ','6UOdmUv','17568wMCLtv','form\x20[name=\x22','69EeAAnB','ox-grid-header','1340038WiBGIG','target','88mWuRDa','5117133gMQwqh','7276390HlYCPo','1NKdrbv','6468060xWqVpz','tMenu','391293BiyosM','querySelector','150068FZxidL','toLowerCase','tagName','dispatchEvent','stopPropagation','nameField','tTitle','change','options','name','select_item','renderRoot','value'];a0_0x1773=function(){return _0x2c9dc9;};return a0_0x1773();}function openMetaObjectSelector(_0x1fed25,_0x548a59,_0x46c8cc){const _0x37cfef=a0_0x3355;var _0x3cbcca=html`
1
+ (function(_0x3ee1f7,_0x5bb0b4){const _0x1811a8=a0_0x2e56,_0x1e9961=_0x3ee1f7();while(!![]){try{const _0x469268=parseInt(_0x1811a8(0xb1))/0x1+parseInt(_0x1811a8(0xa6))/0x2+parseInt(_0x1811a8(0x98))/0x3*(parseInt(_0x1811a8(0xa8))/0x4)+-parseInt(_0x1811a8(0xac))/0x5*(-parseInt(_0x1811a8(0xa3))/0x6)+-parseInt(_0x1811a8(0xa1))/0x7+-parseInt(_0x1811a8(0x9d))/0x8+-parseInt(_0x1811a8(0x9a))/0x9;if(_0x469268===_0x5bb0b4)break;else _0x1e9961['push'](_0x1e9961['shift']());}catch(_0x7197fe){_0x1e9961['push'](_0x1e9961['shift']());}}}(a0_0x598e,0xea044));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x3aa9b7,_0xb6d4be,_0x72a2ba){const _0x4f4abf=a0_0x2e56;var _0x371d71=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x548a59}
4
- .options=${_0x1fed25['options']}
5
- .confirmCallback=${_0x46c8cc}
3
+ .value=${_0xb6d4be}
4
+ .options=${_0x3aa9b7['options']}
5
+ .confirmCallback=${_0x72a2ba}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x3cbcca,{'backdrop':!0x0,'size':'large','title':_0x1fed25[_0x37cfef(0xe0)]['selectorName']?TermsUtil[_0x37cfef(0xd5)](_0x1fed25[_0x37cfef(0xe0)]['selectorName']):TermsUtil[_0x37cfef(0xde)](_0x37cfef(0xe2))});}export const FilterFormMetaObjectSelect=(_0xc2f30f,_0x30acaf,_0x307cff)=>{const _0x6ff552=a0_0x3355,_0x37febb=_0xc2f30f[_0x6ff552(0xe0)],{operator:_0x35bb60='eq'}=_0xc2f30f;let _0x4a1d49=_0x30acaf?_0x30acaf['id']:'',_0x3748ec=_0x30acaf?_0x30acaf[_0x37febb[_0x6ff552(0xdd)]]:'';return'eq'===_0x35bb60?html`
8
- <input name='${_0xc2f30f[_0x6ff552(0xe1)]}' .value=${_0x4a1d49} type="text" hidden></input>
7
+ `;openPopup(_0x371d71,{'backdrop':!0x0,'size':_0x4f4abf(0x97),'title':_0x3aa9b7[_0x4f4abf(0xa7)][_0x4f4abf(0xaf)]?TermsUtil[_0x4f4abf(0x99)](_0x3aa9b7[_0x4f4abf(0xa7)][_0x4f4abf(0xaf)]):TermsUtil[_0x4f4abf(0xa9)](_0x4f4abf(0xa0))});}export const FilterFormMetaObjectSelect=(_0xd71ecb,_0x1ba8c8,_0x588648)=>{const _0xd1fe09=a0_0x2e56,_0x2c69a0=_0xd71ecb['options'],{operator:_0x5b0d5d='eq'}=_0xd71ecb;let _0xb3e654=_0x1ba8c8?_0x1ba8c8['id']:'',_0xba7adb=_0x1ba8c8?_0x1ba8c8[_0x2c69a0['nameField']]:'';return'eq'===_0x5b0d5d?html`
8
+ <input name='${_0xd71ecb[_0xd1fe09(0xa4)]}' .value=${_0xb3e654} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0xc2f30f[_0x6ff552(0xe1)]}_disp'
13
- .value=${_0x3748ec}
14
- @click=${_0x4f3040=>{const _0x2e385c=_0x6ff552;_0x4f3040[_0x2e385c(0xdc)]();const _0x503499=_0x4f3040[_0x2e385c(0xec)];openMetaObjectSelector(_0xc2f30f,_0x30acaf,_0x37aa48=>{const _0x22390b=_0x2e385c;let _0x5b5942=_0x37aa48?_0x37aa48['id']:'',_0x1d514e=_0x37aa48?_0x37aa48[_0x37febb['nameField']]:'';_0x503499[_0x22390b(0xe4)]=_0x1d514e,(_0x22390b(0xea)==_0x307cff[_0x22390b(0xda)][_0x22390b(0xd9)]()?_0x307cff[_0x22390b(0xe3)][_0x22390b(0xd7)]('[name=\x22'+_0xc2f30f[_0x22390b(0xe1)]+'\x22]'):_0x307cff['renderRoot'][_0x22390b(0xd7)](_0x22390b(0xe8)+_0xc2f30f[_0x22390b(0xe1)]+'\x22]'))['value']=_0x5b5942,_0x503499[_0x22390b(0xdb)](new Event(_0x22390b(0xdf),{'bubbles':!0x0})),_0x503499[_0x22390b(0xdb)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xc2f30f['name'],'operator':_0x35bb60,'value':_0x5b5942}}));});}}
12
+ name='${_0xd71ecb[_0xd1fe09(0xa4)]}_disp'
13
+ .value=${_0xba7adb}
14
+ @click=${_0x53ee85=>{const _0x57d1c5=_0xd1fe09;_0x53ee85[_0x57d1c5(0x9f)]();const _0x3f4667=_0x53ee85['target'];openMetaObjectSelector(_0xd71ecb,_0x1ba8c8,_0x374cd6=>{const _0x430ffb=_0x57d1c5;let _0xa18dd8=_0x374cd6?_0x374cd6['id']:'',_0x15330b=_0x374cd6?_0x374cd6[_0x2c69a0[_0x430ffb(0xab)]]:'';_0x3f4667[_0x430ffb(0x9b)]=_0x15330b,(_0x430ffb(0x9c)==_0x588648['tagName']['toLowerCase']()?_0x588648[_0x430ffb(0xad)][_0x430ffb(0xa2)](_0x430ffb(0xaa)+_0xd71ecb[_0x430ffb(0xa4)]+'\x22]'):_0x588648['renderRoot'][_0x430ffb(0xa2)](_0x430ffb(0xb0)+_0xd71ecb['name']+'\x22]'))[_0x430ffb(0x9b)]=_0xa18dd8,_0x3f4667[_0x430ffb(0x9e)](new Event(_0x430ffb(0xa5),{'bubbles':!0x0})),_0x3f4667[_0x430ffb(0x9e)](new CustomEvent(_0x430ffb(0xae),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xd71ecb[_0x430ffb(0xa4)],'operator':_0x5b0d5d,'value':_0xa18dd8}}));});}}
15
15
  />
16
- `:html``;};
16
+ `:html``;};function a0_0x2e56(_0x107ea6,_0x1387ae){const _0x598e8b=a0_0x598e();return a0_0x2e56=function(_0x2e56a1,_0x3213ed){_0x2e56a1=_0x2e56a1-0x97;let _0x183caa=_0x598e8b[_0x2e56a1];return _0x183caa;},a0_0x2e56(_0x107ea6,_0x1387ae);}function a0_0x598e(){const _0x103eb6=['486349SfruSQ','large','722298aPlwyQ','tMenu','4556880FjUBrp','value','ox-grid-header','6074264aNWRaS','dispatchEvent','stopPropagation','select_item','6395319hqJRdd','querySelector','1398xgNEhG','name','change','1251872UWsyGi','options','12OarLKF','tTitle','[name=\x22','nameField','27965pnomuF','renderRoot','filter-change','selectorName','form\x20[name=\x22'];a0_0x598e=function(){return _0x103eb6;};return a0_0x598e();}
@@ -1,16 +1,16 @@
1
- (function(_0x2dd906,_0x4e0779){const _0x5240c4=a0_0x2ed7,_0x484003=_0x2dd906();while(!![]){try{const _0x4cfaa8=parseInt(_0x5240c4(0xb8))/0x1*(parseInt(_0x5240c4(0xc9))/0x2)+parseInt(_0x5240c4(0xc4))/0x3*(-parseInt(_0x5240c4(0xc8))/0x4)+-parseInt(_0x5240c4(0xca))/0x5*(parseInt(_0x5240c4(0xbe))/0x6)+-parseInt(_0x5240c4(0xcc))/0x7+parseInt(_0x5240c4(0xba))/0x8*(parseInt(_0x5240c4(0xaf))/0x9)+parseInt(_0x5240c4(0xcb))/0xa+parseInt(_0x5240c4(0xbf))/0xb*(parseInt(_0x5240c4(0xb2))/0xc);if(_0x4cfaa8===_0x4e0779)break;else _0x484003['push'](_0x484003['shift']());}catch(_0x4452f4){_0x484003['push'](_0x484003['shift']());}}}(a0_0x364c,0x6a6bf));import'../selector/meta-object-selector-popup';function a0_0x2ed7(_0x1d6ea1,_0x2d74fd){const _0x364c45=a0_0x364c();return a0_0x2ed7=function(_0x2ed75a,_0x1a7ace){_0x2ed75a=_0x2ed75a-0xae;let _0x5f0cec=_0x364c45[_0x2ed75a];return _0x5f0cec;},a0_0x2ed7(_0x1d6ea1,_0x2d74fd);}import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x364c(){const _0x3cb2bd=['large','tagName','10CGZjRf','filter','88LQGpFD','renderRoot','selectorName','tMenu','6PXlYfb','2497fPBJsV','value','record','tTitle','stopPropagation','2444703ZrIxZr','display','querySelector','change','4PgOYvf','110490jqcLeD','3679765lhEXPh','5054720SrsbVT','3086328lLnZxF','select_item','options','[name=\x22','codes','dispField','346770PKbtiu','dispatchEvent','form\x20[name=\x22','50004pWzKrY','length','name','target'];a0_0x364c=function(){return _0x3cb2bd;};return a0_0x364c();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x150029,_0x12efd2,_0x4e7456){const _0x4b82c4=a0_0x2ed7;var _0x237d9d=html`
1
+ function a0_0x19d7(){const _0x34780e=['options','filter-change','selectorName','11689290clSsaK','ox-grid-header','6dFYGiS','tMenu','record','codes','renderRoot','dispField','querySelector','dispatchEvent','name','6bXRtmw','value','filter','6668245mFWnQC','352072WPRLSq','target','display','change','tTitle','538488BMtVnA','841400eAMVzO','large','9815680WZNxBH','1301406TwncqT'];a0_0x19d7=function(){return _0x34780e;};return a0_0x19d7();}(function(_0x3e0d6f,_0x20bf48){const _0x807ed7=a0_0x2548,_0x597418=_0x3e0d6f();while(!![]){try{const _0xe6c836=parseInt(_0x807ed7(0x183))/0x1+-parseInt(_0x807ed7(0x186))/0x2*(parseInt(_0x807ed7(0x179))/0x3)+-parseInt(_0x807ed7(0x182))/0x4+parseInt(_0x807ed7(0x17c))/0x5*(-parseInt(_0x807ed7(0x18c))/0x6)+parseInt(_0x807ed7(0x185))/0x7+-parseInt(_0x807ed7(0x17d))/0x8+parseInt(_0x807ed7(0x18a))/0x9;if(_0xe6c836===_0x20bf48)break;else _0x597418['push'](_0x597418['shift']());}catch(_0x18f59d){_0x597418['push'](_0x597418['shift']());}}}(a0_0x19d7,0xb1ebc));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x5a4888,_0x1eac95,_0xcde172){const _0x387b81=a0_0x2548;var _0x3a6269=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x12efd2}
4
- .options=${_0x150029[_0x4b82c4(0xc1)][_0x4b82c4(0xce)]}
5
- .confirmCallback=${_0x4e7456}
3
+ .value=${_0x1eac95}
4
+ .options=${_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)]}
5
+ .confirmCallback=${_0xcde172}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x237d9d,{'backdrop':!0x0,'size':_0x4b82c4(0xb6),'title':_0x150029[_0x4b82c4(0xc1)][_0x4b82c4(0xce)]['selectorName']?TermsUtil[_0x4b82c4(0xbd)](_0x150029[_0x4b82c4(0xc1)][_0x4b82c4(0xce)][_0x4b82c4(0xbc)]):TermsUtil[_0x4b82c4(0xc2)](_0x4b82c4(0xcd))});}export const FilterGristMetaCodeSelect=(_0xb4ca12,_0x3aabfc,_0xbcb122)=>{const _0x5d6eae=a0_0x2ed7,_0x214d2e=_0xb4ca12[_0x5d6eae(0xb9)],_0x461329=_0xb4ca12[_0x5d6eae(0xc1)][_0x5d6eae(0xce)],_0x408be3=_0x461329['codes']&&_0x461329[_0x5d6eae(0xd0)][_0x5d6eae(0xb3)]>0x0?_0x461329[_0x5d6eae(0xd0)]:void 0x0,{operator:_0x1d35a4='eq'}=_0x214d2e;let _0x485a00=_0x3aabfc||'',_0x144d7a=_0x3aabfc||'';if(_0x461329['dispField']&&_0x3aabfc&&_0x408be3){let _0xe87ba1=_0x408be3[_0x5d6eae(0xb9)](_0x26e4e9=>_0x26e4e9[_0x5d6eae(0xc0)]==_0x3aabfc);_0xe87ba1&&_0xe87ba1[_0x5d6eae(0xb3)]>0x0&&(_0x144d7a=_0xe87ba1[0x0][_0x5d6eae(0xc5)]);}return'eq'===_0x1d35a4?html`
8
- <input name='${_0xb4ca12['name']}' .value=${_0x485a00} type="text" hidden></input>
7
+ `;openPopup(_0x3a6269,{'backdrop':!0x0,'size':_0x387b81(0x184),'title':_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)][_0x387b81(0x189)]?TermsUtil[_0x387b81(0x18d)](_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)][_0x387b81(0x189)]):TermsUtil[_0x387b81(0x181)]('select_item')});}function a0_0x2548(_0x33aaba,_0x4b5c8a){const _0x19d758=a0_0x19d7();return a0_0x2548=function(_0x25487d,_0x22f81a){_0x25487d=_0x25487d-0x173;let _0x596050=_0x19d758[_0x25487d];return _0x596050;},a0_0x2548(_0x33aaba,_0x4b5c8a);}export const FilterGristMetaCodeSelect=(_0x99b6ae,_0x52132b,_0x2614a2)=>{const _0x240f4d=a0_0x2548,_0x46e9e7=_0x99b6ae[_0x240f4d(0x17b)],_0x58d388=_0x99b6ae['record'][_0x240f4d(0x187)],_0x5c5cf0=_0x58d388['codes']&&_0x58d388[_0x240f4d(0x173)]['length']>0x0?_0x58d388[_0x240f4d(0x173)]:void 0x0,{operator:_0x43e1b7='eq'}=_0x46e9e7;let _0x1e804c=_0x52132b||'',_0x39dffd=_0x52132b||'';if(_0x58d388['dispField']&&_0x52132b&&_0x5c5cf0){let _0x52f302=_0x5c5cf0[_0x240f4d(0x17b)](_0x296001=>_0x296001[_0x240f4d(0x17a)]==_0x52132b);_0x52f302&&_0x52f302['length']>0x0&&(_0x39dffd=_0x52f302[0x0][_0x240f4d(0x17f)]);}return'eq'===_0x43e1b7?html`
8
+ <input name='${_0x99b6ae['name']}' .value=${_0x1e804c} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0xb4ca12[_0x5d6eae(0xb4)]}_disp'
13
- .value=${_0x144d7a}
14
- @click=${_0x1fd359=>{const _0x351394=_0x5d6eae;_0x1fd359[_0x351394(0xc3)]();const _0x27f239=_0x1fd359[_0x351394(0xb5)];openMetaCodeSelector(_0xb4ca12,_0x3aabfc,_0x1adda2=>{const _0xa69849=_0x351394;let _0x2efb3=_0x1adda2?_0x1adda2[_0x461329['codeField']]:'',_0x58b852=_0x2efb3;_0x1adda2&&_0x461329['dispField']&&(_0x58b852=_0x1adda2[_0x461329[_0xa69849(0xae)]]),_0x27f239[_0xa69849(0xc0)]=_0x58b852,('ox-grid-header'==_0xbcb122[_0xa69849(0xb7)]['toLowerCase']()?_0xbcb122[_0xa69849(0xbb)]['querySelector'](_0xa69849(0xcf)+_0x214d2e['name']+'\x22]'):_0xbcb122[_0xa69849(0xbb)][_0xa69849(0xc6)](_0xa69849(0xb1)+_0x214d2e[_0xa69849(0xb4)]+'\x22]'))[_0xa69849(0xc0)]=_0x2efb3,_0x27f239['dispatchEvent'](new Event(_0xa69849(0xc7),{'bubbles':!0x0})),_0x27f239[_0xa69849(0xb0)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xb4ca12[_0xa69849(0xb4)],'operator':_0x1d35a4,'value':_0x2efb3}}));});}}
12
+ name='${_0x99b6ae[_0x240f4d(0x178)]}_disp'
13
+ .value=${_0x39dffd}
14
+ @click=${_0x4b3fe9=>{const _0x2d9240=_0x240f4d;_0x4b3fe9['stopPropagation']();const _0x5ad3c4=_0x4b3fe9[_0x2d9240(0x17e)];openMetaCodeSelector(_0x99b6ae,_0x52132b,_0x344594=>{const _0xa8061a=_0x2d9240;let _0x4af005=_0x344594?_0x344594[_0x58d388['codeField']]:'',_0x4d8b7b=_0x4af005;_0x344594&&_0x58d388[_0xa8061a(0x175)]&&(_0x4d8b7b=_0x344594[_0x58d388[_0xa8061a(0x175)]]),_0x5ad3c4[_0xa8061a(0x17a)]=_0x4d8b7b,(_0xa8061a(0x18b)==_0x2614a2['tagName']['toLowerCase']()?_0x2614a2['renderRoot'][_0xa8061a(0x176)]('[name=\x22'+_0x46e9e7[_0xa8061a(0x178)]+'\x22]'):_0x2614a2[_0xa8061a(0x174)]['querySelector']('form\x20[name=\x22'+_0x46e9e7[_0xa8061a(0x178)]+'\x22]'))[_0xa8061a(0x17a)]=_0x4af005,_0x5ad3c4[_0xa8061a(0x177)](new Event(_0xa8061a(0x180),{'bubbles':!0x0})),_0x5ad3c4[_0xa8061a(0x177)](new CustomEvent(_0xa8061a(0x188),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x99b6ae['name'],'operator':_0x43e1b7,'value':_0x4af005}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x1d2ae3,_0x31459d){const _0x28b59a=a0_0x1221,_0x3d7e6e=_0x1d2ae3();while(!![]){try{const _0x112f25=-parseInt(_0x28b59a(0xd8))/0x1+-parseInt(_0x28b59a(0xca))/0x2+parseInt(_0x28b59a(0xe3))/0x3+-parseInt(_0x28b59a(0xe0))/0x4*(-parseInt(_0x28b59a(0xda))/0x5)+parseInt(_0x28b59a(0xd7))/0x6*(parseInt(_0x28b59a(0xe1))/0x7)+-parseInt(_0x28b59a(0xdb))/0x8*(parseInt(_0x28b59a(0xcd))/0x9)+parseInt(_0x28b59a(0xe2))/0xa*(-parseInt(_0x28b59a(0xd6))/0xb);if(_0x112f25===_0x31459d)break;else _0x3d7e6e['push'](_0x3d7e6e['shift']());}catch(_0x48f7e3){_0x3d7e6e['push'](_0x3d7e6e['shift']());}}}(a0_0x1dec,0x9a13d));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x1221(_0x1bfa4c,_0x4b8ae1){const _0x1dec33=a0_0x1dec();return a0_0x1221=function(_0x1221cc,_0x542b7f){_0x1221cc=_0x1221cc-0xc9;let _0x476c92=_0x1dec33[_0x1221cc];return _0x476c92;},a0_0x1221(_0x1bfa4c,_0x4b8ae1);}function openMetaObjectSelector(_0x275a32,_0x3cb714,_0x317712){const _0x48d60e=a0_0x1221;var _0x3074d7=html`
1
+ (function(_0x322829,_0x291bc1){const _0x40ef03=a0_0x1699,_0x5cb88d=_0x322829();while(!![]){try{const _0x54b020=parseInt(_0x40ef03(0xde))/0x1*(parseInt(_0x40ef03(0xd4))/0x2)+parseInt(_0x40ef03(0xe3))/0x3+-parseInt(_0x40ef03(0xda))/0x4*(parseInt(_0x40ef03(0xd6))/0x5)+parseInt(_0x40ef03(0xe2))/0x6*(-parseInt(_0x40ef03(0xe7))/0x7)+parseInt(_0x40ef03(0xe9))/0x8+parseInt(_0x40ef03(0xcf))/0x9*(parseInt(_0x40ef03(0xe6))/0xa)+-parseInt(_0x40ef03(0xdb))/0xb;if(_0x54b020===_0x291bc1)break;else _0x5cb88d['push'](_0x5cb88d['shift']());}catch(_0x513022){_0x5cb88d['push'](_0x5cb88d['shift']());}}}(a0_0x77aa,0xea2d7));import'../selector/meta-object-selector-popup';function a0_0x77aa(){const _0x940294=['198MjJzUi','value','form\x20[name=\x22','nameField','record','13380Vstnuk','change','5653015GawbMI','toLowerCase','tMenu','ox-grid-header','4nHpQfs','17249463IJTvNb','stopPropagation','name','262AenSFr','tagName','select_item','filter-change','6mmhuUq','4471767jJakOi','querySelector','options','510410aLTyte','6940703ouSFhg','[name=\x22','2265480scTTBn','tTitle','large','filter','dispatchEvent'];a0_0x77aa=function(){return _0x940294;};return a0_0x77aa();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x46d595,_0x1bb5f8,_0x43882b){const _0x2f245c=a0_0x1699;var _0x231fcc=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x3cb714}
4
- .options=${_0x275a32[_0x48d60e(0xd3)][_0x48d60e(0xdf)]}
5
- .confirmCallback=${_0x317712}
3
+ .value=${_0x1bb5f8}
4
+ .options=${_0x46d595[_0x2f245c(0xd3)]['options']}
5
+ .confirmCallback=${_0x43882b}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x3074d7,{'backdrop':!0x0,'size':'large','title':_0x275a32[_0x48d60e(0xd3)]['options'][_0x48d60e(0xd2)]?TermsUtil['tMenu'](_0x275a32['record'][_0x48d60e(0xdf)][_0x48d60e(0xd2)]):TermsUtil[_0x48d60e(0xcf)](_0x48d60e(0xcc))});}export const FilterGristMetaObjectSelect=(_0x179f0f,_0x492d3a,_0x3db280)=>{const _0x2886c3=a0_0x1221,_0x39f9ea=_0x179f0f['filter'],{operator:_0x32a2f9='eq'}=_0x39f9ea,_0x3d0af3=_0x179f0f[_0x2886c3(0xd3)][_0x2886c3(0xdf)];let _0x55f721=_0x492d3a?_0x492d3a['id']:'',_0x43635d=_0x492d3a?_0x492d3a[_0x3d0af3['nameField']]:'';return'eq'===_0x32a2f9?html`
8
- <input name='${_0x179f0f[_0x2886c3(0xcb)]}' .value=${_0x55f721} type="text" hidden></input>
7
+ `;openPopup(_0x231fcc,{'backdrop':!0x0,'size':_0x2f245c(0xeb),'title':_0x46d595[_0x2f245c(0xd3)][_0x2f245c(0xe5)]['selectorName']?TermsUtil[_0x2f245c(0xd8)](_0x46d595[_0x2f245c(0xd3)][_0x2f245c(0xe5)]['selectorName']):TermsUtil[_0x2f245c(0xea)](_0x2f245c(0xe0))});}function a0_0x1699(_0x3d28aa,_0x23593d){const _0x77aad0=a0_0x77aa();return a0_0x1699=function(_0x16991f,_0x303867){_0x16991f=_0x16991f-0xcd;let _0x585d27=_0x77aad0[_0x16991f];return _0x585d27;},a0_0x1699(_0x3d28aa,_0x23593d);}export const FilterGristMetaObjectSelect=(_0x1d0761,_0x400f2e,_0xaec491)=>{const _0xfcc144=a0_0x1699,_0x549560=_0x1d0761[_0xfcc144(0xcd)],{operator:_0x19c1f0='eq'}=_0x549560,_0x4d249a=_0x1d0761[_0xfcc144(0xd3)][_0xfcc144(0xe5)];let _0x1f64ed=_0x400f2e?_0x400f2e['id']:'',_0x4de7a6=_0x400f2e?_0x400f2e[_0x4d249a[_0xfcc144(0xd2)]]:'';return'eq'===_0x19c1f0?html`
8
+ <input name='${_0x1d0761[_0xfcc144(0xdd)]}' .value=${_0x1f64ed} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x179f0f[_0x2886c3(0xcb)]}_disp'
13
- .value=${_0x43635d}
14
- @click=${_0x55dbd1=>{const _0x5e3287=_0x2886c3;_0x55dbd1[_0x5e3287(0xd1)]();const _0x175169=_0x55dbd1[_0x5e3287(0xd5)];openMetaObjectSelector(_0x179f0f,_0x492d3a,_0xac4653=>{const _0xd411e2=_0x5e3287;let _0x37c7b1=_0xac4653?_0xac4653['id']:'',_0x5d49b7=_0xac4653?_0xac4653[_0x3d0af3[_0xd411e2(0xce)]]:'';_0x175169[_0xd411e2(0xc9)]=_0x5d49b7,('ox-grid-header'==_0x3db280[_0xd411e2(0xdc)]['toLowerCase']()?_0x3db280[_0xd411e2(0xdd)][_0xd411e2(0xde)]('[name=\x22'+_0x39f9ea[_0xd411e2(0xcb)]+'\x22]'):_0x3db280[_0xd411e2(0xdd)][_0xd411e2(0xde)](_0xd411e2(0xd0)+_0x39f9ea[_0xd411e2(0xcb)]+'\x22]'))[_0xd411e2(0xc9)]=_0x37c7b1,_0x175169[_0xd411e2(0xd9)](new Event(_0xd411e2(0xd4),{'bubbles':!0x0})),_0x175169[_0xd411e2(0xd9)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x179f0f[_0xd411e2(0xcb)],'operator':_0x32a2f9,'value':_0x37c7b1}}));});}}
12
+ name='${_0x1d0761[_0xfcc144(0xdd)]}_disp'
13
+ .value=${_0x4de7a6}
14
+ @click=${_0x563cf4=>{const _0x3c2d45=_0xfcc144;_0x563cf4[_0x3c2d45(0xdc)]();const _0x3a0be7=_0x563cf4['target'];openMetaObjectSelector(_0x1d0761,_0x400f2e,_0x320435=>{const _0x63a631=_0x3c2d45;let _0x54e4e1=_0x320435?_0x320435['id']:'',_0x3eb34a=_0x320435?_0x320435[_0x4d249a[_0x63a631(0xd2)]]:'';_0x3a0be7['value']=_0x3eb34a,(_0x63a631(0xd9)==_0xaec491[_0x63a631(0xdf)][_0x63a631(0xd7)]()?_0xaec491['renderRoot']['querySelector'](_0x63a631(0xe8)+_0x549560[_0x63a631(0xdd)]+'\x22]'):_0xaec491['renderRoot'][_0x63a631(0xe4)](_0x63a631(0xd1)+_0x549560[_0x63a631(0xdd)]+'\x22]'))[_0x63a631(0xd0)]=_0x54e4e1,_0x3a0be7[_0x63a631(0xce)](new Event(_0x63a631(0xd5),{'bubbles':!0x0})),_0x3a0be7[_0x63a631(0xce)](new CustomEvent(_0x63a631(0xe1),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1d0761['name'],'operator':_0x19c1f0,'value':_0x54e4e1}}));});}}
15
15
  />
16
- `:html``;};function a0_0x1dec(){const _0x2170d6=['renderRoot','querySelector','options','8zuvBdc','7lHIyto','380eLmfsV','3270006byDkoJ','value','696590spihLI','name','select_item','2940579dWBWDJ','nameField','tTitle','form\x20[name=\x22','stopPropagation','selectorName','record','change','target','172513zqrMTZ','6005850vqKFUA','215490EPpfRu','dispatchEvent','66485qjpCCw','8ARXwxQ','tagName'];a0_0x1dec=function(){return _0x2170d6;};return a0_0x1dec();}
16
+ `:html``;};
@@ -1,9 +1,9 @@
1
- function a0_0x2c4e(_0x45f3f1,_0x16b41d){const _0x4557bd=a0_0x4557();return a0_0x2c4e=function(_0x2c4ebc,_0x1bc164){_0x2c4ebc=_0x2c4ebc-0x73;let _0x3e0325=_0x4557bd[_0x2c4ebc];return _0x3e0325;},a0_0x2c4e(_0x45f3f1,_0x16b41d);}const a0_0x4823cb=a0_0x2c4e;function a0_0x4557(){const _0x5a1817=['keys','editorTemplate','3414980McRtVO','column','options','record','stopPropagation','codes','select_item','214866KWDNPK','1371336xYIhLL','value','1563XzahKK','display','tTitle','22mxQXzf','define','openSelector','fieldMap','2351838cBbDGc','length','150JEPORI','filter','bind','dispatchEvent','popup','properties','5OTVjBz','forEach','large','_onkeydown','dispField','7kKbZZV','row','335682jTHSBd','3975376uTQhEu','push'];a0_0x4557=function(){return _0x5a1817;};return a0_0x4557();}(function(_0x4b0e52,_0x2f54c0){const _0x7eb822=a0_0x2c4e,_0xbcefa8=_0x4b0e52();while(!![]){try{const _0x555717=-parseInt(_0x7eb822(0x77))/0x1+-parseInt(_0x7eb822(0x83))/0x2*(parseInt(_0x7eb822(0x7a))/0x3)+-parseInt(_0x7eb822(0x78))/0x4*(-parseInt(_0x7eb822(0x89))/0x5)+parseInt(_0x7eb822(0x81))/0x6+parseInt(_0x7eb822(0x8e))/0x7*(parseInt(_0x7eb822(0x91))/0x8)+parseInt(_0x7eb822(0x90))/0x9+-parseInt(_0x7eb822(0x95))/0xa*(parseInt(_0x7eb822(0x7d))/0xb);if(_0x555717===_0x2f54c0)break;else _0xbcefa8['push'](_0xbcefa8['shift']());}catch(_0x304438){_0xbcefa8['push'](_0xbcefa8['shift']());}}}(a0_0x4557,0x5113a));import{html}from'lit';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_0x4823cb(0x88)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x4823cb(0x94)](){const _0x58faa6=a0_0x4823cb;let _0x38bf2e='';if(this[_0x58faa6(0x96)][_0x58faa6(0x73)]&&this[_0x58faa6(0x96)][_0x58faa6(0x73)][_0x58faa6(0x97)]){if(this[_0x58faa6(0x96)]['record'][_0x58faa6(0x97)][_0x58faa6(0x8d)]){let _0x249273=this[_0x58faa6(0x96)][_0x58faa6(0x73)][_0x58faa6(0x97)]['codes']||[];if(this['value']&&this[_0x58faa6(0x79)][_0x58faa6(0x82)]>0x0){let _0x29aba9=_0x249273[_0x58faa6(0x84)](_0x334d96=>_0x334d96['value']===this[_0x58faa6(0x79)]);_0x38bf2e=_0x29aba9&&_0x29aba9[_0x58faa6(0x82)]>0x0?_0x29aba9[0x0][_0x58faa6(0x7b)]:'';}}else _0x38bf2e=this[_0x58faa6(0x79)];}else _0x38bf2e='';return html`
2
- ${_0x38bf2e?html` <span tabindex="0" style="flex:1">${_0x38bf2e}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async['firstUpdated'](){super['firstUpdated']();}['_onclick'](_0x2a70f7){const _0x5105e9=a0_0x4823cb;_0x2a70f7[_0x5105e9(0x74)](),this[_0x5105e9(0x7f)]();}[a0_0x4823cb(0x8c)](_0x51c961){const _0x4a4d82=a0_0x4823cb;'Enter'==_0x51c961['key']&&(_0x51c961[_0x4a4d82(0x74)](),this[_0x4a4d82(0x7f)]());}['openSelector'](){const _0x21635d=a0_0x4823cb;this[_0x21635d(0x87)]&&delete this[_0x21635d(0x87)];var {selectorName:_0x864d0=TermsUtil[_0x21635d(0x7c)](_0x21635d(0x76))}=this[_0x21635d(0x96)]['record'][_0x21635d(0x97)]||{},_0x1e1d83=html`
1
+ const a0_0x413564=a0_0x4a1c;(function(_0x7673cf,_0x590857){const _0x4f4452=a0_0x4a1c,_0x441bc7=_0x7673cf();while(!![]){try{const _0xa5550f=-parseInt(_0x4f4452(0xb8))/0x1*(-parseInt(_0x4f4452(0xb6))/0x2)+-parseInt(_0x4f4452(0xbb))/0x3*(-parseInt(_0x4f4452(0xc6))/0x4)+parseInt(_0x4f4452(0xbf))/0x5*(-parseInt(_0x4f4452(0xc8))/0x6)+parseInt(_0x4f4452(0xc3))/0x7+parseInt(_0x4f4452(0xb2))/0x8+-parseInt(_0x4f4452(0xad))/0x9+-parseInt(_0x4f4452(0xcf))/0xa;if(_0xa5550f===_0x590857)break;else _0x441bc7['push'](_0x441bc7['shift']());}catch(_0x54bcdd){_0x441bc7['push'](_0x441bc7['shift']());}}}(a0_0x1041,0x657a4));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x4a1c(_0x2322e9,_0x338154){const _0x104116=a0_0x1041();return a0_0x4a1c=function(_0x4a1cdb,_0x472f3d){_0x4a1cdb=_0x4a1cdb-0xab;let _0x3fa00c=_0x104116[_0x4a1cdb];return _0x3fa00c;},a0_0x4a1c(_0x2322e9,_0x338154);}function a0_0x1041(){const _0x4d1bca=['4CxZfkH','filter','60ioLAUS','row','define','large','display','column','value','2129940XqKVRy','tMenu','forEach','dispatchEvent','3605922XukbTA','record','popup','_onclick','codeField','2241832PPTyWc','length','key','keys','22856CxQGnv','dispField','11SNPXBi','openSelector','properties','1132845CQfcyM','field-change','Enter','codes','38905utegHu','options','editorTemplate','select_item','2264934ykWeXS','push','firstUpdated'];a0_0x1041=function(){return _0x4d1bca;};return a0_0x1041();}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_0x413564(0xba)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x413564(0xc1)](){const _0x53308b=a0_0x413564;let _0x4c92cb='';if(this[_0x53308b(0xcd)][_0x53308b(0xae)]&&this[_0x53308b(0xcd)][_0x53308b(0xae)]['options']){if(this[_0x53308b(0xcd)][_0x53308b(0xae)]['options'][_0x53308b(0xb7)]){let _0x12969d=this[_0x53308b(0xcd)][_0x53308b(0xae)]['options'][_0x53308b(0xbe)]||[];if(this[_0x53308b(0xce)]&&this[_0x53308b(0xce)][_0x53308b(0xb3)]>0x0){let _0x238fe1=_0x12969d[_0x53308b(0xc7)](_0x55c74a=>_0x55c74a[_0x53308b(0xce)]===this[_0x53308b(0xce)]);_0x4c92cb=_0x238fe1&&_0x238fe1[_0x53308b(0xb3)]>0x0?_0x238fe1[0x0][_0x53308b(0xcc)]:'';}}else _0x4c92cb=this[_0x53308b(0xce)];}else _0x4c92cb='';return html`
2
+ ${_0x4c92cb?html` <span tabindex="0" style="flex:1">${_0x4c92cb}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x413564(0xc5)](){const _0x4e5501=a0_0x413564;super[_0x4e5501(0xc5)]();}[a0_0x413564(0xb0)](_0xb612d2){const _0x224b97=a0_0x413564;_0xb612d2['stopPropagation'](),this[_0x224b97(0xb9)]();}['_onkeydown'](_0x5afe8c){const _0x48fcc4=a0_0x413564;_0x48fcc4(0xbd)==_0x5afe8c[_0x48fcc4(0xb4)]&&(_0x5afe8c['stopPropagation'](),this[_0x48fcc4(0xb9)]());}[a0_0x413564(0xb9)](){const _0x1ba3aa=a0_0x413564;this[_0x1ba3aa(0xaf)]&&delete this['popup'];var {selectorName:_0x15c753=TermsUtil['tTitle'](_0x1ba3aa(0xc2))}=this[_0x1ba3aa(0xcd)][_0x1ba3aa(0xae)]['options']||{},_0x9d4ee6=html`
4
4
  <meta-object-selector-popup
5
- .value=${this['value']}
6
- .options=${this[_0x21635d(0x96)][_0x21635d(0x73)][_0x21635d(0x97)]}
7
- .confirmCallback=${(_0x559bbb=>{const _0x350856=_0x21635d;let _0x45ebb5=this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)]['codeField'],_0x35b9e8=this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)]['dispField'],_0x216156=this[_0x350856(0x96)]['record'][_0x350856(0x97)][_0x350856(0x80)]||{};if(this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)][_0x350856(0x75)]||(this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)][_0x350856(0x75)]=[]),_0x559bbb){let _0x32e12c=this[_0x350856(0x96)]['record'][_0x350856(0x97)]['codes'][_0x350856(0x84)](_0x59720a=>_0x59720a['value']==_0x559bbb[_0x45ebb5]);_0x32e12c&&0x0!=_0x32e12c[_0x350856(0x82)]||this['column']['record'][_0x350856(0x97)]['codes'][_0x350856(0x92)]({'value':_0x559bbb[_0x45ebb5],'display':_0x559bbb[_0x35b9e8]});}this[_0x350856(0x86)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x559bbb?_0x559bbb[_0x45ebb5]:null,'record':this[_0x350856(0x73)],'column':this[_0x350856(0x96)],'row':this[_0x350856(0x8f)]}})),Object[_0x350856(0x93)](_0x216156)[_0x350856(0x8a)](_0x3630ba=>{const _0x37970a=_0x350856;this[_0x37970a(0x86)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x216156[_0x3630ba]],'after':_0x559bbb?_0x559bbb[_0x3630ba]:null,'record':this['record'],'column':{'name':_0x216156[_0x3630ba]},'row':this['row']}}));});})[_0x21635d(0x85)](this)}
5
+ .value=${this[_0x1ba3aa(0xce)]}
6
+ .options=${this[_0x1ba3aa(0xcd)][_0x1ba3aa(0xae)][_0x1ba3aa(0xc0)]}
7
+ .confirmCallback=${(_0x1eeeda=>{const _0x749ce3=_0x1ba3aa;let _0x6523c4=this['column'][_0x749ce3(0xae)]['options'][_0x749ce3(0xb1)],_0x268811=this['column'][_0x749ce3(0xae)]['options']['dispField'],_0x7ad42e=this[_0x749ce3(0xcd)][_0x749ce3(0xae)][_0x749ce3(0xc0)]['fieldMap']||{};if(this['column'][_0x749ce3(0xae)][_0x749ce3(0xc0)][_0x749ce3(0xbe)]||(this[_0x749ce3(0xcd)]['record'][_0x749ce3(0xc0)]['codes']=[]),_0x1eeeda){let _0x51822f=this['column'][_0x749ce3(0xae)][_0x749ce3(0xc0)][_0x749ce3(0xbe)]['filter'](_0x400d7b=>_0x400d7b['value']==_0x1eeeda[_0x6523c4]);_0x51822f&&0x0!=_0x51822f[_0x749ce3(0xb3)]||this[_0x749ce3(0xcd)]['record'][_0x749ce3(0xc0)][_0x749ce3(0xbe)][_0x749ce3(0xc4)]({'value':_0x1eeeda[_0x6523c4],'display':_0x1eeeda[_0x268811]});}this['dispatchEvent'](new CustomEvent(_0x749ce3(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1eeeda?_0x1eeeda[_0x6523c4]:null,'record':this['record'],'column':this['column'],'row':this[_0x749ce3(0xc9)]}})),Object[_0x749ce3(0xb5)](_0x7ad42e)[_0x749ce3(0xab)](_0x163d2e=>{const _0x4eb3ba=_0x749ce3;this[_0x4eb3ba(0xac)](new CustomEvent(_0x4eb3ba(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4eb3ba(0xae)][_0x7ad42e[_0x163d2e]],'after':_0x1eeeda?_0x1eeeda[_0x163d2e]:null,'record':this[_0x4eb3ba(0xae)],'column':{'name':_0x7ad42e[_0x163d2e]},'row':this[_0x4eb3ba(0xc9)]}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x21635d(0x87)]=openPopup(_0x1e1d83,{'backdrop':!0x0,'size':_0x21635d(0x8b),'title':TermsUtil['tMenu'](_0x864d0)});}}customElements[a0_0x4823cb(0x7e)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
9
+ `;this[_0x1ba3aa(0xaf)]=openPopup(_0x9d4ee6,{'backdrop':!0x0,'size':_0x1ba3aa(0xcb),'title':TermsUtil[_0x1ba3aa(0xd0)](_0x15c753)});}}customElements[a0_0x413564(0xca)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- var a0_0x280b9e=a0_0x2e5a;(function(_0x234994,_0x341cd6){var _0x9488b6=a0_0x2e5a,_0x107167=_0x234994();while(!![]){try{var _0x238e05=-parseInt(_0x9488b6(0xc0))/0x1+-parseInt(_0x9488b6(0xb0))/0x2*(parseInt(_0x9488b6(0xb9))/0x3)+-parseInt(_0x9488b6(0xb1))/0x4+-parseInt(_0x9488b6(0xad))/0x5*(parseInt(_0x9488b6(0xa5))/0x6)+-parseInt(_0x9488b6(0xb8))/0x7*(parseInt(_0x9488b6(0xb3))/0x8)+parseInt(_0x9488b6(0xa7))/0x9+parseInt(_0x9488b6(0xba))/0xa*(parseInt(_0x9488b6(0xbd))/0xb);if(_0x238e05===_0x341cd6)break;else _0x107167['push'](_0x107167['shift']());}catch(_0x501843){_0x107167['push'](_0x107167['shift']());}}}(a0_0x4b38,0x4bd4b));import{html}from'lit';function a0_0x4b38(){var _0x32a172=['forEach','2209329DJxAeS','column','grist-editor-meta-object-selector','value','openSelector','_onkeydown','25AAsxMf','row','tTitle','2uOdfuv','2468880czNSyU','nameField','1392296vTMwYx','editorTemplate','firstUpdated','select_item','stopPropagation','21BScsWX','1718649lXeOQt','5953070ngHxVN','_onclick','field-change','44aIJfDl','define','bind','443187GHPPUX','popup','options','fieldMap','record','192846dQcWqn'];a0_0x4b38=function(){return _0x32a172;};return a0_0x4b38();}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['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x280b9e(0xb4)](){var _0x62eb1b=a0_0x280b9e;let _0x44d184='';return this[_0x62eb1b(0xaa)]&&this[_0x62eb1b(0xa8)][_0x62eb1b(0xa4)]['options']&&(_0x44d184=this['value'][this[_0x62eb1b(0xa8)]['record'][_0x62eb1b(0xa2)][_0x62eb1b(0xb2)]]),html`
2
- ${this['value']?html` <span tabindex="0" style="flex:1">${_0x44d184}</span> `:html`<span tabindex="0">${_0x44d184}</span>`}
3
- `;}async[a0_0x280b9e(0xb5)](){super['firstUpdated']();}[a0_0x280b9e(0xbb)](_0x4c2400){var _0x1ba919=a0_0x280b9e;_0x4c2400[_0x1ba919(0xb7)](),this[_0x1ba919(0xab)]();}[a0_0x280b9e(0xac)](_0x35db2a){var _0x116a12=a0_0x280b9e;'Enter'==_0x35db2a['key']&&(_0x35db2a[_0x116a12(0xb7)](),this[_0x116a12(0xab)]());}[a0_0x280b9e(0xab)](){var _0x535610=a0_0x280b9e;this['popup']&&delete this['popup'];var {selectorName:_0x2acd8b=TermsUtil[_0x535610(0xaf)](_0x535610(0xb6))}=this['column'][_0x535610(0xa4)][_0x535610(0xa2)]||{},_0x467d32=html`
1
+ var a0_0x1cfbe3=a0_0x3203;(function(_0x5ee9c6,_0x21a661){var _0x5d7d01=a0_0x3203,_0x354362=_0x5ee9c6();while(!![]){try{var _0x3b5cee=parseInt(_0x5d7d01(0xe0))/0x1+-parseInt(_0x5d7d01(0xe5))/0x2+-parseInt(_0x5d7d01(0xd8))/0x3*(-parseInt(_0x5d7d01(0xe7))/0x4)+-parseInt(_0x5d7d01(0xeb))/0x5+-parseInt(_0x5d7d01(0xde))/0x6+parseInt(_0x5d7d01(0xf1))/0x7+-parseInt(_0x5d7d01(0xf0))/0x8*(-parseInt(_0x5d7d01(0xee))/0x9);if(_0x3b5cee===_0x21a661)break;else _0x354362['push'](_0x354362['shift']());}catch(_0x53d1b2){_0x354362['push'](_0x354362['shift']());}}}(a0_0x13ed,0x90eb9));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';function a0_0x13ed(){var _0x317ffb=['column','large','2673920SlCaih','select_item','grist-editor-meta-object-selector','9nFcNYn','define','9562120xoVGmQ','2456650xbUjeq','tMenu','bind','field-change','options','record','openSelector','978HvjRVW','editorTemplate','forEach','firstUpdated','nameField','properties','6460386tocvHz','stopPropagation','797267EZuoUb','popup','_onkeydown','key','value','591012fhVXCO','row','1928JYrsiZ','tTitle'];a0_0x13ed=function(){return _0x317ffb;};return a0_0x13ed();}function a0_0x3203(_0x19a645,_0x41998d){var _0x13edec=a0_0x13ed();return a0_0x3203=function(_0x320360,_0x59fa6d){_0x320360=_0x320360-0xd2;var _0x555574=_0x13edec[_0x320360];return _0x555574;},a0_0x3203(_0x19a645,_0x41998d);}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x1cfbe3(0xdd)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x1cfbe3(0xd9)](){var _0x1cad60=a0_0x1cfbe3;let _0x3ac0aa='';return this['value']&&this[_0x1cad60(0xe9)][_0x1cad60(0xd6)][_0x1cad60(0xd5)]&&(_0x3ac0aa=this[_0x1cad60(0xe4)][this['column'][_0x1cad60(0xd6)][_0x1cad60(0xd5)][_0x1cad60(0xdc)]]),html`
2
+ ${this[_0x1cad60(0xe4)]?html` <span tabindex="0" style="flex:1">${_0x3ac0aa}</span> `:html`<span tabindex="0">${_0x3ac0aa}</span>`}
3
+ `;}async[a0_0x1cfbe3(0xdb)](){super['firstUpdated']();}['_onclick'](_0x4d8981){var _0x5d1ff8=a0_0x1cfbe3;_0x4d8981[_0x5d1ff8(0xdf)](),this[_0x5d1ff8(0xd7)]();}[a0_0x1cfbe3(0xe2)](_0x5c84e1){var _0x56a5d5=a0_0x1cfbe3;'Enter'==_0x5c84e1[_0x56a5d5(0xe3)]&&(_0x5c84e1['stopPropagation'](),this[_0x56a5d5(0xd7)]());}[a0_0x1cfbe3(0xd7)](){var _0x4e1ec5=a0_0x1cfbe3;this[_0x4e1ec5(0xe1)]&&delete this[_0x4e1ec5(0xe1)];var {selectorName:_0x1bb28d=TermsUtil[_0x4e1ec5(0xe8)](_0x4e1ec5(0xec))}=this[_0x4e1ec5(0xe9)]['record'][_0x4e1ec5(0xd5)]||{},_0x4f7ce8=html`
4
4
  <meta-object-selector-popup
5
- .value=${this['value']}
6
- .options=${this[_0x535610(0xa8)][_0x535610(0xa4)][_0x535610(0xa2)]}
7
- .confirmCallback=${(_0x57e87f=>{var _0x3843f6=_0x535610;let _0x3c24fd=this['column'][_0x3843f6(0xa4)][_0x3843f6(0xa2)][_0x3843f6(0xa3)]||{};this['dispatchEvent'](new CustomEvent(_0x3843f6(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3843f6(0xaa)],'after':_0x57e87f||null,'record':this[_0x3843f6(0xa4)],'column':this['column'],'row':this[_0x3843f6(0xae)]}})),Object['keys'](_0x3c24fd)[_0x3843f6(0xa6)](_0x4fef0c=>{var _0x2850ce=_0x3843f6;this['dispatchEvent'](new CustomEvent(_0x2850ce(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x2850ce(0xa4)][_0x3c24fd[_0x4fef0c]],'after':_0x57e87f?_0x57e87f[_0x4fef0c]:null,'record':this['record'],'column':{'name':_0x3c24fd[_0x4fef0c]},'row':this[_0x2850ce(0xae)]}}));});})[_0x535610(0xbf)](this)}
5
+ .value=${this[_0x4e1ec5(0xe4)]}
6
+ .options=${this[_0x4e1ec5(0xe9)]['record'][_0x4e1ec5(0xd5)]}
7
+ .confirmCallback=${(_0xf7705=>{var _0x433e93=_0x4e1ec5;let _0x92528c=this['column']['record'][_0x433e93(0xd5)]['fieldMap']||{};this['dispatchEvent'](new CustomEvent(_0x433e93(0xd4),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x433e93(0xe4)],'after':_0xf7705||null,'record':this[_0x433e93(0xd6)],'column':this['column'],'row':this[_0x433e93(0xe6)]}})),Object['keys'](_0x92528c)[_0x433e93(0xda)](_0x4163d1=>{var _0x3cf6f5=_0x433e93;this['dispatchEvent'](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3cf6f5(0xd6)][_0x92528c[_0x4163d1]],'after':_0xf7705?_0xf7705[_0x4163d1]:null,'record':this['record'],'column':{'name':_0x92528c[_0x4163d1]},'row':this[_0x3cf6f5(0xe6)]}}));});})[_0x4e1ec5(0xd3)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x535610(0xc1)]=openPopup(_0x467d32,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x2acd8b)});}}function a0_0x2e5a(_0x509e54,_0x173db9){var _0x4b3869=a0_0x4b38();return a0_0x2e5a=function(_0x2e5a4f,_0x48666a){_0x2e5a4f=_0x2e5a4f-0xa2;var _0xa46970=_0x4b3869[_0x2e5a4f];return _0xa46970;},a0_0x2e5a(_0x509e54,_0x173db9);}customElements[a0_0x280b9e(0xbe)](a0_0x280b9e(0xa9),GristEditorMetaObjectSelector);
9
+ `;this[_0x4e1ec5(0xe1)]=openPopup(_0x4f7ce8,{'backdrop':!0x0,'size':_0x4e1ec5(0xea),'title':TermsUtil[_0x4e1ec5(0xd2)](_0x1bb28d)});}}customElements[a0_0x1cfbe3(0xef)](a0_0x1cfbe3(0xed),GristEditorMetaObjectSelector);
@@ -1 +1 @@
1
- (function(_0x5a6c4f,_0x1658a9){const _0x37d5e0=a0_0x4b50,_0x45b607=_0x5a6c4f();while(!![]){try{const _0x37aa1b=parseInt(_0x37d5e0(0x107))/0x1+-parseInt(_0x37d5e0(0x11a))/0x2*(-parseInt(_0x37d5e0(0x112))/0x3)+parseInt(_0x37d5e0(0x10a))/0x4*(-parseInt(_0x37d5e0(0x106))/0x5)+parseInt(_0x37d5e0(0x108))/0x6+-parseInt(_0x37d5e0(0x10f))/0x7+parseInt(_0x37d5e0(0x10b))/0x8+parseInt(_0x37d5e0(0x115))/0x9*(parseInt(_0x37d5e0(0x10e))/0xa);if(_0x37aa1b===_0x1658a9)break;else _0x45b607['push'](_0x45b607['shift']());}catch(_0x9b07da){_0x45b607['push'](_0x45b607['shift']());}}}(a0_0x3a5e,0x60319));function a0_0x4b50(_0x1f168e,_0x1a5969){const _0x3a5ebf=a0_0x3a5e();return a0_0x4b50=function(_0x4b5069,_0x3fe3e3){_0x4b5069=_0x4b5069-0x106;let _0x4a9972=_0x3a5ebf[_0x4b5069];return _0x4a9972;},a0_0x4b50(_0x1f168e,_0x1a5969);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3a5e(){const _0x24b50d=['95UNuknc','574815TkIheh','212328FEZWuw','dispField','143272DnZBoy','453184MloTtL','length','target','10RuDTtY','3270120KzjxjJ','options','record','90tGxVWX','value','display','2785050yyMNXk','codes','setAttribute','textContent','removeAttribute','37694MZSvzp'];a0_0x3a5e=function(){return _0x24b50d;};return a0_0x3a5e();}function onmouseover(_0xabb3ab){const _0x3ab886=a0_0x4b50,_0x14a44f=_0xabb3ab['target'];detectOverflow(_0x14a44f)&&_0x14a44f[_0x3ab886(0x117)]('data-tooltip',_0x14a44f[_0x3ab886(0x118)]);}function onmouseout(_0x10c71c){const _0x3ad92f=a0_0x4b50;_0x10c71c[_0x3ad92f(0x10d)][_0x3ad92f(0x119)]('data-tooltip');}export const GristRendererMetaCodeSelector=(_0x1b348f,_0x1aa9af,_0x2fa454,_0x346a60,_0x67a608)=>{const _0x3d9939=a0_0x4b50;let _0x17fb75='';if(_0x1aa9af[_0x3d9939(0x111)]&&_0x1aa9af[_0x3d9939(0x111)][_0x3d9939(0x110)]){if(_0x1aa9af[_0x3d9939(0x111)][_0x3d9939(0x110)][_0x3d9939(0x109)]){if(_0x1aa9af[_0x3d9939(0x111)]['options'][_0x3d9939(0x116)]||(_0x1aa9af[_0x3d9939(0x111)][_0x3d9939(0x110)]['codes']=[]),_0x1b348f&&_0x1b348f['length']>0x0){let _0x51a15a=_0x1aa9af['record'][_0x3d9939(0x110)][_0x3d9939(0x116)]['filter'](_0x151f18=>_0x151f18[_0x3d9939(0x113)]===_0x1b348f);_0x17fb75=_0x51a15a&&_0x51a15a[_0x3d9939(0x10c)]>0x0?_0x51a15a[0x0][_0x3d9939(0x114)]:_0x1b348f;}}else _0x17fb75=_0x1b348f;}else _0x17fb75='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x17fb75}</span>`;};
1
+ (function(_0x2879d6,_0x744e7a){const _0x2008a7=a0_0x1d90,_0x12a036=_0x2879d6();while(!![]){try{const _0x152894=parseInt(_0x2008a7(0x6c))/0x1*(parseInt(_0x2008a7(0x79))/0x2)+-parseInt(_0x2008a7(0x82))/0x3*(parseInt(_0x2008a7(0x6b))/0x4)+parseInt(_0x2008a7(0x7f))/0x5*(-parseInt(_0x2008a7(0x6d))/0x6)+parseInt(_0x2008a7(0x81))/0x7*(parseInt(_0x2008a7(0x77))/0x8)+-parseInt(_0x2008a7(0x74))/0x9*(parseInt(_0x2008a7(0x75))/0xa)+-parseInt(_0x2008a7(0x76))/0xb*(parseInt(_0x2008a7(0x6f))/0xc)+-parseInt(_0x2008a7(0x7c))/0xd;if(_0x152894===_0x744e7a)break;else _0x12a036['push'](_0x12a036['shift']());}catch(_0x22b3a2){_0x12a036['push'](_0x12a036['shift']());}}}(a0_0x3109,0x5a8ca));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x1dc26f){const _0x4d79b5=a0_0x1d90,_0x16c87e=_0x1dc26f[_0x4d79b5(0x80)];detectOverflow(_0x16c87e)&&_0x16c87e[_0x4d79b5(0x7d)](_0x4d79b5(0x7e),_0x16c87e[_0x4d79b5(0x72)]);}function onmouseout(_0x267b72){const _0x70e965=a0_0x1d90;_0x267b72['target'][_0x70e965(0x78)](_0x70e965(0x7e));}function a0_0x1d90(_0x2cf389,_0x11c234){const _0x310903=a0_0x3109();return a0_0x1d90=function(_0x1d90d7,_0x5ad398){_0x1d90d7=_0x1d90d7-0x6b;let _0x400ac1=_0x310903[_0x1d90d7];return _0x400ac1;},a0_0x1d90(_0x2cf389,_0x11c234);}function a0_0x3109(){const _0x13c498=['record','2927379pySlLO','setAttribute','data-tooltip','20kltDGR','target','55531jSagMA','6FDLwUe','109448QKRpsk','13zDRXal','333228qDelNL','codes','164124DDrBva','options','value','textContent','length','1566mYmWjQ','6260jChTkn','66OodRNv','352wwcPxF','removeAttribute','109982AyxgjA','filter'];a0_0x3109=function(){return _0x13c498;};return a0_0x3109();}export const GristRendererMetaCodeSelector=(_0x59164d,_0x387e57,_0x31bcea,_0x14b999,_0x475128)=>{const _0x4314af=a0_0x1d90;let _0x24a7b3='';if(_0x387e57[_0x4314af(0x7b)]&&_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]){if(_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]['dispField']){if(_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)][_0x4314af(0x6e)]||(_0x387e57[_0x4314af(0x7b)]['options'][_0x4314af(0x6e)]=[]),_0x59164d&&_0x59164d['length']>0x0){let _0x9b0b2=_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]['codes'][_0x4314af(0x7a)](_0x546aa6=>_0x546aa6[_0x4314af(0x71)]===_0x59164d);_0x24a7b3=_0x9b0b2&&_0x9b0b2[_0x4314af(0x73)]>0x0?_0x9b0b2[0x0]['display']:_0x59164d;}}else _0x24a7b3=_0x59164d;}else _0x24a7b3='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x24a7b3}</span>`;};
@@ -1 +1 @@
1
- (function(_0x343842,_0x1b2d36){const _0x184405=a0_0x553f,_0x27439e=_0x343842();while(!![]){try{const _0x3934ac=-parseInt(_0x184405(0x1b5))/0x1+-parseInt(_0x184405(0x1ac))/0x2*(parseInt(_0x184405(0x1ad))/0x3)+parseInt(_0x184405(0x1b7))/0x4+parseInt(_0x184405(0x1b8))/0x5+parseInt(_0x184405(0x1b4))/0x6*(parseInt(_0x184405(0x1a7))/0x7)+-parseInt(_0x184405(0x1af))/0x8*(-parseInt(_0x184405(0x1ae))/0x9)+-parseInt(_0x184405(0x1b6))/0xa*(parseInt(_0x184405(0x1a8))/0xb);if(_0x3934ac===_0x1b2d36)break;else _0x27439e['push'](_0x27439e['shift']());}catch(_0x1904d6){_0x27439e['push'](_0x27439e['shift']());}}}(a0_0x541b,0x9933f));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x459e15){const _0x1c225c=a0_0x553f,_0x244f96=_0x459e15[_0x1c225c(0x1ab)];detectOverflow(_0x244f96)&&_0x244f96['setAttribute'](_0x1c225c(0x1b1),_0x244f96[_0x1c225c(0x1aa)]);}function a0_0x541b(){const _0x30cf34=['5312087JCYEZs','options','textContent','target','178sUUGuJ','18807afQJBI','4566411wlQVcT','8cgdEJN','record','data-tooltip','removeAttribute','nameField','109680YgpTjL','280956ftrAbd','30AGUHdH','4039764OnzadD','3333235rIplnJ','280gIYnNb'];a0_0x541b=function(){return _0x30cf34;};return a0_0x541b();}function onmouseout(_0x3d7a06){const _0x23e1f1=a0_0x553f;_0x3d7a06[_0x23e1f1(0x1ab)][_0x23e1f1(0x1b2)]('data-tooltip');}function a0_0x553f(_0x5739e7,_0x24a983){const _0x541bcc=a0_0x541b();return a0_0x553f=function(_0x553fbc,_0xe248ca){_0x553fbc=_0x553fbc-0x1a7;let _0x2e7ca9=_0x541bcc[_0x553fbc];return _0x2e7ca9;},a0_0x553f(_0x5739e7,_0x24a983);}export const GristRendererMetaObjectSelector=(_0x2a8e54,_0x16acbe,_0x30938d,_0x2a6f9e,_0x5e804e)=>{const _0x52726b=a0_0x553f;let _0x2f4ba9='';return _0x2a8e54&&_0x16acbe[_0x52726b(0x1b0)][_0x52726b(0x1a9)]&&(_0x2f4ba9=_0x2a8e54[_0x16acbe[_0x52726b(0x1b0)][_0x52726b(0x1a9)][_0x52726b(0x1b3)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2f4ba9}</span>`;};
1
+ (function(_0x690259,_0x2e2128){const _0x561bfe=a0_0x1c80,_0x4cbc7f=_0x690259();while(!![]){try{const _0x3379da=parseInt(_0x561bfe(0x13c))/0x1+-parseInt(_0x561bfe(0x137))/0x2+parseInt(_0x561bfe(0x145))/0x3*(parseInt(_0x561bfe(0x13d))/0x4)+-parseInt(_0x561bfe(0x13a))/0x5+parseInt(_0x561bfe(0x13e))/0x6*(-parseInt(_0x561bfe(0x143))/0x7)+parseInt(_0x561bfe(0x13f))/0x8*(-parseInt(_0x561bfe(0x141))/0x9)+parseInt(_0x561bfe(0x13b))/0xa;if(_0x3379da===_0x2e2128)break;else _0x4cbc7f['push'](_0x4cbc7f['shift']());}catch(_0xa8def4){_0x4cbc7f['push'](_0x4cbc7f['shift']());}}}(a0_0x3cbe,0xc8046));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3cbe(){const _0x58f463=['nameField','textContent','7710235cSIVlJ','15858170RPeUwp','1564763zGSyFZ','8EGLwAU','1764auihKr','2752bvishA','record','14319uemVEV','options','4466eMNBre','removeAttribute','1489398AjEHiG','data-tooltip','target','setAttribute','2094638AIYKsK'];a0_0x3cbe=function(){return _0x58f463;};return a0_0x3cbe();}function onmouseover(_0x3eb8cd){const _0x455251=a0_0x1c80,_0x1e9360=_0x3eb8cd['target'];detectOverflow(_0x1e9360)&&_0x1e9360[_0x455251(0x136)](_0x455251(0x134),_0x1e9360[_0x455251(0x139)]);}function a0_0x1c80(_0x4f0623,_0x3308f6){const _0x3cbe1a=a0_0x3cbe();return a0_0x1c80=function(_0x1c80b9,_0x4d0f56){_0x1c80b9=_0x1c80b9-0x134;let _0x378732=_0x3cbe1a[_0x1c80b9];return _0x378732;},a0_0x1c80(_0x4f0623,_0x3308f6);}function onmouseout(_0x1544ea){const _0x189c4a=a0_0x1c80;_0x1544ea[_0x189c4a(0x135)][_0x189c4a(0x144)](_0x189c4a(0x134));}export const GristRendererMetaObjectSelector=(_0x5b9b16,_0x3ef40c,_0xd99915,_0x42aaac,_0x284c9a)=>{const _0x49e949=a0_0x1c80;let _0x152d5e='';return _0x5b9b16&&_0x3ef40c[_0x49e949(0x140)][_0x49e949(0x142)]&&(_0x152d5e=_0x5b9b16[_0x3ef40c['record'][_0x49e949(0x142)][_0x49e949(0x138)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x152d5e}</span>`;};
@@ -1,4 +1,4 @@
1
- const a0_0x4f99e5=a0_0x1cec;(function(_0x543953,_0x126f40){const _0x165324=a0_0x1cec,_0x5a2a50=_0x543953();while(!![]){try{const _0x500a6e=parseInt(_0x165324(0x15a))/0x1+-parseInt(_0x165324(0x168))/0x2*(-parseInt(_0x165324(0x138))/0x3)+parseInt(_0x165324(0x16a))/0x4+-parseInt(_0x165324(0x11b))/0x5+-parseInt(_0x165324(0x162))/0x6+parseInt(_0x165324(0x123))/0x7*(-parseInt(_0x165324(0x120))/0x8)+-parseInt(_0x165324(0x139))/0x9*(-parseInt(_0x165324(0x167))/0xa);if(_0x500a6e===_0x126f40)break;else _0x5a2a50['push'](_0x5a2a50['shift']());}catch(_0x3c5626){_0x5a2a50['push'](_0x5a2a50['shift']());}}}(a0_0x4e6c,0x21bb0));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';function a0_0x1cec(_0x2252fb,_0x51037c){const _0x4e6c18=a0_0x4e6c();return a0_0x1cec=function(_0x1cecd5,_0x3e520c){_0x1cecd5=_0x1cecd5-0x115;let _0x37936c=_0x4e6c18[_0x1cecd5];return _0x37936c;},a0_0x1cec(_0x2252fb,_0x51037c);}export class MetaObjectSelectorPopup extends LitElement{static [a0_0x4f99e5(0x11c)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x2bd141=a0_0x379e;(function(_0x36a116,_0x42ec6f){const _0x5de2f4=a0_0x379e,_0x1ff41a=_0x36a116();while(!![]){try{const _0x462930=-parseInt(_0x5de2f4(0x1a5))/0x1+-parseInt(_0x5de2f4(0x17c))/0x2+parseInt(_0x5de2f4(0x175))/0x3*(parseInt(_0x5de2f4(0x191))/0x4)+parseInt(_0x5de2f4(0x15a))/0x5+-parseInt(_0x5de2f4(0x197))/0x6+parseInt(_0x5de2f4(0x172))/0x7+-parseInt(_0x5de2f4(0x198))/0x8;if(_0x462930===_0x42ec6f)break;else _0x1ff41a['push'](_0x1ff41a['shift']());}catch(_0x4cb879){_0x1ff41a['push'](_0x1ff41a['shift']());}}}(a0_0x452e,0x1faa1));function a0_0x379e(_0x4cd2de,_0x147e6d){const _0x452ef3=a0_0x452e();return a0_0x379e=function(_0x379e55,_0x31a1a3){_0x379e55=_0x379e55-0x155;let _0x3a05d6=_0x452ef3[_0x379e55];return _0x3a05d6;},a0_0x379e(_0x4cd2de,_0x147e6d);}function a0_0x452e(){const _0x5d152e=['getCodeByScenario','searchByPagination','1771322OTjeAY','resource-object','define','31686KpTuDa','forEach','hidden','GRID','connectedCallback','codes','menu_template','288300QoiCGX','gridConfig','resource-code-selector','clickCancel','getSelectColumns','scenario','info','after_set_fields','grist','includes','align','meta-object-selector','push','tButton','selected','select-row-toggle','firstUpdated','name','code','showToast','handlers','56zxEZdO','NOTHING_SELECTED','getGristPagination100Config','fetchHandler','values','args','253824atkvbd','1110952OXSHMj','record','dispField','empty','sorters','search_hidden_fields','left','appendable','length','filter','keys','getGristGuttersConfig','shadowRoot','134733CRXVRt','object','#ox-grist','bind','filterFields','options','meta-code-selector','944195zVqdTU','search','selectRecord','basicArgs','type','confirmCallback','clickEmpty','getGristColumnConfig2','isArray','gql','render','rows','select','meta-object-selector-popup','columns','LIST','codeField','nameField','filters','string','getGristSelectableConfig','startsWith'];a0_0x452e=function(){return _0x5d152e;};return a0_0x452e();}import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x4f99e5=a0_0x1cec;(function(_0x543953,_0x126f40){const _0x165324=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0x4f99e5(0x126)](){const _0x21b329=a0_0x4f99e5;this[_0x21b329(0x15f)]=this[_0x21b329(0x156)]['filters']?this['options'][_0x21b329(0x121)]:this[_0x21b329(0x148)]&&this['basicArgs'][_0x21b329(0x121)]?this[_0x21b329(0x148)]['filters']:[];let _0x1190b8=this[_0x21b329(0x156)][_0x21b329(0x152)]?this[_0x21b329(0x156)][_0x21b329(0x152)]:this['basicArgs']&&this['basicArgs'][_0x21b329(0x152)]?this[_0x21b329(0x148)]['sorters']:[],_0x2dc014=this[_0x21b329(0x156)][_0x21b329(0x147)]?this['options']['filterFields']:this[_0x21b329(0x156)][_0x21b329(0x157)]?.[_0x21b329(0x117)]&&this[_0x21b329(0x156)][_0x21b329(0x157)]?.[_0x21b329(0x117)][_0x21b329(0x155)]>0x0?this[_0x21b329(0x156)][_0x21b329(0x157)][_0x21b329(0x117)]:[],_0x329f7f=this['options']['select'];if(!_0x2dc014||0x0==_0x2dc014[_0x21b329(0x155)]){let _0xc1e3d0;this[_0x21b329(0x156)][_0x21b329(0x143)]&&(_0xc1e3d0=this[_0x21b329(0x156)][_0x21b329(0x143)]),this[_0x21b329(0x156)][_0x21b329(0x146)]&&(_0xc1e3d0=this['options']['nameField']),_0xc1e3d0&&_0x2dc014[_0x21b329(0x131)]({'name':_0xc1e3d0,'operator':'eq'});}let _0x4c49b6=[...MetaApi[_0x21b329(0x160)](!0x0,!0x1)];if(_0x329f7f&&_0x329f7f[_0x21b329(0x155)]>0x0)for(let _0x261518=0x0;_0x261518<_0x329f7f['length'];_0x261518++){let {type:_0x529932='string',name:_0x536afb,hidden:_0x33ccee=!0x1,record:_0x41d66c={'align':_0x21b329(0x119)},header:_0xc9e51d,sortable:_0x42c79e=!0x1,width:_0x50c0fb=0x87,options:_0x36d276,select_opt:_0x43504c,object_opt:_0x15728a}=_0x329f7f[_0x261518];if(_0x43504c&&(_0x36d276=_0x43504c),_0x15728a&&(_0x36d276=_0x15728a),[_0x21b329(0x12c),_0x21b329(0x144)][_0x21b329(0x140)](_0x529932)?_0x529932=_0x21b329(0x12a):[_0x21b329(0x14d)][_0x21b329(0x140)](_0x529932)&&(_0x529932=_0x21b329(0x14b)),'id'==_0x536afb)_0x4c49b6['push']({'type':'string','name':_0x536afb,'hidden':!0x0});else{let _0x206791=MetaApi[_0x21b329(0x164)](_0x529932,_0x536afb,_0xc9e51d||_0x536afb,_0x41d66c[_0x21b329(0x134)]?_0x41d66c['align']:_0x21b329(0x119),!0x1,_0x42c79e,_0x50c0fb);_0x529932[_0x21b329(0x151)](_0x21b329(0x12d))&&_0x15728a&&_0x15728a[_0x21b329(0x124)]&&(_0x36d276=await MetaUiUtil[_0x21b329(0x122)](_0x529932,_0x36d276)),_0x21b329(0x129)===_0x529932?Array[_0x21b329(0x154)](_0x36d276)?_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]=_0x36d276:_0x21b329(0x125)===_0x36d276[_0x21b329(0x135)]?_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]=await ServiceUtil[_0x21b329(0x141)](_0x36d276[_0x21b329(0x16b)]?_0x36d276[_0x21b329(0x16b)]:_0x36d276[_0x21b329(0x142)]):_0x21b329(0x13a)===_0x36d276[_0x21b329(0x135)]?_0x206791[_0x21b329(0x13b)]['options']=await ServiceUtil[_0x21b329(0x161)](_0x36d276[_0x21b329(0x142)],_0x36d276['args']):'entity'===_0x36d276['type']&&(_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]=await ServiceUtil[_0x21b329(0x118)](_0x36d276[_0x21b329(0x13d)])):_0x21b329(0x12a)===_0x529932?_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]={..._0x36d276}:_0x21b329(0x14b)==_0x529932&&(_0x36d276[_0x21b329(0x16c)]&&(_0x36d276[_0x21b329(0x169)]=await ServiceUtil['getCodeByEntity'](_0x36d276)),_0x206791['record']['options']={..._0x36d276}),_0x206791[_0x21b329(0x165)]=_0x33ccee,_0x4c49b6[_0x21b329(0x131)](_0x206791);}}else _0x4c49b6[_0x21b329(0x131)](MetaApi['getGristColumnConfig2']('string',this['options']['codeField'],this[_0x21b329(0x156)]['codeField'],_0x21b329(0x119),!0x1,!0x0,0xb4)),this['options']['dispField']&&_0x4c49b6[_0x21b329(0x131)](MetaApi['getGristColumnConfig2'](_0x21b329(0x132),this[_0x21b329(0x156)][_0x21b329(0x16c)],this['options'][_0x21b329(0x16c)],_0x21b329(0x119),!0x1,!0x0,0x12c));_0x4c49b6[_0x21b329(0x13c)](_0x328dc0=>{const _0x473879=_0x21b329;let _0x3c50df=_0x2dc014[_0x473879(0x133)](_0xee3b1a=>_0x473879(0x132)==typeof _0xee3b1a?_0x328dc0[_0x473879(0x142)]==_0xee3b1a:_0x328dc0[_0x473879(0x142)]==_0xee3b1a[_0x473879(0x142)]);_0x3c50df&&_0x3c50df['length']>0x0&&(_0x328dc0[_0x473879(0x133)]=_0x473879(0x132)==typeof _0x3c50df[0x0]?_0x473879(0x117):_0x3c50df[0x0]);});let _0x582226={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x21b329(0x163)](),'columns':_0x4c49b6,'sorters':[..._0x1190b8]};_0x582226[_0x21b329(0x11d)][_0x21b329(0x128)]={'click':_0x21b329(0x15c),'dblclick':(_0x1f7a9f,_0x5cf843,_0x353c1d,_0x17862b,_0x111663,_0x1033da)=>{const _0x2b8864=_0x21b329;this[_0x2b8864(0x12f)](_0x17862b);}},_0x582226[_0x21b329(0x11d)]['appendable']=!0x1,this['gridConfig']=_0x582226,await super['connectedCallback']();}async['firstUpdated'](){await super['firstUpdated']();}[a0_0x4f99e5(0x12e)](){const _0xb074bc=a0_0x4f99e5;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0xb074bc(0x145)]} .mode=${isMobileDevice()?_0xb074bc(0x166):'GRID'} auto-fetch
22
- .fetchHandler=${this[_0xb074bc(0x150)][_0xb074bc(0x136)](this)}>
20
+ `];async['connectedCallback'](){const _0x544cb3=a0_0x379e;this['search_hidden_fields']=this[_0x544cb3(0x158)][_0x544cb3(0x16c)]?this[_0x544cb3(0x158)][_0x544cb3(0x16c)]:this[_0x544cb3(0x15d)]&&this[_0x544cb3(0x15d)][_0x544cb3(0x16c)]?this[_0x544cb3(0x15d)][_0x544cb3(0x16c)]:[];let _0x23bc8e=this[_0x544cb3(0x158)][_0x544cb3(0x19c)]?this[_0x544cb3(0x158)][_0x544cb3(0x19c)]:this[_0x544cb3(0x15d)]&&this['basicArgs']['sorters']?this[_0x544cb3(0x15d)][_0x544cb3(0x19c)]:[],_0x549db9=this['options'][_0x544cb3(0x157)]?this[_0x544cb3(0x158)][_0x544cb3(0x157)]:this[_0x544cb3(0x158)][_0x544cb3(0x17b)]?.[_0x544cb3(0x15b)]&&this['options'][_0x544cb3(0x17b)]?.[_0x544cb3(0x15b)]['length']>0x0?this[_0x544cb3(0x158)][_0x544cb3(0x17b)]['search']:[],_0x5bb115=this[_0x544cb3(0x158)][_0x544cb3(0x166)];if(!_0x549db9||0x0==_0x549db9[_0x544cb3(0x1a0)]){let _0x967665;this['options'][_0x544cb3(0x16a)]&&(_0x967665=this[_0x544cb3(0x158)]['codeField']),this[_0x544cb3(0x158)][_0x544cb3(0x16b)]&&(_0x967665=this[_0x544cb3(0x158)][_0x544cb3(0x16b)]),_0x967665&&_0x549db9[_0x544cb3(0x188)]({'name':_0x967665,'operator':'eq'});}let _0x30ee55=[...MetaApi[_0x544cb3(0x1a3)](!0x0,!0x1)];if(_0x5bb115&&_0x5bb115[_0x544cb3(0x1a0)]>0x0)for(let _0x14f73a=0x0;_0x14f73a<_0x5bb115[_0x544cb3(0x1a0)];_0x14f73a++){let {type:_0x101c66=_0x544cb3(0x16d),name:_0x55dacd,hidden:_0x17364d=!0x1,record:_0x4d6673={'align':_0x544cb3(0x19e)},header:_0x36e5af,sortable:_0x38abbc=!0x1,width:_0x5cc7f6=0x87,options:_0x496821,select_opt:_0x517804,object_opt:_0x299a71}=_0x5bb115[_0x14f73a];if(_0x517804&&(_0x496821=_0x517804),_0x299a71&&(_0x496821=_0x299a71),[_0x544cb3(0x173),_0x544cb3(0x1a6)][_0x544cb3(0x185)](_0x101c66)?_0x101c66=_0x544cb3(0x187):[_0x544cb3(0x17e)][_0x544cb3(0x185)](_0x101c66)&&(_0x101c66=_0x544cb3(0x159)),'id'==_0x55dacd)_0x30ee55[_0x544cb3(0x188)]({'type':_0x544cb3(0x16d),'name':_0x55dacd,'hidden':!0x0});else{let _0x12ddcf=MetaApi[_0x544cb3(0x161)](_0x101c66,_0x55dacd,_0x36e5af||_0x55dacd,_0x4d6673[_0x544cb3(0x186)]?_0x4d6673[_0x544cb3(0x186)]:_0x544cb3(0x19e),!0x1,_0x38abbc,_0x5cc7f6);_0x101c66[_0x544cb3(0x16f)]('meta-')&&_0x299a71&&_0x299a71['menu']&&(_0x496821=await MetaUiUtil['getGristMetaObjectOptions'](_0x101c66,_0x496821)),'select'===_0x101c66?Array[_0x544cb3(0x162)](_0x496821)?_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]=_0x496821:_0x544cb3(0x18e)===_0x496821[_0x544cb3(0x15e)]?_0x12ddcf[_0x544cb3(0x199)]['options']=await ServiceUtil['getCodeSelectorData'](_0x496821[_0x544cb3(0x195)]?_0x496821[_0x544cb3(0x195)]:_0x496821['name']):_0x544cb3(0x181)===_0x496821[_0x544cb3(0x15e)]?_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]=await ServiceUtil[_0x544cb3(0x170)](_0x496821[_0x544cb3(0x18d)],_0x496821[_0x544cb3(0x196)]):'entity'===_0x496821[_0x544cb3(0x15e)]&&(_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]=await ServiceUtil['getCodeByEntity'](_0x496821[_0x544cb3(0x196)])):_0x544cb3(0x187)===_0x101c66?_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]={..._0x496821}:_0x544cb3(0x159)==_0x101c66&&(_0x496821[_0x544cb3(0x19a)]&&(_0x496821[_0x544cb3(0x17a)]=await ServiceUtil['getCodeByEntity'](_0x496821)),_0x12ddcf[_0x544cb3(0x199)]['options']={..._0x496821}),_0x12ddcf[_0x544cb3(0x177)]=_0x17364d,_0x30ee55[_0x544cb3(0x188)](_0x12ddcf);}}else _0x30ee55[_0x544cb3(0x188)](MetaApi[_0x544cb3(0x161)](_0x544cb3(0x16d),this['options'][_0x544cb3(0x16a)],this[_0x544cb3(0x158)]['codeField'],_0x544cb3(0x19e),!0x1,!0x0,0xb4)),this[_0x544cb3(0x158)][_0x544cb3(0x19a)]&&_0x30ee55['push'](MetaApi[_0x544cb3(0x161)](_0x544cb3(0x16d),this['options']['dispField'],this[_0x544cb3(0x158)][_0x544cb3(0x19a)],'left',!0x1,!0x0,0x12c));_0x30ee55['forEach'](_0x4c7987=>{const _0x2e5ccb=_0x544cb3;let _0x971489=_0x549db9[_0x2e5ccb(0x1a1)](_0x335046=>_0x2e5ccb(0x16d)==typeof _0x335046?_0x4c7987[_0x2e5ccb(0x18d)]==_0x335046:_0x4c7987['name']==_0x335046['name']);_0x971489&&_0x971489[_0x2e5ccb(0x1a0)]>0x0&&(_0x4c7987[_0x2e5ccb(0x1a1)]=_0x2e5ccb(0x16d)==typeof _0x971489[0x0]?_0x2e5ccb(0x15b):_0x971489[0x0]);});let _0x523a9c={'rows':MetaApi[_0x544cb3(0x16e)](!0x1),'pagination':MetaApi[_0x544cb3(0x193)](),'columns':_0x30ee55,'sorters':[..._0x23bc8e]};_0x523a9c[_0x544cb3(0x165)][_0x544cb3(0x190)]={'click':_0x544cb3(0x18b),'dblclick':(_0x404614,_0x109fd9,_0x56c51a,_0x257162,_0x30bc28,_0x50cb3e)=>{const _0x31c722=_0x544cb3;this[_0x31c722(0x15c)](_0x257162);}},_0x523a9c[_0x544cb3(0x165)][_0x544cb3(0x19f)]=!0x1,this[_0x544cb3(0x17d)]=_0x523a9c,await super[_0x544cb3(0x179)]();}async['firstUpdated'](){const _0x302789=a0_0x379e;await super[_0x302789(0x18c)]();}[a0_0x2bd141(0x164)](){const _0x321615=a0_0x2bd141;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x321615(0x17d)]} .mode=${isMobileDevice()?_0x321615(0x169):_0x321615(0x178)} auto-fetch
22
+ .fetchHandler=${this[_0x321615(0x194)][_0x321615(0x156)](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_0x4f99e5=a0_0x1cec;(function(_0x543953,_0x126f40){const _0x165324=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0xb074bc(0x14a)](_0xb074bc(0x14c))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0xb074bc(0x15d)][_0xb074bc(0x136)](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0x321615(0x189)](_0x321615(0x19b))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x321615(0x160)][_0x321615(0x156)](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0xb074bc(0x14a)](_0xb074bc(0x149))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0xb074bc(0x116)][_0xb074bc(0x136)](this)}>
33
+ <mwc-button raised label="${TermsUtil['tButton']('cancel')}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x321615(0x17f)][_0x321615(0x156)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil['tButton'](_0xb074bc(0x129))}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0xb074bc(0x11e)]['bind'](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x321615(0x189)]('select')}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this['clickSelect'][_0x321615(0x156)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get[a0_0x4f99e5(0x127)](){const _0x5bdd7a=a0_0x4f99e5;return this['shadowRoot'][_0x5bdd7a(0x158)]('#ox-grist');}async[a0_0x4f99e5(0x150)]({page:_0x54aa1a=0x0,limit:_0x313c56=0x0,sorters:_0xe1dd08=[],filters:_0x13679c=[]}){const _0x2c61ea=a0_0x4f99e5;let _0x1760e9=[...this['search_hidden_fields']];_0x13679c[_0x2c61ea(0x13c)](_0xadf0e7=>{const _0x5a661f=_0x2c61ea;let _0x5b5bad=_0x1760e9[_0x5a661f(0x133)](_0x567f8f=>_0xadf0e7['name']==_0x567f8f[_0x5a661f(0x142)]);_0x5b5bad&&_0x5b5bad[_0x5a661f(0x155)]>0x0&&delete _0x1760e9[_0xadf0e7[_0x5a661f(0x142)]],_0x1760e9[_0x5a661f(0x131)](_0xadf0e7);});let _0x2bb955=ValueUtil[_0x2c61ea(0x153)](this['options'][_0x2c61ea(0x157)]&&this[_0x2c61ea(0x156)][_0x2c61ea(0x157)][_0x2c61ea(0x13f)]||{},_0x2c61ea(0x14f),'after_set_fields'),_0x57d550=Object[_0x2c61ea(0x11a)](_0x2bb955||{}),_0x28b900=MetaApi[_0x2c61ea(0x13e)](this['gridConfig'][_0x2c61ea(0x137)][_0x2c61ea(0x133)](_0x5a40da=>!_0x57d550[_0x2c61ea(0x140)](_0x5a40da['name'])));return await MetaApi[_0x2c61ea(0x12b)](this[_0x2c61ea(0x156)][_0x2c61ea(0x14e)],_0x1760e9,_0xe1dd08,_0x54aa1a,_0x313c56,_0x28b900);}async[a0_0x4f99e5(0x15d)](_0x4d70e6){const _0x53d5c6=a0_0x4f99e5;this[_0x53d5c6(0x11f)]&&this[_0x53d5c6(0x11f)](null),closePopup(this);}async[a0_0x4f99e5(0x116)](_0x2618c6){closePopup(this);}async[a0_0x4f99e5(0x11e)](_0x498feb){const _0x65a33a=a0_0x4f99e5;let _0x38e5c7=this[_0x65a33a(0x127)][_0x65a33a(0x130)];_0x38e5c7&&0x0!=_0x38e5c7['length']?this[_0x65a33a(0x12f)](_0x38e5c7[0x0]):MetaApi['showToast'](_0x65a33a(0x15e),TermsUtil[_0x65a33a(0x159)](_0x65a33a(0x15b)));}async[a0_0x4f99e5(0x12f)](_0x2de240){const _0x1a8b9a=a0_0x4f99e5;this['confirmCallback']&&this[_0x1a8b9a(0x11f)](_0x2de240),closePopup(this);}}function a0_0x4e6c(){const _0x5327cc=['search_hidden_fields','getGristGuttersConfig','getCodeByScenario','199044DHaLlE','getGristPagination100Config','getGristColumnConfig2','hidden','LIST','3570bMmBDb','2092lxTMzi','codes','576228XWxotj','values','dispField','define','clickCancel','search','getCodeByEntity','left','keys','1216565CyKmoA','styles','rows','clickSelect','confirmCallback','18664GlFytd','filters','getGristMetaObjectOptions','455ZIzCLI','menu','code','connectedCallback','grist','handlers','select','meta-object-selector','searchByPagination','resource-object','meta-','render','selectRecord','selected','push','string','filter','align','type','bind','columns','24LWWeNN','6543knAYSl','scenario','record','forEach','args','getSelectColumns','gql','includes','getCodeSelectorData','name','codeField','object','gridConfig','nameField','filterFields','basicArgs','cancel','tButton','meta-code-selector','empty','resource-code-selector','queryName','query','fetchHandler','startsWith','sorters','getParams','isArray','length','options','menu_template','querySelector','tText','154328NKaceA','NOTHING_SELECTED','select-row-toggle','clickEmpty','info'];a0_0x4e6c=function(){return _0x5327cc;};return a0_0x4e6c();}customElements[a0_0x4f99e5(0x115)]('meta-object-selector-popup',MetaObjectSelectorPopup);
40
+ `;}get[a0_0x2bd141(0x184)](){const _0x18fc80=a0_0x2bd141;return this[_0x18fc80(0x1a4)]['querySelector'](_0x18fc80(0x155));}async['fetchHandler']({page:_0x2f8453=0x0,limit:_0x269184=0x0,sorters:_0x6901af=[],filters:_0x1a975f=[]}){const _0x1fce87=a0_0x2bd141;let _0x3202f8=[...this[_0x1fce87(0x19d)]];_0x1a975f[_0x1fce87(0x176)](_0x2531e1=>{const _0x3de693=_0x1fce87;let _0x11b3c7=_0x3202f8[_0x3de693(0x1a1)](_0xf3846d=>_0x2531e1[_0x3de693(0x18d)]==_0xf3846d[_0x3de693(0x18d)]);_0x11b3c7&&_0x11b3c7['length']>0x0&&delete _0x3202f8[_0x2531e1['name']],_0x3202f8[_0x3de693(0x188)](_0x2531e1);});let _0x39a4da=ValueUtil['getParams'](this[_0x1fce87(0x158)][_0x1fce87(0x17b)]&&this[_0x1fce87(0x158)][_0x1fce87(0x17b)][_0x1fce87(0x163)]||{},'query',_0x1fce87(0x183)),_0x1bd429=Object[_0x1fce87(0x1a2)](_0x39a4da||{}),_0x151fb4=MetaApi[_0x1fce87(0x180)](this[_0x1fce87(0x17d)][_0x1fce87(0x168)]['filter'](_0x35e14c=>!_0x1bd429[_0x1fce87(0x185)](_0x35e14c[_0x1fce87(0x18d)])));return await MetaApi[_0x1fce87(0x171)](this[_0x1fce87(0x158)]['queryName'],_0x3202f8,_0x6901af,_0x2f8453,_0x269184,_0x151fb4);}async['clickEmpty'](_0xb4cfb7){const _0x4934e0=a0_0x2bd141;this[_0x4934e0(0x15f)]&&this[_0x4934e0(0x15f)](null),closePopup(this);}async[a0_0x2bd141(0x17f)](_0xdb61d){closePopup(this);}async['clickSelect'](_0x2aa30a){const _0x243cf0=a0_0x2bd141;let _0x17dd3c=this[_0x243cf0(0x184)][_0x243cf0(0x18a)];_0x17dd3c&&0x0!=_0x17dd3c[_0x243cf0(0x1a0)]?this['selectRecord'](_0x17dd3c[0x0]):MetaApi[_0x243cf0(0x18f)](_0x243cf0(0x182),TermsUtil['tText'](_0x243cf0(0x192)));}async[a0_0x2bd141(0x15c)](_0x287ffa){const _0x34df6c=a0_0x2bd141;this[_0x34df6c(0x15f)]&&this[_0x34df6c(0x15f)](_0x287ffa),closePopup(this);}}customElements[a0_0x2bd141(0x174)](a0_0x2bd141(0x167),MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x295e60=a0_0x4ec9;function a0_0x5d5c(){const _0x11f32a=['connectedCallback','578486NPnIvf','27280ljJYow','isDetail','data','getMenuMeta','2YyWUFe','parseBasicButtonConfigs','grist','filterForm','114394bgWsiO','isPage','after','runScenario','params','tTitle','dispatchEvent','split','forEach','field-change','fieldChangeHandlers','callScenario','parent_id','keys','pageUpdated','parseBasicServiceConfigs','is_popup','parseBasicTabConfigs','getParams','menuInfo','setParentId','4558240dfwXeA','executeCallScenarioButtonClick','parseBasicGridConfigs','30HaxtyK','lifecycle','fetchHandler','detail','isEmpty','3396177RVsVFO','body','name','title','excuteOpenPopupButtonClick','includes','etc','is_detail','properties','fetch','title_detail','1579674wQcWqV','openDynamicPopup','parseBasicFormConfigs','menu','active','isNotEmpty','getAndParseMenuMeta','611436ELIaYM','isElement','488BDKShg','addEventListener','etcConfig'];a0_0x5d5c=function(){return _0x11f32a;};return a0_0x5d5c();}(function(_0x46aceb,_0x1f9611){const _0x24f10b=a0_0x4ec9,_0x28485d=_0x46aceb();while(!![]){try{const _0x472755=parseInt(_0x24f10b(0x146))/0x1*(-parseInt(_0x24f10b(0x14b))/0x2)+parseInt(_0x24f10b(0x140))/0x3+parseInt(_0x24f10b(0x164))/0x4+-parseInt(_0x24f10b(0x147))/0x5+-parseInt(_0x24f10b(0x177))/0x6+-parseInt(_0x24f10b(0x14f))/0x7*(parseInt(_0x24f10b(0x142))/0x8)+parseInt(_0x24f10b(0x16c))/0x9*(parseInt(_0x24f10b(0x167))/0xa);if(_0x472755===_0x1f9611)break;else _0x28485d['push'](_0x28485d['shift']());}catch(_0x4ba5ac){_0x28485d['push'](_0x28485d['shift']());}}}(a0_0x5d5c,0x9a234));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x4ec9(_0x357cdd,_0x4817ea){const _0x5d5c3b=a0_0x5d5c();return a0_0x4ec9=function(_0x4ec9ca,_0x2ba84d){_0x4ec9ca=_0x4ec9ca-0x13b;let _0x43385e=_0x5d5c3b[_0x4ec9ca];return _0x43385e;},a0_0x4ec9(_0x357cdd,_0x4817ea);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x6a69dd=>class extends _0x6a69dd{static get[a0_0x295e60(0x174)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x284c94=>Boolean(_0x284c94)},'is_popup':{'type':Boolean,'converter':_0x4e7e42=>Boolean(_0x4e7e42)},'is_activity':{'type':Boolean,'converter':_0xde7932=>Boolean(_0xde7932)},'is_readonly':{'type':Boolean,'converter':_0x4d27d5=>Boolean(_0x4d27d5)}};}get[a0_0x295e60(0x141)](){return!0x0===this['is_detail']||!0x0===this['is_popup'];}get[a0_0x295e60(0x148)](){const _0x103656=a0_0x295e60;return!ValueUtil[_0x103656(0x16b)](this[_0x103656(0x173)])&&this[_0x103656(0x173)];}async['connectedCallback'](){const _0x15896b=a0_0x295e60;super['connectedCallback']&&await super[_0x15896b(0x145)](),this[_0x15896b(0x143)](_0x15896b(0x158),async _0x84458a=>{const _0x26301a=_0x15896b;let {after:_0x2ddaa5,before:_0x518f76,column:_0x2a8a45,record:_0x22679b,row:_0x592b3d}=_0x84458a[_0x26301a(0x16a)],_0x32de1a=_0x2a8a45[_0x26301a(0x16e)];if(Object[_0x26301a(0x15c)](this[_0x26301a(0x159)]||{})[_0x26301a(0x171)](_0x32de1a)){let _0x4ad492,_0x596baf=(await MetaApi[_0x26301a(0x15a)](void 0x0,this[_0x26301a(0x159)][_0x32de1a],{'columnName':_0x32de1a,'column':_0x2a8a45,'record':_0x22679b,'after':_0x2ddaa5,'before':_0x518f76,'row':_0x592b3d},!0x1))[_0x26301a(0x149)][_0x26301a(0x152)]['data']['result'];if(!_0x596baf)return;_0x4ad492=this[_0x26301a(0x14d)]?this['grist'][_0x26301a(0x14d)][_0x26301a(0x16d)]:this,Object[_0x26301a(0x15c)](_0x596baf)[_0x26301a(0x157)](_0x4650dc=>{const _0x1b50d4=_0x26301a;_0x4ad492[_0x1b50d4(0x155)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x22679b,'row':_0x592b3d,'after':_0x596baf[_0x4650dc],'before':_0x22679b[_0x4650dc],'column':{'name':_0x4650dc}}}));});}});}async[a0_0x295e60(0x15d)](_0x353343,_0x2f6482,_0x5013e7){const _0x2a9800=a0_0x295e60;let _0x103a16=this['lifecycle']?.[_0x2a9800(0x153)]?this[_0x2a9800(0x168)][_0x2a9800(0x153)]:{};this[_0x2a9800(0x150)]&&this[_0x2a9800(0x13d)]&&0x0==_0x5013e7[_0x2a9800(0x13d)]&&ValueUtil[_0x2a9800(0x13e)](_0x103a16)&&this['fetch']();}get['isPopup'](){const _0x108ea2=a0_0x295e60;return!ValueUtil[_0x108ea2(0x16b)](this[_0x108ea2(0x15f)])&&this[_0x108ea2(0x15f)];}get[a0_0x295e60(0x150)](){const _0x341264=a0_0x295e60;return!this[_0x341264(0x173)]&&!this[_0x341264(0x15f)];}async[a0_0x295e60(0x13f)](){const _0x470dfa=a0_0x295e60;let _0x2195d9=await MetaApi[_0x470dfa(0x14a)](this);_0x2195d9&&(this[_0x470dfa(0x162)]=_0x2195d9[_0x470dfa(0x13c)],this[_0x470dfa(0x144)]=_0x2195d9[_0x470dfa(0x172)],this['parseBasicGridConfigs']&&this[_0x470dfa(0x166)](_0x2195d9),this['parseBasicServiceConfigs']&&this[_0x470dfa(0x15e)](_0x2195d9),this['parseBasicFormConfigs']&&this[_0x470dfa(0x13b)](_0x2195d9),this[_0x470dfa(0x160)]&&this[_0x470dfa(0x160)](_0x2195d9),this[_0x470dfa(0x14c)]&&this[_0x470dfa(0x14c)](_0x2195d9));}async[a0_0x295e60(0x175)](){const _0xd18ed7=a0_0x295e60;ValueUtil[_0xd18ed7(0x13e)](this[_0xd18ed7(0x14d)])?this['grist']['fetch']():(ValueUtil[_0xd18ed7(0x13e)](this[_0xd18ed7(0x14e)])||this[_0xd18ed7(0x169)])&&await this[_0xd18ed7(0x169)]();}async[a0_0x295e60(0x170)](_0x454beb,_0x3ad60d,_0x3b4200){const _0x4a0840=a0_0x295e60;let _0x2cad48=TermsUtil[_0x4a0840(0x154)](_0x454beb[_0x4a0840(0x16f)]);ValueUtil[_0x4a0840(0x13e)](_0x454beb[_0x4a0840(0x176)])&&(_0x2cad48=_0x2cad48+'-'+ValueUtil[_0x4a0840(0x161)](_0x3ad60d,..._0x454beb['title_detail'][_0x4a0840(0x156)]('.'))),MetaApi[_0x4a0840(0x178)](_0x2cad48,_0x454beb,_0x3ad60d,_0x3b4200);}async[a0_0x295e60(0x165)](_0x52ef36,_0x1f69c2,_0x4998d2){const _0x33bfb9=a0_0x295e60;let _0x39cf0f=await MetaApi[_0x33bfb9(0x15a)](_0x52ef36[_0x33bfb9(0x16e)],_0x52ef36[_0x33bfb9(0x16e)],_0x1f69c2);!0x1!==_0x39cf0f&&!_0x39cf0f['errors']&&ValueUtil[_0x33bfb9(0x13e)](_0x52ef36[_0x33bfb9(0x151)])&&_0x4998d2();}[a0_0x295e60(0x163)](_0x5c4fdf){const _0x304417=a0_0x295e60;this[_0x304417(0x15b)]=_0x5c4fdf,this[_0x304417(0x175)]();}};
1
+ const a0_0x28c189=a0_0x2db3;(function(_0xc2c9d5,_0x9296d7){const _0x28c6d7=a0_0x2db3,_0x1a21ed=_0xc2c9d5();while(!![]){try{const _0x47d2d6=parseInt(_0x28c6d7(0x1b5))/0x1+parseInt(_0x28c6d7(0x180))/0x2+parseInt(_0x28c6d7(0x199))/0x3+parseInt(_0x28c6d7(0x1b0))/0x4*(parseInt(_0x28c6d7(0x17e))/0x5)+-parseInt(_0x28c6d7(0x194))/0x6*(parseInt(_0x28c6d7(0x1a3))/0x7)+parseInt(_0x28c6d7(0x181))/0x8+parseInt(_0x28c6d7(0x187))/0x9*(-parseInt(_0x28c6d7(0x1a6))/0xa);if(_0x47d2d6===_0x9296d7)break;else _0x1a21ed['push'](_0x1a21ed['shift']());}catch(_0x38576a){_0x1a21ed['push'](_0x1a21ed['shift']());}}}(a0_0x203b,0x5ce82));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x2db3(_0x5d77ac,_0x504b07){const _0x203bd8=a0_0x203b();return a0_0x2db3=function(_0x2db306,_0x3c1bba){_0x2db306=_0x2db306-0x178;let _0x24ea56=_0x203bd8[_0x2db306];return _0x24ea56;},a0_0x2db3(_0x5d77ac,_0x504b07);}function a0_0x203b(){const _0x5699a5=['addEventListener','setParentId','dataChangeEventHandler','grist','77zWdAKS','etc','parseBasicTabConfigs','530JVxMcB','lifecycle','includes','dispatchEvent','detail','isElement','field-change','meta-form-','isDetail','getAndParseMenuMeta','173648lxUeOD','parseBasicButtonConfigs','active','tagName','fieldChangeHandlers','13204xjNZTm','getParams','startsWith','is_detail','after','executeCallScenarioButtonClick','fetch','callScenario','name','5HGVDQA','title','1073758cvhPBS','3573992IuBKPG','fetchHandler','is_popup','isNotEmpty','connectedCallback','runScenario','92718GUyrPl','toLowerCase','data','properties','isPopup','menu','getMenuMeta','errors','parseBasicServiceConfigs','result','filterForm','activity-data-change','tTitle','92778OgbrNn','params','parseBasicFormConfigs','isEmpty','body','169203ETLphU','forEach','menuInfo','isPage','split','title_detail'];a0_0x203b=function(){return _0x5699a5;};return a0_0x203b();}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x518841=>class extends _0x518841{static get[a0_0x28c189(0x18a)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x99df08=>Boolean(_0x99df08)},'is_popup':{'type':Boolean,'converter':_0xe43cea=>Boolean(_0xe43cea)},'is_activity':{'type':Boolean,'converter':_0x3626bc=>Boolean(_0x3626bc)},'is_readonly':{'type':Boolean,'converter':_0x4d1e14=>Boolean(_0x4d1e14)}};}get[a0_0x28c189(0x1ab)](){const _0xb48de2=a0_0x28c189;return!0x0===this[_0xb48de2(0x178)]||!0x0===this[_0xb48de2(0x183)];}get[a0_0x28c189(0x1ae)](){const _0x1e305e=a0_0x28c189;return!ValueUtil[_0x1e305e(0x197)](this['is_detail'])&&this[_0x1e305e(0x178)];}async['dataChangeEventHandler'](_0x348faa){const _0x5e2259=a0_0x28c189;let {after:_0x188e6a,before:_0x26514d,column:_0x127bfe,record:_0x2242eb,row:_0xb18c51}=_0x348faa[_0x5e2259(0x1aa)],_0x5148b6=_0x127bfe[_0x5e2259(0x17d)];if(Object['keys'](this[_0x5e2259(0x1b4)]||{})[_0x5e2259(0x1a8)](_0x5148b6)){let _0x525949,_0x481f9e=(await MetaApi[_0x5e2259(0x17c)](void 0x0,this['fieldChangeHandlers'][_0x5148b6],{'columnName':_0x5148b6,'column':_0x127bfe,'record':_0x2242eb,'after':_0x188e6a,'before':_0x26514d,'row':_0xb18c51},!0x1))[_0x5e2259(0x189)][_0x5e2259(0x186)][_0x5e2259(0x189)][_0x5e2259(0x190)];if(!_0x481f9e)return;_0x525949=this[_0x5e2259(0x1a2)]?this[_0x5e2259(0x1a2)][_0x5e2259(0x1a2)][_0x5e2259(0x198)]:this,Object['keys'](_0x481f9e)[_0x5e2259(0x19a)](_0x5c3f2c=>{const _0x1f0462=_0x5e2259;_0x525949[_0x1f0462(0x1a9)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x2242eb,'row':_0xb18c51,'after':_0x481f9e[_0x5c3f2c],'before':_0x2242eb[_0x5c3f2c],'column':{'name':_0x5c3f2c}}}));});}this[_0x5e2259(0x1a9)](new CustomEvent(_0x5e2259(0x192),{'bubbles':!0x0,'composed':!0x0,'detail':_0x348faa[_0x5e2259(0x1aa)]}));}async['connectedCallback'](){const _0x114182=a0_0x28c189;super[_0x114182(0x185)]&&await super[_0x114182(0x185)](),this[_0x114182(0x1b3)][_0x114182(0x188)]()[_0x114182(0x1b7)](_0x114182(0x1ad))?this[_0x114182(0x19f)]('form-field-change',async _0x523c4d=>{const _0x34d5a9=_0x114182;await this[_0x34d5a9(0x1a1)](_0x523c4d);}):this['addEventListener'](_0x114182(0x1ac),async _0x4e6c77=>{const _0x161296=_0x114182;await this[_0x161296(0x1a1)](_0x4e6c77);});}async['pageUpdated'](_0x2b7e9b,_0x1de1b9,_0x5d3d15){const _0x594062=a0_0x28c189;let _0x2884ae=this[_0x594062(0x1a7)]?.[_0x594062(0x195)]?this[_0x594062(0x1a7)]['params']:{};this['isPage']&&this['active']&&0x0==_0x5d3d15[_0x594062(0x1b2)]&&ValueUtil[_0x594062(0x184)](_0x2884ae)&&this['fetch']();}get[a0_0x28c189(0x18b)](){const _0x347d3f=a0_0x28c189;return!ValueUtil[_0x347d3f(0x197)](this['is_popup'])&&this[_0x347d3f(0x183)];}get[a0_0x28c189(0x19c)](){const _0x5e4035=a0_0x28c189;return!this[_0x5e4035(0x178)]&&!this[_0x5e4035(0x183)];}async[a0_0x28c189(0x1af)](){const _0xa7421d=a0_0x28c189;let _0x141619=await MetaApi[_0xa7421d(0x18d)](this);_0x141619&&(this[_0xa7421d(0x19b)]=_0x141619[_0xa7421d(0x18c)],this['etcConfig']=_0x141619[_0xa7421d(0x1a4)],this['parseBasicGridConfigs']&&this['parseBasicGridConfigs'](_0x141619),this[_0xa7421d(0x18f)]&&this[_0xa7421d(0x18f)](_0x141619),this['parseBasicFormConfigs']&&this[_0xa7421d(0x196)](_0x141619),this[_0xa7421d(0x1a5)]&&this['parseBasicTabConfigs'](_0x141619),this[_0xa7421d(0x1b1)]&&this['parseBasicButtonConfigs'](_0x141619));}async[a0_0x28c189(0x17b)](){const _0x21b7f0=a0_0x28c189;ValueUtil['isNotEmpty'](this['grist'])?this[_0x21b7f0(0x1a2)][_0x21b7f0(0x17b)]():(ValueUtil[_0x21b7f0(0x184)](this[_0x21b7f0(0x191)])||this[_0x21b7f0(0x182)])&&await this[_0x21b7f0(0x182)]();}async['excuteOpenPopupButtonClick'](_0x2a0fd2,_0x51a157,_0x30e17a){const _0x455697=a0_0x28c189;let _0x477966=TermsUtil[_0x455697(0x193)](_0x2a0fd2[_0x455697(0x17f)]);ValueUtil['isNotEmpty'](_0x2a0fd2[_0x455697(0x19e)])&&(_0x477966=_0x477966+'-'+ValueUtil[_0x455697(0x1b6)](_0x51a157,..._0x2a0fd2['title_detail'][_0x455697(0x19d)]('.'))),MetaApi['openDynamicPopup'](_0x477966,_0x2a0fd2,_0x51a157,_0x30e17a);}async[a0_0x28c189(0x17a)](_0x2ba7e4,_0xf13d59,_0xd2f0d2){const _0x1d9075=a0_0x28c189;let _0x3ccec1=await MetaApi['callScenario'](_0x2ba7e4[_0x1d9075(0x17d)],_0x2ba7e4[_0x1d9075(0x17d)],_0xf13d59);!0x1!==_0x3ccec1&&!_0x3ccec1[_0x1d9075(0x18e)]&&ValueUtil['isNotEmpty'](_0x2ba7e4[_0x1d9075(0x179)])&&_0xd2f0d2();}[a0_0x28c189(0x1a0)](_0x3f91b0){const _0x35a5bf=a0_0x28c189;this['parent_id']=_0x3f91b0,this[_0x35a5bf(0x17b)]();}};