@things-factory/meta-ui 6.1.43 → 6.1.44

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 +10 -10
  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_0x572df4=a0_0x14b1;(function(_0x38d39d,_0x389c09){const _0x59b155=a0_0x14b1,_0x1b1a16=_0x38d39d();while(!![]){try{const _0x21b8d3=parseInt(_0x59b155(0x203))/0x1+-parseInt(_0x59b155(0x240))/0x2+parseInt(_0x59b155(0x23b))/0x3+-parseInt(_0x59b155(0x239))/0x4*(parseInt(_0x59b155(0x244))/0x5)+-parseInt(_0x59b155(0x1f7))/0x6*(parseInt(_0x59b155(0x229))/0x7)+-parseInt(_0x59b155(0x211))/0x8*(parseInt(_0x59b155(0x219))/0x9)+parseInt(_0x59b155(0x23a))/0xa;if(_0x21b8d3===_0x389c09)break;else _0x1b1a16['push'](_0x1b1a16['shift']());}catch(_0x449b28){_0x1b1a16['push'](_0x1b1a16['shift']());}}}(a0_0x5803,0xcc56f));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';import{MetaUiUtil}from'../../utils/meta-ui-util';import{isMobileDevice}from'@operato/utils';function a0_0x5803(){const _0x52faf8=['define','hidden','resource-code-selector','filterFields','handlers','appendable','728014HGkGTl','clickSelect','includes','firstUpdated','startsWith','getGristGuttersConfig','gridConfig','meta-','scenario','length','codeField','cancel','confirmCallback','codes','5398360PFGDAR','clickCancel','nameField','values','select','info','render','bind','9rkHZPV','string','filter','getSelectColumns','meta-object-selector','searchByPagination','grist','menu_template','resource-object','getGristColumnConfig2','args','record','search','fetchHandler','meta-object-selector-popup','sorters','1490174EAsFnR','tText','shadowRoot','code','selectRecord','forEach','keys','getGristPagination100Config','after_set_fields','isArray','filters','dispField','left','getCodeByEntity','selected','name','4HHVswB','39321370cbzYyG','1686693tWJvFj','NOTHING_SELECTED','search_hidden_fields','basicArgs','GRID','2409720PotHEK','LIST','menu','align','7206710dqRvPK','rows','columns','push','getGristSelectableConfig','30oItyuy','type','options','tButton','getGristMetaObjectOptions','connectedCallback'];a0_0x5803=function(){return _0x52faf8;};return a0_0x5803();}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['connectedCallback'](){const _0x427c71=a0_0x14b1;this[_0x427c71(0x23d)]=this[_0x427c71(0x1f9)][_0x427c71(0x233)]?this[_0x427c71(0x1f9)][_0x427c71(0x233)]:this['basicArgs']&&this['basicArgs'][_0x427c71(0x233)]?this['basicArgs'][_0x427c71(0x233)]:[];let _0x27a853=this['options']['sorters']?this[_0x427c71(0x1f9)][_0x427c71(0x228)]:this['basicArgs']&&this['basicArgs'][_0x427c71(0x228)]?this[_0x427c71(0x23e)][_0x427c71(0x228)]:[],_0x2ff3ab=this[_0x427c71(0x1f9)][_0x427c71(0x200)]?this[_0x427c71(0x1f9)][_0x427c71(0x200)]:this[_0x427c71(0x1f9)]['menu_template']?.[_0x427c71(0x225)]&&this[_0x427c71(0x1f9)][_0x427c71(0x220)]?.[_0x427c71(0x225)][_0x427c71(0x20c)]>0x0?this[_0x427c71(0x1f9)][_0x427c71(0x220)][_0x427c71(0x225)]:[],_0x45b5e5=this[_0x427c71(0x1f9)][_0x427c71(0x215)];if(!_0x2ff3ab||0x0==_0x2ff3ab['length']){let _0x452244;this['options']['codeField']&&(_0x452244=this[_0x427c71(0x1f9)][_0x427c71(0x20d)]),this[_0x427c71(0x1f9)][_0x427c71(0x213)]&&(_0x452244=this['options']['nameField']),_0x452244&&_0x2ff3ab[_0x427c71(0x1f5)]({'name':_0x452244,'operator':'eq'});}let _0x31246a=[...MetaApi[_0x427c71(0x208)](!0x0,!0x1)];if(_0x45b5e5&&_0x45b5e5[_0x427c71(0x20c)]>0x0)for(let _0x2fff9a=0x0;_0x2fff9a<_0x45b5e5[_0x427c71(0x20c)];_0x2fff9a++){let {type:_0x2a60de=_0x427c71(0x21a),name:_0x5daf51,hidden:_0x7967b4=!0x1,record:_0x17726e={'align':_0x427c71(0x235)},header:_0x895baa,sortable:_0x3ebed7=!0x1,width:_0x33c68a=0x87,options:_0x5eed58,select_opt:_0xd79aa2,object_opt:_0x427d36}=_0x45b5e5[_0x2fff9a];if(_0xd79aa2&&(_0x5eed58=_0xd79aa2),_0x427d36&&(_0x5eed58=_0x427d36),[_0x427c71(0x221),'object']['includes'](_0x2a60de)?_0x2a60de=_0x427c71(0x21d):[_0x427c71(0x1ff)][_0x427c71(0x205)](_0x2a60de)&&(_0x2a60de='meta-code-selector'),'id'==_0x5daf51)_0x31246a['push']({'type':_0x427c71(0x21a),'name':_0x5daf51,'hidden':!0x0});else{let _0x3fc7a8=MetaApi[_0x427c71(0x222)](_0x2a60de,_0x5daf51,_0x895baa||_0x5daf51,_0x17726e[_0x427c71(0x243)]?_0x17726e[_0x427c71(0x243)]:_0x427c71(0x235),!0x1,_0x3ebed7,_0x33c68a);_0x2a60de[_0x427c71(0x207)](_0x427c71(0x20a))&&_0x427d36&&_0x427d36[_0x427c71(0x242)]&&(_0x5eed58=await MetaUiUtil[_0x427c71(0x1fb)](_0x2a60de,_0x5eed58)),_0x427c71(0x215)===_0x2a60de?Array[_0x427c71(0x232)](_0x5eed58)?_0x3fc7a8[_0x427c71(0x224)][_0x427c71(0x1f9)]=_0x5eed58:_0x427c71(0x22c)===_0x5eed58[_0x427c71(0x1f8)]?_0x3fc7a8[_0x427c71(0x224)][_0x427c71(0x1f9)]=await ServiceUtil['getCodeSelectorData'](_0x5eed58[_0x427c71(0x214)]?_0x5eed58[_0x427c71(0x214)]:_0x5eed58[_0x427c71(0x238)]):_0x427c71(0x20b)===_0x5eed58[_0x427c71(0x1f8)]?_0x3fc7a8[_0x427c71(0x224)][_0x427c71(0x1f9)]=await ServiceUtil['getCodeByScenario'](_0x5eed58[_0x427c71(0x238)],_0x5eed58[_0x427c71(0x223)]):'entity'===_0x5eed58[_0x427c71(0x1f8)]&&(_0x3fc7a8['record']['options']=await ServiceUtil[_0x427c71(0x236)](_0x5eed58[_0x427c71(0x223)])):'meta-object-selector'===_0x2a60de?_0x3fc7a8[_0x427c71(0x224)]['options']={..._0x5eed58}:'meta-code-selector'==_0x2a60de&&(_0x5eed58[_0x427c71(0x234)]&&(_0x5eed58[_0x427c71(0x210)]=await ServiceUtil[_0x427c71(0x236)](_0x5eed58)),_0x3fc7a8[_0x427c71(0x224)][_0x427c71(0x1f9)]={..._0x5eed58}),_0x3fc7a8[_0x427c71(0x1fe)]=_0x7967b4,_0x31246a[_0x427c71(0x1f5)](_0x3fc7a8);}}else _0x31246a[_0x427c71(0x1f5)](MetaApi[_0x427c71(0x222)](_0x427c71(0x21a),this['options'][_0x427c71(0x20d)],this[_0x427c71(0x1f9)][_0x427c71(0x20d)],_0x427c71(0x235),!0x1,!0x0,0xb4)),this[_0x427c71(0x1f9)][_0x427c71(0x234)]&&_0x31246a[_0x427c71(0x1f5)](MetaApi[_0x427c71(0x222)]('string',this[_0x427c71(0x1f9)][_0x427c71(0x234)],this[_0x427c71(0x1f9)][_0x427c71(0x234)],_0x427c71(0x235),!0x1,!0x0,0x12c));_0x31246a[_0x427c71(0x22e)](_0x4022cc=>{const _0x2772bc=_0x427c71;let _0x180a40=_0x2ff3ab[_0x2772bc(0x21b)](_0xacd5e0=>_0x2772bc(0x21a)==typeof _0xacd5e0?_0x4022cc[_0x2772bc(0x238)]==_0xacd5e0:_0x4022cc[_0x2772bc(0x238)]==_0xacd5e0[_0x2772bc(0x238)]);_0x180a40&&_0x180a40[_0x2772bc(0x20c)]>0x0&&(_0x4022cc['filter']='string'==typeof _0x180a40[0x0]?'search':_0x180a40[0x0]);});let _0x398c10={'rows':MetaApi[_0x427c71(0x1f6)](!0x1),'pagination':MetaApi[_0x427c71(0x230)](),'columns':_0x31246a,'sorters':[..._0x27a853]};_0x398c10[_0x427c71(0x1f3)][_0x427c71(0x201)]={'click':'select-row-toggle','dblclick':(_0x55fbe2,_0x45a6ca,_0x44a0b6,_0x30a451,_0x522e4b,_0x57417f)=>{const _0x3ca292=_0x427c71;this[_0x3ca292(0x22d)](_0x30a451);}},_0x398c10[_0x427c71(0x1f3)][_0x427c71(0x202)]=!0x1,this['gridConfig']=_0x398c10,await super[_0x427c71(0x1fc)]();}async[a0_0x572df4(0x206)](){await super['firstUpdated']();}[a0_0x572df4(0x217)](){const _0x482150=a0_0x572df4;return html`
