@things-factory/meta-ui 6.0.129 → 6.0.131

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 (81) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +6 -4
  3. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  4. package/client/component/filter/filter-grist-resource-code-select.js +10 -10
  5. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  6. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  7. package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
  8. package/client/index.js +4 -0
  9. package/client/mixin/meta-base-mixin.js +1 -1
  10. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  11. package/client/mixin/meta-button-mixin.js +1 -1
  12. package/client/mixin/meta-form-mixin.js +1 -1
  13. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  14. package/client/mixin/meta-main-tab-mixin.js +1 -0
  15. package/client/mixin/meta-master-detail-mixin.js +1 -1
  16. package/client/mixin/meta-service-mixin.js +1 -1
  17. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  18. package/client/mixin/meta-tab-mixin.js +1 -1
  19. package/client/pages/activity/meta-activity-list-page.js +6 -6
  20. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  21. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  22. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  23. package/client/pages/entity/config-entity.js +29 -29
  24. package/client/pages/entity/main-menu-selector.js +7 -7
  25. package/client/pages/history/history-copy-list-popup.js +5 -5
  26. package/client/pages/history/history-json-list-popup.js +6 -6
  27. package/client/pages/loading-page.js +5 -5
  28. package/client/pages/menu/dynamic-menu-template.js +7 -7
  29. package/client/pages/menu/dynamic-menu.js +15 -15
  30. package/client/pages/meta-form-element.js +1 -1
  31. package/client/pages/meta-grist-element.js +1 -1
  32. package/client/pages/meta-grist-page.js +1 -1
  33. package/client/pages/meta-grist-tab-element.js +1 -1
  34. package/client/pages/meta-grist-tab-page.js +1 -1
  35. package/client/pages/meta-main-tab-element.js +1 -0
  36. package/client/pages/meta-main-tab-page.js +1 -0
  37. package/client/pages/meta-master-detail-element.js +1 -1
  38. package/client/pages/meta-master-detail-page.js +1 -1
  39. package/client/pages/meta-tab-detail-element.js +1 -1
  40. package/client/pages/meta-tab-detail-page.js +1 -1
  41. package/client/pages/meta-tab-element.js +1 -1
  42. package/client/pages/personalize/personal-column-selector.js +11 -11
  43. package/client/pages/terms/config-terminology.js +6 -6
  44. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  45. package/client/pages/work-code/work-code-page.js +1 -1
  46. package/client/reducers/main.js +1 -1
  47. package/client/utils/meta-api.js +1 -1
  48. package/client/utils/meta-crypto.js +1 -1
  49. package/client/utils/meta-ui-util.js +127 -96
  50. package/client/utils/service-util.js +13 -13
  51. package/client/utils/terms-util.js +2 -2
  52. package/client/utils/ui-util.js +1 -1
  53. package/client/utils/value-util.js +1 -1
  54. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  55. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  56. package/client/viewparts/dynamic-menu-part.js +11 -11
  57. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  58. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  59. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  60. package/package.json +2 -2
  61. package/server/activity/CommonActivity.js +2 -2
  62. package/server/constants/error-code.js +1 -1
  63. package/server/errors/license-error.js +1 -1
  64. package/server/routes.js +1 -1
  65. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  66. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  67. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize.js +1 -1
  69. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  70. package/server/service/meta-activity/meta-activity-query.js +1 -1
  71. package/server/service/meta-activity/meta-activity-type.js +1 -1
  72. package/server/service/meta-secret/meta-resolver.js +1 -1
  73. package/server/service/set-translations/set-translation-resolver.js +1 -1
  74. package/server/service/work-code/work-code-mutation.js +1 -1
  75. package/server/service/work-code/work-code-query.js +1 -1
  76. package/server/service/work-code/work-code-type.js +1 -1
  77. package/server/service/work-code/work-code.js +1 -1
  78. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  79. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  80. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,7 +1,7 @@
1
- const a0_0x6623e0=a0_0x10e3;(function(_0x58d159,_0x4e75d1){const _0x298364=a0_0x10e3,_0x3bdecc=_0x58d159();while(!![]){try{const _0x1f82f9=-parseInt(_0x298364(0x160))/0x1+-parseInt(_0x298364(0x163))/0x2*(-parseInt(_0x298364(0x14a))/0x3)+-parseInt(_0x298364(0x15a))/0x4*(parseInt(_0x298364(0x15d))/0x5)+parseInt(_0x298364(0x151))/0x6+parseInt(_0x298364(0x154))/0x7+parseInt(_0x298364(0x161))/0x8+parseInt(_0x298364(0x14d))/0x9*(parseInt(_0x298364(0x14b))/0xa);if(_0x1f82f9===_0x4e75d1)break;else _0x3bdecc['push'](_0x3bdecc['shift']());}catch(_0x46eead){_0x3bdecc['push'](_0x3bdecc['shift']());}}}(a0_0x3666,0xe2f09));function a0_0x10e3(_0x57eae2,_0x8e7c68){const _0x3666be=a0_0x3666();return a0_0x10e3=function(_0x10e35b,_0x452bcd){_0x10e35b=_0x10e35b-0x147;let _0x838c8=_0x3666be[_0x10e35b];return _0x838c8;},a0_0x10e3(_0x57eae2,_0x8e7c68);}import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x52b4c2 from'graphql-tag';function a0_0x3666(){const _0x5da9f3=['470IwRGvZ','active','130950bQterL','UPDATE_META_UI','lite-menu-part','querySelector','6017964Moshjq','landscape','dynamic-menu-part','9135315GmMNiI','content','dispatch','hamburger','meta[name=\x22application-name\x22]','data','4vZVgaL','liteMenus','appName','8719795dLMFGE','rank','NAVBAR','1748389AAaNCY','5149584cJlKyf','HEADERBAR','18076ZYiNxa','value','portrait','query','items','261OPAXHk'];a0_0x3666=function(){return _0x5da9f3;};return a0_0x3666();}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_0x6623e0(0x14e);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;export async function setupMenuPart(_0xaea8d){const _0x3c25b3=a0_0x6623e0;var {hovering:_0x4d8de4=!!isMobileDevice(),slotTemplate:_0x4d5888,portraitSlotTemplate:_0x31be15,landscapeSlotTemplate:_0x415835,position:_0x3014f1=VIEWPART_POSITION[_0x3c25b3(0x15f)]}=_0xaea8d||{};const {hovering:_0x51e4d3}=(await clientSettingStore['get']('dynamic-menu'))?.[_0x3c25b3(0x164)]||{};void 0x0!==_0x51e4d3&&(_0x4d8de4=_0x51e4d3);const _0x2c4468=_0x3014f1==VIEWPART_POSITION[_0x3c25b3(0x162)]?_0x3c25b3(0x152):_0x3c25b3(0x147),_0x2cfb99=('landscape'==_0x2c4468?_0x415835:_0x31be15)||_0x4d5888||html``;appendViewpart({'name':_0x3c25b3(0x14f),'viewpart':{'show':!_0x4d8de4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x4d8de4,'template':html`<dynamic-menu-part .orientation=${_0x2c4468}>${_0x2cfb99}</dynamic-menu-part>`},'position':_0x3014f1}),_0x4d8de4&&_0x3c25b3(0x147)==_0x2c4468?HAMBURGER||(HAMBURGER={'name':_0x3c25b3(0x157),'template':html`
2
- <mwc-icon @click=${_0x24aa45=>toggleOverlay(_0x3c25b3(0x153),{'backdrop':!0x0})}
1
+ const a0_0x5e3c9a=a0_0x11d0;(function(_0x244f03,_0x379e13){const _0xdaef14=a0_0x11d0,_0x1b3576=_0x244f03();while(!![]){try{const _0x105571=parseInt(_0xdaef14(0x1d4))/0x1+-parseInt(_0xdaef14(0x1e0))/0x2+-parseInt(_0xdaef14(0x1d8))/0x3*(parseInt(_0xdaef14(0x1cf))/0x4)+-parseInt(_0xdaef14(0x1de))/0x5*(parseInt(_0xdaef14(0x1cc))/0x6)+-parseInt(_0xdaef14(0x1ce))/0x7*(-parseInt(_0xdaef14(0x1c8))/0x8)+-parseInt(_0xdaef14(0x1d2))/0x9*(-parseInt(_0xdaef14(0x1d3))/0xa)+parseInt(_0xdaef14(0x1dc))/0xb*(parseInt(_0xdaef14(0x1df))/0xc);if(_0x105571===_0x379e13)break;else _0x1b3576['push'](_0x1b3576['shift']());}catch(_0x32b151){_0x1b3576['push'](_0x1b3576['shift']());}}}(a0_0x45a9,0xd60bd));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';function a0_0x45a9(){const _0xbe0264=['dynamic-menu','active','549lWnfyu','84470hOzLiN','1656415BhQmRM','lite-menu-part','filter','hamburger','3LsaDqj','HEADERBAR','dispatch','UPDATE_META_UI','22XpdqGA','UPDATE_META_MENU_TEMPLATE','145zuNDnY','6856176cZZIgQ','1041190HAlkaM','portrait','landscape','dynamic-menu-part','1480ZNeyAF','get','FRONT_END','appName','324582pvXpQh','items','26236AxASAl','4166468FJWFeM'];a0_0x45a9=function(){return _0xbe0264;};return a0_0x45a9();}import a0_0x594b4a from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x11d0(_0x10c504,_0x421e28){const _0x45a9b2=a0_0x45a9();return a0_0x11d0=function(_0x11d0fa,_0x5e5385){_0x11d0fa=_0x11d0fa-0x1c6;let _0x142137=_0x45a9b2[_0x11d0fa];return _0x142137;},a0_0x11d0(_0x10c504,_0x421e28);}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_0x5e3c9a(0x1db);export const UPDATE_META_MENU_TEMPLATE=a0_0x5e3c9a(0x1dd);var HAMBURGER;export async function setupMenuPart(_0x2955e7){const _0x43515b=a0_0x5e3c9a;var {hovering:_0x430bde=!!isMobileDevice(),slotTemplate:_0x34afb7,portraitSlotTemplate:_0x2e698a,landscapeSlotTemplate:_0x171d48,position:_0x22d09b=VIEWPART_POSITION['NAVBAR']}=_0x2955e7||{};const {hovering:_0x6c5b9c}=(await clientSettingStore[_0x43515b(0x1c9)](_0x43515b(0x1d0)))?.['value']||{};void 0x0!==_0x6c5b9c&&(_0x430bde=_0x6c5b9c);const _0x25fa13=_0x22d09b==VIEWPART_POSITION[_0x43515b(0x1d9)]?_0x43515b(0x1c6):_0x43515b(0x1e1),_0x800d5d=(_0x43515b(0x1c6)==_0x25fa13?_0x171d48:_0x2e698a)||_0x34afb7||html``;appendViewpart({'name':_0x43515b(0x1d5),'viewpart':{'show':!_0x430bde,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x430bde,'template':html`<dynamic-menu-part .orientation=${_0x25fa13}>${_0x800d5d}</dynamic-menu-part>`},'position':_0x22d09b}),_0x430bde&&'portrait'==_0x25fa13?HAMBURGER||(HAMBURGER={'name':_0x43515b(0x1d7),'template':html`
2
+ <mwc-icon @click=${_0x3da136=>toggleOverlay(_0x43515b(0x1c7),{'backdrop':!0x0})}
3
3
  >view_headline</mwc-icon>
4
- `,'position':TOOL_POSITION['FRONT_END']},store[_0x3c25b3(0x156)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x3c25b3(0x156)]({'type':REMOVE_APP_TOOL,'name':_0x3c25b3(0x157)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x5f07aa){const _0x470c9d=a0_0x6623e0;var _0x909ea6=document[_0x470c9d(0x150)](_0x470c9d(0x158))?.[_0x470c9d(0x155)],_0x98db98=(await client[_0x470c9d(0x148)]({'query':a0_0x52b4c2`
4
+ `,'position':TOOL_POSITION[_0x43515b(0x1ca)]},store['dispatch']({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store['dispatch']({'type':REMOVE_APP_TOOL,'name':_0x43515b(0x1d7)}),HAMBURGER=null);}export async function updateMenuTemplate(_0x321ea2){const _0x157417=a0_0x5e3c9a;var _0x46ede9=document['querySelector']('meta[name=\x22application-name\x22]')?.['content'],_0x222a29=(await client['query']({'query':a0_0x594b4a`
5
5
  query ($filters: [Filter!], $sortings: [Sorting!]) {
6
6
  liteMenus: liteMenus(filters: $filters
7
7
  sortings: $sortings) {
@@ -20,4 +20,4 @@ const a0_0x6623e0=a0_0x10e3;(function(_0x58d159,_0x4e75d1){const _0x298364=a0_0x
20
20
  total
21
21
  }
22
22
  }
23
- `,'variables':{'filters':[{'name':_0x470c9d(0x14c),'operator':'eq','value':!0x0},{'name':'appName','operator':'in','value':['',_0x909ea6]}],'sortings':[{'name':_0x470c9d(0x15e),'desc':!0x1}]}}))[_0x470c9d(0x159)][_0x470c9d(0x15b)][_0x470c9d(0x149)];store[_0x470c9d(0x156)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x98db98['filter'](_0x2f10fd=>!_0x2f10fd[_0x470c9d(0x15c)]||_0x2f10fd[_0x470c9d(0x15c)]===_0x909ea6),'template':_0x5f07aa});}
23
+ `,'variables':{'filters':[{'name':_0x157417(0x1d1),'operator':'eq','value':!0x0},{'name':_0x157417(0x1cb),'operator':'in','value':['',_0x46ede9]}],'sortings':[{'name':'rank','desc':!0x1}]}}))['data']['liteMenus'][_0x157417(0x1cd)];store[_0x157417(0x1da)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x222a29[_0x157417(0x1d6)](_0x293616=>!_0x293616[_0x157417(0x1cb)]||_0x293616[_0x157417(0x1cb)]===_0x46ede9),'template':_0x321ea2});}
@@ -12,8 +12,10 @@ import { MetaApi } from './utils/meta-api'
12
12
 
13
13
  import { registerEditor as gristColumnRegisterEditor,
14
14
  registerRenderer as gristColumnRegisterRenderer,
15
- registerFilterRenderer as gristRegisterFilterRenderer } from '@operato/data-grist'
16
- import { registerFilterRenderer as formRegisterFilterRenderer } from '@operato/form'
15
+ registerFilterRenderer as gristRegisterFilterRenderer,
16
+ getFilterRenderers as gristGetFilterRenderers } from '@operato/data-grist'
17
+ import { registerFilterRenderer as formRegisterFilterRenderer,
18
+ getFilterRenderers as formGetFilterRenderers } from '@operato/form'
17
19
 
18
20
  import { OxGristRendererResourceCodeSelector } from './component/grist/renderer/ox-grist-renderer-resource-code-selector'
19
21
  import { OxGristEditorResourceCodeSelector } from './component/grist/editor/ox-grist-editor-resource-code-selector'
@@ -21,6 +23,8 @@ import { OxGristEditorResourceCodeSelector } from './component/grist/editor/ox-g
21
23
  import { FilterGristResourceCodeSelect } from './component/filter/filter-grist-resource-code-select'
22
24
  import { FilterFormResourceCodeSelect } from './component/filter/filter-form-resource-code-select'
23
25
 
26
+ import '@operato/app/filter-renderer.js'
27
+ import '@operato/app/filters-form.js'
24
28
 
