@things-factory/meta-ui 6.1.43 → 6.1.45

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 (91) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  7. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  8. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  9. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  10. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  12. package/client/component/popup/code-input-editor-popup.js +10 -10
  13. package/client/component/popup/meta-object-selector-popup.js +11 -11
  14. package/client/mixin/meta-base-mixin.js +1 -1
  15. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  16. package/client/mixin/meta-button-mixin.js +1 -1
  17. package/client/mixin/meta-form-mixin.js +1 -1
  18. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  19. package/client/mixin/meta-main-tab-mixin.js +1 -1
  20. package/client/mixin/meta-master-detail-mixin.js +1 -1
  21. package/client/mixin/meta-service-mixin.js +1 -1
  22. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  23. package/client/mixin/meta-tab-mixin.js +1 -1
  24. package/client/pages/activity/meta-activity-list-page.js +6 -6
  25. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  26. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  27. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  28. package/client/pages/entity/config-entity.js +29 -29
  29. package/client/pages/entity/main-menu-selector.js +8 -8
  30. package/client/pages/history/history-copy-list-popup.js +6 -6
  31. package/client/pages/history/history-json-list-popup.js +6 -6
  32. package/client/pages/loading-page.js +5 -5
  33. package/client/pages/menu/dynamic-menu-template.js +7 -7
  34. package/client/pages/menu/dynamic-menu.js +16 -16
  35. package/client/pages/menu/export-menu-popup.js +6 -6
  36. package/client/pages/meta-form-element.js +1 -1
  37. package/client/pages/meta-grist-element.js +1 -1
  38. package/client/pages/meta-grist-page.js +1 -1
  39. package/client/pages/meta-grist-tab-element.js +1 -1
  40. package/client/pages/meta-grist-tab-page.js +1 -1
  41. package/client/pages/meta-main-tab-element.js +1 -1
  42. package/client/pages/meta-main-tab-page.js +1 -1
  43. package/client/pages/meta-master-detail-element.js +1 -1
  44. package/client/pages/meta-master-detail-page.js +1 -1
  45. package/client/pages/meta-tab-detail-element.js +1 -1
  46. package/client/pages/meta-tab-detail-page.js +1 -1
  47. package/client/pages/meta-tab-element.js +1 -1
  48. package/client/pages/personalize/personal-column-selector.js +11 -11
  49. package/client/pages/terms/config-terminology.js +5 -5
  50. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  51. package/client/pages/work-code/work-code-page.js +1 -1
  52. package/client/reducers/main.js +1 -1
  53. package/client/utils/grist-default-value.js +1 -1
  54. package/client/utils/meta-api.js +1 -1
  55. package/client/utils/meta-crypto.js +1 -1
  56. package/client/utils/meta-ui-util.js +102 -102
  57. package/client/utils/service-util.js +13 -13
  58. package/client/utils/terms-util.js +2 -2
  59. package/client/utils/ui-util.js +1 -1
  60. package/client/utils/value-util.js +1 -1
  61. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  62. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  63. package/client/viewparts/dynamic-menu-part.js +12 -12
  64. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  65. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  66. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  67. package/package.json +2 -2
  68. package/server/activity/CommonActivity.js +2 -2
  69. package/server/constants/error-code.js +1 -1
  70. package/server/errors/license-error.js +1 -1
  71. package/server/routes.js +1 -1
  72. package/server/service/dynamic-menu/dynamic-menu-query.js +1 -1
  73. package/server/service/dynamic-menu/dynamic-menu-type.js +1 -1
  74. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  76. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  77. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  78. package/server/service/grid-personalize/grid-personalize.js +1 -1
  79. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  80. package/server/service/meta-activity/meta-activity-query.js +1 -1
  81. package/server/service/meta-activity/meta-activity-type.js +1 -1
  82. package/server/service/meta-secret/meta-resolver.js +1 -1
  83. package/server/service/set-translations/set-translation-resolver.js +1 -1
  84. package/server/service/work-code/work-code-mutation.js +1 -1
  85. package/server/service/work-code/work-code-query.js +1 -1
  86. package/server/service/work-code/work-code-type.js +1 -1
  87. package/server/service/work-code/work-code.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  89. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  90. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  91. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- function a0_0x2509(_0x331c22,_0x254852){const _0xce38b7=a0_0xce38();return a0_0x2509=function(_0x250959,_0x4fb1df){_0x250959=_0x250959-0xf5;let _0x846c0f=_0xce38b7[_0x250959];return _0x846c0f;},a0_0x2509(_0x331c22,_0x254852);}const a0_0x5519e8=a0_0x2509;(function(_0x4c38b8,_0x1d94fd){const _0x1e1c8d=a0_0x2509,_0x371257=_0x4c38b8();while(!![]){try{const _0x4d5ae0=parseInt(_0x1e1c8d(0x14e))/0x1*(parseInt(_0x1e1c8d(0x111))/0x2)+-parseInt(_0x1e1c8d(0x132))/0x3*(parseInt(_0x1e1c8d(0x141))/0x4)+parseInt(_0x1e1c8d(0x125))/0x5+parseInt(_0x1e1c8d(0x13b))/0x6*(-parseInt(_0x1e1c8d(0x113))/0x7)+parseInt(_0x1e1c8d(0x135))/0x8+-parseInt(_0x1e1c8d(0x103))/0x9*(parseInt(_0x1e1c8d(0x12d))/0xa)+-parseInt(_0x1e1c8d(0x146))/0xb*(parseInt(_0x1e1c8d(0x110))/0xc);if(_0x4d5ae0===_0x1d94fd)break;else _0x371257['push'](_0x371257['shift']());}catch(_0x306dab){_0x371257['push'](_0x371257['shift']());}}}(a0_0xce38,0x5a28b));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';function a0_0xce38(){const _0x820172=['appendable','LIST','codeField','forEach','53469xsceol','push','filters','cancel','selected','search_hidden_fields','filterFields','codes','resource-object','#ox-grist','fetchHandler','tButton','meta-object-selector','2892pNqLpf','519160XKsSwj','clickEmpty','84nlUrql','hidden','clickCancel','rows','object','confirmCallback','sorters','selectRecord','info','query','gridConfig','after_set_fields','clickSelect','name','scenario','includes','getCodeByScenario','bind','558870sDBfaG','getParams','getGristGuttersConfig','nameField','getCodeSelectorData','getSelectColumns','define','NOTHING_SELECTED','80FwIYbE','grist','meta-','menu_template','connectedCallback','18sEFYKJ','getGristSelectableConfig','args','5482280PPTrfW','select','meta-object-selector-popup','meta-code-selector','shadowRoot','left','282192WUwhgB','type','empty','basicArgs','menu','GRID','218524ogNlJY','handlers','firstUpdated','options','string','330KvfOMR','columns','gql','startsWith','align','resource-code-selector','values','queryName','2OSSVeB','entity','querySelector','select-row-toggle','record','getCodeByEntity','filter','getGristPagination100Config','getGristColumnConfig2','search','dispField','length'];a0_0xce38=function(){return _0x820172;};return a0_0xce38();}import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x3132c7=a0_0xe4bd;(function(_0x1b36a0,_0x265256){const _0x25edda=a0_0xe4bd,_0x90d062=_0x1b36a0();while(!![]){try{const _0x1f71e7=-parseInt(_0x25edda(0xa1))/0x1+parseInt(_0x25edda(0xe2))/0x2+-parseInt(_0x25edda(0xdb))/0x3*(parseInt(_0x25edda(0xdf))/0x4)+-parseInt(_0x25edda(0xa7))/0x5*(-parseInt(_0x25edda(0xba))/0x6)+parseInt(_0x25edda(0xa8))/0x7*(parseInt(_0x25edda(0xda))/0x8)+parseInt(_0x25edda(0xb1))/0x9+parseInt(_0x25edda(0xe7))/0xa;if(_0x1f71e7===_0x265256)break;else _0x90d062['push'](_0x90d062['shift']());}catch(_0x6549c1){_0x90d062['push'](_0x90d062['shift']());}}}(a0_0x20f6,0x82988));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';function a0_0xe4bd(_0x17e57c,_0x31865a){const _0x20f6da=a0_0x20f6();return a0_0xe4bd=function(_0xe4bd84,_0x239b4e){_0xe4bd84=_0xe4bd84-0x94;let _0x4ae350=_0x20f6da[_0xe4bd84];return _0x4ae350;},a0_0xe4bd(_0x17e57c,_0x31865a);}import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ function a0_0x2509(_0x331c22,_0x254852){const _0xce38b7=a0_0xce38();return a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0x5519e8(0x131)](){const _0x565189=a0_0x5519e8;this['search_hidden_fields']=this[_0x565189(0x144)][_0x565189(0x105)]?this[_0x565189(0x144)][_0x565189(0x105)]:this[_0x565189(0x13e)]&&this[_0x565189(0x13e)]['filters']?this[_0x565189(0x13e)][_0x565189(0x105)]:[];let _0xa75b2b=this[_0x565189(0x144)][_0x565189(0x119)]?this[_0x565189(0x144)][_0x565189(0x119)]:this['basicArgs']&&this['basicArgs'][_0x565189(0x119)]?this[_0x565189(0x13e)]['sorters']:[],_0x56701d=this[_0x565189(0x144)][_0x565189(0x109)]?this['options'][_0x565189(0x109)]:this[_0x565189(0x144)][_0x565189(0x130)]?.[_0x565189(0xfc)]&&this[_0x565189(0x144)][_0x565189(0x130)]?.[_0x565189(0xfc)]['length']>0x0?this[_0x565189(0x144)]['menu_template']['search']:[],_0x13b560=this[_0x565189(0x144)]['select'];if(!_0x56701d||0x0==_0x56701d['length']){let _0x7d9ad4;this['options'][_0x565189(0x101)]&&(_0x7d9ad4=this[_0x565189(0x144)]['codeField']),this[_0x565189(0x144)][_0x565189(0x128)]&&(_0x7d9ad4=this[_0x565189(0x144)][_0x565189(0x128)]),_0x7d9ad4&&_0x56701d['push']({'name':_0x7d9ad4,'operator':'eq'});}let _0x21a957=[...MetaApi[_0x565189(0x127)](!0x0,!0x1)];if(_0x13b560&&_0x13b560[_0x565189(0xfe)]>0x0)for(let _0x2e49bd=0x0;_0x2e49bd<_0x13b560[_0x565189(0xfe)];_0x2e49bd++){let {type:_0x44ee53='string',name:_0x5d4a54,hidden:_0x5acaeb=!0x1,record:_0x1fa058={'align':_0x565189(0x13a)},header:_0x23fbc4,sortable:_0x3a7539=!0x1,width:_0xba14c8=0x87,options:_0x1150c5,select_opt:_0x5ace97,object_opt:_0x404fcf}=_0x13b560[_0x2e49bd];if(_0x5ace97&&(_0x1150c5=_0x5ace97),_0x404fcf&&(_0x1150c5=_0x404fcf),[_0x565189(0x10b),_0x565189(0x117)]['includes'](_0x44ee53)?_0x44ee53=_0x565189(0x10f):[_0x565189(0x14b)][_0x565189(0x122)](_0x44ee53)&&(_0x44ee53=_0x565189(0x138)),'id'==_0x5d4a54)_0x21a957[_0x565189(0x104)]({'type':_0x565189(0x145),'name':_0x5d4a54,'hidden':!0x0});else{let _0x1d913b=MetaApi[_0x565189(0xfb)](_0x44ee53,_0x5d4a54,_0x23fbc4||_0x5d4a54,_0x1fa058[_0x565189(0x14a)]?_0x1fa058[_0x565189(0x14a)]:_0x565189(0x13a),!0x1,_0x3a7539,_0xba14c8);_0x44ee53[_0x565189(0x149)](_0x565189(0x12f))&&_0x404fcf&&_0x404fcf[_0x565189(0x13f)]&&(_0x1150c5=await MetaUiUtil['getGristMetaObjectOptions'](_0x44ee53,_0x1150c5)),_0x565189(0x136)===_0x44ee53?Array['isArray'](_0x1150c5)?_0x1d913b[_0x565189(0xf7)][_0x565189(0x144)]=_0x1150c5:'code'===_0x1150c5[_0x565189(0x13c)]?_0x1d913b['record'][_0x565189(0x144)]=await ServiceUtil[_0x565189(0x129)](_0x1150c5['values']?_0x1150c5[_0x565189(0x14c)]:_0x1150c5['name']):_0x565189(0x121)===_0x1150c5[_0x565189(0x13c)]?_0x1d913b['record']['options']=await ServiceUtil[_0x565189(0x123)](_0x1150c5[_0x565189(0x120)],_0x1150c5[_0x565189(0x134)]):_0x565189(0x14f)===_0x1150c5[_0x565189(0x13c)]&&(_0x1d913b['record']['options']=await ServiceUtil[_0x565189(0xf8)](_0x1150c5['args'])):_0x565189(0x10f)===_0x44ee53?_0x1d913b[_0x565189(0xf7)][_0x565189(0x144)]={..._0x1150c5}:'meta-code-selector'==_0x44ee53&&(_0x1150c5[_0x565189(0xfd)]&&(_0x1150c5[_0x565189(0x10a)]=await ServiceUtil[_0x565189(0xf8)](_0x1150c5)),_0x1d913b[_0x565189(0xf7)][_0x565189(0x144)]={..._0x1150c5}),_0x1d913b[_0x565189(0x114)]=_0x5acaeb,_0x21a957[_0x565189(0x104)](_0x1d913b);}}else _0x21a957[_0x565189(0x104)](MetaApi[_0x565189(0xfb)](_0x565189(0x145),this[_0x565189(0x144)][_0x565189(0x101)],this[_0x565189(0x144)][_0x565189(0x101)],'left',!0x1,!0x0,0xb4)),this[_0x565189(0x144)]['dispField']&&_0x21a957['push'](MetaApi['getGristColumnConfig2'](_0x565189(0x145),this[_0x565189(0x144)]['dispField'],this[_0x565189(0x144)][_0x565189(0xfd)],_0x565189(0x13a),!0x1,!0x0,0x12c));_0x21a957['forEach'](_0x56a06e=>{const _0x22a54a=_0x565189;let _0x169b61=_0x56701d[_0x22a54a(0xf9)](_0x5a3dce=>'string'==typeof _0x5a3dce?_0x56a06e[_0x22a54a(0x120)]==_0x5a3dce:_0x56a06e[_0x22a54a(0x120)]==_0x5a3dce[_0x22a54a(0x120)]);_0x169b61&&_0x169b61[_0x22a54a(0xfe)]>0x0&&(_0x56a06e['filter']=_0x22a54a(0x145)==typeof _0x169b61[0x0]?_0x22a54a(0xfc):_0x169b61[0x0]);});let _0xf09556={'rows':MetaApi[_0x565189(0x133)](!0x1),'pagination':MetaApi[_0x565189(0xfa)](),'columns':_0x21a957,'sorters':[..._0xa75b2b]};_0xf09556[_0x565189(0x116)][_0x565189(0x142)]={'click':_0x565189(0xf6),'dblclick':(_0x20eb06,_0x2c291a,_0x39994c,_0x26c79c,_0x194f8e,_0x36d125)=>{const _0x3d69f8=_0x565189;this[_0x3d69f8(0x11a)](_0x26c79c);}},_0xf09556[_0x565189(0x116)][_0x565189(0xff)]=!0x1,this[_0x565189(0x11d)]=_0xf09556,await super[_0x565189(0x131)]();}async[a0_0x5519e8(0x143)](){const _0x188f0f=a0_0x5519e8;await super[_0x188f0f(0x143)]();}['render'](){const _0x4640b3=a0_0x5519e8;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x4640b3(0x11d)]} .mode=${isMobileDevice()?_0x4640b3(0x100):_0x4640b3(0x140)} auto-fetch
22
- .fetchHandler=${this[_0x4640b3(0x10d)][_0x4640b3(0x124)](this)}>
20
+ `];async[a0_0x3132c7(0x9e)](){const _0x573bef=a0_0x3132c7;this['search_hidden_fields']=this[_0x573bef(0xbb)][_0x573bef(0x9d)]?this[_0x573bef(0xbb)]['filters']:this['basicArgs']&&this[_0x573bef(0xe5)][_0x573bef(0x9d)]?this[_0x573bef(0xe5)][_0x573bef(0x9d)]:[];let _0x292b73=this[_0x573bef(0xbb)][_0x573bef(0xb7)]?this[_0x573bef(0xbb)][_0x573bef(0xb7)]:this[_0x573bef(0xe5)]&&this['basicArgs'][_0x573bef(0xb7)]?this[_0x573bef(0xe5)][_0x573bef(0xb7)]:[],_0x5b290c=this[_0x573bef(0xbb)][_0x573bef(0xcd)]?this[_0x573bef(0xbb)][_0x573bef(0xcd)]:this[_0x573bef(0xbb)][_0x573bef(0xd8)]?.[_0x573bef(0xe6)]&&this['options'][_0x573bef(0xd8)]?.[_0x573bef(0xe6)]['length']>0x0?this[_0x573bef(0xbb)]['menu_template'][_0x573bef(0xe6)]:[],_0x359215=this[_0x573bef(0xbb)]['select'];if(!_0x5b290c||0x0==_0x5b290c['length']){let _0x67867e;this['options'][_0x573bef(0xe1)]&&(_0x67867e=this['options'][_0x573bef(0xe1)]),this[_0x573bef(0xbb)][_0x573bef(0xd6)]&&(_0x67867e=this[_0x573bef(0xbb)]['nameField']),_0x67867e&&_0x5b290c[_0x573bef(0xe3)]({'name':_0x67867e,'operator':'eq'});}let _0x3db6fb=[...MetaApi[_0x573bef(0x94)](!0x0,!0x1)];if(_0x359215&&_0x359215[_0x573bef(0x9c)]>0x0)for(let _0x281922=0x0;_0x281922<_0x359215[_0x573bef(0x9c)];_0x281922++){let {type:_0x567200=_0x573bef(0xb4),name:_0x513f32,hidden:_0x483b0a=!0x1,record:_0x1930e2={'align':_0x573bef(0x96)},header:_0x171260,sortable:_0x2f7849=!0x1,width:_0x25ab8c=0x87,options:_0x1eb2c2,select_opt:_0x40319b,object_opt:_0xf150a2}=_0x359215[_0x281922];if(_0x40319b&&(_0x1eb2c2=_0x40319b),_0xf150a2&&(_0x1eb2c2=_0xf150a2),['resource-object',_0x573bef(0xa6)][_0x573bef(0xb2)](_0x567200)?_0x567200=_0x573bef(0xbd):[_0x573bef(0xd0)][_0x573bef(0xb2)](_0x567200)&&(_0x567200=_0x573bef(0xaf)),'id'==_0x513f32)_0x3db6fb[_0x573bef(0xe3)]({'type':_0x573bef(0xb4),'name':_0x513f32,'hidden':!0x0});else{let _0x306e79=MetaApi[_0x573bef(0xd9)](_0x567200,_0x513f32,_0x171260||_0x513f32,_0x1930e2[_0x573bef(0xd4)]?_0x1930e2[_0x573bef(0xd4)]:_0x573bef(0x96),!0x1,_0x2f7849,_0x25ab8c);_0x567200[_0x573bef(0xb0)]('meta-')&&_0xf150a2&&_0xf150a2[_0x573bef(0xad)]&&(_0x1eb2c2=await MetaUiUtil[_0x573bef(0xcb)](_0x567200,_0x1eb2c2)),'select'===_0x567200?Array[_0x573bef(0xb6)](_0x1eb2c2)?_0x306e79[_0x573bef(0xa2)][_0x573bef(0xbb)]=_0x1eb2c2:_0x573bef(0xcc)===_0x1eb2c2['type']?_0x306e79[_0x573bef(0xa2)][_0x573bef(0xbb)]=await ServiceUtil[_0x573bef(0xc0)](_0x1eb2c2[_0x573bef(0xdc)]?_0x1eb2c2['values']:_0x1eb2c2[_0x573bef(0xe0)]):'scenario'===_0x1eb2c2[_0x573bef(0xab)]?_0x306e79['record'][_0x573bef(0xbb)]=await ServiceUtil['getCodeByScenario'](_0x1eb2c2[_0x573bef(0xe0)],_0x1eb2c2['args']):_0x573bef(0xc3)===_0x1eb2c2['type']&&(_0x306e79[_0x573bef(0xa2)][_0x573bef(0xbb)]=await ServiceUtil[_0x573bef(0xb8)](_0x1eb2c2[_0x573bef(0xb5)])):'meta-object-selector'===_0x567200?_0x306e79['record']['options']={..._0x1eb2c2}:'meta-code-selector'==_0x567200&&(_0x1eb2c2['dispField']&&(_0x1eb2c2[_0x573bef(0xe4)]=await ServiceUtil[_0x573bef(0xb8)](_0x1eb2c2)),_0x306e79['record'][_0x573bef(0xbb)]={..._0x1eb2c2}),_0x306e79[_0x573bef(0xa9)]=_0x483b0a,_0x3db6fb[_0x573bef(0xe3)](_0x306e79);}}else _0x3db6fb[_0x573bef(0xe3)](MetaApi[_0x573bef(0xd9)]('string',this[_0x573bef(0xbb)]['codeField'],this['options'][_0x573bef(0xe1)],_0x573bef(0x96),!0x1,!0x0,0xb4)),this[_0x573bef(0xbb)][_0x573bef(0xdd)]&&_0x3db6fb[_0x573bef(0xe3)](MetaApi[_0x573bef(0xd9)]('string',this[_0x573bef(0xbb)][_0x573bef(0xdd)],this[_0x573bef(0xbb)][_0x573bef(0xdd)],'left',!0x1,!0x0,0x12c));_0x3db6fb['forEach'](_0x290a13=>{const _0x43152d=_0x573bef;let _0x38b893=_0x5b290c[_0x43152d(0xce)](_0x3393c8=>_0x43152d(0xb4)==typeof _0x3393c8?_0x290a13[_0x43152d(0xe0)]==_0x3393c8:_0x290a13[_0x43152d(0xe0)]==_0x3393c8[_0x43152d(0xe0)]);_0x38b893&&_0x38b893[_0x43152d(0x9c)]>0x0&&(_0x290a13[_0x43152d(0xce)]=_0x43152d(0xb4)==typeof _0x38b893[0x0]?'search':_0x38b893[0x0]);});let _0x1e4456={'rows':MetaApi[_0x573bef(0xd2)](!0x1),'pagination':MetaApi[_0x573bef(0xc8)](),'columns':_0x3db6fb,'sorters':[..._0x292b73]};_0x1e4456[_0x573bef(0xca)]['handlers']={'click':'select-row-toggle','dblclick':(_0x42b756,_0x52b93a,_0x1cbe8f,_0x1f52e7,_0x4c836f,_0x28990c)=>{const _0x28ab7f=_0x573bef;this[_0x28ab7f(0xd3)](_0x1f52e7);}},_0x1e4456[_0x573bef(0xca)][_0x573bef(0xa4)]=!0x1,this['gridConfig']=_0x1e4456,await super[_0x573bef(0x9e)]();}async[a0_0x3132c7(0xb3)](){await super['firstUpdated']();}[a0_0x3132c7(0x9b)](){const _0x2c88f5=a0_0x3132c7;return html`
21
+ <ox-grist id="ox-grist" .config=${this[_0x2c88f5(0xbe)]} .mode=${isMobileDevice()?_0x2c88f5(0xd7):'GRID'} auto-fetch
22
+ .fetchHandler=${this['fetchHandler'][_0x2c88f5(0xac)](this)}>
23
23
  <div slot="headroom">
