@meetelise/chat 1.77.1 → 1.77.3
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/src/WebComponent/SchedulerV2/tour-scheduler-v2.d.ts +1 -1
- package/dist/src/utils.d.ts +1 -4
- package/package.json +3 -1
- package/public/dist/index.js +373 -364
- package/src/WebComponent/SchedulerV2/tour-scheduler-v2.ts +26 -10
- package/src/emailValidation.test.ts +16 -0
- package/src/tourSchedulerV2Booking.test.ts +6 -0
- package/src/utils.ts +14 -6
|
@@ -210,7 +210,7 @@ export declare class TourSchedulerV2 extends LitElement {
|
|
|
210
210
|
private renderAddStop;
|
|
211
211
|
private renderEditor;
|
|
212
212
|
private renderContactForm;
|
|
213
|
-
/** The consent text and the submit button, under the form or the itinerary. */
|
|
213
|
+
/** The consent text, any booking error and the submit button, under the form or the itinerary. */
|
|
214
214
|
private renderFooter;
|
|
215
215
|
private renderSchedule;
|
|
216
216
|
/** Today's reschedule prompt, with the server's reason. */
|
package/dist/src/utils.d.ts
CHANGED
|
@@ -5,10 +5,7 @@ export declare const onMobileChange: (callback: (isMobile: boolean) => void) =>
|
|
|
5
5
|
export declare const isTimestampExpired: (timestamp: Date, ttlHours: number) => boolean;
|
|
6
6
|
export declare const getCookieValue: (name: string) => string | null;
|
|
7
7
|
export declare const isValidPhoneNumber: (phoneNumber: string) => boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Something@domain.tld, where the top-level domain is two or more letters
|
|
10
|
-
* (any script) or an IDN's punycode form, so a typo such as "x@y.c" is caught.
|
|
11
|
-
*/
|
|
8
|
+
/** An email input can return an internationalized TLD in its ASCII (xn--) form. */
|
|
12
9
|
export declare const isValidEmail: (email: string) => boolean;
|
|
13
10
|
export declare const isContainingEmail: (message: string) => boolean;
|
|
14
11
|
export declare const sentenceTitleCase: (str: string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetelise/chat",
|
|
3
|
-
"version": "1.77.
|
|
3
|
+
"version": "1.77.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/MeetElise/chat-ui#readme",
|
|
@@ -55,12 +55,14 @@
|
|
|
55
55
|
"lit": "^2.2.4",
|
|
56
56
|
"lodash": "^4.17.21",
|
|
57
57
|
"pubnub": "^7.2.2",
|
|
58
|
+
"punycode": "2.3.1",
|
|
58
59
|
"talkjs": "^0.14.5",
|
|
59
60
|
"uuid": "^8.3.2"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"@esm-bundle/chai": "^4.3.4-fix.0",
|
|
63
64
|
"@types/lodash": "^4.14.178",
|
|
65
|
+
"@types/punycode": "2.1.4",
|
|
64
66
|
"@types/uuid": "^8.3.1",
|
|
65
67
|
"@typescript-eslint/eslint-plugin": "^4.5.0",
|
|
66
68
|
"@typescript-eslint/parser": "^4.5.0",
|