qms-angular 1.1.20 → 1.1.22

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 (64) hide show
  1. package/bundles/qms-angular.umd.js +900 -528
  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/common/models/qms-tree-node.model.js +1 -1
  5. package/esm2015/lib/components/select-access-dialog/common/animation.js +27 -3
  6. package/esm2015/lib/components/select-access-dialog/model/access-paging.model.js +12 -0
  7. package/esm2015/lib/components/select-access-dialog/model/filter-person.model.js +3 -0
  8. package/esm2015/lib/components/select-access-dialog/model/select-access-config.model.js +2 -1
  9. package/esm2015/lib/components/select-access-dialog/model/select-access-data.js +4 -3
  10. package/esm2015/lib/components/select-access-dialog/public-api.js +4 -1
  11. package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +201 -125
  12. package/esm2015/lib/components/select-access-dialog/select-access-dialog.module.js +4 -2
  13. package/esm2015/lib/components/select-department/common/animation.js +26 -2
  14. package/esm2015/lib/components/select-department/select-department.component.js +21 -21
  15. package/esm2015/lib/components/select-department/select-department.module.js +2 -2
  16. package/esm2015/lib/components/select-department-tree/animation/animation.js +2 -2
  17. package/esm2015/lib/components/select-department-tree/model/department-paging.model.js +9 -0
  18. package/esm2015/lib/components/select-department-tree/model/selection-change.model.js +2 -0
  19. package/esm2015/lib/components/select-department-tree/public-api.js +3 -1
  20. package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +312 -236
  21. package/esm2015/lib/components/select-process-document/models/pop-up-data.model.js +2 -1
  22. package/esm2015/lib/components/select-process-document/select-process-document.component.js +46 -38
  23. package/esm2015/lib/directives/content-changes.directive.js +32 -0
  24. package/esm2015/lib/directives/tooltip/tooltip-elipsify.directive.js +51 -0
  25. package/esm2015/lib/directives/tooltip/tooltip-renderer.directive.js +1 -1
  26. package/esm2015/lib/model/en.js +5 -4
  27. package/esm2015/lib/model/no.js +3 -2
  28. package/esm2015/lib/qms-angular.module.js +9 -3
  29. package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-data.model.js +1 -1
  30. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +62 -50
  31. package/esm2015/public-api.js +3 -1
  32. package/fesm2015/qms-angular.js +866 -539
  33. package/fesm2015/qms-angular.js.map +1 -1
  34. package/lib/common/models/qms-flat-node.model.d.ts +2 -0
  35. package/lib/common/models/qms-tree-node.model.d.ts +5 -0
  36. package/lib/components/select-access-dialog/model/access-paging.model.d.ts +9 -0
  37. package/lib/components/select-access-dialog/model/filter-person.model.d.ts +6 -0
  38. package/lib/components/select-access-dialog/model/select-access-config.model.d.ts +1 -0
  39. package/lib/components/select-access-dialog/model/select-access-data.d.ts +4 -2
  40. package/lib/components/select-access-dialog/public-api.d.ts +3 -0
  41. package/lib/components/select-access-dialog/select-access-dialog.component.d.ts +41 -18
  42. package/lib/components/select-department/select-department.component.d.ts +7 -6
  43. package/lib/components/select-department-tree/model/department-paging.model.d.ts +5 -0
  44. package/lib/components/select-department-tree/model/selection-change.model.d.ts +4 -0
  45. package/lib/components/select-department-tree/public-api.d.ts +2 -0
  46. package/lib/components/select-department-tree/select-department-tree.component.d.ts +24 -15
  47. package/lib/components/select-process-document/models/pop-up-data.model.d.ts +1 -0
  48. package/lib/components/select-process-document/select-process-document.component.d.ts +1 -0
  49. package/lib/directives/content-changes.directive.d.ts +9 -0
  50. package/lib/directives/tooltip/tooltip-elipsify.directive.d.ts +13 -0
  51. package/lib/directives/tooltip/tooltip-renderer.directive.d.ts +2 -2
  52. package/lib/model/en.d.ts +2 -1
  53. package/lib/model/no.d.ts +2 -1
  54. package/lib/qms-ckeditor-components/common/models/qms-ckeditor-data.model.d.ts +1 -1
  55. package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +6 -0
  56. package/package.json +1 -1
  57. package/public-api.d.ts +2 -0
  58. package/qms-angular.metadata.json +1 -1
  59. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -1
  60. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js.map +1 -1
  61. package/src/assets/qms-ckeditor-plugin/src/plugins/template/loadtemplatedialogcommand.js +5 -1
  62. package/src/lib/components/select-access-dialog/select-access-dialog.component.scss +103 -41
  63. package/src/lib/components/select-department/select-department.component.scss +12 -0
  64. package/src/lib/components/select-department-tree/select-department-tree.component.scss +1 -1
