qms-angular 1.1.15 → 1.1.17

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 (78) hide show
  1. package/bundles/qms-angular.umd.js +1470 -21
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/common/models/qms-flat-node.model.js +1 -1
  4. package/esm2015/lib/components/qms-nav-drawer/qms-nav-drawer.component.js +3 -3
  5. package/esm2015/lib/components/select-access-dialog/common/animation.js +10 -0
  6. package/esm2015/lib/components/select-access-dialog/common/option-select-access.enum.js +7 -0
  7. package/esm2015/lib/components/select-access-dialog/index.js +2 -0
  8. package/esm2015/lib/components/select-access-dialog/model/access-item.model.js +6 -0
  9. package/esm2015/lib/components/select-access-dialog/model/option-select-access.model.js +3 -0
  10. package/esm2015/lib/components/select-access-dialog/model/select-access-data.js +17 -0
  11. package/esm2015/lib/components/select-access-dialog/public-api.js +8 -0
  12. package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +330 -0
  13. package/esm2015/lib/components/select-access-dialog/select-access-dialog.module.js +60 -0
  14. package/esm2015/lib/components/select-access-dialog/service/select-access-global.service.js +11 -0
  15. package/esm2015/lib/components/select-department/common/animation.js +30 -0
  16. package/esm2015/lib/components/select-department/index.js +2 -0
  17. package/esm2015/lib/components/select-department/model/select-department-popup-data.model.js +15 -0
  18. package/esm2015/lib/components/select-department/public-api.js +5 -0
  19. package/esm2015/lib/components/select-department/select-department.component.js +98 -0
  20. package/esm2015/lib/components/select-department/select-department.module.js +62 -0
  21. package/esm2015/lib/components/select-department/service/select-department-global.service.js +22 -0
  22. package/esm2015/lib/components/select-department-tree/animation/animation.js +54 -0
  23. package/esm2015/lib/components/select-department-tree/index.js +2 -0
  24. package/esm2015/lib/components/select-department-tree/model/department-search-result.model.js +6 -0
  25. package/esm2015/lib/components/select-department-tree/model/select-department-tree.config.js +10 -0
  26. package/esm2015/lib/components/select-department-tree/public-api.js +7 -0
  27. package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +611 -0
  28. package/esm2015/lib/components/select-department-tree/select-department-tree.module.js +60 -0
  29. package/esm2015/lib/components/select-department-tree/service/select-department-tree-global.service.js +22 -0
  30. package/esm2015/lib/components/select-include-children/services/select-include-children-global.service.js +1 -1
  31. package/esm2015/lib/components/select-one/select-one-next.component.js +1 -1
  32. package/esm2015/lib/components/tree/basic-tree.component.js +1 -1
  33. package/esm2015/lib/model/en.js +19 -2
  34. package/esm2015/lib/model/no.js +18 -1
  35. package/esm2015/lib/services/translation-registry.service.js +2 -2
  36. package/esm2015/public-api.js +4 -1
  37. package/fesm2015/qms-angular.js +1370 -22
  38. package/fesm2015/qms-angular.js.map +1 -1
  39. package/lib/common/models/qms-flat-node.model.d.ts +3 -0
  40. package/lib/components/select-access-dialog/common/animation.d.ts +1 -0
  41. package/lib/components/select-access-dialog/common/option-select-access.enum.d.ts +5 -0
  42. package/lib/components/select-access-dialog/index.d.ts +1 -0
  43. package/lib/components/select-access-dialog/model/access-item.model.d.ts +7 -0
  44. package/lib/components/select-access-dialog/model/option-select-access.model.d.ts +5 -0
  45. package/lib/components/select-access-dialog/model/select-access-data.d.ts +15 -0
  46. package/lib/components/select-access-dialog/public-api.d.ts +7 -0
  47. package/lib/components/select-access-dialog/select-access-dialog.component.d.ts +74 -0
  48. package/lib/components/select-access-dialog/select-access-dialog.module.d.ts +2 -0
  49. package/lib/components/select-access-dialog/service/select-access-global.service.d.ts +2 -0
  50. package/lib/components/select-department/common/animation.d.ts +1 -0
  51. package/lib/components/select-department/index.d.ts +1 -0
  52. package/lib/components/select-department/model/select-department-popup-data.model.d.ts +16 -0
  53. package/lib/components/select-department/public-api.d.ts +4 -0
  54. package/lib/components/select-department/select-department.component.d.ts +37 -0
  55. package/lib/components/select-department/select-department.module.d.ts +2 -0
  56. package/lib/components/select-department/service/select-department-global.service.d.ts +9 -0
  57. package/lib/components/select-department-tree/animation/animation.d.ts +1 -0
  58. package/lib/components/select-department-tree/index.d.ts +1 -0
  59. package/lib/components/select-department-tree/model/department-search-result.model.d.ts +11 -0
  60. package/lib/components/select-department-tree/model/select-department-tree.config.d.ts +9 -0
  61. package/lib/components/select-department-tree/public-api.d.ts +6 -0
  62. package/lib/components/select-department-tree/select-department-tree.component.d.ts +121 -0
  63. package/lib/components/select-department-tree/select-department-tree.module.d.ts +2 -0
  64. package/lib/components/select-department-tree/service/select-department-tree-global.service.d.ts +9 -0
  65. package/lib/model/en.d.ts +17 -0
  66. package/lib/model/no.d.ts +17 -0
  67. package/package.json +1 -1
  68. package/public-api.d.ts +3 -0
  69. package/qms-angular.metadata.json +1 -1
  70. package/src/lib/components/select-access-dialog/select-access-dialog.component.scss +285 -0
  71. package/src/lib/components/select-department/select-department.component.scss +185 -0
  72. package/src/lib/components/select-department-tree/select-department-tree.component.scss +445 -0
  73. package/src/themes/_qms-icon-font.scss +1 -1
  74. package/src/themes/core/_checkbox.scss +16 -2
  75. package/src/themes/core/_radio.scss +16 -3
  76. package/src/themes/core/_slide-toggle.scss +18 -5
  77. package/src/themes/core/_table-pure-gap.scss +134 -19
  78. package/src/themes/theme/_variable.scss +22 -2
