qms-angular 1.1.14 → 1.1.15

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 (69) hide show
  1. package/bundles/qms-angular.umd.js +25 -1086
  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/breadcrumb/breadcrumb.js +3 -3
  5. package/esm2015/lib/components/qms-paginator/qms-paginator.component.js +12 -3
  6. package/esm2015/lib/components/select-include-children/services/select-include-children-global.service.js +1 -1
  7. package/esm2015/lib/model/en.js +1 -14
  8. package/esm2015/lib/model/no.js +1 -14
  9. package/esm2015/lib/services/translation-registry.service.js +2 -2
  10. package/esm2015/public-api.js +1 -4
  11. package/fesm2015/qms-angular.js +24 -1003
  12. package/fesm2015/qms-angular.js.map +1 -1
  13. package/lib/common/models/qms-flat-node.model.d.ts +0 -3
  14. package/lib/model/en.d.ts +0 -13
  15. package/lib/model/no.d.ts +0 -13
  16. package/package.json +1 -1
  17. package/public-api.d.ts +0 -3
  18. package/qms-angular.metadata.json +1 -1
  19. package/src/lib/components/breadcrumb/breadcrumb.scss +3 -3
  20. package/src/lib/components/qms-paginator/qms-paginator.component.scss +4 -0
  21. package/esm2015/lib/components/select-access-dialog/common/animation.js +0 -10
  22. package/esm2015/lib/components/select-access-dialog/common/option-select-access.enum.js +0 -7
  23. package/esm2015/lib/components/select-access-dialog/index.js +0 -2
  24. package/esm2015/lib/components/select-access-dialog/model/access-item.model.js +0 -6
  25. package/esm2015/lib/components/select-access-dialog/model/option-select-access.model.js +0 -3
  26. package/esm2015/lib/components/select-access-dialog/model/select-access-data.js +0 -16
  27. package/esm2015/lib/components/select-access-dialog/public-api.js +0 -8
  28. package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +0 -288
  29. package/esm2015/lib/components/select-access-dialog/select-access-dialog.module.js +0 -56
  30. package/esm2015/lib/components/select-access-dialog/service/select-access-global.service.js +0 -11
  31. package/esm2015/lib/components/select-department/common/animation.js +0 -30
  32. package/esm2015/lib/components/select-department/index.js +0 -2
  33. package/esm2015/lib/components/select-department/model/select-department-popup-data.model.js +0 -12
  34. package/esm2015/lib/components/select-department/public-api.js +0 -5
  35. package/esm2015/lib/components/select-department/select-department.component.js +0 -84
  36. package/esm2015/lib/components/select-department/select-department.module.js +0 -60
  37. package/esm2015/lib/components/select-department/service/select-department-global.service.js +0 -22
  38. package/esm2015/lib/components/select-department-tree/index.js +0 -2
  39. package/esm2015/lib/components/select-department-tree/model/select-department-tree.config.js +0 -10
  40. package/esm2015/lib/components/select-department-tree/public-api.js +0 -5
  41. package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +0 -379
  42. package/esm2015/lib/components/select-department-tree/select-department-tree.module.js +0 -50
  43. package/esm2015/lib/components/select-department-tree/service/select-department-tree-global.service.js +0 -22
  44. package/lib/components/select-access-dialog/common/animation.d.ts +0 -1
  45. package/lib/components/select-access-dialog/common/option-select-access.enum.d.ts +0 -5
  46. package/lib/components/select-access-dialog/index.d.ts +0 -1
  47. package/lib/components/select-access-dialog/model/access-item.model.d.ts +0 -7
  48. package/lib/components/select-access-dialog/model/option-select-access.model.d.ts +0 -5
  49. package/lib/components/select-access-dialog/model/select-access-data.d.ts +0 -14
  50. package/lib/components/select-access-dialog/public-api.d.ts +0 -7
  51. package/lib/components/select-access-dialog/select-access-dialog.component.d.ts +0 -64
  52. package/lib/components/select-access-dialog/select-access-dialog.module.d.ts +0 -2
  53. package/lib/components/select-access-dialog/service/select-access-global.service.d.ts +0 -2
  54. package/lib/components/select-department/common/animation.d.ts +0 -1
  55. package/lib/components/select-department/index.d.ts +0 -1
  56. package/lib/components/select-department/model/select-department-popup-data.model.d.ts +0 -14
  57. package/lib/components/select-department/public-api.d.ts +0 -4
  58. package/lib/components/select-department/select-department.component.d.ts +0 -31
  59. package/lib/components/select-department/select-department.module.d.ts +0 -2
  60. package/lib/components/select-department/service/select-department-global.service.d.ts +0 -9
  61. package/lib/components/select-department-tree/index.d.ts +0 -1
  62. package/lib/components/select-department-tree/model/select-department-tree.config.d.ts +0 -9
  63. package/lib/components/select-department-tree/public-api.d.ts +0 -4
  64. package/lib/components/select-department-tree/select-department-tree.component.d.ts +0 -84
  65. package/lib/components/select-department-tree/select-department-tree.module.d.ts +0 -2
  66. package/lib/components/select-department-tree/service/select-department-tree-global.service.d.ts +0 -9
  67. package/src/lib/components/select-access-dialog/select-access-dialog.component.scss +0 -205
  68. package/src/lib/components/select-department/select-department.component.scss +0 -193
  69. package/src/lib/components/select-department-tree/select-department-tree.component.scss +0 -265