24
24
  <div id="filters">
25
25
  <ox-filters-form></ox-filters-form>
@@ -27,14 +27,14 @@ function a0_0x2509(_0x331c22,_0x254852){const _0xce38b7=a0_0xce38();return a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x4640b3(0x10e)](_0x4640b3(0x13d))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x4640b3(0x112)]['bind'](this)}>
30
+ <mwc-button raised label="${TermsUtil['tButton'](_0x2c88f5(0xae))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x2c88f5(0xc5)][_0x2c88f5(0xac)](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil['tButton'](_0x4640b3(0x106))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x4640b3(0x115)][_0x4640b3(0x124)](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x2c88f5(0x9f)](_0x2c88f5(0xbc))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x2c88f5(0xb9)][_0x2c88f5(0xac)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil['tButton']('select')}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this['clickSelect'][_0x4640b3(0x124)](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x2c88f5(0x9f)]('select')}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x2c88f5(0xc4)][_0x2c88f5(0xac)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get[a0_0x5519e8(0x12e)](){const _0x39bbed=a0_0x5519e8;return this[_0x39bbed(0x139)][_0x39bbed(0xf5)](_0x39bbed(0x10c));}async[a0_0x5519e8(0x10d)]({page:_0x305d5a=0x0,limit:_0x172924=0x0,sorters:_0x1911e8=[],filters:_0x3f5424=[]}){const _0x25b7a1=a0_0x5519e8;let _0x37f1da=[...this[_0x25b7a1(0x108)]];_0x3f5424[_0x25b7a1(0x102)](_0x287f42=>{const _0x50ce01=_0x25b7a1;let _0x12e029=_0x37f1da[_0x50ce01(0xf9)](_0x1b3ca5=>_0x287f42[_0x50ce01(0x120)]==_0x1b3ca5[_0x50ce01(0x120)]);_0x12e029&&_0x12e029['length']>0x0&&delete _0x37f1da[_0x287f42[_0x50ce01(0x120)]],_0x37f1da['push'](_0x287f42);});let _0x73f17=ValueUtil[_0x25b7a1(0x126)](this[_0x25b7a1(0x144)]['menu_template']&&this[_0x25b7a1(0x144)][_0x25b7a1(0x130)][_0x25b7a1(0x148)]||{},_0x25b7a1(0x11c),_0x25b7a1(0x11e)),_0x1c96b9=Object['keys'](_0x73f17||{}),_0x44e3f0=MetaApi[_0x25b7a1(0x12a)](this['gridConfig'][_0x25b7a1(0x147)]['filter'](_0x112152=>!_0x1c96b9[_0x25b7a1(0x122)](_0x112152['name'])));return await MetaApi['searchByPagination'](this['options'][_0x25b7a1(0x14d)],_0x37f1da,_0x1911e8,_0x305d5a,_0x172924,_0x44e3f0);}async[a0_0x5519e8(0x112)](_0x10f735){const _0x5f4aa4=a0_0x5519e8;this['confirmCallback']&&this[_0x5f4aa4(0x118)](null),closePopup(this);}async['clickCancel'](_0x151641){closePopup(this);}async[a0_0x5519e8(0x11f)](_0x26fad6){const _0x3e16ed=a0_0x5519e8;let _0x14e146=this[_0x3e16ed(0x12e)][_0x3e16ed(0x107)];_0x14e146&&0x0!=_0x14e146[_0x3e16ed(0xfe)]?this[_0x3e16ed(0x11a)](_0x14e146[0x0]):MetaApi['showToast'](_0x3e16ed(0x11b),TermsUtil['tText'](_0x3e16ed(0x12c)));}async[a0_0x5519e8(0x11a)](_0x1bdade){const _0x5172cd=a0_0x5519e8;this[_0x5172cd(0x118)]&&this[_0x5172cd(0x118)](_0x1bdade),closePopup(this);}}customElements[a0_0x5519e8(0x12b)](a0_0x5519e8(0x137),MetaObjectSelectorPopup);
40
+ `;}get[a0_0x3132c7(0x9a)](){const _0x519974=a0_0x3132c7;return this[_0x519974(0xc9)][_0x519974(0x99)](_0x519974(0xaa));}async[a0_0x3132c7(0xd1)]({page:_0x3a44da=0x0,limit:_0x19f698=0x0,sorters:_0x617221=[],filters:_0xd3cec7=[]}){const _0x59e2c1=a0_0x3132c7;let _0x1b0493=[...this[_0x59e2c1(0xa0)]];_0xd3cec7[_0x59e2c1(0xde)](_0x5d99d0=>{const _0x2458aa=_0x59e2c1;let _0x52d43a=_0x1b0493['filter'](_0x535fc0=>_0x5d99d0[_0x2458aa(0xe0)]==_0x535fc0['name']);_0x52d43a&&_0x52d43a[_0x2458aa(0x9c)]>0x0&&delete _0x1b0493[_0x5d99d0[_0x2458aa(0xe0)]],_0x1b0493[_0x2458aa(0xe3)](_0x5d99d0);});let _0xac5f04=ValueUtil[_0x59e2c1(0x95)](this[_0x59e2c1(0xbb)]['menu_template']&&this[_0x59e2c1(0xbb)][_0x59e2c1(0xd8)][_0x59e2c1(0xd5)]||{},'query',_0x59e2c1(0xa3)),_0x448623=Object['keys'](_0xac5f04||{}),_0x22bea4=MetaApi['getSelectColumns'](this[_0x59e2c1(0xbe)][_0x59e2c1(0xc6)][_0x59e2c1(0xce)](_0x2028a1=>!_0x448623['includes'](_0x2028a1[_0x59e2c1(0xe0)])));return await MetaApi[_0x59e2c1(0x97)](this[_0x59e2c1(0xbb)]['queryName'],_0x1b0493,_0x617221,_0x3a44da,_0x19f698,_0x22bea4);}async[a0_0x3132c7(0xc5)](_0x21271b){const _0x5c649e=a0_0x3132c7;this[_0x5c649e(0xa5)]&&this['confirmCallback'](null),closePopup(this);}async[a0_0x3132c7(0xb9)](_0x19fc68){closePopup(this);}async['clickSelect'](_0x1d2275){const _0x24f237=a0_0x3132c7;let _0x5afd82=this[_0x24f237(0x9a)][_0x24f237(0xcf)];_0x5afd82&&0x0!=_0x5afd82[_0x24f237(0x9c)]?this[_0x24f237(0xd3)](_0x5afd82[0x0]):MetaApi[_0x24f237(0xc1)]('info',TermsUtil[_0x24f237(0xc2)](_0x24f237(0xc7)));}async['selectRecord'](_0x8a8dfb){const _0x5e00de=a0_0x3132c7;this[_0x5e00de(0xa5)]&&this[_0x5e00de(0xa5)](_0x8a8dfb),closePopup(this);}}function a0_0x20f6(){const _0x37836c=['code','filterFields','filter','selected','resource-code-selector','fetchHandler','getGristSelectableConfig','selectRecord','align','gql','nameField','LIST','menu_template','getGristColumnConfig2','8bSKieL','39SohMDl','values','dispField','forEach','153092BvTTpM','name','codeField','307418lUoehW','push','codes','basicArgs','search','15385440PgFoXb','getGristGuttersConfig','getParams','left','searchByPagination','meta-object-selector-popup','querySelector','grist','render','length','filters','connectedCallback','tButton','search_hidden_fields','1039205htLDdP','record','after_set_fields','appendable','confirmCallback','object','45245rDjvMY','1898638jfwFzH','hidden','#ox-grist','type','bind','menu','empty','meta-code-selector','startsWith','77832FIcLIx','includes','firstUpdated','string','args','isArray','sorters','getCodeByEntity','clickCancel','66KwHoJW','options','cancel','meta-object-selector','gridConfig','define','getCodeSelectorData','showToast','tText','entity','clickSelect','clickEmpty','columns','NOTHING_SELECTED','getGristPagination100Config','shadowRoot','rows','getGristMetaObjectOptions'];a0_0x20f6=function(){return _0x37836c;};return a0_0x20f6();}customElements[a0_0x3132c7(0xbf)](a0_0x3132c7(0x98),MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- function a0_0x499c(){const _0x19e59a=['dataChangeEventHandler','title','etc','addEventListener','parent_id','filterForm','data-changed','properties','keys','tTitle','executeCallScenarioButtonClick','6gUuLkK','getParams','connectedCallback','active','fieldChangeHandlers','isNotEmpty','etcConfig','toLowerCase','is_detail','after','8RIvWTb','grist','excuteOpenPopupButtonClick','is_popup','1127676KWllXn','parseBasicButtonConfigs','startsWith','params','setParentId','1729630aLwARb','parseBasicServiceConfigs','getAndParseMenuMeta','split','forEach','6815TsbBRo','parseBasicFormConfigs','1220335dtuhkH','menuInfo','12WwNRHy','runScenario','errors','tagName','dispatchEvent','1345924eALJTX','includes','isEmpty','2880283EqUUhL','parseBasicGridConfigs','body','openDynamicPopup','meta-form-','detail','result','isElement','title_detail','data','field-change','callScenario','fetch','2168883uXuess','name','parseBasicTabConfigs','isPopup','lifecycle'];a0_0x499c=function(){return _0x19e59a;};return a0_0x499c();}const a0_0x794c05=a0_0x2ab5;function a0_0x2ab5(_0x5e75c2,_0x5cebbe){const _0x499c31=a0_0x499c();return a0_0x2ab5=function(_0x2ab585,_0x59e098){_0x2ab585=_0x2ab585-0x129;let _0x12ebab=_0x499c31[_0x2ab585];return _0x12ebab;},a0_0x2ab5(_0x5e75c2,_0x5cebbe);}(function(_0x1cd57e,_0x15afe5){const _0x307542=a0_0x2ab5,_0x23ec05=_0x1cd57e();while(!![]){try{const _0x1542da=parseInt(_0x307542(0x13f))/0x1*(-parseInt(_0x307542(0x143))/0x2)+parseInt(_0x307542(0x135))/0x3+-parseInt(_0x307542(0x148))/0x4+parseInt(_0x307542(0x141))/0x5*(parseInt(_0x307542(0x168))/0x6)+parseInt(_0x307542(0x14b))/0x7*(parseInt(_0x307542(0x131))/0x8)+-parseInt(_0x307542(0x158))/0x9+-parseInt(_0x307542(0x13a))/0xa;if(_0x1542da===_0x15afe5)break;else _0x23ec05['push'](_0x23ec05['shift']());}catch(_0x22bad8){_0x23ec05['push'](_0x23ec05['shift']());}}}(a0_0x499c,0x3a9eb));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x169da4=>class extends _0x169da4{static get[a0_0x794c05(0x164)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x11b2a5=>Boolean(_0x11b2a5)},'is_popup':{'type':Boolean,'converter':_0x2ae56a=>Boolean(_0x2ae56a)},'is_activity':{'type':Boolean,'converter':_0x3a7f76=>Boolean(_0x3a7f76)},'is_readonly':{'type':Boolean,'converter':_0x2f378d=>Boolean(_0x2f378d)}};}get[a0_0x794c05(0x152)](){const _0x2cfae9=a0_0x794c05;return!0x0===this['is_detail']||!0x0===this[_0x2cfae9(0x134)];}get['isDetail'](){const _0x74d1f=a0_0x794c05;return!ValueUtil[_0x74d1f(0x14a)](this[_0x74d1f(0x12f)])&&this[_0x74d1f(0x12f)];}async[a0_0x794c05(0x15d)](_0x243e4e){const _0x4f9284=a0_0x794c05;let {after:_0x2bc8f1,before:_0x255f0c,column:_0xe02aab,record:_0x3ecad4,row:_0x287bff}=_0x243e4e[_0x4f9284(0x150)],_0x211b27=_0xe02aab['name'];if(Object['keys'](this[_0x4f9284(0x12b)]||{})[_0x4f9284(0x149)](_0x211b27)){let _0x21346e,_0x7f9e7=(await MetaApi['callScenario'](void 0x0,this[_0x4f9284(0x12b)][_0x211b27],{'columnName':_0x211b27,'column':_0xe02aab,'record':_0x3ecad4,'after':_0x2bc8f1,'before':_0x255f0c,'row':_0x287bff,'parentId':this[_0x4f9284(0x161)]?this[_0x4f9284(0x161)]:''},!0x1))['data'][_0x4f9284(0x144)][_0x4f9284(0x154)][_0x4f9284(0x151)];if(!_0x7f9e7)return;_0x21346e=this['grist']?this[_0x4f9284(0x132)]['grist'][_0x4f9284(0x14d)]:this,Object[_0x4f9284(0x165)](_0x7f9e7)[_0x4f9284(0x13e)](_0x4e3d62=>{const _0x3f3146=_0x4f9284;_0x21346e[_0x3f3146(0x147)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x3ecad4,'row':_0x287bff,'after':_0x7f9e7[_0x4e3d62],'before':_0x3ecad4[_0x4e3d62],'column':{'name':_0x4e3d62}}}));});}this[_0x4f9284(0x147)](new CustomEvent(_0x4f9284(0x163),{'bubbles':!0x0,'composed':!0x0,'detail':_0x243e4e[_0x4f9284(0x150)]}));}async[a0_0x794c05(0x129)](){const _0x1252e0=a0_0x794c05;super[_0x1252e0(0x129)]&&await super[_0x1252e0(0x129)](),this[_0x1252e0(0x146)][_0x1252e0(0x12e)]()[_0x1252e0(0x137)](_0x1252e0(0x14f))?this[_0x1252e0(0x160)]('form-field-change',async _0x73d87a=>{await this['dataChangeEventHandler'](_0x73d87a);}):this[_0x1252e0(0x160)](_0x1252e0(0x155),async _0x3be1a5=>{const _0x41a755=_0x1252e0;await this[_0x41a755(0x15d)](_0x3be1a5);});}async['pageUpdated'](_0x498352,_0x2bd69d,_0x250ed2){const _0x234200=a0_0x794c05;let _0x369fa4=this['lifecycle']?.[_0x234200(0x138)]?this[_0x234200(0x15c)]['params']:{};this['isPage']&&this[_0x234200(0x12a)]&&0x0==_0x250ed2[_0x234200(0x12a)]&&ValueUtil[_0x234200(0x12c)](_0x369fa4)&&this[_0x234200(0x157)]();}get[a0_0x794c05(0x15b)](){const _0x2e236e=a0_0x794c05;return!ValueUtil[_0x2e236e(0x14a)](this[_0x2e236e(0x134)])&&this['is_popup'];}get['isPage'](){const _0x488b41=a0_0x794c05;return!this[_0x488b41(0x12f)]&&!this['is_popup'];}async[a0_0x794c05(0x13c)](){const _0x14e15a=a0_0x794c05;let _0x59b12b=await MetaApi['getMenuMeta'](this);_0x59b12b&&(this[_0x14e15a(0x142)]=_0x59b12b['menu'],this[_0x14e15a(0x12d)]=_0x59b12b[_0x14e15a(0x15f)],this['parseBasicGridConfigs']&&this[_0x14e15a(0x14c)](_0x59b12b),this[_0x14e15a(0x13b)]&&this[_0x14e15a(0x13b)](_0x59b12b),this[_0x14e15a(0x140)]&&this[_0x14e15a(0x140)](_0x59b12b),this[_0x14e15a(0x15a)]&&this[_0x14e15a(0x15a)](_0x59b12b),this[_0x14e15a(0x136)]&&this[_0x14e15a(0x136)](_0x59b12b));}async[a0_0x794c05(0x157)](){const _0x1183a8=a0_0x794c05;ValueUtil[_0x1183a8(0x12c)](this['grist'])?this[_0x1183a8(0x132)][_0x1183a8(0x157)]():(ValueUtil[_0x1183a8(0x12c)](this[_0x1183a8(0x162)])||this['fetchHandler'])&&await this['fetchHandler']();}async[a0_0x794c05(0x133)](_0x226a68,_0x19d7c3,_0x20dba7){const _0x4abcc1=a0_0x794c05;let _0xcbf985=TermsUtil[_0x4abcc1(0x166)](_0x226a68[_0x4abcc1(0x15e)]);ValueUtil[_0x4abcc1(0x12c)](_0x226a68['title_detail'])&&(_0xcbf985=_0xcbf985+'-'+ValueUtil[_0x4abcc1(0x169)](_0x19d7c3,..._0x226a68[_0x4abcc1(0x153)][_0x4abcc1(0x13d)]('.'))),MetaApi[_0x4abcc1(0x14e)](_0xcbf985,_0x226a68,_0x19d7c3,_0x20dba7);}async[a0_0x794c05(0x167)](_0x3be220,_0x26a681,_0x1b6199){const _0x4af13f=a0_0x794c05;let _0x3ad298=await MetaApi[_0x4af13f(0x156)](_0x3be220[_0x4af13f(0x159)],_0x3be220[_0x4af13f(0x159)],_0x26a681);!0x1!==_0x3ad298&&!_0x3ad298[_0x4af13f(0x145)]&&ValueUtil[_0x4af13f(0x12c)](_0x3be220[_0x4af13f(0x130)])&&_0x1b6199();}[a0_0x794c05(0x139)](_0x573795){const _0x182c37=a0_0x794c05;this[_0x182c37(0x161)]=_0x573795,this[_0x182c37(0x157)]();}};
1
+ const a0_0x58f674=a0_0x2bf2;(function(_0x1ba830,_0x3714d4){const _0x2eba4c=a0_0x2bf2,_0x4d42be=_0x1ba830();while(!![]){try{const _0x895f6=parseInt(_0x2eba4c(0xb7))/0x1+-parseInt(_0x2eba4c(0xc8))/0x2*(parseInt(_0x2eba4c(0xd1))/0x3)+-parseInt(_0x2eba4c(0xc0))/0x4*(parseInt(_0x2eba4c(0xf2))/0x5)+parseInt(_0x2eba4c(0xca))/0x6+-parseInt(_0x2eba4c(0xbe))/0x7+parseInt(_0x2eba4c(0xbc))/0x8+parseInt(_0x2eba4c(0xc5))/0x9*(-parseInt(_0x2eba4c(0xe8))/0xa);if(_0x895f6===_0x3714d4)break;else _0x4d42be['push'](_0x4d42be['shift']());}catch(_0x1ec5da){_0x4d42be['push'](_0x4d42be['shift']());}}}(a0_0x4895,0x56e2a));function a0_0x4895(){const _0x4dfb3e=['26617jcRFaW','isDetail','title','split','etcConfig','2681064NadqEi','callScenario','599991ORfYux','is_detail','87288GPQkxH','field-change','setParentId','errors','parent_id','416511sGQRyJ','filterForm','menu','8pOgwwH','includes','3708978uunixB','parseBasicTabConfigs','isPage','menuInfo','grist','dataChangeEventHandler','is_popup','39723SXxnRy','runScenario','tagName','connectedCallback','isPopup','isEmpty','result','addEventListener','lifecycle','body','etc','isNotEmpty','meta-form-','isElement','getMenuMeta','parseBasicServiceConfigs','toLowerCase','openDynamicPopup','fetch','active','parseBasicGridConfigs','name','fetchHandler','20cpciuJ','forEach','after','parseBasicFormConfigs','detail','pageUpdated','title_detail','params','properties','data','90BIFTMs','data-changed','getAndParseMenuMeta','getParams','dispatchEvent','parseBasicButtonConfigs','tTitle','keys','executeCallScenarioButtonClick','fieldChangeHandlers'];a0_0x4895=function(){return _0x4dfb3e;};return a0_0x4895();}import{MetaApi}from'./../utils/meta-api';function a0_0x2bf2(_0x12644d,_0xf405d1){const _0x489585=a0_0x4895();return a0_0x2bf2=function(_0x2bf2e4,_0x5dde73){_0x2bf2e4=_0x2bf2e4-0xb4;let _0x413505=_0x489585[_0x2bf2e4];return _0x413505;},a0_0x2bf2(_0x12644d,_0xf405d1);}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x30699b=>class extends _0x30699b{static get[a0_0x58f674(0xf0)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x23a417=>Boolean(_0x23a417)},'is_popup':{'type':Boolean,'converter':_0x10d6db=>Boolean(_0x10d6db)},'is_activity':{'type':Boolean,'converter':_0x334a80=>Boolean(_0x334a80)},'is_readonly':{'type':Boolean,'converter':_0x5392f8=>Boolean(_0x5392f8)}};}get[a0_0x58f674(0xde)](){const _0xc83f26=a0_0x58f674;return!0x0===this['is_detail']||!0x0===this[_0xc83f26(0xd0)];}get[a0_0x58f674(0xb8)](){const _0x5c2ab3=a0_0x58f674;return!ValueUtil[_0x5c2ab3(0xd6)](this[_0x5c2ab3(0xbf)])&&this[_0x5c2ab3(0xbf)];}async[a0_0x58f674(0xcf)](_0x5eb921){const _0x8db2b2=a0_0x58f674;let {after:_0x1bb084,before:_0x4a88f5,column:_0xc70ce1,record:_0x18a14e,row:_0x44d75d}=_0x5eb921[_0x8db2b2(0xec)],_0x3bb3ce=_0xc70ce1[_0x8db2b2(0xe6)];if(Object['keys'](this[_0x8db2b2(0xb6)]||{})[_0x8db2b2(0xc9)](_0x3bb3ce)){let _0x2b51e6,_0x14fde4=(await MetaApi[_0x8db2b2(0xbd)](void 0x0,this[_0x8db2b2(0xb6)][_0x3bb3ce],{'columnName':_0x3bb3ce,'column':_0xc70ce1,'record':_0x18a14e,'after':_0x1bb084,'before':_0x4a88f5,'row':_0x44d75d,'parentId':this[_0x8db2b2(0xc4)]?this[_0x8db2b2(0xc4)]:''},!0x1))[_0x8db2b2(0xf1)][_0x8db2b2(0xd2)][_0x8db2b2(0xf1)][_0x8db2b2(0xd7)];if(!_0x14fde4)return;_0x2b51e6=this[_0x8db2b2(0xce)]?this[_0x8db2b2(0xce)][_0x8db2b2(0xce)][_0x8db2b2(0xda)]:this,Object[_0x8db2b2(0xb4)](_0x14fde4)[_0x8db2b2(0xe9)](_0x4f5243=>{const _0x350810=_0x8db2b2;_0x2b51e6[_0x350810(0xf6)](new CustomEvent(_0x350810(0xc1),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x18a14e,'row':_0x44d75d,'after':_0x14fde4[_0x4f5243],'before':_0x18a14e[_0x4f5243],'column':{'name':_0x4f5243}}}));});}this[_0x8db2b2(0xf6)](new CustomEvent(_0x8db2b2(0xf3),{'bubbles':!0x0,'composed':!0x0,'detail':_0x5eb921[_0x8db2b2(0xec)]}));}async[a0_0x58f674(0xd4)](){const _0x2cdbc1=a0_0x58f674;super[_0x2cdbc1(0xd4)]&&await super[_0x2cdbc1(0xd4)](),this[_0x2cdbc1(0xd3)][_0x2cdbc1(0xe1)]()['startsWith'](_0x2cdbc1(0xdd))?this[_0x2cdbc1(0xd8)]('form-field-change',async _0x1f5226=>{await this['dataChangeEventHandler'](_0x1f5226);}):this[_0x2cdbc1(0xd8)](_0x2cdbc1(0xc1),async _0x3e367a=>{const _0xe7ca4f=_0x2cdbc1;await this[_0xe7ca4f(0xcf)](_0x3e367a);});}async[a0_0x58f674(0xed)](_0x26af00,_0x360c7e,_0x558bbc){const _0xa0a2fb=a0_0x58f674;let _0x441d42=this[_0xa0a2fb(0xd9)]?.['params']?this[_0xa0a2fb(0xd9)][_0xa0a2fb(0xef)]:{};this[_0xa0a2fb(0xcc)]&&this[_0xa0a2fb(0xe4)]&&0x0==_0x558bbc[_0xa0a2fb(0xe4)]&&ValueUtil[_0xa0a2fb(0xdc)](_0x441d42)&&this[_0xa0a2fb(0xe3)]();}get[a0_0x58f674(0xd5)](){const _0x263390=a0_0x58f674;return!ValueUtil[_0x263390(0xd6)](this[_0x263390(0xd0)])&&this['is_popup'];}get[a0_0x58f674(0xcc)](){const _0x458ae8=a0_0x58f674;return!this['is_detail']&&!this[_0x458ae8(0xd0)];}async[a0_0x58f674(0xf4)](){const _0x58fbba=a0_0x58f674;let _0x49921f=await MetaApi[_0x58fbba(0xdf)](this);_0x49921f&&(this[_0x58fbba(0xcd)]=_0x49921f[_0x58fbba(0xc7)],this[_0x58fbba(0xbb)]=_0x49921f[_0x58fbba(0xdb)],this[_0x58fbba(0xe5)]&&this[_0x58fbba(0xe5)](_0x49921f),this[_0x58fbba(0xe0)]&&this[_0x58fbba(0xe0)](_0x49921f),this['parseBasicFormConfigs']&&this[_0x58fbba(0xeb)](_0x49921f),this[_0x58fbba(0xcb)]&&this[_0x58fbba(0xcb)](_0x49921f),this[_0x58fbba(0xf7)]&&this[_0x58fbba(0xf7)](_0x49921f));}async['fetch'](){const _0x1dbbf4=a0_0x58f674;ValueUtil['isNotEmpty'](this['grist'])?this[_0x1dbbf4(0xce)]['fetch']():(ValueUtil[_0x1dbbf4(0xdc)](this[_0x1dbbf4(0xc6)])||this[_0x1dbbf4(0xe7)])&&await this[_0x1dbbf4(0xe7)]();}async['excuteOpenPopupButtonClick'](_0x573de5,_0x5e552a,_0x2572a8){const _0x56e175=a0_0x58f674;let _0x36ef71=TermsUtil[_0x56e175(0xf8)](_0x573de5[_0x56e175(0xb9)]);ValueUtil['isNotEmpty'](_0x573de5[_0x56e175(0xee)])&&(_0x36ef71=_0x36ef71+'-'+ValueUtil[_0x56e175(0xf5)](_0x5e552a,..._0x573de5['title_detail'][_0x56e175(0xba)]('.'))),MetaApi[_0x56e175(0xe2)](_0x36ef71,_0x573de5,_0x5e552a,_0x2572a8);}async[a0_0x58f674(0xb5)](_0x5ec07f,_0x1c9919,_0x2afc84){const _0x59d791=a0_0x58f674;let _0xf79aa6=await MetaApi[_0x59d791(0xbd)](_0x5ec07f[_0x59d791(0xe6)],_0x5ec07f[_0x59d791(0xe6)],_0x1c9919);!0x1!==_0xf79aa6&&!_0xf79aa6[_0x59d791(0xc3)]&&ValueUtil[_0x59d791(0xdc)](_0x5ec07f[_0x59d791(0xea)])&&_0x2afc84();}[a0_0x58f674(0xc2)](_0x46bb2b){const _0xd58080=a0_0x58f674;this[_0xd58080(0xc4)]=_0x46bb2b,this[_0xd58080(0xe3)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0x1953ea=a0_0x5326;(function(_0x3e57a9,_0x302d79){const _0xd99c1=a0_0x5326,_0x186e6b=_0x3e57a9();while(!![]){try{const _0x26e7ed=parseInt(_0xd99c1(0x150))/0x1*(-parseInt(_0xd99c1(0x152))/0x2)+parseInt(_0xd99c1(0x13e))/0x3*(-parseInt(_0xd99c1(0x135))/0x4)+-parseInt(_0xd99c1(0x12b))/0x5+parseInt(_0xd99c1(0x11b))/0x6*(parseInt(_0xd99c1(0x134))/0x7)+parseInt(_0xd99c1(0x142))/0x8+parseInt(_0xd99c1(0x140))/0x9+parseInt(_0xd99c1(0x11f))/0xa;if(_0x26e7ed===_0x302d79)break;else _0x186e6b['push'](_0x186e6b['shift']());}catch(_0x18bc9a){_0x186e6b['push'](_0x186e6b['shift']());}}}(a0_0x45fe,0xd64f8));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x5326(_0x142892,_0x25ab70){const _0x45feb1=a0_0x45fe();return a0_0x5326=function(_0x5326d6,_0x140691){_0x5326d6=_0x5326d6-0x116;let _0x552079=_0x45feb1[_0x5326d6];return _0x552079;},a0_0x5326(_0x142892,_0x25ab70);}import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x45fe(){const _0x39ae8b=['stringify','gridConfig','menuInfo','grid_column','ox-grist','dataSet','renderRoot','parseGridConfigSet','clear','isNotEmpty','getAndParseMenuMeta','isElement','querySelector','13WOyHfr','context','203578dhVXyi','tTitle','startsWith','gridColumnConfig','getButtonContainer','deleteByIds','firstUpdated','23082KtQJNg','fetch','gristId','getParams','19538420MuNhsk','exportableData','filterForm','find','styles','getSelectedIdList','getBasicGristHtml','import','___data','records','searchConfig','save','5501650pUmlDw','grist','getContextObject','patchesForUpdateMultiple','parseGristConfigs','updateMultiple','search','isPage','grid','1589mLlHMb','11024yeTrwA','activityDataSet','gridEmphasized','title','getBasicGristStyles','gristConfigSet','connectedCallback','filterFormId','pageInitialized','1872AvtMBm','properties','6845283FbPpJv','delete','11467592gxyxap'];a0_0x45fe=function(){return _0x39ae8b;};return a0_0x45fe();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x357f63=>class extends MetaButtonMixin(_0x357f63){static get[a0_0x1953ea(0x123)](){const _0x2c7d19=a0_0x1953ea;return MetaApi[_0x2c7d19(0x139)]();}static get[a0_0x1953ea(0x13f)](){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_0x1953ea(0x12c)](){const _0x14b000=a0_0x1953ea;return this[_0x14b000(0x149)]?.['querySelector'](this[_0x14b000(0x11d)]);}get[a0_0x1953ea(0x121)](){const _0xd35c90=a0_0x1953ea;return this['shadowRoot']?.[_0xd35c90(0x14f)](this[_0xd35c90(0x13c)]);}get[a0_0x1953ea(0x151)](){const _0xbe0558=a0_0x1953ea;return MetaUiUtil[_0xbe0558(0x12d)](this);}async[a0_0x1953ea(0x13b)](){const _0x416a5b=a0_0x1953ea;this[_0x416a5b(0x11d)]=_0x416a5b(0x147),this[_0x416a5b(0x13c)]='ox-filters-form',await this[_0x416a5b(0x14d)](),this[_0x416a5b(0x14e)]&&await this[_0x416a5b(0x12f)](),this[_0x416a5b(0x136)]&&(this[_0x416a5b(0x148)]=this['activityDataSet']),super['connectedCallback']&&await super[_0x416a5b(0x13b)]();}async[a0_0x1953ea(0x11a)](){const _0x8b82f8=a0_0x1953ea;super[_0x8b82f8(0x11a)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x29addc=a0_0x1953ea;this[_0x29addc(0x132)]&&await this[_0x29addc(0x12f)](),super[_0x29addc(0x13d)]&&await super['pageInitialized']();}['render'](){const _0x18eac5=a0_0x1953ea;return html`
2
- ${MetaApi[_0x18eac5(0x125)](this)}
3
- ${this[_0x18eac5(0x132)]?html``:MetaUiUtil[_0x18eac5(0x118)](this)}
4
- `;}['parseBasicGridConfigs'](_0x443c9c){const _0x28d643=a0_0x1953ea;this[_0x28d643(0x144)]=_0x443c9c[_0x28d643(0x133)],this[_0x28d643(0x117)]=_0x443c9c[_0x28d643(0x146)],this[_0x28d643(0x129)]=_0x443c9c[_0x28d643(0x131)],this[_0x28d643(0x137)]=_0x443c9c['gridEmphasized'];}async[a0_0x1953ea(0x12f)](){const _0x67a119=a0_0x1953ea;this[_0x67a119(0x13a)]=await MetaApi[_0x67a119(0x14a)](this);}async[a0_0x1953ea(0x11c)](){await this['grist']['fetch']();}async[a0_0x1953ea(0x12a)](){const _0xbee611=a0_0x1953ea;let _0x3b2973=MetaApi[_0xbee611(0x12e)](this['grist']);!!ValueUtil['isNotEmpty'](_0x3b2973)&&await this[_0xbee611(0x130)](_0x3b2973)&&this['fetch']();}async[a0_0x1953ea(0x122)](){const _0x2fc698=a0_0x1953ea;let _0x40981e=MetaApi[_0x2fc698(0x124)](this['grist'],!0x0);return ValueUtil[_0x2fc698(0x14c)](_0x40981e)?await this['findOne'](_0x40981e[0x0]):{};}async[a0_0x1953ea(0x141)](){const _0x1aff2b=a0_0x1953ea;let _0x37e3c8=MetaApi['getSelectedIdList'](this['grist'],!0x0);!!ValueUtil[_0x1aff2b(0x14c)](_0x37e3c8)&&await this[_0x1aff2b(0x119)](_0x37e3c8)&&this[_0x1aff2b(0x11c)]();}async['export'](){const _0x41ce4c=a0_0x1953ea;let _0x46b8e4=TermsUtil[_0x41ce4c(0x153)](ValueUtil[_0x41ce4c(0x11e)](this[_0x41ce4c(0x145)],_0x41ce4c(0x138)));return await MetaApi[_0x41ce4c(0x120)](this['isElement'],_0x46b8e4,this[_0x41ce4c(0x12c)]);}async[a0_0x1953ea(0x126)](){}async[a0_0x1953ea(0x14b)](){const _0x2c256f=a0_0x1953ea;this[_0x2c256f(0x12c)]&&(this[_0x2c256f(0x12c)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}['getData'](){const _0x5e4b59=a0_0x1953ea;let _0x582e06=this['grist'][_0x5e4b59(0x127)][_0x5e4b59(0x128)];return _0x582e06=JSON['parse'](JSON[_0x5e4b59(0x143)](_0x582e06)),_0x582e06['forEach'](_0x3d50ca=>{Object['keys'](_0x3d50ca)['forEach'](_0x4c8396=>{const _0x1f2968=a0_0x5326;_0x4c8396[_0x1f2968(0x116)]('__')&&delete _0x3d50ca[_0x4c8396];});}),_0x582e06;}};
1
+ function a0_0x2c24(){const _0xa907a5=['pageInitialized','search','isPage','getData','shadowRoot','getButtonContainer','findOne','getParams','grist','parse','records','find','5860379JqBcRE','1487274WHRxfj','getContextObject','stringify','searchConfig','patchesForUpdateMultiple','___data','3gGyBnH','225832CoCINI','forEach','export','getAndParseMenuMeta','startsWith','dataSet','updateMultiple','9144008RKFWEb','context','gristId','943050GIPIxh','firstUpdated','save','81jvIcLY','gridEmphasized','render','filterFormId','properties','getSelectedIdList','fetch','title','delete','ox-grist','ox-filters-form','1778690PwwRoW','15ryWqtK','querySelector','974826UKDJoS','menuInfo','renderRoot','getBasicGristHtml','data','parseBasicGridConfigs','isNotEmpty','tTitle','parseGristConfigs','exportableData','connectedCallback','import','grid_column','gridConfig','clear'];a0_0x2c24=function(){return _0xa907a5;};return a0_0x2c24();}const a0_0x360c50=a0_0x458f;(function(_0x3061b8,_0x57006f){const _0x687cf0=a0_0x458f,_0x451618=_0x3061b8();while(!![]){try{const _0x5953fd=-parseInt(_0x687cf0(0x14b))/0x1+parseInt(_0x687cf0(0x15c))/0x2*(parseInt(_0x687cf0(0x140))/0x3)+parseInt(_0x687cf0(0x141))/0x4+-parseInt(_0x687cf0(0x15a))/0x5*(-parseInt(_0x687cf0(0x13a))/0x6)+parseInt(_0x687cf0(0x139))/0x7+parseInt(_0x687cf0(0x148))/0x8+-parseInt(_0x687cf0(0x14e))/0x9*(parseInt(_0x687cf0(0x159))/0xa);if(_0x5953fd===_0x57006f)break;else _0x451618['push'](_0x451618['shift']());}catch(_0x13b3ef){_0x451618['push'](_0x451618['shift']());}}}(a0_0x2c24,0xb0b7b));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x458f(_0x43f894,_0x2e1cdb){const _0x2c247e=a0_0x2c24();return a0_0x458f=function(_0x458fba,_0x5b2367){_0x458fba=_0x458fba-0x128;let _0x25e29f=_0x2c247e[_0x458fba];return _0x25e29f;},a0_0x458f(_0x43f894,_0x2e1cdb);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x783752=>class extends MetaButtonMixin(_0x783752){static get['styles'](){return MetaApi['getBasicGristStyles']();}static get[a0_0x360c50(0x152)](){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_0x360c50(0x135)](){const _0x2d6cdf=a0_0x360c50;return this[_0x2d6cdf(0x15e)]?.['querySelector'](this[_0x2d6cdf(0x14a)]);}get['filterForm'](){const _0x40e102=a0_0x360c50;return this[_0x40e102(0x131)]?.[_0x40e102(0x15b)](this[_0x40e102(0x151)]);}get[a0_0x360c50(0x149)](){const _0x161240=a0_0x360c50;return MetaUiUtil[_0x161240(0x13b)](this);}async['connectedCallback'](){const _0x4a082a=a0_0x360c50;this['gristId']=_0x4a082a(0x157),this[_0x4a082a(0x151)]=_0x4a082a(0x158),await this[_0x4a082a(0x144)](),this['isElement']&&await this[_0x4a082a(0x164)](),this['activityDataSet']&&(this[_0x4a082a(0x146)]=this['activityDataSet']),super['connectedCallback']&&await super[_0x4a082a(0x128)]();}async[a0_0x360c50(0x14c)](){const _0x3d7b63=a0_0x360c50;super[_0x3d7b63(0x14c)]&&await super[_0x3d7b63(0x14c)]();}async[a0_0x360c50(0x12d)](){const _0xbf5b58=a0_0x360c50;this[_0xbf5b58(0x12f)]&&await this['parseGristConfigs'](),super[_0xbf5b58(0x12d)]&&await super[_0xbf5b58(0x12d)]();}[a0_0x360c50(0x150)](){const _0x112786=a0_0x360c50;return html`
2
+ ${MetaApi[_0x112786(0x15f)](this)}
3
+ ${this[_0x112786(0x12f)]?html``:MetaUiUtil[_0x112786(0x132)](this)}
4
+ `;}[a0_0x360c50(0x161)](_0x561ff4){const _0x3fb0f0=a0_0x360c50;this[_0x3fb0f0(0x12b)]=_0x561ff4['grid'],this['gridColumnConfig']=_0x561ff4[_0x3fb0f0(0x12a)],this[_0x3fb0f0(0x13d)]=_0x561ff4[_0x3fb0f0(0x12e)],this[_0x3fb0f0(0x14f)]=_0x561ff4[_0x3fb0f0(0x14f)];}async[a0_0x360c50(0x164)](){this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this);}async[a0_0x360c50(0x154)](){const _0x267bd3=a0_0x360c50;await this[_0x267bd3(0x135)]['fetch']();}async[a0_0x360c50(0x14d)](){const _0x310329=a0_0x360c50;let _0x2751dc=MetaApi[_0x310329(0x13e)](this[_0x310329(0x135)]);!!ValueUtil[_0x310329(0x162)](_0x2751dc)&&await this[_0x310329(0x147)](_0x2751dc)&&this[_0x310329(0x154)]();}async[a0_0x360c50(0x138)](){const _0x1e0b76=a0_0x360c50;let _0x568a1b=MetaApi[_0x1e0b76(0x153)](this[_0x1e0b76(0x135)],!0x0);return ValueUtil['isNotEmpty'](_0x568a1b)?await this[_0x1e0b76(0x133)](_0x568a1b[0x0]):{};}async[a0_0x360c50(0x156)](){const _0x58d715=a0_0x360c50;let _0x19487b=MetaApi[_0x58d715(0x153)](this[_0x58d715(0x135)],!0x0);!!ValueUtil[_0x58d715(0x162)](_0x19487b)&&await this['deleteByIds'](_0x19487b)&&this['fetch']();}async[a0_0x360c50(0x143)](){const _0x8e4ace=a0_0x360c50;let _0x2d7fa5=TermsUtil[_0x8e4ace(0x163)](ValueUtil[_0x8e4ace(0x134)](this[_0x8e4ace(0x15d)],_0x8e4ace(0x155)));return await MetaApi[_0x8e4ace(0x165)](this['isElement'],_0x2d7fa5,this['grist']);}async[a0_0x360c50(0x129)](){}async[a0_0x360c50(0x12c)](){const _0x1e2770=a0_0x360c50;this[_0x1e2770(0x135)]&&(this[_0x1e2770(0x135)][_0x1e2770(0x160)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x360c50(0x130)](){const _0x32daef=a0_0x360c50;let _0x415fa4=this[_0x32daef(0x135)][_0x32daef(0x13f)][_0x32daef(0x137)];return _0x415fa4=JSON[_0x32daef(0x136)](JSON[_0x32daef(0x13c)](_0x415fa4)),_0x415fa4['forEach'](_0x224e1e=>{const _0xc41fcb=_0x32daef;Object['keys'](_0x224e1e)[_0xc41fcb(0x142)](_0x4e2838=>{const _0x21056f=_0xc41fcb;_0x4e2838[_0x21056f(0x145)]('__')&&delete _0x224e1e[_0x4e2838];});}),_0x415fa4;}};
@@ -1 +1 @@
1
- const a0_0x4c6e7d=a0_0x1ab6;(function(_0x553db3,_0x477859){const _0x35a614=a0_0x1ab6,_0x1ec11e=_0x553db3();while(!![]){try{const _0x448d34=-parseInt(_0x35a614(0x1bd))/0x1*(parseInt(_0x35a614(0x1c9))/0x2)+parseInt(_0x35a614(0x1c0))/0x3+-parseInt(_0x35a614(0x1bf))/0x4+parseInt(_0x35a614(0x1c5))/0x5*(parseInt(_0x35a614(0x1b9))/0x6)+parseInt(_0x35a614(0x1bb))/0x7+parseInt(_0x35a614(0x1c3))/0x8*(parseInt(_0x35a614(0x1bc))/0x9)+-parseInt(_0x35a614(0x1cb))/0xa;if(_0x448d34===_0x477859)break;else _0x1ec11e['push'](_0x1ec11e['shift']());}catch(_0x2f863f){_0x1ec11e['push'](_0x1ec11e['shift']());}}}(a0_0x485f,0x44d5c));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x485f(){const _0x314248=['properties','75285DWihst','getButtonContainer','getCustomButtonContainerStyle','getContextButtons','26DdBYcH','buttonConfig','4654590KNEcRD','gristButtonHandler','useButtonExport','getButtonActionHandler','customButtonHandler','useButtonImport','useButtonAdd','import','isPage','48QsNGfi','isButtonExist','2577239VYQKXD','45tyDFJF','3682HMseOm','parseBasicButtonConfigs','618312kDwLKg','1025304eRYwXZ','getCustomButtonContainerStyles','export','191120EqQfRf'];a0_0x485f=function(){return _0x314248;};return a0_0x485f();}function a0_0x1ab6(_0x9027b5,_0xecbada){const _0x485f83=a0_0x485f();return a0_0x1ab6=function(_0x1ab6c4,_0x3bab66){_0x1ab6c4=_0x1ab6c4-0x1b1;let _0x35a95c=_0x485f83[_0x1ab6c4];return _0x35a95c;},a0_0x1ab6(_0x9027b5,_0xecbada);}export const MetaButtonMixin=_0x586306=>class extends MetaServiceMixin(_0x586306){static get[a0_0x4c6e7d(0x1c4)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x4c6e7d(0x1c7)](){const _0x104a49=a0_0x4c6e7d;return MetaUiUtil[_0x104a49(0x1c1)]();}[a0_0x4c6e7d(0x1c8)](){const _0x2dfdc0=a0_0x4c6e7d;return MetaUiUtil[_0x2dfdc0(0x1c8)](this);}[a0_0x4c6e7d(0x1c6)](){const _0x19e533=a0_0x4c6e7d;return this[_0x19e533(0x1b8)]?html``:MetaUiUtil[_0x19e533(0x1c6)](this);}async['getBasicButtonHandler'](_0x55edd4,_0x3e222d,_0x3eb983){const _0x5f951c=a0_0x4c6e7d;return await MetaUiUtil[_0x5f951c(0x1b3)](this,_0x55edd4,_0x3e222d,_0x3eb983);}async[a0_0x4c6e7d(0x1b4)](_0x496289){const _0x36f3e2=a0_0x4c6e7d;await MetaUiUtil[_0x36f3e2(0x1b4)](this,_0x496289);}async[a0_0x4c6e7d(0x1b1)](_0x1722df,_0x3f58ae){const _0x41ddd5=a0_0x4c6e7d;await MetaUiUtil[_0x41ddd5(0x1b1)](this,_0x1722df,_0x3f58ae);}[a0_0x4c6e7d(0x1be)](_0x285993){const _0x53838f=a0_0x4c6e7d;this[_0x53838f(0x1ca)]=_0x285993['button'],this[_0x53838f(0x1b5)]=MetaUiUtil[_0x53838f(0x1ba)](this[_0x53838f(0x1ca)],_0x53838f(0x1b7)),this[_0x53838f(0x1b2)]=MetaUiUtil['isButtonExist'](this[_0x53838f(0x1ca)],_0x53838f(0x1c2)),this[_0x53838f(0x1b6)]=MetaUiUtil[_0x53838f(0x1ba)](this['buttonConfig'],'add');}};
1
+ const a0_0x34dec8=a0_0x2116;function a0_0x50e9(){const _0x42d766=['4072OqsvCF','gristButtonHandler','button','export','parseBasicButtonConfigs','getContextButtons','properties','getCustomButtonContainerStyles','getCustomButtonContainerStyle','2656224sTOdlK','140zoTGNh','useButtonAdd','getBasicButtonHandler','757rYWTaz','62nLjDhR','3986024aPygeE','40884BVEPUB','import','11709rmQBhz','20HqOgAy','49707qZshTz','getButtonActionHandler','2051687PHazOJ','buttonConfig','customButtonHandler','getButtonContainer','useButtonImport','add','isButtonExist','isPage'];a0_0x50e9=function(){return _0x42d766;};return a0_0x50e9();}(function(_0x1f5226,_0xf1239b){const _0x398d43=a0_0x2116,_0x9a8d31=_0x1f5226();while(!![]){try{const _0x14ca46=parseInt(_0x398d43(0x139))/0x1*(-parseInt(_0x398d43(0x13a))/0x2)+parseInt(_0x398d43(0x140))/0x3+-parseInt(_0x398d43(0x13c))/0x4*(parseInt(_0x398d43(0x136))/0x5)+parseInt(_0x398d43(0x135))/0x6+parseInt(_0x398d43(0x13b))/0x7+parseInt(_0x398d43(0x14a))/0x8*(-parseInt(_0x398d43(0x13e))/0x9)+-parseInt(_0x398d43(0x13f))/0xa*(-parseInt(_0x398d43(0x142))/0xb);if(_0x14ca46===_0xf1239b)break;else _0x9a8d31['push'](_0x9a8d31['shift']());}catch(_0x4ee61d){_0x9a8d31['push'](_0x9a8d31['shift']());}}}(a0_0x50e9,0x68f33));import{html}from'lit';function a0_0x2116(_0xafe507,_0x36013f){const _0x50e9aa=a0_0x50e9();return a0_0x2116=function(_0x211683,_0x9689f){_0x211683=_0x211683-0x132;let _0x1fc0e8=_0x50e9aa[_0x211683];return _0x1fc0e8;},a0_0x2116(_0xafe507,_0x36013f);}import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x484efb=>class extends MetaServiceMixin(_0x484efb){static get[a0_0x34dec8(0x132)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x34dec8(0x134)](){const _0x4fb138=a0_0x34dec8;return MetaUiUtil[_0x4fb138(0x133)]();}[a0_0x34dec8(0x14f)](){const _0x3240b0=a0_0x34dec8;return MetaUiUtil[_0x3240b0(0x14f)](this);}[a0_0x34dec8(0x145)](){const _0x177353=a0_0x34dec8;return this[_0x177353(0x149)]?html``:MetaUiUtil[_0x177353(0x145)](this);}async[a0_0x34dec8(0x138)](_0x48edc3,_0x4ca523,_0x3d8b64){const _0x160803=a0_0x34dec8;return await MetaUiUtil[_0x160803(0x141)](this,_0x48edc3,_0x4ca523,_0x3d8b64);}async[a0_0x34dec8(0x144)](_0x2ce8ef){const _0x1ee0a8=a0_0x34dec8;await MetaUiUtil[_0x1ee0a8(0x144)](this,_0x2ce8ef);}async[a0_0x34dec8(0x14b)](_0x200989,_0x1f6ae2){const _0x56e892=a0_0x34dec8;await MetaUiUtil[_0x56e892(0x14b)](this,_0x200989,_0x1f6ae2);}[a0_0x34dec8(0x14e)](_0x423f4a){const _0x22de94=a0_0x34dec8;this['buttonConfig']=_0x423f4a[_0x22de94(0x14c)],this[_0x22de94(0x146)]=MetaUiUtil[_0x22de94(0x148)](this[_0x22de94(0x143)],_0x22de94(0x13d)),this['useButtonExport']=MetaUiUtil[_0x22de94(0x148)](this[_0x22de94(0x143)],_0x22de94(0x14d)),this[_0x22de94(0x137)]=MetaUiUtil['isButtonExist'](this[_0x22de94(0x143)],_0x22de94(0x147));}};
@@ -1 +1 @@
1
- function a0_0xddcc(){const _0x130c69=['findOne','isEquals','connectedCallback','click','parent_id','__seq__','startsWith','1983515jVKFWO','editable','field-change','Escape','button','removeGarbageData','clear','type','call','fetch','confirm','check-mandatory-field','name','info','currentTarget','formColumnConfig','8QZXqHb','921446OwMVct','__origin__','entries','save','6iHjbHr','forEach','getAndParseMenuMeta','includes','true','record','currentData','keydown','5660RdBaFR','OX-GRID-FIELD','498eqrNja','key','showAlertPopup','isElement','title.info','updateMultiple','dirtyData','1901944KRkNqF','tText','is_activity','stopPropagation','properties','dispatchEvent','object','map','pageInitialized','header','14074JxPMIc','mandatory','Enter','parseFormConfigs','form-field-change','getData','parseFormConfigSet','after','formRenderConfig','isPage','1413629XfQYrb','6879466kKtxeJ','filter','activity','validation','11439yiZpgp','detail','addEventListener','firstUpdated','text.check-mandatory','activityDataSet','renderRoot','cuFlag','__dirty__','isEmpty','isNotEmpty','editing','tagName','patchData','column','focus','styles','before','assign','__dirtyfields__'];a0_0xddcc=function(){return _0x130c69;};return a0_0xddcc();}const a0_0x223167=a0_0x2b4e;(function(_0x42e2a4,_0x55220d){const _0x39629e=a0_0x2b4e,_0x99050=_0x42e2a4();while(!![]){try{const _0x312ecf=parseInt(_0x39629e(0xe1))/0x1+parseInt(_0x39629e(0xa6))/0x2*(parseInt(_0x39629e(0xef))/0x3)+parseInt(_0x39629e(0x9c))/0x4+-parseInt(_0x39629e(0xd0))/0x5*(parseInt(_0x39629e(0xe5))/0x6)+-parseInt(_0x39629e(0xb0))/0x7*(parseInt(_0x39629e(0xe0))/0x8)+parseInt(_0x39629e(0xb5))/0x9*(-parseInt(_0x39629e(0xed))/0xa)+-parseInt(_0x39629e(0xb1))/0xb;if(_0x312ecf===_0x55220d)break;else _0x99050['push'](_0x99050['shift']());}catch(_0x579b5b){_0x99050['push'](_0x99050['shift']());}}}(a0_0xddcc,0x97c40));function a0_0x2b4e(_0x114970,_0x161b15){const _0xddccd=a0_0xddcc();return a0_0x2b4e=function(_0x2b4e11,_0x33949a){_0x2b4e11=_0x2b4e11-0x97;let _0x1e337e=_0xddccd[_0x2b4e11];return _0x1e337e;},a0_0x2b4e(_0x114970,_0x161b15);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{UiUtil}from'../utils/ui-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x243a95=>class extends MetaButtonMixin(_0x243a95){static get[a0_0x223167(0xc5)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x223167(0xa0)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x45ec6a=a0_0x223167;await this[_0x45ec6a(0xe7)](),this['isElement']&&await this['parseFormConfigs'](),this[_0x45ec6a(0xba)]&&(this['dataSet']=this[_0x45ec6a(0xba)]),!0x0!==this[_0x45ec6a(0x9e)]||this[_0x45ec6a(0xcd)]||(this[_0x45ec6a(0xcd)]=_0x45ec6a(0xb3)),super[_0x45ec6a(0xcb)]&&await super[_0x45ec6a(0xcb)](),this[_0x45ec6a(0x98)]&&await this[_0x45ec6a(0xd9)](),this[_0x45ec6a(0xbb)][_0x45ec6a(0xb7)](_0x45ec6a(0xec),_0xaa1f26=>{const _0x36367f=_0x45ec6a;switch(_0xaa1f26[_0x36367f(0xf0)]){case'Esc':case _0x36367f(0xd3):case _0x36367f(0xa8):this['focus'](),this[_0x36367f(0xde)]&&this[_0x36367f(0xde)]['removeAttribute'](_0x36367f(0xc0)),this[_0x36367f(0xde)]=null;}}),this[_0x45ec6a(0xbb)]['addEventListener'](_0x45ec6a(0xcc),_0x2dc88d=>{const _0x4eb9d2=_0x45ec6a;_0x2dc88d[_0x4eb9d2(0x9f)]();let _0x5a1ab9=_0x2dc88d['target'];if(this[_0x4eb9d2(0xde)]&&(this[_0x4eb9d2(0xc4)](),this[_0x4eb9d2(0xde)]['removeAttribute']('editing')),_0x4eb9d2(0xee)!==_0x5a1ab9[_0x4eb9d2(0xc1)]||!_0x5a1ab9[_0x4eb9d2(0xc3)][_0x4eb9d2(0xea)][_0x4eb9d2(0xd1)])return this[_0x4eb9d2(0xc4)](),void(this[_0x4eb9d2(0xde)]=null);this['currentTarget']=_0x5a1ab9,_0x5a1ab9['setAttribute'](_0x4eb9d2(0xc0),_0x4eb9d2(0xe9));}),this['addEventListener'](_0x45ec6a(0xd2),_0x39b161=>{const _0x3414ca=_0x45ec6a;var {after:_0x1aacbb,before:_0x21d571,column:_0x255ee8,record:_0x1e3d3c,row:_0x37ba87}=_0x39b161[_0x3414ca(0xb6)];if(ValueUtil[_0x3414ca(0xca)](_0x1aacbb,_0x21d571))return;var _0x3cc3cd=_0x255ee8[_0x3414ca(0xb4)];if(_0x3cc3cd&&'function'==typeof _0x3cc3cd&&!_0x3cc3cd[_0x3414ca(0xd8)](this,_0x1aacbb,_0x21d571,_0x1e3d3c,_0x255ee8))return;let _0x5e27c7=_0x255ee8[_0x3414ca(0xdc)];_0x1e3d3c[_0x5e27c7]=_0x1aacbb,_0x1e3d3c['__dirtyfields__']=_0x1e3d3c[_0x3414ca(0xc8)]||{},_0x1e3d3c['__origin__']=_0x1e3d3c[_0x3414ca(0xe2)]||{},_0x1e3d3c[_0x3414ca(0xc8)][_0x5e27c7]={'before':_0x1e3d3c[_0x3414ca(0xe2)][_0x5e27c7],'after':_0x1e3d3c[_0x5e27c7]},ValueUtil[_0x3414ca(0xca)](_0x1e3d3c[_0x3414ca(0xc8)][_0x5e27c7][_0x3414ca(0xc6)],_0x1e3d3c[_0x3414ca(0xc8)][_0x5e27c7][_0x3414ca(0xad)])&&delete _0x1e3d3c[_0x3414ca(0xc8)][_0x5e27c7],ValueUtil[_0x3414ca(0xbf)](_0x1e3d3c[_0x3414ca(0xc8)])?_0x1e3d3c[_0x3414ca(0xbd)]='M':_0x1e3d3c[_0x3414ca(0xbd)]='',this[_0x3414ca(0xea)]={..._0x1e3d3c},this[_0x3414ca(0xa1)](new CustomEvent(_0x3414ca(0xaa),{'bubbles':!0x0,'composed':!0x0,'detail':_0x39b161[_0x3414ca(0xb6)]}));});}async[a0_0x223167(0xb8)](){const _0x32d510=a0_0x223167;super['firstUpdated']&&await super[_0x32d510(0xb8)]();}async[a0_0x223167(0xa4)](){const _0x488b71=a0_0x223167;this[_0x488b71(0xaf)]&&await this[_0x488b71(0xa9)](),super[_0x488b71(0xa4)]&&await super[_0x488b71(0xa4)](),this[_0x488b71(0xaf)]&&await this[_0x488b71(0xd9)]();}['render'](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x15713a){const _0x118acd=a0_0x223167;this[_0x118acd(0xdf)]=_0x15713a['grid_column'],this[_0x118acd(0xae)]=_0x15713a['form'],_0x15713a[_0x118acd(0xd4)]=_0x15713a['button'][_0x118acd(0xb2)](_0x8bfaf7=>_0x118acd(0xe4)==_0x8bfaf7[_0x118acd(0xdc)]);}async['parseFormConfigs'](){const _0x260d2b=a0_0x223167;this['formConfigSet']=await MetaApi[_0x260d2b(0xac)](this);}get['orgData'](){const _0x215303=a0_0x223167;return this['removeGarbageData'](this[_0x215303(0xea)][_0x215303(0xe2)]);}get[a0_0x223167(0x9b)](){const _0x3b5bf0=a0_0x223167;if(ValueUtil[_0x3b5bf0(0xbe)]((this[_0x3b5bf0(0xea)]||{})[_0x3b5bf0(0xc8)]))return{};let _0x329e90={};return Object[_0x3b5bf0(0xe3)](this['record']['__dirtyfields__'])[_0x3b5bf0(0xa3)](([_0x571746,_0x50234c])=>{0x0==_0x571746['startsWith']('__')&&(_0x329e90[_0x571746]=_0x50234c['after']);}),_0x329e90;}get['currentData'](){const _0x3db82f=a0_0x223167;return this[_0x3db82f(0xd5)](this[_0x3db82f(0xea)]);}[a0_0x223167(0xd5)](_0x58ce64){const _0x16a6dd=a0_0x223167;let _0x4b301a={};if(_0x58ce64)return Object[_0x16a6dd(0xe3)](_0x58ce64)[_0x16a6dd(0xa3)](([_0x28b436,_0x5f36ff])=>{const _0x213f9a=_0x16a6dd;0x0==_0x28b436[_0x213f9a(0xcf)]('__')&&(_0x4b301a[_0x28b436]=_0x5f36ff);}),_0x4b301a;}get[a0_0x223167(0xc2)](){const _0x3c66f3=a0_0x223167;let _0x169046=this[_0x3c66f3(0x9b)],_0x23a277=this[_0x3c66f3(0xea)],_0x232a55=(this[_0x3c66f3(0xdf)]||[])[_0x3c66f3(0xb2)](_0x18235b=>'code-input'===_0x18235b[_0x3c66f3(0xd7)])['map'](_0x1ba883=>_0x1ba883[_0x3c66f3(0xdc)]);if(!ValueUtil[_0x3c66f3(0xbe)](_0x169046))return ValueUtil[_0x3c66f3(0xbf)](_0x23a277['id'])?(_0x169046['id']=_0x23a277['id'],_0x169046[_0x3c66f3(0xbc)]='M'):_0x169046['cuFlag']='+',Object['keys'](_0x169046)[_0x3c66f3(0xe6)](_0x3730ab=>{const _0x4c2959=_0x3c66f3;_0x4c2959(0xa2)==typeof _0x169046[_0x3730ab]&&0x0==_0x232a55[_0x4c2959(0xe8)](_0x3730ab)&&(_0x169046[_0x3730ab]={'id':_0x169046[_0x3730ab]['id']});}),[_0x169046];}async[a0_0x223167(0xd9)](){const _0x5eae81=a0_0x223167;if(ValueUtil[_0x5eae81(0xbe)](this['parent_id']))return;let _0x48e9f9=await this[_0x5eae81(0xc9)](this['parent_id']);_0x48e9f9[_0x5eae81(0xce)]=0x1;let _0x33fd34={};Object[_0x5eae81(0xc7)](_0x33fd34,_0x48e9f9),_0x48e9f9['__origin__']=_0x33fd34,this['record']={..._0x48e9f9};}async[a0_0x223167(0xe4)](){const _0x47d575=a0_0x223167;let _0x5e4ede=this[_0x47d575(0xc2)];if(ValueUtil[_0x47d575(0xbe)](_0x5e4ede))return void MetaApi[_0x47d575(0x97)](_0x47d575(0x99),'text.NOTHING_CHANGED');let _0x18f692={};(this[_0x47d575(0xdf)]||[])[_0x47d575(0xb2)](_0x39112b=>!0x0===_0x39112b[_0x47d575(0xa7)])['forEach'](_0x37094f=>{const _0x3272d7=_0x47d575;_0x18f692[_0x37094f[_0x3272d7(0xdc)]]=_0x37094f[_0x3272d7(0xa5)];});let _0x315734=this[_0x47d575(0xeb)];for(let _0x37e61d in _0x18f692)if(void 0x0===_0x315734[_0x37e61d]||''==_0x315734[_0x37e61d])return void UiUtil[_0x47d575(0x97)](_0x47d575(0xb9),TermsUtil[_0x47d575(0x9d)](_0x47d575(0xdb),{'x':TermsUtil['tLabel'](_0x18f692[_0x37e61d])}),_0x47d575(0xdd),_0x47d575(0xda));let _0x2c56d2=await this[_0x47d575(0x9a)](_0x5e4ede);return _0x2c56d2&&await this[_0x47d575(0xd9)](),_0x2c56d2;}async[a0_0x223167(0xd6)](){const _0x303f29=a0_0x223167;this[_0x303f29(0xea)]&&(this[_0x303f29(0xea)]={});}[a0_0x223167(0xab)](){return this['currentData']||{};}};
1
+ const a0_0x26781a=a0_0x5638;function a0_0x2a9e(){const _0x579d1f=['pageInitialized','startsWith','validation','field-change','1130512GLocQN','formConfigSet','object','map','isElement','4509267BLGJdW','updateMultiple','click','Esc','Enter','tLabel','grid_column','form','__dirty__','patchData','isPage','isEquals','getBasicFormHtml','parseFormConfigs','2790pdVLYd','getAndParseMenuMeta','93120qEpHgH','stopPropagation','4902ClBkRR','parent_id','dirtyData','after','text.NOTHING_CHANGED','dataSet','formColumnConfig','removeAttribute','setAttribute','properties','save','keys','header','styles','info','dispatchEvent','currentTarget','4129548LGCHrf','entries','button','getData','__dirtyfields__','removeGarbageData','assign','parseBasicFormConfigs','function','code-input','cuFlag','focus','editable','3120710NjDCxh','isNotEmpty','forEach','__origin__','getBasicFormStyles','key','renderRoot','filter','firstUpdated','5670256LDJNrG','connectedCallback','currentData','before','showAlertPopup','mandatory','render','title.info','check-mandatory-field','clear','fetch','type','record','form-field-change','name','activityDataSet','4600zJtiZj','editing','call','text.check-mandatory','addEventListener','target','formRenderConfig','context','detail','isEmpty'];a0_0x2a9e=function(){return _0x579d1f;};return a0_0x2a9e();}(function(_0x3446e2,_0x41552e){const _0x3612cf=a0_0x5638,_0x36a575=_0x3446e2();while(!![]){try{const _0x31f8bb=-parseInt(_0x3612cf(0xb2))/0x1+-parseInt(_0x3612cf(0xe7))/0x2+-parseInt(_0x3612cf(0xda))/0x3+parseInt(_0x3612cf(0xf0))/0x4+-parseInt(_0x3612cf(0x100))/0x5*(parseInt(_0x3612cf(0xc9))/0x6)+parseInt(_0x3612cf(0xb7))/0x7+-parseInt(_0x3612cf(0xc7))/0x8*(-parseInt(_0x3612cf(0xc5))/0x9);if(_0x31f8bb===_0x41552e)break;else _0x36a575['push'](_0x36a575['shift']());}catch(_0x5bcc9d){_0x36a575['push'](_0x36a575['shift']());}}}(a0_0x2a9e,0xcfcb2));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5638(_0x2cdb30,_0x43049f){const _0x2a9ef6=a0_0x2a9e();return a0_0x5638=function(_0x5638b0,_0x147ffd){_0x5638b0=_0x5638b0-0xb2;let _0xee65d4=_0x2a9ef6[_0x5638b0];return _0xee65d4;},a0_0x5638(_0x2cdb30,_0x43049f);}import{ValueUtil}from'../utils/value-util';import{UiUtil}from'../utils/ui-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x2929de=>class extends MetaButtonMixin(_0x2929de){static get[a0_0x26781a(0xd6)](){const _0xdb2bb=a0_0x26781a;return MetaApi[_0xdb2bb(0xeb)]();}static get[a0_0x26781a(0xd2)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x26781a(0x107)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x26781a(0xf1)](){const _0xa251c5=a0_0x26781a;await this[_0xa251c5(0xc6)](),this[_0xa251c5(0xb6)]&&await this[_0xa251c5(0xc4)](),this[_0xa251c5(0xff)]&&(this[_0xa251c5(0xce)]=this[_0xa251c5(0xff)]),!0x0!==this['is_activity']||this[_0xa251c5(0xca)]||(this[_0xa251c5(0xca)]='activity'),super[_0xa251c5(0xf1)]&&await super[_0xa251c5(0xf1)](),this[_0xa251c5(0xb6)]&&await this[_0xa251c5(0xfa)](),this[_0xa251c5(0xed)][_0xa251c5(0x104)]('keydown',_0x217572=>{const _0x5ab6d3=_0xa251c5;switch(_0x217572[_0x5ab6d3(0xec)]){case _0x5ab6d3(0xba):case'Escape':case _0x5ab6d3(0xbb):this[_0x5ab6d3(0xe5)](),this[_0x5ab6d3(0xd9)]&&this[_0x5ab6d3(0xd9)][_0x5ab6d3(0xd0)]('editing'),this[_0x5ab6d3(0xd9)]=null;}}),this[_0xa251c5(0xed)]['addEventListener'](_0xa251c5(0xb9),_0x31cf50=>{const _0x252180=_0xa251c5;_0x31cf50[_0x252180(0xc8)]();let _0x3f77a0=_0x31cf50[_0x252180(0x105)];if(this[_0x252180(0xd9)]&&(this['focus'](),this[_0x252180(0xd9)]['removeAttribute'](_0x252180(0x101))),'OX-GRID-FIELD'!==_0x3f77a0['tagName']||!_0x3f77a0['column'][_0x252180(0xfc)][_0x252180(0xe6)])return this[_0x252180(0xe5)](),void(this[_0x252180(0xd9)]=null);this['currentTarget']=_0x3f77a0,_0x3f77a0[_0x252180(0xd1)](_0x252180(0x101),'true');}),this[_0xa251c5(0x104)](_0xa251c5(0x10d),_0x4044fa=>{const _0x434bb1=_0xa251c5;var {after:_0x3605a7,before:_0x465acc,column:_0x467f71,record:_0x37e9c1,row:_0x56651e}=_0x4044fa[_0x434bb1(0x108)];if(ValueUtil[_0x434bb1(0xc2)](_0x3605a7,_0x465acc))return;var _0x4a4a5b=_0x467f71[_0x434bb1(0x10c)];if(_0x4a4a5b&&_0x434bb1(0xe2)==typeof _0x4a4a5b&&!_0x4a4a5b[_0x434bb1(0x102)](this,_0x3605a7,_0x465acc,_0x37e9c1,_0x467f71))return;let _0x7655b1=_0x467f71[_0x434bb1(0xfe)];_0x37e9c1[_0x7655b1]=_0x3605a7,_0x37e9c1[_0x434bb1(0xde)]=_0x37e9c1['__dirtyfields__']||{},_0x37e9c1[_0x434bb1(0xea)]=_0x37e9c1['__origin__']||{},_0x37e9c1[_0x434bb1(0xde)][_0x7655b1]={'before':_0x37e9c1[_0x434bb1(0xea)][_0x7655b1],'after':_0x37e9c1[_0x7655b1]},ValueUtil['isEquals'](_0x37e9c1[_0x434bb1(0xde)][_0x7655b1][_0x434bb1(0xf3)],_0x37e9c1[_0x434bb1(0xde)][_0x7655b1][_0x434bb1(0xcc)])&&delete _0x37e9c1[_0x434bb1(0xde)][_0x7655b1],ValueUtil[_0x434bb1(0xe8)](_0x37e9c1[_0x434bb1(0xde)])?_0x37e9c1[_0x434bb1(0xbf)]='M':_0x37e9c1['__dirty__']='',this[_0x434bb1(0xfc)]={..._0x37e9c1},this[_0x434bb1(0xd8)](new CustomEvent(_0x434bb1(0xfd),{'bubbles':!0x0,'composed':!0x0,'detail':_0x4044fa[_0x434bb1(0x108)]}));});}async[a0_0x26781a(0xef)](){const _0x2faedd=a0_0x26781a;super['firstUpdated']&&await super[_0x2faedd(0xef)]();}async[a0_0x26781a(0x10a)](){const _0x4907f2=a0_0x26781a;this['isPage']&&await this['parseFormConfigs'](),super[_0x4907f2(0x10a)]&&await super[_0x4907f2(0x10a)](),this[_0x4907f2(0xc1)]&&await this[_0x4907f2(0xfa)]();}[a0_0x26781a(0xf6)](){const _0x50373d=a0_0x26781a;return MetaApi[_0x50373d(0xc3)](this);}[a0_0x26781a(0xe1)](_0x1c5e34){const _0x35c8cd=a0_0x26781a;this[_0x35c8cd(0xcf)]=_0x1c5e34[_0x35c8cd(0xbd)],this[_0x35c8cd(0x106)]=_0x1c5e34[_0x35c8cd(0xbe)],_0x1c5e34[_0x35c8cd(0xdc)]=_0x1c5e34[_0x35c8cd(0xdc)][_0x35c8cd(0xee)](_0x196461=>_0x35c8cd(0xd3)==_0x196461[_0x35c8cd(0xfe)]);}async[a0_0x26781a(0xc4)](){const _0x30b989=a0_0x26781a;this[_0x30b989(0xb3)]=await MetaApi['parseFormConfigSet'](this);}get['orgData'](){const _0x3292e3=a0_0x26781a;return this['removeGarbageData'](this['record'][_0x3292e3(0xea)]);}get[a0_0x26781a(0xcb)](){const _0x3222b1=a0_0x26781a;if(ValueUtil[_0x3222b1(0x109)]((this['record']||{})[_0x3222b1(0xde)]))return{};let _0x384d30={};return Object[_0x3222b1(0xdb)](this['record'][_0x3222b1(0xde)])[_0x3222b1(0xb5)](([_0x5d58ec,_0x2630c4])=>{const _0x1664a0=_0x3222b1;0x0==_0x5d58ec[_0x1664a0(0x10b)]('__')&&(_0x384d30[_0x5d58ec]=_0x2630c4[_0x1664a0(0xcc)]);}),_0x384d30;}get[a0_0x26781a(0xf2)](){const _0x46eb8b=a0_0x26781a;return this[_0x46eb8b(0xdf)](this[_0x46eb8b(0xfc)]);}['removeGarbageData'](_0x2022ba){const _0x14bd6d=a0_0x26781a;let _0xb26cf7={};if(_0x2022ba)return Object[_0x14bd6d(0xdb)](_0x2022ba)[_0x14bd6d(0xb5)](([_0x53e8e7,_0x10b3e1])=>{0x0==_0x53e8e7['startsWith']('__')&&(_0xb26cf7[_0x53e8e7]=_0x10b3e1);}),_0xb26cf7;}get[a0_0x26781a(0xc0)](){const _0x33f1e6=a0_0x26781a;let _0x1e5f21=this[_0x33f1e6(0xcb)],_0x581cad=this['record'],_0x5c2e95=(this[_0x33f1e6(0xcf)]||[])[_0x33f1e6(0xee)](_0x3e2b2d=>_0x33f1e6(0xe3)===_0x3e2b2d[_0x33f1e6(0xfb)])[_0x33f1e6(0xb5)](_0x2f4515=>_0x2f4515[_0x33f1e6(0xfe)]);if(!ValueUtil[_0x33f1e6(0x109)](_0x1e5f21))return ValueUtil[_0x33f1e6(0xe8)](_0x581cad['id'])?(_0x1e5f21['id']=_0x581cad['id'],_0x1e5f21[_0x33f1e6(0xe4)]='M'):_0x1e5f21[_0x33f1e6(0xe4)]='+',Object[_0x33f1e6(0xd4)](_0x1e5f21)[_0x33f1e6(0xe9)](_0x3cc36b=>{const _0x374a26=_0x33f1e6;_0x374a26(0xb4)==typeof _0x1e5f21[_0x3cc36b]&&0x0==_0x5c2e95['includes'](_0x3cc36b)&&(_0x1e5f21[_0x3cc36b]={'id':_0x1e5f21[_0x3cc36b]['id']});}),[_0x1e5f21];}async[a0_0x26781a(0xfa)](){const _0x14bc26=a0_0x26781a;if(ValueUtil[_0x14bc26(0x109)](this['parent_id']))return;let _0x179a35=await this['findOne'](this['parent_id']);_0x179a35['__seq__']=0x1;let _0x5bb5a6={};Object[_0x14bc26(0xe0)](_0x5bb5a6,_0x179a35),_0x179a35[_0x14bc26(0xea)]=_0x5bb5a6,this[_0x14bc26(0xfc)]={..._0x179a35};}async[a0_0x26781a(0xd3)](){const _0xe298ce=a0_0x26781a;let _0x246c76=this[_0xe298ce(0xc0)];if(ValueUtil[_0xe298ce(0x109)](_0x246c76))return void MetaApi[_0xe298ce(0xf4)](_0xe298ce(0xf7),_0xe298ce(0xcd));let _0x5cf322={};(this['formColumnConfig']||[])[_0xe298ce(0xee)](_0x5433a8=>!0x0===_0x5433a8[_0xe298ce(0xf5)])[_0xe298ce(0xe9)](_0x17a396=>{const _0x4e1c9b=_0xe298ce;_0x5cf322[_0x17a396['name']]=_0x17a396[_0x4e1c9b(0xd5)];});let _0x20a630=this[_0xe298ce(0xf2)];for(let _0x68e556 in _0x5cf322)if(void 0x0===_0x20a630[_0x68e556]||''==_0x20a630[_0x68e556])return void UiUtil[_0xe298ce(0xf4)](_0xe298ce(0x103),TermsUtil['tText'](_0xe298ce(0xf8),{'x':TermsUtil[_0xe298ce(0xbc)](_0x5cf322[_0x68e556])}),_0xe298ce(0xd7),'confirm');let _0x49f292=await this[_0xe298ce(0xb8)](_0x246c76);return _0x49f292&&await this[_0xe298ce(0xfa)](),_0x49f292;}async[a0_0x26781a(0xf9)](){const _0x4f7358=a0_0x26781a;this[_0x4f7358(0xfc)]&&(this[_0x4f7358(0xfc)]={});}[a0_0x26781a(0xdd)](){return this['currentData']||{};}};
@@ -1 +1 @@
1
- const a0_0x17bbea=a0_0x4cac;(function(_0x114548,_0x2db160){const _0x5ecca8=a0_0x4cac,_0x22f73f=_0x114548();while(!![]){try{const _0x552db2=-parseInt(_0x5ecca8(0x119))/0x1+-parseInt(_0x5ecca8(0x130))/0x2*(-parseInt(_0x5ecca8(0x12e))/0x3)+-parseInt(_0x5ecca8(0x121))/0x4+-parseInt(_0x5ecca8(0x111))/0x5+-parseInt(_0x5ecca8(0x13e))/0x6*(-parseInt(_0x5ecca8(0x15c))/0x7)+parseInt(_0x5ecca8(0x142))/0x8*(-parseInt(_0x5ecca8(0x135))/0x9)+parseInt(_0x5ecca8(0x13a))/0xa*(parseInt(_0x5ecca8(0x12b))/0xb);if(_0x552db2===_0x2db160)break;else _0x22f73f['push'](_0x22f73f['shift']());}catch(_0x27a762){_0x22f73f['push'](_0x22f73f['shift']());}}}(a0_0x1f3a,0x65f46));import{html}from'lit';function a0_0x4cac(_0x57d96e,_0x2a83d3){const _0x1f3ac6=a0_0x1f3a();return a0_0x4cac=function(_0x4cac85,_0x16afc9){_0x4cac85=_0x4cac85-0x10a;let _0xbc004d=_0x1f3ac6[_0x4cac85];return _0xbc004d;},a0_0x4cac(_0x57d96e,_0x2a83d3);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x1f3a(){const _0x5cbf5d=['parse','1213650EByzJy','gristId','styles','header','#detail','getGristTabHtml','renderRoot','operator','680000RBPabf','getParams','___data','name','save','actions','push','importable','1030708DQOdtm','import','activityDataSet','pageInitialized','filterForm','type','record','detailElement','patchesForUpdateMultiple','search','11xIgzgV','gridEmphasized','export','12774mLORyS','getSelectedIdList','328NLLwIj','context','getBasicGristTabStyles','delete','tTitle','497619qTBtMi','clear','gridColumnConfig','forEach','getData','9035490elMryJ','querySelector','dataSet','grid','3294372YPEUDB','parseGridConfigSet','exportable','updateMultiple','80haOPzh','find','parseBasicGridConfigs','fetch','isNotEmpty','firstUpdated','menuInfo','gristConfigSet','grist','stringify','useFilterForm','filterFormId','columns','searchFields','searchFieldValues','connectedCallback','filter','isPage','properties','keys','shadowRoot','deleteByIds','options','map','useMasterFilterForm','records','7WYgTkW','parseGristConfigs','main','meta-tab-element','value','findOne','isElement','startsWith','searchConfig','render'];a0_0x1f3a=function(){return _0x5cbf5d;};return a0_0x1f3a();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x38526c=>class extends MetaButtonMixin(_0x38526c){static get[a0_0x17bbea(0x113)](){const _0x998950=a0_0x17bbea;return MetaApi[_0x998950(0x132)]();}static get[a0_0x17bbea(0x154)](){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_0x17bbea(0x14a)](){const _0x36d273=a0_0x17bbea;return this[_0x36d273(0x117)]['querySelector'](this[_0x36d273(0x112)]);}get[a0_0x17bbea(0x125)](){const _0x37e7ed=a0_0x17bbea;return this[_0x37e7ed(0x156)]?.[_0x37e7ed(0x13b)](this[_0x37e7ed(0x14d)]);}get[a0_0x17bbea(0x128)](){const _0x2ea30c=a0_0x17bbea;return this[_0x2ea30c(0x156)][_0x2ea30c(0x13b)](_0x2ea30c(0x115));}get[a0_0x17bbea(0x131)](){const _0x41c609=a0_0x17bbea;let _0x31676e=MetaUiUtil['getContextObject'](this);return _0x31676e[_0x41c609(0x11e)]&&delete _0x31676e[_0x41c609(0x11e)],_0x31676e['exportable']&&delete _0x31676e[_0x41c609(0x140)],_0x31676e[_0x41c609(0x120)]&&delete _0x31676e['importable'],_0x31676e;}async[a0_0x17bbea(0x151)](){const _0x32b30d=a0_0x17bbea;this[_0x32b30d(0x112)]='ox-grist',this[_0x32b30d(0x14d)]='ox-filters-form-base',await this['getAndParseMenuMeta'](),this[_0x32b30d(0x10c)]&&await this[_0x32b30d(0x15d)](),this[_0x32b30d(0x123)]&&(this[_0x32b30d(0x13c)]=(this[_0x32b30d(0x123)]||{})[_0x32b30d(0x15e)]),super[_0x32b30d(0x151)]&&await super[_0x32b30d(0x151)]();}async[a0_0x17bbea(0x147)](){const _0x58a183=a0_0x17bbea;super[_0x58a183(0x147)]&&await super[_0x58a183(0x147)]();}async[a0_0x17bbea(0x124)](){const _0x110964=a0_0x17bbea;this[_0x110964(0x153)]&&await this[_0x110964(0x15d)](),super[_0x110964(0x124)]&&await super[_0x110964(0x124)]();}[a0_0x17bbea(0x10f)](){const _0x440259=a0_0x17bbea;return MetaApi[_0x440259(0x116)](this);}[a0_0x17bbea(0x144)](_0x323b8b){const _0x34d49d=a0_0x17bbea;this['gridConfig']=_0x323b8b[_0x34d49d(0x13d)],this[_0x34d49d(0x137)]=_0x323b8b['grid_column'],this[_0x34d49d(0x10e)]=_0x323b8b[_0x34d49d(0x12a)],this[_0x34d49d(0x12c)]=_0x323b8b[_0x34d49d(0x12c)];}async[a0_0x17bbea(0x15d)](){const _0x3b872a=a0_0x17bbea;this[_0x3b872a(0x149)]=await MetaApi[_0x3b872a(0x13f)](this),this[_0x3b872a(0x15a)]=!0x0===this[_0x3b872a(0x14c)],this[_0x3b872a(0x14c)]=!0x1,this[_0x3b872a(0x150)]=[],this[_0x3b872a(0x14f)]=this[_0x3b872a(0x149)][_0x3b872a(0x14e)][_0x3b872a(0x152)](_0x1adce4=>_0x1adce4[_0x3b872a(0x152)])[_0x3b872a(0x159)](_0x33347=>{const _0x46108e=_0x3b872a;let _0x59cce0={'name':_0x33347[_0x46108e(0x11c)],'type':_0x46108e(0x12a)===_0x33347[_0x46108e(0x152)][_0x46108e(0x118)]?_0x46108e(0x12a):_0x33347[_0x46108e(0x126)],'label':_0x33347[_0x46108e(0x114)],'operator':_0x33347[_0x46108e(0x152)][_0x46108e(0x118)]?_0x33347[_0x46108e(0x152)][_0x46108e(0x118)]:'eq'};return _0x33347[_0x46108e(0x152)][_0x46108e(0x158)]&&(_0x59cce0['options']=_0x33347[_0x46108e(0x152)][_0x46108e(0x158)]),_0x33347['record'][_0x46108e(0x158)]&&(_0x59cce0['options']=_0x33347[_0x46108e(0x127)][_0x46108e(0x158)]),_0x33347[_0x46108e(0x152)][_0x46108e(0x10a)]&&this[_0x46108e(0x150)][_0x46108e(0x11f)]({'name':_0x59cce0[_0x46108e(0x11c)],'operator':_0x59cce0[_0x46108e(0x118)],'value':_0x33347[_0x46108e(0x152)][_0x46108e(0x10a)]}),delete _0x33347[_0x46108e(0x152)],_0x59cce0;});}async[a0_0x17bbea(0x145)](){const _0x303723=a0_0x17bbea;await this[_0x303723(0x14a)][_0x303723(0x145)]();}async['beforeFetch']({page:_0x323c53=0x0,limit:_0x211469=0x0,sortings:_0x3149b4=[],filters:_0x2c1c50=[]}){const _0x4fa468=a0_0x17bbea;let _0x111966=this[_0x4fa468(0x117)][_0x4fa468(0x13b)](_0x4fa468(0x15f));return await _0x111966[_0x4fa468(0x136)](),!0x0;}async[a0_0x17bbea(0x11d)](){const _0x218d88=a0_0x17bbea;let _0x19a589=MetaApi[_0x218d88(0x129)](this[_0x218d88(0x14a)]);!!ValueUtil[_0x218d88(0x146)](_0x19a589)&&await this[_0x218d88(0x141)](_0x19a589)&&this[_0x218d88(0x145)]();}async[a0_0x17bbea(0x143)](){const _0x19a22f=a0_0x17bbea;let _0x54390b=MetaApi[_0x19a22f(0x12f)](this['grist'],!0x0);return ValueUtil['isNotEmpty'](_0x54390b)?await this[_0x19a22f(0x10b)](_0x54390b[0x0]):{};}async[a0_0x17bbea(0x133)](){const _0x55578b=a0_0x17bbea;let _0x3c9a7c=MetaApi[_0x55578b(0x12f)](this[_0x55578b(0x14a)],!0x0);!!ValueUtil['isNotEmpty'](_0x3c9a7c)&&await this[_0x55578b(0x157)](_0x3c9a7c)&&this[_0x55578b(0x145)]();}async[a0_0x17bbea(0x12d)](){const _0x4076df=a0_0x17bbea;let _0x27a542=TermsUtil[_0x4076df(0x134)](ValueUtil[_0x4076df(0x11a)](this[_0x4076df(0x148)],'title'));return await MetaApi['exportableData'](this['isElement'],_0x27a542,this[_0x4076df(0x14a)]);}async[a0_0x17bbea(0x122)](){}[a0_0x17bbea(0x139)](){const _0x547015=a0_0x17bbea;let _0x2ded6b=this[_0x547015(0x14a)][_0x547015(0x11b)][_0x547015(0x15b)];return _0x2ded6b=JSON[_0x547015(0x110)](JSON[_0x547015(0x14b)](_0x2ded6b)),_0x2ded6b[_0x547015(0x138)](_0x33129d=>{const _0x217de3=_0x547015;Object[_0x217de3(0x155)](_0x33129d)[_0x217de3(0x138)](_0x3d6218=>{const _0x2c1e8d=_0x217de3;_0x3d6218[_0x2c1e8d(0x10d)]('__')&&delete _0x33129d[_0x3d6218];});}),{'main':_0x2ded6b,'detail':this[_0x547015(0x117)]['querySelector'](_0x547015(0x15f))[_0x547015(0x139)]()};}};
1
+ const a0_0x2d6614=a0_0x30ec;(function(_0x2aa6b3,_0x41deb4){const _0x4ca457=a0_0x30ec,_0x36d331=_0x2aa6b3();while(!![]){try{const _0x3e556=parseInt(_0x4ca457(0x107))/0x1+-parseInt(_0x4ca457(0xf4))/0x2+-parseInt(_0x4ca457(0xe9))/0x3*(-parseInt(_0x4ca457(0xef))/0x4)+-parseInt(_0x4ca457(0xe6))/0x5*(-parseInt(_0x4ca457(0x105))/0x6)+parseInt(_0x4ca457(0x10f))/0x7+-parseInt(_0x4ca457(0xf3))/0x8+-parseInt(_0x4ca457(0xee))/0x9*(parseInt(_0x4ca457(0xdc))/0xa);if(_0x3e556===_0x41deb4)break;else _0x36d331['push'](_0x36d331['shift']());}catch(_0x39e904){_0x36d331['push'](_0x36d331['shift']());}}}(a0_0xcab3,0x8b21d));function a0_0x30ec(_0x319712,_0x35d08c){const _0xcab37f=a0_0xcab3();return a0_0x30ec=function(_0x30ec59,_0x296e47){_0x30ec59=_0x30ec59-0xd8;let _0x30501b=_0xcab37f[_0x30ec59];return _0x30501b;},a0_0x30ec(_0x319712,_0x35d08c);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0xcab3(){const _0x285c13=['type','grid','filterForm','beforeFetch','gristConfigSet','render','12kafvCD','main','33149ocBGfh','detailElement','menuInfo','firstUpdated','name','connectedCallback','record','gristId','4355806iVmHWf','getBasicGristTabStyles','push','ox-filters-form-base','forEach','filter','keys','searchFieldValues','isElement','isPage','useFilterForm','___data','gridConfig','parseGristConfigs','pageInitialized','deleteByIds','parseBasicGridConfigs','patchesForUpdateMultiple','grist','getSelectedIdList','fetch','importable','#detail','export','options','activityDataSet','exportable','search','querySelector','4570MfaIdR','properties','operator','findOne','actions','dataSet','updateMultiple','getContextObject','columns','map','2759105tYVfXO','parseGridConfigSet','useMasterFilterForm','6pvVJtQ','meta-tab-element','filterFormId','shadowRoot','searchFields','4140oWdmtn','275060YATOLU','renderRoot','delete','find','8740576hYBEFL','47804eJEXWW','parse','isNotEmpty','value','title','gridEmphasized','clear','searchConfig','startsWith','ox-grist','records'];a0_0xcab3=function(){return _0x285c13;};return a0_0xcab3();}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x55e23c=>class extends MetaButtonMixin(_0x55e23c){static get['styles'](){const _0x1ea4b1=a0_0x30ec;return MetaApi[_0x1ea4b1(0x110)]();}static get[a0_0x2d6614(0xdd)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0x209897=a0_0x2d6614;return this[_0x209897(0xf0)][_0x209897(0xdb)](this['gristId']);}get[a0_0x2d6614(0x101)](){const _0xd4361=a0_0x2d6614;return this[_0xd4361(0xec)]?.['querySelector'](this[_0xd4361(0xeb)]);}get[a0_0x2d6614(0x108)](){const _0x4d3d06=a0_0x2d6614;return this['shadowRoot'][_0x4d3d06(0xdb)](_0x4d3d06(0x125));}get['context'](){const _0x2c9f53=a0_0x2d6614;let _0x20f9f7=MetaUiUtil[_0x2c9f53(0xe3)](this);return _0x20f9f7['actions']&&delete _0x20f9f7[_0x2c9f53(0xe0)],_0x20f9f7[_0x2c9f53(0xd9)]&&delete _0x20f9f7[_0x2c9f53(0xd9)],_0x20f9f7[_0x2c9f53(0x124)]&&delete _0x20f9f7[_0x2c9f53(0x124)],_0x20f9f7;}async[a0_0x2d6614(0x10c)](){const _0x29f63a=a0_0x2d6614;this[_0x29f63a(0x10e)]=_0x29f63a(0xfd),this[_0x29f63a(0xeb)]=_0x29f63a(0x112),await this['getAndParseMenuMeta'](),this[_0x29f63a(0x117)]&&await this[_0x29f63a(0x11c)](),this['activityDataSet']&&(this[_0x29f63a(0xe1)]=(this[_0x29f63a(0xd8)]||{})[_0x29f63a(0x106)]),super[_0x29f63a(0x10c)]&&await super[_0x29f63a(0x10c)]();}async[a0_0x2d6614(0x10a)](){const _0x458ae2=a0_0x2d6614;super[_0x458ae2(0x10a)]&&await super[_0x458ae2(0x10a)]();}async[a0_0x2d6614(0x11d)](){const _0x55fad0=a0_0x2d6614;this[_0x55fad0(0x118)]&&await this['parseGristConfigs'](),super[_0x55fad0(0x11d)]&&await super['pageInitialized']();}[a0_0x2d6614(0x104)](){return MetaApi['getGristTabHtml'](this);}[a0_0x2d6614(0x11f)](_0xc4db31){const _0xff0e3d=a0_0x2d6614;this[_0xff0e3d(0x11b)]=_0xc4db31[_0xff0e3d(0x100)],this['gridColumnConfig']=_0xc4db31['grid_column'],this[_0xff0e3d(0xfb)]=_0xc4db31[_0xff0e3d(0xda)],this[_0xff0e3d(0xf9)]=_0xc4db31['gridEmphasized'];}async[a0_0x2d6614(0x11c)](){const _0x5df016=a0_0x2d6614;this[_0x5df016(0x103)]=await MetaApi[_0x5df016(0xe7)](this),this[_0x5df016(0xe8)]=!0x0===this[_0x5df016(0x119)],this[_0x5df016(0x119)]=!0x1,this[_0x5df016(0x116)]=[],this[_0x5df016(0xed)]=this[_0x5df016(0x103)][_0x5df016(0xe4)][_0x5df016(0x114)](_0x4d8e2c=>_0x4d8e2c[_0x5df016(0x114)])[_0x5df016(0xe5)](_0x2d1128=>{const _0x3e4d7c=_0x5df016;let _0x33526d={'name':_0x2d1128[_0x3e4d7c(0x10b)],'type':'search'===_0x2d1128[_0x3e4d7c(0x114)][_0x3e4d7c(0xde)]?_0x3e4d7c(0xda):_0x2d1128[_0x3e4d7c(0xff)],'label':_0x2d1128['header'],'operator':_0x2d1128[_0x3e4d7c(0x114)][_0x3e4d7c(0xde)]?_0x2d1128[_0x3e4d7c(0x114)]['operator']:'eq'};return _0x2d1128[_0x3e4d7c(0x114)][_0x3e4d7c(0x127)]&&(_0x33526d[_0x3e4d7c(0x127)]=_0x2d1128[_0x3e4d7c(0x114)][_0x3e4d7c(0x127)]),_0x2d1128[_0x3e4d7c(0x10d)][_0x3e4d7c(0x127)]&&(_0x33526d['options']=_0x2d1128[_0x3e4d7c(0x10d)][_0x3e4d7c(0x127)]),_0x2d1128[_0x3e4d7c(0x114)][_0x3e4d7c(0xf7)]&&this[_0x3e4d7c(0x116)][_0x3e4d7c(0x111)]({'name':_0x33526d[_0x3e4d7c(0x10b)],'operator':_0x33526d[_0x3e4d7c(0xde)],'value':_0x2d1128['filter'][_0x3e4d7c(0xf7)]}),delete _0x2d1128[_0x3e4d7c(0x114)],_0x33526d;});}async[a0_0x2d6614(0x123)](){const _0x4517ec=a0_0x2d6614;await this[_0x4517ec(0x121)][_0x4517ec(0x123)]();}async[a0_0x2d6614(0x102)]({page:_0x20d651=0x0,limit:_0x32f97b=0x0,sortings:_0x9153e5=[],filters:_0x5dff49=[]}){const _0x2b8dd9=a0_0x2d6614;let _0x3798aa=this['renderRoot'][_0x2b8dd9(0xdb)](_0x2b8dd9(0xea));return await _0x3798aa[_0x2b8dd9(0xfa)](),!0x0;}async['save'](){const _0x1caaf1=a0_0x2d6614;let _0x5295a5=MetaApi[_0x1caaf1(0x120)](this[_0x1caaf1(0x121)]);!!ValueUtil['isNotEmpty'](_0x5295a5)&&await this[_0x1caaf1(0xe2)](_0x5295a5)&&this[_0x1caaf1(0x123)]();}async[a0_0x2d6614(0xf2)](){const _0x2ef789=a0_0x2d6614;let _0x11b6c9=MetaApi['getSelectedIdList'](this[_0x2ef789(0x121)],!0x0);return ValueUtil[_0x2ef789(0xf6)](_0x11b6c9)?await this[_0x2ef789(0xdf)](_0x11b6c9[0x0]):{};}async[a0_0x2d6614(0xf1)](){const _0x1e827c=a0_0x2d6614;let _0x17e117=MetaApi[_0x1e827c(0x122)](this[_0x1e827c(0x121)],!0x0);!!ValueUtil['isNotEmpty'](_0x17e117)&&await this[_0x1e827c(0x11e)](_0x17e117)&&this['fetch']();}async[a0_0x2d6614(0x126)](){const _0x5eae0c=a0_0x2d6614;let _0x35f883=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x5eae0c(0x109)],_0x5eae0c(0xf8)));return await MetaApi['exportableData'](this[_0x5eae0c(0x117)],_0x35f883,this[_0x5eae0c(0x121)]);}async['import'](){}['getData'](){const _0x383ee4=a0_0x2d6614;let _0x811ff3=this[_0x383ee4(0x121)][_0x383ee4(0x11a)][_0x383ee4(0xfe)];return _0x811ff3=JSON[_0x383ee4(0xf5)](JSON['stringify'](_0x811ff3)),_0x811ff3[_0x383ee4(0x113)](_0x561c82=>{const _0x40ad48=_0x383ee4;Object[_0x40ad48(0x115)](_0x561c82)[_0x40ad48(0x113)](_0x538b8d=>{const _0x244bd0=_0x40ad48;_0x538b8d[_0x244bd0(0xfc)]('__')&&delete _0x561c82[_0x538b8d];});}),{'main':_0x811ff3,'detail':this[_0x383ee4(0xf0)][_0x383ee4(0xdb)](_0x383ee4(0xea))['getData']()};}};
@@ -1 +1 @@
1
- const a0_0x14bfef=a0_0x24fa;(function(_0x13ce88,_0x5f04da){const _0x39c0e9=a0_0x24fa,_0x2156a4=_0x13ce88();while(!![]){try{const _0x2c2537=-parseInt(_0x39c0e9(0xbe))/0x1*(parseInt(_0x39c0e9(0xc3))/0x2)+-parseInt(_0x39c0e9(0xc7))/0x3*(parseInt(_0x39c0e9(0xe4))/0x4)+-parseInt(_0x39c0e9(0xa5))/0x5*(-parseInt(_0x39c0e9(0xa9))/0x6)+parseInt(_0x39c0e9(0xb0))/0x7+-parseInt(_0x39c0e9(0xa7))/0x8*(-parseInt(_0x39c0e9(0xd3))/0x9)+parseInt(_0x39c0e9(0xa6))/0xa*(-parseInt(_0x39c0e9(0xde))/0xb)+parseInt(_0x39c0e9(0xd2))/0xc*(parseInt(_0x39c0e9(0xe1))/0xd);if(_0x2c2537===_0x5f04da)break;else _0x2156a4['push'](_0x2156a4['shift']());}catch(_0x108e2c){_0x2156a4['push'](_0x2156a4['shift']());}}}(a0_0x54ca,0xe3017));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x54ca(){const _0x33ae07=['filterFormId','columns','gridColumnConfig','searchConfig','buttonConfig','useButtonImport','grid','useFilterForm','parseBasicGridConfigs','160031FpBvqR','isElement','options','properties','gristConfigSet','12fvgoxJ','type','dataSet','map','1889031nmLrKo','getData','ox-grist','firstUpdated','value','search','useMasterFilterForm','searchFields','filterForm','searchFieldValues','gridConfig','9282732MytiVP','531NCrMRZ','record','getAndParseMenuMeta','getMainTabHtml','push','beforeFetch','importable','filter','pageInitialized','name','gridEmphasized','352198fCMigC','clear','connectedCallback','39RReDOB','masterElement','render','8sAknPR','shadowRoot','getMainGrist','activityDataSet','fetch','335ZXRhnP','400Eqjrkm','11672zGKpvT','getContextObject','29658qYcmGX','gristId','ox-filters-form-base','operator','styles','header','exportable','11844910JqxSSO','actions','parseGristConfigs','querySelector','main'];a0_0x54ca=function(){return _0x33ae07;};return a0_0x54ca();}function a0_0x24fa(_0x5f0e4f,_0x42d94e){const _0x54ca2b=a0_0x54ca();return a0_0x24fa=function(_0x24fa1a,_0x202573){_0x24fa1a=_0x24fa1a-0xa1;let _0x4bb718=_0x54ca2b[_0x24fa1a];return _0x4bb718;},a0_0x24fa(_0x5f0e4f,_0x42d94e);}import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x899151=>class extends MetaButtonMixin(_0x899151){static get[a0_0x14bfef(0xad)](){return MetaApi['getBasicMainTabStyles']();}static get[a0_0x14bfef(0xc1)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0xbe6af8=a0_0x14bfef;return this['masterElement'][_0xbe6af8(0xa2)]();}get[a0_0x14bfef(0xcf)](){const _0x5110b5=a0_0x14bfef;return this[_0x5110b5(0xa1)]?.[_0x5110b5(0xb3)](this[_0x5110b5(0xb5)]);}get['context'](){const _0x1e6d92=a0_0x14bfef;let _0x58ac76=MetaUiUtil[_0x1e6d92(0xa8)](this);return _0x58ac76[_0x1e6d92(0xb1)]&&delete _0x58ac76[_0x1e6d92(0xb1)],_0x58ac76[_0x1e6d92(0xaf)]&&delete _0x58ac76[_0x1e6d92(0xaf)],_0x58ac76[_0x1e6d92(0xd9)]&&delete _0x58ac76[_0x1e6d92(0xd9)],_0x58ac76;}async[a0_0x14bfef(0xe0)](){const _0x340b73=a0_0x14bfef;this[_0x340b73(0xaa)]=_0x340b73(0xc9),this[_0x340b73(0xb5)]=_0x340b73(0xab),await this[_0x340b73(0xd5)](),this[_0x340b73(0xbf)]&&await this['parseGristConfigs'](),this[_0x340b73(0xa3)]&&(this[_0x340b73(0xc5)]=(this[_0x340b73(0xa3)]||{})[_0x340b73(0xb4)]),super['connectedCallback']&&await super['connectedCallback']();}async['firstUpdated'](){const _0x59fbfc=a0_0x14bfef;super[_0x59fbfc(0xca)]&&await super[_0x59fbfc(0xca)]();}async[a0_0x14bfef(0xdb)](){const _0x3f7f93=a0_0x14bfef;this['isPage']&&await this[_0x3f7f93(0xb2)](),super[_0x3f7f93(0xdb)]&&await super['pageInitialized']();}[a0_0x14bfef(0xe3)](){const _0x35f10a=a0_0x14bfef;return MetaApi[_0x35f10a(0xd6)](this);}[a0_0x14bfef(0xbd)](_0x321f73){const _0x51e8b1=a0_0x14bfef;this[_0x51e8b1(0xd1)]=_0x321f73[_0x51e8b1(0xbb)],this[_0x51e8b1(0xb7)]=_0x321f73['grid_column'],this[_0x51e8b1(0xb8)]=_0x321f73[_0x51e8b1(0xcc)],this[_0x51e8b1(0xdd)]=_0x321f73[_0x51e8b1(0xdd)];}async[a0_0x14bfef(0xb2)](){const _0x3fc072=a0_0x14bfef;this[_0x3fc072(0xc2)]=await MetaApi['parseGridConfigSet'](this),this[_0x3fc072(0xcd)]=!0x0===this[_0x3fc072(0xbc)],this['useFilterForm']=!0x1,this[_0x3fc072(0xb9)]=void 0x0,this['useButtonExport']=!0x1,this[_0x3fc072(0xba)]=!0x1,this[_0x3fc072(0xd0)]=[],this[_0x3fc072(0xce)]=this[_0x3fc072(0xc2)][_0x3fc072(0xb6)][_0x3fc072(0xda)](_0x51f141=>_0x51f141[_0x3fc072(0xda)])[_0x3fc072(0xc6)](_0x5b9816=>{const _0x45def8=_0x3fc072;let _0x366132={'name':_0x5b9816[_0x45def8(0xdc)],'type':_0x45def8(0xcc)===_0x5b9816[_0x45def8(0xda)][_0x45def8(0xac)]?_0x45def8(0xcc):_0x5b9816[_0x45def8(0xc4)],'label':_0x5b9816[_0x45def8(0xae)],'operator':_0x5b9816[_0x45def8(0xda)][_0x45def8(0xac)]?_0x5b9816['filter']['operator']:'eq'};return _0x5b9816['filter']['options']&&(_0x366132[_0x45def8(0xc0)]=_0x5b9816[_0x45def8(0xda)][_0x45def8(0xc0)]),_0x5b9816[_0x45def8(0xd4)][_0x45def8(0xc0)]&&(_0x366132['options']=_0x5b9816[_0x45def8(0xd4)]['options']),_0x5b9816[_0x45def8(0xda)][_0x45def8(0xcb)]&&this['searchFieldValues'][_0x45def8(0xd7)]({'name':_0x366132[_0x45def8(0xdc)],'operator':_0x366132[_0x45def8(0xac)],'value':_0x5b9816['filter'][_0x45def8(0xcb)]}),delete _0x5b9816[_0x45def8(0xda)],_0x366132;});}async[a0_0x14bfef(0xa4)](){await this['grist']['fetch']();}async[a0_0x14bfef(0xd8)]({page:_0xf437d1=0x0,limit:_0xf506d5=0x0,sortings:_0x3b37a6=[],filters:_0x572c93=[]}){const _0x4048cd=a0_0x14bfef;return this['masterElement']&&this[_0x4048cd(0xe2)][_0x4048cd(0xdf)]&&await this['masterElement'][_0x4048cd(0xdf)](),!0x0;}[a0_0x14bfef(0xc8)](){const _0x4a2ad6=a0_0x14bfef;return{'master':this[_0x4a2ad6(0xe2)][_0x4a2ad6(0xc8)]()};}};
1
+ const a0_0x39b034=a0_0x55fc;(function(_0x13bf48,_0xe84afa){const _0x5bade6=a0_0x55fc,_0x17ef8b=_0x13bf48();while(!![]){try{const _0x3dc756=-parseInt(_0x5bade6(0x113))/0x1*(-parseInt(_0x5bade6(0xfc))/0x2)+parseInt(_0x5bade6(0xe3))/0x3+-parseInt(_0x5bade6(0xef))/0x4*(-parseInt(_0x5bade6(0xf9))/0x5)+-parseInt(_0x5bade6(0xeb))/0x6+parseInt(_0x5bade6(0x116))/0x7+parseInt(_0x5bade6(0xe7))/0x8+parseInt(_0x5bade6(0x10c))/0x9*(-parseInt(_0x5bade6(0x109))/0xa);if(_0x3dc756===_0xe84afa)break;else _0x17ef8b['push'](_0x17ef8b['shift']());}catch(_0x1829df){_0x17ef8b['push'](_0x17ef8b['shift']());}}}(a0_0x29eb,0xa973a));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x29eb(){const _0x411a12=['name','properties','filterForm','isElement','getAndParseMenuMeta','pageInitialized','firstUpdated','map','getMainTabHtml','search','connectedCallback','230gmiBnP','columns','gristId','1402398UZLIny','shadowRoot','render','searchFieldValues','dataSet','activityDataSet','parseGridConfigSet','18507Zsbovd','operator','ox-grist','9708062MZQxqQ','useButtonImport','useMasterFilterForm','gridEmphasized','context','importable','getData','grist','exportable','getMainGrist','useButtonExport','masterElement','fetch','header','push','643953voiNSm','grid','getBasicMainTabStyles','clear','10479656BmBGYZ','styles','searchFields','actions','4491888XSjwea','beforeFetch','record','filter','535144gNNJpS','type','value','useFilterForm','isPage','parseGristConfigs','main','parseBasicGridConfigs','gridConfig','querySelector','50inopfA','options','gristConfigSet','84nzrkYm','filterFormId'];a0_0x29eb=function(){return _0x411a12;};return a0_0x29eb();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x55fc(_0x57acde,_0x457a5d){const _0x29ebf4=a0_0x29eb();return a0_0x55fc=function(_0x55fc75,_0x29e2fa){_0x55fc75=_0x55fc75-0xda;let _0x3e50f2=_0x29ebf4[_0x55fc75];return _0x3e50f2;},a0_0x55fc(_0x57acde,_0x457a5d);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x30055f=>class extends MetaButtonMixin(_0x30055f){static get[a0_0x39b034(0xe8)](){const _0x473bc8=a0_0x39b034;return MetaApi[_0x473bc8(0xe5)]();}static get[a0_0x39b034(0xff)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get['grist'](){const _0x19fb3d=a0_0x39b034;return this[_0x19fb3d(0xdf)][_0x19fb3d(0xdd)]();}get[a0_0x39b034(0x100)](){const _0x189e33=a0_0x39b034;return this[_0x189e33(0x10d)]?.[_0x189e33(0xf8)](this['filterFormId']);}get[a0_0x39b034(0x11a)](){const _0x51650f=a0_0x39b034;let _0x8f3758=MetaUiUtil['getContextObject'](this);return _0x8f3758[_0x51650f(0xea)]&&delete _0x8f3758['actions'],_0x8f3758[_0x51650f(0xdc)]&&delete _0x8f3758[_0x51650f(0xdc)],_0x8f3758[_0x51650f(0x11b)]&&delete _0x8f3758[_0x51650f(0x11b)],_0x8f3758;}async['connectedCallback'](){const _0x4124fc=a0_0x39b034;this[_0x4124fc(0x10b)]=_0x4124fc(0x115),this[_0x4124fc(0xfd)]='ox-filters-form-base',await this[_0x4124fc(0x102)](),this[_0x4124fc(0x101)]&&await this['parseGristConfigs'](),this[_0x4124fc(0x111)]&&(this[_0x4124fc(0x110)]=(this[_0x4124fc(0x111)]||{})[_0x4124fc(0xf5)]),super[_0x4124fc(0x108)]&&await super[_0x4124fc(0x108)]();}async[a0_0x39b034(0x104)](){const _0x3d950e=a0_0x39b034;super['firstUpdated']&&await super[_0x3d950e(0x104)]();}async[a0_0x39b034(0x103)](){const _0x506717=a0_0x39b034;this[_0x506717(0xf3)]&&await this[_0x506717(0xf4)](),super[_0x506717(0x103)]&&await super[_0x506717(0x103)]();}[a0_0x39b034(0x10e)](){const _0x359035=a0_0x39b034;return MetaApi[_0x359035(0x106)](this);}[a0_0x39b034(0xf6)](_0x5b632b){const _0x46f1dd=a0_0x39b034;this[_0x46f1dd(0xf7)]=_0x5b632b[_0x46f1dd(0xe4)],this['gridColumnConfig']=_0x5b632b['grid_column'],this['searchConfig']=_0x5b632b[_0x46f1dd(0x107)],this[_0x46f1dd(0x119)]=_0x5b632b[_0x46f1dd(0x119)];}async['parseGristConfigs'](){const _0x2ef6d6=a0_0x39b034;this[_0x2ef6d6(0xfb)]=await MetaApi[_0x2ef6d6(0x112)](this),this[_0x2ef6d6(0x118)]=!0x0===this['useFilterForm'],this[_0x2ef6d6(0xf2)]=!0x1,this['buttonConfig']=void 0x0,this[_0x2ef6d6(0xde)]=!0x1,this[_0x2ef6d6(0x117)]=!0x1,this['searchFieldValues']=[],this[_0x2ef6d6(0xe9)]=this['gristConfigSet'][_0x2ef6d6(0x10a)]['filter'](_0x2b41b1=>_0x2b41b1[_0x2ef6d6(0xee)])[_0x2ef6d6(0x105)](_0x308d72=>{const _0x4e81f7=_0x2ef6d6;let _0x597e43={'name':_0x308d72[_0x4e81f7(0xfe)],'type':_0x4e81f7(0x107)===_0x308d72[_0x4e81f7(0xee)][_0x4e81f7(0x114)]?_0x4e81f7(0x107):_0x308d72[_0x4e81f7(0xf0)],'label':_0x308d72[_0x4e81f7(0xe1)],'operator':_0x308d72['filter'][_0x4e81f7(0x114)]?_0x308d72[_0x4e81f7(0xee)][_0x4e81f7(0x114)]:'eq'};return _0x308d72[_0x4e81f7(0xee)][_0x4e81f7(0xfa)]&&(_0x597e43[_0x4e81f7(0xfa)]=_0x308d72[_0x4e81f7(0xee)][_0x4e81f7(0xfa)]),_0x308d72[_0x4e81f7(0xed)][_0x4e81f7(0xfa)]&&(_0x597e43[_0x4e81f7(0xfa)]=_0x308d72[_0x4e81f7(0xed)]['options']),_0x308d72['filter'][_0x4e81f7(0xf1)]&&this[_0x4e81f7(0x10f)][_0x4e81f7(0xe2)]({'name':_0x597e43['name'],'operator':_0x597e43['operator'],'value':_0x308d72[_0x4e81f7(0xee)]['value']}),delete _0x308d72[_0x4e81f7(0xee)],_0x597e43;});}async[a0_0x39b034(0xe0)](){const _0x4d65eb=a0_0x39b034;await this[_0x4d65eb(0xdb)][_0x4d65eb(0xe0)]();}async[a0_0x39b034(0xec)]({page:_0x20e961=0x0,limit:_0x76f8d4=0x0,sortings:_0x309e04=[],filters:_0x17d64c=[]}){const _0x51b606=a0_0x39b034;return this['masterElement']&&this[_0x51b606(0xdf)][_0x51b606(0xe6)]&&await this['masterElement'][_0x51b606(0xe6)](),!0x0;}[a0_0x39b034(0xda)](){const _0x1f7069=a0_0x39b034;return{'master':this[_0x1f7069(0xdf)][_0x1f7069(0xda)]()};}};
@@ -1 +1 @@
1
- const a0_0xb2e5aa=a0_0x19be;(function(_0x1554ca,_0x4fd970){const _0x866ee=a0_0x19be,_0x3a8bc4=_0x1554ca();while(!![]){try{const _0x5acab3=parseInt(_0x866ee(0x1ea))/0x1*(-parseInt(_0x866ee(0x1ed))/0x2)+parseInt(_0x866ee(0x1ba))/0x3*(parseInt(_0x866ee(0x1b7))/0x4)+parseInt(_0x866ee(0x1c9))/0x5*(-parseInt(_0x866ee(0x1cf))/0x6)+parseInt(_0x866ee(0x1e4))/0x7*(parseInt(_0x866ee(0x1f1))/0x8)+parseInt(_0x866ee(0x1da))/0x9+-parseInt(_0x866ee(0x202))/0xa*(-parseInt(_0x866ee(0x1f8))/0xb)+parseInt(_0x866ee(0x1dc))/0xc*(-parseInt(_0x866ee(0x1e5))/0xd);if(_0x5acab3===_0x4fd970)break;else _0x3a8bc4['push'](_0x3a8bc4['shift']());}catch(_0x155dde){_0x3a8bc4['push'](_0x3a8bc4['shift']());}}}(a0_0x15f0,0xc266c));function a0_0x19be(_0x32583f,_0x50e209){const _0x15f063=a0_0x15f0();return a0_0x19be=function(_0x19be54,_0x556f3f){_0x19be54=_0x19be54-0x1b2;let _0x3a5101=_0x15f063[_0x19be54];return _0x3a5101;},a0_0x19be(_0x32583f,_0x50e209);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x15f0(){const _0x109325=['isPage','2hrrdXy','grid_column','gridConfig','options','392Myeyjj','useFilterForm','patchesForUpdateMultiple','getSelectedIdList','firstUpdated','updateMultiple','exportableData','11yRMfxe','grid','filterFormId','styles','clear','menuInfo','properties','connectedCallback','parse','getData','385260evDNmH','type','detailElement','shadowRoot','searchConfig','save','actions','672DAlCLD','parseGristConfigs','push','13107Yoqrbe','getMasterDetailHtml','gridEmphasized','name','pageInitialized','findOne','record','parseGridConfigSet','dataSet','keys','export','deleteByIds','forEach','header','grist','155pRJZaV','context','gridColumnConfig','search','searchFields','import','144624zjaZjg','gristConfigSet','ox-grist','delete','stringify','render','isNotEmpty','activityDataSet','operator','title','searchFieldValues','8005437gjGlQR','exportable','324bxBhCI','filter','getContextObject','fetch','beforeFetch','querySelector','isElement','getBasicMasterDetailStyles','214473SkpiGp','475709XaVFyf','tTitle','main','getParams','find','631819qmBNHE','useMasterFilterForm'];a0_0x15f0=function(){return _0x109325;};return a0_0x15f0();}export const MetaMasterDetailMixin=_0x4df1db=>class extends MetaButtonMixin(_0x4df1db){static get[a0_0xb2e5aa(0x1fb)](){const _0x450d73=a0_0xb2e5aa;return MetaApi[_0x450d73(0x1e3)]();}static get[a0_0xb2e5aa(0x1fe)](){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,'detailElement':Object};}get[a0_0xb2e5aa(0x1c8)](){const _0xb9cd82=a0_0xb2e5aa;return this['renderRoot'][_0xb9cd82(0x1e1)](this['gristId']);}get['filterForm'](){const _0xdd84be=a0_0xb2e5aa;return this[_0xdd84be(0x1b3)]?.[_0xdd84be(0x1e1)](this[_0xdd84be(0x1fa)]);}get[a0_0xb2e5aa(0x1ca)](){const _0x1e8b6f=a0_0xb2e5aa;let _0x53521b=MetaUiUtil[_0x1e8b6f(0x1de)](this);return _0x53521b[_0x1e8b6f(0x1b6)]&&delete _0x53521b[_0x1e8b6f(0x1b6)],_0x53521b[_0x1e8b6f(0x1db)]&&delete _0x53521b[_0x1e8b6f(0x1db)],_0x53521b['importable']&&delete _0x53521b['importable'],_0x53521b;}async[a0_0xb2e5aa(0x1ff)](){const _0xa4b17=a0_0xb2e5aa;this['gristId']=_0xa4b17(0x1d1),this[_0xa4b17(0x1fa)]='ox-filters-form-base',await this['getAndParseMenuMeta'](),this[_0xa4b17(0x1e2)]&&await this[_0xa4b17(0x1b8)](),this[_0xa4b17(0x1d6)]&&(this[_0xa4b17(0x1c2)]=(this[_0xa4b17(0x1d6)]||{})[_0xa4b17(0x1e7)]),super[_0xa4b17(0x1ff)]&&await super[_0xa4b17(0x1ff)]();}async[a0_0xb2e5aa(0x1f5)](){const _0x35da20=a0_0xb2e5aa;super[_0x35da20(0x1f5)]&&await super[_0x35da20(0x1f5)]();}async[a0_0xb2e5aa(0x1be)](){const _0x2fad7a=a0_0xb2e5aa;this[_0x2fad7a(0x1ec)]&&await this[_0x2fad7a(0x1b8)](),super[_0x2fad7a(0x1be)]&&await super[_0x2fad7a(0x1be)]();}[a0_0xb2e5aa(0x1d4)](){const _0x2df14a=a0_0xb2e5aa;return MetaApi[_0x2df14a(0x1bb)](this);}['parseBasicGridConfigs'](_0x3a1178){const _0xc6b207=a0_0xb2e5aa;this[_0xc6b207(0x1ef)]=_0x3a1178[_0xc6b207(0x1f9)],this[_0xc6b207(0x1cb)]=_0x3a1178[_0xc6b207(0x1ee)],this[_0xc6b207(0x1b4)]=_0x3a1178['search'],this[_0xc6b207(0x1bc)]=_0x3a1178[_0xc6b207(0x1bc)];}async['parseGristConfigs'](){const _0x289e21=a0_0xb2e5aa;this['gristConfigSet']=await MetaApi[_0x289e21(0x1c1)](this),this[_0x289e21(0x1eb)]=!0x0===this[_0x289e21(0x1f2)],this['useFilterForm']=!0x1,this[_0x289e21(0x1d9)]=[],this[_0x289e21(0x1cd)]=this[_0x289e21(0x1d0)]['columns'][_0x289e21(0x1dd)](_0x4d1c70=>_0x4d1c70[_0x289e21(0x1dd)])['map'](_0x5b3d65=>{const _0xfa7321=_0x289e21;let _0x1387d5={'name':_0x5b3d65['name'],'type':_0xfa7321(0x1cc)===_0x5b3d65[_0xfa7321(0x1dd)][_0xfa7321(0x1d7)]?_0xfa7321(0x1cc):_0x5b3d65[_0xfa7321(0x203)],'label':_0x5b3d65[_0xfa7321(0x1c7)],'operator':_0x5b3d65[_0xfa7321(0x1dd)]['operator']?_0x5b3d65[_0xfa7321(0x1dd)][_0xfa7321(0x1d7)]:'eq'};return _0x5b3d65[_0xfa7321(0x1dd)][_0xfa7321(0x1f0)]&&(_0x1387d5[_0xfa7321(0x1f0)]=_0x5b3d65[_0xfa7321(0x1dd)][_0xfa7321(0x1f0)]),_0x5b3d65[_0xfa7321(0x1c0)][_0xfa7321(0x1f0)]&&(_0x1387d5['options']=_0x5b3d65[_0xfa7321(0x1c0)][_0xfa7321(0x1f0)]),_0x5b3d65[_0xfa7321(0x1dd)]['value']&&this[_0xfa7321(0x1d9)][_0xfa7321(0x1b9)]({'name':_0x1387d5[_0xfa7321(0x1bd)],'operator':_0x1387d5[_0xfa7321(0x1d7)],'value':_0x5b3d65[_0xfa7321(0x1dd)]['value']}),delete _0x5b3d65[_0xfa7321(0x1dd)],_0x1387d5;});}async[a0_0xb2e5aa(0x1df)](){const _0x22fbbe=a0_0xb2e5aa;await this['grist'][_0x22fbbe(0x1df)]();}async[a0_0xb2e5aa(0x1e0)]({page:_0x1945e9=0x0,limit:_0x20d981=0x0,sortings:_0x4233b4=[],filters:_0x5a131e=[]}){const _0x33892c=a0_0xb2e5aa;return this[_0x33892c(0x1b2)]&&this[_0x33892c(0x1b2)][_0x33892c(0x1fc)]&&await this[_0x33892c(0x1b2)]['clear'](),!0x0;}async[a0_0xb2e5aa(0x1b5)](){const _0x1398f5=a0_0xb2e5aa;let _0x1e867d=MetaApi[_0x1398f5(0x1f3)](this['grist']);!!ValueUtil[_0x1398f5(0x1d5)](_0x1e867d)&&await this[_0x1398f5(0x1f6)](_0x1e867d)&&this[_0x1398f5(0x1df)]();}async[a0_0xb2e5aa(0x1e9)](){const _0xbbd4f3=a0_0xb2e5aa;let _0x36afd5=MetaApi[_0xbbd4f3(0x1f4)](this[_0xbbd4f3(0x1c8)],!0x0);return ValueUtil[_0xbbd4f3(0x1d5)](_0x36afd5)?await this[_0xbbd4f3(0x1bf)](_0x36afd5[0x0]):{};}async[a0_0xb2e5aa(0x1d2)](){const _0x397b25=a0_0xb2e5aa;let _0x57d082=MetaApi[_0x397b25(0x1f4)](this[_0x397b25(0x1c8)],!0x0);!!ValueUtil['isNotEmpty'](_0x57d082)&&await this[_0x397b25(0x1c5)](_0x57d082)&&this['fetch']();}async[a0_0xb2e5aa(0x1c4)](){const _0x1f66cb=a0_0xb2e5aa;let _0x46de62=TermsUtil[_0x1f66cb(0x1e6)](ValueUtil[_0x1f66cb(0x1e8)](this[_0x1f66cb(0x1fd)],_0x1f66cb(0x1d8)));return await MetaApi[_0x1f66cb(0x1f7)](this[_0x1f66cb(0x1e2)],_0x46de62,this[_0x1f66cb(0x1c8)]);}async[a0_0xb2e5aa(0x1ce)](){}[a0_0xb2e5aa(0x201)](){const _0x3dacf5=a0_0xb2e5aa;let _0x434078=this[_0x3dacf5(0x1c8)]['___data']['records'];return _0x434078=JSON[_0x3dacf5(0x200)](JSON[_0x3dacf5(0x1d3)](_0x434078)),_0x434078[_0x3dacf5(0x1c6)](_0x41bd28=>{const _0x328724=_0x3dacf5;Object[_0x328724(0x1c3)](_0x41bd28)[_0x328724(0x1c6)](_0x491e23=>{_0x491e23['startsWith']('__')&&delete _0x41bd28[_0x491e23];});}),{'main':_0x434078,'detail':this[_0x3dacf5(0x1b2)]['getData']()};}};
1
+ const a0_0x55d43f=a0_0x2caf;(function(_0x2aa398,_0x4bed78){const _0x2e542b=a0_0x2caf,_0x1eb4bb=_0x2aa398();while(!![]){try{const _0x3b56f1=-parseInt(_0x2e542b(0x180))/0x1*(-parseInt(_0x2e542b(0x1a0))/0x2)+-parseInt(_0x2e542b(0x19e))/0x3*(parseInt(_0x2e542b(0x1b5))/0x4)+-parseInt(_0x2e542b(0x193))/0x5+parseInt(_0x2e542b(0x181))/0x6+parseInt(_0x2e542b(0x195))/0x7+parseInt(_0x2e542b(0x1b3))/0x8*(parseInt(_0x2e542b(0x1a1))/0x9)+-parseInt(_0x2e542b(0x174))/0xa;if(_0x3b56f1===_0x4bed78)break;else _0x1eb4bb['push'](_0x1eb4bb['shift']());}catch(_0x3b573e){_0x1eb4bb['push'](_0x1eb4bb['shift']());}}}(a0_0x2678,0x666c4));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x2caf(_0x1bf96f,_0x5163d2){const _0x2678ae=a0_0x2678();return a0_0x2caf=function(_0x2caf78,_0x9a4d27){_0x2caf78=_0x2caf78-0x174;let _0x247f7a=_0x2678ae[_0x2caf78];return _0x247f7a;},a0_0x2caf(_0x1bf96f,_0x5163d2);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0x32186a=>class extends MetaButtonMixin(_0x32186a){static get[a0_0x55d43f(0x17d)](){const _0x1fbb1a=a0_0x55d43f;return MetaApi[_0x1fbb1a(0x1a2)]();}static get[a0_0x55d43f(0x18e)](){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,'detailElement':Object};}get[a0_0x55d43f(0x187)](){const _0x5a4a8a=a0_0x55d43f;return this['renderRoot'][_0x5a4a8a(0x183)](this[_0x5a4a8a(0x1b7)]);}get[a0_0x55d43f(0x1b6)](){const _0x56dc7b=a0_0x55d43f;return this[_0x56dc7b(0x191)]?.[_0x56dc7b(0x183)](this['filterFormId']);}get['context'](){const _0x3ecf59=a0_0x55d43f;let _0x3ae8ce=MetaUiUtil[_0x3ecf59(0x199)](this);return _0x3ae8ce[_0x3ecf59(0x17a)]&&delete _0x3ae8ce[_0x3ecf59(0x17a)],_0x3ae8ce[_0x3ecf59(0x186)]&&delete _0x3ae8ce[_0x3ecf59(0x186)],_0x3ae8ce[_0x3ecf59(0x184)]&&delete _0x3ae8ce['importable'],_0x3ae8ce;}async[a0_0x55d43f(0x189)](){const _0x12fd43=a0_0x55d43f;this[_0x12fd43(0x1b7)]='ox-grist',this[_0x12fd43(0x18a)]=_0x12fd43(0x1a7),await this[_0x12fd43(0x1ae)](),this[_0x12fd43(0x19d)]&&await this[_0x12fd43(0x190)](),this[_0x12fd43(0x1a4)]&&(this[_0x12fd43(0x17c)]=(this[_0x12fd43(0x1a4)]||{})[_0x12fd43(0x194)]),super[_0x12fd43(0x189)]&&await super[_0x12fd43(0x189)]();}async[a0_0x55d43f(0x19f)](){const _0x3780f3=a0_0x55d43f;super[_0x3780f3(0x19f)]&&await super[_0x3780f3(0x19f)]();}async[a0_0x55d43f(0x18d)](){const _0x461968=a0_0x55d43f;this['isPage']&&await this[_0x461968(0x190)](),super[_0x461968(0x18d)]&&await super[_0x461968(0x18d)]();}['render'](){const _0x351214=a0_0x55d43f;return MetaApi[_0x351214(0x1ac)](this);}[a0_0x55d43f(0x19a)](_0x3c3bfb){const _0x4007c8=a0_0x55d43f;this[_0x4007c8(0x17b)]=_0x3c3bfb[_0x4007c8(0x188)],this[_0x4007c8(0x1b0)]=_0x3c3bfb[_0x4007c8(0x1ad)],this[_0x4007c8(0x17e)]=_0x3c3bfb[_0x4007c8(0x175)],this[_0x4007c8(0x1c1)]=_0x3c3bfb[_0x4007c8(0x1c1)];}async[a0_0x55d43f(0x190)](){const _0x31023d=a0_0x55d43f;this['gristConfigSet']=await MetaApi[_0x31023d(0x19b)](this),this[_0x31023d(0x1a9)]=!0x0===this[_0x31023d(0x1bd)],this[_0x31023d(0x1bd)]=!0x1,this[_0x31023d(0x1bf)]=[],this['searchFields']=this[_0x31023d(0x179)][_0x31023d(0x18f)][_0x31023d(0x196)](_0x19b191=>_0x19b191[_0x31023d(0x196)])[_0x31023d(0x1af)](_0x2d9954=>{const _0x391b18=_0x31023d;let _0x421e63={'name':_0x2d9954[_0x391b18(0x1bb)],'type':_0x391b18(0x175)===_0x2d9954['filter'][_0x391b18(0x182)]?_0x391b18(0x175):_0x2d9954[_0x391b18(0x1aa)],'label':_0x2d9954['header'],'operator':_0x2d9954['filter']['operator']?_0x2d9954[_0x391b18(0x196)][_0x391b18(0x182)]:'eq'};return _0x2d9954[_0x391b18(0x196)][_0x391b18(0x1c2)]&&(_0x421e63[_0x391b18(0x1c2)]=_0x2d9954[_0x391b18(0x196)][_0x391b18(0x1c2)]),_0x2d9954[_0x391b18(0x1ab)][_0x391b18(0x1c2)]&&(_0x421e63['options']=_0x2d9954[_0x391b18(0x1ab)][_0x391b18(0x1c2)]),_0x2d9954['filter'][_0x391b18(0x176)]&&this[_0x391b18(0x1bf)][_0x391b18(0x17f)]({'name':_0x421e63['name'],'operator':_0x421e63[_0x391b18(0x182)],'value':_0x2d9954['filter'][_0x391b18(0x176)]}),delete _0x2d9954[_0x391b18(0x196)],_0x421e63;});}async[a0_0x55d43f(0x1a5)](){const _0x3dc2ca=a0_0x55d43f;await this[_0x3dc2ca(0x187)][_0x3dc2ca(0x1a5)]();}async['beforeFetch']({page:_0x3f9941=0x0,limit:_0x527274=0x0,sortings:_0x5305f8=[],filters:_0x1c9ff5=[]}){const _0x11e031=a0_0x55d43f;return this[_0x11e031(0x1b2)]&&this[_0x11e031(0x1b2)][_0x11e031(0x19c)]&&await this[_0x11e031(0x1b2)]['clear'](),!0x0;}async[a0_0x55d43f(0x18c)](){const _0x4996c2=a0_0x55d43f;let _0x2c9aac=MetaApi[_0x4996c2(0x197)](this['grist']);!!ValueUtil[_0x4996c2(0x178)](_0x2c9aac)&&await this[_0x4996c2(0x1b1)](_0x2c9aac)&&this[_0x4996c2(0x1a5)]();}async['find'](){const _0x52900e=a0_0x55d43f;let _0xb1896e=MetaApi[_0x52900e(0x1ba)](this[_0x52900e(0x187)],!0x0);return ValueUtil[_0x52900e(0x178)](_0xb1896e)?await this[_0x52900e(0x192)](_0xb1896e[0x0]):{};}async['delete'](){const _0x166d5d=a0_0x55d43f;let _0x1c5cd8=MetaApi['getSelectedIdList'](this['grist'],!0x0);!!ValueUtil['isNotEmpty'](_0x1c5cd8)&&await this['deleteByIds'](_0x1c5cd8)&&this[_0x166d5d(0x1a5)]();}async[a0_0x55d43f(0x1b9)](){const _0x296b3c=a0_0x55d43f;let _0x1033c2=TermsUtil[_0x296b3c(0x177)](ValueUtil[_0x296b3c(0x1a3)](this[_0x296b3c(0x1a6)],_0x296b3c(0x1c0)));return await MetaApi[_0x296b3c(0x1a8)](this['isElement'],_0x1033c2,this[_0x296b3c(0x187)]);}async[a0_0x55d43f(0x185)](){}['getData'](){const _0x58dc95=a0_0x55d43f;let _0x1a4872=this['grist'][_0x58dc95(0x18b)]['records'];return _0x1a4872=JSON['parse'](JSON[_0x58dc95(0x198)](_0x1a4872)),_0x1a4872[_0x58dc95(0x1b4)](_0x2ef92c=>{const _0x1c32c3=_0x58dc95;Object[_0x1c32c3(0x1b8)](_0x2ef92c)[_0x1c32c3(0x1b4)](_0x5e05be=>{const _0x2b0027=_0x1c32c3;_0x5e05be[_0x2b0027(0x1be)]('__')&&delete _0x2ef92c[_0x5e05be];});}),{'main':_0x1a4872,'detail':this['detailElement'][_0x58dc95(0x1bc)]()};}};function a0_0x2678(){const _0x286620=['exportable','grist','grid','connectedCallback','filterFormId','___data','save','pageInitialized','properties','columns','parseGristConfigs','shadowRoot','findOne','3731290lZxjsQ','main','5538680wUMWOV','filter','patchesForUpdateMultiple','stringify','getContextObject','parseBasicGridConfigs','parseGridConfigSet','clear','isElement','648162hGkjOY','firstUpdated','8UgWrWm','63uSWDud','getBasicMasterDetailStyles','getParams','activityDataSet','fetch','menuInfo','ox-filters-form-base','exportableData','useMasterFilterForm','type','record','getMasterDetailHtml','grid_column','getAndParseMenuMeta','map','gridColumnConfig','updateMultiple','detailElement','106664yaqyrg','forEach','12zKjQvT','filterForm','gristId','keys','export','getSelectedIdList','name','getData','useFilterForm','startsWith','searchFieldValues','title','gridEmphasized','options','3977370ZzjfYD','search','value','tTitle','isNotEmpty','gristConfigSet','actions','gridConfig','dataSet','styles','searchConfig','push','168769jVEjQY','3912204XoQaTD','operator','querySelector','importable','import'];a0_0x2678=function(){return _0x286620;};return a0_0x2678();}