@teleporthq/teleport-component-generator-react 0.38.0-alpha.0 → 0.38.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.
@@ -26,7 +26,7 @@ describe('React Component Generator', () => {
26
26
  expect(result.files).toBeDefined()
27
27
  expect(Array.isArray(result.files)).toBeTruthy()
28
28
  expect(result.files.length).toBeTruthy()
29
- expect(jsFile.content).toContain('import React')
29
+ expect(jsFile?.content).toContain('import React')
30
30
  expect(result.dependencies).toBeDefined()
31
31
  })
32
32
  })
@@ -42,7 +42,7 @@ describe('React Component Generator', () => {
42
42
 
43
43
  expect(jsFile).toBeDefined()
44
44
  expect(result.files.length).toBe(1)
45
- expect(jsFile.content).toContain('import React')
45
+ expect(jsFile?.content).toContain('import React')
46
46
  expect(result.dependencies).toBeDefined()
47
47
  })
48
48
  })
@@ -58,7 +58,7 @@ describe('React Component Generator', () => {
58
58
 
59
59
  expect(jsFile).toBeDefined()
60
60
  expect(result.files.length).toBe(1)
61
- expect(jsFile.content).toContain('import React')
61
+ expect(jsFile?.content).toContain('import React')
62
62
  expect(result.dependencies).toBeDefined()
63
63
  })
64
64
  })
