favesalon-embed 1.0.20 → 1.0.22
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/favesalon-embed/activate-form.entry.js +1 -1
- package/dist/favesalon-embed/buy-giftcard-form.entry.js +1 -1
- package/dist/favesalon-embed/buy-giftcard-verification.entry.js +3 -3
- package/dist/favesalon-embed/change-password-form.entry.js +1 -1
- package/dist/favesalon-embed/chat-box.entry.js +2 -2
- package/dist/favesalon-embed/chat-button.entry.js +2 -2
- package/dist/favesalon-embed/chat-form.entry.js +29 -7
- package/dist/favesalon-embed/chat-messages.entry.js +1 -1
- package/dist/favesalon-embed/chat-rooms.entry.js +1 -1
- package/dist/favesalon-embed/favesalon-embed.esm.js +1 -1
- package/dist/favesalon-embed/login-form.entry.js +1 -1
- package/dist/favesalon-embed/register-form.entry.js +1 -1
- package/dist/favesalon-embed/reset-password-form.entry.js +1 -1
- package/dist/favesalon-embed/salon-info.entry.js +1 -1
- package/dist/favesalon-embed/salon-latest-reviews.entry.js +1 -1
- package/dist/favesalon-embed/salon-latest-styles.entry.js +1 -1
- package/dist/favesalon-embed/salon-locations.entry.js +1 -1
- package/dist/favesalon-embed/salon-lookbook.entry.js +1 -1
- package/dist/favesalon-embed/salon-reviews.entry.js +1 -1
- package/dist/favesalon-embed/salon-schedules.entry.js +1 -1
- package/dist/favesalon-embed/salon-services.entry.js +1 -1
- package/dist/favesalon-embed/salon-stylists.entry.js +1 -1
- package/dist/favesalon-embed/services-42acb174.js +24127 -0
- package/dist/favesalon-embed/services-9e44a982.js +24127 -0
- package/dist/favesalon-embed/style-detail.entry.js +1 -1
- package/dist/favesalon-embed/wizard-existing-user.entry.js +1 -1
- package/dist/favesalon-embed/wizard-new-user.entry.js +1 -1
- package/dist/types/components/chat-form/index.d.ts +6 -2
- package/dist/types/components.d.ts +6 -4
- package/dist/types/services/services.d.ts +1 -0
- package/package.json +1 -1
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -21
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
-
import { d as dayjs_min, H as HttpService, j as isVideoMedia, c as getSalonImage, f as shortDateYearFormat } from './services-
|
|
2
|
+
import { d as dayjs_min, H as HttpService, j as isVideoMedia, c as getSalonImage, f as shortDateYearFormat } from './services-42acb174.js';
|
|
3
3
|
import { r as relativeTime } from './relativeTime-15477f02.js';
|
|
4
4
|
import { C as Colors } from './colors-ea36347a.js';
|
|
5
5
|
import './_commonjsHelpers-9bc404fc.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
-
import { H as HttpService, g as get_1 } from './services-
|
|
2
|
+
import { H as HttpService, g as get_1 } from './services-42acb174.js';
|
|
3
3
|
import { C as Colors } from './colors-ea36347a.js';
|
|
4
4
|
import './_commonjsHelpers-9bc404fc.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-888e99e3.js';
|
|
2
|
-
import { H as HttpService, g as get_1 } from './services-
|
|
2
|
+
import { H as HttpService, g as get_1 } from './services-42acb174.js';
|
|
3
3
|
import { C as Colors } from './colors-ea36347a.js';
|
|
4
4
|
import './_commonjsHelpers-9bc404fc.js';
|
|
5
5
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { User } from '../../types/user';
|
|
2
|
+
import { ChatRoom } from '../../types/chat';
|
|
1
3
|
export declare class ChatForm {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
+
accessToken: string;
|
|
5
|
+
sender: User;
|
|
6
|
+
chatRoom: ChatRoom;
|
|
7
|
+
private sendNotification;
|
|
4
8
|
private updateChatroomInfo;
|
|
5
9
|
private onSubmitMessage;
|
|
6
10
|
render(): any;
|
|
@@ -49,8 +49,9 @@ export namespace Components {
|
|
|
49
49
|
"senderId"?: string;
|
|
50
50
|
}
|
|
51
51
|
interface ChatForm {
|
|
52
|
-
"
|
|
53
|
-
"
|
|
52
|
+
"accessToken": string;
|
|
53
|
+
"chatRoom": ChatRoom;
|
|
54
|
+
"sender": User;
|
|
54
55
|
}
|
|
55
56
|
interface ChatMessages {
|
|
56
57
|
"chatRoomId": string;
|
|
@@ -537,8 +538,9 @@ declare namespace LocalJSX {
|
|
|
537
538
|
"senderId"?: string;
|
|
538
539
|
}
|
|
539
540
|
interface ChatForm {
|
|
540
|
-
"
|
|
541
|
-
"
|
|
541
|
+
"accessToken"?: string;
|
|
542
|
+
"chatRoom"?: ChatRoom;
|
|
543
|
+
"sender"?: User;
|
|
542
544
|
}
|
|
543
545
|
interface ChatMessages {
|
|
544
546
|
"chatRoomId"?: string;
|
package/package.json
CHANGED
package/loader/cdn.js
DELETED
package/loader/index.cjs.js
DELETED
package/loader/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export * from '../dist/types/components';
|
|
2
|
-
export interface CustomElementsDefineOptions {
|
|
3
|
-
exclude?: string[];
|
|
4
|
-
resourcesUrl?: string;
|
|
5
|
-
syncQueue?: boolean;
|
|
6
|
-
jmp?: (c: Function) => any;
|
|
7
|
-
raf?: (c: FrameRequestCallback) => number;
|
|
8
|
-
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
|
-
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
|
-
export declare function applyPolyfills(): Promise<void>;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
|
-
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
|
-
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
18
|
-
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
19
|
-
* will result in the same behavior.
|
|
20
|
-
*/
|
|
21
|
-
export declare function setNonce(nonce: string): void;
|
package/loader/index.es2017.js
DELETED
package/loader/index.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
3
|
-
export * from '../dist/esm/polyfills/index.js';
|
|
4
|
-
export * from '../dist/esm/loader.js';
|
package/loader/package.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "favesalon-embed-loader",
|
|
3
|
-
"private": true,
|
|
4
|
-
"typings": "./index.d.ts",
|
|
5
|
-
"module": "./index.js",
|
|
6
|
-
"main": "./index.cjs.js",
|
|
7
|
-
"jsnext:main": "./index.es2017.js",
|
|
8
|
-
"es2015": "./index.es2017.js",
|
|
9
|
-
"es2017": "./index.es2017.js",
|
|
10
|
-
"unpkg": "./cdn.js"
|
|
11
|
-
}
|