@things-factory/meta-ui 6.0.150 → 6.0.152

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 (87) 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 +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  13. package/client/mixin/meta-button-mixin.js +1 -1
  14. package/client/mixin/meta-form-mixin.js +1 -1
  15. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  16. package/client/mixin/meta-main-tab-mixin.js +1 -1
  17. package/client/mixin/meta-master-detail-mixin.js +1 -1
  18. package/client/mixin/meta-service-mixin.js +1 -1
  19. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  20. package/client/mixin/meta-tab-mixin.js +1 -1
  21. package/client/pages/activity/meta-activity-list-page.js +6 -6
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +29 -29
  26. package/client/pages/entity/main-menu-selector.js +7 -7
  27. package/client/pages/history/history-copy-list-popup.js +6 -6
  28. package/client/pages/history/history-json-list-popup.js +5 -5
  29. package/client/pages/loading-page.js +5 -5
  30. package/client/pages/menu/dynamic-menu-template.js +7 -7
  31. package/client/pages/menu/dynamic-menu.js +15 -15
  32. package/client/pages/meta-form-element.js +1 -1
  33. package/client/pages/meta-grist-element.js +1 -1
  34. package/client/pages/meta-grist-page.js +1 -1
  35. package/client/pages/meta-grist-tab-element.js +1 -1
  36. package/client/pages/meta-grist-tab-page.js +1 -1
  37. package/client/pages/meta-main-tab-element.js +1 -1
  38. package/client/pages/meta-main-tab-page.js +1 -1
  39. package/client/pages/meta-master-detail-element.js +1 -1
  40. package/client/pages/meta-master-detail-page.js +1 -1
  41. package/client/pages/meta-tab-detail-element.js +1 -1
  42. package/client/pages/meta-tab-detail-page.js +1 -1
  43. package/client/pages/meta-tab-element.js +1 -1
  44. package/client/pages/personalize/personal-column-selector.js +11 -11
  45. package/client/pages/terms/config-terminology.js +6 -6
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +103 -103
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +11 -11
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +2 -2
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize.js +1 -1
  71. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  72. package/server/service/meta-activity/meta-activity-query.js +1 -1
  73. package/server/service/meta-activity/meta-activity-type.js +1 -1
  74. package/server/service/meta-secret/meta-resolver.js +1 -1
  75. package/server/service/set-translations/set-translation-resolver.js +1 -1
  76. package/server/service/work-code/work-code-mutation.js +1 -1
  77. package/server/service/work-code/work-code-query.js +1 -1
  78. package/server/service/work-code/work-code-type.js +1 -1
  79. package/server/service/work-code/work-code.js +1 -1
  80. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail.js +1 -1
  84. package/translations/en.json +1 -0
  85. package/translations/ko.json +1 -0
  86. package/translations/ms.json +1 -0
  87. package/translations/zh.json +1 -0
