@things-factory/meta-ui 6.1.18 → 6.1.20

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 (93) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +7 -0
  3. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  4. package/client/component/filter/filter-form-meta-object-select.js +10 -10
  5. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  6. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  7. package/client/component/grist/editor/grist-editor-code-input.js +8 -0
  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 -0
  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 +35 -0
  14. package/client/component/popup/meta-object-selector-popup.js +40 -0
  15. package/client/component/selector/meta-object-selector-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-list-page.js +5 -5
  27. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  28. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  29. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  30. package/client/pages/entity/config-entity.js +29 -29
  31. package/client/pages/entity/main-menu-selector.js +8 -8
  32. package/client/pages/history/history-copy-list-popup.js +6 -6
  33. package/client/pages/history/history-json-list-popup.js +6 -6
  34. package/client/pages/loading-page.js +5 -5
  35. package/client/pages/menu/dynamic-menu-template.js +7 -7
  36. package/client/pages/menu/dynamic-menu.js +15 -15
  37. package/client/pages/meta-form-element.js +1 -1
  38. package/client/pages/meta-grist-element.js +1 -1
  39. package/client/pages/meta-grist-page.js +1 -1
  40. package/client/pages/meta-grist-tab-element.js +1 -1
  41. package/client/pages/meta-grist-tab-page.js +1 -1
  42. package/client/pages/meta-main-tab-element.js +1 -1
  43. package/client/pages/meta-main-tab-page.js +1 -1
  44. package/client/pages/meta-master-detail-element.js +1 -1
  45. package/client/pages/meta-master-detail-page.js +1 -1
  46. package/client/pages/meta-tab-detail-element.js +1 -1
  47. package/client/pages/meta-tab-detail-page.js +1 -1
  48. package/client/pages/meta-tab-element.js +1 -1
  49. package/client/pages/personalize/personal-column-selector.js +11 -11
  50. package/client/pages/terms/config-terminology.js +6 -6
  51. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  52. package/client/pages/work-code/work-code-page.js +1 -1
  53. package/client/reducers/main.js +1 -1
  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 +2 -2
  62. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  63. package/client/viewparts/dynamic-menu-part.js +10 -10
  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
  90. package/translations/en.json +1 -0
  91. package/translations/ko.json +1 -0
  92. package/translations/ms.json +1 -0
  93. package/translations/zh.json +1 -0
