@c8y/ng1-modules 1018.175.0 → 1018.176.0
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/core/cumulocity.json
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"ui/navigation/navigatorNode.component.js",
|
|
13
13
|
"ui/providers/navigator.js",
|
|
14
14
|
"ui/services/docs.js",
|
|
15
|
-
"ui/header/rightDrawer.component.js",
|
|
16
15
|
"node_modules/css-vars-ponyfill/dist/css-vars-ponyfill.js",
|
|
17
16
|
"node_modules/qrcode-generator/qrcode.js",
|
|
18
17
|
"ui/providers/views.js"
|
|
@@ -215,7 +214,6 @@
|
|
|
215
214
|
"ui/providers/mapConfig.js",
|
|
216
215
|
"ui/providers/navigator.js",
|
|
217
216
|
"ui/controllers/mcontainer.js",
|
|
218
|
-
"ui/header/rightDrawer.component.js",
|
|
219
217
|
"ui/header/accessDeniedModal.controller.js",
|
|
220
218
|
"ui/header/actions.component.js",
|
|
221
219
|
"ui/header/actions.provider.js",
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";!function(){function n(n,t,i,e,c){var o=this;_.assign(o,{$onInit:function(){c.list().then(function(n){o.quickLinks=n}),e.list().then(function(n){o.helpAndSupport=n}),t.getCurrent().then(function(n){o.appName=n.name})},onClick:function(n,t){t&&(t(),n.preventDefault())},shouldShow:function(n){return void 0===n.if||n.if}})}n.$inject=["c8yBase","c8yApplication","c8yAlert","c8yDocs","c8yQuickLinks"],angular.module("c8y.ui").component("c8yRightDrawer",{templateUrl:":::PLUGIN_PATH:::/ui/header/rightDrawer.html",controller:n,controllerAs:"vm"})}();
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<div class="c8y-right-drawer">
|
|
2
|
-
<div class="summary">
|
|
3
|
-
<h4 class="text-medium" translate>Welcome to {{ vm.appName | humanizeAppName }}</h4>
|
|
4
|
-
</div>
|
|
5
|
-
|
|
6
|
-
<div ng-if="vm.quickLinks.length">
|
|
7
|
-
<div class="legend form-block" translate>Quick links</div>
|
|
8
|
-
<div class="quick-links-drawer">
|
|
9
|
-
<a
|
|
10
|
-
title="{{ quickLink.label | translate }}"
|
|
11
|
-
ng-if="vm.shouldShow(quickLink)"
|
|
12
|
-
ng-href="{{ quickLink.url || '#' }}"
|
|
13
|
-
ng-click="quickLink.click && $event.preventDefault(); quickLink.click();"
|
|
14
|
-
class="quick-link"
|
|
15
|
-
ng-repeat="quickLink in vm.quickLinks | orderBy: priority"
|
|
16
|
-
>
|
|
17
|
-
<i class="{{ quickLink.icon }}" class="icon-32"></i>
|
|
18
|
-
<img
|
|
19
|
-
ng-if="quickLink.iconSrc"
|
|
20
|
-
ng-src="{{ quickLink.iconSrc }}"
|
|
21
|
-
style="max-width: 50px"
|
|
22
|
-
class="img-responsive center-block"
|
|
23
|
-
onerror="this.style.display = 'none'"
|
|
24
|
-
/>
|
|
25
|
-
<span>{{ quickLink.label | translate }}</span>
|
|
26
|
-
</a>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div ng-if="vm.helpAndSupport.length">
|
|
31
|
-
<div class="legend form-block m-t-24" data-cy="rightDrawerHelpSupport" translate>
|
|
32
|
-
Help and support
|
|
33
|
-
</div>
|
|
34
|
-
<div class="help-support" ng-repeat="link in vm.helpAndSupport">
|
|
35
|
-
<a
|
|
36
|
-
type="button"
|
|
37
|
-
title="{{ link.label | translate }}"
|
|
38
|
-
class="help-and-support-link text-truncate"
|
|
39
|
-
target="_blank"
|
|
40
|
-
rel="noopener noreferrer"
|
|
41
|
-
ng-href="{{ link.url }}"
|
|
42
|
-
>
|
|
43
|
-
<i c8y-icon="{{ link.icon }}"></i>
|
|
44
|
-
<span title="{{ link.label | translate }}" class="d-inline">
|
|
45
|
-
{{ link.label | translate }}
|
|
46
|
-
</span>
|
|
47
|
-
</a>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|