@nylas/web-elements 1.4.5 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +179 -146
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4998 -4993
- package/dist/cjs/calendar-agenda-fill-icon_36.cjs.entry.js +4 -4
- package/dist/cjs/checkmark-icon_15.cjs.entry.js +4 -4
- package/dist/cjs/checkmark-icon_15.cjs.entry.js.map +1 -1
- package/dist/cjs/{constants-3b9fb535.js → constants-27331d2d.js} +1 -5
- package/dist/cjs/constants-27331d2d.js.map +1 -0
- package/dist/cjs/{customParseFormat-4dbd51f6.js → customParseFormat-22da9017.js} +2 -2
- package/dist/cjs/{customParseFormat-4dbd51f6.js.map → customParseFormat-22da9017.js.map} +1 -1
- package/dist/cjs/{feedbackSync-670798db.js → feedbackSync-adabe7d6.js} +2 -2
- package/dist/cjs/{feedbackSync-670798db.js.map → feedbackSync-adabe7d6.js.map} +1 -1
- package/dist/cjs/globe-icon_2.cjs.entry.js +3 -3
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +49 -25
- package/dist/cjs/google-logo-icon_6.cjs.entry.js.map +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{index.es-cbc1ecb6.js → index.es-7848228a.js} +2 -2
- package/dist/cjs/{index.es-cbc1ecb6.js.map → index.es-7848228a.js.map} +1 -1
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/multi-select-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/{nylas-api-request-af6121b4.js → nylas-api-request-976db0f4.js} +2 -2
- package/dist/cjs/{nylas-api-request-af6121b4.js.map → nylas-api-request-976db0f4.js.map} +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +3 -3
- package/dist/cjs/nylas-event-calendar_3.cjs.entry.js +4 -4
- package/dist/cjs/nylas-form-card.cjs.entry.js +2 -2
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +22 -16
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +7 -7
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/{register-component-5e87c463.js → register-component-d2f37e40.js} +2 -2
- package/dist/cjs/{register-component-5e87c463.js.map → register-component-d2f37e40.js.map} +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/{utils-0dfca9ec.js → utils-d522ef01.js} +10 -1
- package/dist/cjs/utils-d522ef01.js.map +1 -0
- package/dist/collection/common/constants.js +0 -1
- package/dist/collection/common/constants.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js +6 -7
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js +6 -3
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js +4 -5
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.css +0 -8
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +43 -10
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-select-event-type/nylas-select-event-type.js +52 -7
- package/dist/collection/components/scheduler-editor/nylas-select-event-type/nylas-select-event-type.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +1 -1
- package/dist/collection/stores/scheduler-config-store.js.map +1 -1
- package/dist/components/constants.js +1 -5
- package/dist/components/constants.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group2.js +8 -9
- package/dist/components/nylas-editor-tabs-group2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +2 -2
- package/dist/components/nylas-event-description2.js +1 -1
- package/dist/components/nylas-event-description2.js.map +1 -1
- package/dist/components/nylas-list-configurations2.js +6 -3
- package/dist/components/nylas-list-configurations2.js.map +1 -1
- package/dist/components/nylas-scheduler-editor.js +22 -14
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling.js +3 -3
- package/dist/components/nylas-select-event-type2.js +32 -8
- package/dist/components/nylas-select-event-type2.js.map +1 -1
- package/dist/components/nylas-timeslot-interval2.js +1 -1
- package/dist/components/utils.js +9 -0
- package/dist/components/utils.js.map +1 -1
- package/dist/esm/calendar-agenda-fill-icon_36.entry.js +4 -4
- package/dist/esm/checkmark-icon_15.entry.js +4 -4
- package/dist/esm/checkmark-icon_15.entry.js.map +1 -1
- package/dist/esm/{constants-3d8016e3.js → constants-f51538ef.js} +2 -6
- package/dist/esm/constants-f51538ef.js.map +1 -0
- package/dist/esm/{customParseFormat-129be926.js → customParseFormat-d1de5ed0.js} +2 -2
- package/dist/esm/{customParseFormat-129be926.js.map → customParseFormat-d1de5ed0.js.map} +1 -1
- package/dist/esm/{feedbackSync-d943ffc7.js → feedbackSync-172f942c.js} +2 -2
- package/dist/esm/{feedbackSync-d943ffc7.js.map → feedbackSync-172f942c.js.map} +1 -1
- package/dist/esm/globe-icon_2.entry.js +3 -3
- package/dist/esm/google-logo-icon_6.entry.js +49 -25
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/{index.es-4615d47c.js → index.es-fc8588de.js} +2 -2
- package/dist/esm/{index.es-4615d47c.js.map → index.es-fc8588de.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown_2.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/multi-select-dropdown_2.entry.js +1 -1
- package/dist/esm/{nylas-api-request-acf12b47.js → nylas-api-request-3d7ced61.js} +2 -2
- package/dist/esm/{nylas-api-request-acf12b47.js.map → nylas-api-request-3d7ced61.js.map} +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +3 -3
- package/dist/esm/nylas-event-calendar_3.entry.js +4 -4
- package/dist/esm/nylas-form-card.entry.js +2 -2
- package/dist/esm/nylas-scheduler-editor.entry.js +22 -16
- package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +7 -7
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/{register-component-083eb961.js → register-component-62d792d4.js} +2 -2
- package/dist/esm/{register-component-083eb961.js.map → register-component-62d792d4.js.map} +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/{utils-6c05ecaf.js → utils-bb88dd4d.js} +10 -1
- package/dist/esm/utils-bb88dd4d.js.map +1 -0
- package/dist/nylas-web-elements/index.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
- package/dist/nylas-web-elements/{p-865721fd.entry.js → p-05204c68.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-2b38054f.entry.js → p-0d422938.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-c59787f4.js → p-0d6ecada.js} +2 -2
- package/dist/nylas-web-elements/{p-e2632a60.js → p-198f05a6.js} +2 -2
- package/dist/nylas-web-elements/p-1d8c55c6.entry.js +11 -0
- package/dist/nylas-web-elements/p-1d8c55c6.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-4e1e01e4.entry.js → p-29f601d9.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-60b48bf7.js → p-3a3c5e17.js} +2 -2
- package/dist/nylas-web-elements/{p-6bb6a0b8.entry.js → p-447837c2.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-faa723fc.entry.js → p-49c8d4d9.entry.js} +2 -2
- package/dist/nylas-web-elements/p-49c8d4d9.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-7e885253.js +2 -0
- package/dist/nylas-web-elements/p-7e885253.js.map +1 -0
- package/dist/nylas-web-elements/{p-3cc1072e.js → p-84109239.js} +2 -2
- package/dist/nylas-web-elements/{p-d16cd88b.entry.js → p-a7d2a211.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-bea31f39.entry.js → p-a9107606.entry.js} +2 -2
- package/dist/nylas-web-elements/p-a9107606.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-a9a0dd64.entry.js → p-ab96941e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6fc7d11b.entry.js → p-af94512e.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-bfe2bdbd.js → p-b3ca5d4d.js} +2 -2
- package/dist/nylas-web-elements/{p-80d57b5a.entry.js → p-cd24a45e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6364eb02.entry.js → p-e9369c76.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b2241c3c.entry.js → p-f00d1bb3.entry.js} +2 -2
- package/dist/nylas-web-elements/p-f73e34dd.js +14 -0
- package/dist/nylas-web-elements/{p-2b97a896.js.map → p-f73e34dd.js.map} +1 -1
- package/dist/types/common/constants.d.ts +216 -1
- package/dist/types/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.d.ts +0 -2
- package/dist/types/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.d.ts +1 -2
- package/dist/types/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.d.ts +3 -1
- package/dist/types/components/scheduler-editor/nylas-select-event-type/nylas-select-event-type.d.ts +2 -1
- package/dist/types/components.d.ts +18 -2
- package/dist/types/stores/scheduler-config-store.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/constants-3b9fb535.js.map +0 -1
- package/dist/cjs/utils-0dfca9ec.js.map +0 -1
- package/dist/esm/constants-3d8016e3.js.map +0 -1
- package/dist/esm/utils-6c05ecaf.js.map +0 -1
- package/dist/nylas-web-elements/p-2b97a896.js +0 -14
- package/dist/nylas-web-elements/p-35b7d082.entry.js +0 -11
- package/dist/nylas-web-elements/p-35b7d082.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-6f7cb609.js +0 -2
- package/dist/nylas-web-elements/p-6f7cb609.js.map +0 -1
- package/dist/nylas-web-elements/p-bea31f39.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-faa723fc.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-865721fd.entry.js.map → p-05204c68.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2b38054f.entry.js.map → p-0d422938.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c59787f4.js.map → p-0d6ecada.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-e2632a60.js.map → p-198f05a6.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-4e1e01e4.entry.js.map → p-29f601d9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-60b48bf7.js.map → p-3a3c5e17.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6bb6a0b8.entry.js.map → p-447837c2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3cc1072e.js.map → p-84109239.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d16cd88b.entry.js.map → p-a7d2a211.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a9a0dd64.entry.js.map → p-ab96941e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6fc7d11b.entry.js.map → p-af94512e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bfe2bdbd.js.map → p-b3ca5d4d.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-80d57b5a.entry.js.map → p-cd24a45e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6364eb02.entry.js.map → p-e9369c76.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b2241c3c.entry.js.map → p-f00d1bb3.entry.js.map} +0 -0
|
@@ -2,6 +2,10 @@ import { OpenHours } from '@nylas/core';
|
|
|
2
2
|
export type Locale = Partial<{
|
|
3
3
|
noDateSelected: string;
|
|
4
4
|
rescheduleTitle: string;
|
|
5
|
+
allDay: string;
|
|
6
|
+
today: string;
|
|
7
|
+
spotsLeft: string;
|
|
8
|
+
search: string;
|
|
5
9
|
days: Partial<{
|
|
6
10
|
sunday: string;
|
|
7
11
|
monday: string;
|
|
@@ -16,6 +20,14 @@ export type Locale = Partial<{
|
|
|
16
20
|
hours: string;
|
|
17
21
|
minute: string;
|
|
18
22
|
minutes: string;
|
|
23
|
+
day: string;
|
|
24
|
+
days: string;
|
|
25
|
+
week: string;
|
|
26
|
+
weeks: string;
|
|
27
|
+
month: string;
|
|
28
|
+
months: string;
|
|
29
|
+
year: string;
|
|
30
|
+
years: string;
|
|
19
31
|
}>;
|
|
20
32
|
months: Partial<{
|
|
21
33
|
january: string;
|
|
@@ -31,6 +43,8 @@ export type Locale = Partial<{
|
|
|
31
43
|
november: string;
|
|
32
44
|
december: string;
|
|
33
45
|
}>;
|
|
46
|
+
multipleOptionsSelected: string;
|
|
47
|
+
selectAtLeastOneOption: string;
|
|
34
48
|
nextButton: string;
|
|
35
49
|
selectedDayAndYear: string;
|
|
36
50
|
selectedTime: string;
|
|
@@ -64,6 +78,7 @@ export type Locale = Partial<{
|
|
|
64
78
|
goBackButton: string;
|
|
65
79
|
bookingCancelledTitle: string;
|
|
66
80
|
bookingCancelledMessage: string;
|
|
81
|
+
bookingCancelledMessage_theParticipants: string;
|
|
67
82
|
closeButton: string;
|
|
68
83
|
closingButton: string;
|
|
69
84
|
fieldRequired: string;
|
|
@@ -103,6 +118,7 @@ export type Locale = Partial<{
|
|
|
103
118
|
durationTitle: string;
|
|
104
119
|
loading: string;
|
|
105
120
|
required: string;
|
|
121
|
+
optional: string;
|
|
106
122
|
loadingPagesDescription: string;
|
|
107
123
|
noSchedulingPages: string;
|
|
108
124
|
createFirstSchedulingPage: string;
|
|
@@ -111,6 +127,7 @@ export type Locale = Partial<{
|
|
|
111
127
|
availabilityTab: string;
|
|
112
128
|
participantsTab: string;
|
|
113
129
|
bookingOptionsTab: string;
|
|
130
|
+
returnToCalendarView: string;
|
|
114
131
|
bookingFormTab: string;
|
|
115
132
|
communicationsTab: string;
|
|
116
133
|
pageStylesTab: string;
|
|
@@ -120,10 +137,20 @@ export type Locale = Partial<{
|
|
|
120
137
|
timePeriod_day: string;
|
|
121
138
|
timePeriod_week: string;
|
|
122
139
|
timePeriod_month: string;
|
|
140
|
+
timePeriod_year: string;
|
|
123
141
|
timeDuration_minute: string;
|
|
124
142
|
timeDuration_hour: string;
|
|
125
143
|
eventCommunicationsTitle: string;
|
|
126
144
|
eventCommunicationsDescription: string;
|
|
145
|
+
unsavedChangesLabel: string;
|
|
146
|
+
changesSavedLabel: string;
|
|
147
|
+
fixFormErrors: string;
|
|
148
|
+
pageSettingsButton: string;
|
|
149
|
+
nylasEditorTabs: {
|
|
150
|
+
bookingFormError: string;
|
|
151
|
+
bookingFormError_label: string;
|
|
152
|
+
bookingFormError_option: string;
|
|
153
|
+
};
|
|
127
154
|
nylasListConfigurations: Partial<{
|
|
128
155
|
previewButtonText: string;
|
|
129
156
|
copyLinkButtonText: string;
|
|
@@ -137,6 +164,7 @@ export type Locale = Partial<{
|
|
|
137
164
|
participant: string;
|
|
138
165
|
addParticipant_first: string;
|
|
139
166
|
addParticipant_next: string;
|
|
167
|
+
error: string;
|
|
140
168
|
tooltip: {
|
|
141
169
|
includeOrganizer: string;
|
|
142
170
|
includeOrganizerDesc: string;
|
|
@@ -154,6 +182,11 @@ export type Locale = Partial<{
|
|
|
154
182
|
unavailable: string;
|
|
155
183
|
days: Record<'SUN' | 'MON' | 'TUE' | 'WED' | 'THU' | 'FRI' | 'SAT', string>;
|
|
156
184
|
}>;
|
|
185
|
+
nylasTimeWindowPicker: Partial<{
|
|
186
|
+
errors: {
|
|
187
|
+
invalid: string;
|
|
188
|
+
};
|
|
189
|
+
}>;
|
|
157
190
|
nylasBookingCalendarPicker: Partial<{
|
|
158
191
|
headerTitle: string;
|
|
159
192
|
headerSubTitle: string;
|
|
@@ -185,6 +218,36 @@ export type Locale = Partial<{
|
|
|
185
218
|
dropdownButtonText: string;
|
|
186
219
|
addOption: string;
|
|
187
220
|
allOptionsHeader: string;
|
|
221
|
+
fieldInTitleError: string;
|
|
222
|
+
fieldInDescriptionError: string;
|
|
223
|
+
label: string;
|
|
224
|
+
defaultValue: string;
|
|
225
|
+
fieldType: {
|
|
226
|
+
text: string;
|
|
227
|
+
multi_line_text: string;
|
|
228
|
+
email: string;
|
|
229
|
+
phone_number: string;
|
|
230
|
+
dropdown: string;
|
|
231
|
+
radio_button: string;
|
|
232
|
+
checkbox: string;
|
|
233
|
+
date: string;
|
|
234
|
+
metadata: string;
|
|
235
|
+
multi_select: string;
|
|
236
|
+
};
|
|
237
|
+
fieldLabel: {
|
|
238
|
+
your_name: string;
|
|
239
|
+
your_email: string;
|
|
240
|
+
email: string;
|
|
241
|
+
phone_number: string;
|
|
242
|
+
dropdown: string;
|
|
243
|
+
text: string;
|
|
244
|
+
multi_line_text: string;
|
|
245
|
+
radio_button: string;
|
|
246
|
+
checkbox: string;
|
|
247
|
+
date: string;
|
|
248
|
+
metadata: string;
|
|
249
|
+
multi_select: string;
|
|
250
|
+
};
|
|
188
251
|
}>;
|
|
189
252
|
nylasBufferTime: Partial<{
|
|
190
253
|
headerTitle: string;
|
|
@@ -199,6 +262,7 @@ export type Locale = Partial<{
|
|
|
199
262
|
}>;
|
|
200
263
|
nylasCalendarPicker: Partial<{
|
|
201
264
|
calendarPickerLabel: string;
|
|
265
|
+
selectAtLeastOneCalendar: string;
|
|
202
266
|
}>;
|
|
203
267
|
nylasCancellationPolicy: Partial<{
|
|
204
268
|
cancellationPolicyLabel: string;
|
|
@@ -210,11 +274,16 @@ export type Locale = Partial<{
|
|
|
210
274
|
headerTitle: string;
|
|
211
275
|
headerSubTitle: string;
|
|
212
276
|
editButtonText: string;
|
|
277
|
+
error: {
|
|
278
|
+
invalidImageUrl: string;
|
|
279
|
+
};
|
|
213
280
|
confirmationEmail: {
|
|
214
281
|
label: string;
|
|
215
282
|
tooltip: {
|
|
216
283
|
desc: string;
|
|
284
|
+
language: string;
|
|
217
285
|
};
|
|
286
|
+
language: string;
|
|
218
287
|
};
|
|
219
288
|
nylasBranding: {
|
|
220
289
|
label: string;
|
|
@@ -248,6 +317,7 @@ export type Locale = Partial<{
|
|
|
248
317
|
desc: string;
|
|
249
318
|
};
|
|
250
319
|
participantCalendarTitle: string;
|
|
320
|
+
selectAtLeastOneCalendar: string;
|
|
251
321
|
}>;
|
|
252
322
|
nylasCustomBookingFlow: Partial<{
|
|
253
323
|
headerTitle: string;
|
|
@@ -285,12 +355,22 @@ export type Locale = Partial<{
|
|
|
285
355
|
}>;
|
|
286
356
|
nylasEventDescription: Partial<{
|
|
287
357
|
headerTitle: string;
|
|
358
|
+
addAdditionalFields: {
|
|
359
|
+
buttonText: string;
|
|
360
|
+
tooltip: {
|
|
361
|
+
desc: string;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
288
364
|
tooltip: {
|
|
289
365
|
desc: string;
|
|
290
366
|
};
|
|
291
367
|
}>;
|
|
292
368
|
nylasEventDuration: Partial<{
|
|
293
369
|
headerTitle: string;
|
|
370
|
+
error: {
|
|
371
|
+
durationMustBeMultipleOf5: string;
|
|
372
|
+
durationMustBeGreaterThan0: string;
|
|
373
|
+
};
|
|
294
374
|
}>;
|
|
295
375
|
nylasEventInfo: Partial<{
|
|
296
376
|
headerTitle: string;
|
|
@@ -303,14 +383,29 @@ export type Locale = Partial<{
|
|
|
303
383
|
tooltip: {
|
|
304
384
|
desc: string;
|
|
305
385
|
};
|
|
386
|
+
conferenceOptions: {
|
|
387
|
+
none: string;
|
|
388
|
+
zoom: string;
|
|
389
|
+
google: string;
|
|
390
|
+
microsoft: string;
|
|
391
|
+
custom: string;
|
|
392
|
+
};
|
|
306
393
|
}>;
|
|
307
394
|
nylasEventTitle: Partial<{
|
|
308
395
|
headerTitle: string;
|
|
309
396
|
helpText_start: string;
|
|
310
397
|
helpText_end: string;
|
|
398
|
+
title: string;
|
|
399
|
+
description: string;
|
|
311
400
|
tooltip: {
|
|
312
401
|
desc: string;
|
|
313
402
|
};
|
|
403
|
+
eventTitleRequired: string;
|
|
404
|
+
eventTitleTokenDescription: {
|
|
405
|
+
invitee: string;
|
|
406
|
+
inviteeEmail: string;
|
|
407
|
+
duration: string;
|
|
408
|
+
};
|
|
314
409
|
}>;
|
|
315
410
|
nylasLimitFutureBookings: Partial<{
|
|
316
411
|
headerTitle: string;
|
|
@@ -333,6 +428,7 @@ export type Locale = Partial<{
|
|
|
333
428
|
nylasPageName: Partial<{
|
|
334
429
|
headerTitle: string;
|
|
335
430
|
headerSubTitle: string;
|
|
431
|
+
pageNameError: string;
|
|
336
432
|
tooltip: {
|
|
337
433
|
desc: string;
|
|
338
434
|
};
|
|
@@ -344,6 +440,7 @@ export type Locale = Partial<{
|
|
|
344
440
|
headerTitle: string;
|
|
345
441
|
headerSubTitle: string;
|
|
346
442
|
participantBookingCalendarTitle: string;
|
|
443
|
+
selectAtLeastOneCalendar: string;
|
|
347
444
|
}>;
|
|
348
445
|
nylasParticipantCustomAvailability: Partial<{
|
|
349
446
|
headerTitle: string;
|
|
@@ -357,6 +454,7 @@ export type Locale = Partial<{
|
|
|
357
454
|
recipientOptions_all: string;
|
|
358
455
|
recipientOptions_guest: string;
|
|
359
456
|
recipientOptions_host: string;
|
|
457
|
+
beforeTheEvent: string;
|
|
360
458
|
emailRecipients: {
|
|
361
459
|
label: string;
|
|
362
460
|
};
|
|
@@ -396,6 +494,8 @@ export type Locale = Partial<{
|
|
|
396
494
|
}>;
|
|
397
495
|
nylasTimeslotInterval: Partial<{
|
|
398
496
|
headerTitle: string;
|
|
497
|
+
minutesShort: string;
|
|
498
|
+
lengthOfMeeting: string;
|
|
399
499
|
timeslotInterval: {
|
|
400
500
|
label: string;
|
|
401
501
|
};
|
|
@@ -416,6 +516,122 @@ export type Locale = Partial<{
|
|
|
416
516
|
};
|
|
417
517
|
};
|
|
418
518
|
}>;
|
|
519
|
+
nylasEventTimeslot: {
|
|
520
|
+
recurrenceOptions: {
|
|
521
|
+
none: string;
|
|
522
|
+
daily: string;
|
|
523
|
+
weekly: string;
|
|
524
|
+
monthly: string;
|
|
525
|
+
monthOnDay: string;
|
|
526
|
+
yearly: string;
|
|
527
|
+
custom: string;
|
|
528
|
+
};
|
|
529
|
+
recurrenceLabel: string;
|
|
530
|
+
endDate: string;
|
|
531
|
+
customRecurrence: {
|
|
532
|
+
repeatEvery: string;
|
|
533
|
+
repeatOn: string;
|
|
534
|
+
ends: string;
|
|
535
|
+
endsOptions: {
|
|
536
|
+
never: string;
|
|
537
|
+
after: string;
|
|
538
|
+
on: string;
|
|
539
|
+
};
|
|
540
|
+
occurrences: string;
|
|
541
|
+
};
|
|
542
|
+
dateTimeLabel: string;
|
|
543
|
+
errors: {
|
|
544
|
+
invalidTimeRange: string;
|
|
545
|
+
startTimeSameAsEndTime: string;
|
|
546
|
+
startTimeBeforeCurrentDate: string;
|
|
547
|
+
invalid: string;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
nylasEventCapacity: {
|
|
551
|
+
headerTitle: string;
|
|
552
|
+
headerSubTitle: string;
|
|
553
|
+
tooltip: {
|
|
554
|
+
desc: string;
|
|
555
|
+
};
|
|
556
|
+
attendees: string;
|
|
557
|
+
};
|
|
558
|
+
nylasSelectEventType: {
|
|
559
|
+
returnToAllSchedulingPages: string;
|
|
560
|
+
createEventHeaderTitle: string;
|
|
561
|
+
eventTypeHeaderTitle: string;
|
|
562
|
+
noEventTypesEnabled: string;
|
|
563
|
+
eventTypeOptions: {
|
|
564
|
+
oneOnOne: {
|
|
565
|
+
label: string;
|
|
566
|
+
desc: string;
|
|
567
|
+
};
|
|
568
|
+
collective: {
|
|
569
|
+
label: string;
|
|
570
|
+
desc: string;
|
|
571
|
+
};
|
|
572
|
+
maxFairness: {
|
|
573
|
+
label: string;
|
|
574
|
+
desc: string;
|
|
575
|
+
};
|
|
576
|
+
maxAvailability: {
|
|
577
|
+
label: string;
|
|
578
|
+
desc: string;
|
|
579
|
+
};
|
|
580
|
+
group: {
|
|
581
|
+
label: string;
|
|
582
|
+
desc: string;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
nylasEventCalendar: {
|
|
587
|
+
createEventDetails: {
|
|
588
|
+
headerTitle: string;
|
|
589
|
+
closeButtonTooltip: string;
|
|
590
|
+
cancelButton: string;
|
|
591
|
+
createButton: string;
|
|
592
|
+
};
|
|
593
|
+
discardChanges: {
|
|
594
|
+
headerTitle: string;
|
|
595
|
+
cancelButton: string;
|
|
596
|
+
discardButton: string;
|
|
597
|
+
};
|
|
598
|
+
unsavedChanges: string;
|
|
599
|
+
editEventDetails: {
|
|
600
|
+
headerTitle: string;
|
|
601
|
+
closeButtonTooltip: string;
|
|
602
|
+
deleteButton: string;
|
|
603
|
+
saveButton: string;
|
|
604
|
+
pastEventTooltip: string;
|
|
605
|
+
};
|
|
606
|
+
importEvent: {
|
|
607
|
+
closeButtonTooltip: string;
|
|
608
|
+
importButton: string;
|
|
609
|
+
participantsLabel: string;
|
|
610
|
+
};
|
|
611
|
+
deleteEvent: {
|
|
612
|
+
closeButtonTooltip: string;
|
|
613
|
+
deleting: string;
|
|
614
|
+
};
|
|
615
|
+
editOptions: {
|
|
616
|
+
headerTitle: string;
|
|
617
|
+
closeButtonTooltip: string;
|
|
618
|
+
deleting: string;
|
|
619
|
+
import: string;
|
|
620
|
+
edit: string;
|
|
621
|
+
deleteThis: string;
|
|
622
|
+
deleteAll: string;
|
|
623
|
+
};
|
|
624
|
+
updateOptions: {
|
|
625
|
+
updateThis: string;
|
|
626
|
+
updateAll: string;
|
|
627
|
+
updateFuture: string;
|
|
628
|
+
};
|
|
629
|
+
deleteOptions: {
|
|
630
|
+
deleteThis: string;
|
|
631
|
+
deleteFuture: string;
|
|
632
|
+
deleteAll: string;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
419
635
|
}>;
|
|
420
636
|
export declare enum LANGUAGE_CODE {
|
|
421
637
|
en = "en",
|
|
@@ -433,7 +649,6 @@ export declare const TIME_PERIODS: {
|
|
|
433
649
|
value: string;
|
|
434
650
|
}[];
|
|
435
651
|
export declare enum EXPERIMENTAL_FEATURES {
|
|
436
|
-
group_events = "group_events"
|
|
437
652
|
}
|
|
438
653
|
export declare enum CONFIGURATION_EVENT_TYPE {
|
|
439
654
|
one_on_one = "one-on-one",
|
package/dist/types/components/scheduler-editor/nylas-editor-tabs-group/nylas-editor-tabs-group.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ export declare class NylasEditorTabsGroup {
|
|
|
33
33
|
name: string;
|
|
34
34
|
email: string;
|
|
35
35
|
is_organizer?: boolean;
|
|
36
|
-
timezone: string;
|
|
37
36
|
}[];
|
|
38
37
|
additionalFields?: Record<string, AdditionalFields>;
|
|
39
38
|
bookingCalendar?: string;
|
|
@@ -162,7 +161,6 @@ export declare class NylasEditorTabsGroup {
|
|
|
162
161
|
name: string;
|
|
163
162
|
email: string;
|
|
164
163
|
is_organizer?: boolean | undefined;
|
|
165
|
-
timezone: string;
|
|
166
164
|
}[];
|
|
167
165
|
additionalFields?: Record<string, AdditionalFields> | undefined;
|
|
168
166
|
bookingCalendar?: string | undefined;
|
|
@@ -8,7 +8,6 @@ export type ExpressFlowProps = {
|
|
|
8
8
|
calendars: any[];
|
|
9
9
|
selectedConfiguration: RecursivePartial<Configuration>;
|
|
10
10
|
selectedEventType: CONFIGURATION_EVENT_TYPE;
|
|
11
|
-
experimentalFeatures?: Record<string, boolean>;
|
|
12
11
|
};
|
|
13
|
-
export default function ExpressFlow({ currentUser, calendars, selectedEventType
|
|
12
|
+
export default function ExpressFlow({ currentUser, calendars, selectedEventType }: ExpressFlowProps): any;
|
|
14
13
|
export {};
|
package/dist/types/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { NylasSchedulerConfigConnector } from "../../../connector/nylas-schedule
|
|
|
5
5
|
import { NylasSchedulerConfigStoreState, NylasSchedulerConfigStoreType } from "../../../stores/scheduler-config-store";
|
|
6
6
|
import { Config } from '@nylas/identity';
|
|
7
7
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
8
|
-
import { AdditionalParticipant } from '@nylas/core';
|
|
8
|
+
import { AdditionalParticipant, EnableEventTypes } from '@nylas/core';
|
|
9
9
|
import { Tab } from '../nylas-editor-tabs/tab-contents';
|
|
10
10
|
import { EXPERIMENTAL_FEATURES, LANGUAGE_CODE, Locale } from "../../../common/constants";
|
|
11
11
|
export declare class NylasSchedulerEditor {
|
|
@@ -30,6 +30,7 @@ export declare class NylasSchedulerEditor {
|
|
|
30
30
|
readonly localization?: Partial<Record<LANGUAGE_CODE, Locale>>;
|
|
31
31
|
readonly nylasBranding?: boolean;
|
|
32
32
|
readonly experimentalFeatures?: Record<EXPERIMENTAL_FEATURES, boolean>;
|
|
33
|
+
readonly enableEventTypes?: EnableEventTypes;
|
|
33
34
|
readonly init: EventEmitter<HTMLNylasSchedulerEditorElement>;
|
|
34
35
|
readonly loggedIn: EventEmitter<HTMLNylasSchedulerEditorElement>;
|
|
35
36
|
readonly loggedOut: EventEmitter<HTMLNylasSchedulerEditorElement>;
|
|
@@ -45,6 +46,7 @@ export declare class NylasSchedulerEditor {
|
|
|
45
46
|
updateLocalization(newVal?: Partial<Record<LANGUAGE_CODE, Locale>>): void;
|
|
46
47
|
updateNylasBranding(newVal: boolean): void;
|
|
47
48
|
updateExperimentalFeatures(newVal: Record<EXPERIMENTAL_FEATURES, boolean>): void;
|
|
49
|
+
updateEnableEventTypes(newVal: EnableEventTypes): void;
|
|
48
50
|
store(): Promise<NylasSchedulerConfigStoreType | undefined>;
|
|
49
51
|
schedulerConnector(): Promise<NylasSchedulerConfigConnector | undefined>;
|
|
50
52
|
registerComponentHandler(event: CustomEvent<RegisteredComponent<any, any>>): Promise<void>;
|
package/dist/types/components/scheduler-editor/nylas-select-event-type/nylas-select-event-type.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
import { CONFIGURATION_EVENT_TYPE, LANGUAGE_CODE } from "../../../common/constants";
|
|
3
|
-
import { AdditionalParticipant } from '@nylas/core';
|
|
3
|
+
import { AdditionalParticipant, EnableEventTypes } from '@nylas/core';
|
|
4
4
|
export declare class NylasSelectEventType {
|
|
5
5
|
host: HTMLNylasSelectEventTypeElement;
|
|
6
6
|
participantOptions?: AdditionalParticipant[];
|
|
7
7
|
name: string;
|
|
8
8
|
selectedLanguage?: LANGUAGE_CODE;
|
|
9
|
+
enableEventTypes?: EnableEventTypes;
|
|
9
10
|
returnToAllSchedulingPagesEvent: EventEmitter<void>;
|
|
10
11
|
createEventTypeSelected: EventEmitter<{
|
|
11
12
|
eventType: CONFIGURATION_EVENT_TYPE;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { AdditionalFields, AdditionalParticipant, Appearance, ButtonType, Calendar, Conference, Configuration, DropdownOption, EmailTemplate, EventDetails, EventReminder, GroupConfiguration, GroupEvent, GroupEventAPIData, ImportGroupEventDetails, Notification, NylasCalendar, NylasSchedulerErrorResponse, NylasSchedulerResponse, Participant, RecurrenceDeleteOption, RecurrenceUpdateOption, SchedulerGroupEventDetail, ThemeConfig, TimePeriod, Timeslot } from "@nylas/core";
|
|
8
|
+
import { AdditionalFields, AdditionalParticipant, Appearance, ButtonType, Calendar, Conference, Configuration, DropdownOption, EmailTemplate, EnableEventTypes, EventDetails, EventReminder, GroupConfiguration, GroupEvent, GroupEventAPIData, ImportGroupEventDetails, Notification, NylasCalendar, NylasSchedulerErrorResponse, NylasSchedulerResponse, Participant, RecurrenceDeleteOption, RecurrenceUpdateOption, SchedulerGroupEventDetail, ThemeConfig, TimePeriod, Timeslot } from "@nylas/core";
|
|
9
9
|
import { AuthArgs, NylasApiRequest, User } from "./common/nylas-api-request";
|
|
10
10
|
import { CONFIGURATION_EVENT_TYPE, EXPERIMENTAL_FEATURES, LANGUAGE_CODE, Locale } from "./common/constants";
|
|
11
11
|
import { OpenHours } from "./components/scheduler-editor/nylas-availability-picker/nylas-availability-picker";
|
|
@@ -21,7 +21,7 @@ import { SchedulerEditorEventOverride, SchedulerEventOverride } from "./common/c
|
|
|
21
21
|
import { NylasSchedulerConfigStoreState, NylasSchedulerConfigStoreType } from "./stores/scheduler-config-store";
|
|
22
22
|
import { NylasSchedulerConfigConnector } from "./connector/nylas-scheduler-config-connector/index";
|
|
23
23
|
import { NylasSchedulerConnector } from "./connector/nylas-scheduler-connector/index";
|
|
24
|
-
export { AdditionalFields, AdditionalParticipant, Appearance, ButtonType, Calendar, Conference, Configuration, DropdownOption, EmailTemplate, EventDetails, EventReminder, GroupConfiguration, GroupEvent, GroupEventAPIData, ImportGroupEventDetails, Notification, NylasCalendar, NylasSchedulerErrorResponse, NylasSchedulerResponse, Participant, RecurrenceDeleteOption, RecurrenceUpdateOption, SchedulerGroupEventDetail, ThemeConfig, TimePeriod, Timeslot } from "@nylas/core";
|
|
24
|
+
export { AdditionalFields, AdditionalParticipant, Appearance, ButtonType, Calendar, Conference, Configuration, DropdownOption, EmailTemplate, EnableEventTypes, EventDetails, EventReminder, GroupConfiguration, GroupEvent, GroupEventAPIData, ImportGroupEventDetails, Notification, NylasCalendar, NylasSchedulerErrorResponse, NylasSchedulerResponse, Participant, RecurrenceDeleteOption, RecurrenceUpdateOption, SchedulerGroupEventDetail, ThemeConfig, TimePeriod, Timeslot } from "@nylas/core";
|
|
25
25
|
export { AuthArgs, NylasApiRequest, User } from "./common/nylas-api-request";
|
|
26
26
|
export { CONFIGURATION_EVENT_TYPE, EXPERIMENTAL_FEATURES, LANGUAGE_CODE, Locale } from "./common/constants";
|
|
27
27
|
export { OpenHours } from "./components/scheduler-editor/nylas-availability-picker/nylas-availability-picker";
|
|
@@ -1705,6 +1705,10 @@ export namespace Components {
|
|
|
1705
1705
|
* The default scheduler config store state. Used to set the initial state of the scheduler config store. This state can be used to pass defaults to newly created configurations.
|
|
1706
1706
|
*/
|
|
1707
1707
|
"defaultSchedulerConfigState"?: Partial<NylasSchedulerConfigStoreState>;
|
|
1708
|
+
/**
|
|
1709
|
+
* Controls which event types are enabled in the Scheduler. - By default, all event types are enabled and users will see a selection screen when creating a new event. - You can disable specific event types by setting them to `false`. - At least one event type must remain enabled at all times. - If only one event type is enabled, the event type selection screen will be skipped.
|
|
1710
|
+
*/
|
|
1711
|
+
"enableEventTypes"?: EnableEventTypes;
|
|
1708
1712
|
/**
|
|
1709
1713
|
* Indicates if the user feedback feature is enabled. By default, this is set to true. When enabled, the user feedback feature will be available in the edit mode. To disable the user feedback feature, set this prop to false.
|
|
1710
1714
|
*/
|
|
@@ -1876,6 +1880,10 @@ export namespace Components {
|
|
|
1876
1880
|
* The `nylas-select-event-type` component is a UI component that allows users to select the event type for the scheduler configuration.
|
|
1877
1881
|
*/
|
|
1878
1882
|
interface NylasSelectEventType {
|
|
1883
|
+
/**
|
|
1884
|
+
* The enable event types.
|
|
1885
|
+
*/
|
|
1886
|
+
"enableEventTypes"?: EnableEventTypes;
|
|
1879
1887
|
/**
|
|
1880
1888
|
* @standalone The name of the component
|
|
1881
1889
|
*/
|
|
@@ -6866,6 +6874,10 @@ declare namespace LocalJSX {
|
|
|
6866
6874
|
* The default scheduler config store state. Used to set the initial state of the scheduler config store. This state can be used to pass defaults to newly created configurations.
|
|
6867
6875
|
*/
|
|
6868
6876
|
"defaultSchedulerConfigState"?: Partial<NylasSchedulerConfigStoreState>;
|
|
6877
|
+
/**
|
|
6878
|
+
* Controls which event types are enabled in the Scheduler. - By default, all event types are enabled and users will see a selection screen when creating a new event. - You can disable specific event types by setting them to `false`. - At least one event type must remain enabled at all times. - If only one event type is enabled, the event type selection screen will be skipped.
|
|
6879
|
+
*/
|
|
6880
|
+
"enableEventTypes"?: EnableEventTypes;
|
|
6869
6881
|
/**
|
|
6870
6882
|
* Indicates if the user feedback feature is enabled. By default, this is set to true. When enabled, the user feedback feature will be available in the edit mode. To disable the user feedback feature, set this prop to false.
|
|
6871
6883
|
*/
|
|
@@ -7063,6 +7075,10 @@ declare namespace LocalJSX {
|
|
|
7063
7075
|
* The `nylas-select-event-type` component is a UI component that allows users to select the event type for the scheduler configuration.
|
|
7064
7076
|
*/
|
|
7065
7077
|
interface NylasSelectEventType {
|
|
7078
|
+
/**
|
|
7079
|
+
* The enable event types.
|
|
7080
|
+
*/
|
|
7081
|
+
"enableEventTypes"?: EnableEventTypes;
|
|
7066
7082
|
/**
|
|
7067
7083
|
* @standalone The name of the component
|
|
7068
7084
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdditionalParticipant, Calendar, Configuration, EventDetails, GroupConfiguration, GroupEventAPIData } from '@nylas/core';
|
|
1
|
+
import { AdditionalParticipant, Calendar, Configuration, EventDetails, GroupConfiguration, GroupEventAPIData, EnableEventTypes } from '@nylas/core';
|
|
2
2
|
import { ObservableMap } from '@stencil/store';
|
|
3
3
|
import { User } from '../common/nylas-api-request';
|
|
4
4
|
import { CONFIGURATION_EVENT_TYPE, EXPERIMENTAL_FEATURES } from "../common/constants";
|
|
@@ -18,6 +18,7 @@ export interface NylasSchedulerConfigStoreState {
|
|
|
18
18
|
selectedLanguage?: string;
|
|
19
19
|
nylasBranding?: boolean;
|
|
20
20
|
experimentalFeatures?: Record<EXPERIMENTAL_FEATURES, boolean>;
|
|
21
|
+
enableEventTypes?: EnableEventTypes;
|
|
21
22
|
selectedEventType?: CONFIGURATION_EVENT_TYPE;
|
|
22
23
|
groupEvents: GroupEventAPIData[];
|
|
23
24
|
selectedGroupEvent?: GroupEventAPIData;
|