qms-angular 1.1.1 → 1.1.4

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/README.md +15 -9
  2. package/bundles/qms-angular.umd.js +56 -15
  3. package/bundles/qms-angular.umd.js.map +1 -1
  4. package/esm2015/lib/components/breadcrumb/model/breadcrumb-node.model.js +1 -1
  5. package/esm2015/lib/components/button/button-toggle.js +1 -1
  6. package/esm2015/lib/components/button/button.js +3 -3
  7. package/esm2015/lib/components/list/list.js +2 -2
  8. package/esm2015/lib/components/related/list-other-related/list-related.component.js +3 -3
  9. package/esm2015/lib/components/related/popup/related-popup.component.js +2 -2
  10. package/esm2015/lib/components/related/sidenav/sidenav.component.js +1 -1
  11. package/esm2015/lib/components/rich-text/rich-text.js +1 -1
  12. package/esm2015/lib/components/select-one/select-one.component.js +2 -2
  13. package/esm2015/lib/components/select-process-document/select-process-document.component.js +2 -2
  14. package/esm2015/lib/components/table/table-action.js +1 -1
  15. package/esm2015/lib/components/upload-file-error-dialog/upload-file-error-dialog.js +5 -2
  16. package/esm2015/lib/directives/dialog/dialog.content.directive.js +27 -1
  17. package/esm2015/lib/model/en.js +5 -1
  18. package/esm2015/lib/model/no.js +5 -1
  19. package/esm2015/lib/qms-angular.module.js +4 -2
  20. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +1 -1
  21. package/fesm2015/qms-angular.js +55 -16
  22. package/fesm2015/qms-angular.js.map +1 -1
  23. package/lib/components/breadcrumb/model/breadcrumb-node.model.d.ts +1 -0
  24. package/lib/components/upload-file-error-dialog/upload-file-error-dialog.d.ts +6 -0
  25. package/lib/directives/dialog/dialog.content.directive.d.ts +7 -0
  26. package/lib/model/en.d.ts +4 -0
  27. package/lib/model/no.d.ts +4 -0
  28. package/lib.theme.scss +2 -0
  29. package/package.json +5 -5
  30. package/qms-angular.metadata.json +1 -1
  31. package/src/assets/qms-ckeditor-plugin/package-lock.json +601 -151
  32. package/src/lib/components/button/button-toggle.scss +1 -1
  33. package/src/lib/components/list/_list-base.scss +1 -1
  34. package/src/lib/components/related/list-other-related/list-related.component.scss +3 -0
  35. package/src/lib/components/rich-text/rich-text.scss +1 -1
  36. package/src/lib/components/substance-conflict/substance-conflict.component.scss +2 -2
  37. package/src/lib/components/table/{table.scss → table-action.scss} +0 -0
  38. package/src/lib/qms-ckeditor-components/qms-ckeditor.component.scss +1 -1
  39. package/src/themes/core/_app-bar.scss +2 -2
  40. package/src/themes/core/_checkbox.scss +6 -0
  41. package/src/themes/core/_dialog-new.scss +32 -0
  42. package/src/themes/core/_table-pure-gap.scss +82 -0
  43. package/src/themes/core/_table.scss +5 -5
  44. package/src/themes/theme/_variable.scss +28 -20
  45. package/src/assets/jointjs/scss/dist/bpmn.css +0 -854
  46. package/src/assets/qms-ckeditor-plugin/src/dist/ckeditor.dev.js +0 -173
  47. package/src/assets/qms-ckeditor-plugin/src/plugins/fullscreen/dist/qmsCKEditorFullscreenPlugin.dev.js +0 -87
@@ -120,7 +120,7 @@
120
120
 
121
121
  &.qms-button-toggle-disabled {
122
122
  cursor: default !important;
123
- background: #e4e4e4 !important;
123
+ background: theme-apply($disabled) !important;
124
124
  color: rgba(0, 0, 0, 0.38) !important;
125
125
  user-select: none;
126
126
 
@@ -5,7 +5,7 @@ $leading-icon: 24px;
5
5
  $leading-icon-padding: 4px;
6
6
  $subtitle-color: theme-apply($default-color);
7
7
  $subtitle-weight: 600;
8
- $border-bottom-item: #e0e0e0;
8
+ $border-bottom-item: theme-apply($other-divider);;
9
9
  $size-caption: 0.75rem;
10
10
  $margin-icon: 0.75rem;
11
11
  $size-sm: 0.875rem;
@@ -47,6 +47,8 @@
47
47
 
48
48
  .material-icons-outlined {
49
49
  font-size: 13px;
50
+ height: 13px;
51
+ width: 13px;
50
52
  }
51
53
  }
