@things-factory/meta-ui 6.0.135 → 6.0.140

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 (89) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +31 -11
  3. package/client/component/filter/filter-form-meta-code-select.js +16 -0
  4. package/client/component/filter/filter-form-meta-object-select.js +16 -0
  5. package/client/component/filter/filter-grist-meta-code-select.js +16 -0
  6. package/client/component/filter/filter-grist-meta-object-select.js +16 -0
  7. package/client/component/grist/editor/grist-editor-meta-code-selector.js +9 -0
  8. package/client/component/grist/editor/grist-editor-meta-object-selector.js +9 -0
  9. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -0
  10. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -0
  11. package/client/component/selector/meta-object-selector-popup.js +40 -0
  12. package/client/mixin/meta-base-mixin.js +1 -1
  13. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  14. package/client/mixin/meta-button-mixin.js +1 -1
  15. package/client/mixin/meta-form-mixin.js +1 -1
  16. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  17. package/client/mixin/meta-main-tab-mixin.js +1 -1
  18. package/client/mixin/meta-master-detail-mixin.js +1 -1
  19. package/client/mixin/meta-service-mixin.js +1 -1
  20. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  21. package/client/mixin/meta-tab-mixin.js +1 -1
  22. package/client/pages/activity/meta-activity-list-page.js +6 -6
  23. package/client/pages/activity/meta-activity-viewer-element.js +2 -2
  24. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  25. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  26. package/client/pages/entity/config-entity.js +29 -29
  27. package/client/pages/entity/main-menu-selector.js +8 -8
  28. package/client/pages/history/history-copy-list-popup.js +5 -5
  29. package/client/pages/history/history-json-list-popup.js +6 -6
  30. package/client/pages/loading-page.js +5 -5
  31. package/client/pages/menu/dynamic-menu-template.js +7 -7
  32. package/client/pages/menu/dynamic-menu.js +15 -15
  33. package/client/pages/meta-form-element.js +1 -1
  34. package/client/pages/meta-grist-element.js +1 -1
  35. package/client/pages/meta-grist-page.js +1 -1
  36. package/client/pages/meta-grist-tab-element.js +1 -1
  37. package/client/pages/meta-grist-tab-page.js +1 -1
  38. package/client/pages/meta-main-tab-element.js +1 -1
  39. package/client/pages/meta-main-tab-page.js +1 -1
  40. package/client/pages/meta-master-detail-element.js +1 -1
  41. package/client/pages/meta-master-detail-page.js +1 -1
  42. package/client/pages/meta-tab-detail-element.js +1 -1
  43. package/client/pages/meta-tab-detail-page.js +1 -1
  44. package/client/pages/meta-tab-element.js +1 -1
  45. package/client/pages/personalize/personal-column-selector.js +11 -11
  46. package/client/pages/terms/config-terminology.js +6 -6
  47. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  48. package/client/pages/work-code/work-code-page.js +1 -1
  49. package/client/reducers/main.js +1 -1
  50. package/client/utils/meta-api.js +1 -1
  51. package/client/utils/meta-crypto.js +1 -1
  52. package/client/utils/meta-ui-util.js +103 -103
  53. package/client/utils/service-util.js +13 -13
  54. package/client/utils/terms-util.js +2 -2
  55. package/client/utils/ui-util.js +1 -1
  56. package/client/utils/value-util.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  58. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  59. package/client/viewparts/dynamic-menu-part.js +11 -11
  60. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  61. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  62. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  63. package/package.json +2 -2
  64. package/server/activity/CommonActivity.js +2 -2
  65. package/server/constants/error-code.js +1 -1
  66. package/server/errors/license-error.js +1 -1
  67. package/server/routes.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  73. package/server/service/meta-activity/meta-activity-query.js +1 -1
  74. package/server/service/meta-activity/meta-activity-type.js +1 -1
  75. package/server/service/meta-secret/meta-resolver.js +1 -1
  76. package/server/service/set-translations/set-translation-resolver.js +1 -1
  77. package/server/service/work-code/work-code-mutation.js +1 -1
  78. package/server/service/work-code/work-code-query.js +1 -1
  79. package/server/service/work-code/work-code-type.js +1 -1
  80. package/server/service/work-code/work-code.js +1 -1
  81. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail.js +1 -1
  85. package/client/component/filter/filter-form-resource-code-select.js +0 -16
  86. package/client/component/filter/filter-grist-resource-code-select.js +0 -16
  87. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +0 -11
  88. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +0 -1
  89. package/client/component/selector/ox-resource-code-selector-popup.js +0 -40
