@things-factory/meta-ui 6.1.20 → 6.1.22

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 (87) 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 +10 -10
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  7. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  8. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  9. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  10. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  12. package/client/component/popup/code-input-editor-popup.js +10 -10
  13. package/client/component/popup/meta-object-selector-popup.js +10 -10
  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 +15 -15
  35. package/client/pages/meta-form-element.js +1 -1
  36. package/client/pages/meta-grist-element.js +1 -1
  37. package/client/pages/meta-grist-page.js +1 -1
  38. package/client/pages/meta-grist-tab-element.js +1 -1
  39. package/client/pages/meta-grist-tab-page.js +1 -1
  40. package/client/pages/meta-main-tab-element.js +1 -1
  41. package/client/pages/meta-main-tab-page.js +1 -1
  42. package/client/pages/meta-master-detail-element.js +1 -1
  43. package/client/pages/meta-master-detail-page.js +1 -1
  44. package/client/pages/meta-tab-detail-element.js +1 -1
  45. package/client/pages/meta-tab-detail-page.js +1 -1
  46. package/client/pages/meta-tab-element.js +1 -1
  47. package/client/pages/personalize/personal-column-selector.js +11 -11
  48. package/client/pages/terms/config-terminology.js +6 -6
  49. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  50. package/client/pages/work-code/work-code-page.js +1 -1
  51. package/client/reducers/main.js +1 -1
  52. package/client/utils/meta-api.js +1 -1
  53. package/client/utils/meta-crypto.js +1 -1
  54. package/client/utils/meta-ui-util.js +103 -103
  55. package/client/utils/service-util.js +13 -13
  56. package/client/utils/terms-util.js +2 -2
  57. package/client/utils/ui-util.js +1 -1
  58. package/client/utils/value-util.js +1 -1
  59. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  60. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  61. package/client/viewparts/dynamic-menu-part.js +11 -11
  62. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  63. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  64. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  65. package/package.json +5 -5
  66. package/server/activity/CommonActivity.js +2 -2
  67. package/server/constants/error-code.js +1 -1
  68. package/server/errors/license-error.js +1 -1
  69. package/server/routes.js +1 -1
  70. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  72. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  73. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  74. package/server/service/grid-personalize/grid-personalize.js +1 -1
  75. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  76. package/server/service/meta-activity/meta-activity-query.js +1 -1
  77. package/server/service/meta-activity/meta-activity-type.js +1 -1
  78. package/server/service/meta-secret/meta-resolver.js +1 -1
  79. package/server/service/set-translations/set-translation-resolver.js +1 -1
  80. package/server/service/work-code/work-code-mutation.js +1 -1
  81. package/server/service/work-code/work-code-query.js +1 -1
  82. package/server/service/work-code/work-code-type.js +1 -1
  83. package/server/service/work-code/work-code.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  87. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x165701=a0_0x17bd;(function(_0x39d13a,_0x24e11e){const _0x1c3a9a=a0_0x17bd,_0x116f47=_0x39d13a();while(!![]){try{const _0x472891=-parseInt(_0x1c3a9a(0x1b8))/0x1+parseInt(_0x1c3a9a(0x1b6))/0x2*(parseInt(_0x1c3a9a(0x17e))/0x3)+parseInt(_0x1c3a9a(0x1b4))/0x4+parseInt(_0x1c3a9a(0x166))/0x5+parseInt(_0x1c3a9a(0x1b3))/0x6*(-parseInt(_0x1c3a9a(0x1a1))/0x7)+parseInt(_0x1c3a9a(0x1a5))/0x8+-parseInt(_0x1c3a9a(0x172))/0x9;if(_0x472891===_0x24e11e)break;else _0x116f47['push'](_0x116f47['shift']());}catch(_0x3a10ff){_0x116f47['push'](_0x116f47['shift']());}}}(a0_0xa094,0x3dbb8));import{css,html,LitElement}from'lit';function a0_0x17bd(_0x5a1459,_0x1fea1d){const _0xa0940c=a0_0xa094();return a0_0x17bd=function(_0x17bdb7,_0x43537b){_0x17bdb7=_0x17bdb7-0x162;let _0x2e3cd3=_0xa0940c[_0x17bdb7];return _0x2e3cd3;},a0_0x17bd(_0x5a1459,_0x1fea1d);}import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0xa094(){const _0x44f008=['1648208dqJDiZ','queryName','gql','cancel','getCodeByScenario','dispField','selected','NOTHING_SELECTED','left','clickCancel','type','getCodeByEntity','info','includes','4506pUErRF','1420020JnzaSU','record','2aJTYyM','after_set_fields','425711BxoMde','resource-object','entity','clickEmpty','menu_template','select','313470ZoUwbg','basicArgs','getSelectColumns','hidden','getGristSelectableConfig','meta-','args','codes','code','meta-object-selector','firstUpdated','gridConfig','1707498xtkpmh','search_hidden_fields','grist','fetchHandler','shadowRoot','tButton','define','nameField','selectRecord','LIST','searchByPagination','filters','1263147MfADEQ','#ox-grist','filterFields','filter','query','connectedCallback','getGristColumnConfig2','bind','isArray','name','codeField','confirmCallback','sorters','clickSelect','getCodeSelectorData','render','tText','getGristMetaObjectOptions','length','columns','string','menu','meta-code-selector','GRID','meta-object-selector-popup','rows','search','appendable','values','resource-code-selector','select-row-toggle','object','push','keys','styles','1645tZweVe','options','forEach','scenario'];a0_0xa094=function(){return _0x44f008;};return a0_0xa094();}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';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x165701(0x1a0)]=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x19477b=a0_0x5e5d;(function(_0xfb4a86,_0x419d58){const _0x40492d=a0_0x5e5d,_0x279c3f=_0xfb4a86();while(!![]){try{const _0x45d9e9=parseInt(_0x40492d(0x165))/0x1*(parseInt(_0x40492d(0x15e))/0x2)+-parseInt(_0x40492d(0x1a9))/0x3+-parseInt(_0x40492d(0x15c))/0x4+-parseInt(_0x40492d(0x15f))/0x5*(parseInt(_0x40492d(0x191))/0x6)+-parseInt(_0x40492d(0x19a))/0x7+parseInt(_0x40492d(0x16b))/0x8*(parseInt(_0x40492d(0x18e))/0x9)+parseInt(_0x40492d(0x16f))/0xa;if(_0x45d9e9===_0x419d58)break;else _0x279c3f['push'](_0x279c3f['shift']());}catch(_0x4263e9){_0x279c3f['push'](_0x279c3f['shift']());}}}(a0_0x5a64,0xdf540));import{css,html,LitElement}from'lit';function a0_0x5e5d(_0x3480de,_0x323e39){const _0x5a643a=a0_0x5a64();return a0_0x5e5d=function(_0x5e5d6e,_0x6a4af3){_0x5e5d6e=_0x5e5d6e-0x15c;let _0x3425af=_0x5a643a[_0x5e5d6e];return _0x3425af;},a0_0x5e5d(_0x3480de,_0x323e39);}import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x5a64(){const _0x5c8b5e=['cancel','getGristColumnConfig2','selected','getCodeByScenario','fetchHandler','rows','814677KNjcOM','columns','nameField','handlers','render','getParams','meta-','push','gql','keys','meta-object-selector-popup','3058908zeOhYC','firstUpdated','4698xFFVet','5350NlyKzB','align','filterFields','filters','styles','getGristPagination100Config','716UewaPP','select','string','forEach','after_set_fields','search','20328qKtazn','confirmCallback','hidden','name','20088030vNzsHC','GRID','bind','info','code','tButton','search_hidden_fields','includes','getCodeSelectorData','meta-object-selector','#ox-grist','resource-object','getGristMetaObjectOptions','scenario','options','meta-code-selector','define','querySelector','menu_template','NOTHING_SELECTED','queryName','query','shadowRoot','getGristSelectableConfig','args','select-row-toggle','searchByPagination','codeField','getGristGuttersConfig','grist','tText','3006jiVHmP','type','left','6234iEFSGI','selectRecord','filter','resource-code-selector','values','clickCancel','record','clickEmpty','empty','10336291EEgZQk','basicArgs','dispField','connectedCallback','menu','length','sorters','getSelectColumns','isArray'];a0_0x5a64=function(){return _0x5c8b5e;};return a0_0x5a64();}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';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static [a0_0x19477b(0x163)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x165701=a0_0x17bd;(function(_0x39d13a,_0x24e11e){const _0x1c3a9a=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0x165701(0x183)](){const _0x77589b=a0_0x165701;this[_0x77589b(0x173)]=this['options'][_0x77589b(0x17d)]?this[_0x77589b(0x1a2)][_0x77589b(0x17d)]:this[_0x77589b(0x167)]&&this[_0x77589b(0x167)][_0x77589b(0x17d)]?this[_0x77589b(0x167)][_0x77589b(0x17d)]:[];let _0x491657=this[_0x77589b(0x1a2)]['sorters']?this[_0x77589b(0x1a2)]['sorters']:this[_0x77589b(0x167)]&&this['basicArgs'][_0x77589b(0x18a)]?this['basicArgs'][_0x77589b(0x18a)]:[],_0x1dfd25=this[_0x77589b(0x1a2)][_0x77589b(0x180)]?this['options']['filterFields']:this['options'][_0x77589b(0x164)]?.[_0x77589b(0x198)]&&this[_0x77589b(0x1a2)][_0x77589b(0x164)]?.[_0x77589b(0x198)][_0x77589b(0x190)]>0x0?this['options'][_0x77589b(0x164)][_0x77589b(0x198)]:[],_0x1446dc=this['options'][_0x77589b(0x165)];if(!_0x1dfd25||0x0==_0x1dfd25['length']){let _0x20d635;this[_0x77589b(0x1a2)][_0x77589b(0x188)]&&(_0x20d635=this[_0x77589b(0x1a2)]['codeField']),this['options']['nameField']&&(_0x20d635=this[_0x77589b(0x1a2)][_0x77589b(0x179)]),_0x20d635&&_0x1dfd25[_0x77589b(0x19e)]({'name':_0x20d635,'operator':'eq'});}let _0x379267=[...MetaApi['getGristGuttersConfig'](!0x0,!0x1)];if(_0x1446dc&&_0x1446dc[_0x77589b(0x190)]>0x0)for(let _0x3a848b=0x0;_0x3a848b<_0x1446dc[_0x77589b(0x190)];_0x3a848b++){let {type:_0x522d37=_0x77589b(0x192),name:_0x586bc6,hidden:_0x314dc1=!0x1,record:_0x12c4b6={'align':_0x77589b(0x1ad)},header:_0x2c8162,sortable:_0x4cb131=!0x1,width:_0x182433=0x87,options:_0x106554,select_opt:_0x592eda,object_opt:_0x4e2317}=_0x1446dc[_0x3a848b];if(_0x592eda&&(_0x106554=_0x592eda),_0x4e2317&&(_0x106554=_0x4e2317),[_0x77589b(0x1b9),_0x77589b(0x19d)][_0x77589b(0x1b2)](_0x522d37)?_0x522d37=_0x77589b(0x16f):[_0x77589b(0x19b)][_0x77589b(0x1b2)](_0x522d37)&&(_0x522d37=_0x77589b(0x194)),'id'==_0x586bc6)_0x379267[_0x77589b(0x19e)]({'type':_0x77589b(0x192),'name':_0x586bc6,'hidden':!0x0});else{let _0x289d5b=MetaApi[_0x77589b(0x184)](_0x522d37,_0x586bc6,_0x2c8162||_0x586bc6,_0x12c4b6['align']?_0x12c4b6['align']:_0x77589b(0x1ad),!0x1,_0x4cb131,_0x182433);_0x522d37['startsWith'](_0x77589b(0x16b))&&_0x4e2317&&_0x4e2317[_0x77589b(0x193)]&&(_0x106554=await MetaUiUtil[_0x77589b(0x18f)](_0x522d37,_0x106554)),_0x77589b(0x165)===_0x522d37?Array[_0x77589b(0x186)](_0x106554)?_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]=_0x106554:_0x77589b(0x16e)===_0x106554[_0x77589b(0x1af)]?_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]=await ServiceUtil[_0x77589b(0x18c)](_0x106554[_0x77589b(0x19a)]?_0x106554[_0x77589b(0x19a)]:_0x106554[_0x77589b(0x187)]):_0x77589b(0x1a4)===_0x106554['type']?_0x289d5b[_0x77589b(0x1b5)]['options']=await ServiceUtil[_0x77589b(0x1a9)](_0x106554[_0x77589b(0x187)],_0x106554[_0x77589b(0x16c)]):_0x77589b(0x162)===_0x106554[_0x77589b(0x1af)]&&(_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]=await ServiceUtil[_0x77589b(0x1b0)](_0x106554[_0x77589b(0x16c)])):'meta-object-selector'===_0x522d37?_0x289d5b[_0x77589b(0x1b5)][_0x77589b(0x1a2)]={..._0x106554}:_0x77589b(0x194)==_0x522d37&&(_0x106554[_0x77589b(0x1aa)]&&(_0x106554[_0x77589b(0x16d)]=await ServiceUtil[_0x77589b(0x1b0)](_0x106554)),_0x289d5b[_0x77589b(0x1b5)]['options']={..._0x106554}),_0x289d5b[_0x77589b(0x169)]=_0x314dc1,_0x379267[_0x77589b(0x19e)](_0x289d5b);}}else _0x379267[_0x77589b(0x19e)](MetaApi[_0x77589b(0x184)](_0x77589b(0x192),this[_0x77589b(0x1a2)]['codeField'],this[_0x77589b(0x1a2)]['codeField'],_0x77589b(0x1ad),!0x1,!0x0,0xb4)),this[_0x77589b(0x1a2)][_0x77589b(0x1aa)]&&_0x379267[_0x77589b(0x19e)](MetaApi['getGristColumnConfig2'](_0x77589b(0x192),this[_0x77589b(0x1a2)][_0x77589b(0x1aa)],this['options']['dispField'],_0x77589b(0x1ad),!0x1,!0x0,0x12c));_0x379267[_0x77589b(0x1a3)](_0x127080=>{const _0xd60713=_0x77589b;let _0x1f2095=_0x1dfd25[_0xd60713(0x181)](_0x2185a7=>_0xd60713(0x192)==typeof _0x2185a7?_0x127080[_0xd60713(0x187)]==_0x2185a7:_0x127080[_0xd60713(0x187)]==_0x2185a7[_0xd60713(0x187)]);_0x1f2095&&_0x1f2095['length']>0x0&&(_0x127080[_0xd60713(0x181)]=_0xd60713(0x192)==typeof _0x1f2095[0x0]?'search':_0x1f2095[0x0]);});let _0x34d2d5={'rows':MetaApi[_0x77589b(0x16a)](!0x1),'pagination':MetaApi['getGristPagination100Config'](),'columns':_0x379267,'sorters':[..._0x491657]};_0x34d2d5[_0x77589b(0x197)]['handlers']={'click':_0x77589b(0x19c),'dblclick':(_0x143142,_0x7a3ea6,_0x272fc0,_0x30e03f,_0x36eea5,_0x1c2336)=>{const _0x8b6264=_0x77589b;this[_0x8b6264(0x17a)](_0x30e03f);}},_0x34d2d5['rows'][_0x77589b(0x199)]=!0x1,this['gridConfig']=_0x34d2d5,await super[_0x77589b(0x183)]();}async[a0_0x165701(0x170)](){const _0x4af2f2=a0_0x165701;await super[_0x4af2f2(0x170)]();}[a0_0x165701(0x18d)](){const _0x68d2bd=a0_0x165701;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x68d2bd(0x171)]} .mode=${isMobileDevice()?_0x68d2bd(0x17b):_0x68d2bd(0x195)} auto-fetch