52
54
 
@@ -143,6 +145,7 @@
143
145
  color: black(0.6);
144
146
  font-weight: 400;
145
147
  line-height: 22px;
148
+ margin: 0;
146
149
  }
147
150
 
148
151
  .trailing-box {
@@ -23,7 +23,7 @@
23
23
  .ck-disabled {
24
24
  .ck.ck-toolbar,
25
25
  .ck.ck-editor__main > .ck-editor__editable {
26
- background-color: #e4e4e4;
26
+ background-color: theme-apply($disabled);
27
27
  pointer-events: none;
28
28
  }
29
29
 
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  .button-view {
61
- border: 1px solid #e4e4e4;
61
+ border: 1px solid theme-apply($disabled);
62
62
  border-radius: 5px;
63
63
  padding: 10px;
64
64
  cursor: pointer !important;
@@ -69,7 +69,7 @@
69
69
  }
70
70
 
71
71
  &.cancel {
72
- background-color: #e4e4e4;
72
+ background-color: theme-apply($disabled);
73
73
  color: #000000;
74
74
  }
75
75
 
@@ -64,7 +64,7 @@
64
64
  .ck-disabled {
65
65
  .ck.ck-toolbar,
66
66
  .ck.ck-editor__main > .ck-editor__editable {
67
- background-color: #e4e4e4;
67
+ background-color: theme-apply($disabled);
68
68
  pointer-events: none;
69
69
  }
70
70
 
@@ -3,13 +3,13 @@
3
3
  @import "../theme/mixins";
4
4
 
5
5
  .qms-app-bar-dark {
6
- background: theme-apply($-qms-app-bar-dark-background-color);
6
+ background: theme-apply($qms-app-bar-dark-background-color);
7
7
  width : 100% !important;
8
8
  height : 56px !important;
9
9
  }
10
10
 
11
11
  .qms-app-bar-light {
12
- background: theme-apply($-qms-app-bar-light-background-color);
12
+ background: theme-apply($qms-app-bar-light-background-color);
13
13
  width : 100% !important;
14
14
  height : 56px !important;
15
15
  }
@@ -99,5 +99,11 @@
99
99
  border-color: theme-apply($primary);
100
100
  }
101
101
  }
102
+
103
+ &.mat-checkbox-indeterminate {
104
+ .mat-checkbox-background {
105
+ background-color: theme-apply($primary);
106
+ }
107
+ }
102
108
  }
103
109
  }
