@things-factory/meta-ui 6.0.133 → 6.0.135

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-resource-code-select.js +9 -9
  3. package/client/component/filter/filter-grist-resource-code-select.js +9 -9
  4. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  5. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  6. package/client/component/selector/ox-resource-code-selector-popup.js +40 -0
  7. package/client/mixin/meta-base-mixin.js +1 -1
  8. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  9. package/client/mixin/meta-button-mixin.js +1 -1
  10. package/client/mixin/meta-form-mixin.js +1 -1
  11. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  12. package/client/mixin/meta-main-tab-mixin.js +1 -1
  13. package/client/mixin/meta-master-detail-mixin.js +1 -1
  14. package/client/mixin/meta-service-mixin.js +1 -1
  15. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  16. package/client/mixin/meta-tab-mixin.js +1 -1
  17. package/client/pages/activity/meta-activity-list-page.js +6 -6
  18. package/client/pages/activity/meta-activity-viewer-element.js +2 -2
  19. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  20. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  21. package/client/pages/entity/config-entity.js +29 -29
  22. package/client/pages/entity/main-menu-selector.js +8 -8
  23. package/client/pages/history/history-copy-list-popup.js +6 -6
  24. package/client/pages/history/history-json-list-popup.js +6 -6
  25. package/client/pages/loading-page.js +5 -5
  26. package/client/pages/menu/dynamic-menu-template.js +7 -7
  27. package/client/pages/menu/dynamic-menu.js +15 -15
  28. package/client/pages/meta-form-element.js +1 -1
  29. package/client/pages/meta-grist-element.js +1 -1
  30. package/client/pages/meta-grist-page.js +1 -1
  31. package/client/pages/meta-grist-tab-element.js +1 -1
  32. package/client/pages/meta-grist-tab-page.js +1 -1
  33. package/client/pages/meta-main-tab-element.js +1 -1
  34. package/client/pages/meta-main-tab-page.js +1 -1
  35. package/client/pages/meta-master-detail-element.js +1 -1
  36. package/client/pages/meta-master-detail-page.js +1 -1
  37. package/client/pages/meta-tab-detail-element.js +1 -1
  38. package/client/pages/meta-tab-detail-page.js +1 -1
  39. package/client/pages/meta-tab-element.js +1 -1
  40. package/client/pages/personalize/personal-column-selector.js +11 -11
  41. package/client/pages/terms/config-terminology.js +6 -6
  42. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  43. package/client/pages/work-code/work-code-page.js +1 -1
  44. package/client/reducers/main.js +1 -1
  45. package/client/utils/meta-api.js +1 -1
  46. package/client/utils/meta-crypto.js +1 -1
  47. package/client/utils/meta-ui-util.js +102 -102
  48. package/client/utils/service-util.js +13 -13
  49. package/client/utils/terms-util.js +2 -2
  50. package/client/utils/ui-util.js +1 -1
  51. package/client/utils/value-util.js +1 -1
  52. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  53. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  54. package/client/viewparts/dynamic-menu-part.js +10 -10
  55. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  56. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  57. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  58. package/package.json +2 -2
  59. package/server/activity/CommonActivity.js +2 -2
  60. package/server/constants/error-code.js +1 -1
  61. package/server/errors/license-error.js +1 -1
  62. package/server/routes.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  64. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  65. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  66. package/server/service/grid-personalize/grid-personalize.js +1 -1
  67. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  68. package/server/service/meta-activity/meta-activity-query.js +1 -1
  69. package/server/service/meta-activity/meta-activity-type.js +1 -1
  70. package/server/service/meta-secret/meta-resolver.js +1 -1
  71. package/server/service/set-translations/set-translation-resolver.js +1 -1
  72. package/server/service/work-code/work-code-mutation.js +1 -1
  73. package/server/service/work-code/work-code-query.js +1 -1
  74. package/server/service/work-code/work-code-type.js +1 -1
  75. package/server/service/work-code/work-code.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  77. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  78. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  79. package/server/service/work-code-detail/work-code-detail.js +1 -1
  80. package/client/component/editor/ox-grist-editor-resource-selector.js +0 -9
  81. package/client/component/grist/selector/ox-resource-code-selector-popup.js +0 -40
  82. package/client/component/renderer/ox-grist-renderer-resource-column.js +0 -1
  83. package/client/component/renderer/ox-grist-renderer-resource-selector.js +0 -1
  84. package/client/component/selector/ox-resource-selector-popup.js +0 -40
