@things-factory/meta-ui 6.2.33 → 6.2.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 (79) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  7. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  8. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  9. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  10. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  12. package/client/component/popup/code-input-editor-popup.js +10 -10
  13. package/client/component/popup/file-upload-popup.js +11 -11
  14. package/client/component/popup/meta-object-selector-popup.js +11 -11
  15. package/client/component/popup/record-based-code-editor-popup.js +11 -11
  16. package/client/mixin/meta-base-mixin.js +1 -1
  17. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  18. package/client/mixin/meta-button-mixin.js +1 -1
  19. package/client/mixin/meta-form-mixin.js +1 -1
  20. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  21. package/client/mixin/meta-main-tab-mixin.js +1 -1
  22. package/client/mixin/meta-master-detail-mixin.js +1 -1
  23. package/client/mixin/meta-service-mixin.js +1 -1
  24. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  25. package/client/mixin/meta-tab-mixin.js +1 -1
  26. package/client/pages/activity/meta-activity-define-page.js +11 -11
  27. package/client/pages/activity/meta-activity-list-page.js +6 -6
  28. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  29. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  30. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  31. package/client/pages/button-role/button-role-detail.js +1 -1
  32. package/client/pages/button-role/button-role-page.js +1 -1
  33. package/client/pages/doc-number/doc-number-page.js +1 -1
  34. package/client/pages/doc-number/next-doc-number-popup.js +1 -1
  35. package/client/pages/entity/config-entity.js +29 -29
  36. package/client/pages/entity/main-menu-selector.js +8 -8
  37. package/client/pages/history/history-copy-list-popup.js +5 -5
  38. package/client/pages/history/history-json-list-popup.js +6 -6
  39. package/client/pages/loading-page.js +5 -5
  40. package/client/pages/menu/dynamic-menu-setting-let.js +6 -6
  41. package/client/pages/menu/dynamic-menu-template.js +7 -7
  42. package/client/pages/menu/dynamic-menu.js +16 -16
  43. package/client/pages/menu/export-menu-popup.js +7 -7
  44. package/client/pages/meta-form-element.js +1 -1
  45. package/client/pages/meta-grist-element.js +1 -1
  46. package/client/pages/meta-grist-page.js +1 -1
  47. package/client/pages/meta-grist-tab-element.js +1 -1
  48. package/client/pages/meta-grist-tab-page.js +1 -1
  49. package/client/pages/meta-main-tab-element.js +1 -1
  50. package/client/pages/meta-main-tab-page.js +1 -1
  51. package/client/pages/meta-master-detail-element.js +1 -1
  52. package/client/pages/meta-master-detail-page.js +1 -1
  53. package/client/pages/meta-tab-detail-element.js +1 -1
  54. package/client/pages/meta-tab-detail-page.js +1 -1
  55. package/client/pages/meta-tab-element.js +1 -1
  56. package/client/pages/personalize/personal-column-selector.js +11 -11
  57. package/client/pages/printer-device/printer-device-page.js +1 -1
  58. package/client/pages/template/doc-template-page.js +1 -1
  59. package/client/pages/template/template-file-page.js +1 -1
  60. package/client/pages/terms/config-terminology.js +6 -6
  61. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  62. package/client/pages/work-code/work-code-page.js +1 -1
  63. package/client/reducers/main.js +1 -1
  64. package/client/utils/grist-default-value.js +1 -1
  65. package/client/utils/meta-api.js +1 -1
  66. package/client/utils/meta-crypto.js +1 -1
  67. package/client/utils/meta-ui-util.js +106 -106
  68. package/client/utils/service-util.js +35 -35
  69. package/client/utils/terms-util.js +2 -2
  70. package/client/utils/ui-util.js +1 -1
  71. package/client/utils/value-util.js +1 -1
  72. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  73. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  74. package/client/viewparts/dynamic-menu-part.js +11 -11
  75. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  76. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  77. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  78. package/package.json +5 -5
  79. package/translations/zh.json +137 -137