@@ -0,0 +1,32 @@
1
+ ::ng-deep .qms-dialog-container-v2 {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ flex-wrap: nowrap;
7
+
8
+ .qms-dialog-header {
9
+ flex-shrink: 0;
10
+ }
11
+
12
+ .qms-dialog-content {
13
+ flex-grow: 1;
14
+ overflow-y: auto;
15
+ overflow-x: hidden;
16
+ margin: 0;
17
+ min-height: 2em;
18
+ }
19
+
20
+ .qms-dialog-footer {
21
+ margin-top: 10px;
22
+ flex-shrink: 0;
23
+
24
+ &.qms-dialog-footer-align-center {
25
+ justify-content: center;
26
+ }
27
+
28
+ &.qms-dialog-footer-align-start {
29
+ justify-content: start;
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,82 @@
1
+ @import "../theme/variable";
2
+ @import "../theme/mixins";
3
+ @import "typography";
4
+
5
+ table.mat-table {
6
+ &.qms-table {
7
+ width: 100%;
8
+ border-collapse: separate;
9
+ border-spacing: 0 8px;
10
+ background-color: transparent;
11
+ font-family: Open Sans;
12
+
13
+ .mat-header-cell {
14
+ font-size: 14px;
15
+ font-weight: 600;
16
+ color: theme-apply($ws-text-secondary);
17
+
18
+ .mat-checkbox.qms-group-options {
19
+ padding: 5px 15px 5px 5px;
20
+ }
21
+ }
22
+
23
+ .mat-header-row {
24
+ height: 32px;
25
+ }
26
+
27
+ th {
28
+ border-bottom: none;
29
+ }
30
+
31
+ td {
32
+ border-top: 1px solid theme-apply($disabled);
33
+ }
34
+
35
+ &.border-left {
36
+ border-left: 1px solid theme-apply($disabled);
37
+ }
38
+
39
+ .border-right {
40
+ border-right: 1px solid theme-apply($disabled);
41
+ }
42
+
43
+ td.mat-cell {
44
+ padding: 10px 0 10px 0;
45
+ border-bottom: 1px solid theme-apply($other-divider);
46
+ border-top: 1px solid theme-apply($other-divider);
47
+ background-color: #fff;
48
+ color: theme-apply($ws-text-primary);
49
+ font-weight: 400;
50
+ }
51
+
52
+ td.mat-cell:first-child {
53
+ border-left: 1px solid theme-apply($other-divider);
54
+ border-bottom-left-radius: 4px;
55
+ border-top-left-radius: 4px;
56
+
57
+ .mat-checkbox.qms-group-options {
58
+ border-right: 1px solid theme-apply($other-divider);
59
+ border-radius: 0px;
60
+ padding: 5px 15px 5px 5px;
61
+ }
62
+ }
63
+
64
+ td.mat-cell:last-child {
65
+ border-right: 1px solid theme-apply($other-divider);
66
+ border-bottom-right-radius: 4px;
67
+ border-top-right-radius: 4px;
68
+ }
69
+
70
+ th.mat-header-cell:last-of-type,
71
+ td.mat-cell:last-of-type,
72
+ td.mat-footer-cell:last-of-type {
73
+ padding-right: 16px;
74
+ }
75
+
76
+ th.mat-header-cell:first-of-type,
77
+ td.mat-cell:first-of-type,
78
+ td.mat-footer-cell:first-of-type {
79
+ padding-left: 16px;
80
+ }
81
+ }
82
+ }
@@ -33,7 +33,7 @@
33
33
 
34
34
  &:hover, &:focus-visible {
35
35
  outline: unset;
36
- color: #1954A9;
36
+ color: theme-apply($primary);
37
37
  text-decoration: underline;
38
38
  }
39
39
  }
@@ -57,7 +57,7 @@
57
57
  .qms-table-row {
58
58
  padding: 8px 0 8px 20px;
59
59
  background: #FFFFFF;
60
- border: 1px solid #E0E0E0;
60
+ border: 1px solid theme-apply($other-divider);;
61
61
  border-radius: 4px;
62
62
  margin-top: 8px;
63
63
  min-height: 40px;
@@ -104,7 +104,7 @@
104
104
  }
105
105
 
106
106
  &-disabled {
107
- background: #E4E4E4;
107
+ background: theme-apply($disabled);
108
108
  color: rgba(0, 0, 0, 0.38);
109
109
  pointer-events: none;
110
110
 
@@ -203,7 +203,7 @@
203
203
  }
204
204
 
205
205
  .qms-row-detail {
206
- border: 1px solid #E0E0E0;
206
+ border: 1px solid theme-apply($other-divider);;
207
207
  border-top: none;
208
208
  }
209
209
  }
@@ -218,7 +218,7 @@
218
218
  }
219
219
 
220
220
  .qms-collapse-group {
221
- border: 1px solid #E0E0E0;
221
+ border: 1px solid theme-apply($other-divider);;
222
222
  border-left: 4px solid theme-apply($primary-light-32-opacity);
223
223
  border-bottom-left-radius: 4px;
224
224
  border-bottom-right-radius: 4px;
@@ -30,6 +30,7 @@ $slider-hover-border: --slider-hover-border;
30
30
  $slider-focus-border: --slider-focus-border;
31
31
  $slider-pressed: --slider-pressed;
32
32
  $disabled-select-input-checked: --disabled-select-input-checked;
33
+ $other-divider: --other-divider;
33
34
 
34
35
  $error-color: --error-color;
35
36
  $success-color: --success-color;
@@ -100,31 +101,32 @@ $tab-primary-background-hover: --tab-primary-background-hover;
100
101
  $tab-primary-border: --tab-primary-border;
101
102
  $tab-disable-background: --tab-disable-background;
102
103
 
103
- $-qms-app-bar-dark-background-color: --qms-app-bar-dark-background-color;
104
- $-qms-app-bar-light-background-color: --qms-app-bar-light-background-color;
104
+ $qms-app-bar-dark-background-color: --qms-app-bar-dark-background-color;
105
+ $qms-app-bar-light-background-color: --qms-app-bar-light-background-color;
105
106
 
107
+ $ws-text-secondary: --ws-text-secondary;
108
+ $ws-text-primary: --ws-text-primary;
106
109
 
107
110
  @function black($opacity) {
108
- @return rgba(black, $opacity)
109
- };
111
+ @return rgba(black, $opacity);
112
+ }
110
113
 
111
114
  @function white($opacity) {
112
- @return rgba(white, $opacity)
115
+ @return rgba(white, $opacity);
113
116
  }
114
117
 
