@things-factory/meta-ui 6.1.15 → 6.1.17

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 (84) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  3. package/client/component/filter/filter-form-meta-object-select.js +10 -10
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +10 -10
  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 +5 -5
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +2 -2
  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 +5 -5
  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/meta-activity/meta-activity-mutation.js +1 -1
  73. package/server/service/meta-activity/meta-activity-query.js +1 -1
  74. package/server/service/meta-activity/meta-activity-type.js +1 -1
  75. package/server/service/meta-secret/meta-resolver.js +1 -1
  76. package/server/service/set-translations/set-translation-resolver.js +1 -1
  77. package/server/service/work-code/work-code-mutation.js +1 -1
  78. package/server/service/work-code/work-code-query.js +1 -1
  79. package/server/service/work-code/work-code-type.js +1 -1
  80. package/server/service/work-code/work-code.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0x1401d6=a0_0x4b38;(function(_0x42e735,_0x1efde1){const _0x38b4ac=a0_0x4b38,_0x4ad274=_0x42e735();while(!![]){try{const _0x137c26=-parseInt(_0x38b4ac(0x1a3))/0x1+-parseInt(_0x38b4ac(0x1ba))/0x2+parseInt(_0x38b4ac(0x1bc))/0x3*(-parseInt(_0x38b4ac(0x1bf))/0x4)+-parseInt(_0x38b4ac(0x1bb))/0x5+parseInt(_0x38b4ac(0x1a7))/0x6+-parseInt(_0x38b4ac(0x1b3))/0x7*(-parseInt(_0x38b4ac(0x1b5))/0x8)+parseInt(_0x38b4ac(0x1bd))/0x9;if(_0x137c26===_0x1efde1)break;else _0x4ad274['push'](_0x4ad274['shift']());}catch(_0x573f33){_0x4ad274['push'](_0x4ad274['shift']());}}}(a0_0x453b,0x604a7));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x200fde from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';function a0_0x453b(){const _0x6bb52f=['portrait','4548sJbhUS','526155MLAHhq','UPDATE_META_MENU_TEMPLATE','items','dispatch','748896LauFdm','landscape','get','dynamic-menu','query','appName','rank','NAVBAR','liteMenus','active','hamburger','meta[name=\x22application-name\x22]','973dSxtbe','data','40776uFsKzy','FRONT_END','lite-menu-part','filter','dynamic-menu-part','513880kvQiOx','405940phtkye','477FTLDPg','5455566jPfixg'];a0_0x453b=function(){return _0x6bb52f;};return a0_0x453b();}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='UPDATE_META_UI';export const UPDATE_META_MENU_TEMPLATE=a0_0x1401d6(0x1a4);var HAMBURGER;export async function setupMenuPart(_0x28f307){const _0x2cf750=a0_0x1401d6;var {hovering:_0x4695e9=!!isMobileDevice(),slotTemplate:_0x3d5001,portraitSlotTemplate:_0x1d632c,landscapeSlotTemplate:_0x507f3b,position:_0x5e44bf=VIEWPART_POSITION[_0x2cf750(0x1ae)]}=_0x28f307||{};const {hovering:_0x2eed0d}=(await clientSettingStore[_0x2cf750(0x1a9)](_0x2cf750(0x1aa)))?.['value']||{};void 0x0!==_0x2eed0d&&(_0x4695e9=_0x2eed0d);const _0x18940f=_0x5e44bf==VIEWPART_POSITION['HEADERBAR']?_0x2cf750(0x1a8):_0x2cf750(0x1be),_0x997bc8=(_0x2cf750(0x1a8)==_0x18940f?_0x507f3b:_0x1d632c)||_0x3d5001||html``;appendViewpart({'name':_0x2cf750(0x1b7),'viewpart':{'show':!_0x4695e9,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4695e9,'template':html`<dynamic-menu-part .orientation=${_0x18940f}>${_0x997bc8}</dynamic-menu-part>`},'position':_0x5e44bf}),_0x4695e9&&_0x2cf750(0x1be)==_0x18940f?HAMBURGER||(HAMBURGER={'name':_0x2cf750(0x1b1),'template':html`
2
- <mwc-icon @click=${_0x2ec2c8=>toggleOverlay(_0x2cf750(0x1b9),{'backdrop':!0x0})}
1
+ const a0_0xf250c5=a0_0x2867;(function(_0x4c4e18,_0x304f42){const _0x14d557=a0_0x2867,_0x7b8a12=_0x4c4e18();while(!![]){try{const _0x438564=parseInt(_0x14d557(0xef))/0x1*(parseInt(_0x14d557(0xeb))/0x2)+-parseInt(_0x14d557(0xf6))/0x3*(-parseInt(_0x14d557(0xf9))/0x4)+-parseInt(_0x14d557(0x108))/0x5*(parseInt(_0x14d557(0xf5))/0x6)+-parseInt(_0x14d557(0xff))/0x7+-parseInt(_0x14d557(0xf4))/0x8+-parseInt(_0x14d557(0xfb))/0x9*(-parseInt(_0x14d557(0xf1))/0xa)+parseInt(_0x14d557(0xf7))/0xb;if(_0x438564===_0x304f42)break;else _0x7b8a12['push'](_0x7b8a12['shift']());}catch(_0x2eba6d){_0x7b8a12['push'](_0x7b8a12['shift']());}}}(a0_0x1dba,0x579d5));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x177e2b from'graphql-tag';function a0_0x1dba(){const _0x4c08e0=['get','UPDATE_META_MENU_TEMPLATE','107lKZoXY','lite-menu-part','97470gtYsJb','value','dispatch','3967544lEXjGK','18TxFFqa','2007ipuFIo','176407hpRyMN','appName','1084qPCuEC','dynamic-menu','522hkUFDJ','dynamic-menu-part','meta[name=\x22application-name\x22]','active','2347226qQWKdV','FRONT_END','HEADERBAR','filter','landscape','querySelector','content','hamburger','query','340255vLXlBo','data','UPDATE_META_UI','NAVBAR','portrait','11806NLpMGb','items'];a0_0x1dba=function(){return _0x4c08e0;};return a0_0x1dba();}import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';function a0_0x2867(_0x47f3b2,_0xf083e3){const _0x1dba6b=a0_0x1dba();return a0_0x2867=function(_0x286702,_0x30a7b9){_0x286702=_0x286702-0xe8;let _0x170eb6=_0x1dba6b[_0x286702];return _0x170eb6;},a0_0x2867(_0x47f3b2,_0xf083e3);}import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0xf250c5(0xe8);export const UPDATE_META_MENU_TEMPLATE=a0_0xf250c5(0xee);var HAMBURGER;export async function setupMenuPart(_0x2e9204){const _0x163978=a0_0xf250c5;var {hovering:_0x1c17b4=!!isMobileDevice(),slotTemplate:_0x3fa940,portraitSlotTemplate:_0x21385d,landscapeSlotTemplate:_0xdfc714,position:_0x1f7ca2=VIEWPART_POSITION[_0x163978(0xe9)]}=_0x2e9204||{};const {hovering:_0x48b9be}=(await clientSettingStore[_0x163978(0xed)](_0x163978(0xfa)))?.[_0x163978(0xf2)]||{};void 0x0!==_0x48b9be&&(_0x1c17b4=_0x48b9be);const _0x42ab0f=_0x1f7ca2==VIEWPART_POSITION[_0x163978(0x101)]?_0x163978(0x103):_0x163978(0xea),_0x366c53=('landscape'==_0x42ab0f?_0xdfc714:_0x21385d)||_0x3fa940||html``;appendViewpart({'name':_0x163978(0xf0),'viewpart':{'show':!_0x1c17b4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x1c17b4,'template':html`<dynamic-menu-part .orientation=${_0x42ab0f}>${_0x366c53}</dynamic-menu-part>`},'position':_0x1f7ca2}),_0x1c17b4&&_0x163978(0xea)==_0x42ab0f?HAMBURGER||(HAMBURGER={'name':_0x163978(0x106),'template':html`
2
+ <mwc-icon @click=${_0xb9756b=>toggleOverlay(_0x163978(0xfc),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x2cf750(0x1b6)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x2cf750(0x1a6)]({'type':REMOVE_APP_TOOL,'name':_0x2cf750(0x1b1)}),HAMBURGER=null);}function a0_0x4b38(_0x3ab58b,_0x4d008b){const _0x453b6c=a0_0x453b();return a0_0x4b38=function(_0x4b3891,_0x36ed83){_0x4b3891=_0x4b3891-0x1a3;let _0x4eab3b=_0x453b6c[_0x4b3891];return _0x4eab3b;},a0_0x4b38(_0x3ab58b,_0x4d008b);}export async function updateMenuTemplate(_0x1c6c16){const _0xa248fd=a0_0x1401d6;var _0x459698=document['querySelector'](_0xa248fd(0x1b2))?.['content'],_0x5b4aa4=(await client[_0xa248fd(0x1ab)]({'query':a0_0x200fde`
4
+ `,'position':TOOL_POSITION[_0x163978(0x100)]},store[_0x163978(0xf3)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x163978(0xf3)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x2da86c){const _0x587ae2=a0_0xf250c5;var _0x39ea90=document[_0x587ae2(0x104)](_0x587ae2(0xfd))?.[_0x587ae2(0x105)],_0xa427ad=(await client[_0x587ae2(0x107)]({'query':a0_0x177e2b`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x1401d6=a0_0x4b38;(function(_0x42e735,_0x1efde1){const _0x38b4ac=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0xa248fd(0x1b0),'operator':'eq','value':!0x0},{'name':_0xa248fd(0x1ac),'operator':'in','value':['',_0x459698]}],'sortings':[{'name':_0xa248fd(0x1ad),'desc':!0x1}]}}))[_0xa248fd(0x1b4)][_0xa248fd(0x1af)][_0xa248fd(0x1a5)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x5b4aa4[_0xa248fd(0x1b8)](_0xe618d=>!_0xe618d[_0xa248fd(0x1ac)]||_0xe618d['appName']===_0x459698),'template':_0x1c6c16});}
23
+ `,'variables':{'filters':[{'name':_0x587ae2(0xfe),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x39ea90]}],'sortings':[{'name':'rank','desc':!0x1}]}}))[_0x587ae2(0x109)]['liteMenus'][_0x587ae2(0xec)];store[_0x587ae2(0xf3)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0xa427ad[_0x587ae2(0x102)](_0x165b22=>!_0x165b22[_0x587ae2(0xf8)]||_0x165b22[_0x587ae2(0xf8)]===_0x39ea90),'template':_0x2da86c});}
@@ -1,16 +1,16 @@
1
- (function(_0x50411a,_0x35e677){const _0x37dc52=a0_0x1ee0,_0x5d7624=_0x50411a();while(!![]){try{const _0x166400=-parseInt(_0x37dc52(0x1ed))/0x1+-parseInt(_0x37dc52(0x1f4))/0x2+-parseInt(_0x37dc52(0x1eb))/0x3+-parseInt(_0x37dc52(0x1fe))/0x4+parseInt(_0x37dc52(0x200))/0x5+-parseInt(_0x37dc52(0x1f0))/0x6*(parseInt(_0x37dc52(0x1e8))/0x7)+parseInt(_0x37dc52(0x1f6))/0x8;if(_0x166400===_0x35e677)break;else _0x5d7624['push'](_0x5d7624['shift']());}catch(_0x45ce9e){_0x5d7624['push'](_0x5d7624['shift']());}}}(a0_0x5abc,0x6e40a));import'../selector/meta-object-selector-popup';import{html}from'lit-html';function a0_0x5abc(){const _0x49429a=['selectorName','change','form\x20[name=\x22','dispatchEvent','3184372wrjzzI','codes','4283850GetDWo','select_item','7tYFGtA','toLowerCase','options','1716192XfiVhC','renderRoot','673606DidOPw','filter-change','dispField','5306862LGXsJM','length','codeField','value','218968Oqxfbu','name','21044384JcMndX','[name=\x22','filter','querySelector'];a0_0x5abc=function(){return _0x49429a;};return a0_0x5abc();}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x1ee0(_0x250f5b,_0x317674){const _0x5abcb2=a0_0x5abc();return a0_0x1ee0=function(_0x1ee017,_0x4d973f){_0x1ee017=_0x1ee017-0x1e7;let _0x100133=_0x5abcb2[_0x1ee017];return _0x100133;},a0_0x1ee0(_0x250f5b,_0x317674);}function openMetaCodeSelector(_0x1c30ad,_0x4bc1b7,_0x481c17){const _0x3bfce3=a0_0x1ee0;var _0x251bbd=html`
1
+ (function(_0x4bdcad,_0x38c10a){const _0x11a4d5=a0_0x4936,_0x3cc4ad=_0x4bdcad();while(!![]){try{const _0x1fb8dd=parseInt(_0x11a4d5(0x8b))/0x1*(parseInt(_0x11a4d5(0x84))/0x2)+-parseInt(_0x11a4d5(0x90))/0x3+-parseInt(_0x11a4d5(0x7a))/0x4+-parseInt(_0x11a4d5(0x94))/0x5*(parseInt(_0x11a4d5(0x96))/0x6)+parseInt(_0x11a4d5(0x8d))/0x7*(-parseInt(_0x11a4d5(0x7b))/0x8)+-parseInt(_0x11a4d5(0x7f))/0x9+parseInt(_0x11a4d5(0x87))/0xa*(parseInt(_0x11a4d5(0x79))/0xb);if(_0x1fb8dd===_0x38c10a)break;else _0x3cc4ad['push'](_0x3cc4ad['shift']());}catch(_0x72a3db){_0x3cc4ad['push'](_0x3cc4ad['shift']());}}}(a0_0x589a,0x8938c));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x4936(_0x28faf9,_0x2834c9){const _0x589a19=a0_0x589a();return a0_0x4936=function(_0x493639,_0x38ef63){_0x493639=_0x493639-0x79;let _0x1cf980=_0x589a19[_0x493639];return _0x1cf980;},a0_0x4936(_0x28faf9,_0x2834c9);}import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x3bdd8e,_0x275bf8,_0x19db2d){const _0x8f5544=a0_0x4936;var _0x42ad1a=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x4bc1b7}
4
- .options=${_0x1c30ad[_0x3bfce3(0x1ea)]}
5
- .confirmCallback=${_0x481c17}
3
+ .value=${_0x275bf8}
4
+ .options=${_0x3bdd8e[_0x8f5544(0x92)]}
5
+ .confirmCallback=${_0x19db2d}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x251bbd,{'backdrop':!0x0,'size':'large','title':_0x1c30ad[_0x3bfce3(0x1ea)][_0x3bfce3(0x1fa)]?TermsUtil['tMenu'](_0x1c30ad['options'][_0x3bfce3(0x1fa)]):TermsUtil['tTitle'](_0x3bfce3(0x1e7))});}export const FilterFormMetaCodeSelect=(_0x565e24,_0x172bf6,_0x3963ce)=>{const _0x329183=a0_0x1ee0,_0x3d776e=_0x565e24['options'],_0x4d0689=_0x3d776e[_0x329183(0x1ff)]&&_0x3d776e[_0x329183(0x1ff)][_0x329183(0x1f1)]>0x0?_0x3d776e[_0x329183(0x1ff)]:void 0x0,{operator:_0x5482b1='eq'}=_0x565e24;let _0x5e4a5d=_0x172bf6||'',_0x5eb72f=_0x172bf6||'';if(_0x3d776e[_0x329183(0x1ef)]&&_0x172bf6&&_0x4d0689){let _0x5749fd=_0x4d0689[_0x329183(0x1f8)](_0x2e2c34=>_0x2e2c34[_0x329183(0x1f3)]==_0x172bf6);_0x5749fd&&_0x5749fd['length']>0x0&&(_0x5eb72f=_0x5749fd[0x0]['display']);}return'eq'===_0x5482b1?html`
8
- <input name='${_0x565e24[_0x329183(0x1f5)]}' .value=${_0x5e4a5d} type="text" hidden></input>
7
+ `;openPopup(_0x42ad1a,{'backdrop':!0x0,'size':_0x8f5544(0x86),'title':_0x3bdd8e[_0x8f5544(0x92)][_0x8f5544(0x83)]?TermsUtil[_0x8f5544(0x93)](_0x3bdd8e[_0x8f5544(0x92)]['selectorName']):TermsUtil[_0x8f5544(0x7d)](_0x8f5544(0x88))});}export const FilterFormMetaCodeSelect=(_0x3a2ab1,_0x517f63,_0x4fc48b)=>{const _0x49a7de=a0_0x4936,_0x522022=_0x3a2ab1['options'],_0x128286=_0x522022['codes']&&_0x522022['codes'][_0x49a7de(0x89)]>0x0?_0x522022[_0x49a7de(0x8f)]:void 0x0,{operator:_0x2dd3f2='eq'}=_0x3a2ab1;let _0x2e83d9=_0x517f63||'',_0x5485af=_0x517f63||'';if(_0x522022['dispField']&&_0x517f63&&_0x128286){let _0x5a1bf7=_0x128286['filter'](_0x4de4c8=>_0x4de4c8[_0x49a7de(0x82)]==_0x517f63);_0x5a1bf7&&_0x5a1bf7[_0x49a7de(0x89)]>0x0&&(_0x5485af=_0x5a1bf7[0x0]['display']);}return'eq'===_0x2dd3f2?html`
8
+ <input name='${_0x3a2ab1[_0x49a7de(0x7e)]}' .value=${_0x2e83d9} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x565e24[_0x329183(0x1f5)]}_disp'
13
- .value=${_0x5eb72f}
14
- @click=${_0x351711=>{_0x351711['stopPropagation']();const _0x43a531=_0x351711['target'];openMetaCodeSelector(_0x565e24,_0x172bf6,_0x2d26dc=>{const _0x3e9ae9=a0_0x1ee0;let _0x4879e7=_0x2d26dc?_0x2d26dc[_0x3d776e[_0x3e9ae9(0x1f2)]]:'',_0xa084c9=_0x4879e7;_0x2d26dc&&_0x3d776e['dispField']&&(_0xa084c9=_0x2d26dc[_0x3d776e['dispField']]),_0x43a531['value']=_0xa084c9,('ox-grid-header'==_0x3963ce['tagName'][_0x3e9ae9(0x1e9)]()?_0x3963ce[_0x3e9ae9(0x1ec)][_0x3e9ae9(0x1f9)](_0x3e9ae9(0x1f7)+_0x565e24['name']+'\x22]'):_0x3963ce[_0x3e9ae9(0x1ec)][_0x3e9ae9(0x1f9)](_0x3e9ae9(0x1fc)+_0x565e24[_0x3e9ae9(0x1f5)]+'\x22]'))[_0x3e9ae9(0x1f3)]=_0x4879e7,_0x43a531[_0x3e9ae9(0x1fd)](new Event(_0x3e9ae9(0x1fb),{'bubbles':!0x0})),_0x43a531['dispatchEvent'](new CustomEvent(_0x3e9ae9(0x1ee),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x565e24['name'],'operator':_0x5482b1,'value':_0x4879e7}}));});}}
12
+ name='${_0x3a2ab1[_0x49a7de(0x7e)]}_disp'
13
+ .value=${_0x5485af}
14
+ @click=${_0x412e64=>{const _0x5ec9c2=_0x49a7de;_0x412e64[_0x5ec9c2(0x7c)]();const _0x1562d9=_0x412e64[_0x5ec9c2(0x8e)];openMetaCodeSelector(_0x3a2ab1,_0x517f63,_0x617f62=>{const _0x28832a=_0x5ec9c2;let _0x55c847=_0x617f62?_0x617f62[_0x522022['codeField']]:'',_0x8d7e3f=_0x55c847;_0x617f62&&_0x522022[_0x28832a(0x81)]&&(_0x8d7e3f=_0x617f62[_0x522022[_0x28832a(0x81)]]),_0x1562d9[_0x28832a(0x82)]=_0x8d7e3f,(_0x28832a(0x97)==_0x4fc48b[_0x28832a(0x8c)][_0x28832a(0x85)]()?_0x4fc48b[_0x28832a(0x8a)]['querySelector']('[name=\x22'+_0x3a2ab1['name']+'\x22]'):_0x4fc48b[_0x28832a(0x8a)][_0x28832a(0x95)]('form\x20[name=\x22'+_0x3a2ab1['name']+'\x22]'))[_0x28832a(0x82)]=_0x55c847,_0x1562d9[_0x28832a(0x91)](new Event(_0x28832a(0x80),{'bubbles':!0x0})),_0x1562d9[_0x28832a(0x91)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x3a2ab1[_0x28832a(0x7e)],'operator':_0x2dd3f2,'value':_0x55c847}}));});}}
15
15
  />
