@sunrise-upc/sales-static-components 2.0.5 → 3.0.0

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 (96) hide show
  1. package/dist/cjs/index.js +2 -20
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/index.js +2 -20
  4. package/dist/esm/index.js.map +1 -1
  5. package/dist/index.d.ts +124 -64
  6. package/package.json +31 -33
  7. package/dist/cjs/components/ButtonGroup/ButtonGroup.d.ts +0 -4
  8. package/dist/cjs/components/ButtonGroup/index.d.ts +0 -1
  9. package/dist/cjs/components/Constants.d.ts +0 -142
  10. package/dist/cjs/components/FalconButton/falconButton.d.ts +0 -46
  11. package/dist/cjs/components/FalconButtonV2/FalconButtonV2.d.ts +0 -3
  12. package/dist/cjs/components/FalconDescription/FalconDescription.d.ts +0 -14
  13. package/dist/cjs/components/FalconTitle/FalconTitle.d.ts +0 -11
  14. package/dist/cjs/components/ImageComponent/ImageComponent.d.ts +0 -3
  15. package/dist/cjs/components/ImageComponent/index.d.ts +0 -1
  16. package/dist/cjs/components/ImageWithText/ImageWithText.d.ts +0 -3
  17. package/dist/cjs/components/ImageWithText/index.d.ts +0 -1
  18. package/dist/cjs/components/ImageWithTextWrapper/ImageWithTextWrapper.d.ts +0 -3
  19. package/dist/cjs/components/ImageWithTextWrapper/index.d.ts +0 -1
  20. package/dist/cjs/components/InternetAndTvCardsBenefits/DetailsModal/DetailsModal.d.ts +0 -3
  21. package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +0 -19
  22. package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +0 -27
  23. package/dist/cjs/components/InternetAndTvCardsBenefits/index.d.ts +0 -1
  24. package/dist/cjs/components/ResponsiveRow/row.d.ts +0 -6
  25. package/dist/cjs/components/RibbonComponent/RibbonComponent.d.ts +0 -5
  26. package/dist/cjs/components/RibbonComponent/RibbonComponent.types.d.ts +0 -45
  27. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentExpiredTimer.d.ts +0 -19
  28. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +0 -32
  29. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.types.d.ts +0 -5
  30. package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonExpiredTimerRedefined.d.ts +0 -18
  31. package/dist/cjs/components/RibbonComponent/index.d.ts +0 -1
  32. package/dist/cjs/components/RibbonComponent/utils.d.ts +0 -5
  33. package/dist/cjs/components/RichText/RichText.types.d.ts +0 -8
  34. package/dist/cjs/components/RichText/richText.d.ts +0 -3
  35. package/dist/cjs/components/Spacer/spacer.d.ts +0 -11
  36. package/dist/cjs/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.d.ts +0 -10
  37. package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridComponent.d.ts +0 -5
  38. package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridComponent.types.d.ts +0 -5
  39. package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridRedefined.d.ts +0 -4
  40. package/dist/cjs/components/StageTeaserComponent/StageTeaserComponent.d.ts +0 -3
  41. package/dist/cjs/components/StageTeaserComponent/index.d.ts +0 -1
  42. package/dist/cjs/components/TextComponent/TextComponent.d.ts +0 -3
  43. package/dist/cjs/components/TextComponent/index.d.ts +0 -1
  44. package/dist/cjs/components/index.d.ts +0 -8
  45. package/dist/cjs/index.d.ts +0 -1
  46. package/dist/cjs/utils/AnalyticUtils.d.ts +0 -1
  47. package/dist/cjs/utils/AnalyticsConstants.d.ts +0 -241
  48. package/dist/cjs/utils/StyleUtils.d.ts +0 -7
  49. package/dist/cjs/utils/data-source.d.ts +0 -17
  50. package/dist/cjs/utils/global.d.ts +0 -7
  51. package/dist/cjs/utils/storyblok-types.d.ts +0 -97
  52. package/dist/esm/components/ButtonGroup/ButtonGroup.d.ts +0 -4
  53. package/dist/esm/components/ButtonGroup/index.d.ts +0 -1
  54. package/dist/esm/components/Constants.d.ts +0 -142
  55. package/dist/esm/components/FalconButton/falconButton.d.ts +0 -46
  56. package/dist/esm/components/FalconButtonV2/FalconButtonV2.d.ts +0 -3
  57. package/dist/esm/components/FalconDescription/FalconDescription.d.ts +0 -14
  58. package/dist/esm/components/FalconTitle/FalconTitle.d.ts +0 -11
  59. package/dist/esm/components/ImageComponent/ImageComponent.d.ts +0 -3
  60. package/dist/esm/components/ImageComponent/index.d.ts +0 -1
  61. package/dist/esm/components/ImageWithText/ImageWithText.d.ts +0 -3
  62. package/dist/esm/components/ImageWithText/index.d.ts +0 -1
  63. package/dist/esm/components/ImageWithTextWrapper/ImageWithTextWrapper.d.ts +0 -3
  64. package/dist/esm/components/ImageWithTextWrapper/index.d.ts +0 -1
  65. package/dist/esm/components/InternetAndTvCardsBenefits/DetailsModal/DetailsModal.d.ts +0 -3
  66. package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +0 -19
  67. package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +0 -27
  68. package/dist/esm/components/InternetAndTvCardsBenefits/index.d.ts +0 -1
  69. package/dist/esm/components/ResponsiveRow/row.d.ts +0 -6
  70. package/dist/esm/components/RibbonComponent/RibbonComponent.d.ts +0 -5
  71. package/dist/esm/components/RibbonComponent/RibbonComponent.types.d.ts +0 -45
  72. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentExpiredTimer.d.ts +0 -19
  73. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +0 -32
  74. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.types.d.ts +0 -5
  75. package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonExpiredTimerRedefined.d.ts +0 -18
  76. package/dist/esm/components/RibbonComponent/index.d.ts +0 -1
  77. package/dist/esm/components/RibbonComponent/utils.d.ts +0 -5
  78. package/dist/esm/components/RichText/RichText.types.d.ts +0 -8
  79. package/dist/esm/components/RichText/richText.d.ts +0 -3
  80. package/dist/esm/components/Spacer/spacer.d.ts +0 -11
  81. package/dist/esm/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.d.ts +0 -10
  82. package/dist/esm/components/StageTeaserComponent/SingleGrid/SingleGridComponent.d.ts +0 -5
  83. package/dist/esm/components/StageTeaserComponent/SingleGrid/SingleGridComponent.types.d.ts +0 -5
  84. package/dist/esm/components/StageTeaserComponent/SingleGrid/SingleGridRedefined.d.ts +0 -4
  85. package/dist/esm/components/StageTeaserComponent/StageTeaserComponent.d.ts +0 -3
  86. package/dist/esm/components/StageTeaserComponent/index.d.ts +0 -1
  87. package/dist/esm/components/TextComponent/TextComponent.d.ts +0 -3
  88. package/dist/esm/components/TextComponent/index.d.ts +0 -1
  89. package/dist/esm/components/index.d.ts +0 -8
  90. package/dist/esm/index.d.ts +0 -1
  91. package/dist/esm/utils/AnalyticUtils.d.ts +0 -1
  92. package/dist/esm/utils/AnalyticsConstants.d.ts +0 -241
  93. package/dist/esm/utils/StyleUtils.d.ts +0 -7
  94. package/dist/esm/utils/data-source.d.ts +0 -17
  95. package/dist/esm/utils/global.d.ts +0 -7
  96. package/dist/esm/utils/storyblok-types.d.ts +0 -97
