qms-angular 1.1.21 → 1.1.23
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.
- package/bundles/qms-angular.umd.js +531 -341
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/models/qms-flat-node.model.js +1 -1
- package/esm2015/lib/common/models/qms-tree-node.model.js +1 -1
- package/esm2015/lib/components/select-access-dialog/model/select-access-config.model.js +3 -6
- package/esm2015/lib/components/select-access-dialog/model/select-access-data.js +1 -2
- package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +34 -11
- package/esm2015/lib/components/select-department/model/select-department-popup-data.model.js +3 -10
- package/esm2015/lib/components/select-department/select-department.component.js +3 -4
- package/esm2015/lib/components/select-department-tree/enum/mode-department-tree-view.enum.js +6 -0
- package/esm2015/lib/components/select-department-tree/model/select-department-tree.config.js +16 -2
- package/esm2015/lib/components/select-department-tree/public-api.js +2 -1
- package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +106 -77
- package/esm2015/lib/components/select-process-document/models/pop-up-data.model.js +2 -1
- package/esm2015/lib/components/select-process-document/select-process-document.component.js +46 -38
- package/esm2015/lib/directives/tooltip/tooltip-elipsify.directive.js +1 -2
- package/esm2015/lib/model/en.js +4 -3
- package/esm2015/lib/model/no.js +2 -1
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-url.model.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +173 -79
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +137 -123
- package/fesm2015/qms-angular.js +510 -336
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/common/models/qms-flat-node.model.d.ts +1 -0
- package/lib/common/models/qms-tree-node.model.d.ts +1 -0
- package/lib/components/select-access-dialog/model/select-access-config.model.d.ts +2 -5
- package/lib/components/select-access-dialog/model/select-access-data.d.ts +0 -1
- package/lib/components/select-access-dialog/select-access-dialog.component.d.ts +2 -1
- package/lib/components/select-department/model/select-department-popup-data.model.d.ts +2 -12
- package/lib/components/select-department/select-department.component.d.ts +0 -1
- package/lib/components/select-department-tree/enum/mode-department-tree-view.enum.d.ts +4 -0
- package/lib/components/select-department-tree/model/select-department-tree.config.d.ts +15 -1
- package/lib/components/select-department-tree/public-api.d.ts +1 -0
- package/lib/components/select-department-tree/select-department-tree.component.d.ts +16 -18
- package/lib/components/select-process-document/models/pop-up-data.model.d.ts +1 -0
- package/lib/components/select-process-document/select-process-document.component.d.ts +1 -0
- package/lib/model/en.d.ts +1 -0
- package/lib/model/no.d.ts +1 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-url.model.d.ts +2 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.d.ts +7 -3
- package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +8 -6
- package/package.json +1 -1
- package/qms-angular.metadata.json +1 -1
- package/src/lib/components/select-access-dialog/select-access-dialog.component.scss +19 -57
- package/src/lib/components/select-department/select-department.component.scss +12 -6
- package/src/lib/components/select-department-tree/select-department-tree.component.scss +89 -55
@@ -80,7 +80,7 @@
|
|
80
80
|
}
|
81
81
|
|
82
82
|
.mat-form-field-wrapper {
|
83
|
-
padding-bottom:
|
83
|
+
padding-bottom: 8px !important;
|
84
84
|
}
|
85
85
|
|
86
86
|
|
@@ -110,7 +110,7 @@
|
|
110
110
|
}
|
111
111
|
|
112
112
|
.item-list-wrapper {
|
113
|
-
max-height:
|
113
|
+
max-height: 40vh;
|
114
114
|
padding: 4px 4px 4px 0;
|
115
115
|
overflow-y: auto;
|
116
116
|
&.no-result{
|
@@ -153,11 +153,11 @@
|
|
153
153
|
}
|
154
154
|
|
155
155
|
.qms-dialog-content{
|
156
|
-
// display: flex;
|
157
156
|
display: grid;
|
158
157
|
column-gap: 8px;
|
159
158
|
&.active{
|
160
159
|
grid-template-columns: 2fr 1fr;
|
160
|
+
min-height: 50vh;
|
161
161
|
}
|
162
162
|
|
163
163
|
.access-dialog-wraper {
|
@@ -291,31 +291,14 @@
|
|
291
291
|
}
|
292
292
|
|
293
293
|
.qms-paginator{
|
294
|
-
.mat-icon{
|
295
|
-
display: flex;
|
296
|
-
align-items: center;
|
297
|
-
justify-content: center;
|
298
|
-
}
|
299
|
-
|
300
|
-
.qms-btn-icon{
|
301
|
-
width: 30px !important;
|
302
|
-
height: 30px !important;
|
303
|
-
line-height: 30px !important;
|
304
|
-
}
|
305
|
-
|
306
|
-
.mat-form-field-wrapper{
|
307
|
-
padding-bottom: 0;
|
308
|
-
}
|
309
|
-
.mat-paginator-container{
|
310
|
-
min-height: 40px;
|
311
|
-
}
|
312
294
|
.mat-paginator-container .qms-total-result{
|
313
|
-
margin-bottom:
|
295
|
+
margin-bottom: 0;
|
314
296
|
margin-right: 12px;
|
315
|
-
height:
|
297
|
+
height: 100%;
|
298
|
+
display: flex;
|
299
|
+
align-items: center;
|
316
300
|
span{
|
317
301
|
font-weight: 600;
|
318
|
-
font-size: 13px;
|
319
302
|
color: black(0.8);
|
320
303
|
}
|
321
304
|
}
|
@@ -326,38 +309,12 @@
|
|
326
309
|
margin-bottom: 0;
|
327
310
|
}
|
328
311
|
}
|
329
|
-
|
330
|
-
&> .qms-btn-icon-wrapper{
|
331
|
-
width: 30px !important;
|
332
|
-
height: 30px !important;
|
333
|
-
display: flex;
|
334
|
-
justify-content: center;
|
335
|
-
align-items: center;
|
336
|
-
}
|
337
|
-
|
338
312
|
.qms-paginator-page-size{
|
339
|
-
|
340
|
-
& > .qms-pagesize-label{
|
341
|
-
display: none;
|
342
|
-
}
|
343
|
-
&> .qms-form-page-size .mat-form-field-flex{
|
344
|
-
width: 60px !important;
|
345
|
-
height: 30px;
|
346
|
-
display: flex;
|
347
|
-
align-items: center;
|
348
|
-
padding: 0 4px;
|
349
|
-
.mat-form-field-infix{
|
350
|
-
height: 30px;
|
351
|
-
}
|
352
|
-
}
|
353
|
-
}
|
354
|
-
.mat-form-field.qms-form .mat-select-min-line, .mat-form-field.qms-form mat-select-trigger{
|
355
|
-
font-size: 14px;
|
313
|
+
align-items: center;
|
356
314
|
}
|
357
|
-
.mat-
|
358
|
-
|
315
|
+
.mat-form-field-wrapper{
|
316
|
+
padding-bottom: 0 !important;
|
359
317
|
}
|
360
|
-
|
361
318
|
}
|
362
319
|
|
363
320
|
.mat-checkbox.checkbox-all .mat-checkbox-label{
|
@@ -383,12 +340,12 @@
|
|
383
340
|
}
|
384
341
|
|
385
342
|
// Loading animate
|
386
|
-
.loading-container{
|
387
|
-
height:
|
343
|
+
.qms-loading-container{
|
344
|
+
height: 45vh;
|
388
345
|
overflow: hidden;
|
389
346
|
display: grid;
|
390
|
-
grid-template-rows: repeat(
|
391
|
-
.loader{
|
347
|
+
grid-template-rows: repeat(60px);
|
348
|
+
.qms-loader{
|
392
349
|
position: relative;
|
393
350
|
width: 100%;
|
394
351
|
height: 100%;
|
@@ -428,4 +385,9 @@
|
|
428
385
|
}
|
429
386
|
}
|
430
387
|
}
|
388
|
+
|
389
|
+
.btn-close-dialog.qms-btn-icon:focus:not(:hover) {
|
390
|
+
background-color: unset !important;
|
391
|
+
color: unset !important;
|
392
|
+
}
|
431
393
|
}
|
@@ -76,20 +76,20 @@
|
|
76
76
|
|
77
77
|
.panel__item {
|
78
78
|
max-height: 175px;
|
79
|
-
margin-top:
|
79
|
+
margin-top: 4px;
|
80
80
|
overflow-x: hidden;
|
81
81
|
overflow-y: auto;
|
82
82
|
padding-right: 5px;
|
83
83
|
width: 100%;
|
84
|
-
|
85
|
-
display: flex;
|
86
|
-
flex-wrap: wrap;
|
87
|
-
align-content: flex-start;
|
88
|
-
|
84
|
+
display: block;
|
89
85
|
.related__item__inline {
|
90
86
|
max-width: 100%;
|
91
87
|
}
|
92
88
|
|
89
|
+
::ng-deep .mat-chip-list-wrapper{
|
90
|
+
margin: 0 -4px !important;
|
91
|
+
}
|
92
|
+
|
93
93
|
.select__toggle-include {
|
94
94
|
width: 100%;
|
95
95
|
|
@@ -135,6 +135,7 @@
|
|
135
135
|
}
|
136
136
|
}
|
137
137
|
|
138
|
+
|
138
139
|
span.related__item__content_name {
|
139
140
|
display: inline-block;
|
140
141
|
min-width: calc(100% - 13px);
|
@@ -194,4 +195,9 @@
|
|
194
195
|
height: calc(100% - 40px) !important;
|
195
196
|
}
|
196
197
|
}
|
198
|
+
|
199
|
+
::ng-deep.btn-close-dialog.qms-btn-icon:focus:not(:hover) {
|
200
|
+
background-color: unset !important;
|
201
|
+
color: unset !important;
|
202
|
+
}
|
197
203
|
}
|
@@ -20,6 +20,9 @@
|
|
20
20
|
.w100 {
|
21
21
|
width: 100%;
|
22
22
|
}
|
23
|
+
.h100{
|
24
|
+
height: 100%;
|
25
|
+
}
|
23
26
|
|
24
27
|
.fw500{
|
25
28
|
font-weight: 500 !important;
|
@@ -78,16 +81,95 @@
|
|
78
81
|
}
|
79
82
|
}
|
80
83
|
|
84
|
+
.header-title {
|
85
|
+
font-weight: 500;
|
86
|
+
color: theme-apply($ws-text-primary);
|
87
|
+
font-size: 16px;
|
88
|
+
.header-view{
|
89
|
+
padding: 4px 0;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.sticky-position{
|
94
|
+
position: sticky;
|
95
|
+
top: 0;
|
96
|
+
left: 0;
|
97
|
+
z-index: 1;
|
98
|
+
background: #FFFFFF;
|
99
|
+
}
|
100
|
+
|
101
|
+
.header-view-tree{
|
102
|
+
display: grid;
|
103
|
+
grid-template-columns: 1fr 200px;
|
104
|
+
column-gap: 2px;
|
105
|
+
padding: 4px 12px 4px 0;
|
106
|
+
}
|
107
|
+
|
81
108
|
.tree-department-wrapper {
|
82
109
|
height: 375px;
|
83
110
|
padding-right: 4px;
|
84
111
|
overflow-y: auto;
|
85
112
|
overflow-x: hidden;
|
86
113
|
position: relative;
|
114
|
+
transition: height .1s ease-in-out;
|
115
|
+
.tree-view{
|
116
|
+
&.active-mode-external-view{
|
117
|
+
width: 100%;
|
118
|
+
display: grid;
|
119
|
+
grid-template-columns: 1fr 200px;
|
120
|
+
column-gap: 2px;
|
121
|
+
.tree-view-main{
|
122
|
+
&> .separate{
|
123
|
+
height: 38px;
|
124
|
+
&.h-0{
|
125
|
+
height: 0;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
&:last-child{
|
129
|
+
height: 100%;
|
130
|
+
padding-left: 4px;
|
131
|
+
position: relative;
|
132
|
+
&::after{
|
133
|
+
position: absolute;
|
134
|
+
content: "";
|
135
|
+
top: 0;
|
136
|
+
bottom: -38px;
|
137
|
+
left: 0;
|
138
|
+
width: 1px;
|
139
|
+
background: rgba(0, 0, 0, 0.12);
|
140
|
+
}
|
141
|
+
}
|
142
|
+
.external-list-item-container{
|
143
|
+
.node-external{
|
144
|
+
overflow: hidden;
|
145
|
+
transition: .1s ease-in-out;
|
146
|
+
.node-external-content {
|
147
|
+
padding: 5px 15px 5px 15px;
|
148
|
+
height: calc(100% - 2px);
|
149
|
+
color: theme-apply($default-color);
|
150
|
+
font-size: 14px;
|
151
|
+
display: flex;
|
152
|
+
align-items: center;
|
153
|
+
span{
|
154
|
+
overflow: hidden;
|
155
|
+
text-overflow: ellipsis;
|
156
|
+
white-space: nowrap;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
87
164
|
}
|
88
165
|
|
89
166
|
// Tree
|
90
167
|
.mat-tree.select-department-tree {
|
168
|
+
height: 100%;
|
169
|
+
&.has-checkbox-all{
|
170
|
+
max-height: calc(100% - 47px);
|
171
|
+
overflow-y: auto;
|
172
|
+
}
|
91
173
|
.mat-tree-node {
|
92
174
|
border-radius: 4px;
|
93
175
|
&:hover {
|
@@ -295,7 +377,7 @@
|
|
295
377
|
}
|
296
378
|
|
297
379
|
.qms-view-search-result{
|
298
|
-
height:
|
380
|
+
height: 100%;
|
299
381
|
width: 100%;
|
300
382
|
overflow: hidden;
|
301
383
|
.result {
|
@@ -304,7 +386,7 @@
|
|
304
386
|
margin-bottom: 4px;
|
305
387
|
padding-right: 4px;
|
306
388
|
&.active-paging{
|
307
|
-
max-height: calc(100% -
|
389
|
+
max-height: calc(100% - 95px);
|
308
390
|
}
|
309
391
|
&.no-result{
|
310
392
|
height: 100%;
|
@@ -371,27 +453,14 @@
|
|
371
453
|
}
|
372
454
|
|
373
455
|
::ng-deep .qms-paginator{
|
374
|
-
.mat-icon{
|
375
|
-
display: flex;
|
376
|
-
align-items: center;
|
377
|
-
justify-content: center;
|
378
|
-
}
|
379
|
-
.mat-form-field-wrapper{
|
380
|
-
padding-bottom: 0;
|
381
|
-
}
|
382
|
-
.mat-paginator-container{
|
383
|
-
min-height: 40px;
|
384
|
-
}
|
385
456
|
.mat-paginator-container .qms-total-result{
|
386
457
|
margin-bottom: 0;
|
387
458
|
margin-right: 12px;
|
388
459
|
height: 100%;
|
389
460
|
display: flex;
|
390
|
-
justify-content: center;
|
391
461
|
align-items: center;
|
392
462
|
span{
|
393
463
|
font-weight: 600;
|
394
|
-
font-size: 13px;
|
395
464
|
color: black(0.8);
|
396
465
|
}
|
397
466
|
}
|
@@ -401,46 +470,12 @@
|
|
401
470
|
& > .qms-total-result{
|
402
471
|
margin-bottom: 0;
|
403
472
|
}
|
404
|
-
&> .qms-btn-icon{
|
405
|
-
width: 30px;
|
406
|
-
height: 30px;
|
407
|
-
line-height: 30px;
|
408
|
-
}
|
409
473
|
}
|
410
|
-
|
411
|
-
|
412
|
-
width: 30px;
|
413
|
-
height: 30px;
|
414
|
-
display: flex;
|
415
|
-
justify-content: center;
|
416
|
-
align-items: center;
|
474
|
+
.mat-form-field-wrapper{
|
475
|
+
padding-bottom: 0;
|
417
476
|
}
|
418
|
-
|
419
477
|
.qms-paginator-page-size{
|
420
|
-
margin-right: 12px;
|
421
|
-
height: 100%;
|
422
|
-
display: flex;
|
423
478
|
align-items: center;
|
424
|
-
justify-content: center;
|
425
|
-
&> .qms-form-page-size .mat-form-field-flex{
|
426
|
-
width: 60px;
|
427
|
-
height: 30px;
|
428
|
-
display: flex;
|
429
|
-
align-items: center;
|
430
|
-
padding: 0 4px;
|
431
|
-
.mat-form-field-infix{
|
432
|
-
height: 30px;
|
433
|
-
}
|
434
|
-
}
|
435
|
-
& > .qms-pagesize-label{
|
436
|
-
display: none;
|
437
|
-
}
|
438
|
-
}
|
439
|
-
.mat-form-field.qms-form .mat-select-min-line, .mat-form-field.qms-form mat-select-trigger{
|
440
|
-
font-size: 14px;
|
441
|
-
}
|
442
|
-
.mat-select-value{
|
443
|
-
text-align: center;
|
444
479
|
}
|
445
480
|
}
|
446
481
|
|
@@ -478,12 +513,11 @@
|
|
478
513
|
line-height: 40px;
|
479
514
|
}
|
480
515
|
|
481
|
-
.loading-container{
|
516
|
+
.qms-loading-container{
|
482
517
|
overflow: hidden;
|
483
|
-
height: 100%;
|
484
518
|
display: grid;
|
485
|
-
grid-template-rows: repeat(
|
486
|
-
.loader{
|
519
|
+
grid-template-rows: repeat(60px);
|
520
|
+
.qms-loader{
|
487
521
|
position: relative;
|
488
522
|
width: 100%;
|
489
523
|
height: 100%;
|