@things-factory/meta-ui 6.0.62 → 6.0.67
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 +4 -4
- package/client/bootstrap.js +1 -1
- 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/activity/meta-activity-list-page.js +51 -0
- package/client/pages/activity/meta-activity-viewer-element.js +1 -1
- package/client/pages/activity/meta-activity-writer-element.js +2 -2
- package/client/pages/entity/config-entity.js +28 -28
- package/client/pages/entity/main-menu-selector.js +8 -8
- 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 +6 -6
- 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/route.js +4 -0
- 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 +12 -12
- package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +5 -5
- package/server/activity/CommonActivity.js +1 -1
- package/server/constants/error-code.js +1 -1
- package/server/errors/license-error.js +1 -1
- package/server/middlewares/index.js +2 -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/client/actions/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
<mwc-icon @click=${
|
|
1
|
+
const a0_0x2e3df2=a0_0x2586;(function(_0x2364e5,_0x1932bc){const _0xea8f3d=a0_0x2586,_0x1f8f2c=_0x2364e5();while(!![]){try{const _0x5e8fd5=parseInt(_0xea8f3d(0x1b9))/0x1*(-parseInt(_0xea8f3d(0x1bc))/0x2)+-parseInt(_0xea8f3d(0x1ba))/0x3*(-parseInt(_0xea8f3d(0x1b4))/0x4)+-parseInt(_0xea8f3d(0x1ae))/0x5*(-parseInt(_0xea8f3d(0x1c9))/0x6)+parseInt(_0xea8f3d(0x1c0))/0x7*(parseInt(_0xea8f3d(0x1ca))/0x8)+-parseInt(_0xea8f3d(0x1bd))/0x9+-parseInt(_0xea8f3d(0x1c5))/0xa*(-parseInt(_0xea8f3d(0x1b6))/0xb)+parseInt(_0xea8f3d(0x1c8))/0xc;if(_0x5e8fd5===_0x1932bc)break;else _0x1f8f2c['push'](_0x1f8f2c['shift']());}catch(_0x5133b4){_0x1f8f2c['push'](_0x1f8f2c['shift']());}}}(a0_0x851b,0xea76f));import'../viewparts/dynamic-menu-part';function a0_0x2586(_0x3424e0,_0x5f368c){const _0x851b6e=a0_0x851b();return a0_0x2586=function(_0x258690,_0x1c8d63){_0x258690=_0x258690-0x1ae;let _0xd9cd82=_0x851b6e[_0x258690];return _0xd9cd82;},a0_0x2586(_0x3424e0,_0x5f368c);}import'@material/mwc-icon';import a0_0x1c0351 from'graphql-tag';import{html}from'lit';import{client}from'@operato/graphql';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_0x2e3df2(0x1c7);export const UPDATE_META_MENU_TEMPLATE='UPDATE_META_MENU_TEMPLATE';var HAMBURGER;function a0_0x851b(){const _0x2d0efe=['UPDATE_META_UI','10874376DaEfSw','4378512yubipO','1019944IFhVoO','querySelector','5hHfvxH','items','lite-menu-part','data','content','meta[name=\x22application-name\x22]','162188MNPkiV','appName','13316303gZEVHT','filter','dispatch','269609QVsiOu','3ctKWRh','active','4JHZkPm','13634802YcjqKl','dynamic-menu','portrait','7NSNWHO','landscape','rank','NAVBAR','get','10MoPuxk','HEADERBAR'];a0_0x851b=function(){return _0x2d0efe;};return a0_0x851b();}export async function setupMenuPart(_0x215917){const _0x833215=a0_0x2e3df2;var {hovering:_0x45c6c5=!!isMobileDevice(),slotTemplate:_0x30fca1,portraitSlotTemplate:_0x4f68c9,landscapeSlotTemplate:_0x3e6ab3,position:_0x31e30d=VIEWPART_POSITION[_0x833215(0x1c3)]}=_0x215917||{};const {hovering:_0x31e59b}=(await clientSettingStore[_0x833215(0x1c4)](_0x833215(0x1be)))?.['value']||{};void 0x0!==_0x31e59b&&(_0x45c6c5=_0x31e59b);const _0x470c26=_0x31e30d==VIEWPART_POSITION[_0x833215(0x1c6)]?_0x833215(0x1c1):'portrait',_0x3baa9a=(_0x833215(0x1c1)==_0x470c26?_0x3e6ab3:_0x4f68c9)||_0x30fca1||html``;appendViewpart({'name':_0x833215(0x1b0),'viewpart':{'show':!_0x45c6c5,'resizable':!0x0,'hovering':!!isMobileDevice()||_0x45c6c5,'template':html`<dynamic-menu-part .orientation=${_0x470c26}>${_0x3baa9a}</dynamic-menu-part>`},'position':_0x31e30d}),_0x45c6c5&&_0x833215(0x1bf)==_0x470c26?HAMBURGER||(HAMBURGER={'name':'hamburger','template':html`
|
|
2
|
+
<mwc-icon @click=${_0x389d07=>toggleOverlay('dynamic-menu-part',{'backdrop':!0x0})}
|
|
3
3
|
>view_headline</mwc-icon>
|
|
4
|
-
`,'position':TOOL_POSITION[
|
|
4
|
+
`,'position':TOOL_POSITION['FRONT_END']},store[_0x833215(0x1b8)]({'type':APPEND_APP_TOOL,'tool':HAMBURGER})):HAMBURGER&&(store[_0x833215(0x1b8)]({'type':REMOVE_APP_TOOL,'name':'hamburger'}),HAMBURGER=null);}export async function updateMenuTemplate(_0x226dfc){const _0x42e425=a0_0x2e3df2;var _0x1cfe5a=document[_0x42e425(0x1cb)](_0x42e425(0x1b3))?.[_0x42e425(0x1b2)],_0x1ecf04=(await client['query']({'query':a0_0x1c0351`
|
|
5
5
|
query ($filters: [Filter!], $sortings: [Sorting!]) {
|
|
6
6
|
liteMenus: liteMenus(filters: $filters
|
|
7
7
|
sortings: $sortings) {
|
|
@@ -20,4 +20,4 @@ function a0_0x5189(){const _0x49a917=['portrait','24629PbbkAV','query','2aJzIHE'
|
|
|
20
20
|
total
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
`,'variables':{'filters':[{'name':
|
|
23
|
+
`,'variables':{'filters':[{'name':_0x42e425(0x1bb),'operator':'eq','value':!0x0},{'name':_0x42e425(0x1b5),'operator':'in','value':['',_0x1cfe5a]}],'sortings':[{'name':_0x42e425(0x1c2),'desc':!0x1}]}}))[_0x42e425(0x1b1)]['liteMenus'][_0x42e425(0x1af)];store[_0x42e425(0x1b8)]({'type':UPDATE_META_MENU_TEMPLATE,'addon':_0x1ecf04[_0x42e425(0x1b7)](_0xeb9871=>!_0xeb9871[_0x42e425(0x1b5)]||_0xeb9871[_0x42e425(0x1b5)]===_0x1cfe5a),'template':_0x226dfc});}
|
package/client/bootstrap.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a0_0x25d5(_0xaddc02,_0x111d89){const _0x5c1993=a0_0x5c19();return a0_0x25d5=function(_0x25d587,_0x22f790){_0x25d587=_0x25d587-0x1ab;let _0x3aa020=_0x5c1993[_0x25d587];return _0x3aa020;},a0_0x25d5(_0xaddc02,_0x111d89);}const a0_0x59a72d=a0_0x25d5;(function(_0x212133,_0x3c5a54){const _0x202286=a0_0x25d5,_0x4afbf8=_0x212133();while(!![]){try{const _0x597415=parseInt(_0x202286(0x1d7))/0x1+-parseInt(_0x202286(0x1bb))/0x2*(parseInt(_0x202286(0x1cc))/0x3)+parseInt(_0x202286(0x1bc))/0x4+-parseInt(_0x202286(0x1b9))/0x5*(-parseInt(_0x202286(0x1ae))/0x6)+parseInt(_0x202286(0x1d6))/0x7*(parseInt(_0x202286(0x1ab))/0x8)+parseInt(_0x202286(0x1cd))/0x9+-parseInt(_0x202286(0x1d2))/0xa;if(_0x597415===_0x3c5a54)break;else _0x4afbf8['push'](_0x4afbf8['shift']());}catch(_0x55ea2e){_0x4afbf8['push'](_0x4afbf8['shift']());}}}(a0_0x5c19,0xa1ce3));import{MetaApi}from'./../utils/meta-api';function a0_0x5c19(){const _0x2a2a77=['setParentId','callScenario','6173750AJeYZw','parseBasicTabConfigs','title_detail','params','7LQYjgW','104788FdJPtg','isPage','title','menuInfo','487624rpwPYV','is_popup','filterForm','5052lCALqz','name','pageUpdated','properties','getAndParseMenuMeta','getMenuMeta','getParams','isNotEmpty','excuteOpenPopupButtonClick','active','tTitle','3710ZbjrYU','executeCallScenarioButtonClick','358916ZGmUCe','403604eWihBt','parseBasicFormConfigs','fetch','fetchHandler','etc','split','openDynamicPopup','parseBasicGridConfigs','is_detail','errors','grist','isEmpty','isPopup','isElement','parseBasicServiceConfigs','parseBasicButtonConfigs','6AzDgmd','6728760PNClef','menu','isDetail'];a0_0x5c19=function(){return _0x2a2a77;};return a0_0x5c19();}import{ValueUtil}from'./../utils/value-util';import{TermsUtil}from'./../utils/terms-util';export const MetaBaseMixin=_0x6f2ca6=>class extends _0x6f2ca6{static get[a0_0x59a72d(0x1b1)](){return{'menuInfo':Object,'route_name':String,'parent_id':String,'is_detail':{'type':Boolean,'converter':_0x561636=>Boolean(_0x561636)},'is_popup':{'type':Boolean,'converter':_0x13a332=>Boolean(_0x13a332)}};}get[a0_0x59a72d(0x1c9)](){const _0x5ac237=a0_0x59a72d;return!0x0===this[_0x5ac237(0x1c4)]||!0x0===this['is_popup'];}get[a0_0x59a72d(0x1cf)](){const _0x56bb49=a0_0x59a72d;return!ValueUtil[_0x56bb49(0x1c7)](this['is_detail'])&&this[_0x56bb49(0x1c4)];}async[a0_0x59a72d(0x1b0)](_0x463e45,_0x3b8d61,_0x2a2fad){const _0x32746a=a0_0x59a72d;let _0x2d5364=this['lifecycle']?.[_0x32746a(0x1d5)]?this['lifecycle'][_0x32746a(0x1d5)]:{};this[_0x32746a(0x1d8)]&&this[_0x32746a(0x1b7)]&&0x0==_0x2a2fad[_0x32746a(0x1b7)]&&ValueUtil[_0x32746a(0x1b5)](_0x2d5364)&&this[_0x32746a(0x1be)]();}get[a0_0x59a72d(0x1c8)](){const _0x3e3b92=a0_0x59a72d;return!ValueUtil[_0x3e3b92(0x1c7)](this[_0x3e3b92(0x1ac)])&&this[_0x3e3b92(0x1ac)];}get['isPage'](){const _0x29ad72=a0_0x59a72d;return!this[_0x29ad72(0x1c4)]&&!this[_0x29ad72(0x1ac)];}async[a0_0x59a72d(0x1b2)](){const _0x3e6cc2=a0_0x59a72d;let _0xb9f697=await MetaApi[_0x3e6cc2(0x1b3)](this);_0xb9f697&&(this[_0x3e6cc2(0x1da)]=_0xb9f697[_0x3e6cc2(0x1ce)],this[_0x3e6cc2(0x1c3)]&&this[_0x3e6cc2(0x1c3)](_0xb9f697),this['parseBasicServiceConfigs']&&this[_0x3e6cc2(0x1ca)](_0xb9f697),this[_0x3e6cc2(0x1bd)]&&this[_0x3e6cc2(0x1bd)](_0xb9f697),this['parseBasicTabConfigs']&&this[_0x3e6cc2(0x1d3)](_0xb9f697),this[_0x3e6cc2(0x1cb)]&&this['parseBasicButtonConfigs'](_0xb9f697),this['etcConfig']=_0xb9f697[_0x3e6cc2(0x1c0)]);}async['fetch'](){const _0x327f0a=a0_0x59a72d;ValueUtil['isNotEmpty'](this[_0x327f0a(0x1c6)])?this[_0x327f0a(0x1c6)][_0x327f0a(0x1be)]():(ValueUtil['isNotEmpty'](this[_0x327f0a(0x1ad)])||this[_0x327f0a(0x1bf)])&&await this['fetchHandler']();}async[a0_0x59a72d(0x1b6)](_0x300b63,_0x5eeebf,_0x12fcf4){const _0x3f308e=a0_0x59a72d;let _0x3d252b=TermsUtil[_0x3f308e(0x1b8)](_0x300b63[_0x3f308e(0x1d9)]);ValueUtil[_0x3f308e(0x1b5)](_0x300b63[_0x3f308e(0x1d4)])&&(_0x3d252b=_0x3d252b+'-'+ValueUtil[_0x3f308e(0x1b4)](_0x5eeebf,..._0x300b63[_0x3f308e(0x1d4)][_0x3f308e(0x1c1)]('.'))),MetaApi[_0x3f308e(0x1c2)](_0x3d252b,_0x300b63,_0x5eeebf,_0x12fcf4);}async[a0_0x59a72d(0x1ba)](_0x324c07,_0x284a4c,_0x12b395){const _0xcbe8a9=a0_0x59a72d;let _0x430887=await MetaApi[_0xcbe8a9(0x1d1)](_0x324c07['name'],_0x324c07[_0xcbe8a9(0x1af)],_0x284a4c);!0x1!==_0x430887&&!_0x430887[_0xcbe8a9(0x1c5)]&&ValueUtil[_0xcbe8a9(0x1b5)](_0x324c07['after'])&&_0x12b395();}[a0_0x59a72d(0x1d0)](_0x2e87cd){const _0x59cb9b=a0_0x59a72d;this['parent_id']=_0x2e87cd,this[_0x59cb9b(0x1be)]();}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
${MetaApi[
|
|
3
|
-
${this[
|
|
4
|
-
`;}[
|
|
1
|
+
function a0_0x3752(_0x25d9bb,_0x4f9a23){const _0x2ab4fe=a0_0x2ab4();return a0_0x3752=function(_0x3752f5,_0x186e36){_0x3752f5=_0x3752f5-0x181;let _0x382ed0=_0x2ab4fe[_0x3752f5];return _0x382ed0;},a0_0x3752(_0x25d9bb,_0x4f9a23);}const a0_0x8ee2c=a0_0x3752;(function(_0x161618,_0x45885c){const _0x2c7e4b=a0_0x3752,_0x29986c=_0x161618();while(!![]){try{const _0x197980=-parseInt(_0x2c7e4b(0x191))/0x1+-parseInt(_0x2c7e4b(0x19a))/0x2*(parseInt(_0x2c7e4b(0x18b))/0x3)+-parseInt(_0x2c7e4b(0x1a7))/0x4*(parseInt(_0x2c7e4b(0x1ac))/0x5)+parseInt(_0x2c7e4b(0x184))/0x6+-parseInt(_0x2c7e4b(0x1a8))/0x7+-parseInt(_0x2c7e4b(0x1ab))/0x8*(-parseInt(_0x2c7e4b(0x1a3))/0x9)+parseInt(_0x2c7e4b(0x182))/0xa;if(_0x197980===_0x45885c)break;else _0x29986c['push'](_0x29986c['shift']());}catch(_0x5628a7){_0x29986c['push'](_0x29986c['shift']());}}}(a0_0x2ab4,0x53cb3));import{html}from'lit';function a0_0x2ab4(){const _0x3cc4f5=['deleteByIds','styles','filterFormId','712PjQTGp','4292631qpbBsg','title','import','4118320icImAm','6685vNSsFL','save','isNotEmpty','filterForm','find','firstUpdated','grist','delete','export','10319850VbZvkw','pageInitialized','3091176WrqwFX','parseBasicGridConfigs','getSelectedIdList','parseGridConfigSet','isElement','gridColumnConfig','renderRoot','1382781tqARCW','gridConfig','fetch','gristConfigSet','exportableData','ox-grist','406606LSUVRM','findOne','isPage','searchConfig','getBasicGristStyles','search','querySelector','parseGristConfigs','gristId','2jnNseM','properties','connectedCallback','getButtonContainer','patchesForUpdateMultiple','updateMultiple','clear','getBasicGristHtml','menuInfo','9KXpoGZ'];a0_0x2ab4=function(){return _0x3cc4f5;};return a0_0x2ab4();}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=_0xf8346f=>class extends MetaButtonMixin(_0xf8346f){static get[a0_0x8ee2c(0x1a5)](){const _0x2375a4=a0_0x8ee2c;return MetaApi[_0x2375a4(0x195)]();}static get[a0_0x8ee2c(0x19b)](){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_0x8ee2c(0x1b2)](){const _0x568bed=a0_0x8ee2c;return this[_0x568bed(0x18a)]?.[_0x568bed(0x197)](this[_0x568bed(0x199)]);}get[a0_0x8ee2c(0x1af)](){const _0x2e8b82=a0_0x8ee2c;return this['shadowRoot']?.[_0x2e8b82(0x197)](this[_0x2e8b82(0x1a6)]);}get['context'](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x12867d=a0_0x8ee2c;this[_0x12867d(0x199)]=_0x12867d(0x190),this['filterFormId']='ox-filters-form',await this['getAndParseMenuMeta'](),this[_0x12867d(0x188)]&&await this[_0x12867d(0x198)](),super[_0x12867d(0x19c)]&&await super[_0x12867d(0x19c)]();}async[a0_0x8ee2c(0x1b1)](){const _0x18a897=a0_0x8ee2c;super[_0x18a897(0x1b1)]&&await super[_0x18a897(0x1b1)]();}async[a0_0x8ee2c(0x183)](){const _0x535c2c=a0_0x8ee2c;this[_0x535c2c(0x193)]&&await this[_0x535c2c(0x198)](),super[_0x535c2c(0x183)]&&await super[_0x535c2c(0x183)]();}['render'](){const _0x4fdf93=a0_0x8ee2c;return html`
|
|
2
|
+
${MetaApi[_0x4fdf93(0x1a1)](this)}
|
|
3
|
+
${this['isPage']?html``:MetaUiUtil[_0x4fdf93(0x19d)](this)}
|
|
4
|
+
`;}[a0_0x8ee2c(0x185)](_0xfdcdd3){const _0x11fab4=a0_0x8ee2c;this[_0x11fab4(0x18c)]=_0xfdcdd3['grid'],this[_0x11fab4(0x189)]=_0xfdcdd3['grid_column'],this[_0x11fab4(0x194)]=_0xfdcdd3[_0x11fab4(0x196)];}async[a0_0x8ee2c(0x198)](){const _0x5ce9ad=a0_0x8ee2c;this[_0x5ce9ad(0x18e)]=await MetaApi[_0x5ce9ad(0x187)](this);}async['fetch'](){const _0x1f6d59=a0_0x8ee2c;await this[_0x1f6d59(0x1b2)]['fetch']();}async[a0_0x8ee2c(0x1ad)](){const _0x3e766d=a0_0x8ee2c;let _0xb01da5=MetaApi[_0x3e766d(0x19e)](this[_0x3e766d(0x1b2)]);!!ValueUtil['isNotEmpty'](_0xb01da5)&&await this[_0x3e766d(0x19f)](_0xb01da5)&&this[_0x3e766d(0x18d)]();}async[a0_0x8ee2c(0x1b0)](){const _0x30debc=a0_0x8ee2c;let _0x1911dc=MetaApi['getSelectedIdList'](this['grist'],!0x0);return ValueUtil[_0x30debc(0x1ae)](_0x1911dc)?await this[_0x30debc(0x192)](_0x1911dc[0x0]):{};}async[a0_0x8ee2c(0x1b3)](){const _0x416786=a0_0x8ee2c;let _0x1de137=MetaApi[_0x416786(0x186)](this[_0x416786(0x1b2)],!0x0);!!ValueUtil[_0x416786(0x1ae)](_0x1de137)&&await this[_0x416786(0x1a4)](_0x1de137)&&this[_0x416786(0x18d)]();}async[a0_0x8ee2c(0x181)](){const _0x262e8e=a0_0x8ee2c;let _0x24ccd6=TermsUtil['tTitle'](ValueUtil['getParams'](this[_0x262e8e(0x1a2)],_0x262e8e(0x1a9)));return await MetaApi[_0x262e8e(0x18f)](this[_0x262e8e(0x188)],_0x24ccd6,this[_0x262e8e(0x1b2)]);}async[a0_0x8ee2c(0x1aa)](){}async[a0_0x8ee2c(0x1a0)](){const _0x33931b=a0_0x8ee2c;this['grist']&&(this[_0x33931b(0x1b2)]['data']={'page':0x0,'total':0x0,'limit':0x0,'records':[]});}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a0_0x5667(_0x255659,_0x89d19){const _0x410883=a0_0x4108();return a0_0x5667=function(_0x56672e,_0x301416){_0x56672e=_0x56672e-0x70;let _0x43298b=_0x410883[_0x56672e];return _0x43298b;},a0_0x5667(_0x255659,_0x89d19);}function a0_0x4108(){const _0x16dee0=['44644iHltMq','import','438276TPpPdy','customButtonHandler','22WYjzCb','getCustomButtonContainerStyle','9YMGXRt','gristButtonHandler','5eXyWsx','useButtonAdd','getButtonContainer','button','useButtonImport','parseBasicButtonConfigs','1844400XMdAqx','buttonConfig','6165800SpYOIp','getButtonActionHandler','isButtonExist','10ODyedc','useButtonExport','1188090lJQylW','getContextButtons','getBasicButtonHandler','3822651jDtjFc','add','252804eJtlRF'];a0_0x4108=function(){return _0x16dee0;};return a0_0x4108();}const a0_0x35d874=a0_0x5667;(function(_0x45a138,_0x2ec718){const _0x48fd13=a0_0x5667,_0x5b1698=_0x45a138();while(!![]){try{const _0x547632=parseInt(_0x48fd13(0x74))/0x1*(parseInt(_0x48fd13(0x87))/0x2)+-parseInt(_0x48fd13(0x7a))/0x3*(parseInt(_0x48fd13(0x73))/0x4)+-parseInt(_0x48fd13(0x7c))/0x5*(parseInt(_0x48fd13(0x76))/0x6)+-parseInt(_0x48fd13(0x71))/0x7+-parseInt(_0x48fd13(0x82))/0x8+-parseInt(_0x48fd13(0x89))/0x9+parseInt(_0x48fd13(0x84))/0xa*(parseInt(_0x48fd13(0x78))/0xb);if(_0x547632===_0x2ec718)break;else _0x5b1698['push'](_0x5b1698['shift']());}catch(_0xe577d8){_0x5b1698['push'](_0x5b1698['shift']());}}}(a0_0x4108,0x45996));import{html}from'lit';import{MetaUiUtil}from'../utils/meta-ui-util';import{MetaServiceMixin}from'./meta-service-mixin';export const MetaButtonMixin=_0x3797ca=>class extends MetaServiceMixin(_0x3797ca){static get['properties'](){return{'buttonConfig':Array,'useButtonExport':Boolean,'useButtonImport':Boolean,'useButtonAdd':Boolean};}[a0_0x35d874(0x79)](){return MetaUiUtil['getCustomButtonContainerStyles']();}['getContextButtons'](){const _0x5bc587=a0_0x35d874;return MetaUiUtil[_0x5bc587(0x8a)](this);}[a0_0x35d874(0x7e)](){const _0x3802a4=a0_0x35d874;return this['isPage']?html``:MetaUiUtil[_0x3802a4(0x7e)](this);}async[a0_0x35d874(0x70)](_0x1e5bd7,_0xe377c8,_0x508a76){const _0x199432=a0_0x35d874;return await MetaUiUtil[_0x199432(0x85)](this,_0x1e5bd7,_0xe377c8,_0x508a76);}async[a0_0x35d874(0x77)](_0x531f60){const _0x57b808=a0_0x35d874;await MetaUiUtil[_0x57b808(0x77)](this,_0x531f60);}async[a0_0x35d874(0x7b)](_0x3956c8,_0x957b36){const _0x47e08d=a0_0x35d874;await MetaUiUtil[_0x47e08d(0x7b)](this,_0x3956c8,_0x957b36);}[a0_0x35d874(0x81)](_0x31d862){const _0x270ccb=a0_0x35d874;this[_0x270ccb(0x83)]=_0x31d862[_0x270ccb(0x7f)],this[_0x270ccb(0x80)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],_0x270ccb(0x75)),this[_0x270ccb(0x88)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],'export'),this[_0x270ccb(0x7d)]=MetaUiUtil[_0x270ccb(0x86)](this[_0x270ccb(0x83)],_0x270ccb(0x72));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x4cd57=a0_0x2fb8;(function(_0x5756e0,_0x493290){const _0x2e8713=a0_0x2fb8,_0x37676b=_0x5756e0();while(!![]){try{const _0x59820c=-parseInt(_0x2e8713(0x17b))/0x1*(parseInt(_0x2e8713(0x144))/0x2)+parseInt(_0x2e8713(0x17d))/0x3+-parseInt(_0x2e8713(0x14f))/0x4+-parseInt(_0x2e8713(0x147))/0x5+-parseInt(_0x2e8713(0x162))/0x6+parseInt(_0x2e8713(0x189))/0x7+parseInt(_0x2e8713(0x160))/0x8;if(_0x59820c===_0x493290)break;else _0x37676b['push'](_0x37676b['shift']());}catch(_0x188a99){_0x37676b['push'](_0x37676b['shift']());}}}(a0_0x13a5,0x6986c));function a0_0x2fb8(_0x1919e3,_0x138240){const _0x13a506=a0_0x13a5();return a0_0x2fb8=function(_0x2fb8fc,_0x3ce161){_0x2fb8fc=_0x2fb8fc-0x141;let _0x1c4fce=_0x13a506[_0x2fb8fc];return _0x1c4fce;},a0_0x2fb8(_0x1919e3,_0x138240);}import{MetaApi}from'../utils/meta-api';function a0_0x13a5(){const _0x57a42c=['detail','dirtyData','field-change','isNotEmpty','target','keys','name','9017776CkyECK','formRenderConfig','1560312GbGmlV','true','click','__seq__','call','parent_id','updateMultiple','isElement','startsWith','getBasicFormStyles','setAttribute','function','parseBasicFormConfigs','parseFormConfigSet','addEventListener','renderRoot','Esc','connectedCallback','currentTarget','patchData','cuFlag','clear','removeGarbageData','context','removeAttribute','324805STFEKe','grid_column','1345983ykwfaZ','styles','form','after','__dirty__','button','properties','isPage','getContextObject','currentData','map','__dirtyfields__','4457033dthieb','keydown','validation','record','formConfigSet','__origin__','Escape','entries','key','column','2oOSeUI','Enter','save','2211165auoCuq','object','editing','fetch','before','title.info','isEmpty','firstUpdated','3013104LywRbC','config','isEquals','OX-GRID-FIELD','getBasicFormHtml','formColumnConfig','getAndParseMenuMeta','pageInitialized','focus','parseFormConfigs'];a0_0x13a5=function(){return _0x57a42c;};return a0_0x13a5();}import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaFormMixin=_0x39fa76=>class extends MetaButtonMixin(_0x39fa76){static get[a0_0x4cd57(0x17e)](){const _0x7db411=a0_0x4cd57;return MetaApi[_0x7db411(0x16b)]();}static get[a0_0x4cd57(0x183)](){return{'formColumnConfig':Array,'formConfigSet':Object,'formRenderConfig':Array,'record':Object};}get[a0_0x4cd57(0x179)](){const _0x2025fd=a0_0x4cd57;return MetaUiUtil[_0x2025fd(0x185)](this);}async['connectedCallback'](){const _0x5639c5=a0_0x4cd57;if(this[_0x5639c5(0x150)]){let {column:_0x3c8111=0x1}=this[_0x5639c5(0x150)];this[_0x5639c5(0x143)]=_0x3c8111;}await this[_0x5639c5(0x155)](),this[_0x5639c5(0x169)]&&await this[_0x5639c5(0x158)](),super[_0x5639c5(0x173)]&&await super[_0x5639c5(0x173)](),this[_0x5639c5(0x169)]&&await this['fetch'](),this[_0x5639c5(0x171)][_0x5639c5(0x170)](_0x5639c5(0x18a),_0xdad18e=>{const _0x153b3b=_0x5639c5;switch(_0xdad18e[_0x153b3b(0x142)]){case _0x153b3b(0x172):case _0x153b3b(0x18f):case _0x153b3b(0x145):this[_0x153b3b(0x157)](),this[_0x153b3b(0x174)]&&this['currentTarget'][_0x153b3b(0x17a)](_0x153b3b(0x149)),this[_0x153b3b(0x174)]=null;}}),this[_0x5639c5(0x171)][_0x5639c5(0x170)](_0x5639c5(0x164),_0x360aad=>{const _0x43bc98=_0x5639c5;_0x360aad['stopPropagation']();let _0x36be72=_0x360aad[_0x43bc98(0x15d)];if(this['currentTarget']&&(this[_0x43bc98(0x157)](),this[_0x43bc98(0x174)][_0x43bc98(0x17a)](_0x43bc98(0x149))),_0x43bc98(0x152)!==_0x36be72['tagName']||!_0x36be72['column'][_0x43bc98(0x18c)]['editable'])return this[_0x43bc98(0x157)](),void(this[_0x43bc98(0x174)]=null);this[_0x43bc98(0x174)]=_0x36be72,_0x36be72[_0x43bc98(0x16c)](_0x43bc98(0x149),_0x43bc98(0x163));}),this[_0x5639c5(0x170)](_0x5639c5(0x15b),_0x662b51=>{const _0x35a18a=_0x5639c5;var {after:_0x544369,before:_0xb82896,column:_0x579ef0,record:_0x54dd65,row:_0x480240}=_0x662b51[_0x35a18a(0x159)];if(ValueUtil[_0x35a18a(0x151)](_0x544369,_0xb82896))return;var _0x2b7621=_0x579ef0[_0x35a18a(0x18b)];if(_0x2b7621&&_0x35a18a(0x16d)==typeof _0x2b7621&&!_0x2b7621[_0x35a18a(0x166)](this,_0x544369,_0xb82896,_0x54dd65,_0x579ef0))return;let _0x3c5e1a=_0x579ef0[_0x35a18a(0x15f)];_0x54dd65[_0x3c5e1a]=_0x544369,_0x54dd65[_0x35a18a(0x188)]=_0x54dd65[_0x35a18a(0x188)]||{},_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a]={'before':_0x54dd65[_0x35a18a(0x18e)][_0x3c5e1a],'after':_0x54dd65[_0x3c5e1a]},ValueUtil[_0x35a18a(0x151)](_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a][_0x35a18a(0x14b)],_0x54dd65[_0x35a18a(0x188)][_0x3c5e1a][_0x35a18a(0x180)])&&delete _0x54dd65[_0x35a18a(0x188)][_0x3c5e1a],ValueUtil[_0x35a18a(0x15c)](_0x54dd65[_0x35a18a(0x188)])?_0x54dd65[_0x35a18a(0x181)]='M':_0x54dd65[_0x35a18a(0x181)]='',this[_0x35a18a(0x18c)]={..._0x54dd65};});}async[a0_0x4cd57(0x14e)](){const _0x46c193=a0_0x4cd57;super[_0x46c193(0x14e)]&&await super[_0x46c193(0x14e)]();}async[a0_0x4cd57(0x156)](){const _0xd6d5d3=a0_0x4cd57;this[_0xd6d5d3(0x184)]&&await this['parseFormConfigs'](),super['pageInitialized']&&await super[_0xd6d5d3(0x156)](),this[_0xd6d5d3(0x184)]&&await this[_0xd6d5d3(0x14a)]();}['render'](){const _0x1544a1=a0_0x4cd57;return MetaApi[_0x1544a1(0x153)](this);}[a0_0x4cd57(0x16e)](_0x4dbec0){const _0x3c30ce=a0_0x4cd57;this[_0x3c30ce(0x154)]=_0x4dbec0[_0x3c30ce(0x17c)],this[_0x3c30ce(0x161)]=_0x4dbec0[_0x3c30ce(0x17f)],_0x4dbec0[_0x3c30ce(0x182)]=_0x4dbec0[_0x3c30ce(0x182)]['filter'](_0x525b9c=>_0x3c30ce(0x146)==_0x525b9c[_0x3c30ce(0x15f)]);}async[a0_0x4cd57(0x158)](){const _0x1e493f=a0_0x4cd57;this[_0x1e493f(0x18d)]=await MetaApi[_0x1e493f(0x16f)](this);}get['orgData'](){const _0x7b7208=a0_0x4cd57;return this[_0x7b7208(0x178)](this[_0x7b7208(0x18c)][_0x7b7208(0x18e)]);}get[a0_0x4cd57(0x15a)](){const _0x5f7943=a0_0x4cd57;if(ValueUtil['isEmpty'](this[_0x5f7943(0x18c)][_0x5f7943(0x188)]))return{};let _0x144c86={};return Object['entries'](this['record'][_0x5f7943(0x188)])[_0x5f7943(0x187)](([_0x572625,_0x4fbff8])=>{const _0x39de82=_0x5f7943;0x0==_0x572625[_0x39de82(0x16a)]('__')&&(_0x144c86[_0x572625]=_0x4fbff8[_0x39de82(0x180)]);}),_0x144c86;}get[a0_0x4cd57(0x186)](){const _0x482ce6=a0_0x4cd57;return this['removeGarbageData'](this[_0x482ce6(0x18c)]);}[a0_0x4cd57(0x178)](_0x18ea11){const _0x2b634b=a0_0x4cd57;let _0x9602fb={};return Object[_0x2b634b(0x141)](_0x18ea11)['map'](([_0x473487,_0x15a676])=>{0x0==_0x473487['startsWith']('__')&&(_0x9602fb[_0x473487]=_0x15a676);}),_0x9602fb;}get[a0_0x4cd57(0x175)](){const _0x3f7624=a0_0x4cd57;let _0x51862d=this[_0x3f7624(0x15a)],_0x2342ed=this[_0x3f7624(0x18c)];return ValueUtil[_0x3f7624(0x14d)](_0x51862d)?[]:(ValueUtil[_0x3f7624(0x15c)](_0x2342ed['id'])?(_0x51862d['id']=_0x2342ed['id'],_0x51862d[_0x3f7624(0x176)]='M'):_0x51862d[_0x3f7624(0x176)]='+',Object[_0x3f7624(0x15e)](_0x51862d)['forEach'](_0x291abf=>{const _0x33b36e=_0x3f7624;_0x33b36e(0x148)==typeof _0x51862d[_0x291abf]&&(_0x51862d[_0x291abf]={'id':_0x51862d[_0x291abf]['id']});}),[_0x51862d]);}async[a0_0x4cd57(0x14a)](){const _0x5d676e=a0_0x4cd57;if(ValueUtil[_0x5d676e(0x14d)](this[_0x5d676e(0x167)]))return;let _0xdd759b=await this['findOne'](this[_0x5d676e(0x167)]);_0xdd759b[_0x5d676e(0x165)]=0x1;let _0xe276b2={};Object['assign'](_0xe276b2,_0xdd759b),_0xdd759b[_0x5d676e(0x18e)]=_0xe276b2,this[_0x5d676e(0x18c)]={..._0xdd759b};}async[a0_0x4cd57(0x146)](){const _0x5b0860=a0_0x4cd57;let _0x7c00=this[_0x5b0860(0x175)];if(ValueUtil['isEmpty'](_0x7c00))return void MetaApi['showAlertPopup'](_0x5b0860(0x14c),'text.NOTHING_CHANGED');let _0x11322d=await this[_0x5b0860(0x168)](_0x7c00);return _0x11322d&&await this[_0x5b0860(0x14a)](),_0x11322d;}async[a0_0x4cd57(0x177)](){const _0x3a9a07=a0_0x4cd57;this[_0x3a9a07(0x18c)]&&(this[_0x3a9a07(0x18c)]={});}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3ce2f5=a0_0x26fb;(function(_0x2b6355,_0x3fb4fe){const _0x433834=a0_0x26fb,_0x9820ca=_0x2b6355();while(!![]){try{const _0xc12910=-parseInt(_0x433834(0x1fb))/0x1*(-parseInt(_0x433834(0x211))/0x2)+-parseInt(_0x433834(0x1ed))/0x3+-parseInt(_0x433834(0x1f3))/0x4*(parseInt(_0x433834(0x22e))/0x5)+-parseInt(_0x433834(0x230))/0x6*(-parseInt(_0x433834(0x217))/0x7)+parseInt(_0x433834(0x1fc))/0x8*(-parseInt(_0x433834(0x1f2))/0x9)+-parseInt(_0x433834(0x21b))/0xa+parseInt(_0x433834(0x223))/0xb*(parseInt(_0x433834(0x224))/0xc);if(_0xc12910===_0x3fb4fe)break;else _0x9820ca['push'](_0x9820ca['shift']());}catch(_0x44a96c){_0x9820ca['push'](_0x9820ca['shift']());}}}(a0_0x7161,0x74aea));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_0x26fb(_0x1f1ed9,_0x3dfc9a){const _0x7161fa=a0_0x7161();return a0_0x26fb=function(_0x26fb32,_0x25cb75){_0x26fb32=_0x26fb32-0x1ec;let _0x452e81=_0x7161fa[_0x26fb32];return _0x452e81;},a0_0x26fb(_0x1f1ed9,_0x3dfc9a);}import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x7161(){const _0x52d894=['grist','render','connectedCallback','fetch','export','grid_column','importable','417626jTmEWq','192bRwZGn','gridColumnConfig','parseGridConfigSet','filter','search','find','operator','options','useFilterForm','findOne','7195PMTlvX','firstUpdated','5282148gyUTcW','isNotEmpty','1262745TYdIxW','tTitle','isPage','save','delete','27eYizMH','492zzKlxb','deleteByIds','header','columns','getGristTabHtml','shadowRoot','exportableData','gristId','123309dLunQY','1307272wThtSK','parseGristConfigs','name','meta-tab-element','grid','filterForm','clear','record','querySelector','searchFields','ox-grist','properties','styles','menuInfo','isElement','actions','getAndParseMenuMeta','renderRoot','useMasterFilterForm','map','exportable','6hDvFbv','filterFormId','beforeFetch','getBasicGristTabStyles','title','parseBasicGridConfigs','7RquBKM','gristConfigSet','searchConfig','getSelectedIdList','2916720aiyNdG'];a0_0x7161=function(){return _0x52d894;};return a0_0x7161();}export const MetaGristTabMixin=_0x31887f=>class extends MetaButtonMixin(_0x31887f){static get[a0_0x3ce2f5(0x208)](){const _0x372015=a0_0x3ce2f5;return MetaApi[_0x372015(0x214)]();}static get[a0_0x3ce2f5(0x207)](){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_0x3ce2f5(0x21c)](){const _0x1a500e=a0_0x3ce2f5;return this[_0x1a500e(0x20d)][_0x1a500e(0x204)](this[_0x1a500e(0x1fa)]);}get[a0_0x3ce2f5(0x201)](){const _0x4391d8=a0_0x3ce2f5;return this[_0x4391d8(0x1f8)]?.['querySelector'](this[_0x4391d8(0x212)]);}get['context'](){const _0x45597f=a0_0x3ce2f5;let _0x577765=MetaUiUtil['getContextObject'](this);return _0x577765[_0x45597f(0x20b)]&&delete _0x577765['actions'],_0x577765[_0x45597f(0x210)]&&delete _0x577765[_0x45597f(0x210)],_0x577765[_0x45597f(0x222)]&&delete _0x577765[_0x45597f(0x222)],_0x577765;}async[a0_0x3ce2f5(0x21e)](){const _0x5c4755=a0_0x3ce2f5;this['gristId']=_0x5c4755(0x206),this[_0x5c4755(0x212)]='ox-filters-form-base',await this[_0x5c4755(0x20c)](),this['isElement']&&await this[_0x5c4755(0x1fd)](),super[_0x5c4755(0x21e)]&&await super['connectedCallback']();}async['firstUpdated'](){const _0x179456=a0_0x3ce2f5;super[_0x179456(0x22f)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x2a72f3=a0_0x3ce2f5;this[_0x2a72f3(0x1ef)]&&await this[_0x2a72f3(0x1fd)](),super['pageInitialized']&&await super['pageInitialized']();}[a0_0x3ce2f5(0x21d)](){const _0x2457fa=a0_0x3ce2f5;return MetaApi[_0x2457fa(0x1f7)](this);}[a0_0x3ce2f5(0x216)](_0x2b461d){const _0x1b5ecc=a0_0x3ce2f5;this['gridConfig']=_0x2b461d[_0x1b5ecc(0x200)],this[_0x1b5ecc(0x225)]=_0x2b461d[_0x1b5ecc(0x221)],this[_0x1b5ecc(0x219)]=_0x2b461d[_0x1b5ecc(0x228)];}async['parseGristConfigs'](){const _0xb9fcc=a0_0x3ce2f5;this[_0xb9fcc(0x218)]=await MetaApi[_0xb9fcc(0x226)](this),this[_0xb9fcc(0x20e)]=this['useFilterForm'],this[_0xb9fcc(0x22c)]=!0x1,this[_0xb9fcc(0x205)]=this['gristConfigSet'][_0xb9fcc(0x1f6)][_0xb9fcc(0x227)](_0x257a20=>_0x257a20[_0xb9fcc(0x227)])[_0xb9fcc(0x20f)](_0x193b88=>{const _0x473afe=_0xb9fcc;let _0x1f6106={'name':_0x193b88[_0x473afe(0x1fe)],'type':_0x193b88['type'],'label':_0x193b88[_0x473afe(0x1f5)],'operator':_0x193b88[_0x473afe(0x227)]['operator']?_0x193b88[_0x473afe(0x227)][_0x473afe(0x22a)]:'eq'};return _0x193b88[_0x473afe(0x203)][_0x473afe(0x22b)]&&(_0x1f6106[_0x473afe(0x22b)]=_0x193b88[_0x473afe(0x203)][_0x473afe(0x22b)]),_0x1f6106;});}async[a0_0x3ce2f5(0x21f)](){const _0x2994c4=a0_0x3ce2f5;await this[_0x2994c4(0x21c)][_0x2994c4(0x21f)]();}async[a0_0x3ce2f5(0x213)]({page:_0x17b4c7=0x0,limit:_0x264dd1=0x0,sortings:_0x9406f9=[],filters:_0x35fbaa=[]}){const _0x868328=a0_0x3ce2f5;let _0x525b26=this[_0x868328(0x20d)][_0x868328(0x204)](_0x868328(0x1ff));return await _0x525b26[_0x868328(0x202)](),!0x0;}async[a0_0x3ce2f5(0x1f0)](){const _0x8ad683=a0_0x3ce2f5;let _0x668c17=MetaApi['patchesForUpdateMultiple'](this['grist']);!!ValueUtil[_0x8ad683(0x1ec)](_0x668c17)&&await this['updateMultiple'](_0x668c17)&&this[_0x8ad683(0x21f)]();}async[a0_0x3ce2f5(0x229)](){const _0x25e287=a0_0x3ce2f5;let _0x57cc10=MetaApi[_0x25e287(0x21a)](this[_0x25e287(0x21c)],!0x0);return ValueUtil[_0x25e287(0x1ec)](_0x57cc10)?await this[_0x25e287(0x22d)](_0x57cc10[0x0]):{};}async[a0_0x3ce2f5(0x1f1)](){const _0x227d63=a0_0x3ce2f5;let _0x25d7d0=MetaApi[_0x227d63(0x21a)](this[_0x227d63(0x21c)],!0x0);!!ValueUtil[_0x227d63(0x1ec)](_0x25d7d0)&&await this[_0x227d63(0x1f4)](_0x25d7d0)&&this[_0x227d63(0x21f)]();}async[a0_0x3ce2f5(0x220)](){const _0x2bba33=a0_0x3ce2f5;let _0x47ef3b=TermsUtil[_0x2bba33(0x1ee)](ValueUtil['getParams'](this[_0x2bba33(0x209)],_0x2bba33(0x215)));return await MetaApi[_0x2bba33(0x1f9)](this[_0x2bba33(0x20a)],_0x47ef3b,this['grist']);}async['import'](){}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x11c145=a0_0x32c5;(function(_0x58270b,_0x326678){const _0x3ad7ce=a0_0x32c5,_0x40226b=_0x58270b();while(!![]){try{const _0x4741ec=-parseInt(_0x3ad7ce(0x102))/0x1*(parseInt(_0x3ad7ce(0xd9))/0x2)+-parseInt(_0x3ad7ce(0x10d))/0x3+-parseInt(_0x3ad7ce(0xd8))/0x4+parseInt(_0x3ad7ce(0xfe))/0x5*(parseInt(_0x3ad7ce(0xd2))/0x6)+-parseInt(_0x3ad7ce(0xe2))/0x7*(parseInt(_0x3ad7ce(0xdd))/0x8)+parseInt(_0x3ad7ce(0x10f))/0x9*(parseInt(_0x3ad7ce(0x110))/0xa)+parseInt(_0x3ad7ce(0xfd))/0xb;if(_0x4741ec===_0x326678)break;else _0x40226b['push'](_0x40226b['shift']());}catch(_0xddde2e){_0x40226b['push'](_0x40226b['shift']());}}}(a0_0x26df,0xa1a34));import{html}from'lit';import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x26df(){const _0x21eb30=['4615580zGkzqH','118JEvtdG','context','getSelectedIdList','isNotEmpty','224232TggRBb','header','useMasterFilterForm','importable','\x20id=\x22','49MzFZtv','ox-filters-form-base','grid','isElement','fetch','exportableData','getBasicMasterDetailStyles','searchFields','title','querySelector','connectedCallback','gristConfigSet','search','find','createDetailElement','grist','actions','gridConfig','operator','searchConfig','shadowRoot','record','parseGristConfigs','filterForm','exportable','firstUpdated','detail','24779590AVOHtn','5zKuHYi','deleteByIds','renderRoot','isPage','9365WipHfm','getAndParseMenuMeta','properties','updateMultiple','routing','patchesForUpdateMultiple','map','\x22\x20is_detail=true\x20style=\x22flex:1;\x22></','import','filterFormId','filter','607410IkiKkf','delete','468306TEjACO','10UWKqMW','export','useFilterForm','clear','gristId','tTitle','columns','tagname','getMasterDetailHtml','detailElement','pageInitialized','findOne','gridColumnConfig','2774682sqdTYc','options','\x22\x20name=\x22','ox-grist','name','grid_column'];a0_0x26df=function(){return _0x21eb30;};return a0_0x26df();}import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';function a0_0x32c5(_0x56ae52,_0x3d3dd8){const _0x26dfdd=a0_0x26df();return a0_0x32c5=function(_0x32c51b,_0x20e706){_0x32c51b=_0x32c51b-0xc7;let _0x31aab7=_0x26dfdd[_0x32c51b];return _0x31aab7;},a0_0x32c5(_0x56ae52,_0x3d3dd8);}export const MetaMasterDetailMixin=_0x1bb320=>class extends MetaButtonMixin(_0x1bb320){static get['styles'](){const _0x500abd=a0_0x32c5;return MetaApi[_0x500abd(0xe8)]();}static get[a0_0x11c145(0x104)](){return{'gridConfig':Object,'gridColumnConfig':Array,'searchConfig':Array,'searchFormElement':String,'gristConfigSet':Object,'useFilterForm':Boolean,'gridMobileMode':String,'gridDeskMode':String,'gridViewOptions':Array,'gridMode':String,'infinityPage':Boolean,'gristId':String,'filterFormId':String,'detailElement':Object};}get[a0_0x11c145(0xf1)](){const _0x1a8f05=a0_0x11c145;return this[_0x1a8f05(0x100)]['querySelector'](this[_0x1a8f05(0xc9)]);}get[a0_0x11c145(0xf9)](){const _0x1edf66=a0_0x11c145;return this[_0x1edf66(0xf6)]?.[_0x1edf66(0xeb)](this[_0x1edf66(0x10b)]);}get[a0_0x11c145(0xda)](){const _0x4adc1f=a0_0x11c145;let _0xda1ef9=MetaUiUtil['getContextObject'](this);return _0xda1ef9[_0x4adc1f(0xf2)]&&delete _0xda1ef9['actions'],_0xda1ef9[_0x4adc1f(0xfa)]&&delete _0xda1ef9[_0x4adc1f(0xfa)],_0xda1ef9[_0x4adc1f(0xe0)]&&delete _0xda1ef9['importable'],_0xda1ef9;}async['connectedCallback'](){const _0x32f3ab=a0_0x11c145;this[_0x32f3ab(0xc9)]=_0x32f3ab(0xd5),this[_0x32f3ab(0x10b)]=_0x32f3ab(0xe3),await this[_0x32f3ab(0x103)](),this['isElement']&&await this['parseGristConfigs'](),super['connectedCallback']&&await super[_0x32f3ab(0xec)]();}async['firstUpdated'](){const _0x3acfcc=a0_0x11c145;super[_0x3acfcc(0xfb)]&&await super['firstUpdated']();}async[a0_0x11c145(0xcf)](){const _0x46497d=a0_0x11c145;this[_0x46497d(0x101)]&&await this['parseGristConfigs'](),super['pageInitialized']&&await super[_0x46497d(0xcf)]();}['render'](){const _0x36f95c=a0_0x11c145;return MetaApi[_0x36f95c(0xcd)](this);}[a0_0x11c145(0xf0)](_0x46873d){const _0x86f316=a0_0x11c145;if(!this['detailElement']){let _0x2edaa4=_0x46873d[_0x86f316(0xd6)]?_0x46873d[_0x86f316(0xd6)]:_0x86f316(0xfc),_0x5109eb='<'+_0x46873d[_0x86f316(0xcc)]+_0x86f316(0xe1)+_0x2edaa4+_0x86f316(0xd4)+_0x2edaa4+'\x22\x20route_name=\x22'+_0x46873d[_0x86f316(0x106)]+_0x86f316(0x109)+_0x46873d[_0x86f316(0xcc)]+'>';this[_0x86f316(0xce)]=UiUtil['htmlToElement'](_0x5109eb);}}['parseBasicGridConfigs'](_0x947f08){const _0x4b451a=a0_0x11c145;this[_0x4b451a(0xf3)]=_0x947f08[_0x4b451a(0xe4)],this[_0x4b451a(0xd1)]=_0x947f08[_0x4b451a(0xd7)],this[_0x4b451a(0xf5)]=_0x947f08[_0x4b451a(0xee)];}async[a0_0x11c145(0xf8)](){const _0x149a22=a0_0x11c145;this['gristConfigSet']=await MetaApi['parseGridConfigSet'](this),this[_0x149a22(0xdf)]=this[_0x149a22(0xc7)],this[_0x149a22(0xc7)]=!0x1,this[_0x149a22(0xe9)]=this[_0x149a22(0xed)][_0x149a22(0xcb)][_0x149a22(0x10c)](_0x1c3903=>_0x1c3903[_0x149a22(0x10c)])[_0x149a22(0x108)](_0x1bf1c4=>{const _0x356db3=_0x149a22;let _0x3fb059={'name':_0x1bf1c4[_0x356db3(0xd6)],'type':_0x1bf1c4['type'],'label':_0x1bf1c4[_0x356db3(0xde)],'operator':_0x1bf1c4[_0x356db3(0x10c)][_0x356db3(0xf4)]?_0x1bf1c4[_0x356db3(0x10c)][_0x356db3(0xf4)]:'eq'};return _0x1bf1c4[_0x356db3(0xf7)][_0x356db3(0xd3)]&&(_0x3fb059[_0x356db3(0xd3)]=_0x1bf1c4[_0x356db3(0xf7)][_0x356db3(0xd3)]),_0x3fb059;});}async['fetch'](){const _0x13d379=a0_0x11c145;await this['grist'][_0x13d379(0xe6)]();}async['beforeFetch']({page:_0x383bb7=0x0,limit:_0x2d0aa2=0x0,sortings:_0x169e48=[],filters:_0x25aa4d=[]}){const _0xbb2bec=a0_0x11c145;return this['detailElement']&&this[_0xbb2bec(0xce)][_0xbb2bec(0xc8)]&&await this['detailElement'][_0xbb2bec(0xc8)](),!0x0;}async['save'](){const _0x5c38eb=a0_0x11c145;let _0xcc6ed7=MetaApi[_0x5c38eb(0x107)](this[_0x5c38eb(0xf1)]);!!ValueUtil[_0x5c38eb(0xdc)](_0xcc6ed7)&&await this[_0x5c38eb(0x105)](_0xcc6ed7)&&this[_0x5c38eb(0xe6)]();}async[a0_0x11c145(0xef)](){const _0x2741cc=a0_0x11c145;let _0x5d7ac4=MetaApi['getSelectedIdList'](this[_0x2741cc(0xf1)],!0x0);return ValueUtil['isNotEmpty'](_0x5d7ac4)?await this[_0x2741cc(0xd0)](_0x5d7ac4[0x0]):{};}async[a0_0x11c145(0x10e)](){const _0x5172c5=a0_0x11c145;let _0x38c9a1=MetaApi[_0x5172c5(0xdb)](this[_0x5172c5(0xf1)],!0x0);!!ValueUtil[_0x5172c5(0xdc)](_0x38c9a1)&&await this[_0x5172c5(0xff)](_0x38c9a1)&&this[_0x5172c5(0xe6)]();}async[a0_0x11c145(0x111)](){const _0xc9129b=a0_0x11c145;let _0x5c7ec5=TermsUtil[_0xc9129b(0xca)](ValueUtil['getParams'](this['menuInfo'],_0xc9129b(0xea)));return await MetaApi[_0xc9129b(0xe7)](this[_0xc9129b(0xe5)],_0x5c7ec5,this[_0xc9129b(0xf1)]);}async[a0_0x11c145(0x10a)](){}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2d4e44=a0_0x2957;(function(_0x86f08a,_0x1077df){const _0x2fdf77=a0_0x2957,_0x17b28a=_0x86f08a();while(!![]){try{const _0x1e7722=-parseInt(_0x2fdf77(0x11e))/0x1+-parseInt(_0x2fdf77(0x127))/0x2+-parseInt(_0x2fdf77(0xf2))/0x3*(-parseInt(_0x2fdf77(0x11a))/0x4)+parseInt(_0x2fdf77(0xf3))/0x5*(-parseInt(_0x2fdf77(0x120))/0x6)+parseInt(_0x2fdf77(0xff))/0x7+parseInt(_0x2fdf77(0x104))/0x8*(parseInt(_0x2fdf77(0xfb))/0x9)+parseInt(_0x2fdf77(0xf4))/0xa*(parseInt(_0x2fdf77(0x102))/0xb);if(_0x1e7722===_0x1077df)break;else _0x17b28a['push'](_0x17b28a['shift']());}catch(_0x4303b8){_0x17b28a['push'](_0x17b28a['shift']());}}}(a0_0x2095,0xa5a0e));function a0_0x2957(_0x4039e7,_0x1b2937){const _0x209564=a0_0x2095();return a0_0x2957=function(_0x2957e7,_0x5036f8){_0x2957e7=_0x2957e7-0xf2;let _0x3d2ebf=_0x209564[_0x2957e7];return _0x3d2ebf;},a0_0x2957(_0x4039e7,_0x1b2937);}import{adjustFilters}from'@operato/utils';function a0_0x2095(){const _0x2f54f4=['length','filter','beforeFetch','map','1125wGhgtA','lifecycle','getQueryFilters','columns','1683878pRSjgr','parse','getPageNavigateParams','3113QQQCsP','fetchHandler','7848ZeDvtS','filters','includes','gqlInfo','updateMultiple','deleteByIds','afterFetch','getParams','parent_id','getSelectColumns','query','params','searchByPagination','isNotEmpty','name','forEach','gristConfigSet','split','records','pass','multiple','findOne','31604TJRBSR','isElement','after_set_fields','mutation','1342098WJInsV','deleteListByIds','5262GUeheM','push','isEmpty','func','keys','properties','find_one_func','2049792HGwACP','87knJfXu','1405CLzUqF','95390PrMvVK','value','list_func'];a0_0x2095=function(){return _0x2f54f4;};return a0_0x2095();}import{MetaBaseMixin}from'./meta-base-mixin';import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x565eab=>class extends MetaBaseMixin(_0x565eab){static get[a0_0x2d4e44(0x125)](){return{'gqlInfo':Object};}['parseBasicServiceConfigs'](_0x380811){const _0x1cdc6f=a0_0x2d4e44;this[_0x1cdc6f(0x107)]=_0x380811['gql'];}async[a0_0x2d4e44(0x103)]({page:_0x27d094=0x0,limit:_0x40ce82=0x0,sortings:_0x22bca8=[],filters:_0x3107fc=[]}){const _0x3e163a=a0_0x2d4e44;if(this[_0x3e163a(0xf9)]&&0x0==await this['beforeFetch']({'page':_0x27d094,'limit':_0x40ce82,'sortings':_0x22bca8,'filters':_0x3107fc}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x158de0=ValueUtil[_0x3e163a(0x122)](_0x3107fc)?await this['filterForm']?.[_0x3e163a(0xfd)]()||[]:_0x3107fc,_0xb63fd5=ValueUtil[_0x3e163a(0x10b)](this[_0x3e163a(0x107)],_0x3e163a(0x10e),_0x3e163a(0xf6)),_0x2699cf=ValueUtil[_0x3e163a(0x10b)](this[_0x3e163a(0x107)],_0x3e163a(0x10e),_0x3e163a(0x105)),_0x43cb43=ValueUtil['getParams'](this[_0x3e163a(0x107)],'query',_0x3e163a(0x11c));if(ValueUtil['isNotEmpty'](_0x2699cf)&&(_0x158de0=adjustFilters(_0x158de0,_0x2699cf)),_0x158de0['push'](...this[_0x3e163a(0x101)]()),this[_0x3e163a(0x11b)]){let _0x1aeea9=ValueUtil[_0x3e163a(0x10b)](this['gqlInfo'],_0x3e163a(0x10e),_0x3e163a(0x10c));ValueUtil[_0x3e163a(0x111)](_0x1aeea9)&&ValueUtil['isNotEmpty'](this[_0x3e163a(0x10c)])&&(_0x158de0=adjustFilters(_0x158de0,[{'name':_0x1aeea9,'operator':'eq','value':this[_0x3e163a(0x10c)]}]));}let _0x2ec30f=Object[_0x3e163a(0x124)](_0x43cb43||{}),_0x17b628=MetaApi[_0x3e163a(0x10d)](this[_0x3e163a(0x114)][_0x3e163a(0xfe)][_0x3e163a(0xf8)](_0x117386=>!_0x2ec30f['includes'](_0x117386['name']))),_0x347189=await MetaApi[_0x3e163a(0x110)](_0xb63fd5,_0x158de0,_0x22bca8,_0x27d094,_0x40ce82,_0x17b628);if(this[_0x3e163a(0x10a)]){let _0x52395d=await this['afterFetch']({'page':_0x27d094,'limit':_0x40ce82,'sortings':_0x22bca8,'filters':_0x3107fc},_0x347189);if(_0x52395d)return _0x52395d;}return ValueUtil[_0x3e163a(0x111)](_0x43cb43)&&ValueUtil[_0x3e163a(0x111)](_0x347189)&&ValueUtil['isNotEmpty'](_0x347189['records'])&&_0x347189[_0x3e163a(0x116)][_0x3e163a(0xfa)](_0x1ef412=>(_0x2ec30f[_0x3e163a(0x113)](_0x4181d1=>{const _0x133b9e=_0x3e163a;_0x1ef412[_0x4181d1]=ValueUtil[_0x133b9e(0x10b)](_0x1ef412,..._0x43cb43[_0x4181d1][_0x133b9e(0x115)]('.'));}),_0x1ef412)),_0x347189;}[a0_0x2d4e44(0x101)](){const _0x5bb4c9=a0_0x2d4e44;if(0x0==this['isPage'])return[];let _0x285f54=this[_0x5bb4c9(0xfc)]?.[_0x5bb4c9(0x10f)]?this[_0x5bb4c9(0xfc)][_0x5bb4c9(0x10f)]:{};if(!_0x285f54['pass'])return[];let _0x59db22=_0x285f54[_0x5bb4c9(0x117)],_0x9f8d04=JSON[_0x5bb4c9(0x100)](_0x59db22),_0xcbe2ef=0x1==_0x9f8d04['length']?'eq':'in',_0x37e7e7={},_0x5f56e8=[];return Object[_0x5bb4c9(0x124)](_0x9f8d04[0x0])[_0x5bb4c9(0x113)](_0xc4b1a6=>{_0x37e7e7[_0xc4b1a6]={'name':_0xc4b1a6,'operator':_0xcbe2ef,'value':'eq'===_0xcbe2ef?_0x9f8d04[0x0][_0xc4b1a6]:[]};}),_0x9f8d04[_0x5bb4c9(0xf7)]>0x1&&_0x9f8d04[_0x5bb4c9(0x113)](_0x1135f2=>{const _0x579fb1=_0x5bb4c9;Object[_0x579fb1(0x124)](_0x1135f2)[_0x579fb1(0x113)](_0x38f7f2=>{const _0x533f6f=_0x579fb1;_0x37e7e7[_0x38f7f2][_0x533f6f(0xf5)][_0x533f6f(0x121)](_0x1135f2[_0x38f7f2]);});}),Object['keys'](_0x37e7e7)[_0x5bb4c9(0x113)](_0x5c312f=>{const _0x26648b=_0x5bb4c9;_0x5f56e8[_0x26648b(0x121)](_0x37e7e7[_0x5c312f]);}),_0x5f56e8;}async[a0_0x2d4e44(0x119)](_0x26ff35){const _0x38c9f4=a0_0x2d4e44;let _0x2355b5=ValueUtil[_0x38c9f4(0x10b)](this[_0x38c9f4(0x107)],'query',_0x38c9f4(0x126)),_0x3862ce=ValueUtil[_0x38c9f4(0x10b)](this[_0x38c9f4(0x107)],_0x38c9f4(0x10e),_0x38c9f4(0x11c)),_0xdf23ea=Object['keys'](_0x3862ce||{}),_0x2a0f9d=MetaApi[_0x38c9f4(0x10d)]((this['gristConfigSet']?this[_0x38c9f4(0x114)]:{'columns':this['formConfigSet']})['columns'][_0x38c9f4(0xf8)](_0x3850c9=>!_0xdf23ea['includes'](_0x3850c9[_0x38c9f4(0x112)]))),_0x16c57a=await MetaApi[_0x38c9f4(0x119)](_0x2355b5,_0x26ff35,_0x2a0f9d);return ValueUtil[_0x38c9f4(0x111)](_0x3862ce)&&ValueUtil[_0x38c9f4(0x111)](_0x16c57a)&&_0xdf23ea[_0x38c9f4(0x113)](_0x1c2183=>{const _0x3b2f8e=_0x38c9f4;_0x16c57a[_0x1c2183]=ValueUtil[_0x3b2f8e(0x10b)](_0x16c57a,..._0x3862ce[_0x1c2183][_0x3b2f8e(0x115)]('.'));}),_0x16c57a;}async[a0_0x2d4e44(0x109)](_0x1d141a){const _0x561df7=a0_0x2d4e44;let _0xc76f44=ValueUtil[_0x561df7(0x10b)](this[_0x561df7(0x107)],_0x561df7(0x11d),'delete',_0x561df7(0x123));return await MetaApi[_0x561df7(0x11f)](_0x1d141a,_0xc76f44);}async[a0_0x2d4e44(0x108)](_0x2f300d){const _0x4df078=a0_0x2d4e44;let _0x1a5b41=ValueUtil[_0x4df078(0x10b)](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),_0x4df078(0x123)),_0x2a5cee=ValueUtil[_0x4df078(0x10b)](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),'skip_fields');if(ValueUtil[_0x4df078(0x111)](_0x2a5cee)&&(_0x2a5cee=_0x2a5cee[_0x4df078(0xfa)](_0x8fc37a=>_0x8fc37a[_0x4df078(0x106)]('.')?_0x8fc37a['split']('.'):_0x8fc37a),_0x2f300d=_0x2f300d[_0x4df078(0xfa)](_0x56f543=>(_0x2a5cee[_0x4df078(0x113)](_0x79a722=>{Array['isArray'](_0x79a722)?delete _0x56f543[_0x79a722[0x0]][_0x79a722[0x1]]:delete _0x56f543[_0x79a722];}),_0x56f543))),this['isElement']&&ValueUtil[_0x4df078(0x111)](this[_0x4df078(0x10c)])){let _0x56a9bc=ValueUtil['getParams'](this[_0x4df078(0x107)],_0x4df078(0x11d),_0x4df078(0x118),_0x4df078(0x10c));ValueUtil[_0x4df078(0x111)](_0x56a9bc)&&_0x2f300d['forEach'](_0x13ff75=>{const _0x451bbe=_0x4df078;if(_0x56a9bc[_0x451bbe(0x106)]('.')){let _0x5da4a0=_0x56a9bc['split']('.');_0x13ff75[_0x5da4a0[0x0]]={},_0x13ff75[_0x5da4a0[0x0]][_0x5da4a0[0x1]]=this[_0x451bbe(0x10c)];}else _0x13ff75[_0x56a9bc]=this[_0x451bbe(0x10c)];});}return await MetaApi[_0x4df078(0x108)](_0x1a5b41,_0x2f300d);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x437ea8=a0_0x3b2e;(function(_0x4ac244,_0xeee98d){const _0x14e2e3=a0_0x3b2e,_0xd10ab1=_0x4ac244();while(!![]){try{const _0x151a9f=parseInt(_0x14e2e3(0x1ba))/0x1*(parseInt(_0x14e2e3(0x1a8))/0x2)+-parseInt(_0x14e2e3(0x1b6))/0x3+-parseInt(_0x14e2e3(0x1ad))/0x4+-parseInt(_0x14e2e3(0x1b1))/0x5*(parseInt(_0x14e2e3(0x1ab))/0x6)+-parseInt(_0x14e2e3(0x1af))/0x7+parseInt(_0x14e2e3(0x1b2))/0x8*(parseInt(_0x14e2e3(0x1a4))/0x9)+parseInt(_0x14e2e3(0x1b8))/0xa;if(_0x151a9f===_0xeee98d)break;else _0xd10ab1['push'](_0xd10ab1['shift']());}catch(_0x40d683){_0xd10ab1['push'](_0xd10ab1['shift']());}}}(a0_0x1602,0xdc1b2));import{MetaApi}from'../utils/meta-api';function a0_0x1602(){const _0x3422b8=['67356StXnFu','getBasicTabStyles','10975118oBhuqo','properties','45mMfWFc','304KpXTqg','tabElements','currentTabKey','getBasicTabHtml','1966602gQxQjd','context','26101600mWuWOZ','firstUpdated','46302SeWAws','connectedCallback','clear','getAndParseMenuMeta','255861rmQsgi','parseBasicTabConfigs','pageInitialized','render','26LRARKO','keys','tab','767058RoPNMO','styles'];a0_0x1602=function(){return _0x3422b8;};return a0_0x1602();}import{MetaUiUtil}from'../utils/meta-ui-util';function a0_0x3b2e(_0x335547,_0x6da9f1){const _0x16023f=a0_0x1602();return a0_0x3b2e=function(_0x3b2ee9,_0x22dae8){_0x3b2ee9=_0x3b2ee9-0x1a4;let _0x3be297=_0x16023f[_0x3b2ee9];return _0x3be297;},a0_0x3b2e(_0x335547,_0x6da9f1);}import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x10d77d=>class extends MetaButtonMixin(_0x10d77d){static get[a0_0x437ea8(0x1ac)](){const _0x1d2066=a0_0x437ea8;return MetaApi[_0x1d2066(0x1ae)]();}static get[a0_0x437ea8(0x1b0)](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get[a0_0x437ea8(0x1b7)](){return MetaUiUtil['getContextObject'](this);}async['connectedCallback'](){const _0x32e167=a0_0x437ea8;this[_0x32e167(0x1b4)]=void 0x0,await this[_0x32e167(0x1bd)](),super['connectedCallback']&&await super[_0x32e167(0x1bb)]();}async[a0_0x437ea8(0x1b9)](){const _0x3d5657=a0_0x437ea8;super[_0x3d5657(0x1b9)]&&await super[_0x3d5657(0x1b9)]();}async[a0_0x437ea8(0x1a6)](){super['pageInitialized']&&await super['pageInitialized']();}[a0_0x437ea8(0x1a7)](){const _0x1ae397=a0_0x437ea8;return MetaApi[_0x1ae397(0x1b5)](this);}[a0_0x437ea8(0x1a5)](_0x3e1a4b){const _0x1a7c6f=a0_0x437ea8;this['tabRenderConfig']=_0x3e1a4b[_0x1a7c6f(0x1aa)],_0x3e1a4b['button']=[];}async[a0_0x437ea8(0x1bc)](){const _0xf1f0ba=a0_0x437ea8;if(this[_0xf1f0ba(0x1b3)]){let _0x296d1a=Object[_0xf1f0ba(0x1a9)](this['tabElements']);for(var _0x5dff6e=0x0;_0x5dff6e<_0x296d1a['length'];_0x5dff6e++)await this[_0xf1f0ba(0x1b3)][_0x296d1a[_0x5dff6e]]['clear']();}}};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var a0_0x569aa6=a0_0x1b0e;(function(_0x47edde,_0x2b7613){var _0x221993=a0_0x1b0e,_0x4b184c=_0x47edde();while(!![]){try{var _0x268001=parseInt(_0x221993(0x102))/0x1*(-parseInt(_0x221993(0x105))/0x2)+parseInt(_0x221993(0xfb))/0x3+parseInt(_0x221993(0xf9))/0x4*(-parseInt(_0x221993(0xfe))/0x5)+parseInt(_0x221993(0x104))/0x6+parseInt(_0x221993(0x10a))/0x7+parseInt(_0x221993(0x101))/0x8+parseInt(_0x221993(0xf7))/0x9*(-parseInt(_0x221993(0x109))/0xa);if(_0x268001===_0x2b7613)break;else _0x4b184c['push'](_0x4b184c['shift']());}catch(_0x564961){_0x4b184c['push'](_0x4b184c['shift']());}}}(a0_0x5cae,0xbc056));import{css,html}from'lit-element';function a0_0x5cae(){var _0x450d2d=['customElements','tText','95MomUvg','meta-activity-list-page','context','10666728itnqXh','398049ZojNYW','define','6554250bXICAD','4NsAWij','please\x20wait','render','styles','27135760LCDeQt','9510914YrjeKp','9XzAtKk','Loading\x20...','1928CXLzyQ','loading\x20page','1513644IELZII'];a0_0x5cae=function(){return _0x450d2d;};return a0_0x5cae();}function a0_0x1b0e(_0x370fda,_0x1d36d5){var _0x5cae9f=a0_0x5cae();return a0_0x1b0e=function(_0x1b0e8b,_0x1a053e){_0x1b0e8b=_0x1b0e8b-0xf7;var _0x2ec02b=_0x5cae9f[_0x1b0e8b];return _0x2ec02b;},a0_0x1b0e(_0x370fda,_0x1d36d5);}import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{TermsUtil}from'./../../utils/terms-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x569aa6(0x108)](){return[css`
|
|
2
|
+
:host {
|
|
3
|
+
display: block;
|
|
4
|
+
background-color: var(--main-section-background-color);
|
|
5
|
+
padding: var(--padding-wide);
|
|
6
|
+
overflow: auto;
|
|
7
|
+
}
|
|
8
|
+
h2 {
|
|
9
|
+
margin: var(--title-margin);
|
|
10
|
+
font: var(--title-font);
|
|
11
|
+
color: var(--title-text-color);
|
|
12
|
+
}
|
|
13
|
+
input {
|
|
14
|
+
display: block;
|
|
15
|
+
}
|
|
16
|
+
[page-description] {
|
|
17
|
+
margin: var(--page-description-margin);
|
|
18
|
+
font: var(--page-description-font);
|
|
19
|
+
color: var(--page-description-color);
|
|
20
|
+
}
|
|
21
|
+
[button-primary] {
|
|
22
|
+
background-color: var(--button-primary-background-color);
|
|
23
|
+
border: var(--button-border);
|
|
24
|
+
border-radius: var(--button-border-radius);
|
|
25
|
+
padding: var(--button-padding);
|
|
26
|
+
color: var(--button-primary-color);
|
|
27
|
+
font: var(--button-primary-font);
|
|
28
|
+
text-transform: var(--button-text-transform);
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
}
|
|
31
|
+
[button-primary]:hover {
|
|
32
|
+
background-color: var(--button-primary-active-background-color);
|
|
33
|
+
box-shadow: var(--button-active-box-shadow);
|
|
34
|
+
}
|
|
35
|
+
img {
|
|
36
|
+
max-width: 45%;
|
|
37
|
+
float: right;
|
|
38
|
+
}
|
|
39
|
+
@media screen and (max-width: 600px) {
|
|
40
|
+
img {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`];}get[a0_0x569aa6(0x100)](){var _0x1e162f=a0_0x569aa6;return{'title':_0x1e162f(0xf8),'actions':[]};}[a0_0x569aa6(0x107)](){var _0x1b2173=a0_0x569aa6;return html`
|
|
45
|
+
<h2>${TermsUtil[_0x1b2173(0xfd)](_0x1b2173(0xfa))}</h2>
|
|
46
|
+
<p page-description>
|
|
47
|
+
${TermsUtil[_0x1b2173(0xfd)](_0x1b2173(0x106))}
|
|
48
|
+
</p>
|
|
49
|
+
|
|
50
|
+
<img src="/assets/images/loading-page.png" />
|
|
51
|
+
`;}}window[a0_0x569aa6(0xfc)][a0_0x569aa6(0x103)](a0_0x569aa6(0xff),MetaActivityListPage);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x23794f,_0x2cb5ca){var _0x42e15b=a0_0x1835,_0x256add=_0x23794f();while(!![]){try{var _0x3be9a1=parseInt(_0x42e15b(0x12a))/0x1+-parseInt(_0x42e15b(0x129))/0x2+parseInt(_0x42e15b(0x127))/0x3+-parseInt(_0x42e15b(0x12d))/0x4+parseInt(_0x42e15b(0x128))/0x5*(-parseInt(_0x42e15b(0x12e))/0x6)+parseInt(_0x42e15b(0x12b))/0x7+parseInt(_0x42e15b(0x126))/0x8*(parseInt(_0x42e15b(0x12c))/0x9);if(_0x3be9a1===_0x2cb5ca)break;else _0x256add['push'](_0x256add['shift']());}catch(_0x12f70b){_0x256add['push'](_0x256add['shift']());}}}(a0_0x2033,0x29950));function a0_0x1835(_0x772f82,_0x2bac14){var _0x203354=a0_0x2033();return a0_0x1835=function(_0x1835dc,_0x497d2b){_0x1835dc=_0x1835dc-0x126;var _0x17cea2=_0x203354[_0x1835dc];return _0x17cea2;},a0_0x1835(_0x772f82,_0x2bac14);}import{LitElement}from'lit';import{i18next,localize}from'@operato/i18n';function a0_0x2033(){var _0x43a4d0=['658557hxOxUS','15yVKYlk','132746QPRDsK','243327WNNCXr','298130lmyciG','603lmfhrw','852780uGjOBG','234510nPCwLR','7368yvAguj'];a0_0x2033=function(){return _0x43a4d0;};return a0_0x2033();}import{MetaBasicGristMixin}from'./../../mixin/meta-basic-grist-mixin';export class MetaActivityViewerElement extends MetaBasicGristMixin(localize(i18next)(LitElement)){}customElements['define']('meta-activity-viewer-element',MetaActivityViewerElement);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a0_0x11c2(){const _0x8a8789=['log','menuRouting','4615331YIoPDi','input','meta-activity-writer-element','menu_routing','name','activity','properties','40746bPuuVJ','forEach','52EeZbJB','20188260CITqqp','activityId','38iJFQCH','1220wlzRWe','getActivity','query','description','define','model','270471UdKRtg','1396935XMXouo','88430FAJpeK','data','6801696mwUBUA','getMenuInfo'];a0_0x11c2=function(){return _0x8a8789;};return a0_0x11c2();}const a0_0x3aab23=a0_0x328a;(function(_0x51b1c0,_0x32589a){const _0x5306fc=a0_0x328a,_0x175bd5=_0x51b1c0();while(!![]){try{const _0x5e4314=parseInt(_0x5306fc(0x195))/0x1*(-parseInt(_0x5306fc(0x18c))/0x2)+parseInt(_0x5306fc(0x193))/0x3*(-parseInt(_0x5306fc(0x189))/0x4)+parseInt(_0x5306fc(0x18d))/0x5*(parseInt(_0x5306fc(0x187))/0x6)+-parseInt(_0x5306fc(0x180))/0x7+parseInt(_0x5306fc(0x197))/0x8+-parseInt(_0x5306fc(0x194))/0x9+parseInt(_0x5306fc(0x18a))/0xa;if(_0x5e4314===_0x32589a)break;else _0x175bd5['push'](_0x175bd5['shift']());}catch(_0x282a52){_0x175bd5['push'](_0x175bd5['shift']());}}}(a0_0x11c2,0xd1c93));import a0_0x3175dc from'graphql-tag';import{css,LitElement}from'lit';import{client}from'@operato/graphql';function a0_0x328a(_0x5ef4d8,_0x1ae90b){const _0x11c260=a0_0x11c2();return a0_0x328a=function(_0x328ab1,_0xf95152){_0x328ab1=_0x328ab1-0x17d;let _0x47fd2f=_0x11c260[_0x328ab1];return _0x47fd2f;},a0_0x328a(_0x5ef4d8,_0x1ae90b);}import{i18next,localize}from'@operato/i18n';import{MetaUiUtil}from'./../../utils/meta-ui-util';export class MetaActivityWriterElement extends localize(i18next)(LitElement){static get[a0_0x3aab23(0x186)](){return{'activityId':String,'input':Object,'output':Object};}async['connectedCallback'](){const _0xaef39d=a0_0x3aab23;console[_0xaef39d(0x17e)](_0xaef39d(0x18b),this['activityId']),console[_0xaef39d(0x17e)](_0xaef39d(0x181),this[_0xaef39d(0x181)]),console[_0xaef39d(0x17e)]('output',this['output']),await this['getActivity']();}async[a0_0x3aab23(0x18e)](){const _0x5cdc46=a0_0x3aab23,_0x1c32e3=await client[_0x5cdc46(0x18f)]({'query':a0_0x3175dc`
|
|
2
2
|
query activity($id: String!) {
|
|
3
3
|
activity(id: $id) {
|
|
4
4
|
id
|
|
@@ -16,4 +16,4 @@ const a0_0x37b2b0=a0_0x438c;(function(_0x3dadb9,_0x806614){const _0x265be1=a0_0x
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
`,'variables':{'id':this[
|
|
19
|
+
`,'variables':{'id':this[_0x5cdc46(0x18b)]}});this[_0x5cdc46(0x185)]=_0x1c32e3[_0x5cdc46(0x196)][_0x5cdc46(0x185)];let _0x5c1e3a='';this[_0x5cdc46(0x185)][_0x5cdc46(0x192)]?.[_0x5cdc46(0x188)](_0x456d21=>{const _0x26c9ff=_0x5cdc46;_0x26c9ff(0x183)==_0x456d21[_0x26c9ff(0x184)]&&(_0x5c1e3a=_0x456d21[_0x26c9ff(0x190)]);}),this[_0x5cdc46(0x17f)]=_0x5c1e3a,await this['getMenuInfo'](_0x5c1e3a);}async[a0_0x3aab23(0x17d)](_0x1d575d){const _0x355abd=a0_0x3aab23;let _0x450db1=await MetaUiUtil['findMenuMetaByRouting'](_0x1d575d);console[_0x355abd(0x17e)](_0x450db1);}}customElements[a0_0x3aab23(0x191)](a0_0x3aab23(0x182),MetaActivityWriterElement);
|