@sunrise-upc/sales-static-components 0.1.17 → 0.2.1

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.
Files changed (36) hide show
  1. package/dist/cjs/components/Constants.d.ts +126 -0
  2. package/dist/cjs/components/FalconButton/falconButton.d.ts +46 -0
  3. package/dist/cjs/components/FalconDescription/FalconDescription.d.ts +14 -0
  4. package/dist/cjs/components/FalconTitle/FalconTitle.d.ts +11 -0
  5. package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +19 -0
  6. package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +27 -0
  7. package/dist/cjs/components/InternetAndTvCardsBenefits/index.d.ts +1 -0
  8. package/dist/cjs/components/ResponsiveRow/row.d.ts +6 -0
  9. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +1 -2
  10. package/dist/cjs/components/RichText/richText.d.ts +2 -7
  11. package/dist/cjs/components/Spacer/spacer.d.ts +11 -0
  12. package/dist/cjs/components/index.d.ts +1 -0
  13. package/dist/cjs/index.js +1 -1
  14. package/dist/cjs/utils/AnalyticsConstants.d.ts +229 -0
  15. package/dist/cjs/utils/StyleUtils.d.ts +6 -1
  16. package/dist/cjs/utils/data-source.d.ts +16 -0
  17. package/dist/cjs/utils/storyblok-types.d.ts +97 -0
  18. package/dist/esm/components/Constants.d.ts +126 -0
  19. package/dist/esm/components/FalconButton/falconButton.d.ts +46 -0
  20. package/dist/esm/components/FalconDescription/FalconDescription.d.ts +14 -0
  21. package/dist/esm/components/FalconTitle/FalconTitle.d.ts +11 -0
  22. package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +19 -0
  23. package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +27 -0
  24. package/dist/esm/components/InternetAndTvCardsBenefits/index.d.ts +1 -0
  25. package/dist/esm/components/ResponsiveRow/row.d.ts +6 -0
  26. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +1 -2
  27. package/dist/esm/components/RichText/richText.d.ts +2 -7
  28. package/dist/esm/components/Spacer/spacer.d.ts +11 -0
  29. package/dist/esm/components/index.d.ts +1 -0
  30. package/dist/esm/index.js +1 -1
  31. package/dist/esm/utils/AnalyticsConstants.d.ts +229 -0
  32. package/dist/esm/utils/StyleUtils.d.ts +6 -1
  33. package/dist/esm/utils/data-source.d.ts +16 -0
  34. package/dist/esm/utils/storyblok-types.d.ts +97 -0
  35. package/dist/index.d.ts +3 -1
  36. package/package.json +9 -3
@@ -1,7 +1,236 @@
1
1
  export declare const GAEVENT = "gaEvent";
2
+ export declare const TARIFFEND = "findyourtariff_end";
3
+ export declare const TARIFFSTART = "findyourtariff_start";
2
4
  export declare const TEXTIMAGECOMPONENT = "Text_Image_Component";
3
5
  export declare const ARTICLEVIEW = "article_view_promotion";
4
6
  export declare const ARTICLESELECT = "article_select_promotion";
5
7
  export declare const ARTICLERIGHTSELECT = "article_pagination_right_click";
6
8
  export declare const ARTICLELEFTSELECT = "article_pagination_left_click";
7
9
  export declare const ARTICLEICONSELECT = "article_pagination_icon_click";
