favesalon-embed 1.0.7 → 1.0.8

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 (34) hide show
  1. package/dist/favesalon-embed/activate-form.entry.js +1 -1
  2. package/dist/favesalon-embed/app-globals-0acc05ce.js +7 -0
  3. package/dist/favesalon-embed/change-password-form.entry.js +1 -1
  4. package/dist/favesalon-embed/chat-box.entry.js +1 -1
  5. package/dist/favesalon-embed/chat-button.entry.js +10 -3
  6. package/dist/favesalon-embed/chat-form.entry.js +1 -1
  7. package/dist/favesalon-embed/chat-messages.entry.js +1 -1
  8. package/dist/favesalon-embed/chat-rooms.entry.js +1 -1
  9. package/dist/favesalon-embed/favesalon-embed.esm.js +4 -4
  10. package/dist/favesalon-embed/google-map.entry.js +1 -1
  11. package/dist/favesalon-embed/index-08aeafb8.js +3371 -0
  12. package/dist/favesalon-embed/login-form.entry.js +1 -1
  13. package/dist/favesalon-embed/notify-sounds.entry.js +1 -1
  14. package/dist/favesalon-embed/register-form.entry.js +1 -1
  15. package/dist/favesalon-embed/reset-password-form.entry.js +1 -1
  16. package/dist/favesalon-embed/salon-booking-modal.entry.js +1 -1
  17. package/dist/favesalon-embed/salon-booking.entry.js +1 -1
  18. package/dist/favesalon-embed/salon-gift-card-modal.entry.js +1 -1
  19. package/dist/favesalon-embed/salon-gift-card.entry.js +1 -1
  20. package/dist/favesalon-embed/salon-info.entry.js +1 -1
  21. package/dist/favesalon-embed/salon-latest-reviews.entry.js +1 -1
  22. package/dist/favesalon-embed/salon-latest-styles.entry.js +1 -1
  23. package/dist/favesalon-embed/salon-locations.entry.js +1 -1
  24. package/dist/favesalon-embed/salon-lookbook.entry.js +1 -1
  25. package/dist/favesalon-embed/salon-ranking.entry.js +1 -1
  26. package/dist/favesalon-embed/salon-reviews.entry.js +1 -1
  27. package/dist/favesalon-embed/salon-schedules.entry.js +1 -1
  28. package/dist/favesalon-embed/salon-services.entry.js +1 -1
  29. package/dist/favesalon-embed/salon-stylists.entry.js +1 -1
  30. package/dist/favesalon-embed/style-detail.entry.js +1 -1
  31. package/dist/favesalon-embed/user-avatar.entry.js +1 -1
  32. package/dist/favesalon-embed/user-form.entry.js +1 -1
  33. package/dist/types/components/chat-button/index.d.ts +2 -0
  34. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
  import { H as HttpService } from './services-d71be591.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
 
3
3
  const indexCss = "@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap'); chat-button{position:relative}.chat-button--indicator{cursor:pointer;position:absolute;inset:0}.chat-button--counter{background-color:rgb(240, 90, 97);border:1px solid rgb(255, 255, 255);position:absolute;right:6px;top:0px;height:8px;width:8px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.chat-box{font-family:'Roboto', sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-moz-border-radius:8px 8px 0px 0px;-webkit-border-radius:8px 8px 0px 0px;border-radius:8px 8px 0px 0px;-moz-box-shadow:rgba(0, 0, 0, 0.25) 0px 0px 24px;-webkit-box-shadow:rgba(0, 0, 0, 0.25) 0px 0px 24px;box-shadow:rgba(0, 0, 0, 0.25) 0px 0px 24px;background-color:#fff;display:flex;flex-direction:column;position:fixed;right:1px;bottom:0px;z-index:20000;font-size:16px;text-align:left;color:#141414;width:80vw;height:480px;max-height:80vh}.chat-box--header{display:flex;justify-content:space-between;padding:16px;position:relative;-moz-border-radius:8px 8px 0px 0px;-webkit-border-radius:8px 8px 0px 0px;border-radius:8px 8px 0px 0px}.chat-box--title{color:#fff;font-size:20px;font-weight:600;line-height:1;display:flex;align-items:center;justify-content:space-between;margin:0}.chat-box--close{cursor:pointer;display:block;position:absolute;z-index:1000;top:50%;right:0;width:30px;height:30px;transform:translate(0, -50%);background-size:contain;background-repeat:no-repeat;background-position:center center;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==')}@media (min-width: 768px){.chat-box{border:1px solid #fff;height:480px;max-height:90vh;width:560px}.chat-box--header{-moz-border-radius:8px 8px 0px 0px;-webkit-border-radius:8px 8px 0px 0px;border-radius:8px 8px 0px 0px}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
  import { H as HttpService } from './services-d71be591.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
  import { H as HttpService } from './services-d71be591.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
 