22
- .fetchHandler=${this[_0x68d2bd(0x175)][_0x68d2bd(0x185)](this)}>
20
+ `];async[a0_0x19477b(0x19d)](){const _0x1e1513=a0_0x19477b;this[_0x1e1513(0x175)]=this[_0x1e1513(0x17d)][_0x1e1513(0x162)]?this['options']['filters']:this[_0x1e1513(0x19b)]&&this[_0x1e1513(0x19b)][_0x1e1513(0x162)]?this['basicArgs']['filters']:[];let _0x446d33=this[_0x1e1513(0x17d)][_0x1e1513(0x1a0)]?this[_0x1e1513(0x17d)][_0x1e1513(0x1a0)]:this[_0x1e1513(0x19b)]&&this[_0x1e1513(0x19b)][_0x1e1513(0x1a0)]?this[_0x1e1513(0x19b)]['sorters']:[],_0x309dc8=this['options'][_0x1e1513(0x161)]?this[_0x1e1513(0x17d)][_0x1e1513(0x161)]:this[_0x1e1513(0x17d)][_0x1e1513(0x181)]?.[_0x1e1513(0x16a)]&&this[_0x1e1513(0x17d)][_0x1e1513(0x181)]?.['search'][_0x1e1513(0x19f)]>0x0?this[_0x1e1513(0x17d)][_0x1e1513(0x181)][_0x1e1513(0x16a)]:[],_0xc41dca=this[_0x1e1513(0x17d)][_0x1e1513(0x166)];if(!_0x309dc8||0x0==_0x309dc8['length']){let _0x542016;this['options'][_0x1e1513(0x18a)]&&(_0x542016=this['options']['codeField']),this[_0x1e1513(0x17d)][_0x1e1513(0x1ab)]&&(_0x542016=this['options'][_0x1e1513(0x1ab)]),_0x542016&&_0x309dc8[_0x1e1513(0x1b0)]({'name':_0x542016,'operator':'eq'});}let _0x33b80b=[...MetaApi[_0x1e1513(0x18b)](!0x0,!0x1)];if(_0xc41dca&&_0xc41dca['length']>0x0)for(let _0x547836=0x0;_0x547836<_0xc41dca[_0x1e1513(0x19f)];_0x547836++){let {type:_0x1cccf1=_0x1e1513(0x167),name:_0x560c73,hidden:_0x5aaa99=!0x1,record:_0x451782={'align':'left'},header:_0x32ac43,sortable:_0x58cd94=!0x1,width:_0x184e09=0x87,options:_0x4e67f9,select_opt:_0x1492be,object_opt:_0xe660d9}=_0xc41dca[_0x547836];if(_0x1492be&&(_0x4e67f9=_0x1492be),_0xe660d9&&(_0x4e67f9=_0xe660d9),[_0x1e1513(0x17a),'object'][_0x1e1513(0x176)](_0x1cccf1)?_0x1cccf1=_0x1e1513(0x178):[_0x1e1513(0x194)][_0x1e1513(0x176)](_0x1cccf1)&&(_0x1cccf1=_0x1e1513(0x17e)),'id'==_0x560c73)_0x33b80b[_0x1e1513(0x1b0)]({'type':_0x1e1513(0x167),'name':_0x560c73,'hidden':!0x0});else{let _0x27dd76=MetaApi[_0x1e1513(0x1a4)](_0x1cccf1,_0x560c73,_0x32ac43||_0x560c73,_0x451782[_0x1e1513(0x160)]?_0x451782[_0x1e1513(0x160)]:_0x1e1513(0x190),!0x1,_0x58cd94,_0x184e09);_0x1cccf1['startsWith'](_0x1e1513(0x1af))&&_0xe660d9&&_0xe660d9[_0x1e1513(0x19e)]&&(_0x4e67f9=await MetaUiUtil[_0x1e1513(0x17b)](_0x1cccf1,_0x4e67f9)),_0x1e1513(0x166)===_0x1cccf1?Array[_0x1e1513(0x1a2)](_0x4e67f9)?_0x27dd76[_0x1e1513(0x197)][_0x1e1513(0x17d)]=_0x4e67f9:_0x1e1513(0x173)===_0x4e67f9[_0x1e1513(0x18f)]?_0x27dd76[_0x1e1513(0x197)][_0x1e1513(0x17d)]=await ServiceUtil[_0x1e1513(0x177)](_0x4e67f9['values']?_0x4e67f9[_0x1e1513(0x195)]:_0x4e67f9[_0x1e1513(0x16e)]):_0x1e1513(0x17c)===_0x4e67f9[_0x1e1513(0x18f)]?_0x27dd76[_0x1e1513(0x197)][_0x1e1513(0x17d)]=await ServiceUtil[_0x1e1513(0x1a6)](_0x4e67f9[_0x1e1513(0x16e)],_0x4e67f9[_0x1e1513(0x187)]):'entity'===_0x4e67f9[_0x1e1513(0x18f)]&&(_0x27dd76[_0x1e1513(0x197)][_0x1e1513(0x17d)]=await ServiceUtil['getCodeByEntity'](_0x4e67f9['args'])):_0x1e1513(0x178)===_0x1cccf1?_0x27dd76[_0x1e1513(0x197)]['options']={..._0x4e67f9}:_0x1e1513(0x17e)==_0x1cccf1&&(_0x4e67f9[_0x1e1513(0x19c)]&&(_0x4e67f9['codes']=await ServiceUtil['getCodeByEntity'](_0x4e67f9)),_0x27dd76[_0x1e1513(0x197)]['options']={..._0x4e67f9}),_0x27dd76[_0x1e1513(0x16d)]=_0x5aaa99,_0x33b80b['push'](_0x27dd76);}}else _0x33b80b[_0x1e1513(0x1b0)](MetaApi[_0x1e1513(0x1a4)](_0x1e1513(0x167),this['options'][_0x1e1513(0x18a)],this['options'][_0x1e1513(0x18a)],_0x1e1513(0x190),!0x1,!0x0,0xb4)),this[_0x1e1513(0x17d)][_0x1e1513(0x19c)]&&_0x33b80b[_0x1e1513(0x1b0)](MetaApi['getGristColumnConfig2'](_0x1e1513(0x167),this[_0x1e1513(0x17d)]['dispField'],this[_0x1e1513(0x17d)]['dispField'],_0x1e1513(0x190),!0x1,!0x0,0x12c));_0x33b80b[_0x1e1513(0x168)](_0x5c1f79=>{const _0x53982d=_0x1e1513;let _0x3bce81=_0x309dc8['filter'](_0x443ef0=>_0x53982d(0x167)==typeof _0x443ef0?_0x5c1f79['name']==_0x443ef0:_0x5c1f79[_0x53982d(0x16e)]==_0x443ef0[_0x53982d(0x16e)]);_0x3bce81&&_0x3bce81['length']>0x0&&(_0x5c1f79[_0x53982d(0x193)]='string'==typeof _0x3bce81[0x0]?_0x53982d(0x16a):_0x3bce81[0x0]);});let _0x18a4ad={'rows':MetaApi[_0x1e1513(0x186)](!0x1),'pagination':MetaApi[_0x1e1513(0x164)](),'columns':_0x33b80b,'sorters':[..._0x446d33]};_0x18a4ad['rows'][_0x1e1513(0x1ac)]={'click':_0x1e1513(0x188),'dblclick':(_0x2907d8,_0x21c816,_0x2e58d9,_0x58c2be,_0x22ad56,_0x557e91)=>{this['selectRecord'](_0x58c2be);}},_0x18a4ad[_0x1e1513(0x1a8)]['appendable']=!0x1,this['gridConfig']=_0x18a4ad,await super[_0x1e1513(0x19d)]();}async[a0_0x19477b(0x15d)](){const _0x139cc1=a0_0x19477b;await super[_0x139cc1(0x15d)]();}[a0_0x19477b(0x1ad)](){const _0x444e6c=a0_0x19477b;return html`
21
+ <ox-grist id="ox-grist" .config=${this['gridConfig']} .mode=${isMobileDevice()?'LIST':_0x444e6c(0x170)} auto-fetch
22
+ .fetchHandler=${this[_0x444e6c(0x1a7)][_0x444e6c(0x171)](this)}>
23
23
  <div slot="headroom">
24
24
  <div id="filters">
25
25
  <ox-filters-form></ox-filters-form>