10
+ export declare const CLIENT = "Website";
11
+ export declare const LANG = "lang";
12
+ export declare const TYPE = "click";
13
+ export declare const VIEW = "view";
14
+ export declare const SEARCHTYPE = "dropDownClick/enter/leftClick";
15
+ export declare const LEVELUP = "LevelUp Navigation";
16
+ export declare const STEPOPTION = "StepOptionComponent";
17
+ export declare const INSTRUCTION = "InstructionComponent";
18
+ export declare const SINGLESTEP = "SingleStepComponent";
19
+ export declare const INSTRUCTIONPDF = "InstructionPDFComponent";
20
+ export declare const QUICKLINKCARD = "QuicklinkCardComponent";
21
+ export declare const QUICKLINK = "QuickLinks";
22
+ export declare const TROUBLESHOOT = "TroubleshootComponent";
23
+ export declare const DECISIONOPTION = "DecisionOptionComponent";
24
+ export declare const ANCHOR = "ANCHORComponent";
25
+ export declare const APPSTOREBUTTON = "AppstoreButtonComponent";
26
+ export declare const FAQ = "FaqComponent";
27
+ export declare const ERRORCODESEARCH = "ErrorcodeSearchComponent";
28
+ export declare const MAINNAVIGATION = "Mainnavigation";
29
+ export declare const SUBMAINNAVIGATION = "SubMainnavigation";
30
+ export declare const FOOTERNAVIGATION = "Footernavigation";
31
+ export declare const FOOTERSUBNAVIGATION = "FooterSubnavigation";
32
+ export declare const LOGIN = "Login";
33
+ export declare const PRODUCTQUICKLINK = "ProductQuickLink";
34
+ export declare const INTERNETDEVICESELECTION = "InternetDeviceQuickLinks";
35
+ export declare const NOICONQUICKLINKCARD = "NoIconQuickLinkCard";
36
+ export declare const QUICKLINKCARDICON = "QuickLinkCardIcon";
37
+ export declare const TITLEWITHSEARCH = "TitleWithSearch";
38
+ export declare const HELPINTERNALSEARCH = "HelpInternalSearchStart";
39
+ export declare const HULKBUTTON = "HulkButton";
40
+ export declare const BACK = "Browser Back or Forward";
41
+ export declare const ABANDONEDCART = "abandonedCart";
42
+ export declare const ABANDONEDKEY = "Abandon_Initiate";
43
+ export declare const DISPLAYNAME = "productDisplayName";
44
+ export declare const COPYRIGHT = "CopyRight";
45
+ export declare const BODY = "Body";
46
+ export declare const TOP = "Top";
47
+ export declare const CONTENT = "content";
48
+ export declare const LINK = "links";
49
+ export declare const NAVIGATION = "navigation";
50
+ export declare const TEXT = "text";
51
+ export declare const WIDGET = "widget";
52
+ export declare const OTHER = "others";
53
+ export declare const FOOTER = "footer";
54
+ export declare const BOTTOM = "Bottom";
55
+ export declare const SOCIALMEDIAICONS = "SocialMediaIcons";
56
+ export declare const STAGETEASER = "Stageteaser";
57
+ export declare const DECISION = "Decision";
58
+ export declare const BANNER = "Banner";
59
+ export declare const DOYOUHAVEEVERYTHING = "DoYouHaveEverything";
60
+ export declare const DOWNLOAD = "Download";
61
+ export declare const ERRORPAGEINTRODUCTION = "ErrorPageIntroduction";
62
+ export declare const INSTALLATION = "Installation";
63
+ export declare const MULTIOPTION = "MultiOption";
64
+ export declare const STEPSTEPBYINSTRUCTION = "StepStepByInstruction";
65
+ export declare const INSTRUCTIONIMAGE = "InstructionImage";
66
+ export declare const INSTRUCTINTRODUCTION = "InstructionIntroduction";
67
+ export declare const TROUBLESHOOTQUICKLINK = "TroubleShootQuickLink";
68
+ export declare const SECTION = "Section";
69
+ export declare const TROUBLESHOOTINTRODUCTION = "TroubleshootIntroduction";
70
+ export declare const USAGEINTRODUCTION = "UsageIntroduction";
71
+ export declare const USAGESECTION = "UsageSection";
72
+ export declare const USAGESTEP = "UsageStep";
73
+ export declare const USAGESTEPICONLIST = "UsageStepIconList";
74
+ export declare const TITLE = "TitleComponent";
75
+ export declare const TITLEWITHIMAGE = "TitleWithImage";
76
+ export declare const TROUBLESHOOTSTEPLIST = "TroubleShootStepList";
77
+ export declare const ACCORDION = "Accordion";
78
+ export declare const MOBILENAVIGATION = "MobileNavigation";
79
+ export declare const PROFILE = "My Sunrise";
80
+ export declare const LOGINSTART = "loginStart";
81
+ export declare const INFOBOXOPENCLOSE = "InfoBox Card open/close";
82
+ export declare const DOWNLOADLIST = "DownloadList";
83
+ export declare const ENTERTAINMENT = "EntertainmentTeaser";
84
+ export declare const FALCONACCORDION = "FalconAccordion";
85
+ export declare const HIGHLIGHTED = "HighlightedText";
86
+ export declare const ICONLIST = "IconList";
87
+ export declare const IFRAME = "IFrame";
88
+ export declare const IMAGEOVERLAYOPNCLS = "Image Overlay Close";
89
+ export declare const IMAGECOMPONENT = "ImageComponent";
90
+ export declare const IMAGEGALLERY = "ImageGallery";
91
+ export declare const INFOBOXCARD = "InfoboxCard";
92
+ export declare const PAGEHEROTEASER = "PageHeroTeaser";
93
+ export declare const PROMOTIONTEASER = "PromotionTeaser";
94
+ export declare const SALESARGV2 = "SalesArgumentCard";
95
+ export declare const TAB = "Tab";
96
+ export declare const TABCONT = "Tabs Container";
97
+ export declare const TXTANDCTA = "TextAndCTATeaser";
98
+ export declare const FALCONBTN = "FalconButton";
99
+ export declare const FALCONDESCR = "FalconDescription";
100
+ export declare const FALCONTITLE = "FlaconTitle";
101
+ export declare const SPACER = "Spacer";
102
+ export declare const TABLE = "Table";
103
+ export declare const TEXTCOMP = "TextComponent";
104
+ export declare const BREADCRUMB = "Breadcrumb";
105
+ export declare const FORMSUBMIT = "Form Submitted";
106
+ export declare const FORM = "Form";
107
+ export declare const CONTACTREQCALL = "ContactRequestCallback";
108
+ export declare const GENERICOPENCLOSE = "Close";
109
+ export declare const CLOSEMODAL = "Close Channel Modal";
110
+ export declare const CALLBACKSUCES = "CallbackSuccess";
111
+ export declare const CALLBACKCONFIRM = "Callback Confirmation";
112
+ export declare const CHANNELLIST = "ChannelList Component";
113
+ export declare const CHANNELCARD = "ChannelListCard";
114
+ export declare const GRID = "Grid View";
115
+ export declare const LIST = "List View";
116
+ export declare const BACKGROUND = "Background Component";
117
+ export declare const INTERNETTVCARD = "InternetTVCard";
118
+ export declare const TOOLTIP = "Tooltip";
119
+ export declare const POPUPTABLE = "PopupTable";
120
+ export declare const CONTACTOPEN = "Contact Open | Chat Enabled";
121
+ export declare const CONTACTFLYIN = "Contact Fly-In";
122
+ export declare const DEVICEGALLERY = "deviceGalleryList";
123
+ export declare const BLOGOVERVIEWARTICLE = "BlogOverviewArticle";
124
+ export declare const IMAGEWITHTEXTSLIDER = "ImageWithTextSlider";
125
+ export declare const VALIDATIONSTARTED = "swissskiValidationStarted";
126
+ export declare const VALIDATIONPERFORMED = "swissskiValidationPerformed";
127
+ export declare const VALIDATIONUNSUCCESSFUL = "Validation Unsuccessful";
128
+ export declare const WENTWRONG = "Something went wrong";
129
+ export declare const VALIDATIONVIEW = "swissskiValidationView";
130
+ export declare const VALIDATIONSUCCESSFUL = "Validation Successful";
131
+ export declare const SUCCESSTYPE = "success";
132
+ export declare const VALIDATIONMESSAGE = "Your validation was successful and we have an exclusive offer for you!";
133
+ export declare const CONGRATS = "Congratulation";
134
+ export declare const VALIDATIONSUCCESSPOPUP = "swissSkiValidationSuccessPopup";
135
+ export declare const VALIDATIONERRORPOPUP = "swissSkiValidationErrorPopup";
136
+ export declare const BACKTOVALIDATION = "Back to validation";
137
+ export declare const VALIDATIONGENERALPOPUP = "swissSkiValidationGeneralPopup";
138
+ export declare const OFFERFORMEMBER = "This offer is only available for swiss ski members...";
139
+ export declare const OFFERFORMEMBERTITLE = "This offer is only available for swiss ski members!";
140
+ export declare const GENERAL = "general";
141
+ export declare const HEROBANNER = "HeroBanner";
142
+ export declare const LOGINFORGOTPASSWORD = "Forgot password";
143
+ export declare const FORGOTPASSWORD = "Forgot Password";
144
+ export declare const LOGINTEMPORARYPASSWORD = "Temporary password";
145
+ export declare const TEMPORARYPASSWORD = "Temporary Password";
146
+ export declare const LOGINUSERVERIFIED = "userVerified";
147
+ export declare const SUCCESSFUL = "success";
148
+ export declare const LOGINUSERNOTVERIFIED = "userNotFound";
149
+ export declare const UNSUCCESSFUL = "unSuccess";
150
+ export declare const LOGINSUCCESSFUL = "loginSuccessful";
151
+ export declare const PASSWORDSUCCESSFUL = "success via password";
152
+ export declare const LOGINUNSUCCESSFUL = "loginUnSuccessful";
153
+ export declare const PASSWORDUNSUCCESSFUL = "unSuccess via password";
154
+ export declare const GETOTPSUCCESSSMS = "success via SMS";
155
+ export declare const GETOTPSUCCESSEMAIL = "success via EMail";
156
+ export declare const GETOTPUNSUCCESSSMS = "unSuccess via SMS";
157
+ export declare const GETOTPUNSUCCESSEMAIL = "unSuccess via EMail";
158
+ export declare const SENDONETIMEPASSWORD = "Send temporary password";
159
+ export declare const OTPVIASMS = "Temporary password via Sms";
160
+ export declare const OTPVIAEMAIL = "Temporary password via Email";
161
+ export declare const ONETIMEPASSWORD = "Temporary password";
162
+ export declare const RESENDCODE = "Resend Code";
163
+ export declare const LOGINBACK = "Back";
164
+ export declare const LOGINNEXT = "Next";
165
+ export declare const ERRORTEASER = "ErrorTeaser";
166
+ export declare const FIXNET = "fixnet";
167
+ export declare const APIFAILURE = "api failure";
168
+ export declare const OFFER = "offer";
169
+ export declare const PRODTABNAV = "Product Navigation Tab";
170
+ export declare const INTERNETPAGE = "Internet page";
171
+ export declare const LOGINPOPUP = "Login popup";
172
+ export declare const LOGINVALUE = "Close";
173
+ export declare const VIEWPROMOTION = "view_promotion";
174
+ export declare const CONFIGUREPRODUCTCLICK = "configure_product_click";
175
+ export declare const STORYBLOK = "Storyblok";
176
+ export declare const LOGGEDIN = "logged-in";
177
+ export declare const GUEST = "guest";
178
+ export declare const BRAND = "Sunrise";
179
+ export declare const CURRENCY = "CHF";
180
+ export declare const YES = "yes";
181
+ export declare const NO = "no";
182
+ export declare const SELECTPROMOTION = "select_promotion";
183
+ export declare const FAILED = "failed";
184
+ export declare const SUCCESSFULL = "successful";
185
+ export declare const SAVEOPTIONPOPUP = "save_option_popup";
186
+ export declare const MAINNAVCLICK = "mainnavigation_click";
187
+ export declare const SUBNAVCLICK = "subnavigation_click";
188
+ export declare const FOOTERNAVCLICK = "footernavigation_click";
189
+ export declare const SEARCH = "Search";
190
+ export declare const GENERATELEAD = "generate_lead";
191
+ export declare const ACCORDIONOPEN = "accordion_open";
192
+ export declare const CTABUTTONCLICK = "cta_button_click";
193
+ export declare const SELECTITEMCONFIGURATOR = "select_item_configurator";
194
+ export declare const TOGGLEONCONFIGURATOR = "toggle_on_configurator";
195
+ export declare const TOGGLEOFFCONFIGURATOR = "toggle_off_configurator";
196
+ export declare const INFOCARDCLICK = "info_card_click";
197
+ export declare const INFOBOXCLICK = "infobox_card_click";
198
+ export declare const VIEWOPTIONPOPUP = "view_option_popup";
199
+ export declare const INTERNETCARD = "internet_tv_card_click";
200
+ export declare const CONTACTFLYINOPEN = "contact_flyin_open";
201
+ export declare const CONTACTCARDCONTAINER = "ContactCard_container";
202
+ export declare const CONTACTCHATSTART = "contact_chat_start";
203
+ export declare const CONTACTAPPOINTMENTCLICK = "contact_appointment_click";
204
+ export declare const CONTACTHELPCENTERCLICK = "contact_helpcenter_click";
205
+ export declare const TEXTLINK = "Text_link";
206
+ export declare const SBLINECHECKSTART = "line_check_start";
207
+ export declare const SBLINECHECKRESULT = "line_check_results";
208
+ export declare const CONTACTSALESHOTLINECLICK = "contact_saleshotline_click";
209
+ export declare const CONTACTCARD = "ContactCard";
210
+ export declare const SOCIALCLICK = "social_follow_click";
211
+ export declare const DOWNLOADPRODUCT = "download_product_details";
212
+ export declare const BUNDLEPRODUCT = "BUNDLE";
213
+ export declare const HOMEORDER = "HOME_ORDER";
214
+ export declare const CART = "CreateCart";
215
+ export declare const TABCLICK = "tab_click";
216
+ export declare const MYSTERYVOUCHEROPEN = "mystery_voucher_open";
217
+ export declare const MYSTERYVOUCHERCLOSE = "mystery_voucher_close";
218
+ export declare const MYSTERYVOUCHERREVEAL = "mystery_voucher_reveal";
219
+ export declare const REVEALYOURDEAL = "Reveal your deal";
220
+ export declare const CTATEXTCLICK = "cta_text_click";
221
+ export declare const SECRETDEALPOPUPBUTTON = "secretdeal_popup_button";
222
+ export declare const VIEWSECRETDEALPOPUP = "view_secretdeal_popup";
223
+ export declare const SECRETDEALABONDANT = "secretdeal_popup_abondant";
224
+ export declare const DEALSUCCESSFUL = "successful";
225
+ export declare const SALESHOTLINECALLUS = "saleshotline_callus_button";
226
+ export declare const SALESHOTLINEREUESTCALLBACK = "saleshotline_requestacallback";
227
+ export declare const SALESHOTLINECLICK = "sales_hotline_click";
228
+ export declare const CASHBACKBONUS = "cashback_bonus";
229
+ export declare const SEARCHICONCLICK = "search_icon_click";
230
+ export declare const PROFILECLICK = "sunrise_profile_click";
231
+ export declare const LOGINCLICK = "sunrise_login_click";
232
+ export declare const PROFILELOGOUT = "profile_logout";
233
+ export declare const MYPROFILECLICK = "profile_mysunrise_click";
234
+ export declare const WINREQUESTCALLBACK = "win_requestacallback";
235
+ export declare const WINCALLBACKBUTTON = "win_callback_button";
236
+ export declare const WINCALLBACKPOPUP = "win_callback_popup";
@@ -1,2 +1,7 @@
1
- export declare const getFalconBackgroundColorClassNew: (type: string) => string;
1
+ export declare const getFalconButtonClass: (type: string) => string;
2
+ export declare const getQuoteBackgroundColorClass: (type: string) => string;
2
3
  export declare const getFalconGradientClass: (type: string) => string;
