@things-factory/meta-ui 6.1.17 → 6.1.19

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 +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +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 +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +28 -28
  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 +1 -1
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +5 -5
  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
- 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})}
1
+ const a0_0x3a906c=a0_0x36b8;(function(_0x381efa,_0x31515f){const _0x4f497b=a0_0x36b8,_0x498431=_0x381efa();while(!![]){try{const _0x463fb7=parseInt(_0x4f497b(0x137))/0x1+-parseInt(_0x4f497b(0x136))/0x2*(parseInt(_0x4f497b(0x12b))/0x3)+-parseInt(_0x4f497b(0x13e))/0x4*(parseInt(_0x4f497b(0x12f))/0x5)+parseInt(_0x4f497b(0x131))/0x6*(parseInt(_0x4f497b(0x13c))/0x7)+-parseInt(_0x4f497b(0x133))/0x8+parseInt(_0x4f497b(0x139))/0x9*(-parseInt(_0x4f497b(0x13a))/0xa)+parseInt(_0x4f497b(0x129))/0xb*(parseInt(_0x4f497b(0x134))/0xc);if(_0x463fb7===_0x31515f)break;else _0x498431['push'](_0x498431['shift']());}catch(_0x214b6f){_0x498431['push'](_0x498431['shift']());}}}(a0_0x53f8,0x864c7));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x3489e6 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0x36b8(_0x35770a,_0x1b0d74){const _0x53f80b=a0_0x53f8();return a0_0x36b8=function(_0x36b808,_0x14d2e4){_0x36b808=_0x36b808-0x120;let _0x1818f3=_0x53f80b[_0x36b808];return _0x1818f3;},a0_0x36b8(_0x35770a,_0x1b0d74);}import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';function a0_0x53f8(){const _0x357d2f=['815478nFcRwh','items','86661VKTaiw','220rJERdZ','dynamic-menu','7SgHTUI','portrait','152glPqYJ','hamburger','lite-menu-part','rank','liteMenus','active','FRONT_END','dispatch','content','UPDATE_META_MENU_TEMPLATE','appName','390170SOtkQT','UPDATE_META_UI','1803TDGwjB','get','NAVBAR','meta[name=\x22application-name\x22]','92250mnwgCz','filter','1066428GulwtL','data','7170584hRIOoy','720IUKMik','landscape','2536VIXyeL'];a0_0x53f8=function(){return _0x357d2f;};return a0_0x53f8();}export const UPDATE_META_UI=a0_0x3a906c(0x12a);export const UPDATE_META_MENU_TEMPLATE=a0_0x3a906c(0x127);var HAMBURGER;export async function setupMenuPart(_0x2f54f9){const _0x3ecf6e=a0_0x3a906c;var {hovering:_0x4c57e1=!!isMobileDevice(),slotTemplate:_0x27512c,portraitSlotTemplate:_0x2a8069,landscapeSlotTemplate:_0x13c92e,position:_0x337e54=VIEWPART_POSITION[_0x3ecf6e(0x12d)]}=_0x2f54f9||{};const {hovering:_0x13dcee}=(await clientSettingStore[_0x3ecf6e(0x12c)](_0x3ecf6e(0x13b)))?.['value']||{};void 0x0!==_0x13dcee&&(_0x4c57e1=_0x13dcee);const _0x288ff4=_0x337e54==VIEWPART_POSITION['HEADERBAR']?'landscape':_0x3ecf6e(0x13d),_0x38df94=(_0x3ecf6e(0x135)==_0x288ff4?_0x13c92e:_0x2a8069)||_0x27512c||html``;appendViewpart({'name':_0x3ecf6e(0x120),'viewpart':{'show':!_0x4c57e1,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4c57e1,'template':html`<dynamic-menu-part .orientation=${_0x288ff4}>${_0x38df94}</dynamic-menu-part>`},'position':_0x337e54}),_0x4c57e1&&'portrait'==_0x288ff4?HAMBURGER||(HAMBURGER={'name':_0x3ecf6e(0x13f),'template':html`
2
+ <mwc-icon @click=${_0x30c79a=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
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`
4
+ `,'position':TOOL_POSITION[_0x3ecf6e(0x124)]},store[_0x3ecf6e(0x125)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x3ecf6e(0x125)]({'type':REMOVE_APP_TOOL,'name':_0x3ecf6e(0x13f)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x567c29){const _0x461865=a0_0x3a906c;var _0x5add90=document['querySelector'](_0x461865(0x12e))?.[_0x461865(0x126)],_0x47a49d=(await client['query']({'query':a0_0x3489e6`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0xf250c5=a0_0x2867;(function(_0x4c4e18,_0x304f42){const _0x14d557=a0_0x
20
20
  total
21
21
  }
22
22
  }
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});}
23
+ `,'variables':{'filters':[{'name':_0x461865(0x123),'operator':'eq','value':!0x0},{'name':_0x461865(0x128),'operator':'in','value':['',_0x5add90]}],'sortings':[{'name':_0x461865(0x121),'desc':!0x1}]}}))[_0x461865(0x132)][_0x461865(0x122)][_0x461865(0x138)];store[_0x461865(0x125)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x47a49d[_0x461865(0x130)](_0x47a915=>!_0x47a915[_0x461865(0x128)]||_0x47a915[_0x461865(0x128)]===_0x5add90),'template':_0x567c29});}
@@ -1,16 +1,16 @@
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`
1
+ (function(_0x97207c,_0x593d7a){const _0x2508aa=a0_0x3643,_0x24aea4=_0x97207c();while(!![]){try{const _0x1e2f65=-parseInt(_0x2508aa(0x15e))/0x1+-parseInt(_0x2508aa(0x149))/0x2*(parseInt(_0x2508aa(0x153))/0x3)+-parseInt(_0x2508aa(0x14d))/0x4+parseInt(_0x2508aa(0x161))/0x5*(-parseInt(_0x2508aa(0x158))/0x6)+parseInt(_0x2508aa(0x150))/0x7+-parseInt(_0x2508aa(0x14e))/0x8*(parseInt(_0x2508aa(0x151))/0x9)+-parseInt(_0x2508aa(0x15a))/0xa*(-parseInt(_0x2508aa(0x162))/0xb);if(_0x1e2f65===_0x593d7a)break;else _0x24aea4['push'](_0x24aea4['shift']());}catch(_0x41c57b){_0x24aea4['push'](_0x24aea4['shift']());}}}(a0_0x2d3d,0x34084));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2d3d(){const _0x37d49e=['tMenu','12xccCeY','stopPropagation','30RfUnNH','toLowerCase','renderRoot','selectorName','359640BZkLZt','ox-grid-header','filter-change','690355rqOlHj','3997191cZAXFv','[name=\x22','display','length','dispatchEvent','dispField','value','587706BWfGCH','codeField','large','name','639564rfhKgE','1549832RPkeFP','options','2843652xIQiBu','9YVDZAf','tTitle','3cEPPvh','codes','target','tagName'];a0_0x2d3d=function(){return _0x37d49e;};return a0_0x2d3d();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x2b64d0,_0x4aaacc,_0xa050d3){const _0x271762=a0_0x3643;var _0x571d36=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x275bf8}
4
- .options=${_0x3bdd8e[_0x8f5544(0x92)]}
5
- .confirmCallback=${_0x19db2d}
3
+ .value=${_0x4aaacc}
4
+ .options=${_0x2b64d0[_0x271762(0x14f)]}
5
+ .confirmCallback=${_0xa050d3}
6
6
  ></meta-object-selector-popup>
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>
7
+ `;openPopup(_0x571d36,{'backdrop':!0x0,'size':_0x271762(0x14b),'title':_0x2b64d0[_0x271762(0x14f)][_0x271762(0x15d)]?TermsUtil[_0x271762(0x157)](_0x2b64d0[_0x271762(0x14f)][_0x271762(0x15d)]):TermsUtil[_0x271762(0x152)]('select_item')});}function a0_0x3643(_0x3f26ae,_0x142f50){const _0x2d3dcb=a0_0x2d3d();return a0_0x3643=function(_0x364386,_0x86638f){_0x364386=_0x364386-0x145;let _0x44cf12=_0x2d3dcb[_0x364386];return _0x44cf12;},a0_0x3643(_0x3f26ae,_0x142f50);}export const FilterFormMetaCodeSelect=(_0x451855,_0x50de21,_0x5991bb)=>{const _0x11c39d=a0_0x3643,_0x261cc2=_0x451855[_0x11c39d(0x14f)],_0x4805cc=_0x261cc2[_0x11c39d(0x154)]&&_0x261cc2[_0x11c39d(0x154)][_0x11c39d(0x145)]>0x0?_0x261cc2[_0x11c39d(0x154)]:void 0x0,{operator:_0x1ebe8c='eq'}=_0x451855;let _0x370a33=_0x50de21||'',_0xc0c778=_0x50de21||'';if(_0x261cc2[_0x11c39d(0x147)]&&_0x50de21&&_0x4805cc){let _0x30057a=_0x4805cc['filter'](_0x514cdc=>_0x514cdc['value']==_0x50de21);_0x30057a&&_0x30057a[_0x11c39d(0x145)]>0x0&&(_0xc0c778=_0x30057a[0x0][_0x11c39d(0x164)]);}return'eq'===_0x1ebe8c?html`
8
+ <input name='${_0x451855['name']}' .value=${_0x370a33} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
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}}));});}}
12
+ name='${_0x451855[_0x11c39d(0x14c)]}_disp'
13
+ .value=${_0xc0c778}
14
+ @click=${_0x1bffbd=>{const _0x1b25e4=_0x11c39d;_0x1bffbd[_0x1b25e4(0x159)]();const _0x2de8f0=_0x1bffbd[_0x1b25e4(0x155)];openMetaCodeSelector(_0x451855,_0x50de21,_0x1aaf3e=>{const _0x3949a2=_0x1b25e4;let _0x7ee121=_0x1aaf3e?_0x1aaf3e[_0x261cc2[_0x3949a2(0x14a)]]:'',_0x57840a=_0x7ee121;_0x1aaf3e&&_0x261cc2[_0x3949a2(0x147)]&&(_0x57840a=_0x1aaf3e[_0x261cc2[_0x3949a2(0x147)]]),_0x2de8f0[_0x3949a2(0x148)]=_0x57840a,(_0x3949a2(0x15f)==_0x5991bb[_0x3949a2(0x156)][_0x3949a2(0x15b)]()?_0x5991bb[_0x3949a2(0x15c)]['querySelector'](_0x3949a2(0x163)+_0x451855[_0x3949a2(0x14c)]+'\x22]'):_0x5991bb[_0x3949a2(0x15c)]['querySelector']('form\x20[name=\x22'+_0x451855['name']+'\x22]'))[_0x3949a2(0x148)]=_0x7ee121,_0x2de8f0[_0x3949a2(0x146)](new Event('change',{'bubbles':!0x0})),_0x2de8f0[_0x3949a2(0x146)](new CustomEvent(_0x3949a2(0x160),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x451855[_0x3949a2(0x14c)],'operator':_0x1ebe8c,'value':_0x7ee121}}));});}}
15
15
  />
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();}
16
+ `:html``;};
@@ -1,16 +1,16 @@
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`
1
+ (function(_0x2d798d,_0x7c97e4){const _0x15af3b=a0_0x53aa,_0x1a9290=_0x2d798d();while(!![]){try{const _0x2e1daa=-parseInt(_0x15af3b(0x15e))/0x1*(parseInt(_0x15af3b(0x15f))/0x2)+parseInt(_0x15af3b(0x14a))/0x3+parseInt(_0x15af3b(0x14f))/0x4+parseInt(_0x15af3b(0x161))/0x5*(-parseInt(_0x15af3b(0x154))/0x6)+-parseInt(_0x15af3b(0x14e))/0x7+-parseInt(_0x15af3b(0x15c))/0x8+parseInt(_0x15af3b(0x157))/0x9;if(_0x2e1daa===_0x7c97e4)break;else _0x1a9290['push'](_0x1a9290['shift']());}catch(_0x40aa50){_0x1a9290['push'](_0x1a9290['shift']());}}}(a0_0x5565,0x32788));function a0_0x5565(){const _0x38458f=['tTitle','options','filter-change','dispatchEvent','6knxRVa','renderRoot','change','2494350lPGtWK','toLowerCase','stopPropagation','value','form\x20[name=\x22','1725176YMRzqt','target','2631wbyFRy','10BrFYbB','selectorName','1175535uArBGp','nameField','select_item','name','tagName','406917hjdlCw','querySelector','large','[name=\x22','518833bqXjJj','1327868jsbCQi'];a0_0x5565=function(){return _0x38458f;};return a0_0x5565();}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x178f6f,_0x259150,_0x6589f2){const _0x307e2a=a0_0x53aa;var _0xe09914=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0xb6d4be}
4
- .options=${_0x3aa9b7['options']}
5
- .confirmCallback=${_0x72a2ba}
3
+ .value=${_0x259150}
4
+ .options=${_0x178f6f[_0x307e2a(0x151)]}
5
+ .confirmCallback=${_0x6589f2}
6
6
  ></meta-object-selector-popup>
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>
7
+ `;openPopup(_0xe09914,{'backdrop':!0x0,'size':_0x307e2a(0x14c),'title':_0x178f6f[_0x307e2a(0x151)]['selectorName']?TermsUtil['tMenu'](_0x178f6f['options'][_0x307e2a(0x160)]):TermsUtil[_0x307e2a(0x150)](_0x307e2a(0x163))});}function a0_0x53aa(_0x346d69,_0x7b5eb4){const _0x556507=a0_0x5565();return a0_0x53aa=function(_0x53aa87,_0x126a6d){_0x53aa87=_0x53aa87-0x148;let _0xa53590=_0x556507[_0x53aa87];return _0xa53590;},a0_0x53aa(_0x346d69,_0x7b5eb4);}export const FilterFormMetaObjectSelect=(_0x37f738,_0x41639c,_0x5556da)=>{const _0x4e508a=a0_0x53aa,_0x3d4efb=_0x37f738[_0x4e508a(0x151)],{operator:_0x496f65='eq'}=_0x37f738;let _0x548595=_0x41639c?_0x41639c['id']:'',_0x3da5ee=_0x41639c?_0x41639c[_0x3d4efb[_0x4e508a(0x162)]]:'';return'eq'===_0x496f65?html`
8
+ <input name='${_0x37f738[_0x4e508a(0x148)]}' .value=${_0x548595} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
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}}));});}}
12
+ name='${_0x37f738[_0x4e508a(0x148)]}_disp'
13
+ .value=${_0x3da5ee}
14
+ @click=${_0x4d9d12=>{const _0x35ec5e=_0x4e508a;_0x4d9d12[_0x35ec5e(0x159)]();const _0x547f52=_0x4d9d12[_0x35ec5e(0x15d)];openMetaObjectSelector(_0x37f738,_0x41639c,_0x37f8d0=>{const _0x178f5b=_0x35ec5e;let _0x320f6f=_0x37f8d0?_0x37f8d0['id']:'',_0x3bb7fe=_0x37f8d0?_0x37f8d0[_0x3d4efb[_0x178f5b(0x162)]]:'';_0x547f52['value']=_0x3bb7fe,('ox-grid-header'==_0x5556da[_0x178f5b(0x149)][_0x178f5b(0x158)]()?_0x5556da[_0x178f5b(0x155)]['querySelector'](_0x178f5b(0x14d)+_0x37f738[_0x178f5b(0x148)]+'\x22]'):_0x5556da[_0x178f5b(0x155)][_0x178f5b(0x14b)](_0x178f5b(0x15b)+_0x37f738[_0x178f5b(0x148)]+'\x22]'))[_0x178f5b(0x15a)]=_0x320f6f,_0x547f52['dispatchEvent'](new Event(_0x178f5b(0x156),{'bubbles':!0x0})),_0x547f52[_0x178f5b(0x153)](new CustomEvent(_0x178f5b(0x152),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x37f738[_0x178f5b(0x148)],'operator':_0x496f65,'value':_0x320f6f}}));});}}
15
15
  />
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();}
16
+ `:html``;};
@@ -1,16 +1,16 @@
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`
1
+ (function(_0x4beadd,_0x4d4de8){const _0x2adf7a=a0_0x36a4,_0x186052=_0x4beadd();while(!![]){try{const _0x49501f=parseInt(_0x2adf7a(0x202))/0x1*(-parseInt(_0x2adf7a(0x1fd))/0x2)+-parseInt(_0x2adf7a(0x1f3))/0x3*(parseInt(_0x2adf7a(0x200))/0x4)+-parseInt(_0x2adf7a(0x1f6))/0x5*(parseInt(_0x2adf7a(0x1fe))/0x6)+-parseInt(_0x2adf7a(0x1f7))/0x7*(parseInt(_0x2adf7a(0x20f))/0x8)+parseInt(_0x2adf7a(0x20b))/0x9+parseInt(_0x2adf7a(0x1fc))/0xa*(parseInt(_0x2adf7a(0x20c))/0xb)+parseInt(_0x2adf7a(0x209))/0xc;if(_0x49501f===_0x4d4de8)break;else _0x186052['push'](_0x186052['shift']());}catch(_0x3120ad){_0x186052['push'](_0x186052['shift']());}}}(a0_0x3d47,0x3ca0d));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x3d47(){const _0x3b9774=['record','display','target','options','7373076ObSHpe','change','1759248QcXflg','261943lwwgVr','dispatchEvent','tagName','64vnAQeI','large','querySelector','[name=\x22','codes','filter','dispField','30819lDIkWx','toLowerCase','selectorName','5GpaqAh','56861jUyoSy','length','form\x20[name=\x22','codeField','value','190rONfQj','191516TWdNSr','2017896vfMhkI','name','164dnEsDC','renderRoot','2vVJpic','stopPropagation','select_item'];a0_0x3d47=function(){return _0x3b9774;};return a0_0x3d47();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x140d19,_0x5cc56a,_0x11e5a1){const _0x5bf136=a0_0x36a4;var _0x364765=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x1eac95}
4
- .options=${_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)]}
5
- .confirmCallback=${_0xcde172}
3
+ .value=${_0x5cc56a}
4
+ .options=${_0x140d19[_0x5bf136(0x205)][_0x5bf136(0x208)]}
5
+ .confirmCallback=${_0x11e5a1}
6
6
  ></meta-object-selector-popup>
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>
7
+ `;openPopup(_0x364765,{'backdrop':!0x0,'size':_0x5bf136(0x210),'title':_0x140d19[_0x5bf136(0x205)]['options'][_0x5bf136(0x1f5)]?TermsUtil['tMenu'](_0x140d19['record'][_0x5bf136(0x208)][_0x5bf136(0x1f5)]):TermsUtil['tTitle'](_0x5bf136(0x204))});}function a0_0x36a4(_0x3b6861,_0x26bd01){const _0x3d471b=a0_0x3d47();return a0_0x36a4=function(_0x36a4c7,_0x5a9bfb){_0x36a4c7=_0x36a4c7-0x1f0;let _0xd61f26=_0x3d471b[_0x36a4c7];return _0xd61f26;},a0_0x36a4(_0x3b6861,_0x26bd01);}export const FilterGristMetaCodeSelect=(_0x41ea17,_0x17fa4e,_0x3f99ab)=>{const _0x41d9b8=a0_0x36a4,_0xbb82db=_0x41ea17[_0x41d9b8(0x1f1)],_0x1b77bb=_0x41ea17[_0x41d9b8(0x205)]['options'],_0x18cf5e=_0x1b77bb[_0x41d9b8(0x1f0)]&&_0x1b77bb[_0x41d9b8(0x1f0)]['length']>0x0?_0x1b77bb[_0x41d9b8(0x1f0)]:void 0x0,{operator:_0x4d5415='eq'}=_0xbb82db;let _0x1b86d4=_0x17fa4e||'',_0x4c66ff=_0x17fa4e||'';if(_0x1b77bb[_0x41d9b8(0x1f2)]&&_0x17fa4e&&_0x18cf5e){let _0x46f736=_0x18cf5e[_0x41d9b8(0x1f1)](_0x16404a=>_0x16404a[_0x41d9b8(0x1fb)]==_0x17fa4e);_0x46f736&&_0x46f736[_0x41d9b8(0x1f8)]>0x0&&(_0x4c66ff=_0x46f736[0x0][_0x41d9b8(0x206)]);}return'eq'===_0x4d5415?html`
8
+ <input name='${_0x41ea17[_0x41d9b8(0x1ff)]}' .value=${_0x1b86d4} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
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}}));});}}
12
+ name='${_0x41ea17[_0x41d9b8(0x1ff)]}_disp'
13
+ .value=${_0x4c66ff}
14
+ @click=${_0x1811b3=>{const _0x5ca1a9=_0x41d9b8;_0x1811b3[_0x5ca1a9(0x203)]();const _0x4ff195=_0x1811b3[_0x5ca1a9(0x207)];openMetaCodeSelector(_0x41ea17,_0x17fa4e,_0xa99ae0=>{const _0x4621cf=_0x5ca1a9;let _0xafee03=_0xa99ae0?_0xa99ae0[_0x1b77bb[_0x4621cf(0x1fa)]]:'',_0xcbd7f6=_0xafee03;_0xa99ae0&&_0x1b77bb[_0x4621cf(0x1f2)]&&(_0xcbd7f6=_0xa99ae0[_0x1b77bb[_0x4621cf(0x1f2)]]),_0x4ff195[_0x4621cf(0x1fb)]=_0xcbd7f6,('ox-grid-header'==_0x3f99ab[_0x4621cf(0x20e)][_0x4621cf(0x1f4)]()?_0x3f99ab[_0x4621cf(0x201)][_0x4621cf(0x211)](_0x4621cf(0x212)+_0xbb82db[_0x4621cf(0x1ff)]+'\x22]'):_0x3f99ab['renderRoot'][_0x4621cf(0x211)](_0x4621cf(0x1f9)+_0xbb82db[_0x4621cf(0x1ff)]+'\x22]'))[_0x4621cf(0x1fb)]=_0xafee03,_0x4ff195['dispatchEvent'](new Event(_0x4621cf(0x20a),{'bubbles':!0x0})),_0x4ff195[_0x4621cf(0x20d)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x41ea17[_0x4621cf(0x1ff)],'operator':_0x4d5415,'value':_0xafee03}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
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`
1
+ function a0_0x350b(){const _0x22da9=['stopPropagation','nameField','toLowerCase','filter-change','record','tagName','tTitle','171468yMCBIq','name','large','tMenu','options','387910TqlpBg','10dHlidp','renderRoot','target','43697PafIIp','390BFUauH','2382522oMZfMC','dispatchEvent','2162919Xfmsal','73316yiUAKf','form\x20[name=\x22','querySelector','value','[name=\x22','selectorName','filter','7786696jBlVHs','change','306ToYNHX','7YxOWCl','select_item'];a0_0x350b=function(){return _0x22da9;};return a0_0x350b();}(function(_0x5a5b26,_0x3d27fd){const _0x4f7d11=a0_0x267e,_0x499915=_0x5a5b26();while(!![]){try{const _0x1103a4=parseInt(_0x4f7d11(0x136))/0x1*(-parseInt(_0x4f7d11(0x133))/0x2)+parseInt(_0x4f7d11(0x12d))/0x3+-parseInt(_0x4f7d11(0x13b))/0x4*(-parseInt(_0x4f7d11(0x137))/0x5)+parseInt(_0x4f7d11(0x138))/0x6*(-parseInt(_0x4f7d11(0x124))/0x7)+parseInt(_0x4f7d11(0x121))/0x8+parseInt(_0x4f7d11(0x123))/0x9*(-parseInt(_0x4f7d11(0x132))/0xa)+parseInt(_0x4f7d11(0x13a))/0xb;if(_0x1103a4===_0x3d27fd)break;else _0x499915['push'](_0x499915['shift']());}catch(_0x524ce9){_0x499915['push'](_0x499915['shift']());}}}(a0_0x350b,0xb058e));function a0_0x267e(_0x972451,_0x31297c){const _0x350b03=a0_0x350b();return a0_0x267e=function(_0x267eca,_0x168792){_0x267eca=_0x267eca-0x11c;let _0x58eb0d=_0x350b03[_0x267eca];return _0x58eb0d;},a0_0x267e(_0x972451,_0x31297c);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x310380,_0x10325f,_0x5ef17a){const _0x3b588e=a0_0x267e;var _0x463b8d=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x1bb5f8}
4
- .options=${_0x46d595[_0x2f245c(0xd3)]['options']}
5
- .confirmCallback=${_0x43882b}
3
+ .value=${_0x10325f}
4
+ .options=${_0x310380['record'][_0x3b588e(0x131)]}
5
+ .confirmCallback=${_0x5ef17a}
6
6
  ></meta-object-selector-popup>
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>
7
+ `;openPopup(_0x463b8d,{'backdrop':!0x0,'size':_0x3b588e(0x12f),'title':_0x310380[_0x3b588e(0x12a)][_0x3b588e(0x131)]['selectorName']?TermsUtil[_0x3b588e(0x130)](_0x310380['record'][_0x3b588e(0x131)][_0x3b588e(0x11f)]):TermsUtil[_0x3b588e(0x12c)](_0x3b588e(0x125))});}export const FilterGristMetaObjectSelect=(_0x13464b,_0x5d4007,_0x3b66da)=>{const _0x1d986d=a0_0x267e,_0x159300=_0x13464b[_0x1d986d(0x120)],{operator:_0xe0153c='eq'}=_0x159300,_0x1abb09=_0x13464b['record'][_0x1d986d(0x131)];let _0x1f6138=_0x5d4007?_0x5d4007['id']:'',_0x2950e4=_0x5d4007?_0x5d4007[_0x1abb09[_0x1d986d(0x127)]]:'';return'eq'===_0xe0153c?html`
8
+ <input name='${_0x13464b[_0x1d986d(0x12e)]}' .value=${_0x1f6138} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
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}}));});}}
12
+ name='${_0x13464b[_0x1d986d(0x12e)]}_disp'
13
+ .value=${_0x2950e4}
14
+ @click=${_0x57ac30=>{const _0x554b8d=_0x1d986d;_0x57ac30[_0x554b8d(0x126)]();const _0x1ca1b0=_0x57ac30[_0x554b8d(0x135)];openMetaObjectSelector(_0x13464b,_0x5d4007,_0x315eb1=>{const _0x48e5c7=_0x554b8d;let _0x59c866=_0x315eb1?_0x315eb1['id']:'',_0x4de274=_0x315eb1?_0x315eb1[_0x1abb09[_0x48e5c7(0x127)]]:'';_0x1ca1b0[_0x48e5c7(0x11d)]=_0x4de274,('ox-grid-header'==_0x3b66da[_0x48e5c7(0x12b)][_0x48e5c7(0x128)]()?_0x3b66da[_0x48e5c7(0x134)][_0x48e5c7(0x11c)](_0x48e5c7(0x11e)+_0x159300[_0x48e5c7(0x12e)]+'\x22]'):_0x3b66da[_0x48e5c7(0x134)][_0x48e5c7(0x11c)](_0x48e5c7(0x13c)+_0x159300[_0x48e5c7(0x12e)]+'\x22]'))[_0x48e5c7(0x11d)]=_0x59c866,_0x1ca1b0[_0x48e5c7(0x139)](new Event(_0x48e5c7(0x122),{'bubbles':!0x0})),_0x1ca1b0[_0x48e5c7(0x139)](new CustomEvent(_0x48e5c7(0x129),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x13464b[_0x48e5c7(0x12e)],'operator':_0xe0153c,'value':_0x59c866}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,9 +1,9 @@
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`
1
+ function a0_0x2a32(){const _0x3fc792=['1192880FljfpA','_onclick','codes','dispField','fieldMap','filter','_onkeydown','key','forEach','3124512llSTum','large','1795917JGrhIs','length','openSelector','tTitle','codeField','value','tMenu','7225990pvOwUr','96004rYHaQj','display','options','dispatchEvent','row','field-change','define','stopPropagation','5nnJjHU','record','grist-editor-meta-code-selector','4669188bjBvLq','popup','2032952IKfwBv','column','push','7SHFZnv','11hbCFVT','Enter'];a0_0x2a32=function(){return _0x3fc792;};return a0_0x2a32();}const a0_0x32f789=a0_0x54fe;function a0_0x54fe(_0x37048a,_0x53c9fc){const _0x2a32fc=a0_0x2a32();return a0_0x54fe=function(_0x54fe46,_0x4ea262){_0x54fe46=_0x54fe46-0x11c;let _0x2539a4=_0x2a32fc[_0x54fe46];return _0x2539a4;},a0_0x54fe(_0x37048a,_0x53c9fc);}(function(_0xdfc5b5,_0x7c899c){const _0x2a9bff=a0_0x54fe,_0x47828b=_0xdfc5b5();while(!![]){try{const _0xd4840c=parseInt(_0x2a9bff(0x125))/0x1*(parseInt(_0x2a9bff(0x13a))/0x2)+-parseInt(_0x2a9bff(0x132))/0x3+parseInt(_0x2a9bff(0x121))/0x4*(-parseInt(_0x2a9bff(0x11c))/0x5)+parseInt(_0x2a9bff(0x11f))/0x6*(parseInt(_0x2a9bff(0x124))/0x7)+-parseInt(_0x2a9bff(0x127))/0x8+-parseInt(_0x2a9bff(0x130))/0x9+parseInt(_0x2a9bff(0x139))/0xa;if(_0xd4840c===_0x7c899c)break;else _0x47828b['push'](_0x47828b['shift']());}catch(_0x11da86){_0x47828b['push'](_0x47828b['shift']());}}}(a0_0x2a32,0x67ec0));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['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0x59880f=a0_0x54fe;let _0x36f45e='';if(this[_0x59880f(0x122)][_0x59880f(0x11d)]&&this[_0x59880f(0x122)][_0x59880f(0x11d)]['options']){if(this['column'][_0x59880f(0x11d)]['options'][_0x59880f(0x12a)]){let _0x6129d3=this[_0x59880f(0x122)][_0x59880f(0x11d)][_0x59880f(0x13c)]['codes']||[];if(this['value']&&this['value']['length']>0x0){let _0x424b25=_0x6129d3['filter'](_0x4ac9bd=>_0x4ac9bd['value']===this[_0x59880f(0x137)]);_0x36f45e=_0x424b25&&_0x424b25[_0x59880f(0x133)]>0x0?_0x424b25[0x0][_0x59880f(0x13b)]:'';}}else _0x36f45e=this[_0x59880f(0x137)];}else _0x36f45e='';return html`
2
+ ${_0x36f45e?html` <span tabindex="0" style="flex:1">${_0x36f45e}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async['firstUpdated'](){super['firstUpdated']();}[a0_0x32f789(0x128)](_0x498dbc){const _0x4d1757=a0_0x32f789;_0x498dbc['stopPropagation'](),this[_0x4d1757(0x134)]();}[a0_0x32f789(0x12d)](_0x31ac64){const _0x1a731d=a0_0x32f789;_0x1a731d(0x126)==_0x31ac64[_0x1a731d(0x12e)]&&(_0x31ac64[_0x1a731d(0x141)](),this[_0x1a731d(0x134)]());}[a0_0x32f789(0x134)](){const _0x28c72f=a0_0x32f789;this['popup']&&delete this[_0x28c72f(0x120)];var {selectorName:_0x24f17a=TermsUtil[_0x28c72f(0x135)]('select_item')}=this['column'][_0x28c72f(0x11d)]['options']||{},_0x575328=html`
4
4
  <meta-object-selector-popup
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)}
5
+ .value=${this[_0x28c72f(0x137)]}
6
+ .options=${this[_0x28c72f(0x122)][_0x28c72f(0x11d)][_0x28c72f(0x13c)]}
7
+ .confirmCallback=${(_0x56d7ad=>{const _0x143ede=_0x28c72f;let _0x673803=this[_0x143ede(0x122)][_0x143ede(0x11d)][_0x143ede(0x13c)][_0x143ede(0x136)],_0x5c0a27=this[_0x143ede(0x122)]['record'][_0x143ede(0x13c)][_0x143ede(0x12a)],_0x2bc921=this['column'][_0x143ede(0x11d)][_0x143ede(0x13c)][_0x143ede(0x12b)]||{};if(this[_0x143ede(0x122)][_0x143ede(0x11d)]['options'][_0x143ede(0x129)]||(this[_0x143ede(0x122)][_0x143ede(0x11d)]['options'][_0x143ede(0x129)]=[]),_0x56d7ad){let _0x448a5c=this[_0x143ede(0x122)][_0x143ede(0x11d)][_0x143ede(0x13c)][_0x143ede(0x129)][_0x143ede(0x12c)](_0x2de843=>_0x2de843[_0x143ede(0x137)]==_0x56d7ad[_0x673803]);_0x448a5c&&0x0!=_0x448a5c[_0x143ede(0x133)]||this[_0x143ede(0x122)][_0x143ede(0x11d)][_0x143ede(0x13c)]['codes'][_0x143ede(0x123)]({'value':_0x56d7ad[_0x673803],'display':_0x56d7ad[_0x5c0a27]});}this[_0x143ede(0x13d)](new CustomEvent(_0x143ede(0x13f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x143ede(0x137)],'after':_0x56d7ad?_0x56d7ad[_0x673803]:null,'record':this[_0x143ede(0x11d)],'column':this['column'],'row':this['row']}})),Object['keys'](_0x2bc921)[_0x143ede(0x12f)](_0x3e8a0a=>{const _0x7541bb=_0x143ede;this[_0x7541bb(0x13d)](new CustomEvent(_0x7541bb(0x13f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x7541bb(0x11d)][_0x2bc921[_0x3e8a0a]],'after':_0x56d7ad?_0x56d7ad[_0x3e8a0a]:null,'record':this[_0x7541bb(0x11d)],'column':{'name':_0x2bc921[_0x3e8a0a]},'row':this[_0x7541bb(0x13e)]}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
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);
9
+ `;this['popup']=openPopup(_0x575328,{'backdrop':!0x0,'size':_0x28c72f(0x131),'title':TermsUtil[_0x28c72f(0x138)](_0x24f17a)});}}customElements[a0_0x32f789(0x140)](a0_0x32f789(0x11e),GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
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`
1
+ var a0_0x1d82bf=a0_0x4804;(function(_0x383d52,_0x39dc45){var _0x2c6151=a0_0x4804,_0x64d8=_0x383d52();while(!![]){try{var _0x4e075b=parseInt(_0x2c6151(0x18b))/0x1*(-parseInt(_0x2c6151(0x177))/0x2)+-parseInt(_0x2c6151(0x179))/0x3*(parseInt(_0x2c6151(0x178))/0x4)+-parseInt(_0x2c6151(0x172))/0x5+-parseInt(_0x2c6151(0x18c))/0x6*(parseInt(_0x2c6151(0x17c))/0x7)+parseInt(_0x2c6151(0x173))/0x8+-parseInt(_0x2c6151(0x17f))/0x9*(parseInt(_0x2c6151(0x17d))/0xa)+-parseInt(_0x2c6151(0x16c))/0xb*(-parseInt(_0x2c6151(0x18a))/0xc);if(_0x4e075b===_0x39dc45)break;else _0x64d8['push'](_0x64d8['shift']());}catch(_0x93c3b9){_0x64d8['push'](_0x64d8['shift']());}}}(a0_0x5f53,0x4d430));import{html}from'lit';function a0_0x5f53(){var _0x2944c1=['record','1456161UnSjlx','3775590lkKkRH','_onclick','9ccKNWl','field-change','column','value','openSelector','forEach','editorTemplate','nameField','select_item','tMenu','fieldMap','3084gcRsuf','14fzXKgP','6aWMMMu','firstUpdated','Enter','row','stopPropagation','60148wGyOgh','define','tTitle','key','popup','keys','1235425MYBDfN','72232PLvCCt','options','bind','grist-editor-meta-object-selector','13074MMwpRS','392EpHAel','5316EdaiqN','dispatchEvent'];a0_0x5f53=function(){return _0x2944c1;};return a0_0x5f53();}import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x4804(_0x27b044,_0x1c8928){var _0x5f5345=a0_0x5f53();return a0_0x4804=function(_0x48042e,_0x3e9b52){_0x48042e=_0x48042e-0x169;var _0x1bcaef=_0x5f5345[_0x48042e];return _0x1bcaef;},a0_0x4804(_0x27b044,_0x1c8928);}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_0x1d82bf(0x185)](){var _0x2dab00=a0_0x1d82bf;let _0x941b05='';return this['value']&&this[_0x2dab00(0x181)]['record']['options']&&(_0x941b05=this[_0x2dab00(0x182)][this[_0x2dab00(0x181)][_0x2dab00(0x17b)]['options'][_0x2dab00(0x186)]]),html`
2
+ ${this[_0x2dab00(0x182)]?html` <span tabindex="0" style="flex:1">${_0x941b05}</span> `:html`<span tabindex="0">${_0x941b05}</span>`}
3
+ `;}async[a0_0x1d82bf(0x18d)](){var _0x7e38e6=a0_0x1d82bf;super[_0x7e38e6(0x18d)]();}[a0_0x1d82bf(0x17e)](_0x3b6db0){var _0x3d4b12=a0_0x1d82bf;_0x3b6db0[_0x3d4b12(0x16b)](),this[_0x3d4b12(0x183)]();}['_onkeydown'](_0x106b29){var _0x13838b=a0_0x1d82bf;_0x13838b(0x169)==_0x106b29[_0x13838b(0x16f)]&&(_0x106b29[_0x13838b(0x16b)](),this['openSelector']());}[a0_0x1d82bf(0x183)](){var _0x3bc58e=a0_0x1d82bf;this['popup']&&delete this[_0x3bc58e(0x170)];var {selectorName:_0x4e5b12=TermsUtil[_0x3bc58e(0x16e)](_0x3bc58e(0x187))}=this[_0x3bc58e(0x181)][_0x3bc58e(0x17b)][_0x3bc58e(0x174)]||{},_0x3acd23=html`
4
4
  <meta-object-selector-popup
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)}
5
+ .value=${this['value']}
6
+ .options=${this[_0x3bc58e(0x181)]['record']['options']}
7
+ .confirmCallback=${(_0x2b934e=>{var _0x9f928a=_0x3bc58e;let _0x4327c2=this['column']['record'][_0x9f928a(0x174)][_0x9f928a(0x189)]||{};this[_0x9f928a(0x17a)](new CustomEvent(_0x9f928a(0x180),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x9f928a(0x182)],'after':_0x2b934e||null,'record':this['record'],'column':this[_0x9f928a(0x181)],'row':this[_0x9f928a(0x16a)]}})),Object[_0x9f928a(0x171)](_0x4327c2)[_0x9f928a(0x184)](_0xa91995=>{var _0x107568=_0x9f928a;this[_0x107568(0x17a)](new CustomEvent(_0x107568(0x180),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x107568(0x17b)][_0x4327c2[_0xa91995]],'after':_0x2b934e?_0x2b934e[_0xa91995]:null,'record':this[_0x107568(0x17b)],'column':{'name':_0x4327c2[_0xa91995]},'row':this[_0x107568(0x16a)]}}));});})[_0x3bc58e(0x175)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x4e1ec5(0xe1)]=openPopup(_0x4f7ce8,{'backdrop':!0x0,'size':_0x4e1ec5(0xea),'title':TermsUtil[_0x4e1ec5(0xd2)](_0x1bb28d)});}}customElements[a0_0x1cfbe3(0xef)](a0_0x1cfbe3(0xed),GristEditorMetaObjectSelector);
9
+ `;this['popup']=openPopup(_0x3acd23,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x3bc58e(0x188)](_0x4e5b12)});}}customElements[a0_0x1d82bf(0x16d)](a0_0x1d82bf(0x176),GristEditorMetaObjectSelector);
@@ -1 +1 @@
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
+ (function(_0x26420a,_0x2154dc){const _0x37676c=a0_0x2ca7,_0x4b4e12=_0x26420a();while(!![]){try{const _0x121cc2=parseInt(_0x37676c(0x1f3))/0x1+parseInt(_0x37676c(0x1eb))/0x2+parseInt(_0x37676c(0x1ef))/0x3+parseInt(_0x37676c(0x1f6))/0x4*(-parseInt(_0x37676c(0x1e9))/0x5)+-parseInt(_0x37676c(0x1f0))/0x6+-parseInt(_0x37676c(0x1ee))/0x7*(-parseInt(_0x37676c(0x1f2))/0x8)+-parseInt(_0x37676c(0x1ea))/0x9;if(_0x121cc2===_0x2154dc)break;else _0x4b4e12['push'](_0x4b4e12['shift']());}catch(_0x473229){_0x4b4e12['push'](_0x4b4e12['shift']());}}}(a0_0x3289,0x7f1ad));function a0_0x3289(){const _0x2f9049=['codes','value','display','3584490hDSdNK','11303757PSZCjp','1827546tpTlgD','record','textContent','7189qypPHf','2277396mhabgh','2468910jcOCIy','dispField','3056sUWhvR','839758Ydrtat','target','options','4UxNjtx','data-tooltip','setAttribute'];a0_0x3289=function(){return _0x2f9049;};return a0_0x3289();}import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x2ca7(_0x9d45a4,_0x422579){const _0x328939=a0_0x3289();return a0_0x2ca7=function(_0x2ca766,_0x54fa95){_0x2ca766=_0x2ca766-0x1e8;let _0x56308f=_0x328939[_0x2ca766];return _0x56308f;},a0_0x2ca7(_0x9d45a4,_0x422579);}function onmouseover(_0x565f81){const _0x348f65=a0_0x2ca7,_0x26f28c=_0x565f81[_0x348f65(0x1f4)];detectOverflow(_0x26f28c)&&_0x26f28c[_0x348f65(0x1f8)](_0x348f65(0x1f7),_0x26f28c[_0x348f65(0x1ed)]);}function onmouseout(_0x426f04){const _0x3f8b60=a0_0x2ca7;_0x426f04[_0x3f8b60(0x1f4)]['removeAttribute'](_0x3f8b60(0x1f7));}export const GristRendererMetaCodeSelector=(_0x4d5b7a,_0x4b7d35,_0x4711f4,_0x499851,_0x4387fe)=>{const _0x4ff923=a0_0x2ca7;let _0x501b97='';if(_0x4b7d35[_0x4ff923(0x1ec)]&&_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)]){if(_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)][_0x4ff923(0x1f1)]){if(_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)][_0x4ff923(0x1f9)]||(_0x4b7d35['record'][_0x4ff923(0x1f5)][_0x4ff923(0x1f9)]=[]),_0x4d5b7a&&_0x4d5b7a['length']>0x0){let _0x58d7bc=_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)][_0x4ff923(0x1f9)]['filter'](_0x425bfe=>_0x425bfe[_0x4ff923(0x1fa)]===_0x4d5b7a);_0x501b97=_0x58d7bc&&_0x58d7bc['length']>0x0?_0x58d7bc[0x0][_0x4ff923(0x1e8)]:_0x4d5b7a;}}else _0x501b97=_0x4d5b7a;}else _0x501b97='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x501b97}</span>`;};
@@ -1 +1 @@
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
+ (function(_0x49870e,_0x39f868){const _0x1e377c=a0_0x1dd9,_0x19c8f4=_0x49870e();while(!![]){try{const _0x44fdb8=-parseInt(_0x1e377c(0x83))/0x1+parseInt(_0x1e377c(0x78))/0x2+-parseInt(_0x1e377c(0x82))/0x3+parseInt(_0x1e377c(0x7f))/0x4+parseInt(_0x1e377c(0x7c))/0x5*(parseInt(_0x1e377c(0x7b))/0x6)+parseInt(_0x1e377c(0x7a))/0x7+-parseInt(_0x1e377c(0x7e))/0x8;if(_0x44fdb8===_0x39f868)break;else _0x19c8f4['push'](_0x19c8f4['shift']());}catch(_0x10eac5){_0x19c8f4['push'](_0x19c8f4['shift']());}}}(a0_0x42b9,0x5234a));import{html}from'lit';function a0_0x1dd9(_0x546f38,_0x9f72bb){const _0x42b956=a0_0x42b9();return a0_0x1dd9=function(_0x1dd9f7,_0x1bf1cb){_0x1dd9f7=_0x1dd9f7-0x78;let _0x4c4538=_0x42b956[_0x1dd9f7];return _0x4c4538;},a0_0x1dd9(_0x546f38,_0x9f72bb);}import{detectOverflow}from'@operato/utils';function a0_0x42b9(){const _0x15ec87=['removeAttribute','4533696UnByCj','1602576eRmHqe','options','record','223599aJVMXx','368090duSTnt','data-tooltip','255472tcdVnQ','target','1269436xyjkUB','3474ShWWsS','5495SrydKF'];a0_0x42b9=function(){return _0x15ec87;};return a0_0x42b9();}function onmouseover(_0x353785){const _0x1412de=a0_0x1dd9,_0x1280a9=_0x353785[_0x1412de(0x79)];detectOverflow(_0x1280a9)&&_0x1280a9['setAttribute']('data-tooltip',_0x1280a9['textContent']);}function onmouseout(_0x4ef030){const _0x35e55e=a0_0x1dd9;_0x4ef030[_0x35e55e(0x79)][_0x35e55e(0x7d)](_0x35e55e(0x84));}export const GristRendererMetaObjectSelector=(_0x4da82a,_0x8c5f10,_0x4b529d,_0xc76835,_0x2ee383)=>{const _0x3c1a0c=a0_0x1dd9;let _0x2b6ce9='';return _0x4da82a&&_0x8c5f10[_0x3c1a0c(0x81)][_0x3c1a0c(0x80)]&&(_0x2b6ce9=_0x4da82a[_0x8c5f10['record']['options']['nameField']]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2b6ce9}</span>`;};
@@ -1,4 +1,4 @@
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`
1
+ const a0_0x25a010=a0_0x29c7;function a0_0x5230(){const _0x3685a4=['3YXsBeD','rows','select','meta-object-selector','cancel','getGristGuttersConfig','13520QkPIUZ','push','codes','getCodeByEntity','resource-code-selector','options','render','meta-object-selector-popup','keys','300YgObNZ','showToast','clickSelect','queryName','clickEmpty','tButton','type','align','selectRecord','591701jPARDE','connectedCallback','menu_template','info','searchByPagination','dispField','left','code','10061730vOMuXf','firstUpdated','isArray','gridConfig','after_set_fields','search_hidden_fields','430YmMMwh','grist','codeField','NOTHING_SELECTED','12761163ZnCvfQ','sorters','13702380ajJOpT','styles','length','selected','select-row-toggle','8RwpkCo','record','values','bind','getCodeSelectorData','getGristPagination100Config','filter','getGristSelectableConfig','fetchHandler','getParams','confirmCallback','53nEgCpv','search','scenario','getSelectColumns','basicArgs','entity','gql','getGristColumnConfig2','meta-','name','15102lkpscO','GRID','appendable','getCodeByScenario','#ox-grist','menu','filters','clickCancel','includes','args','3590164wFsJkN','getGristMetaObjectOptions','string'];a0_0x5230=function(){return _0x3685a4;};return a0_0x5230();}(function(_0xebba38,_0xc72fef){const _0xb2398c=a0_0x29c7,_0x66f900=_0xebba38();while(!![]){try{const _0x20a638=parseInt(_0xb2398c(0x154))/0x1*(-parseInt(_0xb2398c(0x171))/0x2)+-parseInt(_0xb2398c(0x16b))/0x3*(-parseInt(_0xb2398c(0x168))/0x4)+parseInt(_0xb2398c(0x191))/0x5*(parseInt(_0xb2398c(0x15e))/0x6)+parseInt(_0xb2398c(0x18b))/0x7+-parseInt(_0xb2398c(0x149))/0x8*(parseInt(_0xb2398c(0x195))/0x9)+-parseInt(_0xb2398c(0x197))/0xa+-parseInt(_0xb2398c(0x183))/0xb*(-parseInt(_0xb2398c(0x17a))/0xc);if(_0x20a638===_0xc72fef)break;else _0x66f900['push'](_0x66f900['shift']());}catch(_0x7a70a9){_0x66f900['push'](_0x66f900['shift']());}}}(a0_0x5230,0xb70af));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_0x29c7(_0x10c582,_0x26e95a){const _0x523025=a0_0x5230();return a0_0x29c7=function(_0x29c7b2,_0x2b8383){_0x29c7b2=_0x29c7b2-0x147;let _0x4b137e=_0x523025[_0x29c7b2];return _0x4b137e;},a0_0x29c7(_0x10c582,_0x26e95a);}export class MetaObjectSelectorPopup extends LitElement{static [a0_0x25a010(0x198)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x2bd141=a0_0x379e;(function(_0x36a116,_0x42ec6f){const _0x5de2f4=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
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)}>
20
+ `];async[a0_0x25a010(0x184)](){const _0x23aa80=a0_0x25a010;this[_0x23aa80(0x190)]=this['options'][_0x23aa80(0x164)]?this[_0x23aa80(0x176)][_0x23aa80(0x164)]:this[_0x23aa80(0x158)]&&this['basicArgs'][_0x23aa80(0x164)]?this['basicArgs'][_0x23aa80(0x164)]:[];let _0x5b4c81=this[_0x23aa80(0x176)][_0x23aa80(0x196)]?this[_0x23aa80(0x176)][_0x23aa80(0x196)]:this[_0x23aa80(0x158)]&&this[_0x23aa80(0x158)]['sorters']?this[_0x23aa80(0x158)]['sorters']:[],_0x4c6deb=this[_0x23aa80(0x176)]['filterFields']?this[_0x23aa80(0x176)]['filterFields']:this['options'][_0x23aa80(0x185)]?.['search']&&this[_0x23aa80(0x176)]['menu_template']?.[_0x23aa80(0x155)][_0x23aa80(0x199)]>0x0?this[_0x23aa80(0x176)]['menu_template']['search']:[],_0x25b0e7=this[_0x23aa80(0x176)][_0x23aa80(0x16d)];if(!_0x4c6deb||0x0==_0x4c6deb[_0x23aa80(0x199)]){let _0x208e9b;this[_0x23aa80(0x176)][_0x23aa80(0x193)]&&(_0x208e9b=this[_0x23aa80(0x176)][_0x23aa80(0x193)]),this[_0x23aa80(0x176)]['nameField']&&(_0x208e9b=this[_0x23aa80(0x176)]['nameField']),_0x208e9b&&_0x4c6deb[_0x23aa80(0x172)]({'name':_0x208e9b,'operator':'eq'});}let _0x46d75e=[...MetaApi[_0x23aa80(0x170)](!0x0,!0x1)];if(_0x25b0e7&&_0x25b0e7[_0x23aa80(0x199)]>0x0)for(let _0x1e07fd=0x0;_0x1e07fd<_0x25b0e7['length'];_0x1e07fd++){let {type:_0x357c23=_0x23aa80(0x16a),name:_0x38bb26,hidden:_0x56a6fe=!0x1,record:_0x1a4a0a={'align':'left'},header:_0xf164d1,sortable:_0x194120=!0x1,width:_0x2d32d3=0x87,options:_0x1c1b31,select_opt:_0x498d94,object_opt:_0x2c6d84}=_0x25b0e7[_0x1e07fd];if(_0x498d94&&(_0x1c1b31=_0x498d94),_0x2c6d84&&(_0x1c1b31=_0x2c6d84),['resource-object','object'][_0x23aa80(0x166)](_0x357c23)?_0x357c23=_0x23aa80(0x16e):[_0x23aa80(0x175)][_0x23aa80(0x166)](_0x357c23)&&(_0x357c23='meta-code-selector'),'id'==_0x38bb26)_0x46d75e[_0x23aa80(0x172)]({'type':_0x23aa80(0x16a),'name':_0x38bb26,'hidden':!0x0});else{let _0x36c266=MetaApi[_0x23aa80(0x15b)](_0x357c23,_0x38bb26,_0xf164d1||_0x38bb26,_0x1a4a0a[_0x23aa80(0x181)]?_0x1a4a0a['align']:_0x23aa80(0x189),!0x1,_0x194120,_0x2d32d3);_0x357c23['startsWith'](_0x23aa80(0x15c))&&_0x2c6d84&&_0x2c6d84[_0x23aa80(0x163)]&&(_0x1c1b31=await MetaUiUtil[_0x23aa80(0x169)](_0x357c23,_0x1c1b31)),_0x23aa80(0x16d)===_0x357c23?Array[_0x23aa80(0x18d)](_0x1c1b31)?_0x36c266[_0x23aa80(0x14a)][_0x23aa80(0x176)]=_0x1c1b31:_0x23aa80(0x18a)===_0x1c1b31[_0x23aa80(0x180)]?_0x36c266[_0x23aa80(0x14a)][_0x23aa80(0x176)]=await ServiceUtil[_0x23aa80(0x14d)](_0x1c1b31[_0x23aa80(0x14b)]?_0x1c1b31[_0x23aa80(0x14b)]:_0x1c1b31[_0x23aa80(0x15d)]):_0x23aa80(0x156)===_0x1c1b31[_0x23aa80(0x180)]?_0x36c266[_0x23aa80(0x14a)][_0x23aa80(0x176)]=await ServiceUtil[_0x23aa80(0x161)](_0x1c1b31[_0x23aa80(0x15d)],_0x1c1b31[_0x23aa80(0x167)]):_0x23aa80(0x159)===_0x1c1b31[_0x23aa80(0x180)]&&(_0x36c266[_0x23aa80(0x14a)][_0x23aa80(0x176)]=await ServiceUtil[_0x23aa80(0x174)](_0x1c1b31[_0x23aa80(0x167)])):_0x23aa80(0x16e)===_0x357c23?_0x36c266['record'][_0x23aa80(0x176)]={..._0x1c1b31}:'meta-code-selector'==_0x357c23&&(_0x1c1b31[_0x23aa80(0x188)]&&(_0x1c1b31[_0x23aa80(0x173)]=await ServiceUtil[_0x23aa80(0x174)](_0x1c1b31)),_0x36c266[_0x23aa80(0x14a)][_0x23aa80(0x176)]={..._0x1c1b31}),_0x36c266['hidden']=_0x56a6fe,_0x46d75e[_0x23aa80(0x172)](_0x36c266);}}else _0x46d75e[_0x23aa80(0x172)](MetaApi[_0x23aa80(0x15b)](_0x23aa80(0x16a),this[_0x23aa80(0x176)][_0x23aa80(0x193)],this[_0x23aa80(0x176)][_0x23aa80(0x193)],_0x23aa80(0x189),!0x1,!0x0,0xb4)),this[_0x23aa80(0x176)][_0x23aa80(0x188)]&&_0x46d75e['push'](MetaApi['getGristColumnConfig2'](_0x23aa80(0x16a),this['options'][_0x23aa80(0x188)],this[_0x23aa80(0x176)]['dispField'],_0x23aa80(0x189),!0x1,!0x0,0x12c));_0x46d75e['forEach'](_0x2630ae=>{const _0x34041c=_0x23aa80;let _0x83168f=_0x4c6deb[_0x34041c(0x14f)](_0xc4f188=>_0x34041c(0x16a)==typeof _0xc4f188?_0x2630ae[_0x34041c(0x15d)]==_0xc4f188:_0x2630ae[_0x34041c(0x15d)]==_0xc4f188['name']);_0x83168f&&_0x83168f[_0x34041c(0x199)]>0x0&&(_0x2630ae[_0x34041c(0x14f)]=_0x34041c(0x16a)==typeof _0x83168f[0x0]?'search':_0x83168f[0x0]);});let _0xd49cdf={'rows':MetaApi[_0x23aa80(0x150)](!0x1),'pagination':MetaApi[_0x23aa80(0x14e)](),'columns':_0x46d75e,'sorters':[..._0x5b4c81]};_0xd49cdf[_0x23aa80(0x16c)]['handlers']={'click':_0x23aa80(0x148),'dblclick':(_0x1fee3b,_0x4eddc8,_0x4b7c74,_0x54f71f,_0x33832d,_0xd07bab)=>{const _0x3e5e67=_0x23aa80;this[_0x3e5e67(0x182)](_0x54f71f);}},_0xd49cdf[_0x23aa80(0x16c)][_0x23aa80(0x160)]=!0x1,this['gridConfig']=_0xd49cdf,await super[_0x23aa80(0x184)]();}async[a0_0x25a010(0x18c)](){const _0x5a87ff=a0_0x25a010;await super[_0x5a87ff(0x18c)]();}[a0_0x25a010(0x177)](){const _0x5c5cf9=a0_0x25a010;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x5c5cf9(0x18e)]} .mode=${isMobileDevice()?'LIST':_0x5c5cf9(0x15f)} auto-fetch
22
+ .fetchHandler=${this[_0x5c5cf9(0x151)][_0x5c5cf9(0x14c)](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_0x2bd141=a0_0x379e;(function(_0x36a116,_0x42ec6f){const _0x5de2f4=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
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)}>
30
+ <mwc-button raised label="${TermsUtil[_0x5c5cf9(0x17f)]('empty')}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x5c5cf9(0x17e)][_0x5c5cf9(0x14c)](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil['tButton']('cancel')}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x321615(0x17f)][_0x321615(0x156)](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x5c5cf9(0x17f)](_0x5c5cf9(0x16f))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x5c5cf9(0x165)][_0x5c5cf9(0x14c)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x321615(0x189)]('select')}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this['clickSelect'][_0x321615(0x156)](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x5c5cf9(0x17f)]('select')}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x5c5cf9(0x17c)][_0x5c5cf9(0x14c)](this)}>
38
38
  </mwc-button>
39
39
  </div>
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);
40
+ `;}get['grist'](){const _0x184f75=a0_0x25a010;return this['shadowRoot']['querySelector'](_0x184f75(0x162));}async['fetchHandler']({page:_0x26b7a1=0x0,limit:_0x4cfb1b=0x0,sorters:_0x372859=[],filters:_0x3c1028=[]}){const _0x2b2469=a0_0x25a010;let _0x1e2aaf=[...this['search_hidden_fields']];_0x3c1028['forEach'](_0x80a7dc=>{const _0x180f60=a0_0x29c7;let _0x162065=_0x1e2aaf[_0x180f60(0x14f)](_0x1e9046=>_0x80a7dc['name']==_0x1e9046[_0x180f60(0x15d)]);_0x162065&&_0x162065[_0x180f60(0x199)]>0x0&&delete _0x1e2aaf[_0x80a7dc[_0x180f60(0x15d)]],_0x1e2aaf['push'](_0x80a7dc);});let _0x4afeff=ValueUtil[_0x2b2469(0x152)](this[_0x2b2469(0x176)]['menu_template']&&this[_0x2b2469(0x176)][_0x2b2469(0x185)][_0x2b2469(0x15a)]||{},'query',_0x2b2469(0x18f)),_0x1f7f15=Object[_0x2b2469(0x179)](_0x4afeff||{}),_0x2e6e72=MetaApi[_0x2b2469(0x157)](this[_0x2b2469(0x18e)]['columns'][_0x2b2469(0x14f)](_0x1f1dc2=>!_0x1f7f15[_0x2b2469(0x166)](_0x1f1dc2[_0x2b2469(0x15d)])));return await MetaApi[_0x2b2469(0x187)](this[_0x2b2469(0x176)][_0x2b2469(0x17d)],_0x1e2aaf,_0x372859,_0x26b7a1,_0x4cfb1b,_0x2e6e72);}async[a0_0x25a010(0x17e)](_0x3a7a9c){const _0x35c7d3=a0_0x25a010;this[_0x35c7d3(0x153)]&&this[_0x35c7d3(0x153)](null),closePopup(this);}async[a0_0x25a010(0x165)](_0x5bb2f8){closePopup(this);}async['clickSelect'](_0x146812){const _0x3383b7=a0_0x25a010;let _0x7898f7=this[_0x3383b7(0x192)][_0x3383b7(0x147)];_0x7898f7&&0x0!=_0x7898f7[_0x3383b7(0x199)]?this[_0x3383b7(0x182)](_0x7898f7[0x0]):MetaApi[_0x3383b7(0x17b)](_0x3383b7(0x186),TermsUtil['tText'](_0x3383b7(0x194)));}async['selectRecord'](_0x1fca57){const _0x48dee0=a0_0x25a010;this[_0x48dee0(0x153)]&&this[_0x48dee0(0x153)](_0x1fca57),closePopup(this);}}customElements['define'](a0_0x25a010(0x178),MetaObjectSelectorPopup);
@@ -1 +1 @@
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)]();}};
1
+ const a0_0x281cd9=a0_0x3f06;(function(_0xfb37f3,_0x58c022){const _0x2ca470=a0_0x3f06,_0x2f414b=_0xfb37f3();while(!![]){try{const _0x14695b=-parseInt(_0x2ca470(0x7f))/0x1*(-parseInt(_0x2ca470(0x8d))/0x2)+-parseInt(_0x2ca470(0x7b))/0x3+-parseInt(_0x2ca470(0xab))/0x4+-parseInt(_0x2ca470(0x82))/0x5*(parseInt(_0x2ca470(0xaa))/0x6)+parseInt(_0x2ca470(0x9a))/0x7+-parseInt(_0x2ca470(0xa8))/0x8*(parseInt(_0x2ca470(0x84))/0x9)+parseInt(_0x2ca470(0xa9))/0xa;if(_0x14695b===_0x58c022)break;else _0x2f414b['push'](_0x2f414b['shift']());}catch(_0x439a96){_0x2f414b['push'](_0x2f414b['shift']());}}}(a0_0x12ac,0x6436a));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x3f06(_0x13bf6b,_0x5ee243){const _0x12ac48=a0_0x12ac();return a0_0x3f06=function(_0x3f0684,_0x25ccca){_0x3f0684=_0x3f0684-0x79;let _0x2a12e7=_0x12ac48[_0x3f0684];return _0x2a12e7;},a0_0x3f06(_0x13bf6b,_0x5ee243);}function a0_0x12ac(){const _0x129ef7=['isNotEmpty','includes','etcConfig','title','name','result','is_popup','fetch','1827063bUsmNc','runScenario','dispatchEvent','parseBasicGridConfigs','field-change','errors','menu','split','parseBasicButtonConfigs','properties','addEventListener','parseBasicFormConfigs','getParams','isPage','29824vSDOmb','16645980qompjB','6tXAcXE','302600Rfwvwk','form-field-change','after','parseBasicTabConfigs','excuteOpenPopupButtonClick','openDynamicPopup','active','fetchHandler','forEach','executeCallScenarioButtonClick','is_detail','2459472fxznes','data-changed','fieldChangeHandlers','menuInfo','56207BJzVoL','etc','dataChangeEventHandler','1445075IwQquP','isEmpty','1341EGgBHM','body','parseBasicServiceConfigs','isPopup','keys','meta-form-','title_detail','grist','filterForm','8Ruscst','connectedCallback','params','lifecycle','pageUpdated'];a0_0x12ac=function(){return _0x129ef7;};return a0_0x12ac();}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x1e226e=>class extends _0x1e226e{static get[a0_0x281cd9(0xa3)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x180538=>Boolean(_0x180538)},'is_popup':{'type':Boolean,'converter':_0x5a1ce7=>Boolean(_0x5a1ce7)},'is_activity':{'type':Boolean,'converter':_0x126b68=>Boolean(_0x126b68)},'is_readonly':{'type':Boolean,'converter':_0xd21327=>Boolean(_0xd21327)}};}get['isElement'](){const _0x39f8fa=a0_0x281cd9;return!0x0===this[_0x39f8fa(0x7a)]||!0x0===this[_0x39f8fa(0x98)];}get['isDetail'](){const _0x5777a6=a0_0x281cd9;return!ValueUtil[_0x5777a6(0x83)](this[_0x5777a6(0x7a)])&&this[_0x5777a6(0x7a)];}async[a0_0x281cd9(0x81)](_0x1baef4){const _0x55e55f=a0_0x281cd9;let {after:_0x5961e2,before:_0x1fd5e1,column:_0x26fcda,record:_0x54adb8,row:_0x12201e}=_0x1baef4['detail'],_0x6c8439=_0x26fcda[_0x55e55f(0x96)];if(Object[_0x55e55f(0x88)](this[_0x55e55f(0x7d)]||{})[_0x55e55f(0x93)](_0x6c8439)){let _0x55ce6b,_0x4f6685=(await MetaApi['callScenario'](void 0x0,this[_0x55e55f(0x7d)][_0x6c8439],{'columnName':_0x6c8439,'column':_0x26fcda,'record':_0x54adb8,'after':_0x5961e2,'before':_0x1fd5e1,'row':_0x12201e},!0x1))['data'][_0x55e55f(0x9b)]['data'][_0x55e55f(0x97)];if(!_0x4f6685)return;_0x55ce6b=this[_0x55e55f(0x8b)]?this[_0x55e55f(0x8b)][_0x55e55f(0x8b)][_0x55e55f(0x85)]:this,Object[_0x55e55f(0x88)](_0x4f6685)[_0x55e55f(0xb3)](_0x35dfa7=>{const _0x8d58a8=_0x55e55f;_0x55ce6b[_0x8d58a8(0x9c)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x54adb8,'row':_0x12201e,'after':_0x4f6685[_0x35dfa7],'before':_0x54adb8[_0x35dfa7],'column':{'name':_0x35dfa7}}}));});}this[_0x55e55f(0x9c)](new CustomEvent(_0x55e55f(0x7c),{'bubbles':!0x0,'composed':!0x0,'detail':_0x1baef4['detail']}));}async[a0_0x281cd9(0x8e)](){const _0x1680ac=a0_0x281cd9;super['connectedCallback']&&await super[_0x1680ac(0x8e)](),this['tagName']['toLowerCase']()['startsWith'](_0x1680ac(0x89))?this[_0x1680ac(0xa4)](_0x1680ac(0xac),async _0x101335=>{const _0x1ee1ec=_0x1680ac;await this[_0x1ee1ec(0x81)](_0x101335);}):this['addEventListener'](_0x1680ac(0x9e),async _0x486f24=>{const _0x392e48=_0x1680ac;await this[_0x392e48(0x81)](_0x486f24);});}async[a0_0x281cd9(0x91)](_0x4932b7,_0x1a3964,_0x114f70){const _0x21d9fe=a0_0x281cd9;let _0x4954fc=this[_0x21d9fe(0x90)]?.['params']?this[_0x21d9fe(0x90)][_0x21d9fe(0x8f)]:{};this[_0x21d9fe(0xa7)]&&this[_0x21d9fe(0xb1)]&&0x0==_0x114f70[_0x21d9fe(0xb1)]&&ValueUtil['isNotEmpty'](_0x4954fc)&&this[_0x21d9fe(0x99)]();}get[a0_0x281cd9(0x87)](){const _0x15e87a=a0_0x281cd9;return!ValueUtil['isEmpty'](this['is_popup'])&&this[_0x15e87a(0x98)];}get[a0_0x281cd9(0xa7)](){const _0x1fc066=a0_0x281cd9;return!this['is_detail']&&!this[_0x1fc066(0x98)];}async['getAndParseMenuMeta'](){const _0x4e0204=a0_0x281cd9;let _0x12e8ae=await MetaApi['getMenuMeta'](this);_0x12e8ae&&(this[_0x4e0204(0x7e)]=_0x12e8ae[_0x4e0204(0xa0)],this[_0x4e0204(0x94)]=_0x12e8ae[_0x4e0204(0x80)],this['parseBasicGridConfigs']&&this[_0x4e0204(0x9d)](_0x12e8ae),this[_0x4e0204(0x86)]&&this[_0x4e0204(0x86)](_0x12e8ae),this[_0x4e0204(0xa5)]&&this[_0x4e0204(0xa5)](_0x12e8ae),this[_0x4e0204(0xae)]&&this[_0x4e0204(0xae)](_0x12e8ae),this[_0x4e0204(0xa2)]&&this['parseBasicButtonConfigs'](_0x12e8ae));}async['fetch'](){const _0x598b1d=a0_0x281cd9;ValueUtil[_0x598b1d(0x92)](this['grist'])?this['grist']['fetch']():(ValueUtil['isNotEmpty'](this[_0x598b1d(0x8c)])||this[_0x598b1d(0xb2)])&&await this[_0x598b1d(0xb2)]();}async[a0_0x281cd9(0xaf)](_0x3d27c2,_0x1267d8,_0x4b4274){const _0x4c855b=a0_0x281cd9;let _0x4adb79=TermsUtil['tTitle'](_0x3d27c2[_0x4c855b(0x95)]);ValueUtil[_0x4c855b(0x92)](_0x3d27c2[_0x4c855b(0x8a)])&&(_0x4adb79=_0x4adb79+'-'+ValueUtil[_0x4c855b(0xa6)](_0x1267d8,..._0x3d27c2[_0x4c855b(0x8a)][_0x4c855b(0xa1)]('.'))),MetaApi[_0x4c855b(0xb0)](_0x4adb79,_0x3d27c2,_0x1267d8,_0x4b4274);}async[a0_0x281cd9(0x79)](_0x3fcc8a,_0x1978ce,_0x5b7ddf){const _0x44e5b2=a0_0x281cd9;let _0x14616d=await MetaApi['callScenario'](_0x3fcc8a[_0x44e5b2(0x96)],_0x3fcc8a[_0x44e5b2(0x96)],_0x1978ce);!0x1!==_0x14616d&&!_0x14616d[_0x44e5b2(0x9f)]&&ValueUtil[_0x44e5b2(0x92)](_0x3fcc8a[_0x44e5b2(0xad)])&&_0x5b7ddf();}['setParentId'](_0x3a1009){const _0x5ce6ef=a0_0x281cd9;this['parent_id']=_0x3a1009,this[_0x5ce6ef(0x99)]();}};