@kanorio/elements 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/AudioPlayer-DKUAB5KE.js +2 -0
- package/dist/AudioPlayer-S7YF7A2E.js +2 -0
- package/dist/CustomerAccountPanel-DJKV7LT4.js +2 -0
- package/dist/CustomerAccountPanel-RWEHWBJY.js +2 -0
- package/dist/FormAddressField-C6VN7J6I.js +2 -0
- package/dist/FormAddressField-QR7ZCH77.js +2 -0
- package/dist/FormChoiceDropdown-SJXD26CC.js +2 -0
- package/dist/FormChoiceDropdown-U3NIOOHG.js +2 -0
- package/dist/FormFileField-LZDCXI2Z.js +2 -0
- package/dist/FormFileField-ONL4Q55V.js +2 -0
- package/dist/FormTaxIdField-K34MDUPW.js +2 -0
- package/dist/FormTaxIdField-XMK5WRQO.js +2 -0
- package/dist/KanorioAccount-EN3TM67X.js +2 -0
- package/dist/KanorioAccount-XGVSGVYN.js +2 -0
- package/dist/KanorioAnalytics-NEKTFQEE.js +2 -0
- package/dist/KanorioAnalytics-UMCUWQM7.js +2 -0
- package/dist/KanorioCurriculum-3QSCOHK7.js +2 -0
- package/dist/KanorioCurriculum-RUIGZ5X7.js +2 -0
- package/dist/KanorioForm-GUA5GEJY.js +2 -0
- package/dist/KanorioForm-KXV7D2TU.js +2 -0
- package/dist/KanorioLightbox-M72HNQQX.js +2 -0
- package/dist/KanorioLightbox-TQ3Q73TD.js +2 -0
- package/dist/KanorioLogin-5XFN3YEE.js +2 -0
- package/dist/KanorioLogin-AJHHVQGV.js +2 -0
- package/dist/KanorioMedia-ADKUDH5C.js +2 -0
- package/dist/KanorioMedia-DLBSXCKA.js +2 -0
- package/dist/KanorioReviews-42FZSXTI.js +2 -0
- package/dist/KanorioReviews-7LD5WKFG.js +2 -0
- package/dist/KanorioUnit-NWBX5DEI.js +2 -0
- package/dist/KanorioUnit-SIM3344J.js +2 -0
- package/dist/MediaPlayer-F43FPK4E.js +2 -0
- package/dist/MediaPlayer-JHFZFOOG.js +2 -0
- package/dist/{PDFViewerFull-KMUVT2BL.js → PDFViewerFull-CB44M7GW.js} +3 -3
- package/dist/{PDFViewerFull-FBLYNUDX.js → PDFViewerFull-INVHZL4V.js} +2 -2
- package/dist/VideoPlayer-FWZF4DQK.js +2 -0
- package/dist/VideoPlayer-LNS7XJ4C.js +2 -0
- package/dist/account.d.ts +165 -0
- package/dist/account.js +2 -0
- package/dist/analytics.d.ts +44 -0
- package/dist/analytics.js +2 -0
- package/dist/bot-protection.d.ts +297 -0
- package/dist/bot-protection.js +2 -0
- package/dist/chunk-2E6RCDAA.js +2 -0
- package/dist/chunk-2FSD3N7F.js +6 -0
- package/dist/chunk-2J5XQK4H.js +2 -0
- package/dist/chunk-2LOQXVFI.js +2 -0
- package/dist/chunk-2ONAW3CA.js +2 -0
- package/dist/chunk-33AQQY6T.js +69 -0
- package/dist/chunk-36YEGBKK.js +2 -0
- package/dist/chunk-4BBERZ6T.js +2 -0
- package/dist/chunk-4BEKWYEW.js +2 -0
- package/dist/chunk-4DPSNQEI.js +2 -0
- package/dist/chunk-4KA3HSRQ.js +2 -0
- package/dist/chunk-4MOCTNN7.js +2 -0
- package/dist/chunk-5AUWUK5R.js +2 -0
- package/dist/chunk-5G3PQI25.js +2 -0
- package/dist/chunk-5HWAL7VK.js +2 -0
- package/dist/chunk-63XJWMJG.js +2 -0
- package/dist/chunk-66XN5RR4.js +2 -0
- package/dist/chunk-6RZBXZFP.js +2 -0
- package/dist/chunk-763LNERD.js +2 -0
- package/dist/chunk-7XWBVRXP.js +15 -0
- package/dist/chunk-A4DPHHAP.js +42 -0
- package/dist/chunk-AF46NLXK.js +2 -0
- package/dist/chunk-AFNEGNVJ.js +2 -0
- package/dist/chunk-AQ6F6MIJ.js +2 -0
- package/dist/chunk-ARU5PTJV.js +2 -0
- package/dist/chunk-B7KLKVIM.js +2 -0
- package/dist/chunk-BGVTMWPN.js +2 -0
- package/dist/chunk-BKNL7ZCI.js +2 -0
- package/dist/chunk-BU7KUHZK.js +8 -0
- package/dist/chunk-C7HUM2EN.js +2 -0
- package/dist/chunk-CU2JJTXI.js +2 -0
- package/dist/{chunk-5U2SZE3H.js → chunk-CUQUEGX2.js} +2 -2
- package/dist/chunk-D7K3YCBR.js +2 -0
- package/dist/chunk-DLJDYXKL.js +2 -0
- package/dist/chunk-DTBRUBPG.js +2 -0
- package/dist/chunk-E77WGXYW.js +2 -0
- package/dist/chunk-EE4S6NRV.js +3 -0
- package/dist/chunk-ET57PWXC.js +2 -0
- package/dist/chunk-EZMTUAQX.js +2 -0
- package/dist/chunk-FFAWYDLJ.js +2 -0
- package/dist/chunk-FQCA2VGY.js +2 -0
- package/dist/chunk-FSY5GB5E.js +3 -0
- package/dist/chunk-G4U6BFZY.js +2 -0
- package/dist/chunk-GJY6AQIS.js +2 -0
- package/dist/chunk-GMW7AUSG.js +2 -0
- package/dist/chunk-GZCED6V3.js +2 -0
- package/dist/chunk-H2XQYT62.js +2 -0
- package/dist/chunk-H7VP4BYY.js +2 -0
- package/dist/chunk-HFYLTH5B.js +2 -0
- package/dist/chunk-IAXVJLJ3.js +2 -0
- package/dist/chunk-IXDKZO42.js +2 -0
- package/dist/chunk-J37D44SX.js +2 -0
- package/dist/chunk-JH5D6YJX.js +2 -0
- package/dist/chunk-JREL5347.js +2 -0
- package/dist/chunk-K2XZKV3Q.js +2 -0
- package/dist/chunk-K4VRRKYJ.js +2 -0
- package/dist/chunk-KBKDMTYF.js +2 -0
- package/dist/chunk-KDNGDR64.js +2 -0
- package/dist/chunk-KNNN5V3T.js +2 -0
- package/dist/chunk-LWKCGUHS.js +2 -0
- package/dist/chunk-LWRWKZBC.js +2 -0
- package/dist/chunk-LXNMHQFN.js +2 -0
- package/dist/chunk-MC63CLSM.js +2 -0
- package/dist/chunk-MIQK3T3Y.js +2 -0
- package/dist/chunk-MQ7PBFUM.js +4 -0
- package/dist/chunk-MWPRTK32.js +2 -0
- package/dist/chunk-MXGMJAWS.js +2 -0
- package/dist/chunk-N4BGAMWD.js +2 -0
- package/dist/chunk-N5PIQM4L.js +3 -0
- package/dist/chunk-NBDRYQZV.js +2 -0
- package/dist/chunk-NGRNPVON.js +2 -0
- package/dist/chunk-NSY72ZYX.js +15 -0
- package/dist/chunk-O2SYHUQF.js +2 -0
- package/dist/chunk-OIKRLEW6.js +2 -0
- package/dist/chunk-OTK4YNSG.js +2 -0
- package/dist/chunk-OU4IOHLN.js +15 -0
- package/dist/chunk-PR2NRUEI.js +2 -0
- package/dist/chunk-QGR3QAQB.js +3 -0
- package/dist/chunk-QOQQCCID.js +2 -0
- package/dist/chunk-RG5JA44V.js +2 -0
- package/dist/chunk-RKEHHJDU.js +2 -0
- package/dist/chunk-S2NFWI7C.js +69 -0
- package/dist/chunk-S7FE2XRA.js +2 -0
- package/dist/chunk-SUXTLVTX.js +2 -0
- package/dist/chunk-SVWEVSYJ.js +2 -0
- package/dist/chunk-TEUQV3AT.js +2 -0
- package/dist/chunk-U7H3W23Q.js +2 -0
- package/dist/chunk-U7KVGD47.js +2 -0
- package/dist/chunk-UIHBR4NU.js +3 -0
- package/dist/chunk-UM74DXPE.js +2 -0
- package/dist/chunk-VKSYPXNL.js +2 -0
- package/dist/chunk-VUTODQFX.js +2 -0
- package/dist/chunk-VYSRVTYI.js +2 -0
- package/dist/chunk-W32ZFOPN.js +2 -0
- package/dist/chunk-W63RJF6Q.js +2 -0
- package/dist/chunk-WM5S3YN5.js +2 -0
- package/dist/chunk-WP7UEAIB.js +2 -0
- package/dist/chunk-WXIUWMFR.js +2 -0
- package/dist/chunk-Z4A5NQWJ.js +2 -0
- package/dist/chunk-Z4OV6QHI.js +2 -0
- package/dist/curriculum.d.ts +20 -0
- package/dist/curriculum.js +2 -0
- package/dist/deliverables-BDS7WMBC.js +99 -0
- package/dist/deliverables-C5RD2ASE.js +131 -0
- package/dist/elements.css +1 -1
- package/dist/events-CJeBru-H.d.ts +11 -0
- package/dist/form.d.ts +775 -0
- package/dist/form.js +2 -0
- package/dist/forms-answers-address-7P6EVFY5.js +2 -0
- package/dist/forms-answers-address-IQV2Y56H.js +2 -0
- package/dist/forms-answers-phone-2VZ46OME.js +2 -0
- package/dist/forms-answers-phone-5PUB5WKD.js +2 -0
- package/dist/forms-answers-tax-id-D4GOUC6N.js +2 -0
- package/dist/forms-answers-tax-id-WJD7K3PG.js +2 -0
- package/dist/index.d.ts +17 -3045
- package/dist/index.js +1 -1
- package/dist/kanorio-elements.js +9 -73
- package/dist/lightbox-DEvsB5dB.d.ts +100 -0
- package/dist/lightbox.d.ts +5 -0
- package/dist/lightbox.js +2 -0
- package/dist/login.d.ts +14 -0
- package/dist/login.js +2 -0
- package/dist/media.d.ts +85 -0
- package/dist/media.js +2 -0
- package/dist/phone-input-Q5AV6KSW.js +2 -0
- package/dist/phone-input-T6QX2TDS.js +2 -0
- package/dist/provider-CMLzyAjJ.d.ts +1277 -0
- package/dist/provider.d.ts +4 -0
- package/dist/provider.js +2 -0
- package/dist/reviews.d.ts +42 -0
- package/dist/reviews.js +2 -0
- package/dist/unit.d.ts +118 -0
- package/dist/unit.js +2 -0
- package/dist/{vidstack-BmcqUMKx-XYI2YLUH.js → vidstack-BmcqUMKx-FXVV4FRB.js} +2 -2
- package/dist/{vidstack-GkTzay8D-PBE5ZIYA.js → vidstack-GkTzay8D-53C3FRCO.js} +2 -2
- package/dist/web-components.d.ts +13 -1
- package/dist/web-components.js +1 -1
- package/dist/wire-ofSodpi1.d.ts +176 -0
- package/package.json +46 -2
- package/dist/MediaPlayer-7IBSXL7Q.js +0 -2
- package/dist/MediaPlayer-HTXF4T2V.js +0 -2
- package/dist/chunk-2UVUNYL6.js +0 -2
- package/dist/chunk-3OGF7I4H.js +0 -2
- package/dist/chunk-5AWUTOK7.js +0 -2
- package/dist/chunk-DTDUK36B.js +0 -8
- package/dist/chunk-JZXJO62T.js +0 -15
- package/dist/chunk-LLHBSWTL.js +0 -2
- package/dist/chunk-NOCGHD2O.js +0 -2
- package/dist/chunk-S4ZA2INU.js +0 -415
- package/dist/chunk-TLBIYET7.js +0 -404
- package/dist/chunk-TLRFFLH4.js +0 -94
- package/dist/chunk-U3U5KVR6.js +0 -2
- package/dist/chunk-UBMXRFSK.js +0 -4
- package/dist/deliverables-FBCRGMTB.js +0 -93
- package/dist/deliverables-FMKPDHJH.js +0 -92
|
@@ -0,0 +1,1277 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { CustomerContentClientLike, DeliveryPaths } from '@kanorio/sdk';
|
|
4
|
+
|
|
5
|
+
type VisitorMessages = {
|
|
6
|
+
globalError: {
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
retry: string;
|
|
10
|
+
};
|
|
11
|
+
errors: {
|
|
12
|
+
siteNotFound: string;
|
|
13
|
+
siteConfigError: string;
|
|
14
|
+
pageNotFound: string;
|
|
15
|
+
defaultSiteTitle: string;
|
|
16
|
+
free404Hint: string;
|
|
17
|
+
free404Title: string;
|
|
18
|
+
free404Subtitle: string;
|
|
19
|
+
free404Cta: string;
|
|
20
|
+
free404Feature1: string;
|
|
21
|
+
free404Feature2: string;
|
|
22
|
+
free404Feature3: string;
|
|
23
|
+
free404Feature4: string;
|
|
24
|
+
pro404Title: string;
|
|
25
|
+
pro404Subtitle: string;
|
|
26
|
+
pro404BackHome: string;
|
|
27
|
+
};
|
|
28
|
+
comingSoon: {
|
|
29
|
+
metadataTitle: string;
|
|
30
|
+
metadataDescription: string;
|
|
31
|
+
freeHint: string;
|
|
32
|
+
proTitle: string;
|
|
33
|
+
proSubtitle: string;
|
|
34
|
+
};
|
|
35
|
+
checkout: {
|
|
36
|
+
cancelAndBack: string;
|
|
37
|
+
loadFailedTitle: string;
|
|
38
|
+
loadFailedDescription: string;
|
|
39
|
+
retry: string;
|
|
40
|
+
paymentUnavailableTitle: string;
|
|
41
|
+
paymentUnavailableSellerNotReady: string;
|
|
42
|
+
paymentUnavailableProviderError: string;
|
|
43
|
+
paymentUnavailableUnsupportedCurrency: string;
|
|
44
|
+
deliveryUnavailableTitle: string;
|
|
45
|
+
deliveryUnavailableDescription: string;
|
|
46
|
+
errors: {
|
|
47
|
+
purchase_limit_reached: string;
|
|
48
|
+
purchase_limit_reached_fallback: string;
|
|
49
|
+
total_sales_limit_reached: string;
|
|
50
|
+
quantity_exceeds_remaining: string;
|
|
51
|
+
quantity_exceeds_remaining_fallback: string;
|
|
52
|
+
quantity_exceeds_per_order_limit: string;
|
|
53
|
+
quantity_exceeds_per_order_limit_fallback: string;
|
|
54
|
+
amount_below_minimum: string;
|
|
55
|
+
amount_below_minimum_fallback: string;
|
|
56
|
+
amount_exceeds_maximum: string;
|
|
57
|
+
amount_exceeds_maximum_fallback: string;
|
|
58
|
+
invalid_currency: string;
|
|
59
|
+
provider_unsupported_currency: string;
|
|
60
|
+
product_archived: string;
|
|
61
|
+
store_paused: string;
|
|
62
|
+
tier_not_published: string;
|
|
63
|
+
no_pricing_tier: string;
|
|
64
|
+
payment_request_failed: string;
|
|
65
|
+
network_error: string;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
summaryTitle: string;
|
|
69
|
+
quantity: string;
|
|
70
|
+
total: string;
|
|
71
|
+
payNow: string;
|
|
72
|
+
confirmFree: string;
|
|
73
|
+
securePayByProvider: string;
|
|
74
|
+
securePayDetail: string;
|
|
75
|
+
legalConsent: string;
|
|
76
|
+
legalTermsLabel: string;
|
|
77
|
+
legalPrivacyLabel: string;
|
|
78
|
+
invalidCheckout: string;
|
|
79
|
+
backToStore: string;
|
|
80
|
+
paymentFailed: string;
|
|
81
|
+
shippingFeeChanged: string;
|
|
82
|
+
processing: string;
|
|
83
|
+
unitPrice: string;
|
|
84
|
+
subtotal: string;
|
|
85
|
+
editCart: string;
|
|
86
|
+
itemCount: string;
|
|
87
|
+
discount: string;
|
|
88
|
+
haveDiscountCode: string;
|
|
89
|
+
discountCodePlaceholder: string;
|
|
90
|
+
discountCode: string;
|
|
91
|
+
applyDiscount: string;
|
|
92
|
+
invalidDiscountCode: string;
|
|
93
|
+
customerInfo: string;
|
|
94
|
+
nameLabel: string;
|
|
95
|
+
namePlaceholder: string;
|
|
96
|
+
phoneLabel: string;
|
|
97
|
+
optional: string;
|
|
98
|
+
phonePlaceholder: string;
|
|
99
|
+
noteLabel: string;
|
|
100
|
+
notePlaceholder: string;
|
|
101
|
+
paymentMethod: string;
|
|
102
|
+
providerNames: {
|
|
103
|
+
PAYUNI: string;
|
|
104
|
+
SHOPLINE_PAY: string;
|
|
105
|
+
};
|
|
106
|
+
aggregatorOption: string;
|
|
107
|
+
providedBy: string;
|
|
108
|
+
methods: {
|
|
109
|
+
card: string;
|
|
110
|
+
apple_pay: string;
|
|
111
|
+
google_pay: string;
|
|
112
|
+
atm: string;
|
|
113
|
+
cvs: string;
|
|
114
|
+
line_pay: string;
|
|
115
|
+
jko_pay: string;
|
|
116
|
+
bnpl: string;
|
|
117
|
+
};
|
|
118
|
+
methodHints: {
|
|
119
|
+
apple_pay: string;
|
|
120
|
+
google_pay: string;
|
|
121
|
+
atm: string;
|
|
122
|
+
cvs: string;
|
|
123
|
+
line_pay: string;
|
|
124
|
+
jko_pay: string;
|
|
125
|
+
bnpl: string;
|
|
126
|
+
};
|
|
127
|
+
redirectNotice: string;
|
|
128
|
+
cardNumber: string;
|
|
129
|
+
cardExpiry: string;
|
|
130
|
+
cardCvc: string;
|
|
131
|
+
cardDetails: string;
|
|
132
|
+
installmentLabel: string;
|
|
133
|
+
installmentOnce: string;
|
|
134
|
+
installmentUnit: string;
|
|
135
|
+
contactSeller: string;
|
|
136
|
+
phoneInvalid: string;
|
|
137
|
+
phoneRequired: string;
|
|
138
|
+
emailLabel: string;
|
|
139
|
+
guestDoneTitle: string;
|
|
140
|
+
guestDoneMessage: string;
|
|
141
|
+
emailInvalid: string;
|
|
142
|
+
emailPrivacyHint: string;
|
|
143
|
+
acceptsMarketingLabel: string;
|
|
144
|
+
deliveryTitle: string;
|
|
145
|
+
shippingFee: string;
|
|
146
|
+
freeShipping: string;
|
|
147
|
+
shipmentsCount: string;
|
|
148
|
+
shipmentLabel: string;
|
|
149
|
+
shipmentBoxCount: string;
|
|
150
|
+
splitByPackage: string;
|
|
151
|
+
combineShipping: string;
|
|
152
|
+
splitRequired: string;
|
|
153
|
+
invoice: {
|
|
154
|
+
sectionTitle: string;
|
|
155
|
+
personal: string;
|
|
156
|
+
company: string;
|
|
157
|
+
donation: string;
|
|
158
|
+
personalShort: string;
|
|
159
|
+
companyShort: string;
|
|
160
|
+
donationShort: string;
|
|
161
|
+
mobileBarcode: string;
|
|
162
|
+
citizenCert: string;
|
|
163
|
+
mobileBarcodeShort: string;
|
|
164
|
+
citizenCertShort: string;
|
|
165
|
+
memberCarrier: string;
|
|
166
|
+
taxIdLabel: string;
|
|
167
|
+
companyNameLabel: string;
|
|
168
|
+
companyAddressLabel: string;
|
|
169
|
+
donationCodeLabel: string;
|
|
170
|
+
donationCodeHint: string;
|
|
171
|
+
mobileBarcodeHint: string;
|
|
172
|
+
citizenCertHint: string;
|
|
173
|
+
invalidMobileBarcode: string;
|
|
174
|
+
invalidCitizenCert: string;
|
|
175
|
+
invalidTaxId: string;
|
|
176
|
+
invalidDonationCode: string;
|
|
177
|
+
invalidCompanyName: string;
|
|
178
|
+
invalidCompanyAddress: string;
|
|
179
|
+
taxIdRequired: string;
|
|
180
|
+
companyNameRequired: string;
|
|
181
|
+
companyAddressRequired: string;
|
|
182
|
+
donationCodeRequired: string;
|
|
183
|
+
defaultHint: string;
|
|
184
|
+
expandCarrier: string;
|
|
185
|
+
donationTag919: string;
|
|
186
|
+
donationTag7585: string;
|
|
187
|
+
donationTag25885: string;
|
|
188
|
+
registrySource: string;
|
|
189
|
+
registryInactive: string;
|
|
190
|
+
};
|
|
191
|
+
deliveryMethod: string;
|
|
192
|
+
recipientSameAsCustomer: string;
|
|
193
|
+
recipientName: string;
|
|
194
|
+
recipientNamePlaceholder: string;
|
|
195
|
+
recipientPhone: string;
|
|
196
|
+
recipientPhonePlaceholder: string;
|
|
197
|
+
shippingAddress: string;
|
|
198
|
+
postalCode: string;
|
|
199
|
+
region: string;
|
|
200
|
+
locality: string;
|
|
201
|
+
addressLine1: string;
|
|
202
|
+
addressLine2: string;
|
|
203
|
+
cvsStore: string;
|
|
204
|
+
selectCvsStore: string;
|
|
205
|
+
methodHomeDelivery: string;
|
|
206
|
+
methodCvsPickup: string;
|
|
207
|
+
methodSelfPickup: string;
|
|
208
|
+
errRecipientName: string;
|
|
209
|
+
errRecipientPhone: string;
|
|
210
|
+
errRecipientPhoneInvalid: string;
|
|
211
|
+
errRecipientNameInvalid: string;
|
|
212
|
+
errDeliveryMethod: string;
|
|
213
|
+
errAddress: string;
|
|
214
|
+
errCvsStore: string;
|
|
215
|
+
openingCvsStore: string;
|
|
216
|
+
errCvsStoreTemperature: string;
|
|
217
|
+
errCvsStoreNotSupported: string;
|
|
218
|
+
errCvsStoreUnavailable: string;
|
|
219
|
+
errCvsStoreReselect: string;
|
|
220
|
+
errAddressStreetUnknown: string;
|
|
221
|
+
errAddressDistrictMismatch: string;
|
|
222
|
+
errAddressMissingNumber: string;
|
|
223
|
+
processingTitle: string;
|
|
224
|
+
processingHint: string;
|
|
225
|
+
paymentResultCancelled: string;
|
|
226
|
+
paymentResultFailed: string;
|
|
227
|
+
purchaseLimitTitle: string;
|
|
228
|
+
purchaseLimitDescription: string;
|
|
229
|
+
purchaseLimitRemaining: string;
|
|
230
|
+
viewPurchasesLogin: string;
|
|
231
|
+
storeSelectedAtPayment: string;
|
|
232
|
+
summaryWithMore: string;
|
|
233
|
+
cvsCallback: {
|
|
234
|
+
doneTitle: string;
|
|
235
|
+
doneNoOpener: string;
|
|
236
|
+
chainMismatch: string;
|
|
237
|
+
verifyFailed: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
orderStatus: {
|
|
241
|
+
paidTitle: string;
|
|
242
|
+
paidSubtitle: string;
|
|
243
|
+
paidTitleWithNumber: string;
|
|
244
|
+
confirmationSentTo: string;
|
|
245
|
+
awaitingTitle: string;
|
|
246
|
+
awaitingSubtitle: string;
|
|
247
|
+
awaitingDue: string;
|
|
248
|
+
awaitingAfterPaid: string;
|
|
249
|
+
processingTitle: string;
|
|
250
|
+
processingSubtitle: string;
|
|
251
|
+
processingTimeoutTitle: string;
|
|
252
|
+
processingTimeoutSubtitle: string;
|
|
253
|
+
failedTitle: string;
|
|
254
|
+
failedSubtitle: string;
|
|
255
|
+
expiredTitle: string;
|
|
256
|
+
expiredSubtitle: string;
|
|
257
|
+
retryCheckout: string;
|
|
258
|
+
continueShopping: string;
|
|
259
|
+
thirdPartyInstructionsNotice: string;
|
|
260
|
+
thirdPartyPaidNotice: string;
|
|
261
|
+
savePageHint: string;
|
|
262
|
+
copyLink: string;
|
|
263
|
+
linkCopied: string;
|
|
264
|
+
linkValidUntil: string;
|
|
265
|
+
instructions: {
|
|
266
|
+
title: string;
|
|
267
|
+
bankCode: string;
|
|
268
|
+
account: string;
|
|
269
|
+
amount: string;
|
|
270
|
+
amountExact: string;
|
|
271
|
+
paymentCode: string;
|
|
272
|
+
channel: string;
|
|
273
|
+
dueAt: string;
|
|
274
|
+
copy: string;
|
|
275
|
+
copied: string;
|
|
276
|
+
copyAll: string;
|
|
277
|
+
atmHint: string;
|
|
278
|
+
cvsHint: string;
|
|
279
|
+
genericHint: string;
|
|
280
|
+
channels: {
|
|
281
|
+
SEVEN: string;
|
|
282
|
+
FAMILY: string;
|
|
283
|
+
HILIFE: string;
|
|
284
|
+
OK: string;
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
digital: {
|
|
288
|
+
title: string;
|
|
289
|
+
description: string;
|
|
290
|
+
cta: string;
|
|
291
|
+
awaiting: string;
|
|
292
|
+
};
|
|
293
|
+
delivery: {
|
|
294
|
+
title: string;
|
|
295
|
+
method: string;
|
|
296
|
+
recipient: string;
|
|
297
|
+
address: string;
|
|
298
|
+
pickupCvs: string;
|
|
299
|
+
pickupLocker: string;
|
|
300
|
+
pickupStore: string;
|
|
301
|
+
pickupGeneric: string;
|
|
302
|
+
pendingShipment: string;
|
|
303
|
+
trackingNo: string;
|
|
304
|
+
track: string;
|
|
305
|
+
pickupDeadlineLabel: string;
|
|
306
|
+
etaLabel: string;
|
|
307
|
+
shipmentStatus: string;
|
|
308
|
+
status: {
|
|
309
|
+
PENDING: string;
|
|
310
|
+
BOOKED: string;
|
|
311
|
+
LABEL_CREATED: string;
|
|
312
|
+
IN_TRANSIT: string;
|
|
313
|
+
AT_STORE: string;
|
|
314
|
+
DELIVERED: string;
|
|
315
|
+
RETURNED: string;
|
|
316
|
+
CANCELED: string;
|
|
317
|
+
ASSIGNING_COURIER: string;
|
|
318
|
+
COURIER_ACCEPTED: string;
|
|
319
|
+
COURIER_PICKING_UP: string;
|
|
320
|
+
COURIER_PICKED_UP: string;
|
|
321
|
+
EXCEPTION: string;
|
|
322
|
+
ACTION_REQUIRED: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
summary: {
|
|
326
|
+
title: string;
|
|
327
|
+
quantity: string;
|
|
328
|
+
subtotal: string;
|
|
329
|
+
discount: string;
|
|
330
|
+
shipping: string;
|
|
331
|
+
free: string;
|
|
332
|
+
total: string;
|
|
333
|
+
paymentMethod: string;
|
|
334
|
+
placedAt: string;
|
|
335
|
+
refunded: string;
|
|
336
|
+
refundedQuantity: string;
|
|
337
|
+
accessRevoked: string;
|
|
338
|
+
};
|
|
339
|
+
customer: {
|
|
340
|
+
title: string;
|
|
341
|
+
email: string;
|
|
342
|
+
name: string;
|
|
343
|
+
};
|
|
344
|
+
invoice: {
|
|
345
|
+
title: string;
|
|
346
|
+
pending: string;
|
|
347
|
+
failed: string;
|
|
348
|
+
number: string;
|
|
349
|
+
secondaryCode: string;
|
|
350
|
+
issuedAt: string;
|
|
351
|
+
verify: string;
|
|
352
|
+
type: string;
|
|
353
|
+
typePersonal: string;
|
|
354
|
+
typeCompany: string;
|
|
355
|
+
typeDonation: string;
|
|
356
|
+
carrier: string;
|
|
357
|
+
carrierMobile: string;
|
|
358
|
+
carrierCitizen: string;
|
|
359
|
+
carrierMember: string;
|
|
360
|
+
carrierPrint: string;
|
|
361
|
+
taxId: string;
|
|
362
|
+
buyerName: string;
|
|
363
|
+
donationCode: string;
|
|
364
|
+
registrationNumber: string;
|
|
365
|
+
businessNumber: string;
|
|
366
|
+
};
|
|
367
|
+
help: {
|
|
368
|
+
description: string;
|
|
369
|
+
};
|
|
370
|
+
methodTypes: {
|
|
371
|
+
card: string;
|
|
372
|
+
apple_pay: string;
|
|
373
|
+
google_pay: string;
|
|
374
|
+
samsung_pay: string;
|
|
375
|
+
atm: string;
|
|
376
|
+
cvs: string;
|
|
377
|
+
line_pay: string;
|
|
378
|
+
jko_pay: string;
|
|
379
|
+
bnpl: string;
|
|
380
|
+
cod: string;
|
|
381
|
+
icash_pay: string;
|
|
382
|
+
aftee: string;
|
|
383
|
+
bank_account: string;
|
|
384
|
+
free: string;
|
|
385
|
+
unknown: string;
|
|
386
|
+
};
|
|
387
|
+
redactedTitle: string;
|
|
388
|
+
redactedDescription: string;
|
|
389
|
+
signInToView: string;
|
|
390
|
+
orderTitle: string;
|
|
391
|
+
orderTitleNoNumber: string;
|
|
392
|
+
refunds: {
|
|
393
|
+
title: string;
|
|
394
|
+
shippingIncluded: string;
|
|
395
|
+
reasons: {
|
|
396
|
+
DUPLICATE: string;
|
|
397
|
+
REQUESTED_BY_CUSTOMER: string;
|
|
398
|
+
FRAUDULENT: string;
|
|
399
|
+
OTHER: string;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
common: {
|
|
404
|
+
language: string;
|
|
405
|
+
languageTaiwan: string;
|
|
406
|
+
languageHongKong: string;
|
|
407
|
+
previous: string;
|
|
408
|
+
next: string;
|
|
409
|
+
};
|
|
410
|
+
cookieConsent: {
|
|
411
|
+
title: string;
|
|
412
|
+
description: string;
|
|
413
|
+
learnMore: string;
|
|
414
|
+
acceptNecessary: string;
|
|
415
|
+
acceptAll: string;
|
|
416
|
+
close: string;
|
|
417
|
+
settings: string;
|
|
418
|
+
};
|
|
419
|
+
login: {
|
|
420
|
+
title: string;
|
|
421
|
+
subtitle: string;
|
|
422
|
+
verifying: string;
|
|
423
|
+
verificationFailed: string;
|
|
424
|
+
signInWithGoogle: string;
|
|
425
|
+
signingIn: string;
|
|
426
|
+
footer: string;
|
|
427
|
+
};
|
|
428
|
+
blog: {
|
|
429
|
+
title: string;
|
|
430
|
+
home: string;
|
|
431
|
+
allPosts: string;
|
|
432
|
+
readingTimeSuffix: string;
|
|
433
|
+
minutesShort: string;
|
|
434
|
+
categoryPrefix: string;
|
|
435
|
+
tagPrefix: string;
|
|
436
|
+
authorPrefix: string;
|
|
437
|
+
noPosts: string;
|
|
438
|
+
backToBlog: string;
|
|
439
|
+
relatedCategory: string;
|
|
440
|
+
postsCount: string;
|
|
441
|
+
share: string;
|
|
442
|
+
shareOn: string;
|
|
443
|
+
copyLink: string;
|
|
444
|
+
linkCopied: string;
|
|
445
|
+
shareEmail: string;
|
|
446
|
+
tableOfContents: string;
|
|
447
|
+
gatedTitle: string;
|
|
448
|
+
gatedDescription: string;
|
|
449
|
+
gatedSignIn: string;
|
|
450
|
+
};
|
|
451
|
+
shop: {
|
|
452
|
+
title: string;
|
|
453
|
+
empty: string;
|
|
454
|
+
priceFrom: string;
|
|
455
|
+
free: string;
|
|
456
|
+
viewProduct: string;
|
|
457
|
+
pageIndicator: string;
|
|
458
|
+
productUnpublishedNotice: string;
|
|
459
|
+
};
|
|
460
|
+
delivery: {
|
|
461
|
+
name: {
|
|
462
|
+
selfPickup: string;
|
|
463
|
+
digitalDelivery: string;
|
|
464
|
+
cvsFallback: string;
|
|
465
|
+
homeFallback: string;
|
|
466
|
+
onDemandFallback: string;
|
|
467
|
+
meetup: string;
|
|
468
|
+
localPickup: string;
|
|
469
|
+
};
|
|
470
|
+
carrier: {
|
|
471
|
+
unimart: string;
|
|
472
|
+
fami: string;
|
|
473
|
+
hilife: string;
|
|
474
|
+
okmart: string;
|
|
475
|
+
tcat: string;
|
|
476
|
+
ecan: string;
|
|
477
|
+
post: string;
|
|
478
|
+
uber: string;
|
|
479
|
+
lalamove: string;
|
|
480
|
+
pandago: string;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
form: {
|
|
484
|
+
submit: string;
|
|
485
|
+
submitting: string;
|
|
486
|
+
success: string;
|
|
487
|
+
redirecting: string;
|
|
488
|
+
error: string;
|
|
489
|
+
required: string;
|
|
490
|
+
invalidEmail: string;
|
|
491
|
+
invalidPhone: string;
|
|
492
|
+
invalidDate: string;
|
|
493
|
+
invalidTime: string;
|
|
494
|
+
tooLong: string;
|
|
495
|
+
otherRequired: string;
|
|
496
|
+
duplicate: string;
|
|
497
|
+
temporarilyUnavailable: string;
|
|
498
|
+
rateLimited: string;
|
|
499
|
+
verificationExpired: string;
|
|
500
|
+
outdated: string;
|
|
501
|
+
tooLarge: string;
|
|
502
|
+
invalid: string;
|
|
503
|
+
tooShort: string;
|
|
504
|
+
invalidNumber: string;
|
|
505
|
+
notInteger: string;
|
|
506
|
+
numberMin: string;
|
|
507
|
+
numberMax: string;
|
|
508
|
+
numberRange: string;
|
|
509
|
+
invalidUrl: string;
|
|
510
|
+
dateMin: string;
|
|
511
|
+
dateMax: string;
|
|
512
|
+
dateRange: string;
|
|
513
|
+
tooFewOptions: string;
|
|
514
|
+
tooManyOptions: string;
|
|
515
|
+
selectPlaceholder: string;
|
|
516
|
+
invalidAddress: string;
|
|
517
|
+
invalidPostalCode: string;
|
|
518
|
+
addressCountry: string;
|
|
519
|
+
addressRecipient: string;
|
|
520
|
+
addressLine1: string;
|
|
521
|
+
addressLine2: string;
|
|
522
|
+
addressPostal_postal: string;
|
|
523
|
+
addressPostal_zip: string;
|
|
524
|
+
addressPostal_pin: string;
|
|
525
|
+
addressPostal_eircode: string;
|
|
526
|
+
addressLocality_city: string;
|
|
527
|
+
addressLocality_district: string;
|
|
528
|
+
addressLocality_post_town: string;
|
|
529
|
+
addressLocality_suburb: string;
|
|
530
|
+
addressRegion_area: string;
|
|
531
|
+
addressRegion_county: string;
|
|
532
|
+
addressRegion_department: string;
|
|
533
|
+
addressRegion_district: string;
|
|
534
|
+
addressRegion_do_si: string;
|
|
535
|
+
addressRegion_emirate: string;
|
|
536
|
+
addressRegion_island: string;
|
|
537
|
+
addressRegion_oblast: string;
|
|
538
|
+
addressRegion_parish: string;
|
|
539
|
+
addressRegion_prefecture: string;
|
|
540
|
+
addressRegion_province: string;
|
|
541
|
+
addressRegion_state: string;
|
|
542
|
+
otherOption: string;
|
|
543
|
+
otherPlaceholder: string;
|
|
544
|
+
closed: string;
|
|
545
|
+
fileChoose: string;
|
|
546
|
+
fileLimitHint: string;
|
|
547
|
+
fileWaiting: string;
|
|
548
|
+
fileUploading: string;
|
|
549
|
+
fileUploadFailed: string;
|
|
550
|
+
fileTooLarge: string;
|
|
551
|
+
fileTypeNotAllowed: string;
|
|
552
|
+
fileUnavailable: string;
|
|
553
|
+
fileRemove: string;
|
|
554
|
+
marketingOptIn: string;
|
|
555
|
+
subscribeOnSubmit: string;
|
|
556
|
+
notOpenYet: string;
|
|
557
|
+
full: string;
|
|
558
|
+
invalidTaxId: string;
|
|
559
|
+
taxIdChecking: string;
|
|
560
|
+
taxIdRegisteredName: string;
|
|
561
|
+
taxIdInactive: string;
|
|
562
|
+
taxIdSource: string;
|
|
563
|
+
};
|
|
564
|
+
ui: {
|
|
565
|
+
navItems: string;
|
|
566
|
+
contactUs: string;
|
|
567
|
+
backToTop: string;
|
|
568
|
+
backToHome: string;
|
|
569
|
+
footerNavAriaLabel: string;
|
|
570
|
+
navMenu: string;
|
|
571
|
+
openMenu: string;
|
|
572
|
+
closeMenu: string;
|
|
573
|
+
close: string;
|
|
574
|
+
decreaseQuantity: string;
|
|
575
|
+
increaseQuantity: string;
|
|
576
|
+
buyNow: string;
|
|
577
|
+
selectOption: string;
|
|
578
|
+
variantUnavailable: string;
|
|
579
|
+
soldOut: string;
|
|
580
|
+
addToCart: string;
|
|
581
|
+
addedToCart: string;
|
|
582
|
+
cart: string;
|
|
583
|
+
cartEmpty: string;
|
|
584
|
+
cartCheckout: string;
|
|
585
|
+
cartSubtotal: string;
|
|
586
|
+
cartTotal: string;
|
|
587
|
+
cartDiscount: string;
|
|
588
|
+
cartEstimatedShipping: string;
|
|
589
|
+
cartRemove: string;
|
|
590
|
+
cartContinueShopping: string;
|
|
591
|
+
cartItemUnavailable: string;
|
|
592
|
+
cartNoCommonDelivery: string;
|
|
593
|
+
cartStorePaused: string;
|
|
594
|
+
cartComingSoon: string;
|
|
595
|
+
cartLoadFailed: string;
|
|
596
|
+
viewCart: string;
|
|
597
|
+
cartPurchaseLimit: string;
|
|
598
|
+
cartShippingAtCheckout: string;
|
|
599
|
+
cartFreeShipping: string;
|
|
600
|
+
cartFreeShippingRemaining: string;
|
|
601
|
+
cartFreeShippingReached: string;
|
|
602
|
+
cartSecureCheckout: string;
|
|
603
|
+
cartStartShopping: string;
|
|
604
|
+
cartEstimatedTotal: string;
|
|
605
|
+
checkoutArchived: string;
|
|
606
|
+
checkoutStorePaused: string;
|
|
607
|
+
checkoutComingSoon: string;
|
|
608
|
+
quickBuyPreviewHint: string;
|
|
609
|
+
getFree: string;
|
|
610
|
+
customAmount: string;
|
|
611
|
+
planFallbackName: string;
|
|
612
|
+
noPlansAvailable: string;
|
|
613
|
+
quantity: string;
|
|
614
|
+
selectPlan: string;
|
|
615
|
+
choosePlan: string;
|
|
616
|
+
minutesRead: string;
|
|
617
|
+
published: string;
|
|
618
|
+
noArticles: string;
|
|
619
|
+
draftArticleNotice: string;
|
|
620
|
+
autoDisplayPublishedArticles: string;
|
|
621
|
+
tableOfContents: string;
|
|
622
|
+
previous: string;
|
|
623
|
+
next: string;
|
|
624
|
+
clickToRead: string;
|
|
625
|
+
pdfPages: string;
|
|
626
|
+
download: string;
|
|
627
|
+
monday: string;
|
|
628
|
+
tuesday: string;
|
|
629
|
+
wednesday: string;
|
|
630
|
+
thursday: string;
|
|
631
|
+
friday: string;
|
|
632
|
+
saturday: string;
|
|
633
|
+
sunday: string;
|
|
634
|
+
closed: string;
|
|
635
|
+
sold: string;
|
|
636
|
+
reviews: string;
|
|
637
|
+
reviewDialogTitle: string;
|
|
638
|
+
reviewDialogHistoricalNote: string;
|
|
639
|
+
reviewDialogLoadMore: string;
|
|
640
|
+
reviewVerifiedPurchase: string;
|
|
641
|
+
reviewStoreReply: string;
|
|
642
|
+
showMore: string;
|
|
643
|
+
showLess: string;
|
|
644
|
+
skipToContent: string;
|
|
645
|
+
mainNavigation: string;
|
|
646
|
+
mobileNavigation: string;
|
|
647
|
+
moreNav: string;
|
|
648
|
+
followUs: string;
|
|
649
|
+
socialProfileLink: string;
|
|
650
|
+
carouselProgress: string;
|
|
651
|
+
slideImage: string;
|
|
652
|
+
slideCard: string;
|
|
653
|
+
goToItem: string;
|
|
654
|
+
enlargeImage: string;
|
|
655
|
+
imageShareTitle: string;
|
|
656
|
+
imageShareText: string;
|
|
657
|
+
resetZoom: string;
|
|
658
|
+
zoomIn: string;
|
|
659
|
+
zoomOut: string;
|
|
660
|
+
downloadImage: string;
|
|
661
|
+
share: string;
|
|
662
|
+
loading: string;
|
|
663
|
+
retry: string;
|
|
664
|
+
untitledFile: string;
|
|
665
|
+
pdfViewer: string;
|
|
666
|
+
pdfLoadFailed: string;
|
|
667
|
+
pdfJumpToPage: string;
|
|
668
|
+
pdfEnterPage: string;
|
|
669
|
+
pdfPageStatus: string;
|
|
670
|
+
pdfThumbnails: string;
|
|
671
|
+
pdfGoToPage: string;
|
|
672
|
+
playerPlay: string;
|
|
673
|
+
playerPause: string;
|
|
674
|
+
playerReplay: string;
|
|
675
|
+
playerMute: string;
|
|
676
|
+
playerUnmute: string;
|
|
677
|
+
playerVolume: string;
|
|
678
|
+
playerSeekBackward: string;
|
|
679
|
+
playerSeekForward: string;
|
|
680
|
+
playerSpeed: string;
|
|
681
|
+
playerSpeedNormal: string;
|
|
682
|
+
playerPip: string;
|
|
683
|
+
playerAirPlay: string;
|
|
684
|
+
playerCast: string;
|
|
685
|
+
playerFullscreen: string;
|
|
686
|
+
playerExitFullscreen: string;
|
|
687
|
+
playerPipActive: string;
|
|
688
|
+
playerPipReturn: string;
|
|
689
|
+
playerSettings: string;
|
|
690
|
+
playerQuality: string;
|
|
691
|
+
playerQualityAuto: string;
|
|
692
|
+
playerQualityProcessing: string;
|
|
693
|
+
playerBuffering: string;
|
|
694
|
+
playerCaptions: string;
|
|
695
|
+
playerCaptionsOff: string;
|
|
696
|
+
playerCaptionsAuto: string;
|
|
697
|
+
playerCaptionsTranslated: string;
|
|
698
|
+
countdown: string;
|
|
699
|
+
countdownDays: string;
|
|
700
|
+
countdownHours: string;
|
|
701
|
+
countdownMinutes: string;
|
|
702
|
+
countdownSeconds: string;
|
|
703
|
+
countdownRemaining: string;
|
|
704
|
+
countdownEnded: string;
|
|
705
|
+
countdownEndsAt: string;
|
|
706
|
+
openInGoogleMaps: string;
|
|
707
|
+
address: string;
|
|
708
|
+
phone: string;
|
|
709
|
+
copyAddress: string;
|
|
710
|
+
openingHours: string;
|
|
711
|
+
showAllHours: string;
|
|
712
|
+
hideAllHours: string;
|
|
713
|
+
todayTag: string;
|
|
714
|
+
freeShippingThreshold: string;
|
|
715
|
+
ordersOver: string;
|
|
716
|
+
belowThresholdFee: string;
|
|
717
|
+
selectDistanceTier: string;
|
|
718
|
+
invalidAmount: string;
|
|
719
|
+
minimumAmount: string;
|
|
720
|
+
announcement: string;
|
|
721
|
+
closeAnnouncement: string;
|
|
722
|
+
botProtection: string;
|
|
723
|
+
botProtectionLoading: string;
|
|
724
|
+
playFacebookVideo: string;
|
|
725
|
+
playYouTubeVideo: string;
|
|
726
|
+
embedUnavailable: string;
|
|
727
|
+
embedViewOn: string;
|
|
728
|
+
embedLoadFailed: string;
|
|
729
|
+
pinterestLoadFailed: string;
|
|
730
|
+
youtubeVideo: string;
|
|
731
|
+
tiktokVideo: string;
|
|
732
|
+
behanceProject: string;
|
|
733
|
+
facebookPost: string;
|
|
734
|
+
instagramPost: string;
|
|
735
|
+
threadsPost: string;
|
|
736
|
+
googleForm: string;
|
|
737
|
+
surveyCakeForm: string;
|
|
738
|
+
applePodcastEpisode: string;
|
|
739
|
+
kanorioBannerTagline: string;
|
|
740
|
+
kanorioBannerCta: string;
|
|
741
|
+
kanorioBannerTaglineExpanded: string;
|
|
742
|
+
kanorioBannerCtaExpanded: string;
|
|
743
|
+
brandLogoAlt: string;
|
|
744
|
+
openLink: string;
|
|
745
|
+
opensInNewWindow: string;
|
|
746
|
+
productImage: string;
|
|
747
|
+
phonePlaceholder: string;
|
|
748
|
+
selectCountry: string;
|
|
749
|
+
countrySearch: string;
|
|
750
|
+
countryNoMatch: string;
|
|
751
|
+
countryGroupCommon: string;
|
|
752
|
+
countryGroupAll: string;
|
|
753
|
+
businessHoursNotSet: string;
|
|
754
|
+
businessClosed: string;
|
|
755
|
+
businessClosedOpensAt: string;
|
|
756
|
+
businessTomorrow: string;
|
|
757
|
+
businessToday: string;
|
|
758
|
+
businessClosingSoon: string;
|
|
759
|
+
businessOpenUntil: string;
|
|
760
|
+
signIn: string;
|
|
761
|
+
myAccount: string;
|
|
762
|
+
language: string;
|
|
763
|
+
selectLanguage: string;
|
|
764
|
+
breadcrumbExpand: string;
|
|
765
|
+
};
|
|
766
|
+
productInfo: {
|
|
767
|
+
payment: string;
|
|
768
|
+
delivery: string;
|
|
769
|
+
leadTime: string;
|
|
770
|
+
invoice: string;
|
|
771
|
+
invoiceAutoIssue: string;
|
|
772
|
+
returns: string;
|
|
773
|
+
returnPolicyLink: string;
|
|
774
|
+
instantAccess: string;
|
|
775
|
+
purchaseNotes: string;
|
|
776
|
+
freeShipping: string;
|
|
777
|
+
freeShippingOver: string;
|
|
778
|
+
transitDays: string;
|
|
779
|
+
};
|
|
780
|
+
promotion: {
|
|
781
|
+
badgePercentage: string;
|
|
782
|
+
badgeFixedAmount: string;
|
|
783
|
+
badgeOverridePrice: string;
|
|
784
|
+
badgeFlashSale: string;
|
|
785
|
+
badgeTimeLimited: string;
|
|
786
|
+
badgeFirstPurchase: string;
|
|
787
|
+
badgeReturning: string;
|
|
788
|
+
badgeQuantity: string;
|
|
789
|
+
badgeSpendThreshold: string;
|
|
790
|
+
taglinePercentageOff: string;
|
|
791
|
+
taglineFixedOff: string;
|
|
792
|
+
taglineOverridePrice: string;
|
|
793
|
+
taglineFirstPurchase: string;
|
|
794
|
+
taglineReturning: string;
|
|
795
|
+
taglineQuantityMin: string;
|
|
796
|
+
taglineSpendMin: string;
|
|
797
|
+
taglineWithCondition: string;
|
|
798
|
+
taglineEndsSoon: string;
|
|
799
|
+
taglineLimited: string;
|
|
800
|
+
};
|
|
801
|
+
search: {
|
|
802
|
+
button: string;
|
|
803
|
+
dialogTitle: string;
|
|
804
|
+
placeholder: string;
|
|
805
|
+
keyboardHint: string;
|
|
806
|
+
soldOut: string;
|
|
807
|
+
tooShort: string;
|
|
808
|
+
resultCount: string;
|
|
809
|
+
noResults: string;
|
|
810
|
+
noResultsHint: string;
|
|
811
|
+
browseBlog: string;
|
|
812
|
+
browseShop: string;
|
|
813
|
+
viewAll: string;
|
|
814
|
+
loading: string;
|
|
815
|
+
error: string;
|
|
816
|
+
retry: string;
|
|
817
|
+
recent: string;
|
|
818
|
+
clearRecent: string;
|
|
819
|
+
previewNotice: string;
|
|
820
|
+
pageTitle: string;
|
|
821
|
+
resultsFor: string;
|
|
822
|
+
submit: string;
|
|
823
|
+
};
|
|
824
|
+
account: {
|
|
825
|
+
title: string;
|
|
826
|
+
signInTitle: string;
|
|
827
|
+
signInSubtitle: string;
|
|
828
|
+
signInSubtitleChoose: string;
|
|
829
|
+
emailCodeHint: string;
|
|
830
|
+
continueWithEmail: string;
|
|
831
|
+
orContinueWith: string;
|
|
832
|
+
continueWithPasskey: string;
|
|
833
|
+
continueWithGoogle: string;
|
|
834
|
+
continueWithProvider: string;
|
|
835
|
+
lastUsed: string;
|
|
836
|
+
codeStepTitle: string;
|
|
837
|
+
codeSentHint: string;
|
|
838
|
+
codeLabel: string;
|
|
839
|
+
verifyAndSignIn: string;
|
|
840
|
+
verifying: string;
|
|
841
|
+
sendingCode: string;
|
|
842
|
+
resendCode: string;
|
|
843
|
+
resendIn: string;
|
|
844
|
+
useAnotherEmail: string;
|
|
845
|
+
signedInContinue: string;
|
|
846
|
+
sessionChecking: string;
|
|
847
|
+
signOut: string;
|
|
848
|
+
passkeyOfferTitle: string;
|
|
849
|
+
passkeyOfferBody: string;
|
|
850
|
+
passkeyOfferCreate: string;
|
|
851
|
+
passkeyOfferSkip: string;
|
|
852
|
+
inAppBrowserTitle: string;
|
|
853
|
+
inAppBrowserBody: string;
|
|
854
|
+
inAppBrowserCopyLink: string;
|
|
855
|
+
inAppBrowserCopied: string;
|
|
856
|
+
inAppBrowserUseEmail: string;
|
|
857
|
+
errorSignupDisabled: string;
|
|
858
|
+
errorSendFailed: string;
|
|
859
|
+
errorMethodDisabled: string;
|
|
860
|
+
errorEmailNotVerified: string;
|
|
861
|
+
errorNoEmail: string;
|
|
862
|
+
errorProviderFailed: string;
|
|
863
|
+
errorPasskeyUnsupported: string;
|
|
864
|
+
errorPasskeyFailed: string;
|
|
865
|
+
errorPasskeyAlreadyRegistered: string;
|
|
866
|
+
errorServiceUnavailable: string;
|
|
867
|
+
errorEmailSignInPaused: string;
|
|
868
|
+
emailLabel: string;
|
|
869
|
+
emailPlaceholder: string;
|
|
870
|
+
nav: {
|
|
871
|
+
orders: string;
|
|
872
|
+
content: string;
|
|
873
|
+
account: string;
|
|
874
|
+
};
|
|
875
|
+
shell: {
|
|
876
|
+
backToSite: string;
|
|
877
|
+
menu: string;
|
|
878
|
+
signedInAs: string;
|
|
879
|
+
providedBy: string;
|
|
880
|
+
};
|
|
881
|
+
ordersEmptyTitle: string;
|
|
882
|
+
ordersEmptyDescription: string;
|
|
883
|
+
orderNumber: string;
|
|
884
|
+
orderStatusLabel: string;
|
|
885
|
+
orderStatusPaid: string;
|
|
886
|
+
orderStatusPartiallyRefunded: string;
|
|
887
|
+
orderStatusRefunded: string;
|
|
888
|
+
orderStatusDisputed: string;
|
|
889
|
+
orderStatusReversed: string;
|
|
890
|
+
orderStatusUnpaid: string;
|
|
891
|
+
orderStatusCancelled: string;
|
|
892
|
+
orderViewDetail: string;
|
|
893
|
+
orderBackToList: string;
|
|
894
|
+
orderPlacedAt: string;
|
|
895
|
+
orderDownloadReceipt: string;
|
|
896
|
+
contentEmptyTitle: string;
|
|
897
|
+
contentEmptyDescription: string;
|
|
898
|
+
contentExpiredBadge: string;
|
|
899
|
+
contentExpiresOn: string;
|
|
900
|
+
contentAvailableFrom: string;
|
|
901
|
+
contentOpen: string;
|
|
902
|
+
contentDownload: string;
|
|
903
|
+
contentUnitsCount: string;
|
|
904
|
+
contentProgress: string;
|
|
905
|
+
contentWatchedMinutes: string;
|
|
906
|
+
contentWatchedHours: string;
|
|
907
|
+
contentLastWatched: string;
|
|
908
|
+
contentCompleted: string;
|
|
909
|
+
contentMarkComplete: string;
|
|
910
|
+
contentOptional: string;
|
|
911
|
+
contentQuizSubmit: string;
|
|
912
|
+
contentQuizScore: string;
|
|
913
|
+
contentQuizPassed: string;
|
|
914
|
+
contentQuizFailed: string;
|
|
915
|
+
contentQuizAttemptsLeft: string;
|
|
916
|
+
contentQuizNoAttempts: string;
|
|
917
|
+
contentQuizRetry: string;
|
|
918
|
+
contentQuizPassingScore: string;
|
|
919
|
+
contentQuizNotReady: string;
|
|
920
|
+
contentQuizSelectAll: string;
|
|
921
|
+
contentQuizCorrectCount: string;
|
|
922
|
+
contentQuizPracticeHint: string;
|
|
923
|
+
contentQuizPracticeAgain: string;
|
|
924
|
+
contentQuizAcceptedAnswers: string;
|
|
925
|
+
contentQuizTextPlaceholder: string;
|
|
926
|
+
contentQuizNumericPlaceholder: string;
|
|
927
|
+
contentQuizCorrectMark: string;
|
|
928
|
+
contentQuizWrongMark: string;
|
|
929
|
+
contentCertificateDownload: string;
|
|
930
|
+
contentAutoplayNext: string;
|
|
931
|
+
contentCompleteAndContinue: string;
|
|
932
|
+
contentCompleteToContinue: string;
|
|
933
|
+
contentOutline: string;
|
|
934
|
+
contentShowOutline: string;
|
|
935
|
+
contentHideOutline: string;
|
|
936
|
+
contentCloseOutline: string;
|
|
937
|
+
contentSettings: string;
|
|
938
|
+
contentMinutes: string;
|
|
939
|
+
contentPages: string;
|
|
940
|
+
contentUnitEmpty: string;
|
|
941
|
+
contentRetry: string;
|
|
942
|
+
contentLastViewed: string;
|
|
943
|
+
contentCourseCompletedTitle: string;
|
|
944
|
+
contentCourseCompletedOn: string;
|
|
945
|
+
contentKeepBrowsing: string;
|
|
946
|
+
contentAttachments: string;
|
|
947
|
+
contentDownloadFile: string;
|
|
948
|
+
contentTranscript: string;
|
|
949
|
+
contentTranscriptShow: string;
|
|
950
|
+
contentTranscriptHide: string;
|
|
951
|
+
contentTranscriptSearch: string;
|
|
952
|
+
contentTranscriptMatches: string;
|
|
953
|
+
contentTranscriptNoResults: string;
|
|
954
|
+
contentTranscriptDownload: string;
|
|
955
|
+
contentTranscriptLanguage: string;
|
|
956
|
+
contentTranscriptFollow: string;
|
|
957
|
+
contentTranscriptAutoGenerated: string;
|
|
958
|
+
contentTranscriptAutoTranslated: string;
|
|
959
|
+
contentContinueWith: string;
|
|
960
|
+
contentStartCourse: string;
|
|
961
|
+
contentOpenFiles: string;
|
|
962
|
+
contentCompletedOn: string;
|
|
963
|
+
certificateTitle: string;
|
|
964
|
+
certificateAwardedTo: string;
|
|
965
|
+
certificateCompleted: string;
|
|
966
|
+
certificateIssuedOn: string;
|
|
967
|
+
certificateSerial: string;
|
|
968
|
+
certificateSampleName: string;
|
|
969
|
+
certificatePreviewWatermark: string;
|
|
970
|
+
certificateLinkExpiredTitle: string;
|
|
971
|
+
certificateLinkExpiredBody: string;
|
|
972
|
+
certificateLinkInvalidTitle: string;
|
|
973
|
+
certificateLinkInvalidBody: string;
|
|
974
|
+
certificateLinkBusyTitle: string;
|
|
975
|
+
certificateLinkBusyBody: string;
|
|
976
|
+
contentContinue: string;
|
|
977
|
+
contentStart: string;
|
|
978
|
+
contentLocked: string;
|
|
979
|
+
contentPreviewBadge: string;
|
|
980
|
+
contentUnlocksAt: string;
|
|
981
|
+
contentLockedBy: string;
|
|
982
|
+
contentBackToList: string;
|
|
983
|
+
contentNextUnit: string;
|
|
984
|
+
contentPreviousUnit: string;
|
|
985
|
+
contentLoadError: string;
|
|
986
|
+
contentNoUnits: string;
|
|
987
|
+
profileNameLabel: string;
|
|
988
|
+
profileNamePlaceholder: string;
|
|
989
|
+
profileEmailLabel: string;
|
|
990
|
+
profileInvoiceTitle: string;
|
|
991
|
+
profileInvoiceKindLabel: string;
|
|
992
|
+
profileInvoicePersonal: string;
|
|
993
|
+
profileInvoiceMobile: string;
|
|
994
|
+
profileInvoiceCitizen: string;
|
|
995
|
+
profileInvoiceDonate: string;
|
|
996
|
+
profileInvoiceCompany: string;
|
|
997
|
+
profileMobileBarcodePlaceholder: string;
|
|
998
|
+
profileCitizenCertPlaceholder: string;
|
|
999
|
+
profileDonateCodePlaceholder: string;
|
|
1000
|
+
profileCompanyTaxIdLabel: string;
|
|
1001
|
+
profileCompanyTaxIdPlaceholder: string;
|
|
1002
|
+
profileCompanyTitleLabel: string;
|
|
1003
|
+
profileCompanyTitlePlaceholder: string;
|
|
1004
|
+
profileSave: string;
|
|
1005
|
+
profileSaving: string;
|
|
1006
|
+
profileSaved: string;
|
|
1007
|
+
devicesDescription: string;
|
|
1008
|
+
deviceCurrent: string;
|
|
1009
|
+
deviceUnknown: string;
|
|
1010
|
+
deviceLastActive: string;
|
|
1011
|
+
deviceSignOut: string;
|
|
1012
|
+
deviceSignOutOthers: string;
|
|
1013
|
+
errorInvalidEmail: string;
|
|
1014
|
+
errorInvalidCode: string;
|
|
1015
|
+
errorCodeExpired: string;
|
|
1016
|
+
errorTooManyAttempts: string;
|
|
1017
|
+
errorAccountBlocked: string;
|
|
1018
|
+
errorRateLimited: string;
|
|
1019
|
+
errorBotProtection: string;
|
|
1020
|
+
errorGeneric: string;
|
|
1021
|
+
taxIdentityPending: string;
|
|
1022
|
+
taxIdentityVerified: string;
|
|
1023
|
+
taxIdentityNotFound: string;
|
|
1024
|
+
taxIdentityUnavailable: string;
|
|
1025
|
+
settings: {
|
|
1026
|
+
intro: string;
|
|
1027
|
+
common: {
|
|
1028
|
+
save: string;
|
|
1029
|
+
saving: string;
|
|
1030
|
+
saved: string;
|
|
1031
|
+
cancel: string;
|
|
1032
|
+
close: string;
|
|
1033
|
+
remove: string;
|
|
1034
|
+
edit: string;
|
|
1035
|
+
add: string;
|
|
1036
|
+
confirm: string;
|
|
1037
|
+
optional: string;
|
|
1038
|
+
};
|
|
1039
|
+
profile: {
|
|
1040
|
+
title: string;
|
|
1041
|
+
description: string;
|
|
1042
|
+
nameLabel: string;
|
|
1043
|
+
namePlaceholder: string;
|
|
1044
|
+
};
|
|
1045
|
+
email: {
|
|
1046
|
+
title: string;
|
|
1047
|
+
description: string;
|
|
1048
|
+
currentLabel: string;
|
|
1049
|
+
changeAction: string;
|
|
1050
|
+
newLabel: string;
|
|
1051
|
+
sendCode: string;
|
|
1052
|
+
codeSentTo: string;
|
|
1053
|
+
codeLabel: string;
|
|
1054
|
+
confirmAction: string;
|
|
1055
|
+
resend: string;
|
|
1056
|
+
changed: string;
|
|
1057
|
+
errorInUse: string;
|
|
1058
|
+
errorSame: string;
|
|
1059
|
+
errorInvalid: string;
|
|
1060
|
+
errorInvalidCode: string;
|
|
1061
|
+
errorCodeExpired: string;
|
|
1062
|
+
errorTooManyAttempts: string;
|
|
1063
|
+
};
|
|
1064
|
+
addresses: {
|
|
1065
|
+
title: string;
|
|
1066
|
+
description: string;
|
|
1067
|
+
empty: string;
|
|
1068
|
+
add: string;
|
|
1069
|
+
dialogAddTitle: string;
|
|
1070
|
+
dialogEditTitle: string;
|
|
1071
|
+
kindLabel: string;
|
|
1072
|
+
kindShipping: string;
|
|
1073
|
+
kindBilling: string;
|
|
1074
|
+
phoneLabel: string;
|
|
1075
|
+
setDefault: string;
|
|
1076
|
+
defaultBadge: string;
|
|
1077
|
+
saveAction: string;
|
|
1078
|
+
confirmRemoveTitle: string;
|
|
1079
|
+
confirmRemoveBody: string;
|
|
1080
|
+
errorInvalid: string;
|
|
1081
|
+
errorPhone: string;
|
|
1082
|
+
errorRequired: string;
|
|
1083
|
+
errorPostalCode: string;
|
|
1084
|
+
errorLimit: string;
|
|
1085
|
+
};
|
|
1086
|
+
taxIds: {
|
|
1087
|
+
title: string;
|
|
1088
|
+
description: string;
|
|
1089
|
+
empty: string;
|
|
1090
|
+
add: string;
|
|
1091
|
+
dialogAddTitle: string;
|
|
1092
|
+
dialogEditTitle: string;
|
|
1093
|
+
countryLabel: string;
|
|
1094
|
+
typeLabel: string;
|
|
1095
|
+
valueLabel: string;
|
|
1096
|
+
nameLabel: string;
|
|
1097
|
+
addressLabel: string;
|
|
1098
|
+
saveAction: string;
|
|
1099
|
+
confirmRemoveTitle: string;
|
|
1100
|
+
confirmRemoveBody: string;
|
|
1101
|
+
errorInvalid: string;
|
|
1102
|
+
errorUnsupported: string;
|
|
1103
|
+
statusVerified: string;
|
|
1104
|
+
statusPending: string;
|
|
1105
|
+
statusNotFound: string;
|
|
1106
|
+
statusUnavailable: string;
|
|
1107
|
+
statusValidFormat: string;
|
|
1108
|
+
statusInvalidFormat: string;
|
|
1109
|
+
type_tw_vat: string;
|
|
1110
|
+
type_hk_br: string;
|
|
1111
|
+
type_jp_trn: string;
|
|
1112
|
+
type_kr_brn: string;
|
|
1113
|
+
type_eu_vat: string;
|
|
1114
|
+
type_sg_uen: string;
|
|
1115
|
+
type_my_itn: string;
|
|
1116
|
+
type_my_sst: string;
|
|
1117
|
+
};
|
|
1118
|
+
invoice: {
|
|
1119
|
+
companyUsesTaxId: string;
|
|
1120
|
+
companyNeedsTaxId: string;
|
|
1121
|
+
};
|
|
1122
|
+
marketing: {
|
|
1123
|
+
title: string;
|
|
1124
|
+
description: string;
|
|
1125
|
+
empty: string;
|
|
1126
|
+
channel_EMAIL: string;
|
|
1127
|
+
channel_SMS: string;
|
|
1128
|
+
channel_LINE: string;
|
|
1129
|
+
channel_WHATSAPP: string;
|
|
1130
|
+
subscribed: string;
|
|
1131
|
+
notSubscribed: string;
|
|
1132
|
+
pendingConfirmation: string;
|
|
1133
|
+
locked: string;
|
|
1134
|
+
};
|
|
1135
|
+
loginMethods: {
|
|
1136
|
+
title: string;
|
|
1137
|
+
description: string;
|
|
1138
|
+
emailCode: string;
|
|
1139
|
+
emailCodeHint: string;
|
|
1140
|
+
passkeysTitle: string;
|
|
1141
|
+
noPasskeys: string;
|
|
1142
|
+
addPasskey: string;
|
|
1143
|
+
passkeyAdded: string;
|
|
1144
|
+
passkeyCreated: string;
|
|
1145
|
+
passkeyLastUsed: string;
|
|
1146
|
+
passkeyNeverUsed: string;
|
|
1147
|
+
passkeyStale: string;
|
|
1148
|
+
passkeyUnsupported: string;
|
|
1149
|
+
passkeyFailed: string;
|
|
1150
|
+
confirmRemoveTitle: string;
|
|
1151
|
+
confirmRemoveBody: string;
|
|
1152
|
+
};
|
|
1153
|
+
devices: {
|
|
1154
|
+
title: string;
|
|
1155
|
+
};
|
|
1156
|
+
data: {
|
|
1157
|
+
title: string;
|
|
1158
|
+
description: string;
|
|
1159
|
+
download: string;
|
|
1160
|
+
downloadHint: string;
|
|
1161
|
+
deleteTitle: string;
|
|
1162
|
+
deleteBody: string;
|
|
1163
|
+
deleteAction: string;
|
|
1164
|
+
deleteConfirmTitle: string;
|
|
1165
|
+
deleteConfirmBody: string;
|
|
1166
|
+
deleteConfirmAction: string;
|
|
1167
|
+
pendingTitle: string;
|
|
1168
|
+
pendingBody: string;
|
|
1169
|
+
cancelDeletion: string;
|
|
1170
|
+
canceled: string;
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
oauth2: {
|
|
1174
|
+
returnHint: string;
|
|
1175
|
+
errorTitle: string;
|
|
1176
|
+
errorRedirect: string;
|
|
1177
|
+
errorRequest: string;
|
|
1178
|
+
errorBlocked: string;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
unsubscribe: {
|
|
1182
|
+
confirmTitle: string;
|
|
1183
|
+
confirmHeading: string;
|
|
1184
|
+
confirmBody: string;
|
|
1185
|
+
confirmButton: string;
|
|
1186
|
+
doneTitle: string;
|
|
1187
|
+
doneHeading: string;
|
|
1188
|
+
doneBody: string;
|
|
1189
|
+
resubscribeButton: string;
|
|
1190
|
+
resubscribedTitle: string;
|
|
1191
|
+
resubscribedHeading: string;
|
|
1192
|
+
resubscribedBody: string;
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
type KanorioTheme = "dark" | "light" | "auto";
|
|
1197
|
+
/** The `GET /site` response (site id, brand, media protection, list page states) */
|
|
1198
|
+
type KanorioSiteMeta = DeliveryPaths["/site"]["get"]["responses"][200]["content"]["application/json"];
|
|
1199
|
+
type KanorioSiteBrand = KanorioSiteMeta["brand"];
|
|
1200
|
+
interface KanorioConfig {
|
|
1201
|
+
/** For example `https://demo.kanorio.com`; defaults to the current URL's origin (when Elements and the site share a domain) */
|
|
1202
|
+
siteUrl?: string;
|
|
1203
|
+
/** Customer Bearer; read from `localStorage["kanorio.customer.token"]` when omitted (written by `<kanorio-login>`) */
|
|
1204
|
+
token?: string | null;
|
|
1205
|
+
/** Text locale; read from `<html lang>` when omitted, then en */
|
|
1206
|
+
locale?: string;
|
|
1207
|
+
theme?: KanorioTheme;
|
|
1208
|
+
timeZone?: string | null;
|
|
1209
|
+
/** Applies the site brand (brand color, corner radius, font) to the element automatically; with `false` only the host page's CSS variables are used */
|
|
1210
|
+
brand?: boolean;
|
|
1211
|
+
}
|
|
1212
|
+
interface KanorioContextValue {
|
|
1213
|
+
siteUrl: string;
|
|
1214
|
+
token: string | null;
|
|
1215
|
+
setToken: (token: string | null) => void;
|
|
1216
|
+
/**
|
|
1217
|
+
* The locale the element is drawn in: the one asked for (`locale`, `<html lang>`, en) once its text has loaded. While the text of
|
|
1218
|
+
* another locale loads, or when it cannot be loaded, the element stays in the locale it shows: text, brand font and requests alike.
|
|
1219
|
+
*/
|
|
1220
|
+
locale: string;
|
|
1221
|
+
theme: KanorioTheme;
|
|
1222
|
+
timeZone: string | null;
|
|
1223
|
+
/** The visitor text of `locale`; null until the element's first text has loaded */
|
|
1224
|
+
messages: VisitorMessages | null;
|
|
1225
|
+
/** The text of the locale asked for could not be loaded: an element without text cannot draw, one with text keeps it */
|
|
1226
|
+
messagesError: boolean;
|
|
1227
|
+
client: CustomerContentClientLike;
|
|
1228
|
+
/**
|
|
1229
|
+
* The brand the element's root carries (`data-kanorio-brand`): the site and font locale, once the site is read and while the brand is
|
|
1230
|
+
* applied; null otherwise. Roots and popups without it take no brand from Kanorio, only the host page's own variables.
|
|
1231
|
+
*/
|
|
1232
|
+
brandScope: string | null;
|
|
1233
|
+
/**
|
|
1234
|
+
* Site meta (`GET /site`, not read with `brand: false` unless the element needs it itself); null while loading or on failure, and
|
|
1235
|
+
* `siteError` is true on failure. After `clearSiteMetaCache()` an element keeps the site it shows until the new one has arrived, also
|
|
1236
|
+
* when that read fails (`site` and `siteError` are then both set)
|
|
1237
|
+
*/
|
|
1238
|
+
site: KanorioSiteMeta | null;
|
|
1239
|
+
siteError: boolean;
|
|
1240
|
+
}
|
|
1241
|
+
declare const TOKEN_CHANGE_EVENT = "kanorio:token-change";
|
|
1242
|
+
/** Loads the visitor-facing text of a locale, once for the page (the elements showing that locale use it); rejects when it cannot be loaded */
|
|
1243
|
+
declare function loadElementsMessages(locale: string): Promise<VisitorMessages>;
|
|
1244
|
+
/** Site meta; null on failure, asked for again by the next element that mounts */
|
|
1245
|
+
declare function loadSiteMeta(siteUrl: string): Promise<KanorioSiteMeta | null>;
|
|
1246
|
+
/**
|
|
1247
|
+
* Drops the site meta read so far (for example after the brand was changed): `loadSiteMeta()` and every element mounted afterwards
|
|
1248
|
+
* read it again and wait for the answer. An element already showing a site reads it again too and keeps the one it shows until the
|
|
1249
|
+
* new one arrives, so a form on screen is not unmounted.
|
|
1250
|
+
*/
|
|
1251
|
+
declare function clearSiteMetaCache(): void;
|
|
1252
|
+
/**
|
|
1253
|
+
* The site meta for an element. With `enabled` false no request is made and nothing is subscribed to (for example `brand: false` when
|
|
1254
|
+
* the component itself needs no site meta). After `clearSiteMetaCache()` the element keeps the site it shows until the new one has
|
|
1255
|
+
* arrived, and when that read fails (`error`): going back to its loading state would unmount a form with what the visitor typed.
|
|
1256
|
+
*/
|
|
1257
|
+
declare function useSiteMeta(siteUrl: string, enabled?: boolean): {
|
|
1258
|
+
site: KanorioSiteMeta | null;
|
|
1259
|
+
error: boolean;
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Brand to CSS, for a host that injects the brand itself (with `brand={false}`): rules for every root, popup and Kanorio part on the
|
|
1263
|
+
* page. Color values, radius sizes and font families are computed by the Delivery API; this only lays them out
|
|
1264
|
+
*/
|
|
1265
|
+
declare function brandCss(brand: KanorioSiteBrand, locale: string): string;
|
|
1266
|
+
/**
|
|
1267
|
+
* Context only: renders no element of its own (like Stripe's `<Elements>`). Its settings reach the elements inside it, and each of
|
|
1268
|
+
* them renders its own themed root. A wrapper element here would sit around the host page's content as well and give it the text
|
|
1269
|
+
* colour, font, dark colours and resets of the elements, and its theme would make every element inside it dark.
|
|
1270
|
+
*/
|
|
1271
|
+
declare function KanorioProvider({ children, siteUrl, token, locale, theme, timeZone, brand }: KanorioConfig & {
|
|
1272
|
+
children: ReactNode;
|
|
1273
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1274
|
+
/** The context of an element: the settings of the surrounding provider, with the element's own on top */
|
|
1275
|
+
declare function useKanorio(overrides?: KanorioConfig): KanorioContextValue;
|
|
1276
|
+
|
|
1277
|
+
export { type KanorioConfig as K, TOKEN_CHANGE_EVENT as T, type VisitorMessages as V, type KanorioContextValue as a, KanorioProvider as b, type KanorioSiteBrand as c, type KanorioSiteMeta as d, type KanorioTheme as e, brandCss as f, clearSiteMetaCache as g, loadSiteMeta as h, useSiteMeta as i, loadElementsMessages as l, useKanorio as u };
|