@things-factory/meta-ui 6.1.12 → 6.1.14

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 +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +10 -10
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +6 -6
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  13. package/client/mixin/meta-button-mixin.js +1 -1
  14. package/client/mixin/meta-form-mixin.js +1 -1
  15. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  16. package/client/mixin/meta-main-tab-mixin.js +1 -1
  17. package/client/mixin/meta-master-detail-mixin.js +1 -1
  18. package/client/mixin/meta-service-mixin.js +1 -1
  19. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  20. package/client/mixin/meta-tab-mixin.js +1 -1
  21. package/client/pages/activity/meta-activity-list-page.js +6 -6
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +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 +5 -5
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +177 -176
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +12 -12
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +2 -2
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  73. package/server/service/meta-activity/meta-activity-query.js +1 -1
  74. package/server/service/meta-activity/meta-activity-type.js +1 -1
  75. package/server/service/meta-secret/meta-resolver.js +1 -1
  76. package/server/service/set-translations/set-translation-resolver.js +1 -1
  77. package/server/service/work-code/work-code-mutation.js +1 -1
  78. package/server/service/work-code/work-code-query.js +1 -1
  79. package/server/service/work-code/work-code-type.js +1 -1
  80. package/server/service/work-code/work-code.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0x2beef4=a0_0x5161;function a0_0x1702(){const _0x2fef61=['items','querySelector','appName','608055ZkeMjx','dispatch','dynamic-menu-part','rank','1286920gjIyMr','active','445698OBUQWb','portrait','landscape','value','7xrmagb','NAVBAR','data','3eJfVrH','312453oOvPWw','1675218FZfFhq','8mMAEWw','14890220vrbnWT','4354137aUTeTB','lite-menu-part','get','content','UPDATE_META_UI','UPDATE_META_MENU_TEMPLATE','FRONT_END','meta[name=\x22application-name\x22]'];a0_0x1702=function(){return _0x2fef61;};return a0_0x1702();}(function(_0x3d28ab,_0xa766f3){const _0x26a814=a0_0x5161,_0x6bfaa0=_0x3d28ab();while(!![]){try{const _0x21c557=-parseInt(_0x26a814(0x8d))/0x1+-parseInt(_0x26a814(0xa2))/0x2*(parseInt(_0x26a814(0x8c))/0x3)+-parseInt(_0x26a814(0xa0))/0x4+-parseInt(_0x26a814(0x9c))/0x5+-parseInt(_0x26a814(0x8e))/0x6*(-parseInt(_0x26a814(0x89))/0x7)+-parseInt(_0x26a814(0x8f))/0x8*(parseInt(_0x26a814(0x91))/0x9)+parseInt(_0x26a814(0x90))/0xa;if(_0x21c557===_0xa766f3)break;else _0x6bfaa0['push'](_0x6bfaa0['shift']());}catch(_0x185b2e){_0x6bfaa0['push'](_0x6bfaa0['shift']());}}}(a0_0x1702,0x4aa7d));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x4c8428 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x5161(_0x1acb4c,_0xea8051){const _0x1702b8=a0_0x1702();return a0_0x5161=function(_0x51615a,_0xe0f257){_0x51615a=_0x51615a-0x86;let _0xfdd49f=_0x1702b8[_0x51615a];return _0xfdd49f;},a0_0x5161(_0x1acb4c,_0xea8051);}import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x2beef4(0x95);export const UPDATE_META_MENU_TEMPLATE=a0_0x2beef4(0x96);var HAMBURGER;export async function setupMenuPart(_0x186506){const _0x2790b6=a0_0x2beef4;var {hovering:_0x5762e3=!!isMobileDevice(),slotTemplate:_0x243652,portraitSlotTemplate:_0x4830e3,landscapeSlotTemplate:_0x50fd7e,position:_0x4188a9=VIEWPART_POSITION[_0x2790b6(0x8a)]}=_0x186506||{};const {hovering:_0x310046}=(await clientSettingStore[_0x2790b6(0x93)]('dynamic-menu'))?.[_0x2790b6(0x88)]||{};void 0x0!==_0x310046&&(_0x5762e3=_0x310046);const _0xa55db4=_0x4188a9==VIEWPART_POSITION['HEADERBAR']?_0x2790b6(0x87):_0x2790b6(0x86),_0x5157c0=('landscape'==_0xa55db4?_0x50fd7e:_0x4830e3)||_0x243652||html``;appendViewpart({'name':_0x2790b6(0x92),'viewpart':{'show':!_0x5762e3,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x5762e3,'template':html`<dynamic-menu-part .orientation=${_0xa55db4}>${_0x5157c0}</dynamic-menu-part>`},'position':_0x4188a9}),_0x5762e3&&_0x2790b6(0x86)==_0xa55db4?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
- <mwc-icon @click=${_0xf5bb5e=>toggleOverlay(_0x2790b6(0x9e),{'backdrop':!0x0})}
1
+ function a0_0xb946(){const _0xff650b=['filter','4571VWpleO','portrait','2464640rCFTyo','dynamic-menu-part','appName','dynamic-menu','lite-menu-part','data','meta[name=\x22application-name\x22]','get','rank','8136wKHTNc','content','628838xjrihL','query','41231832CZvwAc','UPDATE_META_MENU_TEMPLATE','hamburger','FRONT_END','dispatch','996SRsQtj','4941360nzDxNl','querySelector','UPDATE_META_UI','1PHyStf','30CrHfbf','11XHZsmi','4770IVDBOV','NAVBAR','92151dbKzIu','liteMenus'];a0_0xb946=function(){return _0xff650b;};return a0_0xb946();}function a0_0x4bb8(_0x35e46d,_0x4325f8){const _0xb946fb=a0_0xb946();return a0_0x4bb8=function(_0x4bb85f,_0x44bbe8){_0x4bb85f=_0x4bb85f-0xbd;let _0x497450=_0xb946fb[_0x4bb85f];return _0x497450;},a0_0x4bb8(_0x35e46d,_0x4325f8);}const a0_0x33c06a=a0_0x4bb8;(function(_0x4ed99c,_0x16212b){const _0x5a4f6c=a0_0x4bb8,_0x5ba8ee=_0x4ed99c();while(!![]){try{const _0x853638=-parseInt(_0x5a4f6c(0xbf))/0x1*(parseInt(_0x5a4f6c(0xd4))/0x2)+parseInt(_0x5a4f6c(0xc2))/0x3*(-parseInt(_0x5a4f6c(0xdb))/0x4)+-parseInt(_0x5a4f6c(0xdc))/0x5+parseInt(_0x5a4f6c(0xd2))/0x6*(-parseInt(_0x5a4f6c(0xc7))/0x7)+-parseInt(_0x5a4f6c(0xc9))/0x8+parseInt(_0x5a4f6c(0xc4))/0x9*(parseInt(_0x5a4f6c(0xc0))/0xa)+parseInt(_0x5a4f6c(0xc1))/0xb*(parseInt(_0x5a4f6c(0xd6))/0xc);if(_0x853638===_0x16212b)break;else _0x5ba8ee['push'](_0x5ba8ee['shift']());}catch(_0x394c5c){_0x5ba8ee['push'](_0x5ba8ee['shift']());}}}(a0_0xb946,0x8c45a));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x178a1c from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x33c06a(0xbe);export const UPDATE_META_MENU_TEMPLATE=a0_0x33c06a(0xd7);var HAMBURGER;export async function setupMenuPart(_0x5c5590){const _0x1a1b8a=a0_0x33c06a;var {hovering:_0xe7bcb4=!!isMobileDevice(),slotTemplate:_0x49a165,portraitSlotTemplate:_0x3eea47,landscapeSlotTemplate:_0x278d1a,position:_0x51645c=VIEWPART_POSITION[_0x1a1b8a(0xc3)]}=_0x5c5590||{};const {hovering:_0x17f1b4}=(await clientSettingStore[_0x1a1b8a(0xd0)](_0x1a1b8a(0xcc)))?.['value']||{};void 0x0!==_0x17f1b4&&(_0xe7bcb4=_0x17f1b4);const _0x418248=_0x51645c==VIEWPART_POSITION['HEADERBAR']?'landscape':_0x1a1b8a(0xc8),_0x570b40=('landscape'==_0x418248?_0x278d1a:_0x3eea47)||_0x49a165||html``;appendViewpart({'name':_0x1a1b8a(0xcd),'viewpart':{'show':!_0xe7bcb4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0xe7bcb4,'template':html`<dynamic-menu-part .orientation=${_0x418248}>${_0x570b40}</dynamic-menu-part>`},'position':_0x51645c}),_0xe7bcb4&&_0x1a1b8a(0xc8)==_0x418248?HAMBURGER||(HAMBURGER={'name':_0x1a1b8a(0xd8),'template':html`
2
+ <mwc-icon @click=${_0x59d8bd=>toggleOverlay(_0x1a1b8a(0xca),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x2790b6(0x97)]},store[_0x2790b6(0x9d)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x5ea1d9){const _0x13f764=a0_0x2beef4;var _0x4ff3ed=document[_0x13f764(0x9a)](_0x13f764(0x98))?.[_0x13f764(0x94)],_0x536fab=(await client['query']({'query':a0_0x4c8428`
4
+ `,'position':TOOL_POSITION[_0x1a1b8a(0xd9)]},store[_0x1a1b8a(0xda)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1a1b8a(0xda)]({'type':REMOVE_APP_TOOL,'name':_0x1a1b8a(0xd8)}),HAMBURGER=null);}export async function updateMenuTemplate(_0xd0114b){const _0x221819=a0_0x33c06a;var _0x32dbb5=document[_0x221819(0xbd)](_0x221819(0xcf))?.[_0x221819(0xd3)],_0x26ee24=(await client[_0x221819(0xd5)]({'query':a0_0x178a1c`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x2beef4=a0_0x5161;function a0_0x1702(){const _0x2fef61=['items','query
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x13f764(0xa1),'operator':'eq','value':!0x0},{'name':_0x13f764(0x9b),'operator':'in','value':['',_0x4ff3ed]}],'sortings':[{'name':_0x13f764(0x9f),'desc':!0x1}]}}))[_0x13f764(0x8b)]['liteMenus'][_0x13f764(0x99)];store[_0x13f764(0x9d)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x536fab['filter'](_0x47d11c=>!_0x47d11c[_0x13f764(0x9b)]||_0x47d11c['appName']===_0x4ff3ed),'template':_0x5ea1d9});}
23
+ `,'variables':{'filters':[{'name':'active','operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x32dbb5]}],'sortings':[{'name':_0x221819(0xd1),'desc':!0x1}]}}))[_0x221819(0xce)][_0x221819(0xc5)]['items'];store[_0x221819(0xda)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x26ee24[_0x221819(0xc6)](_0x477fcc=>!_0x477fcc[_0x221819(0xcb)]||_0x477fcc['appName']===_0x32dbb5),'template':_0xd0114b});}
@@ -1,16 +1,16 @@
1
- (function(_0x4d669b,_0x27aae8){const _0x4ccc77=a0_0x2a30,_0x430d76=_0x4d669b();while(!![]){try{const _0x2e8535=parseInt(_0x4ccc77(0x19e))/0x1*(-parseInt(_0x4ccc77(0x19d))/0x2)+-parseInt(_0x4ccc77(0x1b2))/0x3+parseInt(_0x4ccc77(0x1a0))/0x4*(-parseInt(_0x4ccc77(0x1b4))/0x5)+-parseInt(_0x4ccc77(0x1a4))/0x6*(parseInt(_0x4ccc77(0x1ac))/0x7)+parseInt(_0x4ccc77(0x1b1))/0x8+-parseInt(_0x4ccc77(0x1bb))/0x9*(parseInt(_0x4ccc77(0x1b8))/0xa)+parseInt(_0x4ccc77(0x1a5))/0xb;if(_0x2e8535===_0x27aae8)break;else _0x430d76['push'](_0x430d76['shift']());}catch(_0x5e99e7){_0x430d76['push'](_0x430d76['shift']());}}}(a0_0x15bb,0xddcd0));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x15bb(){const _0x19c130=['72NkMISZ','form\x20[name=\x22','value','tagName','6YafLRA','67681801BmYAyD','selectorName','codes','target','toLowerCase','change','stopPropagation','9173759qrbLqy','options','renderRoot','querySelector','dispField','3313400pOTjDC','4995636EcfOSu','select_item','69780DWYmca','filter','length','display','11840orEHDr','large','tMenu','12375vQQwpp','name','535742MkaVRv','3yIffkZ','dispatchEvent'];a0_0x15bb=function(){return _0x19c130;};return a0_0x15bb();}import{openPopup}from'@operato/layout';function a0_0x2a30(_0x4aa78a,_0x5e0cf1){const _0x15bbcd=a0_0x15bb();return a0_0x2a30=function(_0x2a3088,_0x8d8b9d){_0x2a3088=_0x2a3088-0x19d;let _0x4b3e56=_0x15bbcd[_0x2a3088];return _0x4b3e56;},a0_0x2a30(_0x4aa78a,_0x5e0cf1);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x7bc74f,_0x3a454b,_0x1f3060){const _0x5ac2a2=a0_0x2a30;var _0x3f4a1d=html`
1
+ function a0_0x4a9b(_0x4143a4,_0x941e54){const _0x3cae65=a0_0x3cae();return a0_0x4a9b=function(_0x4a9b47,_0x246921){_0x4a9b47=_0x4a9b47-0x9c;let _0x17b139=_0x3cae65[_0x4a9b47];return _0x17b139;},a0_0x4a9b(_0x4143a4,_0x941e54);}(function(_0x23b4ef,_0x450cc8){const _0x25dea0=a0_0x4a9b,_0x358971=_0x23b4ef();while(!![]){try{const _0x4da60b=-parseInt(_0x25dea0(0xa3))/0x1+parseInt(_0x25dea0(0xb2))/0x2+-parseInt(_0x25dea0(0xad))/0x3*(parseInt(_0x25dea0(0xa2))/0x4)+parseInt(_0x25dea0(0xa4))/0x5*(-parseInt(_0x25dea0(0xba))/0x6)+-parseInt(_0x25dea0(0xb1))/0x7+-parseInt(_0x25dea0(0xa5))/0x8+-parseInt(_0x25dea0(0xa7))/0x9*(-parseInt(_0x25dea0(0xb8))/0xa);if(_0x4da60b===_0x450cc8)break;else _0x358971['push'](_0x358971['shift']());}catch(_0x1f9a95){_0x358971['push'](_0x358971['shift']());}}}(a0_0x3cae,0x1fa56));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x3cae(){const _0x86c862=['filter-change','display','name','tTitle','9251300ZkuTYM','toLowerCase','186LoOJmd','codes','dispatchEvent','options','querySelector','filter','tMenu','dispField','453636BFaZai','46289cySszQ','40295MNkmNq','1861952XXLRIG','tagName','9FOlAit','change','renderRoot','ox-grid-header','length','stopPropagation','3yUyXAs','value','selectorName','[name=\x22','1558578fzCwDD','138834OROeeR','codeField'];a0_0x3cae=function(){return _0x86c862;};return a0_0x3cae();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x81f6f1,_0x6b82b9,_0x33eedd){const _0x4b251f=a0_0x4a9b;var _0x2afb50=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x3a454b}
4
- .options=${_0x7bc74f[_0x5ac2a2(0x1ad)]}
5
- .confirmCallback=${_0x1f3060}
3
+ .value=${_0x6b82b9}
4
+ .options=${_0x81f6f1[_0x4b251f(0x9d)]}
5
+ .confirmCallback=${_0x33eedd}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x3f4a1d,{'backdrop':!0x0,'size':_0x5ac2a2(0x1b9),'title':_0x7bc74f[_0x5ac2a2(0x1ad)][_0x5ac2a2(0x1a6)]?TermsUtil[_0x5ac2a2(0x1ba)](_0x7bc74f[_0x5ac2a2(0x1ad)][_0x5ac2a2(0x1a6)]):TermsUtil['tTitle'](_0x5ac2a2(0x1b3))});}export const FilterFormMetaCodeSelect=(_0x1a74b9,_0x332a94,_0x180776)=>{const _0x4e51f1=a0_0x2a30,_0x20e151=_0x1a74b9[_0x4e51f1(0x1ad)],_0x2905df=_0x20e151['codes']&&_0x20e151[_0x4e51f1(0x1a7)][_0x4e51f1(0x1b6)]>0x0?_0x20e151[_0x4e51f1(0x1a7)]:void 0x0,{operator:_0x43dc20='eq'}=_0x1a74b9;let _0x162c08=_0x332a94||'',_0x5dc6fd=_0x332a94||'';if(_0x20e151[_0x4e51f1(0x1b0)]&&_0x332a94&&_0x2905df){let _0x31da21=_0x2905df[_0x4e51f1(0x1b5)](_0x1afb26=>_0x1afb26[_0x4e51f1(0x1a2)]==_0x332a94);_0x31da21&&_0x31da21['length']>0x0&&(_0x5dc6fd=_0x31da21[0x0][_0x4e51f1(0x1b7)]);}return'eq'===_0x43dc20?html`
8
- <input name='${_0x1a74b9['name']}' .value=${_0x162c08} type="text" hidden></input>
7
+ `;openPopup(_0x2afb50,{'backdrop':!0x0,'size':'large','title':_0x81f6f1[_0x4b251f(0x9d)][_0x4b251f(0xaf)]?TermsUtil[_0x4b251f(0xa0)](_0x81f6f1[_0x4b251f(0x9d)][_0x4b251f(0xaf)]):TermsUtil[_0x4b251f(0xb7)]('select_item')});}export const FilterFormMetaCodeSelect=(_0xf394af,_0x2bda4f,_0x6c7d33)=>{const _0x18da7d=a0_0x4a9b,_0x1e3ab4=_0xf394af[_0x18da7d(0x9d)],_0x4e25ce=_0x1e3ab4[_0x18da7d(0xbb)]&&_0x1e3ab4[_0x18da7d(0xbb)][_0x18da7d(0xab)]>0x0?_0x1e3ab4[_0x18da7d(0xbb)]:void 0x0,{operator:_0x1403c1='eq'}=_0xf394af;let _0x258d32=_0x2bda4f||'',_0x91585a=_0x2bda4f||'';if(_0x1e3ab4[_0x18da7d(0xa1)]&&_0x2bda4f&&_0x4e25ce){let _0x2aa6d9=_0x4e25ce[_0x18da7d(0x9f)](_0x4aef22=>_0x4aef22[_0x18da7d(0xae)]==_0x2bda4f);_0x2aa6d9&&_0x2aa6d9[_0x18da7d(0xab)]>0x0&&(_0x91585a=_0x2aa6d9[0x0][_0x18da7d(0xb5)]);}return'eq'===_0x1403c1?html`
8
+ <input name='${_0xf394af[_0x18da7d(0xb6)]}' .value=${_0x258d32} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x1a74b9[_0x4e51f1(0x1bc)]}_disp'
13
- .value=${_0x5dc6fd}
14
- @click=${_0x28c3ad=>{const _0x4bc65e=_0x4e51f1;_0x28c3ad[_0x4bc65e(0x1ab)]();const _0x343701=_0x28c3ad[_0x4bc65e(0x1a8)];openMetaCodeSelector(_0x1a74b9,_0x332a94,_0x39f2a5=>{const _0x35290c=_0x4bc65e;let _0x25ae6c=_0x39f2a5?_0x39f2a5[_0x20e151['codeField']]:'',_0x95c53d=_0x25ae6c;_0x39f2a5&&_0x20e151[_0x35290c(0x1b0)]&&(_0x95c53d=_0x39f2a5[_0x20e151['dispField']]),_0x343701[_0x35290c(0x1a2)]=_0x95c53d,('ox-grid-header'==_0x180776[_0x35290c(0x1a3)][_0x35290c(0x1a9)]()?_0x180776['renderRoot'][_0x35290c(0x1af)]('[name=\x22'+_0x1a74b9[_0x35290c(0x1bc)]+'\x22]'):_0x180776[_0x35290c(0x1ae)][_0x35290c(0x1af)](_0x35290c(0x1a1)+_0x1a74b9[_0x35290c(0x1bc)]+'\x22]'))['value']=_0x25ae6c,_0x343701[_0x35290c(0x19f)](new Event(_0x35290c(0x1aa),{'bubbles':!0x0})),_0x343701['dispatchEvent'](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1a74b9['name'],'operator':_0x43dc20,'value':_0x25ae6c}}));});}}
12
+ name='${_0xf394af[_0x18da7d(0xb6)]}_disp'
13
+ .value=${_0x91585a}
14
+ @click=${_0x43df9e=>{const _0x8ac2f5=_0x18da7d;_0x43df9e[_0x8ac2f5(0xac)]();const _0x53ea4d=_0x43df9e['target'];openMetaCodeSelector(_0xf394af,_0x2bda4f,_0x316dd5=>{const _0x5d0156=_0x8ac2f5;let _0x19ec87=_0x316dd5?_0x316dd5[_0x1e3ab4[_0x5d0156(0xb3)]]:'',_0x5b4d65=_0x19ec87;_0x316dd5&&_0x1e3ab4[_0x5d0156(0xa1)]&&(_0x5b4d65=_0x316dd5[_0x1e3ab4[_0x5d0156(0xa1)]]),_0x53ea4d[_0x5d0156(0xae)]=_0x5b4d65,(_0x5d0156(0xaa)==_0x6c7d33[_0x5d0156(0xa6)][_0x5d0156(0xb9)]()?_0x6c7d33[_0x5d0156(0xa9)]['querySelector'](_0x5d0156(0xb0)+_0xf394af[_0x5d0156(0xb6)]+'\x22]'):_0x6c7d33[_0x5d0156(0xa9)][_0x5d0156(0x9e)]('form\x20[name=\x22'+_0xf394af[_0x5d0156(0xb6)]+'\x22]'))[_0x5d0156(0xae)]=_0x19ec87,_0x53ea4d[_0x5d0156(0x9c)](new Event(_0x5d0156(0xa8),{'bubbles':!0x0})),_0x53ea4d[_0x5d0156(0x9c)](new CustomEvent(_0x5d0156(0xb4),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xf394af['name'],'operator':_0x1403c1,'value':_0x19ec87}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x125981,_0x190faf){const _0x172aa3=a0_0x4322,_0x2eb238=_0x125981();while(!![]){try{const _0x2cec61=-parseInt(_0x172aa3(0x165))/0x1+-parseInt(_0x172aa3(0x15e))/0x2+parseInt(_0x172aa3(0x164))/0x3*(parseInt(_0x172aa3(0x162))/0x4)+-parseInt(_0x172aa3(0x15f))/0x5+parseInt(_0x172aa3(0x157))/0x6*(parseInt(_0x172aa3(0x15a))/0x7)+parseInt(_0x172aa3(0x158))/0x8*(parseInt(_0x172aa3(0x159))/0x9)+parseInt(_0x172aa3(0x152))/0xa;if(_0x2cec61===_0x190faf)break;else _0x2eb238['push'](_0x2eb238['shift']());}catch(_0xd14e80){_0x2eb238['push'](_0x2eb238['shift']());}}}(a0_0x4e3b,0xc01c7));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x4e3b(){const _0x1665d2=['toLowerCase','17624440JFXLJJ','tMenu','stopPropagation','tagName','selectorName','898374WeaCVN','32BKhnQv','2249847yqhXWs','7RLySRo','change','large','value','2581974oDmuVo','5109700sqglXM','[name=\x22','select_item','356IKITUz','tTitle','8163mQxUOI','54460JHjFWZ','filter-change','ox-grid-header','form\x20[name=\x22','options','target','name','nameField','dispatchEvent'];a0_0x4e3b=function(){return _0x1665d2;};return a0_0x4e3b();}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x588a15,_0x437b15,_0x2da9c4){const _0x4dec62=a0_0x4322;var _0x59d71=html`
1
+ function a0_0x3355(_0x3fde97,_0x42b95f){const _0x177303=a0_0x1773();return a0_0x3355=function(_0x3355c4,_0x4e6081){_0x3355c4=_0x3355c4-0xd4;let _0xb227e=_0x177303[_0x3355c4];return _0xb227e;},a0_0x3355(_0x3fde97,_0x42b95f);}(function(_0x17ba91,_0x22ae17){const _0x38cf9a=a0_0x3355,_0x207faf=_0x17ba91();while(!![]){try{const _0x1359ca=parseInt(_0x38cf9a(0xf0))/0x1*(-parseInt(_0x38cf9a(0xeb))/0x2)+-parseInt(_0x38cf9a(0xe9))/0x3*(parseInt(_0x38cf9a(0xd8))/0x4)+-parseInt(_0x38cf9a(0xd4))/0x5+parseInt(_0x38cf9a(0xe6))/0x6*(parseInt(_0x38cf9a(0xee))/0x7)+parseInt(_0x38cf9a(0xed))/0x8*(parseInt(_0x38cf9a(0xd6))/0x9)+-parseInt(_0x38cf9a(0xef))/0xa+parseInt(_0x38cf9a(0xe5))/0xb*(parseInt(_0x38cf9a(0xe7))/0xc);if(_0x1359ca===_0x22ae17)break;else _0x207faf['push'](_0x207faf['shift']());}catch(_0x42796a){_0x207faf['push'](_0x207faf['shift']());}}}(a0_0x1773,0xbef81));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x1773(){const _0x2c9dc9=['23496YFSCWZ','6UOdmUv','17568wMCLtv','form\x20[name=\x22','69EeAAnB','ox-grid-header','1340038WiBGIG','target','88mWuRDa','5117133gMQwqh','7276390HlYCPo','1NKdrbv','6468060xWqVpz','tMenu','391293BiyosM','querySelector','150068FZxidL','toLowerCase','tagName','dispatchEvent','stopPropagation','nameField','tTitle','change','options','name','select_item','renderRoot','value'];a0_0x1773=function(){return _0x2c9dc9;};return a0_0x1773();}function openMetaObjectSelector(_0x1fed25,_0x548a59,_0x46c8cc){const _0x37cfef=a0_0x3355;var _0x3cbcca=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x437b15}
4
- .options=${_0x588a15[_0x4dec62(0x169)]}
5
- .confirmCallback=${_0x2da9c4}
3
+ .value=${_0x548a59}
4
+ .options=${_0x1fed25['options']}
5
+ .confirmCallback=${_0x46c8cc}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x59d71,{'backdrop':!0x0,'size':_0x4dec62(0x15c),'title':_0x588a15['options'][_0x4dec62(0x156)]?TermsUtil[_0x4dec62(0x153)](_0x588a15[_0x4dec62(0x169)]['selectorName']):TermsUtil[_0x4dec62(0x163)](_0x4dec62(0x161))});}function a0_0x4322(_0x1e92a8,_0x51593d){const _0x4e3b55=a0_0x4e3b();return a0_0x4322=function(_0x43222e,_0x300196){_0x43222e=_0x43222e-0x14e;let _0xaa3d12=_0x4e3b55[_0x43222e];return _0xaa3d12;},a0_0x4322(_0x1e92a8,_0x51593d);}export const FilterFormMetaObjectSelect=(_0x3831b6,_0x576052,_0x5350af)=>{const _0x291797=a0_0x4322,_0x52d979=_0x3831b6[_0x291797(0x169)],{operator:_0x55e9c5='eq'}=_0x3831b6;let _0x5077cd=_0x576052?_0x576052['id']:'',_0x1905ad=_0x576052?_0x576052[_0x52d979[_0x291797(0x14f)]]:'';return'eq'===_0x55e9c5?html`
8
- <input name='${_0x3831b6['name']}' .value=${_0x5077cd} type="text" hidden></input>
7
+ `;openPopup(_0x3cbcca,{'backdrop':!0x0,'size':'large','title':_0x1fed25[_0x37cfef(0xe0)]['selectorName']?TermsUtil[_0x37cfef(0xd5)](_0x1fed25[_0x37cfef(0xe0)]['selectorName']):TermsUtil[_0x37cfef(0xde)](_0x37cfef(0xe2))});}export const FilterFormMetaObjectSelect=(_0xc2f30f,_0x30acaf,_0x307cff)=>{const _0x6ff552=a0_0x3355,_0x37febb=_0xc2f30f[_0x6ff552(0xe0)],{operator:_0x35bb60='eq'}=_0xc2f30f;let _0x4a1d49=_0x30acaf?_0x30acaf['id']:'',_0x3748ec=_0x30acaf?_0x30acaf[_0x37febb[_0x6ff552(0xdd)]]:'';return'eq'===_0x35bb60?html`
8
+ <input name='${_0xc2f30f[_0x6ff552(0xe1)]}' .value=${_0x4a1d49} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x3831b6['name']}_disp'
13
- .value=${_0x1905ad}
14
- @click=${_0x425eef=>{const _0x5e3b2a=_0x291797;_0x425eef[_0x5e3b2a(0x154)]();const _0x56d423=_0x425eef[_0x5e3b2a(0x16a)];openMetaObjectSelector(_0x3831b6,_0x576052,_0x1edb2e=>{const _0xae3372=_0x5e3b2a;let _0x46ba62=_0x1edb2e?_0x1edb2e['id']:'',_0x3d0ade=_0x1edb2e?_0x1edb2e[_0x52d979[_0xae3372(0x14f)]]:'';_0x56d423[_0xae3372(0x15d)]=_0x3d0ade,(_0xae3372(0x167)==_0x5350af[_0xae3372(0x155)][_0xae3372(0x151)]()?_0x5350af['renderRoot']['querySelector'](_0xae3372(0x160)+_0x3831b6[_0xae3372(0x14e)]+'\x22]'):_0x5350af['renderRoot']['querySelector'](_0xae3372(0x168)+_0x3831b6[_0xae3372(0x14e)]+'\x22]'))[_0xae3372(0x15d)]=_0x46ba62,_0x56d423[_0xae3372(0x150)](new Event(_0xae3372(0x15b),{'bubbles':!0x0})),_0x56d423[_0xae3372(0x150)](new CustomEvent(_0xae3372(0x166),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3831b6[_0xae3372(0x14e)],'operator':_0x55e9c5,'value':_0x46ba62}}));});}}
12
+ name='${_0xc2f30f[_0x6ff552(0xe1)]}_disp'
13
+ .value=${_0x3748ec}
14
+ @click=${_0x4f3040=>{const _0x2e385c=_0x6ff552;_0x4f3040[_0x2e385c(0xdc)]();const _0x503499=_0x4f3040[_0x2e385c(0xec)];openMetaObjectSelector(_0xc2f30f,_0x30acaf,_0x37aa48=>{const _0x22390b=_0x2e385c;let _0x5b5942=_0x37aa48?_0x37aa48['id']:'',_0x1d514e=_0x37aa48?_0x37aa48[_0x37febb['nameField']]:'';_0x503499[_0x22390b(0xe4)]=_0x1d514e,(_0x22390b(0xea)==_0x307cff[_0x22390b(0xda)][_0x22390b(0xd9)]()?_0x307cff[_0x22390b(0xe3)][_0x22390b(0xd7)]('[name=\x22'+_0xc2f30f[_0x22390b(0xe1)]+'\x22]'):_0x307cff['renderRoot'][_0x22390b(0xd7)](_0x22390b(0xe8)+_0xc2f30f[_0x22390b(0xe1)]+'\x22]'))['value']=_0x5b5942,_0x503499[_0x22390b(0xdb)](new Event(_0x22390b(0xdf),{'bubbles':!0x0})),_0x503499[_0x22390b(0xdb)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xc2f30f['name'],'operator':_0x35bb60,'value':_0x5b5942}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x4a73(){const _0x479423=['large','codes','options','17677800TmVvIU','form\x20[name=\x22','268517fSMmrx','tagName','display','4124615QAvzQd','dispField','filter','2841tgNsam','281974dNbXur','codeField','9DgbmTn','record','value','renderRoot','2hQjlps','querySelector','[name=\x22','ox-grid-header','target','select_item','toLowerCase','name','length','1144CttXeb','tMenu','dispatchEvent','125DkJQuo','selectorName','8RNqeix','change','5131270AHiJml','77130vUPrBB'];a0_0x4a73=function(){return _0x479423;};return a0_0x4a73();}(function(_0x21c967,_0x101a8e){const _0x32dd26=a0_0x409c,_0x37880d=_0x21c967();while(!![]){try{const _0x628f3b=parseInt(_0x32dd26(0x1af))/0x1*(-parseInt(_0x32dd26(0x1bc))/0x2)+-parseInt(_0x32dd26(0x1b5))/0x3*(parseInt(_0x32dd26(0x1a1))/0x4)+parseInt(_0x32dd26(0x1a4))/0x5*(parseInt(_0x32dd26(0x1a9))/0x6)+-parseInt(_0x32dd26(0x1b6))/0x7*(parseInt(_0x32dd26(0x1a6))/0x8)+parseInt(_0x32dd26(0x1b8))/0x9*(-parseInt(_0x32dd26(0x1a8))/0xa)+-parseInt(_0x32dd26(0x1b2))/0xb+parseInt(_0x32dd26(0x1ad))/0xc;if(_0x628f3b===_0x101a8e)break;else _0x37880d['push'](_0x37880d['shift']());}catch(_0x30eccd){_0x37880d['push'](_0x37880d['shift']());}}}(a0_0x4a73,0x4fc88));function a0_0x409c(_0x3b1d38,_0x3490e0){const _0x4a7351=a0_0x4a73();return a0_0x409c=function(_0x409c2c,_0x29497a){_0x409c2c=_0x409c2c-0x1a1;let _0x1f847a=_0x4a7351[_0x409c2c];return _0x1f847a;},a0_0x409c(_0x3b1d38,_0x3490e0);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3ddd50,_0x9af169,_0x37a4aa){const _0x305250=a0_0x409c;var _0x331f5c=html`
1
+ (function(_0x2dd906,_0x4e0779){const _0x5240c4=a0_0x2ed7,_0x484003=_0x2dd906();while(!![]){try{const _0x4cfaa8=parseInt(_0x5240c4(0xb8))/0x1*(parseInt(_0x5240c4(0xc9))/0x2)+parseInt(_0x5240c4(0xc4))/0x3*(-parseInt(_0x5240c4(0xc8))/0x4)+-parseInt(_0x5240c4(0xca))/0x5*(parseInt(_0x5240c4(0xbe))/0x6)+-parseInt(_0x5240c4(0xcc))/0x7+parseInt(_0x5240c4(0xba))/0x8*(parseInt(_0x5240c4(0xaf))/0x9)+parseInt(_0x5240c4(0xcb))/0xa+parseInt(_0x5240c4(0xbf))/0xb*(parseInt(_0x5240c4(0xb2))/0xc);if(_0x4cfaa8===_0x4e0779)break;else _0x484003['push'](_0x484003['shift']());}catch(_0x4452f4){_0x484003['push'](_0x484003['shift']());}}}(a0_0x364c,0x6a6bf));import'../selector/meta-object-selector-popup';function a0_0x2ed7(_0x1d6ea1,_0x2d74fd){const _0x364c45=a0_0x364c();return a0_0x2ed7=function(_0x2ed75a,_0x1a7ace){_0x2ed75a=_0x2ed75a-0xae;let _0x5f0cec=_0x364c45[_0x2ed75a];return _0x5f0cec;},a0_0x2ed7(_0x1d6ea1,_0x2d74fd);}import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x364c(){const _0x3cb2bd=['large','tagName','10CGZjRf','filter','88LQGpFD','renderRoot','selectorName','tMenu','6PXlYfb','2497fPBJsV','value','record','tTitle','stopPropagation','2444703ZrIxZr','display','querySelector','change','4PgOYvf','110490jqcLeD','3679765lhEXPh','5054720SrsbVT','3086328lLnZxF','select_item','options','[name=\x22','codes','dispField','346770PKbtiu','dispatchEvent','form\x20[name=\x22','50004pWzKrY','length','name','target'];a0_0x364c=function(){return _0x3cb2bd;};return a0_0x364c();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x150029,_0x12efd2,_0x4e7456){const _0x4b82c4=a0_0x2ed7;var _0x237d9d=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x9af169}
4
- .options=${_0x3ddd50[_0x305250(0x1b9)]['options']}
5
- .confirmCallback=${_0x37a4aa}
3
+ .value=${_0x12efd2}
4
+ .options=${_0x150029[_0x4b82c4(0xc1)][_0x4b82c4(0xce)]}
5
+ .confirmCallback=${_0x4e7456}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x331f5c,{'backdrop':!0x0,'size':_0x305250(0x1aa),'title':_0x3ddd50[_0x305250(0x1b9)]['options']['selectorName']?TermsUtil[_0x305250(0x1a2)](_0x3ddd50[_0x305250(0x1b9)][_0x305250(0x1ac)][_0x305250(0x1a5)]):TermsUtil['tTitle'](_0x305250(0x1c1))});}export const FilterGristMetaCodeSelect=(_0x5baa73,_0x5b7788,_0x1e7f30)=>{const _0x1c506b=a0_0x409c,_0x39a674=_0x5baa73[_0x1c506b(0x1b4)],_0x3ff8bf=_0x5baa73['record']['options'],_0x55f4a0=_0x3ff8bf[_0x1c506b(0x1ab)]&&_0x3ff8bf[_0x1c506b(0x1ab)][_0x1c506b(0x1c4)]>0x0?_0x3ff8bf[_0x1c506b(0x1ab)]:void 0x0,{operator:_0x40ecb5='eq'}=_0x39a674;let _0xfbe4b0=_0x5b7788||'',_0x4a53dd=_0x5b7788||'';if(_0x3ff8bf[_0x1c506b(0x1b3)]&&_0x5b7788&&_0x55f4a0){let _0x4d175e=_0x55f4a0[_0x1c506b(0x1b4)](_0x3409b7=>_0x3409b7['value']==_0x5b7788);_0x4d175e&&_0x4d175e[_0x1c506b(0x1c4)]>0x0&&(_0x4a53dd=_0x4d175e[0x0][_0x1c506b(0x1b1)]);}return'eq'===_0x40ecb5?html`
8
- <input name='${_0x5baa73[_0x1c506b(0x1c3)]}' .value=${_0xfbe4b0} type="text" hidden></input>
7
+ `;openPopup(_0x237d9d,{'backdrop':!0x0,'size':_0x4b82c4(0xb6),'title':_0x150029[_0x4b82c4(0xc1)][_0x4b82c4(0xce)]['selectorName']?TermsUtil[_0x4b82c4(0xbd)](_0x150029[_0x4b82c4(0xc1)][_0x4b82c4(0xce)][_0x4b82c4(0xbc)]):TermsUtil[_0x4b82c4(0xc2)](_0x4b82c4(0xcd))});}export const FilterGristMetaCodeSelect=(_0xb4ca12,_0x3aabfc,_0xbcb122)=>{const _0x5d6eae=a0_0x2ed7,_0x214d2e=_0xb4ca12[_0x5d6eae(0xb9)],_0x461329=_0xb4ca12[_0x5d6eae(0xc1)][_0x5d6eae(0xce)],_0x408be3=_0x461329['codes']&&_0x461329[_0x5d6eae(0xd0)][_0x5d6eae(0xb3)]>0x0?_0x461329[_0x5d6eae(0xd0)]:void 0x0,{operator:_0x1d35a4='eq'}=_0x214d2e;let _0x485a00=_0x3aabfc||'',_0x144d7a=_0x3aabfc||'';if(_0x461329['dispField']&&_0x3aabfc&&_0x408be3){let _0xe87ba1=_0x408be3[_0x5d6eae(0xb9)](_0x26e4e9=>_0x26e4e9[_0x5d6eae(0xc0)]==_0x3aabfc);_0xe87ba1&&_0xe87ba1[_0x5d6eae(0xb3)]>0x0&&(_0x144d7a=_0xe87ba1[0x0][_0x5d6eae(0xc5)]);}return'eq'===_0x1d35a4?html`
8
+ <input name='${_0xb4ca12['name']}' .value=${_0x485a00} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x5baa73[_0x1c506b(0x1c3)]}_disp'
13
- .value=${_0x4a53dd}
14
- @click=${_0x2a1dc6=>{const _0x574dd7=_0x1c506b;_0x2a1dc6['stopPropagation']();const _0xf81eaf=_0x2a1dc6[_0x574dd7(0x1c0)];openMetaCodeSelector(_0x5baa73,_0x5b7788,_0xe46dae=>{const _0x5b47ff=_0x574dd7;let _0x4b316f=_0xe46dae?_0xe46dae[_0x3ff8bf[_0x5b47ff(0x1b7)]]:'',_0xb63839=_0x4b316f;_0xe46dae&&_0x3ff8bf[_0x5b47ff(0x1b3)]&&(_0xb63839=_0xe46dae[_0x3ff8bf[_0x5b47ff(0x1b3)]]),_0xf81eaf[_0x5b47ff(0x1ba)]=_0xb63839,(_0x5b47ff(0x1bf)==_0x1e7f30[_0x5b47ff(0x1b0)][_0x5b47ff(0x1c2)]()?_0x1e7f30['renderRoot'][_0x5b47ff(0x1bd)](_0x5b47ff(0x1be)+_0x39a674[_0x5b47ff(0x1c3)]+'\x22]'):_0x1e7f30[_0x5b47ff(0x1bb)][_0x5b47ff(0x1bd)](_0x5b47ff(0x1ae)+_0x39a674[_0x5b47ff(0x1c3)]+'\x22]'))[_0x5b47ff(0x1ba)]=_0x4b316f,_0xf81eaf[_0x5b47ff(0x1a3)](new Event(_0x5b47ff(0x1a7),{'bubbles':!0x0})),_0xf81eaf[_0x5b47ff(0x1a3)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5baa73[_0x5b47ff(0x1c3)],'operator':_0x40ecb5,'value':_0x4b316f}}));});}}
12
+ name='${_0xb4ca12[_0x5d6eae(0xb4)]}_disp'
13
+ .value=${_0x144d7a}
14
+ @click=${_0x1fd359=>{const _0x351394=_0x5d6eae;_0x1fd359[_0x351394(0xc3)]();const _0x27f239=_0x1fd359[_0x351394(0xb5)];openMetaCodeSelector(_0xb4ca12,_0x3aabfc,_0x1adda2=>{const _0xa69849=_0x351394;let _0x2efb3=_0x1adda2?_0x1adda2[_0x461329['codeField']]:'',_0x58b852=_0x2efb3;_0x1adda2&&_0x461329['dispField']&&(_0x58b852=_0x1adda2[_0x461329[_0xa69849(0xae)]]),_0x27f239[_0xa69849(0xc0)]=_0x58b852,('ox-grid-header'==_0xbcb122[_0xa69849(0xb7)]['toLowerCase']()?_0xbcb122[_0xa69849(0xbb)]['querySelector'](_0xa69849(0xcf)+_0x214d2e['name']+'\x22]'):_0xbcb122[_0xa69849(0xbb)][_0xa69849(0xc6)](_0xa69849(0xb1)+_0x214d2e[_0xa69849(0xb4)]+'\x22]'))[_0xa69849(0xc0)]=_0x2efb3,_0x27f239['dispatchEvent'](new Event(_0xa69849(0xc7),{'bubbles':!0x0})),_0x27f239[_0xa69849(0xb0)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xb4ca12[_0xa69849(0xb4)],'operator':_0x1d35a4,'value':_0x2efb3}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x571565,_0x3aefa0){const _0x24b334=a0_0x10c5,_0x5d0b17=_0x571565();while(!![]){try{const _0x2e4ef6=-parseInt(_0x24b334(0x138))/0x1*(-parseInt(_0x24b334(0x131))/0x2)+-parseInt(_0x24b334(0x12a))/0x3*(parseInt(_0x24b334(0x121))/0x4)+parseInt(_0x24b334(0x135))/0x5+-parseInt(_0x24b334(0x132))/0x6*(parseInt(_0x24b334(0x129))/0x7)+parseInt(_0x24b334(0x12f))/0x8*(parseInt(_0x24b334(0x128))/0x9)+-parseInt(_0x24b334(0x137))/0xa+parseInt(_0x24b334(0x12c))/0xb;if(_0x2e4ef6===_0x3aefa0)break;else _0x5d0b17['push'](_0x5d0b17['shift']());}catch(_0x78215){_0x5d0b17['push'](_0x5d0b17['shift']());}}}(a0_0x2574,0x7ee82));import'../selector/meta-object-selector-popup';function a0_0x10c5(_0x557029,_0x51bb82){const _0x257480=a0_0x2574();return a0_0x10c5=function(_0x10c5e8,_0x36bd18){_0x10c5e8=_0x10c5e8-0x121;let _0x28f95b=_0x257480[_0x10c5e8];return _0x28f95b;},a0_0x10c5(_0x557029,_0x51bb82);}import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2574(){const _0x166cf9=['filter-change','10549935tSRcPO','options','renderRoot','8XRcwTg','name','4AJuaYY','84cgKsQL','toLowerCase','change','2856470YigsBp','filter','5958970ZkhiVu','288718RaVLMs','selectorName','value','dispatchEvent','340Uswyyl','tTitle','large','[name=\x22','nameField','record','stopPropagation','4631373baRrWj','381605iatGhj','26241jugEYj'];a0_0x2574=function(){return _0x166cf9;};return a0_0x2574();}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x131b7b,_0xc7c7a2,_0x115fdf){const _0x3c4310=a0_0x10c5;var _0x3f8587=html`
1
+ (function(_0x1d2ae3,_0x31459d){const _0x28b59a=a0_0x1221,_0x3d7e6e=_0x1d2ae3();while(!![]){try{const _0x112f25=-parseInt(_0x28b59a(0xd8))/0x1+-parseInt(_0x28b59a(0xca))/0x2+parseInt(_0x28b59a(0xe3))/0x3+-parseInt(_0x28b59a(0xe0))/0x4*(-parseInt(_0x28b59a(0xda))/0x5)+parseInt(_0x28b59a(0xd7))/0x6*(parseInt(_0x28b59a(0xe1))/0x7)+-parseInt(_0x28b59a(0xdb))/0x8*(parseInt(_0x28b59a(0xcd))/0x9)+parseInt(_0x28b59a(0xe2))/0xa*(-parseInt(_0x28b59a(0xd6))/0xb);if(_0x112f25===_0x31459d)break;else _0x3d7e6e['push'](_0x3d7e6e['shift']());}catch(_0x48f7e3){_0x3d7e6e['push'](_0x3d7e6e['shift']());}}}(a0_0x1dec,0x9a13d));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x1221(_0x1bfa4c,_0x4b8ae1){const _0x1dec33=a0_0x1dec();return a0_0x1221=function(_0x1221cc,_0x542b7f){_0x1221cc=_0x1221cc-0xc9;let _0x476c92=_0x1dec33[_0x1221cc];return _0x476c92;},a0_0x1221(_0x1bfa4c,_0x4b8ae1);}function openMetaObjectSelector(_0x275a32,_0x3cb714,_0x317712){const _0x48d60e=a0_0x1221;var _0x3074d7=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0xc7c7a2}
4
- .options=${_0x131b7b['record'][_0x3c4310(0x12d)]}
5
- .confirmCallback=${_0x115fdf}
3
+ .value=${_0x3cb714}
4
+ .options=${_0x275a32[_0x48d60e(0xd3)][_0x48d60e(0xdf)]}
5
+ .confirmCallback=${_0x317712}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x3f8587,{'backdrop':!0x0,'size':_0x3c4310(0x123),'title':_0x131b7b[_0x3c4310(0x126)][_0x3c4310(0x12d)][_0x3c4310(0x139)]?TermsUtil['tMenu'](_0x131b7b[_0x3c4310(0x126)][_0x3c4310(0x12d)][_0x3c4310(0x139)]):TermsUtil[_0x3c4310(0x122)]('select_item')});}export const FilterGristMetaObjectSelect=(_0x5f0f90,_0x4240aa,_0x578185)=>{const _0x5133e8=a0_0x10c5,_0x444888=_0x5f0f90[_0x5133e8(0x136)],{operator:_0x1aa074='eq'}=_0x444888,_0x38bd6c=_0x5f0f90[_0x5133e8(0x126)][_0x5133e8(0x12d)];let _0x68aa7b=_0x4240aa?_0x4240aa['id']:'',_0x58fe72=_0x4240aa?_0x4240aa[_0x38bd6c['nameField']]:'';return'eq'===_0x1aa074?html`
8
- <input name='${_0x5f0f90[_0x5133e8(0x130)]}' .value=${_0x68aa7b} type="text" hidden></input>
7
+ `;openPopup(_0x3074d7,{'backdrop':!0x0,'size':'large','title':_0x275a32[_0x48d60e(0xd3)]['options'][_0x48d60e(0xd2)]?TermsUtil['tMenu'](_0x275a32['record'][_0x48d60e(0xdf)][_0x48d60e(0xd2)]):TermsUtil[_0x48d60e(0xcf)](_0x48d60e(0xcc))});}export const FilterGristMetaObjectSelect=(_0x179f0f,_0x492d3a,_0x3db280)=>{const _0x2886c3=a0_0x1221,_0x39f9ea=_0x179f0f['filter'],{operator:_0x32a2f9='eq'}=_0x39f9ea,_0x3d0af3=_0x179f0f[_0x2886c3(0xd3)][_0x2886c3(0xdf)];let _0x55f721=_0x492d3a?_0x492d3a['id']:'',_0x43635d=_0x492d3a?_0x492d3a[_0x3d0af3['nameField']]:'';return'eq'===_0x32a2f9?html`
8
+ <input name='${_0x179f0f[_0x2886c3(0xcb)]}' .value=${_0x55f721} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x5f0f90[_0x5133e8(0x130)]}_disp'
13
- .value=${_0x58fe72}
14
- @click=${_0x7e4695=>{const _0x17182f=_0x5133e8;_0x7e4695[_0x17182f(0x127)]();const _0x5f04c8=_0x7e4695['target'];openMetaObjectSelector(_0x5f0f90,_0x4240aa,_0x3e4d36=>{const _0x347a2d=_0x17182f;let _0x20c068=_0x3e4d36?_0x3e4d36['id']:'',_0x20673d=_0x3e4d36?_0x3e4d36[_0x38bd6c[_0x347a2d(0x125)]]:'';_0x5f04c8[_0x347a2d(0x13a)]=_0x20673d,('ox-grid-header'==_0x578185['tagName'][_0x347a2d(0x133)]()?_0x578185[_0x347a2d(0x12e)]['querySelector'](_0x347a2d(0x124)+_0x444888['name']+'\x22]'):_0x578185[_0x347a2d(0x12e)]['querySelector']('form\x20[name=\x22'+_0x444888[_0x347a2d(0x130)]+'\x22]'))[_0x347a2d(0x13a)]=_0x20c068,_0x5f04c8['dispatchEvent'](new Event(_0x347a2d(0x134),{'bubbles':!0x0})),_0x5f04c8[_0x347a2d(0x13b)](new CustomEvent(_0x347a2d(0x12b),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5f0f90['name'],'operator':_0x1aa074,'value':_0x20c068}}));});}}
12
+ name='${_0x179f0f[_0x2886c3(0xcb)]}_disp'
13
+ .value=${_0x43635d}
14
+ @click=${_0x55dbd1=>{const _0x5e3287=_0x2886c3;_0x55dbd1[_0x5e3287(0xd1)]();const _0x175169=_0x55dbd1[_0x5e3287(0xd5)];openMetaObjectSelector(_0x179f0f,_0x492d3a,_0xac4653=>{const _0xd411e2=_0x5e3287;let _0x37c7b1=_0xac4653?_0xac4653['id']:'',_0x5d49b7=_0xac4653?_0xac4653[_0x3d0af3[_0xd411e2(0xce)]]:'';_0x175169[_0xd411e2(0xc9)]=_0x5d49b7,('ox-grid-header'==_0x3db280[_0xd411e2(0xdc)]['toLowerCase']()?_0x3db280[_0xd411e2(0xdd)][_0xd411e2(0xde)]('[name=\x22'+_0x39f9ea[_0xd411e2(0xcb)]+'\x22]'):_0x3db280[_0xd411e2(0xdd)][_0xd411e2(0xde)](_0xd411e2(0xd0)+_0x39f9ea[_0xd411e2(0xcb)]+'\x22]'))[_0xd411e2(0xc9)]=_0x37c7b1,_0x175169[_0xd411e2(0xd9)](new Event(_0xd411e2(0xd4),{'bubbles':!0x0})),_0x175169[_0xd411e2(0xd9)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x179f0f[_0xd411e2(0xcb)],'operator':_0x32a2f9,'value':_0x37c7b1}}));});}}
15
15
  />
16
- `:html``;};
16
+ `:html``;};function a0_0x1dec(){const _0x2170d6=['renderRoot','querySelector','options','8zuvBdc','7lHIyto','380eLmfsV','3270006byDkoJ','value','696590spihLI','name','select_item','2940579dWBWDJ','nameField','tTitle','form\x20[name=\x22','stopPropagation','selectorName','record','change','target','172513zqrMTZ','6005850vqKFUA','215490EPpfRu','dispatchEvent','66485qjpCCw','8ARXwxQ','tagName'];a0_0x1dec=function(){return _0x2170d6;};return a0_0x1dec();}
@@ -1,9 +1,9 @@
1
- const a0_0x3a08d7=a0_0x3456;function a0_0x3456(_0x13d608,_0x249e69){const _0x1a9f15=a0_0x1a9f();return a0_0x3456=function(_0x3456b3,_0x3d59e7){_0x3456b3=_0x3456b3-0x8e;let _0x3192d6=_0x1a9f15[_0x3456b3];return _0x3192d6;},a0_0x3456(_0x13d608,_0x249e69);}(function(_0x476502,_0x1557ea){const _0x50a138=a0_0x3456,_0x942bba=_0x476502();while(!![]){try{const _0x4744a7=parseInt(_0x50a138(0xb3))/0x1*(parseInt(_0x50a138(0xa6))/0x2)+parseInt(_0x50a138(0x9c))/0x3*(parseInt(_0x50a138(0x90))/0x4)+-parseInt(_0x50a138(0x8e))/0x5*(-parseInt(_0x50a138(0xa9))/0x6)+-parseInt(_0x50a138(0xa5))/0x7+-parseInt(_0x50a138(0xb7))/0x8*(parseInt(_0x50a138(0xaa))/0x9)+-parseInt(_0x50a138(0x9b))/0xa+-parseInt(_0x50a138(0xb5))/0xb;if(_0x4744a7===_0x1557ea)break;else _0x942bba['push'](_0x942bba['shift']());}catch(_0xd91e96){_0x942bba['push'](_0x942bba['shift']());}}}(a0_0x1a9f,0x3930a));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x1a9f(){const _0x1072d9=['filter','dispField','column','field-change','318490aMKugP','12YZdMVL','tMenu','key','push','large','properties','select_item','_onclick','row','153125UDlUXM','151918XTFdmQ','codeField','display','654mFGFzC','36sFzsbU','editorTemplate','define','options','popup','length','_onkeydown','Enter','grist-editor-meta-code-selector','5aVclKf','stopPropagation','1419748BbqEkm','keys','859592eWbWze','8035sUGkHi','record','291880sClqnx','openSelector','value','dispatchEvent','fieldMap','codes','firstUpdated'];a0_0x1a9f=function(){return _0x1072d9;};return a0_0x1a9f();}import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x3a08d7(0xa1)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x3a08d7(0xab)](){const _0x354efa=a0_0x3a08d7;let _0x48c05b='';if(this[_0x354efa(0x99)][_0x354efa(0x8f)]&&this[_0x354efa(0x99)][_0x354efa(0x8f)][_0x354efa(0xad)]){if(this[_0x354efa(0x99)]['record']['options'][_0x354efa(0x98)]){let _0x43f600=this[_0x354efa(0x99)][_0x354efa(0x8f)][_0x354efa(0xad)][_0x354efa(0x95)]||[];if(this['value']&&this['value']['length']>0x0){let _0x26b836=_0x43f600[_0x354efa(0x97)](_0x2182cd=>_0x2182cd[_0x354efa(0x92)]===this['value']);_0x48c05b=_0x26b836&&_0x26b836['length']>0x0?_0x26b836[0x0][_0x354efa(0xa8)]:'';}}else _0x48c05b=this[_0x354efa(0x92)];}else _0x48c05b='';return html`
2
- ${_0x48c05b?html` <span tabindex="0" style="flex:1">${_0x48c05b}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async[a0_0x3a08d7(0x96)](){const _0x14f754=a0_0x3a08d7;super[_0x14f754(0x96)]();}[a0_0x3a08d7(0xa3)](_0x3a6efe){const _0x2d4162=a0_0x3a08d7;_0x3a6efe['stopPropagation'](),this[_0x2d4162(0x91)]();}[a0_0x3a08d7(0xb0)](_0x5b44ca){const _0x4c8a61=a0_0x3a08d7;_0x4c8a61(0xb1)==_0x5b44ca[_0x4c8a61(0x9e)]&&(_0x5b44ca[_0x4c8a61(0xb4)](),this[_0x4c8a61(0x91)]());}[a0_0x3a08d7(0x91)](){const _0x279986=a0_0x3a08d7;this[_0x279986(0xae)]&&delete this[_0x279986(0xae)];var {selectorName:_0x49b229=TermsUtil['tTitle'](_0x279986(0xa2))}=this['column']['record'][_0x279986(0xad)]||{},_0x5c2941=html`
1
+ function a0_0x2c4e(_0x45f3f1,_0x16b41d){const _0x4557bd=a0_0x4557();return a0_0x2c4e=function(_0x2c4ebc,_0x1bc164){_0x2c4ebc=_0x2c4ebc-0x73;let _0x3e0325=_0x4557bd[_0x2c4ebc];return _0x3e0325;},a0_0x2c4e(_0x45f3f1,_0x16b41d);}const a0_0x4823cb=a0_0x2c4e;function a0_0x4557(){const _0x5a1817=['keys','editorTemplate','3414980McRtVO','column','options','record','stopPropagation','codes','select_item','214866KWDNPK','1371336xYIhLL','value','1563XzahKK','display','tTitle','22mxQXzf','define','openSelector','fieldMap','2351838cBbDGc','length','150JEPORI','filter','bind','dispatchEvent','popup','properties','5OTVjBz','forEach','large','_onkeydown','dispField','7kKbZZV','row','335682jTHSBd','3975376uTQhEu','push'];a0_0x4557=function(){return _0x5a1817;};return a0_0x4557();}(function(_0x4b0e52,_0x2f54c0){const _0x7eb822=a0_0x2c4e,_0xbcefa8=_0x4b0e52();while(!![]){try{const _0x555717=-parseInt(_0x7eb822(0x77))/0x1+-parseInt(_0x7eb822(0x83))/0x2*(parseInt(_0x7eb822(0x7a))/0x3)+-parseInt(_0x7eb822(0x78))/0x4*(-parseInt(_0x7eb822(0x89))/0x5)+parseInt(_0x7eb822(0x81))/0x6+parseInt(_0x7eb822(0x8e))/0x7*(parseInt(_0x7eb822(0x91))/0x8)+parseInt(_0x7eb822(0x90))/0x9+-parseInt(_0x7eb822(0x95))/0xa*(parseInt(_0x7eb822(0x7d))/0xb);if(_0x555717===_0x2f54c0)break;else _0xbcefa8['push'](_0xbcefa8['shift']());}catch(_0x304438){_0xbcefa8['push'](_0xbcefa8['shift']());}}}(a0_0x4557,0x5113a));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x4823cb(0x88)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x4823cb(0x94)](){const _0x58faa6=a0_0x4823cb;let _0x38bf2e='';if(this[_0x58faa6(0x96)][_0x58faa6(0x73)]&&this[_0x58faa6(0x96)][_0x58faa6(0x73)][_0x58faa6(0x97)]){if(this[_0x58faa6(0x96)]['record'][_0x58faa6(0x97)][_0x58faa6(0x8d)]){let _0x249273=this[_0x58faa6(0x96)][_0x58faa6(0x73)][_0x58faa6(0x97)]['codes']||[];if(this['value']&&this[_0x58faa6(0x79)][_0x58faa6(0x82)]>0x0){let _0x29aba9=_0x249273[_0x58faa6(0x84)](_0x334d96=>_0x334d96['value']===this[_0x58faa6(0x79)]);_0x38bf2e=_0x29aba9&&_0x29aba9[_0x58faa6(0x82)]>0x0?_0x29aba9[0x0][_0x58faa6(0x7b)]:'';}}else _0x38bf2e=this[_0x58faa6(0x79)];}else _0x38bf2e='';return html`
2
+ ${_0x38bf2e?html` <span tabindex="0" style="flex:1">${_0x38bf2e}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async['firstUpdated'](){super['firstUpdated']();}['_onclick'](_0x2a70f7){const _0x5105e9=a0_0x4823cb;_0x2a70f7[_0x5105e9(0x74)](),this[_0x5105e9(0x7f)]();}[a0_0x4823cb(0x8c)](_0x51c961){const _0x4a4d82=a0_0x4823cb;'Enter'==_0x51c961['key']&&(_0x51c961[_0x4a4d82(0x74)](),this[_0x4a4d82(0x7f)]());}['openSelector'](){const _0x21635d=a0_0x4823cb;this[_0x21635d(0x87)]&&delete this[_0x21635d(0x87)];var {selectorName:_0x864d0=TermsUtil[_0x21635d(0x7c)](_0x21635d(0x76))}=this[_0x21635d(0x96)]['record'][_0x21635d(0x97)]||{},_0x1e1d83=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x279986(0x92)]}
6
- .options=${this[_0x279986(0x99)][_0x279986(0x8f)]['options']}
7
- .confirmCallback=${(_0x458a81=>{const _0x5e03a6=_0x279986;let _0x450011=this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0xa7)],_0x29296f=this['column'][_0x5e03a6(0x8f)]['options']['dispField'],_0x2fac7c=this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x94)]||{};if(this[_0x5e03a6(0x99)]['record'][_0x5e03a6(0xad)][_0x5e03a6(0x95)]||(this['column'][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x95)]=[]),_0x458a81){let _0x3ee785=this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x95)][_0x5e03a6(0x97)](_0x820b98=>_0x820b98[_0x5e03a6(0x92)]==_0x458a81[_0x450011]);_0x3ee785&&0x0!=_0x3ee785[_0x5e03a6(0xaf)]||this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x95)][_0x5e03a6(0x9f)]({'value':_0x458a81[_0x450011],'display':_0x458a81[_0x29296f]});}this[_0x5e03a6(0x93)](new CustomEvent(_0x5e03a6(0x9a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x5e03a6(0x92)],'after':_0x458a81?_0x458a81[_0x450011]:null,'record':this[_0x5e03a6(0x8f)],'column':this[_0x5e03a6(0x99)],'row':this[_0x5e03a6(0xa4)]}})),Object[_0x5e03a6(0xb6)](_0x2fac7c)['forEach'](_0x446af9=>{const _0x1c0abe=_0x5e03a6;this[_0x1c0abe(0x93)](new CustomEvent(_0x1c0abe(0x9a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x1c0abe(0x8f)][_0x2fac7c[_0x446af9]],'after':_0x458a81?_0x458a81[_0x446af9]:null,'record':this['record'],'column':{'name':_0x2fac7c[_0x446af9]},'row':this['row']}}));});})['bind'](this)}
5
+ .value=${this['value']}
6
+ .options=${this[_0x21635d(0x96)][_0x21635d(0x73)][_0x21635d(0x97)]}
7
+ .confirmCallback=${(_0x559bbb=>{const _0x350856=_0x21635d;let _0x45ebb5=this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)]['codeField'],_0x35b9e8=this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)]['dispField'],_0x216156=this[_0x350856(0x96)]['record'][_0x350856(0x97)][_0x350856(0x80)]||{};if(this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)][_0x350856(0x75)]||(this[_0x350856(0x96)][_0x350856(0x73)][_0x350856(0x97)][_0x350856(0x75)]=[]),_0x559bbb){let _0x32e12c=this[_0x350856(0x96)]['record'][_0x350856(0x97)]['codes'][_0x350856(0x84)](_0x59720a=>_0x59720a['value']==_0x559bbb[_0x45ebb5]);_0x32e12c&&0x0!=_0x32e12c[_0x350856(0x82)]||this['column']['record'][_0x350856(0x97)]['codes'][_0x350856(0x92)]({'value':_0x559bbb[_0x45ebb5],'display':_0x559bbb[_0x35b9e8]});}this[_0x350856(0x86)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x559bbb?_0x559bbb[_0x45ebb5]:null,'record':this[_0x350856(0x73)],'column':this[_0x350856(0x96)],'row':this[_0x350856(0x8f)]}})),Object[_0x350856(0x93)](_0x216156)[_0x350856(0x8a)](_0x3630ba=>{const _0x37970a=_0x350856;this[_0x37970a(0x86)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x216156[_0x3630ba]],'after':_0x559bbb?_0x559bbb[_0x3630ba]:null,'record':this['record'],'column':{'name':_0x216156[_0x3630ba]},'row':this['row']}}));});})[_0x21635d(0x85)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x279986(0xae)]=openPopup(_0x5c2941,{'backdrop':!0x0,'size':_0x279986(0xa0),'title':TermsUtil[_0x279986(0x9d)](_0x49b229)});}}customElements[a0_0x3a08d7(0xac)](a0_0x3a08d7(0xb2),GristEditorMetaCodeSelector);
9
+ `;this[_0x21635d(0x87)]=openPopup(_0x1e1d83,{'backdrop':!0x0,'size':_0x21635d(0x8b),'title':TermsUtil['tMenu'](_0x864d0)});}}customElements[a0_0x4823cb(0x7e)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- var a0_0x136982=a0_0x3e44;(function(_0x47f71a,_0x30ef06){var _0x2cbaf6=a0_0x3e44,_0x4e96ed=_0x47f71a();while(!![]){try{var _0xa1a3dc=-parseInt(_0x2cbaf6(0x168))/0x1*(-parseInt(_0x2cbaf6(0x173))/0x2)+-parseInt(_0x2cbaf6(0x15b))/0x3+-parseInt(_0x2cbaf6(0x15a))/0x4+-parseInt(_0x2cbaf6(0x162))/0x5*(parseInt(_0x2cbaf6(0x177))/0x6)+-parseInt(_0x2cbaf6(0x167))/0x7*(parseInt(_0x2cbaf6(0x16f))/0x8)+parseInt(_0x2cbaf6(0x15f))/0x9+-parseInt(_0x2cbaf6(0x172))/0xa*(-parseInt(_0x2cbaf6(0x174))/0xb);if(_0xa1a3dc===_0x30ef06)break;else _0x4e96ed['push'](_0x4e96ed['shift']());}catch(_0x4158be){_0x4e96ed['push'](_0x4e96ed['shift']());}}}(a0_0x6531,0x53f78));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x6531(){var _0x11e34a=['popup','fieldMap','define','tMenu','Enter','56432MYIRLI','properties','keys','10zqizvi','22rtkzFF','5330006LcntUk','value','row','79902CmGBiB','_onkeydown','grist-editor-meta-object-selector','bind','tTitle','editorTemplate','select_item','2254164DchThV','760497VWbLLO','options','openSelector','firstUpdated','5198049ylGsfW','stopPropagation','field-change','55NifKXf','record','column','_onclick','dispatchEvent','119sLFtVP','33206ncTWra','nameField'];a0_0x6531=function(){return _0x11e34a;};return a0_0x6531();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x3e44(_0x4a2d8d,_0x4822f4){var _0x653143=a0_0x6531();return a0_0x3e44=function(_0x3e44e0,_0x446d03){_0x3e44e0=_0x3e44e0-0x155;var _0xd2cc81=_0x653143[_0x3e44e0];return _0xd2cc81;},a0_0x3e44(_0x4a2d8d,_0x4822f4);}import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x136982(0x170)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x136982(0x158)](){var _0x44a3cf=a0_0x136982;let _0x4e194b='';return this['value']&&this[_0x44a3cf(0x164)]['record'][_0x44a3cf(0x15c)]&&(_0x4e194b=this[_0x44a3cf(0x175)][this[_0x44a3cf(0x164)][_0x44a3cf(0x163)][_0x44a3cf(0x15c)][_0x44a3cf(0x169)]]),html`
2
- ${this[_0x44a3cf(0x175)]?html` <span tabindex="0" style="flex:1">${_0x4e194b}</span> `:html`<span tabindex="0">${_0x4e194b}</span>`}
3
- `;}async[a0_0x136982(0x15e)](){var _0x2215bb=a0_0x136982;super[_0x2215bb(0x15e)]();}[a0_0x136982(0x165)](_0x15b50c){var _0x88c768=a0_0x136982;_0x15b50c[_0x88c768(0x160)](),this[_0x88c768(0x15d)]();}[a0_0x136982(0x178)](_0x59f89f){var _0x2a2978=a0_0x136982;_0x2a2978(0x16e)==_0x59f89f['key']&&(_0x59f89f[_0x2a2978(0x160)](),this['openSelector']());}['openSelector'](){var _0x15017f=a0_0x136982;this[_0x15017f(0x16a)]&&delete this['popup'];var {selectorName:_0x2a40ab=TermsUtil[_0x15017f(0x157)](_0x15017f(0x159))}=this[_0x15017f(0x164)][_0x15017f(0x163)][_0x15017f(0x15c)]||{},_0x5e65d2=html`
1
+ var a0_0x280b9e=a0_0x2e5a;(function(_0x234994,_0x341cd6){var _0x9488b6=a0_0x2e5a,_0x107167=_0x234994();while(!![]){try{var _0x238e05=-parseInt(_0x9488b6(0xc0))/0x1+-parseInt(_0x9488b6(0xb0))/0x2*(parseInt(_0x9488b6(0xb9))/0x3)+-parseInt(_0x9488b6(0xb1))/0x4+-parseInt(_0x9488b6(0xad))/0x5*(parseInt(_0x9488b6(0xa5))/0x6)+-parseInt(_0x9488b6(0xb8))/0x7*(parseInt(_0x9488b6(0xb3))/0x8)+parseInt(_0x9488b6(0xa7))/0x9+parseInt(_0x9488b6(0xba))/0xa*(parseInt(_0x9488b6(0xbd))/0xb);if(_0x238e05===_0x341cd6)break;else _0x107167['push'](_0x107167['shift']());}catch(_0x501843){_0x107167['push'](_0x107167['shift']());}}}(a0_0x4b38,0x4bd4b));import{html}from'lit';function a0_0x4b38(){var _0x32a172=['forEach','2209329DJxAeS','column','grist-editor-meta-object-selector','value','openSelector','_onkeydown','25AAsxMf','row','tTitle','2uOdfuv','2468880czNSyU','nameField','1392296vTMwYx','editorTemplate','firstUpdated','select_item','stopPropagation','21BScsWX','1718649lXeOQt','5953070ngHxVN','_onclick','field-change','44aIJfDl','define','bind','443187GHPPUX','popup','options','fieldMap','record','192846dQcWqn'];a0_0x4b38=function(){return _0x32a172;};return a0_0x4b38();}import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x280b9e(0xb4)](){var _0x62eb1b=a0_0x280b9e;let _0x44d184='';return this[_0x62eb1b(0xaa)]&&this[_0x62eb1b(0xa8)][_0x62eb1b(0xa4)]['options']&&(_0x44d184=this['value'][this[_0x62eb1b(0xa8)]['record'][_0x62eb1b(0xa2)][_0x62eb1b(0xb2)]]),html`
2
+ ${this['value']?html` <span tabindex="0" style="flex:1">${_0x44d184}</span> `:html`<span tabindex="0">${_0x44d184}</span>`}
3
+ `;}async[a0_0x280b9e(0xb5)](){super['firstUpdated']();}[a0_0x280b9e(0xbb)](_0x4c2400){var _0x1ba919=a0_0x280b9e;_0x4c2400[_0x1ba919(0xb7)](),this[_0x1ba919(0xab)]();}[a0_0x280b9e(0xac)](_0x35db2a){var _0x116a12=a0_0x280b9e;'Enter'==_0x35db2a['key']&&(_0x35db2a[_0x116a12(0xb7)](),this[_0x116a12(0xab)]());}[a0_0x280b9e(0xab)](){var _0x535610=a0_0x280b9e;this['popup']&&delete this['popup'];var {selectorName:_0x2acd8b=TermsUtil[_0x535610(0xaf)](_0x535610(0xb6))}=this['column'][_0x535610(0xa4)][_0x535610(0xa2)]||{},_0x467d32=html`
4
4
  <meta-object-selector-popup
5
5
  .value=${this['value']}
6
- .options=${this[_0x15017f(0x164)][_0x15017f(0x163)]['options']}
7
- .confirmCallback=${(_0x50f02a=>{var _0x23d2ce=_0x15017f;let _0x2cca5d=this[_0x23d2ce(0x164)]['record']['options'][_0x23d2ce(0x16b)]||{};this[_0x23d2ce(0x166)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x23d2ce(0x175)],'after':_0x50f02a||null,'record':this[_0x23d2ce(0x163)],'column':this['column'],'row':this['row']}})),Object[_0x23d2ce(0x171)](_0x2cca5d)['forEach'](_0x3532c3=>{var _0x2d823b=_0x23d2ce;this[_0x2d823b(0x166)](new CustomEvent(_0x2d823b(0x161),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x2cca5d[_0x3532c3]],'after':_0x50f02a?_0x50f02a[_0x3532c3]:null,'record':this[_0x2d823b(0x163)],'column':{'name':_0x2cca5d[_0x3532c3]},'row':this[_0x2d823b(0x176)]}}));});})[_0x15017f(0x156)](this)}
6
+ .options=${this[_0x535610(0xa8)][_0x535610(0xa4)][_0x535610(0xa2)]}
7
+ .confirmCallback=${(_0x57e87f=>{var _0x3843f6=_0x535610;let _0x3c24fd=this['column'][_0x3843f6(0xa4)][_0x3843f6(0xa2)][_0x3843f6(0xa3)]||{};this['dispatchEvent'](new CustomEvent(_0x3843f6(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3843f6(0xaa)],'after':_0x57e87f||null,'record':this[_0x3843f6(0xa4)],'column':this['column'],'row':this[_0x3843f6(0xae)]}})),Object['keys'](_0x3c24fd)[_0x3843f6(0xa6)](_0x4fef0c=>{var _0x2850ce=_0x3843f6;this['dispatchEvent'](new CustomEvent(_0x2850ce(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x2850ce(0xa4)][_0x3c24fd[_0x4fef0c]],'after':_0x57e87f?_0x57e87f[_0x4fef0c]:null,'record':this['record'],'column':{'name':_0x3c24fd[_0x4fef0c]},'row':this[_0x2850ce(0xae)]}}));});})[_0x535610(0xbf)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this['popup']=openPopup(_0x5e65d2,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x15017f(0x16d)](_0x2a40ab)});}}customElements[a0_0x136982(0x16c)](a0_0x136982(0x155),GristEditorMetaObjectSelector);
9
+ `;this[_0x535610(0xc1)]=openPopup(_0x467d32,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x2acd8b)});}}function a0_0x2e5a(_0x509e54,_0x173db9){var _0x4b3869=a0_0x4b38();return a0_0x2e5a=function(_0x2e5a4f,_0x48666a){_0x2e5a4f=_0x2e5a4f-0xa2;var _0xa46970=_0x4b3869[_0x2e5a4f];return _0xa46970;},a0_0x2e5a(_0x509e54,_0x173db9);}customElements[a0_0x280b9e(0xbe)](a0_0x280b9e(0xa9),GristEditorMetaObjectSelector);
@@ -1 +1 @@
1
- (function(_0x42b69a,_0x5b1021){const _0x2f035d=a0_0x8ebb,_0x4cfae1=_0x42b69a();while(!![]){try{const _0x31bf07=parseInt(_0x2f035d(0xbd))/0x1+parseInt(_0x2f035d(0xc1))/0x2*(parseInt(_0x2f035d(0xc3))/0x3)+-parseInt(_0x2f035d(0xc0))/0x4*(parseInt(_0x2f035d(0xb7))/0x5)+parseInt(_0x2f035d(0xb6))/0x6*(-parseInt(_0x2f035d(0xbf))/0x7)+-parseInt(_0x2f035d(0xb8))/0x8+parseInt(_0x2f035d(0xc4))/0x9*(parseInt(_0x2f035d(0xbc))/0xa)+parseInt(_0x2f035d(0xb0))/0xb;if(_0x31bf07===_0x5b1021)break;else _0x4cfae1['push'](_0x4cfae1['shift']());}catch(_0x3d37e9){_0x4cfae1['push'](_0x4cfae1['shift']());}}}(a0_0x4b3b,0x1b4f7));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x55078d){const _0x5b52a7=a0_0x8ebb,_0x383d92=_0x55078d['target'];detectOverflow(_0x383d92)&&_0x383d92[_0x5b52a7(0xb3)](_0x5b52a7(0xb2),_0x383d92[_0x5b52a7(0xbe)]);}function onmouseout(_0x4ee2ca){const _0x535046=a0_0x8ebb;_0x4ee2ca[_0x535046(0xb9)]['removeAttribute'](_0x535046(0xb2));}function a0_0x4b3b(){const _0x2054c1=['data-tooltip','setAttribute','length','display','548508Uhkwrb','10ImWgrZ','742360WTbOgI','target','record','options','30890wqqkyK','114331oYJWWS','textContent','7aVNvbM','335000byMnNn','25648iciVWx','filter','6KuovJa','531RIeSYE','codes','1554806dtzKNZ','dispField'];a0_0x4b3b=function(){return _0x2054c1;};return a0_0x4b3b();}function a0_0x8ebb(_0x5eeaba,_0x210cad){const _0x4b3ba3=a0_0x4b3b();return a0_0x8ebb=function(_0x8ebbd9,_0x2ab5f5){_0x8ebbd9=_0x8ebbd9-0xb0;let _0x44c182=_0x4b3ba3[_0x8ebbd9];return _0x44c182;},a0_0x8ebb(_0x5eeaba,_0x210cad);}export const GristRendererMetaCodeSelector=(_0xdcbe5b,_0x36f22e,_0x4b4b47,_0x201cca,_0x12e111)=>{const _0x440547=a0_0x8ebb;let _0x393d6c='';if(_0x36f22e[_0x440547(0xba)]&&_0x36f22e[_0x440547(0xba)][_0x440547(0xbb)]){if(_0x36f22e['record'][_0x440547(0xbb)][_0x440547(0xb1)]){if(_0x36f22e[_0x440547(0xba)][_0x440547(0xbb)]['codes']||(_0x36f22e[_0x440547(0xba)][_0x440547(0xbb)]['codes']=[]),_0xdcbe5b&&_0xdcbe5b[_0x440547(0xb4)]>0x0){let _0x4131b6=_0x36f22e['record'][_0x440547(0xbb)][_0x440547(0xc5)][_0x440547(0xc2)](_0x436f2c=>_0x436f2c['value']===_0xdcbe5b);_0x393d6c=_0x4131b6&&_0x4131b6['length']>0x0?_0x4131b6[0x0][_0x440547(0xb5)]:_0xdcbe5b;}}else _0x393d6c=_0xdcbe5b;}else _0x393d6c='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x393d6c}</span>`;};
1
+ (function(_0x5a6c4f,_0x1658a9){const _0x37d5e0=a0_0x4b50,_0x45b607=_0x5a6c4f();while(!![]){try{const _0x37aa1b=parseInt(_0x37d5e0(0x107))/0x1+-parseInt(_0x37d5e0(0x11a))/0x2*(-parseInt(_0x37d5e0(0x112))/0x3)+parseInt(_0x37d5e0(0x10a))/0x4*(-parseInt(_0x37d5e0(0x106))/0x5)+parseInt(_0x37d5e0(0x108))/0x6+-parseInt(_0x37d5e0(0x10f))/0x7+parseInt(_0x37d5e0(0x10b))/0x8+parseInt(_0x37d5e0(0x115))/0x9*(parseInt(_0x37d5e0(0x10e))/0xa);if(_0x37aa1b===_0x1658a9)break;else _0x45b607['push'](_0x45b607['shift']());}catch(_0x9b07da){_0x45b607['push'](_0x45b607['shift']());}}}(a0_0x3a5e,0x60319));function a0_0x4b50(_0x1f168e,_0x1a5969){const _0x3a5ebf=a0_0x3a5e();return a0_0x4b50=function(_0x4b5069,_0x3fe3e3){_0x4b5069=_0x4b5069-0x106;let _0x4a9972=_0x3a5ebf[_0x4b5069];return _0x4a9972;},a0_0x4b50(_0x1f168e,_0x1a5969);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3a5e(){const _0x24b50d=['95UNuknc','574815TkIheh','212328FEZWuw','dispField','143272DnZBoy','453184MloTtL','length','target','10RuDTtY','3270120KzjxjJ','options','record','90tGxVWX','value','display','2785050yyMNXk','codes','setAttribute','textContent','removeAttribute','37694MZSvzp'];a0_0x3a5e=function(){return _0x24b50d;};return a0_0x3a5e();}function onmouseover(_0xabb3ab){const _0x3ab886=a0_0x4b50,_0x14a44f=_0xabb3ab['target'];detectOverflow(_0x14a44f)&&_0x14a44f[_0x3ab886(0x117)]('data-tooltip',_0x14a44f[_0x3ab886(0x118)]);}function onmouseout(_0x10c71c){const _0x3ad92f=a0_0x4b50;_0x10c71c[_0x3ad92f(0x10d)][_0x3ad92f(0x119)]('data-tooltip');}export const GristRendererMetaCodeSelector=(_0x1b348f,_0x1aa9af,_0x2fa454,_0x346a60,_0x67a608)=>{const _0x3d9939=a0_0x4b50;let _0x17fb75='';if(_0x1aa9af[_0x3d9939(0x111)]&&_0x1aa9af[_0x3d9939(0x111)][_0x3d9939(0x110)]){if(_0x1aa9af[_0x3d9939(0x111)][_0x3d9939(0x110)][_0x3d9939(0x109)]){if(_0x1aa9af[_0x3d9939(0x111)]['options'][_0x3d9939(0x116)]||(_0x1aa9af[_0x3d9939(0x111)][_0x3d9939(0x110)]['codes']=[]),_0x1b348f&&_0x1b348f['length']>0x0){let _0x51a15a=_0x1aa9af['record'][_0x3d9939(0x110)][_0x3d9939(0x116)]['filter'](_0x151f18=>_0x151f18[_0x3d9939(0x113)]===_0x1b348f);_0x17fb75=_0x51a15a&&_0x51a15a[_0x3d9939(0x10c)]>0x0?_0x51a15a[0x0][_0x3d9939(0x114)]:_0x1b348f;}}else _0x17fb75=_0x1b348f;}else _0x17fb75='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x17fb75}</span>`;};
@@ -1 +1 @@
1
- (function(_0x3332a9,_0x252a89){const _0x4fe7bf=a0_0x2f74,_0x1acacc=_0x3332a9();while(!![]){try{const _0x10d394=-parseInt(_0x4fe7bf(0xa2))/0x1+parseInt(_0x4fe7bf(0x97))/0x2+parseInt(_0x4fe7bf(0x94))/0x3+-parseInt(_0x4fe7bf(0x9a))/0x4*(-parseInt(_0x4fe7bf(0x9e))/0x5)+parseInt(_0x4fe7bf(0x9c))/0x6*(parseInt(_0x4fe7bf(0x95))/0x7)+-parseInt(_0x4fe7bf(0x9d))/0x8*(-parseInt(_0x4fe7bf(0x92))/0x9)+-parseInt(_0x4fe7bf(0xa0))/0xa;if(_0x10d394===_0x252a89)break;else _0x1acacc['push'](_0x1acacc['shift']());}catch(_0x1c4253){_0x1acacc['push'](_0x1acacc['shift']());}}}(a0_0x1b4c,0xbf3ec));import{html}from'lit';function a0_0x2f74(_0x4c0bfa,_0x18bd08){const _0x1b4cf9=a0_0x1b4c();return a0_0x2f74=function(_0x2f74ba,_0x488a48){_0x2f74ba=_0x2f74ba-0x92;let _0x6d048f=_0x1b4cf9[_0x2f74ba];return _0x6d048f;},a0_0x2f74(_0x4c0bfa,_0x18bd08);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x43d5d3){const _0x27fe0e=a0_0x2f74,_0x30012c=_0x43d5d3[_0x27fe0e(0x9f)];detectOverflow(_0x30012c)&&_0x30012c[_0x27fe0e(0x98)](_0x27fe0e(0x99),_0x30012c[_0x27fe0e(0x96)]);}function a0_0x1b4c(){const _0x22f734=['7GldFIp','textContent','257858qffqaw','setAttribute','data-tooltip','59208frAafH','record','665082bQuyxd','3512kakoqO','205NbzmTW','target','8289430qreARJ','options','1103793luOGVZ','19449dKkgKk','removeAttribute','2762217IfQcKm'];a0_0x1b4c=function(){return _0x22f734;};return a0_0x1b4c();}function onmouseout(_0x7002d){const _0x4d07c0=a0_0x2f74;_0x7002d[_0x4d07c0(0x9f)][_0x4d07c0(0x93)](_0x4d07c0(0x99));}export const GristRendererMetaObjectSelector=(_0x12342f,_0x2071aa,_0x194393,_0x57fc40,_0x1be4e9)=>{const _0x3ce5c9=a0_0x2f74;let _0x53cf3e='';return _0x12342f&&_0x2071aa[_0x3ce5c9(0x9b)][_0x3ce5c9(0xa1)]&&(_0x53cf3e=_0x12342f[_0x2071aa[_0x3ce5c9(0x9b)][_0x3ce5c9(0xa1)]['nameField']]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x53cf3e}</span>`;};
1
+ (function(_0x343842,_0x1b2d36){const _0x184405=a0_0x553f,_0x27439e=_0x343842();while(!![]){try{const _0x3934ac=-parseInt(_0x184405(0x1b5))/0x1+-parseInt(_0x184405(0x1ac))/0x2*(parseInt(_0x184405(0x1ad))/0x3)+parseInt(_0x184405(0x1b7))/0x4+parseInt(_0x184405(0x1b8))/0x5+parseInt(_0x184405(0x1b4))/0x6*(parseInt(_0x184405(0x1a7))/0x7)+-parseInt(_0x184405(0x1af))/0x8*(-parseInt(_0x184405(0x1ae))/0x9)+-parseInt(_0x184405(0x1b6))/0xa*(parseInt(_0x184405(0x1a8))/0xb);if(_0x3934ac===_0x1b2d36)break;else _0x27439e['push'](_0x27439e['shift']());}catch(_0x1904d6){_0x27439e['push'](_0x27439e['shift']());}}}(a0_0x541b,0x9933f));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x459e15){const _0x1c225c=a0_0x553f,_0x244f96=_0x459e15[_0x1c225c(0x1ab)];detectOverflow(_0x244f96)&&_0x244f96['setAttribute'](_0x1c225c(0x1b1),_0x244f96[_0x1c225c(0x1aa)]);}function a0_0x541b(){const _0x30cf34=['5312087JCYEZs','options','textContent','target','178sUUGuJ','18807afQJBI','4566411wlQVcT','8cgdEJN','record','data-tooltip','removeAttribute','nameField','109680YgpTjL','280956ftrAbd','30AGUHdH','4039764OnzadD','3333235rIplnJ','280gIYnNb'];a0_0x541b=function(){return _0x30cf34;};return a0_0x541b();}function onmouseout(_0x3d7a06){const _0x23e1f1=a0_0x553f;_0x3d7a06[_0x23e1f1(0x1ab)][_0x23e1f1(0x1b2)]('data-tooltip');}function a0_0x553f(_0x5739e7,_0x24a983){const _0x541bcc=a0_0x541b();return a0_0x553f=function(_0x553fbc,_0xe248ca){_0x553fbc=_0x553fbc-0x1a7;let _0x2e7ca9=_0x541bcc[_0x553fbc];return _0x2e7ca9;},a0_0x553f(_0x5739e7,_0x24a983);}export const GristRendererMetaObjectSelector=(_0x2a8e54,_0x16acbe,_0x30938d,_0x2a6f9e,_0x5e804e)=>{const _0x52726b=a0_0x553f;let _0x2f4ba9='';return _0x2a8e54&&_0x16acbe[_0x52726b(0x1b0)][_0x52726b(0x1a9)]&&(_0x2f4ba9=_0x2a8e54[_0x16acbe[_0x52726b(0x1b0)][_0x52726b(0x1a9)][_0x52726b(0x1b3)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2f4ba9}</span>`;};
@@ -1,4 +1,4 @@
1
- const a0_0xfb152e=a0_0x4913;(function(_0x56f30e,_0x56ade6){const _0x304579=a0_0x4913,_0x3d243d=_0x56f30e();while(!![]){try{const _0x4be2ff=-parseInt(_0x304579(0x199))/0x1*(parseInt(_0x304579(0x184))/0x2)+-parseInt(_0x304579(0x175))/0x3*(-parseInt(_0x304579(0x198))/0x4)+-parseInt(_0x304579(0x16c))/0x5+-parseInt(_0x304579(0x192))/0x6+-parseInt(_0x304579(0x1be))/0x7*(-parseInt(_0x304579(0x1a3))/0x8)+parseInt(_0x304579(0x1a5))/0x9+parseInt(_0x304579(0x1a0))/0xa;if(_0x4be2ff===_0x56ade6)break;else _0x3d243d['push'](_0x3d243d['shift']());}catch(_0x5b2c1b){_0x3d243d['push'](_0x3d243d['shift']());}}}(a0_0xed61,0xdf898));import{css,html,LitElement}from'lit';function a0_0xed61(){const _0x118008=['clickSelect','getParams','filters','14CloBeY','gridConfig','options','handlers','record','push','getCodeByEntity','rows','9146890DRypSo','GRID','meta-code-selector','after_set_fields','meta-object-selector','selectRecord','empty','entity','filter','41511OhLuUE','info','type','object','scenario','grist','keys','NOTHING_SELECTED','firstUpdated','search','meta-','showToast','search_hidden_fields','getGristColumnConfig2','render','60934iFVdCz','tText','menu_template','getSelectColumns','values','startsWith','left','tButton','fetchHandler','meta-object-selector-popup','basicArgs','sorters','forEach','getGristSelectableConfig','10037364CeVVDo','align','gql','bind','appendable','select-row-toggle','28zvqiSV','31qbBtmO','codeField','queryName','includes','resource-code-selector','string','name','40370350MgqVpa','isArray','resource-object','2467488gZDZRw','confirmCallback','5504319grRfrh','dispField','getGristMetaObjectOptions','clickEmpty','getGristGuttersConfig','connectedCallback','length','select','styles','searchByPagination','code','getCodeSelectorData','filterFields','codes','columns','#ox-grist','clickCancel','args','LIST','query','nameField','querySelector'];a0_0xed61=function(){return _0x118008;};return a0_0xed61();}import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x4913(_0x58e81e,_0x3ef4ec){const _0xed6184=a0_0xed61();return a0_0x4913=function(_0x491363,_0x2017d1){_0x491363=_0x491363-0x169;let _0x296dc8=_0xed6184[_0x491363];return _0x296dc8;},a0_0x4913(_0x58e81e,_0x3ef4ec);}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 [a0_0xfb152e(0x1ad)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x4f99e5=a0_0x1cec;(function(_0x543953,_0x126f40){const _0x165324=a0_0x1cec,_0x5a2a50=_0x543953();while(!![]){try{const _0x500a6e=parseInt(_0x165324(0x15a))/0x1+-parseInt(_0x165324(0x168))/0x2*(-parseInt(_0x165324(0x138))/0x3)+parseInt(_0x165324(0x16a))/0x4+-parseInt(_0x165324(0x11b))/0x5+-parseInt(_0x165324(0x162))/0x6+parseInt(_0x165324(0x123))/0x7*(-parseInt(_0x165324(0x120))/0x8)+-parseInt(_0x165324(0x139))/0x9*(-parseInt(_0x165324(0x167))/0xa);if(_0x500a6e===_0x126f40)break;else _0x5a2a50['push'](_0x5a2a50['shift']());}catch(_0x3c5626){_0x5a2a50['push'](_0x5a2a50['shift']());}}}(a0_0x4e6c,0x21bb0));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';function a0_0x1cec(_0x2252fb,_0x51037c){const _0x4e6c18=a0_0x4e6c();return a0_0x1cec=function(_0x1cecd5,_0x3e520c){_0x1cecd5=_0x1cecd5-0x115;let _0x37936c=_0x4e6c18[_0x1cecd5];return _0x37936c;},a0_0x1cec(_0x2252fb,_0x51037c);}export class MetaObjectSelectorPopup extends LitElement{static [a0_0x4f99e5(0x11c)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0xfb152e=a0_0x4913;(function(_0x56f30e,_0x56ade6){const _0x304579=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0xfb152e(0x1aa)](){const _0xff9636=a0_0xfb152e;this[_0xff9636(0x181)]=this[_0xff9636(0x1c0)][_0xff9636(0x1bd)]?this[_0xff9636(0x1c0)][_0xff9636(0x1bd)]:this[_0xff9636(0x18e)]&&this[_0xff9636(0x18e)]['filters']?this[_0xff9636(0x18e)][_0xff9636(0x1bd)]:[];let _0x526f90=this[_0xff9636(0x1c0)][_0xff9636(0x18f)]?this[_0xff9636(0x1c0)][_0xff9636(0x18f)]:this['basicArgs']&&this['basicArgs']['sorters']?this['basicArgs'][_0xff9636(0x18f)]:[],_0x258d2c=this[_0xff9636(0x1c0)][_0xff9636(0x1b1)]?this['options'][_0xff9636(0x1b1)]:this[_0xff9636(0x1c0)]['menu_template']?.[_0xff9636(0x17e)]&&this[_0xff9636(0x1c0)][_0xff9636(0x186)]?.[_0xff9636(0x17e)][_0xff9636(0x1ab)]>0x0?this[_0xff9636(0x1c0)][_0xff9636(0x186)][_0xff9636(0x17e)]:[],_0x20abde=this['options'][_0xff9636(0x1ac)];if(!_0x258d2c||0x0==_0x258d2c[_0xff9636(0x1ab)]){let _0x51d52a;this[_0xff9636(0x1c0)][_0xff9636(0x19a)]&&(_0x51d52a=this[_0xff9636(0x1c0)][_0xff9636(0x19a)]),this[_0xff9636(0x1c0)][_0xff9636(0x1b9)]&&(_0x51d52a=this[_0xff9636(0x1c0)][_0xff9636(0x1b9)]),_0x51d52a&&_0x258d2c[_0xff9636(0x169)]({'name':_0x51d52a,'operator':'eq'});}let _0x478ef5=[...MetaApi[_0xff9636(0x1a9)](!0x0,!0x1)];if(_0x20abde&&_0x20abde[_0xff9636(0x1ab)]>0x0)for(let _0x1ae5de=0x0;_0x1ae5de<_0x20abde[_0xff9636(0x1ab)];_0x1ae5de++){let {type:_0x3182b0=_0xff9636(0x19e),name:_0x4bd535,hidden:_0x5cd64e=!0x1,record:_0x35d478={'align':_0xff9636(0x18a)},header:_0x10cbe0,sortable:_0x4bce34=!0x1,width:_0x360c9d=0x87,options:_0x18aae1,select_opt:_0x196aab,object_opt:_0x3ea399}=_0x20abde[_0x1ae5de];if(_0x196aab&&(_0x18aae1=_0x196aab),_0x3ea399&&(_0x18aae1=_0x3ea399),[_0xff9636(0x1a2),_0xff9636(0x178)][_0xff9636(0x19c)](_0x3182b0)?_0x3182b0='meta-object-selector':[_0xff9636(0x19d)][_0xff9636(0x19c)](_0x3182b0)&&(_0x3182b0=_0xff9636(0x16e)),'id'==_0x4bd535)_0x478ef5[_0xff9636(0x169)]({'type':'string','name':_0x4bd535,'hidden':!0x0});else{let _0x27260a=MetaApi[_0xff9636(0x182)](_0x3182b0,_0x4bd535,_0x10cbe0||_0x4bd535,_0x35d478[_0xff9636(0x193)]?_0x35d478[_0xff9636(0x193)]:_0xff9636(0x18a),!0x1,_0x4bce34,_0x360c9d);_0x3182b0[_0xff9636(0x189)](_0xff9636(0x17f))&&_0x3ea399&&_0x3ea399['menu']&&(_0x18aae1=await MetaUiUtil[_0xff9636(0x1a7)](_0x3182b0,_0x18aae1)),_0xff9636(0x1ac)===_0x3182b0?Array[_0xff9636(0x1a1)](_0x18aae1)?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]=_0x18aae1:_0xff9636(0x1af)===_0x18aae1[_0xff9636(0x177)]?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]=await ServiceUtil[_0xff9636(0x1b0)](_0x18aae1['values']?_0x18aae1[_0xff9636(0x188)]:_0x18aae1['name']):_0xff9636(0x179)===_0x18aae1['type']?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]=await ServiceUtil['getCodeByScenario'](_0x18aae1[_0xff9636(0x19f)],_0x18aae1[_0xff9636(0x1b6)]):_0xff9636(0x173)===_0x18aae1['type']&&(_0x27260a['record']['options']=await ServiceUtil[_0xff9636(0x16a)](_0x18aae1['args'])):_0xff9636(0x170)===_0x3182b0?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]={..._0x18aae1}:_0xff9636(0x16e)==_0x3182b0&&(_0x18aae1['dispField']&&(_0x18aae1[_0xff9636(0x1b2)]=await ServiceUtil[_0xff9636(0x16a)](_0x18aae1)),_0x27260a[_0xff9636(0x1c2)]['options']={..._0x18aae1}),_0x27260a['hidden']=_0x5cd64e,_0x478ef5[_0xff9636(0x169)](_0x27260a);}}else _0x478ef5[_0xff9636(0x169)](MetaApi[_0xff9636(0x182)](_0xff9636(0x19e),this[_0xff9636(0x1c0)][_0xff9636(0x19a)],this[_0xff9636(0x1c0)][_0xff9636(0x19a)],_0xff9636(0x18a),!0x1,!0x0,0xb4)),this[_0xff9636(0x1c0)][_0xff9636(0x1a6)]&&_0x478ef5['push'](MetaApi['getGristColumnConfig2'](_0xff9636(0x19e),this[_0xff9636(0x1c0)][_0xff9636(0x1a6)],this[_0xff9636(0x1c0)][_0xff9636(0x1a6)],_0xff9636(0x18a),!0x1,!0x0,0x12c));_0x478ef5['forEach'](_0x39f65e=>{const _0x5bf422=_0xff9636;let _0x286f1b=_0x258d2c['filter'](_0x1b12ce=>_0x5bf422(0x19e)==typeof _0x1b12ce?_0x39f65e['name']==_0x1b12ce:_0x39f65e['name']==_0x1b12ce[_0x5bf422(0x19f)]);_0x286f1b&&_0x286f1b[_0x5bf422(0x1ab)]>0x0&&(_0x39f65e[_0x5bf422(0x174)]=_0x5bf422(0x19e)==typeof _0x286f1b[0x0]?'search':_0x286f1b[0x0]);});let _0x72e955={'rows':MetaApi[_0xff9636(0x191)](!0x1),'pagination':MetaApi['getGristPagination100Config'](),'columns':_0x478ef5,'sorters':[..._0x526f90]};_0x72e955['rows'][_0xff9636(0x1c1)]={'click':_0xff9636(0x197),'dblclick':(_0x119c3e,_0xbe17c0,_0x116844,_0xc1d0e0,_0x5a0d93,_0x2ae610)=>{const _0x284f0a=_0xff9636;this[_0x284f0a(0x171)](_0xc1d0e0);}},_0x72e955[_0xff9636(0x16b)][_0xff9636(0x196)]=!0x1,this[_0xff9636(0x1bf)]=_0x72e955,await super[_0xff9636(0x1aa)]();}async[a0_0xfb152e(0x17d)](){const _0x212be7=a0_0xfb152e;await super[_0x212be7(0x17d)]();}[a0_0xfb152e(0x183)](){const _0x2ac5e4=a0_0xfb152e;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x2ac5e4(0x1bf)]} .mode=${isMobileDevice()?_0x2ac5e4(0x1b7):_0x2ac5e4(0x16d)} auto-fetch
22
- .fetchHandler=${this[_0x2ac5e4(0x18c)]['bind'](this)}>
20
+ `];async[a0_0x4f99e5(0x126)](){const _0x21b329=a0_0x4f99e5;this[_0x21b329(0x15f)]=this[_0x21b329(0x156)]['filters']?this['options'][_0x21b329(0x121)]:this[_0x21b329(0x148)]&&this['basicArgs'][_0x21b329(0x121)]?this[_0x21b329(0x148)]['filters']:[];let _0x1190b8=this[_0x21b329(0x156)][_0x21b329(0x152)]?this[_0x21b329(0x156)][_0x21b329(0x152)]:this['basicArgs']&&this['basicArgs'][_0x21b329(0x152)]?this[_0x21b329(0x148)]['sorters']:[],_0x2dc014=this[_0x21b329(0x156)][_0x21b329(0x147)]?this['options']['filterFields']:this[_0x21b329(0x156)][_0x21b329(0x157)]?.[_0x21b329(0x117)]&&this[_0x21b329(0x156)][_0x21b329(0x157)]?.[_0x21b329(0x117)][_0x21b329(0x155)]>0x0?this[_0x21b329(0x156)][_0x21b329(0x157)][_0x21b329(0x117)]:[],_0x329f7f=this['options']['select'];if(!_0x2dc014||0x0==_0x2dc014[_0x21b329(0x155)]){let _0xc1e3d0;this[_0x21b329(0x156)][_0x21b329(0x143)]&&(_0xc1e3d0=this[_0x21b329(0x156)][_0x21b329(0x143)]),this[_0x21b329(0x156)][_0x21b329(0x146)]&&(_0xc1e3d0=this['options']['nameField']),_0xc1e3d0&&_0x2dc014[_0x21b329(0x131)]({'name':_0xc1e3d0,'operator':'eq'});}let _0x4c49b6=[...MetaApi[_0x21b329(0x160)](!0x0,!0x1)];if(_0x329f7f&&_0x329f7f[_0x21b329(0x155)]>0x0)for(let _0x261518=0x0;_0x261518<_0x329f7f['length'];_0x261518++){let {type:_0x529932='string',name:_0x536afb,hidden:_0x33ccee=!0x1,record:_0x41d66c={'align':_0x21b329(0x119)},header:_0xc9e51d,sortable:_0x42c79e=!0x1,width:_0x50c0fb=0x87,options:_0x36d276,select_opt:_0x43504c,object_opt:_0x15728a}=_0x329f7f[_0x261518];if(_0x43504c&&(_0x36d276=_0x43504c),_0x15728a&&(_0x36d276=_0x15728a),[_0x21b329(0x12c),_0x21b329(0x144)][_0x21b329(0x140)](_0x529932)?_0x529932=_0x21b329(0x12a):[_0x21b329(0x14d)][_0x21b329(0x140)](_0x529932)&&(_0x529932=_0x21b329(0x14b)),'id'==_0x536afb)_0x4c49b6['push']({'type':'string','name':_0x536afb,'hidden':!0x0});else{let _0x206791=MetaApi[_0x21b329(0x164)](_0x529932,_0x536afb,_0xc9e51d||_0x536afb,_0x41d66c[_0x21b329(0x134)]?_0x41d66c['align']:_0x21b329(0x119),!0x1,_0x42c79e,_0x50c0fb);_0x529932[_0x21b329(0x151)](_0x21b329(0x12d))&&_0x15728a&&_0x15728a[_0x21b329(0x124)]&&(_0x36d276=await MetaUiUtil[_0x21b329(0x122)](_0x529932,_0x36d276)),_0x21b329(0x129)===_0x529932?Array[_0x21b329(0x154)](_0x36d276)?_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]=_0x36d276:_0x21b329(0x125)===_0x36d276[_0x21b329(0x135)]?_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]=await ServiceUtil[_0x21b329(0x141)](_0x36d276[_0x21b329(0x16b)]?_0x36d276[_0x21b329(0x16b)]:_0x36d276[_0x21b329(0x142)]):_0x21b329(0x13a)===_0x36d276[_0x21b329(0x135)]?_0x206791[_0x21b329(0x13b)]['options']=await ServiceUtil[_0x21b329(0x161)](_0x36d276[_0x21b329(0x142)],_0x36d276['args']):'entity'===_0x36d276['type']&&(_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]=await ServiceUtil[_0x21b329(0x118)](_0x36d276[_0x21b329(0x13d)])):_0x21b329(0x12a)===_0x529932?_0x206791[_0x21b329(0x13b)][_0x21b329(0x156)]={..._0x36d276}:_0x21b329(0x14b)==_0x529932&&(_0x36d276[_0x21b329(0x16c)]&&(_0x36d276[_0x21b329(0x169)]=await ServiceUtil['getCodeByEntity'](_0x36d276)),_0x206791['record']['options']={..._0x36d276}),_0x206791[_0x21b329(0x165)]=_0x33ccee,_0x4c49b6[_0x21b329(0x131)](_0x206791);}}else _0x4c49b6[_0x21b329(0x131)](MetaApi['getGristColumnConfig2']('string',this['options']['codeField'],this[_0x21b329(0x156)]['codeField'],_0x21b329(0x119),!0x1,!0x0,0xb4)),this['options']['dispField']&&_0x4c49b6[_0x21b329(0x131)](MetaApi['getGristColumnConfig2'](_0x21b329(0x132),this[_0x21b329(0x156)][_0x21b329(0x16c)],this['options'][_0x21b329(0x16c)],_0x21b329(0x119),!0x1,!0x0,0x12c));_0x4c49b6[_0x21b329(0x13c)](_0x328dc0=>{const _0x473879=_0x21b329;let _0x3c50df=_0x2dc014[_0x473879(0x133)](_0xee3b1a=>_0x473879(0x132)==typeof _0xee3b1a?_0x328dc0[_0x473879(0x142)]==_0xee3b1a:_0x328dc0[_0x473879(0x142)]==_0xee3b1a[_0x473879(0x142)]);_0x3c50df&&_0x3c50df['length']>0x0&&(_0x328dc0[_0x473879(0x133)]=_0x473879(0x132)==typeof _0x3c50df[0x0]?_0x473879(0x117):_0x3c50df[0x0]);});let _0x582226={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x21b329(0x163)](),'columns':_0x4c49b6,'sorters':[..._0x1190b8]};_0x582226[_0x21b329(0x11d)][_0x21b329(0x128)]={'click':_0x21b329(0x15c),'dblclick':(_0x1f7a9f,_0x5cf843,_0x353c1d,_0x17862b,_0x111663,_0x1033da)=>{const _0x2b8864=_0x21b329;this[_0x2b8864(0x12f)](_0x17862b);}},_0x582226[_0x21b329(0x11d)]['appendable']=!0x1,this['gridConfig']=_0x582226,await super['connectedCallback']();}async['firstUpdated'](){await super['firstUpdated']();}[a0_0x4f99e5(0x12e)](){const _0xb074bc=a0_0x4f99e5;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0xb074bc(0x145)]} .mode=${isMobileDevice()?_0xb074bc(0x166):'GRID'} auto-fetch
22
+ .fetchHandler=${this[_0xb074bc(0x150)][_0xb074bc(0x136)](this)}>
23
23
  <div slot="headroom">
24
24
  <div id="filters">
25
25
  <ox-filters-form></ox-filters-form>
@@ -27,14 +27,14 @@ const a0_0xfb152e=a0_0x4913;(function(_0x56f30e,_0x56ade6){const _0x304579=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x2ac5e4(0x18b)](_0x2ac5e4(0x172))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x2ac5e4(0x1a8)]['bind'](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0xb074bc(0x14a)](_0xb074bc(0x14c))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0xb074bc(0x15d)][_0xb074bc(0x136)](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x2ac5e4(0x18b)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x2ac5e4(0x1b5)][_0x2ac5e4(0x195)](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0xb074bc(0x14a)](_0xb074bc(0x149))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0xb074bc(0x116)][_0xb074bc(0x136)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x2ac5e4(0x18b)](_0x2ac5e4(0x1ac))}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0x2ac5e4(0x1bb)][_0x2ac5e4(0x195)](this)}>
36
+ <mwc-button raised label="${TermsUtil['tButton'](_0xb074bc(0x129))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0xb074bc(0x11e)]['bind'](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get[a0_0xfb152e(0x17a)](){const _0x221747=a0_0xfb152e;return this['shadowRoot'][_0x221747(0x1ba)](_0x221747(0x1b4));}async[a0_0xfb152e(0x18c)]({page:_0x408f13=0x0,limit:_0x2249b5=0x0,sorters:_0x2bdd2c=[],filters:_0x1d0f8e=[]}){const _0x93dc4f=a0_0xfb152e;let _0x3f9877=[...this[_0x93dc4f(0x181)]];_0x1d0f8e[_0x93dc4f(0x190)](_0x40c43f=>{const _0x12b1ba=_0x93dc4f;let _0x2ebf9a=_0x3f9877[_0x12b1ba(0x174)](_0x206cf1=>_0x40c43f['name']==_0x206cf1[_0x12b1ba(0x19f)]);_0x2ebf9a&&_0x2ebf9a[_0x12b1ba(0x1ab)]>0x0&&delete _0x3f9877[_0x40c43f[_0x12b1ba(0x19f)]],_0x3f9877['push'](_0x40c43f);});let _0x73ca11=ValueUtil[_0x93dc4f(0x1bc)](this[_0x93dc4f(0x1c0)][_0x93dc4f(0x186)]&&this[_0x93dc4f(0x1c0)][_0x93dc4f(0x186)][_0x93dc4f(0x194)]||{},_0x93dc4f(0x1b8),_0x93dc4f(0x16f)),_0x479dab=Object[_0x93dc4f(0x17b)](_0x73ca11||{}),_0x4dd387=MetaApi[_0x93dc4f(0x187)](this[_0x93dc4f(0x1bf)][_0x93dc4f(0x1b3)][_0x93dc4f(0x174)](_0x5dc126=>!_0x479dab[_0x93dc4f(0x19c)](_0x5dc126[_0x93dc4f(0x19f)])));return await MetaApi[_0x93dc4f(0x1ae)](this[_0x93dc4f(0x1c0)][_0x93dc4f(0x19b)],_0x3f9877,_0x2bdd2c,_0x408f13,_0x2249b5,_0x4dd387);}async[a0_0xfb152e(0x1a8)](_0x149eae){const _0x2eb580=a0_0xfb152e;this[_0x2eb580(0x1a4)]&&this[_0x2eb580(0x1a4)](null),closePopup(this);}async['clickCancel'](_0x43fb5f){closePopup(this);}async[a0_0xfb152e(0x1bb)](_0x377db0){const _0x9b75dd=a0_0xfb152e;let _0x44459a=this[_0x9b75dd(0x17a)]['selected'];_0x44459a&&0x0!=_0x44459a['length']?this[_0x9b75dd(0x171)](_0x44459a[0x0]):MetaApi[_0x9b75dd(0x180)](_0x9b75dd(0x176),TermsUtil[_0x9b75dd(0x185)](_0x9b75dd(0x17c)));}async['selectRecord'](_0x4e88b1){const _0x1b38bb=a0_0xfb152e;this['confirmCallback']&&this[_0x1b38bb(0x1a4)](_0x4e88b1),closePopup(this);}}customElements['define'](a0_0xfb152e(0x18d),MetaObjectSelectorPopup);
40
+ `;}get[a0_0x4f99e5(0x127)](){const _0x5bdd7a=a0_0x4f99e5;return this['shadowRoot'][_0x5bdd7a(0x158)]('#ox-grist');}async[a0_0x4f99e5(0x150)]({page:_0x54aa1a=0x0,limit:_0x313c56=0x0,sorters:_0xe1dd08=[],filters:_0x13679c=[]}){const _0x2c61ea=a0_0x4f99e5;let _0x1760e9=[...this['search_hidden_fields']];_0x13679c[_0x2c61ea(0x13c)](_0xadf0e7=>{const _0x5a661f=_0x2c61ea;let _0x5b5bad=_0x1760e9[_0x5a661f(0x133)](_0x567f8f=>_0xadf0e7['name']==_0x567f8f[_0x5a661f(0x142)]);_0x5b5bad&&_0x5b5bad[_0x5a661f(0x155)]>0x0&&delete _0x1760e9[_0xadf0e7[_0x5a661f(0x142)]],_0x1760e9[_0x5a661f(0x131)](_0xadf0e7);});let _0x2bb955=ValueUtil[_0x2c61ea(0x153)](this['options'][_0x2c61ea(0x157)]&&this[_0x2c61ea(0x156)][_0x2c61ea(0x157)][_0x2c61ea(0x13f)]||{},_0x2c61ea(0x14f),'after_set_fields'),_0x57d550=Object[_0x2c61ea(0x11a)](_0x2bb955||{}),_0x28b900=MetaApi[_0x2c61ea(0x13e)](this['gridConfig'][_0x2c61ea(0x137)][_0x2c61ea(0x133)](_0x5a40da=>!_0x57d550[_0x2c61ea(0x140)](_0x5a40da['name'])));return await MetaApi[_0x2c61ea(0x12b)](this[_0x2c61ea(0x156)][_0x2c61ea(0x14e)],_0x1760e9,_0xe1dd08,_0x54aa1a,_0x313c56,_0x28b900);}async[a0_0x4f99e5(0x15d)](_0x4d70e6){const _0x53d5c6=a0_0x4f99e5;this[_0x53d5c6(0x11f)]&&this[_0x53d5c6(0x11f)](null),closePopup(this);}async[a0_0x4f99e5(0x116)](_0x2618c6){closePopup(this);}async[a0_0x4f99e5(0x11e)](_0x498feb){const _0x65a33a=a0_0x4f99e5;let _0x38e5c7=this[_0x65a33a(0x127)][_0x65a33a(0x130)];_0x38e5c7&&0x0!=_0x38e5c7['length']?this[_0x65a33a(0x12f)](_0x38e5c7[0x0]):MetaApi['showToast'](_0x65a33a(0x15e),TermsUtil[_0x65a33a(0x159)](_0x65a33a(0x15b)));}async[a0_0x4f99e5(0x12f)](_0x2de240){const _0x1a8b9a=a0_0x4f99e5;this['confirmCallback']&&this[_0x1a8b9a(0x11f)](_0x2de240),closePopup(this);}}function a0_0x4e6c(){const _0x5327cc=['search_hidden_fields','getGristGuttersConfig','getCodeByScenario','199044DHaLlE','getGristPagination100Config','getGristColumnConfig2','hidden','LIST','3570bMmBDb','2092lxTMzi','codes','576228XWxotj','values','dispField','define','clickCancel','search','getCodeByEntity','left','keys','1216565CyKmoA','styles','rows','clickSelect','confirmCallback','18664GlFytd','filters','getGristMetaObjectOptions','455ZIzCLI','menu','code','connectedCallback','grist','handlers','select','meta-object-selector','searchByPagination','resource-object','meta-','render','selectRecord','selected','push','string','filter','align','type','bind','columns','24LWWeNN','6543knAYSl','scenario','record','forEach','args','getSelectColumns','gql','includes','getCodeSelectorData','name','codeField','object','gridConfig','nameField','filterFields','basicArgs','cancel','tButton','meta-code-selector','empty','resource-code-selector','queryName','query','fetchHandler','startsWith','sorters','getParams','isArray','length','options','menu_template','querySelector','tText','154328NKaceA','NOTHING_SELECTED','select-row-toggle','clickEmpty','info'];a0_0x4e6c=function(){return _0x5327cc;};return a0_0x4e6c();}customElements[a0_0x4f99e5(0x115)]('meta-object-selector-popup',MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x1ae09b=a0_0x3a29;(function(_0x2f0d17,_0x50c38a){const _0xfba859=a0_0x3a29,_0x42f2d4=_0x2f0d17();while(!![]){try{const _0x366d99=parseInt(_0xfba859(0x1e7))/0x1*(parseInt(_0xfba859(0x1dc))/0x2)+-parseInt(_0xfba859(0x1cf))/0x3*(-parseInt(_0xfba859(0x1ca))/0x4)+-parseInt(_0xfba859(0x1c1))/0x5+parseInt(_0xfba859(0x1c8))/0x6+-parseInt(_0xfba859(0x1ed))/0x7+-parseInt(_0xfba859(0x1d1))/0x8*(-parseInt(_0xfba859(0x1ee))/0x9)+parseInt(_0xfba859(0x1bc))/0xa*(parseInt(_0xfba859(0x1d5))/0xb);if(_0x366d99===_0x50c38a)break;else _0x42f2d4['push'](_0x42f2d4['shift']());}catch(_0x29c1c8){_0x42f2d4['push'](_0x42f2d4['shift']());}}}(a0_0x1343,0x81e4e));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x4009d3=>class extends _0x4009d3{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x292785=>Boolean(_0x292785)},'is_popup':{'type':Boolean,'converter':_0x3eada1=>Boolean(_0x3eada1)},'is_activity':{'type':Boolean,'converter':_0x41b1b1=>Boolean(_0x41b1b1)},'is_readonly':{'type':Boolean,'converter':_0x513848=>Boolean(_0x513848)}};}get[a0_0x1ae09b(0x1b4)](){const _0x5df337=a0_0x1ae09b;return!0x0===this['is_detail']||!0x0===this[_0x5df337(0x1e6)];}get[a0_0x1ae09b(0x1e8)](){const _0x52c7e2=a0_0x1ae09b;return!ValueUtil[_0x52c7e2(0x1d3)](this['is_detail'])&&this[_0x52c7e2(0x1df)];}async[a0_0x1ae09b(0x1cb)](){const _0x8be9ec=a0_0x1ae09b;super[_0x8be9ec(0x1cb)]&&await super[_0x8be9ec(0x1cb)](),this[_0x8be9ec(0x1d0)](_0x8be9ec(0x1c0),async _0x36adbf=>{const _0x1169a6=_0x8be9ec;_0x36adbf[_0x1169a6(0x1d7)](),this['dispatchEvent'](new CustomEvent(_0x1169a6(0x1eb),{'bubbles':!0x0,'composed':!0x0,'detail':_0x36adbf[_0x1169a6(0x1c2)]}));let {after:_0x2ec37e,before:_0x1ab823,column:_0x1ea13d,record:_0x89324f,row:_0x429ff3}=_0x36adbf['detail'],_0x4c67de=_0x1ea13d[_0x1169a6(0x1bd)];if(Object[_0x1169a6(0x1c6)](this[_0x1169a6(0x1cd)]||{})[_0x1169a6(0x1c4)](_0x4c67de)){let _0x2d6a89,_0x54bbc0=(await MetaApi[_0x1169a6(0x1d9)](void 0x0,this[_0x1169a6(0x1cd)][_0x4c67de],{'columnName':_0x4c67de,'column':_0x1ea13d,'record':_0x89324f,'after':_0x2ec37e,'before':_0x1ab823,'row':_0x429ff3},!0x1))['data'][_0x1169a6(0x1d6)][_0x1169a6(0x1d2)]['result'];if(!_0x54bbc0)return;_0x2d6a89=this['grist']?this[_0x1169a6(0x1dd)][_0x1169a6(0x1dd)][_0x1169a6(0x1d4)]:this,Object[_0x1169a6(0x1c6)](_0x54bbc0)[_0x1169a6(0x1ea)](_0x8bf7f8=>{const _0x2ba01c=_0x1169a6;_0x2d6a89[_0x2ba01c(0x1e4)](new CustomEvent(_0x2ba01c(0x1c0),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x89324f,'row':_0x429ff3,'after':_0x54bbc0[_0x8bf7f8],'before':_0x89324f[_0x8bf7f8],'column':{'name':_0x8bf7f8}}}));});}});}async[a0_0x1ae09b(0x1ec)](_0x35da54,_0x2bb2e2,_0x52b0f7){const _0xa9caf1=a0_0x1ae09b;let _0x555454=this[_0xa9caf1(0x1b8)]?.[_0xa9caf1(0x1bb)]?this[_0xa9caf1(0x1b8)][_0xa9caf1(0x1bb)]:{};this[_0xa9caf1(0x1c3)]&&this[_0xa9caf1(0x1e5)]&&0x0==_0x52b0f7[_0xa9caf1(0x1e5)]&&ValueUtil[_0xa9caf1(0x1be)](_0x555454)&&this[_0xa9caf1(0x1e1)]();}get[a0_0x1ae09b(0x1b5)](){const _0x22f4d1=a0_0x1ae09b;return!ValueUtil[_0x22f4d1(0x1d3)](this['is_popup'])&&this['is_popup'];}get[a0_0x1ae09b(0x1c3)](){const _0x577de9=a0_0x1ae09b;return!this['is_detail']&&!this[_0x577de9(0x1e6)];}async[a0_0x1ae09b(0x1b7)](){const _0x4c6e3e=a0_0x1ae09b;let _0x166fd0=await MetaApi[_0x4c6e3e(0x1d8)](this);_0x166fd0&&(this[_0x4c6e3e(0x1db)]=_0x166fd0[_0x4c6e3e(0x1b6)],this['etcConfig']=_0x166fd0['etc'],this['parseBasicGridConfigs']&&this['parseBasicGridConfigs'](_0x166fd0),this['parseBasicServiceConfigs']&&this['parseBasicServiceConfigs'](_0x166fd0),this['parseBasicFormConfigs']&&this[_0x4c6e3e(0x1c9)](_0x166fd0),this[_0x4c6e3e(0x1de)]&&this[_0x4c6e3e(0x1de)](_0x166fd0),this['parseBasicButtonConfigs']&&this['parseBasicButtonConfigs'](_0x166fd0));}async[a0_0x1ae09b(0x1e1)](){const _0x3ff49e=a0_0x1ae09b;ValueUtil[_0x3ff49e(0x1be)](this[_0x3ff49e(0x1dd)])?this[_0x3ff49e(0x1dd)]['fetch']():(ValueUtil[_0x3ff49e(0x1be)](this[_0x3ff49e(0x1e9)])||this[_0x3ff49e(0x1e0)])&&await this[_0x3ff49e(0x1e0)]();}async[a0_0x1ae09b(0x1e3)](_0x45e2de,_0x429529,_0x42b004){const _0x5f4408=a0_0x1ae09b;let _0x4d8bba=TermsUtil[_0x5f4408(0x1e2)](_0x45e2de[_0x5f4408(0x1ce)]);ValueUtil['isNotEmpty'](_0x45e2de[_0x5f4408(0x1c7)])&&(_0x4d8bba=_0x4d8bba+'-'+ValueUtil[_0x5f4408(0x1bf)](_0x429529,..._0x45e2de[_0x5f4408(0x1c7)][_0x5f4408(0x1b9)]('.'))),MetaApi['openDynamicPopup'](_0x4d8bba,_0x45e2de,_0x429529,_0x42b004);}async[a0_0x1ae09b(0x1cc)](_0x3ca63d,_0x3ec3c5,_0xcacff1){const _0x33b09a=a0_0x1ae09b;let _0x9435ab=await MetaApi[_0x33b09a(0x1d9)](_0x3ca63d[_0x33b09a(0x1bd)],_0x3ca63d[_0x33b09a(0x1bd)],_0x3ec3c5);!0x1!==_0x9435ab&&!_0x9435ab[_0x33b09a(0x1c5)]&&ValueUtil['isNotEmpty'](_0x3ca63d[_0x33b09a(0x1ba)])&&_0xcacff1();}['setParentId'](_0x1607c2){const _0x386c4b=a0_0x1ae09b;this[_0x386c4b(0x1da)]=_0x1607c2,this[_0x386c4b(0x1e1)]();}};function a0_0x3a29(_0x131b55,_0x4707aa){const _0x134327=a0_0x1343();return a0_0x3a29=function(_0x3a29d8,_0x351398){_0x3a29d8=_0x3a29d8-0x1b4;let _0x139fc5=_0x134327[_0x3a29d8];return _0x139fc5;},a0_0x3a29(_0x131b55,_0x4707aa);}function a0_0x1343(){const _0x288923=['isPopup','menu','getAndParseMenuMeta','lifecycle','split','after','params','3566290QmeZoP','name','isNotEmpty','getParams','field-change','4006625tCDEIr','detail','isPage','includes','errors','keys','title_detail','5444574iOQcNa','parseBasicFormConfigs','39636nxeYiw','connectedCallback','executeCallScenarioButtonClick','fieldChangeHandlers','title','15sLbxhu','addEventListener','8fJGrWQ','data','isEmpty','body','11hsPhyZ','runScenario','stopPropagation','getMenuMeta','callScenario','parent_id','menuInfo','496918AQrsBS','grist','parseBasicTabConfigs','is_detail','fetchHandler','fetch','tTitle','excuteOpenPopupButtonClick','dispatchEvent','active','is_popup','1VkhKfC','isDetail','filterForm','forEach','data-change','pageUpdated','7196364PBTXgE','7194249NhqAZn','isElement'];a0_0x1343=function(){return _0x288923;};return a0_0x1343();}
1
+ const a0_0x295e60=a0_0x4ec9;function a0_0x5d5c(){const _0x11f32a=['connectedCallback','578486NPnIvf','27280ljJYow','isDetail','data','getMenuMeta','2YyWUFe','parseBasicButtonConfigs','grist','filterForm','114394bgWsiO','isPage','after','runScenario','params','tTitle','dispatchEvent','split','forEach','field-change','fieldChangeHandlers','callScenario','parent_id','keys','pageUpdated','parseBasicServiceConfigs','is_popup','parseBasicTabConfigs','getParams','menuInfo','setParentId','4558240dfwXeA','executeCallScenarioButtonClick','parseBasicGridConfigs','30HaxtyK','lifecycle','fetchHandler','detail','isEmpty','3396177RVsVFO','body','name','title','excuteOpenPopupButtonClick','includes','etc','is_detail','properties','fetch','title_detail','1579674wQcWqV','openDynamicPopup','parseBasicFormConfigs','menu','active','isNotEmpty','getAndParseMenuMeta','611436ELIaYM','isElement','488BDKShg','addEventListener','etcConfig'];a0_0x5d5c=function(){return _0x11f32a;};return a0_0x5d5c();}(function(_0x46aceb,_0x1f9611){const _0x24f10b=a0_0x4ec9,_0x28485d=_0x46aceb();while(!![]){try{const _0x472755=parseInt(_0x24f10b(0x146))/0x1*(-parseInt(_0x24f10b(0x14b))/0x2)+parseInt(_0x24f10b(0x140))/0x3+parseInt(_0x24f10b(0x164))/0x4+-parseInt(_0x24f10b(0x147))/0x5+-parseInt(_0x24f10b(0x177))/0x6+-parseInt(_0x24f10b(0x14f))/0x7*(parseInt(_0x24f10b(0x142))/0x8)+parseInt(_0x24f10b(0x16c))/0x9*(parseInt(_0x24f10b(0x167))/0xa);if(_0x472755===_0x1f9611)break;else _0x28485d['push'](_0x28485d['shift']());}catch(_0x4ba5ac){_0x28485d['push'](_0x28485d['shift']());}}}(a0_0x5d5c,0x9a234));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x4ec9(_0x357cdd,_0x4817ea){const _0x5d5c3b=a0_0x5d5c();return a0_0x4ec9=function(_0x4ec9ca,_0x2ba84d){_0x4ec9ca=_0x4ec9ca-0x13b;let _0x43385e=_0x5d5c3b[_0x4ec9ca];return _0x43385e;},a0_0x4ec9(_0x357cdd,_0x4817ea);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x6a69dd=>class extends _0x6a69dd{static get[a0_0x295e60(0x174)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x284c94=>Boolean(_0x284c94)},'is_popup':{'type':Boolean,'converter':_0x4e7e42=>Boolean(_0x4e7e42)},'is_activity':{'type':Boolean,'converter':_0xde7932=>Boolean(_0xde7932)},'is_readonly':{'type':Boolean,'converter':_0x4d27d5=>Boolean(_0x4d27d5)}};}get[a0_0x295e60(0x141)](){return!0x0===this['is_detail']||!0x0===this['is_popup'];}get[a0_0x295e60(0x148)](){const _0x103656=a0_0x295e60;return!ValueUtil[_0x103656(0x16b)](this[_0x103656(0x173)])&&this[_0x103656(0x173)];}async['connectedCallback'](){const _0x15896b=a0_0x295e60;super['connectedCallback']&&await super[_0x15896b(0x145)](),this[_0x15896b(0x143)](_0x15896b(0x158),async _0x84458a=>{const _0x26301a=_0x15896b;let {after:_0x2ddaa5,before:_0x518f76,column:_0x2a8a45,record:_0x22679b,row:_0x592b3d}=_0x84458a[_0x26301a(0x16a)],_0x32de1a=_0x2a8a45[_0x26301a(0x16e)];if(Object[_0x26301a(0x15c)](this[_0x26301a(0x159)]||{})[_0x26301a(0x171)](_0x32de1a)){let _0x4ad492,_0x596baf=(await MetaApi[_0x26301a(0x15a)](void 0x0,this[_0x26301a(0x159)][_0x32de1a],{'columnName':_0x32de1a,'column':_0x2a8a45,'record':_0x22679b,'after':_0x2ddaa5,'before':_0x518f76,'row':_0x592b3d},!0x1))[_0x26301a(0x149)][_0x26301a(0x152)]['data']['result'];if(!_0x596baf)return;_0x4ad492=this[_0x26301a(0x14d)]?this['grist'][_0x26301a(0x14d)][_0x26301a(0x16d)]:this,Object[_0x26301a(0x15c)](_0x596baf)[_0x26301a(0x157)](_0x4650dc=>{const _0x1b50d4=_0x26301a;_0x4ad492[_0x1b50d4(0x155)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x22679b,'row':_0x592b3d,'after':_0x596baf[_0x4650dc],'before':_0x22679b[_0x4650dc],'column':{'name':_0x4650dc}}}));});}});}async[a0_0x295e60(0x15d)](_0x353343,_0x2f6482,_0x5013e7){const _0x2a9800=a0_0x295e60;let _0x103a16=this['lifecycle']?.[_0x2a9800(0x153)]?this[_0x2a9800(0x168)][_0x2a9800(0x153)]:{};this[_0x2a9800(0x150)]&&this[_0x2a9800(0x13d)]&&0x0==_0x5013e7[_0x2a9800(0x13d)]&&ValueUtil[_0x2a9800(0x13e)](_0x103a16)&&this['fetch']();}get['isPopup'](){const _0x108ea2=a0_0x295e60;return!ValueUtil[_0x108ea2(0x16b)](this[_0x108ea2(0x15f)])&&this[_0x108ea2(0x15f)];}get[a0_0x295e60(0x150)](){const _0x341264=a0_0x295e60;return!this[_0x341264(0x173)]&&!this[_0x341264(0x15f)];}async[a0_0x295e60(0x13f)](){const _0x470dfa=a0_0x295e60;let _0x2195d9=await MetaApi[_0x470dfa(0x14a)](this);_0x2195d9&&(this[_0x470dfa(0x162)]=_0x2195d9[_0x470dfa(0x13c)],this[_0x470dfa(0x144)]=_0x2195d9[_0x470dfa(0x172)],this['parseBasicGridConfigs']&&this[_0x470dfa(0x166)](_0x2195d9),this['parseBasicServiceConfigs']&&this[_0x470dfa(0x15e)](_0x2195d9),this['parseBasicFormConfigs']&&this[_0x470dfa(0x13b)](_0x2195d9),this[_0x470dfa(0x160)]&&this[_0x470dfa(0x160)](_0x2195d9),this[_0x470dfa(0x14c)]&&this[_0x470dfa(0x14c)](_0x2195d9));}async[a0_0x295e60(0x175)](){const _0xd18ed7=a0_0x295e60;ValueUtil[_0xd18ed7(0x13e)](this[_0xd18ed7(0x14d)])?this['grist']['fetch']():(ValueUtil[_0xd18ed7(0x13e)](this[_0xd18ed7(0x14e)])||this[_0xd18ed7(0x169)])&&await this[_0xd18ed7(0x169)]();}async[a0_0x295e60(0x170)](_0x454beb,_0x3ad60d,_0x3b4200){const _0x4a0840=a0_0x295e60;let _0x2cad48=TermsUtil[_0x4a0840(0x154)](_0x454beb[_0x4a0840(0x16f)]);ValueUtil[_0x4a0840(0x13e)](_0x454beb[_0x4a0840(0x176)])&&(_0x2cad48=_0x2cad48+'-'+ValueUtil[_0x4a0840(0x161)](_0x3ad60d,..._0x454beb['title_detail'][_0x4a0840(0x156)]('.'))),MetaApi[_0x4a0840(0x178)](_0x2cad48,_0x454beb,_0x3ad60d,_0x3b4200);}async[a0_0x295e60(0x165)](_0x52ef36,_0x1f69c2,_0x4998d2){const _0x33bfb9=a0_0x295e60;let _0x39cf0f=await MetaApi[_0x33bfb9(0x15a)](_0x52ef36[_0x33bfb9(0x16e)],_0x52ef36[_0x33bfb9(0x16e)],_0x1f69c2);!0x1!==_0x39cf0f&&!_0x39cf0f['errors']&&ValueUtil[_0x33bfb9(0x13e)](_0x52ef36[_0x33bfb9(0x151)])&&_0x4998d2();}[a0_0x295e60(0x163)](_0x5c4fdf){const _0x304417=a0_0x295e60;this[_0x304417(0x15b)]=_0x5c4fdf,this[_0x304417(0x175)]();}};