@things-factory/meta-ui 6.1.5 → 6.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  13. package/client/mixin/meta-button-mixin.js +1 -1
  14. package/client/mixin/meta-form-mixin.js +1 -1
  15. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  16. package/client/mixin/meta-main-tab-mixin.js +1 -1
  17. package/client/mixin/meta-master-detail-mixin.js +1 -1
  18. package/client/mixin/meta-service-mixin.js +1 -1
  19. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  20. package/client/mixin/meta-tab-mixin.js +1 -1
  21. package/client/pages/activity/meta-activity-list-page.js +6 -6
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +29 -29
  26. package/client/pages/entity/main-menu-selector.js +8 -8
  27. package/client/pages/history/history-copy-list-popup.js +6 -6
  28. package/client/pages/history/history-json-list-popup.js +6 -6
  29. package/client/pages/loading-page.js +5 -5
  30. package/client/pages/menu/dynamic-menu-template.js +7 -7
  31. package/client/pages/menu/dynamic-menu.js +15 -15
  32. package/client/pages/meta-form-element.js +1 -1
  33. package/client/pages/meta-grist-element.js +1 -1
  34. package/client/pages/meta-grist-page.js +1 -1
  35. package/client/pages/meta-grist-tab-element.js +1 -1
  36. package/client/pages/meta-grist-tab-page.js +1 -1
  37. package/client/pages/meta-main-tab-element.js +1 -1
  38. package/client/pages/meta-main-tab-page.js +1 -1
  39. package/client/pages/meta-master-detail-element.js +1 -1
  40. package/client/pages/meta-master-detail-page.js +1 -1
  41. package/client/pages/meta-tab-detail-element.js +1 -1
  42. package/client/pages/meta-tab-detail-page.js +1 -1
  43. package/client/pages/meta-tab-element.js +1 -1
  44. package/client/pages/personalize/personal-column-selector.js +11 -11
  45. package/client/pages/terms/config-terminology.js +6 -6
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +103 -103
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +11 -11
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +2 -2
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/index.js +3 -1
  73. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  74. package/server/service/meta-activity/meta-activity-query.js +1 -1
  75. package/server/service/meta-activity/meta-activity-type.js +1 -1
  76. package/server/service/meta-secret/meta-resolver.js +1 -1
  77. package/server/service/set-translations/set-translation-resolver.js +1 -1
  78. package/server/service/work-code/work-code-mutation.js +1 -1
  79. package/server/service/work-code/work-code-query.js +1 -1
  80. package/server/service/work-code/work-code-type.js +1 -1
  81. package/server/service/work-code/work-code.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail.js +1 -1
  86. package/translations/en.json +2 -1
  87. package/translations/ko.json +2 -1
  88. package/translations/ms.json +2 -1
  89. package/translations/zh.json +2 -1
