@nylas/react 1.4.4 → 2.0.0

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.
Files changed (161) hide show
  1. package/README.md +7 -0
  2. package/dist/add-circle-icon_2.entry-8a1c55bc.cjs +1 -0
  3. package/dist/{add-circle-icon_2.entry-615fc101.js → add-circle-icon_2.entry-b4bbcfee.js} +3 -3
  4. package/dist/archive-icon.entry-a2492cf3.js +16 -0
  5. package/dist/archive-icon.entry-e48d2356.cjs +1 -0
  6. package/dist/{arrow-icon.entry-da152ec2.js → arrow-icon.entry-9414299f.js} +5 -5
  7. package/dist/arrow-icon.entry-b1ecb2aa.cjs +1 -0
  8. package/dist/{bold-icon.entry-61046c15.js → bold-icon.entry-b72aed9f.js} +4 -4
  9. package/dist/{bold-icon.entry-58679992.cjs → bold-icon.entry-c781e9c1.cjs} +1 -1
  10. package/dist/{button-component_2.entry-db53e00a.js → button-component_2.entry-36e49459.js} +9 -9
  11. package/dist/{button-component_2.entry-53bfdc19.cjs → button-component_2.entry-73f76545.cjs} +1 -1
  12. package/dist/calendar-agenda-fill-icon_36.entry-e9b92e0e.cjs +6 -0
  13. package/dist/{calendar-agenda-fill-icon_36.entry-76796ea7.js → calendar-agenda-fill-icon_36.entry-efa7ad26.js} +100 -100
  14. package/dist/{calendar-cancel-icon.entry-e5032d71.cjs → calendar-cancel-icon.entry-01c388eb.cjs} +1 -1
  15. package/dist/{calendar-cancel-icon.entry-f3b8ae99.js → calendar-cancel-icon.entry-0f739a8a.js} +4 -4
  16. package/dist/{calendar-check-icon_2.entry-7303362a.cjs → calendar-check-icon_2.entry-5febbadf.cjs} +1 -1
  17. package/dist/{calendar-check-icon_2.entry-27dc91f7.js → calendar-check-icon_2.entry-dfb0036d.js} +3 -3
  18. package/dist/{calendar-icon.entry-4f432baf.cjs → calendar-icon.entry-9743e0b7.cjs} +1 -1
  19. package/dist/{calendar-icon.entry-48fc45d6.js → calendar-icon.entry-f197396d.js} +2 -2
  20. package/dist/{checkbox-component.entry-8fad4faf.cjs → checkbox-component.entry-1aa5782f.cjs} +1 -1
  21. package/dist/{checkbox-component.entry-a15ffc4c.js → checkbox-component.entry-72a6aa72.js} +4 -4
  22. package/dist/checkmark-icon_15.entry-35dd97b7.cjs +5 -0
  23. package/dist/{checkmark-icon_15.entry-9f926a70.js → checkmark-icon_15.entry-5c09cff5.js} +225 -223
  24. package/dist/{chevron-icon_3.entry-5130fbba.js → chevron-icon_3.entry-4a72f211.js} +6 -6
  25. package/dist/chevron-icon_3.entry-e0608b7c.cjs +1 -0
  26. package/dist/{clock-icon_4.entry-40a393c9.js → clock-icon_4.entry-0afe79c2.js} +8 -8
  27. package/dist/{clock-icon_4.entry-ac65deae.cjs → clock-icon_4.entry-202ce025.cjs} +1 -1
  28. package/dist/constants-f51538ef-cd2a67c4.cjs +1 -0
  29. package/dist/{constants-3d8016e3-3c080f00.js → constants-f51538ef-e0a5f026.js} +27 -32
  30. package/dist/{customParseFormat-a4d9ea69-763f219e.cjs → customParseFormat-d1de5ed0-65a0bba3.cjs} +1 -1
  31. package/dist/{customParseFormat-a4d9ea69-7caebeb2.js → customParseFormat-d1de5ed0-c0ef002d.js} +1 -1
  32. package/dist/{delete-icon.entry-78e44eba.js → delete-icon.entry-580bfcc9.js} +4 -4
  33. package/dist/{delete-icon.entry-770dac8c.cjs → delete-icon.entry-762ac892.cjs} +1 -1
  34. package/dist/{document-refresh-icon.entry-d331f844.cjs → document-refresh-icon.entry-4e0f0c61.cjs} +1 -1
  35. package/dist/document-refresh-icon.entry-e500b4e3.js +16 -0
  36. package/dist/elements/index.d.ts +0 -8
  37. package/dist/{feedbackSync-57bb471a-ee800a95.js → feedbackSync-172f942c-42124493.js} +1 -1
  38. package/dist/{feedbackSync-57bb471a-5afb7715.cjs → feedbackSync-172f942c-62f72bd2.cjs} +1 -1
  39. package/dist/{folder-icon.entry-163e0aee.cjs → folder-icon.entry-2694e253.cjs} +1 -1
  40. package/dist/{folder-icon.entry-42650400.js → folder-icon.entry-54c3cc66.js} +2 -2
  41. package/dist/{forward-icon.entry-d60b6e31.js → forward-icon.entry-5e540f05.js} +5 -5
  42. package/dist/{forward-icon.entry-0a499b38.cjs → forward-icon.entry-f07102d8.cjs} +1 -1
  43. package/dist/{globe-icon_2.entry-19359092.cjs → globe-icon_2.entry-14a4c168.cjs} +1 -1
  44. package/dist/{globe-icon_2.entry-5afa8049.js → globe-icon_2.entry-aaceb196.js} +90 -80
  45. package/dist/{google-logo-icon_6.entry-d2febb78.js → google-logo-icon_6.entry-00d40db2.js} +473 -439
  46. package/dist/google-logo-icon_6.entry-fa76ffe3.cjs +2 -0
  47. package/dist/{google-meet-icon_5.entry-4a94137f.cjs → google-meet-icon_5.entry-6c20e149.cjs} +1 -1
  48. package/dist/{google-meet-icon_5.entry-7b1b36f2.js → google-meet-icon_5.entry-f1f05903.js} +12 -12
  49. package/dist/inbox-icon.entry-9a4628f2.cjs +1 -0
  50. package/dist/inbox-icon.entry-aa78ba8c.js +16 -0
  51. package/dist/index-1e75512f.cjs +57 -0
  52. package/dist/{index-9243e481.js → index-e8380973.js} +5687 -4802
  53. package/dist/{index.es-13ff6710-0f748bd2.cjs → index.es-fc8588de-034ead51.cjs} +6 -6
  54. package/dist/{index.es-13ff6710-73fa05e6.js → index.es-fc8588de-c943eef6.js} +827 -1065
  55. package/dist/{info-icon_2.entry-ba869bab.js → info-icon_2.entry-b3b313ab.js} +3 -3
  56. package/dist/{info-icon_2.entry-6667923a.cjs → info-icon_2.entry-bbcefb9a.cjs} +1 -1
  57. package/dist/{input-component.entry-7396acf1.js → input-component.entry-401b9ba5.js} +9 -9
  58. package/dist/{input-component.entry-db84f917.cjs → input-component.entry-ec8e8e7c.cjs} +1 -1
  59. package/dist/input-dropdown_2.entry-8cb11601.cjs +1 -0
  60. package/dist/{input-dropdown_2.entry-20f2031b.js → input-dropdown_2.entry-c37f392c.js} +6 -6
  61. package/dist/italic-icon.entry-0e85d0d9.js +16 -0
  62. package/dist/italic-icon.entry-6675558a.cjs +1 -0
  63. package/dist/{multi-select-dropdown_2.entry-81740b34.js → multi-select-dropdown_2.entry-3eecf18a.js} +22 -16
  64. package/dist/{multi-select-dropdown_2.entry-8e07b42b.cjs → multi-select-dropdown_2.entry-e37c501d.cjs} +1 -1
  65. package/dist/{nylas-booked-event-card_12.entry-e56c8e92.js → nylas-booked-event-card_12.entry-e7464ae7.js} +226 -224
  66. package/dist/nylas-booked-event-card_12.entry-fddc9ab8.cjs +1 -0
  67. package/dist/{nylas-event-calendar_3.entry-2504c7c0.js → nylas-event-calendar_3.entry-9abd46c2.js} +2360 -2238
  68. package/dist/nylas-event-calendar_3.entry-e6669bbf.cjs +11 -0
  69. package/dist/{nylas-form-card.entry-98903549.js → nylas-form-card.entry-a3186807.js} +3 -3
  70. package/dist/{nylas-form-card.entry-c406e3d3.cjs → nylas-form-card.entry-cbb00fba.cjs} +1 -1
  71. package/dist/nylas-scheduler-editor.entry-5c92901a.cjs +2 -0
  72. package/dist/{nylas-scheduler-editor.entry-670cc0b8.js → nylas-scheduler-editor.entry-7b188a38.js} +83 -50
  73. package/dist/nylas-scheduling.entry-970240f6.cjs +1 -0
  74. package/dist/nylas-scheduling.entry-e9929b03.js +968 -0
  75. package/dist/{person-icon.entry-bdaa899b.cjs → person-icon.entry-8998fdb8.cjs} +1 -1
  76. package/dist/{person-icon.entry-3bca6e51.js → person-icon.entry-d2856f08.js} +4 -4
  77. package/dist/{play-icon.entry-ecc86e85.cjs → play-icon.entry-99eb969b.cjs} +1 -1
  78. package/dist/play-icon.entry-f949a80f.js +16 -0
  79. package/dist/{radio-button-group.entry-9851076c.js → radio-button-group.entry-bc3b12fd.js} +2 -2
  80. package/dist/{radio-button-group.entry-6965ad34.cjs → radio-button-group.entry-d66edd04.cjs} +1 -1
  81. package/dist/react.cjs +1 -1
  82. package/dist/react.js +96 -104
  83. package/dist/{refresh-icon.entry-90d52ab3.cjs → refresh-icon.entry-99d1982d.cjs} +1 -1
  84. package/dist/{refresh-icon.entry-d776c4a7.js → refresh-icon.entry-d6df8b1c.js} +2 -2
  85. package/dist/{register-component-02a05665-2e992621.js → register-component-62d792d4-448b6a43.js} +1 -1
  86. package/dist/{register-component-02a05665-75652287.cjs → register-component-62d792d4-c6e7d129.cjs} +1 -1
  87. package/dist/{reply-all-icon.entry-24f7c0fe.js → reply-all-icon.entry-7ebf01a0.js} +2 -2
  88. package/dist/{reply-all-icon.entry-6e49eb03.cjs → reply-all-icon.entry-d7c44139.cjs} +1 -1
  89. package/dist/{reply-icon.entry-7fff25c9.cjs → reply-icon.entry-058c00e8.cjs} +1 -1
  90. package/dist/{reply-icon.entry-d5d26d65.js → reply-icon.entry-d1622d85.js} +5 -5
  91. package/dist/sent-icon.entry-6c604512.cjs +1 -0
  92. package/dist/sent-icon.entry-fe12bc2f.js +16 -0
  93. package/dist/spam-icon.entry-45e5292e.cjs +1 -0
  94. package/dist/spam-icon.entry-b97c7709.js +16 -0
  95. package/dist/{star-icon.entry-3c57a35c.cjs → star-icon.entry-4db13fdb.cjs} +1 -1
  96. package/dist/{star-icon.entry-c2e743a9.js → star-icon.entry-98b80645.js} +6 -6
  97. package/dist/{stop-icon.entry-0b9563d5.js → stop-icon.entry-0290fd30.js} +2 -2
  98. package/dist/{stop-icon.entry-cf4c4e63.cjs → stop-icon.entry-9d7b53fd.cjs} +1 -1
  99. package/dist/{textarea-component.entry-2eccc173.cjs → textarea-component.entry-9b474ab5.cjs} +1 -1
  100. package/dist/{textarea-component.entry-60e7a4d0.js → textarea-component.entry-a62c257b.js} +2 -2
  101. package/dist/{toggle-switch.entry-612744fd.cjs → toggle-switch.entry-5dbfcd48.cjs} +1 -1
  102. package/dist/{toggle-switch.entry-0a6b01e6.js → toggle-switch.entry-e423b793.js} +2 -2
  103. package/dist/{translate-icon.entry-ede5f77d.js → translate-icon.entry-60c55a2e.js} +4 -4
  104. package/dist/{translate-icon.entry-8adc4146.cjs → translate-icon.entry-f82fa6fc.cjs} +1 -1
  105. package/dist/trash-fill-icon.entry-095caae3.cjs +1 -0
  106. package/dist/trash-fill-icon.entry-825055fd.js +16 -0
  107. package/dist/{underline-icon.entry-d2fe2da6.cjs → underline-icon.entry-0807a43d.cjs} +1 -1
  108. package/dist/{underline-icon.entry-b2b43ba2.js → underline-icon.entry-40028bc6.js} +2 -2
  109. package/dist/{warning-icon.entry-0a5c7337.js → warning-icon.entry-24e37759.js} +2 -2
  110. package/dist/{warning-icon.entry-85822f4d.cjs → warning-icon.entry-fce7c14f.cjs} +1 -1
  111. package/package.json +2 -2
  112. package/dist/add-circle-icon_2.entry-e616ece6.cjs +0 -1
  113. package/dist/archive-icon.entry-41938a61.cjs +0 -1
  114. package/dist/archive-icon.entry-bd81d2d9.js +0 -16
  115. package/dist/arrow-icon.entry-4103be57.cjs +0 -1
  116. package/dist/calendar-agenda-fill-icon_36.entry-917e4a9d.cjs +0 -6
  117. package/dist/checkmark-icon_15.entry-08c8b107.cjs +0 -5
  118. package/dist/chevron-icon_3.entry-2f75c3c4.cjs +0 -1
  119. package/dist/constants-3d8016e3-fd6c3848.cjs +0 -1
  120. package/dist/document-refresh-icon.entry-f6dfe744.js +0 -16
  121. package/dist/google-logo-icon_6.entry-896a10a5.cjs +0 -2
  122. package/dist/inbox-icon.entry-24ec450f.cjs +0 -1
  123. package/dist/inbox-icon.entry-b71acde0.js +0 -16
  124. package/dist/index-efb6db79.cjs +0 -57
  125. package/dist/input-dropdown_2.entry-0c219620.cjs +0 -1
  126. package/dist/italic-icon.entry-a9324a8a.cjs +0 -1
  127. package/dist/italic-icon.entry-c42f8112.js +0 -16
  128. package/dist/notebook-store-b61693cd-5657061b.js +0 -14
  129. package/dist/notebook-store-b61693cd-6515d345.cjs +0 -5
  130. package/dist/nylas-booked-event-card_12.entry-7c7afae5.cjs +0 -1
  131. package/dist/nylas-call-summary.entry-4bf7284f.cjs +0 -1
  132. package/dist/nylas-call-summary.entry-ad6fb46a.js +0 -16
  133. package/dist/nylas-event-calendar_3.entry-f747f6a8.cjs +0 -6
  134. package/dist/nylas-if-state.entry-6b071705.cjs +0 -1
  135. package/dist/nylas-if-state.entry-7468854a.js +0 -95
  136. package/dist/nylas-key-points.entry-7af8da1a.cjs +0 -1
  137. package/dist/nylas-key-points.entry-c186445e.js +0 -29
  138. package/dist/nylas-login.entry-171bd025.cjs +0 -1
  139. package/dist/nylas-login.entry-d85c1473.js +0 -74
  140. package/dist/nylas-provider.entry-ab1f6886.js +0 -265
  141. package/dist/nylas-provider.entry-e4231b93.cjs +0 -1
  142. package/dist/nylas-scheduler-editor.entry-d522ca98.cjs +0 -2
  143. package/dist/nylas-scheduling.entry-9e81c6fc.js +0 -439
  144. package/dist/nylas-scheduling.entry-c52edb14.cjs +0 -1
  145. package/dist/nylas-transcript.entry-a1fa7e17.cjs +0 -6
  146. package/dist/nylas-transcript.entry-fb39b5af.js +0 -128
  147. package/dist/nylas-video-player.entry-25e8cd9a.js +0 -39
  148. package/dist/nylas-video-player.entry-89842545.cjs +0 -1
  149. package/dist/nylas-video-preview.entry-28a0bd60.cjs +0 -1
  150. package/dist/nylas-video-preview.entry-80171531.js +0 -16
  151. package/dist/play-icon.entry-d548464e.js +0 -16
  152. package/dist/scheduler-config-store-d6729d8d-50920e8c.js +0 -29
  153. package/dist/scheduler-config-store-d6729d8d-a0bdda83.cjs +0 -1
  154. package/dist/scheduler-store-fe9e85a4-1dcfddfa.js +0 -533
  155. package/dist/scheduler-store-fe9e85a4-baabf78a.cjs +0 -1
  156. package/dist/sent-icon.entry-42ce5bcb.cjs +0 -1
  157. package/dist/sent-icon.entry-858fe83e.js +0 -16
  158. package/dist/spam-icon.entry-0827144e.js +0 -16
  159. package/dist/spam-icon.entry-bf1a48b6.cjs +0 -1
  160. package/dist/trash-fill-icon.entry-b6456ec8.cjs +0 -1
  161. package/dist/trash-fill-icon.entry-d48f72c5.js +0 -16