16
- `:html``;};
16
+ `:html``;};function a0_0x589a(){const _0x5d67db=['tagName','28znAKac','target','codes','2165499KXjasW','dispatchEvent','options','tMenu','8885sdOnER','querySelector','3324ggvalj','ox-grid-header','687951VrPWWj','2325684eirBID','1630176pDHVAL','stopPropagation','tTitle','name','3250638RHMuDS','change','dispField','value','selectorName','6QZPoIY','toLowerCase','large','470UBqiMn','select_item','length','renderRoot','362205OfHepy'];a0_0x589a=function(){return _0x5d67db;};return a0_0x589a();}
@@ -1,16 +1,16 @@
1
- (function(_0x22c803,_0x19df1a){const _0x4d7e63=a0_0x5e76,_0x14bf7c=_0x22c803();while(!![]){try{const _0x2b55a9=parseInt(_0x4d7e63(0x1d1))/0x1*(-parseInt(_0x4d7e63(0x1d9))/0x2)+parseInt(_0x4d7e63(0x1e0))/0x3*(-parseInt(_0x4d7e63(0x1cb))/0x4)+parseInt(_0x4d7e63(0x1dc))/0x5+parseInt(_0x4d7e63(0x1db))/0x6*(parseInt(_0x4d7e63(0x1d2))/0x7)+-parseInt(_0x4d7e63(0x1d3))/0x8*(-parseInt(_0x4d7e63(0x1df))/0x9)+parseInt(_0x4d7e63(0x1da))/0xa*(parseInt(_0x4d7e63(0x1cc))/0xb)+-parseInt(_0x4d7e63(0x1cd))/0xc;if(_0x2b55a9===_0x19df1a)break;else _0x14bf7c['push'](_0x14bf7c['shift']());}catch(_0xe9afd8){_0x14bf7c['push'](_0x14bf7c['shift']());}}}(a0_0x199d,0xa53a6));function a0_0x5e76(_0xa79b21,_0x20e2d2){const _0x199dda=a0_0x199d();return a0_0x5e76=function(_0x5e7636,_0x2d7eeb){_0x5e7636=_0x5e7636-0x1cb;let _0x19b454=_0x199dda[_0x5e7636];return _0x19b454;},a0_0x5e76(_0xa79b21,_0x20e2d2);}import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x5e33ff,_0x235e3d,_0x448185){const _0x427dda=a0_0x5e76;var _0x49f819=html`
1
+ (function(_0x3ee1f7,_0x5bb0b4){const _0x1811a8=a0_0x2e56,_0x1e9961=_0x3ee1f7();while(!![]){try{const _0x469268=parseInt(_0x1811a8(0xb1))/0x1+parseInt(_0x1811a8(0xa6))/0x2+parseInt(_0x1811a8(0x98))/0x3*(parseInt(_0x1811a8(0xa8))/0x4)+-parseInt(_0x1811a8(0xac))/0x5*(-parseInt(_0x1811a8(0xa3))/0x6)+-parseInt(_0x1811a8(0xa1))/0x7+-parseInt(_0x1811a8(0x9d))/0x8+-parseInt(_0x1811a8(0x9a))/0x9;if(_0x469268===_0x5bb0b4)break;else _0x1e9961['push'](_0x1e9961['shift']());}catch(_0x7197fe){_0x1e9961['push'](_0x1e9961['shift']());}}}(a0_0x598e,0xea044));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x3aa9b7,_0xb6d4be,_0x72a2ba){const _0x4f4abf=a0_0x2e56;var _0x371d71=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x235e3d}
4
- .options=${_0x5e33ff[_0x427dda(0x1e6)]}
5
- .confirmCallback=${_0x448185}
3
+ .value=${_0xb6d4be}
4
+ .options=${_0x3aa9b7['options']}
5
+ .confirmCallback=${_0x72a2ba}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x49f819,{'backdrop':!0x0,'size':'large','title':_0x5e33ff[_0x427dda(0x1e6)]['selectorName']?TermsUtil[_0x427dda(0x1e9)](_0x5e33ff['options'][_0x427dda(0x1ea)]):TermsUtil[_0x427dda(0x1de)](_0x427dda(0x1ce))});}export const FilterFormMetaObjectSelect=(_0x39b314,_0x25e9c5,_0x4fb9df)=>{const _0x1c1dff=a0_0x5e76,_0x363a70=_0x39b314['options'],{operator:_0x39c501='eq'}=_0x39b314;let _0x4c31da=_0x25e9c5?_0x25e9c5['id']:'',_0x4d13c4=_0x25e9c5?_0x25e9c5[_0x363a70[_0x1c1dff(0x1dd)]]:'';return'eq'===_0x39c501?html`
8
- <input name='${_0x39b314['name']}' .value=${_0x4c31da} type="text" hidden></input>
7
+ `;openPopup(_0x371d71,{'backdrop':!0x0,'size':_0x4f4abf(0x97),'title':_0x3aa9b7[_0x4f4abf(0xa7)][_0x4f4abf(0xaf)]?TermsUtil[_0x4f4abf(0x99)](_0x3aa9b7[_0x4f4abf(0xa7)][_0x4f4abf(0xaf)]):TermsUtil[_0x4f4abf(0xa9)](_0x4f4abf(0xa0))});}export const FilterFormMetaObjectSelect=(_0xd71ecb,_0x1ba8c8,_0x588648)=>{const _0xd1fe09=a0_0x2e56,_0x2c69a0=_0xd71ecb['options'],{operator:_0x5b0d5d='eq'}=_0xd71ecb;let _0xb3e654=_0x1ba8c8?_0x1ba8c8['id']:'',_0xba7adb=_0x1ba8c8?_0x1ba8c8[_0x2c69a0['nameField']]:'';return'eq'===_0x5b0d5d?html`
8
+ <input name='${_0xd71ecb[_0xd1fe09(0xa4)]}' .value=${_0xb3e654} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x39b314[_0x1c1dff(0x1e1)]}_disp'
13
- .value=${_0x4d13c4}
14
- @click=${_0x26661b=>{const _0x895c97=_0x1c1dff;_0x26661b[_0x895c97(0x1cf)]();const _0x5ace09=_0x26661b[_0x895c97(0x1e8)];openMetaObjectSelector(_0x39b314,_0x25e9c5,_0x40256a=>{const _0x3da345=_0x895c97;let _0x39b929=_0x40256a?_0x40256a['id']:'',_0x11e2be=_0x40256a?_0x40256a[_0x363a70[_0x3da345(0x1dd)]]:'';_0x5ace09[_0x3da345(0x1d0)]=_0x11e2be,(_0x3da345(0x1e4)==_0x4fb9df[_0x3da345(0x1d7)][_0x3da345(0x1e5)]()?_0x4fb9df[_0x3da345(0x1e7)][_0x3da345(0x1d8)](_0x3da345(0x1d4)+_0x39b314[_0x3da345(0x1e1)]+'\x22]'):_0x4fb9df[_0x3da345(0x1e7)][_0x3da345(0x1d8)](_0x3da345(0x1e2)+_0x39b314['name']+'\x22]'))['value']=_0x39b929,_0x5ace09[_0x3da345(0x1d5)](new Event(_0x3da345(0x1d6),{'bubbles':!0x0})),_0x5ace09['dispatchEvent'](new CustomEvent(_0x3da345(0x1e3),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x39b314[_0x3da345(0x1e1)],'operator':_0x39c501,'value':_0x39b929}}));});}}
12
+ name='${_0xd71ecb[_0xd1fe09(0xa4)]}_disp'
13
+ .value=${_0xba7adb}
14
+ @click=${_0x53ee85=>{const _0x57d1c5=_0xd1fe09;_0x53ee85[_0x57d1c5(0x9f)]();const _0x3f4667=_0x53ee85['target'];openMetaObjectSelector(_0xd71ecb,_0x1ba8c8,_0x374cd6=>{const _0x430ffb=_0x57d1c5;let _0xa18dd8=_0x374cd6?_0x374cd6['id']:'',_0x15330b=_0x374cd6?_0x374cd6[_0x2c69a0[_0x430ffb(0xab)]]:'';_0x3f4667[_0x430ffb(0x9b)]=_0x15330b,(_0x430ffb(0x9c)==_0x588648['tagName']['toLowerCase']()?_0x588648[_0x430ffb(0xad)][_0x430ffb(0xa2)](_0x430ffb(0xaa)+_0xd71ecb[_0x430ffb(0xa4)]+'\x22]'):_0x588648['renderRoot'][_0x430ffb(0xa2)](_0x430ffb(0xb0)+_0xd71ecb['name']+'\x22]'))[_0x430ffb(0x9b)]=_0xa18dd8,_0x3f4667[_0x430ffb(0x9e)](new Event(_0x430ffb(0xa5),{'bubbles':!0x0})),_0x3f4667[_0x430ffb(0x9e)](new CustomEvent(_0x430ffb(0xae),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xd71ecb[_0x430ffb(0xa4)],'operator':_0x5b0d5d,'value':_0xa18dd8}}));});}}
15
15
  />
