@thryveai/theme-interfaces 2.8.31 → 2.8.33
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/JSONSchemas/index.d.ts +355 -142
- package/dist/JSONSchemas/index.js +603 -338
- package/dist/index.d.ts +2 -2
- package/dist/interfaces/default-theme.interface.d.ts +46 -0
- package/dist/interfaces/icons.interfaces.d.ts +1 -1
- package/dist/interfaces/theme.interfaces.d.ts +43 -0
- package/dist/storefront/defaultIconsStorefront.js +1 -1
- package/dist/storefront/defaultThemeStorefront.js +273 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { IDefaultStsSettings } from "./interfaces/sts-settings.interfaces";
|
|
|
17
17
|
import { IAdvertsData, PdpDetailsElementLayout, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, ICouponGalleryLayout, IPageAdvertsRow, IEntryModalVersion, IShoppingRuleControl, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, IUseContentEngineV2Components, IPdpNutritionLink, ITypesOfBusiness, IBusinessAccountObject, IPerformanceSettingsV2, IStoreSelectionSettings, ShoppingMode, ILayoutCarousel } from "./interfaces/retailer-settings.interfaces";
|
|
18
18
|
import { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames } from "./interfaces/icons.interfaces";
|
|
19
19
|
import { ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource } from "./interfaces/theme.interfaces";
|
|
20
|
-
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IIconPosition } from "./interfaces/default-theme.interface";
|
|
20
|
+
import { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, IIconPosition, ITimeSlotState, ITimeSlotVariant } from "./interfaces/default-theme.interface";
|
|
21
21
|
import { CMSComponentNames, CMSNames } from "./storefront/contentEngineComponents";
|
|
22
22
|
import { ProductAttributes, ProductAttrToIcons } from "./storefront/productBadgeAttributes";
|
|
23
23
|
/** MOBILE */
|
|
@@ -38,6 +38,6 @@ export { ProductAttrToIcons, ProductAttributes };
|
|
|
38
38
|
export { ITypesOfBusiness, IBusinessAccountObject };
|
|
39
39
|
export { IAdminTemplateInputTypes, IAdminSettingsTemplate, IAdminSharedSettingsTemplate, IAdminSettingsTemplateSTS, IAdminControl, IAdminControlType, IThemeGenerator, IAdminImagesTemplateSFUI, IAdminImagesTemplateSTS, IAdminThemeTemplateSFUI, IAdminThemeTemplateOptions, IAdminImagesControls, ISecondaryFaviconType, };
|
|
40
40
|
export { IDefaultRetailerSettingsVersion2, IDefaultStsSettings };
|
|
41
|
-
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IIconPosition, };
|
|
41
|
+
export { IDefaultTheme, IDefaultThemeScripts, IDefaultThemeImages, IDefaultThemeMetadata, IDefaultThemeFavicons, IDefaultThemeLogoPosition, IDefaultThemeLogoHeightsProps, IDefaultThemeLogoHeights, ISTSDefaultThemeInterface, IDefaultThemeFavicon, IDefaultThemeMetadataItem, IDefaultThemeInterface, IGlobalDefaultTheme, IDefaultColors, IBrandColors, IUiColors, IInitializedEmptyDefaultTheme, IDefaultThemeAnimationConfettiPlaces, IDefaultThemeGlobalAnimations, IDefaultThemeAnimationsConfettiPlacesTypes, IDefaultThemeAnimationsConfettiProps, IDefaultEmbeddedFont, IDefaultEmbeddedFontSource, ITheme, IThemeScripts, IThemeImages, IThemeMetadata, IThemeFavicons, IThemeLogoPosition, IThemeLogoHeightsProps, IThemeLogoHeights, ISTSThemeInterface, IThemeFavicon, IThemeMetadataItem, IThemeInterface, IGlobalTheme, IColors, IInitializedEmptyTheme, IThemeAnimationConfettiPlaces, IThemeGlobalAnimations, IThemeAnimationsConfettiPlacesTypes, IThemeAnimationsConfettiProps, IEmbeddedFont, IEmbeddedFontSource, IIconPosition, ITimeSlotState, ITimeSlotVariant, };
|
|
42
42
|
export { IIconsObject, PaymentTypesLogos, PaymentCards, IconNames };
|
|
43
43
|
export { PdpDetailsElementLayout, ShoppingMode, ISearchPreview, IRetailerSettings, ISecondTierAuthorization, IFlippConfig, IFlippConfigV2, IFlippScriptUrls, IRedPepperConfig, IAllSettings, ISMSConfig, ICtaButtons, IAddressesSettings, IAccountPageSettings, ILayoutSettings, ILayoutCarousel, ILoggingLevel, IDefaultSearchParams, IDefaultStoreLocation, IDefaultCounty, IRetailerCountry, IRestrictMapPlaces, IValidationType, INutritionZone, IFooterTypes, IRegistrationFieldTypes, IRegistrationFieldNames, IValidateLength, IValidateMultipleLengths, IValidateDateRange, IRegistrationField, ICheckoutValidation, ISearchPreviewVisibility, IPaymentCards, IGlobalAnimations, ILayoutAnimationsConfetti, IGlobalCheckoutProps, IAddressIntegration, IAddressFinderType, IAdvertLeaderboards, IAdvertProductGrid, IAdvertSkyScrapers, IPageNamesForAdverts, IAddressValidationTypes, IUseContentEngineV2Components, IAdvertSettings, IGoogleAutocompleteSettings, ITimeslotModalSettings, IPdpNutritionLink, ISodiumWarning, IProductCardsProps, IProductDetailsPageLayout, ICartSummaryLayout, ISmartBanner, IEntryModalVersion, IShoppingRuleControl, ICouponGalleryLayout, IPageAdvertsRow, IScreenType, IProductCardLayoutObjects, IProductCardILayoutVersions, IProductCardILayoutTypes, IAdvertsData, IAdminOnlyV2, IAccountPageV2, IAddressesSettingsV2, ICartSummaryV2, ICheckoutSettingsV2, IFeaturesV2, IPdpSettingsV2, IProductCardSettingsV2, ISiteSettingsV2, ISharedSettings, IPerformanceSettingsV2, IStoreSelectionSettings, };
|
|
@@ -522,6 +522,14 @@ export interface IDefaultThemeInterface {
|
|
|
522
522
|
globalAnimations: IDefaultThemeGlobalAnimations;
|
|
523
523
|
metadata: IDefaultThemeMetadata;
|
|
524
524
|
scripts: IDefaultThemeScripts;
|
|
525
|
+
timeSlotGrid: {
|
|
526
|
+
timeSlot: ITimeSlot;
|
|
527
|
+
expressDeliveryBanner: {
|
|
528
|
+
color: string;
|
|
529
|
+
backgroundColor: string;
|
|
530
|
+
iconColor: string;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
525
533
|
}
|
|
526
534
|
export interface IDefaultThemeScripts {
|
|
527
535
|
[key: string]: string;
|
|
@@ -799,6 +807,44 @@ export interface IDefaultEmbeddedFontSource {
|
|
|
799
807
|
url: string;
|
|
800
808
|
format: string;
|
|
801
809
|
}
|
|
810
|
+
export declare type ITimeSlotState = "available" | "reserved" | "unavailable";
|
|
811
|
+
export declare type ITimeSlotVariant = "default" | "expressTimeframe";
|
|
812
|
+
export declare type ITimeSlotVarType<T> = Record<ITimeSlotVariant, T>;
|
|
813
|
+
export declare type ITimeSlotStateMap<T> = Record<ITimeSlotState, T>;
|
|
814
|
+
export interface ITimeSlotWrapper {
|
|
815
|
+
color: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
816
|
+
backgroundColor: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
817
|
+
iconColor: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
818
|
+
fontSize: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
819
|
+
fontWeight: ITimeSlotStateMap<ITimeSlotVarType<IFontWeights>>;
|
|
820
|
+
}
|
|
821
|
+
export interface ITimeSlotThemeTimeRange {
|
|
822
|
+
color: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
823
|
+
fontSize: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
824
|
+
fontWeight: ITimeSlotStateMap<ITimeSlotVarType<IFontWeights>>;
|
|
825
|
+
textTransform: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
826
|
+
lineHeight: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
827
|
+
}
|
|
828
|
+
export interface ITimeSlot {
|
|
829
|
+
wrapper: ITimeSlotWrapper;
|
|
830
|
+
radio: {
|
|
831
|
+
iconColor: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
832
|
+
};
|
|
833
|
+
timeRangeText: ITimeSlotThemeTimeRange;
|
|
834
|
+
priceText: {
|
|
835
|
+
color: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
836
|
+
};
|
|
837
|
+
titleText: {
|
|
838
|
+
color: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
839
|
+
fontSize: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
840
|
+
lineHeight: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
841
|
+
};
|
|
842
|
+
descriptionText: {
|
|
843
|
+
fontSize: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
844
|
+
lineHeight: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
845
|
+
fontWeight: ITimeSlotStateMap<ITimeSlotVarType<IFontWeights>>;
|
|
846
|
+
};
|
|
847
|
+
}
|
|
802
848
|
export declare type DefaultImagesForSchema = DeepPartial<IDefaultThemeImages>;
|
|
803
849
|
export declare type DefaultThemeForSchema = DeepPartial<IDefaultThemeInterface>;
|
|
804
850
|
export {};
|
|
@@ -4,7 +4,7 @@ export declare type IIconsObject = {
|
|
|
4
4
|
};
|
|
5
5
|
export declare type PaymentTypesLogos = "AmExpCard" | "AmExpLogo" | "Comodo" | "DiscoverCard" | "DiscoverLogo" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified";
|
|
6
6
|
export declare type PaymentCards = "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "VisaDebit" | "Paze";
|
|
7
|
-
export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "CreditCard" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GooglePay" | "Hamburger" | "Help" | "Home" | "HouseOrBusinessAccount" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "NoDepartments" | "Orders" | "PastPurchases" | "PayPal" | "PayInStore" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Play" | "Plus" | "Print" | "ProductLocation" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "Rewards" | "SavedCard" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
|
|
7
|
+
export declare type IconNames = "AccountOutline" | "AccountSolid" | "Addresses" | "ApplePay" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "CreditCard" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "EBT" | "Eco" | "Edit" | "Error" | "ExpressDelivery" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "GooglePay" | "Hamburger" | "Help" | "Home" | "HouseOrBusinessAccount" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "NoDepartments" | "Orders" | "PastPurchases" | "PayPal" | "PayInStore" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Play" | "Plus" | "Print" | "ProductLocation" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "Rewards" | "SavedCard" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "TargetedReward" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube" | PaymentTypesLogos | PaymentCards | ProductAttributeIcons | LanguageFlags;
|
|
8
8
|
export declare type ProductAttributeIcons = "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "PlantBased" | "Frozen" | "MapleLeafCanadian" | "HighFiber" | "HighProtein" | "NewProduct" | "Vegetarian" | "Hypoallergenic" | "APlusRewards";
|
|
9
9
|
export declare type LanguageFlags = "en-au" | "en-ca" | "en-gb" | "en-ie" | "en-us" | "es-es" | "es-mx" | "es-us" | "fr-ca";
|
|
10
10
|
export declare type DefaultIconsForSchema = DeepPartial<{} & IIconsObject>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ITimeSlotStateMap, ITimeSlotVarType } from "./default-theme.interface";
|
|
1
2
|
import { IconNames } from "./icons.interfaces";
|
|
2
3
|
export interface ITheme extends IInitializedEmptyTheme {
|
|
3
4
|
theme?: IThemeInterface;
|
|
@@ -491,6 +492,14 @@ export interface IThemeInterface {
|
|
|
491
492
|
globalAnimations?: IThemeGlobalAnimations;
|
|
492
493
|
metadata?: IThemeMetadata;
|
|
493
494
|
scripts?: IThemeScripts;
|
|
495
|
+
timeSlotGrid?: {
|
|
496
|
+
timeSlot?: ITimeSlot;
|
|
497
|
+
expressDeliveryBanner?: {
|
|
498
|
+
color?: string;
|
|
499
|
+
backgroundColor?: string;
|
|
500
|
+
iconColor?: string;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
494
503
|
}
|
|
495
504
|
export interface IThemeScripts {
|
|
496
505
|
[key: string]: string;
|
|
@@ -714,4 +723,38 @@ export interface IEmbeddedFontSource {
|
|
|
714
723
|
format?: string;
|
|
715
724
|
}
|
|
716
725
|
export declare type IDateFormat = "DD/MM/YYYY" | "MM/DD/YYYY";
|
|
726
|
+
export interface ITimeSlotWrapper {
|
|
727
|
+
color?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
728
|
+
backgroundColor?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
729
|
+
iconColor?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
730
|
+
fontSize?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
731
|
+
fontWeight?: ITimeSlotStateMap<ITimeSlotVarType<IFontWeights>>;
|
|
732
|
+
}
|
|
733
|
+
export interface ITimeSlotThemeTimeRange {
|
|
734
|
+
color?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
735
|
+
fontSize?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
736
|
+
fontWeight?: ITimeSlotStateMap<ITimeSlotVarType<IFontWeights>>;
|
|
737
|
+
textTransform?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
738
|
+
lineHeight?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
739
|
+
}
|
|
740
|
+
export interface ITimeSlot {
|
|
741
|
+
wrapper?: ITimeSlotWrapper;
|
|
742
|
+
radio?: {
|
|
743
|
+
iconColor?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
744
|
+
};
|
|
745
|
+
timeRangeText?: ITimeSlotThemeTimeRange;
|
|
746
|
+
priceText?: {
|
|
747
|
+
color?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
748
|
+
};
|
|
749
|
+
titleText?: {
|
|
750
|
+
color?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
751
|
+
fontSize?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
752
|
+
lineHeight?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
753
|
+
};
|
|
754
|
+
descriptionText?: {
|
|
755
|
+
fontSize?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
756
|
+
lineHeight?: ITimeSlotStateMap<ITimeSlotVarType<string>>;
|
|
757
|
+
fontWeight?: ITimeSlotStateMap<ITimeSlotVarType<IFontWeights>>;
|
|
758
|
+
};
|
|
759
|
+
}
|
|
717
760
|
export {};
|