@@ -1,128 +0,0 @@
1
- import { a as C, b as p, u, r as b, h as r, g as y } from "./index-9243e481.js";
2
- import { v as x } from "./notebook-store-b61693cd-5657061b.js";
3
- import "react";
4
- import "react/jsx-runtime";
5
- import "react-dom";
6
- const d = new CSSStyleSheet();
7
- d.replaceSync(`
8
- :host {
9
- font-family: Arial, sans-serif;
10
- }
11
- `);
12
- const i = C({
13
- style: d,
14
- toolbarState: "default",
15
- searchTerm: ""
16
- }), m = ({ width: t, height: e, fill: n }) => r(
17
- "svg",
18
- { viewBox: "0 0 16 16", width: t, height: e, xmlns: "http://www.w3.org/2000/svg" },
19
- r("path", { d: "M9.30887 10.016C8.53903 10.6318 7.56252 11 6.5 11C4.01472 11 2 8.98531 2 6.50002C2 4.01473 4.01472 2 6.5 2C8.98528 2 11 4.01473 11 6.50002C11 7.56252 10.6318 8.53901 10.016 9.30885L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.6583 14.0488 13.3417 14.0488 13.1464 13.8536L9.30887 10.016ZM10 6.50002C10 4.56701 8.433 3 6.5 3C4.567 3 3 4.56701 3 6.50002C3 8.43302 4.567 10 6.5 10C8.433 10 10 8.43302 10 6.50002Z", fill: n })
20
- ), h = ({ width: t, height: e, fill: n, className: s }) => r(
21
- "svg",
22
- { width: t, height: e, class: s, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg" },
23
- r("path", { d: "M4.00029 4.08525L4 10.5C4 11.8255 5.03154 12.91 6.33562 12.9947L6.5 13L10.9144 13.0007C10.7083 13.5829 10.1528 14 9.5 14H6C4.34315 14 3 12.6569 3 11V5.5C3 4.84678 3.41754 4.29109 4.00029 4.08525ZM11.5 2C12.3284 2 13 2.67157 13 3.5V10.5C13 11.3284 12.3284 12 11.5 12H6.5C5.67157 12 5 11.3284 5 10.5V3.5C5 2.67157 5.67157 2 6.5 2H11.5ZM11.5 3H6.5C6.22386 3 6 3.22386 6 3.5V10.5C6 10.7761 6.22386 11 6.5 11H11.5C11.7761 11 12 10.7761 12 10.5V3.5C12 3.22386 11.7761 3 11.5 3Z", fill: n })
24
- ), v = ({ width: t, height: e, fill: n }) => r(
25
- "svg",
26
- { width: t, height: e, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg" },
27
- r("path", { d: "M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM8 3C8.37372 3 8.87543 3.35608 9.31258 4.31781C9.4073 4.52619 9.49448 4.75446 9.57265 5H6.42735C6.50552 4.75446 6.5927 4.52619 6.68742 4.31781C7.12457 3.35608 7.62628 3 8 3ZM5.77705 3.90401C5.62614 4.23601 5.49428 4.6038 5.38411 5H3.99963C4.52341 4.30269 5.22525 3.74677 6.03766 3.39978C5.94287 3.56117 5.85596 3.7304 5.77705 3.90401ZM5.16299 6C5.05694 6.6275 5 7.30146 5 8C5 8.69854 5.05694 9.3725 5.16299 10H3.41604C3.14845 9.38754 3 8.7111 3 8C3 7.2889 3.14845 6.61246 3.41604 6H5.16299ZM5.38411 11C5.49428 11.3962 5.62614 11.764 5.77705 12.096C5.85596 12.2696 5.94287 12.4388 6.03766 12.6002C5.22525 12.2532 4.52341 11.6973 3.99963 11H5.38411ZM6.42735 11H9.57265C9.49448 11.2455 9.4073 11.4738 9.31258 11.6822C8.87543 12.6439 8.37372 13 8 13C7.62628 13 7.12457 12.6439 6.68742 11.6822C6.5927 11.4738 6.50552 11.2455 6.42735 11ZM9.82134 10H6.17866C6.06438 9.3892 6 8.71396 6 8C6 7.28604 6.06438 6.6108 6.17866 6H9.82134C9.93562 6.6108 10 7.28604 10 8C10 8.71396 9.93562 9.3892 9.82134 10ZM10.6159 11H12.0004C11.4766 11.6973 10.7747 12.2532 9.96234 12.6002C10.0571 12.4388 10.144 12.2696 10.2229 12.096C10.3739 11.764 10.5057 11.3962 10.6159 11ZM12.584 10H10.837C10.9431 9.3725 11 8.69854 11 8C11 7.30146 10.9431 6.6275 10.837 6H12.584C12.8516 6.61246 13 7.2889 13 8C13 8.7111 12.8516 9.38754 12.584 10ZM9.96234 3.39978C10.7747 3.74677 11.4766 4.30269 12.0004 5H10.6159C10.5057 4.6038 10.3739 4.23601 10.2229 3.90401C10.144 3.7304 10.0571 3.56117 9.96234 3.39978Z", fill: n })
28
- ), g = i.get, o = i.set, l = (t, e) => g(t) === e;
29
- function w({ transcripts: t }) {
30
- const e = () => {
31
- o("searchTerm", ""), o("toolbarState", "default");
32
- }, n = async () => {
33
- const s = {
34
- "text/plain": t.map((a) => `${a.ts} ${a.speaker}: ${a.text}`).join(`
35
- `)
36
- }, c = new ClipboardItem(s);
37
- await navigator.clipboard.write([c]);
38
- };
39
- return r(
40
- "div",
41
- { class: "toolbar" },
42
- l("toolbarState", "default") && r(
43
- "div",
44
- { class: "controls" },
45
- r(
46
- "button",
47
- { onClick: () => o("toolbarState", "search") },
48
- r(m, { height: 16, fill: "#2C2C2C" }),
49
- "Search"
50
- ),
51
- r(
52
- "button",
53
- { onClick: n },
54
- r(h, { height: 16, fill: "#2C2C2C" }),
55
- "Copy"
56
- ),
57
- r(
58
- "button",
59
- { onClick: () => o("toolbarState", "language") },
60
- r(v, { height: 16, fill: "#2C2C2C" }),
61
- "Language"
62
- )
63
- ),
64
- l("toolbarState", "search") && r(
65
- "div",
66
- { class: "search" },
67
- r("input", { type: "text", value: g("searchTerm"), onInput: (s) => o("searchTerm", s.target.value), onKeyDown: (s) => s.key === "Escape" && e(), placeholder: "Search transcript", autoFocus: !0 }),
68
- r("button", { class: "clear", onClick: e }, "Cancel")
69
- ),
70
- l("toolbarState", "language") && r(
71
- "div",
72
- { class: "language" },
73
- r(
74
- "select",
75
- null,
76
- r("option", { value: "en" }, "English"),
77
- r("option", { value: "fr" }, "French")
78
- ),
79
- r("button", { class: "regenerate" }, "Regenerate"),
80
- r("button", { class: "clear", onClick: e }, "Done")
81
- )
82
- );
83
- }
84
- const S = ':host{--background:white;--font-family:"Inter", sans-serif;--border-radius:8px}.nylas-transcript{background-color:var(--background);border-radius:var(--border-radius);border:1px solid #e0e6f9;font-size:14px;font-family:var(--font-family);font-optical-sizing:auto}.nylas-transcript .toolbar{padding:20px 20px}.nylas-transcript .toolbar input,.nylas-transcript .toolbar select{border:1px solid #4169e1;padding:10px 20px;border-radius:6px;width:100%}.nylas-transcript .toolbar button.clear{background:none;border:none;cursor:pointer;font-size:14px;font-family:var(--font-family)}.nylas-transcript .toolbar .controls{display:flex;align-items:center;justify-content:stretch;gap:6px}.nylas-transcript .toolbar .controls button{font-family:var(--font-family);cursor:pointer;background-color:white;border:1px solid #c7dbf9;border-radius:8px;padding-top:12px;padding-bottom:12px;flex-grow:1;letter-spacing:-4%;display:flex;align-items:center;justify-content:center}.nylas-transcript .toolbar .controls button svg{margin-right:6px}.nylas-transcript .toolbar .controls button:active{background-color:#f0f4f9}.nylas-transcript .toolbar .search,.nylas-transcript .toolbar .language{display:flex;align-items:center;justify-content:space-between;gap:20px}.nylas-transcript .language button.regenerate{width:93px;border-radius:8px;padding:12px 8px;text-align:center;outline:0;border:none;background-color:#4169e1;color:white}.nylas-transcript .transcripts{max-height:50vh;overflow-y:auto;border-top:1px solid #ebeff6}.nylas-transcript .transcripts .no-results{padding:20px;text-align:center;color:rgba(0, 0, 0, 0.6)}.nylas-transcript .transcripts .transcripts-item{padding:16px 18px;gap:20px;display:flex;line-height:24px;border-bottom:1px solid #ebeff6;transition:0.5s background-color ease-in-out;font-size:14px}.nylas-transcript .transcripts .transcripts-item .highlight{background-color:yellow}.nylas-transcript .transcripts .transcripts-item .copy-btn{fill:#4b4b4b;cursor:pointer;width:24px;transition:0.3s transform ease-in-out}.nylas-transcript .transcripts .transcripts-item .copy-btn:active{fill:#9747ff;transform:scale(2)}.nylas-transcript .transcripts .transcripts-item .speaker{font-weight:500;font-size:16px;margin-bottom:0.5rem}.nylas-transcript .transcripts .transcripts-item.active{background-color:#ebeff6}.nylas-transcript .transcripts .transcripts-item .time{color:#9747ff;font-weight:600;min-width:60px}', k = S;
85
- p.extend(u);
86
- const H = ({ text: t, highlight: e }) => (e && (t = t.replace(new RegExp(e, "gi"), `<span class="highlight">${e}</span>`)), r("div", { innerHTML: t })), T = class {
87
- constructor(t) {
88
- b(this, t), this.focusedIndex = -1, this.autoscroll = !0, this.transcript = void 0;
89
- }
90
- componentDidLoad() {
91
- i.onChange("style", (t) => {
92
- console.log("Style change", t), this.el.shadowRoot && t && (this.el.shadowRoot.adoptedStyleSheets = [t]);
93
- });
94
- }
95
- get transcripts() {
96
- var c;
97
- const t = x.get("videoTime"), e = i.get("searchTerm");
98
- if (!this.transcript)
99
- return [];
100
- const n = this.transcript.findIndex((a) => a.start / 1e3 >= t) - 1;
101
- n >= 0 && this.autoscroll && ((c = this.transcriptContainer.querySelector(".active")) == null || c.scrollIntoView({ behavior: "smooth", block: "center" }));
102
- let s = this.transcript.map((a, f) => ({
103
- ...a,
104
- active: f === n,
105
- ts: a.start ? this.secondsToStr(a.start) : null
106
- }));
107
- return e && (s = s.filter((a) => a.text.toLowerCase().includes(e.toLowerCase()))), s;
108
- }
109
- secondsToStr(t) {
110
- return t < 36e5 ? p.utc(t).format("mm:ss") : p.utc(t).format("HH:mm:ss");
111
- }
112
- handleCopy(t) {
113
- navigator.clipboard.writeText(`${t.ts} ${t.speaker}: ${t.text}`);
114
- }
115
- render() {
116
- return r("div", { key: "690629131ffa02c83db097568bcb9d983934a52d", class: "nylas-transcript" }, r(w, { key: "e259b18c6f56c48881b305e87540ccf8752299ad", transcripts: this.transcripts }), r("div", { key: "e9fd658295e29bf38877e3bf30c324710e732b8a", class: "transcripts", ref: (t) => this.transcriptContainer = t }, !this.transcripts.length && r("div", { class: "no-results" }, "Transcript not available."), this.transcripts.map((t, e) => r("div", { class: {
117
- "transcripts-item": !0,
118
- active: t.active
119
- }, onPointerEnter: () => this.focusedIndex = e, onPointerLeave: () => this.focusedIndex = -1 }, t.ts && r("div", { class: "time" }, this.focusedIndex === e ? r("span", { onClick: () => this.handleCopy(t) }, r(h, { className: "copy-btn" })) : t.ts), r("div", { class: "message" }, r("div", { class: "speaker" }, t.speaker), r(H, { text: t.text, highlight: i.get("searchTerm") }))))));
120
- }
121
- get el() {
122
- return y(this);
123
- }
124
- };
125
- T.style = k;
126
- export {
127
- T as nylas_transcript
128
- };
@@ -1,39 +0,0 @@
1
- import { r as n, h as e, g as r } from "./index-9243e481.js";
2
- import { v as i } from "./notebook-store-b61693cd-5657061b.js";
3
- import "react";
4
- import "react/jsx-runtime";
5
- import "react-dom";
6
- const a = '.video-container{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#000;position:relative;box-sizing:border-box;border-radius:8px;font-family:"Inter", serif;font-optical-sizing:auto}.video-container video{width:100%;border-radius:8px}.video-container .controls-overlay{color:white;background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));position:absolute;bottom:0;left:0;right:0;padding:30px 20px;padding-bottom:10px;opacity:1;transition:opacity 0.3s;border-bottom-right-radius:8px;border-bottom-left-radius:8px;display:none;}.video-container .controls-overlay .seek{width:100%}.video-container .controls-overlay input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer}.video-container .controls-overlay .info{padding-bottom:20px}.video-container .controls-overlay .info .title{font-size:20px}.video-container .controls-overlay .info .description{color:#bbbbbb;font-weight:400;font-size:14px}.video-container .controls-overlay .progress-bar{background-color:rgba(255, 255, 255, 0.5);height:2px;margin:10px 0;transition:width 0.1s}.video-container .controls-overlay .progress-bar .progress{background:white;height:2px}.video-container .controls-overlay .controls{display:flex;align-items:center;justify-content:space-between}.video-container .controls-overlay .controls button{background:none;border:none}.video-container .controls-overlay input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer;width:15rem}.video-container .controls-overlay input[type=range]:focus{outline:none}.video-container .controls-overlay input[type=range]::-webkit-slider-runnable-track{background-color:#053a5f;border-radius:0.5rem;height:0.5rem}.video-container .controls-overlay input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-12px;background-color:#5cd5eb;height:2rem;width:1rem}.video-container .controls-overlay input[type=range]:focus::-webkit-slider-thumb{border:1px solid #053a5f;outline:3px solid #053a5f;outline-offset:0.125rem}.video-container .controls-overlay input[type=range]::-moz-range-track{background-color:#053a5f;border-radius:0.5rem;height:0.5rem}.video-container .controls-overlay input[type=range]::-moz-range-thumb{border:none;border-radius:0;background-color:#5cd5eb;height:2rem;width:1rem}.video-container .controls-overlay input[type=range]:focus::-moz-range-thumb{border:1px solid #053a5f;outline:3px solid #053a5f;outline-offset:0.125rem}', s = a, d = class {
7
- constructor(o) {
8
- n(this, o), this.handleTimeUpdate = () => {
9
- const t = this.videoElement;
10
- i.set("videoTime", this.videoElement.currentTime), this.isSeeking || (this.seekElement.value = (t.currentTime / t.duration * 100).toString());
11
- }, this.handlePlay = () => {
12
- this.isPlaying = !0, this.videoElement.play();
13
- }, this.handlePause = () => {
14
- this.isPlaying = !1, this.videoElement.pause();
15
- }, this.videoUrl = void 0, this.isSeeking = !1, this.isPlaying = !1;
16
- }
17
- inputSeek(o) {
18
- this.isSeeking || (this.isSeeking = !0);
19
- }
20
- handleSeek(o) {
21
- if (this.isSeeking = !1, !this.videoElement)
22
- return;
23
- const t = o.target;
24
- this.videoElement.currentTime = parseFloat(t.value) / 100 * this.videoElement.duration, this.videoElement.play();
25
- }
26
- get progressPercent() {
27
- return this.videoElement ? i.get("videoTime") / this.videoElement.duration * 100 : 0;
28
- }
29
- render() {
30
- return e("div", { key: "98a898e225274dac6fda72126de7eb3fbe3b73b0", class: "video-container" }, e("video", { key: "6ff6bd22efd243b45f7ee92a8f01b4fbe392d4b1", ref: (o) => this.videoElement = o, onPlay: this.handlePlay, onPause: this.handlePause, onTimeUpdate: this.handleTimeUpdate, controls: !0 }, this.videoUrl && e("source", { src: this.videoUrl, type: "video/mp4" })), e("div", { key: "2297c46d4b6d7803a884bbcf7c157573702880ed", class: "controls-overlay" }, e("div", { key: "5207532096947074e5906edddab4e4c573d69795", class: "info" }, e("div", { key: "f0f27ec9f18528ecae5cb705dcdd8579aee92f50", class: "title" }, "Ad Video from Google"), e("div", { key: "b6c13515720c5706f6f30d588df1371ef1d435ae", class: "description" }, "Found on the web...")), e("div", { key: "677f8ea6cbac199f4c5a3452e597dc0991c79d7a", class: "progress-bar" }, e("input", { key: "e31aa4501345fb0eb2f6bbb1ebdad5317d8bface", type: "range", ref: (o) => this.seekElement = o, min: "0", max: "100", class: "seek", value: this.progressPercent, onChange: (o) => this.handleSeek(o), onClickCapture: (o) => this.inputSeek(o) })), e("div", { key: "bdca2a6746d05ac8bc42feaf8a30029fb00c6cf4", class: "controls" }, e("div", { key: "6c9d084306cb984770b28dce6d31cf268b62073e", class: "left" }, e("button", { key: "6d128a31878bf394103bfcfb75c194d5733b5b6a", onClick: () => this.handlePlay() }), e("button", { key: "cc3d3a8fb98b3c74bb8536f43726f71255045d24", onClick: () => this.handlePause() })), e("div", { key: "e940328caf2215b148b97de6d0770d49f3621a5d", class: "right" }, e("button", { key: "7feb3b396dc1463945ab6e44b6bfbcfe8c0e0e48", onClick: () => this.handlePause() })))));
31
- }
32
- get el() {
33
- return r(this);
34
- }
35
- };
36
- d.style = s;
37
- export {
38
- d as nylas_video_player
39
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-efb6db79.cjs"),i=require("./notebook-store-b61693cd-6515d345.cjs");require("react");require("react/jsx-runtime");require("react-dom");const r='.video-container{display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#000;position:relative;box-sizing:border-box;border-radius:8px;font-family:"Inter", serif;font-optical-sizing:auto}.video-container video{width:100%;border-radius:8px}.video-container .controls-overlay{color:white;background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));position:absolute;bottom:0;left:0;right:0;padding:30px 20px;padding-bottom:10px;opacity:1;transition:opacity 0.3s;border-bottom-right-radius:8px;border-bottom-left-radius:8px;display:none;}.video-container .controls-overlay .seek{width:100%}.video-container .controls-overlay input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer}.video-container .controls-overlay .info{padding-bottom:20px}.video-container .controls-overlay .info .title{font-size:20px}.video-container .controls-overlay .info .description{color:#bbbbbb;font-weight:400;font-size:14px}.video-container .controls-overlay .progress-bar{background-color:rgba(255, 255, 255, 0.5);height:2px;margin:10px 0;transition:width 0.1s}.video-container .controls-overlay .progress-bar .progress{background:white;height:2px}.video-container .controls-overlay .controls{display:flex;align-items:center;justify-content:space-between}.video-container .controls-overlay .controls button{background:none;border:none}.video-container .controls-overlay input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer;width:15rem}.video-container .controls-overlay input[type=range]:focus{outline:none}.video-container .controls-overlay input[type=range]::-webkit-slider-runnable-track{background-color:#053a5f;border-radius:0.5rem;height:0.5rem}.video-container .controls-overlay input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-12px;background-color:#5cd5eb;height:2rem;width:1rem}.video-container .controls-overlay input[type=range]:focus::-webkit-slider-thumb{border:1px solid #053a5f;outline:3px solid #053a5f;outline-offset:0.125rem}.video-container .controls-overlay input[type=range]::-moz-range-track{background-color:#053a5f;border-radius:0.5rem;height:0.5rem}.video-container .controls-overlay input[type=range]::-moz-range-thumb{border:none;border-radius:0;background-color:#5cd5eb;height:2rem;width:1rem}.video-container .controls-overlay input[type=range]:focus::-moz-range-thumb{border:1px solid #053a5f;outline:3px solid #053a5f;outline-offset:0.125rem}',a=r,n=class{constructor(o){e.registerInstance(this,o),this.handleTimeUpdate=()=>{const t=this.videoElement;i.videoStore.set("videoTime",this.videoElement.currentTime),this.isSeeking||(this.seekElement.value=(t.currentTime/t.duration*100).toString())},this.handlePlay=()=>{this.isPlaying=!0,this.videoElement.play()},this.handlePause=()=>{this.isPlaying=!1,this.videoElement.pause()},this.videoUrl=void 0,this.isSeeking=!1,this.isPlaying=!1}inputSeek(o){this.isSeeking||(this.isSeeking=!0)}handleSeek(o){if(this.isSeeking=!1,!this.videoElement)return;const t=o.target;this.videoElement.currentTime=parseFloat(t.value)/100*this.videoElement.duration,this.videoElement.play()}get progressPercent(){return this.videoElement?i.videoStore.get("videoTime")/this.videoElement.duration*100:0}render(){return e.h("div",{key:"98a898e225274dac6fda72126de7eb3fbe3b73b0",class:"video-container"},e.h("video",{key:"6ff6bd22efd243b45f7ee92a8f01b4fbe392d4b1",ref:o=>this.videoElement=o,onPlay:this.handlePlay,onPause:this.handlePause,onTimeUpdate:this.handleTimeUpdate,controls:!0},this.videoUrl&&e.h("source",{src:this.videoUrl,type:"video/mp4"})),e.h("div",{key:"2297c46d4b6d7803a884bbcf7c157573702880ed",class:"controls-overlay"},e.h("div",{key:"5207532096947074e5906edddab4e4c573d69795",class:"info"},e.h("div",{key:"f0f27ec9f18528ecae5cb705dcdd8579aee92f50",class:"title"},"Ad Video from Google"),e.h("div",{key:"b6c13515720c5706f6f30d588df1371ef1d435ae",class:"description"},"Found on the web...")),e.h("div",{key:"677f8ea6cbac199f4c5a3452e597dc0991c79d7a",class:"progress-bar"},e.h("input",{key:"e31aa4501345fb0eb2f6bbb1ebdad5317d8bface",type:"range",ref:o=>this.seekElement=o,min:"0",max:"100",class:"seek",value:this.progressPercent,onChange:o=>this.handleSeek(o),onClickCapture:o=>this.inputSeek(o)})),e.h("div",{key:"bdca2a6746d05ac8bc42feaf8a30029fb00c6cf4",class:"controls"},e.h("div",{key:"6c9d084306cb984770b28dce6d31cf268b62073e",class:"left"},e.h("button",{key:"6d128a31878bf394103bfcfb75c194d5733b5b6a",onClick:()=>this.handlePlay()}),e.h("button",{key:"cc3d3a8fb98b3c74bb8536f43726f71255045d24",onClick:()=>this.handlePause()})),e.h("div",{key:"e940328caf2215b148b97de6d0770d49f3621a5d",class:"right"},e.h("button",{key:"7feb3b396dc1463945ab6e44b6bfbcfe8c0e0e48",onClick:()=>this.handlePause()})))))}get el(){return e.getElement(this)}};n.style=a;exports.nylas_video_player=n;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-efb6db79.cjs");require("react");require("react/jsx-runtime");require("react-dom");const d=".video-preview{border:1px solid #eee;background-color:white;border:1px solid #c7dbf9;border-radius:6px;box-sizing:border-box}.video-preview .image{position:relative;background-size:cover;height:152px}.video-preview .time{font-size:12px;padding:5px;position:absolute;top:15px;left:15px;background-color:rgba(0, 0, 0, 0.5);color:white}.video-preview .body{padding:10px}.video-preview .body .title{color:#2a282f;font-size:18px;font-weight:600;letter-spacing:-4%}.video-preview .body .description{font-weight:400;font-size:14px;line-height:16.94px;letter-spacing:-4%;color:#625f68}.video-preview .footer{display:flex;align-items:center;justify-content:end;padding:10px}.video-preview .footer button{padding:8px 22px;border-radius:6px;color:white;background-color:#4169e1;font-weight:500;font-size:16px;line-height:19.36px;letter-spacing:-4%;text-align:center;cursor:pointer}",r=d,t="https://cdn.prod.website-files.com/606b1a109c3b857f6d84ad01/60b8fb956f01c6e5e16ec69f_Man_Waving_Facing%20Forward_Video_Call_750.jpg",i=class{constructor(o){e.registerInstance(this,o)}render(){return e.h("div",{key:"362c234e52b4516d863727880bf1d5f52875812c",class:"video-preview"},e.h("div",{key:"ad63e9b3cfc9a0e52a08913a5a65ac0f32efb4d9",class:"image",style:{backgroundImage:`url(${t})`}},e.h("div",{key:"9496ecdc42650371fd10abfa0741122cad57ad16",class:"time"},"1:52:33")),e.h("div",{key:"3e1018bc6babff15bc917d03b887b8143d42345d",class:"body"},e.h("div",{key:"290f289f8986b0e4f7d40363a6573fe416cf9a5c",class:"title"},"Product Team Meet"),e.h("div",{key:"706f65d2b1a07adb97e8fc4bd245abdc6ecd1c8c",class:"description"},"January 31, 2025")),e.h("div",{key:"b1e0390a0029677f8001cbdb164cc65fdef2e7a1",class:"footer"},e.h("button",{key:"b1599944c75678a78a2295bca26ffe851b8bbfd7"},"Watch")))}};i.style=r;exports.nylas_video_preview=i;
@@ -1,16 +0,0 @@
1
- import { r as o, h as e } from "./index-9243e481.js";
2
- import "react";
3
- import "react/jsx-runtime";
4
- import "react-dom";
5
- const d = ".video-preview{border:1px solid #eee;background-color:white;border:1px solid #c7dbf9;border-radius:6px;box-sizing:border-box}.video-preview .image{position:relative;background-size:cover;height:152px}.video-preview .time{font-size:12px;padding:5px;position:absolute;top:15px;left:15px;background-color:rgba(0, 0, 0, 0.5);color:white}.video-preview .body{padding:10px}.video-preview .body .title{color:#2a282f;font-size:18px;font-weight:600;letter-spacing:-4%}.video-preview .body .description{font-weight:400;font-size:14px;line-height:16.94px;letter-spacing:-4%;color:#625f68}.video-preview .footer{display:flex;align-items:center;justify-content:end;padding:10px}.video-preview .footer button{padding:8px 22px;border-radius:6px;color:white;background-color:#4169e1;font-weight:500;font-size:16px;line-height:19.36px;letter-spacing:-4%;text-align:center;cursor:pointer}", t = d, r = "https://cdn.prod.website-files.com/606b1a109c3b857f6d84ad01/60b8fb956f01c6e5e16ec69f_Man_Waving_Facing%20Forward_Video_Call_750.jpg", a = class {
6
- constructor(i) {
7
- o(this, i);
8
- }
9
- render() {
10
- return e("div", { key: "362c234e52b4516d863727880bf1d5f52875812c", class: "video-preview" }, e("div", { key: "ad63e9b3cfc9a0e52a08913a5a65ac0f32efb4d9", class: "image", style: { backgroundImage: `url(${r})` } }, e("div", { key: "9496ecdc42650371fd10abfa0741122cad57ad16", class: "time" }, "1:52:33")), e("div", { key: "3e1018bc6babff15bc917d03b887b8143d42345d", class: "body" }, e("div", { key: "290f289f8986b0e4f7d40363a6573fe416cf9a5c", class: "title" }, "Product Team Meet"), e("div", { key: "706f65d2b1a07adb97e8fc4bd245abdc6ecd1c8c", class: "description" }, "January 31, 2025")), e("div", { key: "b1e0390a0029677f8001cbdb164cc65fdef2e7a1", class: "footer" }, e("button", { key: "b1599944c75678a78a2295bca26ffe851b8bbfd7" }, "Watch")));
11
- }
12
- };
13
- a.style = t;
14
- export {
15
- a as nylas_video_preview
16
- };
@@ -1,16 +0,0 @@
1
- import { r as o, h as t } from "./index-9243e481.js";
2
- import "react";
3
- import "react/jsx-runtime";
4
- import "react-dom";
5
- const s = ".sc-play-icon-h{display:flex}", i = s, r = class {
6
- constructor(e) {
7
- o(this, e), this.width = "15", this.height = "15";
8
- }
9
- render() {
10
- return t("svg", { key: "5e2e5392833bfec80155b4277372432de97684a2", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "7758ae8bac3229614c2c20ce100f105481b63b31", d: "M21 12L3 21V3L21 12Z", stroke: "auto", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }));
11
- }
12
- };
13
- r.style = i;
14
- export {
15
- r as play_icon
16
- };
@@ -1,29 +0,0 @@
1
- import { a as i } from "./index-9243e481.js";
2
- function s(n = {}) {
3
- const o = {
4
- selectedConfiguration: {},
5
- configurations: [],
6
- groupEvents: [],
7
- listConfigurationsNextCursor: null,
8
- calendars: [],
9
- currentUser: null,
10
- action: null,
11
- additionalParticipants: [],
12
- requiresSlug: !1,
13
- masterGroupEvents: {},
14
- isLoading: !1,
15
- ...n
16
- }, e = i(o);
17
- function t() {
18
- e.set("selectedConfiguration", { ...n.selectedConfiguration });
19
- }
20
- return e.onChange("action", async (r) => {
21
- r || t();
22
- }), {
23
- ...e,
24
- resetSelectedConfiguration: t
25
- };
26
- }
27
- export {
28
- s as C
29
- };
@@ -1 +0,0 @@
1
- "use strict";const i=require("./index-efb6db79.cjs");function s(n={}){const r={selectedConfiguration:{},configurations:[],groupEvents:[],listConfigurationsNextCursor:null,calendars:[],currentUser:null,action:null,additionalParticipants:[],requiresSlug:!1,masterGroupEvents:{},isLoading:!1,...n},e=i.createStore(r);function t(){e.set("selectedConfiguration",{...n.selectedConfiguration})}return e.onChange("action",async o=>{o||t()}),{...e,resetSelectedConfiguration:t}}exports.CreateNylasSchedulerConfigStore=s;