16
- `:html``;};function a0_0x199d(){const _0x42399a=['change','tagName','querySelector','214156WBBGKC','710KrXNmK','60eEnxtD','4811625EuTWXw','nameField','tTitle','396USKTWs','147TwDQaD','name','form\x20[name=\x22','filter-change','ox-grid-header','toLowerCase','options','renderRoot','target','tMenu','selectorName','27908zGATHw','118195zQyQdq','23823684LKECEM','select_item','stopPropagation','value','1EOsQyG','487802vwahiN','125264xviFKi','[name=\x22','dispatchEvent'];a0_0x199d=function(){return _0x42399a;};return a0_0x199d();}
16
+ `:html``;};function a0_0x2e56(_0x107ea6,_0x1387ae){const _0x598e8b=a0_0x598e();return a0_0x2e56=function(_0x2e56a1,_0x3213ed){_0x2e56a1=_0x2e56a1-0x97;let _0x183caa=_0x598e8b[_0x2e56a1];return _0x183caa;},a0_0x2e56(_0x107ea6,_0x1387ae);}function a0_0x598e(){const _0x103eb6=['486349SfruSQ','large','722298aPlwyQ','tMenu','4556880FjUBrp','value','ox-grid-header','6074264aNWRaS','dispatchEvent','stopPropagation','select_item','6395319hqJRdd','querySelector','1398xgNEhG','name','change','1251872UWsyGi','options','12OarLKF','tTitle','[name=\x22','nameField','27965pnomuF','renderRoot','filter-change','selectorName','form\x20[name=\x22'];a0_0x598e=function(){return _0x103eb6;};return a0_0x598e();}
@@ -1,16 +1,16 @@
1
- (function(_0x4f2e1e,_0x439d4c){const _0x183c57=a0_0x2f88,_0x4da680=_0x4f2e1e();while(!![]){try{const _0x1b6d53=-parseInt(_0x183c57(0x1bb))/0x1*(parseInt(_0x183c57(0x1c3))/0x2)+-parseInt(_0x183c57(0x1bc))/0x3+-parseInt(_0x183c57(0x1bd))/0x4+parseInt(_0x183c57(0x1d7))/0x5*(parseInt(_0x183c57(0x1cd))/0x6)+-parseInt(_0x183c57(0x1cc))/0x7+parseInt(_0x183c57(0x1c9))/0x8*(-parseInt(_0x183c57(0x1cf))/0x9)+parseInt(_0x183c57(0x1be))/0xa;if(_0x1b6d53===_0x439d4c)break;else _0x4da680['push'](_0x4da680['shift']());}catch(_0x17ddb5){_0x4da680['push'](_0x4da680['shift']());}}}(a0_0x312c,0xd84c5));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x2f88(_0x31fa7c,_0x4376fd){const _0x312c6e=a0_0x312c();return a0_0x2f88=function(_0x2f881c,_0x24f2a7){_0x2f881c=_0x2f881c-0x1bb;let _0x40c9b0=_0x312c6e[_0x2f881c];return _0x40c9b0;},a0_0x2f88(_0x31fa7c,_0x4376fd);}import{TermsUtil}from'./../../utils/terms-util';function a0_0x312c(){const _0x28ee88=['name','toLowerCase','form\x20[name=\x22','6000536QGyPwd','target','filter','11240089nyJBiC','6ohOADh','[name=\x22','9tEvJqG','dispField','codes','options','select_item','tMenu','filter-change','change','1868960IIWlsC','record','display','length','stopPropagation','querySelector','15ZjlqXQ','641292fRIyYX','180672lQDPrd','46925160GGAkAH','value','renderRoot','dispatchEvent','codeField','208750IjRBFk','large','selectorName'];a0_0x312c=function(){return _0x28ee88;};return a0_0x312c();}function openMetaCodeSelector(_0x3b6981,_0x59dce0,_0x3e1cd4){const _0x164a61=a0_0x2f88;var _0x4b4e52=html`
1
+ function a0_0x19d7(){const _0x34780e=['options','filter-change','selectorName','11689290clSsaK','ox-grid-header','6dFYGiS','tMenu','record','codes','renderRoot','dispField','querySelector','dispatchEvent','name','6bXRtmw','value','filter','6668245mFWnQC','352072WPRLSq','target','display','change','tTitle','538488BMtVnA','841400eAMVzO','large','9815680WZNxBH','1301406TwncqT'];a0_0x19d7=function(){return _0x34780e;};return a0_0x19d7();}(function(_0x3e0d6f,_0x20bf48){const _0x807ed7=a0_0x2548,_0x597418=_0x3e0d6f();while(!![]){try{const _0xe6c836=parseInt(_0x807ed7(0x183))/0x1+-parseInt(_0x807ed7(0x186))/0x2*(parseInt(_0x807ed7(0x179))/0x3)+-parseInt(_0x807ed7(0x182))/0x4+parseInt(_0x807ed7(0x17c))/0x5*(-parseInt(_0x807ed7(0x18c))/0x6)+parseInt(_0x807ed7(0x185))/0x7+-parseInt(_0x807ed7(0x17d))/0x8+parseInt(_0x807ed7(0x18a))/0x9;if(_0xe6c836===_0x20bf48)break;else _0x597418['push'](_0x597418['shift']());}catch(_0x18f59d){_0x597418['push'](_0x597418['shift']());}}}(a0_0x19d7,0xb1ebc));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaCodeSelector(_0x5a4888,_0x1eac95,_0xcde172){const _0x387b81=a0_0x2548;var _0x3a6269=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x59dce0}
4
- .options=${_0x3b6981[_0x164a61(0x1d8)][_0x164a61(0x1d2)]}
5
- .confirmCallback=${_0x3e1cd4}
3
+ .value=${_0x1eac95}
4
+ .options=${_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)]}
5
+ .confirmCallback=${_0xcde172}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x4b4e52,{'backdrop':!0x0,'size':_0x164a61(0x1c4),'title':_0x3b6981['record'][_0x164a61(0x1d2)][_0x164a61(0x1c5)]?TermsUtil[_0x164a61(0x1d4)](_0x3b6981[_0x164a61(0x1d8)]['options'][_0x164a61(0x1c5)]):TermsUtil['tTitle'](_0x164a61(0x1d3))});}export const FilterGristMetaCodeSelect=(_0x4137d5,_0x1f0d3d,_0x3d2ab6)=>{const _0x12eac4=a0_0x2f88,_0xd8125d=_0x4137d5[_0x12eac4(0x1cb)],_0xdbafd4=_0x4137d5[_0x12eac4(0x1d8)]['options'],_0xcb5a32=_0xdbafd4[_0x12eac4(0x1d1)]&&_0xdbafd4[_0x12eac4(0x1d1)]['length']>0x0?_0xdbafd4[_0x12eac4(0x1d1)]:void 0x0,{operator:_0x47fd70='eq'}=_0xd8125d;let _0x58742d=_0x1f0d3d||'',_0x116884=_0x1f0d3d||'';if(_0xdbafd4['dispField']&&_0x1f0d3d&&_0xcb5a32){let _0x1ea02e=_0xcb5a32['filter'](_0x55a7ef=>_0x55a7ef[_0x12eac4(0x1bf)]==_0x1f0d3d);_0x1ea02e&&_0x1ea02e[_0x12eac4(0x1da)]>0x0&&(_0x116884=_0x1ea02e[0x0][_0x12eac4(0x1d9)]);}return'eq'===_0x47fd70?html`
8
- <input name='${_0x4137d5[_0x12eac4(0x1c6)]}' .value=${_0x58742d} type="text" hidden></input>
7
+ `;openPopup(_0x3a6269,{'backdrop':!0x0,'size':_0x387b81(0x184),'title':_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)][_0x387b81(0x189)]?TermsUtil[_0x387b81(0x18d)](_0x5a4888[_0x387b81(0x18e)][_0x387b81(0x187)][_0x387b81(0x189)]):TermsUtil[_0x387b81(0x181)]('select_item')});}function a0_0x2548(_0x33aaba,_0x4b5c8a){const _0x19d758=a0_0x19d7();return a0_0x2548=function(_0x25487d,_0x22f81a){_0x25487d=_0x25487d-0x173;let _0x596050=_0x19d758[_0x25487d];return _0x596050;},a0_0x2548(_0x33aaba,_0x4b5c8a);}export const FilterGristMetaCodeSelect=(_0x99b6ae,_0x52132b,_0x2614a2)=>{const _0x240f4d=a0_0x2548,_0x46e9e7=_0x99b6ae[_0x240f4d(0x17b)],_0x58d388=_0x99b6ae['record'][_0x240f4d(0x187)],_0x5c5cf0=_0x58d388['codes']&&_0x58d388[_0x240f4d(0x173)]['length']>0x0?_0x58d388[_0x240f4d(0x173)]:void 0x0,{operator:_0x43e1b7='eq'}=_0x46e9e7;let _0x1e804c=_0x52132b||'',_0x39dffd=_0x52132b||'';if(_0x58d388['dispField']&&_0x52132b&&_0x5c5cf0){let _0x52f302=_0x5c5cf0[_0x240f4d(0x17b)](_0x296001=>_0x296001[_0x240f4d(0x17a)]==_0x52132b);_0x52f302&&_0x52f302['length']>0x0&&(_0x39dffd=_0x52f302[0x0][_0x240f4d(0x17f)]);}return'eq'===_0x43e1b7?html`
8
+ <input name='${_0x99b6ae['name']}' .value=${_0x1e804c} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x4137d5[_0x12eac4(0x1c6)]}_disp'
13
- .value=${_0x116884}
14
- @click=${_0x5d1e21=>{const _0x1982d3=_0x12eac4;_0x5d1e21[_0x1982d3(0x1db)]();const _0x3c7ca6=_0x5d1e21[_0x1982d3(0x1ca)];openMetaCodeSelector(_0x4137d5,_0x1f0d3d,_0x6f8ea7=>{const _0xdf76ee=_0x1982d3;let _0x23a172=_0x6f8ea7?_0x6f8ea7[_0xdbafd4[_0xdf76ee(0x1c2)]]:'',_0x59f219=_0x23a172;_0x6f8ea7&&_0xdbafd4['dispField']&&(_0x59f219=_0x6f8ea7[_0xdbafd4[_0xdf76ee(0x1d0)]]),_0x3c7ca6[_0xdf76ee(0x1bf)]=_0x59f219,('ox-grid-header'==_0x3d2ab6['tagName'][_0xdf76ee(0x1c7)]()?_0x3d2ab6['renderRoot'][_0xdf76ee(0x1dc)](_0xdf76ee(0x1ce)+_0xd8125d[_0xdf76ee(0x1c6)]+'\x22]'):_0x3d2ab6[_0xdf76ee(0x1c0)][_0xdf76ee(0x1dc)](_0xdf76ee(0x1c8)+_0xd8125d[_0xdf76ee(0x1c6)]+'\x22]'))[_0xdf76ee(0x1bf)]=_0x23a172,_0x3c7ca6[_0xdf76ee(0x1c1)](new Event(_0xdf76ee(0x1d6),{'bubbles':!0x0})),_0x3c7ca6[_0xdf76ee(0x1c1)](new CustomEvent(_0xdf76ee(0x1d5),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4137d5[_0xdf76ee(0x1c6)],'operator':_0x47fd70,'value':_0x23a172}}));});}}
12
+ name='${_0x99b6ae[_0x240f4d(0x178)]}_disp'
13
+ .value=${_0x39dffd}
14
+ @click=${_0x4b3fe9=>{const _0x2d9240=_0x240f4d;_0x4b3fe9['stopPropagation']();const _0x5ad3c4=_0x4b3fe9[_0x2d9240(0x17e)];openMetaCodeSelector(_0x99b6ae,_0x52132b,_0x344594=>{const _0xa8061a=_0x2d9240;let _0x4af005=_0x344594?_0x344594[_0x58d388['codeField']]:'',_0x4d8b7b=_0x4af005;_0x344594&&_0x58d388[_0xa8061a(0x175)]&&(_0x4d8b7b=_0x344594[_0x58d388[_0xa8061a(0x175)]]),_0x5ad3c4[_0xa8061a(0x17a)]=_0x4d8b7b,(_0xa8061a(0x18b)==_0x2614a2['tagName']['toLowerCase']()?_0x2614a2['renderRoot'][_0xa8061a(0x176)]('[name=\x22'+_0x46e9e7[_0xa8061a(0x178)]+'\x22]'):_0x2614a2[_0xa8061a(0x174)]['querySelector']('form\x20[name=\x22'+_0x46e9e7[_0xa8061a(0x178)]+'\x22]'))[_0xa8061a(0x17a)]=_0x4af005,_0x5ad3c4[_0xa8061a(0x177)](new Event(_0xa8061a(0x180),{'bubbles':!0x0})),_0x5ad3c4[_0xa8061a(0x177)](new CustomEvent(_0xa8061a(0x188),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x99b6ae['name'],'operator':_0x43e1b7,'value':_0x4af005}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- function a0_0x3842(_0x1cb322,_0x307630){const _0x2d9c82=a0_0x2d9c();return a0_0x3842=function(_0x384245,_0x1fa627){_0x384245=_0x384245-0x161;let _0x5b1752=_0x2d9c82[_0x384245];return _0x5b1752;},a0_0x3842(_0x1cb322,_0x307630);}(function(_0x4490d0,_0x1b77da){const _0x14a691=a0_0x3842,_0x3f85b0=_0x4490d0();while(!![]){try{const _0x144788=-parseInt(_0x14a691(0x16c))/0x1*(parseInt(_0x14a691(0x16e))/0x2)+parseInt(_0x14a691(0x16f))/0x3+-parseInt(_0x14a691(0x16d))/0x4+-parseInt(_0x14a691(0x176))/0x5+parseInt(_0x14a691(0x175))/0x6*(parseInt(_0x14a691(0x179))/0x7)+parseInt(_0x14a691(0x164))/0x8+parseInt(_0x14a691(0x17d))/0x9;if(_0x144788===_0x1b77da)break;else _0x3f85b0['push'](_0x3f85b0['shift']());}catch(_0x5f0fc9){_0x3f85b0['push'](_0x3f85b0['shift']());}}}(a0_0x2d9c,0x2ed77));import'../selector/meta-object-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x13f616,_0x2ca8c3,_0x4c91be){const _0x5a879f=a0_0x3842;var _0x529ee8=html`
1
+ (function(_0x322829,_0x291bc1){const _0x40ef03=a0_0x1699,_0x5cb88d=_0x322829();while(!![]){try{const _0x54b020=parseInt(_0x40ef03(0xde))/0x1*(parseInt(_0x40ef03(0xd4))/0x2)+parseInt(_0x40ef03(0xe3))/0x3+-parseInt(_0x40ef03(0xda))/0x4*(parseInt(_0x40ef03(0xd6))/0x5)+parseInt(_0x40ef03(0xe2))/0x6*(-parseInt(_0x40ef03(0xe7))/0x7)+parseInt(_0x40ef03(0xe9))/0x8+parseInt(_0x40ef03(0xcf))/0x9*(parseInt(_0x40ef03(0xe6))/0xa)+-parseInt(_0x40ef03(0xdb))/0xb;if(_0x54b020===_0x291bc1)break;else _0x5cb88d['push'](_0x5cb88d['shift']());}catch(_0x513022){_0x5cb88d['push'](_0x5cb88d['shift']());}}}(a0_0x77aa,0xea2d7));import'../selector/meta-object-selector-popup';function a0_0x77aa(){const _0x940294=['198MjJzUi','value','form\x20[name=\x22','nameField','record','13380Vstnuk','change','5653015GawbMI','toLowerCase','tMenu','ox-grid-header','4nHpQfs','17249463IJTvNb','stopPropagation','name','262AenSFr','tagName','select_item','filter-change','6mmhuUq','4471767jJakOi','querySelector','options','510410aLTyte','6940703ouSFhg','[name=\x22','2265480scTTBn','tTitle','large','filter','dispatchEvent'];a0_0x77aa=function(){return _0x940294;};return a0_0x77aa();}import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openMetaObjectSelector(_0x46d595,_0x1bb5f8,_0x43882b){const _0x2f245c=a0_0x1699;var _0x231fcc=html`
2
2
  <meta-object-selector-popup
3
- .value=${_0x2ca8c3}
4
- .options=${_0x13f616[_0x5a879f(0x173)][_0x5a879f(0x171)]}
5
- .confirmCallback=${_0x4c91be}
3
+ .value=${_0x1bb5f8}
4
+ .options=${_0x46d595[_0x2f245c(0xd3)]['options']}
5
+ .confirmCallback=${_0x43882b}
6
6
  ></meta-object-selector-popup>
7
- `;openPopup(_0x529ee8,{'backdrop':!0x0,'size':_0x5a879f(0x167),'title':_0x13f616['record'][_0x5a879f(0x171)][_0x5a879f(0x174)]?TermsUtil[_0x5a879f(0x17b)](_0x13f616[_0x5a879f(0x173)]['options'][_0x5a879f(0x174)]):TermsUtil['tTitle'](_0x5a879f(0x168))});}export const FilterGristMetaObjectSelect=(_0x2430f8,_0x351e41,_0x31323d)=>{const _0x1f4a68=a0_0x3842,_0x330257=_0x2430f8[_0x1f4a68(0x163)],{operator:_0x5dc667='eq'}=_0x330257,_0x4024b1=_0x2430f8[_0x1f4a68(0x173)][_0x1f4a68(0x171)];let _0x33ca6d=_0x351e41?_0x351e41['id']:'',_0x47ab76=_0x351e41?_0x351e41[_0x4024b1[_0x1f4a68(0x178)]]:'';return'eq'===_0x5dc667?html`
8
- <input name='${_0x2430f8[_0x1f4a68(0x16b)]}' .value=${_0x33ca6d} type="text" hidden></input>
7
+ `;openPopup(_0x231fcc,{'backdrop':!0x0,'size':_0x2f245c(0xeb),'title':_0x46d595[_0x2f245c(0xd3)][_0x2f245c(0xe5)]['selectorName']?TermsUtil[_0x2f245c(0xd8)](_0x46d595[_0x2f245c(0xd3)][_0x2f245c(0xe5)]['selectorName']):TermsUtil[_0x2f245c(0xea)](_0x2f245c(0xe0))});}function a0_0x1699(_0x3d28aa,_0x23593d){const _0x77aad0=a0_0x77aa();return a0_0x1699=function(_0x16991f,_0x303867){_0x16991f=_0x16991f-0xcd;let _0x585d27=_0x77aad0[_0x16991f];return _0x585d27;},a0_0x1699(_0x3d28aa,_0x23593d);}export const FilterGristMetaObjectSelect=(_0x1d0761,_0x400f2e,_0xaec491)=>{const _0xfcc144=a0_0x1699,_0x549560=_0x1d0761[_0xfcc144(0xcd)],{operator:_0x19c1f0='eq'}=_0x549560,_0x4d249a=_0x1d0761[_0xfcc144(0xd3)][_0xfcc144(0xe5)];let _0x1f64ed=_0x400f2e?_0x400f2e['id']:'',_0x4de7a6=_0x400f2e?_0x400f2e[_0x4d249a[_0xfcc144(0xd2)]]:'';return'eq'===_0x19c1f0?html`
8
+ <input name='${_0x1d0761[_0xfcc144(0xdd)]}' .value=${_0x1f64ed} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x2430f8['name']}_disp'
13
- .value=${_0x47ab76}
14
- @click=${_0x677ccc=>{const _0x48ce5e=_0x1f4a68;_0x677ccc[_0x48ce5e(0x162)]();const _0x5adbcd=_0x677ccc[_0x48ce5e(0x166)];openMetaObjectSelector(_0x2430f8,_0x351e41,_0x5ce915=>{const _0x172e14=_0x48ce5e;let _0x47ed46=_0x5ce915?_0x5ce915['id']:'',_0x207186=_0x5ce915?_0x5ce915[_0x4024b1[_0x172e14(0x178)]]:'';_0x5adbcd[_0x172e14(0x16a)]=_0x207186,('ox-grid-header'==_0x31323d[_0x172e14(0x177)][_0x172e14(0x17a)]()?_0x31323d[_0x172e14(0x169)][_0x172e14(0x165)](_0x172e14(0x17c)+_0x330257[_0x172e14(0x16b)]+'\x22]'):_0x31323d[_0x172e14(0x169)][_0x172e14(0x165)]('form\x20[name=\x22'+_0x330257[_0x172e14(0x16b)]+'\x22]'))[_0x172e14(0x16a)]=_0x47ed46,_0x5adbcd[_0x172e14(0x170)](new Event(_0x172e14(0x172),{'bubbles':!0x0})),_0x5adbcd[_0x172e14(0x170)](new CustomEvent(_0x172e14(0x161),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2430f8[_0x172e14(0x16b)],'operator':_0x5dc667,'value':_0x47ed46}}));});}}
12
+ name='${_0x1d0761[_0xfcc144(0xdd)]}_disp'
13
+ .value=${_0x4de7a6}
14
+ @click=${_0x563cf4=>{const _0x3c2d45=_0xfcc144;_0x563cf4[_0x3c2d45(0xdc)]();const _0x3a0be7=_0x563cf4['target'];openMetaObjectSelector(_0x1d0761,_0x400f2e,_0x320435=>{const _0x63a631=_0x3c2d45;let _0x54e4e1=_0x320435?_0x320435['id']:'',_0x3eb34a=_0x320435?_0x320435[_0x4d249a[_0x63a631(0xd2)]]:'';_0x3a0be7['value']=_0x3eb34a,(_0x63a631(0xd9)==_0xaec491[_0x63a631(0xdf)][_0x63a631(0xd7)]()?_0xaec491['renderRoot']['querySelector'](_0x63a631(0xe8)+_0x549560[_0x63a631(0xdd)]+'\x22]'):_0xaec491['renderRoot'][_0x63a631(0xe4)](_0x63a631(0xd1)+_0x549560[_0x63a631(0xdd)]+'\x22]'))[_0x63a631(0xd0)]=_0x54e4e1,_0x3a0be7[_0x63a631(0xce)](new Event(_0x63a631(0xd5),{'bubbles':!0x0})),_0x3a0be7[_0x63a631(0xce)](new CustomEvent(_0x63a631(0xe1),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1d0761['name'],'operator':_0x19c1f0,'value':_0x54e4e1}}));});}}
15
15
  />
16
- `:html``;};function a0_0x2d9c(){const _0x185d08=['3084237qoPRib','filter-change','stopPropagation','filter','963576cuOami','querySelector','target','large','select_item','renderRoot','value','name','1UDaIpa','440140yWIbDa','583634ZzZphs','116130MzttIv','dispatchEvent','options','change','record','selectorName','18KTvUgT','517745UFcMQJ','tagName','nameField','455966fmBlNw','toLowerCase','tMenu','[name=\x22'];a0_0x2d9c=function(){return _0x185d08;};return a0_0x2d9c();}
16
+ `:html``;};
@@ -1,9 +1,9 @@
1
- const a0_0x17b900=a0_0x1e82;(function(_0xae82d8,_0x46d631){const _0x22507e=a0_0x1e82,_0x1ae0d3=_0xae82d8();while(!![]){try{const _0x51e8f7=-parseInt(_0x22507e(0x1e4))/0x1+-parseInt(_0x22507e(0x1e9))/0x2*(-parseInt(_0x22507e(0x1ef))/0x3)+-parseInt(_0x22507e(0x1d8))/0x4+parseInt(_0x22507e(0x1e3))/0x5*(parseInt(_0x22507e(0x1de))/0x6)+parseInt(_0x22507e(0x1d7))/0x7*(-parseInt(_0x22507e(0x1d4))/0x8)+parseInt(_0x22507e(0x1e5))/0x9+parseInt(_0x22507e(0x1d5))/0xa*(parseInt(_0x22507e(0x1ed))/0xb);if(_0x51e8f7===_0x46d631)break;else _0x1ae0d3['push'](_0x1ae0d3['shift']());}catch(_0x56cfca){_0x1ae0d3['push'](_0x1ae0d3['shift']());}}}(a0_0x99b5,0xc8231));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x17b900(0x1ea)](){const _0x11d863=a0_0x17b900;let _0x356a93='';if(this[_0x11d863(0x1e1)][_0x11d863(0x1f6)]&&this[_0x11d863(0x1e1)]['record']['options']){if(this[_0x11d863(0x1e1)][_0x11d863(0x1f6)][_0x11d863(0x1eb)][_0x11d863(0x1f1)]){let _0x2b225f=this[_0x11d863(0x1e1)][_0x11d863(0x1f6)][_0x11d863(0x1eb)]['codes']||[];if(this[_0x11d863(0x1e8)]&&this[_0x11d863(0x1e8)][_0x11d863(0x1e0)]>0x0){let _0x3d2dad=_0x2b225f[_0x11d863(0x1e7)](_0x1d157e=>_0x1d157e[_0x11d863(0x1e8)]===this[_0x11d863(0x1e8)]);_0x356a93=_0x3d2dad&&_0x3d2dad['length']>0x0?_0x3d2dad[0x0][_0x11d863(0x1e6)]:'';}}else _0x356a93=this[_0x11d863(0x1e8)];}else _0x356a93='';return html`
2
- ${_0x356a93?html` <span tabindex="0" style="flex:1">${_0x356a93}</span> `:html`<span tabindex="0"></span>`}
3
- `;}async['firstUpdated'](){super['firstUpdated']();}['_onclick'](_0x42b5dc){const _0xef873b=a0_0x17b900;_0x42b5dc[_0xef873b(0x1dd)](),this[_0xef873b(0x1da)]();}['_onkeydown'](_0xb49171){const _0x32e902=a0_0x17b900;_0x32e902(0x1d9)==_0xb49171[_0x32e902(0x1f4)]&&(_0xb49171[_0x32e902(0x1dd)](),this[_0x32e902(0x1da)]());}[a0_0x17b900(0x1da)](){const _0x2169dc=a0_0x17b900;this[_0x2169dc(0x1f5)]&&delete this[_0x2169dc(0x1f5)];var {selectorName:_0x2cd659=TermsUtil[_0x2169dc(0x1e2)](_0x2169dc(0x1f7))}=this['column'][_0x2169dc(0x1f6)]['options']||{},_0x3988cd=html`
1
+ const a0_0x413564=a0_0x4a1c;(function(_0x7673cf,_0x590857){const _0x4f4452=a0_0x4a1c,_0x441bc7=_0x7673cf();while(!![]){try{const _0xa5550f=-parseInt(_0x4f4452(0xb8))/0x1*(-parseInt(_0x4f4452(0xb6))/0x2)+-parseInt(_0x4f4452(0xbb))/0x3*(-parseInt(_0x4f4452(0xc6))/0x4)+parseInt(_0x4f4452(0xbf))/0x5*(-parseInt(_0x4f4452(0xc8))/0x6)+parseInt(_0x4f4452(0xc3))/0x7+parseInt(_0x4f4452(0xb2))/0x8+-parseInt(_0x4f4452(0xad))/0x9+-parseInt(_0x4f4452(0xcf))/0xa;if(_0xa5550f===_0x590857)break;else _0x441bc7['push'](_0x441bc7['shift']());}catch(_0x54bcdd){_0x441bc7['push'](_0x441bc7['shift']());}}}(a0_0x1041,0x657a4));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x4a1c(_0x2322e9,_0x338154){const _0x104116=a0_0x1041();return a0_0x4a1c=function(_0x4a1cdb,_0x472f3d){_0x4a1cdb=_0x4a1cdb-0xab;let _0x3fa00c=_0x104116[_0x4a1cdb];return _0x3fa00c;},a0_0x4a1c(_0x2322e9,_0x338154);}function a0_0x1041(){const _0x4d1bca=['4CxZfkH','filter','60ioLAUS','row','define','large','display','column','value','2129940XqKVRy','tMenu','forEach','dispatchEvent','3605922XukbTA','record','popup','_onclick','codeField','2241832PPTyWc','length','key','keys','22856CxQGnv','dispField','11SNPXBi','openSelector','properties','1132845CQfcyM','field-change','Enter','codes','38905utegHu','options','editorTemplate','select_item','2264934ykWeXS','push','firstUpdated'];a0_0x1041=function(){return _0x4d1bca;};return a0_0x1041();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';export class GristEditorMetaCodeSelector extends OxGristEditor{static get[a0_0x413564(0xba)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x413564(0xc1)](){const _0x53308b=a0_0x413564;let _0x4c92cb='';if(this[_0x53308b(0xcd)][_0x53308b(0xae)]&&this[_0x53308b(0xcd)][_0x53308b(0xae)]['options']){if(this[_0x53308b(0xcd)][_0x53308b(0xae)]['options'][_0x53308b(0xb7)]){let _0x12969d=this[_0x53308b(0xcd)][_0x53308b(0xae)]['options'][_0x53308b(0xbe)]||[];if(this[_0x53308b(0xce)]&&this[_0x53308b(0xce)][_0x53308b(0xb3)]>0x0){let _0x238fe1=_0x12969d[_0x53308b(0xc7)](_0x55c74a=>_0x55c74a[_0x53308b(0xce)]===this[_0x53308b(0xce)]);_0x4c92cb=_0x238fe1&&_0x238fe1[_0x53308b(0xb3)]>0x0?_0x238fe1[0x0][_0x53308b(0xcc)]:'';}}else _0x4c92cb=this[_0x53308b(0xce)];}else _0x4c92cb='';return html`
2
+ ${_0x4c92cb?html` <span tabindex="0" style="flex:1">${_0x4c92cb}</span> `:html`<span tabindex="0"></span>`}
3
+ `;}async[a0_0x413564(0xc5)](){const _0x4e5501=a0_0x413564;super[_0x4e5501(0xc5)]();}[a0_0x413564(0xb0)](_0xb612d2){const _0x224b97=a0_0x413564;_0xb612d2['stopPropagation'](),this[_0x224b97(0xb9)]();}['_onkeydown'](_0x5afe8c){const _0x48fcc4=a0_0x413564;_0x48fcc4(0xbd)==_0x5afe8c[_0x48fcc4(0xb4)]&&(_0x5afe8c['stopPropagation'](),this[_0x48fcc4(0xb9)]());}[a0_0x413564(0xb9)](){const _0x1ba3aa=a0_0x413564;this[_0x1ba3aa(0xaf)]&&delete this['popup'];var {selectorName:_0x15c753=TermsUtil['tTitle'](_0x1ba3aa(0xc2))}=this[_0x1ba3aa(0xcd)][_0x1ba3aa(0xae)]['options']||{},_0x9d4ee6=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x2169dc(0x1e8)]}
6
- .options=${this[_0x2169dc(0x1e1)][_0x2169dc(0x1f6)]['options']}
7
- .confirmCallback=${(_0x51bfba=>{const _0x5d795b=_0x2169dc;let _0x475b59=this['column'][_0x5d795b(0x1f6)][_0x5d795b(0x1eb)][_0x5d795b(0x1ec)],_0x480f68=this['column']['record'][_0x5d795b(0x1eb)]['dispField'],_0x2b5ee8=this[_0x5d795b(0x1e1)][_0x5d795b(0x1f6)]['options'][_0x5d795b(0x1d6)]||{};if(this[_0x5d795b(0x1e1)][_0x5d795b(0x1f6)][_0x5d795b(0x1eb)][_0x5d795b(0x1f3)]||(this[_0x5d795b(0x1e1)]['record'][_0x5d795b(0x1eb)][_0x5d795b(0x1f3)]=[]),_0x51bfba){let _0x1d5bb4=this['column'][_0x5d795b(0x1f6)]['options']['codes'][_0x5d795b(0x1e7)](_0x222fb4=>_0x222fb4[_0x5d795b(0x1e8)]==_0x51bfba[_0x475b59]);_0x1d5bb4&&0x0!=_0x1d5bb4[_0x5d795b(0x1e0)]||this[_0x5d795b(0x1e1)][_0x5d795b(0x1f6)][_0x5d795b(0x1eb)][_0x5d795b(0x1f3)][_0x5d795b(0x1f8)]({'value':_0x51bfba[_0x475b59],'display':_0x51bfba[_0x480f68]});}this['dispatchEvent'](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x51bfba?_0x51bfba[_0x475b59]:null,'record':this[_0x5d795b(0x1f6)],'column':this[_0x5d795b(0x1e1)],'row':this[_0x5d795b(0x1ee)]}})),Object['keys'](_0x2b5ee8)[_0x5d795b(0x1f2)](_0x5cc0e8=>{const _0x3b6f54=_0x5d795b;this['dispatchEvent'](new CustomEvent(_0x3b6f54(0x1f0),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3b6f54(0x1f6)][_0x2b5ee8[_0x5cc0e8]],'after':_0x51bfba?_0x51bfba[_0x5cc0e8]:null,'record':this[_0x3b6f54(0x1f6)],'column':{'name':_0x2b5ee8[_0x5cc0e8]},'row':this[_0x3b6f54(0x1ee)]}}));});})[_0x2169dc(0x1db)](this)}
5
+ .value=${this[_0x1ba3aa(0xce)]}
6
+ .options=${this[_0x1ba3aa(0xcd)][_0x1ba3aa(0xae)][_0x1ba3aa(0xc0)]}
7
+ .confirmCallback=${(_0x1eeeda=>{const _0x749ce3=_0x1ba3aa;let _0x6523c4=this['column'][_0x749ce3(0xae)]['options'][_0x749ce3(0xb1)],_0x268811=this['column'][_0x749ce3(0xae)]['options']['dispField'],_0x7ad42e=this[_0x749ce3(0xcd)][_0x749ce3(0xae)][_0x749ce3(0xc0)]['fieldMap']||{};if(this['column'][_0x749ce3(0xae)][_0x749ce3(0xc0)][_0x749ce3(0xbe)]||(this[_0x749ce3(0xcd)]['record'][_0x749ce3(0xc0)]['codes']=[]),_0x1eeeda){let _0x51822f=this['column'][_0x749ce3(0xae)][_0x749ce3(0xc0)][_0x749ce3(0xbe)]['filter'](_0x400d7b=>_0x400d7b['value']==_0x1eeeda[_0x6523c4]);_0x51822f&&0x0!=_0x51822f[_0x749ce3(0xb3)]||this[_0x749ce3(0xcd)]['record'][_0x749ce3(0xc0)][_0x749ce3(0xbe)][_0x749ce3(0xc4)]({'value':_0x1eeeda[_0x6523c4],'display':_0x1eeeda[_0x268811]});}this['dispatchEvent'](new CustomEvent(_0x749ce3(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1eeeda?_0x1eeeda[_0x6523c4]:null,'record':this['record'],'column':this['column'],'row':this[_0x749ce3(0xc9)]}})),Object[_0x749ce3(0xb5)](_0x7ad42e)[_0x749ce3(0xab)](_0x163d2e=>{const _0x4eb3ba=_0x749ce3;this[_0x4eb3ba(0xac)](new CustomEvent(_0x4eb3ba(0xbc),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x4eb3ba(0xae)][_0x7ad42e[_0x163d2e]],'after':_0x1eeeda?_0x1eeeda[_0x163d2e]:null,'record':this[_0x4eb3ba(0xae)],'column':{'name':_0x7ad42e[_0x163d2e]},'row':this[_0x4eb3ba(0xc9)]}}));});})['bind'](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this[_0x2169dc(0x1f5)]=openPopup(_0x3988cd,{'backdrop':!0x0,'size':_0x2169dc(0x1df),'title':TermsUtil['tMenu'](_0x2cd659)});}}function a0_0x1e82(_0x1b1e9f,_0xcd1bf){const _0x99b530=a0_0x99b5();return a0_0x1e82=function(_0x1e8201,_0x2dd4b4){_0x1e8201=_0x1e8201-0x1d4;let _0xa67202=_0x99b530[_0x1e8201];return _0xa67202;},a0_0x1e82(_0x1b1e9f,_0xcd1bf);}customElements[a0_0x17b900(0x1dc)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);function a0_0x99b5(){const _0x481593=['forEach','codes','key','popup','record','select_item','push','8hZpMBL','10445830ZDbwwV','fieldMap','8420188SMtLyE','3833960ukSOuf','Enter','openSelector','bind','define','stopPropagation','6UztrQM','large','length','column','tTitle','1012545zuoPMK','698034aZCCNT','9488898XeUwpr','display','filter','value','2755510cBpgCs','editorTemplate','options','codeField','11GvTsvn','row','3XomuTm','field-change','dispField'];a0_0x99b5=function(){return _0x481593;};return a0_0x99b5();}
9
+ `;this[_0x1ba3aa(0xaf)]=openPopup(_0x9d4ee6,{'backdrop':!0x0,'size':_0x1ba3aa(0xcb),'title':TermsUtil[_0x1ba3aa(0xd0)](_0x15c753)});}}customElements[a0_0x413564(0xca)]('grist-editor-meta-code-selector',GristEditorMetaCodeSelector);
@@ -1,9 +1,9 @@
1
- function a0_0x2dab(){var _0x18ea20=['dispatchEvent','_onclick','field-change','options','12DdsxlB','nameField','popup','1250523hRnRgr','record','tMenu','3178595AoTkXd','stopPropagation','key','Enter','select_item','4241664XLDZMz','bind','column','grist-editor-meta-object-selector','forEach','openSelector','define','editorTemplate','tTitle','value','_onkeydown','245527daVMrv','1186888EQQVJP','row','8557200nivkVs','1292130IQCfxU','keys'];a0_0x2dab=function(){return _0x18ea20;};return a0_0x2dab();}var a0_0x20c4f3=a0_0x1b0a;function a0_0x1b0a(_0x557a1f,_0x13c15b){var _0x2dab3b=a0_0x2dab();return a0_0x1b0a=function(_0x1b0a43,_0x43beef){_0x1b0a43=_0x1b0a43-0x1cf;var _0x6da3ce=_0x2dab3b[_0x1b0a43];return _0x6da3ce;},a0_0x1b0a(_0x557a1f,_0x13c15b);}(function(_0x117f65,_0x5d0666){var _0x68ac20=a0_0x1b0a,_0x1b52c5=_0x117f65();while(!![]){try{var _0x44eb2a=parseInt(_0x68ac20(0x1de))/0x1+parseInt(_0x68ac20(0x1df))/0x2+parseInt(_0x68ac20(0x1eb))/0x3+parseInt(_0x68ac20(0x1d3))/0x4+parseInt(_0x68ac20(0x1e2))/0x5+-parseInt(_0x68ac20(0x1e8))/0x6*(parseInt(_0x68ac20(0x1ee))/0x7)+-parseInt(_0x68ac20(0x1e1))/0x8;if(_0x44eb2a===_0x5d0666)break;else _0x1b52c5['push'](_0x1b52c5['shift']());}catch(_0x5b51c4){_0x1b52c5['push'](_0x1b52c5['shift']());}}}(a0_0x2dab,0x91b62));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 GristEditorMetaObjectSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x20c4f3(0x1da)](){var _0x4fa98a=a0_0x20c4f3;let _0xe2a67e='';return this[_0x4fa98a(0x1dc)]&&this[_0x4fa98a(0x1d5)][_0x4fa98a(0x1ec)][_0x4fa98a(0x1e7)]&&(_0xe2a67e=this['value'][this['column'][_0x4fa98a(0x1ec)]['options'][_0x4fa98a(0x1e9)]]),html`
2
- ${this[_0x4fa98a(0x1dc)]?html` <span tabindex="0" style="flex:1">${_0xe2a67e}</span> `:html`<span tabindex="0">${_0xe2a67e}</span>`}
3
- `;}async['firstUpdated'](){super['firstUpdated']();}[a0_0x20c4f3(0x1e5)](_0x5d93a8){var _0x59ea69=a0_0x20c4f3;_0x5d93a8['stopPropagation'](),this[_0x59ea69(0x1d8)]();}[a0_0x20c4f3(0x1dd)](_0x3194a1){var _0x19359e=a0_0x20c4f3;_0x19359e(0x1d1)==_0x3194a1[_0x19359e(0x1d0)]&&(_0x3194a1[_0x19359e(0x1cf)](),this[_0x19359e(0x1d8)]());}[a0_0x20c4f3(0x1d8)](){var _0x2aa59a=a0_0x20c4f3;this[_0x2aa59a(0x1ea)]&&delete this[_0x2aa59a(0x1ea)];var {selectorName:_0x13769f=TermsUtil[_0x2aa59a(0x1db)](_0x2aa59a(0x1d2))}=this[_0x2aa59a(0x1d5)][_0x2aa59a(0x1ec)][_0x2aa59a(0x1e7)]||{},_0x21eaf7=html`
1
+ var a0_0x1cfbe3=a0_0x3203;(function(_0x5ee9c6,_0x21a661){var _0x5d7d01=a0_0x3203,_0x354362=_0x5ee9c6();while(!![]){try{var _0x3b5cee=parseInt(_0x5d7d01(0xe0))/0x1+-parseInt(_0x5d7d01(0xe5))/0x2+-parseInt(_0x5d7d01(0xd8))/0x3*(-parseInt(_0x5d7d01(0xe7))/0x4)+-parseInt(_0x5d7d01(0xeb))/0x5+-parseInt(_0x5d7d01(0xde))/0x6+parseInt(_0x5d7d01(0xf1))/0x7+-parseInt(_0x5d7d01(0xf0))/0x8*(-parseInt(_0x5d7d01(0xee))/0x9);if(_0x3b5cee===_0x21a661)break;else _0x354362['push'](_0x354362['shift']());}catch(_0x53d1b2){_0x354362['push'](_0x354362['shift']());}}}(a0_0x13ed,0x90eb9));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/meta-object-selector-popup';function a0_0x13ed(){var _0x317ffb=['column','large','2673920SlCaih','select_item','grist-editor-meta-object-selector','9nFcNYn','define','9562120xoVGmQ','2456650xbUjeq','tMenu','bind','field-change','options','record','openSelector','978HvjRVW','editorTemplate','forEach','firstUpdated','nameField','properties','6460386tocvHz','stopPropagation','797267EZuoUb','popup','_onkeydown','key','value','591012fhVXCO','row','1928JYrsiZ','tTitle'];a0_0x13ed=function(){return _0x317ffb;};return a0_0x13ed();}function a0_0x3203(_0x19a645,_0x41998d){var _0x13edec=a0_0x13ed();return a0_0x3203=function(_0x320360,_0x59fa6d){_0x320360=_0x320360-0xd2;var _0x555574=_0x13edec[_0x320360];return _0x555574;},a0_0x3203(_0x19a645,_0x41998d);}export class GristEditorMetaObjectSelector extends OxGristEditor{static get[a0_0x1cfbe3(0xdd)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x1cfbe3(0xd9)](){var _0x1cad60=a0_0x1cfbe3;let _0x3ac0aa='';return this['value']&&this[_0x1cad60(0xe9)][_0x1cad60(0xd6)][_0x1cad60(0xd5)]&&(_0x3ac0aa=this[_0x1cad60(0xe4)][this['column'][_0x1cad60(0xd6)][_0x1cad60(0xd5)][_0x1cad60(0xdc)]]),html`
2
+ ${this[_0x1cad60(0xe4)]?html` <span tabindex="0" style="flex:1">${_0x3ac0aa}</span> `:html`<span tabindex="0">${_0x3ac0aa}</span>`}
3
+ `;}async[a0_0x1cfbe3(0xdb)](){super['firstUpdated']();}['_onclick'](_0x4d8981){var _0x5d1ff8=a0_0x1cfbe3;_0x4d8981[_0x5d1ff8(0xdf)](),this[_0x5d1ff8(0xd7)]();}[a0_0x1cfbe3(0xe2)](_0x5c84e1){var _0x56a5d5=a0_0x1cfbe3;'Enter'==_0x5c84e1[_0x56a5d5(0xe3)]&&(_0x5c84e1['stopPropagation'](),this[_0x56a5d5(0xd7)]());}[a0_0x1cfbe3(0xd7)](){var _0x4e1ec5=a0_0x1cfbe3;this[_0x4e1ec5(0xe1)]&&delete this[_0x4e1ec5(0xe1)];var {selectorName:_0x1bb28d=TermsUtil[_0x4e1ec5(0xe8)](_0x4e1ec5(0xec))}=this[_0x4e1ec5(0xe9)]['record'][_0x4e1ec5(0xd5)]||{},_0x4f7ce8=html`
4
4
  <meta-object-selector-popup
5
- .value=${this[_0x2aa59a(0x1dc)]}
6
- .options=${this[_0x2aa59a(0x1d5)][_0x2aa59a(0x1ec)][_0x2aa59a(0x1e7)]}
7
- .confirmCallback=${(_0x22e140=>{var _0x53b024=_0x2aa59a;let _0x5e4810=this['column']['record'][_0x53b024(0x1e7)]['fieldMap']||{};this[_0x53b024(0x1e4)](new CustomEvent(_0x53b024(0x1e6),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x53b024(0x1dc)],'after':_0x22e140||null,'record':this[_0x53b024(0x1ec)],'column':this[_0x53b024(0x1d5)],'row':this[_0x53b024(0x1e0)]}})),Object[_0x53b024(0x1e3)](_0x5e4810)[_0x53b024(0x1d7)](_0xb838b=>{var _0x2311b4=_0x53b024;this['dispatchEvent'](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x2311b4(0x1ec)][_0x5e4810[_0xb838b]],'after':_0x22e140?_0x22e140[_0xb838b]:null,'record':this[_0x2311b4(0x1ec)],'column':{'name':_0x5e4810[_0xb838b]},'row':this[_0x2311b4(0x1e0)]}}));});})[_0x2aa59a(0x1d4)](this)}
5
+ .value=${this[_0x4e1ec5(0xe4)]}
6
+ .options=${this[_0x4e1ec5(0xe9)]['record'][_0x4e1ec5(0xd5)]}
7
+ .confirmCallback=${(_0xf7705=>{var _0x433e93=_0x4e1ec5;let _0x92528c=this['column']['record'][_0x433e93(0xd5)]['fieldMap']||{};this['dispatchEvent'](new CustomEvent(_0x433e93(0xd4),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x433e93(0xe4)],'after':_0xf7705||null,'record':this[_0x433e93(0xd6)],'column':this['column'],'row':this[_0x433e93(0xe6)]}})),Object['keys'](_0x92528c)[_0x433e93(0xda)](_0x4163d1=>{var _0x3cf6f5=_0x433e93;this['dispatchEvent'](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3cf6f5(0xd6)][_0x92528c[_0x4163d1]],'after':_0xf7705?_0xf7705[_0x4163d1]:null,'record':this['record'],'column':{'name':_0x92528c[_0x4163d1]},'row':this[_0x3cf6f5(0xe6)]}}));});})[_0x4e1ec5(0xd3)](this)}
8
8
  ></meta-object-selector-popup>
