@sonic-equipment/ui 141.0.0 → 142.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.
Files changed (140) hide show
  1. package/dist/address-info-display/address-info-display.d.ts +6 -0
  2. package/dist/{address/address.js → address-info-display/address-info-display.js} +3 -3
  3. package/dist/address-info-display/address-info-display.module.css.js +3 -0
  4. package/dist/algolia/algolia-filter-panel.js +2 -2
  5. package/dist/algolia/algolia-search-provider.js +22 -11
  6. package/dist/background-overlay/background-overlay.js +4 -7
  7. package/dist/badges/badge/badge.js +4 -8
  8. package/dist/base.css +2 -0
  9. package/dist/breadcrumbs/breadcrumb.js +4 -4
  10. package/dist/buttons/add-to-cart-button/add-to-cart-button.js +27 -40
  11. package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.js +19 -2
  12. package/dist/buttons/favorite/connected-favorite-button.js +12 -18
  13. package/dist/buttons/favorite/favorite-button.d.ts +1 -1
  14. package/dist/buttons/icon-button/icon-button.d.ts +4 -2
  15. package/dist/buttons/icon-button/icon-button.js +5 -2
  16. package/dist/buttons/link/link.d.ts +12 -5
  17. package/dist/buttons/link/link.js +10 -4
  18. package/dist/carousel/card-carousel/card-carousel.js +3 -2
  19. package/dist/carousel/carousel-navigation-button.js +1 -1
  20. package/dist/carousel/carousel.js +8 -8
  21. package/dist/carousel/pagination/pagination.d.ts +1 -1
  22. package/dist/carousel/usp-carousel/product-usp-carousel-slide.js +3 -1
  23. package/dist/carousel/usp-carousel/product-usp-carousel.js +1 -1
  24. package/dist/carousel/usp-carousel/usp-carousel.js +3 -1
  25. package/dist/country-select/country-select.d.ts +27 -0
  26. package/dist/{country-selector/country-select → country-select}/country-select.js +7 -4
  27. package/dist/country-select/hooks/use-countries.d.ts +12 -0
  28. package/dist/country-select/hooks/use-countries.js +51 -0
  29. package/dist/country-selector/country-selector-dialog/country-selector-dialog.js +11 -9
  30. package/dist/country-selector/country-selector-trigger/country-selector-trigger.d.ts +1 -1
  31. package/dist/country-selector/use-countries-languages.d.ts +3 -3
  32. package/dist/country-selector/use-countries-languages.js +3 -1
  33. package/dist/exports.d.ts +12 -4
  34. package/dist/filters/active-filters/active-filters.d.ts +1 -1
  35. package/dist/forms/number-field/number-field.js +5 -1
  36. package/dist/forms/select/select.js +3 -2
  37. package/dist/forms/textarea/textarea.js +1 -1
  38. package/dist/global-search/global-search-provider/global-search-provider.js +3 -2
  39. package/dist/global-search/search-highlight/highlight.js +1 -0
  40. package/dist/global-search/search-result-panel/sections/no-search.js +3 -1
  41. package/dist/header/header.d.ts +5 -1
  42. package/dist/header/header.js +5 -2
  43. package/dist/header/link-list/navigation-link-list.d.ts +6 -0
  44. package/dist/header/link-list/navigation-link-list.js +15 -0
  45. package/dist/header/link-list/navigation-link-list.module.css.js +3 -0
  46. package/dist/index.js +15 -7
  47. package/dist/info-icon-tooltip/info-icon-tooltip.d.ts +3 -1
  48. package/dist/info-icon-tooltip/info-icon-tooltip.js +5 -5
  49. package/dist/intl/intl-context.js +2 -1
  50. package/dist/intl/intl-provider.js +7 -6
  51. package/dist/intl/missing-translation-provider.js +6 -5
  52. package/dist/intl/translation-id.d.ts +1 -1
  53. package/dist/lists/feature-list/feature-list.js +3 -1
  54. package/dist/lists/orderline-list/orderline-list.d.ts +1 -1
  55. package/dist/lists/orderline-list/orderline-list.js +6 -1
  56. package/dist/lists/product-overview-grid/product-overview-grid.js +5 -1
  57. package/dist/media/image/image.d.ts +1 -1
  58. package/dist/media/image-lightbox/image-lightbox.js +6 -2
  59. package/dist/media/zoom-image/zoom-image.d.ts +1 -1
  60. package/dist/message/message.d.ts +2 -1
  61. package/dist/message/message.js +2 -2
  62. package/dist/modals/favorite/add-to-favorite-dialog.d.ts +1 -1
  63. package/dist/modals/modal/modal.js +2 -1
  64. package/dist/notifications/announcements/connected-announcement.js +1 -1
  65. package/dist/pages/checkout/components/billing-and-invoice-information.js +2 -2
  66. package/dist/pages/checkout/layouts/checkout-page-layout/checkout-page-layout.js +3 -1
  67. package/dist/pages/checkout/payment-page/components/payment.js +1 -2
  68. package/dist/pages/checkout/shipping-page/components/currency-change-dialog.d.ts +6 -0
  69. package/dist/pages/checkout/shipping-page/components/currency-change-dialog.js +13 -0
  70. package/dist/pages/checkout/shipping-page/components/edit-address-form.d.ts +12 -10
  71. package/dist/pages/checkout/shipping-page/components/edit-address-form.js +11 -4
  72. package/dist/pages/checkout/shipping-page/components/edit-address-form.module.css.js +1 -1
  73. package/dist/pages/checkout/shipping-page/components/readonly-address.d.ts +2 -2
  74. package/dist/pages/checkout/shipping-page/components/readonly-address.js +6 -4
  75. package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.d.ts +4 -4
  76. package/dist/pages/checkout/shipping-page/hooks/use-patch-shipping-details.js +8 -4
  77. package/dist/pages/checkout/shipping-page/shipping-page.js +68 -17
  78. package/dist/pages/components/page-container/page-container.js +2 -1
  79. package/dist/pages/error-page/error-page.js +4 -1
  80. package/dist/pages/product/product-details-page/components/product-details-panel/product-details-panel.js +3 -1
  81. package/dist/pages/product/product-listing-page/no-results/no-results.js +3 -3
  82. package/dist/pages/product/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.js +1 -1
  83. package/dist/pages/product/product-listing-page/product-listing-page-provider/product-listing-page-provider.js +3 -2
  84. package/dist/pages/product/search-result-page/search-results-page-category-carousel/search-results-page-category-carousel.js +1 -1
  85. package/dist/promos/promo-banners/promo-banners.d.ts +6 -5
  86. package/dist/promos/promo-banners/promo-banners.js +6 -5
  87. package/dist/promos/promo-card/promo-card.d.ts +1 -1
  88. package/dist/shared/api/bff/model/bff.model.d.ts +13 -0
  89. package/dist/shared/api/storefront/hooks/cart/use-delete-cart-line-by-id.d.ts +2 -2
  90. package/dist/shared/api/storefront/hooks/cart/use-delete-current-cart.d.ts +2 -2
  91. package/dist/shared/api/storefront/hooks/cart/use-save-cart-for-later.d.ts +2 -2
  92. package/dist/shared/api/storefront/hooks/customer/use-patch-bill-to-address.d.ts +1 -1
  93. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.d.ts +4 -2
  94. package/dist/shared/api/storefront/hooks/website/use-fetch-countries-with-languages.js +3 -2
  95. package/dist/shared/api/storefront/hooks/website/{use-fetch-countries.d.ts → use-fetch-country-models.d.ts} +1 -1
  96. package/dist/shared/api/storefront/hooks/website/use-fetch-country-models.js +16 -0
  97. package/dist/shared/api/storefront/model/storefront.model.d.ts +21 -1
  98. package/dist/shared/api/storefront/services/customer-service.d.ts +3 -3
  99. package/dist/shared/api/storefront/services/customer-service.js +1 -1
  100. package/dist/shared/api/storefront/services/website-service.d.ts +1 -3
  101. package/dist/shared/api/storefront/services/website-service.js +4 -45
  102. package/dist/shared/data/cart.data.d.ts +2 -0
  103. package/dist/shared/data/cart.data.js +650 -0
  104. package/dist/shared/data/countries-languages.data.d.ts +11 -0
  105. package/dist/shared/data/countries-languages.data.js +61 -0
  106. package/dist/shared/hooks/use-breakpoint.js +2 -2
  107. package/dist/shared/hooks/use-cookie.d.ts +1 -0
  108. package/dist/shared/hooks/use-cookie.js +13 -7
  109. package/dist/shared/hooks/use-disclosure.d.ts +3 -3
  110. package/dist/shared/hooks/use-is-breakpoint.js +1 -1
  111. package/dist/shared/hooks/use-is-scrolled-beyond-element.d.ts +1 -0
  112. package/dist/shared/hooks/use-is-scrolled-beyond-element.js +26 -0
  113. package/dist/shared/hooks/use-scroll-to.d.ts +1 -1
  114. package/dist/shared/hooks/use-scroll-to.js +2 -2
  115. package/dist/shared/model/countries-languages.d.ts +3 -1
  116. package/dist/shared/model/countries-languages.js +32 -0
  117. package/dist/shared/model/defaults.d.ts +1 -0
  118. package/dist/shared/model/defaults.js +3 -0
  119. package/dist/shared/model/image.d.ts +1 -1
  120. package/dist/shared/model/link.d.ts +15 -0
  121. package/dist/shared/providers/favorite-provider.d.ts +3 -3
  122. package/dist/shared/providers/global-state-provider.js +2 -1
  123. package/dist/shared/reset.module.css.js +3 -0
  124. package/dist/shared/routing/with-routing.js +1 -0
  125. package/dist/shared/utils/local-storage.d.ts +1 -7
  126. package/dist/shared/utils/local-storage.js +4 -4
  127. package/dist/shared/utils/number.d.ts +1 -0
  128. package/dist/shared/utils/number.js +10 -0
  129. package/dist/sidebar/sidebar-provider.js +4 -1
  130. package/dist/sidebar/use-sidebar.js +4 -3
  131. package/dist/sign-in-form/sign-in-form.js +2 -1
  132. package/dist/styles.css +68 -5
  133. package/dist/tooltip/tooltip.js +6 -3
  134. package/package.json +17 -14
  135. package/dist/address/address.d.ts +0 -6
  136. package/dist/address/address.module.css.js +0 -3
  137. package/dist/country-selector/country-select/country-select.d.ts +0 -27
  138. package/dist/shared/api/storefront/hooks/website/use-fetch-countries.js +0 -15
  139. package/dist/shared/model/countries.d.ts +0 -225
  140. package/dist/shared/model/countries.js +0 -260