@@ -3,8 +3,12 @@ import * as QMSCKEditorConstant from '../common/qmsCKEditorConstant';
3
3
  import * as QMSCKEditorService from '../common/qmsCKEditorService';
4
4
 
5
5
  export default class LoadTemplateDialogCommand extends Command {
6
-
6
+ constructor( editor ) {
7
+ super( editor );
8
+ }
9
+
7
10
  execute() {
11
+ const editor = this.editor;
8
12
  QMSCKEditorService.loadTemplateNotify(null);
9
13
  window.addEventListener(QMSCKEditorConstant.QMSCK_LOAD_TEMPLATE_PLUGIN_RESP, function (evt) {
10
14
  editor.setData(evt.detail);
@@ -99,50 +99,22 @@
99
99
  }
100
100
  }
101
101
 
102
-
103
-
104
-
105
102
  .access-dialog-header {
106
103
  display: flex;
107
104
  justify-content: space-between;
108
105
  align-items: center;
109
106
  }
110
107
 
111
- .access-dialog-wraper {
112
- width: 100%;
113
-
114
- .field-select-option {
115
- .mat-form-field-wrapper{
116
- padding-bottom: 16px !important;
117
- }
118
- .mat-form-field-underline{
119
- bottom: 16px !important;
120
- }
121
- }
122
- }
123
-
124
108
  .mat-chip-list-wrapper {
125
109
  margin: unset !important;
126
110
  }
127
111
 
128
- .result-selected-container {
129
- max-height: 175px;
130
- overflow-y: auto;
131
- padding-right: 4px;
132
- }
133
-
134
112
  .item-list-wrapper {
135
- max-height: 28vh;
113
+ max-height: 45vh;
136
114
  padding: 4px 4px 4px 0;
137
115
  overflow-y: auto;
138
116
  &.no-result{
139
- height: 28vh;
140
- display: flex;
141
- justify-content: center;
142
- align-items: center;
143
- }
144
- &.no-result{
145
- height: 28vh;
117
+ height: 50vh;
146
118
  display: flex;
147
119
  justify-content: center;
148
120
  align-items: center;
@@ -180,6 +152,82 @@
180
152
  }
181
153
  }
182
154
 
155
+ .qms-dialog-content{
156
+ // display: flex;
157
+ display: grid;
158
+ column-gap: 8px;
159
+ &.active{
160
+ grid-template-columns: 2fr 1fr;
161
+ }
162
+
163
+ .access-dialog-wraper {
164
+ .field-select-option {
165
+ .mat-form-field-wrapper{
166
+ padding-bottom: 16px !important;
167
+ }
168
+ .mat-form-field-underline{
169
+ bottom: 16px !important;
170
+ }
171
+ }
172
+ }
173
+
174
+ .result-wrapper{
175
+ position: relative;
176
+ width: 100%;
177
+ margin-left: 8px;
178
+ &::after{
179
+ position: absolute;
180
+ content: '';
181
+ top: 0;
182
+ left: 0;
183
+ background-color: #0000001f;
184
+ height: 100%;
185
+ width: 1px;
186
+ }
187
+ }
188
+ .result-selected-container {
189
+ position: absolute;
190
+ top: 0;
191
+ right: 0;
192
+ bottom: 0;
193
+ left: 0;
194
+ overflow-y: auto;
195
+ padding: 0 8px;
196
+ // .mat-divider{
197
+ // margin-bottom: 12px;
198
+ // }
199
+ .result-header{
200
+ height: 51px;
201
+ display: flex;
202
+ align-items: center;
203
+ position: sticky;
204
+ top: 0;
205
+ z-index: 10;
206
+ padding: 0 !important;
207
+ background: white;
208
+ margin-bottom: 12px;
209
+ &::after{
210
+ position: absolute;
211
+ content: "";
212
+ bottom: 0;
213
+ left: 0;
214
+ width: 100%;
215
+ height: 1px;
216
+ background: rgba(0, 0, 0, 0.04);
217
+ }
218
+
219
+ .mat-card-content{
220
+ height: 51px;
221
+ width: 100%;
222
+ padding-left: 4px;
223
+ display: flex;
224
+ align-items: center;
225
+ background-color: rgba(0, 0, 0, 0.04);
226
+ }
227
+ }
228
+ }
229
+ }
230
+
183
231
  .option-selected-content {
184
232
  .group-filter-person-option {
185
233
  display: flex;
@@ -188,7 +236,6 @@
188
236
  align-items: center;
189
237
  gap: 8px;
190
238
  }
191
-
192
239
  }
193
240
 
194
241
  span.chip-item__content_name {
@@ -204,6 +251,7 @@
204
251
  color: black(0.5);
205
252
  font-weight: 600;
206
253
  }
254
+
207
255
  .mat-slide-toggle.qms-group-options{
208
256
  padding: unset !important;
209
257
  }
@@ -216,9 +264,11 @@
216
264
  bottom: 8px !important;
217
265
  }
218
266
  }
