favesalon-embed 1.0.2 → 1.0.4

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 (167) hide show
  1. package/dist/{favesalon-embed/_commonjsHelpers-a4f66ccd.js → cjs/_commonjsHelpers-5cfcba41.js} +6 -14
  2. package/dist/cjs/chat-box_5.cjs.entry.js +17439 -0
  3. package/dist/cjs/chat-button.cjs.entry.js +55 -0
  4. package/dist/cjs/colors-38421769.js +69 -0
  5. package/dist/cjs/favesalon-embed.cjs.js +23 -0
  6. package/dist/cjs/google-map.cjs.entry.js +52 -0
  7. package/dist/cjs/index-7f190886.js +4396 -0
  8. package/dist/cjs/index-dd8176c4.js +1531 -0
  9. package/dist/cjs/index.cjs.js +2 -0
  10. package/dist/cjs/loader.cjs.js +22 -0
  11. package/dist/cjs/relativeTime-3721080d.js +9 -0
  12. package/dist/cjs/salon-booking-modal.cjs.entry.js +30 -0
  13. package/dist/cjs/salon-booking.cjs.entry.js +51 -0
  14. package/dist/cjs/salon-gift-card-modal.cjs.entry.js +29 -0
  15. package/dist/cjs/salon-gift-card.cjs.entry.js +51 -0
  16. package/dist/cjs/salon-info.cjs.entry.js +33 -0
  17. package/dist/cjs/salon-latest-reviews.cjs.entry.js +97 -0
  18. package/dist/cjs/salon-latest-styles_3.cjs.entry.js +241 -0
  19. package/dist/cjs/salon-lookbook.cjs.entry.js +222 -0
  20. package/dist/cjs/salon-ranking.cjs.entry.js +60 -0
  21. package/dist/cjs/salon-reviews.cjs.entry.js +193 -0
  22. package/dist/cjs/salon-services.cjs.entry.js +81 -0
  23. package/dist/cjs/salon-stylists.cjs.entry.js +118 -0
  24. package/dist/cjs/services-d1bdf299.js +21494 -0
  25. package/dist/cjs/style-detail.cjs.entry.js +312 -0
  26. package/dist/cjs/utils-c5a33b3c.js +23 -0
  27. package/dist/collection/collection-manifest.json +33 -0
  28. package/dist/collection/components/chat-box/index.css +105 -0
  29. package/dist/collection/components/chat-box/index.js +138 -0
  30. package/dist/collection/components/chat-button/index.css +101 -0
  31. package/dist/collection/components/chat-button/index.js +155 -0
  32. package/dist/collection/components/chat-form/index.css +40 -0
  33. package/dist/collection/components/chat-form/index.js +79 -0
  34. package/dist/collection/components/chat-messages/index.css +48 -0
  35. package/dist/collection/components/chat-messages/index.js +142 -0
  36. package/dist/collection/components/chat-rooms/index.css +102 -0
  37. package/dist/collection/components/chat-rooms/index.js +157 -0
  38. package/dist/collection/components/google-map/assets/map--placeholder.jpeg +0 -0
  39. package/dist/collection/components/google-map/index.css +5 -0
  40. package/dist/collection/components/google-map/index.js +90 -0
  41. package/dist/collection/components/salon-booking/index.css +30 -0
  42. package/dist/collection/components/salon-booking/index.js +126 -0
  43. package/dist/collection/components/salon-booking/salon-booking-modal.js +92 -0
  44. package/dist/collection/components/salon-gift-card/index.css +30 -0
  45. package/dist/collection/components/salon-gift-card/index.js +126 -0
  46. package/dist/collection/components/salon-gift-card/salon-gift-card-modal.js +73 -0
  47. package/dist/collection/components/salon-info/index.css +1 -0
  48. package/dist/collection/components/salon-info/index.js +77 -0
  49. package/dist/collection/components/salon-latest-reviews/index.css +11 -0
  50. package/dist/collection/components/salon-latest-reviews/index.js +163 -0
  51. package/dist/collection/components/salon-latest-styles/index.css +12 -0
  52. package/dist/{favesalon-embed/salon-latest-styles.entry.js → collection/components/salon-latest-styles/index.js} +99 -14
  53. package/dist/collection/components/salon-locations/index.css +24 -0
  54. package/dist/{favesalon-embed/salon-locations.entry.js → collection/components/salon-locations/index.js} +95 -15
  55. package/dist/collection/components/salon-lookbook/index.css +15 -0
  56. package/dist/collection/components/salon-lookbook/index.js +368 -0
  57. package/dist/collection/components/salon-ranking/index.css +3 -0
  58. package/dist/collection/components/salon-ranking/index.js +117 -0
  59. package/dist/collection/components/salon-reviews/index.css +18 -0
  60. package/dist/collection/components/salon-reviews/index.js +249 -0
  61. package/dist/collection/components/salon-schedules/index.css +18 -0
  62. package/dist/{favesalon-embed/salon-schedules.entry.js → collection/components/salon-schedules/index.js} +95 -14
  63. package/dist/collection/components/salon-services/index.css +1 -0
  64. package/dist/collection/components/salon-services/index.js +146 -0
  65. package/dist/collection/components/salon-stylists/index.css +43 -0
  66. package/dist/collection/components/salon-stylists/index.js +184 -0
  67. package/dist/collection/components/style-detail/index.css +76 -0
  68. package/dist/collection/components/style-detail/index.js +386 -0
  69. package/dist/collection/components/user-avatar/index.css +0 -0
  70. package/dist/collection/components/user-avatar/index.js +159 -0
  71. package/dist/collection/constants/colors.js +65 -0
  72. package/dist/collection/global/global.js +0 -0
  73. package/dist/collection/index.js +1 -0
  74. package/dist/collection/mocks/users.js +10 -0
  75. package/dist/collection/services/services.js +295 -0
  76. package/dist/collection/types/chat.js +23 -0
  77. package/dist/collection/types/common.js +11 -0
  78. package/dist/collection/types/review.js +39 -0
  79. package/dist/collection/types/salon.js +58 -0
  80. package/dist/collection/types/service.js +24 -0
  81. package/dist/collection/types/style.js +128 -0
  82. package/dist/collection/types/stylist.js +30 -0
  83. package/dist/collection/types/user.js +10 -0
  84. package/dist/collection/utils/utils.js +23 -0
  85. package/dist/custom-elements/index.d.ts +12 -0
  86. package/dist/custom-elements/index.js +44974 -0
  87. package/dist/esm/_commonjsHelpers-66ac50f5.js +32 -0
  88. package/dist/esm/chat-box_5.entry.js +17431 -0
  89. package/dist/{favesalon-embed → esm}/chat-button.entry.js +5 -10
  90. package/dist/esm/favesalon-embed.js +18 -0
  91. package/dist/{favesalon-embed → esm}/google-map.entry.js +1 -1
  92. package/dist/esm/index-0494771f.js +1504 -0
  93. package/dist/{favesalon-embed/index-00b83e1c.js → esm/index-a1c7583c.js} +15 -425
  94. package/dist/esm/index.js +1 -0
  95. package/dist/esm/loader.js +18 -0
  96. package/dist/esm/polyfills/core-js.js +11 -0
  97. package/dist/esm/polyfills/css-shim.js +1 -0
  98. package/dist/esm/polyfills/dom.js +79 -0
  99. package/dist/esm/polyfills/es5-html-element.js +1 -0
  100. package/dist/esm/polyfills/index.js +34 -0
  101. package/dist/esm/polyfills/system.js +6 -0
  102. package/dist/esm/relativeTime-baa50aa2.js +7 -0
  103. package/dist/{favesalon-embed → esm}/salon-booking-modal.entry.js +1 -1
  104. package/dist/{favesalon-embed → esm}/salon-booking.entry.js +3 -3
  105. package/dist/{favesalon-embed → esm}/salon-gift-card-modal.entry.js +1 -1
  106. package/dist/{favesalon-embed → esm}/salon-gift-card.entry.js +3 -3
  107. package/dist/{favesalon-embed → esm}/salon-info.entry.js +3 -3
  108. package/dist/{favesalon-embed → esm}/salon-latest-reviews.entry.js +4 -4
  109. package/dist/esm/salon-latest-styles_3.entry.js +235 -0
  110. package/dist/{favesalon-embed → esm}/salon-lookbook.entry.js +3 -3
  111. package/dist/{favesalon-embed → esm}/salon-ranking.entry.js +1 -1
  112. package/dist/{favesalon-embed → esm}/salon-reviews.entry.js +3 -3
  113. package/dist/{favesalon-embed → esm}/salon-services.entry.js +3 -3
  114. package/dist/{favesalon-embed → esm}/salon-stylists.entry.js +3 -3
  115. package/dist/{favesalon-embed/services-7cb8f2a6.js → esm/services-257442e2.js} +99 -2467
  116. package/dist/{favesalon-embed → esm}/style-detail.entry.js +4 -4
  117. package/dist/{favesalon-embed/utils-7de9628a.js → esm/utils-e97485e0.js} +0 -3
  118. package/dist/favesalon-embed/favesalon-embed.css +1 -2439
  119. package/dist/favesalon-embed/favesalon-embed.esm.js +1 -148
  120. package/dist/favesalon-embed/index.esm.js +0 -1
  121. package/dist/favesalon-embed/p-05a1c88a.entry.js +1 -0
  122. package/dist/favesalon-embed/p-0acf0447.entry.js +1 -0
  123. package/dist/favesalon-embed/p-0bc4f624.js +1 -0
  124. package/dist/favesalon-embed/p-1af1515f.entry.js +1 -0
  125. package/dist/favesalon-embed/p-1cba5fc9.entry.js +1 -0
  126. package/dist/favesalon-embed/p-39a4ef15.entry.js +1 -0
  127. package/dist/favesalon-embed/p-3e2cb05b.entry.js +1 -0
  128. package/dist/favesalon-embed/p-47e646f8.js +1 -0
  129. package/dist/favesalon-embed/p-487b311f.entry.js +1 -0
  130. package/dist/favesalon-embed/p-55387c2f.entry.js +1 -0
  131. package/dist/favesalon-embed/p-566f05b4.entry.js +1 -0
  132. package/dist/favesalon-embed/p-862a0de0.entry.js +1 -0
  133. package/dist/favesalon-embed/p-9fe0cbeb.js +2 -0
  134. package/dist/favesalon-embed/p-a33331cc.js +1 -0
  135. package/dist/favesalon-embed/p-aeeb7b5f.entry.js +1 -0
  136. package/dist/favesalon-embed/p-b08e5b54.js +6 -0
  137. package/dist/favesalon-embed/p-b5cca5fc.entry.js +1 -0
  138. package/dist/favesalon-embed/p-c7fb7af5.js +1580 -0
  139. package/dist/favesalon-embed/p-ccab56d8.js +1 -0
  140. package/dist/favesalon-embed/p-d6e13053.entry.js +1 -0
  141. package/dist/favesalon-embed/p-dee42d34.entry.js +1 -0
  142. package/dist/favesalon-embed/p-e661ca1d.entry.js +1 -0
  143. package/dist/favesalon-embed/p-eeceab9c.entry.js +1 -0
  144. package/dist/index.cjs.js +1 -0
  145. package/dist/index.js +1 -0
  146. package/dist/types/components/chat-box/index.d.ts +12 -0
  147. package/dist/types/components/chat-rooms/index.d.ts +12 -0
  148. package/dist/types/components/user-avatar/index.d.ts +2 -1
  149. package/dist/types/components.d.ts +45 -2
  150. package/dist/types/utils/utils.d.ts +1 -0
  151. package/package.json +1 -1
  152. package/dist/favesalon-embed/app-globals-15861a7f.js +0 -712
  153. package/dist/favesalon-embed/app-globals-270fe240.js +0 -712
  154. package/dist/favesalon-embed/app-globals-437cc3f3.js +0 -712
  155. package/dist/favesalon-embed/app-globals-b8b0fc7a.js +0 -712
  156. package/dist/favesalon-embed/chat-form.entry.js +0 -39
  157. package/dist/favesalon-embed/chat-messages.entry.js +0 -51
  158. package/dist/favesalon-embed/css-shim-b7d3d95f.js +0 -4
  159. package/dist/favesalon-embed/dom-64053c71.js +0 -73
  160. package/dist/favesalon-embed/index-888e99e3.js +0 -3371
  161. package/dist/favesalon-embed/index-9ad82b12.js +0 -3371
  162. package/dist/favesalon-embed/index-aa906326.js +0 -3371
  163. package/dist/favesalon-embed/index-b97af793.js +0 -3371
  164. package/dist/favesalon-embed/relativeTime-268e64b0.js +0 -7
  165. package/dist/favesalon-embed/shadow-css-98135883.js +0 -387
  166. package/dist/favesalon-embed/user-avatar.entry.js +0 -42
  167. /package/dist/{favesalon-embed → esm}/colors-ea36347a.js +0 -0
