@nanas-home/hub-common 0.36.824 → 0.36.844

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.
@@ -23,6 +23,24 @@ var webAppTypes = [
23
23
  ];
24
24
  var isWebApp = (appType) => webAppTypes.includes(appType);
25
25
 
26
+ // src/contracts/generated/enum/bookingStatus.ts
27
+ var BookingStatusType = /* @__PURE__ */ ((BookingStatusType2) => {
28
+ BookingStatusType2[BookingStatusType2["Pending"] = 0] = "Pending";
29
+ BookingStatusType2[BookingStatusType2["Cancelled"] = 1] = "Cancelled";
30
+ BookingStatusType2[BookingStatusType2["IntakeCall"] = 2] = "IntakeCall";
31
+ BookingStatusType2[BookingStatusType2["RequestMatchFee"] = 3] = "RequestMatchFee";
32
+ BookingStatusType2[BookingStatusType2["FindPlacement"] = 4] = "FindPlacement";
33
+ BookingStatusType2[BookingStatusType2["Matched"] = 5] = "Matched";
34
+ BookingStatusType2[BookingStatusType2["MeetAndGreet"] = 6] = "MeetAndGreet";
35
+ BookingStatusType2[BookingStatusType2["RequestPayment"] = 7] = "RequestPayment";
36
+ BookingStatusType2[BookingStatusType2["PaymentRequested"] = 8] = "PaymentRequested";
37
+ BookingStatusType2[BookingStatusType2["Paid"] = 9] = "Paid";
38
+ BookingStatusType2[BookingStatusType2["WaitList"] = 10] = "WaitList";
39
+ BookingStatusType2[BookingStatusType2["Complete"] = 11] = "Complete";
40
+ BookingStatusType2[BookingStatusType2["CompleteWithHostFeedback"] = 12] = "CompleteWithHostFeedback";
41
+ return BookingStatusType2;
42
+ })(BookingStatusType || {});
43
+
26
44
  // src/constants/calendar.constants.ts