@@ -1,7 +1,7 @@
1
- const a0_0x12ea5b=a0_0xd788;(function(_0x36a17f,_0x20a412){const _0xa852fd=a0_0xd788,_0x5b0153=_0x36a17f();while(!![]){try{const _0x28c94d=parseInt(_0xa852fd(0x95))/0x1*(parseInt(_0xa852fd(0x85))/0x2)+parseInt(_0xa852fd(0x89))/0x3*(parseInt(_0xa852fd(0x8e))/0x4)+-parseInt(_0xa852fd(0x80))/0x5+-parseInt(_0xa852fd(0x83))/0x6*(-parseInt(_0xa852fd(0x8d))/0x7)+-parseInt(_0xa852fd(0x77))/0x8+parseInt(_0xa852fd(0x82))/0x9*(parseInt(_0xa852fd(0x8a))/0xa)+parseInt(_0xa852fd(0x87))/0xb*(parseInt(_0xa852fd(0x81))/0xc);if(_0x28c94d===_0x20a412)break;else _0x5b0153['push'](_0x5b0153['shift']());}catch(_0x7a7aef){_0x5b0153['push'](_0x5b0153['shift']());}}}(a0_0x5b7b,0xdbd35));function a0_0xd788(_0x59a067,_0x2f39e9){const _0x5b7b87=a0_0x5b7b();return a0_0xd788=function(_0xd78810,_0x8ee244){_0xd78810=_0xd78810-0x77;let _0x4bb0ce=_0x5b7b87[_0xd78810];return _0x4bb0ce;},a0_0xd788(_0x59a067,_0x2f39e9);}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x4da1e4 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_0x12ea5b(0x8b);export const UPDATE_META_MENU_TEMPLATE=a0_0x12ea5b(0x8c);function a0_0x5b7b(){const _0xd71704=['active','dynamic-menu-part','dynamic-menu','landscape','39971Hacsrf','querySelector','9016760WnIAVy','FRONT_END','value','hamburger','appName','NAVBAR','filter','content','data','5579010vsGeFX','10534932KcwQbE','27801DeITvg','12xUzZLv','dispatch','2yxaRsM','HEADERBAR','22XYoqZI','portrait','1029ZeTvFN','1730DLmhMn','UPDATE_META_UI','UPDATE_META_MENU_TEMPLATE','485709JpVdbJ','7864CZewwT','items','meta[name=\x22application-name\x22]'];a0_0x5b7b=function(){return _0xd71704;};return a0_0x5b7b();}var HAMBURGER;export async function setupMenuPart(_0x36f4a1){const _0x1351f1=a0_0x12ea5b;var {hovering:_0xa9c1e7=!!isMobileDevice(),slotTemplate:_0x563d2c,portraitSlotTemplate:_0x4593e8,landscapeSlotTemplate:_0xf1c37,position:_0x5a0c95=VIEWPART_POSITION[_0x1351f1(0x7c)]}=_0x36f4a1||{};const {hovering:_0x296814}=(await clientSettingStore['get'](_0x1351f1(0x93)))?.[_0x1351f1(0x79)]||{};void 0x0!==_0x296814&&(_0xa9c1e7=_0x296814);const _0x270d17=_0x5a0c95==VIEWPART_POSITION[_0x1351f1(0x86)]?_0x1351f1(0x94):_0x1351f1(0x88),_0x3acf77=(_0x1351f1(0x94)==_0x270d17?_0xf1c37:_0x4593e8)||_0x563d2c||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0xa9c1e7,'resizable':!0x0,'hovering':!!isMobileDevice()||_0xa9c1e7,'template':html`<dynamic-menu-part .orientation=${_0x270d17}>${_0x3acf77}</dynamic-menu-part>`},'position':_0x5a0c95}),_0xa9c1e7&&'portrait'==_0x270d17?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
- <mwc-icon @click=${_0x50ada1=>toggleOverlay(_0x1351f1(0x92),{'backdrop':!0x0})}
1
+ const a0_0x27a8c7=a0_0x303d;(function(_0x3df168,_0x3d3e6d){const _0x4b2664=a0_0x303d,_0x15bff9=_0x3df168();while(!![]){try{const _0x422e35=parseInt(_0x4b2664(0x12c))/0x1+-parseInt(_0x4b2664(0x13e))/0x2+parseInt(_0x4b2664(0x13b))/0x3+parseInt(_0x4b2664(0x134))/0x4*(-parseInt(_0x4b2664(0x13f))/0x5)+parseInt(_0x4b2664(0x12a))/0x6*(-parseInt(_0x4b2664(0x128))/0x7)+parseInt(_0x4b2664(0x12d))/0x8+parseInt(_0x4b2664(0x129))/0x9;if(_0x422e35===_0x3d3e6d)break;else _0x15bff9['push'](_0x15bff9['shift']());}catch(_0xd4609a){_0x15bff9['push'](_0x15bff9['shift']());}}}(a0_0x50f2,0xbfff5));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x446190 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';function a0_0x50f2(){const _0x2e9df7=['HEADERBAR','filter','2907482AvfCGU','85UVRiHN','lite-menu-part','portrait','liteMenus','NAVBAR','UPDATE_META_MENU_TEMPLATE','query','252pvNhoS','4042089iPNRDJ','121422IlezFh','data','1421249xpvHjQ','2237440olEOdH','hamburger','dynamic-menu-part','rank','UPDATE_META_UI','dispatch','get','118276uPbbZC','appName','content','dynamic-menu','querySelector','landscape','meta[name=\x22application-name\x22]','3963951edwLMc'];a0_0x50f2=function(){return _0x2e9df7;};return a0_0x50f2();}import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x27a8c7(0x131);export const UPDATE_META_MENU_TEMPLATE=a0_0x27a8c7(0x126);function a0_0x303d(_0x31502e,_0x63f8ae){const _0x50f20=a0_0x50f2();return a0_0x303d=function(_0x303dbd,_0x310a6d){_0x303dbd=_0x303dbd-0x125;let _0x416f9e=_0x50f20[_0x303dbd];return _0x416f9e;},a0_0x303d(_0x31502e,_0x63f8ae);}var HAMBURGER;export async function setupMenuPart(_0x456433){const _0x149aeb=a0_0x27a8c7;var {hovering:_0x46a03a=!!isMobileDevice(),slotTemplate:_0x4850ae,portraitSlotTemplate:_0x5268c2,landscapeSlotTemplate:_0x469984,position:_0x47acfe=VIEWPART_POSITION[_0x149aeb(0x125)]}=_0x456433||{};const {hovering:_0x373b8f}=(await clientSettingStore[_0x149aeb(0x133)](_0x149aeb(0x137)))?.['value']||{};void 0x0!==_0x373b8f&&(_0x46a03a=_0x373b8f);const _0x24c32e=_0x47acfe==VIEWPART_POSITION[_0x149aeb(0x13c)]?_0x149aeb(0x139):_0x149aeb(0x141),_0x36e12a=(_0x149aeb(0x139)==_0x24c32e?_0x469984:_0x5268c2)||_0x4850ae||html``;appendViewpart({'name':_0x149aeb(0x140),'viewpart':{'show':!_0x46a03a,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x46a03a,'template':html`<dynamic-menu-part .orientation=${_0x24c32e}>${_0x36e12a}</dynamic-menu-part>`},'position':_0x47acfe}),_0x46a03a&&_0x149aeb(0x141)==_0x24c32e?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
+ <mwc-icon @click=${_0x3fe6e5=>toggleOverlay(_0x149aeb(0x12f),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x1351f1(0x78)]},store[_0x1351f1(0x84)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1351f1(0x84)]({'type':REMOVE_APP_TOOL,'name':_0x1351f1(0x7a)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x35b436){const _0x58a7eb=a0_0x12ea5b;var _0x45f665=document[_0x58a7eb(0x96)](_0x58a7eb(0x90))?.[_0x58a7eb(0x7e)],_0x1b0ff4=(await client['query']({'query':a0_0x4da1e4`
4
+ `,'position':TOOL_POSITION['FRONT_END']},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x149aeb(0x132)]({'type':REMOVE_APP_TOOL,'name':_0x149aeb(0x12e)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x4a9e74){const _0x143125=a0_0x27a8c7;var _0x1ef7e1=document[_0x143125(0x138)](_0x143125(0x13a))?.[_0x143125(0x136)],_0x18cf43=(await client[_0x143125(0x127)]({'query':a0_0x446190`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x12ea5b=a0_0xd788;(function(_0x36a17f,_0x20a412){const _0xa852fd=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x58a7eb(0x91),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x45f665]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x58a7eb(0x7f)]['liteMenus'][_0x58a7eb(0x8f)];store[_0x58a7eb(0x84)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1b0ff4[_0x58a7eb(0x7d)](_0x4e2e18=>!_0x4e2e18[_0x58a7eb(0x7b)]||_0x4e2e18[_0x58a7eb(0x7b)]===_0x45f665),'template':_0x35b436});}
23
+ `,'variables':{'filters':[{'name':'active','operator':'eq','value':!0x0},{'name':_0x143125(0x135),'operator':'in','value':['',_0x1ef7e1]}],'sortings':[{'name':_0x143125(0x130),'desc':!0x1}]}}))[_0x143125(0x12b)][_0x143125(0x142)]['items'];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x18cf43[_0x143125(0x13d)](_0x4a0c98=>!_0x4a0c98[_0x143125(0x135)]||_0x4a0c98[_0x143125(0x135)]===_0x1ef7e1),'template':_0x4a9e74});}
@@ -1,16 +1,16 @@
1
- function a0_0x4561(_0xca2b98,_0x59ff36){const _0x2ed0ed=a0_0x2ed0();return a0_0x4561=function(_0x456185,_0x2b1d05){_0x456185=_0x456185-0xe2;let _0x2f387d=_0x2ed0ed[_0x456185];return _0x2f387d;},a0_0x4561(_0xca2b98,_0x59ff36);}(function(_0x582a06,_0x3f1480){const _0x2cec72=a0_0x4561,_0x16b78b=_0x582a06();while(!![]){try{const _0x2bb92e=-parseInt(_0x2cec72(0xef))/0x1+-parseInt(_0x2cec72(0xe8))/0x2+parseInt(_0x2cec72(0xe4))/0x3+-parseInt(_0x2cec72(0xf7))/0x4+parseInt(_0x2cec72(0xe6))/0x5+-parseInt(_0x2cec72(0xea))/0x6+-parseInt(_0x2cec72(0xe5))/0x7*(-parseInt(_0x2cec72(0xe7))/0x8);if(_0x2bb92e===_0x3f1480)break;else _0x16b78b['push'](_0x16b78b['shift']());}catch(_0x41509a){_0x16b78b['push'](_0x16b78b['shift']());}}}(a0_0x2ed0,0x96510));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2ed0(){const _0x370446=['display','target','1105270ZrjDit','dispField','tagName','form\x20[name=\x22','name','selectorName','querySelector','large','3579632Hrqnir','toLowerCase','[name=\x22','filter','filter-change','codes','ox-grid-header','codeField','change','renderRoot','length','options','801024LwkZRP','1042363QFRqZV','1789175PiOfZF','176gWIihQ','1047236qzCvNo','tTitle','4568094EPbQAC','dispatchEvent','value'];a0_0x2ed0=function(){return _0x370446;};return a0_0x2ed0();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x2d7cc3,_0x1e1197,_0x3b4724){const _0x482411=a0_0x4561;var _0x4e8f2a=html`
1
+ (function(_0xfd7919,_0x438159){const _0x4c2a55=a0_0x4d1a,_0x31c06b=_0xfd7919();while(!![]){try{const _0x19dc53=-parseInt(_0x4c2a55(0x1c4))/0x1+parseInt(_0x4c2a55(0x1ac))/0x2*(-parseInt(_0x4c2a55(0x1b1))/0x3)+parseInt(_0x4c2a55(0x1bc))/0x4*(parseInt(_0x4c2a55(0x1b0))/0x5)+parseInt(_0x4c2a55(0x1b2))/0x6+-parseInt(_0x4c2a55(0x1ca))/0x7*(parseInt(_0x4c2a55(0x1b7))/0x8)+-parseInt(_0x4c2a55(0x1c2))/0x9*(-parseInt(_0x4c2a55(0x1c5))/0xa)+parseInt(_0x4c2a55(0x1ab))/0xb*(parseInt(_0x4c2a55(0x1b4))/0xc);if(_0x19dc53===_0x438159)break;else _0x31c06b['push'](_0x31c06b['shift']());}catch(_0x599253){_0x31c06b['push'](_0x31c06b['shift']());}}}(a0_0x510b,0x2d146));function a0_0x4d1a(_0x1602d4,_0x2b4088){const _0x510b0a=a0_0x510b();return a0_0x4d1a=function(_0x4d1a5a,_0x2baf26){_0x4d1a5a=_0x4d1a5a-0x1a8;let _0x157ec3=_0x510b0a[_0x4d1a5a];return _0x157ec3;},a0_0x4d1a(_0x1602d4,_0x2b4088);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x510b(){const _0x1a4321=['tTitle','filter','[name=\x22','tMenu','4529CCnuXy','select_item','options','dispField','11OiPUIO','306216yNwqIR','querySelector','dispatchEvent','length','35NIHPQk','3Mpdeal','834252QyPqTU','change','155748ezbnCk','large','renderRoot','552xXDyDr','value','codes','stopPropagation','ox-grid-header','165116XoAKhb','codeField','tagName','form\x20[name=\x22','selectorName','display','621grPulZ','name','123023RHVrKJ','9340xlOTaI'];a0_0x510b=function(){return _0x1a4321;};return a0_0x510b();}function openMetaCodeSelector(_0x1049e5,_0x5309c0,_0x1b2f07){const _0x42e062=a0_0x4d1a;var _0x2b944e=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x1e1197}
4
- .options=${_0x2d7cc3[_0x482411(0xe3)]}
5
- .confirmCallback=${_0x3b4724}
3
+ .value=${_0x5309c0}
4
+ .options=${_0x1049e5[_0x42e062(0x1a9)]}
5
+ .confirmCallback=${_0x1b2f07}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x4e8f2a,{'backdrop':!0x0,'size':_0x482411(0xf6),'title':_0x2d7cc3[_0x482411(0xe3)][_0x482411(0xf4)]?TermsUtil['tMenu'](_0x2d7cc3[_0x482411(0xe3)][_0x482411(0xf4)]):TermsUtil[_0x482411(0xe9)]('select_item')});}export const FilterFormMetaCodeSelect=(_0x420a62,_0x144e62,_0x543ee8)=>{const _0x2b6fd0=a0_0x4561,_0x3a77bf=_0x420a62[_0x2b6fd0(0xe3)],_0x5a1ae0=_0x3a77bf[_0x2b6fd0(0xfc)]&&_0x3a77bf['codes'][_0x2b6fd0(0xe2)]>0x0?_0x3a77bf[_0x2b6fd0(0xfc)]:void 0x0,{operator:_0x3b1e82='eq'}=_0x420a62;let _0x37066f=_0x144e62||'',_0x564a23=_0x144e62||'';if(_0x3a77bf[_0x2b6fd0(0xf0)]&&_0x144e62&&_0x5a1ae0){let _0xdb1ec5=_0x5a1ae0[_0x2b6fd0(0xfa)](_0x92be64=>_0x92be64[_0x2b6fd0(0xec)]==_0x144e62);_0xdb1ec5&&_0xdb1ec5['length']>0x0&&(_0x564a23=_0xdb1ec5[0x0][_0x2b6fd0(0xed)]);}return'eq'===_0x3b1e82?html`
8
- <input name='${_0x420a62[_0x2b6fd0(0xf3)]}' .value=${_0x37066f} type="text" hidden></input>
7
+ `;openPopup(_0x2b944e,{'backdrop':!0x0,'size':_0x42e062(0x1b5),'title':_0x1049e5[_0x42e062(0x1a9)][_0x42e062(0x1c0)]?TermsUtil[_0x42e062(0x1c9)](_0x1049e5[_0x42e062(0x1a9)][_0x42e062(0x1c0)]):TermsUtil[_0x42e062(0x1c6)](_0x42e062(0x1a8))});}export const FilterFormMetaCodeSelect=(_0x475a5c,_0x5bbff6,_0x13ae64)=>{const _0x2ff09e=a0_0x4d1a,_0x11604f=_0x475a5c[_0x2ff09e(0x1a9)],_0x1a9d39=_0x11604f[_0x2ff09e(0x1b9)]&&_0x11604f[_0x2ff09e(0x1b9)]['length']>0x0?_0x11604f['codes']:void 0x0,{operator:_0x1dace3='eq'}=_0x475a5c;let _0xe577bd=_0x5bbff6||'',_0x2ad95f=_0x5bbff6||'';if(_0x11604f[_0x2ff09e(0x1aa)]&&_0x5bbff6&&_0x1a9d39){let _0x37aa62=_0x1a9d39[_0x2ff09e(0x1c7)](_0x33031e=>_0x33031e[_0x2ff09e(0x1b8)]==_0x5bbff6);_0x37aa62&&_0x37aa62[_0x2ff09e(0x1af)]>0x0&&(_0x2ad95f=_0x37aa62[0x0][_0x2ff09e(0x1c1)]);}return'eq'===_0x1dace3?html`
8
+ <input name='${_0x475a5c['name']}' .value=${_0xe577bd} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x420a62['name']}_disp'
13
- .value=${_0x564a23}
14
- @click=${_0x5ea333=>{const _0xc2150a=_0x2b6fd0;_0x5ea333['stopPropagation']();const _0x47a4bc=_0x5ea333[_0xc2150a(0xee)];openMetaCodeSelector(_0x420a62,_0x144e62,_0x16eb25=>{const _0x30e233=_0xc2150a;let _0x3c4097=_0x16eb25?_0x16eb25[_0x3a77bf[_0x30e233(0xfe)]]:'',_0x1938d9=_0x3c4097;_0x16eb25&&_0x3a77bf[_0x30e233(0xf0)]&&(_0x1938d9=_0x16eb25[_0x3a77bf[_0x30e233(0xf0)]]),_0x47a4bc[_0x30e233(0xec)]=_0x1938d9,(_0x30e233(0xfd)==_0x543ee8[_0x30e233(0xf1)][_0x30e233(0xf8)]()?_0x543ee8[_0x30e233(0x100)][_0x30e233(0xf5)](_0x30e233(0xf9)+_0x420a62['name']+'\x22]'):_0x543ee8['renderRoot'][_0x30e233(0xf5)](_0x30e233(0xf2)+_0x420a62[_0x30e233(0xf3)]+'\x22]'))['value']=_0x3c4097,_0x47a4bc[_0x30e233(0xeb)](new Event(_0x30e233(0xff),{'bubbles':!0x0})),_0x47a4bc[_0x30e233(0xeb)](new CustomEvent(_0x30e233(0xfb),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x420a62['name'],'operator':_0x3b1e82,'value':_0x3c4097}}));});}}
12
+ name='${_0x475a5c[_0x2ff09e(0x1c3)]}_disp'
13
+ .value=${_0x2ad95f}
14
+ @click=${_0x5c22e1=>{const _0x1a2611=_0x2ff09e;_0x5c22e1[_0x1a2611(0x1ba)]();const _0x962caf=_0x5c22e1['target'];openMetaCodeSelector(_0x475a5c,_0x5bbff6,_0x3b0c2f=>{const _0x3ce933=_0x1a2611;let _0x217e48=_0x3b0c2f?_0x3b0c2f[_0x11604f[_0x3ce933(0x1bd)]]:'',_0x1e39ac=_0x217e48;_0x3b0c2f&&_0x11604f['dispField']&&(_0x1e39ac=_0x3b0c2f[_0x11604f['dispField']]),_0x962caf[_0x3ce933(0x1b8)]=_0x1e39ac,(_0x3ce933(0x1bb)==_0x13ae64[_0x3ce933(0x1be)]['toLowerCase']()?_0x13ae64[_0x3ce933(0x1b6)][_0x3ce933(0x1ad)](_0x3ce933(0x1c8)+_0x475a5c[_0x3ce933(0x1c3)]+'\x22]'):_0x13ae64[_0x3ce933(0x1b6)]['querySelector'](_0x3ce933(0x1bf)+_0x475a5c[_0x3ce933(0x1c3)]+'\x22]'))[_0x3ce933(0x1b8)]=_0x217e48,_0x962caf[_0x3ce933(0x1ae)](new Event(_0x3ce933(0x1b3),{'bubbles':!0x0})),_0x962caf[_0x3ce933(0x1ae)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x475a5c['name'],'operator':_0x1dace3,'value':_0x217e48}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x517be9,_0x330271){const _0x4070d0=a0_0x9969,_0x400294=_0x517be9();while(!![]){try{const _0x185cf7=-parseInt(_0x4070d0(0x1d8))/0x1*(parseInt(_0x4070d0(0x1d9))/0x2)+parseInt(_0x4070d0(0x1ce))/0x3+-parseInt(_0x4070d0(0x1d1))/0x4+parseInt(_0x4070d0(0x1de))/0x5+parseInt(_0x4070d0(0x1c7))/0x6*(-parseInt(_0x4070d0(0x1d4))/0x7)+parseInt(_0x4070d0(0x1cb))/0x8+-parseInt(_0x4070d0(0x1cc))/0x9*(-parseInt(_0x4070d0(0x1d2))/0xa);if(_0x185cf7===_0x330271)break;else _0x400294['push'](_0x400294['shift']());}catch(_0x3e8c22){_0x400294['push'](_0x400294['shift']());}}}(a0_0xd32d,0xbd858));import'../selector/meta-object-selector-popup';function a0_0x9969(_0x16bd10,_0x2aec0f){const _0xd32d86=a0_0xd32d();return a0_0x9969=function(_0x996924,_0x361a4e){_0x996924=_0x996924-0x1c2;let _0x5e15e0=_0xd32d86[_0x996924];return _0x5e15e0;},a0_0x9969(_0x16bd10,_0x2aec0f);}function a0_0xd32d(){const _0x40ca48=['querySelector','stopPropagation','3XbbitA','6134yywzVl','large','tTitle','ox-grid-header','name','1868735SuMRzJ','change','dispatchEvent','selectorName','target','[name=\x22','4425090oyHFcC','options','value','tagName','406136GelPsK','9mQhzKJ','filter-change','4518057rYVQSB','nameField','renderRoot','1563324mZyYkI','7208090tzuRac','form\x20[name=\x22','14FTZhyb','tMenu'];a0_0xd32d=function(){return _0x40ca48;};return a0_0xd32d();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x3d1b77,_0x4d4e0f,_0x17ceaa){const _0x588681=a0_0x9969;var _0x475b97=html`
1
+ (function(_0x4d4ce5,_0x56c288){const _0x4f653d=a0_0x3228,_0x2ba0ca=_0x4d4ce5();while(!![]){try{const _0x4a52a2=-parseInt(_0x4f653d(0xed))/0x1+parseInt(_0x4f653d(0xe7))/0x2+-parseInt(_0x4f653d(0xe3))/0x3*(parseInt(_0x4f653d(0xd7))/0x4)+parseInt(_0x4f653d(0xe0))/0x5+parseInt(_0x4f653d(0xe5))/0x6*(-parseInt(_0x4f653d(0xef))/0x7)+-parseInt(_0x4f653d(0xdc))/0x8*(parseInt(_0x4f653d(0xd6))/0x9)+parseInt(_0x4f653d(0xee))/0xa;if(_0x4a52a2===_0x56c288)break;else _0x2ba0ca['push'](_0x2ba0ca['shift']());}catch(_0xba2323){_0x2ba0ca['push'](_0x2ba0ca['shift']());}}}(a0_0x4928,0x5df14));import'../selector/meta-object-selector-popup';function a0_0x4928(){const _0x5273d9=['7ynkoeC','nameField','toLowerCase','52650MVNQcR','32uOEbwK','stopPropagation','target','name','options','80UXYCKx','tTitle','[name=\x22','tagName','2240775BpEgav','querySelector','selectorName','268206qGnIxP','ox-grid-header','4467486oPowJB','value','502586dRFcUc','tMenu','change','renderRoot','dispatchEvent','filter-change','637526EwmwRN','18411630tAcwzV'];a0_0x4928=function(){return _0x5273d9;};return a0_0x4928();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x4b32c7,_0x1f9d81,_0x4ed960){const _0x3bcacc=a0_0x3228;var _0x17aaf1=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x4d4e0f}
4
- .options=${_0x3d1b77['options']}
5
- .confirmCallback=${_0x17ceaa}
3
+ .value=${_0x1f9d81}
4
+ .options=${_0x4b32c7['options']}
5
+ .confirmCallback=${_0x4ed960}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x475b97,{'backdrop':!0x0,'size':_0x588681(0x1da),'title':_0x3d1b77[_0x588681(0x1c8)][_0x588681(0x1c4)]?TermsUtil[_0x588681(0x1d5)](_0x3d1b77[_0x588681(0x1c8)][_0x588681(0x1c4)]):TermsUtil[_0x588681(0x1db)]('select_item')});}export const FilterFormMetaObjectSelect=(_0x12b155,_0x455935,_0x27c369)=>{const _0x559303=a0_0x9969,_0x277fcd=_0x12b155[_0x559303(0x1c8)],{operator:_0x1c6bfc='eq'}=_0x12b155;let _0x40e69a=_0x455935?_0x455935['id']:'',_0x1689ec=_0x455935?_0x455935[_0x277fcd[_0x559303(0x1cf)]]:'';return'eq'===_0x1c6bfc?html`
8
- <input name='${_0x12b155[_0x559303(0x1dd)]}' .value=${_0x40e69a} type="text" hidden></input>
7
+ `;openPopup(_0x17aaf1,{'backdrop':!0x0,'size':'large','title':_0x4b32c7[_0x3bcacc(0xdb)]['selectorName']?TermsUtil[_0x3bcacc(0xe8)](_0x4b32c7[_0x3bcacc(0xdb)][_0x3bcacc(0xe2)]):TermsUtil[_0x3bcacc(0xdd)]('select_item')});}function a0_0x3228(_0x1dfb5c,_0x4900a1){const _0x492866=a0_0x4928();return a0_0x3228=function(_0x322862,_0x4108f8){_0x322862=_0x322862-0xd6;let _0x4b9035=_0x492866[_0x322862];return _0x4b9035;},a0_0x3228(_0x1dfb5c,_0x4900a1);}export const FilterFormMetaObjectSelect=(_0x4cd8a3,_0x45564c,_0x4f36ef)=>{const _0x223c00=a0_0x3228,_0x9c703f=_0x4cd8a3[_0x223c00(0xdb)],{operator:_0x417a5c='eq'}=_0x4cd8a3;let _0x569597=_0x45564c?_0x45564c['id']:'',_0x5e7300=_0x45564c?_0x45564c[_0x9c703f[_0x223c00(0xf0)]]:'';return'eq'===_0x417a5c?html`
8
+ <input name='${_0x4cd8a3['name']}' .value=${_0x569597} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x12b155[_0x559303(0x1dd)]}_disp'
13
- .value=${_0x1689ec}
14
- @click=${_0x355033=>{const _0xfcfbf1=_0x559303;_0x355033[_0xfcfbf1(0x1d7)]();const _0x14dd29=_0x355033[_0xfcfbf1(0x1c5)];openMetaObjectSelector(_0x12b155,_0x455935,_0x5b7e50=>{const _0x46e103=_0xfcfbf1;let _0x412fa8=_0x5b7e50?_0x5b7e50['id']:'',_0x30b22d=_0x5b7e50?_0x5b7e50[_0x277fcd[_0x46e103(0x1cf)]]:'';_0x14dd29['value']=_0x30b22d,(_0x46e103(0x1dc)==_0x27c369[_0x46e103(0x1ca)]['toLowerCase']()?_0x27c369[_0x46e103(0x1d0)][_0x46e103(0x1d6)](_0x46e103(0x1c6)+_0x12b155['name']+'\x22]'):_0x27c369[_0x46e103(0x1d0)][_0x46e103(0x1d6)](_0x46e103(0x1d3)+_0x12b155['name']+'\x22]'))[_0x46e103(0x1c9)]=_0x412fa8,_0x14dd29['dispatchEvent'](new Event(_0x46e103(0x1c2),{'bubbles':!0x0})),_0x14dd29[_0x46e103(0x1c3)](new CustomEvent(_0x46e103(0x1cd),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x12b155[_0x46e103(0x1dd)],'operator':_0x1c6bfc,'value':_0x412fa8}}));});}}
12
+ name='${_0x4cd8a3[_0x223c00(0xda)]}_disp'
13
+ .value=${_0x5e7300}
14
+ @click=${_0x1f8b6c=>{const _0x286cbf=_0x223c00;_0x1f8b6c[_0x286cbf(0xd8)]();const _0x81abaa=_0x1f8b6c[_0x286cbf(0xd9)];openMetaObjectSelector(_0x4cd8a3,_0x45564c,_0x293543=>{const _0x16d449=_0x286cbf;let _0x3cd017=_0x293543?_0x293543['id']:'',_0x2d8804=_0x293543?_0x293543[_0x9c703f['nameField']]:'';_0x81abaa[_0x16d449(0xe6)]=_0x2d8804,(_0x16d449(0xe4)==_0x4f36ef[_0x16d449(0xdf)][_0x16d449(0xf1)]()?_0x4f36ef[_0x16d449(0xea)][_0x16d449(0xe1)](_0x16d449(0xde)+_0x4cd8a3[_0x16d449(0xda)]+'\x22]'):_0x4f36ef['renderRoot'][_0x16d449(0xe1)]('form\x20[name=\x22'+_0x4cd8a3[_0x16d449(0xda)]+'\x22]'))[_0x16d449(0xe6)]=_0x3cd017,_0x81abaa[_0x16d449(0xeb)](new Event(_0x16d449(0xe9),{'bubbles':!0x0})),_0x81abaa[_0x16d449(0xeb)](new CustomEvent(_0x16d449(0xec),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4cd8a3[_0x16d449(0xda)],'operator':_0x417a5c,'value':_0x3cd017}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x2eb7f8,_0x5763f6){const _0x3f1dec=a0_0x52a6,_0x3579dc=_0x2eb7f8();while(!![]){try{const _0x5cb875=-parseInt(_0x3f1dec(0x1e7))/0x1*(parseInt(_0x3f1dec(0x1ea))/0x2)+-parseInt(_0x3f1dec(0x1f8))/0x3*(parseInt(_0x3f1dec(0x1f1))/0x4)+parseInt(_0x3f1dec(0x1ec))/0x5*(-parseInt(_0x3f1dec(0x1fd))/0x6)+-parseInt(_0x3f1dec(0x203))/0x7*(-parseInt(_0x3f1dec(0x1ed))/0x8)+parseInt(_0x3f1dec(0x1e4))/0x9+parseInt(_0x3f1dec(0x1f2))/0xa*(-parseInt(_0x3f1dec(0x1e6))/0xb)+parseInt(_0x3f1dec(0x202))/0xc;if(_0x5cb875===_0x5763f6)break;else _0x3579dc['push'](_0x3579dc['shift']());}catch(_0x282cba){_0x3579dc['push'](_0x3579dc['shift']());}}}(a0_0x2d2a,0xe333a));function a0_0x2d2a(){const _0x3a9ebc=['length','29097600MQUCoR','899948LmAUXg','codeField','codes','renderRoot','filter','5899689hZAfEI','ox-grid-header','37554Ginmrc','1luBLpv','tTitle','dispatchEvent','2911876TgxCXM','large','25tGcMFO','104bqEYbr','selectorName','toLowerCase','dispField','4WNUjMx','3530NLizlV','tMenu','tagName','name','querySelector','record','1870410YEFVHS','display','[name=\x22','value','filter-change','643782HqHwLQ','target','options','select_item'];a0_0x2d2a=function(){return _0x3a9ebc;};return a0_0x2d2a();}function a0_0x52a6(_0x29bbbd,_0x25e428){const _0x2d2a52=a0_0x2d2a();return a0_0x52a6=function(_0x52a6c3,_0x3a855f){_0x52a6c3=_0x52a6c3-0x1e1;let _0x45e6ea=_0x2d2a52[_0x52a6c3];return _0x45e6ea;},a0_0x52a6(_0x29bbbd,_0x25e428);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x4a3599,_0x6157b3,_0x396eb3){const _0xc87263=a0_0x52a6;var _0x482d63=html`
1
+ function a0_0xa791(){const _0x449942=['dispatchEvent','display','options','target','2928375cUSOWU','24wJedjq','large','8948223iscJcj','11vedrHy','14548FiChEQ','filter','stopPropagation','querySelector','25046NvAVzG','19087870zaaVkF','length','renderRoot','tagName','70VODzeL','form\x20[name=\x22','3969558DKSkJD','toLowerCase','dispField','record','[name=\x22','ox-grid-header','value','452njmrLv','change','name','8045OchDgL','selectorName','codes'];a0_0xa791=function(){return _0x449942;};return a0_0xa791();}(function(_0x17ab04,_0x229ebb){const _0x53735a=a0_0x2bde,_0x52793b=_0x17ab04();while(!![]){try{const _0x6d0520=-parseInt(_0x53735a(0x123))/0x1*(parseInt(_0x53735a(0x10b))/0x2)+-parseInt(_0x53735a(0x11e))/0x3+-parseInt(_0x53735a(0x114))/0x4*(parseInt(_0x53735a(0x117))/0x5)+-parseInt(_0x53735a(0x10d))/0x6+-parseInt(_0x53735a(0x127))/0x7*(parseInt(_0x53735a(0x11f))/0x8)+parseInt(_0x53735a(0x121))/0x9+parseInt(_0x53735a(0x128))/0xa*(parseInt(_0x53735a(0x122))/0xb);if(_0x6d0520===_0x229ebb)break;else _0x52793b['push'](_0x52793b['shift']());}catch(_0x5bbea3){_0x52793b['push'](_0x52793b['shift']());}}}(a0_0xa791,0x89981));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2bde(_0x22ee18,_0x1e24eb){const _0xa79116=a0_0xa791();return a0_0x2bde=function(_0x2bde17,_0x5ab475){_0x2bde17=_0x2bde17-0x10b;let _0x5653d7=_0xa79116[_0x2bde17];return _0x5653d7;},a0_0x2bde(_0x22ee18,_0x1e24eb);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x894601,_0xadf8c0,_0x52e1d8){const _0x5244be=a0_0x2bde;var _0x51e855=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x6157b3}
4
- .options=${_0x4a3599[_0xc87263(0x1f7)]['options']}
5
- .confirmCallback=${_0x396eb3}
3
+ .value=${_0xadf8c0}
4
+ .options=${_0x894601['record'][_0x5244be(0x11c)]}
5
+ .confirmCallback=${_0x52e1d8}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x482d63,{'backdrop':!0x0,'size':_0xc87263(0x1eb),'title':_0x4a3599['record'][_0xc87263(0x1ff)][_0xc87263(0x1ee)]?TermsUtil[_0xc87263(0x1f3)](_0x4a3599[_0xc87263(0x1f7)][_0xc87263(0x1ff)]['selectorName']):TermsUtil[_0xc87263(0x1e8)](_0xc87263(0x200))});}export const FilterGristMetaCodeSelect=(_0x4c4d69,_0x8e8886,_0x6a0bc4)=>{const _0x3dffa9=a0_0x52a6,_0x49a2a0=_0x4c4d69[_0x3dffa9(0x1e3)],_0x265f41=_0x4c4d69[_0x3dffa9(0x1f7)][_0x3dffa9(0x1ff)],_0x5e7e62=_0x265f41[_0x3dffa9(0x1e1)]&&_0x265f41['codes'][_0x3dffa9(0x201)]>0x0?_0x265f41['codes']:void 0x0,{operator:_0x3c1396='eq'}=_0x49a2a0;let _0x50cc1f=_0x8e8886||'',_0x25f251=_0x8e8886||'';if(_0x265f41[_0x3dffa9(0x1f0)]&&_0x8e8886&&_0x5e7e62){let _0x2031fb=_0x5e7e62[_0x3dffa9(0x1e3)](_0x3a8848=>_0x3a8848[_0x3dffa9(0x1fb)]==_0x8e8886);_0x2031fb&&_0x2031fb[_0x3dffa9(0x201)]>0x0&&(_0x25f251=_0x2031fb[0x0][_0x3dffa9(0x1f9)]);}return'eq'===_0x3c1396?html`
8
- <input name='${_0x4c4d69['name']}' .value=${_0x50cc1f} type="text" hidden></input>
7
+ `;openPopup(_0x51e855,{'backdrop':!0x0,'size':_0x5244be(0x120),'title':_0x894601[_0x5244be(0x110)]['options']['selectorName']?TermsUtil['tMenu'](_0x894601['record']['options'][_0x5244be(0x118)]):TermsUtil['tTitle']('select_item')});}export const FilterGristMetaCodeSelect=(_0x3103a5,_0xce81a9,_0x29d1ee)=>{const _0x245114=a0_0x2bde,_0x281c0a=_0x3103a5[_0x245114(0x124)],_0x395331=_0x3103a5[_0x245114(0x110)][_0x245114(0x11c)],_0x5bcabd=_0x395331[_0x245114(0x119)]&&_0x395331[_0x245114(0x119)][_0x245114(0x129)]>0x0?_0x395331['codes']:void 0x0,{operator:_0x47102c='eq'}=_0x281c0a;let _0x508a62=_0xce81a9||'',_0x21319a=_0xce81a9||'';if(_0x395331[_0x245114(0x10f)]&&_0xce81a9&&_0x5bcabd){let _0x414862=_0x5bcabd['filter'](_0x2d6bf3=>_0x2d6bf3[_0x245114(0x113)]==_0xce81a9);_0x414862&&_0x414862['length']>0x0&&(_0x21319a=_0x414862[0x0][_0x245114(0x11b)]);}return'eq'===_0x47102c?html`
8
+ <input name='${_0x3103a5['name']}' .value=${_0x508a62} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x4c4d69[_0x3dffa9(0x1f5)]}_disp'
13
- .value=${_0x25f251}
14
- @click=${_0x4e12b2=>{const _0x4c25b5=_0x3dffa9;_0x4e12b2['stopPropagation']();const _0x6cc10f=_0x4e12b2[_0x4c25b5(0x1fe)];openMetaCodeSelector(_0x4c4d69,_0x8e8886,_0x3d8fae=>{const _0xe64d54=_0x4c25b5;let _0x5957cd=_0x3d8fae?_0x3d8fae[_0x265f41[_0xe64d54(0x204)]]:'',_0x4c7b0b=_0x5957cd;_0x3d8fae&&_0x265f41[_0xe64d54(0x1f0)]&&(_0x4c7b0b=_0x3d8fae[_0x265f41['dispField']]),_0x6cc10f['value']=_0x4c7b0b,(_0xe64d54(0x1e5)==_0x6a0bc4[_0xe64d54(0x1f4)][_0xe64d54(0x1ef)]()?_0x6a0bc4[_0xe64d54(0x1e2)][_0xe64d54(0x1f6)](_0xe64d54(0x1fa)+_0x49a2a0[_0xe64d54(0x1f5)]+'\x22]'):_0x6a0bc4[_0xe64d54(0x1e2)][_0xe64d54(0x1f6)]('form\x20[name=\x22'+_0x49a2a0['name']+'\x22]'))[_0xe64d54(0x1fb)]=_0x5957cd,_0x6cc10f[_0xe64d54(0x1e9)](new Event('change',{'bubbles':!0x0})),_0x6cc10f[_0xe64d54(0x1e9)](new CustomEvent(_0xe64d54(0x1fc),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4c4d69[_0xe64d54(0x1f5)],'operator':_0x3c1396,'value':_0x5957cd}}));});}}
12
+ name='${_0x3103a5['name']}_disp'
13
+ .value=${_0x21319a}
14
+ @click=${_0x1e4e7e=>{const _0x1823b9=_0x245114;_0x1e4e7e[_0x1823b9(0x125)]();const _0xf28a1d=_0x1e4e7e[_0x1823b9(0x11d)];openMetaCodeSelector(_0x3103a5,_0xce81a9,_0x1262df=>{const _0x37391a=_0x1823b9;let _0x22a8e0=_0x1262df?_0x1262df[_0x395331['codeField']]:'',_0x1daf87=_0x22a8e0;_0x1262df&&_0x395331[_0x37391a(0x10f)]&&(_0x1daf87=_0x1262df[_0x395331[_0x37391a(0x10f)]]),_0xf28a1d[_0x37391a(0x113)]=_0x1daf87,(_0x37391a(0x112)==_0x29d1ee[_0x37391a(0x12b)][_0x37391a(0x10e)]()?_0x29d1ee[_0x37391a(0x12a)][_0x37391a(0x126)](_0x37391a(0x111)+_0x281c0a[_0x37391a(0x116)]+'\x22]'):_0x29d1ee[_0x37391a(0x12a)][_0x37391a(0x126)](_0x37391a(0x10c)+_0x281c0a[_0x37391a(0x116)]+'\x22]'))[_0x37391a(0x113)]=_0x22a8e0,_0xf28a1d['dispatchEvent'](new Event(_0x37391a(0x115),{'bubbles':!0x0})),_0xf28a1d[_0x37391a(0x11a)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3103a5[_0x37391a(0x116)],'operator':_0x47102c,'value':_0x22a8e0}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x292173,_0x544d32){const _0x497ef5=a0_0x99f7,_0x5415e6=_0x292173();while(!![]){try{const _0x5b691f=parseInt(_0x497ef5(0x187))/0x1+-parseInt(_0x497ef5(0x16f))/0x2+-parseInt(_0x497ef5(0x18a))/0x3*(parseInt(_0x497ef5(0x18d))/0x4)+-parseInt(_0x497ef5(0x16e))/0x5+-parseInt(_0x497ef5(0x184))/0x6*(-parseInt(_0x497ef5(0x180))/0x7)+parseInt(_0x497ef5(0x17f))/0x8*(-parseInt(_0x497ef5(0x171))/0x9)+parseInt(_0x497ef5(0x172))/0xa;if(_0x5b691f===_0x544d32)break;else _0x5415e6['push'](_0x5415e6['shift']());}catch(_0x2aee1){_0x5415e6['push'](_0x5415e6['shift']());}}}(a0_0x8d4f,0xbb67a));import'../selector/meta-object-selector-popup';function a0_0x8d4f(){const _0x1b463a=['tMenu','stopPropagation','136caGvHQ','7fijTqA','renderRoot','record','ox-grid-header','5182302fOFrYl','select_item','large','950256KHVXrm','target','filter','227895jBOiRr','toLowerCase','change','72mKOvMw','5929650IqEzhl','979226HetbOa','dispatchEvent','18693hsojCE','20318590UDiXBP','tTitle','nameField','selectorName','querySelector','value','options','filter-change','name','tagName','form\x20[name=\x22'];a0_0x8d4f=function(){return _0x1b463a;};return a0_0x8d4f();}function a0_0x99f7(_0x56bc1a,_0x35453c){const _0x8d4f9f=a0_0x8d4f();return a0_0x99f7=function(_0x99f7ff,_0x41758b){_0x99f7ff=_0x99f7ff-0x16e;let _0x3dd4c6=_0x8d4f9f[_0x99f7ff];return _0x3dd4c6;},a0_0x99f7(_0x56bc1a,_0x35453c);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x5b79a0,_0x3036a9,_0x18e5ed){const _0x3a5866=a0_0x99f7;var _0x77bf8a=html`
1
+ (function(_0x408daf,_0x2e76ce){const _0x4639cf=a0_0x31b0,_0x39055a=_0x408daf();while(!![]){try{const _0x108ff0=-parseInt(_0x4639cf(0x1b1))/0x1*(parseInt(_0x4639cf(0x1b0))/0x2)+-parseInt(_0x4639cf(0x1a6))/0x3+-parseInt(_0x4639cf(0x1ad))/0x4+parseInt(_0x4639cf(0x1b3))/0x5*(-parseInt(_0x4639cf(0x19f))/0x6)+parseInt(_0x4639cf(0x1ac))/0x7*(parseInt(_0x4639cf(0x1a7))/0x8)+-parseInt(_0x4639cf(0x1a3))/0x9+-parseInt(_0x4639cf(0x1a4))/0xa*(-parseInt(_0x4639cf(0x1a1))/0xb);if(_0x108ff0===_0x2e76ce)break;else _0x39055a['push'](_0x39055a['shift']());}catch(_0x162037){_0x39055a['push'](_0x39055a['shift']());}}}(a0_0x2387,0x94816));function a0_0x2387(){const _0x3254e9=['4758457MsBger','[name=\x22','5514966oadmVq','50KKyfCu','selectorName','807366fsStRX','8xZYBwU','tagName','filter','record','change','6682214ZLfWhd','1302216ochORF','querySelector','form\x20[name=\x22','4VaaxKy','225890dHLdMT','value','4250145ZCtesy','filter-change','tMenu','renderRoot','large','ox-grid-header','dispatchEvent','select_item','name','nameField','6CehNgu','options'];a0_0x2387=function(){return _0x3254e9;};return a0_0x2387();}function a0_0x31b0(_0x3f3eaa,_0x244c8a){const _0x238783=a0_0x2387();return a0_0x31b0=function(_0x31b021,_0x1c8458){_0x31b021=_0x31b021-0x19e;let _0x1d00f5=_0x238783[_0x31b021];return _0x1d00f5;},a0_0x31b0(_0x3f3eaa,_0x244c8a);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x505ff7,_0x22afd6,_0x5c0029){const _0x1980a8=a0_0x31b0;var _0x50d179=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x3036a9}
4
- .options=${_0x5b79a0[_0x3a5866(0x182)][_0x3a5866(0x178)]}
5
- .confirmCallback=${_0x18e5ed}
3
+ .value=${_0x22afd6}
4
+ .options=${_0x505ff7['record'][_0x1980a8(0x1a0)]}
5
+ .confirmCallback=${_0x5c0029}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x77bf8a,{'backdrop':!0x0,'size':_0x3a5866(0x186),'title':_0x5b79a0['record']['options'][_0x3a5866(0x175)]?TermsUtil[_0x3a5866(0x17d)](_0x5b79a0[_0x3a5866(0x182)][_0x3a5866(0x178)][_0x3a5866(0x175)]):TermsUtil[_0x3a5866(0x173)](_0x3a5866(0x185))});}export const FilterGristMetaObjectSelect=(_0x3ff3ce,_0x507ef1,_0x3126c6)=>{const _0x1a0d46=a0_0x99f7,_0x1d00df=_0x3ff3ce[_0x1a0d46(0x189)],{operator:_0x5cfa70='eq'}=_0x1d00df,_0x22e8a5=_0x3ff3ce['record'][_0x1a0d46(0x178)];let _0x1231d7=_0x507ef1?_0x507ef1['id']:'',_0x415f91=_0x507ef1?_0x507ef1[_0x22e8a5['nameField']]:'';return'eq'===_0x5cfa70?html`
8
- <input name='${_0x3ff3ce[_0x1a0d46(0x17a)]}' .value=${_0x1231d7} type="text" hidden></input>
7
+ `;openPopup(_0x50d179,{'backdrop':!0x0,'size':_0x1980a8(0x1b7),'title':_0x505ff7[_0x1980a8(0x1aa)]['options'][_0x1980a8(0x1a5)]?TermsUtil[_0x1980a8(0x1b5)](_0x505ff7[_0x1980a8(0x1aa)][_0x1980a8(0x1a0)][_0x1980a8(0x1a5)]):TermsUtil['tTitle'](_0x1980a8(0x1ba))});}export const FilterGristMetaObjectSelect=(_0x315750,_0x35016e,_0xf7f90e)=>{const _0x5d0a41=a0_0x31b0,_0x176ca4=_0x315750[_0x5d0a41(0x1a9)],{operator:_0x3a8a82='eq'}=_0x176ca4,_0x33f67d=_0x315750[_0x5d0a41(0x1aa)][_0x5d0a41(0x1a0)];let _0x3e93db=_0x35016e?_0x35016e['id']:'',_0x5f0541=_0x35016e?_0x35016e[_0x33f67d[_0x5d0a41(0x19e)]]:'';return'eq'===_0x3a8a82?html`
8
+ <input name='${_0x315750['name']}' .value=${_0x3e93db} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x3ff3ce[_0x1a0d46(0x17a)]}_disp'
13
- .value=${_0x415f91}
14
- @click=${_0x2e92b9=>{const _0x5d7381=_0x1a0d46;_0x2e92b9[_0x5d7381(0x17e)]();const _0x56aa2f=_0x2e92b9[_0x5d7381(0x188)];openMetaObjectSelector(_0x3ff3ce,_0x507ef1,_0x3d9b7b=>{const _0x4c7507=_0x5d7381;let _0x79e3ea=_0x3d9b7b?_0x3d9b7b['id']:'',_0x1b8e6b=_0x3d9b7b?_0x3d9b7b[_0x22e8a5[_0x4c7507(0x174)]]:'';_0x56aa2f[_0x4c7507(0x177)]=_0x1b8e6b,(_0x4c7507(0x183)==_0x3126c6[_0x4c7507(0x17b)][_0x4c7507(0x18b)]()?_0x3126c6[_0x4c7507(0x181)][_0x4c7507(0x176)]('[name=\x22'+_0x1d00df[_0x4c7507(0x17a)]+'\x22]'):_0x3126c6[_0x4c7507(0x181)][_0x4c7507(0x176)](_0x4c7507(0x17c)+_0x1d00df['name']+'\x22]'))[_0x4c7507(0x177)]=_0x79e3ea,_0x56aa2f[_0x4c7507(0x170)](new Event(_0x4c7507(0x18c),{'bubbles':!0x0})),_0x56aa2f[_0x4c7507(0x170)](new CustomEvent(_0x4c7507(0x179),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3ff3ce['name'],'operator':_0x5cfa70,'value':_0x79e3ea}}));});}}
12
+ name='${_0x315750[_0x5d0a41(0x1bb)]}_disp'
13
+ .value=${_0x5f0541}
14
+ @click=${_0x28b7ad=>{_0x28b7ad['stopPropagation']();const _0x583277=_0x28b7ad['target'];openMetaObjectSelector(_0x315750,_0x35016e,_0x5d8fb4=>{const _0x1e3f49=a0_0x31b0;let _0x35cdde=_0x5d8fb4?_0x5d8fb4['id']:'',_0x717f7=_0x5d8fb4?_0x5d8fb4[_0x33f67d[_0x1e3f49(0x19e)]]:'';_0x583277[_0x1e3f49(0x1b2)]=_0x717f7,(_0x1e3f49(0x1b8)==_0xf7f90e[_0x1e3f49(0x1a8)]['toLowerCase']()?_0xf7f90e[_0x1e3f49(0x1b6)][_0x1e3f49(0x1ae)](_0x1e3f49(0x1a2)+_0x176ca4[_0x1e3f49(0x1bb)]+'\x22]'):_0xf7f90e[_0x1e3f49(0x1b6)][_0x1e3f49(0x1ae)](_0x1e3f49(0x1af)+_0x176ca4[_0x1e3f49(0x1bb)]+'\x22]'))['value']=_0x35cdde,_0x583277['dispatchEvent'](new Event(_0x1e3f49(0x1ab),{'bubbles':!0x0})),_0x583277[_0x1e3f49(0x1b9)](new CustomEvent(_0x1e3f49(0x1b4),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x315750[_0x1e3f49(0x1bb)],'operator':_0x3a8a82,'value':_0x35cdde}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,9 +1,9 @@
1
- const a0_0x1b1859=a0_0x1eaa;(function(_0x5bcc2e,_0x2045ea){const _0xe4e122=a0_0x1eaa,_0x346e36=_0x5bcc2e();while(!![]){try{const _0x445221=-parseInt(_0xe4e122(0xb2))/0x1+-parseInt(_0xe4e122(0xad))/0x2+parseInt(_0xe4e122(0xbe))/0x3+-parseInt(_0xe4e122(0xc0))/0x4*(-parseInt(_0xe4e122(0xc9))/0x5)+parseInt(_0xe4e122(0xb6))/0x6*(-parseInt(_0xe4e122(0xc1))/0x7)+-parseInt(_0xe4e122(0xb1))/0x8+parseInt(_0xe4e122(0xc7))/0x9;if(_0x445221===_0x2045ea)break;else _0x346e36['push'](_0x346e36['shift']());}catch(_0x5726af){_0x346e36['push'](_0x346e36['shift']());}}}(a0_0x1c5d,0x4b257));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x1eaa(_0x3e0019,_0x36eb7a){const _0x1c5d0f=a0_0x1c5d();return a0_0x1eaa=function(_0x1eaaea,_0x295ddf){_0x1eaaea=_0x1eaaea-0xa6;let _0x19968d=_0x1c5d0f[_0x1eaaea];return _0x19968d;},a0_0x1eaa(_0x3e0019,_0x36eb7a);}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_0x1b1859(0xc3)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x1b1859(0xb9)](){const _0x1d5069=a0_0x1b1859;let _0x56dabc='';if(this[_0x1d5069(0xaa)][_0x1d5069(0xb5)]&&this['column'][_0x1d5069(0xb5)][_0x1d5069(0xa9)]){if(this[_0x1d5069(0xaa)][_0x1d5069(0xb5)]['options'][_0x1d5069(0xc6)]){let _0x4f88ff=this[_0x1d5069(0xaa)]['record'][_0x1d5069(0xa9)][_0x1d5069(0xbf)]||[];if(this[_0x1d5069(0xb3)]&&this[_0x1d5069(0xb3)]['length']>0x0){let _0x73af3=_0x4f88ff[_0x1d5069(0xa6)](_0x3037b3=>_0x3037b3[_0x1d5069(0xb3)]===this[_0x1d5069(0xb3)]);_0x56dabc=_0x73af3&&_0x73af3[_0x1d5069(0xa8)]>0x0?_0x73af3[0x0][_0x1d5069(0xab)]:'';}}else _0x56dabc=this['value'];}else _0x56dabc='';return html`
2
- ${_0x56dabc?html` <span tabindex="0" style="flex:1">${_0x56dabc}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async[a0_0x1b1859(0xac)](){const _0x3b7586=a0_0x1b1859;super[_0x3b7586(0xac)]();}[a0_0x1b1859(0xae)](_0x4a0bbd){const _0x1c454a=a0_0x1b1859;_0x4a0bbd[_0x1c454a(0xbc)](),this['openSelector']();}['_onkeydown'](_0x5f3390){const _0x3afad8=a0_0x1b1859;_0x3afad8(0xbb)==_0x5f3390[_0x3afad8(0xb4)]&&(_0x5f3390['stopPropagation'](),this[_0x3afad8(0xb0)]());}[a0_0x1b1859(0xb0)](){const _0x2da32b=a0_0x1b1859;this[_0x2da32b(0xc8)]&&delete this['popup'];var {selectorName:_0x3992b5=TermsUtil[_0x2da32b(0xaf)]('select_item')}=this[_0x2da32b(0xaa)][_0x2da32b(0xb5)]['options']||{},_0x261f5e=html`
1
+ const a0_0x11e156=a0_0x51c1;(function(_0x515635,_0x249d84){const _0x2fdf86=a0_0x51c1,_0x4bc8fc=_0x515635();while(!![]){try{const _0x55bdd8=-parseInt(_0x2fdf86(0x13c))/0x1*(-parseInt(_0x2fdf86(0x11f))/0x2)+-parseInt(_0x2fdf86(0x118))/0x3*(parseInt(_0x2fdf86(0x11a))/0x4)+-parseInt(_0x2fdf86(0x12e))/0x5*(parseInt(_0x2fdf86(0x120))/0x6)+-parseInt(_0x2fdf86(0x13a))/0x7+parseInt(_0x2fdf86(0x12b))/0x8*(-parseInt(_0x2fdf86(0x127))/0x9)+-parseInt(_0x2fdf86(0x119))/0xa+parseInt(_0x2fdf86(0x121))/0xb;if(_0x55bdd8===_0x249d84)break;else _0x4bc8fc['push'](_0x4bc8fc['shift']());}catch(_0x3d001a){_0x4bc8fc['push'](_0x4bc8fc['shift']());}}}(a0_0x31cb,0x4c85d));import{html}from'lit';function a0_0x31cb(){const _0x22218b=['define','2882138JVLDAm','select_item','3WCBBKg','record','31503eIFKoM','1365220mbwEsb','116JlWNcG','stopPropagation','dispatchEvent','firstUpdated','bind','121382khvkwq','18lDQKnk','15425080RomePw','openSelector','push','value','popup','options','200268yzrDZW','filter','key','field-change','72gxRfZb','tMenu','keys','363105aGizFH','codes','Enter','editorTemplate','dispField','fieldMap','row','_onkeydown','column','large','length'];a0_0x31cb=function(){return _0x22218b;};return a0_0x31cb();}import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x51c1(_0xe68f86,_0x39ebb2){const _0x31cb09=a0_0x31cb();return a0_0x51c1=function(_0x51c113,_0x1115fa){_0x51c113=_0x51c113-0x118;let _0x4b4d74=_0x31cb09[_0x51c113];return _0x4b4d74;},a0_0x51c1(_0xe68f86,_0x39ebb2);}import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x11e156(0x131)](){const _0x1e58d4=a0_0x11e156;let _0x469d66='';if(this['column']['record']&&this['column'][_0x1e58d4(0x13d)][_0x1e58d4(0x126)]){if(this[_0x1e58d4(0x136)]['record'][_0x1e58d4(0x126)]['dispField']){let _0x30116d=this[_0x1e58d4(0x136)]['record']['options'][_0x1e58d4(0x12f)]||[];if(this[_0x1e58d4(0x124)]&&this['value'][_0x1e58d4(0x138)]>0x0){let _0x531b69=_0x30116d['filter'](_0x5c32cb=>_0x5c32cb['value']===this['value']);_0x469d66=_0x531b69&&_0x531b69[_0x1e58d4(0x138)]>0x0?_0x531b69[0x0]['display']:'';}}else _0x469d66=this[_0x1e58d4(0x124)];}else _0x469d66='';return html`
2
+ ${_0x469d66?html` <span tabindex="0" style="flex:1">${_0x469d66}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x11e156(0x11d)](){const _0x3d0b21=a0_0x11e156;super[_0x3d0b21(0x11d)]();}['_onclick'](_0x47405b){const _0x166908=a0_0x11e156;_0x47405b['stopPropagation'](),this[_0x166908(0x122)]();}[a0_0x11e156(0x135)](_0x3eb092){const _0x21c7b0=a0_0x11e156;_0x21c7b0(0x130)==_0x3eb092[_0x21c7b0(0x129)]&&(_0x3eb092[_0x21c7b0(0x11b)](),this[_0x21c7b0(0x122)]());}[a0_0x11e156(0x122)](){const _0xf22886=a0_0x11e156;this[_0xf22886(0x125)]&&delete this[_0xf22886(0x125)];var {selectorName:_0x38f85a=TermsUtil['tTitle'](_0xf22886(0x13b))}=this[_0xf22886(0x136)][_0xf22886(0x13d)][_0xf22886(0x126)]||{},_0x1a4934=html`
4
4
  <meta-object-selector-popup
5
- .value=${this['value']}
6
- .options=${this[_0x2da32b(0xaa)]['record']['options']}
7
- .confirmCallback=${(_0xfd450b=>{const _0xb16ad3=_0x2da32b;let _0x566a01=this['column']['record']['options']['codeField'],_0x2cb524=this[_0xb16ad3(0xaa)][_0xb16ad3(0xb5)][_0xb16ad3(0xa9)][_0xb16ad3(0xc6)],_0x581e70=this[_0xb16ad3(0xaa)][_0xb16ad3(0xb5)][_0xb16ad3(0xa9)][_0xb16ad3(0xb8)]||{};if(this[_0xb16ad3(0xaa)][_0xb16ad3(0xb5)][_0xb16ad3(0xa9)]['codes']||(this[_0xb16ad3(0xaa)][_0xb16ad3(0xb5)]['options'][_0xb16ad3(0xbf)]=[]),_0xfd450b){let _0x43e584=this[_0xb16ad3(0xaa)]['record']['options']['codes'][_0xb16ad3(0xa6)](_0x27992b=>_0x27992b[_0xb16ad3(0xb3)]==_0xfd450b[_0x566a01]);_0x43e584&&0x0!=_0x43e584[_0xb16ad3(0xa8)]||this[_0xb16ad3(0xaa)]['record'][_0xb16ad3(0xa9)]['codes'][_0xb16ad3(0xb7)]({'value':_0xfd450b[_0x566a01],'display':_0xfd450b[_0x2cb524]});}this['dispatchEvent'](new CustomEvent(_0xb16ad3(0xba),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0xfd450b?_0xfd450b[_0x566a01]:null,'record':this[_0xb16ad3(0xb5)],'column':this[_0xb16ad3(0xaa)],'row':this[_0xb16ad3(0xbd)]}})),Object[_0xb16ad3(0xc5)](_0x581e70)[_0xb16ad3(0xa7)](_0x42832e=>{const _0x18804a=_0xb16ad3;this[_0x18804a(0xc2)](new CustomEvent(_0x18804a(0xba),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x18804a(0xb5)][_0x581e70[_0x42832e]],'after':_0xfd450b?_0xfd450b[_0x42832e]:null,'record':this[_0x18804a(0xb5)],'column':{'name':_0x581e70[_0x42832e]},'row':this[_0x18804a(0xbd)]}}));});})['bind'](this)}
5
+ .value=${this[_0xf22886(0x124)]}
6
+ .options=${this[_0xf22886(0x136)][_0xf22886(0x13d)][_0xf22886(0x126)]}
7
+ .confirmCallback=${(_0x5d5378=>{const _0x4c2eaa=_0xf22886;let _0x55fdda=this[_0x4c2eaa(0x136)][_0x4c2eaa(0x13d)][_0x4c2eaa(0x126)]['codeField'],_0x46bfb5=this['column'][_0x4c2eaa(0x13d)][_0x4c2eaa(0x126)][_0x4c2eaa(0x132)],_0x2f9dc1=this[_0x4c2eaa(0x136)]['record']['options'][_0x4c2eaa(0x133)]||{};if(this[_0x4c2eaa(0x136)][_0x4c2eaa(0x13d)][_0x4c2eaa(0x126)][_0x4c2eaa(0x12f)]||(this['column']['record'][_0x4c2eaa(0x126)][_0x4c2eaa(0x12f)]=[]),_0x5d5378){let _0x3e03d7=this['column'][_0x4c2eaa(0x13d)][_0x4c2eaa(0x126)][_0x4c2eaa(0x12f)][_0x4c2eaa(0x128)](_0x5bdf9f=>_0x5bdf9f['value']==_0x5d5378[_0x55fdda]);_0x3e03d7&&0x0!=_0x3e03d7['length']||this[_0x4c2eaa(0x136)][_0x4c2eaa(0x13d)]['options']['codes'][_0x4c2eaa(0x123)]({'value':_0x5d5378[_0x55fdda],'display':_0x5d5378[_0x46bfb5]});}this[_0x4c2eaa(0x11c)](new CustomEvent(_0x4c2eaa(0x12a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4c2eaa(0x124)],'after':_0x5d5378?_0x5d5378[_0x55fdda]:null,'record':this[_0x4c2eaa(0x13d)],'column':this[_0x4c2eaa(0x136)],'row':this['row']}})),Object[_0x4c2eaa(0x12d)](_0x2f9dc1)['forEach'](_0x33922d=>{const _0xa8a901=_0x4c2eaa;this[_0xa8a901(0x11c)](new CustomEvent(_0xa8a901(0x12a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0xa8a901(0x13d)][_0x2f9dc1[_0x33922d]],'after':_0x5d5378?_0x5d5378[_0x33922d]:null,'record':this[_0xa8a901(0x13d)],'column':{'name':_0x2f9dc1[_0x33922d]},'row':this[_0xa8a901(0x134)]}}));});})[_0xf22886(0x11e)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this['popup']=openPopup(_0x261f5e,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x3992b5)});}}customElements[a0_0x1b1859(0xc4)](a0_0x1b1859(0xca),GristEditorMetaCodeSelector);function a0_0x1c5d(){const _0x3d75c8=['define','keys','dispField','2074671FRGUDd','popup','545MrtIib','grist-editor-meta-code-selector','filter','forEach','length','options','column','display','firstUpdated','843186YouXrX','_onclick','tTitle','openSelector','2777808jDZADc','27021HYhRDh','value','key','record','4938CgbsmU','push','fieldMap','editorTemplate','field-change','Enter','stopPropagation','row','1605396RkuLIM','codes','15212OpYZMu','651Mppcrj','dispatchEvent','properties'];a0_0x1c5d=function(){return _0x3d75c8;};return a0_0x1c5d();}
9
+ `;this[_0xf22886(0x125)]=openPopup(_0x1a4934,{'backdrop':!0x0,'size':_0xf22886(0x137),'title':TermsUtil[_0xf22886(0x12c)](_0x38f85a)});}}customElements[a0_0x11e156(0x139)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- var a0_0x42bffb=a0_0x3417;(function(_0xcfeda,_0x695c3d){var _0x1220e6=a0_0x3417,_0x17bea4=_0xcfeda();while(!![]){try{var _0x126cbb=parseInt(_0x1220e6(0x125))/0x1*(-parseInt(_0x1220e6(0x113))/0x2)+-parseInt(_0x1220e6(0x128))/0x3*(parseInt(_0x1220e6(0x11a))/0x4)+parseInt(_0x1220e6(0x123))/0x5+parseInt(_0x1220e6(0x121))/0x6*(-parseInt(_0x1220e6(0x11d))/0x7)+-parseInt(_0x1220e6(0x11c))/0x8*(parseInt(_0x1220e6(0x122))/0x9)+-parseInt(_0x1220e6(0x10f))/0xa*(-parseInt(_0x1220e6(0x120))/0xb)+-parseInt(_0x1220e6(0x124))/0xc*(-parseInt(_0x1220e6(0x10b))/0xd);if(_0x126cbb===_0x695c3d)break;else _0x17bea4['push'](_0x17bea4['shift']());}catch(_0x18c917){_0x17bea4['push'](_0x17bea4['shift']());}}}(a0_0x2144,0x8ff0b));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x2144(){var _0x5a3a01=['1BmGEob','stopPropagation','_onclick','2152335ULSghy','forEach','fieldMap','nameField','_onkeydown','grist-editor-meta-object-selector','record','136539yAvkNU','Enter','properties','bind','1370IRdbBo','define','dispatchEvent','popup','260694phHNyH','firstUpdated','openSelector','options','large','field-change','value','4xSzuZv','column','8BNOFBS','911288ygExlp','select_item','row','3498iOENxG','30CDgHZQ','3131523nSvrah','830180uhGDPc','2544jewCwR'];a0_0x2144=function(){return _0x5a3a01;};return a0_0x2144();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x3417(_0x3ab65f,_0x14eb1d){var _0x214465=a0_0x2144();return a0_0x3417=function(_0x341702,_0xae1351){_0x341702=_0x341702-0x105;var _0x287b88=_0x214465[_0x341702];return _0x287b88;},a0_0x3417(_0x3ab65f,_0x14eb1d);}import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x42bffb(0x10d)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){var _0x219adb=a0_0x42bffb;let _0x1d8a0='';return this['value']&&this[_0x219adb(0x11b)][_0x219adb(0x10a)][_0x219adb(0x116)]&&(_0x1d8a0=this['value'][this[_0x219adb(0x11b)][_0x219adb(0x10a)]['options'][_0x219adb(0x107)]]),html`
2
- ${this['value']?html` <span tabindex="0" style="flex:1">${_0x1d8a0}</span> `:html`<span tabindex="0">${_0x1d8a0}</span>`}
3
- `;}async[a0_0x42bffb(0x114)](){var _0x5310ca=a0_0x42bffb;super[_0x5310ca(0x114)]();}[a0_0x42bffb(0x127)](_0x49c3a4){var _0xe151a4=a0_0x42bffb;_0x49c3a4[_0xe151a4(0x126)](),this[_0xe151a4(0x115)]();}[a0_0x42bffb(0x108)](_0x3d21ff){var _0x1321a5=a0_0x42bffb;_0x1321a5(0x10c)==_0x3d21ff['key']&&(_0x3d21ff[_0x1321a5(0x126)](),this[_0x1321a5(0x115)]());}[a0_0x42bffb(0x115)](){var _0x4c1261=a0_0x42bffb;this[_0x4c1261(0x112)]&&delete this[_0x4c1261(0x112)];var {selectorName:_0x3884c7=TermsUtil['tTitle'](_0x4c1261(0x11e))}=this[_0x4c1261(0x11b)][_0x4c1261(0x10a)][_0x4c1261(0x116)]||{},_0x30f2d9=html`
1
+ var a0_0x1c34bd=a0_0x157e;(function(_0x5e869f,_0x4468dc){var _0xf7f07=a0_0x157e,_0x5b1a4b=_0x5e869f();while(!![]){try{var _0x2709e1=-parseInt(_0xf7f07(0x10c))/0x1+-parseInt(_0xf7f07(0x10b))/0x2+-parseInt(_0xf7f07(0x11d))/0x3*(-parseInt(_0xf7f07(0x122))/0x4)+-parseInt(_0xf7f07(0x112))/0x5*(-parseInt(_0xf7f07(0x105))/0x6)+parseInt(_0xf7f07(0x11b))/0x7*(parseInt(_0xf7f07(0x115))/0x8)+parseInt(_0xf7f07(0x123))/0x9+parseInt(_0xf7f07(0x127))/0xa*(parseInt(_0xf7f07(0x126))/0xb);if(_0x2709e1===_0x4468dc)break;else _0x5b1a4b['push'](_0x5b1a4b['shift']());}catch(_0x622f6c){_0x5b1a4b['push'](_0x5b1a4b['shift']());}}}(a0_0x3e83,0x8a59e));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x157e(_0x93cfcf,_0x124e2d){var _0x3e8324=a0_0x3e83();return a0_0x157e=function(_0x157e9d,_0x3c9392){_0x157e9d=_0x157e9d-0x104;var _0x3057dc=_0x3e8324[_0x157e9d];return _0x3057dc;},a0_0x157e(_0x93cfcf,_0x124e2d);}import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x1c34bd(0x11c)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){var _0x454267=a0_0x1c34bd;let _0x4a1083='';return this[_0x454267(0x125)]&&this[_0x454267(0x10f)][_0x454267(0x114)][_0x454267(0x119)]&&(_0x4a1083=this[_0x454267(0x125)][this[_0x454267(0x10f)]['record'][_0x454267(0x119)][_0x454267(0x106)]]),html`
2
+ ${this[_0x454267(0x125)]?html` <span tabindex="0" style="flex:1">${_0x4a1083}</span> `:html`<span tabindex="0">${_0x4a1083}</span>`}
3
+ `;}async[a0_0x1c34bd(0x11a)](){var _0x2f2e9c=a0_0x1c34bd;super[_0x2f2e9c(0x11a)]();}[a0_0x1c34bd(0x108)](_0x317d9f){var _0x3b99e1=a0_0x1c34bd;_0x317d9f[_0x3b99e1(0x107)](),this[_0x3b99e1(0x10e)]();}['_onkeydown'](_0x1db3fe){var _0x15c443=a0_0x1c34bd;_0x15c443(0x118)==_0x1db3fe[_0x15c443(0x11e)]&&(_0x1db3fe[_0x15c443(0x107)](),this[_0x15c443(0x10e)]());}['openSelector'](){var _0x46a5d6=a0_0x1c34bd;this['popup']&&delete this['popup'];var {selectorName:_0x2abdad=TermsUtil[_0x46a5d6(0x10d)](_0x46a5d6(0x117))}=this[_0x46a5d6(0x10f)][_0x46a5d6(0x114)][_0x46a5d6(0x119)]||{},_0x5dbe23=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x4c1261(0x119)]}
6
- .options=${this[_0x4c1261(0x11b)][_0x4c1261(0x10a)]['options']}
7
- .confirmCallback=${(_0x4a0a21=>{var _0xe53b72=_0x4c1261;let _0x574063=this[_0xe53b72(0x11b)][_0xe53b72(0x10a)][_0xe53b72(0x116)][_0xe53b72(0x106)]||{};this[_0xe53b72(0x111)](new CustomEvent(_0xe53b72(0x118),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x4a0a21||null,'record':this[_0xe53b72(0x10a)],'column':this[_0xe53b72(0x11b)],'row':this[_0xe53b72(0x11f)]}})),Object['keys'](_0x574063)[_0xe53b72(0x105)](_0x5171e8=>{var _0x5638f2=_0xe53b72;this[_0x5638f2(0x111)](new CustomEvent(_0x5638f2(0x118),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x5638f2(0x10a)][_0x574063[_0x5171e8]],'after':_0x4a0a21?_0x4a0a21[_0x5171e8]:null,'record':this['record'],'column':{'name':_0x574063[_0x5171e8]},'row':this['row']}}));});})[_0x4c1261(0x10e)](this)}
5
+ .value=${this[_0x46a5d6(0x125)]}
6
+ .options=${this[_0x46a5d6(0x10f)]['record'][_0x46a5d6(0x119)]}
7
+ .confirmCallback=${(_0x36647e=>{var _0x2033f9=_0x46a5d6;let _0x8489ba=this[_0x2033f9(0x10f)][_0x2033f9(0x114)][_0x2033f9(0x119)][_0x2033f9(0x121)]||{};this[_0x2033f9(0x110)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x2033f9(0x125)],'after':_0x36647e||null,'record':this[_0x2033f9(0x114)],'column':this['column'],'row':this['row']}})),Object[_0x2033f9(0x113)](_0x8489ba)[_0x2033f9(0x109)](_0x25103a=>{var _0x245cbe=_0x2033f9;this[_0x245cbe(0x110)](new CustomEvent(_0x245cbe(0x120),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x245cbe(0x114)][_0x8489ba[_0x25103a]],'after':_0x36647e?_0x36647e[_0x25103a]:null,'record':this[_0x245cbe(0x114)],'column':{'name':_0x8489ba[_0x25103a]},'row':this[_0x245cbe(0x124)]}}));});})[_0x46a5d6(0x10a)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x4c1261(0x112)]=openPopup(_0x30f2d9,{'backdrop':!0x0,'size':_0x4c1261(0x117),'title':TermsUtil['tMenu'](_0x3884c7)});}}customElements[a0_0x42bffb(0x110)](a0_0x42bffb(0x109),GristEditorMetaObjectSelector);
9
+ `;this[_0x46a5d6(0x11f)]=openPopup(_0x5dbe23,{'backdrop':!0x0,'size':_0x46a5d6(0x111),'title':TermsUtil[_0x46a5d6(0x104)](_0x2abdad)});}}function a0_0x3e83(){var _0x402533=['stopPropagation','_onclick','forEach','bind','1713318vZqSHq','1056704rzLHFb','tTitle','openSelector','column','dispatchEvent','large','4554415blgwhQ','keys','record','344AsIjDT','grist-editor-meta-object-selector','select_item','Enter','options','firstUpdated','112238FyKjoB','properties','24JSCKEK','key','popup','field-change','fieldMap','81380kJqOkn','1297476DNkidu','row','value','55zCtBVJ','1145560yVmPgO','tMenu','6zzOrhz','nameField'];a0_0x3e83=function(){return _0x402533;};return a0_0x3e83();}customElements['define'](a0_0x1c34bd(0x116),GristEditorMetaObjectSelector);
@@ -1 +1 @@
1
- (function(_0x12d9a3,_0x29eb40){const _0x212862=a0_0xd231,_0x26cfa0=_0x12d9a3();while(!![]){try{const _0x17e085=-parseInt(_0x212862(0xa5))/0x1+-parseInt(_0x212862(0xaa))/0x2*(-parseInt(_0x212862(0xad))/0x3)+parseInt(_0x212862(0xa7))/0x4*(-parseInt(_0x212862(0xb4))/0x5)+parseInt(_0x212862(0xa3))/0x6*(-parseInt(_0x212862(0xa9))/0x7)+parseInt(_0x212862(0xac))/0x8*(parseInt(_0x212862(0xb6))/0x9)+-parseInt(_0x212862(0xa8))/0xa+parseInt(_0x212862(0xb1))/0xb;if(_0x17e085===_0x29eb40)break;else _0x26cfa0['push'](_0x26cfa0['shift']());}catch(_0x5395b9){_0x26cfa0['push'](_0x26cfa0['shift']());}}}(a0_0x34b8,0xde816));import{html}from'lit';function a0_0x34b8(){const _0x399a50=['filter','66988GktDIn','12767110mkKSFN','2653TUwtDW','2TPdtnP','target','39576ALKGbZ','2396007bxuokX','display','data-tooltip','textContent','43807324rurVlV','record','codes','395IibEOQ','length','1251bfVqMB','removeAttribute','options','setAttribute','24606TMjTmv','dispField','403401TJseVt'];a0_0x34b8=function(){return _0x399a50;};return a0_0x34b8();}import{detectOverflow}from'@operato/utils';function a0_0xd231(_0x4709e3,_0x4c5b85){const _0x34b855=a0_0x34b8();return a0_0xd231=function(_0xd2317d,_0x1548f8){_0xd2317d=_0xd2317d-0xa3;let _0x2b2fde=_0x34b855[_0xd2317d];return _0x2b2fde;},a0_0xd231(_0x4709e3,_0x4c5b85);}function onmouseover(_0xeab5b1){const _0x8c9d3a=a0_0xd231,_0xba0be6=_0xeab5b1[_0x8c9d3a(0xab)];detectOverflow(_0xba0be6)&&_0xba0be6[_0x8c9d3a(0xb9)]('data-tooltip',_0xba0be6[_0x8c9d3a(0xb0)]);}function onmouseout(_0x495a25){const _0x916891=a0_0xd231;_0x495a25[_0x916891(0xab)][_0x916891(0xb7)](_0x916891(0xaf));}export const GristRendererMetaCodeSelector=(_0x1e2137,_0x90fb3d,_0x323f1a,_0x21eb11,_0x1a4e8c)=>{const _0x557add=a0_0xd231;let _0x4e1997='';if(_0x90fb3d['record']&&_0x90fb3d['record'][_0x557add(0xb8)]){if(_0x90fb3d[_0x557add(0xb2)][_0x557add(0xb8)][_0x557add(0xa4)]){if(_0x90fb3d[_0x557add(0xb2)][_0x557add(0xb8)][_0x557add(0xb3)]||(_0x90fb3d[_0x557add(0xb2)][_0x557add(0xb8)][_0x557add(0xb3)]=[]),_0x1e2137&&_0x1e2137[_0x557add(0xb5)]>0x0){let _0x55821=_0x90fb3d['record']['options'][_0x557add(0xb3)][_0x557add(0xa6)](_0x1458d9=>_0x1458d9['value']===_0x1e2137);_0x4e1997=_0x55821&&_0x55821['length']>0x0?_0x55821[0x0][_0x557add(0xae)]:_0x1e2137;}}else _0x4e1997=_0x1e2137;}else _0x4e1997='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x4e1997}</span>`;};
1
+ (function(_0x592e49,_0x4c7a71){const _0x12a736=a0_0x5d3d,_0x204461=_0x592e49();while(!![]){try{const _0xa2d5e3=parseInt(_0x12a736(0x19e))/0x1*(-parseInt(_0x12a736(0x1ab))/0x2)+-parseInt(_0x12a736(0x1a7))/0x3+parseInt(_0x12a736(0x1a8))/0x4+-parseInt(_0x12a736(0x1a1))/0x5*(parseInt(_0x12a736(0x1a0))/0x6)+parseInt(_0x12a736(0x1ae))/0x7+-parseInt(_0x12a736(0x19f))/0x8+parseInt(_0x12a736(0x1b0))/0x9;if(_0xa2d5e3===_0x4c7a71)break;else _0x204461['push'](_0x204461['shift']());}catch(_0x3fa62e){_0x204461['push'](_0x204461['shift']());}}}(a0_0x4390,0x2dd1e));import{html}from'lit';function a0_0x5d3d(_0x31b5bc,_0x518446){const _0x439091=a0_0x4390();return a0_0x5d3d=function(_0x5d3d41,_0x803b2c){_0x5d3d41=_0x5d3d41-0x19e;let _0x320751=_0x439091[_0x5d3d41];return _0x320751;},a0_0x5d3d(_0x31b5bc,_0x518446);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x2cca17){const _0x197bab=a0_0x5d3d,_0x5e1cc8=_0x2cca17[_0x197bab(0x1aa)];detectOverflow(_0x5e1cc8)&&_0x5e1cc8[_0x197bab(0x1a9)](_0x197bab(0x1af),_0x5e1cc8[_0x197bab(0x1a6)]);}function onmouseout(_0x2c732a){const _0x2fdbe3=a0_0x5d3d;_0x2c732a[_0x2fdbe3(0x1aa)]['removeAttribute'](_0x2fdbe3(0x1af));}function a0_0x4390(){const _0x2ce0e0=['target','2hUbbkQ','dispField','length','1166914HyiLco','data-tooltip','7251039rqlpdo','display','record','272248CCpDQF','1530408gqSAXC','1784574xppqBu','5KANcob','filter','codes','options','value','textContent','890769faIGOX','1092824OBKlSG','setAttribute'];a0_0x4390=function(){return _0x2ce0e0;};return a0_0x4390();}export const GristRendererMetaCodeSelector=(_0x24de73,_0x34ddb5,_0x3f7072,_0x506b1b,_0x3d3ee6)=>{const _0x3f5050=a0_0x5d3d;let _0x34406a='';if(_0x34ddb5[_0x3f5050(0x1b2)]&&_0x34ddb5[_0x3f5050(0x1b2)][_0x3f5050(0x1a4)]){if(_0x34ddb5[_0x3f5050(0x1b2)][_0x3f5050(0x1a4)][_0x3f5050(0x1ac)]){if(_0x34ddb5[_0x3f5050(0x1b2)][_0x3f5050(0x1a4)][_0x3f5050(0x1a3)]||(_0x34ddb5[_0x3f5050(0x1b2)][_0x3f5050(0x1a4)]['codes']=[]),_0x24de73&&_0x24de73[_0x3f5050(0x1ad)]>0x0){let _0x289ff0=_0x34ddb5['record'][_0x3f5050(0x1a4)][_0x3f5050(0x1a3)][_0x3f5050(0x1a2)](_0x3cbd41=>_0x3cbd41[_0x3f5050(0x1a5)]===_0x24de73);_0x34406a=_0x289ff0&&_0x289ff0[_0x3f5050(0x1ad)]>0x0?_0x289ff0[0x0][_0x3f5050(0x1b1)]:_0x24de73;}}else _0x34406a=_0x24de73;}else _0x34406a='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x34406a}</span>`;};
@@ -1 +1 @@
1
- (function(_0x2d2d47,_0x2646a1){const _0x3011d0=a0_0x17d9,_0x2e199c=_0x2d2d47();while(!![]){try{const _0x1943fa=-parseInt(_0x3011d0(0xcc))/0x1+parseInt(_0x3011d0(0xd1))/0x2*(parseInt(_0x3011d0(0xcb))/0x3)+-parseInt(_0x3011d0(0xc3))/0x4+parseInt(_0x3011d0(0xc1))/0x5*(parseInt(_0x3011d0(0xc5))/0x6)+parseInt(_0x3011d0(0xc2))/0x7+-parseInt(_0x3011d0(0xc9))/0x8*(parseInt(_0x3011d0(0xd0))/0x9)+parseInt(_0x3011d0(0xcf))/0xa;if(_0x1943fa===_0x2646a1)break;else _0x2e199c['push'](_0x2e199c['shift']());}catch(_0x17c3e6){_0x2e199c['push'](_0x2e199c['shift']());}}}(a0_0x4e82,0xe662c));function a0_0x17d9(_0x2c67e4,_0x4aebd3){const _0x4e8233=a0_0x4e82();return a0_0x17d9=function(_0x17d913,_0x171d7b){_0x17d913=_0x17d913-0xc1;let _0x4955ef=_0x4e8233[_0x17d913];return _0x4955ef;},a0_0x17d9(_0x2c67e4,_0x4aebd3);}import{html}from'lit';function a0_0x4e82(){const _0x245811=['19870400TGRvXp','169146TVVeMG','4cgRYTx','1355wNHAeb','2930858UPxtpW','6593552LovhSM','textContent','37272oURqwW','setAttribute','nameField','data-tooltip','208izELfp','record','461247QMhkHS','1315992KsChta','options','target'];a0_0x4e82=function(){return _0x245811;};return a0_0x4e82();}import{detectOverflow}from'@operato/utils';function onmouseover(_0x3581c6){const _0x2f1f1b=a0_0x17d9,_0x2ea3b6=_0x3581c6[_0x2f1f1b(0xce)];detectOverflow(_0x2ea3b6)&&_0x2ea3b6[_0x2f1f1b(0xc6)](_0x2f1f1b(0xc8),_0x2ea3b6[_0x2f1f1b(0xc4)]);}function onmouseout(_0x395b5e){const _0x164124=a0_0x17d9;_0x395b5e[_0x164124(0xce)]['removeAttribute'](_0x164124(0xc8));}export const GristRendererMetaObjectSelector=(_0x26b847,_0x31552b,_0x4572c3,_0x444e70,_0x145c43)=>{const _0x299f90=a0_0x17d9;let _0x43245c='';return _0x26b847&&_0x31552b[_0x299f90(0xca)][_0x299f90(0xcd)]&&(_0x43245c=_0x26b847[_0x31552b['record'][_0x299f90(0xcd)][_0x299f90(0xc7)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x43245c}</span>`;};
1
+ (function(_0x44a6b9,_0x4dea10){const _0x1a255b=a0_0x5ce1,_0x11a204=_0x44a6b9();while(!![]){try{const _0x208c98=parseInt(_0x1a255b(0x1f0))/0x1*(-parseInt(_0x1a255b(0x1f1))/0x2)+-parseInt(_0x1a255b(0x1ec))/0x3+parseInt(_0x1a255b(0x1ea))/0x4+parseInt(_0x1a255b(0x1e4))/0x5+-parseInt(_0x1a255b(0x1e6))/0x6*(parseInt(_0x1a255b(0x1e3))/0x7)+parseInt(_0x1a255b(0x1ef))/0x8+-parseInt(_0x1a255b(0x1e9))/0x9;if(_0x208c98===_0x4dea10)break;else _0x11a204['push'](_0x11a204['shift']());}catch(_0x439fe4){_0x11a204['push'](_0x11a204['shift']());}}}(a0_0x3ef8,0xa952c));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x1d19f6){const _0x4e7cc2=a0_0x5ce1,_0x191b57=_0x1d19f6[_0x4e7cc2(0x1eb)];detectOverflow(_0x191b57)&&_0x191b57[_0x4e7cc2(0x1e2)]('data-tooltip',_0x191b57[_0x4e7cc2(0x1e8)]);}function onmouseout(_0x2ce2d3){const _0x57f15e=a0_0x5ce1;_0x2ce2d3[_0x57f15e(0x1eb)]['removeAttribute'](_0x57f15e(0x1ee));}export const GristRendererMetaObjectSelector=(_0x4ed718,_0x3985ad,_0x4e38df,_0x2b5dc7,_0x2d7a09)=>{const _0x382269=a0_0x5ce1;let _0x2960f2='';return _0x4ed718&&_0x3985ad[_0x382269(0x1e5)][_0x382269(0x1e7)]&&(_0x2960f2=_0x4ed718[_0x3985ad[_0x382269(0x1e5)][_0x382269(0x1e7)][_0x382269(0x1ed)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2960f2}</span>`;};function a0_0x5ce1(_0x3d05e5,_0x14b643){const _0x3ef89c=a0_0x3ef8();return a0_0x5ce1=function(_0x5ce1b5,_0x3c6f14){_0x5ce1b5=_0x5ce1b5-0x1e2;let _0x4a8e9d=_0x3ef89c[_0x5ce1b5];return _0x4a8e9d;},a0_0x5ce1(_0x3d05e5,_0x14b643);}function a0_0x3ef8(){const _0x35e2f7=['textContent','12446748QaPlgf','3397328mQaCIF','target','1528665mYAPyD','nameField','data-tooltip','8900704EzVRrZ','2IVRbAc','412844MnUzfu','setAttribute','1094723NxUoxm','5966940fBWhVj','record','6bskLAV','options'];a0_0x3ef8=function(){return _0x35e2f7;};return a0_0x3ef8();}
@@ -1,4 +1,4 @@
1
- const a0_0xa51c49=a0_0x7806;(function(_0x481029,_0x59d247){const _0x2f4325=a0_0x7806,_0xae23e1=_0x481029();while(!![]){try{const _0x24aa03=-parseInt(_0x2f4325(0x1de))/0x1*(parseInt(_0x2f4325(0x222))/0x2)+-parseInt(_0x2f4325(0x1f6))/0x3*(-parseInt(_0x2f4325(0x202))/0x4)+-parseInt(_0x2f4325(0x1ff))/0x5+parseInt(_0x2f4325(0x1df))/0x6*(parseInt(_0x2f4325(0x211))/0x7)+-parseInt(_0x2f4325(0x20c))/0x8*(parseInt(_0x2f4325(0x20b))/0x9)+parseInt(_0x2f4325(0x1f9))/0xa+parseInt(_0x2f4325(0x224))/0xb;if(_0x24aa03===_0x59d247)break;else _0xae23e1['push'](_0xae23e1['shift']());}catch(_0x2ddb28){_0xae23e1['push'](_0xae23e1['shift']());}}}(a0_0x565e,0xc929c));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';function a0_0x565e(){const _0x43dd0c=['26914360mNduzg','bind','handlers','args','getGristPagination100Config','selectRecord','selected','styles','entity','isArray','push','left','gql','tText','empty','length','record','string','2ujhsrp','82704afwCpT','dispField','hidden','getParams','menu','nameField','basicArgs','meta-object-selector','getCodeByScenario','clickCancel','appendable','connectedCallback','getGristMetaObjectOptions','align','keys','getGristColumnConfig2','render','forEach','type','getSelectColumns','meta-object-selector-popup','firstUpdated','querySelector','9HyvwLa','sorters','grist','15229150OUzUOC','code','clickEmpty','select','filter','getGristGuttersConfig','6743650HvdkzZ','values','confirmCallback','1315012mapdnx','options','filterFields','name','query','includes','tButton','codeField','cancel','11221668mHSYhD','8XHQHsW','select-row-toggle','resource-code-selector','menu_template','codes','14zTMmFd','getGristSelectableConfig','clickSelect','search','meta-code-selector','startsWith','searchByPagination','gridConfig','filters','getCodeByEntity','#ox-grist','showToast','object','NOTHING_SELECTED','rows','search_hidden_fields','fetchHandler','1563956zsDEgW','getCodeSelectorData'];a0_0x565e=function(){return _0x43dd0c;};return a0_0x565e();}import{MetaApi}from'../../utils/meta-api';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0xa51c49(0x1d3)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x4556e2=a0_0x5a45;(function(_0x28b400,_0x21fb64){const _0x34dc71=a0_0x5a45,_0x50f6ef=_0x28b400();while(!![]){try{const _0x4c40dd=-parseInt(_0x34dc71(0xf7))/0x1+-parseInt(_0x34dc71(0xf8))/0x2*(-parseInt(_0x34dc71(0xf5))/0x3)+parseInt(_0x34dc71(0xfc))/0x4*(-parseInt(_0x34dc71(0x13e))/0x5)+parseInt(_0x34dc71(0x116))/0x6*(-parseInt(_0x34dc71(0x127))/0x7)+parseInt(_0x34dc71(0x117))/0x8*(-parseInt(_0x34dc71(0x107))/0x9)+-parseInt(_0x34dc71(0x118))/0xa*(-parseInt(_0x34dc71(0x112))/0xb)+parseInt(_0x34dc71(0xfe))/0xc;if(_0x4c40dd===_0x21fb64)break;else _0x50f6ef['push'](_0x50f6ef['shift']());}catch(_0x108c79){_0x50f6ef['push'](_0x50f6ef['shift']());}}}(a0_0x274c,0x2a439));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x5a45(_0x2944fa,_0x59a2e5){const _0x274c86=a0_0x274c();return a0_0x5a45=function(_0x5a45f5,_0x5c3298){_0x5a45f5=_0x5a45f5-0xf0;let _0x6173e5=_0x274c86[_0x5a45f5];return _0x6173e5;},a0_0x5a45(_0x2944fa,_0x59a2e5);}import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';function a0_0x274c(){const _0x141497=['filters','clickCancel','firstUpdated','left','rows','confirmCallback','info','options','getGristSelectableConfig','menu','startsWith','align','meta-','args','render','meta-code-selector','GRID','3070yCYHeU','search','query','sorters','codeField','getGristPagination100Config','includes','entity','getGristColumnConfig2','string','basicArgs','grist','codes','74076onpaCW','select','310803htyiBM','2GVRNeb','tText','meta-object-selector','scenario','36xoPkLr','getSelectColumns','7273632dhpNDG','resource-object','name','styles','filterFields','getGristGuttersConfig','filter','getParams','type','401418SfTJAi','showToast','empty','forEach','shadowRoot','clickSelect','nameField','LIST','handlers','resource-code-selector','appendable','66847zKllFU','push','selected','dispField','372966PYgbyw','48aIdpyL','310qZJoQX','length','connectedCallback','tButton','getCodeByEntity','define','bind','selectRecord','meta-object-selector-popup','gridConfig','record','clickEmpty','values','select-row-toggle','menu_template','7JpRJdG','code','hidden','NOTHING_SELECTED','columns','isArray'];a0_0x274c=function(){return _0x141497;};return a0_0x274c();}import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x4556e2(0x101)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0xa51c49=a0_0x7806;(function(_0x481029,_0x59d247){const _0x2f4325=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0xa51c49(0x1ea)](){const _0x249b87=a0_0xa51c49;this[_0x249b87(0x220)]=this[_0x249b87(0x203)][_0x249b87(0x219)]?this[_0x249b87(0x203)][_0x249b87(0x219)]:this[_0x249b87(0x1e5)]&&this['basicArgs'][_0x249b87(0x219)]?this['basicArgs'][_0x249b87(0x219)]:[];let _0x16de40=this[_0x249b87(0x203)][_0x249b87(0x1f7)]?this['options'][_0x249b87(0x1f7)]:this[_0x249b87(0x1e5)]&&this[_0x249b87(0x1e5)][_0x249b87(0x1f7)]?this[_0x249b87(0x1e5)][_0x249b87(0x1f7)]:[],_0x4dad0c=this['options'][_0x249b87(0x204)]?this[_0x249b87(0x203)]['filterFields']:this[_0x249b87(0x203)][_0x249b87(0x20f)]?.[_0x249b87(0x214)]&&this[_0x249b87(0x203)][_0x249b87(0x20f)]?.[_0x249b87(0x214)][_0x249b87(0x1db)]>0x0?this[_0x249b87(0x203)]['menu_template'][_0x249b87(0x214)]:[],_0x4e0b1a=this[_0x249b87(0x203)]['select'];if(!_0x4dad0c||0x0==_0x4dad0c[_0x249b87(0x1db)]){let _0x153ac9;this[_0x249b87(0x203)]['codeField']&&(_0x153ac9=this['options']['codeField']),this[_0x249b87(0x203)][_0x249b87(0x1e4)]&&(_0x153ac9=this['options'][_0x249b87(0x1e4)]),_0x153ac9&&_0x4dad0c[_0x249b87(0x1d6)]({'name':_0x153ac9,'operator':'eq'});}let _0x46d8ab=[...MetaApi[_0x249b87(0x1fe)](!0x0,!0x1)];if(_0x4e0b1a&&_0x4e0b1a[_0x249b87(0x1db)]>0x0)for(let _0x478ea0=0x0;_0x478ea0<_0x4e0b1a[_0x249b87(0x1db)];_0x478ea0++){let {type:_0x23ae95='string',name:_0x237b60,hidden:_0x4b4049=!0x1,record:_0xb175f1={'align':_0x249b87(0x1d7)},header:_0x5cb225,sortable:_0x5440fb=!0x1,width:_0x17aa4d=0x87,options:_0x557040,select_opt:_0x3f694a,object_opt:_0x560460}=_0x4e0b1a[_0x478ea0];if(_0x3f694a&&(_0x557040=_0x3f694a),_0x560460&&(_0x557040=_0x560460),['resource-object',_0x249b87(0x21d)][_0x249b87(0x207)](_0x23ae95)?_0x23ae95=_0x249b87(0x1e6):[_0x249b87(0x20e)][_0x249b87(0x207)](_0x23ae95)&&(_0x23ae95='meta-code-selector'),'id'==_0x237b60)_0x46d8ab[_0x249b87(0x1d6)]({'type':_0x249b87(0x1dd),'name':_0x237b60,'hidden':!0x0});else{let _0xfe5709=MetaApi[_0x249b87(0x1ee)](_0x23ae95,_0x237b60,_0x5cb225||_0x237b60,_0xb175f1[_0x249b87(0x1ec)]?_0xb175f1['align']:'left',!0x1,_0x5440fb,_0x17aa4d);_0x23ae95[_0x249b87(0x216)]('meta-')&&_0x560460&&_0x560460[_0x249b87(0x1e3)]&&(_0x557040=await MetaUiUtil[_0x249b87(0x1eb)](_0x23ae95,_0x557040)),_0x249b87(0x1fc)===_0x23ae95?Array[_0x249b87(0x1d5)](_0x557040)?_0xfe5709[_0x249b87(0x1dc)][_0x249b87(0x203)]=_0x557040:_0x249b87(0x1fa)===_0x557040[_0x249b87(0x1f1)]?_0xfe5709[_0x249b87(0x1dc)][_0x249b87(0x203)]=await ServiceUtil[_0x249b87(0x223)](_0x557040[_0x249b87(0x200)]?_0x557040[_0x249b87(0x200)]:_0x557040[_0x249b87(0x205)]):'scenario'===_0x557040[_0x249b87(0x1f1)]?_0xfe5709[_0x249b87(0x1dc)][_0x249b87(0x203)]=await ServiceUtil[_0x249b87(0x1e7)](_0x557040['name'],_0x557040[_0x249b87(0x1cf)]):_0x249b87(0x1d4)===_0x557040[_0x249b87(0x1f1)]&&(_0xfe5709[_0x249b87(0x1dc)][_0x249b87(0x203)]=await ServiceUtil[_0x249b87(0x21a)](_0x557040['args'])):'meta-object-selector'===_0x23ae95?_0xfe5709[_0x249b87(0x1dc)]['options']={..._0x557040}:_0x249b87(0x215)==_0x23ae95&&(_0x557040[_0x249b87(0x1e0)]&&(_0x557040[_0x249b87(0x210)]=await ServiceUtil[_0x249b87(0x21a)](_0x557040)),_0xfe5709['record'][_0x249b87(0x203)]={..._0x557040}),_0xfe5709[_0x249b87(0x1e1)]=_0x4b4049,_0x46d8ab[_0x249b87(0x1d6)](_0xfe5709);}}else _0x46d8ab[_0x249b87(0x1d6)](MetaApi[_0x249b87(0x1ee)](_0x249b87(0x1dd),this[_0x249b87(0x203)][_0x249b87(0x209)],this[_0x249b87(0x203)][_0x249b87(0x209)],_0x249b87(0x1d7),!0x1,!0x0,0xb4)),this[_0x249b87(0x203)][_0x249b87(0x1e0)]&&_0x46d8ab['push'](MetaApi[_0x249b87(0x1ee)](_0x249b87(0x1dd),this[_0x249b87(0x203)][_0x249b87(0x1e0)],this[_0x249b87(0x203)][_0x249b87(0x1e0)],_0x249b87(0x1d7),!0x1,!0x0,0x12c));_0x46d8ab['forEach'](_0x1bcc24=>{const _0x197956=_0x249b87;let _0x1c2b75=_0x4dad0c[_0x197956(0x1fd)](_0x3a3128=>'string'==typeof _0x3a3128?_0x1bcc24[_0x197956(0x205)]==_0x3a3128:_0x1bcc24[_0x197956(0x205)]==_0x3a3128[_0x197956(0x205)]);_0x1c2b75&&_0x1c2b75[_0x197956(0x1db)]>0x0&&(_0x1bcc24[_0x197956(0x1fd)]=_0x197956(0x1dd)==typeof _0x1c2b75[0x0]?'search':_0x1c2b75[0x0]);});let _0x49ef5c={'rows':MetaApi[_0x249b87(0x212)](!0x1),'pagination':MetaApi[_0x249b87(0x1d0)](),'columns':_0x46d8ab,'sorters':[..._0x16de40]};_0x49ef5c[_0x249b87(0x21f)][_0x249b87(0x1ce)]={'click':_0x249b87(0x20d),'dblclick':(_0x3f79a8,_0x24af8b,_0x3f08be,_0x12fc1e,_0x988c1e,_0x5d3737)=>{const _0xb5b62f=_0x249b87;this[_0xb5b62f(0x1d1)](_0x12fc1e);}},_0x49ef5c[_0x249b87(0x21f)][_0x249b87(0x1e9)]=!0x1,this['gridConfig']=_0x49ef5c,await super['connectedCallback']();}async[a0_0xa51c49(0x1f4)](){const _0x1c1b42=a0_0xa51c49;await super[_0x1c1b42(0x1f4)]();}[a0_0xa51c49(0x1ef)](){const _0x230350=a0_0xa51c49;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x230350(0x218)]} .mode=${isMobileDevice()?'LIST':'GRID'} auto-fetch
22
- .fetchHandler=${this[_0x230350(0x221)]['bind'](this)}>
20
+ `];async[a0_0x4556e2(0x11a)](){const _0x48464d=a0_0x4556e2;this['search_hidden_fields']=this[_0x48464d(0x134)][_0x48464d(0x12d)]?this[_0x48464d(0x134)][_0x48464d(0x12d)]:this[_0x48464d(0xf2)]&&this[_0x48464d(0xf2)][_0x48464d(0x12d)]?this[_0x48464d(0xf2)][_0x48464d(0x12d)]:[];let _0x5da43a=this[_0x48464d(0x134)][_0x48464d(0x141)]?this['options'][_0x48464d(0x141)]:this[_0x48464d(0xf2)]&&this[_0x48464d(0xf2)][_0x48464d(0x141)]?this[_0x48464d(0xf2)]['sorters']:[],_0x359729=this[_0x48464d(0x134)][_0x48464d(0x102)]?this[_0x48464d(0x134)][_0x48464d(0x102)]:this[_0x48464d(0x134)]['menu_template']?.[_0x48464d(0x13f)]&&this['options'][_0x48464d(0x126)]?.[_0x48464d(0x13f)]['length']>0x0?this[_0x48464d(0x134)]['menu_template'][_0x48464d(0x13f)]:[],_0x105fb8=this[_0x48464d(0x134)][_0x48464d(0xf6)];if(!_0x359729||0x0==_0x359729[_0x48464d(0x119)]){let _0xe8dacc;this['options'][_0x48464d(0x142)]&&(_0xe8dacc=this[_0x48464d(0x134)][_0x48464d(0x142)]),this[_0x48464d(0x134)][_0x48464d(0x10d)]&&(_0xe8dacc=this[_0x48464d(0x134)][_0x48464d(0x10d)]),_0xe8dacc&&_0x359729[_0x48464d(0x113)]({'name':_0xe8dacc,'operator':'eq'});}let _0x16e60f=[...MetaApi[_0x48464d(0x103)](!0x0,!0x1)];if(_0x105fb8&&_0x105fb8['length']>0x0)for(let _0x4c94de=0x0;_0x4c94de<_0x105fb8[_0x48464d(0x119)];_0x4c94de++){let {type:_0x50d3bc='string',name:_0x310b5c,hidden:_0x16220b=!0x1,record:_0x287507={'align':_0x48464d(0x130)},header:_0x4af387,sortable:_0x12dc84=!0x1,width:_0x1028a5=0x87,options:_0x1c5e0c,select_opt:_0x4e10ee,object_opt:_0x533897}=_0x105fb8[_0x4c94de];if(_0x4e10ee&&(_0x1c5e0c=_0x4e10ee),_0x533897&&(_0x1c5e0c=_0x533897),[_0x48464d(0xff),'object'][_0x48464d(0x144)](_0x50d3bc)?_0x50d3bc=_0x48464d(0xfa):[_0x48464d(0x110)]['includes'](_0x50d3bc)&&(_0x50d3bc=_0x48464d(0x13c)),'id'==_0x310b5c)_0x16e60f[_0x48464d(0x113)]({'type':'string','name':_0x310b5c,'hidden':!0x0});else{let _0x2ae21c=MetaApi[_0x48464d(0xf0)](_0x50d3bc,_0x310b5c,_0x4af387||_0x310b5c,_0x287507['align']?_0x287507[_0x48464d(0x138)]:_0x48464d(0x130),!0x1,_0x12dc84,_0x1028a5);_0x50d3bc[_0x48464d(0x137)](_0x48464d(0x139))&&_0x533897&&_0x533897[_0x48464d(0x136)]&&(_0x1c5e0c=await MetaUiUtil['getGristMetaObjectOptions'](_0x50d3bc,_0x1c5e0c)),_0x48464d(0xf6)===_0x50d3bc?Array[_0x48464d(0x12c)](_0x1c5e0c)?_0x2ae21c[_0x48464d(0x122)][_0x48464d(0x134)]=_0x1c5e0c:_0x48464d(0x128)===_0x1c5e0c[_0x48464d(0x106)]?_0x2ae21c['record']['options']=await ServiceUtil['getCodeSelectorData'](_0x1c5e0c[_0x48464d(0x124)]?_0x1c5e0c[_0x48464d(0x124)]:_0x1c5e0c['name']):_0x48464d(0xfb)===_0x1c5e0c[_0x48464d(0x106)]?_0x2ae21c[_0x48464d(0x122)][_0x48464d(0x134)]=await ServiceUtil['getCodeByScenario'](_0x1c5e0c[_0x48464d(0x100)],_0x1c5e0c[_0x48464d(0x13a)]):_0x48464d(0x145)===_0x1c5e0c[_0x48464d(0x106)]&&(_0x2ae21c[_0x48464d(0x122)]['options']=await ServiceUtil[_0x48464d(0x11c)](_0x1c5e0c[_0x48464d(0x13a)])):_0x48464d(0xfa)===_0x50d3bc?_0x2ae21c['record'][_0x48464d(0x134)]={..._0x1c5e0c}:_0x48464d(0x13c)==_0x50d3bc&&(_0x1c5e0c[_0x48464d(0x115)]&&(_0x1c5e0c[_0x48464d(0xf4)]=await ServiceUtil[_0x48464d(0x11c)](_0x1c5e0c)),_0x2ae21c[_0x48464d(0x122)][_0x48464d(0x134)]={..._0x1c5e0c}),_0x2ae21c[_0x48464d(0x129)]=_0x16220b,_0x16e60f[_0x48464d(0x113)](_0x2ae21c);}}else _0x16e60f[_0x48464d(0x113)](MetaApi[_0x48464d(0xf0)](_0x48464d(0xf1),this[_0x48464d(0x134)]['codeField'],this[_0x48464d(0x134)][_0x48464d(0x142)],_0x48464d(0x130),!0x1,!0x0,0xb4)),this[_0x48464d(0x134)][_0x48464d(0x115)]&&_0x16e60f[_0x48464d(0x113)](MetaApi[_0x48464d(0xf0)](_0x48464d(0xf1),this['options']['dispField'],this['options'][_0x48464d(0x115)],_0x48464d(0x130),!0x1,!0x0,0x12c));_0x16e60f['forEach'](_0x1ae4c9=>{const _0x3fba1f=_0x48464d;let _0x236ff0=_0x359729['filter'](_0x30ee7b=>_0x3fba1f(0xf1)==typeof _0x30ee7b?_0x1ae4c9[_0x3fba1f(0x100)]==_0x30ee7b:_0x1ae4c9[_0x3fba1f(0x100)]==_0x30ee7b['name']);_0x236ff0&&_0x236ff0[_0x3fba1f(0x119)]>0x0&&(_0x1ae4c9['filter']='string'==typeof _0x236ff0[0x0]?_0x3fba1f(0x13f):_0x236ff0[0x0]);});let _0x5a6270={'rows':MetaApi[_0x48464d(0x135)](!0x1),'pagination':MetaApi[_0x48464d(0x143)](),'columns':_0x16e60f,'sorters':[..._0x5da43a]};_0x5a6270['rows'][_0x48464d(0x10f)]={'click':_0x48464d(0x125),'dblclick':(_0x3d767b,_0x5b0fa5,_0x78d3fa,_0xd2b444,_0x21f000,_0x5cfc15)=>{const _0x312afd=_0x48464d;this[_0x312afd(0x11f)](_0xd2b444);}},_0x5a6270[_0x48464d(0x131)][_0x48464d(0x111)]=!0x1,this['gridConfig']=_0x5a6270,await super['connectedCallback']();}async[a0_0x4556e2(0x12f)](){const _0x281993=a0_0x4556e2;await super[_0x281993(0x12f)]();}[a0_0x4556e2(0x13b)](){const _0x31b2b1=a0_0x4556e2;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x31b2b1(0x121)]} .mode=${isMobileDevice()?_0x31b2b1(0x10e):_0x31b2b1(0x13d)} auto-fetch
22
+ .fetchHandler=${this['fetchHandler'][_0x31b2b1(0x11e)](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_0xa51c49=a0_0x7806;(function(_0x481029,_0x59d247){const _0x2f4325=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x230350(0x208)](_0x230350(0x1da))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x230350(0x1fb)][_0x230350(0x1cd)](this)}>
30
+ <mwc-button raised label="${TermsUtil['tButton'](_0x31b2b1(0x109))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this['clickEmpty']['bind'](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x230350(0x208)](_0x230350(0x20a))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x230350(0x1e8)][_0x230350(0x1cd)](this)}>
33
+ <mwc-button raised label="${TermsUtil['tButton']('cancel')}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x31b2b1(0x12e)]['bind'](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x230350(0x208)]('select')}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this['clickSelect'][_0x230350(0x1cd)](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x31b2b1(0x11b)](_0x31b2b1(0xf6))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this['clickSelect'][_0x31b2b1(0x11e)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get[a0_0xa51c49(0x1f8)](){const _0x3cc32d=a0_0xa51c49;return this['shadowRoot'][_0x3cc32d(0x1f5)](_0x3cc32d(0x21b));}async[a0_0xa51c49(0x221)]({page:_0x569e03=0x0,limit:_0x5b0b5d=0x0,sorters:_0x4bd106=[],filters:_0x304052=[]}){const _0x10250c=a0_0xa51c49;let _0x22a170=[...this['search_hidden_fields']];_0x304052[_0x10250c(0x1f0)](_0x1f9b73=>{const _0x4a6b84=_0x10250c;let _0x115b93=_0x22a170[_0x4a6b84(0x1fd)](_0x26378b=>_0x1f9b73[_0x4a6b84(0x205)]==_0x26378b[_0x4a6b84(0x205)]);_0x115b93&&_0x115b93['length']>0x0&&delete _0x22a170[_0x1f9b73[_0x4a6b84(0x205)]],_0x22a170['push'](_0x1f9b73);});let _0x23f4ee=ValueUtil[_0x10250c(0x1e2)](this[_0x10250c(0x203)][_0x10250c(0x20f)]&&this[_0x10250c(0x203)][_0x10250c(0x20f)][_0x10250c(0x1d8)]||{},_0x10250c(0x206),'after_set_fields'),_0x33061e=Object[_0x10250c(0x1ed)](_0x23f4ee||{}),_0x3660f6=MetaApi[_0x10250c(0x1f2)](this[_0x10250c(0x218)]['columns'][_0x10250c(0x1fd)](_0x1b89c7=>!_0x33061e[_0x10250c(0x207)](_0x1b89c7['name'])));return await MetaApi[_0x10250c(0x217)](this[_0x10250c(0x203)]['queryName'],_0x22a170,_0x4bd106,_0x569e03,_0x5b0b5d,_0x3660f6);}async[a0_0xa51c49(0x1fb)](_0x1f85a9){const _0x35c498=a0_0xa51c49;this[_0x35c498(0x201)]&&this['confirmCallback'](null),closePopup(this);}async[a0_0xa51c49(0x1e8)](_0x10d231){closePopup(this);}async[a0_0xa51c49(0x213)](_0x565b81){const _0x5b6f06=a0_0xa51c49;let _0x1167c8=this[_0x5b6f06(0x1f8)][_0x5b6f06(0x1d2)];_0x1167c8&&0x0!=_0x1167c8[_0x5b6f06(0x1db)]?this[_0x5b6f06(0x1d1)](_0x1167c8[0x0]):MetaApi[_0x5b6f06(0x21c)]('info',TermsUtil[_0x5b6f06(0x1d9)](_0x5b6f06(0x21e)));}async['selectRecord'](_0x11ab1f){this['confirmCallback']&&this['confirmCallback'](_0x11ab1f),closePopup(this);}}function a0_0x7806(_0x5ba4ef,_0x69037f){const _0x565e11=a0_0x565e();return a0_0x7806=function(_0x7806e5,_0x29ab33){_0x7806e5=_0x7806e5-0x1cd;let _0xcccb31=_0x565e11[_0x7806e5];return _0xcccb31;},a0_0x7806(_0x5ba4ef,_0x69037f);}customElements['define'](a0_0xa51c49(0x1f3),MetaObjectSelectorPopup);
40
+ `;}get[a0_0x4556e2(0xf3)](){const _0x23763=a0_0x4556e2;return this[_0x23763(0x10b)]['querySelector']('#ox-grist');}async['fetchHandler']({page:_0x269960=0x0,limit:_0x26485b=0x0,sorters:_0x417177=[],filters:_0x5ef042=[]}){const _0x233438=a0_0x4556e2;let _0x21ba6d=[...this['search_hidden_fields']];_0x5ef042[_0x233438(0x10a)](_0x597e2c=>{const _0x28a036=_0x233438;let _0x5ce54e=_0x21ba6d[_0x28a036(0x104)](_0x3cff9d=>_0x597e2c[_0x28a036(0x100)]==_0x3cff9d['name']);_0x5ce54e&&_0x5ce54e[_0x28a036(0x119)]>0x0&&delete _0x21ba6d[_0x597e2c[_0x28a036(0x100)]],_0x21ba6d[_0x28a036(0x113)](_0x597e2c);});let _0x12ea6b=ValueUtil[_0x233438(0x105)](this['options'][_0x233438(0x126)]&&this[_0x233438(0x134)][_0x233438(0x126)]['gql']||{},_0x233438(0x140),'after_set_fields'),_0x1b102d=Object['keys'](_0x12ea6b||{}),_0x2dba62=MetaApi[_0x233438(0xfd)](this[_0x233438(0x121)][_0x233438(0x12b)]['filter'](_0x535c07=>!_0x1b102d[_0x233438(0x144)](_0x535c07[_0x233438(0x100)])));return await MetaApi['searchByPagination'](this['options']['queryName'],_0x21ba6d,_0x417177,_0x269960,_0x26485b,_0x2dba62);}async[a0_0x4556e2(0x123)](_0x32779c){const _0x4a17ff=a0_0x4556e2;this[_0x4a17ff(0x132)]&&this[_0x4a17ff(0x132)](null),closePopup(this);}async['clickCancel'](_0x4b11aa){closePopup(this);}async[a0_0x4556e2(0x10c)](_0x3adfd0){const _0x55efe3=a0_0x4556e2;let _0x412b01=this[_0x55efe3(0xf3)][_0x55efe3(0x114)];_0x412b01&&0x0!=_0x412b01[_0x55efe3(0x119)]?this['selectRecord'](_0x412b01[0x0]):MetaApi[_0x55efe3(0x108)](_0x55efe3(0x133),TermsUtil[_0x55efe3(0xf9)](_0x55efe3(0x12a)));}async[a0_0x4556e2(0x11f)](_0x490fad){const _0x3b2c11=a0_0x4556e2;this[_0x3b2c11(0x132)]&&this[_0x3b2c11(0x132)](_0x490fad),closePopup(this);}}customElements[a0_0x4556e2(0x11d)](a0_0x4556e2(0x120),MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x48dd89=a0_0x52eb;function a0_0x52eb(_0x4d8eb4,_0x239339){const _0x58a930=a0_0x58a9();return a0_0x52eb=function(_0x52ebe3,_0x1e7488){_0x52ebe3=_0x52ebe3-0x1eb;let _0x150acd=_0x58a930[_0x52ebe3];return _0x150acd;},a0_0x52eb(_0x4d8eb4,_0x239339);}(function(_0x1d5bf4,_0x5b1647){const _0x35e3c0=a0_0x52eb,_0x4e68b6=_0x1d5bf4();while(!![]){try{const _0x56d2cd=parseInt(_0x35e3c0(0x1ec))/0x1+-parseInt(_0x35e3c0(0x211))/0x2*(-parseInt(_0x35e3c0(0x201))/0x3)+-parseInt(_0x35e3c0(0x20e))/0x4*(-parseInt(_0x35e3c0(0x1f5))/0x5)+parseInt(_0x35e3c0(0x1fa))/0x6*(parseInt(_0x35e3c0(0x1f8))/0x7)+parseInt(_0x35e3c0(0x214))/0x8+-parseInt(_0x35e3c0(0x1ee))/0x9+parseInt(_0x35e3c0(0x218))/0xa*(-parseInt(_0x35e3c0(0x212))/0xb);if(_0x56d2cd===_0x5b1647)break;else _0x4e68b6['push'](_0x4e68b6['shift']());}catch(_0x49ac0e){_0x4e68b6['push'](_0x4e68b6['shift']());}}}(a0_0x58a9,0x2d322));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x58a9(){const _0x397597=['executeCallScenarioButtonClick','parseBasicFormConfigs','710VBBcid','properties','active','3199ujRIFD','after','1680IoOWGN','lifecycle','is_popup','errors','is_detail','parseBasicGridConfigs','isElement','120VElaME','params','parseBasicButtonConfigs','name','fetch','menu','excuteOpenPopupButtonClick','fetchHandler','getParams','openDynamicPopup','isPage','isNotEmpty','setParentId','4784gKjSYh','isPopup','grist','10198WjfIpM','15059iXThyF','title','227392zkBMEG','parent_id','filterForm','etcConfig','1050FhzOeF','parseBasicServiceConfigs','163183OZjgfs','isEmpty','3280428eFyVxI','parseBasicTabConfigs','title_detail','etc','menuInfo'];a0_0x58a9=function(){return _0x397597;};return a0_0x58a9();}export const MetaBaseMixin=_0x29f88f=>class extends _0x29f88f{static get[a0_0x48dd89(0x1f6)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x2c3daa=>Boolean(_0x2c3daa)},'is_popup':{'type':Boolean,'converter':_0x29f1bf=>Boolean(_0x29f1bf)},'is_activity':{'type':Boolean,'converter':_0x35a1b7=>Boolean(_0x35a1b7)},'is_readonly':{'type':Boolean,'converter':_0x502614=>Boolean(_0x502614)}};}get[a0_0x48dd89(0x200)](){const _0x627a50=a0_0x48dd89;return!0x0===this[_0x627a50(0x1fe)]||!0x0===this['is_popup'];}get['isDetail'](){const _0x3d40e9=a0_0x48dd89;return!ValueUtil[_0x3d40e9(0x1ed)](this[_0x3d40e9(0x1fe)])&&this['is_detail'];}async['pageUpdated'](_0x165cb,_0x315b20,_0x316282){const _0x3436ff=a0_0x48dd89;let _0x5f3e5a=this[_0x3436ff(0x1fb)]?.[_0x3436ff(0x202)]?this[_0x3436ff(0x1fb)][_0x3436ff(0x202)]:{};this[_0x3436ff(0x20b)]&&this['active']&&0x0==_0x316282[_0x3436ff(0x1f7)]&&ValueUtil[_0x3436ff(0x20c)](_0x5f3e5a)&&this['fetch']();}get[a0_0x48dd89(0x20f)](){const _0x116cd4=a0_0x48dd89;return!ValueUtil[_0x116cd4(0x1ed)](this[_0x116cd4(0x1fc)])&&this['is_popup'];}get[a0_0x48dd89(0x20b)](){const _0x3ff117=a0_0x48dd89;return!this[_0x3ff117(0x1fe)]&&!this[_0x3ff117(0x1fc)];}async['getAndParseMenuMeta'](){const _0x2b58f4=a0_0x48dd89;let _0x5b265b=await MetaApi['getMenuMeta'](this);_0x5b265b&&(this[_0x2b58f4(0x1f2)]=_0x5b265b[_0x2b58f4(0x206)],this[_0x2b58f4(0x217)]=_0x5b265b[_0x2b58f4(0x1f1)],this[_0x2b58f4(0x1ff)]&&this['parseBasicGridConfigs'](_0x5b265b),this[_0x2b58f4(0x1eb)]&&this[_0x2b58f4(0x1eb)](_0x5b265b),this[_0x2b58f4(0x1f4)]&&this[_0x2b58f4(0x1f4)](_0x5b265b),this[_0x2b58f4(0x1ef)]&&this[_0x2b58f4(0x1ef)](_0x5b265b),this[_0x2b58f4(0x203)]&&this[_0x2b58f4(0x203)](_0x5b265b));}async['fetch'](){const _0xfbeb66=a0_0x48dd89;ValueUtil[_0xfbeb66(0x20c)](this[_0xfbeb66(0x210)])?this['grist'][_0xfbeb66(0x205)]():(ValueUtil[_0xfbeb66(0x20c)](this[_0xfbeb66(0x216)])||this[_0xfbeb66(0x208)])&&await this[_0xfbeb66(0x208)]();}async[a0_0x48dd89(0x207)](_0x3e76b6,_0x5cbbf0,_0x34bafb){const _0x3e8490=a0_0x48dd89;let _0x5c8867=TermsUtil['tTitle'](_0x3e76b6[_0x3e8490(0x213)]);ValueUtil[_0x3e8490(0x20c)](_0x3e76b6[_0x3e8490(0x1f0)])&&(_0x5c8867=_0x5c8867+'-'+ValueUtil[_0x3e8490(0x209)](_0x5cbbf0,..._0x3e76b6[_0x3e8490(0x1f0)]['split']('.'))),MetaApi[_0x3e8490(0x20a)](_0x5c8867,_0x3e76b6,_0x5cbbf0,_0x34bafb);}async[a0_0x48dd89(0x1f3)](_0x525ade,_0x51d067,_0x32c7ac){const _0x1113d9=a0_0x48dd89;let _0x796322=await MetaApi['callScenario'](_0x525ade[_0x1113d9(0x204)],_0x525ade[_0x1113d9(0x204)],_0x51d067);!0x1!==_0x796322&&!_0x796322[_0x1113d9(0x1fd)]&&ValueUtil['isNotEmpty'](_0x525ade[_0x1113d9(0x1f9)])&&_0x32c7ac();}[a0_0x48dd89(0x20d)](_0x5ca041){const _0x10b28b=a0_0x48dd89;this[_0x10b28b(0x215)]=_0x5ca041,this[_0x10b28b(0x205)]();}};
1
+ const a0_0xc409fd=a0_0x25b2;function a0_0x25b2(_0x3e170b,_0x52804d){const _0x104e3e=a0_0x104e();return a0_0x25b2=function(_0x25b2e3,_0x469919){_0x25b2e3=_0x25b2e3-0x12f;let _0x1df17d=_0x104e3e[_0x25b2e3];return _0x1df17d;},a0_0x25b2(_0x3e170b,_0x52804d);}(function(_0x5ba6ce,_0xe4c363){const _0x481916=a0_0x25b2,_0x4d91e7=_0x5ba6ce();while(!![]){try{const _0x3ba751=-parseInt(_0x481916(0x148))/0x1*(-parseInt(_0x481916(0x157))/0x2)+-parseInt(_0x481916(0x133))/0x3+parseInt(_0x481916(0x12f))/0x4*(-parseInt(_0x481916(0x152))/0x5)+-parseInt(_0x481916(0x14d))/0x6+-parseInt(_0x481916(0x143))/0x7*(-parseInt(_0x481916(0x140))/0x8)+parseInt(_0x481916(0x138))/0x9+-parseInt(_0x481916(0x153))/0xa;if(_0x3ba751===_0xe4c363)break;else _0x4d91e7['push'](_0x4d91e7['shift']());}catch(_0x315640){_0x4d91e7['push'](_0x4d91e7['shift']());}}}(a0_0x104e,0x3a27b));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x104e(){const _0x43bb6=['lifecycle','params','title_detail','after','isPage','isPopup','24KbLXWl','is_detail','callScenario','1110354fAUQal','isElement','fetchHandler','parent_id','excuteOpenPopupButtonClick','8uGBYvA','setParentId','grist','isEmpty','properties','1086642qrOtJU','getAndParseMenuMeta','name','parseBasicGridConfigs','tTitle','11810KmoVFo','1069250puCMvm','getMenuMeta','menu','parseBasicServiceConfigs','107710QkiuhK','title','filterForm','etc','404jpbnUB','parseBasicButtonConfigs','executeCallScenarioButtonClick','fetch','846420OMgPxl','parseBasicFormConfigs','is_popup','isNotEmpty','active','1262079NuAmWj','parseBasicTabConfigs'];a0_0x104e=function(){return _0x43bb6;};return a0_0x104e();}export const MetaBaseMixin=_0x36cb62=>class extends _0x36cb62{static get[a0_0xc409fd(0x14c)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x1735ab=>Boolean(_0x1735ab)},'is_popup':{'type':Boolean,'converter':_0x28e667=>Boolean(_0x28e667)},'is_activity':{'type':Boolean,'converter':_0x1cb5e0=>Boolean(_0x1cb5e0)},'is_readonly':{'type':Boolean,'converter':_0xdd26bb=>Boolean(_0xdd26bb)}};}get[a0_0xc409fd(0x144)](){const _0x260114=a0_0xc409fd;return!0x0===this[_0x260114(0x141)]||!0x0===this[_0x260114(0x135)];}get['isDetail'](){const _0xd450bc=a0_0xc409fd;return!ValueUtil[_0xd450bc(0x14b)](this[_0xd450bc(0x141)])&&this[_0xd450bc(0x141)];}async['pageUpdated'](_0x2d4f52,_0x6a10eb,_0x2f6ae0){const _0x5a163d=a0_0xc409fd;let _0x193de8=this[_0x5a163d(0x13a)]?.[_0x5a163d(0x13b)]?this[_0x5a163d(0x13a)][_0x5a163d(0x13b)]:{};this['isPage']&&this[_0x5a163d(0x137)]&&0x0==_0x2f6ae0[_0x5a163d(0x137)]&&ValueUtil[_0x5a163d(0x136)](_0x193de8)&&this[_0x5a163d(0x132)]();}get[a0_0xc409fd(0x13f)](){const _0x13c23d=a0_0xc409fd;return!ValueUtil['isEmpty'](this[_0x13c23d(0x135)])&&this[_0x13c23d(0x135)];}get[a0_0xc409fd(0x13e)](){const _0x1bec61=a0_0xc409fd;return!this[_0x1bec61(0x141)]&&!this[_0x1bec61(0x135)];}async[a0_0xc409fd(0x14e)](){const _0x5dcc3b=a0_0xc409fd;let _0x5dabd0=await MetaApi[_0x5dcc3b(0x154)](this);_0x5dabd0&&(this['menuInfo']=_0x5dabd0[_0x5dcc3b(0x155)],this['etcConfig']=_0x5dabd0[_0x5dcc3b(0x15a)],this[_0x5dcc3b(0x150)]&&this[_0x5dcc3b(0x150)](_0x5dabd0),this[_0x5dcc3b(0x156)]&&this[_0x5dcc3b(0x156)](_0x5dabd0),this[_0x5dcc3b(0x134)]&&this[_0x5dcc3b(0x134)](_0x5dabd0),this[_0x5dcc3b(0x139)]&&this[_0x5dcc3b(0x139)](_0x5dabd0),this[_0x5dcc3b(0x130)]&&this[_0x5dcc3b(0x130)](_0x5dabd0));}async['fetch'](){const _0x4d3324=a0_0xc409fd;ValueUtil[_0x4d3324(0x136)](this[_0x4d3324(0x14a)])?this['grist']['fetch']():(ValueUtil[_0x4d3324(0x136)](this[_0x4d3324(0x159)])||this[_0x4d3324(0x145)])&&await this[_0x4d3324(0x145)]();}async[a0_0xc409fd(0x147)](_0xa112be,_0x5d6fc2,_0x31ba13){const _0x5ba25c=a0_0xc409fd;let _0x45aa92=TermsUtil[_0x5ba25c(0x151)](_0xa112be[_0x5ba25c(0x158)]);ValueUtil['isNotEmpty'](_0xa112be[_0x5ba25c(0x13c)])&&(_0x45aa92=_0x45aa92+'-'+ValueUtil['getParams'](_0x5d6fc2,..._0xa112be['title_detail']['split']('.'))),MetaApi['openDynamicPopup'](_0x45aa92,_0xa112be,_0x5d6fc2,_0x31ba13);}async[a0_0xc409fd(0x131)](_0x2da046,_0x58ec17,_0xfd594c){const _0x3dacf6=a0_0xc409fd;let _0x972fdc=await MetaApi[_0x3dacf6(0x142)](_0x2da046[_0x3dacf6(0x14f)],_0x2da046[_0x3dacf6(0x14f)],_0x58ec17);!0x1!==_0x972fdc&&!_0x972fdc['errors']&&ValueUtil['isNotEmpty'](_0x2da046[_0x3dacf6(0x13d)])&&_0xfd594c();}[a0_0xc409fd(0x149)](_0x13583f){const _0x3c36d8=a0_0xc409fd;this[_0x3c36d8(0x146)]=_0x13583f,this['fetch']();}};