@things-factory/meta-ui 6.1.34 → 6.1.35

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 (89) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +5 -2
  3. package/client/component/filter/filter-form-meta-code-select.js +9 -9
  4. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-code-select.js +10 -10
  6. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  7. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  8. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  9. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  10. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  12. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  13. package/client/component/popup/code-input-editor-popup.js +10 -10
  14. package/client/component/popup/meta-object-selector-popup.js +11 -11
  15. package/client/mixin/meta-base-mixin.js +1 -1
  16. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  17. package/client/mixin/meta-button-mixin.js +1 -1
  18. package/client/mixin/meta-form-mixin.js +1 -1
  19. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  20. package/client/mixin/meta-main-tab-mixin.js +1 -1
  21. package/client/mixin/meta-master-detail-mixin.js +1 -1
  22. package/client/mixin/meta-service-mixin.js +1 -1
  23. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  24. package/client/mixin/meta-tab-mixin.js +1 -1
  25. package/client/pages/activity/meta-activity-list-page.js +6 -6
  26. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  27. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  28. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  29. package/client/pages/entity/config-entity.js +28 -28
  30. package/client/pages/entity/main-menu-selector.js +8 -8
  31. package/client/pages/history/history-copy-list-popup.js +6 -6
  32. package/client/pages/history/history-json-list-popup.js +6 -6
  33. package/client/pages/loading-page.js +5 -5
  34. package/client/pages/menu/dynamic-menu-template.js +7 -7
  35. package/client/pages/menu/dynamic-menu.js +16 -16
  36. package/client/pages/meta-form-element.js +1 -1
  37. package/client/pages/meta-grist-element.js +1 -1
  38. package/client/pages/meta-grist-page.js +1 -1
  39. package/client/pages/meta-grist-tab-element.js +1 -1
  40. package/client/pages/meta-grist-tab-page.js +1 -1
  41. package/client/pages/meta-main-tab-element.js +1 -1
  42. package/client/pages/meta-main-tab-page.js +1 -1
  43. package/client/pages/meta-master-detail-element.js +1 -1
  44. package/client/pages/meta-master-detail-page.js +1 -1
  45. package/client/pages/meta-tab-detail-element.js +1 -1
  46. package/client/pages/meta-tab-detail-page.js +1 -1
  47. package/client/pages/meta-tab-element.js +1 -1
  48. package/client/pages/personalize/personal-column-selector.js +11 -11
  49. package/client/pages/terms/config-terminology.js +6 -6
  50. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  51. package/client/pages/work-code/work-code-page.js +1 -1
  52. package/client/reducers/main.js +1 -1
  53. package/client/utils/grist-default-value.js +1 -0
  54. package/client/utils/meta-api.js +1 -1
  55. package/client/utils/meta-crypto.js +1 -1
  56. package/client/utils/meta-ui-util.js +103 -103
  57. package/client/utils/service-util.js +13 -13
  58. package/client/utils/terms-util.js +2 -2
  59. package/client/utils/ui-util.js +1 -1
  60. package/client/utils/value-util.js +1 -1
  61. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  62. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  63. package/client/viewparts/dynamic-menu-part.js +12 -12
  64. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  65. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  66. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  67. package/package.json +2 -2
  68. package/server/activity/CommonActivity.js +2 -2
  69. package/server/constants/error-code.js +1 -1
  70. package/server/errors/license-error.js +1 -1
  71. package/server/routes.js +1 -1
  72. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  73. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  74. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  76. package/server/service/grid-personalize/grid-personalize.js +1 -1
  77. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  78. package/server/service/meta-activity/meta-activity-query.js +1 -1
  79. package/server/service/meta-activity/meta-activity-type.js +1 -1
  80. package/server/service/meta-secret/meta-resolver.js +1 -1
  81. package/server/service/set-translations/set-translation-resolver.js +1 -1
  82. package/server/service/work-code/work-code-mutation.js +1 -1
  83. package/server/service/work-code/work-code-query.js +1 -1
  84. package/server/service/work-code/work-code-type.js +1 -1
  85. package/server/service/work-code/work-code.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  87. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  89. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0x3839df=a0_0x540b;function a0_0x540b(_0x537b64,_0x33b484){const _0x589393=a0_0x5893();return a0_0x540b=function(_0x540b36,_0x586ba4){_0x540b36=_0x540b36-0x16e;let _0x18e2ff=_0x589393[_0x540b36];return _0x18e2ff;},a0_0x540b(_0x537b64,_0x33b484);}(function(_0x2207ab,_0x3eb84a){const _0x5215f2=a0_0x540b,_0x2c035a=_0x2207ab();while(!![]){try{const _0x5ccbe1=-parseInt(_0x5215f2(0x188))/0x1*(parseInt(_0x5215f2(0x177))/0x2)+parseInt(_0x5215f2(0x183))/0x3*(-parseInt(_0x5215f2(0x171))/0x4)+-parseInt(_0x5215f2(0x178))/0x5*(parseInt(_0x5215f2(0x16e))/0x6)+-parseInt(_0x5215f2(0x184))/0x7+parseInt(_0x5215f2(0x18d))/0x8*(parseInt(_0x5215f2(0x18c))/0x9)+-parseInt(_0x5215f2(0x181))/0xa+parseInt(_0x5215f2(0x175))/0xb;if(_0x5ccbe1===_0x3eb84a)break;else _0x2c035a['push'](_0x2c035a['shift']());}catch(_0x3b1883){_0x2c035a['push'](_0x2c035a['shift']());}}}(a0_0x5893,0x1e81d));import'../viewparts/dynamic-menu-part';function a0_0x5893(){const _0x5f1f3c=['data','dispatch','hamburger','FRONT_END','dynamic-menu','2282970FnHRHd','rank','26058xaiZIQ','724836ctTDdo','active','HEADERBAR','portrait','11EUPZhU','UPDATE_META_UI','query','landscape','136359umuzaH','72tQzRsm','meta[name=\x22application-name\x22]','6ahChIw','dynamic-menu-part','value','44gsdJza','appName','querySelector','filter','5145745SbrYYM','liteMenus','5506RQmhIk','107615SWaXzc','lite-menu-part','UPDATE_META_MENU_TEMPLATE','content'];a0_0x5893=function(){return _0x5f1f3c;};return a0_0x5893();}import'@material/mwc-icon';import a0_0x3f639a 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_0x3839df(0x189);export const UPDATE_META_MENU_TEMPLATE=a0_0x3839df(0x17a);var HAMBURGER;export async function setupMenuPart(_0x524961){const _0x389107=a0_0x3839df;var {hovering:_0x11ed3c=!!isMobileDevice(),slotTemplate:_0x15df72,portraitSlotTemplate:_0x4f85a2,landscapeSlotTemplate:_0x2ed964,position:_0x2b7e07=VIEWPART_POSITION['NAVBAR']}=_0x524961||{};const {hovering:_0x35a79a}=(await clientSettingStore['get'](_0x389107(0x180)))?.[_0x389107(0x170)]||{};void 0x0!==_0x35a79a&&(_0x11ed3c=_0x35a79a);const _0x6dea8=_0x2b7e07==VIEWPART_POSITION[_0x389107(0x186)]?_0x389107(0x18b):'portrait',_0x2a97f7=(_0x389107(0x18b)==_0x6dea8?_0x2ed964:_0x4f85a2)||_0x15df72||html``;appendViewpart({'name':_0x389107(0x179),'viewpart':{'show':!_0x11ed3c,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x11ed3c,'template':html`<dynamic-menu-part .orientation=${_0x6dea8}>${_0x2a97f7}</dynamic-menu-part>`},'position':_0x2b7e07}),_0x11ed3c&&_0x389107(0x187)==_0x6dea8?HAMBURGER||(HAMBURGER={'name':_0x389107(0x17e),'template':html`
2
- <mwc-icon @click=${_0x51962f=>toggleOverlay(_0x389107(0x16f),{'backdrop':!0x0})}
1
+ const a0_0x3db55d=a0_0x37b2;(function(_0x4a5235,_0x59ab05){const _0x1eab84=a0_0x37b2,_0x1b5d82=_0x4a5235();while(!![]){try{const _0x4c0a11=parseInt(_0x1eab84(0xef))/0x1+-parseInt(_0x1eab84(0xe8))/0x2+-parseInt(_0x1eab84(0xed))/0x3*(parseInt(_0x1eab84(0xf4))/0x4)+-parseInt(_0x1eab84(0xf5))/0x5*(parseInt(_0x1eab84(0xfd))/0x6)+-parseInt(_0x1eab84(0xf9))/0x7*(-parseInt(_0x1eab84(0xea))/0x8)+-parseInt(_0x1eab84(0xfc))/0x9+parseInt(_0x1eab84(0xe2))/0xa*(parseInt(_0x1eab84(0xf2))/0xb);if(_0x4c0a11===_0x59ab05)break;else _0x1b5d82['push'](_0x1b5d82['shift']());}catch(_0x1991a3){_0x1b5d82['push'](_0x1b5d82['shift']());}}}(a0_0x2014,0x54745));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x5b354b from'graphql-tag';function a0_0x2014(){const _0x5e3b7b=['FRONT_END','56775GDkBAc','querySelector','121925bxPTjA','items','filter','19735507XkzhKb','appName','36fyIIrj','60AIaNYS','UPDATE_META_UI','portrait','lite-menu-part','10430eQJuiT','hamburger','value','5146920cNGkrC','292926Ozdhrc','dynamic-menu','meta[name=\x22application-name\x22]','get','NAVBAR','10cUKHMM','content','landscape','liteMenus','HEADERBAR','active','925200yZvZAq','dispatch','1184VmWtFi','dynamic-menu-part'];a0_0x2014=function(){return _0x5e3b7b;};return a0_0x2014();}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_0x3db55d(0xf6);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;function a0_0x37b2(_0x3c276f,_0x12c560){const _0x201479=a0_0x2014();return a0_0x37b2=function(_0x37b2da,_0x3618f9){_0x37b2da=_0x37b2da-0xde;let _0x5e1f5b=_0x201479[_0x37b2da];return _0x5e1f5b;},a0_0x37b2(_0x3c276f,_0x12c560);}export async function setupMenuPart(_0x3f5e1c){const _0x1f9a9f=a0_0x3db55d;var {hovering:_0x21295a=!!isMobileDevice(),slotTemplate:_0xdbb885,portraitSlotTemplate:_0x46ed80,landscapeSlotTemplate:_0x278df0,position:_0x5728da=VIEWPART_POSITION[_0x1f9a9f(0xe1)]}=_0x3f5e1c||{};const {hovering:_0x4f088a}=(await clientSettingStore[_0x1f9a9f(0xe0)](_0x1f9a9f(0xde)))?.[_0x1f9a9f(0xfb)]||{};void 0x0!==_0x4f088a&&(_0x21295a=_0x4f088a);const _0x318935=_0x5728da==VIEWPART_POSITION[_0x1f9a9f(0xe6)]?_0x1f9a9f(0xe4):_0x1f9a9f(0xf7),_0x5d80f8=(_0x1f9a9f(0xe4)==_0x318935?_0x278df0:_0x46ed80)||_0xdbb885||html``;appendViewpart({'name':_0x1f9a9f(0xf8),'viewpart':{'show':!_0x21295a,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x21295a,'template':html`<dynamic-menu-part .orientation=${_0x318935}>${_0x5d80f8}</dynamic-menu-part>`},'position':_0x5728da}),_0x21295a&&_0x1f9a9f(0xf7)==_0x318935?HAMBURGER||(HAMBURGER={'name':_0x1f9a9f(0xfa),'template':html`
2
+ <mwc-icon @click=${_0x34e5b1=>toggleOverlay(_0x1f9a9f(0xeb),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x389107(0x17f)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x389107(0x17d)]({'type':REMOVE_APP_TOOL,'name':_0x389107(0x17e)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x462b44){const _0x5c0b32=a0_0x3839df;var _0x17d992=document[_0x5c0b32(0x173)](_0x5c0b32(0x18e))?.[_0x5c0b32(0x17b)],_0x41ce23=(await client[_0x5c0b32(0x18a)]({'query':a0_0x3f639a`
4
+ `,'position':TOOL_POSITION[_0x1f9a9f(0xec)]},store[_0x1f9a9f(0xe9)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':_0x1f9a9f(0xfa)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x4f969a){const _0x3cb602=a0_0x3db55d;var _0x51c6ca=document[_0x3cb602(0xee)](_0x3cb602(0xdf))?.[_0x3cb602(0xe3)],_0x56a72c=(await client['query']({'query':a0_0x5b354b`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x3839df=a0_0x540b;function a0_0x540b(_0x537b64,_0x33b484){const _0x589
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x5c0b32(0x185),'operator':'eq','value':!0x0},{'name':_0x5c0b32(0x172),'operator':'in','value':['',_0x17d992]}],'sortings':[{'name':_0x5c0b32(0x182),'desc':!0x1}]}}))[_0x5c0b32(0x17c)][_0x5c0b32(0x176)]['items'];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x41ce23[_0x5c0b32(0x174)](_0x5b5ed4=>!_0x5b5ed4[_0x5c0b32(0x172)]||_0x5b5ed4[_0x5c0b32(0x172)]===_0x17d992),'template':_0x462b44});}
23
+ `,'variables':{'filters':[{'name':_0x3cb602(0xe7),'operator':'eq','value':!0x0},{'name':_0x3cb602(0xf3),'operator':'in','value':['',_0x51c6ca]}],'sortings':[{'name':'rank','desc':!0x1}]}}))['data'][_0x3cb602(0xe5)][_0x3cb602(0xf0)];store[_0x3cb602(0xe9)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x56a72c[_0x3cb602(0xf1)](_0x557949=>!_0x557949['appName']||_0x557949[_0x3cb602(0xf3)]===_0x51c6ca),'template':_0x4f969a});}
@@ -9,6 +9,7 @@ import { updateMenuTemplate } from './actions/main'
9
9
  import metaUI from './reducers/main'
10
10
  import { TermsUtil } from './utils/terms-util'
11
11
  import { MetaApi } from './utils/meta-api'
12
+ import { GristDefaultValue } from './utils/grist-default-value'
12
13
 
13
14
  import { registerEditor as gristColumnRegisterEditor,
14
15
  registerRenderer as gristColumnRegisterRenderer,
@@ -38,8 +39,6 @@ import { FilterGristMetaObjectSelect } from './component/filter/filter-grist-met
38
39
  import { FilterFormMetaCodeSelect } from './component/filter/filter-form-meta-code-select'
39
40
  import { FilterFormMetaObjectSelect } from './component/filter/filter-form-meta-object-select'
40
41
 
41
- // import '@operato/app/filter-renderer.js'
42
- // import '@operato/app/filters-form.js'
43
42
 
44
43
  export default function bootstrap() {
45
44
  import(`./pages/activity/meta-activity-writer-element`)
@@ -63,6 +62,10 @@ export default function bootstrap() {
63
62
  // Filter Form Renderer
64
63
  formRegisterFilterRenderer('meta-code-selector',[FilterFormMetaCodeSelect]);
65
64
  formRegisterFilterRenderer('meta-object-selector',[FilterFormMetaObjectSelect]);
65
+
66
+
67
+ // Grist Default Registry
68
+ GristDefaultValue.registry();
66
69
 
67
70
  store.addReducers({
68
71
  metaUI
@@ -1,16 +1,16 @@
1
- (function(_0x45dfcd,_0x11ce8f){const _0xe21500=a0_0x5003,_0x4becb1=_0x45dfcd();while(!![]){try{const _0x475105=-parseInt(_0xe21500(0x147))/0x1*(-parseInt(_0xe21500(0x14c))/0x2)+parseInt(_0xe21500(0x157))/0x3*(parseInt(_0xe21500(0x159))/0x4)+-parseInt(_0xe21500(0x141))/0x5*(parseInt(_0xe21500(0x14f))/0x6)+-parseInt(_0xe21500(0x162))/0x7+parseInt(_0xe21500(0x15b))/0x8*(parseInt(_0xe21500(0x154))/0x9)+-parseInt(_0xe21500(0x153))/0xa*(-parseInt(_0xe21500(0x146))/0xb)+parseInt(_0xe21500(0x144))/0xc*(-parseInt(_0xe21500(0x148))/0xd);if(_0x475105===_0x11ce8f)break;else _0x4becb1['push'](_0x4becb1['shift']());}catch(_0x5d2fd7){_0x4becb1['push'](_0x4becb1['shift']());}}}(a0_0x1d8d,0x6f698));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x5003(_0x572e5a,_0x167b6d){const _0x1d8d10=a0_0x1d8d();return a0_0x5003=function(_0x50031f,_0x4e0e43){_0x50031f=_0x50031f-0x141;let _0x13e6ea=_0x1d8d10[_0x50031f];return _0x13e6ea;},a0_0x5003(_0x572e5a,_0x167b6d);}function a0_0x1d8d(){const _0x5567a9=['3726huQiWP','ox-grid-header','renderRoot','select_item','60cBsDgB','203733GoKobV','codes','options','3JEvXTk','form\x20[name=\x22','1265892JbkWPQ','large','232ViYtLW','name','join','split','value','target','length','1782788RPuXZg','querySelector','codeField','dispField','map','filter','toLowerCase','1990dTAhYO','filter-change','change','372hssEpf','stopPropagation','472109lfNonT','1qkcUmf','233441VJPQEa','dispatchEvent','selectorName','splice','568786BFlqhV','tTitle','display'];a0_0x1d8d=function(){return _0x5567a9;};return a0_0x1d8d();}function openMetaCodeSelector(_0x230f77,_0x2b74fd,_0x59c3f8){const _0x3bcfac=a0_0x5003;var _0x46d013=html`
1
+ (function(_0xf7344e,_0x1b295c){const _0x324508=a0_0x3669,_0x3baef1=_0xf7344e();while(!![]){try{const _0x48730f=-parseInt(_0x324508(0x1b1))/0x1+-parseInt(_0x324508(0x19e))/0x2*(-parseInt(_0x324508(0x195))/0x3)+parseInt(_0x324508(0x19c))/0x4+parseInt(_0x324508(0x19d))/0x5+-parseInt(_0x324508(0x19b))/0x6+-parseInt(_0x324508(0x19a))/0x7+parseInt(_0x324508(0x1ad))/0x8;if(_0x48730f===_0x1b295c)break;else _0x3baef1['push'](_0x3baef1['shift']());}catch(_0x4c2df7){_0x3baef1['push'](_0x3baef1['shift']());}}}(a0_0x2576,0x9551e));function a0_0x3669(_0x449361,_0x217202){const _0x257608=a0_0x2576();return a0_0x3669=function(_0x36697b,_0x47ab63){_0x36697b=_0x36697b-0x195;let _0x8581b5=_0x257608[_0x36697b];return _0x8581b5;},a0_0x3669(_0x449361,_0x217202);}import'../popup/meta-object-selector-popup';import{html}from'lit-html';function a0_0x2576(){const _0x4ae95c=['name','1955170FTyeQF','6036960bIyMCg','4335148mlSCKD','4120995gjfUay','2056718UjLYbh','tagName','filter','join','toLowerCase','select_item','[name=\x22','querySelector','selectorName','renderRoot','value','target','form\x20[name=\x22','dispField','codes','1118472eRjxuf','map','filter-change','ox-grid-header','1179070CBVlqV','stopPropagation','tMenu','3MVcOSY','length','splice','display'];a0_0x2576=function(){return _0x4ae95c;};return a0_0x2576();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x391660,_0x2a9749,_0x220ff6){const _0x3cd62d=a0_0x3669;var _0x43afda=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x2b74fd}
4
- .options=${_0x230f77[_0x3bcfac(0x156)]}
5
- .confirmCallback=${_0x59c3f8}
3
+ .value=${_0x2a9749}
4
+ .options=${_0x391660['options']}
5
+ .confirmCallback=${_0x220ff6}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x46d013,{'backdrop':!0x0,'size':_0x3bcfac(0x15a),'title':_0x230f77['options'][_0x3bcfac(0x14a)]?TermsUtil['tMenu'](_0x230f77['options']['selectorName']):TermsUtil[_0x3bcfac(0x14d)](_0x3bcfac(0x152))});}export const FilterFormMetaCodeSelect=(_0x76c4c1,_0x5b70da,_0xa0dda6)=>{const _0x1d12bc=a0_0x5003,_0x565ebe=_0x76c4c1['options'],_0x2223d8=_0x565ebe[_0x1d12bc(0x155)]&&_0x565ebe[_0x1d12bc(0x155)][_0x1d12bc(0x161)]>0x0?_0x565ebe[_0x1d12bc(0x155)]:void 0x0,{operator:_0x3c0044='eq'}=_0x76c4c1;let _0x15e4de=_0x5b70da||'',_0x449559=_0x5b70da||'';if(_0x565ebe[_0x1d12bc(0x165)]&&_0x5b70da&&_0x2223d8){let _0x3245e0=_0x2223d8[_0x1d12bc(0x167)](_0x2f38f6=>_0x2f38f6[_0x1d12bc(0x15f)]==_0x5b70da);_0x3245e0&&_0x3245e0['length']>0x0&&(_0x449559=_0x3245e0[0x0][_0x1d12bc(0x14e)]);}return'eq'===_0x3c0044?html`
8
- <input name='${_0x76c4c1['name']}' .value=${_0x15e4de} type="text" hidden></input>
7
+ `;openPopup(_0x43afda,{'backdrop':!0x0,'size':'large','title':_0x391660['options'][_0x3cd62d(0x1a6)]?TermsUtil[_0x3cd62d(0x1b3)](_0x391660['options'][_0x3cd62d(0x1a6)]):TermsUtil['tTitle'](_0x3cd62d(0x1a3))});}export const FilterFormMetaCodeSelect=(_0x392cbe,_0x502f1e,_0x1203ed)=>{const _0x2aa7f6=a0_0x3669,_0x17c134=_0x392cbe['options'],_0x2606f6=_0x17c134[_0x2aa7f6(0x1ac)]&&_0x17c134[_0x2aa7f6(0x1ac)]['length']>0x0?_0x17c134[_0x2aa7f6(0x1ac)]:void 0x0,{operator:_0x20b571='eq'}=_0x392cbe;let _0x412a41=_0x502f1e||'',_0x4976e1=_0x502f1e||'';if(_0x17c134[_0x2aa7f6(0x1ab)]&&_0x502f1e&&_0x2606f6){let _0x42afbe=_0x2606f6[_0x2aa7f6(0x1a0)](_0x4dbbfa=>_0x4dbbfa[_0x2aa7f6(0x1a8)]==_0x502f1e);_0x42afbe&&_0x42afbe[_0x2aa7f6(0x196)]>0x0&&(_0x4976e1=_0x42afbe[0x0][_0x2aa7f6(0x198)]);}return'eq'===_0x20b571?html`
8
+ <input name='${_0x392cbe[_0x2aa7f6(0x199)]}' .value=${_0x412a41} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x76c4c1[_0x1d12bc(0x15c)]}_disp'
13
- .value=${_0x449559}
14
- @click=${_0x31b1e6=>{const _0x5e33d7=_0x1d12bc;_0x31b1e6[_0x5e33d7(0x145)]();const _0x24ee19=_0x31b1e6[_0x5e33d7(0x160)];openMetaCodeSelector(_0x76c4c1,_0x5b70da,_0x4f6a70=>{const _0x20c033=_0x5e33d7;let _0x18a40f=_0x4f6a70?_0x4f6a70[_0x565ebe[_0x20c033(0x164)]]:'',_0x1abc65=_0x18a40f;if(_0x4f6a70&&_0x565ebe[_0x20c033(0x165)]){let _0x565dcd=_0x565ebe['dispField'][_0x20c033(0x15e)](',');_0x1abc65=_0x4f6a70[_0x565dcd[0x0]],_0x565dcd[_0x20c033(0x161)]>0x1&&(_0x1abc65+='('+_0x565dcd[_0x20c033(0x14b)](0x1)[_0x20c033(0x166)](_0x4131f4=>_0x4f6a70[_0x4131f4])[_0x20c033(0x15d)](',')+')');}_0x24ee19[_0x20c033(0x15f)]=_0x1abc65,(_0x20c033(0x150)==_0xa0dda6['tagName'][_0x20c033(0x168)]()?_0xa0dda6[_0x20c033(0x151)][_0x20c033(0x163)]('[name=\x22'+_0x76c4c1['name']+'\x22]'):_0xa0dda6[_0x20c033(0x151)]['querySelector'](_0x20c033(0x158)+_0x76c4c1[_0x20c033(0x15c)]+'\x22]'))['value']=_0x18a40f,_0x24ee19[_0x20c033(0x149)](new Event(_0x20c033(0x143),{'bubbles':!0x0})),_0x24ee19['dispatchEvent'](new CustomEvent(_0x20c033(0x142),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x76c4c1['name'],'operator':_0x3c0044,'value':_0x18a40f}}));});}}
12
+ name='${_0x392cbe['name']}_disp'
13
+ .value=${_0x4976e1}
14
+ @click=${_0x4e3570=>{const _0x223927=_0x2aa7f6;_0x4e3570[_0x223927(0x1b2)]();const _0xf1fc97=_0x4e3570[_0x223927(0x1a9)];openMetaCodeSelector(_0x392cbe,_0x502f1e,_0x432d54=>{const _0x34a0e0=_0x223927;let _0x53ef8e=_0x432d54?_0x432d54[_0x17c134['codeField']]:'',_0x4386d6=_0x53ef8e;if(_0x432d54&&_0x17c134['dispField']){let _0x15ea81=_0x17c134[_0x34a0e0(0x1ab)]['split'](',');_0x4386d6=_0x432d54[_0x15ea81[0x0]],_0x15ea81[_0x34a0e0(0x196)]>0x1&&(_0x4386d6+='('+_0x15ea81[_0x34a0e0(0x197)](0x1)[_0x34a0e0(0x1ae)](_0x571056=>_0x432d54[_0x571056])[_0x34a0e0(0x1a1)](',')+')');}_0xf1fc97[_0x34a0e0(0x1a8)]=_0x4386d6,(_0x34a0e0(0x1b0)==_0x1203ed[_0x34a0e0(0x19f)][_0x34a0e0(0x1a2)]()?_0x1203ed['renderRoot'][_0x34a0e0(0x1a5)](_0x34a0e0(0x1a4)+_0x392cbe[_0x34a0e0(0x199)]+'\x22]'):_0x1203ed[_0x34a0e0(0x1a7)][_0x34a0e0(0x1a5)](_0x34a0e0(0x1aa)+_0x392cbe[_0x34a0e0(0x199)]+'\x22]'))[_0x34a0e0(0x1a8)]=_0x53ef8e,_0xf1fc97['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0xf1fc97['dispatchEvent'](new CustomEvent(_0x34a0e0(0x1af),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x392cbe['name'],'operator':_0x20b571,'value':_0x53ef8e}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x350d(_0x27716c,_0x1b2c28){const _0x2cc5ab=a0_0x2cc5();return a0_0x350d=function(_0x350da2,_0x132039){_0x350da2=_0x350da2-0x18d;let _0x2446d8=_0x2cc5ab[_0x350da2];return _0x2446d8;},a0_0x350d(_0x27716c,_0x1b2c28);}function a0_0x2cc5(){const _0x51fc9f=['options','[name=\x22','1804957AAhnch','dispatchEvent','3vhigMt','value','stopPropagation','10EGrxEW','12rhdbpD','8646MGBplH','8053643BLKXHH','querySelector','1302yjcpLG','8yFquyE','name','map','split','toLowerCase','form\x20[name=\x22','tTitle','ox-grid-header','target','join','nameField','select_item','large','27031xgqChq','renderRoot','tagName','855920CznLww','1157868BvHPsA','tMenu','1933695ANJrTZ','length','splice','16AooDUN'];a0_0x2cc5=function(){return _0x51fc9f;};return a0_0x2cc5();}(function(_0x23763b,_0x2f5ec5){const _0x563813=a0_0x350d,_0x5abbf2=_0x23763b();while(!![]){try{const _0x4e9844=-parseInt(_0x563813(0x1a7))/0x1*(-parseInt(_0x563813(0x1b0))/0x2)+-parseInt(_0x563813(0x191))/0x3*(parseInt(_0x563813(0x1ab))/0x4)+-parseInt(_0x563813(0x1aa))/0x5+parseInt(_0x563813(0x196))/0x6*(-parseInt(_0x563813(0x199))/0x7)+parseInt(_0x563813(0x19a))/0x8*(parseInt(_0x563813(0x1ad))/0x9)+-parseInt(_0x563813(0x194))/0xa*(parseInt(_0x563813(0x18f))/0xb)+parseInt(_0x563813(0x195))/0xc*(parseInt(_0x563813(0x197))/0xd);if(_0x4e9844===_0x2f5ec5)break;else _0x5abbf2['push'](_0x5abbf2['shift']());}catch(_0x49682b){_0x5abbf2['push'](_0x5abbf2['shift']());}}}(a0_0x2cc5,0x2689a));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x5841f5,_0x527db8,_0x3feb32){const _0x4a0c3f=a0_0x350d;var _0x4d0460=html`
1
+ function a0_0x1b2c(){const _0x3cbaa8=['querySelector','toLowerCase','value','name','filter-change','9avgvwr','selectorName','3799411dsgnvo','stopPropagation','nameField','dispatchEvent','164925xPORxB','select_item','form\x20[name=\x22','132zDTBRs','target','13023248tBjhXw','change','75669DjkOwg','tMenu','renderRoot','length','11269722yDUJgk','large','7HVefVn','tagName','3356660nnXsqk','tTitle','1647464ueXAnE','splice','46Eviurx','split','join','options'];a0_0x1b2c=function(){return _0x3cbaa8;};return a0_0x1b2c();}(function(_0x2593aa,_0x5cc9aa){const _0xe29753=a0_0x1c59,_0x59c6e4=_0x2593aa();while(!![]){try{const _0x55fd41=-parseInt(_0xe29753(0x1c0))/0x1+parseInt(_0xe29753(0x1c2))/0x2*(parseInt(_0xe29753(0x1b6))/0x3)+parseInt(_0xe29753(0x1b2))/0x4*(parseInt(_0xe29753(0x1d1))/0x5)+parseInt(_0xe29753(0x1ba))/0x6*(parseInt(_0xe29753(0x1bc))/0x7)+parseInt(_0xe29753(0x1b4))/0x8*(-parseInt(_0xe29753(0x1cb))/0x9)+parseInt(_0xe29753(0x1be))/0xa+parseInt(_0xe29753(0x1cd))/0xb;if(_0x55fd41===_0x5cc9aa)break;else _0x59c6e4['push'](_0x59c6e4['shift']());}catch(_0x549938){_0x59c6e4['push'](_0x59c6e4['shift']());}}}(a0_0x1b2c,0xe892a));function a0_0x1c59(_0xf07c9,_0x5d6499){const _0x1b2c15=a0_0x1b2c();return a0_0x1c59=function(_0x1c5918,_0x5eb722){_0x1c5918=_0x1c5918-0x1b0;let _0x1cb5cd=_0x1b2c15[_0x1c5918];return _0x1cb5cd;},a0_0x1c59(_0xf07c9,_0x5d6499);}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0xc286c,_0x3620f7,_0xfb507a){const _0x2272de=a0_0x1c59;var _0x28202e=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x527db8}
4
- .options=${_0x5841f5[_0x4a0c3f(0x18d)]}
5
- .confirmCallback=${_0x3feb32}
3
+ .value=${_0x3620f7}
4
+ .options=${_0xc286c[_0x2272de(0x1c5)]}
5
+ .confirmCallback=${_0xfb507a}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x4d0460,{'backdrop':!0x0,'size':_0x4a0c3f(0x1a6),'title':_0x5841f5['options']['selectorName']?TermsUtil[_0x4a0c3f(0x1ac)](_0x5841f5['options']['selectorName']):TermsUtil[_0x4a0c3f(0x1a0)](_0x4a0c3f(0x1a5))});}export const FilterFormMetaObjectSelect=(_0x3af1f5,_0x5f0915,_0x2eb399)=>{const _0x392e36=a0_0x350d,_0x94cf27=_0x3af1f5[_0x392e36(0x18d)],{operator:_0x515d9b='eq'}=_0x3af1f5;let _0x300550=_0x5f0915?_0x5f0915['id']:'',_0xcab748='';if(_0x5f0915){let _0xa477b1=_0x94cf27['nameField'][_0x392e36(0x19d)](',');_0xcab748=_0x5f0915[_0xa477b1[0x0]],_0xa477b1[_0x392e36(0x1ae)]>0x1&&(_0xcab748+='('+_0xa477b1[_0x392e36(0x1af)](0x1)[_0x392e36(0x19c)](_0x24d69f=>_0x5f0915[_0x24d69f])['join'](',')+')');}return'eq'===_0x515d9b?html`
8
- <input name='${_0x3af1f5['name']}' .value=${_0x300550} type="text" hidden></input>
7
+ `;openPopup(_0x28202e,{'backdrop':!0x0,'size':_0x2272de(0x1bb),'title':_0xc286c['options']['selectorName']?TermsUtil[_0x2272de(0x1b7)](_0xc286c[_0x2272de(0x1c5)][_0x2272de(0x1cc)]):TermsUtil[_0x2272de(0x1bf)](_0x2272de(0x1b0))});}export const FilterFormMetaObjectSelect=(_0x2b195c,_0xc4666f,_0x30cc65)=>{const _0x26640b=a0_0x1c59,_0x5c604e=_0x2b195c[_0x26640b(0x1c5)],{operator:_0x237d4f='eq'}=_0x2b195c;let _0x4805df=_0xc4666f?_0xc4666f['id']:'',_0x18360c='';if(_0xc4666f){let _0x41c71c=_0x5c604e[_0x26640b(0x1cf)][_0x26640b(0x1c3)](',');_0x18360c=_0xc4666f[_0x41c71c[0x0]],_0x41c71c['length']>0x1&&(_0x18360c+='('+_0x41c71c[_0x26640b(0x1c1)](0x1)['map'](_0x5f957b=>_0xc4666f[_0x5f957b])[_0x26640b(0x1c4)](',')+')');}return'eq'===_0x237d4f?html`
8
+ <input name='${_0x2b195c[_0x26640b(0x1c9)]}' .value=${_0x4805df} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x3af1f5[_0x392e36(0x19b)]}_disp'
13
- .value=${_0xcab748}
14
- @click=${_0x2395b8=>{const _0x32e53e=_0x392e36;_0x2395b8[_0x32e53e(0x193)]();const _0x59ea62=_0x2395b8[_0x32e53e(0x1a2)];openMetaObjectSelector(_0x3af1f5,_0x5f0915,_0x49c466=>{const _0x27c1a9=_0x32e53e;let _0x25d05b=_0x49c466?_0x49c466['id']:'',_0x1f2236='';if(_0x49c466){let _0x35ff46=_0x94cf27[_0x27c1a9(0x1a4)][_0x27c1a9(0x19d)](',');_0x1f2236=_0x49c466[_0x35ff46[0x0]],_0x35ff46[_0x27c1a9(0x1ae)]>0x1&&(_0x1f2236+='('+_0x35ff46[_0x27c1a9(0x1af)](0x1)[_0x27c1a9(0x19c)](_0x5ef7a4=>_0x49c466[_0x5ef7a4])[_0x27c1a9(0x1a3)](',')+')');}_0x59ea62['value']=_0x1f2236,(_0x27c1a9(0x1a1)==_0x2eb399[_0x27c1a9(0x1a9)][_0x27c1a9(0x19e)]()?_0x2eb399[_0x27c1a9(0x1a8)][_0x27c1a9(0x198)](_0x27c1a9(0x18e)+_0x3af1f5[_0x27c1a9(0x19b)]+'\x22]'):_0x2eb399['renderRoot']['querySelector'](_0x27c1a9(0x19f)+_0x3af1f5[_0x27c1a9(0x19b)]+'\x22]'))[_0x27c1a9(0x192)]=_0x25d05b,_0x59ea62[_0x27c1a9(0x190)](new Event('change',{'bubbles':!0x0})),_0x59ea62[_0x27c1a9(0x190)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3af1f5['name'],'operator':_0x515d9b,'value':_0x25d05b}}));});}}
12
+ name='${_0x2b195c['name']}_disp'
13
+ .value=${_0x18360c}
14
+ @click=${_0x2fdc23=>{const _0x2f5c77=_0x26640b;_0x2fdc23[_0x2f5c77(0x1ce)]();const _0x3526d7=_0x2fdc23[_0x2f5c77(0x1b3)];openMetaObjectSelector(_0x2b195c,_0xc4666f,_0x267b0f=>{const _0x2f21e2=_0x2f5c77;let _0x21594f=_0x267b0f?_0x267b0f['id']:'',_0x19921a='';if(_0x267b0f){let _0x9497c4=_0x5c604e['nameField']['split'](',');_0x19921a=_0x267b0f[_0x9497c4[0x0]],_0x9497c4[_0x2f21e2(0x1b9)]>0x1&&(_0x19921a+='('+_0x9497c4[_0x2f21e2(0x1c1)](0x1)['map'](_0x418e12=>_0x267b0f[_0x418e12])[_0x2f21e2(0x1c4)](',')+')');}_0x3526d7[_0x2f21e2(0x1c8)]=_0x19921a,('ox-grid-header'==_0x30cc65[_0x2f21e2(0x1bd)][_0x2f21e2(0x1c7)]()?_0x30cc65[_0x2f21e2(0x1b8)][_0x2f21e2(0x1c6)]('[name=\x22'+_0x2b195c[_0x2f21e2(0x1c9)]+'\x22]'):_0x30cc65[_0x2f21e2(0x1b8)]['querySelector'](_0x2f21e2(0x1b1)+_0x2b195c[_0x2f21e2(0x1c9)]+'\x22]'))['value']=_0x21594f,_0x3526d7[_0x2f21e2(0x1d0)](new Event(_0x2f21e2(0x1b5),{'bubbles':!0x0})),_0x3526d7[_0x2f21e2(0x1d0)](new CustomEvent(_0x2f21e2(0x1ca),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2b195c[_0x2f21e2(0x1c9)],'operator':_0x237d4f,'value':_0x21594f}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x38fff4,_0x4bb11d){const _0xdf3a68=a0_0x42cb,_0x17d5c6=_0x38fff4();while(!![]){try{const _0x47f024=-parseInt(_0xdf3a68(0x116))/0x1+parseInt(_0xdf3a68(0x100))/0x2+parseInt(_0xdf3a68(0xfb))/0x3*(parseInt(_0xdf3a68(0xf9))/0x4)+parseInt(_0xdf3a68(0x10b))/0x5*(-parseInt(_0xdf3a68(0x102))/0x6)+parseInt(_0xdf3a68(0x112))/0x7*(-parseInt(_0xdf3a68(0xf6))/0x8)+parseInt(_0xdf3a68(0x10a))/0x9*(parseInt(_0xdf3a68(0x114))/0xa)+parseInt(_0xdf3a68(0x115))/0xb*(parseInt(_0xdf3a68(0x113))/0xc);if(_0x47f024===_0x4bb11d)break;else _0x17d5c6['push'](_0x17d5c6['shift']());}catch(_0x25c8af){_0x17d5c6['push'](_0x17d5c6['shift']());}}}(a0_0x3adb,0x79c1e));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x40b3fb,_0x29ffbe,_0x352da5){const _0x32332a=a0_0x42cb;var _0x267f7b=html`
1
+ (function(_0x254598,_0x25f5bc){const _0x116edb=a0_0x3e4e,_0x1f7e7f=_0x254598();while(!![]){try{const _0x722248=-parseInt(_0x116edb(0x1e7))/0x1*(parseInt(_0x116edb(0x1f1))/0x2)+parseInt(_0x116edb(0x1d5))/0x3*(-parseInt(_0x116edb(0x1d7))/0x4)+parseInt(_0x116edb(0x1e5))/0x5*(parseInt(_0x116edb(0x1d8))/0x6)+parseInt(_0x116edb(0x1e2))/0x7+parseInt(_0x116edb(0x1ee))/0x8*(parseInt(_0x116edb(0x1e0))/0x9)+-parseInt(_0x116edb(0x1f2))/0xa+parseInt(_0x116edb(0x1dd))/0xb*(parseInt(_0x116edb(0x1de))/0xc);if(_0x722248===_0x25f5bc)break;else _0x1f7e7f['push'](_0x1f7e7f['shift']());}catch(_0x136a3){_0x1f7e7f['push'](_0x1f7e7f['shift']());}}}(a0_0x4792,0x195bd));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x5dc073,_0x4e0f41,_0x2583c5){const _0x1e981a=a0_0x3e4e;var _0x16bcc6=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x29ffbe}
4
- .options=${_0x40b3fb[_0x32332a(0x101)][_0x32332a(0x103)]}
5
- .confirmCallback=${_0x352da5}
3
+ .value=${_0x4e0f41}
4
+ .options=${_0x5dc073[_0x1e981a(0x1ea)][_0x1e981a(0x1dc)]}
5
+ .confirmCallback=${_0x2583c5}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x267f7b,{'backdrop':!0x0,'size':'large','title':_0x40b3fb[_0x32332a(0x101)][_0x32332a(0x103)][_0x32332a(0xf4)]?TermsUtil[_0x32332a(0xf8)](_0x40b3fb['record'][_0x32332a(0x103)][_0x32332a(0xf4)]):TermsUtil[_0x32332a(0x106)](_0x32332a(0x10e))});}export const FilterGristMetaCodeSelect=(_0x542fa9,_0x5ba097,_0x152125)=>{const _0x5e5b9b=a0_0x42cb,_0x519dc8=_0x542fa9['filter'],_0x21d064=_0x542fa9[_0x5e5b9b(0x101)][_0x5e5b9b(0x103)],_0x22ebf0=_0x21d064[_0x5e5b9b(0xf3)]&&_0x21d064[_0x5e5b9b(0xf3)]['length']>0x0?_0x21d064['codes']:void 0x0,{operator:_0x3b7331='eq'}=_0x519dc8;let _0x1308de=_0x5ba097||'',_0x5c12d2=_0x5ba097||'';if(_0x21d064[_0x5e5b9b(0xfa)]&&_0x5ba097&&_0x22ebf0){let _0x2e6c29=_0x22ebf0['filter'](_0x3c518e=>_0x3c518e[_0x5e5b9b(0xf7)]==_0x5ba097);_0x2e6c29&&_0x2e6c29[_0x5e5b9b(0x108)]>0x0&&(_0x5c12d2=_0x2e6c29[0x0][_0x5e5b9b(0x10d)]);}return'eq'===_0x3b7331?html`
8
- <input name='${_0x542fa9[_0x5e5b9b(0x104)]}' .value=${_0x1308de} type="text" hidden></input>
7
+ `;openPopup(_0x16bcc6,{'backdrop':!0x0,'size':_0x1e981a(0x1e6),'title':_0x5dc073[_0x1e981a(0x1ea)]['options'][_0x1e981a(0x1ec)]?TermsUtil['tMenu'](_0x5dc073['record'][_0x1e981a(0x1dc)][_0x1e981a(0x1ec)]):TermsUtil[_0x1e981a(0x1d3)]('select_item')});}export const FilterGristMetaCodeSelect=(_0x53186b,_0x5789f9,_0x472af8)=>{const _0x3a231b=a0_0x3e4e,_0x5aa32f=_0x53186b['filter'],_0x2aab72=_0x53186b[_0x3a231b(0x1ea)][_0x3a231b(0x1dc)],_0xb0066a=_0x2aab72['codes']&&_0x2aab72['codes'][_0x3a231b(0x1e4)]>0x0?_0x2aab72[_0x3a231b(0x1df)]:void 0x0,{operator:_0x3ed3c7='eq'}=_0x5aa32f;let _0x3a4dd0=_0x5789f9||'',_0x2f9c39=_0x5789f9||'';if(_0x2aab72[_0x3a231b(0x1db)]&&_0x5789f9&&_0xb0066a){let _0x47f141=_0xb0066a[_0x3a231b(0x1da)](_0x120376=>_0x120376[_0x3a231b(0x1f5)]==_0x5789f9);_0x47f141&&_0x47f141[_0x3a231b(0x1e4)]>0x0&&(_0x2f9c39=_0x47f141[0x0][_0x3a231b(0x1f6)]);}return'eq'===_0x3ed3c7?html`
8
+ <input name='${_0x53186b[_0x3a231b(0x1f0)]}' .value=${_0x3a4dd0} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x542fa9[_0x5e5b9b(0x104)]}_disp'
13
- .value=${_0x5c12d2}
14
- @click=${_0x103a8f=>{const _0xf91748=_0x5e5b9b;_0x103a8f['stopPropagation']();const _0x41f369=_0x103a8f[_0xf91748(0xf5)];openMetaCodeSelector(_0x542fa9,_0x5ba097,_0x2ffea9=>{const _0x12b490=_0xf91748;let _0x1076fd=_0x2ffea9?_0x2ffea9[_0x21d064['codeField']]:'',_0x100bba=_0x1076fd;if(_0x2ffea9&&_0x21d064[_0x12b490(0xfa)]){let _0x589b52=_0x21d064['dispField'][_0x12b490(0x105)](',');_0x100bba=_0x2ffea9[_0x589b52[0x0]],_0x589b52[_0x12b490(0x108)]>0x1&&(_0x100bba+='('+_0x589b52[_0x12b490(0x10c)](0x1)[_0x12b490(0xfc)](_0xd2bb4f=>_0x2ffea9[_0xd2bb4f])[_0x12b490(0x107)](',')+')');}_0x41f369[_0x12b490(0xf7)]=_0x100bba,(_0x12b490(0x110)==_0x152125[_0x12b490(0x118)]['toLowerCase']()?_0x152125['renderRoot'][_0x12b490(0xfd)](_0x12b490(0x117)+_0x519dc8[_0x12b490(0x104)]+'\x22]'):_0x152125[_0x12b490(0x10f)][_0x12b490(0xfd)](_0x12b490(0x109)+_0x519dc8[_0x12b490(0x104)]+'\x22]'))[_0x12b490(0xf7)]=_0x1076fd,_0x41f369[_0x12b490(0xfe)](new Event(_0x12b490(0xff),{'bubbles':!0x0})),_0x41f369[_0x12b490(0xfe)](new CustomEvent(_0x12b490(0x111),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x542fa9[_0x12b490(0x104)],'operator':_0x3b7331,'value':_0x1076fd}}));});}}
12
+ name='${_0x53186b['name']}_disp'
13
+ .value=${_0x2f9c39}
14
+ @click=${_0x1eaf6f=>{const _0x168e60=_0x3a231b;_0x1eaf6f['stopPropagation']();const _0xacb61c=_0x1eaf6f[_0x168e60(0x1d4)];openMetaCodeSelector(_0x53186b,_0x5789f9,_0x184180=>{const _0x4d6a82=_0x168e60;let _0x3f11e8=_0x184180?_0x184180[_0x2aab72[_0x4d6a82(0x1e3)]]:'',_0x10690c=_0x3f11e8;if(_0x184180&&_0x2aab72[_0x4d6a82(0x1db)]){let _0x346d3e=_0x2aab72['dispField'][_0x4d6a82(0x1eb)](',');_0x10690c=_0x184180[_0x346d3e[0x0]],_0x346d3e[_0x4d6a82(0x1e4)]>0x1&&(_0x10690c+='('+_0x346d3e['splice'](0x1)[_0x4d6a82(0x1e9)](_0x45226c=>_0x184180[_0x45226c])[_0x4d6a82(0x1d9)](',')+')');}_0xacb61c[_0x4d6a82(0x1f5)]=_0x10690c,(_0x4d6a82(0x1f4)==_0x472af8[_0x4d6a82(0x1d1)][_0x4d6a82(0x1d2)]()?_0x472af8[_0x4d6a82(0x1d6)][_0x4d6a82(0x1e1)](_0x4d6a82(0x1ed)+_0x5aa32f[_0x4d6a82(0x1f0)]+'\x22]'):_0x472af8[_0x4d6a82(0x1d6)][_0x4d6a82(0x1e1)](_0x4d6a82(0x1e8)+_0x5aa32f['name']+'\x22]'))[_0x4d6a82(0x1f5)]=_0x3f11e8,_0xacb61c['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0xacb61c[_0x4d6a82(0x1ef)](new CustomEvent(_0x4d6a82(0x1f3),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x53186b['name'],'operator':_0x3ed3c7,'value':_0x3f11e8}}));});}}
15
15
  />
16
- `:html``;};function a0_0x42cb(_0x17ffa0,_0x43465e){const _0x3adb9d=a0_0x3adb();return a0_0x42cb=function(_0x42cbc0,_0x21d210){_0x42cbc0=_0x42cbc0-0xf3;let _0x44635a=_0x3adb9d[_0x42cbc0];return _0x44635a;},a0_0x42cb(_0x17ffa0,_0x43465e);}function a0_0x3adb(){const _0x2e4979=['tTitle','join','length','form\x20[name=\x22','180qZgXXR','4249145FBKfQg','splice','display','select_item','renderRoot','ox-grid-header','filter-change','77ptShqt','1308ERmJuz','77680VnapRd','192357ceQDGY','573251CcavXt','[name=\x22','tagName','codes','selectorName','target','443576YnTIeE','value','tMenu','8UDGRwG','dispField','551883uAPtOQ','map','querySelector','dispatchEvent','change','204700zZTdFo','record','6VCOorN','options','name','split'];a0_0x3adb=function(){return _0x2e4979;};return a0_0x3adb();}
16
+ `:html``;};function a0_0x3e4e(_0x47890e,_0x1956f4){const _0x479211=a0_0x4792();return a0_0x3e4e=function(_0x3e4efa,_0x15addb){_0x3e4efa=_0x3e4efa-0x1d1;let _0x1fe758=_0x479211[_0x3e4efa];return _0x1fe758;},a0_0x3e4e(_0x47890e,_0x1956f4);}function a0_0x4792(){const _0x4ac783=['145pEsHZH','large','1sOumHk','form\x20[name=\x22','map','record','split','selectorName','[name=\x22','7928GeTZYd','dispatchEvent','name','116236oyPpAQ','496980ygNWmj','filter-change','ox-grid-header','value','display','tagName','toLowerCase','tTitle','target','3eKGtAN','renderRoot','780476KUuvJF','14802dpOWro','join','filter','dispField','options','1960189UQbhcT','12aESMJv','codes','9uMVLGZ','querySelector','1092497zfSUpr','codeField','length'];a0_0x4792=function(){return _0x4ac783;};return a0_0x4792();}
@@ -1,16 +1,16 @@
1
- (function(_0x530256,_0x2d129b){const _0x18b7ae=a0_0x2e27,_0x1b8f25=_0x530256();while(!![]){try{const _0x395ebb=-parseInt(_0x18b7ae(0x1c2))/0x1+parseInt(_0x18b7ae(0x1ba))/0x2*(parseInt(_0x18b7ae(0x1b1))/0x3)+parseInt(_0x18b7ae(0x1af))/0x4*(parseInt(_0x18b7ae(0x1be))/0x5)+parseInt(_0x18b7ae(0x1c4))/0x6*(-parseInt(_0x18b7ae(0x1b2))/0x7)+-parseInt(_0x18b7ae(0x1c9))/0x8*(-parseInt(_0x18b7ae(0x1b0))/0x9)+parseInt(_0x18b7ae(0x1b5))/0xa*(-parseInt(_0x18b7ae(0x1bb))/0xb)+-parseInt(_0x18b7ae(0x1b8))/0xc*(-parseInt(_0x18b7ae(0x1b4))/0xd);if(_0x395ebb===_0x2d129b)break;else _0x1b8f25['push'](_0x1b8f25['shift']());}catch(_0x12b8c6){_0x1b8f25['push'](_0x1b8f25['shift']());}}}(a0_0x42fe,0x409fd));function a0_0x42fe(){const _0x2ab3bc=['length','large','329123SwDKQg','map','12wQYhee','toLowerCase','split','select_item','record','144OrSLxr','querySelector','tagName','stopPropagation','nameField','name','renderRoot','value','change','176DGoysG','237321iYZPep','3rUWSza','1647268hhJhDj','tMenu','74633mjuWSw','544470yvZRPT','tTitle','join','528tFUHip','options','633608XgribX','22VBEZKs','dispatchEvent','selectorName','14695OvzZJc','splice'];a0_0x42fe=function(){return _0x2ab3bc;};return a0_0x42fe();}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2e27(_0x90f885,_0x26bb78){const _0x42fe80=a0_0x42fe();return a0_0x2e27=function(_0x2e274e,_0x3b889e){_0x2e274e=_0x2e274e-0x1ad;let _0x5b32c6=_0x42fe80[_0x2e274e];return _0x5b32c6;},a0_0x2e27(_0x90f885,_0x26bb78);}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x2d007a,_0x3ba5e5,_0x2aa0c0){const _0x3e1192=a0_0x2e27;var _0x13b064=html`
1
+ function a0_0x42bd(_0x1017fa,_0x109521){const _0x331542=a0_0x3315();return a0_0x42bd=function(_0x42bdbf,_0x56b85f){_0x42bdbf=_0x42bdbf-0x1a1;let _0x29b5e9=_0x331542[_0x42bdbf];return _0x29b5e9;},a0_0x42bd(_0x1017fa,_0x109521);}(function(_0x5c3cd,_0x1c578e){const _0x58a698=a0_0x42bd,_0x431037=_0x5c3cd();while(!![]){try{const _0x2f5519=-parseInt(_0x58a698(0x1be))/0x1+parseInt(_0x58a698(0x1b1))/0x2+parseInt(_0x58a698(0x1aa))/0x3+-parseInt(_0x58a698(0x1b6))/0x4*(-parseInt(_0x58a698(0x1ba))/0x5)+parseInt(_0x58a698(0x1a5))/0x6*(-parseInt(_0x58a698(0x1b4))/0x7)+parseInt(_0x58a698(0x1a9))/0x8*(-parseInt(_0x58a698(0x1a6))/0x9)+-parseInt(_0x58a698(0x1ae))/0xa*(-parseInt(_0x58a698(0x1b2))/0xb);if(_0x2f5519===_0x1c578e)break;else _0x431037['push'](_0x431037['shift']());}catch(_0x337732){_0x431037['push'](_0x431037['shift']());}}}(a0_0x3315,0xf2198));import'../popup/meta-object-selector-popup';import{html}from'lit-html';function a0_0x3315(){const _0x1527a8=['splice','target','1015594DUvPug','638QQSvHm','dispatchEvent','21KyCXqs','name','4nQbcmr','select_item','split','stopPropagation','2133155iOPnLK','filter-change','tagName','record','1839717yaeKrY','join','querySelector','tMenu','ox-grid-header','renderRoot','3901962YwvQQB','46278eMrLfq','selectorName','options','232TOpaMM','3100206wdBaOi','length','change','nameField','510970vimMyd'];a0_0x3315=function(){return _0x1527a8;};return a0_0x3315();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x2ce5b3,_0x4077f4,_0x38a1cb){const _0x445d9e=a0_0x42bd;var _0x45c6fb=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x3ba5e5}
4
- .options=${_0x2d007a[_0x3e1192(0x1c8)][_0x3e1192(0x1b9)]}
5
- .confirmCallback=${_0x2aa0c0}
3
+ .value=${_0x4077f4}
4
+ .options=${_0x2ce5b3[_0x445d9e(0x1bd)][_0x445d9e(0x1a8)]}
5
+ .confirmCallback=${_0x38a1cb}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x13b064,{'backdrop':!0x0,'size':_0x3e1192(0x1c1),'title':_0x2d007a[_0x3e1192(0x1c8)][_0x3e1192(0x1b9)][_0x3e1192(0x1bd)]?TermsUtil[_0x3e1192(0x1b3)](_0x2d007a['record'][_0x3e1192(0x1b9)][_0x3e1192(0x1bd)]):TermsUtil[_0x3e1192(0x1b6)](_0x3e1192(0x1c7))});}export const FilterGristMetaObjectSelect=(_0x532de4,_0x4a5140,_0x59d400)=>{const _0x102482=a0_0x2e27,_0x5612dc=_0x532de4['filter'],{operator:_0x2040f0='eq'}=_0x5612dc,_0x1bd38e=_0x532de4[_0x102482(0x1c8)][_0x102482(0x1b9)];let _0x14604b=_0x4a5140?_0x4a5140['id']:'',_0x4667fc='';if(_0x4a5140){let _0x275af1=_0x1bd38e[_0x102482(0x1cd)][_0x102482(0x1c6)](',');_0x4667fc=_0x4a5140[_0x275af1[0x0]],_0x275af1[_0x102482(0x1c0)]>0x1&&(_0x4667fc+='('+_0x275af1[_0x102482(0x1bf)](0x1)[_0x102482(0x1c3)](_0x2dc72d=>_0x4a5140[_0x2dc72d])[_0x102482(0x1b7)](',')+')');}return'eq'===_0x2040f0?html`
8
- <input name='${_0x532de4[_0x102482(0x1ce)]}' .value=${_0x14604b} type="text" hidden></input>
7
+ `;openPopup(_0x45c6fb,{'backdrop':!0x0,'size':'large','title':_0x2ce5b3[_0x445d9e(0x1bd)][_0x445d9e(0x1a8)]['selectorName']?TermsUtil[_0x445d9e(0x1a2)](_0x2ce5b3[_0x445d9e(0x1bd)][_0x445d9e(0x1a8)][_0x445d9e(0x1a7)]):TermsUtil['tTitle'](_0x445d9e(0x1b7))});}export const FilterGristMetaObjectSelect=(_0x2b21ff,_0x464a62,_0x5a0ea3)=>{const _0xb57be2=a0_0x42bd,_0x4c3c06=_0x2b21ff['filter'],{operator:_0x3e54aa='eq'}=_0x4c3c06,_0x428f1b=_0x2b21ff['record'][_0xb57be2(0x1a8)];let _0x42d9d5=_0x464a62?_0x464a62['id']:'',_0x560525='';if(_0x464a62){let _0x272b42=_0x428f1b['nameField']['split'](',');_0x560525=_0x464a62[_0x272b42[0x0]],_0x272b42[_0xb57be2(0x1ab)]>0x1&&(_0x560525+='('+_0x272b42[_0xb57be2(0x1af)](0x1)['map'](_0xac72e9=>_0x464a62[_0xac72e9])[_0xb57be2(0x1bf)](',')+')');}return'eq'===_0x3e54aa?html`
8
+ <input name='${_0x2b21ff['name']}' .value=${_0x42d9d5} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x532de4[_0x102482(0x1ce)]}_disp'
13
- .value=${_0x4667fc}
14
- @click=${_0x28a2a7=>{const _0x2e9d84=_0x102482;_0x28a2a7[_0x2e9d84(0x1cc)]();const _0x12247e=_0x28a2a7['target'];openMetaObjectSelector(_0x532de4,_0x4a5140,_0x56fec1=>{const _0x31d816=_0x2e9d84;let _0x23405b=_0x56fec1?_0x56fec1['id']:'',_0x24262e='';if(_0x56fec1){let _0x67ada0=_0x1bd38e[_0x31d816(0x1cd)][_0x31d816(0x1c6)](',');_0x24262e=_0x56fec1[_0x67ada0[0x0]],_0x67ada0[_0x31d816(0x1c0)]>0x1&&(_0x24262e+='('+_0x67ada0[_0x31d816(0x1bf)](0x1)[_0x31d816(0x1c3)](_0x2ed246=>_0x56fec1[_0x2ed246])[_0x31d816(0x1b7)](',')+')');}_0x12247e[_0x31d816(0x1ad)]=_0x24262e,('ox-grid-header'==_0x59d400[_0x31d816(0x1cb)][_0x31d816(0x1c5)]()?_0x59d400['renderRoot'][_0x31d816(0x1ca)]('[name=\x22'+_0x5612dc[_0x31d816(0x1ce)]+'\x22]'):_0x59d400[_0x31d816(0x1cf)][_0x31d816(0x1ca)]('form\x20[name=\x22'+_0x5612dc['name']+'\x22]'))['value']=_0x23405b,_0x12247e[_0x31d816(0x1bc)](new Event(_0x31d816(0x1ae),{'bubbles':!0x0})),_0x12247e[_0x31d816(0x1bc)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x532de4[_0x31d816(0x1ce)],'operator':_0x2040f0,'value':_0x23405b}}));});}}
12
+ name='${_0x2b21ff[_0xb57be2(0x1b5)]}_disp'
13
+ .value=${_0x560525}
14
+ @click=${_0x7ea22d=>{const _0x275a15=_0xb57be2;_0x7ea22d[_0x275a15(0x1b9)]();const _0x5a14b4=_0x7ea22d[_0x275a15(0x1b0)];openMetaObjectSelector(_0x2b21ff,_0x464a62,_0x38e53a=>{const _0x2a9a5d=_0x275a15;let _0x20ea98=_0x38e53a?_0x38e53a['id']:'',_0x17b033='';if(_0x38e53a){let _0x35ff6a=_0x428f1b[_0x2a9a5d(0x1ad)][_0x2a9a5d(0x1b8)](',');_0x17b033=_0x38e53a[_0x35ff6a[0x0]],_0x35ff6a['length']>0x1&&(_0x17b033+='('+_0x35ff6a[_0x2a9a5d(0x1af)](0x1)['map'](_0x17e1aa=>_0x38e53a[_0x17e1aa])[_0x2a9a5d(0x1bf)](',')+')');}_0x5a14b4['value']=_0x17b033,(_0x2a9a5d(0x1a3)==_0x5a0ea3[_0x2a9a5d(0x1bc)]['toLowerCase']()?_0x5a0ea3[_0x2a9a5d(0x1a4)][_0x2a9a5d(0x1a1)]('[name=\x22'+_0x4c3c06[_0x2a9a5d(0x1b5)]+'\x22]'):_0x5a0ea3[_0x2a9a5d(0x1a4)][_0x2a9a5d(0x1a1)]('form\x20[name=\x22'+_0x4c3c06[_0x2a9a5d(0x1b5)]+'\x22]'))['value']=_0x20ea98,_0x5a14b4['dispatchEvent'](new Event(_0x2a9a5d(0x1ac),{'bubbles':!0x0})),_0x5a14b4[_0x2a9a5d(0x1b3)](new CustomEvent(_0x2a9a5d(0x1bb),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2b21ff[_0x2a9a5d(0x1b5)],'operator':_0x3e54aa,'value':_0x20ea98}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,8 +1,8 @@
1
- const a0_0x31aec2=a0_0x1f15;(function(_0x5ef80c,_0x4cbc2a){const _0x9757d7=a0_0x1f15,_0x25cec8=_0x5ef80c();while(!![]){try{const _0x347fa5=parseInt(_0x9757d7(0x182))/0x1+parseInt(_0x9757d7(0x18c))/0x2*(parseInt(_0x9757d7(0x185))/0x3)+-parseInt(_0x9757d7(0x17b))/0x4*(-parseInt(_0x9757d7(0x17d))/0x5)+parseInt(_0x9757d7(0x181))/0x6+parseInt(_0x9757d7(0x17c))/0x7*(parseInt(_0x9757d7(0x17f))/0x8)+-parseInt(_0x9757d7(0x180))/0x9*(parseInt(_0x9757d7(0x18f))/0xa)+-parseInt(_0x9757d7(0x187))/0xb;if(_0x347fa5===_0x4cbc2a)break;else _0x25cec8['push'](_0x25cec8['shift']());}catch(_0x1ef741){_0x25cec8['push'](_0x25cec8['shift']());}}}(a0_0x21ba,0xc5037));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x21ba(){const _0x22d50c=['large','parse','grist-editor-code-input','1324402qozloh','value','key','6130hlfUbZ','openEditor','code-editor','bind','...','_onkeydown','length','popup','field-change','define','stopPropagation','tTitle','firstUpdated','editorTemplate','57136NCRcCv','7IafRYU','460tGCqTI','stringify','2589144xLXPEt','5841ynoMNF','7328106EuIMOF','1217997FdwkyM','object','dispatchEvent','3zveaLM','_onclick','38879676JmbCHd','row'];a0_0x21ba=function(){return _0x22d50c;};return a0_0x21ba();}import{TermsUtil}from'../../../utils/terms-util';import'../../popup/code-input-editor-popup';export class GristEditorCodeInput extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x31aec2(0x17a)](){const _0x3a685e=a0_0x31aec2;let _0x5e414b;return this[_0x3a685e(0x18d)]&&(_0x5e414b=_0x3a685e(0x183)==typeof this[_0x3a685e(0x18d)]?JSON[_0x3a685e(0x17e)](this['value'],0x0,0x2):this['value'],_0x5e414b=_0x5e414b[_0x3a685e(0x173)]>0x14?_0x5e414b['substring'](0x0,0x14)+_0x3a685e(0x171):_0x5e414b),html`
2
- ${_0x5e414b?html` <span tabindex="0" style="flex:1;">${_0x5e414b}</span> `:html`<span tabindex="0" ></span>`}
3
- `;}async[a0_0x31aec2(0x179)](){super['firstUpdated']();}[a0_0x31aec2(0x186)](_0x5cb72a){const _0x52f439=a0_0x31aec2;_0x5cb72a[_0x52f439(0x177)](),this[_0x52f439(0x16e)]();}[a0_0x31aec2(0x172)](_0x12f76b){const _0x271cb3=a0_0x31aec2;'Enter'==_0x12f76b[_0x271cb3(0x18e)]&&(_0x12f76b[_0x271cb3(0x177)](),this[_0x271cb3(0x16e)]());}[a0_0x31aec2(0x16e)](){const _0x223179=a0_0x31aec2;this[_0x223179(0x174)]&&delete this[_0x223179(0x174)];var _0x365116=html`
1
+ const a0_0x239306=a0_0xe6be;function a0_0x5a9f(){const _0x5c4b4b=['tTitle','popup','object','record','parse','value','code-editor','firstUpdated','editorTemplate','bind','1228662dOXcbF','substring','58472tGtbkC','20sbzSWs','length','97869EnmDvq','5EwNovL','field-change','_onkeydown','_onclick','properties','1813851xxJPYi','60303QhnTOP','260488WohYTJ','grist-editor-code-input','define','1604547eloMmQ','column','openEditor'];a0_0x5a9f=function(){return _0x5c4b4b;};return a0_0x5a9f();}(function(_0x2c9a30,_0x251df5){const _0x1c0721=a0_0xe6be,_0x2b9c6b=_0x2c9a30();while(!![]){try{const _0x1f3586=parseInt(_0x1c0721(0x112))/0x1+parseInt(_0x1c0721(0x110))/0x2*(-parseInt(_0x1c0721(0x119))/0x3)+parseInt(_0x1c0721(0x11a))/0x4*(parseInt(_0x1c0721(0x113))/0x5)+parseInt(_0x1c0721(0x10d))/0x6+-parseInt(_0x1c0721(0x11d))/0x7+-parseInt(_0x1c0721(0x10f))/0x8+parseInt(_0x1c0721(0x118))/0x9;if(_0x1f3586===_0x251df5)break;else _0x2b9c6b['push'](_0x2b9c6b['shift']());}catch(_0x55e066){_0x2b9c6b['push'](_0x2b9c6b['shift']());}}}(a0_0x5a9f,0x202b7));function a0_0xe6be(_0x2b5e90,_0x5736b8){const _0x5a9f42=a0_0x5a9f();return a0_0xe6be=function(_0xe6be2d,_0x459f25){_0xe6be2d=_0xe6be2d-0x10d;let _0x2caf00=_0x5a9f42[_0xe6be2d];return _0x2caf00;},a0_0xe6be(_0x2b5e90,_0x5736b8);}import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/code-input-editor-popup';export class GristEditorCodeInput extends OxGristEditor{static get[a0_0x239306(0x117)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x239306(0x128)](){const _0x5a9bc2=a0_0x239306;let _0x343df1;return this[_0x5a9bc2(0x125)]&&(_0x343df1=_0x5a9bc2(0x122)==typeof this['value']?JSON['stringify'](this[_0x5a9bc2(0x125)],0x0,0x2):this[_0x5a9bc2(0x125)],_0x343df1=_0x343df1[_0x5a9bc2(0x111)]>0x14?_0x343df1[_0x5a9bc2(0x10e)](0x0,0x14)+'...':_0x343df1),html`
2
+ ${_0x343df1?html` <span tabindex="0" style="flex:1;">${_0x343df1}</span> `:html`<span tabindex="0" ></span>`}
3
+ `;}async[a0_0x239306(0x127)](){const _0x3101c7=a0_0x239306;super[_0x3101c7(0x127)]();}[a0_0x239306(0x116)](_0x24f497){_0x24f497['stopPropagation'](),this['openEditor']();}[a0_0x239306(0x115)](_0x538d46){const _0x30db6b=a0_0x239306;'Enter'==_0x538d46['key']&&(_0x538d46['stopPropagation'](),this[_0x30db6b(0x11f)]());}['openEditor'](){const _0x5d4e3e=a0_0x239306;this[_0x5d4e3e(0x121)]&&delete this['popup'];var _0x415981=html`
4
4
  <code-input-editor-popup
5
- .value=${this[_0x223179(0x18d)]}
6
- .confirmCallback=${(_0x56f7d1=>{const _0x4a9d62=_0x223179;this[_0x4a9d62(0x184)](new CustomEvent(_0x4a9d62(0x175),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4a9d62(0x18d)],'after':_0x56f7d1?_0x4a9d62(0x183)==typeof this[_0x4a9d62(0x18d)]?JSON[_0x4a9d62(0x18a)](_0x56f7d1):_0x56f7d1:null,'record':this['record'],'column':this['column'],'row':this[_0x4a9d62(0x188)]}}));})[_0x223179(0x170)](this)}
5
+ .value=${this[_0x5d4e3e(0x125)]}
6
+ .confirmCallback=${(_0x38d6ba=>{const _0x241a2e=_0x5d4e3e;this['dispatchEvent'](new CustomEvent(_0x241a2e(0x114),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x241a2e(0x125)],'after':_0x38d6ba?_0x241a2e(0x122)==typeof this[_0x241a2e(0x125)]?JSON[_0x241a2e(0x124)](_0x38d6ba):_0x38d6ba:null,'record':this[_0x241a2e(0x123)],'column':this[_0x241a2e(0x11e)],'row':this['row']}}));})[_0x5d4e3e(0x129)](this)}
7
7
  ></code-input-editor-popup>
