qms-angular 2.0.6 → 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.6",
3
+ "version": "2.0.7",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -63,8 +63,8 @@
63
63
  font-size: 16px;
64
64
  }
65
65
 
66
- .chip-item-result {
67
- // max-width: 250px;
66
+ .mat-mdc-chip.chip-item-result {
67
+ max-width: 250px;
68
68
 
69
69
  &.item-department {
70
70
  .qms-chip-body {
@@ -406,9 +406,10 @@ span.chip-item-children__count {
406
406
  }
407
407
  // }
408
408
 
409
- ::ng-deep .mdc-evolution-chip__text-label.mat-mdc-chip-action-label {
410
- white-space: nowrap;
411
- width: 225px;
412
- overflow: hidden;
413
- text-overflow: ellipsis;
414
- }
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
 
@@ -91,6 +91,13 @@
91
91
  color: theme-apply($active);
92
92
  }
93
93
  }
94
+
95
+ &:hover {
96
+ .mdc-tab-indicator__content--underline {
97
+ border-top-width: 3px;
98
+ border-color: theme-apply($active);
99
+ }
100
+ }
94
101
  }
95
102
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
96
103
  .mat-tab-disabled {
@@ -142,6 +149,11 @@
142
149
  .qms-tab-label {
143
150
  font-weight: 600;
144
151
  }
152
+
153
+ .mdc-tab-indicator__content--underline {
154
+ border-top-width: 3px;
155
+ border-color: theme-apply($active);
156
+ }
145
157
  }
146
158
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
147
159
  &:focus-visible,
@@ -209,6 +221,12 @@
209
221
  color: white;
210
222
  }
211
223
  }
224
+ &:hover {
225
+ .mdc-tab-indicator__content--underline {
226
+ border-top-width: 3px;
227
+ border-color: theme-apply($active);
228
+ }
229
+ }
212
230
  }
213
231
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
214
232
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
@@ -239,6 +257,11 @@
239
257
  .qms-tab-label {
240
258
  font-weight: 600;
241
259
  }
260
+
261
+ .mdc-tab-indicator__content--underline {
262
+ border-top-width: 3px;
263
+ border-color: theme-apply($active);
264
+ }
242
265
  }
243
266
 
244
267
  &:focus-visible {
@@ -308,6 +331,13 @@
308
331
  .mdc-tab--active {
309
332
  color: theme-apply($active);
310
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
+ }
311
341
  }
312
342
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
313
343
  .mat-tab-disabled {
@@ -365,6 +395,13 @@
365
395
  color: theme-apply($active);
366
396
  font-weight: 600;
367
397
  }
398
+
399
+ &:hover {
400
+ .mdc-tab-indicator__content--underline {
401
+ border-top-width: 3px;
402
+ border-color: theme-apply($active);
403
+ }
404
+ }
368
405
  }
369
406
  }
370
407
 
@@ -389,6 +426,13 @@
389
426
  color: theme-apply($active);
390
427
  }
391
428
  }
429
+
430
+ &:hover {
431
+ .mdc-tab-indicator__content--underline {
432
+ border-top-width: 3px;
433
+ border-color: theme-apply($active);
434
+ }
435
+ }
392
436
  }
393
437
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
394
438
  .mat-tab-disabled {
@@ -437,6 +481,11 @@
437
481
  .qms-tab-label {
438
482
  font-weight: 600;
439
483
  }
484
+
485
+ .mdc-tab-indicator__content--underline {
486
+ border-top-width: 3px;
487
+ border-color: theme-apply($active);
488
+ }
440
489
  }
441
490
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
442
491
  &:focus-visible,
@@ -494,6 +543,13 @@
494
543
  .mat-icon {
495
544
  color: white;
496
545
  }
546
+
547
+ &:hover {
548
+ .mdc-tab-indicator__content--underline {
549
+ border-top-width: 3px;
550
+ border-color: theme-apply($active);
551
+ }
552
+ }
497
553
  }
498
554
 
499
555
  .mat-mdc-tab-link {
@@ -511,9 +567,6 @@
511
567
  background-color: theme-apply($tab-primary-label);
512
568
  }
513
569
 
514
- .mat-ripple-element {
515
- // background-color: theme-apply($tab-dark-background);
516
- }
517
570
  /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
518
571
  &.mdc-tab--active {
519
572
  &:hover {
@@ -521,6 +574,11 @@
521
574
  .qms-tab-label {
522
575
  font-weight: 600;
523
576
  }
577
+
578
+ .mdc-tab-indicator__content--underline {
579
+ border-top-width: 3px;
580
+ border-color: theme-apply($active);
581
+ }
524
582
  }
525
583
 
526
584
  &:focus-visible {