@nanas-home/hub-common 0.51.1149 → 0.51.1178

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.
@@ -132,6 +132,7 @@ var apiRoute = {
132
132
  confirmEmail: `/confirm-email/${apiRouteParam.linkUuid}`,
133
133
  requestPasswordResetLink: `/password-reset`,
134
134
  passwordResetFromTempLink: `/password-reset/${apiRouteParam.linkUuid}`,
135
+ changePassword: `/change-password`,
135
136
  swagger: { name: "Auth", description: "Endpoints for login, sign up etc" },
136
137
  token: {
137
138
  prefix: "/token",
@@ -169,6 +170,7 @@ var apiRoute = {
169
170
  withRelationships: `/with-relationships/${apiRouteParam.bookingUuid}`,
170
171
  assignHost: `/assign-host/${apiRouteParam.bookingUuid}/${apiRouteParam.userUuid}`,
171
172
  removeHost: `/remove-host/${apiRouteParam.bookingUuid}`,
173
+ calendarOverview: "/calendar-overview",
172
174
  swagger: { name: "Bookings", description: "Endpoints for managing bookings" }
173
175
  },
174
176
  bugReport: {
@@ -1128,6 +1130,75 @@ var addToParallelTasks = async (tasks, newTask, numTasksInParallel = 5) => {
1128
1130
  return tasks;
1129
1131
  };
1130
1132
 
1133
+ // src/helpers/bookingCalendarHelper.ts
1134
+ var getBookingStatusLabelForAdmin = (status) => {
1135
+ switch (status) {
1136
+ case 0 /* Cancelled */:
1137
+ return "Cancelled";
1138
+ case 3 /* FindPlacement */:
1139
+ return "Find Placement";
1140
+ case 1 /* IntakeCall */:
1141
+ return "Intake call";
1142
+ case 4 /* Matched */:
1143
+ return "Matched";
1144
+ case 5 /* MeetAndGreet */:
1145
+ return "Meet & Greet";
1146
+ case 8 /* Paid */:
1147
+ return "Paid";
1148
+ case 7 /* PaymentRequested */:
1149
+ return "Payment Requested";
1150
+ case 2 /* RequestMatchFee */:
1151
+ return "Request Match Fee";
1152
+ case 6 /* RequestPayment */:
1153
+ return "Request Payment";
1154
+ default:
1155
+ return BookingStatusType[status] ?? "Unknown";
1156
+ }
1157
+ };
1158
+ var getMembershipTypeLabel = (type) => {
1159
+ switch (type) {
1160
+ case 1 /* Club */:
1161
+ return "Club";
1162
+ case 2 /* ClubPlus */:
1163
+ return "Club+";
1164
+ case 0 /* None */:
1165
+ default:
1166
+ return "None";
1167
+ }
1168
+ };
1169
+ var formatBookingCalendarLabel = (item) => {
1170
+ const status = getBookingStatusLabelForAdmin(item.status);
1171
+ const pets = item.petNames.join(", ") || "No pets";
1172
+ const membership = getMembershipTypeLabel(item.ownerMembershipType);
1173
+ const hostPart = item.hostNames.length > 0 ? ` with ${item.hostNames.join(", ")}` : "";
1174
+ return `${status}: ${pets}, ${membership} (${item.ownerName})${hostPart}`;
1175
+ };
1176
+ var BOOKING_OVERVIEW_STATUSES = [
1177
+ 1 /* IntakeCall */,
1178
+ 2 /* RequestMatchFee */,
1179
+ 3 /* FindPlacement */,
1180
+ 4 /* Matched */,
1181
+ 5 /* MeetAndGreet */,
1182
+ 6 /* RequestPayment */,
1183
+ 7 /* PaymentRequested */,
1184
+ 8 /* Paid */,
1185
+ 0 /* Cancelled */
1186
+ ];
1187
+ var computeBookingStatusCounts = (bookings) => {
1188
+ const counts = {};
1189
+ for (const status of BOOKING_OVERVIEW_STATUSES) {
1190
+ counts[status] = 0;
1191
+ }
1192
+ for (const booking of bookings) {
1193
+ counts[booking.status] = (counts[booking.status] ?? 0) + 1;
1194
+ }
1195
+ return counts;
1196
+ };
1197
+ var filterBookingsByOverviewStatus = (bookings, status) => {
1198
+ if (status == null) return bookings;
1199
+ return bookings.filter((booking) => booking.status === status);
1200
+ };
1201
+
1131
1202
  // src/components/form/calendar/calendarPicker.functions.ts
1132
1203
  var convertToFullDateSelection = (newDate) => {
1133
1204
  return {
@@ -1551,6 +1622,9 @@ var urlRef = (url) => {
1551
1622
  return url + `?ref=${ref}`;
1552
1623
  };
1553
1624
 
1625
+ // src/helpers/userAccountFlagHelper.ts
1626
+ var userMustChangePassword = (flags) => flags?.includes(1 /* ChangePassword */) === true;
1627
+
1554
1628
  // src/helpers/userMembershipHelper.ts
1555
1629
  var getActiveUserMembership = (userMemberships) => {
1556
1630
  const now = /* @__PURE__ */ new Date();
@@ -1853,4 +1927,4 @@ var shouldBeYoutubeUrl = (value) => {
1853
1927
  };
1854
1928
  };
1855
1929
 
1856
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, AuthRegisterRestriction, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, BugReportRestriction, BugReportStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, InvoiceRestriction, InvoiceStatusType, LogService, MembershipBillingCycleType, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, StripeRestriction, TempLinkType, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, activityShortCode, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, commonEmailLinks, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, emailValid, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getActiveUserMembership, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getQuestionGroups, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, hubspotQuestionsExport, isBefore, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, passwordValid, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder };
1930
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, AuthRegisterRestriction, BOOKING_OVERVIEW_STATUSES, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, BugReportRestriction, BugReportStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, InvoiceRestriction, InvoiceStatusType, LogService, MembershipBillingCycleType, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, StripeRestriction, TempLinkType, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, activityShortCode, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, commonEmailLinks, computeBookingStatusCounts, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, emailValid, fakePromise, filterBookingsByOverviewStatus, formatBookingCalendarLabel, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getActiveUserMembership, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBookingStatusLabelForAdmin, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMembershipTypeLabel, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getQuestionGroups, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, hubspotQuestionsExport, isBefore, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, passwordValid, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, userMustChangePassword, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder };
@@ -1,5 +1,5 @@
1
- import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-BC4ZdmvE.js';
2
- export { cW as APP_TYPE_TOKEN, ae as ActivityDto, u as ActivityLocationType, bv as ActivityRestriction, B as ActivityType, af as AddressCreateDto, ag as AddressDto, F as AddressLinkType, ah as AddressLookupDto, bw as AddressRestriction, ai as AddressUpdateDto, aj as AnswerCreateDto, ak as AnswerDto, G as AnswerLinkType, bx as AnswerRestriction, A as AppType, al as AuthLoginDto, am as AuthPatDto, an as AuthRegisterAddressDto, ao as AuthRegisterDto, ap as AuthRegisterGetQuestionsDto, aq as AuthRegisterPetDto, ar as AuthRegisterQuestionDto, by as AuthRegisterRestriction, as as AuthRegisterUserDto, at as AuthRequestResetPasswordDto, au as AuthResetPasswordDto, av as AuthSuccessDto, cU as BOT_PATH_TOKEN, aw as BookingAddonDto, bA as BookingAddonRestriction, J as BookingAddonType, ax as BookingCreateDto, ay as BookingDto, az as BookingHostCreateDto, aA as BookingHostDto, aB as BookingHostUpdateDto, bz as BookingRestriction, aC as BookingRestrictionsDto, aD as BookingRestrictionsEnabledDaysDto, aE as BookingRestrictionsPremiumEnabledDaysDto, N as BookingStatusType, aF as BookingUpdateDto, aG as BookingWithRelationshipsDto, aH as BugReportCreateDto, aI as BugReportDto, bB as BugReportRestriction, O as BugReportStatusType, aJ as BugReportUpdateDto, g as CachedValue, t as ClickEvent, aK as ClientAnswerSaveDto, aL as CommentCreateDto, aM as CommentDto, P as CommentLinkType, bC as CommentRestriction, aN as CommentUpdateDto, cS as DependencyInjectionContainer, k as DependencyInjectionFactory, j as DependencyInjectionIdentifier, D as DependencyInjectionToken, bD as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, q as HtmlFilesEvent, r as HtmlImageReadEvent, o as HtmlKeyEvent, bO as ICaptchaResponse, l as IDependencyInjectionSetupWebProps, cp as IImageParams, bQ as ILogMessage, bR as IMediaUpload, cR as ISite, cO as ISiteColour, aO as InvoiceCreateDto, aP as InvoiceDto, bE as InvoiceRestriction, Q as InvoiceStatusType, aQ as InvoiceUpdateDto, aR as InvoiceWithStripeInfoDto, bu as JwtPayloadDto, K as KeyEvent, bP as LogMethod, S as LogType, U as MembershipBillingCycleType, aS as MembershipCreateDto, aT as MembershipDto, bF as MembershipRestriction, V as MembershipStatus, X as MembershipType, aU as MembershipUpdateDto, M as MonthTranslationKey, e as MouseButton, Y as NetworkState, bT as NominatimAddressResponse, bS as NominatimResponse, cK as ObjectWithPropsOfValue, Z as OrderDirectionType, aV as PaginationRequestDto, aW as PaginationResponseDto, aX as PaymentMethodDto, bG as PermissionRestriction, _ as PermissionType, aY as PetCreateDto, aZ as PetDto, bH as PetRestriction, $ as PetSexType, a0 as PetStatusType, a1 as PetType, a_ as PetUpdateDto, cL as Prettify, a$ as ProfileDto, b0 as ProfileQuestionAndAnswersItemDto, b1 as ProfileQuestionRequestDto, b2 as ProfileUpdateDto, b3 as QuestionCreateDto, b4 as QuestionDto, a3 as QuestionForType, bI as QuestionRestriction, a2 as QuestionType, b5 as QuestionUpdateDto, c1 as RenderCellType, cY as SITE_CONFIG_TOKEN, b6 as SearchObjDatePropRequestDto, b7 as SearchObjRequestDto, b8 as SearchObjTextPropRequestDto, a6 as SearchableColumnInfo, a5 as SearchableColumnType, b9 as SetupIntentCreateDto, ba as SetupIntentDto, bJ as StripeRestriction, bb as TempLinkCreateDto, bc as TempLinkDto, a7 as TempLinkType, T as ThemeType, bK as UnavailabilityRestriction, bd as UploadCreateDto, be as UploadDto, bf as UploadImageWithLinkDto, a8 as UploadLinkType, bL as UploadRestriction, a9 as UploadType, bg as UploadUpdateDto, ab as UserAccountFlagType, bh as UserCreateDto, bi as UserDto, bj as UserMembershipChangeResponseDto, bk as UserMembershipCreateDto, bl as UserMembershipDto, bm as UserMembershipSignUpDto, bn as UserMembershipSignUpResponseDto, bo as UserMembershipStatsDto, bp as UserMembershipUpdateDto, bq as UserMembershipWithStripeInfoDto, br as UserPermissionDto, bM as UserRestriction, ac as UserType, bs as UserUpdateDto, bU as ValidationResult, bt as VersionDto, W as WeekdayTranslationKey, x as activityShortCode, cd as addDays, cc as addMinutes, ce as addMonths, cb as addSeconds, cG as addSpacesForEnum, b_ as addToParallelTasks, cI as anyObject, z as apiRoute, y as apiRouteParam, bY as arrayContains, bX as arrayOfNLength, cE as capitalizeFirstLetter, cP as colourPalette, d as commonEmailLinks, h as createToken, co as cyrb53, ch as dateDiffInDays, cl as debounceLeading, cQ as defaultSiteColour, dg as emailValid, cJ as fakePromise, c4 as formatDate, cH as formatFileSize, ca as formatForBookingDate, c6 as formatForDateDropdown, c5 as formatForDateLocal, c9 as formatForDateLocalDetailed, c7 as formatForDateOfBirth, c8 as formatForDateWithTime, cN as getActiveUserMembership, ci as getAgeInYears, a4 as getAllPetQuestionForType, cX as getAppType, cm as getArrFromEnum, cV as getBotPath, d0 as getCommonConfig, b$ as getDayClassObject, c2 as getDayElements, c0 as getDayHeadingElements, cq as getImageParams, d1 as getLog, ct as getMimeTypeFromExtension, cr as getPayloadFromJwt, cv as getPerformanceTimer, cy as getPetAvatarUrl, cB as getQuestionGroups, c$ as getSiteColour, c_ as getSiteConfig, cx as getUserAvatarUrl, c3 as getUsersName, cj as getWeekNumber, cw as hasRequiredPermissions, ad as hubspotQuestionsExport, cf as isBefore, dh as isNumber, cg as isSameDay, i as isWebApp, cF as lowercaseFirstLetter, bV as makeArrayOrDefault, df as maxDate, d6 as maxItems, dm as maxLength, dj as maxValue, cs as mimeTypeLookup, de as minDate, d5 as minItems, dl as minLength, f as minUrlLength, di as minValue, m as monthTranslationKeyOrder, db as multiValidation, cA as nameof, n as nanasFonts, d9 as noValidation, da as notNull, bW as onlyUnique, dk as passwordValid, p as portalGlyphLength, cz as promiseFromValue, cC as randomIntFromRange, cD as randomItemFromArray, cT as rootContainer, d2 as rootDependencyInjectionSetup, bN as searchColumns, d7 as selectedItemsExist, d8 as selectedOptionIsInEnum, dc as separateValidation, d3 as setContainerToken, d4 as setContainerTokenLazy, cZ as setSiteConfig, dn as shouldBeUrl, dp as shouldBeYoutubeUrl, ck as showSecondCalendar, s as socialLinks, bZ as timeout, cu as tryParseNumber, aa as uploadsThatNeedEncryption, cM as urlRef, cn as uuidv4, v as validUuidChars, dd as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-BC4ZdmvE.js';
1
+ import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-BhLPnwdX.js';
2
+ export { d3 as APP_TYPE_TOKEN, ae as ActivityDto, u as ActivityLocationType, bv as ActivityRestriction, B as ActivityType, af as AddressCreateDto, ag as AddressDto, F as AddressLinkType, ah as AddressLookupDto, bw as AddressRestriction, ai as AddressUpdateDto, aj as AnswerCreateDto, ak as AnswerDto, G as AnswerLinkType, bx as AnswerRestriction, A as AppType, al as AuthLoginDto, am as AuthPatDto, an as AuthRegisterAddressDto, ao as AuthRegisterDto, ap as AuthRegisterGetQuestionsDto, aq as AuthRegisterPetDto, ar as AuthRegisterQuestionDto, by as AuthRegisterRestriction, as as AuthRegisterUserDto, at as AuthRequestResetPasswordDto, au as AuthResetPasswordDto, av as AuthSuccessDto, c3 as BOOKING_OVERVIEW_STATUSES, d1 as BOT_PATH_TOKEN, aw as BookingAddonDto, bA as BookingAddonRestriction, J as BookingAddonType, b$ as BookingCalendarOverviewItem, ax as BookingCreateDto, ay as BookingDto, az as BookingHostCreateDto, aA as BookingHostDto, aB as BookingHostUpdateDto, bz as BookingRestriction, aC as BookingRestrictionsDto, aD as BookingRestrictionsEnabledDaysDto, aE as BookingRestrictionsPremiumEnabledDaysDto, c4 as BookingStatusCounts, N as BookingStatusType, aF as BookingUpdateDto, aG as BookingWithRelationshipsDto, aH as BugReportCreateDto, aI as BugReportDto, bB as BugReportRestriction, O as BugReportStatusType, aJ as BugReportUpdateDto, g as CachedValue, t as ClickEvent, aK as ClientAnswerSaveDto, aL as CommentCreateDto, aM as CommentDto, P as CommentLinkType, bC as CommentRestriction, aN as CommentUpdateDto, c$ as DependencyInjectionContainer, k as DependencyInjectionFactory, j as DependencyInjectionIdentifier, D as DependencyInjectionToken, bD as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, q as HtmlFilesEvent, r as HtmlImageReadEvent, o as HtmlKeyEvent, bO as ICaptchaResponse, l as IDependencyInjectionSetupWebProps, cx as IImageParams, bQ as ILogMessage, bR as IMediaUpload, c_ as ISite, cX as ISiteColour, aO as InvoiceCreateDto, aP as InvoiceDto, bE as InvoiceRestriction, Q as InvoiceStatusType, aQ as InvoiceUpdateDto, aR as InvoiceWithStripeInfoDto, bu as JwtPayloadDto, K as KeyEvent, bP as LogMethod, S as LogType, U as MembershipBillingCycleType, aS as MembershipCreateDto, aT as MembershipDto, bF as MembershipRestriction, V as MembershipStatus, X as MembershipType, aU as MembershipUpdateDto, M as MonthTranslationKey, e as MouseButton, Y as NetworkState, bT as NominatimAddressResponse, bS as NominatimResponse, cS as ObjectWithPropsOfValue, Z as OrderDirectionType, aV as PaginationRequestDto, aW as PaginationResponseDto, aX as PaymentMethodDto, bG as PermissionRestriction, _ as PermissionType, aY as PetCreateDto, aZ as PetDto, bH as PetRestriction, $ as PetSexType, a0 as PetStatusType, a1 as PetType, a_ as PetUpdateDto, cT as Prettify, a$ as ProfileDto, b0 as ProfileQuestionAndAnswersItemDto, b1 as ProfileQuestionRequestDto, b2 as ProfileUpdateDto, b3 as QuestionCreateDto, b4 as QuestionDto, a3 as QuestionForType, bI as QuestionRestriction, a2 as QuestionType, b5 as QuestionUpdateDto, c9 as RenderCellType, d5 as SITE_CONFIG_TOKEN, b6 as SearchObjDatePropRequestDto, b7 as SearchObjRequestDto, b8 as SearchObjTextPropRequestDto, a6 as SearchableColumnInfo, a5 as SearchableColumnType, b9 as SetupIntentCreateDto, ba as SetupIntentDto, bJ as StripeRestriction, bb as TempLinkCreateDto, bc as TempLinkDto, a7 as TempLinkType, T as ThemeType, bK as UnavailabilityRestriction, bd as UploadCreateDto, be as UploadDto, bf as UploadImageWithLinkDto, a8 as UploadLinkType, bL as UploadRestriction, a9 as UploadType, bg as UploadUpdateDto, ab as UserAccountFlagType, bh as UserCreateDto, bi as UserDto, bj as UserMembershipChangeResponseDto, bk as UserMembershipCreateDto, bl as UserMembershipDto, bm as UserMembershipSignUpDto, bn as UserMembershipSignUpResponseDto, bo as UserMembershipStatsDto, bp as UserMembershipUpdateDto, bq as UserMembershipWithStripeInfoDto, br as UserPermissionDto, bM as UserRestriction, ac as UserType, bs as UserUpdateDto, bU as ValidationResult, bt as VersionDto, W as WeekdayTranslationKey, x as activityShortCode, cl as addDays, ck as addMinutes, cm as addMonths, cj as addSeconds, cO as addSpacesForEnum, b_ as addToParallelTasks, cQ as anyObject, z as apiRoute, y as apiRouteParam, bY as arrayContains, bX as arrayOfNLength, cM as capitalizeFirstLetter, cY as colourPalette, d as commonEmailLinks, c5 as computeBookingStatusCounts, h as createToken, cw as cyrb53, cp as dateDiffInDays, ct as debounceLeading, cZ as defaultSiteColour, dq as emailValid, cR as fakePromise, c6 as filterBookingsByOverviewStatus, c2 as formatBookingCalendarLabel, cc as formatDate, cP as formatFileSize, ci as formatForBookingDate, ce as formatForDateDropdown, cd as formatForDateLocal, ch as formatForDateLocalDetailed, cf as formatForDateOfBirth, cg as formatForDateWithTime, cW as getActiveUserMembership, cq as getAgeInYears, a4 as getAllPetQuestionForType, d4 as getAppType, cu as getArrFromEnum, c0 as getBookingStatusLabelForAdmin, d2 as getBotPath, d9 as getCommonConfig, c7 as getDayClassObject, ca as getDayElements, c8 as getDayHeadingElements, cy as getImageParams, da as getLog, c1 as getMembershipTypeLabel, cB as getMimeTypeFromExtension, cz as getPayloadFromJwt, cD as getPerformanceTimer, cG as getPetAvatarUrl, cJ as getQuestionGroups, d8 as getSiteColour, d7 as getSiteConfig, cF as getUserAvatarUrl, cb as getUsersName, cr as getWeekNumber, cE as hasRequiredPermissions, ad as hubspotQuestionsExport, cn as isBefore, dr as isNumber, co as isSameDay, i as isWebApp, cN as lowercaseFirstLetter, bV as makeArrayOrDefault, dp as maxDate, df as maxItems, dw as maxLength, dt as maxValue, cA as mimeTypeLookup, dn as minDate, de as minItems, dv as minLength, f as minUrlLength, ds as minValue, m as monthTranslationKeyOrder, dk as multiValidation, cI as nameof, n as nanasFonts, di as noValidation, dj as notNull, bW as onlyUnique, du as passwordValid, p as portalGlyphLength, cH as promiseFromValue, cK as randomIntFromRange, cL as randomItemFromArray, d0 as rootContainer, db as rootDependencyInjectionSetup, bN as searchColumns, dg as selectedItemsExist, dh as selectedOptionIsInEnum, dl as separateValidation, dc as setContainerToken, dd as setContainerTokenLazy, d6 as setSiteConfig, dx as shouldBeUrl, dy as shouldBeYoutubeUrl, cs as showSecondCalendar, s as socialLinks, bZ as timeout, cC as tryParseNumber, aa as uploadsThatNeedEncryption, cU as urlRef, cV as userMustChangePassword, cv as uuidv4, v as validUuidChars, dm as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-BhLPnwdX.js';
3
3
  import 'solid-js';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/J5QFZZVU.js';
2
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, AuthRegisterRestriction, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, BugReportRestriction, BugReportStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, InvoiceRestriction, InvoiceStatusType, LogService, MembershipBillingCycleType, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, StripeRestriction, TempLinkType, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, activityShortCode, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, colourPalette, commonEmailLinks, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, emailValid, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getActiveUserMembership, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getQuestionGroups, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, hubspotQuestionsExport, isBefore, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, passwordValid, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/J5QFZZVU.js';
1
+ import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/BE34CP3A.js';
2
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, AuthRegisterRestriction, BOOKING_OVERVIEW_STATUSES, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, BugReportRestriction, BugReportStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, InvoiceRestriction, InvoiceStatusType, LogService, MembershipBillingCycleType, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, StripeRestriction, TempLinkType, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, activityShortCode, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, colourPalette, commonEmailLinks, computeBookingStatusCounts, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, emailValid, fakePromise, filterBookingsByOverviewStatus, formatBookingCalendarLabel, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getActiveUserMembership, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBookingStatusLabelForAdmin, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMembershipTypeLabel, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getQuestionGroups, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, hubspotQuestionsExport, isBefore, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, passwordValid, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, userMustChangePassword, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/BE34CP3A.js';
3
3
  import fs6, { stat } from 'fs/promises';
4
4
  import path11 from 'path';
5
5
  import fs2 from 'fs';
@@ -182,6 +182,7 @@ declare const apiRoute: {
182
182
  readonly confirmEmail: "/confirm-email/:linkUuid";
183
183
  readonly requestPasswordResetLink: "/password-reset";
184
184
  readonly passwordResetFromTempLink: "/password-reset/:linkUuid";
185
+ readonly changePassword: "/change-password";
185
186
  readonly swagger: {
186
187
  readonly name: "Auth";
187
188
  readonly description: "Endpoints for login, sign up etc";
@@ -231,6 +232,7 @@ declare const apiRoute: {
231
232
  readonly withRelationships: "/with-relationships/:bookingUuid";
232
233
  readonly assignHost: "/assign-host/:bookingUuid/:userUuid";
233
234
  readonly removeHost: "/remove-host/:bookingUuid";
235
+ readonly calendarOverview: "/calendar-overview";
234
236
  readonly swagger: {
235
237
  readonly name: "Bookings";
236
238
  readonly description: "Endpoints for managing bookings";
@@ -2793,6 +2795,25 @@ declare const arrayContains: <T>(arr: Array<T>, requiredItems: Array<T>, method?
2793
2795
  declare const timeout: (ms: number) => Promise<void>;
2794
2796
  declare const addToParallelTasks: <T>(tasks: Array<Promise<T>>, newTask: Promise<T>, numTasksInParallel?: number) => Promise<Array<Promise<T>>>;
2795
2797
 
2798
+ type BookingCalendarOverviewItem = {
2799
+ uuid: string;
2800
+ code: number;
2801
+ status: BookingStatusType;
2802
+ startDate: Date | string;
2803
+ endDate: Date | string;
2804
+ petNames: Array<string>;
2805
+ ownerName: string;
2806
+ ownerMembershipType: MembershipType;
2807
+ hostNames: Array<string>;
2808
+ };
2809
+ declare const getBookingStatusLabelForAdmin: (status: BookingStatusType) => string;
2810
+ declare const getMembershipTypeLabel: (type: MembershipType) => string;
2811
+ declare const formatBookingCalendarLabel: (item: BookingCalendarOverviewItem) => string;
2812
+ declare const BOOKING_OVERVIEW_STATUSES: Array<BookingStatusType>;
2813
+ type BookingStatusCounts = Record<BookingStatusType, number>;
2814
+ declare const computeBookingStatusCounts: (bookings: Array<BookingCalendarOverviewItem>) => BookingStatusCounts;
2815
+ declare const filterBookingsByOverviewStatus: (bookings: Array<BookingCalendarOverviewItem>, status: BookingStatusType | null) => Array<BookingCalendarOverviewItem>;
2816
+
2796
2817
  type ValidFormTypes = string | Array<string> | Array<number> | (string | number) | number | boolean | Date | (FormCalendarDatePickerRangeProps | undefined) | File;
2797
2818
  type ValidFormComponentTypes = Component<FormInputProps<string>> | Component<FormInputProps<Array<string>>> | Component<FormInputProps<Array<number>>> | Component<FormInputProps<string | number>> | Component<FormInputProps<number>> | Component<FormInputProps<boolean>> | Component<FormInputProps<Date>> | Component<FormInputProps<FormCalendarDatePickerRangeProps | undefined>> | Component<FormInputProps<File>>;
2798
2819
  type FormInputProps<T extends ValidFormTypes> = {
@@ -2981,6 +3002,8 @@ type Prettify<T> = {
2981
3002
 
2982
3003
  declare const urlRef: (url: string) => string;
2983
3004
 
3005
+ declare const userMustChangePassword: (flags?: Array<UserAccountFlagType | number>) => boolean;
3006
+
2984
3007
  declare const getActiveUserMembership: (userMemberships: Array<UserMembershipDto>) => UserMembershipDto | undefined;
2985
3008
 
2986
3009
  declare class CommonConfigService {
@@ -3102,4 +3125,4 @@ declare const maxLength: (maxLengthVal: number) => (value: string) => Validation
3102
3125
  declare const shouldBeUrl: (value: string) => ValidationResult;
3103
3126
  declare const shouldBeYoutubeUrl: (value: string) => ValidationResult;
3104
3127
 
3105
- export { PetSexType as $, AppType as A, ActivityType as B, CommonConfigService as C, type DependencyInjectionToken as D, type EnvKey as E, AddressLinkType as F, AnswerLinkType as G, type HtmlElementEvent as H, type ILogger as I, BookingAddonType as J, type KeyEvent as K, LogService as L, type MonthTranslationKey as M, BookingStatusType as N, BugReportStatusType as O, CommentLinkType as P, InvoiceStatusType as Q, type ResultWithValue as R, type LogType as S, type ThemeType as T, MembershipBillingCycleType as U, MembershipStatus as V, type WeekdayTranslationKey as W, MembershipType as X, NetworkState as Y, OrderDirectionType as Z, PermissionType as _, type Result as a, type ProfileDto as a$, PetStatusType as a0, PetType as a1, QuestionType as a2, QuestionForType as a3, getAllPetQuestionForType as a4, SearchableColumnType as a5, type SearchableColumnInfo as a6, TempLinkType as a7, UploadLinkType as a8, UploadType as a9, type BookingHostDto as aA, type BookingHostUpdateDto as aB, type BookingRestrictionsDto as aC, type BookingRestrictionsEnabledDaysDto as aD, type BookingRestrictionsPremiumEnabledDaysDto as aE, type BookingUpdateDto as aF, type BookingWithRelationshipsDto as aG, type BugReportCreateDto as aH, type BugReportDto as aI, type BugReportUpdateDto as aJ, type ClientAnswerSaveDto as aK, type CommentCreateDto as aL, type CommentDto as aM, type CommentUpdateDto as aN, type InvoiceCreateDto as aO, type InvoiceDto as aP, type InvoiceUpdateDto as aQ, type InvoiceWithStripeInfoDto as aR, type MembershipCreateDto as aS, type MembershipDto as aT, type MembershipUpdateDto as aU, type PaginationRequestDto as aV, type PaginationResponseDto as aW, type PaymentMethodDto as aX, type PetCreateDto as aY, type PetDto as aZ, type PetUpdateDto as a_, uploadsThatNeedEncryption as aa, UserAccountFlagType as ab, UserType as ac, hubspotQuestionsExport as ad, type ActivityDto as ae, type AddressCreateDto as af, type AddressDto as ag, type AddressLookupDto as ah, type AddressUpdateDto as ai, type AnswerCreateDto as aj, type AnswerDto as ak, type AuthLoginDto as al, type AuthPatDto as am, type AuthRegisterAddressDto as an, type AuthRegisterDto as ao, type AuthRegisterGetQuestionsDto as ap, type AuthRegisterPetDto as aq, type AuthRegisterQuestionDto as ar, type AuthRegisterUserDto as as, type AuthRequestResetPasswordDto as at, type AuthResetPasswordDto as au, type AuthSuccessDto as av, type BookingAddonDto as aw, type BookingCreateDto as ax, type BookingDto as ay, type BookingHostCreateDto as az, type IDependencyInjectionSetupProps as b, getDayClassObject as b$, type ProfileQuestionAndAnswersItemDto as b0, type ProfileQuestionRequestDto as b1, type ProfileUpdateDto as b2, type QuestionCreateDto as b3, type QuestionDto as b4, type QuestionUpdateDto as b5, type SearchObjDatePropRequestDto as b6, type SearchObjRequestDto as b7, type SearchObjTextPropRequestDto as b8, type SetupIntentCreateDto as b9, BookingAddonRestriction as bA, BugReportRestriction as bB, CommentRestriction as bC, DrivingRouteRestriction as bD, InvoiceRestriction as bE, MembershipRestriction as bF, PermissionRestriction as bG, PetRestriction as bH, QuestionRestriction as bI, StripeRestriction as bJ, UnavailabilityRestriction as bK, UploadRestriction as bL, UserRestriction as bM, searchColumns as bN, type ICaptchaResponse as bO, type LogMethod as bP, type ILogMessage as bQ, type IMediaUpload as bR, type NominatimResponse as bS, type NominatimAddressResponse as bT, type ValidationResult as bU, makeArrayOrDefault as bV, onlyUnique as bW, arrayOfNLength as bX, arrayContains as bY, timeout as bZ, addToParallelTasks as b_, type SetupIntentDto as ba, type TempLinkCreateDto as bb, type TempLinkDto as bc, type UploadCreateDto as bd, type UploadDto as be, type UploadImageWithLinkDto as bf, type UploadUpdateDto as bg, type UserCreateDto as bh, type UserDto as bi, type UserMembershipChangeResponseDto as bj, type UserMembershipCreateDto as bk, type UserMembershipDto as bl, type UserMembershipSignUpDto as bm, type UserMembershipSignUpResponseDto as bn, type UserMembershipStatsDto as bo, type UserMembershipUpdateDto as bp, type UserMembershipWithStripeInfoDto as bq, type UserPermissionDto as br, type UserUpdateDto as bs, type VersionDto as bt, type JwtPayloadDto as bu, ActivityRestriction as bv, AddressRestriction as bw, AnswerRestriction as bx, AuthRegisterRestriction as by, BookingRestriction as bz, weekdayTranslationKeyOrder as c, getSiteColour as c$, getDayHeadingElements as c0, type RenderCellType as c1, getDayElements as c2, getUsersName as c3, formatDate as c4, formatForDateLocal as c5, formatForDateDropdown as c6, formatForDateOfBirth as c7, formatForDateWithTime as c8, formatForDateLocalDetailed as c9, nameof as cA, getQuestionGroups as cB, randomIntFromRange as cC, randomItemFromArray as cD, capitalizeFirstLetter as cE, lowercaseFirstLetter as cF, addSpacesForEnum as cG, formatFileSize as cH, anyObject as cI, fakePromise as cJ, type ObjectWithPropsOfValue as cK, type Prettify as cL, urlRef as cM, getActiveUserMembership as cN, type ISiteColour as cO, colourPalette as cP, defaultSiteColour as cQ, type ISite as cR, DependencyInjectionContainer as cS, rootContainer as cT, BOT_PATH_TOKEN as cU, getBotPath as cV, APP_TYPE_TOKEN as cW, getAppType as cX, SITE_CONFIG_TOKEN as cY, setSiteConfig as cZ, getSiteConfig as c_, formatForBookingDate as ca, addSeconds as cb, addMinutes as cc, addDays as cd, addMonths as ce, isBefore as cf, isSameDay as cg, dateDiffInDays as ch, getAgeInYears as ci, getWeekNumber as cj, showSecondCalendar as ck, debounceLeading as cl, getArrFromEnum as cm, uuidv4 as cn, cyrb53 as co, type IImageParams as cp, getImageParams as cq, getPayloadFromJwt as cr, mimeTypeLookup as cs, getMimeTypeFromExtension as ct, tryParseNumber as cu, getPerformanceTimer as cv, hasRequiredPermissions as cw, getUserAvatarUrl as cx, getPetAvatarUrl as cy, promiseFromValue as cz, commonEmailLinks as d, getCommonConfig as d0, getLog as d1, rootDependencyInjectionSetup as d2, setContainerToken as d3, setContainerTokenLazy as d4, minItems as d5, maxItems as d6, selectedItemsExist as d7, selectedOptionIsInEnum as d8, noValidation as d9, type ValidFormComponentTypes as dA, type PropertyOverrides as dB, notNull as da, multiValidation as db, separateValidation as dc, validateForEach as dd, minDate as de, maxDate as df, emailValid as dg, isNumber as dh, minValue as di, maxValue as dj, passwordValid as dk, minLength as dl, maxLength as dm, shouldBeUrl as dn, shouldBeYoutubeUrl as dp, type IFormCalendarPickerProps as dq, type FullDateSelectionProps as dr, type FormCalendarPickerMode as ds, type FormCalendarDatePickerRangeProps as dt, type DateSelectionProps as du, type FormCalendarPickerInnerProps as dv, type FormInputProps as dw, type FormCalendarSpecialRangeDisplayProps as dx, type FormCalendarSpecialRangeProps as dy, type ValidFormTypes as dz, MouseButton as e, minUrlLength as f, type CachedValue as g, createToken as h, isWebApp as i, type DependencyInjectionIdentifier as j, type DependencyInjectionFactory as k, type IDependencyInjectionSetupWebProps as l, monthTranslationKeyOrder as m, nanasFonts as n, type HtmlKeyEvent as o, portalGlyphLength as p, type HtmlFilesEvent as q, type HtmlImageReadEvent as r, socialLinks as s, type ClickEvent as t, type ActivityLocationType as u, validUuidChars as v, webAppTypes as w, activityShortCode as x, apiRouteParam as y, apiRoute as z };
3128
+ export { PetSexType as $, AppType as A, ActivityType as B, CommonConfigService as C, type DependencyInjectionToken as D, type EnvKey as E, AddressLinkType as F, AnswerLinkType as G, type HtmlElementEvent as H, type ILogger as I, BookingAddonType as J, type KeyEvent as K, LogService as L, type MonthTranslationKey as M, BookingStatusType as N, BugReportStatusType as O, CommentLinkType as P, InvoiceStatusType as Q, type ResultWithValue as R, type LogType as S, type ThemeType as T, MembershipBillingCycleType as U, MembershipStatus as V, type WeekdayTranslationKey as W, MembershipType as X, NetworkState as Y, OrderDirectionType as Z, PermissionType as _, type Result as a, type ProfileDto as a$, PetStatusType as a0, PetType as a1, QuestionType as a2, QuestionForType as a3, getAllPetQuestionForType as a4, SearchableColumnType as a5, type SearchableColumnInfo as a6, TempLinkType as a7, UploadLinkType as a8, UploadType as a9, type BookingHostDto as aA, type BookingHostUpdateDto as aB, type BookingRestrictionsDto as aC, type BookingRestrictionsEnabledDaysDto as aD, type BookingRestrictionsPremiumEnabledDaysDto as aE, type BookingUpdateDto as aF, type BookingWithRelationshipsDto as aG, type BugReportCreateDto as aH, type BugReportDto as aI, type BugReportUpdateDto as aJ, type ClientAnswerSaveDto as aK, type CommentCreateDto as aL, type CommentDto as aM, type CommentUpdateDto as aN, type InvoiceCreateDto as aO, type InvoiceDto as aP, type InvoiceUpdateDto as aQ, type InvoiceWithStripeInfoDto as aR, type MembershipCreateDto as aS, type MembershipDto as aT, type MembershipUpdateDto as aU, type PaginationRequestDto as aV, type PaginationResponseDto as aW, type PaymentMethodDto as aX, type PetCreateDto as aY, type PetDto as aZ, type PetUpdateDto as a_, uploadsThatNeedEncryption as aa, UserAccountFlagType as ab, UserType as ac, hubspotQuestionsExport as ad, type ActivityDto as ae, type AddressCreateDto as af, type AddressDto as ag, type AddressLookupDto as ah, type AddressUpdateDto as ai, type AnswerCreateDto as aj, type AnswerDto as ak, type AuthLoginDto as al, type AuthPatDto as am, type AuthRegisterAddressDto as an, type AuthRegisterDto as ao, type AuthRegisterGetQuestionsDto as ap, type AuthRegisterPetDto as aq, type AuthRegisterQuestionDto as ar, type AuthRegisterUserDto as as, type AuthRequestResetPasswordDto as at, type AuthResetPasswordDto as au, type AuthSuccessDto as av, type BookingAddonDto as aw, type BookingCreateDto as ax, type BookingDto as ay, type BookingHostCreateDto as az, type IDependencyInjectionSetupProps as b, type BookingCalendarOverviewItem as b$, type ProfileQuestionAndAnswersItemDto as b0, type ProfileQuestionRequestDto as b1, type ProfileUpdateDto as b2, type QuestionCreateDto as b3, type QuestionDto as b4, type QuestionUpdateDto as b5, type SearchObjDatePropRequestDto as b6, type SearchObjRequestDto as b7, type SearchObjTextPropRequestDto as b8, type SetupIntentCreateDto as b9, BookingAddonRestriction as bA, BugReportRestriction as bB, CommentRestriction as bC, DrivingRouteRestriction as bD, InvoiceRestriction as bE, MembershipRestriction as bF, PermissionRestriction as bG, PetRestriction as bH, QuestionRestriction as bI, StripeRestriction as bJ, UnavailabilityRestriction as bK, UploadRestriction as bL, UserRestriction as bM, searchColumns as bN, type ICaptchaResponse as bO, type LogMethod as bP, type ILogMessage as bQ, type IMediaUpload as bR, type NominatimResponse as bS, type NominatimAddressResponse as bT, type ValidationResult as bU, makeArrayOrDefault as bV, onlyUnique as bW, arrayOfNLength as bX, arrayContains as bY, timeout as bZ, addToParallelTasks as b_, type SetupIntentDto as ba, type TempLinkCreateDto as bb, type TempLinkDto as bc, type UploadCreateDto as bd, type UploadDto as be, type UploadImageWithLinkDto as bf, type UploadUpdateDto as bg, type UserCreateDto as bh, type UserDto as bi, type UserMembershipChangeResponseDto as bj, type UserMembershipCreateDto as bk, type UserMembershipDto as bl, type UserMembershipSignUpDto as bm, type UserMembershipSignUpResponseDto as bn, type UserMembershipStatsDto as bo, type UserMembershipUpdateDto as bp, type UserMembershipWithStripeInfoDto as bq, type UserPermissionDto as br, type UserUpdateDto as bs, type VersionDto as bt, type JwtPayloadDto as bu, ActivityRestriction as bv, AddressRestriction as bw, AnswerRestriction as bx, AuthRegisterRestriction as by, BookingRestriction as bz, weekdayTranslationKeyOrder as c, DependencyInjectionContainer as c$, getBookingStatusLabelForAdmin as c0, getMembershipTypeLabel as c1, formatBookingCalendarLabel as c2, BOOKING_OVERVIEW_STATUSES as c3, type BookingStatusCounts as c4, computeBookingStatusCounts as c5, filterBookingsByOverviewStatus as c6, getDayClassObject as c7, getDayHeadingElements as c8, type RenderCellType as c9, mimeTypeLookup as cA, getMimeTypeFromExtension as cB, tryParseNumber as cC, getPerformanceTimer as cD, hasRequiredPermissions as cE, getUserAvatarUrl as cF, getPetAvatarUrl as cG, promiseFromValue as cH, nameof as cI, getQuestionGroups as cJ, randomIntFromRange as cK, randomItemFromArray as cL, capitalizeFirstLetter as cM, lowercaseFirstLetter as cN, addSpacesForEnum as cO, formatFileSize as cP, anyObject as cQ, fakePromise as cR, type ObjectWithPropsOfValue as cS, type Prettify as cT, urlRef as cU, userMustChangePassword as cV, getActiveUserMembership as cW, type ISiteColour as cX, colourPalette as cY, defaultSiteColour as cZ, type ISite as c_, getDayElements as ca, getUsersName as cb, formatDate as cc, formatForDateLocal as cd, formatForDateDropdown as ce, formatForDateOfBirth as cf, formatForDateWithTime as cg, formatForDateLocalDetailed as ch, formatForBookingDate as ci, addSeconds as cj, addMinutes as ck, addDays as cl, addMonths as cm, isBefore as cn, isSameDay as co, dateDiffInDays as cp, getAgeInYears as cq, getWeekNumber as cr, showSecondCalendar as cs, debounceLeading as ct, getArrFromEnum as cu, uuidv4 as cv, cyrb53 as cw, type IImageParams as cx, getImageParams as cy, getPayloadFromJwt as cz, commonEmailLinks as d, rootContainer as d0, BOT_PATH_TOKEN as d1, getBotPath as d2, APP_TYPE_TOKEN as d3, getAppType as d4, SITE_CONFIG_TOKEN as d5, setSiteConfig as d6, getSiteConfig as d7, getSiteColour as d8, getCommonConfig as d9, type FullDateSelectionProps as dA, type FormCalendarPickerMode as dB, type FormCalendarDatePickerRangeProps as dC, type DateSelectionProps as dD, type FormCalendarPickerInnerProps as dE, type FormInputProps as dF, type FormCalendarSpecialRangeDisplayProps as dG, type FormCalendarSpecialRangeProps as dH, type ValidFormTypes as dI, type ValidFormComponentTypes as dJ, type PropertyOverrides as dK, getLog as da, rootDependencyInjectionSetup as db, setContainerToken as dc, setContainerTokenLazy as dd, minItems as de, maxItems as df, selectedItemsExist as dg, selectedOptionIsInEnum as dh, noValidation as di, notNull as dj, multiValidation as dk, separateValidation as dl, validateForEach as dm, minDate as dn, maxDate as dp, emailValid as dq, isNumber as dr, minValue as ds, maxValue as dt, passwordValid as du, minLength as dv, maxLength as dw, shouldBeUrl as dx, shouldBeYoutubeUrl as dy, type IFormCalendarPickerProps as dz, MouseButton as e, minUrlLength as f, type CachedValue as g, createToken as h, isWebApp as i, type DependencyInjectionIdentifier as j, type DependencyInjectionFactory as k, type IDependencyInjectionSetupWebProps as l, monthTranslationKeyOrder as m, nanasFonts as n, type HtmlKeyEvent as o, portalGlyphLength as p, type HtmlFilesEvent as q, type HtmlImageReadEvent as r, socialLinks as s, type ClickEvent as t, type ActivityLocationType as u, validUuidChars as v, webAppTypes as w, activityShortCode as x, apiRouteParam as y, apiRoute as z };
@@ -1,10 +1,19 @@
1
1
  import * as solid_js from 'solid-js';
2
2
  import { JSXElement, Component, JSX, Accessor, ComponentProps } from 'solid-js';
3
- import { B as ActivityType, N as BookingStatusType, O as BugReportStatusType, t as ClickEvent, X as MembershipType, V as MembershipStatus, U as MembershipBillingCycleType, a0 as PetStatusType, a$ as ProfileDto, b4 as QuestionDto, ak as AnswerDto, a3 as QuestionForType, a2 as QuestionType, ac as UserType, ab as UserAccountFlagType, R as ResultWithValue, _ as PermissionType, Y as NetworkState, dq as IFormCalendarPickerProps, dr as FullDateSelectionProps, ds as FormCalendarPickerMode, dt as FormCalendarDatePickerRangeProps, du as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, dv as FormCalendarPickerInnerProps, dw as FormInputProps, bU as ValidationResult, K as KeyEvent, H as HtmlElementEvent, af as AddressCreateDto, ai as AddressUpdateDto, al as AuthLoginDto, as as AuthRegisterUserDto, ax as BookingCreateDto, aF as BookingUpdateDto, aI as BugReportDto, aH as BugReportCreateDto, aS as MembershipCreateDto, aY as PetCreateDto, a_ as PetUpdateDto, b2 as ProfileUpdateDto, b3 as QuestionCreateDto, bd as UploadCreateDto, bf as UploadImageWithLinkDto, bi as UserDto, bh as UserCreateDto, bp as UserMembershipUpdateDto, bk as UserMembershipCreateDto, q as HtmlFilesEvent, bQ as ILogMessage, I as ILogger, a as Result, aV as PaginationRequestDto, aW as PaginationResponseDto, b7 as SearchObjRequestDto, C as CommonConfigService, ae as ActivityDto, L as LogService, ag as AddressDto, F as AddressLinkType, bS as NominatimResponse, b0 as ProfileQuestionAndAnswersItemDto, ay as BookingDto, aG as BookingWithRelationshipsDto, aJ as BugReportUpdateDto, P as CommentLinkType, aM as CommentDto, aL as CommentCreateDto, aP as InvoiceDto, aO as InvoiceCreateDto, aQ as InvoiceUpdateDto, aT as MembershipDto, aU as MembershipUpdateDto, aZ as PetDto, be as UploadDto, bg as UploadUpdateDto, bs as UserUpdateDto, bl as UserMembershipDto, bo as UserMembershipStatsDto, br as UserPermissionDto, ah as AddressLookupDto, aR as InvoiceWithStripeInfoDto, cR as ISite, aX as PaymentMethodDto, b9 as SetupIntentCreateDto, ba as SetupIntentDto, aC as BookingRestrictionsDto, bm as UserMembershipSignUpDto, bn as UserMembershipSignUpResponseDto, bj as UserMembershipChangeResponseDto, av as AuthSuccessDto, ao as AuthRegisterDto, ap as AuthRegisterGetQuestionsDto, at as AuthRequestResetPasswordDto, au as AuthResetPasswordDto, bt as VersionDto, T as ThemeType, cL as Prettify, l as IDependencyInjectionSetupWebProps } from '../textValidation-BC4ZdmvE.js';
4
- export { cW as APP_TYPE_TOKEN, u as ActivityLocationType, bv as ActivityRestriction, bw as AddressRestriction, aj as AnswerCreateDto, G as AnswerLinkType, bx as AnswerRestriction, A as AppType, am as AuthPatDto, an as AuthRegisterAddressDto, aq as AuthRegisterPetDto, ar as AuthRegisterQuestionDto, by as AuthRegisterRestriction, cU as BOT_PATH_TOKEN, aw as BookingAddonDto, bA as BookingAddonRestriction, J as BookingAddonType, az as BookingHostCreateDto, aA as BookingHostDto, aB as BookingHostUpdateDto, bz as BookingRestriction, aD as BookingRestrictionsEnabledDaysDto, aE as BookingRestrictionsPremiumEnabledDaysDto, bB as BugReportRestriction, g as CachedValue, aK as ClientAnswerSaveDto, bC as CommentRestriction, aN as CommentUpdateDto, cS as DependencyInjectionContainer, k as DependencyInjectionFactory, j as DependencyInjectionIdentifier, D as DependencyInjectionToken, bD as DrivingRouteRestriction, E as EnvKey, dx as FormCalendarSpecialRangeDisplayProps, dy as FormCalendarSpecialRangeProps, r as HtmlImageReadEvent, o as HtmlKeyEvent, bO as ICaptchaResponse, b as IDependencyInjectionSetupProps, cp as IImageParams, bR as IMediaUpload, cO as ISiteColour, bE as InvoiceRestriction, Q as InvoiceStatusType, bu as JwtPayloadDto, bP as LogMethod, S as LogType, bF as MembershipRestriction, e as MouseButton, bT as NominatimAddressResponse, cK as ObjectWithPropsOfValue, Z as OrderDirectionType, bG as PermissionRestriction, bH as PetRestriction, $ as PetSexType, a1 as PetType, b1 as ProfileQuestionRequestDto, dB as PropertyOverrides, bI as QuestionRestriction, b5 as QuestionUpdateDto, c1 as RenderCellType, cY as SITE_CONFIG_TOKEN, b6 as SearchObjDatePropRequestDto, b8 as SearchObjTextPropRequestDto, a6 as SearchableColumnInfo, a5 as SearchableColumnType, bJ as StripeRestriction, bb as TempLinkCreateDto, bc as TempLinkDto, a7 as TempLinkType, bK as UnavailabilityRestriction, a8 as UploadLinkType, bL as UploadRestriction, a9 as UploadType, bq as UserMembershipWithStripeInfoDto, bM as UserRestriction, dA as ValidFormComponentTypes, dz as ValidFormTypes, x as activityShortCode, cd as addDays, cc as addMinutes, ce as addMonths, cb as addSeconds, cG as addSpacesForEnum, b_ as addToParallelTasks, cI as anyObject, z as apiRoute, y as apiRouteParam, bY as arrayContains, bX as arrayOfNLength, cE as capitalizeFirstLetter, cP as colourPalette, d as commonEmailLinks, h as createToken, co as cyrb53, ch as dateDiffInDays, cl as debounceLeading, cQ as defaultSiteColour, dg as emailValid, cJ as fakePromise, c4 as formatDate, cH as formatFileSize, ca as formatForBookingDate, c6 as formatForDateDropdown, c5 as formatForDateLocal, c9 as formatForDateLocalDetailed, c7 as formatForDateOfBirth, c8 as formatForDateWithTime, cN as getActiveUserMembership, ci as getAgeInYears, a4 as getAllPetQuestionForType, cX as getAppType, cm as getArrFromEnum, cV as getBotPath, d0 as getCommonConfig, b$ as getDayClassObject, c2 as getDayElements, c0 as getDayHeadingElements, cq as getImageParams, d1 as getLog, ct as getMimeTypeFromExtension, cr as getPayloadFromJwt, cv as getPerformanceTimer, cy as getPetAvatarUrl, cB as getQuestionGroups, c$ as getSiteColour, c_ as getSiteConfig, cx as getUserAvatarUrl, c3 as getUsersName, cj as getWeekNumber, cw as hasRequiredPermissions, ad as hubspotQuestionsExport, cf as isBefore, dh as isNumber, cg as isSameDay, i as isWebApp, cF as lowercaseFirstLetter, bV as makeArrayOrDefault, df as maxDate, d6 as maxItems, dm as maxLength, dj as maxValue, cs as mimeTypeLookup, de as minDate, d5 as minItems, dl as minLength, f as minUrlLength, di as minValue, m as monthTranslationKeyOrder, db as multiValidation, cA as nameof, n as nanasFonts, d9 as noValidation, da as notNull, bW as onlyUnique, dk as passwordValid, p as portalGlyphLength, cz as promiseFromValue, cC as randomIntFromRange, cD as randomItemFromArray, cT as rootContainer, d2 as rootDependencyInjectionSetup, bN as searchColumns, d7 as selectedItemsExist, d8 as selectedOptionIsInEnum, dc as separateValidation, d3 as setContainerToken, d4 as setContainerTokenLazy, cZ as setSiteConfig, dn as shouldBeUrl, dp as shouldBeYoutubeUrl, ck as showSecondCalendar, s as socialLinks, bZ as timeout, cu as tryParseNumber, aa as uploadsThatNeedEncryption, cM as urlRef, cn as uuidv4, v as validUuidChars, dd as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-BC4ZdmvE.js';
3
+ import { B as ActivityType, N as BookingStatusType, O as BugReportStatusType, t as ClickEvent, X as MembershipType, V as MembershipStatus, U as MembershipBillingCycleType, a0 as PetStatusType, a$ as ProfileDto, b4 as QuestionDto, ak as AnswerDto, a3 as QuestionForType, a2 as QuestionType, ac as UserType, ab as UserAccountFlagType, R as ResultWithValue, _ as PermissionType, Y as NetworkState, dz as IFormCalendarPickerProps, dA as FullDateSelectionProps, dB as FormCalendarPickerMode, dC as FormCalendarDatePickerRangeProps, dD as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, dE as FormCalendarPickerInnerProps, dF as FormInputProps, bU as ValidationResult, K as KeyEvent, H as HtmlElementEvent, af as AddressCreateDto, ai as AddressUpdateDto, al as AuthLoginDto, as as AuthRegisterUserDto, ax as BookingCreateDto, aF as BookingUpdateDto, aI as BugReportDto, aH as BugReportCreateDto, aS as MembershipCreateDto, aY as PetCreateDto, a_ as PetUpdateDto, b2 as ProfileUpdateDto, b3 as QuestionCreateDto, bd as UploadCreateDto, bf as UploadImageWithLinkDto, bi as UserDto, bh as UserCreateDto, bp as UserMembershipUpdateDto, bk as UserMembershipCreateDto, q as HtmlFilesEvent, bQ as ILogMessage, I as ILogger, a as Result, aV as PaginationRequestDto, aW as PaginationResponseDto, b7 as SearchObjRequestDto, C as CommonConfigService, ae as ActivityDto, L as LogService, ag as AddressDto, F as AddressLinkType, bS as NominatimResponse, b0 as ProfileQuestionAndAnswersItemDto, ay as BookingDto, aG as BookingWithRelationshipsDto, b$ as BookingCalendarOverviewItem, aJ as BugReportUpdateDto, P as CommentLinkType, aM as CommentDto, aL as CommentCreateDto, aP as InvoiceDto, aO as InvoiceCreateDto, aQ as InvoiceUpdateDto, aT as MembershipDto, aU as MembershipUpdateDto, aZ as PetDto, be as UploadDto, bg as UploadUpdateDto, bs as UserUpdateDto, bl as UserMembershipDto, bo as UserMembershipStatsDto, br as UserPermissionDto, ah as AddressLookupDto, aR as InvoiceWithStripeInfoDto, c_ as ISite, aX as PaymentMethodDto, b9 as SetupIntentCreateDto, ba as SetupIntentDto, aC as BookingRestrictionsDto, bm as UserMembershipSignUpDto, bn as UserMembershipSignUpResponseDto, bj as UserMembershipChangeResponseDto, av as AuthSuccessDto, ao as AuthRegisterDto, ap as AuthRegisterGetQuestionsDto, at as AuthRequestResetPasswordDto, au as AuthResetPasswordDto, bt as VersionDto, T as ThemeType, cT as Prettify, l as IDependencyInjectionSetupWebProps } from '../textValidation-BhLPnwdX.js';
4
+ export { d3 as APP_TYPE_TOKEN, u as ActivityLocationType, bv as ActivityRestriction, bw as AddressRestriction, aj as AnswerCreateDto, G as AnswerLinkType, bx as AnswerRestriction, A as AppType, am as AuthPatDto, an as AuthRegisterAddressDto, aq as AuthRegisterPetDto, ar as AuthRegisterQuestionDto, by as AuthRegisterRestriction, c3 as BOOKING_OVERVIEW_STATUSES, d1 as BOT_PATH_TOKEN, aw as BookingAddonDto, bA as BookingAddonRestriction, J as BookingAddonType, az as BookingHostCreateDto, aA as BookingHostDto, aB as BookingHostUpdateDto, bz as BookingRestriction, aD as BookingRestrictionsEnabledDaysDto, aE as BookingRestrictionsPremiumEnabledDaysDto, c4 as BookingStatusCounts, bB as BugReportRestriction, g as CachedValue, aK as ClientAnswerSaveDto, bC as CommentRestriction, aN as CommentUpdateDto, c$ as DependencyInjectionContainer, k as DependencyInjectionFactory, j as DependencyInjectionIdentifier, D as DependencyInjectionToken, bD as DrivingRouteRestriction, E as EnvKey, dG as FormCalendarSpecialRangeDisplayProps, dH as FormCalendarSpecialRangeProps, r as HtmlImageReadEvent, o as HtmlKeyEvent, bO as ICaptchaResponse, b as IDependencyInjectionSetupProps, cx as IImageParams, bR as IMediaUpload, cX as ISiteColour, bE as InvoiceRestriction, Q as InvoiceStatusType, bu as JwtPayloadDto, bP as LogMethod, S as LogType, bF as MembershipRestriction, e as MouseButton, bT as NominatimAddressResponse, cS as ObjectWithPropsOfValue, Z as OrderDirectionType, bG as PermissionRestriction, bH as PetRestriction, $ as PetSexType, a1 as PetType, b1 as ProfileQuestionRequestDto, dK as PropertyOverrides, bI as QuestionRestriction, b5 as QuestionUpdateDto, c9 as RenderCellType, d5 as SITE_CONFIG_TOKEN, b6 as SearchObjDatePropRequestDto, b8 as SearchObjTextPropRequestDto, a6 as SearchableColumnInfo, a5 as SearchableColumnType, bJ as StripeRestriction, bb as TempLinkCreateDto, bc as TempLinkDto, a7 as TempLinkType, bK as UnavailabilityRestriction, a8 as UploadLinkType, bL as UploadRestriction, a9 as UploadType, bq as UserMembershipWithStripeInfoDto, bM as UserRestriction, dJ as ValidFormComponentTypes, dI as ValidFormTypes, x as activityShortCode, cl as addDays, ck as addMinutes, cm as addMonths, cj as addSeconds, cO as addSpacesForEnum, b_ as addToParallelTasks, cQ as anyObject, z as apiRoute, y as apiRouteParam, bY as arrayContains, bX as arrayOfNLength, cM as capitalizeFirstLetter, cY as colourPalette, d as commonEmailLinks, c5 as computeBookingStatusCounts, h as createToken, cw as cyrb53, cp as dateDiffInDays, ct as debounceLeading, cZ as defaultSiteColour, dq as emailValid, cR as fakePromise, c6 as filterBookingsByOverviewStatus, c2 as formatBookingCalendarLabel, cc as formatDate, cP as formatFileSize, ci as formatForBookingDate, ce as formatForDateDropdown, cd as formatForDateLocal, ch as formatForDateLocalDetailed, cf as formatForDateOfBirth, cg as formatForDateWithTime, cW as getActiveUserMembership, cq as getAgeInYears, a4 as getAllPetQuestionForType, d4 as getAppType, cu as getArrFromEnum, c0 as getBookingStatusLabelForAdmin, d2 as getBotPath, d9 as getCommonConfig, c7 as getDayClassObject, ca as getDayElements, c8 as getDayHeadingElements, cy as getImageParams, da as getLog, c1 as getMembershipTypeLabel, cB as getMimeTypeFromExtension, cz as getPayloadFromJwt, cD as getPerformanceTimer, cG as getPetAvatarUrl, cJ as getQuestionGroups, d8 as getSiteColour, d7 as getSiteConfig, cF as getUserAvatarUrl, cb as getUsersName, cr as getWeekNumber, cE as hasRequiredPermissions, ad as hubspotQuestionsExport, cn as isBefore, dr as isNumber, co as isSameDay, i as isWebApp, cN as lowercaseFirstLetter, bV as makeArrayOrDefault, dp as maxDate, df as maxItems, dw as maxLength, dt as maxValue, cA as mimeTypeLookup, dn as minDate, de as minItems, dv as minLength, f as minUrlLength, ds as minValue, m as monthTranslationKeyOrder, dk as multiValidation, cI as nameof, n as nanasFonts, di as noValidation, dj as notNull, bW as onlyUnique, du as passwordValid, p as portalGlyphLength, cH as promiseFromValue, cK as randomIntFromRange, cL as randomItemFromArray, d0 as rootContainer, db as rootDependencyInjectionSetup, bN as searchColumns, dg as selectedItemsExist, dh as selectedOptionIsInEnum, dl as separateValidation, dc as setContainerToken, dd as setContainerTokenLazy, d6 as setSiteConfig, dx as shouldBeUrl, dy as shouldBeYoutubeUrl, cs as showSecondCalendar, s as socialLinks, bZ as timeout, cC as tryParseNumber, aa as uploadsThatNeedEncryption, cU as urlRef, cV as userMustChangePassword, cv as uuidv4, v as validUuidChars, dm as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-BhLPnwdX.js';
5
5
  import { ToasterProps } from 'solid-toast';
6
6
  import { TolgeeInstance, TranslationKey, CombinedOptions, DefaultParamType } from '@tolgee/web';
7
7
 
8
+ type ChangePasswordPageProps = {
9
+ logoUrl: string;
10
+ title: JSXElement;
11
+ loginPath: string;
12
+ dashboardPath: string;
13
+ navigate: (url: string) => void;
14
+ };
15
+ declare const ChangePasswordPage: Component<ChangePasswordPageProps>;
16
+
8
17
  interface ICardProps {
9
18
  title: string | JSXElement;
10
19
  debug?: string;
@@ -295,6 +304,13 @@ declare const ErrorDogSvg: (props: {
295
304
  style?: string | JSX.CSSProperties | undefined;
296
305
  }) => JSX.Element;
297
306
 
307
+ type ForcePasswordChangeGuardProps = {
308
+ changePasswordPath: string;
309
+ navigate: (url: string) => void;
310
+ children?: JSX.Element;
311
+ };
312
+ declare const ForcePasswordChangeGuard: Component<ForcePasswordChangeGuardProps>;
313
+
298
314
  interface IProps$3 {
299
315
  imagePath: string;
300
316
  maxHeight?: string;
@@ -753,6 +769,7 @@ declare class AdminBookingApiService extends BaseCrudService<BookingDto, Booking
753
769
  readWithRelationships: (bookingUuid: string) => Promise<ResultWithValue<BookingWithRelationshipsDto>>;
754
770
  assignHost: (bookingUuid: string, hostUuid: string) => Promise<ResultWithValue<BookingWithRelationshipsDto>>;
755
771
  removeHost: (bookingUuid: string) => Promise<ResultWithValue<BookingWithRelationshipsDto>>;
772
+ getCalendarOverview: (from: string, to: string) => Promise<ResultWithValue<Array<BookingCalendarOverviewItem>>>;
756
773
  }
757
774
 
758
775
  declare class AdminBugReportApiService extends BaseCrudService<BugReportDto, BugReportCreateDto, BugReportUpdateDto> {
@@ -929,6 +946,10 @@ declare class UserMembershipApiService {
929
946
  cancel: (userMembershipUuid: string) => Promise<Result>;
930
947
  }
931
948
 
949
+ type AuthChangePasswordDto = {
950
+ currentPassword: string;
951
+ newPassword: string;
952
+ };
932
953
  declare class AuthApiService {
933
954
  private _prefix;
934
955
  private _baseApi;
@@ -938,6 +959,7 @@ declare class AuthApiService {
938
959
  signUpQuestions: (data: AuthRegisterGetQuestionsDto) => Promise<ResultWithValue<Record<string, Array<ProfileQuestionAndAnswersItemDto>>>>;
939
960
  requestPasswordReset: (data: AuthRequestResetPasswordDto) => Promise<ResultWithValue<unknown>>;
940
961
  passwordResetFromTempLink: (tempLinkUuid: string, data: AuthResetPasswordDto) => Promise<ResultWithValue<unknown>>;
962
+ changePassword: (data: AuthChangePasswordDto) => Promise<ResultWithValue<AuthSuccessDto>>;
941
963
  }
942
964
 
943
965
  declare class VersionApiService {
@@ -1099,4 +1121,4 @@ type AssistantAppsAppNoticeList = ComponentProps<'div'> & {
1099
1121
 
1100
1122
  declare const maxFullDateSelection: (maxDate: Date, type: keyof FormCalendarDatePickerRangeProps) => (value: FormCalendarDatePickerRangeProps) => ValidationResult;
1101
1123
 
1102
- export { AboutPageContent, Accordion, ActivityDto, ActivityType, AddressApiService, AddressCreateDto, AddressCreateDtoMeta, AddressDto, AddressLinkType, AddressLookupDto, AddressUpdateDto, AddressUpdateDtoMeta, AdminActivityApiService, AdminAddressApiService, AdminAnswerApiService, AdminBookingApiService, AdminBugReportApiService, AdminCommentApiService, AdminInvoiceApiService, AdminMembershipApiService, AdminPetApiService, AdminQuestionApiService, AdminUploadApiService, AdminUserApiService, AdminUserMembershipApiService, AdminUserPermissionApiService, Alert, AnswerApiService, AnswerDto, type AssistantAppsAppNoticeList, AsyncComponent, AsyncDetailPageComponent, AuthApiService, AuthGuard, AuthLoginDto, AuthLoginDtoMeta, AuthRegisterDto, AuthRegisterGetQuestionsDto, AuthRegisterUserDto, AuthRegisterUserDtoMeta, AuthRequestResetPasswordDto, AuthResetPasswordDto, AuthSuccessDto, Backdrop, BaseApiService, BaseCrudService, BookingApiService, BookingCreateDto, BookingCreateDtoMeta, BookingDto, BookingRestrictionsDto, BookingStatusType, BookingStatusTypeDropdown, BookingUpdateDto, BookingUpdateDtoMeta, BookingWithRelationshipsDto, Breadcrumb, BugReportApiService, BugReportCreateDto, BugReportCreateDtoMeta, BugReportDto, BugReportDtoMeta, BugReportFab, BugReportStatusType, BugReportUpdateDto, Button, CaptchaWebService, Card, Center, CenterLoading, CircularProgress, ClickEvent, type ClientAnswerSaveBody, CommentCreateDto, CommentDto, CommentLinkType, CommonConfigService, CommonStateService, DateSelectionProps, DebugNode, DebugService, DocumentMeta, DocumentService, EnumTypeDropdown, ErrorBlock, ErrorBoundary, ErrorDogSvg, ErrorScreen, FacebookIcon, FormCalendarDatePickerRangeProps, FormCalendarPicker, FormCalendarPickerDropdown, FormCalendarPickerInner, FormCalendarPickerInnerProps, FormCalendarPickerMode, FormCheckbox, FormDropdown, type FormDtoMeta, type FormDtoMetaDetails, FormInputErrorMessage, FormInputProps, FormLongInput, FormNetworkStateIndicator, FormPromiseDropdown, FormPromiseSearchDropdown, FormTextArea, FormUserPetDropdown, FullDateSelectionProps, HelpIcon, HelpIconTooltip, HtmlElementEvent, HtmlFilesEvent, type IBaseCrudService, type IBreadcrumbLinkProps, type ICardProps, type ICommonState, IDependencyInjectionSetupWebProps, IFormCalendarPickerProps, type IFormDropdownAdditionalOption, type IFormDropdownOption, type ILoadingSpinnerProps, ILogMessage, ILogger, type IProfilePanelLinkProps$1 as IProfilePanelLinkProps, type ISidebarItemProps, ISite, IllustrationNoItems, InstagramIcon, InvoiceApiService, InvoiceCreateDto, InvoiceDto, InvoiceUpdateDto, InvoiceWithStripeInfoDto, KeyEvent, LazyImage, LinkedInIcon, type LoadItemsSearchFn, LoadingSpinner, LoadingSpinnerBlock, LocalStorageKeys, type LocalStorageKeysType, LocalStorageService, LogService, MembershipApiService, MembershipBillingCycleDropdown, MembershipBillingCycleType, MembershipCreateDto, MembershipCreateDtoMeta, MembershipDto, MembershipIcon, MembershipProfileHeading, MembershipStatus, MembershipStatusDropdown, MembershipType, MembershipTypeDropdown, MembershipUpdateDto, Modal, MonthTranslationKey, NavBar, NetworkState, NominatimResponse, PaginationRequestDto, PaginationResponseDto, PaymentMethodApiService, PaymentMethodDto, PermissionType, PetApiService, PetCreateDto, PetCreateDtoMeta, PetDto, PetSexTypeDropdown, PetStatusType, PetStatusTypeDropdown, PetTypeDropdown, PetUpdateDto, PetUpdateDtoMeta, Prettify, ProfileApiService, ProfileDto, ProfilePanel, ProfilePanelNavBarDropdown, ProfileQuestionAndAnswersItemDto, ProfileUpdateDto, ProfileUpdateDtoMeta, QuestionCreateDto, QuestionCreateDtoMeta, QuestionDto, QuestionForType, QuestionForTypeDropdown, QuestionType, QuestionTypeDropdown, Result, ResultWithValue, SearchObjRequestDto, SetupIntentCreateDto, SetupIntentDto, Sidebar, T, ThemeType, ToastService, Tooltip, TranslationService, UploadApiService, UploadCreateDto, UploadCreateDtoMeta, UploadDto, UploadImageWithLinkDto, UploadImageWithLinkDtoMeta, UploadUpdateDto, UserAccountFlagType, UserAccountFlagTypeDropdown, UserCreateDto, UserCreateDtoMeta, UserDto, UserDtoMeta, UserMembershipApiService, UserMembershipChangeResponseDto, UserMembershipCreateDto, UserMembershipCreateDtoMeta, UserMembershipDto, UserMembershipSignUpDto, UserMembershipSignUpResponseDto, UserMembershipStatsDto, UserMembershipUpdateDto, UserMembershipUpdateDtoMeta, UserPermissionDto, UserType, UserTypeDropdown, UserUpdateDto, ValidationResult, type ValidationWithPropName, VersionApiService, VersionDto, WeekdayTranslationKey, WrapWhen, addAccessTokenToHeaders, changeMonth, convertToDate, convertToFullDateSelection, copyTextToClipboard, dateCreatedMeta, dependencyInjectionWebSetup, displayActivityTypeBadge, displayBookingStatusTypeBadge, displayBugReportTypeBadge, displayMembershipBillingCycleBadge, displayMembershipStatusBadge, displayMembershipTypeBadge, displayPetStatusTypeBadge, displayQuestionForTypeBadge, displayQuestionTypeBadge, displayUserAccountFlagTypeBadge, displayUserTypeBadge, formDataWithAccessTokenHeaders, getAddressApi, getAdminActivityApi, getAdminAddressApi, getAdminAnswerApi, getAdminBookingApi, getAdminBugReportApi, getAdminCommentApi, getAdminInvoiceApi, getAdminMembershipApi, getAdminPetApi, getAdminQuestionApi, getAdminUploadApi, getAdminUserApi, getAdminUserMembershipApi, getAdminUserPermissionApi, getAnswerApi, getAriaInvalid, getAuthApi, getBookingApi, getBookingStatusTypeLocalisationForAdmin, getBookingStatusTypeLocalisationForClient, getBugReportApi, getBugReportStatusBadgeContent, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCaptchaWebService, getCommonStateService, getDebugService, getDocumentServ, getFormControlAriaInvalid, getInvoiceApi, getLocalStorage, getMembershipApi, getMonthHeading, getNextMonthButton, getPaginationQueryParams, getPaymentMethodApi, getPetApi, getPrevMonthButton, getProfileApi, getToastService, getUploadApi, getUserAccountFlagTypeBadgeContent, getUserMembershipApi, getVersionApi, globalErrorDetails, handleLogMessageError, hasOneOrMoreErrors, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isFormControlInvalid, isFormNetworkError, isFormNetworkLoading, loggerHasErrors, maxFullDateSelection, monthTranslation, notesMeta, onFormSubmitFacade, onTargetChecked, onTargetFiles, onTargetValue, preventDefault, profileEventSignal, questionAnswerDisplay, setGlobalErrorDetails, setLoggerHasErrors, setProfileEventSignal, stopPropagation, translate, translateComponentToString, usePromise, useValidation, weekdayTranslation2Char, weekdayTranslation3Char, windowOnError, windowOnUnhandledRejection };
1124
+ export { AboutPageContent, Accordion, ActivityDto, ActivityType, AddressApiService, AddressCreateDto, AddressCreateDtoMeta, AddressDto, AddressLinkType, AddressLookupDto, AddressUpdateDto, AddressUpdateDtoMeta, AdminActivityApiService, AdminAddressApiService, AdminAnswerApiService, AdminBookingApiService, AdminBugReportApiService, AdminCommentApiService, AdminInvoiceApiService, AdminMembershipApiService, AdminPetApiService, AdminQuestionApiService, AdminUploadApiService, AdminUserApiService, AdminUserMembershipApiService, AdminUserPermissionApiService, Alert, AnswerApiService, AnswerDto, type AssistantAppsAppNoticeList, AsyncComponent, AsyncDetailPageComponent, AuthApiService, type AuthChangePasswordDto, AuthGuard, AuthLoginDto, AuthLoginDtoMeta, AuthRegisterDto, AuthRegisterGetQuestionsDto, AuthRegisterUserDto, AuthRegisterUserDtoMeta, AuthRequestResetPasswordDto, AuthResetPasswordDto, AuthSuccessDto, Backdrop, BaseApiService, BaseCrudService, BookingApiService, BookingCalendarOverviewItem, BookingCreateDto, BookingCreateDtoMeta, BookingDto, BookingRestrictionsDto, BookingStatusType, BookingStatusTypeDropdown, BookingUpdateDto, BookingUpdateDtoMeta, BookingWithRelationshipsDto, Breadcrumb, BugReportApiService, BugReportCreateDto, BugReportCreateDtoMeta, BugReportDto, BugReportDtoMeta, BugReportFab, BugReportStatusType, BugReportUpdateDto, Button, CaptchaWebService, Card, Center, CenterLoading, ChangePasswordPage, type ChangePasswordPageProps, CircularProgress, ClickEvent, type ClientAnswerSaveBody, CommentCreateDto, CommentDto, CommentLinkType, CommonConfigService, CommonStateService, DateSelectionProps, DebugNode, DebugService, DocumentMeta, DocumentService, EnumTypeDropdown, ErrorBlock, ErrorBoundary, ErrorDogSvg, ErrorScreen, FacebookIcon, ForcePasswordChangeGuard, FormCalendarDatePickerRangeProps, FormCalendarPicker, FormCalendarPickerDropdown, FormCalendarPickerInner, FormCalendarPickerInnerProps, FormCalendarPickerMode, FormCheckbox, FormDropdown, type FormDtoMeta, type FormDtoMetaDetails, FormInputErrorMessage, FormInputProps, FormLongInput, FormNetworkStateIndicator, FormPromiseDropdown, FormPromiseSearchDropdown, FormTextArea, FormUserPetDropdown, FullDateSelectionProps, HelpIcon, HelpIconTooltip, HtmlElementEvent, HtmlFilesEvent, type IBaseCrudService, type IBreadcrumbLinkProps, type ICardProps, type ICommonState, IDependencyInjectionSetupWebProps, IFormCalendarPickerProps, type IFormDropdownAdditionalOption, type IFormDropdownOption, type ILoadingSpinnerProps, ILogMessage, ILogger, type IProfilePanelLinkProps$1 as IProfilePanelLinkProps, type ISidebarItemProps, ISite, IllustrationNoItems, InstagramIcon, InvoiceApiService, InvoiceCreateDto, InvoiceDto, InvoiceUpdateDto, InvoiceWithStripeInfoDto, KeyEvent, LazyImage, LinkedInIcon, type LoadItemsSearchFn, LoadingSpinner, LoadingSpinnerBlock, LocalStorageKeys, type LocalStorageKeysType, LocalStorageService, LogService, MembershipApiService, MembershipBillingCycleDropdown, MembershipBillingCycleType, MembershipCreateDto, MembershipCreateDtoMeta, MembershipDto, MembershipIcon, MembershipProfileHeading, MembershipStatus, MembershipStatusDropdown, MembershipType, MembershipTypeDropdown, MembershipUpdateDto, Modal, MonthTranslationKey, NavBar, NetworkState, NominatimResponse, PaginationRequestDto, PaginationResponseDto, PaymentMethodApiService, PaymentMethodDto, PermissionType, PetApiService, PetCreateDto, PetCreateDtoMeta, PetDto, PetSexTypeDropdown, PetStatusType, PetStatusTypeDropdown, PetTypeDropdown, PetUpdateDto, PetUpdateDtoMeta, Prettify, ProfileApiService, ProfileDto, ProfilePanel, ProfilePanelNavBarDropdown, ProfileQuestionAndAnswersItemDto, ProfileUpdateDto, ProfileUpdateDtoMeta, QuestionCreateDto, QuestionCreateDtoMeta, QuestionDto, QuestionForType, QuestionForTypeDropdown, QuestionType, QuestionTypeDropdown, Result, ResultWithValue, SearchObjRequestDto, SetupIntentCreateDto, SetupIntentDto, Sidebar, T, ThemeType, ToastService, Tooltip, TranslationService, UploadApiService, UploadCreateDto, UploadCreateDtoMeta, UploadDto, UploadImageWithLinkDto, UploadImageWithLinkDtoMeta, UploadUpdateDto, UserAccountFlagType, UserAccountFlagTypeDropdown, UserCreateDto, UserCreateDtoMeta, UserDto, UserDtoMeta, UserMembershipApiService, UserMembershipChangeResponseDto, UserMembershipCreateDto, UserMembershipCreateDtoMeta, UserMembershipDto, UserMembershipSignUpDto, UserMembershipSignUpResponseDto, UserMembershipStatsDto, UserMembershipUpdateDto, UserMembershipUpdateDtoMeta, UserPermissionDto, UserType, UserTypeDropdown, UserUpdateDto, ValidationResult, type ValidationWithPropName, VersionApiService, VersionDto, WeekdayTranslationKey, WrapWhen, addAccessTokenToHeaders, changeMonth, convertToDate, convertToFullDateSelection, copyTextToClipboard, dateCreatedMeta, dependencyInjectionWebSetup, displayActivityTypeBadge, displayBookingStatusTypeBadge, displayBugReportTypeBadge, displayMembershipBillingCycleBadge, displayMembershipStatusBadge, displayMembershipTypeBadge, displayPetStatusTypeBadge, displayQuestionForTypeBadge, displayQuestionTypeBadge, displayUserAccountFlagTypeBadge, displayUserTypeBadge, formDataWithAccessTokenHeaders, getAddressApi, getAdminActivityApi, getAdminAddressApi, getAdminAnswerApi, getAdminBookingApi, getAdminBugReportApi, getAdminCommentApi, getAdminInvoiceApi, getAdminMembershipApi, getAdminPetApi, getAdminQuestionApi, getAdminUploadApi, getAdminUserApi, getAdminUserMembershipApi, getAdminUserPermissionApi, getAnswerApi, getAriaInvalid, getAuthApi, getBookingApi, getBookingStatusTypeLocalisationForAdmin, getBookingStatusTypeLocalisationForClient, getBugReportApi, getBugReportStatusBadgeContent, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCaptchaWebService, getCommonStateService, getDebugService, getDocumentServ, getFormControlAriaInvalid, getInvoiceApi, getLocalStorage, getMembershipApi, getMonthHeading, getNextMonthButton, getPaginationQueryParams, getPaymentMethodApi, getPetApi, getPrevMonthButton, getProfileApi, getToastService, getUploadApi, getUserAccountFlagTypeBadgeContent, getUserMembershipApi, getVersionApi, globalErrorDetails, handleLogMessageError, hasOneOrMoreErrors, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isFormControlInvalid, isFormNetworkError, isFormNetworkLoading, loggerHasErrors, maxFullDateSelection, monthTranslation, notesMeta, onFormSubmitFacade, onTargetChecked, onTargetFiles, onTargetValue, preventDefault, profileEventSignal, questionAnswerDisplay, setGlobalErrorDetails, setLoggerHasErrors, setProfileEventSignal, stopPropagation, translate, translateComponentToString, usePromise, useValidation, weekdayTranslation2Char, weekdayTranslation3Char, windowOnError, windowOnUnhandledRejection };