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.
- package/LICENSE +21 -0
- package/dist/cjs/_commonjsHelpers-5cfcba41.js +36 -0
- package/dist/cjs/colors-38421769.js +69 -0
- package/dist/cjs/favesalon-embed.cjs.js +20 -0
- package/{cjs → dist/cjs}/global-9073d10e.js +0 -0
- package/dist/cjs/google-map_5.cjs.entry.js +291 -0
- package/dist/cjs/index-7f190886.js +4396 -0
- package/{cjs/index-7d179a70.js → dist/cjs/index-e6bea8f5.js} +87 -3
- package/{cjs → dist/cjs}/index.cjs.js +0 -0
- package/dist/cjs/loader.cjs.js +22 -0
- package/dist/cjs/salon-booking-modal.cjs.entry.js +29 -0
- package/dist/cjs/salon-booking.cjs.entry.js +50 -0
- package/dist/cjs/salon-gift-card-modal.cjs.entry.js +28 -0
- package/dist/cjs/salon-gift-card.cjs.entry.js +50 -0
- package/dist/cjs/salon-latest-reviews.cjs.entry.js +95 -0
- package/dist/cjs/salon-lookbook.cjs.entry.js +218 -0
- package/{cjs → dist/cjs}/salon-ranking.cjs.entry.js +7 -7
- package/dist/cjs/salon-reviews.cjs.entry.js +186 -0
- package/dist/cjs/salon-services.cjs.entry.js +78 -0
- package/dist/cjs/salon-stylists.cjs.entry.js +112 -0
- package/{cjs/services-d6f8214c.js → dist/cjs/services-eee8f251.js} +317 -361
- package/dist/cjs/style-detail.cjs.entry.js +310 -0
- package/{cjs → dist/cjs}/user-avatar.cjs.entry.js +4 -4
- package/{cjs → dist/cjs}/utils-c5a33b3c.js +0 -0
- package/{collection → dist/collection}/collection-manifest.json +2 -2
- package/dist/collection/components/google-map/assets/map--placeholder.jpeg +0 -0
- package/{collection → dist/collection}/components/google-map/index.css +0 -1
- package/dist/collection/components/google-map/index.js +86 -0
- package/{collection → dist/collection}/components/salon-booking/index.css +10 -24
- package/{collection → dist/collection}/components/salon-booking/index.js +29 -11
- package/{collection → dist/collection}/components/salon-booking/salon-booking-modal.js +12 -6
- package/dist/collection/components/salon-gift-card/index.css +25 -0
- package/{collection → dist/collection}/components/salon-gift-card/index.js +44 -6
- package/{collection → dist/collection}/components/salon-gift-card/salon-gift-card-modal.js +30 -4
- package/{collection/components/salon-locations → dist/collection/components/salon-info}/index.css +0 -0
- package/{collection → dist/collection}/components/salon-info/index.js +6 -32
- package/{collection → dist/collection}/components/salon-latest-reviews/index.css +0 -3
- package/dist/collection/components/salon-latest-reviews/index.js +176 -0
- package/dist/collection/components/salon-latest-styles/index.css +10 -0
- package/dist/collection/components/salon-latest-styles/index.js +178 -0
- package/{collection/components/salon-contact → dist/collection/components/salon-locations}/index.css +6 -6
- package/dist/collection/components/salon-locations/index.js +151 -0
- package/dist/collection/components/salon-lookbook/index.css +12 -0
- package/{collection → dist/collection}/components/salon-lookbook/index.js +122 -49
- package/{collection → dist/collection}/components/salon-ranking/index.css +0 -0
- package/{collection → dist/collection}/components/salon-ranking/index.js +5 -5
- package/dist/collection/components/salon-reviews/index.css +15 -0
- package/dist/collection/components/salon-reviews/index.js +286 -0
- package/dist/collection/components/salon-schedules/index.css +15 -0
- package/dist/collection/components/salon-schedules/index.js +189 -0
- package/{collection/components/salon-reviews → dist/collection/components/salon-services}/index.css +0 -0
- package/dist/collection/components/salon-services/index.js +156 -0
- package/{collection → dist/collection}/components/salon-stylists/index.css +0 -8
- package/dist/collection/components/salon-stylists/index.js +183 -0
- package/dist/collection/components/style-detail/index.css +62 -0
- package/dist/collection/components/style-detail/index.js +461 -0
- package/{collection/components/salon-services → dist/collection/components/user-avatar}/index.css +0 -0
- package/{collection → dist/collection}/components/user-avatar/index.js +2 -2
- package/dist/collection/constants/colors.js +65 -0
- package/{collection → dist/collection}/global/global.js +0 -0
- package/{collection → dist/collection}/index.js +0 -0
- package/dist/collection/services/services.js +174 -0
- package/dist/collection/types/common.js +11 -0
- package/{collection → dist/collection}/types/review.js +9 -5
- package/dist/collection/types/salon.js +58 -0
- package/{collection → dist/collection}/types/service.js +0 -0
- package/dist/collection/types/style.js +128 -0
- package/dist/collection/types/stylist.js +30 -0
- package/{collection/components/user-avatar/index.css → dist/collection/types/tmp.js} +0 -0
- package/{collection → dist/collection}/types/user.js +2 -2
- package/{collection → dist/collection}/utils/utils.js +0 -0
- package/{custom-elements → dist/custom-elements}/index.d.ts +12 -12
- package/{custom-elements → dist/custom-elements}/index.js +5783 -870
- package/dist/esm/_commonjsHelpers-098d5b27.js +32 -0
- package/dist/esm/colors-ea36347a.js +67 -0
- package/dist/esm/favesalon-embed.js +18 -0
- package/{esm → dist/esm}/global-e1089ffd.js +0 -0
- package/dist/esm/google-map_5.entry.js +283 -0
- package/{esm/index-2160b80b.js → dist/esm/index-6af0a03d.js} +87 -4
- package/dist/esm/index-80523fec.js +4393 -0
- package/{esm → dist/esm}/index.js +0 -0
- package/dist/esm/loader.js +18 -0
- package/{esm → dist/esm}/polyfills/core-js.js +0 -0
- package/{esm → dist/esm}/polyfills/css-shim.js +0 -0
- package/{esm → dist/esm}/polyfills/dom.js +0 -0
- package/{esm → dist/esm}/polyfills/es5-html-element.js +0 -0
- package/{esm → dist/esm}/polyfills/index.js +0 -0
- package/{esm → dist/esm}/polyfills/system.js +0 -0
- package/dist/esm/salon-booking-modal.entry.js +25 -0
- package/dist/esm/salon-booking.entry.js +46 -0
- package/dist/esm/salon-gift-card-modal.entry.js +24 -0
- package/dist/esm/salon-gift-card.entry.js +46 -0
- package/dist/esm/salon-latest-reviews.entry.js +91 -0
- package/dist/esm/salon-lookbook.entry.js +214 -0
- package/{esm → dist/esm}/salon-ranking.entry.js +7 -7
- package/dist/esm/salon-reviews.entry.js +182 -0
- package/dist/esm/salon-services.entry.js +74 -0
- package/dist/esm/salon-stylists.entry.js +108 -0
- package/{esm/services-57fadd0a.js → dist/esm/services-295247b1.js} +310 -355
- package/dist/esm/style-detail.entry.js +306 -0
- package/{esm → dist/esm}/user-avatar.entry.js +4 -4
- package/{esm → dist/esm}/utils-e97485e0.js +0 -0
- package/dist/favesalon-embed/assets/map--placeholder.jpeg +0 -0
- package/{favesalon-embed → dist/favesalon-embed}/favesalon-embed.css +1 -1
- package/dist/favesalon-embed/favesalon-embed.esm.js +1 -0
- package/{favesalon-embed → dist/favesalon-embed}/index.esm.js +0 -0
- package/dist/favesalon-embed/p-292b97ba.entry.js +1 -0
- package/{favesalon-embed → dist/favesalon-embed}/p-47e646f8.js +0 -0
- package/dist/favesalon-embed/p-4869dfed.entry.js +1 -0
- package/{favesalon-embed → dist/favesalon-embed}/p-4a5eca9a.js +0 -0
- package/dist/favesalon-embed/p-4aee4fd9.entry.js +1 -0
- package/dist/favesalon-embed/p-5528c705.entry.js +1 -0
- package/dist/favesalon-embed/p-612ad685.entry.js +1 -0
- package/dist/favesalon-embed/p-75aef7e0.entry.js +1 -0
- package/dist/favesalon-embed/p-8c780874.entry.js +1 -0
- package/dist/favesalon-embed/p-8dbf04c5.js +1 -0
- package/dist/favesalon-embed/p-9f31061a.entry.js +1 -0
- package/dist/favesalon-embed/p-a33331cc.js +1 -0
- package/dist/favesalon-embed/p-a60d78e9.entry.js +1 -0
- package/dist/favesalon-embed/p-a6debdae.entry.js +1 -0
- package/dist/favesalon-embed/p-bad1e9a7.entry.js +1 -0
- package/dist/favesalon-embed/p-c2ecb365.js +1 -0
- package/dist/favesalon-embed/p-c7dea70c.entry.js +1 -0
- package/dist/favesalon-embed/p-d6083940.js +1 -0
- package/dist/favesalon-embed/p-f0e14641.entry.js +1 -0
- package/dist/favesalon-embed/p-fc9a5551.js +6 -0
- package/{index.cjs.js → dist/index.cjs.js} +0 -0
- package/{index.js → dist/index.js} +0 -0
- package/dist/types/components/google-map/index.d.ts +5 -0
- package/{types → dist/types}/components/salon-booking/index.d.ts +1 -1
- package/{types → dist/types}/components/salon-booking/salon-booking-modal.d.ts +1 -0
- package/{types → dist/types}/components/salon-gift-card/index.d.ts +2 -1
- package/{types → dist/types}/components/salon-gift-card/salon-gift-card-modal.d.ts +2 -0
- package/{types → dist/types}/components/salon-info/index.d.ts +0 -1
- package/{types → dist/types}/components/salon-latest-reviews/index.d.ts +2 -0
- package/dist/types/components/salon-latest-styles/index.d.ts +12 -0
- package/{types → dist/types}/components/salon-locations/index.d.ts +2 -0
- package/{types → dist/types}/components/salon-lookbook/index.d.ts +7 -2
- package/{types → dist/types}/components/salon-ranking/index.d.ts +0 -0
- package/dist/types/components/salon-reviews/index.d.ts +24 -0
- package/{types → dist/types}/components/salon-schedules/index.d.ts +2 -0
- package/{types → dist/types}/components/salon-services/index.d.ts +2 -0
- package/{types → dist/types}/components/salon-stylists/index.d.ts +6 -0
- package/dist/types/components/style-detail/index.d.ts +24 -0
- package/{types → dist/types}/components/user-avatar/index.d.ts +0 -0
- package/{types → dist/types}/components.d.ts +62 -41
- package/dist/types/constants/colors.d.ts +65 -0
- package/{types → dist/types}/index.d.ts +0 -0
- package/dist/types/services/services.d.ts +60 -0
- package/{types → dist/types}/stencil-public-runtime.d.ts +0 -0
- package/dist/types/types/common.d.ts +11 -0
- package/{types → dist/types}/types/review.d.ts +4 -0
- package/{types → dist/types}/types/salon.d.ts +3 -1
- package/{types → dist/types}/types/service.d.ts +0 -0
- package/dist/types/types/style.d.ts +88 -0
- package/{types → dist/types}/types/stylist.d.ts +2 -1
- package/dist/types/types/tmp.d.ts +0 -0
- package/{types → dist/types}/types/user.d.ts +2 -2
- package/{types → dist/types}/utils/utils.d.ts +0 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +18 -13
- package/readme.md +23 -2
- package/cjs/colors-7f354880.js +0 -95
- package/cjs/favesalon-embed.cjs.js +0 -20
- package/cjs/google-map.cjs.entry.js +0 -47
- package/cjs/loader.cjs.js +0 -22
- package/cjs/salon-booking-modal.cjs.entry.js +0 -23
- package/cjs/salon-booking_2.cjs.entry.js +0 -56
- package/cjs/salon-contact_4.cjs.entry.js +0 -154
- package/cjs/salon-gift-card-modal.cjs.entry.js +0 -20
- package/cjs/salon-info.cjs.entry.js +0 -34
- package/cjs/salon-latest-reviews.cjs.entry.js +0 -57
- package/cjs/salon-lookbook.cjs.entry.js +0 -187
- package/cjs/salon-reviews.cjs.entry.js +0 -196
- package/cjs/salon-services.cjs.entry.js +0 -40
- package/cjs/salon-stylists.cjs.entry.js +0 -53
- package/collection/components/google-map/index.js +0 -97
- package/collection/components/salon-contact/index.js +0 -88
- package/collection/components/salon-gift-card/index.css +0 -25
- package/collection/components/salon-info/index.css +0 -3
- package/collection/components/salon-latest-reviews/index.js +0 -108
- package/collection/components/salon-locations/index.js +0 -80
- package/collection/components/salon-lookbook/index.css +0 -12
- package/collection/components/salon-reviews/index.js +0 -291
- package/collection/components/salon-schedules/index.css +0 -14
- package/collection/components/salon-schedules/index.js +0 -103
- package/collection/components/salon-services/index.js +0 -86
- package/collection/components/salon-styles/index.css +0 -23
- package/collection/components/salon-styles/index.js +0 -100
- package/collection/components/salon-stylists/index.js +0 -96
- package/collection/constants/colors.js +0 -91
- package/collection/services/services.js +0 -203
- package/collection/types/common.js +0 -2
- package/collection/types/salon.js +0 -52
- package/collection/types/style.js +0 -28
- package/collection/types/stylist.js +0 -13
- package/esm/colors-1ec90c5f.js +0 -93
- package/esm/favesalon-embed.js +0 -18
- package/esm/google-map.entry.js +0 -43
- package/esm/loader.js +0 -18
- package/esm/salon-booking-modal.entry.js +0 -19
- package/esm/salon-booking_2.entry.js +0 -51
- package/esm/salon-contact_4.entry.js +0 -147
- package/esm/salon-gift-card-modal.entry.js +0 -16
- package/esm/salon-info.entry.js +0 -30
- package/esm/salon-latest-reviews.entry.js +0 -53
- package/esm/salon-lookbook.entry.js +0 -183
- package/esm/salon-reviews.entry.js +0 -192
- package/esm/salon-services.entry.js +0 -36
- package/esm/salon-stylists.entry.js +0 -49
- package/favesalon-embed/favesalon-embed.esm.js +0 -1
- package/favesalon-embed/p-14a46adf.entry.js +0 -1
- package/favesalon-embed/p-2da2ed75.js +0 -1
- package/favesalon-embed/p-3712d9ab.entry.js +0 -1
- package/favesalon-embed/p-38066f9f.entry.js +0 -1
- package/favesalon-embed/p-4e2d7b29.js +0 -1
- package/favesalon-embed/p-520c8ffb.entry.js +0 -1
- package/favesalon-embed/p-54a1c294.entry.js +0 -1
- package/favesalon-embed/p-762520f2.js +0 -1
- package/favesalon-embed/p-94a0991e.entry.js +0 -1
- package/favesalon-embed/p-94b179eb.entry.js +0 -1
- package/favesalon-embed/p-977bd8bc.entry.js +0 -1
- package/favesalon-embed/p-bc363938.entry.js +0 -1
- package/favesalon-embed/p-bf9c83a3.entry.js +0 -1
- package/favesalon-embed/p-c5ebd3c9.entry.js +0 -1
- package/favesalon-embed/p-d84b61b0.entry.js +0 -1
- package/favesalon-embed/p-f15bcb43.entry.js +0 -1
- package/types/components/google-map/index.d.ts +0 -10
- package/types/components/salon-contact/index.d.ts +0 -9
- package/types/components/salon-reviews/index.d.ts +0 -23
- package/types/components/salon-styles/index.d.ts +0 -9
- package/types/constants/colors.d.ts +0 -88
- package/types/services/services.d.ts +0 -24
- package/types/types/common.d.ts +0 -2
- package/types/types/style.d.ts +0 -49
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
|
+
|
|
5
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
6
|
+
return module = {
|
|
7
|
+
path: basedir,
|
|
8
|
+
exports: {},
|
|
9
|
+
require: function (path, base) {
|
|
10
|
+
return commonjsRequire();
|
|
11
|
+
}
|
|
12
|
+
}, fn(module, module.exports), module.exports;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function getAugmentedNamespace(n) {
|
|
16
|
+
if (n.__esModule) return n;
|
|
17
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
18
|
+
Object.keys(n).forEach(function (k) {
|
|
19
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
20
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return n[k];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
return a;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function commonjsRequire () {
|
|
31
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.commonjsGlobal = commonjsGlobal;
|
|
35
|
+
exports.createCommonjsModule = createCommonjsModule;
|
|
36
|
+
exports.getAugmentedNamespace = getAugmentedNamespace;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const Colors = {
|
|
4
|
+
TextColor: '#141414',
|
|
5
|
+
Black: '#000000',
|
|
6
|
+
White: '#ffffff',
|
|
7
|
+
Primary: '#F05A61',
|
|
8
|
+
Secondary: '#001529',
|
|
9
|
+
Black01: '#262626',
|
|
10
|
+
Black02: '#1f1f1f',
|
|
11
|
+
Black03: '#141414',
|
|
12
|
+
Gray01: '#F5F5F5',
|
|
13
|
+
Gray02: '#EFEFEF',
|
|
14
|
+
Gray03: '#DBDBDB',
|
|
15
|
+
Gray04: '#999999',
|
|
16
|
+
Gray05: '#666666',
|
|
17
|
+
Red01: '#FEEFEF',
|
|
18
|
+
Red02: '#F9BDC0',
|
|
19
|
+
Red03: '#F05A61',
|
|
20
|
+
Red04: '#C0484E',
|
|
21
|
+
Red05: '#90363A',
|
|
22
|
+
Orange01: '#FFF4F0',
|
|
23
|
+
Orange02: '#FFD1C3',
|
|
24
|
+
Orange03: '#FF8D69',
|
|
25
|
+
Orange04: '#CC7154',
|
|
26
|
+
Orange05: '#99553F',
|
|
27
|
+
Yellow01: '#FDFBF4',
|
|
28
|
+
Yellow02: '#F8EDD3',
|
|
29
|
+
Yellow03: '#EED291',
|
|
30
|
+
Yellow04: '#BEA874',
|
|
31
|
+
Yellow05: '#8F7E57',
|
|
32
|
+
Lilac01: '#F3F0F4',
|
|
33
|
+
Lilac02: '#CFC1D4',
|
|
34
|
+
Lilac03: '#886594',
|
|
35
|
+
Lilac04: '#6D5176',
|
|
36
|
+
Lilac05: '#523D59',
|
|
37
|
+
Blue01: '#EAECEE',
|
|
38
|
+
Blue02: '#AAB1BD',
|
|
39
|
+
Blue03: '#2B3C59',
|
|
40
|
+
Blue04: '#223047',
|
|
41
|
+
Blue05: '#1A2435',
|
|
42
|
+
Green01: '#ECF7ED',
|
|
43
|
+
Green02: '#B2E1B9',
|
|
44
|
+
Green03: '#3FB34F',
|
|
45
|
+
Green04: '#328F3F',
|
|
46
|
+
Green05: '#266B2F',
|
|
47
|
+
Success01: '#EEF9E8',
|
|
48
|
+
Success02: '#BAE7A3',
|
|
49
|
+
Success03: '#52C41A',
|
|
50
|
+
Success04: '#429D15',
|
|
51
|
+
Success05: '#317610',
|
|
52
|
+
Error01: '#FFEDED',
|
|
53
|
+
Error02: '#FFB8B9',
|
|
54
|
+
Error03: '#FF4D4F',
|
|
55
|
+
Error04: '#CC3E3F',
|
|
56
|
+
Error05: '#992E2F',
|
|
57
|
+
Warning01: '#FFF7E8',
|
|
58
|
+
Warning02: '#FDDEA1',
|
|
59
|
+
Warning03: '#FAAD14',
|
|
60
|
+
Warning04: '#C88A10',
|
|
61
|
+
Warning05: '#96680C',
|
|
62
|
+
Info01: '#E8F4FF',
|
|
63
|
+
Info02: '#A3D3FF',
|
|
64
|
+
Info03: '#1890FF',
|
|
65
|
+
Info04: '#1373CC',
|
|
66
|
+
Info05: '#0E5699',
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
exports.Colors = Colors;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-e6bea8f5.js');
|
|
4
|
+
require('./global-9073d10e.js');
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com
|
|
8
|
+
*/
|
|
9
|
+
const patchBrowser = () => {
|
|
10
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('favesalon-embed.cjs.js', document.baseURI).href));
|
|
11
|
+
const opts = {};
|
|
12
|
+
if (importMeta !== '') {
|
|
13
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
14
|
+
}
|
|
15
|
+
return index.promiseResolve(opts);
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
patchBrowser().then(options => {
|
|
19
|
+
return index.bootstrapLazy([["salon-latest-reviews.cjs",[[0,"salon-latest-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonReviews":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-lookbook.cjs",[[0,"salon-lookbook",{"salonId":[2,"salon-id"],"isLoading":[32],"isLoadingMore":[32],"hideLoadMore":[32],"currentPage":[32],"totalLookbooks":[32],"salonCategories":[32],"salonLookbooks":[32],"sortBy":[32],"filterBy":[32],"isLayoutSetup":[32],"fetchData":[64],"fetchLookbooks":[64],"onChangeFiltering":[64],"onChangeSorting":[64],"onLoadMore":[64],"fetchCategories":[64]}]]],["salon-reviews.cjs",[[0,"salon-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonInfo":[32],"stats":[32],"totalReviews":[32],"allReviews":[32],"isLoading":[32],"isSorting":[32],"isFiltering":[32],"isLoadingMore":[32],"canLoadMore":[32],"page":[32],"filterBy":[32],"sortBy":[32]}]]],["style-detail.cjs",[[0,"style-detail",{"salonId":[2,"salon-id"],"salonLookbook":[1,"salon-lookbook"],"lookbookInfo":[32],"isModalOpen":[32],"currentMediaIdx":[32],"currentMedia":[32],"albumMedias":[32],"similarStyles":[32],"totalComments":[32],"lookbookComments":[32],"isLayoutSetup":[32],"fetchData":[64]}]]],["salon-booking.cjs",[[0,"salon-booking",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-booking-modal.cjs",[[0,"salon-booking-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"redirectUrl":[1,"redirect-url"],"isModalOpen":[32]}]]],["salon-gift-card.cjs",[[0,"salon-gift-card",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-gift-card-modal.cjs",[[0,"salon-gift-card-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"isModalOpen":[32]}]]],["salon-ranking.cjs",[[0,"salon-ranking",{"ranking":[2],"height":[2],"width":[2]}]]],["salon-services.cjs",[[0,"salon-services",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"salonServices":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-stylists.cjs",[[0,"salon-stylists",{"salonId":[2,"salon-id"],"salonStylists":[32],"totalStylists":[32],"page":[32],"isLoading":[32],"isLoadingMore":[32],"canLoadMore":[32],"fetchData":[64],"onLoadMore":[64]}]]],["user-avatar.cjs",[[0,"user-avatar",{"size":[2],"name":[1],"nameStyle":[16],"shortName":[1,"short-name"],"avatar":[1]}]]],["google-map_5.cjs",[[0,"salon-info",{"salonId":[2,"salon-id"],"salonInfo":[32],"fetchData":[64]}],[0,"salon-locations",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}],[0,"salon-latest-styles",{"salonId":[2,"salon-id"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"isLoadingState":[32],"latestStyles":[32],"fetchData":[64]}],[0,"salon-schedules",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}],[0,"google-map",{"locationName":[1,"location-name"],"locationAddress":[1,"location-address"]}]]]], options);
|
|
20
|
+
});
|
|
File without changes
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e6bea8f5.js');
|
|
6
|
+
const colors = require('./colors-38421769.js');
|
|
7
|
+
const services = require('./services-eee8f251.js');
|
|
8
|
+
const utils = require('./utils-c5a33b3c.js');
|
|
9
|
+
require('./_commonjsHelpers-5cfcba41.js');
|
|
10
|
+
|
|
11
|
+
const indexCss$4 = "google-map{display:block;width:100%;height:100%}";
|
|
12
|
+
|
|
13
|
+
let GoogleMap = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
index.registerInstance(this, hostRef);
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
const mapPlaceholder = index.getAssetPath('./assets/map--placeholder.jpeg');
|
|
19
|
+
return (index.h("div", { style: {
|
|
20
|
+
backgroundImage: `url("${mapPlaceholder}")`,
|
|
21
|
+
backgroundColor: colors.Colors.Gray01,
|
|
22
|
+
backgroundPosition: 'center center',
|
|
23
|
+
backgroundRepeat: 'no-repeat',
|
|
24
|
+
backgroundSize: 'cover',
|
|
25
|
+
borderRadius: '8px',
|
|
26
|
+
position: 'relative',
|
|
27
|
+
height: '296px',
|
|
28
|
+
} }, index.h("div", { style: {
|
|
29
|
+
position: 'absolute',
|
|
30
|
+
left: '50%',
|
|
31
|
+
top: '50%',
|
|
32
|
+
transform: 'translate(-50%, -50%)',
|
|
33
|
+
} }, index.h("a", { target: "_blank", rel: "noopener noreferrer", href: `https://www.google.com/maps/search/?api=1&query=${this.locationAddress}`, style: {
|
|
34
|
+
backgroundColor: colors.Colors.Red01,
|
|
35
|
+
border: `1px solid ${colors.Colors.Red02}`,
|
|
36
|
+
borderRadius: '4px',
|
|
37
|
+
color: colors.Colors.TextColor,
|
|
38
|
+
padding: '12px',
|
|
39
|
+
display: 'flex',
|
|
40
|
+
flexWrap: 'wrap',
|
|
41
|
+
height: 'auto',
|
|
42
|
+
width: 'auto',
|
|
43
|
+
whiteSpace: 'normal',
|
|
44
|
+
textAlign: 'left',
|
|
45
|
+
maxWidth: '320px',
|
|
46
|
+
textDecoration: 'none',
|
|
47
|
+
} }, this.locationName && index.h("span", { style: { fontSize: '16px', marginBottom: '4px' } }, this.locationName), this.locationAddress && index.h("span", { style: { fontSize: '12px' } }, this.locationAddress)), index.h("div", { style: { marginTop: '8px', textAlign: 'center' } }, index.h("i", { class: "ri-map-pin-fill", style: { fontSize: '24px' } })))));
|
|
48
|
+
}
|
|
49
|
+
static get assetsDirs() { return ["assets"]; }
|
|
50
|
+
};
|
|
51
|
+
GoogleMap.style = indexCss$4;
|
|
52
|
+
|
|
53
|
+
const indexCss$3 = "";
|
|
54
|
+
|
|
55
|
+
let SalonInfo = class {
|
|
56
|
+
constructor(hostRef) {
|
|
57
|
+
index.registerInstance(this, hostRef);
|
|
58
|
+
}
|
|
59
|
+
componentWillLoad() {
|
|
60
|
+
this.fetchData();
|
|
61
|
+
}
|
|
62
|
+
async fetchData() {
|
|
63
|
+
try {
|
|
64
|
+
this.salonInfo = await services.HttpService().fetchSalonInfo(this.salonId);
|
|
65
|
+
}
|
|
66
|
+
catch (e) { }
|
|
67
|
+
}
|
|
68
|
+
render() {
|
|
69
|
+
return (index.h("div", { class: "salon-info" }, index.h("div", { class: "container" }, index.h("div", { class: "salon-info--schedules", style: { marginBottom: '24px' } }, index.h("salon-schedules", { "with-border": true, "is-loading": !this.salonInfo, "salon-id": 49989, "salon-info": JSON.stringify(this.salonInfo) })), index.h("div", { class: "row" }, index.h("div", { class: "col-md-5", style: { marginBottom: '24px' } }, index.h("salon-locations", { "with-border": true, "is-loading": !this.salonInfo, "salon-id": 49989, "salon-info": JSON.stringify(this.salonInfo) })), index.h("div", { class: "col-md-7", style: { marginBottom: '24px' } }, index.h("salon-latest-styles", { "with-border": true, "is-loading": !this.salonInfo, "salon-id": 49989, "salon-info": JSON.stringify(this.salonInfo) }))))));
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
SalonInfo.style = indexCss$3;
|
|
73
|
+
|
|
74
|
+
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}}";
|
|
75
|
+
|
|
76
|
+
let SalonLatestStyles = class {
|
|
77
|
+
constructor(hostRef) {
|
|
78
|
+
index.registerInstance(this, hostRef);
|
|
79
|
+
}
|
|
80
|
+
componentDidLoad() {
|
|
81
|
+
this.fetchData();
|
|
82
|
+
}
|
|
83
|
+
async fetchData() {
|
|
84
|
+
this.isLoadingState = true;
|
|
85
|
+
try {
|
|
86
|
+
const promises = [
|
|
87
|
+
services.HttpService().fetchSalonLatestStyles(this.salonId, { limit: 6 })
|
|
88
|
+
.then(salonStyles => this.latestStyles = salonStyles),
|
|
89
|
+
];
|
|
90
|
+
return Promise.all(promises)
|
|
91
|
+
.then(() => this.isLoadingState = false)
|
|
92
|
+
.catch(() => this.isLoadingState = false);
|
|
93
|
+
}
|
|
94
|
+
catch (e) { }
|
|
95
|
+
}
|
|
96
|
+
onClickLookbook(style) {
|
|
97
|
+
const elLookbookModal = document.createElement('div');
|
|
98
|
+
elLookbookModal.innerHTML = `
|
|
99
|
+
<style-detail
|
|
100
|
+
salon-id=${this.salonId}
|
|
101
|
+
salon-lookbook='${JSON.stringify(style)}'
|
|
102
|
+
></style-detail>
|
|
103
|
+
`;
|
|
104
|
+
document.body.appendChild(elLookbookModal);
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
if (this.isLoading || this.isLoadingState) {
|
|
108
|
+
return (index.h("div", { class: "view view--salon-styles" }, index.h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${colors.Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, index.h("div", { style: {
|
|
109
|
+
backgroundColor: colors.Colors.Gray02,
|
|
110
|
+
height: '20px',
|
|
111
|
+
width: '120px',
|
|
112
|
+
} }), index.h("div", { style: { marginTop: '24px' } }, index.h("div", { style: {
|
|
113
|
+
overflow: 'hidden',
|
|
114
|
+
marginLeft: '-16px',
|
|
115
|
+
marginBottom: '-16px',
|
|
116
|
+
} }, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((fakeId, idx) => (index.h("div", { key: `style-listing--item-${fakeId}-${idx}`, style: {
|
|
117
|
+
float: 'left',
|
|
118
|
+
paddingLeft: '16px',
|
|
119
|
+
marginBottom: '16px',
|
|
120
|
+
} }, index.h("div", { style: {
|
|
121
|
+
backgroundColor: colors.Colors.Gray01,
|
|
122
|
+
borderRadius: '8px',
|
|
123
|
+
width: '120px',
|
|
124
|
+
height: '120px',
|
|
125
|
+
overflow: 'hidden',
|
|
126
|
+
position: 'relative',
|
|
127
|
+
cursor: 'pointer',
|
|
128
|
+
} })))))))));
|
|
129
|
+
}
|
|
130
|
+
return (index.h("div", { class: "view view--salon-styles" }, index.h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${colors.Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, index.h("div", { style: { fontSize: '18px', fontWeight: 'bold' } }, "Photos"), index.h("div", { style: {
|
|
131
|
+
overflow: 'hidden',
|
|
132
|
+
marginLeft: '-16px',
|
|
133
|
+
marginBottom: '-16px',
|
|
134
|
+
marginTop: '16px',
|
|
135
|
+
} }, (this.latestStyles || []).map((faveStyle, idx) => {
|
|
136
|
+
const { imageThumb, albumMedias } = faveStyle;
|
|
137
|
+
const firstMedia = albumMedias.length > 0 ? albumMedias[0] : null;
|
|
138
|
+
const isVideo = firstMedia ? services.isVideoMedia(firstMedia) : false;
|
|
139
|
+
return (index.h("div", { key: `style-listing--item-${faveStyle.id}-${idx}`, style: {
|
|
140
|
+
float: 'left',
|
|
141
|
+
paddingLeft: '16px',
|
|
142
|
+
marginBottom: '16px',
|
|
143
|
+
} }, index.h("div", { class: "view--salon-styles--item", style: Object.assign({ backgroundColor: colors.Colors.Gray01, borderRadius: '8px', overflow: 'hidden', position: 'relative', cursor: 'pointer' }, !isVideo && firstMedia ? {
|
|
144
|
+
backgroundImage: `url("${firstMedia.imageThumb || firstMedia.imageThumbMedium}")`,
|
|
145
|
+
backgroundRepeat: 'no-repeat',
|
|
146
|
+
backgroundPosition: 'center center',
|
|
147
|
+
backgroundSize: 'cover',
|
|
148
|
+
} : {}), onClick: () => this.onClickLookbook(faveStyle) }, isVideo && firstMedia && (index.h("div", null, index.h("video", { muted: true, width: "100%", height: "100%", poster: imageThumb }, index.h("source", { src: firstMedia.mediaUrl, type: "video/mp4" })), index.h("i", { class: "ri-play-circle-fill", style: {
|
|
149
|
+
fontSize: '48px',
|
|
150
|
+
color: colors.Colors.TextColor,
|
|
151
|
+
position: 'absolute',
|
|
152
|
+
left: '50%',
|
|
153
|
+
top: '50%',
|
|
154
|
+
transform: 'translate(-50%, -50%)',
|
|
155
|
+
} }))))));
|
|
156
|
+
})))));
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
SalonLatestStyles.style = indexCss$2;
|
|
160
|
+
|
|
161
|
+
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}}";
|
|
162
|
+
|
|
163
|
+
let SalonLocations = class {
|
|
164
|
+
constructor(hostRef) {
|
|
165
|
+
index.registerInstance(this, hostRef);
|
|
166
|
+
}
|
|
167
|
+
componentWillLoad() {
|
|
168
|
+
if (this.salonInfo) {
|
|
169
|
+
this.salonInfoState = JSON.parse(this.salonInfo);
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
this.fetchData();
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
fetchData() {
|
|
176
|
+
try {
|
|
177
|
+
services.HttpService().fetchSalonInfo(this.salonId)
|
|
178
|
+
.then(salonInfo => this.salonInfoState = salonInfo);
|
|
179
|
+
}
|
|
180
|
+
catch (e) { }
|
|
181
|
+
}
|
|
182
|
+
render() {
|
|
183
|
+
if (this.isLoading) {
|
|
184
|
+
return (index.h("div", { class: "view view--salon-locations" }, index.h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${colors.Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, index.h("div", { style: {
|
|
185
|
+
backgroundColor: colors.Colors.Gray02,
|
|
186
|
+
height: '20px',
|
|
187
|
+
width: '120px',
|
|
188
|
+
} }), index.h("div", { style: { marginTop: '24px' } }, index.h("div", { style: {
|
|
189
|
+
backgroundColor: colors.Colors.Gray01,
|
|
190
|
+
height: '16px',
|
|
191
|
+
width: '50%',
|
|
192
|
+
} }), index.h("div", { style: {
|
|
193
|
+
backgroundColor: colors.Colors.Gray01,
|
|
194
|
+
height: '16px',
|
|
195
|
+
width: '50%',
|
|
196
|
+
marginTop: '8px',
|
|
197
|
+
} }), index.h("div", { style: {
|
|
198
|
+
backgroundColor: colors.Colors.Gray01,
|
|
199
|
+
height: '192px',
|
|
200
|
+
width: '100%',
|
|
201
|
+
marginTop: '24px',
|
|
202
|
+
} })))));
|
|
203
|
+
}
|
|
204
|
+
const { businessPhone, businessName, website, email, } = this.salonInfoState || {};
|
|
205
|
+
const websiteUrl = utils.formatWebsiteUrl(website);
|
|
206
|
+
const fullAddress = utils.formatFullAddress(this.salonInfoState);
|
|
207
|
+
return (index.h("div", { class: "view view--salon-locations" }, index.h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${colors.Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, index.h("div", { style: { fontSize: '18px', fontWeight: 'bold' } }, "Contact"), index.h("div", { class: "salon-contact--links", style: { marginTop: '16px' } }, businessPhone && (index.h("div", { class: "salon-contact--links-item" }, index.h("i", { class: "ri-phone-line", style: { color: colors.Colors.Gray04, fontSize: '18px', marginRight: '6px' } }), " ", index.h("a", { href: `tel:${businessPhone}`, style: { color: colors.Colors.TextColor, textDecoration: 'none' } }, businessPhone))), websiteUrl && (index.h("div", { class: "salon-contact--links-item" }, index.h("i", { class: "ri-links-line", style: { color: colors.Colors.Gray04, fontSize: '18px', marginRight: '6px' } }), " ", index.h("a", { target: websiteUrl && websiteUrl.indexOf(window.location.hostname) === -1 ? '_blank' : undefined, href: websiteUrl, style: { color: colors.Colors.TextColor, textDecoration: 'none' } }, websiteUrl))), email && (index.h("div", { class: "salon-contact--links-item" }, index.h("i", { class: "ri-mail-line", style: { color: colors.Colors.Gray04, fontSize: '18px', marginRight: '6px' } }), " ", index.h("a", { href: `mailto:${email}`, style: { color: colors.Colors.TextColor, textDecoration: 'none' } }, email)))), index.h("div", { class: "view--salon-info--map", style: { marginTop: '24px' } }, index.h("google-map", { "location-name": businessName, "location-address": fullAddress })))));
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
SalonLocations.style = indexCss$1;
|
|
211
|
+
|
|
212
|
+
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}}";
|
|
213
|
+
|
|
214
|
+
let SalonSchedules = class {
|
|
215
|
+
constructor(hostRef) {
|
|
216
|
+
index.registerInstance(this, hostRef);
|
|
217
|
+
}
|
|
218
|
+
componentWillLoad() {
|
|
219
|
+
if (this.salonInfo) {
|
|
220
|
+
this.salonInfoState = JSON.parse(this.salonInfo);
|
|
221
|
+
}
|
|
222
|
+
else {
|
|
223
|
+
this.fetchData();
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
fetchData() {
|
|
227
|
+
try {
|
|
228
|
+
services.HttpService().fetchSalonInfo(this.salonId)
|
|
229
|
+
.then(salonInfo => this.salonInfoState = salonInfo);
|
|
230
|
+
}
|
|
231
|
+
catch (e) { }
|
|
232
|
+
}
|
|
233
|
+
renderBusinessHour(businessHour) {
|
|
234
|
+
if (businessHour.status === services.BusinessHourStatus.ByAppointment) {
|
|
235
|
+
return 'By Appointment';
|
|
236
|
+
}
|
|
237
|
+
if (businessHour.status === services.BusinessHourStatus.Close) {
|
|
238
|
+
return 'Close';
|
|
239
|
+
}
|
|
240
|
+
return `${businessHour.openTime} - ${businessHour.closeTime}`;
|
|
241
|
+
}
|
|
242
|
+
render() {
|
|
243
|
+
if (this.isLoading) {
|
|
244
|
+
return (index.h("div", { class: "view view--salon-contact" }, index.h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${colors.Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, index.h("div", { style: {
|
|
245
|
+
backgroundColor: colors.Colors.Gray02,
|
|
246
|
+
height: '20px',
|
|
247
|
+
width: '120px',
|
|
248
|
+
} }), index.h("div", { style: { marginTop: '24px' } }, index.h("div", { style: {
|
|
249
|
+
backgroundColor: colors.Colors.Gray01,
|
|
250
|
+
height: '16px',
|
|
251
|
+
width: '30%',
|
|
252
|
+
} }), index.h("div", { style: {
|
|
253
|
+
backgroundColor: colors.Colors.Gray01,
|
|
254
|
+
height: '16px',
|
|
255
|
+
width: '40%',
|
|
256
|
+
marginTop: '8px',
|
|
257
|
+
} }), index.h("div", { style: {
|
|
258
|
+
backgroundColor: colors.Colors.Gray01,
|
|
259
|
+
height: '16px',
|
|
260
|
+
width: '75%',
|
|
261
|
+
marginTop: '12px',
|
|
262
|
+
} }), index.h("div", { style: {
|
|
263
|
+
backgroundColor: colors.Colors.Gray01,
|
|
264
|
+
height: '16px',
|
|
265
|
+
width: '75%',
|
|
266
|
+
marginTop: '8px',
|
|
267
|
+
} })), index.h("div", { style: { marginTop: '24px' } }, index.h("div", { style: {
|
|
268
|
+
overflow: 'hidden',
|
|
269
|
+
marginLeft: '-16px',
|
|
270
|
+
marginBottom: '-16px',
|
|
271
|
+
} }, [1, 2, 3, 4, 5, 6, 7].map((fakeId, idx) => (index.h("div", { key: `style-listing--item-${fakeId}-${idx}`, style: {
|
|
272
|
+
float: 'left',
|
|
273
|
+
paddingLeft: '16px',
|
|
274
|
+
marginBottom: '16px',
|
|
275
|
+
} }, index.h("div", { style: {
|
|
276
|
+
backgroundColor: colors.Colors.Gray01,
|
|
277
|
+
width: '120px',
|
|
278
|
+
height: '20px',
|
|
279
|
+
} })))))))));
|
|
280
|
+
}
|
|
281
|
+
const { about, businessHours, } = (this.salonInfoState || {});
|
|
282
|
+
return (index.h("div", { class: "view view--salon-contact" }, index.h("div", { class: "view-content", style: this.withBorder ? { border: `1px solid ${colors.Colors.Gray02}`, borderRadius: '4px' } : { padding: '0px' } }, index.h("div", { style: { fontSize: '18px', fontWeight: 'bold' } }, "About"), about && (index.h("div", { class: "salon-contact--info--desc", style: { fontSize: '16px', marginTop: '16px' }, innerHTML: about })), businessHours && businessHours.length > 0 && (index.h("div", { class: "salon-schedules", style: { marginTop: '24px' } }, index.h("div", { class: "salon-schedules--title", style: { fontSize: '16px', fontWeight: 'bold' } }, "Working hours"), index.h("div", { class: "salon-schedules--dates" }, index.h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, index.h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Mon"), index.h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[0]))), index.h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, index.h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Tue"), index.h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[1]))), index.h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, index.h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Wed"), index.h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[2]))), index.h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, index.h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Thur"), index.h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[3]))), index.h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, index.h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Fri"), index.h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[4]))), index.h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, index.h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Sat"), index.h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[5]))), index.h("div", { class: "salon-schedules--day", style: { marginTop: '8px' } }, index.h("div", { class: "salon-schedules--day-name", style: { fontWeight: 'bold', minWidth: '40px' } }, "Sun"), index.h("div", { class: "salon-schedules--day-time" }, this.renderBusinessHour(businessHours[6])))))))));
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
SalonSchedules.style = indexCss;
|
|
286
|
+
|
|
287
|
+
exports.google_map = GoogleMap;
|
|
288
|
+
exports.salon_info = SalonInfo;
|
|
289
|
+
exports.salon_latest_styles = SalonLatestStyles;
|
|
290
|
+
exports.salon_locations = SalonLocations;
|
|
291
|
+
exports.salon_schedules = SalonSchedules;
|