4
+ export declare const getFalconBackgroundColorClass: (type: string) => string;
5
+ export declare const getFalconColorsClass: (type: string) => string;
6
+ export declare const checkLinkWithLang: (url: string) => string;
7
+ export declare const getFalconBackgroundColorClassNew: (type: string) => string;
@@ -1 +1,17 @@
1
+ export type LocaleID = 'en' | 'de' | 'fr' | 'it' | 'default';
2
+ export type LinkTarget = '_blank' | '_parent' | '_self' | '_top';
3
+ export type Alignment = 'left' | 'center' | 'right';
4
+ export type AuraButtonTypes = 'Primary-V1' | 'Secondary-V1' | 'Secondary-V4';
5
+ export type FalconButtonTypes = 'Primary-V1' | 'Secondary-V1' | 'Secondary-V4' | 'Secondary-Dark';
6
+ export type QuoteBackgroundColor = 'pink' | 'blue' | 'grey' | 'iceWhite' | 'transparent';
7
+ export type FalconGradientTypes = 'rubyglow-diagonal' | 'rubyglow-vertical' | 'pinksky-diagonal' | 'pinksky-vertical' | 'bluehaze-diagonal' | 'bluehaze-vertical' | 'greencloud-diagonal' | 'greencloud-vertical' | 'peachfog-diagonal' | 'peachfog-vertical' | 'black' | 'skyfuel-vertical' | 'black-friday' | 'none';
8
+ export type ElementPosition = 'top-left' | 'top-right' | 'bottom-right' | 'bottom-left';
9
+ export type FalconColorsTypes = 'grey-600' | 'grey-500' | 'ice-white' | 'grey-100' | 'grey-400' | 'none';
10
+ export type CardDisplayVariants = 'stack' | 'slider';
1
11
  export type HeadingVariants = 'h1' | 'h2' | 'h3' | 'h4';