8
- `;this[_0x223179(0x174)]=openPopup(_0x365116,{'backdrop':!0x0,'size':_0x223179(0x189),'title':TermsUtil[_0x223179(0x178)](_0x223179(0x16f))});}}function a0_0x1f15(_0x23ecfc,_0x118845){const _0x21ba89=a0_0x21ba();return a0_0x1f15=function(_0x1f1500,_0x22008b){_0x1f1500=_0x1f1500-0x16e;let _0x869095=_0x21ba89[_0x1f1500];return _0x869095;},a0_0x1f15(_0x23ecfc,_0x118845);}customElements[a0_0x31aec2(0x176)](a0_0x31aec2(0x18b),GristEditorCodeInput);
8
+ `;this['popup']=openPopup(_0x415981,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x5d4e3e(0x120)](_0x5d4e3e(0x126))});}}customElements[a0_0x239306(0x11c)](a0_0x239306(0x11b),GristEditorCodeInput);
@@ -1,9 +1,9 @@
1
- const a0_0x42d7e6=a0_0x2aab;(function(_0x1f6c90,_0x169503){const _0x1549e8=a0_0x2aab,_0x92d926=_0x1f6c90();while(!![]){try{const _0x2747ad=-parseInt(_0x1549e8(0xff))/0x1+parseInt(_0x1549e8(0x114))/0x2*(-parseInt(_0x1549e8(0x11a))/0x3)+-parseInt(_0x1549e8(0x10c))/0x4+parseInt(_0x1549e8(0x107))/0x5*(-parseInt(_0x1549e8(0x100))/0x6)+parseInt(_0x1549e8(0x101))/0x7+parseInt(_0x1549e8(0x10f))/0x8+parseInt(_0x1549e8(0x124))/0x9;if(_0x2747ad===_0x169503)break;else _0x92d926['push'](_0x92d926['shift']());}catch(_0x16bc9a){_0x92d926['push'](_0x92d926['shift']());}}}(a0_0x5770,0xe13e3));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x5770(){const _0x1cdff9=['_onkeydown','column','openSelector','25vmAdIm','value','join','popup','bind','7010988zWrNwU','fieldMap','dispatchEvent','6360600EiwxIy','forEach','field-change','tTitle','splice','3082262jBIKwY','row','codes','key','options','tMenu','3NEddYN','record','keys','filter','stopPropagation','properties','dispField','large','display','length','42156486opzKcI','firstUpdated','editorTemplate','1786559zrjrLS','377922FwIEok','5871866TxsmTk','Enter','_onclick'];a0_0x5770=function(){return _0x1cdff9;};return a0_0x5770();}import'../../popup/meta-object-selector-popup';function a0_0x2aab(_0x35bdc9,_0x187f49){const _0x57708c=a0_0x5770();return a0_0x2aab=function(_0x2aab5,_0x4df8b9){_0x2aab5=_0x2aab5-0xff;let _0x79bbb2=_0x57708c[_0x2aab5];return _0x79bbb2;},a0_0x2aab(_0x35bdc9,_0x187f49);}export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x42d7e6(0x11f)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x42d7e6(0x126)](){const _0x36ca71=a0_0x42d7e6;let _0x19debc='';if(this[_0x36ca71(0x105)]['record']&&this[_0x36ca71(0x105)][_0x36ca71(0x11b)][_0x36ca71(0x118)]){if(this[_0x36ca71(0x105)][_0x36ca71(0x11b)][_0x36ca71(0x118)][_0x36ca71(0x120)]){let _0x35528d=this[_0x36ca71(0x105)][_0x36ca71(0x11b)][_0x36ca71(0x118)][_0x36ca71(0x116)]||[];if(this[_0x36ca71(0x108)]&&this[_0x36ca71(0x108)][_0x36ca71(0x123)]>0x0){let _0x233519=_0x35528d[_0x36ca71(0x11d)](_0xd08c4b=>_0xd08c4b[_0x36ca71(0x108)]===this[_0x36ca71(0x108)]);_0x19debc=_0x233519&&_0x233519[_0x36ca71(0x123)]>0x0?_0x233519[0x0][_0x36ca71(0x122)]:'';}}else _0x19debc=this['value'];}else _0x19debc='';return html`
2
- ${_0x19debc?html` <span tabindex="0" style="flex:1">${_0x19debc}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async[a0_0x42d7e6(0x125)](){const _0x74e922=a0_0x42d7e6;super[_0x74e922(0x125)]();}[a0_0x42d7e6(0x103)](_0x19aeb1){const _0x6ffa74=a0_0x42d7e6;_0x19aeb1[_0x6ffa74(0x11e)](),this[_0x6ffa74(0x106)]();}[a0_0x42d7e6(0x104)](_0x1208c8){const _0xb66fb8=a0_0x42d7e6;_0xb66fb8(0x102)==_0x1208c8[_0xb66fb8(0x117)]&&(_0x1208c8[_0xb66fb8(0x11e)](),this[_0xb66fb8(0x106)]());}[a0_0x42d7e6(0x106)](){const _0x28e647=a0_0x42d7e6;this['popup']&&delete this['popup'];var {selectorName:_0xf1b7d=TermsUtil[_0x28e647(0x112)]('select_item')}=this[_0x28e647(0x105)][_0x28e647(0x11b)][_0x28e647(0x118)]||{},_0x63f185=html`
1
+ const a0_0x248e0d=a0_0x4799;(function(_0x22729d,_0x1fafae){const _0x1ace1c=a0_0x4799,_0x3f1032=_0x22729d();while(!![]){try{const _0x536746=-parseInt(_0x1ace1c(0x1ae))/0x1*(parseInt(_0x1ace1c(0x1b0))/0x2)+-parseInt(_0x1ace1c(0x1b9))/0x3*(-parseInt(_0x1ace1c(0x1bf))/0x4)+parseInt(_0x1ace1c(0x19f))/0x5*(-parseInt(_0x1ace1c(0x1ac))/0x6)+-parseInt(_0x1ace1c(0x1b5))/0x7*(parseInt(_0x1ace1c(0x1a9))/0x8)+parseInt(_0x1ace1c(0x1a8))/0x9+parseInt(_0x1ace1c(0x1a7))/0xa*(-parseInt(_0x1ace1c(0x1bc))/0xb)+-parseInt(_0x1ace1c(0x1aa))/0xc*(-parseInt(_0x1ace1c(0x1c2))/0xd);if(_0x536746===_0x1fafae)break;else _0x3f1032['push'](_0x3f1032['shift']());}catch(_0x2546ac){_0x3f1032['push'](_0x3f1032['shift']());}}}(a0_0x52bd,0x80af3));function a0_0x4799(_0x2ee6a7,_0x127938){const _0x52bd99=a0_0x52bd();return a0_0x4799=function(_0x479916,_0x349435){_0x479916=_0x479916-0x199;let _0x1b8461=_0x52bd99[_0x479916];return _0x1b8461;},a0_0x4799(_0x2ee6a7,_0x127938);}import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x248e0d(0x1b2)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x248e0d(0x1b1)](){const _0x4b7cdd=a0_0x248e0d;let _0x4da466='';if(this[_0x4b7cdd(0x1a0)][_0x4b7cdd(0x1af)]&&this[_0x4b7cdd(0x1a0)]['record'][_0x4b7cdd(0x19d)]){if(this[_0x4b7cdd(0x1a0)]['record'][_0x4b7cdd(0x19d)][_0x4b7cdd(0x1c3)]){let _0x1128b6=this['column'][_0x4b7cdd(0x1af)]['options'][_0x4b7cdd(0x1c1)]||[];if(this[_0x4b7cdd(0x1bb)]&&this[_0x4b7cdd(0x1bb)][_0x4b7cdd(0x1b4)]>0x0){let _0xc112ad=_0x1128b6[_0x4b7cdd(0x1a4)](_0x4cc993=>_0x4cc993['value']===this['value']);_0x4da466=_0xc112ad&&_0xc112ad['length']>0x0?_0xc112ad[0x0][_0x4b7cdd(0x1c0)]:'';}}else _0x4da466=this[_0x4b7cdd(0x1bb)];}else _0x4da466='';return html`
2
+ ${_0x4da466?html` <span tabindex="0" style="flex:1">${_0x4da466}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x248e0d(0x1b6)](){const _0x27f381=a0_0x248e0d;super[_0x27f381(0x1b6)]();}[a0_0x248e0d(0x19e)](_0x5cd0e8){_0x5cd0e8['stopPropagation'](),this['openSelector']();}[a0_0x248e0d(0x1b8)](_0x4a6e83){const _0x26faa5=a0_0x248e0d;'Enter'==_0x4a6e83[_0x26faa5(0x1ab)]&&(_0x4a6e83[_0x26faa5(0x1b7)](),this['openSelector']());}[a0_0x248e0d(0x1a5)](){const _0x4e892f=a0_0x248e0d;this[_0x4e892f(0x1a1)]&&delete this['popup'];var {selectorName:_0x32b86d=TermsUtil[_0x4e892f(0x19c)]('select_item')}=this[_0x4e892f(0x1a0)][_0x4e892f(0x1af)][_0x4e892f(0x19d)]||{},_0x579ec6=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x28e647(0x108)]}
6
- .options=${this[_0x28e647(0x105)]['record'][_0x28e647(0x118)]}
7
- .confirmCallback=${(_0x49e8a6=>{const _0x4e123e=_0x28e647;let _0x3e83af=this[_0x4e123e(0x105)][_0x4e123e(0x11b)][_0x4e123e(0x118)]['codeField'],_0x2e6f73=this['column']['record'][_0x4e123e(0x118)][_0x4e123e(0x120)],_0x39a55e=this[_0x4e123e(0x105)]['record'][_0x4e123e(0x118)][_0x4e123e(0x10d)]||{};if(this[_0x4e123e(0x105)][_0x4e123e(0x11b)][_0x4e123e(0x118)][_0x4e123e(0x116)]||(this[_0x4e123e(0x105)][_0x4e123e(0x11b)]['options'][_0x4e123e(0x116)]=[]),_0x49e8a6){let _0x4c6af9=this[_0x4e123e(0x105)]['record']['options'][_0x4e123e(0x116)][_0x4e123e(0x11d)](_0x543d57=>_0x543d57[_0x4e123e(0x108)]==_0x49e8a6[_0x3e83af]);if(!_0x4c6af9||0x0==_0x4c6af9[_0x4e123e(0x123)]){let _0x484a45=_0x49e8a6[_0x3e83af];if(_0x2e6f73){let _0x232a7f=_0x2e6f73['split'](',');_0x484a45=_0x49e8a6[_0x232a7f[0x0]],_0x232a7f[_0x4e123e(0x123)]>0x1&&(_0x484a45+='('+_0x232a7f[_0x4e123e(0x113)](0x1)['map'](_0x3ae80d=>_0x49e8a6[_0x3ae80d])[_0x4e123e(0x109)](',')+')');}this[_0x4e123e(0x105)][_0x4e123e(0x11b)][_0x4e123e(0x118)][_0x4e123e(0x116)]['push']({'value':_0x49e8a6[_0x3e83af],'display':_0x484a45});}}this[_0x4e123e(0x10e)](new CustomEvent(_0x4e123e(0x111),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4e123e(0x108)],'after':_0x49e8a6?_0x49e8a6[_0x3e83af]:null,'record':this['record'],'column':this[_0x4e123e(0x105)],'row':this['row']}})),Object[_0x4e123e(0x11c)](_0x39a55e)[_0x4e123e(0x110)](_0x17a3cd=>{const _0x12ebf6=_0x4e123e;this[_0x12ebf6(0x10e)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x12ebf6(0x11b)][_0x39a55e[_0x17a3cd]],'after':_0x49e8a6?_0x49e8a6[_0x17a3cd]:null,'record':this[_0x12ebf6(0x11b)],'column':{'name':_0x39a55e[_0x17a3cd]},'row':this[_0x12ebf6(0x115)]}}));});})[_0x28e647(0x10b)](this)}
5
+ .value=${this[_0x4e892f(0x1bb)]}
6
+ .options=${this[_0x4e892f(0x1a0)]['record'][_0x4e892f(0x19d)]}
7
+ .confirmCallback=${(_0xa01e75=>{const _0x1683a8=_0x4e892f;let _0x4bc974=this[_0x1683a8(0x1a0)][_0x1683a8(0x1af)][_0x1683a8(0x19d)][_0x1683a8(0x1b3)],_0x4a443c=this[_0x1683a8(0x1a0)][_0x1683a8(0x1af)][_0x1683a8(0x19d)][_0x1683a8(0x1c3)],_0x3a3365=this[_0x1683a8(0x1a0)][_0x1683a8(0x1af)][_0x1683a8(0x19d)][_0x1683a8(0x1ba)]||{};if(this[_0x1683a8(0x1a0)][_0x1683a8(0x1af)][_0x1683a8(0x19d)][_0x1683a8(0x1c1)]||(this['column'][_0x1683a8(0x1af)][_0x1683a8(0x19d)][_0x1683a8(0x1c1)]=[]),_0xa01e75){let _0x29cf78=this[_0x1683a8(0x1a0)][_0x1683a8(0x1af)][_0x1683a8(0x19d)]['codes']['filter'](_0x5b98c5=>_0x5b98c5[_0x1683a8(0x1bb)]==_0xa01e75[_0x4bc974]);if(!_0x29cf78||0x0==_0x29cf78[_0x1683a8(0x1b4)]){let _0x1e4b75=_0xa01e75[_0x4bc974];if(_0x4a443c){let _0x396ee7=_0x4a443c[_0x1683a8(0x199)](',');_0x1e4b75=_0xa01e75[_0x396ee7[0x0]],_0x396ee7[_0x1683a8(0x1b4)]>0x1&&(_0x1e4b75+='('+_0x396ee7[_0x1683a8(0x1be)](0x1)[_0x1683a8(0x1a2)](_0x3a8e3a=>_0xa01e75[_0x3a8e3a])[_0x1683a8(0x19a)](',')+')');}this[_0x1683a8(0x1a0)]['record']['options'][_0x1683a8(0x1c1)]['push']({'value':_0xa01e75[_0x4bc974],'display':_0x1e4b75});}}this[_0x1683a8(0x19b)](new CustomEvent(_0x1683a8(0x1a3),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x1683a8(0x1bb)],'after':_0xa01e75?_0xa01e75[_0x4bc974]:null,'record':this[_0x1683a8(0x1af)],'column':this[_0x1683a8(0x1a0)],'row':this[_0x1683a8(0x1a6)]}})),Object['keys'](_0x3a3365)[_0x1683a8(0x1ad)](_0x1e6b34=>{const _0x177cc=_0x1683a8;this[_0x177cc(0x19b)](new CustomEvent(_0x177cc(0x1a3),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x177cc(0x1af)][_0x3a3365[_0x1e6b34]],'after':_0xa01e75?_0xa01e75[_0x1e6b34]:null,'record':this[_0x177cc(0x1af)],'column':{'name':_0x3a3365[_0x1e6b34]},'row':this[_0x177cc(0x1a6)]}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x28e647(0x10a)]=openPopup(_0x63f185,{'backdrop':!0x0,'size':_0x28e647(0x121),'title':TermsUtil[_0x28e647(0x119)](_0xf1b7d)});}}customElements['define']('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
9
+ `;this['popup']=openPopup(_0x579ec6,{'backdrop':!0x0,'size':_0x4e892f(0x1c4),'title':TermsUtil['tMenu'](_0x32b86d)});}}function a0_0x52bd(){const _0x432f02=['5gEbLCH','column','popup','map','field-change','filter','openSelector','row','90nnUclh','5098527ZMtHyi','6507992RTkyZS','6132dhLSXC','key','649092oOzqUg','forEach','85LSSnux','record','14958aregxs','editorTemplate','properties','codeField','length','7vXLsJJ','firstUpdated','stopPropagation','_onkeydown','48hpLiHq','fieldMap','value','968374bAmetx','grist-editor-meta-code-selector','splice','19816SxUCps','display','codes','56758CwQXeY','dispField','large','split','join','dispatchEvent','tTitle','options','_onclick'];a0_0x52bd=function(){return _0x432f02;};return a0_0x52bd();}customElements['define'](a0_0x248e0d(0x1bd),GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- const a0_0x21e4d2=a0_0xdbf6;(function(_0xb08db7,_0x428d98){const _0x530578=a0_0xdbf6,_0x4576ab=_0xb08db7();while(!![]){try{const _0x66c68e=parseInt(_0x530578(0xb8))/0x1+-parseInt(_0x530578(0xaf))/0x2*(-parseInt(_0x530578(0xbf))/0x3)+-parseInt(_0x530578(0xbc))/0x4*(parseInt(_0x530578(0xbe))/0x5)+-parseInt(_0x530578(0xb3))/0x6+-parseInt(_0x530578(0xab))/0x7*(parseInt(_0x530578(0xa2))/0x8)+parseInt(_0x530578(0xb7))/0x9+-parseInt(_0x530578(0xa6))/0xa*(parseInt(_0x530578(0xb1))/0xb);if(_0x66c68e===_0x428d98)break;else _0x4576ab['push'](_0x4576ab['shift']());}catch(_0x36d82d){_0x4576ab['push'](_0x4576ab['shift']());}}}(a0_0x547b,0xa29c0));function a0_0x547b(){const _0x5f4c85=['238hGBQPl','keys','grist-editor-meta-object-selector','map','2leLozW','record','1350173sUdcDA','join','5789274hWgftI','openSelector','field-change','row','10684944qZFKJG','1166691NoILFP','_onkeydown','stopPropagation','dispatchEvent','347448bUeAaG','key','40ruXQRZ','2488503KUIyvu','nameField','popup','fieldMap','properties','Enter','value','length','options','172904GJctMP','bind','firstUpdated','large','10ENmfgO','editorTemplate','column','split','tTitle'];a0_0x547b=function(){return _0x5f4c85;};return a0_0x547b();}import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';function a0_0xdbf6(_0xc6994c,_0x4eb2c7){const _0x547b3e=a0_0x547b();return a0_0xdbf6=function(_0xdbf625,_0x3a3a4f){_0xdbf625=_0xdbf625-0x9e;let _0x4c9220=_0x547b3e[_0xdbf625];return _0x4c9220;},a0_0xdbf6(_0xc6994c,_0x4eb2c7);}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x21e4d2(0xc3)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x21e4d2(0xa7)](){const _0x24a93d=a0_0x21e4d2;let _0x12ee76='';if(this[_0x24a93d(0x9f)]&&this[_0x24a93d(0xa8)][_0x24a93d(0xb0)][_0x24a93d(0xa1)]){let _0x451fe8=this[_0x24a93d(0xa8)]['record'][_0x24a93d(0xa1)][_0x24a93d(0xc0)][_0x24a93d(0xa9)](',');_0x12ee76=this[_0x24a93d(0x9f)][_0x451fe8[0x0]],_0x451fe8[_0x24a93d(0xa0)]>0x1&&(_0x12ee76+='('+_0x451fe8['splice'](0x1)[_0x24a93d(0xae)](_0x318047=>this[_0x24a93d(0x9f)][_0x318047])[_0x24a93d(0xb2)](',')+')');}return html`
2
- ${this[_0x24a93d(0x9f)]?html` <span tabindex="0" style="flex:1">${_0x12ee76}</span> `:html`<span tabindex="0">${_0x12ee76}</span>`}
3
- `;}async[a0_0x21e4d2(0xa4)](){const _0x2cbf11=a0_0x21e4d2;super[_0x2cbf11(0xa4)]();}['_onclick'](_0x3e750c){const _0x3732fa=a0_0x21e4d2;_0x3e750c[_0x3732fa(0xba)](),this[_0x3732fa(0xb4)]();}[a0_0x21e4d2(0xb9)](_0x1fead5){const _0x226698=a0_0x21e4d2;_0x226698(0x9e)==_0x1fead5[_0x226698(0xbd)]&&(_0x1fead5[_0x226698(0xba)](),this[_0x226698(0xb4)]());}['openSelector'](){const _0x4b6674=a0_0x21e4d2;this['popup']&&delete this['popup'];var {selectorName:_0x5eab35=TermsUtil[_0x4b6674(0xaa)]('select_item')}=this[_0x4b6674(0xa8)][_0x4b6674(0xb0)][_0x4b6674(0xa1)]||{},_0x3fba78=html`
1
+ const a0_0x2325bf=a0_0x4440;function a0_0x4440(_0x42e89c,_0x59b151){const _0x346169=a0_0x3461();return a0_0x4440=function(_0x44400d,_0x143732){_0x44400d=_0x44400d-0x65;let _0x29bc4b=_0x346169[_0x44400d];return _0x29bc4b;},a0_0x4440(_0x42e89c,_0x59b151);}(function(_0x13f72b,_0x26cacb){const _0x5a7190=a0_0x4440,_0x2f4801=_0x13f72b();while(!![]){try{const _0x190347=parseInt(_0x5a7190(0x67))/0x1+parseInt(_0x5a7190(0x71))/0x2*(-parseInt(_0x5a7190(0x70))/0x3)+parseInt(_0x5a7190(0x85))/0x4+-parseInt(_0x5a7190(0x72))/0x5+parseInt(_0x5a7190(0x84))/0x6*(-parseInt(_0x5a7190(0x7b))/0x7)+parseInt(_0x5a7190(0x83))/0x8+parseInt(_0x5a7190(0x7d))/0x9;if(_0x190347===_0x26cacb)break;else _0x2f4801['push'](_0x2f4801['shift']());}catch(_0x19996e){_0x2f4801['push'](_0x2f4801['shift']());}}}(a0_0x3461,0x685be));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0xe0b1d8=a0_0x4440;let _0x20806a='';if(this[_0xe0b1d8(0x7a)]&&this[_0xe0b1d8(0x6b)][_0xe0b1d8(0x82)][_0xe0b1d8(0x66)]){let _0x39d289=this['column']['record']['options']['nameField'][_0xe0b1d8(0x7c)](',');_0x20806a=this[_0xe0b1d8(0x7a)][_0x39d289[0x0]],_0x39d289[_0xe0b1d8(0x68)]>0x1&&(_0x20806a+='('+_0x39d289[_0xe0b1d8(0x81)](0x1)['map'](_0x12d5bc=>this[_0xe0b1d8(0x7a)][_0x12d5bc])['join'](',')+')');}return html`
2
+ ${this['value']?html` <span tabindex="0" style="flex:1">${_0x20806a}</span> `:html`<span tabindex="0">${_0x20806a}</span>`}
3
+ `;}async[a0_0x2325bf(0x7e)](){super['firstUpdated']();}[a0_0x2325bf(0x79)](_0x5ec83d){const _0x14ead5=a0_0x2325bf;_0x5ec83d[_0x14ead5(0x69)](),this['openSelector']();}[a0_0x2325bf(0x7f)](_0x25d214){const _0x4216cf=a0_0x2325bf;_0x4216cf(0x78)==_0x25d214[_0x4216cf(0x74)]&&(_0x25d214[_0x4216cf(0x69)](),this['openSelector']());}['openSelector'](){const _0x3c03b5=a0_0x2325bf;this[_0x3c03b5(0x6f)]&&delete this['popup'];var {selectorName:_0x3b5206=TermsUtil[_0x3c03b5(0x76)]('select_item')}=this[_0x3c03b5(0x6b)][_0x3c03b5(0x82)][_0x3c03b5(0x66)]||{},_0x19efa8=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x4b6674(0x9f)]}
6
- .options=${this['column']['record'][_0x4b6674(0xa1)]}
7
- .confirmCallback=${(_0x1b0d6a=>{const _0x1876f9=_0x4b6674;let _0x3e059b=this[_0x1876f9(0xa8)][_0x1876f9(0xb0)][_0x1876f9(0xa1)][_0x1876f9(0xc2)]||{};this[_0x1876f9(0xbb)](new CustomEvent(_0x1876f9(0xb5),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x1876f9(0x9f)],'after':_0x1b0d6a||null,'record':this[_0x1876f9(0xb0)],'column':this[_0x1876f9(0xa8)],'row':this[_0x1876f9(0xb6)]}})),Object[_0x1876f9(0xac)](_0x3e059b)['forEach'](_0x44ed14=>{const _0x40def5=_0x1876f9;this['dispatchEvent'](new CustomEvent(_0x40def5(0xb5),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x40def5(0xb0)][_0x3e059b[_0x44ed14]],'after':_0x1b0d6a?_0x1b0d6a[_0x44ed14]:null,'record':this[_0x40def5(0xb0)],'column':{'name':_0x3e059b[_0x44ed14]},'row':this[_0x40def5(0xb6)]}}));});})[_0x4b6674(0xa3)](this)}
5
+ .value=${this[_0x3c03b5(0x7a)]}
6
+ .options=${this[_0x3c03b5(0x6b)][_0x3c03b5(0x82)][_0x3c03b5(0x66)]}
7
+ .confirmCallback=${(_0x19e60d=>{const _0x31c73b=_0x3c03b5;let _0xaf4e65=this[_0x31c73b(0x6b)]['record'][_0x31c73b(0x66)][_0x31c73b(0x75)]||{};this[_0x31c73b(0x6a)](new CustomEvent(_0x31c73b(0x65),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x31c73b(0x7a)],'after':_0x19e60d||null,'record':this['record'],'column':this['column'],'row':this[_0x31c73b(0x77)]}})),Object[_0x31c73b(0x80)](_0xaf4e65)[_0x31c73b(0x87)](_0xf319f9=>{const _0x30c37a=_0x31c73b;this['dispatchEvent'](new CustomEvent(_0x30c37a(0x65),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x30c37a(0x82)][_0xaf4e65[_0xf319f9]],'after':_0x19e60d?_0x19e60d[_0xf319f9]:null,'record':this['record'],'column':{'name':_0xaf4e65[_0xf319f9]},'row':this[_0x30c37a(0x77)]}}));});})[_0x3c03b5(0x6d)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x4b6674(0xc1)]=openPopup(_0x3fba78,{'backdrop':!0x0,'size':_0x4b6674(0xa5),'title':TermsUtil['tMenu'](_0x5eab35)});}}customElements['define'](a0_0x21e4d2(0xad),GristEditorMetaObjectSelector);
9
+ `;this['popup']=openPopup(_0x19efa8,{'backdrop':!0x0,'size':_0x3c03b5(0x6e),'title':TermsUtil[_0x3c03b5(0x6c)](_0x3b5206)});}}function a0_0x3461(){const _0x549304=['row','Enter','_onclick','value','1771119vzsvPH','split','9878445sNvBis','firstUpdated','_onkeydown','keys','splice','record','5453456dPejlv','18ZIzWpt','184852aorTDX','define','forEach','field-change','options','807614fIpRvS','length','stopPropagation','dispatchEvent','column','tMenu','bind','large','popup','3CWFOyV','1552198CoMiKS','3352550JGwzav','grist-editor-meta-object-selector','key','fieldMap','tTitle'];a0_0x3461=function(){return _0x549304;};return a0_0x3461();}customElements[a0_0x2325bf(0x86)](a0_0x2325bf(0x73),GristEditorMetaObjectSelector);
@@ -1 +1 @@
1
- (function(_0x137d26,_0x384bf5){const _0x3ca3f0=a0_0x17db,_0x2d8f6a=_0x137d26();while(!![]){try{const _0x45378e=parseInt(_0x3ca3f0(0xc9))/0x1+-parseInt(_0x3ca3f0(0xcf))/0x2*(parseInt(_0x3ca3f0(0xc8))/0x3)+parseInt(_0x3ca3f0(0xda))/0x4*(-parseInt(_0x3ca3f0(0xd5))/0x5)+parseInt(_0x3ca3f0(0xcc))/0x6+-parseInt(_0x3ca3f0(0xd3))/0x7*(parseInt(_0x3ca3f0(0xd9))/0x8)+parseInt(_0x3ca3f0(0xce))/0x9*(-parseInt(_0x3ca3f0(0xd6))/0xa)+parseInt(_0x3ca3f0(0xd1))/0xb;if(_0x45378e===_0x384bf5)break;else _0x2d8f6a['push'](_0x2d8f6a['shift']());}catch(_0x425a29){_0x2d8f6a['push'](_0x2d8f6a['shift']());}}}(a0_0x37b8,0x7921c));import{html}from'lit';function a0_0x17db(_0x4b2dfd,_0xe89fd4){const _0x37b8f2=a0_0x37b8();return a0_0x17db=function(_0x17dbce,_0x56c73d){_0x17dbce=_0x17dbce-0xc8;let _0x273d7b=_0x37b8f2[_0x17dbce];return _0x273d7b;},a0_0x17db(_0x4b2dfd,_0xe89fd4);}import{detectOverflow}from'@operato/utils';function a0_0x37b8(){const _0x131863=['124rrwJWx','3PzPdNt','482088TrqDvF','data-tooltip','...','2052426JywRMH','target','153ldAKmj','610158cAUkAg','length','13693108WvjEtg','textContent','887502VDqwGv','object','57215vjMviA','462490zLqVce','substring','setAttribute','8LhewyA'];a0_0x37b8=function(){return _0x131863;};return a0_0x37b8();}function onmouseover(_0x57582e){const _0x4147a6=a0_0x17db,_0x1284fb=_0x57582e[_0x4147a6(0xcd)];detectOverflow(_0x1284fb)&&_0x1284fb[_0x4147a6(0xd8)]('data-tooltip',_0x1284fb[_0x4147a6(0xd2)]);}function onmouseout(_0x23751c){const _0x3f2bc5=a0_0x17db;_0x23751c['target']['removeAttribute'](_0x3f2bc5(0xca));}export const GristRendererCodeInput=(_0x394677,_0x5c97c8,_0x5ac96a,_0x2cd01f,_0x2f31a1)=>{const _0x2eca05=a0_0x17db;let _0x59a3dd='';return _0x394677&&(_0x59a3dd=_0x2eca05(0xd4)==typeof _0x394677?JSON['stringify'](_0x394677,0x0,0x2):_0x394677,_0x59a3dd=_0x59a3dd[_0x2eca05(0xd0)]>0x14?_0x59a3dd[_0x2eca05(0xd7)](0x0,0x14)+_0x2eca05(0xcb):_0x59a3dd),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x59a3dd}</span>`;};
1
+ (function(_0x5d18a8,_0x5ee770){const _0x53f398=a0_0x2034,_0x4b8d0e=_0x5d18a8();while(!![]){try{const _0x57a941=parseInt(_0x53f398(0x71))/0x1+parseInt(_0x53f398(0x76))/0x2+parseInt(_0x53f398(0x77))/0x3+-parseInt(_0x53f398(0x75))/0x4+-parseInt(_0x53f398(0x70))/0x5*(parseInt(_0x53f398(0x6e))/0x6)+-parseInt(_0x53f398(0x6c))/0x7*(-parseInt(_0x53f398(0x78))/0x8)+-parseInt(_0x53f398(0x6a))/0x9;if(_0x57a941===_0x5ee770)break;else _0x4b8d0e['push'](_0x4b8d0e['shift']());}catch(_0x5ec98e){_0x4b8d0e['push'](_0x4b8d0e['shift']());}}}(a0_0x5ab2,0x1c77f));function a0_0x5ab2(){const _0x4ed3b9=['setAttribute','465tEhzaK','71527MwbgnD','substring','data-tooltip','target','192920grFSai','106970gXhZcN','144126OoAcnf','8JVSQfj','...','250164VqPLrp','stringify','1120063ZRWFKO','length','9060tOTITl'];a0_0x5ab2=function(){return _0x4ed3b9;};return a0_0x5ab2();}import{html}from'lit';function a0_0x2034(_0x101b99,_0x52bc1d){const _0x5ab2a0=a0_0x5ab2();return a0_0x2034=function(_0x2034f2,_0x212b00){_0x2034f2=_0x2034f2-0x6a;let _0x22b7f8=_0x5ab2a0[_0x2034f2];return _0x22b7f8;},a0_0x2034(_0x101b99,_0x52bc1d);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x436213){const _0x595342=a0_0x2034,_0x5a8ab8=_0x436213[_0x595342(0x74)];detectOverflow(_0x5a8ab8)&&_0x5a8ab8[_0x595342(0x6f)](_0x595342(0x73),_0x5a8ab8['textContent']);}function onmouseout(_0x684e28){const _0x16568f=a0_0x2034;_0x684e28[_0x16568f(0x74)]['removeAttribute'](_0x16568f(0x73));}export const GristRendererCodeInput=(_0x53ba87,_0x2ed332,_0x565166,_0xfc810a,_0x4f3d84)=>{const _0x807409=a0_0x2034;let _0x15857e='';return _0x53ba87&&(_0x15857e='object'==typeof _0x53ba87?JSON[_0x807409(0x6b)](_0x53ba87,0x0,0x2):_0x53ba87,_0x15857e=_0x15857e[_0x807409(0x6d)]>0x14?_0x15857e[_0x807409(0x72)](0x0,0x14)+_0x807409(0x79):_0x15857e),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x15857e}</span>`;};
@@ -1 +1 @@
1
- (function(_0x418076,_0x2489f6){const _0x562992=a0_0x4ee1,_0x533b1a=_0x418076();while(!![]){try{const _0xd339c9=-parseInt(_0x562992(0x142))/0x1+-parseInt(_0x562992(0x13a))/0x2*(-parseInt(_0x562992(0x132))/0x3)+parseInt(_0x562992(0x13b))/0x4*(-parseInt(_0x562992(0x140))/0x5)+-parseInt(_0x562992(0x143))/0x6*(-parseInt(_0x562992(0x12d))/0x7)+-parseInt(_0x562992(0x12e))/0x8*(-parseInt(_0x562992(0x135))/0x9)+-parseInt(_0x562992(0x13d))/0xa*(-parseInt(_0x562992(0x131))/0xb)+parseInt(_0x562992(0x12c))/0xc;if(_0xd339c9===_0x2489f6)break;else _0x533b1a['push'](_0x533b1a['shift']());}catch(_0x4269d3){_0x533b1a['push'](_0x533b1a['shift']());}}}(a0_0x1319,0x62d02));import{html}from'lit';function a0_0x1319(){const _0x20aa6f=['5277kqvxYT','options','filter','27wSDAxa','setAttribute','record','codes','removeAttribute','12OQIofy','472PooqZi','data-tooltip','40ihvTQd','textContent','value','33295gxBjys','length','575994cqZcMn','6XRHuaj','11160372JJIiqS','667681pSvShc','1512624zZaJjN','target','dispField','449053nyNZdG'];a0_0x1319=function(){return _0x20aa6f;};return a0_0x1319();}function a0_0x4ee1(_0x37d5d8,_0x49d092){const _0x131945=a0_0x1319();return a0_0x4ee1=function(_0x4ee1bf,_0x49017f){_0x4ee1bf=_0x4ee1bf-0x12c;let _0x463d36=_0x131945[_0x4ee1bf];return _0x463d36;},a0_0x4ee1(_0x37d5d8,_0x49d092);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x3db847){const _0x205a1f=a0_0x4ee1,_0x54eaf4=_0x3db847['target'];detectOverflow(_0x54eaf4)&&_0x54eaf4[_0x205a1f(0x136)](_0x205a1f(0x13c),_0x54eaf4[_0x205a1f(0x13e)]);}function onmouseout(_0x292793){const _0x697870=a0_0x4ee1;_0x292793[_0x697870(0x12f)][_0x697870(0x139)]('data-tooltip');}export const GristRendererMetaCodeSelector=(_0x289b59,_0x5c1dd8,_0x326a57,_0xfe604,_0x2a6dce)=>{const _0xfcede2=a0_0x4ee1;let _0x57bcfb='';if(_0x5c1dd8[_0xfcede2(0x137)]&&_0x5c1dd8[_0xfcede2(0x137)]['options']){if(_0x5c1dd8[_0xfcede2(0x137)]['options'][_0xfcede2(0x130)]){if(_0x5c1dd8['record'][_0xfcede2(0x133)][_0xfcede2(0x138)]||(_0x5c1dd8[_0xfcede2(0x137)]['options'][_0xfcede2(0x138)]=[]),_0x289b59&&_0x289b59[_0xfcede2(0x141)]>0x0){let _0x51aab3=_0x5c1dd8['record']['options'][_0xfcede2(0x138)][_0xfcede2(0x134)](_0x55d51d=>_0x55d51d[_0xfcede2(0x13f)]===_0x289b59);_0x57bcfb=_0x51aab3&&_0x51aab3[_0xfcede2(0x141)]>0x0?_0x51aab3[0x0]['display']:_0x289b59;}}else _0x57bcfb=_0x289b59;}else _0x57bcfb='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x57bcfb}</span>`;};
1
+ (function(_0x44d794,_0x5eeaf5){const _0x3e99a3=a0_0x4627,_0x25768b=_0x44d794();while(!![]){try{const _0x162931=-parseInt(_0x3e99a3(0xbf))/0x1+-parseInt(_0x3e99a3(0xcd))/0x2+parseInt(_0x3e99a3(0xcb))/0x3*(-parseInt(_0x3e99a3(0xcc))/0x4)+parseInt(_0x3e99a3(0xc8))/0x5+-parseInt(_0x3e99a3(0xcf))/0x6+-parseInt(_0x3e99a3(0xc5))/0x7+parseInt(_0x3e99a3(0xbe))/0x8;if(_0x162931===_0x5eeaf5)break;else _0x25768b['push'](_0x25768b['shift']());}catch(_0x3fadac){_0x25768b['push'](_0x25768b['shift']());}}}(a0_0xfbc0,0x7c595));import{html}from'lit';function a0_0xfbc0(){const _0xd7c134=['3268525oxZZcI','textContent','display','46716xMEDMQ','68jDblCo','81944MLKaxU','setAttribute','2781090WKFrMa','value','options','6856192dmaLMt','78176OKeXrd','dispField','removeAttribute','length','data-tooltip','target','1078063aFEogQ','record','codes'];a0_0xfbc0=function(){return _0xd7c134;};return a0_0xfbc0();}import{detectOverflow}from'@operato/utils';function a0_0x4627(_0x18fb3f,_0x5247a0){const _0xfbc0ec=a0_0xfbc0();return a0_0x4627=function(_0x4627be,_0x38fcb0){_0x4627be=_0x4627be-0xbe;let _0x24fcce=_0xfbc0ec[_0x4627be];return _0x24fcce;},a0_0x4627(_0x18fb3f,_0x5247a0);}function onmouseover(_0x701b22){const _0xf76bbc=a0_0x4627,_0x2b4ed8=_0x701b22[_0xf76bbc(0xc4)];detectOverflow(_0x2b4ed8)&&_0x2b4ed8[_0xf76bbc(0xce)]('data-tooltip',_0x2b4ed8[_0xf76bbc(0xc9)]);}function onmouseout(_0x17a46c){const _0x2cbd6d=a0_0x4627;_0x17a46c[_0x2cbd6d(0xc4)][_0x2cbd6d(0xc1)](_0x2cbd6d(0xc3));}export const GristRendererMetaCodeSelector=(_0x56d30a,_0xa2bc0f,_0x18a05d,_0x595a11,_0x117fdf)=>{const _0x8c9775=a0_0x4627;let _0x7015e5='';if(_0xa2bc0f[_0x8c9775(0xc6)]&&_0xa2bc0f['record'][_0x8c9775(0xd1)]){if(_0xa2bc0f[_0x8c9775(0xc6)]['options'][_0x8c9775(0xc0)]){if(_0xa2bc0f[_0x8c9775(0xc6)][_0x8c9775(0xd1)][_0x8c9775(0xc7)]||(_0xa2bc0f[_0x8c9775(0xc6)][_0x8c9775(0xd1)][_0x8c9775(0xc7)]=[]),_0x56d30a&&_0x56d30a[_0x8c9775(0xc2)]>0x0){let _0xa6b20=_0xa2bc0f[_0x8c9775(0xc6)][_0x8c9775(0xd1)][_0x8c9775(0xc7)]['filter'](_0x1472dd=>_0x1472dd[_0x8c9775(0xd0)]===_0x56d30a);_0x7015e5=_0xa6b20&&_0xa6b20[_0x8c9775(0xc2)]>0x0?_0xa6b20[0x0][_0x8c9775(0xca)]:_0x56d30a;}}else _0x7015e5=_0x56d30a;}else _0x7015e5='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x7015e5}</span>`;};
@@ -1 +1 @@
1
- (function(_0xd3341b,_0x32cd51){const _0x120b82=a0_0x5d9f,_0x1d1831=_0xd3341b();while(!![]){try{const _0x23d2ec=parseInt(_0x120b82(0x1cf))/0x1+-parseInt(_0x120b82(0x1d3))/0x2*(parseInt(_0x120b82(0x1cb))/0x3)+parseInt(_0x120b82(0x1d1))/0x4+parseInt(_0x120b82(0x1d9))/0x5+parseInt(_0x120b82(0x1cc))/0x6*(-parseInt(_0x120b82(0x1d2))/0x7)+parseInt(_0x120b82(0x1da))/0x8+-parseInt(_0x120b82(0x1dc))/0x9;if(_0x23d2ec===_0x32cd51)break;else _0x1d1831['push'](_0x1d1831['shift']());}catch(_0x5a77ae){_0x1d1831['push'](_0x1d1831['shift']());}}}(a0_0x3fd8,0x7ef00));function a0_0x3fd8(){const _0xfd9cd=['textContent','record','3237990PwOaWz','8063920vlyuqh','split','1907622jlwpZG','111YlVGtw','6fcqSbs','options','data-tooltip','273064xeskDl','join','1721968YCzKbN','6361747WFFFQa','38834BAdxHN','splice','target','map'];a0_0x3fd8=function(){return _0xfd9cd;};return a0_0x3fd8();}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x48188e){const _0x16bd3b=a0_0x5d9f,_0x292f27=_0x48188e[_0x16bd3b(0x1d5)];detectOverflow(_0x292f27)&&_0x292f27['setAttribute'](_0x16bd3b(0x1ce),_0x292f27[_0x16bd3b(0x1d7)]);}function a0_0x5d9f(_0x49d0fd,_0x5304b7){const _0x3fd816=a0_0x3fd8();return a0_0x5d9f=function(_0x5d9f79,_0x267344){_0x5d9f79=_0x5d9f79-0x1cb;let _0x1097a2=_0x3fd816[_0x5d9f79];return _0x1097a2;},a0_0x5d9f(_0x49d0fd,_0x5304b7);}function onmouseout(_0x13509b){const _0x59df5f=a0_0x5d9f;_0x13509b[_0x59df5f(0x1d5)]['removeAttribute'](_0x59df5f(0x1ce));}export const GristRendererMetaObjectSelector=(_0x4a9453,_0x549568,_0x229600,_0x169737,_0x151577)=>{const _0x1b2be1=a0_0x5d9f;let _0x2564f4='';if(_0x4a9453&&_0x549568['record'][_0x1b2be1(0x1cd)]){let _0x4aa072=_0x549568[_0x1b2be1(0x1d8)][_0x1b2be1(0x1cd)]['nameField'][_0x1b2be1(0x1db)](',');_0x2564f4=_0x4a9453[_0x4aa072[0x0]],_0x4aa072['length']>0x1&&(_0x2564f4+='('+_0x4aa072[_0x1b2be1(0x1d4)](0x1)[_0x1b2be1(0x1d6)](_0x48400d=>_0x4a9453[_0x48400d])[_0x1b2be1(0x1d0)](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2564f4}</span>`;};
1
+ (function(_0x9b348,_0x23015d){const _0x3df278=a0_0x5283,_0x5edf9e=_0x9b348();while(!![]){try{const _0x1b879a=-parseInt(_0x3df278(0x14e))/0x1+-parseInt(_0x3df278(0x14d))/0x2+parseInt(_0x3df278(0x13f))/0x3*(-parseInt(_0x3df278(0x142))/0x4)+-parseInt(_0x3df278(0x14a))/0x5+-parseInt(_0x3df278(0x143))/0x6*(-parseInt(_0x3df278(0x150))/0x7)+-parseInt(_0x3df278(0x146))/0x8+parseInt(_0x3df278(0x151))/0x9;if(_0x1b879a===_0x23015d)break;else _0x5edf9e['push'](_0x5edf9e['shift']());}catch(_0x29718d){_0x5edf9e['push'](_0x5edf9e['shift']());}}}(a0_0x27dd,0x579f2));import{html}from'lit';function a0_0x27dd(){const _0x46560b=['21049983BaNdYi','textContent','9dXnhih','map','target','335908KDgFIz','6vlxGSo','removeAttribute','split','4934128XbRUuj','length','setAttribute','options','1873715etzIEG','data-tooltip','nameField','804796UVHIjv','337218jznHdL','splice','21469QZNiRF'];a0_0x27dd=function(){return _0x46560b;};return a0_0x27dd();}function a0_0x5283(_0x530f2f,_0x4ba600){const _0x27dd4c=a0_0x27dd();return a0_0x5283=function(_0x52837d,_0x24ff0a){_0x52837d=_0x52837d-0x13e;let _0x37d43c=_0x27dd4c[_0x52837d];return _0x37d43c;},a0_0x5283(_0x530f2f,_0x4ba600);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x244200){const _0x213d81=a0_0x5283,_0x4d2639=_0x244200[_0x213d81(0x141)];detectOverflow(_0x4d2639)&&_0x4d2639[_0x213d81(0x148)]('data-tooltip',_0x4d2639[_0x213d81(0x13e)]);}function onmouseout(_0x5ac6a6){const _0x543dc6=a0_0x5283;_0x5ac6a6[_0x543dc6(0x141)][_0x543dc6(0x144)](_0x543dc6(0x14b));}export const GristRendererMetaObjectSelector=(_0x506ff0,_0x2b2a07,_0x324362,_0x4b0239,_0x27ee99)=>{const _0x30d073=a0_0x5283;let _0x26f0d3='';if(_0x506ff0&&_0x2b2a07['record'][_0x30d073(0x149)]){let _0x5c3fcd=_0x2b2a07['record']['options'][_0x30d073(0x14c)][_0x30d073(0x145)](',');_0x26f0d3=_0x506ff0[_0x5c3fcd[0x0]],_0x5c3fcd[_0x30d073(0x147)]>0x1&&(_0x26f0d3+='('+_0x5c3fcd[_0x30d073(0x14f)](0x1)[_0x30d073(0x140)](_0x213acd=>_0x506ff0[_0x213acd])['join'](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x26f0d3}</span>`;};
@@ -1,4 +1,4 @@
1
- function a0_0x2690(){var _0x48ed41=['confirmCallback','clickEmpty','render','connectedCallback','define','27948AeJfFw','styles','stringify','tText','tButton','751533ZitgNE','ox-input-code','969240UbrWOh','value','759423HDlTyR','empty','bind','72kKzgCO','385rnvkNq','changedValue','clickConfirm','1fbLGil','186102KvZmCx','19626TCDKwd','1783820ilOPAl','firstUpdated','NOTHING_CHANGED','clickCancel','info','codeEditor','codeVlaue','showToast'];a0_0x2690=function(){return _0x48ed41;};return a0_0x2690();}var a0_0x5e9110=a0_0x1821;(function(_0x483003,_0xe4acfa){var _0xaf0b1=a0_0x1821,_0x2687a0=_0x483003();while(!![]){try{var _0x331561=parseInt(_0xaf0b1(0xfb))/0x1*(-parseInt(_0xaf0b1(0x10b))/0x2)+parseInt(_0xaf0b1(0x110))/0x3+parseInt(_0xaf0b1(0x112))/0x4+parseInt(_0xaf0b1(0xf8))/0x5*(-parseInt(_0xaf0b1(0xfd))/0x6)+-parseInt(_0xaf0b1(0x114))/0x7+-parseInt(_0xaf0b1(0x117))/0x8*(-parseInt(_0xaf0b1(0xfc))/0x9)+-parseInt(_0xaf0b1(0xfe))/0xa;if(_0x331561===_0xe4acfa)break;else _0x2687a0['push'](_0x2687a0['shift']());}catch(_0x141319){_0x2687a0['push'](_0x2687a0['shift']());}}}(a0_0x2690,0x1ed03));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x1821(_0x4f0e06,_0x437f3a){var _0x269044=a0_0x2690();return a0_0x1821=function(_0x18217e,_0x4ee5b5){_0x18217e=_0x18217e-0xf8;var _0x391696=_0x269044[_0x18217e];return _0x391696;},a0_0x1821(_0x4f0e06,_0x437f3a);}import{TermsUtil}from'../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';import'@operato/input/ox-input-code.js';import{closePopup}from'@operato/popup';export class CodeInputEditorPopup extends LitElement{static [a0_0x5e9110(0x10c)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ var a0_0x23ef10=a0_0x436b;function a0_0x436b(_0xbe1194,_0x49bb32){var _0x38c728=a0_0x38c7();return a0_0x436b=function(_0x436b06,_0x1931b5){_0x436b06=_0x436b06-0x1d5;var _0x34841c=_0x38c728[_0x436b06];return _0x34841c;},a0_0x436b(_0xbe1194,_0x49bb32);}(function(_0x5533cd,_0x1aacf7){var _0x771350=a0_0x436b,_0x3aed73=_0x5533cd();while(!![]){try{var _0x3efdd5=-parseInt(_0x771350(0x1e2))/0x1+parseInt(_0x771350(0x1ee))/0x2*(-parseInt(_0x771350(0x1e6))/0x3)+parseInt(_0x771350(0x1e5))/0x4*(parseInt(_0x771350(0x1dd))/0x5)+-parseInt(_0x771350(0x1f5))/0x6+parseInt(_0x771350(0x1dc))/0x7*(parseInt(_0x771350(0x1f4))/0x8)+-parseInt(_0x771350(0x1ef))/0x9*(-parseInt(_0x771350(0x1f0))/0xa)+-parseInt(_0x771350(0x1ec))/0xb*(-parseInt(_0x771350(0x1d6))/0xc);if(_0x3efdd5===_0x1aacf7)break;else _0x3aed73['push'](_0x3aed73['shift']());}catch(_0x180485){_0x3aed73['push'](_0x3aed73['shift']());}}}(a0_0x38c7,0xdd71e));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';import'@operato/input/ox-input-code.js';import{closePopup}from'@operato/popup';export class CodeInputEditorPopup extends LitElement{static [a0_0x23ef10(0x1da)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -19,17 +19,17 @@ function a0_0x2690(){var _0x48ed41=['confirmCallback','clickEmpty','render','con
19
19
  display: flex;
20
20
  margin-left: auto;
21
21
  }
22
- `];async[a0_0x5e9110(0x109)](){var _0x56e4aa=a0_0x5e9110;'object'==typeof this[_0x56e4aa(0x113)]?this[_0x56e4aa(0x104)]=JSON[_0x56e4aa(0x10d)](this[_0x56e4aa(0x113)],0x0,0x2):this[_0x56e4aa(0x104)]=this[_0x56e4aa(0x113)],await super[_0x56e4aa(0x109)]();}async[a0_0x5e9110(0xff)](){var _0x5d0ae1=a0_0x5e9110;await super[_0x5d0ae1(0xff)]();}[a0_0x5e9110(0x108)](){var _0x2f98fe=a0_0x5e9110;return html`
23
- <ox-input-code mode="javascript" value=${this['codeVlaue']} tab-size="2" tab-as-space="true"></ox-input-code>
22
+ `];async[a0_0x23ef10(0x1d8)](){var _0x167654=a0_0x23ef10;_0x167654(0x1d5)==typeof this['value']?this[_0x167654(0x1d7)]=JSON['stringify'](this[_0x167654(0x1f6)],0x0,0x2):this[_0x167654(0x1d7)]=this[_0x167654(0x1f6)],await super[_0x167654(0x1d8)]();}async[a0_0x23ef10(0x1df)](){var _0xca2711=a0_0x23ef10;await super[_0xca2711(0x1df)]();}[a0_0x23ef10(0x1e9)](){var _0x1528f7=a0_0x23ef10;return html`
23
+ <ox-input-code mode="javascript" value=${this[_0x1528f7(0x1d7)]} tab-size="2" tab-as-space="true"></ox-input-code>
24
24
  <div id="button-container" class="button-container">
25
- <mwc-button raised label="${TermsUtil[_0x2f98fe(0x10f)](_0x2f98fe(0x115))}" style="margin-left:7px;margin-top:7px;"
26
- @click=${this['clickEmpty']['bind'](this)}>
25
+ <mwc-button raised label="${TermsUtil[_0x1528f7(0x1d9)]('empty')}" style="margin-left:7px;margin-top:7px;"
26
+ @click=${this['clickEmpty'][_0x1528f7(0x1f2)](this)}>
27
27
  </mwc-button>
28
- <mwc-button raised label="${TermsUtil[_0x2f98fe(0x10f)]('cancel')}" style="margin-left:7px;margin-top:7px;"
29
- @click=${this['clickCancel'][_0x2f98fe(0x116)](this)}>
28
+ <mwc-button raised label="${TermsUtil[_0x1528f7(0x1d9)](_0x1528f7(0x1db))}" style="margin-left:7px;margin-top:7px;"
29
+ @click=${this['clickCancel'][_0x1528f7(0x1f2)](this)}>
30
30
  </mwc-button>
31
- <mwc-button raised label="${TermsUtil[_0x2f98fe(0x10f)]('confirm')}" style="margin-left:7px;margin-top:7px;"
32
- @click=${this[_0x2f98fe(0xfa)][_0x2f98fe(0x116)](this)}>
31
+ <mwc-button raised label="${TermsUtil[_0x1528f7(0x1d9)](_0x1528f7(0x1ed))}" style="margin-left:7px;margin-top:7px;"
32
+ @click=${this[_0x1528f7(0x1ea)][_0x1528f7(0x1f2)](this)}>
33
33
  </mwc-button>
34
34
  </div>
35
- `;}get[a0_0x5e9110(0x103)](){var _0x53830c=a0_0x5e9110;return this['shadowRoot']['querySelector'](_0x53830c(0x111));}async[a0_0x5e9110(0x107)](_0x2973c9){var _0x22b816=a0_0x5e9110;this[_0x22b816(0x106)]&&this[_0x22b816(0x106)](null),closePopup(this);}async[a0_0x5e9110(0x101)](_0x4891bb){closePopup(this);}async[a0_0x5e9110(0xfa)](_0x3dbc76){var _0x54b0ea=a0_0x5e9110;this[_0x54b0ea(0x104)]!==this[_0x54b0ea(0x103)]['value']?this[_0x54b0ea(0xf9)](this[_0x54b0ea(0x103)][_0x54b0ea(0x113)]):MetaApi[_0x54b0ea(0x105)](_0x54b0ea(0x102),TermsUtil[_0x54b0ea(0x10e)](_0x54b0ea(0x100)));}async['changedValue'](_0x4f8ad6){var _0x2144f2=a0_0x5e9110;this[_0x2144f2(0x106)]&&this[_0x2144f2(0x106)](_0x4f8ad6),closePopup(this);}}customElements[a0_0x5e9110(0x10a)]('code-input-editor-popup',CodeInputEditorPopup);
35
+ `;}get[a0_0x23ef10(0x1e8)](){var _0x2069b8=a0_0x23ef10;return this[_0x2069b8(0x1e4)][_0x2069b8(0x1eb)]('ox-input-code');}async[a0_0x23ef10(0x1f3)](_0x12162e){this['confirmCallback']&&this['confirmCallback'](null),closePopup(this);}async[a0_0x23ef10(0x1e0)](_0xecd054){closePopup(this);}async[a0_0x23ef10(0x1ea)](_0x5092b9){var _0x24e20d=a0_0x23ef10;this[_0x24e20d(0x1d7)]!==this['codeEditor'][_0x24e20d(0x1f6)]?this[_0x24e20d(0x1f1)](this[_0x24e20d(0x1e8)][_0x24e20d(0x1f6)]):MetaApi[_0x24e20d(0x1e7)](_0x24e20d(0x1de),TermsUtil['tText']('NOTHING_CHANGED'));}async[a0_0x23ef10(0x1f1)](_0x2aca17){var _0x260355=a0_0x23ef10;this[_0x260355(0x1e1)]&&this[_0x260355(0x1e1)](_0x2aca17),closePopup(this);}}customElements['define'](a0_0x23ef10(0x1e3),CodeInputEditorPopup);function a0_0x38c7(){var _0x438451=['tButton','styles','cancel','112jTrAWB','15dXspPe','info','firstUpdated','clickCancel','confirmCallback','444616eGEdMU','code-input-editor-popup','shadowRoot','457476FYfZXu','3WIJgcl','showToast','codeEditor','render','clickConfirm','querySelector','4898289bTaHQD','confirm','2895818eWhmxf','1509426YAvnLa','10gdmKyf','changedValue','bind','clickEmpty','847672YBgmMs','4454994RWdlyi','value','object','36KUMQQO','codeVlaue','connectedCallback'];a0_0x38c7=function(){return _0x438451;};return a0_0x38c7();}