addio-ecomm-sdk 1.3.76 → 1.3.77

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 (149) hide show
  1. package/.vscode/settings.json +34 -34
  2. package/README.md +79 -79
  3. package/dist/index.d.ts +203 -203
  4. package/dist/index.js +1237 -1818
  5. package/dist/index.js.map +1 -1
  6. package/dist/lib/constants/components/CreditCardInput.d.ts +11 -11
  7. package/dist/lib/constants/components/CreditCardInput.js +65 -79
  8. package/dist/lib/constants/components/CreditCardInput.js.map +1 -1
  9. package/dist/lib/constants/components/Snackbar.d.ts +11 -11
  10. package/dist/lib/constants/components/Snackbar.js +29 -39
  11. package/dist/lib/constants/components/Snackbar.js.map +1 -1
  12. package/dist/lib/constants/contexts/CartContext/CartContextProvider.d.ts +7 -7
  13. package/dist/lib/constants/contexts/CartContext/CartContextProvider.js +640 -980
  14. package/dist/lib/constants/contexts/CartContext/CartContextProvider.js.map +1 -1
  15. package/dist/lib/constants/contexts/CartContext/index.d.ts +79 -79
  16. package/dist/lib/constants/contexts/CartContext/index.js +47 -127
  17. package/dist/lib/constants/contexts/CartContext/index.js.map +1 -1
  18. package/dist/lib/constants/contexts/DataContext/DataContextProvider.d.ts +15 -15
  19. package/dist/lib/constants/contexts/DataContext/DataContextProvider.js +173 -304
  20. package/dist/lib/constants/contexts/DataContext/DataContextProvider.js.map +1 -1
  21. package/dist/lib/constants/contexts/DataContext/index.d.ts +47 -47
  22. package/dist/lib/constants/contexts/DataContext/index.js +27 -67
  23. package/dist/lib/constants/contexts/DataContext/index.js.map +1 -1
  24. package/dist/lib/constants/contexts/LogContext/LogContextProvider.d.ts +6 -6
  25. package/dist/lib/constants/contexts/LogContext/LogContextProvider.js +40 -103
  26. package/dist/lib/constants/contexts/LogContext/LogContextProvider.js.map +1 -1
  27. package/dist/lib/constants/contexts/LogContext/index.d.ts +7 -7
  28. package/dist/lib/constants/contexts/LogContext/index.js +7 -45
  29. package/dist/lib/constants/contexts/LogContext/index.js.map +1 -1
  30. package/dist/lib/constants/contexts/ModalContext/ModalContextProvider.d.ts +7 -7
  31. package/dist/lib/constants/contexts/ModalContext/ModalContextProvider.js +61 -76
  32. package/dist/lib/constants/contexts/ModalContext/ModalContextProvider.js.map +1 -1
  33. package/dist/lib/constants/contexts/ModalContext/index.d.ts +14 -14
  34. package/dist/lib/constants/contexts/ModalContext/index.js +16 -18
  35. package/dist/lib/constants/contexts/ModalContext/index.js.map +1 -1
  36. package/dist/lib/constants/contexts/SDKContext/SDKProvider.d.ts +8 -8
  37. package/dist/lib/constants/contexts/SDKContext/SDKProvider.js +23 -79
  38. package/dist/lib/constants/contexts/SDKContext/SDKProvider.js.map +1 -1
  39. package/dist/lib/constants/contexts/SDKContext/index.d.ts +4 -4
  40. package/dist/lib/constants/contexts/SDKContext/index.js +4 -4
  41. package/dist/lib/constants/contexts/SDKContext/index.js.map +1 -1
  42. package/dist/lib/constants/contexts/SnackbarContext/SnackbarContext.d.ts +4 -4
  43. package/dist/lib/constants/contexts/SnackbarContext/SnackbarContext.js +6 -6
  44. package/dist/lib/constants/contexts/SnackbarContext/SnackbarContext.js.map +1 -1
  45. package/dist/lib/constants/contexts/SnackbarContext/SnackbarContextProvider.d.ts +12 -12
  46. package/dist/lib/constants/contexts/SnackbarContext/SnackbarContextProvider.js +38 -52
  47. package/dist/lib/constants/contexts/SnackbarContext/SnackbarContextProvider.js.map +1 -1
  48. package/dist/lib/constants/contexts/SnackbarContext/interfaces/ISnackbarContext.d.ts +19 -17
  49. package/dist/lib/constants/contexts/SnackbarContext/interfaces/ISnackbarContext.js +21 -21
  50. package/dist/lib/constants/contexts/SnackbarContext/interfaces/ISnackbarContext.js.map +1 -1
  51. package/dist/lib/constants/contexts/StockNotifContext/StockNotifContextProvider.d.ts +7 -7
  52. package/dist/lib/constants/contexts/StockNotifContext/StockNotifContextProvider.js +112 -179
  53. package/dist/lib/constants/contexts/StockNotifContext/StockNotifContextProvider.js.map +1 -1
  54. package/dist/lib/constants/contexts/StockNotifContext/index.d.ts +10 -10
  55. package/dist/lib/constants/contexts/StockNotifContext/index.js +10 -10
  56. package/dist/lib/constants/contexts/StockNotifContext/index.js.map +1 -1
  57. package/dist/lib/constants/contexts/UserContext/UserContextProvider.d.ts +5 -5
  58. package/dist/lib/constants/contexts/UserContext/UserContextProvider.js +313 -470
  59. package/dist/lib/constants/contexts/UserContext/UserContextProvider.js.map +1 -1
  60. package/dist/lib/constants/contexts/UserContext/index.d.ts +54 -54
  61. package/dist/lib/constants/contexts/UserContext/index.js +28 -82
  62. package/dist/lib/constants/contexts/UserContext/index.js.map +1 -1
  63. package/dist/lib/constants/contexts/WishlistContext/WishlistContextProvider.d.ts +6 -6
  64. package/dist/lib/constants/contexts/WishlistContext/WishlistContextProvider.js +231 -327
  65. package/dist/lib/constants/contexts/WishlistContext/WishlistContextProvider.js.map +1 -1
  66. package/dist/lib/constants/contexts/WishlistContext/index.d.ts +12 -12
  67. package/dist/lib/constants/contexts/WishlistContext/index.js +12 -12
  68. package/dist/lib/constants/contexts/WishlistContext/index.js.map +1 -1
  69. package/dist/lib/constants/hooks/useCart.d.ts +2 -2
  70. package/dist/lib/constants/hooks/useCart.js +11 -11
  71. package/dist/lib/constants/hooks/useCart.js.map +1 -1
  72. package/dist/lib/constants/hooks/useData.d.ts +2 -2
  73. package/dist/lib/constants/hooks/useData.js +11 -11
  74. package/dist/lib/constants/hooks/useData.js.map +1 -1
  75. package/dist/lib/constants/hooks/useLogs.d.ts +2 -2
  76. package/dist/lib/constants/hooks/useLogs.js +11 -11
  77. package/dist/lib/constants/hooks/useLogs.js.map +1 -1
  78. package/dist/lib/constants/hooks/useModal.d.ts +2 -2
  79. package/dist/lib/constants/hooks/useModal.js +11 -11
  80. package/dist/lib/constants/hooks/useModal.js.map +1 -1
  81. package/dist/lib/constants/hooks/useSDK.d.ts +2 -2
  82. package/dist/lib/constants/hooks/useSDK.js +11 -11
  83. package/dist/lib/constants/hooks/useSDK.js.map +1 -1
  84. package/dist/lib/constants/hooks/useSnackbar.d.ts +2 -2
  85. package/dist/lib/constants/hooks/useSnackbar.js +11 -11
  86. package/dist/lib/constants/hooks/useSnackbar.js.map +1 -1
  87. package/dist/lib/constants/hooks/useStockNotif.d.ts +2 -2
  88. package/dist/lib/constants/hooks/useStockNotif.js +11 -11
  89. package/dist/lib/constants/hooks/useStockNotif.js.map +1 -1
  90. package/dist/lib/constants/hooks/useUser.d.ts +2 -2
  91. package/dist/lib/constants/hooks/useUser.js +11 -11
  92. package/dist/lib/constants/hooks/useUser.js.map +1 -1
  93. package/dist/lib/constants/hooks/useWishlist.d.ts +2 -2
  94. package/dist/lib/constants/hooks/useWishlist.js +11 -11
  95. package/dist/lib/constants/hooks/useWishlist.js.map +1 -1
  96. package/dist/lib/models/image/index.d.ts +6 -6
  97. package/dist/lib/models/image/index.js +10 -15
  98. package/dist/lib/models/image/index.js.map +1 -1
  99. package/dist/lib/models/stockNotification/index.d.ts +13 -13
  100. package/dist/lib/models/stockNotification/index.js +70 -130
  101. package/dist/lib/models/stockNotification/index.js.map +1 -1
  102. package/dist/lib/models/wishlist/index.d.ts +14 -14
  103. package/dist/lib/models/wishlist/index.js +86 -155
  104. package/dist/lib/models/wishlist/index.js.map +1 -1
  105. package/dist/utils/StripeErrors.d.ts +24 -24
  106. package/dist/utils/StripeErrors.js +55 -55
  107. package/dist/utils/algolia.d.ts +3 -3
  108. package/dist/utils/algolia.js +35 -81
  109. package/dist/utils/algolia.js.map +1 -1
  110. package/dist/utils/analytics.d.ts +71 -71
  111. package/dist/utils/analytics.js +246 -257
  112. package/dist/utils/analytics.js.map +1 -1
  113. package/dist/utils/cart.d.ts +3 -3
  114. package/dist/utils/cart.js +65 -66
  115. package/dist/utils/cart.js.map +1 -1
  116. package/dist/utils/contentful.d.ts +10 -10
  117. package/dist/utils/contentful.js +63 -136
  118. package/dist/utils/contentful.js.map +1 -1
  119. package/dist/utils/functions.d.ts +21 -21
  120. package/dist/utils/functions.js +183 -200
  121. package/dist/utils/functions.js.map +1 -1
  122. package/dist/utils/getSDK.d.ts +4 -4
  123. package/dist/utils/getSDK.js +19 -77
  124. package/dist/utils/getSDK.js.map +1 -1
  125. package/dist/utils/initStoreData.d.ts +3 -3
  126. package/dist/utils/initStoreData.js +17 -62
  127. package/dist/utils/initStoreData.js.map +1 -1
  128. package/dist/utils/interfaces/IClientCMSData.d.ts +132 -132
  129. package/dist/utils/interfaces/IClientCMSData.js +2 -2
  130. package/dist/utils/interfaces/IEndpointResult.d.ts +10 -10
  131. package/dist/utils/interfaces/IEndpointResult.js +2 -2
  132. package/dist/utils/interfaces/IFacebookUserProfile.d.ts +10 -10
  133. package/dist/utils/interfaces/IFacebookUserProfile.js +2 -2
  134. package/dist/utils/interfaces/IFilter.d.ts +23 -23
  135. package/dist/utils/interfaces/IFilter.js +2 -2
  136. package/dist/utils/interfaces/IGoogleUserProfile.d.ts +7 -7
  137. package/dist/utils/interfaces/IGoogleUserProfile.js +2 -2
  138. package/dist/utils/interfaces/ISDKConfig.d.ts +7 -7
  139. package/dist/utils/interfaces/ISDKConfig.js +2 -2
  140. package/dist/utils/interfaces/ISpaceData.d.ts +18 -18
  141. package/dist/utils/interfaces/ISpaceData.js +2 -2
  142. package/dist/utils/larivieremeunier.d.ts +3 -3
  143. package/dist/utils/larivieremeunier.js +156 -156
  144. package/dist/utils/larivieremeunier.js.map +1 -1
  145. package/dist/utils/technosupply.d.ts +3 -3
  146. package/dist/utils/technosupply.js +155 -155
  147. package/dist/utils/technosupply.js.map +1 -1
  148. package/package.json +61 -61
  149. package/publish.sh +132 -132