12
+ export type ShadowVariants = 'no-shadow' | 'default-shadow';
13
+ export type FalconBackgroundColor = 'grey-100' | 'ice-white' | 'transparent' | 'blue' | 'dark-green';
14
+ export type VerticalAlignment = 'top' | 'center' | 'bottom';
15
+ export type OverlayGradient = 'overlay' | 'top-to-bottom' | 'bottom-to-top' | 'left-to-right' | 'right-to-left' | 'none';
16
+ export type FalconBackgroundColorNew = 'grey-100' | 'ice-white' | 'transparent' | 'none';
17
+ export type FalconMessageTypes = 'success' | 'error' | 'info' | 'warning' | 'tip' | 'infoWhite';
@@ -0,0 +1,97 @@
1
+ export interface Link {
2
+ id: number;
3
+ slug: string;
4
+ name: string;
5
+ is_folder: boolean;
6
+ parent_id: number;
7
+ published: boolean;
8
+ path?: string;
9
+ position: number;
10
+ uuid: string;
11
+ is_startpage: boolean;
12
+ real_path: string;
13
+ alternates: LinkAlternate[];
14
+ }
15
+ export interface LinkAlternate {
16
+ path: string;
17
+ name?: string;
18
+ lang: string;
19
+ }
20
+ export type Links = {
21
+ [key: string]: Link;
22
+ };
23
+ export interface Story {
24
+ name: string;
25
+ created_at: string;
26
+ published_at: string;
27
+ alternates: any[];
28
+ id: number;
29
+ uuid: string;
30
+ content: Content;
31
+ slug: string;
32
+ full_slug: string;
33
+ default_full_slug?: string;
34
+ sort_by_date: any;
35
+ position: number;
36
+ tag_list: any[];
37
+ is_startpage: boolean;
38
+ parent_id: number;
39
+ meta_data: any;
40
+ group_id: string;
41
+ first_published_at: string;
42
+ release_id?: string;
43
+ lang: string;
44
+ translated_slugs: LinkAlternate[];
45
+ links: Story[];
46
+ }
47
+ export interface Content {
48
+ _uid: string;
49
+ component: string;
50
+ _editable: string;
51
+ [key: string]: any;
52
+ }
53
+ export interface Asset {
54
+ id: number;
55
+ alt?: string;
56
+ name: string;
57
+ focus?: string;
58
+ title?: string;
59
+ filename: string;
60
+ copyright?: string;
61
+ fieldtype: 'asset';
62
+ }
63
+ export interface MultiLink {
64
+ id: string;
65
+ url: string;
66
+ linktype: 'url' | 'story';
67
+ fieldtype: 'multilink';
68
+ cached_url: string;
69
+ }
70
+ export type LinkTarget = '_self' | '_blank' | null;
71
+ export type LinkType = 'url' | 'story' | 'asset' | 'email';
72
+ export declare interface LinkAttributes {
73
+ href: string;
74
+ uuid: string | null;
75
+ target: LinkTarget;
76
+ linktype: LinkType;
77
+ }
78
+ export interface MultiLinkUrl extends MultiLink {
79
+ linktype: 'url';
80
+ }
81
+ export interface MultiLinkStory extends MultiLink {
82
+ linktype: 'story';
83
+ story?: Story;
84
+ }
85
+ export interface NativeColorPicker {
86
+ color: string;
87
+ plugin: string;
88
+ _uid: string;
89
+ }
90
+ export interface BlokProps {
91
+ content: {
92
+ _uid: string;
93
+ component: string;
94
+ };
95
+ metadata?: any;
96
+ index?: any;
97
+ }
@@ -14,3 +14,129 @@ export declare const H2 = "h2";
14
14
  export declare const H3 = "h3";
