@flywheel-io/vision 0.4.2 → 0.6.0
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/README.md +1 -19
- package/assets/fonts/Flywheel-Vision-Icons.svg +239 -0
- package/assets/fonts/Flywheel-Vision-Icons.ttf +0 -0
- package/assets/fonts/Flywheel-Vision-Icons.woff +0 -0
- package/bundles/flywheel-io-vision-elements.umd.js +40 -16
- package/bundles/flywheel-io-vision-elements.umd.js.map +1 -1
- package/bundles/flywheel-io-vision.umd.js +884 -662
- package/bundles/flywheel-io-vision.umd.js.map +1 -1
- package/components/button/button.component.d.ts +3 -0
- package/components/button/button.module.d.ts +7 -0
- package/components/button-group/button-group.component.d.ts +3 -0
- package/components/button-group/button-group.module.d.ts +5 -0
- package/components/dialog/choice-dialog.component.d.ts +3 -0
- package/components/dialog/confirm-dialog.component.d.ts +3 -0
- package/components/dialog/dialog.module.d.ts +14 -0
- package/components/dialog/dialog.service.d.ts +3 -0
- package/components/dialog/error-dialog.component.d.ts +3 -0
- package/components/dialog/portal-dialog.component.d.ts +3 -0
- package/components/icon/icon.component.d.ts +5 -0
- package/components/icon/icon.module.d.ts +8 -0
- package/components/notification/notification/notification.component.d.ts +3 -0
- package/components/notification/notification-container/notification-container.component.d.ts +3 -0
- package/components/notification/notification.module.d.ts +11 -0
- package/components/notification/notification.service.d.ts +3 -0
- package/components/popover/popover-trigger.component.d.ts +3 -0
- package/components/popover/popover-trigger.directive.d.ts +3 -0
- package/components/popover/popover.component.d.ts +3 -0
- package/components/popover/popover.module.d.ts +8 -0
- package/components/shared/pipes/pipes.module.d.ts +6 -0
- package/components/shared/pipes/translate.pipe.d.ts +3 -0
- package/components/shared/pipes/trusthtml.pipe.d.ts +3 -0
- package/components/shared/translation.service.d.ts +3 -0
- package/components/table/table.component.d.ts +3 -0
- package/components/table/table.module.d.ts +12 -0
- package/elements/flywheel-io-vision-elements.d.ts +1 -0
- package/elements/package.json +0 -1
- package/esm2015/components/button/button.component.js +29 -21
- package/esm2015/components/button/button.module.js +27 -18
- package/esm2015/components/button-group/button-group.component.js +24 -20
- package/esm2015/components/button-group/button-group.module.js +19 -14
- package/esm2015/components/dialog/choice-dialog.component.js +41 -15
- package/esm2015/components/dialog/confirm-dialog.component.js +33 -16
- package/esm2015/components/dialog/dialog.module.js +58 -31
- package/esm2015/components/dialog/dialog.service.js +8 -8
- package/esm2015/components/dialog/error-dialog.component.js +30 -17
- package/esm2015/components/dialog/portal-dialog.component.js +43 -18
- package/esm2015/components/icon/icon.component.js +19 -0
- package/esm2015/components/icon/icon.module.js +26 -0
- package/esm2015/components/notification/notification/notification.component.js +31 -26
- package/esm2015/components/notification/notification-container/notification-container.component.js +25 -21
- package/esm2015/components/notification/notification.module.js +45 -26
- package/esm2015/components/notification/notification.service.js +9 -7
- package/esm2015/components/popover/popover-trigger.component.js +32 -25
- package/esm2015/components/popover/popover-trigger.directive.js +24 -23
- package/esm2015/components/popover/popover.component.js +25 -13
- package/esm2015/components/popover/popover.module.js +38 -25
- package/esm2015/components/shared/pipes/pipes.module.js +25 -13
- package/esm2015/components/shared/pipes/translate.pipe.js +12 -13
- package/esm2015/components/shared/pipes/trusthtml.pipe.js +12 -11
- package/esm2015/components/shared/translation.service.js +7 -4
- package/esm2015/components/table/table.component.js +45 -26
- package/esm2015/components/table/table.module.js +45 -24
- package/esm2015/elements/elements.js +19 -14
- package/esm2015/flywheel-io-vision.js +1 -5
- package/esm2015/public-api.js +3 -1
- package/fesm2015/flywheel-io-vision-elements.js +18 -13
- package/fesm2015/flywheel-io-vision-elements.js.map +1 -1
- package/fesm2015/flywheel-io-vision.js +775 -524
- package/fesm2015/flywheel-io-vision.js.map +1 -1
- package/flywheel-io-vision.d.ts +1 -4
- package/package.json +11 -12
- package/public-api.d.ts +2 -0
- package/scss/atoms/cards.scss +12 -0
- package/scss/atoms/grid.scss +21 -0
- package/scss/atoms/typography.scss +16 -0
- package/scss/icons/_icon-font-face.scss +10 -0
- package/scss/icons/_icon-glyphs.scss +370 -0
- package/scss/icons/icons.scss +3 -0
- package/styles.css +118 -108
- package/styles.scss +3 -3
- package/bundles/flywheel-io-vision-elements.umd.min.js +0 -2
- package/bundles/flywheel-io-vision-elements.umd.min.js.map +0 -1
- package/bundles/flywheel-io-vision.umd.min.js +0 -2
- package/bundles/flywheel-io-vision.umd.min.js.map +0 -1
- package/elements/flywheel-io-vision-elements.metadata.json +0 -1
- package/flywheel-io-vision.metadata.json +0 -1
package/styles.css
CHANGED
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap");
|
|
3
3
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700");
|
|
4
4
|
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600");
|
|
5
|
-
/* Colors for the ripple elements.*/
|
|
6
|
-
/* stylelint-disable-next-line material/theme-mixin-api */
|
|
7
|
-
/* stylelint-disable-next-line material/theme-mixin-api */
|
|
8
|
-
/* stylelint-disable material/no-prefixes */
|
|
9
|
-
/* stylelint-enable */
|
|
10
5
|
.mat-badge-content {
|
|
11
6
|
font-weight: 600;
|
|
12
7
|
font-size: 12px;
|
|
@@ -22,46 +17,46 @@
|
|
|
22
17
|
}
|
|
23
18
|
|
|
24
19
|
.mat-h1, .mat-headline, .mat-typography h1 {
|
|
25
|
-
font: 400 24px/32px Roboto, "Helvetica Neue", sans-serif;
|
|
20
|
+
font: 400 24px / 32px Roboto, "Helvetica Neue", sans-serif;
|
|
26
21
|
letter-spacing: normal;
|
|
27
22
|
margin: 0 0 16px;
|
|
28
23
|
}
|
|
29
24
|
|
|
30
25
|
.mat-h2, .mat-title, .mat-typography h2 {
|
|
31
|
-
font: 500 20px/32px Roboto, "Helvetica Neue", sans-serif;
|
|
26
|
+
font: 500 20px / 32px Roboto, "Helvetica Neue", sans-serif;
|
|
32
27
|
letter-spacing: normal;
|
|
33
28
|
margin: 0 0 16px;
|
|
34
29
|
}
|
|
35
30
|
|
|
36
31
|
.mat-h3, .mat-subheading-2, .mat-typography h3 {
|
|
37
|
-
font: 400 16px/28px Roboto, "Helvetica Neue", sans-serif;
|
|
32
|
+
font: 400 16px / 28px Roboto, "Helvetica Neue", sans-serif;
|
|
38
33
|
letter-spacing: normal;
|
|
39
34
|
margin: 0 0 16px;
|
|
40
35
|
}
|
|
41
36
|
|
|
42
37
|
.mat-h4, .mat-subheading-1, .mat-typography h4 {
|
|
43
|
-
font: 400 15px/24px Roboto, "Helvetica Neue", sans-serif;
|
|
38
|
+
font: 400 15px / 24px Roboto, "Helvetica Neue", sans-serif;
|
|
44
39
|
letter-spacing: normal;
|
|
45
40
|
margin: 0 0 16px;
|
|
46
41
|
}
|
|
47
42
|
|
|
48
43
|
.mat-h5, .mat-typography h5 {
|
|
49
|
-
font: 400 calc(14px * 0.83)/20px Roboto, "Helvetica Neue", sans-serif;
|
|
44
|
+
font: 400 calc(14px * 0.83) / 20px Roboto, "Helvetica Neue", sans-serif;
|
|
50
45
|
margin: 0 0 12px;
|
|
51
46
|
}
|
|
52
47
|
|
|
53
48
|
.mat-h6, .mat-typography h6 {
|
|
54
|
-
font: 400 calc(14px * 0.67)/20px Roboto, "Helvetica Neue", sans-serif;
|
|
49
|
+
font: 400 calc(14px * 0.67) / 20px Roboto, "Helvetica Neue", sans-serif;
|
|
55
50
|
margin: 0 0 12px;
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
.mat-body-strong, .mat-body-2 {
|
|
59
|
-
font: 500 14px/24px Roboto, "Helvetica Neue", sans-serif;
|
|
54
|
+
font: 500 14px / 24px Roboto, "Helvetica Neue", sans-serif;
|
|
60
55
|
letter-spacing: normal;
|
|
61
56
|
}
|
|
62
57
|
|
|
63
58
|
.mat-body, .mat-body-1, .mat-typography {
|
|
64
|
-
font: 400 14px/20px Roboto, "Helvetica Neue", sans-serif;
|
|
59
|
+
font: 400 14px / 20px Roboto, "Helvetica Neue", sans-serif;
|
|
65
60
|
letter-spacing: normal;
|
|
66
61
|
}
|
|
67
62
|
.mat-body p, .mat-body-1 p, .mat-typography p {
|
|
@@ -69,36 +64,36 @@
|
|
|
69
64
|
}
|
|
70
65
|
|
|
71
66
|
.mat-small, .mat-caption {
|
|
72
|
-
font: 400 12px/20px Roboto, "Helvetica Neue", sans-serif;
|
|
67
|
+
font: 400 12px / 20px Roboto, "Helvetica Neue", sans-serif;
|
|
73
68
|
letter-spacing: normal;
|
|
74
69
|
}
|
|
75
70
|
|
|
76
71
|
.mat-display-4, .mat-typography .mat-display-4 {
|
|
77
|
-
font: 300 112px/112px Roboto, "Helvetica Neue", sans-serif;
|
|
72
|
+
font: 300 112px / 112px Roboto, "Helvetica Neue", sans-serif;
|
|
78
73
|
letter-spacing: -0.05em;
|
|
79
74
|
margin: 0 0 56px;
|
|
80
75
|
}
|
|
81
76
|
|
|
82
77
|
.mat-display-3, .mat-typography .mat-display-3 {
|
|
83
|
-
font: 400 56px/56px Roboto, "Helvetica Neue", sans-serif;
|
|
78
|
+
font: 400 56px / 56px Roboto, "Helvetica Neue", sans-serif;
|
|
84
79
|
letter-spacing: -0.02em;
|
|
85
80
|
margin: 0 0 64px;
|
|
86
81
|
}
|
|
87
82
|
|
|
88
83
|
.mat-display-2, .mat-typography .mat-display-2 {
|
|
89
|
-
font: 400 45px/48px Roboto, "Helvetica Neue", sans-serif;
|
|
84
|
+
font: 400 45px / 48px Roboto, "Helvetica Neue", sans-serif;
|
|
90
85
|
letter-spacing: -0.005em;
|
|
91
86
|
margin: 0 0 64px;
|
|
92
87
|
}
|
|
93
88
|
|
|
94
89
|
.mat-display-1, .mat-typography .mat-display-1 {
|
|
95
|
-
font: 400 34px/40px Roboto, "Helvetica Neue", sans-serif;
|
|
90
|
+
font: 400 34px / 40px Roboto, "Helvetica Neue", sans-serif;
|
|
96
91
|
letter-spacing: normal;
|
|
97
92
|
margin: 0 0 64px;
|
|
98
93
|
}
|
|
99
94
|
|
|
100
95
|
.mat-bottom-sheet-container {
|
|
101
|
-
font: 400 14px/20px Roboto, "Helvetica Neue", sans-serif;
|
|
96
|
+
font: 400 14px / 20px Roboto, "Helvetica Neue", sans-serif;
|
|
102
97
|
letter-spacing: normal;
|
|
103
98
|
}
|
|
104
99
|
|
|
@@ -181,7 +176,7 @@
|
|
|
181
176
|
}
|
|
182
177
|
|
|
183
178
|
.mat-dialog-title {
|
|
184
|
-
font: 500 20px/32px Roboto, "Helvetica Neue", sans-serif;
|
|
179
|
+
font: 500 20px / 32px Roboto, "Helvetica Neue", sans-serif;
|
|
185
180
|
letter-spacing: normal;
|
|
186
181
|
}
|
|
187
182
|
|
|
@@ -192,7 +187,7 @@
|
|
|
192
187
|
}
|
|
193
188
|
|
|
194
189
|
.mat-expansion-panel-content {
|
|
195
|
-
font: 400 14px/20px Roboto, "Helvetica Neue", sans-serif;
|
|
190
|
+
font: 400 14px / 20px Roboto, "Helvetica Neue", sans-serif;
|
|
196
191
|
letter-spacing: normal;
|
|
197
192
|
}
|
|
198
193
|
|
|
@@ -431,7 +426,7 @@ input.mat-input-element {
|
|
|
431
426
|
.mat-toolbar h4,
|
|
432
427
|
.mat-toolbar h5,
|
|
433
428
|
.mat-toolbar h6 {
|
|
434
|
-
font: 500 20px/32px Roboto, "Helvetica Neue", sans-serif;
|
|
429
|
+
font: 500 20px / 32px Roboto, "Helvetica Neue", sans-serif;
|
|
435
430
|
letter-spacing: normal;
|
|
436
431
|
margin: 0;
|
|
437
432
|
}
|
|
@@ -527,7 +522,7 @@ input.mat-input-element {
|
|
|
527
522
|
}
|
|
528
523
|
|
|
529
524
|
.mat-optgroup-label {
|
|
530
|
-
font: 500 14px/24px Roboto, "Helvetica Neue", sans-serif;
|
|
525
|
+
font: 500 14px / 24px Roboto, "Helvetica Neue", sans-serif;
|
|
531
526
|
letter-spacing: normal;
|
|
532
527
|
}
|
|
533
528
|
|
|
@@ -665,16 +660,6 @@ input.mat-input-element {
|
|
|
665
660
|
overflow-y: scroll;
|
|
666
661
|
}
|
|
667
662
|
|
|
668
|
-
@keyframes cdk-text-field-autofill-start { /*!*/ }
|
|
669
|
-
@keyframes cdk-text-field-autofill-end { /*!*/ }
|
|
670
|
-
.cdk-text-field-autofill-monitored:-webkit-autofill {
|
|
671
|
-
animation: cdk-text-field-autofill-start 0s 1ms;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
|
|
675
|
-
animation: cdk-text-field-autofill-end 0s 1ms;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
663
|
textarea.cdk-textarea-autosize {
|
|
679
664
|
resize: none;
|
|
680
665
|
}
|
|
@@ -692,6 +677,16 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
692
677
|
height: 0 !important;
|
|
693
678
|
}
|
|
694
679
|
|
|
680
|
+
@keyframes cdk-text-field-autofill-start { /*!*/ }
|
|
681
|
+
@keyframes cdk-text-field-autofill-end { /*!*/ }
|
|
682
|
+
.cdk-text-field-autofill-monitored:-webkit-autofill {
|
|
683
|
+
animation: cdk-text-field-autofill-start 0s 1ms;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
|
|
687
|
+
animation: cdk-text-field-autofill-end 0s 1ms;
|
|
688
|
+
}
|
|
689
|
+
|
|
695
690
|
.mat-focus-indicator {
|
|
696
691
|
position: relative;
|
|
697
692
|
}
|
|
@@ -897,25 +892,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
897
892
|
color: rgba(0, 0, 0, 0.87);
|
|
898
893
|
}
|
|
899
894
|
|
|
900
|
-
.mat-badge-content {
|
|
901
|
-
color: white;
|
|
902
|
-
background: #1b68fa;
|
|
903
|
-
}
|
|
904
|
-
.cdk-high-contrast-active .mat-badge-content {
|
|
905
|
-
outline: solid 1px;
|
|
906
|
-
border-radius: 0;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
.mat-badge-accent .mat-badge-content {
|
|
910
|
-
background: #59b96b;
|
|
911
|
-
color: white;
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
.mat-badge-warn .mat-badge-content {
|
|
915
|
-
color: white;
|
|
916
|
-
background: #d9534b;
|
|
917
|
-
}
|
|
918
|
-
|
|
919
895
|
.mat-badge {
|
|
920
896
|
position: relative;
|
|
921
897
|
}
|
|
@@ -924,11 +900,6 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
924
900
|
display: none;
|
|
925
901
|
}
|
|
926
902
|
|
|
927
|
-
.mat-badge-disabled .mat-badge-content {
|
|
928
|
-
background: #b9b9b9;
|
|
929
|
-
color: rgba(0, 0, 0, 0.38);
|
|
930
|
-
}
|
|
931
|
-
|
|
932
903
|
.mat-badge-content {
|
|
933
904
|
position: absolute;
|
|
934
905
|
text-align: center;
|
|
@@ -1071,6 +1042,30 @@ textarea.cdk-textarea-autosize-measuring-firefox {
|
|
|
1071
1042
|
left: -14px;
|
|
1072
1043
|
}
|
|
1073
1044
|
|
|
1045
|
+
.mat-badge-content {
|
|
1046
|
+
color: white;
|
|
1047
|
+
background: #1b68fa;
|
|
1048
|
+
}
|
|
1049
|
+
.cdk-high-contrast-active .mat-badge-content {
|
|
1050
|
+
outline: solid 1px;
|
|
1051
|
+
border-radius: 0;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.mat-badge-accent .mat-badge-content {
|
|
1055
|
+
background: #59b96b;
|
|
1056
|
+
color: white;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.mat-badge-warn .mat-badge-content {
|
|
1060
|
+
color: white;
|
|
1061
|
+
background: #d9534b;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.mat-badge-disabled .mat-badge-content {
|
|
1065
|
+
background: #b9b9b9;
|
|
1066
|
+
color: rgba(0, 0, 0, 0.38);
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1074
1069
|
.mat-bottom-sheet-container {
|
|
1075
1070
|
box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);
|
|
1076
1071
|
background: white;
|
|
@@ -1405,14 +1400,11 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
1405
1400
|
color: rgba(0, 0, 0, 0.54);
|
|
1406
1401
|
}
|
|
1407
1402
|
|
|
1408
|
-
.mat-calendar-table-header {
|
|
1409
|
-
color: rgba(0, 0, 0, 0.38);
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
1403
|
.mat-calendar-table-header-divider::after {
|
|
1413
1404
|
background: rgba(0, 0, 0, 0.12);
|
|
1414
1405
|
}
|
|
1415
1406
|
|
|
1407
|
+
.mat-calendar-table-header,
|
|
1416
1408
|
.mat-calendar-body-label {
|
|
1417
1409
|
color: rgba(0, 0, 0, 0.54);
|
|
1418
1410
|
}
|
|
@@ -1574,7 +1566,7 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
1574
1566
|
}
|
|
1575
1567
|
|
|
1576
1568
|
.mat-datepicker-content-touch {
|
|
1577
|
-
box-shadow: 0px
|
|
1569
|
+
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
|
|
1578
1570
|
}
|
|
1579
1571
|
|
|
1580
1572
|
.mat-datepicker-toggle-active {
|
|
@@ -1862,13 +1854,14 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
1862
1854
|
background: transparent;
|
|
1863
1855
|
color: rgba(0, 0, 0, 0.87);
|
|
1864
1856
|
}
|
|
1865
|
-
.mat-menu-item[disabled],
|
|
1857
|
+
.mat-menu-item[disabled],
|
|
1858
|
+
.mat-menu-item[disabled] .mat-menu-submenu-icon,
|
|
1866
1859
|
.mat-menu-item[disabled] .mat-icon-no-color {
|
|
1867
1860
|
color: rgba(0, 0, 0, 0.38);
|
|
1868
1861
|
}
|
|
1869
1862
|
|
|
1870
1863
|
.mat-menu-item .mat-icon-no-color,
|
|
1871
|
-
.mat-menu-
|
|
1864
|
+
.mat-menu-submenu-icon {
|
|
1872
1865
|
color: rgba(0, 0, 0, 0.54);
|
|
1873
1866
|
}
|
|
1874
1867
|
|
|
@@ -1911,11 +1904,11 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
1911
1904
|
}
|
|
1912
1905
|
|
|
1913
1906
|
.mat-progress-bar-background {
|
|
1914
|
-
fill: #
|
|
1907
|
+
fill: #c2d6fa;
|
|
1915
1908
|
}
|
|
1916
1909
|
|
|
1917
1910
|
.mat-progress-bar-buffer {
|
|
1918
|
-
background-color: #
|
|
1911
|
+
background-color: #c2d6fa;
|
|
1919
1912
|
}
|
|
1920
1913
|
|
|
1921
1914
|
.mat-progress-bar-fill::after {
|
|
@@ -1923,20 +1916,20 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
1923
1916
|
}
|
|
1924
1917
|
|
|
1925
1918
|
.mat-progress-bar.mat-accent .mat-progress-bar-background {
|
|
1926
|
-
fill: #
|
|
1919
|
+
fill: #d2ead6;
|
|
1927
1920
|
}
|
|
1928
1921
|
.mat-progress-bar.mat-accent .mat-progress-bar-buffer {
|
|
1929
|
-
background-color: #
|
|
1922
|
+
background-color: #d2ead6;
|
|
1930
1923
|
}
|
|
1931
1924
|
.mat-progress-bar.mat-accent .mat-progress-bar-fill::after {
|
|
1932
1925
|
background-color: #59b96b;
|
|
1933
1926
|
}
|
|
1934
1927
|
|
|
1935
1928
|
.mat-progress-bar.mat-warn .mat-progress-bar-background {
|
|
1936
|
-
fill: #
|
|
1929
|
+
fill: #f2d0ce;
|
|
1937
1930
|
}
|
|
1938
1931
|
.mat-progress-bar.mat-warn .mat-progress-bar-buffer {
|
|
1939
|
-
background-color: #
|
|
1932
|
+
background-color: #f2d0ce;
|
|
1940
1933
|
}
|
|
1941
1934
|
.mat-progress-bar.mat-warn .mat-progress-bar-fill::after {
|
|
1942
1935
|
background-color: #d9534b;
|
|
@@ -2152,7 +2145,7 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2152
2145
|
}
|
|
2153
2146
|
|
|
2154
2147
|
.mat-slider:hover .mat-slider-track-background,
|
|
2155
|
-
.cdk-focused .mat-slider-track-background {
|
|
2148
|
+
.mat-slider.cdk-focused .mat-slider-track-background {
|
|
2156
2149
|
background-color: rgba(0, 0, 0, 0.38);
|
|
2157
2150
|
}
|
|
2158
2151
|
|
|
@@ -2200,9 +2193,12 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2200
2193
|
background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);
|
|
2201
2194
|
}
|
|
2202
2195
|
|
|
2203
|
-
.mat-step-header.cdk-keyboard-focused, .mat-step-header.cdk-program-focused, .mat-step-header:hover {
|
|
2196
|
+
.mat-step-header.cdk-keyboard-focused, .mat-step-header.cdk-program-focused, .mat-step-header:hover:not([aria-disabled]), .mat-step-header:hover[aria-disabled=false] {
|
|
2204
2197
|
background-color: rgba(0, 0, 0, 0.04);
|
|
2205
2198
|
}
|
|
2199
|
+
.mat-step-header:hover[aria-disabled=true] {
|
|
2200
|
+
cursor: default;
|
|
2201
|
+
}
|
|
2206
2202
|
@media (hover: none) {
|
|
2207
2203
|
.mat-step-header:hover {
|
|
2208
2204
|
background: none;
|
|
@@ -2317,7 +2313,7 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2317
2313
|
border-color: rgba(0, 0, 0, 0.38);
|
|
2318
2314
|
}
|
|
2319
2315
|
|
|
2320
|
-
.mat-tab-group[class*=mat-background-] .mat-tab-header,
|
|
2316
|
+
.mat-tab-group[class*=mat-background-] > .mat-tab-header,
|
|
2321
2317
|
.mat-tab-nav-bar[class*=mat-background-] {
|
|
2322
2318
|
border-bottom: none;
|
|
2323
2319
|
border-top: none;
|
|
@@ -2378,20 +2374,28 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2378
2374
|
.mat-tab-group.mat-background-primary > .mat-tab-header .mat-tab-label.mat-tab-disabled, .mat-tab-group.mat-background-primary > .mat-tab-link-container .mat-tab-link.mat-tab-disabled, .mat-tab-nav-bar.mat-background-primary > .mat-tab-header .mat-tab-label.mat-tab-disabled, .mat-tab-nav-bar.mat-background-primary > .mat-tab-link-container .mat-tab-link.mat-tab-disabled {
|
|
2379
2375
|
color: rgba(255, 255, 255, 0.4);
|
|
2380
2376
|
}
|
|
2377
|
+
.mat-tab-group.mat-background-primary > .mat-tab-header .mat-tab-header-pagination-chevron,
|
|
2381
2378
|
.mat-tab-group.mat-background-primary > .mat-tab-header-pagination .mat-tab-header-pagination-chevron,
|
|
2382
|
-
.mat-tab-group.mat-background-primary > .mat-tab-
|
|
2383
|
-
.mat-tab-group.mat-background-primary > .mat-tab-header .mat-focus-indicator::before, .mat-tab-nav-bar.mat-background-primary > .mat-tab-header
|
|
2384
|
-
.mat-tab-nav-bar.mat-background-primary > .mat-tab-
|
|
2379
|
+
.mat-tab-group.mat-background-primary > .mat-tab-link-container .mat-focus-indicator::before,
|
|
2380
|
+
.mat-tab-group.mat-background-primary > .mat-tab-header .mat-focus-indicator::before, .mat-tab-nav-bar.mat-background-primary > .mat-tab-header .mat-tab-header-pagination-chevron,
|
|
2381
|
+
.mat-tab-nav-bar.mat-background-primary > .mat-tab-header-pagination .mat-tab-header-pagination-chevron,
|
|
2382
|
+
.mat-tab-nav-bar.mat-background-primary > .mat-tab-link-container .mat-focus-indicator::before,
|
|
2385
2383
|
.mat-tab-nav-bar.mat-background-primary > .mat-tab-header .mat-focus-indicator::before {
|
|
2386
2384
|
border-color: white;
|
|
2387
2385
|
}
|
|
2388
|
-
.mat-tab-group.mat-background-primary > .mat-tab-header
|
|
2389
|
-
|
|
2386
|
+
.mat-tab-group.mat-background-primary > .mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,
|
|
2387
|
+
.mat-tab-group.mat-background-primary > .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-primary > .mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,
|
|
2388
|
+
.mat-tab-nav-bar.mat-background-primary > .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {
|
|
2389
|
+
border-color: white;
|
|
2390
|
+
opacity: 0.4;
|
|
2390
2391
|
}
|
|
2391
2392
|
.mat-tab-group.mat-background-primary > .mat-tab-header .mat-ripple-element,
|
|
2392
|
-
.mat-tab-group.mat-background-primary > .mat-tab-link-container .mat-ripple-element,
|
|
2393
|
-
.mat-tab-nav-bar.mat-background-primary > .mat-tab-
|
|
2394
|
-
|
|
2393
|
+
.mat-tab-group.mat-background-primary > .mat-tab-link-container .mat-ripple-element,
|
|
2394
|
+
.mat-tab-group.mat-background-primary > .mat-tab-header-pagination .mat-ripple-element, .mat-tab-nav-bar.mat-background-primary > .mat-tab-header .mat-ripple-element,
|
|
2395
|
+
.mat-tab-nav-bar.mat-background-primary > .mat-tab-link-container .mat-ripple-element,
|
|
2396
|
+
.mat-tab-nav-bar.mat-background-primary > .mat-tab-header-pagination .mat-ripple-element {
|
|
2397
|
+
background-color: white;
|
|
2398
|
+
opacity: 0.12;
|
|
2395
2399
|
}
|
|
2396
2400
|
.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled), .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),
|
|
2397
2401
|
.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),
|
|
@@ -2409,20 +2413,28 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2409
2413
|
.mat-tab-group.mat-background-accent > .mat-tab-header .mat-tab-label.mat-tab-disabled, .mat-tab-group.mat-background-accent > .mat-tab-link-container .mat-tab-link.mat-tab-disabled, .mat-tab-nav-bar.mat-background-accent > .mat-tab-header .mat-tab-label.mat-tab-disabled, .mat-tab-nav-bar.mat-background-accent > .mat-tab-link-container .mat-tab-link.mat-tab-disabled {
|
|
2410
2414
|
color: rgba(255, 255, 255, 0.4);
|
|
2411
2415
|
}
|
|
2416
|
+
.mat-tab-group.mat-background-accent > .mat-tab-header .mat-tab-header-pagination-chevron,
|
|
2412
2417
|
.mat-tab-group.mat-background-accent > .mat-tab-header-pagination .mat-tab-header-pagination-chevron,
|
|
2413
|
-
.mat-tab-group.mat-background-accent > .mat-tab-
|
|
2414
|
-
.mat-tab-group.mat-background-accent > .mat-tab-header .mat-focus-indicator::before, .mat-tab-nav-bar.mat-background-accent > .mat-tab-header
|
|
2415
|
-
.mat-tab-nav-bar.mat-background-accent > .mat-tab-
|
|
2418
|
+
.mat-tab-group.mat-background-accent > .mat-tab-link-container .mat-focus-indicator::before,
|
|
2419
|
+
.mat-tab-group.mat-background-accent > .mat-tab-header .mat-focus-indicator::before, .mat-tab-nav-bar.mat-background-accent > .mat-tab-header .mat-tab-header-pagination-chevron,
|
|
2420
|
+
.mat-tab-nav-bar.mat-background-accent > .mat-tab-header-pagination .mat-tab-header-pagination-chevron,
|
|
2421
|
+
.mat-tab-nav-bar.mat-background-accent > .mat-tab-link-container .mat-focus-indicator::before,
|
|
2416
2422
|
.mat-tab-nav-bar.mat-background-accent > .mat-tab-header .mat-focus-indicator::before {
|
|
2417
2423
|
border-color: white;
|
|
2418
2424
|
}
|
|
2419
|
-
.mat-tab-group.mat-background-accent > .mat-tab-header
|
|
2420
|
-
|
|
2425
|
+
.mat-tab-group.mat-background-accent > .mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,
|
|
2426
|
+
.mat-tab-group.mat-background-accent > .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-accent > .mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,
|
|
2427
|
+
.mat-tab-nav-bar.mat-background-accent > .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {
|
|
2428
|
+
border-color: white;
|
|
2429
|
+
opacity: 0.4;
|
|
2421
2430
|
}
|
|
2422
2431
|
.mat-tab-group.mat-background-accent > .mat-tab-header .mat-ripple-element,
|
|
2423
|
-
.mat-tab-group.mat-background-accent > .mat-tab-link-container .mat-ripple-element,
|
|
2424
|
-
.mat-tab-nav-bar.mat-background-accent > .mat-tab-
|
|
2425
|
-
|
|
2432
|
+
.mat-tab-group.mat-background-accent > .mat-tab-link-container .mat-ripple-element,
|
|
2433
|
+
.mat-tab-group.mat-background-accent > .mat-tab-header-pagination .mat-ripple-element, .mat-tab-nav-bar.mat-background-accent > .mat-tab-header .mat-ripple-element,
|
|
2434
|
+
.mat-tab-nav-bar.mat-background-accent > .mat-tab-link-container .mat-ripple-element,
|
|
2435
|
+
.mat-tab-nav-bar.mat-background-accent > .mat-tab-header-pagination .mat-ripple-element {
|
|
2436
|
+
background-color: white;
|
|
2437
|
+
opacity: 0.12;
|
|
2426
2438
|
}
|
|
2427
2439
|
.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled), .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),
|
|
2428
2440
|
.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),
|
|
@@ -2440,20 +2452,28 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2440
2452
|
.mat-tab-group.mat-background-warn > .mat-tab-header .mat-tab-label.mat-tab-disabled, .mat-tab-group.mat-background-warn > .mat-tab-link-container .mat-tab-link.mat-tab-disabled, .mat-tab-nav-bar.mat-background-warn > .mat-tab-header .mat-tab-label.mat-tab-disabled, .mat-tab-nav-bar.mat-background-warn > .mat-tab-link-container .mat-tab-link.mat-tab-disabled {
|
|
2441
2453
|
color: rgba(255, 255, 255, 0.4);
|
|
2442
2454
|
}
|
|
2455
|
+
.mat-tab-group.mat-background-warn > .mat-tab-header .mat-tab-header-pagination-chevron,
|
|
2443
2456
|
.mat-tab-group.mat-background-warn > .mat-tab-header-pagination .mat-tab-header-pagination-chevron,
|
|
2444
|
-
.mat-tab-group.mat-background-warn > .mat-tab-
|
|
2445
|
-
.mat-tab-group.mat-background-warn > .mat-tab-header .mat-focus-indicator::before, .mat-tab-nav-bar.mat-background-warn > .mat-tab-header
|
|
2446
|
-
.mat-tab-nav-bar.mat-background-warn > .mat-tab-
|
|
2457
|
+
.mat-tab-group.mat-background-warn > .mat-tab-link-container .mat-focus-indicator::before,
|
|
2458
|
+
.mat-tab-group.mat-background-warn > .mat-tab-header .mat-focus-indicator::before, .mat-tab-nav-bar.mat-background-warn > .mat-tab-header .mat-tab-header-pagination-chevron,
|
|
2459
|
+
.mat-tab-nav-bar.mat-background-warn > .mat-tab-header-pagination .mat-tab-header-pagination-chevron,
|
|
2460
|
+
.mat-tab-nav-bar.mat-background-warn > .mat-tab-link-container .mat-focus-indicator::before,
|
|
2447
2461
|
.mat-tab-nav-bar.mat-background-warn > .mat-tab-header .mat-focus-indicator::before {
|
|
2448
2462
|
border-color: white;
|
|
2449
2463
|
}
|
|
2450
|
-
.mat-tab-group.mat-background-warn > .mat-tab-header
|
|
2451
|
-
|
|
2464
|
+
.mat-tab-group.mat-background-warn > .mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,
|
|
2465
|
+
.mat-tab-group.mat-background-warn > .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron, .mat-tab-nav-bar.mat-background-warn > .mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,
|
|
2466
|
+
.mat-tab-nav-bar.mat-background-warn > .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron {
|
|
2467
|
+
border-color: white;
|
|
2468
|
+
opacity: 0.4;
|
|
2452
2469
|
}
|
|
2453
2470
|
.mat-tab-group.mat-background-warn > .mat-tab-header .mat-ripple-element,
|
|
2454
|
-
.mat-tab-group.mat-background-warn > .mat-tab-link-container .mat-ripple-element,
|
|
2455
|
-
.mat-tab-nav-bar.mat-background-warn > .mat-tab-
|
|
2456
|
-
|
|
2471
|
+
.mat-tab-group.mat-background-warn > .mat-tab-link-container .mat-ripple-element,
|
|
2472
|
+
.mat-tab-group.mat-background-warn > .mat-tab-header-pagination .mat-ripple-element, .mat-tab-nav-bar.mat-background-warn > .mat-tab-header .mat-ripple-element,
|
|
2473
|
+
.mat-tab-nav-bar.mat-background-warn > .mat-tab-link-container .mat-ripple-element,
|
|
2474
|
+
.mat-tab-nav-bar.mat-background-warn > .mat-tab-header-pagination .mat-ripple-element {
|
|
2475
|
+
background-color: white;
|
|
2476
|
+
opacity: 0.12;
|
|
2457
2477
|
}
|
|
2458
2478
|
|
|
2459
2479
|
.mat-toolbar {
|
|
@@ -2738,7 +2758,7 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2738
2758
|
}
|
|
2739
2759
|
|
|
2740
2760
|
.mat-slider:hover .mat-slider-track-background,
|
|
2741
|
-
.cdk-focused .mat-slider-track-background {
|
|
2761
|
+
.mat-slider.cdk-focused .mat-slider-track-background {
|
|
2742
2762
|
background-color: rgba(0, 0, 0, 0.38);
|
|
2743
2763
|
}
|
|
2744
2764
|
|
|
@@ -2786,11 +2806,6 @@ th.mat-header-cell, td.mat-cell, td.mat-footer-cell {
|
|
|
2786
2806
|
background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 2px, transparent 0, transparent);
|
|
2787
2807
|
}
|
|
2788
2808
|
|
|
2789
|
-
/* Colors for the ripple elements.*/
|
|
2790
|
-
/* stylelint-disable-next-line material/theme-mixin-api */
|
|
2791
|
-
/* stylelint-disable-next-line material/theme-mixin-api */
|
|
2792
|
-
/* stylelint-disable material/no-prefixes */
|
|
2793
|
-
/* stylelint-enable */
|
|
2794
2809
|
.white {
|
|
2795
2810
|
color: #ffffff !important;
|
|
2796
2811
|
}
|
|
@@ -3630,11 +3645,6 @@ html, body {
|
|
|
3630
3645
|
height: 100%;
|
|
3631
3646
|
}
|
|
3632
3647
|
|
|
3633
|
-
/* Colors for the ripple elements.*/
|
|
3634
|
-
/* stylelint-disable-next-line material/theme-mixin-api */
|
|
3635
|
-
/* stylelint-disable-next-line material/theme-mixin-api */
|
|
3636
|
-
/* stylelint-disable material/no-prefixes */
|
|
3637
|
-
/* stylelint-enable */
|
|
3638
3648
|
.white {
|
|
3639
3649
|
color: #ffffff !important;
|
|
3640
3650
|
}
|
package/styles.scss
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
|
|
20
20
|
// Override accent color in some components
|
|
21
21
|
// mat.$mat-theme-ignore-duplication-warnings: true;
|
|
22
|
-
@include mat.mat-checkbox-
|
|
22
|
+
@include mat.mat-checkbox-color(theme.$vision-accent-override);
|
|
23
23
|
@include mat.mat-pseudo-checkbox-color(theme.$vision-accent-override); // within lists and stuff
|
|
24
24
|
@include mat.mat-radio-theme(theme.$vision-accent-override);
|
|
25
|
-
@include mat.mat-slide-toggle-
|
|
26
|
-
@include mat.mat-slider-
|
|
25
|
+
@include mat.mat-slide-toggle-color(theme.$vision-accent-override);
|
|
26
|
+
@include mat.mat-slider-color(theme.$vision-accent-override);
|
|
27
27
|
|
|
28
28
|
// Config
|
|
29
29
|
@import './scss/config/colors';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("zone.js/dist/zone"),require("document-register-element"),require("@angular/core"),require("@angular/elements"),require("@angular/platform-browser"),require("@angular/platform-browser/animations"),require("@angular/platform-browser-dynamic")):"function"==typeof define&&define.amd?define("@flywheel-io/vision/elements",["exports","zone.js/dist/zone","document-register-element","@angular/core","@angular/elements","@angular/platform-browser","@angular/platform-browser/animations","@angular/platform-browser-dynamic"],r):r(((e="undefined"!=typeof globalThis?globalThis:e||self)["flywheel-io"]=e["flywheel-io"]||{},e["flywheel-io"].vision=e["flywheel-io"].vision||{},e["flywheel-io"].vision.elements={}),null,null,e.ng.core,e.ng.elements,e.ng.platformBrowser,e.ng.platformBrowser.animations,e.ng.platformBrowserDynamic)}(this,(function(e,r,n,o,t,i,l,a){"use strict";Object.create;function u(e){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&e[r],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}var s;Object.create;var c,f=function(){function e(e,r){this.compiler=e,this.injector=r,s=this}return e.prototype.ngDoBootstrap=function(){},e}();function m(){return o.enableProdMode(),a.platformBrowserDynamic().bootstrapModule(f).catch((function(e){throw console.error(e),e})).then((function(){}))}f.decorators=[{type:o.NgModule,args:[{imports:[l.BrowserAnimationsModule,i.BrowserModule]}]}],f.ctorParameters=function(){return[{type:o.Compiler},{type:o.Injector}]},e.registerElements=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];c||(c=m());var n=[];return c.then((function(){return Promise.all(e.map((function(e){return s.compiler.compileModuleAndAllComponentsAsync(e).then((function(e){var r,o,i=e.ngModuleFactory.create(s.injector);try{for(var l=u(e.componentFactories),a=l.next();!a.done;a=l.next()){var c=a.value,f=c.selector,m=c.componentType;if(f.startsWith("fw-")){var p=t.createCustomElement(m,{injector:i.injector});customElements.define(f,p),n.push(f)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}))})))})).then((function(){return n}))},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
|
-
//# sourceMappingURL=flywheel-io-vision-elements.umd.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","../../../elements/src/elements.ts"],"names":["Object","create","__values","o","s","Symbol","iterator","m","i","call","length","next","value","done","TypeError","elementAppModule","initPromise","ElementAppModule","compiler","injector","this","prototype","ngDoBootstrap","initializeApp","enableProdMode","platformBrowserDynamic","bootstrapModule","catch","error","console","then","NgModule","args","imports","BrowserAnimationsModule","BrowserModule","Compiler","Injector","modules","_i","arguments","elementSelectors","Promise","all","map","module","compileModuleAndAllComponentsAsync","compiledModule","moduleRef","ngModuleFactory","_b","componentFactories","_c","_d","selector","componentType","startsWith","element","createCustomElement","customElements","define","push"],"mappings":"u7BA2G6BA,OAAOC,gBAgBpBC,EAASC,GACrB,IAAIC,EAAsB,mBAAXC,QAAyBA,OAAOC,SAAUC,EAAIH,GAAKD,EAAEC,GAAII,EAAI,EAC5E,GAAID,EAAG,OAAOA,EAAEE,KAAKN,GACrB,GAAIA,GAAyB,iBAAbA,EAAEO,OAAqB,MAAO,CAC1CC,KAAM,WAEF,OADIR,GAAKK,GAAKL,EAAEO,SAAQP,OAAI,GACrB,CAAES,MAAOT,GAAKA,EAAEK,KAAMK,MAAOV,KAG5C,MAAM,IAAIW,UAAUV,EAAI,0BAA4B,mCAiFxD,IC9MIW,ED8MqBf,OAAOC,OC5MhC,IA0BIe,EA1BJC,EAAA,WAOE,SAAAA,EACSC,EACAC,GADAC,KAAAF,SAAAA,EACAE,KAAAD,SAAAA,EAEPJ,EAAmBK,YAGrBH,EAAAI,UAAAC,cAAA,eAdF,GAiBA,SAASC,IAEP,OADAC,EAAAA,iBACOC,EAAAA,yBAAyBC,gBAAgBT,GAC7CU,OAAM,SAAAC,GAEL,MADAC,QAAQD,MAAMA,GACRA,KACLE,MAAK,mCAvBXC,EAAAA,SAAQC,KAAA,CAAC,CACRC,QAAS,CACPC,EAAAA,wBACAC,EAAAA,4DAXKC,EAAAA,gBAAuCC,EAAAA,8CAqCf,IAAAC,EAAA,GAAAC,EAAA,EAAAA,EAAAC,UAAA9B,OAAA6B,IAAAD,EAAAC,GAAAC,UAAAD,GAC1BvB,IACHA,EAAcO,KAEhB,IAAMkB,EAAmB,GACzB,OAAOzB,EAAYc,MAAK,WAAM,OAAAY,QAAQC,IAAIL,EAAQM,KAAI,SAAAC,GACpD,OAAO9B,EAAiBG,SAAS4B,mCAAmCD,GAAQf,MAAK,SAAAiB,WACzEC,EAAYD,EAAeE,gBAAgBhD,OAAOc,EAAiBI,cACzE,IAA0C,IAAA+B,EAAAhD,EAAA6C,EAAeI,oBAAkBC,EAAAF,EAAAvC,QAAAyC,EAAAvC,KAAAuC,EAAAF,EAAAvC,OAAE,CAAlE,IAAA0C,EAAAD,EAAAxC,MAAE0C,EAAQD,EAAAC,SAAEC,EAAaF,EAAAE,cAClC,GAAID,EAASE,WAAW,OAAQ,CAC9B,IAAMC,EAAUC,EAAAA,oBAAoBH,EAAe,CAAEpC,SAAU6B,EAAU7B,WACzEwC,eAAeC,OAAON,EAAUG,GAChChB,EAAiBoB,KAAKP,iHAIzBxB,MAAK,WAAM,OAAAW","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import './polyfills';\nimport { Compiler, DoBootstrap, enableProdMode, Injector, NgModule, Type } from '@angular/core';\nimport { createCustomElement } from '@angular/elements';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nlet elementAppModule: ElementAppModule;\n\n@NgModule({\n imports: [\n BrowserAnimationsModule,\n BrowserModule,\n ],\n})\nclass ElementAppModule implements DoBootstrap {\n constructor(\n public compiler: Compiler,\n public injector: Injector,\n ) {\n elementAppModule = this;\n }\n\n ngDoBootstrap(): void {}\n}\n\nfunction initializeApp(): Promise<void> {\n enableProdMode();\n return platformBrowserDynamic().bootstrapModule(ElementAppModule)\n .catch(error => {\n console.error(error);\n throw error;\n }).then(() => void 0);\n}\n\nlet initPromise: Promise<void>;\n\n// https://github.com/angular/angular/blob/a92a89b0eb127a59d7e071502b5850e57618ec2d/aio/src/app/custom-elements/elements-loader.ts#L70\nexport function registerElements(...modules: Type<unknown>[]): Promise<string[]> {\n if (!initPromise) {\n initPromise = initializeApp();\n }\n const elementSelectors = [];\n return initPromise.then(() => Promise.all(modules.map(module => {\n return elementAppModule.compiler.compileModuleAndAllComponentsAsync(module).then(compiledModule => {\n const moduleRef = compiledModule.ngModuleFactory.create(elementAppModule.injector);\n for (const { selector, componentType } of compiledModule.componentFactories) {\n if (selector.startsWith('fw-')) {\n const element = createCustomElement(componentType, { injector: moduleRef.injector });\n customElements.define(selector, element);\n elementSelectors.push(selector);\n }\n }\n });\n }))).then(() => elementSelectors);\n}\n"]}
|