qms-angular 1.0.53 → 1.0.57

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 (60) hide show
  1. package/README.md +46 -1
  2. package/bundles/qms-angular.umd.js +1133 -453
  3. package/bundles/qms-angular.umd.js.map +1 -1
  4. package/esm2015/lib/components/qms-app-bar/qms-app-bar.component.js +1 -1
  5. package/esm2015/lib/components/related/model/popup-data.model.js +1 -1
  6. package/esm2015/lib/components/related/popup/related-popup.component.js +52 -31
  7. package/esm2015/lib/components/related/risk/analysis/analysis.component.js +1 -1
  8. package/esm2015/lib/components/select-include-children/enum/select-option-type.enum.js +7 -0
  9. package/esm2015/lib/components/select-include-children/model/select-option.model.js +1 -1
  10. package/esm2015/lib/components/select-include-children/model/select-popup-data.model.js +1 -1
  11. package/esm2015/lib/components/select-include-children/model/select-search-option.model.js +4 -0
  12. package/esm2015/lib/components/select-include-children/model/seleted-option.model.js +3 -0
  13. package/esm2015/lib/components/select-include-children/select-include-children.component.js +419 -331
  14. package/esm2015/lib/components/select-include-children/services/select-global.service.js +3 -7
  15. package/esm2015/lib/components/select-one/common/data-type.enum.js +14 -0
  16. package/esm2015/lib/components/select-one/common/document-folder-type.enum.js +12 -0
  17. package/esm2015/lib/components/select-one/common/module-type.enum.js +8 -0
  18. package/esm2015/lib/components/select-one/common/select-data.model.js +3 -0
  19. package/esm2015/lib/components/select-one/common/selected-node.model.js +3 -0
  20. package/esm2015/lib/components/select-one/common/selectone-popup-data.model.js +11 -0
  21. package/esm2015/lib/components/select-one/common/show-hide-search-result.const.js +6 -0
  22. package/esm2015/lib/components/select-one/index.js +2 -0
  23. package/esm2015/lib/components/select-one/public_api.js +7 -0
  24. package/esm2015/lib/components/select-one/select-one.component.js +359 -0
  25. package/esm2015/lib/components/select-one/select-one.module.js +94 -0
  26. package/esm2015/lib/components/select-one/service/select-one-global.service.js +18 -0
  27. package/esm2015/lib/components/tree/tree.component.js +69 -5
  28. package/esm2015/public-api.js +5 -1
  29. package/fesm2015/qms-angular.js +1088 -444
  30. package/fesm2015/qms-angular.js.map +1 -1
  31. package/lib/components/related/model/popup-data.model.d.ts +0 -1
  32. package/lib/components/related/popup/related-popup.component.d.ts +4 -5
  33. package/lib/components/select-include-children/enum/select-option-type.enum.d.ts +5 -0
  34. package/lib/components/select-include-children/model/select-option.model.d.ts +2 -0
  35. package/lib/components/select-include-children/model/select-popup-data.model.d.ts +4 -0
  36. package/lib/components/select-include-children/model/select-search-option.model.d.ts +7 -0
  37. package/lib/components/select-include-children/model/seleted-option.model.d.ts +15 -0
  38. package/lib/components/select-include-children/select-include-children.component.d.ts +32 -18
  39. package/lib/components/select-include-children/services/select-global.service.d.ts +3 -5
  40. package/lib/components/select-one/common/data-type.enum.d.ts +12 -0
  41. package/lib/components/select-one/common/document-folder-type.enum.d.ts +10 -0
  42. package/lib/components/select-one/common/module-type.enum.d.ts +6 -0
  43. package/lib/components/select-one/common/select-data.model.d.ts +12 -0
  44. package/lib/components/select-one/common/selected-node.model.d.ts +12 -0
  45. package/lib/components/select-one/common/selectone-popup-data.model.d.ts +12 -0
  46. package/lib/components/select-one/common/show-hide-search-result.const.d.ts +5 -0
  47. package/lib/components/select-one/index.d.ts +1 -0
  48. package/lib/components/select-one/public_api.d.ts +6 -0
  49. package/lib/components/select-one/select-one.component.d.ts +80 -0
  50. package/lib/components/select-one/select-one.module.d.ts +25 -0
  51. package/lib/components/select-one/service/select-one-global.service.d.ts +10 -0
  52. package/lib/components/tree/tree.component.d.ts +6 -1
  53. package/package.json +1 -1
  54. package/public-api.d.ts +4 -0
  55. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -2
  56. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js.map +1 -1
  57. package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +0 -2
  58. package/src/lib/components/qms-app-bar/qms-app-bar.component.scss +7 -0
  59. package/src/lib/components/select-include-children/select-include-children.component.scss +11 -4
  60. package/src/lib/components/select-one/select-one.component.scss +240 -0