27
45
  var weekdayTranslationKeyOrder = [
28
46
  "sun",
@@ -47,6 +65,21 @@ var monthTranslationKeyOrder = [
47
65
  "nov",
48
66
  "dec"
49
67
  ];
68
+ var bookingColourLookup = {
69
+ [0 /* Pending */]: "#D50000",
70
+ [2 /* IntakeCall */]: "#D50000",
71
+ [3 /* RequestMatchFee */]: "#F4511E",
72
+ [4 /* FindPlacement */]: "#7986CB",
73
+ [5 /* Matched */]: "#E67C73",
74
+ [6 /* MeetAndGreet */]: "#F6BF26",
75
+ [7 /* RequestPayment */]: "#F4511E",
76
+ [8 /* PaymentRequested */]: "#33B679",
77
+ [9 /* Paid */]: "#0B8043",
78
+ [1 /* Cancelled */]: "#616161",
79
+ [10 /* WaitList */]: "#039BE5",
80
+ [11 /* Complete */]: "#0B8043",
81
+ [12 /* CompleteWithHostFeedback */]: "#0B8043"
82
+ };
50
83
 
51
84
  // src/constants/font.ts
52
85
  var nanasFonts = {
@@ -282,24 +315,6 @@ var BookingAddonType = /* @__PURE__ */ ((BookingAddonType2) => {
282
315
  return BookingAddonType2;
283
316
  })(BookingAddonType || {});
284
317
 
285
- // src/contracts/generated/enum/bookingStatus.ts
286
- var BookingStatusType = /* @__PURE__ */ ((BookingStatusType2) => {
287
- BookingStatusType2[BookingStatusType2["Pending"] = 0] = "Pending";
288
- BookingStatusType2[BookingStatusType2["Cancelled"] = 1] = "Cancelled";
289
- BookingStatusType2[BookingStatusType2["IntakeCall"] = 2] = "IntakeCall";
290
- BookingStatusType2[BookingStatusType2["RequestMatchFee"] = 3] = "RequestMatchFee";
291
- BookingStatusType2[BookingStatusType2["FindPlacement"] = 4] = "FindPlacement";
292
- BookingStatusType2[BookingStatusType2["Matched"] = 5] = "Matched";
293
- BookingStatusType2[BookingStatusType2["MeetAndGreet"] = 6] = "MeetAndGreet";
294
- BookingStatusType2[BookingStatusType2["RequestPayment"] = 7] = "RequestPayment";
295
- BookingStatusType2[BookingStatusType2["PaymentRequested"] = 8] = "PaymentRequested";
296
- BookingStatusType2[BookingStatusType2["Paid"] = 9] = "Paid";
297
- BookingStatusType2[BookingStatusType2["WaitList"] = 10] = "WaitList";
298
- BookingStatusType2[BookingStatusType2["Complete"] = 11] = "Complete";
299
- BookingStatusType2[BookingStatusType2["CompleteWithHostFeedback"] = 12] = "CompleteWithHostFeedback";
300
- return BookingStatusType2;
301
- })(BookingStatusType || {});
302
-
303
318
  // src/contracts/generated/enum/commentLinkType.ts
304
319
  var CommentLinkType = /* @__PURE__ */ ((CommentLinkType2) => {
305
320
  CommentLinkType2[CommentLinkType2["Unknown"] = 0] = "Unknown";
@@ -715,6 +730,7 @@ var LogService = class {
715
730
  console.info("Log Levels: ", this._logLevels.join());
716
731
  }
717
732
  logs = [];
733
+ _loggers = {};
718
734
  _logLevels;
719
735
  _latestLogDate;
720
736
  _logMessageToConsole = (log) => {
@@ -762,7 +778,17 @@ ${(log.optionalParams ?? []).join("\n\r")}`;
762
778
  clearLogs = () => {
763
779
  this.logs = [];
764
780
  };
765
- getLogger = (...groups) => ({
781
+ getLogger = (...groups) => {
782
+ const grpLength = groups?.length ?? 0;
783
+ if (grpLength < 0 || grpLength > 1 || groups[0] == null) return this._createNewLogger(groups);
784
+ const groupKey = groups[0];
785
+ const existingLogger = this._loggers[groupKey];
786
+ if (existingLogger != null) return existingLogger;
787
+ const newLogger = this._createNewLogger(groups);
788
+ this._loggers[groupKey] = newLogger;
789
+ return newLogger;
790
+ };
791
+ _createNewLogger = (groups) => ({
766
792
  d: this._track("debug", groups),
767
793
  i: this._track("info", groups),
768
794
  w: this._track("warn", groups),
@@ -1534,4 +1560,4 @@ var shouldBeYoutubeUrl = (value) => {
1534
1560
  };
1535
1561
  };
1536
1562
 
1537
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, 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, 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 };
1563
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, bookingColourLookup, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, 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, 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 };
@@ -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-CJbRmG7d.js';
2
- export { cg as APP_TYPE_TOKEN, a5 as ActivityDto, aX as ActivityRestriction, x as ActivityType, a6 as AddressCreateDto, a7 as AddressDto, y as AddressLinkType, a8 as AddressLookupDto, aY as AddressRestriction, a9 as AddressUpdateDto, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aZ as AnswerRestriction, A as AppType, ac as AuthLoginDto, ad as AuthPatDto, ae as AuthSignupDto, af as AuthSuccessDto, ce as BOT_PATH_TOKEN, ag as BookingAddonDto, a$ as BookingAddonRestriction, B as BookingAddonType, ah as BookingCreateDto, ai as BookingDto, aj as BookingHostCreateDto, ak as BookingHostDto, al as BookingHostUpdateDto, a_ as BookingRestriction, am as BookingRestrictionsDto, an as BookingRestrictionsEnabledDaysDto, ao as BookingRestrictionsPremiumEnabledDaysDto, F as BookingStatusType, ap as BookingUpdateDto, aq as BookingWithRelationshipsDto, f as CachedValue, r as ClickEvent, ar as CommentCreateDto, as as CommentDto, G as CommentLinkType, b0 as CommentRestriction, at as CommentUpdateDto, cc as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b1 as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, o as HtmlFilesEvent, q as HtmlImageReadEvent, l as HtmlKeyEvent, ba as ICaptchaResponse, k as IDependencyInjectionSetupWebProps, bN as IImageParams, bc as ILogMessage, bd as IMediaUpload, cb as ISite, c8 as ISiteColour, aW as JwtPayloadDto, K as KeyEvent, bb as LogMethod, J as LogType, au as MembershipCreateDto, av as MembershipDto, b2 as MembershipRestriction, N as MembershipStatus, O as MembershipType, aw as MembershipUpdateDto, M as MonthTranslationKey, d as MouseButton, P as NetworkState, bf as NominatimAddressResponse, be as NominatimResponse, c5 as ObjectWithPropsOfValue, Q as OrderDirectionType, ax as PaginationRequestDto, ay as PaginationResponseDto, b3 as PermissionRestriction, S as PermissionType, az as PetCreateUpdateDto, aA as PetDto, b4 as PetRestriction, T as PetSexType, U as PetStatusType, V as PetType, c6 as Prettify, aB as ProfileDto, aC as ProfileQuestionAndAnswersItemDto, aD as ProfileQuestionRequestDto, aE as ProfileUpdateDto, aF as QuestionCreateDto, aG as QuestionDto, Y as QuestionForType, b5 as QuestionRestriction, X as QuestionType, bp as RenderCellType, ci as SITE_CONFIG_TOKEN, aH as SearchObjDatePropRequestDto, aI as SearchObjRequestDto, aJ as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, cr as TranslationService, b6 as UnavailabilityRestriction, aK as UploadCreateDto, aL as UploadDto, aM as UploadImageWithLinkDto, a0 as UploadLinkType, b7 as UploadRestriction, a1 as UploadType, aN as UploadUpdateDto, a3 as UserAccountFlagType, aO as UserCreateDto, aP as UserDto, aQ as UserMembershipCreateDto, aR as UserMembershipDto, aS as UserMembershipUpdateDto, aT as UserPermissionDto, b8 as UserRestriction, a4 as UserType, aU as UserUpdateDto, bg as ValidationResult, aV as VersionDto, W as WeekdayTranslationKey, bB as addDays, bA as addMinutes, bC as addMonths, bz as addSeconds, c1 as addSpacesForEnum, bm as addToParallelTasks, c3 as anyObject, u as apiRoute, t as apiRouteParam, bk as arrayContains, bj as arrayOfNLength, b$ as capitalizeFirstLetter, c9 as colourPalette, g as createToken, bM as cyrb53, bF as dateDiffInDays, bJ as debounceLeading, ca as defaultSiteColour, c4 as fakePromise, bs as formatDate, c2 as formatFileSize, by as formatForBookingDate, bu as formatForDateDropdown, bt as formatForDateLocal, bx as formatForDateLocalDetailed, bv as formatForDateOfBirth, bw as formatForDateWithTime, bG as getAgeInYears, Z as getAllPetQuestionForType, ch as getAppType, bK as getArrFromEnum, cf as getBotPath, cm as getCommonConfig, bn as getDayClassObject, bq as getDayElements, bo as getDayHeadingElements, bO as getImageParams, cn as getLog, bR as getMimeTypeFromExtension, bP as getPayloadFromJwt, bT as getPerformanceTimer, bW as getPetAvatarUrl, cl as getSiteColour, ck as getSiteConfig, bV as getUserAvatarUrl, br as getUsersName, bH as getWeekNumber, bU as hasRequiredPermissions, bD as isBefore, cD as isNumber, bE as isSameDay, i as isWebApp, c0 as lowercaseFirstLetter, bh as makeArrayOrDefault, cC as maxDate, ct as maxItems, cH as maxLength, cF as maxValue, bQ as mimeTypeLookup, cB as minDate, cs as minItems, cG as minLength, e as minUrlLength, cE as minValue, m as monthTranslationKeyOrder, cy as multiValidation, bY as nameof, n as nanasFonts, cw as noValidation, cx as notNull, bi as onlyUnique, p as portalGlyphLength, bX as promiseFromValue, bZ as randomIntFromRange, b_ as randomItemFromArray, cd as rootContainer, co as rootDependencyInjectionSetup, b9 as searchColumns, cu as selectedItemsExist, cv as selectedOptionIsInEnum, cz as separateValidation, cp as setContainerToken, cq as setContainerTokenLazy, cj as setSiteConfig, cI as shouldBeUrl, cJ as shouldBeYoutubeUrl, bI as showSecondCalendar, s as socialLinks, bl as timeout, bS as tryParseNumber, a2 as uploadsThatNeedEncryption, c7 as urlRef, bL as uuidv4, v as validUuidChars, cA as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-CJbRmG7d.js';
1
+ import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-CgQNvQsc.js';
2
+ export { ch as APP_TYPE_TOKEN, a6 as ActivityDto, aY as ActivityRestriction, y as ActivityType, a7 as AddressCreateDto, a8 as AddressDto, z as AddressLinkType, a9 as AddressLookupDto, aZ as AddressRestriction, aa as AddressUpdateDto, ab as AnswerCreateDto, ac as AnswerDto, B as AnswerLinkType, a_ as AnswerRestriction, A as AppType, ad as AuthLoginDto, ae as AuthPatDto, af as AuthSignupDto, ag as AuthSuccessDto, cf as BOT_PATH_TOKEN, ah as BookingAddonDto, b0 as BookingAddonRestriction, F as BookingAddonType, ai as BookingCreateDto, aj as BookingDto, ak as BookingHostCreateDto, al as BookingHostDto, am as BookingHostUpdateDto, a$ as BookingRestriction, an as BookingRestrictionsDto, ao as BookingRestrictionsEnabledDaysDto, ap as BookingRestrictionsPremiumEnabledDaysDto, G as BookingStatusType, aq as BookingUpdateDto, ar as BookingWithRelationshipsDto, g as CachedValue, t as ClickEvent, as as CommentCreateDto, at as CommentDto, J as CommentLinkType, b1 as CommentRestriction, au as CommentUpdateDto, cd as DependencyInjectionContainer, k as DependencyInjectionFactory, j as DependencyInjectionIdentifier, D as DependencyInjectionToken, b2 as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, q as HtmlFilesEvent, r as HtmlImageReadEvent, o as HtmlKeyEvent, bb as ICaptchaResponse, l as IDependencyInjectionSetupWebProps, bO as IImageParams, bd as ILogMessage, be as IMediaUpload, cc as ISite, c9 as ISiteColour, aX as JwtPayloadDto, K as KeyEvent, bc as LogMethod, N as LogType, av as MembershipCreateDto, aw as MembershipDto, b3 as MembershipRestriction, O as MembershipStatus, P as MembershipType, ax as MembershipUpdateDto, M as MonthTranslationKey, e as MouseButton, Q as NetworkState, bg as NominatimAddressResponse, bf as NominatimResponse, c6 as ObjectWithPropsOfValue, S as OrderDirectionType, ay as PaginationRequestDto, az as PaginationResponseDto, b4 as PermissionRestriction, T as PermissionType, aA as PetCreateUpdateDto, aB as PetDto, b5 as PetRestriction, U as PetSexType, V as PetStatusType, X as PetType, c7 as Prettify, aC as ProfileDto, aD as ProfileQuestionAndAnswersItemDto, aE as ProfileQuestionRequestDto, aF as ProfileUpdateDto, aG as QuestionCreateDto, aH as QuestionDto, Z as QuestionForType, b6 as QuestionRestriction, Y as QuestionType, bq as RenderCellType, cj as SITE_CONFIG_TOKEN, aI as SearchObjDatePropRequestDto, aJ as SearchObjRequestDto, aK as SearchObjTextPropRequestDto, a0 as SearchableColumnInfo, $ as SearchableColumnType, cs as TranslationService, b7 as UnavailabilityRestriction, aL as UploadCreateDto, aM as UploadDto, aN as UploadImageWithLinkDto, a1 as UploadLinkType, b8 as UploadRestriction, a2 as UploadType, aO as UploadUpdateDto, a4 as UserAccountFlagType, aP as UserCreateDto, aQ as UserDto, aR as UserMembershipCreateDto, aS as UserMembershipDto, aT as UserMembershipUpdateDto, aU as UserPermissionDto, b9 as UserRestriction, a5 as UserType, aV as UserUpdateDto, bh as ValidationResult, aW as VersionDto, W as WeekdayTranslationKey, bC as addDays, bB as addMinutes, bD as addMonths, bA as addSeconds, c2 as addSpacesForEnum, bn as addToParallelTasks, c4 as anyObject, x as apiRoute, u as apiRouteParam, bl as arrayContains, bk as arrayOfNLength, d as bookingColourLookup, c0 as capitalizeFirstLetter, ca as colourPalette, h as createToken, bN as cyrb53, bG as dateDiffInDays, bK as debounceLeading, cb as defaultSiteColour, c5 as fakePromise, bt as formatDate, c3 as formatFileSize, bz as formatForBookingDate, bv as formatForDateDropdown, bu as formatForDateLocal, by as formatForDateLocalDetailed, bw as formatForDateOfBirth, bx as formatForDateWithTime, bH as getAgeInYears, _ as getAllPetQuestionForType, ci as getAppType, bL as getArrFromEnum, cg as getBotPath, cn as getCommonConfig, bo as getDayClassObject, br as getDayElements, bp as getDayHeadingElements, bP as getImageParams, co as getLog, bS as getMimeTypeFromExtension, bQ as getPayloadFromJwt, bU as getPerformanceTimer, bX as getPetAvatarUrl, cm as getSiteColour, cl as getSiteConfig, bW as getUserAvatarUrl, bs as getUsersName, bI as getWeekNumber, bV as hasRequiredPermissions, bE as isBefore, cE as isNumber, bF as isSameDay, i as isWebApp, c1 as lowercaseFirstLetter, bi as makeArrayOrDefault, cD as maxDate, cu as maxItems, cI as maxLength, cG as maxValue, bR as mimeTypeLookup, cC as minDate, ct as minItems, cH as minLength, f as minUrlLength, cF as minValue, m as monthTranslationKeyOrder, cz as multiValidation, bZ as nameof, n as nanasFonts, cx as noValidation, cy as notNull, bj as onlyUnique, p as portalGlyphLength, bY as promiseFromValue, b_ as randomIntFromRange, b$ as randomItemFromArray, ce as rootContainer, cp as rootDependencyInjectionSetup, ba as searchColumns, cv as selectedItemsExist, cw as selectedOptionIsInEnum, cA as separateValidation, cq as setContainerToken, cr as setContainerTokenLazy, ck as setSiteConfig, cJ as shouldBeUrl, cK as shouldBeYoutubeUrl, bJ as showSecondCalendar, s as socialLinks, bm as timeout, bT as tryParseNumber, a3 as uploadsThatNeedEncryption, c8 as urlRef, bM as uuidv4, v as validUuidChars, cB as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-CgQNvQsc.js';
3
3
  import 'solid-js';
4
4
  import '@tolgee/web';
5
5
 
@@ -1,5 +1,5 @@
1
- import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/P66PP6GS.js';
2
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, colourPalette, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, 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/P66PP6GS.js';
1
+ import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/T65WNCAX.js';
2
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, bookingColourLookup, capitalizeFirstLetter, colourPalette, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, 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/T65WNCAX.js';
3
3
  import fs5 from 'fs/promises';
4
4
  import path8 from 'path';
5
5
  import fs2 from 'fs';
@@ -15,10 +15,27 @@ declare enum AppType {
15
15
  declare const webAppTypes: AppType[];
16
16
  declare const isWebApp: (appType: AppType) => boolean;
17
17
 
18
+ declare enum BookingStatusType {
19
+ Pending = 0,
20
+ Cancelled = 1,
21
+ IntakeCall = 2,
22
+ RequestMatchFee = 3,
23
+ FindPlacement = 4,
24
+ Matched = 5,
25
+ MeetAndGreet = 6,
26
+ RequestPayment = 7,
27
+ PaymentRequested = 8,
28
+ Paid = 9,
29
+ WaitList = 10,
30
+ Complete = 11,
31
+ CompleteWithHostFeedback = 12
32
+ }
33
+
18
34
  type WeekdayTranslationKey = 'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat';
19
35
  declare const weekdayTranslationKeyOrder: Array<WeekdayTranslationKey>;
20
36
  type MonthTranslationKey = 'jan' | 'feb' | 'mar' | 'apr' | 'may' | 'jun' | 'jul' | 'aug' | 'sep' | 'oct' | 'nov' | 'dec';
21
37
  declare const monthTranslationKeyOrder: Array<MonthTranslationKey>;
38
+ declare const bookingColourLookup: Record<BookingStatusType, string>;
22
39
 
23
40
  type EnvKey = 'API_PORT' | 'BUILD_VERSION' | 'HCAPTCHA_SECRET' | 'LIVESERVER_PORT' | 'LOG_SERVER_PORT' | 'MODE' | 'NODE_ENV' | 'PACKAGE_VERSION' | 'STORYBOOK_PORT' | 'TELEMETRY_PORT' | 'VITEPRESS_PORT' | 'VITEST_PORT' | 'VITE_CONSOLE_LOGGING' | 'VITE_ENABLE_CAPTCHA' | 'VITE_FAKE_API_REQUEST_DELAY' | 'VITE_HCAPTCHA_SITE_KEY' | 'VITE_HUB_ADMIN_URL' | 'VITE_HUB_API_URL' | 'VITE_HUB_CLIENT_URL' | 'VITE_HUB_COVERAGE_URL' | 'VITE_HUB_DOCS_URL' | 'VITE_HUB_LANDING_URL' | 'VITE_HUB_STORYBOOK_URL' | 'VITE_TOLGEE_API_KEY' | 'VITE_TOLGEE_API_URL' | 'VITE_TOLGEE_PROJECT_ID' | 'WEB_ADMIN_PORT' | 'WEB_CLIENT_PORT' | 'WEB_LANDING_PORT' | 'npm_package_version';
24
41
 
@@ -384,22 +401,6 @@ declare enum BookingAddonType {
384
401
  PetTaxi = 1
385
402
  }
386
403
 
387
- declare enum BookingStatusType {
388
- Pending = 0,
389
- Cancelled = 1,
390
- IntakeCall = 2,
391
- RequestMatchFee = 3,
392
- FindPlacement = 4,
393
- Matched = 5,
394
- MeetAndGreet = 6,
395
- RequestPayment = 7,
396
- PaymentRequested = 8,
397
- Paid = 9,
398
- WaitList = 10,
399
- Complete = 11,
400
- CompleteWithHostFeedback = 12
401
- }
402
-
403
404
  declare enum CommentLinkType {
404
405
  Unknown = 0,
405
406
  User = 1,
@@ -2076,12 +2077,19 @@ declare const getUsersName: (details?: {
2076
2077
  }) => string;
2077
2078
 
2078
2079
  type DateInput = Date | string | number | Record<string, never>;
2080
+ /** default date format: DD MMM YYYY HH:mm */
2079
2081
  declare const formatDate: (date: DateInput, format?: string) => string;
2082
+ /** YYYY-MM-DD HH:mm */
2080
2083
  declare const formatForDateLocal: (value: DateInput) => string;
2084
+ /** YYYY-MM-DD */
2081
2085
  declare const formatForDateDropdown: (value: DateInput) => string;
2086
+ /** DD MMM YYYY */
2082
2087
  declare const formatForDateOfBirth: (value: DateInput) => string;
2088
+ /** DD MMM YYYY HH:mm */
2083
2089
  declare const formatForDateWithTime: (value: DateInput) => string;
2090
+ /** YYYY-MM-DDTHH:mm:ss */
2084
2091
  declare const formatForDateLocalDetailed: (date: DateInput) => Date;
2092
+ /** DD MMM YYYY - x nights */
2085
2093
  declare const formatForBookingDate: (startDate: Date, endDate: Date) => string;
2086
2094
  declare const addSeconds: (date: Date, seconds: number) => Date;
2087
2095
  declare const addMinutes: (date: Date, minutes: number) => Date;
@@ -2193,13 +2201,15 @@ declare class LogService {
2193
2201
  private _onLogMessage?;
2194
2202
  private _numDaysToKeep;
2195
2203
  logs: Array<ILogMessage>;
2204
+ private _loggers;
2196
2205
  private _logLevels;
2197
2206
  private _latestLogDate;
2198
2207
  constructor(config: CommonConfigService, _logToConsole?: boolean, _onLogMessage?: ((log: ILogMessage) => void) | undefined, _numDaysToKeep?: number);
2199
2208
  private _logMessageToConsole;
2200
2209
  private _track;
2201
2210
  clearLogs: () => void;
2202
- getLogger: (...groups: Array<string>) => {
2211
+ getLogger: (...groups: Array<string>) => ILogger;
2212
+ _createNewLogger: (groups: Array<string>) => {
2203
2213
  d: (message: string, ...optionalParams: Array<unknown>) => void;
2204
2214
  i: (message: string, ...optionalParams: Array<unknown>) => void;
2205
2215
  w: (message: string, ...optionalParams: Array<unknown>) => void;
@@ -2286,4 +2296,4 @@ declare const maxLength: (maxLengthVal: number) => (value: string) => Validation
2286
2296
  declare const shouldBeUrl: (value: string) => ValidationResult;
2287
2297
  declare const shouldBeYoutubeUrl: (value: string) => ValidationResult;
2288
2298
 
2289
- export { type SearchableColumnInfo as $, AppType as A, BookingAddonType as B, CommonConfigService as C, type DependencyInjectionToken as D, type EnvKey as E, BookingStatusType as F, CommentLinkType as G, type HtmlElementEvent as H, type ILogger as I, type LogType as J, type KeyEvent as K, LogService as L, type MonthTranslationKey as M, MembershipStatus as N, MembershipType as O, NetworkState as P, OrderDirectionType as Q, type ResultWithValue as R, PermissionType as S, PetSexType as T, PetStatusType as U, PetType as V, type WeekdayTranslationKey as W, QuestionType as X, QuestionForType as Y, getAllPetQuestionForType as Z, SearchableColumnType as _, type Result as a, BookingAddonRestriction as a$, UploadLinkType as a0, UploadType as a1, uploadsThatNeedEncryption as a2, UserAccountFlagType as a3, UserType as a4, type ActivityDto as a5, type AddressCreateDto as a6, type AddressDto as a7, type AddressLookupDto as a8, type AddressUpdateDto as a9, type PetDto as aA, type ProfileDto as aB, type ProfileQuestionAndAnswersItemDto as aC, type ProfileQuestionRequestDto as aD, type ProfileUpdateDto as aE, type QuestionCreateDto as aF, type QuestionDto as aG, type SearchObjDatePropRequestDto as aH, type SearchObjRequestDto as aI, type SearchObjTextPropRequestDto as aJ, type UploadCreateDto as aK, type UploadDto as aL, type UploadImageWithLinkDto as aM, type UploadUpdateDto as aN, type UserCreateDto as aO, type UserDto as aP, type UserMembershipCreateDto as aQ, type UserMembershipDto as aR, type UserMembershipUpdateDto as aS, type UserPermissionDto as aT, type UserUpdateDto as aU, type VersionDto as aV, type JwtPayloadDto as aW, ActivityRestriction as aX, AddressRestriction as aY, AnswerRestriction as aZ, BookingRestriction as a_, type AnswerCreateDto as aa, type AnswerDto as ab, type AuthLoginDto as ac, type AuthPatDto as ad, type AuthSignupDto as ae, type AuthSuccessDto as af, type BookingAddonDto as ag, type BookingCreateDto as ah, type BookingDto as ai, type BookingHostCreateDto as aj, type BookingHostDto as ak, type BookingHostUpdateDto as al, type BookingRestrictionsDto as am, type BookingRestrictionsEnabledDaysDto as an, type BookingRestrictionsPremiumEnabledDaysDto as ao, type BookingUpdateDto as ap, type BookingWithRelationshipsDto as aq, type CommentCreateDto as ar, type CommentDto as as, type CommentUpdateDto as at, type MembershipCreateDto as au, type MembershipDto as av, type MembershipUpdateDto as aw, type PaginationRequestDto as ax, type PaginationResponseDto as ay, type PetCreateUpdateDto as az, type IDependencyInjectionSetupProps as b, capitalizeFirstLetter as b$, CommentRestriction as b0, DrivingRouteRestriction as b1, MembershipRestriction as b2, PermissionRestriction as b3, PetRestriction as b4, QuestionRestriction as b5, UnavailabilityRestriction as b6, UploadRestriction as b7, UserRestriction as b8, searchColumns as b9, addMinutes as bA, addDays as bB, addMonths as bC, isBefore as bD, isSameDay as bE, dateDiffInDays as bF, getAgeInYears as bG, getWeekNumber as bH, showSecondCalendar as bI, debounceLeading as bJ, getArrFromEnum as bK, uuidv4 as bL, cyrb53 as bM, type IImageParams as bN, getImageParams as bO, getPayloadFromJwt as bP, mimeTypeLookup as bQ, getMimeTypeFromExtension as bR, tryParseNumber as bS, getPerformanceTimer as bT, hasRequiredPermissions as bU, getUserAvatarUrl as bV, getPetAvatarUrl as bW, promiseFromValue as bX, nameof as bY, randomIntFromRange as bZ, randomItemFromArray as b_, type ICaptchaResponse as ba, type LogMethod as bb, type ILogMessage as bc, type IMediaUpload as bd, type NominatimResponse as be, type NominatimAddressResponse as bf, type ValidationResult as bg, makeArrayOrDefault as bh, onlyUnique as bi, arrayOfNLength as bj, arrayContains as bk, timeout as bl, addToParallelTasks as bm, getDayClassObject as bn, getDayHeadingElements as bo, type RenderCellType as bp, getDayElements as bq, getUsersName as br, formatDate as bs, formatForDateLocal as bt, formatForDateDropdown as bu, formatForDateOfBirth as bv, formatForDateWithTime as bw, formatForDateLocalDetailed as bx, formatForBookingDate as by, addSeconds as bz, weekdayTranslationKeyOrder as c, lowercaseFirstLetter as c0, addSpacesForEnum as c1, formatFileSize as c2, anyObject as c3, fakePromise as c4, type ObjectWithPropsOfValue as c5, type Prettify as c6, urlRef as c7, type ISiteColour as c8, colourPalette as c9, validateForEach as cA, minDate as cB, maxDate as cC, isNumber as cD, minValue as cE, maxValue as cF, minLength as cG, maxLength as cH, shouldBeUrl as cI, shouldBeYoutubeUrl as cJ, type IFormCalendarPickerProps as cK, type FullDateSelectionProps as cL, type FormCalendarPickerMode as cM, type FormCalendarDatePickerRangeProps as cN, type DateSelectionProps as cO, type FormCalendarPickerInnerProps as cP, type FormInputProps as cQ, type FormCalendarSpecialRangeDisplayProps as cR, type FormCalendarSpecialRangeProps as cS, type ValidFormTypes as cT, type ValidFormComponentTypes as cU, type PropertyOverrides as cV, defaultSiteColour as ca, type ISite as cb, DependencyInjectionContainer as cc, rootContainer as cd, BOT_PATH_TOKEN as ce, getBotPath as cf, APP_TYPE_TOKEN as cg, getAppType as ch, SITE_CONFIG_TOKEN as ci, setSiteConfig as cj, getSiteConfig as ck, getSiteColour as cl, getCommonConfig as cm, getLog as cn, rootDependencyInjectionSetup as co, setContainerToken as cp, setContainerTokenLazy as cq, TranslationService as cr, minItems as cs, maxItems as ct, selectedItemsExist as cu, selectedOptionIsInEnum as cv, noValidation as cw, notNull as cx, multiValidation as cy, separateValidation as cz, MouseButton as d, minUrlLength as e, type CachedValue as f, createToken as g, type DependencyInjectionIdentifier as h, isWebApp as i, type DependencyInjectionFactory as j, type IDependencyInjectionSetupWebProps as k, type HtmlKeyEvent as l, monthTranslationKeyOrder as m, nanasFonts as n, type HtmlFilesEvent as o, portalGlyphLength as p, type HtmlImageReadEvent as q, type ClickEvent as r, socialLinks as s, apiRouteParam as t, apiRoute as u, validUuidChars as v, webAppTypes as w, ActivityType as x, AddressLinkType as y, AnswerLinkType as z };
2299
+ export { SearchableColumnType as $, AppType as A, AnswerLinkType as B, CommonConfigService as C, type DependencyInjectionToken as D, type EnvKey as E, BookingAddonType as F, BookingStatusType as G, type HtmlElementEvent as H, type ILogger as I, CommentLinkType as J, type KeyEvent as K, LogService as L, type MonthTranslationKey as M, type LogType as N, MembershipStatus as O, MembershipType as P, NetworkState as Q, type ResultWithValue as R, OrderDirectionType as S, PermissionType as T, PetSexType as U, PetStatusType as V, type WeekdayTranslationKey as W, PetType as X, QuestionType as Y, QuestionForType as Z, getAllPetQuestionForType as _, type Result as a, BookingRestriction as a$, type SearchableColumnInfo as a0, UploadLinkType as a1, UploadType as a2, uploadsThatNeedEncryption as a3, UserAccountFlagType as a4, UserType as a5, type ActivityDto as a6, type AddressCreateDto as a7, type AddressDto as a8, type AddressLookupDto as a9, type PetCreateUpdateDto as aA, type PetDto as aB, type ProfileDto as aC, type ProfileQuestionAndAnswersItemDto as aD, type ProfileQuestionRequestDto as aE, type ProfileUpdateDto as aF, type QuestionCreateDto as aG, type QuestionDto as aH, type SearchObjDatePropRequestDto as aI, type SearchObjRequestDto as aJ, type SearchObjTextPropRequestDto as aK, type UploadCreateDto as aL, type UploadDto as aM, type UploadImageWithLinkDto as aN, type UploadUpdateDto as aO, type UserCreateDto as aP, type UserDto as aQ, type UserMembershipCreateDto as aR, type UserMembershipDto as aS, type UserMembershipUpdateDto as aT, type UserPermissionDto as aU, type UserUpdateDto as aV, type VersionDto as aW, type JwtPayloadDto as aX, ActivityRestriction as aY, AddressRestriction as aZ, AnswerRestriction as a_, type AddressUpdateDto as aa, type AnswerCreateDto as ab, type AnswerDto as ac, type AuthLoginDto as ad, type AuthPatDto as ae, type AuthSignupDto as af, type AuthSuccessDto as ag, type BookingAddonDto as ah, type BookingCreateDto as ai, type BookingDto as aj, type BookingHostCreateDto as ak, type BookingHostDto as al, type BookingHostUpdateDto as am, type BookingRestrictionsDto as an, type BookingRestrictionsEnabledDaysDto as ao, type BookingRestrictionsPremiumEnabledDaysDto as ap, type BookingUpdateDto as aq, type BookingWithRelationshipsDto as ar, type CommentCreateDto as as, type CommentDto as at, type CommentUpdateDto as au, type MembershipCreateDto as av, type MembershipDto as aw, type MembershipUpdateDto as ax, type PaginationRequestDto as ay, type PaginationResponseDto as az, type IDependencyInjectionSetupProps as b, randomItemFromArray as b$, BookingAddonRestriction as b0, CommentRestriction as b1, DrivingRouteRestriction as b2, MembershipRestriction as b3, PermissionRestriction as b4, PetRestriction as b5, QuestionRestriction as b6, UnavailabilityRestriction as b7, UploadRestriction as b8, UserRestriction as b9, addSeconds as bA, addMinutes as bB, addDays as bC, addMonths as bD, isBefore as bE, isSameDay as bF, dateDiffInDays as bG, getAgeInYears as bH, getWeekNumber as bI, showSecondCalendar as bJ, debounceLeading as bK, getArrFromEnum as bL, uuidv4 as bM, cyrb53 as bN, type IImageParams as bO, getImageParams as bP, getPayloadFromJwt as bQ, mimeTypeLookup as bR, getMimeTypeFromExtension as bS, tryParseNumber as bT, getPerformanceTimer as bU, hasRequiredPermissions as bV, getUserAvatarUrl as bW, getPetAvatarUrl as bX, promiseFromValue as bY, nameof as bZ, randomIntFromRange as b_, searchColumns as ba, type ICaptchaResponse as bb, type LogMethod as bc, type ILogMessage as bd, type IMediaUpload as be, type NominatimResponse as bf, type NominatimAddressResponse as bg, type ValidationResult as bh, makeArrayOrDefault as bi, onlyUnique as bj, arrayOfNLength as bk, arrayContains as bl, timeout as bm, addToParallelTasks as bn, getDayClassObject as bo, getDayHeadingElements as bp, type RenderCellType as bq, getDayElements as br, getUsersName as bs, formatDate as bt, formatForDateLocal as bu, formatForDateDropdown as bv, formatForDateOfBirth as bw, formatForDateWithTime as bx, formatForDateLocalDetailed as by, formatForBookingDate as bz, weekdayTranslationKeyOrder as c, capitalizeFirstLetter as c0, lowercaseFirstLetter as c1, addSpacesForEnum as c2, formatFileSize as c3, anyObject as c4, fakePromise as c5, type ObjectWithPropsOfValue as c6, type Prettify as c7, urlRef as c8, type ISiteColour as c9, separateValidation as cA, validateForEach as cB, minDate as cC, maxDate as cD, isNumber as cE, minValue as cF, maxValue as cG, minLength as cH, maxLength as cI, shouldBeUrl as cJ, shouldBeYoutubeUrl as cK, type IFormCalendarPickerProps as cL, type FullDateSelectionProps as cM, type FormCalendarPickerMode as cN, type FormCalendarDatePickerRangeProps as cO, type DateSelectionProps as cP, type FormCalendarPickerInnerProps as cQ, type FormInputProps as cR, type FormCalendarSpecialRangeDisplayProps as cS, type FormCalendarSpecialRangeProps as cT, type ValidFormTypes as cU, type ValidFormComponentTypes as cV, type PropertyOverrides as cW, colourPalette as ca, defaultSiteColour as cb, type ISite as cc, DependencyInjectionContainer as cd, rootContainer as ce, BOT_PATH_TOKEN as cf, getBotPath as cg, APP_TYPE_TOKEN as ch, getAppType as ci, SITE_CONFIG_TOKEN as cj, setSiteConfig as ck, getSiteConfig as cl, getSiteColour as cm, getCommonConfig as cn, getLog as co, rootDependencyInjectionSetup as cp, setContainerToken as cq, setContainerTokenLazy as cr, TranslationService as cs, minItems as ct, maxItems as cu, selectedItemsExist as cv, selectedOptionIsInEnum as cw, noValidation as cx, notNull as cy, multiValidation as cz, bookingColourLookup as d, 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, apiRouteParam as u, validUuidChars as v, webAppTypes as w, apiRoute as x, ActivityType as y, AddressLinkType as z };
@@ -1,7 +1,7 @@
1
1
  import * as solid_js from 'solid-js';
2
2
  import { Component, JSXElement, JSX, Accessor, ComponentProps } from 'solid-js';
3
- import { F as BookingStatusType, r as ClickEvent, O as MembershipType, U as PetStatusType, aB as ProfileDto, Y as QuestionForType, X as QuestionType, a4 as UserType, R as ResultWithValue, P as NetworkState, cK as IFormCalendarPickerProps, cL as FullDateSelectionProps, cM as FormCalendarPickerMode, cN as FormCalendarDatePickerRangeProps, cO as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, cP as FormCalendarPickerInnerProps, cQ as FormInputProps, bg as ValidationResult, K as KeyEvent, H as HtmlElementEvent, aC as ProfileQuestionAndAnswersItemDto, a6 as AddressCreateDto, a9 as AddressUpdateDto, ac as AuthLoginDto, ae as AuthSignupDto, ah as BookingCreateDto, au as MembershipCreateDto, az as PetCreateUpdateDto, aE as ProfileUpdateDto, aF as QuestionCreateDto, aK as UploadCreateDto, aP as UserDto, aO as UserCreateDto, o as HtmlFilesEvent, bc as ILogMessage, I as ILogger, a as Result, ax as PaginationRequestDto, ay as PaginationResponseDto, aI as SearchObjRequestDto, C as CommonConfigService, a5 as ActivityDto, L as LogService, a7 as AddressDto, y as AddressLinkType, be as NominatimResponse, ai as BookingDto, G as CommentLinkType, as as CommentDto, ar as CommentCreateDto, av as MembershipDto, aA as PetDto, aG as QuestionDto, aL as UploadDto, aR as UserMembershipDto, aT as UserPermissionDto, S as PermissionType, a8 as AddressLookupDto, aq as BookingWithRelationshipsDto, cb as ISite, aM as UploadImageWithLinkDto, am as BookingRestrictionsDto, af as AuthSuccessDto, aV as VersionDto, c6 as Prettify, k as IDependencyInjectionSetupWebProps, cr as TranslationService } from '../textValidation-CJbRmG7d.js';
4
- export { cg as APP_TYPE_TOKEN, aX as ActivityRestriction, x as ActivityType, aY as AddressRestriction, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aZ as AnswerRestriction, A as AppType, ad as AuthPatDto, ce as BOT_PATH_TOKEN, ag as BookingAddonDto, a$ as BookingAddonRestriction, B as BookingAddonType, aj as BookingHostCreateDto, ak as BookingHostDto, al as BookingHostUpdateDto, a_ as BookingRestriction, an as BookingRestrictionsEnabledDaysDto, ao as BookingRestrictionsPremiumEnabledDaysDto, ap as BookingUpdateDto, f as CachedValue, b0 as CommentRestriction, at as CommentUpdateDto, cc as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b1 as DrivingRouteRestriction, E as EnvKey, cR as FormCalendarSpecialRangeDisplayProps, cS as FormCalendarSpecialRangeProps, q as HtmlImageReadEvent, l as HtmlKeyEvent, ba as ICaptchaResponse, b as IDependencyInjectionSetupProps, bN as IImageParams, bd as IMediaUpload, c8 as ISiteColour, aW as JwtPayloadDto, bb as LogMethod, J as LogType, b2 as MembershipRestriction, N as MembershipStatus, aw as MembershipUpdateDto, d as MouseButton, bf as NominatimAddressResponse, c5 as ObjectWithPropsOfValue, Q as OrderDirectionType, b3 as PermissionRestriction, b4 as PetRestriction, T as PetSexType, V as PetType, aD as ProfileQuestionRequestDto, cV as PropertyOverrides, b5 as QuestionRestriction, bp as RenderCellType, ci as SITE_CONFIG_TOKEN, aH as SearchObjDatePropRequestDto, aJ as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, b6 as UnavailabilityRestriction, a0 as UploadLinkType, b7 as UploadRestriction, a1 as UploadType, aN as UploadUpdateDto, a3 as UserAccountFlagType, aQ as UserMembershipCreateDto, aS as UserMembershipUpdateDto, b8 as UserRestriction, aU as UserUpdateDto, cU as ValidFormComponentTypes, cT as ValidFormTypes, bB as addDays, bA as addMinutes, bC as addMonths, bz as addSeconds, c1 as addSpacesForEnum, bm as addToParallelTasks, c3 as anyObject, u as apiRoute, t as apiRouteParam, bk as arrayContains, bj as arrayOfNLength, b$ as capitalizeFirstLetter, c9 as colourPalette, g as createToken, bM as cyrb53, bF as dateDiffInDays, bJ as debounceLeading, ca as defaultSiteColour, c4 as fakePromise, bs as formatDate, c2 as formatFileSize, by as formatForBookingDate, bu as formatForDateDropdown, bt as formatForDateLocal, bx as formatForDateLocalDetailed, bv as formatForDateOfBirth, bw as formatForDateWithTime, bG as getAgeInYears, Z as getAllPetQuestionForType, ch as getAppType, bK as getArrFromEnum, cf as getBotPath, cm as getCommonConfig, bn as getDayClassObject, bq as getDayElements, bo as getDayHeadingElements, bO as getImageParams, cn as getLog, bR as getMimeTypeFromExtension, bP as getPayloadFromJwt, bT as getPerformanceTimer, bW as getPetAvatarUrl, cl as getSiteColour, ck as getSiteConfig, bV as getUserAvatarUrl, br as getUsersName, bH as getWeekNumber, bU as hasRequiredPermissions, bD as isBefore, cD as isNumber, bE as isSameDay, i as isWebApp, c0 as lowercaseFirstLetter, bh as makeArrayOrDefault, cC as maxDate, ct as maxItems, cH as maxLength, cF as maxValue, bQ as mimeTypeLookup, cB as minDate, cs as minItems, cG as minLength, e as minUrlLength, cE as minValue, m as monthTranslationKeyOrder, cy as multiValidation, bY as nameof, n as nanasFonts, cw as noValidation, cx as notNull, bi as onlyUnique, p as portalGlyphLength, bX as promiseFromValue, bZ as randomIntFromRange, b_ as randomItemFromArray, cd as rootContainer, co as rootDependencyInjectionSetup, b9 as searchColumns, cu as selectedItemsExist, cv as selectedOptionIsInEnum, cz as separateValidation, cp as setContainerToken, cq as setContainerTokenLazy, cj as setSiteConfig, cI as shouldBeUrl, cJ as shouldBeYoutubeUrl, bI as showSecondCalendar, s as socialLinks, bl as timeout, bS as tryParseNumber, a2 as uploadsThatNeedEncryption, c7 as urlRef, bL as uuidv4, v as validUuidChars, cA as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-CJbRmG7d.js';
3
+ import { G as BookingStatusType, t as ClickEvent, P as MembershipType, V as PetStatusType, aC as ProfileDto, Z as QuestionForType, Y as QuestionType, a5 as UserType, R as ResultWithValue, Q as NetworkState, cL as IFormCalendarPickerProps, cM as FullDateSelectionProps, cN as FormCalendarPickerMode, cO as FormCalendarDatePickerRangeProps, cP as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, cQ as FormCalendarPickerInnerProps, cR as FormInputProps, bh as ValidationResult, K as KeyEvent, H as HtmlElementEvent, aD as ProfileQuestionAndAnswersItemDto, a7 as AddressCreateDto, aa as AddressUpdateDto, ad as AuthLoginDto, af as AuthSignupDto, ai as BookingCreateDto, av as MembershipCreateDto, aA as PetCreateUpdateDto, aF as ProfileUpdateDto, aG as QuestionCreateDto, aL as UploadCreateDto, aQ as UserDto, aP as UserCreateDto, q as HtmlFilesEvent, bd as ILogMessage, I as ILogger, a as Result, ay as PaginationRequestDto, az as PaginationResponseDto, aJ as SearchObjRequestDto, C as CommonConfigService, a6 as ActivityDto, L as LogService, a8 as AddressDto, z as AddressLinkType, bf as NominatimResponse, aj as BookingDto, J as CommentLinkType, at as CommentDto, as as CommentCreateDto, aw as MembershipDto, aB as PetDto, aH as QuestionDto, aM as UploadDto, aS as UserMembershipDto, aU as UserPermissionDto, T as PermissionType, a9 as AddressLookupDto, ar as BookingWithRelationshipsDto, cc as ISite, aN as UploadImageWithLinkDto, an as BookingRestrictionsDto, ag as AuthSuccessDto, aW as VersionDto, c7 as Prettify, l as IDependencyInjectionSetupWebProps, cs as TranslationService } from '../textValidation-CgQNvQsc.js';
4
+ export { ch as APP_TYPE_TOKEN, aY as ActivityRestriction, y as ActivityType, aZ as AddressRestriction, ab as AnswerCreateDto, ac as AnswerDto, B as AnswerLinkType, a_ as AnswerRestriction, A as AppType, ae as AuthPatDto, cf as BOT_PATH_TOKEN, ah as BookingAddonDto, b0 as BookingAddonRestriction, F as BookingAddonType, ak as BookingHostCreateDto, al as BookingHostDto, am as BookingHostUpdateDto, a$ as BookingRestriction, ao as BookingRestrictionsEnabledDaysDto, ap as BookingRestrictionsPremiumEnabledDaysDto, aq as BookingUpdateDto, g as CachedValue, b1 as CommentRestriction, au as CommentUpdateDto, cd as DependencyInjectionContainer, k as DependencyInjectionFactory, j as DependencyInjectionIdentifier, D as DependencyInjectionToken, b2 as DrivingRouteRestriction, E as EnvKey, cS as FormCalendarSpecialRangeDisplayProps, cT as FormCalendarSpecialRangeProps, r as HtmlImageReadEvent, o as HtmlKeyEvent, bb as ICaptchaResponse, b as IDependencyInjectionSetupProps, bO as IImageParams, be as IMediaUpload, c9 as ISiteColour, aX as JwtPayloadDto, bc as LogMethod, N as LogType, b3 as MembershipRestriction, O as MembershipStatus, ax as MembershipUpdateDto, e as MouseButton, bg as NominatimAddressResponse, c6 as ObjectWithPropsOfValue, S as OrderDirectionType, b4 as PermissionRestriction, b5 as PetRestriction, U as PetSexType, X as PetType, aE as ProfileQuestionRequestDto, cW as PropertyOverrides, b6 as QuestionRestriction, bq as RenderCellType, cj as SITE_CONFIG_TOKEN, aI as SearchObjDatePropRequestDto, aK as SearchObjTextPropRequestDto, a0 as SearchableColumnInfo, $ as SearchableColumnType, b7 as UnavailabilityRestriction, a1 as UploadLinkType, b8 as UploadRestriction, a2 as UploadType, aO as UploadUpdateDto, a4 as UserAccountFlagType, aR as UserMembershipCreateDto, aT as UserMembershipUpdateDto, b9 as UserRestriction, aV as UserUpdateDto, cV as ValidFormComponentTypes, cU as ValidFormTypes, bC as addDays, bB as addMinutes, bD as addMonths, bA as addSeconds, c2 as addSpacesForEnum, bn as addToParallelTasks, c4 as anyObject, x as apiRoute, u as apiRouteParam, bl as arrayContains, bk as arrayOfNLength, d as bookingColourLookup, c0 as capitalizeFirstLetter, ca as colourPalette, h as createToken, bN as cyrb53, bG as dateDiffInDays, bK as debounceLeading, cb as defaultSiteColour, c5 as fakePromise, bt as formatDate, c3 as formatFileSize, bz as formatForBookingDate, bv as formatForDateDropdown, bu as formatForDateLocal, by as formatForDateLocalDetailed, bw as formatForDateOfBirth, bx as formatForDateWithTime, bH as getAgeInYears, _ as getAllPetQuestionForType, ci as getAppType, bL as getArrFromEnum, cg as getBotPath, cn as getCommonConfig, bo as getDayClassObject, br as getDayElements, bp as getDayHeadingElements, bP as getImageParams, co as getLog, bS as getMimeTypeFromExtension, bQ as getPayloadFromJwt, bU as getPerformanceTimer, bX as getPetAvatarUrl, cm as getSiteColour, cl as getSiteConfig, bW as getUserAvatarUrl, bs as getUsersName, bI as getWeekNumber, bV as hasRequiredPermissions, bE as isBefore, cE as isNumber, bF as isSameDay, i as isWebApp, c1 as lowercaseFirstLetter, bi as makeArrayOrDefault, cD as maxDate, cu as maxItems, cI as maxLength, cG as maxValue, bR as mimeTypeLookup, cC as minDate, ct as minItems, cH as minLength, f as minUrlLength, cF as minValue, m as monthTranslationKeyOrder, cz as multiValidation, bZ as nameof, n as nanasFonts, cx as noValidation, cy as notNull, bj as onlyUnique, p as portalGlyphLength, bY as promiseFromValue, b_ as randomIntFromRange, b$ as randomItemFromArray, ce as rootContainer, cp as rootDependencyInjectionSetup, ba as searchColumns, cv as selectedItemsExist, cw as selectedOptionIsInEnum, cA as separateValidation, cq as setContainerToken, cr as setContainerTokenLazy, ck as setSiteConfig, cJ as shouldBeUrl, cK as shouldBeYoutubeUrl, bJ as showSecondCalendar, s as socialLinks, bm as timeout, bT as tryParseNumber, a3 as uploadsThatNeedEncryption, c8 as urlRef, bM as uuidv4, v as validUuidChars, cB as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-CgQNvQsc.js';
5
5
  import { ToasterProps } from 'solid-toast';
6
6
  import '@tolgee/web';
7
7
 
@@ -435,6 +435,7 @@ interface IProps {
435
435
  iframe?: {
436
436
  width?: string;
437
437
  height?: string;
438
+ borderRadius?: string;
438
439
  };
439
440
  list: {
440
441
  dependencies: Array<IDependency>;
package/dist/web/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { notNull, multiValidation, isNumber, minValue, MembershipRestriction, maxValue, minItems, minLength, PetRestriction, maxLength, selectedOptionIsInEnum, PetSexType, PetStatusType, PetType, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, noValidation, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, rootContainer, BookingStatusType, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, getArrFromEnum, capitalizeFirstLetter, convertToDate, isBefore, formatDate, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/P66PP6GS.js';
2
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, 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, 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/P66PP6GS.js';
1
+ import { notNull, multiValidation, isNumber, minValue, MembershipRestriction, maxValue, minItems, minLength, PetRestriction, maxLength, selectedOptionIsInEnum, PetSexType, PetStatusType, PetType, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, noValidation, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, rootContainer, BookingStatusType, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, getArrFromEnum, capitalizeFirstLetter, convertToDate, isBefore, formatDate, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/T65WNCAX.js';
2
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, bookingColourLookup, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, 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, 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/T65WNCAX.js';
3
3
  import { delegateEvents, createComponent, template, insert, effect, className, setAttribute, mergeProps, spread, addEventListener, memo, use, style } from 'solid-js/web';
4
4
  import { createSignal, Show, Switch, Match, For, createEffect, onMount } from 'solid-js';
5
5
  import classNames from 'classnames';
@@ -4451,7 +4451,8 @@ var AboutPageContent = (props) => {
4451
4451
  };
4452
4452
  const iframeStyle = {
4453
4453
  width: props.iframe?.width ?? "100%",
4454
- height: props.iframe?.height ?? "70vh"
4454
+ height: props.iframe?.height ?? "70vh",
4455
+ borderRadius: props.iframe?.borderRadius ?? "0.25em"
4455
4456
  };
4456
4457
  return (() => {
4457
4458
  var _el$2 = _tmpl$510(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild;
@@ -1133,6 +1133,7 @@ var LogService = class {
1133
1133
  console.info("Log Levels: ", this._logLevels.join());
1134
1134
  }
1135
1135
  logs = [];
1136
+ _loggers = {};
1136
1137
  _logLevels;
1137
1138
  _latestLogDate;
1138
1139
  _logMessageToConsole = (log) => {
@@ -1180,7 +1181,17 @@ ${(log.optionalParams ?? []).join("\n\r")}`;
1180
1181
  clearLogs = () => {
1181
1182
  this.logs = [];
1182
1183
  };
1183
- getLogger = (...groups) => ({
1184
+ getLogger = (...groups) => {
1185
+ const grpLength = groups?.length ?? 0;
1186
+ if (grpLength < 0 || grpLength > 1 || groups[0] == null) return this._createNewLogger(groups);
1187
+ const groupKey = groups[0];
1188
+ const existingLogger = this._loggers[groupKey];
1189
+ if (existingLogger != null) return existingLogger;
1190
+ const newLogger = this._createNewLogger(groups);
1191
+ this._loggers[groupKey] = newLogger;
1192
+ return newLogger;
1193
+ };
1194
+ _createNewLogger = (groups) => ({
1184
1195
  d: this._track("debug", groups),
1185
1196
  i: this._track("info", groups),
1186
1197
  w: this._track("warn", groups),
@@ -3220,6 +3231,21 @@ var monthTranslationKeyOrder = [
3220
3231
  "nov",
3221
3232
  "dec"
3222
3233
  ];
3234
+ var bookingColourLookup = {
3235
+ [0 /* Pending */]: "#D50000",
3236
+ [2 /* IntakeCall */]: "#D50000",
3237
+ [3 /* RequestMatchFee */]: "#F4511E",
3238
+ [4 /* FindPlacement */]: "#7986CB",
3239
+ [5 /* Matched */]: "#E67C73",
3240
+ [6 /* MeetAndGreet */]: "#F6BF26",
3241
+ [7 /* RequestPayment */]: "#F4511E",
3242
+ [8 /* PaymentRequested */]: "#33B679",
3243
+ [9 /* Paid */]: "#0B8043",
3244
+ [1 /* Cancelled */]: "#616161",
3245
+ [10 /* WaitList */]: "#039BE5",
3246
+ [11 /* Complete */]: "#0B8043",
3247
+ [12 /* CompleteWithHostFeedback */]: "#0B8043"
3248
+ };
3223
3249
 
3224
3250
  // src/helpers/calendarHelper.ts
3225
3251
  var getDayClassObject = (nextDate, selectedStartDate, selectedEndDate, enabledDays, disabledDays) => {
@@ -4564,7 +4590,11 @@ var AboutPageContent = (props) => {
4564
4590
  {title}
4565
4591
  </button>;
4566
4592
  };
4567
- const iframeStyle = { width: props.iframe?.width ?? "100%", height: props.iframe?.height ?? "70vh" };
4593
+ const iframeStyle = {
4594
+ width: props.iframe?.width ?? "100%",
4595
+ height: props.iframe?.height ?? "70vh",
4596
+ borderRadius: props.iframe?.borderRadius ?? "0.25em"
4597
+ };
4568
4598
  return <div class="container">
4569
4599
  <h1>
4570
4600
  <T keyName="about_title" defaultValue="About" />
@@ -5419,6 +5449,7 @@ export {
5419
5449
  apiRouteParam,
5420
5450
  arrayContains,
5421
5451
  arrayOfNLength,
5452
+ bookingColourLookup,
5422
5453
  capitalizeFirstLetter,
5423
5454
  changeMonth,
5424
5455
  colourPalette,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanas-home/hub-common",
3
- "version": "0.36.824",
3
+ "version": "0.36.844",
4
4
  "description": "Nana's Hub common library",
5
5
  "license": "MIT",
6
6
  "author": "Kurt Lourens",
@@ -31,29 +31,29 @@
31
31
  "solid-toast": "^0.5.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@chromatic-com/storybook": "^5.0.2",
35
- "@storybook/addon-a11y": "^10.3.1",
36
- "@storybook/addon-docs": "^10.3.1",
37
- "@storybook/addon-links": "^10.3.1",
38
- "@storybook/addon-onboarding": "^10.3.1",
39
- "@storybook/addon-vitest": "^10.3.1",
34
+ "@chromatic-com/storybook": "^5.1.1",
35
+ "@storybook/addon-a11y": "^10.3.3",
36
+ "@storybook/addon-docs": "^10.3.3",
37
+ "@storybook/addon-links": "^10.3.3",
38
+ "@storybook/addon-onboarding": "^10.3.3",
39
+ "@storybook/addon-vitest": "^10.3.3",
40
40
  "@types/node": "^25.5.0",
41
- "@vitest/browser": "^4.1.0",
42
- "@vitest/coverage-v8": "^4.1.0",
43
- "@vitest/ui": "^4.1.0",
41
+ "@vitest/browser": "^4.1.2",
42
+ "@vitest/coverage-v8": "^4.1.2",
43
+ "@vitest/ui": "^4.1.2",
44
44
  "dayjs": "^1.11.20",
45
45
  "dotenv-cli": "^11.0.0",
46
- "jsdom": "^29.0.0",
46
+ "jsdom": "^29.0.1",
47
47
  "node-html-parser": "^7.1.0",
48
48
  "sass": "^1.98.0",
49
- "storybook": "^10.3.1",
50
- "storybook-solidjs-vite": "^10.0.9",
49
+ "storybook": "^10.3.3",
50
+ "storybook-solidjs-vite": "^10.0.11",
51
51
  "tsup": "^8.5.1",
52
52
  "tsup-preset-solid": "^2.2.0",
53
- "typescript": "^5.9.3",
54
- "vite": "^8.0.1",
53
+ "typescript": "^6.0.2",
54
+ "vite": "^8.0.3",
55
55
  "vite-plugin-solid": "^2.11.11",
56
- "vitest": "^4.1.0"
56
+ "vitest": "^4.1.2"
57
57
  },
58
58
  "files": [
59
59
  "dist"