@things-factory/meta-ui 6.0.133 → 6.0.134

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 +3 -3
  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 +103 -103
  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 +2 -2
  53. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  54. package/client/viewparts/dynamic-menu-part.js +12 -12
  55. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  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_0x2cc920=a0_0x56d2;function a0_0x56d2(_0x2ed020,_0x2ff361){const _0x3a4789=a0_0x3a47();return a0_0x56d2=function(_0x56d29d,_0x4ac805){_0x56d29d=_0x56d29d-0x9a;let _0x2a02b5=_0x3a4789[_0x56d29d];return _0x2a02b5;},a0_0x56d2(_0x2ed020,_0x2ff361);}(function(_0x5decee,_0x36fd86){const _0x221094=a0_0x56d2,_0x7a0006=_0x5decee();while(!![]){try{const _0x5e3759=-parseInt(_0x221094(0xb0))/0x1+-parseInt(_0x221094(0xad))/0x2+-parseInt(_0x221094(0xb2))/0x3+parseInt(_0x221094(0x9e))/0x4*(-parseInt(_0x221094(0x9a))/0x5)+parseInt(_0x221094(0x9f))/0x6+-parseInt(_0x221094(0xac))/0x7+parseInt(_0x221094(0xa4))/0x8;if(_0x5e3759===_0x36fd86)break;else _0x7a0006['push'](_0x7a0006['shift']());}catch(_0x3ef8e0){_0x7a0006['push'](_0x7a0006['shift']());}}}(a0_0x3a47,0xc58f3));import'../viewparts/dynamic-menu-part';function a0_0x3a47(){const _0x59669c=['lite-menu-part','data','5306714MWwMvH','1159982OgmohL','landscape','dynamic-menu-part','1405045abPFwI','liteMenus','1705719ychZlA','meta[name=\x22application-name\x22]','filter','appName','3235dMnEQR','HEADERBAR','portrait','query','3508arnovf','7796778HRwHYF','UPDATE_META_MENU_TEMPLATE','UPDATE_META_UI','value','dispatch','27110960QhEoRQ','active','rank','items','hamburger','NAVBAR'];a0_0x3a47=function(){return _0x59669c;};return a0_0x3a47();}import'@material/mwc-icon';import a0_0x37b694 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_0x2cc920(0xa1);export const UPDATE_META_MENU_TEMPLATE=a0_0x2cc920(0xa0);var HAMBURGER;export async function setupMenuPart(_0x3685d5){const _0x2bda67=a0_0x2cc920;var {hovering:_0x300302=!!isMobileDevice(),slotTemplate:_0x2fcc82,portraitSlotTemplate:_0x193b67,landscapeSlotTemplate:_0x1c9e66,position:_0x23520d=VIEWPART_POSITION[_0x2bda67(0xa9)]}=_0x3685d5||{};const {hovering:_0x934a5f}=(await clientSettingStore['get']('dynamic-menu'))?.[_0x2bda67(0xa2)]||{};void 0x0!==_0x934a5f&&(_0x300302=_0x934a5f);const _0x1965ff=_0x23520d==VIEWPART_POSITION[_0x2bda67(0x9b)]?_0x2bda67(0xae):_0x2bda67(0x9c),_0x5d9d4f=('landscape'==_0x1965ff?_0x1c9e66:_0x193b67)||_0x2fcc82||html``;appendViewpart({'name':_0x2bda67(0xaa),'viewpart':{'show':!_0x300302,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x300302,'template':html`<dynamic-menu-part .orientation=${_0x1965ff}>${_0x5d9d4f}</dynamic-menu-part>`},'position':_0x23520d}),_0x300302&&_0x2bda67(0x9c)==_0x1965ff?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
2
+ <mwc-icon @click=${_0xf0db1c=>toggleOverlay(_0x2bda67(0xaf),{'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['FRONT_END']},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x2bda67(0xa3)]({'type':REMOVE_APP_TOOL,'name':_0x2bda67(0xa8)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x56f4d3){const _0x3bd3ee=a0_0x2cc920;var _0x3325a5=document['querySelector'](_0x3bd3ee(0xb3))?.['content'],_0x5a665e=(await client[_0x3bd3ee(0x9d)]({'query':a0_0x37b694`
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':_0x3bd3ee(0xa5),'operator':'eq','value':!0x0},{'name':_0x3bd3ee(0xb5),'operator':'in','value':['',_0x3325a5]}],'sortings':[{'name':_0x3bd3ee(0xa6),'desc':!0x1}]}}))[_0x3bd3ee(0xab)][_0x3bd3ee(0xb1)][_0x3bd3ee(0xa7)];store[_0x3bd3ee(0xa3)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x5a665e[_0x3bd3ee(0xb4)](_0x5e3909=>!_0x5e3909['appName']||_0x5e3909[_0x3bd3ee(0xb5)]===_0x3325a5),'template':_0x56f4d3});}
@@ -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(_0x3d2ce3,_0xd8fa56){const _0x1fa3ee=a0_0xdf2c,_0x12d8e2=_0x3d2ce3();while(!![]){try{const _0x4b7e07=parseInt(_0x1fa3ee(0x187))/0x1*(-parseInt(_0x1fa3ee(0x182))/0x2)+-parseInt(_0x1fa3ee(0x189))/0x3*(parseInt(_0x1fa3ee(0x18f))/0x4)+parseInt(_0x1fa3ee(0x190))/0x5*(parseInt(_0x1fa3ee(0x185))/0x6)+parseInt(_0x1fa3ee(0x18a))/0x7+-parseInt(_0x1fa3ee(0x180))/0x8+parseInt(_0x1fa3ee(0x18b))/0x9+-parseInt(_0x1fa3ee(0x184))/0xa*(-parseInt(_0x1fa3ee(0x194))/0xb);if(_0x4b7e07===_0xd8fa56)break;else _0x12d8e2['push'](_0x12d8e2['shift']());}catch(_0x284576){_0x12d8e2['push'](_0x12d8e2['shift']());}}}(a0_0x349f,0x7c377));import'../selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x5c8024,_0x8160c0,_0x3229e8){const _0x262bed=a0_0xdf2c;var _0x49447d=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x30fa62}
4
- .options=${_0x2fc3d6[_0x303cd9(0x13e)]}
5
- .confirmCallback=${_0x22398b}
3
+ .value=${_0x8160c0}
4
+ .options=${_0x5c8024[_0x262bed(0x17f)]}
5
+ .confirmCallback=${_0x3229e8}
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(_0x49447d,{'backdrop':!0x0,'size':_0x262bed(0x198),'title':TermsUtil[_0x262bed(0x186)](_0x5c8024[_0x262bed(0x17f)][_0x262bed(0x18c)])});}function a0_0x349f(){const _0x170310=['selectorName','filter','ox-grid-header','573856JczdnW','5lKMJHh','length','form\x20[name=\x22','name','11QDoETB','target','codeField','dispField','large','renderRoot','filter-change','change','stopPropagation','tagName','options','6269104wkxBNZ','querySelector','2ubtobA','codes','4306090NiXoms','3454422xoXRgd','tMenu','280153boMuVb','value','3sIHNmt','3410232oaqkXl','2002716VjIzfu'];a0_0x349f=function(){return _0x170310;};return a0_0x349f();}function a0_0xdf2c(_0x418cc3,_0x593a82){const _0x349f62=a0_0x349f();return a0_0xdf2c=function(_0xdf2cf7,_0x3182fc){_0xdf2cf7=_0xdf2cf7-0x17f;let _0x2ea458=_0x349f62[_0xdf2cf7];return _0x2ea458;},a0_0xdf2c(_0x418cc3,_0x593a82);}export const FilterFormResourceCodeSelect=(_0xda5827,_0x18ddd4,_0x3872da)=>{const _0x142480=a0_0xdf2c,_0x25222a=_0xda5827['options'],_0x12340e=_0x25222a['codes']&&_0x25222a[_0x142480(0x183)]['length']>0x0?_0x25222a[_0x142480(0x183)]:void 0x0,{operator:_0x23092d='eq'}=_0xda5827;let _0x5d1093=_0x18ddd4?_0x18ddd4[_0x25222a[_0x142480(0x196)]]:'',_0x430895=_0x18ddd4?_0x18ddd4[_0x25222a[_0x142480(0x196)]]:'';if(_0x25222a['dispField']&&_0x18ddd4&&_0x12340e){let _0x918b71=_0x12340e[_0x142480(0x18d)](_0x2588ea=>_0x2588ea[_0x142480(0x188)]==_0x18ddd4);_0x918b71&&_0x918b71[_0x142480(0x191)]>0x0&&(_0x430895=_0x918b71[0x0][_0x25222a['dispField']]);}return'eq'===_0x23092d?html`
8
+ <input name='${_0xda5827['name']}' .value=${_0x5d1093} 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='${_0xda5827[_0x142480(0x193)]}_disp'
13
+ .value=${_0x430895}
14
+ @click=${_0x47240e=>{const _0x13cf8b=_0x142480;_0x47240e[_0x13cf8b(0x19c)]();const _0x3d31f3=_0x47240e[_0x13cf8b(0x195)];openResourceCodeSelector(_0xda5827,_0x18ddd4,_0x1c2d5c=>{const _0x2973df=_0x13cf8b;let _0x14f07a=_0x1c2d5c?_0x1c2d5c[_0x25222a['codeField']]:'',_0x300ff4=_0x14f07a;_0x1c2d5c&&_0x25222a[_0x2973df(0x197)]&&(_0x300ff4=_0x1c2d5c[_0x25222a[_0x2973df(0x197)]]),_0x3d31f3[_0x2973df(0x188)]=_0x300ff4,(_0x2973df(0x18e)==_0x3872da[_0x2973df(0x19d)]['toLowerCase']()?_0x3872da['renderRoot']['querySelector']('[name=\x22'+_0xda5827[_0x2973df(0x193)]+'\x22]'):_0x3872da[_0x2973df(0x199)][_0x2973df(0x181)](_0x2973df(0x192)+_0xda5827[_0x2973df(0x193)]+'\x22]'))['value']=_0x14f07a,_0x3d31f3['dispatchEvent'](new Event(_0x2973df(0x19b),{'bubbles':!0x0})),_0x3d31f3['dispatchEvent'](new CustomEvent(_0x2973df(0x19a),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0xda5827[_0x2973df(0x193)],'operator':_0x23092d,'value':_0x14f07a}}));});}}
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 a0_0x3376(){const _0x5d0d2e=['length','tagName','target','querySelector','codeField','1444980RKfcEf','3238010fQYksS','stopPropagation','[name=\x22','value','name','9yELMzs','2130TFXlPZ','renderRoot','dispatchEvent','record','change','dispField','3492965kUmdRG','options','codes','382xyhJTU','form\x20[name=\x22','filter','17164kymMWc','filter-change','1468Jcwqkv','3491784zkOcLc','1446VfNaQv','11ROCIFT'];a0_0x3376=function(){return _0x5d0d2e;};return a0_0x3376();}(function(_0x43ef1e,_0x5661fc){const _0x2031e2=a0_0x345f,_0x14ac0b=_0x43ef1e();while(!![]){try{const _0x1622da=-parseInt(_0x2031e2(0x151))/0x1*(-parseInt(_0x2031e2(0x156))/0x2)+parseInt(_0x2031e2(0x15f))/0x3+parseInt(_0x2031e2(0x154))/0x4+parseInt(_0x2031e2(0x148))/0x5*(parseInt(_0x2031e2(0x158))/0x6)+-parseInt(_0x2031e2(0x14e))/0x7+parseInt(_0x2031e2(0x157))/0x8*(-parseInt(_0x2031e2(0x147))/0x9)+-parseInt(_0x2031e2(0x160))/0xa*(-parseInt(_0x2031e2(0x159))/0xb);if(_0x1622da===_0x5661fc)break;else _0x14ac0b['push'](_0x14ac0b['shift']());}catch(_0x12f75d){_0x14ac0b['push'](_0x14ac0b['shift']());}}}(a0_0x3376,0x3ed3a));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_0x345f(_0x19bb87,_0x328f26){const _0x3376f3=a0_0x3376();return a0_0x345f=function(_0x345f75,_0xaa00ea){_0x345f75=_0x345f75-0x147;let _0x472e22=_0x3376f3[_0x345f75];return _0x472e22;},a0_0x345f(_0x19bb87,_0x328f26);}function openResourceCodeSelector(_0x50d9d7,_0x1d1a20,_0x516135){const _0x15e839=a0_0x345f;var _0x1d17c8=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x60046f}
4
- .options=${_0x14feb3[_0x28e48d(0x208)][_0x28e48d(0x1f8)]}
5
- .confirmCallback=${_0x109a44}
3
+ .value=${_0x1d1a20}
4
+ .options=${_0x50d9d7['record'][_0x15e839(0x14f)]}
5
+ .confirmCallback=${_0x516135}
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(_0x1d17c8,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x50d9d7[_0x15e839(0x14b)][_0x15e839(0x14f)]['selectorName'])});}export const FilterGristResourceCodeSelect=(_0x1af138,_0x4c6ecd,_0x25ed59)=>{const _0x3c05df=a0_0x345f,_0xf6b41f=_0x1af138[_0x3c05df(0x153)],_0x7a32f0=_0x1af138[_0x3c05df(0x14b)][_0x3c05df(0x14f)],_0x30f6c4=_0x7a32f0['codes']&&_0x7a32f0[_0x3c05df(0x150)][_0x3c05df(0x15a)]>0x0?_0x7a32f0['codes']:void 0x0,{operator:_0x42b68a='eq'}=_0xf6b41f;let _0x35fd04=_0x4c6ecd?_0x4c6ecd[_0x7a32f0['codeField']]:'',_0x2aa178=_0x4c6ecd?_0x4c6ecd[_0x7a32f0[_0x3c05df(0x15e)]]:'';if(_0x7a32f0[_0x3c05df(0x14d)]&&_0x4c6ecd&&_0x30f6c4){let _0x37c97f=_0x30f6c4[_0x3c05df(0x153)](_0x97db53=>_0x97db53[_0x3c05df(0x163)]==_0x4c6ecd);_0x37c97f&&_0x37c97f['length']>0x0&&(_0x2aa178=_0x37c97f[0x0][_0x7a32f0['dispField']]);}return'eq'===_0x42b68a?html`
8
+ <input name='${_0x1af138[_0x3c05df(0x164)]}' .value=${_0x35fd04} 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='${_0x1af138[_0x3c05df(0x164)]}_disp'
13
+ .value=${_0x2aa178}
14
+ @click=${_0x1dc8bc=>{const _0x511a9d=_0x3c05df;_0x1dc8bc[_0x511a9d(0x161)]();const _0x3972d3=_0x1dc8bc[_0x511a9d(0x15c)];openResourceCodeSelector(_0x1af138,_0x4c6ecd,_0x3036f9=>{const _0x47939a=_0x511a9d;let _0x42a6bc=_0x3036f9?_0x3036f9[_0x7a32f0['codeField']]:'',_0x2dd29e=_0x42a6bc;_0x3036f9&&_0x7a32f0[_0x47939a(0x14d)]&&(_0x2dd29e=_0x3036f9[_0x7a32f0['dispField']]),_0x3972d3[_0x47939a(0x163)]=_0x2dd29e,('ox-grid-header'==_0x25ed59[_0x47939a(0x15b)]['toLowerCase']()?_0x25ed59[_0x47939a(0x149)][_0x47939a(0x15d)](_0x47939a(0x162)+_0xf6b41f[_0x47939a(0x164)]+'\x22]'):_0x25ed59[_0x47939a(0x149)]['querySelector'](_0x47939a(0x152)+_0xf6b41f[_0x47939a(0x164)]+'\x22]'))['value']=_0x42a6bc,_0x3972d3[_0x47939a(0x14a)](new Event(_0x47939a(0x14c),{'bubbles':!0x0})),_0x3972d3[_0x47939a(0x14a)](new CustomEvent(_0x47939a(0x155),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x1af138['name'],'operator':_0x42b68a,'value':_0x42a6bc}}));});}}
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
+ const a0_0x404b11=a0_0x145e;function a0_0x2b15(){const _0x5ac9d4=['280fFwnqg','dispField','3KXQzuU','stopPropagation','_onkeydown','length','10iNbMyx','5605039uodjgI','properties','7034MLKpmg','popup','36mJhuKi','large','filter','row','value','field-change','364013teIWRY','options','firstUpdated','7816dnqqbu','6859265WbLaPg','openSelector','Enter','record','codeField','2740236XkwNnK','column','564EzWYuq','codes','key','bind','1001020GpgkIy','5589msWfKZ','tMenu','editorTemplate'];a0_0x2b15=function(){return _0x5ac9d4;};return a0_0x2b15();}function a0_0x145e(_0x40f87c,_0x2ce658){const _0x2b1528=a0_0x2b15();return a0_0x145e=function(_0x145e59,_0x198c4b){_0x145e59=_0x145e59-0x120;let _0x1aabb4=_0x2b1528[_0x145e59];return _0x1aabb4;},a0_0x145e(_0x40f87c,_0x2ce658);}(function(_0x5901f7,_0x3d0291){const _0x17ecc4=a0_0x145e,_0x49663a=_0x5901f7();while(!![]){try{const _0xc8a3bb=-parseInt(_0x17ecc4(0x140))/0x1*(parseInt(_0x17ecc4(0x137))/0x2)+-parseInt(_0x17ecc4(0x139))/0x3*(parseInt(_0x17ecc4(0x12d))/0x4)+-parseInt(_0x17ecc4(0x133))/0x5*(-parseInt(_0x17ecc4(0x142))/0x6)+parseInt(_0x17ecc4(0x128))/0x7+parseInt(_0x17ecc4(0x127))/0x8*(-parseInt(_0x17ecc4(0x134))/0x9)+-parseInt(_0x17ecc4(0x13d))/0xa*(parseInt(_0x17ecc4(0x13e))/0xb)+parseInt(_0x17ecc4(0x12f))/0xc*(parseInt(_0x17ecc4(0x124))/0xd);if(_0xc8a3bb===_0x3d0291)break;else _0x49663a['push'](_0x49663a['shift']());}catch(_0x339679){_0x49663a['push'](_0x49663a['shift']());}}}(a0_0x2b15,0xad9a9));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';export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get[a0_0x404b11(0x13f)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x404b11(0x136)](){const _0x45e22e=a0_0x404b11;let _0x52236b,_0x51e15d=this[_0x45e22e(0x12e)]['record'][_0x45e22e(0x125)][_0x45e22e(0x130)]||[];if(!this[_0x45e22e(0x12e)][_0x45e22e(0x12b)][_0x45e22e(0x125)]['dispField'])return html`
2
+ ${this[_0x45e22e(0x122)]?html` <span tabindex="0" style="flex:1">${this[_0x45e22e(0x122)]}</span> `:html`<span tabindex="0"></span>`}
3
+ `;if(this['value']&&this[_0x45e22e(0x122)]['length']>0x0){let _0x3015f2=_0x51e15d[_0x45e22e(0x120)](_0xbd4e29=>_0xbd4e29[_0x45e22e(0x122)]===this[_0x45e22e(0x122)]);_0x52236b=_0x3015f2&&_0x3015f2[_0x45e22e(0x13c)]>0x0?_0x3015f2[0x0]['display']:'';}return html`
4
+ ${_0x52236b?html` <span tabindex="0" style="flex:1">${_0x52236b}</span> `:html`<span tabindex="0"></span>`}
5
+ `;}async[a0_0x404b11(0x126)](){const _0x1c46d7=a0_0x404b11;super[_0x1c46d7(0x126)]();}['_onclick'](_0x1c4066){const _0x26613e=a0_0x404b11;_0x1c4066[_0x26613e(0x13a)](),this[_0x26613e(0x129)]();}[a0_0x404b11(0x13b)](_0x279745){const _0x522b57=a0_0x404b11;_0x522b57(0x12a)==_0x279745[_0x522b57(0x131)]&&(_0x279745[_0x522b57(0x13a)](),this[_0x522b57(0x129)]());}[a0_0x404b11(0x129)](){const _0xbc6d80=a0_0x404b11;this[_0xbc6d80(0x141)]&&delete this[_0xbc6d80(0x141)];var {selectorName:_0x5d18a2=''}=this[_0xbc6d80(0x12e)][_0xbc6d80(0x12b)]['options']||{},_0x45cde5=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[_0xbc6d80(0x122)]}
8
+ .options=${this[_0xbc6d80(0x12e)][_0xbc6d80(0x12b)][_0xbc6d80(0x125)]}
9
+ .confirmCallback=${(_0x3a0e08=>{const _0xf06984=_0xbc6d80;let _0x4fdd0c=this[_0xf06984(0x12e)]['record'][_0xf06984(0x125)][_0xf06984(0x12c)],_0x1cda69=this[_0xf06984(0x12e)]['record'][_0xf06984(0x125)][_0xf06984(0x138)];this[_0xf06984(0x12e)]['record']['options'][_0xf06984(0x130)]||(this['column']['record']['options'][_0xf06984(0x130)]=[]);let _0x5c09d2=this[_0xf06984(0x12e)][_0xf06984(0x12b)][_0xf06984(0x125)][_0xf06984(0x130)][_0xf06984(0x120)](_0x5f0383=>_0x5f0383['value']==_0x3a0e08[_0x4fdd0c]);_0x5c09d2&&0x0!=_0x5c09d2[_0xf06984(0x13c)]||this[_0xf06984(0x12e)][_0xf06984(0x12b)][_0xf06984(0x125)][_0xf06984(0x130)]['push']({'value':_0x3a0e08[_0x4fdd0c],'display':_0x3a0e08[_0x1cda69]}),this['dispatchEvent'](new CustomEvent(_0xf06984(0x123),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this[_0xf06984(0x122)],'after':_0x3a0e08?_0x3a0e08[_0x4fdd0c]:null,'record':this[_0xf06984(0x12b)],'column':this[_0xf06984(0x12e)],'row':this[_0xf06984(0x121)]}}));})[_0xbc6d80(0x132)](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['popup']=openPopup(_0x45cde5,{'backdrop':!0x0,'size':_0xbc6d80(0x143),'title':TermsUtil[_0xbc6d80(0x135)](_0x5d18a2)});}}customElements['define']('ox-grist-editor-resource-code-selector',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(_0x5f2766,_0x252b38){const _0x5bc5d2=a0_0x4c47,_0x550021=_0x5f2766();while(!![]){try{const _0x2e5712=parseInt(_0x5bc5d2(0x1e9))/0x1*(-parseInt(_0x5bc5d2(0x1d7))/0x2)+-parseInt(_0x5bc5d2(0x1da))/0x3+-parseInt(_0x5bc5d2(0x1d9))/0x4+-parseInt(_0x5bc5d2(0x1e4))/0x5*(-parseInt(_0x5bc5d2(0x1dc))/0x6)+-parseInt(_0x5bc5d2(0x1e5))/0x7+-parseInt(_0x5bc5d2(0x1e6))/0x8+parseInt(_0x5bc5d2(0x1de))/0x9;if(_0x2e5712===_0x252b38)break;else _0x550021['push'](_0x550021['shift']());}catch(_0x4fe2ff){_0x550021['push'](_0x550021['shift']());}}}(a0_0x2379,0xbcbce));function a0_0x2379(){const _0x2b02c2=['5220460lwjvLz','6340688yGaZQa','target','data-tooltip','31118DXSmBt','value','84aFAczv','record','143396eseOuL','1556619GzSkup','codes','3960xEgOeh','removeAttribute','24454386TUzgQM','display','dispField','setAttribute','options','length','11030uVVhCe'];a0_0x2379=function(){return _0x2b02c2;};return a0_0x2379();}function a0_0x4c47(_0xbab5d6,_0x540702){const _0x237923=a0_0x2379();return a0_0x4c47=function(_0x4c47ce,_0x595776){_0x4c47ce=_0x4c47ce-0x1d7;let _0x2c147f=_0x237923[_0x4c47ce];return _0x2c147f;},a0_0x4c47(_0xbab5d6,_0x540702);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function onmouseover(_0xe85e01){const _0xea1d67=a0_0x4c47,_0x146521=_0xe85e01[_0xea1d67(0x1e7)];detectOverflow(_0x146521)&&_0x146521[_0xea1d67(0x1e1)](_0xea1d67(0x1e8),_0x146521['textContent']);}function onmouseout(_0x545f2a){const _0x23c491=a0_0x4c47;_0x545f2a['target'][_0x23c491(0x1dd)]('data-tooltip');}export const OxGristRendererResourceCodeSelector=(_0x48abba,_0x5e9302,_0x907820,_0x51c521,_0x26a9d2)=>{const _0x4c8da6=a0_0x4c47;if(!_0x5e9302['record'][_0x4c8da6(0x1e2)][_0x4c8da6(0x1e0)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x48abba}</span>`;_0x5e9302[_0x4c8da6(0x1d8)]['options']['codes']||(_0x5e9302[_0x4c8da6(0x1d8)][_0x4c8da6(0x1e2)][_0x4c8da6(0x1db)]=[]);let _0x2778d1='';if(_0x48abba&&_0x48abba[_0x4c8da6(0x1e3)]>0x0){let _0xf0d299=_0x5e9302[_0x4c8da6(0x1d8)]['options'][_0x4c8da6(0x1db)]['filter'](_0x5609dc=>_0x5609dc[_0x4c8da6(0x1ea)]===_0x48abba);_0x2778d1=_0xf0d299&&_0xf0d299['length']>0x0?_0xf0d299[0x0][_0x4c8da6(0x1df)]:_0x48abba;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x2778d1}</span>`;};
@@ -0,0 +1,40 @@
1
+ const a0_0x57d356=a0_0x291e;(function(_0x31cbbf,_0x3c553a){const _0x4a420f=a0_0x291e,_0x2ef191=_0x31cbbf();while(!![]){try{const _0x284c61=-parseInt(_0x4a420f(0xad))/0x1*(parseInt(_0x4a420f(0xb8))/0x2)+-parseInt(_0x4a420f(0x7f))/0x3*(-parseInt(_0x4a420f(0x8a))/0x4)+-parseInt(_0x4a420f(0xbd))/0x5*(-parseInt(_0x4a420f(0x9f))/0x6)+-parseInt(_0x4a420f(0xb0))/0x7*(parseInt(_0x4a420f(0x92))/0x8)+-parseInt(_0x4a420f(0x74))/0x9*(-parseInt(_0x4a420f(0x78))/0xa)+-parseInt(_0x4a420f(0xa4))/0xb+-parseInt(_0x4a420f(0xaa))/0xc*(parseInt(_0x4a420f(0x97))/0xd);if(_0x284c61===_0x3c553a)break;else _0x2ef191['push'](_0x2ef191['shift']());}catch(_0x21c0f7){_0x2ef191['push'](_0x2ef191['shift']());}}}(a0_0x4525,0x2445a));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';function a0_0x291e(_0x5c93c9,_0xcdf7db){const _0x4525ac=a0_0x4525();return a0_0x291e=function(_0x291ec6,_0x75251e){_0x291ec6=_0x291ec6-0x72;let _0x17b101=_0x4525ac[_0x291ec6];return _0x17b101;},a0_0x291e(_0x5c93c9,_0xcdf7db);}import{MetaApi}from'../../utils/meta-api';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class OxResourceCodeSelectorPopup extends LitElement{static ['styles']=[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['connectedCallback'](){const _0x42a681=a0_0x291e;this[_0x42a681(0x87)]=this['options'][_0x42a681(0x9d)]||[];let _0x399b23=[...MetaApi[_0x42a681(0x7a)](!0x0,!0x1)],_0x136fb7=(this[_0x42a681(0x86)][_0x42a681(0x94)]&&this[_0x42a681(0x86)][_0x42a681(0x94)][_0x42a681(0x88)]>0x0?this['options'][_0x42a681(0x94)]:[this[_0x42a681(0x86)][_0x42a681(0xb7)]])[_0x42a681(0xbc)](_0x4e9b20=>{const _0x3d3ce4=_0x42a681;let {name:_0x32040d,operator:_0x1da66a='eq'}=_0x3d3ce4(0x75)==typeof _0x4e9b20?_0x4e9b20:{'name':_0x4e9b20};return{'name':_0x32040d,'operator':_0x1da66a};});if(this[_0x42a681(0x86)][_0x42a681(0x84)]&&this['options']['select'][_0x42a681(0x88)]>0x0)for(let _0xf7cada=0x0;_0xf7cada<this[_0x42a681(0x86)][_0x42a681(0x84)][_0x42a681(0x88)];_0xf7cada++){let {type:_0x14402d=_0x42a681(0x85),name:_0x3c3a9e,hidden:_0x201b83=!0x1,record:_0x5ccf91={'align':_0x42a681(0x8f)},header:_0x153855,sortable:_0x1e213a=!0x1,width:_0x2d0734=0x87,options:_0x5b3d10}=this[_0x42a681(0x86)][_0x42a681(0x84)][_0xf7cada];if(0x1==_0x201b83)_0x399b23[_0x42a681(0x82)]({'type':_0x42a681(0x85),'name':_0x3c3a9e,'hidden':!0x0});else{let _0x1386c2=MetaApi[_0x42a681(0xbe)](_0x14402d,_0x3c3a9e,_0x153855||_0x3c3a9e,_0x5ccf91['align']?_0x5ccf91[_0x42a681(0xac)]:_0x42a681(0x8f),!0x1,_0x1e213a,_0x2d0734);'select'===_0x14402d?Array[_0x42a681(0xae)](_0x5b3d10)?_0x1386c2[_0x42a681(0x91)][_0x42a681(0x86)]=_0x5b3d10:_0x42a681(0x72)===_0x5b3d10[_0x42a681(0xc1)]?_0x1386c2[_0x42a681(0x91)][_0x42a681(0x86)]=await ServiceUtil[_0x42a681(0xa2)](_0x5b3d10[_0x42a681(0xa7)]?_0x5b3d10[_0x42a681(0xa7)]:_0x5b3d10[_0x42a681(0x79)]):_0x42a681(0x8b)===_0x5b3d10[_0x42a681(0xc1)]?_0x1386c2[_0x42a681(0x91)][_0x42a681(0x86)]=await ServiceUtil[_0x42a681(0x7b)](_0x5b3d10['name'],_0x5b3d10[_0x42a681(0xa0)]):_0x42a681(0x77)===_0x5b3d10[_0x42a681(0xc1)]&&(_0x1386c2['record'][_0x42a681(0x86)]=await ServiceUtil[_0x42a681(0xb1)](_0x5b3d10[_0x42a681(0xa0)])):_0x42a681(0x75)===_0x14402d||_0x42a681(0x8c)===_0x14402d?(_0x5b3d10[_0x42a681(0x84)]&&_0x5b3d10[_0x42a681(0x84)][_0x42a681(0x81)](_0x49e024=>{const _0x4c3bf0=_0x42a681;_0x49e024[_0x4c3bf0(0x8e)]||(_0x49e024[_0x4c3bf0(0x8e)]=_0x49e024[_0x4c3bf0(0x79)]),_0x49e024[_0x4c3bf0(0x8e)]=TermsUtil['tLabel'](_0x49e024[_0x4c3bf0(0x8e)]);}),_0x1386c2[_0x42a681(0x91)]['options']=_0x5b3d10):_0x42a681(0x8d)==_0x14402d&&(_0x1386c2[_0x42a681(0x91)][_0x42a681(0x86)]=object_opt,_0x1386c2['record']['options'][_0x42a681(0x9e)]=await ServiceUtil[_0x42a681(0xb1)](object_opt)),_0x399b23['push'](_0x1386c2);}}else _0x399b23[_0x42a681(0x82)](MetaApi[_0x42a681(0xbe)](_0x42a681(0x85),this[_0x42a681(0x86)][_0x42a681(0xb7)],this[_0x42a681(0x86)][_0x42a681(0xb7)],_0x42a681(0x8f),!0x1,!0x0,0xb4)),this[_0x42a681(0x86)][_0x42a681(0xb9)]&&_0x399b23[_0x42a681(0x82)](MetaApi[_0x42a681(0xbe)](_0x42a681(0x85),this[_0x42a681(0x86)]['dispField'],this['options']['dispField'],_0x42a681(0x8f),!0x1,!0x0,0x12c));_0x399b23[_0x42a681(0x81)](_0x652026=>{const _0x1a5f07=_0x42a681;let _0x16c66e=_0x136fb7[_0x1a5f07(0x73)](_0x2c950a=>_0x652026[_0x1a5f07(0x79)]==_0x2c950a[_0x1a5f07(0x79)]);_0x16c66e&&_0x16c66e[_0x1a5f07(0x88)]>0x0&&(_0x652026[_0x1a5f07(0x73)]=_0x16c66e);});let _0x28b636={'rows':MetaApi[_0x42a681(0xbf)](!0x1),'pagination':MetaApi[_0x42a681(0xbb)](),'appendable':!0x1,'columns':_0x399b23,'sorters':[...this[_0x42a681(0x86)][_0x42a681(0x83)]||[]]};_0x28b636['rows'][_0x42a681(0x76)]={'click':_0x42a681(0xa9),'dblclick':(_0x1faefa,_0x334c70,_0x3882b8,_0x1b0779,_0x12e78e,_0x4e73c8)=>{const _0x36fdec=_0x42a681;this[_0x36fdec(0x95)](_0x1b0779);}},this[_0x42a681(0xb5)]=_0x28b636,await super[_0x42a681(0xa5)]();}async[a0_0x57d356(0x80)](){const _0x3106d1=a0_0x57d356;await super[_0x3106d1(0x80)]();}[a0_0x57d356(0xc0)](){const _0x28bfba=a0_0x57d356;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x28bfba(0xb5)]} .mode=${isMobileDevice()?_0x28bfba(0x7c):_0x28bfba(0x99)} auto-fetch
22
+ .fetchHandler=${this[_0x28bfba(0xb3)][_0x28bfba(0x93)](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[_0x28bfba(0xb4)](_0x28bfba(0x9c))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x28bfba(0xb6)][_0x28bfba(0x93)](this)}>
32
+ </mwc-button>
33
+ <mwc-button raised label="${TermsUtil[_0x28bfba(0xb4)](_0x28bfba(0xaf))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x28bfba(0x98)][_0x28bfba(0x93)](this)}>
35
+ </mwc-button>
36
+ <mwc-button raised label="${TermsUtil[_0x28bfba(0xb4)](_0x28bfba(0x84))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x28bfba(0x9a)][_0x28bfba(0x93)](this)}>
38
+ </mwc-button>
39
+ </div>
40
+ `;}get[a0_0x57d356(0xab)](){const _0x99aaef=a0_0x57d356;return this[_0x99aaef(0x90)][_0x99aaef(0xa8)]('#ox-grist');}async[a0_0x57d356(0xb3)]({page:_0x36a5aa=0x0,limit:_0x1c9c50=0x0,sorters:_0x496a50=[],filters:_0x5be8cf=[]}){const _0x198148=a0_0x57d356;let _0x5e4604=[...this[_0x198148(0x87)]];_0x5be8cf['forEach'](_0x32c17d=>{const _0x51ebbe=_0x198148;let _0x2c6173=_0x5e4604['filter'](_0x41ee9e=>_0x32c17d[_0x51ebbe(0x79)]==_0x41ee9e[_0x51ebbe(0x79)]);_0x2c6173&&_0x2c6173[_0x51ebbe(0x88)]>0x0&&delete _0x5e4604[_0x32c17d[_0x51ebbe(0x79)]],_0x5e4604[_0x51ebbe(0x82)](_0x32c17d);});let _0x46d99e=MetaApi[_0x198148(0x9b)](this['gridConfig'][_0x198148(0x7e)]);return await MetaApi[_0x198148(0xa3)](this[_0x198148(0x86)][_0x198148(0xa1)],_0x5e4604,_0x496a50,_0x36a5aa,_0x1c9c50,_0x46d99e);}async[a0_0x57d356(0xb6)](_0x1d70dd){const _0x19f71a=a0_0x57d356;this[_0x19f71a(0x96)]&&this['confirmCallback'](null),closePopup(this);}async[a0_0x57d356(0x98)](_0x4d1f99){closePopup(this);}async[a0_0x57d356(0x9a)](_0x8a2796){const _0x3f3673=a0_0x57d356;let _0x2f8437=this['grist']['selected'];_0x2f8437&&0x0!=_0x2f8437[_0x3f3673(0x88)]?this[_0x3f3673(0x95)](_0x2f8437[0x0]):MetaApi[_0x3f3673(0xba)](_0x3f3673(0x7d),TermsUtil[_0x3f3673(0x89)]('NOTHING_SELECTED'));}async[a0_0x57d356(0x95)](_0x1f0fa5){const _0x4c327f=a0_0x57d356;this[_0x4c327f(0x96)]&&this[_0x4c327f(0x96)](_0x1f0fa5),closePopup(this);}}function a0_0x4525(){const _0x545474=['showToast','getGristPagination100Config','map','5gruuHN','getGristColumnConfig2','getGristSelectableConfig','render','type','code','filter','1268361LMVXts','object','handlers','entity','10lroSZB','name','getGristGuttersConfig','getCodeByScenario','LIST','info','columns','780411RDLGXL','firstUpdated','forEach','push','sorters','select','string','options','search_hidden_fields','length','tText','4xLHPNZ','scenario','resource-object','resource-code-selector','header','left','shadowRoot','record','778432ZiRlDr','bind','filterFields','selectRecord','confirmCallback','117siedoF','clickCancel','GRID','clickSelect','getSelectColumns','empty','filters','codes','541446WojAaO','args','queryName','getCodeSelectorData','searchByPagination','382041tjciEk','connectedCallback','ox-resource-code-selector-popup','values','querySelector','select-row-toggle','48876ekBuRg','grist','align','577JZsARz','isArray','cancel','14cTRSKa','getCodeByEntity','define','fetchHandler','tButton','gridConfig','clickEmpty','codeField','266VPbleO','dispField'];a0_0x4525=function(){return _0x545474;};return a0_0x4525();}customElements[a0_0x57d356(0xb2)](a0_0x57d356(0xa6),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_0x139296=a0_0x4422;(function(_0x20bafd,_0x39873c){const _0x5360b0=a0_0x4422,_0x160c25=_0x20bafd();while(!![]){try{const _0x4513a5=-parseInt(_0x5360b0(0xce))/0x1+parseInt(_0x5360b0(0xb8))/0x2*(parseInt(_0x5360b0(0xbb))/0x3)+-parseInt(_0x5360b0(0xcc))/0x4*(parseInt(_0x5360b0(0xcf))/0x5)+parseInt(_0x5360b0(0xb5))/0x6*(-parseInt(_0x5360b0(0xca))/0x7)+parseInt(_0x5360b0(0xbe))/0x8+parseInt(_0x5360b0(0xb4))/0x9*(parseInt(_0x5360b0(0xbd))/0xa)+-parseInt(_0x5360b0(0xc0))/0xb*(parseInt(_0x5360b0(0xd1))/0xc);if(_0x4513a5===_0x39873c)break;else _0x160c25['push'](_0x160c25['shift']());}catch(_0x494772){_0x160c25['push'](_0x160c25['shift']());}}}(a0_0x5b8c,0xdfd69));import{MetaApi}from'./../utils/meta-api';function a0_0x4422(_0x4af55c,_0x4b9b89){const _0x5b8cc1=a0_0x5b8c();return a0_0x4422=function(_0x4422d1,_0x477af7){_0x4422d1=_0x4422d1-0xb1;let _0x108784=_0x5b8cc1[_0x4422d1];return _0x108784;},a0_0x4422(_0x4af55c,_0x4b9b89);}function a0_0x5b8c(){const _0x1960a7=['filterForm','params','2052717iglase','getParams','20assECF','14582256cAYJMv','parseBasicButtonConfigs','814jYJeJk','executeCallScenarioButtonClick','setParentId','split','fetchHandler','title_detail','is_popup','parseBasicGridConfigs','getMenuMeta','isNotEmpty','9562gXrPbj','parseBasicFormConfigs','60nvuRHc','parent_id','269763vHexZN','243145wkrmmU','callScenario','183636NrXwqI','getAndParseMenuMeta','active','parseBasicServiceConfigs','openDynamicPopup','isElement','fetch','after','menuInfo','name','excuteOpenPopupButtonClick','etcConfig','parseBasicTabConfigs','isEmpty','tTitle','etc','is_detail','7667577ngzihW','5106QwAkeT','properties','grist','2nwVATP'];a0_0x5b8c=function(){return _0x1960a7;};return a0_0x5b8c();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x3932c4=>class extends _0x3932c4{static get[a0_0x139296(0xb6)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x17e2de=>Boolean(_0x17e2de)},'is_popup':{'type':Boolean,'converter':_0x153afd=>Boolean(_0x153afd)},'is_activity':{'type':Boolean,'converter':_0x5c681b=>Boolean(_0x5c681b)},'is_readonly':{'type':Boolean,'converter':_0xdc2c7c=>Boolean(_0xdc2c7c)}};}get[a0_0x139296(0xd6)](){const _0x5c26b5=a0_0x139296;return!0x0===this[_0x5c26b5(0xb3)]||!0x0===this['is_popup'];}get['isDetail'](){const _0x17b164=a0_0x139296;return!ValueUtil[_0x17b164(0xde)](this[_0x17b164(0xb3)])&&this[_0x17b164(0xb3)];}async['pageUpdated'](_0xe24edf,_0x518983,_0x426c71){const _0x560801=a0_0x139296;let _0x2a2b0e=this['lifecycle']?.[_0x560801(0xba)]?this['lifecycle'][_0x560801(0xba)]:{};this['isPage']&&this[_0x560801(0xd3)]&&0x0==_0x426c71[_0x560801(0xd3)]&&ValueUtil[_0x560801(0xc9)](_0x2a2b0e)&&this[_0x560801(0xd7)]();}get['isPopup'](){const _0x12ebc8=a0_0x139296;return!ValueUtil[_0x12ebc8(0xde)](this['is_popup'])&&this[_0x12ebc8(0xc6)];}get['isPage'](){const _0x4e2ed5=a0_0x139296;return!this[_0x4e2ed5(0xb3)]&&!this['is_popup'];}async[a0_0x139296(0xd2)](){const _0x51e875=a0_0x139296;let _0x32ff32=await MetaApi[_0x51e875(0xc8)](this);_0x32ff32&&(this[_0x51e875(0xd9)]=_0x32ff32['menu'],this[_0x51e875(0xdc)]=_0x32ff32[_0x51e875(0xb2)],this['parseBasicGridConfigs']&&this[_0x51e875(0xc7)](_0x32ff32),this[_0x51e875(0xd4)]&&this[_0x51e875(0xd4)](_0x32ff32),this[_0x51e875(0xcb)]&&this[_0x51e875(0xcb)](_0x32ff32),this[_0x51e875(0xdd)]&&this[_0x51e875(0xdd)](_0x32ff32),this['parseBasicButtonConfigs']&&this[_0x51e875(0xbf)](_0x32ff32));}async[a0_0x139296(0xd7)](){const _0x498559=a0_0x139296;ValueUtil['isNotEmpty'](this[_0x498559(0xb7)])?this['grist'][_0x498559(0xd7)]():(ValueUtil[_0x498559(0xc9)](this[_0x498559(0xb9)])||this[_0x498559(0xc4)])&&await this[_0x498559(0xc4)]();}async[a0_0x139296(0xdb)](_0x525f43,_0x51d39f,_0x56be82){const _0x17d0d9=a0_0x139296;let _0x220d0a=TermsUtil[_0x17d0d9(0xb1)](_0x525f43['title']);ValueUtil[_0x17d0d9(0xc9)](_0x525f43['title_detail'])&&(_0x220d0a=_0x220d0a+'-'+ValueUtil[_0x17d0d9(0xbc)](_0x51d39f,..._0x525f43[_0x17d0d9(0xc5)][_0x17d0d9(0xc3)]('.'))),MetaApi[_0x17d0d9(0xd5)](_0x220d0a,_0x525f43,_0x51d39f,_0x56be82);}async[a0_0x139296(0xc1)](_0x409d19,_0x1d8a6a,_0x48db6a){const _0x2bc506=a0_0x139296;let _0xe11b11=await MetaApi[_0x2bc506(0xd0)](_0x409d19[_0x2bc506(0xda)],_0x409d19[_0x2bc506(0xda)],_0x1d8a6a);!0x1!==_0xe11b11&&!_0xe11b11['errors']&&ValueUtil['isNotEmpty'](_0x409d19[_0x2bc506(0xd8)])&&_0x48db6a();}[a0_0x139296(0xc2)](_0x130dd9){const _0xa4f67e=a0_0x139296;this[_0xa4f67e(0xcd)]=_0x130dd9,this['fetch']();}};
@@ -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_0x519312=a0_0x5098;(function(_0x3c18f1,_0x422a4e){const _0x5c77c9=a0_0x5098,_0x12059c=_0x3c18f1();while(!![]){try{const _0x4eb8eb=-parseInt(_0x5c77c9(0x1d5))/0x1+-parseInt(_0x5c77c9(0x1a7))/0x2*(parseInt(_0x5c77c9(0x1ba))/0x3)+parseInt(_0x5c77c9(0x1c1))/0x4*(parseInt(_0x5c77c9(0x1bb))/0x5)+parseInt(_0x5c77c9(0x1b0))/0x6*(parseInt(_0x5c77c9(0x1da))/0x7)+-parseInt(_0x5c77c9(0x1b8))/0x8+-parseInt(_0x5c77c9(0x1c9))/0x9+parseInt(_0x5c77c9(0x1a4))/0xa*(parseInt(_0x5c77c9(0x1aa))/0xb);if(_0x4eb8eb===_0x422a4e)break;else _0x12059c['push'](_0x12059c['shift']());}catch(_0x3062ef){_0x12059c['push'](_0x12059c['shift']());}}}(a0_0x9f01,0x3e203));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x9f01(){const _0x1e25bc=['menuInfo','save','updateMultiple','967636lfFAae','findOne','gristId','grid','getAndParseMenuMeta','shadowRoot','stringify','keys','268866txFqWd','isPage','pageInitialized','getData','ox-filters-form','forEach','getSelectedIdList','patchesForUpdateMultiple','render','search','filterForm','firstUpdated','336720phyaoV','fetch','filterFormId','ox-grist','styles','139223TzusRe','tTitle','parseBasicGridConfigs','parseGristConfigs','727270YBmBBP','startsWith','grid_column','6iXbBFP','isNotEmpty','connectedCallback','88hhfJJw','grist','getParams','getButtonContainer','isElement','import','90pGrQeY','gridColumnConfig','deleteByIds','title','export','activityDataSet','properties','exportableData','3998784EegGMl','parse','243060zaLaMX','10sqBetl','getBasicGristHtml','querySelector'];a0_0x9f01=function(){return _0x1e25bc;};return a0_0x9f01();}import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x5098(_0x51b928,_0x6187ce){const _0x9f017e=a0_0x9f01();return a0_0x5098=function(_0x5098a4,_0x4e3953){_0x5098a4=_0x5098a4-0x1a2;let _0x410dfd=_0x9f017e[_0x5098a4];return _0x410dfd;},a0_0x5098(_0x51b928,_0x6187ce);}export const MetaBasicGristMixin=_0x2945ce=>class extends MetaButtonMixin(_0x2945ce){static get[a0_0x519312(0x1d9)](){return MetaApi['getBasicGristStyles']();}static get[a0_0x519312(0x1b6)](){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_0x519312(0x1ab)](){const _0x11e210=a0_0x519312;return this['renderRoot']?.[_0x11e210(0x1bd)](this['gristId']);}get[a0_0x519312(0x1d3)](){const _0x36c05d=a0_0x519312;return this[_0x36c05d(0x1c6)]?.[_0x36c05d(0x1bd)](this[_0x36c05d(0x1d7)]);}get['context'](){return MetaUiUtil['getContextObject'](this);}async[a0_0x519312(0x1a9)](){const _0xad74=a0_0x519312;this[_0xad74(0x1c3)]=_0xad74(0x1d8),this[_0xad74(0x1d7)]=_0xad74(0x1cd),await this[_0xad74(0x1c5)](),this[_0xad74(0x1ae)]&&await this['parseGristConfigs'](),this[_0xad74(0x1b5)]&&(this['dataSet']=this[_0xad74(0x1b5)]),super[_0xad74(0x1a9)]&&await super['connectedCallback']();}async[a0_0x519312(0x1d4)](){const _0x5cd638=a0_0x519312;super[_0x5cd638(0x1d4)]&&await super['firstUpdated']();}async[a0_0x519312(0x1cb)](){const _0x4e06a8=a0_0x519312;this[_0x4e06a8(0x1ca)]&&await this[_0x4e06a8(0x1a3)](),super['pageInitialized']&&await super[_0x4e06a8(0x1cb)]();}[a0_0x519312(0x1d1)](){const _0x368c88=a0_0x519312;return html`
2
+ ${MetaApi[_0x368c88(0x1bc)](this)}
3
+ ${this[_0x368c88(0x1ca)]?html``:MetaUiUtil[_0x368c88(0x1ad)](this)}
4
+ `;}[a0_0x519312(0x1a2)](_0x25211c){const _0x4a744a=a0_0x519312;this['gridConfig']=_0x25211c[_0x4a744a(0x1c4)],this[_0x4a744a(0x1b1)]=_0x25211c[_0x4a744a(0x1a6)],this['searchConfig']=_0x25211c[_0x4a744a(0x1d2)];}async[a0_0x519312(0x1a3)](){this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this);}async[a0_0x519312(0x1d6)](){const _0x45798c=a0_0x519312;await this[_0x45798c(0x1ab)]['fetch']();}async[a0_0x519312(0x1bf)](){const _0x4fa137=a0_0x519312;let _0x4c09db=MetaApi[_0x4fa137(0x1d0)](this[_0x4fa137(0x1ab)]);!!ValueUtil[_0x4fa137(0x1a8)](_0x4c09db)&&await this[_0x4fa137(0x1c0)](_0x4c09db)&&this[_0x4fa137(0x1d6)]();}async['find'](){const _0x5962fe=a0_0x519312;let _0x52c831=MetaApi[_0x5962fe(0x1cf)](this[_0x5962fe(0x1ab)],!0x0);return ValueUtil['isNotEmpty'](_0x52c831)?await this[_0x5962fe(0x1c2)](_0x52c831[0x0]):{};}async['delete'](){const _0x48c924=a0_0x519312;let _0x3c91db=MetaApi['getSelectedIdList'](this[_0x48c924(0x1ab)],!0x0);!!ValueUtil[_0x48c924(0x1a8)](_0x3c91db)&&await this[_0x48c924(0x1b2)](_0x3c91db)&&this['fetch']();}async[a0_0x519312(0x1b4)](){const _0x25f9f8=a0_0x519312;let _0x158ffd=TermsUtil[_0x25f9f8(0x1db)](ValueUtil[_0x25f9f8(0x1ac)](this[_0x25f9f8(0x1be)],_0x25f9f8(0x1b3)));return await MetaApi[_0x25f9f8(0x1b7)](this['isElement'],_0x158ffd,this[_0x25f9f8(0x1ab)]);}async[a0_0x519312(0x1af)](){}async['clear'](){const _0x582c92=a0_0x519312;this[_0x582c92(0x1ab)]&&(this[_0x582c92(0x1ab)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x519312(0x1cc)](){const _0x1a76ab=a0_0x519312;let _0x846bce=this['grist']['___data']['records'];return _0x846bce=JSON[_0x1a76ab(0x1b9)](JSON[_0x1a76ab(0x1c7)](_0x846bce)),_0x846bce[_0x1a76ab(0x1ce)](_0x4af64c=>{const _0x2e948d=_0x1a76ab;Object[_0x2e948d(0x1c8)](_0x4af64c)[_0x2e948d(0x1ce)](_0x5f5a06=>{const _0x4fb93e=_0x2e948d;_0x5f5a06[_0x4fb93e(0x1a5)]('__')&&delete _0x4af64c[_0x5f5a06];});}),_0x846bce;}};
@@ -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_0x4e2b(_0x23253f,_0x3e33ea){const _0xa83d5a=a0_0xa83d();return a0_0x4e2b=function(_0x4e2bcf,_0x4c4617){_0x4e2bcf=_0x4e2bcf-0x161;let _0x174a91=_0xa83d5a[_0x4e2bcf];return _0x174a91;},a0_0x4e2b(_0x23253f,_0x3e33ea);}const a0_0x2e69aa=a0_0x4e2b;(function(_0x27cedf,_0xa3e4a0){const _0x2b8c4f=a0_0x4e2b,_0x3bae85=_0x27cedf();while(!![]){try{const _0x441ef3=-parseInt(_0x2b8c4f(0x16b))/0x1+parseInt(_0x2b8c4f(0x16d))/0x2+-parseInt(_0x2b8c4f(0x172))/0x3*(-parseInt(_0x2b8c4f(0x175))/0x4)+parseInt(_0x2b8c4f(0x167))/0x5*(parseInt(_0x2b8c4f(0x163))/0x6)+parseInt(_0x2b8c4f(0x17b))/0x7+parseInt(_0x2b8c4f(0x171))/0x8+-parseInt(_0x2b8c4f(0x177))/0x9*(parseInt(_0x2b8c4f(0x161))/0xa);if(_0x441ef3===_0xa3e4a0)break;else _0x3bae85['push'](_0x3bae85['shift']());}catch(_0x2e2c3e){_0x3bae85['push'](_0x3bae85['shift']());}}}(a0_0xa83d,0xf3450));function a0_0xa83d(){const _0x335f28=['getButtonActionHandler','553615okMKUE','useButtonExport','3117196viqpYY','customButtonHandler','isButtonExist','useButtonImport','7821528mzLLYM','428418ZmZUlF','add','button','48WHlHQh','properties','46513260yFPSIZ','parseBasicButtonConfigs','buttonConfig','getButtonContainer','11548054MWUMCH','import','10UMblLH','getCustomButtonContainerStyles','6078WbNRWn','useButtonAdd','isPage','getCustomButtonContainerStyle','4040hUgnqP','gristButtonHandler','getContextButtons'];a0_0xa83d=function(){return _0x335f28;};return a0_0xa83d();}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x599a5c=>class extends MetaServiceMixin(_0x599a5c){static get[a0_0x2e69aa(0x176)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x2e69aa(0x166)](){const _0x4a1c5e=a0_0x2e69aa;return MetaUiUtil[_0x4a1c5e(0x162)]();}['getContextButtons'](){const _0x5b76d3=a0_0x2e69aa;return MetaUiUtil[_0x5b76d3(0x169)](this);}[a0_0x2e69aa(0x17a)](){const _0x4fee59=a0_0x2e69aa;return this[_0x4fee59(0x165)]?html``:MetaUiUtil['getButtonContainer'](this);}async['getBasicButtonHandler'](_0x1d346f,_0x53a442,_0x3b6fe1){const _0x5754f5=a0_0x2e69aa;return await MetaUiUtil[_0x5754f5(0x16a)](this,_0x1d346f,_0x53a442,_0x3b6fe1);}async[a0_0x2e69aa(0x16e)](_0x43fed4){const _0x34c744=a0_0x2e69aa;await MetaUiUtil[_0x34c744(0x16e)](this,_0x43fed4);}async[a0_0x2e69aa(0x168)](_0x4b38c8,_0x707c08){const _0x6ad6f1=a0_0x2e69aa;await MetaUiUtil[_0x6ad6f1(0x168)](this,_0x4b38c8,_0x707c08);}[a0_0x2e69aa(0x178)](_0x312d8b){const _0x4b6de8=a0_0x2e69aa;this[_0x4b6de8(0x179)]=_0x312d8b[_0x4b6de8(0x174)],this[_0x4b6de8(0x170)]=MetaUiUtil[_0x4b6de8(0x16f)](this[_0x4b6de8(0x179)],_0x4b6de8(0x17c)),this[_0x4b6de8(0x16c)]=MetaUiUtil[_0x4b6de8(0x16f)](this[_0x4b6de8(0x179)],'export'),this[_0x4b6de8(0x164)]=MetaUiUtil[_0x4b6de8(0x16f)](this[_0x4b6de8(0x179)],_0x4b6de8(0x173));}};
@@ -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_0x5eb823=a0_0x5e12;function a0_0x45e3(){const _0x5e77ee=['__dirtyfields__','4yplctd','dataSet','styles','isPage','isNotEmpty','context','Esc','getAndParseMenuMeta','isElement','form','3223QqeHmE','removeGarbageData','save','render','parseFormConfigs','stopPropagation','activityDataSet','updateMultiple','parseBasicFormConfigs','parseFormConfigSet','getData','removeAttribute','keydown','patchData','startsWith','is_activity','isEmpty','getBasicFormHtml','1217ZHxDUE','1219551dmvprp','key','14532NrIvue','152hbftTI','object','pageInitialized','entries','currentData','assign','connectedCallback','Enter','name','2643725aVBDQe','formConfigSet','call','before','17990LoOyuX','formColumnConfig','target','isEquals','true','title.info','__dirty__','detail','firstUpdated','__origin__','382SLRoOE','button','241047AsmeBJ','currentTarget','clear','after','dirtyData','__seq__','editing','validation','cuFlag','editable','formRenderConfig','showAlertPopup','keys','tagName','3359390uIhNnR','findOne','Escape','66lszHGL','focus','record','field-change','getBasicFormStyles','click','setAttribute','map','fetch','forEach','addEventListener'];a0_0x45e3=function(){return _0x5e77ee;};return a0_0x45e3();}(function(_0x1f3f2e,_0x135e2c){const _0x2636e1=a0_0x5e12,_0xae56cb=_0x1f3f2e();while(!![]){try{const _0x5460bd=-parseInt(_0x2636e1(0x12e))/0x1*(-parseInt(_0x2636e1(0x149))/0x2)+-parseInt(_0x2636e1(0x12f))/0x3*(-parseInt(_0x2636e1(0x112))/0x4)+-parseInt(_0x2636e1(0x13b))/0x5+-parseInt(_0x2636e1(0x106))/0x6*(-parseInt(_0x2636e1(0x13f))/0x7)+-parseInt(_0x2636e1(0x132))/0x8*(parseInt(_0x2636e1(0x14b))/0x9)+parseInt(_0x2636e1(0x103))/0xa+parseInt(_0x2636e1(0x11c))/0xb*(parseInt(_0x2636e1(0x131))/0xc);if(_0x5460bd===_0x135e2c)break;else _0xae56cb['push'](_0xae56cb['shift']());}catch(_0x3d7237){_0xae56cb['push'](_0xae56cb['shift']());}}}(a0_0x45e3,0x4e376));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5e12(_0x3e6433,_0x3a301c){const _0x45e365=a0_0x45e3();return a0_0x5e12=function(_0x5e1230,_0x3e8585){_0x5e1230=_0x5e1230-0xfd;let _0x492684=_0x45e365[_0x5e1230];return _0x492684;},a0_0x5e12(_0x3e6433,_0x3a301c);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x363fd3=>class extends MetaButtonMixin(_0x363fd3){static get[a0_0x5eb823(0x114)](){const _0x2d0cde=a0_0x5eb823;return MetaApi[_0x2d0cde(0x10a)]();}static get['properties'](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x5eb823(0x117)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x5eb823(0x138)](){const _0x51d3f1=a0_0x5eb823;await this[_0x51d3f1(0x119)](),this[_0x51d3f1(0x11a)]&&await this[_0x51d3f1(0x120)](),this[_0x51d3f1(0x122)]&&(this[_0x51d3f1(0x113)]=this[_0x51d3f1(0x122)]),!0x0!==this[_0x51d3f1(0x12b)]||this['parent_id']||(this['parent_id']='activity'),super[_0x51d3f1(0x138)]&&await super[_0x51d3f1(0x138)](),this[_0x51d3f1(0x11a)]&&await this[_0x51d3f1(0x10e)](),this['renderRoot'][_0x51d3f1(0x110)](_0x51d3f1(0x128),_0x331fc4=>{const _0x4e03f8=_0x51d3f1;switch(_0x331fc4[_0x4e03f8(0x130)]){case _0x4e03f8(0x118):case _0x4e03f8(0x105):case _0x4e03f8(0x139):this[_0x4e03f8(0x107)](),this[_0x4e03f8(0x14c)]&&this[_0x4e03f8(0x14c)][_0x4e03f8(0x127)](_0x4e03f8(0x151)),this[_0x4e03f8(0x14c)]=null;}}),this['renderRoot'][_0x51d3f1(0x110)](_0x51d3f1(0x10b),_0x5de96c=>{const _0x2c89b9=_0x51d3f1;_0x5de96c[_0x2c89b9(0x121)]();let _0x325f45=_0x5de96c[_0x2c89b9(0x141)];if(this['currentTarget']&&(this['focus'](),this['currentTarget'][_0x2c89b9(0x127)](_0x2c89b9(0x151))),'OX-GRID-FIELD'!==_0x325f45[_0x2c89b9(0x102)]||!_0x325f45['column']['record'][_0x2c89b9(0xfe)])return this[_0x2c89b9(0x107)](),void(this[_0x2c89b9(0x14c)]=null);this[_0x2c89b9(0x14c)]=_0x325f45,_0x325f45[_0x2c89b9(0x10c)](_0x2c89b9(0x151),_0x2c89b9(0x143));}),this[_0x51d3f1(0x110)](_0x51d3f1(0x109),_0x461750=>{const _0x53f2f4=_0x51d3f1;var {after:_0x2298f8,before:_0x438674,column:_0x110b25,record:_0x5b9ce7,row:_0x2c602c}=_0x461750[_0x53f2f4(0x146)];if(ValueUtil[_0x53f2f4(0x142)](_0x2298f8,_0x438674))return;var _0x232241=_0x110b25[_0x53f2f4(0x152)];if(_0x232241&&'function'==typeof _0x232241&&!_0x232241[_0x53f2f4(0x13d)](this,_0x2298f8,_0x438674,_0x5b9ce7,_0x110b25))return;let _0x239df0=_0x110b25['name'];_0x5b9ce7[_0x239df0]=_0x2298f8,_0x5b9ce7['__dirtyfields__']=_0x5b9ce7[_0x53f2f4(0x111)]||{},_0x5b9ce7[_0x53f2f4(0x148)]=_0x5b9ce7[_0x53f2f4(0x148)]||{},_0x5b9ce7[_0x53f2f4(0x111)][_0x239df0]={'before':_0x5b9ce7[_0x53f2f4(0x148)][_0x239df0],'after':_0x5b9ce7[_0x239df0]},ValueUtil[_0x53f2f4(0x142)](_0x5b9ce7[_0x53f2f4(0x111)][_0x239df0][_0x53f2f4(0x13e)],_0x5b9ce7['__dirtyfields__'][_0x239df0][_0x53f2f4(0x14e)])&&delete _0x5b9ce7[_0x53f2f4(0x111)][_0x239df0],ValueUtil[_0x53f2f4(0x116)](_0x5b9ce7['__dirtyfields__'])?_0x5b9ce7[_0x53f2f4(0x145)]='M':_0x5b9ce7[_0x53f2f4(0x145)]='',this[_0x53f2f4(0x108)]={..._0x5b9ce7};});}async['firstUpdated'](){const _0x13ba06=a0_0x5eb823;super[_0x13ba06(0x147)]&&await super[_0x13ba06(0x147)]();}async['pageInitialized'](){const _0x26249c=a0_0x5eb823;this['isPage']&&await this[_0x26249c(0x120)](),super[_0x26249c(0x134)]&&await super['pageInitialized'](),this[_0x26249c(0x115)]&&await this[_0x26249c(0x10e)]();}[a0_0x5eb823(0x11f)](){const _0x1fa1ed=a0_0x5eb823;return MetaApi[_0x1fa1ed(0x12d)](this);}[a0_0x5eb823(0x124)](_0x10b951){const _0x5c672b=a0_0x5eb823;this[_0x5c672b(0x140)]=_0x10b951['grid_column'],this[_0x5c672b(0xff)]=_0x10b951[_0x5c672b(0x11b)],_0x10b951['button']=_0x10b951[_0x5c672b(0x14a)]['filter'](_0x36cb12=>_0x5c672b(0x11e)==_0x36cb12[_0x5c672b(0x13a)]);}async[a0_0x5eb823(0x120)](){const _0x11e06f=a0_0x5eb823;this[_0x11e06f(0x13c)]=await MetaApi[_0x11e06f(0x125)](this);}get['orgData'](){const _0x34ff86=a0_0x5eb823;return this['removeGarbageData'](this[_0x34ff86(0x108)][_0x34ff86(0x148)]);}get[a0_0x5eb823(0x14f)](){const _0xb2b067=a0_0x5eb823;if(ValueUtil[_0xb2b067(0x12c)](this[_0xb2b067(0x108)][_0xb2b067(0x111)]))return{};let _0x149191={};return Object['entries'](this[_0xb2b067(0x108)][_0xb2b067(0x111)])[_0xb2b067(0x10d)](([_0x48246f,_0x165c14])=>{const _0x50c924=_0xb2b067;0x0==_0x48246f[_0x50c924(0x12a)]('__')&&(_0x149191[_0x48246f]=_0x165c14[_0x50c924(0x14e)]);}),_0x149191;}get['currentData'](){const _0x3e809e=a0_0x5eb823;return this[_0x3e809e(0x11d)](this[_0x3e809e(0x108)]);}[a0_0x5eb823(0x11d)](_0x2df1b1){const _0x589d1b=a0_0x5eb823;let _0x94bb15={};if(_0x2df1b1)return Object[_0x589d1b(0x135)](_0x2df1b1)['map'](([_0x4881d3,_0x261a62])=>{const _0x1bc7dc=_0x589d1b;0x0==_0x4881d3[_0x1bc7dc(0x12a)]('__')&&(_0x94bb15[_0x4881d3]=_0x261a62);}),_0x94bb15;}get['patchData'](){const _0x48e104=a0_0x5eb823;let _0x5dd315=this[_0x48e104(0x14f)],_0x4e7fa4=this[_0x48e104(0x108)];return ValueUtil[_0x48e104(0x12c)](_0x5dd315)?[]:(ValueUtil[_0x48e104(0x116)](_0x4e7fa4['id'])?(_0x5dd315['id']=_0x4e7fa4['id'],_0x5dd315[_0x48e104(0xfd)]='M'):_0x5dd315[_0x48e104(0xfd)]='+',Object[_0x48e104(0x101)](_0x5dd315)[_0x48e104(0x10f)](_0x47a3ab=>{const _0x59ee62=_0x48e104;_0x59ee62(0x133)==typeof _0x5dd315[_0x47a3ab]&&(_0x5dd315[_0x47a3ab]={'id':_0x5dd315[_0x47a3ab]['id']});}),[_0x5dd315]);}async['fetch'](){const _0x27f9ad=a0_0x5eb823;if(ValueUtil[_0x27f9ad(0x12c)](this['parent_id']))return;let _0x3881a8=await this[_0x27f9ad(0x104)](this['parent_id']);_0x3881a8[_0x27f9ad(0x150)]=0x1;let _0x41a3e9={};Object[_0x27f9ad(0x137)](_0x41a3e9,_0x3881a8),_0x3881a8[_0x27f9ad(0x148)]=_0x41a3e9,this[_0x27f9ad(0x108)]={..._0x3881a8};}async[a0_0x5eb823(0x11e)](){const _0x27909a=a0_0x5eb823;let _0x1a2e9a=this[_0x27909a(0x129)];if(ValueUtil[_0x27909a(0x12c)](_0x1a2e9a))return void MetaApi[_0x27909a(0x100)](_0x27909a(0x144),'text.NOTHING_CHANGED');let _0x3992aa=await this[_0x27909a(0x123)](_0x1a2e9a);return _0x3992aa&&await this[_0x27909a(0x10e)](),_0x3992aa;}async[a0_0x5eb823(0x14d)](){const _0xa8b035=a0_0x5eb823;this[_0xa8b035(0x108)]&&(this[_0xa8b035(0x108)]={});}[a0_0x5eb823(0x126)](){const _0x1dd7b9=a0_0x5eb823;return this[_0x1dd7b9(0x136)]||{};}};
@@ -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_0x3b05fc=a0_0x28d6;(function(_0x5b03f4,_0x598ad3){const _0x25988d=a0_0x28d6,_0x3a5505=_0x5b03f4();while(!![]){try{const _0x557b6c=-parseInt(_0x25988d(0x1ff))/0x1+-parseInt(_0x25988d(0x224))/0x2+parseInt(_0x25988d(0x21e))/0x3+-parseInt(_0x25988d(0x1fb))/0x4+-parseInt(_0x25988d(0x208))/0x5*(-parseInt(_0x25988d(0x216))/0x6)+-parseInt(_0x25988d(0x20c))/0x7+parseInt(_0x25988d(0x22c))/0x8;if(_0x557b6c===_0x598ad3)break;else _0x3a5505['push'](_0x3a5505['shift']());}catch(_0x2aafb5){_0x3a5505['push'](_0x3a5505['shift']());}}}(a0_0x25f5,0x798fe));import{html}from'lit';import{MetaApi}from'../utils/meta-api';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';function a0_0x28d6(_0xcb8407,_0x158218){const _0x25f55e=a0_0x25f5();return a0_0x28d6=function(_0x28d62d,_0x32a19c){_0x28d62d=_0x28d62d-0x1ed;let _0x2c53f3=_0x25f55e[_0x28d62d];return _0x2c53f3;},a0_0x28d6(_0xcb8407,_0x158218);}function a0_0x25f5(){const _0x16f51f=['isNotEmpty','ox-grist','6975JkMAbH','gridConfig','properties','grid_column','1025528nxpNRl','isPage','deleteByIds','parseBasicGridConfigs','menuInfo','filterFormId','getContextObject','pageInitialized','operator','getSelectedIdList','2184URIjAp','grist','activityDataSet','context','shadowRoot','exportable','gristConfigSet','type','411804vwfjuo','grid','firstUpdated','#detail','search','actions','287040dRXKbk','querySelector','find','useFilterForm','forEach','exportableData','stringify','searchFields','9373056bmMLdu','value','isElement','patchesForUpdateMultiple','getParams','delete','records','clear','connectedCallback','parse','renderRoot','getData','record','ox-filters-form-base','searchFieldValues','filterForm','name','fetch','findOne','importable','useMasterFilterForm','styles','beforeFetch','columns','startsWith','save','parseGristConfigs','detailElement','2376288iVsLTU','options','push','searchConfig','434666LeclkK','main','gristId','title','dataSet','filter','___data'];a0_0x25f5=function(){return _0x16f51f;};return a0_0x25f5();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x386f4d=>class extends MetaButtonMixin(_0x386f4d){static get[a0_0x3b05fc(0x1f4)](){return MetaApi['getBasicGristTabStyles']();}static get[a0_0x3b05fc(0x20a)](){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 _0x1790ff=a0_0x3b05fc;return this['renderRoot'][_0x1790ff(0x225)](this[_0x1790ff(0x201)]);}get[a0_0x3b05fc(0x1ee)](){const _0x16a96d=a0_0x3b05fc;return this[_0x16a96d(0x21a)]?.[_0x16a96d(0x225)](this['filterFormId']);}get[a0_0x3b05fc(0x1fa)](){const _0x44934a=a0_0x3b05fc;return this[_0x44934a(0x21a)][_0x44934a(0x225)](_0x44934a(0x221));}get[a0_0x3b05fc(0x219)](){const _0x1a996b=a0_0x3b05fc;let _0x269aee=MetaUiUtil[_0x1a996b(0x212)](this);return _0x269aee[_0x1a996b(0x223)]&&delete _0x269aee[_0x1a996b(0x223)],_0x269aee[_0x1a996b(0x21b)]&&delete _0x269aee[_0x1a996b(0x21b)],_0x269aee[_0x1a996b(0x1f2)]&&delete _0x269aee['importable'],_0x269aee;}async[a0_0x3b05fc(0x234)](){const _0x3bb2ff=a0_0x3b05fc;this[_0x3bb2ff(0x201)]=_0x3bb2ff(0x207),this[_0x3bb2ff(0x211)]=_0x3bb2ff(0x239),await this['getAndParseMenuMeta'](),this[_0x3bb2ff(0x22e)]&&await this[_0x3bb2ff(0x1f9)](),this['activityDataSet']&&(this[_0x3bb2ff(0x203)]=(this[_0x3bb2ff(0x218)]||{})[_0x3bb2ff(0x200)]),super[_0x3bb2ff(0x234)]&&await super[_0x3bb2ff(0x234)]();}async['firstUpdated'](){const _0x193aa7=a0_0x3b05fc;super[_0x193aa7(0x220)]&&await super['firstUpdated']();}async[a0_0x3b05fc(0x213)](){const _0x553be3=a0_0x3b05fc;this[_0x553be3(0x20d)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x553be3(0x213)]();}['render'](){return MetaApi['getGristTabHtml'](this);}[a0_0x3b05fc(0x20f)](_0x13e72e){const _0xf79a32=a0_0x3b05fc;this[_0xf79a32(0x209)]=_0x13e72e[_0xf79a32(0x21f)],this['gridColumnConfig']=_0x13e72e[_0xf79a32(0x20b)],this[_0xf79a32(0x1fe)]=_0x13e72e[_0xf79a32(0x222)];}async['parseGristConfigs'](){const _0x46757f=a0_0x3b05fc;this[_0x46757f(0x21c)]=await MetaApi['parseGridConfigSet'](this),this[_0x46757f(0x1f3)]=!0x0===this['useFilterForm'],this[_0x46757f(0x227)]=!0x1,this[_0x46757f(0x1ed)]=[],this[_0x46757f(0x22b)]=this[_0x46757f(0x21c)][_0x46757f(0x1f6)][_0x46757f(0x204)](_0x497bb0=>_0x497bb0[_0x46757f(0x204)])['map'](_0x154eed=>{const _0x38317f=_0x46757f;let _0x3e4f56={'name':_0x154eed[_0x38317f(0x1ef)],'type':'search'===_0x154eed[_0x38317f(0x204)][_0x38317f(0x214)]?_0x38317f(0x222):_0x154eed[_0x38317f(0x21d)],'label':_0x154eed['header'],'operator':_0x154eed[_0x38317f(0x204)]['operator']?_0x154eed[_0x38317f(0x204)][_0x38317f(0x214)]:'eq'};return _0x154eed[_0x38317f(0x204)][_0x38317f(0x1fc)]&&(_0x3e4f56[_0x38317f(0x1fc)]=_0x154eed[_0x38317f(0x204)][_0x38317f(0x1fc)]),_0x154eed[_0x38317f(0x238)][_0x38317f(0x1fc)]&&(_0x3e4f56[_0x38317f(0x1fc)]=_0x154eed[_0x38317f(0x238)][_0x38317f(0x1fc)]),_0x154eed[_0x38317f(0x204)][_0x38317f(0x22d)]&&this[_0x38317f(0x1ed)][_0x38317f(0x1fd)]({'name':_0x3e4f56[_0x38317f(0x1ef)],'operator':_0x3e4f56[_0x38317f(0x214)],'value':_0x154eed[_0x38317f(0x204)][_0x38317f(0x22d)]}),delete _0x154eed[_0x38317f(0x204)],_0x3e4f56;});}async[a0_0x3b05fc(0x1f0)](){const _0x16ac1f=a0_0x3b05fc;await this[_0x16ac1f(0x217)][_0x16ac1f(0x1f0)]();}async[a0_0x3b05fc(0x1f5)]({page:_0x43c8ae=0x0,limit:_0x2851b8=0x0,sortings:_0x44180d=[],filters:_0x12f258=[]}){const _0x19f380=a0_0x3b05fc;let _0xf9d7d6=this[_0x19f380(0x236)]['querySelector']('meta-tab-element');return await _0xf9d7d6[_0x19f380(0x233)](),!0x0;}async[a0_0x3b05fc(0x1f8)](){const _0x8792cf=a0_0x3b05fc;let _0x313313=MetaApi[_0x8792cf(0x22f)](this[_0x8792cf(0x217)]);!!ValueUtil[_0x8792cf(0x206)](_0x313313)&&await this['updateMultiple'](_0x313313)&&this['fetch']();}async[a0_0x3b05fc(0x226)](){const _0x3a28da=a0_0x3b05fc;let _0x3c3e67=MetaApi[_0x3a28da(0x215)](this[_0x3a28da(0x217)],!0x0);return ValueUtil[_0x3a28da(0x206)](_0x3c3e67)?await this[_0x3a28da(0x1f1)](_0x3c3e67[0x0]):{};}async[a0_0x3b05fc(0x231)](){const _0x46bc0e=a0_0x3b05fc;let _0x5433d0=MetaApi[_0x46bc0e(0x215)](this[_0x46bc0e(0x217)],!0x0);!!ValueUtil[_0x46bc0e(0x206)](_0x5433d0)&&await this[_0x46bc0e(0x20e)](_0x5433d0)&&this[_0x46bc0e(0x1f0)]();}async['export'](){const _0x43e247=a0_0x3b05fc;let _0x2939b5=TermsUtil['tTitle'](ValueUtil[_0x43e247(0x230)](this[_0x43e247(0x210)],_0x43e247(0x202)));return await MetaApi[_0x43e247(0x229)](this[_0x43e247(0x22e)],_0x2939b5,this['grist']);}async['import'](){}['getData'](){const _0x34f416=a0_0x3b05fc;let _0x37d67a=this[_0x34f416(0x217)][_0x34f416(0x205)][_0x34f416(0x232)];return _0x37d67a=JSON[_0x34f416(0x235)](JSON[_0x34f416(0x22a)](_0x37d67a)),_0x37d67a[_0x34f416(0x228)](_0x1c3982=>{const _0x2263e7=_0x34f416;Object['keys'](_0x1c3982)[_0x2263e7(0x228)](_0x25f047=>{const _0x381e4c=_0x2263e7;_0x25f047[_0x381e4c(0x1f7)]('__')&&delete _0x1c3982[_0x25f047];});}),{'main':_0x37d67a,'detail':this[_0x34f416(0x236)][_0x34f416(0x225)]('meta-tab-element')[_0x34f416(0x237)]()};}};