accomadesc 0.1.27 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +7 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ import Text from './Text.svelte';
|
|
|
24
24
|
import Weather from './Weather.svelte';
|
|
25
25
|
import PageComponent from './PageComponent.svelte';
|
|
26
26
|
export type { OccuplanTranslations } from './occuplan/state.svelte.ts';
|
|
27
|
-
export type { GridPhoto, LeafletMap as LeafletMapI, LeafletMapContent, Calendar as CalendarI, CalendarContent, CalendarAvailable as CalendarAvailableI, CalendarAvailableContent, CalendarGrid as CalendarGridI, CalendarGridContent, CalendarRows as CalendarRowsI, CalendarRowsContent, Text as TextI, TextContent, Weather as WeatherI, WeatherContent, Photo as PhotoI, PhotoContent, PhotoGallery as PhotoGalleryI, PhotoGalleryContent, Pricing as PricingI, PricingContent, PricingShort as PricingShortI, PricingShortContent, PricingEntry, PricingRange, PricingColumn, StaticRangeDate, StaticPricingRange, AmenitiesCore as AmenitiesCoreI, AmenitiesCoreContent, AccoCard as AccoCardI, AccoCardContent, ContactForm as ContactFormI, ContactFormContent, BookingRequest as BookingRequestI, BookingRequestContent, CardContent, AccoDescription as AccoDescriptionI, AccoDescriptionContent, Section as SectionI, I18nFacade, Block, PageProps, Nav as NavI, FormatSpec, FormatTemplateName, SiteConfig, SiteFonts, SiteTranslation, FontSpec, Hero, } from './types.js';
|
|
27
|
+
export type { GridPhoto, LeafletMap as LeafletMapI, LeafletMapContent, Calendar as CalendarI, CalendarContent, CalendarAvailable as CalendarAvailableI, CalendarAvailableContent, CalendarGrid as CalendarGridI, CalendarGridContent, CalendarRows as CalendarRowsI, CalendarRowsContent, Text as TextI, TextContent, Weather as WeatherI, WeatherContent, Photo as PhotoI, PhotoContent, PhotoGallery as PhotoGalleryI, PhotoGalleryContent, Pricing as PricingI, PricingContent, PricingShort as PricingShortI, PricingShortContent, PricingEntry, PricingRange, PricingColumn, StaticRangeDate, StaticPricingRange, AmenitiesCore as AmenitiesCoreI, AmenitiesCoreContent, AccoCard as AccoCardI, AccoCardContent, ContactForm as ContactFormI, ContactFormContent, BookingRequest as BookingRequestI, BookingRequestContent, CardContent, AccoDescription as AccoDescriptionI, AccoDescriptionContent, Section as SectionI, I18nFacade, Block, PageProps, Nav as NavI, FormatSpec, FormatTemplateName, SiteConfig, LangConfig, SiteFonts, SiteTranslation, FontSpec, Hero, } from './types.js';
|
|
28
28
|
export { PRICING_COLUMNS, isAccoCard, isText, isPhoto, isGallery, isLeafletMap, isWeather, isAmenitiesCore, isCalendarAvailable, isCalendar, isCalendarGrid, isCalendarRows, isPricing, isPricingShort, isAccoDescription, isBookingRequest, isContactForm, } from './types.js';
|
|
29
29
|
export { randomID, randomName, Avatar, Button, Icon, Spinner, TextInput, AccoCard, AccoDescription, AmenitiesCore, Calendar, CalendarAvailable, LeafletMap, Photo, PhotoGallery, Pricing, PricingShort, Section, Text, Weather, BookingRequest, ContactForm, CalendarRows, CalendarGrid, Notes, PageComponent, };
|
package/dist/types.d.ts
CHANGED
|
@@ -291,6 +291,12 @@ export interface SiteTranslation {
|
|
|
291
291
|
cookies: CookieTranslation;
|
|
292
292
|
site: Record<string, string>;
|
|
293
293
|
}
|
|
294
|
+
export interface LangConfig {
|
|
295
|
+
defaultLang: string;
|
|
296
|
+
supportedLangs: string[];
|
|
297
|
+
translations: Record<string, SiteTranslation>;
|
|
298
|
+
formats: Record<string, FormatSpec>;
|
|
299
|
+
}
|
|
294
300
|
export declare const FORMAT_TEMPLATE_NAMES: string[];
|
|
295
301
|
export type FormatTemplateName = (typeof FORMAT_TEMPLATE_NAMES)[number];
|
|
296
302
|
export interface FormatSpec {
|
|
@@ -319,12 +325,7 @@ export interface SiteConfig {
|
|
|
319
325
|
'/': PageProps;
|
|
320
326
|
[key: string]: PageProps;
|
|
321
327
|
};
|
|
322
|
-
lang:
|
|
323
|
-
defaultLang: string;
|
|
324
|
-
supportedLangs: string[];
|
|
325
|
-
translations: Record<string, SiteTranslation>;
|
|
326
|
-
formats: Record<string, FormatSpec>;
|
|
327
|
-
};
|
|
328
|
+
lang: LangConfig;
|
|
328
329
|
css: string;
|
|
329
330
|
}
|
|
330
331
|
export interface PageProps {
|