@nylas/react 1.1.0-canary.4 → 1.1.0-canary.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/{add-circle-icon_22.entry-f699d91e.js → add-circle-icon_22.entry-9f634efd.js} +90 -92
- package/dist/add-circle-icon_22.entry-e7ec6c34.cjs +1 -0
- package/dist/{archive-icon_7.entry-40b7ef3b.js → archive-icon_7.entry-24bac466.js} +21 -21
- package/dist/{archive-icon_7.entry-e8630de9.cjs → archive-icon_7.entry-6649ed76.cjs} +1 -1
- package/dist/{arrow-icon.entry-ffa53114.cjs → arrow-icon.entry-1fffd526.cjs} +1 -1
- package/dist/{arrow-icon.entry-58246303.js → arrow-icon.entry-82e59ce4.js} +4 -4
- package/dist/{bold-icon_3.entry-106a4e77.cjs → bold-icon_3.entry-5a01fecf.cjs} +1 -1
- package/dist/{bold-icon_3.entry-f5f1643d.js → bold-icon_3.entry-72e585da.js} +4 -4
- package/dist/{calendar-cancel-icon.entry-6ae0fd0f.cjs → calendar-cancel-icon.entry-0b52bdc9.cjs} +1 -1
- package/dist/{calendar-cancel-icon.entry-75b15b19.js → calendar-cancel-icon.entry-247b530c.js} +5 -5
- package/dist/{calendar-check-icon_2.entry-c57f83f3.cjs → calendar-check-icon_2.entry-d7bb76c7.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-57339318.js → calendar-check-icon_2.entry-dbb2df49.js} +7 -7
- package/dist/{calendar-icon.entry-492c2630.cjs → calendar-icon.entry-911773c4.cjs} +1 -1
- package/dist/{calendar-icon.entry-2069fec6.js → calendar-icon.entry-d64cb3d3.js} +2 -2
- package/dist/{chevron-icon_3.entry-878ff6df.cjs → chevron-icon_3.entry-b72f4cdb.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-83df50c3.js → chevron-icon_3.entry-db9f8217.js} +11 -11
- package/dist/close-icon.entry-9d141bb4.js +15 -0
- package/dist/close-icon.entry-da590fa2.cjs +1 -0
- package/dist/{constants-6ee60d6d-6c0540db.cjs → constants-6ee60d6d-09ee73d9.cjs} +1 -1
- package/dist/{constants-6ee60d6d-4cd16450.js → constants-6ee60d6d-d5928e79.js} +1 -1
- package/dist/document-refresh-icon.entry-5e8cc2f0.cjs +1 -0
- package/dist/{document-refresh-icon.entry-09870b14.js → document-refresh-icon.entry-ee9632d7.js} +5 -5
- package/dist/elements/index.d.ts +1 -0
- package/dist/{elements-dc5b338e-81a0319c.cjs → elements-dc5b338e-29ef67ec.cjs} +1 -1
- package/dist/{elements-dc5b338e-fb5dbfb5.js → elements-dc5b338e-e87f79b6.js} +1 -1
- package/dist/focus-visible-e8093c16-61d506d2.cjs +1 -0
- package/dist/{focus-visible-e8093c16-28fc08a0.js → focus-visible-e8093c16-e7357f74.js} +5 -3
- package/dist/forward-icon_6.entry-cac8473a.cjs +3 -0
- package/dist/{forward-icon_6.entry-8bb201eb.js → forward-icon_6.entry-f054ad9d.js} +65 -67
- package/dist/{globe-icon.entry-d515cbfa.js → globe-icon.entry-2fde6ac4.js} +4 -4
- package/dist/{globe-icon.entry-a690028c.cjs → globe-icon.entry-bc484551.cjs} +1 -1
- package/dist/google-logo-icon_4.entry-a9848399.cjs +1 -0
- package/dist/google-logo-icon_4.entry-dca87e45.js +349 -0
- package/dist/index-22f7e49c.cjs +37 -0
- package/dist/index-f9ba9aa8.js +3971 -0
- package/dist/{index.es-2578c6a5-71441142.js → index.es-f57e612a-1d17c676.js} +516 -512
- package/dist/{index.es-2578c6a5-098d48d0.cjs → index.es-f57e612a-95ca3e17.cjs} +5 -5
- package/dist/{info-icon_2.entry-300ef196.js → info-icon_2.entry-dbf3931a.js} +7 -7
- package/dist/{info-icon_2.entry-e286aaa5.cjs → info-icon_2.entry-e67844eb.cjs} +1 -1
- package/dist/loading-icon.entry-4566cba8.cjs +1 -0
- package/dist/loading-icon.entry-ae4c2d7e.js +15 -0
- package/dist/{mailbox-store-bb21512c-649a374c.js → mailbox-store-47fc8a1a-2365f20f.js} +16 -17
- package/dist/mailbox-store-47fc8a1a-cd3516a7.cjs +1 -0
- package/dist/nylas-additional-participants.entry-7c568149.cjs +1 -0
- package/dist/{nylas-additional-participants.entry-4afba192.js → nylas-additional-participants.entry-e8426256.js} +12 -14
- package/dist/nylas-booked-event-card_10.entry-6a664889.cjs +1 -0
- package/dist/{nylas-booked-event-card_10.entry-1ebbe0c0.js → nylas-booked-event-card_10.entry-ef767733.js} +8 -10
- package/dist/{nylas-form-card.entry-7bc23695.js → nylas-form-card.entry-d8506b1f.js} +4 -6
- package/dist/nylas-form-card.entry-e44169b6.cjs +1 -0
- package/dist/nylas-if-state.entry-044c49d2.cjs +1 -0
- package/dist/{nylas-if-state.entry-3829cb3d.js → nylas-if-state.entry-98a336df.js} +2 -4
- package/dist/nylas-list-folders.entry-509f9be4.cjs +1 -0
- package/dist/{nylas-list-folders.entry-7347e78d.js → nylas-list-folders.entry-55ce3403.js} +6 -8
- package/dist/{nylas-list-threads.entry-432a8d8c.js → nylas-list-threads.entry-1f57382a.js} +5 -7
- package/dist/nylas-list-threads.entry-c36e2cf3.cjs +1 -0
- package/dist/nylas-login.entry-66f542b8.cjs +1 -0
- package/dist/{nylas-login.entry-5311f0a7.js → nylas-login.entry-76358c2f.js} +3 -5
- package/dist/{nylas-mailbox-pagination.entry-20150fb2.js → nylas-mailbox-pagination.entry-5562257a.js} +7 -9
- package/dist/nylas-mailbox-pagination.entry-89b0dd99.cjs +1 -0
- package/dist/nylas-mailbox-toolbar-button.entry-573e0429.cjs +1 -0
- package/dist/{nylas-mailbox-toolbar-button.entry-eec426d5.js → nylas-mailbox-toolbar-button.entry-6b1b5b15.js} +16 -18
- package/dist/{nylas-mailbox.entry-b6c758b9.js → nylas-mailbox.entry-97c503f2.js} +7 -9
- package/dist/nylas-mailbox.entry-e21a2f50.cjs +1 -0
- package/dist/{nylas-provider.entry-271cafd2.js → nylas-provider.entry-07e1e26a.js} +10 -12
- package/dist/nylas-provider.entry-61899957.cjs +1 -0
- package/dist/nylas-scheduler-editor.entry-60fe38ce.cjs +7 -0
- package/dist/{nylas-scheduler-editor.entry-b51ad4b1.js → nylas-scheduler-editor.entry-e326c9de.js} +329 -246
- package/dist/{nylas-scheduling.entry-0a8d1da8.js → nylas-scheduling.entry-be0cc090.js} +3 -5
- package/dist/nylas-scheduling.entry-d88289db.cjs +1 -0
- package/dist/{nylas-threads-refresh.entry-72dd854e.js → nylas-threads-refresh.entry-8201f8dd.js} +11 -13
- package/dist/nylas-threads-refresh.entry-c71ee775.cjs +1 -0
- package/dist/nylas-threads-search.entry-912a90a4.cjs +1 -0
- package/dist/{nylas-threads-search.entry-4750a187.js → nylas-threads-search.entry-fc477e01.js} +18 -20
- package/dist/nylas-view-thread.entry-af418ddb.cjs +1 -0
- package/dist/{nylas-view-thread.entry-c6adce43.js → nylas-view-thread.entry-d2953ea8.js} +7 -9
- package/dist/{people-icon.entry-342be0c8.js → people-icon.entry-4b598fde.js} +7 -7
- package/dist/{people-icon.entry-35252ca9.cjs → people-icon.entry-73cfa6f5.cjs} +1 -1
- package/dist/play-icon_2.entry-1a487abb.cjs +1 -0
- package/dist/{play-icon_2.entry-0787352c.js → play-icon_2.entry-d1c2f823.js} +5 -5
- package/dist/react.cjs +1 -1
- package/dist/react.js +68 -67
- package/dist/{refresh-icon.entry-ddbc5446.cjs → refresh-icon.entry-42d543d0.cjs} +1 -1
- package/dist/{refresh-icon.entry-8fbabfe7.js → refresh-icon.entry-6aedfce6.js} +4 -4
- package/dist/register-component-cf5c8420-d3fb6bf9.cjs +1 -0
- package/dist/{register-component-dc659dc3-e43e8fae.js → register-component-cf5c8420-dc1bc0a4.js} +37 -33
- package/dist/scheduler-config-store-6222c0ed-000f1a4f.js +18 -0
- package/dist/scheduler-config-store-6222c0ed-758621fb.cjs +1 -0
- package/dist/{scheduler-store-72116723-e5f87122.js → scheduler-store-39d37291-4e8e9ff9.js} +5 -6
- package/dist/scheduler-store-39d37291-b66c052c.cjs +1 -0
- package/dist/{time-period-selector.entry-333942a8.js → time-period-selector.entry-f1e27a00.js} +6 -8
- package/dist/time-period-selector.entry-fb3d0178.cjs +1 -0
- package/dist/{translate-icon.entry-cb19864c.cjs → translate-icon.entry-0d44b6cb.cjs} +1 -1
- package/dist/{translate-icon.entry-87a62108.js → translate-icon.entry-3db947f5.js} +5 -5
- package/dist/{warning-icon.entry-50755d91.cjs → warning-icon.entry-a20657e4.cjs} +1 -1
- package/dist/{warning-icon.entry-7a72e24a.js → warning-icon.entry-a8ea0fe0.js} +5 -5
- package/package.json +2 -2
- package/dist/_commonjsHelpers-57e89916-4a3ae7d8.cjs +0 -1
- package/dist/_commonjsHelpers-57e89916-af061c86.js +0 -19
- package/dist/add-circle-icon_22.entry-077661c3.cjs +0 -1
- package/dist/close-icon.entry-480c199d.js +0 -15
- package/dist/close-icon.entry-8015ca05.cjs +0 -1
- package/dist/document-refresh-icon.entry-06f7972b.cjs +0 -1
- package/dist/focus-visible-e8093c16-f380b705.cjs +0 -1
- package/dist/forward-icon_6.entry-eeecf2a2.cjs +0 -3
- package/dist/google-logo-icon_3.entry-2164cec1.js +0 -258
- package/dist/google-logo-icon_3.entry-b2b85284.cjs +0 -1
- package/dist/index-2b8437d6.cjs +0 -30
- package/dist/index-db0c5017.js +0 -1824
- package/dist/loading-icon.entry-6d8adaa4.js +0 -15
- package/dist/loading-icon.entry-dc40e97d.cjs +0 -1
- package/dist/mailbox-store-bb21512c-fc3c8c03.cjs +0 -1
- package/dist/nylas-additional-participants.entry-db05e510.cjs +0 -1
- package/dist/nylas-booked-event-card_10.entry-6b6fdfae.cjs +0 -1
- package/dist/nylas-form-card.entry-70b20571.cjs +0 -1
- package/dist/nylas-if-state.entry-ebeffe22.cjs +0 -1
- package/dist/nylas-list-folders.entry-191688f2.cjs +0 -1
- package/dist/nylas-list-threads.entry-44658578.cjs +0 -1
- package/dist/nylas-login.entry-db17a3d2.cjs +0 -1
- package/dist/nylas-mailbox-pagination.entry-9d3f5baa.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-6c0f7299.cjs +0 -1
- package/dist/nylas-mailbox.entry-d41401e0.cjs +0 -1
- package/dist/nylas-provider.entry-6173b721.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-0c75d39e.cjs +0 -7
- package/dist/nylas-scheduling.entry-081c8825.cjs +0 -1
- package/dist/nylas-threads-refresh.entry-c3509e6a.cjs +0 -1
- package/dist/nylas-threads-search.entry-16a59ef6.cjs +0 -1
- package/dist/nylas-view-thread.entry-27df3349.cjs +0 -1
- package/dist/play-icon_2.entry-f83fa92a.cjs +0 -1
- package/dist/register-component-dc659dc3-fb85ee68.cjs +0 -1
- package/dist/scheduler-config-store-51ee4f42-66f8c2ac.js +0 -14
- package/dist/scheduler-config-store-51ee4f42-d7d9c25d.cjs +0 -1
- package/dist/scheduler-store-72116723-ce4c7a69.cjs +0 -1
- package/dist/time-period-selector.entry-78d5b3c2.cjs +0 -1
- package/dist/utils-c00bdc3c-89ab163d.js +0 -2111
- package/dist/utils-c00bdc3c-94b9c3b6.cjs +0 -8
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { r as y, h as a, c as w, H as k, g as x } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { T as xe, E as _e } from "./constants-6ee60d6d-4cd16450.js";
|
|
5
|
-
import { c as Ve } from "./_commonjsHelpers-57e89916-af061c86.js";
|
|
1
|
+
import { r as y, h as a, c as w, d, H as k, g as x, z as j, A as H, B as ve, i as We, C as V, D as ae, E as ie, G as ke, I as we, J as W, K as Ve } from "./index-f9ba9aa8.js";
|
|
2
|
+
import { R as _ } from "./register-component-cf5c8420-dc1bc0a4.js";
|
|
3
|
+
import { T as xe, E as _e } from "./constants-6ee60d6d-d5928e79.js";
|
|
6
4
|
import "react";
|
|
7
5
|
import "react-dom";
|
|
8
6
|
const Ue = ".sc-add-circle-icon-h{display:flex}", Ze = Ue, Ye = class {
|
|
@@ -10,7 +8,7 @@ const Ue = ".sc-add-circle-icon-h{display:flex}", Ze = Ue, Ye = class {
|
|
|
10
8
|
y(this, e), this.width = "24", this.height = "25";
|
|
11
9
|
}
|
|
12
10
|
render() {
|
|
13
|
-
return a("svg", { key: "
|
|
11
|
+
return a("svg", { key: "cf16ecaad5754ff1367162ab390027b36f7ede3e", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "8a93ab08ac48dd371bc2526a42ce86f15595128a", d: "M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z", fill: "currentColor" }));
|
|
14
12
|
}
|
|
15
13
|
};
|
|
16
14
|
Ye.style = Ze;
|
|
@@ -20,7 +18,7 @@ const Ke = "button.sc-button-component{height:48px;border:none;border-radius:var
|
|
|
20
18
|
}
|
|
21
19
|
render() {
|
|
22
20
|
const e = `button-${this.variant}` + (this.disabled ? " disabled" : "");
|
|
23
|
-
return a("button", { key: "
|
|
21
|
+
return a("button", { key: "fc37072bb6662cb8d14d597672b2944aa54bc813", class: e, disabled: this.disabled, type: "type", onClick: this.clickHandler, onMouseOver: this.mouseOverHandler, onMouseOut: this.mouseOutHandler, onFocus: this.focusHandler, onBlur: this.blurHandler }, a("slot", { key: "f951bc5c0b29be66946a743713ca5dd089b64c8c" }));
|
|
24
22
|
}
|
|
25
23
|
};
|
|
26
24
|
Je.style = qe;
|
|
@@ -29,7 +27,7 @@ const Ge = ".sc-calendar-info-icon-h{display:flex}", Xe = Ge, Qe = class {
|
|
|
29
27
|
y(this, e), this.width = "20", this.height = "20";
|
|
30
28
|
}
|
|
31
29
|
render() {
|
|
32
|
-
return a("svg", { key: "
|
|
30
|
+
return a("svg", { key: "060bde1be8b6a697f073c73caa121b3b79f989a1", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "5ddd8695565e3efee4a76a2757cf7cafa79780b0", d: "M12 0C13.3807 0 14.5 1.11929 14.5 2.5V6.59971C14.1832 6.43777 13.8486 6.30564 13.5 6.20703V4H1.5V11.5C1.5 12.3284 2.17157 13 3 13H6.70703C6.80564 13.3486 6.93777 13.6832 7.09971 14H3C1.61929 14 0.5 12.8807 0.5 11.5V2.5C0.5 1.11929 1.61929 0 3 0H12ZM12 1H3C2.17157 1 1.5 1.67157 1.5 2.5V3H13.5V2.5C13.5 1.67157 12.8284 1 12 1ZM11.375 9.5C11.375 9.15482 11.6548 8.875 12 8.875C12.3452 8.875 12.625 9.15482 12.625 9.5C12.625 9.84518 12.3452 10.125 12 10.125C11.6548 10.125 11.375 9.84518 11.375 9.5ZM12.5 13.5C12.5 13.7761 12.2761 14 12 14C11.7239 14 11.5 13.7761 11.5 13.5V11.5C11.5 11.2239 11.7239 11 12 11C12.2761 11 12.5 11.2239 12.5 11.5V13.5ZM7.5 11.5C7.5 9.01472 9.51472 7 12 7C14.4853 7 16.5 9.01472 16.5 11.5C16.5 13.9853 14.4853 16 12 16C9.51472 16 7.5 13.9853 7.5 11.5ZM8.5 11.5C8.5 13.433 10.067 15 12 15C13.933 15 15.5 13.433 15.5 11.5C15.5 9.567 13.933 8 12 8C10.067 8 8.5 9.567 8.5 11.5Z", fill: "currentColor" }));
|
|
33
31
|
}
|
|
34
32
|
};
|
|
35
33
|
Qe.style = Xe;
|
|
@@ -38,7 +36,7 @@ const et = ".sc-calendar-patterns-icon-h{display:flex}", tt = et, nt = class {
|
|
|
38
36
|
y(this, e), this.width = "20", this.height = "20";
|
|
39
37
|
}
|
|
40
38
|
render() {
|
|
41
|
-
return a("svg", { key: "
|
|
39
|
+
return a("svg", { key: "d01849f00df7eb5d24f7da7a76c933fdcdfd13b1", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "d1fdc79ea4e67493ccd8058530e12d127d174e66", d: "M3.25 0H11.75C13.2688 0 14.5 1.23122 14.5 2.75V11.25C14.5 12.7688 13.2688 14 11.75 14H3.25C1.73122 14 0.5 12.7688 0.5 11.25V2.75C0.5 1.23122 1.73122 0 3.25 0ZM2 2.75V4H13V2.75C13 2.05964 12.4404 1.5 11.75 1.5H3.25C2.55964 1.5 2 2.05964 2 2.75ZM12.2071 5L8.20711 9H10.7929L13 6.79289V5H12.2071ZM10.7929 5H8.20711L4.20711 9H6.79289L10.7929 5ZM2.79289 9L6.79289 5H4.20711L2 7.20711V9H2.79289ZM2 5.79289L2.79289 5H2V5.79289ZM12.2071 9H13V8.20711L12.2071 9Z", fill: "currentColor" }));
|
|
42
40
|
}
|
|
43
41
|
};
|
|
44
42
|
nt.style = tt;
|
|
@@ -47,7 +45,7 @@ const at = ".sc-flow-icon-h{display:flex}", it = at, st = class {
|
|
|
47
45
|
y(this, e), this.width = "16", this.height = "12";
|
|
48
46
|
}
|
|
49
47
|
render() {
|
|
50
|
-
return a("svg", { key: "
|
|
48
|
+
return a("svg", { key: "ce2f820ce9aacb96c4464a56676f1f136980caa2", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "af4cba794e87457fd175d21a731c5088cd6a1819", d: "M13 1.66211C11.8954 1.66211 11 2.55754 11 3.66211C11 4.76668 11.8954 5.66211 13 5.66211C14.1046 5.66211 15 4.76668 15 3.66211C15 2.55754 14.1046 1.66211 13 1.66211ZM10.0407 3.16678C10.2768 1.74563 11.5119 0.662109 13 0.662109C14.6569 0.662109 16 2.00526 16 3.66211C16 5.31896 14.6569 6.66211 13 6.66211C11.5162 6.66211 10.2839 5.58482 10.0428 4.16971C9.37629 4.23688 8.82682 4.7426 8.71466 5.41551L8.27173 8.07311C8.07929 9.22776 7.11428 10.087 5.9593 10.1574C5.72319 11.5786 4.48813 12.6621 3 12.6621C1.34315 12.6621 0 11.319 0 9.66211C0 8.00526 1.34315 6.66211 3 6.66211C4.48384 6.66211 5.71607 7.73939 5.95724 9.15451C6.62371 9.08734 7.17318 8.58162 7.28534 7.90871L7.72827 5.25111C7.92071 4.09646 8.88571 3.23718 10.0407 3.16678ZM3 7.66211C1.89543 7.66211 1 8.55754 1 9.66211C1 10.7667 1.89543 11.6621 3 11.6621C4.10457 11.6621 5 10.7667 5 9.66211C5 8.55754 4.10457 7.66211 3 7.66211Z", fill: "currentColor" }));
|
|
51
49
|
}
|
|
52
50
|
};
|
|
53
51
|
st.style = it;
|
|
@@ -56,20 +54,20 @@ const ot = ".sc-location-icon-h{display:flex}", lt = ot, rt = class {
|
|
|
56
54
|
y(this, e), this.width = "16", this.height = "18";
|
|
57
55
|
}
|
|
58
56
|
render() {
|
|
59
|
-
return a("svg", { key: "
|
|
57
|
+
return a("svg", { key: "6854dc205118a9abcd1dcacd099a372ffaa2b5b5", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "c659d22a667fce86b5c06818870b6f90fc569fa0", d: "M10 7.66211C10 9.31896 8.65685 10.6621 7 10.6621C5.34315 10.6621 4 9.31896 4 7.66211C4 6.00526 5.34315 4.66211 7 4.66211C8.65685 4.66211 10 6.00526 10 7.66211ZM9 7.66211C9 6.55754 8.10457 5.66211 7 5.66211C5.89543 5.66211 5 6.55754 5 7.66211C5 8.76668 5.89543 9.66211 7 9.66211C8.10457 9.66211 9 8.76668 9 7.66211ZM11.9497 12.6171C14.6834 9.88221 14.6834 5.44812 11.9497 2.71326C9.21608 -0.0216067 4.78392 -0.0216067 2.05025 2.71326C-0.683418 5.44812 -0.683418 9.88221 2.05025 12.6171L3.57128 14.1159L5.61408 16.101L5.74691 16.2188C6.52168 16.8468 7.65623 16.8076 8.38611 16.1012L10.8223 13.7312L11.9497 12.6171ZM2.75499 3.4183C5.09944 1.07282 8.90055 1.07282 11.245 3.4183C13.5294 5.70364 13.5879 9.3725 11.4207 11.7288L11.245 11.912L9.92371 13.216L7.69315 15.3846L7.60016 15.4642C7.24594 15.732 6.7543 15.732 6.40012 15.4642L6.30713 15.3845L3.3263 12.4791L2.75499 11.912L2.57927 11.7288C0.412077 9.3725 0.47065 5.70364 2.75499 3.4183Z", fill: "currentColor" }));
|
|
60
58
|
}
|
|
61
59
|
};
|
|
62
60
|
rt.style = lt;
|
|
63
|
-
const dt = ".sc-location-off-icon-h{display:flex}", ct = dt,
|
|
61
|
+
const dt = ".sc-location-off-icon-h{display:flex}", ct = dt, pt = class {
|
|
64
62
|
constructor(e) {
|
|
65
63
|
y(this, e), this.width = "16", this.height = "18";
|
|
66
64
|
}
|
|
67
65
|
render() {
|
|
68
|
-
return a("svg", { key: "
|
|
66
|
+
return a("svg", { key: "d0202239d621e2049349e21b2b7f5d824f153384", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "fb6dee10dd728b79127775be0a00e20ac54d26a1", d: "M0.146447 0.808556C0.341709 0.613294 0.658291 0.613294 0.853553 0.808556L15.8536 15.8086C16.0488 16.0038 16.0488 16.3204 15.8536 16.5157C15.6583 16.7109 15.3417 16.7109 15.1464 16.5157L12.0938 13.463L11.8223 13.7312L9.38611 16.1012C8.65623 16.8076 7.52168 16.8468 6.74691 16.2188L6.61408 16.101L4.57128 14.1159L3.05025 12.6171C0.607421 10.1732 0.347525 6.37239 2.27056 3.63976L0.146447 1.51566C-0.0488155 1.3204 -0.0488155 1.00382 0.146447 0.808556ZM9.07768 10.4469C8.74346 10.576 8.38024 10.6468 8.0005 10.6468C6.34839 10.6468 5.00909 9.30689 5.00909 7.65406C5.00909 7.27461 5.07967 6.91166 5.20843 6.57763L2.98793 4.35713C1.49206 6.62038 1.68917 9.67377 3.57927 11.7288L3.75499 11.912L4.3263 12.4791L7.30713 15.3845L7.40012 15.4642C7.7543 15.732 8.24594 15.732 8.60016 15.4642L8.69315 15.3846L10.9237 13.216L11.3883 12.7575L9.07768 10.4469ZM9.85409 8.39486L10.5983 9.13904C10.8487 8.70143 10.9919 8.19447 10.9919 7.65406C10.9919 6.00122 9.65261 4.66134 8.0005 4.66134C7.45986 4.66134 6.95271 4.80482 6.51504 5.05581L7.25921 5.79998C7.48839 5.70819 7.73855 5.6577 8.0005 5.6577C9.10258 5.6577 9.99599 6.5515 9.99599 7.65406C9.99599 7.91581 9.94564 8.16581 9.85409 8.39486ZM4.35291 2.89368C6.70671 1.08827 10.0908 1.26314 12.245 3.4183C14.3986 5.57283 14.5739 8.95702 12.771 11.3118L13.4812 12.022C15.6702 9.27273 15.493 5.25762 12.9497 2.71326C10.4058 0.168159 6.39081 -0.00843871 3.64269 2.18347L4.35291 2.89368Z", fill: "currentColor" }));
|
|
69
67
|
}
|
|
70
68
|
};
|
|
71
|
-
|
|
72
|
-
const
|
|
69
|
+
pt.style = ct;
|
|
70
|
+
const ft = ':host{display:block;width:inherit;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.dropdown{display:inline-block;width:100%;position:relative}.dropdown .dropdown-label{display:flex;align-items:center;gap:0.25rem;color:var(--nylas-base-800)}.dropbtn{width:inherit;height:48px;color:black;padding:0.5rem;font-size:1rem;cursor:pointer;display:flex;gap:0.5rem;justify-content:space-between;align-items:center;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{border:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;border:1px solid #ddd;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content ul li label{display:flex;align-items:center;gap:0.5rem}.dropdown-content ul li label input{margin:0}.selected-options{display:flex;flex-wrap:wrap;gap:0.5rem;padding:0.5rem 0;margin-top:0.25rem;background:var(--nylas-base-0)}.selected-options .selected-option{display:flex;align-items:center;gap:0.5rem;padding:4px 8px;border-radius:var(--nylas-border-radius-2x);background:var(--nylas-base-100);color:var(--nylas-base-800);font-size:16px;font-weight:500;line-height:1.5rem;letter-spacing:0.5px}.selected-options .selected-option button{background:transparent;border:none;cursor:pointer;padding:0}.selected-options .selected-option button:hover{color:var(--nylas-primary)}', bt = ft, ut = class {
|
|
73
71
|
constructor(e) {
|
|
74
72
|
y(this, e), this.selectedOptionsChanged = w(this, "selectedOptionsChanged", 7), this.name = void 0, this.label = void 0, this.options = [], this.availableOptions = this.options, this.isOpen = !1, this.ariaActivedescendant = "", this.shouldFocusFirstOption = !1;
|
|
75
73
|
}
|
|
@@ -147,7 +145,7 @@ const pt = ':host{display:block;width:inherit;--nylas-primary:#2563eb;--nylas-er
|
|
|
147
145
|
}
|
|
148
146
|
render() {
|
|
149
147
|
var e, t;
|
|
150
|
-
return a(k, { key: "
|
|
148
|
+
return a(k, { key: "7502de7e6d986d6e2536849703ee28c79b5c1195" }, a("div", { key: "1ddfc9626f7864703fee5e0c3c9bfd09036a17ce", class: "dropdown", part: "msd_dropdown" }, a("label", { key: "8da2bb175a29fe6680fadfd926e3d05240635391", class: "dropdown-label" }, this.label, a("slot", { key: "e1eccd82254cd095768c3e5ae36cff3134ca747f", name: "label-icon", "aria-hidden": "true" })), a("button", { key: "6d56072472b3e51f08e7980ddcff9650fc35c13a", part: "msd_dropdown-button", class: { dropbtn: !0, open: this.isOpen }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (n) => this.handleSelectButtonKeyDown(n) }, a("slot", { key: "11dee24f8003354b0316e19833e5001c913f4a9e", name: "select-icon", "aria-hidden": "true" }), a("span", { key: "65c1709b1be19a34be367455062a4719598f51a2", class: "selected-option", part: "msd_dropdown-button-selected-label" }, this.getSelectedOptions().length > 1 ? `Multiple ${this.name}s selected` : ((e = this.availableOptions.filter((n) => n.selected)[0]) == null ? void 0 : e.label) ?? ((t = this.availableOptions[0]) == null ? void 0 : t.label)), a("span", { key: "81d7d8b18144b4276f6c19682c8fd78072a8074b", class: this.isOpen ? "open" : "closed", "aria-hidden": "true" }, a("chevron-icon", { key: "36afd55e13491d5af7af22be2aca5a1dff6c2315", width: "16", height: "16" }))), this.isOpen ? null : a("div", { class: "selected-options" }, this.getSelectedOptions().map((n) => a("span", { class: "selected-option" }, n.label, a("button", { key: n.label, onClick: () => this.selectOption(n) }, a("close-icon", null))))), this.isOpen ? a("div", { class: "dropdown-content", part: "msd_dropdown-content" }, a("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-multiselectable": !0, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (n) => this.handleListboxKeydown(n) }, this.availableOptions.map((n) => this.renderOption(n)))) : null));
|
|
151
149
|
}
|
|
152
150
|
get el() {
|
|
153
151
|
return x(this);
|
|
@@ -297,7 +295,7 @@ const Ce = class {
|
|
|
297
295
|
n.days.forEach((s) => {
|
|
298
296
|
const o = this.getDayKey(s), i = H(n.start), l = H(n.end), r = { start: i, end: l };
|
|
299
297
|
let b = !1;
|
|
300
|
-
t[o] && (b = t[o].some((
|
|
298
|
+
t[o] && (b = t[o].some((p) => p.start === r.start && p.end === r.end)), b || (t[o] ? t[o].push(r) : t[o] = [r]);
|
|
301
299
|
});
|
|
302
300
|
}), e.length === 0 && (this.timezone = e[0].timezone), this.timezone = e[0].timezone, this.schedule = t;
|
|
303
301
|
}
|
|
@@ -309,12 +307,12 @@ const Ce = class {
|
|
|
309
307
|
let s = /* @__PURE__ */ new Map();
|
|
310
308
|
n.forEach((i, l) => {
|
|
311
309
|
e[i] && e[i].forEach((r) => {
|
|
312
|
-
const b = ve(r.start),
|
|
310
|
+
const b = ve(r.start), p = ve(r.end), h = `${b}-${p}`;
|
|
313
311
|
if (!s.has(h))
|
|
314
|
-
s.set(h, { days: [l], start: b, end:
|
|
312
|
+
s.set(h, { days: [l], start: b, end: p });
|
|
315
313
|
else {
|
|
316
|
-
let
|
|
317
|
-
|
|
314
|
+
let f = s.get(h);
|
|
315
|
+
f && (f.days.push(l), s.set(h, f));
|
|
318
316
|
}
|
|
319
317
|
});
|
|
320
318
|
});
|
|
@@ -338,9 +336,9 @@ const Ce = class {
|
|
|
338
336
|
return a("div", { class: "availability-day" }, a("div", { class: "day", part: "nap__day" }, a("input", { type: "checkbox", name: n, id: n, checked: s.length > 0, onClick: () => {
|
|
339
337
|
s.length > 0 ? this.schedule[n] = [] : this.schedule[n] = [{ start: "09:00am", end: "05:00pm" }], this.schedule = { ...this.schedule };
|
|
340
338
|
} }), a("label", { htmlFor: n, "aria-label": "Select day" }, n)), a("div", { class: "time-ranges", part: "nap__time-ranges" }, s.length ? null : a("span", { class: "unavailable" }, "Unavailable"), s.length > 0 && s.map((o, i) => {
|
|
341
|
-
var b,
|
|
339
|
+
var b, p;
|
|
342
340
|
const l = `${t}:${i}_start`, r = `${t}:${i}_end`;
|
|
343
|
-
return a("div", { class: "time-range", part: "nap__time-range" }, a("div", { class: "pickers" }, a("nylas-time-window-picker", { id: l, hasError: (b = this.overlapDays[n]) == null ? void 0 : b.includes(i), time: o.start, name: l, key: l, exportparts: "time-picker: nap__time-picker-container, time-input: nap__time-picker-input, times: nap__time-picker-times", setTime: (h,
|
|
341
|
+
return a("div", { class: "time-range", part: "nap__time-range" }, a("div", { class: "pickers" }, a("nylas-time-window-picker", { id: l, hasError: (b = this.overlapDays[n]) == null ? void 0 : b.includes(i), time: o.start, name: l, key: l, exportparts: "time-picker: nap__time-picker-container, time-input: nap__time-picker-input, times: nap__time-picker-times", setTime: (h, f) => this.setTime(l, h, f), setFormError: (h, f) => this.setFormError(l, h, f) }), a("span", null, " - "), a("nylas-time-window-picker", { id: r, hasError: (p = this.overlapDays[n]) == null ? void 0 : p.includes(i), time: o.end, name: r, key: r, minimumStartTime: o.start, exportparts: "time-picker: nap__time-picker-container, time-input: nap__time-picker-input, times: nap__time-picker-times", setTime: (h, f) => this.setTime(r, h, f), setFormError: (h, f) => this.setFormError(r, h, f) })), a("button", { onClick: () => this.removeTimeRange(n, i) }, a("close-icon", null)));
|
|
344
342
|
}), a("p", { class: "error" }, this.overlapDays[n] ? "Overlapping time ranges" : "")), a("div", null, s.length > 0 ? a("button", { onClick: () => this.addTimeRange(n), part: "nap__add-time-range" }, a("add-circle-icon", null)) : null));
|
|
345
343
|
})))));
|
|
346
344
|
}
|
|
@@ -528,20 +526,20 @@ const Oe = class {
|
|
|
528
526
|
};
|
|
529
527
|
}, o = () => {
|
|
530
528
|
const { fullSlots: l, partialFillHeight: r } = s(this.selectedBeforeBufferTime);
|
|
531
|
-
return Array.from({ length: 4 }, (b,
|
|
532
|
-
const h = this.selectedBeforeBufferTime > 0 &&
|
|
529
|
+
return Array.from({ length: 4 }, (b, p) => {
|
|
530
|
+
const h = this.selectedBeforeBufferTime > 0 && p > 4 - l - 1, f = this.selectedBeforeBufferTime > 0 && p === 4 - l - 1 && r > 0;
|
|
533
531
|
let v = {};
|
|
534
|
-
return h && !
|
|
532
|
+
return h && !f ? v.backgroundColor = "var(--nylas-base-100)" : f && (v.background = `linear-gradient(to top, var(--nylas-base-100) ${r}px, transparent 0)`), a("div", { key: p, class: `slot ${h ? "active" : ""}`, style: {
|
|
535
533
|
height: "20px",
|
|
536
534
|
...v
|
|
537
535
|
} });
|
|
538
536
|
});
|
|
539
537
|
}, i = () => {
|
|
540
538
|
const { fullSlots: l, partialFillHeight: r } = s(this.selectedAfterBufferTime);
|
|
541
|
-
return Array.from({ length: 4 }, (b,
|
|
542
|
-
const h = this.selectedAfterBufferTime > 0 &&
|
|
539
|
+
return Array.from({ length: 4 }, (b, p) => {
|
|
540
|
+
const h = this.selectedAfterBufferTime > 0 && p < l, f = p === l && r > 0;
|
|
543
541
|
let v = {};
|
|
544
|
-
return h && !
|
|
542
|
+
return h && !f ? v.backgroundColor = "var(--nylas-base-100)" : f && (v.background = `linear-gradient(to bottom, var(--nylas-base-100) ${r}px, transparent 0)`), a("div", { key: p, class: `slot ${h ? "active" : ""}`, style: {
|
|
545
543
|
height: "20px",
|
|
546
544
|
...v
|
|
547
545
|
} });
|
|
@@ -677,7 +675,7 @@ Ot([
|
|
|
677
675
|
], De.prototype, "render", null);
|
|
678
676
|
De.style = Tt;
|
|
679
677
|
const Dt = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:inherit}.nylas-custom-booking-flow{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-custom-booking-flow .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-custom-booking-flow .header h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-custom-booking-flow .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-custom-booking-flow .nylas-custom-booking-flow__loading{padding-bottom:1rem}.nylas-custom-booking-flow .nylas-custom-booking-flow__loading .label{display:flex;align-items:center;gap:0.5rem;margin:1rem 1rem 0;color:var(--nylas-base-800)}.nylas-custom-booking-flow .nylas-custom-booking-flow__loading .loading-button{margin:0 1rem;padding:0;width:inherit;height:48px;color:black;font-size:1rem;cursor:not-allowed;display:flex;gap:0.5rem;justify-content:space-between;align-items:center;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-custom-booking-flow .nylas-custom-booking-flow__loading .loading-button span{padding:0 1rem}.nylas-custom-booking-flow .nylas-custom-booking-flow__dropdown{padding:1rem}.nylas-custom-booking-flow .nylas-custom-booking-flow__dropdown span.label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800)}.nylas-custom-booking-flow .nylas-custom-booking-flow__dropdown span.label tooltip-component{display:flex}.nylas-custom-booking-flow .nylas-custom-booking-flow__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-custom-booking-flow .nylas-custom-booking-flow__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-custom-booking-flow .nylas-custom-booking-flow__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-custom-booking-flow .nylas-custom-booking-flow__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', It = Dt;
|
|
680
|
-
var
|
|
678
|
+
var Et = function(e, t, n, s) {
|
|
681
679
|
var o = arguments.length, i = o < 3 ? t : s === null ? s = Object.getOwnPropertyDescriptor(t, n) : s, l;
|
|
682
680
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
683
681
|
i = Reflect.decorate(e, t, n, s);
|
|
@@ -739,7 +737,7 @@ const Ie = class {
|
|
|
739
737
|
value: "pre-booking"
|
|
740
738
|
}
|
|
741
739
|
];
|
|
742
|
-
return a(k, { key: "
|
|
740
|
+
return a(k, { key: "a4f8162f7964925b34c256d88fa8cd3f0e684e7e" }, a("div", { key: "3b5c6077ad57d232f9c25c17b117b4ad31cf3cfa", class: "nylas-custom-booking-flow", part: "ncbf" }, a("div", { key: "4ecafa38be03812b2b6188d4858018d5cd94be8e", class: "header", part: "ncbf__header" }, a("h3", { key: "d0eccafc6133ff24de9fbab11737e08862aad835" }, "Customize booking flow"), a("p", { key: "0e75183824a878b6df83f92467aba58072d2ac6f" }, "Customize how new bookings are handled when a booking is completed.")), e.length > 0 ? a("div", { class: "nylas-custom-booking-flow__dropdown" }, a("span", { class: "label" }, "After a booking is confirmed", a("tooltip-component", null, a("info-icon", { slot: "tooltip-icon" }), a("span", { slot: "tooltip-content" }, "Choose how you’d like to handle new bookings. If you choose to manually confirm/decline bookings, you will be able to review and accept or decline each booking request."))), a("select-dropdown", { name: "booking-type", options: e, withSearch: !1, exportparts: "sd_dropdown: ncbf__dropdown, sd_dropdown-button: ncbf__dropdown-button, sd_dropdown-content: ncbf__dropdown-content", defaultSelectedOption: e.find((t) => t.value == this.bookingType) ?? e[0] })) : a("div", { class: "nylas-custom-booking-flow__loading" }, a("span", { class: "label" }, "Select a calendar to book meetings on ", a("info-icon", null)), a("div", { class: "loading-button" }, a("span", null, "Loading...")))));
|
|
743
741
|
}
|
|
744
742
|
static get formAssociated() {
|
|
745
743
|
return !0;
|
|
@@ -753,7 +751,7 @@ const Ie = class {
|
|
|
753
751
|
};
|
|
754
752
|
}
|
|
755
753
|
};
|
|
756
|
-
|
|
754
|
+
Et([
|
|
757
755
|
_({
|
|
758
756
|
name: "nylas-custom-booking-flow",
|
|
759
757
|
eventToProps: {
|
|
@@ -769,7 +767,7 @@ St([
|
|
|
769
767
|
de("design:returntype", void 0)
|
|
770
768
|
], Ie.prototype, "render", null);
|
|
771
769
|
Ie.style = It;
|
|
772
|
-
const
|
|
770
|
+
const St = ':host{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-description{display:flex;flex-direction:column;gap:4px}.nylas-event-description label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-description label span.label-icon{margin-left:4px}.nylas-event-description label span.label-icon tooltip-component{display:flex}.nylas-event-description textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-event-description textarea::-webkit-resizer{display:none}', $t = St;
|
|
773
771
|
var Lt = function(e, t, n, s) {
|
|
774
772
|
var o = arguments.length, i = o < 3 ? t : s === null ? s = Object.getOwnPropertyDescriptor(t, n) : s, l;
|
|
775
773
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
@@ -782,7 +780,7 @@ var Lt = function(e, t, n, s) {
|
|
|
782
780
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
783
781
|
return Reflect.metadata(e, t);
|
|
784
782
|
};
|
|
785
|
-
const
|
|
783
|
+
const Ee = class {
|
|
786
784
|
constructor(e) {
|
|
787
785
|
y(this, e), this.valueChanged = w(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.eventDescription = void 0, this.description = this.eventDescription ?? "", this.name = "description";
|
|
788
786
|
}
|
|
@@ -828,8 +826,8 @@ Lt([
|
|
|
828
826
|
ce("design:type", Function),
|
|
829
827
|
ce("design:paramtypes", []),
|
|
830
828
|
ce("design:returntype", void 0)
|
|
831
|
-
],
|
|
832
|
-
|
|
829
|
+
], Ee.prototype, "render", null);
|
|
830
|
+
Ee.style = $t;
|
|
833
831
|
const At = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-duration{display:flex;flex-direction:column;gap:4px}.nylas-event-duration label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-duration label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-duration label span.label-icon{margin-left:4px}.nylas-event-duration label span.label-icon tooltip-component{display:flex}.nylas-event-duration__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-duration__wrapper input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:48px}.nylas-event-duration__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:12px 16px}.nylas-event-duration__wrapper select-dropdown::part(sd_dropdown-button-selected-label){font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', Ft = At;
|
|
834
832
|
var Ht = function(e, t, n, s) {
|
|
835
833
|
var o = arguments.length, i = o < 3 ? t : s === null ? s = Object.getOwnPropertyDescriptor(t, n) : s, l;
|
|
@@ -839,11 +837,11 @@ var Ht = function(e, t, n, s) {
|
|
|
839
837
|
for (var r = e.length - 1; r >= 0; r--)
|
|
840
838
|
(l = e[r]) && (i = (o < 3 ? l(i) : o > 3 ? l(t, n, i) : l(t, n)) || i);
|
|
841
839
|
return o > 3 && i && Object.defineProperty(t, n, i), i;
|
|
842
|
-
},
|
|
840
|
+
}, pe = function(e, t) {
|
|
843
841
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
844
842
|
return Reflect.metadata(e, t);
|
|
845
843
|
};
|
|
846
|
-
const
|
|
844
|
+
const Se = class {
|
|
847
845
|
constructor(e) {
|
|
848
846
|
y(this, e), this.valueChanged = w(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "duration", this.eventDurationMinutes = void 0, this.duration = this.eventDurationMinutes ? this.eventDurationMinutes >= 60 ? this.eventDurationMinutes / 60 : this.eventDurationMinutes : 5, this.durationMinutes = this.eventDurationMinutes ?? 5, this.durationIncrement = this.eventDurationMinutes && this.eventDurationMinutes >= 60 ? 60 : 1;
|
|
849
847
|
}
|
|
@@ -902,11 +900,11 @@ Ht([
|
|
|
902
900
|
eventToProps: {},
|
|
903
901
|
fireRegisterEvent: !0
|
|
904
902
|
}),
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
],
|
|
909
|
-
|
|
903
|
+
pe("design:type", Function),
|
|
904
|
+
pe("design:paramtypes", []),
|
|
905
|
+
pe("design:returntype", void 0)
|
|
906
|
+
], Se.prototype, "render", null);
|
|
907
|
+
Se.style = Ft;
|
|
910
908
|
const Mt = ':host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-info__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-info__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-info__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-info__block{display:flex;justify-content:space-between;gap:0.5rem}', Nt = Mt;
|
|
911
909
|
var Rt = function(e, t, n, s) {
|
|
912
910
|
var o = arguments.length, i = o < 3 ? t : s === null ? s = Object.getOwnPropertyDescriptor(t, n) : s, l;
|
|
@@ -916,7 +914,7 @@ var Rt = function(e, t, n, s) {
|
|
|
916
914
|
for (var r = e.length - 1; r >= 0; r--)
|
|
917
915
|
(l = e[r]) && (i = (o < 3 ? l(i) : o > 3 ? l(t, n, i) : l(t, n)) || i);
|
|
918
916
|
return o > 3 && i && Object.defineProperty(t, n, i), i;
|
|
919
|
-
},
|
|
917
|
+
}, fe = function(e, t) {
|
|
920
918
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
921
919
|
return Reflect.metadata(e, t);
|
|
922
920
|
};
|
|
@@ -937,7 +935,7 @@ const $e = class {
|
|
|
937
935
|
d("nylas-event-info", "disconnectedCallback");
|
|
938
936
|
}
|
|
939
937
|
render() {
|
|
940
|
-
return a(k, { key: "
|
|
938
|
+
return a(k, { key: "c558409607a64f0b043b5d4877d52a9bbcc8e451" }, a("nylas-form-card", { key: "9ac2943ec1364a07a7597115a516a301b645f105" }, a("h1", { key: "49647e71b13b778ef37ae197aff7b8885520d0d9", slot: "header-title", class: "nylas-event-info__title" }, "Event information"), a("h3", { key: "a4378d75f03a8b4ab6902d8f8ef4870b9377e367", slot: "header-subtitle", class: "nylas-event-info__subtitle" }, "Enter all event information."), a("div", { key: "3fcfd8cde128d1afaa038f801ee0be0a74068cac", slot: "content", class: "nylas-event-info__content" }, a("slot", { key: "e4e986148a526fa0ec2bc89f451403031f8d2c51", name: "inputs" }))));
|
|
941
939
|
}
|
|
942
940
|
static get formAssociated() {
|
|
943
941
|
return !0;
|
|
@@ -949,9 +947,9 @@ Rt([
|
|
|
949
947
|
eventToProps: {},
|
|
950
948
|
fireRegisterEvent: !0
|
|
951
949
|
}),
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
950
|
+
fe("design:type", Function),
|
|
951
|
+
fe("design:paramtypes", []),
|
|
952
|
+
fe("design:returntype", void 0)
|
|
955
953
|
], $e.prototype, "render", null);
|
|
956
954
|
$e.style = Nt;
|
|
957
955
|
const zt = ':host{display:block;margin:1rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.nylas-event-limits__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-limits__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-limits__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-limits__block{display:flex;justify-content:space-between;gap:0.5rem}', Pt = zt;
|
|
@@ -984,7 +982,7 @@ const Le = class {
|
|
|
984
982
|
d("nylas-event-limits", "disconnectedCallback");
|
|
985
983
|
}
|
|
986
984
|
render() {
|
|
987
|
-
return a(k, { key: "
|
|
985
|
+
return a(k, { key: "41a6e89d00846f05f1540b0f1f3b6b8e1ee4e179" }, a("nylas-form-card", { key: "b68ba99fa9cbb92fba4133b327ce8f4e11ea7d55" }, a("h1", { key: "36fac220420d7bc3ae15a10ce1da95fc2a7ea1d0", slot: "header-title", class: "nylas-event-limits__title" }, "Set event limits"), a("h3", { key: "bd316f146a23e1e95bd4e691d1ee888ba779b927", slot: "header-subtitle", class: "nylas-event-limits__subtitle" }, "Customize event limits for the event."), a("div", { key: "8eb05024799a6b9dfbbbe4d42ced5ee9e8ded026", slot: "content", class: "nylas-event-limits__content" }, a("slot", { key: "e8554afe460136b431349042c70946dc2eadf93e", name: "inputs" }))));
|
|
988
986
|
}
|
|
989
987
|
static get formAssociated() {
|
|
990
988
|
return !0;
|
|
@@ -1060,25 +1058,25 @@ const Ae = class {
|
|
|
1060
1058
|
getCurrentSelectionForBrowser() {
|
|
1061
1059
|
var n, s, o;
|
|
1062
1060
|
const e = (i, l, r) => {
|
|
1063
|
-
const b = i.replace(/[\u200B-\u200D\uFEFF]/g, ""),
|
|
1061
|
+
const b = i.replace(/[\u200B-\u200D\uFEFF]/g, ""), p = b.lastIndexOf("$"), h = b.substring(p).split(" ")[0];
|
|
1064
1062
|
return {
|
|
1065
1063
|
focusOffset: l,
|
|
1066
|
-
dollarIndex:
|
|
1064
|
+
dollarIndex: p,
|
|
1067
1065
|
lastWord: h,
|
|
1068
1066
|
currentText: b,
|
|
1069
1067
|
node: r
|
|
1070
1068
|
};
|
|
1071
|
-
}, t =
|
|
1069
|
+
}, t = Ve();
|
|
1072
1070
|
switch (console.log("currentBrowser", t), t) {
|
|
1073
1071
|
case "Chrome":
|
|
1074
1072
|
const i = (n = this.host.shadowRoot) == null ? void 0 : n.getSelection(), l = i == null ? void 0 : i.focusNode, r = (l == null ? void 0 : l.nodeValue) || "";
|
|
1075
1073
|
return e(r, (i == null ? void 0 : i.focusOffset) || -1, l);
|
|
1076
1074
|
case "Firefox":
|
|
1077
|
-
const b = document.getSelection(),
|
|
1078
|
-
return e(
|
|
1075
|
+
const b = document.getSelection(), p = ((s = b == null ? void 0 : b.anchorNode) == null ? void 0 : s.nodeValue) || "";
|
|
1076
|
+
return e(p, (b == null ? void 0 : b.focusOffset) || -1, b == null ? void 0 : b.anchorNode);
|
|
1079
1077
|
case "Safari":
|
|
1080
|
-
const h = window.getSelection(),
|
|
1081
|
-
return e(v, (
|
|
1078
|
+
const h = window.getSelection(), f = h == null ? void 0 : h.getComposedRanges(this.host.shadowRoot)[0], v = ((o = f == null ? void 0 : f.startContainer) == null ? void 0 : o.nodeValue) || "";
|
|
1079
|
+
return e(v, (f == null ? void 0 : f.endOffset) || -1, f == null ? void 0 : f.startContainer);
|
|
1082
1080
|
default:
|
|
1083
1081
|
return console.warn("Browser not supported"), null;
|
|
1084
1082
|
}
|
|
@@ -1147,18 +1145,18 @@ const Ae = class {
|
|
|
1147
1145
|
}
|
|
1148
1146
|
if (!i)
|
|
1149
1147
|
return;
|
|
1150
|
-
const l = i.textContent || "", r = l.indexOf(s), b = l.substring(0, r),
|
|
1148
|
+
const l = i.textContent || "", r = l.indexOf(s), b = l.substring(0, r), p = l.substring(r + s.length), h = document.createTextNode(b), f = document.createRange(), v = document.createElement("span");
|
|
1151
1149
|
v.classList.add("highlighted-tag"), v.textContent = `${t.value}`;
|
|
1152
|
-
const Z = document.createTextNode(
|
|
1153
|
-
if (
|
|
1154
|
-
i.replaceWith(h, v, Z),
|
|
1150
|
+
const Z = document.createTextNode(p);
|
|
1151
|
+
if (p !== "")
|
|
1152
|
+
i.replaceWith(h, v, Z), f.setStart(Z, 0);
|
|
1155
1153
|
else {
|
|
1156
1154
|
const u = document.createTextNode("");
|
|
1157
|
-
i.replaceWith(h, v, u),
|
|
1155
|
+
i.replaceWith(h, v, u), f.setStart(u, 0);
|
|
1158
1156
|
}
|
|
1159
1157
|
this.resetDropdown(), this.titleRef.focus();
|
|
1160
1158
|
const $ = window.getSelection();
|
|
1161
|
-
|
|
1159
|
+
f.collapse(!0), $ == null || $.removeAllRanges(), $ == null || $.addRange(f), this.updateEventTitle(this.titleRef.textContent || "");
|
|
1162
1160
|
}
|
|
1163
1161
|
populateSuggestionsDropdown(e = "") {
|
|
1164
1162
|
this.filteredTokens = this.availableTokens.filter((t) => t.label.startsWith(e.toString()) || t.value.startsWith(e.toString())), this.filteredTokens.length > 0 && (this.ariaActivedescendant = this.filteredTokens[0].label);
|
|
@@ -1247,7 +1245,7 @@ const Fe = class {
|
|
|
1247
1245
|
return e >= 30 && e % 30 === 0 ? { number: e / 30, period: "month" } : e >= 7 && e % 7 === 0 ? { number: e / 7, period: "week" } : { number: e, period: "day" };
|
|
1248
1246
|
}
|
|
1249
1247
|
render() {
|
|
1250
|
-
return a(k, { key: "
|
|
1248
|
+
return a(k, { key: "51c0c8da5fd7f5dde898fd72e450f7d964c424c6" }, a("div", { key: "0cca0db28b809eec38f93bb25ad8e7ec281836f0", class: "nylas-limit-future-bookings", part: "nlfb" }, a("label", { key: "feb8cd912af491a1f26a5e32ec2a7cf6d34309da" }, "Limit future bookings", a("span", { key: "c1e61e9137428534f80db3222fa0c71b220fe333", class: "label-icon" }, a("tooltip-component", { key: "b1f429be3c382dfe5b1cf6bfd98f71dd9a3d4b81" }, a("info-icon", { key: "e52cdd714fa99b9e8ff1b995a15a44474bf7dbdd", slot: "tooltip-icon" }), a("span", { key: "8fc34d1fd12b92312d6e5c380a0aba8a2605285d", slot: "tooltip-content" }, "Set a limit on how far in the future bookings can be made.")))), a("time-period-selector", { key: "3edfddf9214f8729e6d36f4b5aca4fb771829cea", id: "limit-future-bookings", timePeriods: ["day", "week", "month"], exportparts: "tps__number-dropdown: nlfb__number-dropdown, tps__number-dropdown-button: nlfb__number-dropdown-button, tps__number-dropdown-content: nlfb__number-dropdown-content, tps__period-dropdown: nlfb__period-dropdown, tps__period-dropdown-button: nlfb__period-dropdown-button, tps__period-dropdown-content: nlfb__period-dropdown-content", defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod })));
|
|
1251
1249
|
}
|
|
1252
1250
|
static get formAssociated() {
|
|
1253
1251
|
return !0;
|
|
@@ -1322,10 +1320,10 @@ const He = class {
|
|
|
1322
1320
|
{ value: "none", label: "None" },
|
|
1323
1321
|
{ value: "custom", label: "Custom location" }
|
|
1324
1322
|
], t = {
|
|
1325
|
-
none: a("location-off-icon", { key: "
|
|
1326
|
-
custom: a("location-icon", { key: "
|
|
1323
|
+
none: a("location-off-icon", { key: "694d28e2c953bd5519209e10435bf646578d114a" }),
|
|
1324
|
+
custom: a("location-icon", { key: "7062ec4488bff42737000d61ea2bf139a873a2c5" })
|
|
1327
1325
|
};
|
|
1328
|
-
return a(k, { key: "
|
|
1326
|
+
return a(k, { key: "fc9ae763769cb2eb7bc441b1badd42247875f398" }, a("div", { key: "7af34d7e80f9f54c27625e8740c6b5474087e737", class: "nylas-event-location", part: "nel" }, a("label", { key: "f5023e444ca97848346897f51fce28352f267d49", htmlFor: "location" }, "Location type", a("span", { key: "f5b34257a36a986f22e7d6d912976c23ebe979ad", class: "label-icon" }, a("tooltip-component", { key: "68ac23d32ce98388faa32476c4d5630e7fe8b684" }, a("info-icon", { key: "57a204c6d75da1132272e1e1d59e1fd46e9677fc", slot: "tooltip-icon" }), a("span", { key: "1dd7951c0aa0f5024a02f64a83495c2d241daa84", slot: "tooltip-content" }, "Choose how you’ll meet with the participants at the scheduled time. Pick from available conferencing options or add a custom location.")))), a("div", { key: "e059381733d12841294fdb781ad59a6a12f49a74", class: "location-input" }, a("select-dropdown", { key: "006b90371c0fde6f2e8dc3be75b40e398ceaf62d", withSearch: !1, name: "location", options: e, defaultSelectedOption: e.find((n) => n.value == this.selectedLocationOption), exportparts: "sd__dropdown: nel__dropdown, sd__dropdown-button: nel__dropdown-button, sd__dropdown-content: nel__dropdown-content" }, a("span", { key: "6f61a147ebbc95c142ffa379886d15031168f837", slot: "select-icon" }, t[this.selectedLocationOption])), this.selectedLocationOption === "custom" && a("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: (n) => this.handleChange(n) }))));
|
|
1329
1327
|
}
|
|
1330
1328
|
static get formAssociated() {
|
|
1331
1329
|
return !0;
|
|
@@ -1398,7 +1396,7 @@ const Me = class {
|
|
|
1398
1396
|
return e >= 43200 ? { number: Math.floor(e / 43200), period: "month" } : e >= 10080 ? { number: Math.floor(e / 10080), period: "week" } : e >= 1440 ? { number: Math.floor(e / 1440), period: "day" } : e >= 60 ? { number: Math.floor(e / 60), period: "hour" } : { number: e, period: "minute" };
|
|
1399
1397
|
}
|
|
1400
1398
|
render() {
|
|
1401
|
-
return a(k, { key: "
|
|
1399
|
+
return a(k, { key: "e8638ae7a5b45140fa0abc7e50d4ec751faed4a4" }, a("div", { key: "282e956cdf1b1b9b2f42ea497fb80ae3cc422d58", class: "nylas-min-cancellation-notice", part: "nmcn" }, a("label", { key: "18c52355a024ff02a896cd6727fb947d4892d3d6" }, "Minimum cancellation notice", a("span", { key: "0ebeecfaadaf1a6b2c96ab0370516b744e79ecbf", class: "label-icon" }, a("tooltip-component", { key: "e216327d62b98e954286a16bef997115617c9fb8" }, a("info-icon", { key: "b2ac6e0031012959ed6282deb04b73eabb5e84de", slot: "tooltip-icon" }), a("span", { key: "05e0bb93d0468b97d0ce815fafe5ca0ab6be31cc", slot: "tooltip-content" }, "Set the minimum amount of time required to cancel an event.")))), a("time-period-selector", { key: "28e31fad6667ee1b7c05e63620a5716167262c5f", id: "min-cancellation-notice", exportparts: "tps__number-dropdown: nmcn__number-dropdown, tps__number-dropdown-button: nmcn__number-dropdown-button, tps__number-dropdown-content: nmcn__number-dropdown-content, tps__period-dropdown: nmcn__period-dropdown, tps__period-dropdown-button: nmcn__period-dropdown-button, tps__period-dropdown-content: nmcn__period-dropdown-content", timePeriods: ["minute", "hour", "day", "week"], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod })));
|
|
1402
1400
|
}
|
|
1403
1401
|
static get formAssociated() {
|
|
1404
1402
|
return !0;
|
|
@@ -1428,10 +1426,10 @@ var Ne = { exports: {} };
|
|
|
1428
1426
|
(function(e, t) {
|
|
1429
1427
|
(function(n, s) {
|
|
1430
1428
|
e.exports = s();
|
|
1431
|
-
})(
|
|
1429
|
+
})(We, function() {
|
|
1432
1430
|
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, s = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, o = /\d\d/, i = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, r = {}, b = function(c) {
|
|
1433
1431
|
return (c = +c) + (c > 68 ? 1900 : 2e3);
|
|
1434
|
-
},
|
|
1432
|
+
}, p = function(c) {
|
|
1435
1433
|
return function(u) {
|
|
1436
1434
|
this[c] = +u;
|
|
1437
1435
|
};
|
|
@@ -1442,7 +1440,7 @@ var Ne = { exports: {} };
|
|
|
1442
1440
|
var m = u.match(/([+-]|\d\d)/g), g = 60 * m[1] + (+m[2] || 0);
|
|
1443
1441
|
return g === 0 ? 0 : m[0] === "+" ? -g : g;
|
|
1444
1442
|
}(c);
|
|
1445
|
-
}],
|
|
1443
|
+
}], f = function(c) {
|
|
1446
1444
|
var u = r[c];
|
|
1447
1445
|
return u && (u.indexOf ? u : u.s.concat(u.f));
|
|
1448
1446
|
}, v = function(c, u) {
|
|
@@ -1466,26 +1464,26 @@ var Ne = { exports: {} };
|
|
|
1466
1464
|
this.milliseconds = 10 * +c;
|
|
1467
1465
|
}], SSS: [/\d{3}/, function(c) {
|
|
1468
1466
|
this.milliseconds = +c;
|
|
1469
|
-
}], s: [i,
|
|
1467
|
+
}], s: [i, p("seconds")], ss: [i, p("seconds")], m: [i, p("minutes")], mm: [i, p("minutes")], H: [i, p("hours")], h: [i, p("hours")], HH: [i, p("hours")], hh: [i, p("hours")], D: [i, p("day")], DD: [o, p("day")], Do: [l, function(c) {
|
|
1470
1468
|
var u = r.ordinal, m = c.match(/\d+/);
|
|
1471
1469
|
if (this.day = m[0], u)
|
|
1472
1470
|
for (var g = 1; g <= 31; g += 1)
|
|
1473
1471
|
u(g).replace(/\[|\]/g, "") === c && (this.day = g);
|
|
1474
|
-
}], M: [i,
|
|
1475
|
-
var u =
|
|
1472
|
+
}], M: [i, p("month")], MM: [o, p("month")], MMM: [l, function(c) {
|
|
1473
|
+
var u = f("months"), m = (f("monthsShort") || u.map(function(g) {
|
|
1476
1474
|
return g.slice(0, 3);
|
|
1477
1475
|
})).indexOf(c) + 1;
|
|
1478
1476
|
if (m < 1)
|
|
1479
1477
|
throw new Error();
|
|
1480
1478
|
this.month = m % 12 || m;
|
|
1481
1479
|
}], MMMM: [l, function(c) {
|
|
1482
|
-
var u =
|
|
1480
|
+
var u = f("months").indexOf(c) + 1;
|
|
1483
1481
|
if (u < 1)
|
|
1484
1482
|
throw new Error();
|
|
1485
1483
|
this.month = u % 12 || u;
|
|
1486
|
-
}], Y: [/[+-]?\d+/,
|
|
1484
|
+
}], Y: [/[+-]?\d+/, p("year")], YY: [o, function(c) {
|
|
1487
1485
|
this.year = b(c);
|
|
1488
|
-
}], YYYY: [/\d{4}/,
|
|
1486
|
+
}], YYYY: [/\d{4}/, p("year")], Z: h, ZZ: h };
|
|
1489
1487
|
function $(c) {
|
|
1490
1488
|
var u, m;
|
|
1491
1489
|
u = c, m = r && r.formats;
|
|
@@ -1495,8 +1493,8 @@ var Ne = { exports: {} };
|
|
|
1495
1493
|
return F || R.slice(1);
|
|
1496
1494
|
});
|
|
1497
1495
|
})).match(s), D = g.length, I = 0; I < D; I += 1) {
|
|
1498
|
-
var U = g[I], M = Z[U],
|
|
1499
|
-
g[I] =
|
|
1496
|
+
var U = g[I], M = Z[U], E = M && M[0], S = M && M[1];
|
|
1497
|
+
g[I] = S ? { regex: E, parser: S } : U.replace(/^\[|\]$/g, "");
|
|
1500
1498
|
}
|
|
1501
1499
|
return function(N) {
|
|
1502
1500
|
for (var L = {}, O = 0, C = 0; O < D; O += 1) {
|
|
@@ -1521,12 +1519,12 @@ var Ne = { exports: {} };
|
|
|
1521
1519
|
m.p.customParseFormat = !0, c && c.parseTwoDigitYear && (b = c.parseTwoDigitYear);
|
|
1522
1520
|
var g = u.prototype, D = g.parse;
|
|
1523
1521
|
g.parse = function(I) {
|
|
1524
|
-
var U = I.date, M = I.utc,
|
|
1522
|
+
var U = I.date, M = I.utc, E = I.args;
|
|
1525
1523
|
this.$u = M;
|
|
1526
|
-
var
|
|
1527
|
-
if (typeof
|
|
1528
|
-
var N =
|
|
1529
|
-
L && (C =
|
|
1524
|
+
var S = E[1];
|
|
1525
|
+
if (typeof S == "string") {
|
|
1526
|
+
var N = E[2] === !0, L = E[3] === !0, O = N || L, C = E[2];
|
|
1527
|
+
L && (C = E[2]), r = this.$locale(), !N && C && (r = m.Ls[C]), this.$d = function(Y, P, z) {
|
|
1530
1528
|
try {
|
|
1531
1529
|
if (["x", "X"].indexOf(P) > -1)
|
|
1532
1530
|
return new Date((P === "X" ? 1e3 : 1) * Y);
|
|
@@ -1537,11 +1535,11 @@ var Ne = { exports: {} };
|
|
|
1537
1535
|
} catch {
|
|
1538
1536
|
return /* @__PURE__ */ new Date("");
|
|
1539
1537
|
}
|
|
1540
|
-
}(U,
|
|
1541
|
-
} else if (
|
|
1542
|
-
for (var A =
|
|
1543
|
-
|
|
1544
|
-
var R = m.apply(this,
|
|
1538
|
+
}(U, S, M), this.init(), C && C !== !0 && (this.$L = this.locale(C).$L), O && U != this.format(S) && (this.$d = /* @__PURE__ */ new Date("")), r = {};
|
|
1539
|
+
} else if (S instanceof Array)
|
|
1540
|
+
for (var A = S.length, F = 1; F <= A; F += 1) {
|
|
1541
|
+
E[1] = S[F - 1];
|
|
1542
|
+
var R = m.apply(this, E);
|
|
1545
1543
|
if (R.isValid()) {
|
|
1546
1544
|
this.$d = R.$d, this.$L = R.$L, this.init();
|
|
1547
1545
|
break;
|
|
@@ -1686,7 +1684,7 @@ const an = class {
|
|
|
1686
1684
|
s && (s.focus(), s.scrollIntoView({ behavior: "smooth", block: "nearest" }));
|
|
1687
1685
|
}
|
|
1688
1686
|
render() {
|
|
1689
|
-
return a(k, { key: "
|
|
1687
|
+
return a(k, { key: "68fb5327c6e823e29aafa4fd7e81bddac7ab19e9" }, a("div", { key: "c1f7edbdc95926f66fb627cfe0eb7044611518a5", class: "time-picker", part: "time-picker" }, a("input", { key: "f1c274637b24b9e4e88798ab83524efb8e75de36", type: "text", name: this.name, id: this.name, part: "time-input", class: {
|
|
1690
1688
|
"time-input": !0,
|
|
1691
1689
|
error: !!this.err || this.hasError
|
|
1692
1690
|
}, ref: (e) => this.timeInput = e, value: this.time, onClick: () => {
|
|
@@ -1714,15 +1712,15 @@ export {
|
|
|
1714
1712
|
nt as calendar_patterns_icon,
|
|
1715
1713
|
st as flow_icon,
|
|
1716
1714
|
rt as location_icon,
|
|
1717
|
-
|
|
1715
|
+
pt as location_off_icon,
|
|
1718
1716
|
ut as multi_select_dropdown,
|
|
1719
1717
|
Ce as nylas_availability_picker,
|
|
1720
1718
|
Te as nylas_booking_calendar_picker,
|
|
1721
1719
|
Oe as nylas_buffer_time,
|
|
1722
1720
|
De as nylas_calendar_picker,
|
|
1723
1721
|
Ie as nylas_custom_booking_flow,
|
|
1724
|
-
|
|
1725
|
-
|
|
1722
|
+
Ee as nylas_event_description,
|
|
1723
|
+
Se as nylas_event_duration,
|
|
1726
1724
|
$e as nylas_event_info,
|
|
1727
1725
|
Le as nylas_event_limits,
|
|
1728
1726
|
Ae as nylas_event_title,
|