favesalon-embed 0.0.2 → 0.1.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 (240) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/_commonjsHelpers-5cfcba41.js +36 -0
  3. package/dist/cjs/colors-38421769.js +69 -0
  4. package/dist/cjs/favesalon-embed.cjs.js +20 -0
  5. package/{cjs → dist/cjs}/global-9073d10e.js +0 -0
  6. package/dist/cjs/google-map_5.cjs.entry.js +291 -0
  7. package/dist/cjs/index-7f190886.js +4396 -0
  8. package/{cjs/index-7d179a70.js → dist/cjs/index-e6bea8f5.js} +87 -3
  9. package/{cjs → dist/cjs}/index.cjs.js +0 -0
  10. package/dist/cjs/loader.cjs.js +22 -0
  11. package/dist/cjs/salon-booking-modal.cjs.entry.js +29 -0
  12. package/dist/cjs/salon-booking.cjs.entry.js +50 -0
  13. package/dist/cjs/salon-gift-card-modal.cjs.entry.js +28 -0
  14. package/dist/cjs/salon-gift-card.cjs.entry.js +50 -0
  15. package/dist/cjs/salon-latest-reviews.cjs.entry.js +95 -0
  16. package/dist/cjs/salon-lookbook.cjs.entry.js +218 -0
  17. package/{cjs → dist/cjs}/salon-ranking.cjs.entry.js +7 -7
  18. package/dist/cjs/salon-reviews.cjs.entry.js +186 -0
  19. package/dist/cjs/salon-services.cjs.entry.js +78 -0
  20. package/dist/cjs/salon-stylists.cjs.entry.js +112 -0
  21. package/{cjs/services-d6f8214c.js → dist/cjs/services-eee8f251.js} +317 -361
  22. package/dist/cjs/style-detail.cjs.entry.js +310 -0
  23. package/{cjs → dist/cjs}/user-avatar.cjs.entry.js +4 -4
  24. package/{cjs → dist/cjs}/utils-c5a33b3c.js +0 -0
  25. package/{collection → dist/collection}/collection-manifest.json +2 -2
  26. package/dist/collection/components/google-map/assets/map--placeholder.jpeg +0 -0
  27. package/{collection → dist/collection}/components/google-map/index.css +0 -1
  28. package/dist/collection/components/google-map/index.js +86 -0
  29. package/{collection → dist/collection}/components/salon-booking/index.css +10 -24
  30. package/{collection → dist/collection}/components/salon-booking/index.js +29 -11
  31. package/{collection → dist/collection}/components/salon-booking/salon-booking-modal.js +12 -6
  32. package/dist/collection/components/salon-gift-card/index.css +25 -0
  33. package/{collection → dist/collection}/components/salon-gift-card/index.js +44 -6
  34. package/{collection → dist/collection}/components/salon-gift-card/salon-gift-card-modal.js +30 -4
  35. package/{collection/components/salon-locations → dist/collection/components/salon-info}/index.css +0 -0
  36. package/{collection → dist/collection}/components/salon-info/index.js +6 -32
  37. package/{collection → dist/collection}/components/salon-latest-reviews/index.css +0 -3
  38. package/dist/collection/components/salon-latest-reviews/index.js +176 -0
  39. package/dist/collection/components/salon-latest-styles/index.css +10 -0
  40. package/dist/collection/components/salon-latest-styles/index.js +178 -0
  41. package/{collection/components/salon-contact → dist/collection/components/salon-locations}/index.css +6 -6
  42. package/dist/collection/components/salon-locations/index.js +151 -0
  43. package/dist/collection/components/salon-lookbook/index.css +12 -0
  44. package/{collection → dist/collection}/components/salon-lookbook/index.js +122 -49
  45. package/{collection → dist/collection}/components/salon-ranking/index.css +0 -0
  46. package/{collection → dist/collection}/components/salon-ranking/index.js +5 -5
  47. package/dist/collection/components/salon-reviews/index.css +15 -0
  48. package/dist/collection/components/salon-reviews/index.js +286 -0
  49. package/dist/collection/components/salon-schedules/index.css +15 -0
  50. package/dist/collection/components/salon-schedules/index.js +189 -0
  51. package/{collection/components/salon-reviews → dist/collection/components/salon-services}/index.css +0 -0
  52. package/dist/collection/components/salon-services/index.js +156 -0
  53. package/{collection → dist/collection}/components/salon-stylists/index.css +0 -8
  54. package/dist/collection/components/salon-stylists/index.js +183 -0
  55. package/dist/collection/components/style-detail/index.css +62 -0
  56. package/dist/collection/components/style-detail/index.js +461 -0
  57. package/{collection/components/salon-services → dist/collection/components/user-avatar}/index.css +0 -0
  58. package/{collection → dist/collection}/components/user-avatar/index.js +2 -2
  59. package/dist/collection/constants/colors.js +65 -0
  60. package/{collection → dist/collection}/global/global.js +0 -0
  61. package/{collection → dist/collection}/index.js +0 -0
  62. package/dist/collection/services/services.js +174 -0
  63. package/dist/collection/types/common.js +11 -0
  64. package/{collection → dist/collection}/types/review.js +9 -5
  65. package/dist/collection/types/salon.js +58 -0
  66. package/{collection → dist/collection}/types/service.js +0 -0
  67. package/dist/collection/types/style.js +128 -0
  68. package/dist/collection/types/stylist.js +30 -0
  69. package/{collection/components/user-avatar/index.css → dist/collection/types/tmp.js} +0 -0
  70. package/{collection → dist/collection}/types/user.js +2 -2
  71. package/{collection → dist/collection}/utils/utils.js +0 -0
  72. package/{custom-elements → dist/custom-elements}/index.d.ts +12 -12
  73. package/{custom-elements → dist/custom-elements}/index.js +5783 -870
  74. package/dist/esm/_commonjsHelpers-098d5b27.js +32 -0
  75. package/dist/esm/colors-ea36347a.js +67 -0
  76. package/dist/esm/favesalon-embed.js +18 -0
  77. package/{esm → dist/esm}/global-e1089ffd.js +0 -0
  78. package/dist/esm/google-map_5.entry.js +283 -0
  79. package/{esm/index-2160b80b.js → dist/esm/index-6af0a03d.js} +87 -4
  80. package/dist/esm/index-80523fec.js +4393 -0
  81. package/{esm → dist/esm}/index.js +0 -0
  82. package/dist/esm/loader.js +18 -0
  83. package/{esm → dist/esm}/polyfills/core-js.js +0 -0
  84. package/{esm → dist/esm}/polyfills/css-shim.js +0 -0
  85. package/{esm → dist/esm}/polyfills/dom.js +0 -0
  86. package/{esm → dist/esm}/polyfills/es5-html-element.js +0 -0
  87. package/{esm → dist/esm}/polyfills/index.js +0 -0
  88. package/{esm → dist/esm}/polyfills/system.js +0 -0
  89. package/dist/esm/salon-booking-modal.entry.js +25 -0
  90. package/dist/esm/salon-booking.entry.js +46 -0
  91. package/dist/esm/salon-gift-card-modal.entry.js +24 -0
  92. package/dist/esm/salon-gift-card.entry.js +46 -0
  93. package/dist/esm/salon-latest-reviews.entry.js +91 -0
  94. package/dist/esm/salon-lookbook.entry.js +214 -0
  95. package/{esm → dist/esm}/salon-ranking.entry.js +7 -7
  96. package/dist/esm/salon-reviews.entry.js +182 -0
  97. package/dist/esm/salon-services.entry.js +74 -0
  98. package/dist/esm/salon-stylists.entry.js +108 -0
  99. package/{esm/services-57fadd0a.js → dist/esm/services-295247b1.js} +310 -355
  100. package/dist/esm/style-detail.entry.js +306 -0
  101. package/{esm → dist/esm}/user-avatar.entry.js +4 -4
  102. package/{esm → dist/esm}/utils-e97485e0.js +0 -0
  103. package/dist/favesalon-embed/assets/map--placeholder.jpeg +0 -0
  104. package/{favesalon-embed → dist/favesalon-embed}/favesalon-embed.css +1 -1
  105. package/dist/favesalon-embed/favesalon-embed.esm.js +1 -0
  106. package/{favesalon-embed → dist/favesalon-embed}/index.esm.js +0 -0
  107. package/dist/favesalon-embed/p-292b97ba.entry.js +1 -0
  108. package/{favesalon-embed → dist/favesalon-embed}/p-47e646f8.js +0 -0
  109. package/dist/favesalon-embed/p-4869dfed.entry.js +1 -0
  110. package/{favesalon-embed → dist/favesalon-embed}/p-4a5eca9a.js +0 -0
  111. package/dist/favesalon-embed/p-4aee4fd9.entry.js +1 -0
  112. package/dist/favesalon-embed/p-5528c705.entry.js +1 -0
  113. package/dist/favesalon-embed/p-612ad685.entry.js +1 -0
  114. package/dist/favesalon-embed/p-75aef7e0.entry.js +1 -0
  115. package/dist/favesalon-embed/p-8c780874.entry.js +1 -0
  116. package/dist/favesalon-embed/p-8dbf04c5.js +1 -0
  117. package/dist/favesalon-embed/p-9f31061a.entry.js +1 -0
  118. package/dist/favesalon-embed/p-a33331cc.js +1 -0
  119. package/dist/favesalon-embed/p-a60d78e9.entry.js +1 -0
  120. package/dist/favesalon-embed/p-a6debdae.entry.js +1 -0
  121. package/dist/favesalon-embed/p-bad1e9a7.entry.js +1 -0
  122. package/dist/favesalon-embed/p-c2ecb365.js +1 -0
  123. package/dist/favesalon-embed/p-c7dea70c.entry.js +1 -0
  124. package/dist/favesalon-embed/p-d6083940.js +1 -0
  125. package/dist/favesalon-embed/p-f0e14641.entry.js +1 -0
  126. package/dist/favesalon-embed/p-fc9a5551.js +6 -0
  127. package/{index.cjs.js → dist/index.cjs.js} +0 -0
  128. package/{index.js → dist/index.js} +0 -0
  129. package/dist/types/components/google-map/index.d.ts +5 -0
  130. package/{types → dist/types}/components/salon-booking/index.d.ts +1 -1
  131. package/{types → dist/types}/components/salon-booking/salon-booking-modal.d.ts +1 -0
  132. package/{types → dist/types}/components/salon-gift-card/index.d.ts +2 -1
  133. package/{types → dist/types}/components/salon-gift-card/salon-gift-card-modal.d.ts +2 -0
  134. package/{types → dist/types}/components/salon-info/index.d.ts +0 -1
  135. package/{types → dist/types}/components/salon-latest-reviews/index.d.ts +2 -0
  136. package/dist/types/components/salon-latest-styles/index.d.ts +12 -0
  137. package/{types → dist/types}/components/salon-locations/index.d.ts +2 -0
  138. package/{types → dist/types}/components/salon-lookbook/index.d.ts +7 -2
  139. package/{types → dist/types}/components/salon-ranking/index.d.ts +0 -0
  140. package/dist/types/components/salon-reviews/index.d.ts +24 -0
  141. package/{types → dist/types}/components/salon-schedules/index.d.ts +2 -0
  142. package/{types → dist/types}/components/salon-services/index.d.ts +2 -0
  143. package/{types → dist/types}/components/salon-stylists/index.d.ts +6 -0
  144. package/dist/types/components/style-detail/index.d.ts +24 -0
  145. package/{types → dist/types}/components/user-avatar/index.d.ts +0 -0
  146. package/{types → dist/types}/components.d.ts +62 -41
  147. package/dist/types/constants/colors.d.ts +65 -0
  148. package/{types → dist/types}/index.d.ts +0 -0
  149. package/dist/types/services/services.d.ts +60 -0
  150. package/{types → dist/types}/stencil-public-runtime.d.ts +0 -0
  151. package/dist/types/types/common.d.ts +11 -0
  152. package/{types → dist/types}/types/review.d.ts +4 -0
  153. package/{types → dist/types}/types/salon.d.ts +3 -1
  154. package/{types → dist/types}/types/service.d.ts +0 -0
  155. package/dist/types/types/style.d.ts +88 -0
  156. package/{types → dist/types}/types/stylist.d.ts +2 -1
  157. package/dist/types/types/tmp.d.ts +0 -0
  158. package/{types → dist/types}/types/user.d.ts +2 -2
  159. package/{types → dist/types}/utils/utils.d.ts +0 -0
  160. package/loader/cdn.js +3 -0
  161. package/loader/index.cjs.js +3 -0
  162. package/loader/index.d.ts +12 -0
  163. package/loader/index.es2017.js +3 -0
  164. package/loader/index.js +4 -0
  165. package/loader/package.json +10 -0
  166. package/package.json +18 -13
  167. package/readme.md +23 -2
  168. package/cjs/colors-7f354880.js +0 -95
  169. package/cjs/favesalon-embed.cjs.js +0 -20
  170. package/cjs/google-map.cjs.entry.js +0 -47
  171. package/cjs/loader.cjs.js +0 -22
  172. package/cjs/salon-booking-modal.cjs.entry.js +0 -23
  173. package/cjs/salon-booking_2.cjs.entry.js +0 -56
  174. package/cjs/salon-contact_4.cjs.entry.js +0 -154
  175. package/cjs/salon-gift-card-modal.cjs.entry.js +0 -20
  176. package/cjs/salon-info.cjs.entry.js +0 -34
  177. package/cjs/salon-latest-reviews.cjs.entry.js +0 -57
  178. package/cjs/salon-lookbook.cjs.entry.js +0 -187
  179. package/cjs/salon-reviews.cjs.entry.js +0 -196
  180. package/cjs/salon-services.cjs.entry.js +0 -40
  181. package/cjs/salon-stylists.cjs.entry.js +0 -53
  182. package/collection/components/google-map/index.js +0 -97
  183. package/collection/components/salon-contact/index.js +0 -88
  184. package/collection/components/salon-gift-card/index.css +0 -25
  185. package/collection/components/salon-info/index.css +0 -3
  186. package/collection/components/salon-latest-reviews/index.js +0 -108
  187. package/collection/components/salon-locations/index.js +0 -80
  188. package/collection/components/salon-lookbook/index.css +0 -12
  189. package/collection/components/salon-reviews/index.js +0 -291
  190. package/collection/components/salon-schedules/index.css +0 -14
  191. package/collection/components/salon-schedules/index.js +0 -103
  192. package/collection/components/salon-services/index.js +0 -86
  193. package/collection/components/salon-styles/index.css +0 -23
  194. package/collection/components/salon-styles/index.js +0 -100
  195. package/collection/components/salon-stylists/index.js +0 -96
  196. package/collection/constants/colors.js +0 -91
  197. package/collection/services/services.js +0 -203
  198. package/collection/types/common.js +0 -2
  199. package/collection/types/salon.js +0 -52
  200. package/collection/types/style.js +0 -28
  201. package/collection/types/stylist.js +0 -13
  202. package/esm/colors-1ec90c5f.js +0 -93
  203. package/esm/favesalon-embed.js +0 -18
  204. package/esm/google-map.entry.js +0 -43
  205. package/esm/loader.js +0 -18
  206. package/esm/salon-booking-modal.entry.js +0 -19
  207. package/esm/salon-booking_2.entry.js +0 -51
  208. package/esm/salon-contact_4.entry.js +0 -147
  209. package/esm/salon-gift-card-modal.entry.js +0 -16
  210. package/esm/salon-info.entry.js +0 -30
  211. package/esm/salon-latest-reviews.entry.js +0 -53
  212. package/esm/salon-lookbook.entry.js +0 -183
  213. package/esm/salon-reviews.entry.js +0 -192
  214. package/esm/salon-services.entry.js +0 -36
  215. package/esm/salon-stylists.entry.js +0 -49
  216. package/favesalon-embed/favesalon-embed.esm.js +0 -1
  217. package/favesalon-embed/p-14a46adf.entry.js +0 -1
  218. package/favesalon-embed/p-2da2ed75.js +0 -1
  219. package/favesalon-embed/p-3712d9ab.entry.js +0 -1
  220. package/favesalon-embed/p-38066f9f.entry.js +0 -1
  221. package/favesalon-embed/p-4e2d7b29.js +0 -1
  222. package/favesalon-embed/p-520c8ffb.entry.js +0 -1
  223. package/favesalon-embed/p-54a1c294.entry.js +0 -1
  224. package/favesalon-embed/p-762520f2.js +0 -1
  225. package/favesalon-embed/p-94a0991e.entry.js +0 -1
  226. package/favesalon-embed/p-94b179eb.entry.js +0 -1
  227. package/favesalon-embed/p-977bd8bc.entry.js +0 -1
  228. package/favesalon-embed/p-bc363938.entry.js +0 -1
  229. package/favesalon-embed/p-bf9c83a3.entry.js +0 -1
  230. package/favesalon-embed/p-c5ebd3c9.entry.js +0 -1
  231. package/favesalon-embed/p-d84b61b0.entry.js +0 -1
  232. package/favesalon-embed/p-f15bcb43.entry.js +0 -1
  233. package/types/components/google-map/index.d.ts +0 -10
  234. package/types/components/salon-contact/index.d.ts +0 -9
  235. package/types/components/salon-reviews/index.d.ts +0 -23
  236. package/types/components/salon-styles/index.d.ts +0 -9
  237. package/types/constants/colors.d.ts +0 -88
  238. package/types/services/services.d.ts +0 -24
  239. package/types/types/common.d.ts +0 -2
  240. package/types/types/style.d.ts +0 -49