267
+
219
268
  .slide-toggle{
220
269
  margin-bottom: 8px;
221
270
  }
271
+
222
272
  .confirm__button__groups.none-option{
223
273
  margin-top: 85px;
224
274
  }
@@ -246,6 +296,13 @@
246
296
  align-items: center;
247
297
  justify-content: center;
248
298
  }
299
+
300
+ .qms-btn-icon{
301
+ width: 30px !important;
302
+ height: 30px !important;
303
+ line-height: 30px !important;
304
+ }
305
+
249
306
  .mat-form-field-wrapper{
250
307
  padding-bottom: 0;
251
308
  }
@@ -271,8 +328,8 @@
271
328
  }
272
329
 
273
330
  &> .qms-btn-icon-wrapper{
274
- width: 30px;
275
- height: 30px;
331
+ width: 30px !important;
332
+ height: 30px !important;
276
333
  display: flex;
277
334
  justify-content: center;
278
335
  align-items: center;
@@ -312,15 +369,23 @@
312
369
  margin: 0 !important;
313
370
  }
314
371
 
315
- .qms-btn-icon{
316
- width: 30px !important;
317
- height: 30px !important;
318
- line-height: 30px !important;
372
+
373
+ .access-department{
374
+ .qms-view-search-result{
375
+ height: 100% !important;
376
+ .result{
377
+ max-height: calc(100% - 80px) !important;
378
+ }
379
+ }
380
+ .loading-container{
381
+ height: calc(100% - 40px) !important;
382
+ }
319
383
  }
320
384
 
321
385
  // Loading animate
322
386
  .loading-container{
323
- height: 25vh;
387
+ height: 50vh;
388
+ overflow: hidden;
324
389
  display: grid;
325
390
  grid-template-rows: repeat(auto-fill, minmax(60px, 60px));
326
391
  .loader{
@@ -363,7 +428,4 @@
363
428
  }
364
429
  }
365
430
  }
366
-
367
431
  }
368
-
369
-
@@ -182,4 +182,16 @@
182
182
  align-items: center;
183
183
  }
184
184
  }
185
+
186
+ ::ng-deep .custom-department-tree{
187
+ .qms-view-search-result{
188
+ height: 100% !important;
189
+ .result{
190
+ max-height: calc(100% - 80px) !important;
191
+ }
192
+ }
193
+ .loading-container{
194
+ height: calc(100% - 40px) !important;
195
+ }
196
+ }
185
197
  }
@@ -482,7 +482,7 @@
482
482
  overflow: hidden;
483
483
  height: 100%;
484
484
  display: grid;
485
- grid-template-rows: repeat(auto-fill, minmax(60px, 60px));
485
+ grid-template-rows: repeat(auto-fit, minmax(60px, 60px));
486
486
  .loader{
487
487
  position: relative;
488
488
  width: 100%;