@@ -1,11 +0,0 @@
1
- function a0_0x2ff7(_0x39838a,_0x4dbf62){const _0x4823fc=a0_0x4823();return a0_0x2ff7=function(_0x2ff7a7,_0x149925){_0x2ff7a7=_0x2ff7a7-0x162;let _0x4831c5=_0x4823fc[_0x2ff7a7];return _0x4831c5;},a0_0x2ff7(_0x39838a,_0x4dbf62);}const a0_0x362bac=a0_0x2ff7;(function(_0x15f991,_0x23b014){const _0x3c19cc=a0_0x2ff7,_0x1df824=_0x15f991();while(!![]){try{const _0x46c31c=-parseInt(_0x3c19cc(0x16c))/0x1+parseInt(_0x3c19cc(0x17f))/0x2+-parseInt(_0x3c19cc(0x180))/0x3*(-parseInt(_0x3c19cc(0x163))/0x4)+-parseInt(_0x3c19cc(0x16e))/0x5*(parseInt(_0x3c19cc(0x175))/0x6)+-parseInt(_0x3c19cc(0x17b))/0x7+-parseInt(_0x3c19cc(0x162))/0x8+parseInt(_0x3c19cc(0x17a))/0x9;if(_0x46c31c===_0x23b014)break;else _0x1df824['push'](_0x1df824['shift']());}catch(_0x444d26){_0x1df824['push'](_0x1df824['shift']());}}}(a0_0x4823,0x9bbcf));import{html}from'lit';import{OxGristEditor}from'@operato/data-grist';import{openPopup}from'@operato/layout';import{TermsUtil}from'../../../utils/terms-util';import'../../selector/ox-resource-code-selector-popup';function a0_0x4823(){const _0x35b8e1=['7028525AHABAh','bind','_onkeydown','codes','2413654BVrMDV','1878skgVoY','codeField','openSelector','7313688CxJOzu','5704RyMFCf','properties','popup','row','filter','Enter','define','dispField','ox-grist-editor-resource-code-selector','1248289EoeYQo','stopPropagation','85MCAIaB','options','value','editorTemplate','field-change','length','column','52074bdVszY','dispatchEvent','display','push','record','16672662bVqRlr'];a0_0x4823=function(){return _0x35b8e1;};return a0_0x4823();}export class OxGristEditorResourceCodeSelector extends OxGristEditor{static get[a0_0x362bac(0x164)](){return{'value':Object,'column':Object,'record':Object,'rowIndex':Number,'field':Object,'popup':Object};}get[a0_0x362bac(0x171)](){const _0x31fc60=a0_0x362bac;let _0x57b836,_0x158728=this['column'][_0x31fc60(0x179)][_0x31fc60(0x16f)][_0x31fc60(0x17e)]||[];if(!this[_0x31fc60(0x174)][_0x31fc60(0x179)][_0x31fc60(0x16f)]['dispField'])return html`
2
- ${this[_0x31fc60(0x170)]?html` <span tabindex="0" style="flex:1">${this['value']}</span> `:html`<span tabindex="0"></span>`}
3
- `;if(this[_0x31fc60(0x170)]&&this['value']['length']>0x0){let _0x1477ef=_0x158728[_0x31fc60(0x167)](_0x390f61=>_0x390f61[_0x31fc60(0x170)]===this[_0x31fc60(0x170)]);_0x57b836=_0x1477ef&&_0x1477ef[_0x31fc60(0x173)]>0x0?_0x1477ef[0x0][_0x31fc60(0x177)]:'';}return html`
4
- ${_0x57b836?html` <span tabindex="0" style="flex:1">${_0x57b836}</span> `:html`<span tabindex="0"></span>`}
5
- `;}async['firstUpdated'](){super['firstUpdated']();}['_onclick'](_0x2b05c7){const _0x5d97ea=a0_0x362bac;_0x2b05c7['stopPropagation'](),this[_0x5d97ea(0x182)]();}[a0_0x362bac(0x17d)](_0x29c420){const _0x16d4d2=a0_0x362bac;_0x16d4d2(0x168)==_0x29c420['key']&&(_0x29c420[_0x16d4d2(0x16d)](),this[_0x16d4d2(0x182)]());}[a0_0x362bac(0x182)](){const _0x1b3736=a0_0x362bac;this['popup']&&delete this[_0x1b3736(0x165)];var {selectorName:_0x4a0647=''}=this[_0x1b3736(0x174)][_0x1b3736(0x179)][_0x1b3736(0x16f)]||{},_0x3b2a63=html`
6
- <ox-resource-code-selector-popup
7
- .value=${this['value']}
8
- .options=${this[_0x1b3736(0x174)][_0x1b3736(0x179)][_0x1b3736(0x16f)]}
9
- .confirmCallback=${(_0x452616=>{const _0x31741e=_0x1b3736;let _0x5d4f60=this['column'][_0x31741e(0x179)][_0x31741e(0x16f)][_0x31741e(0x181)],_0x3f93cf=this[_0x31741e(0x174)][_0x31741e(0x179)][_0x31741e(0x16f)][_0x31741e(0x16a)];this['column'][_0x31741e(0x179)][_0x31741e(0x16f)]['codes']||(this[_0x31741e(0x174)][_0x31741e(0x179)]['options'][_0x31741e(0x17e)]=[]);let _0x29a49c=this['column'][_0x31741e(0x179)][_0x31741e(0x16f)][_0x31741e(0x17e)][_0x31741e(0x167)](_0x495ad4=>_0x495ad4['value']==_0x452616[_0x5d4f60]);_0x29a49c&&0x0!=_0x29a49c['length']||this[_0x31741e(0x174)][_0x31741e(0x179)]['options']['codes'][_0x31741e(0x178)]({'value':_0x452616[_0x5d4f60],'display':_0x452616[_0x3f93cf]}),this[_0x31741e(0x176)](new CustomEvent(_0x31741e(0x172),{'bubbles':!0x0,'composed':!0x0,'detail':{'before':this['value'],'after':_0x452616?_0x452616[_0x5d4f60]:null,'record':this['record'],'column':this[_0x31741e(0x174)],'row':this[_0x31741e(0x166)]}}));})[_0x1b3736(0x17c)](this)}
10
- ></ox-resource-code-selector-popup>
11
- `;this[_0x1b3736(0x165)]=openPopup(_0x3b2a63,{'backdrop':!0x0,'size':'large','title':TermsUtil['tMenu'](_0x4a0647)});}}customElements[a0_0x362bac(0x169)](a0_0x362bac(0x16b),OxGristEditorResourceCodeSelector);
@@ -1 +0,0 @@
1
- (function(_0x4c11cd,_0x4eed88){const _0x5dd6e4=a0_0x512f,_0x344dba=_0x4c11cd();while(!![]){try{const _0x2a6098=parseInt(_0x5dd6e4(0x1d7))/0x1+-parseInt(_0x5dd6e4(0x1e6))/0x2+parseInt(_0x5dd6e4(0x1da))/0x3*(parseInt(_0x5dd6e4(0x1e3))/0x4)+parseInt(_0x5dd6e4(0x1db))/0x5+parseInt(_0x5dd6e4(0x1dd))/0x6+-parseInt(_0x5dd6e4(0x1dc))/0x7+-parseInt(_0x5dd6e4(0x1de))/0x8;if(_0x2a6098===_0x4eed88)break;else _0x344dba['push'](_0x344dba['shift']());}catch(_0x213da4){_0x344dba['push'](_0x344dba['shift']());}}}(a0_0x5043,0xc1465));function a0_0x512f(_0x49de8c,_0x5d9933){const _0x5043f9=a0_0x5043();return a0_0x512f=function(_0x512f86,_0x2585f4){_0x512f86=_0x512f86-0x1d7;let _0x5a7780=_0x5043f9[_0x512f86];return _0x5a7780;},a0_0x512f(_0x49de8c,_0x5d9933);}import{html}from'lit';import{detectOverflow}from'@operato/utils';function a0_0x5043(){const _0x910256=['target','1056lXLHiW','3512525rpIxvY','6546848vQYvPR','3372552DUobky','2124232CCHxKf','value','record','setAttribute','options','788tZuVnW','display','length','214222rfedsr','data-tooltip','textContent','765616fPXFTt','codes'];a0_0x5043=function(){return _0x910256;};return a0_0x5043();}function onmouseover(_0x1c16e6){const _0x2a192e=a0_0x512f,_0x1bbdf8=_0x1c16e6[_0x2a192e(0x1d9)];detectOverflow(_0x1bbdf8)&&_0x1bbdf8[_0x2a192e(0x1e1)](_0x2a192e(0x1e7),_0x1bbdf8[_0x2a192e(0x1e8)]);}function onmouseout(_0x5e1685){const _0x382be3=a0_0x512f;_0x5e1685[_0x382be3(0x1d9)]['removeAttribute'](_0x382be3(0x1e7));}export const OxGristRendererResourceCodeSelector=(_0x346f01,_0x2ef877,_0x5b031c,_0x19bc95,_0x3b6916)=>{const _0x185001=a0_0x512f;if(!_0x2ef877[_0x185001(0x1e0)][_0x185001(0x1e2)]['dispField'])return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x346f01}</span>`;_0x2ef877['record'][_0x185001(0x1e2)][_0x185001(0x1d8)]||(_0x2ef877[_0x185001(0x1e0)][_0x185001(0x1e2)][_0x185001(0x1d8)]=[]);let _0x5186c7='';if(_0x346f01&&_0x346f01[_0x185001(0x1e5)]>0x0){let _0x1abce3=_0x2ef877[_0x185001(0x1e0)][_0x185001(0x1e2)]['codes']['filter'](_0x32e12c=>_0x32e12c[_0x185001(0x1df)]===_0x346f01);_0x5186c7=_0x1abce3&&_0x1abce3[_0x185001(0x1e5)]>0x0?_0x1abce3[0x0][_0x185001(0x1e4)]:_0x346f01;}return html`<span @mouseover=${onmouseover} @mouseout=${onmouseout}>${_0x5186c7}</span>`;};
@@ -1,40 +0,0 @@
1
- const a0_0x1e68d8=a0_0x102f;(function(_0x18a7e9,_0x1512ee){const _0x2cc92b=a0_0x102f,_0x47b843=_0x18a7e9();while(!![]){try{const _0x22f065=-parseInt(_0x2cc92b(0x17e))/0x1*(-parseInt(_0x2cc92b(0x196))/0x2)+parseInt(_0x2cc92b(0x198))/0x3+-parseInt(_0x2cc92b(0x1a5))/0x4+-parseInt(_0x2cc92b(0x1a3))/0x5*(-parseInt(_0x2cc92b(0x1b7))/0x6)+parseInt(_0x2cc92b(0x189))/0x7*(-parseInt(_0x2cc92b(0x177))/0x8)+parseInt(_0x2cc92b(0x193))/0x9+-parseInt(_0x2cc92b(0x18b))/0xa;if(_0x22f065===_0x1512ee)break;else _0x47b843['push'](_0x47b843['shift']());}catch(_0x20e3fd){_0x47b843['push'](_0x47b843['shift']());}}}(a0_0x1a6c,0xa85d6));import{css,html,LitElement}from'lit';import{CommonGristStyles,ButtonContainerStyles}from'@operato/styles';import{TermsUtil}from'../../utils/terms-util';import{ValueUtil}from'../../utils/value-util';import{ServiceUtil}from'../../utils/service-util';import{MetaApi}from'../../utils/meta-api';function a0_0x1a6c(){const _0x5e181e=['entity','1838336NmzkUd','header','codeField','clickCancel','object','options','name','649793oWGqpC','selected','tButton','left','filter','args','push','sorters','handlers','getGristPagination100Config','isArray','28SlTpCr','values','13543720MKFcRe','info','firstUpdated','align','fetchHandler','getSelectColumns','getCodeByEntity','LIST','5647248fyacaU','codes','clickSelect','4edqyzh','styles','2609136ypStTQ','confirmCallback','bind','#ox-grist','getGristSelectableConfig','search_hidden_fields','clickEmpty','grist','forEach','columns','record','10LMsdLN','showToast','1378064RgSJFA','select','rows','string','resource-code-selector','length','type','tText','map','cancel','code','getGristGuttersConfig','connectedCallback','filterFields','empty','define','gridConfig','getGristColumnConfig2','1532724XfkvnE','dispField','NOTHING_SELECTED','selectRecord','searchByPagination','getCodeByScenario','render'];a0_0x1a6c=function(){return _0x5e181e;};return a0_0x1a6c();}import{isMobileDevice}from'@operato/utils';import{closePopup}from'@operato/popup';export class OxResourceCodeSelectorPopup extends LitElement{static [a0_0x1e68d8(0x197)]=[CommonGristStyles,ButtonContainerStyles,css`
2
- :host {
3
- display: flex;
4
- flex-direction: column;
5
-
6
- background-color: #fff;
7
-
8
- width: var(--overlay-center-normal-width, 50%);
9
- height: var(--overlay-center-normal-height, 50%);
10
- }
11
-
12
- ox-grist {
13
- flex: 1;
14
- }
15
-
16
- .button-container {
17
- display: flex;
18
- margin-left: auto;
19
- }
20
- `];async[a0_0x1e68d8(0x1b1)](){const _0x324fd6=a0_0x1e68d8;this[_0x324fd6(0x19d)]=this['options']['filters']||[];let _0x51e2ec=[...MetaApi[_0x324fd6(0x1b0)](!0x0,!0x1)],_0x5a9eb8=(this['options'][_0x324fd6(0x1b2)]&&this[_0x324fd6(0x17c)][_0x324fd6(0x1b2)][_0x324fd6(0x1aa)]>0x0?this[_0x324fd6(0x17c)][_0x324fd6(0x1b2)]:[this[_0x324fd6(0x17c)]['codeField']])[_0x324fd6(0x1ad)](_0x2ba002=>{const _0x2ab41d=_0x324fd6;let {name:_0x4e32c4,operator:_0x3b3227='eq'}=_0x2ab41d(0x17b)==typeof _0x2ba002?_0x2ba002:{'name':_0x2ba002};return{'name':_0x4e32c4,'operator':_0x3b3227};});if(this['options']['select']&&this['options'][_0x324fd6(0x1a6)][_0x324fd6(0x1aa)]>0x0)for(let _0x130cb0=0x0;_0x130cb0<this[_0x324fd6(0x17c)][_0x324fd6(0x1a6)][_0x324fd6(0x1aa)];_0x130cb0++){let {type:_0x345212=_0x324fd6(0x1a8),name:_0x1062d8,hidden:_0x3b894a=!0x1,record:_0xd07b85={'align':_0x324fd6(0x181)},header:_0x230689,sortable:_0x46b991=!0x1,width:_0x1d9678=0x87,options:_0x36d4bc}=this[_0x324fd6(0x17c)][_0x324fd6(0x1a6)][_0x130cb0];if(0x1==_0x3b894a)_0x51e2ec[_0x324fd6(0x184)]({'type':_0x324fd6(0x1a8),'name':_0x1062d8,'hidden':!0x0});else{let _0x3e6bcc=MetaApi[_0x324fd6(0x1b6)](_0x345212,_0x1062d8,_0x230689||_0x1062d8,_0xd07b85[_0x324fd6(0x18e)]?_0xd07b85['align']:'left',!0x1,_0x46b991,_0x1d9678);_0x324fd6(0x1a6)===_0x345212?Array[_0x324fd6(0x188)](_0x36d4bc)?_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=_0x36d4bc:_0x324fd6(0x1af)===_0x36d4bc[_0x324fd6(0x1ab)]?_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=await ServiceUtil['getCodeSelectorData'](_0x36d4bc[_0x324fd6(0x18a)]?_0x36d4bc[_0x324fd6(0x18a)]:_0x36d4bc[_0x324fd6(0x17d)]):'scenario'===_0x36d4bc[_0x324fd6(0x1ab)]?_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=await ServiceUtil[_0x324fd6(0x1bc)](_0x36d4bc[_0x324fd6(0x17d)],_0x36d4bc[_0x324fd6(0x183)]):_0x324fd6(0x176)===_0x36d4bc[_0x324fd6(0x1ab)]&&(_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=await ServiceUtil[_0x324fd6(0x191)](_0x36d4bc[_0x324fd6(0x183)])):'object'===_0x345212||'resource-object'===_0x345212?(_0x36d4bc[_0x324fd6(0x1a6)]&&_0x36d4bc[_0x324fd6(0x1a6)]['forEach'](_0x552b18=>{const _0x2f6a5f=_0x324fd6;_0x552b18[_0x2f6a5f(0x178)]||(_0x552b18[_0x2f6a5f(0x178)]=_0x552b18[_0x2f6a5f(0x17d)]),_0x552b18['header']=TermsUtil['tLabel'](_0x552b18['header']);}),_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)]=_0x36d4bc):_0x324fd6(0x1a9)==_0x345212&&(_0x3e6bcc['record'][_0x324fd6(0x17c)]=object_opt,_0x3e6bcc[_0x324fd6(0x1a2)][_0x324fd6(0x17c)][_0x324fd6(0x194)]=await ServiceUtil[_0x324fd6(0x191)](object_opt)),_0x51e2ec[_0x324fd6(0x184)](_0x3e6bcc);}}else _0x51e2ec['push'](MetaApi[_0x324fd6(0x1b6)](_0x324fd6(0x1a8),this[_0x324fd6(0x17c)][_0x324fd6(0x179)],this['options']['codeField'],_0x324fd6(0x181),!0x1,!0x0,0xb4)),this[_0x324fd6(0x17c)][_0x324fd6(0x1b8)]&&_0x51e2ec[_0x324fd6(0x184)](MetaApi[_0x324fd6(0x1b6)](_0x324fd6(0x1a8),this[_0x324fd6(0x17c)][_0x324fd6(0x1b8)],this[_0x324fd6(0x17c)][_0x324fd6(0x1b8)],_0x324fd6(0x181),!0x1,!0x0,0x12c));_0x51e2ec[_0x324fd6(0x1a0)](_0x26d2ff=>{const _0x94a977=_0x324fd6;let _0x330d3e=_0x5a9eb8['filter'](_0x48af70=>_0x26d2ff[_0x94a977(0x17d)]==_0x48af70[_0x94a977(0x17d)]);_0x330d3e&&_0x330d3e[_0x94a977(0x1aa)]>0x0&&(_0x26d2ff[_0x94a977(0x182)]=_0x330d3e);});let _0x4adf40={'rows':MetaApi[_0x324fd6(0x19c)](!0x1),'pagination':MetaApi[_0x324fd6(0x187)](),'appendable':!0x1,'columns':_0x51e2ec,'sorters':[...this[_0x324fd6(0x17c)][_0x324fd6(0x185)]||[]]};_0x4adf40[_0x324fd6(0x1a7)][_0x324fd6(0x186)]={'click':'select-row-toggle','dblclick':(_0x326b9a,_0x1d0f93,_0x3b35fe,_0x251fb0,_0x339d37,_0x254e33)=>{const _0x2672aa=_0x324fd6;this[_0x2672aa(0x1ba)](_0x251fb0);}},this[_0x324fd6(0x1b5)]=_0x4adf40,await super['connectedCallback']();}async['firstUpdated'](){const _0x5c3784=a0_0x1e68d8;await super[_0x5c3784(0x18d)]();}[a0_0x1e68d8(0x1bd)](){const _0x4481c4=a0_0x1e68d8;return html`
21
- <ox-grist id="ox-grist" .config=${this[_0x4481c4(0x1b5)]} .mode=${isMobileDevice()?_0x4481c4(0x192):'GRID'} auto-fetch
22
- .fetchHandler=${this[_0x4481c4(0x18f)][_0x4481c4(0x19a)](this)}>
23
- <div slot="headroom">
24
- <div id="filters">
25
- <ox-filters-form></ox-filters-form>
26
- </div>
27
- </div>
28
- </ox-grist>
29
- <div id="button-container" class="button-container">
30
- <mwc-button raised label="${TermsUtil[_0x4481c4(0x180)](_0x4481c4(0x1b3))}" style="margin-left:7px;margin-top:7px;"
31
- @click=${this[_0x4481c4(0x19e)][_0x4481c4(0x19a)](this)}>
32
- </mwc-button>
33
- <mwc-button raised label="${TermsUtil[_0x4481c4(0x180)](_0x4481c4(0x1ae))}" style="margin-left:7px;margin-top:7px;"
34
- @click=${this['clickCancel'][_0x4481c4(0x19a)](this)}>
35
- </mwc-button>
36
- <mwc-button raised label="${TermsUtil[_0x4481c4(0x180)]('select')}" style="margin-left:7px;margin-top:7px;"
37
- @click=${this['clickSelect'][_0x4481c4(0x19a)](this)}>
38
- </mwc-button>
39
- </div>
40
- `;}get[a0_0x1e68d8(0x19f)](){const _0xb9bebd=a0_0x1e68d8;return this['shadowRoot']['querySelector'](_0xb9bebd(0x19b));}async[a0_0x1e68d8(0x18f)]({page:_0x4837b2=0x0,limit:_0x52ca71=0x0,sorters:_0x4d51ea=[],filters:_0x523b62=[]}){const _0x5dd716=a0_0x1e68d8;let _0x599359=[...this[_0x5dd716(0x19d)]];_0x523b62[_0x5dd716(0x1a0)](_0x3a1069=>{const _0x59e687=_0x5dd716;let _0x35519c=_0x599359[_0x59e687(0x182)](_0x4dd084=>_0x3a1069[_0x59e687(0x17d)]==_0x4dd084['name']);_0x35519c&&_0x35519c[_0x59e687(0x1aa)]>0x0&&delete _0x599359[_0x3a1069[_0x59e687(0x17d)]],_0x599359[_0x59e687(0x184)](_0x3a1069);});let _0x466c80=MetaApi[_0x5dd716(0x190)](this[_0x5dd716(0x1b5)][_0x5dd716(0x1a1)]);return await MetaApi[_0x5dd716(0x1bb)](this[_0x5dd716(0x17c)]['queryName'],_0x599359,_0x4d51ea,_0x4837b2,_0x52ca71,_0x466c80);}async[a0_0x1e68d8(0x19e)](_0x58b873){const _0x58e236=a0_0x1e68d8;this[_0x58e236(0x199)]&&this[_0x58e236(0x199)](null),closePopup(this);}async[a0_0x1e68d8(0x17a)](_0x21c36b){closePopup(this);}async[a0_0x1e68d8(0x195)](_0x130a6c){const _0x3e96d5=a0_0x1e68d8;let _0x1d00cd=this[_0x3e96d5(0x19f)][_0x3e96d5(0x17f)];_0x1d00cd&&0x0!=_0x1d00cd[_0x3e96d5(0x1aa)]?this[_0x3e96d5(0x1ba)](_0x1d00cd[0x0]):MetaApi[_0x3e96d5(0x1a4)](_0x3e96d5(0x18c),TermsUtil[_0x3e96d5(0x1ac)](_0x3e96d5(0x1b9)));}async['selectRecord'](_0x3c70b7){const _0x34be20=a0_0x1e68d8;this[_0x34be20(0x199)]&&this[_0x34be20(0x199)](_0x3c70b7),closePopup(this);}}function a0_0x102f(_0x28e788,_0x48516f){const _0x1a6ce1=a0_0x1a6c();return a0_0x102f=function(_0x102fa4,_0x363184){_0x102fa4=_0x102fa4-0x176;let _0x1f2dfb=_0x1a6ce1[_0x102fa4];return _0x1f2dfb;},a0_0x102f(_0x28e788,_0x48516f);}customElements[a0_0x1e68d8(0x1b4)]('ox-resource-code-selector-popup',OxResourceCodeSelectorPopup);