qms-angular 1.0.94 → 1.0.97

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.
Files changed (32) hide show
  1. package/bundles/qms-angular.umd.js +143 -55
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/components/breadcrumb/breadcrumb-item.directive.js +4 -6
  4. package/esm2015/lib/components/breadcrumb/breadcrumb.js +34 -19
  5. package/esm2015/lib/components/breadcrumb/breadcrumb.module.js +6 -2
  6. package/esm2015/lib/components/breadcrumb/enum/breadcrumb-type.js +7 -0
  7. package/esm2015/lib/components/breadcrumb/model/breadcrumb-node.model.js +1 -1
  8. package/esm2015/lib/components/comment/comment.js +1 -1
  9. package/esm2015/lib/components/related/list-other-related/list-related.component.js +3 -3
  10. package/esm2015/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.js +3 -20
  11. package/esm2015/lib/directives/chip-input/chip-input-select-dropdown.directive.js +4 -4
  12. package/esm2015/lib/model/en.js +3 -1
  13. package/esm2015/lib/model/no.js +3 -1
  14. package/esm2015/lib/qms-angular.module.js +4 -4
  15. package/esm2015/lib/utils/qms-mfe.utils.js +56 -0
  16. package/esm2015/public-api.js +4 -1
  17. package/fesm2015/qms-angular.js +114 -52
  18. package/fesm2015/qms-angular.js.map +1 -1
  19. package/lib/components/breadcrumb/breadcrumb.d.ts +10 -5
  20. package/lib/components/breadcrumb/enum/breadcrumb-type.d.ts +5 -0
  21. package/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.d.ts +0 -2
  22. package/lib/directives/chip-input/chip-input-select-dropdown.directive.d.ts +1 -1
  23. package/lib/model/en.d.ts +2 -0
  24. package/lib/model/no.d.ts +2 -0
  25. package/lib/utils/qms-mfe.utils.d.ts +18 -0
  26. package/package.json +1 -1
  27. package/public-api.d.ts +2 -0
  28. package/qms-angular.metadata.json +1 -1
  29. package/src/assets/qms-ckeditor-plugin/package-lock.json +601 -151
  30. package/src/lib/components/breadcrumb/breadcrumb.scss +174 -79
  31. package/src/lib/components/related/list-other-related/list-related.component.scss +32 -11
  32. package/src/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.scss +29 -33
@@ -1,101 +1,196 @@
1
1
  @import "../../../themes/theme/variable";
2
2
  @import "../../../themes/theme/mixins";
3
3
 