@@ -0,0 +1,650 @@
1
+ const cart = {
2
+ additionalEmails: '',
3
+ alsoPurchasedProducts: [],
4
+ approverReason: '',
5
+ billTo: {
6
+ accountsReceivable: null,
7
+ address1: 'Teststraat 1',
8
+ address2: '',
9
+ address3: '',
10
+ address4: '',
11
+ attention: '',
12
+ budgetEnforcementLevel: 'None',
13
+ city: 'Purmerend',
14
+ companyName: 'Test Compnay',
15
+ contactFullName: '',
16
+ costCodeTitle: '',
17
+ costCodes: [],
18
+ country: {
19
+ abbreviation: 'NL',
20
+ id: '3bac0470-e310-e311-ba31-d43d7e4e88b2',
21
+ name: 'The Netherlands',
22
+ properties: {},
23
+ states: [],
24
+ uri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/websites/current/countries/3bac0470-e310-e311-ba31-d43d7e4e88b2',
25
+ },
26
+ customerCurrencySymbol: '€',
27
+ customerName: 'Firstname Lastname',
28
+ customerNumber: 'C003524',
29
+ customerSequence: '',
30
+ email: 'test-user@test-company.com',
31
+ fax: '',
32
+ firstName: 'Firstname',
33
+ fullAddress: 'Teststraat 1, Purmerend',
34
+ id: '208b7c98-6ff1-4ad5-adea-b28300d38e90',
35
+ isDefault: false,
36
+ isGuest: true,
37
+ label: 'C003524 fsdsdf sdfdfs dfssdf sdffsd sdfsdff, ',
38
+ lastName: 'Lastname',
39
+ phone: '0611111511',
40
+ postalCode: '1234AB',
41
+ properties: {
42
+ invoiceLanguageId: 'NL',
43
+ },
44
+ shipTos: [],
45
+ shipTosUri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/billtos/208b7c98-6ff1-4ad5-adea-b28300d38e90/shiptos',
46
+ state: null,
47
+ uri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/billtos/208b7c98-6ff1-4ad5-adea-b28300d38e90',
48
+ validation: {
49
+ address1: {
50
+ isDisabled: false,
51
+ isRequired: true,
52
+ maxLength: 30,
53
+ },
54
+ address2: {
55
+ isDisabled: false,
56
+ isRequired: false,
57
+ maxLength: 30,
58
+ },
59
+ address3: {
60
+ isDisabled: false,
61
+ isRequired: false,
62
+ maxLength: 30,
63
+ },
64
+ address4: {
65
+ isDisabled: false,
66
+ isRequired: false,
67
+ maxLength: 30,
68
+ },
69
+ attention: {
70
+ isDisabled: false,
71
+ isRequired: false,
72
+ maxLength: 50,
73
+ },
74
+ city: {
75
+ isDisabled: false,
76
+ isRequired: true,
77
+ maxLength: 30,
78
+ },
79
+ companyName: {
80
+ isDisabled: false,
81
+ isRequired: false,
82
+ maxLength: 40,
83
+ },
84
+ country: {
85
+ isDisabled: false,
86
+ isRequired: true,
87
+ maxLength: null,
88
+ },
89
+ email: {
90
+ isDisabled: false,
91
+ isRequired: true,
92
+ maxLength: 50,
93
+ },
94
+ fax: {
95
+ isDisabled: false,
96
+ isRequired: false,
97
+ maxLength: 20,
98
+ },
99
+ firstName: {
100
+ isDisabled: false,
101
+ isRequired: false,
102
+ maxLength: 30,
103
+ },
104
+ lastName: {
105
+ isDisabled: false,
106
+ isRequired: false,
107
+ maxLength: 30,
108
+ },
109
+ phone: {
110
+ isDisabled: false,
111
+ isRequired: true,
112
+ maxLength: 20,
113
+ },
114
+ postalCode: {
115
+ isDisabled: false,
116
+ isRequired: true,
117
+ maxLength: 10,
118
+ },
119
+ state: {
120
+ isDisabled: false,
121
+ isRequired: false,
122
+ maxLength: null,
123
+ },
124
+ },
125
+ },
126
+ canBypassCheckoutAddress: false,
127
+ canCheckOut: true,
128
+ canEditCostCode: false,
129
+ canModifyOrder: true,
130
+ canRequestQuote: false,
131
+ canRequisition: false,
132
+ canSaveOrder: false,
133
+ carrier: {
134
+ description: '',
135
+ id: '43f9facb-1325-4005-b408-aed900ee0bce',
136
+ shipVias: [
137
+ {
138
+ description: 'Default - 102',
139
+ id: 'b13b6a61-8965-4764-8898-aed900ee3a69',
140
+ isDefault: true,
141
+ },
142
+ ],
143
+ },
144
+ carriers: [
145
+ {
146
+ description: '',
147
+ id: '43f9facb-1325-4005-b408-aed900ee0bce',
148
+ shipVias: [
149
+ {
150
+ description: 'Default - 102',
151
+ id: 'b13b6a61-8965-4764-8898-aed900ee3a69',
152
+ isDefault: true,
153
+ },
154
+ ],
155
+ },
156
+ ],
157
+ cartLines: [
158
+ {
159
+ allowZeroPricing: false,
160
+ altText: 'High leverage combination pliers 6\u0022',
161
+ availability: {
162
+ message: '',
163
+ messageType: 0,
164
+ requiresRealTimeInventory: false,
165
+ },
166
+ baseUnitOfMeasure: '',
167
+ baseUnitOfMeasureDisplay: '',
168
+ brand: null,
169
+ breakPrices: [],
170
+ canAddToCart: true,
171
+ canAddToWishlist: true,
172
+ canBackOrder: true,
173
+ cantBuy: false,
174
+ costCode: '',
175
+ customerName: '',
176
+ erpNumber: '4311165',
177
+ hasInsufficientInventory: false,
178
+ id: 'fd3ebaf7-6233-4e93-bd4e-b28300d38269',
179
+ isActive: true,
180
+ isConfigured: false,
181
+ isDiscontinued: false,
182
+ isDiscounted: false,
183
+ isFixedConfiguration: false,
184
+ isPromotionItem: false,
185
+ isQtyAdjusted: false,
186
+ isRestricted: false,
187
+ isSubscription: false,
188
+ line: 1,
189
+ manufacturerItem: '',
190
+ notes: '',
191
+ pricing: {
192
+ actualBreakPrices: [],
193
+ actualPrice: 21.99,
194
+ actualPriceDisplay: '€21.99',
195
+ additionalResults: {},
196
+ extendedActualPrice: 21.99,
197
+ extendedActualPriceDisplay: '€21.99',
198
+ extendedRegularPrice: 0,
199
+ extendedRegularPriceDisplay: '€0.00',
200
+ extendedUnitListPrice: 0,
201
+ extendedUnitListPriceDisplay: '€0.00',
202
+ extendedUnitListPriceWithVat: 0,
203
+ extendedUnitListPriceWithVatDisplay: '',
204
+ extendedUnitNetPrice: 21.99,
205
+ extendedUnitNetPriceDisplay: '€21.99',
206
+ extendedUnitRegularPrice: 0,
207
+ extendedUnitRegularPriceDisplay: '€0.00',
208
+ extendedUnitRegularPriceWithVat: 26.61,
209
+ extendedUnitRegularPriceWithVatDisplay: '€26.61',
210
+ isOnSale: false,
211
+ productId: 'fb293ff2-ea10-44d3-ad37-ae0800e1681e',
212
+ regularBreakPrices: [],
213
+ regularPrice: 30.32,
214
+ regularPriceDisplay: '€30.32',
215
+ requiresRealTimePrice: false,
216
+ unitCost: 0,
217
+ unitCostDisplay: '',
218
+ unitListBreakPrices: [],
219
+ unitListPrice: 30.32,
220
+ unitListPriceDisplay: '€30.32',
221
+ unitListPriceWithVat: 0,
222
+ unitListPriceWithVatDisplay: '',
223
+ unitNetPrice: 21.99,
224
+ unitNetPriceDisplay: '€21.99',
225
+ unitOfMeasure: '',
226
+ unitRegularBreakPrices: [],
227
+ unitRegularPrice: 21.99,
228
+ unitRegularPriceDisplay: '€21.99',
229
+ unitRegularPriceWithVat: 26.6079,
230
+ unitRegularPriceWithVatDisplay: '€26.61',
231
+ vatAmount: 4.62,
232
+ vatAmountDisplay: '€4.62',
233
+ vatMinusExtendedUnitRegularPrice: 0,
234
+ vatRate: 21,
235
+ },
236
+ productId: 'fb293ff2-ea10-44d3-ad37-ae0800e1681e',
237
+ productName: 'High leverage combination pliers 6\u0022',
238
+ productSubscription: {
239
+ subscriptionAddToInitialOrder: false,
240
+ subscriptionAllMonths: false,
241
+ subscriptionApril: true,
242
+ subscriptionAugust: true,
243
+ subscriptionCyclePeriod: '',
244
+ subscriptionDecember: true,
245
+ subscriptionFebruary: true,
246
+ subscriptionFixedPrice: false,
247
+ subscriptionJanuary: true,
248
+ subscriptionJuly: true,
249
+ subscriptionJune: true,
250
+ subscriptionMarch: true,
251
+ subscriptionMay: true,
252
+ subscriptionNovember: true,
253
+ subscriptionOctober: true,
254
+ subscriptionPeriodsPerCycle: 0,
255
+ subscriptionSeptember: true,
256
+ subscriptionShipViaId: null,
257
+ subscriptionTotalCycles: 0,
258
+ },
259
+ productUri: '/Product/4311165-High-leverage-combination-pliers-6',
260
+ properties: {},
261
+ qtyLeft: 0,
262
+ qtyOnHand: 0,
263
+ qtyOrdered: 1,
264
+ qtyPerBaseUnitOfMeasure: 1,
265
+ quoteRequired: false,
266
+ requisitionId: null,
267
+ salePriceLabel: '',
268
+ sectionOptions: [],
269
+ shortDescription: 'High leverage combination pliers 6\u0022',
270
+ smallImagePath: 'https://images.sonic-equipment.com/mediumres/4311165/high-leverage-combination-pliers-6-_BaseProductImage_4311165.webp',
271
+ trackInventory: true,
272
+ unitOfMeasure: '',
273
+ unitOfMeasureDescription: '',
274
+ unitOfMeasureDisplay: '',
275
+ uri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/carts/current/cartlines/fd3ebaf7-6233-4e93-bd4e-b28300d38269',
276
+ vmiBinId: null,
277
+ },
278
+ ],
279
+ cartLinesUri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/carts/current/cartlines',
280
+ cartNotPriced: false,
281
+ costCodeLabel: '',
282
+ costCodes: [],
283
+ creditCardBillingAddress: null,
284
+ currencySymbol: '€',
285
+ customerOrderTaxes: [],
286
+ customerVatNumber: '',
287
+ defaultWarehouse: {
288
+ address1: 'Component 114-116',
289
+ address2: '',
290
+ allowPickup: true,
291
+ alternateWarehouses: null,
292
+ city: 'Purmerend',
293
+ contactName: '',
294
+ countryId: '3bac0470-e310-e311-ba31-d43d7e4e88b2',
295
+ deactivateOn: null,
296
+ description: 'Sonic Purmerend',
297
+ distance: 0,
298
+ hours: 'Between 8:00 and 16:00',
299
+ id: 'f081afd0-3ae8-47fa-8693-ae19008b5a77',
300
+ isDefault: true,
301
+ latitude: 52.513_924,
302
+ longitude: 5.004_455,
303
+ name: 'M1',
304
+ phone: '',
305
+ pickupShipViaId: null,
306
+ postalCode: '1446 WP',
307
+ properties: {},
308
+ qtyAvailable: 10,
309
+ shipSite: '',
310
+ state: '',
311
+ uri: '',
312
+ },
313
+ displayContinueShoppingLink: true,
314
+ erpOrderNumber: '',
315
+ failedToGetRealTimeInventory: false,
316
+ fulfillmentMethod: 'Ship',
317
+ hasApprover: false,
318
+ hasInsufficientInventory: false,
319
+ id: 'current',
320
+ initiatedByUserName: '8491dab9-e558-4200-9296-63452bf8c684@guest.com',
321
+ isAuthenticated: true,
322
+ isAwaitingApproval: false,
323
+ isGuestOrder: true,
324
+ isSalesperson: false,
325
+ isSubscribed: false,
326
+ lineCount: 1,
327
+ messages: [],
328
+ notes: '',
329
+ orderDate: new Date('2025-02-13T12:50:16.5023718+00:00'),
330
+ orderGrandTotal: 35.69,
331
+ orderGrandTotalDisplay: '€35.69',
332
+ orderNumber: '77090e05-10cf-42ec-85c8-c5178a41d77c',
333
+ orderSubTotal: 21.99,
334
+ orderSubTotalDisplay: '€21.99',
335
+ orderSubTotalWithOutProductDiscounts: 21.99,
336
+ orderSubTotalWithOutProductDiscountsDisplay: '€21.99',
337
+ paymentMethod: null,
338
+ paymentOptions: {
339
+ adyenPspReference: '',
340
+ canStorePaymentProfile: false,
341
+ cardTypes: [
342
+ {
343
+ key: 'Visa',
344
+ value: 'VISA',
345
+ },
346
+ {
347
+ key: 'Mastercard',
348
+ value: 'MASTERCARD',
349
+ },
350
+ {
351
+ key: 'American Express',
352
+ value: 'AMERICAN EXPRESS',
353
+ },
354
+ {
355
+ key: 'Discover',
356
+ value: 'DISCOVER',
357
+ },
358
+ ],
359
+ creditCard: {
360
+ address1: '',
361
+ cardHolderName: '',
362
+ cardNumber: '',
363
+ cardType: '',
364
+ city: '',
365
+ country: '',
366
+ countryAbbreviation: '',
367
+ expirationMonth: 1,
368
+ expirationYear: 2025,
369
+ postalCode: '',
370
+ securityCode: '',
371
+ state: '',
372
+ stateAbbreviation: '',
373
+ useBillingAddress: true,
374
+ },
375
+ eCheck: null,
376
+ expirationMonths: [
377
+ {
378
+ key: 'January',
379
+ value: 1,
380
+ },
381
+ {
382
+ key: 'February',
383
+ value: 2,
384
+ },
385
+ {
386
+ key: 'March',
387
+ value: 3,
388
+ },
389
+ {
390
+ key: 'April',
391
+ value: 4,
392
+ },
393
+ {
394
+ key: 'May',
395
+ value: 5,
396
+ },
397
+ {
398
+ key: 'June',
399
+ value: 6,
400
+ },
401
+ {
402
+ key: 'July',
403
+ value: 7,
404
+ },
405
+ {
406
+ key: 'August',
407
+ value: 8,
408
+ },
409
+ {
410
+ key: 'September',
411
+ value: 9,
412
+ },
413
+ {
414
+ key: 'October',
415
+ value: 10,
416
+ },
417
+ {
418
+ key: 'November',
419
+ value: 11,
420
+ },
421
+ {
422
+ key: 'December',
423
+ value: 12,
424
+ },
425
+ ],
426
+ expirationYears: [
427
+ {
428
+ key: 2025,
429
+ value: 2025,
430
+ },
431
+ {
432
+ key: 2026,
433
+ value: 2026,
434
+ },
435
+ {
436
+ key: 2027,
437
+ value: 2027,
438
+ },
439
+ {
440
+ key: 2028,
441
+ value: 2028,
442
+ },
443
+ {
444
+ key: 2029,
445
+ value: 2029,
446
+ },
447
+ {
448
+ key: 2030,
449
+ value: 2030,
450
+ },
451
+ {
452
+ key: 2031,
453
+ value: 2031,
454
+ },
455
+ {
456
+ key: 2032,
457
+ value: 2032,
458
+ },
459
+ {
460
+ key: 2033,
461
+ value: 2033,
462
+ },
463
+ {
464
+ key: 2034,
465
+ value: 2034,
466
+ },
467
+ ],
468
+ isAdyenDropIn: false,
469
+ isPayPal: false,
470
+ payPalPayerId: '',
471
+ payPalPaymentUrl: '',
472
+ payPalToken: '',
473
+ payerId: '',
474
+ paymentMethods: [
475
+ {
476
+ billingAddress: '',
477
+ cardType: '',
478
+ description: 'Pay Now',
479
+ isCreditCard: true,
480
+ isECheck: false,
481
+ isPaymentProfile: false,
482
+ isPaymentProfileExpired: false,
483
+ name: 'ADY',
484
+ tokenScheme: '',
485
+ },
486
+ ],
487
+ storePaymentProfile: false,
488
+ },
489
+ poNumber: '',
490
+ promotionCode: '',
491
+ properties: {},
492
+ quoteRequiredCount: 0,
493
+ requestedDeliveryDate: '2025-02-13T12:50:16.5023718+00:00',
494
+ requestedDeliveryDateDisplay: null,
495
+ requestedPickupDate: '',
496
+ requestedPickupDateDisplay: null,
497
+ requiresApproval: false,
498
+ requiresPoNumber: false,
499
+ salespersonName: '',
500
+ shipTo: {
501
+ address1: 'Teststraat 1',
502
+ address2: '',
503
+ address3: '',
504
+ address4: '',
505
+ attention: '',
506
+ city: 'Purmerend',
507
+ companyName: 'Test company',
508
+ contactFullName: '',
509
+ country: {
510
+ abbreviation: 'NL',
511
+ id: '3bac0470-e310-e311-ba31-d43d7e4e88b2',
512
+ name: 'The Netherlands',
513
+ properties: {},
514
+ states: [],
515
+ uri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/websites/current/countries/3bac0470-e310-e311-ba31-d43d7e4e88b2',
516
+ },
517
+ customerName: 'First Last',
518
+ customerNumber: 'C003524',
519
+ customerSequence: '',
520
+ email: 'test-customer@test-company.com',
521
+ fax: '',
522
+ firstName: 'Firstname',
523
+ fullAddress: 'Teststaaat 1, Purmerend',
524
+ id: '208b7c98-6ff1-4ad5-adea-b28300d38e90',
525
+ isDefault: false,
526
+ isNew: false,
527
+ isVmiLocation: false,
528
+ label: 'Use Billing Address',
529
+ lastName: 'Lastname',
530
+ oneTimeAddress: false,
531
+ phone: '0611111511',
532
+ postalCode: '1234AB',
533
+ properties: {
534
+ invoiceLanguageId: 'NL',
535
+ },
536
+ state: null,
537
+ uri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/billtos/208b7c98-6ff1-4ad5-adea-b28300d38e90/shiptos/208b7c98-6ff1-4ad5-adea-b28300d38e90',
538
+ validation: {
539
+ address1: {
540
+ isDisabled: true,
541
+ isRequired: false,
542
+ maxLength: 30,
543
+ },
544
+ address2: {
545
+ isDisabled: true,
546
+ isRequired: false,
547
+ maxLength: 30,
548
+ },
549
+ address3: {
550
+ isDisabled: true,
551
+ isRequired: false,
552
+ maxLength: 30,
553
+ },
554
+ address4: {
555
+ isDisabled: true,
556
+ isRequired: false,
557
+ maxLength: 30,
558
+ },
559
+ attention: {
560
+ isDisabled: true,
561
+ isRequired: false,
562
+ maxLength: 50,
563
+ },
564
+ city: {
565
+ isDisabled: true,
566
+ isRequired: false,
567
+ maxLength: 30,
568
+ },
569
+ companyName: {
570
+ isDisabled: true,
571
+ isRequired: false,
572
+ maxLength: 40,
573
+ },
574
+ country: {
575
+ isDisabled: true,
576
+ isRequired: false,
577
+ maxLength: null,
578
+ },
579
+ email: {
580
+ isDisabled: true,
581
+ isRequired: false,
582
+ maxLength: 50,
583
+ },
584
+ fax: {
585
+ isDisabled: true,
586
+ isRequired: false,
587
+ maxLength: 20,
588
+ },
589
+ firstName: {
590
+ isDisabled: true,
591
+ isRequired: false,
592
+ maxLength: 30,
593
+ },
594
+ lastName: {
595
+ isDisabled: true,
596
+ isRequired: false,
597
+ maxLength: 30,
598
+ },
599
+ phone: {
600
+ isDisabled: true,
601
+ isRequired: false,
602
+ maxLength: 20,
603
+ },
604
+ postalCode: {
605
+ isDisabled: true,
606
+ isRequired: false,
607
+ maxLength: 10,
608
+ },
609
+ state: {
610
+ isDisabled: true,
611
+ isRequired: false,
612
+ maxLength: null,
613
+ },
614
+ },
615
+ },
616
+ shipToLabel: 'Use Billing Address',
617
+ shipVia: {
618
+ description: 'Default - 102',
619
+ id: 'b13b6a61-8965-4764-8898-aed900ee3a69',
620
+ isDefault: true,
621
+ },
622
+ shippingAndHandling: 7.5,
623
+ shippingAndHandlingDisplay: '€7.50',
624
+ showCostCode: false,
625
+ showCreditCard: true,
626
+ showECheck: false,
627
+ showLineNotes: true,
628
+ showNewsletterSignup: true,
629
+ showPayPal: false,
630
+ showPoNumber: true,
631
+ showTaxAndShipping: true,
632
+ status: 'Cart',
633
+ statusDisplay: 'Cart',
634
+ taxFailureReason: 'None',
635
+ totalCountDisplay: 1,
636
+ totalQtyOrdered: 1,
637
+ totalTax: 6.2,
638
+ totalTaxDisplay: '€6.20',
639
+ trackId: 'e2f3aa3e-7615-4ea1-8ced-b28300d3821f',
640
+ type: 'Order',
641
+ typeDisplay: 'Order',
642
+ unassignCart: false,
643
+ uri: 'https://sonicequipment.commerce.insitesandbox.com/api/v1/carts/current',
644
+ userLabel: 'guest',
645
+ userRoles: '',
646
+ vmiLocationId: null,
647
+ warehouses: [],
648
+ };
649
+
650
+ export { cart };
@@ -0,0 +1,11 @@
1
+ import { Country, Language } from '../model/countries-languages';
2
+ export declare const english: Language;
3
+ export declare const dutch: Language;
4
+ export declare const french: Language;
5
+ export declare const german: Language;
6
+ export declare const netherlands: Country;
7
+ export declare const unitedKingdom: Country;
8
+ export declare const germany: Country;
9
+ export declare const france: Country;
10
+ export declare const countries: Country[];
11
+ export declare const languages: Language[];