package/dist/index.d.ts CHANGED
@@ -1,72 +1,71 @@
1
- /// <reference types="react" />
2
1
  import { FC } from 'react';
3
2
 
4
- declare interface NativeColorPicker {
5
- color: string;
6
- plugin: string;
7
- _uid: string;
3
+ declare interface NativeColorPicker {
4
+ color: string;
5
+ plugin: string;
6
+ _uid: string;
8
7
  }
9
8
 
10
- interface TimerSchema {
11
- startTime: string;
12
- endTime: string;
13
- colorChangeTime?: string;
14
- expiryLabel: string;
15
- timerColor?: string;
16
- backgroundColor: string;
17
- timerAlignment: string;
18
- dayLabel: string;
19
- hourLabel: string;
20
- minuteLabel: string;
21
- secondLabel: string;
22
- mainHeading: string;
23
- expiryLabelColor: NativeColorPicker;
24
- enableCounter: boolean;
25
- isDarkMode?: boolean;
9
+ interface TimerSchema {
10
+ startTime: string;
11
+ endTime: string;
12
+ colorChangeTime?: string;
13
+ expiryLabel: string;
14
+ timerColor?: string;
15
+ backgroundColor: string;
16
+ timerAlignment: string;
17
+ dayLabel: string;
18
+ hourLabel: string;
19
+ minuteLabel: string;
20
+ secondLabel: string;
21
+ mainHeading: string;
22
+ expiryLabelColor: NativeColorPicker;
23
+ enableCounter: boolean;
24
+ isDarkMode?: boolean;
26
25
  }
27
26
 
28
- declare interface RibbonComponentInterface {
29
- content: RibbonComponentSchema;
30
- }
31
- interface RibbonComponentSchema {
32
- _uid: string;
33
- backgroundColor: string;
34
- buttonIcon: Asset;
35
- buttonText: string;
36
- buttonType: string;
37
- closeIcon: Asset;
38
- darkModeCloseIcon: Asset;
39
- deviceLimit: string;
40
- description: Array<object>;
41
- enableDarkMode: boolean;
42
- target: string;
43
- hotlineNumber: string;
44
- icon: Asset;
45
- darkModeIcon: Asset;
46
- iconAlign: string;
47
- isCloseIcon: boolean;
48
- link: MultiLink;
49
- teaserTimer: TimerSchema[];
50
- targetCustomer: string;
51
- bannerPromotionName: string;
52
- bannerLocation: string;
53
- }
54
- interface MultiLink {
55
- id: string;
56
- url: string;
57
- linktype: 'url' | 'story';
58
- fieldtype: 'multilink';
59
- cached_url: string;
60
- }
61
- interface Asset {
62
- id: number;
63
- alt?: string;
64
- name: string;
65
- focus?: string;
66
- title?: string;
67
- filename: string;
68
- copyright?: string;
69
- fieldtype: 'asset';
27
+ declare interface RibbonComponentInterface {
28
+ content: RibbonComponentSchema;
29
+ }
30
+ interface RibbonComponentSchema {
31
+ _uid: string;
32
+ backgroundColor: string;
33
+ buttonIcon: Asset;
34
+ buttonText: string;
35
+ buttonType: string;
36
+ closeIcon: Asset;
37
+ darkModeCloseIcon: Asset;
38
+ deviceLimit: string;
39
+ description: Array<object>;
40
+ enableDarkMode: boolean;
41
+ target: string;
42
+ hotlineNumber: string;
43
+ icon: Asset;
44
+ darkModeIcon: Asset;
45
+ iconAlign: string;
46
+ isCloseIcon: boolean;
47
+ link: MultiLink;
48
+ teaserTimer: TimerSchema[];
49
+ targetCustomer: string;
50
+ bannerPromotionName: string;
51
+ bannerLocation: string;
52
+ }
53
+ interface MultiLink {
54
+ id: string;
55
+ url: string;
56
+ linktype: 'url' | 'story';
57
+ fieldtype: 'multilink';
58
+ cached_url: string;
59
+ }
60
+ interface Asset {
61
+ id: number;
62
+ alt?: string;
63
+ name: string;
64
+ focus?: string;
65
+ title?: string;
66
+ filename: string;
67
+ copyright?: string;
68
+ fieldtype: 'asset';
70
69
  }
71
70
 
72
71
  declare const RibbonComponent: FC<RibbonComponentInterface>;
@@ -85,4 +84,65 @@ declare const ImageWithTextWrapper: FC<any>;
85
84
 
86
85
  declare const InternetAndTvCardsBenefits: FC<any>;
87
86
 
88
- export { ButtonGroup, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, RibbonComponent, StageTeaserComponent, TextComponent };
87
+ interface LineCheckProps {
88
+ checkServiceText?: string;
89
+ showModemTitle: string;
90
+ modemTitle: string;
91
+ component: 'linecheck';
92
+ shouldAutomateLineCheck: boolean;
93
+ regexp: string;
94
+ uploadText: string;
95
+ downloadText: string;
96
+ title: string;
97
+ placeholder: string;
98
+ buttonvalue: string;
99
+ errorMsg: string;
100
+ noAddressFoundErrorMsg: string;
101
+ changeText?: string;
102
+ requiredFieldText: string;
103
+ changeTextMob?: string;
104
+ linecheckIcons?: any;
105
+ speedTooltip: string;
106
+ dataText: string;
107
+ speedUpgradeToolTip: string;
108
+ upgradeText: string;
109
+ reference?: any;
110
+ maximumSpeedText?: string;
111
+ }
112
+ interface ShippingAddressProps {
113
+ address: string;
114
+ address2: string;
115
+ building: string;
116
+ city: string;
117
+ country: string;
118
+ countryCode: string;
119
+ floor: string;
120
+ room: string;
121
+ zipcode: string;
122
+ }
123
+ interface LineCheckSchema {
124
+ content: LineCheckProps;
125
+ metadata?: any;
126
+ shippingAddress?: ShippingAddressProps;
127
+ onSuccess: () => void;
128
+ onModemDetailsClick?: () => any;
129
+ fromLinetable?: boolean;
130
+ }
131
+
132
+ declare const LineCheckV2: FC<LineCheckSchema>;
133
+
134
+ interface LinecheckBasicPropConfigSchema {
135
+ baseURL: string | '';
136
+ }
137
+ declare class LinecheckBasicPropConfig {
138
+ private static instance;
139
+ config: LinecheckBasicPropConfigSchema;
140
+ private constructor();
141
+ getConfig: () => LinecheckBasicPropConfigSchema;
142
+ getBaseUrl: () => string;
143
+ static getInstance: () => LinecheckBasicPropConfig;
144
+ static create: (p_config: LinecheckBasicPropConfigSchema) => void;
145
+ }
146
+
147
+ export { ButtonGroup, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, LineCheckV2, LinecheckBasicPropConfig, RibbonComponent, StageTeaserComponent, TextComponent };
148
+ export type { LinecheckBasicPropConfigSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/sales-static-components",
3
- "version": "2.0.5",
3
+ "version": "3.0.0",
4
4
  "description": "Static Reusable Components Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -18,7 +18,9 @@
18
18
  "prepatch": "npm --no-git-tag-version version prepatch",
19
19
  "release:major": "npm version major && npm publish --access public --tag latest",
20
20
  "release:minor": "npm version minor && npm publish --access public --tag latest",
21
- "release:patch": "npm version patch && npm publish --access public --tag latest"
21
+ "release:patch": "npm version patch && npm publish --access public --tag latest",
22
+ "release:prepatch": "npm version prepatch --preid=beta && npm publish --access public --tag latest",
23
+ "release:prerelease": "npm version prerelease --preid=beta && npm publish --access public --tag latest"
22
24
  },
23
25
  "repository": {
24
26
  "type": "git",
@@ -31,42 +33,38 @@
31
33
  },
32
34
  "homepage": "https://bitbucket.org/sunrisedigitalbusiness/sunrise-ch-b2c-sales-static-components#readme",
33
35
  "devDependencies": {
34
- "@rollup/plugin-commonjs": "^24.0.0",
35
- "@rollup/plugin-json": "^6.0.0",
36
- "@rollup/plugin-node-resolve": "^15.0.1",
37
- "@rollup/plugin-terser": "^0.2.1",
38
- "@rollup/plugin-typescript": "^10.0.1",
39
- "@sunrise-upc/ajax-lib": "1.0.1",
40
- "@types/node": "^16.18.11",
41
- "@types/react": "^18.0.26",
42
- "@types/react-dom": "^18.0.10",
43
- "postcss": "8.4.21",
44
- "react": "^17.0.2",
45
- "react-dom": "^17.0.2",
46
- "rimraf": "^3.0.2",
47
- "rollup": "^3.9.1",
48
- "rollup-plugin-dts": "^5.1.0",
36
+ "@rollup/plugin-commonjs": "^28.0.6",
37
+ "@rollup/plugin-json": "^6.1.0",
38
+ "@rollup/plugin-node-resolve": "^16.0.1",
39
+ "@rollup/plugin-terser": "^0.4.4",
40
+ "@rollup/plugin-typescript": "^12.1.2",
41
+ "@types/js-cookie": "^3.0.6",
42
+ "@types/node": "^24.6.0",
43
+ "@types/react": "^19.1.13",
44
+ "@types/react-dom": "^19.1.9",
45
+ "postcss": "^8.5.3",
46
+ "rimraf": "^6.0.1",
47
+ "rollup": "^4.52.0",
48
+ "rollup-plugin-dts": "^6.2.3",
49
49
  "rollup-plugin-peer-deps-external": "^2.2.4",
50
50
  "rollup-plugin-postcss": "^4.0.2",
51
- "rollup-plugin-scss": "^3.0.0",
52
- "sass": "^1.57.1",
53
- "semver": "^7.3.8",
54
- "tslib": "^2.4.1",
55
- "typescript": "^4.9.4",
56
- "storyblok-react": "0.1.2",
57
- "storyblok-js-client": "^4.1.3",
58
- "react-bootstrap": "2.0.0-beta.4",
59
- "@types/js-cookie": "^3.0.2",
60
- "cookies-next": "^2.1.1"
51
+ "sass": "^1.93.0",
52
+ "tslib": "^2.8.1",
53
+ "typescript": "^5.9.2"
61
54
  },
62
55
  "peerDependencies": {
63
- "cookies-next": "^2.1.1",
64
- "react": "^17.0.2",
65
- "react-dom": "^17.0.2",
66
- "storyblok-rich-text-react-renderer-ts": "^3.1.3"
56
+ "react": "^19.1.0",
57
+ "react-dom": "^19.1.0",
58
+ "react-bootstrap": "^2.10.10",
59
+ "storyblok-rich-text-react-renderer": "^3.0.1"
67
60
  },
68
61
  "dependencies": {
69
- "react-multi-carousel": "^2.8.4",
70
- "js-cookie": "^3.0.1"
62
+ "@sunrise-upc/ajax-lib": "^3.0.0",
63
+ "axios": "^1.12.2",
64
+ "cookies-next": "^6.1.0",
65
+ "js-cookie": "^3.0.5",
66
+ "react-loading-skeleton": "^3.5.0",
67
+ "react-multi-carousel": "^2.8.5",
68
+ "uuid": "^13.0.0"
71
69
  }
72
70
  }
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import "./ButtonGroup.css";
3
- declare const ButtonGroup: FC<any>;
4
- export default ButtonGroup;
@@ -1 +0,0 @@
1
- export { default } from './ButtonGroup';
@@ -1,142 +0,0 @@
1
- export declare const CENTER = "center";
2
- export declare const LEFT = "left";
3
- export declare const RIGHT = "right";
4
- export declare const TRANSPARENT = "transparent";
5
- export declare const ZEROES = "00";
6
- export declare const PRIMARYCOLORS = "#da291c";
7
- export declare const FALCONBUTTONCLICKED = "clicked";
8
- export declare const AFTER = "after";
9
- export declare const BEFORE = "before";
10
- export declare const LANG = "lang";
11
- export declare const COLORWHITE = "#ffffff";
12
- export declare const H1 = "h1";
13
- export declare const H2 = "h2";
14
- export declare const H3 = "h3";
15
- export declare const H4 = "h4";
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";
@@ -1,46 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const FalconButtonV2: ({ content, className, icon, iconClass, isLoading, wafIdentifier, ...restProps }: any) => JSX.Element;
3
- export default FalconButtonV2;
@@ -1,14 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const ImageComponent: FC<any>;
3
- export default ImageComponent;
@@ -1 +0,0 @@
1
- export { default } from './ImageComponent';
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ImageWithText: FC<any>;
3
- export default ImageWithText;
@@ -1 +0,0 @@
1
- export { default } from './ImageWithText';
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const ImageWithTextWrapper: FC<any>;
3
- export default ImageWithTextWrapper;
@@ -1 +0,0 @@
1
- export { default } from './ImageWithTextWrapper';
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const DetailsModal: ({ content, isModalOpen, setIsModalOpen, }: any) => JSX.Element;
3
- export default DetailsModal;
@@ -1,19 +0,0 @@
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;
@@ -1,27 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from './InternetAndTvCardsBenefits';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- interface RowInterface {
3
- children: JSX.Element;
4
- }
5
- declare const Row: ({ children }: RowInterface) => JSX.Element;
6
- export default Row;
@@ -1,5 +0,0 @@
1
- import { FC } from "react";
2
- import "./RibbonComponentStyles.css";
3
- import { RibbonComponentInterface } from "./RibbonComponent.types";
4
- declare const RibbonComponent: FC<RibbonComponentInterface>;
5
- export default RibbonComponent;
@@ -1,45 +0,0 @@
1
- import { TimerSchema } from "./RibbonComponentTimer/RibbonComponentTimer";
2
- export declare interface RibbonComponentInterface {
3
- content: RibbonComponentSchema;
4
- }
5
- interface RibbonComponentSchema {
6
- _uid: string;
7
- backgroundColor: string;
8
- buttonIcon: Asset;
9
- buttonText: string;
10
- buttonType: string;
11
- closeIcon: Asset;
12
- darkModeCloseIcon: Asset;
13
- deviceLimit: string;
14
- description: Array<object>;
15
- enableDarkMode: boolean;
16
- target: string;
17
- hotlineNumber: string;
18
- icon: Asset;
19
- darkModeIcon: Asset;
20
- iconAlign: string;
21
- isCloseIcon: boolean;
22
- link: MultiLink;
23
- teaserTimer: TimerSchema[];
24
- targetCustomer: string;
25
- bannerPromotionName: string;
26
- bannerLocation: string;
27
- }
28
- interface MultiLink {
29
- id: string;
30
- url: string;
31
- linktype: 'url' | 'story';
32
- fieldtype: 'multilink';
33
- cached_url: string;
34
- }
35
- interface Asset {
36
- id: number;
37
- alt?: string;
38
- name: string;
39
- focus?: string;
40
- title?: string;
41
- filename: string;
42
- copyright?: string;
43
- fieldtype: 'asset';
44
- }
45
- export {};