@@ -1,7 +1,7 @@
1
- const a0_0xf250c5=a0_0x2867;(function(_0x4c4e18,_0x304f42){const _0x14d557=a0_0x2867,_0x7b8a12=_0x4c4e18();while(!![]){try{const _0x438564=parseInt(_0x14d557(0xef))/0x1*(parseInt(_0x14d557(0xeb))/0x2)+-parseInt(_0x14d557(0xf6))/0x3*(-parseInt(_0x14d557(0xf9))/0x4)+-parseInt(_0x14d557(0x108))/0x5*(parseInt(_0x14d557(0xf5))/0x6)+-parseInt(_0x14d557(0xff))/0x7+-parseInt(_0x14d557(0xf4))/0x8+-parseInt(_0x14d557(0xfb))/0x9*(-parseInt(_0x14d557(0xf1))/0xa)+parseInt(_0x14d557(0xf7))/0xb;if(_0x438564===_0x304f42)break;else _0x7b8a12['push'](_0x7b8a12['shift']());}catch(_0x2eba6d){_0x7b8a12['push'](_0x7b8a12['shift']());}}}(a0_0x1dba,0x579d5));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x177e2b from'graphql-tag';function a0_0x1dba(){const _0x4c08e0=['get','UPDATE_META_MENU_TEMPLATE','107lKZoXY','lite-menu-part','97470gtYsJb','value','dispatch','3967544lEXjGK','18TxFFqa','2007ipuFIo','176407hpRyMN','appName','1084qPCuEC','dynamic-menu','522hkUFDJ','dynamic-menu-part','meta[name=\x22application-name\x22]','active','2347226qQWKdV','FRONT_END','HEADERBAR','filter','landscape','querySelector','content','hamburger','query','340255vLXlBo','data','UPDATE_META_UI','NAVBAR','portrait','11806NLpMGb','items'];a0_0x1dba=function(){return _0x4c08e0;};return a0_0x1dba();}import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';function a0_0x2867(_0x47f3b2,_0xf083e3){const _0x1dba6b=a0_0x1dba();return a0_0x2867=function(_0x286702,_0x30a7b9){_0x286702=_0x286702-0xe8;let _0x170eb6=_0x1dba6b[_0x286702];return _0x170eb6;},a0_0x2867(_0x47f3b2,_0xf083e3);}import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0xf250c5(0xe8);export const UPDATE_META_MENU_TEMPLATE=a0_0xf250c5(0xee);var HAMBURGER;export async function setupMenuPart(_0x2e9204){const _0x163978=a0_0xf250c5;var {hovering:_0x1c17b4=!!isMobileDevice(),slotTemplate:_0x3fa940,portraitSlotTemplate:_0x21385d,landscapeSlotTemplate:_0xdfc714,position:_0x1f7ca2=VIEWPART_POSITION[_0x163978(0xe9)]}=_0x2e9204||{};const {hovering:_0x48b9be}=(await clientSettingStore[_0x163978(0xed)](_0x163978(0xfa)))?.[_0x163978(0xf2)]||{};void 0x0!==_0x48b9be&&(_0x1c17b4=_0x48b9be);const _0x42ab0f=_0x1f7ca2==VIEWPART_POSITION[_0x163978(0x101)]?_0x163978(0x103):_0x163978(0xea),_0x366c53=('landscape'==_0x42ab0f?_0xdfc714:_0x21385d)||_0x3fa940||html``;appendViewpart({'name':_0x163978(0xf0),'viewpart':{'show':!_0x1c17b4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x1c17b4,'template':html`<dynamic-menu-part .orientation=${_0x42ab0f}>${_0x366c53}</dynamic-menu-part>`},'position':_0x1f7ca2}),_0x1c17b4&&_0x163978(0xea)==_0x42ab0f?HAMBURGER||(HAMBURGER={'name':_0x163978(0x106),'template':html`
2
- <mwc-icon @click=${_0xb9756b=>toggleOverlay(_0x163978(0xfc),{'backdrop':!0x0})}
1
+ const a0_0x1cb246=a0_0x5ad6;function a0_0x5ad6(_0x242b01,_0x4b26f5){const _0x47c4ef=a0_0x47c4();return a0_0x5ad6=function(_0x5ad67e,_0x4a62f7){_0x5ad67e=_0x5ad67e-0x9b;let _0xba79d5=_0x47c4ef[_0x5ad67e];return _0xba79d5;},a0_0x5ad6(_0x242b01,_0x4b26f5);}(function(_0x333960,_0x30d286){const _0x3ed3dd=a0_0x5ad6,_0xbab6d7=_0x333960();while(!![]){try{const _0xd40a34=parseInt(_0x3ed3dd(0x9d))/0x1+-parseInt(_0x3ed3dd(0xb1))/0x2+parseInt(_0x3ed3dd(0xaa))/0x3*(parseInt(_0x3ed3dd(0x9b))/0x4)+parseInt(_0x3ed3dd(0xb0))/0x5*(parseInt(_0x3ed3dd(0xa1))/0x6)+-parseInt(_0x3ed3dd(0xa6))/0x7*(parseInt(_0x3ed3dd(0xb8))/0x8)+parseInt(_0x3ed3dd(0xa5))/0x9*(parseInt(_0x3ed3dd(0xae))/0xa)+-parseInt(_0x3ed3dd(0xad))/0xb*(parseInt(_0x3ed3dd(0xa0))/0xc);if(_0xd40a34===_0x30d286)break;else _0xbab6d7['push'](_0xbab6d7['shift']());}catch(_0x69ffd8){_0xbab6d7['push'](_0xbab6d7['shift']());}}}(a0_0x47c4,0x1933e));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x2dc2c2 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';function a0_0x47c4(){const _0x2e85e9=['dynamic-menu-part','dispatch','landscape','data','609536OGQKEa','meta[name=\x22application-name\x22]','appName','items','539108bVlbpa','liteMenus','178957mdLHhI','portrait','content','11532NdvVTc','6AgnpzR','hamburger','querySelector','UPDATE_META_UI','5247ACoHpO','14XaUVcH','active','dynamic-menu','lite-menu-part','3BXySIy','query','value','649gOxJSR','1240SwWmtG','FRONT_END','584335rBvgLR','381160BCWeAP','UPDATE_META_MENU_TEMPLATE','filter'];a0_0x47c4=function(){return _0x2e85e9;};return a0_0x47c4();}export const UPDATE_META_UI=a0_0x1cb246(0xa4);export const UPDATE_META_MENU_TEMPLATE=a0_0x1cb246(0xb2);var HAMBURGER;export async function setupMenuPart(_0x3b8ae2){const _0x3337a9=a0_0x1cb246;var {hovering:_0x18ccde=!!isMobileDevice(),slotTemplate:_0x4dc506,portraitSlotTemplate:_0x16043c,landscapeSlotTemplate:_0x239a7d,position:_0x69c32=VIEWPART_POSITION['NAVBAR']}=_0x3b8ae2||{};const {hovering:_0x5b655e}=(await clientSettingStore['get'](_0x3337a9(0xa8)))?.[_0x3337a9(0xac)]||{};void 0x0!==_0x5b655e&&(_0x18ccde=_0x5b655e);const _0x459a4b=_0x69c32==VIEWPART_POSITION['HEADERBAR']?_0x3337a9(0xb6):_0x3337a9(0x9e),_0x1cbdb1=('landscape'==_0x459a4b?_0x239a7d:_0x16043c)||_0x4dc506||html``;appendViewpart({'name':_0x3337a9(0xa9),'viewpart':{'show':!_0x18ccde,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x18ccde,'template':html`<dynamic-menu-part .orientation=${_0x459a4b}>${_0x1cbdb1}</dynamic-menu-part>`},'position':_0x69c32}),_0x18ccde&&'portrait'==_0x459a4b?HAMBURGER||(HAMBURGER={'name':_0x3337a9(0xa2),'template':html`
2
+ <mwc-icon @click=${_0x32c077=>toggleOverlay(_0x3337a9(0xb4),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x163978(0x100)]},store[_0x163978(0xf3)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x163978(0xf3)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x2da86c){const _0x587ae2=a0_0xf250c5;var _0x39ea90=document[_0x587ae2(0x104)](_0x587ae2(0xfd))?.[_0x587ae2(0x105)],_0xa427ad=(await client[_0x587ae2(0x107)]({'query':a0_0x177e2b`
4
+ `,'position':TOOL_POSITION[_0x3337a9(0xaf)]},store[_0x3337a9(0xb5)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':_0x3337a9(0xa2)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x5470e4){const _0x41688f=a0_0x1cb246;var _0x49b62e=document[_0x41688f(0xa3)](_0x41688f(0xb9))?.[_0x41688f(0x9f)],_0x173ffd=(await client[_0x41688f(0xab)]({'query':a0_0x2dc2c2`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0xf250c5=a0_0x2867;(function(_0x4c4e18,_0x304f42){const _0x14d557=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x587ae2(0xfe),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x39ea90]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x587ae2(0x109)]['liteMenus'][_0x587ae2(0xec)];store[_0x587ae2(0xf3)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0xa427ad[_0x587ae2(0x102)](_0x165b22=>!_0x165b22[_0x587ae2(0xf8)]||_0x165b22[_0x587ae2(0xf8)]===_0x39ea90),'template':_0x2da86c});}
23
+ `,'variables':{'filters':[{'name':_0x41688f(0xa7),'operator':'eq','value':!0x0},{'name':_0x41688f(0xba),'operator':'in','value':['',_0x49b62e]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x41688f(0xb7)][_0x41688f(0x9c)][_0x41688f(0xbb)];store[_0x41688f(0xb5)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x173ffd[_0x41688f(0xb3)](_0x2be043=>!_0x2be043[_0x41688f(0xba)]||_0x2be043[_0x41688f(0xba)]===_0x49b62e),'template':_0x5470e4});}
@@ -13,6 +13,8 @@ import { MetaApi } from './utils/meta-api'
13
13
  import { registerEditor as gristColumnRegisterEditor,
14
14
  registerRenderer as gristColumnRegisterRenderer,
15
15
  registerFilterRenderer as gristRegisterFilterRenderer,
16
+ getRenderer as gristGetRenderer,
17
+ getEditor as gristGetEditor,
16
18
  getFilterRenderers as gristGetFilterRenderers } from '@operato/data-grist'
17
19
  import { registerFilterRenderer as formRegisterFilterRenderer,
18
20
  getFilterRenderers as formGetFilterRenderers } from '@operato/form'
@@ -21,10 +23,12 @@ import { registerFilterRenderer as formRegisterFilterRenderer,
21
23
  /** GRIST Renderer Compoment */
22
24
  import { GristRendererMetaCodeSelector } from './component/grist/renderer/grist-renderer-meta-code-selector'
23
25
  import { GristRendererMetaObjectSelector } from './component/grist/renderer/grist-renderer-meta-object-selector'
26
+ import { GristRendererCodeInput } from './component/grist/renderer/grist-renderer-code-input'
24
27
 
25
28
  /** GRIST Editor Component */
26
29
  import { GristEditorMetaCodeSelector } from './component/grist/editor/grist-editor-meta-code-selector'
27
30
  import { GristEditorMetaObjectSelector } from './component/grist/editor/grist-editor-meta-object-selector'
31
+ import { GristEditorCodeInput } from './component/grist/editor/grist-editor-code-input'
28
32
 
29
33
  /** Grist Filter Compoment */
30
34
  import { FilterGristMetaCodeSelect } from './component/filter/filter-grist-meta-code-select'
@@ -44,10 +48,13 @@ export default function bootstrap() {
44
48
  // GRIST Renderer
45
49
  gristColumnRegisterRenderer('meta-code-selector',GristRendererMetaCodeSelector);
46
50
  gristColumnRegisterRenderer('meta-object-selector',GristRendererMetaObjectSelector);
51
+ gristColumnRegisterRenderer('code-input',GristRendererCodeInput);
47
52
 
48
53
  // GRIST Editor
49
54
  gristColumnRegisterEditor('meta-code-selector', GristEditorMetaCodeSelector);
50
55
  gristColumnRegisterEditor('meta-object-selector', GristEditorMetaObjectSelector);
56
+ gristColumnRegisterEditor('code-input',GristEditorCodeInput);
57
+
51
58
 
52
59
  // Grist Filter Renderer
53
60
  gristRegisterFilterRenderer('meta-code-selector',[FilterGristMetaCodeSelect]);
@@ -1,16 +1,16 @@
1
- (function(_0x4bdcad,_0x38c10a){const _0x11a4d5=a0_0x4936,_0x3cc4ad=_0x4bdcad();while(!![]){try{const _0x1fb8dd=parseInt(_0x11a4d5(0x8b))/0x1*(parseInt(_0x11a4d5(0x84))/0x2)+-parseInt(_0x11a4d5(0x90))/0x3+-parseInt(_0x11a4d5(0x7a))/0x4+-parseInt(_0x11a4d5(0x94))/0x5*(parseInt(_0x11a4d5(0x96))/0x6)+parseInt(_0x11a4d5(0x8d))/0x7*(-parseInt(_0x11a4d5(0x7b))/0x8)+-parseInt(_0x11a4d5(0x7f))/0x9+parseInt(_0x11a4d5(0x87))/0xa*(parseInt(_0x11a4d5(0x79))/0xb);if(_0x1fb8dd===_0x38c10a)break;else _0x3cc4ad['push'](_0x3cc4ad['shift']());}catch(_0x72a3db){_0x3cc4ad['push'](_0x3cc4ad['shift']());}}}(a0_0x589a,0x8938c));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x4936(_0x28faf9,_0x2834c9){const _0x589a19=a0_0x589a();return a0_0x4936=function(_0x493639,_0x38ef63){_0x493639=_0x493639-0x79;let _0x1cf980=_0x589a19[_0x493639];return _0x1cf980;},a0_0x4936(_0x28faf9,_0x2834c9);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3bdd8e,_0x275bf8,_0x19db2d){const _0x8f5544=a0_0x4936;var _0x42ad1a=html`
1
+ (function(_0x5dde6c,_0x20f4e5){const _0x160300=a0_0x3803,_0x14dd5b=_0x5dde6c();while(!![]){try{const _0x40f3e1=parseInt(_0x160300(0x1fc))/0x1*(-parseInt(_0x160300(0x1ff))/0x2)+parseInt(_0x160300(0x1fb))/0x3+parseInt(_0x160300(0x20a))/0x4+-parseInt(_0x160300(0x202))/0x5+-parseInt(_0x160300(0x205))/0x6+-parseInt(_0x160300(0x1fa))/0x7+parseInt(_0x160300(0x20c))/0x8;if(_0x40f3e1===_0x20f4e5)break;else _0x14dd5b['push'](_0x14dd5b['shift']());}catch(_0xcf2aa1){_0x14dd5b['push'](_0x14dd5b['shift']());}}}(a0_0x596a,0xbc273));import'../popup/meta-object-selector-popup';function a0_0x596a(){const _0x208de9=['select_item','tMenu','change','codes','name','value','renderRoot','filter','selectorName','target','dispatchEvent','tTitle','10307661SNlPfd','4301124Motetu','38LslTWN','dispField','stopPropagation','24636yQFSmP','length','display','7064615TYSxSs','filter-change','form\x20[name=\x22','1669404Lfqwat','codeField','ox-grid-header','options','querySelector','3532200drprGA','[name=\x22','16685448xzPLAo','large'];a0_0x596a=function(){return _0x208de9;};return a0_0x596a();}import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x3803(_0x58c9ca,_0x26cd88){const _0x596a1d=a0_0x596a();return a0_0x3803=function(_0x3803a0,_0x3c7194){_0x3803a0=_0x3803a0-0x1ef;let _0x5c55aa=_0x596a1d[_0x3803a0];return _0x5c55aa;},a0_0x3803(_0x58c9ca,_0x26cd88);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x38b948,_0x5144fa,_0x44bde8){const _0x2fb63f=a0_0x3803;var _0x277989=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x275bf8}
4
- .options=${_0x3bdd8e[_0x8f5544(0x92)]}
5
- .confirmCallback=${_0x19db2d}
3
+ .value=${_0x5144fa}
4
+ .options=${_0x38b948[_0x2fb63f(0x208)]}
5
+ .confirmCallback=${_0x44bde8}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x42ad1a,{'backdrop':!0x0,'size':_0x8f5544(0x86),'title':_0x3bdd8e[_0x8f5544(0x92)][_0x8f5544(0x83)]?TermsUtil[_0x8f5544(0x93)](_0x3bdd8e[_0x8f5544(0x92)]['selectorName']):TermsUtil[_0x8f5544(0x7d)](_0x8f5544(0x88))});}export const FilterFormMetaCodeSelect=(_0x3a2ab1,_0x517f63,_0x4fc48b)=>{const _0x49a7de=a0_0x4936,_0x522022=_0x3a2ab1['options'],_0x128286=_0x522022['codes']&&_0x522022['codes'][_0x49a7de(0x89)]>0x0?_0x522022[_0x49a7de(0x8f)]:void 0x0,{operator:_0x2dd3f2='eq'}=_0x3a2ab1;let _0x2e83d9=_0x517f63||'',_0x5485af=_0x517f63||'';if(_0x522022['dispField']&&_0x517f63&&_0x128286){let _0x5a1bf7=_0x128286['filter'](_0x4de4c8=>_0x4de4c8[_0x49a7de(0x82)]==_0x517f63);_0x5a1bf7&&_0x5a1bf7[_0x49a7de(0x89)]>0x0&&(_0x5485af=_0x5a1bf7[0x0]['display']);}return'eq'===_0x2dd3f2?html`
8
- <input name='${_0x3a2ab1[_0x49a7de(0x7e)]}' .value=${_0x2e83d9} type="text" hidden></input>
7
+ `;openPopup(_0x277989,{'backdrop':!0x0,'size':_0x2fb63f(0x20d),'title':_0x38b948[_0x2fb63f(0x208)][_0x2fb63f(0x1f6)]?TermsUtil[_0x2fb63f(0x1ef)](_0x38b948[_0x2fb63f(0x208)][_0x2fb63f(0x1f6)]):TermsUtil[_0x2fb63f(0x1f9)](_0x2fb63f(0x20e))});}export const FilterFormMetaCodeSelect=(_0x2df4a2,_0x2ba135,_0x31007c)=>{const _0x3bf9c0=a0_0x3803,_0x5eb778=_0x2df4a2[_0x3bf9c0(0x208)],_0x10dba3=_0x5eb778[_0x3bf9c0(0x1f1)]&&_0x5eb778['codes'][_0x3bf9c0(0x200)]>0x0?_0x5eb778['codes']:void 0x0,{operator:_0x388027='eq'}=_0x2df4a2;let _0x3d2c71=_0x2ba135||'',_0x2bc4e0=_0x2ba135||'';if(_0x5eb778[_0x3bf9c0(0x1fd)]&&_0x2ba135&&_0x10dba3){let _0x5b3474=_0x10dba3[_0x3bf9c0(0x1f5)](_0x3a0b0f=>_0x3a0b0f[_0x3bf9c0(0x1f3)]==_0x2ba135);_0x5b3474&&_0x5b3474['length']>0x0&&(_0x2bc4e0=_0x5b3474[0x0][_0x3bf9c0(0x201)]);}return'eq'===_0x388027?html`
8
+ <input name='${_0x2df4a2['name']}' .value=${_0x3d2c71} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x3a2ab1[_0x49a7de(0x7e)]}_disp'
13
- .value=${_0x5485af}
14
- @click=${_0x412e64=>{const _0x5ec9c2=_0x49a7de;_0x412e64[_0x5ec9c2(0x7c)]();const _0x1562d9=_0x412e64[_0x5ec9c2(0x8e)];openMetaCodeSelector(_0x3a2ab1,_0x517f63,_0x617f62=>{const _0x28832a=_0x5ec9c2;let _0x55c847=_0x617f62?_0x617f62[_0x522022['codeField']]:'',_0x8d7e3f=_0x55c847;_0x617f62&&_0x522022[_0x28832a(0x81)]&&(_0x8d7e3f=_0x617f62[_0x522022[_0x28832a(0x81)]]),_0x1562d9[_0x28832a(0x82)]=_0x8d7e3f,(_0x28832a(0x97)==_0x4fc48b[_0x28832a(0x8c)][_0x28832a(0x85)]()?_0x4fc48b[_0x28832a(0x8a)]['querySelector']('[name=\x22'+_0x3a2ab1['name']+'\x22]'):_0x4fc48b[_0x28832a(0x8a)][_0x28832a(0x95)]('form\x20[name=\x22'+_0x3a2ab1['name']+'\x22]'))[_0x28832a(0x82)]=_0x55c847,_0x1562d9[_0x28832a(0x91)](new Event(_0x28832a(0x80),{'bubbles':!0x0})),_0x1562d9[_0x28832a(0x91)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3a2ab1[_0x28832a(0x7e)],'operator':_0x2dd3f2,'value':_0x55c847}}));});}}
12
+ name='${_0x2df4a2[_0x3bf9c0(0x1f2)]}_disp'
13
+ .value=${_0x2bc4e0}
14
+ @click=${_0x33e240=>{const _0x15692e=_0x3bf9c0;_0x33e240[_0x15692e(0x1fe)]();const _0x199a8f=_0x33e240[_0x15692e(0x1f7)];openMetaCodeSelector(_0x2df4a2,_0x2ba135,_0x3be46e=>{const _0x35ab5c=_0x15692e;let _0x142508=_0x3be46e?_0x3be46e[_0x5eb778[_0x35ab5c(0x206)]]:'',_0x3b60dd=_0x142508;_0x3be46e&&_0x5eb778[_0x35ab5c(0x1fd)]&&(_0x3b60dd=_0x3be46e[_0x5eb778[_0x35ab5c(0x1fd)]]),_0x199a8f[_0x35ab5c(0x1f3)]=_0x3b60dd,(_0x35ab5c(0x207)==_0x31007c['tagName']['toLowerCase']()?_0x31007c[_0x35ab5c(0x1f4)][_0x35ab5c(0x209)](_0x35ab5c(0x20b)+_0x2df4a2['name']+'\x22]'):_0x31007c[_0x35ab5c(0x1f4)][_0x35ab5c(0x209)](_0x35ab5c(0x204)+_0x2df4a2[_0x35ab5c(0x1f2)]+'\x22]'))[_0x35ab5c(0x1f3)]=_0x142508,_0x199a8f[_0x35ab5c(0x1f8)](new Event(_0x35ab5c(0x1f0),{'bubbles':!0x0})),_0x199a8f[_0x35ab5c(0x1f8)](new CustomEvent(_0x35ab5c(0x203),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2df4a2[_0x35ab5c(0x1f2)],'operator':_0x388027,'value':_0x142508}}));});}}
15
15
  />
16
- `:html``;};function a0_0x589a(){const _0x5d67db=['tagName','28znAKac','target','codes','2165499KXjasW','dispatchEvent','options','tMenu','8885sdOnER','querySelector','3324ggvalj','ox-grid-header','687951VrPWWj','2325684eirBID','1630176pDHVAL','stopPropagation','tTitle','name','3250638RHMuDS','change','dispField','value','selectorName','6QZPoIY','toLowerCase','large','470UBqiMn','select_item','length','renderRoot','362205OfHepy'];a0_0x589a=function(){return _0x5d67db;};return a0_0x589a();}
16
+ `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x3ee1f7,_0x5bb0b4){const _0x1811a8=a0_0x2e56,_0x1e9961=_0x3ee1f7();while(!![]){try{const _0x469268=parseInt(_0x1811a8(0xb1))/0x1+parseInt(_0x1811a8(0xa6))/0x2+parseInt(_0x1811a8(0x98))/0x3*(parseInt(_0x1811a8(0xa8))/0x4)+-parseInt(_0x1811a8(0xac))/0x5*(-parseInt(_0x1811a8(0xa3))/0x6)+-parseInt(_0x1811a8(0xa1))/0x7+-parseInt(_0x1811a8(0x9d))/0x8+-parseInt(_0x1811a8(0x9a))/0x9;if(_0x469268===_0x5bb0b4)break;else _0x1e9961['push'](_0x1e9961['shift']());}catch(_0x7197fe){_0x1e9961['push'](_0x1e9961['shift']());}}}(a0_0x598e,0xea044));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x3aa9b7,_0xb6d4be,_0x72a2ba){const _0x4f4abf=a0_0x2e56;var _0x371d71=html`
1
+ (function(_0x4a3f9a,_0x452cf0){const _0xf246f7=a0_0x8f3a,_0x4683a6=_0x4a3f9a();while(!![]){try{const _0x434e17=-parseInt(_0xf246f7(0x130))/0x1+-parseInt(_0xf246f7(0x135))/0x2*(parseInt(_0xf246f7(0x131))/0x3)+parseInt(_0xf246f7(0x12d))/0x4*(parseInt(_0xf246f7(0x12c))/0x5)+parseInt(_0xf246f7(0x148))/0x6+parseInt(_0xf246f7(0x13c))/0x7*(parseInt(_0xf246f7(0x13b))/0x8)+-parseInt(_0xf246f7(0x138))/0x9*(-parseInt(_0xf246f7(0x144))/0xa)+parseInt(_0xf246f7(0x145))/0xb;if(_0x434e17===_0x452cf0)break;else _0x4683a6['push'](_0x4683a6['shift']());}catch(_0x17103b){_0x4683a6['push'](_0x4683a6['shift']());}}}(a0_0x2131,0xddc3d));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x8f3a(_0x463581,_0x5be231){const _0x213171=a0_0x2131();return a0_0x8f3a=function(_0x8f3aa9,_0x2b0341){_0x8f3aa9=_0x8f3aa9-0x12c;let _0x58cdc9=_0x213171[_0x8f3aa9];return _0x58cdc9;},a0_0x8f3a(_0x463581,_0x5be231);}function openMetaObjectSelector(_0x162609,_0x2b2e3b,_0x290f96){const _0x52bcdf=a0_0x8f3a;var _0x1b8a32=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0xb6d4be}
4
- .options=${_0x3aa9b7['options']}
5
- .confirmCallback=${_0x72a2ba}
3
+ .value=${_0x2b2e3b}
4
+ .options=${_0x162609[_0x52bcdf(0x12f)]}
5
+ .confirmCallback=${_0x290f96}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x371d71,{'backdrop':!0x0,'size':_0x4f4abf(0x97),'title':_0x3aa9b7[_0x4f4abf(0xa7)][_0x4f4abf(0xaf)]?TermsUtil[_0x4f4abf(0x99)](_0x3aa9b7[_0x4f4abf(0xa7)][_0x4f4abf(0xaf)]):TermsUtil[_0x4f4abf(0xa9)](_0x4f4abf(0xa0))});}export const FilterFormMetaObjectSelect=(_0xd71ecb,_0x1ba8c8,_0x588648)=>{const _0xd1fe09=a0_0x2e56,_0x2c69a0=_0xd71ecb['options'],{operator:_0x5b0d5d='eq'}=_0xd71ecb;let _0xb3e654=_0x1ba8c8?_0x1ba8c8['id']:'',_0xba7adb=_0x1ba8c8?_0x1ba8c8[_0x2c69a0['nameField']]:'';return'eq'===_0x5b0d5d?html`
8
- <input name='${_0xd71ecb[_0xd1fe09(0xa4)]}' .value=${_0xb3e654} type="text" hidden></input>
7
+ `;openPopup(_0x1b8a32,{'backdrop':!0x0,'size':_0x52bcdf(0x13d),'title':_0x162609[_0x52bcdf(0x12f)][_0x52bcdf(0x146)]?TermsUtil[_0x52bcdf(0x12e)](_0x162609['options'][_0x52bcdf(0x146)]):TermsUtil[_0x52bcdf(0x133)]('select_item')});}export const FilterFormMetaObjectSelect=(_0x1a87e0,_0x215f5d,_0x56d88)=>{const _0x36b671=a0_0x8f3a,_0x100fa0=_0x1a87e0[_0x36b671(0x12f)],{operator:_0x4035fc='eq'}=_0x1a87e0;let _0x313d6a=_0x215f5d?_0x215f5d['id']:'',_0x136104=_0x215f5d?_0x215f5d[_0x100fa0['nameField']]:'';return'eq'===_0x4035fc?html`
8
+ <input name='${_0x1a87e0[_0x36b671(0x13f)]}' .value=${_0x313d6a} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0xd71ecb[_0xd1fe09(0xa4)]}_disp'
13
- .value=${_0xba7adb}
14
- @click=${_0x53ee85=>{const _0x57d1c5=_0xd1fe09;_0x53ee85[_0x57d1c5(0x9f)]();const _0x3f4667=_0x53ee85['target'];openMetaObjectSelector(_0xd71ecb,_0x1ba8c8,_0x374cd6=>{const _0x430ffb=_0x57d1c5;let _0xa18dd8=_0x374cd6?_0x374cd6['id']:'',_0x15330b=_0x374cd6?_0x374cd6[_0x2c69a0[_0x430ffb(0xab)]]:'';_0x3f4667[_0x430ffb(0x9b)]=_0x15330b,(_0x430ffb(0x9c)==_0x588648['tagName']['toLowerCase']()?_0x588648[_0x430ffb(0xad)][_0x430ffb(0xa2)](_0x430ffb(0xaa)+_0xd71ecb[_0x430ffb(0xa4)]+'\x22]'):_0x588648['renderRoot'][_0x430ffb(0xa2)](_0x430ffb(0xb0)+_0xd71ecb['name']+'\x22]'))[_0x430ffb(0x9b)]=_0xa18dd8,_0x3f4667[_0x430ffb(0x9e)](new Event(_0x430ffb(0xa5),{'bubbles':!0x0})),_0x3f4667[_0x430ffb(0x9e)](new CustomEvent(_0x430ffb(0xae),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xd71ecb[_0x430ffb(0xa4)],'operator':_0x5b0d5d,'value':_0xa18dd8}}));});}}
12
+ name='${_0x1a87e0[_0x36b671(0x13f)]}_disp'
13
+ .value=${_0x136104}
14
+ @click=${_0x3e2dbc=>{const _0x4ac886=_0x36b671;_0x3e2dbc[_0x4ac886(0x134)]();const _0x3b3c49=_0x3e2dbc[_0x4ac886(0x147)];openMetaObjectSelector(_0x1a87e0,_0x215f5d,_0x56bbfc=>{const _0x5ac948=_0x4ac886;let _0x3e2938=_0x56bbfc?_0x56bbfc['id']:'',_0x3d4a2f=_0x56bbfc?_0x56bbfc[_0x100fa0['nameField']]:'';_0x3b3c49[_0x5ac948(0x132)]=_0x3d4a2f,(_0x5ac948(0x149)==_0x56d88[_0x5ac948(0x140)][_0x5ac948(0x136)]()?_0x56d88[_0x5ac948(0x141)][_0x5ac948(0x137)](_0x5ac948(0x13e)+_0x1a87e0['name']+'\x22]'):_0x56d88[_0x5ac948(0x141)][_0x5ac948(0x137)](_0x5ac948(0x143)+_0x1a87e0[_0x5ac948(0x13f)]+'\x22]'))[_0x5ac948(0x132)]=_0x3e2938,_0x3b3c49[_0x5ac948(0x13a)](new Event(_0x5ac948(0x142),{'bubbles':!0x0})),_0x3b3c49['dispatchEvent'](new CustomEvent(_0x5ac948(0x139),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1a87e0[_0x5ac948(0x13f)],'operator':_0x4035fc,'value':_0x3e2938}}));});}}
15
15
  />
16
- `:html``;};function a0_0x2e56(_0x107ea6,_0x1387ae){const _0x598e8b=a0_0x598e();return a0_0x2e56=function(_0x2e56a1,_0x3213ed){_0x2e56a1=_0x2e56a1-0x97;let _0x183caa=_0x598e8b[_0x2e56a1];return _0x183caa;},a0_0x2e56(_0x107ea6,_0x1387ae);}function a0_0x598e(){const _0x103eb6=['486349SfruSQ','large','722298aPlwyQ','tMenu','4556880FjUBrp','value','ox-grid-header','6074264aNWRaS','dispatchEvent','stopPropagation','select_item','6395319hqJRdd','querySelector','1398xgNEhG','name','change','1251872UWsyGi','options','12OarLKF','tTitle','[name=\x22','nameField','27965pnomuF','renderRoot','filter-change','selectorName','form\x20[name=\x22'];a0_0x598e=function(){return _0x103eb6;};return a0_0x598e();}
16
+ `:html``;};function a0_0x2131(){const _0x3e7e4b=['1630iPMjig','9437648jHhWax','selectorName','target','740628lqyYIt','ox-grid-header','226495BwXtkc','4XiFhDv','tMenu','options','310326DXPGEw','321JGiXhL','value','tTitle','stopPropagation','26812vdfQht','toLowerCase','querySelector','16623anSVFi','filter-change','dispatchEvent','10602808sQDVcA','7uDJCWv','large','[name=\x22','name','tagName','renderRoot','change','form\x20[name=\x22'];a0_0x2131=function(){return _0x3e7e4b;};return a0_0x2131();}
@@ -1,16 +1,16 @@
1
- function a0_0x19d7(){const _0x34780e=['options','filter-change','selectorName','11689290clSsaK','ox-grid-header','6dFYGiS','tMenu','record','codes','renderRoot','dispField','querySelector','dispatchEvent','name','6bXRtmw','value','filter','6668245mFWnQC','352072WPRLSq','target','display','change','tTitle','538488BMtVnA','841400eAMVzO','large','9815680WZNxBH','1301406TwncqT'];a0_0x19d7=function(){return _0x34780e;};return a0_0x19d7();}(function(_0x3e0d6f,_0x20bf48){const _0x807ed7=a0_0x2548,_0x597418=_0x3e0d6f();while(!![]){try{const _0xe6c836=parseInt(_0x807ed7(0x183))/0x1+-parseInt(_0x807ed7(0x186))/0x2*(parseInt(_0x807ed7(0x179))/0x3)+-parseInt(_0x807ed7(0x182))/0x4+parseInt(_0x807ed7(0x17c))/0x5*(-parseInt(_0x807ed7(0x18c))/0x6)+parseInt(_0x807ed7(0x185))/0x7+-parseInt(_0x807ed7(0x17d))/0x8+parseInt(_0x807ed7(0x18a))/0x9;if(_0xe6c836===_0x20bf48)break;else _0x597418['push'](_0x597418['shift']());}catch(_0x18f59d){_0x597418['push'](_0x597418['shift']());}}}(a0_0x19d7,0xb1ebc));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x5a4888,_0x1eac95,_0xcde172){const _0x387b81=a0_0x2548;var _0x3a6269=html`
1
+ function a0_0x135e(){const _0x307235=['filter','length','name','value','change','options','2959732KTqZLr','codes','43290VggbjK','form\x20[name=\x22','renderRoot','968yiIOYO','1941783crQpWY','select_item','querySelector','target','record','505OYRcme','dispField','56485mYEQPk','selectorName','1147622qoKsnd','large','dispatchEvent','ox-grid-header','123003WJCHLf','tMenu','tagName','codeField','stopPropagation','134351dEIlsa'];a0_0x135e=function(){return _0x307235;};return a0_0x135e();}(function(_0x2b0b86,_0x27ae1b){const _0x50868b=a0_0x47ef,_0x58c1ae=_0x2b0b86();while(!![]){try{const _0x5cedcd=-parseInt(_0x50868b(0x14e))/0x1+-parseInt(_0x50868b(0x150))/0x2+-parseInt(_0x50868b(0x147))/0x3+-parseInt(_0x50868b(0x141))/0x4+parseInt(_0x50868b(0x14c))/0x5*(parseInt(_0x50868b(0x143))/0x6)+parseInt(_0x50868b(0x13a))/0x7+-parseInt(_0x50868b(0x146))/0x8*(-parseInt(_0x50868b(0x135))/0x9);if(_0x5cedcd===_0x27ae1b)break;else _0x58c1ae['push'](_0x58c1ae['shift']());}catch(_0x5c5131){_0x58c1ae['push'](_0x58c1ae['shift']());}}}(a0_0x135e,0x5dc7d));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x47ef(_0x147935,_0x5f06eb){const _0x135ebc=a0_0x135e();return a0_0x47ef=function(_0x47ef6f,_0x563838){_0x47ef6f=_0x47ef6f-0x135;let _0x937397=_0x135ebc[_0x47ef6f];return _0x937397;},a0_0x47ef(_0x147935,_0x5f06eb);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x5d376a,_0x1e68f9,_0x347975){const _0x5331a8=a0_0x47ef;var _0x4142df=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x1eac95}
4
- .options=${_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)]}
5
- .confirmCallback=${_0xcde172}
3
+ .value=${_0x1e68f9}
4
+ .options=${_0x5d376a[_0x5331a8(0x14b)][_0x5331a8(0x140)]}
5
+ .confirmCallback=${_0x347975}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x3a6269,{'backdrop':!0x0,'size':_0x387b81(0x184),'title':_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)][_0x387b81(0x189)]?TermsUtil[_0x387b81(0x18d)](_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)][_0x387b81(0x189)]):TermsUtil[_0x387b81(0x181)]('select_item')});}function a0_0x2548(_0x33aaba,_0x4b5c8a){const _0x19d758=a0_0x19d7();return a0_0x2548=function(_0x25487d,_0x22f81a){_0x25487d=_0x25487d-0x173;let _0x596050=_0x19d758[_0x25487d];return _0x596050;},a0_0x2548(_0x33aaba,_0x4b5c8a);}export const FilterGristMetaCodeSelect=(_0x99b6ae,_0x52132b,_0x2614a2)=>{const _0x240f4d=a0_0x2548,_0x46e9e7=_0x99b6ae[_0x240f4d(0x17b)],_0x58d388=_0x99b6ae['record'][_0x240f4d(0x187)],_0x5c5cf0=_0x58d388['codes']&&_0x58d388[_0x240f4d(0x173)]['length']>0x0?_0x58d388[_0x240f4d(0x173)]:void 0x0,{operator:_0x43e1b7='eq'}=_0x46e9e7;let _0x1e804c=_0x52132b||'',_0x39dffd=_0x52132b||'';if(_0x58d388['dispField']&&_0x52132b&&_0x5c5cf0){let _0x52f302=_0x5c5cf0[_0x240f4d(0x17b)](_0x296001=>_0x296001[_0x240f4d(0x17a)]==_0x52132b);_0x52f302&&_0x52f302['length']>0x0&&(_0x39dffd=_0x52f302[0x0][_0x240f4d(0x17f)]);}return'eq'===_0x43e1b7?html`
8
- <input name='${_0x99b6ae['name']}' .value=${_0x1e804c} type="text" hidden></input>
7
+ `;openPopup(_0x4142df,{'backdrop':!0x0,'size':_0x5331a8(0x151),'title':_0x5d376a[_0x5331a8(0x14b)][_0x5331a8(0x140)][_0x5331a8(0x14f)]?TermsUtil[_0x5331a8(0x136)](_0x5d376a[_0x5331a8(0x14b)][_0x5331a8(0x140)][_0x5331a8(0x14f)]):TermsUtil['tTitle'](_0x5331a8(0x148))});}export const FilterGristMetaCodeSelect=(_0x1f48af,_0x253d77,_0x1fff12)=>{const _0x16023c=a0_0x47ef,_0x13dc33=_0x1f48af[_0x16023c(0x13b)],_0x133b94=_0x1f48af['record']['options'],_0x4bdc0c=_0x133b94[_0x16023c(0x142)]&&_0x133b94[_0x16023c(0x142)][_0x16023c(0x13c)]>0x0?_0x133b94[_0x16023c(0x142)]:void 0x0,{operator:_0x934c7b='eq'}=_0x13dc33;let _0x33444f=_0x253d77||'',_0x168d63=_0x253d77||'';if(_0x133b94['dispField']&&_0x253d77&&_0x4bdc0c){let _0x277e3d=_0x4bdc0c[_0x16023c(0x13b)](_0x392fc0=>_0x392fc0[_0x16023c(0x13e)]==_0x253d77);_0x277e3d&&_0x277e3d['length']>0x0&&(_0x168d63=_0x277e3d[0x0]['display']);}return'eq'===_0x934c7b?html`
8
+ <input name='${_0x1f48af[_0x16023c(0x13d)]}' .value=${_0x33444f} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x99b6ae[_0x240f4d(0x178)]}_disp'
13
- .value=${_0x39dffd}
14
- @click=${_0x4b3fe9=>{const _0x2d9240=_0x240f4d;_0x4b3fe9['stopPropagation']();const _0x5ad3c4=_0x4b3fe9[_0x2d9240(0x17e)];openMetaCodeSelector(_0x99b6ae,_0x52132b,_0x344594=>{const _0xa8061a=_0x2d9240;let _0x4af005=_0x344594?_0x344594[_0x58d388['codeField']]:'',_0x4d8b7b=_0x4af005;_0x344594&&_0x58d388[_0xa8061a(0x175)]&&(_0x4d8b7b=_0x344594[_0x58d388[_0xa8061a(0x175)]]),_0x5ad3c4[_0xa8061a(0x17a)]=_0x4d8b7b,(_0xa8061a(0x18b)==_0x2614a2['tagName']['toLowerCase']()?_0x2614a2['renderRoot'][_0xa8061a(0x176)]('[name=\x22'+_0x46e9e7[_0xa8061a(0x178)]+'\x22]'):_0x2614a2[_0xa8061a(0x174)]['querySelector']('form\x20[name=\x22'+_0x46e9e7[_0xa8061a(0x178)]+'\x22]'))[_0xa8061a(0x17a)]=_0x4af005,_0x5ad3c4[_0xa8061a(0x177)](new Event(_0xa8061a(0x180),{'bubbles':!0x0})),_0x5ad3c4[_0xa8061a(0x177)](new CustomEvent(_0xa8061a(0x188),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x99b6ae['name'],'operator':_0x43e1b7,'value':_0x4af005}}));});}}
12
+ name='${_0x1f48af[_0x16023c(0x13d)]}_disp'
13
+ .value=${_0x168d63}
14
+ @click=${_0x4a22ac=>{const _0x1ac5f7=_0x16023c;_0x4a22ac[_0x1ac5f7(0x139)]();const _0x676344=_0x4a22ac[_0x1ac5f7(0x14a)];openMetaCodeSelector(_0x1f48af,_0x253d77,_0x3a9a2b=>{const _0x163fcc=_0x1ac5f7;let _0x11439f=_0x3a9a2b?_0x3a9a2b[_0x133b94[_0x163fcc(0x138)]]:'',_0x275f1d=_0x11439f;_0x3a9a2b&&_0x133b94['dispField']&&(_0x275f1d=_0x3a9a2b[_0x133b94[_0x163fcc(0x14d)]]),_0x676344['value']=_0x275f1d,(_0x163fcc(0x153)==_0x1fff12[_0x163fcc(0x137)]['toLowerCase']()?_0x1fff12[_0x163fcc(0x145)][_0x163fcc(0x149)]('[name=\x22'+_0x13dc33[_0x163fcc(0x13d)]+'\x22]'):_0x1fff12['renderRoot']['querySelector'](_0x163fcc(0x144)+_0x13dc33['name']+'\x22]'))['value']=_0x11439f,_0x676344['dispatchEvent'](new Event(_0x163fcc(0x13f),{'bubbles':!0x0})),_0x676344[_0x163fcc(0x152)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1f48af[_0x163fcc(0x13d)],'operator':_0x934c7b,'value':_0x11439f}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x322829,_0x291bc1){const _0x40ef03=a0_0x1699,_0x5cb88d=_0x322829();while(!![]){try{const _0x54b020=parseInt(_0x40ef03(0xde))/0x1*(parseInt(_0x40ef03(0xd4))/0x2)+parseInt(_0x40ef03(0xe3))/0x3+-parseInt(_0x40ef03(0xda))/0x4*(parseInt(_0x40ef03(0xd6))/0x5)+parseInt(_0x40ef03(0xe2))/0x6*(-parseInt(_0x40ef03(0xe7))/0x7)+parseInt(_0x40ef03(0xe9))/0x8+parseInt(_0x40ef03(0xcf))/0x9*(parseInt(_0x40ef03(0xe6))/0xa)+-parseInt(_0x40ef03(0xdb))/0xb;if(_0x54b020===_0x291bc1)break;else _0x5cb88d['push'](_0x5cb88d['shift']());}catch(_0x513022){_0x5cb88d['push'](_0x5cb88d['shift']());}}}(a0_0x77aa,0xea2d7));import'../selector/meta-object-selector-popup';function a0_0x77aa(){const _0x940294=['198MjJzUi','value','form\x20[name=\x22','nameField','record','13380Vstnuk','change','5653015GawbMI','toLowerCase','tMenu','ox-grid-header','4nHpQfs','17249463IJTvNb','stopPropagation','name','262AenSFr','tagName','select_item','filter-change','6mmhuUq','4471767jJakOi','querySelector','options','510410aLTyte','6940703ouSFhg','[name=\x22','2265480scTTBn','tTitle','large','filter','dispatchEvent'];a0_0x77aa=function(){return _0x940294;};return a0_0x77aa();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x46d595,_0x1bb5f8,_0x43882b){const _0x2f245c=a0_0x1699;var _0x231fcc=html`
1
+ (function(_0xfc26e,_0x1d6b38){const _0x15a0e8=a0_0x2ef0,_0x613eb9=_0xfc26e();while(!![]){try{const _0x2fef06=-parseInt(_0x15a0e8(0xb0))/0x1*(parseInt(_0x15a0e8(0xb4))/0x2)+-parseInt(_0x15a0e8(0xcc))/0x3*(parseInt(_0x15a0e8(0xb6))/0x4)+parseInt(_0x15a0e8(0xbb))/0x5+parseInt(_0x15a0e8(0xc9))/0x6*(parseInt(_0x15a0e8(0xb9))/0x7)+parseInt(_0x15a0e8(0xbe))/0x8*(-parseInt(_0x15a0e8(0xc8))/0x9)+-parseInt(_0x15a0e8(0xcb))/0xa*(-parseInt(_0x15a0e8(0xb2))/0xb)+parseInt(_0x15a0e8(0xbf))/0xc*(parseInt(_0x15a0e8(0xb7))/0xd);if(_0x2fef06===_0x1d6b38)break;else _0x613eb9['push'](_0x613eb9['shift']());}catch(_0x4e65c2){_0x613eb9['push'](_0x613eb9['shift']());}}}(a0_0x200b,0x4e549));import'../popup/meta-object-selector-popup';function a0_0x2ef0(_0x514e25,_0x54e483){const _0x200bc4=a0_0x200b();return a0_0x2ef0=function(_0x2ef062,_0x4d4cb3){_0x2ef062=_0x2ef062-0xb0;let _0x4cfe63=_0x200bc4[_0x2ef062];return _0x4cfe63;},a0_0x2ef0(_0x514e25,_0x54e483);}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x200b(){const _0x298af0=['4916637QagBab','61332GveUsx','tMenu','10ViUEso','268689XWKoZj','[name=\x22','97927hboHdE','options','3431769havpib','filter','2pqQsId','selectorName','20BFdUXn','4069lbUnsF','value','245AvhgWI','renderRoot','2014480BiniNH','select_item','name','8ROZnik','13044XsKmGa','nameField','record','toLowerCase','querySelector','filter-change','tTitle','dispatchEvent','tagName'];a0_0x200b=function(){return _0x298af0;};return a0_0x200b();}function openMetaObjectSelector(_0x96fa40,_0x3a3e86,_0x273896){const _0x31b415=a0_0x2ef0;var _0x48fd31=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x1bb5f8}
4
- .options=${_0x46d595[_0x2f245c(0xd3)]['options']}
5
- .confirmCallback=${_0x43882b}
3
+ .value=${_0x3a3e86}
4
+ .options=${_0x96fa40[_0x31b415(0xc1)][_0x31b415(0xb1)]}
5
+ .confirmCallback=${_0x273896}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x231fcc,{'backdrop':!0x0,'size':_0x2f245c(0xeb),'title':_0x46d595[_0x2f245c(0xd3)][_0x2f245c(0xe5)]['selectorName']?TermsUtil[_0x2f245c(0xd8)](_0x46d595[_0x2f245c(0xd3)][_0x2f245c(0xe5)]['selectorName']):TermsUtil[_0x2f245c(0xea)](_0x2f245c(0xe0))});}function a0_0x1699(_0x3d28aa,_0x23593d){const _0x77aad0=a0_0x77aa();return a0_0x1699=function(_0x16991f,_0x303867){_0x16991f=_0x16991f-0xcd;let _0x585d27=_0x77aad0[_0x16991f];return _0x585d27;},a0_0x1699(_0x3d28aa,_0x23593d);}export const FilterGristMetaObjectSelect=(_0x1d0761,_0x400f2e,_0xaec491)=>{const _0xfcc144=a0_0x1699,_0x549560=_0x1d0761[_0xfcc144(0xcd)],{operator:_0x19c1f0='eq'}=_0x549560,_0x4d249a=_0x1d0761[_0xfcc144(0xd3)][_0xfcc144(0xe5)];let _0x1f64ed=_0x400f2e?_0x400f2e['id']:'',_0x4de7a6=_0x400f2e?_0x400f2e[_0x4d249a[_0xfcc144(0xd2)]]:'';return'eq'===_0x19c1f0?html`
8
- <input name='${_0x1d0761[_0xfcc144(0xdd)]}' .value=${_0x1f64ed} type="text" hidden></input>
7
+ `;openPopup(_0x48fd31,{'backdrop':!0x0,'size':'large','title':_0x96fa40['record'][_0x31b415(0xb1)]['selectorName']?TermsUtil[_0x31b415(0xca)](_0x96fa40[_0x31b415(0xc1)]['options'][_0x31b415(0xb5)]):TermsUtil[_0x31b415(0xc5)](_0x31b415(0xbc))});}export const FilterGristMetaObjectSelect=(_0x5f52b1,_0x4fc12f,_0x4a2b9a)=>{const _0x5c1951=a0_0x2ef0,_0x33ed29=_0x5f52b1[_0x5c1951(0xb3)],{operator:_0x169a9c='eq'}=_0x33ed29,_0x28bcdc=_0x5f52b1['record']['options'];let _0x29ecc1=_0x4fc12f?_0x4fc12f['id']:'',_0x42c175=_0x4fc12f?_0x4fc12f[_0x28bcdc[_0x5c1951(0xc0)]]:'';return'eq'===_0x169a9c?html`
8
+ <input name='${_0x5f52b1[_0x5c1951(0xbd)]}' .value=${_0x29ecc1} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x1d0761[_0xfcc144(0xdd)]}_disp'
13
- .value=${_0x4de7a6}
14
- @click=${_0x563cf4=>{const _0x3c2d45=_0xfcc144;_0x563cf4[_0x3c2d45(0xdc)]();const _0x3a0be7=_0x563cf4['target'];openMetaObjectSelector(_0x1d0761,_0x400f2e,_0x320435=>{const _0x63a631=_0x3c2d45;let _0x54e4e1=_0x320435?_0x320435['id']:'',_0x3eb34a=_0x320435?_0x320435[_0x4d249a[_0x63a631(0xd2)]]:'';_0x3a0be7['value']=_0x3eb34a,(_0x63a631(0xd9)==_0xaec491[_0x63a631(0xdf)][_0x63a631(0xd7)]()?_0xaec491['renderRoot']['querySelector'](_0x63a631(0xe8)+_0x549560[_0x63a631(0xdd)]+'\x22]'):_0xaec491['renderRoot'][_0x63a631(0xe4)](_0x63a631(0xd1)+_0x549560[_0x63a631(0xdd)]+'\x22]'))[_0x63a631(0xd0)]=_0x54e4e1,_0x3a0be7[_0x63a631(0xce)](new Event(_0x63a631(0xd5),{'bubbles':!0x0})),_0x3a0be7[_0x63a631(0xce)](new CustomEvent(_0x63a631(0xe1),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1d0761['name'],'operator':_0x19c1f0,'value':_0x54e4e1}}));});}}
12
+ name='${_0x5f52b1[_0x5c1951(0xbd)]}_disp'
13
+ .value=${_0x42c175}
14
+ @click=${_0x508380=>{_0x508380['stopPropagation']();const _0x23bd65=_0x508380['target'];openMetaObjectSelector(_0x5f52b1,_0x4fc12f,_0x2643ca=>{const _0x155658=a0_0x2ef0;let _0x2f1c61=_0x2643ca?_0x2643ca['id']:'',_0x290078=_0x2643ca?_0x2643ca[_0x28bcdc[_0x155658(0xc0)]]:'';_0x23bd65[_0x155658(0xb8)]=_0x290078,('ox-grid-header'==_0x4a2b9a[_0x155658(0xc7)][_0x155658(0xc2)]()?_0x4a2b9a[_0x155658(0xba)][_0x155658(0xc3)](_0x155658(0xcd)+_0x33ed29[_0x155658(0xbd)]+'\x22]'):_0x4a2b9a[_0x155658(0xba)][_0x155658(0xc3)]('form\x20[name=\x22'+_0x33ed29['name']+'\x22]'))[_0x155658(0xb8)]=_0x2f1c61,_0x23bd65[_0x155658(0xc6)](new Event('change',{'bubbles':!0x0})),_0x23bd65[_0x155658(0xc6)](new CustomEvent(_0x155658(0xc4),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5f52b1[_0x155658(0xbd)],'operator':_0x169a9c,'value':_0x2f1c61}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -0,0 +1,8 @@
1
+ const a0_0x2efec4=a0_0x224d;(function(_0x1db97b,_0x468076){const _0x1ab3cb=a0_0x224d,_0x36f9de=_0x1db97b();while(!![]){try{const _0x336e21=-parseInt(_0x1ab3cb(0x1f4))/0x1*(-parseInt(_0x1ab3cb(0x1eb))/0x2)+parseInt(_0x1ab3cb(0x1e0))/0x3*(-parseInt(_0x1ab3cb(0x1e3))/0x4)+-parseInt(_0x1ab3cb(0x1f3))/0x5*(-parseInt(_0x1ab3cb(0x1d8))/0x6)+parseInt(_0x1ab3cb(0x1db))/0x7*(-parseInt(_0x1ab3cb(0x1da))/0x8)+-parseInt(_0x1ab3cb(0x1f6))/0x9*(parseInt(_0x1ab3cb(0x1f1))/0xa)+parseInt(_0x1ab3cb(0x1e4))/0xb+parseInt(_0x1ab3cb(0x1f8))/0xc;if(_0x336e21===_0x468076)break;else _0x36f9de['push'](_0x36f9de['shift']());}catch(_0x55b585){_0x36f9de['push'](_0x36f9de['shift']());}}}(a0_0x1b63,0x7fbbc));function a0_0x1b63(){const _0x1478c8=['dispatchEvent','column','code-editor','36118Mxfgdx','key','stopPropagation','openEditor','object','record','190XDPZFP','define','20oDVdUD','4STRaWP','grist-editor-code-input','341676HulwJj','_onkeydown','29235180hCmuSH','firstUpdated','365208QURZxG','row','8116744QsyWwK','7jclwUt','value','large','popup','substring','549246mbtHfa','...','length','20uPAELb','4647962ZIgAXy','_onclick','parse','stringify'];a0_0x1b63=function(){return _0x1478c8;};return a0_0x1b63();}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 _0x169431=a0_0x224d;let _0x4130a6;return this[_0x169431(0x1dc)]&&(_0x4130a6=_0x169431(0x1ef)==typeof this[_0x169431(0x1dc)]?JSON[_0x169431(0x1e7)](this[_0x169431(0x1dc)],0x0,0x2):this['value'],_0x4130a6=_0x4130a6[_0x169431(0x1e2)]>0x14?_0x4130a6[_0x169431(0x1df)](0x0,0x14)+_0x169431(0x1e1):_0x4130a6),html`
2
+ ${_0x4130a6?html` <span tabindex="0" style="flex:1;">${_0x4130a6}</span> `:html`<span tabindex="0" ></span>`}
3
+ `;}async[a0_0x2efec4(0x1f9)](){super['firstUpdated']();}[a0_0x2efec4(0x1e5)](_0x440a3a){const _0x3e1ee2=a0_0x2efec4;_0x440a3a[_0x3e1ee2(0x1ed)](),this[_0x3e1ee2(0x1ee)]();}[a0_0x2efec4(0x1f7)](_0x5a0a2a){const _0x183b7e=a0_0x2efec4;'Enter'==_0x5a0a2a[_0x183b7e(0x1ec)]&&(_0x5a0a2a[_0x183b7e(0x1ed)](),this['openEditor']());}['openEditor'](){const _0x5ba3d7=a0_0x2efec4;this[_0x5ba3d7(0x1de)]&&delete this[_0x5ba3d7(0x1de)];var _0x431897=html`
4
+ <code-input-editor-popup
5
+ .value=${this[_0x5ba3d7(0x1dc)]}
6
+ .confirmCallback=${(_0x420345=>{const _0x3f0786=_0x5ba3d7;this[_0x3f0786(0x1e8)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x420345?'object'==typeof this['value']?JSON[_0x3f0786(0x1e6)](_0x420345):_0x420345:null,'record':this[_0x3f0786(0x1f0)],'column':this[_0x3f0786(0x1e9)],'row':this[_0x3f0786(0x1d9)]}}));})['bind'](this)}
7
+ ></code-input-editor-popup>
8
+ `;this[_0x5ba3d7(0x1de)]=openPopup(_0x431897,{'backdrop':!0x0,'size':_0x5ba3d7(0x1dd),'title':TermsUtil['tTitle'](_0x5ba3d7(0x1ea))});}}function a0_0x224d(_0x4bf157,_0x2b5fc0){const _0x1b63b5=a0_0x1b63();return a0_0x224d=function(_0x224d4a,_0x3dfc34){_0x224d4a=_0x224d4a-0x1d8;let _0x1466cd=_0x1b63b5[_0x224d4a];return _0x1466cd;},a0_0x224d(_0x4bf157,_0x2b5fc0);}customElements[a0_0x2efec4(0x1f2)](a0_0x2efec4(0x1f5),GristEditorCodeInput);
@@ -1,9 +1,9 @@
1
- const a0_0x413564=a0_0x4a1c;(function(_0x7673cf,_0x590857){const _0x4f4452=a0_0x4a1c,_0x441bc7=_0x7673cf();while(!![]){try{const _0xa5550f=-parseInt(_0x4f4452(0xb8))/0x1*(-parseInt(_0x4f4452(0xb6))/0x2)+-parseInt(_0x4f4452(0xbb))/0x3*(-parseInt(_0x4f4452(0xc6))/0x4)+parseInt(_0x4f4452(0xbf))/0x5*(-parseInt(_0x4f4452(0xc8))/0x6)+parseInt(_0x4f4452(0xc3))/0x7+parseInt(_0x4f4452(0xb2))/0x8+-parseInt(_0x4f4452(0xad))/0x9+-parseInt(_0x4f4452(0xcf))/0xa;if(_0xa5550f===_0x590857)break;else _0x441bc7['push'](_0x441bc7['shift']());}catch(_0x54bcdd){_0x441bc7['push'](_0x441bc7['shift']());}}}(a0_0x1041,0x657a4));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x4a1c(_0x2322e9,_0x338154){const _0x104116=a0_0x1041();return a0_0x4a1c=function(_0x4a1cdb,_0x472f3d){_0x4a1cdb=_0x4a1cdb-0xab;let _0x3fa00c=_0x104116[_0x4a1cdb];return _0x3fa00c;},a0_0x4a1c(_0x2322e9,_0x338154);}function a0_0x1041(){const _0x4d1bca=['4CxZfkH','filter','60ioLAUS','row','define','large','display','column','value','2129940XqKVRy','tMenu','forEach','dispatchEvent','3605922XukbTA','record','popup','_onclick','codeField','2241832PPTyWc','length','key','keys','22856CxQGnv','dispField','11SNPXBi','openSelector','properties','1132845CQfcyM','field-change','Enter','codes','38905utegHu','options','editorTemplate','select_item','2264934ykWeXS','push','firstUpdated'];a0_0x1041=function(){return _0x4d1bca;};return a0_0x1041();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x413564(0xba)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x413564(0xc1)](){const _0x53308b=a0_0x413564;let _0x4c92cb='';if(this[_0x53308b(0xcd)][_0x53308b(0xae)]&&this[_0x53308b(0xcd)][_0x53308b(0xae)]['options']){if(this[_0x53308b(0xcd)][_0x53308b(0xae)]['options'][_0x53308b(0xb7)]){let _0x12969d=this[_0x53308b(0xcd)][_0x53308b(0xae)]['options'][_0x53308b(0xbe)]||[];if(this[_0x53308b(0xce)]&&this[_0x53308b(0xce)][_0x53308b(0xb3)]>0x0){let _0x238fe1=_0x12969d[_0x53308b(0xc7)](_0x55c74a=>_0x55c74a[_0x53308b(0xce)]===this[_0x53308b(0xce)]);_0x4c92cb=_0x238fe1&&_0x238fe1[_0x53308b(0xb3)]>0x0?_0x238fe1[0x0][_0x53308b(0xcc)]:'';}}else _0x4c92cb=this[_0x53308b(0xce)];}else _0x4c92cb='';return html`
2
- ${_0x4c92cb?html` <span tabindex="0" style="flex:1">${_0x4c92cb}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async[a0_0x413564(0xc5)](){const _0x4e5501=a0_0x413564;super[_0x4e5501(0xc5)]();}[a0_0x413564(0xb0)](_0xb612d2){const _0x224b97=a0_0x413564;_0xb612d2['stopPropagation'](),this[_0x224b97(0xb9)]();}['_onkeydown'](_0x5afe8c){const _0x48fcc4=a0_0x413564;_0x48fcc4(0xbd)==_0x5afe8c[_0x48fcc4(0xb4)]&&(_0x5afe8c['stopPropagation'](),this[_0x48fcc4(0xb9)]());}[a0_0x413564(0xb9)](){const _0x1ba3aa=a0_0x413564;this[_0x1ba3aa(0xaf)]&&delete this['popup'];var {selectorName:_0x15c753=TermsUtil['tTitle'](_0x1ba3aa(0xc2))}=this[_0x1ba3aa(0xcd)][_0x1ba3aa(0xae)]['options']||{},_0x9d4ee6=html`
1
+ const a0_0x589c82=a0_0x1cc1;(function(_0x53368f,_0x295b3e){const _0x37aced=a0_0x1cc1,_0x5f3039=_0x53368f();while(!![]){try{const _0x52030c=parseInt(_0x37aced(0x88))/0x1+-parseInt(_0x37aced(0x87))/0x2+parseInt(_0x37aced(0x78))/0x3+parseInt(_0x37aced(0x83))/0x4+-parseInt(_0x37aced(0x81))/0x5+parseInt(_0x37aced(0x80))/0x6+-parseInt(_0x37aced(0x7e))/0x7;if(_0x52030c===_0x295b3e)break;else _0x5f3039['push'](_0x5f3039['shift']());}catch(_0x501dea){_0x5f3039['push'](_0x5f3039['shift']());}}}(a0_0x4cda,0xa33ec));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_0x1cc1(_0x5c6b14,_0x1865fa){const _0x4cdae6=a0_0x4cda();return a0_0x1cc1=function(_0x1cc148,_0x107d69){_0x1cc148=_0x1cc148-0x6f;let _0x33e71a=_0x4cdae6[_0x1cc148];return _0x33e71a;},a0_0x1cc1(_0x5c6b14,_0x1865fa);}export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x589c82(0x8e)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x589c82(0x8a)](){const _0x117631=a0_0x589c82;let _0x47e6d7='';if(this[_0x117631(0x90)][_0x117631(0x8d)]&&this[_0x117631(0x90)][_0x117631(0x8d)][_0x117631(0x8b)]){if(this[_0x117631(0x90)]['record']['options']['dispField']){let _0x321b72=this['column'][_0x117631(0x8d)][_0x117631(0x8b)]['codes']||[];if(this[_0x117631(0x82)]&&this[_0x117631(0x82)]['length']>0x0){let _0x443be8=_0x321b72[_0x117631(0x84)](_0x28db93=>_0x28db93[_0x117631(0x82)]===this[_0x117631(0x82)]);_0x47e6d7=_0x443be8&&_0x443be8[_0x117631(0x70)]>0x0?_0x443be8[0x0]['display']:'';}}else _0x47e6d7=this['value'];}else _0x47e6d7='';return html`
2
+ ${_0x47e6d7?html` <span tabindex="0" style="flex:1">${_0x47e6d7}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x589c82(0x85)](){const _0xf36c7b=a0_0x589c82;super[_0xf36c7b(0x85)]();}[a0_0x589c82(0x72)](_0x509a34){const _0x1d94b4=a0_0x589c82;_0x509a34[_0x1d94b4(0x71)](),this[_0x1d94b4(0x7c)]();}[a0_0x589c82(0x8c)](_0x54db4e){const _0x1d1ddb=a0_0x589c82;_0x1d1ddb(0x79)==_0x54db4e[_0x1d1ddb(0x7b)]&&(_0x54db4e[_0x1d1ddb(0x71)](),this[_0x1d1ddb(0x7c)]());}['openSelector'](){const _0x270f26=a0_0x589c82;this['popup']&&delete this[_0x270f26(0x74)];var {selectorName:_0x56d82d=TermsUtil[_0x270f26(0x77)](_0x270f26(0x73))}=this[_0x270f26(0x90)][_0x270f26(0x8d)][_0x270f26(0x8b)]||{},_0x2489f3=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x1ba3aa(0xce)]}
6
- .options=${this[_0x1ba3aa(0xcd)][_0x1ba3aa(0xae)][_0x1ba3aa(0xc0)]}
7
- .confirmCallback=${(_0x1eeeda=>{const _0x749ce3=_0x1ba3aa;let _0x6523c4=this['column'][_0x749ce3(0xae)]['options'][_0x749ce3(0xb1)],_0x268811=this['column'][_0x749ce3(0xae)]['options']['dispField'],_0x7ad42e=this[_0x749ce3(0xcd)][_0x749ce3(0xae)][_0x749ce3(0xc0)]['fieldMap']||{};if(this['column'][_0x749ce3(0xae)][_0x749ce3(0xc0)][_0x749ce3(0xbe)]||(this[_0x749ce3(0xcd)]['record'][_0x749ce3(0xc0)]['codes']=[]),_0x1eeeda){let _0x51822f=this['column'][_0x749ce3(0xae)][_0x749ce3(0xc0)][_0x749ce3(0xbe)]['filter'](_0x400d7b=>_0x400d7b['value']==_0x1eeeda[_0x6523c4]);_0x51822f&&0x0!=_0x51822f[_0x749ce3(0xb3)]||this[_0x749ce3(0xcd)]['record'][_0x749ce3(0xc0)][_0x749ce3(0xbe)][_0x749ce3(0xc4)]({'value':_0x1eeeda[_0x6523c4],'display':_0x1eeeda[_0x268811]});}this['dispatchEvent'](new CustomEvent(_0x749ce3(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1eeeda?_0x1eeeda[_0x6523c4]:null,'record':this['record'],'column':this['column'],'row':this[_0x749ce3(0xc9)]}})),Object[_0x749ce3(0xb5)](_0x7ad42e)[_0x749ce3(0xab)](_0x163d2e=>{const _0x4eb3ba=_0x749ce3;this[_0x4eb3ba(0xac)](new CustomEvent(_0x4eb3ba(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4eb3ba(0xae)][_0x7ad42e[_0x163d2e]],'after':_0x1eeeda?_0x1eeeda[_0x163d2e]:null,'record':this[_0x4eb3ba(0xae)],'column':{'name':_0x7ad42e[_0x163d2e]},'row':this[_0x4eb3ba(0xc9)]}}));});})['bind'](this)}
5
+ .value=${this[_0x270f26(0x82)]}
6
+ .options=${this['column']['record']['options']}
7
+ .confirmCallback=${(_0x4ecc21=>{const _0x26a790=_0x270f26;let _0x403b46=this[_0x26a790(0x90)][_0x26a790(0x8d)][_0x26a790(0x8b)][_0x26a790(0x7f)],_0x4e1f59=this[_0x26a790(0x90)][_0x26a790(0x8d)][_0x26a790(0x8b)][_0x26a790(0x86)],_0x17fceb=this[_0x26a790(0x90)][_0x26a790(0x8d)]['options']['fieldMap']||{};if(this[_0x26a790(0x90)]['record'][_0x26a790(0x8b)][_0x26a790(0x93)]||(this[_0x26a790(0x90)]['record'][_0x26a790(0x8b)][_0x26a790(0x93)]=[]),_0x4ecc21){let _0x27f897=this['column']['record'][_0x26a790(0x8b)][_0x26a790(0x93)]['filter'](_0x3bd2eb=>_0x3bd2eb['value']==_0x4ecc21[_0x403b46]);_0x27f897&&0x0!=_0x27f897[_0x26a790(0x70)]||this[_0x26a790(0x90)]['record'][_0x26a790(0x8b)][_0x26a790(0x93)]['push']({'value':_0x4ecc21[_0x403b46],'display':_0x4ecc21[_0x4e1f59]});}this['dispatchEvent'](new CustomEvent(_0x26a790(0x8f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x26a790(0x82)],'after':_0x4ecc21?_0x4ecc21[_0x403b46]:null,'record':this[_0x26a790(0x8d)],'column':this[_0x26a790(0x90)],'row':this[_0x26a790(0x91)]}})),Object[_0x26a790(0x76)](_0x17fceb)[_0x26a790(0x7a)](_0x5bea2d=>{const _0x53342f=_0x26a790;this[_0x53342f(0x6f)](new CustomEvent(_0x53342f(0x8f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x53342f(0x8d)][_0x17fceb[_0x5bea2d]],'after':_0x4ecc21?_0x4ecc21[_0x5bea2d]:null,'record':this[_0x53342f(0x8d)],'column':{'name':_0x17fceb[_0x5bea2d]},'row':this[_0x53342f(0x91)]}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x1ba3aa(0xaf)]=openPopup(_0x9d4ee6,{'backdrop':!0x0,'size':_0x1ba3aa(0xcb),'title':TermsUtil[_0x1ba3aa(0xd0)](_0x15c753)});}}customElements[a0_0x413564(0xca)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
9
+ `;this['popup']=openPopup(_0x2489f3,{'backdrop':!0x0,'size':_0x270f26(0x89),'title':TermsUtil[_0x270f26(0x92)](_0x56d82d)});}}function a0_0x4cda(){const _0x40a328=['dispField','1464480IiZKQY','191103TZUsZH','large','editorTemplate','options','_onkeydown','record','properties','field-change','column','row','tMenu','codes','dispatchEvent','length','stopPropagation','_onclick','select_item','popup','grist-editor-meta-code-selector','keys','tTitle','3074811qVLhCM','Enter','forEach','key','openSelector','define','900907BDsfnk','codeField','4454952XpcZbX','5170230euorXm','value','2420428ptOuQX','filter','firstUpdated'];a0_0x4cda=function(){return _0x40a328;};return a0_0x4cda();}customElements[a0_0x589c82(0x7d)](a0_0x589c82(0x75),GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- var a0_0x1cfbe3=a0_0x3203;(function(_0x5ee9c6,_0x21a661){var _0x5d7d01=a0_0x3203,_0x354362=_0x5ee9c6();while(!![]){try{var _0x3b5cee=parseInt(_0x5d7d01(0xe0))/0x1+-parseInt(_0x5d7d01(0xe5))/0x2+-parseInt(_0x5d7d01(0xd8))/0x3*(-parseInt(_0x5d7d01(0xe7))/0x4)+-parseInt(_0x5d7d01(0xeb))/0x5+-parseInt(_0x5d7d01(0xde))/0x6+parseInt(_0x5d7d01(0xf1))/0x7+-parseInt(_0x5d7d01(0xf0))/0x8*(-parseInt(_0x5d7d01(0xee))/0x9);if(_0x3b5cee===_0x21a661)break;else _0x354362['push'](_0x354362['shift']());}catch(_0x53d1b2){_0x354362['push'](_0x354362['shift']());}}}(a0_0x13ed,0x90eb9));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';function a0_0x13ed(){var _0x317ffb=['column','large','2673920SlCaih','select_item','grist-editor-meta-object-selector','9nFcNYn','define','9562120xoVGmQ','2456650xbUjeq','tMenu','bind','field-change','options','record','openSelector','978HvjRVW','editorTemplate','forEach','firstUpdated','nameField','properties','6460386tocvHz','stopPropagation','797267EZuoUb','popup','_onkeydown','key','value','591012fhVXCO','row','1928JYrsiZ','tTitle'];a0_0x13ed=function(){return _0x317ffb;};return a0_0x13ed();}function a0_0x3203(_0x19a645,_0x41998d){var _0x13edec=a0_0x13ed();return a0_0x3203=function(_0x320360,_0x59fa6d){_0x320360=_0x320360-0xd2;var _0x555574=_0x13edec[_0x320360];return _0x555574;},a0_0x3203(_0x19a645,_0x41998d);}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x1cfbe3(0xdd)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x1cfbe3(0xd9)](){var _0x1cad60=a0_0x1cfbe3;let _0x3ac0aa='';return this['value']&&this[_0x1cad60(0xe9)][_0x1cad60(0xd6)][_0x1cad60(0xd5)]&&(_0x3ac0aa=this[_0x1cad60(0xe4)][this['column'][_0x1cad60(0xd6)][_0x1cad60(0xd5)][_0x1cad60(0xdc)]]),html`
2
- ${this[_0x1cad60(0xe4)]?html` <span tabindex="0" style="flex:1">${_0x3ac0aa}</span> `:html`<span tabindex="0">${_0x3ac0aa}</span>`}
3
- `;}async[a0_0x1cfbe3(0xdb)](){super['firstUpdated']();}['_onclick'](_0x4d8981){var _0x5d1ff8=a0_0x1cfbe3;_0x4d8981[_0x5d1ff8(0xdf)](),this[_0x5d1ff8(0xd7)]();}[a0_0x1cfbe3(0xe2)](_0x5c84e1){var _0x56a5d5=a0_0x1cfbe3;'Enter'==_0x5c84e1[_0x56a5d5(0xe3)]&&(_0x5c84e1['stopPropagation'](),this[_0x56a5d5(0xd7)]());}[a0_0x1cfbe3(0xd7)](){var _0x4e1ec5=a0_0x1cfbe3;this[_0x4e1ec5(0xe1)]&&delete this[_0x4e1ec5(0xe1)];var {selectorName:_0x1bb28d=TermsUtil[_0x4e1ec5(0xe8)](_0x4e1ec5(0xec))}=this[_0x4e1ec5(0xe9)]['record'][_0x4e1ec5(0xd5)]||{},_0x4f7ce8=html`
1
+ function a0_0x16a7(){var _0x5f2fc4=['tMenu','989356WzQoGc','stopPropagation','115JaUuCt','select_item','_onkeydown','record','value','options','row','4811616pBBQvR','4106520UgkJxq','field-change','fieldMap','properties','firstUpdated','key','2eJcXQM','grist-editor-meta-object-selector','editorTemplate','column','663006Nsjnjl','4677828qGjqyn','dispatchEvent','tTitle','4041989ZGvVcJ','openSelector','popup','define','keys','140464Dlhprx','Enter'];a0_0x16a7=function(){return _0x5f2fc4;};return a0_0x16a7();}var a0_0x3eb81f=a0_0x2c5e;(function(_0x5c4165,_0x944074){var _0x32c4cc=a0_0x2c5e,_0x16bb9f=_0x5c4165();while(!![]){try{var _0x561048=-parseInt(_0x32c4cc(0xbd))/0x1*(-parseInt(_0x32c4cc(0xcd))/0x2)+parseInt(_0x32c4cc(0xc1))/0x3+parseInt(_0x32c4cc(0xca))/0x4*(-parseInt(_0x32c4cc(0xcf))/0x5)+parseInt(_0x32c4cc(0xc2))/0x6+-parseInt(_0x32c4cc(0xc5))/0x7+-parseInt(_0x32c4cc(0xd7))/0x8+parseInt(_0x32c4cc(0xd6))/0x9;if(_0x561048===_0x944074)break;else _0x16bb9f['push'](_0x16bb9f['shift']());}catch(_0x10195b){_0x16bb9f['push'](_0x16bb9f['shift']());}}}(a0_0x16a7,0x98e22));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x2c5e(_0x629d66,_0x511ed9){var _0x16a777=a0_0x16a7();return a0_0x2c5e=function(_0x2c5e56,_0x556cea){_0x2c5e56=_0x2c5e56-0xb9;var _0x19e749=_0x16a777[_0x2c5e56];return _0x19e749;},a0_0x2c5e(_0x629d66,_0x511ed9);}import{TermsUtil}from'../../../utils/terms-util';import'../../popup/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x3eb81f(0xba)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x3eb81f(0xbf)](){var _0x574517=a0_0x3eb81f;let _0x3bce78='';return this[_0x574517(0xd3)]&&this['column'][_0x574517(0xd2)][_0x574517(0xd4)]&&(_0x3bce78=this['value'][this[_0x574517(0xc0)]['record']['options']['nameField']]),html`
2
+ ${this['value']?html` <span tabindex="0" style="flex:1">${_0x3bce78}</span> `:html`<span tabindex="0">${_0x3bce78}</span>`}
3
+ `;}async[a0_0x3eb81f(0xbb)](){var _0x381b8d=a0_0x3eb81f;super[_0x381b8d(0xbb)]();}['_onclick'](_0x20e3f0){var _0x18eff5=a0_0x3eb81f;_0x20e3f0[_0x18eff5(0xce)](),this[_0x18eff5(0xc6)]();}[a0_0x3eb81f(0xd1)](_0xa06d2){var _0x41a287=a0_0x3eb81f;_0x41a287(0xcb)==_0xa06d2[_0x41a287(0xbc)]&&(_0xa06d2[_0x41a287(0xce)](),this['openSelector']());}[a0_0x3eb81f(0xc6)](){var _0x28449b=a0_0x3eb81f;this['popup']&&delete this[_0x28449b(0xc7)];var {selectorName:_0x1bdeb0=TermsUtil[_0x28449b(0xc4)](_0x28449b(0xd0))}=this['column'][_0x28449b(0xd2)][_0x28449b(0xd4)]||{},_0x203522=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x4e1ec5(0xe4)]}
6
- .options=${this[_0x4e1ec5(0xe9)]['record'][_0x4e1ec5(0xd5)]}
7
- .confirmCallback=${(_0xf7705=>{var _0x433e93=_0x4e1ec5;let _0x92528c=this['column']['record'][_0x433e93(0xd5)]['fieldMap']||{};this['dispatchEvent'](new CustomEvent(_0x433e93(0xd4),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x433e93(0xe4)],'after':_0xf7705||null,'record':this[_0x433e93(0xd6)],'column':this['column'],'row':this[_0x433e93(0xe6)]}})),Object['keys'](_0x92528c)[_0x433e93(0xda)](_0x4163d1=>{var _0x3cf6f5=_0x433e93;this['dispatchEvent'](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3cf6f5(0xd6)][_0x92528c[_0x4163d1]],'after':_0xf7705?_0xf7705[_0x4163d1]:null,'record':this['record'],'column':{'name':_0x92528c[_0x4163d1]},'row':this[_0x3cf6f5(0xe6)]}}));});})[_0x4e1ec5(0xd3)](this)}
5
+ .value=${this[_0x28449b(0xd3)]}
6
+ .options=${this[_0x28449b(0xc0)][_0x28449b(0xd2)]['options']}
7
+ .confirmCallback=${(_0x461a43=>{var _0x52606e=_0x28449b;let _0x25ee56=this[_0x52606e(0xc0)]['record'][_0x52606e(0xd4)][_0x52606e(0xb9)]||{};this[_0x52606e(0xc3)](new CustomEvent(_0x52606e(0xd8),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x461a43||null,'record':this[_0x52606e(0xd2)],'column':this[_0x52606e(0xc0)],'row':this[_0x52606e(0xd5)]}})),Object[_0x52606e(0xc9)](_0x25ee56)['forEach'](_0x439efe=>{var _0x460e71=_0x52606e;this[_0x460e71(0xc3)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x460e71(0xd2)][_0x25ee56[_0x439efe]],'after':_0x461a43?_0x461a43[_0x439efe]:null,'record':this[_0x460e71(0xd2)],'column':{'name':_0x25ee56[_0x439efe]},'row':this[_0x460e71(0xd5)]}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x4e1ec5(0xe1)]=openPopup(_0x4f7ce8,{'backdrop':!0x0,'size':_0x4e1ec5(0xea),'title':TermsUtil[_0x4e1ec5(0xd2)](_0x1bb28d)});}}customElements[a0_0x1cfbe3(0xef)](a0_0x1cfbe3(0xed),GristEditorMetaObjectSelector);
9
+ `;this[_0x28449b(0xc7)]=openPopup(_0x203522,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x28449b(0xcc)](_0x1bdeb0)});}}customElements[a0_0x3eb81f(0xc8)](a0_0x3eb81f(0xbe),GristEditorMetaObjectSelector);
@@ -0,0 +1 @@
1
+ function a0_0x52c5(_0xcb2171,_0x3f1c74){const _0x3066f2=a0_0x3066();return a0_0x52c5=function(_0x52c5be,_0x2f1f51){_0x52c5be=_0x52c5be-0xcc;let _0x300c78=_0x3066f2[_0x52c5be];return _0x300c78;},a0_0x52c5(_0xcb2171,_0x3f1c74);}(function(_0x28f35e,_0x93434b){const _0x1d334b=a0_0x52c5,_0x6e52fd=_0x28f35e();while(!![]){try{const _0xacca39=-parseInt(_0x1d334b(0xd7))/0x1*(-parseInt(_0x1d334b(0xd8))/0x2)+parseInt(_0x1d334b(0xd3))/0x3+-parseInt(_0x1d334b(0xd2))/0x4+-parseInt(_0x1d334b(0xd4))/0x5+-parseInt(_0x1d334b(0xda))/0x6*(parseInt(_0x1d334b(0xd6))/0x7)+-parseInt(_0x1d334b(0xcd))/0x8*(parseInt(_0x1d334b(0xd0))/0x9)+parseInt(_0x1d334b(0xd1))/0xa;if(_0xacca39===_0x93434b)break;else _0x6e52fd['push'](_0x6e52fd['shift']());}catch(_0x5621b5){_0x6e52fd['push'](_0x6e52fd['shift']());}}}(a0_0x3066,0x18d94));import{html}from'lit';function a0_0x3066(){const _0x22d6c0=['49xvjpQD','1alVnQm','281066iQlgho','stringify','84162syhNKz','...','removeAttribute','8PCGCRP','target','data-tooltip','1683063hwYLXT','3333370DKFcZs','643980OJEgmc','350601bsrmCs','213830mAUSIG','substring'];a0_0x3066=function(){return _0x22d6c0;};return a0_0x3066();}import{detectOverflow}from'@operato/utils';function onmouseover(_0x8cd3b6){const _0x33dcb5=a0_0x52c5,_0x535ca1=_0x8cd3b6[_0x33dcb5(0xce)];detectOverflow(_0x535ca1)&&_0x535ca1['setAttribute'](_0x33dcb5(0xcf),_0x535ca1['textContent']);}function onmouseout(_0x30a386){const _0xa537e0=a0_0x52c5;_0x30a386[_0xa537e0(0xce)][_0xa537e0(0xcc)]('data-tooltip');}export const GristRendererCodeInput=(_0x1e6831,_0x5c08b0,_0x28a49c,_0x1c2eef,_0xed2930)=>{const _0x56a980=a0_0x52c5;let _0x1e50a7='';return _0x1e6831&&(_0x1e50a7='object'==typeof _0x1e6831?JSON[_0x56a980(0xd9)](_0x1e6831,0x0,0x2):_0x1e6831,_0x1e50a7=_0x1e50a7['length']>0x14?_0x1e50a7[_0x56a980(0xd5)](0x0,0x14)+_0x56a980(0xdb):_0x1e50a7),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1e50a7}</span>`;};
@@ -1 +1 @@
1
- (function(_0x2879d6,_0x744e7a){const _0x2008a7=a0_0x1d90,_0x12a036=_0x2879d6();while(!![]){try{const _0x152894=parseInt(_0x2008a7(0x6c))/0x1*(parseInt(_0x2008a7(0x79))/0x2)+-parseInt(_0x2008a7(0x82))/0x3*(parseInt(_0x2008a7(0x6b))/0x4)+parseInt(_0x2008a7(0x7f))/0x5*(-parseInt(_0x2008a7(0x6d))/0x6)+parseInt(_0x2008a7(0x81))/0x7*(parseInt(_0x2008a7(0x77))/0x8)+-parseInt(_0x2008a7(0x74))/0x9*(parseInt(_0x2008a7(0x75))/0xa)+-parseInt(_0x2008a7(0x76))/0xb*(parseInt(_0x2008a7(0x6f))/0xc)+-parseInt(_0x2008a7(0x7c))/0xd;if(_0x152894===_0x744e7a)break;else _0x12a036['push'](_0x12a036['shift']());}catch(_0x22b3a2){_0x12a036['push'](_0x12a036['shift']());}}}(a0_0x3109,0x5a8ca));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x1dc26f){const _0x4d79b5=a0_0x1d90,_0x16c87e=_0x1dc26f[_0x4d79b5(0x80)];detectOverflow(_0x16c87e)&&_0x16c87e[_0x4d79b5(0x7d)](_0x4d79b5(0x7e),_0x16c87e[_0x4d79b5(0x72)]);}function onmouseout(_0x267b72){const _0x70e965=a0_0x1d90;_0x267b72['target'][_0x70e965(0x78)](_0x70e965(0x7e));}function a0_0x1d90(_0x2cf389,_0x11c234){const _0x310903=a0_0x3109();return a0_0x1d90=function(_0x1d90d7,_0x5ad398){_0x1d90d7=_0x1d90d7-0x6b;let _0x400ac1=_0x310903[_0x1d90d7];return _0x400ac1;},a0_0x1d90(_0x2cf389,_0x11c234);}function a0_0x3109(){const _0x13c498=['record','2927379pySlLO','setAttribute','data-tooltip','20kltDGR','target','55531jSagMA','6FDLwUe','109448QKRpsk','13zDRXal','333228qDelNL','codes','164124DDrBva','options','value','textContent','length','1566mYmWjQ','6260jChTkn','66OodRNv','352wwcPxF','removeAttribute','109982AyxgjA','filter'];a0_0x3109=function(){return _0x13c498;};return a0_0x3109();}export const GristRendererMetaCodeSelector=(_0x59164d,_0x387e57,_0x31bcea,_0x14b999,_0x475128)=>{const _0x4314af=a0_0x1d90;let _0x24a7b3='';if(_0x387e57[_0x4314af(0x7b)]&&_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]){if(_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]['dispField']){if(_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)][_0x4314af(0x6e)]||(_0x387e57[_0x4314af(0x7b)]['options'][_0x4314af(0x6e)]=[]),_0x59164d&&_0x59164d['length']>0x0){let _0x9b0b2=_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]['codes'][_0x4314af(0x7a)](_0x546aa6=>_0x546aa6[_0x4314af(0x71)]===_0x59164d);_0x24a7b3=_0x9b0b2&&_0x9b0b2[_0x4314af(0x73)]>0x0?_0x9b0b2[0x0]['display']:_0x59164d;}}else _0x24a7b3=_0x59164d;}else _0x24a7b3='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x24a7b3}</span>`;};
1
+ function a0_0x42e0(_0x2defb9,_0x261ba1){const _0x141976=a0_0x1419();return a0_0x42e0=function(_0x42e081,_0x372392){_0x42e081=_0x42e081-0xd6;let _0x329452=_0x141976[_0x42e081];return _0x329452;},a0_0x42e0(_0x2defb9,_0x261ba1);}(function(_0x110d69,_0x61899){const _0x4550ca=a0_0x42e0,_0xf7b2e7=_0x110d69();while(!![]){try{const _0x245f86=-parseInt(_0x4550ca(0xe8))/0x1*(parseInt(_0x4550ca(0xe3))/0x2)+-parseInt(_0x4550ca(0xd7))/0x3+parseInt(_0x4550ca(0xdd))/0x4*(parseInt(_0x4550ca(0xde))/0x5)+-parseInt(_0x4550ca(0xdc))/0x6+parseInt(_0x4550ca(0xe7))/0x7+parseInt(_0x4550ca(0xd8))/0x8*(parseInt(_0x4550ca(0xd6))/0x9)+parseInt(_0x4550ca(0xe4))/0xa;if(_0x245f86===_0x61899)break;else _0xf7b2e7['push'](_0xf7b2e7['shift']());}catch(_0x1fc1a8){_0xf7b2e7['push'](_0xf7b2e7['shift']());}}}(a0_0x1419,0x445be));function a0_0x1419(){const _0x3de000=['1377336AByltA','380dcRNpi','1520dpbAvR','display','record','length','data-tooltip','316406RkRnSK','551900pwgPgC','options','filter','3859597uHwGHz','1AEKGvh','99621iBiOQM','1164918HWQZfP','304iJdyPp','textContent','codes','target'];a0_0x1419=function(){return _0x3de000;};return a0_0x1419();}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x50cf6e){const _0x2784b5=a0_0x42e0,_0x27ef3f=_0x50cf6e[_0x2784b5(0xdb)];detectOverflow(_0x27ef3f)&&_0x27ef3f['setAttribute'](_0x2784b5(0xe2),_0x27ef3f[_0x2784b5(0xd9)]);}function onmouseout(_0x49b689){const _0x56c72c=a0_0x42e0;_0x49b689[_0x56c72c(0xdb)]['removeAttribute'](_0x56c72c(0xe2));}export const GristRendererMetaCodeSelector=(_0x21fea9,_0x312a92,_0x557fad,_0x5b982a,_0x341d7d)=>{const _0x59741b=a0_0x42e0;let _0x420a86='';if(_0x312a92[_0x59741b(0xe0)]&&_0x312a92[_0x59741b(0xe0)][_0x59741b(0xe5)]){if(_0x312a92[_0x59741b(0xe0)]['options']['dispField']){if(_0x312a92[_0x59741b(0xe0)][_0x59741b(0xe5)]['codes']||(_0x312a92[_0x59741b(0xe0)][_0x59741b(0xe5)]['codes']=[]),_0x21fea9&&_0x21fea9[_0x59741b(0xe1)]>0x0){let _0x23b2ba=_0x312a92['record'][_0x59741b(0xe5)][_0x59741b(0xda)][_0x59741b(0xe6)](_0x5216cd=>_0x5216cd['value']===_0x21fea9);_0x420a86=_0x23b2ba&&_0x23b2ba[_0x59741b(0xe1)]>0x0?_0x23b2ba[0x0][_0x59741b(0xdf)]:_0x21fea9;}}else _0x420a86=_0x21fea9;}else _0x420a86='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x420a86}</span>`;};
@@ -1 +1 @@
1
- (function(_0x690259,_0x2e2128){const _0x561bfe=a0_0x1c80,_0x4cbc7f=_0x690259();while(!![]){try{const _0x3379da=parseInt(_0x561bfe(0x13c))/0x1+-parseInt(_0x561bfe(0x137))/0x2+parseInt(_0x561bfe(0x145))/0x3*(parseInt(_0x561bfe(0x13d))/0x4)+-parseInt(_0x561bfe(0x13a))/0x5+parseInt(_0x561bfe(0x13e))/0x6*(-parseInt(_0x561bfe(0x143))/0x7)+parseInt(_0x561bfe(0x13f))/0x8*(-parseInt(_0x561bfe(0x141))/0x9)+parseInt(_0x561bfe(0x13b))/0xa;if(_0x3379da===_0x2e2128)break;else _0x4cbc7f['push'](_0x4cbc7f['shift']());}catch(_0xa8def4){_0x4cbc7f['push'](_0x4cbc7f['shift']());}}}(a0_0x3cbe,0xc8046));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3cbe(){const _0x58f463=['nameField','textContent','7710235cSIVlJ','15858170RPeUwp','1564763zGSyFZ','8EGLwAU','1764auihKr','2752bvishA','record','14319uemVEV','options','4466eMNBre','removeAttribute','1489398AjEHiG','data-tooltip','target','setAttribute','2094638AIYKsK'];a0_0x3cbe=function(){return _0x58f463;};return a0_0x3cbe();}function onmouseover(_0x3eb8cd){const _0x455251=a0_0x1c80,_0x1e9360=_0x3eb8cd['target'];detectOverflow(_0x1e9360)&&_0x1e9360[_0x455251(0x136)](_0x455251(0x134),_0x1e9360[_0x455251(0x139)]);}function a0_0x1c80(_0x4f0623,_0x3308f6){const _0x3cbe1a=a0_0x3cbe();return a0_0x1c80=function(_0x1c80b9,_0x4d0f56){_0x1c80b9=_0x1c80b9-0x134;let _0x378732=_0x3cbe1a[_0x1c80b9];return _0x378732;},a0_0x1c80(_0x4f0623,_0x3308f6);}function onmouseout(_0x1544ea){const _0x189c4a=a0_0x1c80;_0x1544ea[_0x189c4a(0x135)][_0x189c4a(0x144)](_0x189c4a(0x134));}export const GristRendererMetaObjectSelector=(_0x5b9b16,_0x3ef40c,_0xd99915,_0x42aaac,_0x284c9a)=>{const _0x49e949=a0_0x1c80;let _0x152d5e='';return _0x5b9b16&&_0x3ef40c[_0x49e949(0x140)][_0x49e949(0x142)]&&(_0x152d5e=_0x5b9b16[_0x3ef40c['record'][_0x49e949(0x142)][_0x49e949(0x138)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x152d5e}</span>`;};
1
+ (function(_0x183afe,_0x96545e){const _0x1e4743=a0_0x16ed,_0x23e1d9=_0x183afe();while(!![]){try{const _0x3958a3=parseInt(_0x1e4743(0x1d7))/0x1*(-parseInt(_0x1e4743(0x1e1))/0x2)+-parseInt(_0x1e4743(0x1db))/0x3+parseInt(_0x1e4743(0x1e5))/0x4+-parseInt(_0x1e4743(0x1d9))/0x5+parseInt(_0x1e4743(0x1df))/0x6*(-parseInt(_0x1e4743(0x1e0))/0x7)+parseInt(_0x1e4743(0x1e4))/0x8+-parseInt(_0x1e4743(0x1dc))/0x9*(-parseInt(_0x1e4743(0x1e3))/0xa);if(_0x3958a3===_0x96545e)break;else _0x23e1d9['push'](_0x23e1d9['shift']());}catch(_0x6372c5){_0x23e1d9['push'](_0x23e1d9['shift']());}}}(a0_0x5f06,0x459dd));function a0_0x5f06(){const _0x5ea26d=['data-tooltip','setAttribute','1657230xPrZlT','14flehqp','80DZQNtQ','options','30masTtQ','2577464mOODqw','411828oRbdiR','4024bHMzZj','record','1188195bdeRru','target','117024hOUkVm','2550078WrWqcd'];a0_0x5f06=function(){return _0x5ea26d;};return a0_0x5f06();}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x5b9921){const _0x1eb5da=a0_0x16ed,_0xf83728=_0x5b9921[_0x1eb5da(0x1da)];detectOverflow(_0xf83728)&&_0xf83728[_0x1eb5da(0x1de)](_0x1eb5da(0x1dd),_0xf83728['textContent']);}function a0_0x16ed(_0x3680d8,_0x29650c){const _0x5f0647=a0_0x5f06();return a0_0x16ed=function(_0x16edff,_0x4b4c9f){_0x16edff=_0x16edff-0x1d7;let _0x166d31=_0x5f0647[_0x16edff];return _0x166d31;},a0_0x16ed(_0x3680d8,_0x29650c);}function onmouseout(_0x47495f){const _0x95e376=a0_0x16ed;_0x47495f[_0x95e376(0x1da)]['removeAttribute'](_0x95e376(0x1dd));}export const GristRendererMetaObjectSelector=(_0x3b00ac,_0x364966,_0x29c8c4,_0xf3ce32,_0x234979)=>{const _0x3cbe2b=a0_0x16ed;let _0x1b5a77='';return _0x3b00ac&&_0x364966[_0x3cbe2b(0x1d8)][_0x3cbe2b(0x1e2)]&&(_0x1b5a77=_0x3b00ac[_0x364966[_0x3cbe2b(0x1d8)][_0x3cbe2b(0x1e2)]['nameField']]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1b5a77}</span>`;};
@@ -0,0 +1,35 @@
1
+ function a0_0x1392(_0x41d457,_0x375535){var _0x511f8a=a0_0x511f();return a0_0x1392=function(_0x1392c7,_0x4562c4){_0x1392c7=_0x1392c7-0xff;var _0x1cb353=_0x511f8a[_0x1392c7];return _0x1cb353;},a0_0x1392(_0x41d457,_0x375535);}var a0_0x769c9f=a0_0x1392;function a0_0x511f(){var _0x3b945b=['shadowRoot','483005vSzjta','ox-input-code','3443320bRrhds','240192nlePYv','confirmCallback','cancel','838618CZgJuk','define','tButton','6783304KhjXGy','firstUpdated','bind','81jKkYsz','info','1BmKgkq','codeVlaue','2779977LESdLp','connectedCallback','8pGXccA','render','codeEditor','confirm','code-input-editor-popup','object','clickConfirm','NOTHING_CHANGED','84zzvMpE','59230ucYuPP','showToast','tText','clickCancel','styles','querySelector','clickEmpty','changedValue','value'];a0_0x511f=function(){return _0x3b945b;};return a0_0x511f();}(function(_0x2b4147,_0x3c6abc){var _0x50471f=a0_0x1392,_0x141bb9=_0x2b4147();while(!![]){try{var _0x4a1b41=parseInt(_0x50471f(0x10d))/0x1*(parseInt(_0x50471f(0x105))/0x2)+parseInt(_0x50471f(0x10f))/0x3+-parseInt(_0x50471f(0x111))/0x4*(parseInt(_0x50471f(0xff))/0x5)+-parseInt(_0x50471f(0x102))/0x6*(parseInt(_0x50471f(0x119))/0x7)+parseInt(_0x50471f(0x101))/0x8+-parseInt(_0x50471f(0x10b))/0x9*(-parseInt(_0x50471f(0x11a))/0xa)+-parseInt(_0x50471f(0x108))/0xb;if(_0x4a1b41===_0x3c6abc)break;else _0x141bb9['push'](_0x141bb9['shift']());}catch(_0x4c895c){_0x141bb9['push'](_0x141bb9['shift']());}}}(a0_0x511f,0x83b30));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_0x769c9f(0x11e)]=[CommonGristStyles,ButtonContainerStyles,css`
2
+ :host {
3
+ display: flex;
4
+ flex-direction: column;
5
+
6
+ background-color: #fff;
7
+
8
+ width: var(--overlay-center-normal-width, 50%);
9
+ height: var(--overlay-center-normal-height, 50%);
10
+ }
11
+
12
+ ox-input-code {
13
+ margin:10px;
14
+ overflow-y: auto;
15
+ flex: 1;
16
+ }
17
+
18
+ .button-container {
19
+ display: flex;
20
+ margin-left: auto;
21
+ }
22
+ `];async[a0_0x769c9f(0x110)](){var _0x209328=a0_0x769c9f;_0x209328(0x116)==typeof this['value']?this[_0x209328(0x10e)]=JSON['stringify'](this['value'],0x0,0x2):this[_0x209328(0x10e)]=this[_0x209328(0x122)],await super[_0x209328(0x110)]();}async[a0_0x769c9f(0x109)](){var _0x46e803=a0_0x769c9f;await super[_0x46e803(0x109)]();}[a0_0x769c9f(0x112)](){var _0x1ea74b=a0_0x769c9f;return html`
23
+ <ox-input-code mode="javascript" value=${this[_0x1ea74b(0x10e)]} tab-size="2" tab-as-space="true"></ox-input-code>
24
+ <div id="button-container" class="button-container">
25
+ <mwc-button raised label="${TermsUtil[_0x1ea74b(0x107)]('empty')}" style="margin-left:7px;margin-top:7px;"
26
+ @click=${this[_0x1ea74b(0x120)][_0x1ea74b(0x10a)](this)}>
27
+ </mwc-button>
28
+ <mwc-button raised label="${TermsUtil[_0x1ea74b(0x107)](_0x1ea74b(0x104))}" style="margin-left:7px;margin-top:7px;"
29
+ @click=${this[_0x1ea74b(0x11d)]['bind'](this)}>
30
+ </mwc-button>
31
+ <mwc-button raised label="${TermsUtil[_0x1ea74b(0x107)](_0x1ea74b(0x114))}" style="margin-left:7px;margin-top:7px;"
32
+ @click=${this[_0x1ea74b(0x117)]['bind'](this)}>
33
+ </mwc-button>
34
+ </div>
35
+ `;}get[a0_0x769c9f(0x113)](){var _0x14b541=a0_0x769c9f;return this[_0x14b541(0x123)][_0x14b541(0x11f)](_0x14b541(0x100));}async['clickEmpty'](_0xb94a8c){var _0x2f871b=a0_0x769c9f;this[_0x2f871b(0x103)]&&this[_0x2f871b(0x103)](null),closePopup(this);}async[a0_0x769c9f(0x11d)](_0x49e367){closePopup(this);}async[a0_0x769c9f(0x117)](_0x4a8f45){var _0x3d670e=a0_0x769c9f;this['codeVlaue']!==this[_0x3d670e(0x113)][_0x3d670e(0x122)]?this[_0x3d670e(0x121)](this[_0x3d670e(0x113)][_0x3d670e(0x122)]):MetaApi[_0x3d670e(0x11b)](_0x3d670e(0x10c),TermsUtil[_0x3d670e(0x11c)](_0x3d670e(0x118)));}async[a0_0x769c9f(0x121)](_0x2328fc){this['confirmCallback']&&this['confirmCallback'](_0x2328fc),closePopup(this);}}customElements[a0_0x769c9f(0x106)](a0_0x769c9f(0x115),CodeInputEditorPopup);
@@ -0,0 +1,40 @@
1
+ const a0_0x165701=a0_0x17bd;(function(_0x39d13a,_0x24e11e){const _0x1c3a9a=a0_0x17bd,_0x116f47=_0x39d13a();while(!![]){try{const _0x472891=-parseInt(_0x1c3a9a(0x1b8))/0x1+parseInt(_0x1c3a9a(0x1b6))/0x2*(parseInt(_0x1c3a9a(0x17e))/0x3)+parseInt(_0x1c3a9a(0x1b4))/0x4+parseInt(_0x1c3a9a(0x166))/0x5+parseInt(_0x1c3a9a(0x1b3))/0x6*(-parseInt(_0x1c3a9a(0x1a1))/0x7)+parseInt(_0x1c3a9a(0x1a5))/0x8+-parseInt(_0x1c3a9a(0x172))/0x9;if(_0x472891===_0x24e11e)break;else _0x116f47['push'](_0x116f47['shift']());}catch(_0x3a10ff){_0x116f47['push'](_0x116f47['shift']());}}}(a0_0xa094,0x3dbb8));import{css,html,LitElement}from'lit';function a0_0x17bd(_0x5a1459,_0x1fea1d){const _0xa0940c=a0_0xa094();return a0_0x17bd=function(_0x17bdb7,_0x43537b){_0x17bdb7=_0x17bdb7-0x162;let _0x2e3cd3=_0xa0940c[_0x17bdb7];return _0x2e3cd3;},a0_0x17bd(_0x5a1459,_0x1fea1d);}import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0xa094(){const _0x44f008=['1648208dqJDiZ','queryName','gql','cancel','getCodeByScenario','dispField','selected','NOTHING_SELECTED','left','clickCancel','type','getCodeByEntity','info','includes','4506pUErRF','1420020JnzaSU','record','2aJTYyM','after_set_fields','425711BxoMde','resource-object','entity','clickEmpty','menu_template','select','313470ZoUwbg','basicArgs','getSelectColumns','hidden','getGristSelectableConfig','meta-','args','codes','code','meta-object-selector','firstUpdated','gridConfig','1707498xtkpmh','search_hidden_fields','grist','fetchHandler','shadowRoot','tButton','define','nameField','selectRecord','LIST','searchByPagination','filters','1263147MfADEQ','#ox-grist','filterFields','filter','query','connectedCallback','getGristColumnConfig2','bind','isArray','name','codeField','confirmCallback','sorters','clickSelect','getCodeSelectorData','render','tText','getGristMetaObjectOptions','length','columns','string','menu','meta-code-selector','GRID','meta-object-selector-popup','rows','search','appendable','values','resource-code-selector','select-row-toggle','object','push','keys','styles','1645tZweVe','options','forEach','scenario'];a0_0xa094=function(){return _0x44f008;};return a0_0xa094();}import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x165701(0x1a0)]=[CommonGristStyles,ButtonContainerStyles,css`
2
+ :host {
3
+ display: flex;
4
+ flex-direction: column;
5
+
6
+ background-color: #fff;
7
+
8
+ width: var(--overlay-center-normal-width, 50%);
9
+ height: var(--overlay-center-normal-height, 50%);
10
+ }
11
+
12
+ ox-grist {
13
+ flex: 1;
14
+ }
15
+
16
+ .button-container {
17
+ display: flex;
18
+ margin-left: auto;
19
+ }
20
+ `];async[a0_0x165701(0x183)](){const _0x77589b=a0_0x165701;this[_0x77589b(0x173)]=this['options'][_0x77589b(0x17d)]?this[_0x77589b(0x1a2)][_0x77589b(0x17d)]:this[_0x77589b(0x167)]&&this[_0x77589b(0x167)][_0x77589b(0x17d)]?this[_0x77589b(0x167)][_0x77589b(0x17d)]:[];let _0x491657=this[_0x77589b(0x1a2)]['sorters']?this[_0x77589b(0x1a2)]['sorters']:this[_0x77589b(0x167)]&&this['basicArgs'][_0x77589b(0x18a)]?this['basicArgs'][_0x77589b(0x18a)]:[],_0x1dfd25=this[_0x77589b(0x1a2)][_0x77589b(0x180)]?this['options']['filterFields']:this['options'][_0x77589b(0x164)]?.[_0x77589b(0x198)]&&this[_0x77589b(0x1a2)][_0x77589b(0x164)]?.[_0x77589b(0x198)][_0x77589b(0x190)]>0x0?this['options'][_0x77589b(0x164)][_0x77589b(0x198)]:[],_0x1446dc=this['options'][_0x77589b(0x165)];if(!_0x1dfd25||0x0==_0x1dfd25['length']){let _0x20d635;this[_0x77589b(0x1a2)][_0x77589b(0x188)]&&(_0x20d635=this[_0x77589b(0x1a2)]['codeField']),this['options']['nameField']&&(_0x20d635=this[_0x77589b(0x1a2)][_0x77589b(0x179)]),_0x20d635&&_0x1dfd25[_0x77589b(0x19e)]({'name':_0x20d635,'operator':'eq'});}let _0x379267=[...MetaApi['getGristGuttersConfig'](!0x0,!0x1)];if(_0x1446dc&&_0x1446dc[_0x77589b(0x190)]>0x0)for(let _0x3a848b=0x0;_0x3a848b<_0x1446dc[_0x77589b(0x190)];_0x3a848b++){let {type:_0x522d37=_0x77589b(0x192),name:_0x586bc6,hidden:_0x314dc1=!0x1,record:_0x12c4b6={'align':_0x77589b(0x1ad)},header:_0x2c8162,sortable:_0x4cb131=!0x1,width:_0x182433=0x87,options:_0x106554,select_opt:_0x592eda,object_opt:_0x4e2317}=_0x1446dc[_0x3a848b];if(_0x592eda&&(_0x106554=_0x592eda),_0x4e2317&&(_0x106554=_0x4e2317),[_0x77589b(0x1b9),_0x77589b(0x19d)][_0x77589b(0x1b2)](_0x522d37)?_0x522d37=_0x77589b(0x16f):[_0x77589b(0x19b)][_0x77589b(0x1b2)](_0x522d37)&&(_0x522d37=_0x77589b(0x194)),'id'==_0x586bc6)_0x379267[_0x77589b(0x19e)]({'type':_0x77589b(0x192),'name':_0x586bc6,'hidden':!0x0});else{let _0x289d5b=MetaApi[_0x77589b(0x184)](_0x522d37,_0x586bc6,_0x2c8162||_0x586bc6,_0x12c4b6['align']?_0x12c4b6['align']:_0x77589b(0x1ad),!0x1,_0x4cb131,_0x182433);_0x522d37['startsWith'](_0x77589b(0x16b))&&_0x4e2317&&_0x4e2317[_0x77589b(0x193)]&&(_0x106554=await MetaUiUtil[_0x77589b(0x18f)](_0x522d37,_0x106554)),_0x77589b(0x165)===_0x522d37?Array[_0x77589b(0x186)](_0x106554)?_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]=_0x106554:_0x77589b(0x16e)===_0x106554[_0x77589b(0x1af)]?_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]=await ServiceUtil[_0x77589b(0x18c)](_0x106554[_0x77589b(0x19a)]?_0x106554[_0x77589b(0x19a)]:_0x106554[_0x77589b(0x187)]):_0x77589b(0x1a4)===_0x106554['type']?_0x289d5b[_0x77589b(0x1b5)]['options']=await ServiceUtil[_0x77589b(0x1a9)](_0x106554[_0x77589b(0x187)],_0x106554[_0x77589b(0x16c)]):_0x77589b(0x162)===_0x106554[_0x77589b(0x1af)]&&(_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]=await ServiceUtil[_0x77589b(0x1b0)](_0x106554[_0x77589b(0x16c)])):'meta-object-selector'===_0x522d37?_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]={..._0x106554}:_0x77589b(0x194)==_0x522d37&&(_0x106554[_0x77589b(0x1aa)]&&(_0x106554[_0x77589b(0x16d)]=await ServiceUtil[_0x77589b(0x1b0)](_0x106554)),_0x289d5b[_0x77589b(0x1b5)]['options']={..._0x106554}),_0x289d5b[_0x77589b(0x169)]=_0x314dc1,_0x379267[_0x77589b(0x19e)](_0x289d5b);}}else _0x379267[_0x77589b(0x19e)](MetaApi[_0x77589b(0x184)](_0x77589b(0x192),this[_0x77589b(0x1a2)]['codeField'],this[_0x77589b(0x1a2)]['codeField'],_0x77589b(0x1ad),!0x1,!0x0,0xb4)),this[_0x77589b(0x1a2)][_0x77589b(0x1aa)]&&_0x379267[_0x77589b(0x19e)](MetaApi['getGristColumnConfig2'](_0x77589b(0x192),this[_0x77589b(0x1a2)][_0x77589b(0x1aa)],this['options']['dispField'],_0x77589b(0x1ad),!0x1,!0x0,0x12c));_0x379267[_0x77589b(0x1a3)](_0x127080=>{const _0xd60713=_0x77589b;let _0x1f2095=_0x1dfd25[_0xd60713(0x181)](_0x2185a7=>_0xd60713(0x192)==typeof _0x2185a7?_0x127080[_0xd60713(0x187)]==_0x2185a7:_0x127080[_0xd60713(0x187)]==_0x2185a7[_0xd60713(0x187)]);_0x1f2095&&_0x1f2095['length']>0x0&&(_0x127080[_0xd60713(0x181)]=_0xd60713(0x192)==typeof _0x1f2095[0x0]?'search':_0x1f2095[0x0]);});let _0x34d2d5={'rows':MetaApi[_0x77589b(0x16a)](!0x1),'pagination':MetaApi['getGristPagination100Config'](),'columns':_0x379267,'sorters':[..._0x491657]};_0x34d2d5[_0x77589b(0x197)]['handlers']={'click':_0x77589b(0x19c),'dblclick':(_0x143142,_0x7a3ea6,_0x272fc0,_0x30e03f,_0x36eea5,_0x1c2336)=>{const _0x8b6264=_0x77589b;this[_0x8b6264(0x17a)](_0x30e03f);}},_0x34d2d5['rows'][_0x77589b(0x199)]=!0x1,this['gridConfig']=_0x34d2d5,await super[_0x77589b(0x183)]();}async[a0_0x165701(0x170)](){const _0x4af2f2=a0_0x165701;await super[_0x4af2f2(0x170)]();}[a0_0x165701(0x18d)](){const _0x68d2bd=a0_0x165701;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x68d2bd(0x171)]} .mode=${isMobileDevice()?_0x68d2bd(0x17b):_0x68d2bd(0x195)} auto-fetch
22
+ .fetchHandler=${this[_0x68d2bd(0x175)][_0x68d2bd(0x185)](this)}>
23
+ <div slot="headroom">
24
+ <div id="filters">
25
+ <ox-filters-form></ox-filters-form>
26
+ </div>
27
+ </div>
28
+ </ox-grist>
29
+ <div id="button-container" class="button-container">
30
+ <mwc-button raised label="${TermsUtil['tButton']('empty')}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x68d2bd(0x163)][_0x68d2bd(0x185)](this)}>
32
+ </mwc-button>
33
+ <mwc-button raised label="${TermsUtil[_0x68d2bd(0x177)](_0x68d2bd(0x1a8))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x68d2bd(0x1ae)]['bind'](this)}>
35
+ </mwc-button>
36
+ <mwc-button raised label="${TermsUtil[_0x68d2bd(0x177)](_0x68d2bd(0x165))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this['clickSelect']['bind'](this)}>
38
+ </mwc-button>
39
+ </div>
40
+ `;}get[a0_0x165701(0x174)](){const _0x362675=a0_0x165701;return this[_0x362675(0x176)]['querySelector'](_0x362675(0x17f));}async['fetchHandler']({page:_0x7204b9=0x0,limit:_0x28dc85=0x0,sorters:_0x3bdec8=[],filters:_0x5c61ff=[]}){const _0x4df266=a0_0x165701;let _0xecd6ab=[...this[_0x4df266(0x173)]];_0x5c61ff[_0x4df266(0x1a3)](_0x26c5cd=>{const _0x5a53d6=_0x4df266;let _0x5c113b=_0xecd6ab['filter'](_0x2d3399=>_0x26c5cd[_0x5a53d6(0x187)]==_0x2d3399[_0x5a53d6(0x187)]);_0x5c113b&&_0x5c113b[_0x5a53d6(0x190)]>0x0&&delete _0xecd6ab[_0x26c5cd[_0x5a53d6(0x187)]],_0xecd6ab[_0x5a53d6(0x19e)](_0x26c5cd);});let _0x1eddc4=ValueUtil['getParams'](this[_0x4df266(0x1a2)][_0x4df266(0x164)]&&this[_0x4df266(0x1a2)][_0x4df266(0x164)][_0x4df266(0x1a7)]||{},_0x4df266(0x182),_0x4df266(0x1b7)),_0x341438=Object[_0x4df266(0x19f)](_0x1eddc4||{}),_0x4b66e1=MetaApi[_0x4df266(0x168)](this[_0x4df266(0x171)][_0x4df266(0x191)]['filter'](_0x4d1972=>!_0x341438[_0x4df266(0x1b2)](_0x4d1972[_0x4df266(0x187)])));return await MetaApi[_0x4df266(0x17c)](this[_0x4df266(0x1a2)][_0x4df266(0x1a6)],_0xecd6ab,_0x3bdec8,_0x7204b9,_0x28dc85,_0x4b66e1);}async[a0_0x165701(0x163)](_0x121f1d){this['confirmCallback']&&this['confirmCallback'](null),closePopup(this);}async[a0_0x165701(0x1ae)](_0x5ca0df){closePopup(this);}async[a0_0x165701(0x18b)](_0x1d2852){const _0x5e799e=a0_0x165701;let _0xabdfd9=this[_0x5e799e(0x174)][_0x5e799e(0x1ab)];_0xabdfd9&&0x0!=_0xabdfd9['length']?this[_0x5e799e(0x17a)](_0xabdfd9[0x0]):MetaApi['showToast'](_0x5e799e(0x1b1),TermsUtil[_0x5e799e(0x18e)](_0x5e799e(0x1ac)));}async[a0_0x165701(0x17a)](_0x12535e){const _0x1fa037=a0_0x165701;this[_0x1fa037(0x189)]&&this[_0x1fa037(0x189)](_0x12535e),closePopup(this);}}customElements[a0_0x165701(0x178)](a0_0x165701(0x196),MetaObjectSelectorPopup);