@@ -0,0 +1,235 @@
1
+ import { r as registerInstance, h } from './index-0494771f.js';
2
+ import { C as Colors } from './colors-ea36347a.js';
3
+ import { H as HttpService, i as isVideoMedia, B as BusinessHourStatus } from './services-257442e2.js';
4
+ import { f as formatWebsiteUrl, a as formatFullAddress } from './utils-e97485e0.js';
5
+ import './_commonjsHelpers-66ac50f5.js';
6
+
7
+ const indexCss$2 = "salon-latest-styles .view--salon-styles--item{width:120px;height:120px}@media (min-width: 1024px){salon-latest-styles .view--salon-styles--item{width:200px;height:200px}}";
8
+
9
+ const SalonLatestStyles = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ this.salonId = undefined;
13
+ this.isLoading = undefined;
14
+ this.withBorder = undefined;
15
+ this.isLoadingState = undefined;
16
+ this.latestStyles = undefined;
17
+ }
18
+ componentDidLoad() {
19
+ this.fetchData();
20
+ }
21
+ async fetchData() {
22
+ this.isLoadingState = true;
23
+ try {
24
+ const promises = [
25
+ HttpService().fetchSalonLatestStyles(this.salonId, { limit: 6 })
26
+ .then(salonStyles => this.latestStyles = salonStyles),
27
+ ];
28
+ return Promise.all(promises)
29
+ .then(() => this.isLoadingState = false)
30
+ .catch(() => this.isLoadingState = false);
31
+ }
32
+ catch (e) { }
33
+ }
34
+ onClickLookbook(style) {
35
+ const elLookbookModal = document.createElement('div');
36
+ elLookbookModal.innerHTML = `
37
+ <style-detail
38
+ salon-id=${this.salonId}
39
+ salon-lookbook='${JSON.stringify(style)}'
40
+ ></style-detail>
41
+ `;
42
+ document.body.appendChild(elLookbookModal);
43
+ }
44
+ render() {
45
+ if (this.isLoading || this.isLoadingState) {
46
+ return (h("div", { class: "view view--salon-styles" }, h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, h("div", { style: {
47
+ backgroundColor: Colors.Gray02,
48
+ height: '20px',
49
+ width: '120px',
50
+ } }), h("div", { style: { marginTop: '24px' } }, h("div", { style: {
51
+ overflow: 'hidden',
52
+ marginLeft: '-16px',
53
+ marginBottom: '-16px',
54
+ } }, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((fakeId, idx) => (h("div", { key: `style-listing--item-${fakeId}-${idx}`, style: {
55
+ float: 'left',
56
+ paddingLeft: '16px',
57
+ marginBottom: '16px',
58
+ } }, h("div", { style: {
59
+ backgroundColor: Colors.Gray01,
60
+ borderRadius: '8px',
61
+ width: '120px',
62
+ height: '120px',
63
+ overflow: 'hidden',
64
+ position: 'relative',
65
+ cursor: 'pointer',
66
+ } })))))))));
67
+ }
68
+ return (h("div", { class: "view view--salon-styles" }, h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, h("div", { style: { fontSize: '18px', fontWeight: 'bold' } }, "Photos"), h("div", { style: {
69
+ overflow: 'hidden',
70
+ marginLeft: '-16px',
71
+ marginBottom: '-16px',
72
+ marginTop: '16px',
73
+ } }, (this.latestStyles || []).map((faveStyle, idx) => {
74
+ const { imageThumb, albumMedias } = faveStyle;
75
+ const firstMedia = albumMedias.length > 0 ? albumMedias[0] : null;
76
+ const isVideo = firstMedia ? isVideoMedia(firstMedia) : false;
77
+ return (h("div", { key: `style-listing--item-${faveStyle.id}-${idx}`, style: {
78
+ float: 'left',
79
+ paddingLeft: '16px',
80
+ marginBottom: '16px',
81
+ } }, h("div", { class: "view--salon-styles--item", style: Object.assign({ backgroundColor: Colors.Gray01, borderRadius: '8px', overflow: 'hidden', position: 'relative', cursor: 'pointer' }, !isVideo && firstMedia ? {
82
+ backgroundImage: `url("${firstMedia.imageThumb || firstMedia.imageThumbMedium}")`,
83
+ backgroundRepeat: 'no-repeat',
84
+ backgroundPosition: 'center center',
85
+ backgroundSize: 'cover',
86
+ } : {}), onClick: () => this.onClickLookbook(faveStyle) }, isVideo && firstMedia && (h("div", null, h("video", { muted: true, width: "100%", height: "100%", poster: imageThumb }, h("source", { src: firstMedia.mediaUrl, type: "video/mp4" })), h("i", { class: "ri-play-circle-fill", style: {
87
+ fontSize: '48px',
88
+ color: Colors.TextColor,
89
+ position: 'absolute',
90
+ left: '50%',
91
+ top: '50%',
92
+ transform: 'translate(-50%, -50%)',
93
+ } }))))));
94
+ })))));
95
+ }
96
+ };
97
+ SalonLatestStyles.style = indexCss$2;
98
+
99
+ const indexCss$1 = "@media (min-width: 768px){salon-locations .salon-contact--links{overflow:hidden;margin-left:-32px}salon-locations .salon-contact--links-item{float:left;display:flex;flex-direction:row;align-items:center;font-size:16px;min-width:300px;padding-left:32px}salon-locations .salon-contact--links-item:nth-child(2n+1){clear:left}salon-locations .salon-contact--links-item+.salon-contact--links-item{margin-top:8px}}";
100
+
101
+ const SalonLocations = class {
102
+ constructor(hostRef) {
103
+ registerInstance(this, hostRef);
104
+ this.salonId = undefined;
105
+ this.salonInfo = undefined;
106
+ this.isLoading = undefined;
107
+ this.withBorder = undefined;
108
+ this.salonInfoState = undefined;
109
+ }
110
+ componentWillLoad() {
111
+ if (this.salonInfo) {
112
+ this.salonInfoState = JSON.parse(this.salonInfo);
113
+ }
114
+ else {
115
+ this.fetchData();
116
+ }
117
+ }
118
+ fetchData() {
119
+ try {
120
+ HttpService().fetchSalonInfo(this.salonId)
121
+ .then(salonInfo => this.salonInfoState = salonInfo);
122
+ }
123
+ catch (e) { }
124
+ }
125
+ render() {
126
+ if (this.isLoading) {
127
+ return (h("div", { class: "view view--salon-locations" }, h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, h("div", { style: {
128
+ backgroundColor: Colors.Gray02,
129
+ height: '20px',
130
+ width: '120px',
131
+ } }), h("div", { style: { marginTop: '24px' } }, h("div", { style: {
132
+ backgroundColor: Colors.Gray01,
133
+ height: '16px',
134
+ width: '50%',
135
+ } }), h("div", { style: {
136
+ backgroundColor: Colors.Gray01,
137
+ height: '16px',
138
+ width: '50%',
139
+ marginTop: '8px',
140
+ } }), h("div", { style: {
141
+ backgroundColor: Colors.Gray01,
142
+ height: '192px',
143
+ width: '100%',
144
+ marginTop: '24px',
145
+ } })))));
146
+ }
147
+ const { businessPhone, businessName, website, email, } = this.salonInfoState || {};
148
+ const websiteUrl = formatWebsiteUrl(website);
149
+ const fullAddress = formatFullAddress(this.salonInfoState);
150
+ return (h("div", { class: "view view--salon-locations" }, h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, h("div", { style: { fontSize: '18px', fontWeight: 'bold' } }, "Contact"), h("div", { class: "salon-contact--links", style: { marginTop: '16px' } }, businessPhone && (h("div", { class: "salon-contact--links-item" }, h("i", { class: "ri-phone-line", style: { color: Colors.Gray04, fontSize: '18px', marginRight: '6px' } }), " ", h("a", { href: `tel:${businessPhone}`, style: { color: Colors.TextColor, textDecoration: 'none' } }, businessPhone))), websiteUrl && (h("div", { class: "salon-contact--links-item" }, h("i", { class: "ri-links-line", style: { color: Colors.Gray04, fontSize: '18px', marginRight: '6px' } }), " ", h("a", { target: websiteUrl && websiteUrl.indexOf(window.location.hostname) === -1 ? '_blank' : undefined, href: websiteUrl, style: { color: Colors.TextColor, textDecoration: 'none' } }, websiteUrl))), email && (h("div", { class: "salon-contact--links-item" }, h("i", { class: "ri-mail-line", style: { color: Colors.Gray04, fontSize: '18px', marginRight: '6px' } }), " ", h("a", { href: `mailto:${email}`, style: { color: Colors.TextColor, textDecoration: 'none' } }, email)))), h("div", { class: "view--salon-info--map", style: { marginTop: '24px' } }, h("google-map", { "location-name": businessName, "location-address": fullAddress })))));
151
+ }
152
+ };
153
+ SalonLocations.style = indexCss$1;
154
+
155
+ const indexCss = "salon-schedules .salon-schedules--day{display:flex;flex-direction:row;min-width:240px}@media (min-width: 768px){salon-schedules .salon-schedules--dates{overflow:hidden;margin-left:-32px}salon-schedules .salon-schedules--day{float:left;padding-left:32px}}";
156
+
157
+ const SalonSchedules = class {
158
+ constructor(hostRef) {
159
+ registerInstance(this, hostRef);
160
+ this.salonId = undefined;
161
+ this.salonInfo = undefined;
162
+ this.isLoading = undefined;
163
+ this.withBorder = undefined;
164
+ this.salonInfoState = undefined;
165
+ }
166
+ componentWillLoad() {
167
+ if (this.salonInfo) {
168
+ this.salonInfoState = JSON.parse(this.salonInfo);
169
+ }
170
+ else {
171
+ this.fetchData();
172
+ }
173
+ }
174
+ fetchData() {
175
+ try {
176
+ HttpService().fetchSalonInfo(this.salonId)
177
+ .then(salonInfo => this.salonInfoState = salonInfo);
178
+ }
179
+ catch (e) { }
180
+ }
181
+ renderBusinessHour(businessHour) {
182
+ if (businessHour.status === BusinessHourStatus.ByAppointment) {
183
+ return 'By Appointment';
184
+ }
185
+ if (businessHour.status === BusinessHourStatus.Close) {
186
+ return 'Close';
187
+ }
188
+ return `${businessHour.openTime} - ${businessHour.closeTime}`;
189
+ }
190
+ render() {
191
+ if (this.isLoading) {
192
+ return (h("div", { class: "view view--salon-contact" }, h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, h("div", { style: {
193
+ backgroundColor: Colors.Gray02,
194
+ height: '20px',
195
+ width: '120px',
196
+ } }), h("div", { style: { marginTop: '24px' } }, h("div", { style: {
197
+ backgroundColor: Colors.Gray01,
198
+ height: '16px',
199
+ width: '30%',
200
+ } }), h("div", { style: {
201
+ backgroundColor: Colors.Gray01,
202
+ height: '16px',
203
+ width: '40%',
204
+ marginTop: '8px',
205
+ } }), h("div", { style: {
206
+ backgroundColor: Colors.Gray01,
207
+ height: '16px',
208
+ width: '75%',
209
+ marginTop: '12px',
210
+ } }), h("div", { style: {
211
+ backgroundColor: Colors.Gray01,
212
+ height: '16px',
213
+ width: '75%',
214
+ marginTop: '8px',
215
+ } })), h("div", { style: { marginTop: '24px' } }, h("div", { style: {
216
+ overflow: 'hidden',
217
+ marginLeft: '-16px',
218
+ marginBottom: '-16px',
219
+ } }, [1, 2, 3, 4, 5, 6, 7].map((fakeId, idx) => (h("div", { key: `style-listing--item-${fakeId}-${idx}`, style: {
220
+ float: 'left',
221
+ paddingLeft: '16px',
222
+ marginBottom: '16px',
223
+ } }, h("div", { style: {
224
+ backgroundColor: Colors.Gray01,
225
+ width: '120px',
226
+ height: '20px',
227
+ } })))))))));
228
+ }
229
+ const { about, businessHours, } = (this.salonInfoState || {});
230
+ return (h("div", { class: "view view--salon-contact" }, h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, h("div", { style: { fontSize: '18px', fontWeight: 'bold' } }, "About"), about && (h("div", { class: "salon-contact--info--desc", style: { fontSize: '16px', marginTop: '16px' }, innerHTML: about })), businessHours && businessHours.length > 0 && (h("div", { class: "salon-schedules", style: { marginTop: '24px' } }, h("div", { class: "salon-schedules--title", style: { fontSize: '16px', fontWeight: 'bold' } }, "Working hours"), h("div", { class: "salon-schedules--dates" }, h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Mon"), h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[0]))), h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Tue"), h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[1]))), h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Wed"), h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[2]))), h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Thur"), h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[3]))), h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Fri"), h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[4]))), h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Sat"), h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[5]))), h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Sun"), h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[6])))))))));
231
+ }
232
+ };
233
+ SalonSchedules.style = indexCss;
234
+
235
+ export { SalonLatestStyles as salon_latest_styles, SalonLocations as salon_locations, SalonSchedules as salon_schedules };
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-0494771f.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
- import { H as HttpService } from './services-7cb8f2a6.js';
4
- import './_commonjsHelpers-a4f66ccd.js';
3
+ import { H as HttpService } from './services-257442e2.js';
4
+ import './_commonjsHelpers-66ac50f5.js';
5
5
 
