@nanas-home/hub-common 0.37.857 → 0.37.875

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.
@@ -1194,6 +1194,7 @@ var mimeTypeLookup = {
1194
1194
  js: "application/javascript",
1195
1195
  json: "application/json",
1196
1196
  png: "image/png",
1197
+ webp: "image/webp",
1197
1198
  jpg: "image/jpeg",
1198
1199
  jpeg: "image/jpeg",
1199
1200
  gif: "image/gif"
@@ -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-BXxld36z.js';
2
- export { cm as APP_TYPE_TOKEN, a6 as ActivityDto, b0 as ActivityRestriction, x as ActivityType, a7 as AddressCreateDto, a8 as AddressDto, y as AddressLinkType, a9 as AddressLookupDto, b1 as AddressRestriction, aa as AddressUpdateDto, ab as AnswerCreateDto, ac as AnswerDto, z as AnswerLinkType, b2 as AnswerRestriction, A as AppType, ad as AuthLoginDto, ae as AuthPatDto, af as AuthSignupDto, ag as AuthSuccessDto, ck as BOT_PATH_TOKEN, ah as BookingAddonDto, b4 as BookingAddonRestriction, B as BookingAddonType, ai as BookingCreateDto, aj as BookingDto, ak as BookingHostCreateDto, al as BookingHostDto, am as BookingHostUpdateDto, b3 as BookingRestriction, an as BookingRestrictionsDto, ao as BookingRestrictionsEnabledDaysDto, ap as BookingRestrictionsPremiumEnabledDaysDto, F as BookingStatusType, aq as BookingUpdateDto, ar as BookingWithRelationshipsDto, f as CachedValue, as as ChargeCreateUpdateDto, at as ChargeDto, b5 as ChargeRestriction, G as ChargeStatusType, r as ClickEvent, au as CommentCreateDto, av as CommentDto, J as CommentLinkType, b6 as CommentRestriction, aw as CommentUpdateDto, ci as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b7 as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, o as HtmlFilesEvent, q as HtmlImageReadEvent, l as HtmlKeyEvent, bg as ICaptchaResponse, k as IDependencyInjectionSetupWebProps, bT as IImageParams, bi as ILogMessage, bj as IMediaUpload, ch as ISite, ce as ISiteColour, a$ as JwtPayloadDto, K as KeyEvent, bh as LogMethod, N as LogType, ax as MembershipCreateDto, ay as MembershipDto, b8 as MembershipRestriction, O as MembershipStatus, P as MembershipType, az as MembershipUpdateDto, M as MonthTranslationKey, d as MouseButton, Q as NetworkState, bl as NominatimAddressResponse, bk as NominatimResponse, cb as ObjectWithPropsOfValue, S as OrderDirectionType, aA as PaginationRequestDto, aB as PaginationResponseDto, b9 as PermissionRestriction, T as PermissionType, aC as PetCreateDto, aD as PetDto, ba as PetRestriction, U as PetSexType, V as PetStatusType, X as PetType, aE as PetUpdateDto, cc as Prettify, aF as ProfileDto, aG as ProfileQuestionAndAnswersItemDto, aH as ProfileQuestionRequestDto, aI as ProfileUpdateDto, aJ as QuestionCreateDto, aK as QuestionDto, Z as QuestionForType, bb as QuestionRestriction, Y as QuestionType, aL as QuestionUpdateDto, bv as RenderCellType, co as SITE_CONFIG_TOKEN, aM as SearchObjDatePropRequestDto, aN as SearchObjRequestDto, aO as SearchObjTextPropRequestDto, a0 as SearchableColumnInfo, $ as SearchableColumnType, cx as TranslationService, bc as UnavailabilityRestriction, aP as UploadCreateDto, aQ as UploadDto, aR as UploadImageWithLinkDto, a1 as UploadLinkType, bd as UploadRestriction, a2 as UploadType, aS as UploadUpdateDto, a4 as UserAccountFlagType, aT as UserCreateDto, aU as UserDto, aV as UserMembershipCreateDto, aW as UserMembershipDto, aX as UserMembershipUpdateDto, aY as UserPermissionDto, be as UserRestriction, a5 as UserType, aZ as UserUpdateDto, bm as ValidationResult, a_ as VersionDto, W as WeekdayTranslationKey, bH as addDays, bG as addMinutes, bI as addMonths, bF as addSeconds, c7 as addSpacesForEnum, bs as addToParallelTasks, c9 as anyObject, u as apiRoute, t as apiRouteParam, bq as arrayContains, bp as arrayOfNLength, c5 as capitalizeFirstLetter, cf as colourPalette, g as createToken, bS as cyrb53, bL as dateDiffInDays, bP as debounceLeading, cg as defaultSiteColour, ca as fakePromise, by as formatDate, c8 as formatFileSize, bE as formatForBookingDate, bA as formatForDateDropdown, bz as formatForDateLocal, bD as formatForDateLocalDetailed, bB as formatForDateOfBirth, bC as formatForDateWithTime, bM as getAgeInYears, _ as getAllPetQuestionForType, cn as getAppType, bQ as getArrFromEnum, cl as getBotPath, cs as getCommonConfig, bt as getDayClassObject, bw as getDayElements, bu as getDayHeadingElements, bU as getImageParams, ct as getLog, bX as getMimeTypeFromExtension, bV as getPayloadFromJwt, bZ as getPerformanceTimer, c0 as getPetAvatarUrl, cr as getSiteColour, cq as getSiteConfig, b$ as getUserAvatarUrl, bx as getUsersName, bN as getWeekNumber, b_ as hasRequiredPermissions, bJ as isBefore, cJ as isNumber, bK as isSameDay, i as isWebApp, c6 as lowercaseFirstLetter, bn as makeArrayOrDefault, cI as maxDate, cz as maxItems, cN as maxLength, cL as maxValue, bW as mimeTypeLookup, cH as minDate, cy as minItems, cM as minLength, e as minUrlLength, cK as minValue, m as monthTranslationKeyOrder, cE as multiValidation, c2 as nameof, n as nanasFonts, cC as noValidation, cD as notNull, bo as onlyUnique, p as portalGlyphLength, c1 as promiseFromValue, c3 as randomIntFromRange, c4 as randomItemFromArray, cj as rootContainer, cu as rootDependencyInjectionSetup, bf as searchColumns, cA as selectedItemsExist, cB as selectedOptionIsInEnum, cF as separateValidation, cv as setContainerToken, cw as setContainerTokenLazy, cp as setSiteConfig, cO as shouldBeUrl, cP as shouldBeYoutubeUrl, bO as showSecondCalendar, s as socialLinks, br as timeout, bY as tryParseNumber, a3 as uploadsThatNeedEncryption, cd as urlRef, bR as uuidv4, v as validUuidChars, cG as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-BXxld36z.js';
1
+ import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-DVIleflX.js';
2
+ export { cm as APP_TYPE_TOKEN, a6 as ActivityDto, b0 as ActivityRestriction, x as ActivityType, a7 as AddressCreateDto, a8 as AddressDto, y as AddressLinkType, a9 as AddressLookupDto, b1 as AddressRestriction, aa as AddressUpdateDto, ab as AnswerCreateDto, ac as AnswerDto, z as AnswerLinkType, b2 as AnswerRestriction, A as AppType, ad as AuthLoginDto, ae as AuthPatDto, af as AuthSignupDto, ag as AuthSuccessDto, ck as BOT_PATH_TOKEN, ah as BookingAddonDto, b4 as BookingAddonRestriction, B as BookingAddonType, ai as BookingCreateDto, aj as BookingDto, ak as BookingHostCreateDto, al as BookingHostDto, am as BookingHostUpdateDto, b3 as BookingRestriction, an as BookingRestrictionsDto, ao as BookingRestrictionsEnabledDaysDto, ap as BookingRestrictionsPremiumEnabledDaysDto, F as BookingStatusType, aq as BookingUpdateDto, ar as BookingWithRelationshipsDto, f as CachedValue, as as ChargeCreateUpdateDto, at as ChargeDto, b5 as ChargeRestriction, G as ChargeStatusType, r as ClickEvent, au as CommentCreateDto, av as CommentDto, J as CommentLinkType, b6 as CommentRestriction, aw as CommentUpdateDto, ci as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b7 as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, o as HtmlFilesEvent, q as HtmlImageReadEvent, l as HtmlKeyEvent, bg as ICaptchaResponse, k as IDependencyInjectionSetupWebProps, bT as IImageParams, bi as ILogMessage, bj as IMediaUpload, ch as ISite, ce as ISiteColour, a$ as JwtPayloadDto, K as KeyEvent, bh as LogMethod, N as LogType, ax as MembershipCreateDto, ay as MembershipDto, b8 as MembershipRestriction, O as MembershipStatus, P as MembershipType, az as MembershipUpdateDto, M as MonthTranslationKey, d as MouseButton, Q as NetworkState, bl as NominatimAddressResponse, bk as NominatimResponse, cb as ObjectWithPropsOfValue, S as OrderDirectionType, aA as PaginationRequestDto, aB as PaginationResponseDto, b9 as PermissionRestriction, T as PermissionType, aC as PetCreateDto, aD as PetDto, ba as PetRestriction, U as PetSexType, V as PetStatusType, X as PetType, aE as PetUpdateDto, cc as Prettify, aF as ProfileDto, aG as ProfileQuestionAndAnswersItemDto, aH as ProfileQuestionRequestDto, aI as ProfileUpdateDto, aJ as QuestionCreateDto, aK as QuestionDto, Z as QuestionForType, bb as QuestionRestriction, Y as QuestionType, aL as QuestionUpdateDto, bv as RenderCellType, co as SITE_CONFIG_TOKEN, aM as SearchObjDatePropRequestDto, aN as SearchObjRequestDto, aO as SearchObjTextPropRequestDto, a0 as SearchableColumnInfo, $ as SearchableColumnType, cx as TranslationService, bc as UnavailabilityRestriction, aP as UploadCreateDto, aQ as UploadDto, aR as UploadImageWithLinkDto, a1 as UploadLinkType, bd as UploadRestriction, a2 as UploadType, aS as UploadUpdateDto, a4 as UserAccountFlagType, aT as UserCreateDto, aU as UserDto, aV as UserMembershipCreateDto, aW as UserMembershipDto, aX as UserMembershipUpdateDto, aY as UserPermissionDto, be as UserRestriction, a5 as UserType, aZ as UserUpdateDto, bm as ValidationResult, a_ as VersionDto, W as WeekdayTranslationKey, bH as addDays, bG as addMinutes, bI as addMonths, bF as addSeconds, c7 as addSpacesForEnum, bs as addToParallelTasks, c9 as anyObject, u as apiRoute, t as apiRouteParam, bq as arrayContains, bp as arrayOfNLength, c5 as capitalizeFirstLetter, cf as colourPalette, g as createToken, bS as cyrb53, bL as dateDiffInDays, bP as debounceLeading, cg as defaultSiteColour, ca as fakePromise, by as formatDate, c8 as formatFileSize, bE as formatForBookingDate, bA as formatForDateDropdown, bz as formatForDateLocal, bD as formatForDateLocalDetailed, bB as formatForDateOfBirth, bC as formatForDateWithTime, bM as getAgeInYears, _ as getAllPetQuestionForType, cn as getAppType, bQ as getArrFromEnum, cl as getBotPath, cs as getCommonConfig, bt as getDayClassObject, bw as getDayElements, bu as getDayHeadingElements, bU as getImageParams, ct as getLog, bX as getMimeTypeFromExtension, bV as getPayloadFromJwt, bZ as getPerformanceTimer, c0 as getPetAvatarUrl, cr as getSiteColour, cq as getSiteConfig, b$ as getUserAvatarUrl, bx as getUsersName, bN as getWeekNumber, b_ as hasRequiredPermissions, bJ as isBefore, cJ as isNumber, bK as isSameDay, i as isWebApp, c6 as lowercaseFirstLetter, bn as makeArrayOrDefault, cI as maxDate, cz as maxItems, cN as maxLength, cL as maxValue, bW as mimeTypeLookup, cH as minDate, cy as minItems, cM as minLength, e as minUrlLength, cK as minValue, m as monthTranslationKeyOrder, cE as multiValidation, c2 as nameof, n as nanasFonts, cC as noValidation, cD as notNull, bo as onlyUnique, p as portalGlyphLength, c1 as promiseFromValue, c3 as randomIntFromRange, c4 as randomItemFromArray, cj as rootContainer, cu as rootDependencyInjectionSetup, bf as searchColumns, cA as selectedItemsExist, cB as selectedOptionIsInEnum, cF as separateValidation, cv as setContainerToken, cw as setContainerTokenLazy, cp as setSiteConfig, cO as shouldBeUrl, cP as shouldBeYoutubeUrl, bO as showSecondCalendar, s as socialLinks, br as timeout, bY as tryParseNumber, a3 as uploadsThatNeedEncryption, cd as urlRef, bR as uuidv4, v as validUuidChars, cG as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-DVIleflX.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/5SB4YHD5.js';
2
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, ChargeRestriction, ChargeStatusType, 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/5SB4YHD5.js';
1
+ import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/CVJITZ37.js';
2
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, ChargeRestriction, ChargeStatusType, 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/CVJITZ37.js';
3
3
  import fs5 from 'fs/promises';
4
4
  import path8 from 'path';
5
5
  import fs2 from 'fs';
@@ -56,6 +56,7 @@ interface ISite {
56
56
  settings: {
57
57
  localStorageKey: string;
58
58
  fallbackLoader?: string;
59
+ defaultTheme?: 'light' | 'dark';
59
60
  };
60
61
  theme: {
61
62
  colour: string;
@@ -2277,6 +2278,7 @@ declare const mimeTypeLookup: {
2277
2278
  readonly js: "application/javascript";
2278
2279
  readonly json: "application/json";
2279
2280
  readonly png: "image/png";
2281
+ readonly webp: "image/webp";
2280
2282
  readonly jpg: "image/jpeg";
2281
2283
  readonly jpeg: "image/jpeg";
2282
2284
  readonly gif: "image/gif";
@@ -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, P as MembershipType, V as PetStatusType, aF as ProfileDto, Z as QuestionForType, Y as QuestionType, a5 as UserType, R as ResultWithValue, Q as NetworkState, cQ as IFormCalendarPickerProps, cR as FullDateSelectionProps, cS as FormCalendarPickerMode, cT as FormCalendarDatePickerRangeProps, cU as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, cV as FormCalendarPickerInnerProps, cW as FormInputProps, bm as ValidationResult, K as KeyEvent, H as HtmlElementEvent, aG as ProfileQuestionAndAnswersItemDto, a7 as AddressCreateDto, aa as AddressUpdateDto, ad as AuthLoginDto, af as AuthSignupDto, ai as BookingCreateDto, ax as MembershipCreateDto, aC as PetCreateDto, aE as PetUpdateDto, aI as ProfileUpdateDto, aJ as QuestionCreateDto, aP as UploadCreateDto, aU as UserDto, aT as UserCreateDto, o as HtmlFilesEvent, bi as ILogMessage, I as ILogger, a as Result, aA as PaginationRequestDto, aB as PaginationResponseDto, aN as SearchObjRequestDto, C as CommonConfigService, a6 as ActivityDto, L as LogService, a8 as AddressDto, y as AddressLinkType, bk as NominatimResponse, aj as BookingDto, aq as BookingUpdateDto, J as CommentLinkType, av as CommentDto, au as CommentCreateDto, ay as MembershipDto, az as MembershipUpdateDto, aD as PetDto, aK as QuestionDto, aQ as UploadDto, aS as UploadUpdateDto, aZ as UserUpdateDto, aW as UserMembershipDto, aV as UserMembershipCreateDto, aX as UserMembershipUpdateDto, aY as UserPermissionDto, T as PermissionType, a9 as AddressLookupDto, ar as BookingWithRelationshipsDto, ch as ISite, aR as UploadImageWithLinkDto, an as BookingRestrictionsDto, ag as AuthSuccessDto, a_ as VersionDto, cc as Prettify, k as IDependencyInjectionSetupWebProps, cx as TranslationService } from '../textValidation-BXxld36z.js';
4
- export { cm as APP_TYPE_TOKEN, b0 as ActivityRestriction, x as ActivityType, b1 as AddressRestriction, ab as AnswerCreateDto, ac as AnswerDto, z as AnswerLinkType, b2 as AnswerRestriction, A as AppType, ae as AuthPatDto, ck as BOT_PATH_TOKEN, ah as BookingAddonDto, b4 as BookingAddonRestriction, B as BookingAddonType, ak as BookingHostCreateDto, al as BookingHostDto, am as BookingHostUpdateDto, b3 as BookingRestriction, ao as BookingRestrictionsEnabledDaysDto, ap as BookingRestrictionsPremiumEnabledDaysDto, f as CachedValue, as as ChargeCreateUpdateDto, at as ChargeDto, b5 as ChargeRestriction, G as ChargeStatusType, b6 as CommentRestriction, aw as CommentUpdateDto, ci as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b7 as DrivingRouteRestriction, E as EnvKey, cX as FormCalendarSpecialRangeDisplayProps, cY as FormCalendarSpecialRangeProps, q as HtmlImageReadEvent, l as HtmlKeyEvent, bg as ICaptchaResponse, b as IDependencyInjectionSetupProps, bT as IImageParams, bj as IMediaUpload, ce as ISiteColour, a$ as JwtPayloadDto, bh as LogMethod, N as LogType, b8 as MembershipRestriction, O as MembershipStatus, d as MouseButton, bl as NominatimAddressResponse, cb as ObjectWithPropsOfValue, S as OrderDirectionType, b9 as PermissionRestriction, ba as PetRestriction, U as PetSexType, X as PetType, aH as ProfileQuestionRequestDto, c$ as PropertyOverrides, bb as QuestionRestriction, aL as QuestionUpdateDto, bv as RenderCellType, co as SITE_CONFIG_TOKEN, aM as SearchObjDatePropRequestDto, aO as SearchObjTextPropRequestDto, a0 as SearchableColumnInfo, $ as SearchableColumnType, bc as UnavailabilityRestriction, a1 as UploadLinkType, bd as UploadRestriction, a2 as UploadType, a4 as UserAccountFlagType, be as UserRestriction, c_ as ValidFormComponentTypes, cZ as ValidFormTypes, bH as addDays, bG as addMinutes, bI as addMonths, bF as addSeconds, c7 as addSpacesForEnum, bs as addToParallelTasks, c9 as anyObject, u as apiRoute, t as apiRouteParam, bq as arrayContains, bp as arrayOfNLength, c5 as capitalizeFirstLetter, cf as colourPalette, g as createToken, bS as cyrb53, bL as dateDiffInDays, bP as debounceLeading, cg as defaultSiteColour, ca as fakePromise, by as formatDate, c8 as formatFileSize, bE as formatForBookingDate, bA as formatForDateDropdown, bz as formatForDateLocal, bD as formatForDateLocalDetailed, bB as formatForDateOfBirth, bC as formatForDateWithTime, bM as getAgeInYears, _ as getAllPetQuestionForType, cn as getAppType, bQ as getArrFromEnum, cl as getBotPath, cs as getCommonConfig, bt as getDayClassObject, bw as getDayElements, bu as getDayHeadingElements, bU as getImageParams, ct as getLog, bX as getMimeTypeFromExtension, bV as getPayloadFromJwt, bZ as getPerformanceTimer, c0 as getPetAvatarUrl, cr as getSiteColour, cq as getSiteConfig, b$ as getUserAvatarUrl, bx as getUsersName, bN as getWeekNumber, b_ as hasRequiredPermissions, bJ as isBefore, cJ as isNumber, bK as isSameDay, i as isWebApp, c6 as lowercaseFirstLetter, bn as makeArrayOrDefault, cI as maxDate, cz as maxItems, cN as maxLength, cL as maxValue, bW as mimeTypeLookup, cH as minDate, cy as minItems, cM as minLength, e as minUrlLength, cK as minValue, m as monthTranslationKeyOrder, cE as multiValidation, c2 as nameof, n as nanasFonts, cC as noValidation, cD as notNull, bo as onlyUnique, p as portalGlyphLength, c1 as promiseFromValue, c3 as randomIntFromRange, c4 as randomItemFromArray, cj as rootContainer, cu as rootDependencyInjectionSetup, bf as searchColumns, cA as selectedItemsExist, cB as selectedOptionIsInEnum, cF as separateValidation, cv as setContainerToken, cw as setContainerTokenLazy, cp as setSiteConfig, cO as shouldBeUrl, cP as shouldBeYoutubeUrl, bO as showSecondCalendar, s as socialLinks, br as timeout, bY as tryParseNumber, a3 as uploadsThatNeedEncryption, cd as urlRef, bR as uuidv4, v as validUuidChars, cG as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-BXxld36z.js';
3
+ import { F as BookingStatusType, r as ClickEvent, P as MembershipType, V as PetStatusType, aF as ProfileDto, Z as QuestionForType, Y as QuestionType, a5 as UserType, R as ResultWithValue, Q as NetworkState, cQ as IFormCalendarPickerProps, cR as FullDateSelectionProps, cS as FormCalendarPickerMode, cT as FormCalendarDatePickerRangeProps, cU as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, cV as FormCalendarPickerInnerProps, cW as FormInputProps, bm as ValidationResult, K as KeyEvent, H as HtmlElementEvent, aG as ProfileQuestionAndAnswersItemDto, a7 as AddressCreateDto, aa as AddressUpdateDto, ad as AuthLoginDto, af as AuthSignupDto, ai as BookingCreateDto, ax as MembershipCreateDto, aC as PetCreateDto, aE as PetUpdateDto, aI as ProfileUpdateDto, aJ as QuestionCreateDto, aP as UploadCreateDto, aU as UserDto, aT as UserCreateDto, o as HtmlFilesEvent, bi as ILogMessage, I as ILogger, a as Result, aA as PaginationRequestDto, aB as PaginationResponseDto, aN as SearchObjRequestDto, C as CommonConfigService, a6 as ActivityDto, L as LogService, a8 as AddressDto, y as AddressLinkType, bk as NominatimResponse, aj as BookingDto, aq as BookingUpdateDto, J as CommentLinkType, av as CommentDto, au as CommentCreateDto, ay as MembershipDto, az as MembershipUpdateDto, aD as PetDto, aK as QuestionDto, aQ as UploadDto, aS as UploadUpdateDto, aZ as UserUpdateDto, aW as UserMembershipDto, aV as UserMembershipCreateDto, aX as UserMembershipUpdateDto, aY as UserPermissionDto, T as PermissionType, a9 as AddressLookupDto, ar as BookingWithRelationshipsDto, ch as ISite, aR as UploadImageWithLinkDto, an as BookingRestrictionsDto, ag as AuthSuccessDto, a_ as VersionDto, cc as Prettify, k as IDependencyInjectionSetupWebProps, cx as TranslationService } from '../textValidation-DVIleflX.js';
4
+ export { cm as APP_TYPE_TOKEN, b0 as ActivityRestriction, x as ActivityType, b1 as AddressRestriction, ab as AnswerCreateDto, ac as AnswerDto, z as AnswerLinkType, b2 as AnswerRestriction, A as AppType, ae as AuthPatDto, ck as BOT_PATH_TOKEN, ah as BookingAddonDto, b4 as BookingAddonRestriction, B as BookingAddonType, ak as BookingHostCreateDto, al as BookingHostDto, am as BookingHostUpdateDto, b3 as BookingRestriction, ao as BookingRestrictionsEnabledDaysDto, ap as BookingRestrictionsPremiumEnabledDaysDto, f as CachedValue, as as ChargeCreateUpdateDto, at as ChargeDto, b5 as ChargeRestriction, G as ChargeStatusType, b6 as CommentRestriction, aw as CommentUpdateDto, ci as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b7 as DrivingRouteRestriction, E as EnvKey, cX as FormCalendarSpecialRangeDisplayProps, cY as FormCalendarSpecialRangeProps, q as HtmlImageReadEvent, l as HtmlKeyEvent, bg as ICaptchaResponse, b as IDependencyInjectionSetupProps, bT as IImageParams, bj as IMediaUpload, ce as ISiteColour, a$ as JwtPayloadDto, bh as LogMethod, N as LogType, b8 as MembershipRestriction, O as MembershipStatus, d as MouseButton, bl as NominatimAddressResponse, cb as ObjectWithPropsOfValue, S as OrderDirectionType, b9 as PermissionRestriction, ba as PetRestriction, U as PetSexType, X as PetType, aH as ProfileQuestionRequestDto, c$ as PropertyOverrides, bb as QuestionRestriction, aL as QuestionUpdateDto, bv as RenderCellType, co as SITE_CONFIG_TOKEN, aM as SearchObjDatePropRequestDto, aO as SearchObjTextPropRequestDto, a0 as SearchableColumnInfo, $ as SearchableColumnType, bc as UnavailabilityRestriction, a1 as UploadLinkType, bd as UploadRestriction, a2 as UploadType, a4 as UserAccountFlagType, be as UserRestriction, c_ as ValidFormComponentTypes, cZ as ValidFormTypes, bH as addDays, bG as addMinutes, bI as addMonths, bF as addSeconds, c7 as addSpacesForEnum, bs as addToParallelTasks, c9 as anyObject, u as apiRoute, t as apiRouteParam, bq as arrayContains, bp as arrayOfNLength, c5 as capitalizeFirstLetter, cf as colourPalette, g as createToken, bS as cyrb53, bL as dateDiffInDays, bP as debounceLeading, cg as defaultSiteColour, ca as fakePromise, by as formatDate, c8 as formatFileSize, bE as formatForBookingDate, bA as formatForDateDropdown, bz as formatForDateLocal, bD as formatForDateLocalDetailed, bB as formatForDateOfBirth, bC as formatForDateWithTime, bM as getAgeInYears, _ as getAllPetQuestionForType, cn as getAppType, bQ as getArrFromEnum, cl as getBotPath, cs as getCommonConfig, bt as getDayClassObject, bw as getDayElements, bu as getDayHeadingElements, bU as getImageParams, ct as getLog, bX as getMimeTypeFromExtension, bV as getPayloadFromJwt, bZ as getPerformanceTimer, c0 as getPetAvatarUrl, cr as getSiteColour, cq as getSiteConfig, b$ as getUserAvatarUrl, bx as getUsersName, bN as getWeekNumber, b_ as hasRequiredPermissions, bJ as isBefore, cJ as isNumber, bK as isSameDay, i as isWebApp, c6 as lowercaseFirstLetter, bn as makeArrayOrDefault, cI as maxDate, cz as maxItems, cN as maxLength, cL as maxValue, bW as mimeTypeLookup, cH as minDate, cy as minItems, cM as minLength, e as minUrlLength, cK as minValue, m as monthTranslationKeyOrder, cE as multiValidation, c2 as nameof, n as nanasFonts, cC as noValidation, cD as notNull, bo as onlyUnique, p as portalGlyphLength, c1 as promiseFromValue, c3 as randomIntFromRange, c4 as randomItemFromArray, cj as rootContainer, cu as rootDependencyInjectionSetup, bf as searchColumns, cA as selectedItemsExist, cB as selectedOptionIsInEnum, cF as separateValidation, cv as setContainerToken, cw as setContainerTokenLazy, cp as setSiteConfig, cO as shouldBeUrl, cP as shouldBeYoutubeUrl, bO as showSecondCalendar, s as socialLinks, br as timeout, bY as tryParseNumber, a3 as uploadsThatNeedEncryption, cd as urlRef, bR as uuidv4, v as validUuidChars, cG as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-DVIleflX.js';
5
5
  import { ToasterProps } from 'solid-toast';
6
6
  import '@tolgee/web';
7
7
 
@@ -776,6 +776,29 @@ declare class CaptchaWebService {
776
776
  promptUser(): Promise<ResultWithValue<string>>;
777
777
  }
778
778
 
779
+ type ThemeType = 'dark' | 'light';
780
+ interface ICommonState {
781
+ language: string;
782
+ theme: ThemeType;
783
+ auth: AuthSuccessDto | undefined;
784
+ }
785
+ type SetPropParam = {
786
+ [K in keyof ICommonState]: Prettify<{
787
+ name: K;
788
+ value: ICommonState[K];
789
+ }>;
790
+ }[keyof ICommonState];
791
+ declare class CommonStateService {
792
+ private _localStorageKey;
793
+ private _internalState;
794
+ constructor(local: LocalStorageService, siteConfig: ISite);
795
+ saveToLocalStorage: (args: ICommonState) => Promise<void>;
796
+ getStateProp: <TKey extends keyof ICommonState>(propName: TKey) => ICommonState[TKey] | null;
797
+ setStateProp(prop: SetPropParam): void;
798
+ getPermissions: () => number[];
799
+ getTheme: () => ThemeType;
800
+ }
801
+
779
802
  interface IAddScriptToHead {
780
803
  id: string;
781
804
  url: string;
@@ -802,7 +825,7 @@ declare class DocumentService {
802
825
  left?: number;
803
826
  top?: number;
804
827
  }) => void;
805
- toggleTheme: (newThemeToSet?: string) => void;
828
+ toggleTheme: (newThemeToSet?: ThemeType) => void;
806
829
  addScriptToHead: (props: IAddScriptToHead) => void;
807
830
  unFocusCurrentElem: () => void;
808
831
  appStartupSequence: (props: {
@@ -811,29 +834,6 @@ declare class DocumentService {
811
834
  }) => Promise<void>;
812
835
  }
813
836
 
814
- type ThemeType = 'dark' | 'light';
815
- interface ICommonState {
816
- language: string;
817
- theme: ThemeType;
818
- auth: AuthSuccessDto | undefined;
819
- }
820
- type SetPropParam = {
821
- [K in keyof ICommonState]: Prettify<{
822
- name: K;
823
- value: ICommonState[K];
824
- }>;
825
- }[keyof ICommonState];
826
- declare class CommonStateService {
827
- private _localStorageKey;
828
- private _internalState;
829
- constructor(local: LocalStorageService);
830
- saveToLocalStorage: (args: ICommonState) => Promise<void>;
831
- getStateProp: <TKey extends keyof ICommonState>(propName: TKey) => ICommonState[TKey] | null;
832
- setStateProp(prop: SetPropParam): void;
833
- getPermissions: () => number[];
834
- getTheme: () => ThemeType;
835
- }
836
-
837
837
  declare class ToastService {
838
838
  private _logger;
839
839
  baseConfig: ToasterProps;
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, noValidation, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, rootContainer, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, getAppType, BookingStatusType, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, getArrFromEnum, capitalizeFirstLetter, convertToDate, isBefore, formatForDateOfBirth, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/5SB4YHD5.js';
2
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, ChargeRestriction, ChargeStatusType, 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/5SB4YHD5.js';
1
+ import { notNull, multiValidation, isNumber, minValue, MembershipRestriction, maxValue, minItems, minLength, PetRestriction, maxLength, selectedOptionIsInEnum, PetSexType, PetStatusType, PetType, noValidation, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, rootContainer, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, getAppType, BookingStatusType, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, getArrFromEnum, capitalizeFirstLetter, convertToDate, isBefore, formatForDateOfBirth, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/CVJITZ37.js';
2
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, ChargeRestriction, ChargeStatusType, 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/CVJITZ37.js';
3
3
  import { delegateEvents, createComponent, template, insert, effect, className, setAttribute, memo, mergeProps, spread, addEventListener, style, use } from 'solid-js/web';
4
4
  import { createSignal, Show, Switch, Match, For, createEffect, onMount } from 'solid-js';
5
5
  import classNames from 'classnames';
@@ -881,13 +881,17 @@ var CommonStateService = class {
881
881
  theme: "dark",
882
882
  auth: void 0
883
883
  };
884
- constructor(local) {
884
+ constructor(local, siteConfig) {
885
885
  this._localStorageKey = getSiteConfig()?.settings.localStorageKey ?? "nanas-home-common";
886
886
  const localInitialState = local.get(this._localStorageKey);
887
887
  if (localInitialState != null) {
888
888
  this._internalState = {
889
889
  ...localInitialState
890
890
  };
891
+ } else {
892
+ if (siteConfig.settings.defaultTheme != null) {
893
+ this._internalState.theme = siteConfig.settings.defaultTheme;
894
+ }
891
895
  }
892
896
  }
893
897
  saveToLocalStorage = debounceLeading((newState) => {
@@ -1074,7 +1078,7 @@ var dependencyInjectionWebSetup = (props) => {
1074
1078
  const localStorageService = new LocalStorageService(logService);
1075
1079
  const translationService = new TranslationService(logService, configService);
1076
1080
  const documentService = new DocumentService(configService, { windowOnError, windowOnUnhandledRejection });
1077
- const commonStateService = new CommonStateService(localStorageService);
1081
+ const commonStateService = new CommonStateService(localStorageService, siteConfig);
1078
1082
  setContainerToken(LocalStorageService, localStorageService);
1079
1083
  setContainerToken(CommonStateService, commonStateService);
1080
1084
  setContainerToken(ToastService, new ToastService(logService));
@@ -1229,12 +1233,12 @@ var getBookingStatusTypeLocalisationForClient = (type) => {
1229
1233
  case 3 /* RequestMatchFee */:
1230
1234
  return createComponent(T, {
1231
1235
  keyName: "booking_status_client_request_match_fee",
1232
- defaultValue: "Request Match Fee"
1236
+ defaultValue: "Match Fee required"
1233
1237
  });
1234
1238
  case 7 /* RequestPayment */:
1235
1239
  return createComponent(T, {
1236
1240
  keyName: "booking_status_client_request_payment",
1237
- defaultValue: "Request Payment"
1241
+ defaultValue: "Payment required"
1238
1242
  });
1239
1243
  case 10 /* WaitList */:
1240
1244
  return createComponent(T, {
@@ -4300,7 +4304,7 @@ var UserDtoMeta = {
4300
4304
  }),
4301
4305
  placeholder: () => createComponent(T, {
4302
4306
  keyName: "hubspot_id_placeholder",
4303
- defaultValue: "1234"
4307
+ defaultValue: "..."
4304
4308
  }),
4305
4309
  validator: noValidation
4306
4310
  },
@@ -4311,7 +4315,7 @@ var UserDtoMeta = {
4311
4315
  }),
4312
4316
  placeholder: () => createComponent(T, {
4313
4317
  keyName: "stripe_customer_id_placeholder",
4314
- defaultValue: "1234"
4318
+ defaultValue: "..."
4315
4319
  }),
4316
4320
  validator: noValidation
4317
4321
  },