qms-angular 2.0.5 → 2.0.7

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.
@@ -1,16 +1,15 @@
1
- import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
1
+ import { ElementRef, OnInit } from '@angular/core';
2
2
  import { UntypedFormBuilder } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { ConfirmDialog } from './constant';
5
5
  import * as i0 from "@angular/core";
6
- export declare class QMSConfirmDialog implements OnInit, AfterViewInit {
6
+ export declare class QMSConfirmDialog implements OnInit {
7
7
  private fb;
8
8
  private _elRef;
9
9
  private dialogRef;
10
10
  info: ConfirmDialog;
11
11
  actionGroup: ElementRef;
12
12
  constructor(fb: UntypedFormBuilder, _elRef: ElementRef, dialogRef: MatDialogRef<QMSConfirmDialog>, data: any);
13
- ngAfterViewInit(): void;
14
13
  ngOnInit(): void;
15
14
  save(): void;
16
15
  close(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qms-angular",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -14,8 +14,10 @@
14
14
  }
15
15
 
16
16
  .mat-expansion-panel-header {
17
- font-size: 12px !important;
18
17
  font-weight: 800 !important;
18
+ .title-content {
19
+ font-size: 12px !important;
20
+ }
19
21
  }
20
22
 
21
23
  .w-100 {
@@ -61,8 +63,8 @@
61
63
  font-size: 16px;
62
64
  }
63
65
 
64
- .chip-item-result {
65
- // max-width: 250px;
66
+ .mat-mdc-chip.chip-item-result {
67
+ max-width: 250px;
66
68
 
67
69
  &.item-department {
68
70
  .qms-chip-body {
@@ -404,9 +406,10 @@ span.chip-item-children__count {
404
406
  }
405
407
  // }
406
408
 
407
- ::ng-deep .mdc-evolution-chip__text-label.mat-mdc-chip-action-label {
408
- white-space: nowrap;
409
- width: 225px;
410
- overflow: hidden;
411
- text-overflow: ellipsis;
412
- }
409
+ .mdc-evolution-chip-set .mat-mdc-standard-chip {
410
+ .mdc-evolution-chip__cell--primary,
411
+ .mdc-evolution-chip__action--primary,
412
+ .mat-mdc-chip-action-label {
413
+ overflow: hidden;
414
+ }
415
+ }
@@ -97,8 +97,8 @@ $padding-field-flex-datepicker: 0.9rem 1rem 1rem 1rem;
97
97
  }
98
98
 
99
99
  .mat-datepicker-toggle {
100
- margin-right: -4px;
101
- margin-left: 7px;
100
+ margin-right: 0px;
101
+ margin-left: 0px;
102
102
  }
103
103
  }
104
104
 
@@ -7,8 +7,9 @@
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  align-items: center;
10
- color: theme-apply($tab-dark-background);
10
+ // color: theme-apply($tab-dark-background);
11
11
  font-family: Open Sans, Arial, Sans-Serif;
12
+ font-weight: 600;
12
13
  }
13
14
 
14
15
  .qms-tab-label:hover {
@@ -76,7 +77,7 @@
76
77
  align-items: center;
77
78
  color: theme-apply($popup-title-color);
78
79
  font-family: Open Sans, Arial, Sans-Serif;
79
- font-weight: 400;
80
+ font-weight: 600;
80
81
  .mat-icon {
81
82
  color: black(0.6);
82
83
  }
@@ -90,6 +91,13 @@
90
91
  color: theme-apply($active);
91
92
  }
92
93
  }
94
+
95
+ &:hover {
96
+ .mdc-tab-indicator__content--underline {
97
+ border-top-width: 3px;
98
+ border-color: theme-apply($active);
99
+ }
100
+ }
93
101
  }
94
102
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
95
103
  .mat-tab-disabled {
@@ -141,6 +149,11 @@
141
149
  .qms-tab-label {
142
150
  font-weight: 600;
143
151
  }
152
+
153
+ .mdc-tab-indicator__content--underline {
154
+ border-top-width: 3px;
155
+ border-color: theme-apply($active);
156
+ }
144
157
  }
145
158
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
146
159
  &:focus-visible,
@@ -175,7 +188,7 @@
175
188
  }
176
189
 
177
190
  &.qms-tab-group-advanced.primary {
178
- background: theme-apply($tab-dark-background);
191
+ // background: theme-apply($tab-dark-background);
179
192
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
180
193
  .mat-tab-labels {
181
194
  border-bottom: 1px solid theme-apply($tab-primary-label);
@@ -185,7 +198,7 @@
185
198
  flex-direction: column;
186
199
  align-items: center;
187
200
  color: white;
188
- font-weight: 400;
201
+ font-weight: 600;
189
202
  .mat-icon {
190
203
  color: theme-apply($tab-primary-icon);
191
204
  }
@@ -208,6 +221,12 @@
208
221
  color: white;
209
222
  }
210
223
  }
224
+ &:hover {
225
+ .mdc-tab-indicator__content--underline {
226
+ border-top-width: 3px;
227
+ border-color: theme-apply($active);
228
+ }
229
+ }
211
230
  }
212
231
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
213
232
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
@@ -238,6 +257,11 @@
238
257
  .qms-tab-label {
239
258
  font-weight: 600;
240
259
  }
260
+
261
+ .mdc-tab-indicator__content--underline {
262
+ border-top-width: 3px;
263
+ border-color: theme-apply($active);
264
+ }
241
265
  }