115
-
116
118
  $qms-theme-default: (
117
119
  $primary: #1954a9,
118
120
  $primary-light: #2873df,
119
121
  $primary-lighter: #b7daf8,
120
122
  $primary-light-3-opacity: #f5faff,
121
- $primary-light-6-opacity: #F2F7FD,
122
- $primary-light-12-opacity: #E5EEFB,
123
+ $primary-light-6-opacity: #f2f7fd,
124
+ $primary-light-12-opacity: #e5eefb,
123
125
  $primary-light-24-opacity: rgba(40, 115, 223, 0.24),
124
126
  $primary-light-32-opacity: #94baef,
125
- $primary-light-38-opacity: #86A5D1,
127
+ $primary-light-38-opacity: #86a5d1,
126
128
  $primary-dark: #144285,
127
- $primary-dark-24-opacity: #C8D6EA,
129
+ $primary-dark-24-opacity: #c8d6ea,
128
130
  $secondary: #9e360f,
129
131
  $secondary-light: #b63e11,
130
132
  $secondary-dark: #872e0d,
@@ -137,7 +139,7 @@ $qms-theme-default: (
137
139
  $disabled: #e4e4e4,
138
140
  $active: #1954a9,
139
141
  $default-color: #323232,
140
- $disabled-select-input-checked: #DADADA,
142
+ $disabled-select-input-checked: #dadada,
141
143
  $slider-background: rgba(#1954a9, 0.38),
142
144
  $slider-tick-color: rgba(255, 255, 255, 0.38),
143
145
  $slider-hover-border: rgba(25, 84, 169, 8%),
@@ -208,8 +210,11 @@ $qms-theme-default: (
208
210
  $tab-primary-background-hover: rgba(255, 255, 255, 0.08),
209
211
  $tab-primary-border: rgba(255, 255, 255, 0.38),
210
212
  $tab-disable-background: rgba(25, 84, 169, 0.12),
211
- $-qms-app-bar-dark-background-color: #0d6efd,
212
- $-qms-app-bar-light-background-color: #c41e1e,
213
+ $qms-app-bar-dark-background-color: #0d6efd,
214
+ $qms-app-bar-light-background-color: #c41e1e,
215
+ $other-divider: #e0e0e0,
216
+ $ws-text-secondary: #5a5a5a,
217
+ $ws-text-primary: #242424,
213
218
  );
214
219
 
215
220
  $qms-theme-pink: (
@@ -217,13 +222,13 @@ $qms-theme-pink: (
217
222
  $primary-light: #2873df,
218
223
  $primary-lighter: #b7daf8,
219
224
  $primary-light-3-opacity: #f5faff,
220
- $primary-light-6-opacity: #F2F7FD,
221
- $primary-light-12-opacity: #E5EEFB,
225
+ $primary-light-6-opacity: #f2f7fd,
226
+ $primary-light-12-opacity: #e5eefb,
222
227
  $primary-light-24-opacity: rgba(40, 115, 223, 0.24),
223
228
  $primary-light-32-opacity: #94baef,
224
- $primary-light-38-opacity: #86A5D1,
229
+ $primary-light-38-opacity: #86a5d1,
225
230
  $primary-dark: #144285,
226
- $primary-dark-24-opacity: #C8D6EA,
231
+ $primary-dark-24-opacity: #c8d6ea,
227
232
  $secondary: #9e360f,
228
233
  $secondary-light: #b63e11,
229
234
  $secondary-dark: #872e0d,
@@ -236,7 +241,7 @@ $qms-theme-pink: (
236
241
  $disabled: #e4e4e4,
237
242
  $active: #1954a9,
238
243
  $default-color: #323232,
239
- $disabled-select-input-checked: #DADADA,
244
+ $disabled-select-input-checked: #dadada,
240
245
  $slider-background: rgba(#1954a9, 0.38),
241
246
  $slider-tick-color: rgba(255, 255, 255, 0.38),
242
247
  $slider-hover-border: rgba(25, 84, 169, 8%),
@@ -307,6 +312,9 @@ $qms-theme-pink: (
307
312
  $tab-primary-background-hover: rgba(255, 255, 255, 0.08),
308
313
  $tab-primary-border: rgba(255, 255, 255, 0.38),
309
314
  $tab-disable-background: rgba(25, 84, 169, 0.12),
310
- $-qms-app-bar-dark-background-color: #0d6efd,
311
- $-qms-app-bar-light-background-color: #c41e1e,
315
+ $qms-app-bar-dark-background-color: #0d6efd,
316
+ $qms-app-bar-light-background-color: #c41e1e,
317
+ $other-divider: #e0e0e0,
318
+ $ws-text-secondary: #5a5a5a,
319
+ $ws-text-primary: #242424,
312
320
  );