@@ -1,193 +0,0 @@
1
- @import "../../../themes/core/variables";
2
- @import "../../../themes/theme/variable";
3
- @import "../../../themes/theme/mixins";
4
- @import "../../../themes/qms-icon-font";
5
-
6
-
7
-
8
-
9
-
10
- .qms-select-department {
11
-
12
- .cursor-pointer {
13
- cursor: pointer;
14
- }
15
-
16
- .ml-5 {
17
- margin-left: 10px;
18
- }
19
-
20
- .padding-5 {
21
- padding: 5px;
22
- }
23
-
24
- .header-dialog {
25
- display: flex;
26
- justify-content: space-between;
27
- align-items: center;
28
- font-weight: 600;
29
- font-size: 16px;
30
- }
31
-
32
- .input__field {
33
- display: flex;
34
- align-items: center;
35
- position: relative;
36
-
37
- input.input-search {
38
- width: 100%;
39
- padding: 10px;
40
- outline: none;
41
- border: none;
42
- background: theme-apply($background-input-text);
43
- }
44
-
45
- .btn-search {
46
- cursor: pointer;
47
- vertical-align: middle;
48
- position: absolute;
49
- top: 50%;
50
- right: 10px;
51
- transform: translateY(-50%);
52
- }
53
- }
54
-
55
- .line__divider {
56
- border-bottom: 1px solid #ccc;
57
- height: 1px;
58
- margin-top: 10px;
59
- min-width: 300px;
60
- max-width: 100%;
61
- }
62
-
63
- .mat-expansion-panel-header {
64
- height: 30px;
65
- font-size: 12px;
66
- letter-spacing: 1px;
67
- font-family: 'Raleway';
68
- font-weight: 600;
69
- padding: 0;
70
-
71
- .mat-expansion-panel-header-title {
72
- align-items: center;
73
- margin-left: 12px;
74
- }
75
- }
76
-
77
- .mat-expansion-panel:not([class*="mat-elevation-z"]) {
78
- box-shadow: none;
79
- }
80
-
81
- .panel__item {
82
- max-height: 175px;
83
- margin-top: 12px;
84
- overflow-x: hidden;
85
- overflow-y: auto;
86
- padding-right: 5px;
87
- width: 100%;
88
- max-width: 100%;
89
- display: flex;
90
- flex-wrap: wrap;
91
- align-content: flex-start;
92
-
93
- .related__item__inline {
94
- max-width: 100%;
95
- }
96
-
97
- .select__toggle-include {
98
- width: 100%;
99
-
100
- &.toggle-include-child .mat-slide-toggle.qms-group-options .mat-slide-toggle-thumb {
101
- background-color: #5a5a5a !important;
102
- }
103
- }
104
-
105
- .related__item__content {
106
- height: 32px;
107
- line-height: 32px;
108
- background-color: theme-apply($related-item-background);
109
- max-width: 100%;
110
- margin-bottom: 5px;
111
- margin-left: 2.5px;
112
- margin-right: 2.5px;
113
-
114
- .mat-icon {
115
- color: theme-apply($related-mat-icon-color);
116
- font-size: 24px;
117
- }
118
- }
119
- }
120
-
121
- .header-title {
122
- font-weight: 600;
123
- color: black(0.87);
124
- }
125
-
126
- .result-content {
127
- padding-right: 0 !important;
128
-
129
- .mat-chip-list {
130
- min-height: 40px;
131
-
132
- .mat-icon {
133
- color: black(.3) !important;
134
- cursor: pointer;
135
-
136
- &:hover {
137
- color: black(1) !important;
138
- }
139
- }
140
- }
141
-
142
- span.related__item__content_name {
143
- display: inline-block;
144
- min-width: calc(100% - 13px);
145
- white-space: nowrap;
146
- overflow: hidden;
147
- text-overflow: ellipsis;
148
- max-width: 320px;
149
-
150
- .select__include-children__count {
151
- font-size: 0.75rem;
152
- color: black(0.5);
153
- font-weight: 600;
154
- }
155
- }
156
- }
157
-
158
- .text-name {
159
- position: relative;
160
- overflow: hidden;
161
- text-overflow: ellipsis;
162
- display: -webkit-box;
163
- -webkit-line-clamp: 2;
164
- -webkit-box-orient: vertical;
165
- cursor: pointer;
166
- width: 100%;
167
- }
168
-
169
-
170
-
171
- ::ng-deep .mat-checkbox.qms-group-options.flex-direction-row {
172
- .mat-checkbox-layout {
173
- white-space: normal;
174
- }
175
-
176
- .mat-checkbox-label {
177
- flex-direction: row;
178
- align-items: center;
179
- position: relative;
180
- padding-bottom: 2px;
181
- }
182
- }
183
-
184
- .confirm__button__groups {
185
- .btn-add>.qms-btn-wrapper {
186
- display: flex;
187
- justify-content: center;
188
- align-items: center;
189
- }
190
- }
191
-
192
-
193
- }
@@ -1,265 +0,0 @@
1
- @import "../../../themes/core/variables";
2
- @import "../../../themes/theme/variable";
3
- @import "../../../themes/theme/mixins";
4
- @import "../../../themes/qms-icon-font";
5
-
6
-
7
- .qms-select-department-tree-container {
8
- .mr10 {
9
- margin-right: 10px;
10
- }
11
-
12
- .mt5 {
13
- margin-bottom: 5px;
14
- }
15
-
16
- .mb5 {
17
- margin-top: 5px;
18
- }
19
-
20
- .w100 {
21
- width: 100%;
22
- }
23
-
24
- .text-right {
25
- text-align: right;
26
- }
27
-
28
- .mt20 {
29
- margin-top: 20px;
30
- }
31
-
32
- .text-selected {
33
- color: black(0.6);
34
- font-size: 12px;
35
- line-height: 16px;
36
- margin-top: 1rem;
37
- }
38
-
39
- .input__field {
40
- display: flex;
41
- align-items: center;
42
- position: relative;
43
-
44
- input.input-search {
45
- width: 100%;
46
- padding: 10px;
47
- outline: none;
48
- border: none;
49
- background: theme-apply($background-input-text);
50
- }
51
-
52
- .btn-search {
53
- cursor: pointer;
54
- vertical-align: middle;
55
- position: absolute;
56
- top: 50%;
57
- right: 10px;
58
- transform: translateY(-50%);
59
- }
60
-
61
- .line__divider {
62
- border-bottom: 1px solid #ccc;
63
- height: 1px;
64
- margin-top: 10px;
65
- min-width: 300px;
66
- max-width: 100%;
67
- }
68
- }
69
-
70
- .tree-department-wrapper {
71
- height: 375px;
72
- overflow-y: auto;
73
- }
74
-
75
- // Tree
76
- .mat-tree.select-department-tree {
77
- .mat-tree-node {
78
- &:hover {
79
- background: black(0.08);
80
- }
81
-
82
- &:active {
83
- background: black(0.12);
84
- }
85
-
86
- &.active {
87
- color: theme-apply($primary);
88
- background: theme-apply($primary-light-6-opacity);
89
-
90
- &:active {
91
- background: theme-apply($primary-light-12-opacity);
92
- }
93
-
94
- button,
95
- .mat-icon-rtl-mirror,
96
- .type-icon,
97
- .text-name {
98
- color: theme-apply($primary);
99
- }
100
- }
101
- }
102
-
103
- .mat-tree-node.collapse-node {
104
- &.active {
105
-
106
- button,
107
- .mat-icon-rtl-mirror,
108
- .type-icon,
109
- .text-name {
110
- color: theme-apply($primary);
111
- }
112
-
113
- &:hover {
114
- background: theme-apply($primary-light-6-opacity);
115
- }
116
-
117
- &:active {
118
- background: theme-apply($primary-light-12-opacity);
119
- }
120
- }
121
- }
122
-
123
- .mat-tree-node.expand-node {
124
- color: theme-apply($primary);
125
-
126
- button,
127
- .mat-icon-rtl-mirror,
128
- .type-icon,
129
- .text-name {
130
- color: theme-apply($primary);
131
- }
132
-
133
- &:hover {
134
- background: theme-apply($primary-light-6-opacity);
135
- }
136
-
137
- &:active {
138
- background: theme-apply($primary-light-12-opacity);
139
- }
140
- }
141
-
142
- .type-icon {
143
- margin-right: 5px;
144
- color: theme-apply($ws-action-active);
145
- }
146
-
147
- .text-name {
148
- color: theme-apply($default-color);
149
- }
150
-
151
- .mat-icon-rtl-mirror {
152
- color: black(0.6);
153
- }
154
-
155
- .mat-icon-button.btn-toggle {
156
- width: 35px;
157
- height: 35px;
158
- line-height: 35px;
159
- }
160
-
161
- .mat-tree-node {
162
- &.mat-tree-node-disabled-all {
163
- cursor: default !important;
164
- pointer-events: none;
165
- user-select: none;
166
-
167
- button.mat-button-disabled,
168
- .mat-icon-rtl-mirror,
169
- .type-icon {
170
- color: black(0.38);
171
- }
172
-
173
- .text-name {
174
- &.disabled {
175
- color: black(0.38);
176
- cursor: default !important;
177
- pointer-events: none;
178
- user-select: none;
179
- }
180
- }
181
-
182
- &.active {
183
- background-color: transparent;
184
- }
185
- }
186
-
187
- &.mat-tree-node-disabled {
188
-
189
- button.mat-button-disabled,
190
- .type-icon {
191
- color: black(0.38);
192
- }
193
-
194
- .text-name {
195
- &.disabled {
196
- color: black(0.38);
197
- cursor: default !important;
198
- pointer-events: none;
199
- user-select: none;
200
- }
201
- }
202
-
203
- &.active,
204
- &:hover,
205
- &:active,
206
- &.expand-node:hover,
207
- &.expand-node:active {
208
- background-color: transparent;
209
- }
210
- }
211
-
212
- &>.node-content-wraper {
213
- width: fit-content;
214
- position: relative;
215
- display: flex;
216
- justify-content: center;
217
- align-items: center;
218
-
219
- &>.mat-progress-bar {
220
- height: 3px;
221
- width: 100%;
222
- position: absolute;
223
- bottom: 0;
224
- left: 10px;
225
-
226
- .mat-progress-bar-fill::after {
227
- background: theme-apply($primary);
228
- }
229
- }
230
- }
231
- }
232
- }
233
-
234
- .text-name {
235
- position: relative;
236
- overflow: hidden;
237
- text-overflow: ellipsis;
238
- display: -webkit-box;
239
- -webkit-line-clamp: 2;
240
- -webkit-box-orient: vertical;
241
- cursor: pointer;
242
- width: 100%;
243
- }
244
-
245
- .cursor-pointer {
246
- cursor: pointer;
247
- }
248
-
249
- .ml-5 {
250
- margin-left: 10px;
251
- }
252
-
253
- ::ng-deep .mat-checkbox.qms-group-options.flex-direction-row {
254
- .mat-checkbox-layout {
255
- white-space: normal;
256
- }
257
-
258
- .mat-checkbox-label {
259
- flex-direction: row;
260
- align-items: center;
261
- position: relative;
262
- padding-bottom: 2px;
263
- }
264
- }
265
- }