242
266
 
243
267
  &:focus-visible {
@@ -250,7 +274,7 @@
250
274
  }
251
275
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
252
276
  &.mat-tab-disabled:hover {
253
- background: theme-apply($tab-dark-background);
277
+ // background: theme-apply($tab-dark-background);
254
278
  }
255
279
  }
256
280
 
@@ -295,8 +319,9 @@
295
319
  display: flex;
296
320
  flex-direction: column;
297
321
  align-items: center;
298
- color: theme-apply($tab-dark-background);
322
+ // color: theme-apply($tab-dark-background);
299
323
  font-family: Open Sans, Arial, Sans-Serif;
324
+ font-weight: 600;
300
325
  }
301
326
 
302
327
  .qms-tab-label:hover {
@@ -306,6 +331,13 @@
306
331
  .mdc-tab--active {
307
332
  color: theme-apply($active);
308
333
  font-weight: 600;
334
+
335
+ &:hover {
336
+ .mdc-tab-indicator__content--underline {
337
+ border-top-width: 3px;
338
+ border-color: theme-apply($active);
339
+ }
340
+ }
309
341
  }
310
342
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
311
343
  .mat-tab-disabled {
@@ -352,6 +384,25 @@
352
384
  border-color: theme-apply($tab-border);
353
385
  }
354
386
  }
387
+
388
+ .mdc-tab-indicator__content--underline {
389
+ border-top-width: 3px;
390
+ border-color: theme-apply($active);
391
+ }
392
+
393
+ .mdc-tab--active {
394
+ .mdc-tab__text-label {
395
+ color: theme-apply($active);
396
+ font-weight: 600;
397
+ }
398
+
399
+ &:hover {
400
+ .mdc-tab-indicator__content--underline {
401
+ border-top-width: 3px;
402
+ border-color: theme-apply($active);
403
+ }
404
+ }
405
+ }
355
406
  }
356
407
 
357
408
  &.qms-tab-group-advanced {
@@ -359,9 +410,9 @@
359
410
  display: flex;
360
411
  flex-direction: column;
361
412
  align-items: center;
362
- color: theme-apply($tab-dark-background);
413
+ // color: theme-apply($tab-dark-background);
363
414
  font-family: Open Sans, Arial, Sans-Serif;
364
- font-weight: 400;
415
+ font-weight: 600;
365
416
  .mat-icon {
366
417
  color: black(0.6);
367
418
  }
@@ -375,6 +426,13 @@
375
426
  color: theme-apply($active);
376
427
  }
377
428
  }
429
+
430
+ &:hover {
431
+ .mdc-tab-indicator__content--underline {
432
+ border-top-width: 3px;
433
+ border-color: theme-apply($active);
434
+ }
435
+ }
378
436
  }
379
437
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
380
438
  .mat-tab-disabled {
@@ -423,6 +481,11 @@
423
481
  .qms-tab-label {
424
482
  font-weight: 600;
425
483
  }
484
+
485
+ .mdc-tab-indicator__content--underline {
486
+ border-top-width: 3px;
487
+ border-color: theme-apply($active);
488
+ }
426
489
  }
427
490
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
428
491
  &:focus-visible,
@@ -452,14 +515,14 @@
452
515
  }
453
516
 
454
517
  &.qms-tab-group-advanced.primary {
455
- background: theme-apply($tab-dark-background);
518
+ // background: theme-apply($tab-dark-background);
456
519
 
457
520
  .qms-tab-label {
458
521
  display: flex;
459
522
  flex-direction: column;
460
523
  align-items: center;
461
524
  color: white;
462
- font-weight: 400;
525
+ font-weight: 600;
463
526
  .mat-icon {
464
527
  color: theme-apply($tab-primary-icon);
465
528
  }
@@ -480,6 +543,13 @@
480
543
  .mat-icon {
481
544
  color: white;
482
545
  }
546
+
547
+ &:hover {
548
+ .mdc-tab-indicator__content--underline {
549
+ border-top-width: 3px;
550
+ border-color: theme-apply($active);
551
+ }
552
+ }
483
553
  }
484
554
 
485
555
  .mat-mdc-tab-link {
@@ -497,9 +567,6 @@
497
567
  background-color: theme-apply($tab-primary-label);
498
568
  }
499
569
 
500
- .mat-ripple-element {
501
- background-color: theme-apply($tab-dark-background);
502
- }
503
570
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
504
571
  &.mdc-tab--active {
505
572
  &:hover {
@@ -507,6 +574,11 @@
507
574
  .qms-tab-label {
508
575
  font-weight: 600;
509
576
  }
577
+
578
+ .mdc-tab-indicator__content--underline {
579
+ border-top-width: 3px;
580
+ border-color: theme-apply($active);
581
+ }
510
582
  }
511
583
 
512
584
  &:focus-visible {
@@ -519,7 +591,7 @@
519
591
  }
520
592
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
521
593
  &.mat-tab-disabled:hover {
522
- background: theme-apply($tab-dark-background);
594
+ // background: theme-apply($tab-dark-background);
523
595
  }
524
596
  }
525
597
 
@@ -146,7 +146,6 @@
146
146
  .mat-mdc-header-cell:first-child {
147
147
  align-items: stretch !important;
148
148
  flex: unset;
149
- padding-left: 4px;
150
149
 
151
150
  .qms-row-checkbox {
152
151
  padding: 0 19px;