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
|
@@ -3,40 +3,32 @@
|
|
|
3
3
|
margin-left: -12px;
|
|
4
4
|
margin-top: -12px;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
6
|
.view--salon-stylists .salon-stylist {
|
|
8
7
|
float: left;
|
|
9
8
|
padding-left: 12px;
|
|
10
9
|
padding-top: 12px;
|
|
11
10
|
width: 50%;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
12
|
.view--salon-stylists .salon-stylist--avatar {
|
|
15
13
|
height: 180px;
|
|
16
14
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
15
|
@media (min-width: 576px) {
|
|
20
16
|
.view--salon-stylists .salon-stylist {
|
|
21
17
|
width: 33.33%;
|
|
22
18
|
max-width: 240px;
|
|
23
19
|
}
|
|
24
20
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
21
|
@media (min-width: 768px) {
|
|
28
22
|
.view--salon-stylists {
|
|
29
23
|
margin-left: -24px;
|
|
30
24
|
margin-top: -24px;
|
|
31
25
|
}
|
|
32
|
-
|
|
33
26
|
.view--salon-stylists .salon-stylist {
|
|
34
27
|
padding-left: 24px;
|
|
35
28
|
padding-top: 24px;
|
|
36
29
|
width: 264px;
|
|
37
30
|
max-width: none;
|
|
38
31
|
}
|
|
39
|
-
|
|
40
32
|
.view--salon-stylists .salon-stylist--avatar {
|
|
41
33
|
height: 240px;
|
|
42
34
|
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { Component, Prop, h, Method, State } from '@stencil/core';
|
|
2
|
+
import { Colors } from '../../constants/colors';
|
|
3
|
+
import HttpService from '../../services/services';
|
|
4
|
+
const pageLimit = 20;
|
|
5
|
+
export class SalonStylists {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.page = 1;
|
|
8
|
+
}
|
|
9
|
+
componentWillLoad() {
|
|
10
|
+
this.fetchData();
|
|
11
|
+
}
|
|
12
|
+
async fetchData() {
|
|
13
|
+
this.isLoading = true;
|
|
14
|
+
try {
|
|
15
|
+
const { total, data } = await HttpService().fetchSalonStylists(this.salonId, { page: 1, limit: pageLimit });
|
|
16
|
+
this.totalStylists = total;
|
|
17
|
+
this.salonStylists = data;
|
|
18
|
+
this.canLoadMore = data.length === pageLimit;
|
|
19
|
+
}
|
|
20
|
+
catch (e) {
|
|
21
|
+
this.totalStylists = 0;
|
|
22
|
+
this.salonStylists = [];
|
|
23
|
+
this.canLoadMore = false;
|
|
24
|
+
}
|
|
25
|
+
this.isLoading = false;
|
|
26
|
+
}
|
|
27
|
+
async onLoadMore() {
|
|
28
|
+
this.isLoadingMore = true;
|
|
29
|
+
try {
|
|
30
|
+
const { data } = await HttpService().fetchSalonStylists(this.salonId, { page: this.page + 1, limit: pageLimit });
|
|
31
|
+
this.salonStylists = this.salonStylists.concat(data || []);
|
|
32
|
+
this.canLoadMore = data.length === pageLimit;
|
|
33
|
+
this.page += 1;
|
|
34
|
+
}
|
|
35
|
+
catch (e) { }
|
|
36
|
+
this.isLoadingMore = false;
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
if (this.isLoading) {
|
|
40
|
+
return (h("div", null,
|
|
41
|
+
h("div", { class: "view--salon-stylists" }, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].map((fakeId, index) => (h("div", { class: "salon-stylist" },
|
|
42
|
+
h("div", { class: "card", style: {
|
|
43
|
+
background: 'none',
|
|
44
|
+
border: 'none',
|
|
45
|
+
overflow: 'hidden',
|
|
46
|
+
} },
|
|
47
|
+
h("div", { class: "salon-stylist--avatar", style: {
|
|
48
|
+
backgroundColor: Colors.Gray01,
|
|
49
|
+
backgroundRepeat: 'no-repeat',
|
|
50
|
+
backgroundPosition: 'center top',
|
|
51
|
+
backgroundSize: 'cover',
|
|
52
|
+
border: `1px solid ${Colors.Gray01}`,
|
|
53
|
+
borderRadius: '8px',
|
|
54
|
+
position: 'relative',
|
|
55
|
+
display: 'flex',
|
|
56
|
+
width: '100%',
|
|
57
|
+
alignItems: 'center',
|
|
58
|
+
justifyContent: 'center',
|
|
59
|
+
} }),
|
|
60
|
+
h("div", { class: "card-body" },
|
|
61
|
+
h("div", { key: `stylist--${fakeId}--${index}`, style: {
|
|
62
|
+
backgroundColor: Colors.Gray01,
|
|
63
|
+
height: '16px',
|
|
64
|
+
width: '120px',
|
|
65
|
+
margin: 'auto',
|
|
66
|
+
} })))))))));
|
|
67
|
+
}
|
|
68
|
+
return (h("div", null,
|
|
69
|
+
h("div", { class: "view--salon-stylists" }, (this.salonStylists || []).map(stylist => (h("div", { class: "salon-stylist" },
|
|
70
|
+
h("div", { class: "card", style: {
|
|
71
|
+
background: 'none',
|
|
72
|
+
border: 'none',
|
|
73
|
+
overflow: 'hidden',
|
|
74
|
+
} },
|
|
75
|
+
h("div", { class: "salon-stylist--avatar", style: {
|
|
76
|
+
backgroundImage: `url("${stylist.avatar}")`,
|
|
77
|
+
backgroundColor: Colors.Gray01,
|
|
78
|
+
backgroundRepeat: 'no-repeat',
|
|
79
|
+
backgroundPosition: 'center top',
|
|
80
|
+
backgroundSize: 'cover',
|
|
81
|
+
border: `1px solid ${Colors.Gray01}`,
|
|
82
|
+
borderRadius: '8px',
|
|
83
|
+
position: 'relative',
|
|
84
|
+
display: 'flex',
|
|
85
|
+
width: '100%',
|
|
86
|
+
alignItems: 'center',
|
|
87
|
+
justifyContent: 'center',
|
|
88
|
+
} }, !stylist.avatar && (h("span", { style: {
|
|
89
|
+
fontSize: '32px',
|
|
90
|
+
fontWeight: 'bold',
|
|
91
|
+
textTransform: 'uppercase',
|
|
92
|
+
} },
|
|
93
|
+
(stylist.firstName || '').charAt(0),
|
|
94
|
+
" ",
|
|
95
|
+
(stylist.lastName || '').charAt(0)))),
|
|
96
|
+
h("div", { class: "card-body" },
|
|
97
|
+
h("div", { style: {
|
|
98
|
+
fontSize: '18px',
|
|
99
|
+
fontWeight: '600',
|
|
100
|
+
textAlign: 'center',
|
|
101
|
+
} }, stylist.fullName))))))),
|
|
102
|
+
this.canLoadMore && (h("div", { class: "view-footer", style: {
|
|
103
|
+
textAlign: 'center',
|
|
104
|
+
paddingTop: '32px',
|
|
105
|
+
paddingBottom: '16px',
|
|
106
|
+
} },
|
|
107
|
+
h("button", { type: "button", class: "btn btn-lg", disabled: this.isLoadingMore, style: {
|
|
108
|
+
background: Colors.White,
|
|
109
|
+
border: `1px solid ${Colors.Gray02}`,
|
|
110
|
+
borderRadius: '4px',
|
|
111
|
+
paddingLeft: '24px',
|
|
112
|
+
paddingRight: '24px',
|
|
113
|
+
}, onClick: () => this.onLoadMore() }, "Load more")))));
|
|
114
|
+
}
|
|
115
|
+
static get is() { return "salon-stylists"; }
|
|
116
|
+
static get originalStyleUrls() { return {
|
|
117
|
+
"$": ["index.less"]
|
|
118
|
+
}; }
|
|
119
|
+
static get styleUrls() { return {
|
|
120
|
+
"$": ["index.css"]
|
|
121
|
+
}; }
|
|
122
|
+
static get properties() { return {
|
|
123
|
+
"salonId": {
|
|
124
|
+
"type": "number",
|
|
125
|
+
"mutable": false,
|
|
126
|
+
"complexType": {
|
|
127
|
+
"original": "number",
|
|
128
|
+
"resolved": "number",
|
|
129
|
+
"references": {}
|
|
130
|
+
},
|
|
131
|
+
"required": false,
|
|
132
|
+
"optional": false,
|
|
133
|
+
"docs": {
|
|
134
|
+
"tags": [],
|
|
135
|
+
"text": ""
|
|
136
|
+
},
|
|
137
|
+
"attribute": "salon-id",
|
|
138
|
+
"reflect": false
|
|
139
|
+
}
|
|
140
|
+
}; }
|
|
141
|
+
static get states() { return {
|
|
142
|
+
"salonStylists": {},
|
|
143
|
+
"totalStylists": {},
|
|
144
|
+
"page": {},
|
|
145
|
+
"isLoading": {},
|
|
146
|
+
"isLoadingMore": {},
|
|
147
|
+
"canLoadMore": {}
|
|
148
|
+
}; }
|
|
149
|
+
static get methods() { return {
|
|
150
|
+
"fetchData": {
|
|
151
|
+
"complexType": {
|
|
152
|
+
"signature": "() => Promise<void>",
|
|
153
|
+
"parameters": [],
|
|
154
|
+
"references": {
|
|
155
|
+
"Promise": {
|
|
156
|
+
"location": "global"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"return": "Promise<void>"
|
|
160
|
+
},
|
|
161
|
+
"docs": {
|
|
162
|
+
"text": "",
|
|
163
|
+
"tags": []
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"onLoadMore": {
|
|
167
|
+
"complexType": {
|
|
168
|
+
"signature": "() => Promise<void>",
|
|
169
|
+
"parameters": [],
|
|
170
|
+
"references": {
|
|
171
|
+
"Promise": {
|
|
172
|
+
"location": "global"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"return": "Promise<void>"
|
|
176
|
+
},
|
|
177
|
+
"docs": {
|
|
178
|
+
"text": "",
|
|
179
|
+
"tags": []
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}; }
|
|
183
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.salon-modal.salon-modal--lookbook-detail .salon-modal--close {
|
|
2
|
+
display: none !important;
|
|
3
|
+
}
|
|
4
|
+
.salon-modal.salon-modal--lookbook-detail .salon-modal--content {
|
|
5
|
+
background-color: #fff;
|
|
6
|
+
position: fixed;
|
|
7
|
+
top: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
left: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
z-index: 1000;
|
|
14
|
+
overflow-y: auto;
|
|
15
|
+
}
|
|
16
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--image {
|
|
17
|
+
height: 240px !important;
|
|
18
|
+
}
|
|
19
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--thumbnails {
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--thumbnail {
|
|
23
|
+
display: inline-block;
|
|
24
|
+
margin-top: 12px;
|
|
25
|
+
margin-right: 12px;
|
|
26
|
+
height: 40px;
|
|
27
|
+
width: 60px;
|
|
28
|
+
}
|
|
29
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--button {
|
|
30
|
+
border: none;
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: 50%;
|
|
33
|
+
z-index: 20;
|
|
34
|
+
height: 40px;
|
|
35
|
+
width: 40px;
|
|
36
|
+
-moz-border-radius: 50px;
|
|
37
|
+
-webkit-border-radius: 50px;
|
|
38
|
+
border-radius: 50px;
|
|
39
|
+
-moz-transform: translate(0, -50%);
|
|
40
|
+
-webkit-transform: translate(0, -50%);
|
|
41
|
+
transform: translate(0, -50%);
|
|
42
|
+
}
|
|
43
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--prev {
|
|
44
|
+
left: 24px;
|
|
45
|
+
}
|
|
46
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--next {
|
|
47
|
+
right: 24px;
|
|
48
|
+
}
|
|
49
|
+
@media (min-width: 768px) {
|
|
50
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--image {
|
|
51
|
+
height: 360px !important;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@media (min-width: 992px) {
|
|
55
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--image {
|
|
56
|
+
height: 480px !important;
|
|
57
|
+
}
|
|
58
|
+
.salon-modal.salon-modal--lookbook-detail .style-detail--slides--thumbnail {
|
|
59
|
+
height: 56px;
|
|
60
|
+
width: 72px;
|
|
61
|
+
}
|
|
62
|
+
}
|