qms-angular 1.0.90 → 1.0.93

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 (47) hide show
  1. package/bundles/qms-angular.umd.js +81 -40
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/components/banner/models/qms-banner.model.js +9 -1
  4. package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.js +8 -4
  5. package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.module.js +7 -4
  6. package/esm2015/lib/components/button/button-toggle.js +1 -1
  7. package/esm2015/lib/components/button/button.js +1 -1
  8. package/esm2015/lib/components/list/list.js +2 -2
  9. package/esm2015/lib/components/related/popup/related-popup.component.js +1 -1
  10. package/esm2015/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.js +28 -7
  11. package/esm2015/lib/components/select-include-children/select-include-children.component.js +1 -1
  12. package/esm2015/lib/components/select-process-document/select-process-document.component.js +1 -1
  13. package/esm2015/lib/components/tree/tree.component.js +1 -1
  14. package/esm2015/lib/components/treeNew/tree.component.js +1 -1
  15. package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +1 -1
  16. package/esm2015/lib/qms-ckeditor-components/common/helper/fileHelper.js +15 -0
  17. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +5 -18
  18. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +9 -3
  19. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +2 -2
  20. package/fesm2015/qms-angular.js +79 -39
  21. package/fesm2015/qms-angular.js.map +1 -1
  22. package/lib/components/banner/models/qms-banner.model.d.ts +10 -0
  23. package/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.d.ts +2 -1
  24. package/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.d.ts +7 -3
  25. package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +1 -1
  26. package/lib/qms-ckeditor-components/common/helper/fileHelper.d.ts +1 -0
  27. package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +0 -1
  28. package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +3 -1
  29. package/package.json +1 -1
  30. package/qms-angular.metadata.json +1 -1
  31. package/src/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.scss +14 -0
  32. package/src/lib/components/button/button-icon.scss +1 -1
  33. package/src/lib/components/button/button-toggle.scss +27 -70
  34. package/src/lib/components/list/_list-expansion.scss +11 -7
  35. package/src/lib/components/list/list.scss +2 -1
  36. package/src/lib/components/related/popup/related-popup.component.scss +0 -1
  37. package/src/lib/components/reports/qms-report-cover-portrait/qms-report-cover-portrait.component.scss +1 -2
  38. package/src/lib/components/select-include-children/select-include-children.component.scss +0 -1
  39. package/src/lib/components/select-process-document/select-process-document.component.scss +0 -1
  40. package/src/lib/components/tree/tree.component.scss +1 -1
  41. package/src/lib/components/treeNew/tree.component.scss +1 -1
  42. package/src/themes/core/_checkbox.scss +39 -38
  43. package/src/themes/core/_date-picker.scss +2 -2
  44. package/src/themes/core/_radio.scss +27 -79
  45. package/src/themes/core/_slide-toggle.scss +43 -36
  46. package/src/themes/core/_table.scss +1 -1
  47. package/src/themes/theme/_variable.scss +15 -6
@@ -35,6 +35,20 @@
35
35
  button {
36
36
  margin-left: 16px;
37
37
  }
38
+
39
+ &.banner-confirm-buttons {
40
+ ::ng-deep {
41
+ button{
42
+ &.qms-btn-icon.qms-btn-disabled {
43
+ background: transparent;
44
+ }
45
+
46
+ &.qms-btn-text.qms-btn-disabled {
47
+ background: transparent;
48
+ }
49
+ }
50
+ }
51
+ }
38
52
  }
39
53
  }
40
54
 
@@ -91,7 +91,7 @@ $size: 48px;
91
91
 
92
92
  &:not([disabled]):hover,
93
93
  &:not([disabled]):focus {
94
- background-color: theme-apply($primary-light-3-opacity);
94
+ background-color: theme-apply($primary-light-12-opacity);
95
95
  color: theme-apply($primary);
96
96
  }
97
97
 
@@ -21,7 +21,6 @@
21
21
  line-height: 16px;
22
22
 
23
23
  &.qms-button-toggle-appearance-standard {
24
- background-color: white;
25
24
  color: theme-apply($default-color);
26
25
  position: relative;
27
26
 
@@ -30,11 +29,12 @@
30
29
  }
31
30
 
32
31
  &:hover {
33
- background-color: theme-apply($primary-light-3-opacity);
32
+ background-color: theme-apply($primary-light-24-opacity) !important;
33
+ color: theme-apply($primary);
34
34
  }
35
35
 
36
36
  &.qms-button-toggle-checked {
37
- background-color: theme-apply($primary-light-3-opacity);
37
+ background-color: theme-apply($primary-light-12-opacity);
38
38
  color: theme-apply($primary);
39
39
  }