21
+ <ox-grist id="ox-grist" .config=${this['gridConfig']} .mode=${isMobileDevice()?_0x482150(0x241):_0x482150(0x23f)} auto-fetch
22
+ .fetchHandler=${this[_0x482150(0x226)][_0x482150(0x218)](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']('empty')}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this['clickEmpty'][_0x482150(0x218)](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[_0x482150(0x1fa)](_0x482150(0x20e))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x482150(0x212)][_0x482150(0x218)](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[_0x482150(0x1fa)](_0x482150(0x215))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x482150(0x204)][_0x482150(0x218)](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_0x572df4(0x21f)](){const _0x4e5c49=a0_0x572df4;return this[_0x4e5c49(0x22b)]['querySelector']('#ox-grist');}async['fetchHandler']({page:_0x3ce11d=0x0,limit:_0x16c759=0x0,sorters:_0x335d5e=[],filters:_0x38d1f1=[]}){const _0x16f0e0=a0_0x572df4;let _0x449bdd=[...this[_0x16f0e0(0x23d)]];_0x38d1f1['forEach'](_0x567778=>{const _0x39031e=_0x16f0e0;let _0x277a60=_0x449bdd['filter'](_0x323c31=>_0x567778[_0x39031e(0x238)]==_0x323c31['name']);_0x277a60&&_0x277a60['length']>0x0&&delete _0x449bdd[_0x567778[_0x39031e(0x238)]],_0x449bdd['push'](_0x567778);});let _0x698939=ValueUtil['getParams'](this[_0x16f0e0(0x1f9)][_0x16f0e0(0x220)]&&this[_0x16f0e0(0x1f9)][_0x16f0e0(0x220)]['gql']||{},'query',_0x16f0e0(0x231)),_0x323c97=Object[_0x16f0e0(0x22f)](_0x698939||{}),_0x153616=MetaApi[_0x16f0e0(0x21c)](this[_0x16f0e0(0x209)][_0x16f0e0(0x1f4)][_0x16f0e0(0x21b)](_0x5657c0=>!_0x323c97[_0x16f0e0(0x205)](_0x5657c0[_0x16f0e0(0x238)])));return await MetaApi[_0x16f0e0(0x21e)](this['options']['queryName'],_0x449bdd,_0x335d5e,_0x3ce11d,_0x16c759,_0x153616);}async['clickEmpty'](_0x268c82){const _0x5dc5ef=a0_0x572df4;this[_0x5dc5ef(0x20f)]&&this[_0x5dc5ef(0x20f)](null),closePopup(this);}async['clickCancel'](_0x369b3c){closePopup(this);}async[a0_0x572df4(0x204)](_0x5cfb24){const _0x136dff=a0_0x572df4;let _0x5cc4a7=this['grist'][_0x136dff(0x237)];_0x5cc4a7&&0x0!=_0x5cc4a7[_0x136dff(0x20c)]?this[_0x136dff(0x22d)](_0x5cc4a7[0x0]):MetaApi['showToast'](_0x136dff(0x216),TermsUtil[_0x136dff(0x22a)](_0x136dff(0x23c)));}async[a0_0x572df4(0x22d)](_0x163b4d){this['confirmCallback']&&this['confirmCallback'](_0x163b4d),closePopup(this);}}function a0_0x14b1(_0x4296b2,_0x3cf652){const _0x5803eb=a0_0x5803();return a0_0x14b1=function(_0x14b1a5,_0x172eab){_0x14b1a5=_0x14b1a5-0x1f3;let _0x35eb98=_0x5803eb[_0x14b1a5];return _0x35eb98;},a0_0x14b1(_0x4296b2,_0x3cf652);}customElements[a0_0x572df4(0x1fd)](a0_0x572df4(0x227),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_0x175da8=a0_0x5940;(function(_0x2dfb6b,_0x22761d){const _0x310ab5=a0_0x5940,_0x3479c6=_0x2dfb6b();while(!![]){try{const _0x245850=parseInt(_0x310ab5(0x7e))/0x1+-parseInt(_0x310ab5(0x94))/0x2*(-parseInt(_0x310ab5(0x9c))/0x3)+parseInt(_0x310ab5(0x96))/0x4*(parseInt(_0x310ab5(0x9b))/0x5)+parseInt(_0x310ab5(0x9e))/0x6+-parseInt(_0x310ab5(0x92))/0x7+-parseInt(_0x310ab5(0x74))/0x8+-parseInt(_0x310ab5(0x9a))/0x9;if(_0x245850===_0x22761d)break;else _0x3479c6['push'](_0x3479c6['shift']());}catch(_0x2d8536){_0x3479c6['push'](_0x3479c6['shift']());}}}(a0_0x3df9,0xd7f1a));function a0_0x5940(_0x564a2b,_0x41067a){const _0x3df91b=a0_0x3df9();return a0_0x5940=function(_0x5940f7,_0x35f242){_0x5940f7=_0x5940f7-0x6c;let _0x6aa478=_0x3df91b[_0x5940f7];return _0x6aa478;},a0_0x5940(_0x564a2b,_0x41067a);}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0xa030a9=>class extends _0xa030a9{static get[a0_0x175da8(0x73)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x4aeb19=>Boolean(_0x4aeb19)},'is_popup':{'type':Boolean,'converter':_0x4b164a=>Boolean(_0x4b164a)},'is_activity':{'type':Boolean,'converter':_0x377936=>Boolean(_0x377936)},'is_readonly':{'type':Boolean,'converter':_0x426602=>Boolean(_0x426602)}};}get[a0_0x175da8(0x71)](){const _0x4c4257=a0_0x175da8;return!0x0===this['is_detail']||!0x0===this[_0x4c4257(0x7b)];}get[a0_0x175da8(0xa6)](){const _0x5e15f7=a0_0x175da8;return!ValueUtil['isEmpty'](this[_0x5e15f7(0x6c)])&&this[_0x5e15f7(0x6c)];}async[a0_0x175da8(0x8c)](_0x508f89){const _0xcf0ac4=a0_0x175da8;let {after:_0x1be21a,before:_0x333b1c,column:_0x3854d7,record:_0x33ed99,row:_0x2fe197}=_0x508f89[_0xcf0ac4(0x90)],_0x56f87c=_0x3854d7[_0xcf0ac4(0x93)];if(Object['keys'](this['fieldChangeHandlers']||{})[_0xcf0ac4(0x8b)](_0x56f87c)){let _0x17ff27,_0x456c10=(await MetaApi[_0xcf0ac4(0x8a)](void 0x0,this[_0xcf0ac4(0x85)][_0x56f87c],{'columnName':_0x56f87c,'column':_0x3854d7,'record':_0x33ed99,'after':_0x1be21a,'before':_0x333b1c,'row':_0x2fe197,'parentId':this[_0xcf0ac4(0x7f)]?this[_0xcf0ac4(0x7f)]:''},!0x1))[_0xcf0ac4(0xa3)][_0xcf0ac4(0x7a)]['data'][_0xcf0ac4(0x79)];if(!_0x456c10)return;_0x17ff27=this['grist']?this[_0xcf0ac4(0xa5)][_0xcf0ac4(0xa5)][_0xcf0ac4(0x75)]:this,Object[_0xcf0ac4(0x89)](_0x456c10)[_0xcf0ac4(0x6f)](_0x4c2549=>{const _0x92be98=_0xcf0ac4;_0x17ff27['dispatchEvent'](new CustomEvent(_0x92be98(0x78),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x33ed99,'row':_0x2fe197,'after':_0x456c10[_0x4c2549],'before':_0x33ed99[_0x4c2549],'column':{'name':_0x4c2549}}}));});}this[_0xcf0ac4(0x95)](new CustomEvent('data-changed',{'bubbles':!0x0,'composed':!0x0,'detail':_0x508f89[_0xcf0ac4(0x90)]}));}async[a0_0x175da8(0x70)](){const _0x32b1ff=a0_0x175da8;super[_0x32b1ff(0x70)]&&await super[_0x32b1ff(0x70)](),this[_0x32b1ff(0x86)][_0x32b1ff(0xa2)]()[_0x32b1ff(0xa1)](_0x32b1ff(0x77))?this[_0x32b1ff(0x87)]('form-field-change',async _0x3f7736=>{const _0x3ebb08=_0x32b1ff;await this[_0x3ebb08(0x8c)](_0x3f7736);}):this[_0x32b1ff(0x87)](_0x32b1ff(0x78),async _0x22b5a7=>{await this['dataChangeEventHandler'](_0x22b5a7);});}async[a0_0x175da8(0x76)](_0x3e88e7,_0x5b05f6,_0x226fb7){const _0x1232d9=a0_0x175da8;let _0x23844a=this['lifecycle']?.['params']?this[_0x1232d9(0x9d)]['params']:{};this[_0x1232d9(0x8e)]&&this[_0x1232d9(0x6e)]&&0x0==_0x226fb7[_0x1232d9(0x6e)]&&ValueUtil[_0x1232d9(0x6d)](_0x23844a)&&this[_0x1232d9(0x7c)]();}get[a0_0x175da8(0x91)](){const _0x4e2f91=a0_0x175da8;return!ValueUtil[_0x4e2f91(0x82)](this[_0x4e2f91(0x7b)])&&this[_0x4e2f91(0x7b)];}get[a0_0x175da8(0x8e)](){const _0x464859=a0_0x175da8;return!this[_0x464859(0x6c)]&&!this[_0x464859(0x7b)];}async[a0_0x175da8(0x72)](){const _0x29ff29=a0_0x175da8;let _0x5b039c=await MetaApi['getMenuMeta'](this);_0x5b039c&&(this['menuInfo']=_0x5b039c[_0x29ff29(0x80)],this[_0x29ff29(0x7d)]=_0x5b039c['etc'],this['parseBasicGridConfigs']&&this[_0x29ff29(0x83)](_0x5b039c),this[_0x29ff29(0x88)]&&this[_0x29ff29(0x88)](_0x5b039c),this['parseBasicFormConfigs']&&this['parseBasicFormConfigs'](_0x5b039c),this[_0x29ff29(0xa0)]&&this['parseBasicTabConfigs'](_0x5b039c),this[_0x29ff29(0xa4)]&&this['parseBasicButtonConfigs'](_0x5b039c));}async[a0_0x175da8(0x7c)](){const _0x68610=a0_0x175da8;ValueUtil['isNotEmpty'](this[_0x68610(0xa5)])?this[_0x68610(0xa5)][_0x68610(0x7c)]():(ValueUtil[_0x68610(0x6d)](this[_0x68610(0x98)])||this['fetchHandler'])&&await this[_0x68610(0x84)]();}async['excuteOpenPopupButtonClick'](_0x485b47,_0x87384a,_0x56558c){const _0x3ea9d3=a0_0x175da8;let _0x25c1e5=TermsUtil[_0x3ea9d3(0x99)](_0x485b47['title']);ValueUtil[_0x3ea9d3(0x6d)](_0x485b47['title_detail'])&&(_0x25c1e5=_0x25c1e5+'-'+ValueUtil[_0x3ea9d3(0x8f)](_0x87384a,..._0x485b47[_0x3ea9d3(0x9f)]['split']('.'))),MetaApi[_0x3ea9d3(0x8d)](_0x25c1e5,_0x485b47,_0x87384a,_0x56558c);}async[a0_0x175da8(0x97)](_0x5555f7,_0xab1f5b,_0x47bdc3){const _0x280259=a0_0x175da8;let _0x465e6b=await MetaApi[_0x280259(0x8a)](_0x5555f7[_0x280259(0x93)],_0x5555f7[_0x280259(0x93)],_0xab1f5b);!0x1!==_0x465e6b&&!_0x465e6b[_0x280259(0x81)]&&ValueUtil[_0x280259(0x6d)](_0x5555f7['after'])&&_0x47bdc3();}['setParentId'](_0x33681c){const _0x3e4e65=a0_0x175da8;this[_0x3e4e65(0x7f)]=_0x33681c,this[_0x3e4e65(0x7c)]();}};function a0_0x3df9(){const _0x278545=['fetch','etcConfig','902645AONuaa','parent_id','menu','errors','isEmpty','parseBasicGridConfigs','fetchHandler','fieldChangeHandlers','tagName','addEventListener','parseBasicServiceConfigs','keys','callScenario','includes','dataChangeEventHandler','openDynamicPopup','isPage','getParams','detail','isPopup','2601550RGzWoi','name','698ZwwbXG','dispatchEvent','24hXmfES','executeCallScenarioButtonClick','filterForm','tTitle','1473111QUrFhT','309305juOBYk','13011YwARLl','lifecycle','868284iRhALL','title_detail','parseBasicTabConfigs','startsWith','toLowerCase','data','parseBasicButtonConfigs','grist','isDetail','is_detail','isNotEmpty','active','forEach','connectedCallback','isElement','getAndParseMenuMeta','properties','12098424HDEVSk','body','pageUpdated','meta-form-','field-change','result','runScenario','is_popup'];a0_0x3df9=function(){return _0x278545;};return a0_0x3df9();}
@@ -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
+ const a0_0x3e6518=a0_0x56b4;(function(_0x5e333d,_0x19b10f){const _0x39999b=a0_0x56b4,_0x11fd4f=_0x5e333d();while(!![]){try{const _0x12535=parseInt(_0x39999b(0x1d7))/0x1*(parseInt(_0x39999b(0x1e3))/0x2)+parseInt(_0x39999b(0x1fb))/0x3+parseInt(_0x39999b(0x1fd))/0x4*(-parseInt(_0x39999b(0x1f3))/0x5)+-parseInt(_0x39999b(0x209))/0x6+parseInt(_0x39999b(0x201))/0x7*(-parseInt(_0x39999b(0x1ed))/0x8)+parseInt(_0x39999b(0x1d3))/0x9*(-parseInt(_0x39999b(0x1eb))/0xa)+parseInt(_0x39999b(0x206))/0xb*(parseInt(_0x39999b(0x1e7))/0xc);if(_0x12535===_0x19b10f)break;else _0x11fd4f['push'](_0x11fd4f['shift']());}catch(_0x4a8434){_0x11fd4f['push'](_0x11fd4f['shift']());}}}(a0_0x3070,0xa5f78));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x3070(){const _0x35a117=['ox-filters-form','import','gridEmphasized','shadowRoot','keys','patchesForUpdateMultiple','ox-grist','882xzpOiR','delete','startsWith','connectedCallback','24YKTPzt','isElement','findOne','data','229640LicYrT','parseGristConfigs','202712wdcFaM','gridConfig','filterFormId','fetch','export','querySelector','2825ZprvRU','context','gristId','properties','firstUpdated','getSelectedIdList','grist','isNotEmpty','1556481mNzpMu','title','9388HcnXSt','menuInfo','isPage','forEach','28twUmjo','deleteByIds','render','stringify','clear','12377541caufqk','grid_column','parseGridConfigSet','6500232NXGXzV','find','gristConfigSet','filterForm','pageInitialized','___data','getData','activityDataSet','333LdWkDn','renderRoot','records','search','2882vXrhhY','dataSet','getBasicGristHtml','parseBasicGridConfigs','updateMultiple'];a0_0x3070=function(){return _0x35a117;};return a0_0x3070();}function a0_0x56b4(_0x34a606,_0x3f7b99){const _0x30700c=a0_0x3070();return a0_0x56b4=function(_0x56b461,_0x4dc929){_0x56b461=_0x56b461-0x1ce;let _0x82df7c=_0x30700c[_0x56b461];return _0x82df7c;},a0_0x56b4(_0x34a606,_0x3f7b99);}export const MetaBasicGristMixin=_0x33e852=>class extends MetaButtonMixin(_0x33e852){static get['styles'](){return MetaApi['getBasicGristStyles']();}static get[a0_0x3e6518(0x1f6)](){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_0x3e6518(0x1f9)](){const _0x3ef0fd=a0_0x3e6518;return this[_0x3ef0fd(0x1d4)]?.[_0x3ef0fd(0x1f2)](this[_0x3ef0fd(0x1f5)]);}get[a0_0x3e6518(0x1ce)](){const _0x2fe57d=a0_0x3e6518;return this[_0x2fe57d(0x1df)]?.[_0x2fe57d(0x1f2)](this[_0x2fe57d(0x1ef)]);}get[a0_0x3e6518(0x1f4)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x3e6518(0x1e6)](){const _0x22abae=a0_0x3e6518;this[_0x22abae(0x1f5)]=_0x22abae(0x1e2),this[_0x22abae(0x1ef)]=_0x22abae(0x1dc),await this['getAndParseMenuMeta'](),this[_0x22abae(0x1e8)]&&await this['parseGristConfigs'](),this[_0x22abae(0x1d2)]&&(this[_0x22abae(0x1d8)]=this[_0x22abae(0x1d2)]),super['connectedCallback']&&await super[_0x22abae(0x1e6)]();}async['firstUpdated'](){const _0x43a3d3=a0_0x3e6518;super[_0x43a3d3(0x1f7)]&&await super[_0x43a3d3(0x1f7)]();}async[a0_0x3e6518(0x1cf)](){const _0x2feedb=a0_0x3e6518;this[_0x2feedb(0x1ff)]&&await this[_0x2feedb(0x1ec)](),super[_0x2feedb(0x1cf)]&&await super[_0x2feedb(0x1cf)]();}[a0_0x3e6518(0x203)](){const _0x200a0c=a0_0x3e6518;return html`
2
+ ${MetaApi[_0x200a0c(0x1d9)](this)}
3
+ ${this[_0x200a0c(0x1ff)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
+ `;}[a0_0x3e6518(0x1da)](_0xd58101){const _0x390d90=a0_0x3e6518;this[_0x390d90(0x1ee)]=_0xd58101['grid'],this['gridColumnConfig']=_0xd58101[_0x390d90(0x207)],this['searchConfig']=_0xd58101[_0x390d90(0x1d6)],this['gridEmphasized']=_0xd58101[_0x390d90(0x1de)];}async[a0_0x3e6518(0x1ec)](){const _0x3424af=a0_0x3e6518;this[_0x3424af(0x20b)]=await MetaApi[_0x3424af(0x208)](this);}async[a0_0x3e6518(0x1f0)](){const _0x212e07=a0_0x3e6518;await this[_0x212e07(0x1f9)][_0x212e07(0x1f0)]();}async['save'](){const _0x1a2f14=a0_0x3e6518;let _0x565a0f=MetaApi[_0x1a2f14(0x1e1)](this[_0x1a2f14(0x1f9)]);!!ValueUtil[_0x1a2f14(0x1fa)](_0x565a0f)&&await this[_0x1a2f14(0x1db)](_0x565a0f)&&this['fetch']();}async[a0_0x3e6518(0x20a)](){const _0x2a2002=a0_0x3e6518;let _0x3aae76=MetaApi[_0x2a2002(0x1f8)](this[_0x2a2002(0x1f9)],!0x0);return ValueUtil['isNotEmpty'](_0x3aae76)?await this[_0x2a2002(0x1e9)](_0x3aae76[0x0]):{};}async[a0_0x3e6518(0x1e4)](){const _0x4f5038=a0_0x3e6518;let _0x3670a8=MetaApi[_0x4f5038(0x1f8)](this[_0x4f5038(0x1f9)],!0x0);!!ValueUtil['isNotEmpty'](_0x3670a8)&&await this[_0x4f5038(0x202)](_0x3670a8)&&this[_0x4f5038(0x1f0)]();}async[a0_0x3e6518(0x1f1)](){const _0x420859=a0_0x3e6518;let _0x1c45c1=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x420859(0x1fe)],_0x420859(0x1fc)));return await MetaApi['exportableData'](this[_0x420859(0x1e8)],_0x1c45c1,this[_0x420859(0x1f9)]);}async[a0_0x3e6518(0x1dd)](){}async[a0_0x3e6518(0x205)](){const _0x5689df=a0_0x3e6518;this['grist']&&(this[_0x5689df(0x1f9)][_0x5689df(0x1ea)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x3e6518(0x1d1)](){const _0x4b1846=a0_0x3e6518;let _0x206eae=this[_0x4b1846(0x1f9)][_0x4b1846(0x1d0)][_0x4b1846(0x1d5)];return _0x206eae=JSON['parse'](JSON[_0x4b1846(0x204)](_0x206eae)),_0x206eae[_0x4b1846(0x200)](_0x187adf=>{const _0x536eb5=_0x4b1846;Object[_0x536eb5(0x1e0)](_0x187adf)[_0x536eb5(0x200)](_0x361e04=>{const _0x3305af=_0x536eb5;_0x361e04[_0x3305af(0x1e5)]('__')&&delete _0x187adf[_0x361e04];});}),_0x206eae;}};
@@ -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
+ function a0_0x158d(){const _0xe79ef0=['useButtonAdd','900FFbbFI','import','properties','export','51EEYnUY','gristButtonHandler','1182804bqfKra','add','useButtonExport','getCustomButtonContainerStyles','getCustomButtonContainerStyle','625zrfTZG','476139wLcbTR','8818lWCtJI','customButtonHandler','getButtonActionHandler','5739910ImJSZR','2158227eiqZfl','687064MRjaTx','8jQNgYu','button','buttonConfig','getContextButtons','getButtonContainer','isButtonExist','isPage'];a0_0x158d=function(){return _0xe79ef0;};return a0_0x158d();}const a0_0x48d76e=a0_0x281e;function a0_0x281e(_0x26c2b0,_0x2b0a31){const _0x158dd7=a0_0x158d();return a0_0x281e=function(_0x281e67,_0xe2ce44){_0x281e67=_0x281e67-0x1ac;let _0x248cf6=_0x158dd7[_0x281e67];return _0x248cf6;},a0_0x281e(_0x26c2b0,_0x2b0a31);}(function(_0x37e576,_0x374e03){const _0x53caf5=a0_0x281e,_0x559394=_0x37e576();while(!![]){try{const _0x2f086c=-parseInt(_0x53caf5(0x1bd))/0x1*(-parseInt(_0x53caf5(0x1c6))/0x2)+-parseInt(_0x53caf5(0x1c5))/0x3+-parseInt(_0x53caf5(0x1b9))/0x4*(-parseInt(_0x53caf5(0x1c4))/0x5)+-parseInt(_0x53caf5(0x1bf))/0x6+-parseInt(_0x53caf5(0x1b0))/0x7*(parseInt(_0x53caf5(0x1b1))/0x8)+-parseInt(_0x53caf5(0x1af))/0x9+parseInt(_0x53caf5(0x1ae))/0xa;if(_0x2f086c===_0x374e03)break;else _0x559394['push'](_0x559394['shift']());}catch(_0x36b355){_0x559394['push'](_0x559394['shift']());}}}(a0_0x158d,0x20835));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x52f45f=>class extends MetaServiceMixin(_0x52f45f){static get[a0_0x48d76e(0x1bb)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x48d76e(0x1c3)](){const _0x41d62c=a0_0x48d76e;return MetaUiUtil[_0x41d62c(0x1c2)]();}[a0_0x48d76e(0x1b4)](){const _0x12a32c=a0_0x48d76e;return MetaUiUtil[_0x12a32c(0x1b4)](this);}[a0_0x48d76e(0x1b5)](){const _0x2f70b0=a0_0x48d76e;return this[_0x2f70b0(0x1b7)]?html``:MetaUiUtil['getButtonContainer'](this);}async['getBasicButtonHandler'](_0x1b1102,_0x5035a4,_0x49d348){const _0x1710c1=a0_0x48d76e;return await MetaUiUtil[_0x1710c1(0x1ad)](this,_0x1b1102,_0x5035a4,_0x49d348);}async[a0_0x48d76e(0x1ac)](_0x32c00c){const _0x59d839=a0_0x48d76e;await MetaUiUtil[_0x59d839(0x1ac)](this,_0x32c00c);}async[a0_0x48d76e(0x1be)](_0x11cf8a,_0x5387d4){const _0x3f02f2=a0_0x48d76e;await MetaUiUtil[_0x3f02f2(0x1be)](this,_0x11cf8a,_0x5387d4);}['parseBasicButtonConfigs'](_0x188b3b){const _0x4a6f06=a0_0x48d76e;this[_0x4a6f06(0x1b3)]=_0x188b3b[_0x4a6f06(0x1b2)],this['useButtonImport']=MetaUiUtil['isButtonExist'](this['buttonConfig'],_0x4a6f06(0x1ba)),this[_0x4a6f06(0x1c1)]=MetaUiUtil['isButtonExist'](this['buttonConfig'],_0x4a6f06(0x1bc)),this[_0x4a6f06(0x1b8)]=MetaUiUtil[_0x4a6f06(0x1b6)](this[_0x4a6f06(0x1b3)],_0x4a6f06(0x1c0));}};
@@ -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_0x2b1193=a0_0x1372;function a0_0x1372(_0x2ec117,_0x215e1c){const _0x345168=a0_0x3451();return a0_0x1372=function(_0x137288,_0x1a1808){_0x137288=_0x137288-0x194;let _0x495462=_0x345168[_0x137288];return _0x495462;},a0_0x1372(_0x2ec117,_0x215e1c);}(function(_0x5d5729,_0x1dfad9){const _0x58aaa2=a0_0x1372,_0x449f21=_0x5d5729();while(!![]){try{const _0x17fd78=parseInt(_0x58aaa2(0x1dc))/0x1+-parseInt(_0x58aaa2(0x194))/0x2*(-parseInt(_0x58aaa2(0x19c))/0x3)+parseInt(_0x58aaa2(0x1be))/0x4*(-parseInt(_0x58aaa2(0x1de))/0x5)+parseInt(_0x58aaa2(0x19e))/0x6+-parseInt(_0x58aaa2(0x1d8))/0x7*(-parseInt(_0x58aaa2(0x1e3))/0x8)+parseInt(_0x58aaa2(0x1dd))/0x9*(-parseInt(_0x58aaa2(0x198))/0xa)+-parseInt(_0x58aaa2(0x1ab))/0xb;if(_0x17fd78===_0x1dfad9)break;else _0x449f21['push'](_0x449f21['shift']());}catch(_0x20ffce){_0x449f21['push'](_0x449f21['shift']());}}}(a0_0x3451,0x1ee3a));import{MetaApi}from'../utils/meta-api';function a0_0x3451(){const _0x5894ef=['name','formColumnConfig','parseFormConfigs','Escape','tLabel','pageInitialized','record','title.info','entries','styles','detail','isPage','info','mandatory','keys','6316fpOtgz','after','true','clear','filter','__dirty__','includes','currentData','__dirtyfields__','form-field-change','activityDataSet','code-input','assign','getBasicFormStyles','editing','save','validation','__seq__','Enter','isEmpty','forEach','confirm','editable','formConfigSet','getData','tagName','532Cqqjyf','stopPropagation','render','__origin__','45889ktuXVE','36ZQgeCA','175xJPEyc','properties','formRenderConfig','removeGarbageData','text.check-mandatory','25176TktRQI','Esc','currentTarget','form','dataSet','isElement','button','isEquals','is_activity','isNotEmpty','check-mandatory-field','parseFormConfigSet','connectedCallback','column','354rLekLb','dispatchEvent','addEventListener','context','594670PTDYSs','focus','cuFlag','startsWith','2199FqVmGq','showAlertPopup','576696ainaiR','parseBasicFormConfigs','renderRoot','updateMultiple','setAttribute','function','target','removeAttribute','patchData','dirtyData','firstUpdated','parent_id','click','1003893qvvDpW','map','text.NOTHING_CHANGED','fetch'];a0_0x3451=function(){return _0x5894ef;};return a0_0x3451();}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=_0x4928d2=>class extends MetaButtonMixin(_0x4928d2){static get[a0_0x2b1193(0x1b8)](){const _0x47fe99=a0_0x2b1193;return MetaApi[_0x47fe99(0x1cb)]();}static get[a0_0x2b1193(0x1df)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x2b1193(0x197)](){return MetaUiUtil['getContextObject'](this);}async[a0_0x2b1193(0x1ef)](){const _0x976d63=a0_0x2b1193;await this['getAndParseMenuMeta'](),this[_0x976d63(0x1e8)]&&await this[_0x976d63(0x1b1)](),this[_0x976d63(0x1c8)]&&(this[_0x976d63(0x1e7)]=this[_0x976d63(0x1c8)]),!0x0!==this[_0x976d63(0x1eb)]||this['parent_id']||(this[_0x976d63(0x1a9)]='activity'),super['connectedCallback']&&await super['connectedCallback'](),this['isElement']&&await this[_0x976d63(0x1ae)](),this[_0x976d63(0x1a0)]['addEventListener']('keydown',_0x30962e=>{const _0x34ee7d=_0x976d63;switch(_0x30962e['key']){case _0x34ee7d(0x1e4):case _0x34ee7d(0x1b2):case _0x34ee7d(0x1d0):this[_0x34ee7d(0x199)](),this[_0x34ee7d(0x1e5)]&&this[_0x34ee7d(0x1e5)][_0x34ee7d(0x1a5)](_0x34ee7d(0x1cc)),this[_0x34ee7d(0x1e5)]=null;}}),this[_0x976d63(0x1a0)]['addEventListener'](_0x976d63(0x1aa),_0xbd1f06=>{const _0x51167b=_0x976d63;_0xbd1f06[_0x51167b(0x1d9)]();let _0x8f5504=_0xbd1f06[_0x51167b(0x1a4)];if(this['currentTarget']&&(this[_0x51167b(0x199)](),this[_0x51167b(0x1e5)][_0x51167b(0x1a5)](_0x51167b(0x1cc))),'OX-GRID-FIELD'!==_0x8f5504[_0x51167b(0x1d7)]||!_0x8f5504[_0x51167b(0x1f0)][_0x51167b(0x1b5)][_0x51167b(0x1d4)])return this[_0x51167b(0x199)](),void(this['currentTarget']=null);this[_0x51167b(0x1e5)]=_0x8f5504,_0x8f5504[_0x51167b(0x1a2)](_0x51167b(0x1cc),_0x51167b(0x1c0));}),this[_0x976d63(0x196)]('field-change',_0x245f29=>{const _0xee9c63=_0x976d63;var {after:_0x57c3be,before:_0x305de4,column:_0x369428,record:_0x3828a6,row:_0x4e8185}=_0x245f29['detail'];if(ValueUtil['isEquals'](_0x57c3be,_0x305de4))return;var _0x6d91b3=_0x369428[_0xee9c63(0x1ce)];if(_0x6d91b3&&_0xee9c63(0x1a3)==typeof _0x6d91b3&&!_0x6d91b3['call'](this,_0x57c3be,_0x305de4,_0x3828a6,_0x369428))return;let _0x23443a=_0x369428['name'];_0x3828a6[_0x23443a]=_0x57c3be,_0x3828a6[_0xee9c63(0x1c6)]=_0x3828a6[_0xee9c63(0x1c6)]||{},_0x3828a6['__origin__']=_0x3828a6['__origin__']||{},_0x3828a6['__dirtyfields__'][_0x23443a]={'before':_0x3828a6['__origin__'][_0x23443a],'after':_0x3828a6[_0x23443a]},ValueUtil[_0xee9c63(0x1ea)](_0x3828a6[_0xee9c63(0x1c6)][_0x23443a]['before'],_0x3828a6[_0xee9c63(0x1c6)][_0x23443a]['after'])&&delete _0x3828a6[_0xee9c63(0x1c6)][_0x23443a],ValueUtil[_0xee9c63(0x1ec)](_0x3828a6[_0xee9c63(0x1c6)])?_0x3828a6['__dirty__']='M':_0x3828a6[_0xee9c63(0x1c3)]='',this[_0xee9c63(0x1b5)]={..._0x3828a6},this[_0xee9c63(0x195)](new CustomEvent(_0xee9c63(0x1c7),{'bubbles':!0x0,'composed':!0x0,'detail':_0x245f29[_0xee9c63(0x1b9)]}));});}async[a0_0x2b1193(0x1a8)](){const _0x5ac2fb=a0_0x2b1193;super['firstUpdated']&&await super[_0x5ac2fb(0x1a8)]();}async[a0_0x2b1193(0x1b4)](){const _0x29642b=a0_0x2b1193;this['isPage']&&await this[_0x29642b(0x1b1)](),super['pageInitialized']&&await super['pageInitialized'](),this[_0x29642b(0x1ba)]&&await this[_0x29642b(0x1ae)]();}[a0_0x2b1193(0x1da)](){return MetaApi['getBasicFormHtml'](this);}[a0_0x2b1193(0x19f)](_0x36de99){const _0x333f07=a0_0x2b1193;this[_0x333f07(0x1b0)]=_0x36de99['grid_column'],this[_0x333f07(0x1e0)]=_0x36de99[_0x333f07(0x1e6)],_0x36de99[_0x333f07(0x1e9)]=_0x36de99[_0x333f07(0x1e9)][_0x333f07(0x1c2)](_0xe4b267=>'save'==_0xe4b267[_0x333f07(0x1af)]);}async[a0_0x2b1193(0x1b1)](){const _0x15fc3c=a0_0x2b1193;this[_0x15fc3c(0x1d5)]=await MetaApi[_0x15fc3c(0x1ee)](this);}get['orgData'](){const _0xcf48d2=a0_0x2b1193;return this[_0xcf48d2(0x1e1)](this[_0xcf48d2(0x1b5)][_0xcf48d2(0x1db)]);}get[a0_0x2b1193(0x1a7)](){const _0x4a6222=a0_0x2b1193;if(ValueUtil['isEmpty']((this['record']||{})['__dirtyfields__']))return{};let _0x22a6df={};return Object[_0x4a6222(0x1b7)](this[_0x4a6222(0x1b5)]['__dirtyfields__'])[_0x4a6222(0x1ac)](([_0x35121e,_0x2935d9])=>{const _0x3b23ef=_0x4a6222;0x0==_0x35121e[_0x3b23ef(0x19b)]('__')&&(_0x22a6df[_0x35121e]=_0x2935d9[_0x3b23ef(0x1bf)]);}),_0x22a6df;}get[a0_0x2b1193(0x1c5)](){const _0x4ffe76=a0_0x2b1193;return this[_0x4ffe76(0x1e1)](this[_0x4ffe76(0x1b5)]);}[a0_0x2b1193(0x1e1)](_0x3bacd0){const _0x4bfbd3=a0_0x2b1193;let _0x41c05c={};if(_0x3bacd0)return Object[_0x4bfbd3(0x1b7)](_0x3bacd0)[_0x4bfbd3(0x1ac)](([_0x36d810,_0x4f439c])=>{const _0x1c40a7=_0x4bfbd3;0x0==_0x36d810[_0x1c40a7(0x19b)]('__')&&(_0x41c05c[_0x36d810]=_0x4f439c);}),_0x41c05c;}get[a0_0x2b1193(0x1a6)](){const _0x4aebf3=a0_0x2b1193;let _0x1605e0=this[_0x4aebf3(0x1a7)],_0xd267ff=this[_0x4aebf3(0x1b5)],_0x48b421=(this['formColumnConfig']||[])[_0x4aebf3(0x1c2)](_0x2fdd03=>_0x4aebf3(0x1c9)===_0x2fdd03['type'])[_0x4aebf3(0x1ac)](_0x793b89=>_0x793b89[_0x4aebf3(0x1af)]);if(!ValueUtil[_0x4aebf3(0x1d1)](_0x1605e0))return ValueUtil['isNotEmpty'](_0xd267ff['id'])?(_0x1605e0['id']=_0xd267ff['id'],_0x1605e0[_0x4aebf3(0x19a)]='M'):_0x1605e0[_0x4aebf3(0x19a)]='+',Object[_0x4aebf3(0x1bd)](_0x1605e0)['forEach'](_0x5dae04=>{const _0x2f3ec2=_0x4aebf3;'object'==typeof _0x1605e0[_0x5dae04]&&0x0==_0x48b421[_0x2f3ec2(0x1c4)](_0x5dae04)&&(_0x1605e0[_0x5dae04]={'id':_0x1605e0[_0x5dae04]['id']});}),[_0x1605e0];}async[a0_0x2b1193(0x1ae)](){const _0x47a8f6=a0_0x2b1193;if(ValueUtil['isEmpty'](this['parent_id']))return;let _0x2be33a=await this['findOne'](this[_0x47a8f6(0x1a9)]);_0x2be33a[_0x47a8f6(0x1cf)]=0x1;let _0x2f08d5={};Object[_0x47a8f6(0x1ca)](_0x2f08d5,_0x2be33a),_0x2be33a['__origin__']=_0x2f08d5,this[_0x47a8f6(0x1b5)]={..._0x2be33a};}async[a0_0x2b1193(0x1cd)](){const _0x1d3d75=a0_0x2b1193;let _0x34c4fb=this[_0x1d3d75(0x1a6)];if(ValueUtil[_0x1d3d75(0x1d1)](_0x34c4fb))return void MetaApi[_0x1d3d75(0x19d)](_0x1d3d75(0x1b6),_0x1d3d75(0x1ad));let _0x41146b={};(this[_0x1d3d75(0x1b0)]||[])[_0x1d3d75(0x1c2)](_0x3c0d25=>!0x0===_0x3c0d25[_0x1d3d75(0x1bc)])[_0x1d3d75(0x1d2)](_0x4d3cae=>{const _0x363010=_0x1d3d75;_0x41146b[_0x4d3cae[_0x363010(0x1af)]]=_0x4d3cae['header'];});let _0xb3561a=this[_0x1d3d75(0x1c5)];for(let _0xb80968 in _0x41146b)if(void 0x0===_0xb3561a[_0xb80968]||''==_0xb3561a[_0xb80968])return void UiUtil[_0x1d3d75(0x19d)](_0x1d3d75(0x1e2),TermsUtil['tText'](_0x1d3d75(0x1ed),{'x':TermsUtil[_0x1d3d75(0x1b3)](_0x41146b[_0xb80968])}),_0x1d3d75(0x1bb),_0x1d3d75(0x1d3));let _0x28c25d=await this[_0x1d3d75(0x1a1)](_0x34c4fb);return _0x28c25d&&await this[_0x1d3d75(0x1ae)](),_0x28c25d;}async[a0_0x2b1193(0x1c1)](){const _0x4b9368=a0_0x2b1193;this[_0x4b9368(0x1b5)]&&(this[_0x4b9368(0x1b5)]={});}[a0_0x2b1193(0x1d6)](){const _0x33f3f4=a0_0x2b1193;return this[_0x33f3f4(0x1c5)]||{};}};
@@ -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
+ function a0_0x421b(){const _0x231e08=['findOne','parseGridConfigSet','record','isNotEmpty','parseGristConfigs','filterFormId','grid','961225afrFSG','actions','getSelectedIdList','filterForm','connectedCallback','getData','type','gristConfigSet','gridConfig','firstUpdated','search','2788191lQfPtB','grid_column','properties','renderRoot','importable','pageInitialized','8ysoSNj','import','14109903YvuUEI','gristId','main','#detail','exportable','keys','gridEmphasized','records','246958lhuXnJ','name','querySelector','forEach','title','getGristTabHtml','grist','clear','export','tTitle','dataSet','startsWith','1105656tZHlVi','find','options','stringify','___data','getAndParseMenuMeta','searchFieldValues','getBasicGristTabStyles','8KicrAP','push','meta-tab-element','useMasterFilterForm','ox-grist','activityDataSet','value','updateMultiple','save','map','filter','isElement','fetch','operator','useFilterForm','exportableData','searchConfig','getContextObject','columns','1165678jTgCjh','shadowRoot','delete','context','gridColumnConfig','menuInfo','1842558kWJjTK'];a0_0x421b=function(){return _0x231e08;};return a0_0x421b();}const a0_0x3dac4d=a0_0x198d;(function(_0x49ed9a,_0x4f2e79){const _0x2e2fd9=a0_0x198d,_0x5d2348=_0x49ed9a();while(!![]){try{const _0x7cf7c9=-parseInt(_0x2e2fd9(0x157))/0x1+parseInt(_0x2e2fd9(0x12e))/0x2+-parseInt(_0x2e2fd9(0x134))/0x3+parseInt(_0x2e2fd9(0x14d))/0x4*(-parseInt(_0x2e2fd9(0x13c))/0x5)+-parseInt(_0x2e2fd9(0x113))/0x6+-parseInt(_0x2e2fd9(0x147))/0x7*(parseInt(_0x2e2fd9(0x11b))/0x8)+parseInt(_0x2e2fd9(0x14f))/0x9;if(_0x7cf7c9===_0x4f2e79)break;else _0x5d2348['push'](_0x5d2348['shift']());}catch(_0x47f208){_0x5d2348['push'](_0x5d2348['shift']());}}}(a0_0x421b,0x4eb4f));import{html}from'lit';function a0_0x198d(_0x4a63f4,_0x3756c9){const _0x421bd8=a0_0x421b();return a0_0x198d=function(_0x198df8,_0x3d897c){_0x198df8=_0x198df8-0x113;let _0x4a5f4e=_0x421bd8[_0x198df8];return _0x4a5f4e;},a0_0x198d(_0x4a63f4,_0x3756c9);}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';export const MetaGristTabMixin=_0x2a4952=>class extends MetaButtonMixin(_0x2a4952){static get['styles'](){const _0x5b4d5c=a0_0x198d;return MetaApi[_0x5b4d5c(0x11a)]();}static get[a0_0x3dac4d(0x149)](){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 _0x4967da=a0_0x3dac4d;return this[_0x4967da(0x14a)][_0x4967da(0x159)](this[_0x4967da(0x150)]);}get[a0_0x3dac4d(0x13f)](){const _0x4d89b2=a0_0x3dac4d;return this['shadowRoot']?.[_0x4d89b2(0x159)](this[_0x4d89b2(0x13a)]);}get['detailElement'](){const _0xf79c08=a0_0x3dac4d;return this[_0xf79c08(0x12f)][_0xf79c08(0x159)](_0xf79c08(0x152));}get[a0_0x3dac4d(0x131)](){const _0xeb03d4=a0_0x3dac4d;let _0x518d44=MetaUiUtil[_0xeb03d4(0x12c)](this);return _0x518d44[_0xeb03d4(0x13d)]&&delete _0x518d44['actions'],_0x518d44[_0xeb03d4(0x153)]&&delete _0x518d44[_0xeb03d4(0x153)],_0x518d44[_0xeb03d4(0x14b)]&&delete _0x518d44[_0xeb03d4(0x14b)],_0x518d44;}async[a0_0x3dac4d(0x140)](){const _0x2ef0f2=a0_0x3dac4d;this[_0x2ef0f2(0x150)]=_0x2ef0f2(0x11f),this['filterFormId']='ox-filters-form-base',await this[_0x2ef0f2(0x118)](),this[_0x2ef0f2(0x126)]&&await this[_0x2ef0f2(0x139)](),this[_0x2ef0f2(0x120)]&&(this[_0x2ef0f2(0x161)]=(this[_0x2ef0f2(0x120)]||{})[_0x2ef0f2(0x151)]),super[_0x2ef0f2(0x140)]&&await super[_0x2ef0f2(0x140)]();}async[a0_0x3dac4d(0x145)](){const _0x51367f=a0_0x3dac4d;super[_0x51367f(0x145)]&&await super[_0x51367f(0x145)]();}async[a0_0x3dac4d(0x14c)](){const _0x3005ef=a0_0x3dac4d;this['isPage']&&await this[_0x3005ef(0x139)](),super[_0x3005ef(0x14c)]&&await super[_0x3005ef(0x14c)]();}['render'](){const _0x2d0e07=a0_0x3dac4d;return MetaApi[_0x2d0e07(0x15c)](this);}['parseBasicGridConfigs'](_0x311614){const _0x4f697d=a0_0x3dac4d;this[_0x4f697d(0x144)]=_0x311614[_0x4f697d(0x13b)],this[_0x4f697d(0x132)]=_0x311614[_0x4f697d(0x148)],this[_0x4f697d(0x12b)]=_0x311614[_0x4f697d(0x146)],this[_0x4f697d(0x155)]=_0x311614[_0x4f697d(0x155)];}async[a0_0x3dac4d(0x139)](){const _0x4aa145=a0_0x3dac4d;this[_0x4aa145(0x143)]=await MetaApi[_0x4aa145(0x136)](this),this[_0x4aa145(0x11e)]=!0x0===this[_0x4aa145(0x129)],this[_0x4aa145(0x129)]=!0x1,this[_0x4aa145(0x119)]=[],this['searchFields']=this['gristConfigSet'][_0x4aa145(0x12d)][_0x4aa145(0x125)](_0x2f44d7=>_0x2f44d7[_0x4aa145(0x125)])[_0x4aa145(0x124)](_0x3860e5=>{const _0x50e274=_0x4aa145;let _0x383865={'name':_0x3860e5[_0x50e274(0x158)],'type':_0x50e274(0x146)===_0x3860e5['filter'][_0x50e274(0x128)]?_0x50e274(0x146):_0x3860e5[_0x50e274(0x142)],'label':_0x3860e5['header'],'operator':_0x3860e5[_0x50e274(0x125)]['operator']?_0x3860e5['filter'][_0x50e274(0x128)]:'eq'};return _0x3860e5[_0x50e274(0x125)][_0x50e274(0x115)]&&(_0x383865['options']=_0x3860e5['filter'][_0x50e274(0x115)]),_0x3860e5[_0x50e274(0x137)]['options']&&(_0x383865[_0x50e274(0x115)]=_0x3860e5[_0x50e274(0x137)][_0x50e274(0x115)]),_0x3860e5[_0x50e274(0x125)]['value']&&this[_0x50e274(0x119)][_0x50e274(0x11c)]({'name':_0x383865[_0x50e274(0x158)],'operator':_0x383865[_0x50e274(0x128)],'value':_0x3860e5[_0x50e274(0x125)][_0x50e274(0x121)]}),delete _0x3860e5['filter'],_0x383865;});}async[a0_0x3dac4d(0x127)](){const _0x15282e=a0_0x3dac4d;await this[_0x15282e(0x15d)][_0x15282e(0x127)]();}async['beforeFetch']({page:_0x53665a=0x0,limit:_0x3c7d5c=0x0,sortings:_0x13f17e=[],filters:_0x4959fc=[]}){const _0x1e9250=a0_0x3dac4d;let _0x3606cd=this['renderRoot'][_0x1e9250(0x159)](_0x1e9250(0x11d));return await _0x3606cd[_0x1e9250(0x15e)](),!0x0;}async[a0_0x3dac4d(0x123)](){const _0x450801=a0_0x3dac4d;let _0x24a21a=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil[_0x450801(0x138)](_0x24a21a)&&await this[_0x450801(0x122)](_0x24a21a)&&this[_0x450801(0x127)]();}async[a0_0x3dac4d(0x114)](){const _0xef86bd=a0_0x3dac4d;let _0x51a8c2=MetaApi[_0xef86bd(0x13e)](this[_0xef86bd(0x15d)],!0x0);return ValueUtil[_0xef86bd(0x138)](_0x51a8c2)?await this[_0xef86bd(0x135)](_0x51a8c2[0x0]):{};}async[a0_0x3dac4d(0x130)](){const _0x2f9ebf=a0_0x3dac4d;let _0x5ef920=MetaApi[_0x2f9ebf(0x13e)](this[_0x2f9ebf(0x15d)],!0x0);!!ValueUtil[_0x2f9ebf(0x138)](_0x5ef920)&&await this['deleteByIds'](_0x5ef920)&&this[_0x2f9ebf(0x127)]();}async[a0_0x3dac4d(0x15f)](){const _0x8d319e=a0_0x3dac4d;let _0x3e1110=TermsUtil[_0x8d319e(0x160)](ValueUtil['getParams'](this[_0x8d319e(0x133)],_0x8d319e(0x15b)));return await MetaApi[_0x8d319e(0x12a)](this[_0x8d319e(0x126)],_0x3e1110,this['grist']);}async[a0_0x3dac4d(0x14e)](){}['getData'](){const _0x8aad40=a0_0x3dac4d;let _0x5652ae=this[_0x8aad40(0x15d)][_0x8aad40(0x117)][_0x8aad40(0x156)];return _0x5652ae=JSON['parse'](JSON[_0x8aad40(0x116)](_0x5652ae)),_0x5652ae[_0x8aad40(0x15a)](_0x5e9ba3=>{const _0x370b20=_0x8aad40;Object[_0x370b20(0x154)](_0x5e9ba3)[_0x370b20(0x15a)](_0x440965=>{const _0x420300=_0x370b20;_0x440965[_0x420300(0x162)]('__')&&delete _0x5e9ba3[_0x440965];});}),{'main':_0x5652ae,'detail':this[_0x8aad40(0x14a)]['querySelector'](_0x8aad40(0x11d))[_0x8aad40(0x141)]()};}};
@@ -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_0xdda826=a0_0x5282;(function(_0x50e311,_0x103bbb){const _0x2332e5=a0_0x5282,_0x44344f=_0x50e311();while(!![]){try{const _0x3a03b3=parseInt(_0x2332e5(0x121))/0x1*(parseInt(_0x2332e5(0x110))/0x2)+parseInt(_0x2332e5(0x112))/0x3*(parseInt(_0x2332e5(0x12c))/0x4)+-parseInt(_0x2332e5(0x10f))/0x5*(-parseInt(_0x2332e5(0x115))/0x6)+-parseInt(_0x2332e5(0x113))/0x7+-parseInt(_0x2332e5(0x123))/0x8*(-parseInt(_0x2332e5(0x119))/0x9)+-parseInt(_0x2332e5(0x146))/0xa+-parseInt(_0x2332e5(0x134))/0xb;if(_0x3a03b3===_0x103bbb)break;else _0x44344f['push'](_0x44344f['shift']());}catch(_0x38a2ef){_0x44344f['push'](_0x44344f['shift']());}}}(a0_0x1a53,0xe8de9));import{html}from'lit';function a0_0x5282(_0x484656,_0x1ab07a){const _0x1a537f=a0_0x1a53();return a0_0x5282=function(_0x5282a7,_0x4fcfa0){_0x5282a7=_0x5282a7-0x10f;let _0x31b16e=_0x1a537f[_0x5282a7];return _0x31b16e;},a0_0x5282(_0x484656,_0x1ab07a);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x1a53(){const _0x8903a0=['importable','9629658zemCtA','connectedCallback','useFilterForm','searchConfig','parseGristConfigs','ox-filters-form-base','actions','filter','72341rJMhiq','getAndParseMenuMeta','8zULaeF','render','fetch','grid_column','useButtonExport','pageInitialized','searchFieldValues','getMainGrist','buttonConfig','2436760xIbLGs','beforeFetch','search','main','ox-grist','grid','context','options','24796464CuiucT','filterFormId','isPage','filterForm','properties','firstUpdated','gridEmphasized','grist','searchFields','clear','getMainTabHtml','parseGridConfigSet','record','getBasicMainTabStyles','value','activityDataSet','isElement','masterElement','2459910AUPqeg','name','querySelector','getData','styles','285mlFvPn','12bopCNG','useMasterFilterForm','6Mphoqc','4024258OpwutS','columns','137532ATMlaU','gridConfig','operator'];a0_0x1a53=function(){return _0x8903a0;};return a0_0x1a53();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x519f10=>class extends MetaButtonMixin(_0x519f10){static get[a0_0xdda826(0x14a)](){const _0x3a556f=a0_0xdda826;return MetaApi[_0x3a556f(0x141)]();}static get[a0_0xdda826(0x138)](){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_0xdda826(0x13b)](){const _0x482cf6=a0_0xdda826;return this[_0x482cf6(0x145)][_0x482cf6(0x12a)]();}get[a0_0xdda826(0x137)](){const _0x5d548a=a0_0xdda826;return this['shadowRoot']?.[_0x5d548a(0x148)](this[_0x5d548a(0x135)]);}get[a0_0xdda826(0x132)](){const _0x1a8b6f=a0_0xdda826;let _0x59f73c=MetaUiUtil['getContextObject'](this);return _0x59f73c[_0x1a8b6f(0x11f)]&&delete _0x59f73c[_0x1a8b6f(0x11f)],_0x59f73c['exportable']&&delete _0x59f73c['exportable'],_0x59f73c[_0x1a8b6f(0x118)]&&delete _0x59f73c[_0x1a8b6f(0x118)],_0x59f73c;}async[a0_0xdda826(0x11a)](){const _0x51eda5=a0_0xdda826;this['gristId']=_0x51eda5(0x130),this['filterFormId']=_0x51eda5(0x11e),await this[_0x51eda5(0x122)](),this[_0x51eda5(0x144)]&&await this[_0x51eda5(0x11d)](),this[_0x51eda5(0x143)]&&(this['dataSet']=(this[_0x51eda5(0x143)]||{})[_0x51eda5(0x12f)]),super[_0x51eda5(0x11a)]&&await super[_0x51eda5(0x11a)]();}async[a0_0xdda826(0x139)](){const _0x3cab23=a0_0xdda826;super[_0x3cab23(0x139)]&&await super['firstUpdated']();}async[a0_0xdda826(0x128)](){const _0x4baa9c=a0_0xdda826;this[_0x4baa9c(0x136)]&&await this['parseGristConfigs'](),super[_0x4baa9c(0x128)]&&await super[_0x4baa9c(0x128)]();}[a0_0xdda826(0x124)](){const _0x25ce56=a0_0xdda826;return MetaApi[_0x25ce56(0x13e)](this);}['parseBasicGridConfigs'](_0x1f205e){const _0x44141d=a0_0xdda826;this[_0x44141d(0x116)]=_0x1f205e[_0x44141d(0x131)],this['gridColumnConfig']=_0x1f205e[_0x44141d(0x126)],this[_0x44141d(0x11c)]=_0x1f205e[_0x44141d(0x12e)],this[_0x44141d(0x13a)]=_0x1f205e[_0x44141d(0x13a)];}async['parseGristConfigs'](){const _0xb5b8d0=a0_0xdda826;this['gristConfigSet']=await MetaApi[_0xb5b8d0(0x13f)](this),this[_0xb5b8d0(0x111)]=!0x0===this[_0xb5b8d0(0x11b)],this[_0xb5b8d0(0x11b)]=!0x1,this[_0xb5b8d0(0x12b)]=void 0x0,this[_0xb5b8d0(0x127)]=!0x1,this['useButtonImport']=!0x1,this[_0xb5b8d0(0x129)]=[],this[_0xb5b8d0(0x13c)]=this['gristConfigSet'][_0xb5b8d0(0x114)][_0xb5b8d0(0x120)](_0x26c913=>_0x26c913[_0xb5b8d0(0x120)])['map'](_0x3e992a=>{const _0x1251ad=_0xb5b8d0;let _0x13b972={'name':_0x3e992a['name'],'type':_0x1251ad(0x12e)===_0x3e992a['filter'][_0x1251ad(0x117)]?_0x1251ad(0x12e):_0x3e992a['type'],'label':_0x3e992a['header'],'operator':_0x3e992a[_0x1251ad(0x120)][_0x1251ad(0x117)]?_0x3e992a[_0x1251ad(0x120)][_0x1251ad(0x117)]:'eq'};return _0x3e992a[_0x1251ad(0x120)][_0x1251ad(0x133)]&&(_0x13b972[_0x1251ad(0x133)]=_0x3e992a[_0x1251ad(0x120)][_0x1251ad(0x133)]),_0x3e992a[_0x1251ad(0x140)][_0x1251ad(0x133)]&&(_0x13b972['options']=_0x3e992a[_0x1251ad(0x140)][_0x1251ad(0x133)]),_0x3e992a[_0x1251ad(0x120)][_0x1251ad(0x142)]&&this[_0x1251ad(0x129)]['push']({'name':_0x13b972[_0x1251ad(0x147)],'operator':_0x13b972['operator'],'value':_0x3e992a[_0x1251ad(0x120)][_0x1251ad(0x142)]}),delete _0x3e992a[_0x1251ad(0x120)],_0x13b972;});}async[a0_0xdda826(0x125)](){const _0x3808f3=a0_0xdda826;await this[_0x3808f3(0x13b)][_0x3808f3(0x125)]();}async[a0_0xdda826(0x12d)]({page:_0x1027c8=0x0,limit:_0x53da31=0x0,sortings:_0x1a2a80=[],filters:_0x45e9d0=[]}){const _0x489cc9=a0_0xdda826;return this[_0x489cc9(0x145)]&&this['masterElement'][_0x489cc9(0x13d)]&&await this[_0x489cc9(0x145)][_0x489cc9(0x13d)](),!0x0;}[a0_0xdda826(0x149)](){const _0x3a3eae=a0_0xdda826;return{'master':this['masterElement'][_0x3a3eae(0x149)]()};}};
@@ -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_0x4c64e0=a0_0x4020;(function(_0x2e0abf,_0x59f215){const _0x366576=a0_0x4020,_0xf39815=_0x2e0abf();while(!![]){try{const _0x117002=-parseInt(_0x366576(0xbd))/0x1*(-parseInt(_0x366576(0xf4))/0x2)+-parseInt(_0x366576(0xba))/0x3*(parseInt(_0x366576(0xc1))/0x4)+-parseInt(_0x366576(0xfc))/0x5+parseInt(_0x366576(0x103))/0x6*(-parseInt(_0x366576(0xf6))/0x7)+-parseInt(_0x366576(0xd8))/0x8+-parseInt(_0x366576(0xeb))/0x9+parseInt(_0x366576(0xb8))/0xa*(parseInt(_0x366576(0xc6))/0xb);if(_0x117002===_0x59f215)break;else _0xf39815['push'](_0xf39815['shift']());}catch(_0x5ea656){_0xf39815['push'](_0xf39815['shift']());}}}(a0_0x1c6b,0xc344f));function a0_0x1c6b(){const _0x177820=['ox-grist','updateMultiple','connectedCallback','shadowRoot','3456006wVrmvj','findOne','render','getParams','60olEnFU','isNotEmpty','1438989ntbJjB','map','exportableData','460154kQcddC','search','filterFormId','parseBasicGridConfigs','8nndYpj','save','tTitle','properties','name','9586643nCjyIU','record','filter','actions','import','isElement','getSelectedIdList','operator','forEach','main','gridConfig','useFilterForm','columns','detailElement','searchConfig','parseGridConfigSet','beforeFetch','fetch','10778840pozGoW','export','isPage','startsWith','gristId','getBasicMasterDetailStyles','searchFieldValues','title','parseGristConfigs','grid','grist','getContextObject','stringify','menuInfo','options','push','getAndParseMenuMeta','exportable','pageInitialized','5023458rkwIzt','gridEmphasized','getData','clear','dataSet','type','firstUpdated','gristConfigSet','activityDataSet','2CiaaHI','delete','14IihRhA','ox-filters-form-base','value','filterForm','patchesForUpdateMultiple','querySelector','4362820CurUNx','styles','renderRoot'];a0_0x1c6b=function(){return _0x177820;};return a0_0x1c6b();}function a0_0x4020(_0x5b1961,_0x828a87){const _0x1c6bfd=a0_0x1c6b();return a0_0x4020=function(_0x402092,_0x3b1c31){_0x402092=_0x402092-0xb8;let _0x315bfe=_0x1c6bfd[_0x402092];return _0x315bfe;},a0_0x4020(_0x5b1961,_0x828a87);}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';export const MetaMasterDetailMixin=_0x569f0c=>class extends MetaButtonMixin(_0x569f0c){static get[a0_0x4c64e0(0xfd)](){const _0x16c618=a0_0x4c64e0;return MetaApi[_0x16c618(0xdd)]();}static get[a0_0x4c64e0(0xc4)](){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_0x4c64e0(0xe2)](){const _0x513268=a0_0x4c64e0;return this[_0x513268(0xfe)][_0x513268(0xfb)](this[_0x513268(0xdc)]);}get[a0_0x4c64e0(0xf9)](){const _0xfac0cf=a0_0x4c64e0;return this[_0xfac0cf(0x102)]?.[_0xfac0cf(0xfb)](this[_0xfac0cf(0xbf)]);}get['context'](){const _0x136354=a0_0x4c64e0;let _0x55090d=MetaUiUtil[_0x136354(0xe3)](this);return _0x55090d['actions']&&delete _0x55090d[_0x136354(0xc9)],_0x55090d['exportable']&&delete _0x55090d[_0x136354(0xe9)],_0x55090d['importable']&&delete _0x55090d['importable'],_0x55090d;}async[a0_0x4c64e0(0x101)](){const _0x4af25d=a0_0x4c64e0;this['gristId']=_0x4af25d(0xff),this[_0x4af25d(0xbf)]=_0x4af25d(0xf7),await this[_0x4af25d(0xe8)](),this['isElement']&&await this[_0x4af25d(0xe0)](),this[_0x4af25d(0xf3)]&&(this[_0x4af25d(0xef)]=(this[_0x4af25d(0xf3)]||{})[_0x4af25d(0xcf)]),super['connectedCallback']&&await super[_0x4af25d(0x101)]();}async[a0_0x4c64e0(0xf1)](){const _0x43c14e=a0_0x4c64e0;super[_0x43c14e(0xf1)]&&await super['firstUpdated']();}async[a0_0x4c64e0(0xea)](){const _0x4cd76b=a0_0x4c64e0;this[_0x4cd76b(0xda)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x4cd76b(0xea)]();}[a0_0x4c64e0(0x105)](){return MetaApi['getMasterDetailHtml'](this);}[a0_0x4c64e0(0xc0)](_0xeb2cfc){const _0x88f295=a0_0x4c64e0;this[_0x88f295(0xd0)]=_0xeb2cfc[_0x88f295(0xe1)],this['gridColumnConfig']=_0xeb2cfc['grid_column'],this[_0x88f295(0xd4)]=_0xeb2cfc[_0x88f295(0xbe)],this[_0x88f295(0xec)]=_0xeb2cfc[_0x88f295(0xec)];}async[a0_0x4c64e0(0xe0)](){const _0x41565e=a0_0x4c64e0;this[_0x41565e(0xf2)]=await MetaApi[_0x41565e(0xd5)](this),this['useMasterFilterForm']=!0x0===this[_0x41565e(0xd1)],this[_0x41565e(0xd1)]=!0x1,this[_0x41565e(0xde)]=[],this['searchFields']=this['gristConfigSet'][_0x41565e(0xd2)][_0x41565e(0xc8)](_0x292065=>_0x292065[_0x41565e(0xc8)])[_0x41565e(0xbb)](_0x2085de=>{const _0x473b5e=_0x41565e;let _0xf44557={'name':_0x2085de[_0x473b5e(0xc5)],'type':_0x473b5e(0xbe)===_0x2085de['filter']['operator']?_0x473b5e(0xbe):_0x2085de[_0x473b5e(0xf0)],'label':_0x2085de['header'],'operator':_0x2085de[_0x473b5e(0xc8)][_0x473b5e(0xcd)]?_0x2085de['filter'][_0x473b5e(0xcd)]:'eq'};return _0x2085de[_0x473b5e(0xc8)][_0x473b5e(0xe6)]&&(_0xf44557[_0x473b5e(0xe6)]=_0x2085de[_0x473b5e(0xc8)][_0x473b5e(0xe6)]),_0x2085de['record'][_0x473b5e(0xe6)]&&(_0xf44557['options']=_0x2085de[_0x473b5e(0xc7)][_0x473b5e(0xe6)]),_0x2085de[_0x473b5e(0xc8)]['value']&&this[_0x473b5e(0xde)][_0x473b5e(0xe7)]({'name':_0xf44557[_0x473b5e(0xc5)],'operator':_0xf44557[_0x473b5e(0xcd)],'value':_0x2085de['filter'][_0x473b5e(0xf8)]}),delete _0x2085de[_0x473b5e(0xc8)],_0xf44557;});}async['fetch'](){const _0x10cc2b=a0_0x4c64e0;await this[_0x10cc2b(0xe2)][_0x10cc2b(0xd7)]();}async[a0_0x4c64e0(0xd6)]({page:_0x67fa73=0x0,limit:_0x3a1c04=0x0,sortings:_0x23f306=[],filters:_0x194d38=[]}){const _0x194c17=a0_0x4c64e0;return this['detailElement']&&this['detailElement']['clear']&&await this[_0x194c17(0xd3)][_0x194c17(0xee)](),!0x0;}async[a0_0x4c64e0(0xc2)](){const _0xc33138=a0_0x4c64e0;let _0x443a3a=MetaApi[_0xc33138(0xfa)](this['grist']);!!ValueUtil[_0xc33138(0xb9)](_0x443a3a)&&await this[_0xc33138(0x100)](_0x443a3a)&&this[_0xc33138(0xd7)]();}async['find'](){const _0xdf94f9=a0_0x4c64e0;let _0x36cac2=MetaApi[_0xdf94f9(0xcc)](this[_0xdf94f9(0xe2)],!0x0);return ValueUtil[_0xdf94f9(0xb9)](_0x36cac2)?await this[_0xdf94f9(0x104)](_0x36cac2[0x0]):{};}async[a0_0x4c64e0(0xf5)](){const _0x501cb5=a0_0x4c64e0;let _0x9f79b8=MetaApi[_0x501cb5(0xcc)](this[_0x501cb5(0xe2)],!0x0);!!ValueUtil[_0x501cb5(0xb9)](_0x9f79b8)&&await this['deleteByIds'](_0x9f79b8)&&this[_0x501cb5(0xd7)]();}async[a0_0x4c64e0(0xd9)](){const _0x2541cf=a0_0x4c64e0;let _0x47e135=TermsUtil[_0x2541cf(0xc3)](ValueUtil[_0x2541cf(0x106)](this[_0x2541cf(0xe5)],_0x2541cf(0xdf)));return await MetaApi[_0x2541cf(0xbc)](this[_0x2541cf(0xcb)],_0x47e135,this[_0x2541cf(0xe2)]);}async[a0_0x4c64e0(0xca)](){}['getData'](){const _0x3bd126=a0_0x4c64e0;let _0x3b8598=this[_0x3bd126(0xe2)]['___data']['records'];return _0x3b8598=JSON['parse'](JSON[_0x3bd126(0xe4)](_0x3b8598)),_0x3b8598[_0x3bd126(0xce)](_0x4d62fe=>{const _0x51bc4c=_0x3bd126;Object['keys'](_0x4d62fe)[_0x51bc4c(0xce)](_0x620e9e=>{const _0x1d20bc=_0x51bc4c;_0x620e9e[_0x1d20bc(0xdb)]('__')&&delete _0x4d62fe[_0x620e9e];});}),{'main':_0x3b8598,'detail':this[_0x3bd126(0xd3)][_0x3bd126(0xed)]()};}};