@@ -1,7 +1,7 @@
1
- const a0_0x3d7a05=a0_0x2f5b;(function(_0x272ee8,_0x4e0922){const _0x2abbca=a0_0x2f5b,_0x528b52=_0x272ee8();while(!![]){try{const _0x40c504=parseInt(_0x2abbca(0xdf))/0x1+parseInt(_0x2abbca(0xec))/0x2*(parseInt(_0x2abbca(0xf4))/0x3)+parseInt(_0x2abbca(0xea))/0x4*(-parseInt(_0x2abbca(0xe8))/0x5)+parseInt(_0x2abbca(0xee))/0x6+parseInt(_0x2abbca(0xdb))/0x7*(parseInt(_0x2abbca(0xe2))/0x8)+parseInt(_0x2abbca(0xde))/0x9*(parseInt(_0x2abbca(0xe6))/0xa)+-parseInt(_0x2abbca(0xd8))/0xb;if(_0x40c504===_0x4e0922)break;else _0x528b52['push'](_0x528b52['shift']());}catch(_0x14b809){_0x528b52['push'](_0x528b52['shift']());}}}(a0_0x4a75,0x489e6));function a0_0x4a75(){const _0x14a5a1=['978232XwUCfm','querySelector','landscape','dispatch','70tYpEsm','meta[name=\x22application-name\x22]','406905wwAmVi','items','12giLLtk','HEADERBAR','4094deWvAl','lite-menu-part','3333252ZnxaxE','filter','appName','portrait','UPDATE_META_MENU_TEMPLATE','active','447cpKkJj','11971212VSQbRs','data','rank','7PfMrCr','FRONT_END','hamburger','695655QQEEGD','105992PPHKPi','NAVBAR','content'];a0_0x4a75=function(){return _0x14a5a1;};return a0_0x4a75();}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x311f8a 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';function a0_0x2f5b(_0x54455c,_0x251d60){const _0x4a758d=a0_0x4a75();return a0_0x2f5b=function(_0x2f5b3d,_0x66a9d){_0x2f5b3d=_0x2f5b3d-0xd8;let _0x2822f1=_0x4a758d[_0x2f5b3d];return _0x2822f1;},a0_0x2f5b(_0x54455c,_0x251d60);}import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE=a0_0x3d7a05(0xf2);var HAMBURGER;export async function setupMenuPart(_0x47bf62){const _0x1dd6f1=a0_0x3d7a05;var {hovering:_0x2e89b5=!!isMobileDevice(),slotTemplate:_0x93d9bc,portraitSlotTemplate:_0x494f61,landscapeSlotTemplate:_0x3c4b1d,position:_0x521b81=VIEWPART_POSITION[_0x1dd6f1(0xe0)]}=_0x47bf62||{};const {hovering:_0x5e464d}=(await clientSettingStore['get']('dynamic-menu'))?.['value']||{};void 0x0!==_0x5e464d&&(_0x2e89b5=_0x5e464d);const _0x3e3ab7=_0x521b81==VIEWPART_POSITION[_0x1dd6f1(0xeb)]?_0x1dd6f1(0xe4):'portrait',_0x561ffa=(_0x1dd6f1(0xe4)==_0x3e3ab7?_0x3c4b1d:_0x494f61)||_0x93d9bc||html``;appendViewpart({'name':_0x1dd6f1(0xed),'viewpart':{'show':!_0x2e89b5,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x2e89b5,'template':html`<dynamic-menu-part .orientation=${_0x3e3ab7}>${_0x561ffa}</dynamic-menu-part>`},'position':_0x521b81}),_0x2e89b5&&_0x1dd6f1(0xf1)==_0x3e3ab7?HAMBURGER||(HAMBURGER={'name':_0x1dd6f1(0xdd),'template':html`
2
- <mwc-icon @click=${_0x3fd648=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
1
+ const a0_0x2beef4=a0_0x5161;function a0_0x1702(){const _0x2fef61=['items','querySelector','appName','608055ZkeMjx','dispatch','dynamic-menu-part','rank','1286920gjIyMr','active','445698OBUQWb','portrait','landscape','value','7xrmagb','NAVBAR','data','3eJfVrH','312453oOvPWw','1675218FZfFhq','8mMAEWw','14890220vrbnWT','4354137aUTeTB','lite-menu-part','get','content','UPDATE_META_UI','UPDATE_META_MENU_TEMPLATE','FRONT_END','meta[name=\x22application-name\x22]'];a0_0x1702=function(){return _0x2fef61;};return a0_0x1702();}(function(_0x3d28ab,_0xa766f3){const _0x26a814=a0_0x5161,_0x6bfaa0=_0x3d28ab();while(!![]){try{const _0x21c557=-parseInt(_0x26a814(0x8d))/0x1+-parseInt(_0x26a814(0xa2))/0x2*(parseInt(_0x26a814(0x8c))/0x3)+-parseInt(_0x26a814(0xa0))/0x4+-parseInt(_0x26a814(0x9c))/0x5+-parseInt(_0x26a814(0x8e))/0x6*(-parseInt(_0x26a814(0x89))/0x7)+-parseInt(_0x26a814(0x8f))/0x8*(parseInt(_0x26a814(0x91))/0x9)+parseInt(_0x26a814(0x90))/0xa;if(_0x21c557===_0xa766f3)break;else _0x6bfaa0['push'](_0x6bfaa0['shift']());}catch(_0x185b2e){_0x6bfaa0['push'](_0x6bfaa0['shift']());}}}(a0_0x1702,0x4aa7d));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x4c8428 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x5161(_0x1acb4c,_0xea8051){const _0x1702b8=a0_0x1702();return a0_0x5161=function(_0x51615a,_0xe0f257){_0x51615a=_0x51615a-0x86;let _0xfdd49f=_0x1702b8[_0x51615a];return _0xfdd49f;},a0_0x5161(_0x1acb4c,_0xea8051);}import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x2beef4(0x95);export const UPDATE_META_MENU_TEMPLATE=a0_0x2beef4(0x96);var HAMBURGER;export async function setupMenuPart(_0x186506){const _0x2790b6=a0_0x2beef4;var {hovering:_0x5762e3=!!isMobileDevice(),slotTemplate:_0x243652,portraitSlotTemplate:_0x4830e3,landscapeSlotTemplate:_0x50fd7e,position:_0x4188a9=VIEWPART_POSITION[_0x2790b6(0x8a)]}=_0x186506||{};const {hovering:_0x310046}=(await clientSettingStore[_0x2790b6(0x93)]('dynamic-menu'))?.[_0x2790b6(0x88)]||{};void 0x0!==_0x310046&&(_0x5762e3=_0x310046);const _0xa55db4=_0x4188a9==VIEWPART_POSITION['HEADERBAR']?_0x2790b6(0x87):_0x2790b6(0x86),_0x5157c0=('landscape'==_0xa55db4?_0x50fd7e:_0x4830e3)||_0x243652||html``;appendViewpart({'name':_0x2790b6(0x92),'viewpart':{'show':!_0x5762e3,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x5762e3,'template':html`<dynamic-menu-part .orientation=${_0xa55db4}>${_0x5157c0}</dynamic-menu-part>`},'position':_0x4188a9}),_0x5762e3&&_0x2790b6(0x86)==_0xa55db4?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
+ <mwc-icon @click=${_0xf5bb5e=>toggleOverlay(_0x2790b6(0x9e),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x1dd6f1(0xdc)]},store[_0x1dd6f1(0xe5)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x2ffa2a){const _0x462327=a0_0x3d7a05;var _0x18e2be=document[_0x462327(0xe3)](_0x462327(0xe7))?.[_0x462327(0xe1)],_0x1a7371=(await client['query']({'query':a0_0x311f8a`
4
+ `,'position':TOOL_POSITION[_0x2790b6(0x97)]},store[_0x2790b6(0x9d)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x5ea1d9){const _0x13f764=a0_0x2beef4;var _0x4ff3ed=document[_0x13f764(0x9a)](_0x13f764(0x98))?.[_0x13f764(0x94)],_0x536fab=(await client['query']({'query':a0_0x4c8428`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x3d7a05=a0_0x2f5b;(function(_0x272ee8,_0x4e0922){const _0x2abbca=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x462327(0xf3),'operator':'eq','value':!0x0},{'name':_0x462327(0xf0),'operator':'in','value':['',_0x18e2be]}],'sortings':[{'name':_0x462327(0xda),'desc':!0x1}]}}))[_0x462327(0xd9)]['liteMenus'][_0x462327(0xe9)];store[_0x462327(0xe5)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1a7371[_0x462327(0xef)](_0x30d25a=>!_0x30d25a[_0x462327(0xf0)]||_0x30d25a[_0x462327(0xf0)]===_0x18e2be),'template':_0x2ffa2a});}
23
+ `,'variables':{'filters':[{'name':_0x13f764(0xa1),'operator':'eq','value':!0x0},{'name':_0x13f764(0x9b),'operator':'in','value':['',_0x4ff3ed]}],'sortings':[{'name':_0x13f764(0x9f),'desc':!0x1}]}}))[_0x13f764(0x8b)]['liteMenus'][_0x13f764(0x99)];store[_0x13f764(0x9d)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x536fab['filter'](_0x47d11c=>!_0x47d11c[_0x13f764(0x9b)]||_0x47d11c['appName']===_0x4ff3ed),'template':_0x5ea1d9});}
@@ -1,16 +1,16 @@
1
- (function(_0x93690b,_0xcaffec){const _0x13d33a=a0_0x11ea,_0x1865ba=_0x93690b();while(!![]){try{const _0x277321=parseInt(_0x13d33a(0x10f))/0x1+parseInt(_0x13d33a(0x128))/0x2*(parseInt(_0x13d33a(0x12b))/0x3)+-parseInt(_0x13d33a(0x117))/0x4+parseInt(_0x13d33a(0x12c))/0x5*(parseInt(_0x13d33a(0x129))/0x6)+-parseInt(_0x13d33a(0x121))/0x7*(-parseInt(_0x13d33a(0x113))/0x8)+parseInt(_0x13d33a(0x12a))/0x9*(-parseInt(_0x13d33a(0x118))/0xa)+-parseInt(_0x13d33a(0x127))/0xb;if(_0x277321===_0xcaffec)break;else _0x1865ba['push'](_0x1865ba['shift']());}catch(_0x153a63){_0x1865ba['push'](_0x1865ba['shift']());}}}(a0_0x1aa7,0x3dc2a));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x11ea(_0x5d0117,_0x4c126e){const _0x1aa73f=a0_0x1aa7();return a0_0x11ea=function(_0x11ea80,_0x4d54f0){_0x11ea80=_0x11ea80-0x10f;let _0x4f3edd=_0x1aa73f[_0x11ea80];return _0x4f3edd;},a0_0x11ea(_0x5d0117,_0x4c126e);}function a0_0x1aa7(){const _0x13d0c8=['1739252RFhydZ','40SEoQVP','options','codes','value','selectorName','ox-grid-header','renderRoot','large','name','1279502ZLlrYN','dispField','change','target','codeField','display','4402211MDnpyO','26HyxuDa','12WMNvka','516024pNgitC','86781akPgIq','415405IWRQpD','[name=\x22','409543uJDatj','filter-change','tTitle','select_item','16ifJjWx','stopPropagation','filter','querySelector'];a0_0x1aa7=function(){return _0x13d0c8;};return a0_0x1aa7();}function openMetaCodeSelector(_0x4dd3ac,_0x10544c,_0x45b4bd){const _0x3af207=a0_0x11ea;var _0x243eec=html`
1
+ (function(_0x4d669b,_0x27aae8){const _0x4ccc77=a0_0x2a30,_0x430d76=_0x4d669b();while(!![]){try{const _0x2e8535=parseInt(_0x4ccc77(0x19e))/0x1*(-parseInt(_0x4ccc77(0x19d))/0x2)+-parseInt(_0x4ccc77(0x1b2))/0x3+parseInt(_0x4ccc77(0x1a0))/0x4*(-parseInt(_0x4ccc77(0x1b4))/0x5)+-parseInt(_0x4ccc77(0x1a4))/0x6*(parseInt(_0x4ccc77(0x1ac))/0x7)+parseInt(_0x4ccc77(0x1b1))/0x8+-parseInt(_0x4ccc77(0x1bb))/0x9*(parseInt(_0x4ccc77(0x1b8))/0xa)+parseInt(_0x4ccc77(0x1a5))/0xb;if(_0x2e8535===_0x27aae8)break;else _0x430d76['push'](_0x430d76['shift']());}catch(_0x5e99e7){_0x430d76['push'](_0x430d76['shift']());}}}(a0_0x15bb,0xddcd0));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x15bb(){const _0x19c130=['72NkMISZ','form\x20[name=\x22','value','tagName','6YafLRA','67681801BmYAyD','selectorName','codes','target','toLowerCase','change','stopPropagation','9173759qrbLqy','options','renderRoot','querySelector','dispField','3313400pOTjDC','4995636EcfOSu','select_item','69780DWYmca','filter','length','display','11840orEHDr','large','tMenu','12375vQQwpp','name','535742MkaVRv','3yIffkZ','dispatchEvent'];a0_0x15bb=function(){return _0x19c130;};return a0_0x15bb();}import{openPopup}from'@operato/layout';function a0_0x2a30(_0x4aa78a,_0x5e0cf1){const _0x15bbcd=a0_0x15bb();return a0_0x2a30=function(_0x2a3088,_0x8d8b9d){_0x2a3088=_0x2a3088-0x19d;let _0x4b3e56=_0x15bbcd[_0x2a3088];return _0x4b3e56;},a0_0x2a30(_0x4aa78a,_0x5e0cf1);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x7bc74f,_0x3a454b,_0x1f3060){const _0x5ac2a2=a0_0x2a30;var _0x3f4a1d=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x10544c}
4
- .options=${_0x4dd3ac[_0x3af207(0x119)]}
5
- .confirmCallback=${_0x45b4bd}
3
+ .value=${_0x3a454b}
4
+ .options=${_0x7bc74f[_0x5ac2a2(0x1ad)]}
5
+ .confirmCallback=${_0x1f3060}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x243eec,{'backdrop':!0x0,'size':_0x3af207(0x11f),'title':_0x4dd3ac[_0x3af207(0x119)][_0x3af207(0x11c)]?TermsUtil['tMenu'](_0x4dd3ac[_0x3af207(0x119)]['selectorName']):TermsUtil[_0x3af207(0x111)](_0x3af207(0x112))});}export const FilterFormMetaCodeSelect=(_0x2dbe3b,_0x2cc41d,_0x2fd6c5)=>{const _0x375151=a0_0x11ea,_0xedd9b2=_0x2dbe3b[_0x375151(0x119)],_0x393fee=_0xedd9b2[_0x375151(0x11a)]&&_0xedd9b2[_0x375151(0x11a)]['length']>0x0?_0xedd9b2['codes']:void 0x0,{operator:_0xfc7ec0='eq'}=_0x2dbe3b;let _0x84a0e=_0x2cc41d||'',_0x4dc241=_0x2cc41d||'';if(_0xedd9b2[_0x375151(0x122)]&&_0x2cc41d&&_0x393fee){let _0x98213b=_0x393fee[_0x375151(0x115)](_0x38853e=>_0x38853e[_0x375151(0x11b)]==_0x2cc41d);_0x98213b&&_0x98213b['length']>0x0&&(_0x4dc241=_0x98213b[0x0][_0x375151(0x126)]);}return'eq'===_0xfc7ec0?html`
8
- <input name='${_0x2dbe3b[_0x375151(0x120)]}' .value=${_0x84a0e} type="text" hidden></input>
7
+ `;openPopup(_0x3f4a1d,{'backdrop':!0x0,'size':_0x5ac2a2(0x1b9),'title':_0x7bc74f[_0x5ac2a2(0x1ad)][_0x5ac2a2(0x1a6)]?TermsUtil[_0x5ac2a2(0x1ba)](_0x7bc74f[_0x5ac2a2(0x1ad)][_0x5ac2a2(0x1a6)]):TermsUtil['tTitle'](_0x5ac2a2(0x1b3))});}export const FilterFormMetaCodeSelect=(_0x1a74b9,_0x332a94,_0x180776)=>{const _0x4e51f1=a0_0x2a30,_0x20e151=_0x1a74b9[_0x4e51f1(0x1ad)],_0x2905df=_0x20e151['codes']&&_0x20e151[_0x4e51f1(0x1a7)][_0x4e51f1(0x1b6)]>0x0?_0x20e151[_0x4e51f1(0x1a7)]:void 0x0,{operator:_0x43dc20='eq'}=_0x1a74b9;let _0x162c08=_0x332a94||'',_0x5dc6fd=_0x332a94||'';if(_0x20e151[_0x4e51f1(0x1b0)]&&_0x332a94&&_0x2905df){let _0x31da21=_0x2905df[_0x4e51f1(0x1b5)](_0x1afb26=>_0x1afb26[_0x4e51f1(0x1a2)]==_0x332a94);_0x31da21&&_0x31da21['length']>0x0&&(_0x5dc6fd=_0x31da21[0x0][_0x4e51f1(0x1b7)]);}return'eq'===_0x43dc20?html`
8
+ <input name='${_0x1a74b9['name']}' .value=${_0x162c08} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x2dbe3b[_0x375151(0x120)]}_disp'
13
- .value=${_0x4dc241}
14
- @click=${_0x1d5316=>{const _0x2c8df7=_0x375151;_0x1d5316[_0x2c8df7(0x114)]();const _0x4bebf6=_0x1d5316[_0x2c8df7(0x124)];openMetaCodeSelector(_0x2dbe3b,_0x2cc41d,_0x206532=>{const _0x502e4c=_0x2c8df7;let _0x314f19=_0x206532?_0x206532[_0xedd9b2[_0x502e4c(0x125)]]:'',_0x5e986c=_0x314f19;_0x206532&&_0xedd9b2['dispField']&&(_0x5e986c=_0x206532[_0xedd9b2[_0x502e4c(0x122)]]),_0x4bebf6['value']=_0x5e986c,(_0x502e4c(0x11d)==_0x2fd6c5['tagName']['toLowerCase']()?_0x2fd6c5[_0x502e4c(0x11e)]['querySelector'](_0x502e4c(0x12d)+_0x2dbe3b[_0x502e4c(0x120)]+'\x22]'):_0x2fd6c5[_0x502e4c(0x11e)][_0x502e4c(0x116)]('form\x20[name=\x22'+_0x2dbe3b[_0x502e4c(0x120)]+'\x22]'))[_0x502e4c(0x11b)]=_0x314f19,_0x4bebf6['dispatchEvent'](new Event(_0x502e4c(0x123),{'bubbles':!0x0})),_0x4bebf6['dispatchEvent'](new CustomEvent(_0x502e4c(0x110),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2dbe3b[_0x502e4c(0x120)],'operator':_0xfc7ec0,'value':_0x314f19}}));});}}
12
+ name='${_0x1a74b9[_0x4e51f1(0x1bc)]}_disp'
13
+ .value=${_0x5dc6fd}
14
+ @click=${_0x28c3ad=>{const _0x4bc65e=_0x4e51f1;_0x28c3ad[_0x4bc65e(0x1ab)]();const _0x343701=_0x28c3ad[_0x4bc65e(0x1a8)];openMetaCodeSelector(_0x1a74b9,_0x332a94,_0x39f2a5=>{const _0x35290c=_0x4bc65e;let _0x25ae6c=_0x39f2a5?_0x39f2a5[_0x20e151['codeField']]:'',_0x95c53d=_0x25ae6c;_0x39f2a5&&_0x20e151[_0x35290c(0x1b0)]&&(_0x95c53d=_0x39f2a5[_0x20e151['dispField']]),_0x343701[_0x35290c(0x1a2)]=_0x95c53d,('ox-grid-header'==_0x180776[_0x35290c(0x1a3)][_0x35290c(0x1a9)]()?_0x180776['renderRoot'][_0x35290c(0x1af)]('[name=\x22'+_0x1a74b9[_0x35290c(0x1bc)]+'\x22]'):_0x180776[_0x35290c(0x1ae)][_0x35290c(0x1af)](_0x35290c(0x1a1)+_0x1a74b9[_0x35290c(0x1bc)]+'\x22]'))['value']=_0x25ae6c,_0x343701[_0x35290c(0x19f)](new Event(_0x35290c(0x1aa),{'bubbles':!0x0})),_0x343701['dispatchEvent'](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1a74b9['name'],'operator':_0x43dc20,'value':_0x25ae6c}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x222498,_0x5d5568){const _0x42006b=a0_0x400f,_0x13d103=_0x222498();while(!![]){try{const _0x4ea42d=-parseInt(_0x42006b(0x1d3))/0x1*(parseInt(_0x42006b(0x1d1))/0x2)+parseInt(_0x42006b(0x1cb))/0x3+parseInt(_0x42006b(0x1d4))/0x4+-parseInt(_0x42006b(0x1c9))/0x5+parseInt(_0x42006b(0x1c6))/0x6+-parseInt(_0x42006b(0x1db))/0x7+parseInt(_0x42006b(0x1ce))/0x8*(-parseInt(_0x42006b(0x1dc))/0x9);if(_0x4ea42d===_0x5d5568)break;else _0x13d103['push'](_0x13d103['shift']());}catch(_0x481c80){_0x13d103['push'](_0x13d103['shift']());}}}(a0_0x246a,0xb0cc9));function a0_0x246a(){const _0x53f40f=['selectorName','change','1196415tmsbMb','name','3552492mmdZXK','tTitle','toLowerCase','1048CgIYHd','select_item','dispatchEvent','14TNRRsH','form\x20[name=\x22','59578llEqew','3540764zGpurU','[name=\x22','ox-grid-header','large','querySelector','nameField','filter-change','378735QaiPsp','68679LEYhyJ','options','tagName','2189454Udibrn'];a0_0x246a=function(){return _0x53f40f;};return a0_0x246a();}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x400f(_0x29d41b,_0x41f70c){const _0x246aa5=a0_0x246a();return a0_0x400f=function(_0x400fed,_0x54a991){_0x400fed=_0x400fed-0x1c5;let _0x203613=_0x246aa5[_0x400fed];return _0x203613;},a0_0x400f(_0x29d41b,_0x41f70c);}function openMetaObjectSelector(_0x2655df,_0x461f13,_0x3c901b){const _0x3de81d=a0_0x400f;var _0x2aca80=html`
1
+ (function(_0x125981,_0x190faf){const _0x172aa3=a0_0x4322,_0x2eb238=_0x125981();while(!![]){try{const _0x2cec61=-parseInt(_0x172aa3(0x165))/0x1+-parseInt(_0x172aa3(0x15e))/0x2+parseInt(_0x172aa3(0x164))/0x3*(parseInt(_0x172aa3(0x162))/0x4)+-parseInt(_0x172aa3(0x15f))/0x5+parseInt(_0x172aa3(0x157))/0x6*(parseInt(_0x172aa3(0x15a))/0x7)+parseInt(_0x172aa3(0x158))/0x8*(parseInt(_0x172aa3(0x159))/0x9)+parseInt(_0x172aa3(0x152))/0xa;if(_0x2cec61===_0x190faf)break;else _0x2eb238['push'](_0x2eb238['shift']());}catch(_0xd14e80){_0x2eb238['push'](_0x2eb238['shift']());}}}(a0_0x4e3b,0xc01c7));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x4e3b(){const _0x1665d2=['toLowerCase','17624440JFXLJJ','tMenu','stopPropagation','tagName','selectorName','898374WeaCVN','32BKhnQv','2249847yqhXWs','7RLySRo','change','large','value','2581974oDmuVo','5109700sqglXM','[name=\x22','select_item','356IKITUz','tTitle','8163mQxUOI','54460JHjFWZ','filter-change','ox-grid-header','form\x20[name=\x22','options','target','name','nameField','dispatchEvent'];a0_0x4e3b=function(){return _0x1665d2;};return a0_0x4e3b();}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x588a15,_0x437b15,_0x2da9c4){const _0x4dec62=a0_0x4322;var _0x59d71=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x461f13}
4
- .options=${_0x2655df[_0x3de81d(0x1dd)]}
5
- .confirmCallback=${_0x3c901b}
3
+ .value=${_0x437b15}
4
+ .options=${_0x588a15[_0x4dec62(0x169)]}
5
+ .confirmCallback=${_0x2da9c4}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x2aca80,{'backdrop':!0x0,'size':_0x3de81d(0x1d7),'title':_0x2655df[_0x3de81d(0x1dd)]['selectorName']?TermsUtil['tMenu'](_0x2655df['options'][_0x3de81d(0x1c7)]):TermsUtil[_0x3de81d(0x1cc)](_0x3de81d(0x1cf))});}export const FilterFormMetaObjectSelect=(_0x7e7a87,_0x368dcc,_0x23b7b4)=>{const _0x1e4499=a0_0x400f,_0x1c940e=_0x7e7a87[_0x1e4499(0x1dd)],{operator:_0x5df2f2='eq'}=_0x7e7a87;let _0x272f2c=_0x368dcc?_0x368dcc['id']:'',_0x49aeab=_0x368dcc?_0x368dcc[_0x1c940e[_0x1e4499(0x1d9)]]:'';return'eq'===_0x5df2f2?html`
8
- <input name='${_0x7e7a87[_0x1e4499(0x1ca)]}' .value=${_0x272f2c} type="text" hidden></input>
7
+ `;openPopup(_0x59d71,{'backdrop':!0x0,'size':_0x4dec62(0x15c),'title':_0x588a15['options'][_0x4dec62(0x156)]?TermsUtil[_0x4dec62(0x153)](_0x588a15[_0x4dec62(0x169)]['selectorName']):TermsUtil[_0x4dec62(0x163)](_0x4dec62(0x161))});}function a0_0x4322(_0x1e92a8,_0x51593d){const _0x4e3b55=a0_0x4e3b();return a0_0x4322=function(_0x43222e,_0x300196){_0x43222e=_0x43222e-0x14e;let _0xaa3d12=_0x4e3b55[_0x43222e];return _0xaa3d12;},a0_0x4322(_0x1e92a8,_0x51593d);}export const FilterFormMetaObjectSelect=(_0x3831b6,_0x576052,_0x5350af)=>{const _0x291797=a0_0x4322,_0x52d979=_0x3831b6[_0x291797(0x169)],{operator:_0x55e9c5='eq'}=_0x3831b6;let _0x5077cd=_0x576052?_0x576052['id']:'',_0x1905ad=_0x576052?_0x576052[_0x52d979[_0x291797(0x14f)]]:'';return'eq'===_0x55e9c5?html`
8
+ <input name='${_0x3831b6['name']}' .value=${_0x5077cd} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x7e7a87['name']}_disp'
13
- .value=${_0x49aeab}
14
- @click=${_0xd3377a=>{_0xd3377a['stopPropagation']();const _0xbbb595=_0xd3377a['target'];openMetaObjectSelector(_0x7e7a87,_0x368dcc,_0x31d7c4=>{const _0x3ac9c1=a0_0x400f;let _0x4839be=_0x31d7c4?_0x31d7c4['id']:'',_0x38dc5d=_0x31d7c4?_0x31d7c4[_0x1c940e[_0x3ac9c1(0x1d9)]]:'';_0xbbb595['value']=_0x38dc5d,(_0x3ac9c1(0x1d6)==_0x23b7b4[_0x3ac9c1(0x1c5)][_0x3ac9c1(0x1cd)]()?_0x23b7b4['renderRoot'][_0x3ac9c1(0x1d8)](_0x3ac9c1(0x1d5)+_0x7e7a87[_0x3ac9c1(0x1ca)]+'\x22]'):_0x23b7b4['renderRoot'][_0x3ac9c1(0x1d8)](_0x3ac9c1(0x1d2)+_0x7e7a87[_0x3ac9c1(0x1ca)]+'\x22]'))['value']=_0x4839be,_0xbbb595[_0x3ac9c1(0x1d0)](new Event(_0x3ac9c1(0x1c8),{'bubbles':!0x0})),_0xbbb595[_0x3ac9c1(0x1d0)](new CustomEvent(_0x3ac9c1(0x1da),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x7e7a87[_0x3ac9c1(0x1ca)],'operator':_0x5df2f2,'value':_0x4839be}}));});}}
12
+ name='${_0x3831b6['name']}_disp'
13
+ .value=${_0x1905ad}
14
+ @click=${_0x425eef=>{const _0x5e3b2a=_0x291797;_0x425eef[_0x5e3b2a(0x154)]();const _0x56d423=_0x425eef[_0x5e3b2a(0x16a)];openMetaObjectSelector(_0x3831b6,_0x576052,_0x1edb2e=>{const _0xae3372=_0x5e3b2a;let _0x46ba62=_0x1edb2e?_0x1edb2e['id']:'',_0x3d0ade=_0x1edb2e?_0x1edb2e[_0x52d979[_0xae3372(0x14f)]]:'';_0x56d423[_0xae3372(0x15d)]=_0x3d0ade,(_0xae3372(0x167)==_0x5350af[_0xae3372(0x155)][_0xae3372(0x151)]()?_0x5350af['renderRoot']['querySelector'](_0xae3372(0x160)+_0x3831b6[_0xae3372(0x14e)]+'\x22]'):_0x5350af['renderRoot']['querySelector'](_0xae3372(0x168)+_0x3831b6[_0xae3372(0x14e)]+'\x22]'))[_0xae3372(0x15d)]=_0x46ba62,_0x56d423[_0xae3372(0x150)](new Event(_0xae3372(0x15b),{'bubbles':!0x0})),_0x56d423[_0xae3372(0x150)](new CustomEvent(_0xae3372(0x166),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3831b6[_0xae3372(0x14e)],'operator':_0x55e9c5,'value':_0x46ba62}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x175b83,_0x1b8c7f){const _0x3e0004=a0_0x1cc2,_0x425de6=_0x175b83();while(!![]){try{const _0x314f0f=-parseInt(_0x3e0004(0xc1))/0x1+parseInt(_0x3e0004(0xd2))/0x2*(-parseInt(_0x3e0004(0xb3))/0x3)+-parseInt(_0x3e0004(0xc5))/0x4+-parseInt(_0x3e0004(0xb6))/0x5*(-parseInt(_0x3e0004(0xc8))/0x6)+-parseInt(_0x3e0004(0xc4))/0x7+-parseInt(_0x3e0004(0xc9))/0x8*(parseInt(_0x3e0004(0xcf))/0x9)+parseInt(_0x3e0004(0xba))/0xa*(parseInt(_0x3e0004(0xd0))/0xb);if(_0x314f0f===_0x1b8c7f)break;else _0x425de6['push'](_0x425de6['shift']());}catch(_0x4238eb){_0x425de6['push'](_0x425de6['shift']());}}}(a0_0x1211,0x771de));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x54024b,_0xae947b,_0x4d626a){const _0x556c35=a0_0x1cc2;var _0x14b96c=html`
1
+ function a0_0x4a73(){const _0x479423=['large','codes','options','17677800TmVvIU','form\x20[name=\x22','268517fSMmrx','tagName','display','4124615QAvzQd','dispField','filter','2841tgNsam','281974dNbXur','codeField','9DgbmTn','record','value','renderRoot','2hQjlps','querySelector','[name=\x22','ox-grid-header','target','select_item','toLowerCase','name','length','1144CttXeb','tMenu','dispatchEvent','125DkJQuo','selectorName','8RNqeix','change','5131270AHiJml','77130vUPrBB'];a0_0x4a73=function(){return _0x479423;};return a0_0x4a73();}(function(_0x21c967,_0x101a8e){const _0x32dd26=a0_0x409c,_0x37880d=_0x21c967();while(!![]){try{const _0x628f3b=parseInt(_0x32dd26(0x1af))/0x1*(-parseInt(_0x32dd26(0x1bc))/0x2)+-parseInt(_0x32dd26(0x1b5))/0x3*(parseInt(_0x32dd26(0x1a1))/0x4)+parseInt(_0x32dd26(0x1a4))/0x5*(parseInt(_0x32dd26(0x1a9))/0x6)+-parseInt(_0x32dd26(0x1b6))/0x7*(parseInt(_0x32dd26(0x1a6))/0x8)+parseInt(_0x32dd26(0x1b8))/0x9*(-parseInt(_0x32dd26(0x1a8))/0xa)+-parseInt(_0x32dd26(0x1b2))/0xb+parseInt(_0x32dd26(0x1ad))/0xc;if(_0x628f3b===_0x101a8e)break;else _0x37880d['push'](_0x37880d['shift']());}catch(_0x30eccd){_0x37880d['push'](_0x37880d['shift']());}}}(a0_0x4a73,0x4fc88));function a0_0x409c(_0x3b1d38,_0x3490e0){const _0x4a7351=a0_0x4a73();return a0_0x409c=function(_0x409c2c,_0x29497a){_0x409c2c=_0x409c2c-0x1a1;let _0x1f847a=_0x4a7351[_0x409c2c];return _0x1f847a;},a0_0x409c(_0x3b1d38,_0x3490e0);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3ddd50,_0x9af169,_0x37a4aa){const _0x305250=a0_0x409c;var _0x331f5c=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0xae947b}
4
- .options=${_0x54024b[_0x556c35(0xd1)][_0x556c35(0xcd)]}
5
- .confirmCallback=${_0x4d626a}
3
+ .value=${_0x9af169}
4
+ .options=${_0x3ddd50[_0x305250(0x1b9)]['options']}
5
+ .confirmCallback=${_0x37a4aa}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x14b96c,{'backdrop':!0x0,'size':_0x556c35(0xbb),'title':_0x54024b['record']['options'][_0x556c35(0xbd)]?TermsUtil[_0x556c35(0xb9)](_0x54024b['record'][_0x556c35(0xcd)]['selectorName']):TermsUtil[_0x556c35(0xcc)](_0x556c35(0xb2))});}function a0_0x1211(){const _0xdd83e=['22yjcPbR','record','10ndXWEc','filter-change','dispField','select_item','117312mwbFfp','stopPropagation','ox-grid-header','1011645RZtLJp','name','form\x20[name=\x22','tMenu','12084340lOsjWf','large','length','selectorName','target','filter','codeField','954611HNDuVJ','tagName','querySelector','1205351JsInST','2179392qMQzIi','value','[name=\x22','18FhpkMM','72JwGNIO','dispatchEvent','renderRoot','tTitle','options','codes','668781PUCrFf'];a0_0x1211=function(){return _0xdd83e;};return a0_0x1211();}function a0_0x1cc2(_0x433b1d,_0x1ec550){const _0x121195=a0_0x1211();return a0_0x1cc2=function(_0x1cc2e6,_0x3cb849){_0x1cc2e6=_0x1cc2e6-0xb1;let _0x5e4fed=_0x121195[_0x1cc2e6];return _0x5e4fed;},a0_0x1cc2(_0x433b1d,_0x1ec550);}export const FilterGristMetaCodeSelect=(_0x3da787,_0x28eef6,_0x46fd51)=>{const _0x5c9694=a0_0x1cc2,_0x5cf2dd=_0x3da787['filter'],_0x12be4d=_0x3da787[_0x5c9694(0xd1)][_0x5c9694(0xcd)],_0x2e50dc=_0x12be4d[_0x5c9694(0xce)]&&_0x12be4d[_0x5c9694(0xce)]['length']>0x0?_0x12be4d[_0x5c9694(0xce)]:void 0x0,{operator:_0x56ce1e='eq'}=_0x5cf2dd;let _0x53282d=_0x28eef6||'',_0x2ab036=_0x28eef6||'';if(_0x12be4d['dispField']&&_0x28eef6&&_0x2e50dc){let _0x2d2fd1=_0x2e50dc[_0x5c9694(0xbf)](_0x43c272=>_0x43c272['value']==_0x28eef6);_0x2d2fd1&&_0x2d2fd1[_0x5c9694(0xbc)]>0x0&&(_0x2ab036=_0x2d2fd1[0x0]['display']);}return'eq'===_0x56ce1e?html`
8
- <input name='${_0x3da787[_0x5c9694(0xb7)]}' .value=${_0x53282d} type="text" hidden></input>
7
+ `;openPopup(_0x331f5c,{'backdrop':!0x0,'size':_0x305250(0x1aa),'title':_0x3ddd50[_0x305250(0x1b9)]['options']['selectorName']?TermsUtil[_0x305250(0x1a2)](_0x3ddd50[_0x305250(0x1b9)][_0x305250(0x1ac)][_0x305250(0x1a5)]):TermsUtil['tTitle'](_0x305250(0x1c1))});}export const FilterGristMetaCodeSelect=(_0x5baa73,_0x5b7788,_0x1e7f30)=>{const _0x1c506b=a0_0x409c,_0x39a674=_0x5baa73[_0x1c506b(0x1b4)],_0x3ff8bf=_0x5baa73['record']['options'],_0x55f4a0=_0x3ff8bf[_0x1c506b(0x1ab)]&&_0x3ff8bf[_0x1c506b(0x1ab)][_0x1c506b(0x1c4)]>0x0?_0x3ff8bf[_0x1c506b(0x1ab)]:void 0x0,{operator:_0x40ecb5='eq'}=_0x39a674;let _0xfbe4b0=_0x5b7788||'',_0x4a53dd=_0x5b7788||'';if(_0x3ff8bf[_0x1c506b(0x1b3)]&&_0x5b7788&&_0x55f4a0){let _0x4d175e=_0x55f4a0[_0x1c506b(0x1b4)](_0x3409b7=>_0x3409b7['value']==_0x5b7788);_0x4d175e&&_0x4d175e[_0x1c506b(0x1c4)]>0x0&&(_0x4a53dd=_0x4d175e[0x0][_0x1c506b(0x1b1)]);}return'eq'===_0x40ecb5?html`
8
+ <input name='${_0x5baa73[_0x1c506b(0x1c3)]}' .value=${_0xfbe4b0} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x3da787[_0x5c9694(0xb7)]}_disp'
13
- .value=${_0x2ab036}
14
- @click=${_0x128045=>{const _0x44731b=_0x5c9694;_0x128045[_0x44731b(0xb4)]();const _0x441d4d=_0x128045[_0x44731b(0xbe)];openMetaCodeSelector(_0x3da787,_0x28eef6,_0x2e7789=>{const _0x2d9838=_0x44731b;let _0x58bf4c=_0x2e7789?_0x2e7789[_0x12be4d[_0x2d9838(0xc0)]]:'',_0x42276b=_0x58bf4c;_0x2e7789&&_0x12be4d[_0x2d9838(0xb1)]&&(_0x42276b=_0x2e7789[_0x12be4d[_0x2d9838(0xb1)]]),_0x441d4d['value']=_0x42276b,(_0x2d9838(0xb5)==_0x46fd51[_0x2d9838(0xc2)]['toLowerCase']()?_0x46fd51[_0x2d9838(0xcb)][_0x2d9838(0xc3)](_0x2d9838(0xc7)+_0x5cf2dd[_0x2d9838(0xb7)]+'\x22]'):_0x46fd51['renderRoot'][_0x2d9838(0xc3)](_0x2d9838(0xb8)+_0x5cf2dd[_0x2d9838(0xb7)]+'\x22]'))[_0x2d9838(0xc6)]=_0x58bf4c,_0x441d4d['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x441d4d[_0x2d9838(0xca)](new CustomEvent(_0x2d9838(0xd3),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3da787[_0x2d9838(0xb7)],'operator':_0x56ce1e,'value':_0x58bf4c}}));});}}
12
+ name='${_0x5baa73[_0x1c506b(0x1c3)]}_disp'
13
+ .value=${_0x4a53dd}
14
+ @click=${_0x2a1dc6=>{const _0x574dd7=_0x1c506b;_0x2a1dc6['stopPropagation']();const _0xf81eaf=_0x2a1dc6[_0x574dd7(0x1c0)];openMetaCodeSelector(_0x5baa73,_0x5b7788,_0xe46dae=>{const _0x5b47ff=_0x574dd7;let _0x4b316f=_0xe46dae?_0xe46dae[_0x3ff8bf[_0x5b47ff(0x1b7)]]:'',_0xb63839=_0x4b316f;_0xe46dae&&_0x3ff8bf[_0x5b47ff(0x1b3)]&&(_0xb63839=_0xe46dae[_0x3ff8bf[_0x5b47ff(0x1b3)]]),_0xf81eaf[_0x5b47ff(0x1ba)]=_0xb63839,(_0x5b47ff(0x1bf)==_0x1e7f30[_0x5b47ff(0x1b0)][_0x5b47ff(0x1c2)]()?_0x1e7f30['renderRoot'][_0x5b47ff(0x1bd)](_0x5b47ff(0x1be)+_0x39a674[_0x5b47ff(0x1c3)]+'\x22]'):_0x1e7f30[_0x5b47ff(0x1bb)][_0x5b47ff(0x1bd)](_0x5b47ff(0x1ae)+_0x39a674[_0x5b47ff(0x1c3)]+'\x22]'))[_0x5b47ff(0x1ba)]=_0x4b316f,_0xf81eaf[_0x5b47ff(0x1a3)](new Event(_0x5b47ff(0x1a7),{'bubbles':!0x0})),_0xf81eaf[_0x5b47ff(0x1a3)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5baa73[_0x5b47ff(0x1c3)],'operator':_0x40ecb5,'value':_0x4b316f}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x1e6d2c,_0x3b54cf){const _0x44f198=a0_0x4ec3,_0x5e5901=_0x1e6d2c();while(!![]){try{const _0x21a958=-parseInt(_0x44f198(0xa2))/0x1*(parseInt(_0x44f198(0xb3))/0x2)+-parseInt(_0x44f198(0x9d))/0x3+-parseInt(_0x44f198(0xab))/0x4+-parseInt(_0x44f198(0x9e))/0x5*(parseInt(_0x44f198(0xa6))/0x6)+-parseInt(_0x44f198(0xb1))/0x7*(-parseInt(_0x44f198(0xae))/0x8)+parseInt(_0x44f198(0xac))/0x9+-parseInt(_0x44f198(0xb7))/0xa*(-parseInt(_0x44f198(0xb2))/0xb);if(_0x21a958===_0x3b54cf)break;else _0x5e5901['push'](_0x5e5901['shift']());}catch(_0x4cde01){_0x5e5901['push'](_0x5e5901['shift']());}}}(a0_0x4770,0x5056f));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x4ec3(_0x453101,_0x4f7dda){const _0x4770d8=a0_0x4770();return a0_0x4ec3=function(_0x4ec3c5,_0x288f2d){_0x4ec3c5=_0x4ec3c5-0x9d;let _0x228b52=_0x4770d8[_0x4ec3c5];return _0x228b52;},a0_0x4ec3(_0x453101,_0x4f7dda);}import{openPopup}from'@operato/layout';function a0_0x4770(){const _0x519ac1=['tTitle','querySelector','record','filter-change','820257PZoIiH','690wYhIxX','[name=\x22','ox-grid-header','large','424213YhvpVS','form\x20[name=\x22','tMenu','options','6270qvBjUk','nameField','name','change','target','270588VbRpVS','2793915UkAOYS','renderRoot','8tirmXg','value','selectorName','3754527dgTIKu','22qIpVML','2hZPupx','dispatchEvent','tagName','stopPropagation','1958820qFqBuq'];a0_0x4770=function(){return _0x519ac1;};return a0_0x4770();}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x13d422,_0x4cfa97,_0x1b2fa3){const _0x3f4df=a0_0x4ec3;var _0x570d73=html`
1
+ (function(_0x571565,_0x3aefa0){const _0x24b334=a0_0x10c5,_0x5d0b17=_0x571565();while(!![]){try{const _0x2e4ef6=-parseInt(_0x24b334(0x138))/0x1*(-parseInt(_0x24b334(0x131))/0x2)+-parseInt(_0x24b334(0x12a))/0x3*(parseInt(_0x24b334(0x121))/0x4)+parseInt(_0x24b334(0x135))/0x5+-parseInt(_0x24b334(0x132))/0x6*(parseInt(_0x24b334(0x129))/0x7)+parseInt(_0x24b334(0x12f))/0x8*(parseInt(_0x24b334(0x128))/0x9)+-parseInt(_0x24b334(0x137))/0xa+parseInt(_0x24b334(0x12c))/0xb;if(_0x2e4ef6===_0x3aefa0)break;else _0x5d0b17['push'](_0x5d0b17['shift']());}catch(_0x78215){_0x5d0b17['push'](_0x5d0b17['shift']());}}}(a0_0x2574,0x7ee82));import'../selector/meta-object-selector-popup';function a0_0x10c5(_0x557029,_0x51bb82){const _0x257480=a0_0x2574();return a0_0x10c5=function(_0x10c5e8,_0x36bd18){_0x10c5e8=_0x10c5e8-0x121;let _0x28f95b=_0x257480[_0x10c5e8];return _0x28f95b;},a0_0x10c5(_0x557029,_0x51bb82);}import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2574(){const _0x166cf9=['filter-change','10549935tSRcPO','options','renderRoot','8XRcwTg','name','4AJuaYY','84cgKsQL','toLowerCase','change','2856470YigsBp','filter','5958970ZkhiVu','288718RaVLMs','selectorName','value','dispatchEvent','340Uswyyl','tTitle','large','[name=\x22','nameField','record','stopPropagation','4631373baRrWj','381605iatGhj','26241jugEYj'];a0_0x2574=function(){return _0x166cf9;};return a0_0x2574();}import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x131b7b,_0xc7c7a2,_0x115fdf){const _0x3c4310=a0_0x10c5;var _0x3f8587=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x4cfa97}
4
- .options=${_0x13d422[_0x3f4df(0xba)][_0x3f4df(0xa5)]}
5
- .confirmCallback=${_0x1b2fa3}
3
+ .value=${_0xc7c7a2}
4
+ .options=${_0x131b7b['record'][_0x3c4310(0x12d)]}
5
+ .confirmCallback=${_0x115fdf}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x570d73,{'backdrop':!0x0,'size':_0x3f4df(0xa1),'title':_0x13d422[_0x3f4df(0xba)]['options'][_0x3f4df(0xb0)]?TermsUtil[_0x3f4df(0xa4)](_0x13d422[_0x3f4df(0xba)]['options'][_0x3f4df(0xb0)]):TermsUtil[_0x3f4df(0xb8)]('select_item')});}export const FilterGristMetaObjectSelect=(_0x92953c,_0x2964c9,_0x5617f1)=>{const _0x1fd369=a0_0x4ec3,_0x498e94=_0x92953c['filter'],{operator:_0x522861='eq'}=_0x498e94,_0x5f5492=_0x92953c[_0x1fd369(0xba)][_0x1fd369(0xa5)];let _0x2b021c=_0x2964c9?_0x2964c9['id']:'',_0x3b811f=_0x2964c9?_0x2964c9[_0x5f5492[_0x1fd369(0xa7)]]:'';return'eq'===_0x522861?html`
8
- <input name='${_0x92953c[_0x1fd369(0xa8)]}' .value=${_0x2b021c} type="text" hidden></input>
7
+ `;openPopup(_0x3f8587,{'backdrop':!0x0,'size':_0x3c4310(0x123),'title':_0x131b7b[_0x3c4310(0x126)][_0x3c4310(0x12d)][_0x3c4310(0x139)]?TermsUtil['tMenu'](_0x131b7b[_0x3c4310(0x126)][_0x3c4310(0x12d)][_0x3c4310(0x139)]):TermsUtil[_0x3c4310(0x122)]('select_item')});}export const FilterGristMetaObjectSelect=(_0x5f0f90,_0x4240aa,_0x578185)=>{const _0x5133e8=a0_0x10c5,_0x444888=_0x5f0f90[_0x5133e8(0x136)],{operator:_0x1aa074='eq'}=_0x444888,_0x38bd6c=_0x5f0f90[_0x5133e8(0x126)][_0x5133e8(0x12d)];let _0x68aa7b=_0x4240aa?_0x4240aa['id']:'',_0x58fe72=_0x4240aa?_0x4240aa[_0x38bd6c['nameField']]:'';return'eq'===_0x1aa074?html`
8
+ <input name='${_0x5f0f90[_0x5133e8(0x130)]}' .value=${_0x68aa7b} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x92953c[_0x1fd369(0xa8)]}_disp'
13
- .value=${_0x3b811f}
14
- @click=${_0x323b8d=>{const _0x4b4c22=_0x1fd369;_0x323b8d[_0x4b4c22(0xb6)]();const _0x37cd84=_0x323b8d[_0x4b4c22(0xaa)];openMetaObjectSelector(_0x92953c,_0x2964c9,_0x4b4b1d=>{const _0x429d69=_0x4b4c22;let _0x2bdcb4=_0x4b4b1d?_0x4b4b1d['id']:'',_0x407b23=_0x4b4b1d?_0x4b4b1d[_0x5f5492[_0x429d69(0xa7)]]:'';_0x37cd84[_0x429d69(0xaf)]=_0x407b23,(_0x429d69(0xa0)==_0x5617f1[_0x429d69(0xb5)]['toLowerCase']()?_0x5617f1[_0x429d69(0xad)][_0x429d69(0xb9)](_0x429d69(0x9f)+_0x498e94['name']+'\x22]'):_0x5617f1['renderRoot'][_0x429d69(0xb9)](_0x429d69(0xa3)+_0x498e94[_0x429d69(0xa8)]+'\x22]'))['value']=_0x2bdcb4,_0x37cd84['dispatchEvent'](new Event(_0x429d69(0xa9),{'bubbles':!0x0})),_0x37cd84[_0x429d69(0xb4)](new CustomEvent(_0x429d69(0xbb),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x92953c[_0x429d69(0xa8)],'operator':_0x522861,'value':_0x2bdcb4}}));});}}
12
+ name='${_0x5f0f90[_0x5133e8(0x130)]}_disp'
13
+ .value=${_0x58fe72}
14
+ @click=${_0x7e4695=>{const _0x17182f=_0x5133e8;_0x7e4695[_0x17182f(0x127)]();const _0x5f04c8=_0x7e4695['target'];openMetaObjectSelector(_0x5f0f90,_0x4240aa,_0x3e4d36=>{const _0x347a2d=_0x17182f;let _0x20c068=_0x3e4d36?_0x3e4d36['id']:'',_0x20673d=_0x3e4d36?_0x3e4d36[_0x38bd6c[_0x347a2d(0x125)]]:'';_0x5f04c8[_0x347a2d(0x13a)]=_0x20673d,('ox-grid-header'==_0x578185['tagName'][_0x347a2d(0x133)]()?_0x578185[_0x347a2d(0x12e)]['querySelector'](_0x347a2d(0x124)+_0x444888['name']+'\x22]'):_0x578185[_0x347a2d(0x12e)]['querySelector']('form\x20[name=\x22'+_0x444888[_0x347a2d(0x130)]+'\x22]'))[_0x347a2d(0x13a)]=_0x20c068,_0x5f04c8['dispatchEvent'](new Event(_0x347a2d(0x134),{'bubbles':!0x0})),_0x5f04c8[_0x347a2d(0x13b)](new CustomEvent(_0x347a2d(0x12b),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x5f0f90['name'],'operator':_0x1aa074,'value':_0x20c068}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,9 +1,9 @@
1
- const a0_0x2af477=a0_0x2b8b;function a0_0x2b8b(_0x1e7ced,_0x15b1ea){const _0x16eeca=a0_0x16ee();return a0_0x2b8b=function(_0x2b8b4d,_0x12b8b6){_0x2b8b4d=_0x2b8b4d-0x109;let _0x51b4d8=_0x16eeca[_0x2b8b4d];return _0x51b4d8;},a0_0x2b8b(_0x1e7ced,_0x15b1ea);}(function(_0x456d10,_0x361a8f){const _0x2913a1=a0_0x2b8b,_0x539bb=_0x456d10();while(!![]){try{const _0x1e3fdd=-parseInt(_0x2913a1(0x11e))/0x1+-parseInt(_0x2913a1(0x112))/0x2+-parseInt(_0x2913a1(0x123))/0x3+parseInt(_0x2913a1(0x11d))/0x4+parseInt(_0x2913a1(0x129))/0x5*(parseInt(_0x2913a1(0x10f))/0x6)+-parseInt(_0x2913a1(0x118))/0x7+parseInt(_0x2913a1(0x117))/0x8;if(_0x1e3fdd===_0x361a8f)break;else _0x539bb['push'](_0x539bb['shift']());}catch(_0xa2ea1b){_0x539bb['push'](_0x539bb['shift']());}}}(a0_0x16ee,0x7e671));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[a0_0x2af477(0x10c)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x2af477(0x127)](){const _0x108700=a0_0x2af477;let _0x3c6950='';if(this[_0x108700(0x113)]['record']&&this['column'][_0x108700(0x125)][_0x108700(0x12a)]){if(this[_0x108700(0x113)][_0x108700(0x125)][_0x108700(0x12a)]['dispField']){let _0xc97bef=this[_0x108700(0x113)][_0x108700(0x125)][_0x108700(0x12a)][_0x108700(0x116)]||[];if(this[_0x108700(0x10b)]&&this['value']['length']>0x0){let _0x1168b9=_0xc97bef[_0x108700(0x10d)](_0x12b064=>_0x12b064[_0x108700(0x10b)]===this[_0x108700(0x10b)]);_0x3c6950=_0x1168b9&&_0x1168b9[_0x108700(0x120)]>0x0?_0x1168b9[0x0]['display']:'';}}else _0x3c6950=this['value'];}else _0x3c6950='';return html`
2
- ${_0x3c6950?html` <span tabindex="0" style="flex:1">${_0x3c6950}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async[a0_0x2af477(0x115)](){super['firstUpdated']();}[a0_0x2af477(0x12c)](_0x55badf){const _0x4cdb0e=a0_0x2af477;_0x55badf[_0x4cdb0e(0x119)](),this[_0x4cdb0e(0x121)]();}[a0_0x2af477(0x11f)](_0xdf8672){'Enter'==_0xdf8672['key']&&(_0xdf8672['stopPropagation'](),this['openSelector']());}[a0_0x2af477(0x121)](){const _0xb18d9e=a0_0x2af477;this[_0xb18d9e(0x11b)]&&delete this['popup'];var {selectorName:_0x2e0321=TermsUtil[_0xb18d9e(0x126)](_0xb18d9e(0x122))}=this[_0xb18d9e(0x113)]['record'][_0xb18d9e(0x12a)]||{},_0x293043=html`
1
+ const a0_0x3a08d7=a0_0x3456;function a0_0x3456(_0x13d608,_0x249e69){const _0x1a9f15=a0_0x1a9f();return a0_0x3456=function(_0x3456b3,_0x3d59e7){_0x3456b3=_0x3456b3-0x8e;let _0x3192d6=_0x1a9f15[_0x3456b3];return _0x3192d6;},a0_0x3456(_0x13d608,_0x249e69);}(function(_0x476502,_0x1557ea){const _0x50a138=a0_0x3456,_0x942bba=_0x476502();while(!![]){try{const _0x4744a7=parseInt(_0x50a138(0xb3))/0x1*(parseInt(_0x50a138(0xa6))/0x2)+parseInt(_0x50a138(0x9c))/0x3*(parseInt(_0x50a138(0x90))/0x4)+-parseInt(_0x50a138(0x8e))/0x5*(-parseInt(_0x50a138(0xa9))/0x6)+-parseInt(_0x50a138(0xa5))/0x7+-parseInt(_0x50a138(0xb7))/0x8*(parseInt(_0x50a138(0xaa))/0x9)+-parseInt(_0x50a138(0x9b))/0xa+-parseInt(_0x50a138(0xb5))/0xb;if(_0x4744a7===_0x1557ea)break;else _0x942bba['push'](_0x942bba['shift']());}catch(_0xd91e96){_0x942bba['push'](_0x942bba['shift']());}}}(a0_0x1a9f,0x3930a));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x1a9f(){const _0x1072d9=['filter','dispField','column','field-change','318490aMKugP','12YZdMVL','tMenu','key','push','large','properties','select_item','_onclick','row','153125UDlUXM','151918XTFdmQ','codeField','display','654mFGFzC','36sFzsbU','editorTemplate','define','options','popup','length','_onkeydown','Enter','grist-editor-meta-code-selector','5aVclKf','stopPropagation','1419748BbqEkm','keys','859592eWbWze','8035sUGkHi','record','291880sClqnx','openSelector','value','dispatchEvent','fieldMap','codes','firstUpdated'];a0_0x1a9f=function(){return _0x1072d9;};return a0_0x1a9f();}import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x3a08d7(0xa1)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x3a08d7(0xab)](){const _0x354efa=a0_0x3a08d7;let _0x48c05b='';if(this[_0x354efa(0x99)][_0x354efa(0x8f)]&&this[_0x354efa(0x99)][_0x354efa(0x8f)][_0x354efa(0xad)]){if(this[_0x354efa(0x99)]['record']['options'][_0x354efa(0x98)]){let _0x43f600=this[_0x354efa(0x99)][_0x354efa(0x8f)][_0x354efa(0xad)][_0x354efa(0x95)]||[];if(this['value']&&this['value']['length']>0x0){let _0x26b836=_0x43f600[_0x354efa(0x97)](_0x2182cd=>_0x2182cd[_0x354efa(0x92)]===this['value']);_0x48c05b=_0x26b836&&_0x26b836['length']>0x0?_0x26b836[0x0][_0x354efa(0xa8)]:'';}}else _0x48c05b=this[_0x354efa(0x92)];}else _0x48c05b='';return html`
2
+ ${_0x48c05b?html` <span tabindex="0" style="flex:1">${_0x48c05b}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x3a08d7(0x96)](){const _0x14f754=a0_0x3a08d7;super[_0x14f754(0x96)]();}[a0_0x3a08d7(0xa3)](_0x3a6efe){const _0x2d4162=a0_0x3a08d7;_0x3a6efe['stopPropagation'](),this[_0x2d4162(0x91)]();}[a0_0x3a08d7(0xb0)](_0x5b44ca){const _0x4c8a61=a0_0x3a08d7;_0x4c8a61(0xb1)==_0x5b44ca[_0x4c8a61(0x9e)]&&(_0x5b44ca[_0x4c8a61(0xb4)](),this[_0x4c8a61(0x91)]());}[a0_0x3a08d7(0x91)](){const _0x279986=a0_0x3a08d7;this[_0x279986(0xae)]&&delete this[_0x279986(0xae)];var {selectorName:_0x49b229=TermsUtil['tTitle'](_0x279986(0xa2))}=this['column']['record'][_0x279986(0xad)]||{},_0x5c2941=html`
4
4
  <meta-object-selector-popup
5
- .value=${this['value']}
6
- .options=${this[_0xb18d9e(0x113)][_0xb18d9e(0x125)]['options']}
7
- .confirmCallback=${(_0x327a9b=>{const _0x41b393=_0xb18d9e;let _0x382ab5=this[_0x41b393(0x113)][_0x41b393(0x125)][_0x41b393(0x12a)][_0x41b393(0x109)],_0x3d2a79=this['column']['record']['options'][_0x41b393(0x128)],_0xd83451=this['column']['record'][_0x41b393(0x12a)][_0x41b393(0x12b)]||{};if(this['column'][_0x41b393(0x125)][_0x41b393(0x12a)][_0x41b393(0x116)]||(this[_0x41b393(0x113)]['record'][_0x41b393(0x12a)]['codes']=[]),_0x327a9b){let _0x3156fd=this[_0x41b393(0x113)]['record'][_0x41b393(0x12a)]['codes'][_0x41b393(0x10d)](_0x5e2d87=>_0x5e2d87[_0x41b393(0x10b)]==_0x327a9b[_0x382ab5]);_0x3156fd&&0x0!=_0x3156fd['length']||this[_0x41b393(0x113)][_0x41b393(0x125)]['options'][_0x41b393(0x116)][_0x41b393(0x10a)]({'value':_0x327a9b[_0x382ab5],'display':_0x327a9b[_0x3d2a79]});}this[_0x41b393(0x124)](new CustomEvent(_0x41b393(0x11a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x41b393(0x10b)],'after':_0x327a9b?_0x327a9b[_0x382ab5]:null,'record':this[_0x41b393(0x125)],'column':this[_0x41b393(0x113)],'row':this['row']}})),Object['keys'](_0xd83451)[_0x41b393(0x110)](_0x152fda=>{const _0x6e6275=_0x41b393;this[_0x6e6275(0x124)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0xd83451[_0x152fda]],'after':_0x327a9b?_0x327a9b[_0x152fda]:null,'record':this[_0x6e6275(0x125)],'column':{'name':_0xd83451[_0x152fda]},'row':this[_0x6e6275(0x11c)]}}));});})[_0xb18d9e(0x114)](this)}
5
+ .value=${this[_0x279986(0x92)]}
6
+ .options=${this[_0x279986(0x99)][_0x279986(0x8f)]['options']}
7
+ .confirmCallback=${(_0x458a81=>{const _0x5e03a6=_0x279986;let _0x450011=this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0xa7)],_0x29296f=this['column'][_0x5e03a6(0x8f)]['options']['dispField'],_0x2fac7c=this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x94)]||{};if(this[_0x5e03a6(0x99)]['record'][_0x5e03a6(0xad)][_0x5e03a6(0x95)]||(this['column'][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x95)]=[]),_0x458a81){let _0x3ee785=this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x95)][_0x5e03a6(0x97)](_0x820b98=>_0x820b98[_0x5e03a6(0x92)]==_0x458a81[_0x450011]);_0x3ee785&&0x0!=_0x3ee785[_0x5e03a6(0xaf)]||this[_0x5e03a6(0x99)][_0x5e03a6(0x8f)][_0x5e03a6(0xad)][_0x5e03a6(0x95)][_0x5e03a6(0x9f)]({'value':_0x458a81[_0x450011],'display':_0x458a81[_0x29296f]});}this[_0x5e03a6(0x93)](new CustomEvent(_0x5e03a6(0x9a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x5e03a6(0x92)],'after':_0x458a81?_0x458a81[_0x450011]:null,'record':this[_0x5e03a6(0x8f)],'column':this[_0x5e03a6(0x99)],'row':this[_0x5e03a6(0xa4)]}})),Object[_0x5e03a6(0xb6)](_0x2fac7c)['forEach'](_0x446af9=>{const _0x1c0abe=_0x5e03a6;this[_0x1c0abe(0x93)](new CustomEvent(_0x1c0abe(0x9a),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x1c0abe(0x8f)][_0x2fac7c[_0x446af9]],'after':_0x458a81?_0x458a81[_0x446af9]:null,'record':this['record'],'column':{'name':_0x2fac7c[_0x446af9]},'row':this['row']}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this['popup']=openPopup(_0x293043,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0xb18d9e(0x10e)](_0x2e0321)});}}customElements['define'](a0_0x2af477(0x111),GristEditorMetaCodeSelector);function a0_0x16ee(){const _0x3853a3=['popup','row','1171168kTKZsi','788709LvYyaH','_onkeydown','length','openSelector','select_item','36903AODXSZ','dispatchEvent','record','tTitle','editorTemplate','dispField','5ioHRYk','options','fieldMap','_onclick','codeField','push','value','properties','filter','tMenu','3488910PrTjcv','forEach','grist-editor-meta-code-selector','1411408DarqMu','column','bind','firstUpdated','codes','12329416WyuBcE','2736965bldfUK','stopPropagation','field-change'];a0_0x16ee=function(){return _0x3853a3;};return a0_0x16ee();}
9
+ `;this[_0x279986(0xae)]=openPopup(_0x5c2941,{'backdrop':!0x0,'size':_0x279986(0xa0),'title':TermsUtil[_0x279986(0x9d)](_0x49b229)});}}customElements[a0_0x3a08d7(0xac)](a0_0x3a08d7(0xb2),GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- var a0_0x4c16a9=a0_0x513c;(function(_0x2d4902,_0x230e03){var _0x4f8f51=a0_0x513c,_0x46956b=_0x2d4902();while(!![]){try{var _0x4f5cf9=-parseInt(_0x4f8f51(0xc8))/0x1+parseInt(_0x4f8f51(0xd4))/0x2+parseInt(_0x4f8f51(0xc1))/0x3+-parseInt(_0x4f8f51(0xd5))/0x4+parseInt(_0x4f8f51(0xc0))/0x5*(parseInt(_0x4f8f51(0xbc))/0x6)+parseInt(_0x4f8f51(0xc9))/0x7+parseInt(_0x4f8f51(0xc2))/0x8*(-parseInt(_0x4f8f51(0xd7))/0x9);if(_0x4f5cf9===_0x230e03)break;else _0x46956b['push'](_0x46956b['shift']());}catch(_0x34ab2b){_0x46956b['push'](_0x46956b['shift']());}}}(a0_0x1e14,0x2e3da));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x1e14(){var _0x1fe6d1=['1902qsmhWc','column','define','stopPropagation','5585fxHcyx','866268uImvBl','24TQWcKT','grist-editor-meta-object-selector','keys','bind','popup','dispatchEvent','113205FcAprG','2374463LljfHg','select_item','forEach','options','Enter','large','_onkeydown','fieldMap','firstUpdated','openSelector','tMenu','276274miwILr','879408cCrIha','tTitle','1793196wVFTuM','field-change','value','record','_onclick','row','properties'];a0_0x1e14=function(){return _0x1fe6d1;};return a0_0x1e14();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x4c16a9(0xbb)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get['editorTemplate'](){var _0x28debf=a0_0x4c16a9;let _0x487a27='';return this[_0x28debf(0xd9)]&&this[_0x28debf(0xbd)][_0x28debf(0xb8)][_0x28debf(0xcc)]&&(_0x487a27=this[_0x28debf(0xd9)][this[_0x28debf(0xbd)][_0x28debf(0xb8)]['options']['nameField']]),html`
2
- ${this[_0x28debf(0xd9)]?html` <span tabindex="0" style="flex:1">${_0x487a27}</span> `:html`<span tabindex="0">${_0x487a27}</span>`}
3
- `;}async[a0_0x4c16a9(0xd1)](){var _0x1c1e53=a0_0x4c16a9;super[_0x1c1e53(0xd1)]();}[a0_0x4c16a9(0xb9)](_0xaf26c9){var _0x2bf374=a0_0x4c16a9;_0xaf26c9[_0x2bf374(0xbf)](),this[_0x2bf374(0xd2)]();}[a0_0x4c16a9(0xcf)](_0xe9177a){var _0x2476f1=a0_0x4c16a9;_0x2476f1(0xcd)==_0xe9177a['key']&&(_0xe9177a[_0x2476f1(0xbf)](),this[_0x2476f1(0xd2)]());}[a0_0x4c16a9(0xd2)](){var _0x5c1323=a0_0x4c16a9;this[_0x5c1323(0xc6)]&&delete this[_0x5c1323(0xc6)];var {selectorName:_0x18e7ab=TermsUtil[_0x5c1323(0xd6)](_0x5c1323(0xca))}=this[_0x5c1323(0xbd)]['record']['options']||{},_0xf37782=html`
1
+ var a0_0x136982=a0_0x3e44;(function(_0x47f71a,_0x30ef06){var _0x2cbaf6=a0_0x3e44,_0x4e96ed=_0x47f71a();while(!![]){try{var _0xa1a3dc=-parseInt(_0x2cbaf6(0x168))/0x1*(-parseInt(_0x2cbaf6(0x173))/0x2)+-parseInt(_0x2cbaf6(0x15b))/0x3+-parseInt(_0x2cbaf6(0x15a))/0x4+-parseInt(_0x2cbaf6(0x162))/0x5*(parseInt(_0x2cbaf6(0x177))/0x6)+-parseInt(_0x2cbaf6(0x167))/0x7*(parseInt(_0x2cbaf6(0x16f))/0x8)+parseInt(_0x2cbaf6(0x15f))/0x9+-parseInt(_0x2cbaf6(0x172))/0xa*(-parseInt(_0x2cbaf6(0x174))/0xb);if(_0xa1a3dc===_0x30ef06)break;else _0x4e96ed['push'](_0x4e96ed['shift']());}catch(_0x4158be){_0x4e96ed['push'](_0x4e96ed['shift']());}}}(a0_0x6531,0x53f78));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x6531(){var _0x11e34a=['popup','fieldMap','define','tMenu','Enter','56432MYIRLI','properties','keys','10zqizvi','22rtkzFF','5330006LcntUk','value','row','79902CmGBiB','_onkeydown','grist-editor-meta-object-selector','bind','tTitle','editorTemplate','select_item','2254164DchThV','760497VWbLLO','options','openSelector','firstUpdated','5198049ylGsfW','stopPropagation','field-change','55NifKXf','record','column','_onclick','dispatchEvent','119sLFtVP','33206ncTWra','nameField'];a0_0x6531=function(){return _0x11e34a;};return a0_0x6531();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';function a0_0x3e44(_0x4a2d8d,_0x4822f4){var _0x653143=a0_0x6531();return a0_0x3e44=function(_0x3e44e0,_0x446d03){_0x3e44e0=_0x3e44e0-0x155;var _0xd2cc81=_0x653143[_0x3e44e0];return _0xd2cc81;},a0_0x3e44(_0x4a2d8d,_0x4822f4);}import'../../selector/meta-object-selector-popup';export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x136982(0x170)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x136982(0x158)](){var _0x44a3cf=a0_0x136982;let _0x4e194b='';return this['value']&&this[_0x44a3cf(0x164)]['record'][_0x44a3cf(0x15c)]&&(_0x4e194b=this[_0x44a3cf(0x175)][this[_0x44a3cf(0x164)][_0x44a3cf(0x163)][_0x44a3cf(0x15c)][_0x44a3cf(0x169)]]),html`
2
+ ${this[_0x44a3cf(0x175)]?html` <span tabindex="0" style="flex:1">${_0x4e194b}</span> `:html`<span tabindex="0">${_0x4e194b}</span>`}
3
+ `;}async[a0_0x136982(0x15e)](){var _0x2215bb=a0_0x136982;super[_0x2215bb(0x15e)]();}[a0_0x136982(0x165)](_0x15b50c){var _0x88c768=a0_0x136982;_0x15b50c[_0x88c768(0x160)](),this[_0x88c768(0x15d)]();}[a0_0x136982(0x178)](_0x59f89f){var _0x2a2978=a0_0x136982;_0x2a2978(0x16e)==_0x59f89f['key']&&(_0x59f89f[_0x2a2978(0x160)](),this['openSelector']());}['openSelector'](){var _0x15017f=a0_0x136982;this[_0x15017f(0x16a)]&&delete this['popup'];var {selectorName:_0x2a40ab=TermsUtil[_0x15017f(0x157)](_0x15017f(0x159))}=this[_0x15017f(0x164)][_0x15017f(0x163)][_0x15017f(0x15c)]||{},_0x5e65d2=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x5c1323(0xd9)]}
6
- .options=${this[_0x5c1323(0xbd)][_0x5c1323(0xb8)][_0x5c1323(0xcc)]}
7
- .confirmCallback=${(_0x3c5ad5=>{var _0x39e6e0=_0x5c1323;let _0x5bbaba=this[_0x39e6e0(0xbd)]['record'][_0x39e6e0(0xcc)][_0x39e6e0(0xd0)]||{};this[_0x39e6e0(0xc7)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x39e6e0(0xd9)],'after':_0x3c5ad5||null,'record':this[_0x39e6e0(0xb8)],'column':this[_0x39e6e0(0xbd)],'row':this[_0x39e6e0(0xba)]}})),Object[_0x39e6e0(0xc4)](_0x5bbaba)[_0x39e6e0(0xcb)](_0x35b110=>{var _0xdcfc19=_0x39e6e0;this[_0xdcfc19(0xc7)](new CustomEvent(_0xdcfc19(0xd8),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x5bbaba[_0x35b110]],'after':_0x3c5ad5?_0x3c5ad5[_0x35b110]:null,'record':this['record'],'column':{'name':_0x5bbaba[_0x35b110]},'row':this['row']}}));});})[_0x5c1323(0xc5)](this)}
5
+ .value=${this['value']}
6
+ .options=${this[_0x15017f(0x164)][_0x15017f(0x163)]['options']}
7
+ .confirmCallback=${(_0x50f02a=>{var _0x23d2ce=_0x15017f;let _0x2cca5d=this[_0x23d2ce(0x164)]['record']['options'][_0x23d2ce(0x16b)]||{};this[_0x23d2ce(0x166)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x23d2ce(0x175)],'after':_0x50f02a||null,'record':this[_0x23d2ce(0x163)],'column':this['column'],'row':this['row']}})),Object[_0x23d2ce(0x171)](_0x2cca5d)['forEach'](_0x3532c3=>{var _0x2d823b=_0x23d2ce;this[_0x2d823b(0x166)](new CustomEvent(_0x2d823b(0x161),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['record'][_0x2cca5d[_0x3532c3]],'after':_0x50f02a?_0x50f02a[_0x3532c3]:null,'record':this[_0x2d823b(0x163)],'column':{'name':_0x2cca5d[_0x3532c3]},'row':this[_0x2d823b(0x176)]}}));});})[_0x15017f(0x156)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x5c1323(0xc6)]=openPopup(_0xf37782,{'backdrop':!0x0,'size':_0x5c1323(0xce),'title':TermsUtil[_0x5c1323(0xd3)](_0x18e7ab)});}}function a0_0x513c(_0xc671cb,_0xf26dc3){var _0x1e14aa=a0_0x1e14();return a0_0x513c=function(_0x513cfe,_0x14ba40){_0x513cfe=_0x513cfe-0xb8;var _0x3a6003=_0x1e14aa[_0x513cfe];return _0x3a6003;},a0_0x513c(_0xc671cb,_0xf26dc3);}customElements[a0_0x4c16a9(0xbe)](a0_0x4c16a9(0xc3),GristEditorMetaObjectSelector);
9
+ `;this['popup']=openPopup(_0x5e65d2,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x15017f(0x16d)](_0x2a40ab)});}}customElements[a0_0x136982(0x16c)](a0_0x136982(0x155),GristEditorMetaObjectSelector);
@@ -1 +1 @@
1
- (function(_0x186419,_0x4cb089){const _0x1c71e3=a0_0x1a48,_0x1b0ce1=_0x186419();while(!![]){try{const _0x5ef070=-parseInt(_0x1c71e3(0x14f))/0x1+parseInt(_0x1c71e3(0x14b))/0x2+-parseInt(_0x1c71e3(0x15d))/0x3+-parseInt(_0x1c71e3(0x153))/0x4*(-parseInt(_0x1c71e3(0x158))/0x5)+parseInt(_0x1c71e3(0x157))/0x6*(parseInt(_0x1c71e3(0x15c))/0x7)+parseInt(_0x1c71e3(0x156))/0x8*(-parseInt(_0x1c71e3(0x15e))/0x9)+parseInt(_0x1c71e3(0x15f))/0xa*(parseInt(_0x1c71e3(0x159))/0xb);if(_0x5ef070===_0x4cb089)break;else _0x1b0ce1['push'](_0x1b0ce1['shift']());}catch(_0x4a9630){_0x1b0ce1['push'](_0x1b0ce1['shift']());}}}(a0_0x4f24,0x5a27b));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x4f24(){const _0x3ebb8b=['textContent','target','503098xkuLsr','setAttribute','dispField','filter','1376PPYPBZ','data-tooltip','record','17944lkwJUD','1011294qCziXT','4090uTLZzB','11WfScqL','display','removeAttribute','7PSndaC','496218TqkNCY','1737NvuvNb','9795530lFECEq','codes','82368dMGtNW','options'];a0_0x4f24=function(){return _0x3ebb8b;};return a0_0x4f24();}function onmouseover(_0x112604){const _0x53fcbe=a0_0x1a48,_0x4b5966=_0x112604['target'];detectOverflow(_0x4b5966)&&_0x4b5966[_0x53fcbe(0x150)](_0x53fcbe(0x154),_0x4b5966[_0x53fcbe(0x14d)]);}function onmouseout(_0x5ca254){const _0x3913d3=a0_0x1a48;_0x5ca254[_0x3913d3(0x14e)][_0x3913d3(0x15b)](_0x3913d3(0x154));}function a0_0x1a48(_0x4f107b,_0x1560dc){const _0x4f24c9=a0_0x4f24();return a0_0x1a48=function(_0x1a481b,_0x23788a){_0x1a481b=_0x1a481b-0x14a;let _0x51bf72=_0x4f24c9[_0x1a481b];return _0x51bf72;},a0_0x1a48(_0x4f107b,_0x1560dc);}export const GristRendererMetaCodeSelector=(_0x29d7ec,_0x5a2312,_0x30fa68,_0x397f21,_0x1d3b99)=>{const _0x85d8d5=a0_0x1a48;let _0x13f938='';if(_0x5a2312['record']&&_0x5a2312['record'][_0x85d8d5(0x14c)]){if(_0x5a2312[_0x85d8d5(0x155)][_0x85d8d5(0x14c)][_0x85d8d5(0x151)]){if(_0x5a2312['record']['options'][_0x85d8d5(0x14a)]||(_0x5a2312[_0x85d8d5(0x155)][_0x85d8d5(0x14c)][_0x85d8d5(0x14a)]=[]),_0x29d7ec&&_0x29d7ec['length']>0x0){let _0x12f140=_0x5a2312[_0x85d8d5(0x155)][_0x85d8d5(0x14c)]['codes'][_0x85d8d5(0x152)](_0x51cca9=>_0x51cca9['value']===_0x29d7ec);_0x13f938=_0x12f140&&_0x12f140['length']>0x0?_0x12f140[0x0][_0x85d8d5(0x15a)]:_0x29d7ec;}}else _0x13f938=_0x29d7ec;}else _0x13f938='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x13f938}</span>`;};
1
+ (function(_0x42b69a,_0x5b1021){const _0x2f035d=a0_0x8ebb,_0x4cfae1=_0x42b69a();while(!![]){try{const _0x31bf07=parseInt(_0x2f035d(0xbd))/0x1+parseInt(_0x2f035d(0xc1))/0x2*(parseInt(_0x2f035d(0xc3))/0x3)+-parseInt(_0x2f035d(0xc0))/0x4*(parseInt(_0x2f035d(0xb7))/0x5)+parseInt(_0x2f035d(0xb6))/0x6*(-parseInt(_0x2f035d(0xbf))/0x7)+-parseInt(_0x2f035d(0xb8))/0x8+parseInt(_0x2f035d(0xc4))/0x9*(parseInt(_0x2f035d(0xbc))/0xa)+parseInt(_0x2f035d(0xb0))/0xb;if(_0x31bf07===_0x5b1021)break;else _0x4cfae1['push'](_0x4cfae1['shift']());}catch(_0x3d37e9){_0x4cfae1['push'](_0x4cfae1['shift']());}}}(a0_0x4b3b,0x1b4f7));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x55078d){const _0x5b52a7=a0_0x8ebb,_0x383d92=_0x55078d['target'];detectOverflow(_0x383d92)&&_0x383d92[_0x5b52a7(0xb3)](_0x5b52a7(0xb2),_0x383d92[_0x5b52a7(0xbe)]);}function onmouseout(_0x4ee2ca){const _0x535046=a0_0x8ebb;_0x4ee2ca[_0x535046(0xb9)]['removeAttribute'](_0x535046(0xb2));}function a0_0x4b3b(){const _0x2054c1=['data-tooltip','setAttribute','length','display','548508Uhkwrb','10ImWgrZ','742360WTbOgI','target','record','options','30890wqqkyK','114331oYJWWS','textContent','7aVNvbM','335000byMnNn','25648iciVWx','filter','6KuovJa','531RIeSYE','codes','1554806dtzKNZ','dispField'];a0_0x4b3b=function(){return _0x2054c1;};return a0_0x4b3b();}function a0_0x8ebb(_0x5eeaba,_0x210cad){const _0x4b3ba3=a0_0x4b3b();return a0_0x8ebb=function(_0x8ebbd9,_0x2ab5f5){_0x8ebbd9=_0x8ebbd9-0xb0;let _0x44c182=_0x4b3ba3[_0x8ebbd9];return _0x44c182;},a0_0x8ebb(_0x5eeaba,_0x210cad);}export const GristRendererMetaCodeSelector=(_0xdcbe5b,_0x36f22e,_0x4b4b47,_0x201cca,_0x12e111)=>{const _0x440547=a0_0x8ebb;let _0x393d6c='';if(_0x36f22e[_0x440547(0xba)]&&_0x36f22e[_0x440547(0xba)][_0x440547(0xbb)]){if(_0x36f22e['record'][_0x440547(0xbb)][_0x440547(0xb1)]){if(_0x36f22e[_0x440547(0xba)][_0x440547(0xbb)]['codes']||(_0x36f22e[_0x440547(0xba)][_0x440547(0xbb)]['codes']=[]),_0xdcbe5b&&_0xdcbe5b[_0x440547(0xb4)]>0x0){let _0x4131b6=_0x36f22e['record'][_0x440547(0xbb)][_0x440547(0xc5)][_0x440547(0xc2)](_0x436f2c=>_0x436f2c['value']===_0xdcbe5b);_0x393d6c=_0x4131b6&&_0x4131b6['length']>0x0?_0x4131b6[0x0][_0x440547(0xb5)]:_0xdcbe5b;}}else _0x393d6c=_0xdcbe5b;}else _0x393d6c='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x393d6c}</span>`;};
@@ -1 +1 @@
1
- (function(_0x2f8215,_0x1d303e){const _0xf0668f=a0_0x42f3,_0x524499=_0x2f8215();while(!![]){try{const _0x22ee98=-parseInt(_0xf0668f(0x118))/0x1+-parseInt(_0xf0668f(0x114))/0x2+-parseInt(_0xf0668f(0x11e))/0x3*(-parseInt(_0xf0668f(0x116))/0x4)+-parseInt(_0xf0668f(0x120))/0x5*(parseInt(_0xf0668f(0x11a))/0x6)+-parseInt(_0xf0668f(0x117))/0x7*(-parseInt(_0xf0668f(0x11d))/0x8)+parseInt(_0xf0668f(0x123))/0x9*(-parseInt(_0xf0668f(0x112))/0xa)+parseInt(_0xf0668f(0x115))/0xb;if(_0x22ee98===_0x1d303e)break;else _0x524499['push'](_0x524499['shift']());}catch(_0x44d745){_0x524499['push'](_0x524499['shift']());}}}(a0_0x5a67,0xb81fc));function a0_0x5a67(){const _0x5356d2=['1128581knSoeW','record','6zRvVAF','nameField','target','1369352RjfZmX','80673GhGRrG','data-tooltip','6736115ETIXcd','removeAttribute','options','18hGJuOC','3871930XVTwvg','textContent','49288hGrFzJ','23852081WzKgFj','124OjCaPE','42qDQXPr'];a0_0x5a67=function(){return _0x5356d2;};return a0_0x5a67();}function a0_0x42f3(_0x42b396,_0x18ca71){const _0x5a677b=a0_0x5a67();return a0_0x42f3=function(_0x42f325,_0x4a324b){_0x42f325=_0x42f325-0x112;let _0xd2c39=_0x5a677b[_0x42f325];return _0xd2c39;},a0_0x42f3(_0x42b396,_0x18ca71);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x175cbd){const _0x1464fe=a0_0x42f3,_0x4f8b06=_0x175cbd['target'];detectOverflow(_0x4f8b06)&&_0x4f8b06['setAttribute']('data-tooltip',_0x4f8b06[_0x1464fe(0x113)]);}function onmouseout(_0x2451cf){const _0x52c019=a0_0x42f3;_0x2451cf[_0x52c019(0x11c)][_0x52c019(0x121)](_0x52c019(0x11f));}export const GristRendererMetaObjectSelector=(_0xfa3b31,_0x93abaa,_0x188311,_0x1e7e18,_0x1c4bba)=>{const _0x421185=a0_0x42f3;let _0xd5b8a8='';return _0xfa3b31&&_0x93abaa[_0x421185(0x119)][_0x421185(0x122)]&&(_0xd5b8a8=_0xfa3b31[_0x93abaa[_0x421185(0x119)][_0x421185(0x122)][_0x421185(0x11b)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0xd5b8a8}</span>`;};
1
+ (function(_0x3332a9,_0x252a89){const _0x4fe7bf=a0_0x2f74,_0x1acacc=_0x3332a9();while(!![]){try{const _0x10d394=-parseInt(_0x4fe7bf(0xa2))/0x1+parseInt(_0x4fe7bf(0x97))/0x2+parseInt(_0x4fe7bf(0x94))/0x3+-parseInt(_0x4fe7bf(0x9a))/0x4*(-parseInt(_0x4fe7bf(0x9e))/0x5)+parseInt(_0x4fe7bf(0x9c))/0x6*(parseInt(_0x4fe7bf(0x95))/0x7)+-parseInt(_0x4fe7bf(0x9d))/0x8*(-parseInt(_0x4fe7bf(0x92))/0x9)+-parseInt(_0x4fe7bf(0xa0))/0xa;if(_0x10d394===_0x252a89)break;else _0x1acacc['push'](_0x1acacc['shift']());}catch(_0x1c4253){_0x1acacc['push'](_0x1acacc['shift']());}}}(a0_0x1b4c,0xbf3ec));import{html}from'lit';function a0_0x2f74(_0x4c0bfa,_0x18bd08){const _0x1b4cf9=a0_0x1b4c();return a0_0x2f74=function(_0x2f74ba,_0x488a48){_0x2f74ba=_0x2f74ba-0x92;let _0x6d048f=_0x1b4cf9[_0x2f74ba];return _0x6d048f;},a0_0x2f74(_0x4c0bfa,_0x18bd08);}import{detectOverflow}from'@operato/utils';function onmouseover(_0x43d5d3){const _0x27fe0e=a0_0x2f74,_0x30012c=_0x43d5d3[_0x27fe0e(0x9f)];detectOverflow(_0x30012c)&&_0x30012c[_0x27fe0e(0x98)](_0x27fe0e(0x99),_0x30012c[_0x27fe0e(0x96)]);}function a0_0x1b4c(){const _0x22f734=['7GldFIp','textContent','257858qffqaw','setAttribute','data-tooltip','59208frAafH','record','665082bQuyxd','3512kakoqO','205NbzmTW','target','8289430qreARJ','options','1103793luOGVZ','19449dKkgKk','removeAttribute','2762217IfQcKm'];a0_0x1b4c=function(){return _0x22f734;};return a0_0x1b4c();}function onmouseout(_0x7002d){const _0x4d07c0=a0_0x2f74;_0x7002d[_0x4d07c0(0x9f)][_0x4d07c0(0x93)](_0x4d07c0(0x99));}export const GristRendererMetaObjectSelector=(_0x12342f,_0x2071aa,_0x194393,_0x57fc40,_0x1be4e9)=>{const _0x3ce5c9=a0_0x2f74;let _0x53cf3e='';return _0x12342f&&_0x2071aa[_0x3ce5c9(0x9b)][_0x3ce5c9(0xa1)]&&(_0x53cf3e=_0x12342f[_0x2071aa[_0x3ce5c9(0x9b)][_0x3ce5c9(0xa1)]['nameField']]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x53cf3e}</span>`;};
@@ -1,4 +1,4 @@
1
- const a0_0x42c108=a0_0x1fa7;(function(_0x19dc3f,_0x51c7a1){const _0x40c450=a0_0x1fa7,_0x123da6=_0x19dc3f();while(!![]){try{const _0x369f6a=parseInt(_0x40c450(0x113))/0x1*(parseInt(_0x40c450(0x10f))/0x2)+-parseInt(_0x40c450(0xef))/0x3*(-parseInt(_0x40c450(0x10b))/0x4)+parseInt(_0x40c450(0x118))/0x5+parseInt(_0x40c450(0x127))/0x6+-parseInt(_0x40c450(0x100))/0x7*(parseInt(_0x40c450(0x109))/0x8)+-parseInt(_0x40c450(0xf6))/0x9+parseInt(_0x40c450(0x123))/0xa*(-parseInt(_0x40c450(0x12b))/0xb);if(_0x369f6a===_0x51c7a1)break;else _0x123da6['push'](_0x123da6['shift']());}catch(_0x1a75bf){_0x123da6['push'](_0x123da6['shift']());}}}(a0_0x1b01,0xbefa7));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';function a0_0x1fa7(_0x469dca,_0x5a4abd){const _0x1b018c=a0_0x1b01();return a0_0x1fa7=function(_0x1fa7b6,_0x19ecfe){_0x1fa7b6=_0x1fa7b6-0xeb;let _0x1e8645=_0x1b018c[_0x1fa7b6];return _0x1e8645;},a0_0x1fa7(_0x469dca,_0x5a4abd);}import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x42c108(0x11f)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0xfb152e=a0_0x4913;(function(_0x56f30e,_0x56ade6){const _0x304579=a0_0x4913,_0x3d243d=_0x56f30e();while(!![]){try{const _0x4be2ff=-parseInt(_0x304579(0x199))/0x1*(parseInt(_0x304579(0x184))/0x2)+-parseInt(_0x304579(0x175))/0x3*(-parseInt(_0x304579(0x198))/0x4)+-parseInt(_0x304579(0x16c))/0x5+-parseInt(_0x304579(0x192))/0x6+-parseInt(_0x304579(0x1be))/0x7*(-parseInt(_0x304579(0x1a3))/0x8)+parseInt(_0x304579(0x1a5))/0x9+parseInt(_0x304579(0x1a0))/0xa;if(_0x4be2ff===_0x56ade6)break;else _0x3d243d['push'](_0x3d243d['shift']());}catch(_0x5b2c1b){_0x3d243d['push'](_0x3d243d['shift']());}}}(a0_0xed61,0xdf898));import{css,html,LitElement}from'lit';function a0_0xed61(){const _0x118008=['clickSelect','getParams','filters','14CloBeY','gridConfig','options','handlers','record','push','getCodeByEntity','rows','9146890DRypSo','GRID','meta-code-selector','after_set_fields','meta-object-selector','selectRecord','empty','entity','filter','41511OhLuUE','info','type','object','scenario','grist','keys','NOTHING_SELECTED','firstUpdated','search','meta-','showToast','search_hidden_fields','getGristColumnConfig2','render','60934iFVdCz','tText','menu_template','getSelectColumns','values','startsWith','left','tButton','fetchHandler','meta-object-selector-popup','basicArgs','sorters','forEach','getGristSelectableConfig','10037364CeVVDo','align','gql','bind','appendable','select-row-toggle','28zvqiSV','31qbBtmO','codeField','queryName','includes','resource-code-selector','string','name','40370350MgqVpa','isArray','resource-object','2467488gZDZRw','confirmCallback','5504319grRfrh','dispField','getGristMetaObjectOptions','clickEmpty','getGristGuttersConfig','connectedCallback','length','select','styles','searchByPagination','code','getCodeSelectorData','filterFields','codes','columns','#ox-grist','clickCancel','args','LIST','query','nameField','querySelector'];a0_0xed61=function(){return _0x118008;};return a0_0xed61();}import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x4913(_0x58e81e,_0x3ef4ec){const _0xed6184=a0_0xed61();return a0_0x4913=function(_0x491363,_0x2017d1){_0x491363=_0x491363-0x169;let _0x296dc8=_0xed6184[_0x491363];return _0x296dc8;},a0_0x4913(_0x58e81e,_0x3ef4ec);}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_0xfb152e(0x1ad)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x42c108=a0_0x1fa7;(function(_0x19dc3f,_0x51c7a1){const _0x40c450=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async['connectedCallback'](){const _0x19ab0c=a0_0x42c108;this[_0x19ab0c(0x13b)]=this[_0x19ab0c(0xf1)]['filters']?this[_0x19ab0c(0xf1)][_0x19ab0c(0x136)]:this[_0x19ab0c(0xf5)]&&this[_0x19ab0c(0xf5)][_0x19ab0c(0x136)]?this['basicArgs'][_0x19ab0c(0x136)]:[];let _0x3e5db5=this[_0x19ab0c(0xf1)][_0x19ab0c(0x131)]?this['options'][_0x19ab0c(0x131)]:this['basicArgs']&&this[_0x19ab0c(0xf5)]['sorters']?this[_0x19ab0c(0xf5)]['sorters']:[],_0x5a736e=this[_0x19ab0c(0xf1)][_0x19ab0c(0xec)]?this['options'][_0x19ab0c(0xec)]:this[_0x19ab0c(0xf1)][_0x19ab0c(0x10c)]?.[_0x19ab0c(0x126)]&&this[_0x19ab0c(0xf1)][_0x19ab0c(0x10c)]?.['search'][_0x19ab0c(0x117)]>0x0?this[_0x19ab0c(0xf1)][_0x19ab0c(0x10c)][_0x19ab0c(0x126)]:[],_0x158152=this[_0x19ab0c(0xf1)][_0x19ab0c(0x115)];if(!_0x5a736e||0x0==_0x5a736e[_0x19ab0c(0x117)]){let _0x402a2b;this['options']['codeField']&&(_0x402a2b=this[_0x19ab0c(0xf1)]['codeField']),this[_0x19ab0c(0xf1)]['nameField']&&(_0x402a2b=this[_0x19ab0c(0xf1)][_0x19ab0c(0x10d)]),_0x402a2b&&_0x5a736e[_0x19ab0c(0x12a)]({'name':_0x402a2b,'operator':'eq'});}let _0x4c0e24=[...MetaApi[_0x19ab0c(0x106)](!0x0,!0x1)];if(_0x158152&&_0x158152['length']>0x0)for(let _0x4a6e3c=0x0;_0x4a6e3c<_0x158152[_0x19ab0c(0x117)];_0x4a6e3c++){let {type:_0x24f40c=_0x19ab0c(0x108),name:_0x3ff126,hidden:_0x425ac3=!0x1,record:_0x4f6735={'align':_0x19ab0c(0x135)},header:_0x4845cd,sortable:_0x15cd0b=!0x1,width:_0x38bf5d=0x87,options:_0x341090,select_opt:_0x253741,object_opt:_0x3f7945}=_0x158152[_0x4a6e3c];if(_0x253741&&(_0x341090=_0x253741),_0x3f7945&&(_0x341090=_0x3f7945),[_0x19ab0c(0x13f),_0x19ab0c(0xf2)][_0x19ab0c(0xfb)](_0x24f40c)?_0x24f40c='meta-object-selector':[_0x19ab0c(0x114)][_0x19ab0c(0xfb)](_0x24f40c)&&(_0x24f40c=_0x19ab0c(0xfe)),'id'==_0x3ff126)_0x4c0e24[_0x19ab0c(0x12a)]({'type':_0x19ab0c(0x108),'name':_0x3ff126,'hidden':!0x0});else{let _0x58e5d3=MetaApi[_0x19ab0c(0x124)](_0x24f40c,_0x3ff126,_0x4845cd||_0x3ff126,_0x4f6735[_0x19ab0c(0x12d)]?_0x4f6735['align']:_0x19ab0c(0x135),!0x1,_0x15cd0b,_0x38bf5d);_0x24f40c['startsWith']('meta-')&&_0x3f7945&&_0x3f7945[_0x19ab0c(0x104)]&&(_0x341090=await MetaUiUtil['getGristMetaObjectOptions'](_0x24f40c,_0x341090)),_0x19ab0c(0x115)===_0x24f40c?Array[_0x19ab0c(0x119)](_0x341090)?_0x58e5d3[_0x19ab0c(0xfc)]['options']=_0x341090:_0x19ab0c(0x137)===_0x341090[_0x19ab0c(0x11c)]?_0x58e5d3[_0x19ab0c(0xfc)][_0x19ab0c(0xf1)]=await ServiceUtil[_0x19ab0c(0xfa)](_0x341090[_0x19ab0c(0x11a)]?_0x341090[_0x19ab0c(0x11a)]:_0x341090[_0x19ab0c(0x110)]):'scenario'===_0x341090[_0x19ab0c(0x11c)]?_0x58e5d3[_0x19ab0c(0xfc)][_0x19ab0c(0xf1)]=await ServiceUtil[_0x19ab0c(0x12f)](_0x341090[_0x19ab0c(0x110)],_0x341090['args']):_0x19ab0c(0x130)===_0x341090[_0x19ab0c(0x11c)]&&(_0x58e5d3[_0x19ab0c(0xfc)][_0x19ab0c(0xf1)]=await ServiceUtil[_0x19ab0c(0x111)](_0x341090[_0x19ab0c(0x139)])):'meta-object-selector'===_0x24f40c?_0x58e5d3[_0x19ab0c(0xfc)][_0x19ab0c(0xf1)]={..._0x341090}:_0x19ab0c(0xfe)==_0x24f40c&&(_0x341090['dispField']&&(_0x341090['codes']=await ServiceUtil['getCodeByEntity'](_0x341090)),_0x58e5d3[_0x19ab0c(0xfc)][_0x19ab0c(0xf1)]={..._0x341090}),_0x58e5d3['hidden']=_0x425ac3,_0x4c0e24[_0x19ab0c(0x12a)](_0x58e5d3);}}else _0x4c0e24['push'](MetaApi['getGristColumnConfig2'](_0x19ab0c(0x108),this[_0x19ab0c(0xf1)][_0x19ab0c(0x103)],this[_0x19ab0c(0xf1)]['codeField'],_0x19ab0c(0x135),!0x1,!0x0,0xb4)),this[_0x19ab0c(0xf1)][_0x19ab0c(0x13a)]&&_0x4c0e24[_0x19ab0c(0x12a)](MetaApi[_0x19ab0c(0x124)](_0x19ab0c(0x108),this[_0x19ab0c(0xf1)][_0x19ab0c(0x13a)],this['options'][_0x19ab0c(0x13a)],'left',!0x1,!0x0,0x12c));_0x4c0e24[_0x19ab0c(0x105)](_0x4c30ef=>{const _0x5e9b93=_0x19ab0c;let _0x5ef7e6=_0x5a736e[_0x5e9b93(0x121)](_0x45632c=>_0x5e9b93(0x108)==typeof _0x45632c?_0x4c30ef['name']==_0x45632c:_0x4c30ef[_0x5e9b93(0x110)]==_0x45632c[_0x5e9b93(0x110)]);_0x5ef7e6&&_0x5ef7e6['length']>0x0&&(_0x4c30ef[_0x5e9b93(0x121)]='string'==typeof _0x5ef7e6[0x0]?_0x5e9b93(0x126):_0x5ef7e6[0x0]);});let _0x354c00={'rows':MetaApi[_0x19ab0c(0xf3)](!0x1),'pagination':MetaApi[_0x19ab0c(0xf0)](),'columns':_0x4c0e24,'sorters':[..._0x3e5db5]};_0x354c00['rows'][_0x19ab0c(0xf7)]={'click':_0x19ab0c(0xeb),'dblclick':(_0x9203be,_0x56b7ca,_0x34545d,_0x5109b9,_0x1baa4c,_0x2545bd)=>{const _0x462fd3=_0x19ab0c;this[_0x462fd3(0xf8)](_0x5109b9);}},_0x354c00[_0x19ab0c(0x11d)][_0x19ab0c(0x116)]=!0x1,this[_0x19ab0c(0x107)]=_0x354c00,await super[_0x19ab0c(0x10a)]();}async['firstUpdated'](){const _0x807e5d=a0_0x42c108;await super[_0x807e5d(0x125)]();}['render'](){const _0x336c70=a0_0x42c108;return html`
21
- <ox-grist id="ox-grist" .config=${this['gridConfig']} .mode=${isMobileDevice()?_0x336c70(0xed):_0x336c70(0x138)} auto-fetch
22
- .fetchHandler=${this['fetchHandler'][_0x336c70(0x11e)](this)}>
20
+ `];async[a0_0xfb152e(0x1aa)](){const _0xff9636=a0_0xfb152e;this[_0xff9636(0x181)]=this[_0xff9636(0x1c0)][_0xff9636(0x1bd)]?this[_0xff9636(0x1c0)][_0xff9636(0x1bd)]:this[_0xff9636(0x18e)]&&this[_0xff9636(0x18e)]['filters']?this[_0xff9636(0x18e)][_0xff9636(0x1bd)]:[];let _0x526f90=this[_0xff9636(0x1c0)][_0xff9636(0x18f)]?this[_0xff9636(0x1c0)][_0xff9636(0x18f)]:this['basicArgs']&&this['basicArgs']['sorters']?this['basicArgs'][_0xff9636(0x18f)]:[],_0x258d2c=this[_0xff9636(0x1c0)][_0xff9636(0x1b1)]?this['options'][_0xff9636(0x1b1)]:this[_0xff9636(0x1c0)]['menu_template']?.[_0xff9636(0x17e)]&&this[_0xff9636(0x1c0)][_0xff9636(0x186)]?.[_0xff9636(0x17e)][_0xff9636(0x1ab)]>0x0?this[_0xff9636(0x1c0)][_0xff9636(0x186)][_0xff9636(0x17e)]:[],_0x20abde=this['options'][_0xff9636(0x1ac)];if(!_0x258d2c||0x0==_0x258d2c[_0xff9636(0x1ab)]){let _0x51d52a;this[_0xff9636(0x1c0)][_0xff9636(0x19a)]&&(_0x51d52a=this[_0xff9636(0x1c0)][_0xff9636(0x19a)]),this[_0xff9636(0x1c0)][_0xff9636(0x1b9)]&&(_0x51d52a=this[_0xff9636(0x1c0)][_0xff9636(0x1b9)]),_0x51d52a&&_0x258d2c[_0xff9636(0x169)]({'name':_0x51d52a,'operator':'eq'});}let _0x478ef5=[...MetaApi[_0xff9636(0x1a9)](!0x0,!0x1)];if(_0x20abde&&_0x20abde[_0xff9636(0x1ab)]>0x0)for(let _0x1ae5de=0x0;_0x1ae5de<_0x20abde[_0xff9636(0x1ab)];_0x1ae5de++){let {type:_0x3182b0=_0xff9636(0x19e),name:_0x4bd535,hidden:_0x5cd64e=!0x1,record:_0x35d478={'align':_0xff9636(0x18a)},header:_0x10cbe0,sortable:_0x4bce34=!0x1,width:_0x360c9d=0x87,options:_0x18aae1,select_opt:_0x196aab,object_opt:_0x3ea399}=_0x20abde[_0x1ae5de];if(_0x196aab&&(_0x18aae1=_0x196aab),_0x3ea399&&(_0x18aae1=_0x3ea399),[_0xff9636(0x1a2),_0xff9636(0x178)][_0xff9636(0x19c)](_0x3182b0)?_0x3182b0='meta-object-selector':[_0xff9636(0x19d)][_0xff9636(0x19c)](_0x3182b0)&&(_0x3182b0=_0xff9636(0x16e)),'id'==_0x4bd535)_0x478ef5[_0xff9636(0x169)]({'type':'string','name':_0x4bd535,'hidden':!0x0});else{let _0x27260a=MetaApi[_0xff9636(0x182)](_0x3182b0,_0x4bd535,_0x10cbe0||_0x4bd535,_0x35d478[_0xff9636(0x193)]?_0x35d478[_0xff9636(0x193)]:_0xff9636(0x18a),!0x1,_0x4bce34,_0x360c9d);_0x3182b0[_0xff9636(0x189)](_0xff9636(0x17f))&&_0x3ea399&&_0x3ea399['menu']&&(_0x18aae1=await MetaUiUtil[_0xff9636(0x1a7)](_0x3182b0,_0x18aae1)),_0xff9636(0x1ac)===_0x3182b0?Array[_0xff9636(0x1a1)](_0x18aae1)?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]=_0x18aae1:_0xff9636(0x1af)===_0x18aae1[_0xff9636(0x177)]?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]=await ServiceUtil[_0xff9636(0x1b0)](_0x18aae1['values']?_0x18aae1[_0xff9636(0x188)]:_0x18aae1['name']):_0xff9636(0x179)===_0x18aae1['type']?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]=await ServiceUtil['getCodeByScenario'](_0x18aae1[_0xff9636(0x19f)],_0x18aae1[_0xff9636(0x1b6)]):_0xff9636(0x173)===_0x18aae1['type']&&(_0x27260a['record']['options']=await ServiceUtil[_0xff9636(0x16a)](_0x18aae1['args'])):_0xff9636(0x170)===_0x3182b0?_0x27260a[_0xff9636(0x1c2)][_0xff9636(0x1c0)]={..._0x18aae1}:_0xff9636(0x16e)==_0x3182b0&&(_0x18aae1['dispField']&&(_0x18aae1[_0xff9636(0x1b2)]=await ServiceUtil[_0xff9636(0x16a)](_0x18aae1)),_0x27260a[_0xff9636(0x1c2)]['options']={..._0x18aae1}),_0x27260a['hidden']=_0x5cd64e,_0x478ef5[_0xff9636(0x169)](_0x27260a);}}else _0x478ef5[_0xff9636(0x169)](MetaApi[_0xff9636(0x182)](_0xff9636(0x19e),this[_0xff9636(0x1c0)][_0xff9636(0x19a)],this[_0xff9636(0x1c0)][_0xff9636(0x19a)],_0xff9636(0x18a),!0x1,!0x0,0xb4)),this[_0xff9636(0x1c0)][_0xff9636(0x1a6)]&&_0x478ef5['push'](MetaApi['getGristColumnConfig2'](_0xff9636(0x19e),this[_0xff9636(0x1c0)][_0xff9636(0x1a6)],this[_0xff9636(0x1c0)][_0xff9636(0x1a6)],_0xff9636(0x18a),!0x1,!0x0,0x12c));_0x478ef5['forEach'](_0x39f65e=>{const _0x5bf422=_0xff9636;let _0x286f1b=_0x258d2c['filter'](_0x1b12ce=>_0x5bf422(0x19e)==typeof _0x1b12ce?_0x39f65e['name']==_0x1b12ce:_0x39f65e['name']==_0x1b12ce[_0x5bf422(0x19f)]);_0x286f1b&&_0x286f1b[_0x5bf422(0x1ab)]>0x0&&(_0x39f65e[_0x5bf422(0x174)]=_0x5bf422(0x19e)==typeof _0x286f1b[0x0]?'search':_0x286f1b[0x0]);});let _0x72e955={'rows':MetaApi[_0xff9636(0x191)](!0x1),'pagination':MetaApi['getGristPagination100Config'](),'columns':_0x478ef5,'sorters':[..._0x526f90]};_0x72e955['rows'][_0xff9636(0x1c1)]={'click':_0xff9636(0x197),'dblclick':(_0x119c3e,_0xbe17c0,_0x116844,_0xc1d0e0,_0x5a0d93,_0x2ae610)=>{const _0x284f0a=_0xff9636;this[_0x284f0a(0x171)](_0xc1d0e0);}},_0x72e955[_0xff9636(0x16b)][_0xff9636(0x196)]=!0x1,this[_0xff9636(0x1bf)]=_0x72e955,await super[_0xff9636(0x1aa)]();}async[a0_0xfb152e(0x17d)](){const _0x212be7=a0_0xfb152e;await super[_0x212be7(0x17d)]();}[a0_0xfb152e(0x183)](){const _0x2ac5e4=a0_0xfb152e;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x2ac5e4(0x1bf)]} .mode=${isMobileDevice()?_0x2ac5e4(0x1b7):_0x2ac5e4(0x16d)} auto-fetch
22
+ .fetchHandler=${this[_0x2ac5e4(0x18c)]['bind'](this)}>
23
23
  <div slot="headroom">
24
24
  <div id="filters">
25
25
  <ox-filters-form></ox-filters-form>
@@ -27,14 +27,14 @@ const a0_0x42c108=a0_0x1fa7;(function(_0x19dc3f,_0x51c7a1){const _0x40c450=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x336c70(0xee)](_0x336c70(0x133))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x336c70(0x10e)]['bind'](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0x2ac5e4(0x18b)](_0x2ac5e4(0x172))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x2ac5e4(0x1a8)]['bind'](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil['tButton'](_0x336c70(0x132))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x336c70(0x120)][_0x336c70(0x11e)](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x2ac5e4(0x18b)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x2ac5e4(0x1b5)][_0x2ac5e4(0x195)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x336c70(0xee)]('select')}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0x336c70(0x12c)]['bind'](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x2ac5e4(0x18b)](_0x2ac5e4(0x1ac))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x2ac5e4(0x1bb)][_0x2ac5e4(0x195)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get[a0_0x42c108(0x13c)](){const _0x1f368c=a0_0x42c108;return this[_0x1f368c(0xfd)][_0x1f368c(0x134)]('#ox-grist');}async['fetchHandler']({page:_0x14af00=0x0,limit:_0x4188b4=0x0,sorters:_0x5d0ef4=[],filters:_0x1ddc41=[]}){const _0x1e79f5=a0_0x42c108;let _0x37a931=[...this[_0x1e79f5(0x13b)]];_0x1ddc41[_0x1e79f5(0x105)](_0xe9dfb2=>{const _0x355877=_0x1e79f5;let _0x2b56ca=_0x37a931[_0x355877(0x121)](_0x58ad20=>_0xe9dfb2[_0x355877(0x110)]==_0x58ad20[_0x355877(0x110)]);_0x2b56ca&&_0x2b56ca[_0x355877(0x117)]>0x0&&delete _0x37a931[_0xe9dfb2[_0x355877(0x110)]],_0x37a931['push'](_0xe9dfb2);});let _0x344bcd=ValueUtil[_0x1e79f5(0x101)](this['options'][_0x1e79f5(0x10c)]&&this[_0x1e79f5(0xf1)][_0x1e79f5(0x10c)][_0x1e79f5(0xf4)]||{},'query',_0x1e79f5(0x12e)),_0xa9b604=Object[_0x1e79f5(0x128)](_0x344bcd||{}),_0x18bca3=MetaApi[_0x1e79f5(0xff)](this[_0x1e79f5(0x107)]['columns'][_0x1e79f5(0x121)](_0x7086ff=>!_0xa9b604['includes'](_0x7086ff['name'])));return await MetaApi['searchByPagination'](this['options'][_0x1e79f5(0x112)],_0x37a931,_0x5d0ef4,_0x14af00,_0x4188b4,_0x18bca3);}async['clickEmpty'](_0x14b8d3){const _0x22a7c7=a0_0x42c108;this['confirmCallback']&&this[_0x22a7c7(0x13d)](null),closePopup(this);}async[a0_0x42c108(0x120)](_0x45b439){closePopup(this);}async[a0_0x42c108(0x12c)](_0x5d85a2){const _0x4e2663=a0_0x42c108;let _0x4efac5=this[_0x4e2663(0x13c)][_0x4e2663(0x122)];_0x4efac5&&0x0!=_0x4efac5[_0x4e2663(0x117)]?this[_0x4e2663(0xf8)](_0x4efac5[0x0]):MetaApi[_0x4e2663(0x129)](_0x4e2663(0xf9),TermsUtil[_0x4e2663(0x13e)](_0x4e2663(0x102)));}async['selectRecord'](_0x2c59c4){const _0x3059c=a0_0x42c108;this[_0x3059c(0x13d)]&&this[_0x3059c(0x13d)](_0x2c59c4),closePopup(this);}}customElements[a0_0x42c108(0x11b)]('meta-object-selector-popup',MetaObjectSelectorPopup);function a0_0x1b01(){const _0x4f5082=['2600490IbdsYw','isArray','values','define','type','rows','bind','styles','clickCancel','filter','selected','10964080zvUiOH','getGristColumnConfig2','firstUpdated','search','5915160FqVMBB','keys','showToast','push','11aPMPQl','clickSelect','align','after_set_fields','getCodeByScenario','entity','sorters','cancel','empty','querySelector','left','filters','code','GRID','args','dispField','search_hidden_fields','grist','confirmCallback','tText','resource-object','select-row-toggle','filterFields','LIST','tButton','3320898sdYKfa','getGristPagination100Config','options','object','getGristSelectableConfig','gql','basicArgs','5098059nZIWau','handlers','selectRecord','info','getCodeSelectorData','includes','record','shadowRoot','meta-code-selector','getSelectColumns','1285585UcOzfH','getParams','NOTHING_SELECTED','codeField','menu','forEach','getGristGuttersConfig','gridConfig','string','8qHDsRD','connectedCallback','4WoNdMM','menu_template','nameField','clickEmpty','2jxDNxP','name','getCodeByEntity','queryName','15837UqFYeX','resource-code-selector','select','appendable','length'];a0_0x1b01=function(){return _0x4f5082;};return a0_0x1b01();}
40
+ `;}get[a0_0xfb152e(0x17a)](){const _0x221747=a0_0xfb152e;return this['shadowRoot'][_0x221747(0x1ba)](_0x221747(0x1b4));}async[a0_0xfb152e(0x18c)]({page:_0x408f13=0x0,limit:_0x2249b5=0x0,sorters:_0x2bdd2c=[],filters:_0x1d0f8e=[]}){const _0x93dc4f=a0_0xfb152e;let _0x3f9877=[...this[_0x93dc4f(0x181)]];_0x1d0f8e[_0x93dc4f(0x190)](_0x40c43f=>{const _0x12b1ba=_0x93dc4f;let _0x2ebf9a=_0x3f9877[_0x12b1ba(0x174)](_0x206cf1=>_0x40c43f['name']==_0x206cf1[_0x12b1ba(0x19f)]);_0x2ebf9a&&_0x2ebf9a[_0x12b1ba(0x1ab)]>0x0&&delete _0x3f9877[_0x40c43f[_0x12b1ba(0x19f)]],_0x3f9877['push'](_0x40c43f);});let _0x73ca11=ValueUtil[_0x93dc4f(0x1bc)](this[_0x93dc4f(0x1c0)][_0x93dc4f(0x186)]&&this[_0x93dc4f(0x1c0)][_0x93dc4f(0x186)][_0x93dc4f(0x194)]||{},_0x93dc4f(0x1b8),_0x93dc4f(0x16f)),_0x479dab=Object[_0x93dc4f(0x17b)](_0x73ca11||{}),_0x4dd387=MetaApi[_0x93dc4f(0x187)](this[_0x93dc4f(0x1bf)][_0x93dc4f(0x1b3)][_0x93dc4f(0x174)](_0x5dc126=>!_0x479dab[_0x93dc4f(0x19c)](_0x5dc126[_0x93dc4f(0x19f)])));return await MetaApi[_0x93dc4f(0x1ae)](this[_0x93dc4f(0x1c0)][_0x93dc4f(0x19b)],_0x3f9877,_0x2bdd2c,_0x408f13,_0x2249b5,_0x4dd387);}async[a0_0xfb152e(0x1a8)](_0x149eae){const _0x2eb580=a0_0xfb152e;this[_0x2eb580(0x1a4)]&&this[_0x2eb580(0x1a4)](null),closePopup(this);}async['clickCancel'](_0x43fb5f){closePopup(this);}async[a0_0xfb152e(0x1bb)](_0x377db0){const _0x9b75dd=a0_0xfb152e;let _0x44459a=this[_0x9b75dd(0x17a)]['selected'];_0x44459a&&0x0!=_0x44459a['length']?this[_0x9b75dd(0x171)](_0x44459a[0x0]):MetaApi[_0x9b75dd(0x180)](_0x9b75dd(0x176),TermsUtil[_0x9b75dd(0x185)](_0x9b75dd(0x17c)));}async['selectRecord'](_0x4e88b1){const _0x1b38bb=a0_0xfb152e;this['confirmCallback']&&this[_0x1b38bb(0x1a4)](_0x4e88b1),closePopup(this);}}customElements['define'](a0_0xfb152e(0x18d),MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- const a0_0xa52c8c=a0_0x9948;(function(_0x2f7d5a,_0x5199e7){const _0x2f2933=a0_0x9948,_0x5939e7=_0x2f7d5a();while(!![]){try{const _0x146455=-parseInt(_0x2f2933(0x1cc))/0x1*(parseInt(_0x2f2933(0x1d4))/0x2)+-parseInt(_0x2f2933(0x1ac))/0x3+parseInt(_0x2f2933(0x1c4))/0x4+-parseInt(_0x2f2933(0x1c2))/0x5*(parseInt(_0x2f2933(0x1de))/0x6)+-parseInt(_0x2f2933(0x1d1))/0x7+parseInt(_0x2f2933(0x1b4))/0x8*(parseInt(_0x2f2933(0x1bc))/0x9)+parseInt(_0x2f2933(0x1c8))/0xa;if(_0x146455===_0x5199e7)break;else _0x5939e7['push'](_0x5939e7['shift']());}catch(_0x4c695c){_0x5939e7['push'](_0x5939e7['shift']());}}}(a0_0x4df4,0x4137e));function a0_0x4df4(){const _0x4e2b7c=['executeCallScenarioButtonClick','after','12021270nALKKM','is_detail','parseBasicGridConfigs','pageUpdated','283666ULDHyA','getMenuMeta','parseBasicFormConfigs','runScenario','lifecycle','2057055dJqWwu','grist','body','2WUdDVh','getAndParseMenuMeta','isPage','fieldChangeHandlers','name','callScenario','parseBasicTabConfigs','fetch','detail','tTitle','78KfjDAH','result','parseBasicServiceConfigs','is_popup','errors','active','1379574DiRzUv','properties','connectedCallback','parseBasicButtonConfigs','menuInfo','dispatchEvent','isEmpty','params','146840NpwLGw','isNotEmpty','isPopup','includes','fetchHandler','filterForm','addEventListener','isDetail','225mprPIp','field-change','keys','etc','etcConfig','stopPropagation','162265mjUfQv','title_detail','261640jYllya','data'];a0_0x4df4=function(){return _0x4e2b7c;};return a0_0x4df4();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x9948(_0xd850a2,_0x36847c){const _0x4df489=a0_0x4df4();return a0_0x9948=function(_0x9948ae,_0x5ef6b4){_0x9948ae=_0x9948ae-0x1ac;let _0x5bed42=_0x4df489[_0x9948ae];return _0x5bed42;},a0_0x9948(_0xd850a2,_0x36847c);}export const MetaBaseMixin=_0x5c9d44=>class extends _0x5c9d44{static get[a0_0xa52c8c(0x1ad)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x542ed4=>Boolean(_0x542ed4)},'is_popup':{'type':Boolean,'converter':_0x9922aa=>Boolean(_0x9922aa)},'is_activity':{'type':Boolean,'converter':_0x4b0833=>Boolean(_0x4b0833)},'is_readonly':{'type':Boolean,'converter':_0x50865d=>Boolean(_0x50865d)}};}get['isElement'](){const _0x3f8d79=a0_0xa52c8c;return!0x0===this[_0x3f8d79(0x1c9)]||!0x0===this[_0x3f8d79(0x1e1)];}get[a0_0xa52c8c(0x1bb)](){const _0xa6f035=a0_0xa52c8c;return!ValueUtil[_0xa6f035(0x1b2)](this[_0xa6f035(0x1c9)])&&this[_0xa6f035(0x1c9)];}async[a0_0xa52c8c(0x1ae)](){const _0x319046=a0_0xa52c8c;super[_0x319046(0x1ae)]&&await super[_0x319046(0x1ae)](),this[_0x319046(0x1ba)](_0x319046(0x1bd),async _0x16c041=>{const _0x21dc96=_0x319046;_0x16c041[_0x21dc96(0x1c1)](),this[_0x21dc96(0x1b1)](new CustomEvent('data-change',{'bubbles':!0x0,'composed':!0x0,'detail':_0x16c041[_0x21dc96(0x1dc)]}));let {after:_0x47568d,before:_0x13b831,column:_0x5787cb,record:_0x3d0a2d,row:_0x104664}=_0x16c041[_0x21dc96(0x1dc)],_0x529624=_0x5787cb[_0x21dc96(0x1d8)];if(Object[_0x21dc96(0x1be)](this[_0x21dc96(0x1d7)]||{})[_0x21dc96(0x1b7)](_0x529624)){let _0x4bf4fe,_0x3fba2c=(await MetaApi[_0x21dc96(0x1d9)](void 0x0,this[_0x21dc96(0x1d7)][_0x529624],{'columnName':_0x529624,'column':_0x5787cb,'record':_0x3d0a2d,'after':_0x47568d,'before':_0x13b831,'row':_0x104664},!0x1))[_0x21dc96(0x1c5)][_0x21dc96(0x1cf)][_0x21dc96(0x1c5)][_0x21dc96(0x1df)];if(!_0x3fba2c)return;_0x4bf4fe=this[_0x21dc96(0x1d2)]?this[_0x21dc96(0x1d2)][_0x21dc96(0x1d2)][_0x21dc96(0x1d3)]:this,Object[_0x21dc96(0x1be)](_0x3fba2c)['forEach'](_0x585f9d=>{const _0x28f694=_0x21dc96;_0x4bf4fe[_0x28f694(0x1b1)](new CustomEvent(_0x28f694(0x1bd),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x3d0a2d,'row':_0x104664,'after':_0x3fba2c[_0x585f9d],'before':_0x3d0a2d[_0x585f9d],'column':{'name':_0x585f9d}}}));});}});}async[a0_0xa52c8c(0x1cb)](_0x5a8c66,_0x2ce553,_0x2528ef){const _0x1b1623=a0_0xa52c8c;let _0x339882=this['lifecycle']?.[_0x1b1623(0x1b3)]?this[_0x1b1623(0x1d0)]['params']:{};this[_0x1b1623(0x1d6)]&&this[_0x1b1623(0x1e3)]&&0x0==_0x2528ef[_0x1b1623(0x1e3)]&&ValueUtil['isNotEmpty'](_0x339882)&&this['fetch']();}get[a0_0xa52c8c(0x1b6)](){const _0x5d3c03=a0_0xa52c8c;return!ValueUtil[_0x5d3c03(0x1b2)](this[_0x5d3c03(0x1e1)])&&this[_0x5d3c03(0x1e1)];}get[a0_0xa52c8c(0x1d6)](){const _0x42d1f9=a0_0xa52c8c;return!this[_0x42d1f9(0x1c9)]&&!this['is_popup'];}async[a0_0xa52c8c(0x1d5)](){const _0x9ae305=a0_0xa52c8c;let _0xecd1c0=await MetaApi[_0x9ae305(0x1cd)](this);_0xecd1c0&&(this[_0x9ae305(0x1b0)]=_0xecd1c0['menu'],this[_0x9ae305(0x1c0)]=_0xecd1c0[_0x9ae305(0x1bf)],this['parseBasicGridConfigs']&&this[_0x9ae305(0x1ca)](_0xecd1c0),this['parseBasicServiceConfigs']&&this[_0x9ae305(0x1e0)](_0xecd1c0),this[_0x9ae305(0x1ce)]&&this[_0x9ae305(0x1ce)](_0xecd1c0),this[_0x9ae305(0x1da)]&&this['parseBasicTabConfigs'](_0xecd1c0),this[_0x9ae305(0x1af)]&&this[_0x9ae305(0x1af)](_0xecd1c0));}async[a0_0xa52c8c(0x1db)](){const _0x15655f=a0_0xa52c8c;ValueUtil[_0x15655f(0x1b5)](this[_0x15655f(0x1d2)])?this[_0x15655f(0x1d2)]['fetch']():(ValueUtil[_0x15655f(0x1b5)](this[_0x15655f(0x1b9)])||this['fetchHandler'])&&await this[_0x15655f(0x1b8)]();}async['excuteOpenPopupButtonClick'](_0x591a68,_0x2939d4,_0x59ce4f){const _0x11e346=a0_0xa52c8c;let _0x184ad3=TermsUtil[_0x11e346(0x1dd)](_0x591a68['title']);ValueUtil[_0x11e346(0x1b5)](_0x591a68[_0x11e346(0x1c3)])&&(_0x184ad3=_0x184ad3+'-'+ValueUtil['getParams'](_0x2939d4,..._0x591a68[_0x11e346(0x1c3)]['split']('.'))),MetaApi['openDynamicPopup'](_0x184ad3,_0x591a68,_0x2939d4,_0x59ce4f);}async[a0_0xa52c8c(0x1c6)](_0x25b279,_0x27ef78,_0x1caa9c){const _0x5ec51e=a0_0xa52c8c;let _0x3533e5=await MetaApi[_0x5ec51e(0x1d9)](_0x25b279[_0x5ec51e(0x1d8)],_0x25b279[_0x5ec51e(0x1d8)],_0x27ef78);!0x1!==_0x3533e5&&!_0x3533e5[_0x5ec51e(0x1e2)]&&ValueUtil['isNotEmpty'](_0x25b279[_0x5ec51e(0x1c7)])&&_0x1caa9c();}['setParentId'](_0x1190b1){const _0x314d72=a0_0xa52c8c;this['parent_id']=_0x1190b1,this[_0x314d72(0x1db)]();}};
1
+ const a0_0x1ae09b=a0_0x3a29;(function(_0x2f0d17,_0x50c38a){const _0xfba859=a0_0x3a29,_0x42f2d4=_0x2f0d17();while(!![]){try{const _0x366d99=parseInt(_0xfba859(0x1e7))/0x1*(parseInt(_0xfba859(0x1dc))/0x2)+-parseInt(_0xfba859(0x1cf))/0x3*(-parseInt(_0xfba859(0x1ca))/0x4)+-parseInt(_0xfba859(0x1c1))/0x5+parseInt(_0xfba859(0x1c8))/0x6+-parseInt(_0xfba859(0x1ed))/0x7+-parseInt(_0xfba859(0x1d1))/0x8*(-parseInt(_0xfba859(0x1ee))/0x9)+parseInt(_0xfba859(0x1bc))/0xa*(parseInt(_0xfba859(0x1d5))/0xb);if(_0x366d99===_0x50c38a)break;else _0x42f2d4['push'](_0x42f2d4['shift']());}catch(_0x29c1c8){_0x42f2d4['push'](_0x42f2d4['shift']());}}}(a0_0x1343,0x81e4e));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x4009d3=>class extends _0x4009d3{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x292785=>Boolean(_0x292785)},'is_popup':{'type':Boolean,'converter':_0x3eada1=>Boolean(_0x3eada1)},'is_activity':{'type':Boolean,'converter':_0x41b1b1=>Boolean(_0x41b1b1)},'is_readonly':{'type':Boolean,'converter':_0x513848=>Boolean(_0x513848)}};}get[a0_0x1ae09b(0x1b4)](){const _0x5df337=a0_0x1ae09b;return!0x0===this['is_detail']||!0x0===this[_0x5df337(0x1e6)];}get[a0_0x1ae09b(0x1e8)](){const _0x52c7e2=a0_0x1ae09b;return!ValueUtil[_0x52c7e2(0x1d3)](this['is_detail'])&&this[_0x52c7e2(0x1df)];}async[a0_0x1ae09b(0x1cb)](){const _0x8be9ec=a0_0x1ae09b;super[_0x8be9ec(0x1cb)]&&await super[_0x8be9ec(0x1cb)](),this[_0x8be9ec(0x1d0)](_0x8be9ec(0x1c0),async _0x36adbf=>{const _0x1169a6=_0x8be9ec;_0x36adbf[_0x1169a6(0x1d7)](),this['dispatchEvent'](new CustomEvent(_0x1169a6(0x1eb),{'bubbles':!0x0,'composed':!0x0,'detail':_0x36adbf[_0x1169a6(0x1c2)]}));let {after:_0x2ec37e,before:_0x1ab823,column:_0x1ea13d,record:_0x89324f,row:_0x429ff3}=_0x36adbf['detail'],_0x4c67de=_0x1ea13d[_0x1169a6(0x1bd)];if(Object[_0x1169a6(0x1c6)](this[_0x1169a6(0x1cd)]||{})[_0x1169a6(0x1c4)](_0x4c67de)){let _0x2d6a89,_0x54bbc0=(await MetaApi[_0x1169a6(0x1d9)](void 0x0,this[_0x1169a6(0x1cd)][_0x4c67de],{'columnName':_0x4c67de,'column':_0x1ea13d,'record':_0x89324f,'after':_0x2ec37e,'before':_0x1ab823,'row':_0x429ff3},!0x1))['data'][_0x1169a6(0x1d6)][_0x1169a6(0x1d2)]['result'];if(!_0x54bbc0)return;_0x2d6a89=this['grist']?this[_0x1169a6(0x1dd)][_0x1169a6(0x1dd)][_0x1169a6(0x1d4)]:this,Object[_0x1169a6(0x1c6)](_0x54bbc0)[_0x1169a6(0x1ea)](_0x8bf7f8=>{const _0x2ba01c=_0x1169a6;_0x2d6a89[_0x2ba01c(0x1e4)](new CustomEvent(_0x2ba01c(0x1c0),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x89324f,'row':_0x429ff3,'after':_0x54bbc0[_0x8bf7f8],'before':_0x89324f[_0x8bf7f8],'column':{'name':_0x8bf7f8}}}));});}});}async[a0_0x1ae09b(0x1ec)](_0x35da54,_0x2bb2e2,_0x52b0f7){const _0xa9caf1=a0_0x1ae09b;let _0x555454=this[_0xa9caf1(0x1b8)]?.[_0xa9caf1(0x1bb)]?this[_0xa9caf1(0x1b8)][_0xa9caf1(0x1bb)]:{};this[_0xa9caf1(0x1c3)]&&this[_0xa9caf1(0x1e5)]&&0x0==_0x52b0f7[_0xa9caf1(0x1e5)]&&ValueUtil[_0xa9caf1(0x1be)](_0x555454)&&this[_0xa9caf1(0x1e1)]();}get[a0_0x1ae09b(0x1b5)](){const _0x22f4d1=a0_0x1ae09b;return!ValueUtil[_0x22f4d1(0x1d3)](this['is_popup'])&&this['is_popup'];}get[a0_0x1ae09b(0x1c3)](){const _0x577de9=a0_0x1ae09b;return!this['is_detail']&&!this[_0x577de9(0x1e6)];}async[a0_0x1ae09b(0x1b7)](){const _0x4c6e3e=a0_0x1ae09b;let _0x166fd0=await MetaApi[_0x4c6e3e(0x1d8)](this);_0x166fd0&&(this[_0x4c6e3e(0x1db)]=_0x166fd0[_0x4c6e3e(0x1b6)],this['etcConfig']=_0x166fd0['etc'],this['parseBasicGridConfigs']&&this['parseBasicGridConfigs'](_0x166fd0),this['parseBasicServiceConfigs']&&this['parseBasicServiceConfigs'](_0x166fd0),this['parseBasicFormConfigs']&&this[_0x4c6e3e(0x1c9)](_0x166fd0),this[_0x4c6e3e(0x1de)]&&this[_0x4c6e3e(0x1de)](_0x166fd0),this['parseBasicButtonConfigs']&&this['parseBasicButtonConfigs'](_0x166fd0));}async[a0_0x1ae09b(0x1e1)](){const _0x3ff49e=a0_0x1ae09b;ValueUtil[_0x3ff49e(0x1be)](this[_0x3ff49e(0x1dd)])?this[_0x3ff49e(0x1dd)]['fetch']():(ValueUtil[_0x3ff49e(0x1be)](this[_0x3ff49e(0x1e9)])||this[_0x3ff49e(0x1e0)])&&await this[_0x3ff49e(0x1e0)]();}async[a0_0x1ae09b(0x1e3)](_0x45e2de,_0x429529,_0x42b004){const _0x5f4408=a0_0x1ae09b;let _0x4d8bba=TermsUtil[_0x5f4408(0x1e2)](_0x45e2de[_0x5f4408(0x1ce)]);ValueUtil['isNotEmpty'](_0x45e2de[_0x5f4408(0x1c7)])&&(_0x4d8bba=_0x4d8bba+'-'+ValueUtil[_0x5f4408(0x1bf)](_0x429529,..._0x45e2de[_0x5f4408(0x1c7)][_0x5f4408(0x1b9)]('.'))),MetaApi['openDynamicPopup'](_0x4d8bba,_0x45e2de,_0x429529,_0x42b004);}async[a0_0x1ae09b(0x1cc)](_0x3ca63d,_0x3ec3c5,_0xcacff1){const _0x33b09a=a0_0x1ae09b;let _0x9435ab=await MetaApi[_0x33b09a(0x1d9)](_0x3ca63d[_0x33b09a(0x1bd)],_0x3ca63d[_0x33b09a(0x1bd)],_0x3ec3c5);!0x1!==_0x9435ab&&!_0x9435ab[_0x33b09a(0x1c5)]&&ValueUtil['isNotEmpty'](_0x3ca63d[_0x33b09a(0x1ba)])&&_0xcacff1();}['setParentId'](_0x1607c2){const _0x386c4b=a0_0x1ae09b;this[_0x386c4b(0x1da)]=_0x1607c2,this[_0x386c4b(0x1e1)]();}};function a0_0x3a29(_0x131b55,_0x4707aa){const _0x134327=a0_0x1343();return a0_0x3a29=function(_0x3a29d8,_0x351398){_0x3a29d8=_0x3a29d8-0x1b4;let _0x139fc5=_0x134327[_0x3a29d8];return _0x139fc5;},a0_0x3a29(_0x131b55,_0x4707aa);}function a0_0x1343(){const _0x288923=['isPopup','menu','getAndParseMenuMeta','lifecycle','split','after','params','3566290QmeZoP','name','isNotEmpty','getParams','field-change','4006625tCDEIr','detail','isPage','includes','errors','keys','title_detail','5444574iOQcNa','parseBasicFormConfigs','39636nxeYiw','connectedCallback','executeCallScenarioButtonClick','fieldChangeHandlers','title','15sLbxhu','addEventListener','8fJGrWQ','data','isEmpty','body','11hsPhyZ','runScenario','stopPropagation','getMenuMeta','callScenario','parent_id','menuInfo','496918AQrsBS','grist','parseBasicTabConfigs','is_detail','fetchHandler','fetch','tTitle','excuteOpenPopupButtonClick','dispatchEvent','active','is_popup','1VkhKfC','isDetail','filterForm','forEach','data-change','pageUpdated','7196364PBTXgE','7194249NhqAZn','isElement'];a0_0x1343=function(){return _0x288923;};return a0_0x1343();}