25
29
  export default function bootstrap() {
26
30
  import(`./pages/activity/meta-activity-writer-element`)
@@ -33,8 +37,6 @@ export default function bootstrap() {
33
37
  gristRegisterFilterRenderer('resource-code-selector',[FilterGristResourceCodeSelect]);
34
38
  formRegisterFilterRenderer('resource-code-selector',[FilterFormResourceCodeSelect]);
35
39
 
36
-
37
-
38
40
  store.addReducers({
39
41
  metaUI
40
42
  })
@@ -1,16 +1,16 @@
1
- (function(_0x11f9ec,_0x2219d5){const _0x4164b8=a0_0x26b1,_0x4d9bf9=_0x11f9ec();while(!![]){try{const _0x36093c=-parseInt(_0x4164b8(0x1ee))/0x1*(parseInt(_0x4164b8(0x1fa))/0x2)+-parseInt(_0x4164b8(0x1e4))/0x3+-parseInt(_0x4164b8(0x1f0))/0x4*(parseInt(_0x4164b8(0x1f6))/0x5)+-parseInt(_0x4164b8(0x1f1))/0x6+-parseInt(_0x4164b8(0x1f3))/0x7*(-parseInt(_0x4164b8(0x1ef))/0x8)+parseInt(_0x4164b8(0x1f5))/0x9+parseInt(_0x4164b8(0x1e5))/0xa;if(_0x36093c===_0x2219d5)break;else _0x4d9bf9['push'](_0x4d9bf9['shift']());}catch(_0x57567c){_0x4d9bf9['push'](_0x4d9bf9['shift']());}}}(a0_0x319c,0xc368f));function a0_0x319c(){const _0x400fc9=['codes','2389596rbtOoZ','24611070QTSqZx','name','stopPropagation','change','codeField','tMenu','dispatchEvent','options','large','26201yUITFt','1766912mqQWZk','142728gWsVvt','3381702fnmKvF','filter-change','28RSmvbY','form\x20[name=\x22','4141008BqINmD','190kbThSc','value','filter','length','22tIojaN'];a0_0x319c=function(){return _0x400fc9;};return a0_0x319c();}import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';function a0_0x26b1(_0x34873d,_0x11e6fc){const _0x319ced=a0_0x319c();return a0_0x26b1=function(_0x26b1e8,_0x3ef3f5){_0x26b1e8=_0x26b1e8-0x1e4;let _0x56e281=_0x319ced[_0x26b1e8];return _0x56e281;},a0_0x26b1(_0x34873d,_0x11e6fc);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x59c2c0,_0x28d86d,_0x33d3d1){const _0x552925=a0_0x26b1;var _0xed7579=html`
1
+ (function(_0x3dfc1f,_0x1301e9){const _0x57edc9=a0_0x4167,_0x2d2ed9=_0x3dfc1f();while(!![]){try{const _0x471b75=-parseInt(_0x57edc9(0xb6))/0x1+-parseInt(_0x57edc9(0xba))/0x2*(-parseInt(_0x57edc9(0xb4))/0x3)+-parseInt(_0x57edc9(0xae))/0x4+-parseInt(_0x57edc9(0xb0))/0x5+parseInt(_0x57edc9(0xab))/0x6+-parseInt(_0x57edc9(0xb5))/0x7*(-parseInt(_0x57edc9(0xb9))/0x8)+parseInt(_0x57edc9(0xac))/0x9;if(_0x471b75===_0x1301e9)break;else _0x2d2ed9['push'](_0x2d2ed9['shift']());}catch(_0x5383d1){_0x2d2ed9['push'](_0x2d2ed9['shift']());}}}(a0_0x5d8f,0x3048d));import'../grist/selector/ox-resource-code-selector-popup';function a0_0x5d8f(){const _0x3b5909=['3282624oiQXJl','length','1341024iMSzky','form\x20[name=\x22','1280705BNotuU','tagName','dispatchEvent','change','30669PKhSqH','161nNoHpJ','95850gymCvI','codeField','ox-grid-header','46344rjxqfB','74lQPIKh','[name=\x22','name','options','value','codes','large','dispField','52764HpAJNs'];a0_0x5d8f=function(){return _0x3b5909;};return a0_0x5d8f();}import{html}from'lit-html';function a0_0x4167(_0x1a6cb0,_0x20399d){const _0x5d8ff9=a0_0x5d8f();return a0_0x4167=function(_0x4167e5,_0x5e42f6){_0x4167e5=_0x4167e5-0xa4;let _0x344894=_0x5d8ff9[_0x4167e5];return _0x344894;},a0_0x4167(_0x1a6cb0,_0x20399d);}import{openPopup}from'@operato/layout';import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x257be2,_0x4640dc,_0x19d3fa){const _0x37cb86=a0_0x4167;var _0x13f372=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x28d86d}
4
- .options=${_0x59c2c0[_0x552925(0x1ec)]}
5
- .confirmCallback=${_0x33d3d1}
3
+ .value=${_0x4640dc}
4
+ .options=${_0x257be2[_0x37cb86(0xa6)]}
5
+ .confirmCallback=${_0x19d3fa}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0xed7579,{'backdrop':!0x0,'size':_0x552925(0x1ed),'title':TermsUtil[_0x552925(0x1ea)](_0x59c2c0['options']['selectorName'])});}export const FilterFormResourceCodeSelect=(_0x389b6a,_0x475246,_0x2c32df)=>{const _0x530543=a0_0x26b1,_0x423e61=_0x389b6a[_0x530543(0x1ec)],_0x910be7=_0x423e61[_0x530543(0x1fb)]&&_0x423e61[_0x530543(0x1f9)]>0x0?_0x423e61[_0x530543(0x1fb)]:void 0x0,{operator:_0xb2dbe2='eq'}=_0x389b6a;let _0x15babb=_0x475246||'';if(_0x423e61['dispField']&&_0x475246&&_0x910be7&&_0x910be7){let _0x1c2824=_0x910be7[_0x530543(0x1f8)](_0x337acc=>_0x337acc[_0x530543(0x1f7)]==_0x475246);_0x1c2824&&_0x1c2824[_0x530543(0x1f9)]>0x0&&(_0x15babb=_0x1c2824[0x0][_0x423e61['dispField']]);}return'eq'===_0xb2dbe2?html`
8
- <input name='${_0x389b6a[_0x530543(0x1e6)]}' type="text" hidden></input>
7
+ `;openPopup(_0x13f372,{'backdrop':!0x0,'size':_0x37cb86(0xa9),'title':TermsUtil['tMenu'](_0x257be2['options']['selectorName'])});}export const FilterFormResourceCodeSelect=(_0x43c597,_0x5a4568,_0x409721)=>{const _0x3fd8e8=a0_0x4167,_0x3b5a8d=_0x43c597[_0x3fd8e8(0xa6)],_0xe1a649=_0x3b5a8d[_0x3fd8e8(0xa8)]&&_0x3b5a8d[_0x3fd8e8(0xa8)][_0x3fd8e8(0xad)]>0x0?_0x3b5a8d['codes']:void 0x0,{operator:_0x40c321='eq'}=_0x43c597;let _0x4b8281=_0x5a4568?_0x5a4568[_0x3b5a8d[_0x3fd8e8(0xb7)]]:'',_0x49ea34=_0x5a4568?_0x5a4568[_0x3b5a8d[_0x3fd8e8(0xb7)]]:'';if(_0x3b5a8d['dispField']&&_0x5a4568&&_0xe1a649){let _0x82e5a7=_0xe1a649['filter'](_0x5739a7=>_0x5739a7['value']==_0x5a4568);_0x82e5a7&&_0x82e5a7[_0x3fd8e8(0xad)]>0x0&&(_0x49ea34=_0x82e5a7[0x0][_0x3b5a8d['dispField']]);}return'eq'===_0x40c321?html`
8
+ <input name='${_0x43c597[_0x3fd8e8(0xa5)]}' .value=${_0x4b8281} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x389b6a['name']}_disp'
13
- .value=${_0x15babb}
14
- @click=${_0x4c882b=>{const _0x9df908=_0x530543;_0x4c882b[_0x9df908(0x1e7)]();const _0x16cf3d=_0x4c882b['target'];openResourceCodeSelector(_0x389b6a,_0x475246,_0x1cdcd4=>{const _0x3a234=_0x9df908;let _0x207ef5=_0x1cdcd4?_0x1cdcd4[_0x423e61[_0x3a234(0x1e9)]]:'',_0x229d04=_0x207ef5;_0x1cdcd4&&_0x423e61['dispField']&&(_0x229d04=_0x1cdcd4[_0x423e61['dispField']]),_0x16cf3d[_0x3a234(0x1f7)]=_0x229d04,_0x2c32df['renderRoot']['querySelector'](_0x3a234(0x1f4)+_0x389b6a[_0x3a234(0x1e6)]+'\x22]')[_0x3a234(0x1f7)]=_0x207ef5,_0x16cf3d[_0x3a234(0x1eb)](new Event(_0x3a234(0x1e8),{'bubbles':!0x0})),_0x16cf3d[_0x3a234(0x1eb)](new CustomEvent(_0x3a234(0x1f2),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x389b6a[_0x3a234(0x1e6)],'operator':_0xb2dbe2,'value':_0x207ef5}}));});}}
12
+ name='${_0x43c597[_0x3fd8e8(0xa5)]}_disp'
13
+ .value=${_0x49ea34}
14
+ @click=${_0x4650e6=>{_0x4650e6['stopPropagation']();const _0x637128=_0x4650e6['target'];openResourceCodeSelector(_0x43c597,_0x5a4568,_0xc894ec=>{const _0x45eb41=a0_0x4167;let _0x4d71bd=_0xc894ec?_0xc894ec[_0x3b5a8d[_0x45eb41(0xb7)]]:'',_0x427d1c=_0x4d71bd;_0xc894ec&&_0x3b5a8d[_0x45eb41(0xaa)]&&(_0x427d1c=_0xc894ec[_0x3b5a8d[_0x45eb41(0xaa)]]),_0x637128['value']=_0x427d1c,(_0x45eb41(0xb8)==_0x409721[_0x45eb41(0xb1)]['toLowerCase']()?_0x409721['renderRoot']['querySelector'](_0x45eb41(0xa4)+_0x43c597['name']+'\x22]'):_0x409721['renderRoot']['querySelector'](_0x45eb41(0xaf)+_0x43c597['name']+'\x22]'))[_0x45eb41(0xa7)]=_0x4d71bd,_0x637128[_0x45eb41(0xb2)](new Event(_0x45eb41(0xb3),{'bubbles':!0x0})),_0x637128[_0x45eb41(0xb2)](new CustomEvent('filter-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x43c597[_0x45eb41(0xa5)],'operator':_0x40c321,'value':_0x4d71bd}}));});}}
15
15
  />
16
16
  `:html``;};
@@ -1,16 +1,16 @@
1
- (function(_0x146e99,_0x2eebda){const _0x5897cb=a0_0xf97f,_0x1defd7=_0x146e99();while(!![]){try{const _0x5f18cb=parseInt(_0x5897cb(0xa1))/0x1*(parseInt(_0x5897cb(0xb3))/0x2)+parseInt(_0x5897cb(0xa9))/0x3+parseInt(_0x5897cb(0xad))/0x4+parseInt(_0x5897cb(0xaa))/0x5+parseInt(_0x5897cb(0xae))/0x6+-parseInt(_0x5897cb(0xab))/0x7+-parseInt(_0x5897cb(0xb4))/0x8;if(_0x5f18cb===_0x2eebda)break;else _0x1defd7['push'](_0x1defd7['shift']());}catch(_0x546203){_0x1defd7['push'](_0x1defd7['shift']());}}}(a0_0x3c11,0x7d05f));import'../grist/selector/ox-resource-code-selector-popup';import{html}from'lit-html';import{openPopup}from'@operato/layout';function a0_0x3c11(){const _0x4996de=['length','196563EzrTSC','stopPropagation','dispField','renderRoot','name','tMenu','selectorName','options','971457ZCWxac','1904135NYmzTI','7157731cOnDRk','filter','2190324LZiLOB','2566710FCDEsU','filter-change','codeField','large','dispatchEvent','2XhWaut','2735576urKEVw','record','querySelector','value'];a0_0x3c11=function(){return _0x4996de;};return a0_0x3c11();}function a0_0xf97f(_0x2ac315,_0x2efc12){const _0x3c112e=a0_0x3c11();return a0_0xf97f=function(_0xf97fee,_0x913ef8){_0xf97fee=_0xf97fee-0xa0;let _0x1c2307=_0x3c112e[_0xf97fee];return _0x1c2307;},a0_0xf97f(_0x2ac315,_0x2efc12);}import{TermsUtil}from'./../../utils/terms-util';function openResourceCodeSelector(_0x294922,_0x1db2ef,_0x349f3d){const _0x53f45a=a0_0xf97f;var _0x13ee14=html`
1
+ function a0_0xa950(_0x49ca83,_0x55a44e){const _0x1708be=a0_0x1708();return a0_0xa950=function(_0xa95094,_0x5e5359){_0xa95094=_0xa95094-0xe9;let _0x398502=_0x1708be[_0xa95094];return _0x398502;},a0_0xa950(_0x49ca83,_0x55a44e);}(function(_0x4a3dc6,_0x4dc0c1){const _0x3ec540=a0_0xa950,_0x1a7be2=_0x4a3dc6();while(!![]){try{const _0x5b53e0=-parseInt(_0x3ec540(0x101))/0x1*(parseInt(_0x3ec540(0xee))/0x2)+parseInt(_0x3ec540(0x107))/0x3*(-parseInt(_0x3ec540(0xec))/0x4)+parseInt(_0x3ec540(0xf2))/0x5+parseInt(_0x3ec540(0xf3))/0x6+parseInt(_0x3ec540(0xef))/0x7+parseInt(_0x3ec540(0xfc))/0x8*(parseInt(_0x3ec540(0xff))/0x9)+-parseInt(_0x3ec540(0xfd))/0xa*(parseInt(_0x3ec540(0xfa))/0xb);if(_0x5b53e0===_0x4dc0c1)break;else _0x1a7be2['push'](_0x1a7be2['shift']());}catch(_0x256890){_0x1a7be2['push'](_0x1a7be2['shift']());}}}(a0_0x1708,0xbb93f));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(_0x3c2e41,_0x422f84,_0x41b694){const _0x3bc173=a0_0xa950;var _0x3ef840=html`
2
2
  <ox-resource-code-selector-popup
3
- .value=${_0x1db2ef}
4
- .options=${_0x294922[_0x53f45a(0xb5)][_0x53f45a(0xa8)]}
5
- .confirmCallback=${_0x349f3d}
3
+ .value=${_0x422f84}
4
+ .options=${_0x3c2e41[_0x3bc173(0x100)]['options']}
5
+ .confirmCallback=${_0x41b694}
6
6
  ></ox-resource-code-selector-popup>
7
- `;openPopup(_0x13ee14,{'backdrop':!0x0,'size':_0x53f45a(0xb1),'title':TermsUtil[_0x53f45a(0xa6)](_0x294922[_0x53f45a(0xb5)][_0x53f45a(0xa8)][_0x53f45a(0xa7)])});}export const FilterGristResourceCodeSelect=(_0x4a4221,_0x1f2e76,_0x391ade)=>{const _0xc6d500=a0_0xf97f,_0x3068dd=_0x4a4221['filter'],_0x2d9d2a=_0x4a4221['record']['options'],_0x59e164=_0x2d9d2a['codes']&&_0x2d9d2a[_0xc6d500(0xa0)]>0x0?_0x2d9d2a['codes']:void 0x0,{operator:_0x23365a='eq'}=_0x3068dd;let _0x1e48b0=_0x1f2e76||'';if(_0x2d9d2a[_0xc6d500(0xa3)]&&_0x1f2e76&&_0x59e164&&_0x59e164){let _0x51ab8a=_0x59e164[_0xc6d500(0xac)](_0x56b734=>_0x56b734[_0xc6d500(0xb7)]==_0x1f2e76);_0x51ab8a&&_0x51ab8a['length']>0x0&&(_0x1e48b0=_0x51ab8a[0x0][_0x2d9d2a['dispField']]);}return'eq'===_0x23365a?html`
8
- <input name='${_0x4a4221[_0xc6d500(0xa5)]}' type="text" hidden></input>
7
+ `;openPopup(_0x3ef840,{'backdrop':!0x0,'size':_0x3bc173(0xfb),'title':TermsUtil[_0x3bc173(0xf6)](_0x3c2e41['record'][_0x3bc173(0xed)][_0x3bc173(0xf5)])});}export const FilterGristResourceCodeSelect=(_0x2be115,_0x5821f6,_0x10cd80)=>{const _0x3dad8f=a0_0xa950,_0x53ccab=_0x2be115[_0x3dad8f(0xe9)],_0x45dabb=_0x2be115[_0x3dad8f(0x100)]['options'],_0x12537b=_0x45dabb[_0x3dad8f(0x102)]&&_0x45dabb['codes']['length']>0x0?_0x45dabb[_0x3dad8f(0x102)]:void 0x0,{operator:_0x83068c='eq'}=_0x53ccab;let _0x326c41=_0x5821f6?_0x5821f6[_0x45dabb[_0x3dad8f(0xf7)]]:'',_0x2cc483=_0x5821f6?_0x5821f6[_0x45dabb['codeField']]:'';if(_0x45dabb[_0x3dad8f(0xf0)]&&_0x5821f6&&_0x12537b){let _0x4cc02f=_0x12537b[_0x3dad8f(0xe9)](_0x27e3f9=>_0x27e3f9[_0x3dad8f(0x108)]==_0x5821f6);_0x4cc02f&&_0x4cc02f[_0x3dad8f(0xea)]>0x0&&(_0x2cc483=_0x4cc02f[0x0][_0x45dabb['dispField']]);}return'eq'===_0x83068c?html`
8
+ <input name='${_0x2be115['name']}' .value=${_0x326c41} type="text" hidden></input>
9
9
  <input
10
10
  type="text"
11
11
  readonly
12
- name='${_0x4a4221[_0xc6d500(0xa5)]}_disp'
13
- .value=${_0x1e48b0}
14
- @click=${_0x12f98a=>{const _0x4dc758=_0xc6d500;_0x12f98a[_0x4dc758(0xa2)]();const _0xa60728=_0x12f98a['target'];openResourceCodeSelector(_0x4a4221,_0x1f2e76,_0x47dc50=>{const _0x97771=_0x4dc758;let _0x2a1917=_0x47dc50?_0x47dc50[_0x2d9d2a[_0x97771(0xb0)]]:'',_0x8b28cf=_0x2a1917;_0x47dc50&&_0x2d9d2a[_0x97771(0xa3)]&&(_0x8b28cf=_0x47dc50[_0x2d9d2a[_0x97771(0xa3)]]),_0xa60728['value']=_0x8b28cf,_0x391ade[_0x97771(0xa4)][_0x97771(0xb6)]('form\x20[name=\x22'+_0x4a4221[_0x97771(0xa5)]+'\x22]')[_0x97771(0xb7)]=_0x2a1917,_0xa60728[_0x97771(0xb2)](new Event('change',{'bubbles':!0x0})),_0xa60728[_0x97771(0xb2)](new CustomEvent(_0x97771(0xaf),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x4a4221[_0x97771(0xa5)],'operator':_0x23365a,'value':_0x2a1917}}));});}}
12
+ name='${_0x2be115[_0x3dad8f(0x104)]}_disp'
13
+ .value=${_0x2cc483}
14
+ @click=${_0x1cc6ae=>{const _0x1ff7bf=_0x3dad8f;_0x1cc6ae['stopPropagation']();const _0x1e5e91=_0x1cc6ae[_0x1ff7bf(0xeb)];openResourceCodeSelector(_0x2be115,_0x5821f6,_0xc8bec4=>{const _0x551429=_0x1ff7bf;let _0x17391a=_0xc8bec4?_0xc8bec4[_0x45dabb['codeField']]:'',_0x234e89=_0x17391a;_0xc8bec4&&_0x45dabb['dispField']&&(_0x234e89=_0xc8bec4[_0x45dabb['dispField']]),_0x1e5e91[_0x551429(0x108)]=_0x234e89,(_0x551429(0x103)==_0x10cd80['tagName'][_0x551429(0xf9)]()?_0x10cd80[_0x551429(0x105)][_0x551429(0xf1)](_0x551429(0xf8)+_0x53ccab[_0x551429(0x104)]+'\x22]'):_0x10cd80[_0x551429(0x105)][_0x551429(0xf1)]('form\x20[name=\x22'+_0x53ccab[_0x551429(0x104)]+'\x22]'))[_0x551429(0x108)]=_0x17391a,_0x1e5e91[_0x551429(0x106)](new Event(_0x551429(0xfe),{'bubbles':!0x0})),_0x1e5e91[_0x551429(0x106)](new CustomEvent(_0x551429(0xf4),{'bubbles':!0x0,'composed':!0x0,'detail':{'name':_0x2be115['name'],'operator':_0x83068c,'value':_0x17391a}}));});}}
15
15
  />
