favesalon-embed 1.0.17 → 1.0.19
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/dist/custom-elements/index.d.ts +30 -0
- package/dist/favesalon-embed/buy-giftcard-form.entry.js +94 -48
- package/dist/favesalon-embed/buy-giftcard-verification.entry.js +17 -3779
- package/dist/favesalon-embed/favesalon-embed.css +0 -20
- package/dist/favesalon-embed/favesalon-embed.esm.js +1 -1
- package/dist/favesalon-embed/icon-checked.entry.js +19 -0
- package/dist/favesalon-embed/icon-date.entry.js +19 -0
- package/dist/favesalon-embed/icon-loading.entry.js +19 -0
- package/dist/favesalon-embed/icon-location-marker.entry.js +19 -0
- package/dist/favesalon-embed/icon-phone.entry.js +19 -0
- package/dist/favesalon-embed/inputmask-afacb9e0.js +3777 -0
- package/dist/favesalon-embed/wizard-existing-user.entry.js +29 -7
- package/dist/favesalon-embed/wizard-new-user.entry.js +28 -6
- package/dist/types/components/buy-giftcard-form/buy-giftcard-form.d.ts +2 -0
- package/dist/types/components/icon-checked/icon-checked.d.ts +4 -0
- package/dist/types/components/icon-date/icon-date.d.ts +4 -0
- package/dist/types/components/icon-loading/icon-loading.d.ts +4 -0
- package/dist/types/components/icon-location-marker/icon-location-marker.d.ts +4 -0
- package/dist/types/components/icon-phone/icon-phone.d.ts +4 -0
- package/dist/types/components.d.ts +75 -0
- package/package.json +1 -1
- package/dist/favesalon-embed/services-09264f42.js +0 -24132
- package/dist/favesalon-embed/services-1406013d.js +0 -24132
- package/dist/favesalon-embed/services-9a686ade.js +0 -24122
- package/dist/favesalon-embed/services-c2c81c88.js +0 -24131
- package/dist/favesalon-embed/services-ef32efdc.js +0 -24132
- package/dist/favesalon-embed/utils-00e4ed17.js +0 -33
- package/dist/favesalon-embed/utils-daaa9ecc.js +0 -34
- package/dist/favesalon-embed/utils-e6e3f132.js +0 -33
- package/dist/favesalon-embed/utils-fd30fb29.js +0 -32
|
@@ -97,26 +97,6 @@ textarea:focus {
|
|
|
97
97
|
text-align: left;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.fs-spin:before, .fs-spin {
|
|
101
|
-
display: inline-block;
|
|
102
|
-
-webkit-animation: loadingCircle 1s infinite linear;
|
|
103
|
-
animation: loadingCircle 1s infinite linear;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@-webkit-keyframes loadingCircle {
|
|
107
|
-
100% {
|
|
108
|
-
-webkit-transform: rotate(360deg);
|
|
109
|
-
transform: rotate(360deg);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
@keyframes loadingCircle {
|
|
114
|
-
100% {
|
|
115
|
-
-webkit-transform: rotate(360deg);
|
|
116
|
-
transform: rotate(360deg);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
100
|
|
|
121
101
|
@media (min-width: 768px) {
|
|
122
102
|
.view {
|
|
@@ -144,5 +144,5 @@ const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
144
144
|
|
|
145
145
|
patchBrowser().then(options => {
|
|
146
146
|
globalScripts();
|
|
147
|
-
return bootstrapLazy([["
|
|
147
|
+
return bootstrapLazy([["buy-giftcard-form",[[0,"buy-giftcard-form",{"salonId":[1,"salon-id"],"teConnect":[32],"isLoading":[32],"isSubmitting":[32],"errorMessage":[32],"userInfo":[32],"salonInfo":[32],"giftCardSettings":[32],"magensaCredentials":[32],"step":[32],"selectedAmount":[32],"customAmount":[32],"deliveryType":[32],"deliveryDate":[32],"recipientFirstName":[32],"recipientLastName":[32],"recipientEmail":[32],"recipientEmailConfirm":[32],"recipientMessage":[32],"isInvalidEmails":[32],"isInvalidPhones":[32],"selectedStyleId":[32],"isDeliveryDoneVisible":[32]}]]],["chat-button",[[0,"chat-button",{"primaryColor":[1,"primary-color"],"receiverId":[1,"receiver-id"],"receiverAvatar":[1,"receiver-avatar"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"senderIdState":[32],"accessTokenState":[32],"senderInfo":[32],"receiverInfo":[32],"chatRoom":[32],"chatMessages":[32],"isChatIconVisible":[32],"isChatHelpVisible":[32],"isChatExpanded":[32],"isChatVerificationExpanded":[32],"isChatExpandedOnScroll":[32],"onSetupChat":[64],"onClickChat":[64],"fetchData":[64],"onVerificationSuccess":[64]}]]],["chat-box",[[0,"chat-box",{"primaryColor":[1,"primary-color"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"salonId":[1,"salon-id"],"chatRooms":[32],"activeRoom":[32],"fetchData":[64]}]]],["salon-info",[[0,"salon-info",{"salonId":[2,"salon-id"],"salonInfo":[32],"fetchData":[64]}]]],["salon-latest-reviews",[[0,"salon-latest-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonReviews":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-lookbook",[[0,"salon-lookbook",{"salonId":[2,"salon-id"],"isLoading":[32],"isLoadingMore":[32],"hideLoadMore":[32],"currentPage":[32],"totalLookbooks":[32],"salonCategories":[32],"salonLookbooks":[32],"sortBy":[32],"filterBy":[32],"isLayoutSetup":[32],"fetchData":[64],"fetchLookbooks":[64],"onChangeFiltering":[64],"onChangeSorting":[64],"onLoadMore":[64],"fetchCategories":[64]}]]],["salon-reviews",[[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",[[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",[[0,"salon-booking",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-booking-modal",[[0,"salon-booking-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"redirectUrl":[1,"redirect-url"],"isModalOpen":[32]}]]],["salon-gift-card",[[0,"salon-gift-card",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-gift-card-modal",[[0,"salon-gift-card-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"isModalOpen":[32]}]]],["salon-ranking",[[0,"salon-ranking",{"ranking":[2],"height":[2],"width":[2]}]]],["salon-services",[[0,"salon-services",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"salonServices":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-stylists",[[0,"salon-stylists",{"salonId":[2,"salon-id"],"salonStylists":[32],"totalStylists":[32],"page":[32],"isLoading":[32],"isLoadingMore":[32],"canLoadMore":[32],"fetchData":[64],"onLoadMore":[64]}]]],["user-form",[[0,"user-form",{"onSuccess":[16],"type":[32],"currentUser":[32]}]]],["powered-by-favesalon",[[0,"powered-by-favesalon",{"css":[8]}]]],["buy-giftcard-verification",[[0,"buy-giftcard-verification",{"salonId":[1,"salon-id"],"onSuccess":[16],"step":[32],"userInfo":[32],"inputtedPhone":[32],"isSearchingUser":[32]}]]],["chat-rooms",[[0,"chat-rooms",{"senderId":[2,"sender-id"],"salonId":[2,"salon-id"],"chatRooms":[16],"clients":[16],"activeRoom":[16],"accessToken":[1,"access-token"],"onClickRoom":[16],"keyword":[32]}]]],["salon-locations",[[0,"salon-locations",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["credit-card-types",[[0,"credit-card-types",{"css":[8]}]]],["icon-checked",[[0,"icon-checked",{"size":[2]}]]],["icon-date",[[0,"icon-date",{"size":[2]}]]],["icon-location-marker",[[0,"icon-location-marker",{"size":[2]}]]],["icon-phone",[[0,"icon-phone",{"size":[2]}]]],["notify-sounds",[[0,"notify-sounds"]]],["salon-latest-styles",[[0,"salon-latest-styles",{"salonId":[2,"salon-id"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"isLoadingState":[32],"latestStyles":[32],"fetchData":[64]}]]],["salon-schedules",[[0,"salon-schedules",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["chat-messages",[[0,"chat-messages",{"sender":[16],"receiver":[16],"messages":[16],"chatRoomId":[1,"chat-room-id"],"messagesLength":[32],"isScrollIconVisible":[32]}]]],["icon-loading",[[0,"icon-loading",{"size":[2]}]]],["wizard-existing-user",[[0,"wizard-existing-user",{"salonId":[1,"salon-id"],"inputtedPhone":[1,"inputted-phone"],"onClose":[16],"onSuccess":[16],"step":[32],"errorMessage":[32],"isSubmitting":[32],"activatCode":[32]}]]],["wizard-new-user",[[0,"wizard-new-user",{"salonId":[1,"salon-id"],"inputtedPhone":[1,"inputted-phone"],"firstName":[1,"first-name"],"lastName":[1,"last-name"],"onClose":[16],"onSuccess":[16],"step":[32],"errorMessage":[32],"isSubmitting":[32],"activatCode":[32]}]]],["activate-form",[[0,"activate-form",{"username":[1],"password":[1],"onSuccess":[16],"isSubmitting":[32],"error":[32],"confirmCode":[32],"onSubmit":[64],"resendCode":[64]}]]],["change-password-form",[[0,"change-password-form",{"username":[1],"onSuccess":[16],"isSubmitting":[32],"error":[32],"confirmCode":[32],"password":[32],"onSubmit":[64],"resendCode":[64]}]]],["chat-form",[[0,"chat-form",{"senderId":[2,"sender-id"],"chatRoomId":[1,"chat-room-id"]}]]],["google-map",[[0,"google-map",{"locationName":[1,"location-name"],"locationAddress":[1,"location-address"]}]]],["login-form",[[0,"login-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"username":[32],"password":[32],"onSubmit":[64]}]]],["register-form",[[0,"register-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"firstName":[32],"lastName":[32],"email":[32],"phone":[32],"password":[32],"onSubmit":[64]}]]],["reset-password-form",[[0,"reset-password-form",{"onSuccess":[16],"isSubmitting":[32],"error":[32],"username":[32],"onSubmit":[64]}]]],["user-avatar",[[0,"user-avatar",{"size":[2],"name":[1],"description":[1],"nameStyle":[16],"shortName":[1,"short-name"],"avatar":[1]}]]]], options);
|
|
148
148
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
+
|
|
3
|
+
const iconCheckedCss = "";
|
|
4
|
+
|
|
5
|
+
const IconChecked = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.size = 32;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
|
|
12
|
+
width: `${this.size}px`,
|
|
13
|
+
height: 'auto',
|
|
14
|
+
} }, h("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11.0026 16L18.0737 8.92893L16.6595 7.51472L11.0026 13.1716L8.17421 10.3431L6.75999 11.7574L11.0026 16Z" })));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
IconChecked.style = iconCheckedCss;
|
|
18
|
+
|
|
19
|
+
export { IconChecked as icon_checked };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
+
|
|
3
|
+
const iconDateCss = "";
|
|
4
|
+
|
|
5
|
+
const IconDate = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.size = 24;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
|
|
12
|
+
width: `${this.size}px`,
|
|
13
|
+
height: 'auto',
|
|
14
|
+
} }, h("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
IconDate.style = iconDateCss;
|
|
18
|
+
|
|
19
|
+
export { IconDate as icon_date };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
+
|
|
3
|
+
const iconLoadingCss = ".fs-spin svg{display:inline-block;-webkit-animation:loadingCircle 1s infinite linear;animation:loadingCircle 1s infinite linear}@-webkit-keyframes loadingCircle{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loadingCircle{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
|
|
4
|
+
|
|
5
|
+
const IconLoading = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.size = 18;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h("svg", { class: "fs-spin", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
|
|
12
|
+
width: `${this.size}px`,
|
|
13
|
+
height: 'auto',
|
|
14
|
+
} }, h("path", { d: "M18.364 5.63604L16.9497 7.05025C15.683 5.7835 13.933 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12H21C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C14.4853 3 16.7353 4.00736 18.364 5.63604Z" })));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
IconLoading.style = iconLoadingCss;
|
|
18
|
+
|
|
19
|
+
export { IconLoading as icon_loading };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
+
|
|
3
|
+
const iconLocationMarkerCss = "";
|
|
4
|
+
|
|
5
|
+
const IconLocationMarker = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.size = 24;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
|
|
12
|
+
width: `${this.size}px`,
|
|
13
|
+
height: 'auto',
|
|
14
|
+
} }, h("path", { d: "M18.364 17.364L12 23.7279L5.63604 17.364C2.12132 13.8492 2.12132 8.15076 5.63604 4.63604C9.15076 1.12132 14.8492 1.12132 18.364 4.63604C21.8787 8.15076 21.8787 13.8492 18.364 17.364ZM12 15C14.2091 15 16 13.2091 16 11C16 8.79086 14.2091 7 12 7C9.79086 7 8 8.79086 8 11C8 13.2091 9.79086 15 12 15ZM12 13C10.8954 13 10 12.1046 10 11C10 9.89543 10.8954 9 12 9C13.1046 9 14 9.89543 14 11C14 12.1046 13.1046 13 12 13Z" })));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
IconLocationMarker.style = iconLocationMarkerCss;
|
|
18
|
+
|
|
19
|
+
export { IconLocationMarker as icon_location_marker };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
+
|
|
3
|
+
const iconPhoneCss = "";
|
|
4
|
+
|
|
5
|
+
const IconPhone = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.size = 24;
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", style: {
|
|
12
|
+
width: `${this.size}px`,
|
|
13
|
+
height: 'auto',
|
|
14
|
+
} }, h("path", { d: "M21 16.42V19.9561C21 20.4811 20.5941 20.9167 20.0705 20.9537C19.6331 20.9846 19.2763 21 19 21C10.1634 21 3 13.8366 3 5C3 4.72371 3.01545 4.36687 3.04635 3.9295C3.08337 3.40588 3.51894 3 4.04386 3H7.5801C7.83678 3 8.05176 3.19442 8.07753 3.4498C8.10067 3.67907 8.12218 3.86314 8.14207 4.00202C8.34435 5.41472 8.75753 6.75936 9.3487 8.00303C9.44359 8.20265 9.38171 8.44159 9.20185 8.57006L7.04355 10.1118C8.35752 13.1811 10.8189 15.6425 13.8882 16.9565L15.4271 14.8019C15.5572 14.6199 15.799 14.5573 16.001 14.6532C17.2446 15.2439 18.5891 15.6566 20.0016 15.8584C20.1396 15.8782 20.3225 15.8995 20.5502 15.9225C20.8056 15.9483 21 16.1633 21 16.42Z" })));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
IconPhone.style = iconPhoneCss;
|
|
18
|
+
|
|
19
|
+
export { IconPhone as icon_phone };
|