@@ -1,7 +1,7 @@
1
- const a0_0x44f078=a0_0x3f6d;(function(_0x48d51e,_0x5c38d9){const _0x4819ee=a0_0x3f6d,_0xcd7d51=_0x48d51e();while(!![]){try{const _0x119eeb=parseInt(_0x4819ee(0xda))/0x1+parseInt(_0x4819ee(0xed))/0x2*(parseInt(_0x4819ee(0xe6))/0x3)+-parseInt(_0x4819ee(0xee))/0x4*(parseInt(_0x4819ee(0xd8))/0x5)+-parseInt(_0x4819ee(0xe7))/0x6+-parseInt(_0x4819ee(0xe9))/0x7+-parseInt(_0x4819ee(0xdb))/0x8+-parseInt(_0x4819ee(0xd9))/0x9*(-parseInt(_0x4819ee(0xd5))/0xa);if(_0x119eeb===_0x5c38d9)break;else _0xcd7d51['push'](_0xcd7d51['shift']());}catch(_0x148c96){_0xcd7d51['push'](_0xcd7d51['shift']());}}}(a0_0x2fc1,0x7554c));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x30c665 from'graphql-tag';import{html}from'lit';function a0_0x2fc1(){const _0x1a4a75=['156485PIlsGd','portrait','appName','content','945680dnYckH','2000oSQDwJ','12039850yGmfrO','UPDATE_META_UI','UPDATE_META_MENU_TEMPLATE','6980IuUQiX','9bHKeIj','380543HdCRhj','7484632YQbpHf','meta[name=\x22application-name\x22]','hamburger','filter','active','landscape','FRONT_END','dispatch','querySelector','liteMenus','dynamic-menu-part','6GyDFIl','2362116PDaUXt','dynamic-menu'];a0_0x2fc1=function(){return _0x1a4a75;};return a0_0x2fc1();}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';function a0_0x3f6d(_0x20df5f,_0x241bf0){const _0x2fc1f9=a0_0x2fc1();return a0_0x3f6d=function(_0x3f6d6a,_0x2b5cee){_0x3f6d6a=_0x3f6d6a-0xd5;let _0x5bef47=_0x2fc1f9[_0x3f6d6a];return _0x5bef47;},a0_0x3f6d(_0x20df5f,_0x241bf0);}export const UPDATE_META_UI=a0_0x44f078(0xd6);export const UPDATE_META_MENU_TEMPLATE=a0_0x44f078(0xd7);var HAMBURGER;export async function setupMenuPart(_0x84a832){const _0x2dbf85=a0_0x44f078;var {hovering:_0x23f6c3=!!isMobileDevice(),slotTemplate:_0x1a9df6,portraitSlotTemplate:_0x4442d4,landscapeSlotTemplate:_0x80fbb7,position:_0x3c1999=VIEWPART_POSITION['NAVBAR']}=_0x84a832||{};const {hovering:_0x5063fe}=(await clientSettingStore['get'](_0x2dbf85(0xe8)))?.['value']||{};void 0x0!==_0x5063fe&&(_0x23f6c3=_0x5063fe);const _0x1bc29a=_0x3c1999==VIEWPART_POSITION['HEADERBAR']?'landscape':_0x2dbf85(0xea),_0x27ef5e=(_0x2dbf85(0xe0)==_0x1bc29a?_0x80fbb7:_0x4442d4)||_0x1a9df6||html``;appendViewpart({'name':'dynamic-menu-part','viewpart':{'show':!_0x23f6c3,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x23f6c3,'template':html`<dynamic-menu-part .orientation=${_0x1bc29a}>${_0x27ef5e}</dynamic-menu-part>`},'position':_0x3c1999}),_0x23f6c3&&'portrait'==_0x1bc29a?HAMBURGER||(HAMBURGER={'name':_0x2dbf85(0xdd),'template':html`
2
- <mwc-icon @click=${_0x4d3796=>toggleOverlay(_0x2dbf85(0xe5),{'backdrop':!0x0})}
1
+ const a0_0x4a5135=a0_0x5659;(function(_0x2e9c27,_0x1f5b7c){const _0x498506=a0_0x5659,_0x53d2a7=_0x2e9c27();while(!![]){try{const _0x417233=-parseInt(_0x498506(0x1bf))/0x1*(-parseInt(_0x498506(0x1a3))/0x2)+-parseInt(_0x498506(0x1b0))/0x3*(parseInt(_0x498506(0x1a8))/0x4)+parseInt(_0x498506(0x1ad))/0x5+-parseInt(_0x498506(0x1a2))/0x6+-parseInt(_0x498506(0x1b5))/0x7*(-parseInt(_0x498506(0x1b7))/0x8)+parseInt(_0x498506(0x1aa))/0x9+parseInt(_0x498506(0x1ae))/0xa*(-parseInt(_0x498506(0x1a4))/0xb);if(_0x417233===_0x1f5b7c)break;else _0x53d2a7['push'](_0x53d2a7['shift']());}catch(_0x657fe3){_0x53d2a7['push'](_0x53d2a7['shift']());}}}(a0_0x1039,0xa8d37));function a0_0x5659(_0x3fe00f,_0xa1ca8c){const _0x1039b4=a0_0x1039();return a0_0x5659=function(_0x565923,_0x5ba40b){_0x565923=_0x565923-0x1a1;let _0xc6075b=_0x1039b4[_0x565923];return _0xc6075b;},a0_0x5659(_0x3fe00f,_0xa1ca8c);}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x211c4c 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';function a0_0x1039(){const _0x711ee6=['dispatch','portrait','5596sBvUfk','querySelector','3852144vuGEqL','HEADERBAR','appName','2876070uGozEI','950rwZVBP','dynamic-menu','753ZMkpaJ','liteMenus','UPDATE_META_UI','rank','active','7140049HHZcYE','UPDATE_META_MENU_TEMPLATE','8PIZlxZ','filter','items','dynamic-menu-part','get','data','meta[name=\x22application-name\x22]','FRONT_END','177446fnbiZc','hamburger','4246572BGeizC','10pQercB','134321DSNzde','value'];a0_0x1039=function(){return _0x711ee6;};return a0_0x1039();}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_0x4a5135(0x1b2);export const UPDATE_META_MENU_TEMPLATE=a0_0x4a5135(0x1b6);var HAMBURGER;export async function setupMenuPart(_0x407269){const _0x5cfc29=a0_0x4a5135;var {hovering:_0x569328=!!isMobileDevice(),slotTemplate:_0x482949,portraitSlotTemplate:_0x161a38,landscapeSlotTemplate:_0x1b918f,position:_0x57eb0f=VIEWPART_POSITION['NAVBAR']}=_0x407269||{};const {hovering:_0x36e7ae}=(await clientSettingStore[_0x5cfc29(0x1bb)](_0x5cfc29(0x1af)))?.[_0x5cfc29(0x1a5)]||{};void 0x0!==_0x36e7ae&&(_0x569328=_0x36e7ae);const _0x52677b=_0x57eb0f==VIEWPART_POSITION[_0x5cfc29(0x1ab)]?'landscape':_0x5cfc29(0x1a7),_0x231b7f=('landscape'==_0x52677b?_0x1b918f:_0x161a38)||_0x482949||html``;appendViewpart({'name':_0x5cfc29(0x1ba),'viewpart':{'show':!_0x569328,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x569328,'template':html`<dynamic-menu-part .orientation=${_0x52677b}>${_0x231b7f}</dynamic-menu-part>`},'position':_0x57eb0f}),_0x569328&&'portrait'==_0x52677b?HAMBURGER||(HAMBURGER={'name':_0x5cfc29(0x1a1),'template':html`
2
+ <mwc-icon @click=${_0x314a4c=>toggleOverlay(_0x5cfc29(0x1ba),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x2dbf85(0xe1)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x2dbf85(0xe2)]({'type':REMOVE_APP_TOOL,'name':_0x2dbf85(0xdd)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x499458){const _0x1636d1=a0_0x44f078;var _0xeed4bd=document[_0x1636d1(0xe3)](_0x1636d1(0xdc))?.[_0x1636d1(0xec)],_0x36ba42=(await client['query']({'query':a0_0x30c665`
4
+ `,'position':TOOL_POSITION[_0x5cfc29(0x1be)]},store[_0x5cfc29(0x1a6)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':_0x5cfc29(0x1a1)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x198569){const _0x3c0055=a0_0x4a5135;var _0x94aec4=document[_0x3c0055(0x1a9)](_0x3c0055(0x1bd))?.['content'],_0x538991=(await client['query']({'query':a0_0x211c4c`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x44f078=a0_0x3f6d;(function(_0x48d51e,_0x5c38d9){const _0x4819ee=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x1636d1(0xdf),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0xeed4bd]}],'sortings':[{'name':'rank','desc':!0x1}]}}))['data'][_0x1636d1(0xe4)]['items'];store[_0x1636d1(0xe2)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x36ba42[_0x1636d1(0xde)](_0x41a41c=>!_0x41a41c[_0x1636d1(0xeb)]||_0x41a41c[_0x1636d1(0xeb)]===_0xeed4bd),'template':_0x499458});}
23
+ `,'variables':{'filters':[{'name':_0x3c0055(0x1b4),'operator':'eq','value':!0x0},{'name':_0x3c0055(0x1ac),'operator':'in','value':['',_0x94aec4]}],'sortings':[{'name':_0x3c0055(0x1b3),'desc':!0x1}]}}))[_0x3c0055(0x1bc)][_0x3c0055(0x1b1)][_0x3c0055(0x1b9)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x538991[_0x3c0055(0x1b8)](_0x205b62=>!_0x205b62[_0x3c0055(0x1ac)]||_0x205b62['appName']===_0x94aec4),'template':_0x198569});}
@@ -1,16 +1,16 @@
1
- function a0_0x40f7(_0xf6f727,_0x5e1d9b){const _0x381e7c=a0_0x381e();return a0_0x40f7=function(_0x40f7fa,_0x4915e2){_0x40f7fa=_0x40f7fa-0xa1;let _0x1d240f=_0x381e7c[_0x40f7fa];return _0x1d240f;},a0_0x40f7(_0xf6f727,_0x5e1d9b);}(function(_0x1c758a,_0x46433e){const _0x374df1=a0_0x40f7,_0x520d0d=_0x1c758a();while(!![]){try{const _0x536350=parseInt(_0x374df1(0xb7))/0x1*(parseInt(_0x374df1(0xb4))/0x2)+parseInt(_0x374df1(0xa1))/0x3+parseInt(_0x374df1(0xb1))/0x4+parseInt(_0x374df1(0xba))/0x5+parseInt(_0x374df1(0xbf))/0x6+-parseInt(_0x374df1(0xa8))/0x7*(-parseInt(_0x374df1(0xb5))/0x8)+-parseInt(_0x374df1(0xad))/0x9;if(_0x536350===_0x46433e)break;else _0x520d0d['push'](_0x520d0d['shift']());}catch(_0x23b500){_0x520d0d['push'](_0x520d0d['shift']());}}}(a0_0x381e,0xb3498));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x4baf68,_0xab20fa,_0x1fb581){const _0x5830da=a0_0x40f7;var _0x4fd03f=html`
1
+ (function(_0x37dab4,_0x334e6c){const _0x13af19=a0_0x63e5,_0x3229d4=_0x37dab4();while(!![]){try{const _0x29d4d7=-parseInt(_0x13af19(0x11b))/0x1+parseInt(_0x13af19(0x11c))/0x2+parseInt(_0x13af19(0x12e))/0x3*(-parseInt(_0x13af19(0x11a))/0x4)+-parseInt(_0x13af19(0x11e))/0x5*(-parseInt(_0x13af19(0x139))/0x6)+parseInt(_0x13af19(0x123))/0x7+-parseInt(_0x13af19(0x12b))/0x8+-parseInt(_0x13af19(0x121))/0x9*(-parseInt(_0x13af19(0x138))/0xa);if(_0x29d4d7===_0x334e6c)break;else _0x3229d4['push'](_0x3229d4['shift']());}catch(_0x252025){_0x3229d4['push'](_0x3229d4['shift']());}}}(a0_0x3896,0x8adc7));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x63e5(_0x2d256c,_0x46d098){const _0x3896a2=a0_0x3896();return a0_0x63e5=function(_0x63e59d,_0x133814){_0x63e59d=_0x63e59d-0x118;let _0x1db2fc=_0x3896a2[_0x63e59d];return _0x1db2fc;},a0_0x63e5(_0x2d256c,_0x46d098);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x32b897,_0x444f99,_0x55831c){const _0x5d3df6=a0_0x63e5;var _0x278f6c=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0xab20fa}
4
- .options=${_0x4baf68[_0x5830da(0xc0)]}
5
- .confirmCallback=${_0x1fb581}
3
+ .value=${_0x444f99}
4
+ .options=${_0x32b897[_0x5d3df6(0x131)]}
5
+ .confirmCallback=${_0x55831c}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x4fd03f,{'backdrop':!0x0,'size':_0x5830da(0xa6),'title':_0x4baf68['options']['selectorName']?TermsUtil['tMenu'](_0x4baf68[_0x5830da(0xc0)]['selectorName']):TermsUtil['tTitle'](_0x5830da(0xb2))});}export const FilterFormMetaCodeSelect=(_0x52b844,_0x50975f,_0x298411)=>{const _0x27995a=a0_0x40f7,_0x32de83=_0x52b844[_0x27995a(0xc0)],_0x363b52=_0x32de83[_0x27995a(0xab)]&&_0x32de83[_0x27995a(0xab)][_0x27995a(0xbc)]>0x0?_0x32de83['codes']:void 0x0,{operator:_0xb047c5='eq'}=_0x52b844;let _0x574d4c=_0x50975f||'',_0x5212d8=_0x50975f||'';if(_0x32de83[_0x27995a(0xb0)]&&_0x50975f&&_0x363b52){let _0x38de2e=_0x363b52[_0x27995a(0xaf)](_0x2e6ff3=>_0x2e6ff3[_0x27995a(0xb3)]==_0x50975f);_0x38de2e&&_0x38de2e['length']>0x0&&(_0x5212d8=_0x38de2e[0x0][_0x27995a(0xaa)]);}return'eq'===_0xb047c5?html`
8
- <input name='${_0x52b844[_0x27995a(0xbb)]}' .value=${_0x574d4c} type="text" hidden></input>
7
+ `;openPopup(_0x278f6c,{'backdrop':!0x0,'size':'large','title':_0x32b897[_0x5d3df6(0x131)][_0x5d3df6(0x118)]?TermsUtil[_0x5d3df6(0x136)](_0x32b897['options'][_0x5d3df6(0x118)]):TermsUtil[_0x5d3df6(0x11f)](_0x5d3df6(0x12a))});}function a0_0x3896(){const _0x190236=['stopPropagation','map','tMenu','display','191060FzKblv','246dDixGj','codes','change','selectorName','toLowerCase','22756ynVmuu','832723ubGUGp','525262LnnkbU','filter-change','88415GdfplH','tTitle','name','18PdRYEX','dispatchEvent','5671631yxODeK','length','target','dispField','split','codeField','join','select_item','791440yYflqz','filter','splice','177dxAlAA','value','renderRoot','options','tagName','querySelector'];a0_0x3896=function(){return _0x190236;};return a0_0x3896();}export const FilterFormMetaCodeSelect=(_0x4a1119,_0x7b0fdb,_0x291571)=>{const _0x244039=a0_0x63e5,_0x358fe2=_0x4a1119['options'],_0x3c900c=_0x358fe2['codes']&&_0x358fe2[_0x244039(0x13a)][_0x244039(0x124)]>0x0?_0x358fe2[_0x244039(0x13a)]:void 0x0,{operator:_0x39a4f9='eq'}=_0x4a1119;let _0x2c9307=_0x7b0fdb||'',_0x29fca9=_0x7b0fdb||'';if(_0x358fe2[_0x244039(0x126)]&&_0x7b0fdb&&_0x3c900c){let _0x1397cd=_0x3c900c[_0x244039(0x12c)](_0x139b19=>_0x139b19['value']==_0x7b0fdb);_0x1397cd&&_0x1397cd[_0x244039(0x124)]>0x0&&(_0x29fca9=_0x1397cd[0x0][_0x244039(0x137)]);}return'eq'===_0x39a4f9?html`
8
+ <input name='${_0x4a1119[_0x244039(0x120)]}' .value=${_0x2c9307} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x52b844[_0x27995a(0xbb)]}_disp'
13
- .value=${_0x5212d8}
14
- @click=${_0x5f275a=>{_0x5f275a['stopPropagation']();const _0x2393ba=_0x5f275a['target'];openMetaCodeSelector(_0x52b844,_0x50975f,_0x34d6c5=>{const _0x28c5f2=a0_0x40f7;let _0x1cb135=_0x34d6c5?_0x34d6c5[_0x32de83[_0x28c5f2(0xb9)]]:'',_0x3138af=_0x1cb135;if(_0x34d6c5&&_0x32de83[_0x28c5f2(0xb0)]){let _0x282608=_0x32de83[_0x28c5f2(0xb0)][_0x28c5f2(0xa4)](',');_0x3138af=_0x34d6c5[_0x282608[0x0]],_0x282608[_0x28c5f2(0xbc)]>0x1&&(_0x3138af+='('+_0x282608['splice'](0x1)[_0x28c5f2(0xb6)](_0x36dc34=>_0x34d6c5[_0x36dc34])[_0x28c5f2(0xa2)](',')+')');}_0x2393ba[_0x28c5f2(0xb3)]=_0x3138af,(_0x28c5f2(0xac)==_0x298411[_0x28c5f2(0xae)][_0x28c5f2(0xa5)]()?_0x298411[_0x28c5f2(0xbe)][_0x28c5f2(0xb8)](_0x28c5f2(0xbd)+_0x52b844['name']+'\x22]'):_0x298411[_0x28c5f2(0xbe)][_0x28c5f2(0xb8)](_0x28c5f2(0xa9)+_0x52b844['name']+'\x22]'))[_0x28c5f2(0xb3)]=_0x1cb135,_0x2393ba[_0x28c5f2(0xa7)](new Event('change',{'bubbles':!0x0})),_0x2393ba[_0x28c5f2(0xa7)](new CustomEvent(_0x28c5f2(0xa3),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x52b844[_0x28c5f2(0xbb)],'operator':_0xb047c5,'value':_0x1cb135}}));});}}
12
+ name='${_0x4a1119[_0x244039(0x120)]}_disp'
13
+ .value=${_0x29fca9}
14
+ @click=${_0x105fe0=>{const _0x272887=_0x244039;_0x105fe0[_0x272887(0x134)]();const _0x2135ef=_0x105fe0[_0x272887(0x125)];openMetaCodeSelector(_0x4a1119,_0x7b0fdb,_0xf1f027=>{const _0x38a9c6=_0x272887;let _0x3c9c86=_0xf1f027?_0xf1f027[_0x358fe2[_0x38a9c6(0x128)]]:'',_0x57e97e=_0x3c9c86;if(_0xf1f027&&_0x358fe2[_0x38a9c6(0x126)]){let _0x5e19a9=_0x358fe2[_0x38a9c6(0x126)][_0x38a9c6(0x127)](',');_0x57e97e=_0xf1f027[_0x5e19a9[0x0]],_0x5e19a9[_0x38a9c6(0x124)]>0x1&&(_0x57e97e+='('+_0x5e19a9[_0x38a9c6(0x12d)](0x1)[_0x38a9c6(0x135)](_0x50bd4a=>_0xf1f027[_0x50bd4a])[_0x38a9c6(0x129)](',')+')');}_0x2135ef[_0x38a9c6(0x12f)]=_0x57e97e,('ox-grid-header'==_0x291571[_0x38a9c6(0x132)][_0x38a9c6(0x119)]()?_0x291571['renderRoot']['querySelector']('[name=\x22'+_0x4a1119['name']+'\x22]'):_0x291571[_0x38a9c6(0x130)][_0x38a9c6(0x133)]('form\x20[name=\x22'+_0x4a1119[_0x38a9c6(0x120)]+'\x22]'))['value']=_0x3c9c86,_0x2135ef[_0x38a9c6(0x122)](new Event(_0x38a9c6(0x13b),{'bubbles':!0x0})),_0x2135ef[_0x38a9c6(0x122)](new CustomEvent(_0x38a9c6(0x11d),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4a1119[_0x38a9c6(0x120)],'operator':_0x39a4f9,'value':_0x3c9c86}}));});}}
15
15
  />
16
- `:html``;};function a0_0x381e(){const _0x20fcdf=['name','length','[name=\x22','renderRoot','4757736jjgWJB','options','1637448wfTZVP','join','filter-change','split','toLowerCase','large','dispatchEvent','217sTUlIq','form\x20[name=\x22','display','codes','ox-grid-header','32920182IApeKB','tagName','filter','dispField','3129936pqWzwz','select_item','value','186518tSHyKs','295496CPDHKo','map','7kmZnrt','querySelector','codeField','2365210BIrSWY'];a0_0x381e=function(){return _0x20fcdf;};return a0_0x381e();}
16
+ `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x2b45(){const _0x3d7655=['567YvdpzJ','select_item','1269324JvcEcr','selectorName','toLowerCase','renderRoot','337996NBycLW','1284SWskaU','options','split','target','ox-grid-header','change','name','tagName','querySelector','join','stopPropagation','100AUZwMl','730179ijQumC','3749090UPCvkr','11RJFUUD','3tpgZqv','5156zGuEqH','nameField','value','large','tMenu','2228280owiZLy','filter-change','length','tTitle','splice','form\x20[name=\x22','dispatchEvent'];a0_0x2b45=function(){return _0x3d7655;};return a0_0x2b45();}(function(_0x3e41a7,_0x252a65){const _0x576e25=a0_0x44e3,_0x334216=_0x3e41a7();while(!![]){try{const _0x187950=parseInt(_0x576e25(0x11f))/0x1*(-parseInt(_0x576e25(0x10f))/0x2)+parseInt(_0x576e25(0x11c))/0x3+-parseInt(_0x576e25(0x120))/0x4*(-parseInt(_0x576e25(0x11b))/0x5)+-parseInt(_0x576e25(0x110))/0x6*(parseInt(_0x576e25(0x109))/0x7)+parseInt(_0x576e25(0x125))/0x8+-parseInt(_0x576e25(0x10b))/0x9+-parseInt(_0x576e25(0x11d))/0xa*(-parseInt(_0x576e25(0x11e))/0xb);if(_0x187950===_0x252a65)break;else _0x334216['push'](_0x334216['shift']());}catch(_0x37a673){_0x334216['push'](_0x334216['shift']());}}}(a0_0x2b45,0x3ece5));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x44e3(_0x2edf86,_0x348def){const _0x2b45b4=a0_0x2b45();return a0_0x44e3=function(_0x44e309,_0x1f4a33){_0x44e309=_0x44e309-0x107;let _0x341576=_0x2b45b4[_0x44e309];return _0x341576;},a0_0x44e3(_0x2edf86,_0x348def);}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x21533b,_0x312055,_0x548b0e){const _0x2116fa=a0_0x44e3;var _0x4022a5=html`
1
+ (function(_0x562959,_0x1fe539){const _0x4cd458=a0_0x2599,_0x5caec7=_0x562959();while(!![]){try{const _0x4febd4=parseInt(_0x4cd458(0xa3))/0x1+-parseInt(_0x4cd458(0xa9))/0x2*(-parseInt(_0x4cd458(0xaf))/0x3)+parseInt(_0x4cd458(0xa6))/0x4+parseInt(_0x4cd458(0x9f))/0x5*(parseInt(_0x4cd458(0xbf))/0x6)+parseInt(_0x4cd458(0xb8))/0x7*(parseInt(_0x4cd458(0xac))/0x8)+-parseInt(_0x4cd458(0xb2))/0x9*(-parseInt(_0x4cd458(0xb7))/0xa)+parseInt(_0x4cd458(0xaa))/0xb*(-parseInt(_0x4cd458(0xbc))/0xc);if(_0x4febd4===_0x1fe539)break;else _0x5caec7['push'](_0x5caec7['shift']());}catch(_0x9fb3d5){_0x5caec7['push'](_0x5caec7['shift']());}}}(a0_0x47f6,0xd9e68));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x47f6(){const _0x23d887=['renderRoot','7875570IgHMXC','target','tMenu','5rgPbiX','change','dispatchEvent','split','185783xYygpa','value','select_item','1071924Vuakfg','splice','form\x20[name=\x22','6ZWRXaP','9458911ObISFw','tagName','184voGeLM','ox-grid-header','filter-change','1238922sJsRLL','stopPropagation','name','18XMXPEY','length','selectorName','[name=\x22','large','7459570abSlpo','211470UmfxrQ','querySelector','nameField','options','60phUHmL','join'];a0_0x47f6=function(){return _0x23d887;};return a0_0x47f6();}function a0_0x2599(_0x2453e0,_0x595d4f){const _0x47f615=a0_0x47f6();return a0_0x2599=function(_0x2599f5,_0x1ab25c){_0x2599f5=_0x2599f5-0x9f;let _0x126d7d=_0x47f615[_0x2599f5];return _0x126d7d;},a0_0x2599(_0x2453e0,_0x595d4f);}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x12a5ee,_0x4bd757,_0x21b3b7){const _0x595f10=a0_0x2599;var _0x571cda=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x312055}
4
- .options=${_0x21533b['options']}
5
- .confirmCallback=${_0x548b0e}
3
+ .value=${_0x4bd757}
4
+ .options=${_0x12a5ee['options']}
5
+ .confirmCallback=${_0x21b3b7}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x4022a5,{'backdrop':!0x0,'size':_0x2116fa(0x123),'title':_0x21533b[_0x2116fa(0x111)][_0x2116fa(0x10c)]?TermsUtil[_0x2116fa(0x124)](_0x21533b['options']['selectorName']):TermsUtil[_0x2116fa(0x128)](_0x2116fa(0x10a))});}export const FilterFormMetaObjectSelect=(_0x5951c0,_0x1082d9,_0xc27204)=>{const _0x22b729=a0_0x44e3,_0x18ad14=_0x5951c0[_0x22b729(0x111)],{operator:_0x42c6c3='eq'}=_0x5951c0;let _0x4766ea=_0x1082d9?_0x1082d9['id']:'',_0x32547c='';if(_0x1082d9){let _0x3ba89d=_0x18ad14[_0x22b729(0x121)][_0x22b729(0x112)](',');_0x32547c=_0x1082d9[_0x3ba89d[0x0]],_0x3ba89d[_0x22b729(0x127)]>0x1&&(_0x32547c+='('+_0x3ba89d[_0x22b729(0x129)](0x1)['map'](_0x1c581d=>_0x1082d9[_0x1c581d])[_0x22b729(0x119)](',')+')');}return'eq'===_0x42c6c3?html`
8
- <input name='${_0x5951c0[_0x22b729(0x116)]}' .value=${_0x4766ea} type="text" hidden></input>
7
+ `;openPopup(_0x571cda,{'backdrop':!0x0,'size':_0x595f10(0xb6),'title':_0x12a5ee[_0x595f10(0xbb)][_0x595f10(0xb4)]?TermsUtil[_0x595f10(0xc1)](_0x12a5ee[_0x595f10(0xbb)][_0x595f10(0xb4)]):TermsUtil['tTitle'](_0x595f10(0xa5))});}export const FilterFormMetaObjectSelect=(_0x2feb8e,_0x2dd20c,_0x25ef74)=>{const _0x3f48fb=a0_0x2599,_0x236b8b=_0x2feb8e['options'],{operator:_0x4e66c1='eq'}=_0x2feb8e;let _0x28616a=_0x2dd20c?_0x2dd20c['id']:'',_0x3efce7='';if(_0x2dd20c){let _0x141161=_0x236b8b[_0x3f48fb(0xba)][_0x3f48fb(0xa2)](',');_0x3efce7=_0x2dd20c[_0x141161[0x0]],_0x141161[_0x3f48fb(0xb3)]>0x1&&(_0x3efce7+='('+_0x141161[_0x3f48fb(0xa7)](0x1)['map'](_0x4c1d70=>_0x2dd20c[_0x4c1d70])['join'](',')+')');}return'eq'===_0x4e66c1?html`
8
+ <input name='${_0x2feb8e[_0x3f48fb(0xb1)]}' .value=${_0x28616a} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x5951c0[_0x22b729(0x116)]}_disp'
13
- .value=${_0x32547c}
14
- @click=${_0x37c3d9=>{const _0x30896d=_0x22b729;_0x37c3d9[_0x30896d(0x11a)]();const _0x25a416=_0x37c3d9[_0x30896d(0x113)];openMetaObjectSelector(_0x5951c0,_0x1082d9,_0x598b47=>{const _0x29867d=_0x30896d;let _0x3184c5=_0x598b47?_0x598b47['id']:'',_0x386c9d='';if(_0x598b47){let _0x3273f4=_0x18ad14[_0x29867d(0x121)][_0x29867d(0x112)](',');_0x386c9d=_0x598b47[_0x3273f4[0x0]],_0x3273f4[_0x29867d(0x127)]>0x1&&(_0x386c9d+='('+_0x3273f4['splice'](0x1)['map'](_0x55fb97=>_0x598b47[_0x55fb97])['join'](',')+')');}_0x25a416[_0x29867d(0x122)]=_0x386c9d,(_0x29867d(0x114)==_0xc27204[_0x29867d(0x117)][_0x29867d(0x10d)]()?_0xc27204[_0x29867d(0x10e)][_0x29867d(0x118)]('[name=\x22'+_0x5951c0['name']+'\x22]'):_0xc27204[_0x29867d(0x10e)][_0x29867d(0x118)](_0x29867d(0x107)+_0x5951c0['name']+'\x22]'))[_0x29867d(0x122)]=_0x3184c5,_0x25a416[_0x29867d(0x108)](new Event(_0x29867d(0x115),{'bubbles':!0x0})),_0x25a416[_0x29867d(0x108)](new CustomEvent(_0x29867d(0x126),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5951c0[_0x29867d(0x116)],'operator':_0x42c6c3,'value':_0x3184c5}}));});}}
12
+ name='${_0x2feb8e[_0x3f48fb(0xb1)]}_disp'
13
+ .value=${_0x3efce7}
14
+ @click=${_0x41989b=>{const _0x4700f2=_0x3f48fb;_0x41989b[_0x4700f2(0xb0)]();const _0x4c4b24=_0x41989b[_0x4700f2(0xc0)];openMetaObjectSelector(_0x2feb8e,_0x2dd20c,_0x39971f=>{const _0x57f448=_0x4700f2;let _0x25ac71=_0x39971f?_0x39971f['id']:'',_0x2d5bab='';if(_0x39971f){let _0x23b100=_0x236b8b[_0x57f448(0xba)]['split'](',');_0x2d5bab=_0x39971f[_0x23b100[0x0]],_0x23b100['length']>0x1&&(_0x2d5bab+='('+_0x23b100[_0x57f448(0xa7)](0x1)['map'](_0x23b195=>_0x39971f[_0x23b195])[_0x57f448(0xbd)](',')+')');}_0x4c4b24['value']=_0x2d5bab,(_0x57f448(0xad)==_0x25ef74[_0x57f448(0xab)]['toLowerCase']()?_0x25ef74[_0x57f448(0xbe)][_0x57f448(0xb9)](_0x57f448(0xb5)+_0x2feb8e[_0x57f448(0xb1)]+'\x22]'):_0x25ef74[_0x57f448(0xbe)][_0x57f448(0xb9)](_0x57f448(0xa8)+_0x2feb8e[_0x57f448(0xb1)]+'\x22]'))[_0x57f448(0xa4)]=_0x25ac71,_0x4c4b24[_0x57f448(0xa1)](new Event(_0x57f448(0xa0),{'bubbles':!0x0})),_0x4c4b24[_0x57f448(0xa1)](new CustomEvent(_0x57f448(0xae),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2feb8e[_0x57f448(0xb1)],'operator':_0x4e66c1,'value':_0x25ac71}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x208e(){const _0x481e9=['[name=\x22','dispatchEvent','77kpLyQa','name','tTitle','toLowerCase','options','length','map','select_item','214856zzegDy','2074xhPmXm','dispField','stopPropagation','tMenu','891001fFNwzQ','ox-grid-header','14httASA','codeField','3003628OPvcFD','selectorName','change','value','7050348sTbQAm','38526PMSMPJ','target','record','splice','tagName','querySelector','filter-change','form\x20[name=\x22','renderRoot','filter','205gKpyFA','648530Vyqxms','2463jnbuSj','codes'];a0_0x208e=function(){return _0x481e9;};return a0_0x208e();}(function(_0xb4de2d,_0x1d8a76){const _0x3861ca=a0_0x5bee,_0x4766ea=_0xb4de2d();while(!![]){try{const _0x758a0d=-parseInt(_0x3861ca(0x146))/0x1+parseInt(_0x3861ca(0x142))/0x2*(-parseInt(_0x3861ca(0x15b))/0x3)+parseInt(_0x3861ca(0x14a))/0x4+-parseInt(_0x3861ca(0x159))/0x5*(-parseInt(_0x3861ca(0x14f))/0x6)+-parseInt(_0x3861ca(0x148))/0x7*(-parseInt(_0x3861ca(0x167))/0x8)+parseInt(_0x3861ca(0x14e))/0x9+-parseInt(_0x3861ca(0x15a))/0xa*(-parseInt(_0x3861ca(0x15f))/0xb);if(_0x758a0d===_0x1d8a76)break;else _0x4766ea['push'](_0x4766ea['shift']());}catch(_0x3c91fd){_0x4766ea['push'](_0x4766ea['shift']());}}}(a0_0x208e,0x8969f));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x5bee(_0x3e0e23,_0x403783){const _0x208ee2=a0_0x208e();return a0_0x5bee=function(_0x5beefe,_0x5816a5){_0x5beefe=_0x5beefe-0x142;let _0x220829=_0x208ee2[_0x5beefe];return _0x220829;},a0_0x5bee(_0x3e0e23,_0x403783);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x235a22,_0x5c3885,_0x1056fa){const _0x14135d=a0_0x5bee;var _0x4144fb=html`
1
+ function a0_0x5dd8(){const _0x57bddf=['toLowerCase','large','target','renderRoot','352084HwOWRN','display','60PFPnFG','50610HuxGEu','options','7iayMrQ','join','selectorName','length','filter-change','tagName','dispField','258959UREgkK','153207onDgxP','1670456bnspgw','57972eqCthk','132QSkANw','codes','110547LZYzFl','dispatchEvent','record','querySelector','change','value','tMenu','splice','split','[name=\x22','12GgIccH','name','40VTPvaL','filter'];a0_0x5dd8=function(){return _0x57bddf;};return a0_0x5dd8();}(function(_0xc7338,_0x59bf99){const _0x2ef2ae=a0_0x4f6b,_0x56dd66=_0xc7338();while(!![]){try{const _0x43bb17=parseInt(_0x2ef2ae(0x124))/0x1+parseInt(_0x2ef2ae(0x110))/0x2*(parseInt(_0x2ef2ae(0x12a))/0x3)+parseInt(_0x2ef2ae(0x118))/0x4+parseInt(_0x2ef2ae(0x11a))/0x5*(-parseInt(_0x2ef2ae(0x11b))/0x6)+-parseInt(_0x2ef2ae(0x11d))/0x7*(parseInt(_0x2ef2ae(0x126))/0x8)+parseInt(_0x2ef2ae(0x125))/0x9*(-parseInt(_0x2ef2ae(0x112))/0xa)+-parseInt(_0x2ef2ae(0x128))/0xb*(parseInt(_0x2ef2ae(0x127))/0xc);if(_0x43bb17===_0x59bf99)break;else _0x56dd66['push'](_0x56dd66['shift']());}catch(_0x30b49c){_0x56dd66['push'](_0x56dd66['shift']());}}}(a0_0x5dd8,0x2038f));import'../popup/meta-object-selector-popup';function a0_0x4f6b(_0x291387,_0x366fde){const _0x5dd8df=a0_0x5dd8();return a0_0x4f6b=function(_0x4f6bf7,_0x3f9c14){_0x4f6bf7=_0x4f6bf7-0x10c;let _0x47a42c=_0x5dd8df[_0x4f6bf7];return _0x47a42c;},a0_0x4f6b(_0x291387,_0x366fde);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x41d398,_0x48ba10,_0x1957f8){const _0x19b42c=a0_0x4f6b;var _0x503c0a=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x5c3885}
4
- .options=${_0x235a22[_0x14135d(0x151)][_0x14135d(0x163)]}
5
- .confirmCallback=${_0x1056fa}
3
+ .value=${_0x48ba10}
4
+ .options=${_0x41d398['record'][_0x19b42c(0x11c)]}
5
+ .confirmCallback=${_0x1957f8}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x4144fb,{'backdrop':!0x0,'size':'large','title':_0x235a22[_0x14135d(0x151)][_0x14135d(0x163)][_0x14135d(0x14b)]?TermsUtil[_0x14135d(0x145)](_0x235a22[_0x14135d(0x151)][_0x14135d(0x163)][_0x14135d(0x14b)]):TermsUtil[_0x14135d(0x161)](_0x14135d(0x166))});}export const FilterGristMetaCodeSelect=(_0x447875,_0x54a61f,_0xddfd90)=>{const _0xaca9e2=a0_0x5bee,_0x14c64e=_0x447875[_0xaca9e2(0x158)],_0x120bde=_0x447875[_0xaca9e2(0x151)][_0xaca9e2(0x163)],_0x190642=_0x120bde['codes']&&_0x120bde[_0xaca9e2(0x15c)]['length']>0x0?_0x120bde[_0xaca9e2(0x15c)]:void 0x0,{operator:_0x3b6a3c='eq'}=_0x14c64e;let _0x1a5ca9=_0x54a61f||'',_0x30ab3=_0x54a61f||'';if(_0x120bde[_0xaca9e2(0x143)]&&_0x54a61f&&_0x190642){let _0x4a2d03=_0x190642[_0xaca9e2(0x158)](_0x496ac3=>_0x496ac3[_0xaca9e2(0x14d)]==_0x54a61f);_0x4a2d03&&_0x4a2d03['length']>0x0&&(_0x30ab3=_0x4a2d03[0x0]['display']);}return'eq'===_0x3b6a3c?html`
8
- <input name='${_0x447875['name']}' .value=${_0x1a5ca9} type="text" hidden></input>
7
+ `;openPopup(_0x503c0a,{'backdrop':!0x0,'size':_0x19b42c(0x115),'title':_0x41d398[_0x19b42c(0x12c)][_0x19b42c(0x11c)][_0x19b42c(0x11f)]?TermsUtil[_0x19b42c(0x10c)](_0x41d398[_0x19b42c(0x12c)][_0x19b42c(0x11c)][_0x19b42c(0x11f)]):TermsUtil['tTitle']('select_item')});}export const FilterGristMetaCodeSelect=(_0x5be4b2,_0x2fc9ae,_0x2626d2)=>{const _0x419610=a0_0x4f6b,_0x195dd2=_0x5be4b2[_0x419610(0x113)],_0x52998d=_0x5be4b2[_0x419610(0x12c)][_0x419610(0x11c)],_0x11f864=_0x52998d[_0x419610(0x129)]&&_0x52998d[_0x419610(0x129)]['length']>0x0?_0x52998d[_0x419610(0x129)]:void 0x0,{operator:_0x5add39='eq'}=_0x195dd2;let _0x31b734=_0x2fc9ae||'',_0x549943=_0x2fc9ae||'';if(_0x52998d[_0x419610(0x123)]&&_0x2fc9ae&&_0x11f864){let _0x13f9e0=_0x11f864[_0x419610(0x113)](_0x4c136b=>_0x4c136b[_0x419610(0x12f)]==_0x2fc9ae);_0x13f9e0&&_0x13f9e0['length']>0x0&&(_0x549943=_0x13f9e0[0x0][_0x419610(0x119)]);}return'eq'===_0x5add39?html`
8
+ <input name='${_0x5be4b2[_0x419610(0x111)]}' .value=${_0x31b734} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x447875[_0xaca9e2(0x160)]}_disp'
13
- .value=${_0x30ab3}
14
- @click=${_0x2affb5=>{const _0x5e319e=_0xaca9e2;_0x2affb5[_0x5e319e(0x144)]();const _0x4cf52a=_0x2affb5[_0x5e319e(0x150)];openMetaCodeSelector(_0x447875,_0x54a61f,_0x3b44e8=>{const _0x4cbf43=_0x5e319e;let _0x402716=_0x3b44e8?_0x3b44e8[_0x120bde[_0x4cbf43(0x149)]]:'',_0x477f68=_0x402716;if(_0x3b44e8&&_0x120bde[_0x4cbf43(0x143)]){let _0x5de354=_0x120bde[_0x4cbf43(0x143)]['split'](',');_0x477f68=_0x3b44e8[_0x5de354[0x0]],_0x5de354[_0x4cbf43(0x164)]>0x1&&(_0x477f68+='('+_0x5de354[_0x4cbf43(0x152)](0x1)[_0x4cbf43(0x165)](_0x1a786e=>_0x3b44e8[_0x1a786e])['join'](',')+')');}_0x4cf52a['value']=_0x477f68,(_0x4cbf43(0x147)==_0xddfd90[_0x4cbf43(0x153)][_0x4cbf43(0x162)]()?_0xddfd90[_0x4cbf43(0x157)][_0x4cbf43(0x154)](_0x4cbf43(0x15d)+_0x14c64e['name']+'\x22]'):_0xddfd90[_0x4cbf43(0x157)][_0x4cbf43(0x154)](_0x4cbf43(0x156)+_0x14c64e[_0x4cbf43(0x160)]+'\x22]'))[_0x4cbf43(0x14d)]=_0x402716,_0x4cf52a[_0x4cbf43(0x15e)](new Event(_0x4cbf43(0x14c),{'bubbles':!0x0})),_0x4cf52a[_0x4cbf43(0x15e)](new CustomEvent(_0x4cbf43(0x155),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x447875[_0x4cbf43(0x160)],'operator':_0x3b6a3c,'value':_0x402716}}));});}}
12
+ name='${_0x5be4b2[_0x419610(0x111)]}_disp'
13
+ .value=${_0x549943}
14
+ @click=${_0x2a4608=>{const _0x17c4f4=_0x419610;_0x2a4608['stopPropagation']();const _0x1edab3=_0x2a4608[_0x17c4f4(0x116)];openMetaCodeSelector(_0x5be4b2,_0x2fc9ae,_0x165191=>{const _0x15904f=_0x17c4f4;let _0x2aa747=_0x165191?_0x165191[_0x52998d['codeField']]:'',_0x464730=_0x2aa747;if(_0x165191&&_0x52998d[_0x15904f(0x123)]){let _0x484249=_0x52998d['dispField'][_0x15904f(0x10e)](',');_0x464730=_0x165191[_0x484249[0x0]],_0x484249[_0x15904f(0x120)]>0x1&&(_0x464730+='('+_0x484249[_0x15904f(0x10d)](0x1)['map'](_0x16933f=>_0x165191[_0x16933f])[_0x15904f(0x11e)](',')+')');}_0x1edab3[_0x15904f(0x12f)]=_0x464730,('ox-grid-header'==_0x2626d2[_0x15904f(0x122)][_0x15904f(0x114)]()?_0x2626d2[_0x15904f(0x117)][_0x15904f(0x12d)](_0x15904f(0x10f)+_0x195dd2[_0x15904f(0x111)]+'\x22]'):_0x2626d2[_0x15904f(0x117)][_0x15904f(0x12d)]('form\x20[name=\x22'+_0x195dd2[_0x15904f(0x111)]+'\x22]'))['value']=_0x2aa747,_0x1edab3['dispatchEvent'](new Event(_0x15904f(0x12e),{'bubbles':!0x0})),_0x1edab3[_0x15904f(0x12b)](new CustomEvent(_0x15904f(0x121),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5be4b2[_0x15904f(0x111)],'operator':_0x5add39,'value':_0x2aa747}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x14f8ac,_0x1be179){const _0x5a294e=a0_0x2afb,_0xed1932=_0x14f8ac();while(!![]){try{const _0x7a1d9b=-parseInt(_0x5a294e(0x14e))/0x1*(parseInt(_0x5a294e(0x13a))/0x2)+-parseInt(_0x5a294e(0x153))/0x3+-parseInt(_0x5a294e(0x155))/0x4*(-parseInt(_0x5a294e(0x139))/0x5)+parseInt(_0x5a294e(0x13e))/0x6*(parseInt(_0x5a294e(0x136))/0x7)+parseInt(_0x5a294e(0x144))/0x8+-parseInt(_0x5a294e(0x143))/0x9+-parseInt(_0x5a294e(0x13c))/0xa*(parseInt(_0x5a294e(0x13b))/0xb);if(_0x7a1d9b===_0x1be179)break;else _0xed1932['push'](_0xed1932['shift']());}catch(_0xfd8b81){_0xed1932['push'](_0xed1932['shift']());}}}(a0_0x4aca,0x4427f));import'../popup/meta-object-selector-popup';function a0_0x2afb(_0x31df21,_0x8715c9){const _0x4acabd=a0_0x4aca();return a0_0x2afb=function(_0x2afbfe,_0x4bf9d4){_0x2afbfe=_0x2afbfe-0x133;let _0x213796=_0x4acabd[_0x2afbfe];return _0x213796;},a0_0x2afb(_0x31df21,_0x8715c9);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x4aca(){const _0x232daa=['name','48145wKgjQx','14ihAygR','998151qVyFyQ','10LayFuW','querySelector','24LfuIza','large','tTitle','toLowerCase','record','1486629MTGidD','4208040gNBOKu','form\x20[name=\x22','change','ox-grid-header','renderRoot','split','selectorName','stopPropagation','filter','[name=\x22','36147XeneHO','length','join','value','tagName','178071IxyuxY','map','120wYfAKe','splice','options','dispatchEvent','tMenu','57050boXbcj','nameField'];a0_0x4aca=function(){return _0x232daa;};return a0_0x4aca();}function openMetaObjectSelector(_0x2ac168,_0x29fa22,_0x5f5a4a){const _0x5e290b=a0_0x2afb;var _0x16d0e4=html`
1
+ function a0_0x1b3e(){const _0x365208=['tTitle','name','nameField','value','ox-grid-header','join','querySelector','renderRoot','length','splice','4106079AYAXCu','206AzDnnw','7823958SHrXQR','32424vfOEyN','selectorName','stopPropagation','tMenu','form\x20[name=\x22','1317655Iwvhuw','record','295BXzYoL','28259250nIWOfK','split','[name=\x22','dispatchEvent','toLowerCase','153164Cidctk','105LafrnU','3jvHmov','change','select_item','options','filter-change'];a0_0x1b3e=function(){return _0x365208;};return a0_0x1b3e();}(function(_0x15ccfb,_0x5c2cd9){const _0x47a574=a0_0x3201,_0x1c71f5=_0x15ccfb();while(!![]){try{const _0x5716fe=-parseInt(_0x47a574(0x1e7))/0x1*(parseInt(_0x47a574(0x1de))/0x2)+parseInt(_0x47a574(0x1ef))/0x3*(parseInt(_0x47a574(0x1ed))/0x4)+-parseInt(_0x47a574(0x1e5))/0x5+-parseInt(_0x47a574(0x1df))/0x6+-parseInt(_0x47a574(0x1ee))/0x7*(-parseInt(_0x47a574(0x1e0))/0x8)+-parseInt(_0x47a574(0x1fe))/0x9+parseInt(_0x47a574(0x1e8))/0xa;if(_0x5716fe===_0x5c2cd9)break;else _0x1c71f5['push'](_0x1c71f5['shift']());}catch(_0x32c470){_0x1c71f5['push'](_0x1c71f5['shift']());}}}(a0_0x1b3e,0xd49d7));function a0_0x3201(_0x106789,_0x4b323e){const _0x1b3eaa=a0_0x1b3e();return a0_0x3201=function(_0x32019e,_0x502e5b){_0x32019e=_0x32019e-0x1de;let _0x679f58=_0x1b3eaa[_0x32019e];return _0x679f58;},a0_0x3201(_0x106789,_0x4b323e);}import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x1f322c,_0x39f169,_0x36522b){const _0x50e57b=a0_0x3201;var _0x10e439=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x29fa22}
4
- .options=${_0x2ac168[_0x5e290b(0x142)][_0x5e290b(0x133)]}
5
- .confirmCallback=${_0x5f5a4a}
3
+ .value=${_0x39f169}
4
+ .options=${_0x1f322c['record'][_0x50e57b(0x1f2)]}
5
+ .confirmCallback=${_0x36522b}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x16d0e4,{'backdrop':!0x0,'size':_0x5e290b(0x13f),'title':_0x2ac168[_0x5e290b(0x142)][_0x5e290b(0x133)][_0x5e290b(0x14a)]?TermsUtil[_0x5e290b(0x135)](_0x2ac168[_0x5e290b(0x142)]['options'][_0x5e290b(0x14a)]):TermsUtil[_0x5e290b(0x140)]('select_item')});}export const FilterGristMetaObjectSelect=(_0x28ae5f,_0x16807f,_0x3c3980)=>{const _0x104da7=a0_0x2afb,_0x58bf29=_0x28ae5f[_0x104da7(0x14c)],{operator:_0x39cf54='eq'}=_0x58bf29,_0x579a8d=_0x28ae5f[_0x104da7(0x142)][_0x104da7(0x133)];let _0x4f9ea6=_0x16807f?_0x16807f['id']:'',_0x1cb3f4='';if(_0x16807f){let _0x1b63e0=_0x579a8d[_0x104da7(0x137)]['split'](',');_0x1cb3f4=_0x16807f[_0x1b63e0[0x0]],_0x1b63e0[_0x104da7(0x14f)]>0x1&&(_0x1cb3f4+='('+_0x1b63e0[_0x104da7(0x156)](0x1)[_0x104da7(0x154)](_0x14476d=>_0x16807f[_0x14476d])[_0x104da7(0x150)](',')+')');}return'eq'===_0x39cf54?html`
8
- <input name='${_0x28ae5f[_0x104da7(0x138)]}' .value=${_0x4f9ea6} type="text" hidden></input>
7
+ `;openPopup(_0x10e439,{'backdrop':!0x0,'size':'large','title':_0x1f322c['record']['options']['selectorName']?TermsUtil[_0x50e57b(0x1e3)](_0x1f322c[_0x50e57b(0x1e6)]['options'][_0x50e57b(0x1e1)]):TermsUtil[_0x50e57b(0x1f4)](_0x50e57b(0x1f1))});}export const FilterGristMetaObjectSelect=(_0x296c37,_0x45ce7f,_0x432f94)=>{const _0x1b5566=a0_0x3201,_0x59a550=_0x296c37['filter'],{operator:_0x2f30bc='eq'}=_0x59a550,_0x1ed628=_0x296c37[_0x1b5566(0x1e6)][_0x1b5566(0x1f2)];let _0x3cef93=_0x45ce7f?_0x45ce7f['id']:'',_0x829057='';if(_0x45ce7f){let _0x24c821=_0x1ed628[_0x1b5566(0x1f6)][_0x1b5566(0x1e9)](',');_0x829057=_0x45ce7f[_0x24c821[0x0]],_0x24c821[_0x1b5566(0x1fc)]>0x1&&(_0x829057+='('+_0x24c821[_0x1b5566(0x1fd)](0x1)['map'](_0x29e88f=>_0x45ce7f[_0x29e88f])[_0x1b5566(0x1f9)](',')+')');}return'eq'===_0x2f30bc?html`
8
+ <input name='${_0x296c37[_0x1b5566(0x1f5)]}' .value=${_0x3cef93} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x28ae5f['name']}_disp'
13
- .value=${_0x1cb3f4}
14
- @click=${_0x11ef9f=>{const _0x451403=_0x104da7;_0x11ef9f[_0x451403(0x14b)]();const _0x70cdc9=_0x11ef9f['target'];openMetaObjectSelector(_0x28ae5f,_0x16807f,_0x2b3b64=>{const _0x68f032=_0x451403;let _0x210388=_0x2b3b64?_0x2b3b64['id']:'',_0xc20ee5='';if(_0x2b3b64){let _0x488114=_0x579a8d[_0x68f032(0x137)][_0x68f032(0x149)](',');_0xc20ee5=_0x2b3b64[_0x488114[0x0]],_0x488114['length']>0x1&&(_0xc20ee5+='('+_0x488114[_0x68f032(0x156)](0x1)[_0x68f032(0x154)](_0x171e84=>_0x2b3b64[_0x171e84])[_0x68f032(0x150)](',')+')');}_0x70cdc9[_0x68f032(0x151)]=_0xc20ee5,(_0x68f032(0x147)==_0x3c3980[_0x68f032(0x152)][_0x68f032(0x141)]()?_0x3c3980[_0x68f032(0x148)]['querySelector'](_0x68f032(0x14d)+_0x58bf29[_0x68f032(0x138)]+'\x22]'):_0x3c3980[_0x68f032(0x148)][_0x68f032(0x13d)](_0x68f032(0x145)+_0x58bf29[_0x68f032(0x138)]+'\x22]'))['value']=_0x210388,_0x70cdc9['dispatchEvent'](new Event(_0x68f032(0x146),{'bubbles':!0x0})),_0x70cdc9[_0x68f032(0x134)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x28ae5f[_0x68f032(0x138)],'operator':_0x39cf54,'value':_0x210388}}));});}}
12
+ name='${_0x296c37[_0x1b5566(0x1f5)]}_disp'
13
+ .value=${_0x829057}
14
+ @click=${_0x36bc38=>{const _0x44dfa0=_0x1b5566;_0x36bc38[_0x44dfa0(0x1e2)]();const _0x3f033f=_0x36bc38['target'];openMetaObjectSelector(_0x296c37,_0x45ce7f,_0x2d8c06=>{const _0x220413=_0x44dfa0;let _0x501b6b=_0x2d8c06?_0x2d8c06['id']:'',_0x5b5032='';if(_0x2d8c06){let _0x3dd6d1=_0x1ed628[_0x220413(0x1f6)][_0x220413(0x1e9)](',');_0x5b5032=_0x2d8c06[_0x3dd6d1[0x0]],_0x3dd6d1[_0x220413(0x1fc)]>0x1&&(_0x5b5032+='('+_0x3dd6d1[_0x220413(0x1fd)](0x1)['map'](_0x3dbf90=>_0x2d8c06[_0x3dbf90])[_0x220413(0x1f9)](',')+')');}_0x3f033f['value']=_0x5b5032,(_0x220413(0x1f8)==_0x432f94['tagName'][_0x220413(0x1ec)]()?_0x432f94[_0x220413(0x1fb)]['querySelector'](_0x220413(0x1ea)+_0x59a550[_0x220413(0x1f5)]+'\x22]'):_0x432f94[_0x220413(0x1fb)][_0x220413(0x1fa)](_0x220413(0x1e4)+_0x59a550[_0x220413(0x1f5)]+'\x22]'))[_0x220413(0x1f7)]=_0x501b6b,_0x3f033f[_0x220413(0x1eb)](new Event(_0x220413(0x1f0),{'bubbles':!0x0})),_0x3f033f[_0x220413(0x1eb)](new CustomEvent(_0x220413(0x1f3),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x296c37[_0x220413(0x1f5)],'operator':_0x2f30bc,'value':_0x501b6b}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,8 +1,8 @@
1
- const a0_0x29d918=a0_0x3e3a;function a0_0x3e3a(_0x2f2212,_0x3be296){const _0x2e30db=a0_0x2e30();return a0_0x3e3a=function(_0x3e3ac4,_0x4862f6){_0x3e3ac4=_0x3e3ac4-0x10f;let _0x46e470=_0x2e30db[_0x3e3ac4];return _0x46e470;},a0_0x3e3a(_0x2f2212,_0x3be296);}(function(_0xfc890,_0x1a3b41){const _0x52a65a=a0_0x3e3a,_0x3c4765=_0xfc890();while(!![]){try{const _0x5524f9=-parseInt(_0x52a65a(0x126))/0x1+-parseInt(_0x52a65a(0x121))/0x2+parseInt(_0x52a65a(0x11c))/0x3*(parseInt(_0x52a65a(0x122))/0x4)+-parseInt(_0x52a65a(0x11e))/0x5*(-parseInt(_0x52a65a(0x10f))/0x6)+-parseInt(_0x52a65a(0x113))/0x7+-parseInt(_0x52a65a(0x124))/0x8*(-parseInt(_0x52a65a(0x114))/0x9)+parseInt(_0x52a65a(0x12e))/0xa*(parseInt(_0x52a65a(0x129))/0xb);if(_0x5524f9===_0x1a3b41)break;else _0x3c4765['push'](_0x3c4765['shift']());}catch(_0x123edf){_0x3c4765['push'](_0x3c4765['shift']());}}}(a0_0x2e30,0x51130));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['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0x184783=a0_0x3e3a;let _0x214e99;return this['value']&&(_0x214e99=_0x184783(0x11b)==typeof this['value']?JSON[_0x184783(0x115)](this[_0x184783(0x118)],0x0,0x2):this['value'],_0x214e99=_0x214e99['length']>0x14?_0x214e99[_0x184783(0x12d)](0x0,0x14)+_0x184783(0x123):_0x214e99),html`
2
- ${_0x214e99?html` <span tabindex="0" style="flex:1;">${_0x214e99}</span> `:html`<span tabindex="0" ></span>`}
3
- `;}async[a0_0x29d918(0x11d)](){super['firstUpdated']();}['_onclick'](_0x382cf7){const _0x2966d2=a0_0x29d918;_0x382cf7[_0x2966d2(0x120)](),this[_0x2966d2(0x12f)]();}[a0_0x29d918(0x117)](_0x4ac7a2){const _0x27504f=a0_0x29d918;'Enter'==_0x4ac7a2[_0x27504f(0x112)]&&(_0x4ac7a2[_0x27504f(0x120)](),this[_0x27504f(0x12f)]());}[a0_0x29d918(0x12f)](){const _0x4c875d=a0_0x29d918;this[_0x4c875d(0x111)]&&delete this[_0x4c875d(0x111)];var _0x2c47ed=html`
1
+ const a0_0x32d166=a0_0x3f5e;(function(_0x356b54,_0x1d5226){const _0xa4af10=a0_0x3f5e,_0x4c235e=_0x356b54();while(!![]){try{const _0x51eecb=-parseInt(_0xa4af10(0x16f))/0x1*(-parseInt(_0xa4af10(0x16e))/0x2)+-parseInt(_0xa4af10(0x15d))/0x3+parseInt(_0xa4af10(0x15c))/0x4+parseInt(_0xa4af10(0x161))/0x5+parseInt(_0xa4af10(0x15b))/0x6*(-parseInt(_0xa4af10(0x168))/0x7)+parseInt(_0xa4af10(0x16a))/0x8*(parseInt(_0xa4af10(0x167))/0x9)+-parseInt(_0xa4af10(0x169))/0xa;if(_0x51eecb===_0x1d5226)break;else _0x4c235e['push'](_0x4c235e['shift']());}catch(_0x1d60f3){_0x4c235e['push'](_0x4c235e['shift']());}}}(a0_0x5ee0,0x74d6b));function a0_0x3f5e(_0x4be663,_0x2972f9){const _0x5ee03d=a0_0x5ee0();return a0_0x3f5e=function(_0x3f5e1f,_0x594f6e){_0x3f5e1f=_0x3f5e1f-0x153;let _0x40bbb4=_0x5ee03d[_0x3f5e1f];return _0x40bbb4;},a0_0x3f5e(_0x4be663,_0x2972f9);}import{html}from'lit';function a0_0x5ee0(){const _0x1b8b7a=['firstUpdated','stringify','large','1842866AnhXge','1rYZqAD','grist-editor-code-input','editorTemplate','properties','tTitle','parse','row','value','dispatchEvent','30faOiYr','1103176wuprZQ','1755174ftBkUl','object','stopPropagation','popup','2239765pFEKTy','key','openEditor','column','length','...','1179621NTdPQd','814975zfSKmO','2615640EavAHx','16aboVGj'];a0_0x5ee0=function(){return _0x1b8b7a;};return a0_0x5ee0();}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_0x32d166(0x155)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x32d166(0x154)](){const _0x3ca875=a0_0x32d166;let _0x28ae10;return this['value']&&(_0x28ae10=_0x3ca875(0x15e)==typeof this[_0x3ca875(0x159)]?JSON[_0x3ca875(0x16c)](this[_0x3ca875(0x159)],0x0,0x2):this[_0x3ca875(0x159)],_0x28ae10=_0x28ae10[_0x3ca875(0x165)]>0x14?_0x28ae10['substring'](0x0,0x14)+_0x3ca875(0x166):_0x28ae10),html`
2
+ ${_0x28ae10?html` <span tabindex="0" style="flex:1;">${_0x28ae10}</span> `:html`<span tabindex="0" ></span>`}
3
+ `;}async[a0_0x32d166(0x16b)](){const _0x2814c6=a0_0x32d166;super[_0x2814c6(0x16b)]();}['_onclick'](_0x417601){const _0x14e524=a0_0x32d166;_0x417601[_0x14e524(0x15f)](),this[_0x14e524(0x163)]();}['_onkeydown'](_0x39b456){const _0x216648=a0_0x32d166;'Enter'==_0x39b456[_0x216648(0x162)]&&(_0x39b456[_0x216648(0x15f)](),this[_0x216648(0x163)]());}[a0_0x32d166(0x163)](){const _0x304dff=a0_0x32d166;this[_0x304dff(0x160)]&&delete this[_0x304dff(0x160)];var _0x8c2200=html`
4
4
  <code-input-editor-popup
5
- .value=${this[_0x4c875d(0x118)]}
6
- .confirmCallback=${(_0x54b144=>{const _0xac0975=_0x4c875d;this[_0xac0975(0x12a)](new CustomEvent(_0xac0975(0x12c),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x54b144?_0xac0975(0x11b)==typeof this['value']?JSON[_0xac0975(0x128)](_0x54b144):_0x54b144:null,'record':this[_0xac0975(0x12b)],'column':this[_0xac0975(0x11f)],'row':this[_0xac0975(0x119)]}}));})['bind'](this)}
5
+ .value=${this[_0x304dff(0x159)]}
6
+ .confirmCallback=${(_0x2a8b78=>{const _0x5e0496=_0x304dff;this[_0x5e0496(0x15a)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x5e0496(0x159)],'after':_0x2a8b78?_0x5e0496(0x15e)==typeof this['value']?JSON[_0x5e0496(0x157)](_0x2a8b78):_0x2a8b78:null,'record':this['record'],'column':this[_0x5e0496(0x164)],'row':this[_0x5e0496(0x158)]}}));})['bind'](this)}
7
7
  ></code-input-editor-popup>
8
- `;this[_0x4c875d(0x111)]=openPopup(_0x2c47ed,{'backdrop':!0x0,'size':_0x4c875d(0x110),'title':TermsUtil[_0x4c875d(0x116)](_0x4c875d(0x11a))});}}function a0_0x2e30(){const _0x55ec90=['record','field-change','substring','5000VkRkkP','openEditor','306ZHjBuX','large','popup','key','161938uESjNM','9QAzvqE','stringify','tTitle','_onkeydown','value','row','code-editor','object','533862oVIKES','firstUpdated','14410pjFFiV','column','stopPropagation','433340zNUSST','4UKrTkt','...','969896JLzkLV','define','649289qmuvtI','grist-editor-code-input','parse','17050reOxBW','dispatchEvent'];a0_0x2e30=function(){return _0x55ec90;};return a0_0x2e30();}customElements[a0_0x29d918(0x125)](a0_0x29d918(0x127),GristEditorCodeInput);
8
+ `;this[_0x304dff(0x160)]=openPopup(_0x8c2200,{'backdrop':!0x0,'size':_0x304dff(0x16d),'title':TermsUtil[_0x304dff(0x156)]('code-editor')});}}customElements['define'](a0_0x32d166(0x153),GristEditorCodeInput);
@@ -1,9 +1,9 @@
1
- function a0_0x21f8(){const _0x42f81c=['72bzsils','codes','openSelector','_onclick','keys','tTitle','9281670FHeTmV','large','62847ajkqYu','31456752BPwOiR','fieldMap','Enter','firstUpdated','11HhsdBS','stopPropagation','2230MTSNuX','record','632584NWheGC','popup','2346BACXBo','9248pvVVbS','filter','length','editorTemplate','2679145qGqFTA','properties','column','push','1cGVfVp','options','splice','display','value','forEach','4509vWJycR','row','dispField','dispatchEvent','tMenu','map','bind'];a0_0x21f8=function(){return _0x42f81c;};return a0_0x21f8();}const a0_0x588ab7=a0_0x475d;(function(_0x5bc60c,_0x316d8a){const _0x16c3db=a0_0x475d,_0x3bc9e9=_0x5bc60c();while(!![]){try{const _0x1e6f13=-parseInt(_0x16c3db(0x202))/0x1*(-parseInt(_0x16c3db(0x1f7))/0x2)+parseInt(_0x16c3db(0x1ee))/0x3*(-parseInt(_0x16c3db(0x20f))/0x4)+-parseInt(_0x16c3db(0x1f5))/0x5*(parseInt(_0x16c3db(0x1f9))/0x6)+-parseInt(_0x16c3db(0x1fe))/0x7+parseInt(_0x16c3db(0x1fa))/0x8*(-parseInt(_0x16c3db(0x208))/0x9)+-parseInt(_0x16c3db(0x1ec))/0xa+parseInt(_0x16c3db(0x1f3))/0xb*(parseInt(_0x16c3db(0x1ef))/0xc);if(_0x1e6f13===_0x316d8a)break;else _0x3bc9e9['push'](_0x3bc9e9['shift']());}catch(_0x965260){_0x3bc9e9['push'](_0x3bc9e9['shift']());}}}(a0_0x21f8,0x79222));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x475d(_0x5d85d8,_0x8ad7cf){const _0x21f825=a0_0x21f8();return a0_0x475d=function(_0x475dc0,_0x15ca1d){_0x475dc0=_0x475dc0-0x1e7;let _0x183235=_0x21f825[_0x475dc0];return _0x183235;},a0_0x475d(_0x5d85d8,_0x8ad7cf);}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_0x588ab7(0x1ff)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x588ab7(0x1fd)](){const _0x22c0ce=a0_0x588ab7;let _0x55978c='';if(this[_0x22c0ce(0x200)][_0x22c0ce(0x1f6)]&&this[_0x22c0ce(0x200)]['record'][_0x22c0ce(0x203)]){if(this['column'][_0x22c0ce(0x1f6)][_0x22c0ce(0x203)][_0x22c0ce(0x20a)]){let _0x2142cd=this['column']['record']['options'][_0x22c0ce(0x1e7)]||[];if(this[_0x22c0ce(0x206)]&&this[_0x22c0ce(0x206)][_0x22c0ce(0x1fc)]>0x0){let _0x58ea66=_0x2142cd[_0x22c0ce(0x1fb)](_0x4e9e54=>_0x4e9e54['value']===this[_0x22c0ce(0x206)]);_0x55978c=_0x58ea66&&_0x58ea66['length']>0x0?_0x58ea66[0x0][_0x22c0ce(0x205)]:'';}}else _0x55978c=this['value'];}else _0x55978c='';return html`
2
- ${_0x55978c?html` <span tabindex="0" style="flex:1">${_0x55978c}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async['firstUpdated'](){const _0x1fd795=a0_0x588ab7;super[_0x1fd795(0x1f2)]();}[a0_0x588ab7(0x1e9)](_0x2c239d){const _0x490181=a0_0x588ab7;_0x2c239d['stopPropagation'](),this[_0x490181(0x1e8)]();}['_onkeydown'](_0x37b0bf){const _0x7851fb=a0_0x588ab7;_0x7851fb(0x1f1)==_0x37b0bf['key']&&(_0x37b0bf[_0x7851fb(0x1f4)](),this[_0x7851fb(0x1e8)]());}['openSelector'](){const _0x489351=a0_0x588ab7;this[_0x489351(0x1f8)]&&delete this[_0x489351(0x1f8)];var {selectorName:_0x46c622=TermsUtil[_0x489351(0x1eb)]('select_item')}=this[_0x489351(0x200)][_0x489351(0x1f6)]['options']||{},_0x5040d3=html`
1
+ const a0_0x7c23b=a0_0x188c;(function(_0x45c853,_0x290735){const _0x1d08f8=a0_0x188c,_0x21427a=_0x45c853();while(!![]){try{const _0x5eda43=parseInt(_0x1d08f8(0x20b))/0x1*(parseInt(_0x1d08f8(0x1fc))/0x2)+-parseInt(_0x1d08f8(0x1fa))/0x3*(-parseInt(_0x1d08f8(0x215))/0x4)+parseInt(_0x1d08f8(0x20d))/0x5+-parseInt(_0x1d08f8(0x1f2))/0x6+parseInt(_0x1d08f8(0x20f))/0x7+-parseInt(_0x1d08f8(0x1f0))/0x8*(parseInt(_0x1d08f8(0x210))/0x9)+-parseInt(_0x1d08f8(0x20c))/0xa*(parseInt(_0x1d08f8(0x203))/0xb);if(_0x5eda43===_0x290735)break;else _0x21427a['push'](_0x21427a['shift']());}catch(_0x38505f){_0x21427a['push'](_0x21427a['shift']());}}}(a0_0x1899,0x962bc));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x188c(_0x342330,_0x33e9df){const _0x18996e=a0_0x1899();return a0_0x188c=function(_0x188c81,_0x1b017f){_0x188c81=_0x188c81-0x1ee;let _0x297738=_0x18996e[_0x188c81];return _0x297738;},a0_0x188c(_0x342330,_0x33e9df);}function a0_0x1899(){const _0x5b998d=['_onclick','options','popup','map','155036CsfOxV','value','row','define','7736XyvfVv','_onkeydown','479316CHpeES','large','field-change','firstUpdated','join','forEach','length','record','72LKWnLP','fieldMap','5668kAiQZs','bind','codes','dispField','stopPropagation','openSelector','filter','11nzzmuv','dispatchEvent','grist-editor-meta-code-selector','properties','tTitle','column','keys','splice','401eWIyej','26316610xSxBAG','5582395NwheXj','editorTemplate','3881451anOrvf','3825xhRfsB'];a0_0x1899=function(){return _0x5b998d;};return a0_0x1899();}import'../../popup/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x7c23b(0x206)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x7c23b(0x20e)](){const _0x262c60=a0_0x7c23b;let _0x4e7ae5='';if(this[_0x262c60(0x208)][_0x262c60(0x1f9)]&&this['column'][_0x262c60(0x1f9)]['options']){if(this[_0x262c60(0x208)][_0x262c60(0x1f9)][_0x262c60(0x212)][_0x262c60(0x1ff)]){let _0x11e6f5=this[_0x262c60(0x208)][_0x262c60(0x1f9)]['options'][_0x262c60(0x1fe)]||[];if(this[_0x262c60(0x216)]&&this[_0x262c60(0x216)][_0x262c60(0x1f8)]>0x0){let _0x15558a=_0x11e6f5['filter'](_0x45999e=>_0x45999e[_0x262c60(0x216)]===this[_0x262c60(0x216)]);_0x4e7ae5=_0x15558a&&_0x15558a[_0x262c60(0x1f8)]>0x0?_0x15558a[0x0]['display']:'';}}else _0x4e7ae5=this[_0x262c60(0x216)];}else _0x4e7ae5='';return html`
2
+ ${_0x4e7ae5?html` <span tabindex="0" style="flex:1">${_0x4e7ae5}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x7c23b(0x1f5)](){const _0x26791c=a0_0x7c23b;super[_0x26791c(0x1f5)]();}[a0_0x7c23b(0x211)](_0x11ef07){const _0x206a70=a0_0x7c23b;_0x11ef07[_0x206a70(0x200)](),this['openSelector']();}[a0_0x7c23b(0x1f1)](_0x3b60e2){const _0x340b8d=a0_0x7c23b;'Enter'==_0x3b60e2['key']&&(_0x3b60e2[_0x340b8d(0x200)](),this[_0x340b8d(0x201)]());}[a0_0x7c23b(0x201)](){const _0x524412=a0_0x7c23b;this[_0x524412(0x213)]&&delete this['popup'];var {selectorName:_0x4154a6=TermsUtil[_0x524412(0x207)]('select_item')}=this[_0x524412(0x208)]['record'][_0x524412(0x212)]||{},_0x1baf53=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x489351(0x206)]}
6
- .options=${this['column'][_0x489351(0x1f6)]['options']}
7
- .confirmCallback=${(_0x385b87=>{const _0x3cbe2c=_0x489351;let _0x26550f=this[_0x3cbe2c(0x200)]['record'][_0x3cbe2c(0x203)]['codeField'],_0x98ef9b=this[_0x3cbe2c(0x200)]['record'][_0x3cbe2c(0x203)][_0x3cbe2c(0x20a)],_0x53cd59=this['column'][_0x3cbe2c(0x1f6)][_0x3cbe2c(0x203)][_0x3cbe2c(0x1f0)]||{};if(this[_0x3cbe2c(0x200)][_0x3cbe2c(0x1f6)]['options'][_0x3cbe2c(0x1e7)]||(this[_0x3cbe2c(0x200)][_0x3cbe2c(0x1f6)][_0x3cbe2c(0x203)][_0x3cbe2c(0x1e7)]=[]),_0x385b87){let _0x5a7f80=this['column'][_0x3cbe2c(0x1f6)][_0x3cbe2c(0x203)][_0x3cbe2c(0x1e7)][_0x3cbe2c(0x1fb)](_0x348b29=>_0x348b29['value']==_0x385b87[_0x26550f]);if(!_0x5a7f80||0x0==_0x5a7f80[_0x3cbe2c(0x1fc)]){let _0x299b36=_0x385b87[_0x26550f];if(_0x98ef9b){let _0x169a56=_0x98ef9b['split'](',');_0x299b36=_0x385b87[_0x169a56[0x0]],_0x169a56[_0x3cbe2c(0x1fc)]>0x1&&(_0x299b36+='('+_0x169a56[_0x3cbe2c(0x204)](0x1)[_0x3cbe2c(0x20d)](_0x5df36c=>_0x385b87[_0x5df36c])['join'](',')+')');}this[_0x3cbe2c(0x200)][_0x3cbe2c(0x1f6)]['options'][_0x3cbe2c(0x1e7)][_0x3cbe2c(0x201)]({'value':_0x385b87[_0x26550f],'display':_0x299b36});}}this[_0x3cbe2c(0x20b)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3cbe2c(0x206)],'after':_0x385b87?_0x385b87[_0x26550f]:null,'record':this[_0x3cbe2c(0x1f6)],'column':this[_0x3cbe2c(0x200)],'row':this[_0x3cbe2c(0x209)]}})),Object[_0x3cbe2c(0x1ea)](_0x53cd59)[_0x3cbe2c(0x207)](_0xef9531=>{const _0x4835f1=_0x3cbe2c;this[_0x4835f1(0x20b)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x53cd59[_0xef9531]],'after':_0x385b87?_0x385b87[_0xef9531]:null,'record':this[_0x4835f1(0x1f6)],'column':{'name':_0x53cd59[_0xef9531]},'row':this['row']}}));});})[_0x489351(0x20e)](this)}
5
+ .value=${this[_0x524412(0x216)]}
6
+ .options=${this[_0x524412(0x208)]['record'][_0x524412(0x212)]}
7
+ .confirmCallback=${(_0x5da76e=>{const _0x19d7e8=_0x524412;let _0x2af8fb=this[_0x19d7e8(0x208)][_0x19d7e8(0x1f9)]['options']['codeField'],_0x5064d1=this[_0x19d7e8(0x208)]['record']['options'][_0x19d7e8(0x1ff)],_0x29d683=this[_0x19d7e8(0x208)][_0x19d7e8(0x1f9)][_0x19d7e8(0x212)][_0x19d7e8(0x1fb)]||{};if(this['column'][_0x19d7e8(0x1f9)]['options']['codes']||(this[_0x19d7e8(0x208)][_0x19d7e8(0x1f9)][_0x19d7e8(0x212)]['codes']=[]),_0x5da76e){let _0xb2a816=this['column'][_0x19d7e8(0x1f9)][_0x19d7e8(0x212)][_0x19d7e8(0x1fe)][_0x19d7e8(0x202)](_0x447f3a=>_0x447f3a[_0x19d7e8(0x216)]==_0x5da76e[_0x2af8fb]);if(!_0xb2a816||0x0==_0xb2a816[_0x19d7e8(0x1f8)]){let _0x7328d7=_0x5da76e[_0x2af8fb];if(_0x5064d1){let _0x186d48=_0x5064d1['split'](',');_0x7328d7=_0x5da76e[_0x186d48[0x0]],_0x186d48['length']>0x1&&(_0x7328d7+='('+_0x186d48[_0x19d7e8(0x20a)](0x1)[_0x19d7e8(0x214)](_0x2644d8=>_0x5da76e[_0x2644d8])[_0x19d7e8(0x1f6)](',')+')');}this[_0x19d7e8(0x208)][_0x19d7e8(0x1f9)][_0x19d7e8(0x212)][_0x19d7e8(0x1fe)]['push']({'value':_0x5da76e[_0x2af8fb],'display':_0x7328d7});}}this[_0x19d7e8(0x204)](new CustomEvent(_0x19d7e8(0x1f4),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x19d7e8(0x216)],'after':_0x5da76e?_0x5da76e[_0x2af8fb]:null,'record':this['record'],'column':this['column'],'row':this[_0x19d7e8(0x1ee)]}})),Object[_0x19d7e8(0x209)](_0x29d683)[_0x19d7e8(0x1f7)](_0x51191=>{const _0x5a8c8d=_0x19d7e8;this[_0x5a8c8d(0x204)](new CustomEvent(_0x5a8c8d(0x1f4),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x5a8c8d(0x1f9)][_0x29d683[_0x51191]],'after':_0x5da76e?_0x5da76e[_0x51191]:null,'record':this[_0x5a8c8d(0x1f9)],'column':{'name':_0x29d683[_0x51191]},'row':this['row']}}));});})[_0x524412(0x1fd)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x489351(0x1f8)]=openPopup(_0x5040d3,{'backdrop':!0x0,'size':_0x489351(0x1ed),'title':TermsUtil[_0x489351(0x20c)](_0x46c622)});}}customElements['define']('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
9
+ `;this[_0x524412(0x213)]=openPopup(_0x1baf53,{'backdrop':!0x0,'size':_0x524412(0x1f3),'title':TermsUtil['tMenu'](_0x4154a6)});}}customElements[a0_0x7c23b(0x1ef)](a0_0x7c23b(0x205),GristEditorMetaCodeSelector);
@@ -1,10 +1,10 @@
1
- const a0_0x14db5a=a0_0x10cb;(function(_0x5a53bd,_0x5f2c2f){const _0x1b4165=a0_0x10cb,_0x42a3a2=_0x5a53bd();while(!![]){try{const _0x30a6a2=-parseInt(_0x1b4165(0x1ee))/0x1+parseInt(_0x1b4165(0x1fc))/0x2*(-parseInt(_0x1b4165(0x1f4))/0x3)+parseInt(_0x1b4165(0x206))/0x4+-parseInt(_0x1b4165(0x20a))/0x5*(parseInt(_0x1b4165(0x20c))/0x6)+parseInt(_0x1b4165(0x1ed))/0x7+-parseInt(_0x1b4165(0x205))/0x8+parseInt(_0x1b4165(0x201))/0x9;if(_0x30a6a2===_0x5f2c2f)break;else _0x42a3a2['push'](_0x42a3a2['shift']());}catch(_0x108638){_0x42a3a2['push'](_0x42a3a2['shift']());}}}(a0_0x1b86,0x2c022));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_0x1b86(){const _0x4b5f1d=['record','35ieiORZ','tTitle','53796cWUNlz','firstUpdated','join','define','select_item','fieldMap','editorTemplate','182420iXsjRc','59666njPeyS','bind','large','tMenu','map','field-change','3XQvwAq','popup','properties','keys','value','options','grist-editor-meta-object-selector','Enter','20678kgiQFb','dispatchEvent','forEach','split','splice','2107440hSSljn','stopPropagation','openSelector','row','2044336UOdGei','1233388QLfEUo','column','_onkeydown'];a0_0x1b86=function(){return _0x4b5f1d;};return a0_0x1b86();}function a0_0x10cb(_0x1c0cc5,_0x2aafd9){const _0x1b86aa=a0_0x1b86();return a0_0x10cb=function(_0x10cbce,_0x2bf2fb){_0x10cbce=_0x10cbce-0x1ea;let _0x210a50=_0x1b86aa[_0x10cbce];return _0x210a50;},a0_0x10cb(_0x1c0cc5,_0x2aafd9);}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x14db5a(0x1f6)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x14db5a(0x1ec)](){const _0x2d4391=a0_0x14db5a;let _0xb464b5='';if(this[_0x2d4391(0x1f8)]&&this['column'][_0x2d4391(0x209)]['options']){let _0x20fed6=this[_0x2d4391(0x207)][_0x2d4391(0x209)][_0x2d4391(0x1f9)]['nameField'][_0x2d4391(0x1ff)](',');_0xb464b5=this[_0x2d4391(0x1f8)][_0x20fed6[0x0]],_0x20fed6['length']>0x1&&(_0xb464b5+='('+_0x20fed6[_0x2d4391(0x200)](0x1)[_0x2d4391(0x1f2)](_0x1826ac=>this['value'][_0x1826ac])[_0x2d4391(0x20e)](',')+')');}return html`
2
- ${this['value']?html` <span tabindex="0" style="flex:1">${_0xb464b5}</span> `:html`<span tabindex="0">${_0xb464b5}</span>`}
3
- `;}async['firstUpdated'](){const _0x275ee4=a0_0x14db5a;super[_0x275ee4(0x20d)]();}['_onclick'](_0x14f93){const _0x4e6ea5=a0_0x14db5a;_0x14f93[_0x4e6ea5(0x202)](),this[_0x4e6ea5(0x203)]();}[a0_0x14db5a(0x208)](_0x5bbf3e){const _0x1dd941=a0_0x14db5a;_0x1dd941(0x1fb)==_0x5bbf3e['key']&&(_0x5bbf3e[_0x1dd941(0x202)](),this['openSelector']());}[a0_0x14db5a(0x203)](){const _0x196fc1=a0_0x14db5a;this[_0x196fc1(0x1f5)]&&delete this[_0x196fc1(0x1f5)];var {selectorName:_0x4ee985=TermsUtil[_0x196fc1(0x20b)](_0x196fc1(0x1ea))}=this['column']['record'][_0x196fc1(0x1f9)]||{},_0x3a4e89=html`
1
+ const a0_0x61ed7a=a0_0x279d;(function(_0x54f56d,_0x4b4bb4){const _0x48cadb=a0_0x279d,_0x4feb3c=_0x54f56d();while(!![]){try{const _0x5665e1=parseInt(_0x48cadb(0x18d))/0x1+parseInt(_0x48cadb(0x179))/0x2+parseInt(_0x48cadb(0x19a))/0x3+-parseInt(_0x48cadb(0x18f))/0x4+parseInt(_0x48cadb(0x196))/0x5*(parseInt(_0x48cadb(0x19c))/0x6)+parseInt(_0x48cadb(0x17c))/0x7*(parseInt(_0x48cadb(0x198))/0x8)+-parseInt(_0x48cadb(0x187))/0x9*(parseInt(_0x48cadb(0x183))/0xa);if(_0x5665e1===_0x4b4bb4)break;else _0x4feb3c['push'](_0x4feb3c['shift']());}catch(_0x5d59f9){_0x4feb3c['push'](_0x4feb3c['shift']());}}}(a0_0x5207,0x6b65c));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x279d(_0x44b296,_0x23d905){const _0x520707=a0_0x5207();return a0_0x279d=function(_0x279d47,_0x46fd6d){_0x279d47=_0x279d47-0x178;let _0x39e0be=_0x520707[_0x279d47];return _0x39e0be;},a0_0x279d(_0x44b296,_0x23d905);}import'../../popup/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x61ed7a(0x194)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x61ed7a(0x199)](){const _0x4e67d9=a0_0x61ed7a;let _0x39fe1a='';if(this['value']&&this[_0x4e67d9(0x184)][_0x4e67d9(0x178)][_0x4e67d9(0x189)]){let _0x256e4a=this[_0x4e67d9(0x184)][_0x4e67d9(0x178)][_0x4e67d9(0x189)][_0x4e67d9(0x197)][_0x4e67d9(0x186)](',');_0x39fe1a=this[_0x4e67d9(0x18b)][_0x256e4a[0x0]],_0x256e4a[_0x4e67d9(0x17a)]>0x1&&(_0x39fe1a+='('+_0x256e4a[_0x4e67d9(0x18c)](0x1)[_0x4e67d9(0x190)](_0x590601=>this[_0x4e67d9(0x18b)][_0x590601])[_0x4e67d9(0x17b)](',')+')');}return html`
2
+ ${this[_0x4e67d9(0x18b)]?html` <span tabindex="0" style="flex:1">${_0x39fe1a}</span> `:html`<span tabindex="0">${_0x39fe1a}</span>`}
3
+ `;}async[a0_0x61ed7a(0x188)](){const _0x1a5652=a0_0x61ed7a;super[_0x1a5652(0x188)]();}[a0_0x61ed7a(0x17d)](_0x15588d){const _0x2bbd41=a0_0x61ed7a;_0x15588d[_0x2bbd41(0x17f)](),this[_0x2bbd41(0x19b)]();}['_onkeydown'](_0x535528){const _0x553431=a0_0x61ed7a;_0x553431(0x182)==_0x535528[_0x553431(0x181)]&&(_0x535528[_0x553431(0x17f)](),this[_0x553431(0x19b)]());}[a0_0x61ed7a(0x19b)](){const _0x149692=a0_0x61ed7a;this[_0x149692(0x180)]&&delete this[_0x149692(0x180)];var {selectorName:_0x364775=TermsUtil['tTitle'](_0x149692(0x17e))}=this[_0x149692(0x184)]['record'][_0x149692(0x189)]||{},_0x18c584=html`
4
4
  <meta-object-selector-popup
5
5
  .value=${this['value']}
6
- .options=${this[_0x196fc1(0x207)][_0x196fc1(0x209)][_0x196fc1(0x1f9)]}
7
- .record=${this['record']}
8
- .confirmCallback=${(_0x30c44d=>{const _0x40011d=_0x196fc1;let _0x58ee72=this[_0x40011d(0x207)][_0x40011d(0x209)][_0x40011d(0x1f9)][_0x40011d(0x1eb)]||{};this[_0x40011d(0x1fd)](new CustomEvent(_0x40011d(0x1f3),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x40011d(0x1f8)],'after':_0x30c44d||null,'record':this[_0x40011d(0x209)],'column':this[_0x40011d(0x207)],'row':this[_0x40011d(0x204)]}})),Object[_0x40011d(0x1f7)](_0x58ee72)[_0x40011d(0x1fe)](_0xba51c=>{const _0x321ae4=_0x40011d;this[_0x321ae4(0x1fd)](new CustomEvent(_0x321ae4(0x1f3),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x321ae4(0x209)][_0x58ee72[_0xba51c]],'after':_0x30c44d?_0x30c44d[_0xba51c]:null,'record':this['record'],'column':{'name':_0x58ee72[_0xba51c]},'row':this[_0x321ae4(0x204)]}}));});})[_0x196fc1(0x1ef)](this)}
6
+ .options=${this[_0x149692(0x184)][_0x149692(0x178)]['options']}
7
+ .record=${this[_0x149692(0x178)]}
8
+ .confirmCallback=${(_0x42770b=>{const _0x3a0210=_0x149692;let _0x243946=this[_0x3a0210(0x184)]['record'][_0x3a0210(0x189)][_0x3a0210(0x18a)]||{};this['dispatchEvent'](new CustomEvent(_0x3a0210(0x192),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3a0210(0x18b)],'after':_0x42770b||null,'record':this['record'],'column':this[_0x3a0210(0x184)],'row':this[_0x3a0210(0x191)]}})),Object[_0x3a0210(0x185)](_0x243946)['forEach'](_0x307a37=>{const _0x3e988c=_0x3a0210;this['dispatchEvent'](new CustomEvent(_0x3e988c(0x192),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3e988c(0x178)][_0x243946[_0x307a37]],'after':_0x42770b?_0x42770b[_0x307a37]:null,'record':this[_0x3e988c(0x178)],'column':{'name':_0x243946[_0x307a37]},'row':this[_0x3e988c(0x191)]}}));});})[_0x149692(0x193)](this)}
9
9
  ></meta-object-selector-popup>
