@things-factory/meta-ui 6.1.28 → 6.1.29
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 -3
- package/client/component/filter/filter-form-meta-code-select.js +10 -10
- package/client/component/filter/filter-form-meta-object-select.js +10 -10
- package/client/component/filter/filter-grist-meta-code-select.js +9 -9
- package/client/component/filter/filter-grist-meta-object-select.js +9 -9
- package/client/component/grist/editor/grist-editor-code-input.js +6 -6
- package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
- package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
- package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
- package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
- package/client/component/popup/code-input-editor-popup.js +10 -10
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- 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-main-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-detail-mixin.js +1 -1
- package/client/mixin/meta-tab-mixin.js +1 -1
- package/client/pages/activity/meta-activity-list-page.js +6 -6
- package/client/pages/activity/meta-activity-viewer-element.js +3 -3
- package/client/pages/activity/meta-activity-writer-element.js +3 -3
- package/client/pages/activity/meta-activiy-mixin.js +3 -3
- package/client/pages/entity/config-entity.js +29 -29
- 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 +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-element.js +1 -1
- package/client/pages/meta-grist-tab-page.js +1 -1
- package/client/pages/meta-main-tab-element.js +1 -1
- package/client/pages/meta-main-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-detail-element.js +1 -1
- package/client/pages/meta-tab-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/pages/work-code/work-code-detail-popup.js +1 -1
- package/client/pages/work-code/work-code-page.js +1 -1
- 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 +102 -102
- package/client/utils/service-util.js +13 -13
- 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 +2 -2
- package/client/viewparts/dynamic-menu-landscape.js +10 -10
- package/client/viewparts/dynamic-menu-part.js +11 -11
- package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
- package/client/viewparts/dynamic-menu-portrait.js +9 -9
- package/client/viewparts/dynamic-top-menu-bar.js +7 -7
- package/package.json +2 -2
- package/server/activity/CommonActivity.js +2 -2
- 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/entity-event-subscriber/entity-event-subscriber.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-activity/meta-activity-mutation.js +1 -1
- package/server/service/meta-activity/meta-activity-query.js +1 -1
- package/server/service/meta-activity/meta-activity-type.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/server/service/work-code/work-code-mutation.js +1 -1
- package/server/service/work-code/work-code-query.js +1 -1
- package/server/service/work-code/work-code-type.js +1 -1
- package/server/service/work-code/work-code.js +1 -1
- package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
- package/server/service/work-code-detail/work-code-detail-query.js +1 -1
- package/server/service/work-code-detail/work-code-detail-type.js +1 -1
- package/server/service/work-code-detail/work-code-detail.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a0_0x7266b7=a0_0x2ab2;(function(_0x385f12,_0x579a17){const _0x140c5c=a0_0x2ab2,_0x2e7f74=_0x385f12();while(!![]){try{const _0x1d85cc=-parseInt(_0x140c5c(0x17d))/0x1+-parseInt(_0x140c5c(0x17f))/0x2*(parseInt(_0x140c5c(0x183))/0x3)+parseInt(_0x140c5c(0x17e))/0x4*(parseInt(_0x140c5c(0x163))/0x5)+parseInt(_0x140c5c(0x169))/0x6+-parseInt(_0x140c5c(0x157))/0x7+-parseInt(_0x140c5c(0x180))/0x8+parseInt(_0x140c5c(0x159))/0x9*(parseInt(_0x140c5c(0x15d))/0xa);if(_0x1d85cc===_0x579a17)break;else _0x2e7f74['push'](_0x2e7f74['shift']());}catch(_0x18dc75){_0x2e7f74['push'](_0x2e7f74['shift']());}}}(a0_0x38a3,0x2904d));import{adjustFilters}from'@operato/utils';function a0_0x2ab2(_0x41bb1e,_0x48e01e){const _0x38a348=a0_0x38a3();return a0_0x2ab2=function(_0x2ab234,_0x1f8fed){_0x2ab234=_0x2ab234-0x146;let _0x232aca=_0x38a348[_0x2ab234];return _0x232aca;},a0_0x2ab2(_0x41bb1e,_0x48e01e);}import{MetaBaseMixin}from'./meta-base-mixin';function a0_0x38a3(){const _0x1af2a5=['dataSet','skip_fields','6AOAovS','map','isNotEmpty','mutation','searchByPagination','gristConfigSet','parent_id','filterForm','afterFetch','fetchHandler','isArray','gqlInfo','deleteByIds','getPageNavigateParams','replace','gql','parse','updateMultiple','1033298uffhHZ','after_set_fields','18NqGPVz','formConfigSet','delete','mainFilterForm','2447160gqefEU','query','records','getParams','filter','func','555650HkkWov','push','is_activity','multiple','lifecycle','keys','321318BYVbeq','name','params','columns','forEach','data','runScenario','length','infinityPage','pass','includes','list_func','findOne','getQueryFilters','getSelectColumns','deleteListByIds','split','parseBasicServiceConfigs','result','value','46652qINSFj','8oSlkQG','101914NAfMfA','2408416gAsucg'];a0_0x38a3=function(){return _0x1af2a5;};return a0_0x38a3();}import{MetaApi}from'./../utils/meta-api';import{ValueUtil}from'./../utils/value-util';export const MetaServiceMixin=_0x59ae72=>class extends MetaBaseMixin(_0x59ae72){static get['properties'](){return{'gqlInfo':Object};}[a0_0x7266b7(0x17a)](_0x4a7a54){const _0x360656=a0_0x7266b7;this[_0x360656(0x150)]=_0x4a7a54[_0x360656(0x154)];}async[a0_0x7266b7(0x14e)]({page:_0x541490=0x0,limit:_0x22760c=0x0,sortings:_0xcba15f=[],filters:_0x226e58=[]}){const _0x5f019f=a0_0x7266b7;if(this[_0x5f019f(0x165)])return{'total':0x0,'records':this[_0x5f019f(0x181)]||[]};if(!0x0===this[_0x5f019f(0x171)]&&(_0x541490=0x0,_0x22760c=0x0),this['beforeFetch']&&0x0==await this['beforeFetch']({'page':_0x541490,'limit':_0x22760c,'sortings':_0xcba15f,'filters':_0x226e58}))return;if(!this['gristConfigSet'])return{'total':0x0,'records':[]};let _0x1eb92a=ValueUtil['isEmpty'](_0x226e58)?this[_0x5f019f(0x15c)]?await this['mainFilterForm'][_0x5f019f(0x176)]()||[]:await this[_0x5f019f(0x14c)]?.['getQueryFilters']()||[]:_0x226e58,_0x5c481c=ValueUtil['getParams'](this['gqlInfo'],_0x5f019f(0x15e),_0x5f019f(0x174)),_0x431269=ValueUtil['getParams'](this['gqlInfo'],_0x5f019f(0x15e),'filters'),_0x56c2a4=ValueUtil[_0x5f019f(0x160)](this[_0x5f019f(0x150)],_0x5f019f(0x15e),_0x5f019f(0x158));if(ValueUtil[_0x5f019f(0x147)](_0x431269)&&(_0x1eb92a=adjustFilters(_0x1eb92a,_0x431269)),_0x1eb92a['push'](...this['getPageNavigateParams']()),this['isElement']&&!this['mainFilterForm']){let _0x143d57=ValueUtil[_0x5f019f(0x160)](this['gqlInfo'],_0x5f019f(0x15e),_0x5f019f(0x14b));if(!ValueUtil[_0x5f019f(0x147)](_0x143d57)||!ValueUtil[_0x5f019f(0x147)](this['parent_id']))return{'total':0x0,'records':[]};_0x1eb92a=adjustFilters(_0x1eb92a,[{'name':_0x143d57,'operator':'eq','value':this[_0x5f019f(0x14b)]}]);}let _0x43ad3a=Object[_0x5f019f(0x168)](_0x56c2a4||{}),_0x326cf2=MetaApi[_0x5f019f(0x177)](this['gristConfigSet'][_0x5f019f(0x16c)][_0x5f019f(0x161)](_0xea73b9=>!_0x43ad3a['includes'](_0xea73b9[_0x5f019f(0x16a)]))),_0x32bb90={};if(_0x5c481c[_0x5f019f(0x173)]('$')){let _0x19da99=_0x5c481c[_0x5f019f(0x153)]('$','');_0x32bb90=(await MetaApi['callScenario'](void 0x0,_0x19da99,{'filters':_0x1eb92a,'pagination':{'page':_0x541490,'limit':_0x22760c},'sortings':_0xcba15f},!0x1))[_0x5f019f(0x16e)]['runScenario'][_0x5f019f(0x16e)][_0x5f019f(0x17b)];}else _0x32bb90=await MetaApi[_0x5f019f(0x149)](_0x5c481c,_0x1eb92a,_0xcba15f,_0x541490,_0x22760c,_0x326cf2);if(this[_0x5f019f(0x14d)]){let _0x2fb3ed=await this[_0x5f019f(0x14d)]({'page':_0x541490,'limit':_0x22760c,'sortings':_0xcba15f,'filters':_0x226e58},_0x32bb90);if(_0x2fb3ed)return _0x2fb3ed;}return ValueUtil['isNotEmpty'](_0x56c2a4)&&ValueUtil[_0x5f019f(0x147)](_0x32bb90)&&ValueUtil[_0x5f019f(0x147)](_0x32bb90[_0x5f019f(0x15f)])&&_0x32bb90[_0x5f019f(0x15f)]['map'](_0x1066b3=>(_0x43ad3a['forEach'](_0x248a38=>{const _0x475bf5=_0x5f019f;_0x1066b3[_0x248a38]=ValueUtil['getParams'](_0x1066b3,..._0x56c2a4[_0x248a38][_0x475bf5(0x179)]('.'));}),_0x1066b3)),_0x32bb90;}[a0_0x7266b7(0x152)](){const _0x256512=a0_0x7266b7;if(0x0==this['isPage'])return[];let _0x4a549d=this[_0x256512(0x167)]?.[_0x256512(0x16b)]?this[_0x256512(0x167)]['params']:{};if(!_0x4a549d['pass'])return[];let _0x458bc4=_0x4a549d[_0x256512(0x172)],_0x529654=JSON[_0x256512(0x155)](_0x458bc4),_0x39a8f2=0x1==_0x529654[_0x256512(0x170)]?'eq':'in',_0x502fab={},_0xf30b64=[];return Object[_0x256512(0x168)](_0x529654[0x0])[_0x256512(0x16d)](_0x143b6c=>{_0x502fab[_0x143b6c]={'name':_0x143b6c,'operator':_0x39a8f2,'value':'eq'===_0x39a8f2?_0x529654[0x0][_0x143b6c]:[]};}),_0x529654[_0x256512(0x170)]>0x1&&_0x529654[_0x256512(0x16d)](_0x3a1061=>{const _0x493000=_0x256512;Object[_0x493000(0x168)](_0x3a1061)[_0x493000(0x16d)](_0x51d41e=>{const _0x399133=_0x493000;_0x502fab[_0x51d41e][_0x399133(0x17c)]['push'](_0x3a1061[_0x51d41e]);});}),Object[_0x256512(0x168)](_0x502fab)[_0x256512(0x16d)](_0x41d0ce=>{const _0x966cf6=_0x256512;_0xf30b64[_0x966cf6(0x164)](_0x502fab[_0x41d0ce]);}),_0xf30b64;}async[a0_0x7266b7(0x175)](_0x4b87b5){const _0x468274=a0_0x7266b7;if(this[_0x468274(0x165)])return this['dataSet']||{};let _0x1ea3fe=ValueUtil[_0x468274(0x160)](this[_0x468274(0x150)],_0x468274(0x15e),'find_one_func'),_0x2720d5=ValueUtil[_0x468274(0x160)](this['gqlInfo'],_0x468274(0x15e),_0x468274(0x158)),_0x234485=Object[_0x468274(0x168)](_0x2720d5||{}),_0x143986=MetaApi['getSelectColumns']((this['gristConfigSet']?this[_0x468274(0x14a)]:{'columns':this[_0x468274(0x15a)]})[_0x468274(0x16c)][_0x468274(0x161)](_0x542aa0=>!_0x234485[_0x468274(0x173)](_0x542aa0[_0x468274(0x16a)]))),_0x395bda={};if(_0x1ea3fe[_0x468274(0x173)]('$')){let _0x5a6652=_0x1ea3fe[_0x468274(0x153)]('$',''),_0x1c8bf4=await MetaApi['callScenario'](void 0x0,_0x5a6652,{'id':_0x4b87b5},!0x1);_0x395bda=_0x1c8bf4[_0x468274(0x16e)][_0x468274(0x16f)][_0x468274(0x16e)][_0x468274(0x17b)];}else _0x395bda=await MetaApi[_0x468274(0x175)](_0x1ea3fe,_0x4b87b5,_0x143986);return ValueUtil[_0x468274(0x147)](_0x2720d5)&&ValueUtil[_0x468274(0x147)](_0x395bda)&&_0x234485['forEach'](_0x2d3d11=>{const _0x4b5f9c=_0x468274;_0x395bda[_0x2d3d11]=ValueUtil[_0x4b5f9c(0x160)](_0x395bda,..._0x2720d5[_0x2d3d11][_0x4b5f9c(0x179)]('.'));}),_0x395bda;}async[a0_0x7266b7(0x151)](_0x23f1d9){const _0x126676=a0_0x7266b7;let _0x463298=ValueUtil[_0x126676(0x160)](this[_0x126676(0x150)],'mutation',_0x126676(0x15b),_0x126676(0x162));return await MetaApi[_0x126676(0x178)](_0x23f1d9,_0x463298);}async['updateMultiple'](_0x41f3ac){const _0x4c5587=a0_0x7266b7;let _0x5e4f42=ValueUtil[_0x4c5587(0x160)](this[_0x4c5587(0x150)],_0x4c5587(0x148),_0x4c5587(0x166),_0x4c5587(0x162)),_0x23f982=ValueUtil['getParams'](this[_0x4c5587(0x150)],'mutation',_0x4c5587(0x166),_0x4c5587(0x182));if(ValueUtil[_0x4c5587(0x147)](_0x23f982)&&(_0x23f982=_0x23f982[_0x4c5587(0x146)](_0x5aed3c=>_0x5aed3c[_0x4c5587(0x173)]('.')?_0x5aed3c['split']('.'):_0x5aed3c),_0x41f3ac=_0x41f3ac['map'](_0xaa39d3=>(_0x23f982[_0x4c5587(0x16d)](_0x2c6684=>{const _0x183613=_0x4c5587;Array[_0x183613(0x14f)](_0x2c6684)?delete _0xaa39d3[_0x2c6684[0x0]][_0x2c6684[0x1]]:delete _0xaa39d3[_0x2c6684];}),_0xaa39d3))),this['isElement']&&ValueUtil[_0x4c5587(0x147)](this['parent_id'])){let _0x42fbaa=ValueUtil[_0x4c5587(0x160)](this[_0x4c5587(0x150)],'mutation','multiple','parent_id');ValueUtil['isNotEmpty'](_0x42fbaa)&&_0x41f3ac['forEach'](_0x25ec48=>{const _0x5ecb11=_0x4c5587;if(_0x42fbaa[_0x5ecb11(0x173)]('.')){let _0x20e691=_0x42fbaa[_0x5ecb11(0x179)]('.');_0x25ec48[_0x20e691[0x0]]={},_0x25ec48[_0x20e691[0x0]][_0x20e691[0x1]]=this[_0x5ecb11(0x14b)];}else _0x25ec48[_0x42fbaa]=this[_0x5ecb11(0x14b)];});}return await MetaApi[_0x4c5587(0x156)](_0x5e4f42,_0x41f3ac);}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x367cd4=a0_0x6c43;(function(_0x1dbbf7,_0x9c2df8){const _0x4ece16=a0_0x6c43,_0x130161=_0x1dbbf7();while(!![]){try{const _0x155e00=parseInt(_0x4ece16(0x1b4))/0x1+parseInt(_0x4ece16(0x1c8))/0x2+-parseInt(_0x4ece16(0x1b9))/0x3+parseInt(_0x4ece16(0x1d5))/0x4*(parseInt(_0x4ece16(0x1ad))/0x5)+-parseInt(_0x4ece16(0x1b6))/0x6+-parseInt(_0x4ece16(0x1b0))/0x7*(-parseInt(_0x4ece16(0x1ba))/0x8)+-parseInt(_0x4ece16(0x1a5))/0x9*(parseInt(_0x4ece16(0x1c4))/0xa);if(_0x155e00===_0x9c2df8)break;else _0x130161['push'](_0x130161['shift']());}catch(_0x1c2a06){_0x130161['push'](_0x130161['shift']());}}}(a0_0xa9ee,0xcc7f6));import{html}from'lit';function a0_0x6c43(_0x457840,_0x413c0d){const _0xa9ee43=a0_0xa9ee();return a0_0x6c43=function(_0x6c4343,_0x3f8e28){_0x6c4343=_0x6c4343-0x19d;let _0x1f7630=_0xa9ee43[_0x6c4343];return _0x1f7630;},a0_0x6c43(_0x457840,_0x413c0d);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{UiUtil}from'../utils/ui-util';import{ValueUtil}from'../utils/value-util';import{TermsUtil}from'../utils/terms-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabDetailMixin=_0x3c1b39=>class extends MetaButtonMixin(_0x3c1b39){static get['styles'](){const _0x3e3722=a0_0x6c43;return MetaApi[_0x3e3722(0x1d2)]();}static get[a0_0x367cd4(0x1a3)](){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_0x367cd4(0x1aa)](){const _0x5efd79=a0_0x367cd4;return this[_0x5efd79(0x1a1)]['getMainGrist']();}get[a0_0x367cd4(0x1c3)](){const _0xa9f982=a0_0x367cd4;return this[_0xa9f982(0x1c5)]?.['querySelector'](this[_0xa9f982(0x1d0)]);}get[a0_0x367cd4(0x1cb)](){const _0x4eb587=a0_0x367cd4;let _0x183a5c=MetaUiUtil[_0x4eb587(0x1b1)](this);return _0x183a5c[_0x4eb587(0x1d1)]&&delete _0x183a5c[_0x4eb587(0x1d1)],_0x183a5c[_0x4eb587(0x1a8)]&&delete _0x183a5c[_0x4eb587(0x1a8)],_0x183a5c[_0x4eb587(0x1a2)]&&delete _0x183a5c[_0x4eb587(0x1a2)],_0x183a5c;}async[a0_0x367cd4(0x1d4)](){const _0x1feb32=a0_0x367cd4;this[_0x1feb32(0x1c0)]='ox-grist',this[_0x1feb32(0x1d0)]=_0x1feb32(0x1b7),await this['getAndParseMenuMeta'](),this[_0x1feb32(0x1bf)]&&await this[_0x1feb32(0x19d)](),this['activityDataSet']&&(this['dataSet']=(this[_0x1feb32(0x19e)]||{})[_0x1feb32(0x1c1)]),super['connectedCallback']&&await super[_0x1feb32(0x1d4)]();}async[a0_0x367cd4(0x1d6)](){const _0x1f956d=a0_0x367cd4;super['firstUpdated']&&await super[_0x1f956d(0x1d6)]();}async[a0_0x367cd4(0x1d3)](){const _0x3732c3=a0_0x367cd4;this['isPage']&&await this['parseGristConfigs'](),super[_0x3732c3(0x1d3)]&&await super[_0x3732c3(0x1d3)]();}['render'](){const _0xb79506=a0_0x367cd4;return MetaApi[_0xb79506(0x1c2)](this);}[a0_0x367cd4(0x1a4)](_0x2876a3){const _0x1e9440=a0_0x367cd4;this[_0x1e9440(0x1b8)]=_0x2876a3[_0x1e9440(0x1ce)],this[_0x1e9440(0x1bc)]=_0x2876a3[_0x1e9440(0x1cc)],this['searchConfig']=_0x2876a3[_0x1e9440(0x1b2)],this[_0x1e9440(0x1ae)]=_0x2876a3[_0x1e9440(0x1ae)];}async['parseGristConfigs'](){const _0x41eeaa=a0_0x367cd4;this[_0x41eeaa(0x1af)]=await MetaApi[_0x41eeaa(0x19f)](this),this[_0x41eeaa(0x1a6)]=!0x0===this[_0x41eeaa(0x1c9)],this[_0x41eeaa(0x1c9)]=!0x1,this[_0x41eeaa(0x1cf)]=void 0x0,this['useButtonExport']=!0x1,this['useButtonImport']=!0x1,this[_0x41eeaa(0x1bd)]=[],this['searchFields']=this[_0x41eeaa(0x1af)][_0x41eeaa(0x1d7)]['filter'](_0x2e0e19=>_0x2e0e19[_0x41eeaa(0x1a7)])[_0x41eeaa(0x1a0)](_0x595f0a=>{const _0x38f76e=_0x41eeaa;let _0xb3f3ad={'name':_0x595f0a[_0x38f76e(0x1a9)],'type':_0x38f76e(0x1b2)===_0x595f0a[_0x38f76e(0x1a7)][_0x38f76e(0x1c6)]?'search':_0x595f0a['type'],'label':_0x595f0a['header'],'operator':_0x595f0a[_0x38f76e(0x1a7)][_0x38f76e(0x1c6)]?_0x595f0a[_0x38f76e(0x1a7)]['operator']:'eq'};return _0x595f0a[_0x38f76e(0x1a7)][_0x38f76e(0x1be)]&&(_0xb3f3ad['options']=_0x595f0a['filter']['options']),_0x595f0a[_0x38f76e(0x1b3)][_0x38f76e(0x1be)]&&(_0xb3f3ad[_0x38f76e(0x1be)]=_0x595f0a[_0x38f76e(0x1b3)][_0x38f76e(0x1be)]),_0x595f0a[_0x38f76e(0x1a7)][_0x38f76e(0x1bb)]&&this['searchFieldValues'][_0x38f76e(0x1ac)]({'name':_0xb3f3ad[_0x38f76e(0x1a9)],'operator':_0xb3f3ad['operator'],'value':_0x595f0a[_0x38f76e(0x1a7)][_0x38f76e(0x1bb)]}),delete _0x595f0a[_0x38f76e(0x1a7)],_0xb3f3ad;});}async[a0_0x367cd4(0x1b5)](){const _0x25a56b=a0_0x367cd4;await this[_0x25a56b(0x1aa)][_0x25a56b(0x1b5)]();}async[a0_0x367cd4(0x1c7)]({page:_0x106aa1=0x0,limit:_0xff2b45=0x0,sortings:_0xc33b24=[],filters:_0x3c068a=[]}){const _0x3bd0c8=a0_0x367cd4;return this[_0x3bd0c8(0x1a1)]&&this[_0x3bd0c8(0x1a1)]['clear']&&await this[_0x3bd0c8(0x1a1)][_0x3bd0c8(0x1cd)](),this[_0x3bd0c8(0x1ab)]&&this[_0x3bd0c8(0x1ab)][_0x3bd0c8(0x1cd)]&&await this['detailElement'][_0x3bd0c8(0x1cd)](),!0x0;}[a0_0x367cd4(0x1ca)](){const _0x4dcee9=a0_0x367cd4;return{'master':this[_0x4dcee9(0x1a1)][_0x4dcee9(0x1ca)](),'detail':this[_0x4dcee9(0x1ab)][_0x4dcee9(0x1ca)]()};}};function a0_0xa9ee(){const _0x1f3e2e=['gridEmphasized','gristConfigSet','7cOMUKm','getContextObject','search','record','813797hBMoSh','fetch','3170556TaggbM','ox-filters-form-base','gridConfig','461985ceExsl','6193312zApHey','value','gridColumnConfig','searchFieldValues','options','isElement','gristId','main','getTabDetailHtml','filterForm','436030wZyQlo','shadowRoot','operator','beforeFetch','2023152LrFKLd','useFilterForm','getData','context','grid_column','clear','grid','buttonConfig','filterFormId','actions','getBasicTabDetailStyles','pageInitialized','connectedCallback','980428tNlaUR','firstUpdated','columns','parseGristConfigs','activityDataSet','parseGridConfigSet','map','masterElement','importable','properties','parseBasicGridConfigs','324ExvkVh','useMasterFilterForm','filter','exportable','name','grist','detailElement','push','10FSHmln'];a0_0xa9ee=function(){return _0x1f3e2e;};return a0_0xa9ee();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0xd49459=a0_0x265b;(function(_0x46672c,_0x571671){const _0x572059=a0_0x265b,_0xfada0f=_0x46672c();while(!![]){try{const _0x15c533=parseInt(_0x572059(0x72))/0x1+-parseInt(_0x572059(0x95))/0x2+parseInt(_0x572059(0x74))/0x3*(-parseInt(_0x572059(0x73))/0x4)+parseInt(_0x572059(0x8d))/0x5+parseInt(_0x572059(0x94))/0x6+parseInt(_0x572059(0x70))/0x7+-parseInt(_0x572059(0x77))/0x8*(parseInt(_0x572059(0x7f))/0x9);if(_0x15c533===_0x571671)break;else _0xfada0f['push'](_0xfada0f['shift']());}catch(_0x2d0c92){_0xfada0f['push'](_0xfada0f['shift']());}}}(a0_0x1580,0x6e841));function a0_0x1580(){const _0x505a7b=['firstUpdated','tab','{\x22name\x22:\x20\x22general\x22,\x20\x22display\x22:\x20\x22general\x22,\x20\x22icon\x22:\x22list\x22,\x20\x22index\x22:0\x20}','@things-factory/meta-ui/client/pages/meta-grist-element','2402695QIBjbc','tabElements','length','button','name','keys','route_name','4496190YSdJyE','1527392jHWhUZ','pageInitialized','252245UrALIt','currentTabKey','464200FmopwW','500dstzlA','6924bgIxQs','main_tab_info','parseBasicTabConfigs','24ezBcxE','getData','dataSet','mainFilterForm','param_field','styles','getContextObject','index','675810rXACJp','tabRenderConfig','getBasicTabHtml','display','activityDataSet','connectedCallback','getMainGrist','icon','clear','getAndParseMenuMeta'];a0_0x1580=function(){return _0x505a7b;};return a0_0x1580();}function a0_0x265b(_0x2885f3,_0x37a696){const _0x15806c=a0_0x1580();return a0_0x265b=function(_0x265b4a,_0x403dac){_0x265b4a=_0x265b4a-0x70;let _0x1230ef=_0x15806c[_0x265b4a];return _0x1230ef;},a0_0x265b(_0x2885f3,_0x37a696);}import{MetaApi}from'../utils/meta-api';import{MetaUiUtil}from'../utils/meta-ui-util';import{ValueUtil}from'../utils/value-util';import{MetaButtonMixin}from'./meta-button-mixin';export const MetaTabMixin=_0x45507e=>class extends MetaButtonMixin(_0x45507e){static get[a0_0xd49459(0x7c)](){return MetaApi['getBasicTabStyles']();}static get['properties'](){return{'tabRenderConfig':Array,'currentTabKey':String,'tabElements':Object};}get['context'](){const _0x10fcb1=a0_0xd49459;return MetaUiUtil[_0x10fcb1(0x7d)](this);}async[a0_0xd49459(0x84)](){const _0x12467a=a0_0xd49459;this[_0x12467a(0x71)]=void 0x0,await this[_0x12467a(0x88)](),this[_0x12467a(0x83)]&&(this[_0x12467a(0x79)]=this[_0x12467a(0x83)]),super[_0x12467a(0x84)]&&await super[_0x12467a(0x84)]();}async[a0_0xd49459(0x89)](){const _0x47ba90=a0_0xd49459;super[_0x47ba90(0x89)]&&await super['firstUpdated']();}async['pageInitialized'](){const _0x539866=a0_0xd49459;super[_0x539866(0x96)]&&await super[_0x539866(0x96)]();}['render'](){const _0xf8b933=a0_0xd49459;return MetaApi[_0xf8b933(0x81)](this);}[a0_0xd49459(0x76)](_0x2d52f1){const _0x415bdb=a0_0xd49459;if(!0x0===this['includeMainList']){let _0x1cb0f9=this['etcConfig'][_0x415bdb(0x75)],_0x3470f2=JSON['parse'](_0x1cb0f9||_0x415bdb(0x8b));_0x3470f2[_0x415bdb(0x7e)]>_0x2d52f1[_0x415bdb(0x8a)][_0x415bdb(0x8f)]&&(_0x3470f2[_0x415bdb(0x7e)]=_0x2d52f1[_0x415bdb(0x8a)]['length']),_0x2d52f1[_0x415bdb(0x8a)]['splice'](_0x3470f2[_0x415bdb(0x7e)],0x0,{'name':_0x3470f2[_0x415bdb(0x91)],'display':_0x3470f2[_0x415bdb(0x82)],'tagname':'meta-grist-element','location':_0x415bdb(0x8c),'parent_field':'id','param_field':_0x415bdb(0x7b),'menu':this[_0x415bdb(0x93)],'icon':_0x3470f2[_0x415bdb(0x86)],'filter_from':!0x1,'main_filter_form':this[_0x415bdb(0x7a)]});}this[_0x415bdb(0x80)]=_0x2d52f1[_0x415bdb(0x8a)],_0x2d52f1[_0x415bdb(0x90)]=[];}async[a0_0xd49459(0x87)](){const _0x5eace9=a0_0xd49459;if(this[_0x5eace9(0x8e)]){let _0x1f32f2=Object[_0x5eace9(0x92)](this['tabElements']);for(var _0x747d85=0x0;_0x747d85<_0x1f32f2['length'];_0x747d85++)await this['tabElements'][_0x1f32f2[_0x747d85]][_0x5eace9(0x87)]();}}['getData'](){const _0x57b2dd=a0_0xd49459;let _0x4c1a73={};return this['tabElements']&&Object[_0x57b2dd(0x92)](this[_0x57b2dd(0x8e)])['forEach'](_0x223ebb=>{const _0x278395=_0x57b2dd;_0x4c1a73[_0x223ebb]=this['tabElements'][_0x223ebb][_0x278395(0x78)]();}),_0x4c1a73;}[a0_0xd49459(0x85)](){const _0x1d071e=a0_0xd49459;if(this[_0x1d071e(0x8e)]){let _0x58732a=Object['keys'](this[_0x1d071e(0x8e)]);return this[_0x1d071e(0x8e)][_0x58732a[0x0]]['grist'];}}};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x24e983=a0_0x1a96;(function(_0x1e243f,_0x50030e){const _0x2dfc75=a0_0x1a96,_0x43ead1=_0x1e243f();while(!![]){try{const _0x179b8e=parseInt(_0x2dfc75(0x12c))/0x1+parseInt(_0x2dfc75(0x12b))/0x2+-parseInt(_0x2dfc75(0x137))/0x3*(-parseInt(_0x2dfc75(0x110))/0x4)+parseInt(_0x2dfc75(0x142))/0x5*(-parseInt(_0x2dfc75(0x140))/0x6)+parseInt(_0x2dfc75(0x11c))/0x7*(-parseInt(_0x2dfc75(0x13a))/0x8)+-parseInt(_0x2dfc75(0x121))/0x9*(-parseInt(_0x2dfc75(0x10f))/0xa)+parseInt(_0x2dfc75(0x12e))/0xb;if(_0x179b8e===_0x50030e)break;else _0x43ead1['push'](_0x43ead1['shift']());}catch(_0x16b3a2){_0x43ead1['push'](_0x43ead1['shift']());}}}(a0_0xdd7c,0xab10c));import a0_0x54f23d from'graphql-tag';import{html}from'lit';import{CommonButtonStyles}from'@operato/styles';import{client}from'@operato/graphql';import{i18next,localize}from'@things-factory/i18n-base';import{PageView}from'@things-factory/shell';import{MetaApi}from'./../../utils/meta-api';import{MetaUiUtil}from'./../../utils/meta-ui-util';import{ValueUtil}from'./../../utils/value-util';function a0_0xdd7c(){const _0x307970=['ox-grist','save','CARD','updateMultipleMetaActivity','grid_view_options','getSelectColumns','gridMode','routing','columns','name','task','deleteMetaActivities','searchByPagination','menu','post','getGristSelectableConfig','gridConfig','fetch','object','styles','activity-state-draft','bind','multiple','meta_activity_list','single','getGristColumnConfig2','query','parse','getGristCodeSelectorColumnConfig','define','like','activity-state-deprecated','fetchHandler','tText','metaActivities','menus','meta-activity-viewer-element','search','tTitle','10JPsgSt','1128aGmEKH','custom-element','POPUP','meta-activity-list-page','grist','left','activityType','install_activity','MENU_PAGE_TYPE','relation-menu','menuType','updated_at','28CLyLeb','context','getGristGuttersConfig','pageInitialized','getBasicGristStyles','3273021lFVYYt','deleteListByGristSelected','meta-activity-writer-element','startingType','model','tLabel','isNotEmpty','render','draft','updateMultiple','51240RmVNLj','343285RWXfvP','patchesForUpdateMultiple','18795975IrkqCg','delete','string','querySelector','system_update','tButton','resource-object','status','info','2022oWAApp','state','filter','2018176wlOyRs','GRID','getGristPagination50Config','LIST','description','install_activity_success','50730RLTdRO','activity-state-released','545rImrjx','getGristSelectorColumnConfig','deploy','center','connectedCallback','errors','menu_type','records','showToast','deprecated','SCREEN','forEach','is_not_null','\x0a\x20\x20\x20\x20\x20\x20model\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'];a0_0xdd7c=function(){return _0x307970;};return a0_0xdd7c();}function a0_0x1a96(_0x492615,_0x405414){const _0xdd7c1b=a0_0xdd7c();return a0_0x1a96=function(_0x1a966f,_0x6e553c){_0x1a966f=_0x1a966f-0xe3;let _0x44df8a=_0xdd7c1b[_0x1a966f];return _0x44df8a;},a0_0x1a96(_0x492615,_0x405414);}import{TermsUtil}from'./../../utils/terms-util';import{ServiceUtil}from'../../utils/service-util';import{UiUtil}from'../../utils/ui-util';class MetaActivityListPage extends localize(i18next)(PageView){static get[a0_0x24e983(0xfb)](){const _0x49c589=a0_0x24e983;return MetaApi[_0x49c589(0x120)]();}get[a0_0x24e983(0x11d)](){const _0x119eab=a0_0x24e983;return{'title':TermsUtil[_0x119eab(0x10e)](_0x119eab(0xff)),'actions':[{'title':TermsUtil[_0x119eab(0x133)]('save'),'action':this['save'][_0x119eab(0xfd)](this),...CommonButtonStyles[_0x119eab(0xe9)]},{'title':TermsUtil[_0x119eab(0x133)]('delete'),'action':this['delete'][_0x119eab(0xfd)](this),...CommonButtonStyles[_0x119eab(0x12f)]},{'title':TermsUtil[_0x119eab(0x133)](_0x119eab(0x117)),'action':this[_0x119eab(0x144)][_0x119eab(0xfd)](this),'icon':_0x119eab(0x132),'emphasis':{'raised':!0x0,'outlined':!0x1,'dense':!0x1,'danger':!0x1}}]};}get['grist'](){const _0x1ad979=a0_0x24e983;return this['shadowRoot'][_0x1ad979(0x131)](_0x1ad979(0xe8));}async['connectedCallback'](){const _0x18036f=a0_0x24e983,_0x32d6b8=[{'display':'','value':''},{'display':TermsUtil[_0x18036f(0x126)](_0x18036f(0xfc)),'value':_0x18036f(0x129)},{'display':TermsUtil[_0x18036f(0x126)](_0x18036f(0x141)),'value':'released'},{'display':TermsUtil[_0x18036f(0x126)](_0x18036f(0x107)),'value':_0x18036f(0xe3)}];this[_0x18036f(0xec)]=[_0x18036f(0x13d),_0x18036f(0x13b),_0x18036f(0xea)],this[_0x18036f(0xee)]=MetaApi['isMobileEnv']()?_0x18036f(0x13d):'GRID',this['gridConfig']={'option':{'view_mode':this[_0x18036f(0xec)]},'rows':MetaApi[_0x18036f(0xf7)](!0x0),'pagination':MetaApi[_0x18036f(0x13c)](),'sorters':[{'name':_0x18036f(0xf1),'desc':!0x1}],'appendable':!0x0,'columns':[...MetaApi[_0x18036f(0x11e)](!0x0,!0x1),{'type':_0x18036f(0x130),'name':'id','sortable':!0x1,'hidden':!0x0},MetaUiUtil[_0x18036f(0x101)]('string',_0x18036f(0xf1),_0x18036f(0xf1),_0x18036f(0x115),!0x0,!0x0,0xc8),MetaUiUtil[_0x18036f(0x101)](_0x18036f(0x130),_0x18036f(0x13e),'description',_0x18036f(0x115),!0x0,!0x0,0x12c),MetaUiUtil[_0x18036f(0x143)](_0x18036f(0x138),_0x18036f(0x135),_0x18036f(0x145),!0x0,0x64,!0x1,_0x32d6b8),{'type':_0x18036f(0x134),'name':_0x18036f(0xf5),'header':TermsUtil['tLabel']('menu'),'record':{'editable':!0x0,'options':{'queryName':_0x18036f(0x10b),'basicArgs':{'filters':[{'name':'menuType','operator':'in','value':[_0x18036f(0xe4),_0x18036f(0x112),'HIDDEN-PAGE']},{'name':'routing','operator':_0x18036f(0xe6),'value':''},{'name':'template','operator':_0x18036f(0xe6),'value':''}]},'columns':[{'name':'id','hidden':!0x0},{'name':'name','header':TermsUtil[_0x18036f(0x126)](_0x18036f(0xf1)),'width':0xfa,'filter':_0x18036f(0x10d)},await MetaApi[_0x18036f(0x104)](_0x18036f(0x11a),_0x18036f(0x148),_0x18036f(0x115),!0x1,0x6e,!0x1,_0x18036f(0x118)),MetaUiUtil[_0x18036f(0x101)](_0x18036f(0x130),_0x18036f(0xef),_0x18036f(0xef),_0x18036f(0x115),!0x1,!0x1,0xfa)],'list':{'fields':[_0x18036f(0xf1),_0x18036f(0xef)]},'nameField':'routing'}},'width':0xeb},MetaUiUtil[_0x18036f(0x101)](_0x18036f(0xfa),'updater','updater',_0x18036f(0x145),!0x1,!0x1,0x78),MetaUiUtil[_0x18036f(0x101)]('datetime','updatedAt',_0x18036f(0x11b),_0x18036f(0x145),!0x1,!0x0,0xb4),{'name':'activityType','hidden':!0x0},{'name':_0x18036f(0xfe),'hidden':!0x0},{'name':_0x18036f(0x124),'hidden':!0x0}],'sorters':[{'name':_0x18036f(0xf1),'desc':!0x1}]};let _0x32ee32={'name':_0x18036f(0x106)};this[_0x18036f(0xf8)]['columns']['filter'](_0x1f1509=>_0x32ee32[_0x1f1509[_0x18036f(0xf1)]])['forEach'](_0x41d891=>{const _0x4137ad=_0x18036f;_0x41d891[_0x4137ad(0x139)]=_0x32ee32[_0x41d891[_0x4137ad(0xf1)]];}),this[_0x18036f(0x146)]&&await super[_0x18036f(0x146)]();}async[a0_0x24e983(0x108)]({page:_0x46b743,limit:_0x15ac09,sorters:_0x232aba=[],filters:_0x15ba58=[]}){const _0x451d8e=a0_0x24e983;_0x15ba58['push']({'name':'model','operator':_0x451d8e(0x106),'value':'\x22relation-menu\x22'});let _0x1df661=MetaApi[_0x451d8e(0xed)](this[_0x451d8e(0xf8)][_0x451d8e(0xf0)][_0x451d8e(0x139)](_0x4fae95=>_0x451d8e(0xf5)!=_0x4fae95[_0x451d8e(0xf1)]));_0x1df661+=_0x451d8e(0xe7);let _0x187d33=await MetaApi[_0x451d8e(0xf4)](_0x451d8e(0x10a),_0x15ba58,_0x232aba,_0x46b743,_0x15ac09,_0x1df661);return _0x187d33[_0x451d8e(0x149)][_0x451d8e(0xe5)](_0xeb82d4=>{const _0x4d2da5=_0x451d8e;let _0x3442a1=_0xeb82d4[_0x4d2da5(0x125)]['filter'](_0x50dc68=>_0x4d2da5(0x119)==_0x50dc68[_0x4d2da5(0xf1)]);_0x3442a1&&_0x3442a1['length']>0x0&&(_0xeb82d4['menu']=JSON[_0x4d2da5(0x103)](_0x3442a1[0x0][_0x4d2da5(0x13e)])),delete _0xeb82d4[_0x4d2da5(0x125)];}),_0x187d33;}async[a0_0x24e983(0x144)](){const _0x5eb848=a0_0x24e983;try{var _0x31098c=await client[_0x5eb848(0x102)]({'query':a0_0x54f23d`
|
|
2
2
|
mutation {
|
|
3
3
|
installActivityTemplate
|
|
4
4
|
}
|
|
5
|
-
`});if(!
|
|
5
|
+
`});if(!_0x31098c[_0x5eb848(0x147)])return UiUtil[_0x5eb848(0x14a)](_0x5eb848(0x136),TermsUtil[_0x5eb848(0x109)](_0x5eb848(0x13f))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x31098c);}catch(_0x2c2208){ServiceUtil['showGraphqlException'](_0x2c2208);}}async['save'](){const _0x38be3a=a0_0x24e983;let _0x185476=ServiceUtil[_0x38be3a(0x12d)](this[_0x38be3a(0x114)]);if(ValueUtil[_0x38be3a(0x127)](_0x185476)){_0x185476[_0x38be3a(0xe5)](_0x211d7c=>{const _0x46c8fd=_0x38be3a;Object['assign'](_0x211d7c,{'uiSource':_0x46c8fd(0x123),'uiType':_0x46c8fd(0x111),'viewSource':_0x46c8fd(0x10c),'viewType':_0x46c8fd(0x111)}),_0x211d7c[_0x46c8fd(0xfe)]||(_0x211d7c[_0x46c8fd(0xfe)]=_0x46c8fd(0x100)),_0x211d7c[_0x46c8fd(0x116)]||(_0x211d7c[_0x46c8fd(0x116)]=_0x46c8fd(0xf2)),_0x211d7c['startingType']||(_0x211d7c['startingType']=_0x46c8fd(0xf6));});let _0x473132=await ServiceUtil[_0x38be3a(0x12a)](_0x38be3a(0xeb),_0x185476);if(_0x473132)return this[_0x38be3a(0x114)][_0x38be3a(0xf9)](),_0x473132;}}async['delete'](){const _0x362836=a0_0x24e983;await MetaApi[_0x362836(0x122)](this[_0x362836(0x114)],_0x362836(0xf3));}async[a0_0x24e983(0x11f)](){}[a0_0x24e983(0x128)](){const _0x1f904d=a0_0x24e983;return html`
|
|
6
6
|
<ox-grist
|
|
7
7
|
auto-fetch
|
|
8
8
|
id="ox-grist"
|
|
9
|
-
.config=${this[
|
|
10
|
-
.mode=${this[
|
|
11
|
-
.fetchHandler=${this[
|
|
9
|
+
.config=${this['gridConfig']}
|
|
10
|
+
.mode=${this[_0x1f904d(0xee)]}
|
|
11
|
+
.fetchHandler=${this[_0x1f904d(0x108)][_0x1f904d(0xfd)](this)}>
|
|
12
12
|
<div slot="headroom">
|
|
13
13
|
<div id="filters">
|
|
14
14
|
<ox-filters-form ></ox-filters-form>
|
|
15
15
|
</div>
|
|
16
16
|
</div>
|
|
17
17
|
</ox-grist>
|
|
18
|
-
`;}}window[
|
|
18
|
+
`;}}window['customElements'][a0_0x24e983(0x105)](a0_0x24e983(0x113),MetaActivityListPage);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
${this[
|
|
3
|
-
`;}}customElements[
|
|
1
|
+
function a0_0x1859(_0x6ceeb3,_0x358036){const _0x2f2a28=a0_0x2f2a();return a0_0x1859=function(_0x1859e8,_0x51dbe8){_0x1859e8=_0x1859e8-0x95;let _0x16838c=_0x2f2a28[_0x1859e8];return _0x16838c;},a0_0x1859(_0x6ceeb3,_0x358036);}const a0_0x303532=a0_0x1859;(function(_0x459068,_0x65f8de){const _0x1aa4b3=a0_0x1859,_0x55cbc5=_0x459068();while(!![]){try{const _0x309b61=parseInt(_0x1aa4b3(0xa4))/0x1+parseInt(_0x1aa4b3(0xa7))/0x2+parseInt(_0x1aa4b3(0x9b))/0x3*(parseInt(_0x1aa4b3(0xac))/0x4)+-parseInt(_0x1aa4b3(0xa9))/0x5+-parseInt(_0x1aa4b3(0x9e))/0x6+parseInt(_0x1aa4b3(0xa6))/0x7*(parseInt(_0x1aa4b3(0xa0))/0x8)+parseInt(_0x1aa4b3(0x9f))/0x9*(-parseInt(_0x1aa4b3(0x96))/0xa);if(_0x309b61===_0x65f8de)break;else _0x55cbc5['push'](_0x55cbc5['shift']());}catch(_0x59095f){_0x55cbc5['push'](_0x55cbc5['shift']());}}}(a0_0x2f2a,0x1eded));import a0_0x4d9125 from'graphql-tag';import{css,html,LitElement}from'lit';import{client}from'@operato/graphql';function a0_0x2f2a(){const _0x4877e4=['tagName','\x27\x20route_name=\x27','432568UNLvIt','htmlToElement','contentElement','133630OEPxVA','meta-activity-viewer-element','routing','output','activityDataSet','3xrMVoD','define','relationMenu','229080oezjvZ','18CHysqm','432cUHOZe','isEmpty','name','render','191490ZguNtB','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_readonly=true\x20is_detail=true></','8841HroIBB','41674uIABwz','customData','986600dgBmsO'];a0_0x2f2a=function(){return _0x4877e4;};return a0_0x2f2a();}import{i18next,localize}from'@operato/i18n';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';export class MetaActivityViewerElement extends MetaActivityMixin(localize(i18next)(LitElement)){[a0_0x303532(0xa3)](){const _0x4e9192=a0_0x303532;if(this[_0x4e9192(0x9d)]&&!this[_0x4e9192(0x95)]){let _0x3f9468=this['relationMenu'][_0x4e9192(0xaa)],_0x2245e6=this[_0x4e9192(0x9d)][_0x4e9192(0x98)],_0x32a0aa='<'+_0x3f9468+'\x20id=\x27'+this[_0x4e9192(0x9d)][_0x4e9192(0xa2)]+_0x4e9192(0xab)+_0x2245e6+_0x4e9192(0xa5)+_0x3f9468+'>';this[_0x4e9192(0x95)]=UiUtil[_0x4e9192(0xad)](_0x32a0aa),this[_0x4e9192(0x95)][_0x4e9192(0x9a)]=ValueUtil[_0x4e9192(0xa1)](this[_0x4e9192(0x99)])?void 0x0:this[_0x4e9192(0x99)][_0x4e9192(0xa8)];}return html`
|
|
2
|
+
${this[_0x4e9192(0x95)]}
|
|
3
|
+
`;}}customElements[a0_0x303532(0x9c)](a0_0x303532(0x97),MetaActivityViewerElement);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const
|
|
2
|
-
${this[
|
|
3
|
-
`;}}customElements[
|
|
1
|
+
const a0_0xf5b36f=a0_0x5cea;(function(_0x14320a,_0x8cb455){const _0x5623c5=a0_0x5cea,_0x23b2eb=_0x14320a();while(!![]){try{const _0x4b7100=-parseInt(_0x5623c5(0xbc))/0x1*(parseInt(_0x5623c5(0xc2))/0x2)+-parseInt(_0x5623c5(0xcb))/0x3*(parseInt(_0x5623c5(0xd3))/0x4)+-parseInt(_0x5623c5(0xd2))/0x5*(-parseInt(_0x5623c5(0xc4))/0x6)+parseInt(_0x5623c5(0xc1))/0x7*(parseInt(_0x5623c5(0xbf))/0x8)+-parseInt(_0x5623c5(0xda))/0x9+parseInt(_0x5623c5(0xc7))/0xa*(parseInt(_0x5623c5(0xd0))/0xb)+parseInt(_0x5623c5(0xbe))/0xc*(parseInt(_0x5623c5(0xc3))/0xd);if(_0x4b7100===_0x8cb455)break;else _0x23b2eb['push'](_0x23b2eb['shift']());}catch(_0x3604a9){_0x23b2eb['push'](_0x23b2eb['shift']());}}}(a0_0x1763,0x21d87));import{html,LitElement}from'lit';import{i18next,localize}from'@operato/i18n';import{UiUtil}from'./../../utils/ui-util';import{ValueUtil}from'./../../utils/value-util';import{MetaActivityMixin}from'./meta-activiy-mixin.js';function a0_0x5cea(_0x45296b,_0x11dd9f){const _0x17630d=a0_0x1763();return a0_0x5cea=function(_0x5cea59,_0x4db93f){_0x5cea59=_0x5cea59-0xba;let _0x4c55ed=_0x17630d[_0x5cea59];return _0x4c55ed;},a0_0x5cea(_0x45296b,_0x11dd9f);}function a0_0x1763(){const _0x59304d=['meta-activity-writer-element','123781XekaeK','214kWBWsR','73957XivTWe','66BwboYV','isEmpty','htmlToElement','4750QqtaRT','define','\x27\x20style=\x22flex:1;\x22\x20is_activity=true\x20is_detail=true></','getData','18597ucmIDe','data-changed','disconnectedCallback','dispatchEvent','addEventListener','4631qSTMuU','relationMenu','37225bMHDFv','48vYKmdZ','output','_onDataChanged','\x27\x20route_name=\x27','activityDataSet','name','connectedCallback','1919565irHuYV','contentElement','change','tagName','1846MhKjTl','removeEventListener','684uHgirO','8jnqPXQ'];a0_0x1763=function(){return _0x59304d;};return a0_0x1763();}export class MetaActivityWriterElement extends MetaActivityMixin(localize(i18next)(LitElement)){async[a0_0xf5b36f(0xd9)](){const _0x3d59f7=a0_0xf5b36f;await super[_0x3d59f7(0xd9)](),this[_0x3d59f7(0xcf)](_0x3d59f7(0xcc),this[_0x3d59f7(0xd5)]);}[a0_0xf5b36f(0xcd)](){const _0x1d08fb=a0_0xf5b36f;this[_0x1d08fb(0xbd)](_0x1d08fb(0xcc),this[_0x1d08fb(0xd5)]);}[a0_0xf5b36f(0xd5)](_0x28fd20){const _0x744d59=a0_0xf5b36f;let _0x59ffe7=this[_0x744d59(0xdb)][_0x744d59(0xca)]();this[_0x744d59(0xce)](new CustomEvent(_0x744d59(0xba),{'detail':{'customData':_0x59ffe7}}));}['render'](){const _0x140ad5=a0_0xf5b36f;if(this['relationMenu']&&!this['contentElement']){let _0x2018cb=this[_0x140ad5(0xd1)][_0x140ad5(0xbb)],_0x4affe1=this['relationMenu']['routing'],_0x5c482a='<'+_0x2018cb+'\x20id=\x27'+this[_0x140ad5(0xd1)][_0x140ad5(0xd8)]+_0x140ad5(0xd6)+_0x4affe1+_0x140ad5(0xc9)+_0x2018cb+'>';this[_0x140ad5(0xdb)]=UiUtil[_0x140ad5(0xc6)](_0x5c482a),this['contentElement'][_0x140ad5(0xd7)]=ValueUtil[_0x140ad5(0xc5)](this[_0x140ad5(0xd4)])?void 0x0:this[_0x140ad5(0xd4)]['customData'];}return html`
|
|
2
|
+
${this[_0x140ad5(0xdb)]}
|
|
3
|
+
`;}}customElements[a0_0xf5b36f(0xc8)](a0_0xf5b36f(0xc0),MetaActivityWriterElement);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2a5d19=a0_0x7060;(function(_0x2e3188,_0x4c1e48){const _0xaa0872=a0_0x7060,_0x5b5cea=_0x2e3188();while(!![]){try{const _0x45692d=parseInt(_0xaa0872(0x181))/0x1*(-parseInt(_0xaa0872(0x18b))/0x2)+-parseInt(_0xaa0872(0x17c))/0x3*(parseInt(_0xaa0872(0x189))/0x4)+parseInt(_0xaa0872(0x17f))/0x5*(-parseInt(_0xaa0872(0x17b))/0x6)+parseInt(_0xaa0872(0x185))/0x7*(-parseInt(_0xaa0872(0x198))/0x8)+parseInt(_0xaa0872(0x193))/0x9*(-parseInt(_0xaa0872(0x184))/0xa)+-parseInt(_0xaa0872(0x19b))/0xb*(parseInt(_0xaa0872(0x192))/0xc)+parseInt(_0xaa0872(0x17e))/0xd;if(_0x45692d===_0x4c1e48)break;else _0x5b5cea['push'](_0x5b5cea['shift']());}catch(_0x3207d5){_0x5b5cea['push'](_0x5b5cea['shift']());}}}(a0_0x1cab,0xa42a7));import a0_0x5e0188 from'graphql-tag';function a0_0x1cab(){const _0x1bd3e2=['392ctNvxR','relation-menu','styles','replace','4lGvWma','resourceUrl','44810QTOxHG','id,category,resourceUrl','forEach','getMenuInfo','category','connectedCallback','data','15794508FUBxlj','4833mGQQwC','assign','searchByPagination','model','getActivity','47072xqAwAo','tText','records','11rfeamW','tagName','menus','description','activityId','-page','-element','endsWith','value_is_not_exist','12fxNJxs','3908889DDXgKQ','relationMenu','67110485GfReSc','1204130KMubiD','activity','21rpCJrk','properties','name','10970WryMgY'];a0_0x1cab=function(){return _0x1bd3e2;};return a0_0x1cab();}function a0_0x7060(_0x2881f0,_0xd48313){const _0x1caba9=a0_0x1cab();return a0_0x7060=function(_0x706007,_0x3d4f88){_0x706007=_0x706007-0x17a;let _0x3343c2=_0x1caba9[_0x706007];return _0x3343c2;},a0_0x7060(_0x2881f0,_0xd48313);}import{css}from'lit';import{client}from'@operato/graphql';import{ServiceUtil}from'./../../utils/service-util';import{MetaApi}from'./../../utils/meta-api';export const MetaActivityMixin=_0x20bdf1=>class extends _0x20bdf1{static get[a0_0x2a5d19(0x182)](){return{'activityId':String,'input':Object,'output':Object};}static get[a0_0x2a5d19(0x187)](){return css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
overflow-x: auto;
|
|
6
6
|
background-color: var(--main-section-background-color);
|
|
7
7
|
}
|
|
8
|
-
`;}async[
|
|
8
|
+
`;}async[a0_0x2a5d19(0x190)](){const _0x21a8bc=a0_0x2a5d19;await this[_0x21a8bc(0x197)](),await super[_0x21a8bc(0x190)]();}async[a0_0x2a5d19(0x197)](){const _0x2a4999=a0_0x2a5d19,_0xc3adf6=await client['query']({'query':a0_0x5e0188`
|
|
9
9
|
query activity($id: String!) {
|
|
10
10
|
activity(id: $id) {
|
|
11
11
|
id
|
|
@@ -15,4 +15,4 @@ const a0_0x168ef6=a0_0x357f;(function(_0xe915cc,_0x4e1ae0){const _0x2e095e=a0_0x
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
`,'variables':{'id':this[
|
|
18
|
+
`,'variables':{'id':this[_0x2a4999(0x19f)]}});let _0x23e99e;this[_0x2a4999(0x180)]=_0xc3adf6[_0x2a4999(0x191)][_0x2a4999(0x180)],this[_0x2a4999(0x180)][_0x2a4999(0x196)]?.[_0x2a4999(0x18d)](_0x498673=>{const _0x3f4480=_0x2a4999;_0x3f4480(0x186)==_0x498673[_0x3f4480(0x183)]&&(_0x23e99e=JSON['parse'](_0x498673[_0x3f4480(0x19e)]));}),this[_0x2a4999(0x17d)]=_0x23e99e,await this[_0x2a4999(0x18e)](this[_0x2a4999(0x17d)]['id'],this['relationMenu']['routing']);}async['getMenuInfo'](_0x3215ff,_0x18a99c){const _0x28aeb4=a0_0x2a5d19;let _0x45a1d5=[{'name':'id','operator':'eq','value':_0x3215ff}],_0x577603=await ServiceUtil[_0x28aeb4(0x195)](_0x28aeb4(0x19d),_0x45a1d5,null,0x0,0x0,_0x28aeb4(0x18c));if(!_0x577603&&0x0==_0x577603['length']){let _0x509b69=TermsUtil[_0x28aeb4(0x199)](_0x28aeb4(0x17a),{'value':TermsUtil['tMenu']('menu')+'\x20'+_0x18a99c});throw MetaApi['showToast']('info',_0x509b69),new Error(_0x509b69);}let _0x1c6180=_0x577603[_0x28aeb4(0x19a)][0x0];_0x1c6180['tagName']=_0x1c6180[_0x28aeb4(0x18f)][_0x28aeb4(0x1a2)](_0x28aeb4(0x1a0))?_0x1c6180[_0x28aeb4(0x18f)]['replace'](_0x28aeb4(0x1a0),_0x28aeb4(0x1a1)):_0x1c6180[_0x28aeb4(0x18f)],_0x1c6180[_0x28aeb4(0x18a)]=_0x1c6180[_0x28aeb4(0x18a)][_0x28aeb4(0x188)](_0x1c6180[_0x28aeb4(0x18f)],_0x1c6180[_0x28aeb4(0x19c)]),Object[_0x28aeb4(0x194)](this['relationMenu'],_0x1c6180);}};
|