4
4
  const indexCss = ".salon-modal.salon-modal--booking:before{display:none}.salon-modal.salon-modal--booking .salon-modal--inner,.salon-modal.salon-modal--booking .salon-modal--content{max-width:none;width:100%;height:100%}.salon-modal.salon-modal--booking .salon-modal--close{background-color:#EFEFEF;width:40px;height:40px;right:16px;top:16px;-moz-border-radius:50px;-webkit-border-radius:50px;border-radius:50px}@media (min-width: 768px){.salon-modal.salon-modal--booking .salon-modal--close{right:20px;top:20px}}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { c as color, l as lib } from './index-00b83e1c.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
 
4
4
  const indexCss = ".salon-modal.salon-modal--gift-card:before{display:none}.salon-modal.salon-modal--gift-card .salon-modal--inner,.salon-modal.salon-modal--gift-card .salon-modal--content{max-width:none;width:100%;height:100%}.salon-modal.salon-modal--gift-card .salon-modal--close{background-color:#EFEFEF;width:40px;height:40px;right:16px;top:16px;-moz-border-radius:50px;-webkit-border-radius:50px;border-radius:50px}@media (min-width: 768px){.salon-modal.salon-modal--gift-card .salon-modal--close{right:20px;top:20px}}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { c as color, l as lib } from './index-00b83e1c.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { H as HttpService } from './services-d71be591.js';
3
3
  import './_commonjsHelpers-a4f66ccd.js';
4
4
  import './colors-ea36347a.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { H as HttpService, d as dayjs_min, s as shortDateYearFormat } from './services-d71be591.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import { g as getRatingText } from './utils-fd30fb29.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
  import { H as HttpService, i as isVideoMedia } from './services-d71be591.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { a as formatWebsiteUrl, b as formatFullAddress } from './utils-fd30fb29.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import { H as HttpService } from './services-d71be591.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
  import { H as HttpService } from './services-d71be591.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
 
4
4
  const indexCss = "salon-ranking{display:block}";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { H as HttpService, d as dayjs_min, s as shortDateYearFormat } from './services-d71be591.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { H as HttpService, B as BusinessHourStatus } from './services-d71be591.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { H as HttpService, a as sortBy_1 } from './services-d71be591.js';
3
3
  import { C as Colors } from './colors-ea36347a.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
  import { H as HttpService } from './services-d71be591.js';
4
4
  import './_commonjsHelpers-a4f66ccd.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { d as dayjs_min, H as HttpService, i as isVideoMedia, g as getSalonImage, s as shortDateYearFormat } from './services-d71be591.js';
3
3
  import { r as relativeTime } from './relativeTime-268e64b0.js';
4
4
  import { C as Colors } from './colors-ea36347a.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
 
4
4
  const indexCss = "";
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-888e99e3.js';
1
+ import { r as registerInstance, h } from './index-08aeafb8.js';
2
2
 
3
3
  const userFormCss = ":host{display:block}";
4
4
 
@@ -13,7 +13,9 @@ export declare class ChatButton {
13
13
  chatRoom: ChatRoom;
14
14
  chatMessages: ChatMessage[];
15
15
  isChatExpanded: boolean;
16
+ isChatExpandedOnScroll: boolean;
16
17
  componentWillLoad(): void;
18
+ onScroll(evt: any): void;
17
19
  fetchData(): Promise<void>;
18
20
  onVerificationSuccess(user: User): void;
19
21
  render(): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "favesalon-embed",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Favesalon Embed",
5
5
  "author": "Trung Luu <trung@favesalon.com> (https://favesalon.com)",
6
6
  "main": "dist/index.cjs.js",