@nylas/react 2.0.0 → 2.0.2
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/abstract-provider-bdb7d9b4-12a95387.cjs +1 -0
- package/dist/abstract-provider-bdb7d9b4-22cf4a74.js +187 -0
- package/dist/add-circle-icon_2.entry-0ff79148.js +26 -0
- package/dist/add-circle-icon_2.entry-d56f519c.cjs +1 -0
- package/dist/archive-icon.entry-6ab120ff.cjs +1 -0
- package/dist/archive-icon.entry-aaff46ec.js +16 -0
- package/dist/arrow-icon.entry-d57cf44f.cjs +1 -0
- package/dist/{arrow-icon.entry-9414299f.js → arrow-icon.entry-d8fcbc1f.js} +5 -5
- package/dist/{bold-icon.entry-c781e9c1.cjs → bold-icon.entry-0f23543d.cjs} +1 -1
- package/dist/{bold-icon.entry-b72aed9f.js → bold-icon.entry-e48075a4.js} +2 -2
- package/dist/{button-component_2.entry-73f76545.cjs → button-component_2.entry-3d622397.cjs} +1 -1
- package/dist/{button-component_2.entry-36e49459.js → button-component_2.entry-5db80bec.js} +9 -9
- package/dist/calendar-agenda-fill-icon_36.entry-75d7cd5b.cjs +6 -0
- package/dist/{calendar-agenda-fill-icon_36.entry-efa7ad26.js → calendar-agenda-fill-icon_36.entry-78fc2e0d.js} +823 -804
- package/dist/{calendar-cancel-icon.entry-0f739a8a.js → calendar-cancel-icon.entry-8b43441c.js} +5 -5
- package/dist/{calendar-cancel-icon.entry-01c388eb.cjs → calendar-cancel-icon.entry-9546c7c3.cjs} +1 -1
- package/dist/calendar-check-icon.entry-4e6abda7.js +16 -0
- package/dist/calendar-check-icon.entry-a03b249a.cjs +1 -0
- package/dist/{calendar-icon.entry-f197396d.js → calendar-icon.entry-5b622c12.js} +2 -2
- package/dist/{calendar-icon.entry-9743e0b7.cjs → calendar-icon.entry-cd4b0ec4.cjs} +1 -1
- package/dist/checkbox-component_2.entry-82f4b1f2.js +115 -0
- package/dist/checkbox-component_2.entry-c9c8a87d.cjs +1 -0
- package/dist/checkbox-group_4.entry-5a4f0ed2.cjs +28 -0
- package/dist/{nylas-event-calendar_3.entry-9abd46c2.js → checkbox-group_4.entry-b2a5b2b2.js} +1038 -923
- package/dist/checkmark-circle-icon.entry-30582af4.js +16 -0
- package/dist/checkmark-circle-icon.entry-9617301c.cjs +1 -0
- package/dist/{checkmark-icon_15.entry-5c09cff5.js → checkmark-icon_15.entry-01536ed2.js} +48 -48
- package/dist/{checkmark-icon_15.entry-35dd97b7.cjs → checkmark-icon_15.entry-c5eaad9b.cjs} +2 -2
- package/dist/{chevron-icon_3.entry-e0608b7c.cjs → chevron-icon_3.entry-26f14744.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-4a72f211.js → chevron-icon_3.entry-517447a6.js} +16 -16
- package/dist/{clock-icon_4.entry-202ce025.cjs → clock-icon_4.entry-5351318c.cjs} +1 -1
- package/dist/{clock-icon_4.entry-0afe79c2.js → clock-icon_4.entry-7ea1274d.js} +8 -8
- package/dist/{customParseFormat-d1de5ed0-65a0bba3.cjs → customParseFormat-f0d21eb3-769d6bf2.cjs} +1 -1
- package/dist/{customParseFormat-d1de5ed0-c0ef002d.js → customParseFormat-f0d21eb3-904f1e57.js} +1 -1
- package/dist/{delete-icon.entry-580bfcc9.js → delete-icon.entry-02e44ba1.js} +2 -2
- package/dist/{delete-icon.entry-762ac892.cjs → delete-icon.entry-64b61f5c.cjs} +1 -1
- package/dist/{document-refresh-icon.entry-4e0f0c61.cjs → document-refresh-icon.entry-2f599a22.cjs} +1 -1
- package/dist/document-refresh-icon.entry-fcaa84ad.js +16 -0
- package/dist/{feedbackSync-172f942c-42124493.js → feedbackSync-b9c9e719-b54b3268.js} +811 -798
- package/dist/{feedbackSync-172f942c-62f72bd2.cjs → feedbackSync-b9c9e719-bee3fea1.cjs} +26 -26
- package/dist/{folder-icon.entry-2694e253.cjs → folder-icon.entry-55c123dc.cjs} +1 -1
- package/dist/{folder-icon.entry-54c3cc66.js → folder-icon.entry-f4862c1b.js} +4 -4
- package/dist/{forward-icon.entry-5e540f05.js → forward-icon.entry-4a41e94f.js} +2 -2
- package/dist/{forward-icon.entry-f07102d8.cjs → forward-icon.entry-82719382.cjs} +1 -1
- package/dist/{globe-icon_2.entry-14a4c168.cjs → globe-icon_2.entry-3f0e408e.cjs} +1 -1
- package/dist/{globe-icon_2.entry-aaceb196.js → globe-icon_2.entry-8f5c79b2.js} +20 -20
- package/dist/google-logo-icon_6.entry-9c91c3d4.cjs +2 -0
- package/dist/{google-logo-icon_6.entry-00d40db2.js → google-logo-icon_6.entry-b331ab60.js} +682 -488
- package/dist/{google-meet-icon_5.entry-6c20e149.cjs → google-meet-icon_5.entry-e3d44d56.cjs} +1 -1
- package/dist/{google-meet-icon_5.entry-f1f05903.js → google-meet-icon_5.entry-eb9f7d93.js} +14 -14
- package/dist/inbox-icon.entry-a385095d.js +16 -0
- package/dist/inbox-icon.entry-fa9085cd.cjs +1 -0
- package/dist/index-ad781fbc.js +24639 -0
- package/dist/index-dc6efb5e.cjs +118 -0
- package/dist/index.d.ts +1 -4
- package/dist/index.es-ccb2a286-9a2c0934.cjs +7 -0
- package/dist/index.es-ccb2a286-dfa2bfbe.js +2724 -0
- package/dist/{info-icon_2.entry-bbcefb9a.cjs → info-icon_2.entry-9f32753b.cjs} +1 -1
- package/dist/{info-icon_2.entry-b3b313ab.js → info-icon_2.entry-c18a111e.js} +3 -3
- package/dist/{input-component.entry-401b9ba5.js → input-component.entry-eae64f46.js} +12 -12
- package/dist/{input-component.entry-ec8e8e7c.cjs → input-component.entry-ff9e04c9.cjs} +1 -1
- package/dist/{input-dropdown_2.entry-c37f392c.js → input-dropdown_2.entry-1b55ef0c.js} +3 -3
- package/dist/{input-dropdown_2.entry-8cb11601.cjs → input-dropdown_2.entry-67d6d292.cjs} +1 -1
- package/dist/italic-icon.entry-4266a817.js +16 -0
- package/dist/{italic-icon.entry-6675558a.cjs → italic-icon.entry-843feb2b.cjs} +1 -1
- package/dist/{elements → lib/elements}/index.d.ts +1 -1
- package/dist/lib/index.d.ts +5 -0
- package/dist/lib/main.d.ts +0 -0
- package/dist/lib/notetaker/CalendarSync/CalendarSync.d.ts +37 -0
- package/dist/lib/notetaker/CalendarSync/CalendarSync.spec.d.ts +0 -0
- package/dist/lib/notetaker/SendNotetaker/SendNotetaker.d.ts +31 -0
- package/dist/lib/notetaker/SendNotetaker/SendNotetaker.spec.d.ts +1 -0
- package/dist/lib/notetaker/Transcript/Transcript.d.ts +23 -0
- package/dist/lib/notetaker/Transcript/Transcript.spec.d.ts +0 -0
- package/dist/lib/notetaker/VideoPlayer/VideoPlayer.d.ts +22 -0
- package/dist/lib/notetaker/VideoPlayer/VideoPlayer.spec.d.ts +1 -0
- package/dist/lib/notetaker/index.d.ts +9 -0
- package/dist/lib/notetaker/lib/constants.d.ts +12 -0
- package/dist/lib/notetaker/lib/http-client.d.ts +2 -0
- package/dist/lib/notetaker/lib/primitives.d.ts +66 -0
- package/dist/lib/notetaker/lib/store.d.ts +7 -0
- package/dist/lib/notetaker/types.d.ts +42 -0
- package/dist/multi-select-dropdown.entry-854265ef.js +121 -0
- package/dist/multi-select-dropdown.entry-ca9acf75.cjs +1 -0
- package/dist/nylas-booked-event-card_11.entry-8d3e2019.cjs +1 -0
- package/dist/{nylas-booked-event-card_12.entry-e7464ae7.js → nylas-booked-event-card_11.entry-ccf30d91.js} +515 -549
- package/dist/{nylas-form-card.entry-a3186807.js → nylas-form-card.entry-481ede48.js} +3 -3
- package/dist/{nylas-form-card.entry-cbb00fba.cjs → nylas-form-card.entry-58162c72.cjs} +1 -1
- package/dist/nylas-notification_2.entry-7d3ed3b0.js +85 -0
- package/dist/nylas-notification_2.entry-dffa3ff6.cjs +1 -0
- package/dist/nylas-scheduler-editor.entry-9744694a.cjs +2 -0
- package/dist/{nylas-scheduler-editor.entry-7b188a38.js → nylas-scheduler-editor.entry-aa079dff.js} +160 -136
- package/dist/nylas-scheduling.entry-7441979c.js +988 -0
- package/dist/nylas-scheduling.entry-b1fcb48f.cjs +1 -0
- package/dist/{person-icon.entry-d2856f08.js → person-icon.entry-23a69633.js} +7 -7
- package/dist/{person-icon.entry-8998fdb8.cjs → person-icon.entry-acf4d22b.cjs} +1 -1
- package/dist/play-icon.entry-4e7884d4.js +16 -0
- package/dist/{play-icon.entry-99eb969b.cjs → play-icon.entry-aa088180.cjs} +1 -1
- package/dist/{radio-button-group.entry-bc3b12fd.js → radio-button-group.entry-243d7988.js} +2 -2
- package/dist/{radio-button-group.entry-d66edd04.cjs → radio-button-group.entry-cea225c8.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +135 -126
- package/dist/{refresh-icon.entry-99d1982d.cjs → refresh-icon.entry-96cb008f.cjs} +1 -1
- package/dist/{refresh-icon.entry-d6df8b1c.js → refresh-icon.entry-d1603555.js} +2 -2
- package/dist/{register-component-62d792d4-448b6a43.js → register-component-9d4ceee5-46f58baf.js} +1 -1
- package/dist/{register-component-62d792d4-c6e7d129.cjs → register-component-9d4ceee5-6fabc42c.cjs} +1 -1
- package/dist/{reply-all-icon.entry-d7c44139.cjs → reply-all-icon.entry-537f7718.cjs} +1 -1
- package/dist/{reply-all-icon.entry-7ebf01a0.js → reply-all-icon.entry-6fae7288.js} +2 -2
- package/dist/{reply-icon.entry-058c00e8.cjs → reply-icon.entry-72fa6e4c.cjs} +1 -1
- package/dist/{reply-icon.entry-d1622d85.js → reply-icon.entry-ae114e35.js} +5 -5
- package/dist/sent-icon.entry-30a6ac17.cjs +1 -0
- package/dist/sent-icon.entry-b10d5e26.js +16 -0
- package/dist/spam-icon.entry-357aa525.cjs +1 -0
- package/dist/spam-icon.entry-bed45849.js +16 -0
- package/dist/{star-icon.entry-98b80645.js → star-icon.entry-010349a5.js} +4 -4
- package/dist/{star-icon.entry-4db13fdb.cjs → star-icon.entry-53c85ebb.cjs} +1 -1
- package/dist/{stop-icon.entry-0290fd30.js → stop-icon.entry-18f650bf.js} +2 -2
- package/dist/{stop-icon.entry-9d7b53fd.cjs → stop-icon.entry-20af3bf5.cjs} +1 -1
- package/dist/style.css +1 -0
- package/dist/test/vitest.setup.d.ts +0 -0
- package/dist/{textarea-component.entry-9b474ab5.cjs → textarea-component.entry-b19642f1.cjs} +1 -1
- package/dist/{textarea-component.entry-a62c257b.js → textarea-component.entry-e6120440.js} +2 -2
- package/dist/{toggle-switch.entry-e423b793.js → toggle-switch.entry-32b0e964.js} +4 -4
- package/dist/{toggle-switch.entry-5dbfcd48.cjs → toggle-switch.entry-becdda2c.cjs} +1 -1
- package/dist/{translate-icon.entry-60c55a2e.js → translate-icon.entry-2308a8e4.js} +4 -4
- package/dist/{translate-icon.entry-f82fa6fc.cjs → translate-icon.entry-7cb7a479.cjs} +1 -1
- package/dist/trash-fill-icon.entry-7f410c82.js +16 -0
- package/dist/trash-fill-icon.entry-c70b9326.cjs +1 -0
- package/dist/{underline-icon.entry-0807a43d.cjs → underline-icon.entry-23f478f3.cjs} +1 -1
- package/dist/{underline-icon.entry-40028bc6.js → underline-icon.entry-58ef1a9f.js} +2 -2
- package/package.json +41 -17
- package/dist/add-circle-icon_2.entry-8a1c55bc.cjs +0 -1
- package/dist/add-circle-icon_2.entry-b4bbcfee.js +0 -26
- package/dist/archive-icon.entry-a2492cf3.js +0 -16
- package/dist/archive-icon.entry-e48d2356.cjs +0 -1
- package/dist/arrow-icon.entry-b1ecb2aa.cjs +0 -1
- package/dist/calendar-agenda-fill-icon_36.entry-e9b92e0e.cjs +0 -6
- package/dist/calendar-check-icon_2.entry-5febbadf.cjs +0 -1
- package/dist/calendar-check-icon_2.entry-dfb0036d.js +0 -26
- package/dist/checkbox-component.entry-1aa5782f.cjs +0 -1
- package/dist/checkbox-component.entry-72a6aa72.js +0 -43
- package/dist/document-refresh-icon.entry-e500b4e3.js +0 -16
- package/dist/google-logo-icon_6.entry-fa76ffe3.cjs +0 -2
- package/dist/inbox-icon.entry-9a4628f2.cjs +0 -1
- package/dist/inbox-icon.entry-aa78ba8c.js +0 -16
- package/dist/index-1e75512f.cjs +0 -57
- package/dist/index-e8380973.js +0 -18492
- package/dist/index.es-fc8588de-034ead51.cjs +0 -7
- package/dist/index.es-fc8588de-c943eef6.js +0 -2908
- package/dist/italic-icon.entry-0e85d0d9.js +0 -16
- package/dist/multi-select-dropdown_2.entry-3eecf18a.js +0 -193
- package/dist/multi-select-dropdown_2.entry-e37c501d.cjs +0 -1
- package/dist/nylas-booked-event-card_12.entry-fddc9ab8.cjs +0 -1
- package/dist/nylas-event-calendar_3.entry-e6669bbf.cjs +0 -11
- package/dist/nylas-scheduler-editor.entry-5c92901a.cjs +0 -2
- package/dist/nylas-scheduling.entry-970240f6.cjs +0 -1
- package/dist/nylas-scheduling.entry-e9929b03.js +0 -968
- package/dist/play-icon.entry-f949a80f.js +0 -16
- package/dist/sent-icon.entry-6c604512.cjs +0 -1
- package/dist/sent-icon.entry-fe12bc2f.js +0 -16
- package/dist/spam-icon.entry-45e5292e.cjs +0 -1
- package/dist/spam-icon.entry-b97c7709.js +0 -16
- package/dist/trash-fill-icon.entry-095caae3.cjs +0 -1
- package/dist/trash-fill-icon.entry-825055fd.js +0 -16
- package/dist/warning-icon.entry-24e37759.js +0 -16
- package/dist/warning-icon.entry-fce7c14f.cjs +0 -1
- /package/dist/{elements → lib/elements}/react-component-lib/createComponent.d.ts +0 -0
- /package/dist/{elements → lib/elements}/react-component-lib/createOverlayComponent.d.ts +0 -0
- /package/dist/{elements → lib/elements}/react-component-lib/index.d.ts +0 -0
- /package/dist/{elements → lib/elements}/react-component-lib/interfaces.d.ts +0 -0
- /package/dist/{elements → lib/elements}/react-component-lib/utils/attachProps.d.ts +0 -0
- /package/dist/{elements → lib/elements}/react-component-lib/utils/case.d.ts +0 -0
- /package/dist/{elements → lib/elements}/react-component-lib/utils/dev.d.ts +0 -0
- /package/dist/{elements → lib/elements}/react-component-lib/utils/index.d.ts +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as t, h as c } from "./index-ad781fbc.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const i = ".sc-checkmark-circle-icon-h{display:flex}", r = i, s = class {
|
|
6
|
+
constructor(e) {
|
|
7
|
+
t(this, e), this.width = "20", this.height = "20";
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return c("svg", { key: "498101e43697aec830fd97c25cc7ad443b865cc0", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, c("path", { key: "dd7f115b73e2bdb02da721329ac5ff8b8e629ca4", fill: "currentColor", d: "M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z" }));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
s.style = r;
|
|
14
|
+
export {
|
|
15
|
+
s as checkmark_circle_icon
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const t=".sc-checkmark-circle-icon-h{display:flex}",i=t,c=class{constructor(r){e.registerInstance(this,r),this.width="20",this.height="20"}render(){return e.h("svg",{key:"498101e43697aec830fd97c25cc7ad443b865cc0",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,fill:"none",viewBox:"0 0 20 20"},e.h("path",{key:"dd7f115b73e2bdb02da721329ac5ff8b8e629ca4",fill:"currentColor",d:"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z"}))}};c.style=i;exports.checkmark_circle_icon=c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as b, h as s, a as m, g as x, b as d, S as
|
|
2
|
-
import { R as C } from "./register-component-
|
|
3
|
-
import { E as k, P as
|
|
1
|
+
import { r as b, h as s, a as m, g as x, b as d, S as q, H as w, i as c, y as S, T as H, P as V, U as M } from "./index-ad781fbc.js";
|
|
2
|
+
import { R as C } from "./register-component-9d4ceee5-46f58baf.js";
|
|
3
|
+
import { E as k, P as E, f as J } from "./constants-f51538ef-e0a5f026.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
6
|
import "react-dom";
|
|
@@ -9,7 +9,7 @@ const G = ".sc-checkmark-icon-h{display:flex}", X = G, Q = class {
|
|
|
9
9
|
b(this, e), this.width = "18", this.height = "14";
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return s("svg", { key: "
|
|
12
|
+
return s("svg", { key: "a739b30f83d6510e6644045ba736860eb524c838", width: this.width, height: this.height, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "9621004de9b8789eab6f4d0616ae0ff25124fd44", d: "M1.53033 7.46967C1.23744 7.17678 0.762563 7.17678 0.46967 7.46967C0.176777 7.76256 0.176777 8.23744 0.46967 8.53033L4.96967 13.0303C5.26256 13.3232 5.73744 13.3232 6.03033 13.0303L17.0303 2.03033C17.3232 1.73744 17.3232 1.26256 17.0303 0.96967C16.7374 0.676777 16.2626 0.676777 15.9697 0.96967L5.5 11.4393L1.53033 7.46967Z", fill: "#293056" }));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
Q.style = X;
|
|
@@ -18,7 +18,7 @@ const Y = ".sc-copy-icon-h{display:flex}", ee = Y, te = class {
|
|
|
18
18
|
b(this, e), this.width = "16", this.height = "16";
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return s("svg", { key: "
|
|
21
|
+
return s("svg", { key: "af5249494e43163c59f43f0e21ff4a9063566023", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "d1b78a39d0dd7ce2a3823d54e2e0dbd5f260c188", d: "M4 0.75C2.89543 0.75 2 1.64543 2 2.75V12.75C2 13.8546 2.89543 14.75 4 14.75H10C11.1046 14.75 12 13.8546 12 12.75V2.75C12 1.64543 11.1046 0.75 10 0.75H4ZM3 2.75C3 2.19772 3.44772 1.75 4 1.75H10C10.5523 1.75 11 2.19772 11 2.75V12.75C11 13.3023 10.5523 13.75 10 13.75H4C3.44772 13.75 3 13.3023 3 12.75V2.75ZM0 4.75001C0 4.00973 0.402199 3.36339 1 3.01758V13.25C1 14.6307 2.11929 15.75 3.5 15.75H9.73244C9.38663 16.3478 8.74028 16.75 8 16.75H3.5C1.567 16.75 0 15.183 0 13.25V4.75001Z", fill: "currentColor" }));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
te.style = ee;
|
|
@@ -27,7 +27,7 @@ const ne = ".sc-dragable-icon-h{display:flex}", ae = ne, oe = class {
|
|
|
27
27
|
b(this, e), this.width = "20", this.height = "20";
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return s("svg", { key: "
|
|
30
|
+
return s("svg", { key: "e4d3ba685832139b22eb5b024479e22f2ddfc811", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "68f15598ca1251c3926a3b88adb0947f1a5b6b4a", d: "M15.5 18C16.3284 18 17 18.6716 17 19.5C17 20.3284 16.3284 21 15.5 21C14.6716 21 14 20.3284 14 19.5C14 18.6716 14.6716 18 15.5 18ZM8.5 18C9.32843 18 10 18.6716 10 19.5C10 20.3284 9.32843 21 8.5 21C7.67157 21 7 20.3284 7 19.5C7 18.6716 7.67157 18 8.5 18ZM15.5 11C16.3284 11 17 11.6716 17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11ZM8.5 11C9.32843 11 10 11.6716 10 12.5C10 13.3284 9.32843 14 8.5 14C7.67157 14 7 13.3284 7 12.5C7 11.6716 7.67157 11 8.5 11ZM15.5 4C16.3284 4 17 4.67157 17 5.5C17 6.32843 16.3284 7 15.5 7C14.6716 7 14 6.32843 14 5.5C14 4.67157 14.6716 4 15.5 4ZM8.5 4C9.32843 4 10 4.67157 10 5.5C10 6.32843 9.32843 7 8.5 7C7.67157 7 7 6.32843 7 5.5C7 4.67157 7.67157 4 8.5 4Z", fill: "currentColor" }));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
oe.style = ae;
|
|
@@ -36,7 +36,7 @@ const le = ".sc-eye-icon-h{display:flex}", se = le, ie = class {
|
|
|
36
36
|
b(this, e), this.width = "17", this.height = "10";
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return s("svg", { key: "
|
|
39
|
+
return s("svg", { key: "2b2a63f9602d85c9661986eb2dd8e220a02e5570", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "8609bab91f97b282d80282736ce38f895e7b6fc1", d: "M1.75909 6.60214C2.44254 3.32689 5.29437 1 8.50002 1C11.7057 1 14.5574 3.32688 15.2409 6.60215C15.2974 6.87246 15.5622 7.04587 15.8325 6.98946C16.1029 6.93304 16.2763 6.66817 16.2199 6.39785C15.4425 2.67312 12.1934 0 8.50002 0C4.8066 0 1.55742 2.67311 0.780175 6.39786C0.723767 6.66818 0.897177 6.93305 1.1675 6.98946C1.43782 7.04587 1.70268 6.87246 1.75909 6.60214ZM8.5 3C6.567 3 5 4.567 5 6.5C5 8.433 6.567 10 8.5 10C10.433 10 12 8.433 12 6.5C12 4.567 10.433 3 8.5 3ZM6 6.5C6 5.11929 7.11929 4 8.5 4C9.88071 4 11 5.11929 11 6.5C11 7.88071 9.88071 9 8.5 9C7.11929 9 6 7.88071 6 6.5Z", fill: "currentColor" }));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
ie.style = se;
|
|
@@ -45,7 +45,7 @@ const re = ".sc-feedback-icon-h{display:flex}", ce = re, de = class {
|
|
|
45
45
|
b(this, e), this.width = "11", this.height = "14";
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return s("svg", { key: "
|
|
48
|
+
return s("svg", { key: "0cef0443a3b22ffa2bd9be587f55175bef8557cf", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "20631452d3f3bc031b79d3337eda08143db490e4", d: "M0.5 8.875C0.5 8.875 1.125 8.25 3 8.25C4.875 8.25 6.125 9.5 8 9.5C9.875 9.5 10.5 8.875 10.5 8.875V1.375C10.5 1.375 9.875 2 8 2C6.125 2 4.875 0.75 3 0.75C1.125 0.75 0.5 1.375 0.5 1.375V8.875ZM0.5 8.875V13.25", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
de.style = ce;
|
|
@@ -80,11 +80,11 @@ const pe = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nyla
|
|
|
80
80
|
!e.composedPath().includes(this.el) && this.isOpen && (this.isOpen = !1);
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return s("div", { key: "
|
|
83
|
+
return s("div", { key: "354f7c502fadd2c6a30619365b9939523d9cd770", class: "color-picker-container", part: "icp_color-picker", tabindex: "0", onKeyDown: (e) => this.handleKeyDown(e) }, s("input", { key: "cc5803d2e90064b15137717043581f24cf80fda3", type: "color", ref: (e) => this.inputRef = e, id: this.name, name: this.name, value: this.selectedColor, tabindex: "-1", onFocus: () => this.handleFocus(), onBlur: () => this.handleBlur(), onInput: (e) => this.handleInput(e), onChange: (e) => this.handleChange(e), onKeyDown: (e) => this.handleKeyDown(e) }), s("label", { key: "75e26e605a36d5a3505f41dbdad576484b14ac43", part: "icp_color-picker-button", htmlFor: this.name, class: { labelBtn: !0, open: this.isOpen, error: !!this.errorMessage }, "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name }, s("span", { key: "9a321653073ef9aa8a9372e291bd04244b6dfe46", class: "selected-option", part: "icp_color-picker-button-selected-label" }, this.selectedColor || "Select a color"), s("span", { key: "62ed4fb1337b47735c823b8e164bb8bb57325ffd", class: {
|
|
84
84
|
open: this.isOpen,
|
|
85
85
|
closed: !this.isOpen,
|
|
86
86
|
chevron: !0
|
|
87
|
-
}, "aria-hidden": "true" }, s("chevron-icon", { key: "
|
|
87
|
+
}, "aria-hidden": "true" }, s("chevron-icon", { key: "5c304ff53cfc6d3632f4fbbd8415c318301b4e38", width: "16", height: "16" })), this.errorMessage && s("span", { class: "error help-text" }, this.errorMessage)));
|
|
88
88
|
}
|
|
89
89
|
get el() {
|
|
90
90
|
return x(this);
|
|
@@ -147,14 +147,14 @@ const N = class {
|
|
|
147
147
|
t === this.name && this.setImage(a);
|
|
148
148
|
}
|
|
149
149
|
setImage(e, t = !0) {
|
|
150
|
-
this.error = "",
|
|
150
|
+
this.error = "", q(e).then(() => {
|
|
151
151
|
this.currentImageUrl = e, this.internals.setValidity({}), this.internals.setFormValue(this.currentImageUrl, this.name), t && this.valueChanged.emit({ value: this.currentImageUrl, name: this.name });
|
|
152
152
|
}).catch(() => {
|
|
153
153
|
this.error = this.errorMessage || "Invalid image URL.", this.nylasFormInputImageUrlInvalid.emit({ value: this.error, name: this.name }), typeof this.internals.setValidity == "function" && this.internals.setValidity({ customError: !0 }, this.error);
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
render() {
|
|
157
|
-
return s(w, { key: "
|
|
157
|
+
return s(w, { key: "8714725206ddd2b1e5cda73632dd61f08b0b9683" }, s("div", { key: "c85385627929d92520132f4ff8a53060df5d1434", class: "logo-container" }, s("div", { key: "83391a115c511188b7f1a1128e7c3860a46406ad", class: "input-container" }, s("input-component", { key: "204b9d5bb3aff58f9053cc1bfa0d52de449aaa2e", name: this.name, id: this.name, type: "text", required: !1, exportparts: "ic_input: iiu__logo-input-textfield", defaultValue: this.imageUrl ?? "" }), this.error && s("span", { class: "error-message" }, this.error)), this.currentImageUrl && !this.error && s("div", { class: "logo" }, s("img", { src: this.currentImageUrl, alt: "Logo" }))));
|
|
158
158
|
}
|
|
159
159
|
static get formAssociated() {
|
|
160
160
|
return !0;
|
|
@@ -199,7 +199,7 @@ var ve = function(e, t, a, o) {
|
|
|
199
199
|
};
|
|
200
200
|
const z = class {
|
|
201
201
|
constructor(e) {
|
|
202
|
-
b(this, e), this.valueChanged = m(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 = "participants", this.selectedConfiguration = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.participantOptions = void 0, this.eventParticipants = void 0, this.roundRobinConfig = void 0, this.selectedLanguage = void 0, this.participants = this.eventParticipants ?? [], this.participantErrors = {}, this.includeOrganizerAsParticipant = !0, this.isRoundRobinConfig = !1, this.error = "";
|
|
202
|
+
b(this, e), this.valueChanged = m(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 = "participants", this.selectedConfiguration = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.participantOptions = void 0, this.eventParticipants = void 0, this.roundRobinConfig = void 0, this.selectedLanguage = void 0, this.participants = this.eventParticipants ?? [], this.participantErrors = {}, this.includeOrganizerAsParticipant = !0, this.isRoundRobinConfig = !1, this.error = "", this.requiredError = "", this.patternError = "";
|
|
203
203
|
}
|
|
204
204
|
elementNameChangedHandler(e) {
|
|
205
205
|
d("nylas-additional-participants", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
|
|
@@ -208,7 +208,7 @@ const z = class {
|
|
|
208
208
|
d("nylas-additional-participants", "selectedConfigurationAndCurrentUserChangedHandler", e, this.currentUser), a === "selectedConfiguration" ? this.updateState(e, this.currentUser, !1) : a === "currentUser" && this.updateState(this.selectedConfiguration, e, !1);
|
|
209
209
|
}
|
|
210
210
|
selectedLanguageChangedHandler(e, t) {
|
|
211
|
-
e !== t && (c.changeLanguage(e), this.error && (this.error = c.t("nylasAdditionalParticipants.error")));
|
|
211
|
+
e !== t && (c.changeLanguage(e), this.requiredError = c.t("fieldRequired", { field: c.t("email") }), this.patternError = c.t("invalidInputFormat", { field: c.t("email") }), this.error && (this.error = c.t("nylasAdditionalParticipants.error")));
|
|
212
212
|
}
|
|
213
213
|
connectedCallback() {
|
|
214
214
|
d("nylas-additional-participants", "connectedCallback");
|
|
@@ -237,13 +237,13 @@ const z = class {
|
|
|
237
237
|
this.isInternalsAvailable && this.internals.setValidity({ customError: !0 }, "For round robin configuration, participant should be selected from the dropdown."), this.participantErrors[a] = "For round robin page, participant should be selected from the dropdown.", this.participants[a].is_valid = !1, this.participants = [...this.participants];
|
|
238
238
|
return;
|
|
239
239
|
} else if (!o && !t.test(e.detail.value)) {
|
|
240
|
-
this.isInternalsAvailable && this.internals.setValidity({ customError: !0 }, "
|
|
240
|
+
this.isInternalsAvailable && this.internals.setValidity({ customError: !0 }, c.t("nylasAdditionalParticipants.error_email")), this.participantErrors[a] = c.t("nylasAdditionalParticipants.error_email"), this.participants[a].is_valid = !1, this.participants = [...this.participants];
|
|
241
241
|
return;
|
|
242
242
|
} else
|
|
243
243
|
this.participantErrors[a] = "", this.participants[a].is_valid = !0, this.isInternalsAvailable && this.internals.setValidity({});
|
|
244
244
|
this.participants[a].email = e.detail.value;
|
|
245
245
|
const r = (n = o == null ? void 0 : o.calendars) == null ? void 0 : n.find((f) => f.is_primary);
|
|
246
|
-
this.participants[a].availability = o && (r != null && r.id) ? { calendar_ids: [r.id] } : (i = o == null ? void 0 : o.calendars[0]) != null && i.id ? { calendar_ids: [o.calendars[0].id] } : void 0, this.participants[a].booking = o && this.isRoundRobinConfig && (r != null && r.id) ? { calendar_id: r.id } : (p = o == null ? void 0 : o.calendars[0]) != null && p.id ? { calendar_id: o.calendars[0].id } : void 0, this.participants[a].name = (o == null ? void 0 : o.name) || e.detail.value, this.participants = [...this.participants], this.updateFormValue();
|
|
246
|
+
this.participants[a].availability = o && (r != null && r.id) ? { calendar_ids: [r.id] } : (i = o == null ? void 0 : o.calendars[0]) != null && i.id ? { calendar_ids: [o.calendars[0].id] } : void 0, this.participants[a].booking = o && this.isRoundRobinConfig && (r != null && r.id) ? { calendar_id: r.id } : this.isRoundRobinConfig && ((p = o == null ? void 0 : o.calendars[0]) != null && p.id) ? { calendar_id: o.calendars[0].id } : void 0, this.participants[a].name = (o == null ? void 0 : o.name) || e.detail.value, this.participants = [...this.participants], this.updateFormValue();
|
|
247
247
|
}
|
|
248
248
|
updateOrganizerAsParticipant(e = !0) {
|
|
249
249
|
var a, o, r, l, n, i, p;
|
|
@@ -285,14 +285,14 @@ const z = class {
|
|
|
285
285
|
return e.filter((o) => !t.some((r) => o.email === r.email)).map((o) => ({ value: o.email, label: o.email }));
|
|
286
286
|
}
|
|
287
287
|
render() {
|
|
288
|
-
return s(w, { key: "
|
|
288
|
+
return s(w, { key: "4d547fe2488b5019af5d63d9691a740e8efb5f43", part: "nadtnlpart" }, s("nylas-form-card", { key: "627e61e9080b989b5871d798339e718e68bb639d", exportparts: "nfc, nfc__header" }, s("h3", { key: "447dc3fee1b9e4014a7aa6e54a01dbf84d4893ac", slot: "header-title", class: "nylas-additional-participants__title", part: "nadtnlpart__title" }, c.t("nylasAdditionalParticipants.headerTitle")), s("p", { key: "f116167709f9464422d4dedba69a1db6c3b55b0e", slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nadtnlpart__subtitle" }, c.t("nylasAdditionalParticipants.headerSubTitle")), s("div", { key: "f231168dcab771100276cbd76710ec0446cdfa8c", slot: "content", class: "nylas-additional-participants__content", part: "nadtnlpart__content" }, s("div", { key: "47f0cf5882fa4f88a09ba74b70136e7911cae75f" }, this.participants.map((e, t) => s("div", { class: "nylas-additional-participants__input_group", part: "nadtnlpart__input_group" }, !e.is_organizer && s("label", null, `${c.t("nylasAdditionalParticipants.participant")} ${t}`), s("div", { part: "nadtnlpart__input_wrapper", class: {
|
|
289
289
|
"nylas-additional-participants__input_wrapper": !0,
|
|
290
290
|
"nylas-additional-participants__input_wrapper_organizer": (e == null ? void 0 : e.is_organizer) === !0,
|
|
291
291
|
"nylas-additional-participants__input_wrapper_invalid": e.is_valid === !1,
|
|
292
292
|
error: e.is_valid === !1
|
|
293
|
-
} }, s("div", { class: { "nylas-additional-participants__input": !0, organizer: (e == null ? void 0 : e.is_organizer) === !0 }, part: "nadtnlpart__input" }, e.is_organizer ? s("input-component", { class: "label-input", name: `${t}`, key: t, label: c.t("nylasAdditionalParticipants.organizer"), required: !1, readOnly: e.is_organizer, defaultValue: e.email }, this.isRoundRobinConfig && s("div", { class: "required-input", slot: "additional-input" }, s("input", { type: "checkbox", name: "organizer_participant", id: "organizer_participant", onClick: () => {
|
|
293
|
+
} }, s("div", { class: { "nylas-additional-participants__input": !0, organizer: (e == null ? void 0 : e.is_organizer) === !0 }, part: "nadtnlpart__input" }, e.is_organizer ? s("input-component", { class: "label-input", name: `${t}`, key: t, label: c.t("nylasAdditionalParticipants.organizer"), required: !1, requiredError: this.requiredError, patternError: this.patternError, readOnly: e.is_organizer, defaultValue: e.email }, this.isRoundRobinConfig && s("div", { class: "required-input", slot: "additional-input" }, s("input", { type: "checkbox", name: "organizer_participant", id: "organizer_participant", onClick: () => {
|
|
294
294
|
this.includeOrganizerAsParticipant = !this.includeOrganizerAsParticipant, this.updateFormValue();
|
|
295
|
-
}, checked: this.includeOrganizerAsParticipant }), s("label", { htmlFor: "organizer_participant", "aria-label": "Include as participant" }, s("span", { class: "org-as-participant", part: "nadtnlpart__org-as-participant" }, c.t("nylasAdditionalParticipants.organizerAsParticipant")), s("tooltip-component", { id: "organizer_participant_tooltip" }, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, s("strong", null, c.t("nylasAdditionalParticipants.tooltip.includeOrganizer"), ":"), " ", c.t("nylasAdditionalParticipants.tooltip.includeOrganizerDesc"), " ", s("br", null), s("strong", null, c.t("nylasAdditionalParticipants.tooltip.excludeOrganizer"), ":"), " ", c.t("nylasAdditionalParticipants.tooltip.excludeOrganizerDesc")))))) : s("input-dropdown", { id: `${t}`, name: `${t}`, filterable: !0, inputValue: e.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) }), !e.is_organizer && s("button", { onClick: () => this.removeParticipant(t), part: "nadtnlpart__remove-participant" }, s("close-icon", null)))), !e.is_valid && s("p", { class: "nylas-additional-participants__error", part: "nadtnlpart__error" }, this.participantErrors[t]))), s("p", { key: "
|
|
295
|
+
}, checked: this.includeOrganizerAsParticipant }), s("label", { htmlFor: "organizer_participant", "aria-label": "Include as participant" }, s("span", { class: "org-as-participant", part: "nadtnlpart__org-as-participant" }, c.t("nylasAdditionalParticipants.organizerAsParticipant")), s("tooltip-component", { id: "organizer_participant_tooltip" }, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, s("strong", null, c.t("nylasAdditionalParticipants.tooltip.includeOrganizer"), ":"), " ", c.t("nylasAdditionalParticipants.tooltip.includeOrganizerDesc"), " ", s("br", null), s("strong", null, c.t("nylasAdditionalParticipants.tooltip.excludeOrganizer"), ":"), " ", c.t("nylasAdditionalParticipants.tooltip.excludeOrganizerDesc")))))) : s("input-dropdown", { id: `${t}`, name: `${t}`, filterable: !0, inputValue: e.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) }), !e.is_organizer && s("button", { onClick: () => this.removeParticipant(t), part: "nadtnlpart__remove-participant" }, s("close-icon", null)))), !e.is_valid && s("p", { class: "nylas-additional-participants__error", part: "nadtnlpart__error" }, this.participantErrors[t]))), s("p", { key: "d2b56b8aedb241aa6f30d7a1cd6bbb65c3b3df83", class: "nylas-additional-participants__error", part: "nadtnlpart__error" }, this.error)), s("button", { key: "e9ae0842ddbfa5e99216104204e944931c234d2a", class: "nylas-additional-participants__add", part: "nadtnlpart__add-participant", onClick: () => this.addParticipant() }, s("add-circle-icon", { key: "72c4f18b78923e41c5bf85203dfddce1faf69c66" }), " ", s("span", { key: "aa8f679690c7a591d120bafb6d3df96e74db4b5e" }, this.participants.length > 1 ? c.t("nylasAdditionalParticipants.addParticipant", { context: "next" }) : c.t("nylasAdditionalParticipants.addParticipant", { context: "first" }))))));
|
|
296
296
|
}
|
|
297
297
|
static get formAssociated() {
|
|
298
298
|
return !0;
|
|
@@ -528,8 +528,8 @@ const B = class {
|
|
|
528
528
|
let r = this.descriptionRef.firstChild, l = null;
|
|
529
529
|
for (; r; ) {
|
|
530
530
|
if (r.nodeType === 3) {
|
|
531
|
-
const v = ((T = r.textContent) == null ? void 0 : T.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "",
|
|
532
|
-
if (v.includes(
|
|
531
|
+
const v = ((T = r.textContent) == null ? void 0 : T.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "", L = a.replace(/[\u200B-\u200D\uFEFF]/g, "");
|
|
532
|
+
if (v.includes(L)) {
|
|
533
533
|
l = r;
|
|
534
534
|
break;
|
|
535
535
|
}
|
|
@@ -641,13 +641,13 @@ const U = class {
|
|
|
641
641
|
d("nylas-event-info", "componentWillLoad");
|
|
642
642
|
}
|
|
643
643
|
componentDidLoad() {
|
|
644
|
-
d("nylas-event-info", "componentDidLoad"),
|
|
644
|
+
d("nylas-event-info", "componentDidLoad"), V(["inputs"], this.el);
|
|
645
645
|
}
|
|
646
646
|
disconnectedCallback() {
|
|
647
647
|
d("nylas-event-info", "disconnectedCallback");
|
|
648
648
|
}
|
|
649
649
|
render() {
|
|
650
|
-
return s(w, { key: "
|
|
650
|
+
return s(w, { key: "cfa64573a181b73e281bdba4701609cb868252c8" }, s("nylas-form-card", { key: "78088bb50a3234e17c199abc6b4e1a2fffd94707", exportparts: "nfc__header: nei__header" }, s("h1", { key: "ab1659b45f24e04683d73661fdc76a8b787398f2", slot: "header-title", class: "nylas-event-info__title", part: "nei__title" }, c.t("nylasEventInfo.headerTitle")), s("div", { key: "eda2bc7c2ce9cb16b92d48aa15dabf965d71b926", slot: "content", class: "nylas-event-info__content" }, s("slot", { key: "8c12079eb30485a8fb8c1821223b54551268b4b1", name: "inputs" }))));
|
|
651
651
|
}
|
|
652
652
|
static get formAssociated() {
|
|
653
653
|
return !0;
|
|
@@ -673,7 +673,7 @@ Te([
|
|
|
673
673
|
D("design:returntype", void 0)
|
|
674
674
|
], U.prototype, "render", null);
|
|
675
675
|
U.style = _e;
|
|
676
|
-
const
|
|
676
|
+
const Ee = ':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-event-location{display:flex;flex-direction:column;gap:4px;font-family:var(--nylas-font-family)}.nylas-event-location label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-location label span.label-icon{margin-left:4px}.nylas-event-location label span.label-icon tooltip-component{display:flex}.nylas-event-location span[slot=select-icon]{border-right:1px solid var(--nylas-base-200);padding:16px 0.75rem 16px 0.5rem;border-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:0;border-top-right-radius:0;height:20px}.nylas-event-location div.location-input{display:grid;grid-template-columns:auto 1fr;width:100%;gap:0.5rem}@media screen and (max-width: 768px){.nylas-event-location div.location-input{grid-template-columns:1fr}}.nylas-event-location div.location-input input{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:12px 16px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-event-location select-dropdown{width:208px}@media screen and (max-width: 768px){.nylas-event-location select-dropdown{width:100%}}.nylas-event-location select-dropdown::part(sd_dropdown){width:100%}.nylas-event-location select-dropdown::part(sd_dropdown-content){left:calc(35px + 0.5rem)}.nylas-event-location select-dropdown::part(sd_dropdown-button){display:flex;justify-content:space-between;width:100%;border:1px solid var(--nylas-base-200);padding:0 0.5rem}.nylas-event-location select-dropdown::part(sd_dropdown-button-selected-label){display:inline-flex;align-self:center;padding:14px 0;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', Le = Ee;
|
|
677
677
|
var Oe = function(e, t, a, o) {
|
|
678
678
|
var r = arguments.length, l = r < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, a) : o, n;
|
|
679
679
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
@@ -741,7 +741,7 @@ const W = class {
|
|
|
741
741
|
if (this.selectedLocationOption === "custom" || this.selectedLocationOption === "none")
|
|
742
742
|
return JSON.stringify(null);
|
|
743
743
|
const e = (a = this.conferenceProviders) == null ? void 0 : a[this.selectedLocationOption], t = {
|
|
744
|
-
provider:
|
|
744
|
+
provider: E[this.selectedLocationOption],
|
|
745
745
|
autocreate: e ? {
|
|
746
746
|
conf_grant_id: e
|
|
747
747
|
} : {}
|
|
@@ -765,7 +765,7 @@ const W = class {
|
|
|
765
765
|
this.location = "", this.setFormValue("", this.name);
|
|
766
766
|
const l = (a = this.conferenceProviders) == null ? void 0 : a.google;
|
|
767
767
|
t = {
|
|
768
|
-
provider:
|
|
768
|
+
provider: E.google,
|
|
769
769
|
autocreate: l ? {
|
|
770
770
|
conf_grant_id: l
|
|
771
771
|
} : {}
|
|
@@ -776,7 +776,7 @@ const W = class {
|
|
|
776
776
|
this.location = "", this.setFormValue("", this.name);
|
|
777
777
|
const l = (o = this.conferenceProviders) == null ? void 0 : o.microsoft;
|
|
778
778
|
t = {
|
|
779
|
-
provider:
|
|
779
|
+
provider: E.microsoft,
|
|
780
780
|
autocreate: l ? {
|
|
781
781
|
conf_grant_id: l
|
|
782
782
|
} : {}
|
|
@@ -787,7 +787,7 @@ const W = class {
|
|
|
787
787
|
this.location = "", this.setFormValue("", this.name);
|
|
788
788
|
const l = (r = this.conferenceProviders) == null ? void 0 : r.zoom;
|
|
789
789
|
t = {
|
|
790
|
-
provider:
|
|
790
|
+
provider: E.zoom,
|
|
791
791
|
autocreate: l ? {
|
|
792
792
|
conf_grant_id: l
|
|
793
793
|
} : {}
|
|
@@ -847,7 +847,7 @@ const W = class {
|
|
|
847
847
|
}
|
|
848
848
|
render() {
|
|
849
849
|
const e = typeof this.selectedLocationOption < "u" ? this.locationOptions.find((t) => t.value == this.selectedLocationOption) : null;
|
|
850
|
-
return s(w, { key: "
|
|
850
|
+
return s(w, { key: "bf87c5a654fdee86010c2668fac1f83a73ff10e0" }, s("div", { key: "02aff0e3cec5648119ad49765cc9dd286590a394", class: "nylas-event-location", part: "nel" }, s("label", { key: "3020aa8125f0c83d64354165ec2d86d686074b03", htmlFor: "location" }, c.t("nylasEventLocation.headerTitle"), s("span", { key: "3548617f680e2c9c32d9923b363b5102bf18e038", class: "label-icon" }, s("tooltip-component", { key: "b3a39251ae1765b57495b114bd7bacac5ccebff0" }, s("info-icon", { key: "6d9ce12b83c54a9d50f117f6489dde230793dcbd", slot: "tooltip-icon" }), s("span", { key: "43a481ff7264a34c40a2c14a3de27c25c70fc6d2", slot: "tooltip-content" }, c.t("nylasEventLocation.tooltip.desc"))))), s("div", { key: "89f50d652845a1e8f2ceae3fa1801e08cf9a7f1c", class: "location-input" }, s("select-dropdown", { key: "a686995fc1dafea5e551ba7dd120faff715ba781", withSearch: !1, name: "location", options: this.locationOptions, defaultSelectedOption: e, exportparts: "sd_dropdown: nel__dropdown, sd_dropdown-button: nel__dropdown-button, sd_dropdown-content: nel__dropdown-content" }, s("span", { key: "f76bd15d42f02f9492a3164da072acf2e4199955", slot: "select-icon" }, this.getIcon(this.selectedLocationOption))), this.selectedLocationOption === "custom" && s("input", { type: "text", part: "nel__location", id: "location", name: "location", maxlength: "1024", value: this.location, onInput: (t) => this.handleChange(t) }))));
|
|
851
851
|
}
|
|
852
852
|
static get formAssociated() {
|
|
853
853
|
return !0;
|
|
@@ -881,7 +881,7 @@ Oe([
|
|
|
881
881
|
P("design:paramtypes", []),
|
|
882
882
|
P("design:returntype", void 0)
|
|
883
883
|
], W.prototype, "render", null);
|
|
884
|
-
W.style =
|
|
884
|
+
W.style = Le;
|
|
885
885
|
const Ie = ':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-event-title{display:flex;flex-direction:column;gap:4px;position:relative;text-align:left}.nylas-event-title div.title{padding:12px 16px;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);overflow:auto;white-space:nowrap;scrollbar-width:thin}.nylas-event-title div.title::-webkit-scrollbar{width:6px;height:6px}.nylas-event-title div.title.error{border-color:var(--nylas-error);border-width:2px;outline:none}.nylas-event-title input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200)}.nylas-event-title span.help-text{display:inline-block;gap:4px;align-items:center;color:var(--nylas-base-500);font-size:14px;font-style:normal;font-weight:400;line-height:21px;position:relative}.nylas-event-title span.help-text span.label-icon{display:inline-block}.nylas-event-title span.help-text span.label-icon tooltip-component::part(tc__container){position:unset}.nylas-event-title span.help-text span.label-icon tooltip-component::part(tc__content){position:absolute;top:4px;left:50%;transform:translateX(-50%)}.nylas-event-title span.error-message{color:var(--nylas-error)}.nylas-event-title label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-title label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-title label span.label-icon{margin-left:4px}.nylas-event-title label span.label-icon tooltip-component{display:flex}.highlighted-tag{background-color:var(--nylas-base-200);border-radius:var(--nylas-border-radius);padding:5px;margin-left:4px}.token-options{display:block;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;top:80px;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}@media screen and (max-width: 768px){.token-options{right:0;width:325px;max-width:unset}}.token-options ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px;margin:0}.token-options ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);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}.token-options ul li .token-label{display:flex;flex-direction:column;font-weight:400}.token-options ul li .token-label .token{color:var(--nylas-abse-900);font-size:16px;line-height:24px}.token-options ul li .token-label .description{color:var(--nylas-base-600);font-size:14px;line-height:21px}.token-options ul li:hover,.token-options ul li:focus,.token-options ul li:active,.token-options ul li.active{background-color:var(--nylas-base-100)}.token-options ul li:hover .token-label .token,.token-options ul li:focus .token-label .token,.token-options ul li:active .token-label .token,.token-options ul li.active .token-label .token{color:var(--nylas-primary)}.token-options .selected{background-color:var(--nylas-base-100)}', Ae = Ie;
|
|
886
886
|
var De = function(e, t, a, o) {
|
|
887
887
|
var r = arguments.length, l = r < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, a) : o, n;
|
|
@@ -891,7 +891,7 @@ var De = function(e, t, a, o) {
|
|
|
891
891
|
for (var i = e.length - 1; i >= 0; i--)
|
|
892
892
|
(n = e[i]) && (l = (r < 3 ? n(l) : r > 3 ? n(t, a, l) : n(t, a)) || l);
|
|
893
893
|
return r > 3 && l && Object.defineProperty(t, a, l), l;
|
|
894
|
-
},
|
|
894
|
+
}, F = function(e, t) {
|
|
895
895
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
896
896
|
return Reflect.metadata(e, t);
|
|
897
897
|
};
|
|
@@ -1078,8 +1078,8 @@ const j = class {
|
|
|
1078
1078
|
let r = this.titleRef.firstChild, l = null;
|
|
1079
1079
|
for (; r; ) {
|
|
1080
1080
|
if (r.nodeType === 3) {
|
|
1081
|
-
const v = ((T = r.textContent) == null ? void 0 : T.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "",
|
|
1082
|
-
if (v.includes(
|
|
1081
|
+
const v = ((T = r.textContent) == null ? void 0 : T.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "", L = a.replace(/[\u200B-\u200D\uFEFF]/g, "");
|
|
1082
|
+
if (v.includes(L)) {
|
|
1083
1083
|
l = r;
|
|
1084
1084
|
break;
|
|
1085
1085
|
}
|
|
@@ -1150,13 +1150,13 @@ De([
|
|
|
1150
1150
|
eventToProps: {},
|
|
1151
1151
|
fireRegisterEvent: !0
|
|
1152
1152
|
}),
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1153
|
+
F("design:type", Function),
|
|
1154
|
+
F("design:paramtypes", []),
|
|
1155
|
+
F("design:returntype", void 0)
|
|
1156
1156
|
], j.prototype, "render", null);
|
|
1157
1157
|
j.style = Ae;
|
|
1158
|
-
const Pe = ':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.card-wrapper{background:var(--nylas-base-0);display:flex;flex-direction:column;font-family:var(--nylas-font-family);background-color:var(--nylas-base-0);color:var(--nylas-base-900);border-radius:var(--nylas-border-radius-3x);position:relative;padding:32px;width:562px;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.card-wrapper{width:100%;border-radius:0px}}.header{overflow-wrap:anywhere;display:flex;flex-direction:column;font-size:16px;font-weight:400}.header h2{color:var(--nylas-base-900);font-size:24px;font-weight:600;text-align:left;margin:0}.description.title-desc{margin-bottom:2rem}.description.footer-desc{margin-top:2rem}.description.footer-desc a{color:var(--nylas-primary);text-decoration:none}.description p{margin:0;font-size:18px;color:var(--nylas-base-600)}.footer{margin-top:1rem;padding-top:1rem;display:flex;justify-content:flex-end;gap:0.5rem;box-sizing:border-box;background-color:var(--nylas-base-25);width:100%;border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x)}.close-button{width:100%;display:flex;justify-content:flex-end}.close-button button-component button{padding:0;height:auto}.close-button button-component button:hover{background-color:transparent !important}button-component{--dot-color:var(--nylas-base-700)}',
|
|
1159
|
-
var
|
|
1158
|
+
const Pe = ':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.card-wrapper{background:var(--nylas-base-0);display:flex;flex-direction:column;font-family:var(--nylas-font-family);background-color:var(--nylas-base-0);color:var(--nylas-base-900);border-radius:var(--nylas-border-radius-3x);position:relative;padding:32px;width:562px;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.card-wrapper{width:100%;border-radius:0px}}.header{overflow-wrap:anywhere;display:flex;flex-direction:column;font-size:16px;font-weight:400}.header h2{color:var(--nylas-base-900);font-size:24px;font-weight:600;text-align:left;margin:0}.description.title-desc{margin-bottom:2rem}.description.footer-desc{margin-top:2rem}.description.footer-desc a{color:var(--nylas-primary);text-decoration:none}.description p{margin:0;font-size:18px;color:var(--nylas-base-600)}.footer{margin-top:1rem;padding-top:1rem;display:flex;justify-content:flex-end;gap:0.5rem;box-sizing:border-box;background-color:var(--nylas-base-25);width:100%;border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x)}.close-button{width:100%;display:flex;justify-content:flex-end}.close-button button-component button{padding:0;height:auto}.close-button button-component button:hover{background-color:transparent !important}button-component{--dot-color:var(--nylas-base-700)}', Fe = Pe;
|
|
1159
|
+
var $e = function(e, t, a, o) {
|
|
1160
1160
|
var r = arguments.length, l = r < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, a) : o, n;
|
|
1161
1161
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
1162
1162
|
l = Reflect.decorate(e, t, a, o);
|
|
@@ -1164,7 +1164,7 @@ var Fe = function(e, t, a, o) {
|
|
|
1164
1164
|
for (var i = e.length - 1; i >= 0; i--)
|
|
1165
1165
|
(n = e[i]) && (l = (r < 3 ? n(l) : r > 3 ? n(t, a, l) : n(t, a)) || l);
|
|
1166
1166
|
return r > 3 && l && Object.defineProperty(t, a, l), l;
|
|
1167
|
-
},
|
|
1167
|
+
}, $ = function(e, t) {
|
|
1168
1168
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
1169
1169
|
return Reflect.metadata(e, t);
|
|
1170
1170
|
};
|
|
@@ -1196,15 +1196,15 @@ const Z = class {
|
|
|
1196
1196
|
e.preventDefault(), e.stopImmediatePropagation(), this.feedbackModalClosed.emit();
|
|
1197
1197
|
}
|
|
1198
1198
|
render() {
|
|
1199
|
-
return s(w, { key: "
|
|
1199
|
+
return s(w, { key: "3dfba1b006f09a9ac9ccdd03a659784b86df25d4", part: "nfbf" }, s("div", { key: "f548f82b9689115b254815c0a6b940d1450ada04", class: "card-wrapper", part: "nfbfc__card" }, s("div", { key: "3e1be6b2ff7d6818b677f09772cde78edb4c7ef1", class: "close-button" }, s("button-component", { key: "dd98523ad84cc745f24daa400bb41753d103c3c6", tooltip: "Close", id: "close", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__close-button" }, s("close-icon", { key: "0b919c2be114e231ff8eb7121536b6c24dfb7158" }))), s("div", { key: "2c62e429a6871d1dc6a34df4fc37440e61e9e041", class: "header" }, s("h2", { key: "8c1009dc5a853bb0cbc21b64958353c95a0ca140", slot: "card-title", part: "nfbf__title" }, c.t("feedbackFormTitle"))), s("div", { key: "b16e5a7c0e3b299d6ee9a74d154aa3628e9d4d25", class: "description title-desc" }, s("p", { key: "00675ebd52e88ed101df5710b3bded1f6424c274" }, c.t("feedbackFormDescription"))), s("textarea-component", { key: "7b021701b44eb5b3ba02ee3191d3866489f4ec8a", label: c.t("feedbackMessageLabel"), required: !0, maxLength: 500, part: "nfbf__description", name: "feedback", placeholder: c.t("feedbackMessagePlaceholder") }), s("div", { key: "def91af529f167b1fac0cc078f79cec67b961a1a", class: "description footer-desc" }, s("p", { key: "ad346ef93ae4a25fd5478284ff5415eb62b54f26" }, "By sending this report, you agree to Nylas’ access to the data necessary to respond to this issue, subject to Nylas’", " ", s("a", { key: "cd6a79cf548346d92d04264c4ff7244a032c3977", href: "https://www.nylas.com/privacy-policy/", target: "_blank", rel: "nofollow noreferrer noopener" }, "Privacy Policy"), ".")), s("div", { key: "5dfee1045b6711f5cf7d15009c86c0fd9b76b137", class: {
|
|
1200
1200
|
footer: !0
|
|
1201
|
-
} }, s("button-component", { key: "
|
|
1201
|
+
} }, s("button-component", { key: "45894bd04b89365c83d7e2a07e8a62ee7c94b6c0", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__button-outline nfbf__cancel-cta" }, `${c.t("feedbackModalCloseButton")}`), s("button-component", { key: "ac586974014c3e3b6b454a8b830585b76bc1f290", variant: "primary", onClick: this.handleConfirmBookingButtonClicked, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${c.t("feedbackModalSubmitButton")}`))));
|
|
1202
1202
|
}
|
|
1203
1203
|
get host() {
|
|
1204
1204
|
return x(this);
|
|
1205
1205
|
}
|
|
1206
1206
|
};
|
|
1207
|
-
|
|
1207
|
+
$e([
|
|
1208
1208
|
C({
|
|
1209
1209
|
name: "nylas-feedback-form",
|
|
1210
1210
|
stateToProps: /* @__PURE__ */ new Map([]),
|
|
@@ -1215,11 +1215,11 @@ Fe([
|
|
|
1215
1215
|
localPropsToProp: /* @__PURE__ */ new Map([["themeConfig", "themeConfig"]]),
|
|
1216
1216
|
fireRegisterEvent: !0
|
|
1217
1217
|
}),
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1218
|
+
$("design:type", Function),
|
|
1219
|
+
$("design:paramtypes", []),
|
|
1220
|
+
$("design:returntype", void 0)
|
|
1221
1221
|
], Z.prototype, "render", null);
|
|
1222
|
-
Z.style =
|
|
1222
|
+
Z.style = Fe;
|
|
1223
1223
|
const Re = ':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff}.nylas-reminder-time{display:flex;flex-direction:column;gap:4px}.nylas-reminder-time label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-reminder-time label span.required{color:var(--nylas-error, #cc4841)}.nylas-reminder-time label span.label-icon{margin-left:4px}.nylas-reminder-time label span.label-icon tooltip-component{display:flex}.nylas-reminder-time__wrapper{display:flex;align-items:center;justify-content:flex-end;gap:0.5rem}.nylas-reminder-time__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-reminder-time__wrapper input-dropdown{width:80px}.nylas-reminder-time__wrapper input-dropdown::part(id_dropdown-input){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:14px 16px}.nylas-reminder-time__wrapper input-dropdown::part(id_dropdown-content){width:100%;min-width:unset;height:160px}.nylas-reminder-time__wrapper select-dropdown{width:120px}@media screen and (max-width: 768px){.nylas-reminder-time__wrapper select-dropdown{width:100%}}.nylas-reminder-time__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200)}', Se = Re;
|
|
1224
1224
|
var He = function(e, t, a, o) {
|
|
1225
1225
|
var r = arguments.length, l = r < 3 ? t : o === null ? o = Object.getOwnPropertyDescriptor(t, a) : o, n;
|
|
@@ -1279,7 +1279,7 @@ const K = class {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
render() {
|
|
1281
1281
|
const e = typeof this.selectedNumber == "number" && typeof this.selectedPeriod == "string";
|
|
1282
|
-
return s(w, { key: "
|
|
1282
|
+
return s(w, { key: "e19066f3a7ccfaeba4b2ae9b4e370a35d479b0f6" }, s("div", { key: "f8a6527dfa9541a953de5c17ea07b924ca9810c2", class: "nylas-reminder-time", part: "nrt" }, s("div", { key: "ff839bfde9b694f1370a4a459f3e698b93aca9c7", class: "nylas-reminder-time__wrapper" }, e && s("time-period-selector", { id: "limit-future-bookings", part: "nrt__time-period-selector", hasError: this.errorState, timePeriods: [
|
|
1283
1283
|
{ value: "minute", label: c.t("timeDuration", { context: "minute" }) },
|
|
1284
1284
|
{ value: "hour", label: c.t("timeDuration", { context: "hour" }) },
|
|
1285
1285
|
{ value: "day", label: c.t("timePeriod", { context: "day" }) }
|
|
@@ -1316,7 +1316,7 @@ const Me = ".sc-trash-icon-h{display:flex}", Ne = Me, ze = class {
|
|
|
1316
1316
|
b(this, e), this.width = "20", this.height = "21";
|
|
1317
1317
|
}
|
|
1318
1318
|
render() {
|
|
1319
|
-
return s("svg", { key: "
|
|
1319
|
+
return s("svg", { key: "cd43bcf8a91abf12501571439a02652afeff0b0f", width: this.width, height: this.height, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "2870e48a14d2a84175298a75d47e3224a10385a4", d: "M10 0.25C11.733 0.25 13.1492 1.60645 13.2449 3.31558L13.25 3.5H18.5C18.9142 3.5 19.25 3.83579 19.25 4.25C19.25 4.6297 18.9678 4.94349 18.6018 4.99315L18.5 5H17.704L16.4239 18.0192C16.2912 19.3683 15.1984 20.41 13.8626 20.4945L13.6871 20.5H6.31293C4.95734 20.5 3.81365 19.5145 3.59883 18.1934L3.57614 18.0192L2.295 5H1.5C1.1203 5 0.806509 4.71785 0.756847 4.35177L0.75 4.25C0.75 3.8703 1.03215 3.55651 1.39823 3.50685L1.5 3.5H6.75C6.75 1.70507 8.20507 0.25 10 0.25ZM16.197 5H3.802L5.06893 17.8724C5.12768 18.4696 5.60033 18.9343 6.18585 18.9936L6.31293 19H13.6871C14.2872 19 14.7959 18.5751 14.9123 17.9982L14.9311 17.8724L16.197 5ZM11.75 7.75C12.1297 7.75 12.4435 8.03215 12.4932 8.39823L12.5 8.5V15.5C12.5 15.9142 12.1642 16.25 11.75 16.25C11.3703 16.25 11.0565 15.9678 11.0068 15.6018L11 15.5V8.5C11 8.08579 11.3358 7.75 11.75 7.75ZM8.25 7.75C8.6297 7.75 8.94349 8.03215 8.99315 8.39823L9 8.5V15.5C9 15.9142 8.66421 16.25 8.25 16.25C7.8703 16.25 7.55651 15.9678 7.50685 15.6018L7.5 15.5V8.5C7.5 8.08579 7.83579 7.75 8.25 7.75ZM10 1.75C9.08183 1.75 8.32881 2.45711 8.2558 3.35647L8.25 3.5H11.75C11.75 2.5335 10.9665 1.75 10 1.75Z", fill: "currentColor" }));
|
|
1320
1320
|
}
|
|
1321
1321
|
};
|
|
1322
1322
|
ze.style = Ne;
|