@@ -30,7 +30,7 @@ describe('Generates media, pseudo and normal styles', () => {
30
30
  }
31
31
  const uidl = component(
32
32
  'MyComponent',
33
- elementNode('container', null, [staticNode('Hello !!')], null, style, null, referencedStyles)
33
+ elementNode('container', {}, [staticNode('Hello !!')], null, style, null, referencedStyles)
34
34
  )
35
35
 
36
36
  it('Generates styles using CSS Modules', async () => {
@@ -40,12 +40,12 @@ describe('Generates media, pseudo and normal styles', () => {
40
40
  const jsFile = findFileByType(files, FileType.JS)
41
41
 
42
42
  expect(cssFile).toBeDefined()
43
- expect(cssFile.content).toContain('@media(max-width: 991px)')
44
- expect(cssFile.content).toContain('width: 100px')
43
+ expect(cssFile?.content).toContain('@media(max-width: 991px)')
44
+ expect(cssFile?.content).toContain('width: 100px')
45
45
 
46
46
  expect(jsFile).toBeDefined()
47
- expect(jsFile.content).toContain(`className={styles['container']}`)
48
- expect(jsFile.content).toContain(`import styles from './my-component.module.css`)
47
+ expect(jsFile?.content).toContain(`className={styles['my-component-container']}`)
48
+ expect(jsFile?.content).toContain(`import styles from './my-component.module.css`)
49
49
  })
50
50
 
51
51
  it('Generates styles using CSS', async () => {
@@ -57,12 +57,12 @@ describe('Generates media, pseudo and normal styles', () => {
57
57
  const jsFile = findFileByType(files, FileType.JS)
58
58
 
59
59
  expect(cssFile).toBeDefined()
60
- expect(cssFile.content).toContain('@media(max-width: 991px)')
61
- expect(cssFile.content).toContain('width: 100px')
60
+ expect(cssFile?.content).toContain('@media(max-width: 991px)')
61
+ expect(cssFile?.content).toContain('width: 100px')
62
62
 
63
63
  expect(jsFile).toBeDefined()
64
- expect(jsFile.content).toContain(`className="my-component-container"`)
65
- expect(jsFile.content).toContain(`import './my-component.css`)
64
+ expect(jsFile?.content).toContain(`className="my-component-container"`)
65
+ expect(jsFile?.content).toContain(`import './my-component.css`)
66
66
  })
67
67
 
68
68
  it('Generates styles using Styled-Components', async () => {
@@ -76,10 +76,10 @@ describe('Generates media, pseudo and normal styles', () => {
76
76
 
77
77
  expect(cssFile).not.toBeDefined()
78
78
  expect(jsFile).toBeDefined()
79
- expect(jsFile.content).toContain(`<Container>Hello !!</Container>`)
80
- expect(jsFile.content).toContain(`const Container = styled('div')`)
81
- expect(jsFile.content).toContain(`width: '100px'`)
82
- expect(jsFile.content).toContain(`display: 'none'`)
79
+ expect(jsFile?.content).toContain(`<MyComponentContainer>Hello !!</MyComponentContainer>`)
80
+ expect(jsFile?.content).toContain(`const MyComponentContainer = styled('div')`)
81
+ expect(jsFile?.content).toContain(`width: '100px'`)
82
+ expect(jsFile?.content).toContain(`display: 'none'`)
83
83
  })
84
84
 
85
85
  it('Generates styles using ReactJSS', async () => {
@@ -93,11 +93,11 @@ describe('Generates media, pseudo and normal styles', () => {
93
93
  expect(cssFile).not.toBeDefined()
94
94
  expect(jsFile).toBeDefined()
95
95
 
96
- expect(jsFile.content).toContain(`const classes = useStyles()`)
97
- expect(jsFile.content).toContain(`className={classes['container']}`)
98
- expect(jsFile.content).toContain(`container: {`)
99
- expect(jsFile.content).toContain(`width: '100px'`)
100
- expect(jsFile.content).toContain(`display: 'none'`)
96
+ expect(jsFile?.content).toContain(`const classes = useStyles()`)
97
+ expect(jsFile?.content).toContain(`className={classes['myComponentContainer']}`)
98
+ expect(jsFile?.content).toContain(`myComponentContainer: {`)
99
+ expect(jsFile?.content).toContain(`width: '100px'`)
100
+ expect(jsFile?.content).toContain(`display: 'none'`)
101
101
  })
102
102
 
103
103
  it('Generates styles using StyledJSX', async () => {
@@ -110,10 +110,10 @@ describe('Generates media, pseudo and normal styles', () => {
110
110
 
111
111
  expect(cssFile).not.toBeDefined()
112
112
  expect(jsFile).toBeDefined()
113
- expect(jsFile.content).toContain(`className`)
114
- expect(jsFile.content).toContain(`container {`)
115
- expect(jsFile.content).toContain(`width: 100px`)
116
- expect(jsFile.content).toContain(`display: none`)
113
+ expect(jsFile?.content).toContain(`className`)
114
+ expect(jsFile?.content).toContain(`container {`)
115
+ expect(jsFile?.content).toContain(`width: 100px`)
116
+ expect(jsFile?.content).toContain(`display: none`)
117
117
  })
118
118
  })
119
119
 
@@ -143,12 +143,12 @@ describe('Add referenced styles even when direct styles are not present on node'
143
143
  const jsFile = findFileByType(files, FileType.JS)
144
144
 
145
145
  expect(cssFile).toBeDefined()
146
- expect(cssFile.content).toContain('@media(max-width: 991px)')
147
- expect(cssFile.content).not.toContain('width: 100px')
146
+ expect(cssFile?.content).toContain('@media(max-width: 991px)')
147
+ expect(cssFile?.content).not.toContain('width: 100px')
148
148
 
149
149
  expect(jsFile).toBeDefined()
150
- expect(jsFile.content).toContain(`className={styles['container']}`)
151
- expect(jsFile.content).toContain(`import styles from './my-component.module.css`)
150
+ expect(jsFile?.content).toContain(`className={styles['my-component-container']}`)
151
+ expect(jsFile?.content).toContain(`import styles from './my-component.module.css`)
152
152
  })
153
153
 
154
154
  it('Generates styles using CSS', async () => {
@@ -160,12 +160,12 @@ describe('Add referenced styles even when direct styles are not present on node'
160
160
  const jsFile = findFileByType(files, FileType.JS)
161
161
 
162
162
  expect(cssFile).toBeDefined()
163
- expect(cssFile.content).toContain('@media(max-width: 991px)')
164
- expect(cssFile.content).not.toContain('width: 100px')
163
+ expect(cssFile?.content).toContain('@media(max-width: 991px)')
164
+ expect(cssFile?.content).not.toContain('width: 100px')
165
165
 
166
166
  expect(jsFile).toBeDefined()
167
- expect(jsFile.content).toContain(`className="my-component-container"`)
168
- expect(jsFile.content).toContain(`import './my-component.css`)
167
+ expect(jsFile?.content).toContain(`className="my-component-container"`)
168
+ expect(jsFile?.content).toContain(`import './my-component.css`)
169
169
  })
170
170
 
171
171
  it('Generates styles using Styled-Components', async () => {
@@ -178,10 +178,10 @@ describe('Add referenced styles even when direct styles are not present on node'
178
178
 
179
179
  expect(cssFile).not.toBeDefined()
180
180
  expect(jsFile).toBeDefined()
181
- expect(jsFile.content).toContain(`<Container>Hello !!</Container>`)
182
- expect(jsFile.content).toContain(`const Container = styled('div')`)
183
- expect(jsFile.content).not.toContain(`width: '100px'`)
184
- expect(jsFile.content).toContain(`display: 'none'`)
181
+ expect(jsFile?.content).toContain(`<MyComponentContainer>Hello !!</MyComponentContainer>`)
182
+ expect(jsFile?.content).toContain(`const MyComponentContainer = styled('div')`)
183
+ expect(jsFile?.content).not.toContain(`width: '100px'`)
184
+ expect(jsFile?.content).toContain(`display: 'none'`)
185
185
  })
186
186
 
187
187
  it('Generates styles using ReactJSS', async () => {
@@ -195,10 +195,10 @@ describe('Add referenced styles even when direct styles are not present on node'
195
195
 
196
196
  expect(cssFile).not.toBeDefined()
197
197
  expect(jsFile).toBeDefined()
198
- expect(jsFile.content).toContain(`className={classes['container']}`)
199
- expect(jsFile.content).toContain(`container: {`)
200
- expect(jsFile.content).not.toContain(`width: '100px'`)
201
- expect(jsFile.content).toContain(`display: 'none'`)
198
+ expect(jsFile?.content).toContain(`className={classes['myComponentContainer']}`)
199
+ expect(jsFile?.content).toContain(`myComponentContainer: {`)
200
+ expect(jsFile?.content).not.toContain(`width: '100px'`)
201
+ expect(jsFile?.content).toContain(`display: 'none'`)
202
202
  })
203
203
 
204
204
  it('Generates styles using StyledJSX', async () => {
@@ -211,10 +211,10 @@ describe('Add referenced styles even when direct styles are not present on node'
211
211
 
212
212
  expect(cssFile).not.toBeDefined()
213
213
  expect(jsFile).toBeDefined()
214
- expect(jsFile.content).toContain(`className`)
215
- expect(jsFile.content).toContain(`container {`)
216
- expect(jsFile.content).not.toContain(`width: '100px'`)
217
- expect(jsFile.content).toContain(`display: none`)
214
+ expect(jsFile?.content).toContain(`className`)
215
+ expect(jsFile?.content).toContain(`container {`)
216
+ expect(jsFile?.content).not.toContain(`width: '100px'`)
217
+ expect(jsFile?.content).toContain(`display: none`)
218
218
  })
219
219
  })
220
220
 
@@ -310,9 +310,9 @@ describe('Referes from project style and adds it to the node, without any styles
310
310
 
311
311
  const { files } = await generator.generateComponent(uidl, cssOptions)
312
312
  const jsFile = findFileByType(files, FileType.JS)
313
- expect(jsFile.content).toContain(`className={projectStyles['primary-button']}`)
314
- expect(jsFile.content).toContain(`import projectStyles from '../style.module.css'`)
315
- expect(jsFile.content).not.toContain(`import styles from './my-component.module.css'`)
313
+ expect(jsFile?.content).toContain(`className={projectStyles['primary-button']}`)
314
+ expect(jsFile?.content).toContain(`import projectStyles from '../style.module.css'`)
315
+ expect(jsFile?.content).not.toContain(`import styles from './my-component.module.css'`)
316
316
  })
317
317
 
318
318
  it('CSS', async () => {
@@ -329,9 +329,9 @@ describe('Referes from project style and adds it to the node, without any styles
329
329
  const { files } = await generator.generateComponent(uidl, cssOptions)
330
330
  const jsFile = findFileByType(files, FileType.JS)
331
331
 
332
- expect(jsFile.content).toContain('className="primaryButton"')
333
- expect(jsFile.content).not.toContain(`import '../style.css'`)
334
- expect(jsFile.content).not.toContain(`import './my-component.css'`)
332
+ expect(jsFile?.content).toContain('className="primaryButton"')
333
+ expect(jsFile?.content).not.toContain(`import '../style.css'`)
334
+ expect(jsFile?.content).not.toContain(`import './my-component.css'`)
335
335
  })
336
336
 
337
337
  it('StyledComponents', async () => {
@@ -342,9 +342,11 @@ describe('Referes from project style and adds it to the node, without any styles
342
342
  const { files } = await generator.generateComponent(uidl, options)
343
343
  const jsFile = findFileByType(files, FileType.JS)
344
344
 
345
- expect(jsFile.content).toContain(`<Container projVariant="primaryButton">Hello</Container>`)
346
- expect(jsFile.content).toContain(`import { projectStyleVariants } from '../style'`)
347
- expect(jsFile.content).toContain(`const Container = styled('div')(projectStyleVariants)`)
345
+ expect(jsFile?.content).toContain(`<MyComponentContainer projVariant=\"primaryButton\">`)
346
+ expect(jsFile?.content).toContain(`import { projectStyleVariants } from '../style'`)
347
+ expect(jsFile?.content).toContain(
348
+ `const MyComponentContainer = styled('div')(projectStyleVariants)`
349
+ )
348
350
  })
349
351
 
350
352
  it('Styled JSX', async () => {
@@ -355,7 +357,7 @@ describe('Referes from project style and adds it to the node, without any styles
355
357
  const { files } = await generator.generateComponent(uidl, options)
356
358
  const jsFile = findFileByType(files, FileType.JS)
357
359
  // Styled JSX is used only with NextJS, for NextJS we don't need to import anything
358
- expect(jsFile.content).toContain('<div className="primaryButton">')
360
+ expect(jsFile?.content).toContain('<div className="primaryButton">')
359
361
  })
360
362
 
361
363
  it('React JSS', async () => {
@@ -366,8 +368,8 @@ describe('Referes from project style and adds it to the node, without any styles
366
368
  const { files } = await generator.generateComponent(uidl, options)
367
369
  const jsFile = findFileByType(files, FileType.JS)
368
370
 
369
- expect(jsFile.content).toContain(`div className={projectStyles['primaryButton']}>`)
370
- expect(jsFile.content).toContain(`const projectStyles = useProjectStyles()`)
371
- expect(jsFile.content).toContain(`import { useProjectStyles } from '../style'`)
371
+ expect(jsFile?.content).toContain(`div className={projectStyles['primaryButton']}>`)
372
+ expect(jsFile?.content).toContain(`const projectStyles = useProjectStyles()`)
373
+ expect(jsFile?.content).toContain(`import { useProjectStyles } from '../style'`)
372
374
  })
373
375
  })
@@ -49,8 +49,8 @@ describe('React Styles in Component', () => {
49
49
  const jsFile = findFileByType(result.files, FileType.JS)
50
50
 
51
51
  expect(jsFile).toBeDefined()
52
- expect(jsFile.content).toContain('display: active')
53
- expect(jsFile.content).toContain('height: props.config.height')
52
+ expect(jsFile?.content).toContain('display: active')
53
+ expect(jsFile?.content).toContain('height: props.config.height')
54
54
  })
55
55
 
56
56
  it('CSSModules should refer state in styles when state is mapped', async () => {
@@ -63,9 +63,9 @@ describe('React Styles in Component', () => {
63
63
 
64
64
  expect(jsFile).toBeDefined()
65
65
  expect(cssFile).toBeDefined()
66
- expect(jsFile.content).toContain('display: active')
67
- expect(jsFile.content).toContain('height: props.config.height')
68
- expect(cssFile.content).toContain('align-self: center;')
66
+ expect(jsFile?.content).toContain('display: active')
67
+ expect(jsFile?.content).toContain('height: props.config.height')
68
+ expect(cssFile?.content).toContain('align-self: center;')
69
69
  })
70
70
 
71
71
  it('Basic CSS should refer state in styles when state is mapped', async () => {
@@ -78,9 +78,9 @@ describe('React Styles in Component', () => {
78
78
 
79
79
  expect(jsFile).toBeDefined()
80
80
  expect(cssFile).toBeDefined()
81
- expect(jsFile.content).toContain('display: active')
82
- expect(jsFile.content).toContain('height: props.config.height')
83
- expect(cssFile.content).toContain('align-self: center;')
81
+ expect(jsFile?.content).toContain('display: active')
82
+ expect(jsFile?.content).toContain('height: props.config.height')
83
+ expect(cssFile?.content).toContain('align-self: center;')
84
84
  })
85
85
 
86
86
  it('JSS should through error when state is refered', async () => {
@@ -106,8 +106,8 @@ describe('React Styles in Component', () => {
106
106
  const jsFile = findFileByType(result.files, FileType.JS)
107
107
 
108
108
  expect(jsFile).toBeDefined()
109
- expect(jsFile.content).toContain('props.direction')
110
- expect(jsFile.content).toContain(`alignSelf: 'center'`)
109
+ expect(jsFile?.content).toContain('props.direction')
110
+ expect(jsFile?.content).toContain(`alignSelf: 'center'`)
111
111
  })
112
112
 
113
113
  it('should support object props in styledjsx', async () => {
@@ -118,7 +118,7 @@ describe('React Styles in Component', () => {
118
118
  const jsFile = findFileByType(result.files, FileType.JS)
119
119
 
120
120
  expect(jsFile).toBeDefined()
121
- expect(jsFile.content).toContain(`align-self: center`)
121
+ expect(jsFile?.content).toContain(`align-self: center`)
122
122
  })
123
123
 
124
124
  it('should throw error when a state is being refered in generated StyledJSX ', async () => {
@@ -145,8 +145,8 @@ describe('React Styles in Component', () => {
145
145
  const jsFile = findFileByType(result.files, FileType.JS)
146
146
 
147
147
  expect(jsFile).toBeDefined()
148
- expect(jsFile.content).toContain('<Container {...props}')
149
- expect(jsFile.content).toContain('height: props.config.height')
148
+ expect(jsFile?.content).toContain('<ComponentWithSinglePropContainer')
149
+ expect(jsFile?.content).toContain('height: props.config.height')
150
150
  })
151
151
 
152
152
  it('should inject props only once for styled components', async () => {
@@ -156,7 +156,7 @@ describe('React Styles in Component', () => {
156
156
  const result = await styledJSXGenerator.generateComponent(ComponentWithValidStyle)
157
157
 
158
158
  const jsFile = findFileByType(result.files, FileType.JS)
159
- expect(jsFile.content).toContain('<Container {...props}')
159
+ expect(jsFile?.content).toContain('<ComponentWithAttrPropContainer {...props}')
160
160
  })
161
161
 
162
162
  it('should throw error when a state is being refered in generated StyledComponents ', async () => {
@@ -184,9 +184,9 @@ describe('React Styles in Component', () => {
184
184
 
185
185
  expect(jsFile).toBeDefined()
186
186
  expect(cssFile).toBeDefined()
187
- expect(jsFile.content).toContain('import React')
188
- expect(jsFile.content).toContain('flexDirection: props.direction')
189
- expect(cssFile.content).toContain(`align-self: center`)
187
+ expect(jsFile?.content).toContain('import React')
188
+ expect(jsFile?.content).toContain('flexDirection: props.direction')
189
+ expect(cssFile?.content).toContain(`align-self: center`)
190
190
  })
191
191
  })
192
192
  })
@@ -0,0 +1,19 @@
1
+ import { createReactComponentGenerator } from '../../src'
2
+ import componentUIDL from '../../../../examples/uidl-samples/component.json'
3
+ import { FileType } from '@teleporthq/teleport-types'
4
+
5
+ describe('declares a propDefinitions with type object and use it', () => {
6
+ test('use the value from the object in prop', async () => {
7
+ const generator = createReactComponentGenerator()
8
+ const result = await generator.generateComponent(componentUIDL)
9
+ const jsFile = result.files.find((file) => file.fileType === FileType.JS)
10
+
11
+ expect(jsFile).toBeDefined()
12
+ expect(jsFile?.content).toContain('config: PropTypes.object')
13
+ expect(jsFile?.content).toContain("height: props.config?.['height']")
14
+ expect(jsFile?.content).toContain(`config: {
15
+ height: 30,
16
+ width: 30,
17
+ }`)
18
+ })
19
+ })
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,mBAAmB,EACnB,0BAA0B,EAE3B,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,QAAA,MAAM,6BAA6B,EAAE,0BAiDpC,CAAA;AAED,OAAO,EAAE,6BAA6B,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,mBAAmB,EACnB,0BAA0B,EAE3B,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAoB9C,QAAA,MAAM,6BAA6B,EAAE,0BA6BpC,CAAA;AAED,OAAO,EAAE,6BAA6B,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
package/dist/cjs/index.js CHANGED
@@ -2,6 +2,7 @@
2
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
+ var _a;
5
6
  Object.defineProperty(exports, "__esModule", { value: true });
6
7
  exports.ReactStyleVariation = exports.ReactMapping = exports.createReactComponentGenerator = void 0;
7
8
  var teleport_plugin_react_base_component_1 = __importDefault(require("@teleporthq/teleport-plugin-react-base-component"));
@@ -19,35 +20,32 @@ Object.defineProperty(exports, "ReactStyleVariation", { enumerable: true, get: f
19
20
  var teleport_component_generator_1 = require("@teleporthq/teleport-component-generator");
20
21
  var react_mapping_1 = require("./react-mapping");
21
22
  Object.defineProperty(exports, "ReactMapping", { enumerable: true, get: function () { return react_mapping_1.ReactMapping; } });
23
+ var cssPlugin = (0, teleport_plugin_css_1.createCSSPlugin)({
24
+ templateChunkName: 'jsx-component',
25
+ templateStyle: 'jsx',
26
+ declareDependency: 'import',
27
+ classAttributeName: 'className',
28
+ });
29
+ var cssModulesPlugin = (0, teleport_plugin_css_modules_1.createCSSModulesPlugin)({ moduleExtension: true });
30
+ var reactStyledJSXPlugin = (0, teleport_plugin_react_styled_jsx_1.createReactStyledJSXPlugin)();
31
+ var stylePlugins = (_a = {},
32
+ _a[teleport_types_1.ReactStyleVariation.InlineStyles] = teleport_plugin_jsx_inline_styles_1.default,
33
+ _a[teleport_types_1.ReactStyleVariation.StyledComponents] = teleport_plugin_react_styled_components_1.default,
34
+ _a[teleport_types_1.ReactStyleVariation.StyledJSX] = reactStyledJSXPlugin,
35
+ _a[teleport_types_1.ReactStyleVariation.CSSModules] = cssModulesPlugin,
36
+ _a[teleport_types_1.ReactStyleVariation.CSS] = cssPlugin,
37
+ _a[teleport_types_1.ReactStyleVariation.ReactJSS] = teleport_plugin_react_jss_1.default,
38
+ _a);
22
39
  var createReactComponentGenerator = function (_a) {
23
- var _b;
24
- var _c = _a === void 0 ? {} : _a, _d = _c.mappings, mappings = _d === void 0 ? [] : _d, _e = _c.plugins, plugins = _e === void 0 ? [] : _e, _f = _c.postprocessors, postprocessors = _f === void 0 ? [] : _f, _g = _c.variation, variation = _g === void 0 ? teleport_types_1.ReactStyleVariation.CSSModules : _g;
25
- var cssPlugin = (0, teleport_plugin_css_1.createCSSPlugin)({
26
- templateChunkName: 'jsx-component',
27
- templateStyle: 'jsx',
28
- declareDependency: 'import',
29
- classAttributeName: 'className',
30
- forceScoping: true,
31
- });
32
- var cssModulesPlugin = (0, teleport_plugin_css_modules_1.createCSSModulesPlugin)({ moduleExtension: true });
33
- var reactStyledJSXPlugin = (0, teleport_plugin_react_styled_jsx_1.createReactStyledJSXPlugin)({ forceScoping: true });
34
- var stylePlugins = (_b = {},
35
- _b[teleport_types_1.ReactStyleVariation.InlineStyles] = teleport_plugin_jsx_inline_styles_1.default,
36
- _b[teleport_types_1.ReactStyleVariation.StyledComponents] = teleport_plugin_react_styled_components_1.default,
37
- _b[teleport_types_1.ReactStyleVariation.StyledJSX] = reactStyledJSXPlugin,
38
- _b[teleport_types_1.ReactStyleVariation.CSSModules] = cssModulesPlugin,
39
- _b[teleport_types_1.ReactStyleVariation.CSS] = cssPlugin,
40
- _b[teleport_types_1.ReactStyleVariation.ReactJSS] = teleport_plugin_react_jss_1.default,
41
- _b);
42
- var stylePlugin = stylePlugins[variation];
43
- if (!stylePlugin) {
44
- throw new Error("Invalid style variation '".concat(variation, "'"));
45
- }
40
+ var _b = _a === void 0 ? {} : _a, _c = _b.mappings, mappings = _c === void 0 ? [] : _c, _d = _b.plugins, plugins = _d === void 0 ? [] : _d, _e = _b.postprocessors, postprocessors = _e === void 0 ? [] : _e, _f = _b.variation, variation = _f === void 0 ? teleport_types_1.ReactStyleVariation.CSSModules : _f;
46
41
  var generator = (0, teleport_component_generator_1.createComponentGenerator)();
47
42
  generator.addMapping(react_mapping_1.ReactMapping);
48
43
  mappings.forEach(function (mapping) { return generator.addMapping(mapping); });
49
44
  generator.addPlugin(teleport_plugin_react_base_component_1.default);
50
- generator.addPlugin(stylePlugin);
45
+ if (variation && stylePlugins[variation]) {
46
+ var stylePlugin = stylePlugins[variation];
47
+ generator.addPlugin(stylePlugin);
48
+ }
51
49
  generator.addPlugin(teleport_plugin_jsx_proptypes_1.default);
52
50
  plugins.forEach(function (plugin) { return generator.addPlugin(plugin); });
53
51
  // Import plugin needs to be last to handle all dependencies
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","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IAEzC,IAAI,SAAS,IAAI,YAAY,CAAC,SAAS,CAAC,EAAE;QACxC,IAAM,WAAW,GAAG,YAAY,CAAC,SAAS,CAAC,CAAA;QAC3C,SAAS,CAAC,SAAS,CAAC,WAAW,CAAC,CAAA;KACjC;IAED,SAAS,CAAC,SAAS,CAAC,uCAAe,CAAC,CAAA;IACpC,OAAO,CAAC,OAAO,CAAC,UAAC,MAAM,IAAK,OAAA,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,EAA3B,CAA2B,CAAC,CAAA;IAExD,4DAA4D;IAC5D,wEAAwE;IACxE,SAAS,CAAC,SAAS,CAAC,2CAAsB,CAAC,CAAA;IAE3C,SAAS,CAAC,gBAAgB,CAAC,6CAAW,CAAC,CAAA;IACvC,cAAc,CAAC,OAAO,CAAC,UAAC,aAAa,IAAK,OAAA,SAAS,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAzC,CAAyC,CAAC,CAAA;IAEpF,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA;AAEQ,sEAA6B"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-mapping.d.ts","sourceRoot":"","sources":["../../src/react-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,YAAY,EAAE,OAmG1B,CAAA"}
1
+ {"version":3,"file":"react-mapping.d.ts","sourceRoot":"","sources":["../../src/react-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,YAAY,EAAE,OAgH1B,CAAA"}
@@ -3,6 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReactMapping = void 0;
4
4
  exports.ReactMapping = {
5
5
  elements: {
6
+ fragment: {
7
+ elementType: 'Fragment',
8
+ semanticType: 'Fragment',
9
+ dependency: {
10
+ type: 'library',
11
+ path: 'react',
12
+ version: '^17.0.2',
13
+ meta: {
14
+ namedImport: true,
15
+ },
16
+ },
17
+ },
6
18
  group: {
7
19
  elementType: 'Fragment',
8
20
  dependency: {
@@ -34,11 +46,11 @@ exports.ReactMapping = {
34
46
  },
35
47
  },
36
48
  'markdown-node': {
37
- elementType: 'Markdown',
49
+ elementType: 'ReactMarkdown',
38
50
  dependency: {
39
51
  type: 'package',
40
- path: 'markdown-to-jsx',
41
- version: '7.2.0',
52
+ path: 'react-markdown',
53
+ version: '8.0.7',
42
54
  },
43
55
  },
44
56
  'html-node': {
@@ -57,7 +69,7 @@ exports.ReactMapping = {
57
69
  dependency: {
58
70
  type: 'package',
59
71
  path: '@teleporthq/react-components',
60
- version: 'github:teleporthq/thq-react-components',
72
+ version: 'latest',
61
73
  meta: {
62
74
  namedImport: true,
63
75
  },
@@ -98,6 +110,7 @@ exports.ReactMapping = {
98
110
  readonly: 'readOnly',
99
111
  class: 'className',
100
112
  contenteditable: 'contentEditable',
113
+ srcset: 'srcSet',
101
114
  },
102
115
  illegalClassNames: ['React', 'Fragment', 'ReactDOM', 'PropTypes'],
103
116
  };
@@ -1 +1 @@
1
- {"version":3,"file":"react-mapping.js","sourceRoot":"","sources":["../../src/react-mapping.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAY;IACnC,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,WAAW,EAAE,UAAU;YACvB,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,OAAO,EAAE,SAAS;gBAClB,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI;iBAClB;aACF;SACF;QACD,0BAA0B,EAAE;YAC1B,WAAW,EAAE,UAAU;YACvB,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,gCAAgC;gBACtC,OAAO,EAAE,OAAO;aACjB;SACF;QACD,qBAAqB,EAAE;YACrB,WAAW,EAAE,kBAAkB;YAC/B,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IA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AU;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,GAAG,EAAE,SAAS;QACd,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,WAAW;QAClB,eAAe,EAAE,iBAAiB;KACnC;IACD,iBAAiB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,CAAC;CAClE,CAAA"}
1
+ {"version":3,"file":"react-mapping.js","sourceRoot":"","sources":["../../src/react-mapping.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAY;IACnC,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,WAAW,EAAE,UAAU;YACvB,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,OAAO,EAAE,SAAS;gBAClB,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI;iBAClB;aACF;SACF;QACD,KAAK,EAAE;YACL,WAAW,EAAE,UAAU;YACvB,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,OAAO,EAAE,SAAS;gBAClB,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI;iBAClB;aACF;SACF;QACD,0BAA0B,EAAE;YAC1B,WAAW,EAAE,UAAU;YACvB,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,gCAAgC;gBACtC,OAAO,EAAE,OAAO;aACjB;SACF;QACD,qBAAqB,EAAE;YACrB,WAAW,EAAE,kBAAkB;YAC/B,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,iCAAiC;gBACvC,OAAO,EAAE,OAAO;gBAChB,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI;iBAClB;aACF;SACF;QACD,eAAe,EAAE;YACf,WAAW,EAAE,eAAe;YAC5B,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,gBAAgB;gBAC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AAU,EAAE,UAAU,EAAE,WAAW,CAAC;CAClE,CAAA"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../teleport-plugin-react-base-component/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-inline-styles/dist/cjs/index.d.ts","../../../teleport-plugin-react-jss/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-jss/dist/cjs/index.d.ts","../../../teleport-plugin-css-modules/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css-modules/dist/cjs/index.d.ts","../../../teleport-plugin-css/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-jsx/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-proptypes/dist/cjs/index.d.ts","../../../teleport-plugin-import-statements/dist/cjs/index.d.ts","../../../teleport-postprocessor-prettier-jsx/dist/cjs/index.d.ts","../../../teleport-component-generator/dist/cjs/index.d.ts","../../src/react-mapping.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"b09482535eb7d553ab0507e93616b811a3194a0339292f0e534787e4b01568bb","98e7d6f85db62ea358bb6a292c21eea40a88a232009c21a2cc72edc8a48103bd","dc19b304f9b96efbea7359264ac17eaf4c2d3fd231df7306eddfb983039785ca","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d50fe6e9eb7f4722fa789aab25bf60d0dfbcc36cc76af4a7d7af2b5886665f93","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","ba1f8bfcf67a46c1839a232ed1dc0c17f636b02dd594dd1f1402059a1d3ba5ae","233f2de1a6341e6de3b9c27825da6098f4e5d27eb89b09bd97399d64f1ec5fef","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","de7c04de8764667ac8981c3067b5a68f37db3d53b450c819f3368fb22be9af7b","cf49cdb64a4e3958c9f1954ba943d77296b4af307ad22e0dc3b04004044d9de0","fe0fc883e4c63584434e8b04c53cda53c54e2ddab725bb3b25a73d26712f6b51","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","63a9f42bb397753a62c683dda5329a13b46e2bc09c3558a3118fdd0e6f25b7f6","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","6bdbe574442ad9cc81e2e0d150036e886d3711f48e7734fe7ecb6e7dfe1cf988","45c19702e9baac7bb30bbc1c2ef0458457f24fffd1d1ccb219cc2f29edaa0498","d8cac0978bfb1df1f260af8193721d974959aece2b3ae81e8e9aa2da3d4e3e7c","c8d113d442ce7d757244e9ca2616396c5d9bd5076d3f14c66851d1561d34b943","6f990bd8d1f3e359d43624ceb4ff64f19708601caa8bf3f66430e288bdd7219c","dbd4e3c1c81a350659f3ba09d931a953c37f6ea39d9e5880decfb22130fbbf70",{"version":"9cdedcd721a1ceea841b1f52ebeaa7f9a9ba8306fe87b30eab0d8424ff6b079c","signature":"f7259d8fdba499d2f6248c2d06f8abd6697a955fd90c85492a46a1e462ff6ebe"},{"version":"8ebaff55af49b8aec67a12ea155898ba65102122ea719fe48386dedce4e7a92c","signature":"45a2137aa9e55e05886a9f441c94a4a461dab548e859d4dff1d4ad922b7c9842"},"ba8691cf6bea9d53e6bf6cbc22af964a9633a21793981a1be3dce65e7a714d8b","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3",{"version":"7c387a02bf156d8d45667134d32518ac3ca1b99ca50ca9deff2c1a03eb6d1a81","affectsGlobalScope":true},"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","f993522fd7d01ae1ead930091fe35130b8415720d6c2123dc2a7e8eb11bb3cba",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","b787b5b54349a24f07d089b612a9fb8ff024dbbe991ff52ea2b188a6b1230644","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","df6d4b6ba1e64f682091862faa30104e93891f9e7202d006bf5e7a88ab4a0dbe","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"c2fcbd6fad600e96fee8c5df1a62e908d477f5b47a9374b2bab7e74f52cfcc92","affectsGlobalScope":true},"5e3f2470ce8038c4005ff1baff18a69848383f431d6817d453e70d66e037f4a2","cc68e79b99f80e4dfd01967ec96be69efb0ff5bd7f779d9a2cc09dfe590ffd28","91d3d8f536f22dcaeeace0fc6f3544d3562e266a27cf3a2fe280b8051af5d006","9503113febdd737095465792cc074d541902c82c0aea3922f940de18784812ad","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","ff1bad1849903b15fba47f3c29bdec5f97324874c93933a89b2bca28a23977fb","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda",{"version":"d9b4afd96c3c0ff70e90d05ef022e582b102e665e9029d34940472dc3058360e","affectsGlobalScope":true},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"22d7b95cb63dead43834ae20ee492c9c8b6d90db3957d21665199f0efb1d3e26","affectsGlobalScope":true},{"version":"a9fc1469744055a3435f203123246b96c094e7ff8c4e1c3863829d9b705b7a34","affectsGlobalScope":true},"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"d5be4343a9ace4611f04a6fffd91ceba91265fa15bfb0149306e0a6963e1a015","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[112,124,126],[112],[112,120,121],[112,120,121,122,123],[112,125],[112,127],[66,112],[69,112],[70,75,103,112],[71,82,83,90,100,111,112],[71,72,82,90,112],[73,112],[74,75,83,91,112],[75,100,108,112],[76,78,82,90,112],[77,112],[78,79,112],[82,112],[80,82,112],[82,83,84,100,111,112],[82,83,84,97,100,103,112],[112,116],[78,82,85,90,100,111,112],[82,83,85,86,90,100,108,111,112],[85,87,100,108,111,112],[66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118],[82,88,112],[89,111,112],[78,82,90,100,112],[91,112],[92,112],[69,93,112],[94,110,112,116],[95,112],[96,112],[82,97,98,112],[97,99,112,114],[70,82,100,101,102,103,112],[70,100,102,112],[100,101,112],[103,112],[104,112],[100,112],[82,106,107,112],[106,107,112],[75,90,100,108,112],[109,112],[90,110,112],[70,85,96,111,112],[75,112],[100,112,113],[112,114],[112,115],[70,75,82,84,93,100,111,112,114,116],[100,112,117],[48,49,50,52,54,56,58,59,60,61,62,63,64,112],[48,112],[48,53,112],[48,55,112],[48,51,112],[48,57,112],[44,112],[44,45,46,47,112],[43,112],[43,44,112],[48,64],[48]],"referencedMap":[[127,1],[120,2],[122,3],[124,4],[123,3],[121,2],[126,5],[125,2],[128,6],[66,7],[67,7],[69,8],[70,9],[71,10],[72,11],[73,12],[74,13],[75,14],[76,15],[77,16],[78,17],[79,17],[81,18],[80,19],[82,18],[83,20],[84,21],[68,22],[118,2],[85,23],[86,24],[87,25],[119,26],[88,27],[89,28],[90,29],[91,30],[92,31],[93,32],[94,33],[95,34],[96,35],[97,36],[98,36],[99,37],[100,38],[102,39],[101,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[110,48],[111,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[65,56],[64,57],[63,57],[54,58],[53,57],[56,59],[55,57],[61,57],[50,57],[60,57],[49,57],[52,60],[51,57],[58,61],[57,57],[59,57],[62,57],[46,2],[45,62],[43,2],[48,63],[44,64],[47,65]],"exportedModulesMap":[[127,1],[120,2],[122,3],[124,4],[123,3],[121,2],[126,5],[125,2],[128,6],[66,7],[67,7],[69,8],[70,9],[71,10],[72,11],[73,12],[74,13],[75,14],[76,15],[77,16],[78,17],[79,17],[81,18],[80,19],[82,18],[83,20],[84,21],[68,22],[118,2],[85,23],[86,24],[87,25],[119,26],[88,27],[89,28],[90,29],[91,30],[92,31],[93,32],[94,33],[95,34],[96,35],[97,36],[98,36],[99,37],[100,38],[102,39],[101,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[110,48],[111,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[65,66],[64,67],[63,57],[54,58],[53,57],[56,59],[55,57],[61,57],[50,57],[60,57],[49,57],[52,60],[51,57],[58,61],[57,57],[59,57],[62,57],[46,2],[45,62],[43,2],[48,63],[44,64],[47,65]],"semanticDiagnosticsPerFile":[127,120,122,124,123,121,126,125,128,66,67,69,70,71,72,73,74,75,76,77,78,79,81,80,82,83,84,68,118,85,86,87,119,88,89,90,91,92,93,94,95,96,97,98,99,100,102,101,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,65,64,63,54,53,56,55,61,50,60,49,52,51,58,57,59,62,46,45,43,48,44,47]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../teleport-plugin-react-base-component/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-inline-styles/dist/cjs/index.d.ts","../../../teleport-plugin-react-jss/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-jss/dist/cjs/index.d.ts","../../../teleport-plugin-css-modules/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css-modules/dist/cjs/index.d.ts","../../../teleport-plugin-css/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-jsx/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-proptypes/dist/cjs/index.d.ts","../../../teleport-plugin-import-statements/dist/cjs/index.d.ts","../../../teleport-postprocessor-prettier-jsx/dist/cjs/index.d.ts","../../../teleport-component-generator/dist/cjs/index.d.ts","../../src/react-mapping.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","c4f7e2add901536e83f79058448f366acb5ce1f0251bf9a5ae17c83ce05e0b09","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","dff2c83d88067791b25fd1c3126a753311ddb954c0ce6dd9c968faef32e84117","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","f29399e10ced2ff9ecbe07448806c44dfcb87dcf281cb7ccac3061174c3cae37","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","ba1f8bfcf67a46c1839a232ed1dc0c17f636b02dd594dd1f1402059a1d3ba5ae","233f2de1a6341e6de3b9c27825da6098f4e5d27eb89b09bd97399d64f1ec5fef","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","de7c04de8764667ac8981c3067b5a68f37db3d53b450c819f3368fb22be9af7b","0f33288673df76c6aadf0e30f7e8dfd4f90ef598e79ce39292761ab015b74319","fe0fc883e4c63584434e8b04c53cda53c54e2ddab725bb3b25a73d26712f6b51","d9073e5cceff020600ceb1d43e1df68fcaee78d21ab2dd79e19746a68c9064c6","d5dc69e730cae3d85fe6cc9c62202777fdf808601ea1f5cb73d77d8494d1a818","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","6bdbe574442ad9cc81e2e0d150036e886d3711f48e7734fe7ecb6e7dfe1cf988","de1d812aed36782ae60228c956b43ca81776ef501b5eb8094a9feca27818bd41","d8cac0978bfb1df1f260af8193721d974959aece2b3ae81e8e9aa2da3d4e3e7c","c8d113d442ce7d757244e9ca2616396c5d9bd5076d3f14c66851d1561d34b943","6f990bd8d1f3e359d43624ceb4ff64f19708601caa8bf3f66430e288bdd7219c","dbd4e3c1c81a350659f3ba09d931a953c37f6ea39d9e5880decfb22130fbbf70",{"version":"7f03f92eed3cd042629c956a0bbe4ae81c56a1ec773af39ace1ea27aae02af49","signature":"f7259d8fdba499d2f6248c2d06f8abd6697a955fd90c85492a46a1e462ff6ebe"},{"version":"b28d52c19c31f6ded9652d1eb2c3dc0afb3142cc2d65eb459b72aa7f234a5bfa","signature":"45a2137aa9e55e05886a9f441c94a4a461dab548e859d4dff1d4ad922b7c9842"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[158,160],[154,155],[154,155,156,157],[159],[161],[67],[103],[104,109,137],[105,116,117,124,134,145],[105,106,116,124],[107,146],[108,109,117,125],[109,134,142],[110,112,116,124],[103,111],[112,113],[116],[114,116],[103,116],[116,117,118,134,145],[116,117,118,131,134,137],[101,150],[112,116,119,124,134,145],[116,117,119,120,124,134,142,145],[119,121,134,142,145],[67,68,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],[116,122],[123,145,150],[112,116,124,134],[125],[126],[103,127],[128,144,150],[129],[130],[116,131,132],[131,133,146,148],[104,116,134,135,136,137],[104,134,136],[134,135],[137],[138],[103,134],[116,140,141],[140,141],[109,124,134,142],[143],[124,144],[104,119,130,145],[109,146],[134,147],[123,148],[149],[104,109,116,118,127,134,145,148,150],[134,151],[78,82,145],[78,134,145],[73],[75,78,142,145],[124,142],[153],[73,153],[75,78,124,145],[70,71,74,77,104,116,134,145],[70,76],[74,78,104,137,145,153],[104,153],[94,104,153],[72,73,153],[78],[72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100],[78,85,86],[76,78,86,87],[77],[70,73,78],[78,82,86,87],[82],[76,78,81,145],[70,75,76,78,82,85],[104,134],[73,78,94,104,150,153],[49,50,51,53,55,57,59,60,61,62,63,64,65],[49],[49,54],[49,56],[49,52],[49,58],[44,45],[44,46,47,48],[43],[43,44],[49,65]],"referencedMap":[[161,1],[156,2],[158,3],[157,2],[160,4],[162,5],[67,6],[68,6],[103,7],[104,8],[105,9],[106,10],[107,11],[108,12],[109,13],[110,14],[111,15],[112,16],[113,16],[115,17],[114,18],[116,19],[117,20],[118,21],[102,22],[119,23],[120,24],[121,25],[153,26],[122,27],[123,28],[124,29],[125,30],[126,31],[127,32],[128,33],[129,34],[130,35],[131,36],[132,36],[133,37],[134,38],[136,39],[135,40],[137,41],[138,42],[139,43],[140,44],[141,45],[142,46],[143,47],[144,48],[145,49],[146,50],[147,51],[148,52],[149,53],[150,54],[151,55],[85,56],[92,57],[84,56],[99,58],[76,59],[75,60],[98,61],[93,62],[96,63],[78,64],[77,65],[73,66],[72,67],[95,68],[74,69],[79,70],[83,70],[101,71],[100,70],[87,72],[88,73],[90,74],[86,75],[89,76],[94,61],[81,77],[82,78],[91,79],[71,80],[97,81],[66,82],[65,83],[64,83],[55,84],[54,83],[57,85],[56,83],[62,83],[51,83],[61,83],[50,83],[53,86],[52,83],[59,87],[58,83],[60,83],[63,83],[46,88],[49,89],[44,90],[48,91]],"exportedModulesMap":[[161,1],[156,2],[158,3],[157,2],[160,4],[162,5],[67,6],[68,6],[103,7],[104,8],[105,9],[106,10],[107,11],[108,12],[109,13],[110,14],[111,15],[112,16],[113,16],[115,17],[114,18],[116,19],[117,20],[118,21],[102,22],[119,23],[120,24],[121,25],[153,26],[122,27],[123,28],[124,29],[125,30],[126,31],[127,32],[128,33],[129,34],[130,35],[131,36],[132,36],[133,37],[134,38],[136,39],[135,40],[137,41],[138,42],[139,43],[140,44],[141,45],[142,46],[143,47],[144,48],[145,49],[146,50],[147,51],[148,52],[149,53],[150,54],[151,55],[85,56],[92,57],[84,56],[99,58],[76,59],[75,60],[98,61],[93,62],[96,63],[78,64],[77,65],[73,66],[72,67],[95,68],[74,69],[79,70],[83,70],[101,71],[100,70],[87,72],[88,73],[90,74],[86,75],[89,76],[94,61],[81,77],[82,78],[91,79],[71,80],[97,81],[66,92],[65,83],[64,83],[55,84],[54,83],[57,85],[56,83],[62,83],[51,83],[61,83],[50,83],[53,86],[52,83],[59,87],[58,83],[60,83],[63,83],[46,88],[49,89],[44,90],[48,91]],"semanticDiagnosticsPerFile":[45,161,154,156,158,157,155,160,159,162,67,68,103,104,105,106,107,108,109,110,111,112,113,115,114,116,117,118,102,152,119,120,121,153,122,123,124,125,126,127,128,129,130,131,132,133,134,136,135,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,69,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,85,92,84,99,76,75,98,93,96,78,77,73,72,95,74,79,80,83,70,101,100,87,88,90,86,89,94,81,82,91,71,97,66,65,64,55,54,57,56,62,51,61,50,53,52,59,58,60,63,47,46,43,49,44,48]},"version":"4.9.5"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,mBAAmB,EACnB,0BAA0B,EAE3B,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,QAAA,MAAM,6BAA6B,EAAE,0BAiDpC,CAAA;AAED,OAAO,EAAE,6BAA6B,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,mBAAmB,EACnB,0BAA0B,EAE3B,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAoB9C,QAAA,MAAM,6BAA6B,EAAE,0BA6BpC,CAAA;AAED,OAAO,EAAE,6BAA6B,EAAE,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
package/dist/esm/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ var _a;
1
2
  import reactComponentPlugin from '@teleporthq/teleport-plugin-react-base-component';
2
3
  import inlineStylesPlugin from '@teleporthq/teleport-plugin-jsx-inline-styles';
3
4
  import reactJSSPlugin from '@teleporthq/teleport-plugin-react-jss';
@@ -11,35 +12,32 @@ import prettierJSX from '@teleporthq/teleport-postprocessor-prettier-jsx';
11
12
  import { ReactStyleVariation, } from '@teleporthq/teleport-types';
12
13
  import { createComponentGenerator } from '@teleporthq/teleport-component-generator';
13
14
  import { ReactMapping } from './react-mapping';
15
+ var cssPlugin = createCSSPlugin({
16
+ templateChunkName: 'jsx-component',
17
+ templateStyle: 'jsx',
18
+ declareDependency: 'import',
19
+ classAttributeName: 'className',
20
+ });
21
+ var cssModulesPlugin = createCSSModulesPlugin({ moduleExtension: true });
22
+ var reactStyledJSXPlugin = createReactStyledJSXPlugin();
23
+ var stylePlugins = (_a = {},
24
+ _a[ReactStyleVariation.InlineStyles] = inlineStylesPlugin,
25
+ _a[ReactStyleVariation.StyledComponents] = reactStyledComponentsPlugin,
26
+ _a[ReactStyleVariation.StyledJSX] = reactStyledJSXPlugin,
27
+ _a[ReactStyleVariation.CSSModules] = cssModulesPlugin,
28
+ _a[ReactStyleVariation.CSS] = cssPlugin,
29
+ _a[ReactStyleVariation.ReactJSS] = reactJSSPlugin,
30
+ _a);
14
31
  var createReactComponentGenerator = function (_a) {
15
- var _b;
16
- var _c = _a === void 0 ? {} : _a, _d = _c.mappings, mappings = _d === void 0 ? [] : _d, _e = _c.plugins, plugins = _e === void 0 ? [] : _e, _f = _c.postprocessors, postprocessors = _f === void 0 ? [] : _f, _g = _c.variation, variation = _g === void 0 ? ReactStyleVariation.CSSModules : _g;
17
- var cssPlugin = createCSSPlugin({
18
- templateChunkName: 'jsx-component',
19
- templateStyle: 'jsx',
20
- declareDependency: 'import',
21
- classAttributeName: 'className',
22
- forceScoping: true,
23
- });
24
- var cssModulesPlugin = createCSSModulesPlugin({ moduleExtension: true });
25
- var reactStyledJSXPlugin = createReactStyledJSXPlugin({ forceScoping: true });
26
- var stylePlugins = (_b = {},
27
- _b[ReactStyleVariation.InlineStyles] = inlineStylesPlugin,
28
- _b[ReactStyleVariation.StyledComponents] = reactStyledComponentsPlugin,
29
- _b[ReactStyleVariation.StyledJSX] = reactStyledJSXPlugin,
30
- _b[ReactStyleVariation.CSSModules] = cssModulesPlugin,
31
- _b[ReactStyleVariation.CSS] = cssPlugin,
32
- _b[ReactStyleVariation.ReactJSS] = reactJSSPlugin,
33
- _b);
34
- var stylePlugin = stylePlugins[variation];
35
- if (!stylePlugin) {
36
- throw new Error("Invalid style variation '".concat(variation, "'"));
37
- }
32
+ var _b = _a === void 0 ? {} : _a, _c = _b.mappings, mappings = _c === void 0 ? [] : _c, _d = _b.plugins, plugins = _d === void 0 ? [] : _d, _e = _b.postprocessors, postprocessors = _e === void 0 ? [] : _e, _f = _b.variation, variation = _f === void 0 ? ReactStyleVariation.CSSModules : _f;
38
33
  var generator = createComponentGenerator();
39
34
  generator.addMapping(ReactMapping);
40
35
  mappings.forEach(function (mapping) { return generator.addMapping(mapping); });
41
36
  generator.addPlugin(reactComponentPlugin);
42
- generator.addPlugin(stylePlugin);
37
+ if (variation && stylePlugins[variation]) {
38
+ var stylePlugin = stylePlugins[variation];
39
+ generator.addPlugin(stylePlugin);
40
+ }
43
41
  generator.addPlugin(propTypesPlugin);
44
42
  plugins.forEach(function (plugin) { return generator.addPlugin(plugin); });
45
43
  // Import plugin needs to be last to handle all dependencies
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,kDAAkD,CAAA;AACnF,OAAO,kBAAkB,MAAM,+CAA+C,CAAA;AAC9E,OAAO,cAAc,MAAM,uCAAuC,CAAA;AAClE,OAAO,EAAE,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react-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,YAAY,EAAE,OAmG1B,CAAA"}
1
+ {"version":3,"file":"react-mapping.d.ts","sourceRoot":"","sources":["../../src/react-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,eAAO,MAAM,YAAY,EAAE,OAgH1B,CAAA"}
@@ -1,5 +1,17 @@
1
1
  export var ReactMapping = {
2
2
  elements: {
3
+ fragment: {
4
+ elementType: 'Fragment',
5
+ semanticType: 'Fragment',
6
+ dependency: {
7
+ type: 'library',
8
+ path: 'react',
9
+ version: '^17.0.2',
10
+ meta: {
11
+ namedImport: true,
12
+ },
13
+ },
14
+ },
3
15
  group: {
4
16
  elementType: 'Fragment',
5
17
  dependency: {
@@ -31,11 +43,11 @@ export var ReactMapping = {
31
43
  },
32
44
  },
33
45
  'markdown-node': {
34
- elementType: 'Markdown',
46
+ elementType: 'ReactMarkdown',
35
47
  dependency: {
36
48
  type: 'package',
37
- path: 'markdown-to-jsx',
38
- version: '7.2.0',
49
+ path: 'react-markdown',
50
+ version: '8.0.7',
39
51
  },
40
52
  },
41
53
  'html-node': {
@@ -54,7 +66,7 @@ export var ReactMapping = {
54
66
  dependency: {
55
67
  type: 'package',
56
68
  path: '@teleporthq/react-components',
57
- version: 'github:teleporthq/thq-react-components',
69
+ version: 'latest',
58
70
  meta: {
59
71
  namedImport: true,
60
72
  },
@@ -95,6 +107,7 @@ export var ReactMapping = {
95
107
  readonly: 'readOnly',
96
108
  class: 'className',
97
109
  contenteditable: 'contentEditable',
110
+ srcset: 'srcSet',
98
111
  },
99
112
  illegalClassNames: ['React', 'Fragment', 'ReactDOM', 'PropTypes'],
100
113
  };
@@ -1 +1 @@
1
- {"version":3,"file":"react-mapping.js","sourceRoot":"","sources":["../../src/react-mapping.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC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AAkC;gBACxC,OAAO,EAAE,OAAO;gBAChB,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI;iBAClB;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,UAAU;QAClB,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,YAAY;QACtB,UAAU,EAAE,cAAc;QAC1B,UAAU,EAAE,cAAc;QAC1B,SAAS,EAAE,aAAa;QACxB,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,UAAU;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,GAAG,EAAE,SAAS;QACd,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,WAAW;QAClB,eAAe,EAAE,iBAAiB;KACnC;IACD,iBAAiB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,CAAC;CAClE,CAAA"}
1
+ {"version":3,"file":"react-mapping.js","sourceRoot":"","sources":["../../src/react-mapping.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,YAAY,GAAY;IACnC,QAAQ,EAAE;QACR,QAAQ,EAAE;YACR,WAAW,EAAE,UAAU;YACvB,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,OAAO,EAAE,SAAS;gBAClB,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI;iBAClB;aACF;SACF;QACD,KAAK,EAAE;YACL,WAAW,EAAE,UAAU;YACvB,UAAU,EAAE;gBACV,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,OAAO,EAAE,SAAS;gBAClB,IAAI,EAAE;oBACJ,WAAW,EAAE,I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;QAClB,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,YAAY;QACtB,UAAU,EAAE,cAAc;QAC1B,UAAU,EAAE,cAAc;QAC1B,SAAS,EAAE,aAAa;QACxB,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,cAAc;QAC1B,QAAQ,EAAE,YAAY;QACtB,MAAM,EAAE,UAAU;QAClB,IAAI,EAAE,QAAQ;KACf;IACD,UAAU,EAAE;QACV,GAAG,EAAE,SAAS;QACd,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,WAAW;QAClB,eAAe,EAAE,iBAAiB;QAClC,MAAM,EAAE,QAAQ;KACjB;IACD,iBAAiB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,CAAC;CAClE,CAAA"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../teleport-plugin-react-base-component/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-inline-styles/dist/cjs/index.d.ts","../../../teleport-plugin-react-jss/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-jss/dist/cjs/index.d.ts","../../../teleport-plugin-css-modules/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css-modules/dist/cjs/index.d.ts","../../../teleport-plugin-css/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-jsx/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-proptypes/dist/cjs/index.d.ts","../../../teleport-plugin-import-statements/dist/cjs/index.d.ts","../../../teleport-postprocessor-prettier-jsx/dist/cjs/index.d.ts","../../../teleport-component-generator/dist/cjs/index.d.ts","../../src/react-mapping.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"b09482535eb7d553ab0507e93616b811a3194a0339292f0e534787e4b01568bb","98e7d6f85db62ea358bb6a292c21eea40a88a232009c21a2cc72edc8a48103bd","dc19b304f9b96efbea7359264ac17eaf4c2d3fd231df7306eddfb983039785ca","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d50fe6e9eb7f4722fa789aab25bf60d0dfbcc36cc76af4a7d7af2b5886665f93","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","ba1f8bfcf67a46c1839a232ed1dc0c17f636b02dd594dd1f1402059a1d3ba5ae","233f2de1a6341e6de3b9c27825da6098f4e5d27eb89b09bd97399d64f1ec5fef","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","de7c04de8764667ac8981c3067b5a68f37db3d53b450c819f3368fb22be9af7b","cf49cdb64a4e3958c9f1954ba943d77296b4af307ad22e0dc3b04004044d9de0","fe0fc883e4c63584434e8b04c53cda53c54e2ddab725bb3b25a73d26712f6b51","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","63a9f42bb397753a62c683dda5329a13b46e2bc09c3558a3118fdd0e6f25b7f6","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","6bdbe574442ad9cc81e2e0d150036e886d3711f48e7734fe7ecb6e7dfe1cf988","45c19702e9baac7bb30bbc1c2ef0458457f24fffd1d1ccb219cc2f29edaa0498","d8cac0978bfb1df1f260af8193721d974959aece2b3ae81e8e9aa2da3d4e3e7c","c8d113d442ce7d757244e9ca2616396c5d9bd5076d3f14c66851d1561d34b943","6f990bd8d1f3e359d43624ceb4ff64f19708601caa8bf3f66430e288bdd7219c","dbd4e3c1c81a350659f3ba09d931a953c37f6ea39d9e5880decfb22130fbbf70",{"version":"9cdedcd721a1ceea841b1f52ebeaa7f9a9ba8306fe87b30eab0d8424ff6b079c","signature":"f7259d8fdba499d2f6248c2d06f8abd6697a955fd90c85492a46a1e462ff6ebe"},{"version":"8ebaff55af49b8aec67a12ea155898ba65102122ea719fe48386dedce4e7a92c","signature":"45a2137aa9e55e05886a9f441c94a4a461dab548e859d4dff1d4ad922b7c9842"},"ba8691cf6bea9d53e6bf6cbc22af964a9633a21793981a1be3dce65e7a714d8b","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"bce910d9164785c9f0d4dcea4be359f5f92130c7c7833dea6138ab1db310a1f9","affectsGlobalScope":true},"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3",{"version":"7c387a02bf156d8d45667134d32518ac3ca1b99ca50ca9deff2c1a03eb6d1a81","affectsGlobalScope":true},"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","f993522fd7d01ae1ead930091fe35130b8415720d6c2123dc2a7e8eb11bb3cba",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","b787b5b54349a24f07d089b612a9fb8ff024dbbe991ff52ea2b188a6b1230644","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","df6d4b6ba1e64f682091862faa30104e93891f9e7202d006bf5e7a88ab4a0dbe","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"c2fcbd6fad600e96fee8c5df1a62e908d477f5b47a9374b2bab7e74f52cfcc92","affectsGlobalScope":true},"5e3f2470ce8038c4005ff1baff18a69848383f431d6817d453e70d66e037f4a2","cc68e79b99f80e4dfd01967ec96be69efb0ff5bd7f779d9a2cc09dfe590ffd28","91d3d8f536f22dcaeeace0fc6f3544d3562e266a27cf3a2fe280b8051af5d006","9503113febdd737095465792cc074d541902c82c0aea3922f940de18784812ad","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","ff1bad1849903b15fba47f3c29bdec5f97324874c93933a89b2bca28a23977fb","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda",{"version":"d9b4afd96c3c0ff70e90d05ef022e582b102e665e9029d34940472dc3058360e","affectsGlobalScope":true},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"22d7b95cb63dead43834ae20ee492c9c8b6d90db3957d21665199f0efb1d3e26","affectsGlobalScope":true},{"version":"a9fc1469744055a3435f203123246b96c094e7ff8c4e1c3863829d9b705b7a34","affectsGlobalScope":true},"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"d5be4343a9ace4611f04a6fffd91ceba91265fa15bfb0149306e0a6963e1a015","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":99,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[112,124,126],[112],[112,120,121],[112,120,121,122,123],[112,125],[112,127],[66,112],[69,112],[70,75,103,112],[71,82,83,90,100,111,112],[71,72,82,90,112],[73,112],[74,75,83,91,112],[75,100,108,112],[76,78,82,90,112],[77,112],[78,79,112],[82,112],[80,82,112],[82,83,84,100,111,112],[82,83,84,97,100,103,112],[112,116],[78,82,85,90,100,111,112],[82,83,85,86,90,100,108,111,112],[85,87,100,108,111,112],[66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118],[82,88,112],[89,111,112],[78,82,90,100,112],[91,112],[92,112],[69,93,112],[94,110,112,116],[95,112],[96,112],[82,97,98,112],[97,99,112,114],[70,82,100,101,102,103,112],[70,100,102,112],[100,101,112],[103,112],[104,112],[100,112],[82,106,107,112],[106,107,112],[75,90,100,108,112],[109,112],[90,110,112],[70,85,96,111,112],[75,112],[100,112,113],[112,114],[112,115],[70,75,82,84,93,100,111,112,114,116],[100,112,117],[48,49,50,52,54,56,58,59,60,61,62,63,64,112],[48,112],[48,53,112],[48,55,112],[48,51,112],[48,57,112],[44,112],[44,45,46,47,112],[43,112],[43,44,112],[48,64],[48]],"referencedMap":[[127,1],[120,2],[122,3],[124,4],[123,3],[121,2],[126,5],[125,2],[128,6],[66,7],[67,7],[69,8],[70,9],[71,10],[72,11],[73,12],[74,13],[75,14],[76,15],[77,16],[78,17],[79,17],[81,18],[80,19],[82,18],[83,20],[84,21],[68,22],[118,2],[85,23],[86,24],[87,25],[119,26],[88,27],[89,28],[90,29],[91,30],[92,31],[93,32],[94,33],[95,34],[96,35],[97,36],[98,36],[99,37],[100,38],[102,39],[101,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[110,48],[111,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[65,56],[64,57],[63,57],[54,58],[53,57],[56,59],[55,57],[61,57],[50,57],[60,57],[49,57],[52,60],[51,57],[58,61],[57,57],[59,57],[62,57],[46,2],[45,62],[43,2],[48,63],[44,64],[47,65]],"exportedModulesMap":[[127,1],[120,2],[122,3],[124,4],[123,3],[121,2],[126,5],[125,2],[128,6],[66,7],[67,7],[69,8],[70,9],[71,10],[72,11],[73,12],[74,13],[75,14],[76,15],[77,16],[78,17],[79,17],[81,18],[80,19],[82,18],[83,20],[84,21],[68,22],[118,2],[85,23],[86,24],[87,25],[119,26],[88,27],[89,28],[90,29],[91,30],[92,31],[93,32],[94,33],[95,34],[96,35],[97,36],[98,36],[99,37],[100,38],[102,39],[101,40],[103,41],[104,42],[105,43],[106,44],[107,45],[108,46],[109,47],[110,48],[111,49],[112,50],[113,51],[114,52],[115,53],[116,54],[117,55],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[65,66],[64,67],[63,57],[54,58],[53,57],[56,59],[55,57],[61,57],[50,57],[60,57],[49,57],[52,60],[51,57],[58,61],[57,57],[59,57],[62,57],[46,2],[45,62],[43,2],[48,63],[44,64],[47,65]],"semanticDiagnosticsPerFile":[127,120,122,124,123,121,126,125,128,66,67,69,70,71,72,73,74,75,76,77,78,79,81,80,82,83,84,68,118,85,86,87,119,88,89,90,91,92,93,94,95,96,97,98,99,100,102,101,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,65,64,63,54,53,56,55,61,50,60,49,52,51,58,57,59,62,46,45,43,48,44,47]},"version":"4.9.5"}
1
+ {"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../teleport-types/dist/cjs/helper.d.ts","../../../teleport-types/dist/cjs/uidl.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-types/dist/cjs/generators.d.ts","../../../teleport-types/dist/cjs/errors.d.ts","../../../teleport-types/dist/cjs/vuidl.d.ts","../../../teleport-types/dist/cjs/index.d.ts","../../../teleport-plugin-react-base-component/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-inline-styles/dist/cjs/index.d.ts","../../../teleport-plugin-react-jss/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-jss/dist/cjs/index.d.ts","../../../teleport-plugin-css-modules/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css-modules/dist/cjs/index.d.ts","../../../teleport-plugin-css/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-react-styled-components/dist/cjs/index.d.ts","../../../teleport-plugin-react-styled-jsx/dist/cjs/index.d.ts","../../../teleport-plugin-jsx-proptypes/dist/cjs/index.d.ts","../../../teleport-plugin-import-statements/dist/cjs/index.d.ts","../../../teleport-postprocessor-prettier-jsx/dist/cjs/index.d.ts","../../../teleport-component-generator/dist/cjs/index.d.ts","../../src/react-mapping.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","c4f7e2add901536e83f79058448f366acb5ce1f0251bf9a5ae17c83ce05e0b09","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","dff2c83d88067791b25fd1c3126a753311ddb954c0ce6dd9c968faef32e84117","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","f29399e10ced2ff9ecbe07448806c44dfcb87dcf281cb7ccac3061174c3cae37","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","ba1f8bfcf67a46c1839a232ed1dc0c17f636b02dd594dd1f1402059a1d3ba5ae","233f2de1a6341e6de3b9c27825da6098f4e5d27eb89b09bd97399d64f1ec5fef","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","de7c04de8764667ac8981c3067b5a68f37db3d53b450c819f3368fb22be9af7b","0f33288673df76c6aadf0e30f7e8dfd4f90ef598e79ce39292761ab015b74319","fe0fc883e4c63584434e8b04c53cda53c54e2ddab725bb3b25a73d26712f6b51","d9073e5cceff020600ceb1d43e1df68fcaee78d21ab2dd79e19746a68c9064c6","d5dc69e730cae3d85fe6cc9c62202777fdf808601ea1f5cb73d77d8494d1a818","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","6bdbe574442ad9cc81e2e0d150036e886d3711f48e7734fe7ecb6e7dfe1cf988","de1d812aed36782ae60228c956b43ca81776ef501b5eb8094a9feca27818bd41","d8cac0978bfb1df1f260af8193721d974959aece2b3ae81e8e9aa2da3d4e3e7c","c8d113d442ce7d757244e9ca2616396c5d9bd5076d3f14c66851d1561d34b943","6f990bd8d1f3e359d43624ceb4ff64f19708601caa8bf3f66430e288bdd7219c","dbd4e3c1c81a350659f3ba09d931a953c37f6ea39d9e5880decfb22130fbbf70",{"version":"7f03f92eed3cd042629c956a0bbe4ae81c56a1ec773af39ace1ea27aae02af49","signature":"f7259d8fdba499d2f6248c2d06f8abd6697a955fd90c85492a46a1e462ff6ebe"},{"version":"b28d52c19c31f6ded9652d1eb2c3dc0afb3142cc2d65eb459b72aa7f234a5bfa","signature":"45a2137aa9e55e05886a9f441c94a4a461dab548e859d4dff1d4ad922b7c9842"},"0b4bc32128fda7bb0752cf284730dd3a817aae04a3d7f92e3b2d54bd61362fe1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"5f290ea7efbe9d8431e10df12c0d5672b67988e7c171c2d356749fac70347a55","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"49c89f8fa09d21c161e6a367448639e032f42d77cc2ec8ab54ecb8fa9a3ad59f","affectsGlobalScope":true},"e4b50850c2a62c7750428e452ee24b167180104d514d5e5c0ca691753365f610","304504c854c47a55ab4a89111a27a2daf8a3614740bd787cc1f2c51e5574239c",{"version":"95f9129a37dcace36e17b061a8484952586ecfe928c9c8ce526de1a2f4aaefa7","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","0f9061846236850a872cb44097d071631e93c8749a8b16c191fe3c2a48faede4","e46fa644658c2d6e5c85e954ea76b92c97d63f0851d3ccdab8c2a80d5962aaa9","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","a307d22a0130ac94c1a17fffa6d57ac272deb5838cb966a9420911d259cdf1be","d2e415abf6cb81ac9e2700b4db5ea7be76b997e812285b8e5e1e414eb2750b6e","09d6cebdced6aa1181ac1523c8f22a133f5ed80589678b64051f0602f0518374",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"7c35691dc3972ff1507d8dd279d833f540973d0917bde22e191cf7a8feaac29f","affectsGlobalScope":true},"62662d7a886e5cfa870685720fd27b763743ca4d2cf29326f75d76606a64eadd","b8c670688bd228d3cc9c169690b09b687188c50ff263a94df63b207701105ad9","d8e16905907111390d5a943816306ae997dfe56476f14142166f8b13ee322eea","8068c911a1c40bc6c5ffc58c625b21d807778f6aa6d63a73e6f04f88bcac5b79","a1dbce56ad5f3a37caafb9033c9d190a199217d673f5fa099c8968d471a2fdaa","c6f77efcc19f51c8759779b6b6ee0d88046c15c15dadac8ffed729a6620daf39",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"269d0ea3202820c29a32c1f2a357837a4f1918426844f7e7c90af15ec40d1dc1","66432f885e30cf471573de22a5af5eca9ab46b37b122aec98beadf77e9b7df24","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"034e635df3c014df1d6b1110b724ca0c4d2d324b45a84974c7d6931f9cf95ea7","affectsGlobalScope":true},{"version":"87f9456115554cb0f78f098ddbd585096871c19d2d05274c1b1b4ade3151da78","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","da618f0ea09d95c3b51514de43bf97dab008c85bede58aa57cf95e4984c7c957","48a35b181ecf47dbbc0a7ab4b5ba778d91eaa838ba42bf4aaaead42be77ef39a","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","5195aeb0de306d1c5ca8033457fbcab5987657112fa6d4971cfeb7644493a369","c5dbf0003bc9f0f643e54cd00a3868d1afe85497fecb56be6f2373dc85102924",{"version":"ce73eb199c4bf96c015f069aac161488ed73ebeaea3d87b6d5aa9a968a7b38d4","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","962f105729d5b888c8b70e193f6020ee92c6c8144c827de40f80d65dd188ad7f","ac74e2b754fba690036f8221d978f6debb867462b87af254f24e924b677395d0","80858f6de9af22e53aff221fe3590215ea544c2aeb2cc60cf8e08a9c785c8fef",{"version":"068b8ee5c2cd90d7a50f2efadbbe353cb10196a41189a48bf4b2a867363012b4","affectsGlobalScope":true},{"version":"340659b96782f5813aad6c1f89ea1b83b2f3fa993115c7b30366375d9bae5a4e","affectsGlobalScope":true},"6f44a190351ab5e1811abebe007cf60518044772ccc08244f9f241706afa767f","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","cf45d0510b661f1da461479851ff902f188edb111777c37055eff12fa986a23a",{"version":"895ca532c15c77cbb6a871af1870b57bcd0ca4f38a1bd69669dd0e95bb58565a","affectsGlobalScope":true},"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":99,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[158,160],[154,155],[154,155,156,157],[159],[161],[67],[103],[104,109,137],[105,116,117,124,134,145],[105,106,116,124],[107,146],[108,109,117,125],[109,134,142],[110,112,116,124],[103,111],[112,113],[116],[114,116],[103,116],[116,117,118,134,145],[116,117,118,131,134,137],[101,150],[112,116,119,124,134,145],[116,117,119,120,124,134,142,145],[119,121,134,142,145],[67,68,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],[116,122],[123,145,150],[112,116,124,134],[125],[126],[103,127],[128,144,150],[129],[130],[116,131,132],[131,133,146,148],[104,116,134,135,136,137],[104,134,136],[134,135],[137],[138],[103,134],[116,140,141],[140,141],[109,124,134,142],[143],[124,144],[104,119,130,145],[109,146],[134,147],[123,148],[149],[104,109,116,118,127,134,145,148,150],[134,151],[78,82,145],[78,134,145],[73],[75,78,142,145],[124,142],[153],[73,153],[75,78,124,145],[70,71,74,77,104,116,134,145],[70,76],[74,78,104,137,145,153],[104,153],[94,104,153],[72,73,153],[78],[72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,90,91,92,93,95,96,97,98,99,100],[78,85,86],[76,78,86,87],[77],[70,73,78],[78,82,86,87],[82],[76,78,81,145],[70,75,76,78,82,85],[104,134],[73,78,94,104,150,153],[49,50,51,53,55,57,59,60,61,62,63,64,65],[49],[49,54],[49,56],[49,52],[49,58],[44,45],[44,46,47,48],[43],[43,44],[49,65]],"referencedMap":[[161,1],[156,2],[158,3],[157,2],[160,4],[162,5],[67,6],[68,6],[103,7],[104,8],[105,9],[106,10],[107,11],[108,12],[109,13],[110,14],[111,15],[112,16],[113,16],[115,17],[114,18],[116,19],[117,20],[118,21],[102,22],[119,23],[120,24],[121,25],[153,26],[122,27],[123,28],[124,29],[125,30],[126,31],[127,32],[128,33],[129,34],[130,35],[131,36],[132,36],[133,37],[134,38],[136,39],[135,40],[137,41],[138,42],[139,43],[140,44],[141,45],[142,46],[143,47],[144,48],[145,49],[146,50],[147,51],[148,52],[149,53],[150,54],[151,55],[85,56],[92,57],[84,56],[99,58],[76,59],[75,60],[98,61],[93,62],[96,63],[78,64],[77,65],[73,66],[72,67],[95,68],[74,69],[79,70],[83,70],[101,71],[100,70],[87,72],[88,73],[90,74],[86,75],[89,76],[94,61],[81,77],[82,78],[91,79],[71,80],[97,81],[66,82],[65,83],[64,83],[55,84],[54,83],[57,85],[56,83],[62,83],[51,83],[61,83],[50,83],[53,86],[52,83],[59,87],[58,83],[60,83],[63,83],[46,88],[49,89],[44,90],[48,91]],"exportedModulesMap":[[161,1],[156,2],[158,3],[157,2],[160,4],[162,5],[67,6],[68,6],[103,7],[104,8],[105,9],[106,10],[107,11],[108,12],[109,13],[110,14],[111,15],[112,16],[113,16],[115,17],[114,18],[116,19],[117,20],[118,21],[102,22],[119,23],[120,24],[121,25],[153,26],[122,27],[123,28],[124,29],[125,30],[126,31],[127,32],[128,33],[129,34],[130,35],[131,36],[132,36],[133,37],[134,38],[136,39],[135,40],[137,41],[138,42],[139,43],[140,44],[141,45],[142,46],[143,47],[144,48],[145,49],[146,50],[147,51],[148,52],[149,53],[150,54],[151,55],[85,56],[92,57],[84,56],[99,58],[76,59],[75,60],[98,61],[93,62],[96,63],[78,64],[77,65],[73,66],[72,67],[95,68],[74,69],[79,70],[83,70],[101,71],[100,70],[87,72],[88,73],[90,74],[86,75],[89,76],[94,61],[81,77],[82,78],[91,79],[71,80],[97,81],[66,92],[65,83],[64,83],[55,84],[54,83],[57,85],[56,83],[62,83],[51,83],[61,83],[50,83],[53,86],[52,83],[59,87],[58,83],[60,83],[63,83],[46,88],[49,89],[44,90],[48,91]],"semanticDiagnosticsPerFile":[45,161,154,156,158,157,155,160,159,162,67,68,103,104,105,106,107,108,109,110,111,112,113,115,114,116,117,118,102,152,119,120,121,153,122,123,124,125,126,127,128,129,130,131,132,133,134,136,135,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,69,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,85,92,84,99,76,75,98,93,96,78,77,73,72,95,74,79,80,83,70,101,100,87,88,90,86,89,94,81,82,91,71,97,66,65,64,55,54,57,56,62,51,61,50,53,52,59,58,60,63,47,46,43,49,44,48]},"version":"4.9.5"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teleporthq/teleport-component-generator-react",
3
- "version": "0.38.0-alpha.0",
3
+ "version": "0.38.0",
4
4
  "description": "Component generator customization, capable of creating React components with a number of different style flavors",
5
5
  "author": "teleportHQ",
6
6
  "license": "MIT",
@@ -24,19 +24,19 @@
24
24
  "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs"
25
25
  },
26
26
  "dependencies": {
27
- "@teleporthq/teleport-component-generator": "^0.37.1-alpha.0",
28
- "@teleporthq/teleport-plugin-css": "^0.38.0-alpha.0",
29
- "@teleporthq/teleport-plugin-css-modules": "^0.38.0-alpha.0",
30
- "@teleporthq/teleport-plugin-import-statements": "^0.38.0-alpha.0",
31
- "@teleporthq/teleport-plugin-jsx-inline-styles": "^0.38.0-alpha.0",
32
- "@teleporthq/teleport-plugin-jsx-proptypes": "^0.38.0-alpha.0",
33
- "@teleporthq/teleport-plugin-react-base-component": "^0.38.0-alpha.0",
34
- "@teleporthq/teleport-plugin-react-jss": "^0.38.0-alpha.0",
35
- "@teleporthq/teleport-plugin-react-styled-components": "^0.38.0-alpha.0",
36
- "@teleporthq/teleport-plugin-react-styled-jsx": "^0.38.0-alpha.0",
37
- "@teleporthq/teleport-postprocessor-prettier-jsx": "^0.36.0-alpha.0",
38
- "@teleporthq/teleport-shared": "^0.36.0-alpha.0",
39
- "@teleporthq/teleport-types": "^0.36.0-alpha.0"
27
+ "@teleporthq/teleport-component-generator": "^0.38.0",
28
+ "@teleporthq/teleport-plugin-css": "^0.38.0",
29
+ "@teleporthq/teleport-plugin-css-modules": "^0.38.0",
30
+ "@teleporthq/teleport-plugin-import-statements": "^0.38.0",
31
+ "@teleporthq/teleport-plugin-jsx-inline-styles": "^0.38.0",
32
+ "@teleporthq/teleport-plugin-jsx-proptypes": "^0.38.0",
33
+ "@teleporthq/teleport-plugin-react-base-component": "^0.38.0",
34
+ "@teleporthq/teleport-plugin-react-jss": "^0.38.0",
35
+ "@teleporthq/teleport-plugin-react-styled-components": "^0.38.0",
36
+ "@teleporthq/teleport-plugin-react-styled-jsx": "^0.38.0",
37
+ "@teleporthq/teleport-postprocessor-prettier-jsx": "^0.38.0",
38
+ "@teleporthq/teleport-shared": "^0.38.0",
39
+ "@teleporthq/teleport-types": "^0.38.0"
40
40
  },
41
- "gitHead": "1980115403a1773980f2b4bd78fd366f1fca58da"
41
+ "gitHead": "548a7be5f9a1724936fab263db22261cecd2dc91"
42
42
  }
package/src/index.ts CHANGED
@@ -15,47 +15,44 @@ import {
15
15
  GeneratorFactoryParams,
16
16
  } from '@teleporthq/teleport-types'
17
17
  import { createComponentGenerator } from '@teleporthq/teleport-component-generator'
18
-
19
18
  import { ReactMapping } from './react-mapping'
20
19
 
20
+ const cssPlugin = createCSSPlugin({
21
+ templateChunkName: 'jsx-component',
22
+ templateStyle: 'jsx',
23
+ declareDependency: 'import',
24
+ classAttributeName: 'className',
25
+ })
26
+ const cssModulesPlugin = createCSSModulesPlugin({ moduleExtension: true })
27
+ const reactStyledJSXPlugin = createReactStyledJSXPlugin()
28
+
29
+ const stylePlugins = {
30
+ [ReactStyleVariation.InlineStyles]: inlineStylesPlugin,
31
+ [ReactStyleVariation.StyledComponents]: reactStyledComponentsPlugin,
32
+ [ReactStyleVariation.StyledJSX]: reactStyledJSXPlugin,
33
+ [ReactStyleVariation.CSSModules]: cssModulesPlugin,
34
+ [ReactStyleVariation.CSS]: cssPlugin,
35
+ [ReactStyleVariation.ReactJSS]: reactJSSPlugin,
36
+ }
37
+
21
38
  const createReactComponentGenerator: ComponentGeneratorInstance = ({
22
39
  mappings = [],
23
40
  plugins = [],
24
41
  postprocessors = [],
25
42
  variation = ReactStyleVariation.CSSModules,
26
43
  }: GeneratorFactoryParams = {}): ComponentGenerator => {
27
- const cssPlugin = createCSSPlugin({
28
- templateChunkName: 'jsx-component',
29
- templateStyle: 'jsx',
30
- declareDependency: 'import',
31
- classAttributeName: 'className',
32
- forceScoping: true,
33
- })
34
- const cssModulesPlugin = createCSSModulesPlugin({ moduleExtension: true })
35
- const reactStyledJSXPlugin = createReactStyledJSXPlugin({ forceScoping: true })
36
-
37
- const stylePlugins = {
38
- [ReactStyleVariation.InlineStyles]: inlineStylesPlugin,
39
- [ReactStyleVariation.StyledComponents]: reactStyledComponentsPlugin,
40
- [ReactStyleVariation.StyledJSX]: reactStyledJSXPlugin,
41
- [ReactStyleVariation.CSSModules]: cssModulesPlugin,
42
- [ReactStyleVariation.CSS]: cssPlugin,
43
- [ReactStyleVariation.ReactJSS]: reactJSSPlugin,
44
- }
45
-
46
- const stylePlugin = stylePlugins[variation]
47
-
48
- if (!stylePlugin) {
49
- throw new Error(`Invalid style variation '${variation}'`)
50
- }
51
-
52
44
  const generator = createComponentGenerator()
53
45
 
54
46
  generator.addMapping(ReactMapping)
55
47
  mappings.forEach((mapping) => generator.addMapping(mapping))
56
48
 
57
49
  generator.addPlugin(reactComponentPlugin)
58
- generator.addPlugin(stylePlugin)
50
+
51
+ if (variation && stylePlugins[variation]) {
52
+ const stylePlugin = stylePlugins[variation]
53
+ generator.addPlugin(stylePlugin)
54
+ }
55
+
59
56
  generator.addPlugin(propTypesPlugin)
60
57
  plugins.forEach((plugin) => generator.addPlugin(plugin))
61
58
 
@@ -2,6 +2,18 @@ import { Mapping } from '@teleporthq/teleport-types'
2
2
 
3
3
  export const ReactMapping: Mapping = {
4
4
  elements: {
5
+ fragment: {
6
+ elementType: 'Fragment',
7
+ semanticType: 'Fragment',
8
+ dependency: {
9
+ type: 'library',
10
+ path: 'react',
11
+ version: '^17.0.2',
12
+ meta: {
13
+ namedImport: true,
14
+ },
15
+ },
16
+ },
5
17
  group: {
6
18
  elementType: 'Fragment',
7
19
  dependency: {
@@ -33,11 +45,11 @@ export const ReactMapping: Mapping = {
33
45
  },
34
46
  },
35
47
  'markdown-node': {
36
- elementType: 'Markdown',
48
+ elementType: 'ReactMarkdown',
37
49
  dependency: {
38
50
  type: 'package',
39
- path: 'markdown-to-jsx',
40
- version: '7.2.0',
51
+ path: 'react-markdown',
52
+ version: '8.0.7',
41
53
  },
42
54
  },
43
55
  'html-node': {
@@ -56,7 +68,7 @@ export const ReactMapping: Mapping = {
56
68
  dependency: {
57
69
  type: 'package',
58
70
  path: '@teleporthq/react-components',
59
- version: 'github:teleporthq/thq-react-components',
71
+ version: 'latest',
60
72
  meta: {
61
73
  namedImport: true,
62
74
  },
@@ -97,6 +109,7 @@ export const ReactMapping: Mapping = {
97
109
  readonly: 'readOnly',
98
110
  class: 'className',
99
111
  contenteditable: 'contentEditable',
112
+ srcset: 'srcSet',
100
113
  },
101
114
  illegalClassNames: ['React', 'Fragment', 'ReactDOM', 'PropTypes'],
102
115
  }