@things-factory/meta-ui 6.1.19 → 6.1.21

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 (92) 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 +9 -9
  4. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-code-select.js +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 +6 -6
  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/mixin/meta-base-mixin.js +1 -1
  16. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  17. package/client/mixin/meta-button-mixin.js +1 -1
  18. package/client/mixin/meta-form-mixin.js +1 -1
  19. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  20. package/client/mixin/meta-main-tab-mixin.js +1 -1
  21. package/client/mixin/meta-master-detail-mixin.js +1 -1
  22. package/client/mixin/meta-service-mixin.js +1 -1
  23. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  24. package/client/mixin/meta-tab-mixin.js +1 -1
  25. package/client/pages/activity/meta-activity-list-page.js +6 -6
  26. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  27. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  28. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  29. package/client/pages/entity/config-entity.js +28 -28
  30. package/client/pages/entity/main-menu-selector.js +8 -8
  31. package/client/pages/history/history-copy-list-popup.js +5 -5
  32. package/client/pages/history/history-json-list-popup.js +6 -6
  33. package/client/pages/loading-page.js +5 -5
  34. package/client/pages/menu/dynamic-menu-template.js +7 -7
  35. package/client/pages/menu/dynamic-menu.js +14 -14
  36. package/client/pages/meta-form-element.js +1 -1
  37. package/client/pages/meta-grist-element.js +1 -1
  38. package/client/pages/meta-grist-page.js +1 -1
  39. package/client/pages/meta-grist-tab-element.js +1 -1
  40. package/client/pages/meta-grist-tab-page.js +1 -1
  41. package/client/pages/meta-main-tab-element.js +1 -1
  42. package/client/pages/meta-main-tab-page.js +1 -1
  43. package/client/pages/meta-master-detail-element.js +1 -1
  44. package/client/pages/meta-master-detail-page.js +1 -1
  45. package/client/pages/meta-tab-detail-element.js +1 -1
  46. package/client/pages/meta-tab-detail-page.js +1 -1
  47. package/client/pages/meta-tab-element.js +1 -1
  48. package/client/pages/personalize/personal-column-selector.js +11 -11
  49. package/client/pages/terms/config-terminology.js +6 -6
  50. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  51. package/client/pages/work-code/work-code-page.js +1 -1
  52. package/client/reducers/main.js +1 -1
  53. package/client/utils/meta-api.js +1 -1
  54. package/client/utils/meta-crypto.js +1 -1
  55. package/client/utils/meta-ui-util.js +103 -103
  56. package/client/utils/service-util.js +13 -13
  57. package/client/utils/terms-util.js +2 -2
  58. package/client/utils/ui-util.js +1 -1
  59. package/client/utils/value-util.js +1 -1
  60. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  61. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  62. package/client/viewparts/dynamic-menu-part.js +12 -12
  63. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  64. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  65. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  66. package/package.json +2 -2
  67. package/server/activity/CommonActivity.js +2 -2
  68. package/server/constants/error-code.js +1 -1
  69. package/server/errors/license-error.js +1 -1
  70. package/server/routes.js +1 -1
  71. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  72. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  73. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  74. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize.js +1 -1
  76. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  77. package/server/service/meta-activity/meta-activity-query.js +1 -1
  78. package/server/service/meta-activity/meta-activity-type.js +1 -1
  79. package/server/service/meta-secret/meta-resolver.js +1 -1
  80. package/server/service/set-translations/set-translation-resolver.js +1 -1
  81. package/server/service/work-code/work-code-mutation.js +1 -1
  82. package/server/service/work-code/work-code-query.js +1 -1
  83. package/server/service/work-code/work-code-type.js +1 -1
  84. package/server/service/work-code/work-code.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  87. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail.js +1 -1
  89. package/translations/en.json +1 -0
  90. package/translations/ko.json +1 -0
  91. package/translations/ms.json +1 -0
  92. package/translations/zh.json +1 -0
