@c8y/ng1-modules 1018.129.0 → 1018.130.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/ng1-modules",
3
- "version": "1018.129.0",
3
+ "version": "1018.130.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "AngularJS modules for Cumulocity IoT applications.",
@@ -6,65 +6,54 @@
6
6
  template-url=":::PLUGIN_PATH:::/tenantPolicyDetail/accordion.html"
7
7
  >
8
8
  <uib-accordion-heading>
9
- <div class="col-sm-1">
10
- <button
11
- class="btn-clean"
12
- type="button"
13
- aria-label="{{ vm.dataTypes[vm.rule.dataType].label | translate }}"
14
- uib-tooltip="{{ vm.dataTypes[vm.rule.dataType].label | translate }}"
15
- tooltip-popup-delay="500"
16
- tooltip-trigger="'mouseenter'"
17
- >
18
- <i c8y-icon="{{ vm.dataTypes[vm.rule.dataType].icon }}"></i>
19
- </button>
20
- </div>
21
- <div class="col-sm-3 col-xs-12">
22
- <button
23
- class="btn-clean"
24
- type="button"
25
- aria-label="{{ 'Fragment type' | translate }}"
26
- uib-tooltip="{{ 'Fragment type' | translate }}"
27
- tooltip-popup-delay="500"
28
- tooltip-trigger="'mouseenter'"
29
- >
30
- {{ vm.rule.fragmentType }}
31
- </button>
32
- </div>
33
- <div class="col-sm-3 col-xs-12">
34
- <button
35
- class="btn-clean"
36
- type="button"
37
- aria-label="{{ 'Type' | translate }}"
38
- uib-tooltip="{{ 'Type' | translate }}"
39
- tooltip-popup-delay="500"
40
- tooltip-trigger="'mouseenter'"
41
- >
42
- {{ vm.rule.type }}
43
- </button>
44
- </div>
45
- <div class="col-sm-3 col-xs-12">
46
- <button
47
- class="btn-clean"
48
- type="button"
49
- aria-label="{{ 'Maximum age' | translate }}"
50
- uib-tooltip="{{ 'Maximum age' | translate }}"
51
- tooltip-popup-delay="500"
52
- tooltip-trigger="'mouseenter'"
53
- >
54
- <i c8y-icon="calendar"></i>
55
- <span
56
- ng-show="vm.rule.maximumAge !== undefined"
57
- translate
58
- translate-n="vm.rule.maximumAge"
59
- translate-plural="{{ $count }} days"
60
- >
61
- 1 day
62
- </span>
63
- <span ng-show="vm.rule.maximumAge === undefined">---</span>
64
- </button>
9
+ <div class="d-flex flex-grow flex-wrap p-t-4 p-b-4 min-width-0">
10
+ <div class="col-sm-2 col-xs-6 p-b-xs-8">
11
+ <div class="text-label-small">{{ 'Data type' | translate }}</div>
12
+ <div class="text-truncate">
13
+ <i c8y-icon="{{ vm.dataTypes[vm.rule.dataType].icon }}"></i>
14
+ <span
15
+ title="{{ vm.dataTypes[vm.rule.dataType].label | translate }}"
16
+ >
17
+ {{ vm.dataTypes[vm.rule.dataType].label | translate }}
18
+ </span>
19
+ </div>
20
+ </div>
21
+ <div class="col-sm-4 col-xs-6 p-b-xs-8">
22
+ <div class="text-label-small">
23
+ {{ 'Fragment type' | translate }}
24
+ </div>
25
+ <div class="text-truncate" title="{{ vm.rule.fragmentType }}">
26
+ {{ vm.rule.fragmentType }}
27
+ </div>
28
+ </div>
29
+ <div class="col-sm-3 col-xs-6 p-b-xs-8">
30
+ <div class="text-label-small">
31
+ {{ 'Type' | translate }}
32
+ </div>
33
+ <div class="text-truncate" title="{{ vm.rule.type }}">
34
+ {{ vm.rule.type }}
35
+ </div>
36
+ </div>
37
+ <div class="col-sm-3 col-xs-6 p-b-xs-8">
38
+ <div class="text-label-small">
39
+ {{ 'Maximum age' | translate }}
40
+ </div>
41
+ <div class="icon-flex">
42
+ <i c8y-icon="calendar"></i>
43
+ <span
44
+ ng-show="vm.rule.maximumAge !== undefined"
45
+ translate
46
+ translate-n="vm.rule.maximumAge"
47
+ translate-plural="{{ $count }} days"
48
+ >
49
+ 1 day
50
+ </span>
51
+ <span ng-show="vm.rule.maximumAge === undefined">---</span>
52
+ </div>
53
+ </div>
65
54
  </div>