16
- `:html``;};
16
+ `:html``;};function a0_0x1708(){const _0x53f5bf=['codeField','[name=\x22','toLowerCase','79431lehCCV','large','16YVOHDx','1890GPMeaY','change','4151151moVbZp','record','37GHuvcT','codes','ox-grid-header','name','renderRoot','dispatchEvent','125802UgcIUi','value','filter','length','target','104VzuaYy','options','8906FqBHQJ','7785631eXBFib','dispField','querySelector','6052025DkgwuM','858102BcgnoC','filter-change','selectorName','tMenu'];a0_0x1708=function(){return _0x53f5bf;};return a0_0x1708();}
@@ -1,11 +1,11 @@
1
- function a0_0x4b48(_0x12ac43,_0x2baecf){const _0x185cfe=a0_0x185c();return a0_0x4b48=function(_0x4b4878,_0x586a63){_0x4b4878=_0x4b4878-0x10d;let _0x1f39f2=_0x185cfe[_0x4b4878];return _0x1f39f2;},a0_0x4b48(_0x12ac43,_0x2baecf);}const a0_0x4e2283=a0_0x4b48;(function(_0x59ddcc,_0x35a2d6){const _0x2eda86=a0_0x4b48,_0x3fec68=_0x59ddcc();while(!![]){try{const _0x5b1419=-parseInt(_0x2eda86(0x118))/0x1+-parseInt(_0x2eda86(0x123))/0x2+-parseInt(_0x2eda86(0x12d))/0x3*(-parseInt(_0x2eda86(0x11b))/0x4)+-parseInt(_0x2eda86(0x11c))/0x5*(parseInt(_0x2eda86(0x125))/0x6)+parseInt(_0x2eda86(0x12b))/0x7*(-parseInt(_0x2eda86(0x11f))/0x8)+-parseInt(_0x2eda86(0x119))/0x9*(-parseInt(_0x2eda86(0x117))/0xa)+parseInt(_0x2eda86(0x126))/0xb;if(_0x5b1419===_0x35a2d6)break;else _0x3fec68['push'](_0x3fec68['shift']());}catch(_0x14c4e4){_0x3fec68['push'](_0x3fec68['shift']());}}}(a0_0x185c,0xc1517));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';function a0_0x185c(){const _0x35afcd=['_onkeydown','codes','push','value','row','ox-grist-editor-resource-code-selector','field-change','column','bind','popup','key','editorTemplate','181290KDbWOf','180948gruUIo','405ExZWHX','firstUpdated','7628ElKnSN','85LWllST','filter','dispatchEvent','3680eVULaz','codeField','length','large','1570176mxCeRE','dispField','476838ByXnQy','27727986usbMoA','record','options','properties','Enter','6685diumlS','openSelector','333uydXiq','_onclick'];a0_0x185c=function(){return _0x35afcd;};return a0_0x185c();}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_0x4e2283(0x129)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x4e2283(0x116)](){const _0x1fd262=a0_0x4e2283;let _0x3dd31c,_0xe08c71=this[_0x1fd262(0x112)][_0x1fd262(0x127)][_0x1fd262(0x128)][_0x1fd262(0x130)]||[];if(!this[_0x1fd262(0x112)][_0x1fd262(0x127)][_0x1fd262(0x128)][_0x1fd262(0x124)])return html`
2
- ${this['value']?html` <span tabindex="0" style="flex:1">${this[_0x1fd262(0x10e)]}</span> `:html`<span tabindex="0"></span>`}
3
- `;if(this['value']&&this[_0x1fd262(0x10e)]['length']>0x0){let _0x41471d=_0xe08c71[_0x1fd262(0x11d)](_0x41b7b3=>_0x41b7b3[_0x1fd262(0x10e)]===this['value']);_0x3dd31c=_0x41471d&&_0x41471d[_0x1fd262(0x121)]>0x0?_0x41471d[0x0]['display']:'';}return html`
4
- ${_0x3dd31c?html` <span tabindex="0" style="flex:1">${_0x3dd31c}</span> `:html`<span tabindex="0"></span>`}
5
- `;}async['firstUpdated'](){const _0xa1d01f=a0_0x4e2283;super[_0xa1d01f(0x11a)]();}[a0_0x4e2283(0x12e)](_0x4d7905){const _0x14adce=a0_0x4e2283;_0x4d7905['stopPropagation'](),this[_0x14adce(0x12c)]();}[a0_0x4e2283(0x12f)](_0x1fb607){const _0x2df49d=a0_0x4e2283;_0x2df49d(0x12a)==_0x1fb607[_0x2df49d(0x115)]&&(_0x1fb607['stopPropagation'](),this['openSelector']());}['openSelector'](){const _0x3515a1=a0_0x4e2283;this['popup']&&delete this['popup'];var {selectorName:_0x26d4d3=''}=this[_0x3515a1(0x112)]['record']['options']||{},_0x882e11=html`
1
+ const a0_0x44f0bc=a0_0x7fef;(function(_0x2e1dde,_0x5da513){const _0x30b340=a0_0x7fef,_0x93737=_0x2e1dde();while(!![]){try{const _0xe6ae22=parseInt(_0x30b340(0x15d))/0x1*(parseInt(_0x30b340(0x150))/0x2)+-parseInt(_0x30b340(0x158))/0x3+-parseInt(_0x30b340(0x163))/0x4+parseInt(_0x30b340(0x14a))/0x5*(-parseInt(_0x30b340(0x156))/0x6)+parseInt(_0x30b340(0x16b))/0x7+-parseInt(_0x30b340(0x152))/0x8*(parseInt(_0x30b340(0x167))/0x9)+-parseInt(_0x30b340(0x16a))/0xa*(-parseInt(_0x30b340(0x166))/0xb);if(_0xe6ae22===_0x5da513)break;else _0x93737['push'](_0x93737['shift']());}catch(_0x5a1fce){_0x93737['push'](_0x93737['shift']());}}}(a0_0x3144,0xcfb37));function a0_0x3144(){const _0x2c46df=['1048BHBjwj','options','define','openSelector','9258492uRywxz','dispField','4573356ERCWBl','stopPropagation','Enter','display','ox-grist-editor-resource-code-selector','4IUcbAb','large','bind','column','key','dispatchEvent','2572168xhuNJS','_onclick','codes','220HCxuaX','4068GmVJWK','tMenu','record','964610dimxsC','10755661PptAWp','popup','filter','5AWNuYN','editorTemplate','length','_onkeydown','codeField','value','577394hvIyJG','firstUpdated'];a0_0x3144=function(){return _0x2c46df;};return a0_0x3144();}import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';function a0_0x7fef(_0x425676,_0x4085ee){const _0x31444d=a0_0x3144();return a0_0x7fef=function(_0x7fef1a,_0x47a74e){_0x7fef1a=_0x7fef1a-0x149;let _0x522601=_0x31444d[_0x7fef1a];return _0x522601;},a0_0x7fef(_0x425676,_0x4085ee);}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_0x44f0bc(0x14b)](){const _0x1a546a=a0_0x44f0bc;let _0x2f7db7,_0x3fd8b9=this[_0x1a546a(0x160)]['record'][_0x1a546a(0x153)]['codes']||[];if(!this[_0x1a546a(0x160)][_0x1a546a(0x169)][_0x1a546a(0x153)]['dispField'])return html`
2
+ ${this[_0x1a546a(0x14f)]?html` <span tabindex="0" style="flex:1">${this[_0x1a546a(0x14f)]}</span> `:html`<span tabindex="0"></span>`}
3
+ `;if(this[_0x1a546a(0x14f)]&&this['value'][_0x1a546a(0x14c)]>0x0){let _0x11d8d0=_0x3fd8b9[_0x1a546a(0x149)](_0x285e61=>_0x285e61[_0x1a546a(0x14f)]===this[_0x1a546a(0x14f)]);_0x2f7db7=_0x11d8d0&&_0x11d8d0[_0x1a546a(0x14c)]>0x0?_0x11d8d0[0x0][_0x1a546a(0x15b)]:'';}return html`
4
+ ${_0x2f7db7?html` <span tabindex="0" style="flex:1">${_0x2f7db7}</span> `:html`<span tabindex="0"></span>`}
5
+ `;}async['firstUpdated'](){const _0x4f699e=a0_0x44f0bc;super[_0x4f699e(0x151)]();}[a0_0x44f0bc(0x164)](_0x1fd44e){const _0x30cddb=a0_0x44f0bc;_0x1fd44e['stopPropagation'](),this[_0x30cddb(0x155)]();}[a0_0x44f0bc(0x14d)](_0x54ef2e){const _0x17e24f=a0_0x44f0bc;_0x17e24f(0x15a)==_0x54ef2e[_0x17e24f(0x161)]&&(_0x54ef2e[_0x17e24f(0x159)](),this[_0x17e24f(0x155)]());}[a0_0x44f0bc(0x155)](){const _0x3d2dfb=a0_0x44f0bc;this[_0x3d2dfb(0x16c)]&&delete this['popup'];var {selectorName:_0x433fd4=''}=this[_0x3d2dfb(0x160)][_0x3d2dfb(0x169)][_0x3d2dfb(0x153)]||{},_0x282866=html`
6
6
  <ox-resource-code-selector-popup
7
- .value=${this[_0x3515a1(0x10e)]}
8
- .options=${this[_0x3515a1(0x112)][_0x3515a1(0x127)][_0x3515a1(0x128)]}
9
- .confirmCallback=${(_0x1f345c=>{const _0x3ebca6=_0x3515a1;let _0x129c7d=this['column']['record'][_0x3ebca6(0x128)][_0x3ebca6(0x120)],_0x278e16=this[_0x3ebca6(0x112)][_0x3ebca6(0x127)][_0x3ebca6(0x128)]['dispField'];this['column'][_0x3ebca6(0x127)][_0x3ebca6(0x128)][_0x3ebca6(0x130)]||(this['column'][_0x3ebca6(0x127)][_0x3ebca6(0x128)][_0x3ebca6(0x130)]=[]);let _0x5645cb=this[_0x3ebca6(0x112)][_0x3ebca6(0x127)]['options'][_0x3ebca6(0x130)][_0x3ebca6(0x11d)](_0x3414f4=>_0x3414f4[_0x3ebca6(0x10e)]==_0x1f345c[_0x129c7d]);_0x5645cb&&0x0!=_0x5645cb[_0x3ebca6(0x121)]||this['column'][_0x3ebca6(0x127)]['options'][_0x3ebca6(0x130)][_0x3ebca6(0x10d)]({'value':_0x1f345c[_0x129c7d],'display':_0x1f345c[_0x278e16]}),this[_0x3ebca6(0x11e)](new CustomEvent(_0x3ebca6(0x111),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x1f345c?_0x1f345c[_0x129c7d]:null,'record':this[_0x3ebca6(0x127)],'column':this['column'],'row':this[_0x3ebca6(0x10f)]}}));})[_0x3515a1(0x113)](this)}
7
+ .value=${this[_0x3d2dfb(0x14f)]}
8
+ .options=${this[_0x3d2dfb(0x160)][_0x3d2dfb(0x169)]['options']}
9
+ .confirmCallback=${(_0x2b76fd=>{const _0xaa5a97=_0x3d2dfb;let _0x1d9136=this['column'][_0xaa5a97(0x169)][_0xaa5a97(0x153)][_0xaa5a97(0x14e)],_0x266db4=this['column'][_0xaa5a97(0x169)][_0xaa5a97(0x153)][_0xaa5a97(0x157)];this[_0xaa5a97(0x160)][_0xaa5a97(0x169)][_0xaa5a97(0x153)][_0xaa5a97(0x165)]||(this[_0xaa5a97(0x160)][_0xaa5a97(0x169)][_0xaa5a97(0x153)]['codes']=[]);let _0x196559=this[_0xaa5a97(0x160)][_0xaa5a97(0x169)][_0xaa5a97(0x153)][_0xaa5a97(0x165)]['filter'](_0x2bf83d=>_0x2bf83d['value']==_0x2b76fd[_0x1d9136]);_0x196559&&0x0!=_0x196559[_0xaa5a97(0x14c)]||this[_0xaa5a97(0x160)]['record']['options'][_0xaa5a97(0x165)]['push']({'value':_0x2b76fd[_0x1d9136],'display':_0x2b76fd[_0x266db4]}),this[_0xaa5a97(0x162)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x2b76fd?_0x2b76fd[_0x1d9136]:null,'record':this[_0xaa5a97(0x169)],'column':this[_0xaa5a97(0x160)],'row':this['row']}}));})[_0x3d2dfb(0x15f)](this)}
10
10
  ></ox-resource-code-selector-popup>
