@nylas/react 1.3.6 → 1.4.1
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-04909861.cjs +1 -0
- package/dist/add-circle-icon_2.entry-0d9ba871.js +26 -0
- package/dist/archive-icon.entry-3d6d9d3f.js +16 -0
- package/dist/archive-icon.entry-88459432.cjs +1 -0
- package/dist/{arrow-icon.entry-9cfd86a1.js → arrow-icon.entry-789ee889.js} +3 -2
- package/dist/arrow-icon.entry-c35e1933.cjs +1 -0
- package/dist/bold-icon.entry-827e95bf.cjs +1 -0
- package/dist/{bold-icon.entry-eab3420d.js → bold-icon.entry-fbb382d2.js} +7 -6
- package/dist/{button-component_2.entry-7cd5f9c0.js → button-component_2.entry-6c012ee4.js} +10 -9
- package/dist/button-component_2.entry-acd13f45.cjs +1 -0
- package/dist/calendar-agenda-fill-icon_36.entry-1bb3b1a8.js +4689 -0
- package/dist/calendar-agenda-fill-icon_36.entry-fa8121df.cjs +6 -0
- package/dist/calendar-cancel-icon.entry-2e97f7d8.cjs +1 -0
- package/dist/{calendar-cancel-icon.entry-299d6fba.js → calendar-cancel-icon.entry-a4d040db.js} +6 -5
- package/dist/{calendar-check-icon_2.entry-08ef8d2f.js → calendar-check-icon_2.entry-a48a358d.js} +12 -11
- package/dist/calendar-check-icon_2.entry-bca4821d.cjs +1 -0
- package/dist/{calendar-icon.entry-53b54115.js → calendar-icon.entry-57727659.js} +6 -5
- package/dist/calendar-icon.entry-a289313a.cjs +1 -0
- package/dist/checkbox-component.entry-af3e7005.cjs +1 -0
- package/dist/checkbox-component.entry-f4f98226.js +43 -0
- package/dist/checkmark-icon_15.entry-dace1b62.cjs +5 -0
- package/dist/checkmark-icon_15.entry-f43549b3.js +1337 -0
- package/dist/chevron-icon_3.entry-219b42e6.cjs +1 -0
- package/dist/chevron-icon_3.entry-25533d13.js +148 -0
- package/dist/clock-icon_4.entry-3917c667.cjs +1 -0
- package/dist/{clock-icon_4.entry-0e809dcb.js → clock-icon_4.entry-76f29f7e.js} +9 -8
- package/dist/{constants-6da0ede7-49c32ba7.js → constants-3d8016e3-3c080f00.js} +110 -41
- package/dist/constants-3d8016e3-fd6c3848.cjs +1 -0
- package/dist/customParseFormat-6c652dbb-8a42d5b0.js +135 -0
- package/dist/customParseFormat-6c652dbb-ba81ab97.cjs +1 -0
- package/dist/{delete-icon.entry-802084f6.js → delete-icon.entry-3b61864e.js} +8 -7
- package/dist/delete-icon.entry-96420b21.cjs +1 -0
- package/dist/{document-refresh-icon.entry-d1604f53.js → document-refresh-icon.entry-7333b7c9.js} +6 -5
- package/dist/document-refresh-icon.entry-8b5c6b9b.cjs +1 -0
- package/dist/elements/index.d.ts +10 -0
- package/dist/{feedbackSync-c040f483-2b6476c4.js → feedbackSync-352aaf4a-b2b83cfa.js} +1 -1
- package/dist/{feedbackSync-c040f483-d6dd0560.cjs → feedbackSync-352aaf4a-ba1bf452.cjs} +1 -1
- package/dist/{folder-icon.entry-6c0c09ed.js → folder-icon.entry-bb5e2452.js} +5 -4
- package/dist/folder-icon.entry-d2e46d3a.cjs +1 -0
- package/dist/forward-icon.entry-1fcf5a6b.cjs +1 -0
- package/dist/forward-icon.entry-af8d2147.js +16 -0
- package/dist/globe-icon_2.entry-b4b55760.cjs +1 -0
- package/dist/globe-icon_2.entry-cc6d9d67.js +200 -0
- package/dist/google-logo-icon_6.entry-aa7b5b42.js +1484 -0
- package/dist/google-logo-icon_6.entry-eefdec63.cjs +2 -0
- package/dist/google-meet-icon_5.entry-9758e527.js +56 -0
- package/dist/google-meet-icon_5.entry-c545537a.cjs +1 -0
- package/dist/inbox-icon.entry-b9640d5a.cjs +1 -0
- package/dist/inbox-icon.entry-c005ebc5.js +16 -0
- package/dist/index-05630f15.cjs +57 -0
- package/dist/index-78390f2e.js +17607 -0
- package/dist/index.d.ts +1 -3
- package/dist/{index.es-2b014ec7-72557487.js → index.es-4a203e8e-cf485db5.js} +818 -804
- package/dist/{index.es-2b014ec7-0589e68a.cjs → index.es-4a203e8e-f668b8c2.cjs} +6 -6
- package/dist/info-icon_2.entry-b17298b6.js +35 -0
- package/dist/info-icon_2.entry-ecbc6605.cjs +1 -0
- package/dist/input-component.entry-24366ab8.cjs +1 -0
- package/dist/input-component.entry-9da5da6c.js +84 -0
- package/dist/input-dropdown_2.entry-0109b06c.cjs +1 -0
- package/dist/input-dropdown_2.entry-d65f7152.js +231 -0
- package/dist/italic-icon.entry-afa4332a.cjs +1 -0
- package/dist/{italic-icon.entry-d610e66f.js → italic-icon.entry-d0a536f2.js} +3 -2
- package/dist/multi-select-dropdown_2.entry-2c7a1a06.cjs +1 -0
- package/dist/multi-select-dropdown_2.entry-c56b5fd2.js +187 -0
- package/dist/notebook-store-b61693cd-0877e7a2.js +14 -0
- package/dist/notebook-store-b61693cd-a7b8ae37.cjs +5 -0
- package/dist/nylas-booked-event-card_12.entry-827c7fb4.cjs +1 -0
- package/dist/nylas-booked-event-card_12.entry-960fdfe2.js +1422 -0
- package/dist/nylas-call-summary.entry-1cce1446.js +16 -0
- package/dist/nylas-call-summary.entry-f10f3c54.cjs +1 -0
- package/dist/nylas-event-calendar_3.entry-8bb08ed3.js +9705 -0
- package/dist/nylas-event-calendar_3.entry-b656237b.cjs +6 -0
- package/dist/nylas-form-card.entry-62578338.cjs +1 -0
- package/dist/nylas-form-card.entry-7455b8f1.js +58 -0
- package/dist/nylas-if-state.entry-0897dc70.cjs +1 -0
- package/dist/{nylas-if-state.entry-ee7d92b0.js → nylas-if-state.entry-7fa6d392.js} +4 -3
- package/dist/nylas-key-points.entry-449e1be0.js +29 -0
- package/dist/nylas-key-points.entry-693f33a1.cjs +1 -0
- package/dist/nylas-login.entry-36544dc8.cjs +1 -0
- package/dist/{nylas-login.entry-265f9d0f.js → nylas-login.entry-d7082306.js} +4 -3
- package/dist/{nylas-provider.entry-5605a3e0.js → nylas-provider.entry-a0e7ce4d.js} +6 -5
- package/dist/nylas-provider.entry-b93d2a62.cjs +1 -0
- package/dist/nylas-scheduler-editor.entry-332d27e0.cjs +2 -0
- package/dist/{nylas-scheduler-editor.entry-b3e085b3.js → nylas-scheduler-editor.entry-78fe5abf.js} +524 -266
- package/dist/nylas-scheduling.entry-1d80c349.cjs +1 -0
- package/dist/nylas-scheduling.entry-fa9ff55b.js +439 -0
- package/dist/nylas-transcript.entry-570d3abe.cjs +6 -0
- package/dist/nylas-transcript.entry-b129565c.js +128 -0
- package/dist/nylas-video-player.entry-9c7c9792.cjs +1 -0
- package/dist/nylas-video-player.entry-e208d443.js +39 -0
- package/dist/nylas-video-preview.entry-a3f542ad.js +16 -0
- package/dist/nylas-video-preview.entry-bd9bdda7.cjs +1 -0
- package/dist/{person-icon.entry-85660f98.js → person-icon.entry-82fbc43e.js} +8 -7
- package/dist/person-icon.entry-e4d11400.cjs +1 -0
- package/dist/play-icon.entry-68bc660a.js +16 -0
- package/dist/play-icon.entry-9cab598b.cjs +1 -0
- package/dist/radio-button-group.entry-6a2adf11.cjs +1 -0
- package/dist/radio-button-group.entry-f7679911.js +47 -0
- package/dist/react.cjs +1 -1
- package/dist/react.js +134 -125
- package/dist/refresh-icon.entry-0f1e5f20.cjs +1 -0
- package/dist/{refresh-icon.entry-d8644f5d.js → refresh-icon.entry-394b0814.js} +6 -5
- package/dist/{register-component-e9c10e19-80bbc4dd.cjs → register-component-1027b769-62812558.cjs} +1 -1
- package/dist/{register-component-e9c10e19-099fb50f.js → register-component-1027b769-dd21b16d.js} +1 -1
- package/dist/{reply-all-icon.entry-f209daeb.js → reply-all-icon.entry-0fad8f2f.js} +5 -4
- package/dist/reply-all-icon.entry-1680f1e5.cjs +1 -0
- package/dist/{reply-icon.entry-d37a129b.js → reply-icon.entry-5f4b7837.js} +5 -4
- package/dist/reply-icon.entry-77342442.cjs +1 -0
- package/dist/scheduler-config-store-d6729d8d-06a3a314.cjs +1 -0
- package/dist/{scheduler-config-store-ed4a8dfd-35ec90c6.js → scheduler-config-store-d6729d8d-854b5da8.js} +4 -1
- package/dist/scheduler-store-f3e2a26f-7cee436f.cjs +1 -0
- package/dist/scheduler-store-f3e2a26f-85df53f7.js +533 -0
- package/dist/sent-icon.entry-20a8945d.cjs +1 -0
- package/dist/sent-icon.entry-2d122865.js +16 -0
- package/dist/spam-icon.entry-86178cc5.cjs +1 -0
- package/dist/spam-icon.entry-9e374d44.js +16 -0
- package/dist/star-icon.entry-1b94c861.cjs +1 -0
- package/dist/{star-icon.entry-9b22bb32.js → star-icon.entry-bb1b517d.js} +7 -6
- package/dist/stop-icon.entry-7b21833b.cjs +1 -0
- package/dist/{stop-icon.entry-1f7918b2.js → stop-icon.entry-e4d3526d.js} +3 -2
- package/dist/textarea-component.entry-ba3c9311.js +39 -0
- package/dist/textarea-component.entry-fdba933d.cjs +1 -0
- package/dist/toggle-switch.entry-4a980d1d.js +34 -0
- package/dist/toggle-switch.entry-9142a3d3.cjs +1 -0
- package/dist/{translate-icon.entry-8cffa646.js → translate-icon.entry-1657aa04.js} +5 -4
- package/dist/translate-icon.entry-b4908cf3.cjs +1 -0
- package/dist/trash-fill-icon.entry-a6791185.cjs +1 -0
- package/dist/trash-fill-icon.entry-c9e1769e.js +16 -0
- package/dist/{underline-icon.entry-afd9c78b.js → underline-icon.entry-1ba4d923.js} +5 -4
- package/dist/underline-icon.entry-d1f91e63.cjs +1 -0
- package/dist/warning-icon.entry-b1480f57.cjs +1 -0
- package/dist/{warning-icon.entry-53441175.js → warning-icon.entry-fe155c15.js} +5 -4
- package/package.json +12 -4
- package/dist/add-circle-icon.entry-25aecb13.js +0 -15
- package/dist/add-circle-icon.entry-5c49ba96.cjs +0 -1
- package/dist/archive-icon.entry-0a9e8ec3.cjs +0 -1
- package/dist/archive-icon.entry-89e31121.js +0 -15
- package/dist/arrow-icon.entry-19e5237c.cjs +0 -1
- package/dist/bold-icon.entry-d591e701.cjs +0 -1
- package/dist/button-component_2.entry-ce4314bf.cjs +0 -1
- package/dist/calendar-agenda-fill-icon_54.entry-7099138a.js +0 -5865
- package/dist/calendar-agenda-fill-icon_54.entry-9228dbe7.cjs +0 -8
- package/dist/calendar-cancel-icon.entry-6e3d20f1.cjs +0 -1
- package/dist/calendar-check-icon_2.entry-087dd913.cjs +0 -1
- package/dist/calendar-icon.entry-73f9d05b.cjs +0 -1
- package/dist/checkbox-component_3.entry-bc9768dd.cjs +0 -1
- package/dist/checkbox-component_3.entry-d828eb1d.js +0 -149
- package/dist/chevron-icon_3.entry-783588a9.js +0 -147
- package/dist/chevron-icon_3.entry-e956d78c.cjs +0 -1
- package/dist/clock-icon_4.entry-60d41dfd.cjs +0 -1
- package/dist/close-icon.entry-1b5d25c5.cjs +0 -1
- package/dist/close-icon.entry-fef4f624.js +0 -15
- package/dist/constants-6da0ede7-151395ad.cjs +0 -1
- package/dist/copy-icon.entry-25699ab8.js +0 -15
- package/dist/copy-icon.entry-ab6530e0.cjs +0 -1
- package/dist/core-js-38e53e34.cjs +0 -4
- package/dist/core-js-a9d3b6e1.js +0 -3297
- package/dist/delete-icon.entry-e99e1f82.cjs +0 -1
- package/dist/document-refresh-icon.entry-065a59f5.cjs +0 -1
- package/dist/dom-68f08be9.cjs +0 -15
- package/dist/dom-86e17616.js +0 -664
- package/dist/folder-icon.entry-351e61fc.cjs +0 -1
- package/dist/forward-icon.entry-0ccfb600.js +0 -15
- package/dist/forward-icon.entry-6b7af9cd.cjs +0 -1
- package/dist/globe-icon.entry-2b75b66b.cjs +0 -1
- package/dist/globe-icon.entry-5ddcd2cb.js +0 -15
- package/dist/google-logo-icon_4.entry-04174684.js +0 -790
- package/dist/google-logo-icon_4.entry-a685ff91.cjs +0 -1
- package/dist/inbox-icon.entry-0ad18b3f.js +0 -15
- package/dist/inbox-icon.entry-425d1ded.cjs +0 -1
- package/dist/index-7e7c24f1.js +0 -16837
- package/dist/index-81719cc6.cjs +0 -81
- package/dist/info-icon_2.entry-7ec02802.cjs +0 -1
- package/dist/info-icon_2.entry-a6d0e842.js +0 -34
- package/dist/input-color-picker.entry-d98d06ca.js +0 -48
- package/dist/input-color-picker.entry-ed9a1c07.cjs +0 -1
- package/dist/input-component.entry-2e57b00e.cjs +0 -1
- package/dist/input-component.entry-f3aa3419.js +0 -70
- package/dist/input-dropdown_2.entry-0d9c8475.js +0 -228
- package/dist/input-dropdown_2.entry-6fc7df16.cjs +0 -1
- package/dist/italic-icon.entry-7a8712f2.cjs +0 -1
- package/dist/multi-select-dropdown.entry-b31d9f11.js +0 -116
- package/dist/multi-select-dropdown.entry-eaa268b4.cjs +0 -1
- package/dist/nylas-booked-event-card_12.entry-45514813.js +0 -1378
- package/dist/nylas-booked-event-card_12.entry-498de30a.cjs +0 -1
- package/dist/nylas-form-card.entry-67aec298.js +0 -57
- package/dist/nylas-form-card.entry-fdb3c114.cjs +0 -1
- package/dist/nylas-if-state.entry-76b38c9c.cjs +0 -1
- package/dist/nylas-login.entry-589e45d0.cjs +0 -1
- package/dist/nylas-provider.entry-cfb9627c.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-6fdfb9b5.cjs +0 -2
- package/dist/nylas-scheduling.entry-8cc5c353.cjs +0 -1
- package/dist/nylas-scheduling.entry-bc00beba.js +0 -424
- package/dist/nylas-time-window-picker.entry-a77c1d67.cjs +0 -1
- package/dist/nylas-time-window-picker.entry-c421303e.js +0 -316
- package/dist/person-icon.entry-36b21e95.cjs +0 -1
- package/dist/play-icon.entry-953b1bc8.js +0 -15
- package/dist/play-icon.entry-c35ade8a.cjs +0 -1
- package/dist/refresh-icon.entry-038501ca.cjs +0 -1
- package/dist/reply-all-icon.entry-ead9d0ba.cjs +0 -1
- package/dist/reply-icon.entry-b7f35ecd.cjs +0 -1
- package/dist/scheduler-config-store-ed4a8dfd-0d4408cf.cjs +0 -1
- package/dist/scheduler-store-dc3a7958-7c73f5e2.js +0 -487
- package/dist/scheduler-store-dc3a7958-99c6bdf6.cjs +0 -1
- package/dist/sent-icon.entry-b662ef5b.cjs +0 -1
- package/dist/sent-icon.entry-ec433cec.js +0 -15
- package/dist/spam-icon.entry-3a553ae4.js +0 -15
- package/dist/spam-icon.entry-a79819fd.cjs +0 -1
- package/dist/star-icon.entry-47ea44e7.cjs +0 -1
- package/dist/stop-icon.entry-26e2e633.cjs +0 -1
- package/dist/textarea-component.entry-6939d0fc.js +0 -38
- package/dist/textarea-component.entry-da0a861e.cjs +0 -1
- package/dist/toggle-switch.entry-5ae5ba46.js +0 -33
- package/dist/toggle-switch.entry-c5fd3e33.cjs +0 -1
- package/dist/translate-icon.entry-72e0369e.cjs +0 -1
- package/dist/trash-fill-icon.entry-815859c6.js +0 -15
- package/dist/trash-fill-icon.entry-8620c28f.cjs +0 -1
- package/dist/underline-icon.entry-ba1a9e87.cjs +0 -1
- package/dist/warning-icon.entry-7cbede6b.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.LANGUAGE_CODE=void 0;(function(a){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"})(exports.LANGUAGE_CODE||(exports.LANGUAGE_CODE={}));const c=[{label:"hour",value:"hour"},{label:"day",value:"day"},{label:"week",value:"week"},{label:"month",value:"month"},{label:"year",value:"year"}];exports.EXPERIMENTAL_FEATURES=void 0;(function(a){a.group_events="group_events"})(exports.EXPERIMENTAL_FEATURES||(exports.EXPERIMENTAL_FEATURES={}));exports.CONFIGURATION_EVENT_TYPE=void 0;(function(a){a.one_on_one="one-on-one",a.collective="collective",a.max_fairness="max-fairness",a.max_availability="max-availability",a.group="group"})(exports.CONFIGURATION_EVENT_TYPE||(exports.CONFIGURATION_EVENT_TYPE={}));const n={en:"English",es:"Español",fr:"Français",de:"Deutsch",sv:"Svenska",zh:"中文",ja:"日本語",nl:"Nederlands",ko:"한국어"},o={en:"en-US",es:"es-ES",fr:"fr-FR",de:"de-DE",sv:"sv-SE",zh:"zh-CN",ja:"ja-JP",nl:"nl-NL",ko:"ko-KR"},A={"Africa/Abidjan":"Africa / Abidjan","Africa/Accra":"Africa / Accra","Africa/Addis_Ababa":"Africa / Addis Ababa","Africa/Algiers":"Africa / Algiers","Africa/Asmara":"Africa / Asmara","Africa/Asmera":"Africa / Asmera","Africa/Bamako":"Africa / Bamako","Africa/Bangui":"Africa / Bangui","Africa/Banjul":"Africa / Banjul","Africa/Bissau":"Africa / Bissau","Africa/Blantyre":"Africa / Blantyre","Africa/Brazzaville":"Africa / Brazzaville","Africa/Bujumbura":"Africa / Bujumbura","Africa/Cairo":"Africa / Cairo","Africa/Casablanca":"Africa / Casablanca","Africa/Ceuta":"Africa / Ceuta","Africa/Conakry":"Africa / Conakry","Africa/Dakar":"Africa / Dakar","Africa/Dar_es_Salaam":"Africa / Dar es Salaam","Africa/Djibouti":"Africa / Djibouti","Africa/Douala":"Africa / Douala","Africa/El_Aaiun":"Africa / El Aaiun","Africa/Freetown":"Africa / Freetown","Africa/Gaborone":"Africa / Gaborone","Africa/Harare":"Africa / Harare","Africa/Johannesburg":"Africa / Johannesburg","Africa/Juba":"Africa / Juba","Africa/Kampala":"Africa / Kampala","Africa/Khartoum":"Africa / Khartoum","Africa/Kigali":"Africa / Kigali","Africa/Kinshasa":"Africa / Kinshasa","Africa/Lagos":"Africa / Lagos","Africa/Libreville":"Africa / Libreville","Africa/Lome":"Africa / Lome","Africa/Luanda":"Africa / Luanda","Africa/Lubumbashi":"Africa / Lubumbashi","Africa/Lusaka":"Africa / Lusaka","Africa/Malabo":"Africa / Malabo","Africa/Maputo":"Africa / Maputo","Africa/Maseru":"Africa / Maseru","Africa/Mbabane":"Africa / Mbabane","Africa/Mogadishu":"Africa / Mogadishu","Africa/Monrovia":"Africa / Monrovia","Africa/Nairobi":"Africa / Nairobi","Africa/Ndjamena":"Africa / Ndjamena","Africa/Niamey":"Africa / Niamey","Africa/Nouakchott":"Africa / Nouakchott","Africa/Ouagadougou":"Africa / Ouagadougou","Africa/Porto-Novo":"Africa / Porto-Novo","Africa/Sao_Tome":"Africa / Sao Tome","Africa/Timbuktu":"Africa / Timbuktu","Africa/Tripoli":"Africa / Tripoli","Africa/Tunis":"Africa / Tunis","Africa/Windhoek":"Africa / Windhoek","America/Adak":"America / Adak","America/Anchorage":"America / Anchorage","America/Anguilla":"America / Anguilla","America/Antigua":"America / Antigua","America/Araguaina":"America / Araguaina","America/Argentina/Buenos_Aires":"America / Argentina / Buenos Aires","America/Argentina/Catamarca":"America / Argentina / Catamarca","America/Argentina/ComodRivadavia":"America / Argentina / ComodRivadavia","America/Argentina/Cordoba":"America / Argentina / Cordoba","America/Argentina/Jujuy":"America / Argentina / Jujuy","America/Argentina/La_Rioja":"America / Argentina / La Rioja","America/Argentina/Mendoza":"America / Argentina / Mendoza","America/Argentina/Rio_Gallegos":"America / Argentina / Rio Gallegos","America/Argentina/Salta":"America / Argentina / Salta","America/Argentina/San_Juan":"America / Argentina / San Juan","America/Argentina/San_Luis":"America / Argentina / San Luis","America/Argentina/Tucuman":"America / Argentina / Tucuman","America/Argentina/Ushuaia":"America / Argentina / Ushuaia","America/Aruba":"America / Aruba","America/Asuncion":"America / Asuncion","America/Atikokan":"America / Atikokan","America/Atka":"America / Atka","America/Bahia":"America / Bahia","America/Bahia_Banderas":"America / Bahia Banderas","America/Barbados":"America / Barbados","America/Belem":"America / Belem","America/Belize":"America / Belize","America/Blanc-Sablon":"America / Blanc-Sablon","America/Boa_Vista":"America / Boa Vista","America/Bogota":"America / Bogota","America/Boise":"America / Boise","America/Buenos_Aires":"America / Buenos Aires","America/Cambridge_Bay":"America / Cambridge Bay","America/Campo_Grande":"America / Campo Grande","America/Cancun":"America / Cancun","America/Caracas":"America / Caracas","America/Catamarca":"America / Catamarca","America/Cayenne":"America / Cayenne","America/Cayman":"America / Cayman","America/Chicago":"America / Chicago","America/Chihuahua":"America / Chihuahua","America/Ciudad_Juarez":"America / Ciudad Juarez","America/Coral_Harbour":"America / Coral Harbour","America/Cordoba":"America / Cordoba","America/Costa_Rica":"America / Costa Rica","America/Creston":"America / Creston","America/Cuiaba":"America / Cuiaba","America/Curacao":"America / Curacao","America/Danmarkshavn":"America / Danmarkshavn","America/Dawson":"America / Dawson","America/Dawson_Creek":"America / Dawson Creek","America/Denver":"America / Denver","America/Detroit":"America / Detroit","America/Dominica":"America / Dominica","America/Edmonton":"America / Edmonton","America/Eirunepe":"America / Eirunepe","America/El_Salvador":"America / El Salvador","America/Ensenada":"America / Ensenada","America/Fort_Nelson":"America / Fort Nelson","America/Fort_Wayne":"America / Fort Wayne","America/Fortaleza":"America / Fortaleza","America/Glace_Bay":"America / Glace Bay","America/Godthab":"America / Godthab","America/Goose_Bay":"America / Goose Bay","America/Grand_Turk":"America / Grand Turk","America/Grenada":"America / Grenada","America/Guadeloupe":"America / Guadeloupe","America/Guatemala":"America / Guatemala","America/Guayaquil":"America / Guayaquil","America/Guyana":"America / Guyana","America/Halifax":"America / Halifax","America/Havana":"America / Havana","America/Hermosillo":"America / Hermosillo","America/Indiana/Indianapolis":"America / Indiana / Indianapolis","America/Indiana/Knox":"America / Indiana / Knox","America/Indiana/Marengo":"America / Indiana / Marengo","America/Indiana/Petersburg":"America / Indiana / Petersburg","America/Indiana/Tell_City":"America / Indiana / Tell City","America/Indiana/Vevay":"America / Indiana / Vevay","America/Indiana/Vincennes":"America / Indiana / Vincennes","America/Indiana/Winamac":"America / Indiana / Winamac","America/Indianapolis":"America / Indianapolis","America/Inuvik":"America / Inuvik","America/Iqaluit":"America / Iqaluit","America/Jamaica":"America / Jamaica","America/Jujuy":"America / Jujuy","America/Juneau":"America / Juneau","America/Kentucky/Louisville":"America / Kentucky / Louisville","America/Kentucky/Monticello":"America / Kentucky / Monticello","America/Knox_IN":"America / Knox IN","America/Kralendijk":"America / Kralendijk","America/La_Paz":"America / La Paz","America/Lima":"America / Lima","America/Los_Angeles":"America / Los Angeles","America/Louisville":"America / Louisville","America/Lower_Princes":"America / Lower Princes","America/Maceio":"America / Maceio","America/Managua":"America / Managua","America/Manaus":"America / Manaus","America/Marigot":"America / Marigot","America/Martinique":"America / Martinique","America/Matamoros":"America / Matamoros","America/Mazatlan":"America / Mazatlan","America/Mendoza":"America / Mendoza","America/Menominee":"America / Menominee","America/Merida":"America / Merida","America/Metlakatla":"America / Metlakatla","America/Mexico_City":"America / Mexico City","America/Miquelon":"America / Miquelon","America/Moncton":"America / Moncton","America/Monterrey":"America / Monterrey","America/Montevideo":"America / Montevideo","America/Montreal":"America / Montreal","America/Montserrat":"America / Montserrat","America/Nassau":"America / Nassau","America/New_York":"America / New York","America/Nipigon":"America / Nipigon","America/Nome":"America / Nome","America/Noronha":"America / Noronha","America/North_Dakota/Beulah":"America / North Dakota / Beulah","America/North_Dakota/Center":"America / North Dakota / Center","America/North_Dakota/New_Salem":"America / North Dakota / New Salem","America/Nuuk":"America / Nuuk","America/Ojinaga":"America / Ojinaga","America/Panama":"America / Panama","America/Pangnirtung":"America / Pangnirtung","America/Paramaribo":"America / Paramaribo","America/Phoenix":"America / Phoenix","America/Port-au-Prince":"America / Port-au-Prince","America/Port_of_Spain":"America / Port of Spain","America/Porto_Acre":"America / Porto Acre","America/Porto_Velho":"America / Porto Velho","America/Puerto_Rico":"America / Puerto Rico","America/Punta_Arenas":"America / Punta Arenas","America/Rainy_River":"America / Rainy River","America/Rankin_Inlet":"America / Rankin Inlet","America/Recife":"America / Recife","America/Regina":"America / Regina","America/Resolute":"America / Resolute","America/Rio_Branco":"America / Rio Branco","America/Rosario":"America / Rosario","America/Santa_Isabel":"America / Santa Isabel","America/Santarem":"America / Santarem","America/Santiago":"America / Santiago","America/Santo_Domingo":"America / Santo Domingo","America/Sao_Paulo":"America / Sao Paulo","America/Scoresbysund":"America / Scoresbysund","America/Shiprock":"America / Shiprock","America/Sitka":"America / Sitka","America/St_Barthelemy":"America / St Barthelemy","America/St_Johns":"America / St Johns","America/St_Kitts":"America / St Kitts","America/St_Lucia":"America / St Lucia","America/St_Thomas":"America / St Thomas","America/St_Vincent":"America / St Vincent","America/Swift_Current":"America / Swift Current","America/Tegucigalpa":"America / Tegucigalpa","America/Thule":"America / Thule","America/Thunder_Bay":"America / Thunder Bay","America/Tijuana":"America / Tijuana","America/Toronto":"America / Toronto","America/Tortola":"America / Tortola","America/Vancouver":"America / Vancouver","America/Virgin":"America / Virgin","America/Whitehorse":"America / Whitehorse","America/Winnipeg":"America / Winnipeg","America/Yakutat":"America / Yakutat","America/Yellowknife":"America / Yellowknife","Antarctica/Casey":"Antarctica / Casey","Antarctica/Davis":"Antarctica / Davis","Antarctica/DumontDUrville":"Antarctica / DumontDUrville","Antarctica/Macquarie":"Antarctica / Macquarie","Antarctica/Mawson":"Antarctica / Mawson","Antarctica/McMurdo":"Antarctica / McMurdo","Antarctica/Palmer":"Antarctica / Palmer","Antarctica/Rothera":"Antarctica / Rothera","Antarctica/South_Pole":"Antarctica / South Pole","Antarctica/Syowa":"Antarctica / Syowa","Antarctica/Troll":"Antarctica / Troll","Antarctica/Vostok":"Antarctica / Vostok","Arctic/Longyearbyen":"Arctic / Longyearbyen","Asia/Aden":"Asia / Aden","Asia/Almaty":"Asia / Almaty","Asia/Amman":"Asia / Amman","Asia/Anadyr":"Asia / Anadyr","Asia/Aqtau":"Asia / Aqtau","Asia/Aqtobe":"Asia / Aqtobe","Asia/Ashgabat":"Asia / Ashgabat","Asia/Ashkhabad":"Asia / Ashkhabad","Asia/Atyrau":"Asia / Atyrau","Asia/Baghdad":"Asia / Baghdad","Asia/Bahrain":"Asia / Bahrain","Asia/Baku":"Asia / Baku","Asia/Bangkok":"Asia / Bangkok","Asia/Barnaul":"Asia / Barnaul","Asia/Beirut":"Asia / Beirut","Asia/Bishkek":"Asia / Bishkek","Asia/Brunei":"Asia / Brunei","Asia/Calcutta":"Asia / Calcutta","Asia/Chita":"Asia / Chita","Asia/Choibalsan":"Asia / Choibalsan","Asia/Chongqing":"Asia / Chongqing","Asia/Chungking":"Asia / Chungking","Asia/Colombo":"Asia / Colombo","Asia/Dacca":"Asia / Dacca","Asia/Damascus":"Asia / Damascus","Asia/Dhaka":"Asia / Dhaka","Asia/Dili":"Asia / Dili","Asia/Dubai":"Asia / Dubai","Asia/Dushanbe":"Asia / Dushanbe","Asia/Famagusta":"Asia / Famagusta","Asia/Gaza":"Asia / Gaza","Asia/Harbin":"Asia / Harbin","Asia/Hebron":"Asia / Hebron","Asia/Ho_Chi_Minh":"Asia / Ho Chi Minh","Asia/Hong_Kong":"Asia / Hong Kong","Asia/Hovd":"Asia / Hovd","Asia/Irkutsk":"Asia / Irkutsk","Asia/Istanbul":"Asia / Istanbul","Asia/Jakarta":"Asia / Jakarta","Asia/Jayapura":"Asia / Jayapura","Asia/Jerusalem":"Asia / Jerusalem","Asia/Kabul":"Asia / Kabul","Asia/Kamchatka":"Asia / Kamchatka","Asia/Karachi":"Asia / Karachi","Asia/Kashgar":"Asia / Kashgar","Asia/Kathmandu":"Asia / Kathmandu","Asia/Katmandu":"Asia / Katmandu","Asia/Khandyga":"Asia / Khandyga","Asia/Kolkata":"Asia / Kolkata","Asia/Krasnoyarsk":"Asia / Krasnoyarsk","Asia/Kuala_Lumpur":"Asia / Kuala Lumpur","Asia/Kuching":"Asia / Kuching","Asia/Kuwait":"Asia / Kuwait","Asia/Macao":"Asia / Macao","Asia/Macau":"Asia / Macau","Asia/Magadan":"Asia / Magadan","Asia/Makassar":"Asia / Makassar","Asia/Manila":"Asia / Manila","Asia/Muscat":"Asia / Muscat","Asia/Nicosia":"Asia / Nicosia","Asia/Novokuznetsk":"Asia / Novokuznetsk","Asia/Novosibirsk":"Asia / Novosibirsk","Asia/Omsk":"Asia / Omsk","Asia/Oral":"Asia / Oral","Asia/Phnom_Penh":"Asia / Phnom Penh","Asia/Pontianak":"Asia / Pontianak","Asia/Pyongyang":"Asia / Pyongyang","Asia/Qatar":"Asia / Qatar","Asia/Qostanay":"Asia / Qostanay","Asia/Qyzylorda":"Asia / Qyzylorda","Asia/Rangoon":"Asia / Rangoon","Asia/Riyadh":"Asia / Riyadh","Asia/Saigon":"Asia / Saigon","Asia/Sakhalin":"Asia / Sakhalin","Asia/Samarkand":"Asia / Samarkand","Asia/Seoul":"Asia / Seoul","Asia/Shanghai":"Asia / Shanghai","Asia/Singapore":"Asia / Singapore","Asia/Srednekolymsk":"Asia / Srednekolymsk","Asia/Taipei":"Asia / Taipei","Asia/Tashkent":"Asia / Tashkent","Asia/Tbilisi":"Asia / Tbilisi","Asia/Tehran":"Asia / Tehran","Asia/Tel_Aviv":"Asia / Tel Aviv","Asia/Thimbu":"Asia / Thimbu","Asia/Thimphu":"Asia / Thimphu","Asia/Tokyo":"Asia / Tokyo","Asia/Tomsk":"Asia / Tomsk","Asia/Ujung_Pandang":"Asia / Ujung Pandang","Asia/Ulaanbaatar":"Asia / Ulaanbaatar","Asia/Ulan_Bator":"Asia / Ulan Bator","Asia/Urumqi":"Asia / Urumqi","Asia/Ust-Nera":"Asia / Ust-Nera","Asia/Vientiane":"Asia / Vientiane","Asia/Vladivostok":"Asia / Vladivostok","Asia/Yakutsk":"Asia / Yakutsk","Asia/Yangon":"Asia / Yangon","Asia/Yekaterinburg":"Asia / Yekaterinburg","Asia/Yerevan":"Asia / Yerevan","Atlantic/Azores":"Atlantic / Azores","Atlantic/Bermuda":"Atlantic / Bermuda","Atlantic/Canary":"Atlantic / Canary","Atlantic/Cape_Verde":"Atlantic / Cape Verde","Atlantic/Faeroe":"Atlantic / Faeroe","Atlantic/Faroe":"Atlantic / Faroe","Atlantic/Jan_Mayen":"Atlantic / Jan Mayen","Atlantic/Madeira":"Atlantic / Madeira","Atlantic/Reykjavik":"Atlantic / Reykjavik","Atlantic/South_Georgia":"Atlantic / South Georgia","Atlantic/St_Helena":"Atlantic / St Helena","Atlantic/Stanley":"Atlantic / Stanley","Australia/ACT":"Australia / ACT","Australia/Adelaide":"Australia / Adelaide","Australia/Brisbane":"Australia / Brisbane","Australia/Broken_Hill":"Australia / Broken Hill","Australia/Canberra":"Australia / Canberra","Australia/Currie":"Australia / Currie","Australia/Darwin":"Australia / Darwin","Australia/Eucla":"Australia / Eucla","Australia/Hobart":"Australia / Hobart","Australia/LHI":"Australia / LHI","Australia/Lindeman":"Australia / Lindeman","Australia/Lord_Howe":"Australia / Lord Howe","Australia/Melbourne":"Australia / Melbourne","Australia/NSW":"Australia / NSW","Australia/North":"Australia / North","Australia/Perth":"Australia / Perth","Australia/Queensland":"Australia / Queensland","Australia/South":"Australia / South","Australia/Sydney":"Australia / Sydney","Australia/Tasmania":"Australia / Tasmania","Australia/Victoria":"Australia / Victoria","Australia/West":"Australia / West","Australia/Yancowinna":"Australia / Yancowinna","Brazil/Acre":"Brazil / Acre","Brazil/DeNoronha":"Brazil / DeNoronha","Brazil/East":"Brazil / East","Brazil/West":"Brazil / West",CET:"CET",CST6CDT:"CST6CDT","Canada/Atlantic":"Canada / Atlantic","Canada/Central":"Canada / Central","Canada/Eastern":"Canada / Eastern","Canada/Mountain":"Canada / Mountain","Canada/Newfoundland":"Canada / Newfoundland","Canada/Pacific":"Canada / Pacific","Canada/Saskatchewan":"Canada / Saskatchewan","Canada/Yukon":"Canada / Yukon","Chile/Continental":"Chile / Continental","Chile/EasterIsland":"Chile / EasterIsland",Cuba:"Cuba",EET:"EET",EST:"EST",EST5EDT:"EST5EDT",Egypt:"Egypt",Eire:"Eire","Etc/GMT":"Etc / GMT","Etc/GMT+0":"Etc / GMT+0","Etc/GMT+1":"Etc / GMT+1","Etc/GMT+10":"Etc / GMT+10","Etc/GMT+11":"Etc / GMT+11","Etc/GMT+12":"Etc / GMT+12","Etc/GMT+2":"Etc / GMT+2","Etc/GMT+3":"Etc / GMT+3","Etc/GMT+4":"Etc / GMT+4","Etc/GMT+5":"Etc / GMT+5","Etc/GMT+6":"Etc / GMT+6","Etc/GMT+7":"Etc / GMT+7","Etc/GMT+8":"Etc / GMT+8","Etc/GMT+9":"Etc / GMT+9","Etc/GMT-0":"Etc / GMT-0","Etc/GMT-1":"Etc / GMT-1","Etc/GMT-10":"Etc / GMT-10","Etc/GMT-11":"Etc / GMT-11","Etc/GMT-12":"Etc / GMT-12","Etc/GMT-13":"Etc / GMT-13","Etc/GMT-14":"Etc / GMT-14","Etc/GMT-2":"Etc / GMT-2","Etc/GMT-3":"Etc / GMT-3","Etc/GMT-4":"Etc / GMT-4","Etc/GMT-5":"Etc / GMT-5","Etc/GMT-6":"Etc / GMT-6","Etc/GMT-7":"Etc / GMT-7","Etc/GMT-8":"Etc / GMT-8","Etc/GMT-9":"Etc / GMT-9","Etc/GMT0":"Etc / GMT0","Etc/Greenwich":"Etc / Greenwich","Etc/UCT":"Etc / UCT","Etc/UTC":"Etc / UTC","Etc/Universal":"Etc / Universal","Etc/Zulu":"Etc / Zulu","Europe/Amsterdam":"Europe / Amsterdam","Europe/Andorra":"Europe / Andorra","Europe/Astrakhan":"Europe / Astrakhan","Europe/Athens":"Europe / Athens","Europe/Belfast":"Europe / Belfast","Europe/Belgrade":"Europe / Belgrade","Europe/Berlin":"Europe / Berlin","Europe/Bratislava":"Europe / Bratislava","Europe/Brussels":"Europe / Brussels","Europe/Bucharest":"Europe / Bucharest","Europe/Budapest":"Europe / Budapest","Europe/Busingen":"Europe / Busingen","Europe/Chisinau":"Europe / Chisinau","Europe/Copenhagen":"Europe / Copenhagen","Europe/Dublin":"Europe / Dublin","Europe/Gibraltar":"Europe / Gibraltar","Europe/Guernsey":"Europe / Guernsey","Europe/Helsinki":"Europe / Helsinki","Europe/Isle_of_Man":"Europe / Isle of Man","Europe/Istanbul":"Europe / Istanbul","Europe/Jersey":"Europe / Jersey","Europe/Kaliningrad":"Europe / Kaliningrad","Europe/Kiev":"Europe / Kiev","Europe/Kirov":"Europe / Kirov","Europe/Kyiv":"Europe / Kyiv","Europe/Lisbon":"Europe / Lisbon","Europe/Ljubljana":"Europe / Ljubljana","Europe/London":"Europe / London","Europe/Luxembourg":"Europe / Luxembourg","Europe/Madrid":"Europe / Madrid","Europe/Malta":"Europe / Malta","Europe/Mariehamn":"Europe / Mariehamn","Europe/Minsk":"Europe / Minsk","Europe/Monaco":"Europe / Monaco","Europe/Moscow":"Europe / Moscow","Europe/Nicosia":"Europe / Nicosia","Europe/Oslo":"Europe / Oslo","Europe/Paris":"Europe / Paris","Europe/Podgorica":"Europe / Podgorica","Europe/Prague":"Europe / Prague","Europe/Riga":"Europe / Riga","Europe/Rome":"Europe / Rome","Europe/Samara":"Europe / Samara","Europe/San_Marino":"Europe / San Marino","Europe/Sarajevo":"Europe / Sarajevo","Europe/Saratov":"Europe / Saratov","Europe/Simferopol":"Europe / Simferopol","Europe/Skopje":"Europe / Skopje","Europe/Sofia":"Europe / Sofia","Europe/Stockholm":"Europe / Stockholm","Europe/Tallinn":"Europe / Tallinn","Europe/Tirane":"Europe / Tirane","Europe/Tiraspol":"Europe / Tiraspol","Europe/Ulyanovsk":"Europe / Ulyanovsk","Europe/Uzhgorod":"Europe / Uzhgorod","Europe/Vaduz":"Europe / Vaduz","Europe/Vatican":"Europe / Vatican","Europe/Vienna":"Europe / Vienna","Europe/Vilnius":"Europe / Vilnius","Europe/Volgograd":"Europe / Volgograd","Europe/Warsaw":"Europe / Warsaw","Europe/Zagreb":"Europe / Zagreb","Europe/Zaporozhye":"Europe / Zaporozhye","Europe/Zurich":"Europe / Zurich",GB:"GB","GB-Eire":"GB-Eire",GMT:"GMT","GMT+0":"GMT+0","GMT-0":"GMT-0",GMT0:"GMT0",Greenwich:"Greenwich",HST:"HST",Hongkong:"Hongkong",Iceland:"Iceland","Indian/Antananarivo":"Indian / Antananarivo","Indian/Chagos":"Indian / Chagos","Indian/Christmas":"Indian / Christmas","Indian/Cocos":"Indian / Cocos","Indian/Comoro":"Indian / Comoro","Indian/Kerguelen":"Indian / Kerguelen","Indian/Mahe":"Indian / Mahe","Indian/Maldives":"Indian / Maldives","Indian/Mauritius":"Indian / Mauritius","Indian/Mayotte":"Indian / Mayotte","Indian/Reunion":"Indian / Reunion",Iran:"Iran",Israel:"Israel",Jamaica:"Jamaica",Japan:"Japan",Kwajalein:"Kwajalein",Libya:"Libya",MET:"MET",MST:"MST",MST7MDT:"MST7MDT","Mexico/BajaNorte":"Mexico / BajaNorte","Mexico/BajaSur":"Mexico / BajaSur","Mexico/General":"Mexico / General",NZ:"NZ","NZ-CHAT":"NZ-CHAT",Navajo:"Navajo",PRC:"PRC",PST8PDT:"PST8PDT","Pacific/Apia":"Pacific / Apia","Pacific/Auckland":"Pacific / Auckland","Pacific/Bougainville":"Pacific / Bougainville","Pacific/Chatham":"Pacific / Chatham","Pacific/Chuuk":"Pacific / Chuuk","Pacific/Easter":"Pacific / Easter","Pacific/Efate":"Pacific / Efate","Pacific/Enderbury":"Pacific / Enderbury","Pacific/Fakaofo":"Pacific / Fakaofo","Pacific/Fiji":"Pacific / Fiji","Pacific/Funafuti":"Pacific / Funafuti","Pacific/Galapagos":"Pacific / Galapagos","Pacific/Gambier":"Pacific / Gambier","Pacific/Guadalcanal":"Pacific / Guadalcanal","Pacific/Guam":"Pacific / Guam","Pacific/Honolulu":"Pacific / Honolulu","Pacific/Johnston":"Pacific / Johnston","Pacific/Kanton":"Pacific / Kanton","Pacific/Kiritimati":"Pacific / Kiritimati","Pacific/Kosrae":"Pacific / Kosrae","Pacific/Kwajalein":"Pacific / Kwajalein","Pacific/Majuro":"Pacific / Majuro","Pacific/Marquesas":"Pacific / Marquesas","Pacific/Midway":"Pacific / Midway","Pacific/Nauru":"Pacific / Nauru","Pacific/Niue":"Pacific / Niue","Pacific/Norfolk":"Pacific / Norfolk","Pacific/Noumea":"Pacific / Noumea","Pacific/Pago_Pago":"Pacific / Pago Pago","Pacific/Palau":"Pacific / Palau","Pacific/Pitcairn":"Pacific / Pitcairn","Pacific/Pohnpei":"Pacific / Pohnpei","Pacific/Ponape":"Pacific / Ponape","Pacific/Port_Moresby":"Pacific / Port Moresby","Pacific/Rarotonga":"Pacific / Rarotonga","Pacific/Saipan":"Pacific / Saipan","Pacific/Samoa":"Pacific / Samoa","Pacific/Tahiti":"Pacific / Tahiti","Pacific/Tarawa":"Pacific / Tarawa","Pacific/Tongatapu":"Pacific / Tongatapu","Pacific/Truk":"Pacific / Truk","Pacific/Wake":"Pacific / Wake","Pacific/Wallis":"Pacific / Wallis","Pacific/Yap":"Pacific / Yap",Poland:"Poland",Portugal:"Portugal",ROC:"ROC",ROK:"ROK",Singapore:"Singapore",Turkey:"Turkey",UCT:"UCT","US/Alaska":"US / Alaska","US/Aleutian":"US / Aleutian","US/Arizona":"US / Arizona","US/Central":"US / Central","US/East-Indiana":"US / East-Indiana","US/Eastern":"US / Eastern","US/Hawaii":"US / Hawaii","US/Indiana-Starke":"US / Indiana-Starke","US/Michigan":"US / Michigan","US/Mountain":"US / Mountain","US/Pacific":"US / Pacific","US/Samoa":"US / Samoa",UTC:"UTC",Universal:"Universal","W-SU":"W-SU",WET:"WET",Zulu:"Zulu"},t=[{token:"$invitee",value:"${invitee}",description:"The name of the primary invitee."},{token:"$invitee_email",value:"${invitee_email}",description:"The email of the primary invitee."},{token:"$duration",value:"${duration}",description:"The length in time of the event."}],s=[{days:[1,2,3,4,5],ex_dates:[],timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,start:"09:00",end:"17:00"}],r={google:"Google Meet",zoom:"Zoom Meeting",microsoft:"Microsoft Teams"},l={"Google Meet":"google","Zoom Meeting":"zoom","Microsoft Teams":"microsoft"},u=[{label:"Email",value:"email"},{label:"Phone Number",value:"phone_number"},{label:"Dropdown",value:"dropdown"},{label:"Short text",value:"text"},{label:"Long text",value:"multi_line_text"},{label:"Checkbox",value:"checkbox"},{label:"Radio Button",value:"radio_button"},{label:"Metadata",value:"metadata"},{label:"Date",value:"date"},{label:"Multi Select",value:"multi_select"}],m=[{type:"email",typeLabel:"Email",label:"Additional email",key:"additional_email",isOpen:!1,required:!1,fieldLabelKey:"email"},{type:"phone_number",typeLabel:"Phone number",label:"Phone Number Label",key:"phone_number",isOpen:!1,required:!1,fieldLabelKey:"phone_number"},{type:"dropdown",typeLabel:"Dropdown",label:"Dropdown Label",key:"dropdown",isOpen:!1,required:!1,options:["",""],fieldLabelKey:"dropdown"},{type:"text",typeLabel:"Short text",label:"Short Text Label",key:"short_text",isOpen:!1,required:!1,fieldLabelKey:"text"},{type:"multi_line_text",typeLabel:"Long text",label:"Long text Label",key:"long_text",isOpen:!1,required:!1,fieldLabelKey:"multi_line_text"},{type:"checkbox",typeLabel:"Checkbox",label:"Checkbox Label",key:"checkbox",isOpen:!1,required:!1,fieldLabelKey:"checkbox"},{type:"radio_button",typeLabel:"Radio Button",label:"Radio Button Label",key:"radio_button",isOpen:!1,required:!1,options:["",""],fieldLabelKey:"radio_button"},{type:"metadata",typeLabel:"Metadata",label:"Metadata Label",key:"metadata",isOpen:!1,required:!1,fieldLabelKey:"metadata"},{type:"date",typeLabel:"Date",label:"Date Label",key:"date",isOpen:!1,required:!1,fieldLabelKey:"date"},{type:"multi_select",typeLabel:"Multi Select",label:"Multi Select Label",key:"multi_select",isOpen:!1,required:!1,options:["",""],fieldLabelKey:"multi_select"}];Object.keys(r).map(a=>a);[{value:1,label:"1"},...Array.from({length:90/5+1},(a,i)=>{const e=i*5;return{value:e,label:e.toString()}})].sort((a,i)=>a.value-i.value);Array.from({length:23},(a,i)=>({value:i+1,label:(i+1).toString()}));Array.from({length:7},(a,i)=>({value:i+1,label:(i+1).toString()}));const d=["title","description","duration","availability","participants","booking-calendar","participant-booking-calendars","location","conference","confirmation-type","buffer-time","limit-future-bookings","min-cancellation-notice","min-booking-notice","cancellation-policy","timeslot-interval","customize-booking-settings","participant-custom-availability","additional-fields","connected-calendars","confirmation-email-template","disable-emails","reminder-overrides","confirmation-redirect","availability-method","custom-event-slug","page-styling","page-name"],E=["title","description","location","conference","confirmation-type","min-cancellation-notice","cancellation-policy","customize-booking-settings","booking-calendar","event-capacity","additional-fields","confirmation-email-template","reminder-overrides","confirmation-redirect","custom-event-slug","page-styling","page-name","participants","event-timeslot"];exports.CONFERENCE_PROVIDER_MAP=l;exports.DEFAULT_FORM_FIELD_TYPES=u;exports.DEFAULT_OPEN_HOURS=s;exports.EVENT_TITLE_TOKENS=t;exports.FIELD_TYPES=m;exports.LANGUAGE_CODE_TO_LOCALE_MAP=o;exports.LANGUAGE_MAP=n;exports.PROVIDER_CONFERENCE_MAP=r;exports.TIMEZONE_MAP=A;exports.TIME_PERIODS=c;exports.editorGroupTabComponentNames=E;exports.editorTabComponentNames=d;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { e as R } from "./index-78390f2e.js";
|
|
2
|
+
var G = { exports: {} };
|
|
3
|
+
(function(V, W) {
|
|
4
|
+
(function(k, Z) {
|
|
5
|
+
V.exports = Z();
|
|
6
|
+
})(R, function() {
|
|
7
|
+
var k = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, Z = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, $ = /\d\d/, i = /\d\d?/, w = /\d*[^-_:/,()\s\d]+/, m = {}, E = function(t) {
|
|
8
|
+
return (t = +t) + (t > 68 ? 1900 : 2e3);
|
|
9
|
+
}, o = function(t) {
|
|
10
|
+
return function(n) {
|
|
11
|
+
this[t] = +n;
|
|
12
|
+
};
|
|
13
|
+
}, X = [/[+-]\d\d:?(\d\d)?|Z/, function(t) {
|
|
14
|
+
(this.zone || (this.zone = {})).offset = function(n) {
|
|
15
|
+
if (!n || n === "Z")
|
|
16
|
+
return 0;
|
|
17
|
+
var r = n.match(/([+-]|\d\d)/g), e = 60 * r[1] + (+r[2] || 0);
|
|
18
|
+
return e === 0 ? 0 : r[0] === "+" ? -e : e;
|
|
19
|
+
}(t);
|
|
20
|
+
}], H = function(t) {
|
|
21
|
+
var n = m[t];
|
|
22
|
+
return n && (n.indexOf ? n : n.s.concat(n.f));
|
|
23
|
+
}, _ = function(t, n) {
|
|
24
|
+
var r, e = m.meridiem;
|
|
25
|
+
if (e) {
|
|
26
|
+
for (var f = 1; f <= 24; f += 1)
|
|
27
|
+
if (t.indexOf(e(f, 0, n)) > -1) {
|
|
28
|
+
r = f > 12;
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
} else
|
|
32
|
+
r = t === (n ? "pm" : "PM");
|
|
33
|
+
return r;
|
|
34
|
+
}, q = { A: [w, function(t) {
|
|
35
|
+
this.afternoon = _(t, !1);
|
|
36
|
+
}], a: [w, function(t) {
|
|
37
|
+
this.afternoon = _(t, !0);
|
|
38
|
+
}], S: [/\d/, function(t) {
|
|
39
|
+
this.milliseconds = 100 * +t;
|
|
40
|
+
}], SS: [$, function(t) {
|
|
41
|
+
this.milliseconds = 10 * +t;
|
|
42
|
+
}], SSS: [/\d{3}/, function(t) {
|
|
43
|
+
this.milliseconds = +t;
|
|
44
|
+
}], s: [i, o("seconds")], ss: [i, o("seconds")], m: [i, o("minutes")], mm: [i, o("minutes")], H: [i, o("hours")], h: [i, o("hours")], HH: [i, o("hours")], hh: [i, o("hours")], D: [i, o("day")], DD: [$, o("day")], Do: [w, function(t) {
|
|
45
|
+
var n = m.ordinal, r = t.match(/\d+/);
|
|
46
|
+
if (this.day = r[0], n)
|
|
47
|
+
for (var e = 1; e <= 31; e += 1)
|
|
48
|
+
n(e).replace(/\[|\]/g, "") === t && (this.day = e);
|
|
49
|
+
}], M: [i, o("month")], MM: [$, o("month")], MMM: [w, function(t) {
|
|
50
|
+
var n = H("months"), r = (H("monthsShort") || n.map(function(e) {
|
|
51
|
+
return e.slice(0, 3);
|
|
52
|
+
})).indexOf(t) + 1;
|
|
53
|
+
if (r < 1)
|
|
54
|
+
throw new Error();
|
|
55
|
+
this.month = r % 12 || r;
|
|
56
|
+
}], MMMM: [w, function(t) {
|
|
57
|
+
var n = H("months").indexOf(t) + 1;
|
|
58
|
+
if (n < 1)
|
|
59
|
+
throw new Error();
|
|
60
|
+
this.month = n % 12 || n;
|
|
61
|
+
}], Y: [/[+-]?\d+/, o("year")], YY: [$, function(t) {
|
|
62
|
+
this.year = E(t);
|
|
63
|
+
}], YYYY: [/\d{4}/, o("year")], Z: X, ZZ: X };
|
|
64
|
+
function B(t) {
|
|
65
|
+
var n, r;
|
|
66
|
+
n = t, r = m && m.formats;
|
|
67
|
+
for (var e = (t = n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(p, l, c) {
|
|
68
|
+
var s = c && c.toUpperCase();
|
|
69
|
+
return l || r[c] || k[c] || r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(M, Y, D) {
|
|
70
|
+
return Y || D.slice(1);
|
|
71
|
+
});
|
|
72
|
+
})).match(Z), f = e.length, h = 0; h < f; h += 1) {
|
|
73
|
+
var x = e[h], v = q[x], u = v && v[0], d = v && v[1];
|
|
74
|
+
e[h] = d ? { regex: u, parser: d } : x.replace(/^\[|\]$/g, "");
|
|
75
|
+
}
|
|
76
|
+
return function(p) {
|
|
77
|
+
for (var l = {}, c = 0, s = 0; c < f; c += 1) {
|
|
78
|
+
var M = e[c];
|
|
79
|
+
if (typeof M == "string")
|
|
80
|
+
s += M.length;
|
|
81
|
+
else {
|
|
82
|
+
var Y = M.regex, D = M.parser, S = p.slice(s), g = Y.exec(S)[0];
|
|
83
|
+
D.call(l, g), p = p.replace(g, "");
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return function(L) {
|
|
87
|
+
var a = L.afternoon;
|
|
88
|
+
if (a !== void 0) {
|
|
89
|
+
var y = L.hours;
|
|
90
|
+
a ? y < 12 && (L.hours += 12) : y === 12 && (L.hours = 0), delete L.afternoon;
|
|
91
|
+
}
|
|
92
|
+
}(l), l;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
return function(t, n, r) {
|
|
96
|
+
r.p.customParseFormat = !0, t && t.parseTwoDigitYear && (E = t.parseTwoDigitYear);
|
|
97
|
+
var e = n.prototype, f = e.parse;
|
|
98
|
+
e.parse = function(h) {
|
|
99
|
+
var x = h.date, v = h.utc, u = h.args;
|
|
100
|
+
this.$u = v;
|
|
101
|
+
var d = u[1];
|
|
102
|
+
if (typeof d == "string") {
|
|
103
|
+
var p = u[2] === !0, l = u[3] === !0, c = p || l, s = u[2];
|
|
104
|
+
l && (s = u[2]), m = this.$locale(), !p && s && (m = r.Ls[s]), this.$d = function(S, g, L) {
|
|
105
|
+
try {
|
|
106
|
+
if (["x", "X"].indexOf(g) > -1)
|
|
107
|
+
return new Date((g === "X" ? 1e3 : 1) * S);
|
|
108
|
+
var a = B(g)(S), y = a.year, A = a.month, I = a.day, J = a.hours, K = a.minutes, N = a.seconds, Q = a.milliseconds, j = a.zone, O = /* @__PURE__ */ new Date(), z = I || (y || A ? 1 : O.getDate()), F = y || O.getFullYear(), T = 0;
|
|
109
|
+
y && !A || (T = A > 0 ? A - 1 : O.getMonth());
|
|
110
|
+
var P = J || 0, b = K || 0, C = N || 0, U = Q || 0;
|
|
111
|
+
return j ? new Date(Date.UTC(F, T, z, P, b, C, U + 60 * j.offset * 1e3)) : L ? new Date(Date.UTC(F, T, z, P, b, C, U)) : new Date(F, T, z, P, b, C, U);
|
|
112
|
+
} catch {
|
|
113
|
+
return /* @__PURE__ */ new Date("");
|
|
114
|
+
}
|
|
115
|
+
}(x, d, v), this.init(), s && s !== !0 && (this.$L = this.locale(s).$L), c && x != this.format(d) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
|
|
116
|
+
} else if (d instanceof Array)
|
|
117
|
+
for (var M = d.length, Y = 1; Y <= M; Y += 1) {
|
|
118
|
+
u[1] = d[Y - 1];
|
|
119
|
+
var D = r.apply(this, u);
|
|
120
|
+
if (D.isValid()) {
|
|
121
|
+
this.$d = D.$d, this.$L = D.$L, this.init();
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
Y === M && (this.$d = /* @__PURE__ */ new Date(""));
|
|
125
|
+
}
|
|
126
|
+
else
|
|
127
|
+
f.call(this, h);
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
});
|
|
131
|
+
})(G);
|
|
132
|
+
const rt = G.exports;
|
|
133
|
+
export {
|
|
134
|
+
rt as c
|
|
135
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const R=require("./index-05630f15.cjs");var q={exports:{}};(function(G,tt){(function(k,Z){G.exports=Z()})(R.commonjsGlobal,function(){var k={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Z=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,$=/\d\d/,a=/\d\d?/,w=/\d*[^-_:/,()\s\d]+/,m={},E=function(t){return(t=+t)+(t>68?1900:2e3)},o=function(t){return function(n){this[t]=+n}},X=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(n){if(!n||n==="Z")return 0;var r=n.match(/([+-]|\d\d)/g),e=60*r[1]+(+r[2]||0);return e===0?0:r[0]==="+"?-e:e}(t)}],F=function(t){var n=m[t];return n&&(n.indexOf?n:n.s.concat(n.f))},_=function(t,n){var r,e=m.meridiem;if(e){for(var f=1;f<=24;f+=1)if(t.indexOf(e(f,0,n))>-1){r=f>12;break}}else r=t===(n?"pm":"PM");return r},V={A:[w,function(t){this.afternoon=_(t,!1)}],a:[w,function(t){this.afternoon=_(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[$,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[a,o("seconds")],ss:[a,o("seconds")],m:[a,o("minutes")],mm:[a,o("minutes")],H:[a,o("hours")],h:[a,o("hours")],HH:[a,o("hours")],hh:[a,o("hours")],D:[a,o("day")],DD:[$,o("day")],Do:[w,function(t){var n=m.ordinal,r=t.match(/\d+/);if(this.day=r[0],n)for(var e=1;e<=31;e+=1)n(e).replace(/\[|\]/g,"")===t&&(this.day=e)}],M:[a,o("month")],MM:[$,o("month")],MMM:[w,function(t){var n=F("months"),r=(F("monthsShort")||n.map(function(e){return e.slice(0,3)})).indexOf(t)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[w,function(t){var n=F("months").indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],Y:[/[+-]?\d+/,o("year")],YY:[$,function(t){this.year=E(t)}],YYYY:[/\d{4}/,o("year")],Z:X,ZZ:X};function B(t){var n,r;n=t,r=m&&m.formats;for(var e=(t=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(D,l,c){var s=c&&c.toUpperCase();return l||r[c]||k[c]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,Y,p){return Y||p.slice(1)})})).match(Z),f=e.length,h=0;h<f;h+=1){var x=e[h],v=V[x],u=v&&v[0],d=v&&v[1];e[h]=d?{regex:u,parser:d}:x.replace(/^\[|\]$/g,"")}return function(D){for(var l={},c=0,s=0;c<f;c+=1){var M=e[c];if(typeof M=="string")s+=M.length;else{var Y=M.regex,p=M.parser,S=D.slice(s),g=Y.exec(S)[0];p.call(l,g),D=D.replace(g,"")}}return function(L){var i=L.afternoon;if(i!==void 0){var y=L.hours;i?y<12&&(L.hours+=12):y===12&&(L.hours=0),delete L.afternoon}}(l),l}}return function(t,n,r){r.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(E=t.parseTwoDigitYear);var e=n.prototype,f=e.parse;e.parse=function(h){var x=h.date,v=h.utc,u=h.args;this.$u=v;var d=u[1];if(typeof d=="string"){var D=u[2]===!0,l=u[3]===!0,c=D||l,s=u[2];l&&(s=u[2]),m=this.$locale(),!D&&s&&(m=r.Ls[s]),this.$d=function(S,g,L){try{if(["x","X"].indexOf(g)>-1)return new Date((g==="X"?1e3:1)*S);var i=B(g)(S),y=i.year,A=i.month,I=i.day,J=i.hours,K=i.minutes,N=i.seconds,Q=i.milliseconds,j=i.zone,H=new Date,O=I||(y||A?1:H.getDate()),P=y||H.getFullYear(),T=0;y&&!A||(T=A>0?A-1:H.getMonth());var z=J||0,b=K||0,C=N||0,U=Q||0;return j?new Date(Date.UTC(P,T,O,z,b,C,U+60*j.offset*1e3)):L?new Date(Date.UTC(P,T,O,z,b,C,U)):new Date(P,T,O,z,b,C,U)}catch{return new Date("")}}(x,d,v),this.init(),s&&s!==!0&&(this.$L=this.locale(s).$L),c&&x!=this.format(d)&&(this.$d=new Date("")),m={}}else if(d instanceof Array)for(var M=d.length,Y=1;Y<=M;Y+=1){u[1]=d[Y-1];var p=r.apply(this,u);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}Y===M&&(this.$d=new Date(""))}else f.call(this,h)}}})})(q);const W=q.exports;exports.customParseFormat=W;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { r as s, h as
|
|
1
|
+
import { r as s, h as t } from "./index-78390f2e.js";
|
|
2
2
|
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
3
4
|
import "react-dom";
|
|
4
|
-
const
|
|
5
|
-
constructor(
|
|
6
|
-
s(this,
|
|
5
|
+
const i = ".sc-delete-icon-h{display:flex}", C = i, o = class {
|
|
6
|
+
constructor(e) {
|
|
7
|
+
s(this, e), this.width = "15", this.height = "17";
|
|
7
8
|
}
|
|
8
9
|
render() {
|
|
9
|
-
return
|
|
10
|
+
return t("svg", { key: "c9f9819ef16711710dbcfb792da263ba71c30729", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "9a58a2fdb3415ca8dd70be936640f352d205ab91", d: "M9.5 2.75C9.5 1.92157 8.82843 1.25 8 1.25C7.17157 1.25 6.5 1.92157 6.5 2.75H5.5C5.5 1.36929 6.61929 0.25 8 0.25C9.38071 0.25 10.5 1.36929 10.5 2.75H15C15.2761 2.75 15.5 2.97386 15.5 3.25C15.5 3.52614 15.2761 3.75 15 3.75H14.446L13.1499 14.9792C13.0335 15.9884 12.179 16.75 11.1631 16.75H4.83688C3.821 16.75 2.9665 15.9884 2.85006 14.9792L1.553 3.75H1C0.75454 3.75 0.550392 3.57312 0.508056 3.33988L0.5 3.25C0.5 2.97386 0.723858 2.75 1 2.75H9.5ZM13.438 3.75H2.561L3.84347 14.8646C3.90169 15.3692 4.32894 15.75 4.83688 15.75H11.1631C11.6711 15.75 12.0983 15.3692 12.1565 14.8646L13.438 3.75ZM6.5 6.25C6.74546 6.25 6.94961 6.40477 6.99194 6.60886L7 6.6875V12.8125C7 13.0541 6.77614 13.25 6.5 13.25C6.25454 13.25 6.05039 13.0952 6.00806 12.8911L6 12.8125V6.6875C6 6.44588 6.22386 6.25 6.5 6.25ZM9.5 6.25C9.74546 6.25 9.94961 6.40477 9.99194 6.60886L10 6.6875V12.8125C10 13.0541 9.77614 13.25 9.5 13.25C9.25454 13.25 9.05039 13.0952 9.00806 12.8911L9 12.8125V6.6875C9 6.44588 9.22386 6.25 9.5 6.25Z", fill: "currentColor" }));
|
|
10
11
|
}
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
o.style = C;
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
o as delete_icon
|
|
15
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-05630f15.cjs");require("react");require("react/jsx-runtime");require("react-dom");const r=".sc-delete-icon-h{display:flex}",s=r,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="17"}render(){return e.h("svg",{key:"c9f9819ef16711710dbcfb792da263ba71c30729",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"9a58a2fdb3415ca8dd70be936640f352d205ab91",d:"M9.5 2.75C9.5 1.92157 8.82843 1.25 8 1.25C7.17157 1.25 6.5 1.92157 6.5 2.75H5.5C5.5 1.36929 6.61929 0.25 8 0.25C9.38071 0.25 10.5 1.36929 10.5 2.75H15C15.2761 2.75 15.5 2.97386 15.5 3.25C15.5 3.52614 15.2761 3.75 15 3.75H14.446L13.1499 14.9792C13.0335 15.9884 12.179 16.75 11.1631 16.75H4.83688C3.821 16.75 2.9665 15.9884 2.85006 14.9792L1.553 3.75H1C0.75454 3.75 0.550392 3.57312 0.508056 3.33988L0.5 3.25C0.5 2.97386 0.723858 2.75 1 2.75H9.5ZM13.438 3.75H2.561L3.84347 14.8646C3.90169 15.3692 4.32894 15.75 4.83688 15.75H11.1631C11.6711 15.75 12.0983 15.3692 12.1565 14.8646L13.438 3.75ZM6.5 6.25C6.74546 6.25 6.94961 6.40477 6.99194 6.60886L7 6.6875V12.8125C7 13.0541 6.77614 13.25 6.5 13.25C6.25454 13.25 6.05039 13.0952 6.00806 12.8911L6 12.8125V6.6875C6 6.44588 6.22386 6.25 6.5 6.25ZM9.5 6.25C9.74546 6.25 9.94961 6.40477 9.99194 6.60886L10 6.6875V12.8125C10 13.0541 9.77614 13.25 9.5 13.25C9.25454 13.25 9.05039 13.0952 9.00806 12.8911L9 12.8125V6.6875C9 6.44588 9.22386 6.25 9.5 6.25Z",fill:"currentColor"}))}};t.style=s;exports.delete_icon=t;
|
package/dist/{document-refresh-icon.entry-d1604f53.js → document-refresh-icon.entry-7333b7c9.js}
RENAMED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { r as t, h as e } from "./index-
|
|
1
|
+
import { r as t, h as e } from "./index-78390f2e.js";
|
|
2
2
|
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
3
4
|
import "react-dom";
|
|
4
|
-
const
|
|
5
|
+
const a = ".sc-document-refresh-icon-h{display:flex}", f = a, d = class {
|
|
5
6
|
constructor(c) {
|
|
6
7
|
t(this, c), this.width = "18", this.height = "18";
|
|
7
8
|
}
|
|
8
9
|
render() {
|
|
9
|
-
return e("svg", { key: "
|
|
10
|
+
return e("svg", { key: "6f152acb83e2d2823b246e1bb2e24699d7b9f7ac", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: this.width, height: this.height }, e("rect", { key: "f238a749478a9ef60ee0d701fcd23137df2d8879", id: "Canvas", fill: "#ff13dc", opacity: "0" }), e("path", { key: "df3f4abcb1c656e5d461a1285fa55d3b29d035c2", d: "M9.19763,12.26283A4.44131,4.44131,0,0,1,16.948,10.71741l.62524-.62524a.24433.24433,0,0,1,.1748-.07373.25035.25035,0,0,1,.252.24875v2.50143a.25.25,0,0,1-.25.25l-2.4995-.00016A.25088.25088,0,0,1,15,12.76721v-.00054a.24436.24436,0,0,1,.07373-.175l.86988-.86987a3.02827,3.02827,0,0,0-5.29847.71808.48835.48835,0,0,1-.46081.30981H9.55908a.37949.37949,0,0,1-.36145-.48686Z" }), e("path", { key: "48fc71ac932f7114274f2f84c604745fd508c27e", d: "M17.80237,14.77441A4.4413,4.4413,0,0,1,10.052,16.31982l-.62524.62524a.24429.24429,0,0,1-.1748.07373A.25036.25036,0,0,1,9,16.77V14.26863a.25.25,0,0,1,.25-.25l2.4995.00016A.25087.25087,0,0,1,12,14.27v.00052a.24434.24434,0,0,1-.07373.175l-.86988.86988a3.02828,3.02828,0,0,0,5.29847-.71808.48836.48836,0,0,1,.46081-.30982h.62525a.3795.3795,0,0,1,.36145.48687Z" }), e("path", { key: "00d45957bcbfef257bc0409efc6b5b57bb81efc8", d: "M7,13.5A6.5,6.5,0,0,1,13.5,7c.16883,0,.33447.01264.5.02527V5H9.5A.5.5,0,0,1,9,4.5V0H2.5A.5.5,0,0,0,2,.5v15a.5.5,0,0,0,.5.5H7.49981A6.4779,6.4779,0,0,1,7,13.5Z" }), e("path", { key: "e68d832bbcd9bf7c8d91386933660e716caf3544", d: "M10,0h.043a.5.5,0,0,1,.353.146L13.854,3.6A.5.5,0,0,1,14,3.957V4H10Z" }));
|
|
10
11
|
}
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
d.style = f;
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
d as document_refresh_icon
|
|
15
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-05630f15.cjs");require("react");require("react/jsx-runtime");require("react-dom");const a=".sc-document-refresh-icon-h{display:flex}",h=a,c=class{constructor(t){e.registerInstance(this,t),this.width="18",this.height="18"}render(){return e.h("svg",{key:"6f152acb83e2d2823b246e1bb2e24699d7b9f7ac",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",width:this.width,height:this.height},e.h("rect",{key:"f238a749478a9ef60ee0d701fcd23137df2d8879",id:"Canvas",fill:"#ff13dc",opacity:"0"}),e.h("path",{key:"df3f4abcb1c656e5d461a1285fa55d3b29d035c2",d:"M9.19763,12.26283A4.44131,4.44131,0,0,1,16.948,10.71741l.62524-.62524a.24433.24433,0,0,1,.1748-.07373.25035.25035,0,0,1,.252.24875v2.50143a.25.25,0,0,1-.25.25l-2.4995-.00016A.25088.25088,0,0,1,15,12.76721v-.00054a.24436.24436,0,0,1,.07373-.175l.86988-.86987a3.02827,3.02827,0,0,0-5.29847.71808.48835.48835,0,0,1-.46081.30981H9.55908a.37949.37949,0,0,1-.36145-.48686Z"}),e.h("path",{key:"48fc71ac932f7114274f2f84c604745fd508c27e",d:"M17.80237,14.77441A4.4413,4.4413,0,0,1,10.052,16.31982l-.62524.62524a.24429.24429,0,0,1-.1748.07373A.25036.25036,0,0,1,9,16.77V14.26863a.25.25,0,0,1,.25-.25l2.4995.00016A.25087.25087,0,0,1,12,14.27v.00052a.24434.24434,0,0,1-.07373.175l-.86988.86988a3.02828,3.02828,0,0,0,5.29847-.71808.48836.48836,0,0,1,.46081-.30982h.62525a.3795.3795,0,0,1,.36145.48687Z"}),e.h("path",{key:"00d45957bcbfef257bc0409efc6b5b57bb81efc8",d:"M7,13.5A6.5,6.5,0,0,1,13.5,7c.16883,0,.33447.01264.5.02527V5H9.5A.5.5,0,0,1,9,4.5V0H2.5A.5.5,0,0,0,2,.5v15a.5.5,0,0,0,.5.5H7.49981A6.4779,6.4779,0,0,1,7,13.5Z"}),e.h("path",{key:"e68d832bbcd9bf7c8d91386933660e716caf3544",d:"M10,0h.043a.5.5,0,0,1,.353.146L13.854,3.6A.5.5,0,0,1,14,3.957V4H10Z"}))}};c.style=h;exports.document_refresh_icon=c;
|
package/dist/elements/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export declare const NylasBookingForm: import("react").ForwardRefExoticComponent
|
|
|
56
56
|
export declare const NylasBookingFormConfig: import("react").ForwardRefExoticComponent<JSX.NylasBookingFormConfig & Omit<import("react").HTMLAttributes<HTMLNylasBookingFormConfigElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasBookingFormConfigElement>>;
|
|
57
57
|
export declare const NylasBufferTime: import("react").ForwardRefExoticComponent<JSX.NylasBufferTime & Omit<import("react").HTMLAttributes<HTMLNylasBufferTimeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasBufferTimeElement>>;
|
|
58
58
|
export declare const NylasCalendarPicker: import("react").ForwardRefExoticComponent<JSX.NylasCalendarPicker & Omit<import("react").HTMLAttributes<HTMLNylasCalendarPickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasCalendarPickerElement>>;
|
|
59
|
+
export declare const NylasCallSummary: import("react").ForwardRefExoticComponent<JSX.NylasCallSummary & Omit<import("react").HTMLAttributes<HTMLNylasCallSummaryElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasCallSummaryElement>>;
|
|
59
60
|
export declare const NylasCancelBookingForm: import("react").ForwardRefExoticComponent<JSX.NylasCancelBookingForm & Omit<import("react").HTMLAttributes<HTMLNylasCancelBookingFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasCancelBookingFormElement>>;
|
|
60
61
|
export declare const NylasCancellationPolicy: import("react").ForwardRefExoticComponent<JSX.NylasCancellationPolicy & Omit<import("react").HTMLAttributes<HTMLNylasCancellationPolicyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasCancellationPolicyElement>>;
|
|
61
62
|
export declare const NylasCancelledEventCard: import("react").ForwardRefExoticComponent<JSX.NylasCancelledEventCard & Omit<import("react").HTMLAttributes<HTMLNylasCancelledEventCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasCancelledEventCardElement>>;
|
|
@@ -69,15 +70,20 @@ export declare const NylasDateComponent: import("react").ForwardRefExoticCompone
|
|
|
69
70
|
export declare const NylasDatePicker: import("react").ForwardRefExoticComponent<JSX.NylasDatePicker & Omit<import("react").HTMLAttributes<HTMLNylasDatePickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasDatePickerElement>>;
|
|
70
71
|
export declare const NylasDisableEmails: import("react").ForwardRefExoticComponent<JSX.NylasDisableEmails & Omit<import("react").HTMLAttributes<HTMLNylasDisableEmailsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasDisableEmailsElement>>;
|
|
71
72
|
export declare const NylasEditorTabs: import("react").ForwardRefExoticComponent<JSX.NylasEditorTabs & Omit<import("react").HTMLAttributes<HTMLNylasEditorTabsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEditorTabsElement>>;
|
|
73
|
+
export declare const NylasEditorTabsGroup: import("react").ForwardRefExoticComponent<JSX.NylasEditorTabsGroup & Omit<import("react").HTMLAttributes<HTMLNylasEditorTabsGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEditorTabsGroupElement>>;
|
|
74
|
+
export declare const NylasEventCalendar: import("react").ForwardRefExoticComponent<JSX.NylasEventCalendar & Omit<import("react").HTMLAttributes<HTMLNylasEventCalendarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventCalendarElement>>;
|
|
75
|
+
export declare const NylasEventCapacity: import("react").ForwardRefExoticComponent<JSX.NylasEventCapacity & Omit<import("react").HTMLAttributes<HTMLNylasEventCapacityElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventCapacityElement>>;
|
|
72
76
|
export declare const NylasEventDescription: import("react").ForwardRefExoticComponent<JSX.NylasEventDescription & Omit<import("react").HTMLAttributes<HTMLNylasEventDescriptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventDescriptionElement>>;
|
|
73
77
|
export declare const NylasEventDuration: import("react").ForwardRefExoticComponent<JSX.NylasEventDuration & Omit<import("react").HTMLAttributes<HTMLNylasEventDurationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventDurationElement>>;
|
|
74
78
|
export declare const NylasEventInfo: import("react").ForwardRefExoticComponent<JSX.NylasEventInfo & Omit<import("react").HTMLAttributes<HTMLNylasEventInfoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventInfoElement>>;
|
|
75
79
|
export declare const NylasEventLimits: import("react").ForwardRefExoticComponent<JSX.NylasEventLimits & Omit<import("react").HTMLAttributes<HTMLNylasEventLimitsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventLimitsElement>>;
|
|
76
80
|
export declare const NylasEventLocation: import("react").ForwardRefExoticComponent<JSX.NylasEventLocation & Omit<import("react").HTMLAttributes<HTMLNylasEventLocationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventLocationElement>>;
|
|
81
|
+
export declare const NylasEventTimeslot: import("react").ForwardRefExoticComponent<JSX.NylasEventTimeslot & Omit<import("react").HTMLAttributes<HTMLNylasEventTimeslotElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventTimeslotElement>>;
|
|
77
82
|
export declare const NylasEventTitle: import("react").ForwardRefExoticComponent<JSX.NylasEventTitle & Omit<import("react").HTMLAttributes<HTMLNylasEventTitleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasEventTitleElement>>;
|
|
78
83
|
export declare const NylasFeedbackForm: import("react").ForwardRefExoticComponent<JSX.NylasFeedbackForm & Omit<import("react").HTMLAttributes<HTMLNylasFeedbackFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasFeedbackFormElement>>;
|
|
79
84
|
export declare const NylasFormCard: import("react").ForwardRefExoticComponent<JSX.NylasFormCard & Omit<import("react").HTMLAttributes<HTMLNylasFormCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasFormCardElement>>;
|
|
80
85
|
export declare const NylasIfState: import("react").ForwardRefExoticComponent<JSX.NylasIfState & Omit<import("react").HTMLAttributes<HTMLNylasIfStateElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasIfStateElement>>;
|
|
86
|
+
export declare const NylasKeyPoints: import("react").ForwardRefExoticComponent<JSX.NylasKeyPoints & Omit<import("react").HTMLAttributes<HTMLNylasKeyPointsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasKeyPointsElement>>;
|
|
81
87
|
export declare const NylasLimitFutureBookings: import("react").ForwardRefExoticComponent<JSX.NylasLimitFutureBookings & Omit<import("react").HTMLAttributes<HTMLNylasLimitFutureBookingsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasLimitFutureBookingsElement>>;
|
|
82
88
|
export declare const NylasListConfigurations: import("react").ForwardRefExoticComponent<JSX.NylasListConfigurations & Omit<import("react").HTMLAttributes<HTMLNylasListConfigurationsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasListConfigurationsElement>>;
|
|
83
89
|
export declare const NylasLocaleSwitch: import("react").ForwardRefExoticComponent<JSX.NylasLocaleSwitch & Omit<import("react").HTMLAttributes<HTMLNylasLocaleSwitchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasLocaleSwitchElement>>;
|
|
@@ -97,10 +103,14 @@ export declare const NylasReminderTime: import("react").ForwardRefExoticComponen
|
|
|
97
103
|
export declare const NylasSchedulerEditor: import("react").ForwardRefExoticComponent<JSX.NylasSchedulerEditor & Omit<import("react").HTMLAttributes<HTMLNylasSchedulerEditorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasSchedulerEditorElement>>;
|
|
98
104
|
export declare const NylasScheduling: import("react").ForwardRefExoticComponent<JSX.NylasScheduling & Omit<import("react").HTMLAttributes<HTMLNylasSchedulingElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasSchedulingElement>>;
|
|
99
105
|
export declare const NylasSchedulingMethod: import("react").ForwardRefExoticComponent<JSX.NylasSchedulingMethod & Omit<import("react").HTMLAttributes<HTMLNylasSchedulingMethodElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasSchedulingMethodElement>>;
|
|
106
|
+
export declare const NylasSelectEventType: import("react").ForwardRefExoticComponent<JSX.NylasSelectEventType & Omit<import("react").HTMLAttributes<HTMLNylasSelectEventTypeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasSelectEventTypeElement>>;
|
|
100
107
|
export declare const NylasSelectedEventCard: import("react").ForwardRefExoticComponent<JSX.NylasSelectedEventCard & Omit<import("react").HTMLAttributes<HTMLNylasSelectedEventCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasSelectedEventCardElement>>;
|
|
101
108
|
export declare const NylasTimeWindowPicker: import("react").ForwardRefExoticComponent<JSX.NylasTimeWindowPicker & Omit<import("react").HTMLAttributes<HTMLNylasTimeWindowPickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasTimeWindowPickerElement>>;
|
|
102
109
|
export declare const NylasTimeslotInterval: import("react").ForwardRefExoticComponent<JSX.NylasTimeslotInterval & Omit<import("react").HTMLAttributes<HTMLNylasTimeslotIntervalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasTimeslotIntervalElement>>;
|
|
103
110
|
export declare const NylasTimeslotPicker: import("react").ForwardRefExoticComponent<JSX.NylasTimeslotPicker & Omit<import("react").HTMLAttributes<HTMLNylasTimeslotPickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasTimeslotPickerElement>>;
|
|
111
|
+
export declare const NylasTranscript: import("react").ForwardRefExoticComponent<JSX.NylasTranscript & Omit<import("react").HTMLAttributes<HTMLNylasTranscriptElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasTranscriptElement>>;
|
|
112
|
+
export declare const NylasVideoPlayer: import("react").ForwardRefExoticComponent<JSX.NylasVideoPlayer & Omit<import("react").HTMLAttributes<HTMLNylasVideoPlayerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasVideoPlayerElement>>;
|
|
113
|
+
export declare const NylasVideoPreview: import("react").ForwardRefExoticComponent<JSX.NylasVideoPreview & Omit<import("react").HTMLAttributes<HTMLNylasVideoPreviewElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLNylasVideoPreviewElement>>;
|
|
104
114
|
export declare const PaintbrushFillIcon: import("react").ForwardRefExoticComponent<JSX.PaintbrushFillIcon & Omit<import("react").HTMLAttributes<HTMLPaintbrushFillIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPaintbrushFillIconElement>>;
|
|
105
115
|
export declare const PaintbrushIcon: import("react").ForwardRefExoticComponent<JSX.PaintbrushIcon & Omit<import("react").HTMLAttributes<HTMLPaintbrushIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPaintbrushIconElement>>;
|
|
106
116
|
export declare const PeopleIcon: import("react").ForwardRefExoticComponent<JSX.PeopleIcon & Omit<import("react").HTMLAttributes<HTMLPeopleIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPeopleIconElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Nt=require("./index-
|
|
1
|
+
"use strict";const Nt=require("./index-05630f15.cjs"),Ar=Object.prototype.toString;function hn(e){switch(Ar.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return xe(e,Error)}}function Xe(e,t){return Ar.call(e)===`[object ${t}]`}function Ur(e){return Xe(e,"ErrorEvent")}function Pn(e){return Xe(e,"DOMError")}function Ro(e){return Xe(e,"DOMException")}function fe(e){return Xe(e,"String")}function mn(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function gn(e){return e===null||mn(e)||typeof e!="object"&&typeof e!="function"}function He(e){return Xe(e,"Object")}function Mt(e){return typeof Event<"u"&&xe(e,Event)}function Lo(e){return typeof Element<"u"&&xe(e,Element)}function Mo(e){return Xe(e,"RegExp")}function Ot(e){return!!(e&&e.then&&typeof e.then=="function")}function Oo(e){return He(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function xe(e,t){try{return e instanceof t}catch{return!1}}function Hr(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Pe(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function An(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const o=e[r];try{Hr(o)?n.push("[VueViewModel]"):n.push(String(o))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function $o(e,t,n=!1){return fe(e)?Mo(t)?t.test(e):fe(t)?n?e===t:e.includes(t):!1:!1}function $t(e,t=[],n=!1){return t.some(r=>$o(e,r,n))}function Fo(e,t,n=250,r,o,i,s){if(!i.exception||!i.exception.values||!s||!xe(s.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=Po(zt(e,t,o,s.originalException,r,i.exception.values,a,0),n))}function zt(e,t,n,r,o,i,s,a){if(i.length>=n+1)return i;let c=[...i];if(xe(r[o],Error)){Un(s,a);const l=e(t,r[o]),d=c.length;Hn(l,o,d,a),c=zt(e,t,n,r[o],o,[l,...c],l,d)}return Array.isArray(r.errors)&&r.errors.forEach((l,d)=>{if(xe(l,Error)){Un(s,a);const u=e(t,l),_=c.length;Hn(u,`errors[${d}]`,_,a),c=zt(e,t,n,l,o,[u,...c],u,_)}}),c}function Un(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function Hn(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Po(e,t){return e.map(n=>(n.value&&(n.value=Pe(n.value,t)),n))}const Se="8.28.0",w=globalThis;function yn(e,t,n){const r=n||w,o=r.__SENTRY__=r.__SENTRY__||{},i=o[Se]=o[Se]||{};return i[e]||(i[e]=t())}const bn=w,Ao=80;function jr(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let i=0,s=0;const a=" > ",c=a.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||Ao;for(;n&&i++<r&&(l=Uo(n,d),!(l==="html"||i>1&&s+o.length*c+l.length>=u));)o.push(l),s+=l.length,n=n.parentNode;return o.reverse().join(a)}catch{return"<unknown>"}}function Uo(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(bn.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(s=>n.getAttribute(s)).map(s=>[s,n.getAttribute(s)]):null;if(o&&o.length)o.forEach(s=>{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const s=n.className;if(s&&fe(s)){const a=s.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const s of i){const a=n.getAttribute(s);a&&r.push(`[${s}="${a}"]`)}return r.join("")}function Br(){try{return bn.document.location.href}catch{return""}}function Ho(e){if(!bn.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const ot=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,jo="Sentry Logger ",Vt=["debug","info","warn","error","log","assert","trace"],It={};function it(e){if(!("console"in w))return e();const t=w.console,n={},r=Object.keys(It);r.forEach(o=>{const i=It[o];n[o]=t[o],t[o]=i});try{return e()}finally{r.forEach(o=>{t[o]=n[o]})}}function Bo(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return ot?Vt.forEach(n=>{t[n]=(...r)=>{e&&it(()=>{w.console[n](`${jo}[${n}]:`,...r)})}}):Vt.forEach(n=>{t[n]=()=>{}}),t}const g=Bo(),Yo=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Go(e){return e==="http"||e==="https"}function Ft(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${s}`}function qo(e){const t=Yo.exec(e);if(!t){it(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,o="",i="",s="",a=""]=t.slice(1);let c="",l=a;const d=l.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),l=d.pop()),l){const u=l.match(/^\d+/);u&&(l=u[0])}return Yr({host:i,pass:o,path:c,projectId:l,port:s,protocol:n,publicKey:r})}function Yr(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Xo(e){if(!ot)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(s=>e[s]?!1:(g.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?Go(r)?t&&isNaN(parseInt(t,10))?(g.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(g.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(g.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Wo(e){const t=typeof e=="string"?qo(e):Yr(e);if(!(!t||!Xo(t)))return t}class ae extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function W(e,t,n){if(!(t in e))return;const r=e[t],o=n(r);typeof o=="function"&&Gr(o,r),e[t]=o}function Ce(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{ot&&g.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Gr(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Ce(e,"__sentry_original__",t)}catch{}}function En(e){return e.__sentry_original__}function zo(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function qr(e){if(hn(e))return{message:e.message,name:e.name,stack:e.stack,...Bn(e)};if(Mt(e)){const t={type:e.type,target:jn(e.target),currentTarget:jn(e.currentTarget),...Bn(e)};return typeof CustomEvent<"u"&&xe(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function jn(e){try{return Lo(e)?jr(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Bn(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Vo(e,t=40){const n=Object.keys(qr(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Pe(r,t);for(let o=n.length;o>0;o--){const i=n.slice(0,o).join(", ");if(!(i.length>t))return o===n.length?i:Pe(i,t)}return""}function z(e){return Kt(e,new Map)}function Kt(e,t){if(Ko(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const o of Object.keys(e))typeof e[o]<"u"&&(r[o]=Kt(e[o],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(o=>{r.push(Kt(o,t))}),r}return e}function Ko(e){if(!He(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const Xr=50,Ne="?",Yn=/\(error: (.*)\)/,Gn=/captureMessage|captureException/;function Wr(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,o=0)=>{const i=[],s=n.split(`
|
|
2
2
|
`);for(let a=r;a<s.length;a++){const c=s[a];if(c.length>1024)continue;const l=Yn.test(c)?c.replace(Yn,"$1"):c;if(!l.match(/\S*Error: /)){for(const d of t){const u=d(l);if(u){i.push(u);break}}if(i.length>=Xr+o)break}}return Zo(i.slice(o))}}function Jo(e){return Array.isArray(e)?Wr(...e):e}function Zo(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(dt(t).function||"")&&t.pop(),t.reverse(),Gn.test(dt(t).function||"")&&(t.pop(),Gn.test(dt(t).function||"")&&t.pop()),t.slice(0,Xr).map(n=>({...n,filename:n.filename||dt(t).filename,function:n.function||Ne}))}function dt(e){return e[e.length-1]||{}}const jt="<anonymous>";function ve(e){try{return!e||typeof e!="function"?jt:e.name||jt}catch{return jt}}function qn(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Et={},Xn={};function De(e,t){Et[e]=Et[e]||[],Et[e].push(t)}function Re(e,t){Xn[e]||(t(),Xn[e]=!0)}function oe(e,t){const n=e&&Et[e];if(n)for(const r of n)try{r(t)}catch(o){ot&&g.error(`Error while triggering instrumentation handler.
|
|
3
3
|
Type: ${e}
|
|
4
4
|
Name: ${ve(r)}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as e, h as t } from "./index-78390f2e.js";
|
|
2
2
|
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
3
4
|
import "react-dom";
|
|
4
5
|
const s = ".sc-folder-icon-h{display:flex}", i = s, r = class {
|
|
5
|
-
constructor(
|
|
6
|
-
|
|
6
|
+
constructor(o) {
|
|
7
|
+
e(this, o), this.width = "15", this.height = "15";
|
|
7
8
|
}
|
|
8
9
|
render() {
|
|
9
|
-
return
|
|
10
|
+
return t("svg", { key: "caeb4acff2a1d2f6df217ef34595142fc3ce64c8", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "3c2b109a5af0d25855bdf2b31696b216a1f53a88", d: "M3 8.2C3 7.07989 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H9.67452C10.1637 5 10.4083 5 10.6385 5.05526C10.8425 5.10425 11.0376 5.18506 11.2166 5.29472C11.4184 5.4184 11.5914 5.59135 11.9373 5.93726L12.0627 6.06274C12.4086 6.40865 12.5816 6.5816 12.7834 6.70528C12.9624 6.81494 13.1575 6.89575 13.3615 6.94474C13.5917 7 13.8363 7 14.3255 7H17.8C18.9201 7 19.4802 7 19.908 7.21799C20.2843 7.40973 20.5903 7.71569 20.782 8.09202C21 8.51984 21 9.0799 21 10.2V15.8C21 16.9201 21 17.4802 20.782 17.908C20.5903 18.2843 20.2843 18.5903 19.908 18.782C19.4802 19 18.9201 19 17.8 19H6.2C5.07989 19 4.51984 19 4.09202 18.782C3.71569 18.5903 3.40973 18.2843 3.21799 17.908C3 17.4802 3 16.9201 3 15.8V8.2Z", stroke: "auto", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
10
11
|
}
|
|
11
12
|
};
|
|
12
13
|
r.style = i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-05630f15.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-folder-icon-h{display:flex}",o=i,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"caeb4acff2a1d2f6df217ef34595142fc3ce64c8",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"3c2b109a5af0d25855bdf2b31696b216a1f53a88",d:"M3 8.2C3 7.07989 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H9.67452C10.1637 5 10.4083 5 10.6385 5.05526C10.8425 5.10425 11.0376 5.18506 11.2166 5.29472C11.4184 5.4184 11.5914 5.59135 11.9373 5.93726L12.0627 6.06274C12.4086 6.40865 12.5816 6.5816 12.7834 6.70528C12.9624 6.81494 13.1575 6.89575 13.3615 6.94474C13.5917 7 13.8363 7 14.3255 7H17.8C18.9201 7 19.4802 7 19.908 7.21799C20.2843 7.40973 20.5903 7.71569 20.782 8.09202C21 8.51984 21 9.0799 21 10.2V15.8C21 16.9201 21 17.4802 20.782 17.908C20.5903 18.2843 20.2843 18.5903 19.908 18.782C19.4802 19 18.9201 19 17.8 19H6.2C5.07989 19 4.51984 19 4.09202 18.782C3.71569 18.5903 3.40973 18.2843 3.21799 17.908C3 17.4802 3 16.9201 3 15.8V8.2Z",stroke:"auto","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=o;exports.folder_icon=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-05630f15.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-forward-icon-h{display:flex}",s=i,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"fc78b170c3b25b34895932f6e059894ef610e51d",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"935c7b576b4496f351656719b994f6dca48c229d",d:"m1246.246 64-90.496 90.496 477.952 477.952h-590.848C467.878 632.448.038 1100.416.038 1675.392v109.056h128v-109.056c0-504.576 410.368-914.944 914.816-914.944h590.848l-477.952 478.08 90.496 90.496 632.448-632.576L1246.246 64Z","fill-rule":"evenodd"}))}};t.style=s;exports.forward_icon=t;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as o, h as t } from "./index-78390f2e.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const i = ".sc-forward-icon-h{display:flex}", s = i, e = class {
|
|
6
|
+
constructor(r) {
|
|
7
|
+
o(this, r), this.width = "15", this.height = "15";
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return t("svg", { key: "fc78b170c3b25b34895932f6e059894ef610e51d", fill: "auto", width: this.width, height: this.height, viewBox: "0 0 1920 1920", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "935c7b576b4496f351656719b994f6dca48c229d", d: "m1246.246 64-90.496 90.496 477.952 477.952h-590.848C467.878 632.448.038 1100.416.038 1675.392v109.056h128v-109.056c0-504.576 410.368-914.944 914.816-914.944h590.848l-477.952 478.08 90.496 90.496 632.448-632.576L1246.246 64Z", "fill-rule": "evenodd" }));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
e.style = s;
|
|
14
|
+
export {
|
|
15
|
+
e as forward_icon
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-05630f15.cjs"),o=require("./constants-3d8016e3-fd6c3848.cjs"),m=require("./customParseFormat-6c652dbb-ba81ab97.cjs");require("react");require("react/jsx-runtime");require("react-dom");const h=".sc-globe-icon-h{display:flex}",u=h,c=class{constructor(t){s.registerInstance(this,t),this.width="16",this.height="16"}render(){return s.h("svg",{key:"e49a7c6af179ae7509e706ac54dab240917fa5ad",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 16 16",fill:"none"},s.h("path",{key:"20930ecebcee8b313e00f572da95d60cd6437945",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:"currentColor"}))}};c.style=u;const f=':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}.time-picker{display:inline-block;width:150px;font-family:var(--nylas-font-family);position:relative}@media screen and (max-width: 768px){.time-picker{width:auto}}.time-picker input{width:150px;height:48px;text-align:center;font-size:16px;font-family:inherit;cursor:pointer;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.time-picker input{width:88px}}@media screen and (max-width: 504px){.time-picker input{width:68px;font-size:15px}}.time-picker input.focus{background:transparent}.time-picker input:hover,.time-picker input:active{border:1px solid var(--nylas-primary)}.time-picker input:active{outline:2px solid var(--nylas-primary)}.time-picker input span.open{transform:rotate(90deg)}.time-picker input span.closed{transform:rotate(270deg)}.time-picker input.error{border:1px solid var(--nylas-error)}.time-picker p.error{color:var(--nylas-error);font-size:0.875rem;margin:0}.times{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;border:1px solid #ddd;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.times ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.times 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:center;cursor:pointer}.times ul li.focused{background-color:var(--nylas-base-100)}.times ul li:hover,.times ul li:focus{background-color:var(--nylas-base-100)}.times ul li label{display:flex;align-items:center;gap:0.5rem}.times ul li label input{margin:0}',p=f;s.dayjs.extend(m.customParseFormat);const d=class{constructor(t){s.registerInstance(this,t),this.timeChange=s.createEvent(this,"timeChange",7),this.timeWindowFormError=s.createEvent(this,"timeWindowFormError",7),this.time=void 0,this.minimumStartTime=null,this.placeholder="hh:mmam/pm",this.name=void 0,this.hasError=!1,this.language=o.LANGUAGE_CODE.en,this.err="",this.showTimes=!1,this.ariaActivedescendant="",this.times=this.generateTimes(),this.shouldAutoScroll=!1}handleOutsideClick(t){!t.composedPath().includes(this.el)&&this.showTimes&&(this.showTimes=!1)}minimumStartTimeChangedHandler(){if(this.minimumStartTime){let t=s.dayjs().hour(parseInt(this.minimumStartTime)).minute(parseInt(this.minimumStartTime.slice(-4,-2)));this.minimumStartTime.slice(-2).toLowerCase()==="pm"&&parseInt(this.minimumStartTime)!==12?t=t.add(12,"hour"):this.minimumStartTime.slice(-2).toLowerCase()==="am"&&parseInt(this.minimumStartTime)===12&&(t=t.subtract(12,"hour")),this.times=this.generateTimes();const e=s.dayjs(this.times[0].value,"hh:mma");s.dayjs(this.time,"hh:mma").isBefore(e)&&(this.err="Invalid",this.timeWindowFormError.emit({key:this.el.id,message:"Invalid"}))}}componentDidRender(){if(this.showTimes&&this.shouldAutoScroll){const t=s.autocompleteTimeFormat(this.time),e=this.times.findIndex(i=>i.value===t);e>-1&&(this.shouldAutoScroll=!1,this.scrollToViewWithinParent(e));return}}handleTimeChange(t,e){const i=e.split(":");i[0]==="00"&&i[1].slice(-2)=="pm"&&(this.err="Invalid",this.timeWindowFormError.emit({key:this.el.id,message:"Invalid"})),s.validateTimeFormatInput(e)?(this.err="",this.timeWindowFormError.emit({key:this.el.id,message:""})):(this.err="Invalid",this.timeWindowFormError.emit({key:this.el.id,message:"Invalid"})),!this.err&&this.timeChange.emit({key:this.el.id,value:e})}handleTimeAutocomplete(t){var a;const e=(a=t.target)==null?void 0:a.value,i=this.language===o.LANGUAGE_CODE.de||this.language===o.LANGUAGE_CODE.fr?s.convertTo12HourFormat(e):e;if(!s.validateTimeFormatInput(i)){this.err="Invalid",this.timeWindowFormError.emit({key:this.el.id,message:"Invalid"});return}if(i===""){const r=s.roundToNearest15Minutes().format("hh:mma");this.timeChange.emit({key:this.el.id,value:r});return}if(!s.validateExactTimeFormat(i)){const r=s.autocompleteTimeFormat(i);this.timeChange.emit({key:this.el.id,value:r});return}this.timeChange.emit({key:this.el.id,value:i})}handleOnInput(t){var i;const e=(i=t.target)==null?void 0:i.value;if(s.validateTimeFormatInput(e)){if(e===""){const a=s.roundToNearest15Minutes().format("hh:mma"),r=this.times.findIndex(n=>n.value===a);r>-1&&this.scrollToViewWithinParent(r);return}if(!s.validateExactTimeFormat(e)){const a=s.autocompleteTimeFormat(e),r=this.times.findIndex(n=>n.value===a);r>-1&&this.scrollToViewWithinParent(r);return}}}generateTimes(){const t=[];let e=s.dayjs().set("hour",0).set("minute",0).set("second",0);this.minimumStartTime&&(e=s.dayjs(this.minimumStartTime,"hh:mma"));const i=e.endOf("day").diff(e,"minutes"),a=Math.round(i/15);for(let r=0;r<a+1;r++){const n=e.add(r*15,"minute");if(r==a&&n.format("hh:mma").includes("am"))break;t.push({id:r,value:n.format("hh:mma")})}return t}handleComboboxKeyDown(t){if(t.key==="ArrowDown"){if(t.preventDefault(),!this.showTimes){this.showTimes=!0,this.shouldAutoScroll=!0;return}if(this.ariaActivedescendant==="")this.ariaActivedescendant=this.times[0].id.toString(),this.focusOption(0);else{const e=this.times.findIndex(a=>a.id.toString()===this.ariaActivedescendant),i=e+1<this.times.length?e+1:0;this.ariaActivedescendant=this.times[i].id.toString(),this.focusOption(i)}}else if(t.key==="ArrowUp")if(t.preventDefault(),this.ariaActivedescendant==="")this.ariaActivedescendant=this.times[this.times.length-1].id.toString(),this.focusOption(this.times.length-1);else{const e=this.times.findIndex(a=>a.id.toString()===this.ariaActivedescendant),i=e-1>=0?e-1:this.times.length-1;this.ariaActivedescendant=this.times[i].id.toString(),this.focusOption(i)}else t.key==="Escape"&&(this.showTimes=!1,this.timeInput.focus())}handleListboxKeydown(t){const e=this.times,i=e.findIndex(a=>a.id.toString()===this.ariaActivedescendant);if(t.key==="ArrowDown"||t.key==="Tab"&&!t.shiftKey){t.preventDefault();const a=i+1<e.length?i+1:0;this.ariaActivedescendant=e[a].id.toString(),this.focusOption(a)}else if(t.key==="ArrowUp"||t.key==="Tab"&&t.shiftKey){t.preventDefault();const a=i-1>=0?i-1:e.length-1;this.ariaActivedescendant=e[a].id.toString(),this.focusOption(a)}else if(t.key==="Enter"){if(t.preventDefault(),this.ariaActivedescendant){const a=e[i];this.handleTimeChange(t,a.value),this.showTimes=!1,this.ariaActivedescendant="",this.timeInput.focus()}}else t.key==="Escape"&&(this.showTimes=!1,this.timeInput.focus())}scrollToViewWithinParent(t){var l;const e=this.times[t],i=(l=this.el.shadowRoot)==null?void 0:l.getElementById(e.id.toString()),a=this.timeMenu;this.ariaActivedescendant=e.id.toString();const r=i.getBoundingClientRect(),n=a.getBoundingClientRect();r.top<n.top?a.scrollTop-=n.top-r.top:r.bottom>n.bottom&&(a.scrollTop+=r.bottom-n.bottom),r.left<n.left?a.scrollLeft-=n.left-r.left:r.right>n.right&&(a.scrollLeft+=r.right-n.right)}focusOption(t){var r;const e=this.times[t];if(!e)return;const i=e.id.toString(),a=(r=this.el.shadowRoot)==null?void 0:r.getElementById(i);a&&(a.focus(),a.scrollIntoView({behavior:"smooth",block:"nearest"}))}render(){const t=this.language!==o.LANGUAGE_CODE.en;return s.h(s.Host,{key:"fe213a09bb8bd924e66b19ae885a4ecea11e7919"},s.h("div",{key:"75068ee86601003889d1d5047ca72f94cfce4354",class:"time-picker",part:"time-picker"},s.h("input",{key:"204175ad394c1a67f5464c04c20ba07dcde5863a",type:"text",name:this.name,id:this.name,part:"time-input",class:{"time-input":!0,error:!!this.err||this.hasError},ref:e=>this.timeInput=e,value:t?s.convertTo24HourFormat(this.time):this.time,onClick:()=>{this.showTimes=!this.showTimes,this.shouldAutoScroll=!0},"aria-haspopup":"listbox","aria-label":this.name,"aria-expanded":this.showTimes?"true":"false",placeholder:this.placeholder,onKeyDown:e=>this.handleComboboxKeyDown(e),onInput:e=>this.handleOnInput(e),onBlur:e=>this.handleTimeAutocomplete(e)}),this.err&&s.h("div",{class:"invalid-time-icon"}),this.showTimes&&s.h("div",{class:"times",part:"times",ref:e=>this.timeMenu=e},s.h("ul",{tabindex:"-1",role:"listbox","aria-label":this.name,"aria-activedescendant":this.ariaActivedescendant,onKeyDown:e=>this.handleListboxKeydown(e)},this.times.map(e=>s.h("li",{tabindex:"0",key:e.id,id:e.id.toString(),class:{focused:this.ariaActivedescendant===e.id.toString()},onClick:i=>{this.handleTimeChange(i,e.value),this.showTimes=!1,this.timeInput.focus()},role:"option"},`${t?s.convertTo24HourFormat(e.value):e.value}`)))),!this.showTimes&&this.err&&s.h("p",{class:"error",id:"email-error"},this.err)))}get el(){return s.getElement(this)}static get watchers(){return{minimumStartTime:["minimumStartTimeChangedHandler"]}}};d.style=p;exports.globe_icon=c;exports.nylas_time_window_picker=d;
|