@@ -1,7 +1,7 @@
1
- const a0_0x1f4ec3=a0_0x6f80;(function(_0x8bae83,_0xe30283){const _0x395e32=a0_0x6f80,_0x74f3cf=_0x8bae83();while(!![]){try{const _0x37642f=-parseInt(_0x395e32(0xc4))/0x1+parseInt(_0x395e32(0xd5))/0x2+-parseInt(_0x395e32(0xd4))/0x3+-parseInt(_0x395e32(0xc8))/0x4*(-parseInt(_0x395e32(0xbf))/0x5)+-parseInt(_0x395e32(0xd2))/0x6*(parseInt(_0x395e32(0xc9))/0x7)+parseInt(_0x395e32(0xc7))/0x8+parseInt(_0x395e32(0xd6))/0x9*(parseInt(_0x395e32(0xc3))/0xa);if(_0x37642f===_0xe30283)break;else _0x74f3cf['push'](_0x74f3cf['shift']());}catch(_0x1055af){_0x74f3cf['push'](_0x74f3cf['shift']());}}}(a0_0x4123,0x9e9c1));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';function a0_0x4123(){const _0x24eb45=['dispatch','HEADERBAR','5SxtjeG','value','rank','get','3154860FViZxd','842773bqqKXw','liteMenus','FRONT_END','8079272BDJjBP','4366708NVgzpo','7voPmRS','meta[name=\x22application-name\x22]','appName','querySelector','landscape','UPDATE_META_UI','active','items','dynamic-menu-part','1315122JPwaHX','content','3006369BtPhew','593352ZDduap','9zTFsnt','dynamic-menu','portrait','hamburger','NAVBAR'];a0_0x4123=function(){return _0x24eb45;};return a0_0x4123();}import a0_0x1851da from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';function a0_0x6f80(_0x4a51d9,_0x16241f){const _0x41239a=a0_0x4123();return a0_0x6f80=function(_0x6f8023,_0x15ced7){_0x6f8023=_0x6f8023-0xbe;let _0x175042=_0x41239a[_0x6f8023];return _0x175042;},a0_0x6f80(_0x4a51d9,_0x16241f);}export const UPDATE_META_UI=a0_0x1f4ec3(0xce);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0x18fcf3){const _0x920962=a0_0x1f4ec3;var {hovering:_0x6aceae=!!isMobileDevice(),slotTemplate:_0x5e0cfa,portraitSlotTemplate:_0x2a0459,landscapeSlotTemplate:_0x21bf63,position:_0x40522e=VIEWPART_POSITION[_0x920962(0xda)]}=_0x18fcf3||{};const {hovering:_0x4fa041}=(await clientSettingStore[_0x920962(0xc2)](_0x920962(0xd7)))?.[_0x920962(0xc0)]||{};void 0x0!==_0x4fa041&&(_0x6aceae=_0x4fa041);const _0x2aee43=_0x40522e==VIEWPART_POSITION[_0x920962(0xbe)]?'landscape':_0x920962(0xd8),_0x4e246f=(_0x920962(0xcd)==_0x2aee43?_0x21bf63:_0x2a0459)||_0x5e0cfa||html``;appendViewpart({'name':'lite-menu-part','viewpart':{'show':!_0x6aceae,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x6aceae,'template':html`<dynamic-menu-part .orientation=${_0x2aee43}>${_0x4e246f}</dynamic-menu-part>`},'position':_0x40522e}),_0x6aceae&&'portrait'==_0x2aee43?HAMBURGER||(HAMBURGER={'name':_0x920962(0xd9),'template':html`
2
- <mwc-icon @click=${_0x113621=>toggleOverlay(_0x920962(0xd1),{'backdrop':!0x0})}
1
+ const a0_0x34d395=a0_0x9245;(function(_0x75581c,_0x3e0eb3){const _0x11d609=a0_0x9245,_0x5e48ec=_0x75581c();while(!![]){try{const _0xfbbd18=-parseInt(_0x11d609(0xb5))/0x1+-parseInt(_0x11d609(0xb9))/0x2+parseInt(_0x11d609(0xb3))/0x3*(-parseInt(_0x11d609(0xa9))/0x4)+parseInt(_0x11d609(0xae))/0x5+parseInt(_0x11d609(0xc1))/0x6*(parseInt(_0x11d609(0xb4))/0x7)+parseInt(_0x11d609(0xc3))/0x8*(parseInt(_0x11d609(0xbc))/0x9)+-parseInt(_0x11d609(0xc4))/0xa;if(_0xfbbd18===_0x3e0eb3)break;else _0x5e48ec['push'](_0x5e48ec['shift']());}catch(_0x28757f){_0x5e48ec['push'](_0x5e48ec['shift']());}}}(a0_0x1742,0x382ff));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x4a09ab from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x34d395(0xaf);export const UPDATE_META_MENU_TEMPLATE=a0_0x34d395(0xaa);var HAMBURGER;export async function setupMenuPart(_0x3ca4f9){const _0x412d6a=a0_0x34d395;var {hovering:_0x12783f=!!isMobileDevice(),slotTemplate:_0x5beb2d,portraitSlotTemplate:_0x4c3ccf,landscapeSlotTemplate:_0x486d30,position:_0x294633=VIEWPART_POSITION[_0x412d6a(0xbf)]}=_0x3ca4f9||{};const {hovering:_0x268066}=(await clientSettingStore['get'](_0x412d6a(0xa7)))?.[_0x412d6a(0xa5)]||{};void 0x0!==_0x268066&&(_0x12783f=_0x268066);const _0x449834=_0x294633==VIEWPART_POSITION[_0x412d6a(0xa6)]?_0x412d6a(0xb6):'portrait',_0x28ffd2=(_0x412d6a(0xb6)==_0x449834?_0x486d30:_0x4c3ccf)||_0x5beb2d||html``;appendViewpart({'name':_0x412d6a(0xad),'viewpart':{'show':!_0x12783f,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x12783f,'template':html`<dynamic-menu-part .orientation=${_0x449834}>${_0x28ffd2}</dynamic-menu-part>`},'position':_0x294633}),_0x12783f&&_0x412d6a(0xc0)==_0x449834?HAMBURGER||(HAMBURGER={'name':_0x412d6a(0xa8),'template':html`
2
+ <mwc-icon @click=${_0x396007=>toggleOverlay(_0x412d6a(0xac),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION[_0x920962(0xc6)]},store[_0x920962(0xdb)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x920962(0xdb)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x30aa2a){const _0x37d08f=a0_0x1f4ec3;var _0x264ef1=document[_0x37d08f(0xcc)](_0x37d08f(0xca))?.[_0x37d08f(0xd3)],_0x1ae6af=(await client['query']({'query':a0_0x1851da`
4
+ `,'position':TOOL_POSITION[_0x412d6a(0xb8)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x412d6a(0xba)]({'type':REMOVE_APP_TOOL,'name':_0x412d6a(0xa8)}),HAMBURGER=null);}function a0_0x9245(_0x5227f1,_0x58f984){const _0x17420e=a0_0x1742();return a0_0x9245=function(_0x924516,_0x353f1e){_0x924516=_0x924516-0xa5;let _0x60b398=_0x17420e[_0x924516];return _0x60b398;},a0_0x9245(_0x5227f1,_0x58f984);}export async function updateMenuTemplate(_0x1bbb87){const _0x5ebc10=a0_0x34d395;var _0x45ca52=document[_0x5ebc10(0xc2)](_0x5ebc10(0xbd))?.[_0x5ebc10(0xbe)],_0x10276c=(await client[_0x5ebc10(0xb0)]({'query':a0_0x4a09ab`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x1f4ec3=a0_0x6f80;(function(_0x8bae83,_0xe30283){const _0x395e32=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x37d08f(0xcf),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x264ef1]}],'sortings':[{'name':_0x37d08f(0xc1),'desc':!0x1}]}}))['data'][_0x37d08f(0xc5)][_0x37d08f(0xd0)];store[_0x37d08f(0xdb)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1ae6af['filter'](_0xae5ce0=>!_0xae5ce0[_0x37d08f(0xcb)]||_0xae5ce0[_0x37d08f(0xcb)]===_0x264ef1),'template':_0x30aa2a});}
23
+ `,'variables':{'filters':[{'name':_0x5ebc10(0xab),'operator':'eq','value':!0x0},{'name':_0x5ebc10(0xb7),'operator':'in','value':['',_0x45ca52]}],'sortings':[{'name':'rank','desc':!0x1}]}}))['data'][_0x5ebc10(0xb2)][_0x5ebc10(0xbb)];store[_0x5ebc10(0xba)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x10276c[_0x5ebc10(0xb1)](_0x548d4c=>!_0x548d4c['appName']||_0x548d4c[_0x5ebc10(0xb7)]===_0x45ca52),'template':_0x1bbb87});}function a0_0x1742(){const _0x44039b=['UPDATE_META_MENU_TEMPLATE','active','dynamic-menu-part','lite-menu-part','289315bOnxaz','UPDATE_META_UI','query','filter','liteMenus','545298XnAuPA','190757AFGIsD','61309ytTKeQ','landscape','appName','FRONT_END','481036ZPlmKd','dispatch','items','7227YTyjxY','meta[name=\x22application-name\x22]','content','NAVBAR','portrait','66aPuGSL','querySelector','3768ufhcjL','221010hutWam','value','HEADERBAR','dynamic-menu','hamburger','4jrXSXU'];a0_0x1742=function(){return _0x44039b;};return a0_0x1742();}
@@ -1,16 +1,16 @@
1
- (function(_0x2ddf8d,_0x604fb0){const _0xa44e94=a0_0x227b,_0x20b4bc=_0x2ddf8d();while(!![]){try{const _0x5cb6aa=-parseInt(_0xa44e94(0x14b))/0x1*(-parseInt(_0xa44e94(0x132))/0x2)+parseInt(_0xa44e94(0x143))/0x3*(-parseInt(_0xa44e94(0x13f))/0x4)+-parseInt(_0xa44e94(0x139))/0x5+-parseInt(_0xa44e94(0x14c))/0x6*(parseInt(_0xa44e94(0x14a))/0x7)+parseInt(_0xa44e94(0x138))/0x8+parseInt(_0xa44e94(0x14d))/0x9+-parseInt(_0xa44e94(0x13b))/0xa;if(_0x5cb6aa===_0x604fb0)break;else _0x20b4bc['push'](_0x20b4bc['shift']());}catch(_0x109909){_0x20b4bc['push'](_0x20b4bc['shift']());}}}(a0_0xafab,0x7805f));function a0_0xafab(){const _0x290be8=['5699570ywqekZ','tMenu','toLowerCase','options','172JRwPmM','change','querySelector','filter-change','27483QYgWYU','codeField','codes','tagName','name','selectorName','form\x20[name=\x22','896HsvRTt','11fgKHUg','25446IVdCiD','8821521mwOWwn','renderRoot','153990IJoLFu','large','stopPropagation','dispField','dispatchEvent','length','2704800OBGNZA','834355doyuZl','ox-grid-header'];a0_0xafab=function(){return _0x290be8;};return a0_0xafab();}function a0_0x227b(_0x3c503a,_0x1e00e6){const _0xafab74=a0_0xafab();return a0_0x227b=function(_0x227b95,_0xf25701){_0x227b95=_0x227b95-0x132;let _0x4a074b=_0xafab74[_0x227b95];return _0x4a074b;},a0_0x227b(_0x3c503a,_0x1e00e6);}import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x2fc3d6,_0x30fa62,_0x22398b){const _0x303cd9=a0_0x227b;var _0x3e715c=html`
1
+ (function(_0x44048c,_0x41d8b1){const _0x5db302=a0_0x4525,_0x487fea=_0x44048c();while(!![]){try{const _0x1ed278=-parseInt(_0x5db302(0x17a))/0x1*(-parseInt(_0x5db302(0x18d))/0x2)+parseInt(_0x5db302(0x187))/0x3*(parseInt(_0x5db302(0x176))/0x4)+-parseInt(_0x5db302(0x181))/0x5*(-parseInt(_0x5db302(0x193))/0x6)+parseInt(_0x5db302(0x18c))/0x7*(-parseInt(_0x5db302(0x177))/0x8)+parseInt(_0x5db302(0x18b))/0x9*(-parseInt(_0x5db302(0x180))/0xa)+-parseInt(_0x5db302(0x188))/0xb*(-parseInt(_0x5db302(0x18a))/0xc)+-parseInt(_0x5db302(0x190))/0xd;if(_0x1ed278===_0x41d8b1)break;else _0x487fea['push'](_0x487fea['shift']());}catch(_0x3e6154){_0x487fea['push'](_0x487fea['shift']());}}}(a0_0x3caa,0xd851c));function a0_0x4525(_0x2c77a1,_0x41b6cf){const _0x3caa82=a0_0x3caa();return a0_0x4525=function(_0x4525be,_0x38c490){_0x4525be=_0x4525be-0x176;let _0x3c488b=_0x3caa82[_0x4525be];return _0x3c488b;},a0_0x4525(_0x2c77a1,_0x41b6cf);}import'../selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x3caa(){const _0x421362=['11795DfzELB','dispField','value','toLowerCase','[name=\x22','filter-change','3FYxiSn','88aiUTdg','tMenu','1820568NMacUX','126396WhMcTI','21UXgzVw','16364rvNSNH','target','codeField','15589652EEsqmE','tagName','change','2076bWTswZ','renderRoot','options','large','2986292vxTmeD','3448472HgcwyZ','dispatchEvent','length','77YWOxaZ','querySelector','codes','ox-grid-header','filter','name','20gwFWXY'];a0_0x3caa=function(){return _0x421362;};return a0_0x3caa();}import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x1a6a24,_0x55f061,_0x4aecc3){const _0x30aa8a=a0_0x4525;var _0x21fff6=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x30fa62}
4
- .options=${_0x2fc3d6[_0x303cd9(0x13e)]}
5
- .confirmCallback=${_0x22398b}
3
+ .value=${_0x55f061}
4
+ .options=${_0x1a6a24[_0x30aa8a(0x195)]}
5
+ .confirmCallback=${_0x4aecc3}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0x3e715c,{'backdrop':!0x0,'size':_0x303cd9(0x133),'title':TermsUtil[_0x303cd9(0x13c)](_0x2fc3d6[_0x303cd9(0x13e)][_0x303cd9(0x148)])});}export const FilterFormResourceCodeSelect=(_0x460120,_0x1fbbe4,_0x2258b5)=>{const _0x3dc622=a0_0x227b,_0xa0c67a=_0x460120[_0x3dc622(0x13e)],_0x1ed9e4=_0xa0c67a[_0x3dc622(0x145)]&&_0xa0c67a[_0x3dc622(0x145)][_0x3dc622(0x137)]>0x0?_0xa0c67a[_0x3dc622(0x145)]:void 0x0,{operator:_0x23f1ff='eq'}=_0x460120;let _0x139320=_0x1fbbe4?_0x1fbbe4[_0xa0c67a[_0x3dc622(0x144)]]:'',_0x397b98=_0x1fbbe4?_0x1fbbe4[_0xa0c67a[_0x3dc622(0x144)]]:'';if(_0xa0c67a['dispField']&&_0x1fbbe4&&_0x1ed9e4){let _0x15b812=_0x1ed9e4['filter'](_0x5e4fc6=>_0x5e4fc6['value']==_0x1fbbe4);_0x15b812&&_0x15b812['length']>0x0&&(_0x397b98=_0x15b812[0x0][_0xa0c67a[_0x3dc622(0x135)]]);}return'eq'===_0x23f1ff?html`
8
- <input name='${_0x460120[_0x3dc622(0x147)]}' .value=${_0x139320} type="text" hidden></input>
7
+ `;openPopup(_0x21fff6,{'backdrop':!0x0,'size':_0x30aa8a(0x196),'title':TermsUtil[_0x30aa8a(0x189)](_0x1a6a24['options']['selectorName'])});}export const FilterFormResourceCodeSelect=(_0x153c3b,_0xbc3856,_0x4957ba)=>{const _0x46b992=a0_0x4525,_0x51cf1d=_0x153c3b[_0x46b992(0x195)],_0x198c1b=_0x51cf1d[_0x46b992(0x17c)]&&_0x51cf1d[_0x46b992(0x17c)][_0x46b992(0x179)]>0x0?_0x51cf1d['codes']:void 0x0,{operator:_0x1f3ad4='eq'}=_0x153c3b;let _0x6d4e85=_0xbc3856?_0xbc3856[_0x51cf1d[_0x46b992(0x18f)]]:'',_0xe625cd=_0xbc3856?_0xbc3856[_0x51cf1d[_0x46b992(0x18f)]]:'';if(_0x51cf1d[_0x46b992(0x182)]&&_0xbc3856&&_0x198c1b){let _0x75860f=_0x198c1b[_0x46b992(0x17e)](_0x1d305c=>_0x1d305c[_0x46b992(0x183)]==_0xbc3856);_0x75860f&&_0x75860f['length']>0x0&&(_0xe625cd=_0x75860f[0x0][_0x51cf1d[_0x46b992(0x182)]]);}return'eq'===_0x1f3ad4?html`
8
+ <input name='${_0x153c3b['name']}' .value=${_0x6d4e85} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x460120[_0x3dc622(0x147)]}_disp'
13
- .value=${_0x397b98}
14
- @click=${_0xdba475=>{const _0x24ac56=_0x3dc622;_0xdba475[_0x24ac56(0x134)]();const _0x146f47=_0xdba475['target'];openResourceCodeSelector(_0x460120,_0x1fbbe4,_0x4000bd=>{const _0x10184f=_0x24ac56;let _0x40e161=_0x4000bd?_0x4000bd[_0xa0c67a[_0x10184f(0x144)]]:'',_0x1728c6=_0x40e161;_0x4000bd&&_0xa0c67a['dispField']&&(_0x1728c6=_0x4000bd[_0xa0c67a[_0x10184f(0x135)]]),_0x146f47['value']=_0x1728c6,(_0x10184f(0x13a)==_0x2258b5[_0x10184f(0x146)][_0x10184f(0x13d)]()?_0x2258b5['renderRoot'][_0x10184f(0x141)]('[name=\x22'+_0x460120[_0x10184f(0x147)]+'\x22]'):_0x2258b5[_0x10184f(0x14e)][_0x10184f(0x141)](_0x10184f(0x149)+_0x460120['name']+'\x22]'))['value']=_0x40e161,_0x146f47[_0x10184f(0x136)](new Event(_0x10184f(0x140),{'bubbles':!0x0})),_0x146f47[_0x10184f(0x136)](new CustomEvent(_0x10184f(0x142),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x460120[_0x10184f(0x147)],'operator':_0x23f1ff,'value':_0x40e161}}));});}}
12
+ name='${_0x153c3b[_0x46b992(0x17f)]}_disp'
13
+ .value=${_0xe625cd}
14
+ @click=${_0x4f7888=>{const _0x2df07b=_0x46b992;_0x4f7888['stopPropagation']();const _0x661d65=_0x4f7888[_0x2df07b(0x18e)];openResourceCodeSelector(_0x153c3b,_0xbc3856,_0x600d8d=>{const _0xe873c0=_0x2df07b;let _0x1a6a26=_0x600d8d?_0x600d8d[_0x51cf1d[_0xe873c0(0x18f)]]:'',_0x2dd691=_0x1a6a26;_0x600d8d&&_0x51cf1d[_0xe873c0(0x182)]&&(_0x2dd691=_0x600d8d[_0x51cf1d[_0xe873c0(0x182)]]),_0x661d65[_0xe873c0(0x183)]=_0x2dd691,(_0xe873c0(0x17d)==_0x4957ba[_0xe873c0(0x191)][_0xe873c0(0x184)]()?_0x4957ba['renderRoot'][_0xe873c0(0x17b)](_0xe873c0(0x185)+_0x153c3b['name']+'\x22]'):_0x4957ba[_0xe873c0(0x194)]['querySelector']('form\x20[name=\x22'+_0x153c3b['name']+'\x22]'))[_0xe873c0(0x183)]=_0x1a6a26,_0x661d65[_0xe873c0(0x178)](new Event(_0xe873c0(0x192),{'bubbles':!0x0})),_0x661d65[_0xe873c0(0x178)](new CustomEvent(_0xe873c0(0x186),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x153c3b[_0xe873c0(0x17f)],'operator':_0x1f3ad4,'value':_0x1a6a26}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x3a5183,_0x3a284c){const _0x1310f7=a0_0x54d2,_0x13d5ce=_0x3a5183();while(!![]){try{const _0x9ba96a=-parseInt(_0x1310f7(0x20d))/0x1*(-parseInt(_0x1310f7(0x207))/0x2)+parseInt(_0x1310f7(0x1f7))/0x3+parseInt(_0x1310f7(0x20b))/0x4+-parseInt(_0x1310f7(0x201))/0x5+parseInt(_0x1310f7(0x200))/0x6*(-parseInt(_0x1310f7(0x1f5))/0x7)+-parseInt(_0x1310f7(0x1fa))/0x8*(-parseInt(_0x1310f7(0x1fb))/0x9)+parseInt(_0x1310f7(0x209))/0xa;if(_0x9ba96a===_0x3a284c)break;else _0x13d5ce['push'](_0x13d5ce['shift']());}catch(_0x16e0bd){_0x13d5ce['push'](_0x13d5ce['shift']());}}}(a0_0x12d6,0x3f5c4));function a0_0x54d2(_0x37fd94,_0x3a4445){const _0x12d627=a0_0x12d6();return a0_0x54d2=function(_0x54d2f1,_0xd9b979){_0x54d2f1=_0x54d2f1-0x1f4;let _0x2704ce=_0x12d627[_0x54d2f1];return _0x2704ce;},a0_0x54d2(_0x37fd94,_0x3a4445);}import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x12d6(){const _0x23afce=['filter','77307HfXKzT','options','codeField','184SxJhFL','128529tDIxuI','selectorName','codes','dispField','renderRoot','983772vkArGc','1676070mpwZXc','[name=\x22','value','length','change','large','94oYmIAv','record','1534660VxiMKh','querySelector','746740MLGzBP','toLowerCase','4857kutzyX','tagName','dispatchEvent','stopPropagation','tMenu','name','14stVUys'];a0_0x12d6=function(){return _0x23afce;};return a0_0x12d6();}import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x14feb3,_0x60046f,_0x109a44){const _0x28e48d=a0_0x54d2;var _0x43d249=html`
1
+ (function(_0x4f7b2,_0x4a5110){const _0x548db0=a0_0x4020,_0x5c0ddb=_0x4f7b2();while(!![]){try{const _0x3e0ebf=parseInt(_0x548db0(0x11b))/0x1+-parseInt(_0x548db0(0x126))/0x2*(-parseInt(_0x548db0(0x128))/0x3)+-parseInt(_0x548db0(0x115))/0x4+parseInt(_0x548db0(0x12b))/0x5+-parseInt(_0x548db0(0x122))/0x6+-parseInt(_0x548db0(0x12c))/0x7+parseInt(_0x548db0(0x119))/0x8*(-parseInt(_0x548db0(0x121))/0x9);if(_0x3e0ebf===_0x4a5110)break;else _0x5c0ddb['push'](_0x5c0ddb['shift']());}catch(_0x558188){_0x5c0ddb['push'](_0x5c0ddb['shift']());}}}(a0_0xbc50,0xab33a));function a0_0xbc50(){const _0x2d4e76=['name','dispField','6WPCxkd','options','1308381sYBsoQ','toLowerCase','codeField','1980545vBafXQ','5599783RmPCTd','value','codes','length','filter-change','1442104qfqebw','stopPropagation','tagName','querySelector','904gHyMYc','filter','441657YlCEnK','record','tMenu','target','selectorName','large','10161uzyVrT','940998SkZVnR','renderRoot'];a0_0xbc50=function(){return _0x2d4e76;};return a0_0xbc50();}import'../selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function a0_0x4020(_0x5a0448,_0x165977){const _0xbc505b=a0_0xbc50();return a0_0x4020=function(_0x4020a7,_0x49e4d8){_0x4020a7=_0x4020a7-0x112;let _0x216b99=_0xbc505b[_0x4020a7];return _0x216b99;},a0_0x4020(_0x5a0448,_0x165977);}function openResourceCodeSelector(_0x26fec2,_0x122d80,_0xe2c358){const _0x18d220=a0_0x4020;var _0x3aec53=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x60046f}
4
- .options=${_0x14feb3[_0x28e48d(0x208)][_0x28e48d(0x1f8)]}
5
- .confirmCallback=${_0x109a44}
3
+ .value=${_0x122d80}
4
+ .options=${_0x26fec2[_0x18d220(0x11c)][_0x18d220(0x127)]}
5
+ .confirmCallback=${_0xe2c358}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0x43d249,{'backdrop':!0x0,'size':_0x28e48d(0x206),'title':TermsUtil[_0x28e48d(0x211)](_0x14feb3['record'][_0x28e48d(0x1f8)][_0x28e48d(0x1fc)])});}export const FilterGristResourceCodeSelect=(_0x295020,_0xb30785,_0x16c28d)=>{const _0x30e5ac=a0_0x54d2,_0x5420e=_0x295020[_0x30e5ac(0x1f6)],_0x2718de=_0x295020[_0x30e5ac(0x208)][_0x30e5ac(0x1f8)],_0x48d276=_0x2718de['codes']&&_0x2718de[_0x30e5ac(0x1fd)][_0x30e5ac(0x204)]>0x0?_0x2718de[_0x30e5ac(0x1fd)]:void 0x0,{operator:_0x49f202='eq'}=_0x5420e;let _0xadbf72=_0xb30785?_0xb30785[_0x2718de[_0x30e5ac(0x1f9)]]:'',_0x465635=_0xb30785?_0xb30785[_0x2718de[_0x30e5ac(0x1f9)]]:'';if(_0x2718de[_0x30e5ac(0x1fe)]&&_0xb30785&&_0x48d276){let _0x5efa08=_0x48d276['filter'](_0x462dc9=>_0x462dc9[_0x30e5ac(0x203)]==_0xb30785);_0x5efa08&&_0x5efa08[_0x30e5ac(0x204)]>0x0&&(_0x465635=_0x5efa08[0x0][_0x2718de[_0x30e5ac(0x1fe)]]);}return'eq'===_0x49f202?html`
8
- <input name='${_0x295020[_0x30e5ac(0x1f4)]}' .value=${_0xadbf72} type="text" hidden></input>
7
+ `;openPopup(_0x3aec53,{'backdrop':!0x0,'size':_0x18d220(0x120),'title':TermsUtil[_0x18d220(0x11d)](_0x26fec2[_0x18d220(0x11c)]['options'][_0x18d220(0x11f)])});}export const FilterGristResourceCodeSelect=(_0x20f20c,_0x1b0263,_0x2d10d5)=>{const _0x34e292=a0_0x4020,_0x4d3d5f=_0x20f20c[_0x34e292(0x11a)],_0x3aaea4=_0x20f20c[_0x34e292(0x11c)]['options'],_0x49192e=_0x3aaea4[_0x34e292(0x112)]&&_0x3aaea4[_0x34e292(0x112)][_0x34e292(0x113)]>0x0?_0x3aaea4[_0x34e292(0x112)]:void 0x0,{operator:_0x5e9883='eq'}=_0x4d3d5f;let _0x4695aa=_0x1b0263?_0x1b0263[_0x3aaea4[_0x34e292(0x12a)]]:'',_0x430a49=_0x1b0263?_0x1b0263[_0x3aaea4[_0x34e292(0x12a)]]:'';if(_0x3aaea4[_0x34e292(0x125)]&&_0x1b0263&&_0x49192e){let _0x14a710=_0x49192e['filter'](_0xf1e2eb=>_0xf1e2eb['value']==_0x1b0263);_0x14a710&&_0x14a710[_0x34e292(0x113)]>0x0&&(_0x430a49=_0x14a710[0x0][_0x3aaea4['dispField']]);}return'eq'===_0x5e9883?html`
8
+ <input name='${_0x20f20c['name']}' .value=${_0x4695aa} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x295020[_0x30e5ac(0x1f4)]}_disp'
13
- .value=${_0x465635}
14
- @click=${_0x2f6657=>{const _0x45dc8d=_0x30e5ac;_0x2f6657[_0x45dc8d(0x210)]();const _0x128d72=_0x2f6657['target'];openResourceCodeSelector(_0x295020,_0xb30785,_0x3d2640=>{const _0x3f1d79=_0x45dc8d;let _0x410287=_0x3d2640?_0x3d2640[_0x2718de[_0x3f1d79(0x1f9)]]:'',_0x30d1ee=_0x410287;_0x3d2640&&_0x2718de[_0x3f1d79(0x1fe)]&&(_0x30d1ee=_0x3d2640[_0x2718de[_0x3f1d79(0x1fe)]]),_0x128d72[_0x3f1d79(0x203)]=_0x30d1ee,('ox-grid-header'==_0x16c28d[_0x3f1d79(0x20e)][_0x3f1d79(0x20c)]()?_0x16c28d[_0x3f1d79(0x1ff)][_0x3f1d79(0x20a)](_0x3f1d79(0x202)+_0x5420e[_0x3f1d79(0x1f4)]+'\x22]'):_0x16c28d[_0x3f1d79(0x1ff)]['querySelector']('form\x20[name=\x22'+_0x5420e[_0x3f1d79(0x1f4)]+'\x22]'))[_0x3f1d79(0x203)]=_0x410287,_0x128d72[_0x3f1d79(0x20f)](new Event(_0x3f1d79(0x205),{'bubbles':!0x0})),_0x128d72[_0x3f1d79(0x20f)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x295020[_0x3f1d79(0x1f4)],'operator':_0x49f202,'value':_0x410287}}));});}}
12
+ name='${_0x20f20c['name']}_disp'
13
+ .value=${_0x430a49}
14
+ @click=${_0x192d52=>{const _0x2c5ad7=_0x34e292;_0x192d52[_0x2c5ad7(0x116)]();const _0x42294f=_0x192d52[_0x2c5ad7(0x11e)];openResourceCodeSelector(_0x20f20c,_0x1b0263,_0x646a51=>{const _0x5bc135=_0x2c5ad7;let _0x57a732=_0x646a51?_0x646a51[_0x3aaea4[_0x5bc135(0x12a)]]:'',_0x1315c2=_0x57a732;_0x646a51&&_0x3aaea4[_0x5bc135(0x125)]&&(_0x1315c2=_0x646a51[_0x3aaea4[_0x5bc135(0x125)]]),_0x42294f[_0x5bc135(0x12d)]=_0x1315c2,('ox-grid-header'==_0x2d10d5[_0x5bc135(0x117)][_0x5bc135(0x129)]()?_0x2d10d5[_0x5bc135(0x123)]['querySelector']('[name=\x22'+_0x4d3d5f[_0x5bc135(0x124)]+'\x22]'):_0x2d10d5[_0x5bc135(0x123)][_0x5bc135(0x118)]('form\x20[name=\x22'+_0x4d3d5f[_0x5bc135(0x124)]+'\x22]'))['value']=_0x57a732,_0x42294f['dispatchEvent'](new Event('change',{'bubbles':!0x0})),_0x42294f['dispatchEvent'](new CustomEvent(_0x5bc135(0x114),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x20f20c[_0x5bc135(0x124)],'operator':_0x5e9883,'value':_0x57a732}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,11 +1,11 @@
1
- const a0_0x5aac95=a0_0x5919;function a0_0x5919(_0x2c7091,_0x2355ef){const _0x50afb6=a0_0x50af();return a0_0x5919=function(_0x591969,_0x1e75f9){_0x591969=_0x591969-0x1b0;let _0x106299=_0x50afb6[_0x591969];return _0x106299;},a0_0x5919(_0x2c7091,_0x2355ef);}(function(_0x1439c3,_0x5acfd3){const _0x1ab392=a0_0x5919,_0x1a11d8=_0x1439c3();while(!![]){try{const _0x37d1ba=-parseInt(_0x1ab392(0x1b4))/0x1*(parseInt(_0x1ab392(0x1d2))/0x2)+-parseInt(_0x1ab392(0x1b2))/0x3+parseInt(_0x1ab392(0x1c2))/0x4*(-parseInt(_0x1ab392(0x1b0))/0x5)+-parseInt(_0x1ab392(0x1ce))/0x6*(parseInt(_0x1ab392(0x1d3))/0x7)+parseInt(_0x1ab392(0x1be))/0x8*(parseInt(_0x1ab392(0x1d1))/0x9)+parseInt(_0x1ab392(0x1cd))/0xa*(-parseInt(_0x1ab392(0x1c3))/0xb)+-parseInt(_0x1ab392(0x1c6))/0xc*(-parseInt(_0x1ab392(0x1cc))/0xd);if(_0x37d1ba===_0x5acfd3)break;else _0x1a11d8['push'](_0x1a11d8['shift']());}catch(_0x351a2e){_0x1a11d8['push'](_0x1a11d8['shift']());}}}(a0_0x50af,0x730de));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x50af(){const _0x2d3a09=['2388ScoNdP','value','dispField','popup','firstUpdated','openSelector','195754jLHCma','43370IJPWDk','6SPdTwj','codeField','push','9NjrRjr','1703386JYUqmj','3858603OFxKRG','column','30oHUZgg','options','513630qGRxQQ','Enter','1AWFzIR','define','dispatchEvent','display','ox-grist-editor-resource-code-selector','key','editorTemplate','row','length','field-change','3872832DTpCen','record','tMenu','filter','395916szkbtq','2134XSRjPL','bind','codes'];a0_0x50af=function(){return _0x2d3a09;};return a0_0x50af();}import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../selector/ox-resource-code-selector-popup';export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get['properties'](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x5aac95(0x1ba)](){const _0x1744ca=a0_0x5aac95;let _0x21e0a1,_0x35b1b8=this[_0x1744ca(0x1d4)][_0x1744ca(0x1bf)]['options'][_0x1744ca(0x1c5)]||[];if(!this[_0x1744ca(0x1d4)][_0x1744ca(0x1bf)][_0x1744ca(0x1b1)][_0x1744ca(0x1c8)])return html`
2
- ${this['value']?html` <span tabindex="0" style="flex:1">${this[_0x1744ca(0x1c7)]}</span> `:html`<span tabindex="0"></span>`}
3
- `;if(this[_0x1744ca(0x1c7)]&&this[_0x1744ca(0x1c7)][_0x1744ca(0x1bc)]>0x0){let _0x4130e6=_0x35b1b8[_0x1744ca(0x1c1)](_0x202a9c=>_0x202a9c[_0x1744ca(0x1c7)]===this[_0x1744ca(0x1c7)]);_0x21e0a1=_0x4130e6&&_0x4130e6[_0x1744ca(0x1bc)]>0x0?_0x4130e6[0x0][_0x1744ca(0x1b7)]:'';}return html`
4
- ${_0x21e0a1?html` <span tabindex="0" style="flex:1">${_0x21e0a1}</span> `:html`<span tabindex="0"></span>`}
5
- `;}async[a0_0x5aac95(0x1ca)](){super['firstUpdated']();}['_onclick'](_0x3a2054){const _0xb5c8d2=a0_0x5aac95;_0x3a2054['stopPropagation'](),this[_0xb5c8d2(0x1cb)]();}['_onkeydown'](_0x3dcf3b){const _0x1b4407=a0_0x5aac95;_0x1b4407(0x1b3)==_0x3dcf3b[_0x1b4407(0x1b9)]&&(_0x3dcf3b['stopPropagation'](),this['openSelector']());}[a0_0x5aac95(0x1cb)](){const _0x5164d0=a0_0x5aac95;this[_0x5164d0(0x1c9)]&&delete this['popup'];var {selectorName:_0x17830c=''}=this[_0x5164d0(0x1d4)][_0x5164d0(0x1bf)][_0x5164d0(0x1b1)]||{},_0x105696=html`
1
+ function a0_0x2ff7(_0x39838a,_0x4dbf62){const _0x4823fc=a0_0x4823();return a0_0x2ff7=function(_0x2ff7a7,_0x149925){_0x2ff7a7=_0x2ff7a7-0x162;let _0x4831c5=_0x4823fc[_0x2ff7a7];return _0x4831c5;},a0_0x2ff7(_0x39838a,_0x4dbf62);}const a0_0x362bac=a0_0x2ff7;(function(_0x15f991,_0x23b014){const _0x3c19cc=a0_0x2ff7,_0x1df824=_0x15f991();while(!![]){try{const _0x46c31c=-parseInt(_0x3c19cc(0x16c))/0x1+parseInt(_0x3c19cc(0x17f))/0x2+-parseInt(_0x3c19cc(0x180))/0x3*(-parseInt(_0x3c19cc(0x163))/0x4)+-parseInt(_0x3c19cc(0x16e))/0x5*(parseInt(_0x3c19cc(0x175))/0x6)+-parseInt(_0x3c19cc(0x17b))/0x7+-parseInt(_0x3c19cc(0x162))/0x8+parseInt(_0x3c19cc(0x17a))/0x9;if(_0x46c31c===_0x23b014)break;else _0x1df824['push'](_0x1df824['shift']());}catch(_0x444d26){_0x1df824['push'](_0x1df824['shift']());}}}(a0_0x4823,0x9bbcf));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/ox-resource-code-selector-popup';function a0_0x4823(){const _0x35b8e1=['7028525AHABAh','bind','_onkeydown','codes','2413654BVrMDV','1878skgVoY','codeField','openSelector','7313688CxJOzu','5704RyMFCf','properties','popup','row','filter','Enter','define','dispField','ox-grist-editor-resource-code-selector','1248289EoeYQo','stopPropagation','85MCAIaB','options','value','editorTemplate','field-change','length','column','52074bdVszY','dispatchEvent','display','push','record','16672662bVqRlr'];a0_0x4823=function(){return _0x35b8e1;};return a0_0x4823();}export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get[a0_0x362bac(0x164)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x362bac(0x171)](){const _0x31fc60=a0_0x362bac;let _0x57b836,_0x158728=this['column'][_0x31fc60(0x179)][_0x31fc60(0x16f)][_0x31fc60(0x17e)]||[];if(!this[_0x31fc60(0x174)][_0x31fc60(0x179)][_0x31fc60(0x16f)]['dispField'])return html`
2
+ ${this[_0x31fc60(0x170)]?html` <span tabindex="0" style="flex:1">${this['value']}</span> `:html`<span tabindex="0"></span>`}
3
+ `;if(this[_0x31fc60(0x170)]&&this['value']['length']>0x0){let _0x1477ef=_0x158728[_0x31fc60(0x167)](_0x390f61=>_0x390f61[_0x31fc60(0x170)]===this[_0x31fc60(0x170)]);_0x57b836=_0x1477ef&&_0x1477ef[_0x31fc60(0x173)]>0x0?_0x1477ef[0x0][_0x31fc60(0x177)]:'';}return html`
4
+ ${_0x57b836?html` <span tabindex="0" style="flex:1">${_0x57b836}</span> `:html`<span tabindex="0"></span>`}
5
+ `;}async['firstUpdated'](){super['firstUpdated']();}['_onclick'](_0x2b05c7){const _0x5d97ea=a0_0x362bac;_0x2b05c7['stopPropagation'](),this[_0x5d97ea(0x182)]();}[a0_0x362bac(0x17d)](_0x29c420){const _0x16d4d2=a0_0x362bac;_0x16d4d2(0x168)==_0x29c420['key']&&(_0x29c420[_0x16d4d2(0x16d)](),this[_0x16d4d2(0x182)]());}[a0_0x362bac(0x182)](){const _0x1b3736=a0_0x362bac;this['popup']&&delete this[_0x1b3736(0x165)];var {selectorName:_0x4a0647=''}=this[_0x1b3736(0x174)][_0x1b3736(0x179)][_0x1b3736(0x16f)]||{},_0x3b2a63=html`
6
6
  <ox-resource-code-selector-popup
7
- .value=${this[_0x5164d0(0x1c7)]}
8
- .options=${this[_0x5164d0(0x1d4)][_0x5164d0(0x1bf)][_0x5164d0(0x1b1)]}
9
- .confirmCallback=${(_0x2a9708=>{const _0x3ef080=_0x5164d0;let _0x363282=this[_0x3ef080(0x1d4)]['record']['options'][_0x3ef080(0x1cf)],_0x177703=this['column'][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c8)];this[_0x3ef080(0x1d4)][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)]||(this[_0x3ef080(0x1d4)]['record'][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)]=[]);let _0x4e9435=this['column'][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)][_0x3ef080(0x1c1)](_0x2ac0c9=>_0x2ac0c9[_0x3ef080(0x1c7)]==_0x2a9708[_0x363282]);_0x4e9435&&0x0!=_0x4e9435[_0x3ef080(0x1bc)]||this[_0x3ef080(0x1d4)][_0x3ef080(0x1bf)][_0x3ef080(0x1b1)][_0x3ef080(0x1c5)][_0x3ef080(0x1d0)]({'value':_0x2a9708[_0x363282],'display':_0x2a9708[_0x177703]}),this[_0x3ef080(0x1b6)](new CustomEvent(_0x3ef080(0x1bd),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0x3ef080(0x1c7)],'after':_0x2a9708?_0x2a9708[_0x363282]:null,'record':this['record'],'column':this[_0x3ef080(0x1d4)],'row':this[_0x3ef080(0x1bb)]}}));})[_0x5164d0(0x1c4)](this)}
7
+ .value=${this['value']}
8
+ .options=${this[_0x1b3736(0x174)][_0x1b3736(0x179)][_0x1b3736(0x16f)]}
9
+ .confirmCallback=${(_0x452616=>{const _0x31741e=_0x1b3736;let _0x5d4f60=this['column'][_0x31741e(0x179)][_0x31741e(0x16f)][_0x31741e(0x181)],_0x3f93cf=this[_0x31741e(0x174)][_0x31741e(0x179)][_0x31741e(0x16f)][_0x31741e(0x16a)];this['column'][_0x31741e(0x179)][_0x31741e(0x16f)]['codes']||(this[_0x31741e(0x174)][_0x31741e(0x179)]['options'][_0x31741e(0x17e)]=[]);let _0x29a49c=this['column'][_0x31741e(0x179)][_0x31741e(0x16f)][_0x31741e(0x17e)][_0x31741e(0x167)](_0x495ad4=>_0x495ad4['value']==_0x452616[_0x5d4f60]);_0x29a49c&&0x0!=_0x29a49c['length']||this[_0x31741e(0x174)][_0x31741e(0x179)]['options']['codes'][_0x31741e(0x178)]({'value':_0x452616[_0x5d4f60],'display':_0x452616[_0x3f93cf]}),this[_0x31741e(0x176)](new CustomEvent(_0x31741e(0x172),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x452616?_0x452616[_0x5d4f60]:null,'record':this['record'],'column':this[_0x31741e(0x174)],'row':this[_0x31741e(0x166)]}}));})[_0x1b3736(0x17c)](this)}
10
10
  ></ox-resource-code-selector-popup>
