adp-web-components 0.0.27 → 0.0.29
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/dist/cjs/{Loading-14fca13b.js → Loading-6f4f0127.js} +1 -1
- package/dist/cjs/dead-stock-lookup.cjs.entry.js +5 -5
- package/dist/cjs/distributor-lookup.cjs.entry.js +5 -5
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +139 -71
- package/dist/cjs/dynamic-redeem.cjs.entry.js +21 -9
- package/dist/cjs/form-input.cjs.entry.js +1 -1
- package/dist/cjs/general-inquiry-form.cjs.entry.js +5 -2131
- package/dist/cjs/get-local-language-42973450.js +153 -0
- package/dist/cjs/{index-97b8da6d.js → index-846c93d2.js} +6 -1
- package/dist/cjs/index.esm-c628daeb.js +2135 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/manufacturer-lookup.cjs.entry.js +5 -5
- package/dist/cjs/{partInformation-07651204.js → partInformation-2b4e0593.js} +1 -1
- package/dist/cjs/shift-components.cjs.js +2 -2
- package/dist/cjs/vehicle-lookup.cjs.entry.js +6 -5
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
- package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +2 -2
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +3 -2
- package/dist/collection/components/vehicle-lookup/components/SSCTable.js +3 -2
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
- package/dist/collection/components/vehicle-lookup/dynamic-claim.css +1 -1
- package/dist/collection/components/vehicle-lookup/dynamic-claim.js +53 -13
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +1 -1
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +49 -10
- package/dist/collection/components/vehicle-lookup/paint-thickness.js +47 -8
- package/dist/collection/components/vehicle-lookup/service-history.js +42 -3
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +48 -9
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +44 -19
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +42 -3
- package/dist/collection/components/vehicle-lookup/warranty-details.js +76 -38
- package/dist/collection/global/api/partInformation.js +1 -1
- package/dist/collection/global/api/vehicleInformation.js +2 -2
- package/dist/collection/global/lib/get-local-language.js +19 -0
- package/dist/collection/global/types/locales/error-schema.js +9 -0
- package/dist/collection/global/types/locales/index.js +22 -0
- package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +13 -0
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +21 -0
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +28 -0
- package/dist/collection/global/types/locales/vehicle-lookup/index.js +21 -0
- package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +14 -0
- package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +15 -0
- package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +14 -0
- package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +23 -0
- package/dist/components/dead-stock-lookup.js +1 -1
- package/dist/components/distributor-lookup.js +1 -1
- package/dist/components/dynamic-claim.js +1 -1
- package/dist/components/dynamic-redeem.js +1 -1
- package/dist/components/form-input.js +1 -1
- package/dist/components/general-inquiry-form.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/p-0ae60f32.js +5 -0
- package/dist/components/p-1a626dfd.js +5 -0
- package/dist/components/{p-4bf4435e.js → p-1d80419b.js} +1 -1
- package/dist/components/p-1ea3089a.js +5 -0
- package/dist/components/p-2e747eb3.js +5 -0
- package/dist/components/p-4f99745c.js +5 -0
- package/dist/components/{p-c4fad245.js → p-609c2470.js} +1 -1
- package/dist/components/p-6c064413.js +5 -0
- package/dist/components/p-7360f9b1.js +5 -0
- package/dist/components/p-79ea7639.js +5 -0
- package/dist/components/p-a21e2e2e.js +5 -0
- package/dist/components/{p-be0a5ab5.js → p-b2051f01.js} +1 -1
- package/dist/components/p-e446fb9d.js +5 -0
- package/dist/components/p-eb89583a.js +5 -0
- package/dist/components/{p-b90fd51c.js → p-f001d15b.js} +1 -1
- package/dist/components/p-f691e103.js +5 -0
- package/dist/components/paint-thickness.js +1 -1
- package/dist/components/service-history.js +1 -1
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/warranty-details.js +1 -1
- package/dist/esm/{Loading-2b8a745c.js → Loading-f4d666ee.js} +1 -1
- package/dist/esm/dead-stock-lookup.entry.js +5 -5
- package/dist/esm/distributor-lookup.entry.js +5 -5
- package/dist/esm/dynamic-claim_6.entry.js +139 -71
- package/dist/esm/dynamic-redeem.entry.js +21 -9
- package/dist/esm/form-input.entry.js +1 -1
- package/dist/esm/general-inquiry-form.entry.js +2 -2128
- package/dist/esm/get-local-language-85ed0b3b.js +150 -0
- package/dist/esm/{index-ff1dab22.js → index-33ae6859.js} +6 -1
- package/dist/esm/index.esm-46e0cdad.js +2132 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/manufacturer-lookup.entry.js +5 -5
- package/dist/esm/{partInformation-096a8f55.js → partInformation-f40b1fe6.js} +1 -1
- package/dist/esm/shift-components.js +3 -3
- package/dist/esm/vehicle-lookup.entry.js +6 -5
- package/dist/locales/ar.json +105 -0
- package/dist/locales/en.json +105 -0
- package/dist/locales/ku.json +105 -0
- package/dist/shift-components/p-062cd94b.entry.js +5 -0
- package/dist/shift-components/p-0e0b69a1.entry.js +5 -0
- package/dist/shift-components/{p-f37b60d5.js → p-0f0e54c1.js} +2 -2
- package/dist/shift-components/p-10aae582.entry.js +5 -0
- package/dist/shift-components/p-1de8531d.entry.js +5 -0
- package/dist/shift-components/p-2e747eb3.js +5 -0
- package/dist/shift-components/{p-fad254c9.entry.js → p-496a721b.entry.js} +1 -1
- package/dist/shift-components/p-832fd942.entry.js +5 -0
- package/dist/shift-components/p-9120c049.entry.js +5 -0
- package/dist/shift-components/{p-e35e44a4.js → p-99d314b5.js} +1 -1
- package/dist/shift-components/p-c4efbdc3.js +5 -0
- package/dist/shift-components/p-d49f73db.entry.js +5 -0
- package/dist/shift-components/p-e446fb9d.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +3 -1
- package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +3 -1
- package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +3 -1
- package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +10 -5
- package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +10 -5
- package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +6 -1
- package/dist/types/components/vehicle-lookup/service-history.d.ts +6 -1
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -1
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +5 -3
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -1
- package/dist/types/components/vehicle-lookup/warranty-details.d.ts +10 -5
- package/dist/types/components.d.ts +18 -0
- package/dist/types/global/lib/get-local-language.d.ts +2 -0
- package/dist/types/global/types/locales/error-schema.d.ts +7 -0
- package/dist/types/global/types/locales/index.d.ts +220 -0
- package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +15 -0
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +31 -0
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +45 -0
- package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +189 -0
- package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +17 -0
- package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +19 -0
- package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +17 -0
- package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +35 -0
- package/package.json +9 -4
- package/dist/components/p-2741b156.js +0 -5
- package/dist/components/p-2ea90585.js +0 -5
- package/dist/components/p-4f08bcb8.js +0 -5
- package/dist/components/p-514c4736.js +0 -5
- package/dist/components/p-6ffb4e5d.js +0 -5
- package/dist/components/p-9245caae.js +0 -5
- package/dist/components/p-c62be897.js +0 -5
- package/dist/components/p-d4718f3b.js +0 -5
- package/dist/components/p-d999f3c4.js +0 -5
- package/dist/shift-components/p-1719e164.entry.js +0 -5
- package/dist/shift-components/p-26b9d31a.entry.js +0 -5
- package/dist/shift-components/p-33e4c335.entry.js +0 -5
- package/dist/shift-components/p-4f08bcb8.js +0 -5
- package/dist/shift-components/p-9f58a33b.entry.js +0 -5
- package/dist/shift-components/p-d03dade1.entry.js +0 -5
- package/dist/shift-components/p-d1ffe0eb.entry.js +0 -5
- package/dist/shift-components/p-f6764fb5.entry.js +0 -5
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
2
|
+
import { errorsSchema } from './error-schema';
|
|
3
|
+
export declare const ARABIC_JSON_FILE = "ar.json";
|
|
4
|
+
export declare const ENGLISH_JSON_FILE = "en.json";
|
|
5
|
+
export declare const KURDISH_JSON_FILE = "ku.json";
|
|
6
|
+
export type LanguageKeys = 'en' | 'ar' | 'ku';
|
|
7
|
+
export declare const languageMapper: {
|
|
8
|
+
ar: string;
|
|
9
|
+
en: string;
|
|
10
|
+
ku: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const localeSchema: import("yup").ObjectSchema<{
|
|
13
|
+
errors: {
|
|
14
|
+
noServiceAvailable?: string;
|
|
15
|
+
wrongResponseFormat?: string;
|
|
16
|
+
};
|
|
17
|
+
lang: string;
|
|
18
|
+
language: string;
|
|
19
|
+
direction: string;
|
|
20
|
+
vehicleLookup: {
|
|
21
|
+
serviceHistory?: {
|
|
22
|
+
noData?: string;
|
|
23
|
+
serviceType?: string;
|
|
24
|
+
invoiceNumber?: string;
|
|
25
|
+
serviceHistory?: string;
|
|
26
|
+
branch?: string;
|
|
27
|
+
dealer?: string;
|
|
28
|
+
date?: string;
|
|
29
|
+
odometer?: string;
|
|
30
|
+
};
|
|
31
|
+
paintThickness?: {
|
|
32
|
+
expand?: string;
|
|
33
|
+
part?: string;
|
|
34
|
+
noData?: string;
|
|
35
|
+
paintThickness?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
noImageGroups?: string;
|
|
39
|
+
};
|
|
40
|
+
warranty?: {
|
|
41
|
+
from?: string;
|
|
42
|
+
to?: string;
|
|
43
|
+
authorized?: string;
|
|
44
|
+
unauthorized?: string;
|
|
45
|
+
activeWarranty?: string;
|
|
46
|
+
notActiveWarranty?: string;
|
|
47
|
+
notInvoiced?: string;
|
|
48
|
+
pendingSSC?: string;
|
|
49
|
+
noPendingSSC?: string;
|
|
50
|
+
checkingTMC?: string;
|
|
51
|
+
sscCampings?: string;
|
|
52
|
+
sscTableCode?: string;
|
|
53
|
+
sscTableDescription?: string;
|
|
54
|
+
sscTableRepairStatus?: string;
|
|
55
|
+
sscTableOPCode?: string;
|
|
56
|
+
sscTablePartNumber?: string;
|
|
57
|
+
};
|
|
58
|
+
accessories?: {
|
|
59
|
+
expand?: string;
|
|
60
|
+
image?: string;
|
|
61
|
+
description?: string;
|
|
62
|
+
vehicleAccessories?: string;
|
|
63
|
+
noData?: string;
|
|
64
|
+
partNumber?: string;
|
|
65
|
+
};
|
|
66
|
+
dynamicClaim?: {
|
|
67
|
+
serviceType?: string;
|
|
68
|
+
activationDate?: string;
|
|
69
|
+
expireDate?: string;
|
|
70
|
+
claimAt?: string;
|
|
71
|
+
redeemingDealer?: string;
|
|
72
|
+
invoiceNumber?: string;
|
|
73
|
+
wip?: string;
|
|
74
|
+
menuCode?: string;
|
|
75
|
+
claim?: string;
|
|
76
|
+
processed?: string;
|
|
77
|
+
expired?: string;
|
|
78
|
+
cancelled?: string;
|
|
79
|
+
pending?: string;
|
|
80
|
+
warning?: string;
|
|
81
|
+
};
|
|
82
|
+
dynamicRedeem?: {
|
|
83
|
+
name?: string;
|
|
84
|
+
notInvoiced?: string;
|
|
85
|
+
serviceType?: string;
|
|
86
|
+
activationDate?: string;
|
|
87
|
+
expireDate?: string;
|
|
88
|
+
claimAt?: string;
|
|
89
|
+
redeemingDealer?: string;
|
|
90
|
+
invoiceNumber?: string;
|
|
91
|
+
wip?: string;
|
|
92
|
+
menuCode?: string;
|
|
93
|
+
claim?: string;
|
|
94
|
+
processed?: string;
|
|
95
|
+
expired?: string;
|
|
96
|
+
cancelled?: string;
|
|
97
|
+
pending?: string;
|
|
98
|
+
warning?: string;
|
|
99
|
+
scanTheInvoice?: string;
|
|
100
|
+
processing?: string;
|
|
101
|
+
skipServicesWarning?: string;
|
|
102
|
+
confirmSkipServices?: string;
|
|
103
|
+
confirmNotInvoiced?: string;
|
|
104
|
+
};
|
|
105
|
+
specification?: {
|
|
106
|
+
noData?: string;
|
|
107
|
+
vehicleSpecification?: string;
|
|
108
|
+
model?: string;
|
|
109
|
+
variant?: string;
|
|
110
|
+
katashiki?: string;
|
|
111
|
+
modelYear?: string;
|
|
112
|
+
sfx?: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}, import("yup").AnyObject, {
|
|
116
|
+
errors: {
|
|
117
|
+
noServiceAvailable: undefined;
|
|
118
|
+
wrongResponseFormat: undefined;
|
|
119
|
+
};
|
|
120
|
+
lang: undefined;
|
|
121
|
+
language: undefined;
|
|
122
|
+
direction: undefined;
|
|
123
|
+
vehicleLookup: {
|
|
124
|
+
warranty: {
|
|
125
|
+
authorized: undefined;
|
|
126
|
+
unauthorized: undefined;
|
|
127
|
+
activeWarranty: undefined;
|
|
128
|
+
notActiveWarranty: undefined;
|
|
129
|
+
notInvoiced: undefined;
|
|
130
|
+
from: undefined;
|
|
131
|
+
to: undefined;
|
|
132
|
+
pendingSSC: undefined;
|
|
133
|
+
noPendingSSC: undefined;
|
|
134
|
+
checkingTMC: undefined;
|
|
135
|
+
sscCampings: undefined;
|
|
136
|
+
sscTableCode: undefined;
|
|
137
|
+
sscTableDescription: undefined;
|
|
138
|
+
sscTableRepairStatus: undefined;
|
|
139
|
+
sscTableOPCode: undefined;
|
|
140
|
+
sscTablePartNumber: undefined;
|
|
141
|
+
};
|
|
142
|
+
accessories: {
|
|
143
|
+
vehicleAccessories: undefined;
|
|
144
|
+
noData: undefined;
|
|
145
|
+
partNumber: undefined;
|
|
146
|
+
description: undefined;
|
|
147
|
+
image: undefined;
|
|
148
|
+
expand: undefined;
|
|
149
|
+
};
|
|
150
|
+
dynamicClaim: {
|
|
151
|
+
serviceType: undefined;
|
|
152
|
+
activationDate: undefined;
|
|
153
|
+
expireDate: undefined;
|
|
154
|
+
claimAt: undefined;
|
|
155
|
+
redeemingDealer: undefined;
|
|
156
|
+
invoiceNumber: undefined;
|
|
157
|
+
wip: undefined;
|
|
158
|
+
menuCode: undefined;
|
|
159
|
+
claim: undefined;
|
|
160
|
+
processed: undefined;
|
|
161
|
+
expired: undefined;
|
|
162
|
+
cancelled: undefined;
|
|
163
|
+
pending: undefined;
|
|
164
|
+
warning: undefined;
|
|
165
|
+
};
|
|
166
|
+
dynamicRedeem: {
|
|
167
|
+
serviceType: undefined;
|
|
168
|
+
name: undefined;
|
|
169
|
+
activationDate: undefined;
|
|
170
|
+
expireDate: undefined;
|
|
171
|
+
menuCode: undefined;
|
|
172
|
+
scanTheInvoice: undefined;
|
|
173
|
+
processing: undefined;
|
|
174
|
+
warning: undefined;
|
|
175
|
+
skipServicesWarning: undefined;
|
|
176
|
+
confirmSkipServices: undefined;
|
|
177
|
+
notInvoiced: undefined;
|
|
178
|
+
confirmNotInvoiced: undefined;
|
|
179
|
+
claimAt: undefined;
|
|
180
|
+
redeemingDealer: undefined;
|
|
181
|
+
invoiceNumber: undefined;
|
|
182
|
+
wip: undefined;
|
|
183
|
+
claim: undefined;
|
|
184
|
+
processed: undefined;
|
|
185
|
+
expired: undefined;
|
|
186
|
+
cancelled: undefined;
|
|
187
|
+
pending: undefined;
|
|
188
|
+
};
|
|
189
|
+
specification: {
|
|
190
|
+
vehicleSpecification: undefined;
|
|
191
|
+
noData: undefined;
|
|
192
|
+
model: undefined;
|
|
193
|
+
variant: undefined;
|
|
194
|
+
katashiki: undefined;
|
|
195
|
+
modelYear: undefined;
|
|
196
|
+
sfx: undefined;
|
|
197
|
+
};
|
|
198
|
+
serviceHistory: {
|
|
199
|
+
serviceHistory: undefined;
|
|
200
|
+
noData: undefined;
|
|
201
|
+
branch: undefined;
|
|
202
|
+
dealer: undefined;
|
|
203
|
+
invoiceNumber: undefined;
|
|
204
|
+
date: undefined;
|
|
205
|
+
serviceType: undefined;
|
|
206
|
+
odometer: undefined;
|
|
207
|
+
};
|
|
208
|
+
paintThickness: {
|
|
209
|
+
paintThickness: undefined;
|
|
210
|
+
noData: undefined;
|
|
211
|
+
part: undefined;
|
|
212
|
+
left: undefined;
|
|
213
|
+
right: undefined;
|
|
214
|
+
noImageGroups: undefined;
|
|
215
|
+
expand: undefined;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
}, "">;
|
|
219
|
+
export type Locale = InferType<typeof localeSchema>;
|
|
220
|
+
export type ErrorKeys = keyof InferType<typeof errorsSchema> | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const accessoriesSchema: import("yup").ObjectSchema<{
|
|
2
|
+
vehicleAccessories: string;
|
|
3
|
+
noData: string;
|
|
4
|
+
partNumber: string;
|
|
5
|
+
description: string;
|
|
6
|
+
image: string;
|
|
7
|
+
expand: string;
|
|
8
|
+
}, import("yup").AnyObject, {
|
|
9
|
+
vehicleAccessories: undefined;
|
|
10
|
+
noData: undefined;
|
|
11
|
+
partNumber: undefined;
|
|
12
|
+
description: undefined;
|
|
13
|
+
image: undefined;
|
|
14
|
+
expand: undefined;
|
|
15
|
+
}, "">;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const dynamicClaimSchema: import("yup").ObjectSchema<{
|
|
2
|
+
serviceType: string;
|
|
3
|
+
activationDate: string;
|
|
4
|
+
expireDate: string;
|
|
5
|
+
claimAt: string;
|
|
6
|
+
redeemingDealer: string;
|
|
7
|
+
invoiceNumber: string;
|
|
8
|
+
wip: string;
|
|
9
|
+
menuCode: string;
|
|
10
|
+
claim: string;
|
|
11
|
+
processed: string;
|
|
12
|
+
expired: string;
|
|
13
|
+
cancelled: string;
|
|
14
|
+
pending: string;
|
|
15
|
+
warning: string;
|
|
16
|
+
}, import("yup").AnyObject, {
|
|
17
|
+
serviceType: undefined;
|
|
18
|
+
activationDate: undefined;
|
|
19
|
+
expireDate: undefined;
|
|
20
|
+
claimAt: undefined;
|
|
21
|
+
redeemingDealer: undefined;
|
|
22
|
+
invoiceNumber: undefined;
|
|
23
|
+
wip: undefined;
|
|
24
|
+
menuCode: undefined;
|
|
25
|
+
claim: undefined;
|
|
26
|
+
processed: undefined;
|
|
27
|
+
expired: undefined;
|
|
28
|
+
cancelled: undefined;
|
|
29
|
+
pending: undefined;
|
|
30
|
+
warning: undefined;
|
|
31
|
+
}, "">;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const dynamicRedeemSchema: import("yup").ObjectSchema<{
|
|
2
|
+
serviceType: string;
|
|
3
|
+
name: string;
|
|
4
|
+
activationDate: string;
|
|
5
|
+
expireDate: string;
|
|
6
|
+
menuCode: string;
|
|
7
|
+
scanTheInvoice: string;
|
|
8
|
+
processing: string;
|
|
9
|
+
warning: string;
|
|
10
|
+
skipServicesWarning: string;
|
|
11
|
+
confirmSkipServices: string;
|
|
12
|
+
notInvoiced: string;
|
|
13
|
+
confirmNotInvoiced: string;
|
|
14
|
+
claimAt: string;
|
|
15
|
+
redeemingDealer: string;
|
|
16
|
+
invoiceNumber: string;
|
|
17
|
+
wip: string;
|
|
18
|
+
claim: string;
|
|
19
|
+
processed: string;
|
|
20
|
+
expired: string;
|
|
21
|
+
cancelled: string;
|
|
22
|
+
pending: string;
|
|
23
|
+
}, import("yup").AnyObject, {
|
|
24
|
+
serviceType: undefined;
|
|
25
|
+
name: undefined;
|
|
26
|
+
activationDate: undefined;
|
|
27
|
+
expireDate: undefined;
|
|
28
|
+
menuCode: undefined;
|
|
29
|
+
scanTheInvoice: undefined;
|
|
30
|
+
processing: undefined;
|
|
31
|
+
warning: undefined;
|
|
32
|
+
skipServicesWarning: undefined;
|
|
33
|
+
confirmSkipServices: undefined;
|
|
34
|
+
notInvoiced: undefined;
|
|
35
|
+
confirmNotInvoiced: undefined;
|
|
36
|
+
claimAt: undefined;
|
|
37
|
+
redeemingDealer: undefined;
|
|
38
|
+
invoiceNumber: undefined;
|
|
39
|
+
wip: undefined;
|
|
40
|
+
claim: undefined;
|
|
41
|
+
processed: undefined;
|
|
42
|
+
expired: undefined;
|
|
43
|
+
cancelled: undefined;
|
|
44
|
+
pending: undefined;
|
|
45
|
+
}, "">;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
export declare const vehicleLookupSchema: import("yup").ObjectSchema<{
|
|
2
|
+
warranty: {
|
|
3
|
+
from?: string;
|
|
4
|
+
to?: string;
|
|
5
|
+
authorized?: string;
|
|
6
|
+
unauthorized?: string;
|
|
7
|
+
activeWarranty?: string;
|
|
8
|
+
notActiveWarranty?: string;
|
|
9
|
+
notInvoiced?: string;
|
|
10
|
+
pendingSSC?: string;
|
|
11
|
+
noPendingSSC?: string;
|
|
12
|
+
checkingTMC?: string;
|
|
13
|
+
sscCampings?: string;
|
|
14
|
+
sscTableCode?: string;
|
|
15
|
+
sscTableDescription?: string;
|
|
16
|
+
sscTableRepairStatus?: string;
|
|
17
|
+
sscTableOPCode?: string;
|
|
18
|
+
sscTablePartNumber?: string;
|
|
19
|
+
};
|
|
20
|
+
accessories: {
|
|
21
|
+
expand?: string;
|
|
22
|
+
image?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
vehicleAccessories?: string;
|
|
25
|
+
noData?: string;
|
|
26
|
+
partNumber?: string;
|
|
27
|
+
};
|
|
28
|
+
dynamicClaim: {
|
|
29
|
+
serviceType?: string;
|
|
30
|
+
activationDate?: string;
|
|
31
|
+
expireDate?: string;
|
|
32
|
+
claimAt?: string;
|
|
33
|
+
redeemingDealer?: string;
|
|
34
|
+
invoiceNumber?: string;
|
|
35
|
+
wip?: string;
|
|
36
|
+
menuCode?: string;
|
|
37
|
+
claim?: string;
|
|
38
|
+
processed?: string;
|
|
39
|
+
expired?: string;
|
|
40
|
+
cancelled?: string;
|
|
41
|
+
pending?: string;
|
|
42
|
+
warning?: string;
|
|
43
|
+
};
|
|
44
|
+
dynamicRedeem: {
|
|
45
|
+
name?: string;
|
|
46
|
+
notInvoiced?: string;
|
|
47
|
+
serviceType?: string;
|
|
48
|
+
activationDate?: string;
|
|
49
|
+
expireDate?: string;
|
|
50
|
+
claimAt?: string;
|
|
51
|
+
redeemingDealer?: string;
|
|
52
|
+
invoiceNumber?: string;
|
|
53
|
+
wip?: string;
|
|
54
|
+
menuCode?: string;
|
|
55
|
+
claim?: string;
|
|
56
|
+
processed?: string;
|
|
57
|
+
expired?: string;
|
|
58
|
+
cancelled?: string;
|
|
59
|
+
pending?: string;
|
|
60
|
+
warning?: string;
|
|
61
|
+
scanTheInvoice?: string;
|
|
62
|
+
processing?: string;
|
|
63
|
+
skipServicesWarning?: string;
|
|
64
|
+
confirmSkipServices?: string;
|
|
65
|
+
confirmNotInvoiced?: string;
|
|
66
|
+
};
|
|
67
|
+
specification: {
|
|
68
|
+
noData?: string;
|
|
69
|
+
vehicleSpecification?: string;
|
|
70
|
+
model?: string;
|
|
71
|
+
variant?: string;
|
|
72
|
+
katashiki?: string;
|
|
73
|
+
modelYear?: string;
|
|
74
|
+
sfx?: string;
|
|
75
|
+
};
|
|
76
|
+
serviceHistory: {
|
|
77
|
+
noData?: string;
|
|
78
|
+
serviceType?: string;
|
|
79
|
+
invoiceNumber?: string;
|
|
80
|
+
serviceHistory?: string;
|
|
81
|
+
branch?: string;
|
|
82
|
+
dealer?: string;
|
|
83
|
+
date?: string;
|
|
84
|
+
odometer?: string;
|
|
85
|
+
};
|
|
86
|
+
paintThickness: {
|
|
87
|
+
expand?: string;
|
|
88
|
+
part?: string;
|
|
89
|
+
noData?: string;
|
|
90
|
+
paintThickness?: string;
|
|
91
|
+
left?: string;
|
|
92
|
+
right?: string;
|
|
93
|
+
noImageGroups?: string;
|
|
94
|
+
};
|
|
95
|
+
}, import("yup").AnyObject, {
|
|
96
|
+
warranty: {
|
|
97
|
+
authorized: undefined;
|
|
98
|
+
unauthorized: undefined;
|
|
99
|
+
activeWarranty: undefined;
|
|
100
|
+
notActiveWarranty: undefined;
|
|
101
|
+
notInvoiced: undefined;
|
|
102
|
+
from: undefined;
|
|
103
|
+
to: undefined;
|
|
104
|
+
pendingSSC: undefined;
|
|
105
|
+
noPendingSSC: undefined;
|
|
106
|
+
checkingTMC: undefined;
|
|
107
|
+
sscCampings: undefined;
|
|
108
|
+
sscTableCode: undefined;
|
|
109
|
+
sscTableDescription: undefined;
|
|
110
|
+
sscTableRepairStatus: undefined;
|
|
111
|
+
sscTableOPCode: undefined;
|
|
112
|
+
sscTablePartNumber: undefined;
|
|
113
|
+
};
|
|
114
|
+
accessories: {
|
|
115
|
+
vehicleAccessories: undefined;
|
|
116
|
+
noData: undefined;
|
|
117
|
+
partNumber: undefined;
|
|
118
|
+
description: undefined;
|
|
119
|
+
image: undefined;
|
|
120
|
+
expand: undefined;
|
|
121
|
+
};
|
|
122
|
+
dynamicClaim: {
|
|
123
|
+
serviceType: undefined;
|
|
124
|
+
activationDate: undefined;
|
|
125
|
+
expireDate: undefined;
|
|
126
|
+
claimAt: undefined;
|
|
127
|
+
redeemingDealer: undefined;
|
|
128
|
+
invoiceNumber: undefined;
|
|
129
|
+
wip: undefined;
|
|
130
|
+
menuCode: undefined;
|
|
131
|
+
claim: undefined;
|
|
132
|
+
processed: undefined;
|
|
133
|
+
expired: undefined;
|
|
134
|
+
cancelled: undefined;
|
|
135
|
+
pending: undefined;
|
|
136
|
+
warning: undefined;
|
|
137
|
+
};
|
|
138
|
+
dynamicRedeem: {
|
|
139
|
+
serviceType: undefined;
|
|
140
|
+
name: undefined;
|
|
141
|
+
activationDate: undefined;
|
|
142
|
+
expireDate: undefined;
|
|
143
|
+
menuCode: undefined;
|
|
144
|
+
scanTheInvoice: undefined;
|
|
145
|
+
processing: undefined;
|
|
146
|
+
warning: undefined;
|
|
147
|
+
skipServicesWarning: undefined;
|
|
148
|
+
confirmSkipServices: undefined;
|
|
149
|
+
notInvoiced: undefined;
|
|
150
|
+
confirmNotInvoiced: undefined;
|
|
151
|
+
claimAt: undefined;
|
|
152
|
+
redeemingDealer: undefined;
|
|
153
|
+
invoiceNumber: undefined;
|
|
154
|
+
wip: undefined;
|
|
155
|
+
claim: undefined;
|
|
156
|
+
processed: undefined;
|
|
157
|
+
expired: undefined;
|
|
158
|
+
cancelled: undefined;
|
|
159
|
+
pending: undefined;
|
|
160
|
+
};
|
|
161
|
+
specification: {
|
|
162
|
+
vehicleSpecification: undefined;
|
|
163
|
+
noData: undefined;
|
|
164
|
+
model: undefined;
|
|
165
|
+
variant: undefined;
|
|
166
|
+
katashiki: undefined;
|
|
167
|
+
modelYear: undefined;
|
|
168
|
+
sfx: undefined;
|
|
169
|
+
};
|
|
170
|
+
serviceHistory: {
|
|
171
|
+
serviceHistory: undefined;
|
|
172
|
+
noData: undefined;
|
|
173
|
+
branch: undefined;
|
|
174
|
+
dealer: undefined;
|
|
175
|
+
invoiceNumber: undefined;
|
|
176
|
+
date: undefined;
|
|
177
|
+
serviceType: undefined;
|
|
178
|
+
odometer: undefined;
|
|
179
|
+
};
|
|
180
|
+
paintThickness: {
|
|
181
|
+
paintThickness: undefined;
|
|
182
|
+
noData: undefined;
|
|
183
|
+
part: undefined;
|
|
184
|
+
left: undefined;
|
|
185
|
+
right: undefined;
|
|
186
|
+
noImageGroups: undefined;
|
|
187
|
+
expand: undefined;
|
|
188
|
+
};
|
|
189
|
+
}, "">;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const paintThicknessSchema: import("yup").ObjectSchema<{
|
|
2
|
+
paintThickness: string;
|
|
3
|
+
noData: string;
|
|
4
|
+
part: string;
|
|
5
|
+
left: string;
|
|
6
|
+
right: string;
|
|
7
|
+
noImageGroups: string;
|
|
8
|
+
expand: string;
|
|
9
|
+
}, import("yup").AnyObject, {
|
|
10
|
+
paintThickness: undefined;
|
|
11
|
+
noData: undefined;
|
|
12
|
+
part: undefined;
|
|
13
|
+
left: undefined;
|
|
14
|
+
right: undefined;
|
|
15
|
+
noImageGroups: undefined;
|
|
16
|
+
expand: undefined;
|
|
17
|
+
}, "">;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const ServiceHistorySchema: import("yup").ObjectSchema<{
|
|
2
|
+
serviceHistory: string;
|
|
3
|
+
noData: string;
|
|
4
|
+
branch: string;
|
|
5
|
+
dealer: string;
|
|
6
|
+
invoiceNumber: string;
|
|
7
|
+
date: string;
|
|
8
|
+
serviceType: string;
|
|
9
|
+
odometer: string;
|
|
10
|
+
}, import("yup").AnyObject, {
|
|
11
|
+
serviceHistory: undefined;
|
|
12
|
+
noData: undefined;
|
|
13
|
+
branch: undefined;
|
|
14
|
+
dealer: undefined;
|
|
15
|
+
invoiceNumber: undefined;
|
|
16
|
+
date: undefined;
|
|
17
|
+
serviceType: undefined;
|
|
18
|
+
odometer: undefined;
|
|
19
|
+
}, "">;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const specificationSchema: import("yup").ObjectSchema<{
|
|
2
|
+
vehicleSpecification: string;
|
|
3
|
+
noData: string;
|
|
4
|
+
model: string;
|
|
5
|
+
variant: string;
|
|
6
|
+
katashiki: string;
|
|
7
|
+
modelYear: string;
|
|
8
|
+
sfx: string;
|
|
9
|
+
}, import("yup").AnyObject, {
|
|
10
|
+
vehicleSpecification: undefined;
|
|
11
|
+
noData: undefined;
|
|
12
|
+
model: undefined;
|
|
13
|
+
variant: undefined;
|
|
14
|
+
katashiki: undefined;
|
|
15
|
+
modelYear: undefined;
|
|
16
|
+
sfx: undefined;
|
|
17
|
+
}, "">;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const warrantySchema: import("yup").ObjectSchema<{
|
|
2
|
+
authorized: string;
|
|
3
|
+
unauthorized: string;
|
|
4
|
+
activeWarranty: string;
|
|
5
|
+
notActiveWarranty: string;
|
|
6
|
+
notInvoiced: string;
|
|
7
|
+
from: string;
|
|
8
|
+
to: string;
|
|
9
|
+
pendingSSC: string;
|
|
10
|
+
noPendingSSC: string;
|
|
11
|
+
checkingTMC: string;
|
|
12
|
+
sscCampings: string;
|
|
13
|
+
sscTableCode: string;
|
|
14
|
+
sscTableDescription: string;
|
|
15
|
+
sscTableRepairStatus: string;
|
|
16
|
+
sscTableOPCode: string;
|
|
17
|
+
sscTablePartNumber: string;
|
|
18
|
+
}, import("yup").AnyObject, {
|
|
19
|
+
authorized: undefined;
|
|
20
|
+
unauthorized: undefined;
|
|
21
|
+
activeWarranty: undefined;
|
|
22
|
+
notActiveWarranty: undefined;
|
|
23
|
+
notInvoiced: undefined;
|
|
24
|
+
from: undefined;
|
|
25
|
+
to: undefined;
|
|
26
|
+
pendingSSC: undefined;
|
|
27
|
+
noPendingSSC: undefined;
|
|
28
|
+
checkingTMC: undefined;
|
|
29
|
+
sscCampings: undefined;
|
|
30
|
+
sscTableCode: undefined;
|
|
31
|
+
sscTableDescription: undefined;
|
|
32
|
+
sscTableRepairStatus: undefined;
|
|
33
|
+
sscTableOPCode: undefined;
|
|
34
|
+
sscTablePartNumber: undefined;
|
|
35
|
+
}, "">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adp-web-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"description": "ADP Platform Web Components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -36,18 +36,23 @@
|
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "stencil build -- --prod",
|
|
38
38
|
"start": "stencil build --dev --watch --serve",
|
|
39
|
-
"test": "stencil test --spec
|
|
40
|
-
"test.watch": "stencil test --spec --
|
|
41
|
-
"generate": "stencil generate"
|
|
39
|
+
"test": "stencil test --spec",
|
|
40
|
+
"test.watch": "stencil test --spec --watchAll",
|
|
41
|
+
"generate": "stencil generate",
|
|
42
|
+
"prepare": "husky"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@rollup/plugin-alias": "^5.1.1",
|
|
45
46
|
"@stencil/core": "^4.7.0",
|
|
46
47
|
"@stencil/postcss": "^2.1.0",
|
|
47
48
|
"@stencil/sass": "^2.0.0",
|
|
49
|
+
"@types/jest": "29",
|
|
48
50
|
"@types/node": "^22.10.0",
|
|
49
51
|
"autoprefixer": "^10.4.13",
|
|
50
52
|
"cssnano": "^5.1.14",
|
|
53
|
+
"husky": "^9.1.7",
|
|
54
|
+
"jest": "29",
|
|
55
|
+
"jest-cli": "29",
|
|
51
56
|
"stencil-tailwind-plugin": "^1.8.0",
|
|
52
57
|
"tailwindcss": "^3.2.4",
|
|
53
58
|
"typescript": "^5.7.2"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import{p as t,H as e,h as o,c as i}from"./p-be0a5ab5.js";import{L as a}from"./p-c62be897.js";import{c as r}from"./p-98d9e7ab.js";import{g as n}from"./p-c4fad245.js";let s={};const d=t(class extends e{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.baseUrl="",this.isDev=!1,this.queryString="",this.loadingStateChange=void 0,this.loadedResponse=void 0,this.state="idle",this.externalVin=null,this.errorMessage=null,this.vehicleInformation=void 0}handleSettingData(t){null===t.serviceHistory&&(t.serviceHistory=[]),this.vehicleInformation=t}async setData(t,e={}){let o;clearTimeout(this.networkTimeoutRef),this.abortController&&this.abortController.abort(),this.abortController=new AbortController;const i="string"==typeof t,a=i?t:null==t?void 0:t.vin;this.externalVin=a;try{if(!a||0===a.trim().length)return void(this.state="idle");this.state="data"===this.state||"error"===this.state?this.state+"-loading":"loading",await new Promise((t=>{o=setTimeout(t,700),this.networkTimeoutRef=o}));const r=i?await n(this,{scopedTimeoutRef:o,vin:a,mockData:s},e):t;if(this.networkTimeoutRef===o){if(!r)throw new Error("Wrong response format");this.handleSettingData(r)}this.errorMessage=null,this.state="data"}catch(t){if(t&&"AbortError"===(null==t?void 0:t.name))return;this.state="error",this.vehicleInformation=null,this.errorMessage=t.message}}async fetchData(t=this.externalVin,e={}){await this.setData(t,e)}async loadingListener(){this.loadingStateChange&&this.loadingStateChange(this.state.includes("loading"))}async setMockData(t){s=t}render(){var t,e,n,s;return o(i,{key:"1b058ba5baea7e3249a66e5b7a040a673b140345"},o("div",{key:"414432d67e85b8ad11a0f9a3bf9cf6336e06c8ce",class:"min-h-[100px] relative transition-all duration-300 overflow-hidden"},o("div",{key:"d4129e8101efd34c820d64661c90c5d81a65a90c"},o(a,{key:"ff1d26799aceb06a1c7b22c556cc1391e3585481",isLoading:this.state.includes("loading")}),o("div",{key:"09a740c1f863f0bd90ea52e6f94c8c9add2901f4",class:r("transition-all duration-700",{"scale-0":this.state.includes("loading")||"idle"===this.state,"opacity-0":this.state.includes("loading")})},o("div",{key:"1e40aeba7672c94cb70479d8cf4ca28e217a1ac2",class:r("text-center pt-[4px] text-[20px]",{"text-red-600":!!this.errorMessage})},null===(t=this.vehicleInformation)||void 0===t?void 0:t.vin),["error","error-loading"].includes(this.state)&&o("div",{key:"4b2102507916ecdd06ce0fbc8fe5b82cf9463fe3",class:"py-[16px]"},o("div",{key:"89a48cf522a860d2840e772ca0a2750ffd6f6652",class:" px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto"},this.errorMessage)),["data","data-loading"].includes(this.state)&&o("div",{key:"42b2403fae1685bf6a49f756ac3a6aae31a6423d",class:"flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]"},o("div",{key:"462678b7179bb278d9a51845fda8c98deff3a790",class:"w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]"},"Service History"),o("div",{key:"a3a484027fa040a6f80b94cdd3c8fcaf5d36a977",class:"h-0 overflow-auto flex-1"},!(null===(e=this.vehicleInformation)||void 0===e?void 0:e.serviceHistory.length)&&o("div",{key:"4562aaa28b8941799d7203c49d0a457feb881616",class:"h-[80px] flex items-center justify-center text-[18px]"},"No data is available."),!!(null===(n=this.vehicleInformation)||void 0===n?void 0:n.serviceHistory.length)&&o("table",{key:"cbb4515b99b33e65536d2f577439bf5c4bd19c61",class:"w-full overflow-auto relative border-collapse"},o("thead",{key:"a6829bbcb8578d51a4be89b02b4095b21966ed9f",class:"top-0 font-bold sticky bg-white"},o("tr",{key:"d6bfa489b6797e499173b8e67b28f0eb519e70ac"},["Branch","Dealer","Invoice No.","Date","Service Type","Odometer"].map((t=>o("th",{key:t,class:"px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]"},t))))),o("tbody",{key:"27f91e98246790262d844c68290f12abdad7ba74"},null===(s=this.vehicleInformation)||void 0===s?void 0:s.serviceHistory.map(((t,e)=>o("tr",{class:"transition-colors duration-100 hover:bg-slate-100",key:t.invoiceNumber},["branchName","companyName","invoiceNumber","serviceDate","serviceType","mileage"].map((i=>{var a;return o("td",{key:t.invoiceNumber+i,class:r("px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]",{"!border-none":e===(null===(a=this.vehicleInformation)||void 0===a?void 0:a.serviceHistory.length)-1})},t[i]||"...")})))))))))))))}get el(){return this}static get watchers(){return{state:["loadingListener"]}}static get style(){return'*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.hidden{display:none}.w-full{width:100%}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.table{display:table}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-4{padding-bottom:1rem;padding-top:1rem}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.\\!border-none{border-style:none!important}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}'}},[1,"service-history",{baseUrl:[1,"base-url"],isDev:[4,"is-dev"],queryString:[1,"query-string"],loadingStateChange:[16],loadedResponse:[16],state:[32],externalVin:[32],errorMessage:[32],vehicleInformation:[32],setData:[64],fetchData:[64],setMockData:[64]},void 0,{state:["loadingListener"]}]);function l(){"undefined"!=typeof customElements&&["service-history"].forEach((t=>{"service-history"===t&&(customElements.get(t)||customElements.define(t,d))}))}l();export{d as S,l as d}
|