40
40
 
@@ -45,37 +45,18 @@
45
45
  }
46
46
 
47
47
  &.cdk-keyboard-focused {
48
- &::after {
49
- content: "";
50
- display: block;
51
- position: absolute;
52
- top: 0;
53
- right: 0;
54
- width: 3px;
55
- height: 100%;
56
- background: theme-apply($primary-light);
57
- }
58
-
59
- &:before {
60
- content: "";
61
- display: block;
62
- position: absolute;
63
- top: 0;
64
- right: 0;
65
- bottom: 0;
66
- left: 0;
67
- border: 3px solid theme-apply($primary-light);
68
- }
48
+ background-color: theme-apply($primary-light-24-opacity) !important;
49
+ color: theme-apply($primary);
69
50
  }
70
51
  }
71
52
 
72
53
  &.qms-button-toggle-appearance-active {
73
- background-color: theme-apply($primary-light-3-opacity);
54
+ background-color: theme-apply($primary-light-12-opacity);
74
55
  color: theme-apply($primary);
75
56
 
76
57
  &:hover {
77
- background-color: theme-apply($primary);
78
- color: white;
58
+ background-color: theme-apply($primary) !important;;
59
+ color: white !important;;
79
60
  }
80
61
 
81
62
  &.qms-button-toggle-checked {
@@ -90,41 +71,26 @@
90
71
  }
91
72
 
92
73
  &.cdk-keyboard-focused {
93
- &::after {
94
- content: "";
95
- display: block;
96
- position: absolute;
97
- top: 0;
98
- right: 0;
99
- width: 3px;
100
- height: 100%;
101
- background: theme-apply($primary-light);
102
- }
103
-
104
- &:before {
105
- content: "";
106
- display: block;
107
- position: absolute;
108
- top: 0;
109
- right: 0;
110
- bottom: 0;
111
- left: 0;
112
- border: 3px solid theme-apply($primary-light);
113
- }
74
+ background-color: theme-apply($primary-light) !important;
75
+ color: white !important;;
114
76
  }
115
77
  }
116
78
 
