@things-factory/meta-ui 6.1.79 → 6.1.81

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 (98) 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/file-upload-popup.js +61 -0
  14. package/client/component/popup/meta-object-selector-popup.js +11 -11
  15. package/client/index.js +2 -2
  16. package/client/mixin/meta-base-mixin.js +1 -1
  17. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  18. package/client/mixin/meta-button-mixin.js +1 -1
  19. package/client/mixin/meta-form-mixin.js +1 -1
  20. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  21. package/client/mixin/meta-main-tab-mixin.js +1 -1
  22. package/client/mixin/meta-master-detail-mixin.js +1 -1
  23. package/client/mixin/meta-service-mixin.js +1 -1
  24. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  25. package/client/mixin/meta-tab-mixin.js +1 -1
  26. package/client/pages/activity/meta-activity-list-page.js +6 -6
  27. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  28. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  29. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  30. package/client/pages/button-role/config-button-roles.js +29 -29
  31. package/client/pages/entity/config-entity.js +29 -29
  32. package/client/pages/entity/main-menu-selector.js +8 -8
  33. package/client/pages/history/history-copy-list-popup.js +6 -6
  34. package/client/pages/history/history-json-list-popup.js +6 -6
  35. package/client/pages/loading-page.js +5 -5
  36. package/client/pages/menu/dynamic-menu-template.js +7 -7
  37. package/client/pages/menu/dynamic-menu.js +16 -16
  38. package/client/pages/menu/export-menu-popup.js +6 -6
  39. package/client/pages/meta-form-element.js +1 -1
  40. package/client/pages/meta-grist-element.js +1 -1
  41. package/client/pages/meta-grist-page.js +1 -1
  42. package/client/pages/meta-grist-tab-element.js +1 -1
  43. package/client/pages/meta-grist-tab-page.js +1 -1
  44. package/client/pages/meta-main-tab-element.js +1 -1
  45. package/client/pages/meta-main-tab-page.js +1 -1
  46. package/client/pages/meta-master-detail-element.js +1 -1
  47. package/client/pages/meta-master-detail-page.js +1 -1
  48. package/client/pages/meta-tab-detail-element.js +1 -1
  49. package/client/pages/meta-tab-detail-page.js +1 -1
  50. package/client/pages/meta-tab-element.js +1 -1
  51. package/client/pages/personalize/personal-column-selector.js +10 -10
  52. package/client/pages/terms/config-terminology.js +6 -6
  53. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  54. package/client/pages/work-code/work-code-page.js +1 -1
  55. package/client/reducers/main.js +1 -1
  56. package/client/utils/grist-default-value.js +1 -1
  57. package/client/utils/meta-api.js +1 -1
  58. package/client/utils/meta-crypto.js +1 -1
  59. package/client/utils/meta-ui-util.js +103 -103
  60. package/client/utils/service-util.js +13 -13
  61. package/client/utils/terms-util.js +2 -2
  62. package/client/utils/ui-util.js +1 -1
  63. package/client/utils/value-util.js +1 -1
  64. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  65. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  66. package/client/viewparts/dynamic-menu-part.js +12 -12
  67. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  68. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  69. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  70. package/package.json +5 -5
  71. package/server/activity/CommonActivity.js +2 -2
  72. package/server/constants/error-code.js +1 -1
  73. package/server/errors/license-error.js +1 -1
  74. package/server/routes.js +1 -1
  75. package/server/service/dynamic-menu/dynamic-menu-query.js +1 -1
  76. package/server/service/dynamic-menu/dynamic-menu-type.js +1 -1
  77. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  78. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  79. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  80. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  81. package/server/service/grid-personalize/grid-personalize.js +1 -1
  82. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  83. package/server/service/meta-activity/meta-activity-query.js +1 -1
  84. package/server/service/meta-activity/meta-activity-type.js +1 -1
  85. package/server/service/meta-secret/meta-resolver.js +1 -1
  86. package/server/service/set-translations/set-translation-resolver.js +1 -1
  87. package/server/service/work-code/work-code-mutation.js +1 -1
  88. package/server/service/work-code/work-code-query.js +1 -1
  89. package/server/service/work-code/work-code-type.js +1 -1
  90. package/server/service/work-code/work-code.js +1 -1
  91. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  92. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  93. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  94. package/server/service/work-code-detail/work-code-detail.js +1 -1
  95. package/translations/en.json +5 -1
  96. package/translations/ko.json +5 -1
  97. package/translations/ms.json +5 -1
  98. package/translations/zh.json +5 -1
@@ -0,0 +1,61 @@
1
+ const a0_0x58449d=a0_0x1152;(function(_0x2ac567,_0x457466){const _0x205cd3=a0_0x1152,_0x1bbf1f=_0x2ac567();while(!![]){try{const _0x5c694c=-parseInt(_0x205cd3(0xf5))/0x1*(-parseInt(_0x205cd3(0xce))/0x2)+parseInt(_0x205cd3(0xf4))/0x3*(-parseInt(_0x205cd3(0xe4))/0x4)+parseInt(_0x205cd3(0xd9))/0x5*(parseInt(_0x205cd3(0xc4))/0x6)+parseInt(_0x205cd3(0xe1))/0x7+parseInt(_0x205cd3(0xf3))/0x8*(-parseInt(_0x205cd3(0xc6))/0x9)+-parseInt(_0x205cd3(0xca))/0xa*(parseInt(_0x205cd3(0xf1))/0xb)+parseInt(_0x205cd3(0xc7))/0xc;if(_0x5c694c===_0x457466)break;else _0x1bbf1f['push'](_0x1bbf1f['shift']());}catch(_0x2c9456){_0x1bbf1f['push'](_0x1bbf1f['shift']());}}}(a0_0x1c13,0x7ec65));function a0_0x1152(_0xeed692,_0xacf78b){const _0x1c13f6=a0_0x1c13();return a0_0x1152=function(_0x11528f,_0x4d4819){_0x11528f=_0x11528f-0xc4;let _0x12e894=_0x1c13f6[_0x11528f];return _0x12e894;},a0_0x1152(_0xeed692,_0xacf78b);}import{client,gqlContext}from'@things-factory/shell';import{css,html,LitElement}from'lit';import{SingleColumnFormStyles}from'@things-factory/form-ui';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import a0_0x404ad6 from'graphql-tag';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';class FileUploadPopup extends LitElement{static get[a0_0x58449d(0xd4)](){return[SingleColumnFormStyles,css`
2
+ :host {
3
+ padding: 10px;
4
+ display: flex;
5
+ flex-direction: column;
6
+ overflow-x: overlay;
7
+ background-color: var(--main-section-background-color);
8
+ }
9
+ .input-container {
10
+ display: flex;
11
+ }
12
+ .button-container {
13
+ padding: 10px 0 12px 0;
14
+ text-align: center;
15
+ }
16
+ .button-container > button {
17
+ background-color: var(--button-background-color);
18
+ border: var(--button-border);
19
+ border-radius: var(--button-border-radius);
20
+ margin: var(--button-margin);
21
+ padding: var(--button-padding);
22
+ color: var(--button-color);
23
+ font: var(--button-font);
24
+ text-transform: var(--button-text-transform);
25
+ }
26
+ .button-container > button:hover,
27
+ .button-container > button:active {
28
+ background-color: var(--button-background-focus-color);
29
+ }
30
+ `];}static get[a0_0x58449d(0xea)](){return{'templateTypes':Array};}async[a0_0x58449d(0xcf)](){const _0x36a49f=a0_0x58449d;super[_0x36a49f(0xcf)](),this['templateTypes']=await ServiceUtil['codeItems'](_0x36a49f(0xd8));}[a0_0x58449d(0xe8)](){const _0x36e9c7=a0_0x58449d;return html`
31
+ <div>
32
+ <form id="input-form" class="single-column-form">
33
+ <fieldset>
34
+ <legend>${TermsUtil[_0x36e9c7(0xd7)]('file_upload')}</legend>
35
+ <label>${TermsUtil[_0x36e9c7(0xd7)](_0x36e9c7(0xdb))}</label>
36
+ <file-uploader custom-input id="uploadTemplate" name="attachments"></file-uploader>
37
+
38
+ <label>${TermsUtil['tLabel'](_0x36e9c7(0xf0))}</label>
39
+ <select name="category" required>
40
+ <option value="">${TermsUtil['tText'](_0x36e9c7(0xc9))}</option>
41
+ ${(this[_0x36e9c7(0xd6)]||[])[_0x36e9c7(0xdd)](_0x169aa7=>{const {name:_0x44d0cb,description:_0x4c4094}=_0x169aa7;return html` <option value="${_0x44d0cb}">${_0x44d0cb} ${_0x4c4094?'\x20('+_0x4c4094+')':''}</option> `;})}
42
+ </select>
43
+
44
+ <label>${TermsUtil[_0x36e9c7(0xd7)](_0x36e9c7(0xe2))}</label>
45
+ <input name="description" />
46
+ </fieldset>
47
+ </form>
48
+ </div>
49
+
50
+ <div class="button-container">
51
+ <mwc-button raised @click="${this['_createAttachment']}" label="${TermsUtil[_0x36e9c7(0xe0)](_0x36e9c7(0xdf))}"></mwc-button>
52
+ </div>
53
+ `;}get[a0_0x58449d(0xeb)](){const _0x17da56=a0_0x58449d;return this[_0x17da56(0xe9)][_0x17da56(0xed)](_0x17da56(0xde));}async[a0_0x58449d(0xcd)](){const _0x481ee1=a0_0x58449d;try{const _0x3ec8b0=this[_0x481ee1(0xe5)]();(await client[_0x481ee1(0xd5)]({'mutation':a0_0x404ad6`
54
+ mutation ($attachment: NewAttachment!) {
55
+ createAttachment(attachment: $attachment) {
56
+ id
57
+ name
58
+ path
59
+ }
60
+ }
61
+ `,'variables':{'attachment':_0x3ec8b0},'context':{...gqlContext(),'hasUpload':!0x0}}))[_0x481ee1(0xd1)]||(history[_0x481ee1(0xf2)](),this[_0x481ee1(0xd2)](new CustomEvent(_0x481ee1(0xc8),{'bubbles':!0x0,'composed':!0x0,'cancelable':!0x0})));}catch(_0x3cdf21){MetaApi[_0x481ee1(0xec)](_0x481ee1(0xda),_0x3cdf21[_0x481ee1(0xd0)],_0x481ee1(0xcb),'confirm');}}[a0_0x58449d(0xe5)](){const _0x1a83fb=a0_0x58449d;if(this['renderRoot']['querySelector'](_0x1a83fb(0xdc))[_0x1a83fb(0xee)]())return{'file':this[_0x1a83fb(0xeb)]['files'][0x0],'category':this[_0x1a83fb(0xe6)](_0x1a83fb(0xf0))[_0x1a83fb(0xc5)],'description':this[_0x1a83fb(0xe6)](_0x1a83fb(0xe2))[_0x1a83fb(0xc5)]};throw new Error(TermsUtil['tText']('text.attachment_info_not_valid'));}[a0_0x58449d(0xe6)](_0x53f170){const _0x19ed3b=a0_0x58449d;return this[_0x19ed3b(0xe9)][_0x19ed3b(0xed)](_0x19ed3b(0xef)+_0x53f170+_0x19ed3b(0xd3)+_0x53f170+']');}}window[a0_0x58449d(0xe3)][a0_0x58449d(0xcc)](a0_0x58449d(0xe7),FileUploadPopup);function a0_0x1c13(){const _0x3ba7f9=['define','_createAttachment','1780bsgLwm','connectedCallback','message','errors','dispatchEvent','],\x20input[name=','styles','mutate','templateTypes','tLabel','TEMPLATE_TYPES','4182355BdGGTn','label.error','file_upload','form','map','#uploadTemplate','create','tButton','5433974eYBVbu','description','customElements','50104eJDyBt','_getAttachmentInfo','_getInputByName','file-upload-popup','render','renderRoot','properties','_template','showAlertPopup','querySelector','checkValidity','select[name=','category','7623JcPrYO','back','1544TxIMTr','213AzOPYN','250BbPOhS','6JJqsMm','value','45621dkHPYB','16907040BqMnQZ','template-uploaded','please_select_upload_category','12370lilJFN','error'];a0_0x1c13=function(){return _0x3ba7f9;};return a0_0x1c13();}
@@ -1,4 +1,4 @@
1
- const a0_0x501e83=a0_0x3a4c;(function(_0x52b513,_0x316837){const _0xd35057=a0_0x3a4c,_0x5467a3=_0x52b513();while(!![]){try{const _0x552e4e=parseInt(_0xd35057(0xec))/0x1*(parseInt(_0xd35057(0xee))/0x2)+parseInt(_0xd35057(0xc1))/0x3*(-parseInt(_0xd35057(0xe0))/0x4)+-parseInt(_0xd35057(0xad))/0x5*(-parseInt(_0xd35057(0xb9))/0x6)+parseInt(_0xd35057(0xd4))/0x7+parseInt(_0xd35057(0xeb))/0x8*(-parseInt(_0xd35057(0xd5))/0x9)+parseInt(_0xd35057(0xb7))/0xa*(-parseInt(_0xd35057(0xa8))/0xb)+parseInt(_0xd35057(0xdd))/0xc;if(_0x552e4e===_0x316837)break;else _0x5467a3['push'](_0x5467a3['shift']());}catch(_0x50ab92){_0x5467a3['push'](_0x5467a3['shift']());}}}(a0_0x19c0,0xc3924));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';function a0_0x3a4c(_0x54bf6b,_0x463b62){const _0x19c03a=a0_0x19c0();return a0_0x3a4c=function(_0x3a4cd0,_0x4eca8b){_0x3a4cd0=_0x3a4cd0-0xa4;let _0x4dd43f=_0x19c03a[_0x3a4cd0];return _0x4dd43f;},a0_0x3a4c(_0x54bf6b,_0x463b62);}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';function a0_0x19c0(){const _0x552387=['connectedCallback','clickCancel','name','getGristColumnConfig2','code','9022476DDgcPd','getGristGuttersConfig','nameField','307096quGDVC','meta-','searchByPagination','forEach','after_set_fields','getParams','firstUpdated','search','handlers','meta-code-selector','appendable','962296NoOIPW','13AYyxoU','querySelector','28066RziQTz','getSelectColumns','push','basicArgs','select-row-toggle','menu_template','11XYfTFp','getCodeSelectorData','bind','resource-code-selector','selectRecord','19940jfSPcD','align','grist','meta-object-selector','empty','getCodeByEntity','columns','filter','clickSelect','LIST','3706660vDcLEA','filterFields','1674CdeNgU','record','type','string','sorters','filters','tButton','render','57QCIIui','#ox-grist','options','getGristMetaObjectOptions','length','confirmCallback','tText','values','clickEmpty','codeField','gql','entity','includes','left','getCodeByScenario','dispField','search_hidden_fields','define','fetchHandler','5768364fKjBhR','18RQIQlh','menu','gridConfig'];a0_0x19c0=function(){return _0x552387;};return a0_0x19c0();}import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class MetaObjectSelectorPopup extends LitElement{static ['styles']=[CommonGristStyles,ButtonContainerStyles,css`
1
+ const a0_0x727778=a0_0x345b;(function(_0x5d5e54,_0x508bec){const _0x3663ad=a0_0x345b,_0x901479=_0x5d5e54();while(!![]){try{const _0x5a930b=-parseInt(_0x3663ad(0x22a))/0x1*(-parseInt(_0x3663ad(0x21a))/0x2)+parseInt(_0x3663ad(0x223))/0x3*(parseInt(_0x3663ad(0x211))/0x4)+-parseInt(_0x3663ad(0x22c))/0x5*(-parseInt(_0x3663ad(0x202))/0x6)+parseInt(_0x3663ad(0x1eb))/0x7+parseInt(_0x3663ad(0x1f1))/0x8+-parseInt(_0x3663ad(0x1ef))/0x9+-parseInt(_0x3663ad(0x238))/0xa*(parseInt(_0x3663ad(0x225))/0xb);if(_0x5a930b===_0x508bec)break;else _0x901479['push'](_0x901479['shift']());}catch(_0x1cf818){_0x901479['push'](_0x901479['shift']());}}}(a0_0x763e,0xd5d84));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';function a0_0x763e(){const _0x275a8=['options','appendable','10785432bVAYqL','nameField','filter','forEach','12840750DqIuQo','firstUpdated','7470024LRWLRr','styles','GRID','menu','selectRecord','string','getGristColumnConfig2','searchByPagination','clickCancel','after_set_fields','clickEmpty','align','render','left','values','meta-object-selector-popup','NOTHING_SELECTED','10061592DBAqUF','menu_template','getGristMetaObjectOptions','search','push','handlers','codeField','showToast','filterFields','getGristPagination100Config','search_hidden_fields','keys','tButton','codes','meta-','177820RbxDUT','queryName','gridConfig','getCodeByScenario','grist','clickSelect','rows','isArray','querySelector','92446emcWhG','empty','tText','gql','type','basicArgs','select-row-toggle','#ox-grist','confirmCallback','3nIRnQm','sorters','25401915SGHbhW','record','filters','dispField','select','9RWZfBI','getGristSelectableConfig','5FhdJuE','shadowRoot','meta-object-selector','define','getParams','code','hidden','scenario','name','bind','fetchHandler','meta-code-selector','10CLJLlm','connectedCallback','object','length','selected','entity','getCodeByEntity','resource-object','includes'];a0_0x763e=function(){return _0x275a8;};return a0_0x763e();}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';function a0_0x345b(_0x277697,_0x25ccbb){const _0x763e14=a0_0x763e();return a0_0x345b=function(_0x345be4,_0x48fc70){_0x345be4=_0x345be4-0x1e5;let _0x2536e3=_0x763e14[_0x345be4];return _0x2536e3;},a0_0x345b(_0x277697,_0x25ccbb);}export class MetaObjectSelectorPopup extends LitElement{static [a0_0x727778(0x1f2)]=[CommonGristStyles,ButtonContainerStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -17,9 +17,9 @@ const a0_0x501e83=a0_0x3a4c;(function(_0x52b513,_0x316837){const _0xd35057=a0_0x
17
17
  display: flex;
18
18
  margin-left: auto;
19
19
  }
