@nylas/web-elements 2.0.6 → 2.1.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 +212 -212
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1044 -1044
- package/dist/cjs/{abstract-provider-b37458c4.js → abstract-provider-85a616a9.js} +2 -2
- package/dist/cjs/{abstract-provider-b37458c4.js.map → abstract-provider-85a616a9.js.map} +1 -1
- package/dist/cjs/calendar-agenda-fill-icon_37.cjs.entry.js +55 -55
- package/dist/cjs/calendar-agenda-fill-icon_37.cjs.entry.js.map +1 -1
- package/dist/cjs/checkbox-group_4.cjs.entry.js +3 -3
- package/dist/cjs/checkmark-icon_15.cjs.entry.js +2 -2
- package/dist/cjs/{customParseFormat-61a3a302.js → customParseFormat-dc3b45aa.js} +2 -2
- package/dist/cjs/{customParseFormat-61a3a302.js.map → customParseFormat-dc3b45aa.js.map} +1 -1
- package/dist/cjs/{feedbackSync-2c4d37fe.js → feedbackSync-eaa01d21.js} +2 -2
- package/dist/cjs/feedbackSync-eaa01d21.js.map +1 -0
- package/dist/cjs/google-logo-icon_6.cjs.entry.js +18 -18
- 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-e4fc6d92.js → index.es-a962dedb.js} +2 -2
- package/dist/cjs/{index.es-e4fc6d92.js.map → index.es-a962dedb.js.map} +1 -1
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/{nylas-api-request-5b2f7ec0.js → nylas-api-request-d263af93.js} +2 -2
- package/dist/cjs/{nylas-api-request-5b2f7ec0.js.map → nylas-api-request-d263af93.js.map} +1 -1
- package/dist/cjs/nylas-booked-event-card_11.cjs.entry.js +2 -2
- package/dist/cjs/nylas-date-component_2.cjs.entry.js +2 -2
- package/dist/cjs/nylas-form-card.cjs.entry.js +2 -2
- package/dist/cjs/nylas-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +6 -6
- package/dist/cjs/nylas-scheduling.cjs.entry.js +8 -8
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/{register-component-8a9c40ee.js → register-component-2eefbf66.js} +2 -2
- package/dist/cjs/{register-component-8a9c40ee.js.map → register-component-2eefbf66.js.map} +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/{utils-c923f1a8.js → utils-e37da320.js} +113 -113
- package/dist/cjs/{utils-c923f1a8.js.map → utils-e37da320.js.map} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +10 -10
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +18 -18
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
- package/dist/collection/components/scheduler-editor/{nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.css → nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.css} +46 -46
- package/dist/collection/components/scheduler-editor/{nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.js → nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.js} +41 -41
- package/dist/collection/components/scheduler-editor/nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.js.map +1 -0
- package/dist/collection/components/scheduler-editor/{nylas-specific-date-availability-picker/test/nylas-specific-date-availability-picker.spec.js → nylas-specific-time-availability-picker/test/nylas-specific-time-availability-picker.spec.js} +48 -48
- package/dist/collection/components/scheduler-editor/nylas-specific-time-availability-picker/test/nylas-specific-time-availability-picker.spec.js.map +1 -0
- package/dist/collection/types/index.js.map +1 -1
- package/dist/components/index3.js.map +1 -1
- package/dist/components/nylas-editor-tabs-group2.js +2 -2
- package/dist/components/nylas-editor-tabs2.js +15 -15
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-participants-custom-availability2.js +21 -21
- package/dist/components/nylas-participants-custom-availability2.js.map +1 -1
- package/dist/components/nylas-scheduler-editor.js +5 -5
- package/dist/components/nylas-scheduling.js +4 -4
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-specific-time-availability-picker.d.ts +11 -0
- package/dist/components/nylas-specific-time-availability-picker.js +8 -0
- package/dist/components/nylas-specific-time-availability-picker.js.map +1 -0
- package/dist/components/{nylas-specific-date-availability-picker2.js → nylas-specific-time-availability-picker2.js} +41 -41
- package/dist/components/nylas-specific-time-availability-picker2.js.map +1 -0
- package/dist/components/utils.js +112 -112
- package/dist/esm/{abstract-provider-45ada3b4.js → abstract-provider-a502b54d.js} +2 -2
- package/dist/esm/{abstract-provider-45ada3b4.js.map → abstract-provider-a502b54d.js.map} +1 -1
- package/dist/esm/calendar-agenda-fill-icon_37.entry.js +55 -55
- package/dist/esm/calendar-agenda-fill-icon_37.entry.js.map +1 -1
- package/dist/esm/checkbox-group_4.entry.js +3 -3
- package/dist/esm/checkmark-icon_15.entry.js +2 -2
- package/dist/esm/{customParseFormat-eeec04f5.js → customParseFormat-b5d95b34.js} +2 -2
- package/dist/esm/{customParseFormat-eeec04f5.js.map → customParseFormat-b5d95b34.js.map} +1 -1
- package/dist/esm/{feedbackSync-0ebd0eda.js → feedbackSync-92220b42.js} +2 -2
- package/dist/esm/feedbackSync-92220b42.js.map +1 -0
- package/dist/esm/google-logo-icon_6.entry.js +18 -18
- package/dist/esm/google-logo-icon_6.entry.js.map +1 -1
- package/dist/esm/{index.es-57d4a08f.js → index.es-488bc919.js} +2 -2
- package/dist/esm/{index.es-57d4a08f.js.map → index.es-488bc919.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 +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +1 -1
- package/dist/esm/{nylas-api-request-ad1909c6.js → nylas-api-request-9f7ac6c5.js} +2 -2
- package/dist/esm/{nylas-api-request-ad1909c6.js.map → nylas-api-request-9f7ac6c5.js.map} +1 -1
- package/dist/esm/nylas-booked-event-card_11.entry.js +2 -2
- package/dist/esm/nylas-date-component_2.entry.js +2 -2
- package/dist/esm/nylas-form-card.entry.js +2 -2
- package/dist/esm/nylas-notification_2.entry.js +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +6 -6
- package/dist/esm/nylas-scheduling.entry.js +8 -8
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/{register-component-0aad9e3d.js → register-component-3acd57e7.js} +2 -2
- package/dist/esm/{register-component-0aad9e3d.js.map → register-component-3acd57e7.js.map} +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/{utils-d3c0b941.js → utils-31933f5d.js} +113 -113
- package/dist/esm/{utils-d3c0b941.js.map → utils-31933f5d.js.map} +1 -1
- 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-3216af1e.entry.js → p-20f50696.entry.js} +2 -2
- package/dist/nylas-web-elements/p-341f1a4c.entry.js +2 -0
- package/dist/nylas-web-elements/p-341f1a4c.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-1591deba.js → p-34c9fc7d.js} +2 -2
- package/dist/nylas-web-elements/{p-38fa873f.js → p-3524dab1.js} +2 -2
- package/dist/nylas-web-elements/p-3524dab1.js.map +1 -0
- package/dist/nylas-web-elements/{p-d45012f2.js → p-438d4542.js} +2 -2
- package/dist/nylas-web-elements/{p-21ab4e47.entry.js → p-536c5ef3.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-a4678661.entry.js → p-5a6c2efd.entry.js} +2 -2
- package/dist/nylas-web-elements/p-66a89e65.js +14 -0
- package/dist/nylas-web-elements/{p-17c5fb16.js.map → p-66a89e65.js.map} +1 -1
- package/dist/nylas-web-elements/{p-88e68e14.entry.js → p-6adb19cf.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8937a53f.entry.js → p-6bda61cf.entry.js} +3 -3
- package/dist/nylas-web-elements/p-6bda61cf.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-30d92734.entry.js → p-7c02e476.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8072aa07.js → p-803a1695.js} +2 -2
- package/dist/nylas-web-elements/{p-186bbd43.entry.js → p-81925b89.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-186bbd43.entry.js.map → p-81925b89.entry.js.map} +1 -1
- package/dist/nylas-web-elements/{p-855fe5b3.entry.js → p-83d2ff21.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f83aa456.entry.js → p-8673dcf1.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-24c390bd.js → p-86e217f4.js} +2 -2
- package/dist/nylas-web-elements/{p-d0f51520.entry.js → p-8d5efa5e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0271cef3.entry.js → p-d7323440.entry.js} +3 -3
- package/dist/nylas-web-elements/{p-59ff0231.entry.js → p-da25d877.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f0e1688e.js → p-e42db60f.js} +2 -2
- package/dist/nylas-web-elements/{p-c11e1016.entry.js → p-ff122d1e.entry.js} +2 -2
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +5 -5
- package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +3 -3
- package/dist/types/components/scheduler-editor/{nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.d.ts → nylas-specific-time-availability-picker/nylas-specific-time-availability-picker.d.ts} +7 -7
- package/dist/types/components.d.ts +19 -19
- package/dist/types/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/cjs/feedbackSync-2c4d37fe.js.map +0 -1
- package/dist/collection/components/scheduler-editor/nylas-specific-date-availability-picker/nylas-specific-date-availability-picker.js.map +0 -1
- package/dist/collection/components/scheduler-editor/nylas-specific-date-availability-picker/test/nylas-specific-date-availability-picker.spec.js.map +0 -1
- package/dist/components/nylas-specific-date-availability-picker.d.ts +0 -11
- package/dist/components/nylas-specific-date-availability-picker.js +0 -8
- package/dist/components/nylas-specific-date-availability-picker.js.map +0 -1
- package/dist/components/nylas-specific-date-availability-picker2.js.map +0 -1
- package/dist/esm/feedbackSync-0ebd0eda.js.map +0 -1
- package/dist/nylas-web-elements/p-17c5fb16.js +0 -14
- package/dist/nylas-web-elements/p-38fa873f.js.map +0 -1
- package/dist/nylas-web-elements/p-3ddcb355.entry.js +0 -2
- package/dist/nylas-web-elements/p-3ddcb355.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-8937a53f.entry.js.map +0 -1
- /package/dist/nylas-web-elements/{p-3216af1e.entry.js.map → p-20f50696.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-1591deba.js.map → p-34c9fc7d.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d45012f2.js.map → p-438d4542.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-21ab4e47.entry.js.map → p-536c5ef3.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-a4678661.entry.js.map → p-5a6c2efd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-88e68e14.entry.js.map → p-6adb19cf.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-30d92734.entry.js.map → p-7c02e476.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8072aa07.js.map → p-803a1695.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-855fe5b3.entry.js.map → p-83d2ff21.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f83aa456.entry.js.map → p-8673dcf1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-24c390bd.js.map → p-86e217f4.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d0f51520.entry.js.map → p-8d5efa5e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0271cef3.entry.js.map → p-d7323440.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-59ff0231.entry.js.map → p-da25d877.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f0e1688e.js.map → p-e42db60f.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c11e1016.entry.js.map → p-ff122d1e.entry.js.map} +0 -0
|
@@ -1579,8 +1579,8 @@ var dayjs_min = { exports: {} };
|
|
|
1579
1579
|
return this.$d.getTime();
|
|
1580
1580
|
}, ki.startOf = function(fi, _i) {
|
|
1581
1581
|
var bi = this, Si = !!wi.u(_i) || _i, xi = wi.p(fi), Di = function(Hi, Ii) {
|
|
1582
|
-
var
|
|
1583
|
-
return Si ?
|
|
1582
|
+
var ji = wi.w(bi.$u ? Date.UTC(bi.$y, Ii, Hi) : new Date(bi.$y, Ii, Hi), bi);
|
|
1583
|
+
return Si ? ji : ji.endOf(ni);
|
|
1584
1584
|
}, Ai = function(Hi, Ii) {
|
|
1585
1585
|
return wi.w(bi.toDate()[Hi].apply(bi.toDate("s"), (Si ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ii)), bi);
|
|
1586
1586
|
}, Ri = this.$W, Mi = this.$M, Pi = this.$D, Oi = "set" + (this.$u ? "UTC" : "");
|
|
@@ -1635,16 +1635,16 @@ var dayjs_min = { exports: {} };
|
|
|
1635
1635
|
}, ki.format = function(fi) {
|
|
1636
1636
|
var _i = this, bi = this.$locale();
|
|
1637
1637
|
if (!this.isValid()) return bi.invalidDate || li;
|
|
1638
|
-
var Si = fi || "YYYY-MM-DDTHH:mm:ssZ", xi = wi.z(this), Di = this.$H, Ai = this.$m, Ri = this.$M, Mi = bi.weekdays, Pi = bi.months, Oi = function(Ii,
|
|
1639
|
-
return Ii && (Ii[
|
|
1638
|
+
var Si = fi || "YYYY-MM-DDTHH:mm:ssZ", xi = wi.z(this), Di = this.$H, Ai = this.$m, Ri = this.$M, Mi = bi.weekdays, Pi = bi.months, Oi = function(Ii, ji, qi, Bi) {
|
|
1639
|
+
return Ii && (Ii[ji] || Ii(_i, Si)) || qi[ji].slice(0, Bi);
|
|
1640
1640
|
}, Li = function(Ii) {
|
|
1641
1641
|
return wi.s(Di % 12 || 12, Ii, "0");
|
|
1642
|
-
}, Ni = bi.meridiem || function(Ii,
|
|
1642
|
+
}, Ni = bi.meridiem || function(Ii, ji, qi) {
|
|
1643
1643
|
var Bi = Ii < 12 ? "AM" : "PM";
|
|
1644
1644
|
return qi ? Bi.toLowerCase() : Bi;
|
|
1645
1645
|
}, Hi = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Ri + 1, MM: wi.s(Ri + 1, 2, "0"), MMM: Oi(bi.monthsShort, Ri, Pi, 3), MMMM: Oi(Pi, Ri), D: this.$D, DD: wi.s(this.$D, 2, "0"), d: String(this.$W), dd: Oi(bi.weekdaysMin, this.$W, Mi, 2), ddd: Oi(bi.weekdaysShort, this.$W, Mi, 3), dddd: Mi[this.$W], H: String(Di), HH: wi.s(Di, 2, "0"), h: Li(1), hh: Li(2), a: Ni(Di, Ai, !0), A: Ni(Di, Ai, !1), m: String(Ai), mm: wi.s(Ai, 2, "0"), s: String(this.$s), ss: wi.s(this.$s, 2, "0"), SSS: wi.s(this.$ms, 3, "0"), Z: xi };
|
|
1646
|
-
return Si.replace(di, function(Ii,
|
|
1647
|
-
return
|
|
1646
|
+
return Si.replace(di, function(Ii, ji) {
|
|
1647
|
+
return ji || Hi[Ii] || xi.replace(":", "");
|
|
1648
1648
|
});
|
|
1649
1649
|
}, ki.utcOffset = function() {
|
|
1650
1650
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -5042,16 +5042,16 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
5042
5042
|
errors: {
|
|
5043
5043
|
overlappingTimeRanges: "Overlapping time ranges"
|
|
5044
5044
|
}
|
|
5045
|
-
},
|
|
5046
|
-
headerTitle: "Override specific
|
|
5047
|
-
headerDescription: "Override regular hours for specific
|
|
5048
|
-
|
|
5045
|
+
}, nylasSpecificTimeAvailabilityPicker$8 = {
|
|
5046
|
+
headerTitle: "Override specific times",
|
|
5047
|
+
headerDescription: "Override regular hours for specific times. These will take precedence over regular open hours.",
|
|
5048
|
+
addSpecificTimeAvailability: "Add specific time",
|
|
5049
5049
|
entireDayUnavailable: "Entire day unavailable",
|
|
5050
5050
|
markAsUnavailable: "Mark as unavailable",
|
|
5051
5051
|
markAsAvailable: "Mark as available",
|
|
5052
5052
|
emptyState: {
|
|
5053
|
-
title: "No specific
|
|
5054
|
-
subtitle: "Add
|
|
5053
|
+
title: "No specific times configured",
|
|
5054
|
+
subtitle: "Add times to override regular availability"
|
|
5055
5055
|
},
|
|
5056
5056
|
errors: {
|
|
5057
5057
|
dateRequired: "Date is required",
|
|
@@ -5304,7 +5304,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
5304
5304
|
headerSubTitle: "If not set, the default open hours will be used to calculate availability for this participant.",
|
|
5305
5305
|
participantOpenHoursTitle: "{{participantName}}'s open hours",
|
|
5306
5306
|
participantAvailabilityTab: "Availability",
|
|
5307
|
-
|
|
5307
|
+
participantSpecificTimeAvailabilityTab: "Specific time availability"
|
|
5308
5308
|
}, nylasReminderEmails$8 = {
|
|
5309
5309
|
headerTitle: "Upcoming meeting",
|
|
5310
5310
|
headerTitle_withOrganizer: "Upcoming meeting with {{organizerName}}",
|
|
@@ -5619,7 +5619,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
5619
5619
|
nylasListConfigurations: nylasListConfigurations$8,
|
|
5620
5620
|
nylasAdditionalParticipants: nylasAdditionalParticipants$8,
|
|
5621
5621
|
nylasAvailabilityPicker: nylasAvailabilityPicker$8,
|
|
5622
|
-
|
|
5622
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$8,
|
|
5623
5623
|
nylasTimeWindowPicker: nylasTimeWindowPicker$7,
|
|
5624
5624
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$8,
|
|
5625
5625
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$8,
|
|
@@ -5778,7 +5778,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
5778
5778
|
nylasListConfigurations: nylasListConfigurations$8,
|
|
5779
5779
|
nylasAdditionalParticipants: nylasAdditionalParticipants$8,
|
|
5780
5780
|
nylasAvailabilityPicker: nylasAvailabilityPicker$8,
|
|
5781
|
-
|
|
5781
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$8,
|
|
5782
5782
|
nylasTimeWindowPicker: nylasTimeWindowPicker$7,
|
|
5783
5783
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$8,
|
|
5784
5784
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$8,
|
|
@@ -5908,22 +5908,22 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
5908
5908
|
errors: {
|
|
5909
5909
|
overlappingTimeRanges: "Créneaux horaires qui se chevauchent"
|
|
5910
5910
|
}
|
|
5911
|
-
},
|
|
5912
|
-
headerTitle: "
|
|
5913
|
-
headerDescription: "
|
|
5914
|
-
|
|
5915
|
-
entireDayUnavailable: "
|
|
5911
|
+
}, nylasSpecificTimeAvailabilityPicker$7 = {
|
|
5912
|
+
headerTitle: "Remplacer des créneaux spécifiques",
|
|
5913
|
+
headerDescription: "Remplace les horaires habituels par des créneaux spécifiques. Ces réglages priment sur les horaires habituels.",
|
|
5914
|
+
addSpecificTimeAvailability: "Ajouter un créneau spécifique",
|
|
5915
|
+
entireDayUnavailable: "Journée entière indisponible",
|
|
5916
5916
|
markAsUnavailable: "Marquer comme indisponible",
|
|
5917
5917
|
markAsAvailable: "Marquer comme disponible",
|
|
5918
5918
|
emptyState: {
|
|
5919
|
-
title: "
|
|
5920
|
-
subtitle: "Ajoutez des
|
|
5919
|
+
title: "Aucun créneau spécifique configuré",
|
|
5920
|
+
subtitle: "Ajoutez des créneaux pour remplacer la disponibilité par défaut"
|
|
5921
5921
|
},
|
|
5922
5922
|
errors: {
|
|
5923
|
-
dateRequired: "La date est
|
|
5924
|
-
invalidDateFormat: "Format de date
|
|
5925
|
-
timesRequired: "
|
|
5926
|
-
startTimeBeforeEndTime: "L
|
|
5923
|
+
dateRequired: "La date est obligatoire",
|
|
5924
|
+
invalidDateFormat: "Format de date non valide",
|
|
5925
|
+
timesRequired: "Les heures de début et de fin sont obligatoires",
|
|
5926
|
+
startTimeBeforeEndTime: "L’heure de début doit être antérieure à l’heure de fin"
|
|
5927
5927
|
}
|
|
5928
5928
|
}, nylasTimeWindowPicker$6 = {
|
|
5929
5929
|
errors: {
|
|
@@ -6170,7 +6170,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
6170
6170
|
headerSubTitle: "Si ce n'est pas défini, les horaires d'ouverture par défaut seront utilisés pour calculer la disponibilité de ce participant.",
|
|
6171
6171
|
participantOpenHoursTitle: "Horaires d'ouverture de {{participantName}}",
|
|
6172
6172
|
participantAvailabilityTab: "Disponibilité",
|
|
6173
|
-
|
|
6173
|
+
participantSpecificTimeAvailabilityTab: "Disponibilité à des heures spécifiques"
|
|
6174
6174
|
}, nylasReminderEmails$7 = {
|
|
6175
6175
|
headerTitle: "Prochaine réunion",
|
|
6176
6176
|
headerTitle_withOrganizer: "Prochaine réunion avec {{organizerName}}",
|
|
@@ -6485,7 +6485,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
6485
6485
|
nylasListConfigurations: nylasListConfigurations$7,
|
|
6486
6486
|
nylasAdditionalParticipants: nylasAdditionalParticipants$7,
|
|
6487
6487
|
nylasAvailabilityPicker: nylasAvailabilityPicker$7,
|
|
6488
|
-
|
|
6488
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$7,
|
|
6489
6489
|
nylasTimeWindowPicker: nylasTimeWindowPicker$6,
|
|
6490
6490
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$7,
|
|
6491
6491
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$7,
|
|
@@ -6644,7 +6644,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
6644
6644
|
nylasListConfigurations: nylasListConfigurations$7,
|
|
6645
6645
|
nylasAdditionalParticipants: nylasAdditionalParticipants$7,
|
|
6646
6646
|
nylasAvailabilityPicker: nylasAvailabilityPicker$7,
|
|
6647
|
-
|
|
6647
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$7,
|
|
6648
6648
|
nylasTimeWindowPicker: nylasTimeWindowPicker$6,
|
|
6649
6649
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$7,
|
|
6650
6650
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$7,
|
|
@@ -6774,16 +6774,16 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
6774
6774
|
errors: {
|
|
6775
6775
|
overlappingTimeRanges: "Rangos de tiempo superpuestos"
|
|
6776
6776
|
}
|
|
6777
|
-
},
|
|
6778
|
-
headerTitle: "
|
|
6779
|
-
headerDescription: "
|
|
6780
|
-
|
|
6781
|
-
entireDayUnavailable: "
|
|
6777
|
+
}, nylasSpecificTimeAvailabilityPicker$6 = {
|
|
6778
|
+
headerTitle: "Anular horas específicas",
|
|
6779
|
+
headerDescription: "Anula el horario habitual para horas específicas. Estas tendrán prioridad sobre el horario habitual.",
|
|
6780
|
+
addSpecificTimeAvailability: "Añadir hora específica",
|
|
6781
|
+
entireDayUnavailable: "Día completo no disponible",
|
|
6782
6782
|
markAsUnavailable: "Marcar como no disponible",
|
|
6783
6783
|
markAsAvailable: "Marcar como disponible",
|
|
6784
6784
|
emptyState: {
|
|
6785
|
-
title: "No
|
|
6786
|
-
subtitle: "
|
|
6785
|
+
title: "No hay horas específicas configuradas",
|
|
6786
|
+
subtitle: "Añade horas para anular la disponibilidad habitual"
|
|
6787
6787
|
},
|
|
6788
6788
|
errors: {
|
|
6789
6789
|
dateRequired: "La fecha es obligatoria",
|
|
@@ -7036,7 +7036,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
7036
7036
|
headerSubTitle: "Si no se establece, se utilizarán las horas de apertura predeterminadas para calcular la disponibilidad de este participante.",
|
|
7037
7037
|
participantOpenHoursTitle: "Horario de apertura de {{participantName}}",
|
|
7038
7038
|
participantAvailabilityTab: "Disponibilidad",
|
|
7039
|
-
|
|
7039
|
+
participantSpecificTimeAvailabilityTab: "Disponibilidad en horarios específicos"
|
|
7040
7040
|
}, nylasReminderEmails$6 = {
|
|
7041
7041
|
headerTitle: "Próxima reunión",
|
|
7042
7042
|
headerTitle_withOrganizer: "Próxima reunión con {{organizerName}}",
|
|
@@ -7351,7 +7351,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
7351
7351
|
nylasListConfigurations: nylasListConfigurations$6,
|
|
7352
7352
|
nylasAdditionalParticipants: nylasAdditionalParticipants$6,
|
|
7353
7353
|
nylasAvailabilityPicker: nylasAvailabilityPicker$6,
|
|
7354
|
-
|
|
7354
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$6,
|
|
7355
7355
|
nylasTimeWindowPicker: nylasTimeWindowPicker$5,
|
|
7356
7356
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$6,
|
|
7357
7357
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$6,
|
|
@@ -7510,7 +7510,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
7510
7510
|
nylasListConfigurations: nylasListConfigurations$6,
|
|
7511
7511
|
nylasAdditionalParticipants: nylasAdditionalParticipants$6,
|
|
7512
7512
|
nylasAvailabilityPicker: nylasAvailabilityPicker$6,
|
|
7513
|
-
|
|
7513
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$6,
|
|
7514
7514
|
nylasTimeWindowPicker: nylasTimeWindowPicker$5,
|
|
7515
7515
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$6,
|
|
7516
7516
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$6,
|
|
@@ -7640,22 +7640,22 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
7640
7640
|
errors: {
|
|
7641
7641
|
overlappingTimeRanges: "重複する時間帯"
|
|
7642
7642
|
}
|
|
7643
|
-
},
|
|
7644
|
-
headerTitle: "
|
|
7645
|
-
headerDescription: "
|
|
7646
|
-
|
|
7647
|
-
entireDayUnavailable: "
|
|
7648
|
-
markAsUnavailable: "
|
|
7649
|
-
markAsAvailable: "
|
|
7643
|
+
}, nylasSpecificTimeAvailabilityPicker$5 = {
|
|
7644
|
+
headerTitle: "特定の時間を上書き",
|
|
7645
|
+
headerDescription: "特定の時間に対して通常の利用可能時間を上書きします。これらは通常の利用可能時間より優先されます。",
|
|
7646
|
+
addSpecificTimeAvailability: "特定の時間を追加",
|
|
7647
|
+
entireDayUnavailable: "終日利用不可",
|
|
7648
|
+
markAsUnavailable: "利用不可にする",
|
|
7649
|
+
markAsAvailable: "利用可能にする",
|
|
7650
7650
|
emptyState: {
|
|
7651
|
-
title: "
|
|
7652
|
-
subtitle: "
|
|
7651
|
+
title: "特定の時間は設定されていません",
|
|
7652
|
+
subtitle: "通常の空き状況を上書きする時間を追加してください"
|
|
7653
7653
|
},
|
|
7654
7654
|
errors: {
|
|
7655
|
-
dateRequired: "
|
|
7656
|
-
invalidDateFormat: "
|
|
7657
|
-
timesRequired: "
|
|
7658
|
-
startTimeBeforeEndTime: "
|
|
7655
|
+
dateRequired: "日付は必須です",
|
|
7656
|
+
invalidDateFormat: "無効な日付形式です",
|
|
7657
|
+
timesRequired: "開始時刻と終了時刻は必須です",
|
|
7658
|
+
startTimeBeforeEndTime: "開始時刻は終了時刻より前である必要があります"
|
|
7659
7659
|
}
|
|
7660
7660
|
}, nylasTimeWindowPicker$4 = {
|
|
7661
7661
|
errors: {
|
|
@@ -7902,7 +7902,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
7902
7902
|
headerSubTitle: "設定されていない場合、標準の営業時間が参加者の利用可能時間を計算するために使用されます。",
|
|
7903
7903
|
participantOpenHoursTitle: "{{participantName}} の営業時間",
|
|
7904
7904
|
participantAvailabilityTab: "利用可能時間",
|
|
7905
|
-
|
|
7905
|
+
participantSpecificTimeAvailabilityTab: "特定の時間の空き状況"
|
|
7906
7906
|
}, nylasReminderEmails$5 = {
|
|
7907
7907
|
headerTitle: "今後の会議",
|
|
7908
7908
|
headerTitle_withOrganizer: "{{organizerName}} との今後の会議",
|
|
@@ -8217,7 +8217,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
8217
8217
|
nylasListConfigurations: nylasListConfigurations$5,
|
|
8218
8218
|
nylasAdditionalParticipants: nylasAdditionalParticipants$5,
|
|
8219
8219
|
nylasAvailabilityPicker: nylasAvailabilityPicker$5,
|
|
8220
|
-
|
|
8220
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$5,
|
|
8221
8221
|
nylasTimeWindowPicker: nylasTimeWindowPicker$4,
|
|
8222
8222
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$5,
|
|
8223
8223
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$5,
|
|
@@ -8376,7 +8376,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
8376
8376
|
nylasListConfigurations: nylasListConfigurations$5,
|
|
8377
8377
|
nylasAdditionalParticipants: nylasAdditionalParticipants$5,
|
|
8378
8378
|
nylasAvailabilityPicker: nylasAvailabilityPicker$5,
|
|
8379
|
-
|
|
8379
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$5,
|
|
8380
8380
|
nylasTimeWindowPicker: nylasTimeWindowPicker$4,
|
|
8381
8381
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$5,
|
|
8382
8382
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$5,
|
|
@@ -8506,16 +8506,16 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
8506
8506
|
errors: {
|
|
8507
8507
|
overlappingTimeRanges: "Überlappende Zeitfenster"
|
|
8508
8508
|
}
|
|
8509
|
-
},
|
|
8510
|
-
headerTitle: "Spezifische
|
|
8511
|
-
headerDescription: "
|
|
8512
|
-
|
|
8509
|
+
}, nylasSpecificTimeAvailabilityPicker$4 = {
|
|
8510
|
+
headerTitle: "Spezifische Zeiten überschreiben",
|
|
8511
|
+
headerDescription: "Reguläre Zeiten für bestimmte Zeiträume überschreiben. Diese Einstellungen haben Vorrang vor den Standardzeiten.",
|
|
8512
|
+
addSpecificTimeAvailability: "Spezifische Zeit hinzufügen",
|
|
8513
8513
|
entireDayUnavailable: "Ganzer Tag nicht verfügbar",
|
|
8514
8514
|
markAsUnavailable: "Als nicht verfügbar markieren",
|
|
8515
8515
|
markAsAvailable: "Als verfügbar markieren",
|
|
8516
8516
|
emptyState: {
|
|
8517
|
-
title: "Keine spezifischen
|
|
8518
|
-
subtitle: "Fügen Sie
|
|
8517
|
+
title: "Keine spezifischen Zeiten konfiguriert",
|
|
8518
|
+
subtitle: "Fügen Sie Zeiten hinzu, um die Standardverfügbarkeit zu überschreiben"
|
|
8519
8519
|
},
|
|
8520
8520
|
errors: {
|
|
8521
8521
|
dateRequired: "Datum ist erforderlich",
|
|
@@ -8768,7 +8768,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
8768
8768
|
headerSubTitle: "Wenn nicht festgelegt, werden die Standardöffnungszeiten verwendet, um die Verfügbarkeit dieses Teilnehmers zu berechnen.",
|
|
8769
8769
|
participantOpenHoursTitle: "{{participantName}}s Öffnungszeiten",
|
|
8770
8770
|
participantAvailabilityTab: "Verfügbarkeit",
|
|
8771
|
-
|
|
8771
|
+
participantSpecificTimeAvailabilityTab: "Verfügbarkeit zu bestimmten Zeiten"
|
|
8772
8772
|
}, nylasReminderEmails$4 = {
|
|
8773
8773
|
headerTitle: "Bevorstehendes Meeting",
|
|
8774
8774
|
headerTitle_withOrganizer: "Bevorstehendes Meeting mit {{organizerName}}",
|
|
@@ -9083,7 +9083,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
9083
9083
|
nylasListConfigurations: nylasListConfigurations$4,
|
|
9084
9084
|
nylasAdditionalParticipants: nylasAdditionalParticipants$4,
|
|
9085
9085
|
nylasAvailabilityPicker: nylasAvailabilityPicker$4,
|
|
9086
|
-
|
|
9086
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$4,
|
|
9087
9087
|
nylasTimeWindowPicker: nylasTimeWindowPicker$3,
|
|
9088
9088
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$4,
|
|
9089
9089
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$4,
|
|
@@ -9242,7 +9242,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
9242
9242
|
nylasListConfigurations: nylasListConfigurations$4,
|
|
9243
9243
|
nylasAdditionalParticipants: nylasAdditionalParticipants$4,
|
|
9244
9244
|
nylasAvailabilityPicker: nylasAvailabilityPicker$4,
|
|
9245
|
-
|
|
9245
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$4,
|
|
9246
9246
|
nylasTimeWindowPicker: nylasTimeWindowPicker$3,
|
|
9247
9247
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$4,
|
|
9248
9248
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$4,
|
|
@@ -9372,22 +9372,22 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
9372
9372
|
errors: {
|
|
9373
9373
|
overlappingTimeRanges: "Överlappande tidsintervall"
|
|
9374
9374
|
}
|
|
9375
|
-
},
|
|
9376
|
-
headerTitle: "
|
|
9377
|
-
headerDescription: "
|
|
9378
|
-
|
|
9379
|
-
entireDayUnavailable: "Hela dagen
|
|
9380
|
-
markAsUnavailable: "Markera som
|
|
9375
|
+
}, nylasSpecificTimeAvailabilityPicker$3 = {
|
|
9376
|
+
headerTitle: "Åsidosätt specifika tider",
|
|
9377
|
+
headerDescription: "Åsidosätt ordinarie tider för specifika tillfällen. Dessa har företräde framför ordinarie tillgänglighet.",
|
|
9378
|
+
addSpecificTimeAvailability: "Lägg till specifik tid",
|
|
9379
|
+
entireDayUnavailable: "Hela dagen ej tillgänglig",
|
|
9380
|
+
markAsUnavailable: "Markera som ej tillgänglig",
|
|
9381
9381
|
markAsAvailable: "Markera som tillgänglig",
|
|
9382
9382
|
emptyState: {
|
|
9383
|
-
title: "Inga specifika
|
|
9384
|
-
subtitle: "Lägg till
|
|
9383
|
+
title: "Inga specifika tider konfigurerade",
|
|
9384
|
+
subtitle: "Lägg till tider för att åsidosätta ordinarie tillgänglighet"
|
|
9385
9385
|
},
|
|
9386
9386
|
errors: {
|
|
9387
9387
|
dateRequired: "Datum krävs",
|
|
9388
9388
|
invalidDateFormat: "Ogiltigt datumformat",
|
|
9389
9389
|
timesRequired: "Start- och sluttid krävs",
|
|
9390
|
-
startTimeBeforeEndTime: "
|
|
9390
|
+
startTimeBeforeEndTime: "Starttid måste vara före sluttid"
|
|
9391
9391
|
}
|
|
9392
9392
|
}, nylasTimeWindowPicker$2 = {
|
|
9393
9393
|
errors: {
|
|
@@ -9634,7 +9634,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
9634
9634
|
headerSubTitle: "Om inte inställt används standardöppettiderna för att beräkna deltagarens tillgänglighet.",
|
|
9635
9635
|
participantOpenHoursTitle: "{{participantName}}s öppettider",
|
|
9636
9636
|
participantAvailabilityTab: "Tillgänglighet",
|
|
9637
|
-
|
|
9637
|
+
participantSpecificTimeAvailabilityTab: "Tillgänglighet vid specifika tider"
|
|
9638
9638
|
}, nylasReminderEmails$3 = {
|
|
9639
9639
|
headerTitle: "Kommande möte",
|
|
9640
9640
|
headerTitle_withOrganizer: "Kommande möte med {{organizerName}}",
|
|
@@ -9949,7 +9949,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
9949
9949
|
nylasListConfigurations: nylasListConfigurations$3,
|
|
9950
9950
|
nylasAdditionalParticipants: nylasAdditionalParticipants$3,
|
|
9951
9951
|
nylasAvailabilityPicker: nylasAvailabilityPicker$3,
|
|
9952
|
-
|
|
9952
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$3,
|
|
9953
9953
|
nylasTimeWindowPicker: nylasTimeWindowPicker$2,
|
|
9954
9954
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$3,
|
|
9955
9955
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$3,
|
|
@@ -10108,7 +10108,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
10108
10108
|
nylasListConfigurations: nylasListConfigurations$3,
|
|
10109
10109
|
nylasAdditionalParticipants: nylasAdditionalParticipants$3,
|
|
10110
10110
|
nylasAvailabilityPicker: nylasAvailabilityPicker$3,
|
|
10111
|
-
|
|
10111
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$3,
|
|
10112
10112
|
nylasTimeWindowPicker: nylasTimeWindowPicker$2,
|
|
10113
10113
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$3,
|
|
10114
10114
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$3,
|
|
@@ -10238,19 +10238,19 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
10238
10238
|
errors: {
|
|
10239
10239
|
overlappingTimeRanges: "重叠的时间范围"
|
|
10240
10240
|
}
|
|
10241
|
-
},
|
|
10242
|
-
headerTitle: "
|
|
10243
|
-
headerDescription: "
|
|
10244
|
-
|
|
10241
|
+
}, nylasSpecificTimeAvailabilityPicker$2 = {
|
|
10242
|
+
headerTitle: "覆盖特定时间",
|
|
10243
|
+
headerDescription: "为特定时间覆盖常规可用时间。此设置将优先于常规可用时间。",
|
|
10244
|
+
addSpecificTimeAvailability: "添加特定时间",
|
|
10245
10245
|
entireDayUnavailable: "全天不可用",
|
|
10246
10246
|
markAsUnavailable: "标记为不可用",
|
|
10247
10247
|
markAsAvailable: "标记为可用",
|
|
10248
10248
|
emptyState: {
|
|
10249
|
-
title: "
|
|
10250
|
-
subtitle: "
|
|
10249
|
+
title: "未配置特定时间",
|
|
10250
|
+
subtitle: "添加时间以覆盖常规可用性"
|
|
10251
10251
|
},
|
|
10252
10252
|
errors: {
|
|
10253
|
-
dateRequired: "
|
|
10253
|
+
dateRequired: "日期为必填项",
|
|
10254
10254
|
invalidDateFormat: "无效的日期格式",
|
|
10255
10255
|
timesRequired: "需要开始和结束时间",
|
|
10256
10256
|
startTimeBeforeEndTime: "开始时间必须早于结束时间"
|
|
@@ -10500,7 +10500,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
10500
10500
|
headerSubTitle: "如果未设置,将使用默认开放时间来计算该参与者的可用性。",
|
|
10501
10501
|
participantOpenHoursTitle: "{{participantName}}的开放时间",
|
|
10502
10502
|
participantAvailabilityTab: "可用性",
|
|
10503
|
-
|
|
10503
|
+
participantSpecificTimeAvailabilityTab: "特定时间的可用性"
|
|
10504
10504
|
}, nylasReminderEmails$2 = {
|
|
10505
10505
|
headerTitle: "即将举行的会议",
|
|
10506
10506
|
headerTitle_withOrganizer: "即将举行的会议 {{organizerName}}",
|
|
@@ -10815,7 +10815,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
10815
10815
|
nylasListConfigurations: nylasListConfigurations$2,
|
|
10816
10816
|
nylasAdditionalParticipants: nylasAdditionalParticipants$2,
|
|
10817
10817
|
nylasAvailabilityPicker: nylasAvailabilityPicker$2,
|
|
10818
|
-
|
|
10818
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$2,
|
|
10819
10819
|
nylasTimeWindowPicker: nylasTimeWindowPicker$1,
|
|
10820
10820
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$2,
|
|
10821
10821
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$2,
|
|
@@ -10974,7 +10974,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
10974
10974
|
nylasListConfigurations: nylasListConfigurations$2,
|
|
10975
10975
|
nylasAdditionalParticipants: nylasAdditionalParticipants$2,
|
|
10976
10976
|
nylasAvailabilityPicker: nylasAvailabilityPicker$2,
|
|
10977
|
-
|
|
10977
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$2,
|
|
10978
10978
|
nylasTimeWindowPicker: nylasTimeWindowPicker$1,
|
|
10979
10979
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$2,
|
|
10980
10980
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$2,
|
|
@@ -11104,22 +11104,22 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
11104
11104
|
errors: {
|
|
11105
11105
|
overlappingTimeRanges: "Overlappende tijdvensters"
|
|
11106
11106
|
}
|
|
11107
|
-
},
|
|
11108
|
-
headerTitle: "Specifieke
|
|
11109
|
-
headerDescription: "
|
|
11110
|
-
|
|
11111
|
-
entireDayUnavailable: "
|
|
11112
|
-
markAsUnavailable: "
|
|
11113
|
-
markAsAvailable: "
|
|
11107
|
+
}, nylasSpecificTimeAvailabilityPicker$1 = {
|
|
11108
|
+
headerTitle: "Specifieke tijden overschrijven",
|
|
11109
|
+
headerDescription: "Overschrijf reguliere tijden voor specifieke momenten. Deze instellingen hebben voorrang op de standaardtijden.",
|
|
11110
|
+
addSpecificTimeAvailability: "Specifieke tijd toevoegen",
|
|
11111
|
+
entireDayUnavailable: "Hele dag niet beschikbaar",
|
|
11112
|
+
markAsUnavailable: "Markeren als niet beschikbaar",
|
|
11113
|
+
markAsAvailable: "Markeren als beschikbaar",
|
|
11114
11114
|
emptyState: {
|
|
11115
|
-
title: "Geen specifieke
|
|
11116
|
-
subtitle: "Voeg
|
|
11115
|
+
title: "Geen specifieke tijden geconfigureerd",
|
|
11116
|
+
subtitle: "Voeg tijden toe om de standaardbeschikbaarheid te overschrijven"
|
|
11117
11117
|
},
|
|
11118
11118
|
errors: {
|
|
11119
|
-
dateRequired: "Datum is
|
|
11120
|
-
invalidDateFormat: "
|
|
11121
|
-
timesRequired: "
|
|
11122
|
-
startTimeBeforeEndTime: "
|
|
11119
|
+
dateRequired: "Datum is verplicht",
|
|
11120
|
+
invalidDateFormat: "Ongeldig datumformaat",
|
|
11121
|
+
timesRequired: "Begin- en eindtijd zijn verplicht",
|
|
11122
|
+
startTimeBeforeEndTime: "Begintijd moet vóór eindtijd liggen"
|
|
11123
11123
|
}
|
|
11124
11124
|
}, nylasTimeWindowPicker = {
|
|
11125
11125
|
errors: {
|
|
@@ -11366,7 +11366,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
11366
11366
|
headerSubTitle: "Als deze niet is ingesteld, worden de standaard openingstijden gebruikt om de beschikbaarheid voor deze deelnemer te berekenen.",
|
|
11367
11367
|
participantOpenHoursTitle: "{{participantName}}'s openingstijden",
|
|
11368
11368
|
participantAvailabilityTab: "Beschikbaarheid",
|
|
11369
|
-
|
|
11369
|
+
participantSpecificTimeAvailabilityTab: "Beschikbaarheid op specifieke tijden"
|
|
11370
11370
|
}, nylasReminderEmails$1 = {
|
|
11371
11371
|
headerTitle: "Komende vergadering",
|
|
11372
11372
|
headerTitle_withOrganizer: "Komende vergadering met {{organizerName}}",
|
|
@@ -11681,7 +11681,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
11681
11681
|
nylasListConfigurations: nylasListConfigurations$1,
|
|
11682
11682
|
nylasAdditionalParticipants: nylasAdditionalParticipants$1,
|
|
11683
11683
|
nylasAvailabilityPicker: nylasAvailabilityPicker$1,
|
|
11684
|
-
|
|
11684
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$1,
|
|
11685
11685
|
nylasTimeWindowPicker,
|
|
11686
11686
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$1,
|
|
11687
11687
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$1,
|
|
@@ -11840,7 +11840,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
11840
11840
|
nylasListConfigurations: nylasListConfigurations$1,
|
|
11841
11841
|
nylasAdditionalParticipants: nylasAdditionalParticipants$1,
|
|
11842
11842
|
nylasAvailabilityPicker: nylasAvailabilityPicker$1,
|
|
11843
|
-
|
|
11843
|
+
nylasSpecificTimeAvailabilityPicker: nylasSpecificTimeAvailabilityPicker$1,
|
|
11844
11844
|
nylasTimeWindowPicker,
|
|
11845
11845
|
nylasBookingCalendarPicker: nylasBookingCalendarPicker$1,
|
|
11846
11846
|
nylasBookingConfirmationRedirect: nylasBookingConfirmationRedirect$1,
|
|
@@ -11970,22 +11970,22 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
11970
11970
|
errors: {
|
|
11971
11971
|
overlappingTimeRanges: "중복된 시간대"
|
|
11972
11972
|
}
|
|
11973
|
-
},
|
|
11974
|
-
headerTitle: "특정
|
|
11975
|
-
headerDescription: "특정
|
|
11976
|
-
|
|
11977
|
-
entireDayUnavailable: "
|
|
11978
|
-
markAsUnavailable: "
|
|
11979
|
-
markAsAvailable: "가능으로
|
|
11973
|
+
}, nylasSpecificTimeAvailabilityPicker = {
|
|
11974
|
+
headerTitle: "특정 시간 재정의",
|
|
11975
|
+
headerDescription: "특정 시간에 대해 기본 이용 가능 시간을 재정의합니다. 이 설정은 기본 이용 가능 시간보다 우선 적용됩니다.",
|
|
11976
|
+
addSpecificTimeAvailability: "특정 시간 추가",
|
|
11977
|
+
entireDayUnavailable: "종일 사용 불가",
|
|
11978
|
+
markAsUnavailable: "사용 불가로 표시",
|
|
11979
|
+
markAsAvailable: "사용 가능으로 표시",
|
|
11980
11980
|
emptyState: {
|
|
11981
|
-
title: "특정
|
|
11982
|
-
subtitle: "
|
|
11981
|
+
title: "설정된 특정 시간이 없습니다",
|
|
11982
|
+
subtitle: "기본 가용성을 재정의할 시간을 추가하세요"
|
|
11983
11983
|
},
|
|
11984
11984
|
errors: {
|
|
11985
|
-
dateRequired: "
|
|
11986
|
-
invalidDateFormat: "
|
|
11987
|
-
timesRequired: "시작
|
|
11988
|
-
startTimeBeforeEndTime: "시작 시간은 종료 시간보다
|
|
11985
|
+
dateRequired: "날짜는 필수 항목입니다",
|
|
11986
|
+
invalidDateFormat: "잘못된 날짜 형식입니다",
|
|
11987
|
+
timesRequired: "시작 및 종료 시간이 필요합니다",
|
|
11988
|
+
startTimeBeforeEndTime: "시작 시간은 종료 시간보다 앞서야 합니다"
|
|
11989
11989
|
}
|
|
11990
11990
|
}, nylasBookingCalendarPicker = {
|
|
11991
11991
|
headerTitle: "캘린더 예약",
|
|
@@ -12228,7 +12228,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
12228
12228
|
headerSubTitle: "설정되지 않은 경우 기본 영업 시간이 이 참여자의 가능 여부 계산에 사용됩니다.",
|
|
12229
12229
|
participantOpenHoursTitle: "{{participantName}}의 영업 시간",
|
|
12230
12230
|
participantAvailabilityTab: "가능 여부",
|
|
12231
|
-
|
|
12231
|
+
participantSpecificTimeAvailabilityTab: "특정 시간 이용 가능"
|
|
12232
12232
|
}, nylasReminderEmails = {
|
|
12233
12233
|
headerTitle: "다가오는 회의",
|
|
12234
12234
|
headerTitle_withOrganizer: "{{organizerName}}과의 다가오는 회의",
|
|
@@ -12543,7 +12543,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
12543
12543
|
nylasListConfigurations,
|
|
12544
12544
|
nylasAdditionalParticipants,
|
|
12545
12545
|
nylasAvailabilityPicker,
|
|
12546
|
-
|
|
12546
|
+
nylasSpecificTimeAvailabilityPicker,
|
|
12547
12547
|
nylasBookingCalendarPicker,
|
|
12548
12548
|
nylasBookingConfirmationRedirect,
|
|
12549
12549
|
nylasBookingConfirmationType,
|
|
@@ -12701,7 +12701,7 @@ const noDateSelected$8 = "No date selected", rescheduleTitle$8 = "Choose another
|
|
|
12701
12701
|
nylasListConfigurations,
|
|
12702
12702
|
nylasAdditionalParticipants,
|
|
12703
12703
|
nylasAvailabilityPicker,
|
|
12704
|
-
|
|
12704
|
+
nylasSpecificTimeAvailabilityPicker,
|
|
12705
12705
|
nylasBookingCalendarPicker,
|
|
12706
12706
|
nylasBookingConfirmationRedirect,
|
|
12707
12707
|
nylasBookingConfirmationType,
|
|
@@ -17295,8 +17295,8 @@ and ensure you are accounting for this risk.
|
|
|
17295
17295
|
const Pi = ii[fi], Oi = ii["*"], Li = ai[fi], Ni = ri[fi], Hi = ai["*"], Ii = [
|
|
17296
17296
|
Li,
|
|
17297
17297
|
Hi
|
|
17298
|
-
].concat(Ni).filter(function(
|
|
17299
|
-
return
|
|
17298
|
+
].concat(Ni).filter(function(ji) {
|
|
17299
|
+
return ji;
|
|
17300
17300
|
});
|
|
17301
17301
|
if (Pi && Oi ? Ai = ki(Ai, deepmerge(Pi, Oi), Ii) : Ai = ki(Ai, Pi || Oi, Ii), !Ai.length) {
|
|
17302
17302
|
delete bi.attribs[Ri];
|
|
@@ -24237,10 +24237,10 @@ var customParseFormat$1 = { exports: {} };
|
|
|
24237
24237
|
wi && (Ci = Ei[2]), ei = this.$locale(), !hi && Ci && (ei = di.Ls[Ci]), this.$d = function(_i, bi, Si) {
|
|
24238
24238
|
try {
|
|
24239
24239
|
if (["x", "X"].indexOf(bi) > -1) return new Date((bi === "X" ? 1e3 : 1) * _i);
|
|
24240
|
-
var xi = si(bi)(_i), Di = xi.year, Ai = xi.month, Ri = xi.day, Mi = xi.hours, Pi = xi.minutes, Oi = xi.seconds, Li = xi.milliseconds, Ni = xi.zone, Hi = /* @__PURE__ */ new Date(), Ii = Ri || (Di || Ai ? 1 : Hi.getDate()),
|
|
24240
|
+
var xi = si(bi)(_i), Di = xi.year, Ai = xi.month, Ri = xi.day, Mi = xi.hours, Pi = xi.minutes, Oi = xi.seconds, Li = xi.milliseconds, Ni = xi.zone, Hi = /* @__PURE__ */ new Date(), Ii = Ri || (Di || Ai ? 1 : Hi.getDate()), ji = Di || Hi.getFullYear(), qi = 0;
|
|
24241
24241
|
Di && !Ai || (qi = Ai > 0 ? Ai - 1 : Hi.getMonth());
|
|
24242
|
-
var Bi = Mi || 0, Ui = Pi || 0, Wi = Oi || 0,
|
|
24243
|
-
return Ni ? new Date(Date.UTC(
|
|
24242
|
+
var Bi = Mi || 0, Ui = Pi || 0, Wi = Oi || 0, zi = Li || 0;
|
|
24243
|
+
return Ni ? new Date(Date.UTC(ji, qi, Ii, Bi, Ui, Wi, zi + 60 * Ni.offset * 1e3)) : Si ? new Date(Date.UTC(ji, qi, Ii, Bi, Ui, Wi, zi)) : new Date(ji, qi, Ii, Bi, Ui, Wi, zi);
|
|
24244
24244
|
} catch {
|
|
24245
24245
|
return /* @__PURE__ */ new Date("");
|
|
24246
24246
|
}
|
|
@@ -31676,7 +31676,7 @@ function defineCustomElement$k() {
|
|
|
31676
31676
|
}
|
|
31677
31677
|
});
|
|
31678
31678
|
}
|
|
31679
|
-
const
|
|
31679
|
+
const nylasSpecificTimeAvailabilityPickerCss = ':host{display:block;width:100%}.nylas-specific-time-availability-picker{display:flex;flex-direction:column;gap:1rem;border-top:1px solid var(--nylas-base-200)}.nylas-specific-time-availability-picker .content{display:flex;flex-direction:column;gap:1.5rem;padding:16px}.nylas-specific-time-availability-picker .header{display:flex;flex-direction:column;gap:0.5rem}.nylas-specific-time-availability-picker .header .header-description{margin:0;font-size:0.875rem;color:var(--nylas-base-600);line-height:1.5}.nylas-specific-time-availability-picker .specific-times{display:flex;flex-direction:column;gap:1rem}.nylas-specific-time-availability-picker .empty-state{display:flex;flex-direction:column;align-items:center;padding:2rem 1rem;text-align:center}.nylas-specific-time-availability-picker .empty-state .empty-icon{margin-bottom:1.5rem;opacity:0.4;color:var(--nylas-base-400)}.nylas-specific-time-availability-picker .empty-state .empty-title{margin:0 0 0.5rem 0;font-size:1.125rem;font-weight:600;color:var(--nylas-base-700);line-height:1.5}.nylas-specific-time-availability-picker .empty-state .empty-subtitle{margin:0;font-size:0.875rem;color:var(--nylas-base-500);line-height:1.5;max-width:300px}.nylas-specific-time-availability-picker .specific-time-entry{display:flex;flex-direction:column;gap:0;padding:12px;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius);background:var(--nylas-base-0)}.nylas-specific-time-availability-picker .specific-time-entry .entry-content{display:grid;grid-template-columns:160px auto 30px 30px;gap:12px}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .entry-content{grid-template-areas:"date calendar_toggle remove" "time_or_unavailable time_or_unavailable time_or_unavailable";grid-template-columns:1fr auto auto;grid-template-rows:1fr 1fr}}.nylas-specific-time-availability-picker .specific-time-entry .date-input-container{flex:0 0 auto;width:160px}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .date-input-container{grid-area:date}}.nylas-specific-time-availability-picker .specific-time-entry .date-input-container .date-input{width:100%}.nylas-specific-time-availability-picker .specific-time-entry .date-input-container nylas-date-component::part(ic__date){border:1px solid var(--nylas-base-200);height:50px;display:flex;align-items:center}.nylas-specific-time-availability-picker .specific-time-entry .time-pickers{display:grid;grid-template-columns:auto 10px 1fr;width:342px;gap:14px;flex:1;min-width:0}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .time-pickers{flex:1;width:auto;grid-area:time_or_unavailable}}.nylas-specific-time-availability-picker .specific-time-entry .time-pickers .time-separator{font-size:0.875rem;color:var(--nylas-base-600);font-weight:500;flex-shrink:0;line-height:1;padding:0 0px 0px 6px;margin-top:18px}.nylas-specific-time-availability-picker .specific-time-entry .unavailable-text{flex:1;display:flex;align-items:center;padding:0 15px;border-radius:var(--nylas-border-radius);background:var(--nylas-base-50);min-height:50px}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .unavailable-text{grid-area:time_or_unavailable}}.nylas-specific-time-availability-picker .specific-time-entry .unavailable-text .unavailable-label{font-size:0.875rem;color:var(--nylas-base-500);font-style:italic}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button{display:flex;align-items:center;justify-content:center;width:40px;height:48px;padding-left:8px;border:none;border-radius:4px;background:transparent;color:var(--nylas-base-400);cursor:pointer;transition:all 0.2s ease;flex-shrink:0}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .toggle-button{grid-area:calendar_toggle}}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button:hover{color:var(--nylas-primary)}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button:focus{outline:none}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button.unavailable{color:var(--nylas-error)}.nylas-specific-time-availability-picker .specific-time-entry .toggle-button.unavailable:hover{color:var(--nylas-error)}.nylas-specific-time-availability-picker .specific-time-entry .remove-button{display:flex;align-items:center;justify-content:center;width:40px;height:48px;padding:0;border:none;border-radius:4px;background:transparent;color:var(--nylas-base-400);cursor:pointer;transition:all 0.2s ease;flex-shrink:0}@media (max-width: 768px){.nylas-specific-time-availability-picker .specific-time-entry .remove-button{grid-area:remove}}.nylas-specific-time-availability-picker .specific-time-entry .remove-button:hover{color:var(--nylas-error)}.nylas-specific-time-availability-picker .specific-time-entry .remove-button:focus{outline:none;background:var(--nylas-base-100);box-shadow:0 0 0 2px var(--nylas-primary)}.nylas-specific-time-availability-picker .specific-time-entry .remove-button:active{background:var(--nylas-base-200)}.nylas-specific-time-availability-picker .specific-time-entry .error-message{width:-webkit-fill-available;padding:4px 8px;background:var(--nylas-error-50);color:var(--nylas-error);font-size:12px;border-radius:4px;border:1px solid var(--nylas-error-200);margin-top:8px}.nylas-specific-time-availability-picker .add-button-container{display:flex;justify-content:flex-start}.nylas-specific-time-availability-picker .add-button-container button-component{width:100%}::part(nstap__add-button){border:1px dashed var(--nylas-base-200);background:var(--nylas-base-0);color:var(--nylas-base-700)}::part(nstap__add-button):hover{border-color:var(--nylas-primary);background:var(--nylas-base-50);color:var(--nylas-primary)}::part(nstap__time-picker-container){flex:1;min-width:0}::part(nstap__time-picker-input){width:100%;font-size:0.875rem;min-height:50px;display:flex;align-items:center}::part(nstap__date-input){width:100%}::part(nstap__date-field){width:100%;font-size:0.875rem;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius);padding:0.5rem 0.75rem}::part(nstap__date-field):focus{border-color:var(--nylas-primary);box-shadow:0 0 0 3px rgba(59, 130, 246, 0.1)}::part(nstap__date-wrapper){margin:0}::part(nstap__date-label){margin:0;padding:0}::part(nstap__date-label) p{display:none}', NylasSpecificTimeAvailabilityPickerStyle0 = nylasSpecificTimeAvailabilityPickerCss;
|
|
31680
31680
|
var __decorate$c = function(ve, ue, ge, Oe) {
|
|
31681
31681
|
var Ke = arguments.length, vt = Ke < 3 ? ue : Oe === null ? Oe = Object.getOwnPropertyDescriptor(ue, ge) : Oe, ln;
|
|
31682
31682
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
@@ -31689,30 +31689,30 @@ var __decorate$c = function(ve, ue, ge, Oe) {
|
|
|
31689
31689
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
31690
31690
|
return Reflect.metadata(ve, ue);
|
|
31691
31691
|
};
|
|
31692
|
-
const
|
|
31692
|
+
const NylasSpecificTimeAvailabilityPicker = proxyCustomElement(class extends H$4 {
|
|
31693
31693
|
constructor() {
|
|
31694
|
-
super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = createEvent(this, "valueChanged", 7), this.internals = this.attachInternals(), this.name = "specific-
|
|
31694
|
+
super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = createEvent(this, "valueChanged", 7), this.internals = this.attachInternals(), this.name = "specific-time-availability", this.selectedConfiguration = void 0, this.selectedLanguage = void 0, this.specificTimesAvailability = void 0, this.themeConfig = void 0, this.specificDateEntries = [], this.validationErrors = {};
|
|
31695
31695
|
}
|
|
31696
31696
|
connectedCallback() {
|
|
31697
|
-
debug("nylas-specific-
|
|
31697
|
+
debug("nylas-specific-time-availability-picker", "connectedCallback");
|
|
31698
31698
|
}
|
|
31699
31699
|
disconnectedCallback() {
|
|
31700
|
-
debug("nylas-specific-
|
|
31700
|
+
debug("nylas-specific-time-availability-picker", "disconnectedCallback");
|
|
31701
31701
|
}
|
|
31702
31702
|
componentWillLoad() {
|
|
31703
|
-
debug("nylas-specific-
|
|
31703
|
+
debug("nylas-specific-time-availability-picker", "componentWillLoad"), this.host.setAttribute("name", this.name);
|
|
31704
31704
|
}
|
|
31705
31705
|
componentDidLoad() {
|
|
31706
|
-
debug("nylas-specific-
|
|
31706
|
+
debug("nylas-specific-time-availability-picker", "componentDidLoad"), this.selectedConfiguration ? this.configChangedHandler(this.selectedConfiguration) : this.specificTimesAvailability && this.specificTimesAvailability.length > 0 && this.loadSpecificTimeAvailability(), this.applyThemeConfig(this.themeConfig);
|
|
31707
31707
|
}
|
|
31708
31708
|
get isInternalsAvailable() {
|
|
31709
31709
|
return typeof this.internals.setFormValue == "function";
|
|
31710
31710
|
}
|
|
31711
31711
|
elementNameChangedHandler(ue) {
|
|
31712
|
-
debug("nylas-specific-
|
|
31712
|
+
debug("nylas-specific-time-availability-picker", "elementNameChangedHandler", ue), this.host.setAttribute("name", ue);
|
|
31713
31713
|
}
|
|
31714
31714
|
configChangedHandler(ue) {
|
|
31715
|
-
debug("nylas-specific-
|
|
31715
|
+
debug("nylas-specific-time-availability-picker", "configChangedHandler", ue), this.loadSpecificTimeAvailability();
|
|
31716
31716
|
}
|
|
31717
31717
|
selectedLanguageChangedHandler(ue, ge) {
|
|
31718
31718
|
ue !== ge && instance.changeLanguage(ue);
|
|
@@ -31725,13 +31725,13 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31725
31725
|
for (const [ge, Oe] of Object.entries(ue))
|
|
31726
31726
|
this.host.style.setProperty(`${ge}`, Oe);
|
|
31727
31727
|
}
|
|
31728
|
-
|
|
31729
|
-
if (!this.
|
|
31728
|
+
loadSpecificTimeAvailability() {
|
|
31729
|
+
if (!this.specificTimesAvailability || this.specificTimesAvailability.length === 0)
|
|
31730
31730
|
return;
|
|
31731
|
-
const ue = this.
|
|
31731
|
+
const ue = this.specificTimesAvailability.map((ge, Oe) => {
|
|
31732
31732
|
const Ke = ge.start === "00:00" && ge.end === "00:00";
|
|
31733
31733
|
return {
|
|
31734
|
-
id: `specific-
|
|
31734
|
+
id: `specific-time-${Oe}`,
|
|
31735
31735
|
date: ge.date,
|
|
31736
31736
|
startTime: Ke ? "09:00am" : convertTo12HourFormat(ge.start),
|
|
31737
31737
|
endTime: Ke ? "05:00pm" : convertTo12HourFormat(ge.end),
|
|
@@ -31740,11 +31740,11 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31740
31740
|
});
|
|
31741
31741
|
this.specificDateEntries = ue, this.emitValueChanged();
|
|
31742
31742
|
}
|
|
31743
|
-
|
|
31743
|
+
addSpecificTimeAvailability() {
|
|
31744
31744
|
const ue = /* @__PURE__ */ new Date(), ge = new Date(ue);
|
|
31745
31745
|
ge.setDate(ue.getDate() + this.specificDateEntries.length);
|
|
31746
31746
|
const Oe = ge.toISOString().split("T")[0], Ke = {
|
|
31747
|
-
id: `specific-
|
|
31747
|
+
id: `specific-time-${Date.now()}`,
|
|
31748
31748
|
date: Oe,
|
|
31749
31749
|
startTime: "09:00am",
|
|
31750
31750
|
endTime: "05:00pm",
|
|
@@ -31752,7 +31752,7 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31752
31752
|
};
|
|
31753
31753
|
this.specificDateEntries = [...this.specificDateEntries, Ke], this.isInternalsAvailable && this.internals.setValidity({ customError: !1 }), this.emitValueChanged();
|
|
31754
31754
|
}
|
|
31755
|
-
|
|
31755
|
+
removeSpecificTimeAvailability(ue) {
|
|
31756
31756
|
if (this.specificDateEntries = this.specificDateEntries.filter((ge) => ge.id !== ue), this.validationErrors[ue]) {
|
|
31757
31757
|
const ge = { ...this.validationErrors };
|
|
31758
31758
|
delete ge[ue], this.validationErrors = ge;
|
|
@@ -31768,16 +31768,16 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31768
31768
|
}
|
|
31769
31769
|
validateEntry(ue) {
|
|
31770
31770
|
if (!ue.date)
|
|
31771
|
-
return instance.t("
|
|
31771
|
+
return instance.t("nylasSpecificTimeAvailabilityPicker.errors.dateRequired");
|
|
31772
31772
|
const ge = new Date(ue.date);
|
|
31773
31773
|
if (isNaN(ge.getTime()))
|
|
31774
|
-
return instance.t("
|
|
31774
|
+
return instance.t("nylasSpecificTimeAvailabilityPicker.errors.invalidDateFormat");
|
|
31775
31775
|
if (ue.isUnavailable)
|
|
31776
31776
|
return null;
|
|
31777
31777
|
if (!ue.startTime || !ue.endTime)
|
|
31778
|
-
return instance.t("
|
|
31778
|
+
return instance.t("nylasSpecificTimeAvailabilityPicker.errors.timesRequired");
|
|
31779
31779
|
const Oe = timeToMinutes(ue.startTime), Ke = timeToMinutes(ue.endTime);
|
|
31780
|
-
return Oe >= Ke ? instance.t("
|
|
31780
|
+
return Oe >= Ke ? instance.t("nylasSpecificTimeAvailabilityPicker.errors.startTimeBeforeEndTime") : null;
|
|
31781
31781
|
}
|
|
31782
31782
|
validateAllEntries() {
|
|
31783
31783
|
var Oe;
|
|
@@ -31821,7 +31821,7 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31821
31821
|
}
|
|
31822
31822
|
handleFormInputChange(ue) {
|
|
31823
31823
|
const { name: ge, value: Oe } = ue.detail;
|
|
31824
|
-
if (ge.startsWith("date-") && ge.includes("specific-
|
|
31824
|
+
if (ge.startsWith("date-") && ge.includes("specific-time-")) {
|
|
31825
31825
|
const Ke = ge.replace("date-", "");
|
|
31826
31826
|
if (this.specificDateEntries = this.specificDateEntries.map((vt) => vt.id === Ke ? { ...vt, date: Oe } : vt), this.validationErrors[Ke]) {
|
|
31827
31827
|
const vt = { ...this.validationErrors };
|
|
@@ -31842,7 +31842,7 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31842
31842
|
});
|
|
31843
31843
|
}
|
|
31844
31844
|
render() {
|
|
31845
|
-
return h$3(Host, { key: "
|
|
31845
|
+
return h$3(Host, { key: "01f075a3cded0b05cce5098dee0fe221bc13ec24" }, h$3("div", { key: "f008de5cd95468e1cb0b820dabc2d38bca8a6d99", class: "nylas-specific-time-availability-picker", part: "nstap" }, h$3("div", { key: "c2ec42ad544a1c10b3d5cbfa5adcf04a7e716377", class: "content", part: "nstap__content" }, h$3("div", { key: "c58f880616610957181857a84ab053fa9f811f5d", class: "header", part: "nstap__header" }, h$3("p", { key: "671a584b2f92d1ee3d8abf50a80c60052e97510a", class: "header-description", part: "nstap__header-description" }, instance.t("nylasSpecificTimeAvailabilityPicker.headerDescription"))), h$3("div", { key: "9b341aa468e6fdb749cddf7bf8fdc66c110ce25f", class: "specific-times", part: "nstap__specific-times" }, this.specificDateEntries.length === 0 ? h$3("div", { class: "empty-state", part: "nstap__empty-state" }, h$3("div", { class: "empty-icon", part: "nstap__empty-icon" }, h$3("calendar-icon", { width: "32", height: "32" })), h$3("h3", { class: "empty-title", part: "nstap__empty-title" }, instance.t("nylasSpecificTimeAvailabilityPicker.emptyState.title")), h$3("p", { class: "empty-subtitle", part: "nstap__empty-subtitle" }, instance.t("nylasSpecificTimeAvailabilityPicker.emptyState.subtitle"))) : this.specificDateEntries.map((ue) => h$3("div", { class: "specific-time-entry", part: "nstap__specific-time-entry", key: ue.id, "data-entry-id": ue.id }, h$3("div", { class: "entry-content", part: "nstap__entry-content" }, h$3("div", { class: "date-input-container", part: "nstap__date-input-container" }, h$3("nylas-date-component", { name: `date-${ue.id}`, defaultValue: ue.date, placeholder: "yyyy-mm-dd", part: "nstap__date-input", class: "date-input", themeConfig: this.themeConfig, exportparts: "ic__date: nstap__date-field, ic__input_wrapper: nstap__date-wrapper, ic__label: nstap__date-label" })), ue.isUnavailable ? h$3("div", { class: "unavailable-text", part: "nstap__unavailable-text" }, h$3("span", { class: "unavailable-label" }, instance.t("nylasSpecificTimeAvailabilityPicker.entireDayUnavailable"))) : h$3("div", { class: "time-pickers", part: "nstap__time-pickers" }, h$3("nylas-time-window-picker", { id: `${ue.id}_start`, time: ue.startTime, name: `${ue.id}_start`, key: `${ue.id}_start`, language: this.selectedLanguage, hasError: !!this.validationErrors[ue.id], themeConfig: this.themeConfig, exportparts: "time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times" }), h$3("span", { class: "time-separator" }, "-"), h$3("nylas-time-window-picker", { id: `${ue.id}_end`, time: ue.endTime, name: `${ue.id}_end`, key: `${ue.id}_end`, minimumStartTime: ue.startTime, language: this.selectedLanguage, hasError: !!this.validationErrors[ue.id], themeConfig: this.themeConfig, exportparts: "time-picker: nstap__time-picker-container, time-input: nstap__time-picker-input, times: nstap__time-picker-times" })), h$3("button", { type: "button", class: { "toggle-button": !0, unavailable: ue.isUnavailable }, part: "nstap__toggle-button", onClick: () => this.toggleAvailability(ue.id), title: ue.isUnavailable ? instance.t("nylasSpecificTimeAvailabilityPicker.markAsAvailable") : instance.t("nylasSpecificTimeAvailabilityPicker.markAsUnavailable") }, h$3("calendar-icon", { width: "20", height: "20" })), h$3("button", { type: "button", class: "remove-button", part: "nstap__remove-button", onClick: () => this.removeSpecificTimeAvailability(ue.id), "aria-label": "Remove specific date" }, h$3("close-icon", { width: "16", height: "16" }))), this.validationErrors[ue.id] && h$3("div", { class: "error-message", part: "nstap__error-message" }, this.validationErrors[ue.id])))), h$3("div", { key: "3a326486bb489af6c036527434c6c6a8a7736cf1", class: "add-button-container", part: "nstap__add-button-container" }, h$3("button-component", { key: "156a5fff11a4dedc272327cdf2322118e9fef6fc", id: "add-specific-time-open-hour", onClick: () => this.addSpecificTimeAvailability(), part: "nstap__add-button", variant: "basic" }, h$3("add-circle-icon", { key: "0d12a577afac1d24a4c259997d71e0f182f1e5c8", width: "24", height: "24" }), instance.t("nylasSpecificTimeAvailabilityPicker.addSpecificTimeAvailability"))))));
|
|
31846
31846
|
}
|
|
31847
31847
|
static get formAssociated() {
|
|
31848
31848
|
return !0;
|
|
@@ -31859,13 +31859,13 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31859
31859
|
};
|
|
31860
31860
|
}
|
|
31861
31861
|
static get style() {
|
|
31862
|
-
return
|
|
31862
|
+
return NylasSpecificTimeAvailabilityPickerStyle0;
|
|
31863
31863
|
}
|
|
31864
|
-
}, [65, "nylas-specific-
|
|
31864
|
+
}, [65, "nylas-specific-time-availability-picker", {
|
|
31865
31865
|
name: [1],
|
|
31866
31866
|
selectedConfiguration: [16],
|
|
31867
31867
|
selectedLanguage: [1, "selected-language"],
|
|
31868
|
-
|
|
31868
|
+
specificTimesAvailability: [16],
|
|
31869
31869
|
themeConfig: [16],
|
|
31870
31870
|
specificDateEntries: [32],
|
|
31871
31871
|
validationErrors: [32]
|
|
@@ -31877,7 +31877,7 @@ const NylasSpecificDateAvailabilityPicker = proxyCustomElement(class extends H$4
|
|
|
31877
31877
|
}]);
|
|
31878
31878
|
__decorate$c([
|
|
31879
31879
|
RegisterComponent({
|
|
31880
|
-
name: "nylas-specific-
|
|
31880
|
+
name: "nylas-specific-time-availability-picker",
|
|
31881
31881
|
stateToProps: /* @__PURE__ */ new Map([
|
|
31882
31882
|
["schedulerConfig.selectedConfiguration", "selectedConfiguration"],
|
|
31883
31883
|
["schedulerConfig.selectedLanguage", "selectedLanguage"],
|
|
@@ -31888,14 +31888,14 @@ __decorate$c([
|
|
|
31888
31888
|
__metadata$c("design:type", Function),
|
|
31889
31889
|
__metadata$c("design:paramtypes", []),
|
|
31890
31890
|
__metadata$c("design:returntype", void 0)
|
|
31891
|
-
],
|
|
31891
|
+
], NylasSpecificTimeAvailabilityPicker.prototype, "render", null);
|
|
31892
31892
|
function defineCustomElement$j() {
|
|
31893
31893
|
if (typeof customElements > "u")
|
|
31894
31894
|
return;
|
|
31895
|
-
["nylas-specific-
|
|
31895
|
+
["nylas-specific-time-availability-picker", "add-circle-icon", "button-component", "calendar-icon", "close-icon", "loading-icon", "nylas-date-component", "nylas-time-window-picker"].forEach((ue) => {
|
|
31896
31896
|
switch (ue) {
|
|
31897
|
-
case "nylas-specific-
|
|
31898
|
-
customElements.get(ue) || customElements.define(ue,
|
|
31897
|
+
case "nylas-specific-time-availability-picker":
|
|
31898
|
+
customElements.get(ue) || customElements.define(ue, NylasSpecificTimeAvailabilityPicker);
|
|
31899
31899
|
break;
|
|
31900
31900
|
case "add-circle-icon":
|
|
31901
31901
|
customElements.get(ue) || defineCustomElement$1y();
|
|
@@ -31975,14 +31975,14 @@ const NylasParticipantsCustomAvailability = proxyCustomElement(class extends H$4
|
|
|
31975
31975
|
nylasFormSwitchToggledHandler(ue) {
|
|
31976
31976
|
var ti, ni, ii, ai, ri, oi, si, li, ci, di, ui, pi;
|
|
31977
31977
|
debug("nylas-participants-custom-availability", "nylasFormSwitchToggledHandler", ue.detail);
|
|
31978
|
-
const ge = (ti = this.selectedConfiguration) == null ? void 0 : ti.participants.find((mi) => mi.email === ue.detail.name), Oe = ((ni = ge == null ? void 0 : ge.availability) == null ? void 0 : ni.open_hours) || [], Ke = (Oe == null ? void 0 : Oe.length) > 0 ? Oe : ((ri = (ai = (ii = this.selectedConfiguration) == null ? void 0 : ii.availability) == null ? void 0 : ai.availability_rules) == null ? void 0 : ri.default_open_hours) || [], vt = Oe && Oe.length > 0 ? ge == null ? void 0 : ge.timezone : ((di = (ci = (li = (si = (oi = this.selectedConfiguration) == null ? void 0 : oi.availability) == null ? void 0 : si.availability_rules) == null ? void 0 : li.default_open_hours) == null ? void 0 : ci.at(0)) == null ? void 0 : di.timezone) || ((pi = (ui = this.selectedConfiguration) == null ? void 0 : ui.event_booking) == null ? void 0 : pi.timezone) || window.Intl.DateTimeFormat().resolvedOptions().timeZone, ln = (ge == null ? void 0 : ge.
|
|
31979
|
-
this.selectedParticipants[ue.detail.name].isOpen = ue.detail.checked, this.selectedParticipants[ue.detail.name].tab = "availability", this.selectedParticipants[ue.detail.name].setCustom = ue.detail.checked, this.selectedParticipants[ue.detail.name].openHours = ue.detail.checked ? (Ke == null ? void 0 : Ke.length) > 0 ? Ke : DEFAULT_OPEN_HOURS : [], this.selectedParticipants[ue.detail.name].timezone = ue.detail.checked ? vt : void 0, this.selectedParticipants[ue.detail.name].
|
|
31978
|
+
const ge = (ti = this.selectedConfiguration) == null ? void 0 : ti.participants.find((mi) => mi.email === ue.detail.name), Oe = ((ni = ge == null ? void 0 : ge.availability) == null ? void 0 : ni.open_hours) || [], Ke = (Oe == null ? void 0 : Oe.length) > 0 ? Oe : ((ri = (ai = (ii = this.selectedConfiguration) == null ? void 0 : ii.availability) == null ? void 0 : ai.availability_rules) == null ? void 0 : ri.default_open_hours) || [], vt = Oe && Oe.length > 0 ? ge == null ? void 0 : ge.timezone : ((di = (ci = (li = (si = (oi = this.selectedConfiguration) == null ? void 0 : oi.availability) == null ? void 0 : si.availability_rules) == null ? void 0 : li.default_open_hours) == null ? void 0 : ci.at(0)) == null ? void 0 : di.timezone) || ((pi = (ui = this.selectedConfiguration) == null ? void 0 : ui.event_booking) == null ? void 0 : pi.timezone) || window.Intl.DateTimeFormat().resolvedOptions().timeZone, ln = (ge == null ? void 0 : ge.specific_time_availability) || [], ei = (ln == null ? void 0 : ln.length) > 0 ? ln : [];
|
|
31979
|
+
this.selectedParticipants[ue.detail.name].isOpen = ue.detail.checked, this.selectedParticipants[ue.detail.name].tab = "availability", this.selectedParticipants[ue.detail.name].setCustom = ue.detail.checked, this.selectedParticipants[ue.detail.name].openHours = ue.detail.checked ? (Ke == null ? void 0 : Ke.length) > 0 ? Ke : DEFAULT_OPEN_HOURS : [], this.selectedParticipants[ue.detail.name].timezone = ue.detail.checked ? vt : void 0, this.selectedParticipants[ue.detail.name].specificTimesAvailability = ue.detail.checked ? ei : [], this.selectedParticipants = { ...this.selectedParticipants }, this.updateFormValue();
|
|
31980
31980
|
}
|
|
31981
31981
|
handleValueChanged(ue) {
|
|
31982
31982
|
var vt, ln, ei;
|
|
31983
31983
|
debug("[nylas-editor-tabs]", "handleValueChanged", ue);
|
|
31984
31984
|
const { name: ge, value: Oe } = ue.detail;
|
|
31985
|
-
if (!ge.startsWith("participant-availability-") && !ge.startsWith("participant-specific-
|
|
31985
|
+
if (!ge.startsWith("participant-availability-") && !ge.startsWith("participant-specific-time-availability-"))
|
|
31986
31986
|
return;
|
|
31987
31987
|
let Ke;
|
|
31988
31988
|
try {
|
|
@@ -32009,25 +32009,25 @@ const NylasParticipantsCustomAvailability = proxyCustomElement(class extends H$4
|
|
|
32009
32009
|
return;
|
|
32010
32010
|
const ii = Ke.openHours || [], ai = (ii == null ? void 0 : ii.length) > 0 ? ii : ((ei = (ln = (vt = this.selectedConfiguration) == null ? void 0 : vt.availability) == null ? void 0 : ln.availability_rules) == null ? void 0 : ei.default_open_hours) || [];
|
|
32011
32011
|
this.selectedParticipants[ni].openHours = ai, this.selectedParticipants[ni].tab = "availability";
|
|
32012
|
-
} else if (ge.startsWith("participant-specific-
|
|
32012
|
+
} else if (ge.startsWith("participant-specific-time-availability")) {
|
|
32013
32013
|
const ti = ge.split("-");
|
|
32014
32014
|
if (ti.length < 6) {
|
|
32015
|
-
console.warn(`Malformed participant specific date name format: ${ge}. Expected format: "participant-specific-
|
|
32015
|
+
console.warn(`Malformed participant specific date name format: ${ge}. Expected format: "participant-specific-time-availability-{index}-{uniqueKey}"`);
|
|
32016
32016
|
return;
|
|
32017
32017
|
}
|
|
32018
32018
|
const ni = ti[5];
|
|
32019
32019
|
if (!this.selectedParticipants[ni])
|
|
32020
32020
|
return;
|
|
32021
32021
|
const ii = Ke || [];
|
|
32022
|
-
this.selectedParticipants[ni].
|
|
32022
|
+
this.selectedParticipants[ni].specificTimesAvailability = ii, this.selectedParticipants[ni].tab = "specific-time-availability";
|
|
32023
32023
|
}
|
|
32024
32024
|
this.selectedParticipants = { ...this.selectedParticipants }, this.updateFormValue();
|
|
32025
32025
|
}
|
|
32026
32026
|
updateFormValue() {
|
|
32027
32027
|
const ue = {}, ge = {};
|
|
32028
32028
|
Object.keys(this.selectedParticipants).forEach((Oe) => {
|
|
32029
|
-
ue[Oe] = this.selectedParticipants[Oe].openHours, ge[Oe] = this.selectedParticipants[Oe].
|
|
32030
|
-
}), this.isInternalsAvailable && this.internals.setFormValue(JSON.stringify(ue), this.name), this.valueChanged.emit({ value: JSON.stringify(ue), name: this.name }), this.isInternalsAvailable && this.internals.setFormValue(JSON.stringify(ge), `${this.name}-specific-
|
|
32029
|
+
ue[Oe] = this.selectedParticipants[Oe].openHours, ge[Oe] = this.selectedParticipants[Oe].specificTimesAvailability || [];
|
|
32030
|
+
}), this.isInternalsAvailable && this.internals.setFormValue(JSON.stringify(ue), this.name), this.valueChanged.emit({ value: JSON.stringify(ue), name: this.name }), this.isInternalsAvailable && this.internals.setFormValue(JSON.stringify(ge), `${this.name}-specific-time`), this.valueChanged.emit({ value: JSON.stringify(ge), name: `${this.name}-specific-time` });
|
|
32031
32031
|
}
|
|
32032
32032
|
setParticipants(ue) {
|
|
32033
32033
|
const ge = {};
|
|
@@ -32040,7 +32040,7 @@ const NylasParticipantsCustomAvailability = proxyCustomElement(class extends H$4
|
|
|
32040
32040
|
name: Oe.name || Oe.email,
|
|
32041
32041
|
availability: Oe.availability,
|
|
32042
32042
|
timezone: Oe.timezone,
|
|
32043
|
-
|
|
32043
|
+
specificTimesAvailability: Oe.specific_time_availability || []
|
|
32044
32044
|
};
|
|
32045
32045
|
}), ge;
|
|
32046
32046
|
}
|
|
@@ -32048,7 +32048,7 @@ const NylasParticipantsCustomAvailability = proxyCustomElement(class extends H$4
|
|
|
32048
32048
|
return this.internals !== void 0 && typeof this.internals.setFormValue == "function" && typeof this.internals.setValidity == "function";
|
|
32049
32049
|
}
|
|
32050
32050
|
render() {
|
|
32051
|
-
return h$3(Host, { key: "
|
|
32051
|
+
return h$3(Host, { key: "72278a40aca8e3e3868b2c04abf9ec7ecb5cac10" }, h$3("div", { key: "82a8ddedcd2a16598f5a3cf8b8ac50e082a8303b", class: "nylas-participants-custom-availability", part: "npca" }, h$3("div", { key: "e2881fe998d498b865420faf97f0355fd571b702", class: "header", part: "npca__header" }, h$3("h3", { key: "3ca8980d00abe8001eb4ff0168c8ce249977c8da" }, instance.t("nylasParticipantCustomAvailability.headerTitle")), h$3("p", { key: "5fed5465662b20ce3339f95c1fda1ce6c8b72a32" }, instance.t("nylasParticipantCustomAvailability.headerSubTitle"))), h$3("div", { key: "1a3bd4ebcfc8e420674dcbbe39e7c77900bceb8e", class: "content", part: "npca__content" }, h$3("form", { key: "7dc0f391a4c56336bea907f2c2e78b6c17d06f0f", ref: (ue) => this.participantFormRef = ue }, Object.keys(this.selectedParticipants).map((ue, ge) => {
|
|
32052
32052
|
var vt;
|
|
32053
32053
|
const Oe = this.selectedParticipants[ue], Ke = ((vt = Oe.availability) == null ? void 0 : vt.open_hours) || [];
|
|
32054
32054
|
if (!(!Oe || !Oe.name || !Oe.availability))
|
|
@@ -32056,9 +32056,9 @@ const NylasParticipantsCustomAvailability = proxyCustomElement(class extends H$4
|
|
|
32056
32056
|
Oe.setCustom && (this.selectedParticipants[ue].isOpen = !Oe.isOpen, this.selectedParticipants[ue].tab = "availability", this.selectedParticipants = { ...this.selectedParticipants });
|
|
32057
32057
|
} }, h$3("chevron-icon", { width: "24", height: "24" })))), Oe.isOpen && h$3("div", { class: "participant-tabs", part: "npca__participant-tabs" }, h$3("div", { class: `participant-tab ${Oe.tab === "availability" ? "active" : ""}`, part: "npca__participant-tab", onClick: () => {
|
|
32058
32058
|
this.selectedParticipants[ue].tab = "availability", this.selectedParticipants = { ...this.selectedParticipants };
|
|
32059
|
-
} }, h$3("span", null, instance.t("nylasParticipantCustomAvailability.participantAvailabilityTab"))), h$3("div", { class: `participant-tab ${Oe.tab === "specific-
|
|
32060
|
-
this.selectedParticipants[ue].tab = "specific-
|
|
32061
|
-
} }, h$3("span", null, instance.t("nylasParticipantCustomAvailability.
|
|
32059
|
+
} }, h$3("span", null, instance.t("nylasParticipantCustomAvailability.participantAvailabilityTab"))), h$3("div", { class: `participant-tab ${Oe.tab === "specific-time-availability" ? "active" : ""}`, part: "npca__participant-tab", onClick: () => {
|
|
32060
|
+
this.selectedParticipants[ue].tab = "specific-time-availability", this.selectedParticipants = { ...this.selectedParticipants };
|
|
32061
|
+
} }, h$3("span", null, instance.t("nylasParticipantCustomAvailability.participantSpecificTimeAvailabilityTab")))), Oe.tab === "availability" && Oe.isOpen && h$3("nylas-availability-picker", { key: ge, name: `participant-availability-${ge}-${ue}`, openHours: Ke, defaultTimezone: Oe.timezone, hideHeader: !0 }), Oe.tab === "specific-time-availability" && Oe.isOpen && h$3("nylas-specific-time-availability-picker", { key: ge, name: `participant-specific-time-availability-${ge}-${ue}`, specificTimesAvailability: Oe.specificTimesAvailability }));
|
|
32062
32062
|
})))));
|
|
32063
32063
|
}
|
|
32064
32064
|
static get formAssociated() {
|
|
@@ -32111,7 +32111,7 @@ __decorate$b([
|
|
|
32111
32111
|
function defineCustomElement$i() {
|
|
32112
32112
|
if (typeof customElements > "u")
|
|
32113
32113
|
return;
|
|
32114
|
-
["nylas-participants-custom-availability", "add-circle-icon", "button-component", "calendar-icon", "chevron-icon", "close-icon", "globe-icon", "info-icon", "loading-icon", "nylas-availability-picker", "nylas-date-component", "nylas-specific-
|
|
32114
|
+
["nylas-participants-custom-availability", "add-circle-icon", "button-component", "calendar-icon", "chevron-icon", "close-icon", "globe-icon", "info-icon", "loading-icon", "nylas-availability-picker", "nylas-date-component", "nylas-specific-time-availability-picker", "nylas-time-window-picker", "search-icon", "select-dropdown", "toggle-switch", "tooltip-component"].forEach((ue) => {
|
|
32115
32115
|
switch (ue) {
|
|
32116
32116
|
case "nylas-participants-custom-availability":
|
|
32117
32117
|
customElements.get(ue) || customElements.define(ue, NylasParticipantsCustomAvailability);
|
|
@@ -32146,7 +32146,7 @@ function defineCustomElement$i() {
|
|
|
32146
32146
|
case "nylas-date-component":
|
|
32147
32147
|
customElements.get(ue) || defineCustomElement$Q();
|
|
32148
32148
|
break;
|
|
32149
|
-
case "nylas-specific-
|
|
32149
|
+
case "nylas-specific-time-availability-picker":
|
|
32150
32150
|
customElements.get(ue) || defineCustomElement$j();
|
|
32151
32151
|
break;
|
|
32152
32152
|
case "nylas-time-window-picker":
|
|
@@ -37464,13 +37464,13 @@ const buildFeedbackIntegration = ({
|
|
|
37464
37464
|
}
|
|
37465
37465
|
return Oi;
|
|
37466
37466
|
}, Hi = async (Bi, Ui, Wi) => {
|
|
37467
|
-
const
|
|
37467
|
+
const zi = getClient(), Gi = zi && zi.getIntegrationByName(Bi);
|
|
37468
37468
|
if (Gi)
|
|
37469
37469
|
return Gi;
|
|
37470
37470
|
const Yi = (Ui && Ui() || await ve(Wi, li))();
|
|
37471
|
-
return
|
|
37471
|
+
return zi && zi.addIntegration(Yi), Yi;
|
|
37472
37472
|
}, Ii = async (Bi) => {
|
|
37473
|
-
const Ui = Bi.enableScreenshot && isScreenshotSupported(), [Wi,
|
|
37473
|
+
const Ui = Bi.enableScreenshot && isScreenshotSupported(), [Wi, zi] = await Promise.all([
|
|
37474
37474
|
Hi("FeedbackModal", ue, "feedbackModalIntegration"),
|
|
37475
37475
|
Ui ? Hi(
|
|
37476
37476
|
"FeedbackScreenshot",
|
|
@@ -37482,7 +37482,7 @@ const buildFeedbackIntegration = ({
|
|
|
37482
37482
|
throw DEBUG_BUILD && logger.error(
|
|
37483
37483
|
"[Feedback] Missing feedback modal integration. Try using `feedbackSyncIntegration` in your `Sentry.init`."
|
|
37484
37484
|
), new Error("[Feedback] Missing feedback modal integration!");
|
|
37485
|
-
Ui && !
|
|
37485
|
+
Ui && !zi && DEBUG_BUILD && logger.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.");
|
|
37486
37486
|
const Gi = Wi.createDialog({
|
|
37487
37487
|
options: {
|
|
37488
37488
|
...Bi,
|
|
@@ -37493,14 +37493,14 @@ const buildFeedbackIntegration = ({
|
|
|
37493
37493
|
Gi && Gi.close(), Bi.onFormSubmitted && Bi.onFormSubmitted();
|
|
37494
37494
|
}
|
|
37495
37495
|
},
|
|
37496
|
-
screenshotIntegration: Ui ?
|
|
37496
|
+
screenshotIntegration: Ui ? zi : void 0,
|
|
37497
37497
|
sendFeedback,
|
|
37498
37498
|
shadow: Ni(Bi)
|
|
37499
37499
|
});
|
|
37500
37500
|
return Gi;
|
|
37501
|
-
},
|
|
37502
|
-
const Wi = mergeOptions(Pi, Ui),
|
|
37503
|
-
if (!
|
|
37501
|
+
}, ji = (Bi, Ui = {}) => {
|
|
37502
|
+
const Wi = mergeOptions(Pi, Ui), zi = typeof Bi == "string" ? DOCUMENT.querySelector(Bi) : typeof Bi.addEventListener == "function" ? Bi : null;
|
|
37503
|
+
if (!zi)
|
|
37504
37504
|
throw DEBUG_BUILD && logger.error("[Feedback] Unable to attach to target element"), new Error("Unable to attach to target element");
|
|
37505
37505
|
let Gi = null;
|
|
37506
37506
|
const Ki = async () => {
|
|
@@ -37511,30 +37511,30 @@ const buildFeedbackIntegration = ({
|
|
|
37511
37511
|
}
|
|
37512
37512
|
})), Gi.appendToDom(), Gi.open();
|
|
37513
37513
|
};
|
|
37514
|
-
|
|
37514
|
+
zi.addEventListener("click", Ki);
|
|
37515
37515
|
const Yi = () => {
|
|
37516
|
-
Li = Li.filter((Xi) => Xi !== Yi), Gi && Gi.removeFromDom(), Gi = null,
|
|
37516
|
+
Li = Li.filter((Xi) => Xi !== Yi), Gi && Gi.removeFromDom(), Gi = null, zi.removeEventListener("click", Ki);
|
|
37517
37517
|
};
|
|
37518
37518
|
return Li.push(Yi), Yi;
|
|
37519
37519
|
}, qi = (Bi = {}) => {
|
|
37520
|
-
const Ui = mergeOptions(Pi, Bi), Wi = Ni(Ui),
|
|
37520
|
+
const Ui = mergeOptions(Pi, Bi), Wi = Ni(Ui), zi = Actor({
|
|
37521
37521
|
triggerLabel: Ui.triggerLabel,
|
|
37522
37522
|
triggerAriaLabel: Ui.triggerAriaLabel,
|
|
37523
37523
|
shadow: Wi,
|
|
37524
37524
|
styleNonce: si
|
|
37525
37525
|
});
|
|
37526
|
-
return zi
|
|
37526
|
+
return ji(zi.el, {
|
|
37527
37527
|
...Ui,
|
|
37528
37528
|
onFormOpen() {
|
|
37529
|
-
|
|
37529
|
+
zi.hide();
|
|
37530
37530
|
},
|
|
37531
37531
|
onFormClose() {
|
|
37532
|
-
|
|
37532
|
+
zi.show();
|
|
37533
37533
|
},
|
|
37534
37534
|
onFormSubmitted() {
|
|
37535
|
-
|
|
37535
|
+
zi.show();
|
|
37536
37536
|
}
|
|
37537
|
-
}),
|
|
37537
|
+
}), zi;
|
|
37538
37538
|
};
|
|
37539
37539
|
return {
|
|
37540
37540
|
name: "Feedback",
|
|
@@ -37546,7 +37546,7 @@ const buildFeedbackIntegration = ({
|
|
|
37546
37546
|
*
|
|
37547
37547
|
* The returned function can be used to remove the click listener
|
|
37548
37548
|
*/
|
|
37549
|
-
attachTo:
|
|
37549
|
+
attachTo: ji,
|
|
37550
37550
|
/**
|
|
37551
37551
|
* Creates a new widget which is composed of a Button which triggers a Dialog.
|
|
37552
37552
|
* Accepts partial options to override any options passed to constructor.
|
|
@@ -39171,7 +39171,7 @@ var __decorate$6 = function(ve, ue, ge, Oe) {
|
|
|
39171
39171
|
const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
39172
39172
|
constructor() {
|
|
39173
39173
|
super(), this.__registerHost(), this.schedulerConfigChanged = createEvent(this, "schedulerConfigChanged", 7), this.schedulerConfigCreated = createEvent(this, "schedulerConfigCreated", 7), this.cancelButtonClick = createEvent(this, "cancelButtonClick", 7), this.formSubmitted = createEvent(this, "formSubmitted", 7), this.previewButtonClicked = createEvent(this, "previewButtonClicked", 7), this.schedulerEditorFormUpdated = createEvent(this, "schedulerEditorFormUpdated", 7), this.nylasSchedulerError = createEvent(this, "nylasSchedulerError", 6), this.dismissNotification = createEvent(this, "dismissNotification", 7), this.formSubmissionHandler = async (ue) => {
|
|
39174
|
-
var Wi,
|
|
39174
|
+
var Wi, zi, Gi, Ki, Yi, Xi, ta, na, ia, aa, ra, oa, sa, la, ca, da, ua;
|
|
39175
39175
|
ue.preventDefault();
|
|
39176
39176
|
const ge = await this.formSubmitted.emit();
|
|
39177
39177
|
if (debug("[nylas-editor-tabs]", "formSubmissionHandler", ge), !this.formRef.checkValidity() || ge.defaultPrevented) {
|
|
@@ -39186,7 +39186,7 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39186
39186
|
this.isLoading = !0, this.hasUnsavedChanges = !1;
|
|
39187
39187
|
const Ke = this.updateFormState();
|
|
39188
39188
|
debug("[nylas-editor-tabs]", "formState", Ke);
|
|
39189
|
-
const { title: vt, description: ln, duration: ei, availability: ti, bookingCalendar: ni, location: ii, bookingType: ai, buffer: ri, availableDaysInFuture: oi, minCancellationNotice: si, minBookingNotice: li, cancellationPolicy: ci, timeslotInterval: di, additionalGuestsHidden: ui, hideCancellationOptions: pi, hideReschedulingOptions: mi, participants: vi, participantOpenHours: yi,
|
|
39189
|
+
const { title: vt, description: ln, duration: ei, availability: ti, bookingCalendar: ni, location: ii, bookingType: ai, buffer: ri, availableDaysInFuture: oi, minCancellationNotice: si, minBookingNotice: li, cancellationPolicy: ci, timeslotInterval: di, additionalGuestsHidden: ui, hideCancellationOptions: pi, hideReschedulingOptions: mi, participants: vi, participantOpenHours: yi, participantSpecificTimeAvailability: Ei, additionalFields: Ti, participantCalendars: hi, conferencing: wi, participantBookingCalendars: gi, reminders: Ci, emailTemplate: $i, redirectUrl: ki, availabilityMethod: fi, slug: _i, appearance: bi, name: Si, disableEmails: xi, organizerLocale: Di } = Ke, Ai = ((zi = (Wi = this.selectedConfiguration) == null ? void 0 : Wi.participants) == null ? void 0 : zi.find((Fi) => Fi.is_organizer)) || (vi == null ? void 0 : vi.find((Fi) => Fi.is_organizer)), Ri = hi && (Ai != null && Ai.email) ? hi[Ai == null ? void 0 : Ai.email] : [], Mi = ((Gi = Ai == null ? void 0 : Ai.booking) == null ? void 0 : Gi.calendar_id) || ni, Pi = ei ? parseInt(ei) : 30, Oi = vi && (vi == null ? void 0 : vi.length) > 0 ? vi : [
|
|
39190
39190
|
{
|
|
39191
39191
|
name: (Ai == null ? void 0 : Ai.name) ?? ((Ki = this.currentUser) == null ? void 0 : Ki.name) ?? "",
|
|
39192
39192
|
email: (Ai == null ? void 0 : Ai.email) ?? ((Yi = this.currentUser) == null ? void 0 : Yi.email) ?? "",
|
|
@@ -39234,7 +39234,7 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39234
39234
|
calendar_ids: Ea ? [ba] : ea,
|
|
39235
39235
|
open_hours: (yi == null ? void 0 : yi[Fi.email]) ?? ((ma = Fi.availability) == null ? void 0 : ma.open_hours) ?? []
|
|
39236
39236
|
},
|
|
39237
|
-
|
|
39237
|
+
specific_time_availability: (Ei == null ? void 0 : Ei[Fi.email]) ?? Fi.specific_time_availability ?? [],
|
|
39238
39238
|
booking: {
|
|
39239
39239
|
calendar_id: ba
|
|
39240
39240
|
}
|
|
@@ -39249,7 +39249,7 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39249
39249
|
open_hours: (yi == null ? void 0 : yi[Fi.email]) ?? ((ya = Fi.availability) == null ? void 0 : ya.open_hours) ?? []
|
|
39250
39250
|
} : void 0,
|
|
39251
39251
|
booking: Ji,
|
|
39252
|
-
|
|
39252
|
+
specific_time_availability: (Ei == null ? void 0 : Ei[Fi.email]) ?? Fi.specific_time_availability ?? []
|
|
39253
39253
|
};
|
|
39254
39254
|
}) : []
|
|
39255
39255
|
],
|
|
@@ -39282,7 +39282,7 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39282
39282
|
appearance: bi
|
|
39283
39283
|
}, Hi = mergeDeep(this.selectedConfiguration, Ni || {}), Ii = this.action === "create" ? Hi : Ni;
|
|
39284
39284
|
this.isConfigRoundRobin(Ii) && (Ii.participants = Ii.participants.map((Fi) => ({ ...Fi, is_organizer: void 0 })));
|
|
39285
|
-
const
|
|
39285
|
+
const ji = (Fi) => {
|
|
39286
39286
|
this.isLoading = !1, this.changesSaved = !0, setTimeout(() => {
|
|
39287
39287
|
this.changesSaved = !1;
|
|
39288
39288
|
}, 5e3);
|
|
@@ -39290,7 +39290,7 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39290
39290
|
var Zi;
|
|
39291
39291
|
return Fi.id === ((Zi = this.selectedConfiguration) == null ? void 0 : Zi.id);
|
|
39292
39292
|
})) || {}, Ui = this.checkForOrganizerConfirmationError(mergeDeep(Ii, Bi));
|
|
39293
|
-
qi || Ui || this.schedulerConfigChanged.emit({ config: Ii, resetLoadingState:
|
|
39293
|
+
qi || Ui || this.schedulerConfigChanged.emit({ config: Ii, resetLoadingState: ji, action: this.action, host: this.host });
|
|
39294
39294
|
}, this.isConfigRoundRobin = (ue) => {
|
|
39295
39295
|
var ge, Oe, Ke, vt;
|
|
39296
39296
|
return ((Oe = (ge = ue == null ? void 0 : ue.availability) == null ? void 0 : ge.availability_rules) == null ? void 0 : Oe.availability_method) === "max-availability" || ((vt = (Ke = ue.availability) == null ? void 0 : Ke.availability_rules) == null ? void 0 : vt.availability_method) === "max-fairness";
|
|
@@ -39389,7 +39389,7 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39389
39389
|
var ge, Oe;
|
|
39390
39390
|
debug("[nylas-editor-tabs]", "componentDidLoad"), this.enableUserFeedback && !isInitialized() && init({
|
|
39391
39391
|
dsn: "https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816",
|
|
39392
|
-
release: "2.0
|
|
39392
|
+
release: "2.1.0",
|
|
39393
39393
|
integrations: (Ke) => [
|
|
39394
39394
|
...Ke.filter((vt) => !1),
|
|
39395
39395
|
feedbackSyncIntegration({
|
|
@@ -39433,7 +39433,7 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39433
39433
|
captureContext: {
|
|
39434
39434
|
tags: {
|
|
39435
39435
|
"nylas-web-element": "nylas-scheduler-editor",
|
|
39436
|
-
"nylas-web-element-version": "2.0
|
|
39436
|
+
"nylas-web-element-version": "2.1.0",
|
|
39437
39437
|
"nylas-config-id": (ln = this.selectedConfiguration) == null ? void 0 : ln.id,
|
|
39438
39438
|
"nylas-slug": (ei = this.selectedConfiguration) == null ? void 0 : ei.slug,
|
|
39439
39439
|
"host-url": window.location.href
|
|
@@ -39569,9 +39569,9 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39569
39569
|
this.formState.participantOpenHours = Oe;
|
|
39570
39570
|
break;
|
|
39571
39571
|
}
|
|
39572
|
-
case "participant-custom-availability-specific-
|
|
39572
|
+
case "participant-custom-availability-specific-time": {
|
|
39573
39573
|
const Oe = JSON.parse(ue.toString());
|
|
39574
|
-
this.formState.
|
|
39574
|
+
this.formState.participantSpecificTimeAvailability = Oe;
|
|
39575
39575
|
break;
|
|
39576
39576
|
}
|
|
39577
39577
|
case "additional-fields":
|
|
@@ -39629,19 +39629,19 @@ const NylasEditorTabs = proxyCustomElement(class extends H$4 {
|
|
|
39629
39629
|
}
|
|
39630
39630
|
render() {
|
|
39631
39631
|
var ue, ge, Oe, Ke, vt, ln;
|
|
39632
|
-
return debug("[nylas-editor-tabs]", "render", this.formState), h$3(Host, { key: "
|
|
39632
|
+
return debug("[nylas-editor-tabs]", "render", this.formState), h$3(Host, { key: "d6de6e647a438f943144dcf2a18b8ea02346e0bc" }, h$3("nylas-notification", { key: "795d417d7862ff3158056ac723f391aa0df9ba58" }), h$3("form", { key: "b3885ab861807c55e0afe513bbab779c3d1852fb", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (ei) => this.formRef = ei, noValidate: !0 }, this.mode === "app" ? h$3("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, h$3("div", { class: "tabs", part: "editor__tabs net__tabs" }, h$3("button", { name: Tab.EventInfo, class: { tab: !0, active: this.activeTab == Tab.EventInfo, hide: this.hideTab(Tab.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: (ei) => this.setActiveTab(ei, Tab.EventInfo) }, h$3("calendar-info-icon", { width: "16", height: "16" }), instance.t("eventInfoTab")), h$3("button", { name: Tab.Availability, class: { tab: !0, active: this.activeTab == Tab.Availability, hide: this.hideTab(Tab.Availability) }, part: "editortab__availability net__tab-availability", onClick: (ei) => this.setActiveTab(ei, Tab.Availability) }, h$3("calendar-patterns-icon", { width: "16", height: "16" }), instance.t("availabilityTab")), h$3("button", { name: Tab.Participants, class: { tab: !0, active: this.activeTab == Tab.Participants, hide: this.hideTab(Tab.Participants) }, part: "editortab__participants net__tab-participants", onClick: (ei) => this.setActiveTab(ei, Tab.Participants) }, h$3("people-icon", { width: "16", height: "16" }), instance.t("participantsTab")), h$3("button", { name: Tab.BookingOptions, class: { tab: !0, active: this.activeTab == Tab.BookingOptions, hide: this.hideTab(Tab.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (ei) => this.setActiveTab(ei, Tab.BookingOptions) }, h$3("flow-icon", { width: "16", height: "16" }), instance.t("bookingOptionsTab")), h$3("button", { name: Tab.BookingForm, class: { tab: !0, active: this.activeTab == "bookingForm", hide: this.hideTab(Tab.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (ei) => this.setActiveTab(ei, Tab.BookingForm) }, this.activeTab == Tab.BookingForm ? h$3("calendar-agenda-fill-icon", { width: "16", height: "16" }) : h$3("calendar-agenda-icon", { width: "16", height: "16" }), instance.t("bookingFormTab")), h$3("button", { name: Tab.Communications, class: { tab: !0, active: this.activeTab == "communications", hide: this.hideTab(Tab.Communications) }, onClick: (ei) => this.setActiveTab(ei, Tab.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == Tab.Communications ? h$3("envelope-fill-icon", { width: "16", height: "16" }) : h$3("envelope-icon", { width: "16", height: "16" }), instance.t("communicationsTab")), h$3("button", { name: Tab.PageStyles, class: { tab: !0, active: this.activeTab == "pageStyles", hide: this.hideTab(Tab.PageStyles) }, onClick: (ei) => this.setActiveTab(ei, Tab.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == Tab.PageStyles ? h$3("paintbrush-fill-icon", { width: "16", height: "16" }) : h$3("paintbrush-icon", { width: "16", height: "16" }), instance.t("pageStylesTab"))), h$3("div", { class: {
|
|
39633
39633
|
"tab-content": !0,
|
|
39634
39634
|
fadeIn: this.loaded
|
|
39635
|
-
}, part: "editor__tab-content net__tab-content" }, h$3(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((ue = this.selectedConfiguration) == null ? void 0 : ue.id) ?? "new", i18next: instance }))) : h$3("div", { class: "composable", key: (ge = this.selectedConfiguration) == null ? void 0 : ge.id }, h$3("slot", null)), h$3("div", { key: "
|
|
39635
|
+
}, part: "editor__tab-content net__tab-content" }, h$3(TabContents, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((ue = this.selectedConfiguration) == null ? void 0 : ue.id) ?? "new", i18next: instance }))) : h$3("div", { class: "composable", key: (ge = this.selectedConfiguration) == null ? void 0 : ge.id }, h$3("slot", null)), h$3("div", { key: "a7611ff8dc0c82d3c6d9f3d3d3c9f8b34f0d30c3", class: "footer", part: "editor__footer net__footer" }, h$3("div", { key: "2e448c950a6278a1c9864c8ceb61adf42a0eff81", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && h$3("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (ei) => this.onFeedbackClick(ei) }, h$3("feedback-icon", null))), h$3("div", { key: "7580eeb4b356093c1bdc69fbc108db7f05abeed9", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, h$3("p", { key: "14f425d8a5b78602c03459959cb138f3ca0d8acd", class: {
|
|
39636
39636
|
"unsaved-changes": this.hasUnsavedChanges && !this.changesSaved,
|
|
39637
39637
|
"saved-changes": this.changesSaved,
|
|
39638
39638
|
error: ((Oe = this.error) == null ? void 0 : Oe.message) !== "",
|
|
39639
39639
|
"error-full-width": ((Ke = this.error) == null ? void 0 : Ke.message) !== "" && this.action === "create"
|
|
39640
39640
|
} }, ((vt = this.error) == null ? void 0 : vt.message) == "" && this.hasUnsavedChanges && !this.changesSaved ? instance.t("unsavedChangesLabel") : ((ln = this.error) == null ? void 0 : ln.message) == "" && this.changesSaved ? `${instance.t("changesSavedLabel")}!` : ""), this.schedulerPreviewLink !== "" && this.action === "edit" && h$3("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: (ei) => {
|
|
39641
39641
|
ei.preventDefault(), this.previewButtonClicked.emit(this.host).defaultPrevented || window.open(parsePreviewLink(this.schedulerPreviewLink, this.selectedConfiguration), "_blank");
|
|
39642
|
-
}, variant: "basic" }, h$3("eye-icon", null)), h$3("button-component", { key: "
|
|
39642
|
+
}, variant: "basic" }, h$3("eye-icon", null)), h$3("button-component", { key: "eee37b3b9ff4fcff14891a681f544e7b617cb22d", type: "button", disabled: this.isLoading, clickHandler: (ei) => {
|
|
39643
39643
|
ei.preventDefault(), this.cancelButtonClick.emit(), this.host.resetError();
|
|
39644
|
-
}, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, instance.t("cancelButton")), h$3("button-component", { key: "
|
|
39644
|
+
}, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, instance.t("cancelButton")), h$3("button-component", { key: "e4a8bc0a8d3af872005595f2581a388ce3eac659", class: { "save-changes": this.action === "edit" }, type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? h$3("span", null, instance.t("savingButtonText"), h$3("loading-icon", null), " ") : this.action === "create" ? `${instance.t("createButtonText")}` : `${instance.t("saveChangesButtonText")}`)))), this.showFeedbackModal && h$3("nylas-feedback-form", null));
|
|
39645
39645
|
}
|
|
39646
39646
|
get host() {
|
|
39647
39647
|
return this;
|
|
@@ -39748,7 +39748,7 @@ __decorate$6([
|
|
|
39748
39748
|
function defineCustomElement$8() {
|
|
39749
39749
|
if (typeof customElements > "u")
|
|
39750
39750
|
return;
|
|
39751
|
-
["nylas-editor-tabs", "add-circle-icon", "button-component", "calendar-agenda-fill-icon", "calendar-agenda-icon", "calendar-icon", "calendar-info-icon", "calendar-patterns-icon", "checkbox-component", "checkmark-icon", "chevron-icon", "clock-icon", "close-icon", "copy-icon", "dragable-icon", "edit-icon", "envelope-fill-icon", "envelope-icon", "eye-icon", "feedback-icon", "flow-icon", "globe-icon", "google-meet-icon", "info-icon", "input-color-picker", "input-component", "input-dropdown", "input-image-url", "loading-icon", "location-icon", "location-off-icon", "microsoft-teams-icon", "multi-select-dropdown", "nylas-additional-participants", "nylas-availability-picker", "nylas-booking-calendar-picker", "nylas-booking-confirmation-redirect", "nylas-booking-confirmation-type", "nylas-booking-form-config", "nylas-buffer-time", "nylas-calendar-picker", "nylas-cancellation-policy", "nylas-confirmation-email", "nylas-connected-calendars", "nylas-custom-booking-flow", "nylas-custom-event-slug", "nylas-customize-booking-settings", "nylas-date-component", "nylas-disable-emails", "nylas-event-description", "nylas-event-duration", "nylas-event-info", "nylas-event-limits", "nylas-event-location", "nylas-event-title", "nylas-feedback-form", "nylas-form-card", "nylas-limit-future-bookings", "nylas-min-booking-notice", "nylas-min-cancellation-notice", "nylas-notification", "nylas-page-name", "nylas-page-styling", "nylas-participant-booking-calendars", "nylas-participants-custom-availability", "nylas-reminder-emails", "nylas-reminder-time", "nylas-scheduling-method", "nylas-specific-
|
|
39751
|
+
["nylas-editor-tabs", "add-circle-icon", "button-component", "calendar-agenda-fill-icon", "calendar-agenda-icon", "calendar-icon", "calendar-info-icon", "calendar-patterns-icon", "checkbox-component", "checkmark-icon", "chevron-icon", "clock-icon", "close-icon", "copy-icon", "dragable-icon", "edit-icon", "envelope-fill-icon", "envelope-icon", "eye-icon", "feedback-icon", "flow-icon", "globe-icon", "google-meet-icon", "info-icon", "input-color-picker", "input-component", "input-dropdown", "input-image-url", "loading-icon", "location-icon", "location-off-icon", "microsoft-teams-icon", "multi-select-dropdown", "nylas-additional-participants", "nylas-availability-picker", "nylas-booking-calendar-picker", "nylas-booking-confirmation-redirect", "nylas-booking-confirmation-type", "nylas-booking-form-config", "nylas-buffer-time", "nylas-calendar-picker", "nylas-cancellation-policy", "nylas-confirmation-email", "nylas-connected-calendars", "nylas-custom-booking-flow", "nylas-custom-event-slug", "nylas-customize-booking-settings", "nylas-date-component", "nylas-disable-emails", "nylas-event-description", "nylas-event-duration", "nylas-event-info", "nylas-event-limits", "nylas-event-location", "nylas-event-title", "nylas-feedback-form", "nylas-form-card", "nylas-limit-future-bookings", "nylas-min-booking-notice", "nylas-min-cancellation-notice", "nylas-notification", "nylas-page-name", "nylas-page-styling", "nylas-participant-booking-calendars", "nylas-participants-custom-availability", "nylas-reminder-emails", "nylas-reminder-time", "nylas-scheduling-method", "nylas-specific-time-availability-picker", "nylas-time-window-picker", "nylas-timeslot-interval", "paintbrush-fill-icon", "paintbrush-icon", "people-icon", "person-clipboard-icon", "plus-icon", "radio-button-group", "search-icon", "select-dropdown", "textarea-component", "time-period-selector", "toggle-switch", "tooltip-component", "translate-icon", "trash-icon", "warning-icon", "zoom-icon"].forEach((ue) => {
|
|
39752
39752
|
switch (ue) {
|
|
39753
39753
|
case "nylas-editor-tabs":
|
|
39754
39754
|
customElements.get(ue) || customElements.define(ue, NylasEditorTabs);
|
|
@@ -39954,7 +39954,7 @@ function defineCustomElement$8() {
|
|
|
39954
39954
|
case "nylas-scheduling-method":
|
|
39955
39955
|
customElements.get(ue) || defineCustomElement$e();
|
|
39956
39956
|
break;
|
|
39957
|
-
case "nylas-specific-
|
|
39957
|
+
case "nylas-specific-time-availability-picker":
|
|
39958
39958
|
customElements.get(ue) || defineCustomElement$j();
|
|
39959
39959
|
break;
|
|
39960
39960
|
case "nylas-time-window-picker":
|
|
@@ -50202,7 +50202,7 @@ var __decorate$2 = function(ve, ue, ge, Oe) {
|
|
|
50202
50202
|
const NylasEditorTabsGroup = proxyCustomElement(class extends H$4 {
|
|
50203
50203
|
constructor() {
|
|
50204
50204
|
super(), this.__registerHost(), this.schedulerConfigChanged = createEvent(this, "schedulerConfigChanged", 7), this.schedulerConfigCreated = createEvent(this, "schedulerConfigCreated", 7), this.cancelButtonClick = createEvent(this, "cancelButtonClick", 7), this.formSubmitted = createEvent(this, "formSubmitted", 7), this.previewButtonClicked = createEvent(this, "previewButtonClicked", 7), this.schedulerEditorFormUpdated = createEvent(this, "schedulerEditorFormUpdated", 7), this.groupEventCreateTriggered = createEvent(this, "groupEventCreateTriggered", 7), this.groupEventUpdateTriggered = createEvent(this, "groupEventUpdateTriggered", 7), this.groupEventDeleteTriggered = createEvent(this, "groupEventDeleteTriggered", 7), this.groupEventImportTriggered = createEvent(this, "groupEventImportTriggered", 7), this.saveGroupEventChangesError = createEvent(this, "saveGroupEventChangesError", 7), this.nylasSchedulerError = createEvent(this, "nylasSchedulerError", 6), this.dismissNotification = createEvent(this, "dismissNotification", 6), this.formSubmissionHandler = async (ue) => {
|
|
50205
|
-
var Ai, Ri, Mi, Pi, Oi, Li, Ni, Hi, Ii,
|
|
50205
|
+
var Ai, Ri, Mi, Pi, Oi, Li, Ni, Hi, Ii, ji, qi;
|
|
50206
50206
|
ue.preventDefault();
|
|
50207
50207
|
const ge = await this.formSubmitted.emit();
|
|
50208
50208
|
if (debug("[nylas-editor-tabs-group]", "formSubmissionHandler", ge), !this.formRef.checkValidity() || ge.defaultPrevented) {
|
|
@@ -50265,7 +50265,7 @@ const NylasEditorTabsGroup = proxyCustomElement(class extends H$4 {
|
|
|
50265
50265
|
when: {
|
|
50266
50266
|
start_time: ((Hi = Ti == null ? void 0 : Ti.when) == null ? void 0 : Hi.start_time) ?? 0,
|
|
50267
50267
|
end_time: ((Ii = Ti == null ? void 0 : Ti.when) == null ? void 0 : Ii.end_time) ?? 0,
|
|
50268
|
-
start_timezone: ((
|
|
50268
|
+
start_timezone: ((ji = Ti == null ? void 0 : Ti.when) == null ? void 0 : ji.start_timezone) ?? "",
|
|
50269
50269
|
end_timezone: ((qi = Ti == null ? void 0 : Ti.when) == null ? void 0 : qi.end_timezone) ?? ""
|
|
50270
50270
|
},
|
|
50271
50271
|
recurrence: (Ti == null ? void 0 : Ti.recurrence) ?? [],
|
|
@@ -50385,7 +50385,7 @@ const NylasEditorTabsGroup = proxyCustomElement(class extends H$4 {
|
|
|
50385
50385
|
var ge, Oe, Ke;
|
|
50386
50386
|
debug("[nylas-editor-tabs-group]", "componentDidLoad"), this.enableUserFeedback && !isInitialized() && init({
|
|
50387
50387
|
dsn: "https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816",
|
|
50388
|
-
release: "2.0
|
|
50388
|
+
release: "2.1.0",
|
|
50389
50389
|
integrations: (vt) => [
|
|
50390
50390
|
...vt.filter((ln) => !1),
|
|
50391
50391
|
feedbackSyncIntegration({
|
|
@@ -50424,7 +50424,7 @@ const NylasEditorTabsGroup = proxyCustomElement(class extends H$4 {
|
|
|
50424
50424
|
captureContext: {
|
|
50425
50425
|
tags: {
|
|
50426
50426
|
"nylas-web-element": "nylas-scheduler-editor",
|
|
50427
|
-
"nylas-web-element-version": "2.0
|
|
50427
|
+
"nylas-web-element-version": "2.1.0"
|
|
50428
50428
|
},
|
|
50429
50429
|
extra: {
|
|
50430
50430
|
configId: (Ke = this.selectedConfiguration) == null ? void 0 : Ke.id,
|
|
@@ -53182,7 +53182,7 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
|
|
|
53182
53182
|
max_fairness: !0,
|
|
53183
53183
|
max_availability: !0,
|
|
53184
53184
|
group: !0
|
|
53185
|
-
}, this.themeConfig = void 0, this.automaticComponentRegistration = !0, this.selectedLanguage = this.defaultLanguage || LANGUAGE_CODE.en, this.langVersion = 0, this.version = "2.0
|
|
53185
|
+
}, this.themeConfig = void 0, this.automaticComponentRegistration = !0, this.selectedLanguage = this.defaultLanguage || LANGUAGE_CODE.en, this.langVersion = 0, this.version = "2.1.0";
|
|
53186
53186
|
}
|
|
53187
53187
|
connectedCallback() {
|
|
53188
53188
|
debug("[nylas-scheduler-editor] connectedCallback");
|
|
@@ -53253,7 +53253,7 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
|
|
|
53253
53253
|
}
|
|
53254
53254
|
async componentDidLoad() {
|
|
53255
53255
|
var ue;
|
|
53256
|
-
debug("[nylas-scheduler-editor] componentDidLoad"), await ((ue = this.baseProvider) == null ? void 0 : ue.componentDidLoad()), this.updateLocalization(this.localization), this.version = "2.0
|
|
53256
|
+
debug("[nylas-scheduler-editor] componentDidLoad"), await ((ue = this.baseProvider) == null ? void 0 : ue.componentDidLoad()), this.updateLocalization(this.localization), this.version = "2.1.0";
|
|
53257
53257
|
}
|
|
53258
53258
|
async componentDisconnected() {
|
|
53259
53259
|
var ue;
|
|
@@ -53317,7 +53317,7 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
|
|
|
53317
53317
|
}
|
|
53318
53318
|
}
|
|
53319
53319
|
render() {
|
|
53320
|
-
var vt, ln, ei, ti, ni, ii, ai, ri, oi, si, li, ci, di, ui, pi, mi, vi, yi, Ei, Ti, hi, wi, gi, Ci, $i, ki, fi, _i, bi, Si, xi, Di, Ai, Ri, Mi, Pi, Oi, Li, Ni, Hi, Ii,
|
|
53320
|
+
var vt, ln, ei, ti, ni, ii, ai, ri, oi, si, li, ci, di, ui, pi, mi, vi, yi, Ei, Ti, hi, wi, gi, Ci, $i, ki, fi, _i, bi, Si, xi, Di, Ai, Ri, Mi, Pi, Oi, Li, Ni, Hi, Ii, ji, qi, Bi;
|
|
53321
53321
|
const ue = this.host.querySelector('[slot="custom-page-style-inputs"]'), ge = (ei = (ln = (vt = this.stores) == null ? void 0 : vt.schedulerConfig) == null ? void 0 : ln.state.selectedConfiguration) == null ? void 0 : ei.id, Oe = Object.keys(LANGUAGE_MAP).map((Ui) => ({
|
|
53322
53322
|
label: LANGUAGE_MAP[Ui],
|
|
53323
53323
|
value: Ui
|
|
@@ -53327,7 +53327,7 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
|
|
|
53327
53327
|
}, part: "nse__language" }, h$3("select-dropdown", { key: "9f788d9d39f2a190ef388cacca206374e19da11c", name: "language", searchPlaceholder: instance.t("search"), options: Oe, withChevron: !1, themeConfig: this.themeConfig, defaultSelectedOption: Oe.find((Ui) => Ui.value == this.selectedLanguage), exportparts: "sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label" }, h$3("span", { key: "76aa9b5b9adea974e1e8a7ac1f47faee3fc8a320", slot: "select-icon" }, h$3("translate-icon", { key: "9dd3b210004d04b42c3d0209db60414c6c86c54c", width: "20", height: "20" })))), h$3("button", { key: "fa401a8ffb5f77caae60852e7a7be15f21868002", class: "scheduler-editor-close", title: "logout", onClick: (Ui) => this.handleSchedulerConfigCloseClicked(Ui), part: "nse__close-button" }, h$3("close-icon", { key: "96135ba113ecdad2d3223cc8df293d46b62565e5", width: "18", height: "18" }))), h$3("div", { key: "48970044629cfeafd07b4ccdb34e8d3ab67e0076", class: {
|
|
53328
53328
|
"scheduler-editor-content": !0,
|
|
53329
53329
|
"scheduler-editor-content--group": Ke
|
|
53330
|
-
}, part: "nse__content" }, ((si = (oi = this.stores) == null ? void 0 : oi.schedulerConfig) == null ? void 0 : si.state.currentUser) && this.stores.schedulerConfig.state.action === null && h$3("div", { class: "list-configurations", part: "nse__list-configurations" }, h$3("nylas-list-configurations", { exportparts: "nlc__create-new-cta, actions__dropdown, actions__dropdown-button, actions__dropdown-content, actions-Copy, actions-Preview, actions-Delete" })), ((ci = (li = this.stores) == null ? void 0 : li.schedulerConfig) == null ? void 0 : ci.state.currentUser) && this.stores.schedulerConfig.state.action === "create-select" && h$3("nylas-select-event-type", null), ((ui = (di = this.stores) == null ? void 0 : di.schedulerConfig) == null ? void 0 : ui.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && Ke && h$3("nylas-editor-tabs-group", { mode: "composable" }, h$3(ExpressFlow, { selectedEventType: ((vi = (mi = (pi = this.stores) == null ? void 0 : pi.schedulerConfig) == null ? void 0 : mi.state) == null ? void 0 : vi.selectedEventType) || CONFIGURATION_EVENT_TYPE.one_on_one, currentUser: (Ei = (yi = this.stores) == null ? void 0 : yi.schedulerConfig) == null ? void 0 : Ei.state.currentUser, calendars: (wi = (hi = (Ti = this.stores) == null ? void 0 : Ti.schedulerConfig) == null ? void 0 : hi.state) == null ? void 0 : wi.calendars, selectedConfiguration: ($i = (Ci = (gi = this.stores) == null ? void 0 : gi.schedulerConfig) == null ? void 0 : Ci.state) == null ? void 0 : $i.selectedConfiguration })), ((fi = (ki = this.stores) == null ? void 0 : ki.schedulerConfig) == null ? void 0 : fi.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && !Ke && h$3("nylas-editor-tabs", { mode: "composable" }, h$3(ExpressFlow, { selectedEventType: ((Si = (bi = (_i = this.stores) == null ? void 0 : _i.schedulerConfig) == null ? void 0 : bi.state) == null ? void 0 : Si.selectedEventType) || CONFIGURATION_EVENT_TYPE.one_on_one, currentUser: (Di = (xi = this.stores) == null ? void 0 : xi.schedulerConfig) == null ? void 0 : Di.state.currentUser, calendars: (Mi = (Ri = (Ai = this.stores) == null ? void 0 : Ai.schedulerConfig) == null ? void 0 : Ri.state) == null ? void 0 : Mi.calendars, selectedConfiguration: (Li = (Oi = (Pi = this.stores) == null ? void 0 : Pi.schedulerConfig) == null ? void 0 : Oi.state) == null ? void 0 : Li.selectedConfiguration })), ((Hi = (Ni = this.stores) == null ? void 0 : Ni.schedulerConfig) == null ? void 0 : Hi.state.currentUser) && this.stores.schedulerConfig.state.action === "edit" && Ke && h$3("nylas-editor-tabs-group", { key: ge, mode: this.mode }, this.mode === "composable" && h$3("slot", null), this.mode === "app" && ue && h$3("div", { style: { display: "none" }, slot: "custom-page-style-inputs", key: ge }, h$3("slot", { name: "custom-page-style-inputs" }))), ((
|
|
53330
|
+
}, part: "nse__content" }, ((si = (oi = this.stores) == null ? void 0 : oi.schedulerConfig) == null ? void 0 : si.state.currentUser) && this.stores.schedulerConfig.state.action === null && h$3("div", { class: "list-configurations", part: "nse__list-configurations" }, h$3("nylas-list-configurations", { exportparts: "nlc__create-new-cta, actions__dropdown, actions__dropdown-button, actions__dropdown-content, actions-Copy, actions-Preview, actions-Delete" })), ((ci = (li = this.stores) == null ? void 0 : li.schedulerConfig) == null ? void 0 : ci.state.currentUser) && this.stores.schedulerConfig.state.action === "create-select" && h$3("nylas-select-event-type", null), ((ui = (di = this.stores) == null ? void 0 : di.schedulerConfig) == null ? void 0 : ui.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && Ke && h$3("nylas-editor-tabs-group", { mode: "composable" }, h$3(ExpressFlow, { selectedEventType: ((vi = (mi = (pi = this.stores) == null ? void 0 : pi.schedulerConfig) == null ? void 0 : mi.state) == null ? void 0 : vi.selectedEventType) || CONFIGURATION_EVENT_TYPE.one_on_one, currentUser: (Ei = (yi = this.stores) == null ? void 0 : yi.schedulerConfig) == null ? void 0 : Ei.state.currentUser, calendars: (wi = (hi = (Ti = this.stores) == null ? void 0 : Ti.schedulerConfig) == null ? void 0 : hi.state) == null ? void 0 : wi.calendars, selectedConfiguration: ($i = (Ci = (gi = this.stores) == null ? void 0 : gi.schedulerConfig) == null ? void 0 : Ci.state) == null ? void 0 : $i.selectedConfiguration })), ((fi = (ki = this.stores) == null ? void 0 : ki.schedulerConfig) == null ? void 0 : fi.state.currentUser) && this.stores.schedulerConfig.state.action === "create" && !Ke && h$3("nylas-editor-tabs", { mode: "composable" }, h$3(ExpressFlow, { selectedEventType: ((Si = (bi = (_i = this.stores) == null ? void 0 : _i.schedulerConfig) == null ? void 0 : bi.state) == null ? void 0 : Si.selectedEventType) || CONFIGURATION_EVENT_TYPE.one_on_one, currentUser: (Di = (xi = this.stores) == null ? void 0 : xi.schedulerConfig) == null ? void 0 : Di.state.currentUser, calendars: (Mi = (Ri = (Ai = this.stores) == null ? void 0 : Ai.schedulerConfig) == null ? void 0 : Ri.state) == null ? void 0 : Mi.calendars, selectedConfiguration: (Li = (Oi = (Pi = this.stores) == null ? void 0 : Pi.schedulerConfig) == null ? void 0 : Oi.state) == null ? void 0 : Li.selectedConfiguration })), ((Hi = (Ni = this.stores) == null ? void 0 : Ni.schedulerConfig) == null ? void 0 : Hi.state.currentUser) && this.stores.schedulerConfig.state.action === "edit" && Ke && h$3("nylas-editor-tabs-group", { key: ge, mode: this.mode }, this.mode === "composable" && h$3("slot", null), this.mode === "app" && ue && h$3("div", { style: { display: "none" }, slot: "custom-page-style-inputs", key: ge }, h$3("slot", { name: "custom-page-style-inputs" }))), ((ji = (Ii = this.stores) == null ? void 0 : Ii.schedulerConfig) == null ? void 0 : ji.state.currentUser) && this.stores.schedulerConfig.state.action === "edit" && !Ke && h$3("nylas-editor-tabs", { key: ge, mode: this.mode }, this.mode === "composable" && h$3("slot", null), this.mode === "app" && ue && h$3("div", { style: { display: "none" }, slot: "custom-page-style-inputs", key: ge }, h$3("slot", { name: "custom-page-style-inputs" }))), !((Bi = (qi = this.stores) == null ? void 0 : qi.schedulerConfig) != null && Bi.state.currentUser) && h$3("slot", { name: "login-required" }, h$3(LoginRequired, { authenticationUrl: this.authenticationUrl }))));
|
|
53331
53331
|
}
|
|
53332
53332
|
get host() {
|
|
53333
53333
|
return this;
|
|
@@ -53382,7 +53382,7 @@ const nylasSchedulerEditorCss = ':host{display:flex;flex-direction:column;overfl
|
|
|
53382
53382
|
function defineCustomElement$1() {
|
|
53383
53383
|
if (typeof customElements > "u")
|
|
53384
53384
|
return;
|
|
53385
|
-
["nylas-scheduler-editor", "add-circle-icon", "button-component", "calendar-agenda-fill-icon", "calendar-agenda-icon", "calendar-icon", "calendar-info-icon", "calendar-patterns-icon", "checkbox-component", "checkbox-group", "checkmark-icon", "chevron-icon", "clock-icon", "close-icon", "copy-icon", "delete-icon", "dragable-icon", "edit-icon", "envelope-fill-icon", "envelope-icon", "eye-icon", "feedback-icon", "flow-icon", "globe-icon", "google-logo-icon", "google-meet-icon", "info-icon", "input-color-picker", "input-component", "input-dropdown", "input-image-url", "loading-icon", "location-icon", "location-off-icon", "microsoft-logo-icon", "microsoft-teams-icon", "multi-select-dropdown", "nylas-additional-participants", "nylas-availability-picker", "nylas-booking-calendar-picker", "nylas-booking-confirmation-redirect", "nylas-booking-confirmation-type", "nylas-booking-form-config", "nylas-buffer-time", "nylas-calendar-picker", "nylas-cancellation-policy", "nylas-confirmation-email", "nylas-connected-calendars", "nylas-custom-booking-flow", "nylas-custom-event-slug", "nylas-customize-booking-settings", "nylas-date-component", "nylas-disable-emails", "nylas-editor-tabs", "nylas-editor-tabs-group", "nylas-event-calendar", "nylas-event-capacity", "nylas-event-description", "nylas-event-duration", "nylas-event-info", "nylas-event-limits", "nylas-event-location", "nylas-event-timeslot", "nylas-event-title", "nylas-feedback-form", "nylas-form-card", "nylas-limit-future-bookings", "nylas-list-configurations", "nylas-min-booking-notice", "nylas-min-cancellation-notice", "nylas-notification", "nylas-page-name", "nylas-page-styling", "nylas-participant-booking-calendars", "nylas-participants-custom-availability", "nylas-reminder-emails", "nylas-reminder-time", "nylas-scheduling-method", "nylas-select-event-type", "nylas-specific-
|
|
53385
|
+
["nylas-scheduler-editor", "add-circle-icon", "button-component", "calendar-agenda-fill-icon", "calendar-agenda-icon", "calendar-icon", "calendar-info-icon", "calendar-patterns-icon", "checkbox-component", "checkbox-group", "checkmark-icon", "chevron-icon", "clock-icon", "close-icon", "copy-icon", "delete-icon", "dragable-icon", "edit-icon", "envelope-fill-icon", "envelope-icon", "eye-icon", "feedback-icon", "flow-icon", "globe-icon", "google-logo-icon", "google-meet-icon", "info-icon", "input-color-picker", "input-component", "input-dropdown", "input-image-url", "loading-icon", "location-icon", "location-off-icon", "microsoft-logo-icon", "microsoft-teams-icon", "multi-select-dropdown", "nylas-additional-participants", "nylas-availability-picker", "nylas-booking-calendar-picker", "nylas-booking-confirmation-redirect", "nylas-booking-confirmation-type", "nylas-booking-form-config", "nylas-buffer-time", "nylas-calendar-picker", "nylas-cancellation-policy", "nylas-confirmation-email", "nylas-connected-calendars", "nylas-custom-booking-flow", "nylas-custom-event-slug", "nylas-customize-booking-settings", "nylas-date-component", "nylas-disable-emails", "nylas-editor-tabs", "nylas-editor-tabs-group", "nylas-event-calendar", "nylas-event-capacity", "nylas-event-description", "nylas-event-duration", "nylas-event-info", "nylas-event-limits", "nylas-event-location", "nylas-event-timeslot", "nylas-event-title", "nylas-feedback-form", "nylas-form-card", "nylas-limit-future-bookings", "nylas-list-configurations", "nylas-min-booking-notice", "nylas-min-cancellation-notice", "nylas-notification", "nylas-page-name", "nylas-page-styling", "nylas-participant-booking-calendars", "nylas-participants-custom-availability", "nylas-reminder-emails", "nylas-reminder-time", "nylas-scheduling-method", "nylas-select-event-type", "nylas-specific-time-availability-picker", "nylas-time-window-picker", "nylas-timeslot-interval", "paintbrush-fill-icon", "paintbrush-icon", "people-icon", "person-clipboard-icon", "plus-icon", "radio-button-group", "search-icon", "select-dropdown", "textarea-component", "time-period-selector", "toggle-switch", "tooltip-component", "translate-icon", "trash-icon", "warning-icon", "zoom-icon"].forEach((ue) => {
|
|
53386
53386
|
switch (ue) {
|
|
53387
53387
|
case "nylas-scheduler-editor":
|
|
53388
53388
|
customElements.get(ue) || customElements.define(ue, NylasSchedulerEditor$1);
|
|
@@ -53621,7 +53621,7 @@ function defineCustomElement$1() {
|
|
|
53621
53621
|
case "nylas-select-event-type":
|
|
53622
53622
|
customElements.get(ue) || defineCustomElement$2();
|
|
53623
53623
|
break;
|
|
53624
|
-
case "nylas-specific-
|
|
53624
|
+
case "nylas-specific-time-availability-picker":
|
|
53625
53625
|
customElements.get(ue) || defineCustomElement$j();
|
|
53626
53626
|
break;
|
|
53627
53627
|
case "nylas-time-window-picker":
|