@@ -49,7 +49,6 @@ import VideoUpload from './plugins/video/videoupload.js';
49
49
  import RemoveFormat from '@ckeditor/ckeditor5-remove-format/src/removeformat.js';
50
50
  import Superscript from '@ckeditor/ckeditor5-basic-styles/src/superscript.js';
51
51
  import Subscript from '@ckeditor/ckeditor5-basic-styles/src/subscript.js';
52
- import MathType from '@wiris/mathtype-ckeditor5';
53
52
  import Timestamp from './plugins/timestamp/timestamp.js';
54
53
  import SpecialCharacters from './plugins/ckeditor5-special-characters/src/specialcharacters.js';
55
54
  import SpecialCharactersArrows from './plugins/ckeditor5-special-characters/src/specialcharactersarrows.js';
@@ -119,7 +118,6 @@ Editor.builtinPlugins = [
119
118
  RemoveFormat,
120
119
  Superscript,
121
120
  Subscript,
122
- MathType,
123
121
  Timestamp,
124
122
  SpecialCharacters,
125
123
  SpecialCharactersArrows,
@@ -31,6 +31,13 @@
31
31
 
32
32
  .icon-title {
33
33
  color: #666666;
34
+ padding: 0;
35
+ min-width: 0;
36
+ width: 40px;
37
+ height: 40px;
38
+ flex-shrink: 0;
39
+ line-height: 40px;
40
+ border-radius: 50%;
34
41
  }
35
42
 
36
43
  .content-title {
@@ -22,6 +22,12 @@
22
22
  }
23
23
  }
24
24
 
25
+ .select__toggle-include {
26
+ width: 100%;
27
+ padding: 0;
28
+ margin: 1rem 0;
29
+ }
30
+
25
31
  .line__divider {
26
32
  border-bottom: 1px solid #ccc;
27
33
  height: 1px;
@@ -95,10 +101,6 @@
95
101
  max-width: 100%;
96
102
  }
97
103
 
98
- .select__toggle-include {
99
- width: 100%;
100
- }
101
-
102
104
  .related__item__content {
103
105
  height: 32px;
104
106
  line-height: 32px;
@@ -120,6 +122,11 @@
120
122
  overflow: hidden;
121
123
  text-overflow: ellipsis;
122
124
  max-width: 320px;
125
+
126
+ .select__include-children__count{
127
+ font-size: 0.75rem;
128
+ color: black(0.38);
129
+ }
123
130
  }
124
131
  }
125
132
  }