@@ -1,96 +0,0 @@
1
- import { Component, Prop, h, Method, State } from '@stencil/core';
2
- import { Colors } from '../../constants/colors';
3
- import HttpService from '../../services/services';
4
- export class SalonStylists {
5
- componentWillLoad() {
6
- this.fetchData();
7
- }
8
- async fetchData() {
9
- try {
10
- this.salonStylists = await HttpService().fetchSalonStylists(this.salonId);
11
- }
12
- catch (e) { }
13
- }
14
- render() {
15
- return (h("div", { class: "view--salon-stylists" }, (this.salonStylists || []).map(stylist => (h("div", { class: "salon-stylist" },
16
- h("div", { class: "card", style: {
17
- border: `1px solid ${Colors.Gray05}`,
18
- borderRadius: '8px',
19
- overflow: 'hidden',
20
- } },
21
- h("div", { class: "salon-stylist--avatar", style: {
22
- backgroundImage: `url("${stylist.avatar}")`,
23
- backgroundColor: Colors.Gray06,
24
- backgroundRepeat: 'no-repeat',
25
- backgroundPosition: 'center top',
26
- backgroundSize: 'cover',
27
- position: 'relative',
28
- display: 'flex',
29
- width: '100%',
30
- alignItems: 'center',
31
- justifyContent: 'center',
32
- } }, !stylist.avatar && (h("span", { style: {
33
- fontSize: '32px',
34
- fontWeight: 'bold',
35
- textTransform: 'uppercase',
36
- } },
37
- (stylist.firstName || '').charAt(0),
38
- " ",
39
- (stylist.lastName || '').charAt(0)))),
40
- h("div", { class: "card-body" },
41
- h("div", { style: {
42
- fontSize: '16px',
43
- fontWeight: 'bold',
44
- textAlign: 'center',
45
- } }, stylist.name),
46
- h("div", { style: { marginTop: '4px' } },
47
- h("salon-ranking", { ranking: stylist.rating })))))))));
48
- }
49
- static get is() { return "salon-stylists"; }
50
- static get originalStyleUrls() { return {
51
- "$": ["index.css"]
52
- }; }
53
- static get styleUrls() { return {
54
- "$": ["index.css"]
55
- }; }
56
- static get properties() { return {
57
- "salonId": {
58
- "type": "number",
59
- "mutable": false,
60
- "complexType": {
61
- "original": "number",
62
- "resolved": "number",
63
- "references": {}
64
- },
65
- "required": false,
66
- "optional": false,
67
- "docs": {
68
- "tags": [],
69
- "text": ""
70
- },
71
- "attribute": "salon-id",
72
- "reflect": false
73
- }
74
- }; }
75
- static get states() { return {
76
- "salonStylists": {}
77
- }; }
78
- static get methods() { return {
79
- "fetchData": {
80
- "complexType": {
81
- "signature": "() => Promise<void>",
82
- "parameters": [],
83
- "references": {
84
- "Promise": {
85
- "location": "global"
86
- }
87
- },
88
- "return": "Promise<void>"
89
- },
90
- "docs": {
91
- "text": "",
92
- "tags": []
93
- }
94
- }
95
- }; }
96
- }
@@ -1,91 +0,0 @@
1
- export const Colors = {
2
- // Neutral Color
3
- Black: '#000000',
4
- White: '#ffffff',
5
- Primary: '#5C1973',
6
- Danger: '#E92626',
7
- Success: '#3FB34F',
8
- Warning: '#F17714',
9
- Info: '#013385',
10
- Black01: '#141414',
11
- Black02: '#1f1f1f',
12
- Black03: '#262626',
13
- Gray01: '#333333',
14
- Gray02: '#666666',
15
- Gray03: '#999999',
16
- Gray04: '#DBDBDB',
17
- Gray05: '#EFEFEF',
18
- Gray06: '#F5F5F5',
19
- // Accent Colors
20
- DarkBlue01: '#E8E8EF',
21
- DarkBlue02: '#7674A0',
22
- DarkBlue03: '#1B1761',
23
- DarkBlue04: '#100E3A',
24
- DarkBlue05: '#08071D',
25
- Violet01: '#EFE8F1',
26
- Violet02: '#9D75AB',
27
- Violet03: '#5C1973',
28
- Violet04: '#370F45',
29
- Violet05: '#1C0722',
30
- Pink01: '#FDE9F2',
31
- Pink02: '#F27DAF',
32
- Pink03: '#E9267A',
33
- Pink04: '#8C1749',
34
- Pink05: '#2F0818',
35
- Blue01: '#E6EBF3',
36
- Blue02: '#6785B6',
37
- Blue03: '#013385',
38
- Blue04: '#011F50',
39
- Blue05: '#000F28',
40
- Green01: '#ECF7ED',
41
- Green02: '#8CD195',
42
- Green03: '#3FB34F',
43
- Green04: '#266B2F',
44
- Green05: '#0D2410',
45
- Orange01: '#FEF1E8',
46
- Orange02: '#F7AD72',
47
- Orange03: '#F17714',
48
- Orange04: '#91470C',
49
- Orange05: '#301804',
50
- Yellow01: '#FFFAED',
51
- Yellow02: '#FDE392',
52
- Yellow03: '#FCD14A',
53
- Yellow04: '#977D2C',
54
- Yellow05: '#322A0F',
55
- Red01: '#FD2727',
56
- Red02: '#FF4D4F',
57
- Red03: '#FFA39E',
58
- Red04: '#FFCCC7',
59
- Red05: '#FFF1F0',
60
- // deprecated
61
- BluePurple01: '#2D3B8A',
62
- BluePurple02: '#36459D',
63
- BluePurple03: '#5760A1',
64
- BluePurple04: '#828AB9',
65
- BluePurple05: '#ABB0D0',
66
- Coral01: '#F16B68',
67
- Coral02: '#F68A87',
68
- Coral03: '#F7A6A3',
69
- Coral04: '#FAC4C2',
70
- Coral05: '#FCE0DF',
71
- YellowLight01: '#F0E902',
72
- YellowLight02: '#F5ED33',
73
- YellowLight03: '#F8F266',
74
- YellowLight04: '#FAF599',
75
- YellowLight05: '#FCF9CC',
76
- YellowCyber01: '#FDCF00',
77
- YellowCyber02: '#FCD932',
78
- YellowCyber03: '#FFE365',
79
- YellowCyber04: '#FFED99',
80
- YellowCyber05: '#FFF5CC',
81
- Turquoise01: '#00E4CB',
82
- Turquoise02: '#33E8D6',
83
- Turquoise03: '#67F0DF',
84
- Turquoise04: '#99F4EB',
85
- Turquoise05: '#CCFAF5',
86
- Purple01: '#8A5BED',
87
- Purple02: '#9970F0',
88
- Purple03: '#B394F2',
89
- Purple04: '#CCB8F7',
90
- Purple05: '#E6DBFA',
91
- };
@@ -1,203 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import sortBy from 'lodash/sortBy';
13
- import groupBy from 'lodash/groupBy';
14
- import axios from 'axios';
15
- import { createSalon } from '../types/salon';
16
- import { createFavesalonStyle } from '../types/style';
17
- import { createService } from '../types/service';
18
- import { createStylist } from '../types/stylist';
19
- import { createReview } from '../types/review';
20
- class HttpService {
21
- constructor() {
22
- this.http = null;
23
- this.http = axios.create({
24
- baseURL: 'https://favesalon.com',
25
- headers: {},
26
- });
27
- }
28
- fetchSalonInfo(salonId) {
29
- const url = 'api/salon/settings-public';
30
- return this.http.post(url, { salon_id: salonId })
31
- .then((response) => {
32
- const { status, data } = response.data;
33
- return status && data ? createSalon(data.Salon) : null;
34
- })
35
- .catch(() => (null));
36
- }
37
- fetchReviews(url, options, allReviews) {
38
- const { noLoop } = options, restOptions = __rest(options, ["noLoop"]);
39
- return this.http.post(url, restOptions)
40
- .then((response) => {
41
- const { status, data } = response.data;
42
- if (status) {
43
- const reviews = (data || []).filter(blob => Math.ceil(Number(blob.avg_point)) > 0).map(createReview);
44
- // fetch next page's reviews
45
- if (!noLoop && reviews.length >= options.limit) {
46
- return this.fetchReviews(url, Object.assign(Object.assign({}, options), { page: options.page + 1 }), allReviews.concat(reviews));
47
- }
48
- const finalReviews = options.page === 1 ? reviews : allReviews.concat(reviews);
49
- return {
50
- totalReviews: finalReviews.length || 0,
51
- allReviews: finalReviews,
52
- };
53
- }
54
- return { totalReviews: 0, allReviews: [] };
55
- });
56
- }
57
- fetchSalonReviews(salonId, options) {
58
- const url = '/api/salon/reviews';
59
- return this.fetchReviews(url, Object.assign({ page: 1, limit: 5, salon_id: salonId, avg_point_greater_than: 0 }, options), [])
60
- .then(response => {
61
- const { totalReviews, allReviews } = response;
62
- return {
63
- total: totalReviews,
64
- allItems: allReviews,
65
- };
66
- })
67
- .catch(() => ({ total: 0, allItems: [] }));
68
- }
69
- decorateServiceGroups(groups) {
70
- return groups.map((cate, index) => {
71
- const cateName = cate.name;
72
- const categoryId = `${cate.service_id}-${String(cateName).toLowerCase().split(' ').join('-')}-${cate.order}-index-${index}`;
73
- const sortedSubCates = sortBy(cate.service_groups, [subCate => subCate.order]);
74
- return {
75
- id: categoryId,
76
- name: cateName,
77
- type: 'category',
78
- data: sortedSubCates.map((subCate, subCateIndex) => {
79
- const subCateId = `${categoryId}-${String(subCate.name).toLowerCase().split(' ').join('-')}-${subCate.order}-index-${subCateIndex}`;
80
- return {
81
- key: subCateId,
82
- name: subCate.category,
83
- type: 'sub-category',
84
- data: (subCate.services || []).map(rawService => {
85
- const serviceObj = createService(rawService);
86
- return Object.assign(Object.assign({}, serviceObj), { type: 'service' });
87
- }),
88
- };
89
- }),
90
- };
91
- });
92
- }
93
- fetchSalonServices(salonId) {
94
- const url = `api/salon/services?v=2&id=${salonId}`;
95
- return this.http.get(url)
96
- .then(response => {
97
- const { status, data } = response.data;
98
- if (status) {
99
- return this.decorateServiceGroups(data || []);
100
- }
101
- return [];
102
- })
103
- .catch(() => ([]));
104
- }
105
- fetchSalonStylists(salonId) {
106
- const fetchStylistSchedules = this.http.get(`api/calendar/resource/stylists?salon_id=${salonId}`)
107
- .then((response) => {
108
- const { status, data } = response.data;
109
- return status ? (data || []) : [];
110
- })
111
- .catch(() => ([]));
112
- const fetchStylistSkills = this.http.get(`api/salon/skill-stylists/${salonId}`)
113
- .then((response) => {
114
- const { status, data } = response.data;
115
- return status ? (data || []).map(blob => (Object.assign(Object.assign({}, blob), { id: blob.stylist_id }))) : [];
116
- })
117
- .catch(() => ([]));
118
- return Promise.all([fetchStylistSchedules, fetchStylistSkills])
119
- .then(results => {
120
- const [stylistSchedules, stylistSkills] = results;
121
- const allStylistGroups = groupBy(stylistSchedules.concat(stylistSkills), stylist => stylist.id);
122
- return Object.keys(allStylistGroups)
123
- .filter(stylistId => Number(stylistId) > 0)
124
- .map(stylistId => {
125
- const [schedule, skills] = allStylistGroups[stylistId];
126
- return createStylist(Object.assign(Object.assign({}, schedule), skills));
127
- });
128
- })
129
- .catch(() => []);
130
- }
131
- fetchSalonCategories() {
132
- return this.http.post('api/home/get-service', { limit: 50 })
133
- .then((response) => {
134
- const { status, data } = response.data;
135
- if (status) {
136
- return (data || []).map(blob => {
137
- return {
138
- id: blob.id,
139
- name: blob.name,
140
- image: blob.full_image,
141
- imageThumb: blob.full_thumb_image,
142
- };
143
- });
144
- }
145
- return [];
146
- })
147
- .catch(() => ([]));
148
- }
149
- fetchSalonLookbooks(salonId, options) {
150
- const noResult = { total: 0, allLookbooks: [] };
151
- return this.http.post('api/style/filter', Object.assign({ page: 1, limit: 20, salon_id: salonId }, options))
152
- .then((response) => {
153
- const { status, data, paging } = response.data;
154
- if (status) {
155
- return {
156
- total: paging.total_item || 0,
157
- allLookbooks: (data || []).map(createFavesalonStyle),
158
- };
159
- }
160
- return noResult;
161
- })
162
- .catch(() => (noResult));
163
- }
164
- fetchSalonPhotos(salonId) {
165
- return this.http
166
- .post('api/style/filter', {
167
- page: 1,
168
- limit: 20,
169
- salon_id: salonId,
170
- })
171
- .then((response) => {
172
- const { status, data } = response.data;
173
- if (status) {
174
- return (data || []).map(createFavesalonStyle);
175
- }
176
- return [];
177
- })
178
- .catch(() => {
179
- return [];
180
- });
181
- }
182
- fetchAllStyles(url, options, allStyles) {
183
- return this.http.post(url, options)
184
- .then((response) => {
185
- const { status, data } = response.data;
186
- if (status) {
187
- const styles = (data || []).map(createFavesalonStyle);
188
- // fetch next page styles
189
- if (styles.length >= options.limit) {
190
- return this.fetchAllStyles(url, Object.assign(Object.assign({}, options), { page: options.page + 1 }), allStyles.concat(styles));
191
- }
192
- return options.page === 1 ? styles : allStyles;
193
- }
194
- return allStyles;
195
- });
196
- }
197
- fetchAllSalonPhotos(salonId, options) {
198
- return this.fetchAllStyles('api/style/filter', Object.assign({ page: 1, limit: 20, salon_id: salonId }, options), []).catch(() => {
199
- return [];
200
- });
201
- }
202
- }
203
- export default () => new HttpService();
@@ -1,2 +0,0 @@
1
- export const shortDate = 'DD MMM YYYY';
2
- export const apiDateFormat = 'YYYY-MM-DD HH:mm:ss';
@@ -1,52 +0,0 @@
1
- export var BusinessHourStatus;
2
- (function (BusinessHourStatus) {
3
- BusinessHourStatus[BusinessHourStatus["Open"] = 0] = "Open";
4
- BusinessHourStatus[BusinessHourStatus["Close"] = 1] = "Close";
5
- BusinessHourStatus[BusinessHourStatus["ByAppointment"] = 2] = "ByAppointment";
6
- })(BusinessHourStatus || (BusinessHourStatus = {}));
7
- export function createSalon(blob) {
8
- const salonGeoLocations = blob.salon_geolocation || [];
9
- const themeColors = {
10
- 'allure24-blue': '89c8d2',
11
- 'allure24-pink': 'ff7fa2',
12
- 'the-shave': 'af8c45',
13
- 'theme2-dark-green': '90c245',
14
- 'theme2-green': 'bed451',
15
- 'theme2-light-pink': 'd47b99',
16
- 'theme2-purple': 'ab345c',
17
- 'theme3-blue': '076dec',
18
- 'theme3-layout1': 'd59b76',
19
- 'theme3-layout2': 'b02858',
20
- 'theme4-green': '5da826',
21
- 'theme4': '08b89d',
22
- 'theme5': 'f64c4d',
23
- };
24
- return {
25
- id: blob.id,
26
- about: blob.about,
27
- email: blob.email,
28
- fullProfileImage: blob.full_profile_image,
29
- fullCoverImage: blob.full_cover_image,
30
- ownerName: blob.owner_name,
31
- subdomain: blob.subdomain,
32
- website: blob.website,
33
- businessName: blob.business_name,
34
- businessPhone: blob.business_phone,
35
- businessAddress: blob.business_address,
36
- businessLocationLat: salonGeoLocations.length > 0 ? salonGeoLocations[0].location_lat : null,
37
- businessLocationLng: salonGeoLocations.length > 0 ? salonGeoLocations[0].location_lng : null,
38
- city: blob.city,
39
- state: blob.state,
40
- zipcode: blob.zipcode ? Number(blob.zipcode) : null,
41
- businessHours: (blob.business_hours || blob.salon_workingtime || []).map(bh => {
42
- return {
43
- dayName: bh.day_name,
44
- openTime: bh.open_time,
45
- closeTime: bh.close_time,
46
- status: bh.status,
47
- };
48
- }),
49
- rating: Number(blob.rating_point),
50
- primaryColor: themeColors[blob.default_mini_site_template] || themeColors['allure24-blue'],
51
- };
52
- }
@@ -1,28 +0,0 @@
1
- import dayjs from 'dayjs';
2
- import { apiDateFormat } from './common';
3
- import { createUser } from './user';
4
- export function createFavesalonStyle(blob) {
5
- const [createdDay, createdTime] = String(blob.create_date).split(' ');
6
- const [updatedDay, updatedTime] = String(blob.update_date).split(' ');
7
- return {
8
- id: blob.id,
9
- caption: blob.caption,
10
- description: blob.description,
11
- createdDate: dayjs(`${createdDay} ${createdTime}`, apiDateFormat).valueOf(),
12
- updatedDate: dayjs(`${updatedDay} ${updatedTime}`, apiDateFormat).valueOf(),
13
- mediaType: blob.media_type,
14
- fullImageUrl: blob.full_image_url,
15
- fullImageUrlThumb: blob.full_image_url_thumb,
16
- fullImageUrlMedium: blob.full_image_url_medium,
17
- imgWidth: blob.img_w,
18
- imgHeight: blob.img_h,
19
- s3ImgWidth: blob.s3_img_w,
20
- s3ImgHeight: blob.s3_img_h,
21
- totalLike: blob.total_like,
22
- totalDislike: blob.total_dislike,
23
- totalShare: blob.total_shared,
24
- totalView: blob.view_count,
25
- totalBooking: blob.total_booking,
26
- owner: blob.user ? createUser(blob.user) : null,
27
- };
28
- }
@@ -1,13 +0,0 @@
1
- export function createStylist(blob) {
2
- const ratingPercentage = blob.rating_percent ? Number(blob.rating_percent) : 0;
3
- return {
4
- id: Number(blob.stylist_id),
5
- name: blob.title || [blob.first_name, blob.last_name].filter(field => !!field).join(' '),
6
- firstName: blob.first_name,
7
- lastName: blob.last_name,
8
- avatar: blob.avatar,
9
- phone: blob.mobile_phone,
10
- expertise: Boolean(blob.expertise),
11
- rating: Math.ceil((ratingPercentage * 5) / 100),
12
- };
13
- }
@@ -1,93 +0,0 @@
1
- const Colors = {
2
- // Neutral Color
3
- Black: '#000000',
4
- White: '#ffffff',
5
- Primary: '#5C1973',
6
- Danger: '#E92626',
7
- Success: '#3FB34F',
8
- Warning: '#F17714',
9
- Info: '#013385',
10
- Black01: '#141414',
11
- Black02: '#1f1f1f',
12
- Black03: '#262626',
13
- Gray01: '#333333',
14
- Gray02: '#666666',
15
- Gray03: '#999999',
16
- Gray04: '#DBDBDB',
17
- Gray05: '#EFEFEF',
18
- Gray06: '#F5F5F5',
19
- // Accent Colors
20
- DarkBlue01: '#E8E8EF',
21
- DarkBlue02: '#7674A0',
22
- DarkBlue03: '#1B1761',
23
- DarkBlue04: '#100E3A',
24
- DarkBlue05: '#08071D',
25
- Violet01: '#EFE8F1',
26
- Violet02: '#9D75AB',
27
- Violet03: '#5C1973',
28
- Violet04: '#370F45',
29
- Violet05: '#1C0722',
30
- Pink01: '#FDE9F2',
31
- Pink02: '#F27DAF',
32
- Pink03: '#E9267A',
33
- Pink04: '#8C1749',
34
- Pink05: '#2F0818',
35
- Blue01: '#E6EBF3',
36
- Blue02: '#6785B6',
37
- Blue03: '#013385',
38
- Blue04: '#011F50',
39
- Blue05: '#000F28',
40
- Green01: '#ECF7ED',
41
- Green02: '#8CD195',
42
- Green03: '#3FB34F',
43
- Green04: '#266B2F',
44
- Green05: '#0D2410',
45
- Orange01: '#FEF1E8',
46
- Orange02: '#F7AD72',
47
- Orange03: '#F17714',
48
- Orange04: '#91470C',
49
- Orange05: '#301804',
50
- Yellow01: '#FFFAED',
51
- Yellow02: '#FDE392',
52
- Yellow03: '#FCD14A',
53
- Yellow04: '#977D2C',
54
- Yellow05: '#322A0F',
55
- Red01: '#FD2727',
56
- Red02: '#FF4D4F',
57
- Red03: '#FFA39E',
58
- Red04: '#FFCCC7',
59
- Red05: '#FFF1F0',
60
- // deprecated
61
- BluePurple01: '#2D3B8A',
62
- BluePurple02: '#36459D',
63
- BluePurple03: '#5760A1',
64
- BluePurple04: '#828AB9',
65
- BluePurple05: '#ABB0D0',
66
- Coral01: '#F16B68',
67
- Coral02: '#F68A87',
68
- Coral03: '#F7A6A3',
69
- Coral04: '#FAC4C2',
70
- Coral05: '#FCE0DF',
71
- YellowLight01: '#F0E902',
72
- YellowLight02: '#F5ED33',
73
- YellowLight03: '#F8F266',
74
- YellowLight04: '#FAF599',
75
- YellowLight05: '#FCF9CC',
76
- YellowCyber01: '#FDCF00',
77
- YellowCyber02: '#FCD932',
78
- YellowCyber03: '#FFE365',
79
- YellowCyber04: '#FFED99',
80
- YellowCyber05: '#FFF5CC',
81
- Turquoise01: '#00E4CB',
82
- Turquoise02: '#33E8D6',
83
- Turquoise03: '#67F0DF',
84
- Turquoise04: '#99F4EB',
85
- Turquoise05: '#CCFAF5',
86
- Purple01: '#8A5BED',
87
- Purple02: '#9970F0',
88
- Purple03: '#B394F2',
89
- Purple04: '#CCB8F7',
90
- Purple05: '#E6DBFA',
91
- };
92
-
93
- export { Colors as C };
@@ -1,18 +0,0 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-2160b80b.js';
2
- import './global-e1089ffd.js';
3
-
4
- /*
5
- Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com
6
- */
7
- const patchBrowser = () => {
8
- const importMeta = import.meta.url;
9
- const opts = {};
10
- if (importMeta !== '') {
11
- opts.resourcesUrl = new URL('.', importMeta).href;
12
- }
13
- return promiseResolve(opts);
14
- };
15
-
16
- patchBrowser().then(options => {
17
- return bootstrapLazy([["salon-info",[[0,"salon-info",{"salonId":[2,"salon-id"],"backgroundColor":[1,"background-color"],"salonInfo":[32],"fetchData":[64]}]]],["salon-latest-reviews",[[0,"salon-latest-reviews",{"salonId":[2,"salon-id"],"salonReviews":[32],"fetchData":[64]}]]],["salon-lookbook",[[0,"salon-lookbook",{"salonId":[2,"salon-id"],"isLoading":[32],"isLoadingMore":[32],"hideLoadMore":[32],"currentPage":[32],"totalLookbooks":[32],"salonCategories":[32],"salonLookbooks":[32],"isLayoutSetup":[32],"fetchData":[64],"fetchLookbooks":[64],"onLoadMore":[64],"fetchCategories":[64]}]]],["salon-reviews",[[0,"salon-reviews",{"salonId":[2,"salon-id"],"salonInfo":[32],"totalReviews":[32],"salonReviews":[32],"canLoadMore":[32],"isLoadingMore":[32],"pageOffset":[32],"ratings":[32],"sorting":[32],"fetchData":[64]}]]],["salon-stylists",[[0,"salon-stylists",{"salonId":[2,"salon-id"],"salonStylists":[32],"fetchData":[64]}]]],["salon-booking_2",[[0,"salon-booking",{"salonId":[2,"salon-id"],"buttonText":[1,"button-text"],"buttonClass":[1,"button-class"],"primaryColor":[1,"primary-color"]}],[0,"salon-gift-card",{"salonId":[2,"salon-id"],"buttonText":[1,"button-text"],"buttonClass":[1,"button-class"]}]]],["salon-booking-modal",[[0,"salon-booking-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"redirectUrl":[1,"redirect-url"],"isModalOpen":[32]}]]],["salon-gift-card-modal",[[0,"salon-gift-card-modal",{"salonId":[2,"salon-id"],"isModalOpen":[32]}]]],["salon-services",[[0,"salon-services",{"salonId":[2,"salon-id"],"salonServices":[32],"fetchData":[64]}]]],["salon-ranking",[[0,"salon-ranking",{"ranking":[2],"height":[2],"width":[2]}]]],["google-map",[[0,"google-map",{"apiKey":[1,"api-key"],"lat":[2],"lng":[2]}]]],["user-avatar",[[0,"user-avatar",{"size":[2],"name":[1],"nameStyle":[16],"shortName":[1,"short-name"],"avatar":[1]}]]],["salon-contact_4",[[0,"salon-locations",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"salonInfoState":[32]}],[0,"salon-contact",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"salonInfoState":[32]}],[0,"salon-schedules",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"salonInfoState":[32]}],[0,"salon-styles",{"salonId":[2,"salon-id"],"firstPageStyles":[32],"nestPageStyles":[32],"fetchData":[64]}]]]], options);
18
- });
@@ -1,43 +0,0 @@
1
- import { r as registerInstance, h } from './index-2160b80b.js';
2
-
3
- const indexCss = "#google-map-container,google-map{display:block;width:100%;height:100%}";
4
-
5
- let GoogleMap = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.apiKey = 'AIzaSyBW4PbW9aM2FXZl83Gs7jeRmekEWSzC1sY';
9
- }
10
- componentDidLoad() {
11
- this.injectSDK().then(() => {
12
- setTimeout(() => this.initMap(), 300);
13
- });
14
- }
15
- injectSDK() {
16
- return new Promise((resolve) => {
17
- window['mapInit'] = () => resolve(true);
18
- const script = document.createElement('script');
19
- script.id = 'googleMaps';
20
- if (this.apiKey) {
21
- script.src = 'https://maps.googleapis.com/maps/api/js?key=' + this.apiKey + '&callback=mapInit';
22
- }
23
- else {
24
- script.src = 'https://maps.googleapis.com/maps/api/js?callback=mapInit';
25
- }
26
- document.body.appendChild(script);
27
- return resolve(true);
28
- });
29
- }
30
- initMap() {
31
- const mapOptions = {
32
- center: { lat: this.lat, lng: this.lng },
33
- zoom: 8,
34
- };
35
- this.map = new window.google.maps.Map(document.getElementById('google-map-container'), mapOptions);
36
- }
37
- render() {
38
- return h("div", { id: 'google-map-container' });
39
- }
40
- };
41
- GoogleMap.style = indexCss;
42
-
43
- export { GoogleMap as google_map };
package/esm/loader.js DELETED
@@ -1,18 +0,0 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-2160b80b.js';
2
- import './global-e1089ffd.js';
3
-
4
- /*
5
- Stencil Client Patch Esm v2.9.0 | MIT Licensed | https://stenciljs.com
6
- */
7
- const patchEsm = () => {
8
- return promiseResolve();
9
- };
10
-
11
- const defineCustomElements = (win, options) => {
12
- if (typeof window === 'undefined') return Promise.resolve();
13
- return patchEsm().then(() => {
14
- return bootstrapLazy([["salon-info",[[0,"salon-info",{"salonId":[2,"salon-id"],"backgroundColor":[1,"background-color"],"salonInfo":[32],"fetchData":[64]}]]],["salon-latest-reviews",[[0,"salon-latest-reviews",{"salonId":[2,"salon-id"],"salonReviews":[32],"fetchData":[64]}]]],["salon-lookbook",[[0,"salon-lookbook",{"salonId":[2,"salon-id"],"isLoading":[32],"isLoadingMore":[32],"hideLoadMore":[32],"currentPage":[32],"totalLookbooks":[32],"salonCategories":[32],"salonLookbooks":[32],"isLayoutSetup":[32],"fetchData":[64],"fetchLookbooks":[64],"onLoadMore":[64],"fetchCategories":[64]}]]],["salon-reviews",[[0,"salon-reviews",{"salonId":[2,"salon-id"],"salonInfo":[32],"totalReviews":[32],"salonReviews":[32],"canLoadMore":[32],"isLoadingMore":[32],"pageOffset":[32],"ratings":[32],"sorting":[32],"fetchData":[64]}]]],["salon-stylists",[[0,"salon-stylists",{"salonId":[2,"salon-id"],"salonStylists":[32],"fetchData":[64]}]]],["salon-booking_2",[[0,"salon-booking",{"salonId":[2,"salon-id"],"buttonText":[1,"button-text"],"buttonClass":[1,"button-class"],"primaryColor":[1,"primary-color"]}],[0,"salon-gift-card",{"salonId":[2,"salon-id"],"buttonText":[1,"button-text"],"buttonClass":[1,"button-class"]}]]],["salon-booking-modal",[[0,"salon-booking-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"redirectUrl":[1,"redirect-url"],"isModalOpen":[32]}]]],["salon-gift-card-modal",[[0,"salon-gift-card-modal",{"salonId":[2,"salon-id"],"isModalOpen":[32]}]]],["salon-services",[[0,"salon-services",{"salonId":[2,"salon-id"],"salonServices":[32],"fetchData":[64]}]]],["salon-ranking",[[0,"salon-ranking",{"ranking":[2],"height":[2],"width":[2]}]]],["google-map",[[0,"google-map",{"apiKey":[1,"api-key"],"lat":[2],"lng":[2]}]]],["user-avatar",[[0,"user-avatar",{"size":[2],"name":[1],"nameStyle":[16],"shortName":[1,"short-name"],"avatar":[1]}]]],["salon-contact_4",[[0,"salon-locations",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"salonInfoState":[32]}],[0,"salon-contact",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"salonInfoState":[32]}],[0,"salon-schedules",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"salonInfoState":[32]}],[0,"salon-styles",{"salonId":[2,"salon-id"],"firstPageStyles":[32],"nestPageStyles":[32],"fetchData":[64]}]]]], options);
15
- });
16
- };
17
-
18
- export { defineCustomElements };