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.
Files changed (79) hide show
  1. package/app/components/avatar/avatar.component.d.ts +2 -2
  2. package/app/components/avatar/models/avatar.model.d.ts +12 -5
  3. package/app/components/avatar/pipes/initials.pipe.d.ts +5 -1
  4. package/app/components/copy/copy.component.d.ts +23 -0
  5. package/app/components/document-preview/document-preview.component.d.ts +15 -6
  6. package/app/components/document-preview/interfaces/document-tag.interface.d.ts +4 -0
  7. package/app/components/document-preview/interfaces/index.d.ts +1 -0
  8. package/app/components/drop-zone/drop-zone.component.d.ts +58 -33
  9. package/app/components/drop-zone/models/file.response.d.ts +10 -0
  10. package/app/components/input/directives/helpers/index.d.ts +1 -0
  11. package/app/components/input/directives/helpers/mask.helper.d.ts +15 -0
  12. package/app/components/input/directives/mask.directive.d.ts +2 -16
  13. package/app/components/input/directives/number-format.directive.d.ts +6 -1
  14. package/app/components/input/directives/password.directive.d.ts +3 -1
  15. package/app/components/input/input.component.d.ts +49 -4
  16. package/app/components/input/models/dropdown.model.d.ts +23 -2
  17. package/app/components/input/models/input.model.d.ts +21 -7
  18. package/app/components/input/pipes/filter-by-search.pipe.d.ts +1 -1
  19. package/app/components/input-address/enums/input-address-layers-string.enum.d.ts +4 -0
  20. package/app/components/input-address/enums/input-address-type-string.enum.d.ts +5 -0
  21. package/app/components/input-address/input-address.component.d.ts +67 -0
  22. package/app/components/input-address/models/address-data.model.d.ts +19 -0
  23. package/app/components/input-address/models/address-list.model.d.ts +6 -0
  24. package/app/components/input-address/models/long-lat.model.d.ts +4 -0
  25. package/app/components/input-address/models/sent-address-data.model.d.ts +22 -0
  26. package/app/components/input-datetime-picker/cai-input-datetime-picker.component.d.ts +8 -4
  27. package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/cai-custom-datetime-pickers.component.d.ts +3 -3
  28. 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
  29. 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
  30. 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
  31. 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
  32. package/app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config/cai-input.config.d.ts +1 -0
  33. package/app/components/input-datetime-picker/interfaces/index.d.ts +1 -0
  34. package/app/components/input-datetime-picker/interfaces/input-datetime.interface.d.ts +8 -0
  35. package/app/components/pm/pm.component.d.ts +29 -12
  36. package/app/components/selected-location-field/interfaces/index.d.ts +1 -0
  37. package/app/components/selected-location-field/interfaces/selected-business-field.interface.d.ts +11 -0
  38. package/app/components/selected-location-field/selected-business-field.component.d.ts +12 -0
  39. package/app/directives/infinite-scroll.directive.d.ts +16 -0
  40. package/app/directives/intersection-observer.directive.d.ts +15 -0
  41. package/app/enums/alignment.enum.d.ts +4 -0
  42. package/app/enums/index.d.ts +3 -0
  43. package/app/enums/string-placeholder.enum.d.ts +3 -0
  44. package/app/models/appFile.model.d.ts +3 -1
  45. package/app/utils/constants/index.d.ts +1 -0
  46. package/app/utils/constants/input-character-sets.constants.d.ts +18 -0
  47. package/app/utils/index.d.ts +1 -0
  48. package/fesm2022/carriera-intern-components.mjs +1874 -884
  49. package/fesm2022/carriera-intern-components.mjs.map +1 -1
  50. package/package.json +1 -1
  51. package/public/assets/icons/cai-edit.svg +3 -3
  52. package/public/assets/icons/cai-loader.svg +3 -0
  53. package/public/assets/icons/fuel-contact/cai-fuel-card.svg +3 -0
  54. package/public/assets/icons/fuel-contact/cai-user-2.svg +3 -0
  55. package/public/assets/icons/general/cai-date.svg +1 -1
  56. package/public/assets/icons/integration/cai-efs.svg +4 -0
  57. package/public/assets/icons/interaction/cai-copy.svg +3 -0
  58. package/public/assets/icons/interaction/cai-favorite.svg +3 -0
  59. package/public/assets/icons/interaction/cai_time.svg +1 -1
  60. package/public/assets/json/icons.json +24 -0
  61. package/public/pdfjs/pdf.worker.min.mjs +30 -0
  62. package/public-api.d.ts +9 -3
  63. package/src/styles/README.md +57 -0
  64. package/src/styles/_variables.scss +288 -0
  65. package/src/styles/cropper.scss +33 -0
  66. package/src/styles/custompickers.scss +822 -0
  67. package/src/styles/popover.scss +18 -0
  68. package/src/styles/review_variables.scss +40 -0
  69. package/src/styles/tooltip.scss +85 -0
  70. package/src/styles/utility/colors.scss +265 -0
  71. package/src/styles/utility/utilities.scss +6 -0
  72. package/src/styles.scss +6 -69
  73. package/app/components/input-datetime-picker/pipes/input-clear-class.pipe.d.ts +0 -14
  74. package/app/components/input-datetime-picker/pipes/input-date-time-container-class.pipe.d.ts +0 -11
  75. package/app/components/input-datetime-picker/pipes/input-dropdown-arrow-class.pipe.d.ts +0 -11
  76. package/app/components/input-datetime-picker/pipes/input-placeholder-icon.class.pipe.d.ts +0 -11
  77. package/app/components/input-datetime-picker/pipes/show-clear.pipe.d.ts +0 -8
  78. package/app/directives/hover-svg-directives.d.ts +0 -15
  79. package/app/directives/index.d.ts +0 -1
