carriera-intern-components 1.1.15 → 1.1.21
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/app/components/avatar/avatar.component.d.ts +2 -2
- package/app/components/avatar/models/avatar.model.d.ts +12 -5
- package/app/components/avatar/pipes/initials.pipe.d.ts +5 -1
- package/app/components/copy/copy.component.d.ts +23 -0
- package/app/components/document-preview/document-preview.component.d.ts +15 -6
- package/app/components/document-preview/interfaces/document-tag.interface.d.ts +4 -0
- package/app/components/document-preview/interfaces/index.d.ts +1 -0
- package/app/components/drop-zone/drop-zone.component.d.ts +58 -33
- package/app/components/drop-zone/models/file.response.d.ts +10 -0
- package/app/components/input/directives/helpers/index.d.ts +1 -0
- package/app/components/input/directives/helpers/mask.helper.d.ts +15 -0
- package/app/components/input/directives/mask.directive.d.ts +2 -16
- package/app/components/input/directives/number-format.directive.d.ts +6 -1
- package/app/components/input/directives/password.directive.d.ts +3 -1
- package/app/components/input/input.component.d.ts +49 -4
- package/app/components/input/models/dropdown.model.d.ts +23 -2
- package/app/components/input/models/input.model.d.ts +21 -7
- package/app/components/input/pipes/filter-by-search.pipe.d.ts +1 -1
- package/app/components/input-address/enums/input-address-layers-string.enum.d.ts +4 -0
- package/app/components/input-address/enums/input-address-type-string.enum.d.ts +5 -0
- package/app/components/input-address/input-address.component.d.ts +67 -0
- package/app/components/input-address/models/address-data.model.d.ts +19 -0
- package/app/components/input-address/models/address-list.model.d.ts +6 -0
- package/app/components/input-address/models/long-lat.model.d.ts +4 -0
- package/app/components/input-address/models/sent-address-data.model.d.ts +22 -0
- package/app/components/input-datetime-picker/cai-input-datetime-picker.component.d.ts +8 -4
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/cai-custom-datetime-pickers.component.d.ts +3 -3
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-dates-main/cai-custom-datetime-pickers-calendar-dates-main.component.d.ts +1 -1
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-days/cai-custom-datetime-pickers-calendar-days.component.d.ts +1 -1
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-calendar-left/cai-custom-datetime-pickers-calendar-left.component.d.ts +1 -1
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/components/cai-custom-datetime-pickers-date-calendars/cai-custom-datetime-pickers-date-calendars.component.d.ts +2 -2
- package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/cai-input.config.d.ts +1 -0
- package/app/components/input-datetime-picker/interfaces/index.d.ts +1 -0
- package/app/components/input-datetime-picker/interfaces/input-datetime.interface.d.ts +8 -0
- package/app/components/pm/pm.component.d.ts +29 -12
- package/app/components/selected-location-field/interfaces/index.d.ts +1 -0
- package/app/components/selected-location-field/interfaces/selected-business-field.interface.d.ts +11 -0
- package/app/components/selected-location-field/selected-business-field.component.d.ts +12 -0
- package/app/directives/infinite-scroll.directive.d.ts +16 -0
- package/app/directives/intersection-observer.directive.d.ts +15 -0
- package/app/enums/alignment.enum.d.ts +4 -0
- package/app/enums/index.d.ts +3 -0
- package/app/enums/string-placeholder.enum.d.ts +3 -0
- package/app/models/appFile.model.d.ts +3 -1
- package/app/utils/constants/index.d.ts +1 -0
- package/app/utils/constants/input-character-sets.constants.d.ts +18 -0
- package/app/utils/index.d.ts +1 -0
- package/fesm2022/carriera-intern-components.mjs +1874 -884
- package/fesm2022/carriera-intern-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public/assets/icons/cai-edit.svg +3 -3
- package/public/assets/icons/cai-loader.svg +3 -0
- package/public/assets/icons/fuel-contact/cai-fuel-card.svg +3 -0
- package/public/assets/icons/fuel-contact/cai-user-2.svg +3 -0
- package/public/assets/icons/general/cai-date.svg +1 -1
- package/public/assets/icons/integration/cai-efs.svg +4 -0
- package/public/assets/icons/interaction/cai-copy.svg +3 -0
- package/public/assets/icons/interaction/cai-favorite.svg +3 -0
- package/public/assets/icons/interaction/cai_time.svg +1 -1
- package/public/assets/json/icons.json +24 -0
- package/public/pdfjs/pdf.worker.min.mjs +30 -0
- package/public-api.d.ts +9 -3
- package/src/styles/README.md +57 -0
- package/src/styles/_variables.scss +288 -0
- package/src/styles/cropper.scss +33 -0
- package/src/styles/custompickers.scss +822 -0
- package/src/styles/popover.scss +18 -0
- package/src/styles/review_variables.scss +40 -0
- package/src/styles/tooltip.scss +85 -0
- package/src/styles/utility/colors.scss +265 -0
- package/src/styles/utility/utilities.scss +6 -0
- package/src/styles.scss +6 -69
- package/app/components/input-datetime-picker/pipes/input-clear-class.pipe.d.ts +0 -14
- package/app/components/input-datetime-picker/pipes/input-date-time-container-class.pipe.d.ts +0 -11
- package/app/components/input-datetime-picker/pipes/input-dropdown-arrow-class.pipe.d.ts +0 -11
- package/app/components/input-datetime-picker/pipes/input-placeholder-icon.class.pipe.d.ts +0 -11
- package/app/components/input-datetime-picker/pipes/show-clear.pipe.d.ts +0 -8
- package/app/directives/hover-svg-directives.d.ts +0 -15
- package/app/directives/index.d.ts +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import "variables";
|
|
2
|
+
|
|
3
|
+
.tagPopover {
|
|
4
|
+
font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system,
|
|
5
|
+
BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
|
|
6
|
+
"Apple Color Emoji", "Segoe UI Emoji" !important;
|
|
7
|
+
--bs-body-bg: #2f2f2f !important;
|
|
8
|
+
border: none !important;
|
|
9
|
+
|
|
10
|
+
.popover-arrow {
|
|
11
|
+
display: none !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.popover-body {
|
|
15
|
+
border-radius: 3px;
|
|
16
|
+
padding: 0px !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
$color-span: #F77D3B;
|
|
2
|
+
$color-negative: #DF3C3C;
|
|
3
|
+
$color-like: #56B4AC;
|
|
4
|
+
$color-dislike: #E66767;
|
|
5
|
+
$color-trash-fill: #C20C0C;
|
|
6
|
+
$color-trash-background: #F4BEBE;
|
|
7
|
+
$color-tooltip: rgba(66, 66, 66, 1);
|
|
8
|
+
$color-divider: #DADADA;
|
|
9
|
+
|
|
10
|
+
$color-light-blue: #92B1F5;
|
|
11
|
+
$color-blue: #3B73ED;
|
|
12
|
+
$color-blue-transparent: #3b73ed3f;
|
|
13
|
+
|
|
14
|
+
$color-icon-base: #6692F1;
|
|
15
|
+
$color-icon-base-hover: #0B49D1;
|
|
16
|
+
$color-icon-black: #6C6C6C;
|
|
17
|
+
$color-review-icon-dark: #919191;
|
|
18
|
+
$color-review-icon-dark-hover: #424242;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
$color-light: #FFFFFFB2;
|
|
22
|
+
$color-light-disabled: #F7F7F7;
|
|
23
|
+
$color-light-gray: #EEEEEE;
|
|
24
|
+
$color-review-hover: #CCCCCC;
|
|
25
|
+
$color-dark: #1D1D1D;
|
|
26
|
+
|
|
27
|
+
$color-text-gray: #AAAAAA;
|
|
28
|
+
|
|
29
|
+
$color-modal-dark-bg: #2F2F2F;
|
|
30
|
+
|
|
31
|
+
$color-rect-positive: #E9EFFD;
|
|
32
|
+
$color-icon: rgba(145, 145, 145, 0.4);
|
|
33
|
+
$color-filter-hover: rgba(145, 145, 145, 0.2);
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
@use "variables" as *;
|
|
2
|
+
|
|
3
|
+
.tooltip:not(.app-ca-main-tooltip):not(.app-main-tooltip) {
|
|
4
|
+
font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system,
|
|
5
|
+
BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
|
|
6
|
+
"Apple Color Emoji", "Segoe UI Emoji" !important;
|
|
7
|
+
margin-bottom: 8px !important;
|
|
8
|
+
&.input-tooltip {
|
|
9
|
+
margin-bottom: 0 !important;
|
|
10
|
+
}
|
|
11
|
+
&.tooltip-m-t-4 {
|
|
12
|
+
margin-top: 4px !important;
|
|
13
|
+
}
|
|
14
|
+
.tooltip-arrow {
|
|
15
|
+
display: none !important;
|
|
16
|
+
}
|
|
17
|
+
.tooltip-inner {
|
|
18
|
+
border-radius: 3px !important;
|
|
19
|
+
background-color: #424242 !important;
|
|
20
|
+
padding: 2px 6px !important;
|
|
21
|
+
line-height: 14px !important;
|
|
22
|
+
font-size: 11px !important;
|
|
23
|
+
font-weight: 600 !important;
|
|
24
|
+
color: #ffffff !important;
|
|
25
|
+
|
|
26
|
+
transition: background-color 0.1s ease-in-out;
|
|
27
|
+
|
|
28
|
+
&:empty {
|
|
29
|
+
display: none !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.tooltip.show {
|
|
35
|
+
opacity: 1 !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.tooltip-delete,
|
|
39
|
+
.error-tooltip {
|
|
40
|
+
.tooltip-inner {
|
|
41
|
+
background-color: #df3c3c !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Override the default tooltip background when custom bg classes are applied
|
|
46
|
+
.tooltip:not(.app-ca-main-tooltip):not(.app-main-tooltip) {
|
|
47
|
+
&[class*="tooltip-bg-"] {
|
|
48
|
+
.tooltip-inner {
|
|
49
|
+
background-color: inherit !important;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@each $color-name, $shades in $color-palettes {
|
|
55
|
+
.tooltip:not(.app-ca-main-tooltip):not(.app-main-tooltip) {
|
|
56
|
+
&.tooltip-bg-#{$color-name} {
|
|
57
|
+
@each $shade, $color-value in $shades {
|
|
58
|
+
&-#{$shade} {
|
|
59
|
+
.tooltip-inner {
|
|
60
|
+
background-color: $color-value !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Opacity variants only for -500
|
|
64
|
+
@if $shade == 500 {
|
|
65
|
+
&\/20 {
|
|
66
|
+
.tooltip-inner {
|
|
67
|
+
background-color: rgba($color-value, 0.2) !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
&\/40 {
|
|
71
|
+
.tooltip-inner {
|
|
72
|
+
background-color: rgba($color-value, 0.4) !important;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
&\/70 {
|
|
76
|
+
.tooltip-inner {
|
|
77
|
+
background-color: rgba($color-value, 0.7) !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
@use "../variables" as *;
|
|
2
|
+
|
|
3
|
+
// Generate text color utilities with opacity variants only for -500
|
|
4
|
+
@each $color-name, $shades in $color-palettes {
|
|
5
|
+
.text-#{$color-name} {
|
|
6
|
+
@each $shade, $color-value in $shades {
|
|
7
|
+
&-#{$shade} {
|
|
8
|
+
color: $color-value;
|
|
9
|
+
|
|
10
|
+
// Opacity variants only for -500
|
|
11
|
+
@if $shade == 500 {
|
|
12
|
+
&\/20 {
|
|
13
|
+
color: rgba($color-value, 0.2);
|
|
14
|
+
}
|
|
15
|
+
&\/40 {
|
|
16
|
+
color: rgba($color-value, 0.4);
|
|
17
|
+
}
|
|
18
|
+
&\/70 {
|
|
19
|
+
color: rgba($color-value, 0.7);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Generate background color utilities with opacity variants only for -500
|
|
28
|
+
@each $color-name, $shades in $color-palettes {
|
|
29
|
+
.bg-#{$color-name} {
|
|
30
|
+
@each $shade, $color-value in $shades {
|
|
31
|
+
&-#{$shade} {
|
|
32
|
+
background-color: $color-value;
|
|
33
|
+
|
|
34
|
+
// Opacity variants only for -500
|
|
35
|
+
@if $shade == 500 {
|
|
36
|
+
&\/20 {
|
|
37
|
+
background-color: rgba($color-value, 0.2);
|
|
38
|
+
}
|
|
39
|
+
&\/40 {
|
|
40
|
+
background-color: rgba($color-value, 0.4);
|
|
41
|
+
}
|
|
42
|
+
&\/70 {
|
|
43
|
+
background-color: rgba($color-value, 0.7);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Generate border color utilities with opacity variants only for -500
|
|
52
|
+
@each $color-name, $shades in $color-palettes {
|
|
53
|
+
.border-#{$color-name} {
|
|
54
|
+
@each $shade, $color-value in $shades {
|
|
55
|
+
&-#{$shade} {
|
|
56
|
+
border-color: $color-value;
|
|
57
|
+
|
|
58
|
+
// Opacity variants only for -500
|
|
59
|
+
@if $shade == 500 {
|
|
60
|
+
&\/20 {
|
|
61
|
+
border-color: rgba($color-value, 0.2);
|
|
62
|
+
}
|
|
63
|
+
&\/40 {
|
|
64
|
+
border-color: rgba($color-value, 0.4);
|
|
65
|
+
}
|
|
66
|
+
&\/70 {
|
|
67
|
+
border-color: rgba($color-value, 0.7);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Generate fill utilities for SVGs with opacity variants only for -500
|
|
76
|
+
@each $color-name, $shades in $color-palettes {
|
|
77
|
+
.fill-#{$color-name} {
|
|
78
|
+
@each $shade, $color-value in $shades {
|
|
79
|
+
&-#{$shade} {
|
|
80
|
+
fill: $color-value;
|
|
81
|
+
|
|
82
|
+
// Opacity variants only for -500
|
|
83
|
+
@if $shade == 500 {
|
|
84
|
+
&\/20 {
|
|
85
|
+
fill: rgba($color-value, 0.2);
|
|
86
|
+
}
|
|
87
|
+
&\/40 {
|
|
88
|
+
fill: rgba($color-value, 0.4);
|
|
89
|
+
}
|
|
90
|
+
&\/70 {
|
|
91
|
+
fill: rgba($color-value, 0.7);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// Generate stroke utilities for SVGs with opacity variants only for -500
|
|
100
|
+
@each $color-name, $shades in $color-palettes {
|
|
101
|
+
.stroke-#{$color-name} {
|
|
102
|
+
@each $shade, $color-value in $shades {
|
|
103
|
+
&-#{$shade} {
|
|
104
|
+
stroke: $color-value;
|
|
105
|
+
|
|
106
|
+
// Opacity variants only for -500
|
|
107
|
+
@if $shade == 500 {
|
|
108
|
+
&\/20 {
|
|
109
|
+
stroke: rgba($color-value, 0.2);
|
|
110
|
+
}
|
|
111
|
+
&\/40 {
|
|
112
|
+
stroke: rgba($color-value, 0.4);
|
|
113
|
+
}
|
|
114
|
+
&\/70 {
|
|
115
|
+
stroke: rgba($color-value, 0.7);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Hover states for text colors with opacity variants only for -500
|
|
124
|
+
@each $color-name, $shades in $color-palettes {
|
|
125
|
+
.hover\:text-#{$color-name} {
|
|
126
|
+
@each $shade, $color-value in $shades {
|
|
127
|
+
&-#{$shade}:hover {
|
|
128
|
+
color: $color-value;
|
|
129
|
+
|
|
130
|
+
// Opacity variants only for -500
|
|
131
|
+
@if $shade == 500 {
|
|
132
|
+
&\/20 {
|
|
133
|
+
color: rgba($color-value, 0.2);
|
|
134
|
+
}
|
|
135
|
+
&\/40 {
|
|
136
|
+
color: rgba($color-value, 0.4);
|
|
137
|
+
}
|
|
138
|
+
&\/70 {
|
|
139
|
+
color: rgba($color-value, 0.7);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// Hover states for background colors with opacity variants only for -500
|
|
148
|
+
@each $color-name, $shades in $color-palettes {
|
|
149
|
+
.hover\:bg-#{$color-name} {
|
|
150
|
+
@each $shade, $color-value in $shades {
|
|
151
|
+
&-#{$shade}:hover {
|
|
152
|
+
background-color: $color-value;
|
|
153
|
+
|
|
154
|
+
// Opacity variants only for -500
|
|
155
|
+
@if $shade == 500 {
|
|
156
|
+
&\/20 {
|
|
157
|
+
background-color: rgba($color-value, 0.2);
|
|
158
|
+
}
|
|
159
|
+
&\/40 {
|
|
160
|
+
background-color: rgba($color-value, 0.4);
|
|
161
|
+
}
|
|
162
|
+
&\/70 {
|
|
163
|
+
background-color: rgba($color-value, 0.7);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// Focus states for text colors with opacity variants only for -500
|
|
172
|
+
@each $color-name, $shades in $color-palettes {
|
|
173
|
+
.focus\:text-#{$color-name} {
|
|
174
|
+
@each $shade, $color-value in $shades {
|
|
175
|
+
&-#{$shade}:focus-visible {
|
|
176
|
+
color: $color-value;
|
|
177
|
+
|
|
178
|
+
// Opacity variants only for -500
|
|
179
|
+
@if $shade == 500 {
|
|
180
|
+
&\/20 {
|
|
181
|
+
color: rgba($color-value, 0.2);
|
|
182
|
+
}
|
|
183
|
+
&\/40 {
|
|
184
|
+
color: rgba($color-value, 0.4);
|
|
185
|
+
}
|
|
186
|
+
&\/70 {
|
|
187
|
+
color: rgba($color-value, 0.7);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Focus states for background colors with opacity variants only for -500
|
|
196
|
+
@each $color-name, $shades in $color-palettes {
|
|
197
|
+
.focus\:bg-#{$color-name} {
|
|
198
|
+
@each $shade, $color-value in $shades {
|
|
199
|
+
&-#{$shade}:focus-visible {
|
|
200
|
+
background-color: $color-value;
|
|
201
|
+
|
|
202
|
+
// Opacity variants only for -500
|
|
203
|
+
@if $shade == 500 {
|
|
204
|
+
&\/20 {
|
|
205
|
+
background-color: rgba($color-value, 0.2);
|
|
206
|
+
}
|
|
207
|
+
&\/40 {
|
|
208
|
+
background-color: rgba($color-value, 0.4);
|
|
209
|
+
}
|
|
210
|
+
&\/70 {
|
|
211
|
+
background-color: rgba($color-value, 0.7);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// Active states for text colors with opacity variants only for -500
|
|
220
|
+
@each $color-name, $shades in $color-palettes {
|
|
221
|
+
.active\:text-#{$color-name} {
|
|
222
|
+
@each $shade, $color-value in $shades {
|
|
223
|
+
&-#{$shade}:active {
|
|
224
|
+
color: $color-value;
|
|
225
|
+
|
|
226
|
+
// Opacity variants only for -500
|
|
227
|
+
@if $shade == 500 {
|
|
228
|
+
&\/20 {
|
|
229
|
+
color: rgba($color-value, 0.2);
|
|
230
|
+
}
|
|
231
|
+
&\/40 {
|
|
232
|
+
color: rgba($color-value, 0.4);
|
|
233
|
+
}
|
|
234
|
+
&\/70 {
|
|
235
|
+
color: rgba($color-value, 0.7);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// Active states for background colors with opacity variants only for -500
|
|
244
|
+
@each $color-name, $shades in $color-palettes {
|
|
245
|
+
.active\:bg-#{$color-name} {
|
|
246
|
+
@each $shade, $color-value in $shades {
|
|
247
|
+
&-#{$shade}:active {
|
|
248
|
+
background-color: $color-value;
|
|
249
|
+
|
|
250
|
+
// Opacity variants only for -500
|
|
251
|
+
@if $shade == 500 {
|
|
252
|
+
&\/20 {
|
|
253
|
+
background-color: rgba($color-value, 0.2);
|
|
254
|
+
}
|
|
255
|
+
&\/40 {
|
|
256
|
+
background-color: rgba($color-value, 0.4);
|
|
257
|
+
}
|
|
258
|
+
&\/70 {
|
|
259
|
+
background-color: rgba($color-value, 0.7);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
package/src/styles.scss
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
/* You can add global styles to this file, and also import other style files */
|
|
2
2
|
@use "styles/variables";
|
|
3
3
|
@use "styles/custompickers";
|
|
4
|
+
@use "styles/popover";
|
|
5
|
+
@use "styles/cropper";
|
|
6
|
+
@use "styles/utility/utilities";
|
|
7
|
+
@use "styles/tooltip";
|
|
8
|
+
|
|
4
9
|
/* Importing Bootstrap SCSS file. */
|
|
5
10
|
@use "bootstrap/scss/bootstrap";
|
|
11
|
+
|
|
6
12
|
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
|
|
7
13
|
|
|
8
14
|
html {
|
|
@@ -20,72 +26,3 @@ body {
|
|
|
20
26
|
BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
|
|
21
27
|
"Apple Color Emoji", "Segoe UI Emoji";
|
|
22
28
|
}
|
|
23
|
-
|
|
24
|
-
*,
|
|
25
|
-
*::before,
|
|
26
|
-
*::after {
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
border-width: 0;
|
|
29
|
-
border-style: solid;
|
|
30
|
-
border-color: #e5e7eb;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
p,
|
|
34
|
-
ul,
|
|
35
|
-
ol,
|
|
36
|
-
dl,
|
|
37
|
-
blockquote,
|
|
38
|
-
figure,
|
|
39
|
-
pre {
|
|
40
|
-
margin: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
button,
|
|
44
|
-
input,
|
|
45
|
-
select,
|
|
46
|
-
textarea {
|
|
47
|
-
font-family: inherit;
|
|
48
|
-
font-size: 100%;
|
|
49
|
-
line-height: 1.15;
|
|
50
|
-
margin: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
img,
|
|
54
|
-
svg,
|
|
55
|
-
video,
|
|
56
|
-
canvas,
|
|
57
|
-
audio,
|
|
58
|
-
iframe,
|
|
59
|
-
embed,
|
|
60
|
-
object {
|
|
61
|
-
display: block;
|
|
62
|
-
vertical-align: middle;
|
|
63
|
-
max-width: 100%;
|
|
64
|
-
height: auto;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/* Remove default list styles on ul, ol */
|
|
68
|
-
ul,
|
|
69
|
-
ol {
|
|
70
|
-
padding-left: 1.5rem;
|
|
71
|
-
list-style-position: outside;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* Link styles */
|
|
75
|
-
a {
|
|
76
|
-
color: inherit;
|
|
77
|
-
text-decoration: inherit;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* Tables */
|
|
81
|
-
table {
|
|
82
|
-
border-collapse: collapse;
|
|
83
|
-
border-spacing: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* Remove outline for focus on mouse users, but keep it for keyboard */
|
|
87
|
-
:focus:not(:focus-visible) {
|
|
88
|
-
outline: none;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import { ICaInput } from '../components/cai-custom-datetime-pickers/config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare enum DropdownTemplateTypeEnum {
|
|
6
|
-
PAYROLL_TRUCKS = "payroll-trucks"
|
|
7
|
-
}
|
|
8
|
-
export declare class InputClearClassPipe implements PipeTransform {
|
|
9
|
-
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, incorrectValue: boolean, selectedDropdownLabelColor: boolean, template: string, value: string): {
|
|
10
|
-
[key: string]: boolean | undefined;
|
|
11
|
-
};
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputClearClassPipe, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<InputClearClassPipe, "inputClearClass", true>;
|
|
14
|
-
}
|
package/app/components/input-datetime-picker/pipes/input-date-time-container-class.pipe.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import { ICaInput } from '../components/cai-custom-datetime-pickers/config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InputDateTimeContainerClassPipe implements PipeTransform {
|
|
6
|
-
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, value: string, isDisabledInput?: boolean, invalid?: boolean, isTouchedInput?: boolean): {
|
|
7
|
-
[key: string]: boolean | undefined | null | string;
|
|
8
|
-
};
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateTimeContainerClassPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<InputDateTimeContainerClassPipe, "inputDateTimeContainerClass", true>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import { ICaInput } from '../components/cai-custom-datetime-pickers/config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InputDropdownArrowClassPipe implements PipeTransform {
|
|
6
|
-
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, isTouchedInput: boolean, value: string): {
|
|
7
|
-
[key: string]: boolean | undefined;
|
|
8
|
-
};
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDropdownArrowClassPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<InputDropdownArrowClassPipe, "inputDropdownArrowClass", true>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from "@angular/core";
|
|
2
|
-
import { AbstractControl } from "@angular/forms";
|
|
3
|
-
import { ICaInput } from "../components/cai-custom-datetime-pickers/config";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InputPlaceholderIconClassPipe implements PipeTransform {
|
|
6
|
-
transform(getSuperControl: AbstractControl<any, any> | null, isFocusInput: boolean, inputConfig: ICaInput, selectedDropdownLabelColor: any | null, isTouchedInput: boolean, isEditInput: boolean, value: string): {
|
|
7
|
-
[key: string]: boolean | undefined;
|
|
8
|
-
};
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputPlaceholderIconClassPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<InputPlaceholderIconClassPipe, "inputPlaceholderIconClass", true>;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from "@angular/core";
|
|
2
|
-
import { ICaInput } from "../components/cai-custom-datetime-pickers/config";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ShowClearPipe implements PipeTransform {
|
|
5
|
-
transform(inputConfig: ICaInput, disabled?: boolean): boolean | undefined;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShowClearPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ShowClearPipe, "showClear", true>;
|
|
8
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class HoverSvgDirective {
|
|
4
|
-
private elRef;
|
|
5
|
-
private renderer2;
|
|
6
|
-
set fill(value: string | null | undefined);
|
|
7
|
-
set fillHover(value: string | null | undefined);
|
|
8
|
-
_fill: string;
|
|
9
|
-
_fillHover: string;
|
|
10
|
-
constructor(elRef: ElementRef, renderer2: Renderer2);
|
|
11
|
-
onMouseOver(): void;
|
|
12
|
-
onMouseLeave(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HoverSvgDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HoverSvgDirective, "[appHoverSvg]", never, { "fill": { "alias": "fill"; "required": false; }; "fillHover": { "alias": "fillHover"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hover-svg-directives';
|