66
55
 
67
- <div class="col-sm-2 col-xs-4 text-right">
56
+ <div class="col-md-2 col-xs-4 flex-no-shrink text-right p-t-4 p-b-4">
68
57
  <button
69
58
  class="showOnHover btn btn-dot btn-dot--danger"
70
59
  type="button"
@@ -6,44 +6,32 @@
6
6
  template-url=":::PLUGIN_PATH:::/tenantPolicyDetail/accordion.html"
7
7
  >
8
8
  <uib-accordion-heading>
9
- <div class="col-sm-4 col-xs-12">
10
- <button
11
- class="btn-clean"
12
- type="button"
13
- aria-label="{{ 'Category' | translate }}"
14
- uib-tooltip="{{ 'Category' | translate }}"
15
- tooltip-popup-delay="500"
16
- tooltip-trigger="'mouseenter'"
17
- >
18
- {{ vm.option.category }}
19
- </button>
20
- </div>
21
- <div class="col-sm-3 col-xs-12">
22
- <button
23
- class="btn-clean"
24
- type="button"
25
- aria-label="{{ 'Key' | translate }}"
26
- uib-tooltip="{{ 'Key' | translate }}"
27
- tooltip-popup-delay="500"
28
- tooltip-trigger="'mouseenter'"
29
- >
30
- {{ vm.option.key }}
31
- </button>
32
- </div>
33
- <div class="col-sm-3 col-xs-12">
34
- <button
35
- class="btn-clean"
36
- type="button"
37
- aria-label="{{ 'Value' | translate }}"
38
- uib-tooltip="{{ 'Value' | translate }}"
39
- tooltip-trigger="'mouseenter'"
40
- tooltip-popup-delay="500"
41
- >
42
- {{ vm.option.value }}
43
- </button>
9
+ <div class="d-flex flex-wrap flex-grow">
10
+ <div class="col-sm-6 col-xs-12 p-t-4 p-b-4">
11
+ <div class="text-label-small">
12
+ {{ 'Category' | translate }}
13
+ </div>
14
+ <div class="text-truncate" title="{{ vm.option.category }}">{{ vm.option.category }}</div>
15
+ </div>
16
+ <div class="col-sm-3 col-xs-6 p-t-4 p-b-4">
17
+ <div class="text-label-small">
18
+ {{ 'Key' | translate }}
19
+ </div>
20
+ <div class="text-truncate" title="{{ vm.option.key }}">
21
+ {{ vm.option.key }}
22
+ </div>
23
+ </div>
24
+ <div class="col-sm-3 col-xs-6 p-t-4 p-b-4">
25
+ <div class="text-label-small">
26
+ {{ 'Value' | translate }}
27
+ </div>
28
+ <div class="text-truncate" title="{{ vm.option.value }}">
29
+ {{ vm.option.value }}
30
+ </div>
31
+ </div>
44
32
  </div>
45
33
 
46
- <div class="col-sm-2 col-xs-4 text-right">
34
+ <div class="col-md-3 col-xs-4 flex-no-shrink text-right p-t-4 p-b-4">
47
35
  <button
48
36
  class="showOnHover btn btn-dot btn-dot--danger"
49
37
  ng-class="{ open: popoverIsOpen }"
@@ -4,7 +4,7 @@
4
4
  ng-click="toggleOpen()"
5
5
  uib-accordion-transclude="heading"
6
6
  >
7
- <div uib-accordion-header class="row d-flex a-i-center" ng-class="{ 'text-muted': isDisabled }">
7
+ <div uib-accordion-header class="row d-flex" ng-class="{ 'text-muted': isDisabled }">
8
8
  {{ heading }}
9
9
  </div>
10
10
  </div>
@@ -14,7 +14,7 @@
14
14
 
15
15
  <form name="vm.policyForm" novalidate>
16
16
  <div class="row">
17
- <div class="col-md-8 col-xs-12">
17
+ <div class="col-lg-9 col-xs-12">
18
18
  <div class="card card--fullpage">
19
19
  <div class="card-header separator">
20
20
  <div class="card-title">