@@ -0,0 +1,240 @@
1
+ @import "../../../themes/color.scss";
2
+ @import "../../../themes/core/scrollbar.scss";
3
+ @import "../../../themes/core/button.scss";
4
+
5
+ .qmslib__related__popup__container {
6
+ .input__field {
7
+ display: flex;
8
+ align-items: center;
9
+
10
+ input {
11
+ width: 100%;
12
+ padding: 10px;
13
+ outline: none;
14
+ border: none;
15
+ background: $background-input-text;
16
+ }
17
+
18
+ .mat-icon {
19
+ margin-left: -30px;
20
+ cursor: pointer;
21
+ vertical-align: middle;
22
+ }
23
+ }
24
+
25
+ .line__divider {
26
+ border-bottom: 1px solid #ccc;
27
+ height: 1px;
28
+ margin-top: 10px;
29
+ min-width: 300px;
30
+ max-width: 100%;
31
+ }
32
+
33
+ .button__close {
34
+ float: right;
35
+ top: -24px;
36
+ right: -24px;
37
+ cursor: pointer;
38
+ }
39
+
40
+ .panel__content {
41
+ height: 450px;
42
+ overflow: auto;
43
+ margin-top: 12px;
44
+ }
45
+
46
+ .panel__content_item {
47
+ height: 350px;
48
+ overflow: auto;
49
+ margin-top: 12px;
50
+ }
51
+
52
+ .panel-tree {
53
+ .mat-expansion-panel-body {
54
+ padding: 0 12px 12px;
55
+ }
56
+ }
57
+
58
+ .mat-expansion-panel-header {
59
+ height: 30px;
60
+ font-size: 12px;
61
+ letter-spacing: 1px;
62
+ font-family: 'Raleway';
63
+ font-weight: 600;
64
+ padding: 0;
65
+
66
+ .mat-expansion-panel-header-title {
67
+ align-items: center;
68
+ margin-left: 12px;
69
+ }
70
+
71
+ .related_popup_toggle-btn {
72
+ width: 1.5rem;
73
+ height: 1.5rem;
74
+ line-height: 1.5rem;
75
+ }
76
+ }
77
+
78
+ .mat-expansion-panel:not([class*="mat-elevation-z"]) {
79
+ box-shadow: none;
80
+ }
81
+
82
+ .panel__item {
83
+ height: 100px;
84
+ margin-top: 12px;
85
+ overflow-x: hidden;
86
+ overflow-y: auto;
87
+ padding-right: 5px;
88
+ width: 100%;
89
+ max-width: 100%;
90
+ display: flex;
91
+ flex-wrap: wrap;
92
+ align-content: flex-start;
93
+
94
+ .related__item__inline {
95
+ max-width: 100%;
96
+ }
97
+
98
+ .related__item__content {
99
+ height: 32px;
100
+ line-height: 32px;
101
+ background-color: $related-item-background;
102
+ max-width: 100%;
103
+ margin-bottom: 5px;
104
+ margin-left: 2.5px;
105
+ margin-right: 2.5px;
106
+
107
+ .mat-icon {
108
+ color: $related-mat-icon-color;
109
+ font-size: 24px;
110
+ }
111
+
112
+ span.related__item__content_name {
113
+ display: inline-block;
114
+ min-width: calc(100% - 13px);
115
+ white-space: nowrap;
116
+ overflow: hidden;
117
+ text-overflow: ellipsis;
118
+ max-width: 320px;
119
+ }
120
+ }
121
+ }
122
+ }
123
+
124
+ cdk-virtual-scroll-viewport {
125
+ overflow-x: hidden;
126
+ .search__module-result {
127
+ margin: 1.5rem;
128
+ padding: 0 0 0.5rem 0px;
129
+ .search__module-title {
130
+ font-size: 14px;
131
+ font-weight: 600;
132
+ }
133
+
134
+ .search__option {
135
+ height: auto;
136
+ line-height: normal;
137
+ padding: 8px 0;
138
+ border-bottom: 1px solid #e0e0e0;
139
+
140
+ .qms-list-item.mat-2-line.image-item {
141
+ height: auto;
142
+ }
143
+ .qms-list-item-content {
144
+ margin: 0;
145
+ border-bottom: none;
146
+ .wrap-image.image-square {
147
+ width: 2.5rem;
148
+ height: 100%;
149
+ background: transparent;
150
+ align-self: center;
151
+ margin-right: 0;
152
+ img {
153
+ width: 24px;
154
+ height: 24px;
155
+ }
156
+ }
157
+
158
+ .material-icons-outlined.leading-icon,
159
+ mat-icon.leading-icon {
160
+ padding: 4px 0 4px 4px;
161
+ }
162
+
163
+ .subtitle {
164
+ font-weight: 400;
165
+ }
166
+
167
+ .caption {
168
+ overflow: hidden;
169
+ line-height: normal;
170
+ white-space: normal;
171
+ text-overflow: ellipsis;
172
+ display: -webkit-box;
173
+ -webkit-line-clamp: 2;
174
+ -webkit-box-orient: vertical;
175
+ padding: 0;
176
+ margin: 0;
177
+
178
+ span.search__result__parent-name {
179
+ display: inline-block;
180
+ width: auto;
181
+ width: calc(100% - 13px);
182
+ white-space: nowrap;
183
+ overflow: hidden;
184
+ text-overflow: ellipsis;
185
+ }
186
+ }
187
+
188
+ .default-subtitle {
189
+ color: rgba($color: #000000, $alpha: 0.38);
190
+ }
191
+
192
+ .search__description-icon {
193
+ margin-right: 0px;
194
+ width: 12px;
195
+ height: 12px;
196
+ font-size: 12px;
197
+ }
198
+
199
+ .qms-list-text {
200
+ border-bottom: none;
201
+ }
202
+
203
+ .breadcrumb-containe {
204
+ .qms-breadcrumb-item {
205
+ .mat-icon {
206
+ font-size: 16px!important;
207
+ padding-bottom: 1px;
208
+ }
209
+ }
210
+ }
211
+ }
212
+ }
213
+
214
+ svg {
215
+ display: block;
216
+ }
217
+ }
218
+ }
219
+
220
+ #qmslib_related_popup_header_001 {
221
+ margin-bottom: 20px;
222
+ padding: 0;
223
+ font-weight: 600;
224
+ font-family: "Raleway";
225
+ }
226
+
227
+ .padding-5 {
228
+ padding: 5px;
229
+ }
230
+
231
+ .mat-autocomplete_related-viewport {
232
+ height: 100%;
233
+ max-height: 100% !important;
234
+ .cdk-virtual-scroll-content-wrapper {
235
+ width: 100%;
236
+ }
237
+ .related-viewport {
238
+ min-height: 10.25rem;
239
+ }
240
+ }