4
- .breadcrumb-container{
4
+ .breadcrumb-container {
5
+ display: flex;
6
+ font-family: Open Sans;
7
+ font-size: 14px;
8
+ font-weight: 600;
9
+ color: #323232;
10
+ .qms-breadcrumb-item,
11
+ .qms-breadcrumb-direction-icon {
5
12
  display: flex;
6
- font-family: Open Sans;
7
- font-size: 14px;
8
- font-weight: 600;
9
- color: #323232;
10
- .qms-breadcrumb-item, .qms-breadcrumb-direction-icon{
11
- display: flex;
12
- align-items: center;
13
- padding: 3px 0 2px 0;
14
- }
13
+ align-items: center;
14
+ padding: 3px 0 2px 0;
15
+ }
15
16
 
16
- .qms-breadcrumb-direction-icon{
17
- .mat-icon{
18
- width: 18px;
19
- height: 18px;
20
- font-size: 18px;
21
- margin-left: 0.5rem;
22
- margin-right: 0.5rem;
23
- }
17
+ .qms-breadcrumb-direction-icon {
18
+ .mat-icon {
19
+ width: 18px;
20
+ height: 18px;
21
+ font-size: 18px;
22
+ margin-left: 0.5rem;
23
+ margin-right: 0.5rem;
24
24
  }
25
+ }
26
+
27
+ .item-icon {
28
+ margin-right: 2px;
29
+ }
30
+ .qms-breadcrumb-item {
31
+ cursor: inherit;
32
+ margin: 8px 8px 8px 0;
25
33
 
26
- .item-icon{
27
- margin-right: 2px;
34
+ .qms-btn-icon {
35
+ width: 1.5rem;
36
+ height: 1.5rem;
37
+ line-height: 2rem;
28
38
  }
29
- .qms-breadcrumb-item{
30
- cursor: inherit;
31
- .qms-btn-icon{
32
- width: 1.5rem;
33
- height: 1.5rem;
34
- line-height: 2rem;
35
- }
36
- .qms-breadcrumb-item-text{
37
- max-width: 240px;
38
- text-overflow: ellipsis;
39
- overflow: hidden;
40
- white-space: nowrap;
41
- }
42
-
43
- .breadcrumb__dropdown-btn{
44
- width: 2rem;
45
- height: 2rem;
46
- svg{
47
- display: block;
48
- }
49
- }
39
+ .qms-breadcrumb-item-overflow {
40
+ max-width: 240px;
41
+ text-overflow: ellipsis;
42
+ overflow: hidden;
43
+ white-space: nowrap;
50
44
  }
51
45
 
52
- .qms-breadcrumb-last-item{
46
+ .breadcrumb__dropdown-btn {
47
+ width: 2rem;
48
+ height: 2rem;
49
+ svg {
50
+ display: block;
51
+ }
52
+ }
53
+ }
54
+
55
+ .qms-breadcrumb-last-item {
56
+ color: black(0.6);
57
+ font-weight: 400;
58
+ cursor: not-allowed;
59
+ }
60
+
61
+ .mat-drawer-container {
62
+ z-index: 3;
63
+ background-color: transparent;
64
+ }
65
+ }
66
+
67
+ .qms-breadcrumb-table {
68
+ .breadcrumb-container {
69
+ .qms-breadcrumb-direction-icon {
70
+ .mat-icon {
71
+ width: 12px;
72
+ height: 12px;
73
+ font-size: 12px;
74
+ margin-left: 0.25rem;
75
+ margin-right: 0.25rem;
53
76
  color: black(0.6);
77
+ }
78
+ }
79
+
80
+ .item-icon {
81
+ margin-right: 1px;
82
+ }
83
+
84
+ .qms-breadcrumb-item {
85
+ .qms-breadcrumb-item-text {
86
+ font-size: 12px;
54
87
  font-weight: 400;
55
- cursor: not-allowed;
88
+ color: black(0.6);
89
+ }
90
+ .qms-breadcrumb-item-overflow {
91
+ max-width: 200px;
92
+ text-overflow: ellipsis;
93
+ overflow: hidden;
94
+ white-space: nowrap;
95
+ }
56
96
  }
97
+ }
57
98
  }
58
99
 
59
- .qms-breadcrumb-table{
60
- .breadcrumb-container{
61
- .qms-breadcrumb-direction-icon{
62
- .mat-icon{
63
- width: 12px;
64
- height: 12px;
65
- font-size: 12px;
66
- margin-left: 0.25rem;
67
- margin-right: 0.25rem;
68
- color: black(0.6);
69
- }
70
- }
71
-
72
- .item-icon{
73
- margin-right: 1px;
74
- }
75
-
76
- .qms-breadcrumb-item{
77
- .qms-breadcrumb-item-text{
78
- max-width: 200px;
79
- text-overflow: ellipsis;
80
- overflow: hidden;
81
- white-space: nowrap;
82
- font-size: 12px;
83
- font-weight: 400;
84
- color: black(0.6);
85
- }
86
- }
87
- }
100
+ .qms-breadcrumb__multi-line {
101
+ .breadcrumb-container {
102
+ flex-wrap: wrap;
103
+ }
88
104
  }
89
105
 
90
- .qms-breadcrumb__multi-line{
91
- .breadcrumb-container{
92
- flex-wrap: wrap;
93
- }
106
+ .qms-breadcrumb-menu {
107
+ .qms-dropdown-menu-item {
108
+ border: none;
109
+ }
94
110
  }
95
111
 
112
+ .breadcrumb-sidenav {
113
+ display: flex;
114
+ align-items: center;
115
+ justify-content: center;
116
+ width: 100%;
117
+ background: white;
118
+ z-index: 3;
119
+
120
+ .header {
121
+ font-family: "Open Sans";
122
+ font-style: normal;
123
+ background-color: theme-apply($background-area);
124
+ height: 71px;
125
+ display: flex;
126
+ justify-content: space-between;
127
+ padding: 16px;
128
+
129
+ p {
130
+ font-weight: 600;
131
+ font-size: 18px;
132
+ line-height: 25px;
133
+ color: theme-apply($default-color);
134
+ margin-bottom: 0;
135
+ }
96
136
 
97
- .qms-breadcrumb-menu{
98
- .qms-dropdown-menu-item{
99
- border: none;
137
+ .sub {
138
+ font-weight: 400;
139
+ font-size: 14px;
140
+ line-height: 22px;
141
+ color: #5a5a5a;
100
142
  }
143
+ }
144
+
145
+ .content {
146
+ padding: 0 16px 16px 16px;
147
+ height: calc(100vh - 71px);
148
+ overflow: auto;
149
+
150
+ .qms-list-option {
151
+ height: unset !important;
152
+
153
+ .mat-list-text {
154
+ padding-right: 0 !important;
155
+ padding-left: 0 !important;
156
+ }
157
+
158
+ .mat-list-item-content {
159
+ border-bottom: 1px solid #e0e0e0;
160
+ padding: 8px;
161
+ }
162
+ }
163
+ }
164
+
165
+ .content-text-name {
166
+ display: flex;
167
+ align-items: center;
168
+ justify-content: space-between;
169
+
170
+ .content-text-name-heading {
171
+ display: flex;
172
+ align-items: center;
173
+ color: theme-apply($default-color);
174
+
175
+ .item-icon {
176
+ margin-right: 10px;
177
+ color: theme-apply($tab-border);
178
+ }
179
+ }
180
+
181
+ .color-gray {
182
+ color: theme-apply($tab-border);
183
+ }
184
+ }
185
+ }
186
+
187
+ .more_horiz-btn.qms-btn-icon {
188
+ width: 1.5rem;
189
+ height: 1.5rem;
190
+ line-height: 2rem;
191
+ margin: 8px 0px 8px 8px;
192
+ }
193
+
194
+ .subdirectory_arrow_right {
195
+ color: #0163b2;
101
196
  }
@@ -15,8 +15,13 @@
15
15
  margin-bottom: 1rem;
16
16
  }
17
17
 
18
- .list-related__body {
18
+ .list-related__body {
19
19
  .list-related__body-parent {
20
+
21
+ .qms-list-item {
22
+ height: unset !important;
23
+ }
24
+
20
25
  .qms-list-item.mat-2-line.image-item {
21
26
  height: auto;
22
27
  }
@@ -45,15 +50,6 @@
45
50
  }
46
51
  }
47
52
 
48
- .breadcrumb-containe {
49
- .qms-breadcrumb-item {
50
- .mat-icon {
51
- font-size: 16px!important;
52
- padding-bottom: 1px;
53
- }
54
- }
55
- }
56
-
57
53
  min-height: 48px;
58
54
  display: flex;
59
55
  align-items: center;
@@ -74,7 +70,7 @@
74
70
 
75
71
  .caption {
76
72
  color: black(0.6);
77
- font-size:0.75rem;
73
+ font-size: 0.75rem;
78
74
  line-height: 22px;
79
75
  }
80
76
  }
@@ -134,6 +130,31 @@
134
130
  margin-left: 3rem;
135
131
  }
136
132
  }
133
+
134
+ .qms-line {
135
+ display: flex;
136
+ align-items: center;
137
+ }
138
+
139
+ .breadcrumb-container .qms-breadcrumb-item {
140
+ cursor: inherit;
141
+ line-height: 16px;
142
+ font-size: 0.75rem;
143
+ color: black(0.6);
144
+ font-weight: 400;
145
+ line-height: 22px;
146
+ }
147
+
148
+ .trailing-box {
149
+ display: flex;
150
+ align-items: center;
151
+
152
+ button {
153
+ height: 24px;
154
+ width: 24px;
155
+ line-height: 24px;
156
+ }
157
+ }
137
158
  }
138
159
  }
139
160
 
@@ -1,42 +1,35 @@
1
1
  .qms-report-cover-portrait-container {
2
2
  background-color: rgba(255, 255, 255, 1);
3
3
 
4
- .cover-header {
5
- height: 75px;
6
- display: flex;
7
- justify-content: flex-end;
8
- padding: 25px 30px;
9
- .robin-container {
10
- display: flex;
11
- }
12
- }
13
-
14
4
  .cover-content {
15
- margin-top: 125px;
16
5
  margin-bottom: 50px;
17
- padding: 0 50px;
18
6
 
19
- .report-module-name {
20
- .module-name {
21
- max-width: 100%;
22
- font-family: 'Open Sans';
23
- font-weight: 400;
24
- font-size: 14px;
25
- line-height: 20px;
26
- word-break: break-word;
7
+ .cover-title {
8
+ display: flex;
9
+ height: 450px; // reserved space for long title to span upward
10
+ flex-direction: column;
11
+ justify-content: flex-end;
12
+ .report-module-name {
13
+ .module-name {
14
+ max-width: 100%;
15
+ font-family: 'Open Sans';
16
+ font-weight: 400;
17
+ font-size: 14pt;
18
+ line-height: 20pt;
19
+ word-break: break-word;
20
+ }
27
21
  }
28
- }
29
22
 
30
- .report-title {
31
- height: 137px;
32
- margin-bottom: 15px;
33
- .title {
34
- max-width: 100%;
35
- font-weight: 600;
36
- font-size: 44px;
37
- line-height: 52px;
38
- font-family: 'Raleway';
39
- word-break: break-word;
23
+ .report-title {
24
+ margin-bottom: 32px;
25
+ .title {
26
+ max-width: 100%;
27
+ font-weight: 600;
28
+ font-size: 33pt;
29
+ line-height: 39pt;
30
+ font-family: 'Open Sans';
31
+ word-break: break-word;
32
+ }
40
33
  }
41
34
  }
42
35
 
@@ -46,8 +39,8 @@
46
39
  border-radius: 4px;
47
40
  .content-item {
48
41
  font-family: 'Open Sans';
49
- font-size: 10px;
50
- line-height: 16px;
42
+ font-size: 10pt;
43
+ line-height: 16pt;
51
44
  margin-bottom: 16px;
52
45
  .title {
53
46
  font-weight: 600;
@@ -56,6 +49,9 @@
56
49
  font-weight: 400;
57
50
  }
58
51
  }
52
+ .content-item:last-child {
53
+ margin-bottom: 0px;
54
+ }
59
55
 
60
56
  .underline {
61
57
  padding-bottom: 16px;