@@ -1,156 +1,156 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var technosupply = {
4
- header: {
5
- promo: 'COVID-19 – Informations sur le délais de réponse et la rupture de stock >',
6
- promoLink: '/covid',
7
- menu: {
8
- showAbout: true
9
- }
10
- },
11
- map: {
12
- latitude: 46.8050979,
13
- longitude: -71.297789
14
- },
15
- contact: {
16
- phones: [
17
- {
18
- name: 'Québec',
19
- phone: '+1 (855) 962-4680'
20
- },
21
- {
22
- name: 'Sans frais',
23
- phone: '+1 (855) 962-4680'
24
- },
25
- {
26
- name: 'Téléc.',
27
- phone: '+1 (855) 962-4680'
28
- }
29
- ],
30
- banner: 'https://gng-ecr.imgix.net//the_beast/1.0.0/orgs/zrqIBwO7QyqUT2DoxeNW/spaces/RqUTslR7Jcll3lsD68yT/contact.png',
31
- addressLine1: '1550 Ave Diesel Suite 100 A',
32
- addressLine2: 'Ville de Québec (Québec) G1P 4J5',
33
- email: 'info@technosupply.ca',
34
- businessHours: {
35
- title: 'Lundi au vendredi',
36
- hours: '8:30-16:30'
37
- },
38
- companyName: 'TechnoSupply'
39
- },
40
- social: {
41
- facebook: 'https://facebook.com',
42
- twitter: 'https://twitter.com',
43
- instagram: 'https://instagram.com',
44
- pinterest: 'https://pinterest.com'
45
- },
46
- qna: {
47
- title: 'Foire aux questions',
48
- banner: 'https://gng-ecr.imgix.net//the_beast/1.0.0/orgs/zrqIBwO7QyqUT2DoxeNW/spaces/RqUTslR7Jcll3lsD68yT/contact.png',
49
- catch: "Vous avez d'autres questions?",
50
- catchSubtitle: 'Maecenas pharetra convallis posuere morbi leo urna. Leo a diam sollicitudin tempor id eu nisl nunc.',
51
- catchButtonLink: '/contact',
52
- catchButtonText: 'Nous joindre',
53
- questions: [
54
- {
55
- question: 'J’ai passé une commande sur votre site internet. Quelles sont les étapes par la suite?',
56
- answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order. We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order. We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order. We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
57
- },
58
- {
59
- question: 'Pourquoi ouvrir un compte?',
60
- answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan.'
61
- },
62
- {
63
- question: 'J’ai ouvert un compte professionnel (ou un compte étudiant) et je continue de voir un message m’invitant à ouvrir un tel compte. Pourquoi?',
64
- answer: 'Find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
65
- },
66
- {
67
- question: 'Combien coûte la livraison et quelles sont les modalités de transport?',
68
- answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
69
- },
70
- {
71
- question: 'Avez-vous des prix étudiants?',
72
- answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
73
- },
74
- {
75
- question: 'Quelle est la politique de retour?',
76
- answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
77
- },
78
- {
79
- question: 'Qui peut acheter le matériel d’acupuncture?',
80
- answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
81
- }
82
- ]
83
- },
84
- products: {
85
- displayTemplate: '4columns',
86
- title: 'Nouveautés',
87
- productType: 'new',
88
- buttonText: 'Voir tous nos nouveautés',
89
- buttonLink: '/products'
90
- },
91
- callToActionBar: {
92
- logo: 'https://gng-ecr.imgix.net//the_beast/1.0.0/orgs/whqODZV7NFCTDZF0UIkJ/spaces/1HLywLVBrXsGan5PbVaa/Logo_TechnoSupplyWeb.svg',
93
- title: 'Vous avez des questions concernant nos produits ?',
94
- subtitle: 'Consultez la foire aux questions'
95
- },
96
- promoBlock: [
97
- {
98
- title: 'À l’achat de 5000 et +',
99
- title2: '5% de rabais ',
100
- text: 'Combinez différentes familles d’aiguilles pour un total de 5000 aiguilles et obtenez un rabais additionnel de 5%',
101
- color: 'primary'
102
- },
103
- {
104
- title: 'À l’achat de 10 000 et +',
105
- title2: '10% de rabais ',
106
- text: 'Combinez différentes familles d’aiguilles pour un total de 5000 aiguilles et obtenez un rabais additionnel de 5%',
107
- color: 'secondary'
108
- }
109
- ],
110
- footer: {
111
- showNewProducts: true,
112
- sections: [
113
- {
114
- title: 'À propos',
115
- description: "Spécialiste en approvisionnement d'équipement industriel commercial et agricole au Québec.",
116
- links: [
117
- {
118
- title: "À propos de l'entreprise",
119
- url: '/about'
120
- },
121
- {
122
- title: 'Foire aux questions',
123
- url: '/faq'
124
- },
125
- {
126
- title: 'Politique de remboursement',
127
- url: '/politics'
128
- },
129
- {
130
- title: 'Nous joindre',
131
- url: '/contact'
132
- }
133
- ]
134
- },
135
- {
136
- title: 'Mon compte',
137
- links: [
138
- {
139
- title: 'Mes commandes',
140
- url: '/orders'
141
- },
142
- {
143
- title: 'Coordonées',
144
- url: '/profile/contact'
145
- },
146
- {
147
- title: 'Paramètres',
148
- url: '/profile/settings'
149
- }
150
- ]
151
- }
152
- ]
153
- }
154
- };
155
- exports.default = technosupply;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const technosupply = {
4
+ header: {
5
+ promo: 'COVID-19 – Informations sur le délais de réponse et la rupture de stock >',
6
+ promoLink: '/covid',
7
+ menu: {
8
+ showAbout: true
9
+ }
10
+ },
11
+ map: {
12
+ latitude: 46.8050979,
13
+ longitude: -71.297789
14
+ },
15
+ contact: {
16
+ phones: [
17
+ {
18
+ name: 'Québec',
19
+ phone: '+1 (855) 962-4680'
20
+ },
21
+ {
22
+ name: 'Sans frais',
23
+ phone: '+1 (855) 962-4680'
24
+ },
25
+ {
26
+ name: 'Téléc.',
27
+ phone: '+1 (855) 962-4680'
28
+ }
29
+ ],
30
+ banner: 'https://gng-ecr.imgix.net//the_beast/1.0.0/orgs/zrqIBwO7QyqUT2DoxeNW/spaces/RqUTslR7Jcll3lsD68yT/contact.png',
31
+ addressLine1: '1550 Ave Diesel Suite 100 A',
32
+ addressLine2: 'Ville de Québec (Québec) G1P 4J5',
33
+ email: 'info@technosupply.ca',
34
+ businessHours: {
35
+ title: 'Lundi au vendredi',
36
+ hours: '8:30-16:30'
37
+ },
38
+ companyName: 'TechnoSupply'
39
+ },
40
+ social: {
41
+ facebook: 'https://facebook.com',
42
+ twitter: 'https://twitter.com',
43
+ instagram: 'https://instagram.com',
44
+ pinterest: 'https://pinterest.com'
45
+ },
46
+ qna: {
47
+ title: 'Foire aux questions',
48
+ banner: 'https://gng-ecr.imgix.net//the_beast/1.0.0/orgs/zrqIBwO7QyqUT2DoxeNW/spaces/RqUTslR7Jcll3lsD68yT/contact.png',
49
+ catch: "Vous avez d'autres questions?",
50
+ catchSubtitle: 'Maecenas pharetra convallis posuere morbi leo urna. Leo a diam sollicitudin tempor id eu nisl nunc.',
51
+ catchButtonLink: '/contact',
52
+ catchButtonText: 'Nous joindre',
53
+ questions: [
54
+ {
55
+ question: 'J’ai passé une commande sur votre site internet. Quelles sont les étapes par la suite?',
56
+ answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order. We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order. We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order. We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
57
+ },
58
+ {
59
+ question: 'Pourquoi ouvrir un compte?',
60
+ answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan.'
61
+ },
62
+ {
63
+ question: 'J’ai ouvert un compte professionnel (ou un compte étudiant) et je continue de voir un message m’invitant à ouvrir un tel compte. Pourquoi?',
64
+ answer: 'Find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
65
+ },
66
+ {
67
+ question: 'Combien coûte la livraison et quelles sont les modalités de transport?',
68
+ answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
69
+ },
70
+ {
71
+ question: 'Avez-vous des prix étudiants?',
72
+ answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
73
+ },
74
+ {
75
+ question: 'Quelle est la politique de retour?',
76
+ answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
77
+ },
78
+ {
79
+ question: 'Qui peut acheter le matériel d’acupuncture?',
80
+ answer: 'We currently deliver to most postal codes in the following provinces in Canada: Alberta, British Columbia, Manitoba, Nova Scotia, Ontario, Quebec and Saskatchewan. To find out for sure if we deliver to your area, simply enter your postal code at the top of the page before placing an order.'
81
+ }
82
+ ]
83
+ },
84
+ products: {
85
+ displayTemplate: '4columns',
86
+ title: 'Nouveautés',
87
+ productType: 'new',
88
+ buttonText: 'Voir tous nos nouveautés',
89
+ buttonLink: '/products'
90
+ },
91
+ callToActionBar: {
92
+ logo: 'https://gng-ecr.imgix.net//the_beast/1.0.0/orgs/whqODZV7NFCTDZF0UIkJ/spaces/1HLywLVBrXsGan5PbVaa/Logo_TechnoSupplyWeb.svg',
93
+ title: 'Vous avez des questions concernant nos produits ?',
94
+ subtitle: 'Consultez la foire aux questions'
95
+ },
96
+ promoBlock: [
97
+ {
98
+ title: 'À l’achat de 5000 et +',
99
+ title2: '5% de rabais ',
100
+ text: 'Combinez différentes familles d’aiguilles pour un total de 5000 aiguilles et obtenez un rabais additionnel de 5%',
101
+ color: 'primary'
102
+ },
103
+ {
104
+ title: 'À l’achat de 10 000 et +',
105
+ title2: '10% de rabais ',
106
+ text: 'Combinez différentes familles d’aiguilles pour un total de 5000 aiguilles et obtenez un rabais additionnel de 5%',
107
+ color: 'secondary'
108
+ }
109
+ ],
110
+ footer: {
111
+ showNewProducts: true,
112
+ sections: [
113
+ {
114
+ title: 'À propos',
115
+ description: "Spécialiste en approvisionnement d'équipement industriel commercial et agricole au Québec.",
116
+ links: [
117
+ {
118
+ title: "À propos de l'entreprise",
119
+ url: '/about'
120
+ },
121
+ {
122
+ title: 'Foire aux questions',
123
+ url: '/faq'
124
+ },
125
+ {
126
+ title: 'Politique de remboursement',
127
+ url: '/politics'
128
+ },
129
+ {
130
+ title: 'Nous joindre',
131
+ url: '/contact'
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ title: 'Mon compte',
137
+ links: [
138
+ {
139
+ title: 'Mes commandes',
140
+ url: '/orders'
141
+ },
142
+ {
143
+ title: 'Coordonées',
144
+ url: '/profile/contact'
145
+ },
146
+ {
147
+ title: 'Paramètres',
148
+ url: '/profile/settings'
149
+ }
150
+ ]
151
+ }
152
+ ]
153
+ }
154
+ };
155
+ exports.default = technosupply;
156
156
  //# sourceMappingURL=technosupply.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"technosupply.js","sourceRoot":"","sources":["../../src/utils/technosupply.ts"],"names":[],"mappings":";;AAEA,IAAM,YAAY,GAAG;IACpB,MAAM,EAAE;QACP,KAAK,EAAE,2EAA2E;QAClF,SAAS,EAAE,QAAQ;QACnB,IAAI,EAAE;YACL,SAAS,EAAE,IAAI;SACf;KACD;IACD,GAAG,EAAE;QACJ,QAAQ,EAAE,UAAU;QACpB,SAAS,EAAE,CAAC,SAAS;KACrB;IACD,OAAO,EAAE;QACR,MAAM,EAAE;YACP;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,mBAAmB;aAC1B;YACD;gBACC,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,mBAAmB;aAC1B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,mBAAmB;aAC1B;SACD;QACD,MAAM,EACL,8GAA8G;QAC/G,YAAY,EAAE,6BAA6B;QAC3C,YAAY,EAAE,kCAAkC;QAChD,KAAK,EAAE,sBAAsB;QAC7B,aAAa,EAAE;YACd,KAAK,EAAE,mBAAmB;YAC1B,KAAK,EAAE,YAAY;SACnB;QACD,WAAW,EAAE,cAAc;KAC3B;IACD,MAAM,EAAE;QACP,QAAQ,EAAE,sBAAsB;QAChC,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,uBAAuB;QAClC,SAAS,EAAE,uBAAuB;KAClC;IACD,GAAG,EAAE;QACJ,KAAK,EAAE,qBAAqB;QAC5B,MAAM,EACL,8GAA8G;QAC/G,KAAK,EAAE,+BAA+B;QACtC,aAAa,EACZ,qGAAqG;QACtG,eAAe,EAAE,UAAU;QAC3B,eAAe,EAAE,cAAc;QAC/B,SAAS,EAAE;YACV;gBACC,QAAQ,EAA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,EAAE,4BAA4B;wBACnC,GAAG,EAAE,WAAW;qBAChB;oBACD;wBACC,KAAK,EAAE,cAAc;wBACrB,GAAG,EAAE,UAAU;qBACf;iBACD;aACD;YACD;gBACC,KAAK,EAAE,YAAY;gBACnB,KAAK,EAAE;oBACN;wBACC,KAAK,EAAE,eAAe;wBACtB,GAAG,EAAE,SAAS;qBACd;oBACD;wBACC,KAAK,EAAE,YAAY;wBACnB,GAAG,EAAE,kBAAkB;qBACvB;oBACD;wBACC,KAAK,EAAE,YAAY;wBACnB,GAAG,EAAE,mBAAmB;qBACxB;iBACD;aACD;SACD;KACD;CACiB,CAAA;AAEnB,kBAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"technosupply.js","sourceRoot":"","sources":["../../src/utils/technosupply.ts"],"names":[],"mappings":";;AAEA,MAAM,YAAY,GAAG;IACpB,MAAM,EAAE;QACP,KAAK,EAAE,2EAA2E;QAClF,SAAS,EAAE,QAAQ;QACnB,IAAI,EAAE;YACL,SAAS,EAAE,IAAI;SACf;KACD;IACD,GAAG,EAAE;QACJ,QAAQ,EAAE,UAAU;QACpB,SAAS,EAAE,CAAC,SAAS;KACrB;IACD,OAAO,EAAE;QACR,MAAM,EAAE;YACP;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,mBAAmB;aAC1B;YACD;gBACC,IAAI,EAAE,YAAY;gBAClB,KAAK,EAAE,mBAAmB;aAC1B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,mBAAmB;aAC1B;SACD;QACD,MAAM,EACL,8GAA8G;QAC/G,YAAY,EAAE,6BAA6B;QAC3C,YAAY,EAAE,kCAAkC;QAChD,KAAK,EAAE,sBAAsB;QAC7B,aAAa,EAAE;YACd,KAAK,EAAE,mBAAmB;YAC1B,KAAK,EAAE,YAAY;SACnB;QACD,WAAW,EAAE,cAAc;KAC3B;IACD,MAAM,EAAE;QACP,QAAQ,EAAE,sBAAsB;QAChC,OAAO,EAAE,qBAAqB;QAC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EAAE;QACP,eAAe,EAAE,IAAI;QACrB,QAAQ,EAAE;YACT;gBACC,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,4FAA4F;gBACzG,KAAK,EAAE;oBACN;wBACC,KAAK,EAAE,0BAA0B;wBACjC,GAAG,EAAE,QAAQ;qBACb;oBACD;wBACC,KAAK,EAAE,qBAAqB;wBAC5B,GAAG,EAAE,MAAM;qBACX;oBACD;wBACC,KAAK,EAAE,4BAA4B;wBACnC,GAAG,EAAE,WAAW;qBAChB;oBACD;wBACC,KAAK,EAAE,cAAc;wBACrB,GAAG,EAAE,UAAU;qBACf;iBACD;aACD;YACD;gBACC,KAAK,EAAE,YAAY;gBACnB,KAAK,EAAE;oBACN;wBACC,KAAK,EAAE,eAAe;wBACtB,GAAG,EAAE,SAAS;qBACd;oBACD;wBACC,KAAK,EAAE,YAAY;wBACnB,GAAG,EAAE,kBAAkB;qBACvB;oBACD;wBACC,KAAK,EAAE,YAAY;wBACnB,GAAG,EAAE,mBAAmB;qBACxB;iBACD;aACD;SACD;KACD;CACiB,CAAA;AAEnB,kBAAe,YAAY,CAAA"}
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "addio-ecomm-sdk",
3
- "version": "1.3.76",
4
- "description": "",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1",
8
- "build": "tsc",
9
- "dev": "yarn build --watch",
10
- "update-sdk": "yarn add addio-admin-sdk && yarn build",
11
- "update-canary": "yarn add addio-admin-sdk@canary",
12
- "link-sdk": "yarn remove addio-admin-sdk && yarn add @types/js-cookie && cd ../addio-admin-sdk && yarn link && cd ../addio-ecomm-sdk && yarn link addio-admin-sdk",
13
- "unlink-sdk": "yarn unlink addio-admin-sdk && yarn remove @types/js-cookie && cd ../addio-ecomm-sdk && yarn add addio-admin-sdk",
14
- "unlink-canary": "yarn unlink addio-admin-sdk && yarn remove @types/js-cookie && cd ../addio-ecomm-sdk && yarn add addio-admin-sdk@canary",
15
- "pub": "sh publish.sh"
16
- },
17
- "author": "",
18
- "license": "ISC",
19
- "dependencies": {
20
- "@googlemaps/js-api-loader": "^1.11.3",
21
- "addio-admin-sdk": "^1.7.62",
22
- "algoliasearch": "^4.13.0",
23
- "contentful": "^9.1.28",
24
- "encoding": "^0.1.13",
25
- "firebase": "^7.17.2",
26
- "google-auth-library": "^6.0.6",
27
- "isomorphic-unfetch": "^3.0.0",
28
- "js-cookie": "^3.0.1",
29
- "jsonwebtoken": "^8.5.1",
30
- "lodash": "^4.17.20",
31
- "moment": "^2.28.0",
32
- "react-gtm-module": "^2.0.11",
33
- "react-input-mask": "^2.0.4",
34
- "stripe": "^8.145.0",
35
- "use-state-promise": "^0.1.1"
36
- },
37
- "devDependencies": {
38
- "@babel/cli": "^7.10.5",
39
- "@babel/core": "^7.11.1",
40
- "@babel/plugin-proposal-class-properties": "^7.10.4",
41
- "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
42
- "@babel/plugin-transform-react-jsx": "^7.10.4",
43
- "@babel/preset-env": "^7.11.0",
44
- "@babel/preset-react": "^7.10.4",
45
- "@babel/preset-typescript": "^7.10.4",
46
- "@types/bson": "^4.2.0",
47
- "@types/google.maps": "^3.45.6",
48
- "@types/jsonwebtoken": "^8.5.0",
49
- "@types/lodash": "^4.14.160",
50
- "@types/node-fetch": "^2.5.7",
51
- "@types/react": "^17.0.30",
52
- "@types/react-dom": "^17.0.9",
53
- "@types/react-gtm-module": "^2.0.1",
54
- "@types/react-input-mask": "^3.0.1",
55
- "jsdoc-babel": "^0.5.0",
56
- "jsdoc-to-markdown": "^6.0.1",
57
- "react": "^17.0.2",
58
- "react-dom": "^17.0.2",
59
- "typescript": "^4.7.4"
60
- }
61
- }
1
+ {
2
+ "name": "addio-ecomm-sdk",
3
+ "version": "1.3.77",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "build": "tsc",
9
+ "dev": "yarn build --watch",
10
+ "update-sdk": "yarn add addio-admin-sdk && yarn build",
11
+ "update-canary": "yarn add addio-admin-sdk@canary",
12
+ "link-sdk": "yarn remove addio-admin-sdk && yarn add @types/js-cookie && cd ../addio-admin-sdk && yarn link && cd ../addio-ecomm-sdk && yarn link addio-admin-sdk",
13
+ "unlink-sdk": "yarn unlink addio-admin-sdk && yarn remove @types/js-cookie && cd ../addio-ecomm-sdk && yarn add addio-admin-sdk",
14
+ "unlink-canary": "yarn unlink addio-admin-sdk && yarn remove @types/js-cookie && cd ../addio-ecomm-sdk && yarn add addio-admin-sdk@canary",
15
+ "pub": "sh publish.sh"
16
+ },
17
+ "author": "",
18
+ "license": "ISC",
19
+ "dependencies": {
20
+ "@googlemaps/js-api-loader": "^1.11.3",
21
+ "addio-admin-sdk": "1.7.62",
22
+ "algoliasearch": "^4.13.0",
23
+ "contentful": "^9.1.28",
24
+ "encoding": "^0.1.13",
25
+ "firebase": "^7.17.2",
26
+ "google-auth-library": "^6.0.6",
27
+ "isomorphic-unfetch": "^3.0.0",
28
+ "js-cookie": "^3.0.1",
29
+ "jsonwebtoken": "^8.5.1",
30
+ "lodash": "^4.17.20",
31
+ "moment": "^2.28.0",
32
+ "react-gtm-module": "^2.0.11",
33
+ "react-input-mask": "^2.0.4",
34
+ "stripe": "^8.145.0",
35
+ "use-state-promise": "^0.1.1"
36
+ },
37
+ "devDependencies": {
38
+ "@babel/cli": "^7.10.5",
39
+ "@babel/core": "^7.11.1",
40
+ "@babel/plugin-proposal-class-properties": "^7.10.4",
41
+ "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
42
+ "@babel/plugin-transform-react-jsx": "^7.10.4",
43
+ "@babel/preset-env": "^7.11.0",
44
+ "@babel/preset-react": "^7.10.4",
45
+ "@babel/preset-typescript": "^7.10.4",
46
+ "@types/bson": "^4.2.0",
47
+ "@types/google.maps": "^3.45.6",
48
+ "@types/jsonwebtoken": "^8.5.0",
49
+ "@types/lodash": "^4.14.160",
50
+ "@types/node-fetch": "^2.5.7",
51
+ "@types/react": "^17.0.30",
52
+ "@types/react-dom": "^17.0.9",
53
+ "@types/react-gtm-module": "^2.0.1",
54
+ "@types/react-input-mask": "^3.0.1",
55
+ "jsdoc-babel": "^0.5.0",
56
+ "jsdoc-to-markdown": "^6.0.1",
57
+ "react": "^17.0.2",
58
+ "react-dom": "^17.0.2",
59
+ "typescript": "^4.7.4"
60
+ }
61
+ }