@@ -27,14 +27,14 @@ const a0_0x165701=a0_0x17bd;(function(_0x39d13a,_0x24e11e){const _0x1c3a9a=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil['tButton']('empty')}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x68d2bd(0x163)][_0x68d2bd(0x185)](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0x444e6c(0x174)](_0x444e6c(0x199))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x444e6c(0x198)][_0x444e6c(0x171)](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x68d2bd(0x177)](_0x68d2bd(0x1a8))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x68d2bd(0x1ae)]['bind'](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x444e6c(0x174)](_0x444e6c(0x1a3))}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this['clickCancel'][_0x444e6c(0x171)](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x68d2bd(0x177)](_0x68d2bd(0x165))}" style="margin-left:7px;margin-top:7px;"
36
+ <mwc-button raised label="${TermsUtil['tButton']('select')}" style="margin-left:7px;margin-top:7px;"
37
37
  @click=${this['clickSelect']['bind'](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get[a0_0x165701(0x174)](){const _0x362675=a0_0x165701;return this[_0x362675(0x176)]['querySelector'](_0x362675(0x17f));}async['fetchHandler']({page:_0x7204b9=0x0,limit:_0x28dc85=0x0,sorters:_0x3bdec8=[],filters:_0x5c61ff=[]}){const _0x4df266=a0_0x165701;let _0xecd6ab=[...this[_0x4df266(0x173)]];_0x5c61ff[_0x4df266(0x1a3)](_0x26c5cd=>{const _0x5a53d6=_0x4df266;let _0x5c113b=_0xecd6ab['filter'](_0x2d3399=>_0x26c5cd[_0x5a53d6(0x187)]==_0x2d3399[_0x5a53d6(0x187)]);_0x5c113b&&_0x5c113b[_0x5a53d6(0x190)]>0x0&&delete _0xecd6ab[_0x26c5cd[_0x5a53d6(0x187)]],_0xecd6ab[_0x5a53d6(0x19e)](_0x26c5cd);});let _0x1eddc4=ValueUtil['getParams'](this[_0x4df266(0x1a2)][_0x4df266(0x164)]&&this[_0x4df266(0x1a2)][_0x4df266(0x164)][_0x4df266(0x1a7)]||{},_0x4df266(0x182),_0x4df266(0x1b7)),_0x341438=Object[_0x4df266(0x19f)](_0x1eddc4||{}),_0x4b66e1=MetaApi[_0x4df266(0x168)](this[_0x4df266(0x171)][_0x4df266(0x191)]['filter'](_0x4d1972=>!_0x341438[_0x4df266(0x1b2)](_0x4d1972[_0x4df266(0x187)])));return await MetaApi[_0x4df266(0x17c)](this[_0x4df266(0x1a2)][_0x4df266(0x1a6)],_0xecd6ab,_0x3bdec8,_0x7204b9,_0x28dc85,_0x4b66e1);}async[a0_0x165701(0x163)](_0x121f1d){this['confirmCallback']&&this['confirmCallback'](null),closePopup(this);}async[a0_0x165701(0x1ae)](_0x5ca0df){closePopup(this);}async[a0_0x165701(0x18b)](_0x1d2852){const _0x5e799e=a0_0x165701;let _0xabdfd9=this[_0x5e799e(0x174)][_0x5e799e(0x1ab)];_0xabdfd9&&0x0!=_0xabdfd9['length']?this[_0x5e799e(0x17a)](_0xabdfd9[0x0]):MetaApi['showToast'](_0x5e799e(0x1b1),TermsUtil[_0x5e799e(0x18e)](_0x5e799e(0x1ac)));}async[a0_0x165701(0x17a)](_0x12535e){const _0x1fa037=a0_0x165701;this[_0x1fa037(0x189)]&&this[_0x1fa037(0x189)](_0x12535e),closePopup(this);}}customElements[a0_0x165701(0x178)](a0_0x165701(0x196),MetaObjectSelectorPopup);
40
+ `;}get[a0_0x19477b(0x18c)](){const _0x1b1782=a0_0x19477b;return this[_0x1b1782(0x185)][_0x1b1782(0x180)](_0x1b1782(0x179));}async[a0_0x19477b(0x1a7)]({page:_0x413149=0x0,limit:_0x30e0b2=0x0,sorters:_0x509b6b=[],filters:_0x64ffb3=[]}){const _0x23051d=a0_0x19477b;let _0x380cda=[...this[_0x23051d(0x175)]];_0x64ffb3[_0x23051d(0x168)](_0x55e368=>{const _0x1edeb7=_0x23051d;let _0x459434=_0x380cda[_0x1edeb7(0x193)](_0x272179=>_0x55e368[_0x1edeb7(0x16e)]==_0x272179[_0x1edeb7(0x16e)]);_0x459434&&_0x459434['length']>0x0&&delete _0x380cda[_0x55e368[_0x1edeb7(0x16e)]],_0x380cda[_0x1edeb7(0x1b0)](_0x55e368);});let _0x708a40=ValueUtil[_0x23051d(0x1ae)](this[_0x23051d(0x17d)]['menu_template']&&this['options'][_0x23051d(0x181)][_0x23051d(0x1b1)]||{},_0x23051d(0x184),_0x23051d(0x169)),_0xbacbbf=Object[_0x23051d(0x1b2)](_0x708a40||{}),_0x437763=MetaApi[_0x23051d(0x1a1)](this['gridConfig'][_0x23051d(0x1aa)][_0x23051d(0x193)](_0x5486ac=>!_0xbacbbf[_0x23051d(0x176)](_0x5486ac[_0x23051d(0x16e)])));return await MetaApi[_0x23051d(0x189)](this['options'][_0x23051d(0x183)],_0x380cda,_0x509b6b,_0x413149,_0x30e0b2,_0x437763);}async[a0_0x19477b(0x198)](_0x29ea56){const _0xd96fd3=a0_0x19477b;this[_0xd96fd3(0x16c)]&&this[_0xd96fd3(0x16c)](null),closePopup(this);}async[a0_0x19477b(0x196)](_0xcaab0a){closePopup(this);}async['clickSelect'](_0x1240e1){const _0x12ab75=a0_0x19477b;let _0x34fd5b=this[_0x12ab75(0x18c)][_0x12ab75(0x1a5)];_0x34fd5b&&0x0!=_0x34fd5b['length']?this[_0x12ab75(0x192)](_0x34fd5b[0x0]):MetaApi['showToast'](_0x12ab75(0x172),TermsUtil[_0x12ab75(0x18d)](_0x12ab75(0x182)));}async[a0_0x19477b(0x192)](_0x4ad984){const _0x232584=a0_0x19477b;this[_0x232584(0x16c)]&&this[_0x232584(0x16c)](_0x4ad984),closePopup(this);}}customElements[a0_0x19477b(0x17f)](a0_0x19477b(0x1b3),MetaObjectSelectorPopup);
@@ -1 +1 @@
1
- const a0_0x34925e=a0_0x2a39;(function(_0x257d6a,_0x148b04){const _0xf8205b=a0_0x2a39,_0x26a05e=_0x257d6a();while(!![]){try{const _0xe48830=parseInt(_0xf8205b(0x186))/0x1+parseInt(_0xf8205b(0x1b9))/0x2+-parseInt(_0xf8205b(0x1a8))/0x3+-parseInt(_0xf8205b(0x195))/0x4*(parseInt(_0xf8205b(0x18f))/0x5)+parseInt(_0xf8205b(0x190))/0x6*(parseInt(_0xf8205b(0x1ac))/0x7)+parseInt(_0xf8205b(0x191))/0x8+-parseInt(_0xf8205b(0x19d))/0x9;if(_0xe48830===_0x148b04)break;else _0x26a05e['push'](_0x26a05e['shift']());}catch(_0x42d326){_0x26a05e['push'](_0x26a05e['shift']());}}}(a0_0x3aff,0x412f9));function a0_0x2a39(_0x3b44fd,_0x4bcfb2){const _0x3aff12=a0_0x3aff();return a0_0x2a39=function(_0x2a39ed,_0x4a9600){_0x2a39ed=_0x2a39ed-0x17f;let _0xb01de0=_0x3aff12[_0x2a39ed];return _0xb01de0;},a0_0x2a39(_0x3b44fd,_0x4bcfb2);}import{MetaApi}from'./../utils/meta-api';function a0_0x3aff(){const _0x31745f=['form-field-change','runScenario','parent_id','3425544geUkZr','isPage','menuInfo','executeCallScenarioButtonClick','field-change','dataChangeEventHandler','body','etc','startsWith','errors','title_detail','73407SmDREC','fetch','openDynamicPopup','etcConfig','6797bKMgqM','name','result','isNotEmpty','lifecycle','parseBasicGridConfigs','tagName','getMenuMeta','getParams','properties','excuteOpenPopupButtonClick','fieldChangeHandlers','parseBasicFormConfigs','60130xVakRh','callScenario','parseBasicServiceConfigs','setParentId','data','toLowerCase','keys','addEventListener','dispatchEvent','meta-form-','grist','521323kZTjqh','is_detail','isElement','parseBasicTabConfigs','data-changed','forEach','after','isDetail','parseBasicButtonConfigs','5tAetWu','66LLaDMO','3200440kOMJlh','connectedCallback','is_popup','title','1160152vEcvPq','split','params','active','detail'];a0_0x3aff=function(){return _0x31745f;};return a0_0x3aff();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x4fa5d3=>class extends _0x4fa5d3{static get[a0_0x34925e(0x1b5)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x2da68e=>Boolean(_0x2da68e)},'is_popup':{'type':Boolean,'converter':_0x38b598=>Boolean(_0x38b598)},'is_activity':{'type':Boolean,'converter':_0x442efe=>Boolean(_0x442efe)},'is_readonly':{'type':Boolean,'converter':_0x1afe93=>Boolean(_0x1afe93)}};}get[a0_0x34925e(0x188)](){const _0x39ab8f=a0_0x34925e;return!0x0===this[_0x39ab8f(0x187)]||!0x0===this[_0x39ab8f(0x193)];}get[a0_0x34925e(0x18d)](){const _0x49b94f=a0_0x34925e;return!ValueUtil['isEmpty'](this[_0x49b94f(0x187)])&&this['is_detail'];}async[a0_0x34925e(0x1a2)](_0x3c8200){const _0x39d4ee=a0_0x34925e;let {after:_0x5de5bb,before:_0x4167fe,column:_0x4590ef,record:_0x5db46b,row:_0x5b87bf}=_0x3c8200[_0x39d4ee(0x199)],_0x289f3c=_0x4590ef[_0x39d4ee(0x1ad)];if(Object[_0x39d4ee(0x181)](this[_0x39d4ee(0x1b7)]||{})['includes'](_0x289f3c)){let _0x44971d,_0x2dc773=(await MetaApi[_0x39d4ee(0x1ba)](void 0x0,this[_0x39d4ee(0x1b7)][_0x289f3c],{'columnName':_0x289f3c,'column':_0x4590ef,'record':_0x5db46b,'after':_0x5de5bb,'before':_0x4167fe,'row':_0x5b87bf},!0x1))[_0x39d4ee(0x17f)][_0x39d4ee(0x19b)][_0x39d4ee(0x17f)][_0x39d4ee(0x1ae)];if(!_0x2dc773)return;_0x44971d=this[_0x39d4ee(0x185)]?this[_0x39d4ee(0x185)][_0x39d4ee(0x185)][_0x39d4ee(0x1a3)]:this,Object['keys'](_0x2dc773)[_0x39d4ee(0x18b)](_0x230bc2=>{const _0x56d393=_0x39d4ee;_0x44971d[_0x56d393(0x183)](new CustomEvent(_0x56d393(0x1a1),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x5db46b,'row':_0x5b87bf,'after':_0x2dc773[_0x230bc2],'before':_0x5db46b[_0x230bc2],'column':{'name':_0x230bc2}}}));});}this['dispatchEvent'](new CustomEvent(_0x39d4ee(0x18a),{'bubbles':!0x0,'composed':!0x0,'detail':_0x3c8200[_0x39d4ee(0x199)]}));}async['connectedCallback'](){const _0x7971cb=a0_0x34925e;super[_0x7971cb(0x192)]&&await super['connectedCallback'](),this[_0x7971cb(0x1b2)][_0x7971cb(0x180)]()[_0x7971cb(0x1a5)](_0x7971cb(0x184))?this[_0x7971cb(0x182)](_0x7971cb(0x19a),async _0x53e4cc=>{await this['dataChangeEventHandler'](_0x53e4cc);}):this[_0x7971cb(0x182)](_0x7971cb(0x1a1),async _0x180a22=>{const _0x1be6a9=_0x7971cb;await this[_0x1be6a9(0x1a2)](_0x180a22);});}async['pageUpdated'](_0x3f6d45,_0x1fc6f0,_0x26a09e){const _0x4308b3=a0_0x34925e;let _0x153e96=this['lifecycle']?.[_0x4308b3(0x197)]?this[_0x4308b3(0x1b0)]['params']:{};this[_0x4308b3(0x19e)]&&this[_0x4308b3(0x198)]&&0x0==_0x26a09e[_0x4308b3(0x198)]&&ValueUtil[_0x4308b3(0x1af)](_0x153e96)&&this[_0x4308b3(0x1a9)]();}get['isPopup'](){const _0xca4ccc=a0_0x34925e;return!ValueUtil['isEmpty'](this['is_popup'])&&this[_0xca4ccc(0x193)];}get[a0_0x34925e(0x19e)](){const _0x1c8ce6=a0_0x34925e;return!this[_0x1c8ce6(0x187)]&&!this[_0x1c8ce6(0x193)];}async['getAndParseMenuMeta'](){const _0x2091b1=a0_0x34925e;let _0x1054b6=await MetaApi[_0x2091b1(0x1b3)](this);_0x1054b6&&(this[_0x2091b1(0x19f)]=_0x1054b6['menu'],this[_0x2091b1(0x1ab)]=_0x1054b6[_0x2091b1(0x1a4)],this[_0x2091b1(0x1b1)]&&this['parseBasicGridConfigs'](_0x1054b6),this[_0x2091b1(0x1bb)]&&this[_0x2091b1(0x1bb)](_0x1054b6),this[_0x2091b1(0x1b8)]&&this['parseBasicFormConfigs'](_0x1054b6),this['parseBasicTabConfigs']&&this[_0x2091b1(0x189)](_0x1054b6),this['parseBasicButtonConfigs']&&this[_0x2091b1(0x18e)](_0x1054b6));}async[a0_0x34925e(0x1a9)](){const _0x36bb43=a0_0x34925e;ValueUtil[_0x36bb43(0x1af)](this[_0x36bb43(0x185)])?this[_0x36bb43(0x185)][_0x36bb43(0x1a9)]():(ValueUtil['isNotEmpty'](this['filterForm'])||this['fetchHandler'])&&await this['fetchHandler']();}async[a0_0x34925e(0x1b6)](_0x925aab,_0x34b141,_0x4f18fc){const _0x5e27c1=a0_0x34925e;let _0x4236db=TermsUtil['tTitle'](_0x925aab[_0x5e27c1(0x194)]);ValueUtil[_0x5e27c1(0x1af)](_0x925aab[_0x5e27c1(0x1a7)])&&(_0x4236db=_0x4236db+'-'+ValueUtil[_0x5e27c1(0x1b4)](_0x34b141,..._0x925aab[_0x5e27c1(0x1a7)][_0x5e27c1(0x196)]('.'))),MetaApi[_0x5e27c1(0x1aa)](_0x4236db,_0x925aab,_0x34b141,_0x4f18fc);}async[a0_0x34925e(0x1a0)](_0x36f433,_0x3b54db,_0x2d78cd){const _0x9cd06=a0_0x34925e;let _0x2ddfbe=await MetaApi[_0x9cd06(0x1ba)](_0x36f433[_0x9cd06(0x1ad)],_0x36f433['name'],_0x3b54db);!0x1!==_0x2ddfbe&&!_0x2ddfbe[_0x9cd06(0x1a6)]&&ValueUtil[_0x9cd06(0x1af)](_0x36f433[_0x9cd06(0x18c)])&&_0x2d78cd();}[a0_0x34925e(0x1bc)](_0x19958f){const _0xafe413=a0_0x34925e;this[_0xafe413(0x19c)]=_0x19958f,this[_0xafe413(0x1a9)]();}};
1
+ const a0_0x43f0b0=a0_0xd324;(function(_0x2017ff,_0x20f407){const _0xba411b=a0_0xd324,_0xa41d78=_0x2017ff();while(!![]){try{const _0x4954db=parseInt(_0xba411b(0xb8))/0x1*(parseInt(_0xba411b(0xb9))/0x2)+-parseInt(_0xba411b(0xe9))/0x3*(-parseInt(_0xba411b(0xc7))/0x4)+-parseInt(_0xba411b(0xcb))/0x5*(-parseInt(_0xba411b(0xe4))/0x6)+-parseInt(_0xba411b(0xe1))/0x7+-parseInt(_0xba411b(0xc1))/0x8+-parseInt(_0xba411b(0xbe))/0x9+parseInt(_0xba411b(0xad))/0xa;if(_0x4954db===_0x20f407)break;else _0xa41d78['push'](_0xa41d78['shift']());}catch(_0x8c5b72){_0xa41d78['push'](_0xa41d78['shift']());}}}(a0_0x58eb,0xf37e1));function a0_0xd324(_0x67578d,_0x53d16f){const _0x58eb28=a0_0x58eb();return a0_0xd324=function(_0xd3241a,_0x503972){_0xd3241a=_0xd3241a-0xac;let _0xe9ac63=_0x58eb28[_0xd3241a];return _0xe9ac63;},a0_0xd324(_0x67578d,_0x53d16f);}function a0_0x58eb(){const _0x531df0=['dataChangeEventHandler','split','toLowerCase','10294599aNlBBU','keys','connectedCallback','6540TmkEQE','name','setParentId','menu','is_detail','5931561gYnWsJ','meta-form-','data-changed','getAndParseMenuMeta','isEmpty','5266890CCWYVG','parent_id','fetchHandler','detail','params','body','executeCallScenarioButtonClick','parseBasicFormConfigs','isDetail','properties','grist','35927XYjtkS','36RFKzrR','isPage','isNotEmpty','runScenario','errors','6785280wgqvNa','after','getMenuMeta','10547120TFrPRT','parseBasicGridConfigs','tTitle','tagName','forEach','filterForm','4kDXCIs','data','title_detail','title','6375VPOSjE','includes','parseBasicButtonConfigs','pageUpdated','is_popup','parseBasicTabConfigs','field-change','parseBasicServiceConfigs','fetch','openDynamicPopup','fieldChangeHandlers','result','addEventListener','etcConfig','isElement','callScenario','etc','form-field-change','lifecycle'];a0_0x58eb=function(){return _0x531df0;};return a0_0x58eb();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x3687d2=>class extends _0x3687d2{static get[a0_0x43f0b0(0xb6)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x10bcd5=>Boolean(_0x10bcd5)},'is_popup':{'type':Boolean,'converter':_0x30b977=>Boolean(_0x30b977)},'is_activity':{'type':Boolean,'converter':_0x122621=>Boolean(_0x122621)},'is_readonly':{'type':Boolean,'converter':_0x2c11f2=>Boolean(_0x2c11f2)}};}get[a0_0x43f0b0(0xd9)](){const _0x363d55=a0_0x43f0b0;return!0x0===this['is_detail']||!0x0===this[_0x363d55(0xcf)];}get[a0_0x43f0b0(0xb5)](){const _0x3546a5=a0_0x43f0b0;return!ValueUtil[_0x3546a5(0xac)](this[_0x3546a5(0xe8)])&&this[_0x3546a5(0xe8)];}async[a0_0x43f0b0(0xde)](_0x36142a){const _0x2bfd02=a0_0x43f0b0;let {after:_0x43b5c2,before:_0x2ad71d,column:_0x76041f,record:_0x171b66,row:_0x55f504}=_0x36142a['detail'],_0x26faa5=_0x76041f['name'];if(Object['keys'](this[_0x2bfd02(0xd5)]||{})[_0x2bfd02(0xcc)](_0x26faa5)){let _0x3360bc,_0x4f2840=(await MetaApi[_0x2bfd02(0xda)](void 0x0,this[_0x2bfd02(0xd5)][_0x26faa5],{'columnName':_0x26faa5,'column':_0x76041f,'record':_0x171b66,'after':_0x43b5c2,'before':_0x2ad71d,'row':_0x55f504},!0x1))['data'][_0x2bfd02(0xbc)][_0x2bfd02(0xc8)][_0x2bfd02(0xd6)];if(!_0x4f2840)return;_0x3360bc=this['grist']?this['grist'][_0x2bfd02(0xb7)][_0x2bfd02(0xb2)]:this,Object[_0x2bfd02(0xe2)](_0x4f2840)[_0x2bfd02(0xc5)](_0x34bd96=>{const _0x553c18=_0x2bfd02;_0x3360bc['dispatchEvent'](new CustomEvent(_0x553c18(0xd1),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x171b66,'row':_0x55f504,'after':_0x4f2840[_0x34bd96],'before':_0x171b66[_0x34bd96],'column':{'name':_0x34bd96}}}));});}this['dispatchEvent'](new CustomEvent(_0x2bfd02(0xeb),{'bubbles':!0x0,'composed':!0x0,'detail':_0x36142a[_0x2bfd02(0xb0)]}));}async[a0_0x43f0b0(0xe3)](){const _0x541add=a0_0x43f0b0;super[_0x541add(0xe3)]&&await super[_0x541add(0xe3)](),this[_0x541add(0xc4)][_0x541add(0xe0)]()['startsWith'](_0x541add(0xea))?this[_0x541add(0xd7)](_0x541add(0xdc),async _0x301c98=>{await this['dataChangeEventHandler'](_0x301c98);}):this[_0x541add(0xd7)]('field-change',async _0x4a4322=>{const _0x82672c=_0x541add;await this[_0x82672c(0xde)](_0x4a4322);});}async[a0_0x43f0b0(0xce)](_0x15852f,_0x58819b,_0x1c3ecf){const _0x589fb7=a0_0x43f0b0;let _0x18204e=this['lifecycle']?.[_0x589fb7(0xb1)]?this[_0x589fb7(0xdd)]['params']:{};this[_0x589fb7(0xba)]&&this['active']&&0x0==_0x1c3ecf['active']&&ValueUtil[_0x589fb7(0xbb)](_0x18204e)&&this[_0x589fb7(0xd3)]();}get['isPopup'](){const _0x12869e=a0_0x43f0b0;return!ValueUtil[_0x12869e(0xac)](this[_0x12869e(0xcf)])&&this['is_popup'];}get[a0_0x43f0b0(0xba)](){const _0x2156f4=a0_0x43f0b0;return!this['is_detail']&&!this[_0x2156f4(0xcf)];}async[a0_0x43f0b0(0xec)](){const _0xee38f=a0_0x43f0b0;let _0x249492=await MetaApi[_0xee38f(0xc0)](this);_0x249492&&(this['menuInfo']=_0x249492[_0xee38f(0xe7)],this[_0xee38f(0xd8)]=_0x249492[_0xee38f(0xdb)],this['parseBasicGridConfigs']&&this[_0xee38f(0xc2)](_0x249492),this[_0xee38f(0xd2)]&&this[_0xee38f(0xd2)](_0x249492),this[_0xee38f(0xb4)]&&this[_0xee38f(0xb4)](_0x249492),this[_0xee38f(0xd0)]&&this[_0xee38f(0xd0)](_0x249492),this[_0xee38f(0xcd)]&&this[_0xee38f(0xcd)](_0x249492));}async['fetch'](){const _0x4c0c1b=a0_0x43f0b0;ValueUtil[_0x4c0c1b(0xbb)](this[_0x4c0c1b(0xb7)])?this['grist'][_0x4c0c1b(0xd3)]():(ValueUtil[_0x4c0c1b(0xbb)](this[_0x4c0c1b(0xc6)])||this['fetchHandler'])&&await this[_0x4c0c1b(0xaf)]();}async['excuteOpenPopupButtonClick'](_0x4eb542,_0x1caddb,_0x2460d6){const _0x1bb69e=a0_0x43f0b0;let _0x18284f=TermsUtil[_0x1bb69e(0xc3)](_0x4eb542[_0x1bb69e(0xca)]);ValueUtil[_0x1bb69e(0xbb)](_0x4eb542[_0x1bb69e(0xc9)])&&(_0x18284f=_0x18284f+'-'+ValueUtil['getParams'](_0x1caddb,..._0x4eb542[_0x1bb69e(0xc9)][_0x1bb69e(0xdf)]('.'))),MetaApi[_0x1bb69e(0xd4)](_0x18284f,_0x4eb542,_0x1caddb,_0x2460d6);}async[a0_0x43f0b0(0xb3)](_0xcd81c7,_0x4807d6,_0x25df30){const _0xc49962=a0_0x43f0b0;let _0xbba2c8=await MetaApi[_0xc49962(0xda)](_0xcd81c7[_0xc49962(0xe5)],_0xcd81c7[_0xc49962(0xe5)],_0x4807d6);!0x1!==_0xbba2c8&&!_0xbba2c8[_0xc49962(0xbd)]&&ValueUtil[_0xc49962(0xbb)](_0xcd81c7[_0xc49962(0xbf)])&&_0x25df30();}[a0_0x43f0b0(0xe6)](_0x5f35cf){const _0x3c1a4c=a0_0x43f0b0;this[_0x3c1a4c(0xae)]=_0x5f35cf,this['fetch']();}};
@@ -1,4 +1,4 @@
1
- function a0_0x4fd4(_0x498ac4,_0x5cf351){const _0x5d2d08=a0_0x5d2d();return a0_0x4fd4=function(_0x4fd439,_0x35e06b){_0x4fd439=_0x4fd439-0x1ad;let _0x286a34=_0x5d2d08[_0x4fd439];return _0x286a34;},a0_0x4fd4(_0x498ac4,_0x5cf351);}function a0_0x5d2d(){const _0x140afb=['context','search','records','gristId','startsWith','getData','pageInitialized','grist','parseGristConfigs','5544407KEFGmN','activityDataSet','isElement','findOne','stringify','ox-grist','getContextObject','getButtonContainer','gristConfigSet','import','10379xUMcaT','render','isPage','getBasicGristHtml','2024904GkqQDK','parseGridConfigSet','16VPAYWu','patchesForUpdateMultiple','dataSet','getBasicGristStyles','styles','keys','getSelectedIdList','properties','filterFormId','connectedCallback','grid','___data','376fBEMhK','querySelector','updateMultiple','data','301455ZGaSGi','14499IZgvNL','gridConfig','isNotEmpty','3388004qAOlMS','forEach','firstUpdated','2365899yidkhL','54qmFNQE','menuInfo','fetch','parseBasicGridConfigs','parse','10sAvhvv','title','exportableData','shadowRoot'];a0_0x5d2d=function(){return _0x140afb;};return a0_0x5d2d();}const a0_0x3a0ab0=a0_0x4fd4;(function(_0x301c7d,_0x40b890){const _0x45545a=a0_0x4fd4,_0x1d72e6=_0x301c7d();while(!![]){try{const _0x476501=parseInt(_0x45545a(0x1d5))/0x1*(parseInt(_0x45545a(0x1db))/0x2)+-parseInt(_0x45545a(0x1b8))/0x3+parseInt(_0x45545a(0x1b5))/0x4+parseInt(_0x45545a(0x1b1))/0x5*(-parseInt(_0x45545a(0x1b9))/0x6)+parseInt(_0x45545a(0x1d9))/0x7+parseInt(_0x45545a(0x1ad))/0x8*(parseInt(_0x45545a(0x1b2))/0x9)+parseInt(_0x45545a(0x1be))/0xa*(parseInt(_0x45545a(0x1cb))/0xb);if(_0x476501===_0x40b890)break;else _0x1d72e6['push'](_0x1d72e6['shift']());}catch(_0x229423){_0x1d72e6['push'](_0x1d72e6['shift']());}}}(a0_0x5d2d,0x7235f));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';export const MetaBasicGristMixin=_0x5c9f49=>class extends MetaButtonMixin(_0x5c9f49){static get[a0_0x3a0ab0(0x1df)](){const _0x1227c2=a0_0x3a0ab0;return MetaApi[_0x1227c2(0x1de)]();}static get[a0_0x3a0ab0(0x1e2)](){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 _0x1365db=a0_0x3a0ab0;return this['renderRoot']?.[_0x1365db(0x1ae)](this[_0x1365db(0x1c5)]);}get['filterForm'](){const _0x259d5d=a0_0x3a0ab0;return this[_0x259d5d(0x1c1)]?.[_0x259d5d(0x1ae)](this['filterFormId']);}get[a0_0x3a0ab0(0x1c2)](){const _0x11382a=a0_0x3a0ab0;return MetaUiUtil[_0x11382a(0x1d1)](this);}async['connectedCallback'](){const _0x5f92ee=a0_0x3a0ab0;this[_0x5f92ee(0x1c5)]=_0x5f92ee(0x1d0),this[_0x5f92ee(0x1e3)]='ox-filters-form',await this['getAndParseMenuMeta'](),this[_0x5f92ee(0x1cd)]&&await this['parseGristConfigs'](),this[_0x5f92ee(0x1cc)]&&(this[_0x5f92ee(0x1dd)]=this[_0x5f92ee(0x1cc)]),super[_0x5f92ee(0x1e4)]&&await super[_0x5f92ee(0x1e4)]();}async[a0_0x3a0ab0(0x1b7)](){const _0x1addf4=a0_0x3a0ab0;super[_0x1addf4(0x1b7)]&&await super[_0x1addf4(0x1b7)]();}async[a0_0x3a0ab0(0x1c8)](){const _0x220f7b=a0_0x3a0ab0;this[_0x220f7b(0x1d7)]&&await this['parseGristConfigs'](),super[_0x220f7b(0x1c8)]&&await super[_0x220f7b(0x1c8)]();}[a0_0x3a0ab0(0x1d6)](){const _0x5f5dfb=a0_0x3a0ab0;return html`
2
- ${MetaApi[_0x5f5dfb(0x1d8)](this)}
3
- ${this[_0x5f5dfb(0x1d7)]?html``:MetaUiUtil[_0x5f5dfb(0x1d2)](this)}
4
- `;}[a0_0x3a0ab0(0x1bc)](_0x4d3aa0){const _0x59c9ce=a0_0x3a0ab0;this[_0x59c9ce(0x1b3)]=_0x4d3aa0[_0x59c9ce(0x1e5)],this['gridColumnConfig']=_0x4d3aa0['grid_column'],this['searchConfig']=_0x4d3aa0[_0x59c9ce(0x1c3)];}async[a0_0x3a0ab0(0x1ca)](){const _0x151596=a0_0x3a0ab0;this[_0x151596(0x1d3)]=await MetaApi[_0x151596(0x1da)](this);}async[a0_0x3a0ab0(0x1bb)](){const _0x892a62=a0_0x3a0ab0;await this[_0x892a62(0x1c9)]['fetch']();}async['save'](){const _0x341b4e=a0_0x3a0ab0;let _0xc1472c=MetaApi[_0x341b4e(0x1dc)](this[_0x341b4e(0x1c9)]);!!ValueUtil[_0x341b4e(0x1b4)](_0xc1472c)&&await this[_0x341b4e(0x1af)](_0xc1472c)&&this['fetch']();}async['find'](){const _0x19d113=a0_0x3a0ab0;let _0x1d21ce=MetaApi[_0x19d113(0x1e1)](this['grist'],!0x0);return ValueUtil[_0x19d113(0x1b4)](_0x1d21ce)?await this[_0x19d113(0x1ce)](_0x1d21ce[0x0]):{};}async['delete'](){const _0xb175d6=a0_0x3a0ab0;let _0x2e7dc6=MetaApi[_0xb175d6(0x1e1)](this[_0xb175d6(0x1c9)],!0x0);!!ValueUtil['isNotEmpty'](_0x2e7dc6)&&await this['deleteByIds'](_0x2e7dc6)&&this[_0xb175d6(0x1bb)]();}async['export'](){const _0x1dad86=a0_0x3a0ab0;let _0x70da89=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x1dad86(0x1ba)],_0x1dad86(0x1bf)));return await MetaApi[_0x1dad86(0x1c0)](this[_0x1dad86(0x1cd)],_0x70da89,this[_0x1dad86(0x1c9)]);}async[a0_0x3a0ab0(0x1d4)](){}async['clear'](){const _0xf32806=a0_0x3a0ab0;this[_0xf32806(0x1c9)]&&(this['grist'][_0xf32806(0x1b0)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x3a0ab0(0x1c7)](){const _0x4566b1=a0_0x3a0ab0;let _0x319527=this[_0x4566b1(0x1c9)][_0x4566b1(0x1e6)][_0x4566b1(0x1c4)];return _0x319527=JSON[_0x4566b1(0x1bd)](JSON[_0x4566b1(0x1cf)](_0x319527)),_0x319527['forEach'](_0x1b2931=>{const _0x3df623=_0x4566b1;Object[_0x3df623(0x1e0)](_0x1b2931)[_0x3df623(0x1b6)](_0x14148b=>{const _0x273565=_0x3df623;_0x14148b[_0x273565(0x1c6)]('__')&&delete _0x1b2931[_0x14148b];});}),_0x319527;}};
1
+ const a0_0x39fe47=a0_0x34a7;(function(_0x5ead3c,_0x222179){const _0x2f81de=a0_0x34a7,_0x7c2248=_0x5ead3c();while(!![]){try{const _0x4734ef=-parseInt(_0x2f81de(0xa9))/0x1*(-parseInt(_0x2f81de(0xb8))/0x2)+parseInt(_0x2f81de(0x9e))/0x3+parseInt(_0x2f81de(0xd0))/0x4+parseInt(_0x2f81de(0x9b))/0x5*(parseInt(_0x2f81de(0xba))/0x6)+parseInt(_0x2f81de(0xcf))/0x7*(parseInt(_0x2f81de(0xc3))/0x8)+-parseInt(_0x2f81de(0xad))/0x9*(parseInt(_0x2f81de(0x9c))/0xa)+-parseInt(_0x2f81de(0xa8))/0xb;if(_0x4734ef===_0x222179)break;else _0x7c2248['push'](_0x7c2248['shift']());}catch(_0x1cb595){_0x7c2248['push'](_0x7c2248['shift']());}}}(a0_0x4339,0x9ccb5));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x34a7(_0x97a287,_0x4dc77e){const _0x43392a=a0_0x4339();return a0_0x34a7=function(_0x34a74f,_0x268f93){_0x34a74f=_0x34a74f-0x98;let _0x3dc3e7=_0x43392a[_0x34a74f];return _0x3dc3e7;},a0_0x34a7(_0x97a287,_0x4dc77e);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x4339(){const _0x54a6d4=['36756929EjUBBJ','513808FflqBC','renderRoot','exportableData','grist','4199418zgLztc','patchesForUpdateMultiple','title','searchConfig','getAndParseMenuMeta','tTitle','deleteByIds','isNotEmpty','records','keys','gristId','4iWfTZp','gridEmphasized','138mHIuva','querySelector','pageInitialized','gridConfig','parseGristConfigs','shadowRoot','grid_column','parseBasicGridConfigs','getParams','32guPIub','getData','activityDataSet','updateMultiple','styles','filterFormId','fetch','parse','menuInfo','isElement','data','getBasicGristHtml','1225966aMOuQM','4428516ZdGTyN','export','isPage','connectedCallback','context','filterForm','parseGridConfigSet','startsWith','firstUpdated','render','properties','forEach','gridColumnConfig','ox-grist','248350NecFIt','10zyuiAM','search','1417989CPBNjh','grid','dataSet','find','ox-filters-form','clear','delete','___data','getBasicGristStyles','findOne'];a0_0x4339=function(){return _0x54a6d4;};return a0_0x4339();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x2bf422=>class extends MetaButtonMixin(_0x2bf422){static get[a0_0x39fe47(0xc7)](){const _0x3c68de=a0_0x39fe47;return MetaApi[_0x3c68de(0xa6)]();}static get[a0_0x39fe47(0xda)](){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 _0x5b47ce=a0_0x39fe47;return this[_0x5b47ce(0xaa)]?.[_0x5b47ce(0xbb)](this[_0x5b47ce(0xb7)]);}get[a0_0x39fe47(0xd5)](){const _0x17ae66=a0_0x39fe47;return this[_0x17ae66(0xbf)]?.[_0x17ae66(0xbb)](this[_0x17ae66(0xc8)]);}get[a0_0x39fe47(0xd4)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x2613e9=a0_0x39fe47;this[_0x2613e9(0xb7)]=_0x2613e9(0x9a),this[_0x2613e9(0xc8)]=_0x2613e9(0xa2),await this[_0x2613e9(0xb1)](),this[_0x2613e9(0xcc)]&&await this[_0x2613e9(0xbe)](),this[_0x2613e9(0xc5)]&&(this[_0x2613e9(0xa0)]=this['activityDataSet']),super[_0x2613e9(0xd3)]&&await super['connectedCallback']();}async[a0_0x39fe47(0xd8)](){const _0x2fd0c5=a0_0x39fe47;super[_0x2fd0c5(0xd8)]&&await super['firstUpdated']();}async[a0_0x39fe47(0xbc)](){const _0x1697d3=a0_0x39fe47;this[_0x1697d3(0xd2)]&&await this[_0x1697d3(0xbe)](),super[_0x1697d3(0xbc)]&&await super['pageInitialized']();}[a0_0x39fe47(0xd9)](){const _0x55cbbe=a0_0x39fe47;return html`
2
+ ${MetaApi[_0x55cbbe(0xce)](this)}
3
+ ${this[_0x55cbbe(0xd2)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
+ `;}[a0_0x39fe47(0xc1)](_0x23185f){const _0x1508c5=a0_0x39fe47;this[_0x1508c5(0xbd)]=_0x23185f[_0x1508c5(0x9f)],this[_0x1508c5(0x99)]=_0x23185f[_0x1508c5(0xc0)],this[_0x1508c5(0xb0)]=_0x23185f[_0x1508c5(0x9d)],this[_0x1508c5(0xb9)]=_0x23185f[_0x1508c5(0xb9)];}async['parseGristConfigs'](){const _0x4b61b3=a0_0x39fe47;this['gristConfigSet']=await MetaApi[_0x4b61b3(0xd6)](this);}async['fetch'](){const _0x497492=a0_0x39fe47;await this[_0x497492(0xac)][_0x497492(0xc9)]();}async['save'](){const _0x14b8c6=a0_0x39fe47;let _0x2c84be=MetaApi[_0x14b8c6(0xae)](this[_0x14b8c6(0xac)]);!!ValueUtil[_0x14b8c6(0xb4)](_0x2c84be)&&await this[_0x14b8c6(0xc6)](_0x2c84be)&&this[_0x14b8c6(0xc9)]();}async[a0_0x39fe47(0xa1)](){const _0x1aba43=a0_0x39fe47;let _0x1baa7b=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil[_0x1aba43(0xb4)](_0x1baa7b)?await this[_0x1aba43(0xa7)](_0x1baa7b[0x0]):{};}async[a0_0x39fe47(0xa4)](){const _0x3b3afc=a0_0x39fe47;let _0x242283=MetaApi['getSelectedIdList'](this[_0x3b3afc(0xac)],!0x0);!!ValueUtil[_0x3b3afc(0xb4)](_0x242283)&&await this[_0x3b3afc(0xb3)](_0x242283)&&this[_0x3b3afc(0xc9)]();}async[a0_0x39fe47(0xd1)](){const _0x32585e=a0_0x39fe47;let _0x28aed6=TermsUtil[_0x32585e(0xb2)](ValueUtil[_0x32585e(0xc2)](this[_0x32585e(0xcb)],_0x32585e(0xaf)));return await MetaApi[_0x32585e(0xab)](this[_0x32585e(0xcc)],_0x28aed6,this[_0x32585e(0xac)]);}async['import'](){}async[a0_0x39fe47(0xa3)](){const _0x4979d8=a0_0x39fe47;this['grist']&&(this['grist'][_0x4979d8(0xcd)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x39fe47(0xc4)](){const _0x360216=a0_0x39fe47;let _0x5282cb=this[_0x360216(0xac)][_0x360216(0xa5)][_0x360216(0xb5)];return _0x5282cb=JSON[_0x360216(0xca)](JSON['stringify'](_0x5282cb)),_0x5282cb[_0x360216(0x98)](_0x2c82e7=>{const _0x694ad=_0x360216;Object[_0x694ad(0xb6)](_0x2c82e7)['forEach'](_0x1e61d7=>{const _0x24b16b=_0x694ad;_0x1e61d7[_0x24b16b(0xd7)]('__')&&delete _0x2c82e7[_0x1e61d7];});}),_0x5282cb;}};
@@ -1 +1 @@
1
- const a0_0xd53aa7=a0_0x166d;(function(_0x1de3e9,_0x4f350b){const _0x18f583=a0_0x166d,_0x31a408=_0x1de3e9();while(!![]){try{const _0x5bc660=-parseInt(_0x18f583(0xe5))/0x1*(-parseInt(_0x18f583(0xdf))/0x2)+parseInt(_0x18f583(0xf4))/0x3*(parseInt(_0x18f583(0xd9))/0x4)+-parseInt(_0x18f583(0xe3))/0x5*(-parseInt(_0x18f583(0xdb))/0x6)+parseInt(_0x18f583(0xdc))/0x7*(parseInt(_0x18f583(0xe1))/0x8)+parseInt(_0x18f583(0xf1))/0x9+-parseInt(_0x18f583(0xde))/0xa+-parseInt(_0x18f583(0xd8))/0xb;if(_0x5bc660===_0x4f350b)break;else _0x31a408['push'](_0x31a408['shift']());}catch(_0x2cf44e){_0x31a408['push'](_0x31a408['shift']());}}}(a0_0x2e52,0xdec46));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x4f2c59=>class extends MetaServiceMixin(_0x4f2c59){static get[a0_0xd53aa7(0xf2)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0xd53aa7(0xea)](){return MetaUiUtil['getCustomButtonContainerStyles']();}[a0_0xd53aa7(0xdd)](){return MetaUiUtil['getContextButtons'](this);}['getButtonContainer'](){const _0x31f6e3=a0_0xd53aa7;return this[_0x31f6e3(0xe0)]?html``:MetaUiUtil[_0x31f6e3(0xed)](this);}async[a0_0xd53aa7(0xe8)](_0x54916f,_0x46abf9,_0x32ba40){const _0x5a860e=a0_0xd53aa7;return await MetaUiUtil[_0x5a860e(0xe6)](this,_0x54916f,_0x46abf9,_0x32ba40);}async[a0_0xd53aa7(0xda)](_0x4bc421){const _0x8fe640=a0_0xd53aa7;await MetaUiUtil[_0x8fe640(0xda)](this,_0x4bc421);}async[a0_0xd53aa7(0xe4)](_0x1eae5b,_0x1e1324){await MetaUiUtil['gristButtonHandler'](this,_0x1eae5b,_0x1e1324);}[a0_0xd53aa7(0xe2)](_0x4c354e){const _0x1b500b=a0_0xd53aa7;this[_0x1b500b(0xec)]=_0x4c354e[_0x1b500b(0xef)],this['useButtonImport']=MetaUiUtil[_0x1b500b(0xee)](this['buttonConfig'],_0x1b500b(0xf0)),this[_0x1b500b(0xe9)]=MetaUiUtil[_0x1b500b(0xee)](this[_0x1b500b(0xec)],_0x1b500b(0xf3)),this[_0x1b500b(0xeb)]=MetaUiUtil[_0x1b500b(0xee)](this[_0x1b500b(0xec)],_0x1b500b(0xe7));}};function a0_0x166d(_0xd15eac,_0x57c7b7){const _0x2e523c=a0_0x2e52();return a0_0x166d=function(_0x166d52,_0x3b580b){_0x166d52=_0x166d52-0xd8;let _0x57e1d8=_0x2e523c[_0x166d52];return _0x57e1d8;},a0_0x166d(_0xd15eac,_0x57c7b7);}function a0_0x2e52(){const _0x3c4c0e=['export','244386TUkCXA','16177249XJMvVi','52zNDlRn','customButtonHandler','193884XxxCmd','895139DxYwRt','getContextButtons','3337610DVXdlN','74cIfjnN','isPage','24zVdtie','parseBasicButtonConfigs','5DHotea','gristButtonHandler','30174rishzE','getButtonActionHandler','add','getBasicButtonHandler','useButtonExport','getCustomButtonContainerStyle','useButtonAdd','buttonConfig','getButtonContainer','isButtonExist','button','import','1129365MHKzJi','properties'];a0_0x2e52=function(){return _0x3c4c0e;};return a0_0x2e52();}
1
+ function a0_0x5164(){const _0x415844=['customButtonHandler','useButtonImport','buttonConfig','409932WixlIz','export','getBasicButtonHandler','714445GkTWeR','getContextButtons','3430944pmRRQM','useButtonExport','3fOpPpp','isButtonExist','getButtonContainer','9CssyxE','273046BFZJWx','4494610HCWOYP','getCustomButtonContainerStyles','9102980haCoZM','gristButtonHandler','4cNPJvR','isPage','properties','4966549rVAGoR','useButtonAdd','button','parseBasicButtonConfigs','import','getCustomButtonContainerStyle'];a0_0x5164=function(){return _0x415844;};return a0_0x5164();}const a0_0x5cb7df=a0_0x211d;(function(_0x6674d4,_0x19bc5e){const _0x4f13c3=a0_0x211d,_0x515e0c=_0x6674d4();while(!![]){try{const _0x1d1119=parseInt(_0x4f13c3(0xaf))/0x1+parseInt(_0x4f13c3(0xb7))/0x2*(parseInt(_0x4f13c3(0xb3))/0x3)+-parseInt(_0x4f13c3(0xbc))/0x4*(parseInt(_0x4f13c3(0xb8))/0x5)+-parseInt(_0x4f13c3(0xac))/0x6+-parseInt(_0x4f13c3(0xa3))/0x7+parseInt(_0x4f13c3(0xb1))/0x8+-parseInt(_0x4f13c3(0xb6))/0x9*(-parseInt(_0x4f13c3(0xba))/0xa);if(_0x1d1119===_0x19bc5e)break;else _0x515e0c['push'](_0x515e0c['shift']());}catch(_0x4fc43f){_0x515e0c['push'](_0x515e0c['shift']());}}}(a0_0x5164,0x7d567));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x211d(_0x1523f3,_0x1c1093){const _0x51649b=a0_0x5164();return a0_0x211d=function(_0x211dab,_0x22bd5c){_0x211dab=_0x211dab-0xa2;let _0xeec65e=_0x51649b[_0x211dab];return _0xeec65e;},a0_0x211d(_0x1523f3,_0x1c1093);}export const MetaButtonMixin=_0x268c45=>class extends MetaServiceMixin(_0x268c45){static get[a0_0x5cb7df(0xa2)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x5cb7df(0xa8)](){const _0x53b42d=a0_0x5cb7df;return MetaUiUtil[_0x53b42d(0xb9)]();}[a0_0x5cb7df(0xb0)](){const _0x30b085=a0_0x5cb7df;return MetaUiUtil[_0x30b085(0xb0)](this);}[a0_0x5cb7df(0xb5)](){const _0x2e2f4a=a0_0x5cb7df;return this[_0x2e2f4a(0xbd)]?html``:MetaUiUtil[_0x2e2f4a(0xb5)](this);}async[a0_0x5cb7df(0xae)](_0x5e8477,_0x44c18f,_0x50a0f3){return await MetaUiUtil['getButtonActionHandler'](this,_0x5e8477,_0x44c18f,_0x50a0f3);}async['customButtonHandler'](_0x3c600a){const _0x91203a=a0_0x5cb7df;await MetaUiUtil[_0x91203a(0xa9)](this,_0x3c600a);}async[a0_0x5cb7df(0xbb)](_0x347d8f,_0x273ce1){const _0xfc3c56=a0_0x5cb7df;await MetaUiUtil[_0xfc3c56(0xbb)](this,_0x347d8f,_0x273ce1);}[a0_0x5cb7df(0xa6)](_0x4d43f4){const _0x5b1dce=a0_0x5cb7df;this['buttonConfig']=_0x4d43f4[_0x5b1dce(0xa5)],this[_0x5b1dce(0xaa)]=MetaUiUtil[_0x5b1dce(0xb4)](this[_0x5b1dce(0xab)],_0x5b1dce(0xa7)),this[_0x5b1dce(0xb2)]=MetaUiUtil[_0x5b1dce(0xb4)](this[_0x5b1dce(0xab)],_0x5b1dce(0xad)),this[_0x5b1dce(0xa4)]=MetaUiUtil[_0x5b1dce(0xb4)](this[_0x5b1dce(0xab)],'add');}};
@@ -1 +1 @@
1
- const a0_0x3baaa6=a0_0x6d77;(function(_0x21539,_0x24b5f7){const _0x3975e7=a0_0x6d77,_0x12e469=_0x21539();while(!![]){try{const _0x1a2c7c=parseInt(_0x3975e7(0x12d))/0x1*(-parseInt(_0x3975e7(0x10a))/0x2)+parseInt(_0x3975e7(0x10d))/0x3+parseInt(_0x3975e7(0x12b))/0x4+-parseInt(_0x3975e7(0xff))/0x5+-parseInt(_0x3975e7(0x128))/0x6*(-parseInt(_0x3975e7(0x11e))/0x7)+-parseInt(_0x3975e7(0x139))/0x8*(parseInt(_0x3975e7(0x14d))/0x9)+-parseInt(_0x3975e7(0x114))/0xa;if(_0x1a2c7c===_0x24b5f7)break;else _0x12e469['push'](_0x12e469['shift']());}catch(_0x377710){_0x12e469['push'](_0x12e469['shift']());}}}(a0_0x3b2e,0x1e986));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3b2e(){const _0x4b254e=['Escape','getAndParseMenuMeta','key','is_activity','isNotEmpty','map','keys','6195ISZZTP','dirtyData','isEquals','activityDataSet','parseBasicFormConfigs','assign','field-change','formConfigSet','object','removeAttribute','1086pYMKOY','after','pageInitialized','702956VzujrC','form','5127RxnGDi','__seq__','__dirty__','button','isPage','orgData','tagName','Esc','removeGarbageData','parseFormConfigSet','parseFormConfigs','__dirtyfields__','8LQKnue','editing','setAttribute','addEventListener','name','getData','properties','clear','styles','keydown','getContextObject','form-field-change','text.NOTHING_CHANGED','isEmpty','detail','validation','forEach','getBasicFormHtml','currentTarget','dataSet','344691EjxDFI','firstUpdated','function','Enter','911045fSvyVR','updateMultiple','parent_id','click','getBasicFormStyles','dispatchEvent','startsWith','entries','cuFlag','target','save','18BCWhpu','connectedCallback','true','714639eGqvmX','__origin__','OX-GRID-FIELD','patchData','findOne','currentData','record','1821680Ovrbux','fetch','focus'];a0_0x3b2e=function(){return _0x4b254e;};return a0_0x3b2e();}import{ValueUtil}from'../utils/value-util';function a0_0x6d77(_0x59f6a4,_0x4b34ee){const _0x3b2e59=a0_0x3b2e();return a0_0x6d77=function(_0x6d77d,_0x5db21d){_0x6d77d=_0x6d77d-0xff;let _0x5ca829=_0x3b2e59[_0x6d77d];return _0x5ca829;},a0_0x6d77(_0x59f6a4,_0x4b34ee);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x286fb2=>class extends MetaButtonMixin(_0x286fb2){static get[a0_0x3baaa6(0x141)](){const _0x24ae3e=a0_0x3baaa6;return MetaApi[_0x24ae3e(0x103)]();}static get[a0_0x3baaa6(0x13f)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x1f5ad0=a0_0x3baaa6;return MetaUiUtil[_0x1f5ad0(0x143)](this);}async[a0_0x3baaa6(0x10b)](){const _0x294e4c=a0_0x3baaa6;await this[_0x294e4c(0x118)](),this['isElement']&&await this[_0x294e4c(0x137)](),this[_0x294e4c(0x121)]&&(this[_0x294e4c(0x14c)]=this[_0x294e4c(0x121)]),!0x0!==this[_0x294e4c(0x11a)]||this['parent_id']||(this[_0x294e4c(0x101)]='activity'),super[_0x294e4c(0x10b)]&&await super[_0x294e4c(0x10b)](),this['isElement']&&await this[_0x294e4c(0x115)](),this['renderRoot'][_0x294e4c(0x13c)](_0x294e4c(0x142),_0x2371e5=>{const _0x6cc192=_0x294e4c;switch(_0x2371e5[_0x6cc192(0x119)]){case _0x6cc192(0x134):case _0x6cc192(0x117):case _0x6cc192(0x150):this[_0x6cc192(0x116)](),this[_0x6cc192(0x14b)]&&this[_0x6cc192(0x14b)][_0x6cc192(0x127)](_0x6cc192(0x13a)),this[_0x6cc192(0x14b)]=null;}}),this['renderRoot'][_0x294e4c(0x13c)](_0x294e4c(0x102),_0x1af29a=>{const _0x506b6b=_0x294e4c;_0x1af29a['stopPropagation']();let _0x35c023=_0x1af29a[_0x506b6b(0x108)];if(this[_0x506b6b(0x14b)]&&(this[_0x506b6b(0x116)](),this[_0x506b6b(0x14b)][_0x506b6b(0x127)](_0x506b6b(0x13a))),_0x506b6b(0x10f)!==_0x35c023[_0x506b6b(0x133)]||!_0x35c023['column'][_0x506b6b(0x113)]['editable'])return this[_0x506b6b(0x116)](),void(this['currentTarget']=null);this['currentTarget']=_0x35c023,_0x35c023[_0x506b6b(0x13b)](_0x506b6b(0x13a),_0x506b6b(0x10c));}),this[_0x294e4c(0x13c)](_0x294e4c(0x124),_0x29f883=>{const _0x30df23=_0x294e4c;var {after:_0x14720a,before:_0x1efbb6,column:_0x45cb7c,record:_0x48e919,row:_0x4fcea0}=_0x29f883[_0x30df23(0x147)];if(ValueUtil[_0x30df23(0x120)](_0x14720a,_0x1efbb6))return;var _0xe8206c=_0x45cb7c[_0x30df23(0x148)];if(_0xe8206c&&_0x30df23(0x14f)==typeof _0xe8206c&&!_0xe8206c['call'](this,_0x14720a,_0x1efbb6,_0x48e919,_0x45cb7c))return;let _0x4d8bda=_0x45cb7c[_0x30df23(0x13d)];_0x48e919[_0x4d8bda]=_0x14720a,_0x48e919['__dirtyfields__']=_0x48e919[_0x30df23(0x138)]||{},_0x48e919[_0x30df23(0x10e)]=_0x48e919[_0x30df23(0x10e)]||{},_0x48e919['__dirtyfields__'][_0x4d8bda]={'before':_0x48e919[_0x30df23(0x10e)][_0x4d8bda],'after':_0x48e919[_0x4d8bda]},ValueUtil['isEquals'](_0x48e919[_0x30df23(0x138)][_0x4d8bda]['before'],_0x48e919['__dirtyfields__'][_0x4d8bda][_0x30df23(0x129)])&&delete _0x48e919['__dirtyfields__'][_0x4d8bda],ValueUtil[_0x30df23(0x11b)](_0x48e919[_0x30df23(0x138)])?_0x48e919[_0x30df23(0x12f)]='M':_0x48e919[_0x30df23(0x12f)]='',this['record']={..._0x48e919},this[_0x30df23(0x104)](new CustomEvent(_0x30df23(0x144),{'bubbles':!0x0,'composed':!0x0,'detail':_0x29f883[_0x30df23(0x147)]}));});}async[a0_0x3baaa6(0x14e)](){const _0xbc51d4=a0_0x3baaa6;super[_0xbc51d4(0x14e)]&&await super[_0xbc51d4(0x14e)]();}async['pageInitialized'](){const _0x23c6c4=a0_0x3baaa6;this[_0x23c6c4(0x131)]&&await this[_0x23c6c4(0x137)](),super[_0x23c6c4(0x12a)]&&await super[_0x23c6c4(0x12a)](),this[_0x23c6c4(0x131)]&&await this['fetch']();}['render'](){const _0x3ee148=a0_0x3baaa6;return MetaApi[_0x3ee148(0x14a)](this);}[a0_0x3baaa6(0x122)](_0x3ec1c4){const _0x5549fd=a0_0x3baaa6;this['formColumnConfig']=_0x3ec1c4['grid_column'],this['formRenderConfig']=_0x3ec1c4[_0x5549fd(0x12c)],_0x3ec1c4[_0x5549fd(0x130)]=_0x3ec1c4['button']['filter'](_0x302e56=>_0x5549fd(0x109)==_0x302e56[_0x5549fd(0x13d)]);}async['parseFormConfigs'](){const _0x2accc4=a0_0x3baaa6;this[_0x2accc4(0x125)]=await MetaApi[_0x2accc4(0x136)](this);}get[a0_0x3baaa6(0x132)](){const _0x27306c=a0_0x3baaa6;return this[_0x27306c(0x135)](this['record']['__origin__']);}get['dirtyData'](){const _0x5d3c31=a0_0x3baaa6;if(ValueUtil[_0x5d3c31(0x146)](this[_0x5d3c31(0x113)][_0x5d3c31(0x138)]))return{};let _0x5b201b={};return Object[_0x5d3c31(0x106)](this['record'][_0x5d3c31(0x138)])['map'](([_0x441cef,_0x3a1d80])=>{const _0x304567=_0x5d3c31;0x0==_0x441cef['startsWith']('__')&&(_0x5b201b[_0x441cef]=_0x3a1d80[_0x304567(0x129)]);}),_0x5b201b;}get[a0_0x3baaa6(0x112)](){const _0x4ad7e0=a0_0x3baaa6;return this['removeGarbageData'](this[_0x4ad7e0(0x113)]);}['removeGarbageData'](_0x161949){const _0x3488d3=a0_0x3baaa6;let _0x1b470f={};if(_0x161949)return Object['entries'](_0x161949)[_0x3488d3(0x11c)](([_0x55e0a3,_0x54bf44])=>{const _0x10ba39=_0x3488d3;0x0==_0x55e0a3[_0x10ba39(0x105)]('__')&&(_0x1b470f[_0x55e0a3]=_0x54bf44);}),_0x1b470f;}get[a0_0x3baaa6(0x110)](){const _0xf6fde=a0_0x3baaa6;let _0x2a0057=this[_0xf6fde(0x11f)],_0x38c829=this['record'];return ValueUtil['isEmpty'](_0x2a0057)?[]:(ValueUtil[_0xf6fde(0x11b)](_0x38c829['id'])?(_0x2a0057['id']=_0x38c829['id'],_0x2a0057[_0xf6fde(0x107)]='M'):_0x2a0057[_0xf6fde(0x107)]='+',Object[_0xf6fde(0x11d)](_0x2a0057)[_0xf6fde(0x149)](_0x51892c=>{const _0x224fac=_0xf6fde;_0x224fac(0x126)==typeof _0x2a0057[_0x51892c]&&(_0x2a0057[_0x51892c]={'id':_0x2a0057[_0x51892c]['id']});}),[_0x2a0057]);}async[a0_0x3baaa6(0x115)](){const _0x51c765=a0_0x3baaa6;if(ValueUtil[_0x51c765(0x146)](this[_0x51c765(0x101)]))return;let _0x1a1e96=await this[_0x51c765(0x111)](this[_0x51c765(0x101)]);_0x1a1e96[_0x51c765(0x12e)]=0x1;let _0x3bb7eb={};Object[_0x51c765(0x123)](_0x3bb7eb,_0x1a1e96),_0x1a1e96[_0x51c765(0x10e)]=_0x3bb7eb,this[_0x51c765(0x113)]={..._0x1a1e96};}async[a0_0x3baaa6(0x109)](){const _0x21debf=a0_0x3baaa6;let _0x1628ff=this['patchData'];if(ValueUtil[_0x21debf(0x146)](_0x1628ff))return void MetaApi['showAlertPopup']('title.info',_0x21debf(0x145));let _0x1c4a60=await this[_0x21debf(0x100)](_0x1628ff);return _0x1c4a60&&await this[_0x21debf(0x115)](),_0x1c4a60;}async[a0_0x3baaa6(0x140)](){const _0x550846=a0_0x3baaa6;this['record']&&(this[_0x550846(0x113)]={});}[a0_0x3baaa6(0x13e)](){const _0xa4e858=a0_0x3baaa6;return this[_0xa4e858(0x112)]||{};}};
1
+ const a0_0x357d27=a0_0x4dda;(function(_0x44134e,_0x4a43b6){const _0x2c687a=a0_0x4dda,_0x186e3c=_0x44134e();while(!![]){try{const _0x2ca88a=parseInt(_0x2c687a(0x13b))/0x1*(parseInt(_0x2c687a(0x183))/0x2)+-parseInt(_0x2c687a(0x173))/0x3*(parseInt(_0x2c687a(0x148))/0x4)+parseInt(_0x2c687a(0x17c))/0x5+parseInt(_0x2c687a(0x162))/0x6*(-parseInt(_0x2c687a(0x131))/0x7)+parseInt(_0x2c687a(0x145))/0x8+-parseInt(_0x2c687a(0x134))/0x9*(parseInt(_0x2c687a(0x12f))/0xa)+-parseInt(_0x2c687a(0x13a))/0xb*(-parseInt(_0x2c687a(0x151))/0xc);if(_0x2ca88a===_0x4a43b6)break;else _0x186e3c['push'](_0x186e3c['shift']());}catch(_0x30a6c8){_0x186e3c['push'](_0x186e3c['shift']());}}}(a0_0x30e2,0xd3a6f));import{MetaApi}from'../utils/meta-api';function a0_0x30e2(){const _0x1754bf=['call','120gCiIaw','true','currentData','getBasicFormStyles','save','parent_id','record','addEventListener','clear','before','isEmpty','pageInitialized','isEquals','formRenderConfig','Enter','__dirtyfields__','focus','791022avjtnO','activityDataSet','getData','column','filter','parseBasicFormConfigs','entries','map','Esc','editing','formColumnConfig','grid_column','isElement','button','setAttribute','Escape','context','176934iehunV','detail','render','removeAttribute','object','removeGarbageData','function','dataSet','__seq__','6819590mUfkRy','__dirty__','formConfigSet','currentTarget','cuFlag','firstUpdated','keys','290044XiJXVa','click','stopPropagation','renderRoot','validation','460gJyKmd','startsWith','7mlCjHr','form-field-change','after','229266msmCBZ','fetch','dirtyData','getContextObject','is_activity','getAndParseMenuMeta','833503JEqZuv','8GbzlUZ','properties','isPage','dispatchEvent','orgData','isNotEmpty','parseFormConfigs','title.info','target','assign','4792848UgSecO','patchData','OX-GRID-FIELD','116aDqoUJ','tagName','connectedCallback','activity','key','__origin__','updateMultiple','getBasicFormHtml'];a0_0x30e2=function(){return _0x1754bf;};return a0_0x30e2();}function a0_0x4dda(_0x564601,_0x53f8dc){const _0x30e2e4=a0_0x30e2();return a0_0x4dda=function(_0x4ddaa6,_0x27ee01){_0x4ddaa6=_0x4ddaa6-0x12c;let _0x5779d5=_0x30e2e4[_0x4ddaa6];return _0x5779d5;},a0_0x4dda(_0x564601,_0x53f8dc);}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x469c16=>class extends MetaButtonMixin(_0x469c16){static get['styles'](){const _0x27c835=a0_0x4dda;return MetaApi[_0x27c835(0x154)]();}static get[a0_0x357d27(0x13c)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x357d27(0x172)](){const _0x497f34=a0_0x357d27;return MetaUiUtil[_0x497f34(0x137)](this);}async[a0_0x357d27(0x14a)](){const _0x27b966=a0_0x357d27;await this[_0x27b966(0x139)](),this[_0x27b966(0x16e)]&&await this['parseFormConfigs'](),this[_0x27b966(0x163)]&&(this[_0x27b966(0x17a)]=this[_0x27b966(0x163)]),!0x0!==this[_0x27b966(0x138)]||this[_0x27b966(0x156)]||(this['parent_id']=_0x27b966(0x14b)),super[_0x27b966(0x14a)]&&await super['connectedCallback'](),this['isElement']&&await this[_0x27b966(0x135)](),this[_0x27b966(0x12d)][_0x27b966(0x158)]('keydown',_0x162fde=>{const _0x4f4f26=_0x27b966;switch(_0x162fde[_0x4f4f26(0x14c)]){case _0x4f4f26(0x16a):case _0x4f4f26(0x171):case _0x4f4f26(0x15f):this[_0x4f4f26(0x161)](),this[_0x4f4f26(0x17f)]&&this[_0x4f4f26(0x17f)]['removeAttribute'](_0x4f4f26(0x16b)),this[_0x4f4f26(0x17f)]=null;}}),this[_0x27b966(0x12d)][_0x27b966(0x158)](_0x27b966(0x184),_0x38d780=>{const _0x5a4a8c=_0x27b966;_0x38d780[_0x5a4a8c(0x12c)]();let _0x1283fa=_0x38d780[_0x5a4a8c(0x143)];if(this['currentTarget']&&(this['focus'](),this[_0x5a4a8c(0x17f)][_0x5a4a8c(0x176)](_0x5a4a8c(0x16b))),_0x5a4a8c(0x147)!==_0x1283fa[_0x5a4a8c(0x149)]||!_0x1283fa[_0x5a4a8c(0x165)]['record']['editable'])return this[_0x5a4a8c(0x161)](),void(this[_0x5a4a8c(0x17f)]=null);this['currentTarget']=_0x1283fa,_0x1283fa[_0x5a4a8c(0x170)](_0x5a4a8c(0x16b),_0x5a4a8c(0x152));}),this['addEventListener']('field-change',_0xfa7420=>{const _0x1961e6=_0x27b966;var {after:_0x3230eb,before:_0x1e72c6,column:_0x5df079,record:_0x5ba934,row:_0x37543e}=_0xfa7420[_0x1961e6(0x174)];if(ValueUtil[_0x1961e6(0x15d)](_0x3230eb,_0x1e72c6))return;var _0x28e42c=_0x5df079[_0x1961e6(0x12e)];if(_0x28e42c&&_0x1961e6(0x179)==typeof _0x28e42c&&!_0x28e42c[_0x1961e6(0x150)](this,_0x3230eb,_0x1e72c6,_0x5ba934,_0x5df079))return;let _0x24110e=_0x5df079['name'];_0x5ba934[_0x24110e]=_0x3230eb,_0x5ba934['__dirtyfields__']=_0x5ba934[_0x1961e6(0x160)]||{},_0x5ba934[_0x1961e6(0x14d)]=_0x5ba934[_0x1961e6(0x14d)]||{},_0x5ba934[_0x1961e6(0x160)][_0x24110e]={'before':_0x5ba934[_0x1961e6(0x14d)][_0x24110e],'after':_0x5ba934[_0x24110e]},ValueUtil[_0x1961e6(0x15d)](_0x5ba934[_0x1961e6(0x160)][_0x24110e][_0x1961e6(0x15a)],_0x5ba934['__dirtyfields__'][_0x24110e][_0x1961e6(0x133)])&&delete _0x5ba934[_0x1961e6(0x160)][_0x24110e],ValueUtil[_0x1961e6(0x140)](_0x5ba934['__dirtyfields__'])?_0x5ba934['__dirty__']='M':_0x5ba934[_0x1961e6(0x17d)]='',this['record']={..._0x5ba934},this[_0x1961e6(0x13e)](new CustomEvent(_0x1961e6(0x132),{'bubbles':!0x0,'composed':!0x0,'detail':_0xfa7420['detail']}));});}async[a0_0x357d27(0x181)](){const _0x2d3e23=a0_0x357d27;super['firstUpdated']&&await super[_0x2d3e23(0x181)]();}async['pageInitialized'](){const _0x4efeab=a0_0x357d27;this[_0x4efeab(0x13d)]&&await this[_0x4efeab(0x141)](),super[_0x4efeab(0x15c)]&&await super[_0x4efeab(0x15c)](),this[_0x4efeab(0x13d)]&&await this[_0x4efeab(0x135)]();}[a0_0x357d27(0x175)](){const _0x4f22be=a0_0x357d27;return MetaApi[_0x4f22be(0x14f)](this);}[a0_0x357d27(0x167)](_0x53506a){const _0x5c5e98=a0_0x357d27;this[_0x5c5e98(0x16c)]=_0x53506a[_0x5c5e98(0x16d)],this[_0x5c5e98(0x15e)]=_0x53506a['form'],_0x53506a[_0x5c5e98(0x16f)]=_0x53506a['button'][_0x5c5e98(0x166)](_0xad5b55=>_0x5c5e98(0x155)==_0xad5b55['name']);}async[a0_0x357d27(0x141)](){const _0x10f3dc=a0_0x357d27;this[_0x10f3dc(0x17e)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x357d27(0x13f)](){const _0x242f90=a0_0x357d27;return this['removeGarbageData'](this['record'][_0x242f90(0x14d)]);}get['dirtyData'](){const _0x43c13e=a0_0x357d27;if(ValueUtil[_0x43c13e(0x15b)](this[_0x43c13e(0x157)][_0x43c13e(0x160)]))return{};let _0x3b8e2c={};return Object[_0x43c13e(0x168)](this[_0x43c13e(0x157)][_0x43c13e(0x160)])['map'](([_0x2a8bbd,_0x53d148])=>{const _0x455022=_0x43c13e;0x0==_0x2a8bbd[_0x455022(0x130)]('__')&&(_0x3b8e2c[_0x2a8bbd]=_0x53d148['after']);}),_0x3b8e2c;}get['currentData'](){const _0x27e02f=a0_0x357d27;return this[_0x27e02f(0x178)](this[_0x27e02f(0x157)]);}[a0_0x357d27(0x178)](_0x20e2ba){const _0x1786da=a0_0x357d27;let _0x5acfb2={};if(_0x20e2ba)return Object[_0x1786da(0x168)](_0x20e2ba)[_0x1786da(0x169)](([_0x2899bb,_0x2e1648])=>{0x0==_0x2899bb['startsWith']('__')&&(_0x5acfb2[_0x2899bb]=_0x2e1648);}),_0x5acfb2;}get[a0_0x357d27(0x146)](){const _0x1fa4da=a0_0x357d27;let _0x8f6d5d=this[_0x1fa4da(0x136)],_0x3d58b6=this[_0x1fa4da(0x157)];return ValueUtil[_0x1fa4da(0x15b)](_0x8f6d5d)?[]:(ValueUtil[_0x1fa4da(0x140)](_0x3d58b6['id'])?(_0x8f6d5d['id']=_0x3d58b6['id'],_0x8f6d5d['cuFlag']='M'):_0x8f6d5d[_0x1fa4da(0x180)]='+',Object[_0x1fa4da(0x182)](_0x8f6d5d)['forEach'](_0x21727b=>{const _0x55e85f=_0x1fa4da;_0x55e85f(0x177)==typeof _0x8f6d5d[_0x21727b]&&(_0x8f6d5d[_0x21727b]={'id':_0x8f6d5d[_0x21727b]['id']});}),[_0x8f6d5d]);}async[a0_0x357d27(0x135)](){const _0x55cdff=a0_0x357d27;if(ValueUtil[_0x55cdff(0x15b)](this[_0x55cdff(0x156)]))return;let _0x3e2954=await this['findOne'](this[_0x55cdff(0x156)]);_0x3e2954[_0x55cdff(0x17b)]=0x1;let _0x4d4978={};Object[_0x55cdff(0x144)](_0x4d4978,_0x3e2954),_0x3e2954[_0x55cdff(0x14d)]=_0x4d4978,this['record']={..._0x3e2954};}async[a0_0x357d27(0x155)](){const _0x3460bc=a0_0x357d27;let _0x2a75ee=this[_0x3460bc(0x146)];if(ValueUtil[_0x3460bc(0x15b)](_0x2a75ee))return void MetaApi['showAlertPopup'](_0x3460bc(0x142),'text.NOTHING_CHANGED');let _0xc87e73=await this[_0x3460bc(0x14e)](_0x2a75ee);return _0xc87e73&&await this[_0x3460bc(0x135)](),_0xc87e73;}async[a0_0x357d27(0x159)](){const _0x383552=a0_0x357d27;this[_0x383552(0x157)]&&(this['record']={});}[a0_0x357d27(0x164)](){const _0x11b5d7=a0_0x357d27;return this[_0x11b5d7(0x153)]||{};}};
@@ -1 +1 @@
1
- const a0_0x14136f=a0_0x5cdc;(function(_0x1858c3,_0x4f7a04){const _0x18a4d6=a0_0x5cdc,_0x4487e8=_0x1858c3();while(!![]){try{const _0x1858cc=-parseInt(_0x18a4d6(0x159))/0x1*(parseInt(_0x18a4d6(0x197))/0x2)+parseInt(_0x18a4d6(0x17b))/0x3+-parseInt(_0x18a4d6(0x171))/0x4*(parseInt(_0x18a4d6(0x1a2))/0x5)+-parseInt(_0x18a4d6(0x168))/0x6+parseInt(_0x18a4d6(0x19f))/0x7+parseInt(_0x18a4d6(0x186))/0x8*(parseInt(_0x18a4d6(0x15a))/0x9)+parseInt(_0x18a4d6(0x15b))/0xa;if(_0x1858cc===_0x4f7a04)break;else _0x4487e8['push'](_0x4487e8['shift']());}catch(_0x3863f8){_0x4487e8['push'](_0x4487e8['shift']());}}}(a0_0x2543,0x922b7));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x5cdc(_0x1a95b7,_0x12322e){const _0x25430c=a0_0x2543();return a0_0x5cdc=function(_0x5cdc97,_0x3860cc){_0x5cdc97=_0x5cdc97-0x156;let _0x5bc98b=_0x25430c[_0x5cdc97];return _0x5bc98b;},a0_0x5cdc(_0x1a95b7,_0x12322e);}function a0_0x2543(){const _0x18605c=['push','getParams','5593455MtMUek','detailElement','firstUpdated','80BZdjOU','isNotEmpty','ox-grist','getContextObject','1194554mIrTRV','45ewqNcb','15932970HbQLZa','operator','map','searchFields','ox-filters-form-base','searchConfig','deleteByIds','record','main','render','gristConfigSet','tTitle','filterFormId','4068276jUQnJB','getSelectedIdList','meta-tab-element','parseGristConfigs','useMasterFilterForm','properties','filter','actions','menuInfo','190996crmZtF','useFilterForm','export','___data','getBasicGristTabStyles','isElement','value','beforeFetch','#detail','patchesForUpdateMultiple','532734FOGnjh','gridColumnConfig','type','findOne','querySelector','exportable','grist','getData','keys','getGristTabHtml','header','1064568RAkMrQ','activityDataSet','searchFieldValues','options','exportableData','fetch','grid_column','forEach','shadowRoot','search','clear','dataSet','renderRoot','importable','connectedCallback','isPage','updateMultiple','2masJZj','gristId','parseGridConfigSet','startsWith','styles','pageInitialized'];a0_0x2543=function(){return _0x18605c;};return a0_0x2543();}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=_0x14e7e6=>class extends MetaButtonMixin(_0x14e7e6){static get[a0_0x14136f(0x19b)](){const _0x1de5b5=a0_0x14136f;return MetaApi[_0x1de5b5(0x175)]();}static get[a0_0x14136f(0x16d)](){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_0x14136f(0x181)](){const _0x4724a9=a0_0x14136f;return this[_0x4724a9(0x192)]['querySelector'](this[_0x4724a9(0x198)]);}get['filterForm'](){const _0x131d2a=a0_0x14136f;return this[_0x131d2a(0x18e)]?.[_0x131d2a(0x17f)](this[_0x131d2a(0x167)]);}get[a0_0x14136f(0x1a0)](){const _0x4bd3e3=a0_0x14136f;return this[_0x4bd3e3(0x18e)][_0x4bd3e3(0x17f)](_0x4bd3e3(0x179));}get['context'](){const _0x482f63=a0_0x14136f;let _0x31b75b=MetaUiUtil[_0x482f63(0x158)](this);return _0x31b75b['actions']&&delete _0x31b75b[_0x482f63(0x16f)],_0x31b75b[_0x482f63(0x180)]&&delete _0x31b75b[_0x482f63(0x180)],_0x31b75b['importable']&&delete _0x31b75b[_0x482f63(0x193)],_0x31b75b;}async[a0_0x14136f(0x194)](){const _0x472b87=a0_0x14136f;this[_0x472b87(0x198)]=_0x472b87(0x157),this['filterFormId']=_0x472b87(0x15f),await this['getAndParseMenuMeta'](),this[_0x472b87(0x176)]&&await this[_0x472b87(0x16b)](),this[_0x472b87(0x187)]&&(this[_0x472b87(0x191)]=(this['activityDataSet']||{})[_0x472b87(0x163)]),super[_0x472b87(0x194)]&&await super[_0x472b87(0x194)]();}async[a0_0x14136f(0x1a1)](){const _0xea92db=a0_0x14136f;super[_0xea92db(0x1a1)]&&await super[_0xea92db(0x1a1)]();}async[a0_0x14136f(0x19c)](){const _0x2ce3c0=a0_0x14136f;this[_0x2ce3c0(0x195)]&&await this[_0x2ce3c0(0x16b)](),super['pageInitialized']&&await super[_0x2ce3c0(0x19c)]();}[a0_0x14136f(0x164)](){const _0x4d9e28=a0_0x14136f;return MetaApi[_0x4d9e28(0x184)](this);}['parseBasicGridConfigs'](_0x722971){const _0x51c37a=a0_0x14136f;this['gridConfig']=_0x722971['grid'],this[_0x51c37a(0x17c)]=_0x722971[_0x51c37a(0x18c)],this[_0x51c37a(0x160)]=_0x722971[_0x51c37a(0x18f)];}async[a0_0x14136f(0x16b)](){const _0x357aff=a0_0x14136f;this[_0x357aff(0x165)]=await MetaApi[_0x357aff(0x199)](this),this[_0x357aff(0x16c)]=!0x0===this[_0x357aff(0x172)],this[_0x357aff(0x172)]=!0x1,this['searchFieldValues']=[],this[_0x357aff(0x15e)]=this[_0x357aff(0x165)]['columns']['filter'](_0xf78ffa=>_0xf78ffa[_0x357aff(0x16e)])[_0x357aff(0x15d)](_0x5203b4=>{const _0x357276=_0x357aff;let _0x56fc6f={'name':_0x5203b4['name'],'type':_0x357276(0x18f)===_0x5203b4[_0x357276(0x16e)][_0x357276(0x15c)]?_0x357276(0x18f):_0x5203b4[_0x357276(0x17d)],'label':_0x5203b4[_0x357276(0x185)],'operator':_0x5203b4[_0x357276(0x16e)][_0x357276(0x15c)]?_0x5203b4['filter'][_0x357276(0x15c)]:'eq'};return _0x5203b4[_0x357276(0x16e)][_0x357276(0x189)]&&(_0x56fc6f[_0x357276(0x189)]=_0x5203b4['filter']['options']),_0x5203b4[_0x357276(0x162)][_0x357276(0x189)]&&(_0x56fc6f[_0x357276(0x189)]=_0x5203b4['record'][_0x357276(0x189)]),_0x5203b4[_0x357276(0x16e)][_0x357276(0x177)]&&this[_0x357276(0x188)][_0x357276(0x19d)]({'name':_0x56fc6f['name'],'operator':_0x56fc6f[_0x357276(0x15c)],'value':_0x5203b4[_0x357276(0x16e)][_0x357276(0x177)]}),delete _0x5203b4['filter'],_0x56fc6f;});}async[a0_0x14136f(0x18b)](){const _0x45e83f=a0_0x14136f;await this[_0x45e83f(0x181)]['fetch']();}async[a0_0x14136f(0x178)]({page:_0x1a1d7d=0x0,limit:_0x4e8f82=0x0,sortings:_0x2492d9=[],filters:_0x1e57c0=[]}){const _0x5f9387=a0_0x14136f;let _0x3d831a=this[_0x5f9387(0x192)][_0x5f9387(0x17f)](_0x5f9387(0x16a));return await _0x3d831a[_0x5f9387(0x190)](),!0x0;}async['save'](){const _0x323085=a0_0x14136f;let _0x4c7538=MetaApi[_0x323085(0x17a)](this['grist']);!!ValueUtil[_0x323085(0x156)](_0x4c7538)&&await this[_0x323085(0x196)](_0x4c7538)&&this['fetch']();}async['find'](){const _0x5de3c9=a0_0x14136f;let _0x2de3c7=MetaApi[_0x5de3c9(0x169)](this[_0x5de3c9(0x181)],!0x0);return ValueUtil[_0x5de3c9(0x156)](_0x2de3c7)?await this[_0x5de3c9(0x17e)](_0x2de3c7[0x0]):{};}async['delete'](){const _0x5791a5=a0_0x14136f;let _0x40ef48=MetaApi[_0x5791a5(0x169)](this[_0x5791a5(0x181)],!0x0);!!ValueUtil[_0x5791a5(0x156)](_0x40ef48)&&await this[_0x5791a5(0x161)](_0x40ef48)&&this['fetch']();}async[a0_0x14136f(0x173)](){const _0x5bf3e6=a0_0x14136f;let _0x533118=TermsUtil[_0x5bf3e6(0x166)](ValueUtil[_0x5bf3e6(0x19e)](this[_0x5bf3e6(0x170)],'title'));return await MetaApi[_0x5bf3e6(0x18a)](this[_0x5bf3e6(0x176)],_0x533118,this[_0x5bf3e6(0x181)]);}async['import'](){}[a0_0x14136f(0x182)](){const _0x4986f1=a0_0x14136f;let _0x3dd87c=this[_0x4986f1(0x181)][_0x4986f1(0x174)]['records'];return _0x3dd87c=JSON['parse'](JSON['stringify'](_0x3dd87c)),_0x3dd87c[_0x4986f1(0x18d)](_0x338769=>{const _0x389eaf=_0x4986f1;Object[_0x389eaf(0x183)](_0x338769)[_0x389eaf(0x18d)](_0x1a6265=>{const _0x36e6a=_0x389eaf;_0x1a6265[_0x36e6a(0x19a)]('__')&&delete _0x338769[_0x1a6265];});}),{'main':_0x3dd87c,'detail':this[_0x4986f1(0x192)][_0x4986f1(0x17f)](_0x4986f1(0x16a))[_0x4986f1(0x182)]()};}};
1
+ const a0_0x4b10e5=a0_0x4d5c;(function(_0x5e5f51,_0x285e88){const _0x4e9d36=a0_0x4d5c,_0x26b0e3=_0x5e5f51();while(!![]){try{const _0x130baa=parseInt(_0x4e9d36(0xe8))/0x1*(parseInt(_0x4e9d36(0xee))/0x2)+parseInt(_0x4e9d36(0xc1))/0x3+-parseInt(_0x4e9d36(0xd1))/0x4*(-parseInt(_0x4e9d36(0xcb))/0x5)+parseInt(_0x4e9d36(0xbc))/0x6+-parseInt(_0x4e9d36(0xf9))/0x7+parseInt(_0x4e9d36(0xe5))/0x8+-parseInt(_0x4e9d36(0xc2))/0x9;if(_0x130baa===_0x285e88)break;else _0x26b0e3['push'](_0x26b0e3['shift']());}catch(_0x2ee3a1){_0x26b0e3['push'](_0x26b0e3['shift']());}}}(a0_0x2542,0x22276));import{html}from'lit';function a0_0x2542(){const _0x2c65dc=['gridConfig','delete','searchConfig','querySelector','gristConfigSet','findOne','701532dqvxfn','searchFieldValues','activityDataSet','getData','parse','536580tipShF','3660489cQtElP','isNotEmpty','record','push','getBasicGristTabStyles','menuInfo','clear','getAndParseMenuMeta','firstUpdated','475TISzGV','main','columns','value','context','getParams','4060MmqXcM','grid_column','options','ox-filters-form-base','searchFields','find','updateMultiple','parseGristConfigs','gridEmphasized','deleteByIds','___data','header','filter','title','meta-tab-element','grist','dataSet','renderRoot','save','getSelectedIdList','1600256GCDjLT','useFilterForm','search','229FCHxGa','tTitle','render','importable','startsWith','gridColumnConfig','1804eFhRQQ','gristId','pageInitialized','detailElement','filterFormId','filterForm','exportableData','parseBasicGridConfigs','isPage','stringify','isElement','1765274VMvmhq','name','parseGridConfigSet','getGristTabHtml','connectedCallback','#detail','actions','fetch','forEach','operator','beforeFetch','records','shadowRoot','patchesForUpdateMultiple'];a0_0x2542=function(){return _0x2c65dc;};return a0_0x2542();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4d5c(_0x1baa5f,_0x397f4f){const _0x25427b=a0_0x2542();return a0_0x4d5c=function(_0x4d5c80,_0x6614bd){_0x4d5c80=_0x4d5c80-0xb5;let _0x64e2fc=_0x25427b[_0x4d5c80];return _0x64e2fc;},a0_0x4d5c(_0x1baa5f,_0x397f4f);}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=_0x9d2799=>class extends MetaButtonMixin(_0x9d2799){static get['styles'](){const _0x570d64=a0_0x4d5c;return MetaApi[_0x570d64(0xc6)]();}static get['properties'](){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_0x4b10e5(0xe0)](){const _0x21e89b=a0_0x4b10e5;return this[_0x21e89b(0xe2)]['querySelector'](this[_0x21e89b(0xef)]);}get[a0_0x4b10e5(0xf3)](){const _0x1839d8=a0_0x4b10e5;return this[_0x1839d8(0x105)]?.[_0x1839d8(0xb9)](this[_0x1839d8(0xf2)]);}get[a0_0x4b10e5(0xf1)](){const _0x1e8214=a0_0x4b10e5;return this[_0x1e8214(0x105)]['querySelector'](_0x1e8214(0xfe));}get[a0_0x4b10e5(0xcf)](){const _0x2fad82=a0_0x4b10e5;let _0x2ce93d=MetaUiUtil['getContextObject'](this);return _0x2ce93d[_0x2fad82(0xff)]&&delete _0x2ce93d[_0x2fad82(0xff)],_0x2ce93d['exportable']&&delete _0x2ce93d['exportable'],_0x2ce93d[_0x2fad82(0xeb)]&&delete _0x2ce93d['importable'],_0x2ce93d;}async[a0_0x4b10e5(0xfd)](){const _0x32ea7=a0_0x4b10e5;this[_0x32ea7(0xef)]='ox-grist',this[_0x32ea7(0xf2)]=_0x32ea7(0xd4),await this[_0x32ea7(0xc9)](),this['isElement']&&await this[_0x32ea7(0xd8)](),this[_0x32ea7(0xbe)]&&(this[_0x32ea7(0xe1)]=(this[_0x32ea7(0xbe)]||{})[_0x32ea7(0xcc)]),super['connectedCallback']&&await super[_0x32ea7(0xfd)]();}async[a0_0x4b10e5(0xca)](){const _0x35defd=a0_0x4b10e5;super[_0x35defd(0xca)]&&await super[_0x35defd(0xca)]();}async[a0_0x4b10e5(0xf0)](){const _0x36116a=a0_0x4b10e5;this[_0x36116a(0xf6)]&&await this[_0x36116a(0xd8)](),super[_0x36116a(0xf0)]&&await super[_0x36116a(0xf0)]();}[a0_0x4b10e5(0xea)](){const _0x110868=a0_0x4b10e5;return MetaApi[_0x110868(0xfc)](this);}[a0_0x4b10e5(0xf5)](_0x104c21){const _0x23bfef=a0_0x4b10e5;this[_0x23bfef(0xb6)]=_0x104c21['grid'],this[_0x23bfef(0xed)]=_0x104c21[_0x23bfef(0xd2)],this[_0x23bfef(0xb8)]=_0x104c21['search'],this['gridEmphasized']=_0x104c21[_0x23bfef(0xd9)];}async[a0_0x4b10e5(0xd8)](){const _0x19d805=a0_0x4b10e5;this[_0x19d805(0xba)]=await MetaApi[_0x19d805(0xfb)](this),this['useMasterFilterForm']=!0x0===this[_0x19d805(0xe6)],this['useFilterForm']=!0x1,this[_0x19d805(0xbd)]=[],this[_0x19d805(0xd5)]=this['gristConfigSet'][_0x19d805(0xcd)]['filter'](_0x23fbe5=>_0x23fbe5[_0x19d805(0xdd)])['map'](_0x8e8352=>{const _0x9c13f0=_0x19d805;let _0x5fe3e2={'name':_0x8e8352[_0x9c13f0(0xfa)],'type':_0x9c13f0(0xe7)===_0x8e8352[_0x9c13f0(0xdd)]['operator']?_0x9c13f0(0xe7):_0x8e8352['type'],'label':_0x8e8352[_0x9c13f0(0xdc)],'operator':_0x8e8352[_0x9c13f0(0xdd)][_0x9c13f0(0x102)]?_0x8e8352[_0x9c13f0(0xdd)][_0x9c13f0(0x102)]:'eq'};return _0x8e8352[_0x9c13f0(0xdd)][_0x9c13f0(0xd3)]&&(_0x5fe3e2['options']=_0x8e8352['filter']['options']),_0x8e8352[_0x9c13f0(0xc4)]['options']&&(_0x5fe3e2['options']=_0x8e8352['record'][_0x9c13f0(0xd3)]),_0x8e8352[_0x9c13f0(0xdd)][_0x9c13f0(0xce)]&&this['searchFieldValues'][_0x9c13f0(0xc5)]({'name':_0x5fe3e2[_0x9c13f0(0xfa)],'operator':_0x5fe3e2[_0x9c13f0(0x102)],'value':_0x8e8352['filter'][_0x9c13f0(0xce)]}),delete _0x8e8352[_0x9c13f0(0xdd)],_0x5fe3e2;});}async[a0_0x4b10e5(0x100)](){await this['grist']['fetch']();}async[a0_0x4b10e5(0x103)]({page:_0x4382cf=0x0,limit:_0x3e23c4=0x0,sortings:_0x2378cb=[],filters:_0x2d865b=[]}){const _0x2b1e82=a0_0x4b10e5;let _0x1c8d4e=this[_0x2b1e82(0xe2)][_0x2b1e82(0xb9)](_0x2b1e82(0xdf));return await _0x1c8d4e[_0x2b1e82(0xc8)](),!0x0;}async[a0_0x4b10e5(0xe3)](){const _0x396942=a0_0x4b10e5;let _0x40a431=MetaApi[_0x396942(0xb5)](this[_0x396942(0xe0)]);!!ValueUtil[_0x396942(0xc3)](_0x40a431)&&await this[_0x396942(0xd7)](_0x40a431)&&this[_0x396942(0x100)]();}async[a0_0x4b10e5(0xd6)](){const _0x2d199c=a0_0x4b10e5;let _0x1acdbf=MetaApi[_0x2d199c(0xe4)](this[_0x2d199c(0xe0)],!0x0);return ValueUtil['isNotEmpty'](_0x1acdbf)?await this[_0x2d199c(0xbb)](_0x1acdbf[0x0]):{};}async[a0_0x4b10e5(0xb7)](){const _0x18dd03=a0_0x4b10e5;let _0x309db0=MetaApi[_0x18dd03(0xe4)](this[_0x18dd03(0xe0)],!0x0);!!ValueUtil['isNotEmpty'](_0x309db0)&&await this[_0x18dd03(0xda)](_0x309db0)&&this['fetch']();}async['export'](){const _0x121c5b=a0_0x4b10e5;let _0xcd3061=TermsUtil[_0x121c5b(0xe9)](ValueUtil[_0x121c5b(0xd0)](this[_0x121c5b(0xc7)],_0x121c5b(0xde)));return await MetaApi[_0x121c5b(0xf4)](this[_0x121c5b(0xf8)],_0xcd3061,this[_0x121c5b(0xe0)]);}async['import'](){}['getData'](){const _0x251540=a0_0x4b10e5;let _0x353bf8=this[_0x251540(0xe0)][_0x251540(0xdb)][_0x251540(0x104)];return _0x353bf8=JSON[_0x251540(0xc0)](JSON[_0x251540(0xf7)](_0x353bf8)),_0x353bf8[_0x251540(0x101)](_0x2a76ba=>{const _0x42afe9=_0x251540;Object['keys'](_0x2a76ba)[_0x42afe9(0x101)](_0x2ab531=>{const _0x3b0e85=_0x42afe9;_0x2ab531[_0x3b0e85(0xec)]('__')&&delete _0x2a76ba[_0x2ab531];});}),{'main':_0x353bf8,'detail':this['renderRoot'][_0x251540(0xb9)](_0x251540(0xdf))[_0x251540(0xbf)]()};}};
@@ -1 +1 @@
1
- const a0_0x1b2777=a0_0x48f9;(function(_0x5e6657,_0x15a2c7){const _0x16eeaf=a0_0x48f9,_0x37d0fe=_0x5e6657();while(!![]){try{const _0x200c99=-parseInt(_0x16eeaf(0x11e))/0x1*(parseInt(_0x16eeaf(0x124))/0x2)+parseInt(_0x16eeaf(0x14a))/0x3*(-parseInt(_0x16eeaf(0x141))/0x4)+parseInt(_0x16eeaf(0x15d))/0x5*(parseInt(_0x16eeaf(0x14f))/0x6)+-parseInt(_0x16eeaf(0x15e))/0x7*(-parseInt(_0x16eeaf(0x15a))/0x8)+-parseInt(_0x16eeaf(0x11c))/0x9+-parseInt(_0x16eeaf(0x13a))/0xa*(-parseInt(_0x16eeaf(0x150))/0xb)+-parseInt(_0x16eeaf(0x127))/0xc;if(_0x200c99===_0x15a2c7)break;else _0x37d0fe['push'](_0x37d0fe['shift']());}catch(_0x25fa97){_0x37d0fe['push'](_0x37d0fe['shift']());}}}(a0_0x2974,0xec007));import{html}from'lit';function a0_0x48f9(_0x2f1757,_0x5db0d8){const _0x297436=a0_0x2974();return a0_0x48f9=function(_0x48f908,_0x43d9cd){_0x48f908=_0x48f908-0x11c;let _0x1ebd10=_0x297436[_0x48f908];return _0x1ebd10;},a0_0x48f9(_0x2f1757,_0x5db0d8);}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 MetaMainTabMixin=_0x1898a5=>class extends MetaButtonMixin(_0x1898a5){static get[a0_0x1b2777(0x159)](){const _0x27bafb=a0_0x1b2777;return MetaApi[_0x27bafb(0x152)]();}static get[a0_0x1b2777(0x122)](){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_0x1b2777(0x11f)](){const _0x2c6515=a0_0x1b2777;return this[_0x2c6515(0x134)][_0x2c6515(0x121)]();}get[a0_0x1b2777(0x146)](){const _0x286895=a0_0x1b2777;return this['shadowRoot']?.[_0x286895(0x15c)](this[_0x286895(0x12d)]);}get[a0_0x1b2777(0x14c)](){const _0x597b87=a0_0x1b2777;let _0x4f0685=MetaUiUtil[_0x597b87(0x139)](this);return _0x4f0685[_0x597b87(0x160)]&&delete _0x4f0685['actions'],_0x4f0685[_0x597b87(0x13f)]&&delete _0x4f0685['exportable'],_0x4f0685[_0x597b87(0x148)]&&delete _0x4f0685[_0x597b87(0x148)],_0x4f0685;}async[a0_0x1b2777(0x131)](){const _0x4aa6d0=a0_0x1b2777;this[_0x4aa6d0(0x154)]=_0x4aa6d0(0x13c),this[_0x4aa6d0(0x12d)]=_0x4aa6d0(0x120),await this[_0x4aa6d0(0x128)](),this['isElement']&&await this['parseGristConfigs'](),this['activityDataSet']&&(this['dataSet']=(this[_0x4aa6d0(0x136)]||{})[_0x4aa6d0(0x147)]),super[_0x4aa6d0(0x131)]&&await super[_0x4aa6d0(0x131)]();}async[a0_0x1b2777(0x156)](){const _0x1ccd22=a0_0x1b2777;super[_0x1ccd22(0x156)]&&await super[_0x1ccd22(0x156)]();}async['pageInitialized'](){const _0xe53c38=a0_0x1b2777;this[_0xe53c38(0x142)]&&await this[_0xe53c38(0x15b)](),super[_0xe53c38(0x132)]&&await super['pageInitialized']();}[a0_0x1b2777(0x140)](){const _0x4a648c=a0_0x1b2777;return MetaApi[_0x4a648c(0x13d)](this);}[a0_0x1b2777(0x138)](_0x925548){const _0x4c0f46=a0_0x1b2777;this[_0x4c0f46(0x12f)]=_0x925548[_0x4c0f46(0x158)],this[_0x4c0f46(0x126)]=_0x925548[_0x4c0f46(0x144)],this[_0x4c0f46(0x130)]=_0x925548[_0x4c0f46(0x129)];}async[a0_0x1b2777(0x15b)](){const _0x5be9e8=a0_0x1b2777;this['gristConfigSet']=await MetaApi[_0x5be9e8(0x14b)](this),this[_0x5be9e8(0x133)]=!0x0===this[_0x5be9e8(0x14d)],this['useFilterForm']=!0x1,this[_0x5be9e8(0x14e)]=void 0x0,this[_0x5be9e8(0x151)]=!0x1,this[_0x5be9e8(0x155)]=!0x1,this['searchFieldValues']=[],this['searchFields']=this[_0x5be9e8(0x11d)][_0x5be9e8(0x157)]['filter'](_0x4d380d=>_0x4d380d[_0x5be9e8(0x153)])[_0x5be9e8(0x123)](_0x41d24e=>{const _0x1c9327=_0x5be9e8;let _0x24c135={'name':_0x41d24e[_0x1c9327(0x135)],'type':_0x1c9327(0x129)===_0x41d24e[_0x1c9327(0x153)][_0x1c9327(0x12a)]?_0x1c9327(0x129):_0x41d24e[_0x1c9327(0x15f)],'label':_0x41d24e[_0x1c9327(0x13b)],'operator':_0x41d24e[_0x1c9327(0x153)][_0x1c9327(0x12a)]?_0x41d24e[_0x1c9327(0x153)][_0x1c9327(0x12a)]:'eq'};return _0x41d24e['filter'][_0x1c9327(0x145)]&&(_0x24c135['options']=_0x41d24e[_0x1c9327(0x153)][_0x1c9327(0x145)]),_0x41d24e[_0x1c9327(0x12e)]['options']&&(_0x24c135[_0x1c9327(0x145)]=_0x41d24e[_0x1c9327(0x12e)][_0x1c9327(0x145)]),_0x41d24e[_0x1c9327(0x153)][_0x1c9327(0x143)]&&this[_0x1c9327(0x125)][_0x1c9327(0x12c)]({'name':_0x24c135[_0x1c9327(0x135)],'operator':_0x24c135[_0x1c9327(0x12a)],'value':_0x41d24e[_0x1c9327(0x153)][_0x1c9327(0x143)]}),delete _0x41d24e[_0x1c9327(0x153)],_0x24c135;});}async[a0_0x1b2777(0x13e)](){await this['grist']['fetch']();}async[a0_0x1b2777(0x137)]({page:_0x288ae8=0x0,limit:_0x1d1b80=0x0,sortings:_0x2c1589=[],filters:_0x514c4c=[]}){const _0x11a31b=a0_0x1b2777;return this[_0x11a31b(0x134)]&&this['masterElement'][_0x11a31b(0x149)]&&await this['masterElement'][_0x11a31b(0x149)](),!0x0;}['getData'](){const _0x3d6fc8=a0_0x1b2777;return{'master':this[_0x3d6fc8(0x134)][_0x3d6fc8(0x12b)]()};}};function a0_0x2974(){const _0x2029a8=['fetch','exportable','render','736QfhRKn','isPage','value','grid_column','options','filterForm','main','importable','clear','22884Hvjrap','parseGridConfigSet','context','useFilterForm','buttonConfig','282lPGSRh','22pnrwao','useButtonExport','getBasicMainTabStyles','filter','gristId','useButtonImport','firstUpdated','columns','grid','styles','35032SfxLmj','parseGristConfigs','querySelector','133835DzkNsN','2219ZFSsXn','type','actions','3264849afcMUM','gristConfigSet','1fFqStF','grist','ox-filters-form-base','getMainGrist','properties','map','1824246FXvPVa','searchFieldValues','gridColumnConfig','8694372alcEZN','getAndParseMenuMeta','search','operator','getData','push','filterFormId','record','gridConfig','searchConfig','connectedCallback','pageInitialized','useMasterFilterForm','masterElement','name','activityDataSet','beforeFetch','parseBasicGridConfigs','getContextObject','8617190JUjrVW','header','ox-grist','getMainTabHtml'];a0_0x2974=function(){return _0x2029a8;};return a0_0x2974();}
1
+ function a0_0x38d6(_0x307dd0,_0x1cd7e7){const _0x27cde9=a0_0x27cd();return a0_0x38d6=function(_0x38d6f7,_0x4b4d3c){_0x38d6f7=_0x38d6f7-0x1b8;let _0x126f29=_0x27cde9[_0x38d6f7];return _0x126f29;},a0_0x38d6(_0x307dd0,_0x1cd7e7);}const a0_0x4f7846=a0_0x38d6;(function(_0x488533,_0x308de8){const _0x42252b=a0_0x38d6,_0x3c5dfd=_0x488533();while(!![]){try{const _0x52362a=parseInt(_0x42252b(0x1e1))/0x1+parseInt(_0x42252b(0x1c9))/0x2*(parseInt(_0x42252b(0x1b9))/0x3)+parseInt(_0x42252b(0x1e2))/0x4*(-parseInt(_0x42252b(0x1eb))/0x5)+parseInt(_0x42252b(0x1f0))/0x6*(parseInt(_0x42252b(0x1c0))/0x7)+parseInt(_0x42252b(0x1cd))/0x8*(-parseInt(_0x42252b(0x1dc))/0x9)+parseInt(_0x42252b(0x1e4))/0xa*(parseInt(_0x42252b(0x1ed))/0xb)+parseInt(_0x42252b(0x1be))/0xc*(parseInt(_0x42252b(0x1d8))/0xd);if(_0x52362a===_0x308de8)break;else _0x3c5dfd['push'](_0x3c5dfd['shift']());}catch(_0xac6ef3){_0x3c5dfd['push'](_0x3c5dfd['shift']());}}}(a0_0x27cd,0x54948));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 MetaMainTabMixin=_0x42332e=>class extends MetaButtonMixin(_0x42332e){static get[a0_0x4f7846(0x1da)](){const _0x66988e=a0_0x4f7846;return MetaApi[_0x66988e(0x1c3)]();}static get['properties'](){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_0x4f7846(0x1e3)](){const _0x58f1fd=a0_0x4f7846;return this['masterElement'][_0x58f1fd(0x1e6)]();}get[a0_0x4f7846(0x1c4)](){const _0xcc9fa=a0_0x4f7846;return this[_0xcc9fa(0x1e7)]?.['querySelector'](this[_0xcc9fa(0x1f3)]);}get[a0_0x4f7846(0x1cb)](){const _0x11a50c=a0_0x4f7846;let _0x207ab7=MetaUiUtil[_0x11a50c(0x1d4)](this);return _0x207ab7[_0x11a50c(0x1ca)]&&delete _0x207ab7[_0x11a50c(0x1ca)],_0x207ab7[_0x11a50c(0x1d2)]&&delete _0x207ab7[_0x11a50c(0x1d2)],_0x207ab7[_0x11a50c(0x1cc)]&&delete _0x207ab7[_0x11a50c(0x1cc)],_0x207ab7;}async[a0_0x4f7846(0x1ea)](){const _0x2961b7=a0_0x4f7846;this[_0x2961b7(0x1c5)]='ox-grist',this[_0x2961b7(0x1f3)]=_0x2961b7(0x1bb),await this[_0x2961b7(0x1e0)](),this[_0x2961b7(0x1de)]&&await this[_0x2961b7(0x1df)](),this['activityDataSet']&&(this[_0x2961b7(0x1d0)]=(this[_0x2961b7(0x1b8)]||{})['main']),super[_0x2961b7(0x1ea)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0x41d565=a0_0x4f7846;super[_0x41d565(0x1db)]&&await super['firstUpdated']();}async[a0_0x4f7846(0x1c6)](){const _0x472111=a0_0x4f7846;this[_0x472111(0x1e5)]&&await this[_0x472111(0x1df)](),super[_0x472111(0x1c6)]&&await super[_0x472111(0x1c6)]();}[a0_0x4f7846(0x1ba)](){const _0x31dd02=a0_0x4f7846;return MetaApi[_0x31dd02(0x1f1)](this);}['parseBasicGridConfigs'](_0x517f68){const _0x44c9ce=a0_0x4f7846;this[_0x44c9ce(0x1bf)]=_0x517f68['grid'],this['gridColumnConfig']=_0x517f68[_0x44c9ce(0x1bc)],this['searchConfig']=_0x517f68['search'],this[_0x44c9ce(0x1c7)]=_0x517f68['gridEmphasized'];}async[a0_0x4f7846(0x1df)](){const _0x29b37b=a0_0x4f7846;this[_0x29b37b(0x1d9)]=await MetaApi[_0x29b37b(0x1bd)](this),this['useMasterFilterForm']=!0x0===this[_0x29b37b(0x1c2)],this[_0x29b37b(0x1c2)]=!0x1,this[_0x29b37b(0x1e8)]=void 0x0,this[_0x29b37b(0x1f2)]=!0x1,this['useButtonImport']=!0x1,this[_0x29b37b(0x1dd)]=[],this['searchFields']=this[_0x29b37b(0x1d9)]['columns'][_0x29b37b(0x1d6)](_0x460595=>_0x460595['filter'])[_0x29b37b(0x1ec)](_0x5a7530=>{const _0x276c62=_0x29b37b;let _0x277ef1={'name':_0x5a7530['name'],'type':_0x276c62(0x1ce)===_0x5a7530[_0x276c62(0x1d6)]['operator']?_0x276c62(0x1ce):_0x5a7530[_0x276c62(0x1ef)],'label':_0x5a7530[_0x276c62(0x1c1)],'operator':_0x5a7530[_0x276c62(0x1d6)][_0x276c62(0x1e9)]?_0x5a7530[_0x276c62(0x1d6)][_0x276c62(0x1e9)]:'eq'};return _0x5a7530[_0x276c62(0x1d6)][_0x276c62(0x1cf)]&&(_0x277ef1[_0x276c62(0x1cf)]=_0x5a7530[_0x276c62(0x1d6)]['options']),_0x5a7530['record']['options']&&(_0x277ef1['options']=_0x5a7530['record'][_0x276c62(0x1cf)]),_0x5a7530[_0x276c62(0x1d6)][_0x276c62(0x1d3)]&&this[_0x276c62(0x1dd)][_0x276c62(0x1c8)]({'name':_0x277ef1['name'],'operator':_0x277ef1[_0x276c62(0x1e9)],'value':_0x5a7530[_0x276c62(0x1d6)]['value']}),delete _0x5a7530['filter'],_0x277ef1;});}async[a0_0x4f7846(0x1d7)](){const _0x2de043=a0_0x4f7846;await this[_0x2de043(0x1e3)][_0x2de043(0x1d7)]();}async[a0_0x4f7846(0x1d1)]({page:_0x4a26cb=0x0,limit:_0x394a72=0x0,sortings:_0x415cd4=[],filters:_0x2a6e07=[]}){const _0x22ee08=a0_0x4f7846;return this[_0x22ee08(0x1d5)]&&this[_0x22ee08(0x1d5)]['clear']&&await this[_0x22ee08(0x1d5)]['clear'](),!0x0;}[a0_0x4f7846(0x1ee)](){const _0x58c65e=a0_0x4f7846;return{'master':this['masterElement'][_0x58c65e(0x1ee)]()};}};function a0_0x27cd(){const _0x35ed3e=['getMainTabHtml','useButtonExport','filterFormId','activityDataSet','18807tgLuRW','render','ox-filters-form-base','grid_column','parseGridConfigSet','12KGcrDa','gridConfig','7ekhiAo','header','useFilterForm','getBasicMainTabStyles','filterForm','gristId','pageInitialized','gridEmphasized','push','92qoxoNC','actions','context','importable','8jHLBEd','search','options','dataSet','beforeFetch','exportable','value','getContextObject','masterElement','filter','fetch','168493GcZWPO','gristConfigSet','styles','firstUpdated','4629078lAESpf','searchFieldValues','isElement','parseGristConfigs','getAndParseMenuMeta','528878WlsNFI','2359096mHCzhQ','grist','48260hSeSDI','isPage','getMainGrist','shadowRoot','buttonConfig','operator','connectedCallback','5AZFiQX','map','121dkLEbz','getData','type','3403542FxTZQs'];a0_0x27cd=function(){return _0x35ed3e;};return a0_0x27cd();}
@@ -1 +1 @@
1
- const a0_0x4dbc37=a0_0xde56;(function(_0x48d3a4,_0x1234d6){const _0x3c6e1f=a0_0xde56,_0x291d5b=_0x48d3a4();while(!![]){try{const _0x2d20d1=parseInt(_0x3c6e1f(0x163))/0x1*(-parseInt(_0x3c6e1f(0x143))/0x2)+-parseInt(_0x3c6e1f(0x16a))/0x3*(-parseInt(_0x3c6e1f(0x149))/0x4)+-parseInt(_0x3c6e1f(0x15c))/0x5+-parseInt(_0x3c6e1f(0x169))/0x6+parseInt(_0x3c6e1f(0x148))/0x7*(parseInt(_0x3c6e1f(0x17f))/0x8)+parseInt(_0x3c6e1f(0x15d))/0x9*(parseInt(_0x3c6e1f(0x151))/0xa)+parseInt(_0x3c6e1f(0x15a))/0xb;if(_0x2d20d1===_0x1234d6)break;else _0x291d5b['push'](_0x291d5b['shift']());}catch(_0x57a36a){_0x291d5b['push'](_0x291d5b['shift']());}}}(a0_0x3d78,0x256e8));import{html}from'lit';function a0_0x3d78(){const _0x36397a=['search','searchFields','findOne','4866334KniKoS','forEach','457115dpTqkn','115245KLojxd','grid_column','parseGristConfigs','columns','exportableData','shadowRoot','2HdBsRL','context','ox-grist','gridColumnConfig','import','gristConfigSet','1423890YRSsfK','2985UTgArq','___data','filter','operator','ox-filters-form-base','filterFormId','patchesForUpdateMultiple','searchConfig','options','menuInfo','parseBasicGridConfigs','save','connectedCallback','keys','firstUpdated','main','actions','map','renderRoot','activityDataSet','getParams','1376248LKHYaY','getContextObject','searchFieldValues','delete','parse','useMasterFilterForm','find','querySelector','pageInitialized','getMasterDetailHtml','header','getSelectedIdList','detailElement','properties','value','getBasicMasterDetailStyles','record','getAndParseMenuMeta','fetch','updateMultiple','295892XOLLjl','useFilterForm','isElement','exportable','gristId','7bnSUAM','400aWbnPg','getData','grid','grist','tTitle','isNotEmpty','records','type','50yxnGBy','name','gridConfig','render','deleteByIds','startsWith'];a0_0x3d78=function(){return _0x36397a;};return a0_0x3d78();}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_0xde56(_0x4380f4,_0x1032b3){const _0x3d7835=a0_0x3d78();return a0_0xde56=function(_0xde56cf,_0x407bee){_0xde56cf=_0xde56cf-0x136;let _0x3f8ab4=_0x3d7835[_0xde56cf];return _0x3f8ab4;},a0_0xde56(_0x4380f4,_0x1032b3);}export const MetaMasterDetailMixin=_0x46957f=>class extends MetaButtonMixin(_0x46957f){static get['styles'](){const _0x3ba7b5=a0_0xde56;return MetaApi[_0x3ba7b5(0x13e)]();}static get[a0_0x4dbc37(0x13c)](){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_0x4dbc37(0x14c)](){const _0x2b82d5=a0_0x4dbc37;return this[_0x2b82d5(0x17c)][_0x2b82d5(0x136)](this['gristId']);}get['filterForm'](){const _0x4e5e13=a0_0x4dbc37;return this[_0x4e5e13(0x162)]?.['querySelector'](this['filterFormId']);}get[a0_0x4dbc37(0x164)](){const _0x2d6924=a0_0x4dbc37;let _0x58638a=MetaUiUtil[_0x2d6924(0x180)](this);return _0x58638a[_0x2d6924(0x17a)]&&delete _0x58638a['actions'],_0x58638a[_0x2d6924(0x146)]&&delete _0x58638a[_0x2d6924(0x146)],_0x58638a['importable']&&delete _0x58638a['importable'],_0x58638a;}async[a0_0x4dbc37(0x176)](){const _0x51040a=a0_0x4dbc37;this[_0x51040a(0x147)]=_0x51040a(0x165),this[_0x51040a(0x16f)]=_0x51040a(0x16e),await this[_0x51040a(0x140)](),this['isElement']&&await this[_0x51040a(0x15f)](),this[_0x51040a(0x17d)]&&(this['dataSet']=(this[_0x51040a(0x17d)]||{})[_0x51040a(0x179)]),super[_0x51040a(0x176)]&&await super[_0x51040a(0x176)]();}async[a0_0x4dbc37(0x178)](){const _0x22ec8e=a0_0x4dbc37;super['firstUpdated']&&await super[_0x22ec8e(0x178)]();}async[a0_0x4dbc37(0x137)](){const _0x15c9c5=a0_0x4dbc37;this['isPage']&&await this['parseGristConfigs'](),super[_0x15c9c5(0x137)]&&await super[_0x15c9c5(0x137)]();}[a0_0x4dbc37(0x154)](){const _0x2a3947=a0_0x4dbc37;return MetaApi[_0x2a3947(0x138)](this);}[a0_0x4dbc37(0x174)](_0x5f3470){const _0x230e10=a0_0x4dbc37;this[_0x230e10(0x153)]=_0x5f3470[_0x230e10(0x14b)],this[_0x230e10(0x166)]=_0x5f3470[_0x230e10(0x15e)],this[_0x230e10(0x171)]=_0x5f3470[_0x230e10(0x157)];}async['parseGristConfigs'](){const _0xd66b1b=a0_0x4dbc37;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0xd66b1b(0x184)]=!0x0===this[_0xd66b1b(0x144)],this[_0xd66b1b(0x144)]=!0x1,this[_0xd66b1b(0x181)]=[],this[_0xd66b1b(0x158)]=this[_0xd66b1b(0x168)][_0xd66b1b(0x160)][_0xd66b1b(0x16c)](_0x57eca7=>_0x57eca7[_0xd66b1b(0x16c)])[_0xd66b1b(0x17b)](_0x1d0e8b=>{const _0x163375=_0xd66b1b;let _0x5f0833={'name':_0x1d0e8b[_0x163375(0x152)],'type':'search'===_0x1d0e8b[_0x163375(0x16c)]['operator']?_0x163375(0x157):_0x1d0e8b[_0x163375(0x150)],'label':_0x1d0e8b[_0x163375(0x139)],'operator':_0x1d0e8b[_0x163375(0x16c)][_0x163375(0x16d)]?_0x1d0e8b[_0x163375(0x16c)][_0x163375(0x16d)]:'eq'};return _0x1d0e8b[_0x163375(0x16c)][_0x163375(0x172)]&&(_0x5f0833[_0x163375(0x172)]=_0x1d0e8b[_0x163375(0x16c)]['options']),_0x1d0e8b['record'][_0x163375(0x172)]&&(_0x5f0833[_0x163375(0x172)]=_0x1d0e8b[_0x163375(0x13f)][_0x163375(0x172)]),_0x1d0e8b['filter'][_0x163375(0x13d)]&&this['searchFieldValues']['push']({'name':_0x5f0833['name'],'operator':_0x5f0833['operator'],'value':_0x1d0e8b['filter'][_0x163375(0x13d)]}),delete _0x1d0e8b[_0x163375(0x16c)],_0x5f0833;});}async[a0_0x4dbc37(0x141)](){const _0x12a9df=a0_0x4dbc37;await this[_0x12a9df(0x14c)][_0x12a9df(0x141)]();}async['beforeFetch']({page:_0x54c0c5=0x0,limit:_0x11be2b=0x0,sortings:_0x5269d1=[],filters:_0x17a8a3=[]}){const _0x5aa395=a0_0x4dbc37;return this[_0x5aa395(0x13b)]&&this[_0x5aa395(0x13b)]['clear']&&await this['detailElement']['clear'](),!0x0;}async[a0_0x4dbc37(0x175)](){const _0x4e5b2a=a0_0x4dbc37;let _0x238bef=MetaApi[_0x4e5b2a(0x170)](this[_0x4e5b2a(0x14c)]);!!ValueUtil[_0x4e5b2a(0x14e)](_0x238bef)&&await this[_0x4e5b2a(0x142)](_0x238bef)&&this[_0x4e5b2a(0x141)]();}async[a0_0x4dbc37(0x185)](){const _0x200526=a0_0x4dbc37;let _0x34dbf4=MetaApi[_0x200526(0x13a)](this[_0x200526(0x14c)],!0x0);return ValueUtil[_0x200526(0x14e)](_0x34dbf4)?await this[_0x200526(0x159)](_0x34dbf4[0x0]):{};}async[a0_0x4dbc37(0x182)](){const _0x4a0ac8=a0_0x4dbc37;let _0x2b15e5=MetaApi[_0x4a0ac8(0x13a)](this[_0x4a0ac8(0x14c)],!0x0);!!ValueUtil[_0x4a0ac8(0x14e)](_0x2b15e5)&&await this[_0x4a0ac8(0x155)](_0x2b15e5)&&this[_0x4a0ac8(0x141)]();}async['export'](){const _0x4c5d61=a0_0x4dbc37;let _0x5a89c1=TermsUtil[_0x4c5d61(0x14d)](ValueUtil[_0x4c5d61(0x17e)](this[_0x4c5d61(0x173)],'title'));return await MetaApi[_0x4c5d61(0x161)](this[_0x4c5d61(0x145)],_0x5a89c1,this[_0x4c5d61(0x14c)]);}async[a0_0x4dbc37(0x167)](){}[a0_0x4dbc37(0x14a)](){const _0x25ee55=a0_0x4dbc37;let _0x5b6d55=this[_0x25ee55(0x14c)][_0x25ee55(0x16b)][_0x25ee55(0x14f)];return _0x5b6d55=JSON[_0x25ee55(0x183)](JSON['stringify'](_0x5b6d55)),_0x5b6d55[_0x25ee55(0x15b)](_0xc14ab9=>{const _0x3abb69=_0x25ee55;Object[_0x3abb69(0x177)](_0xc14ab9)['forEach'](_0x52d60d=>{const _0x181437=_0x3abb69;_0x52d60d[_0x181437(0x156)]('__')&&delete _0xc14ab9[_0x52d60d];});}),{'main':_0x5b6d55,'detail':this[_0x25ee55(0x13b)]['getData']()};}};
1
+ const a0_0x1d93d2=a0_0x3157;(function(_0x19d176,_0x1b08d6){const _0x79a937=a0_0x3157,_0x3f8b58=_0x19d176();while(!![]){try{const _0x18cf93=parseInt(_0x79a937(0x1c7))/0x1+-parseInt(_0x79a937(0x1bb))/0x2+parseInt(_0x79a937(0x1df))/0x3*(parseInt(_0x79a937(0x1fb))/0x4)+parseInt(_0x79a937(0x1dc))/0x5*(parseInt(_0x79a937(0x1e6))/0x6)+parseInt(_0x79a937(0x1db))/0x7+-parseInt(_0x79a937(0x208))/0x8*(-parseInt(_0x79a937(0x207))/0x9)+-parseInt(_0x79a937(0x1f0))/0xa;if(_0x18cf93===_0x1b08d6)break;else _0x3f8b58['push'](_0x3f8b58['shift']());}catch(_0x1868ea){_0x3f8b58['push'](_0x3f8b58['shift']());}}}(a0_0x3162,0xac0a4));import{html}from'lit';import{MetaApi}from'../utils/meta-api';function a0_0x3157(_0x263a1c,_0x54876a){const _0x3162ad=a0_0x3162();return a0_0x3157=function(_0x31578c,_0x29740e){_0x31578c=_0x31578c-0x1bb;let _0x4d3f1c=_0x3162ad[_0x31578c];return _0x4d3f1c;},a0_0x3157(_0x263a1c,_0x54876a);}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_0x3162(){const _0x4ee49d=['getParams','value','delete','11586580mDBUsr','gristConfigSet','stringify','header','parseGridConfigSet','operator','shadowRoot','record','forEach','gridColumnConfig','parseGristConfigs','716MOPyBC','title','renderRoot','actions','exportable','searchFields','firstUpdated','querySelector','useFilterForm','grid','filter','render','83178TrzjGz','536teNwDn','1441732bBxidh','type','parseBasicGridConfigs','ox-grist','pageInitialized','gridEmphasized','searchFieldValues','save','getSelectedIdList','parse','isPage','menuInfo','140027oXiARF','styles','searchConfig','keys','getData','filterForm','isNotEmpty','filterFormId','dataSet','records','gridConfig','fetch','context','connectedCallback','importable','search','getAndParseMenuMeta','activityDataSet','exportableData','___data','72835FKKyWr','1945TMKVCG','getContextObject','beforeFetch','11733Dwitcs','push','detailElement','gristId','clear','isElement','updateMultiple','17190YlQzdB','find','options','tTitle','name','grist','patchesForUpdateMultiple'];a0_0x3162=function(){return _0x4ee49d;};return a0_0x3162();}export const MetaMasterDetailMixin=_0x308262=>class extends MetaButtonMixin(_0x308262){static get[a0_0x1d93d2(0x1c8)](){return MetaApi['getBasicMasterDetailStyles']();}static get['properties'](){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_0x1d93d2(0x1eb)](){const _0x510678=a0_0x1d93d2;return this[_0x510678(0x1fd)]['querySelector'](this['gristId']);}get[a0_0x1d93d2(0x1cc)](){const _0x379055=a0_0x1d93d2;return this[_0x379055(0x1f6)]?.[_0x379055(0x202)](this[_0x379055(0x1ce)]);}get[a0_0x1d93d2(0x1d3)](){const _0xe70aee=a0_0x1d93d2;let _0x4ff89a=MetaUiUtil[_0xe70aee(0x1dd)](this);return _0x4ff89a[_0xe70aee(0x1fe)]&&delete _0x4ff89a[_0xe70aee(0x1fe)],_0x4ff89a[_0xe70aee(0x1ff)]&&delete _0x4ff89a[_0xe70aee(0x1ff)],_0x4ff89a['importable']&&delete _0x4ff89a[_0xe70aee(0x1d5)],_0x4ff89a;}async[a0_0x1d93d2(0x1d4)](){const _0x5a07a9=a0_0x1d93d2;this[_0x5a07a9(0x1e2)]=_0x5a07a9(0x1be),this['filterFormId']='ox-filters-form-base',await this[_0x5a07a9(0x1d7)](),this[_0x5a07a9(0x1e4)]&&await this[_0x5a07a9(0x1fa)](),this['activityDataSet']&&(this[_0x5a07a9(0x1cf)]=(this[_0x5a07a9(0x1d8)]||{})['main']),super['connectedCallback']&&await super['connectedCallback']();}async['firstUpdated'](){const _0xddae1f=a0_0x1d93d2;super[_0xddae1f(0x201)]&&await super[_0xddae1f(0x201)]();}async['pageInitialized'](){const _0x871302=a0_0x1d93d2;this[_0x871302(0x1c5)]&&await this[_0x871302(0x1fa)](),super[_0x871302(0x1bf)]&&await super['pageInitialized']();}[a0_0x1d93d2(0x206)](){return MetaApi['getMasterDetailHtml'](this);}[a0_0x1d93d2(0x1bd)](_0x2ac597){const _0x5820dc=a0_0x1d93d2;this[_0x5820dc(0x1d1)]=_0x2ac597[_0x5820dc(0x204)],this[_0x5820dc(0x1f9)]=_0x2ac597['grid_column'],this[_0x5820dc(0x1c9)]=_0x2ac597[_0x5820dc(0x1d6)],this['gridEmphasized']=_0x2ac597[_0x5820dc(0x1c0)];}async['parseGristConfigs'](){const _0x5e9f3e=a0_0x1d93d2;this[_0x5e9f3e(0x1f1)]=await MetaApi[_0x5e9f3e(0x1f4)](this),this['useMasterFilterForm']=!0x0===this[_0x5e9f3e(0x203)],this[_0x5e9f3e(0x203)]=!0x1,this[_0x5e9f3e(0x1c1)]=[],this[_0x5e9f3e(0x200)]=this[_0x5e9f3e(0x1f1)]['columns'][_0x5e9f3e(0x205)](_0x28b17d=>_0x28b17d[_0x5e9f3e(0x205)])['map'](_0x16fa83=>{const _0x37f891=_0x5e9f3e;let _0x5cbc6d={'name':_0x16fa83[_0x37f891(0x1ea)],'type':'search'===_0x16fa83[_0x37f891(0x205)][_0x37f891(0x1f5)]?_0x37f891(0x1d6):_0x16fa83[_0x37f891(0x1bc)],'label':_0x16fa83[_0x37f891(0x1f3)],'operator':_0x16fa83[_0x37f891(0x205)]['operator']?_0x16fa83[_0x37f891(0x205)][_0x37f891(0x1f5)]:'eq'};return _0x16fa83['filter'][_0x37f891(0x1e8)]&&(_0x5cbc6d[_0x37f891(0x1e8)]=_0x16fa83[_0x37f891(0x205)][_0x37f891(0x1e8)]),_0x16fa83['record'][_0x37f891(0x1e8)]&&(_0x5cbc6d[_0x37f891(0x1e8)]=_0x16fa83[_0x37f891(0x1f7)]['options']),_0x16fa83[_0x37f891(0x205)][_0x37f891(0x1ee)]&&this[_0x37f891(0x1c1)][_0x37f891(0x1e0)]({'name':_0x5cbc6d['name'],'operator':_0x5cbc6d[_0x37f891(0x1f5)],'value':_0x16fa83[_0x37f891(0x205)][_0x37f891(0x1ee)]}),delete _0x16fa83['filter'],_0x5cbc6d;});}async['fetch'](){const _0x30ff53=a0_0x1d93d2;await this[_0x30ff53(0x1eb)]['fetch']();}async[a0_0x1d93d2(0x1de)]({page:_0x489751=0x0,limit:_0x3b16b2=0x0,sortings:_0x3c2db9=[],filters:_0x48c986=[]}){const _0xd68655=a0_0x1d93d2;return this[_0xd68655(0x1e1)]&&this[_0xd68655(0x1e1)][_0xd68655(0x1e3)]&&await this[_0xd68655(0x1e1)][_0xd68655(0x1e3)](),!0x0;}async[a0_0x1d93d2(0x1c2)](){const _0x13a190=a0_0x1d93d2;let _0x500d7a=MetaApi[_0x13a190(0x1ec)](this[_0x13a190(0x1eb)]);!!ValueUtil[_0x13a190(0x1cd)](_0x500d7a)&&await this[_0x13a190(0x1e5)](_0x500d7a)&&this[_0x13a190(0x1d2)]();}async[a0_0x1d93d2(0x1e7)](){const _0x345476=a0_0x1d93d2;let _0x247a4f=MetaApi[_0x345476(0x1c3)](this[_0x345476(0x1eb)],!0x0);return ValueUtil[_0x345476(0x1cd)](_0x247a4f)?await this['findOne'](_0x247a4f[0x0]):{};}async[a0_0x1d93d2(0x1ef)](){const _0x4a0eb6=a0_0x1d93d2;let _0x1d9cd1=MetaApi[_0x4a0eb6(0x1c3)](this['grist'],!0x0);!!ValueUtil[_0x4a0eb6(0x1cd)](_0x1d9cd1)&&await this['deleteByIds'](_0x1d9cd1)&&this[_0x4a0eb6(0x1d2)]();}async['export'](){const _0x18809d=a0_0x1d93d2;let _0x30deda=TermsUtil[_0x18809d(0x1e9)](ValueUtil[_0x18809d(0x1ed)](this[_0x18809d(0x1c6)],_0x18809d(0x1fc)));return await MetaApi[_0x18809d(0x1d9)](this[_0x18809d(0x1e4)],_0x30deda,this[_0x18809d(0x1eb)]);}async['import'](){}[a0_0x1d93d2(0x1cb)](){const _0x438909=a0_0x1d93d2;let _0x4be7de=this[_0x438909(0x1eb)][_0x438909(0x1da)][_0x438909(0x1d0)];return _0x4be7de=JSON[_0x438909(0x1c4)](JSON[_0x438909(0x1f2)](_0x4be7de)),_0x4be7de[_0x438909(0x1f8)](_0x53bcdf=>{const _0x170560=_0x438909;Object[_0x170560(0x1ca)](_0x53bcdf)[_0x170560(0x1f8)](_0x54317f=>{_0x54317f['startsWith']('__')&&delete _0x53bcdf[_0x54317f];});}),{'main':_0x4be7de,'detail':this[_0x438909(0x1e1)][_0x438909(0x1cb)]()};}};