20
- `];async[a0_0x501e83(0xd8)](){const _0x56cd84=a0_0x501e83;this[_0x56cd84(0xd1)]=this[_0x56cd84(0xc3)][_0x56cd84(0xbe)]?this['options'][_0x56cd84(0xbe)]:this['basicArgs']&&this['basicArgs'][_0x56cd84(0xbe)]?this['basicArgs']['filters']:[];let _0x2d1dbe=this[_0x56cd84(0xc3)][_0x56cd84(0xbd)]?this[_0x56cd84(0xc3)][_0x56cd84(0xbd)]:this[_0x56cd84(0xa5)]&&this[_0x56cd84(0xa5)]['sorters']?this[_0x56cd84(0xa5)]['sorters']:[],_0x1697cf=this[_0x56cd84(0xc3)]['filterFields']?this[_0x56cd84(0xc3)][_0x56cd84(0xb8)]:this['options']['menu_template']?.['search']&&this[_0x56cd84(0xc3)][_0x56cd84(0xa7)]?.[_0x56cd84(0xe7)][_0x56cd84(0xc5)]>0x0?this['options'][_0x56cd84(0xa7)]['search']:[],_0x2e023e=this[_0x56cd84(0xc3)]['select'];if(!_0x1697cf||0x0==_0x1697cf[_0x56cd84(0xc5)]){let _0x52030a;this['options'][_0x56cd84(0xca)]&&(_0x52030a=this[_0x56cd84(0xc3)][_0x56cd84(0xca)]),this[_0x56cd84(0xc3)][_0x56cd84(0xdf)]&&(_0x52030a=this[_0x56cd84(0xc3)][_0x56cd84(0xdf)]),_0x52030a&&_0x1697cf['push']({'name':_0x52030a,'operator':'eq'});}let _0x1a3dae=[...MetaApi[_0x56cd84(0xde)](!0x0,!0x1)];if(_0x2e023e&&_0x2e023e[_0x56cd84(0xc5)]>0x0)for(let _0x43b7ac=0x0;_0x43b7ac<_0x2e023e[_0x56cd84(0xc5)];_0x43b7ac++){let {type:_0xee74cd=_0x56cd84(0xbc),name:_0x5188a3,hidden:_0x5d5532=!0x1,record:_0x29ea63={'align':_0x56cd84(0xce)},header:_0x4bf0d8,sortable:_0x923b=!0x1,width:_0xd0a4df=0x87,options:_0x90ff28,select_opt:_0x2255eb,object_opt:_0x470b20}=_0x2e023e[_0x43b7ac];if(_0x2255eb&&(_0x90ff28=_0x2255eb),_0x470b20&&(_0x90ff28=_0x470b20),['resource-object','object'][_0x56cd84(0xcd)](_0xee74cd)?_0xee74cd='meta-object-selector':[_0x56cd84(0xab)]['includes'](_0xee74cd)&&(_0xee74cd=_0x56cd84(0xe9)),'id'==_0x5188a3)_0x1a3dae[_0x56cd84(0xa4)]({'type':_0x56cd84(0xbc),'name':_0x5188a3,'hidden':!0x0});else{let _0x3a2104=MetaApi[_0x56cd84(0xdb)](_0xee74cd,_0x5188a3,_0x4bf0d8||_0x5188a3,_0x29ea63[_0x56cd84(0xae)]?_0x29ea63[_0x56cd84(0xae)]:_0x56cd84(0xce),!0x1,_0x923b,_0xd0a4df);_0xee74cd['startsWith'](_0x56cd84(0xe1))&&_0x470b20&&_0x470b20[_0x56cd84(0xd6)]&&(_0x90ff28=await MetaUiUtil[_0x56cd84(0xc4)](_0xee74cd,_0x90ff28)),'select'===_0xee74cd?Array['isArray'](_0x90ff28)?_0x3a2104[_0x56cd84(0xba)][_0x56cd84(0xc3)]=_0x90ff28:_0x56cd84(0xdc)===_0x90ff28[_0x56cd84(0xbb)]?_0x3a2104[_0x56cd84(0xba)][_0x56cd84(0xc3)]=await ServiceUtil[_0x56cd84(0xa9)](_0x90ff28[_0x56cd84(0xc8)]?_0x90ff28[_0x56cd84(0xc8)]:_0x90ff28['name']):'scenario'===_0x90ff28[_0x56cd84(0xbb)]?_0x3a2104[_0x56cd84(0xba)]['options']=await ServiceUtil[_0x56cd84(0xcf)](_0x90ff28['name'],_0x90ff28['args']):_0x56cd84(0xcc)===_0x90ff28[_0x56cd84(0xbb)]&&(_0x3a2104[_0x56cd84(0xba)]['options']=await ServiceUtil[_0x56cd84(0xb2)](_0x90ff28['args'])):_0x56cd84(0xb0)===_0xee74cd?_0x3a2104[_0x56cd84(0xba)][_0x56cd84(0xc3)]={..._0x90ff28}:_0x56cd84(0xe9)==_0xee74cd&&(_0x90ff28[_0x56cd84(0xd0)]&&(_0x90ff28['codes']=await ServiceUtil[_0x56cd84(0xb2)](_0x90ff28)),_0x3a2104['record'][_0x56cd84(0xc3)]={..._0x90ff28}),_0x3a2104['hidden']=_0x5d5532,_0x1a3dae['push'](_0x3a2104);}}else _0x1a3dae[_0x56cd84(0xa4)](MetaApi[_0x56cd84(0xdb)]('string',this['options']['codeField'],this['options']['codeField'],_0x56cd84(0xce),!0x1,!0x0,0xb4)),this[_0x56cd84(0xc3)][_0x56cd84(0xd0)]&&_0x1a3dae[_0x56cd84(0xa4)](MetaApi[_0x56cd84(0xdb)](_0x56cd84(0xbc),this[_0x56cd84(0xc3)][_0x56cd84(0xd0)],this[_0x56cd84(0xc3)][_0x56cd84(0xd0)],_0x56cd84(0xce),!0x1,!0x0,0x12c));_0x1a3dae[_0x56cd84(0xe3)](_0x85f29a=>{const _0x50512a=_0x56cd84;let _0x2340b3=_0x1697cf[_0x50512a(0xb4)](_0x1ef24a=>_0x50512a(0xbc)==typeof _0x1ef24a?_0x85f29a[_0x50512a(0xda)]==_0x1ef24a:_0x85f29a[_0x50512a(0xda)]==_0x1ef24a[_0x50512a(0xda)]);_0x2340b3&&_0x2340b3['length']>0x0&&(_0x85f29a[_0x50512a(0xb4)]='string'==typeof _0x2340b3[0x0]?_0x50512a(0xe7):_0x2340b3[0x0]);});let _0xb96df1={'rows':MetaApi['getGristSelectableConfig'](!0x1),'pagination':MetaApi['getGristPagination100Config'](),'columns':_0x1a3dae,'sorters':[..._0x2d1dbe]};_0xb96df1['rows'][_0x56cd84(0xe8)]={'click':_0x56cd84(0xa6),'dblclick':(_0x4553e4,_0x2fe34a,_0x13ad15,_0x48608d,_0x573dec,_0x3b53e2)=>{const _0x364dcd=_0x56cd84;this[_0x364dcd(0xac)](_0x48608d);}},_0xb96df1['rows'][_0x56cd84(0xea)]=!0x1,this[_0x56cd84(0xd7)]=_0xb96df1,await super[_0x56cd84(0xd8)]();}async[a0_0x501e83(0xe6)](){await super['firstUpdated']();}[a0_0x501e83(0xc0)](){const _0x517509=a0_0x501e83;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x517509(0xd7)]} .mode=${isMobileDevice()?_0x517509(0xb6):'GRID'} auto-fetch
22
- .fetchHandler=${this[_0x517509(0xd3)][_0x517509(0xaa)](this)}>
20
+ `];async[a0_0x727778(0x239)](){const _0x4ecd5d=a0_0x727778;this[_0x4ecd5d(0x20c)]=this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x227)]?this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x227)]:this[_0x4ecd5d(0x21f)]&&this['basicArgs']['filters']?this['basicArgs'][_0x4ecd5d(0x227)]:[];let _0x32d0ef=this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x224)]?this[_0x4ecd5d(0x1e9)]['sorters']:this[_0x4ecd5d(0x21f)]&&this[_0x4ecd5d(0x21f)][_0x4ecd5d(0x224)]?this[_0x4ecd5d(0x21f)][_0x4ecd5d(0x224)]:[],_0x291d90=this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x20a)]?this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x20a)]:this['options']['menu_template']?.['search']&&this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x203)]?.['search'][_0x4ecd5d(0x23b)]>0x0?this['options'][_0x4ecd5d(0x203)][_0x4ecd5d(0x205)]:[],_0x39fda3=this[_0x4ecd5d(0x1e9)]['select'];if(!_0x291d90||0x0==_0x291d90['length']){let _0x3b809f;this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x208)]&&(_0x3b809f=this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x208)]),this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x1ec)]&&(_0x3b809f=this[_0x4ecd5d(0x1e9)]['nameField']),_0x3b809f&&_0x291d90['push']({'name':_0x3b809f,'operator':'eq'});}let _0x304ae9=[...MetaApi['getGristGuttersConfig'](!0x0,!0x1)];if(_0x39fda3&&_0x39fda3[_0x4ecd5d(0x23b)]>0x0)for(let _0x21b5de=0x0;_0x21b5de<_0x39fda3[_0x4ecd5d(0x23b)];_0x21b5de++){let {type:_0x3140d8=_0x4ecd5d(0x1f6),name:_0x179215,hidden:_0x4d07f6=!0x1,record:_0x22010d={'align':_0x4ecd5d(0x1fe)},header:_0x376159,sortable:_0x4dd0d7=!0x1,width:_0x4efd56=0x87,options:_0x851272,select_opt:_0x36a575,object_opt:_0x2ce451}=_0x39fda3[_0x21b5de];if(_0x36a575&&(_0x851272=_0x36a575),_0x2ce451&&(_0x851272=_0x2ce451),[_0x4ecd5d(0x1e7),_0x4ecd5d(0x23a)][_0x4ecd5d(0x1e8)](_0x3140d8)?_0x3140d8=_0x4ecd5d(0x22e):['resource-code-selector'][_0x4ecd5d(0x1e8)](_0x3140d8)&&(_0x3140d8=_0x4ecd5d(0x237)),'id'==_0x179215)_0x304ae9[_0x4ecd5d(0x206)]({'type':'string','name':_0x179215,'hidden':!0x0});else{let _0x4c62fd=MetaApi[_0x4ecd5d(0x1f7)](_0x3140d8,_0x179215,_0x376159||_0x179215,_0x22010d[_0x4ecd5d(0x1fc)]?_0x22010d[_0x4ecd5d(0x1fc)]:'left',!0x1,_0x4dd0d7,_0x4efd56);_0x3140d8['startsWith'](_0x4ecd5d(0x210))&&_0x2ce451&&_0x2ce451[_0x4ecd5d(0x1f4)]&&(_0x851272=await MetaUiUtil[_0x4ecd5d(0x204)](_0x3140d8,_0x851272)),_0x4ecd5d(0x229)===_0x3140d8?Array[_0x4ecd5d(0x218)](_0x851272)?_0x4c62fd[_0x4ecd5d(0x226)][_0x4ecd5d(0x1e9)]=_0x851272:_0x4ecd5d(0x231)===_0x851272[_0x4ecd5d(0x21e)]?_0x4c62fd['record'][_0x4ecd5d(0x1e9)]=await ServiceUtil['getCodeSelectorData'](_0x851272['values']?_0x851272[_0x4ecd5d(0x1ff)]:_0x851272[_0x4ecd5d(0x234)]):_0x4ecd5d(0x233)===_0x851272[_0x4ecd5d(0x21e)]?_0x4c62fd[_0x4ecd5d(0x226)][_0x4ecd5d(0x1e9)]=await ServiceUtil[_0x4ecd5d(0x214)](_0x851272['name'],_0x851272['args']):_0x4ecd5d(0x1e5)===_0x851272[_0x4ecd5d(0x21e)]&&(_0x4c62fd[_0x4ecd5d(0x226)][_0x4ecd5d(0x1e9)]=await ServiceUtil[_0x4ecd5d(0x1e6)](_0x851272['args'])):_0x4ecd5d(0x22e)===_0x3140d8?_0x4c62fd[_0x4ecd5d(0x226)][_0x4ecd5d(0x1e9)]={..._0x851272}:_0x4ecd5d(0x237)==_0x3140d8&&(_0x851272[_0x4ecd5d(0x228)]&&(_0x851272[_0x4ecd5d(0x20f)]=await ServiceUtil[_0x4ecd5d(0x1e6)](_0x851272)),_0x4c62fd['record']['options']={..._0x851272}),_0x4c62fd[_0x4ecd5d(0x232)]=_0x4d07f6,_0x304ae9[_0x4ecd5d(0x206)](_0x4c62fd);}}else _0x304ae9[_0x4ecd5d(0x206)](MetaApi[_0x4ecd5d(0x1f7)](_0x4ecd5d(0x1f6),this['options'][_0x4ecd5d(0x208)],this['options'][_0x4ecd5d(0x208)],_0x4ecd5d(0x1fe),!0x1,!0x0,0xb4)),this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x228)]&&_0x304ae9[_0x4ecd5d(0x206)](MetaApi['getGristColumnConfig2'](_0x4ecd5d(0x1f6),this[_0x4ecd5d(0x1e9)][_0x4ecd5d(0x228)],this[_0x4ecd5d(0x1e9)]['dispField'],_0x4ecd5d(0x1fe),!0x1,!0x0,0x12c));_0x304ae9[_0x4ecd5d(0x1ee)](_0x46fb41=>{const _0x402f47=_0x4ecd5d;let _0x40020f=_0x291d90['filter'](_0x3e61b3=>_0x402f47(0x1f6)==typeof _0x3e61b3?_0x46fb41[_0x402f47(0x234)]==_0x3e61b3:_0x46fb41[_0x402f47(0x234)]==_0x3e61b3[_0x402f47(0x234)]);_0x40020f&&_0x40020f[_0x402f47(0x23b)]>0x0&&(_0x46fb41[_0x402f47(0x1ed)]='string'==typeof _0x40020f[0x0]?_0x402f47(0x205):_0x40020f[0x0]);});let _0x576fad={'rows':MetaApi[_0x4ecd5d(0x22b)](!0x1),'pagination':MetaApi[_0x4ecd5d(0x20b)](),'columns':_0x304ae9,'sorters':[..._0x32d0ef]};_0x576fad['rows'][_0x4ecd5d(0x207)]={'click':_0x4ecd5d(0x220),'dblclick':(_0x55b979,_0x57403c,_0x290380,_0x37e7b9,_0x35a910,_0x13db98)=>{this['selectRecord'](_0x37e7b9);}},_0x576fad[_0x4ecd5d(0x217)][_0x4ecd5d(0x1ea)]=!0x1,this['gridConfig']=_0x576fad,await super[_0x4ecd5d(0x239)]();}async[a0_0x727778(0x1f0)](){const _0x26e70d=a0_0x727778;await super[_0x26e70d(0x1f0)]();}[a0_0x727778(0x1fd)](){const _0x2e5888=a0_0x727778;return html`
21
+ <ox-grist id="ox-grist" .config=${this['gridConfig']} .mode=${isMobileDevice()?'LIST':_0x2e5888(0x1f3)} auto-fetch
22
+ .fetchHandler=${this[_0x2e5888(0x236)]['bind'](this)}>
23
23
  <div slot="headroom">
24
24
  <div id="filters">
25
25
  <ox-filters-form></ox-filters-form>
@@ -27,14 +27,14 @@ const a0_0x501e83=a0_0x3a4c;(function(_0x52b513,_0x316837){const _0xd35057=a0_0x
27
27
  </div>
28
28
  </ox-grist>
29
29
  <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x517509(0xbf)](_0x517509(0xb1))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x517509(0xc9)][_0x517509(0xaa)](this)}>
30
+ <mwc-button raised label="${TermsUtil[_0x2e5888(0x20e)](_0x2e5888(0x21b))}" style="margin-left:7px;margin-top:7px;"
31
+ @click=${this[_0x2e5888(0x1fb)]['bind'](this)}>
32
32
  </mwc-button>
33
- <mwc-button raised label="${TermsUtil['tButton']('cancel')}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this[_0x517509(0xd9)]['bind'](this)}>
33
+ <mwc-button raised label="${TermsUtil[_0x2e5888(0x20e)]('cancel')}" style="margin-left:7px;margin-top:7px;"
34
+ @click=${this[_0x2e5888(0x1f9)]['bind'](this)}>
35
35
  </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x517509(0xbf)]('select')}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this[_0x517509(0xb5)][_0x517509(0xaa)](this)}>
36
+ <mwc-button raised label="${TermsUtil[_0x2e5888(0x20e)](_0x2e5888(0x229))}" style="margin-left:7px;margin-top:7px;"
37
+ @click=${this[_0x2e5888(0x216)][_0x2e5888(0x235)](this)}>
38
38
  </mwc-button>
39
39
  </div>
40
- `;}get['grist'](){const _0x396bed=a0_0x501e83;return this['shadowRoot'][_0x396bed(0xed)](_0x396bed(0xc2));}async[a0_0x501e83(0xd3)]({page:_0x28a61d=0x0,limit:_0x5b0704=0x0,sorters:_0x1929fd=[],filters:_0x3c4077=[]}){const _0x4a6ad9=a0_0x501e83;let _0x42a97f=[...this[_0x4a6ad9(0xd1)]];_0x3c4077['forEach'](_0x193a75=>{const _0x28a44d=_0x4a6ad9;let _0x2e1cca=_0x42a97f[_0x28a44d(0xb4)](_0x31b662=>_0x193a75[_0x28a44d(0xda)]==_0x31b662[_0x28a44d(0xda)]);_0x2e1cca&&_0x2e1cca['length']>0x0&&delete _0x42a97f[_0x193a75[_0x28a44d(0xda)]],_0x42a97f['push'](_0x193a75);});let _0x409bf3=ValueUtil[_0x4a6ad9(0xe5)](this['options'][_0x4a6ad9(0xa7)]&&this[_0x4a6ad9(0xc3)][_0x4a6ad9(0xa7)][_0x4a6ad9(0xcb)]||{},'query',_0x4a6ad9(0xe4)),_0x28a93f=Object['keys'](_0x409bf3||{}),_0xacad66=MetaApi[_0x4a6ad9(0xef)](this[_0x4a6ad9(0xd7)][_0x4a6ad9(0xb3)][_0x4a6ad9(0xb4)](_0x16eea3=>!_0x28a93f[_0x4a6ad9(0xcd)](_0x16eea3[_0x4a6ad9(0xda)])));return await MetaApi[_0x4a6ad9(0xe2)](this[_0x4a6ad9(0xc3)]['queryName'],_0x42a97f,_0x1929fd,_0x28a61d,_0x5b0704,_0xacad66);}async[a0_0x501e83(0xc9)](_0x54a0cf){const _0x21611e=a0_0x501e83;this[_0x21611e(0xc6)]&&this['confirmCallback'](null),closePopup(this);}async[a0_0x501e83(0xd9)](_0x3b224a){closePopup(this);}async[a0_0x501e83(0xb5)](_0x42eb0c){const _0x47dfc0=a0_0x501e83;let _0x414aaf=this[_0x47dfc0(0xaf)]['selected'];_0x414aaf&&0x0!=_0x414aaf[_0x47dfc0(0xc5)]?this['selectRecord'](_0x414aaf[0x0]):MetaApi['showToast']('info',TermsUtil[_0x47dfc0(0xc7)]('NOTHING_SELECTED'));}async[a0_0x501e83(0xac)](_0x389664){const _0x20dac9=a0_0x501e83;this['confirmCallback']&&this[_0x20dac9(0xc6)](_0x389664),closePopup(this);}}customElements[a0_0x501e83(0xd2)]('meta-object-selector-popup',MetaObjectSelectorPopup);
40
+ `;}get[a0_0x727778(0x215)](){const _0x6c10ba=a0_0x727778;return this[_0x6c10ba(0x22d)][_0x6c10ba(0x219)](_0x6c10ba(0x221));}async[a0_0x727778(0x236)]({page:_0x5cbbe8=0x0,limit:_0x26c33e=0x0,sorters:_0x217ec1=[],filters:_0x20fd55=[]}){const _0x5c86b3=a0_0x727778;let _0x36136b=[...this[_0x5c86b3(0x20c)]];_0x20fd55[_0x5c86b3(0x1ee)](_0x8d64c9=>{const _0xe9f412=_0x5c86b3;let _0x471815=_0x36136b['filter'](_0x3bea7b=>_0x8d64c9[_0xe9f412(0x234)]==_0x3bea7b[_0xe9f412(0x234)]);_0x471815&&_0x471815[_0xe9f412(0x23b)]>0x0&&delete _0x36136b[_0x8d64c9['name']],_0x36136b[_0xe9f412(0x206)](_0x8d64c9);});let _0x5d4bbd=ValueUtil[_0x5c86b3(0x230)](this['options'][_0x5c86b3(0x203)]&&this[_0x5c86b3(0x1e9)][_0x5c86b3(0x203)][_0x5c86b3(0x21d)]||{},'query',_0x5c86b3(0x1fa)),_0x3480c4=Object[_0x5c86b3(0x20d)](_0x5d4bbd||{}),_0x53a7af=MetaApi['getSelectColumns'](this[_0x5c86b3(0x213)]['columns'][_0x5c86b3(0x1ed)](_0x2d9e39=>!_0x3480c4[_0x5c86b3(0x1e8)](_0x2d9e39['name'])));return await MetaApi[_0x5c86b3(0x1f8)](this['options'][_0x5c86b3(0x212)],_0x36136b,_0x217ec1,_0x5cbbe8,_0x26c33e,_0x53a7af);}async['clickEmpty'](_0x326423){const _0x176efd=a0_0x727778;this['confirmCallback']&&this[_0x176efd(0x222)](null),closePopup(this);}async[a0_0x727778(0x1f9)](_0x24aaed){closePopup(this);}async[a0_0x727778(0x216)](_0x29aedc){const _0x5928bf=a0_0x727778;let _0x4b7549=this['grist'][_0x5928bf(0x23c)];_0x4b7549&&0x0!=_0x4b7549[_0x5928bf(0x23b)]?this[_0x5928bf(0x1f5)](_0x4b7549[0x0]):MetaApi[_0x5928bf(0x209)]('info',TermsUtil[_0x5928bf(0x21c)](_0x5928bf(0x201)));}async[a0_0x727778(0x1f5)](_0x2516e6){const _0x272e47=a0_0x727778;this['confirmCallback']&&this[_0x272e47(0x222)](_0x2516e6),closePopup(this);}}customElements[a0_0x727778(0x22f)](a0_0x727778(0x200),MetaObjectSelectorPopup);
package/client/index.js CHANGED
@@ -37,5 +37,5 @@ export * from './pages/meta-tab-detail-page'
37
37
  export * from './pages/meta-main-tab-page'
38
38
  export * from './pages/meta-main-tab-element'
39
39
 
40
-
41
-
40
+ /* Component */
41
+ export * from './component/popup/file-upload-popup'
@@ -1 +1 @@
1
- const a0_0x5ba90d=a0_0x267f;function a0_0x3861(){const _0x4d7baf=['8913656tGtGjh','fieldChangeHandlers','openDynamicPopup','name','310NMfxJB','toLowerCase','executeCallScenarioButtonClick','includes','isNotEmpty','callScenario','parent_id','parseBasicButtonConfigs','parseBasicServiceConfigs','detail','2289792eEHGYb','1237635IEofrR','is_detail','fetchHandler','params','220XHJPnw','getParams','startsWith','isDetail','grist','addEventListener','3037055qcutLY','dispatchEvent','12PEEAmP','excuteOpenPopupButtonClick','filterForm','keys','fetch','field-change','body','meta-form-','etcConfig','form-field-change','getAndParseMenuMeta','runScenario','tagName','isPage','335007rbUxyJ','pageUpdated','result','1456000sVfPRk','7YWIaAJ','is_popup','isPopup','parseBasicTabConfigs','menuInfo','3dSdmun','parseBasicFormConfigs','isEmpty','dataChangeEventHandler','data','data-changed','menu','lifecycle','forEach','active','connectedCallback','1039058HMhHRD','title_detail'];a0_0x3861=function(){return _0x4d7baf;};return a0_0x3861();}(function(_0x2c701d,_0x19a4ca){const _0x3f6bab=a0_0x267f,_0x2acbd9=_0x2c701d();while(!![]){try{const _0x5d6139=parseInt(_0x3f6bab(0xcd))/0x1+parseInt(_0x3f6bab(0xbc))/0x2*(-parseInt(_0x3f6bab(0xf0))/0x3)+-parseInt(_0x3f6bab(0xea))/0x4+-parseInt(_0x3f6bab(0xd7))/0x5*(parseInt(_0x3f6bab(0xd9))/0x6)+-parseInt(_0x3f6bab(0xeb))/0x7*(parseInt(_0x3f6bab(0xbe))/0x8)+parseInt(_0x3f6bab(0xe7))/0x9*(-parseInt(_0x3f6bab(0xc2))/0xa)+-parseInt(_0x3f6bab(0xd1))/0xb*(-parseInt(_0x3f6bab(0xcc))/0xc);if(_0x5d6139===_0x19a4ca)break;else _0x2acbd9['push'](_0x2acbd9['shift']());}catch(_0x22c13c){_0x2acbd9['push'](_0x2acbd9['shift']());}}}(a0_0x3861,0xa7d7c));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';function a0_0x267f(_0x3e2153,_0x484615){const _0x3861e6=a0_0x3861();return a0_0x267f=function(_0x267f6c,_0x556383){_0x267f6c=_0x267f6c-0xb2;let _0x48d770=_0x3861e6[_0x267f6c];return _0x48d770;},a0_0x267f(_0x3e2153,_0x484615);}export const MetaBaseMixin=_0x8c33c5=>class extends _0x8c33c5{static get['properties'](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x118f5c=>Boolean(_0x118f5c)},'is_popup':{'type':Boolean,'converter':_0x40715e=>Boolean(_0x40715e)},'is_activity':{'type':Boolean,'converter':_0x34c5db=>Boolean(_0x34c5db)},'is_readonly':{'type':Boolean,'converter':_0x405f65=>Boolean(_0x405f65)}};}get['isElement'](){const _0x3e4e46=a0_0x267f;return!0x0===this[_0x3e4e46(0xce)]||!0x0===this[_0x3e4e46(0xec)];}get[a0_0x5ba90d(0xd4)](){const _0x5d2e67=a0_0x5ba90d;return!ValueUtil[_0x5d2e67(0xb3)](this[_0x5d2e67(0xce)])&&this[_0x5d2e67(0xce)];}async[a0_0x5ba90d(0xb4)](_0x4053cc){const _0x4df873=a0_0x5ba90d;let {after:_0x4c168c,before:_0x3f066d,column:_0x1e129f,record:_0x115595,row:_0x2a8500}=_0x4053cc[_0x4df873(0xcb)],_0x4d3f85=_0x1e129f['name'];if(Object['keys'](this[_0x4df873(0xbf)]||{})[_0x4df873(0xc5)](_0x4d3f85)){let _0x54a10d,_0x1c56fe=(await MetaApi['callScenario'](void 0x0,this[_0x4df873(0xbf)][_0x4d3f85],{'columnName':_0x4d3f85,'column':_0x1e129f,'record':_0x115595,'after':_0x4c168c,'before':_0x3f066d,'row':_0x2a8500,'parentId':this[_0x4df873(0xc8)]?this[_0x4df873(0xc8)]:''},!0x1))[_0x4df873(0xb5)][_0x4df873(0xe4)][_0x4df873(0xe9)][_0x4df873(0xe9)];if(!_0x1c56fe)return;_0x54a10d=this[_0x4df873(0xd5)]?this['grist'][_0x4df873(0xd5)][_0x4df873(0xdf)]:this,Object[_0x4df873(0xdc)](_0x1c56fe)[_0x4df873(0xb9)](_0xab9422=>{const _0x5a0b2a=_0x4df873;_0x54a10d[_0x5a0b2a(0xd8)](new CustomEvent(_0x5a0b2a(0xde),{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x115595,'row':_0x2a8500,'after':_0x1c56fe[_0xab9422],'before':_0x115595[_0xab9422],'column':{'name':_0xab9422}}}));});}this[_0x4df873(0xd8)](new CustomEvent(_0x4df873(0xb6),{'bubbles':!0x0,'composed':!0x0,'detail':_0x4053cc[_0x4df873(0xcb)]}));}async[a0_0x5ba90d(0xbb)](){const _0x591483=a0_0x5ba90d;super[_0x591483(0xbb)]&&await super[_0x591483(0xbb)](),this[_0x591483(0xe5)][_0x591483(0xc3)]()[_0x591483(0xd3)](_0x591483(0xe0))?this[_0x591483(0xd6)](_0x591483(0xe2),async _0x583eaa=>{await this['dataChangeEventHandler'](_0x583eaa);}):this[_0x591483(0xd6)](_0x591483(0xde),async _0x5b8bfd=>{const _0x52c917=_0x591483;await this[_0x52c917(0xb4)](_0x5b8bfd);});}async[a0_0x5ba90d(0xe8)](_0x42608c,_0x51f08e,_0x572c3a){const _0xf84cba=a0_0x5ba90d;let _0x4a8175=this[_0xf84cba(0xb8)]?.[_0xf84cba(0xd0)]?this[_0xf84cba(0xb8)][_0xf84cba(0xd0)]:{};this[_0xf84cba(0xe6)]&&this[_0xf84cba(0xba)]&&0x0==_0x572c3a[_0xf84cba(0xba)]&&ValueUtil[_0xf84cba(0xc6)](_0x4a8175)&&this['fetch']();}get[a0_0x5ba90d(0xed)](){const _0x258b18=a0_0x5ba90d;return!ValueUtil[_0x258b18(0xb3)](this[_0x258b18(0xec)])&&this['is_popup'];}get[a0_0x5ba90d(0xe6)](){return!this['is_detail']&&!this['is_popup'];}async[a0_0x5ba90d(0xe3)](){const _0x4ccec8=a0_0x5ba90d;let _0x9cf9c1=await MetaApi['getMenuMeta'](this);_0x9cf9c1&&(this[_0x4ccec8(0xef)]=_0x9cf9c1[_0x4ccec8(0xb7)],this[_0x4ccec8(0xe1)]=_0x9cf9c1['etc'],this['parseBasicGridConfigs']&&this['parseBasicGridConfigs'](_0x9cf9c1),this[_0x4ccec8(0xca)]&&this[_0x4ccec8(0xca)](_0x9cf9c1),this[_0x4ccec8(0xb2)]&&this[_0x4ccec8(0xb2)](_0x9cf9c1),this[_0x4ccec8(0xee)]&&this['parseBasicTabConfigs'](_0x9cf9c1),this['parseBasicButtonConfigs']&&this[_0x4ccec8(0xc9)](_0x9cf9c1));}async[a0_0x5ba90d(0xdd)](){const _0x21e8e6=a0_0x5ba90d;ValueUtil[_0x21e8e6(0xc6)](this['grist'])?this[_0x21e8e6(0xd5)]['fetch']():(ValueUtil['isNotEmpty'](this[_0x21e8e6(0xdb)])||this[_0x21e8e6(0xcf)])&&await this['fetchHandler']();}async[a0_0x5ba90d(0xda)](_0x5434ea,_0x34bfc2,_0x5af004){const _0x169c64=a0_0x5ba90d;let _0x576f33=TermsUtil['tTitle'](_0x5434ea['title']);ValueUtil[_0x169c64(0xc6)](_0x5434ea[_0x169c64(0xbd)])&&(_0x576f33=_0x576f33+'-'+ValueUtil[_0x169c64(0xd2)](_0x34bfc2,..._0x5434ea[_0x169c64(0xbd)]['split']('.'))),MetaApi[_0x169c64(0xc0)](_0x576f33,_0x5434ea,_0x34bfc2,_0x5af004);}async[a0_0x5ba90d(0xc4)](_0xae2ad,_0x244ec1,_0x36fa70){const _0x54e085=a0_0x5ba90d;let _0x48b8c1=await MetaApi[_0x54e085(0xc7)](_0xae2ad[_0x54e085(0xc1)],_0xae2ad[_0x54e085(0xc1)],_0x244ec1);!0x1!==_0x48b8c1&&!_0x48b8c1['errors']&&ValueUtil[_0x54e085(0xc6)](_0xae2ad['after'])&&_0x36fa70();}['setParentId'](_0x371df7){const _0xa194f4=a0_0x5ba90d;this['parent_id']=_0x371df7,this[_0xa194f4(0xdd)]();}};
1
+ const a0_0x3b8753=a0_0x12bb;function a0_0x12bb(_0x13a4a3,_0x217810){const _0x458960=a0_0x4589();return a0_0x12bb=function(_0x12bb8d,_0x4ee91b){_0x12bb8d=_0x12bb8d-0x143;let _0x1e899a=_0x458960[_0x12bb8d];return _0x1e899a;},a0_0x12bb(_0x13a4a3,_0x217810);}(function(_0x2c11a4,_0x5170cc){const _0x5cccb2=a0_0x12bb,_0x282446=_0x2c11a4();while(!![]){try{const _0x458bdd=parseInt(_0x5cccb2(0x14d))/0x1+parseInt(_0x5cccb2(0x167))/0x2*(parseInt(_0x5cccb2(0x182))/0x3)+parseInt(_0x5cccb2(0x184))/0x4+parseInt(_0x5cccb2(0x15f))/0x5*(parseInt(_0x5cccb2(0x166))/0x6)+-parseInt(_0x5cccb2(0x178))/0x7*(-parseInt(_0x5cccb2(0x143))/0x8)+parseInt(_0x5cccb2(0x16a))/0x9*(-parseInt(_0x5cccb2(0x17c))/0xa)+-parseInt(_0x5cccb2(0x156))/0xb;if(_0x458bdd===_0x5170cc)break;else _0x282446['push'](_0x282446['shift']());}catch(_0x391365){_0x282446['push'](_0x282446['shift']());}}}(a0_0x4589,0xbf165));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x4589(){const _0x30d845=['parseBasicServiceConfigs','isNotEmpty','setParentId','openDynamicPopup','runScenario','dispatchEvent','after','menu','parseBasicGridConfigs','14jfWrpw','getMenuMeta','isPopup','addEventListener','1970kLhUNB','name','is_popup','meta-form-','callScenario','fetch','4085589IlnMkS','detail','1973108egthNG','toLowerCase','4008456KHasML','parseBasicFormConfigs','pageUpdated','filterForm','params','startsWith','parent_id','parseBasicTabConfigs','keys','active','179144yjAlzD','etc','etcConfig','tTitle','properties','title_detail','is_detail','data-changed','result','37767774YTYipi','split','getParams','excuteOpenPopupButtonClick','connectedCallback','fetchHandler','body','isEmpty','includes','115JsDUjq','dataChangeEventHandler','parseBasicButtonConfigs','forEach','tagName','executeCallScenarioButtonClick','data','321888EzPokO','2ZhVwLV','lifecycle','isPage','2475USUZAw','grist','getAndParseMenuMeta','fieldChangeHandlers','isElement'];a0_0x4589=function(){return _0x30d845;};return a0_0x4589();}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0xb61478=>class extends _0xb61478{static get[a0_0x3b8753(0x151)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x35f509=>Boolean(_0x35f509)},'is_popup':{'type':Boolean,'converter':_0x5ecc35=>Boolean(_0x5ecc35)},'is_activity':{'type':Boolean,'converter':_0x317cd5=>Boolean(_0x317cd5)},'is_readonly':{'type':Boolean,'converter':_0x5d8b9e=>Boolean(_0x5d8b9e)}};}get[a0_0x3b8753(0x16e)](){const _0x18a8c9=a0_0x3b8753;return!0x0===this[_0x18a8c9(0x153)]||!0x0===this[_0x18a8c9(0x17e)];}get['isDetail'](){const _0xef4b63=a0_0x3b8753;return!ValueUtil[_0xef4b63(0x15d)](this[_0xef4b63(0x153)])&&this[_0xef4b63(0x153)];}async['dataChangeEventHandler'](_0xe4197a){const _0x51421f=a0_0x3b8753;let {after:_0x22b465,before:_0x40e05c,column:_0x24d440,record:_0x3efb41,row:_0x4449f8}=_0xe4197a[_0x51421f(0x183)],_0x526b12=_0x24d440[_0x51421f(0x17d)];if(Object['keys'](this[_0x51421f(0x16d)]||{})[_0x51421f(0x15e)](_0x526b12)){let _0x1fa19d,_0x5587fa=(await MetaApi[_0x51421f(0x180)](void 0x0,this[_0x51421f(0x16d)][_0x526b12],{'columnName':_0x526b12,'column':_0x24d440,'record':_0x3efb41,'after':_0x22b465,'before':_0x40e05c,'row':_0x4449f8,'parentId':this['parent_id']?this['parent_id']:''},!0x1))[_0x51421f(0x165)][_0x51421f(0x173)]['result'][_0x51421f(0x155)];if(!_0x5587fa)return;_0x1fa19d=this[_0x51421f(0x16b)]?this[_0x51421f(0x16b)][_0x51421f(0x16b)][_0x51421f(0x15c)]:this,Object[_0x51421f(0x14b)](_0x5587fa)[_0x51421f(0x162)](_0x2cd5a4=>{const _0x45e084=_0x51421f;_0x1fa19d[_0x45e084(0x174)](new CustomEvent('field-change',{'bubbles':!0x0,'composed':!0x0,'detail':{'record':_0x3efb41,'row':_0x4449f8,'after':_0x5587fa[_0x2cd5a4],'before':_0x3efb41[_0x2cd5a4],'column':{'name':_0x2cd5a4}}}));});}this[_0x51421f(0x174)](new CustomEvent(_0x51421f(0x154),{'bubbles':!0x0,'composed':!0x0,'detail':_0xe4197a[_0x51421f(0x183)]}));}async['connectedCallback'](){const _0x1b143d=a0_0x3b8753;super['connectedCallback']&&await super[_0x1b143d(0x15a)](),this[_0x1b143d(0x163)][_0x1b143d(0x185)]()[_0x1b143d(0x148)](_0x1b143d(0x17f))?this['addEventListener']('form-field-change',async _0x422169=>{const _0x22ca91=_0x1b143d;await this[_0x22ca91(0x160)](_0x422169);}):this[_0x1b143d(0x17b)]('field-change',async _0x5eed39=>{const _0x27f3aa=_0x1b143d;await this[_0x27f3aa(0x160)](_0x5eed39);});}async[a0_0x3b8753(0x145)](_0x4a19cd,_0x21cc3f,_0x568182){const _0x25cb2e=a0_0x3b8753;let _0x4f0feb=this['lifecycle']?.[_0x25cb2e(0x147)]?this[_0x25cb2e(0x168)][_0x25cb2e(0x147)]:{};this[_0x25cb2e(0x169)]&&this[_0x25cb2e(0x14c)]&&0x0==_0x568182['active']&&ValueUtil[_0x25cb2e(0x170)](_0x4f0feb)&&this[_0x25cb2e(0x181)]();}get[a0_0x3b8753(0x17a)](){const _0x1b4b7f=a0_0x3b8753;return!ValueUtil[_0x1b4b7f(0x15d)](this[_0x1b4b7f(0x17e)])&&this[_0x1b4b7f(0x17e)];}get['isPage'](){const _0x16c843=a0_0x3b8753;return!this['is_detail']&&!this[_0x16c843(0x17e)];}async[a0_0x3b8753(0x16c)](){const _0x32415f=a0_0x3b8753;let _0x426e13=await MetaApi[_0x32415f(0x179)](this);_0x426e13&&(this['menuInfo']=_0x426e13[_0x32415f(0x176)],this[_0x32415f(0x14f)]=_0x426e13[_0x32415f(0x14e)],this[_0x32415f(0x177)]&&this[_0x32415f(0x177)](_0x426e13),this['parseBasicServiceConfigs']&&this[_0x32415f(0x16f)](_0x426e13),this[_0x32415f(0x144)]&&this[_0x32415f(0x144)](_0x426e13),this[_0x32415f(0x14a)]&&this[_0x32415f(0x14a)](_0x426e13),this[_0x32415f(0x161)]&&this[_0x32415f(0x161)](_0x426e13));}async[a0_0x3b8753(0x181)](){const _0xa295e3=a0_0x3b8753;ValueUtil['isNotEmpty'](this[_0xa295e3(0x16b)])?this[_0xa295e3(0x16b)][_0xa295e3(0x181)]():(ValueUtil[_0xa295e3(0x170)](this[_0xa295e3(0x146)])||this[_0xa295e3(0x15b)])&&await this['fetchHandler']();}async[a0_0x3b8753(0x159)](_0x33ddd8,_0x4f35fb,_0x86ffaa){const _0x253a98=a0_0x3b8753;let _0x188458=TermsUtil[_0x253a98(0x150)](_0x33ddd8['title']);ValueUtil[_0x253a98(0x170)](_0x33ddd8[_0x253a98(0x152)])&&(_0x188458=_0x188458+'-'+ValueUtil[_0x253a98(0x158)](_0x4f35fb,..._0x33ddd8[_0x253a98(0x152)][_0x253a98(0x157)]('.'))),MetaApi[_0x253a98(0x172)](_0x188458,_0x33ddd8,_0x4f35fb,_0x86ffaa);}async[a0_0x3b8753(0x164)](_0x51ed33,_0x585c1f,_0x3a45ea){const _0x4b49ef=a0_0x3b8753;let _0xc3cec3=await MetaApi['callScenario'](_0x51ed33['name'],_0x51ed33[_0x4b49ef(0x17d)],_0x585c1f);!0x1!==_0xc3cec3&&!_0xc3cec3['errors']&&ValueUtil[_0x4b49ef(0x170)](_0x51ed33[_0x4b49ef(0x175)])&&_0x3a45ea();}[a0_0x3b8753(0x171)](_0x411432){const _0x54225c=a0_0x3b8753;this[_0x54225c(0x149)]=_0x411432,this[_0x54225c(0x181)]();}};
@@ -1,4 +1,4 @@
1
- const a0_0x2cfb1f=a0_0x1416;(function(_0x2a528f,_0x54fde7){const _0x390833=a0_0x1416,_0x41adaf=_0x2a528f();while(!![]){try{const _0x571130=-parseInt(_0x390833(0x19b))/0x1*(parseInt(_0x390833(0x1b8))/0x2)+-parseInt(_0x390833(0x1c3))/0x3*(-parseInt(_0x390833(0x1bf))/0x4)+parseInt(_0x390833(0x191))/0x5+-parseInt(_0x390833(0x1c7))/0x6+-parseInt(_0x390833(0x194))/0x7*(-parseInt(_0x390833(0x1ae))/0x8)+-parseInt(_0x390833(0x196))/0x9+parseInt(_0x390833(0x1bd))/0xa;if(_0x571130===_0x54fde7)break;else _0x41adaf['push'](_0x41adaf['shift']());}catch(_0x271a40){_0x41adaf['push'](_0x41adaf['shift']());}}}(a0_0x5ee6,0x5b427));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x1416(_0x57020a,_0xd15224){const _0x5ee65e=a0_0x5ee6();return a0_0x1416=function(_0x141659,_0xee46e9){_0x141659=_0x141659-0x191;let _0x57bbae=_0x5ee65e[_0x141659];return _0x57bbae;},a0_0x1416(_0x57020a,_0xd15224);}import{ValueUtil}from'../utils/value-util';function a0_0x5ee6(){const _0x525313=['getContextObject','7UoUBuo','grist','4973976SbPrak','isPage','deleteByIds','parseGridConfigSet','parse','1OlZHGK','save','firstUpdated','import','menuInfo','ox-filters-form','styles','shadowRoot','search','connectedCallback','gridConfig','querySelector','getBasicGristStyles','stringify','getData','fetch','properties','isNotEmpty','updateMultiple','3828200Rnxbto','exportableData','dataSet','export','keys','ox-grist','grid','tTitle','pageInitialized','getSelectedIdList','1276346fEEXtV','gristConfigSet','clear','patchesForUpdateMultiple','getBasicGristHtml','14029660gpiWQp','gridEmphasized','4xRdyBs','title','searchConfig','gristId','994998EAhBpH','activityDataSet','getParams','filterForm','3932064PJIKNM','grid_column','find','filterFormId','renderRoot','___data','delete','parseGristConfigs','isElement','forEach','34115kxnQRi','data'];a0_0x5ee6=function(){return _0x525313;};return a0_0x5ee6();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x33066d=>class extends MetaButtonMixin(_0x33066d){static get[a0_0x2cfb1f(0x1a1)](){const _0xc779c4=a0_0x2cfb1f;return MetaApi[_0xc779c4(0x1a7)]();}static get[a0_0x2cfb1f(0x1ab)](){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_0x2cfb1f(0x195)](){const _0x482367=a0_0x2cfb1f;return this[_0x482367(0x1cb)]?.[_0x482367(0x1a6)](this[_0x482367(0x1c2)]);}get[a0_0x2cfb1f(0x1c6)](){const _0x500ebd=a0_0x2cfb1f;return this[_0x500ebd(0x1a2)]?.[_0x500ebd(0x1a6)](this[_0x500ebd(0x1ca)]);}get['context'](){const _0x2f93dd=a0_0x2cfb1f;return MetaUiUtil[_0x2f93dd(0x193)](this);}async['connectedCallback'](){const _0x26400e=a0_0x2cfb1f;this[_0x26400e(0x1c2)]=_0x26400e(0x1b3),this[_0x26400e(0x1ca)]=_0x26400e(0x1a0),await this['getAndParseMenuMeta'](),this[_0x26400e(0x1cf)]&&await this[_0x26400e(0x1ce)](),this['activityDataSet']&&(this[_0x26400e(0x1b0)]=this[_0x26400e(0x1c4)]),super[_0x26400e(0x1a4)]&&await super[_0x26400e(0x1a4)]();}async[a0_0x2cfb1f(0x19d)](){const _0x326306=a0_0x2cfb1f;super[_0x326306(0x19d)]&&await super[_0x326306(0x19d)]();}async[a0_0x2cfb1f(0x1b6)](){const _0x32f732=a0_0x2cfb1f;this[_0x32f732(0x197)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x32f732(0x1b6)]();}['render'](){const _0x5ab855=a0_0x2cfb1f;return html`
2
- ${MetaApi[_0x5ab855(0x1bc)](this)}
3
- ${this[_0x5ab855(0x197)]?html``:MetaUiUtil['getButtonContainer'](this)}
4
- `;}['parseBasicGridConfigs'](_0x3a00e7){const _0x39c127=a0_0x2cfb1f;this[_0x39c127(0x1a5)]=_0x3a00e7[_0x39c127(0x1b4)],this['gridColumnConfig']=_0x3a00e7[_0x39c127(0x1c8)],this[_0x39c127(0x1c1)]=_0x3a00e7[_0x39c127(0x1a3)],this['gridEmphasized']=_0x3a00e7[_0x39c127(0x1be)];}async[a0_0x2cfb1f(0x1ce)](){const _0xe5418e=a0_0x2cfb1f;this[_0xe5418e(0x1b9)]=await MetaApi[_0xe5418e(0x199)](this);}async['fetch'](){const _0xfd593a=a0_0x2cfb1f;await this['grist'][_0xfd593a(0x1aa)]();}async[a0_0x2cfb1f(0x19c)](){const _0x1d7719=a0_0x2cfb1f;let _0x2fc326=MetaApi[_0x1d7719(0x1bb)](this[_0x1d7719(0x195)]);!!ValueUtil[_0x1d7719(0x1ac)](_0x2fc326)&&await this[_0x1d7719(0x1ad)](_0x2fc326)&&this[_0x1d7719(0x1aa)]();}async[a0_0x2cfb1f(0x1c9)](){const _0x5d33da=a0_0x2cfb1f;let _0x57c27a=MetaApi['getSelectedIdList'](this[_0x5d33da(0x195)],!0x0);return ValueUtil['isNotEmpty'](_0x57c27a)?await this['findOne'](_0x57c27a[0x0]):{};}async[a0_0x2cfb1f(0x1cd)](){const _0x5caf52=a0_0x2cfb1f;let _0x53fc65=MetaApi[_0x5caf52(0x1b7)](this[_0x5caf52(0x195)],!0x0);!!ValueUtil[_0x5caf52(0x1ac)](_0x53fc65)&&await this[_0x5caf52(0x198)](_0x53fc65)&&this[_0x5caf52(0x1aa)]();}async[a0_0x2cfb1f(0x1b1)](){const _0xbf81d4=a0_0x2cfb1f;let _0x5ded11=TermsUtil[_0xbf81d4(0x1b5)](ValueUtil[_0xbf81d4(0x1c5)](this[_0xbf81d4(0x19f)],_0xbf81d4(0x1c0)));return await MetaApi[_0xbf81d4(0x1af)](this['isElement'],_0x5ded11,this[_0xbf81d4(0x195)]);}async[a0_0x2cfb1f(0x19e)](){}async[a0_0x2cfb1f(0x1ba)](){const _0x55aef5=a0_0x2cfb1f;this[_0x55aef5(0x195)]&&(this[_0x55aef5(0x195)][_0x55aef5(0x192)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x2cfb1f(0x1a9)](){const _0x5978a7=a0_0x2cfb1f;let _0x59cae2=this[_0x5978a7(0x195)][_0x5978a7(0x1cc)]['records'];return _0x59cae2=JSON[_0x5978a7(0x19a)](JSON[_0x5978a7(0x1a8)](_0x59cae2)),_0x59cae2[_0x5978a7(0x1d0)](_0xa335e3=>{const _0x56ab9f=_0x5978a7;Object[_0x56ab9f(0x1b2)](_0xa335e3)[_0x56ab9f(0x1d0)](_0x2ae093=>{_0x2ae093['startsWith']('__')&&delete _0xa335e3[_0x2ae093];});}),_0x59cae2;}};
1
+ function a0_0x246d(_0x5e33da,_0x4045be){const _0x5ce10f=a0_0x5ce1();return a0_0x246d=function(_0x246d35,_0x587d4e){_0x246d35=_0x246d35-0x15e;let _0x4d3be8=_0x5ce10f[_0x246d35];return _0x4d3be8;},a0_0x246d(_0x5e33da,_0x4045be);}const a0_0x7c9ae5=a0_0x246d;(function(_0x7d1085,_0x3fe7e5){const _0xa909db=a0_0x246d,_0x2c7d40=_0x7d1085();while(!![]){try{const _0x389fe7=-parseInt(_0xa909db(0x197))/0x1+parseInt(_0xa909db(0x15e))/0x2+parseInt(_0xa909db(0x18a))/0x3*(parseInt(_0xa909db(0x196))/0x4)+-parseInt(_0xa909db(0x16b))/0x5*(-parseInt(_0xa909db(0x182))/0x6)+parseInt(_0xa909db(0x18b))/0x7+-parseInt(_0xa909db(0x184))/0x8*(-parseInt(_0xa909db(0x168))/0x9)+parseInt(_0xa909db(0x18f))/0xa*(-parseInt(_0xa909db(0x19c))/0xb);if(_0x389fe7===_0x3fe7e5)break;else _0x2c7d40['push'](_0x2c7d40['shift']());}catch(_0x5bc840){_0x2c7d40['push'](_0x2c7d40['shift']());}}}(a0_0x5ce1,0x38ead));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x5ce1(){const _0x1592d5=['parse','import','853648BwaybY','212540LJpdxF','parseBasicGridConfigs','styles','getData','getSelectedIdList','7936984EmOwAx','847978cunWHe','___data','isElement','title','shadowRoot','tTitle','pageInitialized','getAndParseMenuMeta','ox-grist','isPage','387uyZFAI','grist','filterFormId','5XLcVWB','clear','getButtonContainer','fetch','isNotEmpty','startsWith','gridEmphasized','activityDataSet','dataSet','querySelector','getParams','menuInfo','search','gristId','patchesForUpdateMultiple','getBasicGristStyles','connectedCallback','stringify','ox-filters-form','save','grid_column','findOne','find','711258iVmQIt','parseGristConfigs','18752jVFFYA','delete','forEach','exportableData','records','firstUpdated','6OigKHl','679483mpKOsU','getBasicGristHtml','properties','grid','10pdrtte','render','gristConfigSet','getContextObject','gridColumnConfig'];a0_0x5ce1=function(){return _0x1592d5;};return a0_0x5ce1();}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x47da98=>class extends MetaButtonMixin(_0x47da98){static get[a0_0x7c9ae5(0x199)](){const _0x16a49e=a0_0x7c9ae5;return MetaApi[_0x16a49e(0x17a)]();}static get[a0_0x7c9ae5(0x18d)](){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_0x7c9ae5(0x169)](){const _0x567783=a0_0x7c9ae5;return this['renderRoot']?.[_0x567783(0x174)](this[_0x567783(0x178)]);}get['filterForm'](){const _0x2cdc71=a0_0x7c9ae5;return this[_0x2cdc71(0x162)]?.[_0x2cdc71(0x174)](this[_0x2cdc71(0x16a)]);}get['context'](){const _0x5e18d4=a0_0x7c9ae5;return MetaUiUtil[_0x5e18d4(0x192)](this);}async[a0_0x7c9ae5(0x17b)](){const _0x2de977=a0_0x7c9ae5;this['gristId']=_0x2de977(0x166),this[_0x2de977(0x16a)]=_0x2de977(0x17d),await this[_0x2de977(0x165)](),this[_0x2de977(0x160)]&&await this['parseGristConfigs'](),this[_0x2de977(0x172)]&&(this[_0x2de977(0x173)]=this[_0x2de977(0x172)]),super[_0x2de977(0x17b)]&&await super[_0x2de977(0x17b)]();}async['firstUpdated'](){const _0x13e316=a0_0x7c9ae5;super[_0x13e316(0x189)]&&await super['firstUpdated']();}async[a0_0x7c9ae5(0x164)](){const _0x17e127=a0_0x7c9ae5;this[_0x17e127(0x167)]&&await this['parseGristConfigs'](),super[_0x17e127(0x164)]&&await super[_0x17e127(0x164)]();}[a0_0x7c9ae5(0x190)](){const _0x4ea051=a0_0x7c9ae5;return html`
2
+ ${MetaApi[_0x4ea051(0x18c)](this)}
3
+ ${this[_0x4ea051(0x167)]?html``:MetaUiUtil[_0x4ea051(0x16d)](this)}
4
+ `;}[a0_0x7c9ae5(0x198)](_0x3bca02){const _0x114f0c=a0_0x7c9ae5;this['gridConfig']=_0x3bca02[_0x114f0c(0x18e)],this[_0x114f0c(0x193)]=_0x3bca02[_0x114f0c(0x17f)],this['searchConfig']=_0x3bca02[_0x114f0c(0x177)],this[_0x114f0c(0x171)]=_0x3bca02[_0x114f0c(0x171)];}async[a0_0x7c9ae5(0x183)](){const _0x45cc2d=a0_0x7c9ae5;this[_0x45cc2d(0x191)]=await MetaApi['parseGridConfigSet'](this);}async[a0_0x7c9ae5(0x16e)](){const _0x5d1580=a0_0x7c9ae5;await this['grist'][_0x5d1580(0x16e)]();}async[a0_0x7c9ae5(0x17e)](){const _0x5c09cc=a0_0x7c9ae5;let _0x100c54=MetaApi[_0x5c09cc(0x179)](this[_0x5c09cc(0x169)]);!!ValueUtil[_0x5c09cc(0x16f)](_0x100c54)&&await this['updateMultiple'](_0x100c54)&&this[_0x5c09cc(0x16e)]();}async[a0_0x7c9ae5(0x181)](){const _0x3e893b=a0_0x7c9ae5;let _0x4ad7f2=MetaApi[_0x3e893b(0x19b)](this[_0x3e893b(0x169)],!0x0);return ValueUtil[_0x3e893b(0x16f)](_0x4ad7f2)?await this[_0x3e893b(0x180)](_0x4ad7f2[0x0]):{};}async[a0_0x7c9ae5(0x185)](){const _0x4cd9f9=a0_0x7c9ae5;let _0x250793=MetaApi['getSelectedIdList'](this['grist'],!0x0);!!ValueUtil[_0x4cd9f9(0x16f)](_0x250793)&&await this['deleteByIds'](_0x250793)&&this['fetch']();}async['export'](){const _0x2c369f=a0_0x7c9ae5;let _0x409673=TermsUtil[_0x2c369f(0x163)](ValueUtil[_0x2c369f(0x175)](this[_0x2c369f(0x176)],_0x2c369f(0x161)));return await MetaApi[_0x2c369f(0x187)](this[_0x2c369f(0x160)],_0x409673,this[_0x2c369f(0x169)]);}async[a0_0x7c9ae5(0x195)](){}async[a0_0x7c9ae5(0x16c)](){const _0x491376=a0_0x7c9ae5;this['grist']&&(this[_0x491376(0x169)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}[a0_0x7c9ae5(0x19a)](){const _0x5e78f5=a0_0x7c9ae5;let _0xb47a91=this[_0x5e78f5(0x169)][_0x5e78f5(0x15f)][_0x5e78f5(0x188)];return _0xb47a91=JSON[_0x5e78f5(0x194)](JSON[_0x5e78f5(0x17c)](_0xb47a91)),_0xb47a91[_0x5e78f5(0x186)](_0x5c64f6=>{const _0xe5cf20=_0x5e78f5;Object['keys'](_0x5c64f6)[_0xe5cf20(0x186)](_0x219612=>{const _0x16596d=_0xe5cf20;_0x219612[_0x16596d(0x170)]('__')&&delete _0x5c64f6[_0x219612];});}),_0xb47a91;}};
@@ -1 +1 @@
1
- const a0_0x3f187a=a0_0x54ce;(function(_0x3bc058,_0x1b525c){const _0x57afb8=a0_0x54ce,_0x58b74e=_0x3bc058();while(!![]){try{const _0x912c2=parseInt(_0x57afb8(0x128))/0x1*(parseInt(_0x57afb8(0x119))/0x2)+-parseInt(_0x57afb8(0x12b))/0x3*(-parseInt(_0x57afb8(0x129))/0x4)+-parseInt(_0x57afb8(0x131))/0x5+-parseInt(_0x57afb8(0x12c))/0x6*(-parseInt(_0x57afb8(0x12a))/0x7)+parseInt(_0x57afb8(0x132))/0x8+parseInt(_0x57afb8(0x11d))/0x9*(-parseInt(_0x57afb8(0x11c))/0xa)+parseInt(_0x57afb8(0x120))/0xb*(-parseInt(_0x57afb8(0x11e))/0xc);if(_0x912c2===_0x1b525c)break;else _0x58b74e['push'](_0x58b74e['shift']());}catch(_0x5d8262){_0x58b74e['push'](_0x58b74e['shift']());}}}(a0_0x91e2,0x96a41));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x54ce(_0x26b482,_0x53a1b7){const _0x91e2df=a0_0x91e2();return a0_0x54ce=function(_0x54ce39,_0x43ac68){_0x54ce39=_0x54ce39-0x116;let _0x419ff0=_0x91e2df[_0x54ce39];return _0x419ff0;},a0_0x54ce(_0x26b482,_0x53a1b7);}import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x2650b4=>class extends MetaServiceMixin(_0x2650b4){static get[a0_0x3f187a(0x11f)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x3f187a(0x123)](){const _0xe38ed2=a0_0x3f187a;return MetaUiUtil[_0xe38ed2(0x12f)]();}[a0_0x3f187a(0x11a)](){const _0x5952a5=a0_0x3f187a;return MetaUiUtil[_0x5952a5(0x11a)](this);}[a0_0x3f187a(0x124)](){const _0x3ad67f=a0_0x3f187a;return this['isPage']?html``:MetaUiUtil[_0x3ad67f(0x124)](this);}async[a0_0x3f187a(0x12d)](_0x18c1f4,_0x1ae70d,_0x10ded9){const _0x5c2700=a0_0x3f187a;return await MetaUiUtil[_0x5c2700(0x12e)](this,_0x18c1f4,_0x1ae70d,_0x10ded9);}async[a0_0x3f187a(0x121)](_0x482e68){const _0x3bdc23=a0_0x3f187a;await MetaUiUtil[_0x3bdc23(0x121)](this,_0x482e68);}async[a0_0x3f187a(0x11b)](_0x47ce2a,_0x566045){const _0x72c82f=a0_0x3f187a;await MetaUiUtil[_0x72c82f(0x11b)](this,_0x47ce2a,_0x566045);}['parseBasicButtonConfigs'](_0x53815e){const _0x3b3409=a0_0x3f187a;this['buttonConfig']=_0x53815e[_0x3b3409(0x130)],this['useButtonImport']=MetaUiUtil[_0x3b3409(0x122)](this['buttonConfig'],_0x3b3409(0x127)),this[_0x3b3409(0x125)]=MetaUiUtil['isButtonExist'](this[_0x3b3409(0x118)],_0x3b3409(0x116)),this[_0x3b3409(0x126)]=MetaUiUtil[_0x3b3409(0x122)](this['buttonConfig'],_0x3b3409(0x117));}};function a0_0x91e2(){const _0x33f30f=['getCustomButtonContainerStyles','button','1291630NeGcjl','1094528IifKFa','export','add','buttonConfig','7262LXXbpl','getContextButtons','gristButtonHandler','420VCQVsO','133974UGsTru','1702212YseWft','properties','33TSaqNl','customButtonHandler','isButtonExist','getCustomButtonContainerStyle','getButtonContainer','useButtonExport','useButtonAdd','import','58rtGBaV','4446148rQYbGg','8155FJqvbJ','3jLzQWM','2406VzEvKZ','getBasicButtonHandler','getButtonActionHandler'];a0_0x91e2=function(){return _0x33f30f;};return a0_0x91e2();}
1
+ const a0_0x15a010=a0_0x4fa5;(function(_0x3b703f,_0x19e48d){const _0x56f46e=a0_0x4fa5,_0x4b088e=_0x3b703f();while(!![]){try{const _0x168494=parseInt(_0x56f46e(0x19f))/0x1+-parseInt(_0x56f46e(0x193))/0x2+-parseInt(_0x56f46e(0x197))/0x3+-parseInt(_0x56f46e(0x19e))/0x4*(parseInt(_0x56f46e(0x18f))/0x5)+parseInt(_0x56f46e(0x194))/0x6+-parseInt(_0x56f46e(0x195))/0x7*(parseInt(_0x56f46e(0x19b))/0x8)+parseInt(_0x56f46e(0x1a8))/0x9*(parseInt(_0x56f46e(0x18e))/0xa);if(_0x168494===_0x19e48d)break;else _0x4b088e['push'](_0x4b088e['shift']());}catch(_0x87eee2){_0x4b088e['push'](_0x4b088e['shift']());}}}(a0_0x3262,0xe2232));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3262(){const _0x403cd7=['getContextButtons','import','buttonConfig','getCustomButtonContainerStyle','properties','isPage','getButtonContainer','getBasicButtonHandler','501876LdwCef','add','410EPwGcH','25SXCsMv','getButtonActionHandler','getCustomButtonContainerStyles','button','945726VOavZE','5378958AMQNec','5299QygCbw','useButtonExport','2683539EurziE','parseBasicButtonConfigs','export','gristButtonHandler','17704cUubsU','useButtonAdd','isButtonExist','678108JvgJwu','1633693ibQSIe'];a0_0x3262=function(){return _0x403cd7;};return a0_0x3262();}import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x4fa5(_0x10f1ff,_0x198233){const _0x326293=a0_0x3262();return a0_0x4fa5=function(_0x4fa521,_0x5a0665){_0x4fa521=_0x4fa521-0x18d;let _0x350ec0=_0x326293[_0x4fa521];return _0x350ec0;},a0_0x4fa5(_0x10f1ff,_0x198233);}export const MetaButtonMixin=_0x3b6f27=>class extends MetaServiceMixin(_0x3b6f27){static get[a0_0x15a010(0x1a4)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x15a010(0x1a3)](){const _0x3f6ca0=a0_0x15a010;return MetaUiUtil[_0x3f6ca0(0x191)]();}['getContextButtons'](){const _0x13ba7c=a0_0x15a010;return MetaUiUtil[_0x13ba7c(0x1a0)](this);}[a0_0x15a010(0x1a6)](){const _0x384222=a0_0x15a010;return this[_0x384222(0x1a5)]?html``:MetaUiUtil['getButtonContainer'](this);}async[a0_0x15a010(0x1a7)](_0x15f5b8,_0x4fce95,_0x2c67a6){const _0xaac2eb=a0_0x15a010;return await MetaUiUtil[_0xaac2eb(0x190)](this,_0x15f5b8,_0x4fce95,_0x2c67a6);}async['customButtonHandler'](_0x24eaa1){await MetaUiUtil['customButtonHandler'](this,_0x24eaa1);}async[a0_0x15a010(0x19a)](_0x49c41f,_0x27f168){const _0x6914f=a0_0x15a010;await MetaUiUtil[_0x6914f(0x19a)](this,_0x49c41f,_0x27f168);}[a0_0x15a010(0x198)](_0x1d15f3){const _0x39042c=a0_0x15a010;this['buttonConfig']=_0x1d15f3[_0x39042c(0x192)],this['useButtonImport']=MetaUiUtil['isButtonExist'](this[_0x39042c(0x1a2)],_0x39042c(0x1a1)),this[_0x39042c(0x196)]=MetaUiUtil[_0x39042c(0x19d)](this[_0x39042c(0x1a2)],_0x39042c(0x199)),this[_0x39042c(0x19c)]=MetaUiUtil['isButtonExist'](this[_0x39042c(0x1a2)],_0x39042c(0x18d));}};
@@ -1 +1 @@
1
- const a0_0x32631f=a0_0x13c8;(function(_0x34b0b4,_0x24345b){const _0x2c6256=a0_0x13c8,_0x3ca6f1=_0x34b0b4();while(!![]){try{const _0x57d575=parseInt(_0x2c6256(0xcd))/0x1+-parseInt(_0x2c6256(0xbd))/0x2+-parseInt(_0x2c6256(0xee))/0x3+-parseInt(_0x2c6256(0xed))/0x4+parseInt(_0x2c6256(0xfb))/0x5+parseInt(_0x2c6256(0xb1))/0x6+parseInt(_0x2c6256(0xac))/0x7*(parseInt(_0x2c6256(0xad))/0x8);if(_0x57d575===_0x24345b)break;else _0x3ca6f1['push'](_0x3ca6f1['shift']());}catch(_0x9d523c){_0x3ca6f1['push'](_0x3ca6f1['shift']());}}}(a0_0xcd9d,0x62989));import{MetaApi}from'../utils/meta-api';function a0_0xcd9d(){const _0x15b0ff=['isElement','styles','getAndParseMenuMeta','header','text.check-mandatory','validation','column','form','isNotEmpty','clear','Escape','detail','removeAttribute','formColumnConfig','entries','map','renderRoot','removeGarbageData','parent_id','isEmpty','1565536laGjTO','1494093UmANIL','__dirty__','dirtyData','key','button','parseBasicFormConfigs','tagName','patchData','isPage','cuFlag','code-input','mandatory','Enter','2028735DchCFM','getData','tText','target','is_activity','OX-GRID-FIELD','focus','findOne','addEventListener','orgData','stopPropagation','updateMultiple','pageInitialized','record','setAttribute','connectedCallback','1057CuyKbx','34904RJuvVC','click','info','getBasicFormHtml','422778mOSXrG','formConfigSet','before','__dirtyfields__','object','editable','keydown','call','function','Esc','editing','showAlertPopup','1228922vgeLeq','tLabel','keys','forEach','true','name','currentData','__origin__','isEquals','render','dataSet','form-field-change','startsWith','filter','fetch','title.info','772702AdwaDA','parseFormConfigSet','confirm','after','parseFormConfigs','save','assign','properties','currentTarget','check-mandatory-field','text.NOTHING_CHANGED','firstUpdated'];a0_0xcd9d=function(){return _0x15b0ff;};return a0_0xcd9d();}import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x13c8(_0x4c6055,_0x3b03d3){const _0xcd9db9=a0_0xcd9d();return a0_0x13c8=function(_0x13c8f4,_0x29e81b){_0x13c8f4=_0x13c8f4-0xa7;let _0xdc0683=_0xcd9db9[_0x13c8f4];return _0xdc0683;},a0_0x13c8(_0x4c6055,_0x3b03d3);}import{ValueUtil}from'../utils/value-util';import{UiUtil}from'../utils/ui-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x49b510=>class extends MetaButtonMixin(_0x49b510){static get[a0_0x32631f(0xda)](){return MetaApi['getBasicFormStyles']();}static get[a0_0x32631f(0xd4)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){return MetaUiUtil['getContextObject'](this);}async[a0_0x32631f(0xab)](){const _0x522c9a=a0_0x32631f;await this[_0x522c9a(0xdb)](),this[_0x522c9a(0xd9)]&&await this['parseFormConfigs'](),this['activityDataSet']&&(this[_0x522c9a(0xc7)]=this['activityDataSet']),!0x0!==this[_0x522c9a(0xff)]||this[_0x522c9a(0xeb)]||(this['parent_id']='activity'),super['connectedCallback']&&await super[_0x522c9a(0xab)](),this[_0x522c9a(0xd9)]&&await this[_0x522c9a(0xcb)](),this['renderRoot'][_0x522c9a(0x103)](_0x522c9a(0xb7),_0x3e3e1c=>{const _0x18d61d=_0x522c9a;switch(_0x3e3e1c[_0x18d61d(0xf1)]){case _0x18d61d(0xba):case _0x18d61d(0xe3):case _0x18d61d(0xfa):this[_0x18d61d(0x101)](),this['currentTarget']&&this[_0x18d61d(0xd5)][_0x18d61d(0xe5)](_0x18d61d(0xbb)),this[_0x18d61d(0xd5)]=null;}}),this[_0x522c9a(0xe9)][_0x522c9a(0x103)](_0x522c9a(0xae),_0x339c4d=>{const _0x50cfe6=_0x522c9a;_0x339c4d[_0x50cfe6(0x105)]();let _0x29ddd8=_0x339c4d[_0x50cfe6(0xfe)];if(this[_0x50cfe6(0xd5)]&&(this[_0x50cfe6(0x101)](),this[_0x50cfe6(0xd5)][_0x50cfe6(0xe5)](_0x50cfe6(0xbb))),_0x50cfe6(0x100)!==_0x29ddd8[_0x50cfe6(0xf4)]||!_0x29ddd8[_0x50cfe6(0xdf)][_0x50cfe6(0xa9)][_0x50cfe6(0xb6)])return this[_0x50cfe6(0x101)](),void(this[_0x50cfe6(0xd5)]=null);this['currentTarget']=_0x29ddd8,_0x29ddd8[_0x50cfe6(0xaa)](_0x50cfe6(0xbb),_0x50cfe6(0xc1));}),this[_0x522c9a(0x103)]('field-change',_0x4211bd=>{const _0x5b8a37=_0x522c9a;var {after:_0x46df38,before:_0x121d2e,column:_0x207d31,record:_0x3dcea7,row:_0x1daadf}=_0x4211bd[_0x5b8a37(0xe4)];if(ValueUtil[_0x5b8a37(0xc5)](_0x46df38,_0x121d2e))return;var _0xde1675=_0x207d31[_0x5b8a37(0xde)];if(_0xde1675&&_0x5b8a37(0xb9)==typeof _0xde1675&&!_0xde1675[_0x5b8a37(0xb8)](this,_0x46df38,_0x121d2e,_0x3dcea7,_0x207d31))return;let _0x3b5a8d=_0x207d31[_0x5b8a37(0xc2)];_0x3dcea7[_0x3b5a8d]=_0x46df38,_0x3dcea7[_0x5b8a37(0xb4)]=_0x3dcea7[_0x5b8a37(0xb4)]||{},_0x3dcea7['__origin__']=_0x3dcea7[_0x5b8a37(0xc4)]||{},_0x3dcea7[_0x5b8a37(0xb4)][_0x3b5a8d]={'before':_0x3dcea7[_0x5b8a37(0xc4)][_0x3b5a8d],'after':_0x3dcea7[_0x3b5a8d]},ValueUtil['isEquals'](_0x3dcea7['__dirtyfields__'][_0x3b5a8d][_0x5b8a37(0xb3)],_0x3dcea7[_0x5b8a37(0xb4)][_0x3b5a8d]['after'])&&delete _0x3dcea7[_0x5b8a37(0xb4)][_0x3b5a8d],ValueUtil[_0x5b8a37(0xe1)](_0x3dcea7[_0x5b8a37(0xb4)])?_0x3dcea7[_0x5b8a37(0xef)]='M':_0x3dcea7[_0x5b8a37(0xef)]='',this[_0x5b8a37(0xa9)]={..._0x3dcea7},this['dispatchEvent'](new CustomEvent(_0x5b8a37(0xc8),{'bubbles':!0x0,'composed':!0x0,'detail':_0x4211bd['detail']}));});}async[a0_0x32631f(0xd8)](){const _0x455c69=a0_0x32631f;super[_0x455c69(0xd8)]&&await super['firstUpdated']();}async[a0_0x32631f(0xa8)](){const _0x265c42=a0_0x32631f;this[_0x265c42(0xf6)]&&await this[_0x265c42(0xd1)](),super['pageInitialized']&&await super['pageInitialized'](),this[_0x265c42(0xf6)]&&await this['fetch']();}[a0_0x32631f(0xc6)](){const _0x2783e0=a0_0x32631f;return MetaApi[_0x2783e0(0xb0)](this);}[a0_0x32631f(0xf3)](_0x49e59b){const _0x456ef0=a0_0x32631f;this[_0x456ef0(0xe6)]=_0x49e59b['grid_column'],this['formRenderConfig']=_0x49e59b[_0x456ef0(0xe0)],_0x49e59b[_0x456ef0(0xf2)]=_0x49e59b[_0x456ef0(0xf2)][_0x456ef0(0xca)](_0x28f472=>_0x456ef0(0xd2)==_0x28f472[_0x456ef0(0xc2)]);}async[a0_0x32631f(0xd1)](){const _0x22e6a0=a0_0x32631f;this[_0x22e6a0(0xb2)]=await MetaApi[_0x22e6a0(0xce)](this);}get[a0_0x32631f(0x104)](){const _0x264ec7=a0_0x32631f;return this['removeGarbageData'](this['record'][_0x264ec7(0xc4)]);}get['dirtyData'](){const _0x3f6084=a0_0x32631f;if(ValueUtil[_0x3f6084(0xec)]((this[_0x3f6084(0xa9)]||{})[_0x3f6084(0xb4)]))return{};let _0x2ade6d={};return Object[_0x3f6084(0xe7)](this['record'][_0x3f6084(0xb4)])[_0x3f6084(0xe8)](([_0x274f65,_0x23ee69])=>{const _0x4085da=_0x3f6084;0x0==_0x274f65[_0x4085da(0xc9)]('__')&&(_0x2ade6d[_0x274f65]=_0x23ee69[_0x4085da(0xd0)]);}),_0x2ade6d;}get[a0_0x32631f(0xc3)](){return this['removeGarbageData'](this['record']);}[a0_0x32631f(0xea)](_0x5d8cbb){const _0x29c2bd=a0_0x32631f;let _0x28abc3={};if(_0x5d8cbb)return Object[_0x29c2bd(0xe7)](_0x5d8cbb)[_0x29c2bd(0xe8)](([_0x19f842,_0x199476])=>{const _0xd97506=_0x29c2bd;0x0==_0x19f842[_0xd97506(0xc9)]('__')&&(_0x28abc3[_0x19f842]=_0x199476);}),_0x28abc3;}get['patchData'](){const _0x2cde09=a0_0x32631f;let _0x60ff1b=this[_0x2cde09(0xf0)],_0x43e997=this[_0x2cde09(0xa9)],_0x21571d=(this[_0x2cde09(0xe6)]||[])[_0x2cde09(0xca)](_0x572f71=>_0x2cde09(0xf8)===_0x572f71['type'])[_0x2cde09(0xe8)](_0x516c1b=>_0x516c1b[_0x2cde09(0xc2)]);if(!ValueUtil[_0x2cde09(0xec)](_0x60ff1b))return ValueUtil[_0x2cde09(0xe1)](_0x43e997['id'])?(_0x60ff1b['id']=_0x43e997['id'],_0x60ff1b['cuFlag']='M'):_0x60ff1b[_0x2cde09(0xf7)]='+',Object[_0x2cde09(0xbf)](_0x60ff1b)[_0x2cde09(0xc0)](_0x532c9d=>{const _0x46a79d=_0x2cde09;_0x46a79d(0xb5)==typeof _0x60ff1b[_0x532c9d]&&0x0==_0x21571d['includes'](_0x532c9d)&&(_0x60ff1b[_0x532c9d]={'id':_0x60ff1b[_0x532c9d]['id']});}),[_0x60ff1b];}async[a0_0x32631f(0xcb)](){const _0xbe0aff=a0_0x32631f;if(ValueUtil[_0xbe0aff(0xec)](this[_0xbe0aff(0xeb)]))return;let _0x1b2e82=await this[_0xbe0aff(0x102)](this[_0xbe0aff(0xeb)]);_0x1b2e82['__seq__']=0x1;let _0x33d658={};Object[_0xbe0aff(0xd3)](_0x33d658,_0x1b2e82),_0x1b2e82[_0xbe0aff(0xc4)]=_0x33d658,this[_0xbe0aff(0xa9)]={..._0x1b2e82};}async[a0_0x32631f(0xd2)](){const _0x307e23=a0_0x32631f;let _0x350637=this[_0x307e23(0xf5)];if(ValueUtil[_0x307e23(0xec)](_0x350637))return void MetaApi[_0x307e23(0xbc)](_0x307e23(0xcc),_0x307e23(0xd7));let _0x2011de={};(this[_0x307e23(0xe6)]||[])[_0x307e23(0xca)](_0x11899c=>!0x0===_0x11899c[_0x307e23(0xf9)])[_0x307e23(0xc0)](_0x46ec5b=>{const _0x29e1e5=_0x307e23;_0x2011de[_0x46ec5b['name']]=_0x46ec5b[_0x29e1e5(0xdc)];});let _0xeecb39=this[_0x307e23(0xc3)];for(let _0x2438d1 in _0x2011de)if(void 0x0===_0xeecb39[_0x2438d1]||''==_0xeecb39[_0x2438d1])return void UiUtil[_0x307e23(0xbc)](_0x307e23(0xdd),TermsUtil[_0x307e23(0xfd)](_0x307e23(0xd6),{'x':TermsUtil[_0x307e23(0xbe)](_0x2011de[_0x2438d1])}),_0x307e23(0xaf),_0x307e23(0xcf));let _0x502aed=await this[_0x307e23(0xa7)](_0x350637);return _0x502aed&&await this[_0x307e23(0xcb)](),_0x502aed;}async[a0_0x32631f(0xe2)](){const _0x10918f=a0_0x32631f;this[_0x10918f(0xa9)]&&(this['record']={});}[a0_0x32631f(0xfc)](){const _0x837f2e=a0_0x32631f;return this[_0x837f2e(0xc3)]||{};}};
1
+ const a0_0x382518=a0_0xeabc;(function(_0x5d199c,_0x5ea04d){const _0x50b988=a0_0xeabc,_0x28eb5e=_0x5d199c();while(!![]){try{const _0x37de44=parseInt(_0x50b988(0xe5))/0x1+-parseInt(_0x50b988(0xa2))/0x2+parseInt(_0x50b988(0xb2))/0x3*(parseInt(_0x50b988(0xd2))/0x4)+parseInt(_0x50b988(0xa8))/0x5+-parseInt(_0x50b988(0x91))/0x6+parseInt(_0x50b988(0xcd))/0x7*(-parseInt(_0x50b988(0xb4))/0x8)+-parseInt(_0x50b988(0xc2))/0x9;if(_0x37de44===_0x5ea04d)break;else _0x28eb5e['push'](_0x28eb5e['shift']());}catch(_0x114da2){_0x28eb5e['push'](_0x28eb5e['shift']());}}}(a0_0x3014,0x45c6b));function a0_0xeabc(_0x464a14,_0x3bf263){const _0x30145a=a0_0x3014();return a0_0xeabc=function(_0xeabcdd,_0xfda7a5){_0xeabcdd=_0xeabcdd-0x8f;let _0x288ae7=_0x30145a[_0xeabcdd];return _0x288ae7;},a0_0xeabc(_0x464a14,_0x3bf263);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{UiUtil}from'../utils/ui-util';function a0_0x3014(){const _0x5407ee=['tText','__dirty__','validation','keydown','orgData','stopPropagation','parseBasicFormConfigs','currentTarget','filter','render','true','call','isElement','2153142hjRutr','currentData','startsWith','button','findOne','formColumnConfig','isPage','before','map','pageInitialized','confirm','1057msyKuB','fetch','setAttribute','form','assign','12yhqejp','title.info','key','record','text.NOTHING_CHANGED','activity','getBasicFormStyles','getAndParseMenuMeta','getContextObject','__seq__','header','detail','form-field-change','formConfigSet','__dirtyfields__','mandatory','isEmpty','clear','__origin__','300557vFyAIm','getData','info','renderRoot','940788LZyKDi','isEquals','name','patchData','removeAttribute','type','Enter','text.check-mandatory','parent_id','save','function','column','editing','tLabel','entries','removeGarbageData','OX-GRID-FIELD','415004ujNZoX','addEventListener','dispatchEvent','forEach','click','firstUpdated','2603830fdNEvC','cuFlag','connectedCallback','properties','getBasicFormHtml','parseFormConfigs','showAlertPopup','isNotEmpty','after','activityDataSet','431022tJXexg','context','19232JgKlcj'];a0_0x3014=function(){return _0x5407ee;};return a0_0x3014();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0xb8b072=>class extends MetaButtonMixin(_0xb8b072){static get['styles'](){const _0x4badc9=a0_0xeabc;return MetaApi[_0x4badc9(0xd8)]();}static get[a0_0x382518(0xab)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x382518(0xb3)](){const _0x24ef2a=a0_0x382518;return MetaUiUtil[_0x24ef2a(0xda)](this);}async[a0_0x382518(0xaa)](){const _0x283581=a0_0x382518;await this[_0x283581(0xd9)](),this[_0x283581(0xc1)]&&await this[_0x283581(0xad)](),this[_0x283581(0xb1)]&&(this['dataSet']=this[_0x283581(0xb1)]),!0x0!==this['is_activity']||this['parent_id']||(this[_0x283581(0x99)]=_0x283581(0xd7)),super[_0x283581(0xaa)]&&await super['connectedCallback'](),this[_0x283581(0xc1)]&&await this['fetch'](),this[_0x283581(0x90)][_0x283581(0xa3)](_0x283581(0xb8),_0xaebd93=>{const _0x2d9a4b=_0x283581;switch(_0xaebd93[_0x2d9a4b(0xd4)]){case'Esc':case'Escape':case _0x2d9a4b(0x97):this['focus'](),this['currentTarget']&&this[_0x2d9a4b(0xbc)][_0x2d9a4b(0x95)](_0x2d9a4b(0x9d)),this[_0x2d9a4b(0xbc)]=null;}}),this[_0x283581(0x90)]['addEventListener'](_0x283581(0xa6),_0x4a1841=>{const _0x14b358=_0x283581;_0x4a1841[_0x14b358(0xba)]();let _0x2af7fd=_0x4a1841['target'];if(this[_0x14b358(0xbc)]&&(this['focus'](),this['currentTarget']['removeAttribute'](_0x14b358(0x9d))),_0x14b358(0xa1)!==_0x2af7fd['tagName']||!_0x2af7fd[_0x14b358(0x9c)][_0x14b358(0xd5)]['editable'])return this['focus'](),void(this[_0x14b358(0xbc)]=null);this['currentTarget']=_0x2af7fd,_0x2af7fd[_0x14b358(0xcf)](_0x14b358(0x9d),_0x14b358(0xbf));}),this[_0x283581(0xa3)]('field-change',_0x1caf24=>{const _0x1c3b4a=_0x283581;var {after:_0x4697b0,before:_0x371d59,column:_0x5d5fec,record:_0x27bad7,row:_0x36139f}=_0x1caf24[_0x1c3b4a(0xdd)];if(ValueUtil[_0x1c3b4a(0x92)](_0x4697b0,_0x371d59))return;var _0x464e7f=_0x5d5fec[_0x1c3b4a(0xb7)];if(_0x464e7f&&_0x1c3b4a(0x9b)==typeof _0x464e7f&&!_0x464e7f[_0x1c3b4a(0xc0)](this,_0x4697b0,_0x371d59,_0x27bad7,_0x5d5fec))return;let _0x2bf2c8=_0x5d5fec[_0x1c3b4a(0x93)];_0x27bad7[_0x2bf2c8]=_0x4697b0,_0x27bad7['__dirtyfields__']=_0x27bad7[_0x1c3b4a(0xe0)]||{},_0x27bad7[_0x1c3b4a(0xe4)]=_0x27bad7[_0x1c3b4a(0xe4)]||{},_0x27bad7['__dirtyfields__'][_0x2bf2c8]={'before':_0x27bad7[_0x1c3b4a(0xe4)][_0x2bf2c8],'after':_0x27bad7[_0x2bf2c8]},ValueUtil[_0x1c3b4a(0x92)](_0x27bad7[_0x1c3b4a(0xe0)][_0x2bf2c8][_0x1c3b4a(0xc9)],_0x27bad7[_0x1c3b4a(0xe0)][_0x2bf2c8]['after'])&&delete _0x27bad7[_0x1c3b4a(0xe0)][_0x2bf2c8],ValueUtil[_0x1c3b4a(0xaf)](_0x27bad7[_0x1c3b4a(0xe0)])?_0x27bad7[_0x1c3b4a(0xb6)]='M':_0x27bad7['__dirty__']='',this[_0x1c3b4a(0xd5)]={..._0x27bad7},this[_0x1c3b4a(0xa4)](new CustomEvent(_0x1c3b4a(0xde),{'bubbles':!0x0,'composed':!0x0,'detail':_0x1caf24['detail']}));});}async['firstUpdated'](){const _0xd14268=a0_0x382518;super['firstUpdated']&&await super[_0xd14268(0xa7)]();}async[a0_0x382518(0xcb)](){const _0x26ba58=a0_0x382518;this[_0x26ba58(0xc8)]&&await this[_0x26ba58(0xad)](),super[_0x26ba58(0xcb)]&&await super[_0x26ba58(0xcb)](),this['isPage']&&await this[_0x26ba58(0xce)]();}[a0_0x382518(0xbe)](){const _0x3aeb9c=a0_0x382518;return MetaApi[_0x3aeb9c(0xac)](this);}[a0_0x382518(0xbb)](_0x31045a){const _0x35a1ce=a0_0x382518;this[_0x35a1ce(0xc7)]=_0x31045a['grid_column'],this['formRenderConfig']=_0x31045a[_0x35a1ce(0xd0)],_0x31045a[_0x35a1ce(0xc5)]=_0x31045a[_0x35a1ce(0xc5)][_0x35a1ce(0xbd)](_0x50b016=>'save'==_0x50b016[_0x35a1ce(0x93)]);}async['parseFormConfigs'](){const _0x31f735=a0_0x382518;this[_0x31f735(0xdf)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x382518(0xb9)](){const _0x212e2f=a0_0x382518;return this[_0x212e2f(0xa0)](this['record'][_0x212e2f(0xe4)]);}get['dirtyData'](){const _0x9e27a0=a0_0x382518;if(ValueUtil[_0x9e27a0(0xe2)]((this[_0x9e27a0(0xd5)]||{})['__dirtyfields__']))return{};let _0x2c22a2={};return Object[_0x9e27a0(0x9f)](this[_0x9e27a0(0xd5)][_0x9e27a0(0xe0)])['map'](([_0x59832b,_0x1fd95f])=>{const _0x2b2e9a=_0x9e27a0;0x0==_0x59832b[_0x2b2e9a(0xc4)]('__')&&(_0x2c22a2[_0x59832b]=_0x1fd95f[_0x2b2e9a(0xb0)]);}),_0x2c22a2;}get[a0_0x382518(0xc3)](){const _0x4db518=a0_0x382518;return this['removeGarbageData'](this[_0x4db518(0xd5)]);}['removeGarbageData'](_0x35c13e){const _0x58f025=a0_0x382518;let _0x2efd2d={};if(_0x35c13e)return Object['entries'](_0x35c13e)[_0x58f025(0xca)](([_0x24f710,_0x5044d0])=>{const _0x1ceea7=_0x58f025;0x0==_0x24f710[_0x1ceea7(0xc4)]('__')&&(_0x2efd2d[_0x24f710]=_0x5044d0);}),_0x2efd2d;}get['patchData'](){const _0x39dd13=a0_0x382518;let _0x443e93=this['dirtyData'],_0x2dd036=this[_0x39dd13(0xd5)],_0x7e9b35=(this[_0x39dd13(0xc7)]||[])[_0x39dd13(0xbd)](_0x16a5b4=>'code-input'===_0x16a5b4[_0x39dd13(0x96)])[_0x39dd13(0xca)](_0x404d27=>_0x404d27[_0x39dd13(0x93)]);if(!ValueUtil[_0x39dd13(0xe2)](_0x443e93))return ValueUtil['isNotEmpty'](_0x2dd036['id'])?(_0x443e93['id']=_0x2dd036['id'],_0x443e93[_0x39dd13(0xa9)]='M'):_0x443e93[_0x39dd13(0xa9)]='+',Object['keys'](_0x443e93)[_0x39dd13(0xa5)](_0x533819=>{'object'==typeof _0x443e93[_0x533819]&&0x0==_0x7e9b35['includes'](_0x533819)&&(_0x443e93[_0x533819]={'id':_0x443e93[_0x533819]['id']});}),[_0x443e93];}async[a0_0x382518(0xce)](){const _0x432f45=a0_0x382518;if(ValueUtil[_0x432f45(0xe2)](this[_0x432f45(0x99)]))return;let _0x940ea6=await this[_0x432f45(0xc6)](this[_0x432f45(0x99)]);_0x940ea6[_0x432f45(0xdb)]=0x1;let _0x50c13d={};Object[_0x432f45(0xd1)](_0x50c13d,_0x940ea6),_0x940ea6[_0x432f45(0xe4)]=_0x50c13d,this[_0x432f45(0xd5)]={..._0x940ea6};}async[a0_0x382518(0x9a)](){const _0x30a52b=a0_0x382518;let _0x96b660=this[_0x30a52b(0x94)];if(ValueUtil[_0x30a52b(0xe2)](_0x96b660))return void MetaApi[_0x30a52b(0xae)](_0x30a52b(0xd3),_0x30a52b(0xd6));let _0x47573f={};(this[_0x30a52b(0xc7)]||[])[_0x30a52b(0xbd)](_0x3f6aea=>!0x0===_0x3f6aea[_0x30a52b(0xe1)])[_0x30a52b(0xa5)](_0xdebbc=>{const _0x43316f=_0x30a52b;_0x47573f[_0xdebbc[_0x43316f(0x93)]]=_0xdebbc[_0x43316f(0xdc)];});let _0x4cddfc=this['currentData'];for(let _0x4422f4 in _0x47573f)if(void 0x0===_0x4cddfc[_0x4422f4]||''==_0x4cddfc[_0x4422f4])return void UiUtil[_0x30a52b(0xae)](_0x30a52b(0x98),TermsUtil[_0x30a52b(0xb5)]('check-mandatory-field',{'x':TermsUtil[_0x30a52b(0x9e)](_0x47573f[_0x4422f4])}),_0x30a52b(0x8f),_0x30a52b(0xcc));let _0x37f653=await this['updateMultiple'](_0x96b660);return _0x37f653&&await this[_0x30a52b(0xce)](),_0x37f653;}async[a0_0x382518(0xe3)](){const _0x259c4c=a0_0x382518;this[_0x259c4c(0xd5)]&&(this[_0x259c4c(0xd5)]={});}[a0_0x382518(0xe6)](){const _0x3a0b15=a0_0x382518;return this[_0x3a0b15(0xc3)]||{};}};
@@ -1 +1 @@
1
- const a0_0x3ef090=a0_0x57b9;function a0_0x57b9(_0x3ef049,_0x3d78e9){const _0x5ea800=a0_0x5ea8();return a0_0x57b9=function(_0x57b945,_0x3865f7){_0x57b945=_0x57b945-0xd0;let _0x43d03a=_0x5ea800[_0x57b945];return _0x43d03a;},a0_0x57b9(_0x3ef049,_0x3d78e9);}(function(_0x35aeaf,_0x3b738e){const _0x52f55d=a0_0x57b9,_0x4aea90=_0x35aeaf();while(!![]){try{const _0x317cf0=-parseInt(_0x52f55d(0xf0))/0x1*(parseInt(_0x52f55d(0xea))/0x2)+parseInt(_0x52f55d(0xff))/0x3+-parseInt(_0x52f55d(0x104))/0x4+-parseInt(_0x52f55d(0x109))/0x5+parseInt(_0x52f55d(0x115))/0x6+-parseInt(_0x52f55d(0xdb))/0x7+parseInt(_0x52f55d(0x11b))/0x8*(parseInt(_0x52f55d(0xdd))/0x9);if(_0x317cf0===_0x3b738e)break;else _0x4aea90['push'](_0x4aea90['shift']());}catch(_0x4c852a){_0x4aea90['push'](_0x4aea90['shift']());}}}(a0_0x5ea8,0x21e07));function a0_0x5ea8(){const _0x49e8a8=['getSelectedIdList','actions','shadowRoot','ox-filters-form-base','getGristTabHtml','fetch','isElement','gristConfigSet','styles','getParams','parseGridConfigSet','searchFieldValues','delete','670362NSeKuu','___data','gridEmphasized','context','getAndParseMenuMeta','753640MOCAWO','keys','beforeFetch','filterFormId','push','721365ijsqGe','isNotEmpty','#detail','gridColumnConfig','meta-tab-element','record','save','stringify','ox-grist','importable','find','getData','317220OjoCix','options','parseGristConfigs','tTitle','gridConfig','deleteByIds','1752NflpLI','patchesForUpdateMultiple','columns','useMasterFilterForm','useFilterForm','activityDataSet','pageInitialized','import','clear','connectedCallback','updateMultiple','dataSet','getBasicGristTabStyles','firstUpdated','menuInfo','parseBasicGridConfigs','376509EiLBwN','properties','21402xsYSkp','gristId','getContextObject','value','findOne','operator','isPage','name','search','exportable','querySelector','forEach','main','8914LkTqUq','filterForm','map','renderRoot','detailElement','grist','61BUnZln','filter'];a0_0x5ea8=function(){return _0x49e8a8;};return a0_0x5ea8();}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 MetaGristTabMixin=_0x42a797=>class extends MetaButtonMixin(_0x42a797){static get[a0_0x3ef090(0xfa)](){const _0x14b768=a0_0x3ef090;return MetaApi[_0x14b768(0xd7)]();}static get[a0_0x3ef090(0xdc)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String};}get[a0_0x3ef090(0xef)](){const _0x232d7d=a0_0x3ef090;return this[_0x232d7d(0xed)][_0x232d7d(0xe7)](this[_0x232d7d(0xde)]);}get[a0_0x3ef090(0xeb)](){const _0x4ff42b=a0_0x3ef090;return this[_0x4ff42b(0xf4)]?.['querySelector'](this[_0x4ff42b(0x107)]);}get[a0_0x3ef090(0xee)](){const _0x523bfa=a0_0x3ef090;return this['shadowRoot']['querySelector'](_0x523bfa(0x10b));}get[a0_0x3ef090(0x102)](){const _0x144369=a0_0x3ef090;let _0x22bb7c=MetaUiUtil[_0x144369(0xdf)](this);return _0x22bb7c[_0x144369(0xf3)]&&delete _0x22bb7c['actions'],_0x22bb7c[_0x144369(0xe6)]&&delete _0x22bb7c[_0x144369(0xe6)],_0x22bb7c[_0x144369(0x112)]&&delete _0x22bb7c[_0x144369(0x112)],_0x22bb7c;}async[a0_0x3ef090(0xd4)](){const _0x378e44=a0_0x3ef090;this['gristId']=_0x378e44(0x111),this[_0x378e44(0x107)]=_0x378e44(0xf5),await this[_0x378e44(0x103)](),this[_0x378e44(0xf8)]&&await this[_0x378e44(0x117)](),this['activityDataSet']&&(this[_0x378e44(0xd6)]=(this[_0x378e44(0xd0)]||{})[_0x378e44(0xe9)]),super[_0x378e44(0xd4)]&&await super[_0x378e44(0xd4)]();}async[a0_0x3ef090(0xd8)](){const _0xcdacba=a0_0x3ef090;super[_0xcdacba(0xd8)]&&await super[_0xcdacba(0xd8)]();}async[a0_0x3ef090(0xd1)](){const _0x2b08d4=a0_0x3ef090;this[_0x2b08d4(0xe3)]&&await this[_0x2b08d4(0x117)](),super[_0x2b08d4(0xd1)]&&await super['pageInitialized']();}['render'](){const _0x119d71=a0_0x3ef090;return MetaApi[_0x119d71(0xf6)](this);}[a0_0x3ef090(0xda)](_0xc4d2d4){const _0x4f7266=a0_0x3ef090;this[_0x4f7266(0x119)]=_0xc4d2d4['grid'],this[_0x4f7266(0x10c)]=_0xc4d2d4['grid_column'],this['searchConfig']=_0xc4d2d4['search'],this[_0x4f7266(0x101)]=_0xc4d2d4[_0x4f7266(0x101)];}async[a0_0x3ef090(0x117)](){const _0x3be13c=a0_0x3ef090;this['gristConfigSet']=await MetaApi[_0x3be13c(0xfc)](this),this[_0x3be13c(0x11e)]=!0x0===this[_0x3be13c(0x11f)],this[_0x3be13c(0x11f)]=!0x1,this[_0x3be13c(0xfd)]=[],this['searchFields']=this[_0x3be13c(0xf9)][_0x3be13c(0x11d)][_0x3be13c(0xf1)](_0x233f58=>_0x233f58['filter'])[_0x3be13c(0xec)](_0x74aa2e=>{const _0x5ffec1=_0x3be13c;let _0x51f3ec={'name':_0x74aa2e[_0x5ffec1(0xe4)],'type':_0x5ffec1(0xe5)===_0x74aa2e['filter'][_0x5ffec1(0xe2)]?_0x5ffec1(0xe5):_0x74aa2e['type'],'label':_0x74aa2e['header'],'operator':_0x74aa2e['filter'][_0x5ffec1(0xe2)]?_0x74aa2e[_0x5ffec1(0xf1)][_0x5ffec1(0xe2)]:'eq'};return _0x74aa2e['filter'][_0x5ffec1(0x116)]&&(_0x51f3ec[_0x5ffec1(0x116)]=_0x74aa2e[_0x5ffec1(0xf1)]['options']),_0x74aa2e[_0x5ffec1(0x10e)]['options']&&(_0x51f3ec['options']=_0x74aa2e[_0x5ffec1(0x10e)]['options']),_0x74aa2e[_0x5ffec1(0xf1)][_0x5ffec1(0xe0)]&&this[_0x5ffec1(0xfd)][_0x5ffec1(0x108)]({'name':_0x51f3ec[_0x5ffec1(0xe4)],'operator':_0x51f3ec[_0x5ffec1(0xe2)],'value':_0x74aa2e['filter']['value']}),delete _0x74aa2e[_0x5ffec1(0xf1)],_0x51f3ec;});}async[a0_0x3ef090(0xf7)](){const _0x3cae0d=a0_0x3ef090;await this['grist'][_0x3cae0d(0xf7)]();}async[a0_0x3ef090(0x106)]({page:_0x191d94=0x0,limit:_0x5ceafd=0x0,sortings:_0xe971c=[],filters:_0x4d204c=[]}){const _0x4d584b=a0_0x3ef090;let _0xa6ab1a=this['renderRoot'][_0x4d584b(0xe7)](_0x4d584b(0x10d));return await _0xa6ab1a[_0x4d584b(0xd3)](),!0x0;}async[a0_0x3ef090(0x10f)](){const _0x3637be=a0_0x3ef090;let _0x3332eb=MetaApi[_0x3637be(0x11c)](this[_0x3637be(0xef)]);!!ValueUtil['isNotEmpty'](_0x3332eb)&&await this[_0x3637be(0xd5)](_0x3332eb)&&this[_0x3637be(0xf7)]();}async[a0_0x3ef090(0x113)](){const _0x262bac=a0_0x3ef090;let _0x187a51=MetaApi[_0x262bac(0xf2)](this[_0x262bac(0xef)],!0x0);return ValueUtil[_0x262bac(0x10a)](_0x187a51)?await this[_0x262bac(0xe1)](_0x187a51[0x0]):{};}async[a0_0x3ef090(0xfe)](){const _0x4fb7e8=a0_0x3ef090;let _0x109248=MetaApi['getSelectedIdList'](this[_0x4fb7e8(0xef)],!0x0);!!ValueUtil[_0x4fb7e8(0x10a)](_0x109248)&&await this[_0x4fb7e8(0x11a)](_0x109248)&&this[_0x4fb7e8(0xf7)]();}async['export'](){const _0x2baa59=a0_0x3ef090;let _0x352c93=TermsUtil[_0x2baa59(0x118)](ValueUtil[_0x2baa59(0xfb)](this[_0x2baa59(0xd9)],'title'));return await MetaApi['exportableData'](this[_0x2baa59(0xf8)],_0x352c93,this[_0x2baa59(0xef)]);}async[a0_0x3ef090(0xd2)](){}[a0_0x3ef090(0x114)](){const _0x4a8623=a0_0x3ef090;let _0x3cfc09=this[_0x4a8623(0xef)][_0x4a8623(0x100)]['records'];return _0x3cfc09=JSON['parse'](JSON[_0x4a8623(0x110)](_0x3cfc09)),_0x3cfc09[_0x4a8623(0xe8)](_0x18d60f=>{const _0x427df4=_0x4a8623;Object[_0x427df4(0x105)](_0x18d60f)['forEach'](_0xe002f9=>{_0xe002f9['startsWith']('__')&&delete _0x18d60f[_0xe002f9];});}),{'main':_0x3cfc09,'detail':this['renderRoot'][_0x4a8623(0xe7)](_0x4a8623(0x10d))[_0x4a8623(0x114)]()};}};
1
+ const a0_0x57cefc=a0_0x5233;(function(_0x2003e1,_0x14c86a){const _0xddcb59=a0_0x5233,_0x2ce9ed=_0x2003e1();while(!![]){try{const _0x57c11d=parseInt(_0xddcb59(0x21d))/0x1+parseInt(_0xddcb59(0x207))/0x2+-parseInt(_0xddcb59(0x1f8))/0x3+-parseInt(_0xddcb59(0x214))/0x4*(-parseInt(_0xddcb59(0x1f6))/0x5)+-parseInt(_0xddcb59(0x239))/0x6*(-parseInt(_0xddcb59(0x213))/0x7)+-parseInt(_0xddcb59(0x215))/0x8*(parseInt(_0xddcb59(0x1fa))/0x9)+parseInt(_0xddcb59(0x1fd))/0xa;if(_0x57c11d===_0x14c86a)break;else _0x2ce9ed['push'](_0x2ce9ed['shift']());}catch(_0x3f7539){_0x2ce9ed['push'](_0x2ce9ed['shift']());}}}(a0_0x370c,0xb66c0));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 MetaGristTabMixin=_0xc73e16=>class extends MetaButtonMixin(_0xc73e16){static get['styles'](){return MetaApi['getBasicGristTabStyles']();}static get[a0_0x57cefc(0x221)](){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_0x57cefc(0x22b)](){const _0x4ac2c9=a0_0x57cefc;return this[_0x4ac2c9(0x22d)][_0x4ac2c9(0x204)](this[_0x4ac2c9(0x227)]);}get[a0_0x57cefc(0x217)](){const _0x6b6b47=a0_0x57cefc;return this[_0x6b6b47(0x22e)]?.['querySelector'](this[_0x6b6b47(0x200)]);}get['detailElement'](){const _0x5a2190=a0_0x57cefc;return this[_0x5a2190(0x22e)]['querySelector'](_0x5a2190(0x23a));}get[a0_0x57cefc(0x1f5)](){const _0x358724=a0_0x57cefc;let _0x6905df=MetaUiUtil[_0x358724(0x225)](this);return _0x6905df[_0x358724(0x223)]&&delete _0x6905df[_0x358724(0x223)],_0x6905df[_0x358724(0x226)]&&delete _0x6905df['exportable'],_0x6905df[_0x358724(0x222)]&&delete _0x6905df[_0x358724(0x222)],_0x6905df;}async[a0_0x57cefc(0x20c)](){const _0x3454f7=a0_0x57cefc;this[_0x3454f7(0x227)]=_0x3454f7(0x22c),this[_0x3454f7(0x200)]=_0x3454f7(0x229),await this[_0x3454f7(0x23f)](),this[_0x3454f7(0x233)]&&await this[_0x3454f7(0x231)](),this[_0x3454f7(0x237)]&&(this[_0x3454f7(0x201)]=(this['activityDataSet']||{})[_0x3454f7(0x1f7)]),super['connectedCallback']&&await super[_0x3454f7(0x20c)]();}async[a0_0x57cefc(0x240)](){const _0x586d4f=a0_0x57cefc;super[_0x586d4f(0x240)]&&await super[_0x586d4f(0x240)]();}async[a0_0x57cefc(0x234)](){const _0x3889a1=a0_0x57cefc;this[_0x3889a1(0x20d)]&&await this[_0x3889a1(0x231)](),super[_0x3889a1(0x234)]&&await super[_0x3889a1(0x234)]();}[a0_0x57cefc(0x20f)](){const _0x7f5735=a0_0x57cefc;return MetaApi[_0x7f5735(0x216)](this);}[a0_0x57cefc(0x1f9)](_0x23bd06){const _0x3bfc42=a0_0x57cefc;this[_0x3bfc42(0x228)]=_0x23bd06['grid'],this[_0x3bfc42(0x21f)]=_0x23bd06[_0x3bfc42(0x1f1)],this[_0x3bfc42(0x235)]=_0x23bd06[_0x3bfc42(0x202)],this[_0x3bfc42(0x209)]=_0x23bd06[_0x3bfc42(0x209)];}async[a0_0x57cefc(0x231)](){const _0x2659df=a0_0x57cefc;this[_0x2659df(0x21c)]=await MetaApi[_0x2659df(0x1f3)](this),this[_0x2659df(0x1fb)]=!0x0===this['useFilterForm'],this['useFilterForm']=!0x1,this['searchFieldValues']=[],this[_0x2659df(0x21e)]=this[_0x2659df(0x21c)][_0x2659df(0x203)]['filter'](_0x43f4ee=>_0x43f4ee[_0x2659df(0x212)])['map'](_0x4b1564=>{const _0x3441a2=_0x2659df;let _0x435d09={'name':_0x4b1564['name'],'type':_0x3441a2(0x202)===_0x4b1564[_0x3441a2(0x212)][_0x3441a2(0x20e)]?_0x3441a2(0x202):_0x4b1564[_0x3441a2(0x23b)],'label':_0x4b1564['header'],'operator':_0x4b1564['filter'][_0x3441a2(0x20e)]?_0x4b1564['filter'][_0x3441a2(0x20e)]:'eq'};return _0x4b1564[_0x3441a2(0x212)][_0x3441a2(0x23e)]&&(_0x435d09['options']=_0x4b1564[_0x3441a2(0x212)]['options']),_0x4b1564[_0x3441a2(0x1fe)][_0x3441a2(0x23e)]&&(_0x435d09[_0x3441a2(0x23e)]=_0x4b1564[_0x3441a2(0x1fe)]['options']),_0x4b1564[_0x3441a2(0x212)][_0x3441a2(0x238)]&&this[_0x3441a2(0x23c)]['push']({'name':_0x435d09[_0x3441a2(0x1ff)],'operator':_0x435d09[_0x3441a2(0x20e)],'value':_0x4b1564[_0x3441a2(0x212)][_0x3441a2(0x238)]}),delete _0x4b1564[_0x3441a2(0x212)],_0x435d09;});}async[a0_0x57cefc(0x205)](){const _0x5baab6=a0_0x57cefc;await this[_0x5baab6(0x22b)][_0x5baab6(0x205)]();}async[a0_0x57cefc(0x20a)]({page:_0x36f244=0x0,limit:_0x2800a3=0x0,sortings:_0x2c6cfc=[],filters:_0x490ca8=[]}){const _0x3c6ea2=a0_0x57cefc;let _0x4e6bce=this['renderRoot'][_0x3c6ea2(0x204)](_0x3c6ea2(0x206));return await _0x4e6bce[_0x3c6ea2(0x220)](),!0x0;}async[a0_0x57cefc(0x1f4)](){const _0x515da0=a0_0x57cefc;let _0x47391d=MetaApi[_0x515da0(0x1f2)](this[_0x515da0(0x22b)]);!!ValueUtil[_0x515da0(0x208)](_0x47391d)&&await this[_0x515da0(0x230)](_0x47391d)&&this[_0x515da0(0x205)]();}async[a0_0x57cefc(0x21b)](){const _0x3fd5ff=a0_0x57cefc;let _0x3559cc=MetaApi[_0x3fd5ff(0x20b)](this['grist'],!0x0);return ValueUtil[_0x3fd5ff(0x208)](_0x3559cc)?await this[_0x3fd5ff(0x21a)](_0x3559cc[0x0]):{};}async['delete'](){const _0x51b281=a0_0x57cefc;let _0x85af8a=MetaApi[_0x51b281(0x20b)](this[_0x51b281(0x22b)],!0x0);!!ValueUtil['isNotEmpty'](_0x85af8a)&&await this[_0x51b281(0x211)](_0x85af8a)&&this[_0x51b281(0x205)]();}async[a0_0x57cefc(0x1fc)](){const _0x35ddb5=a0_0x57cefc;let _0x29ef63=TermsUtil[_0x35ddb5(0x22a)](ValueUtil[_0x35ddb5(0x210)](this['menuInfo'],_0x35ddb5(0x218)));return await MetaApi[_0x35ddb5(0x23d)](this[_0x35ddb5(0x233)],_0x29ef63,this[_0x35ddb5(0x22b)]);}async['import'](){}['getData'](){const _0x37ca97=a0_0x57cefc;let _0x473c85=this[_0x37ca97(0x22b)]['___data'][_0x37ca97(0x241)];return _0x473c85=JSON[_0x37ca97(0x22f)](JSON[_0x37ca97(0x232)](_0x473c85)),_0x473c85[_0x37ca97(0x219)](_0x3e9de0=>{const _0x166bfd=_0x37ca97;Object[_0x166bfd(0x224)](_0x3e9de0)[_0x166bfd(0x219)](_0x4bd8d4=>{const _0x1dde7d=_0x166bfd;_0x4bd8d4[_0x1dde7d(0x1f0)]('__')&&delete _0x3e9de0[_0x4bd8d4];});}),{'main':_0x473c85,'detail':this[_0x37ca97(0x22d)]['querySelector'](_0x37ca97(0x206))[_0x37ca97(0x236)]()};}};function a0_0x5233(_0x5e8ec5,_0x105b09){const _0x370c82=a0_0x370c();return a0_0x5233=function(_0x5233e8,_0x3e2383){_0x5233e8=_0x5233e8-0x1f0;let _0x5928b7=_0x370c82[_0x5233e8];return _0x5928b7;},a0_0x5233(_0x5e8ec5,_0x105b09);}function a0_0x370c(){const _0x15e856=['filter','91FviPns','72052QiLSuP','1872yPJGao','getGristTabHtml','filterForm','title','forEach','findOne','find','gristConfigSet','102978dYUyfB','searchFields','gridColumnConfig','clear','properties','importable','actions','keys','getContextObject','exportable','gristId','gridConfig','ox-filters-form-base','tTitle','grist','ox-grist','renderRoot','shadowRoot','parse','updateMultiple','parseGristConfigs','stringify','isElement','pageInitialized','searchConfig','getData','activityDataSet','value','98190nRkBPE','#detail','type','searchFieldValues','exportableData','options','getAndParseMenuMeta','firstUpdated','records','startsWith','grid_column','patchesForUpdateMultiple','parseGridConfigSet','save','context','370TjmFuF','main','878667oCmOvH','parseBasicGridConfigs','50751PPdzno','useMasterFilterForm','export','4947600wIPaxd','record','name','filterFormId','dataSet','search','columns','querySelector','fetch','meta-tab-element','432340vfSuhp','isNotEmpty','gridEmphasized','beforeFetch','getSelectedIdList','connectedCallback','isPage','operator','render','getParams','deleteByIds'];a0_0x370c=function(){return _0x15e856;};return a0_0x370c();}
@@ -1 +1 @@
1
- const a0_0x196ff5=a0_0x30e6;(function(_0x3166b2,_0x3d760c){const _0x100e3c=a0_0x30e6,_0xb03b2b=_0x3166b2();while(!![]){try{const _0x1d15fa=parseInt(_0x100e3c(0xb0))/0x1*(parseInt(_0x100e3c(0xab))/0x2)+-parseInt(_0x100e3c(0x83))/0x3*(parseInt(_0x100e3c(0xb2))/0x4)+parseInt(_0x100e3c(0x81))/0x5*(-parseInt(_0x100e3c(0x9c))/0x6)+parseInt(_0x100e3c(0xb8))/0x7+parseInt(_0x100e3c(0xa2))/0x8*(-parseInt(_0x100e3c(0x93))/0x9)+-parseInt(_0x100e3c(0xaa))/0xa*(-parseInt(_0x100e3c(0x91))/0xb)+parseInt(_0x100e3c(0xb9))/0xc;if(_0x1d15fa===_0x3d760c)break;else _0xb03b2b['push'](_0xb03b2b['shift']());}catch(_0x18600b){_0xb03b2b['push'](_0xb03b2b['shift']());}}}(a0_0x4cbd,0x5d76b));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x4cbd(){const _0x1a19ad=['operator','searchFields','push','isPage','filterFormId','dataSet','getAndParseMenuMeta','341958kmlnjo','isElement','value','useFilterForm','gristId','map','2927240QoqtJD','clear','getMainTabHtml','activityDataSet','searchFieldValues','parseGridConfigSet','getContextObject','search','10590GVdWvU','2FRSEPn','name','filter','gridConfig','gristConfigSet','662755VFYeHd','context','20IDYhGJ','masterElement','useButtonExport','parseGristConfigs','useMasterFilterForm','shadowRoot','4490206JhHwyd','4069716ihqXyD','beforeFetch','properties','55iWqgfV','fetch','94209bJBRHT','styles','ox-filters-form-base','buttonConfig','ox-grist','record','actions','firstUpdated','exportable','connectedCallback','grist','pageInitialized','options','gridEmphasized','2651yqsEvB','importable','18qRXOHL','parseBasicGridConfigs'];a0_0x4cbd=function(){return _0x1a19ad;};return a0_0x4cbd();}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';function a0_0x30e6(_0x13245d,_0x39ddd1){const _0x4cbd10=a0_0x4cbd();return a0_0x30e6=function(_0x30e607,_0x511d23){_0x30e607=_0x30e607-0x81;let _0x383f75=_0x4cbd10[_0x30e607];return _0x383f75;},a0_0x30e6(_0x13245d,_0x39ddd1);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x1c659c=>class extends MetaButtonMixin(_0x1c659c){static get[a0_0x196ff5(0x84)](){return MetaApi['getBasicMainTabStyles']();}static get[a0_0x196ff5(0xbb)](){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_0x196ff5(0x8d)](){const _0x4c54a6=a0_0x196ff5;return this[_0x4c54a6(0xb3)]['getMainGrist']();}get['filterForm'](){const _0x29a84a=a0_0x196ff5;return this[_0x29a84a(0xb7)]?.['querySelector'](this[_0x29a84a(0x99)]);}get[a0_0x196ff5(0xb1)](){const _0x18b29e=a0_0x196ff5;let _0x50d193=MetaUiUtil[_0x18b29e(0xa8)](this);return _0x50d193[_0x18b29e(0x89)]&&delete _0x50d193[_0x18b29e(0x89)],_0x50d193[_0x18b29e(0x8b)]&&delete _0x50d193[_0x18b29e(0x8b)],_0x50d193[_0x18b29e(0x92)]&&delete _0x50d193['importable'],_0x50d193;}async[a0_0x196ff5(0x8c)](){const _0x38421a=a0_0x196ff5;this[_0x38421a(0xa0)]=_0x38421a(0x87),this[_0x38421a(0x99)]=_0x38421a(0x85),await this[_0x38421a(0x9b)](),this[_0x38421a(0x9d)]&&await this['parseGristConfigs'](),this[_0x38421a(0xa5)]&&(this[_0x38421a(0x9a)]=(this[_0x38421a(0xa5)]||{})['main']),super[_0x38421a(0x8c)]&&await super[_0x38421a(0x8c)]();}async[a0_0x196ff5(0x8a)](){const _0x8f1814=a0_0x196ff5;super[_0x8f1814(0x8a)]&&await super[_0x8f1814(0x8a)]();}async[a0_0x196ff5(0x8e)](){const _0x82ef81=a0_0x196ff5;this[_0x82ef81(0x98)]&&await this['parseGristConfigs'](),super[_0x82ef81(0x8e)]&&await super[_0x82ef81(0x8e)]();}['render'](){const _0x2abf46=a0_0x196ff5;return MetaApi[_0x2abf46(0xa4)](this);}[a0_0x196ff5(0x94)](_0x390a77){const _0x49c88e=a0_0x196ff5;this[_0x49c88e(0xae)]=_0x390a77['grid'],this['gridColumnConfig']=_0x390a77['grid_column'],this['searchConfig']=_0x390a77[_0x49c88e(0xa9)],this[_0x49c88e(0x90)]=_0x390a77['gridEmphasized'];}async[a0_0x196ff5(0xb5)](){const _0x5adfdb=a0_0x196ff5;this[_0x5adfdb(0xaf)]=await MetaApi[_0x5adfdb(0xa7)](this),this[_0x5adfdb(0xb6)]=!0x0===this['useFilterForm'],this[_0x5adfdb(0x9f)]=!0x1,this[_0x5adfdb(0x86)]=void 0x0,this[_0x5adfdb(0xb4)]=!0x1,this['useButtonImport']=!0x1,this[_0x5adfdb(0xa6)]=[],this[_0x5adfdb(0x96)]=this[_0x5adfdb(0xaf)]['columns'][_0x5adfdb(0xad)](_0x27d3f2=>_0x27d3f2['filter'])[_0x5adfdb(0xa1)](_0x346eba=>{const _0x1e6735=_0x5adfdb;let _0x1ca24b={'name':_0x346eba[_0x1e6735(0xac)],'type':_0x1e6735(0xa9)===_0x346eba[_0x1e6735(0xad)][_0x1e6735(0x95)]?_0x1e6735(0xa9):_0x346eba['type'],'label':_0x346eba['header'],'operator':_0x346eba[_0x1e6735(0xad)][_0x1e6735(0x95)]?_0x346eba[_0x1e6735(0xad)][_0x1e6735(0x95)]:'eq'};return _0x346eba[_0x1e6735(0xad)][_0x1e6735(0x8f)]&&(_0x1ca24b[_0x1e6735(0x8f)]=_0x346eba[_0x1e6735(0xad)][_0x1e6735(0x8f)]),_0x346eba[_0x1e6735(0x88)][_0x1e6735(0x8f)]&&(_0x1ca24b[_0x1e6735(0x8f)]=_0x346eba[_0x1e6735(0x88)][_0x1e6735(0x8f)]),_0x346eba[_0x1e6735(0xad)]['value']&&this[_0x1e6735(0xa6)][_0x1e6735(0x97)]({'name':_0x1ca24b[_0x1e6735(0xac)],'operator':_0x1ca24b[_0x1e6735(0x95)],'value':_0x346eba[_0x1e6735(0xad)][_0x1e6735(0x9e)]}),delete _0x346eba[_0x1e6735(0xad)],_0x1ca24b;});}async[a0_0x196ff5(0x82)](){const _0x186854=a0_0x196ff5;await this[_0x186854(0x8d)][_0x186854(0x82)]();}async[a0_0x196ff5(0xba)]({page:_0x261bb4=0x0,limit:_0x2f3e0e=0x0,sortings:_0x46bfa4=[],filters:_0x431a89=[]}){const _0x13c4cc=a0_0x196ff5;return this[_0x13c4cc(0xb3)]&&this[_0x13c4cc(0xb3)][_0x13c4cc(0xa3)]&&await this[_0x13c4cc(0xb3)]['clear'](),!0x0;}['getData'](){return{'master':this['masterElement']['getData']()};}};
1
+ const a0_0x4d6d60=a0_0xd920;(function(_0x5032cc,_0x445031){const _0x4c9a50=a0_0xd920,_0x5b3d98=_0x5032cc();while(!![]){try{const _0x3036ee=parseInt(_0x4c9a50(0x1f1))/0x1+-parseInt(_0x4c9a50(0x1e9))/0x2*(parseInt(_0x4c9a50(0x1d3))/0x3)+-parseInt(_0x4c9a50(0x1cb))/0x4+parseInt(_0x4c9a50(0x1d9))/0x5*(parseInt(_0x4c9a50(0x1d5))/0x6)+parseInt(_0x4c9a50(0x1ee))/0x7+parseInt(_0x4c9a50(0x1d6))/0x8*(parseInt(_0x4c9a50(0x1f9))/0x9)+-parseInt(_0x4c9a50(0x203))/0xa*(parseInt(_0x4c9a50(0x1d1))/0xb);if(_0x3036ee===_0x445031)break;else _0x5b3d98['push'](_0x5b3d98['shift']());}catch(_0x4805c9){_0x5b3d98['push'](_0x5b3d98['shift']());}}}(a0_0xd59e,0xe0ef7));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0xd920(_0xe5900f,_0x391331){const _0xd59e1b=a0_0xd59e();return a0_0xd920=function(_0xd9204a,_0x3b320f){_0xd9204a=_0xd9204a-0x1c8;let _0x2af7a5=_0xd59e1b[_0xd9204a];return _0x2af7a5;},a0_0xd920(_0xe5900f,_0x391331);}import{ValueUtil}from'../utils/value-util';function a0_0xd59e(){const _0x4fb2f6=['useFilterForm','render','27Hgodht','context','ox-filters-form-base','getMainGrist','record','exportable','value','clear','searchFieldValues','fetch','200DwDpWs','type','dataSet','masterElement','6040340CDcBMo','grist','useMasterFilterForm','filter','connectedCallback','grid','247511OsfMsc','search','444357bkkJAH','operator','41808YFchcb','2101224VKgphJ','actions','searchConfig','10rBqUUm','getBasicMainTabStyles','gridColumnConfig','filterFormId','activityDataSet','isPage','grid_column','options','map','name','styles','isElement','searchFields','querySelector','buttonConfig','getData','2RiDMkH','ox-grist','header','getContextObject','filterForm','10738182NMhLKz','parseGristConfigs','getAndParseMenuMeta','693638IOHtck','gridEmphasized','pageInitialized','gristConfigSet','firstUpdated','columns'];a0_0xd59e=function(){return _0x4fb2f6;};return a0_0xd59e();}import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMainTabMixin=_0x3b603b=>class extends MetaButtonMixin(_0x3b603b){static get[a0_0x4d6d60(0x1e3)](){const _0x4f152b=a0_0x4d6d60;return MetaApi[_0x4f152b(0x1da)]();}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_0x4d6d60(0x1cc)](){const _0x1d8d67=a0_0x4d6d60;return this[_0x1d8d67(0x1ca)][_0x1d8d67(0x1fc)]();}get[a0_0x4d6d60(0x1ed)](){const _0x4b8835=a0_0x4d6d60;return this['shadowRoot']?.[_0x4b8835(0x1e6)](this[_0x4b8835(0x1dc)]);}get[a0_0x4d6d60(0x1fa)](){const _0x1242ef=a0_0x4d6d60;let _0x4fa8e9=MetaUiUtil[_0x1242ef(0x1ec)](this);return _0x4fa8e9[_0x1242ef(0x1d7)]&&delete _0x4fa8e9[_0x1242ef(0x1d7)],_0x4fa8e9[_0x1242ef(0x1fe)]&&delete _0x4fa8e9[_0x1242ef(0x1fe)],_0x4fa8e9['importable']&&delete _0x4fa8e9['importable'],_0x4fa8e9;}async[a0_0x4d6d60(0x1cf)](){const _0x1f5faf=a0_0x4d6d60;this['gristId']=_0x1f5faf(0x1ea),this[_0x1f5faf(0x1dc)]=_0x1f5faf(0x1fb),await this[_0x1f5faf(0x1f0)](),this[_0x1f5faf(0x1e4)]&&await this['parseGristConfigs'](),this[_0x1f5faf(0x1dd)]&&(this[_0x1f5faf(0x1c9)]=(this[_0x1f5faf(0x1dd)]||{})['main']),super['connectedCallback']&&await super[_0x1f5faf(0x1cf)]();}async[a0_0x4d6d60(0x1f5)](){const _0x34cef6=a0_0x4d6d60;super[_0x34cef6(0x1f5)]&&await super[_0x34cef6(0x1f5)]();}async['pageInitialized'](){const _0x4bff72=a0_0x4d6d60;this[_0x4bff72(0x1de)]&&await this[_0x4bff72(0x1ef)](),super[_0x4bff72(0x1f3)]&&await super[_0x4bff72(0x1f3)]();}[a0_0x4d6d60(0x1f8)](){return MetaApi['getMainTabHtml'](this);}['parseBasicGridConfigs'](_0x22de9b){const _0x28296f=a0_0x4d6d60;this['gridConfig']=_0x22de9b[_0x28296f(0x1d0)],this[_0x28296f(0x1db)]=_0x22de9b[_0x28296f(0x1df)],this[_0x28296f(0x1d8)]=_0x22de9b[_0x28296f(0x1d2)],this[_0x28296f(0x1f2)]=_0x22de9b[_0x28296f(0x1f2)];}async[a0_0x4d6d60(0x1ef)](){const _0x56dfcb=a0_0x4d6d60;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x56dfcb(0x1cd)]=!0x0===this[_0x56dfcb(0x1f7)],this[_0x56dfcb(0x1f7)]=!0x1,this[_0x56dfcb(0x1e7)]=void 0x0,this['useButtonExport']=!0x1,this['useButtonImport']=!0x1,this[_0x56dfcb(0x201)]=[],this[_0x56dfcb(0x1e5)]=this[_0x56dfcb(0x1f4)][_0x56dfcb(0x1f6)][_0x56dfcb(0x1ce)](_0x4b7303=>_0x4b7303[_0x56dfcb(0x1ce)])[_0x56dfcb(0x1e1)](_0x584103=>{const _0x4b54be=_0x56dfcb;let _0x8da900={'name':_0x584103[_0x4b54be(0x1e2)],'type':'search'===_0x584103[_0x4b54be(0x1ce)][_0x4b54be(0x1d4)]?'search':_0x584103[_0x4b54be(0x1c8)],'label':_0x584103[_0x4b54be(0x1eb)],'operator':_0x584103['filter'][_0x4b54be(0x1d4)]?_0x584103['filter'][_0x4b54be(0x1d4)]:'eq'};return _0x584103[_0x4b54be(0x1ce)][_0x4b54be(0x1e0)]&&(_0x8da900[_0x4b54be(0x1e0)]=_0x584103[_0x4b54be(0x1ce)]['options']),_0x584103['record'][_0x4b54be(0x1e0)]&&(_0x8da900[_0x4b54be(0x1e0)]=_0x584103[_0x4b54be(0x1fd)][_0x4b54be(0x1e0)]),_0x584103[_0x4b54be(0x1ce)]['value']&&this['searchFieldValues']['push']({'name':_0x8da900['name'],'operator':_0x8da900[_0x4b54be(0x1d4)],'value':_0x584103[_0x4b54be(0x1ce)][_0x4b54be(0x1ff)]}),delete _0x584103['filter'],_0x8da900;});}async[a0_0x4d6d60(0x202)](){const _0x1eddf0=a0_0x4d6d60;await this[_0x1eddf0(0x1cc)][_0x1eddf0(0x202)]();}async['beforeFetch']({page:_0x61df1f=0x0,limit:_0x3f2074=0x0,sortings:_0x49f27e=[],filters:_0x35e6a1=[]}){const _0x3c3681=a0_0x4d6d60;return this['masterElement']&&this[_0x3c3681(0x1ca)][_0x3c3681(0x200)]&&await this[_0x3c3681(0x1ca)]['clear'](),!0x0;}[a0_0x4d6d60(0x1e8)](){const _0x5e7227=a0_0x4d6d60;return{'master':this[_0x5e7227(0x1ca)][_0x5e7227(0x1e8)]()};}};