15
15
  export declare const H4 = "h4";
16
16
  export declare const NONE = "none";
17
+ export declare const LGDESKEND = 2561;
18
+ export declare const MDDESKEND = 1439;
19
+ export declare const TABEND = 1023;
20
+ export declare const MOBEND = 767;
21
+ export declare const STACK = "stack";
22
+ export declare const COLLG6 = "col-lg-6";
23
+ export declare const COLLG4 = "col-lg-4";
24
+ export declare const COLLG3 = "col-lg-3";
25
+ export declare const DEFAULTICONALT = "NOT AVAILABLE";
26
+ export declare const DEFAULTICONTITLE = "";
27
+ export declare const BANNERWARN = "WARN";
28
+ export declare const BANNERINFO = "INFO";
29
+ export declare const BANNERTIPS = "TIPS";
30
+ export declare const BANNERERROR = "ERROR";
31
+ export declare const BANNERWARNINGCOMP = "WARNINGCOMPONENT";
32
+ export declare const BANNERINFORMATIONCOMP = "INFORMATIONCOMPONENT";
33
+ export declare const BANNERTIPSCOMP = "TIPSCOMPONENT";
34
+ export declare const BANNERERRORCOMP = "ERRORCOMPONENT";
35
+ export declare const DEFAULTLOCALE = "en";
36
+ export declare const AUTHCOOKIE = "sunriseAuth";
37
+ export declare const METAURL = "https://www.sunrise.ch/";
38
+ export declare const LAZYLOAD = "lazy";
39
+ export declare const CONTAIN = "contain";
40
+ export declare const COVER = "cover";
41
+ export declare const IMAGEFORMAT = "/filters:format(webp)";
42
+ export declare const METACONTENT = "initial-scale=1.0, width=device-width";
43
+ export declare const STORYBLOKIMAGE = "https://img2.storyblok.com/";
44
+ export declare const ASSETIMAGE = "https://a.storyblok.com";
45
+ export declare const YOUTUBE = "youtube";
46
+ export declare const YOUTUBETHUMBNAIL = "//i.ytimg.com/vi/";
47
+ export declare const YOUTUBEEMBED = "https://www.youtube.com/embed/";
48
+ export declare const VIMEOTHUMBNAIL = "https://vumbnail.com/";
49
+ export declare const VIMEOEMBED = "https://player.vimeo.com/video/";
50
+ export declare const TABSTART = 768;
51
+ export declare const MDDESKSTART = 1024;
52
+ export declare const LGDESKSTART = 1440;
53
+ export declare const SEARCHPAGE = "https://www.sunrise.ch/en/residential/search.html#/";
54
+ export declare const FULLWIDTH = "FULL-WIDTH";
55
+ export declare const HALFWIDTH = "HALF-WIDTH";
56
+ export declare const MAJORLEFT = "MAJOR-LEFT";
57
+ export declare const MAJORRIGHT = "MAJOR-RIGHT";
58
+ export declare const AURABUTTONCLICKED = "clicked";
59
+ export declare const FNAME = "fname";
60
+ export declare const LNAME = "lname";
61
+ export declare const SWISSPHONENUMBERREGEXP: RegExp;
62
+ export declare const REQUESTCALLBACK = "requestCallback";
63
+ export declare const PHONENUMBER = "phoneNumber";
64
+ export declare const HYPERLINK = "hyperLink";
65
+ export declare const PRIMARYV1BUTTON = "Primary-V1";
66
+ export declare const EXTERNALLINK = "externalLink";
67
+ export declare const INTERNALLINK = "internalLink";
68
+ export declare const DOCUMENT = "document";
69
+ export declare const DOWNLOADS = "download";
70
+ export declare const TEXTAREA = "text-area";
71
+ export declare const NUMBERSONLY = "numbersOnly";
72
+ export declare const EMAIL = "email";
73
+ export declare const TEXTNUMBER = "text-number";
74
+ export declare const TEXTEMAIL = "text-email";
75
+ export declare const TEXT = "text";
76
+ export declare const TEXTFIELD = "formTextField";
77
+ export declare const RADIO = "formRadioButton";
78
+ export declare const CHECKBOX = "formCheckBox";
79
+ export declare const DROPDOWN = "formDropDown";
80
+ export declare const EMAILREGEX: RegExp;
81
+ export declare const NUMBERREGEX: RegExp;
82
+ export declare const EMAILONLY = "emailOnly";
83
+ export declare const NUMBERONLY = "numbersOnly";
84
+ export declare const IMG = "img";
85
+ export declare const ICON = "icon";
86
+ export declare const SVG = "svg";
87
+ export declare const SUCCESS = "success";
88
+ export declare const ERROR = "error";
89
+ export declare const WARNING = "warning";
90
+ export declare const DATEPICKER = "formDateField";
91
+ export declare const FILEUPLOAD = "formFileUpload";
92
+ export declare const FORMSECTIONINFOTEXT = "formSectionInfoText";
93
+ export declare const ACCEPTEDFILEFORMATS = "image/*,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/docx,application/pdf,application/msword";
94
+ export declare const ACCEPTEDIMAGEFORMATS: string[];
95
+ export declare const FALCONTITLE = "falconTitle";
96
+ export declare const FALCONDESCRIPTION = "falconDescription";
97
+ export declare const COOKIENAME = "cookieconsent_status";
98
+ export declare const COOKIEVALUE = "dismiss";
99
+ export declare const COOKIEEXPIRY = "7776000000";
100
+ export declare const SLIM = "slim";
101
+ export declare const FULLWIDE = "fullWidth";
102
+ export declare const SELECTEDLANGUAGE = "selected-language";
103
+ export declare const SELECTEDLANGUAGEEXPIRY = "315569520000";
104
+ export declare const AUTH = "auth";
105
+ export declare const NAUTH = "nauth";
106
+ export declare const EXIT = "exit";
107
+ export declare const TIME = "time";
108
+ export declare const DEFAULT_ICON_ALT = "NOT AVAILABLE";
109
+ export declare const BANNER_WARN = "WARN";
110
+ export declare const BANNER_INFO = "INFO";
111
+ export declare const BANNER_TIPS = "TIPS";
112
+ export declare const BANNER_ERROR = "ERROR";
113
+ export declare const DEFAULT_LOCALE = "en";
114
+ export declare const ERROR_COLOR = "#C60047";
115
+ export declare const PROGRESS_ARRAY: string[];
116
+ export declare const PROGRESS_COLOR: string[];
117
+ export declare const GOLDEN_NUMBER = "GOLDEN_Number-500";
118
+ export declare const STANDARD_NUMBER = "STANDARD_Number-0";
119
+ export declare const FIVEGACCESSTYPE = "5G";
120
+ export declare const PREMIUM = "premium";
121
+ export declare const SPACE_ID = "113473";
122
+ export declare const AVAILABLE_TV_GROUPS: string[];
123
+ export declare const AVAILABLE_LANGUAGES: {
124
+ EN: string;
125
+ FR: string;
126
+ IT: string;
127
+ DE: string;
128
+ };
129
+ export declare const DISCOUNTKEYS: string[];
130
+ export declare const NUMBER = "number";
131
+ export declare const AUTHSTAMP = "auth-stamp";
132
+ export declare const BOTH = "both";
133
+ export declare const CHANNEL = "Fixnet";
134
+ export declare const CURRENCY = "CHF";
135
+ export declare const DEFAULTLANG = "en";
136
+ export declare const CHAT = "chat";
137
+ export declare const CHATSTARTED = "chatConversationStarted";
138
+ export declare const DATEREGEX: RegExp;
139
+ export declare const GETSTORYURL = "cdn/stories/";
140
+ export declare const PEGACASEIDLOCALKEY = "one-ecomm-pegacaseid";
141
+ export declare const PRE_TO_POST_PROMOTION_ID = "PreToPost";
142
+ export declare const SBODETAILS = "sbo-details";
@@ -0,0 +1,46 @@
1
+ /// <reference types="react" />
2
+ import { FalconButtonTypes, LinkTarget, Alignment } from '../../utils/data-source';
3
+ import { Asset, MultiLink } from '../../utils/storyblok-types';
4
+ export interface componentsInStory {
5
+ _uid: string;
6
+ plugin: string;
7
+ blockIdentifier: string;
8
+ }
9
+ export interface FalconButtonSchema {
10
+ buttonLabel?: string;
11
+ buttonIcon?: Asset;
12
+ buttonHoverIcon?: Asset;
13
+ buttonClickedIcon?: Asset;
14
+ buttonDisabledIcon?: Asset;
15
+ buttonLink: MultiLink;
16
+ linkTarget: LinkTarget;
17
+ buttonType: FalconButtonTypes;
18
+ iconPosition: string;
19
+ buttonAlignment: Alignment;
20
+ asset?: Asset;
21
+ id?: string;
22
+ bloks?: any;
23
+ minWidth: number;
24
+ enableScroll: boolean;
25
+ targetElement: componentsInStory;
26
+ blackFridayThemeIcon: Asset;
27
+ fromTallhero?: boolean;
28
+ }
29
+ interface AssetSchema {
30
+ content: FalconButtonSchema;
31
+ asset?: Asset | undefined;
32
+ phoneNumber?: string | undefined;
33
+ eventAction: string;
34
+ metadata: any | undefined;
35
+ updatedContent?: any;
36
+ enableLoginButton?: any;
37
+ setButtonClicked?: (buttonClicked: boolean) => void | undefined;
38
+ buttonClicked?: boolean;
39
+ onClickTrack?: (onClickTrack: boolean) => void | undefined;
40
+ isblacktheme?: boolean;
41
+ id?: string;
42
+ fromTallhero?: boolean;
43
+ enableDeviceCampaignBoolean?: any;
44
+ }
45
+ declare const FalconButton: (props: AssetSchema) => JSX.Element;
46
+ export default FalconButton;
@@ -0,0 +1,14 @@
1
+ import { Richtext } from 'storyblok-js-client';
2
+ import { Alignment, FalconColorsTypes } from '../../utils/data-source';
3
+ import { Asset, NativeColorPicker } from '../../utils/storyblok-types';
4
+ import { FC } from 'react';
5
+ export interface FalconDescriptionInterface {
6
+ text: Richtext;
7
+ textColor: FalconColorsTypes;
8
+ textColorPicker: NativeColorPicker;
9
+ icon: Asset;
10
+ textElementPosition: Alignment;
11
+ trackngLabel: string;
12
+ }
13
+ declare const FalconDescription: FC<any>;
14
+ export default FalconDescription;
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+ import { FalconColorsTypes, HeadingVariants } from '../../utils/data-source';
3
+ import { NativeColorPicker } from '../../utils/storyblok-types';
4
+ export interface FalconTitleInterface {
5
+ text: string;
6
+ headingStyle: HeadingVariants;
7
+ textColor: FalconColorsTypes;
8
+ textColorPicker: NativeColorPicker;
9
+ }
10
+ declare const FalconTitle: FC<any>;
11
+ export default FalconTitle;
@@ -0,0 +1,19 @@
1
+ import { FC } from 'react';
2
+ import { Asset, NativeColorPicker } from '../../utils/storyblok-types';
3
+ import { FalconTitleInterface } from '../FalconTitle/FalconTitle';
4
+ import { FalconDescriptionInterface } from '../FalconDescription/FalconDescription';
5
+ import { FalconButtonSchema } from '../FalconButton/falconButton';
6
+ import { Alignment, FalconGradientTypes } from '../../utils/data-source';
7
+ export interface InternetAndTvCardItemInterface {
8
+ asset: Asset;
9
+ textBlok: (FalconTitleInterface | FalconDescriptionInterface)[];
10
+ button: FalconButtonSchema[];
11
+ gradient: FalconGradientTypes;
12
+ subElementsAlignment: Alignment;
13
+ subElementsVertical: boolean;
14
+ defaultBackgroundColor: string;
15
+ backgroundColorPicker: NativeColorPicker;
16
+ notToDisplay: boolean;
17
+ }
18
+ declare const InternetAndTvCardItemBenefits: FC<any>;
19
+ export default InternetAndTvCardItemBenefits;
@@ -0,0 +1,27 @@
1
+ import { InternetAndTvCardItemInterface } from './InternetAndTvCardItemBenefits';
2
+ import { FC } from 'react';
3
+ import { FalconDescriptionInterface } from '../FalconDescription/FalconDescription';
4
+ import { CardDisplayVariants, FalconColorsTypes, FalconGradientTypes, HeadingVariants } from '../../utils/data-source';
5
+ import { NativeColorPicker } from '../../utils/storyblok-types';
6
+ import { FalconButtonSchema } from '../FalconButton/falconButton';
7
+ import { SpacerSchema } from '../Spacer/spacer';
8
+ export interface InternetAndTvCardSchema {
9
+ title: string;
10
+ headlineVariants: HeadingVariants;
11
+ Cards: InternetAndTvCardItemInterface[];
12
+ backgroundColor?: NativeColorPicker;
13
+ headlineColorPicker?: NativeColorPicker;
14
+ headlineColor: FalconColorsTypes;
15
+ variant: CardDisplayVariants;
16
+ overlineText: string;
17
+ description: FalconDescriptionInterface[];
18
+ cardsInRow: string;
19
+ gradientBackground: FalconGradientTypes;
20
+ button: FalconButtonSchema[];
21
+ topSpace: SpacerSchema[];
22
+ bottomSpace: SpacerSchema[];
23
+ id?: string;
24
+ isMobSlider?: boolean;
25
+ }
26
+ declare const InternetAndTvCardsBenefits: FC<any>;
27
+ export default InternetAndTvCardsBenefits;
@@ -0,0 +1 @@
1
+ export { default } from './InternetAndTvCardsBenefits';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface RowInterface {
3
+ children: JSX.Element;
4
+ }
5
+ declare const Row: ({ children }: RowInterface) => JSX.Element;
6
+ export default Row;
@@ -20,7 +20,6 @@ export interface TimerSchema {
20
20
  }
21
21
  interface Timer {
22
22
  content: TimerSchema;
23
- setTimerExpired?: any;
24
23
  }
25
24
  export interface timeleft {
26
25
  days: string;
@@ -28,5 +27,5 @@ export interface timeleft {
28
27
  mins: string;
29
28
  sec: string;
30
29
  }
31
- declare const RibbonComponentTimer: ({ content, setTimerExpired }: Timer) => JSX.Element;
30
+ declare const RibbonComponentTimer: ({ content }: Timer) => JSX.Element;
32
31
  export default RibbonComponentTimer;
@@ -1,8 +1,3 @@
1
1
  import React from 'react';
2
- export interface richText {
3
- content: Array<object>;
4
- isIFrame?: boolean;
5
- callBack?: (e: any) => void | undefined;
6
- }
7
- declare const RichTextComponent: React.FunctionComponent<richText>;
8
- export default RichTextComponent;
2
+ declare const RichText: React.FunctionComponent<any>;
3
+ export default RichText;