117
79
  &.qms-button-toggle-appearance-dark {
118
80
  background-color: theme-apply($default-color);
119
- color: rgba(255, 255, 255, 0.6);
81
+ color: white(0.6);
120
82
 
121
83
  .mat-icon {
122
84
  color: theme-apply($primary-light-32-opacity);
123
85
  }
124
86
 
125
87
  &:hover {
126
- background-color: theme-apply($primary-lighter);
127
- color: theme-apply($primary);
88
+ background-color: theme-apply($primary-lighter) !important;;
89
+ color: theme-apply($primary) !important;;
90
+
91
+ mat-icon, .mat-icon {
92
+ color: theme-apply($primary) !important;;
93
+ }
128
94
  }
129
95
 
130
96
  &.qms-button-toggle-checked {
@@ -143,26 +109,11 @@
143
109
  }
144
110
 
145
111
  &.cdk-keyboard-focused {
146
- &::after {
147
- content: "";
148
- display: block;
149
- position: absolute;
150
- top: 0;
151
- right: 0;
152
- width: 3px;
153
- height: 100%;
154
- background: theme-apply($primary-light);
155
- }
112
+ background-color: theme-apply($primary-lighter) !important;
113
+ color: theme-apply($primary) !important;
156
114
 
157
- &:before {
158
- content: "";
159
- display: block;
160
- position: absolute;
161
- top: 0;
162
- right: 0;
163
- bottom: 0;
164
- left: 0;
165
- border: 3px solid theme-apply($primary-light);
115
+ mat-icon, .mat-icon {
116
+ color: theme-apply($primary) !important;;
166
117
  }
167
118
  }
168
119
  }
@@ -171,6 +122,12 @@
171
122
  cursor: default !important;
172
123
  background: #e4e4e4 !important;
173
124
  color: rgba(0, 0, 0, 0.38) !important;
125
+ user-select: none;
126
+
127
+ button {
128
+ cursor: default !important;
129
+ user-select: none;
130
+ }
174
131
 
175
132
  .mat-icon {
176
133
  color: rgba(0, 0, 0, 0.38) !important;
@@ -1,4 +1,7 @@
1
+ @import "../../../themes/core/variables";
1
2
  @import "../../../themes/core/typography";
3
+ @import "../../../themes/theme/variable";
4
+ @import "../../../themes/theme/mixins";
2
5
 
3
6
  .mat-expansion-panel {
4
7
  &.qms-expansion {
@@ -38,7 +41,8 @@
38
41
 
39
42
  .qms-list-header {
40
43
  * {
41
- color: rgba(25, 84, 169, 0.38);
44
+ color: theme-apply($primary);
45
+ opacity: 0.38;
42
46
  }
43
47
  }
44
48
  }
@@ -46,40 +50,40 @@
46
50
  .mat-expansion-panel-header {
47
51
  &:hover {
48
52
  &:not([aria-disabled="true"]) {
49
- background: #F2F7FD;
53
+ background: theme-apply($primary-light-6-opacity);
50
54
  }
51
55
 
52
56
  .subtitle, .default-subtitle, .caption,
53
57
  .mat-expansion-indicator::after,
54
58
  .material-icons,
55
59
  .material-icons-outlined {
56
- color: $primary;
60
+ color: theme-apply($primary);
57
61
  }
58
62
  }
59
63
 
60
64
  &:active {
61
65
  &:not([aria-disabled="true"]) {
62
- background: #C8D6EA;
66
+ background: theme-apply($primary-light-24-opacity);
63
67
  }
64
68
 
65
69
  .subtitle, .default-subtitle, .caption,
66
70
  .mat-expansion-indicator::after,
67
71
  .material-icons,
68
72
  .material-icons-outlined {
69
- color: $primary;
73
+ color: theme-apply($primary);
70
74
  }
71
75
  }
72
76
 
73
77
 
74
78
  &.cdk-keyboard-focused {
75
- background-color: theme-apply($primary-light-3-opacity);;
79
+ background-color: theme-apply($primary-light-12-opacity);
76
80
  border-radius: $border-radius-default;
77
81
 
78
82
  .subtitle, .default-subtitle, .caption,
79
83
  .mat-expansion-indicator::after,
80
84
  .material-icons,
81
85
  .material-icons-outlined {
82
- color: $primary;
86
+ color: theme-apply($primary);
83
87
  }
84
88
  }
85
89
 
@@ -17,6 +17,7 @@
17
17
  width: 100%;
18
18
  padding: 0;
19
19
  min-height: $item-height;
20
+ height: $item-height;
20
21
 
21
22
  &.mat-2-line {
22
23
  height: $two-line-height;
@@ -47,7 +48,7 @@
47
48
 
48
49
  .trailing-box {
49
50
  height: 100%;
50
- border-bottom: 1px solid #e0e0e0;
51
+ border-bottom: 1px solid $border-bottom-item;
51
52
  padding-top: 10px;
52
53
  }
53
54
  }
@@ -141,7 +141,6 @@
141
141
  }
142
142
 
143
143
  .splitview-header{
144
- height: 30px;
145
144
  font-size: 12px;
146
145
  letter-spacing: 1px;
147
146
  font-family: "RALEWAY";
@@ -18,7 +18,6 @@
18
18
  padding: 0 50px;
19
19
 
20
20
  .report-module-name {
21
- margin-bottom: 10px;
22
21
  .module-name {
23
22
  max-width: 100%;
24
23
  font-family: 'Open Sans';
@@ -31,7 +30,7 @@
31
30
 
32
31
  .report-title {
33
32
  height: 137px;
34
- margin-bottom: 10px;
33
+ margin-bottom: 15px;
35
34
  .title {
36
35
  max-width: 100%;
37
36
  font-weight: 600;
@@ -150,7 +150,6 @@
150
150
  }
151
151
 
152
152
  .splitview-header{
153
- height: 30px;
154
153
  font-size: 12px;
155
154
  letter-spacing: 1px;
156
155
  font-family: "RALEWAY";
@@ -141,7 +141,6 @@
141
141
  }
142
142
 
143
143
  .splitview-header{
144
- height: 30px;
145
144
  font-size: 12px;
146
145
  letter-spacing: 1px;
147
146
  font-family: "RALEWAY";
@@ -121,7 +121,7 @@
121
121
 
122
122
  .tree-branch {
123
123
  &:hover {
124
- background-color: theme-apply($primary-light-3-opacity);
124
+ background-color: theme-apply($primary-light-12-opacity);
125
125
  }
126
126
  }
127
127
 
@@ -114,7 +114,7 @@
114
114
 
115
115
  .tree-branch {
116
116
  &:hover {
117
- background-color: theme-apply($primary-light-3-opacity);
117
+ background-color: theme-apply($primary-light-12-opacity);
118
118
  }
119
119
  }
120
120
 
@@ -14,19 +14,16 @@
14
14
 
15
15
  .mat-checkbox-inner-container {
16
16
  margin-right: 19px;
17
-
18
- &:hover {
19
- .mat-ripple-element {
20
- opacity: 1;
21
- background: black(0.08);
22
- }
23
- }
24
17
  }
25
18
 
26
- .mat-ripple-element {
27
- background: black(0.12);
19
+ &:hover:not(.mat-checkbox-disabled) {
20
+ background-color: black(0.08);
28
21
  }
29
22
 
23
+ &:active:not(.mat-checkbox-disabled) {
24
+ background-color: black(0.12);
25
+ }
26
+
30
27
  .mat-checkbox-label {
31
28
  display: flex;
32
29
  flex-direction: column;
@@ -50,28 +47,20 @@
50
47
  color: theme-apply($error);
51
48
  }
52
49
 
53
- &.cdk-keyboard-focused {
54
- &:not(.ng-invalid) {
55
- .mat-checkbox-persistent-ripple {
56
- opacity: 1;
57
- background-color: black(0.08);
58
- }
59
- }
50
+ &.error-form {
51
+ border-bottom: 2px solid theme-apply($error);
60
52
  }
61
53
 
62
- &.cdk-keyboard-focused.ng-invalid {
63
- .mat-checkbox-persistent-ripple {
64
- opacity: 1;
65
- background-color: black(0.08);
66
- }
67
- }
68
-
69
- &.mat-checkbox-checked.cdk-keyboard-focused
70
- .mat-checkbox-persistent-ripple {
71
- background: theme-apply($secondary-light-6-opacity);
54
+ &.cdk-keyboard-focused {
55
+ background-color: black(0.08);
72
56
  }
73
57
 
74
58
  &.mat-checkbox-disabled:not(.mat-checkbox-checked) {
59
+ .mat-checkbox-background {
60
+ background: black(0.24);
61
+ opacity: 0.68;
62
+ }
63
+
75
64
  .mat-checkbox-frame {
76
65
  border-color: black(0.38);
77
66
  background: white;
@@ -80,22 +69,34 @@
80
69
  }
81
70
 
82
71
  &.mat-checkbox-checked {
83
- background: rgba(207, 71, 20, 0.12);
84
- }
72
+ background: theme-apply($primary-light-12-opacity);
85
73
 
86
- &.mat-checkbox-checked {
87
- &:not(.mat-checkbox-disabled) {
88
- .mat-ripple-element {
89
- background: theme-apply($secondary-light-6-opacity);
74
+ &.cdk-keyboard-focused {
75
+ &:not(.ng-invalid) {
76
+ background-color: theme-apply($primary-dark-24-opacity);
90
77
  }
91
78
  }
92
- }
93
79
 
94
-
95
- &.mat-checkbox-indeterminate,
96
- &.mat-checkbox-checked {
97
- .mat-checkbox-background {
98
- background: theme-apply($secondary);
80
+ &:hover:not(.mat-checkbox-disabled) {
81
+ background-color: theme-apply($primary-dark-24-opacity);
82
+ }
83
+
84
+ &:active:not(.mat-checkbox-disabled) {
85
+ background-color: theme-apply($primary-light-32-opacity);
86
+ }
87
+
88
+ &.mat-checkbox-disabled {
89
+ .mat-checkbox-inner-container {
90
+ background-color: theme-apply($disabled-select-input-checked);
91
+ }
92
+ }
93
+
94
+ .mat-checkbox-inner-container {
95
+ background-color: theme-apply($primary);
96
+ }
97
+
98
+ .mat-checkbox-frame {
99
+ border-color: theme-apply($primary);
99
100
  }
100
101
  }
101
102
  }
@@ -63,7 +63,7 @@
63
63
  > .mat-calendar-body-cell-content {
64
64
  &:not(.mat-calendar-body-selected) {
65
65
  &:not(.mat-calendar-body-comparison-identical) {
66
- background-color: theme-apply($primary-light-3-opacity);
66
+ background-color: theme-apply($primary-light-12-opacity);
67
67
  color: theme-apply($primary);
68
68
  }
69
69
  }
@@ -76,7 +76,7 @@
76
76
  > .mat-calendar-body-cell-content {
77
77
  &:not(.mat-calendar-body-selected) {
78
78
  &:not(.mat-calendar-body-comparison-identical) {
79
- background-color: theme-apply($primary-light-3-opacity);
79
+ background-color: theme-apply($primary-light-12-opacity);
80
80
  color: theme-apply($primary);
81
81
  }
82
82
  }
@@ -3,20 +3,6 @@
3
3
  @import "typography";
4
4
 
5
5
  // RADIO STYLES
6
- .mat-radio-group.ng-invalid {
7
- .mat-radio-button {
8
- &.qms-group-options {
9
- &:not(.mat-radio-disabled).cdk-keyboard-focused,
10
- &:not(.mat-radio-disabled).cdk-program-focused {
11
- .mat-radio-persistent-ripple {
12
- opacity: 1;
13
- background: black(0.08);
14
- }
15
- }
16
- }
17
- }
18
- }
19
-
20
6
  .mat-radio-button {
21
7
  &.qms-group-options {
22
8
  font-family: Open Sans;
@@ -27,30 +13,20 @@
27
13
  border-radius: 4px;
28
14
 
29
15
  .mat-radio-container {
30
- margin-right: 19px;
31
-
32
- &:hover {
33
- .mat-ripple-element {
34
- opacity: 0.08;
35
- background-color: black;
36
- }
37
- }
16
+ margin-right: 19px;
38
17
  }
39
18
 
40
- &.mat-radio-disabled .mat-radio-container {
41
- &:hover {
42
- .mat-radio-persistent-ripple {
43
- opacity: 0;
44
- }
45
- }
19
+ &:hover:not(.mat-radio-disabled) {
20
+ background-color: black(0.08);
46
21
  }
47
22
 
48
- .mat-ripple-element {
49
- background: black(0.12);
23
+
24
+ &:active:not(.mat-radio-disabled) {
25
+ background-color: black(0.12);
50
26
  }
51
-
52
- div.mat-ripple-element {
53
- opacity: 0 !important;
27
+
28
+ &:not(.mat-radio-disabled).cdk-keyboard-focused {
29
+ background-color: black(0.08);
54
30
  }
55
31
 
56
32
  .mat-radio-label-content {
@@ -74,21 +50,7 @@
74
50
 
75
51
  .mat-error {
76
52
  color: theme-apply($error);
77
- }
78
-
79
- &:not(.mat-radio-disabled).cdk-keyboard-focused {
80
- .mat-radio-persistent-ripple {
81
- opacity: 1;
82
- background: black(0.08);
83
- }
84
- }
85
-
86
- &:not(.mat-radio-disabled).mat-radio-checked.cdk-keyboard-focused {
87
- .mat-radio-persistent-ripple {
88
- opacity: 1;
89
- background: theme-apply($secondary-light-6-opacity);
90
- }
91
- }
53
+ }
92
54
 
93
55
  &.mat-radio-disabled:not(.mat-radio-checked) {
94
56
  .mat-radio-outer-circle {
@@ -105,49 +67,35 @@
105
67
  }
106
68
 
107
69
  &.mat-radio-checked {
108
- background: rgba(207, 71, 20, 0.12);
70
+ background: theme-apply($primary-light-12-opacity);
71
+
72
+ &.cdk-keyboard-focused {
73
+ &:not(.ng-invalid) {
74
+ background-color: theme-apply($primary-dark-24-opacity);
75
+ }
76
+ }
77
+
78
+ &:hover:not(.mat-checkbox-disabled) {
79
+ background-color: theme-apply($primary-dark-24-opacity);
80
+ }
81
+
82
+ &:active:not(.mat-checkbox-disabled) {
83
+ background-color: theme-apply($primary-light-32-opacity);
84
+ }
109
85
 
110
86
  .mat-radio-container {
111
87
  margin-right: 19px;
112
-
113
- &:active {
114
- span.mat-radio-persistent-ripple {
115
- opacity: 1;
116
- background-color: theme-apply($secondary-light-12-opacity);
117
- transition-duration: 150ms;
118
- }
119
- }
120
- &:hover {
121
- .mat-ripple-element {
122
- opacity: 1;
123
- background-color: theme-apply($secondary-light-6-opacity);
124
- }
125
- }
126
88
  }
127
89
  }
128
90
 
129
91
  &.mat-radio-checked {
130
92
  .mat-radio-outer-circle {
131
- border-color: theme-apply($secondary);
93
+ border-color: theme-apply($primary);
132
94
  }
133
95
  }
134
96
 
135
97
  .mat-radio-inner-circle {
136
- background-color: theme-apply($secondary);
137
- }
138
-
139
- &.mat-radio-checked .mat-radio-persistent-ripple {
140
- background-color: theme-apply($secondary-light-6-opacity);
141
- }
142
-
143
- .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple) {
144
- background-color: black;
145
- }
146
-
147
- &.mat-radio-checked
148
- .mat-radio-ripple
149
- .mat-ripple-element:not(.mat-radio-persistent-ripple) {
150
- background-color: theme-apply($secondary);
98
+ background-color: theme-apply($primary);
151
99
  }
152
100
  }
153
101
  }