9
- `;this['popup']=openPopup(_0x21eaf7,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x2aa59a(0x1ed)](_0x13769f)});}}customElements[a0_0x20c4f3(0x1d9)](a0_0x20c4f3(0x1d6),GristEditorMetaObjectSelector);
9
+ `;this[_0x4e1ec5(0xe1)]=openPopup(_0x4f7ce8,{'backdrop':!0x0,'size':_0x4e1ec5(0xea),'title':TermsUtil[_0x4e1ec5(0xd2)](_0x1bb28d)});}}customElements[a0_0x1cfbe3(0xef)](a0_0x1cfbe3(0xed),GristEditorMetaObjectSelector);
@@ -1 +1 @@
1
- function a0_0x267a(_0x49a201,_0xa2dd62){const _0x45bbc7=a0_0x45bb();return a0_0x267a=function(_0x267a7f,_0xbed51d){_0x267a7f=_0x267a7f-0x134;let _0x3bccbc=_0x45bbc7[_0x267a7f];return _0x3bccbc;},a0_0x267a(_0x49a201,_0xa2dd62);}(function(_0x4241a6,_0x19e2b7){const _0x3bc00e=a0_0x267a,_0x2f31ab=_0x4241a6();while(!![]){try{const _0x42b9eb=parseInt(_0x3bc00e(0x13f))/0x1+parseInt(_0x3bc00e(0x143))/0x2*(-parseInt(_0x3bc00e(0x139))/0x3)+parseInt(_0x3bc00e(0x137))/0x4+-parseInt(_0x3bc00e(0x149))/0x5+-parseInt(_0x3bc00e(0x144))/0x6*(-parseInt(_0x3bc00e(0x148))/0x7)+parseInt(_0x3bc00e(0x134))/0x8*(parseInt(_0x3bc00e(0x13a))/0x9)+parseInt(_0x3bc00e(0x145))/0xa*(-parseInt(_0x3bc00e(0x135))/0xb);if(_0x42b9eb===_0x19e2b7)break;else _0x2f31ab['push'](_0x2f31ab['shift']());}catch(_0x1d2493){_0x2f31ab['push'](_0x2f31ab['shift']());}}}(a0_0x45bb,0x74ea0));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x45bb(){const _0x3a683c=['22130kKgxpp','options','removeAttribute','882ucWFlJ','2879860WSjbpj','8jdxJfj','5885MSpFiE','setAttribute','2822864nuGGxQ','record','3dCGamP','5696478DqrySW','value','data-tooltip','codes','length','567370YDzkpo','target','filter','textContent','290026uHttDl','22752dMcwbc'];a0_0x45bb=function(){return _0x3a683c;};return a0_0x45bb();}function onmouseover(_0x1e32c7){const _0x316f5a=a0_0x267a,_0x3bbef5=_0x1e32c7[_0x316f5a(0x140)];detectOverflow(_0x3bbef5)&&_0x3bbef5[_0x316f5a(0x136)](_0x316f5a(0x13c),_0x3bbef5[_0x316f5a(0x142)]);}function onmouseout(_0x5d9d4d){const _0x41dfc5=a0_0x267a;_0x5d9d4d[_0x41dfc5(0x140)][_0x41dfc5(0x147)](_0x41dfc5(0x13c));}export const GristRendererMetaCodeSelector=(_0x14cd29,_0x514d19,_0x243713,_0x362ea3,_0x27094d)=>{const _0x911917=a0_0x267a;let _0x5015dc='';if(_0x514d19[_0x911917(0x138)]&&_0x514d19[_0x911917(0x138)][_0x911917(0x146)]){if(_0x514d19[_0x911917(0x138)][_0x911917(0x146)]['dispField']){if(_0x514d19[_0x911917(0x138)][_0x911917(0x146)][_0x911917(0x13d)]||(_0x514d19[_0x911917(0x138)][_0x911917(0x146)][_0x911917(0x13d)]=[]),_0x14cd29&&_0x14cd29['length']>0x0){let _0x23e51f=_0x514d19['record'][_0x911917(0x146)][_0x911917(0x13d)][_0x911917(0x141)](_0x100c2a=>_0x100c2a[_0x911917(0x13b)]===_0x14cd29);_0x5015dc=_0x23e51f&&_0x23e51f[_0x911917(0x13e)]>0x0?_0x23e51f[0x0]['display']:_0x14cd29;}}else _0x5015dc=_0x14cd29;}else _0x5015dc='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5015dc}</span>`;};
1
+ (function(_0x2879d6,_0x744e7a){const _0x2008a7=a0_0x1d90,_0x12a036=_0x2879d6();while(!![]){try{const _0x152894=parseInt(_0x2008a7(0x6c))/0x1*(parseInt(_0x2008a7(0x79))/0x2)+-parseInt(_0x2008a7(0x82))/0x3*(parseInt(_0x2008a7(0x6b))/0x4)+parseInt(_0x2008a7(0x7f))/0x5*(-parseInt(_0x2008a7(0x6d))/0x6)+parseInt(_0x2008a7(0x81))/0x7*(parseInt(_0x2008a7(0x77))/0x8)+-parseInt(_0x2008a7(0x74))/0x9*(parseInt(_0x2008a7(0x75))/0xa)+-parseInt(_0x2008a7(0x76))/0xb*(parseInt(_0x2008a7(0x6f))/0xc)+-parseInt(_0x2008a7(0x7c))/0xd;if(_0x152894===_0x744e7a)break;else _0x12a036['push'](_0x12a036['shift']());}catch(_0x22b3a2){_0x12a036['push'](_0x12a036['shift']());}}}(a0_0x3109,0x5a8ca));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x1dc26f){const _0x4d79b5=a0_0x1d90,_0x16c87e=_0x1dc26f[_0x4d79b5(0x80)];detectOverflow(_0x16c87e)&&_0x16c87e[_0x4d79b5(0x7d)](_0x4d79b5(0x7e),_0x16c87e[_0x4d79b5(0x72)]);}function onmouseout(_0x267b72){const _0x70e965=a0_0x1d90;_0x267b72['target'][_0x70e965(0x78)](_0x70e965(0x7e));}function a0_0x1d90(_0x2cf389,_0x11c234){const _0x310903=a0_0x3109();return a0_0x1d90=function(_0x1d90d7,_0x5ad398){_0x1d90d7=_0x1d90d7-0x6b;let _0x400ac1=_0x310903[_0x1d90d7];return _0x400ac1;},a0_0x1d90(_0x2cf389,_0x11c234);}function a0_0x3109(){const _0x13c498=['record','2927379pySlLO','setAttribute','data-tooltip','20kltDGR','target','55531jSagMA','6FDLwUe','109448QKRpsk','13zDRXal','333228qDelNL','codes','164124DDrBva','options','value','textContent','length','1566mYmWjQ','6260jChTkn','66OodRNv','352wwcPxF','removeAttribute','109982AyxgjA','filter'];a0_0x3109=function(){return _0x13c498;};return a0_0x3109();}export const GristRendererMetaCodeSelector=(_0x59164d,_0x387e57,_0x31bcea,_0x14b999,_0x475128)=>{const _0x4314af=a0_0x1d90;let _0x24a7b3='';if(_0x387e57[_0x4314af(0x7b)]&&_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]){if(_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]['dispField']){if(_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)][_0x4314af(0x6e)]||(_0x387e57[_0x4314af(0x7b)]['options'][_0x4314af(0x6e)]=[]),_0x59164d&&_0x59164d['length']>0x0){let _0x9b0b2=_0x387e57[_0x4314af(0x7b)][_0x4314af(0x70)]['codes'][_0x4314af(0x7a)](_0x546aa6=>_0x546aa6[_0x4314af(0x71)]===_0x59164d);_0x24a7b3=_0x9b0b2&&_0x9b0b2[_0x4314af(0x73)]>0x0?_0x9b0b2[0x0]['display']:_0x59164d;}}else _0x24a7b3=_0x59164d;}else _0x24a7b3='';return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x24a7b3}</span>`;};
@@ -1 +1 @@
1
- function a0_0x4c20(_0xd5cbeb,_0x17220e){const _0x34299f=a0_0x3429();return a0_0x4c20=function(_0x4c204c,_0xdb1380){_0x4c204c=_0x4c204c-0x75;let _0x52cfbe=_0x34299f[_0x4c204c];return _0x52cfbe;},a0_0x4c20(_0xd5cbeb,_0x17220e);}(function(_0x419d00,_0x2ad3c1){const _0x1dcbc8=a0_0x4c20,_0x51c402=_0x419d00();while(!![]){try{const _0x4824dc=parseInt(_0x1dcbc8(0x7d))/0x1*(parseInt(_0x1dcbc8(0x85))/0x2)+parseInt(_0x1dcbc8(0x7c))/0x3+-parseInt(_0x1dcbc8(0x75))/0x4+-parseInt(_0x1dcbc8(0x80))/0x5+-parseInt(_0x1dcbc8(0x81))/0x6+-parseInt(_0x1dcbc8(0x79))/0x7*(-parseInt(_0x1dcbc8(0x7b))/0x8)+-parseInt(_0x1dcbc8(0x78))/0x9*(parseInt(_0x1dcbc8(0x83))/0xa);if(_0x4824dc===_0x2ad3c1)break;else _0x51c402['push'](_0x51c402['shift']());}catch(_0x11ff58){_0x51c402['push'](_0x51c402['shift']());}}}(a0_0x3429,0xa8a46));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3429(){const _0x1e0ec9=['4124886crBArf','251059KKJVUY','nameField','textContent','3513105uRtpQn','3598284eomiGT','setAttribute','380rczdBY','options','2EVKmeS','665232jaupYw','target','data-tooltip','114723bdxFuO','1022PGZBnf','removeAttribute','55768ApvLrE'];a0_0x3429=function(){return _0x1e0ec9;};return a0_0x3429();}function onmouseover(_0x1eead0){const _0x17266e=a0_0x4c20,_0x286692=_0x1eead0[_0x17266e(0x76)];detectOverflow(_0x286692)&&_0x286692[_0x17266e(0x82)](_0x17266e(0x77),_0x286692[_0x17266e(0x7f)]);}function onmouseout(_0x2a4912){const _0x44f065=a0_0x4c20;_0x2a4912['target'][_0x44f065(0x7a)](_0x44f065(0x77));}export const GristRendererMetaObjectSelector=(_0x362869,_0x21bc29,_0x333f02,_0x1023c8,_0x22a04c)=>{const _0x34b082=a0_0x4c20;let _0x3e409d='';return _0x362869&&_0x21bc29['record'][_0x34b082(0x84)]&&(_0x3e409d=_0x362869[_0x21bc29['record'][_0x34b082(0x84)][_0x34b082(0x7e)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x3e409d}</span>`;};
1
+ (function(_0x690259,_0x2e2128){const _0x561bfe=a0_0x1c80,_0x4cbc7f=_0x690259();while(!![]){try{const _0x3379da=parseInt(_0x561bfe(0x13c))/0x1+-parseInt(_0x561bfe(0x137))/0x2+parseInt(_0x561bfe(0x145))/0x3*(parseInt(_0x561bfe(0x13d))/0x4)+-parseInt(_0x561bfe(0x13a))/0x5+parseInt(_0x561bfe(0x13e))/0x6*(-parseInt(_0x561bfe(0x143))/0x7)+parseInt(_0x561bfe(0x13f))/0x8*(-parseInt(_0x561bfe(0x141))/0x9)+parseInt(_0x561bfe(0x13b))/0xa;if(_0x3379da===_0x2e2128)break;else _0x4cbc7f['push'](_0x4cbc7f['shift']());}catch(_0xa8def4){_0x4cbc7f['push'](_0x4cbc7f['shift']());}}}(a0_0x3cbe,0xc8046));import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x3cbe(){const _0x58f463=['nameField','textContent','7710235cSIVlJ','15858170RPeUwp','1564763zGSyFZ','8EGLwAU','1764auihKr','2752bvishA','record','14319uemVEV','options','4466eMNBre','removeAttribute','1489398AjEHiG','data-tooltip','target','setAttribute','2094638AIYKsK'];a0_0x3cbe=function(){return _0x58f463;};return a0_0x3cbe();}function onmouseover(_0x3eb8cd){const _0x455251=a0_0x1c80,_0x1e9360=_0x3eb8cd['target'];detectOverflow(_0x1e9360)&&_0x1e9360[_0x455251(0x136)](_0x455251(0x134),_0x1e9360[_0x455251(0x139)]);}function a0_0x1c80(_0x4f0623,_0x3308f6){const _0x3cbe1a=a0_0x3cbe();return a0_0x1c80=function(_0x1c80b9,_0x4d0f56){_0x1c80b9=_0x1c80b9-0x134;let _0x378732=_0x3cbe1a[_0x1c80b9];return _0x378732;},a0_0x1c80(_0x4f0623,_0x3308f6);}function onmouseout(_0x1544ea){const _0x189c4a=a0_0x1c80;_0x1544ea[_0x189c4a(0x135)][_0x189c4a(0x144)](_0x189c4a(0x134));}export const GristRendererMetaObjectSelector=(_0x5b9b16,_0x3ef40c,_0xd99915,_0x42aaac,_0x284c9a)=>{const _0x49e949=a0_0x1c80;let _0x152d5e='';return _0x5b9b16&&_0x3ef40c[_0x49e949(0x140)][_0x49e949(0x142)]&&(_0x152d5e=_0x5b9b16[_0x3ef40c['record'][_0x49e949(0x142)][_0x49e949(0x138)]]),html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x152d5e}</span>`;};
@@ -1,4 +1,4 @@
1
- const a0_0xf5aa52=a0_0x4a9a;(function(_0x31f34e,_0x404daf){const _0x2c0822=a0_0x4a9a,_0x115943=_0x31f34e();while(!![]){try{const _0x4b5b81=parseInt(_0x2c0822(0x1ec))/0x1*(-parseInt(_0x2c0822(0x1dc))/0x2)+parseInt(_0x2c0822(0x208))/0x3+-parseInt(_0x2c0822(0x20b))/0x4+-parseInt(_0x2c0822(0x1f9))/0x5+parseInt(_0x2c0822(0x1e8))/0x6*(-parseInt(_0x2c0822(0x1db))/0x7)+-parseInt(_0x2c0822(0x1cf))/0x8*(parseInt(_0x2c0822(0x210))/0x9)+parseInt(_0x2c0822(0x218))/0xa;if(_0x4b5b81===_0x404daf)break;else _0x115943['push'](_0x115943['shift']());}catch(_0x13d09d){_0x115943['push'](_0x115943['shift']());}}}(a0_0x14f0,0xd43ea));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x4a9a(_0x385f93,_0x483d81){const _0x14f029=a0_0x14f0();return a0_0x4a9a=function(_0x4a9ac9,_0x2bcef7){_0x4a9ac9=_0x4a9ac9-0x1ce;let _0x394dfc=_0x14f029[_0x4a9ac9];return _0x394dfc;},a0_0x4a9a(_0x385f93,_0x483d81);}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';function a0_0x14f0(){const _0x1ed693=['clickSelect','rows','getCodeSelectorData','record','38967240qZQaOg','options','empty','filters','184JaXgMP','meta-','firstUpdated','getGristMetaObjectOptions','meta-code-selector','search','appendable','select','name','fetchHandler','values','after_set_fields','5440162xBZPwB','994804BWSMkm','isArray','resource-code-selector','codes','tButton','filterFields','#ox-grist','bind','length','columns','basicArgs','NOTHING_SELECTED','6oFjOaA','left','clickEmpty','meta-object-selector','1EWzNkV','confirmCallback','type','push','meta-object-selector-popup','dispField','GRID','getSelectColumns','filter','render','search_hidden_fields','string','align','4377230ysTmCt','connectedCallback','nameField','queryName','getGristColumnConfig2','code','keys','gridConfig','forEach','getCodeByScenario','getGristGuttersConfig','startsWith','selectRecord','menu_template','hidden','3060411cSUfcD','includes','styles','6293968bbFIVw','object','getGristPagination100Config','querySelector','clickCancel','126783VQoZCu','codeField','sorters','args'];a0_0x14f0=function(){return _0x1ed693;};return a0_0x14f0();}import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0xf5aa52(0x20a)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x2bd141=a0_0x379e;(function(_0x36a116,_0x42ec6f){const _0x5de2f4=a0_0x379e,_0x1ff41a=_0x36a116();while(!![]){try{const _0x462930=-parseInt(_0x5de2f4(0x1a5))/0x1+-parseInt(_0x5de2f4(0x17c))/0x2+parseInt(_0x5de2f4(0x175))/0x3*(parseInt(_0x5de2f4(0x191))/0x4)+parseInt(_0x5de2f4(0x15a))/0x5+-parseInt(_0x5de2f4(0x197))/0x6+parseInt(_0x5de2f4(0x172))/0x7+-parseInt(_0x5de2f4(0x198))/0x8;if(_0x462930===_0x42ec6f)break;else _0x1ff41a['push'](_0x1ff41a['shift']());}catch(_0x4cb879){_0x1ff41a['push'](_0x1ff41a['shift']());}}}(a0_0x452e,0x1faa1));function a0_0x379e(_0x4cd2de,_0x147e6d){const _0x452ef3=a0_0x452e();return a0_0x379e=function(_0x379e55,_0x31a1a3){_0x379e55=_0x379e55-0x155;let _0x3a05d6=_0x452ef3[_0x379e55];return _0x3a05d6;},a0_0x379e(_0x4cd2de,_0x147e6d);}function a0_0x452e(){const _0x5d152e=['getCodeByScenario','searchByPagination','1771322OTjeAY','resource-object','define','31686KpTuDa','forEach','hidden','GRID','connectedCallback','codes','menu_template','288300QoiCGX','gridConfig','resource-code-selector','clickCancel','getSelectColumns','scenario','info','after_set_fields','grist','includes','align','meta-object-selector','push','tButton','selected','select-row-toggle','firstUpdated','name','code','showToast','handlers','56zxEZdO','NOTHING_SELECTED','getGristPagination100Config','fetchHandler','values','args','253824atkvbd','1110952OXSHMj','record','dispField','empty','sorters','search_hidden_fields','left','appendable','length','filter','keys','getGristGuttersConfig','shadowRoot','134733CRXVRt','object','#ox-grist','bind','filterFields','options','meta-code-selector','944195zVqdTU','search','selectRecord','basicArgs','type','confirmCallback','clickEmpty','getGristColumnConfig2','isArray','gql','render','rows','select','meta-object-selector-popup','columns','LIST','codeField','nameField','filters','string','getGristSelectableConfig','startsWith'];a0_0x452e=function(){return _0x5d152e;};return a0_0x452e();}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';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0xf5aa52=a0_0x4a9a;(function(_0x31f34e,_0x404daf){const _0x2c0822=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0xf5aa52(0x1fa)](){const _0x43bcdd=a0_0xf5aa52;this[_0x43bcdd(0x1f6)]=this['options']['filters']?this[_0x43bcdd(0x219)]['filters']:this['basicArgs']&&this[_0x43bcdd(0x1e6)][_0x43bcdd(0x1ce)]?this['basicArgs'][_0x43bcdd(0x1ce)]:[];let _0x24394c=this['options'][_0x43bcdd(0x212)]?this[_0x43bcdd(0x219)][_0x43bcdd(0x212)]:this[_0x43bcdd(0x1e6)]&&this[_0x43bcdd(0x1e6)]['sorters']?this[_0x43bcdd(0x1e6)][_0x43bcdd(0x212)]:[],_0x380c54=this[_0x43bcdd(0x219)][_0x43bcdd(0x1e1)]?this['options'][_0x43bcdd(0x1e1)]:this[_0x43bcdd(0x219)][_0x43bcdd(0x206)]?.[_0x43bcdd(0x1d4)]&&this[_0x43bcdd(0x219)][_0x43bcdd(0x206)]?.[_0x43bcdd(0x1d4)][_0x43bcdd(0x1e4)]>0x0?this[_0x43bcdd(0x219)][_0x43bcdd(0x206)][_0x43bcdd(0x1d4)]:[],_0x1c4dd6=this['options'][_0x43bcdd(0x1d6)];if(!_0x380c54||0x0==_0x380c54[_0x43bcdd(0x1e4)]){let _0x874c2c;this[_0x43bcdd(0x219)]['codeField']&&(_0x874c2c=this[_0x43bcdd(0x219)]['codeField']),this[_0x43bcdd(0x219)][_0x43bcdd(0x1fb)]&&(_0x874c2c=this[_0x43bcdd(0x219)][_0x43bcdd(0x1fb)]),_0x874c2c&&_0x380c54['push']({'name':_0x874c2c,'operator':'eq'});}let _0x1446d1=[...MetaApi[_0x43bcdd(0x203)](!0x0,!0x1)];if(_0x1c4dd6&&_0x1c4dd6[_0x43bcdd(0x1e4)]>0x0)for(let _0x5b4ec8=0x0;_0x5b4ec8<_0x1c4dd6[_0x43bcdd(0x1e4)];_0x5b4ec8++){let {type:_0x5798d5='string',name:_0x2bb49d,hidden:_0x3cea79=!0x1,record:_0x4afcf6={'align':_0x43bcdd(0x1e9)},header:_0x99da9f,sortable:_0x366821=!0x1,width:_0x42926e=0x87,options:_0x56fe4a,select_opt:_0x352426,object_opt:_0x1ae038}=_0x1c4dd6[_0x5b4ec8];if(_0x352426&&(_0x56fe4a=_0x352426),_0x1ae038&&(_0x56fe4a=_0x1ae038),['resource-object',_0x43bcdd(0x20c)][_0x43bcdd(0x209)](_0x5798d5)?_0x5798d5=_0x43bcdd(0x1eb):[_0x43bcdd(0x1de)][_0x43bcdd(0x209)](_0x5798d5)&&(_0x5798d5='meta-code-selector'),'id'==_0x2bb49d)_0x1446d1['push']({'type':_0x43bcdd(0x1f7),'name':_0x2bb49d,'hidden':!0x0});else{let _0x109451=MetaApi[_0x43bcdd(0x1fd)](_0x5798d5,_0x2bb49d,_0x99da9f||_0x2bb49d,_0x4afcf6['align']?_0x4afcf6[_0x43bcdd(0x1f8)]:_0x43bcdd(0x1e9),!0x1,_0x366821,_0x42926e);_0x5798d5[_0x43bcdd(0x204)](_0x43bcdd(0x1d0))&&_0x1ae038&&_0x1ae038['menu']&&(_0x56fe4a=await MetaUiUtil[_0x43bcdd(0x1d2)](_0x5798d5,_0x56fe4a)),_0x43bcdd(0x1d6)===_0x5798d5?Array[_0x43bcdd(0x1dd)](_0x56fe4a)?_0x109451['record'][_0x43bcdd(0x219)]=_0x56fe4a:_0x43bcdd(0x1fe)===_0x56fe4a[_0x43bcdd(0x1ee)]?_0x109451[_0x43bcdd(0x217)][_0x43bcdd(0x219)]=await ServiceUtil[_0x43bcdd(0x216)](_0x56fe4a['values']?_0x56fe4a[_0x43bcdd(0x1d9)]:_0x56fe4a[_0x43bcdd(0x1d7)]):'scenario'===_0x56fe4a[_0x43bcdd(0x1ee)]?_0x109451[_0x43bcdd(0x217)][_0x43bcdd(0x219)]=await ServiceUtil[_0x43bcdd(0x202)](_0x56fe4a[_0x43bcdd(0x1d7)],_0x56fe4a['args']):'entity'===_0x56fe4a[_0x43bcdd(0x1ee)]&&(_0x109451[_0x43bcdd(0x217)][_0x43bcdd(0x219)]=await ServiceUtil['getCodeByEntity'](_0x56fe4a[_0x43bcdd(0x213)])):'meta-object-selector'===_0x5798d5?_0x109451[_0x43bcdd(0x217)][_0x43bcdd(0x219)]={..._0x56fe4a}:_0x43bcdd(0x1d3)==_0x5798d5&&(_0x56fe4a['dispField']&&(_0x56fe4a[_0x43bcdd(0x1df)]=await ServiceUtil['getCodeByEntity'](_0x56fe4a)),_0x109451['record'][_0x43bcdd(0x219)]={..._0x56fe4a}),_0x109451[_0x43bcdd(0x207)]=_0x3cea79,_0x1446d1[_0x43bcdd(0x1ef)](_0x109451);}}else _0x1446d1['push'](MetaApi[_0x43bcdd(0x1fd)](_0x43bcdd(0x1f7),this['options'][_0x43bcdd(0x211)],this[_0x43bcdd(0x219)][_0x43bcdd(0x211)],_0x43bcdd(0x1e9),!0x1,!0x0,0xb4)),this[_0x43bcdd(0x219)][_0x43bcdd(0x1f1)]&&_0x1446d1[_0x43bcdd(0x1ef)](MetaApi[_0x43bcdd(0x1fd)](_0x43bcdd(0x1f7),this[_0x43bcdd(0x219)]['dispField'],this[_0x43bcdd(0x219)]['dispField'],_0x43bcdd(0x1e9),!0x1,!0x0,0x12c));_0x1446d1[_0x43bcdd(0x201)](_0x5d0a35=>{const _0x34ffb1=_0x43bcdd;let _0x5bc182=_0x380c54[_0x34ffb1(0x1f4)](_0x1b2fe1=>'string'==typeof _0x1b2fe1?_0x5d0a35[_0x34ffb1(0x1d7)]==_0x1b2fe1:_0x5d0a35[_0x34ffb1(0x1d7)]==_0x1b2fe1[_0x34ffb1(0x1d7)]);_0x5bc182&&_0x5bc182[_0x34ffb1(0x1e4)]>0x0&&(_0x5d0a35[_0x34ffb1(0x1f4)]=_0x34ffb1(0x1f7)==typeof _0x5bc182[0x0]?_0x34ffb1(0x1d4):_0x5bc182[0x0]);});let _0xc7ded6={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0x43bcdd(0x20d)](),'columns':_0x1446d1,'sorters':[..._0x24394c]};_0xc7ded6[_0x43bcdd(0x215)]['handlers']={'click':'select-row-toggle','dblclick':(_0x49b394,_0x28e45b,_0x1d914b,_0x534c6b,_0x1f3ee4,_0x159845)=>{const _0x45cad3=_0x43bcdd;this[_0x45cad3(0x205)](_0x534c6b);}},_0xc7ded6[_0x43bcdd(0x215)][_0x43bcdd(0x1d5)]=!0x1,this[_0x43bcdd(0x200)]=_0xc7ded6,await super['connectedCallback']();}async[a0_0xf5aa52(0x1d1)](){const _0x428aca=a0_0xf5aa52;await super[_0x428aca(0x1d1)]();}[a0_0xf5aa52(0x1f5)](){const _0x21af89=a0_0xf5aa52;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x21af89(0x200)]} .mode=${isMobileDevice()?'LIST':_0x21af89(0x1f2)} auto-fetch
22
- .fetchHandler=${this[_0x21af89(0x1d8)][_0x21af89(0x1e3)](this)}>
20
+ `];async['connectedCallback'](){const _0x544cb3=a0_0x379e;this['search_hidden_fields']=this[_0x544cb3(0x158)][_0x544cb3(0x16c)]?this[_0x544cb3(0x158)][_0x544cb3(0x16c)]:this[_0x544cb3(0x15d)]&&this[_0x544cb3(0x15d)][_0x544cb3(0x16c)]?this[_0x544cb3(0x15d)][_0x544cb3(0x16c)]:[];let _0x23bc8e=this[_0x544cb3(0x158)][_0x544cb3(0x19c)]?this[_0x544cb3(0x158)][_0x544cb3(0x19c)]:this[_0x544cb3(0x15d)]&&this['basicArgs']['sorters']?this[_0x544cb3(0x15d)][_0x544cb3(0x19c)]:[],_0x549db9=this['options'][_0x544cb3(0x157)]?this[_0x544cb3(0x158)][_0x544cb3(0x157)]:this[_0x544cb3(0x158)][_0x544cb3(0x17b)]?.[_0x544cb3(0x15b)]&&this['options'][_0x544cb3(0x17b)]?.[_0x544cb3(0x15b)]['length']>0x0?this[_0x544cb3(0x158)][_0x544cb3(0x17b)]['search']:[],_0x5bb115=this[_0x544cb3(0x158)][_0x544cb3(0x166)];if(!_0x549db9||0x0==_0x549db9[_0x544cb3(0x1a0)]){let _0x967665;this['options'][_0x544cb3(0x16a)]&&(_0x967665=this[_0x544cb3(0x158)]['codeField']),this[_0x544cb3(0x158)][_0x544cb3(0x16b)]&&(_0x967665=this[_0x544cb3(0x158)][_0x544cb3(0x16b)]),_0x967665&&_0x549db9[_0x544cb3(0x188)]({'name':_0x967665,'operator':'eq'});}let _0x30ee55=[...MetaApi[_0x544cb3(0x1a3)](!0x0,!0x1)];if(_0x5bb115&&_0x5bb115[_0x544cb3(0x1a0)]>0x0)for(let _0x14f73a=0x0;_0x14f73a<_0x5bb115[_0x544cb3(0x1a0)];_0x14f73a++){let {type:_0x101c66=_0x544cb3(0x16d),name:_0x55dacd,hidden:_0x17364d=!0x1,record:_0x4d6673={'align':_0x544cb3(0x19e)},header:_0x36e5af,sortable:_0x38abbc=!0x1,width:_0x5cc7f6=0x87,options:_0x496821,select_opt:_0x517804,object_opt:_0x299a71}=_0x5bb115[_0x14f73a];if(_0x517804&&(_0x496821=_0x517804),_0x299a71&&(_0x496821=_0x299a71),[_0x544cb3(0x173),_0x544cb3(0x1a6)][_0x544cb3(0x185)](_0x101c66)?_0x101c66=_0x544cb3(0x187):[_0x544cb3(0x17e)][_0x544cb3(0x185)](_0x101c66)&&(_0x101c66=_0x544cb3(0x159)),'id'==_0x55dacd)_0x30ee55[_0x544cb3(0x188)]({'type':_0x544cb3(0x16d),'name':_0x55dacd,'hidden':!0x0});else{let _0x12ddcf=MetaApi[_0x544cb3(0x161)](_0x101c66,_0x55dacd,_0x36e5af||_0x55dacd,_0x4d6673[_0x544cb3(0x186)]?_0x4d6673[_0x544cb3(0x186)]:_0x544cb3(0x19e),!0x1,_0x38abbc,_0x5cc7f6);_0x101c66[_0x544cb3(0x16f)]('meta-')&&_0x299a71&&_0x299a71['menu']&&(_0x496821=await MetaUiUtil['getGristMetaObjectOptions'](_0x101c66,_0x496821)),'select'===_0x101c66?Array[_0x544cb3(0x162)](_0x496821)?_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]=_0x496821:_0x544cb3(0x18e)===_0x496821[_0x544cb3(0x15e)]?_0x12ddcf[_0x544cb3(0x199)]['options']=await ServiceUtil['getCodeSelectorData'](_0x496821[_0x544cb3(0x195)]?_0x496821[_0x544cb3(0x195)]:_0x496821['name']):_0x544cb3(0x181)===_0x496821[_0x544cb3(0x15e)]?_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]=await ServiceUtil[_0x544cb3(0x170)](_0x496821[_0x544cb3(0x18d)],_0x496821[_0x544cb3(0x196)]):'entity'===_0x496821[_0x544cb3(0x15e)]&&(_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]=await ServiceUtil['getCodeByEntity'](_0x496821[_0x544cb3(0x196)])):_0x544cb3(0x187)===_0x101c66?_0x12ddcf[_0x544cb3(0x199)][_0x544cb3(0x158)]={..._0x496821}:_0x544cb3(0x159)==_0x101c66&&(_0x496821[_0x544cb3(0x19a)]&&(_0x496821[_0x544cb3(0x17a)]=await ServiceUtil['getCodeByEntity'](_0x496821)),_0x12ddcf[_0x544cb3(0x199)]['options']={..._0x496821}),_0x12ddcf[_0x544cb3(0x177)]=_0x17364d,_0x30ee55[_0x544cb3(0x188)](_0x12ddcf);}}else _0x30ee55[_0x544cb3(0x188)](MetaApi[_0x544cb3(0x161)](_0x544cb3(0x16d),this['options'][_0x544cb3(0x16a)],this[_0x544cb3(0x158)]['codeField'],_0x544cb3(0x19e),!0x1,!0x0,0xb4)),this[_0x544cb3(0x158)][_0x544cb3(0x19a)]&&_0x30ee55['push'](MetaApi[_0x544cb3(0x161)](_0x544cb3(0x16d),this['options']['dispField'],this[_0x544cb3(0x158)][_0x544cb3(0x19a)],'left',!0x1,!0x0,0x12c));_0x30ee55['forEach'](_0x4c7987=>{const _0x2e5ccb=_0x544cb3;let _0x971489=_0x549db9[_0x2e5ccb(0x1a1)](_0x335046=>_0x2e5ccb(0x16d)==typeof _0x335046?_0x4c7987[_0x2e5ccb(0x18d)]==_0x335046:_0x4c7987['name']==_0x335046['name']);_0x971489&&_0x971489[_0x2e5ccb(0x1a0)]>0x0&&(_0x4c7987[_0x2e5ccb(0x1a1)]=_0x2e5ccb(0x16d)==typeof _0x971489[0x0]?_0x2e5ccb(0x15b):_0x971489[0x0]);});let _0x523a9c={'rows':MetaApi[_0x544cb3(0x16e)](!0x1),'pagination':MetaApi[_0x544cb3(0x193)](),'columns':_0x30ee55,'sorters':[..._0x23bc8e]};_0x523a9c[_0x544cb3(0x165)][_0x544cb3(0x190)]={'click':_0x544cb3(0x18b),'dblclick':(_0x404614,_0x109fd9,_0x56c51a,_0x257162,_0x30bc28,_0x50cb3e)=>{const _0x31c722=_0x544cb3;this[_0x31c722(0x15c)](_0x257162);}},_0x523a9c[_0x544cb3(0x165)][_0x544cb3(0x19f)]=!0x1,this[_0x544cb3(0x17d)]=_0x523a9c,await super[_0x544cb3(0x179)]();}async['firstUpdated'](){const _0x302789=a0_0x379e;await super[_0x302789(0x18c)]();}[a0_0x2bd141(0x164)](){const _0x321615=a0_0x2bd141;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x321615(0x17d)]} .mode=${isMobileDevice()?_0x321615(0x169):_0x321615(0x178)} auto-fetch
22
+ .fetchHandler=${this[_0x321615(0x194)][_0x321615(0x156)](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_0xf5aa52=a0_0x4a9a;(function(_0x31f34e,_0x404daf){const _0x2c0822=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x21af89(0x1e0)](_0x21af89(0x21a))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this['clickEmpty'][_0x21af89(0x1e3)](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0x321615(0x189)](_0x321615(0x19b))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x321615(0x160)][_0x321615(0x156)](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x21af89(0x1e0)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x21af89(0x20f)][_0x21af89(0x1e3)](this)}>
33
+ <mwc-button raised label="${TermsUtil['tButton']('cancel')}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x321615(0x17f)][_0x321615(0x156)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x21af89(0x1e0)](_0x21af89(0x1d6))}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0x21af89(0x214)]['bind'](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x321615(0x189)]('select')}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this['clickSelect'][_0x321615(0x156)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get['grist'](){const _0x4bac55=a0_0xf5aa52;return this['shadowRoot'][_0x4bac55(0x20e)](_0x4bac55(0x1e2));}async['fetchHandler']({page:_0x5c3599=0x0,limit:_0x3dd48c=0x0,sorters:_0x17ac57=[],filters:_0x23d074=[]}){const _0x460cf2=a0_0xf5aa52;let _0x5cf2d9=[...this['search_hidden_fields']];_0x23d074['forEach'](_0x173975=>{const _0x517088=a0_0x4a9a;let _0x308454=_0x5cf2d9[_0x517088(0x1f4)](_0x56e926=>_0x173975['name']==_0x56e926[_0x517088(0x1d7)]);_0x308454&&_0x308454[_0x517088(0x1e4)]>0x0&&delete _0x5cf2d9[_0x173975[_0x517088(0x1d7)]],_0x5cf2d9[_0x517088(0x1ef)](_0x173975);});let _0x5e6bf1=ValueUtil['getParams'](this[_0x460cf2(0x219)][_0x460cf2(0x206)]&&this[_0x460cf2(0x219)][_0x460cf2(0x206)]['gql']||{},'query',_0x460cf2(0x1da)),_0x55a723=Object[_0x460cf2(0x1ff)](_0x5e6bf1||{}),_0x3933e6=MetaApi[_0x460cf2(0x1f3)](this[_0x460cf2(0x200)][_0x460cf2(0x1e5)][_0x460cf2(0x1f4)](_0x3bce02=>!_0x55a723[_0x460cf2(0x209)](_0x3bce02[_0x460cf2(0x1d7)])));return await MetaApi['searchByPagination'](this['options'][_0x460cf2(0x1fc)],_0x5cf2d9,_0x17ac57,_0x5c3599,_0x3dd48c,_0x3933e6);}async[a0_0xf5aa52(0x1ea)](_0x59fcd2){const _0xf17b97=a0_0xf5aa52;this[_0xf17b97(0x1ed)]&&this[_0xf17b97(0x1ed)](null),closePopup(this);}async[a0_0xf5aa52(0x20f)](_0x5617b6){closePopup(this);}async[a0_0xf5aa52(0x214)](_0x41bcc1){const _0x343378=a0_0xf5aa52;let _0x3eff42=this['grist']['selected'];_0x3eff42&&0x0!=_0x3eff42[_0x343378(0x1e4)]?this['selectRecord'](_0x3eff42[0x0]):MetaApi['showToast']('info',TermsUtil['tText'](_0x343378(0x1e7)));}async[a0_0xf5aa52(0x205)](_0x44545d){const _0x5d1fc0=a0_0xf5aa52;this[_0x5d1fc0(0x1ed)]&&this[_0x5d1fc0(0x1ed)](_0x44545d),closePopup(this);}}customElements['define'](a0_0xf5aa52(0x1f0),MetaObjectSelectorPopup);
40
+ `;}get[a0_0x2bd141(0x184)](){const _0x18fc80=a0_0x2bd141;return this[_0x18fc80(0x1a4)]['querySelector'](_0x18fc80(0x155));}async['fetchHandler']({page:_0x2f8453=0x0,limit:_0x269184=0x0,sorters:_0x6901af=[],filters:_0x1a975f=[]}){const _0x1fce87=a0_0x2bd141;let _0x3202f8=[...this[_0x1fce87(0x19d)]];_0x1a975f[_0x1fce87(0x176)](_0x2531e1=>{const _0x3de693=_0x1fce87;let _0x11b3c7=_0x3202f8[_0x3de693(0x1a1)](_0xf3846d=>_0x2531e1[_0x3de693(0x18d)]==_0xf3846d[_0x3de693(0x18d)]);_0x11b3c7&&_0x11b3c7['length']>0x0&&delete _0x3202f8[_0x2531e1['name']],_0x3202f8[_0x3de693(0x188)](_0x2531e1);});let _0x39a4da=ValueUtil['getParams'](this[_0x1fce87(0x158)][_0x1fce87(0x17b)]&&this[_0x1fce87(0x158)][_0x1fce87(0x17b)][_0x1fce87(0x163)]||{},'query',_0x1fce87(0x183)),_0x1bd429=Object[_0x1fce87(0x1a2)](_0x39a4da||{}),_0x151fb4=MetaApi[_0x1fce87(0x180)](this[_0x1fce87(0x17d)][_0x1fce87(0x168)]['filter'](_0x35e14c=>!_0x1bd429[_0x1fce87(0x185)](_0x35e14c[_0x1fce87(0x18d)])));return await MetaApi[_0x1fce87(0x171)](this[_0x1fce87(0x158)]['queryName'],_0x3202f8,_0x6901af,_0x2f8453,_0x269184,_0x151fb4);}async['clickEmpty'](_0xb4cfb7){const _0x4934e0=a0_0x2bd141;this[_0x4934e0(0x15f)]&&this[_0x4934e0(0x15f)](null),closePopup(this);}async[a0_0x2bd141(0x17f)](_0xdb61d){closePopup(this);}async['clickSelect'](_0x2aa30a){const _0x243cf0=a0_0x2bd141;let _0x17dd3c=this[_0x243cf0(0x184)][_0x243cf0(0x18a)];_0x17dd3c&&0x0!=_0x17dd3c[_0x243cf0(0x1a0)]?this['selectRecord'](_0x17dd3c[0x0]):MetaApi[_0x243cf0(0x18f)](_0x243cf0(0x182),TermsUtil['tText'](_0x243cf0(0x192)));}async[a0_0x2bd141(0x15c)](_0x287ffa){const _0x34df6c=a0_0x2bd141;this[_0x34df6c(0x15f)]&&this[_0x34df6c(0x15f)](_0x287ffa),closePopup(this);}}customElements[a0_0x2bd141(0x174)](a0_0x2bd141(0x167),MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x3a9ca7=a0_0x12b5;function a0_0x12b5(_0x224dea,_0x2dc351){const _0x1f6827=a0_0x1f68();return a0_0x12b5=function(_0x12b56f,_0x56a24e){_0x12b56f=_0x12b56f-0x1f4;let _0x42fe98=_0x1f6827[_0x12b56f];return _0x42fe98;},a0_0x12b5(_0x224dea,_0x2dc351);}(function(_0x12aff0,_0x330ed6){const _0x5cf0ad=a0_0x12b5,_0x4c3f93=_0x12aff0();while(!![]){try{const _0x244d78=-parseInt(_0x5cf0ad(0x1f9))/0x1+parseInt(_0x5cf0ad(0x1fe))/0x2*(parseInt(_0x5cf0ad(0x207))/0x3)+parseInt(_0x5cf0ad(0x206))/0x4+parseInt(_0x5cf0ad(0x227))/0x5+-parseInt(_0x5cf0ad(0x20b))/0x6*(parseInt(_0x5cf0ad(0x210))/0x7)+parseInt(_0x5cf0ad(0x20f))/0x8*(parseInt(_0x5cf0ad(0x217))/0x9)+parseInt(_0x5cf0ad(0x22b))/0xa;if(_0x244d78===_0x330ed6)break;else _0x4c3f93['push'](_0x4c3f93['shift']());}catch(_0x281392){_0x4c3f93['push'](_0x4c3f93['shift']());}}}(a0_0x1f68,0x4b778));import{MetaApi}from'./../utils/meta-api';function a0_0x1f68(){const _0xc7834e=['detail','tTitle','etcConfig','errors','active','includes','107417OCUyvy','grist','parseBasicServiceConfigs','pageUpdated','etc','207302hpbpEv','data','keys','is_detail','parseBasicTabConfigs','connectedCallback','params','parseBasicGridConfigs','301800EOCKLd','12vXxTeE','openDynamicPopup','name','parseBasicFormConfigs','36mBTChq','body','split','isElement','72xkZYyX','696094HnlIru','isNotEmpty','dispatchEvent','getParams','fieldChangeHandlers','setParentId','forEach','268002vqssBg','isPage','executeCallScenarioButtonClick','field-change','title_detail','parent_id','is_popup','isDetail','properties','isPopup','title','lifecycle','fetch','excuteOpenPopupButtonClick','data-change','isEmpty','229195qJhOEv','fetchHandler','menu','parseBasicButtonConfigs','2092860QssXLz','callScenario','result'];a0_0x1f68=function(){return _0xc7834e;};return a0_0x1f68();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x4b2c29=>class extends _0x4b2c29{static get[a0_0x3a9ca7(0x21f)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x28e3d5=>Boolean(_0x28e3d5)},'is_popup':{'type':Boolean,'converter':_0x5af523=>Boolean(_0x5af523)},'is_activity':{'type':Boolean,'converter':_0x5d8d31=>Boolean(_0x5d8d31)},'is_readonly':{'type':Boolean,'converter':_0x3f9129=>Boolean(_0x3f9129)}};}get[a0_0x3a9ca7(0x20e)](){const _0x46aa91=a0_0x3a9ca7;return!0x0===this[_0x46aa91(0x201)]||!0x0===this[_0x46aa91(0x21d)];}get[a0_0x3a9ca7(0x21e)](){const _0x54df48=a0_0x3a9ca7;return!ValueUtil['isEmpty'](this[_0x54df48(0x201)])&&this[_0x54df48(0x201)];}async[a0_0x3a9ca7(0x203)](){const _0xfce8bd=a0_0x3a9ca7;super['connectedCallback']&&await super[_0xfce8bd(0x203)](),this['addEventListener']('field-change',async _0x4e8557=>{const _0x4faee8=_0xfce8bd;_0x4e8557['stopPropagation'](),this[_0x4faee8(0x212)](new CustomEvent(_0x4faee8(0x225),{'bubbles':!0x0,'composed':!0x0,'detail':_0x4e8557[_0x4faee8(0x22e)]}));let {after:_0x595525,before:_0x5e60b3,column:_0x4f56e9,record:_0x3cbf9b,row:_0x25d280}=_0x4e8557[_0x4faee8(0x22e)],_0x27e70f=_0x4f56e9[_0x4faee8(0x209)];if(Object['keys'](this[_0x4faee8(0x214)]||{})[_0x4faee8(0x1f8)](_0x27e70f)){let _0x4cf90a,_0x40f8ab=(await MetaApi['callScenario'](void 0x0,this[_0x4faee8(0x214)][_0x27e70f],{'columnName':_0x27e70f,'column':_0x4f56e9,'record':_0x3cbf9b,'after':_0x595525,'before':_0x5e60b3,'row':_0x25d280},!0x1))['data']['runScenario'][_0x4faee8(0x1ff)][_0x4faee8(0x22d)];if(!_0x40f8ab)return;_0x4cf90a=this[_0x4faee8(0x1fa)]?this[_0x4faee8(0x1fa)][_0x4faee8(0x1fa)][_0x4faee8(0x20c)]:this,Object[_0x4faee8(0x200)](_0x40f8ab)[_0x4faee8(0x216)](_0x3d40cb=>{const _0x16fc1a=_0x4faee8;_0x4cf90a[_0x16fc1a(0x212)](new CustomEvent(_0x16fc1a(0x21a),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x3cbf9b,'row':_0x25d280,'after':_0x40f8ab[_0x3d40cb],'before':_0x3cbf9b[_0x3d40cb],'column':{'name':_0x3d40cb}}}));});}});}async[a0_0x3a9ca7(0x1fc)](_0x5a35c5,_0x551cee,_0x74e0d2){const _0x1504fb=a0_0x3a9ca7;let _0x25805f=this[_0x1504fb(0x222)]?.[_0x1504fb(0x204)]?this[_0x1504fb(0x222)][_0x1504fb(0x204)]:{};this['isPage']&&this[_0x1504fb(0x1f7)]&&0x0==_0x74e0d2[_0x1504fb(0x1f7)]&&ValueUtil['isNotEmpty'](_0x25805f)&&this['fetch']();}get[a0_0x3a9ca7(0x220)](){const _0x412cb0=a0_0x3a9ca7;return!ValueUtil[_0x412cb0(0x226)](this[_0x412cb0(0x21d)])&&this[_0x412cb0(0x21d)];}get[a0_0x3a9ca7(0x218)](){const _0xb1860f=a0_0x3a9ca7;return!this['is_detail']&&!this[_0xb1860f(0x21d)];}async['getAndParseMenuMeta'](){const _0x1f8435=a0_0x3a9ca7;let _0x2c637a=await MetaApi['getMenuMeta'](this);_0x2c637a&&(this['menuInfo']=_0x2c637a[_0x1f8435(0x229)],this[_0x1f8435(0x1f5)]=_0x2c637a[_0x1f8435(0x1fd)],this[_0x1f8435(0x205)]&&this[_0x1f8435(0x205)](_0x2c637a),this[_0x1f8435(0x1fb)]&&this['parseBasicServiceConfigs'](_0x2c637a),this[_0x1f8435(0x20a)]&&this[_0x1f8435(0x20a)](_0x2c637a),this[_0x1f8435(0x202)]&&this['parseBasicTabConfigs'](_0x2c637a),this['parseBasicButtonConfigs']&&this[_0x1f8435(0x22a)](_0x2c637a));}async[a0_0x3a9ca7(0x223)](){const _0x8da90a=a0_0x3a9ca7;ValueUtil[_0x8da90a(0x211)](this['grist'])?this[_0x8da90a(0x1fa)][_0x8da90a(0x223)]():(ValueUtil[_0x8da90a(0x211)](this['filterForm'])||this[_0x8da90a(0x228)])&&await this[_0x8da90a(0x228)]();}async[a0_0x3a9ca7(0x224)](_0x58ab65,_0x184dc9,_0x5cacec){const _0x161c02=a0_0x3a9ca7;let _0x175901=TermsUtil[_0x161c02(0x1f4)](_0x58ab65[_0x161c02(0x221)]);ValueUtil[_0x161c02(0x211)](_0x58ab65[_0x161c02(0x21b)])&&(_0x175901=_0x175901+'-'+ValueUtil[_0x161c02(0x213)](_0x184dc9,..._0x58ab65[_0x161c02(0x21b)][_0x161c02(0x20d)]('.'))),MetaApi[_0x161c02(0x208)](_0x175901,_0x58ab65,_0x184dc9,_0x5cacec);}async[a0_0x3a9ca7(0x219)](_0x810963,_0x4af5ca,_0x5385ee){const _0x3ed526=a0_0x3a9ca7;let _0x4a73e0=await MetaApi[_0x3ed526(0x22c)](_0x810963[_0x3ed526(0x209)],_0x810963['name'],_0x4af5ca);!0x1!==_0x4a73e0&&!_0x4a73e0[_0x3ed526(0x1f6)]&&ValueUtil['isNotEmpty'](_0x810963['after'])&&_0x5385ee();}[a0_0x3a9ca7(0x215)](_0x51b16c){const _0x218550=a0_0x3a9ca7;this[_0x218550(0x21c)]=_0x51b16c,this['fetch']();}};
1
+ const a0_0x28c189=a0_0x2db3;(function(_0xc2c9d5,_0x9296d7){const _0x28c6d7=a0_0x2db3,_0x1a21ed=_0xc2c9d5();while(!![]){try{const _0x47d2d6=parseInt(_0x28c6d7(0x1b5))/0x1+parseInt(_0x28c6d7(0x180))/0x2+parseInt(_0x28c6d7(0x199))/0x3+parseInt(_0x28c6d7(0x1b0))/0x4*(parseInt(_0x28c6d7(0x17e))/0x5)+-parseInt(_0x28c6d7(0x194))/0x6*(parseInt(_0x28c6d7(0x1a3))/0x7)+parseInt(_0x28c6d7(0x181))/0x8+parseInt(_0x28c6d7(0x187))/0x9*(-parseInt(_0x28c6d7(0x1a6))/0xa);if(_0x47d2d6===_0x9296d7)break;else _0x1a21ed['push'](_0x1a21ed['shift']());}catch(_0x38576a){_0x1a21ed['push'](_0x1a21ed['shift']());}}}(a0_0x203b,0x5ce82));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x2db3(_0x5d77ac,_0x504b07){const _0x203bd8=a0_0x203b();return a0_0x2db3=function(_0x2db306,_0x3c1bba){_0x2db306=_0x2db306-0x178;let _0x24ea56=_0x203bd8[_0x2db306];return _0x24ea56;},a0_0x2db3(_0x5d77ac,_0x504b07);}function a0_0x203b(){const _0x5699a5=['addEventListener','setParentId','dataChangeEventHandler','grist','77zWdAKS','etc','parseBasicTabConfigs','530JVxMcB','lifecycle','includes','dispatchEvent','detail','isElement','field-change','meta-form-','isDetail','getAndParseMenuMeta','173648lxUeOD','parseBasicButtonConfigs','active','tagName','fieldChangeHandlers','13204xjNZTm','getParams','startsWith','is_detail','after','executeCallScenarioButtonClick','fetch','callScenario','name','5HGVDQA','title','1073758cvhPBS','3573992IuBKPG','fetchHandler','is_popup','isNotEmpty','connectedCallback','runScenario','92718GUyrPl','toLowerCase','data','properties','isPopup','menu','getMenuMeta','errors','parseBasicServiceConfigs','result','filterForm','activity-data-change','tTitle','92778OgbrNn','params','parseBasicFormConfigs','isEmpty','body','169203ETLphU','forEach','menuInfo','isPage','split','title_detail'];a0_0x203b=function(){return _0x5699a5;};return a0_0x203b();}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x518841=>class extends _0x518841{static get[a0_0x28c189(0x18a)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x99df08=>Boolean(_0x99df08)},'is_popup':{'type':Boolean,'converter':_0xe43cea=>Boolean(_0xe43cea)},'is_activity':{'type':Boolean,'converter':_0x3626bc=>Boolean(_0x3626bc)},'is_readonly':{'type':Boolean,'converter':_0x4d1e14=>Boolean(_0x4d1e14)}};}get[a0_0x28c189(0x1ab)](){const _0xb48de2=a0_0x28c189;return!0x0===this[_0xb48de2(0x178)]||!0x0===this[_0xb48de2(0x183)];}get[a0_0x28c189(0x1ae)](){const _0x1e305e=a0_0x28c189;return!ValueUtil[_0x1e305e(0x197)](this['is_detail'])&&this[_0x1e305e(0x178)];}async['dataChangeEventHandler'](_0x348faa){const _0x5e2259=a0_0x28c189;let {after:_0x188e6a,before:_0x26514d,column:_0x127bfe,record:_0x2242eb,row:_0xb18c51}=_0x348faa[_0x5e2259(0x1aa)],_0x5148b6=_0x127bfe[_0x5e2259(0x17d)];if(Object['keys'](this[_0x5e2259(0x1b4)]||{})[_0x5e2259(0x1a8)](_0x5148b6)){let _0x525949,_0x481f9e=(await MetaApi[_0x5e2259(0x17c)](void 0x0,this['fieldChangeHandlers'][_0x5148b6],{'columnName':_0x5148b6,'column':_0x127bfe,'record':_0x2242eb,'after':_0x188e6a,'before':_0x26514d,'row':_0xb18c51},!0x1))[_0x5e2259(0x189)][_0x5e2259(0x186)][_0x5e2259(0x189)][_0x5e2259(0x190)];if(!_0x481f9e)return;_0x525949=this[_0x5e2259(0x1a2)]?this[_0x5e2259(0x1a2)][_0x5e2259(0x1a2)][_0x5e2259(0x198)]:this,Object['keys'](_0x481f9e)[_0x5e2259(0x19a)](_0x5c3f2c=>{const _0x1f0462=_0x5e2259;_0x525949[_0x1f0462(0x1a9)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x2242eb,'row':_0xb18c51,'after':_0x481f9e[_0x5c3f2c],'before':_0x2242eb[_0x5c3f2c],'column':{'name':_0x5c3f2c}}}));});}this[_0x5e2259(0x1a9)](new CustomEvent(_0x5e2259(0x192),{'bubbles':!0x0,'composed':!0x0,'detail':_0x348faa[_0x5e2259(0x1aa)]}));}async['connectedCallback'](){const _0x114182=a0_0x28c189;super[_0x114182(0x185)]&&await super[_0x114182(0x185)](),this[_0x114182(0x1b3)][_0x114182(0x188)]()[_0x114182(0x1b7)](_0x114182(0x1ad))?this[_0x114182(0x19f)]('form-field-change',async _0x523c4d=>{const _0x34d5a9=_0x114182;await this[_0x34d5a9(0x1a1)](_0x523c4d);}):this['addEventListener'](_0x114182(0x1ac),async _0x4e6c77=>{const _0x161296=_0x114182;await this[_0x161296(0x1a1)](_0x4e6c77);});}async['pageUpdated'](_0x2b7e9b,_0x1de1b9,_0x5d3d15){const _0x594062=a0_0x28c189;let _0x2884ae=this[_0x594062(0x1a7)]?.[_0x594062(0x195)]?this[_0x594062(0x1a7)]['params']:{};this['isPage']&&this['active']&&0x0==_0x5d3d15[_0x594062(0x1b2)]&&ValueUtil[_0x594062(0x184)](_0x2884ae)&&this['fetch']();}get[a0_0x28c189(0x18b)](){const _0x347d3f=a0_0x28c189;return!ValueUtil[_0x347d3f(0x197)](this['is_popup'])&&this[_0x347d3f(0x183)];}get[a0_0x28c189(0x19c)](){const _0x5e4035=a0_0x28c189;return!this[_0x5e4035(0x178)]&&!this[_0x5e4035(0x183)];}async[a0_0x28c189(0x1af)](){const _0xa7421d=a0_0x28c189;let _0x141619=await MetaApi[_0xa7421d(0x18d)](this);_0x141619&&(this[_0xa7421d(0x19b)]=_0x141619[_0xa7421d(0x18c)],this['etcConfig']=_0x141619[_0xa7421d(0x1a4)],this['parseBasicGridConfigs']&&this['parseBasicGridConfigs'](_0x141619),this[_0xa7421d(0x18f)]&&this[_0xa7421d(0x18f)](_0x141619),this['parseBasicFormConfigs']&&this[_0xa7421d(0x196)](_0x141619),this[_0xa7421d(0x1a5)]&&this['parseBasicTabConfigs'](_0x141619),this[_0xa7421d(0x1b1)]&&this['parseBasicButtonConfigs'](_0x141619));}async[a0_0x28c189(0x17b)](){const _0x21b7f0=a0_0x28c189;ValueUtil['isNotEmpty'](this['grist'])?this[_0x21b7f0(0x1a2)][_0x21b7f0(0x17b)]():(ValueUtil[_0x21b7f0(0x184)](this[_0x21b7f0(0x191)])||this[_0x21b7f0(0x182)])&&await this[_0x21b7f0(0x182)]();}async['excuteOpenPopupButtonClick'](_0x2a0fd2,_0x51a157,_0x30e17a){const _0x455697=a0_0x28c189;let _0x477966=TermsUtil[_0x455697(0x193)](_0x2a0fd2[_0x455697(0x17f)]);ValueUtil['isNotEmpty'](_0x2a0fd2[_0x455697(0x19e)])&&(_0x477966=_0x477966+'-'+ValueUtil[_0x455697(0x1b6)](_0x51a157,..._0x2a0fd2['title_detail'][_0x455697(0x19d)]('.'))),MetaApi['openDynamicPopup'](_0x477966,_0x2a0fd2,_0x51a157,_0x30e17a);}async[a0_0x28c189(0x17a)](_0x2ba7e4,_0xf13d59,_0xd2f0d2){const _0x1d9075=a0_0x28c189;let _0x3ccec1=await MetaApi['callScenario'](_0x2ba7e4[_0x1d9075(0x17d)],_0x2ba7e4[_0x1d9075(0x17d)],_0xf13d59);!0x1!==_0x3ccec1&&!_0x3ccec1[_0x1d9075(0x18e)]&&ValueUtil['isNotEmpty'](_0x2ba7e4[_0x1d9075(0x179)])&&_0xd2f0d2();}[a0_0x28c189(0x1a0)](_0x3f91b0){const _0x35a5bf=a0_0x28c189;this['parent_id']=_0x3f91b0,this[_0x35a5bf(0x17b)]();}};