favesalon-embed 1.0.3 → 1.0.5
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 +6 -0
- package/dist/favesalon-embed/app-globals-74127f4b.js +7 -0
- package/dist/favesalon-embed/chat-box.entry.js +4 -3
- package/dist/favesalon-embed/chat-button.entry.js +2 -2
- package/dist/favesalon-embed/chat-form.entry.js +2 -2
- package/dist/favesalon-embed/chat-messages.entry.js +23 -5
- package/dist/favesalon-embed/chat-rooms.entry.js +50 -17218
- package/dist/favesalon-embed/favesalon-embed.css +1 -2326
- package/dist/favesalon-embed/favesalon-embed.esm.js +2 -2
- package/dist/favesalon-embed/lodash-d5526b38.js +17215 -0
- package/dist/favesalon-embed/notify-sounds.entry.js +31 -0
- package/dist/favesalon-embed/salon-info.entry.js +1 -1
- package/dist/favesalon-embed/salon-latest-reviews.entry.js +2 -2
- package/dist/favesalon-embed/salon-latest-styles.entry.js +1 -1
- package/dist/favesalon-embed/salon-locations.entry.js +2 -2
- 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-122dcf73.js +23886 -0
- package/dist/favesalon-embed/{services-7c46a2fd.js → services-23eda072.js} +25 -2
- package/dist/favesalon-embed/{services-55a87166.js → services-243eef47.js} +229 -4
- package/dist/favesalon-embed/services-260ea6eb.js +23883 -0
- package/dist/favesalon-embed/services-27607998.js +23886 -0
- package/dist/favesalon-embed/{services-7cb8f2a6.js → services-46b2f0aa.js} +15 -2
- package/dist/favesalon-embed/services-65a8cf4a.js +23887 -0
- package/dist/favesalon-embed/services-8f52210f.js +23880 -0
- package/dist/favesalon-embed/services-de32365e.js +23880 -0
- package/dist/favesalon-embed/services-e9cfcd2b.js +23885 -0
- package/dist/favesalon-embed/services-f7278483.js +23880 -0
- package/dist/favesalon-embed/services-f9872bea.js +23880 -0
- package/dist/favesalon-embed/style-detail.entry.js +1 -1
- package/dist/favesalon-embed/utils-89c2cff2.js +32 -0
- package/dist/favesalon-embed/utils-e226fa04.js +32 -0
- package/dist/favesalon-embed/utils-fd30fb29.js +32 -0
- package/dist/types/components/chat-box/index.d.ts +1 -0
- package/dist/types/components/chat-button/notify-sounds.d.ts +5 -0
- package/dist/types/components/chat-rooms/index.d.ts +6 -0
- package/dist/types/components.d.ts +21 -0
- package/dist/types/services/services.d.ts +1 -0
- package/dist/types/types/chat.d.ts +1 -0
- package/dist/types/types/user.d.ts +10 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/favesalon-embed/_commonjsHelpers-9bc404fc.js +0 -44
- package/dist/favesalon-embed/app-globals-437cc3f3.js +0 -712
- package/dist/favesalon-embed/app-globals-60769a2c.js +0 -712
- package/dist/favesalon-embed/index-04c09911.js +0 -3371
- package/dist/favesalon-embed/index-ac52896a.js +0 -4803
- package/dist/favesalon-embed/isObject-13b86c17.js +0 -203
- package/dist/favesalon-embed/relativeTime-15477f02.js +0 -7
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import { a as commonjsGlobal } from './_commonjsHelpers-9bc404fc.js';
|
|
2
|
-
|
|
3
|
-
/** Detect free variable `global` from Node.js. */
|
|
4
|
-
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
5
|
-
|
|
6
|
-
var _freeGlobal = freeGlobal;
|
|
7
|
-
|
|
8
|
-
/** Detect free variable `self`. */
|
|
9
|
-
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
10
|
-
|
|
11
|
-
/** Used as a reference to the global object. */
|
|
12
|
-
var root = _freeGlobal || freeSelf || Function('return this')();
|
|
13
|
-
|
|
14
|
-
var _root = root;
|
|
15
|
-
|
|
16
|
-
/** Built-in value references. */
|
|
17
|
-
var Symbol = _root.Symbol;
|
|
18
|
-
|
|
19
|
-
var _Symbol = Symbol;
|
|
20
|
-
|
|
21
|
-
/** Used for built-in method references. */
|
|
22
|
-
var objectProto$1 = Object.prototype;
|
|
23
|
-
|
|
24
|
-
/** Used to check objects for own properties. */
|
|
25
|
-
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Used to resolve the
|
|
29
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
30
|
-
* of values.
|
|
31
|
-
*/
|
|
32
|
-
var nativeObjectToString$1 = objectProto$1.toString;
|
|
33
|
-
|
|
34
|
-
/** Built-in value references. */
|
|
35
|
-
var symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
39
|
-
*
|
|
40
|
-
* @private
|
|
41
|
-
* @param {*} value The value to query.
|
|
42
|
-
* @returns {string} Returns the raw `toStringTag`.
|
|
43
|
-
*/
|
|
44
|
-
function getRawTag(value) {
|
|
45
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag$1),
|
|
46
|
-
tag = value[symToStringTag$1];
|
|
47
|
-
|
|
48
|
-
try {
|
|
49
|
-
value[symToStringTag$1] = undefined;
|
|
50
|
-
var unmasked = true;
|
|
51
|
-
} catch (e) {}
|
|
52
|
-
|
|
53
|
-
var result = nativeObjectToString$1.call(value);
|
|
54
|
-
if (unmasked) {
|
|
55
|
-
if (isOwn) {
|
|
56
|
-
value[symToStringTag$1] = tag;
|
|
57
|
-
} else {
|
|
58
|
-
delete value[symToStringTag$1];
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return result;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
var _getRawTag = getRawTag;
|
|
65
|
-
|
|
66
|
-
/** Used for built-in method references. */
|
|
67
|
-
var objectProto = Object.prototype;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Used to resolve the
|
|
71
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
72
|
-
* of values.
|
|
73
|
-
*/
|
|
74
|
-
var nativeObjectToString = objectProto.toString;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Converts `value` to a string using `Object.prototype.toString`.
|
|
78
|
-
*
|
|
79
|
-
* @private
|
|
80
|
-
* @param {*} value The value to convert.
|
|
81
|
-
* @returns {string} Returns the converted string.
|
|
82
|
-
*/
|
|
83
|
-
function objectToString(value) {
|
|
84
|
-
return nativeObjectToString.call(value);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
var _objectToString = objectToString;
|
|
88
|
-
|
|
89
|
-
/** `Object#toString` result references. */
|
|
90
|
-
var nullTag = '[object Null]',
|
|
91
|
-
undefinedTag = '[object Undefined]';
|
|
92
|
-
|
|
93
|
-
/** Built-in value references. */
|
|
94
|
-
var symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
98
|
-
*
|
|
99
|
-
* @private
|
|
100
|
-
* @param {*} value The value to query.
|
|
101
|
-
* @returns {string} Returns the `toStringTag`.
|
|
102
|
-
*/
|
|
103
|
-
function baseGetTag(value) {
|
|
104
|
-
if (value == null) {
|
|
105
|
-
return value === undefined ? undefinedTag : nullTag;
|
|
106
|
-
}
|
|
107
|
-
return (symToStringTag && symToStringTag in Object(value))
|
|
108
|
-
? _getRawTag(value)
|
|
109
|
-
: _objectToString(value);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
var _baseGetTag = baseGetTag;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
116
|
-
* and has a `typeof` result of "object".
|
|
117
|
-
*
|
|
118
|
-
* @static
|
|
119
|
-
* @memberOf _
|
|
120
|
-
* @since 4.0.0
|
|
121
|
-
* @category Lang
|
|
122
|
-
* @param {*} value The value to check.
|
|
123
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
124
|
-
* @example
|
|
125
|
-
*
|
|
126
|
-
* _.isObjectLike({});
|
|
127
|
-
* // => true
|
|
128
|
-
*
|
|
129
|
-
* _.isObjectLike([1, 2, 3]);
|
|
130
|
-
* // => true
|
|
131
|
-
*
|
|
132
|
-
* _.isObjectLike(_.noop);
|
|
133
|
-
* // => false
|
|
134
|
-
*
|
|
135
|
-
* _.isObjectLike(null);
|
|
136
|
-
* // => false
|
|
137
|
-
*/
|
|
138
|
-
function isObjectLike(value) {
|
|
139
|
-
return value != null && typeof value == 'object';
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
var isObjectLike_1 = isObjectLike;
|
|
143
|
-
|
|
144
|
-
/** `Object#toString` result references. */
|
|
145
|
-
var symbolTag = '[object Symbol]';
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
149
|
-
*
|
|
150
|
-
* @static
|
|
151
|
-
* @memberOf _
|
|
152
|
-
* @since 4.0.0
|
|
153
|
-
* @category Lang
|
|
154
|
-
* @param {*} value The value to check.
|
|
155
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
156
|
-
* @example
|
|
157
|
-
*
|
|
158
|
-
* _.isSymbol(Symbol.iterator);
|
|
159
|
-
* // => true
|
|
160
|
-
*
|
|
161
|
-
* _.isSymbol('abc');
|
|
162
|
-
* // => false
|
|
163
|
-
*/
|
|
164
|
-
function isSymbol(value) {
|
|
165
|
-
return typeof value == 'symbol' ||
|
|
166
|
-
(isObjectLike_1(value) && _baseGetTag(value) == symbolTag);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
var isSymbol_1 = isSymbol;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Checks if `value` is the
|
|
173
|
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
174
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
175
|
-
*
|
|
176
|
-
* @static
|
|
177
|
-
* @memberOf _
|
|
178
|
-
* @since 0.1.0
|
|
179
|
-
* @category Lang
|
|
180
|
-
* @param {*} value The value to check.
|
|
181
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
182
|
-
* @example
|
|
183
|
-
*
|
|
184
|
-
* _.isObject({});
|
|
185
|
-
* // => true
|
|
186
|
-
*
|
|
187
|
-
* _.isObject([1, 2, 3]);
|
|
188
|
-
* // => true
|
|
189
|
-
*
|
|
190
|
-
* _.isObject(_.noop);
|
|
191
|
-
* // => true
|
|
192
|
-
*
|
|
193
|
-
* _.isObject(null);
|
|
194
|
-
* // => false
|
|
195
|
-
*/
|
|
196
|
-
function isObject(value) {
|
|
197
|
-
var type = typeof value;
|
|
198
|
-
return value != null && (type == 'object' || type == 'function');
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
var isObject_1 = isObject;
|
|
202
|
-
|
|
203
|
-
export { _baseGetTag as _, isObject_1 as a, _root as b, _Symbol as c, isObjectLike_1 as d, _freeGlobal as e, isSymbol_1 as i };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-9bc404fc.js';
|
|
2
|
-
|
|
3
|
-
var relativeTime = createCommonjsModule(function (module, exports) {
|
|
4
|
-
!function(r,e){"object"=='object'&&"undefined"!='object'?module.exports=e():"function"==typeof undefined&&undefined.amd?undefined(e):(r="undefined"!=typeof globalThis?globalThis:r||self).dayjs_plugin_relativeTime=e();}(commonjsGlobal,(function(){"use strict";return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return "function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)};}}));
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
export { relativeTime as r };
|