package/public-api.d.ts CHANGED
@@ -1,6 +1,12 @@
1
- export * from './app/components/input/input.component';
2
- export * from './app/components/drop-zone/drop-zone.component';
3
- export * from './app/components/input/models';
4
1
  export * from './app/utils';
2
+ export * from './app/components/input/models';
5
3
  export * from './app/components/pm/pm.component';
4
+ export * from './app/components/input/input.component';
5
+ export * from './app/components/drop-zone/drop-zone.component';
6
6
  export * from './app/components/input-datetime-picker/cai-input-datetime-picker.component';
7
+ export * from './app/components/input-datetime-picker/components/cai-custom-datetime-pickers/config';
8
+ export * from './app/components/avatar/avatar.component';
9
+ export * from './app/components/copy/copy.component';
10
+ export * from './app/components/input-address/input-address.component';
11
+ export * from './app/components/selected-location-field/selected-business-field.component';
12
+ export * from './app/components/input-datetime-picker/interfaces';
@@ -0,0 +1,57 @@
1
+ # Global Styles
2
+
3
+ This directory contains all global styles and variables for the Carriera Intern Components library.
4
+
5
+ ## Structure
6
+
7
+ ```
8
+ styles/
9
+ ├── index.scss # Main entry point - imports all styles
10
+ ├── _variables.scss # Global color and design variables
11
+ ├── review_variables.scss # Review-specific variables
12
+ └── README.md # This file
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ### For Library Consumers
18
+
19
+ The global styles are automatically included when you import the library. The styles are bundled with the library and available through the `styleIncludePaths` configuration.
20
+
21
+ ### For Component Development
22
+
23
+ When creating new components, you can import the global variables:
24
+
25
+ ```scss
26
+ @import '../../../styles/variables';
27
+ @import '../../../styles/review_variables';
28
+ ```
29
+
30
+ Or use the main index file:
31
+
32
+ ```scss
33
+ @import '../../../styles/index';
34
+ ```
35
+
36
+ ## Variables
37
+
38
+ ### Color Variables
39
+
40
+ All color variables follow the naming convention:
41
+ - `$color-text-base-*` - Text colors
42
+ - `$color-icon-base-*` - Icon colors
43
+ - `$color-surface-input-*` - Input surface colors
44
+ - `$color-inverse-*` - Dark theme colors
45
+
46
+ ### Adding New Variables
47
+
48
+ 1. Add new variables to the appropriate `_variables.scss` file
49
+ 2. Import them in `index.scss` if they should be globally available
50
+ 3. Update this README with documentation
51
+
52
+ ## Build Configuration
53
+
54
+ The styles are configured in:
55
+ - `angular.json` - Storybook and build configurations
56
+ - `ng-package.json` - Library build includes
57
+ - `public-api.ts` - Exports for TypeScript access
@@ -0,0 +1,288 @@
1
+ $color-text-base-negative: #df3c3c;
2
+ $color-text-base-heading: #424242;
3
+ $color-text-base-content: #2f2f2f;
4
+ $color-text-base-content-subtle: #919191;
5
+ $color-text-base-inverse: #ffffff;
6
+
7
+ $color-icon-base-neutral: #919191;
8
+ $color-icon-base-negative: #e66767;
9
+ $color-icon-base-positive: #6692f1;
10
+ $color-icon-base-inverse: #ffffffb2;
11
+ $color-icon-base-disable: #cccccc;
12
+
13
+ $color-surface-input-neutral: #eeeeee;
14
+ $color-surface-input-neutral-hover: #dadada;
15
+ $color-surface-input-neutral-focus: #1d1d1d;
16
+
17
+ $color-surface-input-positive: #e9effd;
18
+ $color-surface-input-positive-hover: #bed0f9;
19
+ $color-surface-input-positive-focus: #0b49d1;
20
+
21
+ $color-surface-input-negative: #fbe9e9;
22
+ $color-surface-input-negative-hover: #f4bebe;
23
+ $color-surface-input-negative-focus: #c20c0c;
24
+
25
+ $color-surface-input-disable: #f7f7f7;
26
+
27
+ $color-inverse-text-base-negative: #ed9292;
28
+ $color-inverse-icon-base-neutral: #aaaaaa;
29
+ $color-inverse-icon-base-negative: #ed9292;
30
+ $color-inverse-icon-base-positive: #92b1f5;
31
+ $color-inverse-icon-base-disable: #6c6c6c;
32
+ $color-inverse-surface-input-neutral: #424242;
33
+ $color-inverse-surface-input-neutral-hover: #6c6c6c;
34
+ $color-inverse-surface-input-neutral-focus: #dadada;
35
+ $color-inverse-surface-input-positive-no-percent: #3b73ed;
36
+ $color-inverse-surface-input-positive: #3b73ed33;
37
+ $color-inverse-surface-input-positive-hover: #2f519a;
38
+ $color-inverse-surface-input-negative: #df3c3c33;
39
+ $color-inverse-surface-input-negative-hover: #923030;
40
+ $color-inverse-surface-input-disable: #42424266;
41
+
42
+ $color-pdf: #e66767;
43
+ $color-image: #fab15c;
44
+ $color-video: #b370f0;
45
+
46
+ $color-pdf-opacity: #df3c3c66;
47
+ $color-image-opacity: #f89b2e66;
48
+ $color-video-opacity: #9e47ec66;
49
+
50
+ $color-light-gray: #f9f9f9;
51
+
52
+ // Font weights
53
+ $font-regular: 400;
54
+ $font-medium: 500;
55
+ $font-semibold: 600;
56
+ $font-bold: 700;
57
+ $font-extrabold: 800;
58
+
59
+ // Colors
60
+
61
+ // White color palette
62
+ $color-white-50: #ffffff;
63
+ $color-white-100: #f7f7f7;
64
+ $color-white-200: #eeeeee;
65
+ $color-white-300: #e5e5e5;
66
+ $color-white-500: #dadada;
67
+ $color-white-700: #cccccc;
68
+
69
+ // Black color palette
70
+ $color-black-50: #aaaaaa;
71
+ $color-black-100: #919191;
72
+ $color-black-200: #6c6c6c;
73
+ $color-black-300: #424242;
74
+ $color-black-500: #2f2f2f;
75
+ $color-black-700: #1d1d1d;
76
+
77
+ // Blue color palette
78
+ $color-blue-50: #e9effd;
79
+ $color-blue-100: #bed0f9;
80
+ $color-blue-200: #92b1f5;
81
+ $color-blue-300: #6692f1;
82
+ $color-blue-500: #3b73ed;
83
+ $color-blue-700: #0b49d1;
84
+
85
+ // Red color palette
86
+ $color-red-50: #fbe9e9;
87
+ $color-red-100: #f4bebe;
88
+ $color-red-200: #ed9292;
89
+ $color-red-300: #e66767;
90
+ $color-red-500: #df3c3c;
91
+ $color-red-700: #c20c0c;
92
+
93
+ // Green color palette
94
+ $color-green-50: #e7f4f3;
95
+ $color-green-100: #b6dfdb;
96
+ $color-green-200: #86c9c3;
97
+ $color-green-300: #56b4ac;
98
+ $color-green-500: #259f94;
99
+ $color-green-700: #007a6e;
100
+
101
+ // Yellow color palette
102
+ $color-yellow-50: #fef4e8;
103
+ $color-yellow-100: #fddeb9;
104
+ $color-yellow-200: #fbc88b;
105
+ $color-yellow-300: #fab15c;
106
+ $color-yellow-500: #f89b2e;
107
+ $color-yellow-700: #de7700;
108
+
109
+ // Purple color palette
110
+ $color-purple-50: #f4ebfd;
111
+ $color-purple-100: #dfc2f9;
112
+ $color-purple-200: #c999f4;
113
+ $color-purple-300: #b370f0;
114
+ $color-purple-500: #9e47ec;
115
+ $color-purple-700: #7919d0;
116
+
117
+ // Navy color palette
118
+ $color-navy-50: #e7e7fa;
119
+ $color-navy-100: #b7b6f1;
120
+ $color-navy-200: #8785e8;
121
+ $color-navy-300: #5755df;
122
+ $color-navy-500: #2724d6;
123
+ $color-navy-700: #0000b8;
124
+
125
+ // Brown color palette
126
+ $color-brown-50: #f1ede9;
127
+ $color-brown-100: #d6c9bd;
128
+ $color-brown-200: #bca691;
129
+ $color-brown-300: #a08266;
130
+ $color-brown-500: #865e3a;
131
+ $color-brown-700: #5f330a;
132
+
133
+ // Gold color palette
134
+ $color-gold-50: #faf3e6;
135
+ $color-gold-100: #efdcb4;
136
+ $color-gold-200: #e4c481;
137
+ $color-gold-300: #daad4f;
138
+ $color-gold-500: #cf961d;
139
+ $color-gold-700: #b07000;
140
+
141
+ // Lime color palette
142
+ $color-lime-50: #ecf6e7;
143
+ $color-lime-100: #c5e3b6;
144
+ $color-lime-200: #9ed186;
145
+ $color-lime-300: #77bf56;
146
+ $color-lime-500: #50ac25;
147
+ $color-lime-700: #238900;
148
+
149
+ // Magenta color palette
150
+ $color-magenta-50: #fbe9f1;
151
+ $color-magenta-100: #f4bed6;
152
+ $color-magenta-200: #ed93bb;
153
+ $color-magenta-300: #e668a0;
154
+ $color-magenta-500: #df3d85;
155
+ $color-magenta-700: #c10d5d;
156
+
157
+ // Orange color palette
158
+ $color-orange-50: #ffefea;
159
+ $color-orange-100: #ffcfc0;
160
+ $color-orange-200: #ffb097;
161
+ $color-orange-300: #ff906d;
162
+ $color-orange-500: #ff7043;
163
+ $color-orange-700: #e54715;
164
+
165
+ // Azure color palette
166
+ $color-azure-50: #e5f7fc;
167
+ $color-azure-100: #b2e6f7;
168
+ $color-azure-200: #80d6f1;
169
+ $color-azure-300: #4dc5eb;
170
+ $color-azure-500: #1ab5e6;
171
+ $color-azure-700: #0093c9;
172
+
173
+ // Palette
174
+
175
+ $color-palettes: (
176
+ white: (
177
+ 50: $color-white-50,
178
+ 100: $color-white-100,
179
+ 200: $color-white-200,
180
+ 300: $color-white-300,
181
+ 500: $color-white-500,
182
+ 700: $color-white-700,
183
+ ),
184
+ black: (
185
+ 50: $color-black-50,
186
+ 100: $color-black-100,
187
+ 200: $color-black-200,
188
+ 300: $color-black-300,
189
+ 500: $color-black-500,
190
+ 700: $color-black-700,
191
+ ),
192
+ blue: (
193
+ 50: $color-blue-50,
194
+ 100: $color-blue-100,
195
+ 200: $color-blue-200,
196
+ 300: $color-blue-300,
197
+ 500: $color-blue-500,
198
+ 700: $color-blue-700,
199
+ ),
200
+ red: (
201
+ 50: $color-red-50,
202
+ 100: $color-red-100,
203
+ 200: $color-red-200,
204
+ 300: $color-red-300,
205
+ 500: $color-red-500,
206
+ 700: $color-red-700,
207
+ ),
208
+ green: (
209
+ 50: $color-green-50,
210
+ 100: $color-green-100,
211
+ 200: $color-green-200,
212
+ 300: $color-green-300,
213
+ 500: $color-green-500,
214
+ 700: $color-green-700,
215
+ ),
216
+ yellow: (
217
+ 50: $color-yellow-50,
218
+ 100: $color-yellow-100,
219
+ 200: $color-yellow-200,
220
+ 300: $color-yellow-300,
221
+ 500: $color-yellow-500,
222
+ 700: $color-yellow-700,
223
+ ),
224
+ purple: (
225
+ 50: $color-purple-50,
226
+ 100: $color-purple-100,
227
+ 200: $color-purple-200,
228
+ 300: $color-purple-300,
229
+ 500: $color-purple-500,
230
+ 700: $color-purple-700,
231
+ ),
232
+ orange: (
233
+ 50: $color-orange-50,
234
+ 100: $color-orange-100,
235
+ 200: $color-orange-200,
236
+ 300: $color-orange-300,
237
+ 500: $color-orange-500,
238
+ 700: $color-orange-700,
239
+ ),
240
+ azure: (
241
+ 50: $color-azure-50,
242
+ 100: $color-azure-100,
243
+ 200: $color-azure-200,
244
+ 300: $color-azure-300,
245
+ 500: $color-azure-500,
246
+ 700: $color-azure-700,
247
+ ),
248
+ gold: (
249
+ 50: $color-gold-50,
250
+ 100: $color-gold-100,
251
+ 200: $color-gold-200,
252
+ 300: $color-gold-300,
253
+ 500: $color-gold-500,
254
+ 700: $color-gold-700,
255
+ ),
256
+ brown: (
257
+ 50: $color-brown-50,
258
+ 100: $color-brown-100,
259
+ 200: $color-brown-200,
260
+ 300: $color-brown-300,
261
+ 500: $color-brown-500,
262
+ 700: $color-brown-700,
263
+ ),
264
+ navy: (
265
+ 50: $color-navy-50,
266
+ 100: $color-navy-100,
267
+ 200: $color-navy-200,
268
+ 300: $color-navy-300,
269
+ 500: $color-navy-500,
270
+ 700: $color-navy-700,
271
+ ),
272
+ lime: (
273
+ 50: $color-lime-50,
274
+ 100: $color-lime-100,
275
+ 200: $color-lime-200,
276
+ 300: $color-lime-300,
277
+ 500: $color-lime-500,
278
+ 700: $color-lime-700,
279
+ ),
280
+ magenta: (
281
+ 50: $color-magenta-50,
282
+ 100: $color-magenta-100,
283
+ 200: $color-magenta-200,
284
+ 300: $color-magenta-300,
285
+ 500: $color-magenta-500,
286
+ 700: $color-magenta-700,
287
+ ),
288
+ );
@@ -0,0 +1,33 @@
1
+ @import "variables";
2
+
3
+ .logoVar {
4
+ .img-cropper .ngx-ic-cropper {
5
+ width: 100% !important;
6
+ height: 100% !important;
7
+ left: 0 !important;
8
+ margin-left: 0 !important;
9
+ pointer-events: none !important;
10
+ }
11
+ }
12
+
13
+ .img-cropper {
14
+ .ngx-ic-source-image {
15
+ object-fit: contain !important;
16
+ }
17
+ .ngx-ic-overlay {
18
+ margin-left: 0 !important;
19
+ width: 100% !important;
20
+ }
21
+ .ngx-ic-cropper{
22
+ pointer-events: none !important;
23
+
24
+ .ngx-ic-move{
25
+ border: none !important;
26
+ outline: none !important;
27
+ }
28
+ }
29
+ .ngx-ic-cropper::after{
30
+ border: 5px dashed #ffffff !important;
31
+ opacity: 1 !important;
32
+ }
33
+ }