@things-factory/meta-ui 6.2.51 → 6.2.54
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/component/filter/filter-form-meta-code-select.js +9 -9
- package/client/component/filter/filter-form-meta-object-select.js +9 -9
- 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/file-upload-popup.js +11 -11
- package/client/component/popup/meta-object-selector-popup.js +11 -11
- package/client/component/popup/record-based-code-editor-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-define-page.js +11 -11
- 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/button-role/button-role-detail.js +1 -1
- package/client/pages/button-role/button-role-page.js +1 -1
- package/client/pages/doc-number/doc-number-page.js +1 -1
- package/client/pages/doc-number/next-doc-number-popup.js +1 -1
- 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 +5 -5
- 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-setting-let.js +6 -6
- package/client/pages/menu/dynamic-menu-template.js +6 -6
- package/client/pages/menu/dynamic-menu.js +16 -16
- package/client/pages/menu/export-menu-popup.js +7 -7
- 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/printer-device/printer-device-page.js +1 -1
- package/client/pages/template/doc-template-page.js +1 -1
- package/client/pages/template/template-file-page.js +1 -1
- 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/grist-default-value.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 +108 -109
- package/client/utils/service-util.js +35 -35
- 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 +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a0_0x3cceca=a0_0x19eb;(function(_0x235a92,_0x5a3053){var _0x22f746=a0_0x19eb,_0x7d2af0=_0x235a92();while(!![]){try{var _0x2d9fb5=-parseInt(_0x22f746(0x108))/0x1+-parseInt(_0x22f746(0x102))/0x2+parseInt(_0x22f746(0x119))/0x3*(-parseInt(_0x22f746(0x10a))/0x4)+parseInt(_0x22f746(0x10e))/0x5*(-parseInt(_0x22f746(0x116))/0x6)+-parseInt(_0x22f746(0x11a))/0x7*(parseInt(_0x22f746(0x106))/0x8)+-parseInt(_0x22f746(0x113))/0x9+parseInt(_0x22f746(0x127))/0xa;if(_0x2d9fb5===_0x5a3053)break;else _0x7d2af0['push'](_0x7d2af0['shift']());}catch(_0x3243c5){_0x7d2af0['push'](_0x7d2af0['shift']());}}}(a0_0x5088,0x68df4));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';function a0_0x19eb(_0x2b03d5,_0xd11b40){var _0x5088b3=a0_0x5088();return a0_0x19eb=function(_0x19ebff,_0x53d05a){_0x19ebff=_0x19ebff-0xff;var _0x95cfd7=_0x5088b3[_0x19ebff];return _0x95cfd7;},a0_0x19eb(_0x2b03d5,_0xd11b40);}import{connect}from'pwa-helpers';function a0_0x5088(){var _0x387d8c=['function','landscape','955cKCBsj','addEventListener','route','has','active','4307085hFAOpU','menus','find','22242apkVQx','path','properties','3TsDYyN','168jrCZAu','_activeMenu','removeAttribute','define','resourceId','preventDefault','slotTemplate','_findActivePage','setAttribute','styles','renderRoot','metaUI','firstUpdated','28654680oZMoGU','page','portrait','_activeTopLevel','stateChanged','stopPropagation','948036VLniQv','replaceChild','_path','split','174664JFrSuz','orientation','20849ZvDtca','render','921804DLWlTa','dynamic-menu-part'];a0_0x5088=function(){return _0x387d8c;};return a0_0x5088();}import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x1f9a7b,_0x471163){var _0x1531b4=a0_0x19eb;return _0x1f9a7b[_0x1531b4(0x117)]?.[_0x1531b4(0x105)]('?')[0x0]===_0x471163||_0x1f9a7b['active']&&_0x1531b4(0x10c)==typeof _0x1f9a7b[_0x1531b4(0x112)]&&_0x1f9a7b[_0x1531b4(0x112)]['call'](_0x1f9a7b,{'path':_0x471163});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x3cceca(0x118)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x3cceca(0x123)](){return[ScrollbarStyles,css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
overflow-y: auto;
|
|
@@ -27,18 +27,18 @@ var a0_0x3b7b9a=a0_0x5b9e;(function(_0x5bee7d,_0x6f38b9){var _0x52b9c4=a0_0x5b9e
|
|
|
27
27
|
dynamic-menu-landscape {
|
|
28
28
|
flex: 1;
|
|
29
29
|
}
|
|
30
|
-
`];}[
|
|
30
|
+
`];}[a0_0x3cceca(0x109)](){var _0x4f3502=a0_0x3cceca;return html`
|
|
31
31
|
<slot name="head"></slot>
|
|
32
|
-
${
|
|
32
|
+
${_0x4f3502(0x10d)!==this[_0x4f3502(0x107)]?html`<dynamic-menu-portrait
|
|
33
33
|
.menus=${this['menus']}
|
|
34
|
-
.activeTopLevel=${this[
|
|
35
|
-
.activeMenu=${this[
|
|
36
|
-
.path=${this[
|
|
34
|
+
.activeTopLevel=${this[_0x4f3502(0xff)]}
|
|
35
|
+
.activeMenu=${this[_0x4f3502(0x11b)]}
|
|
36
|
+
.path=${this[_0x4f3502(0x104)]}
|
|
37
37
|
></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
|
|
38
|
-
.menus=${this[
|
|
39
|
-
.activeTopLevel=${this[
|
|
40
|
-
.activeMenu=${this[
|
|
41
|
-
.path=${this[
|
|
38
|
+
.menus=${this[_0x4f3502(0x114)]}
|
|
39
|
+
.activeTopLevel=${this[_0x4f3502(0xff)]}
|
|
40
|
+
.activeMenu=${this[_0x4f3502(0x11b)]}
|
|
41
|
+
.path=${this[_0x4f3502(0x104)]}
|
|
42
42
|
></dynamic-menu-landscape>`}
|
|
43
43
|
<slot name="tail"></slot>
|
|
44
|
-
`;}[
|
|
44
|
+
`;}[a0_0x3cceca(0x126)](){var _0xbc8fa7=a0_0x3cceca;this[_0xbc8fa7(0x124)][_0xbc8fa7(0x10f)]('active-toplevel',_0x372052=>{var _0x5ec0db=_0xbc8fa7;_0x372052[_0x5ec0db(0x101)](),_0x372052[_0x5ec0db(0x11f)](),this[_0x5ec0db(0xff)]=_0x372052['detail'];});}['updated'](_0x1a4d0a){var _0x59fcc3=a0_0x3cceca;(_0x1a4d0a[_0x59fcc3(0x111)](_0x59fcc3(0x114))||_0x1a4d0a[_0x59fcc3(0x111)](_0x59fcc3(0x128))||_0x1a4d0a[_0x59fcc3(0x111)](_0x59fcc3(0x11e)))&&this['_findActivePage'](),_0x1a4d0a[_0x59fcc3(0x111)](_0x59fcc3(0x107))&&(_0x59fcc3(0x129)==this[_0x59fcc3(0x107)]?this[_0x59fcc3(0x11c)](_0x59fcc3(0x10d)):this[_0x59fcc3(0x122)](_0x59fcc3(0x10d),!0x0)),_0x1a4d0a[_0x59fcc3(0x111)](_0x59fcc3(0x120))&&this[_0x59fcc3(0x103)](this[_0x59fcc3(0x120)]);}[a0_0x3cceca(0x100)](_0x5e80c9){var _0x55a77b=a0_0x3cceca;this[_0x55a77b(0x128)]=_0x5e80c9[_0x55a77b(0x110)][_0x55a77b(0x128)],this[_0x55a77b(0x11e)]=_0x5e80c9[_0x55a77b(0x110)][_0x55a77b(0x11e)],this[_0x55a77b(0x114)]=_0x5e80c9[_0x55a77b(0x125)][_0x55a77b(0x114)]||[],this[_0x55a77b(0x120)]=_0x5e80c9['metaUI'][_0x55a77b(0x120)];}[a0_0x3cceca(0x121)](){var _0x2e50b3=a0_0x3cceca,_0x57a730,_0x111e25=this[_0x2e50b3(0x11e)]?this[_0x2e50b3(0x128)]+'/'+this[_0x2e50b3(0x11e)]:this[_0x2e50b3(0x128)],_0x3a4824=this[_0x2e50b3(0x114)]||[];this[_0x2e50b3(0xff)]=_0x3a4824[_0x2e50b3(0x115)](_0x455c26=>isActiveMenu(_0x455c26,_0x111e25)?(_0x57a730=_0x455c26,!0x0):_0x455c26[_0x2e50b3(0x114)]?!!(_0x57a730=_0x455c26[_0x2e50b3(0x114)][_0x2e50b3(0x115)](_0x3f7979=>isActiveMenu(_0x3f7979,_0x111e25))):void 0x0),this['_path']=_0x111e25,this['_activeMenu']=_0x57a730||this[_0x2e50b3(0xff)];}}customElements[a0_0x3cceca(0x11d)](a0_0x3cceca(0x10b),DynamicMenuPart);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x31d148,_0xb45216){const _0x255346=a0_0x2a1f,_0x4e9d23=_0x31d148();while(!![]){try{const _0x2d9c85=-parseInt(_0x255346(0x169))/0x1*(parseInt(_0x255346(0x16c))/0x2)+parseInt(_0x255346(0x16d))/0x3+-parseInt(_0x255346(0x167))/0x4*(parseInt(_0x255346(0x16e))/0x5)+parseInt(_0x255346(0x166))/0x6+-parseInt(_0x255346(0x164))/0x7+-parseInt(_0x255346(0x16b))/0x8*(parseInt(_0x255346(0x168))/0x9)+parseInt(_0x255346(0x165))/0xa*(parseInt(_0x255346(0x16a))/0xb);if(_0x2d9c85===_0xb45216)break;else _0x4e9d23['push'](_0x4e9d23['shift']());}catch(_0x2f61fe){_0x4e9d23['push'](_0x4e9d23['shift']());}}}(a0_0x3848,0x3c012));import{css}from'lit';function a0_0x2a1f(_0x9c7cde,_0x1fbf27){const _0x384852=a0_0x3848();return a0_0x2a1f=function(_0x2a1f8f,_0x4793e5){_0x2a1f8f=_0x2a1f8f-0x164;let _0x392d06=_0x384852[_0x2a1f8f];return _0x392d06;},a0_0x2a1f(_0x9c7cde,_0x1fbf27);}function a0_0x3848(){const _0x15de3e=['1333409UeQRJb','96FxZuiR','388JLcsmx','913341ynYCrH','46330UIZYiD','946736rkWQLU','50ZypsaP','1540560GEgiTG','28asRDNy','360495YHlHCz','1241LQJshe'];a0_0x3848=function(){return _0x15de3e;};return a0_0x3848();}export const DynamicMenuPortraitStyles=css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
overflow-y: auto;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a0_0xf798(_0x868a4d,_0x2c4bc1){const _0x4b8038=a0_0x4b80();return a0_0xf798=function(_0xf79822,_0x3cd519){_0xf79822=_0xf79822-0xa9;let _0x51c55f=_0x4b8038[_0xf79822];return _0x51c55f;},a0_0xf798(_0x868a4d,_0x2c4bc1);}const a0_0x29a6cf=a0_0xf798;(function(_0xa2d857,_0x5c9eec){const _0xf46662=a0_0xf798,_0x5d6a97=_0xa2d857();while(!![]){try{const _0x2b2a5b=-parseInt(_0xf46662(0xb1))/0x1*(-parseInt(_0xf46662(0xc7))/0x2)+parseInt(_0xf46662(0xcb))/0x3*(-parseInt(_0xf46662(0xb4))/0x4)+-parseInt(_0xf46662(0xd0))/0x5+-parseInt(_0xf46662(0xb2))/0x6*(parseInt(_0xf46662(0xc9))/0x7)+-parseInt(_0xf46662(0xbd))/0x8*(-parseInt(_0xf46662(0xb0))/0x9)+parseInt(_0xf46662(0xa9))/0xa*(parseInt(_0xf46662(0xd1))/0xb)+parseInt(_0xf46662(0xb5))/0xc*(parseInt(_0xf46662(0xb6))/0xd);if(_0x2b2a5b===_0x5c9eec)break;else _0x5d6a97['push'](_0x5d6a97['shift']());}catch(_0x571a1b){_0x5d6a97['push'](_0x5d6a97['shift']());}}}(a0_0x4b80,0x2f2c9));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';function a0_0x4b80(){const _0x40f8a7=['374185fgfUxd','18KkaOsf','transitionend','750124oPHokU','84iMkRKQ','1119443IFHoQt','length','removeAttribute','dynamic-menu-portrait','setAttribute','target','click','8vYAZdA','define','firstUpdated','activeTopLevel','settled','dispatchEvent','#force','[menu]','call','active-toplevel','2AYsAbS','closest','667562qdAQCE','addEventListener','6Pzenbr','function','transitionstart','renderRoot','renderMenus','1250540PVXcSK','110dolHri','119300eBNkyT','render','preventDefault','href','properties','styles','stopPropagation','74079EnWydE'];a0_0x4b80=function(){return _0x40f8a7;};return a0_0x4b80();}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x29a6cf(0xae)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x29a6cf(0xad)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['renderMenus'](_0x15c237,_0x31a6c1,_0x589c59){return html`
|
|
2
2
|
<ul>
|
|
3
|
-
${
|
|
4
|
-
<li ?active=${
|
|
5
|
-
<a href=${
|
|
6
|
-
${
|
|
7
|
-
<mwc-icon>${
|
|
8
|
-
${
|
|
3
|
+
${_0x15c237['map'](_0x595679=>{const _0x49d6bb=a0_0xf798;var {type:_0x405085,active:_0x40349c,path:_0x194615,name:_0x218d06,badge:_0x461df9,icon:_0x11303f,menus:_0x24b716}=_0x595679;return _0x40349c=!(!_0x40349c||_0x49d6bb(0xcc)!=typeof _0x40349c)&&_0x40349c['call'](_0x595679,{'path':this['path']}),_0x461df9=_0x49d6bb(0xcc)==typeof _0x461df9?_0x461df9[_0x49d6bb(0xc5)](_0x595679):_0x461df9??!0x1,'group'==_0x405085?html`<li group-label>${_0x218d06}</li>`:html`
|
|
4
|
+
<li ?active=${_0x31a6c1?_0x595679===_0x31a6c1:_0x40349c} .menu=${_0x595679} menu>
|
|
5
|
+
<a href=${_0x194615||'#'}>
|
|
6
|
+
${_0x24b716?.[_0x49d6bb(0xb7)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
|
|
7
|
+
<mwc-icon>${_0x11303f}</mwc-icon>
|
|
8
|
+
${_0x218d06} ${!0x1!==_0x461df9?html`<div badge>${_0x461df9}</div>`:html``}
|
|
9
9
|
</a>
|
|
10
|
-
${
|
|
10
|
+
${_0x24b716&&this[_0x49d6bb(0xcf)](_0x24b716,_0x589c59)}
|
|
11
11
|
</li>
|
|
12
12
|
`;})}
|
|
13
13
|
</ul>
|
|
14
|
-
`;}[
|
|
14
|
+
`;}[a0_0x29a6cf(0xaa)](){const _0x49cc25=a0_0x29a6cf,{menus:_0x3e1506,activeTopLevel:_0x2d66e8,activeMenu:_0x549aec}=this;return this[_0x49cc25(0xcf)](_0x3e1506,_0x2d66e8,_0x549aec);}[a0_0x29a6cf(0xbf)](){const _0x27e005=a0_0x29a6cf;this[_0x27e005(0xce)]['addEventListener'](_0x27e005(0xbc),_0x10b8ce=>{const _0x3bb592=_0x27e005,_0x87c03f=_0x10b8ce[_0x3bb592(0xbb)][_0x3bb592(0xc8)](_0x3bb592(0xc4));if(_0x87c03f?.['menu']){let _0x36020d=_0x87c03f['menu'];_0x36020d['path']||(_0x10b8ce[_0x3bb592(0xaf)](),_0x10b8ce[_0x3bb592(0xab)]()),this[_0x3bb592(0xc2)](new CustomEvent(_0x3bb592(0xc6),{'bubbles':!0x0,'detail':this[_0x3bb592(0xc0)]===_0x36020d?void 0x0:_0x36020d}));}let _0x56352d=_0x10b8ce[_0x3bb592(0xbb)][_0x3bb592(0xac)];_0x56352d&&location[_0x3bb592(0xac)]===_0x56352d&&navigate(_0x56352d+_0x3bb592(0xc3),!0x0);}),this[_0x27e005(0xce)]['addEventListener'](_0x27e005(0xcd),_0x4bab6f=>{const _0x3676bf=_0x27e005;_0x4bab6f[_0x3676bf(0xbb)][_0x3676bf(0xb8)](_0x3676bf(0xc1));}),this[_0x27e005(0xce)][_0x27e005(0xca)](_0x27e005(0xb3),_0x3461f0=>{const _0xed8ab4=_0x27e005;_0x3461f0[_0xed8ab4(0xbb)][_0xed8ab4(0xba)](_0xed8ab4(0xc1),'');});}}customElements[a0_0x29a6cf(0xbe)](a0_0x29a6cf(0xb9),DynamicMenuPortrait);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const a0_0x436656=a0_0x4655;(function(_0x4cb1a7,_0x5d5ebe){const _0x5c547c=a0_0x4655,_0x9764ac=_0x4cb1a7();while(!![]){try{const _0x1d59f7=-parseInt(_0x5c547c(0x10d))/0x1*(-parseInt(_0x5c547c(0x108))/0x2)+-parseInt(_0x5c547c(0x105))/0x3*(parseInt(_0x5c547c(0x109))/0x4)+-parseInt(_0x5c547c(0x104))/0x5+-parseInt(_0x5c547c(0x100))/0x6+parseInt(_0x5c547c(0x10f))/0x7*(parseInt(_0x5c547c(0x10b))/0x8)+-parseInt(_0x5c547c(0x111))/0x9*(parseInt(_0x5c547c(0x103))/0xa)+parseInt(_0x5c547c(0x113))/0xb*(parseInt(_0x5c547c(0x10c))/0xc);if(_0x1d59f7===_0x5d5ebe)break;else _0x9764ac['push'](_0x9764ac['shift']());}catch(_0x32806a){_0x9764ac['push'](_0x9764ac['shift']());}}}(a0_0x3f73,0xa505f));import'@material/mwc-icon';import{css,html,LitElement}from'lit';function a0_0x3f73(){const _0x114f78=['render','resourceId','menus','page','2229900RyrFSC','replaceChild','stateChanged','450QqYCfx','3379590iCWksA','168612lOxGSC','properties','map','2621656KZKZsn','8YTHXMR','slotTemplate','1923208jYSHwV','24KhuykE','1SASbwA','dynamic-top-menu-bar','14oByITz','split','131787tYqMBB','path','3867688FnCpKy','group','route','dyamic-menu-part','metaUI','_activeTopLevel','styles','preventDefault','_findActivePage','has'];a0_0x3f73=function(){return _0x114f78;};return a0_0x3f73();}import{connect}from'pwa-helpers';import{toggleOverlay}from'@operato/layout';import{store}from'@operato/shell';function a0_0x4655(_0x13cb68,_0x43fd1a){const _0x3f73da=a0_0x3f73();return a0_0x4655=function(_0x4655b9,_0x5159f4){_0x4655b9=_0x4655b9-0xf8;let _0x205153=_0x3f73da[_0x4655b9];return _0x205153;},a0_0x4655(_0x13cb68,_0x43fd1a);}export class DynamicTopMenuBar extends connect(store)(LitElement){static get[a0_0x436656(0xf8)](){return css`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: row;
|
|
@@ -48,20 +48,20 @@ function a0_0xb0e3(){const _0x266de4=['_findActivePage','17410eHHupF','name','me
|
|
|
48
48
|
li[active] a mwc-icon {
|
|
49
49
|
opacity: 1;
|
|
50
50
|
}
|
|
51
|
-
`;}static get[
|
|
51
|
+
`;}static get[a0_0x436656(0x106)](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}[a0_0x436656(0xfc)](){const _0x45ed5c=a0_0x436656,{menus:_0x2ed543=[],_activeTopLevel:_0x4f07d9}=this;return html`
|
|
52
52
|
<slot name="head"></slot>
|
|
53
53
|
<ul>
|
|
54
|
-
${
|
|
55
|
-
<li ?active=${
|
|
54
|
+
${_0x2ed543[_0x45ed5c(0x107)](_0x2e2a62=>_0x45ed5c(0x114)==_0x2e2a62['type']?html``:html`
|
|
55
|
+
<li ?active=${_0x2e2a62===_0x4f07d9}>
|
|
56
56
|
<a
|
|
57
57
|
href="#"
|
|
58
|
-
@click=${
|
|
58
|
+
@click=${_0x482390=>{const _0x1aa516=_0x45ed5c;_0x482390[_0x1aa516(0xf9)](),toggleOverlay(_0x1aa516(0x116),{'backdrop':!0x0});}}
|
|
59
59
|
>
|
|
60
|
-
${
|
|
60
|
+
${_0x2e2a62['name']}
|
|
61
61
|
<mwc-icon>expand_more</mwc-icon>
|
|
62
62
|
</a>
|
|
63
63
|
</li>
|
|
64
64
|
`)}
|
|
65
65
|
</ul>
|
|
66
66
|
<slot name="tail"></slot>
|
|
67
|
-
`;}[
|
|
67
|
+
`;}[a0_0x436656(0x102)](_0x1cd513){const _0x429416=a0_0x436656;this['page']=_0x1cd513['route'][_0x429416(0xff)],this[_0x429416(0xfd)]=_0x1cd513[_0x429416(0x115)][_0x429416(0xfd)],this[_0x429416(0xfe)]=_0x1cd513[_0x429416(0x117)][_0x429416(0xfe)]||[],this[_0x429416(0x10a)]=_0x1cd513[_0x429416(0x117)][_0x429416(0x10a)];}['updated'](_0x5732a4){const _0x3416fa=a0_0x436656;(_0x5732a4['has'](_0x3416fa(0xfe))||_0x5732a4[_0x3416fa(0xfb)](_0x3416fa(0xff))||_0x5732a4[_0x3416fa(0xfb)](_0x3416fa(0xfd)))&&this[_0x3416fa(0xfa)](),_0x5732a4['has']('slotTemplate')&&this[_0x3416fa(0x101)](this[_0x3416fa(0x10a)]);}[a0_0x436656(0xfa)](){const _0x14b543=a0_0x436656;var _0x34499a=this[_0x14b543(0xfd)]?this[_0x14b543(0xff)]+'/'+this[_0x14b543(0xfd)]:this[_0x14b543(0xff)],_0x291eb5=this[_0x14b543(0xfe)]||[];this[_0x14b543(0x118)]=_0x291eb5['find'](_0x443beb=>_0x443beb[_0x14b543(0x112)]?.['split']('?')[0x0]===_0x34499a||(_0x443beb['menus']?!!_0x443beb[_0x14b543(0xfe)]['find'](_0xaf7400=>_0xaf7400[_0x14b543(0x112)]?.[_0x14b543(0x110)]('?')[0x0]===_0x34499a):void 0x0));}}customElements['define'](a0_0x436656(0x10e),DynamicTopMenuBar);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/meta-ui",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.54",
|
|
4
4
|
"main": "server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/lite-menu": "^6.2.
|
|
28
|
-
"@things-factory/menu-base": "^6.2.
|
|
27
|
+
"@things-factory/lite-menu": "^6.2.54",
|
|
28
|
+
"@things-factory/menu-base": "^6.2.54",
|
|
29
29
|
"@things-factory/operato-license-checker": "^4.0.4",
|
|
30
|
-
"@things-factory/shell": "^6.2.
|
|
30
|
+
"@things-factory/shell": "^6.2.52"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "db6b9a9109a090c4dd705058949fce624f15b0ef"
|
|
33
33
|
}
|