11
- `;this[_0x3515a1(0x114)]=openPopup(_0x882e11,{'backdrop':!0x0,'size':_0x3515a1(0x122),'title':TermsUtil['tMenu'](_0x26d4d3)});}}customElements['define'](a0_0x4e2283(0x110),OxGristEditorResourceCodeSelector);
11
+ `;this[_0x3d2dfb(0x16c)]=openPopup(_0x282866,{'backdrop':!0x0,'size':_0x3d2dfb(0x15e),'title':TermsUtil[_0x3d2dfb(0x168)](_0x433fd4)});}}customElements[a0_0x44f0bc(0x154)](a0_0x44f0bc(0x15c),OxGristEditorResourceCodeSelector);
@@ -1 +1 @@
1
- (function(_0x18aac3,_0x49f3f2){const _0x49341a=a0_0xa43a,_0x541d94=_0x18aac3();while(!![]){try{const _0x465923=parseInt(_0x49341a(0x1b5))/0x1*(-parseInt(_0x49341a(0x1b8))/0x2)+-parseInt(_0x49341a(0x1be))/0x3*(-parseInt(_0x49341a(0x1b6))/0x4)+parseInt(_0x49341a(0x1c1))/0x5*(parseInt(_0x49341a(0x1bc))/0x6)+-parseInt(_0x49341a(0x1b1))/0x7*(-parseInt(_0x49341a(0x1b3))/0x8)+parseInt(_0x49341a(0x1ac))/0x9*(-parseInt(_0x49341a(0x1af))/0xa)+parseInt(_0x49341a(0x1b4))/0xb+-parseInt(_0x49341a(0x1bf))/0xc;if(_0x465923===_0x49f3f2)break;else _0x541d94['push'](_0x541d94['shift']());}catch(_0x2e6c62){_0x541d94['push'](_0x541d94['shift']());}}}(a0_0x3af6,0xb8091));import{html}from'lit';function a0_0x3af6(){const _0x5c079f=['10yUTGAM','dispField','19166UtqByo','codes','3544CPLvuP','1067572MfBIKK','1VgZgMB','104eJwUYO','options','1132266FYvTVs','record','setAttribute','target','42SAhOwi','filter','55194WXSPNi','14552604oNRKHz','value','911035AqbwAv','display','4780116btCNkF','length','data-tooltip'];a0_0x3af6=function(){return _0x5c079f;};return a0_0x3af6();}import{detectOverflow}from'@operato/utils';function onmouseover(_0x55874a){const _0x526a50=a0_0xa43a,_0x482ce9=_0x55874a['target'];detectOverflow(_0x482ce9)&&_0x482ce9[_0x526a50(0x1ba)](_0x526a50(0x1ae),_0x482ce9['textContent']);}function onmouseout(_0x2a4b79){const _0x1fe8b4=a0_0xa43a;_0x2a4b79[_0x1fe8b4(0x1bb)]['removeAttribute']('data-tooltip');}function a0_0xa43a(_0x6f28e6,_0xca050a){const _0x3af69f=a0_0x3af6();return a0_0xa43a=function(_0xa43ad,_0x428c30){_0xa43ad=_0xa43ad-0x1ab;let _0x1e4381=_0x3af69f[_0xa43ad];return _0x1e4381;},a0_0xa43a(_0x6f28e6,_0xca050a);}export const OxGristRendererResourceCodeSelector=(_0x38af6f,_0x37373d,_0x280906,_0x326946,_0x575ab7)=>{const _0x350cc3=a0_0xa43a;if(!_0x37373d[_0x350cc3(0x1b9)][_0x350cc3(0x1b7)][_0x350cc3(0x1b0)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x38af6f}</span>`;_0x37373d[_0x350cc3(0x1b9)][_0x350cc3(0x1b7)]['codes']||(_0x37373d[_0x350cc3(0x1b9)]['options'][_0x350cc3(0x1b2)]=[]);let _0x35bb1b='';if(_0x38af6f&&_0x38af6f[_0x350cc3(0x1ad)]>0x0){let _0x5f0636=_0x37373d['record']['options'][_0x350cc3(0x1b2)][_0x350cc3(0x1bd)](_0x24d57f=>_0x24d57f[_0x350cc3(0x1c0)]===_0x38af6f);_0x35bb1b=_0x5f0636&&_0x5f0636['length']>0x0?_0x5f0636[0x0][_0x350cc3(0x1ab)]:_0x38af6f;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x35bb1b}</span>`;};
1
+ (function(_0x4fb00d,_0x3ac14c){const _0xfe7759=a0_0x342c,_0x4fe42a=_0x4fb00d();while(!![]){try{const _0x3820bd=parseInt(_0xfe7759(0xf3))/0x1+-parseInt(_0xfe7759(0xf5))/0x2+-parseInt(_0xfe7759(0x101))/0x3+parseInt(_0xfe7759(0xfd))/0x4+parseInt(_0xfe7759(0xf2))/0x5*(-parseInt(_0xfe7759(0xf7))/0x6)+-parseInt(_0xfe7759(0xf9))/0x7+parseInt(_0xfe7759(0xfc))/0x8;if(_0x3820bd===_0x3ac14c)break;else _0x4fe42a['push'](_0x4fe42a['shift']());}catch(_0x4ae122){_0x4fe42a['push'](_0x4fe42a['shift']());}}}(a0_0x13fb,0x2f71b));function a0_0x342c(_0x1b991f,_0x342284){const _0x13fb67=a0_0x13fb();return a0_0x342c=function(_0x342c6e,_0x5ab33d){_0x342c6e=_0x342c6e-0xf1;let _0x25adfe=_0x13fb67[_0x342c6e];return _0x25adfe;},a0_0x342c(_0x1b991f,_0x342284);}import{html}from'lit';function a0_0x13fb(){const _0x40531c=['5cRamjh','107803NORmgg','codes','231770fYFGXL','value','1091190OTmHCv','options','1427699aOwfUt','target','data-tooltip','2801488rfRegM','1109952Wlkzvb','setAttribute','length','display','118317WzKHqn','filter','record','removeAttribute','dispField'];a0_0x13fb=function(){return _0x40531c;};return a0_0x13fb();}import{detectOverflow}from'@operato/utils';function onmouseover(_0x3a853a){const _0x231f9a=a0_0x342c,_0x40c6d3=_0x3a853a['target'];detectOverflow(_0x40c6d3)&&_0x40c6d3[_0x231f9a(0xfe)](_0x231f9a(0xfb),_0x40c6d3['textContent']);}function onmouseout(_0x9c04a2){const _0x579e12=a0_0x342c;_0x9c04a2[_0x579e12(0xfa)][_0x579e12(0x104)](_0x579e12(0xfb));}export const OxGristRendererResourceCodeSelector=(_0x39f359,_0xb3dd1e,_0x1b6eab,_0x57d02e,_0x4a4a81)=>{const _0x36799e=a0_0x342c;if(!_0xb3dd1e[_0x36799e(0x103)][_0x36799e(0xf8)][_0x36799e(0xf1)])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x39f359}</span>`;_0xb3dd1e[_0x36799e(0x103)]['options'][_0x36799e(0xf4)]||(_0xb3dd1e[_0x36799e(0x103)][_0x36799e(0xf8)][_0x36799e(0xf4)]=[]);let _0x1740ab='';if(_0x39f359&&_0x39f359['length']>0x0){let _0x285d1a=_0xb3dd1e[_0x36799e(0x103)][_0x36799e(0xf8)][_0x36799e(0xf4)][_0x36799e(0x102)](_0x1880ad=>_0x1880ad[_0x36799e(0xf6)]===_0x39f359);_0x1740ab=_0x285d1a&&_0x285d1a[_0x36799e(0xff)]>0x0?_0x285d1a[0x0][_0x36799e(0x100)]:_0x39f359;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x1740ab}</span>`;};
@@ -1,4 +1,4 @@
1
- const a0_0x52a12e=a0_0x4df2;(function(_0x5e9c24,_0x2fa13d){const _0x3f31af=a0_0x4df2,_0x522429=_0x5e9c24();while(!![]){try{const _0x45254c=parseInt(_0x3f31af(0x13b))/0x1+parseInt(_0x3f31af(0x143))/0x2*(-parseInt(_0x3f31af(0x15d))/0x3)+-parseInt(_0x3f31af(0x140))/0x4*(-parseInt(_0x3f31af(0x135))/0x5)+-parseInt(_0x3f31af(0x166))/0x6+parseInt(_0x3f31af(0x13a))/0x7*(-parseInt(_0x3f31af(0x16b))/0x8)+-parseInt(_0x3f31af(0x139))/0x9+parseInt(_0x3f31af(0x14d))/0xa;if(_0x45254c===_0x2fa13d)break;else _0x522429['push'](_0x522429['shift']());}catch(_0x3aadb8){_0x522429['push'](_0x522429['shift']());}}}(a0_0x252d,0xd1040));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../../utils/terms-util';function a0_0x252d(){const _0x2cbf2f=['code','bind','402xzhvUs','string','firstUpdated','getGristColumnConfig2','entity','name','grist','values','filterFields','6083016nbRjQs','styles','args','getCodeByScenario','codes','3410776aezUsh','length','tButton','getCodeSelectorData','columns','getGristPagination100Config','gridConfig','tLabel','dispField','getGristGuttersConfig','sorters','info','#ox-grist','map','5cFfFVz','push','left','confirmCallback','15105447yRgOHi','7NEqlaF','103313hNyKAz','select','filter','type','object','1856164arIlUO','header','connectedCallback','9290AiWYnT','clickCancel','handlers','selectRecord','ox-resource-code-selector-popup','codeField','define','getGristSelectableConfig','filters','tText','40297700zspbPm','getCodeByEntity','getSelectColumns','forEach','fetchHandler','LIST','selected','isArray','record','clickSelect','options','querySelector','select-row-toggle','clickEmpty'];a0_0x252d=function(){return _0x2cbf2f;};return a0_0x252d();}import{ValueUtil}from'../../../utils/value-util';function a0_0x4df2(_0x594691,_0x29a4a6){const _0x252d92=a0_0x252d();return a0_0x4df2=function(_0x4df26c,_0xec7ef0){_0x4df26c=_0x4df26c-0x12a;let _0x34eccc=_0x252d92[_0x4df26c];return _0x34eccc;},a0_0x4df2(_0x594691,_0x29a4a6);}import{ServiceUtil}from'../../../utils/service-util';import{MetaApi}from'../../../utils/meta-api';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class OxResourceCodeSelectorPopup extends LitElement{static [a0_0x52a12e(0x167)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x40ffc7=a0_0x569d;(function(_0x2e0c5c,_0x36e4e1){const _0x4c6bc0=a0_0x569d,_0x169f13=_0x2e0c5c();while(!![]){try{const _0x42036b=parseInt(_0x4c6bc0(0xc8))/0x1+-parseInt(_0x4c6bc0(0xc0))/0x2+parseInt(_0x4c6bc0(0xed))/0x3+parseInt(_0x4c6bc0(0xb5))/0x4+parseInt(_0x4c6bc0(0xb9))/0x5*(parseInt(_0x4c6bc0(0xd3))/0x6)+-parseInt(_0x4c6bc0(0xb0))/0x7+-parseInt(_0x4c6bc0(0xbf))/0x8;if(_0x42036b===_0x36e4e1)break;else _0x169f13['push'](_0x169f13['shift']());}catch(_0x87099){_0x169f13['push'](_0x169f13['shift']());}}}(a0_0x13af,0x66089));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../../utils/terms-util';function a0_0x13af(){const _0x20de5e=['render','resource-code-selector','getGristGuttersConfig','tButton','rows','2472009RBxHhX','confirmCallback','search_hidden_fields','map','resource-object','codes','left','define','codeField','2247917AMtKKY','searchByPagination','select-row-toggle','info','length','1539356ropqck','selectRecord','queryName','object','10MvNewV','getSelectColumns','showToast','NOTHING_SELECTED','clickCancel','fetchHandler','8203472tzYJuX','50910RSLRaw','bind','name','connectedCallback','getCodeByScenario','getCodeSelectorData','tLabel','header','133875nodqXu','filter','scenario','args','empty','clickSelect','shadowRoot','filterFields','firstUpdated','select','getCodeByEntity','1341696UgVGDG','columns','push','options','getGristPagination100Config','tText','record','LIST','string','type','#ox-grist','querySelector','dispField','values','clickEmpty','code','filters','forEach','GRID','gridConfig','cancel'];a0_0x13af=function(){return _0x20de5e;};return a0_0x13af();}import{ValueUtil}from'../../../utils/value-util';function a0_0x569d(_0x52017e,_0x10493d){const _0x13afdf=a0_0x13af();return a0_0x569d=function(_0x569dea,_0x4e9a11){_0x569dea=_0x569dea-0xa8;let _0x37c12b=_0x13afdf[_0x569dea];return _0x37c12b;},a0_0x569d(_0x52017e,_0x10493d);}import{ServiceUtil}from'../../../utils/service-util';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
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x52a12e=a0_0x4df2;(function(_0x5e9c24,_0x2fa13d){const _0x3f31af=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0x52a12e(0x142)](){const _0x1aa524=a0_0x52a12e;this['search_hidden_fields']=this['options'][_0x1aa524(0x14b)]||[];let _0x33900e=[...MetaApi[_0x1aa524(0x130)](!0x0,!0x1)],_0x1e6175=(this[_0x1aa524(0x157)]['filterFields']&&this['options']['filterFields'][_0x1aa524(0x16c)]>0x0?this[_0x1aa524(0x157)][_0x1aa524(0x165)]:[this['options'][_0x1aa524(0x148)]])[_0x1aa524(0x134)](_0x35d6f5=>{let {name:_0x53498e,operator:_0xf27066='eq'}='object'==typeof _0x35d6f5?_0x35d6f5:{'name':_0x35d6f5};return{'name':_0x53498e,'operator':_0xf27066};});if(this[_0x1aa524(0x157)]['select']&&this[_0x1aa524(0x157)][_0x1aa524(0x13c)][_0x1aa524(0x16c)]>0x0)for(let _0xe9265f=0x0;_0xe9265f<this[_0x1aa524(0x157)][_0x1aa524(0x13c)][_0x1aa524(0x16c)];_0xe9265f++){let {type:_0x1d1a30=_0x1aa524(0x15e),name:_0x4b2d6d,hidden:_0x45b85a=!0x1,align:_0x4d0301='left',header:_0x407bcc,sortable:_0x3fa8da=!0x1,width:_0x394593=0x87,options:_0x1bfaec}=this[_0x1aa524(0x157)][_0x1aa524(0x13c)][_0xe9265f];if(0x1==_0x45b85a)_0x33900e[_0x1aa524(0x136)]({'type':_0x1aa524(0x15e),'name':_0x4b2d6d,'hidden':!0x0});else{let _0x5829b6=MetaApi[_0x1aa524(0x160)](_0x1d1a30,_0x4b2d6d,_0x407bcc||_0x4b2d6d,_0x4d0301,!0x1,_0x3fa8da,_0x394593);'select'===_0x1d1a30?Array[_0x1aa524(0x154)](_0x1bfaec)?_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=_0x1bfaec:_0x1aa524(0x15b)===_0x1bfaec['type']?_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=await ServiceUtil[_0x1aa524(0x12a)](_0x1bfaec[_0x1aa524(0x164)]?_0x1bfaec[_0x1aa524(0x164)]:_0x1bfaec[_0x1aa524(0x162)]):'scenario'===_0x1bfaec['type']?_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=await ServiceUtil[_0x1aa524(0x169)](_0x1bfaec['name'],_0x1bfaec[_0x1aa524(0x168)]):_0x1aa524(0x161)===_0x1bfaec[_0x1aa524(0x13e)]&&(_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=await ServiceUtil[_0x1aa524(0x14e)](_0x1bfaec[_0x1aa524(0x168)])):_0x1aa524(0x13f)===_0x1d1a30||'resource-object'===_0x1d1a30?(_0x1bfaec[_0x1aa524(0x13c)]&&_0x1bfaec[_0x1aa524(0x13c)][_0x1aa524(0x150)](_0x5be5ca=>{const _0x584269=_0x1aa524;_0x5be5ca[_0x584269(0x141)]||(_0x5be5ca[_0x584269(0x141)]=_0x5be5ca[_0x584269(0x162)]),_0x5be5ca[_0x584269(0x141)]=TermsUtil[_0x584269(0x12e)](_0x5be5ca[_0x584269(0x141)]);}),_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=_0x1bfaec):'resource-code-selector'==_0x1d1a30&&(_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)]=object_opt,_0x5829b6[_0x1aa524(0x155)][_0x1aa524(0x157)][_0x1aa524(0x16a)]=await ServiceUtil['getCodeByEntity'](object_opt)),_0x33900e[_0x1aa524(0x136)](_0x5829b6);}}else _0x33900e[_0x1aa524(0x136)](MetaApi[_0x1aa524(0x160)](_0x1aa524(0x15e),this[_0x1aa524(0x157)][_0x1aa524(0x148)],this[_0x1aa524(0x157)][_0x1aa524(0x148)],'left',!0x1,!0x0,0xb4)),this[_0x1aa524(0x157)][_0x1aa524(0x12f)]&&_0x33900e[_0x1aa524(0x136)](MetaApi[_0x1aa524(0x160)](_0x1aa524(0x15e),this['options'][_0x1aa524(0x12f)],this[_0x1aa524(0x157)][_0x1aa524(0x12f)],_0x1aa524(0x137),!0x1,!0x0,0x12c));_0x33900e[_0x1aa524(0x150)](_0x56646e=>{const _0x308cea=_0x1aa524;let _0x44b195=_0x1e6175[_0x308cea(0x13d)](_0x51eece=>_0x56646e['name']==_0x51eece[_0x308cea(0x162)]);_0x44b195&&_0x44b195[_0x308cea(0x16c)]>0x0&&(_0x56646e[_0x308cea(0x13d)]=_0x44b195);});let _0x1c074e={'rows':MetaApi[_0x1aa524(0x14a)](!0x1),'pagination':MetaApi[_0x1aa524(0x12c)](),'appendable':!0x1,'columns':_0x33900e,'sorters':[...this['options'][_0x1aa524(0x131)]||[]]};_0x1c074e['rows'][_0x1aa524(0x145)]={'click':_0x1aa524(0x159),'dblclick':(_0x405d6b,_0x45b57d,_0x3dc2fb,_0x18d0bb,_0x18d407,_0x3c9a15)=>{const _0x394858=_0x1aa524;this[_0x394858(0x146)](_0x18d0bb);}},this['gridConfig']=_0x1c074e,await super[_0x1aa524(0x142)]();}async['firstUpdated'](){const _0x12e2e6=a0_0x52a12e;await super[_0x12e2e6(0x15f)]();}['render'](){const _0x2faa38=a0_0x52a12e;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x2faa38(0x12d)]} .mode=${isMobileDevice()?_0x2faa38(0x152):'GRID'} auto-fetch
22
- .fetchHandler=${this[_0x2faa38(0x151)]['bind'](this)}>
20
+ `];async[a0_0x40ffc7(0xc3)](){const _0xca757f=a0_0x40ffc7;this[_0xca757f(0xa9)]=this[_0xca757f(0xd6)][_0xca757f(0xe3)]||[];let _0x337e39=[...MetaApi[_0xca757f(0xea)](!0x0,!0x1)],_0x15f272=(this['options'][_0xca757f(0xcf)]&&this[_0xca757f(0xd6)][_0xca757f(0xcf)][_0xca757f(0xb4)]>0x0?this[_0xca757f(0xd6)][_0xca757f(0xcf)]:[this[_0xca757f(0xd6)][_0xca757f(0xaf)]])[_0xca757f(0xaa)](_0x572f9e=>{const _0x3bf782=_0xca757f;let {name:_0x4f4785,operator:_0x165a4b='eq'}=_0x3bf782(0xb8)==typeof _0x572f9e?_0x572f9e:{'name':_0x572f9e};return{'name':_0x4f4785,'operator':_0x165a4b};});if(this['options'][_0xca757f(0xd1)]&&this['options'][_0xca757f(0xd1)][_0xca757f(0xb4)]>0x0)for(let _0x5ba614=0x0;_0x5ba614<this['options'][_0xca757f(0xd1)]['length'];_0x5ba614++){let {type:_0x3cda15='string',name:_0x1049ea,hidden:_0x5c3e5a=!0x1,align:_0xdbea3c=_0xca757f(0xad),header:_0x1f5666,sortable:_0x3f9ad0=!0x1,width:_0x21e557=0x87,options:_0x433d57}=this[_0xca757f(0xd6)][_0xca757f(0xd1)][_0x5ba614];if(0x1==_0x5c3e5a)_0x337e39[_0xca757f(0xd5)]({'type':'string','name':_0x1049ea,'hidden':!0x0});else{let _0x40c20f=MetaApi['getGristColumnConfig2'](_0x3cda15,_0x1049ea,_0x1f5666||_0x1049ea,_0xdbea3c,!0x1,_0x3f9ad0,_0x21e557);_0xca757f(0xd1)===_0x3cda15?Array['isArray'](_0x433d57)?_0x40c20f[_0xca757f(0xd9)]['options']=_0x433d57:_0xca757f(0xe2)===_0x433d57[_0xca757f(0xdc)]?_0x40c20f['record']['options']=await ServiceUtil[_0xca757f(0xc5)](_0x433d57[_0xca757f(0xe0)]?_0x433d57[_0xca757f(0xe0)]:_0x433d57['name']):_0xca757f(0xca)===_0x433d57['type']?_0x40c20f[_0xca757f(0xd9)][_0xca757f(0xd6)]=await ServiceUtil[_0xca757f(0xc4)](_0x433d57['name'],_0x433d57[_0xca757f(0xcb)]):'entity'===_0x433d57['type']&&(_0x40c20f['record'][_0xca757f(0xd6)]=await ServiceUtil[_0xca757f(0xd2)](_0x433d57[_0xca757f(0xcb)])):_0xca757f(0xb8)===_0x3cda15||_0xca757f(0xab)===_0x3cda15?(_0x433d57['select']&&_0x433d57[_0xca757f(0xd1)]['forEach'](_0x358445=>{const _0x3160e2=_0xca757f;_0x358445[_0x3160e2(0xc7)]||(_0x358445[_0x3160e2(0xc7)]=_0x358445[_0x3160e2(0xc2)]),_0x358445['header']=TermsUtil[_0x3160e2(0xc6)](_0x358445[_0x3160e2(0xc7)]);}),_0x40c20f[_0xca757f(0xd9)][_0xca757f(0xd6)]=_0x433d57):_0xca757f(0xe9)==_0x3cda15&&(_0x40c20f[_0xca757f(0xd9)][_0xca757f(0xd6)]=object_opt,_0x40c20f[_0xca757f(0xd9)][_0xca757f(0xd6)][_0xca757f(0xac)]=await ServiceUtil[_0xca757f(0xd2)](object_opt)),_0x337e39[_0xca757f(0xd5)](_0x40c20f);}}else _0x337e39[_0xca757f(0xd5)](MetaApi['getGristColumnConfig2'](_0xca757f(0xdb),this[_0xca757f(0xd6)][_0xca757f(0xaf)],this[_0xca757f(0xd6)][_0xca757f(0xaf)],_0xca757f(0xad),!0x1,!0x0,0xb4)),this[_0xca757f(0xd6)][_0xca757f(0xdf)]&&_0x337e39[_0xca757f(0xd5)](MetaApi['getGristColumnConfig2']('string',this[_0xca757f(0xd6)][_0xca757f(0xdf)],this['options'][_0xca757f(0xdf)],_0xca757f(0xad),!0x1,!0x0,0x12c));_0x337e39[_0xca757f(0xe4)](_0xc8b360=>{const _0x38c666=_0xca757f;let _0x5920b5=_0x15f272[_0x38c666(0xc9)](_0x245490=>_0xc8b360[_0x38c666(0xc2)]==_0x245490['name']);_0x5920b5&&_0x5920b5[_0x38c666(0xb4)]>0x0&&(_0xc8b360[_0x38c666(0xc9)]=_0x5920b5);});let _0x3b07e1={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi[_0xca757f(0xd7)](),'appendable':!0x1,'columns':_0x337e39,'sorters':[...this[_0xca757f(0xd6)]['sorters']||[]]};_0x3b07e1[_0xca757f(0xec)]['handlers']={'click':_0xca757f(0xb2),'dblclick':(_0x504a86,_0x19c622,_0x3cdbbe,_0x42f56b,_0x50b106,_0x32443a)=>{const _0x4abb27=_0xca757f;this[_0x4abb27(0xb6)](_0x42f56b);}},this[_0xca757f(0xe6)]=_0x3b07e1,await super[_0xca757f(0xc3)]();}async[a0_0x40ffc7(0xd0)](){const _0xd4b919=a0_0x40ffc7;await super[_0xd4b919(0xd0)]();}[a0_0x40ffc7(0xe8)](){const _0x24863a=a0_0x40ffc7;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x24863a(0xe6)]} .mode=${isMobileDevice()?_0x24863a(0xda):_0x24863a(0xe5)} auto-fetch
22
+ .fetchHandler=${this[_0x24863a(0xbe)]['bind'](this)}>
23
23
  <div slot="headroom">
24
24
  <div id="filters">
25
25
  <ox-filters-form></ox-filters-form>
@@ -27,14 +27,14 @@ const a0_0x52a12e=a0_0x4df2;(function(_0x5e9c24,_0x2fa13d){const _0x3f31af=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil['tButton']('empty')}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this['clickEmpty']['bind'](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0x24863a(0xeb)](_0x24863a(0xcc))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x24863a(0xe1)]['bind'](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x2faa38(0x16d)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x2faa38(0x144)]['bind'](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x24863a(0xeb)](_0x24863a(0xe7))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x24863a(0xbd)]['bind'](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x2faa38(0x16d)]('select')}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0x2faa38(0x156)][_0x2faa38(0x15c)](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x24863a(0xeb)]('select')}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x24863a(0xcd)][_0x24863a(0xc1)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get['grist'](){const _0x3f1e23=a0_0x52a12e;return this['shadowRoot'][_0x3f1e23(0x158)](_0x3f1e23(0x133));}async[a0_0x52a12e(0x151)]({page:_0xa0797a=0x0,limit:_0x54a161=0x0,sorters:_0x2ddc83=[],filters:_0x2f4971=[]}){const _0x4b03c2=a0_0x52a12e;let _0x525c24=[...this['search_hidden_fields']];_0x2f4971[_0x4b03c2(0x150)](_0x356762=>{const _0x42fdc8=_0x4b03c2;let _0x548ae7=_0x525c24[_0x42fdc8(0x13d)](_0x54c9ab=>_0x356762['name']==_0x54c9ab[_0x42fdc8(0x162)]);_0x548ae7&&_0x548ae7[_0x42fdc8(0x16c)]>0x0&&delete _0x525c24[_0x356762['name']],_0x525c24[_0x42fdc8(0x136)](_0x356762);});let _0x3f0257=MetaApi[_0x4b03c2(0x14f)](this[_0x4b03c2(0x12d)][_0x4b03c2(0x12b)]);return await MetaApi['searchByPagination'](this[_0x4b03c2(0x157)]['queryName'],_0x525c24,_0x2ddc83,_0xa0797a,_0x54a161,_0x3f0257);}async[a0_0x52a12e(0x15a)](_0x5a2f2c){const _0x1bb99b=a0_0x52a12e;this[_0x1bb99b(0x138)]&&this['confirmCallback'](null),closePopup(this);}async[a0_0x52a12e(0x144)](_0x210add){closePopup(this);}async[a0_0x52a12e(0x156)](_0x4425ba){const _0x3d87c0=a0_0x52a12e;let _0x310876=this[_0x3d87c0(0x163)][_0x3d87c0(0x153)];_0x310876&&0x0!=_0x310876[_0x3d87c0(0x16c)]?this[_0x3d87c0(0x146)](_0x310876[0x0]):MetaApi['showToast'](_0x3d87c0(0x132),TermsUtil[_0x3d87c0(0x14c)]('NOTHING_SELECTED'));}async[a0_0x52a12e(0x146)](_0x11000f){const _0x50873c=a0_0x52a12e;this[_0x50873c(0x138)]&&this['confirmCallback'](_0x11000f),closePopup(this);}}customElements[a0_0x52a12e(0x149)](a0_0x52a12e(0x147),OxResourceCodeSelectorPopup);
40
+ `;}get['grist'](){const _0x324ce0=a0_0x40ffc7;return this[_0x324ce0(0xce)][_0x324ce0(0xde)](_0x324ce0(0xdd));}async[a0_0x40ffc7(0xbe)]({page:_0xc882fb=0x0,limit:_0x3d8cdf=0x0,sorters:_0x402988=[],filters:_0x1c756e=[]}){const _0x274cf7=a0_0x40ffc7;let _0x4a0aeb=[...this[_0x274cf7(0xa9)]];_0x1c756e['forEach'](_0x5ea113=>{const _0x1a593b=_0x274cf7;let _0x560aef=_0x4a0aeb['filter'](_0xc376d2=>_0x5ea113[_0x1a593b(0xc2)]==_0xc376d2[_0x1a593b(0xc2)]);_0x560aef&&_0x560aef[_0x1a593b(0xb4)]>0x0&&delete _0x4a0aeb[_0x5ea113['name']],_0x4a0aeb[_0x1a593b(0xd5)](_0x5ea113);});let _0x2220cc=MetaApi[_0x274cf7(0xba)](this['gridConfig'][_0x274cf7(0xd4)]);return await MetaApi[_0x274cf7(0xb1)](this[_0x274cf7(0xd6)][_0x274cf7(0xb7)],_0x4a0aeb,_0x402988,_0xc882fb,_0x3d8cdf,_0x2220cc);}async['clickEmpty'](_0x5a40d9){const _0xe873e2=a0_0x40ffc7;this['confirmCallback']&&this[_0xe873e2(0xa8)](null),closePopup(this);}async['clickCancel'](_0x508ed2){closePopup(this);}async['clickSelect'](_0x4d7547){const _0x18de35=a0_0x40ffc7;let _0x56d1cd=this['grist']['selected'];_0x56d1cd&&0x0!=_0x56d1cd[_0x18de35(0xb4)]?this[_0x18de35(0xb6)](_0x56d1cd[0x0]):MetaApi[_0x18de35(0xbb)](_0x18de35(0xb3),TermsUtil[_0x18de35(0xd8)](_0x18de35(0xbc)));}async[a0_0x40ffc7(0xb6)](_0x46e88e){const _0x53d0a3=a0_0x40ffc7;this[_0x53d0a3(0xa8)]&&this[_0x53d0a3(0xa8)](_0x46e88e),closePopup(this);}}customElements[a0_0x40ffc7(0xae)]('ox-resource-code-selector-popup',OxResourceCodeSelectorPopup);
package/client/index.js CHANGED
@@ -19,6 +19,7 @@ export * from './mixin/meta-form-mixin'
19
19
  export * from './mixin/meta-tab-mixin'