10
- `;this[_0x196fc1(0x1f5)]=openPopup(_0x3a4e89,{'backdrop':!0x0,'size':_0x196fc1(0x1f0),'title':TermsUtil[_0x196fc1(0x1f1)](_0x4ee985)});}}customElements[a0_0x14db5a(0x20f)](a0_0x14db5a(0x1fa),GristEditorMetaObjectSelector);
10
+ `;this[_0x149692(0x180)]=openPopup(_0x18c584,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x149692(0x195)](_0x364775)});}}customElements[a0_0x61ed7a(0x18e)]('grist-editor-meta-object-selector',GristEditorMetaObjectSelector);function a0_0x5207(){const _0x5f04a2=['value','splice','293195RhWMCb','define','2063588MffTaK','map','row','field-change','bind','properties','tMenu','15sBSXrl','nameField','3984IdFJKS','editorTemplate','1916940SCpQAy','openSelector','709452UBTVdx','record','106274MBbHBc','length','join','2723uBFMZS','_onclick','select_item','stopPropagation','popup','key','Enter','5779630XdTAPD','column','keys','split','9kaNrzd','firstUpdated','options','fieldMap'];a0_0x5207=function(){return _0x5f04a2;};return a0_0x5207();}
@@ -1 +1 @@
1
- (function(_0x3a6bb3,_0x394ab2){const _0x1b3fc3=a0_0x70bc,_0x52713d=_0x3a6bb3();while(!![]){try{const _0x4a93ed=-parseInt(_0x1b3fc3(0x132))/0x1*(parseInt(_0x1b3fc3(0x131))/0x2)+parseInt(_0x1b3fc3(0x138))/0x3*(parseInt(_0x1b3fc3(0x139))/0x4)+parseInt(_0x1b3fc3(0x13b))/0x5*(-parseInt(_0x1b3fc3(0x136))/0x6)+-parseInt(_0x1b3fc3(0x134))/0x7+-parseInt(_0x1b3fc3(0x133))/0x8+-parseInt(_0x1b3fc3(0x12f))/0x9+parseInt(_0x1b3fc3(0x13a))/0xa;if(_0x4a93ed===_0x394ab2)break;else _0x52713d['push'](_0x52713d['shift']());}catch(_0xcdccc){_0x52713d['push'](_0x52713d['shift']());}}}(a0_0x140d,0x76e45));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x70bc(_0x34b933,_0x5ef545){const _0x140d55=a0_0x140d();return a0_0x70bc=function(_0x70bcbb,_0x981337){_0x70bcbb=_0x70bcbb-0x12f;let _0x650d74=_0x140d55[_0x70bcbb];return _0x650d74;},a0_0x70bc(_0x34b933,_0x5ef545);}function onmouseover(_0x597293){const _0x39e07b=a0_0x70bc,_0xea7d1c=_0x597293[_0x39e07b(0x130)];detectOverflow(_0xea7d1c)&&_0xea7d1c[_0x39e07b(0x140)](_0x39e07b(0x137),_0xea7d1c[_0x39e07b(0x13c)]);}function onmouseout(_0x30d348){const _0x27479a=a0_0x70bc;_0x30d348[_0x27479a(0x130)]['removeAttribute'](_0x27479a(0x137));}function a0_0x140d(){const _0x3fd1f0=['378657sOlTaR','target','10wyMvrf','159122rpDanY','2499768InwDNI','2422QQuiGr','...','8334nQBRCx','data-tooltip','27fuQxJl','119924SLhKgo','15871140PkYLGU','790KyirNW','textContent','length','substring','stringify','setAttribute'];a0_0x140d=function(){return _0x3fd1f0;};return a0_0x140d();}export const GristRendererCodeInput=(_0x5513d9,_0x4ca39f,_0x3972fe,_0x3cd5e9,_0x194151)=>{const _0x2080f5=a0_0x70bc;let _0x489cb5='';return _0x5513d9&&(_0x489cb5='object'==typeof _0x5513d9?JSON[_0x2080f5(0x13f)](_0x5513d9,0x0,0x2):_0x5513d9,_0x489cb5=_0x489cb5[_0x2080f5(0x13d)]>0x14?_0x489cb5[_0x2080f5(0x13e)](0x0,0x14)+_0x2080f5(0x135):_0x489cb5),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x489cb5}</span>`;};
1
+ (function(_0x25d2bc,_0x43990c){const _0x30850e=a0_0x5dfc,_0x5c4c94=_0x25d2bc();while(!![]){try{const _0x470103=parseInt(_0x30850e(0xb4))/0x1*(parseInt(_0x30850e(0xaf))/0x2)+parseInt(_0x30850e(0xb9))/0x3*(parseInt(_0x30850e(0xbb))/0x4)+parseInt(_0x30850e(0xb0))/0x5+-parseInt(_0x30850e(0xb6))/0x6*(-parseInt(_0x30850e(0xac))/0x7)+parseInt(_0x30850e(0xb3))/0x8*(parseInt(_0x30850e(0xb5))/0x9)+-parseInt(_0x30850e(0xb1))/0xa*(parseInt(_0x30850e(0xbc))/0xb)+-parseInt(_0x30850e(0xad))/0xc;if(_0x470103===_0x43990c)break;else _0x5c4c94['push'](_0x5c4c94['shift']());}catch(_0x35fa54){_0x5c4c94['push'](_0x5c4c94['shift']());}}}(a0_0x1c87,0xb918c));import{html}from'lit';function a0_0x5dfc(_0x3164eb,_0xbed024){const _0x1c8772=a0_0x1c87();return a0_0x5dfc=function(_0x5dfcd5,_0x740434){_0x5dfcd5=_0x5dfcd5-0xa8;let _0x42af8c=_0x1c8772[_0x5dfcd5];return _0x42af8c;},a0_0x5dfc(_0x3164eb,_0xbed024);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x237d70){const _0x48721f=a0_0x5dfc,_0x10b60d=_0x237d70[_0x48721f(0xa9)];detectOverflow(_0x10b60d)&&_0x10b60d[_0x48721f(0xaa)]('data-tooltip',_0x10b60d[_0x48721f(0xa8)]);}function onmouseout(_0x52a394){const _0x1e2074=a0_0x5dfc;_0x52a394[_0x1e2074(0xa9)][_0x1e2074(0xb7)](_0x1e2074(0xab));}function a0_0x1c87(){const _0x2ad9ca=['removeAttribute','...','3NYUvZZ','length','5537996NjLByJ','149897GRDril','textContent','target','setAttribute','data-tooltip','203iqbvsN','19066560cUqCmu','substring','142HIesBA','42070cbogFD','610nJMQXa','stringify','2954184UPzvfU','15178ELbyxO','9IeWSgl','70026dwIdAS'];a0_0x1c87=function(){return _0x2ad9ca;};return a0_0x1c87();}export const GristRendererCodeInput=(_0x27befe,_0x3d37d3,_0x298b98,_0x32c31,_0x64f558)=>{const _0x31dcf5=a0_0x5dfc;let _0xed37db='';return _0x27befe&&(_0xed37db='object'==typeof _0x27befe?JSON[_0x31dcf5(0xb2)](_0x27befe,0x0,0x2):_0x27befe,_0xed37db=_0xed37db[_0x31dcf5(0xba)]>0x14?_0xed37db[_0x31dcf5(0xae)](0x0,0x14)+_0x31dcf5(0xb8):_0xed37db),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0xed37db}</span>`;};
@@ -1 +1 @@
1
- function a0_0x5f2c(){const _0x1e0fa5=['target','options','codes','69189WgcGgQ','2026053gCfTcO','data-tooltip','setAttribute','274680vbUFcx','880GDLLeq','filter','removeAttribute','record','36licfDU','1988072orReVA','328278bKkNZU','11106YKofSB','textContent','1183917WIysUV'];a0_0x5f2c=function(){return _0x1e0fa5;};return a0_0x5f2c();}(function(_0xfa629b,_0x265a35){const _0x19d31e=a0_0x2e7c,_0x1248b9=_0xfa629b();while(!![]){try{const _0x13aead=parseInt(_0x19d31e(0x83))/0x1+parseInt(_0x19d31e(0x78))/0x2+parseInt(_0x19d31e(0x7f))/0x3*(parseInt(_0x19d31e(0x88))/0x4)+-parseInt(_0x19d31e(0x84))/0x5*(parseInt(_0x19d31e(0x79))/0x6)+-parseInt(_0x19d31e(0x7b))/0x7+parseInt(_0x19d31e(0x89))/0x8+-parseInt(_0x19d31e(0x80))/0x9;if(_0x13aead===_0x265a35)break;else _0x1248b9['push'](_0x1248b9['shift']());}catch(_0x587902){_0x1248b9['push'](_0x1248b9['shift']());}}}(a0_0x5f2c,0x2ab17));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x5f241a){const _0x193708=a0_0x2e7c,_0x1e3360=_0x5f241a[_0x193708(0x7c)];detectOverflow(_0x1e3360)&&_0x1e3360[_0x193708(0x82)](_0x193708(0x81),_0x1e3360[_0x193708(0x7a)]);}function onmouseout(_0x17a1fc){const _0x5aa930=a0_0x2e7c;_0x17a1fc[_0x5aa930(0x7c)][_0x5aa930(0x86)](_0x5aa930(0x81));}function a0_0x2e7c(_0x403cfc,_0x172334){const _0x5f2c7a=a0_0x5f2c();return a0_0x2e7c=function(_0x2e7c97,_0x2969ff){_0x2e7c97=_0x2e7c97-0x78;let _0x38e96e=_0x5f2c7a[_0x2e7c97];return _0x38e96e;},a0_0x2e7c(_0x403cfc,_0x172334);}export const GristRendererMetaCodeSelector=(_0x2c9677,_0x272b4b,_0x1fc1c8,_0x3370c2,_0x36d201)=>{const _0x3a613c=a0_0x2e7c;let _0x16e586='';if(_0x272b4b['record']&&_0x272b4b[_0x3a613c(0x87)][_0x3a613c(0x7d)]){if(_0x272b4b['record'][_0x3a613c(0x7d)]['dispField']){if(_0x272b4b[_0x3a613c(0x87)][_0x3a613c(0x7d)][_0x3a613c(0x7e)]||(_0x272b4b[_0x3a613c(0x87)]['options'][_0x3a613c(0x7e)]=[]),_0x2c9677&&_0x2c9677['length']>0x0){let _0x540990=_0x272b4b[_0x3a613c(0x87)][_0x3a613c(0x7d)][_0x3a613c(0x7e)][_0x3a613c(0x85)](_0x4dd5e2=>_0x4dd5e2['value']===_0x2c9677);_0x16e586=_0x540990&&_0x540990['length']>0x0?_0x540990[0x0]['display']:_0x2c9677;}}else _0x16e586=_0x2c9677;}else _0x16e586='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x16e586}</span>`;};
1
+ function a0_0x1346(_0x213ac5,_0xd4dc93){const _0x26e2a4=a0_0x26e2();return a0_0x1346=function(_0x134659,_0x78d9c0){_0x134659=_0x134659-0x152;let _0x5bd5da=_0x26e2a4[_0x134659];return _0x5bd5da;},a0_0x1346(_0x213ac5,_0xd4dc93);}(function(_0xd06ea9,_0x4f1162){const _0x153a6d=a0_0x1346,_0x49b3c0=_0xd06ea9();while(!![]){try{const _0x2ec8f4=-parseInt(_0x153a6d(0x162))/0x1+parseInt(_0x153a6d(0x159))/0x2+-parseInt(_0x153a6d(0x15b))/0x3+parseInt(_0x153a6d(0x157))/0x4*(parseInt(_0x153a6d(0x166))/0x5)+parseInt(_0x153a6d(0x15a))/0x6*(-parseInt(_0x153a6d(0x167))/0x7)+-parseInt(_0x153a6d(0x161))/0x8*(parseInt(_0x153a6d(0x15c))/0x9)+parseInt(_0x153a6d(0x158))/0xa;if(_0x2ec8f4===_0x4f1162)break;else _0x49b3c0['push'](_0x49b3c0['shift']());}catch(_0x45a207){_0x49b3c0['push'](_0x49b3c0['shift']());}}}(a0_0x26e2,0x7cc4e));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x26e2(){const _0x4e38ff=['18DEznpN','filter','setAttribute','record','value','1270792OOqYxX','207203spFIYl','codes','display','data-tooltip','80necDcb','987hLLWBV','options','dispField','target','removeAttribute','length','190596feDSxu','11777650NxOcfj','1368472QAjExw','35226beGTsw','2281857IrwYzs'];a0_0x26e2=function(){return _0x4e38ff;};return a0_0x26e2();}function onmouseover(_0x37d4b8){const _0x301306=a0_0x1346,_0x480e44=_0x37d4b8[_0x301306(0x154)];detectOverflow(_0x480e44)&&_0x480e44[_0x301306(0x15e)]('data-tooltip',_0x480e44['textContent']);}function onmouseout(_0x5a2227){const _0x402206=a0_0x1346;_0x5a2227['target'][_0x402206(0x155)](_0x402206(0x165));}export const GristRendererMetaCodeSelector=(_0x3dcfaf,_0x2f9253,_0x437526,_0x269263,_0x40b803)=>{const _0x1001f5=a0_0x1346;let _0x44fe81='';if(_0x2f9253[_0x1001f5(0x15f)]&&_0x2f9253[_0x1001f5(0x15f)][_0x1001f5(0x152)]){if(_0x2f9253[_0x1001f5(0x15f)][_0x1001f5(0x152)][_0x1001f5(0x153)]){if(_0x2f9253[_0x1001f5(0x15f)]['options'][_0x1001f5(0x163)]||(_0x2f9253[_0x1001f5(0x15f)][_0x1001f5(0x152)][_0x1001f5(0x163)]=[]),_0x3dcfaf&&_0x3dcfaf[_0x1001f5(0x156)]>0x0){let _0x1967a2=_0x2f9253['record'][_0x1001f5(0x152)][_0x1001f5(0x163)][_0x1001f5(0x15d)](_0x4e92c5=>_0x4e92c5[_0x1001f5(0x160)]===_0x3dcfaf);_0x44fe81=_0x1967a2&&_0x1967a2[_0x1001f5(0x156)]>0x0?_0x1967a2[0x0][_0x1001f5(0x164)]:_0x3dcfaf;}}else _0x44fe81=_0x3dcfaf;}else _0x44fe81='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x44fe81}</span>`;};
@@ -1 +1 @@
1
- (function(_0x3d1ce6,_0x2bcb8f){const _0x4c9146=a0_0x36fc,_0x2dc4ee=_0x3d1ce6();while(!![]){try{const _0x4fad72=-parseInt(_0x4c9146(0x165))/0x1+-parseInt(_0x4c9146(0x172))/0x2+-parseInt(_0x4c9146(0x178))/0x3*(-parseInt(_0x4c9146(0x167))/0x4)+parseInt(_0x4c9146(0x169))/0x5+-parseInt(_0x4c9146(0x171))/0x6+-parseInt(_0x4c9146(0x16e))/0x7*(-parseInt(_0x4c9146(0x179))/0x8)+parseInt(_0x4c9146(0x168))/0x9*(parseInt(_0x4c9146(0x176))/0xa);if(_0x4fad72===_0x2bcb8f)break;else _0x2dc4ee['push'](_0x2dc4ee['shift']());}catch(_0x19cde8){_0x2dc4ee['push'](_0x2dc4ee['shift']());}}}(a0_0x1ece,0x3053f));function a0_0x1ece(){const _0x1c4023=['128072AsSvNt','join','split','length','5960tATqMG','options','3723qMywST','8nDLSYw','data-tooltip','191584OvQwJY','map','996OvaJOQ','3312ISHRqo','50020oHKbPf','setAttribute','target','textContent','removeAttribute','214459nvgLVT','record','nameField','692442LHxazv'];a0_0x1ece=function(){return _0x1c4023;};return a0_0x1ece();}function a0_0x36fc(_0x407fbe,_0x283935){const _0x1ecee2=a0_0x1ece();return a0_0x36fc=function(_0x36fca0,_0x59a8ec){_0x36fca0=_0x36fca0-0x164;let _0x1f94fb=_0x1ecee2[_0x36fca0];return _0x1f94fb;},a0_0x36fc(_0x407fbe,_0x283935);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x49acf2){const _0x4c8c4a=a0_0x36fc,_0x1dc403=_0x49acf2['target'];detectOverflow(_0x1dc403)&&_0x1dc403[_0x4c8c4a(0x16a)](_0x4c8c4a(0x164),_0x1dc403[_0x4c8c4a(0x16c)]);}function onmouseout(_0x20d415){const _0x6371a3=a0_0x36fc;_0x20d415[_0x6371a3(0x16b)][_0x6371a3(0x16d)](_0x6371a3(0x164));}export const GristRendererMetaObjectSelector=(_0x287993,_0x27b37b,_0x2416dc,_0xbda33d,_0x39ed5f)=>{const _0x2f9f39=a0_0x36fc;let _0x213772='';if(_0x287993&&_0x27b37b[_0x2f9f39(0x16f)][_0x2f9f39(0x177)]){let _0x5ca7c0=_0x27b37b['record'][_0x2f9f39(0x177)][_0x2f9f39(0x170)][_0x2f9f39(0x174)](',');_0x213772=_0x287993[_0x5ca7c0[0x0]],_0x5ca7c0[_0x2f9f39(0x175)]>0x1&&(_0x213772+='('+_0x5ca7c0['splice'](0x1)[_0x2f9f39(0x166)](_0x590b28=>_0x287993[_0x590b28])[_0x2f9f39(0x173)](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x213772}</span>`;};
1
+ (function(_0x3f20a4,_0x1adbf0){const _0x1b049f=a0_0x58c2,_0x162f85=_0x3f20a4();while(!![]){try{const _0x828161=-parseInt(_0x1b049f(0xf7))/0x1*(parseInt(_0x1b049f(0xfa))/0x2)+-parseInt(_0x1b049f(0xf1))/0x3+-parseInt(_0x1b049f(0xf3))/0x4+parseInt(_0x1b049f(0xfb))/0x5+parseInt(_0x1b049f(0xfc))/0x6*(-parseInt(_0x1b049f(0xf9))/0x7)+parseInt(_0x1b049f(0x101))/0x8+parseInt(_0x1b049f(0xf8))/0x9;if(_0x828161===_0x1adbf0)break;else _0x162f85['push'](_0x162f85['shift']());}catch(_0x581f5a){_0x162f85['push'](_0x162f85['shift']());}}}(a0_0x5624,0xf10da));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x4fbef9){const _0x3ad477=a0_0x58c2,_0x1f6217=_0x4fbef9[_0x3ad477(0x100)];detectOverflow(_0x1f6217)&&_0x1f6217[_0x3ad477(0xfd)]('data-tooltip',_0x1f6217[_0x3ad477(0xff)]);}function a0_0x5624(){const _0x5ccb72=['5035400EFIhUy','map','record','1952229NycIEY','split','4225472mTOwtZ','splice','nameField','options','93427yuHNzW','14262642QNgBEF','4571mmYwzS','6tIZLwz','8824485TUJwIi','9228MtlDPP','setAttribute','removeAttribute','textContent','target'];a0_0x5624=function(){return _0x5ccb72;};return a0_0x5624();}function onmouseout(_0x4371bf){const _0x2c0b76=a0_0x58c2;_0x4371bf[_0x2c0b76(0x100)][_0x2c0b76(0xfe)]('data-tooltip');}function a0_0x58c2(_0x4716d0,_0x5ea121){const _0x5624ad=a0_0x5624();return a0_0x58c2=function(_0x58c208,_0x18fd10){_0x58c208=_0x58c208-0xef;let _0x19668f=_0x5624ad[_0x58c208];return _0x19668f;},a0_0x58c2(_0x4716d0,_0x5ea121);}export const GristRendererMetaObjectSelector=(_0x4ad8fd,_0x582f97,_0x5835fa,_0x3dab9c,_0x423e55)=>{const _0x37a687=a0_0x58c2;let _0x15ade0='';if(_0x4ad8fd&&_0x582f97['record']['options']){let _0x117ba4=_0x582f97[_0x37a687(0xf0)][_0x37a687(0xf6)][_0x37a687(0xf5)][_0x37a687(0xf2)](',');_0x15ade0=_0x4ad8fd[_0x117ba4[0x0]],_0x117ba4['length']>0x1&&(_0x15ade0+='('+_0x117ba4[_0x37a687(0xf4)](0x1)[_0x37a687(0xef)](_0x4004a9=>_0x4ad8fd[_0x4004a9])['join'](',')+')');}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x15ade0}</span>`;};
@@ -1,4 +1,4 @@
1
- var a0_0x33bccb=a0_0x6298;(function(_0x22cb64,_0xdd0223){var _0x41ebbb=a0_0x6298,_0x1152c7=_0x22cb64();while(!![]){try{var _0x3da97f=parseInt(_0x41ebbb(0xc8))/0x1*(parseInt(_0x41ebbb(0xb0))/0x2)+-parseInt(_0x41ebbb(0xcd))/0x3+-parseInt(_0x41ebbb(0xc3))/0x4+-parseInt(_0x41ebbb(0xb4))/0x5*(-parseInt(_0x41ebbb(0xb8))/0x6)+parseInt(_0x41ebbb(0xc6))/0x7+-parseInt(_0x41ebbb(0xbf))/0x8+parseInt(_0x41ebbb(0xae))/0x9*(-parseInt(_0x41ebbb(0xc0))/0xa);if(_0x3da97f===_0xdd0223)break;else _0x1152c7['push'](_0x1152c7['shift']());}catch(_0x5829c9){_0x1152c7['push'](_0x1152c7['shift']());}}}(a0_0x4ef4,0xcfef2));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x4ef4(){var _0x131f38=['clickEmpty','firstUpdated','6KBNGak','object','changedValue','stringify','render','showToast','codeEditor','598160YErNoW','2307210gjdJRb','value','tText','1226660laLVhe','connectedCallback','define','1742356BvvKrs','clickCancel','531057HHpdAv','bind','code-input-editor-popup','querySelector','codeVlaue','1673970CQYpqI','info','tButton','empty','confirmCallback','confirm','63YOzjyl','clickConfirm','6fjbCdF','NOTHING_CHANGED','styles','shadowRoot','7820455shwfKN','ox-input-code'];a0_0x4ef4=function(){return _0x131f38;};return a0_0x4ef4();}import{TermsUtil}from'../../utils/terms-util';import{MetaApi}from'../../utils/meta-api';import'@operato/input/ox-input-code.js';import{closePopup}from'@operato/popup';function a0_0x6298(_0x4969a4,_0x216945){var _0x4ef42a=a0_0x4ef4();return a0_0x6298=function(_0x629874,_0xcc0ea4){_0x629874=_0x629874-0xad;var _0x40b88c=_0x4ef42a[_0x629874];return _0x40b88c;},a0_0x6298(_0x4969a4,_0x216945);}export class CodeInputEditorPopup extends LitElement{static [a0_0x33bccb(0xb2)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ var a0_0x275d9c=a0_0x52c1;(function(_0x4c3e38,_0x5c3b1e){var _0x3eafaf=a0_0x52c1,_0x1e4be9=_0x4c3e38();while(!![]){try{var _0x24d303=parseInt(_0x3eafaf(0xe9))/0x1+parseInt(_0x3eafaf(0xd6))/0x2+parseInt(_0x3eafaf(0xde))/0x3*(-parseInt(_0x3eafaf(0xd0))/0x4)+parseInt(_0x3eafaf(0xd1))/0x5+-parseInt(_0x3eafaf(0xdf))/0x6+-parseInt(_0x3eafaf(0xe7))/0x7+parseInt(_0x3eafaf(0xe3))/0x8;if(_0x24d303===_0x5c3b1e)break;else _0x1e4be9['push'](_0x1e4be9['shift']());}catch(_0x1f69e2){_0x1e4be9['push'](_0x1e4be9['shift']());}}}(a0_0x5eaa,0x7571e));function a0_0x52c1(_0x55bc0d,_0x5df81d){var _0x5eaa28=a0_0x5eaa();return a0_0x52c1=function(_0x52c12e,_0x15c864){_0x52c12e=_0x52c12e-0xcf;var _0x31905c=_0x5eaa28[_0x52c12e];return _0x31905c;},a0_0x52c1(_0x55bc0d,_0x5df81d);}import{css,html,LitElement}from'lit';function a0_0x5eaa(){var _0x1ac908=['cancel','4646348FIJYNA','confirmCallback','866297XQeszC','confirm','code-input-editor-popup','firstUpdated','info','12dzuWks','657320IuUTan','ox-input-code','bind','clickConfirm','stringify','1150586CvMMSz','empty','connectedCallback','tText','changedValue','codeVlaue','value','clickCancel','501153nWRiHU','231840PBdkfJ','clickEmpty','codeEditor','tButton','892456cjWDld','querySelector','styles'];a0_0x5eaa=function(){return _0x1ac908;};return a0_0x5eaa();}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_0x275d9c(0xe5)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -19,17 +19,17 @@ var a0_0x33bccb=a0_0x6298;(function(_0x22cb64,_0xdd0223){var _0x41ebbb=a0_0x6298
19
19
  display: flex;
20
20
  margin-left: auto;
21
21
  }
22
- `];async[a0_0x33bccb(0xc4)](){var _0x598250=a0_0x33bccb;_0x598250(0xb9)==typeof this[_0x598250(0xc1)]?this[_0x598250(0xcc)]=JSON[_0x598250(0xbb)](this[_0x598250(0xc1)],0x0,0x2):this['codeVlaue']=this[_0x598250(0xc1)],await super['connectedCallback']();}async[a0_0x33bccb(0xb7)](){await super['firstUpdated']();}[a0_0x33bccb(0xbc)](){var _0x478315=a0_0x33bccb;return html`
23
- <ox-input-code mode="javascript" value=${this['codeVlaue']} tab-size="2" tab-as-space="true"></ox-input-code>
22
+ `];async[a0_0x275d9c(0xd8)](){var _0x362395=a0_0x275d9c;'object'==typeof this[_0x362395(0xdc)]?this[_0x362395(0xdb)]=JSON[_0x362395(0xd5)](this[_0x362395(0xdc)],0x0,0x2):this[_0x362395(0xdb)]=this[_0x362395(0xdc)],await super[_0x362395(0xd8)]();}async['firstUpdated'](){var _0xe428c5=a0_0x275d9c;await super[_0xe428c5(0xec)]();}['render'](){var _0x1e6033=a0_0x275d9c;return html`
23
+ <ox-input-code mode="javascript" value=${this[_0x1e6033(0xdb)]} 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[_0x478315(0xcf)](_0x478315(0xd0))}" style="margin-left:7px;margin-top:7px;"
26
- @click=${this[_0x478315(0xb6)][_0x478315(0xc9)](this)}>
25
+ <mwc-button raised label="${TermsUtil[_0x1e6033(0xe2)](_0x1e6033(0xd7))}" style="margin-left:7px;margin-top:7px;"
26
+ @click=${this[_0x1e6033(0xe0)][_0x1e6033(0xd3)](this)}>
27
27
  </mwc-button>
28
- <mwc-button raised label="${TermsUtil[_0x478315(0xcf)]('cancel')}" style="margin-left:7px;margin-top:7px;"
29
- @click=${this['clickCancel']['bind'](this)}>
28
+ <mwc-button raised label="${TermsUtil[_0x1e6033(0xe2)](_0x1e6033(0xe6))}" style="margin-left:7px;margin-top:7px;"
29
+ @click=${this[_0x1e6033(0xdd)][_0x1e6033(0xd3)](this)}>
30
30
  </mwc-button>
31
- <mwc-button raised label="${TermsUtil[_0x478315(0xcf)](_0x478315(0xad))}" style="margin-left:7px;margin-top:7px;"
32
- @click=${this[_0x478315(0xaf)][_0x478315(0xc9)](this)}>
31
+ <mwc-button raised label="${TermsUtil[_0x1e6033(0xe2)](_0x1e6033(0xea))}" style="margin-left:7px;margin-top:7px;"
32
+ @click=${this[_0x1e6033(0xd4)][_0x1e6033(0xd3)](this)}>
33
33
  </mwc-button>
34
34
  </div>
35
- `;}get[a0_0x33bccb(0xbe)](){var _0xe0f3aa=a0_0x33bccb;return this[_0xe0f3aa(0xb3)][_0xe0f3aa(0xcb)](_0xe0f3aa(0xb5));}async[a0_0x33bccb(0xb6)](_0x5633eb){var _0xea80f=a0_0x33bccb;this[_0xea80f(0xd1)]&&this[_0xea80f(0xd1)](null),closePopup(this);}async[a0_0x33bccb(0xc7)](_0x12f437){closePopup(this);}async['clickConfirm'](_0x3d5457){var _0x25a761=a0_0x33bccb;this[_0x25a761(0xcc)]!==this[_0x25a761(0xbe)][_0x25a761(0xc1)]?this[_0x25a761(0xba)](this[_0x25a761(0xbe)][_0x25a761(0xc1)]):MetaApi[_0x25a761(0xbd)](_0x25a761(0xce),TermsUtil[_0x25a761(0xc2)](_0x25a761(0xb1)));}async[a0_0x33bccb(0xba)](_0xb6255d){var _0x2dafd9=a0_0x33bccb;this[_0x2dafd9(0xd1)]&&this['confirmCallback'](_0xb6255d),closePopup(this);}}customElements[a0_0x33bccb(0xc5)](a0_0x33bccb(0xca),CodeInputEditorPopup);
35
+ `;}get[a0_0x275d9c(0xe1)](){var _0xcc25dd=a0_0x275d9c;return this['shadowRoot'][_0xcc25dd(0xe4)](_0xcc25dd(0xd2));}async[a0_0x275d9c(0xe0)](_0x16992d){var _0x516205=a0_0x275d9c;this[_0x516205(0xe8)]&&this[_0x516205(0xe8)](null),closePopup(this);}async['clickCancel'](_0x1e66ff){closePopup(this);}async[a0_0x275d9c(0xd4)](_0x3f7f4c){var _0x24e5f4=a0_0x275d9c;this[_0x24e5f4(0xdb)]!==this['codeEditor'][_0x24e5f4(0xdc)]?this[_0x24e5f4(0xda)](this['codeEditor'][_0x24e5f4(0xdc)]):MetaApi['showToast'](_0x24e5f4(0xcf),TermsUtil[_0x24e5f4(0xd9)]('NOTHING_CHANGED'));}async[a0_0x275d9c(0xda)](_0x297f3e){var _0x26cef6=a0_0x275d9c;this[_0x26cef6(0xe8)]&&this['confirmCallback'](_0x297f3e),closePopup(this);}}customElements['define'](a0_0x275d9c(0xeb),CodeInputEditorPopup);