11
- `;this[_0x5164d0(0x1c9)]=openPopup(_0x105696,{'backdrop':!0x0,'size':'large','title':TermsUtil[_0x5164d0(0x1c0)](_0x17830c)});}}customElements[a0_0x5aac95(0x1b5)](a0_0x5aac95(0x1b8),OxGristEditorResourceCodeSelector);
11
+ `;this[_0x1b3736(0x165)]=openPopup(_0x3b2a63,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x4a0647)});}}customElements[a0_0x362bac(0x169)](a0_0x362bac(0x16b),OxGristEditorResourceCodeSelector);
@@ -1 +1 @@
1
- function a0_0x4b63(){const _0x5ed650=['length','402189seydHK','textContent','2905931FEVfCQ','setAttribute','codes','options','2607696iHOtOH','data-tooltip','7565NHTpuo','558414kABJdM','dispField','record','8QTJKFv','641770vMcDhp','1948FVbwOx','target','675886oLEogi'];a0_0x4b63=function(){return _0x5ed650;};return a0_0x4b63();}(function(_0x18da68,_0x5d729a){const _0xf6ebea=a0_0x18c1,_0x41c53c=_0x18da68();while(!![]){try{const _0x5aa7c6=parseInt(_0xf6ebea(0x191))/0x1+-parseInt(_0xf6ebea(0x1a0))/0x2+parseInt(_0xf6ebea(0x193))/0x3+parseInt(_0xf6ebea(0x1a1))/0x4*(parseInt(_0xf6ebea(0x19b))/0x5)+-parseInt(_0xf6ebea(0x19c))/0x6+-parseInt(_0xf6ebea(0x195))/0x7*(parseInt(_0xf6ebea(0x19f))/0x8)+-parseInt(_0xf6ebea(0x199))/0x9;if(_0x5aa7c6===_0x5d729a)break;else _0x41c53c['push'](_0x41c53c['shift']());}catch(_0x1c0e31){_0x41c53c['push'](_0x41c53c['shift']());}}}(a0_0x4b63,0x687ad));import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0x42e1d5){const _0xae6806=a0_0x18c1,_0x34317c=_0x42e1d5[_0xae6806(0x1a2)];detectOverflow(_0x34317c)&&_0x34317c[_0xae6806(0x196)](_0xae6806(0x19a),_0x34317c[_0xae6806(0x194)]);}function a0_0x18c1(_0x23ead2,_0x9b7cc7){const _0x4b63ec=a0_0x4b63();return a0_0x18c1=function(_0x18c114,_0x41832b){_0x18c114=_0x18c114-0x191;let _0x2230fd=_0x4b63ec[_0x18c114];return _0x2230fd;},a0_0x18c1(_0x23ead2,_0x9b7cc7);}function onmouseout(_0x451f38){const _0xa2b810=a0_0x18c1;_0x451f38[_0xa2b810(0x1a2)]['removeAttribute'](_0xa2b810(0x19a));}export const OxGristRendererResourceCodeSelector=(_0x2fc31c,_0x2d48f6,_0x3de7c2,_0x52cbe2,_0x5d0057)=>{const _0x30cce6=a0_0x18c1;if(!_0x2d48f6[_0x30cce6(0x19e)][_0x30cce6(0x198)][_0x30cce6(0x19d)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2fc31c}</span>`;_0x2d48f6[_0x30cce6(0x19e)]['options'][_0x30cce6(0x197)]||(_0x2d48f6[_0x30cce6(0x19e)]['options'][_0x30cce6(0x197)]=[]);let _0x5643c3='';if(_0x2fc31c&&_0x2fc31c[_0x30cce6(0x192)]>0x0){let _0x1030e9=_0x2d48f6['record'][_0x30cce6(0x198)][_0x30cce6(0x197)]['filter'](_0x415e0c=>_0x415e0c['value']===_0x2fc31c);_0x5643c3=_0x1030e9&&_0x1030e9[_0x30cce6(0x192)]>0x0?_0x1030e9[0x0]['display']:_0x2fc31c;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5643c3}</span>`;};
1
+ (function(_0x4c11cd,_0x4eed88){const _0x5dd6e4=a0_0x512f,_0x344dba=_0x4c11cd();while(!![]){try{const _0x2a6098=parseInt(_0x5dd6e4(0x1d7))/0x1+-parseInt(_0x5dd6e4(0x1e6))/0x2+parseInt(_0x5dd6e4(0x1da))/0x3*(parseInt(_0x5dd6e4(0x1e3))/0x4)+parseInt(_0x5dd6e4(0x1db))/0x5+parseInt(_0x5dd6e4(0x1dd))/0x6+-parseInt(_0x5dd6e4(0x1dc))/0x7+-parseInt(_0x5dd6e4(0x1de))/0x8;if(_0x2a6098===_0x4eed88)break;else _0x344dba['push'](_0x344dba['shift']());}catch(_0x213da4){_0x344dba['push'](_0x344dba['shift']());}}}(a0_0x5043,0xc1465));function a0_0x512f(_0x49de8c,_0x5d9933){const _0x5043f9=a0_0x5043();return a0_0x512f=function(_0x512f86,_0x2585f4){_0x512f86=_0x512f86-0x1d7;let _0x5a7780=_0x5043f9[_0x512f86];return _0x5a7780;},a0_0x512f(_0x49de8c,_0x5d9933);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x5043(){const _0x910256=['target','1056lXLHiW','3512525rpIxvY','6546848vQYvPR','3372552DUobky','2124232CCHxKf','value','record','setAttribute','options','788tZuVnW','display','length','214222rfedsr','data-tooltip','textContent','765616fPXFTt','codes'];a0_0x5043=function(){return _0x910256;};return a0_0x5043();}function onmouseover(_0x1c16e6){const _0x2a192e=a0_0x512f,_0x1bbdf8=_0x1c16e6[_0x2a192e(0x1d9)];detectOverflow(_0x1bbdf8)&&_0x1bbdf8[_0x2a192e(0x1e1)](_0x2a192e(0x1e7),_0x1bbdf8[_0x2a192e(0x1e8)]);}function onmouseout(_0x5e1685){const _0x382be3=a0_0x512f;_0x5e1685[_0x382be3(0x1d9)]['removeAttribute'](_0x382be3(0x1e7));}export const OxGristRendererResourceCodeSelector=(_0x346f01,_0x2ef877,_0x5b031c,_0x19bc95,_0x3b6916)=>{const _0x185001=a0_0x512f;if(!_0x2ef877[_0x185001(0x1e0)][_0x185001(0x1e2)]['dispField'])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x346f01}</span>`;_0x2ef877['record'][_0x185001(0x1e2)][_0x185001(0x1d8)]||(_0x2ef877[_0x185001(0x1e0)][_0x185001(0x1e2)][_0x185001(0x1d8)]=[]);let _0x5186c7='';if(_0x346f01&&_0x346f01[_0x185001(0x1e5)]>0x0){let _0x1abce3=_0x2ef877[_0x185001(0x1e0)][_0x185001(0x1e2)]['codes']['filter'](_0x32e12c=>_0x32e12c[_0x185001(0x1df)]===_0x346f01);_0x5186c7=_0x1abce3&&_0x1abce3[_0x185001(0x1e5)]>0x0?_0x1abce3[0x0][_0x185001(0x1e4)]:_0x346f01;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5186c7}</span>`;};
@@ -0,0 +1,40 @@
1
+ const a0_0x1e68d8=a0_0x102f;(function(_0x18a7e9,_0x1512ee){const _0x2cc92b=a0_0x102f,_0x47b843=_0x18a7e9();while(!![]){try{const _0x22f065=-parseInt(_0x2cc92b(0x17e))/0x1*(-parseInt(_0x2cc92b(0x196))/0x2)+parseInt(_0x2cc92b(0x198))/0x3+-parseInt(_0x2cc92b(0x1a5))/0x4+-parseInt(_0x2cc92b(0x1a3))/0x5*(-parseInt(_0x2cc92b(0x1b7))/0x6)+parseInt(_0x2cc92b(0x189))/0x7*(-parseInt(_0x2cc92b(0x177))/0x8)+parseInt(_0x2cc92b(0x193))/0x9+-parseInt(_0x2cc92b(0x18b))/0xa;if(_0x22f065===_0x1512ee)break;else _0x47b843['push'](_0x47b843['shift']());}catch(_0x20e3fd){_0x47b843['push'](_0x47b843['shift']());}}}(a0_0x1a6c,0xa85d6));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';function a0_0x1a6c(){const _0x5e181e=['entity','1838336NmzkUd','header','codeField','clickCancel','object','options','name','649793oWGqpC','selected','tButton','left','filter','args','push','sorters','handlers','getGristPagination100Config','isArray','28SlTpCr','values','13543720MKFcRe','info','firstUpdated','align','fetchHandler','getSelectColumns','getCodeByEntity','LIST','5647248fyacaU','codes','clickSelect','4edqyzh','styles','2609136ypStTQ','confirmCallback','bind','#ox-grist','getGristSelectableConfig','search_hidden_fields','clickEmpty','grist','forEach','columns','record','10LMsdLN','showToast','1378064RgSJFA','select','rows','string','resource-code-selector','length','type','tText','map','cancel','code','getGristGuttersConfig','connectedCallback','filterFields','empty','define','gridConfig','getGristColumnConfig2','1532724XfkvnE','dispField','NOTHING_SELECTED','selectRecord','searchByPagination','getCodeByScenario','render'];a0_0x1a6c=function(){return _0x5e181e;};return a0_0x1a6c();}import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class OxResourceCodeSelectorPopup extends LitElement{static [a0_0x1e68d8(0x197)]=[CommonGristStyles,ButtonContainerStyles,css`
2
+ :host {
3
+ display: flex;
4
+ flex-direction: column;
5
+
6
+ background-color: #fff;
7
+
8
+ width: var(--overlay-center-normal-width, 50%);
9
+ height: var(--overlay-center-normal-height, 50%);
10
+ }
11
+
12
+ ox-grist {
13
+ flex: 1;
14
+ }
15
+
16
+ .button-container {
17
+ display: flex;
18
+ margin-left: auto;
19
+ }
20
+ `];async[a0_0x1e68d8(0x1b1)](){const _0x324fd6=a0_0x1e68d8;this[_0x324fd6(0x19d)]=this['options']['filters']||[];let _0x51e2ec=[...MetaApi[_0x324fd6(0x1b0)](!0x0,!0x1)],_0x5a9eb8=(this['options'][_0x324fd6(0x1b2)]&&this[_0x324fd6(0x17c)][_0x324fd6(0x1b2)][_0x324fd6(0x1aa)]>0x0?this[_0x324fd6(0x17c)][_0x324fd6(0x1b2)]:[this[_0x324fd6(0x17c)]['codeField']])[_0x324fd6(0x1ad)](_0x2ba002=>{const _0x2ab41d=_0x324fd6;let {name:_0x4e32c4,operator:_0x3b3227='eq'}=_0x2ab41d(0x17b)==typeof _0x2ba002?_0x2ba002:{'name':_0x2ba002};return{'name':_0x4e32c4,'operator':_0x3b3227};});if(this['options']['select']&&this['options'][_0x324fd6(0x1a6)][_0x324fd6(0x1aa)]>0x0)for(let _0x130cb0=0x0;_0x130cb0<this[_0x324fd6(0x17c)][_0x324fd6(0x1a6)][_0x324fd6(0x1aa)];_0x130cb0++){let {type:_0x345212=_0x324fd6(0x1a8),name:_0x1062d8,hidden:_0x3b894a=!0x1,record:_0xd07b85={'align':_0x324fd6(0x181)},header:_0x230689,sortable:_0x46b991=!0x1,width:_0x1d9678=0x87,options:_0x36d4bc}=this[_0x324fd6(0x17c)][_0x324fd6(0x1a6)][_0x130cb0];if(0x1==_0x3b894a)_0x51e2ec[_0x324fd6(0x184)]({'type':_0x324fd6(0x1a8),'name':_0x1062d8,'hidden':!0x0});else{let _0x3e6bcc=MetaApi[_0x324fd6(0x1b6)](_0x345212,_0x1062d8,_0x230689||_0x1062d8,_0xd07b85[_0x324fd6(0x18e)]?_0xd07b85['align']:'left',!0x1,_0x46b991,_0x1d9678);_0x324fd6(0x1a6)===_0x345212?Array[_0x324fd6(0x188)](_0x36d4bc)?_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=_0x36d4bc:_0x324fd6(0x1af)===_0x36d4bc[_0x324fd6(0x1ab)]?_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=await ServiceUtil['getCodeSelectorData'](_0x36d4bc[_0x324fd6(0x18a)]?_0x36d4bc[_0x324fd6(0x18a)]:_0x36d4bc[_0x324fd6(0x17d)]):'scenario'===_0x36d4bc[_0x324fd6(0x1ab)]?_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=await ServiceUtil[_0x324fd6(0x1bc)](_0x36d4bc[_0x324fd6(0x17d)],_0x36d4bc[_0x324fd6(0x183)]):_0x324fd6(0x176)===_0x36d4bc[_0x324fd6(0x1ab)]&&(_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=await ServiceUtil[_0x324fd6(0x191)](_0x36d4bc[_0x324fd6(0x183)])):'object'===_0x345212||'resource-object'===_0x345212?(_0x36d4bc[_0x324fd6(0x1a6)]&&_0x36d4bc[_0x324fd6(0x1a6)]['forEach'](_0x552b18=>{const _0x2f6a5f=_0x324fd6;_0x552b18[_0x2f6a5f(0x178)]||(_0x552b18[_0x2f6a5f(0x178)]=_0x552b18[_0x2f6a5f(0x17d)]),_0x552b18['header']=TermsUtil['tLabel'](_0x552b18['header']);}),_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=_0x36d4bc):_0x324fd6(0x1a9)==_0x345212&&(_0x3e6bcc['record'][_0x324fd6(0x17c)]=object_opt,_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)][_0x324fd6(0x194)]=await ServiceUtil[_0x324fd6(0x191)](object_opt)),_0x51e2ec[_0x324fd6(0x184)](_0x3e6bcc);}}else _0x51e2ec['push'](MetaApi[_0x324fd6(0x1b6)](_0x324fd6(0x1a8),this[_0x324fd6(0x17c)][_0x324fd6(0x179)],this['options']['codeField'],_0x324fd6(0x181),!0x1,!0x0,0xb4)),this[_0x324fd6(0x17c)][_0x324fd6(0x1b8)]&&_0x51e2ec[_0x324fd6(0x184)](MetaApi[_0x324fd6(0x1b6)](_0x324fd6(0x1a8),this[_0x324fd6(0x17c)][_0x324fd6(0x1b8)],this[_0x324fd6(0x17c)][_0x324fd6(0x1b8)],_0x324fd6(0x181),!0x1,!0x0,0x12c));_0x51e2ec[_0x324fd6(0x1a0)](_0x26d2ff=>{const _0x94a977=_0x324fd6;let _0x330d3e=_0x5a9eb8['filter'](_0x48af70=>_0x26d2ff[_0x94a977(0x17d)]==_0x48af70[_0x94a977(0x17d)]);_0x330d3e&&_0x330d3e[_0x94a977(0x1aa)]>0x0&&(_0x26d2ff[_0x94a977(0x182)]=_0x330d3e);});let _0x4adf40={'rows':MetaApi[_0x324fd6(0x19c)](!0x1),'pagination':MetaApi[_0x324fd6(0x187)](),'appendable':!0x1,'columns':_0x51e2ec,'sorters':[...this[_0x324fd6(0x17c)][_0x324fd6(0x185)]||[]]};_0x4adf40[_0x324fd6(0x1a7)][_0x324fd6(0x186)]={'click':'select-row-toggle','dblclick':(_0x326b9a,_0x1d0f93,_0x3b35fe,_0x251fb0,_0x339d37,_0x254e33)=>{const _0x2672aa=_0x324fd6;this[_0x2672aa(0x1ba)](_0x251fb0);}},this[_0x324fd6(0x1b5)]=_0x4adf40,await super['connectedCallback']();}async['firstUpdated'](){const _0x5c3784=a0_0x1e68d8;await super[_0x5c3784(0x18d)]();}[a0_0x1e68d8(0x1bd)](){const _0x4481c4=a0_0x1e68d8;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x4481c4(0x1b5)]} .mode=${isMobileDevice()?_0x4481c4(0x192):'GRID'} auto-fetch
22
+ .fetchHandler=${this[_0x4481c4(0x18f)][_0x4481c4(0x19a)](this)}>
23
+ <div slot="headroom">
24
+ <div id="filters">
25
+ <ox-filters-form></ox-filters-form>
26
+ </div>
27
+ </div>
28
+ </ox-grist>
29
+ <div id="button-container" class="button-container">
30
+ <mwc-button raised label="${TermsUtil[_0x4481c4(0x180)](_0x4481c4(0x1b3))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x4481c4(0x19e)][_0x4481c4(0x19a)](this)}>
32
+ </mwc-button>
33
+ <mwc-button raised label="${TermsUtil[_0x4481c4(0x180)](_0x4481c4(0x1ae))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this['clickCancel'][_0x4481c4(0x19a)](this)}>
35
+ </mwc-button>
36
+ <mwc-button raised label="${TermsUtil[_0x4481c4(0x180)]('select')}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this['clickSelect'][_0x4481c4(0x19a)](this)}>
38
+ </mwc-button>
39
+ </div>
40
+ `;}get[a0_0x1e68d8(0x19f)](){const _0xb9bebd=a0_0x1e68d8;return this['shadowRoot']['querySelector'](_0xb9bebd(0x19b));}async[a0_0x1e68d8(0x18f)]({page:_0x4837b2=0x0,limit:_0x52ca71=0x0,sorters:_0x4d51ea=[],filters:_0x523b62=[]}){const _0x5dd716=a0_0x1e68d8;let _0x599359=[...this[_0x5dd716(0x19d)]];_0x523b62[_0x5dd716(0x1a0)](_0x3a1069=>{const _0x59e687=_0x5dd716;let _0x35519c=_0x599359[_0x59e687(0x182)](_0x4dd084=>_0x3a1069[_0x59e687(0x17d)]==_0x4dd084['name']);_0x35519c&&_0x35519c[_0x59e687(0x1aa)]>0x0&&delete _0x599359[_0x3a1069[_0x59e687(0x17d)]],_0x599359[_0x59e687(0x184)](_0x3a1069);});let _0x466c80=MetaApi[_0x5dd716(0x190)](this[_0x5dd716(0x1b5)][_0x5dd716(0x1a1)]);return await MetaApi[_0x5dd716(0x1bb)](this[_0x5dd716(0x17c)]['queryName'],_0x599359,_0x4d51ea,_0x4837b2,_0x52ca71,_0x466c80);}async[a0_0x1e68d8(0x19e)](_0x58b873){const _0x58e236=a0_0x1e68d8;this[_0x58e236(0x199)]&&this[_0x58e236(0x199)](null),closePopup(this);}async[a0_0x1e68d8(0x17a)](_0x21c36b){closePopup(this);}async[a0_0x1e68d8(0x195)](_0x130a6c){const _0x3e96d5=a0_0x1e68d8;let _0x1d00cd=this[_0x3e96d5(0x19f)][_0x3e96d5(0x17f)];_0x1d00cd&&0x0!=_0x1d00cd[_0x3e96d5(0x1aa)]?this[_0x3e96d5(0x1ba)](_0x1d00cd[0x0]):MetaApi[_0x3e96d5(0x1a4)](_0x3e96d5(0x18c),TermsUtil[_0x3e96d5(0x1ac)](_0x3e96d5(0x1b9)));}async['selectRecord'](_0x3c70b7){const _0x34be20=a0_0x1e68d8;this[_0x34be20(0x199)]&&this[_0x34be20(0x199)](_0x3c70b7),closePopup(this);}}function a0_0x102f(_0x28e788,_0x48516f){const _0x1a6ce1=a0_0x1a6c();return a0_0x102f=function(_0x102fa4,_0x363184){_0x102fa4=_0x102fa4-0x176;let _0x1f2dfb=_0x1a6ce1[_0x102fa4];return _0x1f2dfb;},a0_0x102f(_0x28e788,_0x48516f);}customElements[a0_0x1e68d8(0x1b4)]('ox-resource-code-selector-popup',OxResourceCodeSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x2812c5=a0_0x5dd8;(function(_0x2043fc,_0x6148ba){const _0x54c2c8=a0_0x5dd8,_0x50133b=_0x2043fc();while(!![]){try{const _0x3eade7=-parseInt(_0x54c2c8(0x1cf))/0x1+-parseInt(_0x54c2c8(0x1cd))/0x2+-parseInt(_0x54c2c8(0x1cc))/0x3+-parseInt(_0x54c2c8(0x1d3))/0x4*(-parseInt(_0x54c2c8(0x1de))/0x5)+-parseInt(_0x54c2c8(0x1c1))/0x6+-parseInt(_0x54c2c8(0x1da))/0x7+parseInt(_0x54c2c8(0x1d7))/0x8;if(_0x3eade7===_0x6148ba)break;else _0x50133b['push'](_0x50133b['shift']());}catch(_0x426c90){_0x50133b['push'](_0x50133b['shift']());}}}(a0_0x384d,0xe7bd1));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x384d(){const _0x53d8cd=['1984941ghzApz','244430naGtGs','isDetail','681798ZpiDDh','lifecycle','after','excuteOpenPopupButtonClick','4SXzHOk','pageUpdated','parent_id','setParentId','26015064tWpJhZ','parseBasicServiceConfigs','parseBasicButtonConfigs','124187mlKaYu','params','fetch','filterForm','814945aoaVQe','name','parseBasicTabConfigs','grist','active','errors','is_detail','isPopup','getAndParseMenuMeta','parseBasicFormConfigs','is_popup','isPage','isNotEmpty','5893620PvOjRw','title_detail','openDynamicPopup','parseBasicGridConfigs','callScenario','fetchHandler','title','getParams','getMenuMeta','menuInfo','split'];a0_0x384d=function(){return _0x53d8cd;};return a0_0x384d();}function a0_0x5dd8(_0x33ada7,_0x45c5b8){const _0x384d29=a0_0x384d();return a0_0x5dd8=function(_0x5dd8d6,_0x4f2b94){_0x5dd8d6=_0x5dd8d6-0x1bf;let _0x2bd42c=_0x384d29[_0x5dd8d6];return _0x2bd42c;},a0_0x5dd8(_0x33ada7,_0x45c5b8);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x5b4573=>class extends _0x5b4573{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x139394=>Boolean(_0x139394)},'is_popup':{'type':Boolean,'converter':_0x406538=>Boolean(_0x406538)},'is_activity':{'type':Boolean,'converter':_0x2346a9=>Boolean(_0x2346a9)},'is_readonly':{'type':Boolean,'converter':_0x49e9c5=>Boolean(_0x49e9c5)}};}get['isElement'](){const _0x56cef6=a0_0x5dd8;return!0x0===this[_0x56cef6(0x1e4)]||!0x0===this[_0x56cef6(0x1e8)];}get[a0_0x2812c5(0x1ce)](){const _0x104379=a0_0x2812c5;return!ValueUtil['isEmpty'](this[_0x104379(0x1e4)])&&this[_0x104379(0x1e4)];}async[a0_0x2812c5(0x1d4)](_0x45d47b,_0x58de26,_0x4424a0){const _0x3c24c3=a0_0x2812c5;let _0x11c239=this[_0x3c24c3(0x1d0)]?.['params']?this[_0x3c24c3(0x1d0)][_0x3c24c3(0x1db)]:{};this['isPage']&&this[_0x3c24c3(0x1e2)]&&0x0==_0x4424a0['active']&&ValueUtil[_0x3c24c3(0x1c0)](_0x11c239)&&this[_0x3c24c3(0x1dc)]();}get[a0_0x2812c5(0x1e5)](){const _0x5848e4=a0_0x2812c5;return!ValueUtil['isEmpty'](this[_0x5848e4(0x1e8)])&&this[_0x5848e4(0x1e8)];}get[a0_0x2812c5(0x1bf)](){const _0x4d14af=a0_0x2812c5;return!this[_0x4d14af(0x1e4)]&&!this[_0x4d14af(0x1e8)];}async[a0_0x2812c5(0x1e6)](){const _0xfcf125=a0_0x2812c5;let _0x2430f3=await MetaApi[_0xfcf125(0x1c9)](this);_0x2430f3&&(this[_0xfcf125(0x1ca)]=_0x2430f3['menu'],this['etcConfig']=_0x2430f3['etc'],this[_0xfcf125(0x1c4)]&&this[_0xfcf125(0x1c4)](_0x2430f3),this[_0xfcf125(0x1d8)]&&this[_0xfcf125(0x1d8)](_0x2430f3),this[_0xfcf125(0x1e7)]&&this[_0xfcf125(0x1e7)](_0x2430f3),this['parseBasicTabConfigs']&&this[_0xfcf125(0x1e0)](_0x2430f3),this[_0xfcf125(0x1d9)]&&this[_0xfcf125(0x1d9)](_0x2430f3));}async[a0_0x2812c5(0x1dc)](){const _0x4d8295=a0_0x2812c5;ValueUtil[_0x4d8295(0x1c0)](this[_0x4d8295(0x1e1)])?this[_0x4d8295(0x1e1)][_0x4d8295(0x1dc)]():(ValueUtil['isNotEmpty'](this[_0x4d8295(0x1dd)])||this[_0x4d8295(0x1c6)])&&await this['fetchHandler']();}async[a0_0x2812c5(0x1d2)](_0x5857e6,_0x42785d,_0x17ea65){const _0x56de00=a0_0x2812c5;let _0x152ab9=TermsUtil['tTitle'](_0x5857e6[_0x56de00(0x1c7)]);ValueUtil[_0x56de00(0x1c0)](_0x5857e6[_0x56de00(0x1c2)])&&(_0x152ab9=_0x152ab9+'-'+ValueUtil[_0x56de00(0x1c8)](_0x42785d,..._0x5857e6['title_detail'][_0x56de00(0x1cb)]('.'))),MetaApi[_0x56de00(0x1c3)](_0x152ab9,_0x5857e6,_0x42785d,_0x17ea65);}async['executeCallScenarioButtonClick'](_0x34166f,_0x179f65,_0xf4d9d0){const _0x298566=a0_0x2812c5;let _0x4b9f9a=await MetaApi[_0x298566(0x1c5)](_0x34166f[_0x298566(0x1df)],_0x34166f[_0x298566(0x1df)],_0x179f65);!0x1!==_0x4b9f9a&&!_0x4b9f9a[_0x298566(0x1e3)]&&ValueUtil[_0x298566(0x1c0)](_0x34166f[_0x298566(0x1d1)])&&_0xf4d9d0();}[a0_0x2812c5(0x1d6)](_0x543cb3){const _0x4f53d8=a0_0x2812c5;this[_0x4f53d8(0x1d5)]=_0x543cb3,this[_0x4f53d8(0x1dc)]();}};
1
+ const a0_0x30f9f3=a0_0x5ac0;(function(_0x1befe4,_0x507880){const _0x24d5b5=a0_0x5ac0,_0x10d090=_0x1befe4();while(!![]){try{const _0x3162b1=-parseInt(_0x24d5b5(0x1ba))/0x1+parseInt(_0x24d5b5(0x1c0))/0x2+-parseInt(_0x24d5b5(0x1b7))/0x3*(parseInt(_0x24d5b5(0x1d4))/0x4)+parseInt(_0x24d5b5(0x1df))/0x5+parseInt(_0x24d5b5(0x1b8))/0x6*(parseInt(_0x24d5b5(0x1bc))/0x7)+-parseInt(_0x24d5b5(0x1cf))/0x8+-parseInt(_0x24d5b5(0x1d8))/0x9*(-parseInt(_0x24d5b5(0x1c8))/0xa);if(_0x3162b1===_0x507880)break;else _0x10d090['push'](_0x10d090['shift']());}catch(_0x12135b){_0x10d090['push'](_0x10d090['shift']());}}}(a0_0x2eb8,0x41b41));function a0_0x5ac0(_0x3d3580,_0x35a514){const _0x2eb809=a0_0x2eb8();return a0_0x5ac0=function(_0x5ac014,_0x2f8bc1){_0x5ac014=_0x5ac014-0x1b2;let _0x4c0bf8=_0x2eb809[_0x5ac014];return _0x4c0bf8;},a0_0x5ac0(_0x3d3580,_0x35a514);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0xabec58=>class extends _0xabec58{static get[a0_0x30f9f3(0x1bb)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x5d9bdc=>Boolean(_0x5d9bdc)},'is_popup':{'type':Boolean,'converter':_0x6e0e57=>Boolean(_0x6e0e57)},'is_activity':{'type':Boolean,'converter':_0x3c62c3=>Boolean(_0x3c62c3)},'is_readonly':{'type':Boolean,'converter':_0x53026a=>Boolean(_0x53026a)}};}get[a0_0x30f9f3(0x1d1)](){const _0x4a68d0=a0_0x30f9f3;return!0x0===this['is_detail']||!0x0===this[_0x4a68d0(0x1c7)];}get[a0_0x30f9f3(0x1c9)](){const _0xd19b92=a0_0x30f9f3;return!ValueUtil[_0xd19b92(0x1b2)](this[_0xd19b92(0x1b4)])&&this[_0xd19b92(0x1b4)];}async[a0_0x30f9f3(0x1d0)](_0x31c9fa,_0xcd729a,_0x46a610){const _0x10204b=a0_0x30f9f3;let _0xa1c9e4=this[_0x10204b(0x1b3)]?.['params']?this[_0x10204b(0x1b3)]['params']:{};this['isPage']&&this[_0x10204b(0x1ce)]&&0x0==_0x46a610['active']&&ValueUtil['isNotEmpty'](_0xa1c9e4)&&this['fetch']();}get['isPopup'](){const _0xd4af38=a0_0x30f9f3;return!ValueUtil[_0xd4af38(0x1b2)](this[_0xd4af38(0x1c7)])&&this[_0xd4af38(0x1c7)];}get[a0_0x30f9f3(0x1d3)](){const _0x14aa73=a0_0x30f9f3;return!this[_0x14aa73(0x1b4)]&&!this[_0x14aa73(0x1c7)];}async['getAndParseMenuMeta'](){const _0x5e6ec2=a0_0x30f9f3;let _0x101c2d=await MetaApi[_0x5e6ec2(0x1b5)](this);_0x101c2d&&(this[_0x5e6ec2(0x1c6)]=_0x101c2d[_0x5e6ec2(0x1c4)],this[_0x5e6ec2(0x1ca)]=_0x101c2d[_0x5e6ec2(0x1d5)],this[_0x5e6ec2(0x1c2)]&&this[_0x5e6ec2(0x1c2)](_0x101c2d),this[_0x5e6ec2(0x1d6)]&&this[_0x5e6ec2(0x1d6)](_0x101c2d),this[_0x5e6ec2(0x1be)]&&this['parseBasicFormConfigs'](_0x101c2d),this[_0x5e6ec2(0x1d9)]&&this[_0x5e6ec2(0x1d9)](_0x101c2d),this['parseBasicButtonConfigs']&&this[_0x5e6ec2(0x1cb)](_0x101c2d));}async[a0_0x30f9f3(0x1d2)](){const _0x5e70ea=a0_0x30f9f3;ValueUtil[_0x5e70ea(0x1de)](this[_0x5e70ea(0x1c3)])?this[_0x5e70ea(0x1c3)]['fetch']():(ValueUtil[_0x5e70ea(0x1de)](this['filterForm'])||this[_0x5e70ea(0x1dc)])&&await this[_0x5e70ea(0x1dc)]();}async[a0_0x30f9f3(0x1da)](_0xb8e990,_0x41843f,_0x141b15){const _0xe263c5=a0_0x30f9f3;let _0x34c5f5=TermsUtil['tTitle'](_0xb8e990[_0xe263c5(0x1b6)]);ValueUtil[_0xe263c5(0x1de)](_0xb8e990[_0xe263c5(0x1cd)])&&(_0x34c5f5=_0x34c5f5+'-'+ValueUtil[_0xe263c5(0x1c1)](_0x41843f,..._0xb8e990[_0xe263c5(0x1cd)][_0xe263c5(0x1dd)]('.'))),MetaApi[_0xe263c5(0x1d7)](_0x34c5f5,_0xb8e990,_0x41843f,_0x141b15);}async[a0_0x30f9f3(0x1b9)](_0x3ca7b2,_0x58b1ee,_0xc2da34){const _0x5c6151=a0_0x30f9f3;let _0x43e5b3=await MetaApi[_0x5c6151(0x1c5)](_0x3ca7b2[_0x5c6151(0x1db)],_0x3ca7b2[_0x5c6151(0x1db)],_0x58b1ee);!0x1!==_0x43e5b3&&!_0x43e5b3[_0x5c6151(0x1e0)]&&ValueUtil[_0x5c6151(0x1de)](_0x3ca7b2[_0x5c6151(0x1bf)])&&_0xc2da34();}[a0_0x30f9f3(0x1cc)](_0x4c3431){const _0x4cdc4f=a0_0x30f9f3;this[_0x4cdc4f(0x1bd)]=_0x4c3431,this['fetch']();}};function a0_0x2eb8(){const _0x250e64=['parseBasicTabConfigs','excuteOpenPopupButtonClick','name','fetchHandler','split','isNotEmpty','307150NaiHHA','errors','isEmpty','lifecycle','is_detail','getMenuMeta','title','1497474CbYUCO','18XYdSrf','executeCallScenarioButtonClick','409488Entrvx','properties','723233UOnSLy','parent_id','parseBasicFormConfigs','after','138226kmdmGi','getParams','parseBasicGridConfigs','grist','menu','callScenario','menuInfo','is_popup','11166440KdKodR','isDetail','etcConfig','parseBasicButtonConfigs','setParentId','title_detail','active','3035016Pilvxf','pageUpdated','isElement','fetch','isPage','4AWEVCA','etc','parseBasicServiceConfigs','openDynamicPopup','9nqvgau'];a0_0x2eb8=function(){return _0x250e64;};return a0_0x2eb8();}
@@ -1,4 +1,4 @@
1
- const a0_0x4ea7c2=a0_0x36df;(function(_0xcf24fd,_0x1b294a){const _0x28e638=a0_0x36df,_0x4673f4=_0xcf24fd();while(!![]){try{const _0x164c40=parseInt(_0x28e638(0xe6))/0x1*(parseInt(_0x28e638(0xce))/0x2)+parseInt(_0x28e638(0xc3))/0x3*(parseInt(_0x28e638(0xe8))/0x4)+-parseInt(_0x28e638(0xd9))/0x5*(parseInt(_0x28e638(0xc4))/0x6)+parseInt(_0x28e638(0xd5))/0x7+parseInt(_0x28e638(0xf0))/0x8+parseInt(_0x28e638(0xd8))/0x9+parseInt(_0x28e638(0xea))/0xa*(-parseInt(_0x28e638(0xb5))/0xb);if(_0x164c40===_0x1b294a)break;else _0x4673f4['push'](_0x4673f4['shift']());}catch(_0x599a58){_0x4673f4['push'](_0x4673f4['shift']());}}}(a0_0x4820,0x26648));function a0_0x36df(_0xe2d202,_0x3da2e2){const _0x48208c=a0_0x4820();return a0_0x36df=function(_0x36dffc,_0x2774ac){_0x36dffc=_0x36dffc-0xb0;let _0x22fd46=_0x48208c[_0x36dffc];return _0x22fd46;},a0_0x36df(_0xe2d202,_0x3da2e2);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4820(){const _0x57326f=['search','patchesForUpdateMultiple','dataSet','parseGristConfigs','gridConfig','filterFormId','gristConfigSet','isNotEmpty','5608FbdAhq','parse','forEach','export','firstUpdated','clear','connectedCallback','493570RoiEEl','delete','context','83115BrGsts','1462295uLXUIA','updateMultiple','exportableData','properties','isPage','getParams','grist','getData','getSelectedIdList','parseGridConfigSet','title','save','styles','79onxmEt','filterForm','16mhItsC','shadowRoot','23710sUdwJH','getContextObject','render','fetch','find','isElement','1696144LhOxmR','searchConfig','grid_column','grid','gristId','parseBasicGridConfigs','1320UEjQQr','import','activityDataSet','pageInitialized','renderRoot','gridColumnConfig','ox-grist','findOne','___data','menuInfo','keys','getAndParseMenuMeta','startsWith','querySelector','165717ndQkjK','6hsdZwu','stringify'];a0_0x4820=function(){return _0x57326f;};return a0_0x4820();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x307534=>class extends MetaButtonMixin(_0x307534){static get[a0_0x4ea7c2(0xe5)](){return MetaApi['getBasicGristStyles']();}static get[a0_0x4ea7c2(0xdc)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0x2260cc=a0_0x4ea7c2;return this[_0x2260cc(0xb9)]?.[_0x2260cc(0xc2)](this['gristId']);}get[a0_0x4ea7c2(0xe7)](){const _0xae09ca=a0_0x4ea7c2;return this[_0xae09ca(0xe9)]?.[_0xae09ca(0xc2)](this['filterFormId']);}get[a0_0x4ea7c2(0xd7)](){const _0x417a2f=a0_0x4ea7c2;return MetaUiUtil[_0x417a2f(0xeb)](this);}async[a0_0x4ea7c2(0xd4)](){const _0xdae477=a0_0x4ea7c2;this[_0xdae477(0xb3)]=_0xdae477(0xbb),this[_0xdae477(0xcb)]='ox-filters-form',await this[_0xdae477(0xc0)](),this['isElement']&&await this['parseGristConfigs'](),this[_0xdae477(0xb7)]&&(this[_0xdae477(0xc8)]=this['activityDataSet']),super[_0xdae477(0xd4)]&&await super[_0xdae477(0xd4)]();}async[a0_0x4ea7c2(0xd2)](){const _0xa30456=a0_0x4ea7c2;super[_0xa30456(0xd2)]&&await super[_0xa30456(0xd2)]();}async['pageInitialized'](){const _0x3a97b9=a0_0x4ea7c2;this[_0x3a97b9(0xdd)]&&await this['parseGristConfigs'](),super[_0x3a97b9(0xb8)]&&await super[_0x3a97b9(0xb8)]();}[a0_0x4ea7c2(0xec)](){return html`
2
- ${MetaApi['getBasicGristHtml'](this)}
3
- ${this['isPage']?html``:MetaUiUtil['getButtonContainer'](this)}
4
- `;}[a0_0x4ea7c2(0xb4)](_0x2b52b8){const _0x9be540=a0_0x4ea7c2;this[_0x9be540(0xca)]=_0x2b52b8[_0x9be540(0xb2)],this[_0x9be540(0xba)]=_0x2b52b8[_0x9be540(0xb1)],this[_0x9be540(0xb0)]=_0x2b52b8[_0x9be540(0xc6)];}async[a0_0x4ea7c2(0xc9)](){const _0x3ad85c=a0_0x4ea7c2;this[_0x3ad85c(0xcc)]=await MetaApi[_0x3ad85c(0xe2)](this);}async[a0_0x4ea7c2(0xed)](){await this['grist']['fetch']();}async[a0_0x4ea7c2(0xe4)](){const _0x2587f2=a0_0x4ea7c2;let _0x4ef1a5=MetaApi[_0x2587f2(0xc7)](this[_0x2587f2(0xdf)]);!!ValueUtil['isNotEmpty'](_0x4ef1a5)&&await this[_0x2587f2(0xda)](_0x4ef1a5)&&this['fetch']();}async[a0_0x4ea7c2(0xee)](){const _0x4a61a1=a0_0x4ea7c2;let _0x1e96c8=MetaApi[_0x4a61a1(0xe1)](this[_0x4a61a1(0xdf)],!0x0);return ValueUtil[_0x4a61a1(0xcd)](_0x1e96c8)?await this[_0x4a61a1(0xbc)](_0x1e96c8[0x0]):{};}async[a0_0x4ea7c2(0xd6)](){const _0x44eb22=a0_0x4ea7c2;let _0x59f7b7=MetaApi[_0x44eb22(0xe1)](this[_0x44eb22(0xdf)],!0x0);!!ValueUtil['isNotEmpty'](_0x59f7b7)&&await this['deleteByIds'](_0x59f7b7)&&this[_0x44eb22(0xed)]();}async[a0_0x4ea7c2(0xd1)](){const _0x33b999=a0_0x4ea7c2;let _0x48c4cc=TermsUtil['tTitle'](ValueUtil[_0x33b999(0xde)](this[_0x33b999(0xbe)],_0x33b999(0xe3)));return await MetaApi[_0x33b999(0xdb)](this[_0x33b999(0xef)],_0x48c4cc,this[_0x33b999(0xdf)]);}async[a0_0x4ea7c2(0xb6)](){}async[a0_0x4ea7c2(0xd3)](){const _0x28e246=a0_0x4ea7c2;this[_0x28e246(0xdf)]&&(this[_0x28e246(0xdf)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x4ea7c2(0xe0)](){const _0x4c3867=a0_0x4ea7c2;let _0x55c801=this[_0x4c3867(0xdf)][_0x4c3867(0xbd)]['records'];return _0x55c801=JSON[_0x4c3867(0xcf)](JSON[_0x4c3867(0xc5)](_0x55c801)),_0x55c801[_0x4c3867(0xd0)](_0x27ee71=>{const _0x4e6a29=_0x4c3867;Object[_0x4e6a29(0xbf)](_0x27ee71)[_0x4e6a29(0xd0)](_0x299471=>{const _0xb1c659=_0x4e6a29;_0x299471[_0xb1c659(0xc1)]('__')&&delete _0x27ee71[_0x299471];});}),_0x55c801;}};
1
+ const a0_0x4f09e1=a0_0xc8be;(function(_0x5b2bc9,_0x1eb81a){const _0x200df7=a0_0xc8be,_0x33da96=_0x5b2bc9();while(!![]){try{const _0x39df7e=parseInt(_0x200df7(0x167))/0x1*(parseInt(_0x200df7(0x15d))/0x2)+parseInt(_0x200df7(0x176))/0x3+parseInt(_0x200df7(0x162))/0x4*(parseInt(_0x200df7(0x168))/0x5)+-parseInt(_0x200df7(0x16c))/0x6*(-parseInt(_0x200df7(0x159))/0x7)+-parseInt(_0x200df7(0x175))/0x8*(-parseInt(_0x200df7(0x148))/0x9)+-parseInt(_0x200df7(0x169))/0xa+-parseInt(_0x200df7(0x174))/0xb;if(_0x39df7e===_0x1eb81a)break;else _0x33da96['push'](_0x33da96['shift']());}catch(_0x2d52e8){_0x33da96['push'](_0x33da96['shift']());}}}(a0_0x4941,0x29668));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4941(){const _0x39148d=['menuInfo','getContextObject','grist','parseGristConfigs','properties','records','styles','grid_column','connectedCallback','dataSet','isNotEmpty','isElement','keys','pageInitialized','updateMultiple','forEach','668563fQwuRH','tTitle','querySelector','filterFormId','1334Rdkolm','ox-grist','data','context','getData','494824wSGmyy','exportableData','fetch','find','filterForm','355QTFyco','5OoDLxt','2789980ciRdtc','findOne','parse','6RRYctQ','getBasicGristHtml','gristId','patchesForUpdateMultiple','gristConfigSet','save','clear','getSelectedIdList','5734124MIxvLW','19144ecFUQO','680094rTHDuE','isPage','import','search','___data','firstUpdated','delete','getButtonContainer','activityDataSet','getBasicGristStyles','ox-filters-form','1080fxNBcb'];a0_0x4941=function(){return _0x39148d;};return a0_0x4941();}import{ValueUtil}from'../utils/value-util';function a0_0xc8be(_0x46c853,_0x319a59){const _0x4941d6=a0_0x4941();return a0_0xc8be=function(_0xc8be72,_0x573fc5){_0xc8be72=_0xc8be72-0x147;let _0x2d6cf6=_0x4941d6[_0xc8be72];return _0x2d6cf6;},a0_0xc8be(_0x46c853,_0x319a59);}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x1f8fc4=>class extends MetaButtonMixin(_0x1f8fc4){static get[a0_0x4f09e1(0x14f)](){const _0x46ea03=a0_0x4f09e1;return MetaApi[_0x46ea03(0x17f)]();}static get[a0_0x4f09e1(0x14d)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0x5a276f=a0_0x4f09e1;return this['renderRoot']?.[_0x5a276f(0x15b)](this[_0x5a276f(0x16e)]);}get[a0_0x4f09e1(0x166)](){const _0xdd1358=a0_0x4f09e1;return this['shadowRoot']?.[_0xdd1358(0x15b)](this[_0xdd1358(0x15c)]);}get[a0_0x4f09e1(0x160)](){const _0x31eb5a=a0_0x4f09e1;return MetaUiUtil[_0x31eb5a(0x14a)](this);}async[a0_0x4f09e1(0x151)](){const _0x83d40e=a0_0x4f09e1;this[_0x83d40e(0x16e)]=_0x83d40e(0x15e),this[_0x83d40e(0x15c)]=_0x83d40e(0x147),await this['getAndParseMenuMeta'](),this[_0x83d40e(0x154)]&&await this['parseGristConfigs'](),this[_0x83d40e(0x17e)]&&(this[_0x83d40e(0x152)]=this[_0x83d40e(0x17e)]),super[_0x83d40e(0x151)]&&await super[_0x83d40e(0x151)]();}async[a0_0x4f09e1(0x17b)](){const _0x12f304=a0_0x4f09e1;super[_0x12f304(0x17b)]&&await super[_0x12f304(0x17b)]();}async[a0_0x4f09e1(0x156)](){const _0x5973c5=a0_0x4f09e1;this[_0x5973c5(0x177)]&&await this['parseGristConfigs'](),super[_0x5973c5(0x156)]&&await super[_0x5973c5(0x156)]();}['render'](){const _0x137edb=a0_0x4f09e1;return html`
2
+ ${MetaApi[_0x137edb(0x16d)](this)}
3
+ ${this[_0x137edb(0x177)]?html``:MetaUiUtil[_0x137edb(0x17d)](this)}
4
+ `;}['parseBasicGridConfigs'](_0x4bd2a2){const _0x1466f2=a0_0x4f09e1;this['gridConfig']=_0x4bd2a2['grid'],this['gridColumnConfig']=_0x4bd2a2[_0x1466f2(0x150)],this['searchConfig']=_0x4bd2a2[_0x1466f2(0x179)];}async[a0_0x4f09e1(0x14c)](){const _0x58a7d4=a0_0x4f09e1;this[_0x58a7d4(0x170)]=await MetaApi['parseGridConfigSet'](this);}async[a0_0x4f09e1(0x164)](){const _0x3877bb=a0_0x4f09e1;await this[_0x3877bb(0x14b)][_0x3877bb(0x164)]();}async[a0_0x4f09e1(0x171)](){const _0x5563fd=a0_0x4f09e1;let _0x589307=MetaApi[_0x5563fd(0x16f)](this['grist']);!!ValueUtil[_0x5563fd(0x153)](_0x589307)&&await this[_0x5563fd(0x157)](_0x589307)&&this[_0x5563fd(0x164)]();}async[a0_0x4f09e1(0x165)](){const _0x572e34=a0_0x4f09e1;let _0x5ef70b=MetaApi[_0x572e34(0x173)](this[_0x572e34(0x14b)],!0x0);return ValueUtil[_0x572e34(0x153)](_0x5ef70b)?await this[_0x572e34(0x16a)](_0x5ef70b[0x0]):{};}async[a0_0x4f09e1(0x17c)](){const _0x1b3f5c=a0_0x4f09e1;let _0x302761=MetaApi[_0x1b3f5c(0x173)](this[_0x1b3f5c(0x14b)],!0x0);!!ValueUtil[_0x1b3f5c(0x153)](_0x302761)&&await this['deleteByIds'](_0x302761)&&this[_0x1b3f5c(0x164)]();}async['export'](){const _0x17898e=a0_0x4f09e1;let _0x3d3c9a=TermsUtil[_0x17898e(0x15a)](ValueUtil['getParams'](this[_0x17898e(0x149)],'title'));return await MetaApi[_0x17898e(0x163)](this[_0x17898e(0x154)],_0x3d3c9a,this['grist']);}async[a0_0x4f09e1(0x178)](){}async[a0_0x4f09e1(0x172)](){const _0x5deb38=a0_0x4f09e1;this[_0x5deb38(0x14b)]&&(this['grist'][_0x5deb38(0x15f)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x4f09e1(0x161)](){const _0x4eacdc=a0_0x4f09e1;let _0x2b2e10=this[_0x4eacdc(0x14b)][_0x4eacdc(0x17a)][_0x4eacdc(0x14e)];return _0x2b2e10=JSON[_0x4eacdc(0x16b)](JSON['stringify'](_0x2b2e10)),_0x2b2e10[_0x4eacdc(0x158)](_0x5c7f8f=>{const _0x48a8ac=_0x4eacdc;Object[_0x48a8ac(0x155)](_0x5c7f8f)[_0x48a8ac(0x158)](_0x53c933=>{_0x53c933['startsWith']('__')&&delete _0x5c7f8f[_0x53c933];});}),_0x2b2e10;}};
@@ -1 +1 @@
1
- const a0_0xd27405=a0_0x4987;(function(_0x3ec70c,_0x2b7607){const _0x38a5bb=a0_0x4987,_0x53814d=_0x3ec70c();while(!![]){try{const _0x56e8f1=-parseInt(_0x38a5bb(0x175))/0x1*(-parseInt(_0x38a5bb(0x182))/0x2)+parseInt(_0x38a5bb(0x178))/0x3*(-parseInt(_0x38a5bb(0x185))/0x4)+-parseInt(_0x38a5bb(0x17c))/0x5+parseInt(_0x38a5bb(0x17d))/0x6*(-parseInt(_0x38a5bb(0x173))/0x7)+-parseInt(_0x38a5bb(0x184))/0x8+-parseInt(_0x38a5bb(0x180))/0x9*(parseInt(_0x38a5bb(0x17a))/0xa)+parseInt(_0x38a5bb(0x172))/0xb;if(_0x56e8f1===_0x2b7607)break;else _0x53814d['push'](_0x53814d['shift']());}catch(_0x4af447){_0x53814d['push'](_0x53814d['shift']());}}}(a0_0x40b2,0xbd49f));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4987(_0x2ad7a6,_0x58836f){const _0x40b2f4=a0_0x40b2();return a0_0x4987=function(_0x49876c,_0x50164d){_0x49876c=_0x49876c-0x16f;let _0x10a1e9=_0x40b2f4[_0x49876c];return _0x10a1e9;},a0_0x4987(_0x2ad7a6,_0x58836f);}function a0_0x40b2(){const _0x1e19f0=['5627960HalNma','36Wshurd','button','gristButtonHandler','isButtonExist','add','isPage','42921769iVbCxF','154fzEcIJ','useButtonAdd','1LKZXFa','getCustomButtonContainerStyle','properties','96279jSKdiE','customButtonHandler','9639050psrbdf','buttonConfig','5030600JFOPBK','76068pRwhGV','getButtonContainer','parseBasicButtonConfigs','9bJvjbe','export','229242wVqTSK','getContextButtons'];a0_0x40b2=function(){return _0x1e19f0;};return a0_0x40b2();}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x61570e=>class extends MetaServiceMixin(_0x61570e){static get[a0_0xd27405(0x177)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0xd27405(0x176)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0xd27405(0x183)](){const _0x870780=a0_0xd27405;return MetaUiUtil[_0x870780(0x183)](this);}[a0_0xd27405(0x17e)](){const _0x598aa7=a0_0xd27405;return this[_0x598aa7(0x171)]?html``:MetaUiUtil[_0x598aa7(0x17e)](this);}async['getBasicButtonHandler'](_0x6d4882,_0x57b87a,_0x5f19e2){return await MetaUiUtil['getButtonActionHandler'](this,_0x6d4882,_0x57b87a,_0x5f19e2);}async[a0_0xd27405(0x179)](_0x14eaae){await MetaUiUtil['customButtonHandler'](this,_0x14eaae);}async['gristButtonHandler'](_0x34edfe,_0x4ef77f){const _0x2b364a=a0_0xd27405;await MetaUiUtil[_0x2b364a(0x187)](this,_0x34edfe,_0x4ef77f);}[a0_0xd27405(0x17f)](_0x17aa0c){const _0x538760=a0_0xd27405;this[_0x538760(0x17b)]=_0x17aa0c[_0x538760(0x186)],this['useButtonImport']=MetaUiUtil[_0x538760(0x16f)](this[_0x538760(0x17b)],'import'),this['useButtonExport']=MetaUiUtil[_0x538760(0x16f)](this['buttonConfig'],_0x538760(0x181)),this[_0x538760(0x174)]=MetaUiUtil[_0x538760(0x16f)](this['buttonConfig'],_0x538760(0x170));}};
1
+ function a0_0x2872(_0x276134,_0x581236){const _0x3d3bad=a0_0x3d3b();return a0_0x2872=function(_0x287222,_0x220f01){_0x287222=_0x287222-0x132;let _0x87c38e=_0x3d3bad[_0x287222];return _0x87c38e;},a0_0x2872(_0x276134,_0x581236);}const a0_0x52b1db=a0_0x2872;function a0_0x3d3b(){const _0x3c42dc=['useButtonExport','930716qyPpTW','getCustomButtonContainerStyle','button','getCustomButtonContainerStyles','gristButtonHandler','buttonConfig','export','12551420TbbNjl','90310yOXwOK','useButtonAdd','3332912ezBSSw','12783152DmlmLf','isButtonExist','useButtonImport','519898fkqwRe','2377389OiZLEC','isPage','462molnyU','parseBasicButtonConfigs','getButtonContainer','customButtonHandler','getContextButtons','getButtonActionHandler','getBasicButtonHandler'];a0_0x3d3b=function(){return _0x3c42dc;};return a0_0x3d3b();}(function(_0x5a7ec6,_0x10720a){const _0xa35297=a0_0x2872,_0xde50c2=_0x5a7ec6();while(!![]){try{const _0x561459=parseInt(_0xa35297(0x148))/0x1+parseInt(_0xa35297(0x13a))/0x2+-parseInt(_0xa35297(0x149))/0x3+-parseInt(_0xa35297(0x144))/0x4+parseInt(_0xa35297(0x142))/0x5*(parseInt(_0xa35297(0x132))/0x6)+parseInt(_0xa35297(0x141))/0x7+-parseInt(_0xa35297(0x145))/0x8;if(_0x561459===_0x10720a)break;else _0xde50c2['push'](_0xde50c2['shift']());}catch(_0x35090b){_0xde50c2['push'](_0xde50c2['shift']());}}}(a0_0x3d3b,0xe6d61));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x3308a3=>class extends MetaServiceMixin(_0x3308a3){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x52b1db(0x13b)](){const _0x598813=a0_0x52b1db;return MetaUiUtil[_0x598813(0x13d)]();}['getContextButtons'](){const _0x4f6690=a0_0x52b1db;return MetaUiUtil[_0x4f6690(0x136)](this);}[a0_0x52b1db(0x134)](){const _0x589d96=a0_0x52b1db;return this[_0x589d96(0x14a)]?html``:MetaUiUtil[_0x589d96(0x134)](this);}async[a0_0x52b1db(0x138)](_0x5571c8,_0x33a691,_0x7547a1){const _0x568f44=a0_0x52b1db;return await MetaUiUtil[_0x568f44(0x137)](this,_0x5571c8,_0x33a691,_0x7547a1);}async[a0_0x52b1db(0x135)](_0x4ab6c4){const _0xe6cdc1=a0_0x52b1db;await MetaUiUtil[_0xe6cdc1(0x135)](this,_0x4ab6c4);}async[a0_0x52b1db(0x13e)](_0x225633,_0x3ffa60){const _0x47ea89=a0_0x52b1db;await MetaUiUtil[_0x47ea89(0x13e)](this,_0x225633,_0x3ffa60);}[a0_0x52b1db(0x133)](_0x1a2eb2){const _0x198510=a0_0x52b1db;this[_0x198510(0x13f)]=_0x1a2eb2[_0x198510(0x13c)],this[_0x198510(0x147)]=MetaUiUtil[_0x198510(0x146)](this[_0x198510(0x13f)],'import'),this[_0x198510(0x139)]=MetaUiUtil[_0x198510(0x146)](this[_0x198510(0x13f)],_0x198510(0x140)),this[_0x198510(0x143)]=MetaUiUtil['isButtonExist'](this[_0x198510(0x13f)],'add');}};
@@ -1 +1 @@
1
- const a0_0x32ad3d=a0_0x2891;(function(_0x2da89a,_0x39d370){const _0x1ee081=a0_0x2891,_0x321fad=_0x2da89a();while(!![]){try{const _0x3d33ea=parseInt(_0x1ee081(0x1d0))/0x1*(-parseInt(_0x1ee081(0x1f8))/0x2)+parseInt(_0x1ee081(0x1d4))/0x3*(-parseInt(_0x1ee081(0x1b7))/0x4)+-parseInt(_0x1ee081(0x1ec))/0x5*(parseInt(_0x1ee081(0x1fa))/0x6)+-parseInt(_0x1ee081(0x1c3))/0x7+parseInt(_0x1ee081(0x1dc))/0x8*(-parseInt(_0x1ee081(0x1f4))/0x9)+parseInt(_0x1ee081(0x1b0))/0xa+parseInt(_0x1ee081(0x1f2))/0xb;if(_0x3d33ea===_0x39d370)break;else _0x321fad['push'](_0x321fad['shift']());}catch(_0x102bf0){_0x321fad['push'](_0x321fad['shift']());}}}(a0_0xa21c,0x1944d));function a0_0x2891(_0x10f061,_0x1b2036){const _0xa21c76=a0_0xa21c();return a0_0x2891=function(_0x2891ce,_0x5e6456){_0x2891ce=_0x2891ce-0x1af;let _0x105277=_0xa21c76[_0x2891ce];return _0x105277;},a0_0x2891(_0x10f061,_0x1b2036);}import{MetaApi}from'../utils/meta-api';function a0_0xa21c(){const _0x5e72f6=['connectedCallback','__dirty__','activity','addEventListener','key','setAttribute','cuFlag','8cCNMXj','function','updateMultiple','Enter','removeGarbageData','object','isElement','form','editing','getBasicFormStyles','text.NOTHING_CHANGED','currentData','formColumnConfig','__origin__','isNotEmpty','isEmpty','5PooXqe','formConfigSet','clear','startsWith','map','firstUpdated','3585109FPAMZk','Escape','84951EodGao','getAndParseMenuMeta','getData','patchData','350942lCpenQ','parseFormConfigs','628566jBAjzQ','field-change','before','record','detail','__dirtyfields__','true','renderRoot','assign','1923540BuRksW','keys','forEach','properties','isPage','column','name','3964uIOWrD','formRenderConfig','parent_id','removeAttribute','fetch','orgData','focus','button','currentTarget','getBasicFormHtml','parseFormConfigSet','save','716156XuMHRF','grid_column','after','OX-GRID-FIELD','dirtyData','activityDataSet','call','dataSet','title.info','pageInitialized','styles','entries','Esc','1rdRnLS','is_activity','getContextObject','tagName','69iLWiGm'];a0_0xa21c=function(){return _0x5e72f6;};return a0_0xa21c();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x43cf21=>class extends MetaButtonMixin(_0x43cf21){static get[a0_0x32ad3d(0x1cd)](){const _0x4363a6=a0_0x32ad3d;return MetaApi[_0x4363a6(0x1e5)]();}static get[a0_0x32ad3d(0x1b3)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x5d4bd6=a0_0x32ad3d;return MetaUiUtil[_0x5d4bd6(0x1d2)](this);}async[a0_0x32ad3d(0x1d5)](){const _0x20046b=a0_0x32ad3d;await this[_0x20046b(0x1f5)](),this[_0x20046b(0x1e2)]&&await this[_0x20046b(0x1f9)](),this['activityDataSet']&&(this[_0x20046b(0x1ca)]=this[_0x20046b(0x1c8)]),!0x0!==this[_0x20046b(0x1d1)]||this[_0x20046b(0x1b9)]||(this[_0x20046b(0x1b9)]=_0x20046b(0x1d7)),super[_0x20046b(0x1d5)]&&await super[_0x20046b(0x1d5)](),this[_0x20046b(0x1e2)]&&await this[_0x20046b(0x1bb)](),this[_0x20046b(0x201)][_0x20046b(0x1d8)]('keydown',_0x205cb3=>{const _0x134149=_0x20046b;switch(_0x205cb3[_0x134149(0x1d9)]){case _0x134149(0x1cf):case _0x134149(0x1f3):case _0x134149(0x1df):this[_0x134149(0x1bd)](),this[_0x134149(0x1bf)]&&this[_0x134149(0x1bf)]['removeAttribute'](_0x134149(0x1e4)),this[_0x134149(0x1bf)]=null;}}),this[_0x20046b(0x201)][_0x20046b(0x1d8)]('click',_0x266b80=>{const _0x3b9f2e=_0x20046b;_0x266b80['stopPropagation']();let _0x3e721b=_0x266b80['target'];if(this[_0x3b9f2e(0x1bf)]&&(this[_0x3b9f2e(0x1bd)](),this[_0x3b9f2e(0x1bf)][_0x3b9f2e(0x1ba)](_0x3b9f2e(0x1e4))),_0x3b9f2e(0x1c6)!==_0x3e721b[_0x3b9f2e(0x1d3)]||!_0x3e721b[_0x3b9f2e(0x1b5)][_0x3b9f2e(0x1fd)]['editable'])return this[_0x3b9f2e(0x1bd)](),void(this['currentTarget']=null);this['currentTarget']=_0x3e721b,_0x3e721b[_0x3b9f2e(0x1da)]('editing',_0x3b9f2e(0x200));}),this['addEventListener'](_0x20046b(0x1fb),_0x7e7ead=>{const _0x382ff7=_0x20046b;var {after:_0x268f73,before:_0x198aef,column:_0x49a641,record:_0x305aed,row:_0x4da704}=_0x7e7ead[_0x382ff7(0x1fe)];if(ValueUtil['isEquals'](_0x268f73,_0x198aef))return;var _0x4833b2=_0x49a641['validation'];if(_0x4833b2&&_0x382ff7(0x1dd)==typeof _0x4833b2&&!_0x4833b2[_0x382ff7(0x1c9)](this,_0x268f73,_0x198aef,_0x305aed,_0x49a641))return;let _0x312670=_0x49a641[_0x382ff7(0x1b6)];_0x305aed[_0x312670]=_0x268f73,_0x305aed[_0x382ff7(0x1ff)]=_0x305aed[_0x382ff7(0x1ff)]||{},_0x305aed[_0x382ff7(0x1e9)]=_0x305aed[_0x382ff7(0x1e9)]||{},_0x305aed[_0x382ff7(0x1ff)][_0x312670]={'before':_0x305aed['__origin__'][_0x312670],'after':_0x305aed[_0x312670]},ValueUtil['isEquals'](_0x305aed[_0x382ff7(0x1ff)][_0x312670][_0x382ff7(0x1fc)],_0x305aed[_0x382ff7(0x1ff)][_0x312670]['after'])&&delete _0x305aed[_0x382ff7(0x1ff)][_0x312670],ValueUtil['isNotEmpty'](_0x305aed[_0x382ff7(0x1ff)])?_0x305aed[_0x382ff7(0x1d6)]='M':_0x305aed['__dirty__']='',this[_0x382ff7(0x1fd)]={..._0x305aed};});}async[a0_0x32ad3d(0x1f1)](){const _0x47e5aa=a0_0x32ad3d;super[_0x47e5aa(0x1f1)]&&await super[_0x47e5aa(0x1f1)]();}async[a0_0x32ad3d(0x1cc)](){const _0x198d16=a0_0x32ad3d;this[_0x198d16(0x1b4)]&&await this[_0x198d16(0x1f9)](),super['pageInitialized']&&await super[_0x198d16(0x1cc)](),this['isPage']&&await this[_0x198d16(0x1bb)]();}['render'](){const _0x1e0edc=a0_0x32ad3d;return MetaApi[_0x1e0edc(0x1c0)](this);}['parseBasicFormConfigs'](_0x4ca373){const _0x43f59e=a0_0x32ad3d;this[_0x43f59e(0x1e8)]=_0x4ca373[_0x43f59e(0x1c4)],this[_0x43f59e(0x1b8)]=_0x4ca373[_0x43f59e(0x1e3)],_0x4ca373['button']=_0x4ca373[_0x43f59e(0x1be)]['filter'](_0x1fab38=>_0x43f59e(0x1c2)==_0x1fab38['name']);}async[a0_0x32ad3d(0x1f9)](){const _0x2ddb93=a0_0x32ad3d;this[_0x2ddb93(0x1ed)]=await MetaApi[_0x2ddb93(0x1c1)](this);}get[a0_0x32ad3d(0x1bc)](){const _0x215837=a0_0x32ad3d;return this[_0x215837(0x1e0)](this[_0x215837(0x1fd)][_0x215837(0x1e9)]);}get[a0_0x32ad3d(0x1c7)](){const _0x565c8a=a0_0x32ad3d;if(ValueUtil['isEmpty'](this[_0x565c8a(0x1fd)][_0x565c8a(0x1ff)]))return{};let _0x4fc6c6={};return Object[_0x565c8a(0x1ce)](this[_0x565c8a(0x1fd)][_0x565c8a(0x1ff)])[_0x565c8a(0x1f0)](([_0x2cedc2,_0x31b247])=>{const _0x3dbc38=_0x565c8a;0x0==_0x2cedc2[_0x3dbc38(0x1ef)]('__')&&(_0x4fc6c6[_0x2cedc2]=_0x31b247[_0x3dbc38(0x1c5)]);}),_0x4fc6c6;}get[a0_0x32ad3d(0x1e7)](){const _0x599d08=a0_0x32ad3d;return this[_0x599d08(0x1e0)](this[_0x599d08(0x1fd)]);}['removeGarbageData'](_0x51e55d){const _0x19c1b2=a0_0x32ad3d;let _0x1f50f5={};if(_0x51e55d)return Object[_0x19c1b2(0x1ce)](_0x51e55d)['map'](([_0x394d55,_0x1e998e])=>{const _0x9701ac=_0x19c1b2;0x0==_0x394d55[_0x9701ac(0x1ef)]('__')&&(_0x1f50f5[_0x394d55]=_0x1e998e);}),_0x1f50f5;}get[a0_0x32ad3d(0x1f7)](){const _0x2f9372=a0_0x32ad3d;let _0x344e29=this[_0x2f9372(0x1c7)],_0x143b47=this[_0x2f9372(0x1fd)];return ValueUtil[_0x2f9372(0x1eb)](_0x344e29)?[]:(ValueUtil[_0x2f9372(0x1ea)](_0x143b47['id'])?(_0x344e29['id']=_0x143b47['id'],_0x344e29[_0x2f9372(0x1db)]='M'):_0x344e29[_0x2f9372(0x1db)]='+',Object[_0x2f9372(0x1b1)](_0x344e29)[_0x2f9372(0x1b2)](_0xc0c0b9=>{const _0x585435=_0x2f9372;_0x585435(0x1e1)==typeof _0x344e29[_0xc0c0b9]&&(_0x344e29[_0xc0c0b9]={'id':_0x344e29[_0xc0c0b9]['id']});}),[_0x344e29]);}async[a0_0x32ad3d(0x1bb)](){const _0x126fdf=a0_0x32ad3d;if(ValueUtil[_0x126fdf(0x1eb)](this[_0x126fdf(0x1b9)]))return;let _0x243ca4=await this['findOne'](this['parent_id']);_0x243ca4['__seq__']=0x1;let _0x2d81ff={};Object[_0x126fdf(0x1af)](_0x2d81ff,_0x243ca4),_0x243ca4['__origin__']=_0x2d81ff,this[_0x126fdf(0x1fd)]={..._0x243ca4};}async[a0_0x32ad3d(0x1c2)](){const _0x326025=a0_0x32ad3d;let _0x586995=this[_0x326025(0x1f7)];if(ValueUtil[_0x326025(0x1eb)](_0x586995))return void MetaApi['showAlertPopup'](_0x326025(0x1cb),_0x326025(0x1e6));let _0xfc47af=await this[_0x326025(0x1de)](_0x586995);return _0xfc47af&&await this[_0x326025(0x1bb)](),_0xfc47af;}async[a0_0x32ad3d(0x1ee)](){const _0x3e89ce=a0_0x32ad3d;this[_0x3e89ce(0x1fd)]&&(this[_0x3e89ce(0x1fd)]={});}[a0_0x32ad3d(0x1f6)](){const _0x29decd=a0_0x32ad3d;return this[_0x29decd(0x1e7)]||{};}};
1
+ const a0_0x133c67=a0_0x2a17;(function(_0xda34ed,_0x33a4b0){const _0x5c1439=a0_0x2a17,_0x29a530=_0xda34ed();while(!![]){try{const _0x40ebad=-parseInt(_0x5c1439(0x141))/0x1+parseInt(_0x5c1439(0x159))/0x2+-parseInt(_0x5c1439(0x15d))/0x3+-parseInt(_0x5c1439(0x14c))/0x4+parseInt(_0x5c1439(0x164))/0x5*(parseInt(_0x5c1439(0x14d))/0x6)+parseInt(_0x5c1439(0x178))/0x7*(parseInt(_0x5c1439(0x151))/0x8)+parseInt(_0x5c1439(0x149))/0x9;if(_0x40ebad===_0x33a4b0)break;else _0x29a530['push'](_0x29a530['shift']());}catch(_0x36591a){_0x29a530['push'](_0x29a530['shift']());}}}(a0_0x1d78,0xe0117));function a0_0x2a17(_0x3c961c,_0x572ab9){const _0x1d784b=a0_0x1d78();return a0_0x2a17=function(_0x2a1759,_0x265a82){_0x2a1759=_0x2a1759-0x12b;let _0x3353bf=_0x1d784b[_0x2a1759];return _0x3353bf;},a0_0x2a17(_0x3c961c,_0x572ab9);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x1d78(){const _0x16992a=['filter','isElement','15194340MYjXJA','addEventListener','isNotEmpty','5437388kMcNZu','4944GNiKLG','setAttribute','Esc','formConfigSet','88HmjosY','context','OX-GRID-FIELD','isPage','isEmpty','is_activity','connectedCallback','forEach','1518268VtxKxB','activityDataSet','__origin__','detail','3271704VFZtXD','updateMultiple','renderRoot','title.info','styles','getBasicFormHtml','text.NOTHING_CHANGED','6645QtfhWi','grid_column','click','pageInitialized','true','currentTarget','tagName','orgData','clear','properties','stopPropagation','map','__dirtyfields__','save','currentData','before','focus','editable','name','formRenderConfig','847042mGsmjV','parseFormConfigs','fetch','showAlertPopup','startsWith','formColumnConfig','entries','patchData','editing','activity','object','button','parseBasicFormConfigs','findOne','render','dirtyData','getData','cuFlag','column','after','__dirty__','keys','isEquals','record','getContextObject','parent_id','getBasicFormStyles','removeAttribute','target','removeGarbageData','firstUpdated','1505858TFlTnj','function','assign','__seq__','parseFormConfigSet','call'];a0_0x1d78=function(){return _0x16992a;};return a0_0x1d78();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x1ae44c=>class extends MetaButtonMixin(_0x1ae44c){static get[a0_0x133c67(0x161)](){const _0x2fc82e=a0_0x133c67;return MetaApi[_0x2fc82e(0x13c)]();}static get[a0_0x133c67(0x16d)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x133c67(0x152)](){const _0x434ca4=a0_0x133c67;return MetaUiUtil[_0x434ca4(0x13a)](this);}async[a0_0x133c67(0x157)](){const _0x13bd8d=a0_0x133c67;await this['getAndParseMenuMeta'](),this[_0x13bd8d(0x148)]&&await this[_0x13bd8d(0x179)](),this[_0x13bd8d(0x15a)]&&(this['dataSet']=this[_0x13bd8d(0x15a)]),!0x0!==this[_0x13bd8d(0x156)]||this[_0x13bd8d(0x13b)]||(this[_0x13bd8d(0x13b)]=_0x13bd8d(0x12b)),super[_0x13bd8d(0x157)]&&await super[_0x13bd8d(0x157)](),this[_0x13bd8d(0x148)]&&await this[_0x13bd8d(0x17a)](),this[_0x13bd8d(0x15f)]['addEventListener']('keydown',_0x6e3ae0=>{const _0x1ea6b1=_0x13bd8d;switch(_0x6e3ae0['key']){case _0x1ea6b1(0x14f):case'Escape':case'Enter':this[_0x1ea6b1(0x174)](),this[_0x1ea6b1(0x169)]&&this[_0x1ea6b1(0x169)][_0x1ea6b1(0x13d)](_0x1ea6b1(0x180)),this[_0x1ea6b1(0x169)]=null;}}),this[_0x13bd8d(0x15f)]['addEventListener'](_0x13bd8d(0x166),_0x272e03=>{const _0x5cc2b3=_0x13bd8d;_0x272e03[_0x5cc2b3(0x16e)]();let _0x21c6cc=_0x272e03[_0x5cc2b3(0x13e)];if(this['currentTarget']&&(this[_0x5cc2b3(0x174)](),this[_0x5cc2b3(0x169)][_0x5cc2b3(0x13d)](_0x5cc2b3(0x180))),_0x5cc2b3(0x153)!==_0x21c6cc[_0x5cc2b3(0x16a)]||!_0x21c6cc[_0x5cc2b3(0x134)][_0x5cc2b3(0x139)][_0x5cc2b3(0x175)])return this['focus'](),void(this[_0x5cc2b3(0x169)]=null);this[_0x5cc2b3(0x169)]=_0x21c6cc,_0x21c6cc[_0x5cc2b3(0x14e)]('editing',_0x5cc2b3(0x168));}),this[_0x13bd8d(0x14a)]('field-change',_0x514695=>{const _0x3384dd=_0x13bd8d;var {after:_0x332e4a,before:_0x4b1db6,column:_0x11ba2c,record:_0x53bbd6,row:_0xadff04}=_0x514695[_0x3384dd(0x15c)];if(ValueUtil[_0x3384dd(0x138)](_0x332e4a,_0x4b1db6))return;var _0x71b724=_0x11ba2c['validation'];if(_0x71b724&&_0x3384dd(0x142)==typeof _0x71b724&&!_0x71b724[_0x3384dd(0x146)](this,_0x332e4a,_0x4b1db6,_0x53bbd6,_0x11ba2c))return;let _0x2c235a=_0x11ba2c[_0x3384dd(0x176)];_0x53bbd6[_0x2c235a]=_0x332e4a,_0x53bbd6[_0x3384dd(0x170)]=_0x53bbd6[_0x3384dd(0x170)]||{},_0x53bbd6['__origin__']=_0x53bbd6[_0x3384dd(0x15b)]||{},_0x53bbd6[_0x3384dd(0x170)][_0x2c235a]={'before':_0x53bbd6[_0x3384dd(0x15b)][_0x2c235a],'after':_0x53bbd6[_0x2c235a]},ValueUtil[_0x3384dd(0x138)](_0x53bbd6['__dirtyfields__'][_0x2c235a][_0x3384dd(0x173)],_0x53bbd6[_0x3384dd(0x170)][_0x2c235a][_0x3384dd(0x135)])&&delete _0x53bbd6[_0x3384dd(0x170)][_0x2c235a],ValueUtil[_0x3384dd(0x14b)](_0x53bbd6[_0x3384dd(0x170)])?_0x53bbd6['__dirty__']='M':_0x53bbd6[_0x3384dd(0x136)]='',this[_0x3384dd(0x139)]={..._0x53bbd6};});}async['firstUpdated'](){const _0x14c9cc=a0_0x133c67;super[_0x14c9cc(0x140)]&&await super[_0x14c9cc(0x140)]();}async[a0_0x133c67(0x167)](){const _0x2c5d8f=a0_0x133c67;this[_0x2c5d8f(0x154)]&&await this[_0x2c5d8f(0x179)](),super[_0x2c5d8f(0x167)]&&await super[_0x2c5d8f(0x167)](),this[_0x2c5d8f(0x154)]&&await this[_0x2c5d8f(0x17a)]();}[a0_0x133c67(0x130)](){const _0x192f8b=a0_0x133c67;return MetaApi[_0x192f8b(0x162)](this);}[a0_0x133c67(0x12e)](_0x26e0b1){const _0x2d04b5=a0_0x133c67;this[_0x2d04b5(0x17d)]=_0x26e0b1[_0x2d04b5(0x165)],this[_0x2d04b5(0x177)]=_0x26e0b1['form'],_0x26e0b1['button']=_0x26e0b1[_0x2d04b5(0x12d)][_0x2d04b5(0x147)](_0x367e01=>_0x2d04b5(0x171)==_0x367e01[_0x2d04b5(0x176)]);}async[a0_0x133c67(0x179)](){const _0x519a5d=a0_0x133c67;this[_0x519a5d(0x150)]=await MetaApi[_0x519a5d(0x145)](this);}get[a0_0x133c67(0x16b)](){const _0x5b3c99=a0_0x133c67;return this[_0x5b3c99(0x13f)](this[_0x5b3c99(0x139)][_0x5b3c99(0x15b)]);}get[a0_0x133c67(0x131)](){const _0x596030=a0_0x133c67;if(ValueUtil['isEmpty'](this[_0x596030(0x139)]['__dirtyfields__']))return{};let _0x38138a={};return Object['entries'](this['record'][_0x596030(0x170)])[_0x596030(0x16f)](([_0x240a0e,_0x1d201b])=>{const _0x1105ef=_0x596030;0x0==_0x240a0e['startsWith']('__')&&(_0x38138a[_0x240a0e]=_0x1d201b[_0x1105ef(0x135)]);}),_0x38138a;}get['currentData'](){return this['removeGarbageData'](this['record']);}['removeGarbageData'](_0x312577){const _0x2a1626=a0_0x133c67;let _0x248ed0={};if(_0x312577)return Object[_0x2a1626(0x17e)](_0x312577)[_0x2a1626(0x16f)](([_0x20192b,_0x1c0dc2])=>{const _0x59b784=_0x2a1626;0x0==_0x20192b[_0x59b784(0x17c)]('__')&&(_0x248ed0[_0x20192b]=_0x1c0dc2);}),_0x248ed0;}get[a0_0x133c67(0x17f)](){const _0x326e22=a0_0x133c67;let _0x353bcc=this[_0x326e22(0x131)],_0x264220=this[_0x326e22(0x139)];return ValueUtil[_0x326e22(0x155)](_0x353bcc)?[]:(ValueUtil['isNotEmpty'](_0x264220['id'])?(_0x353bcc['id']=_0x264220['id'],_0x353bcc['cuFlag']='M'):_0x353bcc[_0x326e22(0x133)]='+',Object[_0x326e22(0x137)](_0x353bcc)[_0x326e22(0x158)](_0x2029a0=>{const _0x3fedba=_0x326e22;_0x3fedba(0x12c)==typeof _0x353bcc[_0x2029a0]&&(_0x353bcc[_0x2029a0]={'id':_0x353bcc[_0x2029a0]['id']});}),[_0x353bcc]);}async[a0_0x133c67(0x17a)](){const _0xcc5ff0=a0_0x133c67;if(ValueUtil[_0xcc5ff0(0x155)](this[_0xcc5ff0(0x13b)]))return;let _0x1212bb=await this[_0xcc5ff0(0x12f)](this[_0xcc5ff0(0x13b)]);_0x1212bb[_0xcc5ff0(0x144)]=0x1;let _0x21b99a={};Object[_0xcc5ff0(0x143)](_0x21b99a,_0x1212bb),_0x1212bb[_0xcc5ff0(0x15b)]=_0x21b99a,this['record']={..._0x1212bb};}async[a0_0x133c67(0x171)](){const _0x4cf30e=a0_0x133c67;let _0x23e714=this[_0x4cf30e(0x17f)];if(ValueUtil[_0x4cf30e(0x155)](_0x23e714))return void MetaApi[_0x4cf30e(0x17b)](_0x4cf30e(0x160),_0x4cf30e(0x163));let _0x22ea52=await this[_0x4cf30e(0x15e)](_0x23e714);return _0x22ea52&&await this[_0x4cf30e(0x17a)](),_0x22ea52;}async[a0_0x133c67(0x16c)](){const _0x2f4375=a0_0x133c67;this['record']&&(this[_0x2f4375(0x139)]={});}[a0_0x133c67(0x132)](){const _0x187088=a0_0x133c67;return this[_0x187088(0x172)]||{};}};
@@ -1 +1 @@
1
- function a0_0x2647(){const _0x4a2c24=['ox-grist','parse','searchFields','meta-tab-element','tTitle','getContextObject','getBasicGristTabStyles','renderRoot','findOne','gridColumnConfig','exportable','options','connectedCallback','importable','menuInfo','getSelectedIdList','value','975090RkPSHg','gridConfig','operator','filter','grist','fetch','delete','type','header','firstUpdated','9mSFvqP','updateMultiple','dataSet','record','properties','render','3247389QBeqQJ','getAndParseMenuMeta','getGristTabHtml','filterForm','columns','find','#detail','clear','isNotEmpty','gristConfigSet','forEach','name','search','4cnBebx','538144ZoleER','parseGridConfigSet','4836944XQjbRz','searchFieldValues','getData','7134988qXJaZK','context','stringify','getParams','grid','grid_column','filterFormId','3489665CYFDxA','activityDataSet','keys','title','4HVogVB','shadowRoot','isElement','gristId','pageInitialized','main','parseBasicGridConfigs','detailElement','beforeFetch','records','parseGristConfigs','1337760uucndW','querySelector','exportableData','ox-filters-form-base','useFilterForm','patchesForUpdateMultiple','actions','map'];a0_0x2647=function(){return _0x4a2c24;};return a0_0x2647();}const a0_0x4f4a7e=a0_0x2517;(function(_0x58dba0,_0x2b6cb8){const _0x528ab6=a0_0x2517,_0x475fd4=_0x58dba0();while(!![]){try{const _0xcc09c4=-parseInt(_0x528ab6(0x1f6))/0x1*(parseInt(_0x528ab6(0x1e6))/0x2)+parseInt(_0x528ab6(0x1d8))/0x3+parseInt(_0x528ab6(0x1e5))/0x4*(-parseInt(_0x528ab6(0x1f2))/0x5)+-parseInt(_0x528ab6(0x201))/0x6+parseInt(_0x528ab6(0x1eb))/0x7+parseInt(_0x528ab6(0x1e8))/0x8+-parseInt(_0x528ab6(0x1d2))/0x9*(parseInt(_0x528ab6(0x1c8))/0xa);if(_0xcc09c4===_0x2b6cb8)break;else _0x475fd4['push'](_0x475fd4['shift']());}catch(_0x351190){_0x475fd4['push'](_0x475fd4['shift']());}}}(a0_0x2647,0x9555b));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x2517(_0x514c17,_0x2a3c0e){const _0x264700=a0_0x2647();return a0_0x2517=function(_0x251709,_0x2446bf){_0x251709=_0x251709-0x1bd;let _0x2e1ce2=_0x264700[_0x251709];return _0x2e1ce2;},a0_0x2517(_0x514c17,_0x2a3c0e);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x4c2394=>class extends MetaButtonMixin(_0x4c2394){static get['styles'](){const _0x4d7ef6=a0_0x2517;return MetaApi[_0x4d7ef6(0x1bd)]();}static get[a0_0x4f4a7e(0x1d6)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x4f4a7e(0x1cc)](){const _0x407aef=a0_0x4f4a7e;return this[_0x407aef(0x1be)]['querySelector'](this[_0x407aef(0x1f9)]);}get[a0_0x4f4a7e(0x1db)](){const _0x1f3b7d=a0_0x4f4a7e;return this[_0x1f3b7d(0x1f7)]?.[_0x1f3b7d(0x202)](this[_0x1f3b7d(0x1f1)]);}get[a0_0x4f4a7e(0x1fd)](){const _0x3e6fb2=a0_0x4f4a7e;return this[_0x3e6fb2(0x1f7)][_0x3e6fb2(0x202)](_0x3e6fb2(0x1de));}get[a0_0x4f4a7e(0x1ec)](){const _0x2dfe8d=a0_0x4f4a7e;let _0x13d91e=MetaUiUtil[_0x2dfe8d(0x20e)](this);return _0x13d91e[_0x2dfe8d(0x207)]&&delete _0x13d91e['actions'],_0x13d91e[_0x2dfe8d(0x1c1)]&&delete _0x13d91e[_0x2dfe8d(0x1c1)],_0x13d91e[_0x2dfe8d(0x1c4)]&&delete _0x13d91e['importable'],_0x13d91e;}async[a0_0x4f4a7e(0x1c3)](){const _0xe7922b=a0_0x4f4a7e;this[_0xe7922b(0x1f9)]=_0xe7922b(0x209),this['filterFormId']=_0xe7922b(0x204),await this[_0xe7922b(0x1d9)](),this[_0xe7922b(0x1f8)]&&await this[_0xe7922b(0x200)](),this[_0xe7922b(0x1f3)]&&(this[_0xe7922b(0x1d4)]=(this['activityDataSet']||{})[_0xe7922b(0x1fb)]),super[_0xe7922b(0x1c3)]&&await super[_0xe7922b(0x1c3)]();}async[a0_0x4f4a7e(0x1d1)](){const _0x3cdad0=a0_0x4f4a7e;super[_0x3cdad0(0x1d1)]&&await super[_0x3cdad0(0x1d1)]();}async[a0_0x4f4a7e(0x1fa)](){const _0x3d9f38=a0_0x4f4a7e;this['isPage']&&await this[_0x3d9f38(0x200)](),super[_0x3d9f38(0x1fa)]&&await super[_0x3d9f38(0x1fa)]();}[a0_0x4f4a7e(0x1d7)](){const _0x2cd653=a0_0x4f4a7e;return MetaApi[_0x2cd653(0x1da)](this);}[a0_0x4f4a7e(0x1fc)](_0x409942){const _0x1d43a4=a0_0x4f4a7e;this[_0x1d43a4(0x1c9)]=_0x409942[_0x1d43a4(0x1ef)],this[_0x1d43a4(0x1c0)]=_0x409942[_0x1d43a4(0x1f0)],this['searchConfig']=_0x409942[_0x1d43a4(0x1e4)];}async['parseGristConfigs'](){const _0x5524e3=a0_0x4f4a7e;this['gristConfigSet']=await MetaApi[_0x5524e3(0x1e7)](this),this['useMasterFilterForm']=!0x0===this['useFilterForm'],this[_0x5524e3(0x205)]=!0x1,this[_0x5524e3(0x1e9)]=[],this[_0x5524e3(0x20b)]=this[_0x5524e3(0x1e1)][_0x5524e3(0x1dc)][_0x5524e3(0x1cb)](_0x2191dd=>_0x2191dd[_0x5524e3(0x1cb)])[_0x5524e3(0x208)](_0x49899c=>{const _0x46fed2=_0x5524e3;let _0x7b91d1={'name':_0x49899c[_0x46fed2(0x1e3)],'type':_0x46fed2(0x1e4)===_0x49899c[_0x46fed2(0x1cb)][_0x46fed2(0x1ca)]?_0x46fed2(0x1e4):_0x49899c[_0x46fed2(0x1cf)],'label':_0x49899c[_0x46fed2(0x1d0)],'operator':_0x49899c['filter']['operator']?_0x49899c[_0x46fed2(0x1cb)][_0x46fed2(0x1ca)]:'eq'};return _0x49899c[_0x46fed2(0x1cb)][_0x46fed2(0x1c2)]&&(_0x7b91d1[_0x46fed2(0x1c2)]=_0x49899c[_0x46fed2(0x1cb)][_0x46fed2(0x1c2)]),_0x49899c[_0x46fed2(0x1d5)][_0x46fed2(0x1c2)]&&(_0x7b91d1[_0x46fed2(0x1c2)]=_0x49899c[_0x46fed2(0x1d5)]['options']),_0x49899c[_0x46fed2(0x1cb)][_0x46fed2(0x1c7)]&&this[_0x46fed2(0x1e9)]['push']({'name':_0x7b91d1['name'],'operator':_0x7b91d1['operator'],'value':_0x49899c[_0x46fed2(0x1cb)][_0x46fed2(0x1c7)]}),delete _0x49899c[_0x46fed2(0x1cb)],_0x7b91d1;});}async[a0_0x4f4a7e(0x1cd)](){const _0x843172=a0_0x4f4a7e;await this['grist'][_0x843172(0x1cd)]();}async[a0_0x4f4a7e(0x1fe)]({page:_0x3d18b1=0x0,limit:_0x4d55e3=0x0,sortings:_0x2e50f6=[],filters:_0xda4190=[]}){const _0x20c1e4=a0_0x4f4a7e;let _0x200c0c=this['renderRoot'][_0x20c1e4(0x202)](_0x20c1e4(0x20c));return await _0x200c0c[_0x20c1e4(0x1df)](),!0x0;}async['save'](){const _0x544b83=a0_0x4f4a7e;let _0x27c474=MetaApi[_0x544b83(0x206)](this[_0x544b83(0x1cc)]);!!ValueUtil[_0x544b83(0x1e0)](_0x27c474)&&await this[_0x544b83(0x1d3)](_0x27c474)&&this[_0x544b83(0x1cd)]();}async[a0_0x4f4a7e(0x1dd)](){const _0x800a97=a0_0x4f4a7e;let _0x28fc76=MetaApi[_0x800a97(0x1c6)](this[_0x800a97(0x1cc)],!0x0);return ValueUtil['isNotEmpty'](_0x28fc76)?await this[_0x800a97(0x1bf)](_0x28fc76[0x0]):{};}async[a0_0x4f4a7e(0x1ce)](){const _0xd878c0=a0_0x4f4a7e;let _0x5e2464=MetaApi[_0xd878c0(0x1c6)](this['grist'],!0x0);!!ValueUtil[_0xd878c0(0x1e0)](_0x5e2464)&&await this['deleteByIds'](_0x5e2464)&&this[_0xd878c0(0x1cd)]();}async['export'](){const _0x35ac66=a0_0x4f4a7e;let _0x43088c=TermsUtil[_0x35ac66(0x20d)](ValueUtil[_0x35ac66(0x1ee)](this[_0x35ac66(0x1c5)],_0x35ac66(0x1f5)));return await MetaApi[_0x35ac66(0x203)](this['isElement'],_0x43088c,this['grist']);}async['import'](){}[a0_0x4f4a7e(0x1ea)](){const _0x85cee5=a0_0x4f4a7e;let _0x5178f4=this['grist']['___data'][_0x85cee5(0x1ff)];return _0x5178f4=JSON[_0x85cee5(0x20a)](JSON[_0x85cee5(0x1ed)](_0x5178f4)),_0x5178f4[_0x85cee5(0x1e2)](_0x484228=>{const _0x5ab26d=_0x85cee5;Object[_0x5ab26d(0x1f4)](_0x484228)[_0x5ab26d(0x1e2)](_0x2a0b1a=>{_0x2a0b1a['startsWith']('__')&&delete _0x484228[_0x2a0b1a];});}),{'main':_0x5178f4,'detail':this[_0x85cee5(0x1be)][_0x85cee5(0x202)](_0x85cee5(0x20c))['getData']()};}};
1
+ const a0_0x3b8349=a0_0x3027;(function(_0x27588a,_0x4b8dde){const _0x3c5976=a0_0x3027,_0x4aab1f=_0x27588a();while(!![]){try{const _0x4eeee4=-parseInt(_0x3c5976(0x152))/0x1*(-parseInt(_0x3c5976(0x155))/0x2)+parseInt(_0x3c5976(0x159))/0x3*(-parseInt(_0x3c5976(0x172))/0x4)+-parseInt(_0x3c5976(0x17b))/0x5*(-parseInt(_0x3c5976(0x13f))/0x6)+-parseInt(_0x3c5976(0x160))/0x7+-parseInt(_0x3c5976(0x16b))/0x8*(parseInt(_0x3c5976(0x14c))/0x9)+-parseInt(_0x3c5976(0x16c))/0xa+parseInt(_0x3c5976(0x182))/0xb*(parseInt(_0x3c5976(0x147))/0xc);if(_0x4eeee4===_0x4b8dde)break;else _0x4aab1f['push'](_0x4aab1f['shift']());}catch(_0x4d6718){_0x4aab1f['push'](_0x4aab1f['shift']());}}}(a0_0x1d32,0x4bfff));function a0_0x1d32(){const _0x5ca19c=['pageInitialized','isPage','deleteByIds','actions','parse','grid','find','gristId','properties','value','21426LdLaoO','name','exportable','#detail','menuInfo','connectedCallback','firstUpdated','parseBasicGridConfigs','13696464wmzHGW','forEach','delete','operator','tTitle','369lQQzhx','options','getData','isNotEmpty','___data','grist','114wDzZlK','isElement','type','6250WMzwnv','ox-filters-form-base','clear','dataSet','204012qzTPPm','getParams','getBasicGristTabStyles','getAndParseMenuMeta','title','detailElement','save','3225740hLFwKZ','fetch','querySelector','records','gridColumnConfig','parseGristConfigs','searchFieldValues','render','filterForm','ox-grist','filterFormId','52144ndgiOj','4071900EvlzAI','gristConfigSet','import','columns','renderRoot','updateMultiple','28AWvVDh','importable','useFilterForm','exportableData','push','record','filter','getSelectedIdList','parseGridConfigSet','595TNAstH','stringify','beforeFetch','patchesForUpdateMultiple','styles','getGristTabHtml','search','11PLpkrO','grid_column'];a0_0x1d32=function(){return _0x5ca19c;};return a0_0x1d32();}import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x3027(_0x3025b5,_0x4b6900){const _0x1d3282=a0_0x1d32();return a0_0x3027=function(_0x302790,_0x504169){_0x302790=_0x302790-0x136;let _0x1d3b26=_0x1d3282[_0x302790];return _0x1d3b26;},a0_0x3027(_0x3025b5,_0x4b6900);}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0xa7d958=>class extends MetaButtonMixin(_0xa7d958){static get[a0_0x3b8349(0x17f)](){const _0x2003e9=a0_0x3b8349;return MetaApi[_0x2003e9(0x15b)]();}static get[a0_0x3b8349(0x13d)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x3b8349(0x151)](){const _0x4e09e8=a0_0x3b8349;return this['renderRoot'][_0x4e09e8(0x162)](this['gristId']);}get[a0_0x3b8349(0x168)](){return this['shadowRoot']?.['querySelector'](this['filterFormId']);}get[a0_0x3b8349(0x15e)](){const _0x440ab4=a0_0x3b8349;return this['shadowRoot'][_0x440ab4(0x162)](_0x440ab4(0x142));}get['context'](){const _0x57d932=a0_0x3b8349;let _0x315dc3=MetaUiUtil['getContextObject'](this);return _0x315dc3[_0x57d932(0x138)]&&delete _0x315dc3[_0x57d932(0x138)],_0x315dc3[_0x57d932(0x141)]&&delete _0x315dc3['exportable'],_0x315dc3[_0x57d932(0x173)]&&delete _0x315dc3[_0x57d932(0x173)],_0x315dc3;}async['connectedCallback'](){const _0x2236ac=a0_0x3b8349;this[_0x2236ac(0x13c)]=_0x2236ac(0x169),this[_0x2236ac(0x16a)]=_0x2236ac(0x156),await this[_0x2236ac(0x15c)](),this[_0x2236ac(0x153)]&&await this[_0x2236ac(0x165)](),this['activityDataSet']&&(this[_0x2236ac(0x158)]=(this['activityDataSet']||{})['main']),super[_0x2236ac(0x144)]&&await super[_0x2236ac(0x144)]();}async[a0_0x3b8349(0x145)](){const _0x181b6e=a0_0x3b8349;super[_0x181b6e(0x145)]&&await super[_0x181b6e(0x145)]();}async['pageInitialized'](){const _0x587b97=a0_0x3b8349;this[_0x587b97(0x136)]&&await this[_0x587b97(0x165)](),super[_0x587b97(0x184)]&&await super['pageInitialized']();}[a0_0x3b8349(0x167)](){const _0x1662a5=a0_0x3b8349;return MetaApi[_0x1662a5(0x180)](this);}[a0_0x3b8349(0x146)](_0x6e2034){const _0x1f2dd9=a0_0x3b8349;this['gridConfig']=_0x6e2034[_0x1f2dd9(0x13a)],this[_0x1f2dd9(0x164)]=_0x6e2034[_0x1f2dd9(0x183)],this['searchConfig']=_0x6e2034[_0x1f2dd9(0x181)];}async[a0_0x3b8349(0x165)](){const _0x324689=a0_0x3b8349;this[_0x324689(0x16d)]=await MetaApi[_0x324689(0x17a)](this),this['useMasterFilterForm']=!0x0===this[_0x324689(0x174)],this[_0x324689(0x174)]=!0x1,this[_0x324689(0x166)]=[],this['searchFields']=this[_0x324689(0x16d)][_0x324689(0x16f)][_0x324689(0x178)](_0x27d26d=>_0x27d26d[_0x324689(0x178)])['map'](_0x461ffd=>{const _0x3999dc=_0x324689;let _0x158602={'name':_0x461ffd[_0x3999dc(0x140)],'type':'search'===_0x461ffd['filter'][_0x3999dc(0x14a)]?_0x3999dc(0x181):_0x461ffd[_0x3999dc(0x154)],'label':_0x461ffd['header'],'operator':_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x14a)]?_0x461ffd[_0x3999dc(0x178)]['operator']:'eq'};return _0x461ffd['filter'][_0x3999dc(0x14d)]&&(_0x158602[_0x3999dc(0x14d)]=_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x14d)]),_0x461ffd[_0x3999dc(0x177)][_0x3999dc(0x14d)]&&(_0x158602[_0x3999dc(0x14d)]=_0x461ffd[_0x3999dc(0x177)]['options']),_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x13e)]&&this[_0x3999dc(0x166)][_0x3999dc(0x176)]({'name':_0x158602[_0x3999dc(0x140)],'operator':_0x158602['operator'],'value':_0x461ffd[_0x3999dc(0x178)][_0x3999dc(0x13e)]}),delete _0x461ffd[_0x3999dc(0x178)],_0x158602;});}async[a0_0x3b8349(0x161)](){const _0x21e9be=a0_0x3b8349;await this[_0x21e9be(0x151)]['fetch']();}async[a0_0x3b8349(0x17d)]({page:_0x2c998e=0x0,limit:_0x273977=0x0,sortings:_0x161d11=[],filters:_0x416029=[]}){const _0xa2636f=a0_0x3b8349;let _0x59842e=this[_0xa2636f(0x170)]['querySelector']('meta-tab-element');return await _0x59842e[_0xa2636f(0x157)](),!0x0;}async[a0_0x3b8349(0x15f)](){const _0x29f5c3=a0_0x3b8349;let _0x2c1e80=MetaApi[_0x29f5c3(0x17e)](this['grist']);!!ValueUtil[_0x29f5c3(0x14f)](_0x2c1e80)&&await this[_0x29f5c3(0x171)](_0x2c1e80)&&this[_0x29f5c3(0x161)]();}async[a0_0x3b8349(0x13b)](){const _0x223468=a0_0x3b8349;let _0x4ceb77=MetaApi[_0x223468(0x179)](this[_0x223468(0x151)],!0x0);return ValueUtil['isNotEmpty'](_0x4ceb77)?await this['findOne'](_0x4ceb77[0x0]):{};}async[a0_0x3b8349(0x149)](){const _0x4d460e=a0_0x3b8349;let _0x1f6412=MetaApi[_0x4d460e(0x179)](this[_0x4d460e(0x151)],!0x0);!!ValueUtil['isNotEmpty'](_0x1f6412)&&await this[_0x4d460e(0x137)](_0x1f6412)&&this[_0x4d460e(0x161)]();}async['export'](){const _0x59cfcc=a0_0x3b8349;let _0x51670e=TermsUtil[_0x59cfcc(0x14b)](ValueUtil[_0x59cfcc(0x15a)](this[_0x59cfcc(0x143)],_0x59cfcc(0x15d)));return await MetaApi[_0x59cfcc(0x175)](this[_0x59cfcc(0x153)],_0x51670e,this['grist']);}async[a0_0x3b8349(0x16e)](){}[a0_0x3b8349(0x14e)](){const _0x1283d5=a0_0x3b8349;let _0xd34a9=this[_0x1283d5(0x151)][_0x1283d5(0x150)][_0x1283d5(0x163)];return _0xd34a9=JSON[_0x1283d5(0x139)](JSON[_0x1283d5(0x17c)](_0xd34a9)),_0xd34a9[_0x1283d5(0x148)](_0x2d6666=>{const _0x447033=_0x1283d5;Object['keys'](_0x2d6666)[_0x447033(0x148)](_0x3c86d4=>{_0x3c86d4['startsWith']('__')&&delete _0x2d6666[_0x3c86d4];});}),{'main':_0xd34a9,'detail':this[_0x1283d5(0x170)][_0x1283d5(0x162)]('meta-tab-element')[_0x1283d5(0x14e)]()};}};