@@ -1,7 +1,7 @@
1
- const a0_0x3a906c=a0_0x36b8;(function(_0x381efa,_0x31515f){const _0x4f497b=a0_0x36b8,_0x498431=_0x381efa();while(!![]){try{const _0x463fb7=parseInt(_0x4f497b(0x137))/0x1+-parseInt(_0x4f497b(0x136))/0x2*(parseInt(_0x4f497b(0x12b))/0x3)+-parseInt(_0x4f497b(0x13e))/0x4*(parseInt(_0x4f497b(0x12f))/0x5)+parseInt(_0x4f497b(0x131))/0x6*(parseInt(_0x4f497b(0x13c))/0x7)+-parseInt(_0x4f497b(0x133))/0x8+parseInt(_0x4f497b(0x139))/0x9*(-parseInt(_0x4f497b(0x13a))/0xa)+parseInt(_0x4f497b(0x129))/0xb*(parseInt(_0x4f497b(0x134))/0xc);if(_0x463fb7===_0x31515f)break;else _0x498431['push'](_0x498431['shift']());}catch(_0x214b6f){_0x498431['push'](_0x498431['shift']());}}}(a0_0x53f8,0x864c7));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x3489e6 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0x36b8(_0x35770a,_0x1b0d74){const _0x53f80b=a0_0x53f8();return a0_0x36b8=function(_0x36b808,_0x14d2e4){_0x36b808=_0x36b808-0x120;let _0x1818f3=_0x53f80b[_0x36b808];return _0x1818f3;},a0_0x36b8(_0x35770a,_0x1b0d74);}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_0x53f8(){const _0x357d2f=['815478nFcRwh','items','86661VKTaiw','220rJERdZ','dynamic-menu','7SgHTUI','portrait','152glPqYJ','hamburger','lite-menu-part','rank','liteMenus','active','FRONT_END','dispatch','content','UPDATE_META_MENU_TEMPLATE','appName','390170SOtkQT','UPDATE_META_UI','1803TDGwjB','get','NAVBAR','meta[name=\x22application-name\x22]','92250mnwgCz','filter','1066428GulwtL','data','7170584hRIOoy','720IUKMik','landscape','2536VIXyeL'];a0_0x53f8=function(){return _0x357d2f;};return a0_0x53f8();}export const UPDATE_META_UI=a0_0x3a906c(0x12a);export const UPDATE_META_MENU_TEMPLATE=a0_0x3a906c(0x127);var HAMBURGER;export async function setupMenuPart(_0x2f54f9){const _0x3ecf6e=a0_0x3a906c;var {hovering:_0x4c57e1=!!isMobileDevice(),slotTemplate:_0x27512c,portraitSlotTemplate:_0x2a8069,landscapeSlotTemplate:_0x13c92e,position:_0x337e54=VIEWPART_POSITION[_0x3ecf6e(0x12d)]}=_0x2f54f9||{};const {hovering:_0x13dcee}=(await clientSettingStore[_0x3ecf6e(0x12c)](_0x3ecf6e(0x13b)))?.['value']||{};void 0x0!==_0x13dcee&&(_0x4c57e1=_0x13dcee);const _0x288ff4=_0x337e54==VIEWPART_POSITION['HEADERBAR']?'landscape':_0x3ecf6e(0x13d),_0x38df94=(_0x3ecf6e(0x135)==_0x288ff4?_0x13c92e:_0x2a8069)||_0x27512c||html``;appendViewpart({'name':_0x3ecf6e(0x120),'viewpart':{'show':!_0x4c57e1,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4c57e1,'template':html`<dynamic-menu-part .orientation=${_0x288ff4}>${_0x38df94}</dynamic-menu-part>`},'position':_0x337e54}),_0x4c57e1&&'portrait'==_0x288ff4?HAMBURGER||(HAMBURGER={'name':_0x3ecf6e(0x13f),'template':html`
2
- <mwc-icon @click=${_0x30c79a=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
1
+ const a0_0x491e58=a0_0x4ac7;(function(_0x5ed898,_0x5aedda){const _0x36540f=a0_0x4ac7,_0x5adcbe=_0x5ed898();while(!![]){try{const _0xe4ef07=-parseInt(_0x36540f(0xd2))/0x1+parseInt(_0x36540f(0xcc))/0x2*(-parseInt(_0x36540f(0xbe))/0x3)+-parseInt(_0x36540f(0xbf))/0x4+parseInt(_0x36540f(0xc8))/0x5*(parseInt(_0x36540f(0xc2))/0x6)+parseInt(_0x36540f(0xbd))/0x7*(-parseInt(_0x36540f(0xd3))/0x8)+parseInt(_0x36540f(0xc4))/0x9+parseInt(_0x36540f(0xca))/0xa;if(_0xe4ef07===_0x5aedda)break;else _0x5adcbe['push'](_0x5adcbe['shift']());}catch(_0x20964c){_0x5adcbe['push'](_0x5adcbe['shift']());}}}(a0_0xc34a,0x5912a));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x23d3f2 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0xc34a(){const _0xb2e1cb=['appName','67194iIXaCs','UPDATE_META_MENU_TEMPLATE','portrait','landscape','19705zwlZpL','querySelector','17915650yWrxSO','query','11654qZmfRl','active','filter','dynamic-menu','items','UPDATE_META_UI','56935vCadNG','98984GfuzaC','liteMenus','hamburger','rank','dispatch','21hXqtiP','336ipZAdL','2797336bEBLyx','dynamic-menu-part','content','18DLZnvj'];a0_0xc34a=function(){return _0xb2e1cb;};return a0_0xc34a();}import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x491e58(0xd1);export const UPDATE_META_MENU_TEMPLATE=a0_0x491e58(0xc5);function a0_0x4ac7(_0xb6ec9f,_0x403425){const _0xc34aae=a0_0xc34a();return a0_0x4ac7=function(_0x4ac734,_0x121113){_0x4ac734=_0x4ac734-0xbc;let _0x46fd8d=_0xc34aae[_0x4ac734];return _0x46fd8d;},a0_0x4ac7(_0xb6ec9f,_0x403425);}var HAMBURGER;export async function setupMenuPart(_0x3f375f){const _0x1b6496=a0_0x491e58;var {hovering:_0x58d797=!!isMobileDevice(),slotTemplate:_0xce9749,portraitSlotTemplate:_0x25ac99,landscapeSlotTemplate:_0x42f2f4,position:_0x5bc251=VIEWPART_POSITION['NAVBAR']}=_0x3f375f||{};const {hovering:_0x3e15fb}=(await clientSettingStore['get'](_0x1b6496(0xcf)))?.['value']||{};void 0x0!==_0x3e15fb&&(_0x58d797=_0x3e15fb);const _0x515503=_0x5bc251==VIEWPART_POSITION['HEADERBAR']?_0x1b6496(0xc7):_0x1b6496(0xc6),_0x1786fd=(_0x1b6496(0xc7)==_0x515503?_0x42f2f4:_0x25ac99)||_0xce9749||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x58d797,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x58d797,'template':html`<dynamic-menu-part .orientation=${_0x515503}>${_0x1786fd}</dynamic-menu-part>`},'position':_0x5bc251}),_0x58d797&&'portrait'==_0x515503?HAMBURGER||(HAMBURGER={'name':_0x1b6496(0xd5),'template':html`
2
+ <mwc-icon @click=${_0x445b6f=>toggleOverlay(_0x1b6496(0xc0),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x3ecf6e(0x124)]},store[_0x3ecf6e(0x125)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x3ecf6e(0x125)]({'type':REMOVE_APP_TOOL,'name':_0x3ecf6e(0x13f)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x567c29){const _0x461865=a0_0x3a906c;var _0x5add90=document['querySelector'](_0x461865(0x12e))?.[_0x461865(0x126)],_0x47a49d=(await client['query']({'query':a0_0x3489e6`
4
+ `,'position':TOOL_POSITION['FRONT_END']},store[_0x1b6496(0xbc)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x1b6496(0xbc)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x36ed0c){const _0x34c11f=a0_0x491e58;var _0x359954=document[_0x34c11f(0xc9)]('meta[name=\x22application-name\x22]')?.[_0x34c11f(0xc1)],_0x5d2b39=(await client[_0x34c11f(0xcb)]({'query':a0_0x23d3f2`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x3a906c=a0_0x36b8;(function(_0x381efa,_0x31515f){const _0x4f497b=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x461865(0x123),'operator':'eq','value':!0x0},{'name':_0x461865(0x128),'operator':'in','value':['',_0x5add90]}],'sortings':[{'name':_0x461865(0x121),'desc':!0x1}]}}))[_0x461865(0x132)][_0x461865(0x122)][_0x461865(0x138)];store[_0x461865(0x125)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x47a49d[_0x461865(0x130)](_0x47a915=>!_0x47a915[_0x461865(0x128)]||_0x47a915[_0x461865(0x128)]===_0x5add90),'template':_0x567c29});}
23
+ `,'variables':{'filters':[{'name':_0x34c11f(0xcd),'operator':'eq','value':!0x0},{'name':_0x34c11f(0xc3),'operator':'in','value':['',_0x359954]}],'sortings':[{'name':_0x34c11f(0xd6),'desc':!0x1}]}}))['data'][_0x34c11f(0xd4)][_0x34c11f(0xd0)];store[_0x34c11f(0xbc)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x5d2b39[_0x34c11f(0xce)](_0x1f75a9=>!_0x1f75a9['appName']||_0x1f75a9[_0x34c11f(0xc3)]===_0x359954),'template':_0x36ed0c});}
@@ -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(_0x97207c,_0x593d7a){const _0x2508aa=a0_0x3643,_0x24aea4=_0x97207c();while(!![]){try{const _0x1e2f65=-parseInt(_0x2508aa(0x15e))/0x1+-parseInt(_0x2508aa(0x149))/0x2*(parseInt(_0x2508aa(0x153))/0x3)+-parseInt(_0x2508aa(0x14d))/0x4+parseInt(_0x2508aa(0x161))/0x5*(-parseInt(_0x2508aa(0x158))/0x6)+parseInt(_0x2508aa(0x150))/0x7+-parseInt(_0x2508aa(0x14e))/0x8*(parseInt(_0x2508aa(0x151))/0x9)+-parseInt(_0x2508aa(0x15a))/0xa*(-parseInt(_0x2508aa(0x162))/0xb);if(_0x1e2f65===_0x593d7a)break;else _0x24aea4['push'](_0x24aea4['shift']());}catch(_0x41c57b){_0x24aea4['push'](_0x24aea4['shift']());}}}(a0_0x2d3d,0x34084));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2d3d(){const _0x37d49e=['tMenu','12xccCeY','stopPropagation','30RfUnNH','toLowerCase','renderRoot','selectorName','359640BZkLZt','ox-grid-header','filter-change','690355rqOlHj','3997191cZAXFv','[name=\x22','display','length','dispatchEvent','dispField','value','587706BWfGCH','codeField','large','name','639564rfhKgE','1549832RPkeFP','options','2843652xIQiBu','9YVDZAf','tTitle','3cEPPvh','codes','target','tagName'];a0_0x2d3d=function(){return _0x37d49e;};return a0_0x2d3d();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x2b64d0,_0x4aaacc,_0xa050d3){const _0x271762=a0_0x3643;var _0x571d36=html`
1
+ function a0_0x25d4(_0x53f1fb,_0x5323ae){const _0x1a696f=a0_0x1a69();return a0_0x25d4=function(_0x25d412,_0x19868a){_0x25d412=_0x25d412-0x1c6;let _0x34ed60=_0x1a696f[_0x25d412];return _0x34ed60;},a0_0x25d4(_0x53f1fb,_0x5323ae);}(function(_0x121c57,_0x46c480){const _0x79070f=a0_0x25d4,_0x420a7f=_0x121c57();while(!![]){try{const _0x397edb=-parseInt(_0x79070f(0x1d7))/0x1*(-parseInt(_0x79070f(0x1d2))/0x2)+parseInt(_0x79070f(0x1c8))/0x3*(-parseInt(_0x79070f(0x1e5))/0x4)+-parseInt(_0x79070f(0x1c6))/0x5+-parseInt(_0x79070f(0x1ca))/0x6+parseInt(_0x79070f(0x1c9))/0x7+parseInt(_0x79070f(0x1c7))/0x8*(parseInt(_0x79070f(0x1cb))/0x9)+-parseInt(_0x79070f(0x1cc))/0xa*(-parseInt(_0x79070f(0x1df))/0xb);if(_0x397edb===_0x46c480)break;else _0x420a7f['push'](_0x420a7f['shift']());}catch(_0x485ac4){_0x420a7f['push'](_0x420a7f['shift']());}}}(a0_0x1a69,0x8ebda));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x1a69(){const _0x29858d=['tagName','2260745NgmoGs','136JeFlBW','11838nQFqkN','1392916kATIoD','3010464lEwOVO','408330FqVzsK','7627820rogFLH','name','dispatchEvent','selectorName','form\x20[name=\x22','change','19478stlcVt','length','[name=\x22','codes','dispField','3girqHj','filter-change','options','renderRoot','querySelector','codeField','stopPropagation','large','22jgVjGC','tTitle','value','tMenu','target','filter','1000wKMkRQ'];a0_0x1a69=function(){return _0x29858d;};return a0_0x1a69();}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x2160e4,_0x34d02b,_0x392059){const _0x47c343=a0_0x25d4;var _0x3e2ab6=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x4aaacc}
4
- .options=${_0x2b64d0[_0x271762(0x14f)]}
5
- .confirmCallback=${_0xa050d3}
3
+ .value=${_0x34d02b}
4
+ .options=${_0x2160e4['options']}
5
+ .confirmCallback=${_0x392059}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x571d36,{'backdrop':!0x0,'size':_0x271762(0x14b),'title':_0x2b64d0[_0x271762(0x14f)][_0x271762(0x15d)]?TermsUtil[_0x271762(0x157)](_0x2b64d0[_0x271762(0x14f)][_0x271762(0x15d)]):TermsUtil[_0x271762(0x152)]('select_item')});}function a0_0x3643(_0x3f26ae,_0x142f50){const _0x2d3dcb=a0_0x2d3d();return a0_0x3643=function(_0x364386,_0x86638f){_0x364386=_0x364386-0x145;let _0x44cf12=_0x2d3dcb[_0x364386];return _0x44cf12;},a0_0x3643(_0x3f26ae,_0x142f50);}export const FilterFormMetaCodeSelect=(_0x451855,_0x50de21,_0x5991bb)=>{const _0x11c39d=a0_0x3643,_0x261cc2=_0x451855[_0x11c39d(0x14f)],_0x4805cc=_0x261cc2[_0x11c39d(0x154)]&&_0x261cc2[_0x11c39d(0x154)][_0x11c39d(0x145)]>0x0?_0x261cc2[_0x11c39d(0x154)]:void 0x0,{operator:_0x1ebe8c='eq'}=_0x451855;let _0x370a33=_0x50de21||'',_0xc0c778=_0x50de21||'';if(_0x261cc2[_0x11c39d(0x147)]&&_0x50de21&&_0x4805cc){let _0x30057a=_0x4805cc['filter'](_0x514cdc=>_0x514cdc['value']==_0x50de21);_0x30057a&&_0x30057a[_0x11c39d(0x145)]>0x0&&(_0xc0c778=_0x30057a[0x0][_0x11c39d(0x164)]);}return'eq'===_0x1ebe8c?html`
8
- <input name='${_0x451855['name']}' .value=${_0x370a33} type="text" hidden></input>
7
+ `;openPopup(_0x3e2ab6,{'backdrop':!0x0,'size':_0x47c343(0x1de),'title':_0x2160e4['options'][_0x47c343(0x1cf)]?TermsUtil[_0x47c343(0x1e2)](_0x2160e4[_0x47c343(0x1d9)][_0x47c343(0x1cf)]):TermsUtil[_0x47c343(0x1e0)]('select_item')});}export const FilterFormMetaCodeSelect=(_0x228019,_0x499879,_0x5700b0)=>{const _0x1822d8=a0_0x25d4,_0x162a2f=_0x228019[_0x1822d8(0x1d9)],_0x401a6b=_0x162a2f['codes']&&_0x162a2f['codes']['length']>0x0?_0x162a2f[_0x1822d8(0x1d5)]:void 0x0,{operator:_0x3b240d='eq'}=_0x228019;let _0x1d9e7d=_0x499879||'',_0x3ad08a=_0x499879||'';if(_0x162a2f['dispField']&&_0x499879&&_0x401a6b){let _0x47732e=_0x401a6b[_0x1822d8(0x1e4)](_0x49ac5e=>_0x49ac5e[_0x1822d8(0x1e1)]==_0x499879);_0x47732e&&_0x47732e[_0x1822d8(0x1d3)]>0x0&&(_0x3ad08a=_0x47732e[0x0]['display']);}return'eq'===_0x3b240d?html`
8
+ <input name='${_0x228019[_0x1822d8(0x1cd)]}' .value=${_0x1d9e7d} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x451855[_0x11c39d(0x14c)]}_disp'
13
- .value=${_0xc0c778}
14
- @click=${_0x1bffbd=>{const _0x1b25e4=_0x11c39d;_0x1bffbd[_0x1b25e4(0x159)]();const _0x2de8f0=_0x1bffbd[_0x1b25e4(0x155)];openMetaCodeSelector(_0x451855,_0x50de21,_0x1aaf3e=>{const _0x3949a2=_0x1b25e4;let _0x7ee121=_0x1aaf3e?_0x1aaf3e[_0x261cc2[_0x3949a2(0x14a)]]:'',_0x57840a=_0x7ee121;_0x1aaf3e&&_0x261cc2[_0x3949a2(0x147)]&&(_0x57840a=_0x1aaf3e[_0x261cc2[_0x3949a2(0x147)]]),_0x2de8f0[_0x3949a2(0x148)]=_0x57840a,(_0x3949a2(0x15f)==_0x5991bb[_0x3949a2(0x156)][_0x3949a2(0x15b)]()?_0x5991bb[_0x3949a2(0x15c)]['querySelector'](_0x3949a2(0x163)+_0x451855[_0x3949a2(0x14c)]+'\x22]'):_0x5991bb[_0x3949a2(0x15c)]['querySelector']('form\x20[name=\x22'+_0x451855['name']+'\x22]'))[_0x3949a2(0x148)]=_0x7ee121,_0x2de8f0[_0x3949a2(0x146)](new Event('change',{'bubbles':!0x0})),_0x2de8f0[_0x3949a2(0x146)](new CustomEvent(_0x3949a2(0x160),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x451855[_0x3949a2(0x14c)],'operator':_0x1ebe8c,'value':_0x7ee121}}));});}}
12
+ name='${_0x228019[_0x1822d8(0x1cd)]}_disp'
13
+ .value=${_0x3ad08a}
14
+ @click=${_0x27f76b=>{const _0x2efc6b=_0x1822d8;_0x27f76b[_0x2efc6b(0x1dd)]();const _0x33cea5=_0x27f76b[_0x2efc6b(0x1e3)];openMetaCodeSelector(_0x228019,_0x499879,_0x3c4d4a=>{const _0x3dd8d1=_0x2efc6b;let _0x5b1736=_0x3c4d4a?_0x3c4d4a[_0x162a2f[_0x3dd8d1(0x1dc)]]:'',_0x71a330=_0x5b1736;_0x3c4d4a&&_0x162a2f[_0x3dd8d1(0x1d6)]&&(_0x71a330=_0x3c4d4a[_0x162a2f[_0x3dd8d1(0x1d6)]]),_0x33cea5[_0x3dd8d1(0x1e1)]=_0x71a330,('ox-grid-header'==_0x5700b0[_0x3dd8d1(0x1e6)]['toLowerCase']()?_0x5700b0[_0x3dd8d1(0x1da)]['querySelector'](_0x3dd8d1(0x1d4)+_0x228019[_0x3dd8d1(0x1cd)]+'\x22]'):_0x5700b0['renderRoot'][_0x3dd8d1(0x1db)](_0x3dd8d1(0x1d0)+_0x228019[_0x3dd8d1(0x1cd)]+'\x22]'))[_0x3dd8d1(0x1e1)]=_0x5b1736,_0x33cea5[_0x3dd8d1(0x1ce)](new Event(_0x3dd8d1(0x1d1),{'bubbles':!0x0})),_0x33cea5[_0x3dd8d1(0x1ce)](new CustomEvent(_0x3dd8d1(0x1d8),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x228019[_0x3dd8d1(0x1cd)],'operator':_0x3b240d,'value':_0x5b1736}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x2d798d,_0x7c97e4){const _0x15af3b=a0_0x53aa,_0x1a9290=_0x2d798d();while(!![]){try{const _0x2e1daa=-parseInt(_0x15af3b(0x15e))/0x1*(parseInt(_0x15af3b(0x15f))/0x2)+parseInt(_0x15af3b(0x14a))/0x3+parseInt(_0x15af3b(0x14f))/0x4+parseInt(_0x15af3b(0x161))/0x5*(-parseInt(_0x15af3b(0x154))/0x6)+-parseInt(_0x15af3b(0x14e))/0x7+-parseInt(_0x15af3b(0x15c))/0x8+parseInt(_0x15af3b(0x157))/0x9;if(_0x2e1daa===_0x7c97e4)break;else _0x1a9290['push'](_0x1a9290['shift']());}catch(_0x40aa50){_0x1a9290['push'](_0x1a9290['shift']());}}}(a0_0x5565,0x32788));function a0_0x5565(){const _0x38458f=['tTitle','options','filter-change','dispatchEvent','6knxRVa','renderRoot','change','2494350lPGtWK','toLowerCase','stopPropagation','value','form\x20[name=\x22','1725176YMRzqt','target','2631wbyFRy','10BrFYbB','selectorName','1175535uArBGp','nameField','select_item','name','tagName','406917hjdlCw','querySelector','large','[name=\x22','518833bqXjJj','1327868jsbCQi'];a0_0x5565=function(){return _0x38458f;};return a0_0x5565();}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x178f6f,_0x259150,_0x6589f2){const _0x307e2a=a0_0x53aa;var _0xe09914=html`
1
+ function a0_0x29b5(_0x5014f9,_0x5505ca){const _0x19ed9b=a0_0x19ed();return a0_0x29b5=function(_0x29b50c,_0xdff76e){_0x29b50c=_0x29b50c-0xea;let _0x5e8224=_0x19ed9b[_0x29b50c];return _0x5e8224;},a0_0x29b5(_0x5014f9,_0x5505ca);}(function(_0x182871,_0x59cd1e){const _0x4616cf=a0_0x29b5,_0x35392f=_0x182871();while(!![]){try{const _0x24ca09=-parseInt(_0x4616cf(0xf6))/0x1*(-parseInt(_0x4616cf(0xfc))/0x2)+parseInt(_0x4616cf(0x107))/0x3*(parseInt(_0x4616cf(0xfd))/0x4)+parseInt(_0x4616cf(0x101))/0x5+-parseInt(_0x4616cf(0xf1))/0x6*(parseInt(_0x4616cf(0xff))/0x7)+parseInt(_0x4616cf(0xed))/0x8*(parseInt(_0x4616cf(0xef))/0x9)+-parseInt(_0x4616cf(0xfa))/0xa+-parseInt(_0x4616cf(0xeb))/0xb;if(_0x24ca09===_0x59cd1e)break;else _0x35392f['push'](_0x35392f['shift']());}catch(_0x131710){_0x35392f['push'](_0x35392f['shift']());}}}(a0_0x19ed,0x992ce));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x19ed(){const _0x5a1949=['7761336DzLIQk','tagName','40uVRbzb','value','2215827pGmAUs','filter-change','78KIEhwT','renderRoot','target','ox-grid-header','large','1184150yXliYF','form\x20[name=\x22','[name=\x22','tMenu','11265250qMDKAz','options','2JHWVdZ','4VEDMAv','toLowerCase','445844HnZjgz','tTitle','2891315dAWhZK','selectorName','name','change','select_item','querySelector','882225pyeOXy','dispatchEvent','nameField'];a0_0x19ed=function(){return _0x5a1949;};return a0_0x19ed();}function openMetaObjectSelector(_0xb6cdb1,_0x2d1999,_0x3196c2){const _0x53effa=a0_0x29b5;var _0x7b9b53=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x259150}
4
- .options=${_0x178f6f[_0x307e2a(0x151)]}
5
- .confirmCallback=${_0x6589f2}
3
+ .value=${_0x2d1999}
4
+ .options=${_0xb6cdb1['options']}
5
+ .confirmCallback=${_0x3196c2}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0xe09914,{'backdrop':!0x0,'size':_0x307e2a(0x14c),'title':_0x178f6f[_0x307e2a(0x151)]['selectorName']?TermsUtil['tMenu'](_0x178f6f['options'][_0x307e2a(0x160)]):TermsUtil[_0x307e2a(0x150)](_0x307e2a(0x163))});}function a0_0x53aa(_0x346d69,_0x7b5eb4){const _0x556507=a0_0x5565();return a0_0x53aa=function(_0x53aa87,_0x126a6d){_0x53aa87=_0x53aa87-0x148;let _0xa53590=_0x556507[_0x53aa87];return _0xa53590;},a0_0x53aa(_0x346d69,_0x7b5eb4);}export const FilterFormMetaObjectSelect=(_0x37f738,_0x41639c,_0x5556da)=>{const _0x4e508a=a0_0x53aa,_0x3d4efb=_0x37f738[_0x4e508a(0x151)],{operator:_0x496f65='eq'}=_0x37f738;let _0x548595=_0x41639c?_0x41639c['id']:'',_0x3da5ee=_0x41639c?_0x41639c[_0x3d4efb[_0x4e508a(0x162)]]:'';return'eq'===_0x496f65?html`
8
- <input name='${_0x37f738[_0x4e508a(0x148)]}' .value=${_0x548595} type="text" hidden></input>
7
+ `;openPopup(_0x7b9b53,{'backdrop':!0x0,'size':_0x53effa(0xf5),'title':_0xb6cdb1['options']['selectorName']?TermsUtil[_0x53effa(0xf9)](_0xb6cdb1[_0x53effa(0xfb)][_0x53effa(0x102)]):TermsUtil[_0x53effa(0x100)](_0x53effa(0x105))});}export const FilterFormMetaObjectSelect=(_0x146fd9,_0x236607,_0x1dcf42)=>{const _0x454a22=a0_0x29b5,_0x2c65a0=_0x146fd9[_0x454a22(0xfb)],{operator:_0x141327='eq'}=_0x146fd9;let _0x59cdd3=_0x236607?_0x236607['id']:'',_0x35c21d=_0x236607?_0x236607[_0x2c65a0[_0x454a22(0xea)]]:'';return'eq'===_0x141327?html`
8
+ <input name='${_0x146fd9[_0x454a22(0x103)]}' .value=${_0x59cdd3} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x37f738[_0x4e508a(0x148)]}_disp'
13
- .value=${_0x3da5ee}
14
- @click=${_0x4d9d12=>{const _0x35ec5e=_0x4e508a;_0x4d9d12[_0x35ec5e(0x159)]();const _0x547f52=_0x4d9d12[_0x35ec5e(0x15d)];openMetaObjectSelector(_0x37f738,_0x41639c,_0x37f8d0=>{const _0x178f5b=_0x35ec5e;let _0x320f6f=_0x37f8d0?_0x37f8d0['id']:'',_0x3bb7fe=_0x37f8d0?_0x37f8d0[_0x3d4efb[_0x178f5b(0x162)]]:'';_0x547f52['value']=_0x3bb7fe,('ox-grid-header'==_0x5556da[_0x178f5b(0x149)][_0x178f5b(0x158)]()?_0x5556da[_0x178f5b(0x155)]['querySelector'](_0x178f5b(0x14d)+_0x37f738[_0x178f5b(0x148)]+'\x22]'):_0x5556da[_0x178f5b(0x155)][_0x178f5b(0x14b)](_0x178f5b(0x15b)+_0x37f738[_0x178f5b(0x148)]+'\x22]'))[_0x178f5b(0x15a)]=_0x320f6f,_0x547f52['dispatchEvent'](new Event(_0x178f5b(0x156),{'bubbles':!0x0})),_0x547f52[_0x178f5b(0x153)](new CustomEvent(_0x178f5b(0x152),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x37f738[_0x178f5b(0x148)],'operator':_0x496f65,'value':_0x320f6f}}));});}}
12
+ name='${_0x146fd9[_0x454a22(0x103)]}_disp'
13
+ .value=${_0x35c21d}
14
+ @click=${_0x51c398=>{const _0x428e37=_0x454a22;_0x51c398['stopPropagation']();const _0x1354a1=_0x51c398[_0x428e37(0xf3)];openMetaObjectSelector(_0x146fd9,_0x236607,_0x286eb4=>{const _0x5029ed=_0x428e37;let _0x39f522=_0x286eb4?_0x286eb4['id']:'',_0x6d25d3=_0x286eb4?_0x286eb4[_0x2c65a0[_0x5029ed(0xea)]]:'';_0x1354a1[_0x5029ed(0xee)]=_0x6d25d3,(_0x5029ed(0xf4)==_0x1dcf42[_0x5029ed(0xec)][_0x5029ed(0xfe)]()?_0x1dcf42[_0x5029ed(0xf2)][_0x5029ed(0x106)](_0x5029ed(0xf8)+_0x146fd9[_0x5029ed(0x103)]+'\x22]'):_0x1dcf42[_0x5029ed(0xf2)][_0x5029ed(0x106)](_0x5029ed(0xf7)+_0x146fd9['name']+'\x22]'))[_0x5029ed(0xee)]=_0x39f522,_0x1354a1[_0x5029ed(0x108)](new Event(_0x5029ed(0x104),{'bubbles':!0x0})),_0x1354a1[_0x5029ed(0x108)](new CustomEvent(_0x5029ed(0xf0),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x146fd9[_0x5029ed(0x103)],'operator':_0x141327,'value':_0x39f522}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x4beadd,_0x4d4de8){const _0x2adf7a=a0_0x36a4,_0x186052=_0x4beadd();while(!![]){try{const _0x49501f=parseInt(_0x2adf7a(0x202))/0x1*(-parseInt(_0x2adf7a(0x1fd))/0x2)+-parseInt(_0x2adf7a(0x1f3))/0x3*(parseInt(_0x2adf7a(0x200))/0x4)+-parseInt(_0x2adf7a(0x1f6))/0x5*(parseInt(_0x2adf7a(0x1fe))/0x6)+-parseInt(_0x2adf7a(0x1f7))/0x7*(parseInt(_0x2adf7a(0x20f))/0x8)+parseInt(_0x2adf7a(0x20b))/0x9+parseInt(_0x2adf7a(0x1fc))/0xa*(parseInt(_0x2adf7a(0x20c))/0xb)+parseInt(_0x2adf7a(0x209))/0xc;if(_0x49501f===_0x4d4de8)break;else _0x186052['push'](_0x186052['shift']());}catch(_0x3120ad){_0x186052['push'](_0x186052['shift']());}}}(a0_0x3d47,0x3ca0d));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x3d47(){const _0x3b9774=['record','display','target','options','7373076ObSHpe','change','1759248QcXflg','261943lwwgVr','dispatchEvent','tagName','64vnAQeI','large','querySelector','[name=\x22','codes','filter','dispField','30819lDIkWx','toLowerCase','selectorName','5GpaqAh','56861jUyoSy','length','form\x20[name=\x22','codeField','value','190rONfQj','191516TWdNSr','2017896vfMhkI','name','164dnEsDC','renderRoot','2vVJpic','stopPropagation','select_item'];a0_0x3d47=function(){return _0x3b9774;};return a0_0x3d47();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x140d19,_0x5cc56a,_0x11e5a1){const _0x5bf136=a0_0x36a4;var _0x364765=html`
1
+ (function(_0xe62e66,_0x57996c){const _0x484b7c=a0_0x4a31,_0x381bdc=_0xe62e66();while(!![]){try{const _0x19880e=-parseInt(_0x484b7c(0x9e))/0x1+parseInt(_0x484b7c(0x95))/0x2+-parseInt(_0x484b7c(0xa2))/0x3+-parseInt(_0x484b7c(0x93))/0x4+-parseInt(_0x484b7c(0x94))/0x5*(-parseInt(_0x484b7c(0x9d))/0x6)+-parseInt(_0x484b7c(0x84))/0x7*(parseInt(_0x484b7c(0x87))/0x8)+-parseInt(_0x484b7c(0x89))/0x9*(-parseInt(_0x484b7c(0x8c))/0xa);if(_0x19880e===_0x57996c)break;else _0x381bdc['push'](_0x381bdc['shift']());}catch(_0x2fb717){_0x381bdc['push'](_0x381bdc['shift']());}}}(a0_0xba2c,0x6d9cb));import'../popup/meta-object-selector-popup';function a0_0x4a31(_0x331ee9,_0x5572bd){const _0xba2ca7=a0_0xba2c();return a0_0x4a31=function(_0x4a31dd,_0x314e08){_0x4a31dd=_0x4a31dd-0x82;let _0x4f6484=_0xba2ca7[_0x4a31dd];return _0x4f6484;},a0_0x4a31(_0x331ee9,_0x5572bd);}function a0_0xba2c(){const _0x2ea9dc=['name','1988700cjSbsG','3904235sqKGOv','696814jzgwyI','tagName','filter-change','select_item','large','record','dispField','value','6eLcpkI','713141cxDGQl','renderRoot','form\x20[name=\x22','codes','447753qYLNAd','change','target','21kFouPJ','length','stopPropagation','528536GJOfBk','codeField','3699iRQIGE','display','ox-grid-header','21350QBFfmM','selectorName','tMenu','dispatchEvent','options','querySelector'];a0_0xba2c=function(){return _0x2ea9dc;};return a0_0xba2c();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x110980,_0x48fc8f,_0x45ba58){const _0x2e9a6d=a0_0x4a31;var _0x1fc27b=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x5cc56a}
4
- .options=${_0x140d19[_0x5bf136(0x205)][_0x5bf136(0x208)]}
5
- .confirmCallback=${_0x11e5a1}
3
+ .value=${_0x48fc8f}
4
+ .options=${_0x110980[_0x2e9a6d(0x9a)][_0x2e9a6d(0x90)]}
5
+ .confirmCallback=${_0x45ba58}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x364765,{'backdrop':!0x0,'size':_0x5bf136(0x210),'title':_0x140d19[_0x5bf136(0x205)]['options'][_0x5bf136(0x1f5)]?TermsUtil['tMenu'](_0x140d19['record'][_0x5bf136(0x208)][_0x5bf136(0x1f5)]):TermsUtil['tTitle'](_0x5bf136(0x204))});}function a0_0x36a4(_0x3b6861,_0x26bd01){const _0x3d471b=a0_0x3d47();return a0_0x36a4=function(_0x36a4c7,_0x5a9bfb){_0x36a4c7=_0x36a4c7-0x1f0;let _0xd61f26=_0x3d471b[_0x36a4c7];return _0xd61f26;},a0_0x36a4(_0x3b6861,_0x26bd01);}export const FilterGristMetaCodeSelect=(_0x41ea17,_0x17fa4e,_0x3f99ab)=>{const _0x41d9b8=a0_0x36a4,_0xbb82db=_0x41ea17[_0x41d9b8(0x1f1)],_0x1b77bb=_0x41ea17[_0x41d9b8(0x205)]['options'],_0x18cf5e=_0x1b77bb[_0x41d9b8(0x1f0)]&&_0x1b77bb[_0x41d9b8(0x1f0)]['length']>0x0?_0x1b77bb[_0x41d9b8(0x1f0)]:void 0x0,{operator:_0x4d5415='eq'}=_0xbb82db;let _0x1b86d4=_0x17fa4e||'',_0x4c66ff=_0x17fa4e||'';if(_0x1b77bb[_0x41d9b8(0x1f2)]&&_0x17fa4e&&_0x18cf5e){let _0x46f736=_0x18cf5e[_0x41d9b8(0x1f1)](_0x16404a=>_0x16404a[_0x41d9b8(0x1fb)]==_0x17fa4e);_0x46f736&&_0x46f736[_0x41d9b8(0x1f8)]>0x0&&(_0x4c66ff=_0x46f736[0x0][_0x41d9b8(0x206)]);}return'eq'===_0x4d5415?html`
8
- <input name='${_0x41ea17[_0x41d9b8(0x1ff)]}' .value=${_0x1b86d4} type="text" hidden></input>
7
+ `;openPopup(_0x1fc27b,{'backdrop':!0x0,'size':_0x2e9a6d(0x99),'title':_0x110980[_0x2e9a6d(0x9a)]['options'][_0x2e9a6d(0x8d)]?TermsUtil[_0x2e9a6d(0x8e)](_0x110980[_0x2e9a6d(0x9a)][_0x2e9a6d(0x90)]['selectorName']):TermsUtil['tTitle'](_0x2e9a6d(0x98))});}export const FilterGristMetaCodeSelect=(_0x15e50c,_0x3c0018,_0x58f0d5)=>{const _0x29d456=a0_0x4a31,_0x5122f4=_0x15e50c['filter'],_0x47cd78=_0x15e50c['record']['options'],_0x19a181=_0x47cd78[_0x29d456(0xa1)]&&_0x47cd78[_0x29d456(0xa1)][_0x29d456(0x85)]>0x0?_0x47cd78[_0x29d456(0xa1)]:void 0x0,{operator:_0x6af1e7='eq'}=_0x5122f4;let _0x3cb96c=_0x3c0018||'',_0xc51064=_0x3c0018||'';if(_0x47cd78[_0x29d456(0x9b)]&&_0x3c0018&&_0x19a181){let _0xb85784=_0x19a181['filter'](_0x12caa8=>_0x12caa8[_0x29d456(0x9c)]==_0x3c0018);_0xb85784&&_0xb85784['length']>0x0&&(_0xc51064=_0xb85784[0x0][_0x29d456(0x8a)]);}return'eq'===_0x6af1e7?html`
8
+ <input name='${_0x15e50c[_0x29d456(0x92)]}' .value=${_0x3cb96c} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x41ea17[_0x41d9b8(0x1ff)]}_disp'
13
- .value=${_0x4c66ff}
14
- @click=${_0x1811b3=>{const _0x5ca1a9=_0x41d9b8;_0x1811b3[_0x5ca1a9(0x203)]();const _0x4ff195=_0x1811b3[_0x5ca1a9(0x207)];openMetaCodeSelector(_0x41ea17,_0x17fa4e,_0xa99ae0=>{const _0x4621cf=_0x5ca1a9;let _0xafee03=_0xa99ae0?_0xa99ae0[_0x1b77bb[_0x4621cf(0x1fa)]]:'',_0xcbd7f6=_0xafee03;_0xa99ae0&&_0x1b77bb[_0x4621cf(0x1f2)]&&(_0xcbd7f6=_0xa99ae0[_0x1b77bb[_0x4621cf(0x1f2)]]),_0x4ff195[_0x4621cf(0x1fb)]=_0xcbd7f6,('ox-grid-header'==_0x3f99ab[_0x4621cf(0x20e)][_0x4621cf(0x1f4)]()?_0x3f99ab[_0x4621cf(0x201)][_0x4621cf(0x211)](_0x4621cf(0x212)+_0xbb82db[_0x4621cf(0x1ff)]+'\x22]'):_0x3f99ab['renderRoot'][_0x4621cf(0x211)](_0x4621cf(0x1f9)+_0xbb82db[_0x4621cf(0x1ff)]+'\x22]'))[_0x4621cf(0x1fb)]=_0xafee03,_0x4ff195['dispatchEvent'](new Event(_0x4621cf(0x20a),{'bubbles':!0x0})),_0x4ff195[_0x4621cf(0x20d)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x41ea17[_0x4621cf(0x1ff)],'operator':_0x4d5415,'value':_0xafee03}}));});}}
12
+ name='${_0x15e50c[_0x29d456(0x92)]}_disp'
13
+ .value=${_0xc51064}
14
+ @click=${_0x2d92e0=>{const _0x1cca8c=_0x29d456;_0x2d92e0[_0x1cca8c(0x86)]();const _0x1761df=_0x2d92e0[_0x1cca8c(0x83)];openMetaCodeSelector(_0x15e50c,_0x3c0018,_0x5d62f7=>{const _0xdaa892=_0x1cca8c;let _0x448e4e=_0x5d62f7?_0x5d62f7[_0x47cd78[_0xdaa892(0x88)]]:'',_0x4da820=_0x448e4e;_0x5d62f7&&_0x47cd78[_0xdaa892(0x9b)]&&(_0x4da820=_0x5d62f7[_0x47cd78[_0xdaa892(0x9b)]]),_0x1761df['value']=_0x4da820,(_0xdaa892(0x8b)==_0x58f0d5[_0xdaa892(0x96)]['toLowerCase']()?_0x58f0d5['renderRoot'][_0xdaa892(0x91)]('[name=\x22'+_0x5122f4[_0xdaa892(0x92)]+'\x22]'):_0x58f0d5[_0xdaa892(0x9f)][_0xdaa892(0x91)](_0xdaa892(0xa0)+_0x5122f4[_0xdaa892(0x92)]+'\x22]'))[_0xdaa892(0x9c)]=_0x448e4e,_0x1761df[_0xdaa892(0x8f)](new Event(_0xdaa892(0x82),{'bubbles':!0x0})),_0x1761df[_0xdaa892(0x8f)](new CustomEvent(_0xdaa892(0x97),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x15e50c['name'],'operator':_0x6af1e7,'value':_0x448e4e}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x350b(){const _0x22da9=['stopPropagation','nameField','toLowerCase','filter-change','record','tagName','tTitle','171468yMCBIq','name','large','tMenu','options','387910TqlpBg','10dHlidp','renderRoot','target','43697PafIIp','390BFUauH','2382522oMZfMC','dispatchEvent','2162919Xfmsal','73316yiUAKf','form\x20[name=\x22','querySelector','value','[name=\x22','selectorName','filter','7786696jBlVHs','change','306ToYNHX','7YxOWCl','select_item'];a0_0x350b=function(){return _0x22da9;};return a0_0x350b();}(function(_0x5a5b26,_0x3d27fd){const _0x4f7d11=a0_0x267e,_0x499915=_0x5a5b26();while(!![]){try{const _0x1103a4=parseInt(_0x4f7d11(0x136))/0x1*(-parseInt(_0x4f7d11(0x133))/0x2)+parseInt(_0x4f7d11(0x12d))/0x3+-parseInt(_0x4f7d11(0x13b))/0x4*(-parseInt(_0x4f7d11(0x137))/0x5)+parseInt(_0x4f7d11(0x138))/0x6*(-parseInt(_0x4f7d11(0x124))/0x7)+parseInt(_0x4f7d11(0x121))/0x8+parseInt(_0x4f7d11(0x123))/0x9*(-parseInt(_0x4f7d11(0x132))/0xa)+parseInt(_0x4f7d11(0x13a))/0xb;if(_0x1103a4===_0x3d27fd)break;else _0x499915['push'](_0x499915['shift']());}catch(_0x524ce9){_0x499915['push'](_0x499915['shift']());}}}(a0_0x350b,0xb058e));function a0_0x267e(_0x972451,_0x31297c){const _0x350b03=a0_0x350b();return a0_0x267e=function(_0x267eca,_0x168792){_0x267eca=_0x267eca-0x11c;let _0x58eb0d=_0x350b03[_0x267eca];return _0x58eb0d;},a0_0x267e(_0x972451,_0x31297c);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x310380,_0x10325f,_0x5ef17a){const _0x3b588e=a0_0x267e;var _0x463b8d=html`
1
+ (function(_0x14ec88,_0x2b35cb){const _0x52844d=a0_0x5ccf,_0x5062f4=_0x14ec88();while(!![]){try{const _0x3032b5=-parseInt(_0x52844d(0x119))/0x1*(-parseInt(_0x52844d(0x100))/0x2)+parseInt(_0x52844d(0x11a))/0x3*(-parseInt(_0x52844d(0xfc))/0x4)+-parseInt(_0x52844d(0x117))/0x5+-parseInt(_0x52844d(0x10f))/0x6*(parseInt(_0x52844d(0x105))/0x7)+parseInt(_0x52844d(0x10c))/0x8+parseInt(_0x52844d(0x10b))/0x9*(-parseInt(_0x52844d(0x113))/0xa)+-parseInt(_0x52844d(0x11b))/0xb*(-parseInt(_0x52844d(0x114))/0xc);if(_0x3032b5===_0x2b35cb)break;else _0x5062f4['push'](_0x5062f4['shift']());}catch(_0x28f2db){_0x5062f4['push'](_0x5062f4['shift']());}}}(a0_0x2d4b,0xa3042));import'../popup/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x2d4b(){const _0x406648=['renderRoot','1255820HiAZOL','12kaJJjo','selectorName','options','4071935pIyEOJ','nameField','2HLTnqV','480651kUmNNF','16603763xBEJPb','name','tMenu','record','4voKwdZ','large','target','stopPropagation','1091034peIYnz','dispatchEvent','ox-grid-header','querySelector','[name=\x22','77CIoetv','toLowerCase','change','form\x20[name=\x22','select_item','tagName','63TFWGjV','2073312VFHYCb','filter-change','filter','184494WpgJeu','tTitle','value'];a0_0x2d4b=function(){return _0x406648;};return a0_0x2d4b();}function openMetaObjectSelector(_0x500ff4,_0x1c2da7,_0x1407f7){const _0x1870c4=a0_0x5ccf;var _0x4b4706=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x10325f}
4
- .options=${_0x310380['record'][_0x3b588e(0x131)]}
5
- .confirmCallback=${_0x5ef17a}
3
+ .value=${_0x1c2da7}
4
+ .options=${_0x500ff4[_0x1870c4(0xfb)]['options']}
5
+ .confirmCallback=${_0x1407f7}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x463b8d,{'backdrop':!0x0,'size':_0x3b588e(0x12f),'title':_0x310380[_0x3b588e(0x12a)][_0x3b588e(0x131)]['selectorName']?TermsUtil[_0x3b588e(0x130)](_0x310380['record'][_0x3b588e(0x131)][_0x3b588e(0x11f)]):TermsUtil[_0x3b588e(0x12c)](_0x3b588e(0x125))});}export const FilterGristMetaObjectSelect=(_0x13464b,_0x5d4007,_0x3b66da)=>{const _0x1d986d=a0_0x267e,_0x159300=_0x13464b[_0x1d986d(0x120)],{operator:_0xe0153c='eq'}=_0x159300,_0x1abb09=_0x13464b['record'][_0x1d986d(0x131)];let _0x1f6138=_0x5d4007?_0x5d4007['id']:'',_0x2950e4=_0x5d4007?_0x5d4007[_0x1abb09[_0x1d986d(0x127)]]:'';return'eq'===_0xe0153c?html`
8
- <input name='${_0x13464b[_0x1d986d(0x12e)]}' .value=${_0x1f6138} type="text" hidden></input>
7
+ `;openPopup(_0x4b4706,{'backdrop':!0x0,'size':_0x1870c4(0xfd),'title':_0x500ff4['record'][_0x1870c4(0x116)][_0x1870c4(0x115)]?TermsUtil[_0x1870c4(0xfa)](_0x500ff4['record'][_0x1870c4(0x116)]['selectorName']):TermsUtil[_0x1870c4(0x110)](_0x1870c4(0x109))});}function a0_0x5ccf(_0x1e5eca,_0x3b93b3){const _0x2d4bd3=a0_0x2d4b();return a0_0x5ccf=function(_0x5ccf1b,_0x2a0c20){_0x5ccf1b=_0x5ccf1b-0xf9;let _0x2c87db=_0x2d4bd3[_0x5ccf1b];return _0x2c87db;},a0_0x5ccf(_0x1e5eca,_0x3b93b3);}export const FilterGristMetaObjectSelect=(_0x1632ab,_0x6278a1,_0x1be036)=>{const _0x1a9c4f=a0_0x5ccf,_0x2fa413=_0x1632ab[_0x1a9c4f(0x10e)],{operator:_0x24e9e6='eq'}=_0x2fa413,_0x202815=_0x1632ab[_0x1a9c4f(0xfb)]['options'];let _0x4d120f=_0x6278a1?_0x6278a1['id']:'',_0x50c71c=_0x6278a1?_0x6278a1[_0x202815['nameField']]:'';return'eq'===_0x24e9e6?html`
8
+ <input name='${_0x1632ab['name']}' .value=${_0x4d120f} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x13464b[_0x1d986d(0x12e)]}_disp'
13
- .value=${_0x2950e4}
14
- @click=${_0x57ac30=>{const _0x554b8d=_0x1d986d;_0x57ac30[_0x554b8d(0x126)]();const _0x1ca1b0=_0x57ac30[_0x554b8d(0x135)];openMetaObjectSelector(_0x13464b,_0x5d4007,_0x315eb1=>{const _0x48e5c7=_0x554b8d;let _0x59c866=_0x315eb1?_0x315eb1['id']:'',_0x4de274=_0x315eb1?_0x315eb1[_0x1abb09[_0x48e5c7(0x127)]]:'';_0x1ca1b0[_0x48e5c7(0x11d)]=_0x4de274,('ox-grid-header'==_0x3b66da[_0x48e5c7(0x12b)][_0x48e5c7(0x128)]()?_0x3b66da[_0x48e5c7(0x134)][_0x48e5c7(0x11c)](_0x48e5c7(0x11e)+_0x159300[_0x48e5c7(0x12e)]+'\x22]'):_0x3b66da[_0x48e5c7(0x134)][_0x48e5c7(0x11c)](_0x48e5c7(0x13c)+_0x159300[_0x48e5c7(0x12e)]+'\x22]'))[_0x48e5c7(0x11d)]=_0x59c866,_0x1ca1b0[_0x48e5c7(0x139)](new Event(_0x48e5c7(0x122),{'bubbles':!0x0})),_0x1ca1b0[_0x48e5c7(0x139)](new CustomEvent(_0x48e5c7(0x129),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x13464b[_0x48e5c7(0x12e)],'operator':_0xe0153c,'value':_0x59c866}}));});}}
12
+ name='${_0x1632ab[_0x1a9c4f(0xf9)]}_disp'
13
+ .value=${_0x50c71c}
14
+ @click=${_0x53bfae=>{const _0xa7eefb=_0x1a9c4f;_0x53bfae[_0xa7eefb(0xff)]();const _0x163927=_0x53bfae[_0xa7eefb(0xfe)];openMetaObjectSelector(_0x1632ab,_0x6278a1,_0x3f2ef1=>{const _0x321fec=_0xa7eefb;let _0x4c5fef=_0x3f2ef1?_0x3f2ef1['id']:'',_0x137f75=_0x3f2ef1?_0x3f2ef1[_0x202815[_0x321fec(0x118)]]:'';_0x163927[_0x321fec(0x111)]=_0x137f75,(_0x321fec(0x102)==_0x1be036[_0x321fec(0x10a)][_0x321fec(0x106)]()?_0x1be036[_0x321fec(0x112)][_0x321fec(0x103)](_0x321fec(0x104)+_0x2fa413[_0x321fec(0xf9)]+'\x22]'):_0x1be036[_0x321fec(0x112)]['querySelector'](_0x321fec(0x108)+_0x2fa413[_0x321fec(0xf9)]+'\x22]'))['value']=_0x4c5fef,_0x163927[_0x321fec(0x101)](new Event(_0x321fec(0x107),{'bubbles':!0x0})),_0x163927[_0x321fec(0x101)](new CustomEvent(_0x321fec(0x10d),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1632ab['name'],'operator':_0x24e9e6,'value':_0x4c5fef}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -0,0 +1,8 @@
1
+ const a0_0x51f62b=a0_0x14a9;(function(_0x5eb21f,_0x2f722c){const _0x4cdc73=a0_0x14a9,_0x1dbe50=_0x5eb21f();while(!![]){try{const _0x5c9df7=-parseInt(_0x4cdc73(0x141))/0x1*(parseInt(_0x4cdc73(0x13e))/0x2)+parseInt(_0x4cdc73(0x12e))/0x3+-parseInt(_0x4cdc73(0x12f))/0x4*(-parseInt(_0x4cdc73(0x140))/0x5)+-parseInt(_0x4cdc73(0x14b))/0x6+parseInt(_0x4cdc73(0x147))/0x7+-parseInt(_0x4cdc73(0x142))/0x8+-parseInt(_0x4cdc73(0x14c))/0x9*(parseInt(_0x4cdc73(0x139))/0xa);if(_0x5c9df7===_0x2f722c)break;else _0x1dbe50['push'](_0x1dbe50['shift']());}catch(_0x338cb2){_0x1dbe50['push'](_0x1dbe50['shift']());}}}(a0_0x3330,0xc8585));function a0_0x14a9(_0x5b8293,_0x23d5e3){const _0x33302c=a0_0x3330();return a0_0x14a9=function(_0x14a9f1,_0x120203){_0x14a9f1=_0x14a9f1-0x12d;let _0xd6c9ed=_0x33302c[_0x14a9f1];return _0xd6c9ed;},a0_0x14a9(_0x5b8293,_0x23d5e3);}import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../popup/code-input-editor-popup';export class GristEditorCodeInput extends OxGristEditor{static get[a0_0x51f62b(0x144)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x51f62b(0x131)](){const _0xfbeff8=a0_0x51f62b;let _0x5e05f9;return this[_0xfbeff8(0x135)]&&(_0x5e05f9=_0xfbeff8(0x13f)==typeof this[_0xfbeff8(0x135)]?JSON[_0xfbeff8(0x130)](this[_0xfbeff8(0x135)],0x0,0x2):this[_0xfbeff8(0x135)],_0x5e05f9=_0x5e05f9['length']>0x14?_0x5e05f9[_0xfbeff8(0x136)](0x0,0x14)+_0xfbeff8(0x146):_0x5e05f9),html`
2
+ ${_0x5e05f9?html` <span tabindex="0" style="flex:1;">${_0x5e05f9}</span> `:html`<span tabindex="0" ></span>`}
3
+ `;}async[a0_0x51f62b(0x13c)](){const _0x3978c8=a0_0x51f62b;super[_0x3978c8(0x13c)]();}[a0_0x51f62b(0x14d)](_0xb2df14){const _0x5846ae=a0_0x51f62b;_0xb2df14['stopPropagation'](),this[_0x5846ae(0x13a)]();}[a0_0x51f62b(0x132)](_0x1f42e1){const _0x2ff74e=a0_0x51f62b;'Enter'==_0x1f42e1['key']&&(_0x1f42e1[_0x2ff74e(0x137)](),this[_0x2ff74e(0x13a)]());}[a0_0x51f62b(0x13a)](){const _0x5ba5c7=a0_0x51f62b;this[_0x5ba5c7(0x148)]&&delete this[_0x5ba5c7(0x148)];var _0x600719=html`
4
+ <code-input-editor-popup
5
+ .value=${this[_0x5ba5c7(0x135)]}
6
+ .confirmCallback=${(_0x1146f2=>{const _0x4459d2=_0x5ba5c7;this[_0x4459d2(0x12d)](new CustomEvent(_0x4459d2(0x143),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1146f2?_0x4459d2(0x13f)==typeof this[_0x4459d2(0x135)]?JSON[_0x4459d2(0x149)](_0x1146f2):_0x1146f2:null,'record':this[_0x4459d2(0x13b)],'column':this[_0x4459d2(0x13d)],'row':this[_0x4459d2(0x138)]}}));})[_0x5ba5c7(0x145)](this)}
7
+ ></code-input-editor-popup>
8
+ `;this[_0x5ba5c7(0x148)]=openPopup(_0x600719,{'backdrop':!0x0,'size':_0x5ba5c7(0x14a),'title':TermsUtil[_0x5ba5c7(0x133)]('code-editor')});}}function a0_0x3330(){const _0x13c732=['properties','bind','...','7827561XjGeMx','popup','parse','large','648432yWhpzX','207ggYvlg','_onclick','dispatchEvent','1002507YkAWwH','12FqskOX','stringify','editorTemplate','_onkeydown','tTitle','define','value','substring','stopPropagation','row','334210aQSrxs','openEditor','record','firstUpdated','column','50398UtIAIx','object','2686420DrgNHT','3gxPMEJ','10330232nRCuSw','field-change'];a0_0x3330=function(){return _0x13c732;};return a0_0x3330();}customElements[a0_0x51f62b(0x134)]('grist-editor-code-input',GristEditorCodeInput);
@@ -1,9 +1,9 @@
1
- function a0_0x2a32(){const _0x3fc792=['1192880FljfpA','_onclick','codes','dispField','fieldMap','filter','_onkeydown','key','forEach','3124512llSTum','large','1795917JGrhIs','length','openSelector','tTitle','codeField','value','tMenu','7225990pvOwUr','96004rYHaQj','display','options','dispatchEvent','row','field-change','define','stopPropagation','5nnJjHU','record','grist-editor-meta-code-selector','4669188bjBvLq','popup','2032952IKfwBv','column','push','7SHFZnv','11hbCFVT','Enter'];a0_0x2a32=function(){return _0x3fc792;};return a0_0x2a32();}const a0_0x32f789=a0_0x54fe;function a0_0x54fe(_0x37048a,_0x53c9fc){const _0x2a32fc=a0_0x2a32();return a0_0x54fe=function(_0x54fe46,_0x4ea262){_0x54fe46=_0x54fe46-0x11c;let _0x2539a4=_0x2a32fc[_0x54fe46];return _0x2539a4;},a0_0x54fe(_0x37048a,_0x53c9fc);}(function(_0xdfc5b5,_0x7c899c){const _0x2a9bff=a0_0x54fe,_0x47828b=_0xdfc5b5();while(!![]){try{const _0xd4840c=parseInt(_0x2a9bff(0x125))/0x1*(parseInt(_0x2a9bff(0x13a))/0x2)+-parseInt(_0x2a9bff(0x132))/0x3+parseInt(_0x2a9bff(0x121))/0x4*(-parseInt(_0x2a9bff(0x11c))/0x5)+parseInt(_0x2a9bff(0x11f))/0x6*(parseInt(_0x2a9bff(0x124))/0x7)+-parseInt(_0x2a9bff(0x127))/0x8+-parseInt(_0x2a9bff(0x130))/0x9+parseInt(_0x2a9bff(0x139))/0xa;if(_0xd4840c===_0x7c899c)break;else _0x47828b['push'](_0x47828b['shift']());}catch(_0x11da86){_0x47828b['push'](_0x47828b['shift']());}}}(a0_0x2a32,0x67ec0));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){const _0x59880f=a0_0x54fe;let _0x36f45e='';if(this[_0x59880f(0x122)][_0x59880f(0x11d)]&&this[_0x59880f(0x122)][_0x59880f(0x11d)]['options']){if(this['column'][_0x59880f(0x11d)]['options'][_0x59880f(0x12a)]){let _0x6129d3=this[_0x59880f(0x122)][_0x59880f(0x11d)][_0x59880f(0x13c)]['codes']||[];if(this['value']&&this['value']['length']>0x0){let _0x424b25=_0x6129d3['filter'](_0x4ac9bd=>_0x4ac9bd['value']===this[_0x59880f(0x137)]);_0x36f45e=_0x424b25&&_0x424b25[_0x59880f(0x133)]>0x0?_0x424b25[0x0][_0x59880f(0x13b)]:'';}}else _0x36f45e=this[_0x59880f(0x137)];}else _0x36f45e='';return html`
2
- ${_0x36f45e?html` <span tabindex="0" style="flex:1">${_0x36f45e}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async['firstUpdated'](){super['firstUpdated']();}[a0_0x32f789(0x128)](_0x498dbc){const _0x4d1757=a0_0x32f789;_0x498dbc['stopPropagation'](),this[_0x4d1757(0x134)]();}[a0_0x32f789(0x12d)](_0x31ac64){const _0x1a731d=a0_0x32f789;_0x1a731d(0x126)==_0x31ac64[_0x1a731d(0x12e)]&&(_0x31ac64[_0x1a731d(0x141)](),this[_0x1a731d(0x134)]());}[a0_0x32f789(0x134)](){const _0x28c72f=a0_0x32f789;this['popup']&&delete this[_0x28c72f(0x120)];var {selectorName:_0x24f17a=TermsUtil[_0x28c72f(0x135)]('select_item')}=this['column'][_0x28c72f(0x11d)]['options']||{},_0x575328=html`
1
+ const a0_0x23bb1b=a0_0x5f45;(function(_0x185aa2,_0x5450bc){const _0x207f0c=a0_0x5f45,_0x295b93=_0x185aa2();while(!![]){try{const _0x2f4884=-parseInt(_0x207f0c(0xe6))/0x1+parseInt(_0x207f0c(0xd3))/0x2*(parseInt(_0x207f0c(0xca))/0x3)+-parseInt(_0x207f0c(0xd0))/0x4*(-parseInt(_0x207f0c(0xe2))/0x5)+-parseInt(_0x207f0c(0xed))/0x6*(-parseInt(_0x207f0c(0xe7))/0x7)+-parseInt(_0x207f0c(0xd8))/0x8*(-parseInt(_0x207f0c(0xd4))/0x9)+parseInt(_0x207f0c(0xc9))/0xa*(-parseInt(_0x207f0c(0xec))/0xb)+-parseInt(_0x207f0c(0xd6))/0xc*(-parseInt(_0x207f0c(0xda))/0xd);if(_0x2f4884===_0x5450bc)break;else _0x295b93['push'](_0x295b93['shift']());}catch(_0x4d79df){_0x295b93['push'](_0x295b93['shift']());}}}(a0_0x5eac,0x636a5));function a0_0x5f45(_0x3d8b7c,_0x142229){const _0x5eac03=a0_0x5eac();return a0_0x5f45=function(_0x5f458f,_0x319e8b){_0x5f458f=_0x5f458f-0xc9;let _0x3658f3=_0x5eac03[_0x5f458f];return _0x3658f3;},a0_0x5f45(_0x3d8b7c,_0x142229);}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_0x5eac(){const _0x41ad68=['editorTemplate','_onkeydown','forEach','length','dispField','2664685wsoDLt','tTitle','key','dispatchEvent','506682jHSuHO','1549765KqJFKL','firstUpdated','push','codeField','column','55308dSnFIY','6qbQaxv','tMenu','large','value','field-change','record','790GcGtCj','1045203lHnvWK','fieldMap','filter','select_item','openSelector','row','4YJCAUZ','stopPropagation','keys','2CDwiYY','25821hIftWe','_onclick','64572NAugxh','options','536Mxutrt','Enter','39rVLZDC','codes','popup'];a0_0x5eac=function(){return _0x41ad68;};return a0_0x5eac();}export class GristEditorMetaCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x23bb1b(0xdd)](){const _0x363d54=a0_0x23bb1b;let _0x15a1fe='';if(this['column']['record']&&this['column']['record'][_0x363d54(0xd7)]){if(this[_0x363d54(0xeb)]['record'][_0x363d54(0xd7)][_0x363d54(0xe1)]){let _0x4d8139=this[_0x363d54(0xeb)][_0x363d54(0xf2)][_0x363d54(0xd7)][_0x363d54(0xdb)]||[];if(this[_0x363d54(0xf0)]&&this[_0x363d54(0xf0)]['length']>0x0){let _0x2b12d8=_0x4d8139[_0x363d54(0xcc)](_0x592808=>_0x592808[_0x363d54(0xf0)]===this[_0x363d54(0xf0)]);_0x15a1fe=_0x2b12d8&&_0x2b12d8[_0x363d54(0xe0)]>0x0?_0x2b12d8[0x0]['display']:'';}}else _0x15a1fe=this[_0x363d54(0xf0)];}else _0x15a1fe='';return html`
2
+ ${_0x15a1fe?html` <span tabindex="0" style="flex:1">${_0x15a1fe}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x23bb1b(0xe8)](){const _0x2a0f35=a0_0x23bb1b;super[_0x2a0f35(0xe8)]();}[a0_0x23bb1b(0xd5)](_0x51dcd3){const _0x44c74d=a0_0x23bb1b;_0x51dcd3['stopPropagation'](),this[_0x44c74d(0xce)]();}[a0_0x23bb1b(0xde)](_0x27dd5a){const _0x3b29e7=a0_0x23bb1b;_0x3b29e7(0xd9)==_0x27dd5a[_0x3b29e7(0xe4)]&&(_0x27dd5a[_0x3b29e7(0xd1)](),this[_0x3b29e7(0xce)]());}[a0_0x23bb1b(0xce)](){const _0x1ce61d=a0_0x23bb1b;this[_0x1ce61d(0xdc)]&&delete this[_0x1ce61d(0xdc)];var {selectorName:_0x3768a0=TermsUtil[_0x1ce61d(0xe3)](_0x1ce61d(0xcd))}=this[_0x1ce61d(0xeb)][_0x1ce61d(0xf2)][_0x1ce61d(0xd7)]||{},_0x8982ea=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x28c72f(0x137)]}
6
- .options=${this[_0x28c72f(0x122)][_0x28c72f(0x11d)][_0x28c72f(0x13c)]}
7
- .confirmCallback=${(_0x56d7ad=>{const _0x143ede=_0x28c72f;let _0x673803=this[_0x143ede(0x122)][_0x143ede(0x11d)][_0x143ede(0x13c)][_0x143ede(0x136)],_0x5c0a27=this[_0x143ede(0x122)]['record'][_0x143ede(0x13c)][_0x143ede(0x12a)],_0x2bc921=this['column'][_0x143ede(0x11d)][_0x143ede(0x13c)][_0x143ede(0x12b)]||{};if(this[_0x143ede(0x122)][_0x143ede(0x11d)]['options'][_0x143ede(0x129)]||(this[_0x143ede(0x122)][_0x143ede(0x11d)]['options'][_0x143ede(0x129)]=[]),_0x56d7ad){let _0x448a5c=this[_0x143ede(0x122)][_0x143ede(0x11d)][_0x143ede(0x13c)][_0x143ede(0x129)][_0x143ede(0x12c)](_0x2de843=>_0x2de843[_0x143ede(0x137)]==_0x56d7ad[_0x673803]);_0x448a5c&&0x0!=_0x448a5c[_0x143ede(0x133)]||this[_0x143ede(0x122)][_0x143ede(0x11d)][_0x143ede(0x13c)]['codes'][_0x143ede(0x123)]({'value':_0x56d7ad[_0x673803],'display':_0x56d7ad[_0x5c0a27]});}this[_0x143ede(0x13d)](new CustomEvent(_0x143ede(0x13f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x143ede(0x137)],'after':_0x56d7ad?_0x56d7ad[_0x673803]:null,'record':this[_0x143ede(0x11d)],'column':this['column'],'row':this['row']}})),Object['keys'](_0x2bc921)[_0x143ede(0x12f)](_0x3e8a0a=>{const _0x7541bb=_0x143ede;this[_0x7541bb(0x13d)](new CustomEvent(_0x7541bb(0x13f),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x7541bb(0x11d)][_0x2bc921[_0x3e8a0a]],'after':_0x56d7ad?_0x56d7ad[_0x3e8a0a]:null,'record':this[_0x7541bb(0x11d)],'column':{'name':_0x2bc921[_0x3e8a0a]},'row':this[_0x7541bb(0x13e)]}}));});})['bind'](this)}
5
+ .value=${this[_0x1ce61d(0xf0)]}
6
+ .options=${this['column']['record'][_0x1ce61d(0xd7)]}
7
+ .confirmCallback=${(_0x2f3448=>{const _0x53e283=_0x1ce61d;let _0x2b1562=this[_0x53e283(0xeb)][_0x53e283(0xf2)]['options'][_0x53e283(0xea)],_0x361022=this[_0x53e283(0xeb)][_0x53e283(0xf2)]['options']['dispField'],_0x1493c5=this[_0x53e283(0xeb)]['record'][_0x53e283(0xd7)][_0x53e283(0xcb)]||{};if(this['column'][_0x53e283(0xf2)]['options']['codes']||(this[_0x53e283(0xeb)]['record'][_0x53e283(0xd7)][_0x53e283(0xdb)]=[]),_0x2f3448){let _0x534ca0=this['column'][_0x53e283(0xf2)][_0x53e283(0xd7)]['codes'][_0x53e283(0xcc)](_0x57938d=>_0x57938d[_0x53e283(0xf0)]==_0x2f3448[_0x2b1562]);_0x534ca0&&0x0!=_0x534ca0[_0x53e283(0xe0)]||this[_0x53e283(0xeb)][_0x53e283(0xf2)][_0x53e283(0xd7)][_0x53e283(0xdb)][_0x53e283(0xe9)]({'value':_0x2f3448[_0x2b1562],'display':_0x2f3448[_0x361022]});}this[_0x53e283(0xe5)](new CustomEvent(_0x53e283(0xf1),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x53e283(0xf0)],'after':_0x2f3448?_0x2f3448[_0x2b1562]:null,'record':this[_0x53e283(0xf2)],'column':this['column'],'row':this[_0x53e283(0xcf)]}})),Object[_0x53e283(0xd2)](_0x1493c5)[_0x53e283(0xdf)](_0xfdf224=>{const _0x36d162=_0x53e283;this[_0x36d162(0xe5)](new CustomEvent(_0x36d162(0xf1),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x36d162(0xf2)][_0x1493c5[_0xfdf224]],'after':_0x2f3448?_0x2f3448[_0xfdf224]:null,'record':this[_0x36d162(0xf2)],'column':{'name':_0x1493c5[_0xfdf224]},'row':this['row']}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this['popup']=openPopup(_0x575328,{'backdrop':!0x0,'size':_0x28c72f(0x131),'title':TermsUtil[_0x28c72f(0x138)](_0x24f17a)});}}customElements[a0_0x32f789(0x140)](a0_0x32f789(0x11e),GristEditorMetaCodeSelector);
9
+ `;this[_0x1ce61d(0xdc)]=openPopup(_0x8982ea,{'backdrop':!0x0,'size':_0x1ce61d(0xef),'title':TermsUtil[_0x1ce61d(0xee)](_0x3768a0)});}}customElements['define']('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- var a0_0x1d82bf=a0_0x4804;(function(_0x383d52,_0x39dc45){var _0x2c6151=a0_0x4804,_0x64d8=_0x383d52();while(!![]){try{var _0x4e075b=parseInt(_0x2c6151(0x18b))/0x1*(-parseInt(_0x2c6151(0x177))/0x2)+-parseInt(_0x2c6151(0x179))/0x3*(parseInt(_0x2c6151(0x178))/0x4)+-parseInt(_0x2c6151(0x172))/0x5+-parseInt(_0x2c6151(0x18c))/0x6*(parseInt(_0x2c6151(0x17c))/0x7)+parseInt(_0x2c6151(0x173))/0x8+-parseInt(_0x2c6151(0x17f))/0x9*(parseInt(_0x2c6151(0x17d))/0xa)+-parseInt(_0x2c6151(0x16c))/0xb*(-parseInt(_0x2c6151(0x18a))/0xc);if(_0x4e075b===_0x39dc45)break;else _0x64d8['push'](_0x64d8['shift']());}catch(_0x93c3b9){_0x64d8['push'](_0x64d8['shift']());}}}(a0_0x5f53,0x4d430));import{html}from'lit';function a0_0x5f53(){var _0x2944c1=['record','1456161UnSjlx','3775590lkKkRH','_onclick','9ccKNWl','field-change','column','value','openSelector','forEach','editorTemplate','nameField','select_item','tMenu','fieldMap','3084gcRsuf','14fzXKgP','6aWMMMu','firstUpdated','Enter','row','stopPropagation','60148wGyOgh','define','tTitle','key','popup','keys','1235425MYBDfN','72232PLvCCt','options','bind','grist-editor-meta-object-selector','13074MMwpRS','392EpHAel','5316EdaiqN','dispatchEvent'];a0_0x5f53=function(){return _0x2944c1;};return a0_0x5f53();}import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x4804(_0x27b044,_0x1c8928){var _0x5f5345=a0_0x5f53();return a0_0x4804=function(_0x48042e,_0x3e9b52){_0x48042e=_0x48042e-0x169;var _0x1bcaef=_0x5f5345[_0x48042e];return _0x1bcaef;},a0_0x4804(_0x27b044,_0x1c8928);}import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x1d82bf(0x185)](){var _0x2dab00=a0_0x1d82bf;let _0x941b05='';return this['value']&&this[_0x2dab00(0x181)]['record']['options']&&(_0x941b05=this[_0x2dab00(0x182)][this[_0x2dab00(0x181)][_0x2dab00(0x17b)]['options'][_0x2dab00(0x186)]]),html`
2
- ${this[_0x2dab00(0x182)]?html` <span tabindex="0" style="flex:1">${_0x941b05}</span> `:html`<span tabindex="0">${_0x941b05}</span>`}
3
- `;}async[a0_0x1d82bf(0x18d)](){var _0x7e38e6=a0_0x1d82bf;super[_0x7e38e6(0x18d)]();}[a0_0x1d82bf(0x17e)](_0x3b6db0){var _0x3d4b12=a0_0x1d82bf;_0x3b6db0[_0x3d4b12(0x16b)](),this[_0x3d4b12(0x183)]();}['_onkeydown'](_0x106b29){var _0x13838b=a0_0x1d82bf;_0x13838b(0x169)==_0x106b29[_0x13838b(0x16f)]&&(_0x106b29[_0x13838b(0x16b)](),this['openSelector']());}[a0_0x1d82bf(0x183)](){var _0x3bc58e=a0_0x1d82bf;this['popup']&&delete this[_0x3bc58e(0x170)];var {selectorName:_0x4e5b12=TermsUtil[_0x3bc58e(0x16e)](_0x3bc58e(0x187))}=this[_0x3bc58e(0x181)][_0x3bc58e(0x17b)][_0x3bc58e(0x174)]||{},_0x3acd23=html`
1
+ var a0_0x55e72b=a0_0x25ac;function a0_0x25ac(_0x3b7c52,_0x43aa88){var _0x3dfc5d=a0_0x3dfc();return a0_0x25ac=function(_0x25ace7,_0x32566e){_0x25ace7=_0x25ace7-0x166;var _0x26bd35=_0x3dfc5d[_0x25ace7];return _0x26bd35;},a0_0x25ac(_0x3b7c52,_0x43aa88);}(function(_0x39e2cf,_0x5714f2){var _0x570529=a0_0x25ac,_0x5abddf=_0x39e2cf();while(!![]){try{var _0x430d40=parseInt(_0x570529(0x174))/0x1+-parseInt(_0x570529(0x179))/0x2*(-parseInt(_0x570529(0x177))/0x3)+-parseInt(_0x570529(0x16e))/0x4*(-parseInt(_0x570529(0x166))/0x5)+parseInt(_0x570529(0x169))/0x6+parseInt(_0x570529(0x17c))/0x7*(parseInt(_0x570529(0x17d))/0x8)+-parseInt(_0x570529(0x184))/0x9*(-parseInt(_0x570529(0x171))/0xa)+-parseInt(_0x570529(0x173))/0xb*(parseInt(_0x570529(0x168))/0xc);if(_0x430d40===_0x5714f2)break;else _0x5abddf['push'](_0x5abddf['shift']());}catch(_0x4f93e3){_0x5abddf['push'](_0x5abddf['shift']());}}}(a0_0x3dfc,0xc322e));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_0x3dfc(){var _0xf82451=['dispatchEvent','3830AYsbYb','bind','22105094iDnRJP','1410530gAiFVo','tMenu','properties','596634OmHcFU','field-change','14kdkwdW','nameField','value','26222vcMYch','728dvosxa','select_item','record','openSelector','forEach','define','popup','4761hQqxPN','stopPropagation','55exDnIt','fieldMap','24FwndVN','7682064wWqkar','editorTemplate','options','_onkeydown','keys','69772KbNITd','column'];a0_0x3dfc=function(){return _0xf82451;};return a0_0x3dfc();}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x55e72b(0x176)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x55e72b(0x16a)](){var _0x476d56=a0_0x55e72b;let _0x1bb013='';return this[_0x476d56(0x17b)]&&this['column']['record'][_0x476d56(0x16b)]&&(_0x1bb013=this[_0x476d56(0x17b)][this[_0x476d56(0x16f)][_0x476d56(0x17f)][_0x476d56(0x16b)][_0x476d56(0x17a)]]),html`
2
+ ${this['value']?html` <span tabindex="0" style="flex:1">${_0x1bb013}</span> `:html`<span tabindex="0">${_0x1bb013}</span>`}
3
+ `;}async['firstUpdated'](){super['firstUpdated']();}['_onclick'](_0x321177){var _0x4b9bea=a0_0x55e72b;_0x321177[_0x4b9bea(0x185)](),this[_0x4b9bea(0x180)]();}[a0_0x55e72b(0x16c)](_0x6d2324){var _0x53e445=a0_0x55e72b;'Enter'==_0x6d2324['key']&&(_0x6d2324[_0x53e445(0x185)](),this['openSelector']());}[a0_0x55e72b(0x180)](){var _0x46ea73=a0_0x55e72b;this['popup']&&delete this[_0x46ea73(0x183)];var {selectorName:_0x4229af=TermsUtil['tTitle'](_0x46ea73(0x17e))}=this[_0x46ea73(0x16f)]['record'][_0x46ea73(0x16b)]||{},_0x4e5fb6=html`
4
4
  <meta-object-selector-popup
5
5
  .value=${this['value']}
6
- .options=${this[_0x3bc58e(0x181)]['record']['options']}
7
- .confirmCallback=${(_0x2b934e=>{var _0x9f928a=_0x3bc58e;let _0x4327c2=this['column']['record'][_0x9f928a(0x174)][_0x9f928a(0x189)]||{};this[_0x9f928a(0x17a)](new CustomEvent(_0x9f928a(0x180),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x9f928a(0x182)],'after':_0x2b934e||null,'record':this['record'],'column':this[_0x9f928a(0x181)],'row':this[_0x9f928a(0x16a)]}})),Object[_0x9f928a(0x171)](_0x4327c2)[_0x9f928a(0x184)](_0xa91995=>{var _0x107568=_0x9f928a;this[_0x107568(0x17a)](new CustomEvent(_0x107568(0x180),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x107568(0x17b)][_0x4327c2[_0xa91995]],'after':_0x2b934e?_0x2b934e[_0xa91995]:null,'record':this[_0x107568(0x17b)],'column':{'name':_0x4327c2[_0xa91995]},'row':this[_0x107568(0x16a)]}}));});})[_0x3bc58e(0x175)](this)}
6
+ .options=${this[_0x46ea73(0x16f)][_0x46ea73(0x17f)]['options']}
7
+ .confirmCallback=${(_0x22464a=>{var _0x56faab=_0x46ea73;let _0x4e1cbe=this[_0x56faab(0x16f)][_0x56faab(0x17f)][_0x56faab(0x16b)][_0x56faab(0x167)]||{};this['dispatchEvent'](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x56faab(0x17b)],'after':_0x22464a||null,'record':this['record'],'column':this['column'],'row':this['row']}})),Object[_0x56faab(0x16d)](_0x4e1cbe)[_0x56faab(0x181)](_0x4072df=>{var _0x48b306=_0x56faab;this[_0x48b306(0x170)](new CustomEvent(_0x48b306(0x178),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x4e1cbe[_0x4072df]],'after':_0x22464a?_0x22464a[_0x4072df]:null,'record':this['record'],'column':{'name':_0x4e1cbe[_0x4072df]},'row':this['row']}}));});})[_0x46ea73(0x172)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this['popup']=openPopup(_0x3acd23,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x3bc58e(0x188)](_0x4e5b12)});}}customElements[a0_0x1d82bf(0x16d)](a0_0x1d82bf(0x176),GristEditorMetaObjectSelector);
9
+ `;this[_0x46ea73(0x183)]=openPopup(_0x4e5fb6,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x46ea73(0x175)](_0x4229af)});}}customElements[a0_0x55e72b(0x182)]('grist-editor-meta-object-selector',GristEditorMetaObjectSelector);
@@ -0,0 +1 @@
1
+ (function(_0x563068,_0x5362cb){const _0x297f4d=a0_0x3dd5,_0xb0ac6c=_0x563068();while(!![]){try{const _0x4d1c8d=parseInt(_0x297f4d(0xf3))/0x1*(-parseInt(_0x297f4d(0xef))/0x2)+parseInt(_0x297f4d(0xf9))/0x3*(-parseInt(_0x297f4d(0xf5))/0x4)+parseInt(_0x297f4d(0xfe))/0x5*(parseInt(_0x297f4d(0x100))/0x6)+parseInt(_0x297f4d(0xfd))/0x7*(-parseInt(_0x297f4d(0xfc))/0x8)+-parseInt(_0x297f4d(0xf2))/0x9+-parseInt(_0x297f4d(0xf7))/0xa*(parseInt(_0x297f4d(0xee))/0xb)+parseInt(_0x297f4d(0x101))/0xc;if(_0x4d1c8d===_0x5362cb)break;else _0xb0ac6c['push'](_0xb0ac6c['shift']());}catch(_0x577405){_0xb0ac6c['push'](_0xb0ac6c['shift']());}}}(a0_0x57d9,0x8abff));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x1a0932){const _0x592bfb=a0_0x3dd5,_0x3b6528=_0x1a0932['target'];detectOverflow(_0x3b6528)&&_0x3b6528[_0x592bfb(0xff)](_0x592bfb(0xfa),_0x3b6528['textContent']);}function onmouseout(_0x58c581){const _0x5e1dbc=a0_0x3dd5;_0x58c581[_0x5e1dbc(0x102)][_0x5e1dbc(0xf8)](_0x5e1dbc(0xfa));}function a0_0x3dd5(_0x645b,_0x3b4a81){const _0x57d99a=a0_0x57d9();return a0_0x3dd5=function(_0x3dd564,_0x29603a){_0x3dd564=_0x3dd564-0xee;let _0x43abe0=_0x57d99a[_0x3dd564];return _0x43abe0;},a0_0x3dd5(_0x645b,_0x3b4a81);}export const GristRendererCodeInput=(_0x3a8bc7,_0x19da50,_0x2b3dd0,_0x4d80bf,_0xe3b4d3)=>{const _0x2dc16e=a0_0x3dd5;let _0x42a37a='';return _0x3a8bc7&&(_0x42a37a=_0x2dc16e(0xf0)==typeof _0x3a8bc7?JSON[_0x2dc16e(0xf1)](_0x3a8bc7,0x0,0x2):_0x3a8bc7,_0x42a37a=_0x42a37a[_0x2dc16e(0xfb)]>0x14?_0x42a37a[_0x2dc16e(0xf6)](0x0,0x14)+_0x2dc16e(0xf4):_0x42a37a),html`<span style='flex:1' @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x42a37a}</span>`;};function a0_0x57d9(){const _0x26290d=['4ljHItR','object','stringify','1838988pNbeMT','458498uhQjBD','...','372348MZSsZR','substring','2993160yWLucc','removeAttribute','18uXWRuG','data-tooltip','length','3848CvMttu','1841UggTUj','5lKewDn','setAttribute','5288754mPrTpT','21510348FVkSAy','target','11CAObkp'];a0_0x57d9=function(){return _0x26290d;};return a0_0x57d9();}
@@ -1 +1 @@
1
- (function(_0x26420a,_0x2154dc){const _0x37676c=a0_0x2ca7,_0x4b4e12=_0x26420a();while(!![]){try{const _0x121cc2=parseInt(_0x37676c(0x1f3))/0x1+parseInt(_0x37676c(0x1eb))/0x2+parseInt(_0x37676c(0x1ef))/0x3+parseInt(_0x37676c(0x1f6))/0x4*(-parseInt(_0x37676c(0x1e9))/0x5)+-parseInt(_0x37676c(0x1f0))/0x6+-parseInt(_0x37676c(0x1ee))/0x7*(-parseInt(_0x37676c(0x1f2))/0x8)+-parseInt(_0x37676c(0x1ea))/0x9;if(_0x121cc2===_0x2154dc)break;else _0x4b4e12['push'](_0x4b4e12['shift']());}catch(_0x473229){_0x4b4e12['push'](_0x4b4e12['shift']());}}}(a0_0x3289,0x7f1ad));function a0_0x3289(){const _0x2f9049=['codes','value','display','3584490hDSdNK','11303757PSZCjp','1827546tpTlgD','record','textContent','7189qypPHf','2277396mhabgh','2468910jcOCIy','dispField','3056sUWhvR','839758Ydrtat','target','options','4UxNjtx','data-tooltip','setAttribute'];a0_0x3289=function(){return _0x2f9049;};return a0_0x3289();}import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x2ca7(_0x9d45a4,_0x422579){const _0x328939=a0_0x3289();return a0_0x2ca7=function(_0x2ca766,_0x54fa95){_0x2ca766=_0x2ca766-0x1e8;let _0x56308f=_0x328939[_0x2ca766];return _0x56308f;},a0_0x2ca7(_0x9d45a4,_0x422579);}function onmouseover(_0x565f81){const _0x348f65=a0_0x2ca7,_0x26f28c=_0x565f81[_0x348f65(0x1f4)];detectOverflow(_0x26f28c)&&_0x26f28c[_0x348f65(0x1f8)](_0x348f65(0x1f7),_0x26f28c[_0x348f65(0x1ed)]);}function onmouseout(_0x426f04){const _0x3f8b60=a0_0x2ca7;_0x426f04[_0x3f8b60(0x1f4)]['removeAttribute'](_0x3f8b60(0x1f7));}export const GristRendererMetaCodeSelector=(_0x4d5b7a,_0x4b7d35,_0x4711f4,_0x499851,_0x4387fe)=>{const _0x4ff923=a0_0x2ca7;let _0x501b97='';if(_0x4b7d35[_0x4ff923(0x1ec)]&&_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)]){if(_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)][_0x4ff923(0x1f1)]){if(_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)][_0x4ff923(0x1f9)]||(_0x4b7d35['record'][_0x4ff923(0x1f5)][_0x4ff923(0x1f9)]=[]),_0x4d5b7a&&_0x4d5b7a['length']>0x0){let _0x58d7bc=_0x4b7d35[_0x4ff923(0x1ec)][_0x4ff923(0x1f5)][_0x4ff923(0x1f9)]['filter'](_0x425bfe=>_0x425bfe[_0x4ff923(0x1fa)]===_0x4d5b7a);_0x501b97=_0x58d7bc&&_0x58d7bc['length']>0x0?_0x58d7bc[0x0][_0x4ff923(0x1e8)]:_0x4d5b7a;}}else _0x501b97=_0x4d5b7a;}else _0x501b97='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x501b97}</span>`;};
1
+ (function(_0x484510,_0x391b52){const _0x5c49fb=a0_0x18b9,_0x339722=_0x484510();while(!![]){try{const _0x32f9ba=parseInt(_0x5c49fb(0x146))/0x1+parseInt(_0x5c49fb(0x148))/0x2*(-parseInt(_0x5c49fb(0x145))/0x3)+parseInt(_0x5c49fb(0x13f))/0x4+parseInt(_0x5c49fb(0x144))/0x5*(parseInt(_0x5c49fb(0x140))/0x6)+parseInt(_0x5c49fb(0x14d))/0x7+parseInt(_0x5c49fb(0x143))/0x8+parseInt(_0x5c49fb(0x14a))/0x9*(-parseInt(_0x5c49fb(0x141))/0xa);if(_0x32f9ba===_0x391b52)break;else _0x339722['push'](_0x339722['shift']());}catch(_0x3af212){_0x339722['push'](_0x339722['shift']());}}}(a0_0x4b4e,0x730c2));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x4b4e(){const _0x112b71=['length','4205280fZzLRr','41845zFIDwA','63YjGzsw','154664gJgLGE','record','1636uyLspQ','textContent','9OGgvPa','options','target','1509893assduU','dispField','codes','data-tooltip','825840XovntV','588Dizmkv','14342330AcoDcR'];a0_0x4b4e=function(){return _0x112b71;};return a0_0x4b4e();}function a0_0x18b9(_0x29eb72,_0x4c3d88){const _0x4b4e8f=a0_0x4b4e();return a0_0x18b9=function(_0x18b9cd,_0x123ac0){_0x18b9cd=_0x18b9cd-0x13e;let _0x3d5e82=_0x4b4e8f[_0x18b9cd];return _0x3d5e82;},a0_0x18b9(_0x29eb72,_0x4c3d88);}function onmouseover(_0xf24e4f){const _0x57162f=a0_0x18b9,_0x1dae2c=_0xf24e4f[_0x57162f(0x14c)];detectOverflow(_0x1dae2c)&&_0x1dae2c['setAttribute'](_0x57162f(0x13e),_0x1dae2c[_0x57162f(0x149)]);}function onmouseout(_0x4d7528){const _0x154045=a0_0x18b9;_0x4d7528[_0x154045(0x14c)]['removeAttribute'](_0x154045(0x13e));}export const GristRendererMetaCodeSelector=(_0x5ef0f5,_0x46e59e,_0x5e90aa,_0x43f36d,_0x2db0e2)=>{const _0x31ef24=a0_0x18b9;let _0x2482f3='';if(_0x46e59e['record']&&_0x46e59e[_0x31ef24(0x147)][_0x31ef24(0x14b)]){if(_0x46e59e[_0x31ef24(0x147)][_0x31ef24(0x14b)][_0x31ef24(0x14e)]){if(_0x46e59e[_0x31ef24(0x147)][_0x31ef24(0x14b)]['codes']||(_0x46e59e[_0x31ef24(0x147)][_0x31ef24(0x14b)]['codes']=[]),_0x5ef0f5&&_0x5ef0f5['length']>0x0){let _0x245452=_0x46e59e[_0x31ef24(0x147)][_0x31ef24(0x14b)][_0x31ef24(0x14f)]['filter'](_0x22e81c=>_0x22e81c['value']===_0x5ef0f5);_0x2482f3=_0x245452&&_0x245452[_0x31ef24(0x142)]>0x0?_0x245452[0x0]['display']:_0x5ef0f5;}}else _0x2482f3=_0x5ef0f5;}else _0x2482f3='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2482f3}</span>`;};
@@ -1 +1 @@
1
- (function(_0x49870e,_0x39f868){const _0x1e377c=a0_0x1dd9,_0x19c8f4=_0x49870e();while(!![]){try{const _0x44fdb8=-parseInt(_0x1e377c(0x83))/0x1+parseInt(_0x1e377c(0x78))/0x2+-parseInt(_0x1e377c(0x82))/0x3+parseInt(_0x1e377c(0x7f))/0x4+parseInt(_0x1e377c(0x7c))/0x5*(parseInt(_0x1e377c(0x7b))/0x6)+parseInt(_0x1e377c(0x7a))/0x7+-parseInt(_0x1e377c(0x7e))/0x8;if(_0x44fdb8===_0x39f868)break;else _0x19c8f4['push'](_0x19c8f4['shift']());}catch(_0x10eac5){_0x19c8f4['push'](_0x19c8f4['shift']());}}}(a0_0x42b9,0x5234a));import{html}from'lit';function a0_0x1dd9(_0x546f38,_0x9f72bb){const _0x42b956=a0_0x42b9();return a0_0x1dd9=function(_0x1dd9f7,_0x1bf1cb){_0x1dd9f7=_0x1dd9f7-0x78;let _0x4c4538=_0x42b956[_0x1dd9f7];return _0x4c4538;},a0_0x1dd9(_0x546f38,_0x9f72bb);}import{detectOverflow}from'@operato/utils';function a0_0x42b9(){const _0x15ec87=['removeAttribute','4533696UnByCj','1602576eRmHqe','options','record','223599aJVMXx','368090duSTnt','data-tooltip','255472tcdVnQ','target','1269436xyjkUB','3474ShWWsS','5495SrydKF'];a0_0x42b9=function(){return _0x15ec87;};return a0_0x42b9();}function onmouseover(_0x353785){const _0x1412de=a0_0x1dd9,_0x1280a9=_0x353785[_0x1412de(0x79)];detectOverflow(_0x1280a9)&&_0x1280a9['setAttribute']('data-tooltip',_0x1280a9['textContent']);}function onmouseout(_0x4ef030){const _0x35e55e=a0_0x1dd9;_0x4ef030[_0x35e55e(0x79)][_0x35e55e(0x7d)](_0x35e55e(0x84));}export const GristRendererMetaObjectSelector=(_0x4da82a,_0x8c5f10,_0x4b529d,_0xc76835,_0x2ee383)=>{const _0x3c1a0c=a0_0x1dd9;let _0x2b6ce9='';return _0x4da82a&&_0x8c5f10[_0x3c1a0c(0x81)][_0x3c1a0c(0x80)]&&(_0x2b6ce9=_0x4da82a[_0x8c5f10['record']['options']['nameField']]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2b6ce9}</span>`;};
1
+ (function(_0x1cd5c0,_0x47ac53){const _0x98d7ca=a0_0x454c,_0x49f653=_0x1cd5c0();while(!![]){try{const _0x3c169d=parseInt(_0x98d7ca(0xb3))/0x1*(parseInt(_0x98d7ca(0xb5))/0x2)+-parseInt(_0x98d7ca(0xc0))/0x3*(-parseInt(_0x98d7ca(0xba))/0x4)+parseInt(_0x98d7ca(0xb8))/0x5*(-parseInt(_0x98d7ca(0xc2))/0x6)+parseInt(_0x98d7ca(0xbb))/0x7*(-parseInt(_0x98d7ca(0xbd))/0x8)+-parseInt(_0x98d7ca(0xc4))/0x9+-parseInt(_0x98d7ca(0xb9))/0xa+-parseInt(_0x98d7ca(0xc1))/0xb*(-parseInt(_0x98d7ca(0xbe))/0xc);if(_0x3c169d===_0x47ac53)break;else _0x49f653['push'](_0x49f653['shift']());}catch(_0x57c2ad){_0x49f653['push'](_0x49f653['shift']());}}}(a0_0x444d,0xebef1));function a0_0x444d(){const _0x1670e2=['options','3852430jmcnId','2657380qtxNeX','4ydCknw','203BiXRtB','removeAttribute','45224kcbPly','55560PbGsHH','target','2580843yLTFHi','2167JqPTrO','12QIdgfq','record','4836564pswAwe','setAttribute','data-tooltip','46001tieGja','nameField','74QjjQNq','textContent'];a0_0x444d=function(){return _0x1670e2;};return a0_0x444d();}import{html}from'lit';function a0_0x454c(_0x1b5d34,_0x458e2b){const _0x444d6b=a0_0x444d();return a0_0x454c=function(_0x454c01,_0x263f57){_0x454c01=_0x454c01-0xb2;let _0x4923b9=_0x444d6b[_0x454c01];return _0x4923b9;},a0_0x454c(_0x1b5d34,_0x458e2b);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x4f1a23){const _0x11530f=a0_0x454c,_0x26d26f=_0x4f1a23['target'];detectOverflow(_0x26d26f)&&_0x26d26f[_0x11530f(0xc5)]('data-tooltip',_0x26d26f[_0x11530f(0xb6)]);}function onmouseout(_0x4c6fd7){const _0x482794=a0_0x454c;_0x4c6fd7[_0x482794(0xbf)][_0x482794(0xbc)](_0x482794(0xb2));}export const GristRendererMetaObjectSelector=(_0x2f3b56,_0x150529,_0x3b9bba,_0x228470,_0x1c95e9)=>{const _0x463bfc=a0_0x454c;let _0x5af931='';return _0x2f3b56&&_0x150529[_0x463bfc(0xc3)][_0x463bfc(0xb7)]&&(_0x5af931=_0x2f3b56[_0x150529[_0x463bfc(0xc3)][_0x463bfc(0xb7)][_0x463bfc(0xb4)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5af931}</span>`;};
@@ -0,0 +1,35 @@
1
+ var a0_0x5de17b=a0_0x4b07;function a0_0x4b07(_0x394f69,_0x3f0a1d){var _0x2dc8dc=a0_0x2dc8();return a0_0x4b07=function(_0x4b07c8,_0x4f3a45){_0x4b07c8=_0x4b07c8-0x1a8;var _0x38d319=_0x2dc8dc[_0x4b07c8];return _0x38d319;},a0_0x4b07(_0x394f69,_0x3f0a1d);}(function(_0xfe5eb,_0x1c9c6e){var _0x1625c1=a0_0x4b07,_0x3b7a36=_0xfe5eb();while(!![]){try{var _0x237718=parseInt(_0x1625c1(0x1c3))/0x1+parseInt(_0x1625c1(0x1c4))/0x2+-parseInt(_0x1625c1(0x1aa))/0x3+-parseInt(_0x1625c1(0x1be))/0x4*(-parseInt(_0x1625c1(0x1ab))/0x5)+-parseInt(_0x1625c1(0x1c2))/0x6*(-parseInt(_0x1625c1(0x1bd))/0x7)+parseInt(_0x1625c1(0x1b8))/0x8+parseInt(_0x1625c1(0x1c1))/0x9*(-parseInt(_0x1625c1(0x1b1))/0xa);if(_0x237718===_0x1c9c6e)break;else _0x3b7a36['push'](_0x3b7a36['shift']());}catch(_0x9618de){_0x3b7a36['push'](_0x3b7a36['shift']());}}}(a0_0x2dc8,0x96cb1));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';function a0_0x2dc8(){var _0x45ee73=['1983099sLyOel','2161070vpbvct','showToast','object','confirmCallback','codeEditor','clickEmpty','706110Ecrhkh','NOTHING_CHANGED','styles','codeVlaue','shadowRoot','tButton','define','5839240NWaKEA','tText','connectedCallback','value','stringify','1637258EBWipT','4VJJvFH','clickCancel','render','207XwMicT','30XhWmXH','550788AZUeph','40716HTLfhh','empty','bind'];a0_0x2dc8=function(){return _0x45ee73;};return a0_0x2dc8();}import{closePopup}from'@operato/popup';export class CodeInputEditorPopup extends LitElement{static [a0_0x5de17b(0x1b3)]=[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_0x5de17b(0x1ba)](){var _0x5e6928=a0_0x5de17b;_0x5e6928(0x1ad)==typeof this['value']?this[_0x5e6928(0x1b4)]=JSON[_0x5e6928(0x1bc)](this[_0x5e6928(0x1bb)],0x0,0x2):this[_0x5e6928(0x1b4)]=this[_0x5e6928(0x1bb)],await super[_0x5e6928(0x1ba)]();}async['firstUpdated'](){await super['firstUpdated']();}[a0_0x5de17b(0x1c0)](){var _0x5b2f5c=a0_0x5de17b;return html`
23
+ <ox-input-code mode="javascript" value=${this['codeVlaue']} tab-size="2" tab-as-space="true"></ox-input-code>
24
+ <div id="button-container" class="button-container">
25
+ <mwc-button raised label="${TermsUtil['tButton'](_0x5b2f5c(0x1a8))}" style="margin-left:7px;margin-top:7px;"
26
+ @click=${this['clickEmpty']['bind'](this)}>
27
+ </mwc-button>
28
+ <mwc-button raised label="${TermsUtil[_0x5b2f5c(0x1b6)]('cancel')}" style="margin-left:7px;margin-top:7px;"
29
+ @click=${this[_0x5b2f5c(0x1bf)][_0x5b2f5c(0x1a9)](this)}>
30
+ </mwc-button>
31
+ <mwc-button raised label="${TermsUtil[_0x5b2f5c(0x1b6)]('confirm')}" style="margin-left:7px;margin-top:7px;"
32
+ @click=${this['clickConfirm']['bind'](this)}>
33
+ </mwc-button>
34
+ </div>
35
+ `;}get[a0_0x5de17b(0x1af)](){var _0x3700ce=a0_0x5de17b;return this[_0x3700ce(0x1b5)]['querySelector']('ox-input-code');}async[a0_0x5de17b(0x1b0)](_0x447d42){var _0x21b37b=a0_0x5de17b;this[_0x21b37b(0x1ae)]&&this['confirmCallback'](null),closePopup(this);}async['clickCancel'](_0x328c93){closePopup(this);}async['clickConfirm'](_0xe8bde7){var _0x23a8d2=a0_0x5de17b;this['codeVlaue']!==this[_0x23a8d2(0x1af)]['value']?this['changedValue'](this['codeEditor'][_0x23a8d2(0x1bb)]):MetaApi[_0x23a8d2(0x1ac)]('info',TermsUtil[_0x23a8d2(0x1b9)](_0x23a8d2(0x1b2)));}async['changedValue'](_0x3de0db){var _0x642ea4=a0_0x5de17b;this['confirmCallback']&&this[_0x642ea4(0x1ae)](_0x3de0db),closePopup(this);}}customElements[a0_0x5de17b(0x1b7)]('code-input-editor-popup',CodeInputEditorPopup);
@@ -0,0 +1,40 @@
1
+ function a0_0x2439(_0x5b6c7c,_0x3024a2){const _0xe257e5=a0_0xe257();return a0_0x2439=function(_0x2439ba,_0x4b674d){_0x2439ba=_0x2439ba-0x144;let _0x273a6e=_0xe257e5[_0x2439ba];return _0x273a6e;},a0_0x2439(_0x5b6c7c,_0x3024a2);}const a0_0x53dc5b=a0_0x2439;(function(_0x1b8b48,_0x3a64a3){const _0x5e0db8=a0_0x2439,_0x2a8902=_0x1b8b48();while(!![]){try{const _0x4389bf=-parseInt(_0x5e0db8(0x169))/0x1+parseInt(_0x5e0db8(0x185))/0x2*(-parseInt(_0x5e0db8(0x14e))/0x3)+parseInt(_0x5e0db8(0x183))/0x4+parseInt(_0x5e0db8(0x16c))/0x5+-parseInt(_0x5e0db8(0x197))/0x6+parseInt(_0x5e0db8(0x19a))/0x7*(-parseInt(_0x5e0db8(0x18b))/0x8)+parseInt(_0x5e0db8(0x195))/0x9*(parseInt(_0x5e0db8(0x160))/0xa);if(_0x4389bf===_0x3a64a3)break;else _0x2a8902['push'](_0x2a8902['shift']());}catch(_0x4a5569){_0x2a8902['push'](_0x2a8902['shift']());}}}(a0_0xe257,0xba8fc));import{css,html,LitElement}from'lit';function a0_0xe257(){const _0xdb6aef=['filterFields','left','showToast','selectRecord','getGristGuttersConfig','options','602176YxuGdJ','push','meta-object-selector','3318165CtcIJd','forEach','fetchHandler','appendable','GRID','confirmCallback','handlers','keys','length','clickSelect','after_set_fields','getCodeByScenario','menu_template','codeField','queryName','tButton','filters','selected','dispField','gql','string','meta-code-selector','basicArgs','5890444vyJuRg','cancel','134978pukYRV','LIST','meta-object-selector-popup','startsWith','clickCancel','querySelector','24JaRpuE','includes','getSelectColumns','query','args','firstUpdated','render','getGristPagination100Config','getGristMetaObjectOptions','menu','9sVgcwr','tText','7723782bLoiNI','codes','getGristColumnConfig2','1518741YPZhun','clickEmpty','grist','search','rows','styles','columns','values','getGristSelectableConfig','search_hidden_fields','sorters','select','15pvnqdx','resource-object','isArray','gridConfig','define','getCodeByEntity','filter','getParams','#ox-grist','connectedCallback','type','empty','object','scenario','name','NOTHING_SELECTED','bind','getCodeSelectorData','15057190RGkJbs','record','meta-'];a0_0xe257=function(){return _0xdb6aef;};return a0_0xe257();}import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x53dc5b(0x147)]=[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_0x53dc5b(0x157)](){const _0x28cd58=a0_0x53dc5b;this[_0x28cd58(0x14b)]=this[_0x28cd58(0x168)][_0x28cd58(0x17c)]?this[_0x28cd58(0x168)][_0x28cd58(0x17c)]:this[_0x28cd58(0x182)]&&this['basicArgs']['filters']?this[_0x28cd58(0x182)][_0x28cd58(0x17c)]:[];let _0x59c3d4=this['options'][_0x28cd58(0x14c)]?this['options'][_0x28cd58(0x14c)]:this[_0x28cd58(0x182)]&&this[_0x28cd58(0x182)][_0x28cd58(0x14c)]?this[_0x28cd58(0x182)]['sorters']:[],_0x1fb7cb=this[_0x28cd58(0x168)][_0x28cd58(0x163)]?this[_0x28cd58(0x168)][_0x28cd58(0x163)]:this[_0x28cd58(0x168)][_0x28cd58(0x178)]?.[_0x28cd58(0x145)]&&this['options'][_0x28cd58(0x178)]?.[_0x28cd58(0x145)][_0x28cd58(0x174)]>0x0?this[_0x28cd58(0x168)][_0x28cd58(0x178)][_0x28cd58(0x145)]:[],_0x1068fe=this[_0x28cd58(0x168)][_0x28cd58(0x14d)];if(!_0x1fb7cb||0x0==_0x1fb7cb[_0x28cd58(0x174)]){let _0x588e1b;this[_0x28cd58(0x168)][_0x28cd58(0x179)]&&(_0x588e1b=this['options'][_0x28cd58(0x179)]),this['options']['nameField']&&(_0x588e1b=this[_0x28cd58(0x168)]['nameField']),_0x588e1b&&_0x1fb7cb[_0x28cd58(0x16a)]({'name':_0x588e1b,'operator':'eq'});}let _0x3ac077=[...MetaApi[_0x28cd58(0x167)](!0x0,!0x1)];if(_0x1068fe&&_0x1068fe[_0x28cd58(0x174)]>0x0)for(let _0x624642=0x0;_0x624642<_0x1068fe['length'];_0x624642++){let {type:_0x3fcf51=_0x28cd58(0x180),name:_0x2d0f36,hidden:_0x3c585c=!0x1,record:_0x5e09ec={'align':_0x28cd58(0x164)},header:_0x594518,sortable:_0x504562=!0x1,width:_0x580b3f=0x87,options:_0x1eec69,select_opt:_0x11399e,object_opt:_0x20c30d}=_0x1068fe[_0x624642];if(_0x11399e&&(_0x1eec69=_0x11399e),_0x20c30d&&(_0x1eec69=_0x20c30d),[_0x28cd58(0x14f),_0x28cd58(0x15a)]['includes'](_0x3fcf51)?_0x3fcf51=_0x28cd58(0x16b):['resource-code-selector']['includes'](_0x3fcf51)&&(_0x3fcf51=_0x28cd58(0x181)),'id'==_0x2d0f36)_0x3ac077['push']({'type':'string','name':_0x2d0f36,'hidden':!0x0});else{let _0x4077d0=MetaApi[_0x28cd58(0x199)](_0x3fcf51,_0x2d0f36,_0x594518||_0x2d0f36,_0x5e09ec['align']?_0x5e09ec['align']:_0x28cd58(0x164),!0x1,_0x504562,_0x580b3f);_0x3fcf51[_0x28cd58(0x188)](_0x28cd58(0x162))&&_0x20c30d&&_0x20c30d[_0x28cd58(0x194)]&&(_0x1eec69=await MetaUiUtil[_0x28cd58(0x193)](_0x3fcf51,_0x1eec69)),_0x28cd58(0x14d)===_0x3fcf51?Array[_0x28cd58(0x150)](_0x1eec69)?_0x4077d0[_0x28cd58(0x161)]['options']=_0x1eec69:'code'===_0x1eec69[_0x28cd58(0x158)]?_0x4077d0[_0x28cd58(0x161)]['options']=await ServiceUtil[_0x28cd58(0x15f)](_0x1eec69[_0x28cd58(0x149)]?_0x1eec69[_0x28cd58(0x149)]:_0x1eec69[_0x28cd58(0x15c)]):_0x28cd58(0x15b)===_0x1eec69[_0x28cd58(0x158)]?_0x4077d0[_0x28cd58(0x161)][_0x28cd58(0x168)]=await ServiceUtil[_0x28cd58(0x177)](_0x1eec69['name'],_0x1eec69[_0x28cd58(0x18f)]):'entity'===_0x1eec69[_0x28cd58(0x158)]&&(_0x4077d0['record']['options']=await ServiceUtil[_0x28cd58(0x153)](_0x1eec69[_0x28cd58(0x18f)])):_0x28cd58(0x16b)===_0x3fcf51?_0x4077d0[_0x28cd58(0x161)][_0x28cd58(0x168)]={..._0x1eec69}:_0x28cd58(0x181)==_0x3fcf51&&(_0x1eec69[_0x28cd58(0x17e)]&&(_0x1eec69[_0x28cd58(0x198)]=await ServiceUtil['getCodeByEntity'](_0x1eec69)),_0x4077d0['record'][_0x28cd58(0x168)]={..._0x1eec69}),_0x4077d0['hidden']=_0x3c585c,_0x3ac077[_0x28cd58(0x16a)](_0x4077d0);}}else _0x3ac077[_0x28cd58(0x16a)](MetaApi[_0x28cd58(0x199)](_0x28cd58(0x180),this['options']['codeField'],this[_0x28cd58(0x168)]['codeField'],'left',!0x1,!0x0,0xb4)),this[_0x28cd58(0x168)][_0x28cd58(0x17e)]&&_0x3ac077[_0x28cd58(0x16a)](MetaApi[_0x28cd58(0x199)](_0x28cd58(0x180),this[_0x28cd58(0x168)]['dispField'],this[_0x28cd58(0x168)][_0x28cd58(0x17e)],_0x28cd58(0x164),!0x1,!0x0,0x12c));_0x3ac077[_0x28cd58(0x16d)](_0x23661e=>{const _0x28b8fd=_0x28cd58;let _0x44b92b=_0x1fb7cb['filter'](_0x2b7baf=>'string'==typeof _0x2b7baf?_0x23661e[_0x28b8fd(0x15c)]==_0x2b7baf:_0x23661e[_0x28b8fd(0x15c)]==_0x2b7baf[_0x28b8fd(0x15c)]);_0x44b92b&&_0x44b92b[_0x28b8fd(0x174)]>0x0&&(_0x23661e[_0x28b8fd(0x154)]=_0x28b8fd(0x180)==typeof _0x44b92b[0x0]?'search':_0x44b92b[0x0]);});let _0x3249c3={'rows':MetaApi[_0x28cd58(0x14a)](!0x1),'pagination':MetaApi[_0x28cd58(0x192)](),'columns':_0x3ac077,'sorters':[..._0x59c3d4]};_0x3249c3[_0x28cd58(0x146)][_0x28cd58(0x172)]={'click':'select-row-toggle','dblclick':(_0x1c98fd,_0xeb0d75,_0x118c7d,_0x33a0c3,_0x5a707d,_0x459d56)=>{this['selectRecord'](_0x33a0c3);}},_0x3249c3[_0x28cd58(0x146)][_0x28cd58(0x16f)]=!0x1,this['gridConfig']=_0x3249c3,await super[_0x28cd58(0x157)]();}async[a0_0x53dc5b(0x190)](){const _0x4dacc1=a0_0x53dc5b;await super[_0x4dacc1(0x190)]();}[a0_0x53dc5b(0x191)](){const _0x121e91=a0_0x53dc5b;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x121e91(0x151)]} .mode=${isMobileDevice()?_0x121e91(0x186):_0x121e91(0x170)} auto-fetch
22
+ .fetchHandler=${this[_0x121e91(0x16e)][_0x121e91(0x15e)](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[_0x121e91(0x17b)](_0x121e91(0x159))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x121e91(0x19b)][_0x121e91(0x15e)](this)}>
32
+ </mwc-button>
33
+ <mwc-button raised label="${TermsUtil[_0x121e91(0x17b)](_0x121e91(0x184))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this['clickCancel'][_0x121e91(0x15e)](this)}>
35
+ </mwc-button>
36
+ <mwc-button raised label="${TermsUtil['tButton'](_0x121e91(0x14d))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x121e91(0x175)][_0x121e91(0x15e)](this)}>
38
+ </mwc-button>
39
+ </div>
40
+ `;}get[a0_0x53dc5b(0x144)](){const _0xda37ea=a0_0x53dc5b;return this['shadowRoot'][_0xda37ea(0x18a)](_0xda37ea(0x156));}async[a0_0x53dc5b(0x16e)]({page:_0x4bae47=0x0,limit:_0x2f2ab3=0x0,sorters:_0x45569e=[],filters:_0x709399=[]}){const _0xd1e249=a0_0x53dc5b;let _0xf7a9bd=[...this['search_hidden_fields']];_0x709399[_0xd1e249(0x16d)](_0x404c42=>{const _0x8965e2=_0xd1e249;let _0x1f3d12=_0xf7a9bd['filter'](_0x4a9d7a=>_0x404c42[_0x8965e2(0x15c)]==_0x4a9d7a['name']);_0x1f3d12&&_0x1f3d12[_0x8965e2(0x174)]>0x0&&delete _0xf7a9bd[_0x404c42['name']],_0xf7a9bd[_0x8965e2(0x16a)](_0x404c42);});let _0x52e383=ValueUtil[_0xd1e249(0x155)](this['options']['menu_template']&&this[_0xd1e249(0x168)][_0xd1e249(0x178)][_0xd1e249(0x17f)]||{},_0xd1e249(0x18e),_0xd1e249(0x176)),_0x42ff84=Object[_0xd1e249(0x173)](_0x52e383||{}),_0xc2488a=MetaApi[_0xd1e249(0x18d)](this[_0xd1e249(0x151)][_0xd1e249(0x148)][_0xd1e249(0x154)](_0x4844a8=>!_0x42ff84[_0xd1e249(0x18c)](_0x4844a8['name'])));return await MetaApi['searchByPagination'](this['options'][_0xd1e249(0x17a)],_0xf7a9bd,_0x45569e,_0x4bae47,_0x2f2ab3,_0xc2488a);}async[a0_0x53dc5b(0x19b)](_0x2cd640){const _0x479334=a0_0x53dc5b;this['confirmCallback']&&this[_0x479334(0x171)](null),closePopup(this);}async[a0_0x53dc5b(0x189)](_0x28699f){closePopup(this);}async[a0_0x53dc5b(0x175)](_0x2dd1ae){const _0x147eb3=a0_0x53dc5b;let _0x5818f=this[_0x147eb3(0x144)][_0x147eb3(0x17d)];_0x5818f&&0x0!=_0x5818f[_0x147eb3(0x174)]?this[_0x147eb3(0x166)](_0x5818f[0x0]):MetaApi[_0x147eb3(0x165)]('info',TermsUtil[_0x147eb3(0x196)](_0x147eb3(0x15d)));}async['selectRecord'](_0x367e40){const _0x4e3f05=a0_0x53dc5b;this['confirmCallback']&&this[_0x4e3f05(0x171)](_0x367e40),closePopup(this);}}customElements[a0_0x53dc5b(0x152)](a0_0x53dc5b(0x187),MetaObjectSelectorPopup);