@things-factory/meta-ui 6.0.36 → 6.0.43
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.
- package/client/actions/main.js +22 -3
- package/client/mixin/meta-base-mixin.js +1 -1
- package/client/mixin/meta-basic-grist-mixin.js +4 -4
- package/client/mixin/meta-button-mixin.js +1 -1
- package/client/mixin/meta-form-mixin.js +1 -1
- package/client/mixin/meta-grist-tab-mixin.js +1 -1
- package/client/mixin/meta-master-detail-mixin.js +1 -1
- package/client/mixin/meta-service-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/entity/config-entity.js +29 -29
- package/client/pages/entity/main-menu-selector.js +7 -7
- package/client/pages/history/history-copy-list-popup.js +6 -6
- package/client/pages/history/history-json-list-popup.js +6 -6
- package/client/pages/loading-page.js +5 -5
- package/client/pages/menu/dynamic-menu-template.js +7 -7
- package/client/pages/menu/dynamic-menu.js +15 -15
- package/client/pages/meta-form-element.js +1 -1
- package/client/pages/meta-grist-element.js +1 -1
- package/client/pages/meta-grist-page.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-master-detail-element.js +1 -1
- package/client/pages/meta-master-detail-page.js +1 -1
- package/client/pages/meta-tab-element.js +1 -1
- package/client/pages/personalize/personal-column-selector.js +11 -11
- package/client/pages/terms/config-terminology.js +6 -6
- package/client/reducers/main.js +1 -1
- package/client/utils/meta-api.js +1 -1
- package/client/utils/meta-crypto.js +1 -1
- package/client/utils/meta-ui-util.js +79 -79
- package/client/utils/service-util.js +12 -12
- package/client/utils/terms-util.js +2 -2
- package/client/utils/ui-util.js +1 -1
- package/client/utils/value-util.js +1 -1
- package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +6 -6
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +10 -10
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +5 -5
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/routes.js +1 -1
- package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
- package/server/service/grid-personalize/grid-personalize-query.js +1 -1
- package/server/service/grid-personalize/grid-personalize-type.js +1 -1
- package/server/service/grid-personalize/grid-personalize.js +1 -1
- package/server/service/meta-secret/meta-resolver.js +1 -1
- package/server/service/set-translations/set-translation-resolver.js +1 -1
- package/translations/en.json +1 -0
- package/translations/ko.json +1 -0
- package/translations/ms.json +1 -0
- package/translations/zh.json +1 -0
package/client/actions/main.js
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
const a0_0x2f9244=a0_0x4131;(function(_0x396741,_0x5b0f0c){const _0x1369cc=a0_0x4131,_0x532d04=_0x396741();while(!![]){try{const _0x4cd723=parseInt(_0x1369cc(0xce))/0x1*(-parseInt(_0x1369cc(0xb8))/0x2)+-parseInt(_0x1369cc(0xcb))/0x3*(-parseInt(_0x1369cc(0xb6))/0x4)+-parseInt(_0x1369cc(0xbc))/0x5*(parseInt(_0x1369cc(0xbd))/0x6)+parseInt(_0x1369cc(0xb4))/0x7+parseInt(_0x1369cc(0xcd))/0x8*(-parseInt(_0x1369cc(0xc8))/0x9)+-parseInt(_0x1369cc(0xc9))/0xa+parseInt(_0x1369cc(0xc5))/0xb;if(_0x4cd723===_0x5b0f0c)break;else _0x532d04['push'](_0x532d04['shift']());}catch(_0x2e8efb){_0x532d04['push'](_0x532d04['shift']());}}}(a0_0x177d,0xd1162));import'../viewparts/dynamic-menu-part';import'@material/mwc-icon';import a0_0x2bc071 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';function a0_0x4131(_0x15918d,_0x419bdb){const _0x177d1c=a0_0x177d();return a0_0x4131=function(_0x4131e0,_0x526a41){_0x4131e0=_0x4131e0-0xb2;let _0x510e5d=_0x177d1c[_0x4131e0];return _0x510e5d;},a0_0x4131(_0x15918d,_0x419bdb);}import{appendViewpart,toggleOverlay,TOOL_POSITION,VIEWPART_POSITION}from'@operato/layout';import{store}from'@operato/shell';import{isMobileDevice}from'@operato/utils';import{APPEND_APP_TOOL,REMOVE_APP_TOOL}from'@things-factory/apptool-base';import{clientSettingStore}from'@things-factory/shell';export const UPDATE_META_UI=a0_0x2f9244(0xbb);function a0_0x177d(){const _0x382bb0=['946794evdoDQ','querySelector','UPDATE_META_MENU_TEMPLATE','items','meta[name=\x22application-name\x22]','landscape','dispatch','data','31396255vYRQHO','active','dynamic-menu-part','423AqbNMt','9962270KQFzhH','liteMenus','4137393LjqaCL','content','165904LycSPe','926508nTNzcD','value','NAVBAR','hamburger','portrait','rank','get','6584858FnhKey','appName','4ZGllJb','dynamic-menu','2DabVWv','lite-menu-part','query','UPDATE_META_UI','45iRmpUY'];a0_0x177d=function(){return _0x382bb0;};return a0_0x177d();}export const UPDATE_META_MENU_TEMPLATE=a0_0x2f9244(0xbf);var HAMBURGER;export async function setupMenuPart(_0x5297a2){const _0x56fe46=a0_0x2f9244;var {hovering:_0x3562e4=!!isMobileDevice(),slotTemplate:_0x510ba8,portraitSlotTemplate:_0x505f5e,landscapeSlotTemplate:_0x2ae62e,position:_0x598724=VIEWPART_POSITION[_0x56fe46(0xd0)]}=_0x5297a2||{};const {hovering:_0x5eb76c}=(await clientSettingStore[_0x56fe46(0xb3)](_0x56fe46(0xb7)))?.[_0x56fe46(0xcf)]||{};void 0x0!==_0x5eb76c&&(_0x3562e4=_0x5eb76c);const _0x5bfdc3=_0x598724==VIEWPART_POSITION['HEADERBAR']?_0x56fe46(0xc2):'portrait',_0x458922=(_0x56fe46(0xc2)==_0x5bfdc3?_0x2ae62e:_0x505f5e)||_0x510ba8||html``;appendViewpart({'name':_0x56fe46(0xb9),'viewpart':{'show':!_0x3562e4,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x3562e4,'template':html`<dynamic-menu-part .orientation=${_0x5bfdc3}>${_0x458922}</dynamic-menu-part>`},'position':_0x598724}),_0x3562e4&&_0x56fe46(0xd2)==_0x5bfdc3?HAMBURGER||(HAMBURGER={'name':_0x56fe46(0xd1),'template':html`
|
|
2
|
+
<mwc-icon @click=${_0x35433e=>toggleOverlay(_0x56fe46(0xc7),{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION['FRONT_END']},store[_0x56fe46(0xc3)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x56fe46(0xc3)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x3509ac){const _0x53f580=a0_0x2f9244;var _0x3f271d=document[_0x53f580(0xbe)](_0x53f580(0xc1))?.[_0x53f580(0xcc)],_0x843b85=(await client[_0x53f580(0xba)]({'query':a0_0x2bc071`
|
|
5
|
+
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
|
+
liteMenus: liteMenus(filters: $filters
|
|
7
|
+
sortings: $sortings) {
|
|
8
|
+
items {
|
|
9
|
+
id
|
|
10
|
+
name
|
|
11
|
+
description
|
|
12
|
+
appName
|
|
13
|
+
parent
|
|
14
|
+
rank
|
|
15
|
+
active
|
|
16
|
+
type
|
|
17
|
+
value
|
|
18
|
+
icon
|
|
19
|
+
}
|
|
20
|
+
total
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x53f580(0xc6),'operator':'eq','value':!0x0},{'name':_0x53f580(0xb5),'operator':'in','value':['',_0x3f271d]}],'sortings':[{'name':_0x53f580(0xb2),'desc':!0x1}]}}))[_0x53f580(0xc4)][_0x53f580(0xca)][_0x53f580(0xc0)];store['dispatch']({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x843b85['filter'](_0x305abb=>!_0x305abb[_0x53f580(0xb5)]||_0x305abb[_0x53f580(0xb5)]===_0x3f271d),'template':_0x3509ac});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a0_0x280c45=a0_0x392f;function a0_0x415e(){const _0x2236c3=['fetch','split','parseBasicButtonConfigs','lifecycle','parseBasicFormConfigs','active','51432QaGMZL','isPopup','12240cvZszv','5676396lLYAev','openDynamicPopup','94299MMsdFe','parseBasicServiceConfigs','52EHJprO','name','menuInfo','isEmpty','callScenario','isNotEmpty','pageUpdated','is_popup','isPage','parseBasicGridConfigs','12voyCKv','94zlcvGT','params','getAndParseMenuMeta','isDetail','parseBasicTabConfigs','etc','4932815rmtzOg','4411EpEbim','excuteOpenPopupButtonClick','1466626dUxDFo','setParentId','getMenuMeta','686bkKQLA','title_detail','801zwpYuD','getParams','parent_id','grist','is_detail','16etPLxM','properties'];a0_0x415e=function(){return _0x2236c3;};return a0_0x415e();}(function(_0x87f78b,_0x573967){const _0x49e80c=a0_0x392f,_0x1dba7b=_0x87f78b();while(!![]){try{const _0x328d5f=parseInt(_0x49e80c(0x1b0))/0x1*(-parseInt(_0x49e80c(0x1d1))/0x2)+parseInt(_0x49e80c(0x1c4))/0x3*(parseInt(_0x49e80c(0x1b7))/0x4)+-parseInt(_0x49e80c(0x1aa))/0x5+parseInt(_0x49e80c(0x1d0))/0x6*(-parseInt(_0x49e80c(0x1ad))/0x7)+parseInt(_0x49e80c(0x1bf))/0x8*(-parseInt(_0x49e80c(0x1b2))/0x9)+-parseInt(_0x49e80c(0x1c1))/0xa*(-parseInt(_0x49e80c(0x1ab))/0xb)+parseInt(_0x49e80c(0x1c2))/0xc*(parseInt(_0x49e80c(0x1c6))/0xd);if(_0x328d5f===_0x573967)break;else _0x1dba7b['push'](_0x1dba7b['shift']());}catch(_0x1efa9f){_0x1dba7b['push'](_0x1dba7b['shift']());}}}(a0_0x415e,0x79bea));import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';function a0_0x392f(_0x20de3b,_0x3bdb11){const _0x415ed4=a0_0x415e();return a0_0x392f=function(_0x392f07,_0x3b05ef){_0x392f07=_0x392f07-0x1aa;let _0x3c789f=_0x415ed4[_0x392f07];return _0x3c789f;},a0_0x392f(_0x20de3b,_0x3bdb11);}import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x85d30e=>class extends _0x85d30e{static get[a0_0x280c45(0x1b8)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x593e6f=>Boolean(_0x593e6f)},'is_popup':{'type':Boolean,'converter':_0x3ba3ef=>Boolean(_0x3ba3ef)}};}get['isElement'](){const _0x21b433=a0_0x280c45;return!0x0===this[_0x21b433(0x1b6)]||!0x0===this[_0x21b433(0x1cd)];}get[a0_0x280c45(0x1d4)](){const _0x208ba2=a0_0x280c45;return!ValueUtil[_0x208ba2(0x1c9)](this['is_detail'])&&this[_0x208ba2(0x1b6)];}async[a0_0x280c45(0x1cc)](_0x19a1fa,_0x27cd3f,_0x3c89fb){const _0x2cee24=a0_0x280c45;let _0x54f08c=this[_0x2cee24(0x1bc)]?.[_0x2cee24(0x1d2)]?this[_0x2cee24(0x1bc)][_0x2cee24(0x1d2)]:{};this['isPage']&&this[_0x2cee24(0x1be)]&&0x0==_0x3c89fb[_0x2cee24(0x1be)]&&ValueUtil[_0x2cee24(0x1cb)](_0x54f08c)&&this['fetch']();}get[a0_0x280c45(0x1c0)](){const _0x2392ac=a0_0x280c45;return!ValueUtil[_0x2392ac(0x1c9)](this['is_popup'])&&this[_0x2392ac(0x1cd)];}get[a0_0x280c45(0x1ce)](){const _0x27b829=a0_0x280c45;return!this[_0x27b829(0x1b6)]&&!this[_0x27b829(0x1cd)];}async[a0_0x280c45(0x1d3)](){const _0x1f6250=a0_0x280c45;let _0x526691=await MetaApi[_0x1f6250(0x1af)](this);_0x526691&&(this[_0x1f6250(0x1c8)]=_0x526691['menu'],this['parseBasicGridConfigs']&&this[_0x1f6250(0x1cf)](_0x526691),this[_0x1f6250(0x1c5)]&&this[_0x1f6250(0x1c5)](_0x526691),this['parseBasicFormConfigs']&&this[_0x1f6250(0x1bd)](_0x526691),this['parseBasicTabConfigs']&&this[_0x1f6250(0x1d5)](_0x526691),this['parseBasicButtonConfigs']&&this[_0x1f6250(0x1bb)](_0x526691),this['etcConfig']=_0x526691[_0x1f6250(0x1d6)]);}async[a0_0x280c45(0x1b9)](){const _0x2c0d09=a0_0x280c45;ValueUtil[_0x2c0d09(0x1cb)](this[_0x2c0d09(0x1b5)])?this[_0x2c0d09(0x1b5)]['fetch']():(ValueUtil['isNotEmpty'](this['filterForm'])||this['fetchHandler'])&&await this['fetchHandler']();}async[a0_0x280c45(0x1ac)](_0x361d28,_0x2b4299,_0x826aae){const _0x34b458=a0_0x280c45;let _0x4a906a=TermsUtil['tTitle'](_0x361d28['title']);ValueUtil[_0x34b458(0x1cb)](_0x361d28[_0x34b458(0x1b1)])&&(_0x4a906a=_0x4a906a+'-'+ValueUtil[_0x34b458(0x1b3)](_0x2b4299,..._0x361d28['title_detail'][_0x34b458(0x1ba)]('.'))),MetaApi[_0x34b458(0x1c3)](_0x4a906a,_0x361d28,_0x2b4299,_0x826aae);}async['executeCallScenarioButtonClick'](_0x1e557a,_0x3e5d93,_0x3dced8){const _0x295f52=a0_0x280c45;let _0x31e87c=await MetaApi[_0x295f52(0x1ca)](_0x1e557a[_0x295f52(0x1c7)],_0x1e557a[_0x295f52(0x1c7)],_0x3e5d93);!0x1!==_0x31e87c&&!_0x31e87c['errors']&&ValueUtil[_0x295f52(0x1cb)](_0x1e557a['after'])&&_0x3dced8();}[a0_0x280c45(0x1ae)](_0x3fa2e1){const _0x27093a=a0_0x280c45;this[_0x27093a(0x1b4)]=_0x3fa2e1,this[_0x27093a(0x1b9)]();}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
${MetaApi[
|
|
3
|
-
${this[
|
|
4
|
-
`;}[
|
|
1
|
+
const a0_0x5699a6=a0_0xf179;(function(_0x4260ff,_0x95fa9b){const _0x3772b1=a0_0xf179,_0x45efe2=_0x4260ff();while(!![]){try{const _0x25ac49=parseInt(_0x3772b1(0xcd))/0x1+-parseInt(_0x3772b1(0xe9))/0x2*(-parseInt(_0x3772b1(0xed))/0x3)+-parseInt(_0x3772b1(0xeb))/0x4+parseInt(_0x3772b1(0xc7))/0x5+parseInt(_0x3772b1(0xde))/0x6*(parseInt(_0x3772b1(0xef))/0x7)+parseInt(_0x3772b1(0xee))/0x8+parseInt(_0x3772b1(0xda))/0x9*(-parseInt(_0x3772b1(0xf6))/0xa);if(_0x25ac49===_0x95fa9b)break;else _0x45efe2['push'](_0x45efe2['shift']());}catch(_0x3d6214){_0x45efe2['push'](_0x45efe2['shift']());}}}(a0_0x3f4e,0xb8668));function a0_0xf179(_0x285326,_0x111158){const _0x3f4e3c=a0_0x3f4e();return a0_0xf179=function(_0xf179d1,_0x37eccf){_0xf179d1=_0xf179d1-0xc7;let _0x269e7d=_0x3f4e3c[_0xf179d1];return _0x269e7d;},a0_0xf179(_0x285326,_0x111158);}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaBasicGristMixin=_0x3b3229=>class extends MetaButtonMixin(_0x3b3229){static get[a0_0x5699a6(0xe1)](){return MetaApi['getBasicGristStyles']();}static get[a0_0x5699a6(0xca)](){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_0x5699a6(0xe3)](){const _0x3ecd68=a0_0x5699a6;return this[_0x3ecd68(0xd4)]?.['querySelector'](this[_0x3ecd68(0xe5)]);}get[a0_0x5699a6(0xf9)](){const _0x6311f6=a0_0x5699a6;return this[_0x6311f6(0xd5)]?.[_0x6311f6(0xf8)](this[_0x6311f6(0xd7)]);}get[a0_0x5699a6(0xd3)](){const _0x4dc7a0=a0_0x5699a6;return MetaUiUtil[_0x4dc7a0(0xce)](this);}async[a0_0x5699a6(0xd0)](){const _0x312f3d=a0_0x5699a6;this[_0x312f3d(0xe5)]=_0x312f3d(0xdd),this['filterFormId']='ox-filters-form',await this[_0x312f3d(0xdc)](),this['isElement']&&await this['parseGristConfigs'](),super[_0x312f3d(0xd0)]&&await super[_0x312f3d(0xd0)]();}async['firstUpdated'](){const _0x1d98e3=a0_0x5699a6;super[_0x1d98e3(0xf0)]&&await super[_0x1d98e3(0xf0)]();}async[a0_0x5699a6(0xdb)](){const _0x2dddd1=a0_0x5699a6;this[_0x2dddd1(0xe2)]&&await this[_0x2dddd1(0xf1)](),super[_0x2dddd1(0xdb)]&&await super[_0x2dddd1(0xdb)]();}[a0_0x5699a6(0xd2)](){const _0x33a0ed=a0_0x5699a6;return html`
|
|
2
|
+
${MetaApi[_0x33a0ed(0xe7)](this)}
|
|
3
|
+
${this[_0x33a0ed(0xe2)]?html``:MetaUiUtil[_0x33a0ed(0xc8)](this)}
|
|
4
|
+
`;}[a0_0x5699a6(0xea)](_0x5eaab3){const _0x42c982=a0_0x5699a6;this[_0x42c982(0xfa)]=_0x5eaab3[_0x42c982(0xf2)],this[_0x42c982(0xf3)]=_0x5eaab3[_0x42c982(0xc9)],this['searchConfig']=_0x5eaab3['search'];}async[a0_0x5699a6(0xf1)](){const _0x2dc9dd=a0_0x5699a6;this[_0x2dc9dd(0xcb)]=await MetaApi[_0x2dc9dd(0xd8)](this);}async[a0_0x5699a6(0xfb)](){const _0x2f8f86=a0_0x5699a6;await this[_0x2f8f86(0xe3)][_0x2f8f86(0xfb)]();}async[a0_0x5699a6(0xe8)](){const _0x382281=a0_0x5699a6;let _0x118f0e=MetaApi[_0x382281(0xf7)](this[_0x382281(0xe3)]);!!ValueUtil[_0x382281(0xe6)](_0x118f0e)&&await this[_0x382281(0xe0)](_0x118f0e)&&this[_0x382281(0xfb)]();}async['find'](){const _0x3e9fae=a0_0x5699a6;let _0x332514=MetaApi[_0x3e9fae(0xdf)](this[_0x3e9fae(0xe3)],!0x0);return ValueUtil['isNotEmpty'](_0x332514)?await this[_0x3e9fae(0xcf)](_0x332514[0x0]):{};}async[a0_0x5699a6(0xd1)](){const _0x55828b=a0_0x5699a6;let _0xb77901=MetaApi[_0x55828b(0xdf)](this[_0x55828b(0xe3)],!0x0);!!ValueUtil[_0x55828b(0xe6)](_0xb77901)&&await this[_0x55828b(0xe4)](_0xb77901)&&this[_0x55828b(0xfb)]();}async[a0_0x5699a6(0xf4)](){const _0x1b2f14=a0_0x5699a6;let _0xcb82b6=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x1b2f14(0xd9)],_0x1b2f14(0xcc)));return await MetaApi['exportableData'](this[_0x1b2f14(0xf5)],_0xcb82b6,this['grist']);}async[a0_0x5699a6(0xec)](){}async['clear'](){const _0x3ca79c=a0_0x5699a6;this['grist']&&(this['grist'][_0x3ca79c(0xd6)]={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};function a0_0x3f4e(){const _0x272e96=['gristId','isNotEmpty','getBasicGristHtml','save','1334VnxkSH','parseBasicGridConfigs','6040760jTHrOY','import','3633cWfzYj','4597152vwGmKI','20146PlDEiS','firstUpdated','parseGristConfigs','grid','gridColumnConfig','export','isElement','310EHpzpD','patchesForUpdateMultiple','querySelector','filterForm','gridConfig','fetch','3291725sLvpnn','getButtonContainer','grid_column','properties','gristConfigSet','title','223911OsphUS','getContextObject','findOne','connectedCallback','delete','render','context','renderRoot','shadowRoot','data','filterFormId','parseGridConfigSet','menuInfo','22311yvIrMK','pageInitialized','getAndParseMenuMeta','ox-grist','162deoXSd','getSelectedIdList','updateMultiple','styles','isPage','grist','deleteByIds'];a0_0x3f4e=function(){return _0x272e96;};return a0_0x3f4e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x1b92d1=a0_0x470b;(function(_0x337d7f,_0x981aa){const _0x457848=a0_0x470b,_0x4d2f12=_0x337d7f();while(!![]){try{const _0x281a54=-parseInt(_0x457848(0x171))/0x1*(-parseInt(_0x457848(0x178))/0x2)+-parseInt(_0x457848(0x177))/0x3*(parseInt(_0x457848(0x181))/0x4)+parseInt(_0x457848(0x179))/0x5*(-parseInt(_0x457848(0x17a))/0x6)+-parseInt(_0x457848(0x186))/0x7+-parseInt(_0x457848(0x17e))/0x8*(-parseInt(_0x457848(0x182))/0x9)+-parseInt(_0x457848(0x17b))/0xa*(parseInt(_0x457848(0x17d))/0xb)+-parseInt(_0x457848(0x189))/0xc*(-parseInt(_0x457848(0x18d))/0xd);if(_0x281a54===_0x981aa)break;else _0x4d2f12['push'](_0x4d2f12['shift']());}catch(_0x39e18f){_0x4d2f12['push'](_0x4d2f12['shift']());}}}(a0_0x11a5,0x9476d));function a0_0x470b(_0x332f61,_0x3dea4f){const _0x11a54f=a0_0x11a5();return a0_0x470b=function(_0x470b00,_0x265e71){_0x470b00=_0x470b00-0x171;let _0x5c7eed=_0x11a54f[_0x470b00];return _0x5c7eed;},a0_0x470b(_0x332f61,_0x3dea4f);}import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';function a0_0x11a5(){const _0xab4c60=['customButtonHandler','isButtonExist','44ORbOVj','108nMfCnl','getButtonContainer','getButtonActionHandler','useButtonImport','246330tJRbJx','add','gristButtonHandler','24220968uTbCxk','parseBasicButtonConfigs','properties','getContextButtons','13mwXlmK','getBasicButtonHandler','buttonConfig','557402drwtMf','getCustomButtonContainerStyles','isPage','button','import','useButtonAdd','41811ImWjWT','2GvIGbz','36200hYIBXU','960bMKEbi','10nJaxue','getCustomButtonContainerStyle','12581074uEyQuo','348616FEpjCM'];a0_0x11a5=function(){return _0xab4c60;};return a0_0x11a5();}export const MetaButtonMixin=_0x34afa5=>class extends MetaServiceMixin(_0x34afa5){static get[a0_0x1b92d1(0x18b)](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x1b92d1(0x17c)](){const _0x54fc69=a0_0x1b92d1;return MetaUiUtil[_0x54fc69(0x172)]();}[a0_0x1b92d1(0x18c)](){const _0x35a6bf=a0_0x1b92d1;return MetaUiUtil[_0x35a6bf(0x18c)](this);}[a0_0x1b92d1(0x183)](){const _0x560000=a0_0x1b92d1;return this[_0x560000(0x173)]?html``:MetaUiUtil[_0x560000(0x183)](this);}async[a0_0x1b92d1(0x18e)](_0x267bcb,_0x103546,_0xf076ec){const _0x356f79=a0_0x1b92d1;return await MetaUiUtil[_0x356f79(0x184)](this,_0x267bcb,_0x103546,_0xf076ec);}async[a0_0x1b92d1(0x17f)](_0xd4a981){const _0x1fcd55=a0_0x1b92d1;await MetaUiUtil[_0x1fcd55(0x17f)](this,_0xd4a981);}async[a0_0x1b92d1(0x188)](_0x4e6b4c,_0x2ee052){const _0x24edff=a0_0x1b92d1;await MetaUiUtil[_0x24edff(0x188)](this,_0x4e6b4c,_0x2ee052);}[a0_0x1b92d1(0x18a)](_0x436c32){const _0x2de92f=a0_0x1b92d1;this[_0x2de92f(0x18f)]=_0x436c32[_0x2de92f(0x174)],this[_0x2de92f(0x185)]=MetaUiUtil[_0x2de92f(0x180)](this['buttonConfig'],_0x2de92f(0x175)),this['useButtonExport']=MetaUiUtil[_0x2de92f(0x180)](this[_0x2de92f(0x18f)],'export'),this[_0x2de92f(0x176)]=MetaUiUtil[_0x2de92f(0x180)](this[_0x2de92f(0x18f)],_0x2de92f(0x187));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x487acb=a0_0xc283;(function(_0x577522,_0x2fc867){const _0x4bac48=a0_0xc283,_0x235a9d=_0x577522();while(!![]){try{const _0x114335=parseInt(_0x4bac48(0x1a0))/0x1+-parseInt(_0x4bac48(0x1b4))/0x2*(-parseInt(_0x4bac48(0x1a3))/0x3)+parseInt(_0x4bac48(0x1a1))/0x4+parseInt(_0x4bac48(0x1da))/0x5*(parseInt(_0x4bac48(0x1ce))/0x6)+-parseInt(_0x4bac48(0x196))/0x7*(parseInt(_0x4bac48(0x19a))/0x8)+-parseInt(_0x4bac48(0x1de))/0x9+-parseInt(_0x4bac48(0x1af))/0xa;if(_0x114335===_0x2fc867)break;else _0x235a9d['push'](_0x235a9d['shift']());}catch(_0x3eca5f){_0x235a9d['push'](_0x235a9d['shift']());}}}(a0_0x3e3b,0x9ad49));import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x3e3b(){const _0x1029d9=['11263cSQfye','column','save','startsWith','3496zAtKJG','formConfigSet','__seq__','name','field-change','function','484238oGasUy','1285104wLpCEe','orgData','9NiyjAk','text.NOTHING_CHANGED','keydown','isEmpty','firstUpdated','removeAttribute','setAttribute','map','click','isPage','patchData','isEquals','14262150yOVBQc','fetch','clear','isElement','editing','679732ndSlNE','__dirtyfields__','currentTarget','properties','pageInitialized','findOne','editable','dirtyData','entries','target','OX-GRID-FIELD','getContextObject','key','updateMultiple','isNotEmpty','removeGarbageData','parseFormConfigs','formRenderConfig','Escape','getAndParseMenuMeta','__dirty__','forEach','getBasicFormStyles','detail','keys','grid_column','6xtCYST','connectedCallback','object','true','formColumnConfig','addEventListener','form','title.info','cuFlag','__origin__','renderRoot','Esc','5904345sDCSMh','after','stopPropagation','Enter','2182032vnNQkX','focus','record','parent_id','button','filter'];a0_0x3e3b=function(){return _0x1029d9;};return a0_0x3e3b();}function a0_0xc283(_0x4c467a,_0x5b04eb){const _0x3e3b19=a0_0x3e3b();return a0_0xc283=function(_0xc28358,_0x1d60d6){_0xc28358=_0xc28358-0x192;let _0x4d4592=_0x3e3b19[_0xc28358];return _0x4d4592;},a0_0xc283(_0x4c467a,_0x5b04eb);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x1d52d4=>class extends MetaButtonMixin(_0x1d52d4){static get['styles'](){const _0x5b2d85=a0_0xc283;return MetaApi[_0x5b2d85(0x1ca)]();}static get[a0_0x487acb(0x1b7)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get['context'](){const _0x42158f=a0_0x487acb;return MetaUiUtil[_0x42158f(0x1bf)](this);}async[a0_0x487acb(0x1cf)](){const _0x5c77f4=a0_0x487acb;if(this['config']){let {column:_0x50e09f=0x1}=this['config'];this[_0x5c77f4(0x197)]=_0x50e09f;}await this[_0x5c77f4(0x1c7)](),this['isElement']&&await this[_0x5c77f4(0x1c4)](),super[_0x5c77f4(0x1cf)]&&await super[_0x5c77f4(0x1cf)](),this[_0x5c77f4(0x1b2)]&&await this[_0x5c77f4(0x1b0)](),this[_0x5c77f4(0x1d8)][_0x5c77f4(0x1d3)](_0x5c77f4(0x1a5),_0x48e644=>{const _0x30a944=_0x5c77f4;switch(_0x48e644[_0x30a944(0x1c0)]){case _0x30a944(0x1d9):case _0x30a944(0x1c6):case _0x30a944(0x1dd):this[_0x30a944(0x1df)](),this[_0x30a944(0x1b6)]&&this['currentTarget'][_0x30a944(0x1a8)](_0x30a944(0x1b3)),this[_0x30a944(0x1b6)]=null;}}),this[_0x5c77f4(0x1d8)]['addEventListener'](_0x5c77f4(0x1ab),_0xed3247=>{const _0x478a2b=_0x5c77f4;_0xed3247[_0x478a2b(0x1dc)]();let _0x4ce7bd=_0xed3247[_0x478a2b(0x1bd)];if(this['currentTarget']&&(this[_0x478a2b(0x1df)](),this[_0x478a2b(0x1b6)][_0x478a2b(0x1a8)](_0x478a2b(0x1b3))),_0x478a2b(0x1be)!==_0x4ce7bd['tagName']||!_0x4ce7bd[_0x478a2b(0x197)]['record'][_0x478a2b(0x1ba)])return this['focus'](),void(this[_0x478a2b(0x1b6)]=null);this[_0x478a2b(0x1b6)]=_0x4ce7bd,_0x4ce7bd[_0x478a2b(0x1a9)](_0x478a2b(0x1b3),_0x478a2b(0x1d1));}),this[_0x5c77f4(0x1d3)](_0x5c77f4(0x19e),_0x95e57d=>{const _0x1bc9fb=_0x5c77f4;var {after:_0x487e57,before:_0x9bba35,column:_0x2edb92,record:_0x4d7c67,row:_0x5afdad}=_0x95e57d[_0x1bc9fb(0x1cb)];if(ValueUtil[_0x1bc9fb(0x1ae)](_0x487e57,_0x9bba35))return;var _0xa47fb0=_0x2edb92['validation'];if(_0xa47fb0&&_0x1bc9fb(0x19f)==typeof _0xa47fb0&&!_0xa47fb0['call'](this,_0x487e57,_0x9bba35,_0x4d7c67,_0x2edb92))return;let _0x2b037c=_0x2edb92[_0x1bc9fb(0x19d)];_0x4d7c67[_0x2b037c]=_0x487e57,_0x4d7c67[_0x1bc9fb(0x1b5)]=_0x4d7c67['__dirtyfields__']||{},_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c]={'before':_0x4d7c67[_0x1bc9fb(0x1d7)][_0x2b037c],'after':_0x4d7c67[_0x2b037c]},ValueUtil[_0x1bc9fb(0x1ae)](_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c]['before'],_0x4d7c67[_0x1bc9fb(0x1b5)][_0x2b037c][_0x1bc9fb(0x1db)])&&delete _0x4d7c67['__dirtyfields__'][_0x2b037c],ValueUtil[_0x1bc9fb(0x1c2)](_0x4d7c67[_0x1bc9fb(0x1b5)])?_0x4d7c67[_0x1bc9fb(0x1c8)]='M':_0x4d7c67[_0x1bc9fb(0x1c8)]='',this[_0x1bc9fb(0x192)]={..._0x4d7c67};});}async['firstUpdated'](){const _0x2d3bc4=a0_0x487acb;super['firstUpdated']&&await super[_0x2d3bc4(0x1a7)]();}async[a0_0x487acb(0x1b8)](){const _0x243681=a0_0x487acb;this['isPage']&&await this[_0x243681(0x1c4)](),super[_0x243681(0x1b8)]&&await super[_0x243681(0x1b8)](),this[_0x243681(0x1ac)]&&await this[_0x243681(0x1b0)]();}['render'](){return MetaApi['getBasicFormHtml'](this);}['parseBasicFormConfigs'](_0x50dc71){const _0x48b1c3=a0_0x487acb;this[_0x48b1c3(0x1d2)]=_0x50dc71[_0x48b1c3(0x1cd)],this[_0x48b1c3(0x1c5)]=_0x50dc71[_0x48b1c3(0x1d4)],_0x50dc71[_0x48b1c3(0x194)]=_0x50dc71[_0x48b1c3(0x194)][_0x48b1c3(0x195)](_0x43982f=>_0x48b1c3(0x198)==_0x43982f[_0x48b1c3(0x19d)]);}async['parseFormConfigs'](){const _0xadbc10=a0_0x487acb;this[_0xadbc10(0x19b)]=await MetaApi['parseFormConfigSet'](this);}get[a0_0x487acb(0x1a2)](){const _0x43a922=a0_0x487acb;return this[_0x43a922(0x1c3)](this['record'][_0x43a922(0x1d7)]);}get[a0_0x487acb(0x1bb)](){const _0x6520ff=a0_0x487acb;if(ValueUtil[_0x6520ff(0x1a6)](this['record'][_0x6520ff(0x1b5)]))return{};let _0x6c271a={};return Object[_0x6520ff(0x1bc)](this[_0x6520ff(0x192)]['__dirtyfields__'])[_0x6520ff(0x1aa)](([_0xde82b2,_0x2d4ae3])=>{const _0x48d159=_0x6520ff;0x0==_0xde82b2[_0x48d159(0x199)]('__')&&(_0x6c271a[_0xde82b2]=_0x2d4ae3['after']);}),_0x6c271a;}get['currentData'](){const _0x17db6d=a0_0x487acb;return this[_0x17db6d(0x1c3)](this[_0x17db6d(0x192)]);}['removeGarbageData'](_0x1635aa){const _0x537c0a=a0_0x487acb;let _0x3bf0f6={};return Object[_0x537c0a(0x1bc)](_0x1635aa)[_0x537c0a(0x1aa)](([_0x307cd1,_0x4f8692])=>{0x0==_0x307cd1['startsWith']('__')&&(_0x3bf0f6[_0x307cd1]=_0x4f8692);}),_0x3bf0f6;}get[a0_0x487acb(0x1ad)](){const _0x550f7c=a0_0x487acb;let _0x542880=this[_0x550f7c(0x1bb)],_0x2cde9a=this[_0x550f7c(0x192)];return ValueUtil['isEmpty'](_0x542880)?[]:(ValueUtil[_0x550f7c(0x1c2)](_0x2cde9a['id'])?(_0x542880['id']=_0x2cde9a['id'],_0x542880[_0x550f7c(0x1d6)]='M'):_0x542880[_0x550f7c(0x1d6)]='+',Object[_0x550f7c(0x1cc)](_0x542880)[_0x550f7c(0x1c9)](_0x2b7250=>{const _0x3b0127=_0x550f7c;_0x3b0127(0x1d0)==typeof _0x542880[_0x2b7250]&&(_0x542880[_0x2b7250]={'id':_0x542880[_0x2b7250]['id']});}),[_0x542880]);}async[a0_0x487acb(0x1b0)](){const _0xb18a5d=a0_0x487acb;if(ValueUtil['isEmpty'](this[_0xb18a5d(0x193)]))return;let _0x5a0bd9=await this[_0xb18a5d(0x1b9)](this[_0xb18a5d(0x193)]);_0x5a0bd9[_0xb18a5d(0x19c)]=0x1;let _0x14a6e3={};Object['assign'](_0x14a6e3,_0x5a0bd9),_0x5a0bd9[_0xb18a5d(0x1d7)]=_0x14a6e3,this['record']={..._0x5a0bd9};}async[a0_0x487acb(0x198)](){const _0x5a8aa8=a0_0x487acb;let _0x2d47dd=this[_0x5a8aa8(0x1ad)];if(ValueUtil[_0x5a8aa8(0x1a6)](_0x2d47dd))return void MetaApi['showAlertPopup'](_0x5a8aa8(0x1d5),_0x5a8aa8(0x1a4));let _0x104267=await this[_0x5a8aa8(0x1c1)](_0x2d47dd);return _0x104267&&await this[_0x5a8aa8(0x1b0)](),_0x104267;}async[a0_0x487acb(0x1b1)](){const _0x1cfb33=a0_0x487acb;this[_0x1cfb33(0x192)]&&(this['record']={});}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x38febb=a0_0x4cfb;(function(_0x5735db,_0x19e187){const _0x454ccc=a0_0x4cfb,_0x26ddd8=_0x5735db();while(!![]){try{const _0x11183b=parseInt(_0x454ccc(0x128))/0x1*(-parseInt(_0x454ccc(0x15a))/0x2)+-parseInt(_0x454ccc(0x135))/0x3*(-parseInt(_0x454ccc(0x138))/0x4)+-parseInt(_0x454ccc(0x130))/0x5*(-parseInt(_0x454ccc(0x13c))/0x6)+parseInt(_0x454ccc(0x145))/0x7*(-parseInt(_0x454ccc(0x12b))/0x8)+-parseInt(_0x454ccc(0x14e))/0x9+-parseInt(_0x454ccc(0x14f))/0xa*(-parseInt(_0x454ccc(0x12f))/0xb)+parseInt(_0x454ccc(0x161))/0xc;if(_0x11183b===_0x19e187)break;else _0x26ddd8['push'](_0x26ddd8['shift']());}catch(_0x66276e){_0x26ddd8['push'](_0x26ddd8['shift']());}}}(a0_0x883c,0xedc99));import{html}from'lit';function a0_0x4cfb(_0x48ca9e,_0x48dfd3){const _0x883c90=a0_0x883c();return a0_0x4cfb=function(_0x4cfbb6,_0xfa58e6){_0x4cfbb6=_0x4cfbb6-0x121;let _0x323abf=_0x883c90[_0x4cfbb6];return _0x323abf;},a0_0x4cfb(_0x48ca9e,_0x48dfd3);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';function a0_0x883c(){const _0x440b9b=['13222HqZfVo','595025FlGlTK','name','actions','delete','record','2973potUfJ','patchesForUpdateMultiple','grid_column','2324mzjiCV','grist','meta-tab-element','shadowRoot','42VnSLHY','querySelector','filterFormId','filter','parseBasicGridConfigs','parseGridConfigSet','map','isNotEmpty','updateMultiple','7nDPdWy','getContextObject','isPage','getSelectedIdList','tTitle','grid','search','deleteByIds','ox-filters-form-base','4438800VoTWIp','9740yEwfgD','useFilterForm','gristId','importable','beforeFetch','type','save','header','connectedCallback','operator','pageInitialized','2064262crDcxB','context','gridConfig','fetch','title','gristConfigSet','import','21393744bLfCnv','exportableData','clear','isElement','renderRoot','firstUpdated','parseGristConfigs','render','1zGaPFW','filterForm','gridColumnConfig','14904464uQWfXs','menuInfo','exportable','options'];a0_0x883c=function(){return _0x440b9b;};return a0_0x883c();}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaGristTabMixin=_0x28cfc3=>class extends MetaButtonMixin(_0x28cfc3){static get['styles'](){return MetaApi['getBasicGristTabStyles']();}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_0x38febb(0x139)](){const _0x8d1ff9=a0_0x38febb;return this['renderRoot'][_0x8d1ff9(0x13d)](this[_0x8d1ff9(0x151)]);}get[a0_0x38febb(0x129)](){const _0x2bb862=a0_0x38febb;return this[_0x2bb862(0x13b)]?.[_0x2bb862(0x13d)](this[_0x2bb862(0x13e)]);}get[a0_0x38febb(0x15b)](){const _0x1ec500=a0_0x38febb;let _0x2b9be8=MetaUiUtil[_0x1ec500(0x146)](this);return _0x2b9be8['actions']&&delete _0x2b9be8[_0x1ec500(0x132)],_0x2b9be8[_0x1ec500(0x12d)]&&delete _0x2b9be8['exportable'],_0x2b9be8[_0x1ec500(0x152)]&&delete _0x2b9be8[_0x1ec500(0x152)],_0x2b9be8;}async[a0_0x38febb(0x157)](){const _0x157d1c=a0_0x38febb;this[_0x157d1c(0x151)]='ox-grist',this[_0x157d1c(0x13e)]=_0x157d1c(0x14d),await this['getAndParseMenuMeta'](),this[_0x157d1c(0x123)]&&await this[_0x157d1c(0x126)](),super[_0x157d1c(0x157)]&&await super[_0x157d1c(0x157)]();}async['firstUpdated'](){const _0x464bc1=a0_0x38febb;super[_0x464bc1(0x125)]&&await super[_0x464bc1(0x125)]();}async[a0_0x38febb(0x159)](){const _0x35a3a7=a0_0x38febb;this[_0x35a3a7(0x147)]&&await this[_0x35a3a7(0x126)](),super[_0x35a3a7(0x159)]&&await super[_0x35a3a7(0x159)]();}[a0_0x38febb(0x127)](){return MetaApi['getGristTabHtml'](this);}[a0_0x38febb(0x140)](_0x11dd3b){const _0x53b21b=a0_0x38febb;this[_0x53b21b(0x15c)]=_0x11dd3b[_0x53b21b(0x14a)],this[_0x53b21b(0x12a)]=_0x11dd3b[_0x53b21b(0x137)],this['searchConfig']=_0x11dd3b[_0x53b21b(0x14b)];}async[a0_0x38febb(0x126)](){const _0x4b902e=a0_0x38febb;this[_0x4b902e(0x15f)]=await MetaApi[_0x4b902e(0x141)](this),this['useMasterFilterForm']=this[_0x4b902e(0x150)],this['useFilterForm']=!0x1,this['searchFields']=this[_0x4b902e(0x15f)]['columns'][_0x4b902e(0x13f)](_0x11645b=>_0x11645b[_0x4b902e(0x13f)])[_0x4b902e(0x142)](_0x148d4a=>{const _0x4ce14f=_0x4b902e;let _0x2587c5={'name':_0x148d4a[_0x4ce14f(0x131)],'type':_0x148d4a[_0x4ce14f(0x154)],'label':_0x148d4a[_0x4ce14f(0x156)],'operator':_0x148d4a[_0x4ce14f(0x13f)][_0x4ce14f(0x158)]?_0x148d4a[_0x4ce14f(0x13f)]['operator']:'eq'};return _0x148d4a[_0x4ce14f(0x134)][_0x4ce14f(0x12e)]&&(_0x2587c5[_0x4ce14f(0x12e)]=_0x148d4a['record'][_0x4ce14f(0x12e)]),_0x2587c5;});}async[a0_0x38febb(0x15d)](){const _0x398fc2=a0_0x38febb;await this[_0x398fc2(0x139)][_0x398fc2(0x15d)]();}async[a0_0x38febb(0x153)]({page:_0x42fef0=0x0,limit:_0x116bb3=0x0,sortings:_0x5220e2=[],filters:_0x225432=[]}){const _0xef95d5=a0_0x38febb;let _0x424360=this[_0xef95d5(0x124)][_0xef95d5(0x13d)](_0xef95d5(0x13a));return await _0x424360[_0xef95d5(0x122)](),!0x0;}async[a0_0x38febb(0x155)](){const _0x2e1f7f=a0_0x38febb;let _0x19bc9d=MetaApi[_0x2e1f7f(0x136)](this[_0x2e1f7f(0x139)]);!!ValueUtil['isNotEmpty'](_0x19bc9d)&&await this[_0x2e1f7f(0x144)](_0x19bc9d)&&this[_0x2e1f7f(0x15d)]();}async['find'](){const _0x4c0563=a0_0x38febb;let _0x2ad107=MetaApi['getSelectedIdList'](this[_0x4c0563(0x139)],!0x0);return ValueUtil['isNotEmpty'](_0x2ad107)?await this['findOne'](_0x2ad107[0x0]):{};}async[a0_0x38febb(0x133)](){const _0x4e1d91=a0_0x38febb;let _0x1f74f9=MetaApi[_0x4e1d91(0x148)](this[_0x4e1d91(0x139)],!0x0);!!ValueUtil[_0x4e1d91(0x143)](_0x1f74f9)&&await this[_0x4e1d91(0x14c)](_0x1f74f9)&&this[_0x4e1d91(0x15d)]();}async['export'](){const _0x5bd341=a0_0x38febb;let _0x157814=TermsUtil[_0x5bd341(0x149)](ValueUtil['getParams'](this[_0x5bd341(0x12c)],_0x5bd341(0x15e)));return await MetaApi[_0x5bd341(0x121)](this['isElement'],_0x157814,this[_0x5bd341(0x139)]);}async[a0_0x38febb(0x160)](){}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3bcccd=a0_0x5595;(function(_0x45c676,_0x2d6a34){const _0x4a63d1=a0_0x5595,_0x868b3d=_0x45c676();while(!![]){try{const _0x5d6c12=-parseInt(_0x4a63d1(0xcc))/0x1+-parseInt(_0x4a63d1(0xbd))/0x2+parseInt(_0x4a63d1(0xdc))/0x3*(-parseInt(_0x4a63d1(0xc4))/0x4)+-parseInt(_0x4a63d1(0xde))/0x5*(parseInt(_0x4a63d1(0xce))/0x6)+-parseInt(_0x4a63d1(0xb4))/0x7+parseInt(_0x4a63d1(0xa4))/0x8*(parseInt(_0x4a63d1(0xad))/0x9)+parseInt(_0x4a63d1(0xb5))/0xa;if(_0x5d6c12===_0x2d6a34)break;else _0x868b3d['push'](_0x868b3d['shift']());}catch(_0x5d6004){_0x868b3d['push'](_0x868b3d['shift']());}}}(a0_0x3b34,0xe1ee5));function a0_0x3b34(){const _0x3c6e4b=['firstUpdated','\x22\x20route_name=\x22','gristId','ox-grist','import','deleteByIds','12wPQxMK','detailElement','shadowRoot','grist','type','clear','findOne','beforeFetch','1559170TSwZjp','find','18daJdwP','name','filter','createDetailElement','fetch','getMasterDetailHtml','\x20id=\x22','gridColumnConfig','renderRoot','gristConfigSet','querySelector','menuInfo','parseGristConfigs','getSelectedIdList','783948gssSaa','tagname','1558045DwinjR','options','save','parseGridConfigSet','record','patchesForUpdateMultiple','pageInitialized','tTitle','columns','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','importable','getAndParseMenuMeta','header','export','3965336pDFpXR','ox-filters-form-base','title','map','operator','useMasterFilterForm','searchFields','grid','search','9aoSvLJ','connectedCallback','getContextObject','parseBasicGridConfigs','exportable','render','getBasicMasterDetailStyles','6815809cfhCZK','49295080zNjKlh','grid_column','isNotEmpty','isElement','routing','filterFormId','isPage','useFilterForm','496260LLmJTI'];a0_0x3b34=function(){return _0x3c6e4b;};return a0_0x3b34();}import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x5595(_0x44847a,_0x5948d4){const _0x3b34ea=a0_0x3b34();return a0_0x5595=function(_0x55959a,_0x4a99ab){_0x55959a=_0x55959a-0xa4;let _0x1ba77b=_0x3b34ea[_0x55959a];return _0x1ba77b;},a0_0x5595(_0x44847a,_0x5948d4);}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaMasterDetailMixin=_0xbacf45=>class extends MetaButtonMixin(_0xbacf45){static get['styles'](){const _0x4647e0=a0_0x5595;return MetaApi[_0x4647e0(0xb3)]();}static get['properties'](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get['grist'](){const _0x15dba3=a0_0x5595;return this[_0x15dba3(0xd6)][_0x15dba3(0xd8)](this['gristId']);}get['filterForm'](){const _0x259ad8=a0_0x5595;return this[_0x259ad8(0xc6)]?.[_0x259ad8(0xd8)](this[_0x259ad8(0xba)]);}get['context'](){const _0xf1fcde=a0_0x5595;let _0xd32baa=MetaUiUtil[_0xf1fcde(0xaf)](this);return _0xd32baa['actions']&&delete _0xd32baa['actions'],_0xd32baa[_0xf1fcde(0xb1)]&&delete _0xd32baa[_0xf1fcde(0xb1)],_0xd32baa[_0xf1fcde(0xe8)]&&delete _0xd32baa['importable'],_0xd32baa;}async[a0_0x3bcccd(0xae)](){const _0x29146e=a0_0x3bcccd;this[_0x29146e(0xc0)]=_0x29146e(0xc1),this[_0x29146e(0xba)]=_0x29146e(0xa5),await this[_0x29146e(0xe9)](),this[_0x29146e(0xb8)]&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x29146e(0xae)]();}async[a0_0x3bcccd(0xbe)](){const _0x4e466b=a0_0x3bcccd;super[_0x4e466b(0xbe)]&&await super[_0x4e466b(0xbe)]();}async[a0_0x3bcccd(0xe4)](){const _0xa2449b=a0_0x3bcccd;this[_0xa2449b(0xbb)]&&await this[_0xa2449b(0xda)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x3bcccd(0xb2)](){const _0xd3e27a=a0_0x3bcccd;return MetaApi[_0xd3e27a(0xd3)](this);}[a0_0x3bcccd(0xd1)](_0x478192){const _0x36869c=a0_0x3bcccd;if(!this[_0x36869c(0xc5)]){let _0x9d1be2=_0x478192['name']?_0x478192[_0x36869c(0xcf)]:'detail',_0x427925='<'+_0x478192[_0x36869c(0xdd)]+_0x36869c(0xd4)+_0x9d1be2+'\x22\x20name=\x22'+_0x9d1be2+_0x36869c(0xbf)+_0x478192[_0x36869c(0xb9)]+_0x36869c(0xe7)+_0x478192['tagname']+'>';this[_0x36869c(0xc5)]=UiUtil['htmlToElement'](_0x427925);}}[a0_0x3bcccd(0xb0)](_0x54ce8f){const _0x343534=a0_0x3bcccd;this['gridConfig']=_0x54ce8f[_0x343534(0xab)],this[_0x343534(0xd5)]=_0x54ce8f[_0x343534(0xb6)],this['searchConfig']=_0x54ce8f[_0x343534(0xac)];}async[a0_0x3bcccd(0xda)](){const _0xeae6d1=a0_0x3bcccd;this[_0xeae6d1(0xd7)]=await MetaApi[_0xeae6d1(0xe1)](this),this[_0xeae6d1(0xa9)]=this['useFilterForm'],this[_0xeae6d1(0xbc)]=!0x1,this[_0xeae6d1(0xaa)]=this[_0xeae6d1(0xd7)][_0xeae6d1(0xe6)][_0xeae6d1(0xd0)](_0x217cdc=>_0x217cdc['filter'])[_0xeae6d1(0xa7)](_0x3949ef=>{const _0x4ebeca=_0xeae6d1;let _0x3ff82b={'name':_0x3949ef['name'],'type':_0x3949ef[_0x4ebeca(0xc8)],'label':_0x3949ef[_0x4ebeca(0xea)],'operator':_0x3949ef[_0x4ebeca(0xd0)][_0x4ebeca(0xa8)]?_0x3949ef[_0x4ebeca(0xd0)][_0x4ebeca(0xa8)]:'eq'};return _0x3949ef[_0x4ebeca(0xe2)][_0x4ebeca(0xdf)]&&(_0x3ff82b[_0x4ebeca(0xdf)]=_0x3949ef[_0x4ebeca(0xe2)][_0x4ebeca(0xdf)]),_0x3ff82b;});}async[a0_0x3bcccd(0xd2)](){await this['grist']['fetch']();}async[a0_0x3bcccd(0xcb)]({page:_0x1d6584=0x0,limit:_0x47ceba=0x0,sortings:_0x6bed63=[],filters:_0x26c6c4=[]}){const _0x1cf150=a0_0x3bcccd;return this[_0x1cf150(0xc5)]&&this['detailElement'][_0x1cf150(0xc9)]&&await this[_0x1cf150(0xc5)][_0x1cf150(0xc9)](),!0x0;}async[a0_0x3bcccd(0xe0)](){const _0x215f0c=a0_0x3bcccd;let _0x3b3b38=MetaApi[_0x215f0c(0xe3)](this['grist']);!!ValueUtil[_0x215f0c(0xb7)](_0x3b3b38)&&await this['updateMultiple'](_0x3b3b38)&&this[_0x215f0c(0xd2)]();}async[a0_0x3bcccd(0xcd)](){const _0x1bd725=a0_0x3bcccd;let _0x5635a7=MetaApi[_0x1bd725(0xdb)](this[_0x1bd725(0xc7)],!0x0);return ValueUtil[_0x1bd725(0xb7)](_0x5635a7)?await this[_0x1bd725(0xca)](_0x5635a7[0x0]):{};}async['delete'](){const _0x16515a=a0_0x3bcccd;let _0x55d255=MetaApi[_0x16515a(0xdb)](this['grist'],!0x0);!!ValueUtil[_0x16515a(0xb7)](_0x55d255)&&await this[_0x16515a(0xc3)](_0x55d255)&&this[_0x16515a(0xd2)]();}async[a0_0x3bcccd(0xeb)](){const _0x17f6a0=a0_0x3bcccd;let _0xccfacd=TermsUtil[_0x17f6a0(0xe5)](ValueUtil['getParams'](this[_0x17f6a0(0xd9)],_0x17f6a0(0xa6)));return await MetaApi['exportableData'](this[_0x17f6a0(0xb8)],_0xccfacd,this[_0x17f6a0(0xc7)]);}async[a0_0x3bcccd(0xc2)](){}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a0_0x18e8(){const _0x4b4c08=['isEmpty','gristConfigSet','getSelectColumns','gqlInfo','7090bNYUJR','isNotEmpty','getPageNavigateParams','name','searchByPagination','deleteByIds','beforeFetch','filters','value','after_set_fields','3675462nADyIR','1559444OKiJNZ','getParams','filterForm','isElement','3110808XmpJnV','forEach','mutation','properties','1315233lsHJVx','afterFetch','params','length','multiple','fetchHandler','split','3099840ZFKDvE','getQueryFilters','deleteListByIds','lifecycle','keys','func','5598qYdgMp','parseBasicServiceConfigs','2lInjts','records','5409330WbYSBg','findOne','parse','list_func','query','parent_id','pass','skip_fields','filter','includes','delete','21zSTkvw','find_one_func','map','columns','push','updateMultiple'];a0_0x18e8=function(){return _0x4b4c08;};return a0_0x18e8();}const a0_0x506c87=a0_0x14a1;(function(_0x317147,_0xc51355){const _0x15fdcd=a0_0x14a1,_0x44ff94=_0x317147();while(!![]){try{const _0x39abb1=parseInt(_0x15fdcd(0x1f7))/0x1+parseInt(_0x15fdcd(0x1cd))/0x2*(-parseInt(_0x15fdcd(0x1ee))/0x3)+-parseInt(_0x15fdcd(0x1ef))/0x4+-parseInt(_0x15fdcd(0x1c5))/0x5+parseInt(_0x15fdcd(0x1cf))/0x6+-parseInt(_0x15fdcd(0x1da))/0x7*(-parseInt(_0x15fdcd(0x1f3))/0x8)+-parseInt(_0x15fdcd(0x1cb))/0x9*(parseInt(_0x15fdcd(0x1e4))/0xa);if(_0x39abb1===_0xc51355)break;else _0x44ff94['push'](_0x44ff94['shift']());}catch(_0x28914f){_0x44ff94['push'](_0x44ff94['shift']());}}}(a0_0x18e8,0xacb20));import{adjustFilters}from'@operato/utils';function a0_0x14a1(_0x33cb92,_0x41c64b){const _0x18e8e2=a0_0x18e8();return a0_0x14a1=function(_0x14a158,_0x26c50d){_0x14a158=_0x14a158-0x1bf;let _0x190147=_0x18e8e2[_0x14a158];return _0x190147;},a0_0x14a1(_0x33cb92,_0x41c64b);}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x54c2ea=>class extends MetaBaseMixin(_0x54c2ea){static get[a0_0x506c87(0x1f6)](){return{'gqlInfo':Object};}[a0_0x506c87(0x1cc)](_0x4ee842){const _0x50837b=a0_0x506c87;this[_0x50837b(0x1e3)]=_0x4ee842['gql'];}async[a0_0x506c87(0x1c3)]({page:_0x4615c8=0x0,limit:_0x200f0a=0x0,sortings:_0x12837e=[],filters:_0x47c97d=[]}){const _0xab8760=a0_0x506c87;if(this[_0xab8760(0x1ea)]&&0x0==await this[_0xab8760(0x1ea)]({'page':_0x4615c8,'limit':_0x200f0a,'sortings':_0x12837e,'filters':_0x47c97d}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x48546f=ValueUtil[_0xab8760(0x1e0)](_0x47c97d)?await this[_0xab8760(0x1f1)]?.[_0xab8760(0x1c6)]()||[]:_0x47c97d,_0x45dda1=ValueUtil['getParams'](this[_0xab8760(0x1e3)],'query',_0xab8760(0x1d2)),_0x2ec9de=ValueUtil['getParams'](this['gqlInfo'],_0xab8760(0x1d3),_0xab8760(0x1eb)),_0x32df69=ValueUtil['getParams'](this[_0xab8760(0x1e3)],_0xab8760(0x1d3),_0xab8760(0x1ed));if(ValueUtil[_0xab8760(0x1e5)](_0x2ec9de)&&(_0x48546f=adjustFilters(_0x48546f,_0x2ec9de)),_0x48546f[_0xab8760(0x1de)](...this['getPageNavigateParams']()),this[_0xab8760(0x1f2)]){let _0x39f150=ValueUtil['getParams'](this[_0xab8760(0x1e3)],_0xab8760(0x1d3),'parent_id');ValueUtil[_0xab8760(0x1e5)](_0x39f150)&&ValueUtil[_0xab8760(0x1e5)](this[_0xab8760(0x1d4)])&&(_0x48546f=adjustFilters(_0x48546f,[{'name':_0x39f150,'operator':'eq','value':this[_0xab8760(0x1d4)]}]));}let _0x391d5c=Object['keys'](_0x32df69||{}),_0x2f65d7=MetaApi[_0xab8760(0x1e2)](this[_0xab8760(0x1e1)][_0xab8760(0x1dd)][_0xab8760(0x1d7)](_0x30f66c=>!_0x391d5c['includes'](_0x30f66c[_0xab8760(0x1e7)]))),_0x20555a=await MetaApi[_0xab8760(0x1e8)](_0x45dda1,_0x48546f,_0x12837e,_0x4615c8,_0x200f0a,_0x2f65d7);if(this[_0xab8760(0x1bf)]){let _0x2a66ae=await this[_0xab8760(0x1bf)]({'page':_0x4615c8,'limit':_0x200f0a,'sortings':_0x12837e,'filters':_0x47c97d},_0x20555a);if(_0x2a66ae)return _0x2a66ae;}return ValueUtil['isNotEmpty'](_0x32df69)&&ValueUtil[_0xab8760(0x1e5)](_0x20555a)&&ValueUtil['isNotEmpty'](_0x20555a[_0xab8760(0x1ce)])&&_0x20555a[_0xab8760(0x1ce)][_0xab8760(0x1dc)](_0x31a9e0=>(_0x391d5c['forEach'](_0x19413b=>{const _0x2cf130=_0xab8760;_0x31a9e0[_0x19413b]=ValueUtil[_0x2cf130(0x1f0)](_0x31a9e0,..._0x32df69[_0x19413b][_0x2cf130(0x1c4)]('.'));}),_0x31a9e0)),_0x20555a;}[a0_0x506c87(0x1e6)](){const _0x5c6e95=a0_0x506c87;if(0x0==this['isPage'])return[];let _0x319317=this[_0x5c6e95(0x1c8)]?.[_0x5c6e95(0x1c0)]?this[_0x5c6e95(0x1c8)][_0x5c6e95(0x1c0)]:{};if(!_0x319317[_0x5c6e95(0x1d5)])return[];let _0x295abf=_0x319317['pass'],_0x59d672=JSON[_0x5c6e95(0x1d1)](_0x295abf),_0x119794=0x1==_0x59d672['length']?'eq':'in',_0x25172a={},_0x397c7e=[];return Object[_0x5c6e95(0x1c9)](_0x59d672[0x0])['forEach'](_0x5095ec=>{_0x25172a[_0x5095ec]={'name':_0x5095ec,'operator':_0x119794,'value':'eq'===_0x119794?_0x59d672[0x0][_0x5095ec]:[]};}),_0x59d672[_0x5c6e95(0x1c1)]>0x1&&_0x59d672[_0x5c6e95(0x1f4)](_0xdf90ef=>{const _0x4e6024=_0x5c6e95;Object[_0x4e6024(0x1c9)](_0xdf90ef)[_0x4e6024(0x1f4)](_0x455bb7=>{const _0x57a38b=_0x4e6024;_0x25172a[_0x455bb7][_0x57a38b(0x1ec)][_0x57a38b(0x1de)](_0xdf90ef[_0x455bb7]);});}),Object[_0x5c6e95(0x1c9)](_0x25172a)[_0x5c6e95(0x1f4)](_0x11f04c=>{const _0x38bacd=_0x5c6e95;_0x397c7e[_0x38bacd(0x1de)](_0x25172a[_0x11f04c]);}),_0x397c7e;}async['findOne'](_0x4cafa8){const _0x22e4d3=a0_0x506c87;let _0x17b33e=ValueUtil[_0x22e4d3(0x1f0)](this[_0x22e4d3(0x1e3)],_0x22e4d3(0x1d3),_0x22e4d3(0x1db)),_0x1c1cef=ValueUtil['getParams'](this[_0x22e4d3(0x1e3)],'query',_0x22e4d3(0x1ed)),_0x139362=Object[_0x22e4d3(0x1c9)](_0x1c1cef||{}),_0x2e9cf5=MetaApi[_0x22e4d3(0x1e2)]((this[_0x22e4d3(0x1e1)]?this['gristConfigSet']:{'columns':this['formConfigSet']})[_0x22e4d3(0x1dd)][_0x22e4d3(0x1d7)](_0x5035e8=>!_0x139362[_0x22e4d3(0x1d8)](_0x5035e8[_0x22e4d3(0x1e7)]))),_0x3f5e29=await MetaApi[_0x22e4d3(0x1d0)](_0x17b33e,_0x4cafa8,_0x2e9cf5);return ValueUtil[_0x22e4d3(0x1e5)](_0x1c1cef)&&ValueUtil[_0x22e4d3(0x1e5)](_0x3f5e29)&&_0x139362['forEach'](_0x1f799b=>{const _0x3343d3=_0x22e4d3;_0x3f5e29[_0x1f799b]=ValueUtil['getParams'](_0x3f5e29,..._0x1c1cef[_0x1f799b][_0x3343d3(0x1c4)]('.'));}),_0x3f5e29;}async[a0_0x506c87(0x1e9)](_0x152e01){const _0x35ce00=a0_0x506c87;let _0x2e8ba6=ValueUtil[_0x35ce00(0x1f0)](this[_0x35ce00(0x1e3)],_0x35ce00(0x1f5),_0x35ce00(0x1d9),_0x35ce00(0x1ca));return await MetaApi[_0x35ce00(0x1c7)](_0x152e01,_0x2e8ba6);}async[a0_0x506c87(0x1df)](_0x152bd9){const _0x238561=a0_0x506c87;let _0x14b1f1=ValueUtil[_0x238561(0x1f0)](this[_0x238561(0x1e3)],'mutation',_0x238561(0x1c2),'func'),_0x33f7c5=ValueUtil[_0x238561(0x1f0)](this[_0x238561(0x1e3)],'mutation',_0x238561(0x1c2),_0x238561(0x1d6));if(ValueUtil[_0x238561(0x1e5)](_0x33f7c5)&&(_0x33f7c5=_0x33f7c5[_0x238561(0x1dc)](_0x32658e=>_0x32658e['includes']('.')?_0x32658e[_0x238561(0x1c4)]('.'):_0x32658e),_0x152bd9=_0x152bd9[_0x238561(0x1dc)](_0x45e916=>(_0x33f7c5[_0x238561(0x1f4)](_0x39c08d=>{Array['isArray'](_0x39c08d)?delete _0x45e916[_0x39c08d[0x0]][_0x39c08d[0x1]]:delete _0x45e916[_0x39c08d];}),_0x45e916))),this['isElement']&&ValueUtil[_0x238561(0x1e5)](this[_0x238561(0x1d4)])){let _0x2f29d9=ValueUtil['getParams'](this[_0x238561(0x1e3)],_0x238561(0x1f5),'multiple','parent_id');ValueUtil[_0x238561(0x1e5)](_0x2f29d9)&&_0x152bd9[_0x238561(0x1f4)](_0x30347a=>{const _0x4288e3=_0x238561;if(_0x2f29d9[_0x4288e3(0x1d8)]('.')){let _0x48c17a=_0x2f29d9['split']('.');_0x30347a[_0x48c17a[0x0]]={},_0x30347a[_0x48c17a[0x0]][_0x48c17a[0x1]]=this[_0x4288e3(0x1d4)];}else _0x30347a[_0x2f29d9]=this[_0x4288e3(0x1d4)];});}return await MetaApi['updateMultiple'](_0x14b1f1,_0x152bd9);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x24c631=a0_0x4dd7;(function(_0x4246c1,_0x53c6b9){const _0x35910a=a0_0x4dd7,_0x1e7147=_0x4246c1();while(!![]){try{const _0x1527af=-parseInt(_0x35910a(0x140))/0x1*(-parseInt(_0x35910a(0x12b))/0x2)+-parseInt(_0x35910a(0x13b))/0x3+-parseInt(_0x35910a(0x136))/0x4+parseInt(_0x35910a(0x130))/0x5+parseInt(_0x35910a(0x12c))/0x6+parseInt(_0x35910a(0x138))/0x7+parseInt(_0x35910a(0x12e))/0x8;if(_0x1527af===_0x53c6b9)break;else _0x1e7147['push'](_0x1e7147['shift']());}catch(_0x59f4da){_0x1e7147['push'](_0x1e7147['shift']());}}}(a0_0x4464,0x60a8e));function a0_0x4464(){const _0x2c0906=['3072088ITvFsf','styles','1246434BqzArh','keys','getBasicTabHtml','1990968mGzpao','currentTabKey','getBasicTabStyles','connectedCallback','firstUpdated','9KwdROy','tab','clear','getContextObject','116678fKIHju','3780996lfjyLs','properties','2287336YLYkuk','button','1042000vxeVNK','tabElements','getAndParseMenuMeta','tabRenderConfig','parseBasicTabConfigs','pageInitialized'];a0_0x4464=function(){return _0x2c0906;};return a0_0x4464();}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';function a0_0x4dd7(_0x5421f4,_0x494694){const _0x446451=a0_0x4464();return a0_0x4dd7=function(_0x4dd7ba,_0x28aa60){_0x4dd7ba=_0x4dd7ba-0x12b;let _0xd40c22=_0x446451[_0x4dd7ba];return _0xd40c22;},a0_0x4dd7(_0x5421f4,_0x494694);}import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x5efc7a=>class extends MetaButtonMixin(_0x5efc7a){static get[a0_0x24c631(0x137)](){const _0x190511=a0_0x24c631;return MetaApi[_0x190511(0x13d)]();}static get[a0_0x24c631(0x12d)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x4396e6=a0_0x24c631;return MetaUiUtil[_0x4396e6(0x143)](this);}async[a0_0x24c631(0x13e)](){const _0x424213=a0_0x24c631;this[_0x424213(0x13c)]=void 0x0,await this[_0x424213(0x132)](),super[_0x424213(0x13e)]&&await super[_0x424213(0x13e)]();}async[a0_0x24c631(0x13f)](){const _0x4d7226=a0_0x24c631;super[_0x4d7226(0x13f)]&&await super[_0x4d7226(0x13f)]();}async[a0_0x24c631(0x135)](){const _0x1f3f15=a0_0x24c631;super[_0x1f3f15(0x135)]&&await super[_0x1f3f15(0x135)]();}['render'](){const _0x3352f8=a0_0x24c631;return MetaApi[_0x3352f8(0x13a)](this);}[a0_0x24c631(0x134)](_0x32c705){const _0x56492c=a0_0x24c631;this[_0x56492c(0x133)]=_0x32c705[_0x56492c(0x141)],_0x32c705[_0x56492c(0x12f)]=[];}async['clear'](){const _0x965b9d=a0_0x24c631;if(this[_0x965b9d(0x131)]){let _0x351ce8=Object[_0x965b9d(0x139)](this[_0x965b9d(0x131)]);for(var _0x2e747a=0x0;_0x2e747a<_0x351ce8['length'];_0x2e747a++)await this[_0x965b9d(0x131)][_0x351ce8[_0x2e747a]][_0x965b9d(0x142)]();}}};
|