@wayke-se/ecom-web 1.8.5 → 2.0.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/dist/@types/BaseAction.d.ts +3 -0
- package/dist/@types/CallbackOrder.d.ts +4 -0
- package/dist/@types/CreditAssessmentStatus.d.ts +17 -0
- package/dist/@types/Customer.d.ts +20 -0
- package/dist/@types/EcomSdkConfig.d.ts +6 -0
- package/dist/@types/Insurance.d.ts +5 -0
- package/dist/@types/MarketCode.d.ts +1 -0
- package/dist/@types/Navigation.d.ts +6 -0
- package/dist/@types/OrderOptions.d.ts +27 -0
- package/dist/@types/PaymentLookup.d.ts +19 -0
- package/dist/@types/PaymentOrderResponse.d.ts +99 -0
- package/dist/@types/Stages.d.ts +46 -0
- package/dist/@types/TradeIn.d.ts +17 -0
- package/dist/@types/Vehicle.d.ts +10 -0
- package/dist/@types/VehicleLookup.d.ts +4 -0
- package/dist/App.d.ts +38 -0
- package/dist/Components/Accordion/index.d.ts +14 -0
- package/dist/Components/BankId/BankIdSign.d.ts +29 -0
- package/dist/Components/BankId/BankIdSignQrCode.d.ts +11 -0
- package/dist/Components/BankId/BankIdSignSameDevice.d.ts +12 -0
- package/dist/Components/Button/Button.d.ts +17 -0
- package/dist/Components/Button/ButtonAddRemove.d.ts +18 -0
- package/dist/Components/Button/ButtonAlt.d.ts +17 -0
- package/dist/Components/Button/ButtonArrowRight.d.ts +17 -0
- package/dist/Components/Button/ButtonAsLink.d.ts +14 -0
- package/dist/Components/Button/ButtonAsLinkArrowLeft.d.ts +14 -0
- package/dist/Components/Button/ButtonBankId.d.ts +17 -0
- package/dist/Components/Button/ButtonClear.d.ts +12 -0
- package/dist/Components/Button/ButtonClose.d.ts +12 -0
- package/dist/Components/Button/ButtonSkip.d.ts +12 -0
- package/dist/Components/Button/ButtonSuccess.d.ts +17 -0
- package/dist/Components/Chart/PieChart.d.ts +11 -0
- package/dist/Components/Checklist/Checklist.d.ts +12 -0
- package/dist/Components/Disclaimer/Disclaimer.d.ts +10 -0
- package/dist/Components/Disclaimer/DisclaimerPadlock.d.ts +10 -0
- package/dist/Components/ErrorAlert/index.d.ts +12 -0
- package/dist/Components/Extension/HtmlNode.d.ts +16 -0
- package/dist/Components/Extension/StackNode.d.ts +5 -0
- package/dist/Components/Gallery/Arrow.d.ts +13 -0
- package/dist/Components/Gallery/Gallery.d.ts +21 -0
- package/dist/Components/Input/InputCheckbox.d.ts +21 -0
- package/dist/Components/Input/InputError.d.ts +13 -0
- package/dist/Components/Input/InputField.d.ts +30 -0
- package/dist/Components/Input/InputInformation.d.ts +13 -0
- package/dist/Components/Input/InputRadioField.d.ts +18 -0
- package/dist/Components/Input/InputRadioGroup.d.ts +29 -0
- package/dist/Components/Input/InputRange.d.ts +39 -0
- package/dist/Components/Input/InputSelect.d.ts +25 -0
- package/dist/Components/Input/InputTextarea.d.ts +22 -0
- package/dist/Components/Modal/Modal.d.ts +17 -0
- package/dist/Components/Modal/ModalBody.d.ts +8 -0
- package/dist/Components/Modal/ModalCenter.d.ts +8 -0
- package/dist/Components/Modal/ModalClose.d.ts +12 -0
- package/dist/Components/Modal/ModalContainer.d.ts +8 -0
- package/dist/Components/Modal/ModalDialog.d.ts +8 -0
- package/dist/Components/Modal/ModalFooter.d.ts +12 -0
- package/dist/Components/Modal/ModalHeader.d.ts +16 -0
- package/dist/Components/OverflowGrid/Arrow.d.ts +13 -0
- package/dist/Components/OverflowGrid/OverflowGridItem.d.ts +25 -0
- package/dist/Components/OverflowGrid/OverflowGridList.d.ts +17 -0
- package/dist/Components/StageCompleted.d.ts +13 -0
- package/dist/Data/createOrder.d.ts +2 -0
- package/dist/Data/creditAssessmentAccept.d.ts +1 -0
- package/dist/Data/creditAssessmentCancelSigning.d.ts +1 -0
- package/dist/Data/creditAssessmentDecline.d.ts +1 -0
- package/dist/Data/creditAssessmentGetStatus.d.ts +1 -0
- package/dist/Data/creditAssessmentNewCase.d.ts +2 -0
- package/dist/Data/creditAssessmentSignCase.d.ts +2 -0
- package/dist/Data/getAddress.d.ts +1 -0
- package/dist/Data/getBankIdAuth.d.ts +2 -0
- package/dist/Data/getBankIdQrCode.d.ts +1 -0
- package/dist/Data/getBankIdStatus.d.ts +1 -0
- package/dist/Data/getInsurances.d.ts +3 -0
- package/dist/Data/getOrder.d.ts +1 -0
- package/dist/Data/getPayment.d.ts +10 -0
- package/dist/Data/getTradeInVehicle.d.ts +2 -0
- package/dist/Redux/action.d.ts +241 -0
- package/dist/Redux/reducer.d.ts +44 -0
- package/dist/Redux/store.d.ts +5 -0
- package/dist/Redux/watch.d.ts +5 -0
- package/dist/Templates/Alert.d.ts +8 -0
- package/dist/Templates/InputHelp.d.ts +2 -0
- package/dist/Templates/ItemTileLarge.d.ts +10 -0
- package/dist/Templates/ItemTileSmall.d.ts +9 -0
- package/dist/Templates/KeyValueListItem.d.ts +12 -0
- package/dist/Templates/ListItem.d.ts +9 -0
- package/dist/Templates/Loader.d.ts +6 -0
- package/dist/Templates/Logotype.d.ts +8 -0
- package/dist/Templates/TimelineItem.d.ts +7 -0
- package/dist/Utils/cdn.d.ts +1 -0
- package/dist/Utils/compare.d.ts +1 -0
- package/dist/Utils/constants.d.ts +18 -0
- package/dist/Utils/convert.d.ts +12 -0
- package/dist/Utils/delivery.d.ts +3 -0
- package/dist/Utils/ecomEvent.d.ts +156 -0
- package/dist/Utils/format.d.ts +10 -0
- package/dist/Utils/i18n.d.ts +6 -0
- package/dist/Utils/intervals.d.ts +2 -0
- package/dist/Utils/isMobile.d.ts +1 -0
- package/dist/Utils/market.d.ts +2 -0
- package/dist/Utils/mask.d.ts +2 -0
- package/dist/Utils/parser.d.ts +1 -0
- package/dist/Utils/payment.d.ts +1 -0
- package/dist/Utils/portal.d.ts +2 -0
- package/dist/Utils/regex.d.ts +7 -0
- package/dist/Utils/render.d.ts +1 -0
- package/dist/Utils/scroll.d.ts +1 -0
- package/dist/Utils/stage.d.ts +3 -0
- package/dist/Utils/trapFocus.d.ts +1 -0
- package/dist/Utils/validationMethods.d.ts +24 -0
- package/dist/Utils/vw.d.ts +1 -0
- package/dist/Views/ConfirmClose/index.d.ts +11 -0
- package/dist/Views/Main/Accessories/AccessoryItem.d.ts +20 -0
- package/dist/Views/Main/Accessories/AccessoryItemInfo.d.ts +15 -0
- package/dist/Views/Main/Accessories/AccessoryList.d.ts +13 -0
- package/dist/Views/Main/Accessories/index.d.ts +15 -0
- package/dist/Views/Main/CentralStorage/index.d.ts +20 -0
- package/dist/Views/Main/Confirmation/NoVerify.d.ts +18 -0
- package/dist/Views/Main/Confirmation/Payment.d.ts +12 -0
- package/dist/Views/Main/Confirmation/VerifyByBankId.d.ts +41 -0
- package/dist/Views/Main/Confirmation/index.d.ts +15 -0
- package/dist/Views/Main/Customer/EmailAndPhone.d.ts +23 -0
- package/dist/Views/Main/Customer/FullAddress.d.ts +15 -0
- package/dist/Views/Main/Customer/FullAddressBySocialId.d.ts +23 -0
- package/dist/Views/Main/Customer/FullAddressForm.d.ts +28 -0
- package/dist/Views/Main/Customer/index.d.ts +16 -0
- package/dist/Views/Main/Delivery/index.d.ts +17 -0
- package/dist/Views/Main/Financial/CreditAssessment.d.ts +49 -0
- package/dist/Views/Main/Financial/CreditAssessmentApproved.d.ts +13 -0
- package/dist/Views/Main/Financial/CreditAssessmentAssessManually.d.ts +13 -0
- package/dist/Views/Main/Financial/CreditAssessmentRejected.d.ts +12 -0
- package/dist/Views/Main/Financial/CreditAssessmentResult.d.ts +15 -0
- package/dist/Views/Main/Financial/Loan.d.ts +24 -0
- package/dist/Views/Main/Financial/LoanDetails.d.ts +16 -0
- package/dist/Views/Main/Financial/LoanDetailsBasic.d.ts +14 -0
- package/dist/Views/Main/Financial/LoanDetailsDetailed.d.ts +20 -0
- package/dist/Views/Main/Financial/LoanDetailsMonthlyCost.d.ts +11 -0
- package/dist/Views/Main/Financial/StageCompletedFinancial.d.ts +18 -0
- package/dist/Views/Main/Financial/StageCompletedFinancialCreditAssessment.d.ts +13 -0
- package/dist/Views/Main/Financial/Summary.d.ts +10 -0
- package/dist/Views/Main/Financial/index.d.ts +19 -0
- package/dist/Views/Main/Financial/utils.d.ts +5 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceItem.d.ts +18 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceItemInfo.d.ts +14 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/InsuranceList.d.ts +13 -0
- package/dist/Views/Main/Insurance/DefaultInsurance/index.d.ts +15 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceAddonBox.d.ts +6 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceItem.d.ts +18 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceItemInfo.d.ts +21 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceList.d.ts +13 -0
- package/dist/Views/Main/Insurance/IfInsurance/InsuranceView.d.ts +21 -0
- package/dist/Views/Main/Insurance/IfInsurance/index.d.ts +17 -0
- package/dist/Views/Main/Insurance/index.d.ts +18 -0
- package/dist/Views/Main/TradeIn/PartTradeIn.d.ts +33 -0
- package/dist/Views/Main/TradeIn/index.d.ts +18 -0
- package/dist/Views/Main/index.d.ts +14 -0
- package/dist/Views/OrderCallback/index.d.ts +17 -0
- package/dist/Views/Preview/HowTo.d.ts +8 -0
- package/dist/Views/Preview/index.d.ts +20 -0
- package/dist/Views/Summary/CentralStorage.d.ts +12 -0
- package/dist/Views/Summary/Customer.d.ts +13 -0
- package/dist/Views/Summary/Delivery.d.ts +12 -0
- package/dist/Views/Summary/Intro.d.ts +11 -0
- package/dist/Views/Summary/Order.d.ts +12 -0
- package/dist/Views/Summary/TradeIn.d.ts +13 -0
- package/dist/Views/Summary/index.d.ts +15 -0
- package/dist/cdn.d.ts +6 -0
- package/dist/devConfig.d.ts +44 -0
- package/dist/index-dev.d.ts +1 -0
- package/dist/index.cjs +161 -161
- package/dist/index.cjs.map +4 -4
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.d.ts +2 -4163
- package/dist/index.mjs +134 -134
- package/dist/index.mjs.map +4 -4
- package/dist/translation/index.d.ts +2 -0
- package/dist/translation/nb-NO.d.ts +487 -0
- package/dist/translation/sv-SE.d.ts +487 -0
- package/package.json +24 -21
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
declare const svSE: {
|
|
2
|
+
glossary: {
|
|
3
|
+
change: string;
|
|
4
|
+
showPrevious: string;
|
|
5
|
+
showNext: string;
|
|
6
|
+
showPreviousImage: string;
|
|
7
|
+
showNextImage: string;
|
|
8
|
+
readMore: string;
|
|
9
|
+
closeModal: string;
|
|
10
|
+
homeUrl: string;
|
|
11
|
+
goToHome: string;
|
|
12
|
+
company: string;
|
|
13
|
+
modalTitle: string;
|
|
14
|
+
add: string;
|
|
15
|
+
chosen: string;
|
|
16
|
+
ourAdvantages: string;
|
|
17
|
+
showHelp: string;
|
|
18
|
+
closeHelp: string;
|
|
19
|
+
whatDoesThisMean: string;
|
|
20
|
+
buyOnline: string;
|
|
21
|
+
};
|
|
22
|
+
confirmClose: {
|
|
23
|
+
heading: string;
|
|
24
|
+
message: string;
|
|
25
|
+
abortButton: string;
|
|
26
|
+
confirmButton: string;
|
|
27
|
+
};
|
|
28
|
+
accessoryItemInfo: {
|
|
29
|
+
backButton: string;
|
|
30
|
+
logoAlt: string;
|
|
31
|
+
};
|
|
32
|
+
accessories: {
|
|
33
|
+
title: string;
|
|
34
|
+
noSelected: string;
|
|
35
|
+
changeButtonTitle: string;
|
|
36
|
+
heading: string;
|
|
37
|
+
description: string;
|
|
38
|
+
proceedButton: string;
|
|
39
|
+
skipButton: string;
|
|
40
|
+
};
|
|
41
|
+
centralStorage: {
|
|
42
|
+
title: string;
|
|
43
|
+
heading: string;
|
|
44
|
+
description: string;
|
|
45
|
+
changeButtonTitle: string;
|
|
46
|
+
proceedButton: string;
|
|
47
|
+
errorMessage: string;
|
|
48
|
+
dealerSelection: string;
|
|
49
|
+
addressMissing: string;
|
|
50
|
+
};
|
|
51
|
+
confirmation: {
|
|
52
|
+
title: string;
|
|
53
|
+
paymentTitle: string;
|
|
54
|
+
heading: string;
|
|
55
|
+
description: string;
|
|
56
|
+
description2: string;
|
|
57
|
+
ageError: string;
|
|
58
|
+
requestError: string;
|
|
59
|
+
notAvailable: string;
|
|
60
|
+
socialIdNotMatchingError: string;
|
|
61
|
+
confirmConditionsTitle: string;
|
|
62
|
+
insuranceText: string;
|
|
63
|
+
reserveButton: string;
|
|
64
|
+
policyText: string;
|
|
65
|
+
reservationDisclaimer: string;
|
|
66
|
+
bankIdDescriptionQrCode: string;
|
|
67
|
+
bankIdDescriptionSameDevice: string;
|
|
68
|
+
bankIdErrorMessage: string;
|
|
69
|
+
bankIdQrCodeErrorMessage: string;
|
|
70
|
+
bankIdInitErrorMessage: string;
|
|
71
|
+
bankIdCompletedMessage: string;
|
|
72
|
+
paymentHeading: string;
|
|
73
|
+
paymentDescription: string;
|
|
74
|
+
paymentDescription2: string;
|
|
75
|
+
paymentCardType: string;
|
|
76
|
+
paymentCardTypeValue: string;
|
|
77
|
+
paymentCardNo3DSecure: string;
|
|
78
|
+
paymentCardNo3DSecureValue: string;
|
|
79
|
+
paymentCard3DSecure: string;
|
|
80
|
+
paymentCard3DSecureValue: string;
|
|
81
|
+
paymentExpiry: string;
|
|
82
|
+
paymentExpiryValue: string;
|
|
83
|
+
paymentCVC: string;
|
|
84
|
+
paymentCVCValue: string;
|
|
85
|
+
privacyPolicy: string;
|
|
86
|
+
purchaseTermsAndCancellationPolicy: string;
|
|
87
|
+
noVerifyConfirmMessage: string;
|
|
88
|
+
};
|
|
89
|
+
customer: {
|
|
90
|
+
title: string;
|
|
91
|
+
changeButtonTitle: string;
|
|
92
|
+
email: string;
|
|
93
|
+
phone: string;
|
|
94
|
+
socialId: string;
|
|
95
|
+
name: string;
|
|
96
|
+
givenName: string;
|
|
97
|
+
surname: string;
|
|
98
|
+
address: string;
|
|
99
|
+
street: string;
|
|
100
|
+
street2: string;
|
|
101
|
+
registeredAddress: string;
|
|
102
|
+
postalCode: string;
|
|
103
|
+
city: string;
|
|
104
|
+
contactInfoTitle: string;
|
|
105
|
+
contactInfoDescription: string;
|
|
106
|
+
emailPlaceholder: string;
|
|
107
|
+
emailErrorMessage: string;
|
|
108
|
+
phonePlaceholder: string;
|
|
109
|
+
phoneErrorMessage: string;
|
|
110
|
+
givenNamePlaceholder: string;
|
|
111
|
+
givenNameErrorMessage: string;
|
|
112
|
+
surnamePlaceholder: string;
|
|
113
|
+
surnameErrorMessage: string;
|
|
114
|
+
streetPlaceholder: string;
|
|
115
|
+
streetErrorMessage: string;
|
|
116
|
+
street2Placeholder: string;
|
|
117
|
+
street2ErrorMessage: string;
|
|
118
|
+
postalCodePlaceholder: string;
|
|
119
|
+
postalCodeErrorMessage: string;
|
|
120
|
+
cityPlaceholder: string;
|
|
121
|
+
cityErrorMessage: string;
|
|
122
|
+
proceedButton: string;
|
|
123
|
+
personalInfoTitle: string;
|
|
124
|
+
personalInfoDescription: string;
|
|
125
|
+
socialIdPlaceholder: string;
|
|
126
|
+
socialIdErrorMessage: string;
|
|
127
|
+
fetchButton: string;
|
|
128
|
+
fetchErrorMessage: string;
|
|
129
|
+
fetchInfoMessage: string;
|
|
130
|
+
policyText: string;
|
|
131
|
+
changeContactsButton: string;
|
|
132
|
+
};
|
|
133
|
+
delivery: {
|
|
134
|
+
title: string;
|
|
135
|
+
deliveryMethod: string;
|
|
136
|
+
homeDelivery: string;
|
|
137
|
+
pickup: string;
|
|
138
|
+
changeDeliveryMethod: string;
|
|
139
|
+
heading: string;
|
|
140
|
+
description: string;
|
|
141
|
+
free: string;
|
|
142
|
+
toYourAddress: string;
|
|
143
|
+
tooFarAway: string;
|
|
144
|
+
proceedButton: string;
|
|
145
|
+
};
|
|
146
|
+
creditAssessment: {
|
|
147
|
+
loanApplication: string;
|
|
148
|
+
loanApplicationDescription: string;
|
|
149
|
+
maritalStatus: string;
|
|
150
|
+
employment: string;
|
|
151
|
+
children: string;
|
|
152
|
+
income: string;
|
|
153
|
+
housingType: string;
|
|
154
|
+
housingTypeDescription: string;
|
|
155
|
+
housingCost: string;
|
|
156
|
+
debtsAndLiabilities: string;
|
|
157
|
+
debtsAndLiabilitiesDescription: string;
|
|
158
|
+
totalLoanAmount: string;
|
|
159
|
+
noPaymentInfo: string;
|
|
160
|
+
caseError: string;
|
|
161
|
+
bankIdError: string;
|
|
162
|
+
performLoanApplication: string;
|
|
163
|
+
disclaimer: string;
|
|
164
|
+
disclaimerSafe: string;
|
|
165
|
+
whyAnswer: string;
|
|
166
|
+
whyAnswerDescription: string;
|
|
167
|
+
waitingFor: string;
|
|
168
|
+
fetchingInfo: string;
|
|
169
|
+
errorOccurred: string;
|
|
170
|
+
bankIdStatusError: string;
|
|
171
|
+
descriptionQrCode: string;
|
|
172
|
+
descriptionSameDevice: string;
|
|
173
|
+
incomePerMonth: string;
|
|
174
|
+
incomeError: string;
|
|
175
|
+
incomeDescription: string;
|
|
176
|
+
childrenUnder18: string;
|
|
177
|
+
childrenError: string;
|
|
178
|
+
selectChildren: string;
|
|
179
|
+
tenOrMore: string;
|
|
180
|
+
myPartOfMonthlyFee: string;
|
|
181
|
+
myPartOfMonthlyRent: string;
|
|
182
|
+
excludingInterest: string;
|
|
183
|
+
housingCostError: string;
|
|
184
|
+
cardCredits: string;
|
|
185
|
+
cardCreditsError: string;
|
|
186
|
+
totalDebt: string;
|
|
187
|
+
vehicleLoan: string;
|
|
188
|
+
vehicleLoanError: string;
|
|
189
|
+
collateral: string;
|
|
190
|
+
collateralError: string;
|
|
191
|
+
totalAmount: string;
|
|
192
|
+
leasingFees: string;
|
|
193
|
+
leasingFeesError: string;
|
|
194
|
+
privateLoan: string;
|
|
195
|
+
privateLoanError: string;
|
|
196
|
+
fullTimeEmployed: string;
|
|
197
|
+
temporarilyEmployed: string;
|
|
198
|
+
selfEmployed: string;
|
|
199
|
+
retired: string;
|
|
200
|
+
student: string;
|
|
201
|
+
other: string;
|
|
202
|
+
married: string;
|
|
203
|
+
commonLaw: string;
|
|
204
|
+
single: string;
|
|
205
|
+
singleFamily: string;
|
|
206
|
+
condominium: string;
|
|
207
|
+
apartment: string;
|
|
208
|
+
proceedButton: string;
|
|
209
|
+
abortButton: string;
|
|
210
|
+
assessManually: string;
|
|
211
|
+
dataProtectionPolicy: string;
|
|
212
|
+
readMore: string;
|
|
213
|
+
};
|
|
214
|
+
financial: {
|
|
215
|
+
title: string;
|
|
216
|
+
description: string;
|
|
217
|
+
income: string;
|
|
218
|
+
incomePlaceholder: string;
|
|
219
|
+
incomeErrorMessage: string;
|
|
220
|
+
expenses: string;
|
|
221
|
+
expensesPlaceholder: string;
|
|
222
|
+
expensesErrorMessage: string;
|
|
223
|
+
assets: string;
|
|
224
|
+
assetsPlaceholder: string;
|
|
225
|
+
assetsErrorMessage: string;
|
|
226
|
+
liabilities: string;
|
|
227
|
+
liabilitiesPlaceholder: string;
|
|
228
|
+
liabilitiesErrorMessage: string;
|
|
229
|
+
proceedButton: string;
|
|
230
|
+
abortButton: string;
|
|
231
|
+
heading: string;
|
|
232
|
+
howToFinance: string;
|
|
233
|
+
buyCar: string;
|
|
234
|
+
buyCarDescription: string;
|
|
235
|
+
leaseCar: string;
|
|
236
|
+
leaseCarDescription: string;
|
|
237
|
+
cash: string;
|
|
238
|
+
cashDescription: string;
|
|
239
|
+
loanApplicationOnline: string;
|
|
240
|
+
loanApplicationResponse: string;
|
|
241
|
+
paymentAtContract: string;
|
|
242
|
+
calculatedOn: string;
|
|
243
|
+
from: string;
|
|
244
|
+
proceed: string;
|
|
245
|
+
privateLeasing: string;
|
|
246
|
+
privateLeasingDescription: string;
|
|
247
|
+
financialInformationToggle: string;
|
|
248
|
+
financialCashSelected: string;
|
|
249
|
+
financialLeaseSelected: string;
|
|
250
|
+
financialLoanSelected: string;
|
|
251
|
+
financialCashSet: string;
|
|
252
|
+
financialLeaseSet: string;
|
|
253
|
+
financialLoanSet: string;
|
|
254
|
+
financialEdit: string;
|
|
255
|
+
};
|
|
256
|
+
loan: {
|
|
257
|
+
title: string;
|
|
258
|
+
description: string;
|
|
259
|
+
creditScoringInfo: string;
|
|
260
|
+
instruction: string;
|
|
261
|
+
downPaymentTitle: string;
|
|
262
|
+
downPaymentInfoTitle: string;
|
|
263
|
+
downPaymentInfoDescription: string;
|
|
264
|
+
durationTitle: string;
|
|
265
|
+
residualTitle: string;
|
|
266
|
+
errorOccurred: string;
|
|
267
|
+
proceedButton: string;
|
|
268
|
+
};
|
|
269
|
+
loanDetails: {
|
|
270
|
+
disclaimerText: string;
|
|
271
|
+
showDetails: string;
|
|
272
|
+
details: string;
|
|
273
|
+
repaymentPeriod: string;
|
|
274
|
+
months: string;
|
|
275
|
+
interest: string;
|
|
276
|
+
effectiveInterest: string;
|
|
277
|
+
setupFee: string;
|
|
278
|
+
administrationFee: string;
|
|
279
|
+
totalCreditCost: string;
|
|
280
|
+
disclaimerText1: string;
|
|
281
|
+
disclaimerText2: string;
|
|
282
|
+
moreInfo: string;
|
|
283
|
+
};
|
|
284
|
+
loanDetailsDetailed: {
|
|
285
|
+
showDetails: string;
|
|
286
|
+
details: string;
|
|
287
|
+
repaymentPeriod: string;
|
|
288
|
+
months: string;
|
|
289
|
+
interest: string;
|
|
290
|
+
effectiveInterest: string;
|
|
291
|
+
setupFee: string;
|
|
292
|
+
administrationFee: string;
|
|
293
|
+
totalCreditCost: string;
|
|
294
|
+
disclaimerText1: string;
|
|
295
|
+
disclaimerText2: string;
|
|
296
|
+
moreInfo: string;
|
|
297
|
+
};
|
|
298
|
+
loanDetailsMonthlyCost: {
|
|
299
|
+
monthlyCost: string;
|
|
300
|
+
perMonth: string;
|
|
301
|
+
};
|
|
302
|
+
stageCompletedFinancial: {
|
|
303
|
+
downPayment: string;
|
|
304
|
+
loanAmount: string;
|
|
305
|
+
repaymentPeriod: string;
|
|
306
|
+
months: string;
|
|
307
|
+
monthlyCost: string;
|
|
308
|
+
disclaimerText: string;
|
|
309
|
+
orderAlmostReady: string;
|
|
310
|
+
changeFinancing: string;
|
|
311
|
+
financing: string;
|
|
312
|
+
cash: string;
|
|
313
|
+
lease: string;
|
|
314
|
+
};
|
|
315
|
+
stageCompletedFinancialCreditAssessment: {
|
|
316
|
+
approved: string;
|
|
317
|
+
approvedDescription: string;
|
|
318
|
+
assessManually: string;
|
|
319
|
+
assessManuallyDescription: string;
|
|
320
|
+
declined: string;
|
|
321
|
+
declinedDescription: string;
|
|
322
|
+
declinedNextSteps: string;
|
|
323
|
+
contactInfo: string;
|
|
324
|
+
};
|
|
325
|
+
loanSummary: {
|
|
326
|
+
title: string;
|
|
327
|
+
description: string;
|
|
328
|
+
successMessage: string;
|
|
329
|
+
notReserved: string;
|
|
330
|
+
downPayment: string;
|
|
331
|
+
loanAmount: string;
|
|
332
|
+
repaymentPeriod: string;
|
|
333
|
+
monthlyCost: string;
|
|
334
|
+
disclaimer: string;
|
|
335
|
+
};
|
|
336
|
+
summary: {
|
|
337
|
+
financing: string;
|
|
338
|
+
cash: string;
|
|
339
|
+
loan: string;
|
|
340
|
+
leasing: string;
|
|
341
|
+
changeButton: string;
|
|
342
|
+
centralStorageTitle: string;
|
|
343
|
+
dealerSelection: string;
|
|
344
|
+
customerTitle: string;
|
|
345
|
+
customerName: string;
|
|
346
|
+
customerSSN: string;
|
|
347
|
+
customerAddress: string;
|
|
348
|
+
customerEmail: string;
|
|
349
|
+
customerPhone: string;
|
|
350
|
+
deliveryTitle: string;
|
|
351
|
+
deliveryMethod: string;
|
|
352
|
+
homeDelivery: string;
|
|
353
|
+
pickup: string;
|
|
354
|
+
thankYou: string;
|
|
355
|
+
whatHappensNext: string;
|
|
356
|
+
orderConfirmation: string;
|
|
357
|
+
contactFromDealer: string;
|
|
358
|
+
driveSafely: string;
|
|
359
|
+
orderConfirmationDisclaimer: string;
|
|
360
|
+
orderNumber: string;
|
|
361
|
+
orderTitle: string;
|
|
362
|
+
paymentMethod: string;
|
|
363
|
+
perMonth: string;
|
|
364
|
+
lease: string;
|
|
365
|
+
from: string;
|
|
366
|
+
accessories: string;
|
|
367
|
+
insurance: string;
|
|
368
|
+
free: string;
|
|
369
|
+
tradeInTitle: string;
|
|
370
|
+
mileage: string;
|
|
371
|
+
description: string;
|
|
372
|
+
condition: string;
|
|
373
|
+
estimatedValue: string;
|
|
374
|
+
no: string;
|
|
375
|
+
};
|
|
376
|
+
insurance: {
|
|
377
|
+
heading: string;
|
|
378
|
+
description: string;
|
|
379
|
+
proceedButton: string;
|
|
380
|
+
backButton: string;
|
|
381
|
+
logoAlt: string;
|
|
382
|
+
ifDescription: string;
|
|
383
|
+
showInsurances: string;
|
|
384
|
+
ifAlert: string;
|
|
385
|
+
ifDisclaimer: string;
|
|
386
|
+
skipButton: string;
|
|
387
|
+
perMonth: string;
|
|
388
|
+
addons: string;
|
|
389
|
+
includes: string;
|
|
390
|
+
update: string;
|
|
391
|
+
select: string;
|
|
392
|
+
estimatedMileage: string;
|
|
393
|
+
edit: string;
|
|
394
|
+
fetchError: string;
|
|
395
|
+
retry: string;
|
|
396
|
+
title: string;
|
|
397
|
+
none: string;
|
|
398
|
+
changeButtonTitle: string;
|
|
399
|
+
};
|
|
400
|
+
tradeIn: {
|
|
401
|
+
title: string;
|
|
402
|
+
mileage: string;
|
|
403
|
+
description: string;
|
|
404
|
+
condition: string;
|
|
405
|
+
estimatedValue: string;
|
|
406
|
+
infoText: string;
|
|
407
|
+
infoDisclaimer: string;
|
|
408
|
+
no: string;
|
|
409
|
+
changeButtonTitle: string;
|
|
410
|
+
heading: string;
|
|
411
|
+
tradeInDescription: string;
|
|
412
|
+
yesButton: string;
|
|
413
|
+
skipButton: string;
|
|
414
|
+
veryGoodCondition: string;
|
|
415
|
+
goodCondition: string;
|
|
416
|
+
okCondition: string;
|
|
417
|
+
noScratches: string;
|
|
418
|
+
serviced: string;
|
|
419
|
+
goodTires: string;
|
|
420
|
+
someScratches: string;
|
|
421
|
+
okTires: string;
|
|
422
|
+
manyScratches: string;
|
|
423
|
+
notServiced: string;
|
|
424
|
+
badTires: string;
|
|
425
|
+
detailsHeading: string;
|
|
426
|
+
detailsDescription: string;
|
|
427
|
+
registrationNumber: string;
|
|
428
|
+
registrationNumberError: string;
|
|
429
|
+
registrationNumberPlaceholder: string;
|
|
430
|
+
mileageError: string;
|
|
431
|
+
mileagePlaceholder: string;
|
|
432
|
+
descriptionOptional: string;
|
|
433
|
+
descriptionError: string;
|
|
434
|
+
descriptionPlaceholder: string;
|
|
435
|
+
fetchValue: string;
|
|
436
|
+
proceedButton: string;
|
|
437
|
+
fetchError: string;
|
|
438
|
+
};
|
|
439
|
+
vehicleInfo: string;
|
|
440
|
+
orderCallback: {
|
|
441
|
+
thankYou: string;
|
|
442
|
+
orderId: string;
|
|
443
|
+
waykeId: string;
|
|
444
|
+
};
|
|
445
|
+
howTo: {
|
|
446
|
+
heading: string;
|
|
447
|
+
description: string;
|
|
448
|
+
timelineAriaLabel: string;
|
|
449
|
+
customerHeading: string;
|
|
450
|
+
centralStorageHeading: string;
|
|
451
|
+
centralStorageDescription: string;
|
|
452
|
+
deliveryHeading: string;
|
|
453
|
+
tradeInHeading: string;
|
|
454
|
+
tradeInDescription: string;
|
|
455
|
+
financialHeading: string;
|
|
456
|
+
insuranceHeading: string;
|
|
457
|
+
insuranceDescription: string;
|
|
458
|
+
accessoriesHeading: string;
|
|
459
|
+
accessoriesDescription: string;
|
|
460
|
+
financialDescriptionAll: string;
|
|
461
|
+
financialDescriptionCashLease: string;
|
|
462
|
+
financialDescriptionCashLoan: string;
|
|
463
|
+
financialDescriptionLoanLease: string;
|
|
464
|
+
financialDescriptionCash: string;
|
|
465
|
+
financialDescriptionLoan: string;
|
|
466
|
+
financialDescriptionLease: string;
|
|
467
|
+
deliveryDescriptionBoth: string;
|
|
468
|
+
deliveryDescriptionPickup: string;
|
|
469
|
+
deliveryDescriptionHome: string;
|
|
470
|
+
paymentHeading: string;
|
|
471
|
+
paymentDescription: string;
|
|
472
|
+
finalHeading: string;
|
|
473
|
+
finalDescription: string;
|
|
474
|
+
};
|
|
475
|
+
preview: {
|
|
476
|
+
heading: string;
|
|
477
|
+
proceedButton: string;
|
|
478
|
+
checklistTitle: string;
|
|
479
|
+
checklistAriaLabel: string;
|
|
480
|
+
checklistItem1: string;
|
|
481
|
+
checklistItem2: string;
|
|
482
|
+
checklistItem3: string;
|
|
483
|
+
checklistItem4: string;
|
|
484
|
+
error: string;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
export default svSE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wayke-se/ecom-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Wayke Ecom Web",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"start": "node ./esbuild/start.js",
|
|
16
16
|
"clip": "node ./esbuild/clip-ui.js && node ./clip-ui/start.js",
|
|
17
|
-
"build": "npm run clean && node ./esbuild/lib.js && node ./esbuild/cdn.js",
|
|
17
|
+
"build": "npm run clean && node ./esbuild/lib.js && node ./esbuild/cdn.js && npm run build:types",
|
|
18
|
+
"build:types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir dist",
|
|
18
19
|
"clean": "rimraf build && rimraf dist && rimraf dist-cdn",
|
|
19
20
|
"test": "npm run lint && npm run typecheck",
|
|
20
21
|
"typecheck": "tsc -noEmit",
|
|
@@ -32,34 +33,36 @@
|
|
|
32
33
|
]
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
|
-
"@biomejs/biome": "
|
|
36
|
+
"@biomejs/biome": "2.4.16",
|
|
36
37
|
"@ourstudio/clip-ui": "^0.0.11",
|
|
37
|
-
"@types/node": "^
|
|
38
|
+
"@types/node": "^25.9.1",
|
|
38
39
|
"@types/object-path": "^0.11.1",
|
|
39
|
-
"@types/sanitize-html": "^2.
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"lint-staged": "^15.4.1",
|
|
47
|
-
"npm-dts": "^1.3.11",
|
|
48
|
-
"rimraf": "^6.0.1",
|
|
49
|
-
"stylelint": "^16.2.1",
|
|
40
|
+
"@types/sanitize-html": "^2.16.1",
|
|
41
|
+
"esbuild": "^0.28.0",
|
|
42
|
+
"esbuild-sass-plugin": "^3.7.0",
|
|
43
|
+
"husky": "^9.1.7",
|
|
44
|
+
"lint-staged": "^17.0.5",
|
|
45
|
+
"rimraf": "^6.1.3",
|
|
46
|
+
"stylelint": "^17.12.0",
|
|
50
47
|
"stylelint-config-prettier-scss": "^1.0.0",
|
|
51
|
-
"stylelint-config-standard-scss": "^
|
|
52
|
-
"typescript": "^
|
|
48
|
+
"stylelint-config-standard-scss": "^17.0.0",
|
|
49
|
+
"typescript": "^6.0.3"
|
|
53
50
|
},
|
|
54
51
|
"dependencies": {
|
|
55
52
|
"@wayke-se/ecom": "^4.5.0",
|
|
56
|
-
"i18next": "^
|
|
53
|
+
"i18next": "^26.3.0",
|
|
54
|
+
"marked": "^18.0.4",
|
|
57
55
|
"object-path": "^0.11.8",
|
|
58
56
|
"redux": "^5.0.1",
|
|
59
|
-
"sanitize-html": "^2.
|
|
60
|
-
"showdown": "^2.1.0"
|
|
57
|
+
"sanitize-html": "^2.17.4"
|
|
61
58
|
},
|
|
62
59
|
"files": [
|
|
63
60
|
"dist"
|
|
64
|
-
]
|
|
61
|
+
],
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=24.0.0"
|
|
64
|
+
},
|
|
65
|
+
"volta": {
|
|
66
|
+
"node": "24"
|
|
67
|
+
}
|
|
65
68
|
}
|