20
20
  export * from './mixin/meta-grist-tab-mixin'
21
21
  export * from './mixin/meta-tab-detail-mixin'
22
+ export * from './mixin/meta-main-tab-mixin'
22
23
 
23
24
  /** Page **/
24
25
  export * from './pages/meta-form-element'
@@ -31,3 +32,6 @@ export * from './pages/meta-master-detail-page'
31
32
  export * from './pages/meta-tab-element'
32
33
  export * from './pages/meta-tab-detail-element'
33
34
  export * from './pages/meta-tab-detail-page'
35
+ export * from './pages/meta-main-tab-page'
36
+ export * from './pages/meta-main-tab-element'
37
+
@@ -1 +1 @@
1
- const a0_0x310285=a0_0x22a9;function a0_0x22a9(_0x442ecf,_0x377c48){const _0x192461=a0_0x1924();return a0_0x22a9=function(_0x22a9ff,_0x35e66a){_0x22a9ff=_0x22a9ff-0xf7;let _0x2e5bf5=_0x192461[_0x22a9ff];return _0x2e5bf5;},a0_0x22a9(_0x442ecf,_0x377c48);}(function(_0x160821,_0x51c71a){const _0x20fe42=a0_0x22a9,_0x56aa7e=_0x160821();while(!![]){try{const _0x23b86d=-parseInt(_0x20fe42(0xf9))/0x1*(-parseInt(_0x20fe42(0xfa))/0x2)+parseInt(_0x20fe42(0x122))/0x3+parseInt(_0x20fe42(0x11b))/0x4*(parseInt(_0x20fe42(0x11f))/0x5)+-parseInt(_0x20fe42(0x101))/0x6*(parseInt(_0x20fe42(0x112))/0x7)+-parseInt(_0x20fe42(0x115))/0x8*(parseInt(_0x20fe42(0xfe))/0x9)+-parseInt(_0x20fe42(0xf7))/0xa+parseInt(_0x20fe42(0x124))/0xb;if(_0x23b86d===_0x51c71a)break;else _0x56aa7e['push'](_0x56aa7e['shift']());}catch(_0x3600a3){_0x56aa7e['push'](_0x56aa7e['shift']());}}}(a0_0x1924,0xbb067));function a0_0x1924(){const _0x2265eb=['12013287fKmEYz','active','14969950ikzcZx','lifecycle','1qYJIkm','2985802AcHxRs','parseBasicGridConfigs','setParentId','isEmpty','3738519koJvJW','after','filterForm','324AASlFu','grist','parseBasicTabConfigs','title_detail','name','tTitle','isElement','openDynamicPopup','fetch','isPage','isPopup','isDetail','getMenuMeta','is_popup','fetchHandler','getAndParseMenuMeta','parseBasicButtonConfigs','157171wHCRGP','title','parent_id','16omFKaD','isNotEmpty','errors','properties','callScenario','menu','8WTniCX','etcConfig','excuteOpenPopupButtonClick','parseBasicFormConfigs','897860RmbpfD','is_detail','split','4086396IdWaGW','getParams'];a0_0x1924=function(){return _0x2265eb;};return a0_0x1924();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x286e57=>class extends _0x286e57{static get[a0_0x310285(0x118)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x23582d=>Boolean(_0x23582d)},'is_popup':{'type':Boolean,'converter':_0x5b2347=>Boolean(_0x5b2347)},'is_activity':{'type':Boolean,'converter':_0x1ba498=>Boolean(_0x1ba498)},'is_readonly':{'type':Boolean,'converter':_0x968e01=>Boolean(_0x968e01)}};}get[a0_0x310285(0x107)](){const _0x20cd3f=a0_0x310285;return!0x0===this['is_detail']||!0x0===this[_0x20cd3f(0x10e)];}get[a0_0x310285(0x10c)](){const _0x5ad806=a0_0x310285;return!ValueUtil[_0x5ad806(0xfd)](this[_0x5ad806(0x120)])&&this[_0x5ad806(0x120)];}async['pageUpdated'](_0x202d77,_0x4e6ba5,_0x41bf75){const _0x1f21a5=a0_0x310285;let _0x4fd8dd=this[_0x1f21a5(0xf8)]?.['params']?this[_0x1f21a5(0xf8)]['params']:{};this[_0x1f21a5(0x10a)]&&this[_0x1f21a5(0x125)]&&0x0==_0x41bf75[_0x1f21a5(0x125)]&&ValueUtil[_0x1f21a5(0x116)](_0x4fd8dd)&&this['fetch']();}get[a0_0x310285(0x10b)](){const _0x552787=a0_0x310285;return!ValueUtil['isEmpty'](this[_0x552787(0x10e)])&&this[_0x552787(0x10e)];}get[a0_0x310285(0x10a)](){const _0x1df83c=a0_0x310285;return!this[_0x1df83c(0x120)]&&!this['is_popup'];}async[a0_0x310285(0x110)](){const _0x2e1a4a=a0_0x310285;let _0x5d452d=await MetaApi[_0x2e1a4a(0x10d)](this);_0x5d452d&&(this['menuInfo']=_0x5d452d[_0x2e1a4a(0x11a)],this[_0x2e1a4a(0x11c)]=_0x5d452d['etc'],this[_0x2e1a4a(0xfb)]&&this[_0x2e1a4a(0xfb)](_0x5d452d),this['parseBasicServiceConfigs']&&this['parseBasicServiceConfigs'](_0x5d452d),this[_0x2e1a4a(0x11e)]&&this[_0x2e1a4a(0x11e)](_0x5d452d),this['parseBasicTabConfigs']&&this[_0x2e1a4a(0x103)](_0x5d452d),this[_0x2e1a4a(0x111)]&&this[_0x2e1a4a(0x111)](_0x5d452d));}async[a0_0x310285(0x109)](){const _0x191b04=a0_0x310285;ValueUtil[_0x191b04(0x116)](this[_0x191b04(0x102)])?this[_0x191b04(0x102)][_0x191b04(0x109)]():(ValueUtil['isNotEmpty'](this[_0x191b04(0x100)])||this[_0x191b04(0x10f)])&&await this[_0x191b04(0x10f)]();}async[a0_0x310285(0x11d)](_0x3f46db,_0x29278f,_0x471dcd){const _0x3e9b49=a0_0x310285;let _0x555f9a=TermsUtil[_0x3e9b49(0x106)](_0x3f46db[_0x3e9b49(0x113)]);ValueUtil[_0x3e9b49(0x116)](_0x3f46db['title_detail'])&&(_0x555f9a=_0x555f9a+'-'+ValueUtil[_0x3e9b49(0x123)](_0x29278f,..._0x3f46db[_0x3e9b49(0x104)][_0x3e9b49(0x121)]('.'))),MetaApi[_0x3e9b49(0x108)](_0x555f9a,_0x3f46db,_0x29278f,_0x471dcd);}async['executeCallScenarioButtonClick'](_0x2e61bc,_0x2e60a5,_0xedbfbb){const _0x1018c2=a0_0x310285;let _0x320e32=await MetaApi[_0x1018c2(0x119)](_0x2e61bc[_0x1018c2(0x105)],_0x2e61bc[_0x1018c2(0x105)],_0x2e60a5);!0x1!==_0x320e32&&!_0x320e32[_0x1018c2(0x117)]&&ValueUtil['isNotEmpty'](_0x2e61bc[_0x1018c2(0xff)])&&_0xedbfbb();}[a0_0x310285(0xfc)](_0x135821){const _0x46bfb8=a0_0x310285;this[_0x46bfb8(0x114)]=_0x135821,this[_0x46bfb8(0x109)]();}};
1
+ const a0_0x927d29=a0_0x4943;function a0_0x3f39(){const _0x433d07=['844196TPWoFK','getAndParseMenuMeta','fetch','508yeSrWz','getMenuMeta','openDynamicPopup','3009948lcWOER','properties','errors','getParams','setParentId','parseBasicButtonConfigs','isEmpty','menu','isNotEmpty','3391164pJzEjX','parseBasicServiceConfigs','excuteOpenPopupButtonClick','371876zvuHzX','is_popup','after','parent_id','params','callScenario','active','3536575MnnNRI','isDetail','is_detail','fetchHandler','filterForm','13060648MYwyEP','etcConfig','tTitle','isPage','parseBasicTabConfigs','lifecycle','3085ummgdU','name','title_detail','split','grist'];a0_0x3f39=function(){return _0x433d07;};return a0_0x3f39();}(function(_0x41b24b,_0x4b953b){const _0x56214c=a0_0x4943,_0x1e8cc5=_0x41b24b();while(!![]){try{const _0x5380d4=-parseInt(_0x56214c(0x1f9))/0x1+-parseInt(_0x56214c(0x20b))/0x2+-parseInt(_0x56214c(0x1ff))/0x3+-parseInt(_0x56214c(0x1fc))/0x4*(parseInt(_0x56214c(0x1f4))/0x5)+parseInt(_0x56214c(0x208))/0x6+parseInt(_0x56214c(0x212))/0x7+parseInt(_0x56214c(0x1ee))/0x8;if(_0x5380d4===_0x4b953b)break;else _0x1e8cc5['push'](_0x1e8cc5['shift']());}catch(_0x31dfe0){_0x1e8cc5['push'](_0x1e8cc5['shift']());}}}(a0_0x3f39,0x90557));function a0_0x4943(_0x2da672,_0x326814){const _0x3f391f=a0_0x3f39();return a0_0x4943=function(_0x49431e,_0x1baea3){_0x49431e=_0x49431e-0x1ec;let _0x367143=_0x3f391f[_0x49431e];return _0x367143;},a0_0x4943(_0x2da672,_0x326814);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x21465a=>class extends _0x21465a{static get[a0_0x927d29(0x200)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x1322a5=>Boolean(_0x1322a5)},'is_popup':{'type':Boolean,'converter':_0x3f7df8=>Boolean(_0x3f7df8)},'is_activity':{'type':Boolean,'converter':_0x231b15=>Boolean(_0x231b15)},'is_readonly':{'type':Boolean,'converter':_0x1c405c=>Boolean(_0x1c405c)}};}get['isElement'](){const _0x3e1e83=a0_0x927d29;return!0x0===this[_0x3e1e83(0x214)]||!0x0===this[_0x3e1e83(0x20c)];}get[a0_0x927d29(0x213)](){const _0x106f79=a0_0x927d29;return!ValueUtil[_0x106f79(0x205)](this[_0x106f79(0x214)])&&this[_0x106f79(0x214)];}async['pageUpdated'](_0x49260a,_0x251227,_0x38d98d){const _0x293a1e=a0_0x927d29;let _0x2fc789=this[_0x293a1e(0x1f3)]?.['params']?this[_0x293a1e(0x1f3)][_0x293a1e(0x20f)]:{};this[_0x293a1e(0x1f1)]&&this[_0x293a1e(0x211)]&&0x0==_0x38d98d[_0x293a1e(0x211)]&&ValueUtil[_0x293a1e(0x207)](_0x2fc789)&&this[_0x293a1e(0x1fb)]();}get['isPopup'](){const _0x7ddc1f=a0_0x927d29;return!ValueUtil[_0x7ddc1f(0x205)](this['is_popup'])&&this[_0x7ddc1f(0x20c)];}get['isPage'](){const _0x2d8ec6=a0_0x927d29;return!this['is_detail']&&!this[_0x2d8ec6(0x20c)];}async[a0_0x927d29(0x1fa)](){const _0x5bf04b=a0_0x927d29;let _0x375111=await MetaApi[_0x5bf04b(0x1fd)](this);_0x375111&&(this['menuInfo']=_0x375111[_0x5bf04b(0x206)],this[_0x5bf04b(0x1ef)]=_0x375111['etc'],this['parseBasicGridConfigs']&&this['parseBasicGridConfigs'](_0x375111),this[_0x5bf04b(0x209)]&&this[_0x5bf04b(0x209)](_0x375111),this['parseBasicFormConfigs']&&this['parseBasicFormConfigs'](_0x375111),this[_0x5bf04b(0x1f2)]&&this[_0x5bf04b(0x1f2)](_0x375111),this[_0x5bf04b(0x204)]&&this[_0x5bf04b(0x204)](_0x375111));}async[a0_0x927d29(0x1fb)](){const _0x18458e=a0_0x927d29;ValueUtil[_0x18458e(0x207)](this[_0x18458e(0x1f8)])?this[_0x18458e(0x1f8)][_0x18458e(0x1fb)]():(ValueUtil[_0x18458e(0x207)](this[_0x18458e(0x1ed)])||this[_0x18458e(0x1ec)])&&await this[_0x18458e(0x1ec)]();}async[a0_0x927d29(0x20a)](_0x405686,_0x499bad,_0x4deafb){const _0x35a2c5=a0_0x927d29;let _0x4dbe50=TermsUtil[_0x35a2c5(0x1f0)](_0x405686['title']);ValueUtil['isNotEmpty'](_0x405686[_0x35a2c5(0x1f6)])&&(_0x4dbe50=_0x4dbe50+'-'+ValueUtil[_0x35a2c5(0x202)](_0x499bad,..._0x405686[_0x35a2c5(0x1f6)][_0x35a2c5(0x1f7)]('.'))),MetaApi[_0x35a2c5(0x1fe)](_0x4dbe50,_0x405686,_0x499bad,_0x4deafb);}async['executeCallScenarioButtonClick'](_0x15557e,_0x1faa11,_0x146c3a){const _0x5f0596=a0_0x927d29;let _0x4fe484=await MetaApi[_0x5f0596(0x210)](_0x15557e['name'],_0x15557e[_0x5f0596(0x1f5)],_0x1faa11);!0x1!==_0x4fe484&&!_0x4fe484[_0x5f0596(0x201)]&&ValueUtil[_0x5f0596(0x207)](_0x15557e[_0x5f0596(0x20d)])&&_0x146c3a();}[a0_0x927d29(0x203)](_0x53356e){const _0x5828cb=a0_0x927d29;this[_0x5828cb(0x20e)]=_0x53356e,this['fetch']();}};
@@ -1,4 +1,4 @@
1
- function a0_0x1d8a(_0x3bd9d4,_0x413da4){const _0x424fb2=a0_0x424f();return a0_0x1d8a=function(_0x1d8ace,_0x405d77){_0x1d8ace=_0x1d8ace-0x90;let _0x498569=_0x424fb2[_0x1d8ace];return _0x498569;},a0_0x1d8a(_0x3bd9d4,_0x413da4);}const a0_0x509611=a0_0x1d8a;(function(_0x4f9e55,_0x57cf60){const _0x43c3cd=a0_0x1d8a,_0x24e410=_0x4f9e55();while(!![]){try{const _0x533abd=parseInt(_0x43c3cd(0x91))/0x1+-parseInt(_0x43c3cd(0xad))/0x2+-parseInt(_0x43c3cd(0xc2))/0x3*(parseInt(_0x43c3cd(0x97))/0x4)+parseInt(_0x43c3cd(0xbe))/0x5+-parseInt(_0x43c3cd(0x98))/0x6+-parseInt(_0x43c3cd(0xcd))/0x7+parseInt(_0x43c3cd(0xa3))/0x8;if(_0x533abd===_0x57cf60)break;else _0x24e410['push'](_0x24e410['shift']());}catch(_0x4381bb){_0x24e410['push'](_0x24e410['shift']());}}}(a0_0x424f,0xb430d));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x424f(){const _0x2712a7=['gridConfig','shadowRoot','getBasicGristStyles','getContextObject','grist','isElement','activityDataSet','getParams','title','parseGridConfigSet','render','exportableData','ox-grist','delete','getBasicGristHtml','menuInfo','1451480CppIba','firstUpdated','deleteByIds','import','6JOXDhi','fetch','gristId','tTitle','isPage','startsWith','isNotEmpty','filterFormId','find','records','clear','9612260QZHhNr','context','1405190RHeLAK','querySelector','getData','ox-filters-form','searchConfig','properties','390468GONBja','4979244zFrkma','dataSet','___data','renderRoot','stringify','parseGristConfigs','getSelectedIdList','export','filterForm','gridColumnConfig','findOne','20498720NZfpBK','forEach','search','grid','data','grid_column','parse','connectedCallback','parseBasicGridConfigs','pageInitialized','2242954ssbKJe'];a0_0x424f=function(){return _0x2712a7;};return a0_0x424f();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0xe310a5=>class extends MetaButtonMixin(_0xe310a5){static get['styles'](){const _0x31d1d4=a0_0x1d8a;return MetaApi[_0x31d1d4(0xb0)]();}static get[a0_0x509611(0x96)](){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_0x509611(0xb2)](){const _0x18aacb=a0_0x509611;return this[_0x18aacb(0x9b)]?.[_0x18aacb(0x92)](this['gristId']);}get[a0_0x509611(0xa0)](){const _0x7184d3=a0_0x509611;return this[_0x7184d3(0xaf)]?.[_0x7184d3(0x92)](this[_0x7184d3(0xc9)]);}get[a0_0x509611(0x90)](){const _0xd4144c=a0_0x509611;return MetaUiUtil[_0xd4144c(0xb1)](this);}async[a0_0x509611(0xaa)](){const _0x1a0f25=a0_0x509611;this[_0x1a0f25(0xc4)]=_0x1a0f25(0xba),this['filterFormId']=_0x1a0f25(0x94),await this['getAndParseMenuMeta'](),this[_0x1a0f25(0xb3)]&&await this[_0x1a0f25(0x9d)](),this[_0x1a0f25(0xb4)]&&(this[_0x1a0f25(0x99)]=this[_0x1a0f25(0xb4)]),super[_0x1a0f25(0xaa)]&&await super[_0x1a0f25(0xaa)]();}async['firstUpdated'](){const _0x4d494b=a0_0x509611;super[_0x4d494b(0xbf)]&&await super[_0x4d494b(0xbf)]();}async['pageInitialized'](){const _0x44cba4=a0_0x509611;this[_0x44cba4(0xc6)]&&await this[_0x44cba4(0x9d)](),super['pageInitialized']&&await super[_0x44cba4(0xac)]();}[a0_0x509611(0xb8)](){const _0x370886=a0_0x509611;return html`
2
- ${MetaApi[_0x370886(0xbc)](this)}
3
- ${this[_0x370886(0xc6)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
- `;}[a0_0x509611(0xab)](_0x14e4d6){const _0x17eedd=a0_0x509611;this[_0x17eedd(0xae)]=_0x14e4d6[_0x17eedd(0xa6)],this[_0x17eedd(0xa1)]=_0x14e4d6[_0x17eedd(0xa8)],this[_0x17eedd(0x95)]=_0x14e4d6[_0x17eedd(0xa5)];}async[a0_0x509611(0x9d)](){const _0x1dc2f8=a0_0x509611;this['gristConfigSet']=await MetaApi[_0x1dc2f8(0xb7)](this);}async['fetch'](){const _0x504f39=a0_0x509611;await this[_0x504f39(0xb2)][_0x504f39(0xc3)]();}async['save'](){const _0x353a2e=a0_0x509611;let _0xefe28a=MetaApi['patchesForUpdateMultiple'](this[_0x353a2e(0xb2)]);!!ValueUtil[_0x353a2e(0xc8)](_0xefe28a)&&await this['updateMultiple'](_0xefe28a)&&this[_0x353a2e(0xc3)]();}async[a0_0x509611(0xca)](){const _0x210cac=a0_0x509611;let _0x289979=MetaApi[_0x210cac(0x9e)](this[_0x210cac(0xb2)],!0x0);return ValueUtil[_0x210cac(0xc8)](_0x289979)?await this[_0x210cac(0xa2)](_0x289979[0x0]):{};}async[a0_0x509611(0xbb)](){const _0x573790=a0_0x509611;let _0x25d70b=MetaApi[_0x573790(0x9e)](this[_0x573790(0xb2)],!0x0);!!ValueUtil[_0x573790(0xc8)](_0x25d70b)&&await this[_0x573790(0xc0)](_0x25d70b)&&this['fetch']();}async[a0_0x509611(0x9f)](){const _0x52df65=a0_0x509611;let _0x360fe9=TermsUtil[_0x52df65(0xc5)](ValueUtil[_0x52df65(0xb5)](this[_0x52df65(0xbd)],_0x52df65(0xb6)));return await MetaApi[_0x52df65(0xb9)](this[_0x52df65(0xb3)],_0x360fe9,this[_0x52df65(0xb2)]);}async[a0_0x509611(0xc1)](){}async[a0_0x509611(0xcc)](){const _0x40b208=a0_0x509611;this[_0x40b208(0xb2)]&&(this['grist'][_0x40b208(0xa7)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x509611(0x93)](){const _0x7a696c=a0_0x509611;let _0x5a2076=this[_0x7a696c(0xb2)][_0x7a696c(0x9a)][_0x7a696c(0xcb)];return _0x5a2076=JSON[_0x7a696c(0xa9)](JSON[_0x7a696c(0x9c)](_0x5a2076)),_0x5a2076[_0x7a696c(0xa4)](_0xa2bef9=>{const _0xcf3ae6=_0x7a696c;Object['keys'](_0xa2bef9)[_0xcf3ae6(0xa4)](_0x56b501=>{const _0x473fcb=_0xcf3ae6;_0x56b501[_0x473fcb(0xc7)]('__')&&delete _0xa2bef9[_0x56b501];});}),_0x5a2076;}};
1
+ const a0_0xb1e1d8=a0_0x4f96;(function(_0x5d41f1,_0x1e492a){const _0x271425=a0_0x4f96,_0x48e81e=_0x5d41f1();while(!![]){try{const _0xda6fa1=-parseInt(_0x271425(0xcd))/0x1*(-parseInt(_0x271425(0xc6))/0x2)+parseInt(_0x271425(0xbe))/0x3*(-parseInt(_0x271425(0xbf))/0x4)+-parseInt(_0x271425(0xd4))/0x5+parseInt(_0x271425(0xba))/0x6+-parseInt(_0x271425(0xe6))/0x7+-parseInt(_0x271425(0xe8))/0x8*(parseInt(_0x271425(0xb2))/0x9)+-parseInt(_0x271425(0xb7))/0xa*(-parseInt(_0x271425(0xda))/0xb);if(_0xda6fa1===_0x1e492a)break;else _0x48e81e['push'](_0x48e81e['shift']());}catch(_0x162350){_0x48e81e['push'](_0x48e81e['shift']());}}}(a0_0x3d52,0xda9b7));function a0_0x3d52(){const _0x4f06b5=['___data','findOne','grid_column','search','198644DhnRmh','isElement','activityDataSet','properties','import','keys','startsWith','11neBSqG','parse','querySelector','parseGridConfigSet','gristConfigSet','updateMultiple','grid','2456035bZuUnq','pageInitialized','isPage','getParams','filterForm','fetch','14487077YByKyZ','searchConfig','context','firstUpdated','gridColumnConfig','records','gridConfig','getData','parseGristConfigs','connectedCallback','grist','gristId','9844331ZxnDoT','parseBasicGridConfigs','2295672eOeoPH','menuInfo','forEach','exportableData','getBasicGristStyles','save','9sJJRch','getSelectedIdList','isNotEmpty','data','render','10ZmsFZe','styles','find','9012174tiXlDM','ox-filters-form','filterFormId','getButtonContainer','623748UsTwAj','16mmrIWO','clear','deleteByIds'];a0_0x3d52=function(){return _0x4f06b5;};return a0_0x3d52();}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';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x4f96(_0x540355,_0x402c70){const _0x3d522e=a0_0x3d52();return a0_0x4f96=function(_0x4f9691,_0x4cf3e8){_0x4f9691=_0x4f9691-0xae;let _0x40f2fd=_0x3d522e[_0x4f9691];return _0x40f2fd;},a0_0x4f96(_0x540355,_0x402c70);}export const MetaBasicGristMixin=_0x48d7b3=>class extends MetaButtonMixin(_0x48d7b3){static get[a0_0xb1e1d8(0xb8)](){const _0x3c01b3=a0_0xb1e1d8;return MetaApi[_0x3c01b3(0xb0)]();}static get[a0_0xb1e1d8(0xc9)](){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_0xb1e1d8(0xe4)](){const _0x2e3a57=a0_0xb1e1d8;return this['renderRoot']?.[_0x2e3a57(0xcf)](this[_0x2e3a57(0xe5)]);}get[a0_0xb1e1d8(0xd8)](){return this['shadowRoot']?.['querySelector'](this['filterFormId']);}get[a0_0xb1e1d8(0xdc)](){return MetaUiUtil['getContextObject'](this);}async[a0_0xb1e1d8(0xe3)](){const _0x1281fd=a0_0xb1e1d8;this[_0x1281fd(0xe5)]='ox-grist',this[_0x1281fd(0xbc)]=_0x1281fd(0xbb),await this['getAndParseMenuMeta'](),this[_0x1281fd(0xc7)]&&await this[_0x1281fd(0xe2)](),this[_0x1281fd(0xc8)]&&(this['dataSet']=this[_0x1281fd(0xc8)]),super[_0x1281fd(0xe3)]&&await super[_0x1281fd(0xe3)]();}async[a0_0xb1e1d8(0xdd)](){const _0x3157a6=a0_0xb1e1d8;super[_0x3157a6(0xdd)]&&await super[_0x3157a6(0xdd)]();}async[a0_0xb1e1d8(0xd5)](){const _0x43327c=a0_0xb1e1d8;this[_0x43327c(0xd6)]&&await this[_0x43327c(0xe2)](),super[_0x43327c(0xd5)]&&await super['pageInitialized']();}[a0_0xb1e1d8(0xb6)](){const _0x43e7c1=a0_0xb1e1d8;return html`
2
+ ${MetaApi['getBasicGristHtml'](this)}
3
+ ${this[_0x43e7c1(0xd6)]?html``:MetaUiUtil[_0x43e7c1(0xbd)](this)}
4
+ `;}[a0_0xb1e1d8(0xe7)](_0x21504b){const _0x33724e=a0_0xb1e1d8;this[_0x33724e(0xe0)]=_0x21504b[_0x33724e(0xd3)],this[_0x33724e(0xde)]=_0x21504b[_0x33724e(0xc4)],this[_0x33724e(0xdb)]=_0x21504b[_0x33724e(0xc5)];}async[a0_0xb1e1d8(0xe2)](){const _0x319eef=a0_0xb1e1d8;this[_0x319eef(0xd1)]=await MetaApi[_0x319eef(0xd0)](this);}async[a0_0xb1e1d8(0xd9)](){await this['grist']['fetch']();}async[a0_0xb1e1d8(0xb1)](){const _0x25520a=a0_0xb1e1d8;let _0x2ddbb7=MetaApi['patchesForUpdateMultiple'](this[_0x25520a(0xe4)]);!!ValueUtil['isNotEmpty'](_0x2ddbb7)&&await this[_0x25520a(0xd2)](_0x2ddbb7)&&this['fetch']();}async[a0_0xb1e1d8(0xb9)](){const _0x38a3b6=a0_0xb1e1d8;let _0x5a19e4=MetaApi[_0x38a3b6(0xb3)](this[_0x38a3b6(0xe4)],!0x0);return ValueUtil[_0x38a3b6(0xb4)](_0x5a19e4)?await this[_0x38a3b6(0xc3)](_0x5a19e4[0x0]):{};}async['delete'](){const _0x15ed98=a0_0xb1e1d8;let _0xd92a49=MetaApi[_0x15ed98(0xb3)](this[_0x15ed98(0xe4)],!0x0);!!ValueUtil['isNotEmpty'](_0xd92a49)&&await this[_0x15ed98(0xc1)](_0xd92a49)&&this[_0x15ed98(0xd9)]();}async['export'](){const _0x56b3b5=a0_0xb1e1d8;let _0x4eddae=TermsUtil['tTitle'](ValueUtil[_0x56b3b5(0xd7)](this[_0x56b3b5(0xe9)],'title'));return await MetaApi[_0x56b3b5(0xaf)](this[_0x56b3b5(0xc7)],_0x4eddae,this['grist']);}async[a0_0xb1e1d8(0xca)](){}async[a0_0xb1e1d8(0xc0)](){const _0x368b06=a0_0xb1e1d8;this[_0x368b06(0xe4)]&&(this[_0x368b06(0xe4)][_0x368b06(0xb5)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0xb1e1d8(0xe1)](){const _0x81e024=a0_0xb1e1d8;let _0x5c337b=this[_0x81e024(0xe4)][_0x81e024(0xc2)][_0x81e024(0xdf)];return _0x5c337b=JSON[_0x81e024(0xce)](JSON['stringify'](_0x5c337b)),_0x5c337b[_0x81e024(0xae)](_0x15706e=>{const _0x160587=_0x81e024;Object[_0x160587(0xcb)](_0x15706e)[_0x160587(0xae)](_0xa4da33=>{const _0x462b1c=_0x160587;_0xa4da33[_0x462b1c(0xcc)]('__')&&delete _0x15706e[_0xa4da33];});}),_0x5c337b;}};
@@ -1 +1 @@
1
- const a0_0x1df804=a0_0x5d2c;function a0_0x5d2c(_0x4e9feb,_0x2b10d9){const _0xe8e2ab=a0_0xe8e2();return a0_0x5d2c=function(_0x5d2cd4,_0x351367){_0x5d2cd4=_0x5d2cd4-0x13b;let _0x4d2193=_0xe8e2ab[_0x5d2cd4];return _0x4d2193;},a0_0x5d2c(_0x4e9feb,_0x2b10d9);}(function(_0xe8c69,_0x179880){const _0x1a30af=a0_0x5d2c,_0x712d84=_0xe8c69();while(!![]){try{const _0x412642=parseInt(_0x1a30af(0x148))/0x1+parseInt(_0x1a30af(0x14a))/0x2+parseInt(_0x1a30af(0x13c))/0x3*(-parseInt(_0x1a30af(0x14d))/0x4)+parseInt(_0x1a30af(0x13d))/0x5*(parseInt(_0x1a30af(0x14b))/0x6)+parseInt(_0x1a30af(0x152))/0x7*(-parseInt(_0x1a30af(0x158))/0x8)+-parseInt(_0x1a30af(0x149))/0x9*(-parseInt(_0x1a30af(0x14f))/0xa)+parseInt(_0x1a30af(0x157))/0xb*(-parseInt(_0x1a30af(0x159))/0xc);if(_0x412642===_0x179880)break;else _0x712d84['push'](_0x712d84['shift']());}catch(_0x3cca39){_0x712d84['push'](_0x712d84['shift']());}}}(a0_0xe8e2,0xa201a));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0xe8e2(){const _0x2b8a0e=['gristButtonHandler','export','button','getButtonContainer','isButtonExist','parseBasicButtonConfigs','customButtonHandler','949476uRQyOY','7677SXErmZ','1960350Pajrbi','1842252vkFZot','getContextButtons','37460pLNMVA','add','7070JAksNN','buttonConfig','getCustomButtonContainerStyles','189sxMfHo','import','useButtonImport','getBasicButtonHandler','useButtonExport','5335fIMjtv','13944MdborM','26496xeVBqY','getCustomButtonContainerStyle','339aMaBMr','5hEWvKg','useButtonAdd','getButtonActionHandler','isPage'];a0_0xe8e2=function(){return _0x2b8a0e;};return a0_0xe8e2();}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x442dfd=>class extends MetaServiceMixin(_0x442dfd){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1df804(0x13b)](){const _0x39732a=a0_0x1df804;return MetaUiUtil[_0x39732a(0x151)]();}[a0_0x1df804(0x14c)](){const _0x28d614=a0_0x1df804;return MetaUiUtil[_0x28d614(0x14c)](this);}['getButtonContainer'](){const _0x4712b6=a0_0x1df804;return this[_0x4712b6(0x140)]?html``:MetaUiUtil[_0x4712b6(0x144)](this);}async[a0_0x1df804(0x155)](_0x22add8,_0x1dc1f8,_0x58eff7){const _0x3c6702=a0_0x1df804;return await MetaUiUtil[_0x3c6702(0x13f)](this,_0x22add8,_0x1dc1f8,_0x58eff7);}async[a0_0x1df804(0x147)](_0x28afab){const _0x3b282f=a0_0x1df804;await MetaUiUtil[_0x3b282f(0x147)](this,_0x28afab);}async[a0_0x1df804(0x141)](_0x265d93,_0xe0e55a){const _0x3b437a=a0_0x1df804;await MetaUiUtil[_0x3b437a(0x141)](this,_0x265d93,_0xe0e55a);}[a0_0x1df804(0x146)](_0x5e8b14){const _0xc88417=a0_0x1df804;this[_0xc88417(0x150)]=_0x5e8b14[_0xc88417(0x143)],this[_0xc88417(0x154)]=MetaUiUtil[_0xc88417(0x145)](this[_0xc88417(0x150)],_0xc88417(0x153)),this[_0xc88417(0x156)]=MetaUiUtil[_0xc88417(0x145)](this[_0xc88417(0x150)],_0xc88417(0x142)),this[_0xc88417(0x13e)]=MetaUiUtil[_0xc88417(0x145)](this['buttonConfig'],_0xc88417(0x14e));}};
1
+ const a0_0x2fdba2=a0_0x3372;(function(_0x5dbc58,_0x4acbf1){const _0x35c565=a0_0x3372,_0x346e3c=_0x5dbc58();while(!![]){try{const _0x265949=parseInt(_0x35c565(0x1ac))/0x1+-parseInt(_0x35c565(0x1b6))/0x2*(-parseInt(_0x35c565(0x1b4))/0x3)+parseInt(_0x35c565(0x1a7))/0x4+-parseInt(_0x35c565(0x1ad))/0x5+parseInt(_0x35c565(0x1aa))/0x6+parseInt(_0x35c565(0x1b9))/0x7+-parseInt(_0x35c565(0x1bb))/0x8*(parseInt(_0x35c565(0x1a9))/0x9);if(_0x265949===_0x4acbf1)break;else _0x346e3c['push'](_0x346e3c['shift']());}catch(_0x4871e5){_0x346e3c['push'](_0x346e3c['shift']());}}}(a0_0xf010,0x98479));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0xf010(){const _0xf974e0=['parseBasicButtonConfigs','4801832MlCTQz','getCustomButtonContainerStyles','40CeTefF','isButtonExist','import','customButtonHandler','1317564PPnoZv','getButtonActionHandler','3211767Rqbils','4655616oXxYwe','useButtonExport','591097XlrIfJ','4480440QyJXKo','gristButtonHandler','isPage','getCustomButtonContainerStyle','add','getContextButtons','buttonConfig','162660sVHgOL','button','34QqMqPj','getButtonContainer'];a0_0xf010=function(){return _0xf974e0;};return a0_0xf010();}import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x3372(_0x45081e,_0x57a58b){const _0xf01038=a0_0xf010();return a0_0x3372=function(_0x3372d8,_0x3b0254){_0x3372d8=_0x3372d8-0x1a4;let _0x457346=_0xf01038[_0x3372d8];return _0x457346;},a0_0x3372(_0x45081e,_0x57a58b);}export const MetaButtonMixin=_0x15871b=>class extends MetaServiceMixin(_0x15871b){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x2fdba2(0x1b0)](){const _0x4213bb=a0_0x2fdba2;return MetaUiUtil[_0x4213bb(0x1ba)]();}[a0_0x2fdba2(0x1b2)](){const _0x546e52=a0_0x2fdba2;return MetaUiUtil[_0x546e52(0x1b2)](this);}[a0_0x2fdba2(0x1b7)](){const _0x20fca8=a0_0x2fdba2;return this[_0x20fca8(0x1af)]?html``:MetaUiUtil[_0x20fca8(0x1b7)](this);}async['getBasicButtonHandler'](_0x574976,_0x2f823a,_0x1fd2ca){const _0x3e6188=a0_0x2fdba2;return await MetaUiUtil[_0x3e6188(0x1a8)](this,_0x574976,_0x2f823a,_0x1fd2ca);}async[a0_0x2fdba2(0x1a6)](_0x843dd7){const _0x1a6e4f=a0_0x2fdba2;await MetaUiUtil[_0x1a6e4f(0x1a6)](this,_0x843dd7);}async[a0_0x2fdba2(0x1ae)](_0xd31b06,_0xe15d50){const _0x2b9114=a0_0x2fdba2;await MetaUiUtil[_0x2b9114(0x1ae)](this,_0xd31b06,_0xe15d50);}[a0_0x2fdba2(0x1b8)](_0x4fb5e0){const _0x2eee90=a0_0x2fdba2;this['buttonConfig']=_0x4fb5e0[_0x2eee90(0x1b5)],this['useButtonImport']=MetaUiUtil[_0x2eee90(0x1a4)](this['buttonConfig'],_0x2eee90(0x1a5)),this[_0x2eee90(0x1ab)]=MetaUiUtil[_0x2eee90(0x1a4)](this['buttonConfig'],'export'),this['useButtonAdd']=MetaUiUtil[_0x2eee90(0x1a4)](this[_0x2eee90(0x1b3)],_0x2eee90(0x1b1));}};
@@ -1 +1 @@
1
- const a0_0x9f34e7=a0_0x3283;(function(_0x232e05,_0x38009d){const _0x3e7118=a0_0x3283,_0x4ba016=_0x232e05();while(!![]){try{const _0x5298f5=parseInt(_0x3e7118(0x1b8))/0x1*(parseInt(_0x3e7118(0x1ed))/0x2)+-parseInt(_0x3e7118(0x1ce))/0x3+-parseInt(_0x3e7118(0x1ea))/0x4+parseInt(_0x3e7118(0x1be))/0x5+parseInt(_0x3e7118(0x1d5))/0x6+-parseInt(_0x3e7118(0x1ee))/0x7+parseInt(_0x3e7118(0x1c8))/0x8;if(_0x5298f5===_0x38009d)break;else _0x4ba016['push'](_0x4ba016['shift']());}catch(_0x40cdc5){_0x4ba016['push'](_0x4ba016['shift']());}}}(a0_0x41e0,0x9b484));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x41e0(){const _0x31d72a=['tagName','parseFormConfigs','styles','isElement','19550048sQddWP','cuFlag','addEventListener','renderRoot','is_activity','Escape','3775608KhXqON','dirtyData','click','Enter','assign','name','focus','1583820dqIuNt','key','removeGarbageData','fetch','OX-GRID-FIELD','currentTarget','__dirtyfields__','function','firstUpdated','__dirty__','after','isPage','isNotEmpty','grid_column','column','entries','connectedCallback','save','getContextObject','isEmpty','editing','3700076EaTGTN','record','object','4ogvagJ','3971905ifZory','map','formConfigSet','parent_id','context','activity','isEquals','properties','startsWith','filter','keydown','parseBasicFormConfigs','removeAttribute','showAlertPopup','parseFormConfigSet','currentData','field-change','forEach','formRenderConfig','277948pHjMjo','__origin__','call','activityDataSet','updateMultiple','pageInitialized','616920RjLkfy','before','keys','button','validation','setAttribute'];a0_0x41e0=function(){return _0x31d72a;};return a0_0x41e0();}import{ValueUtil}from'../utils/value-util';function a0_0x3283(_0x2ddb96,_0x53e106){const _0x41e0dd=a0_0x41e0();return a0_0x3283=function(_0x3283d2,_0x4eac25){_0x3283d2=_0x3283d2-0x1a9;let _0x381800=_0x41e0dd[_0x3283d2];return _0x381800;},a0_0x3283(_0x2ddb96,_0x53e106);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x584763=>class extends MetaButtonMixin(_0x584763){static get[a0_0x9f34e7(0x1c6)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x9f34e7(0x1ac)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x9f34e7(0x1a9)](){const _0x4b26e6=a0_0x9f34e7;return MetaUiUtil[_0x4b26e6(0x1e7)](this);}async[a0_0x9f34e7(0x1e5)](){const _0x517c7f=a0_0x9f34e7;await this['getAndParseMenuMeta'](),this[_0x517c7f(0x1c7)]&&await this['parseFormConfigs'](),this[_0x517c7f(0x1bb)]&&(this['dataSet']=this['activityDataSet']),!0x0!==this[_0x517c7f(0x1cc)]||this[_0x517c7f(0x1f1)]||(this[_0x517c7f(0x1f1)]=_0x517c7f(0x1aa)),super[_0x517c7f(0x1e5)]&&await super['connectedCallback'](),this['isElement']&&await this[_0x517c7f(0x1d8)](),this[_0x517c7f(0x1cb)][_0x517c7f(0x1ca)](_0x517c7f(0x1af),_0x3def15=>{const _0xc0570=_0x517c7f;switch(_0x3def15[_0xc0570(0x1d6)]){case'Esc':case _0xc0570(0x1cd):case _0xc0570(0x1d1):this[_0xc0570(0x1d4)](),this[_0xc0570(0x1da)]&&this[_0xc0570(0x1da)][_0xc0570(0x1b1)](_0xc0570(0x1e9)),this[_0xc0570(0x1da)]=null;}}),this[_0x517c7f(0x1cb)][_0x517c7f(0x1ca)](_0x517c7f(0x1d0),_0x455fe0=>{const _0x34c01c=_0x517c7f;_0x455fe0['stopPropagation']();let _0x47da9f=_0x455fe0['target'];if(this[_0x34c01c(0x1da)]&&(this[_0x34c01c(0x1d4)](),this[_0x34c01c(0x1da)][_0x34c01c(0x1b1)](_0x34c01c(0x1e9))),_0x34c01c(0x1d9)!==_0x47da9f[_0x34c01c(0x1c4)]||!_0x47da9f[_0x34c01c(0x1e3)][_0x34c01c(0x1eb)]['editable'])return this[_0x34c01c(0x1d4)](),void(this[_0x34c01c(0x1da)]=null);this[_0x34c01c(0x1da)]=_0x47da9f,_0x47da9f[_0x34c01c(0x1c3)](_0x34c01c(0x1e9),'true');}),this[_0x517c7f(0x1ca)](_0x517c7f(0x1b5),_0x425bbc=>{const _0x50a13b=_0x517c7f;var {after:_0x4ce7a5,before:_0xe10a1,column:_0x5f143f,record:_0x20c7b8,row:_0x914a58}=_0x425bbc['detail'];if(ValueUtil['isEquals'](_0x4ce7a5,_0xe10a1))return;var _0x2adda3=_0x5f143f[_0x50a13b(0x1c2)];if(_0x2adda3&&_0x50a13b(0x1dc)==typeof _0x2adda3&&!_0x2adda3[_0x50a13b(0x1ba)](this,_0x4ce7a5,_0xe10a1,_0x20c7b8,_0x5f143f))return;let _0x3b9cdb=_0x5f143f[_0x50a13b(0x1d3)];_0x20c7b8[_0x3b9cdb]=_0x4ce7a5,_0x20c7b8['__dirtyfields__']=_0x20c7b8['__dirtyfields__']||{},_0x20c7b8[_0x50a13b(0x1b9)]=_0x20c7b8[_0x50a13b(0x1b9)]||{},_0x20c7b8[_0x50a13b(0x1db)][_0x3b9cdb]={'before':_0x20c7b8[_0x50a13b(0x1b9)][_0x3b9cdb],'after':_0x20c7b8[_0x3b9cdb]},ValueUtil[_0x50a13b(0x1ab)](_0x20c7b8[_0x50a13b(0x1db)][_0x3b9cdb][_0x50a13b(0x1bf)],_0x20c7b8[_0x50a13b(0x1db)][_0x3b9cdb]['after'])&&delete _0x20c7b8['__dirtyfields__'][_0x3b9cdb],ValueUtil[_0x50a13b(0x1e1)](_0x20c7b8[_0x50a13b(0x1db)])?_0x20c7b8[_0x50a13b(0x1de)]='M':_0x20c7b8[_0x50a13b(0x1de)]='',this[_0x50a13b(0x1eb)]={..._0x20c7b8};});}async[a0_0x9f34e7(0x1dd)](){const _0x3dd5d6=a0_0x9f34e7;super[_0x3dd5d6(0x1dd)]&&await super[_0x3dd5d6(0x1dd)]();}async['pageInitialized'](){const _0x2d77c8=a0_0x9f34e7;this[_0x2d77c8(0x1e0)]&&await this[_0x2d77c8(0x1c5)](),super[_0x2d77c8(0x1bd)]&&await super[_0x2d77c8(0x1bd)](),this['isPage']&&await this['fetch']();}['render'](){return MetaApi['getBasicFormHtml'](this);}[a0_0x9f34e7(0x1b0)](_0x56613a){const _0x4f9b8b=a0_0x9f34e7;this['formColumnConfig']=_0x56613a[_0x4f9b8b(0x1e2)],this[_0x4f9b8b(0x1b7)]=_0x56613a['form'],_0x56613a[_0x4f9b8b(0x1c1)]=_0x56613a['button'][_0x4f9b8b(0x1ae)](_0x25b92a=>'save'==_0x25b92a['name']);}async['parseFormConfigs'](){const _0x30c46f=a0_0x9f34e7;this[_0x30c46f(0x1f0)]=await MetaApi[_0x30c46f(0x1b3)](this);}get['orgData'](){const _0x368e77=a0_0x9f34e7;return this[_0x368e77(0x1d7)](this[_0x368e77(0x1eb)][_0x368e77(0x1b9)]);}get[a0_0x9f34e7(0x1cf)](){const _0x1c6274=a0_0x9f34e7;if(ValueUtil[_0x1c6274(0x1e8)](this['record'][_0x1c6274(0x1db)]))return{};let _0xc01ec0={};return Object[_0x1c6274(0x1e4)](this[_0x1c6274(0x1eb)][_0x1c6274(0x1db)])[_0x1c6274(0x1ef)](([_0x3a05ae,_0x5d2c7e])=>{const _0x147cd1=_0x1c6274;0x0==_0x3a05ae[_0x147cd1(0x1ad)]('__')&&(_0xc01ec0[_0x3a05ae]=_0x5d2c7e[_0x147cd1(0x1df)]);}),_0xc01ec0;}get[a0_0x9f34e7(0x1b4)](){const _0x45e433=a0_0x9f34e7;return this[_0x45e433(0x1d7)](this[_0x45e433(0x1eb)]);}['removeGarbageData'](_0x591ca3){const _0x55039d=a0_0x9f34e7;let _0x1ccfa3={};if(_0x591ca3)return Object[_0x55039d(0x1e4)](_0x591ca3)[_0x55039d(0x1ef)](([_0x287885,_0x240ca0])=>{0x0==_0x287885['startsWith']('__')&&(_0x1ccfa3[_0x287885]=_0x240ca0);}),_0x1ccfa3;}get['patchData'](){const _0x5a2694=a0_0x9f34e7;let _0x1cb719=this[_0x5a2694(0x1cf)],_0x279f4d=this[_0x5a2694(0x1eb)];return ValueUtil[_0x5a2694(0x1e8)](_0x1cb719)?[]:(ValueUtil[_0x5a2694(0x1e1)](_0x279f4d['id'])?(_0x1cb719['id']=_0x279f4d['id'],_0x1cb719['cuFlag']='M'):_0x1cb719[_0x5a2694(0x1c9)]='+',Object[_0x5a2694(0x1c0)](_0x1cb719)[_0x5a2694(0x1b6)](_0x26e34b=>{const _0x5f5a57=_0x5a2694;_0x5f5a57(0x1ec)==typeof _0x1cb719[_0x26e34b]&&(_0x1cb719[_0x26e34b]={'id':_0x1cb719[_0x26e34b]['id']});}),[_0x1cb719]);}async['fetch'](){const _0x404006=a0_0x9f34e7;if(ValueUtil[_0x404006(0x1e8)](this['parent_id']))return;let _0x3c01ec=await this['findOne'](this[_0x404006(0x1f1)]);_0x3c01ec['__seq__']=0x1;let _0x1924f8={};Object[_0x404006(0x1d2)](_0x1924f8,_0x3c01ec),_0x3c01ec[_0x404006(0x1b9)]=_0x1924f8,this[_0x404006(0x1eb)]={..._0x3c01ec};}async[a0_0x9f34e7(0x1e6)](){const _0x3f97b7=a0_0x9f34e7;let _0x3b552b=this['patchData'];if(ValueUtil[_0x3f97b7(0x1e8)](_0x3b552b))return void MetaApi[_0x3f97b7(0x1b2)]('title.info','text.NOTHING_CHANGED');let _0x1b6213=await this[_0x3f97b7(0x1bc)](_0x3b552b);return _0x1b6213&&await this[_0x3f97b7(0x1d8)](),_0x1b6213;}async['clear'](){const _0x24cb33=a0_0x9f34e7;this[_0x24cb33(0x1eb)]&&(this[_0x24cb33(0x1eb)]={});}['getData'](){const _0xc1136e=a0_0x9f34e7;return this[_0xc1136e(0x1b4)]||{};}};
1
+ const a0_0x2189c0=a0_0x1ece;(function(_0x22e831,_0x3b67ce){const _0x2517ca=a0_0x1ece,_0x5905fb=_0x22e831();while(!![]){try{const _0xa6e991=parseInt(_0x2517ca(0x143))/0x1*(parseInt(_0x2517ca(0x136))/0x2)+-parseInt(_0x2517ca(0x113))/0x3+-parseInt(_0x2517ca(0x12a))/0x4+-parseInt(_0x2517ca(0x138))/0x5*(parseInt(_0x2517ca(0x115))/0x6)+-parseInt(_0x2517ca(0x137))/0x7*(-parseInt(_0x2517ca(0x118))/0x8)+-parseInt(_0x2517ca(0x11e))/0x9+parseInt(_0x2517ca(0x133))/0xa*(parseInt(_0x2517ca(0x109))/0xb);if(_0xa6e991===_0x3b67ce)break;else _0x5905fb['push'](_0x5905fb['shift']());}catch(_0x4d12dd){_0x5905fb['push'](_0x5905fb['shift']());}}}(a0_0x3cab,0xeb9b4));import{MetaApi}from'../utils/meta-api';function a0_0x1ece(_0x1807a1,_0x263d89){const _0x3cab0b=a0_0x3cab();return a0_0x1ece=function(_0x1ecef3,_0x49e945){_0x1ecef3=_0x1ecef3-0x108;let _0xb2c78b=_0x3cab0b[_0x1ecef3];return _0xb2c78b;},a0_0x1ece(_0x1807a1,_0x263d89);}function a0_0x3cab(){const _0x4c9af3=['renderRoot','8306uPgBGT','35ZBzBMH','105febIZD','getBasicFormStyles','keys','isPage','grid_column','fetch','orgData','removeAttribute','before','stopPropagation','getAndParseMenuMeta','341lXzCRe','click','findOne','getContextObject','connectedCallback','pageInitialized','isEquals','currentTarget','form','column','true','isElement','function','__dirty__','cuFlag','isNotEmpty','render','11yZNFWP','isEmpty','map','properties','setAttribute','save','key','parseFormConfigSet','firstUpdated','editable','1106973qaSLDX','is_activity','392244GlGfYj','button','getData','2546552iJknDZ','getBasicFormHtml','parent_id','clear','startsWith','validation','13178925CukorA','focus','editing','tagName','parseBasicFormConfigs','__dirtyfields__','context','entries','dirtyData','Esc','record','removeGarbageData','182656RyrUmD','assign','updateMultiple','__origin__','currentData','forEach','parseFormConfigs','Enter','formConfigSet','12091100ofnfXr','addEventListener'];a0_0x3cab=function(){return _0x4c9af3;};return a0_0x3cab();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x4b3b9e=>class extends MetaButtonMixin(_0x4b3b9e){static get['styles'](){const _0x4f7d13=a0_0x1ece;return MetaApi[_0x4f7d13(0x139)]();}static get[a0_0x2189c0(0x10c)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x2189c0(0x124)](){const _0x5f4b6c=a0_0x2189c0;return MetaUiUtil[_0x5f4b6c(0x146)](this);}async['connectedCallback'](){const _0x83dec2=a0_0x2189c0;await this[_0x83dec2(0x142)](),this['isElement']&&await this[_0x83dec2(0x130)](),this['activityDataSet']&&(this['dataSet']=this['activityDataSet']),!0x0!==this[_0x83dec2(0x114)]||this[_0x83dec2(0x11a)]||(this[_0x83dec2(0x11a)]='activity'),super[_0x83dec2(0x147)]&&await super[_0x83dec2(0x147)](),this[_0x83dec2(0x14e)]&&await this[_0x83dec2(0x13d)](),this[_0x83dec2(0x135)][_0x83dec2(0x134)]('keydown',_0x68f0c9=>{const _0x15048e=_0x83dec2;switch(_0x68f0c9[_0x15048e(0x10f)]){case _0x15048e(0x127):case'Escape':case _0x15048e(0x131):this[_0x15048e(0x11f)](),this[_0x15048e(0x14a)]&&this['currentTarget'][_0x15048e(0x13f)](_0x15048e(0x120)),this[_0x15048e(0x14a)]=null;}}),this['renderRoot'][_0x83dec2(0x134)](_0x83dec2(0x144),_0x2203ff=>{const _0xc0ff17=_0x83dec2;_0x2203ff[_0xc0ff17(0x141)]();let _0xb2ac28=_0x2203ff['target'];if(this[_0xc0ff17(0x14a)]&&(this[_0xc0ff17(0x11f)](),this[_0xc0ff17(0x14a)][_0xc0ff17(0x13f)](_0xc0ff17(0x120))),'OX-GRID-FIELD'!==_0xb2ac28[_0xc0ff17(0x121)]||!_0xb2ac28[_0xc0ff17(0x14c)]['record'][_0xc0ff17(0x112)])return this[_0xc0ff17(0x11f)](),void(this['currentTarget']=null);this[_0xc0ff17(0x14a)]=_0xb2ac28,_0xb2ac28[_0xc0ff17(0x10d)](_0xc0ff17(0x120),_0xc0ff17(0x14d));}),this['addEventListener']('field-change',_0x3f97f6=>{const _0x5d97ed=_0x83dec2;var {after:_0x314f32,before:_0x5ce408,column:_0x17a729,record:_0x3d877d,row:_0x44229b}=_0x3f97f6['detail'];if(ValueUtil[_0x5d97ed(0x149)](_0x314f32,_0x5ce408))return;var _0x260f03=_0x17a729[_0x5d97ed(0x11d)];if(_0x260f03&&_0x5d97ed(0x14f)==typeof _0x260f03&&!_0x260f03['call'](this,_0x314f32,_0x5ce408,_0x3d877d,_0x17a729))return;let _0x1976e3=_0x17a729['name'];_0x3d877d[_0x1976e3]=_0x314f32,_0x3d877d[_0x5d97ed(0x123)]=_0x3d877d[_0x5d97ed(0x123)]||{},_0x3d877d[_0x5d97ed(0x12d)]=_0x3d877d[_0x5d97ed(0x12d)]||{},_0x3d877d['__dirtyfields__'][_0x1976e3]={'before':_0x3d877d['__origin__'][_0x1976e3],'after':_0x3d877d[_0x1976e3]},ValueUtil['isEquals'](_0x3d877d[_0x5d97ed(0x123)][_0x1976e3][_0x5d97ed(0x140)],_0x3d877d[_0x5d97ed(0x123)][_0x1976e3]['after'])&&delete _0x3d877d[_0x5d97ed(0x123)][_0x1976e3],ValueUtil[_0x5d97ed(0x152)](_0x3d877d[_0x5d97ed(0x123)])?_0x3d877d[_0x5d97ed(0x150)]='M':_0x3d877d[_0x5d97ed(0x150)]='',this['record']={..._0x3d877d};});}async['firstUpdated'](){const _0x228a28=a0_0x2189c0;super[_0x228a28(0x111)]&&await super[_0x228a28(0x111)]();}async[a0_0x2189c0(0x148)](){const _0x288c51=a0_0x2189c0;this[_0x288c51(0x13b)]&&await this[_0x288c51(0x130)](),super[_0x288c51(0x148)]&&await super[_0x288c51(0x148)](),this[_0x288c51(0x13b)]&&await this[_0x288c51(0x13d)]();}[a0_0x2189c0(0x108)](){const _0x192fea=a0_0x2189c0;return MetaApi[_0x192fea(0x119)](this);}[a0_0x2189c0(0x122)](_0x2471f8){const _0x3b5ba0=a0_0x2189c0;this['formColumnConfig']=_0x2471f8[_0x3b5ba0(0x13c)],this['formRenderConfig']=_0x2471f8[_0x3b5ba0(0x14b)],_0x2471f8[_0x3b5ba0(0x116)]=_0x2471f8[_0x3b5ba0(0x116)]['filter'](_0x3d122a=>_0x3b5ba0(0x10e)==_0x3d122a['name']);}async[a0_0x2189c0(0x130)](){const _0x2e7e37=a0_0x2189c0;this[_0x2e7e37(0x132)]=await MetaApi[_0x2e7e37(0x110)](this);}get[a0_0x2189c0(0x13e)](){const _0x5ee878=a0_0x2189c0;return this[_0x5ee878(0x129)](this[_0x5ee878(0x128)]['__origin__']);}get['dirtyData'](){const _0x15706b=a0_0x2189c0;if(ValueUtil[_0x15706b(0x10a)](this['record'][_0x15706b(0x123)]))return{};let _0x1287ae={};return Object[_0x15706b(0x125)](this[_0x15706b(0x128)][_0x15706b(0x123)])[_0x15706b(0x10b)](([_0xd50b0e,_0x4a2502])=>{0x0==_0xd50b0e['startsWith']('__')&&(_0x1287ae[_0xd50b0e]=_0x4a2502['after']);}),_0x1287ae;}get['currentData'](){const _0x29bbad=a0_0x2189c0;return this[_0x29bbad(0x129)](this[_0x29bbad(0x128)]);}[a0_0x2189c0(0x129)](_0x591170){const _0x43b1c5=a0_0x2189c0;let _0x279ee9={};if(_0x591170)return Object[_0x43b1c5(0x125)](_0x591170)[_0x43b1c5(0x10b)](([_0x3ce986,_0x5ba9a9])=>{const _0x17be55=_0x43b1c5;0x0==_0x3ce986[_0x17be55(0x11c)]('__')&&(_0x279ee9[_0x3ce986]=_0x5ba9a9);}),_0x279ee9;}get['patchData'](){const _0x3573c5=a0_0x2189c0;let _0x4e7ed7=this[_0x3573c5(0x126)],_0x14318a=this[_0x3573c5(0x128)];return ValueUtil[_0x3573c5(0x10a)](_0x4e7ed7)?[]:(ValueUtil[_0x3573c5(0x152)](_0x14318a['id'])?(_0x4e7ed7['id']=_0x14318a['id'],_0x4e7ed7['cuFlag']='M'):_0x4e7ed7[_0x3573c5(0x151)]='+',Object[_0x3573c5(0x13a)](_0x4e7ed7)[_0x3573c5(0x12f)](_0x2d8d7b=>{'object'==typeof _0x4e7ed7[_0x2d8d7b]&&(_0x4e7ed7[_0x2d8d7b]={'id':_0x4e7ed7[_0x2d8d7b]['id']});}),[_0x4e7ed7]);}async[a0_0x2189c0(0x13d)](){const _0x5d8dc7=a0_0x2189c0;if(ValueUtil[_0x5d8dc7(0x10a)](this[_0x5d8dc7(0x11a)]))return;let _0x1ef400=await this[_0x5d8dc7(0x145)](this[_0x5d8dc7(0x11a)]);_0x1ef400['__seq__']=0x1;let _0x3127bf={};Object[_0x5d8dc7(0x12b)](_0x3127bf,_0x1ef400),_0x1ef400['__origin__']=_0x3127bf,this[_0x5d8dc7(0x128)]={..._0x1ef400};}async['save'](){const _0x31c54=a0_0x2189c0;let _0x53bf37=this['patchData'];if(ValueUtil[_0x31c54(0x10a)](_0x53bf37))return void MetaApi['showAlertPopup']('title.info','text.NOTHING_CHANGED');let _0x19ccba=await this[_0x31c54(0x12c)](_0x53bf37);return _0x19ccba&&await this['fetch'](),_0x19ccba;}async[a0_0x2189c0(0x11b)](){const _0x548c3e=a0_0x2189c0;this[_0x548c3e(0x128)]&&(this[_0x548c3e(0x128)]={});}[a0_0x2189c0(0x117)](){const _0x391903=a0_0x2189c0;return this[_0x391903(0x12e)]||{};}};