@nylas/react 1.3.5 → 1.4.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.
- package/dist/add-circle-icon_2.entry-6e8e4e1e.cjs +1 -0
- package/dist/add-circle-icon_2.entry-dbad9a3b.js +26 -0
- package/dist/archive-icon.entry-21f532af.cjs +1 -0
- package/dist/archive-icon.entry-802f7877.js +16 -0
- package/dist/{arrow-icon.entry-fa9584cf.js → arrow-icon.entry-e3dec626.js} +3 -2
- package/dist/arrow-icon.entry-e9af732a.cjs +1 -0
- package/dist/{bold-icon.entry-ac6a4956.js → bold-icon.entry-0492ff02.js} +3 -2
- package/dist/bold-icon.entry-1a2be28a.cjs +1 -0
- package/dist/button-component_2.entry-f0c7f894.cjs +1 -0
- package/dist/{button-component_2.entry-caf33abf.js → button-component_2.entry-fea9bd3d.js} +10 -9
- package/dist/calendar-agenda-fill-icon_36.entry-70681da2.cjs +6 -0
- package/dist/calendar-agenda-fill-icon_36.entry-c85d6a79.js +4642 -0
- package/dist/calendar-cancel-icon.entry-237b8c9e.cjs +1 -0
- package/dist/{calendar-cancel-icon.entry-02015d74.js → calendar-cancel-icon.entry-e7dd5b8f.js} +6 -5
- package/dist/calendar-check-icon_2.entry-a868e0bc.cjs +1 -0
- package/dist/{calendar-check-icon_2.entry-2f7dc236.js → calendar-check-icon_2.entry-c7f47fc8.js} +10 -9
- package/dist/calendar-icon.entry-071eb30d.cjs +1 -0
- package/dist/{calendar-icon.entry-70ac9bd6.js → calendar-icon.entry-324de624.js} +6 -5
- package/dist/checkbox-component.entry-0f9970cc.js +43 -0
- package/dist/checkbox-component.entry-5bcf4b08.cjs +1 -0
- package/dist/checkmark-icon_15.entry-7776e533.cjs +5 -0
- package/dist/checkmark-icon_15.entry-98377585.js +1337 -0
- package/dist/chevron-icon_3.entry-526b4b85.cjs +1 -0
- package/dist/chevron-icon_3.entry-ec66260c.js +148 -0
- package/dist/{clock-icon_4.entry-af5301d7.js → clock-icon_4.entry-4fa47996.js} +19 -18
- package/dist/clock-icon_4.entry-66d15f7c.cjs +1 -0
- package/dist/{constants-f6e79ab7-24392f9e.js → constants-f5ba52b9-40ab2ded.js} +121 -30
- package/dist/constants-f5ba52b9-a0866d2f.cjs +1 -0
- package/dist/customParseFormat-39eacb44-45ade322.cjs +1 -0
- package/dist/customParseFormat-39eacb44-eeffe2bb.js +135 -0
- package/dist/delete-icon.entry-540aa2bb.cjs +1 -0
- package/dist/{delete-icon.entry-00cb3ee8.js → delete-icon.entry-95d01eb8.js} +7 -6
- package/dist/document-refresh-icon.entry-b82d5da8.js +16 -0
- package/dist/document-refresh-icon.entry-c467f082.cjs +1 -0
- package/dist/elements/index.d.ts +11 -0
- package/dist/{feedbackSync-547e51ee-bcaf691c.js → feedbackSync-47d13bb0-5608d680.js} +1 -1
- package/dist/{feedbackSync-547e51ee-9b572309.cjs → feedbackSync-47d13bb0-9f249f33.cjs} +1 -1
- package/dist/folder-icon.entry-4d48c2ee.cjs +1 -0
- package/dist/{folder-icon.entry-60b3eda5.js → folder-icon.entry-cb0dc63d.js} +5 -4
- package/dist/forward-icon.entry-5aa01f53.js +16 -0
- package/dist/forward-icon.entry-d04aaf6d.cjs +1 -0
- package/dist/globe-icon_2.entry-87e29cdf.cjs +1 -0
- package/dist/globe-icon_2.entry-c7ae78cc.js +200 -0
- package/dist/google-logo-icon_6.entry-80a6bfa3.js +1457 -0
- package/dist/google-logo-icon_6.entry-a8b6efc0.cjs +2 -0
- package/dist/google-meet-icon_5.entry-26d667b6.cjs +1 -0
- package/dist/google-meet-icon_5.entry-4e71c83b.js +56 -0
- package/dist/inbox-icon.entry-60a82bfc.cjs +1 -0
- package/dist/inbox-icon.entry-77e4e17b.js +16 -0
- package/dist/index-04630615.js +17580 -0
- package/dist/index-3d1f13d6.cjs +57 -0
- package/dist/index.d.ts +1 -3
- package/dist/{index.es-2d849a15-2d84f7a5.cjs → index.es-1fdb1e36-830a422f.cjs} +6 -6
- package/dist/{index.es-2d849a15-4eb8e180.js → index.es-1fdb1e36-fbdb04fa.js} +818 -804
- package/dist/info-icon_2.entry-34800b66.cjs +1 -0
- package/dist/info-icon_2.entry-3c483f61.js +35 -0
- package/dist/input-component.entry-ea4016fe.js +84 -0
- package/dist/input-component.entry-f7ccf3d6.cjs +1 -0
- package/dist/input-dropdown_2.entry-c7730cf8.js +231 -0
- package/dist/input-dropdown_2.entry-d4024d2f.cjs +1 -0
- package/dist/italic-icon.entry-6e0805ab.js +16 -0
- package/dist/italic-icon.entry-8127c2ee.cjs +1 -0
- package/dist/multi-select-dropdown_2.entry-49d6f0e7.cjs +1 -0
- package/dist/multi-select-dropdown_2.entry-d749999d.js +187 -0
- package/dist/notebook-store-b61693cd-7a5576e7.js +14 -0
- package/dist/notebook-store-b61693cd-84de36d2.cjs +5 -0
- package/dist/nylas-booked-event-card_12.entry-29337b10.cjs +1 -0
- package/dist/nylas-booked-event-card_12.entry-3fcfd6f9.js +1418 -0
- package/dist/nylas-call-summary.entry-38aed89a.js +16 -0
- package/dist/nylas-call-summary.entry-e9adcb93.cjs +1 -0
- package/dist/nylas-event-calendar_3.entry-48f656e5.cjs +6 -0
- package/dist/nylas-event-calendar_3.entry-62d1f1f5.js +9693 -0
- package/dist/nylas-form-card.entry-3828ccb1.js +58 -0
- package/dist/nylas-form-card.entry-b900b46e.cjs +1 -0
- package/dist/{nylas-if-state.entry-beef8af6.js → nylas-if-state.entry-2810dcf5.js} +4 -3
- package/dist/nylas-if-state.entry-92af0a51.cjs +1 -0
- package/dist/nylas-key-points.entry-977a6fae.js +29 -0
- package/dist/nylas-key-points.entry-de658637.cjs +1 -0
- package/dist/nylas-login.entry-4a6c11e6.cjs +1 -0
- package/dist/{nylas-login.entry-1661cbd4.js → nylas-login.entry-8101d3d0.js} +4 -3
- package/dist/nylas-provider.entry-b7ac25f5.cjs +1 -0
- package/dist/{nylas-provider.entry-1f140378.js → nylas-provider.entry-c054d68a.js} +6 -5
- package/dist/nylas-scheduler-editor.entry-1538950d.cjs +2 -0
- package/dist/{nylas-scheduler-editor.entry-f184f72e.js → nylas-scheduler-editor.entry-e35fad5c.js} +530 -272
- package/dist/nylas-scheduling.entry-360b978c.js +439 -0
- package/dist/nylas-scheduling.entry-92351cd2.cjs +1 -0
- package/dist/nylas-transcript.entry-4d973027.cjs +6 -0
- package/dist/nylas-transcript.entry-81e2c821.js +128 -0
- package/dist/nylas-video-player.entry-60268c07.js +39 -0
- package/dist/nylas-video-player.entry-f3c2b073.cjs +1 -0
- package/dist/nylas-video-preview.entry-12e05e4d.cjs +1 -0
- package/dist/nylas-video-preview.entry-320421b6.js +16 -0
- package/dist/{person-icon.entry-f9ca9147.js → person-icon.entry-8533209c.js} +8 -7
- package/dist/person-icon.entry-967ad730.cjs +1 -0
- package/dist/play-icon.entry-15ee8568.js +16 -0
- package/dist/play-icon.entry-7b1fd79d.cjs +1 -0
- package/dist/radio-button-group.entry-24cb342f.cjs +1 -0
- package/dist/radio-button-group.entry-53dcf16c.js +47 -0
- package/dist/react.cjs +1 -1
- package/dist/react.js +133 -123
- package/dist/refresh-icon.entry-0486ae54.cjs +1 -0
- package/dist/{refresh-icon.entry-7886041f.js → refresh-icon.entry-f3320971.js} +7 -6
- package/dist/{register-component-677d8d2b-0113766e.js → register-component-504a1cbb-5f986d7f.js} +1 -1
- package/dist/{register-component-677d8d2b-4738af1d.cjs → register-component-504a1cbb-89124fd8.cjs} +1 -1
- package/dist/{reply-all-icon.entry-fdd0058e.js → reply-all-icon.entry-006fd1fb.js} +6 -5
- package/dist/reply-all-icon.entry-2cea1a40.cjs +1 -0
- package/dist/reply-icon.entry-bd252aed.cjs +1 -0
- package/dist/reply-icon.entry-d27166a1.js +16 -0
- package/dist/scheduler-config-store-d6729d8d-4a2defea.cjs +1 -0
- package/dist/{scheduler-config-store-ed4a8dfd-012dcf85.js → scheduler-config-store-d6729d8d-63e34849.js} +4 -1
- package/dist/scheduler-store-baf100ed-5c5d3aa5.cjs +1 -0
- package/dist/scheduler-store-baf100ed-81b183dc.js +533 -0
- package/dist/sent-icon.entry-bf101068.js +16 -0
- package/dist/sent-icon.entry-ee434395.cjs +1 -0
- package/dist/spam-icon.entry-11016b63.cjs +1 -0
- package/dist/spam-icon.entry-5193f9c6.js +16 -0
- package/dist/star-icon.entry-0e269252.cjs +1 -0
- package/dist/{star-icon.entry-501083c1.js → star-icon.entry-9c7449f3.js} +6 -5
- package/dist/stop-icon.entry-2ac11166.js +16 -0
- package/dist/stop-icon.entry-86412c9f.cjs +1 -0
- package/dist/textarea-component.entry-27717409.cjs +1 -0
- package/dist/textarea-component.entry-9df3fa96.js +39 -0
- package/dist/toggle-switch.entry-9623e2b2.cjs +1 -0
- package/dist/toggle-switch.entry-a5ddfad9.js +34 -0
- package/dist/translate-icon.entry-e0617680.cjs +1 -0
- package/dist/{translate-icon.entry-676a4150.js → translate-icon.entry-f22293e6.js} +5 -4
- package/dist/trash-fill-icon.entry-0275f657.cjs +1 -0
- package/dist/trash-fill-icon.entry-2616c5df.js +16 -0
- package/dist/{underline-icon.entry-3513c5ef.js → underline-icon.entry-1110dcb1.js} +5 -4
- package/dist/underline-icon.entry-d54b06ab.cjs +1 -0
- package/dist/warning-icon.entry-6d390ab7.cjs +1 -0
- package/dist/{warning-icon.entry-6e723597.js → warning-icon.entry-9a6e7913.js} +8 -7
- package/package.json +11 -3
- package/dist/add-circle-icon.entry-00c87903.js +0 -15
- package/dist/add-circle-icon.entry-640d2b46.cjs +0 -1
- package/dist/archive-icon.entry-5b209336.cjs +0 -1
- package/dist/archive-icon.entry-e8a39eda.js +0 -15
- package/dist/arrow-icon.entry-a25b7b7e.cjs +0 -1
- package/dist/bold-icon.entry-d837c73d.cjs +0 -1
- package/dist/button-component_2.entry-1471422a.cjs +0 -1
- package/dist/calendar-agenda-fill-icon_53.entry-094bd4b9.cjs +0 -6
- package/dist/calendar-agenda-fill-icon_53.entry-6d7f9c79.js +0 -5757
- package/dist/calendar-cancel-icon.entry-42d3d226.cjs +0 -1
- package/dist/calendar-check-icon_2.entry-45aacd91.cjs +0 -1
- package/dist/calendar-icon.entry-90d67b03.cjs +0 -1
- package/dist/checkbox-component_3.entry-231b2254.cjs +0 -1
- package/dist/checkbox-component_3.entry-7270533c.js +0 -153
- package/dist/chevron-icon_3.entry-3c95cc88.js +0 -147
- package/dist/chevron-icon_3.entry-ead3d4c8.cjs +0 -1
- package/dist/clock-icon_4.entry-b50cce70.cjs +0 -1
- package/dist/close-icon.entry-04008446.cjs +0 -1
- package/dist/close-icon.entry-0a4105c9.js +0 -15
- package/dist/constants-f6e79ab7-23d7236b.cjs +0 -1
- package/dist/copy-icon.entry-312ff230.js +0 -15
- package/dist/copy-icon.entry-74f8ebcd.cjs +0 -1
- package/dist/core-js-38e53e34.cjs +0 -4
- package/dist/core-js-a9d3b6e1.js +0 -3297
- package/dist/delete-icon.entry-b61a6706.cjs +0 -1
- package/dist/document-refresh-icon.entry-1c985b1e.js +0 -15
- package/dist/document-refresh-icon.entry-27ff5cb2.cjs +0 -1
- package/dist/dom-68f08be9.cjs +0 -15
- package/dist/dom-86e17616.js +0 -664
- package/dist/folder-icon.entry-c32a6e15.cjs +0 -1
- package/dist/forward-icon.entry-5f9a7639.js +0 -15
- package/dist/forward-icon.entry-8cd805dc.cjs +0 -1
- package/dist/globe-icon.entry-21a80591.cjs +0 -1
- package/dist/globe-icon.entry-397727e1.js +0 -15
- package/dist/google-logo-icon_4.entry-42e87368.cjs +0 -1
- package/dist/google-logo-icon_4.entry-6ccf8379.js +0 -778
- package/dist/inbox-icon.entry-1e448b4b.js +0 -15
- package/dist/inbox-icon.entry-50605b1d.cjs +0 -1
- package/dist/index-594c8e7b.js +0 -16763
- package/dist/index-cfb93df6.cjs +0 -81
- package/dist/info-icon_2.entry-65e0023f.js +0 -34
- package/dist/info-icon_2.entry-e7b86847.cjs +0 -1
- package/dist/input-color-picker.entry-37d2fb66.js +0 -48
- package/dist/input-color-picker.entry-aabfe638.cjs +0 -1
- package/dist/input-component.entry-51f6da14.cjs +0 -1
- package/dist/input-component.entry-c07d92b1.js +0 -70
- package/dist/input-dropdown_2.entry-20fb0552.cjs +0 -1
- package/dist/input-dropdown_2.entry-90c08f10.js +0 -228
- package/dist/italic-icon.entry-8e5599ff.js +0 -15
- package/dist/italic-icon.entry-ee10a040.cjs +0 -1
- package/dist/multi-select-dropdown.entry-656d2791.cjs +0 -1
- package/dist/multi-select-dropdown.entry-c143becc.js +0 -116
- package/dist/nylas-booked-event-card_12.entry-4974ffe6.js +0 -1332
- package/dist/nylas-booked-event-card_12.entry-669bb872.cjs +0 -1
- package/dist/nylas-form-card.entry-42e718e2.js +0 -57
- package/dist/nylas-form-card.entry-55d3909c.cjs +0 -1
- package/dist/nylas-if-state.entry-4de782b7.cjs +0 -1
- package/dist/nylas-login.entry-d6b80abe.cjs +0 -1
- package/dist/nylas-provider.entry-d5495e1a.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-bebe4e7d.cjs +0 -2
- package/dist/nylas-scheduling.entry-21c04831.cjs +0 -1
- package/dist/nylas-scheduling.entry-c335ad21.js +0 -415
- package/dist/nylas-time-window-picker_2.entry-9e0dd470.js +0 -336
- package/dist/nylas-time-window-picker_2.entry-a2651ee7.cjs +0 -1
- package/dist/person-icon.entry-21946944.cjs +0 -1
- package/dist/play-icon.entry-b27fcb18.cjs +0 -1
- package/dist/play-icon.entry-dbfed5e8.js +0 -15
- package/dist/refresh-icon.entry-9d94a60b.cjs +0 -1
- package/dist/reply-all-icon.entry-f0e0a5c4.cjs +0 -1
- package/dist/reply-icon.entry-0a42fb2c.cjs +0 -1
- package/dist/reply-icon.entry-a8d2b0f8.js +0 -15
- package/dist/scheduler-config-store-ed4a8dfd-a16d5c62.cjs +0 -1
- package/dist/scheduler-store-92eb8804-bc68a43a.js +0 -487
- package/dist/scheduler-store-92eb8804-c3deee73.cjs +0 -1
- package/dist/sent-icon.entry-c3f84a59.cjs +0 -1
- package/dist/sent-icon.entry-e047f087.js +0 -15
- package/dist/spam-icon.entry-55d01416.js +0 -15
- package/dist/spam-icon.entry-671eb165.cjs +0 -1
- package/dist/star-icon.entry-4dcae472.cjs +0 -1
- package/dist/stop-icon.entry-130a28b2.js +0 -15
- package/dist/stop-icon.entry-ed949255.cjs +0 -1
- package/dist/textarea-component.entry-65dd740a.cjs +0 -1
- package/dist/textarea-component.entry-efae9031.js +0 -37
- package/dist/translate-icon.entry-2591baf8.cjs +0 -1
- package/dist/trash-fill-icon.entry-5b373be7.js +0 -15
- package/dist/trash-fill-icon.entry-c411d0e0.cjs +0 -1
- package/dist/underline-icon.entry-6bf14476.cjs +0 -1
- package/dist/warning-icon.entry-719a094d.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-3d1f13d6.cjs");require("react");require("react/jsx-runtime");require("react-dom");const c=".sc-chevron-icon-h{display:flex}",h=c,l=class{constructor(e){s.registerInstance(this,e),this.width="24",this.height="24"}render(){return s.h("svg",{key:"80c05a605d7afb1c678f8965b1abae5c5e25916c",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none"},s.h("path",{key:"f754fdf2b68716dac07523348b1db34d0529d9a8",fill:"currentColor",d:"M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z"}))}};l.style=h;const p=".sc-search-icon-h{display:flex}",f=p,i=class{constructor(e){s.registerInstance(this,e),this.width="15",this.height="15"}render(){return s.h("svg",{key:"abe389db8a08dafea15a406755825f128a896464",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.h("path",{key:"8d2f7bd05d16f7be81c8c58ea98ae7d5873b1357",fill:"currentColor",d:"M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z"}))}};i.style=f;const b=':host{display:block;position:relative;--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;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:16px;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn:disabled{cursor:not-allowed;background:var(--nylas-base-100)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color: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}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px;color:var(--nylas-base-800)}',y=b,d=class{constructor(e){s.registerInstance(this,e),this.nylasFormDropdownChanged=s.createEvent(this,"nylasFormDropdownChanged",7),this.nylasFormDropdownDefaultSelected=s.createEvent(this,"nylasFormDropdownDefaultSelected",7),this.componentType="select-dropdown",this.name=void 0,this.options=[],this.defaultSelectedOption=null,this.withSearch=!0,this.label=void 0,this.required=!1,this.readOnly=!1,this.pluralizedLabel="",this.dropdownButtonText=void 0,this.withChevron=!0,this.emptyValue="Select an option",this.errorMessage="",this.selectedOption=void 0,this.isOpen=!1,this.searchValue="",this.filteredOptions=[...this.options],this.ariaActivedescendant="",this.error=""}optionsChangedHandler(e,t){e!==t&&(this.filteredOptions=e)}defaultSelectedOptionChangedHandler(e,t){typeof e>"u"||(e==null?void 0:e.label)===(t==null?void 0:t.label)||(this.selectedOption=e,this.nylasFormDropdownDefaultSelected.emit({value:(e==null?void 0:e.value)||"",name:this.name,error:this.error,label:this.label}))}componentWillLoad(){this.el.setAttribute("component-type",this.componentType)}componentDidLoad(){var e;this.filteredOptions=this.options,this.selectedOption=this.defaultSelectedOption,!this.selectedOption&&this.options.length>0&&(this.selectedOption=this.options[0]),this.nylasFormDropdownDefaultSelected.emit({value:((e=this.selectedOption)==null?void 0:e.value)||"",name:this.name,error:this.error,label:this.label})}handleBookingFormSubmitted(e){var t;this.validate(((t=this.selectedOption)==null?void 0:t.value)||""),this.error&&e.preventDefault()}handleFormSubmitted(e){var t;this.validate(((t=this.selectedOption)==null?void 0:t.value)||""),this.error&&e.preventDefault()}validate(e){this.required&&!e?this.error=this.errorMessage||`${this.label} is required.`:this.error=""}toggleDropdown(){this.isOpen=!this.isOpen}filterOptions(e){const t=e.target.value;this.searchValue=t,this.filteredOptions=this.options.filter(o=>o.label.toLowerCase().includes(t.toLowerCase()))}selectOption(e){this.error="",this.selectedOption=e,this.toggleDropdown(),e.value!==this.emptyValue&&this.nylasFormDropdownChanged.emit({value:e.value,name:this.name,error:this.error,label:this.label})}handleSelectButtonKeyDown(e){var t;switch(e.key){case"ArrowDown":case"Enter":e.preventDefault(),this.isOpen||this.toggleDropdown(),(t=this.inputRef)==null||t.focus();break;case"Escape":this.isOpen=!1;break}}handleListboxKeydown(e){var a,n;const t=this.filteredOptions,o=t.findIndex(r=>r.value===this.ariaActivedescendant);if(e.key==="ArrowDown"||e.key==="Tab"&&!e.shiftKey){if(e.preventDefault(),o===t.length-1){this.ariaActivedescendant="",(a=this.inputRef)==null||a.focus();return}const r=o+1<t.length?o+1:0;this.ariaActivedescendant=t[r].value,this.focusOption(r)}else if(e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey){if(e.preventDefault(),o===0){this.ariaActivedescendant="",(n=this.inputRef)==null||n.focus();return}const r=o-1>=0?o-1:t.length-1;this.ariaActivedescendant=t[r].value,this.focusOption(r)}else e.key==="Enter"?(e.preventDefault(),this.ariaActivedescendant&&this.selectOption(t[o])):e.key==="Escape"&&(this.isOpen=!1)}focusOption(e){var n;const t=this.filteredOptions[e];if(!t)return;const o=t.value,a=(n=this.el.shadowRoot)==null?void 0:n.getElementById(o);a&&(a.focus(),a.scrollIntoView({behavior:"smooth",block:"nearest"}))}handleComboboxKeyDown(e){e.key==="ArrowDown"||e.key=="Tab"&&!e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[0].value,this.focusOption(0)):e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[this.filteredOptions.length-1].value,this.focusOption(this.filteredOptions.length-1)):e.key==="Escape"&&(this.isOpen=!1)}generateButtonText(e,t){return t||(e!=null&&e.label?`${this.pluralizedLabel?this.pluralizedLabel:e==null?void 0:e.label}`:this.emptyValue)}handleOutsideClick(e){!e.composedPath().includes(this.el)&&this.isOpen&&(this.isOpen=!1)}render(){const e=this.generateButtonText(this.selectedOption,this.dropdownButtonText);return s.h("div",{key:"32b6414957374ddbd1c84c971844761accc75a20",class:"dropdown",part:"sd_dropdown"},s.h("label",{key:"3739bab113e147e72bb8c75da3dcc4deba01c27e",part:"sd_dropdown_label",class:{error:!!this.error}},this.label&&s.h("p",null,s.h("span",{class:"label"},this.label),this.required&&s.h("span",{class:"required"},"*")),s.h("button",{key:"2d09705cf6272559ebca0d34b7495854aeb47fb2",part:"sd_dropdown-button",class:{dropbtn:!0,open:this.isOpen,error:!!this.error},onClick:()=>this.toggleDropdown(),disabled:this.readOnly,"aria-haspopup":"listbox",title:this.readOnly?"read-only field":e,"aria-expanded":this.isOpen?"true":"false","aria-label":this.name,onKeyDown:t=>this.handleSelectButtonKeyDown(t)},s.h("slot",{key:"54be38a1f79be53ed5570a2d04c8c649c94b1f13",name:"select-icon","aria-hidden":"true"}),s.h("span",{key:"4d4f57847d16b53baffdaebfa50be2072e7eb0b7",class:"selected-option",part:"sd_dropdown-button-selected-label"},e),this.withChevron&&s.h("span",{class:{open:this.isOpen,closed:!this.isOpen,chevron:!0},"aria-hidden":"true"},s.h("chevron-icon",{width:"16",height:"16"}))),this.error&&s.h("span",{class:"error help-text"},this.error)),this.isOpen?s.h("div",{class:"dropdown-content",part:"sd_dropdown-content"},this.withSearch&&s.h("div",{class:{"search-box":!0,open:this.isOpen}},s.h("search-icon",{width:"15",height:"15",class:"icon"}),s.h("input",{type:"text",role:"combobox",placeholder:"Search",value:this.searchValue,ref:t=>this.inputRef=t,onInput:t=>this.filterOptions(t),onKeyDown:t=>this.handleComboboxKeyDown(t)})),s.h("ul",{tabindex:"-1",role:"listbox","aria-label":this.name,"aria-activedescendant":this.ariaActivedescendant,onKeyDown:t=>this.handleListboxKeydown(t)},this.filteredOptions.map(t=>t.value.toString()?s.h("li",{tabindex:"0",key:t.value,id:t.value,part:`${this.name}-${t.label}`,onClick:()=>this.selectOption(t),role:"option"},t.labelHTML?s.h("div",{part:"sd_dropdown-labelhtml"},t.labelHTML):t.label):null))):null)}get el(){return s.getElement(this)}static get watchers(){return{options:["optionsChangedHandler"],defaultSelectedOption:["defaultSelectedOptionChangedHandler"]}}};d.style=y;exports.chevron_icon=l;exports.search_icon=i;exports.select_dropdown=d;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { r as l, h as s, c as i, g as d } from "./index-04630615.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const c = ".sc-chevron-icon-h{display:flex}", h = c, p = class {
|
|
6
|
+
constructor(e) {
|
|
7
|
+
l(this, e), this.width = "24", this.height = "24";
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return s("svg", { key: "80c05a605d7afb1c678f8965b1abae5c5e25916c", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none" }, s("path", { key: "f754fdf2b68716dac07523348b1db34d0529d9a8", fill: "currentColor", d: "M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" }));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
p.style = h;
|
|
14
|
+
const f = ".sc-search-icon-h{display:flex}", b = f, y = class {
|
|
15
|
+
constructor(e) {
|
|
16
|
+
l(this, e), this.width = "15", this.height = "15";
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
return s("svg", { key: "abe389db8a08dafea15a406755825f128a896464", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "8d2f7bd05d16f7be81c8c58ea98ae7d5873b1357", fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" }));
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
y.style = b;
|
|
23
|
+
const u = ':host{display:block;position:relative;--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;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:16px;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn:disabled{cursor:not-allowed;background:var(--nylas-base-100)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color: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}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px;color:var(--nylas-base-800)}', g = u, x = class {
|
|
24
|
+
constructor(e) {
|
|
25
|
+
l(this, e), this.nylasFormDropdownChanged = i(this, "nylasFormDropdownChanged", 7), this.nylasFormDropdownDefaultSelected = i(this, "nylasFormDropdownDefaultSelected", 7), this.componentType = "select-dropdown", this.name = void 0, this.options = [], this.defaultSelectedOption = null, this.withSearch = !0, this.label = void 0, this.required = !1, this.readOnly = !1, this.pluralizedLabel = "", this.dropdownButtonText = void 0, this.withChevron = !0, this.emptyValue = "Select an option", this.errorMessage = "", this.selectedOption = void 0, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.error = "";
|
|
26
|
+
}
|
|
27
|
+
optionsChangedHandler(e, t) {
|
|
28
|
+
e !== t && (this.filteredOptions = e);
|
|
29
|
+
}
|
|
30
|
+
defaultSelectedOptionChangedHandler(e, t) {
|
|
31
|
+
typeof e > "u" || (e == null ? void 0 : e.label) === (t == null ? void 0 : t.label) || (this.selectedOption = e, this.nylasFormDropdownDefaultSelected.emit({
|
|
32
|
+
value: (e == null ? void 0 : e.value) || "",
|
|
33
|
+
name: this.name,
|
|
34
|
+
error: this.error,
|
|
35
|
+
label: this.label
|
|
36
|
+
}));
|
|
37
|
+
}
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
this.el.setAttribute("component-type", this.componentType);
|
|
40
|
+
}
|
|
41
|
+
componentDidLoad() {
|
|
42
|
+
var e;
|
|
43
|
+
this.filteredOptions = this.options, this.selectedOption = this.defaultSelectedOption, !this.selectedOption && this.options.length > 0 && (this.selectedOption = this.options[0]), this.nylasFormDropdownDefaultSelected.emit({
|
|
44
|
+
value: ((e = this.selectedOption) == null ? void 0 : e.value) || "",
|
|
45
|
+
name: this.name,
|
|
46
|
+
error: this.error,
|
|
47
|
+
label: this.label
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
handleBookingFormSubmitted(e) {
|
|
51
|
+
var t;
|
|
52
|
+
this.validate(((t = this.selectedOption) == null ? void 0 : t.value) || ""), this.error && e.preventDefault();
|
|
53
|
+
}
|
|
54
|
+
handleFormSubmitted(e) {
|
|
55
|
+
var t;
|
|
56
|
+
this.validate(((t = this.selectedOption) == null ? void 0 : t.value) || ""), this.error && e.preventDefault();
|
|
57
|
+
}
|
|
58
|
+
validate(e) {
|
|
59
|
+
this.required && !e ? this.error = this.errorMessage || `${this.label} is required.` : this.error = "";
|
|
60
|
+
}
|
|
61
|
+
toggleDropdown() {
|
|
62
|
+
this.isOpen = !this.isOpen;
|
|
63
|
+
}
|
|
64
|
+
filterOptions(e) {
|
|
65
|
+
const t = e.target.value;
|
|
66
|
+
this.searchValue = t, this.filteredOptions = this.options.filter((o) => o.label.toLowerCase().includes(t.toLowerCase()));
|
|
67
|
+
}
|
|
68
|
+
selectOption(e) {
|
|
69
|
+
this.error = "", this.selectedOption = e, this.toggleDropdown(), e.value !== this.emptyValue && this.nylasFormDropdownChanged.emit({
|
|
70
|
+
value: e.value,
|
|
71
|
+
name: this.name,
|
|
72
|
+
error: this.error,
|
|
73
|
+
label: this.label
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
handleSelectButtonKeyDown(e) {
|
|
77
|
+
var t;
|
|
78
|
+
switch (e.key) {
|
|
79
|
+
case "ArrowDown":
|
|
80
|
+
case "Enter":
|
|
81
|
+
e.preventDefault(), this.isOpen || this.toggleDropdown(), (t = this.inputRef) == null || t.focus();
|
|
82
|
+
break;
|
|
83
|
+
case "Escape":
|
|
84
|
+
this.isOpen = !1;
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
handleListboxKeydown(e) {
|
|
89
|
+
var r, n;
|
|
90
|
+
const t = this.filteredOptions, o = t.findIndex((a) => a.value === this.ariaActivedescendant);
|
|
91
|
+
if (e.key === "ArrowDown" || e.key === "Tab" && !e.shiftKey) {
|
|
92
|
+
if (e.preventDefault(), o === t.length - 1) {
|
|
93
|
+
this.ariaActivedescendant = "", (r = this.inputRef) == null || r.focus();
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const a = o + 1 < t.length ? o + 1 : 0;
|
|
97
|
+
this.ariaActivedescendant = t[a].value, this.focusOption(a);
|
|
98
|
+
} else if (e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey) {
|
|
99
|
+
if (e.preventDefault(), o === 0) {
|
|
100
|
+
this.ariaActivedescendant = "", (n = this.inputRef) == null || n.focus();
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
const a = o - 1 >= 0 ? o - 1 : t.length - 1;
|
|
104
|
+
this.ariaActivedescendant = t[a].value, this.focusOption(a);
|
|
105
|
+
} else
|
|
106
|
+
e.key === "Enter" ? (e.preventDefault(), this.ariaActivedescendant && this.selectOption(t[o])) : e.key === "Escape" && (this.isOpen = !1);
|
|
107
|
+
}
|
|
108
|
+
focusOption(e) {
|
|
109
|
+
var n;
|
|
110
|
+
const t = this.filteredOptions[e];
|
|
111
|
+
if (!t)
|
|
112
|
+
return;
|
|
113
|
+
const o = t.value, r = (n = this.el.shadowRoot) == null ? void 0 : n.getElementById(o);
|
|
114
|
+
r && (r.focus(), r.scrollIntoView({ behavior: "smooth", block: "nearest" }));
|
|
115
|
+
}
|
|
116
|
+
handleComboboxKeyDown(e) {
|
|
117
|
+
e.key === "ArrowDown" || e.key == "Tab" && !e.shiftKey ? (e.preventDefault(), this.ariaActivedescendant = this.filteredOptions[0].value, this.focusOption(0)) : e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey ? (e.preventDefault(), this.ariaActivedescendant = this.filteredOptions[this.filteredOptions.length - 1].value, this.focusOption(this.filteredOptions.length - 1)) : e.key === "Escape" && (this.isOpen = !1);
|
|
118
|
+
}
|
|
119
|
+
generateButtonText(e, t) {
|
|
120
|
+
return t || (e != null && e.label ? `${this.pluralizedLabel ? this.pluralizedLabel : e == null ? void 0 : e.label}` : this.emptyValue);
|
|
121
|
+
}
|
|
122
|
+
handleOutsideClick(e) {
|
|
123
|
+
!e.composedPath().includes(this.el) && this.isOpen && (this.isOpen = !1);
|
|
124
|
+
}
|
|
125
|
+
render() {
|
|
126
|
+
const e = this.generateButtonText(this.selectedOption, this.dropdownButtonText);
|
|
127
|
+
return s("div", { key: "32b6414957374ddbd1c84c971844761accc75a20", class: "dropdown", part: "sd_dropdown" }, s("label", { key: "3739bab113e147e72bb8c75da3dcc4deba01c27e", part: "sd_dropdown_label", class: { error: !!this.error } }, this.label && s("p", null, s("span", { class: "label" }, this.label), this.required && s("span", { class: "required" }, "*")), s("button", { key: "2d09705cf6272559ebca0d34b7495854aeb47fb2", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.error }, onClick: () => this.toggleDropdown(), disabled: this.readOnly, "aria-haspopup": "listbox", title: this.readOnly ? "read-only field" : e, "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (t) => this.handleSelectButtonKeyDown(t) }, s("slot", { key: "54be38a1f79be53ed5570a2d04c8c649c94b1f13", name: "select-icon", "aria-hidden": "true" }), s("span", { key: "4d4f57847d16b53baffdaebfa50be2072e7eb0b7", class: "selected-option", part: "sd_dropdown-button-selected-label" }, e), this.withChevron && s("span", { class: {
|
|
128
|
+
open: this.isOpen,
|
|
129
|
+
closed: !this.isOpen,
|
|
130
|
+
chevron: !0
|
|
131
|
+
}, "aria-hidden": "true" }, s("chevron-icon", { width: "16", height: "16" }))), this.error && s("span", { class: "error help-text" }, this.error)), this.isOpen ? s("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && s("div", { class: { "search-box": !0, open: this.isOpen } }, s("search-icon", { width: "15", height: "15", class: "icon" }), s("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: (t) => this.inputRef = t, onInput: (t) => this.filterOptions(t), onKeyDown: (t) => this.handleComboboxKeyDown(t) })), s("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (t) => this.handleListboxKeydown(t) }, this.filteredOptions.map((t) => t.value.toString() ? s("li", { tabindex: "0", key: t.value, id: t.value, part: `${this.name}-${t.label}`, onClick: () => this.selectOption(t), role: "option" }, t.labelHTML ? s("div", { part: "sd_dropdown-labelhtml" }, t.labelHTML) : t.label) : null))) : null);
|
|
132
|
+
}
|
|
133
|
+
get el() {
|
|
134
|
+
return d(this);
|
|
135
|
+
}
|
|
136
|
+
static get watchers() {
|
|
137
|
+
return {
|
|
138
|
+
options: ["optionsChangedHandler"],
|
|
139
|
+
defaultSelectedOption: ["defaultSelectedOptionChangedHandler"]
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
x.style = g;
|
|
144
|
+
export {
|
|
145
|
+
p as chevron_icon,
|
|
146
|
+
y as search_icon,
|
|
147
|
+
x as select_dropdown
|
|
148
|
+
};
|
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as e, h as t } from "./index-04630615.js";
|
|
2
2
|
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
3
4
|
import "react-dom";
|
|
4
|
-
const
|
|
5
|
+
const i = ".sc-clock-icon-h{display:flex}", C = i, c = class {
|
|
5
6
|
constructor(s) {
|
|
6
|
-
|
|
7
|
+
e(this, s), this.width = "16", this.height = "16";
|
|
7
8
|
}
|
|
8
9
|
render() {
|
|
9
|
-
return t("svg", { key: "
|
|
10
|
+
return t("svg", { key: "09a7ff48a6ab1b20ebd663b67b938d675d4acbb1", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "c379495dcdc72444fb22c19aad3ac79d6b578ea6", d: "M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z", fill: "currentColor" }));
|
|
10
11
|
}
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
c.style = C;
|
|
13
14
|
const o = ".sc-edit-icon-h{display:flex}", h = o, n = class {
|
|
14
15
|
constructor(s) {
|
|
15
|
-
|
|
16
|
+
e(this, s), this.width = "16", this.height = "16";
|
|
16
17
|
}
|
|
17
18
|
render() {
|
|
18
|
-
return t("svg", { key: "
|
|
19
|
+
return t("svg", { key: "8491df3c0a8e0320a0032b19ed90c33d09f89f44", width: this.width, height: this.height, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "3be5d199db36f71ed40a953a9e6fdd2f3b4a3f26", d: "M11.245 0.817394C12.3318 -0.269413 14.0938 -0.269413 15.1806 0.817394C16.2222 1.85892 16.2656 3.5206 15.3108 4.6138L15.1806 4.75307L5.57482 14.3589C5.36973 14.564 5.12299 14.7215 4.85212 14.8213L4.68684 14.8742L0.631867 15.9801C0.285278 16.0746 -0.0347856 15.7861 0.00276241 15.4455L0.0179263 15.3662L1.12383 11.3112C1.20014 11.0314 1.33621 10.7722 1.52188 10.5511L1.63914 10.4232L11.245 0.817394ZM10.3848 3.09229L2.34625 11.1303C2.25396 11.2226 2.18093 11.3318 2.13086 11.4514L2.08859 11.5743L1.21196 14.785L4.42372 13.9094C4.50767 13.8865 4.5879 13.8529 4.66253 13.8096L4.77003 13.7375L4.86771 13.6518L12.9058 5.61329L10.3848 3.09229ZM14.4735 1.5245C13.8159 0.8669 12.7725 0.830367 12.072 1.4149L11.9521 1.5245L11.0918 2.38529L13.6128 4.90629L14.4735 4.04596C15.1311 3.38836 15.1677 2.34488 14.5831 1.64441L14.4735 1.5245Z", fill: "currentColor" }));
|
|
19
20
|
}
|
|
20
21
|
};
|
|
21
22
|
n.style = h;
|
|
22
|
-
const
|
|
23
|
+
const d = ".sc-person-clipboard-icon-h{display:flex}", r = d, l = class {
|
|
23
24
|
constructor(s) {
|
|
24
|
-
|
|
25
|
+
e(this, s), this.width = "12", this.height = "17";
|
|
25
26
|
}
|
|
26
27
|
render() {
|
|
27
|
-
return t("svg", { key: "
|
|
28
|
+
return t("svg", { key: "0f89f77101a9347469256e636f794c8f6333381f", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "699c6320f14688feacb6d26f214b99a37dc4511f", d: "M4 7.5C4 6.39543 4.89543 5.5 6 5.5C7.10457 5.5 8 6.39543 8 7.5C8 8.60457 7.10457 9.5 6 9.5C4.89543 9.5 4 8.60457 4 7.5ZM6 6.5C5.44772 6.5 5 6.94772 5 7.5C5 8.05228 5.44772 8.5 6 8.5C6.55228 8.5 7 8.05228 7 7.5C7 6.94772 6.55228 6.5 6 6.5ZM3.72077 10.5C3.10838 10.5 2.40961 10.9146 2.38992 11.6973C2.37693 12.2135 2.48426 12.9381 3.04816 13.5319C3.61451 14.1283 4.55301 14.5 6.00001 14.5C7.44702 14.5 8.38552 14.1283 8.95187 13.5319C9.51577 12.9381 9.6231 12.2135 9.61011 11.6973C9.59042 10.9146 8.89165 10.5 8.27925 10.5H3.72077ZM3.3896 11.7225C3.39099 11.6675 3.41262 11.6226 3.46275 11.582C3.51876 11.5366 3.6101 11.5 3.72077 11.5H8.27925C8.38993 11.5 8.48127 11.5366 8.53728 11.582C8.58741 11.6226 8.60904 11.6675 8.61042 11.7225C8.61975 12.0933 8.53969 12.5138 8.22676 12.8433C7.91628 13.1702 7.28849 13.5 6.00001 13.5C4.71154 13.5 4.08375 13.1702 3.77327 12.8433C3.46033 12.5138 3.38027 12.0933 3.3896 11.7225ZM5 0.5C3.89543 0.5 3 1.39543 3 2.5H1.5C0.671573 2.5 0 3.17157 0 4V15C0 15.8284 0.671572 16.5 1.5 16.5H10.5C11.3284 16.5 12 15.8284 12 15V4C12 3.17157 11.3284 2.5 10.5 2.5H9C9 1.39543 8.10457 0.5 7 0.5H5ZM8.73244 3.5H10.5C10.7761 3.5 11 3.72386 11 4V15C11 15.2761 10.7761 15.5 10.5 15.5H1.5C1.22386 15.5 1 15.2761 1 15V4C1 3.72386 1.22386 3.5 1.5 3.5H3.26756C3.61337 4.0978 4.25972 4.5 5 4.5H7C7.74028 4.5 8.38663 4.0978 8.73244 3.5ZM4 2.5C4 1.94772 4.44772 1.5 5 1.5H7C7.55228 1.5 8 1.94772 8 2.5C8 3.05228 7.55228 3.5 7 3.5H5C4.44772 3.5 4 3.05228 4 2.5Z", fill: "currentColor" }));
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
|
-
|
|
31
|
-
const a = ".sc-plus-icon-h{display:flex}",
|
|
31
|
+
l.style = r;
|
|
32
|
+
const a = ".sc-plus-icon-h{display:flex}", f = a, w = class {
|
|
32
33
|
constructor(s) {
|
|
33
|
-
|
|
34
|
+
e(this, s), this.width = "20", this.height = "20";
|
|
34
35
|
}
|
|
35
36
|
render() {
|
|
36
|
-
return t("svg", { key: "
|
|
37
|
+
return t("svg", { key: "1dbd63a309d77cd139170d3a1e698e3e4eee53be", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "e9af7aa07751d96e797a7d122c687bdc6fd26bea", d: "M8.5 1C8.5 0.723858 8.27614 0.5 8 0.5C7.72386 0.5 7.5 0.723858 7.5 1V7.5H1C0.723858 7.5 0.5 7.72386 0.5 8C0.5 8.27614 0.723858 8.5 1 8.5H7.5V15C7.5 15.2761 7.72386 15.5 8 15.5C8.27614 15.5 8.5 15.2761 8.5 15V8.5H15C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5H8.5V1Z", fill: "currentColor" }));
|
|
37
38
|
}
|
|
38
39
|
};
|
|
39
|
-
|
|
40
|
+
w.style = f;
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
c as clock_icon,
|
|
42
43
|
n as edit_icon,
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
l as person_clipboard_icon,
|
|
45
|
+
w as plus_icon
|
|
45
46
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-3d1f13d6.cjs");require("react");require("react/jsx-runtime");require("react-dom");const h=".sc-clock-icon-h{display:flex}",n=h,s=class{constructor(e){t.registerInstance(this,e),this.width="16",this.height="16"}render(){return t.h("svg",{key:"09a7ff48a6ab1b20ebd663b67b938d675d4acbb1",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"c379495dcdc72444fb22c19aad3ac79d6b578ea6",d:"M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z",fill:"currentColor"}))}};s.style=n;const o=".sc-edit-icon-h{display:flex}",r=o,i=class{constructor(e){t.registerInstance(this,e),this.width="16",this.height="16"}render(){return t.h("svg",{key:"8491df3c0a8e0320a0032b19ed90c33d09f89f44",width:this.width,height:this.height,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"3be5d199db36f71ed40a953a9e6fdd2f3b4a3f26",d:"M11.245 0.817394C12.3318 -0.269413 14.0938 -0.269413 15.1806 0.817394C16.2222 1.85892 16.2656 3.5206 15.3108 4.6138L15.1806 4.75307L5.57482 14.3589C5.36973 14.564 5.12299 14.7215 4.85212 14.8213L4.68684 14.8742L0.631867 15.9801C0.285278 16.0746 -0.0347856 15.7861 0.00276241 15.4455L0.0179263 15.3662L1.12383 11.3112C1.20014 11.0314 1.33621 10.7722 1.52188 10.5511L1.63914 10.4232L11.245 0.817394ZM10.3848 3.09229L2.34625 11.1303C2.25396 11.2226 2.18093 11.3318 2.13086 11.4514L2.08859 11.5743L1.21196 14.785L4.42372 13.9094C4.50767 13.8865 4.5879 13.8529 4.66253 13.8096L4.77003 13.7375L4.86771 13.6518L12.9058 5.61329L10.3848 3.09229ZM14.4735 1.5245C13.8159 0.8669 12.7725 0.830367 12.072 1.4149L11.9521 1.5245L11.0918 2.38529L13.6128 4.90629L14.4735 4.04596C15.1311 3.38836 15.1677 2.34488 14.5831 1.64441L14.4735 1.5245Z",fill:"currentColor"}))}};i.style=r;const d=".sc-person-clipboard-icon-h{display:flex}",l=d,c=class{constructor(e){t.registerInstance(this,e),this.width="12",this.height="17"}render(){return t.h("svg",{key:"0f89f77101a9347469256e636f794c8f6333381f",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"699c6320f14688feacb6d26f214b99a37dc4511f",d:"M4 7.5C4 6.39543 4.89543 5.5 6 5.5C7.10457 5.5 8 6.39543 8 7.5C8 8.60457 7.10457 9.5 6 9.5C4.89543 9.5 4 8.60457 4 7.5ZM6 6.5C5.44772 6.5 5 6.94772 5 7.5C5 8.05228 5.44772 8.5 6 8.5C6.55228 8.5 7 8.05228 7 7.5C7 6.94772 6.55228 6.5 6 6.5ZM3.72077 10.5C3.10838 10.5 2.40961 10.9146 2.38992 11.6973C2.37693 12.2135 2.48426 12.9381 3.04816 13.5319C3.61451 14.1283 4.55301 14.5 6.00001 14.5C7.44702 14.5 8.38552 14.1283 8.95187 13.5319C9.51577 12.9381 9.6231 12.2135 9.61011 11.6973C9.59042 10.9146 8.89165 10.5 8.27925 10.5H3.72077ZM3.3896 11.7225C3.39099 11.6675 3.41262 11.6226 3.46275 11.582C3.51876 11.5366 3.6101 11.5 3.72077 11.5H8.27925C8.38993 11.5 8.48127 11.5366 8.53728 11.582C8.58741 11.6226 8.60904 11.6675 8.61042 11.7225C8.61975 12.0933 8.53969 12.5138 8.22676 12.8433C7.91628 13.1702 7.28849 13.5 6.00001 13.5C4.71154 13.5 4.08375 13.1702 3.77327 12.8433C3.46033 12.5138 3.38027 12.0933 3.3896 11.7225ZM5 0.5C3.89543 0.5 3 1.39543 3 2.5H1.5C0.671573 2.5 0 3.17157 0 4V15C0 15.8284 0.671572 16.5 1.5 16.5H10.5C11.3284 16.5 12 15.8284 12 15V4C12 3.17157 11.3284 2.5 10.5 2.5H9C9 1.39543 8.10457 0.5 7 0.5H5ZM8.73244 3.5H10.5C10.7761 3.5 11 3.72386 11 4V15C11 15.2761 10.7761 15.5 10.5 15.5H1.5C1.22386 15.5 1 15.2761 1 15V4C1 3.72386 1.22386 3.5 1.5 3.5H3.26756C3.61337 4.0978 4.25972 4.5 5 4.5H7C7.74028 4.5 8.38663 4.0978 8.73244 3.5ZM4 2.5C4 1.94772 4.44772 1.5 5 1.5H7C7.55228 1.5 8 1.94772 8 2.5C8 3.05228 7.55228 3.5 7 3.5H5C4.44772 3.5 4 3.05228 4 2.5Z",fill:"currentColor"}))}};c.style=l;const a=".sc-plus-icon-h{display:flex}",f=a,C=class{constructor(e){t.registerInstance(this,e),this.width="20",this.height="20"}render(){return t.h("svg",{key:"1dbd63a309d77cd139170d3a1e698e3e4eee53be",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"e9af7aa07751d96e797a7d122c687bdc6fd26bea",d:"M8.5 1C8.5 0.723858 8.27614 0.5 8 0.5C7.72386 0.5 7.5 0.723858 7.5 1V7.5H1C0.723858 7.5 0.5 7.72386 0.5 8C0.5 8.27614 0.723858 8.5 1 8.5H7.5V15C7.5 15.2761 7.72386 15.5 8 15.5C8.27614 15.5 8.5 15.2761 8.5 15V8.5H15C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5H8.5V1Z",fill:"currentColor"}))}};C.style=f;exports.clock_icon=s;exports.edit_icon=i;exports.person_clipboard_icon=c;exports.plus_icon=C;
|
|
@@ -2,17 +2,42 @@ var r;
|
|
|
2
2
|
(function(a) {
|
|
3
3
|
a.en = "en", a.es = "es", a.fr = "fr", a.de = "de", a.sv = "sv", a.zh = "zh", a.ja = "ja", a.nl = "nl", a.ko = "ko";
|
|
4
4
|
})(r || (r = {}));
|
|
5
|
-
const
|
|
5
|
+
const A = [
|
|
6
|
+
{ label: "hour", value: "hour" },
|
|
7
|
+
{ label: "day", value: "day" },
|
|
8
|
+
{ label: "week", value: "week" },
|
|
9
|
+
{ label: "month", value: "month" },
|
|
10
|
+
{ label: "year", value: "year" }
|
|
11
|
+
];
|
|
12
|
+
var c;
|
|
13
|
+
(function(a) {
|
|
14
|
+
a.group_events = "group_events";
|
|
15
|
+
})(c || (c = {}));
|
|
16
|
+
var n;
|
|
17
|
+
(function(a) {
|
|
18
|
+
a.one_on_one = "one-on-one", a.collective = "collective", a.max_fairness = "max-fairness", a.max_availability = "max-availability", a.group = "group";
|
|
19
|
+
})(n || (n = {}));
|
|
20
|
+
const t = {
|
|
6
21
|
en: "English",
|
|
7
22
|
es: "Español",
|
|
8
23
|
fr: "Français",
|
|
9
|
-
de: "
|
|
24
|
+
de: "Deutsch",
|
|
10
25
|
sv: "Svenska",
|
|
11
26
|
zh: "中文",
|
|
12
27
|
ja: "日本語",
|
|
13
28
|
nl: "Nederlands",
|
|
14
29
|
ko: "한국어"
|
|
15
|
-
},
|
|
30
|
+
}, s = {
|
|
31
|
+
en: "en-US",
|
|
32
|
+
es: "es-ES",
|
|
33
|
+
fr: "fr-FR",
|
|
34
|
+
de: "de-DE",
|
|
35
|
+
sv: "sv-SE",
|
|
36
|
+
zh: "zh-CN",
|
|
37
|
+
ja: "ja-JP",
|
|
38
|
+
nl: "nl-NL",
|
|
39
|
+
ko: "ko-KR"
|
|
40
|
+
}, l = {
|
|
16
41
|
en: "en",
|
|
17
42
|
es: "es",
|
|
18
43
|
fr: "fr",
|
|
@@ -22,7 +47,7 @@ const n = {
|
|
|
22
47
|
ja: "ja",
|
|
23
48
|
nl: "nl",
|
|
24
49
|
ko: "ko"
|
|
25
|
-
},
|
|
50
|
+
}, u = {
|
|
26
51
|
"Africa/Abidjan": "Africa / Abidjan",
|
|
27
52
|
"Africa/Accra": "Africa / Accra",
|
|
28
53
|
"Africa/Addis_Ababa": "Africa / Addis Ababa",
|
|
@@ -619,7 +644,7 @@ const n = {
|
|
|
619
644
|
"W-SU": "W-SU",
|
|
620
645
|
WET: "WET",
|
|
621
646
|
Zulu: "Zulu"
|
|
622
|
-
},
|
|
647
|
+
}, m = [
|
|
623
648
|
{
|
|
624
649
|
token: "$invitee",
|
|
625
650
|
value: "${invitee}",
|
|
@@ -635,7 +660,7 @@ const n = {
|
|
|
635
660
|
value: "${duration}",
|
|
636
661
|
description: "The length in time of the event."
|
|
637
662
|
}
|
|
638
|
-
],
|
|
663
|
+
], d = [
|
|
639
664
|
{
|
|
640
665
|
days: [1, 2, 3, 4, 5],
|
|
641
666
|
ex_dates: [],
|
|
@@ -643,15 +668,15 @@ const n = {
|
|
|
643
668
|
start: "09:00",
|
|
644
669
|
end: "17:00"
|
|
645
670
|
}
|
|
646
|
-
],
|
|
671
|
+
], o = {
|
|
647
672
|
google: "Google Meet",
|
|
648
673
|
zoom: "Zoom Meeting",
|
|
649
674
|
microsoft: "Microsoft Teams"
|
|
650
|
-
},
|
|
675
|
+
}, f = {
|
|
651
676
|
"Google Meet": "google",
|
|
652
677
|
"Zoom Meeting": "zoom",
|
|
653
678
|
"Microsoft Teams": "microsoft"
|
|
654
|
-
},
|
|
679
|
+
}, p = [
|
|
655
680
|
{
|
|
656
681
|
label: "Email",
|
|
657
682
|
value: "email"
|
|
@@ -692,14 +717,15 @@ const n = {
|
|
|
692
717
|
label: "Multi Select",
|
|
693
718
|
value: "multi_select"
|
|
694
719
|
}
|
|
695
|
-
],
|
|
720
|
+
], E = [
|
|
696
721
|
{
|
|
697
722
|
type: "email",
|
|
698
723
|
typeLabel: "Email",
|
|
699
724
|
label: "Additional email",
|
|
700
725
|
key: "additional_email",
|
|
701
726
|
isOpen: !1,
|
|
702
|
-
required: !1
|
|
727
|
+
required: !1,
|
|
728
|
+
fieldLabelKey: "email"
|
|
703
729
|
},
|
|
704
730
|
{
|
|
705
731
|
type: "phone_number",
|
|
@@ -707,7 +733,8 @@ const n = {
|
|
|
707
733
|
label: "Phone Number Label",
|
|
708
734
|
key: "phone_number",
|
|
709
735
|
isOpen: !1,
|
|
710
|
-
required: !1
|
|
736
|
+
required: !1,
|
|
737
|
+
fieldLabelKey: "phone_number"
|
|
711
738
|
},
|
|
712
739
|
{
|
|
713
740
|
type: "dropdown",
|
|
@@ -716,7 +743,8 @@ const n = {
|
|
|
716
743
|
key: "dropdown",
|
|
717
744
|
isOpen: !1,
|
|
718
745
|
required: !1,
|
|
719
|
-
options: ["", ""]
|
|
746
|
+
options: ["", ""],
|
|
747
|
+
fieldLabelKey: "dropdown"
|
|
720
748
|
},
|
|
721
749
|
{
|
|
722
750
|
type: "text",
|
|
@@ -724,7 +752,8 @@ const n = {
|
|
|
724
752
|
label: "Short Text Label",
|
|
725
753
|
key: "short_text",
|
|
726
754
|
isOpen: !1,
|
|
727
|
-
required: !1
|
|
755
|
+
required: !1,
|
|
756
|
+
fieldLabelKey: "text"
|
|
728
757
|
},
|
|
729
758
|
{
|
|
730
759
|
type: "multi_line_text",
|
|
@@ -732,7 +761,8 @@ const n = {
|
|
|
732
761
|
label: "Long text Label",
|
|
733
762
|
key: "long_text",
|
|
734
763
|
isOpen: !1,
|
|
735
|
-
required: !1
|
|
764
|
+
required: !1,
|
|
765
|
+
fieldLabelKey: "multi_line_text"
|
|
736
766
|
},
|
|
737
767
|
{
|
|
738
768
|
type: "checkbox",
|
|
@@ -740,7 +770,8 @@ const n = {
|
|
|
740
770
|
label: "Checkbox Label",
|
|
741
771
|
key: "checkbox",
|
|
742
772
|
isOpen: !1,
|
|
743
|
-
required: !1
|
|
773
|
+
required: !1,
|
|
774
|
+
fieldLabelKey: "checkbox"
|
|
744
775
|
},
|
|
745
776
|
{
|
|
746
777
|
type: "radio_button",
|
|
@@ -749,7 +780,8 @@ const n = {
|
|
|
749
780
|
key: "radio_button",
|
|
750
781
|
isOpen: !1,
|
|
751
782
|
required: !1,
|
|
752
|
-
options: ["", ""]
|
|
783
|
+
options: ["", ""],
|
|
784
|
+
fieldLabelKey: "radio_button"
|
|
753
785
|
},
|
|
754
786
|
{
|
|
755
787
|
type: "metadata",
|
|
@@ -757,7 +789,8 @@ const n = {
|
|
|
757
789
|
label: "Metadata Label",
|
|
758
790
|
key: "metadata",
|
|
759
791
|
isOpen: !1,
|
|
760
|
-
required: !1
|
|
792
|
+
required: !1,
|
|
793
|
+
fieldLabelKey: "metadata"
|
|
761
794
|
},
|
|
762
795
|
{
|
|
763
796
|
type: "date",
|
|
@@ -765,7 +798,8 @@ const n = {
|
|
|
765
798
|
label: "Date Label",
|
|
766
799
|
key: "date",
|
|
767
800
|
isOpen: !1,
|
|
768
|
-
required: !1
|
|
801
|
+
required: !1,
|
|
802
|
+
fieldLabelKey: "date"
|
|
769
803
|
},
|
|
770
804
|
{
|
|
771
805
|
type: "multi_select",
|
|
@@ -774,10 +808,11 @@ const n = {
|
|
|
774
808
|
key: "multi_select",
|
|
775
809
|
isOpen: !1,
|
|
776
810
|
required: !1,
|
|
777
|
-
options: ["", ""]
|
|
811
|
+
options: ["", ""],
|
|
812
|
+
fieldLabelKey: "multi_select"
|
|
778
813
|
}
|
|
779
814
|
];
|
|
780
|
-
Object.keys(
|
|
815
|
+
Object.keys(o).map((a) => a);
|
|
781
816
|
[
|
|
782
817
|
{ value: 1, label: "1" },
|
|
783
818
|
...Array.from({ length: 90 / 5 + 1 }, (a, i) => {
|
|
@@ -787,15 +822,71 @@ Object.keys(c).map((a) => a);
|
|
|
787
822
|
].sort((a, i) => a.value - i.value);
|
|
788
823
|
Array.from({ length: 23 }, (a, i) => ({ value: i + 1, label: (i + 1).toString() }));
|
|
789
824
|
Array.from({ length: 7 }, (a, i) => ({ value: i + 1, label: (i + 1).toString() }));
|
|
825
|
+
const g = [
|
|
826
|
+
"title",
|
|
827
|
+
"description",
|
|
828
|
+
"duration",
|
|
829
|
+
"availability",
|
|
830
|
+
"participants",
|
|
831
|
+
"booking-calendar",
|
|
832
|
+
"participant-booking-calendars",
|
|
833
|
+
"location",
|
|
834
|
+
"conference",
|
|
835
|
+
"confirmation-type",
|
|
836
|
+
"buffer-time",
|
|
837
|
+
"limit-future-bookings",
|
|
838
|
+
"min-cancellation-notice",
|
|
839
|
+
"min-booking-notice",
|
|
840
|
+
"cancellation-policy",
|
|
841
|
+
"timeslot-interval",
|
|
842
|
+
"customize-booking-settings",
|
|
843
|
+
"participant-custom-availability",
|
|
844
|
+
"additional-fields",
|
|
845
|
+
"connected-calendars",
|
|
846
|
+
"confirmation-email-template",
|
|
847
|
+
"disable-emails",
|
|
848
|
+
"reminder-overrides",
|
|
849
|
+
"confirmation-redirect",
|
|
850
|
+
"availability-method",
|
|
851
|
+
"custom-event-slug",
|
|
852
|
+
"page-styling",
|
|
853
|
+
"page-name"
|
|
854
|
+
], h = [
|
|
855
|
+
"title",
|
|
856
|
+
"description",
|
|
857
|
+
"location",
|
|
858
|
+
"conference",
|
|
859
|
+
"confirmation-type",
|
|
860
|
+
"min-cancellation-notice",
|
|
861
|
+
"cancellation-policy",
|
|
862
|
+
"customize-booking-settings",
|
|
863
|
+
"booking-calendar",
|
|
864
|
+
"event-capacity",
|
|
865
|
+
"additional-fields",
|
|
866
|
+
"confirmation-email-template",
|
|
867
|
+
"reminder-overrides",
|
|
868
|
+
"confirmation-redirect",
|
|
869
|
+
"custom-event-slug",
|
|
870
|
+
"page-styling",
|
|
871
|
+
"page-name",
|
|
872
|
+
"participants",
|
|
873
|
+
"event-timeslot"
|
|
874
|
+
];
|
|
790
875
|
export {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
876
|
+
n as C,
|
|
877
|
+
d as D,
|
|
878
|
+
c as E,
|
|
879
|
+
E as F,
|
|
795
880
|
r as L,
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
881
|
+
o as P,
|
|
882
|
+
u as T,
|
|
883
|
+
t as a,
|
|
884
|
+
l as b,
|
|
885
|
+
h as c,
|
|
886
|
+
s as d,
|
|
887
|
+
g as e,
|
|
888
|
+
p as f,
|
|
889
|
+
m as g,
|
|
890
|
+
f as h,
|
|
891
|
+
A as i
|
|
801
892
|
};
|