6
6
  const indexCss = "@media (max-width: 768px){salon-lookbook .view-header{display:block !important}salon-lookbook .salon-loobook--serch-result{margin-bottom:16px}salon-lookbook .salon-loobook--filter-wrapper>label,salon-lookbook .salon-loobook--sort-wrapper>label{display:none !important}}";
7
7
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-0494771f.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
 
4
4
  const indexCss = "salon-ranking{display:block}";
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
2
- import { H as HttpService, d as dayjs_min, s as shortDateYearFormat } from './services-7cb8f2a6.js';
1
+ import { r as registerInstance, h } from './index-0494771f.js';
2
+ import { H as HttpService, d as dayjs_min, s as shortDateYearFormat } from './services-257442e2.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
- import './_commonjsHelpers-a4f66ccd.js';
4
+ import './_commonjsHelpers-66ac50f5.js';
5
5
 
6
6
  const indexCss = "@media (max-width: 768px){salon-reviews .salon-reviews{flex-direction:column !important}salon-reviews .salon-reviews--filters--options{display:none !important}salon-reviews .salon-reviews--list{padding-top:32px !important;padding-left:0px !important}salon-reviews .reviews-list--sorting>label{display:none !important}}";
7
7
 
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
2
- import { H as HttpService, a as sortBy_1 } from './services-7cb8f2a6.js';
1
+ import { r as registerInstance, h } from './index-0494771f.js';
2
+ import { H as HttpService, b as sortBy_1 } from './services-257442e2.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
- import './_commonjsHelpers-a4f66ccd.js';
4
+ import './_commonjsHelpers-66ac50f5.js';
5
5
 
6
6
  const indexCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-0494771f.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
- import { H as HttpService } from './services-7cb8f2a6.js';
4
- import './_commonjsHelpers-a4f66ccd.js';
3
+ import { H as HttpService } from './services-257442e2.js';
4
+ import './_commonjsHelpers-66ac50f5.js';
5
5
 
6
6
  const indexCss = ".view--salon-stylists{overflow:hidden;margin-left:-12px;margin-top:-12px}.view--salon-stylists .salon-stylist{float:left;padding-left:12px;padding-top:12px;width:50%}.view--salon-stylists .salon-stylist--avatar{height:180px}@media (min-width: 576px){.view--salon-stylists .salon-stylist{width:33.33%;max-width:240px}}@media (min-width: 768px){.view--salon-stylists{margin-left:-24px;margin-top:-24px}.view--salon-stylists .salon-stylist{padding-left:24px;padding-top:24px;width:264px;max-width:none}.view--salon-stylists .salon-stylist--avatar{height:240px}}";
7
7