1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.MINIMAL_VIEWPORTS = exports.INITIAL_VIEWPORTS = exports.DEFAULT_VIEWPORT = void 0;
|
7 | var INITIAL_VIEWPORTS = {
|
8 | iphone5: {
|
9 | name: 'iPhone 5',
|
10 | styles: {
|
11 | height: '568px',
|
12 | width: '320px'
|
13 | },
|
14 | type: 'mobile'
|
15 | },
|
16 | iphone6: {
|
17 | name: 'iPhone 6',
|
18 | styles: {
|
19 | height: '667px',
|
20 | width: '375px'
|
21 | },
|
22 | type: 'mobile'
|
23 | },
|
24 | iphone6p: {
|
25 | name: 'iPhone 6 Plus',
|
26 | styles: {
|
27 | height: '736px',
|
28 | width: '414px'
|
29 | },
|
30 | type: 'mobile'
|
31 | },
|
32 | iphone8p: {
|
33 | name: 'iPhone 8 Plus',
|
34 | styles: {
|
35 | height: '736px',
|
36 | width: '414px'
|
37 | },
|
38 | type: 'mobile'
|
39 | },
|
40 | iphonex: {
|
41 | name: 'iPhone X',
|
42 | styles: {
|
43 | height: '812px',
|
44 | width: '375px'
|
45 | },
|
46 | type: 'mobile'
|
47 | },
|
48 | iphonexr: {
|
49 | name: 'iPhone XR',
|
50 | styles: {
|
51 | height: '896px',
|
52 | width: '414px'
|
53 | },
|
54 | type: 'mobile'
|
55 | },
|
56 | iphonexsmax: {
|
57 | name: 'iPhone XS Max',
|
58 | styles: {
|
59 | height: '896px',
|
60 | width: '414px'
|
61 | },
|
62 | type: 'mobile'
|
63 | },
|
64 | iphonese2: {
|
65 | name: 'iPhone SE (2nd generation)',
|
66 | styles: {
|
67 | height: '667px',
|
68 | width: '375px'
|
69 | },
|
70 | type: 'mobile'
|
71 | },
|
72 | iphone12mini: {
|
73 | name: 'iPhone 12 mini',
|
74 | styles: {
|
75 | height: '812px',
|
76 | width: '375px'
|
77 | },
|
78 | type: 'mobile'
|
79 | },
|
80 | iphone12: {
|
81 | name: 'iPhone 12',
|
82 | styles: {
|
83 | height: '844px',
|
84 | width: '390px'
|
85 | },
|
86 | type: 'mobile'
|
87 | },
|
88 | iphone12promax: {
|
89 | name: 'iPhone 12 Pro Max',
|
90 | styles: {
|
91 | height: '926px',
|
92 | width: '428px'
|
93 | },
|
94 | type: 'mobile'
|
95 | },
|
96 | ipad: {
|
97 | name: 'iPad',
|
98 | styles: {
|
99 | height: '1024px',
|
100 | width: '768px'
|
101 | },
|
102 | type: 'tablet'
|
103 | },
|
104 | ipad10p: {
|
105 | name: 'iPad Pro 10.5-in',
|
106 | styles: {
|
107 | height: '1112px',
|
108 | width: '834px'
|
109 | },
|
110 | type: 'tablet'
|
111 | },
|
112 | ipad12p: {
|
113 | name: 'iPad Pro 12.9-in',
|
114 | styles: {
|
115 | height: '1366px',
|
116 | width: '1024px'
|
117 | },
|
118 | type: 'tablet'
|
119 | },
|
120 | galaxys5: {
|
121 | name: 'Galaxy S5',
|
122 | styles: {
|
123 | height: '640px',
|
124 | width: '360px'
|
125 | },
|
126 | type: 'mobile'
|
127 | },
|
128 | galaxys9: {
|
129 | name: 'Galaxy S9',
|
130 | styles: {
|
131 | height: '740px',
|
132 | width: '360px'
|
133 | },
|
134 | type: 'mobile'
|
135 | },
|
136 | nexus5x: {
|
137 | name: 'Nexus 5X',
|
138 | styles: {
|
139 | height: '660px',
|
140 | width: '412px'
|
141 | },
|
142 | type: 'mobile'
|
143 | },
|
144 | nexus6p: {
|
145 | name: 'Nexus 6P',
|
146 | styles: {
|
147 | height: '732px',
|
148 | width: '412px'
|
149 | },
|
150 | type: 'mobile'
|
151 | },
|
152 | pixel: {
|
153 | name: 'Pixel',
|
154 | styles: {
|
155 | height: '960px',
|
156 | width: '540px'
|
157 | },
|
158 | type: 'mobile'
|
159 | },
|
160 | pixelxl: {
|
161 | name: 'Pixel XL',
|
162 | styles: {
|
163 | height: '1280px',
|
164 | width: '720px'
|
165 | },
|
166 | type: 'mobile'
|
167 | }
|
168 | };
|
169 | exports.INITIAL_VIEWPORTS = INITIAL_VIEWPORTS;
|
170 | var DEFAULT_VIEWPORT = 'responsive';
|
171 | exports.DEFAULT_VIEWPORT = DEFAULT_VIEWPORT;
|
172 | var MINIMAL_VIEWPORTS = {
|
173 | mobile1: {
|
174 | name: 'Small mobile',
|
175 | styles: {
|
176 | height: '568px',
|
177 | width: '320px'
|
178 | },
|
179 | type: 'mobile'
|
180 | },
|
181 | mobile2: {
|
182 | name: 'Large mobile',
|
183 | styles: {
|
184 | height: '896px',
|
185 | width: '414px'
|
186 | },
|
187 | type: 'mobile'
|
188 | },
|
189 | tablet: {
|
190 | name: 'Tablet',
|
191 | styles: {
|
192 | height: '1112px',
|
193 | width: '834px'
|
194 | },
|
195 | type: 'tablet'
|
196 | }
|
197 | };
|
198 | exports.MINIMAL_VIEWPORTS = MINIMAL_VIEWPORTS; |
\ | No newline at end of file |