@@ -2,21 +2,18 @@
2
2
  @import "../theme/mixins";
3
3
  @import "typography";
4
4
 
5
-
6
5
  .table-scroll-container {
7
- position: relative;
8
- padding-top: 35px;
9
- overflow: hidden;
6
+ position: relative;
7
+ padding-top: 35px;
8
+ overflow: hidden;
10
9
  }
11
10
  .table-scroll-area {
12
- height: 100%;
13
- overflow-x: auto;
14
- overflow-y: auto;
15
- -webkit-overflow-scrolling: auto;
11
+ height: 100%;
12
+ overflow-x: auto;
13
+ overflow-y: auto;
14
+ -webkit-overflow-scrolling: auto;
16
15
  }
17
16
 
18
-
19
-
20
17
  table.mat-table {
21
18
  &.qms-table {
22
19
  width: 100%;
@@ -27,9 +24,9 @@ table.mat-table {
27
24
  background-color: transparent;
28
25
  font-family: Open Sans;
29
26
  overflow-x: auto;
30
- overflow-y: auto;
31
- margin-bottom: 0;
32
- border: none;
27
+ overflow-y: auto;
28
+ margin-bottom: 0;
29
+ border: none;
33
30
 
34
31
  .mat-header-cell {
35
32
  font-size: 14px;
@@ -47,14 +44,14 @@ table.mat-table {
47
44
  }
48
45
 
49
46
  th {
50
- border: none !important;
51
- min-width: 40px;
47
+ border: none !important;
48
+ min-width: 40px;
52
49
  }
53
50
 
54
51
  .th-title {
55
- position: absolute;
56
- top: 0;
57
- }
52
+ position: absolute;
53
+ top: 0;
54
+ }
58
55
 
59
56
  td {
60
57
  border-top: 1px solid theme-apply($disabled);
@@ -72,7 +69,6 @@ table.mat-table {
72
69
  padding: 10px 0 10px 0;
73
70
  border-bottom: 1px solid theme-apply($other-divider);
74
71
  border-top: 1px solid theme-apply($other-divider);
75
- background-color: #fff;
76
72
  color: theme-apply($ws-text-primary);
77
73
  font-weight: 400;
78
74
  }
@@ -108,3 +104,122 @@ table.mat-table {
108
104
  }
109
105
  }
110
106
  }
107
+
108
+ table.mat-table {
109
+ &.qms-expandable-table {
110
+ width: 100%;
111
+ margin-top: -16px;
112
+ padding-right: 5px;
113
+ background-color: transparent;
114
+ font-family: Open Sans;
115
+ overflow-x: auto;
116
+ overflow-y: auto;
117
+ margin-bottom: 0;
118
+ border: none;
119
+
120
+ .mat-header-row {
121
+ height: unset;
122
+ }
123
+
124
+ th.mat-header-cell:first-of-type {
125
+ padding-left: 16px;
126
+ }
127
+
128
+ .mat-header-cell {
129
+ font-size: 14px;
130
+ font-weight: 600;
131
+ color: #5a5a5a;
132
+ vertical-align: middle;
133
+ }
134
+
135
+ th {
136
+ border: none !important;
137
+ min-width: 40px;
138
+ }
139
+
140
+ .th-title {
141
+ position: absolute;
142
+ top: 0;
143
+ }
144
+
145
+ .mat-header-cell {
146
+ font-size: 14px;
147
+ font-weight: 600;
148
+ color: #5a5a5a;
149
+ vertical-align: middle;
150
+ }
151
+
152
+ tr.qms-detail-row {
153
+ height: 0;
154
+ }
155
+
156
+ tr.mat-row {
157
+ padding: 8px 0 8px 20px;
158
+ border-radius: 4px;
159
+ margin-top: 8px;
160
+ min-height: 40px;
161
+ font-size: 14px;
162
+ line-height: 20px;
163
+ font-family: Open Sans;
164
+ font-weight: 400;
165
+ color: #323232;
166
+ align-items: stretch;
167
+ cursor: pointer;
168
+ transition: background 0.2s;
169
+
170
+ &.qms-element-row:hover {
171
+ background: rgba(0, 0, 0, 0.08);
172
+
173
+ td.mat-cell {
174
+ background-color: transparent;
175
+ }
176
+ }
177
+
178
+ &.qms-element-row:active {
179
+ background: rgba(40, 115, 223, 0.24);
180
+
181
+ td.mat-cell {
182
+ background-color: transparent;
183
+ }
184
+ }
185
+ }
186
+
187
+ .qms-element-row td.mat-cell:first-child {
188
+ border-left: 1px solid #e0e0e0;
189
+ border-bottom-left-radius: 4px;
190
+ border-top-left-radius: 4px;
191
+ }
192
+
193
+ .qms-element-row td.mat-cell:last-child {
194
+ border-right: 1px solid #e0e0e0;
195
+ border-bottom-right-radius: 4px;
196
+ border-top-right-radius: 4px;
197
+ }
198
+
199
+ td.mat-cell {
200
+ color: #242424;
201
+ font-weight: 400;
202
+ background: #fff;
203
+ }
204
+
205
+ .qms-element-row td {
206
+ border-bottom-width: 0;
207
+ }
208
+
209
+ tr.spacer:first-child {
210
+ height: 16px;
211
+ }
212
+
213
+ .spacer {
214
+ height: 8px;
215
+ }
216
+
217
+ tr.mat-row.spacer td.mat-cell {
218
+ background-color: transparent;
219
+ }
220
+
221
+ tr.qms-expanded-row td.mat-cell {
222
+ border-bottom: 1px solid #ddd;
223
+ }
224
+ }
225
+ }
@@ -108,6 +108,14 @@ $ws-text-secondary: --ws-text-secondary;
108
108
  $ws-text-primary: --ws-text-primary;
109
109
  $ws-action-active: --ws-action-active;
110
110
 
111
+ $primary-circle-background-hover: --primary-circle-background-hover;
112
+ $primary-dark-1-disable-background: --primary-dark-1-disable-background;
113
+ $primary-dark-2-disable-background: --primary-dark-2-disable-background;
114
+ $primary-dark-3-disable-background: --primary-dark-3-disable-background;
115
+ $primary-dark-4-disable-background: --primary-dark-4-disable-background;
116
+ $primary-dark-5-disable-background: --primary-dark-5-disable-background;
117
+
118
+
111
119
  @function black($opacity) {
112
120
  @return rgba(black, $opacity);
113
121
  }
@@ -216,7 +224,13 @@ $qms-theme-default: (
216
224
  $other-divider: #e0e0e0,
217
225
  $ws-text-secondary: #5a5a5a,
218
226
  $ws-text-primary: #242424,
219
- $ws-action-active: #707070
227
+ $ws-action-active: #707070,
228
+ $primary-circle-background-hover: #0163B2,
229
+ $primary-dark-1-disable-background: #878787,
230
+ $primary-dark-2-disable-background: #AEAEAE,
231
+ $primary-dark-3-disable-background: #DAE8F4,
232
+ $primary-dark-4-disable-background: #E0E0E0,
233
+ $primary-dark-5-disable-background: #D9D9D9
220
234
  );
221
235
 
222
236
  $qms-theme-pink: (
@@ -319,5 +333,11 @@ $qms-theme-pink: (
319
333
  $other-divider: #e0e0e0,
320
334
  $ws-text-secondary: #5a5a5a,
321
335
  $ws-text-primary: #242424,
322
- $ws-action-active: #707070
336
+ $ws-action-active: #707070,
337
+ $primary-circle-background-hover: #0163B2,
338
+ $primary-dark-1-disable-background: #878787,
339
+ $primary-dark-2-disable-background: #AEAEAE,
340
+ $primary-dark-3-disable-background: #DAE8F4,
341
+ $primary-dark-4-disable-background: #E0E0E0,
342
+ $primary-dark-5-disable-background: #D9D9D9
323
343
  );