@teleporthq/teleport-plugin-react-styled-jsx 0.38.0-alpha.0 → 0.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,7 @@ describe('Component Scoped Styles', () => {
38
38
 
39
39
  expect(chunks.length).toBe(1)
40
40
  expect(styles).toContain('primary-navbar')
41
- expect(styles).toContain('.secondary-navbar')
41
+ expect(styles).toContain('.my-componentsecondary-navbar')
42
42
  })
43
43
 
44
44
  it('Generates style sheet and adds them to the node with JSX template', async () => {
@@ -1,7 +1,6 @@
1
1
  import { ComponentPluginFactory, ComponentPlugin } from '@teleporthq/teleport-types';
2
2
  interface StyledJSXConfig {
3
3
  componentChunkName: string;
4
- forceScoping: boolean;
5
4
  }
6
5
  export declare const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>;
7
6
  declare const _default: ComponentPlugin;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAGhB,MAAM,4BAA4B,CAAA;AAInC,UAAU,eAAe;IACvB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,0BAA0B,EAAE,sBAAsB,CAAC,eAAe,CAyN9E,CAAA;;AAED,wBAA2C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAKhB,MAAM,4BAA4B,CAAA;AAInC,UAAU,eAAe;IACvB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAiBD,eAAO,MAAM,0BAA0B,EAAE,sBAAsB,CAAC,eAAe,CA0N9E,CAAA;;AAED,wBAA2C"}
package/dist/cjs/index.js CHANGED
@@ -65,11 +65,24 @@ var teleport_plugin_common_1 = require("@teleporthq/teleport-plugin-common");
65
65
  var teleport_types_1 = require("@teleporthq/teleport-types");
66
66
  var utils_1 = require("./utils");
67
67
  var types = __importStar(require("@babel/types"));
68
+ var transformStyle = function (style, propsPrefix) {
69
+ return teleport_shared_1.UIDLUtils.transformDynamicStyles(style, function (styleValue) {
70
+ switch (styleValue.content.referenceType) {
71
+ case 'token':
72
+ return "var(".concat(teleport_shared_1.StringUtils.generateCSSVariableName(styleValue.content.id), ")");
73
+ case 'prop':
74
+ return "${".concat(propsPrefix, ".").concat(styleValue.content.id, "}");
75
+ default:
76
+ throw new teleport_types_1.PluginStyledJSX("Error running transformDynamicStyles in reactStyledJSXChunkPlugin.\n\n Unsupported styleValue.content.referenceType value ".concat(styleValue.content.referenceType));
77
+ }
78
+ });
79
+ };
68
80
  var createReactStyledJSXPlugin = function (config) {
69
- var _a = config || {}, _b = _a.componentChunkName, componentChunkName = _b === void 0 ? 'jsx-component' : _b, _c = _a.forceScoping, forceScoping = _c === void 0 ? false : _c;
81
+ var _a = (config || {}).componentChunkName, componentChunkName = _a === void 0 ? 'jsx-component' : _a;
70
82
  var reactStyledJSXPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
71
- var uidl, chunks, options, projectStyleSet, node, _a, componentStyleSheet, _b, propDefinitions, componentChunk, jsxNodesLookup, propsPrefix, mediaStylesMap, classMap, transformStyle, styleJSXAST, rootJSXNode, originalRootNode, componentAST, arrowFnExpr, bodyStatement, returnStatement;
72
- return __generator(this, function (_c) {
83
+ var uidl, chunks, options, projectStyleSet, node, _a, componentStyleSheet, _b, propDefinitions, componentChunk, jsxNodesLookup, propsPrefix, mediaStylesMap, classMap, generateStylesForElementNode, _i, _c, prop, styleJSXAST, rootJSXNode, originalRootNode, componentAST, arrowFnExpr, bodyStatement, returnStatement;
84
+ var _d, _e;
85
+ return __generator(this, function (_f) {
73
86
  uidl = structure.uidl, chunks = structure.chunks, options = structure.options;
74
87
  projectStyleSet = options.projectStyleSet;
75
88
  node = uidl.node, _a = uidl.styleSetDefinitions, componentStyleSheet = _a === void 0 ? {} : _a, _b = uidl.propDefinitions, propDefinitions = _b === void 0 ? {} : _b;
@@ -81,41 +94,31 @@ var createReactStyledJSXPlugin = function (config) {
81
94
  propsPrefix = componentChunk.meta.dynamicRefPrefix.prop;
82
95
  mediaStylesMap = {};
83
96
  classMap = [];
84
- transformStyle = function (style) {
85
- return teleport_shared_1.UIDLUtils.transformDynamicStyles(style, function (styleValue) {
86
- switch (styleValue.content.referenceType) {
87
- case 'token':
88
- return "var(".concat(teleport_shared_1.StringUtils.generateCSSVariableName(styleValue.content.id), ")");
89
- case 'prop':
90
- return "${".concat(propsPrefix, ".").concat(styleValue.content.id, "}");
91
- default:
92
- throw new teleport_types_1.PluginStyledJSX("Error running transformDynamicStyles in reactStyledJSXChunkPlugin.\n\n Unsupported styleValue.content.referenceType value ".concat(styleValue.content.referenceType));
93
- }
94
- });
95
- };
96
- teleport_shared_1.UIDLUtils.traverseElements(node, function (element) {
97
+ generateStylesForElementNode = function (element) {
97
98
  var classNamesToAppend = new Set();
98
99
  var dynamicVariantsToAppend = new Set();
99
100
  var _a = element.style, style = _a === void 0 ? {} : _a, key = element.key, _b = element.referencedStyles, referencedStyles = _b === void 0 ? {} : _b, _c = element.attrs, attrs = _c === void 0 ? {} : _c, dependency = element.dependency, elementType = element.elementType;
100
- var elementClassName = teleport_shared_1.StringUtils.camelCaseToDashCase(key);
101
- var className = getClassName(forceScoping, uidl.name, elementClassName);
102
- if (forceScoping && (dependency === null || dependency === void 0 ? void 0 : dependency.type) === 'local') {
101
+ if (key === undefined) {
102
+ throw new Error("Key is missing for element \n ".concat(JSON.stringify(element, null, 2)));
103
+ }
104
+ var className = teleport_shared_1.StringUtils.camelCaseToDashCase(key);
105
+ var root = jsxNodesLookup[key];
106
+ if (!root) {
107
+ throw new teleport_types_1.PluginStyledJSX("Element \n ".concat(JSON.stringify(element, null, 2), " \n with key ").concat(key, " is missing from the template chunk of component ").concat(uidl.name));
108
+ }
109
+ if ((dependency === null || dependency === void 0 ? void 0 : dependency.type) === 'local') {
103
110
  teleport_plugin_common_1.StyleBuilders.setPropValueForCompStyle({
104
- key: key,
105
- jsxNodesLookup: jsxNodesLookup,
111
+ root: root,
106
112
  attrs: attrs,
107
- getClassName: function (str) {
108
- return getClassName(forceScoping, teleport_shared_1.StringUtils.camelCaseToDashCase(elementType), str);
109
- },
113
+ getClassName: function (str) { return teleport_shared_1.StringUtils.camelCaseToDashCase(elementType + str); },
110
114
  });
111
115
  }
112
116
  if (Object.keys(style).length === 0 && Object.keys(referencedStyles).length === 0) {
113
117
  return;
114
118
  }
115
- var root = jsxNodesLookup[key];
116
119
  // Generating the string templates for the dynamic styles
117
120
  if (Object.keys(style).length > 0) {
118
- var styleRules = transformStyle(style);
121
+ var styleRules = transformStyle(style, propsPrefix);
119
122
  classMap.push(teleport_plugin_common_1.StyleBuilders.createCSSClass(className, styleRules));
120
123
  classNamesToAppend.add(className);
121
124
  }
@@ -131,11 +134,11 @@ var createReactStyledJSXPlugin = function (config) {
131
134
  mediaStylesMap[String(maxWidth)] = [];
132
135
  }
133
136
  mediaStylesMap[String(maxWidth)].push((_a = {},
134
- _a[className] = transformStyle(styleRef.content.styles),
137
+ _a[className] = transformStyle(styleRef.content.styles, propsPrefix),
135
138
  _a));
136
139
  }
137
140
  if (condition.conditionType === 'element-state') {
138
- classMap.push(teleport_plugin_common_1.StyleBuilders.createCSSClassWithSelector(className, "&:".concat(condition.content), transformStyle(styleRef.content.styles)));
141
+ classMap.push(teleport_plugin_common_1.StyleBuilders.createCSSClassWithSelector(className, "&:".concat(condition.content), transformStyle(styleRef.content.styles, propsPrefix)));
139
142
  }
140
143
  classNamesToAppend.add(className);
141
144
  return;
@@ -151,11 +154,12 @@ var createReactStyledJSXPlugin = function (config) {
151
154
  if (!defaultPropValue) {
152
155
  return;
153
156
  }
154
- propDefinitions[styleRef.content.content.content.id].defaultValue = getClassName(forceScoping, uidl.name, String(defaultPropValue));
157
+ propDefinitions[styleRef.content.content.content.id].defaultValue =
158
+ teleport_shared_1.StringUtils.camelCaseToDashCase(String(defaultPropValue));
155
159
  }
156
160
  if (styleRef.content.content.type === 'dynamic' &&
157
161
  styleRef.content.content.content.referenceType === 'comp') {
158
- classNamesToAppend.add(getClassName(forceScoping, uidl.name, styleRef.content.content.content.id));
162
+ classNamesToAppend.add(teleport_shared_1.StringUtils.camelCaseToDashCase(styleRef.content.content.content.id));
159
163
  }
160
164
  return;
161
165
  }
@@ -174,10 +178,17 @@ var createReactStyledJSXPlugin = function (config) {
174
178
  }
175
179
  });
176
180
  teleport_plugin_common_1.ASTUtils.addClassStringOnJSXTag(root, Array.from(classNamesToAppend).join(' '), 'className', Array.from(dynamicVariantsToAppend));
177
- });
181
+ };
182
+ teleport_shared_1.UIDLUtils.traverseElements(node, generateStylesForElementNode);
183
+ for (_i = 0, _c = Object.values(propDefinitions); _i < _c.length; _i++) {
184
+ prop = _c[_i];
185
+ if (prop.type === 'element' && prop.defaultValue) {
186
+ teleport_shared_1.UIDLUtils.traverseElements(prop.defaultValue, generateStylesForElementNode);
187
+ }
188
+ }
178
189
  /* Generating component scoped styles */
179
190
  if (Object.keys(componentStyleSheet).length > 0) {
180
- teleport_plugin_common_1.StyleBuilders.generateStylesFromStyleSetDefinitions(componentStyleSheet, classMap, mediaStylesMap, function (styleName) { return getClassName(forceScoping, uidl.name, styleName); });
191
+ teleport_plugin_common_1.StyleBuilders.generateStylesFromStyleSetDefinitions(componentStyleSheet, classMap, mediaStylesMap, function (styleName) { return teleport_shared_1.StringUtils.camelCaseToDashCase(uidl.name + styleName); });
181
192
  }
182
193
  if (Object.keys(mediaStylesMap).length > 0) {
183
194
  classMap.push.apply(classMap, teleport_plugin_common_1.StyleBuilders.generateMediaStyle(mediaStylesMap));
@@ -191,7 +202,7 @@ var createReactStyledJSXPlugin = function (config) {
191
202
  rootJSXNode = teleport_plugin_common_1.ASTBuilders.createJSXTag('');
192
203
  rootJSXNode.children.push(originalRootNode);
193
204
  componentAST = componentChunk.content;
194
- arrowFnExpr = componentAST.declarations[0].init;
205
+ arrowFnExpr = (_e = (_d = componentAST.declarations) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.init;
195
206
  bodyStatement = arrowFnExpr.body;
196
207
  returnStatement = bodyStatement.body.find(function (statement) { return statement.type === 'ReturnStatement'; });
197
208
  if (!returnStatement) {
@@ -207,9 +218,4 @@ var createReactStyledJSXPlugin = function (config) {
207
218
  };
208
219
  exports.createReactStyledJSXPlugin = createReactStyledJSXPlugin;
209
220
  exports.default = (0, exports.createReactStyledJSXPlugin)();
210
- var getClassName = function (scoping, uidlName, nodeStyleName) {
211
- return scoping
212
- ? teleport_shared_1.StringUtils.camelCaseToDashCase("".concat(uidlName, "-").concat(nodeStyleName))
213
- : teleport_shared_1.StringUtils.camelCaseToDashCase(nodeStyleName);
214
- };
215
221
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAoE;AACpE,6EAAyF;AACzF,6DAKmC;AACnC,iCAA8C;AAC9C,kDAAqC;AAO9B,IAAM,0BAA0B,GAA4C,UAAC,MAAM;IAClF,IAAA,KAAiE,MAAM,IAAI,EAAE,EAA3E,0BAAoC,EAApC,kBAAkB,mBAAG,eAAe,KAAA,EAAE,oBAAoB,EAApB,YAAY,mBAAG,KAAK,KAAiB,CAAA;IAEnF,IAAM,oBAAoB,GAAoB,UAAO,SAAS;;;YACpD,IAAI,GAAsB,SAAS,KAA/B,EAAE,MAAM,GAAc,SAAS,OAAvB,EAAE,OAAO,GAAK,SAAS,QAAd,CAAc;YACnC,eAAe,GAAK,OAAO,gBAAZ,CAAY;YAC3B,IAAI,GAA0E,IAAI,KAA9E,EAAE,KAAwE,IAAI,oBAA/B,EAAxB,mBAAmB,mB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7C,UAAC,SAAS,IAAK,OAAA,SAAS,CAAC,IAAI,KAAK,iBAAiB,EAApC,CAAoC,CACpD,CAAA;YAED,IAAI,CAAC,eAAe,EAAE;gBACpB,MAAM,IAAI,gCAAe,CAAC,oDAAoD,CAAC,CAAA;aAChF;YACD,CAAC;YAAC,eAAyC,CAAC,QAAQ,GAAG,WAAW,CAAA;YAElE,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;YACtC,sBAAO,SAAS,EAAA;;SACjB,CAAA;IAED,OAAO,oBAAoB,CAAA;AAC7B,CAAC,CAAA;AA1NY,QAAA,0BAA0B,8BA0NtC;AAED,kBAAe,IAAA,kCAA0B,GAAE,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-shared/dist/cjs/constants/index.d.ts","../../../teleport-shared/dist/cjs/utils/string-utils.d.ts","../../../teleport-shared/dist/cjs/utils/uidl-utils.d.ts","../../../teleport-shared/dist/cjs/utils/generic.d.ts","../../../teleport-shared/dist/cjs/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/utils.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","afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","22c6f439ba8a0f6347a16d6fad503bb8a2fbfe778e5cf5c90918659c653c8a8c","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","ac65f04c2df0218cb8e54f012745cbfcc3c0e67c1f6b1e557d88842bbb72e2db","ce5106bc15353dd05f601ecb48fd99b152362346cbbb3b398e0d5fdc36d24b0a","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","c7b126a023fbcbe6b07edf69283b049fc3ca6958bc19934cde610a0ab5ae8ef3","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","21877b5c122b13d583bb3c58e9286cd5c007adf51467be27fc1592ebaafdb35c","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","64e43fe64a91d26169ee2bbc877135375b99ca4c5806b706f63e962528a3eb30","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","cfbee63950fddcd052c993abe94531a3d16e5273f3f14dc493fd47f78d0cdd03","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"54039b4d16b943ac81a3e239d8db01c3f1e6585778aa304fcabafe0714661e46","signature":"3dbf093ae95fa4d10b4461747a3b7ffb7fec3e95beb702c08588e4d483220f8d"},{"version":"98a8112faa02f09f7cd891a239616c6b53cc9b135e52567b04bf67a6d530303e","signature":"31e2b2bb67a3eec6c7cc4be15f5ecdf22c8bb0d260a1c47782b92b4b1393505c"},"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":[[115],[115,127,129],[115,123,124],[115,123,124,125,126],[115,128],[115,130],[69,115],[72,115],[73,78,106,115],[74,85,86,93,103,114,115],[74,75,85,93,115],[76,115],[77,78,86,94,115],[78,103,111,115],[79,81,85,93,115],[80,115],[81,82,115],[85,115],[83,85,115],[85,86,87,103,114,115],[85,86,87,100,103,106,115],[115,119],[81,85,88,93,103,114,115],[85,86,88,89,93,103,111,114,115],[88,90,103,111,114,115],[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,119,120,121],[85,91,115],[92,114,115],[81,85,93,103,115],[94,115],[95,115],[72,96,115],[97,113,115,119],[98,115],[99,115],[85,100,101,115],[100,102,115,117],[73,85,103,104,105,106,115],[73,103,105,115],[103,104,115],[106,115],[107,115],[103,115],[85,109,110,115],[109,110,115],[78,93,103,111,115],[112,115],[93,113,115],[73,88,99,114,115],[78,115],[103,115,116],[115,117],[115,118],[73,78,85,87,96,103,114,115,117,119],[103,115,120],[48,54,115],[48,115],[48,54,56,115],[55,56,57,58,59,60,61,62,63,64,65,115],[48,62,115],[48,54,64,115],[48,53,54,66,67,115],[54,66,115],[49,50,51,52,115],[44,115],[44,45,46,47,115],[43,115],[43,44,115],[48],[54]],"referencedMap":[[54,1],[130,2],[123,1],[125,3],[127,4],[126,3],[124,1],[129,5],[128,1],[131,6],[69,7],[70,7],[72,8],[73,9],[74,10],[75,11],[76,12],[77,13],[78,14],[79,15],[80,16],[81,17],[82,17],[84,18],[83,19],[85,18],[86,20],[87,21],[71,22],[121,1],[88,23],[89,24],[90,25],[122,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,32],[97,33],[98,34],[99,35],[100,36],[101,36],[102,37],[103,38],[105,39],[104,40],[106,41],[107,42],[108,43],[109,44],[110,45],[111,46],[112,47],[113,48],[114,49],[115,50],[116,51],[117,52],[118,53],[119,54],[120,55],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[55,56],[58,57],[57,58],[66,59],[63,60],[62,57],[65,61],[64,56],[59,58],[61,57],[56,1],[60,57],[68,62],[67,63],[49,57],[53,64],[52,1],[50,1],[51,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"exportedModulesMap":[[54,1],[130,2],[123,1],[125,3],[127,4],[126,3],[124,1],[129,5],[128,1],[131,6],[69,7],[70,7],[72,8],[73,9],[74,10],[75,11],[76,12],[77,13],[78,14],[79,15],[80,16],[81,17],[82,17],[84,18],[83,19],[85,18],[86,20],[87,21],[71,22],[121,1],[88,23],[89,24],[90,25],[122,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,32],[97,33],[98,34],[99,35],[100,36],[101,36],[102,37],[103,38],[105,39],[104,40],[106,41],[107,42],[108,43],[109,44],[110,45],[111,46],[112,47],[113,48],[114,49],[115,50],[116,51],[117,52],[118,53],[119,54],[120,55],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[55,56],[58,57],[57,58],[66,59],[63,60],[62,57],[65,61],[64,56],[59,58],[61,57],[56,1],[60,57],[68,69],[67,70],[49,57],[53,64],[52,1],[50,1],[51,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"semanticDiagnosticsPerFile":[54,130,123,125,127,126,124,129,128,131,69,70,72,73,74,75,76,77,78,79,80,81,82,84,83,85,86,87,71,121,88,89,90,122,91,92,93,94,95,96,97,98,99,100,101,102,103,105,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,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,55,58,57,66,63,62,65,64,59,61,56,60,68,67,49,53,52,50,51,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-shared/dist/cjs/constants/index.d.ts","../../../teleport-shared/dist/cjs/utils/string-utils.d.ts","../../../teleport-shared/dist/cjs/utils/uidl-utils.d.ts","../../../teleport-shared/dist/cjs/utils/generic.d.ts","../../../teleport-shared/dist/cjs/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/types.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/utils.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","afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","242e6ce3f14c79123c25c35660899ba483f3fdc14ac8fa4a8eee5d03231c6bc3","96adbcda030ffa1952a15192edd1b852084c9bfbbd2066e5c8d567987c466e90","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","86abd6ddb4cd3f82a3c167d53a47e2adbca6c92c91ebfe2980ded0d9812e0b18","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","dbabf6441a0629843274eefb8bfce76265c0dfd5c37b0a440d67e5c785ac1abc","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","954d24a996cb9a7af6dfb50f99e56cd0abfcc132dc425ea2c43a9d23a3470682","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"54039b4d16b943ac81a3e239d8db01c3f1e6585778aa304fcabafe0714661e46","signature":"3dbf093ae95fa4d10b4461747a3b7ffb7fec3e95beb702c08588e4d483220f8d"},{"version":"d27940263707c315de3587203b7548e5a0297d7354225b3afe94cc7bfd46a997","signature":"ec2f9b45cff09f076d1d9fff1f0e2bea9994ce0951863d55e39af18b90de91f6"},"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":[[161,163],[157,158],[157,158,159,160],[162],[164],[70],[106],[107,112,140],[108,119,120,127,137,148],[108,109,119,127],[110,149],[111,112,120,128],[112,137,145],[113,115,119,127],[106,114],[115,116],[119],[117,119],[106,119],[119,120,121,137,148],[119,120,121,134,137,140],[104,153],[115,119,122,127,137,148],[119,120,122,123,127,137,145,148],[122,124,137,145,148],[70,71,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,153,154,155],[119,125],[126,148,153],[115,119,127,137],[128],[129],[106,130],[131,147,153],[132],[133],[119,134,135],[134,136,149,151],[107,119,137,138,139,140],[107,137,139],[137,138],[140],[141],[106,137],[119,143,144],[143,144],[112,127,137,145],[146],[127,147],[107,122,133,148],[112,149],[137,150],[126,151],[152],[107,112,119,121,130,137,148,151,153],[137,154],[81,85,148],[81,137,148],[76],[78,81,145,148],[127,145],[156],[76,156],[78,81,127,148],[73,74,77,80,107,119,137,148],[73,79],[77,81,107,140,148,156],[107,156],[97,107,156],[75,76,156],[81],[75,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,98,99,100,101,102,103],[81,88,89],[79,81,89,90],[80],[73,76,81],[81,85,89,90],[85],[79,81,84,148],[73,78,79,81,85,88],[107,137],[76,81,97,107,153,156],[45,49],[49],[45,49,56],[55,56,57,58,60,61,62,63,64,65,66],[49,63],[45,49,65],[45,49,56,59],[45,49,54,67,68],[45,67],[50,51,52,53],[44,45],[44,46,47,48],[43],[43,44],[45]],"referencedMap":[[164,1],[159,2],[161,3],[160,2],[163,4],[165,5],[70,6],[71,6],[106,7],[107,8],[108,9],[109,10],[110,11],[111,12],[112,13],[113,14],[114,15],[115,16],[116,16],[118,17],[117,18],[119,19],[120,20],[121,21],[105,22],[122,23],[123,24],[124,25],[156,26],[125,27],[126,28],[127,29],[128,30],[129,31],[130,32],[131,33],[132,34],[133,35],[134,36],[135,36],[136,37],[137,38],[139,39],[138,40],[140,41],[141,42],[142,43],[143,44],[144,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[151,52],[152,53],[153,54],[154,55],[88,56],[95,57],[87,56],[102,58],[79,59],[78,60],[101,61],[96,62],[99,63],[81,64],[80,65],[76,66],[75,67],[98,68],[77,69],[82,70],[86,70],[104,71],[103,70],[90,72],[91,73],[93,74],[89,75],[92,76],[97,61],[84,77],[85,78],[94,79],[74,80],[100,81],[55,82],[58,83],[57,84],[67,85],[64,86],[63,83],[66,87],[65,82],[60,88],[62,82],[61,83],[69,89],[68,90],[50,83],[54,91],[53,83],[52,83],[46,92],[49,93],[44,94],[48,95]],"exportedModulesMap":[[164,1],[159,2],[161,3],[160,2],[163,4],[165,5],[70,6],[71,6],[106,7],[107,8],[108,9],[109,10],[110,11],[111,12],[112,13],[113,14],[114,15],[115,16],[116,16],[118,17],[117,18],[119,19],[120,20],[121,21],[105,22],[122,23],[123,24],[124,25],[156,26],[125,27],[126,28],[127,29],[128,30],[129,31],[130,32],[131,33],[132,34],[133,35],[134,36],[135,36],[136,37],[137,38],[139,39],[138,40],[140,41],[141,42],[142,43],[143,44],[144,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[151,52],[152,53],[153,54],[154,55],[88,56],[95,57],[87,56],[102,58],[79,59],[78,60],[101,61],[96,62],[99,63],[81,64],[80,65],[76,66],[75,67],[98,68],[77,69],[82,70],[86,70],[104,71],[103,70],[90,72],[91,73],[93,74],[89,75],[92,76],[97,61],[84,77],[85,78],[94,79],[74,80],[100,81],[55,82],[58,83],[57,84],[67,85],[64,86],[63,83],[66,87],[65,82],[60,88],[62,82],[61,83],[69,83],[68,96],[50,83],[54,91],[53,83],[52,83],[46,92],[49,93],[44,94],[48,95]],"semanticDiagnosticsPerFile":[45,164,157,159,161,160,158,163,162,165,70,71,106,107,108,109,110,111,112,113,114,115,116,118,117,119,120,121,105,155,122,123,124,156,125,126,127,128,129,130,131,132,133,134,135,136,137,139,138,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,72,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,88,95,87,102,79,78,101,96,99,81,80,76,75,98,77,82,83,86,73,104,103,90,91,93,89,92,97,84,85,94,74,100,55,58,57,67,64,63,66,65,60,62,56,61,59,69,68,50,54,53,51,52,47,46,43,49,44,48]},"version":"4.9.5"}
@@ -1,7 +1,6 @@
1
1
  import { ComponentPluginFactory, ComponentPlugin } from '@teleporthq/teleport-types';
2
2
  interface StyledJSXConfig {
3
3
  componentChunkName: string;
4
- forceScoping: boolean;
5
4
  }
6
5
  export declare const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>;
7
6
  declare const _default: ComponentPlugin;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAGhB,MAAM,4BAA4B,CAAA;AAInC,UAAU,eAAe;IACvB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,0BAA0B,EAAE,sBAAsB,CAAC,eAAe,CAyN9E,CAAA;;AAED,wBAA2C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAKhB,MAAM,4BAA4B,CAAA;AAInC,UAAU,eAAe;IACvB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAiBD,eAAO,MAAM,0BAA0B,EAAE,sBAAsB,CAAC,eAAe,CA0N9E,CAAA;;AAED,wBAA2C"}
package/dist/esm/index.js CHANGED
@@ -39,11 +39,24 @@ import { ASTUtils, StyleBuilders, ASTBuilders } from '@teleporthq/teleport-plugi
39
39
  import { PluginStyledJSX, } from '@teleporthq/teleport-types';
40
40
  import { generateStyledJSXTag } from './utils';
41
41
  import * as types from '@babel/types';
42
+ var transformStyle = function (style, propsPrefix) {
43
+ return UIDLUtils.transformDynamicStyles(style, function (styleValue) {
44
+ switch (styleValue.content.referenceType) {
45
+ case 'token':
46
+ return "var(".concat(StringUtils.generateCSSVariableName(styleValue.content.id), ")");
47
+ case 'prop':
48
+ return "${".concat(propsPrefix, ".").concat(styleValue.content.id, "}");
49
+ default:
50
+ throw new PluginStyledJSX("Error running transformDynamicStyles in reactStyledJSXChunkPlugin.\n\n Unsupported styleValue.content.referenceType value ".concat(styleValue.content.referenceType));
51
+ }
52
+ });
53
+ };
42
54
  export var createReactStyledJSXPlugin = function (config) {
43
- var _a = config || {}, _b = _a.componentChunkName, componentChunkName = _b === void 0 ? 'jsx-component' : _b, _c = _a.forceScoping, forceScoping = _c === void 0 ? false : _c;
55
+ var _a = (config || {}).componentChunkName, componentChunkName = _a === void 0 ? 'jsx-component' : _a;
44
56
  var reactStyledJSXPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
45
- var uidl, chunks, options, projectStyleSet, node, _a, componentStyleSheet, _b, propDefinitions, componentChunk, jsxNodesLookup, propsPrefix, mediaStylesMap, classMap, transformStyle, styleJSXAST, rootJSXNode, originalRootNode, componentAST, arrowFnExpr, bodyStatement, returnStatement;
46
- return __generator(this, function (_c) {
57
+ var uidl, chunks, options, projectStyleSet, node, _a, componentStyleSheet, _b, propDefinitions, componentChunk, jsxNodesLookup, propsPrefix, mediaStylesMap, classMap, generateStylesForElementNode, _i, _c, prop, styleJSXAST, rootJSXNode, originalRootNode, componentAST, arrowFnExpr, bodyStatement, returnStatement;
58
+ var _d, _e;
59
+ return __generator(this, function (_f) {
47
60
  uidl = structure.uidl, chunks = structure.chunks, options = structure.options;
48
61
  projectStyleSet = options.projectStyleSet;
49
62
  node = uidl.node, _a = uidl.styleSetDefinitions, componentStyleSheet = _a === void 0 ? {} : _a, _b = uidl.propDefinitions, propDefinitions = _b === void 0 ? {} : _b;
@@ -55,41 +68,31 @@ export var createReactStyledJSXPlugin = function (config) {
55
68
  propsPrefix = componentChunk.meta.dynamicRefPrefix.prop;
56
69
  mediaStylesMap = {};
57
70
  classMap = [];
58
- transformStyle = function (style) {
59
- return UIDLUtils.transformDynamicStyles(style, function (styleValue) {
60
- switch (styleValue.content.referenceType) {
61
- case 'token':
62
- return "var(".concat(StringUtils.generateCSSVariableName(styleValue.content.id), ")");
63
- case 'prop':
64
- return "${".concat(propsPrefix, ".").concat(styleValue.content.id, "}");
65
- default:
66
- throw new PluginStyledJSX("Error running transformDynamicStyles in reactStyledJSXChunkPlugin.\n\n Unsupported styleValue.content.referenceType value ".concat(styleValue.content.referenceType));
67
- }
68
- });
69
- };
70
- UIDLUtils.traverseElements(node, function (element) {
71
+ generateStylesForElementNode = function (element) {
71
72
  var classNamesToAppend = new Set();
72
73
  var dynamicVariantsToAppend = new Set();
73
74
  var _a = element.style, style = _a === void 0 ? {} : _a, key = element.key, _b = element.referencedStyles, referencedStyles = _b === void 0 ? {} : _b, _c = element.attrs, attrs = _c === void 0 ? {} : _c, dependency = element.dependency, elementType = element.elementType;
74
- var elementClassName = StringUtils.camelCaseToDashCase(key);
75
- var className = getClassName(forceScoping, uidl.name, elementClassName);
76
- if (forceScoping && (dependency === null || dependency === void 0 ? void 0 : dependency.type) === 'local') {
75
+ if (key === undefined) {
76
+ throw new Error("Key is missing for element \n ".concat(JSON.stringify(element, null, 2)));
77
+ }
78
+ var className = StringUtils.camelCaseToDashCase(key);
79
+ var root = jsxNodesLookup[key];
80
+ if (!root) {
81
+ throw new PluginStyledJSX("Element \n ".concat(JSON.stringify(element, null, 2), " \n with key ").concat(key, " is missing from the template chunk of component ").concat(uidl.name));
82
+ }
83
+ if ((dependency === null || dependency === void 0 ? void 0 : dependency.type) === 'local') {
77
84
  StyleBuilders.setPropValueForCompStyle({
78
- key: key,
79
- jsxNodesLookup: jsxNodesLookup,
85
+ root: root,
80
86
  attrs: attrs,
81
- getClassName: function (str) {
82
- return getClassName(forceScoping, StringUtils.camelCaseToDashCase(elementType), str);
83
- },
87
+ getClassName: function (str) { return StringUtils.camelCaseToDashCase(elementType + str); },
84
88
  });
85
89
  }
86
90
  if (Object.keys(style).length === 0 && Object.keys(referencedStyles).length === 0) {
87
91
  return;
88
92
  }
89
- var root = jsxNodesLookup[key];
90
93
  // Generating the string templates for the dynamic styles
91
94
  if (Object.keys(style).length > 0) {
92
- var styleRules = transformStyle(style);
95
+ var styleRules = transformStyle(style, propsPrefix);
93
96
  classMap.push(StyleBuilders.createCSSClass(className, styleRules));
94
97
  classNamesToAppend.add(className);
95
98
  }
@@ -105,11 +108,11 @@ export var createReactStyledJSXPlugin = function (config) {
105
108
  mediaStylesMap[String(maxWidth)] = [];
106
109
  }
107
110
  mediaStylesMap[String(maxWidth)].push((_a = {},
108
- _a[className] = transformStyle(styleRef.content.styles),
111
+ _a[className] = transformStyle(styleRef.content.styles, propsPrefix),
109
112
  _a));
110
113
  }
111
114
  if (condition.conditionType === 'element-state') {
112
- classMap.push(StyleBuilders.createCSSClassWithSelector(className, "&:".concat(condition.content), transformStyle(styleRef.content.styles)));
115
+ classMap.push(StyleBuilders.createCSSClassWithSelector(className, "&:".concat(condition.content), transformStyle(styleRef.content.styles, propsPrefix)));
113
116
  }
114
117
  classNamesToAppend.add(className);
115
118
  return;
@@ -125,11 +128,12 @@ export var createReactStyledJSXPlugin = function (config) {
125
128
  if (!defaultPropValue) {
126
129
  return;
127
130
  }
128
- propDefinitions[styleRef.content.content.content.id].defaultValue = getClassName(forceScoping, uidl.name, String(defaultPropValue));
131
+ propDefinitions[styleRef.content.content.content.id].defaultValue =
132
+ StringUtils.camelCaseToDashCase(String(defaultPropValue));
129
133
  }
130
134
  if (styleRef.content.content.type === 'dynamic' &&
131
135
  styleRef.content.content.content.referenceType === 'comp') {
132
- classNamesToAppend.add(getClassName(forceScoping, uidl.name, styleRef.content.content.content.id));
136
+ classNamesToAppend.add(StringUtils.camelCaseToDashCase(styleRef.content.content.content.id));
133
137
  }
134
138
  return;
135
139
  }
@@ -148,10 +152,17 @@ export var createReactStyledJSXPlugin = function (config) {
148
152
  }
149
153
  });
150
154
  ASTUtils.addClassStringOnJSXTag(root, Array.from(classNamesToAppend).join(' '), 'className', Array.from(dynamicVariantsToAppend));
151
- });
155
+ };
156
+ UIDLUtils.traverseElements(node, generateStylesForElementNode);
157
+ for (_i = 0, _c = Object.values(propDefinitions); _i < _c.length; _i++) {
158
+ prop = _c[_i];
159
+ if (prop.type === 'element' && prop.defaultValue) {
160
+ UIDLUtils.traverseElements(prop.defaultValue, generateStylesForElementNode);
161
+ }
162
+ }
152
163
  /* Generating component scoped styles */
153
164
  if (Object.keys(componentStyleSheet).length > 0) {
154
- StyleBuilders.generateStylesFromStyleSetDefinitions(componentStyleSheet, classMap, mediaStylesMap, function (styleName) { return getClassName(forceScoping, uidl.name, styleName); });
165
+ StyleBuilders.generateStylesFromStyleSetDefinitions(componentStyleSheet, classMap, mediaStylesMap, function (styleName) { return StringUtils.camelCaseToDashCase(uidl.name + styleName); });
155
166
  }
156
167
  if (Object.keys(mediaStylesMap).length > 0) {
157
168
  classMap.push.apply(classMap, StyleBuilders.generateMediaStyle(mediaStylesMap));
@@ -165,7 +176,7 @@ export var createReactStyledJSXPlugin = function (config) {
165
176
  rootJSXNode = ASTBuilders.createJSXTag('');
166
177
  rootJSXNode.children.push(originalRootNode);
167
178
  componentAST = componentChunk.content;
168
- arrowFnExpr = componentAST.declarations[0].init;
179
+ arrowFnExpr = (_e = (_d = componentAST.declarations) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.init;
169
180
  bodyStatement = arrowFnExpr.body;
170
181
  returnStatement = bodyStatement.body.find(function (statement) { return statement.type === 'ReturnStatement'; });
171
182
  if (!returnStatement) {
@@ -180,9 +191,4 @@ export var createReactStyledJSXPlugin = function (config) {
180
191
  return reactStyledJSXPlugin;
181
192
  };
182
193
  export default createReactStyledJSXPlugin();
183
- var getClassName = function (scoping, uidlName, nodeStyleName) {
184
- return scoping
185
- ? StringUtils.camelCaseToDashCase("".concat(uidlName, "-").concat(nodeStyleName))
186
- : StringUtils.camelCaseToDashCase(nodeStyleName);
187
- };
188
194
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAA;AACzF,OAAO,EAIL,eAAe,GAChB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAOrC,MAAM,CAAC,IAAM,0BAA0B,GAA4C,UAAC,MAAM;IAClF,IAAA,KAAiE,MAAM,IAAI,EAAE,EAA3E,0BAAoC,EAApC,kBAAkB,mBAAG,eAAe,KAAA,EAAE,oBAAoB,EAApB,YAAY,mBAAG,KAAK,KAAiB,CAAA;IAEnF,IAAM,oBAAoB,GAAoB,UAAO,SAAS;;;YACpD,IAAI,GAAsB,SAAS,KAA/B,EAAE,MAAM,GAAc,SAAS,OAAvB,EAAE,OAAO,GAAK,SAAS,QAAd,CAAc;YACnC,eAAe,GAAK,OAAO,gBAAZ,CAAY;YAC3B,IAAI,GAA0E,IAAI,KAA9E,EAAE,K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0CAAG,CAAC,CAAC,0CAAE,IAAqC,CAAA;YACnF,aAAa,GAAG,WAAW,CAAC,IAA4B,CAAA;YACxD,eAAe,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAC7C,UAAC,SAAS,IAAK,OAAA,SAAS,CAAC,IAAI,KAAK,iBAAiB,EAApC,CAAoC,CACpD,CAAA;YAED,IAAI,CAAC,eAAe,EAAE;gBACpB,MAAM,IAAI,eAAe,CAAC,oDAAoD,CAAC,CAAA;aAChF;YACD,CAAC;YAAC,eAAyC,CAAC,QAAQ,GAAG,WAAW,CAAA;YAElE,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;YACtC,sBAAO,SAAS,EAAA;;SACjB,CAAA;IAED,OAAO,oBAAoB,CAAA;AAC7B,CAAC,CAAA;AAED,eAAe,0BAA0B,EAAE,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-shared/dist/cjs/constants/index.d.ts","../../../teleport-shared/dist/cjs/utils/string-utils.d.ts","../../../teleport-shared/dist/cjs/utils/uidl-utils.d.ts","../../../teleport-shared/dist/cjs/utils/generic.d.ts","../../../teleport-shared/dist/cjs/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/utils.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","afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","22c6f439ba8a0f6347a16d6fad503bb8a2fbfe778e5cf5c90918659c653c8a8c","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","ac65f04c2df0218cb8e54f012745cbfcc3c0e67c1f6b1e557d88842bbb72e2db","ce5106bc15353dd05f601ecb48fd99b152362346cbbb3b398e0d5fdc36d24b0a","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","c7b126a023fbcbe6b07edf69283b049fc3ca6958bc19934cde610a0ab5ae8ef3","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","21877b5c122b13d583bb3c58e9286cd5c007adf51467be27fc1592ebaafdb35c","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","64e43fe64a91d26169ee2bbc877135375b99ca4c5806b706f63e962528a3eb30","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","cfbee63950fddcd052c993abe94531a3d16e5273f3f14dc493fd47f78d0cdd03","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"54039b4d16b943ac81a3e239d8db01c3f1e6585778aa304fcabafe0714661e46","signature":"3dbf093ae95fa4d10b4461747a3b7ffb7fec3e95beb702c08588e4d483220f8d"},{"version":"98a8112faa02f09f7cd891a239616c6b53cc9b135e52567b04bf67a6d530303e","signature":"31e2b2bb67a3eec6c7cc4be15f5ecdf22c8bb0d260a1c47782b92b4b1393505c"},"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":[[115],[115,127,129],[115,123,124],[115,123,124,125,126],[115,128],[115,130],[69,115],[72,115],[73,78,106,115],[74,85,86,93,103,114,115],[74,75,85,93,115],[76,115],[77,78,86,94,115],[78,103,111,115],[79,81,85,93,115],[80,115],[81,82,115],[85,115],[83,85,115],[85,86,87,103,114,115],[85,86,87,100,103,106,115],[115,119],[81,85,88,93,103,114,115],[85,86,88,89,93,103,111,114,115],[88,90,103,111,114,115],[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,119,120,121],[85,91,115],[92,114,115],[81,85,93,103,115],[94,115],[95,115],[72,96,115],[97,113,115,119],[98,115],[99,115],[85,100,101,115],[100,102,115,117],[73,85,103,104,105,106,115],[73,103,105,115],[103,104,115],[106,115],[107,115],[103,115],[85,109,110,115],[109,110,115],[78,93,103,111,115],[112,115],[93,113,115],[73,88,99,114,115],[78,115],[103,115,116],[115,117],[115,118],[73,78,85,87,96,103,114,115,117,119],[103,115,120],[48,54,115],[48,115],[48,54,56,115],[55,56,57,58,59,60,61,62,63,64,65,115],[48,62,115],[48,54,64,115],[48,53,54,66,67,115],[54,66,115],[49,50,51,52,115],[44,115],[44,45,46,47,115],[43,115],[43,44,115],[48],[54]],"referencedMap":[[54,1],[130,2],[123,1],[125,3],[127,4],[126,3],[124,1],[129,5],[128,1],[131,6],[69,7],[70,7],[72,8],[73,9],[74,10],[75,11],[76,12],[77,13],[78,14],[79,15],[80,16],[81,17],[82,17],[84,18],[83,19],[85,18],[86,20],[87,21],[71,22],[121,1],[88,23],[89,24],[90,25],[122,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,32],[97,33],[98,34],[99,35],[100,36],[101,36],[102,37],[103,38],[105,39],[104,40],[106,41],[107,42],[108,43],[109,44],[110,45],[111,46],[112,47],[113,48],[114,49],[115,50],[116,51],[117,52],[118,53],[119,54],[120,55],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[55,56],[58,57],[57,58],[66,59],[63,60],[62,57],[65,61],[64,56],[59,58],[61,57],[56,1],[60,57],[68,62],[67,63],[49,57],[53,64],[52,1],[50,1],[51,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"exportedModulesMap":[[54,1],[130,2],[123,1],[125,3],[127,4],[126,3],[124,1],[129,5],[128,1],[131,6],[69,7],[70,7],[72,8],[73,9],[74,10],[75,11],[76,12],[77,13],[78,14],[79,15],[80,16],[81,17],[82,17],[84,18],[83,19],[85,18],[86,20],[87,21],[71,22],[121,1],[88,23],[89,24],[90,25],[122,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,32],[97,33],[98,34],[99,35],[100,36],[101,36],[102,37],[103,38],[105,39],[104,40],[106,41],[107,42],[108,43],[109,44],[110,45],[111,46],[112,47],[113,48],[114,49],[115,50],[116,51],[117,52],[118,53],[119,54],[120,55],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[55,56],[58,57],[57,58],[66,59],[63,60],[62,57],[65,61],[64,56],[59,58],[61,57],[56,1],[60,57],[68,69],[67,70],[49,57],[53,64],[52,1],[50,1],[51,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"semanticDiagnosticsPerFile":[54,130,123,125,127,126,124,129,128,131,69,70,72,73,74,75,76,77,78,79,80,81,82,84,83,85,86,87,71,121,88,89,90,122,91,92,93,94,95,96,97,98,99,100,101,102,103,105,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,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,55,58,57,66,63,62,65,64,59,61,56,60,68,67,49,53,52,50,51,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-shared/dist/cjs/constants/index.d.ts","../../../teleport-shared/dist/cjs/utils/string-utils.d.ts","../../../teleport-shared/dist/cjs/utils/uidl-utils.d.ts","../../../teleport-shared/dist/cjs/utils/generic.d.ts","../../../teleport-shared/dist/cjs/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/types.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/utils.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","afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","242e6ce3f14c79123c25c35660899ba483f3fdc14ac8fa4a8eee5d03231c6bc3","96adbcda030ffa1952a15192edd1b852084c9bfbbd2066e5c8d567987c466e90","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","86abd6ddb4cd3f82a3c167d53a47e2adbca6c92c91ebfe2980ded0d9812e0b18","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","dbabf6441a0629843274eefb8bfce76265c0dfd5c37b0a440d67e5c785ac1abc","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","954d24a996cb9a7af6dfb50f99e56cd0abfcc132dc425ea2c43a9d23a3470682","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"54039b4d16b943ac81a3e239d8db01c3f1e6585778aa304fcabafe0714661e46","signature":"3dbf093ae95fa4d10b4461747a3b7ffb7fec3e95beb702c08588e4d483220f8d"},{"version":"d27940263707c315de3587203b7548e5a0297d7354225b3afe94cc7bfd46a997","signature":"ec2f9b45cff09f076d1d9fff1f0e2bea9994ce0951863d55e39af18b90de91f6"},"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":[[161,163],[157,158],[157,158,159,160],[162],[164],[70],[106],[107,112,140],[108,119,120,127,137,148],[108,109,119,127],[110,149],[111,112,120,128],[112,137,145],[113,115,119,127],[106,114],[115,116],[119],[117,119],[106,119],[119,120,121,137,148],[119,120,121,134,137,140],[104,153],[115,119,122,127,137,148],[119,120,122,123,127,137,145,148],[122,124,137,145,148],[70,71,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,153,154,155],[119,125],[126,148,153],[115,119,127,137],[128],[129],[106,130],[131,147,153],[132],[133],[119,134,135],[134,136,149,151],[107,119,137,138,139,140],[107,137,139],[137,138],[140],[141],[106,137],[119,143,144],[143,144],[112,127,137,145],[146],[127,147],[107,122,133,148],[112,149],[137,150],[126,151],[152],[107,112,119,121,130,137,148,151,153],[137,154],[81,85,148],[81,137,148],[76],[78,81,145,148],[127,145],[156],[76,156],[78,81,127,148],[73,74,77,80,107,119,137,148],[73,79],[77,81,107,140,148,156],[107,156],[97,107,156],[75,76,156],[81],[75,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,98,99,100,101,102,103],[81,88,89],[79,81,89,90],[80],[73,76,81],[81,85,89,90],[85],[79,81,84,148],[73,78,79,81,85,88],[107,137],[76,81,97,107,153,156],[45,49],[49],[45,49,56],[55,56,57,58,60,61,62,63,64,65,66],[49,63],[45,49,65],[45,49,56,59],[45,49,54,67,68],[45,67],[50,51,52,53],[44,45],[44,46,47,48],[43],[43,44],[45]],"referencedMap":[[164,1],[159,2],[161,3],[160,2],[163,4],[165,5],[70,6],[71,6],[106,7],[107,8],[108,9],[109,10],[110,11],[111,12],[112,13],[113,14],[114,15],[115,16],[116,16],[118,17],[117,18],[119,19],[120,20],[121,21],[105,22],[122,23],[123,24],[124,25],[156,26],[125,27],[126,28],[127,29],[128,30],[129,31],[130,32],[131,33],[132,34],[133,35],[134,36],[135,36],[136,37],[137,38],[139,39],[138,40],[140,41],[141,42],[142,43],[143,44],[144,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[151,52],[152,53],[153,54],[154,55],[88,56],[95,57],[87,56],[102,58],[79,59],[78,60],[101,61],[96,62],[99,63],[81,64],[80,65],[76,66],[75,67],[98,68],[77,69],[82,70],[86,70],[104,71],[103,70],[90,72],[91,73],[93,74],[89,75],[92,76],[97,61],[84,77],[85,78],[94,79],[74,80],[100,81],[55,82],[58,83],[57,84],[67,85],[64,86],[63,83],[66,87],[65,82],[60,88],[62,82],[61,83],[69,89],[68,90],[50,83],[54,91],[53,83],[52,83],[46,92],[49,93],[44,94],[48,95]],"exportedModulesMap":[[164,1],[159,2],[161,3],[160,2],[163,4],[165,5],[70,6],[71,6],[106,7],[107,8],[108,9],[109,10],[110,11],[111,12],[112,13],[113,14],[114,15],[115,16],[116,16],[118,17],[117,18],[119,19],[120,20],[121,21],[105,22],[122,23],[123,24],[124,25],[156,26],[125,27],[126,28],[127,29],[128,30],[129,31],[130,32],[131,33],[132,34],[133,35],[134,36],[135,36],[136,37],[137,38],[139,39],[138,40],[140,41],[141,42],[142,43],[143,44],[144,45],[145,46],[146,47],[147,48],[148,49],[149,50],[150,51],[151,52],[152,53],[153,54],[154,55],[88,56],[95,57],[87,56],[102,58],[79,59],[78,60],[101,61],[96,62],[99,63],[81,64],[80,65],[76,66],[75,67],[98,68],[77,69],[82,70],[86,70],[104,71],[103,70],[90,72],[91,73],[93,74],[89,75],[92,76],[97,61],[84,77],[85,78],[94,79],[74,80],[100,81],[55,82],[58,83],[57,84],[67,85],[64,86],[63,83],[66,87],[65,82],[60,88],[62,82],[61,83],[69,83],[68,96],[50,83],[54,91],[53,83],[52,83],[46,92],[49,93],[44,94],[48,95]],"semanticDiagnosticsPerFile":[45,164,157,159,161,160,158,163,162,165,70,71,106,107,108,109,110,111,112,113,114,115,116,118,117,119,120,121,105,155,122,123,124,156,125,126,127,128,129,130,131,132,133,134,135,136,137,139,138,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,72,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,88,95,87,102,79,78,101,96,99,81,80,76,75,98,77,82,83,86,73,104,103,90,91,93,89,92,97,84,85,94,74,100,55,58,57,67,64,63,66,65,60,62,56,61,59,69,68,50,54,53,51,52,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-plugin-react-styled-jsx",
3
- "version": "0.38.0-alpha.0",
3
+ "version": "0.38.1",
4
4
  "description": "A plugin for injecting the styles as a styled-jsx tag inside React components",
5
5
  "author": "teleportHQ",
6
6
  "license": "MIT",
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@babel/types": "^7.5.5",
28
- "@teleporthq/teleport-plugin-common": "^0.38.0-alpha.0",
29
- "@teleporthq/teleport-shared": "^0.36.0-alpha.0",
30
- "@teleporthq/teleport-types": "^0.36.0-alpha.0"
28
+ "@teleporthq/teleport-plugin-common": "^0.38.1",
29
+ "@teleporthq/teleport-shared": "^0.38.0",
30
+ "@teleporthq/teleport-types": "^0.38.0"
31
31
  },
32
- "gitHead": "1980115403a1773980f2b4bd78fd366f1fca58da"
32
+ "gitHead": "052c9b89487e6a3123a3178c8aba5b7d07c58134"
33
33
  }
package/src/index.ts CHANGED
@@ -5,23 +5,38 @@ import {
5
5
  ComponentPlugin,
6
6
  UIDLStyleValue,
7
7
  PluginStyledJSX,
8
+ UIDLElement,
9
+ UIDLElementNode,
8
10
  } from '@teleporthq/teleport-types'
9
11
  import { generateStyledJSXTag } from './utils'
10
12
  import * as types from '@babel/types'
11
13
 
12
14
  interface StyledJSXConfig {
13
15
  componentChunkName: string
14
- forceScoping: boolean
15
16
  }
16
17
 
18
+ const transformStyle = (style: Record<string, UIDLStyleValue>, propsPrefix: string) =>
19
+ UIDLUtils.transformDynamicStyles(style, (styleValue) => {
20
+ switch (styleValue.content.referenceType) {
21
+ case 'token':
22
+ return `var(${StringUtils.generateCSSVariableName(styleValue.content.id)})`
23
+ case 'prop':
24
+ return `\$\{${propsPrefix}.${styleValue.content.id}\}`
25
+ default:
26
+ throw new PluginStyledJSX(
27
+ `Error running transformDynamicStyles in reactStyledJSXChunkPlugin.\n
28
+ Unsupported styleValue.content.referenceType value ${styleValue.content.referenceType}`
29
+ )
30
+ }
31
+ })
32
+
17
33
  export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig> = (config) => {
18
- const { componentChunkName = 'jsx-component', forceScoping = false } = config || {}
34
+ const { componentChunkName = 'jsx-component' } = config || {}
19
35
 
20
36
  const reactStyledJSXPlugin: ComponentPlugin = async (structure) => {
21
37
  const { uidl, chunks, options } = structure
22
38
  const { projectStyleSet } = options
23
39
  const { node, styleSetDefinitions: componentStyleSheet = {}, propDefinitions = {} } = uidl
24
-
25
40
  const componentChunk = chunks.find((chunk) => chunk.name === componentChunkName)
26
41
  if (!componentChunk) {
27
42
  return structure
@@ -35,22 +50,7 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
35
50
  > = {}
36
51
  const classMap: string[] = []
37
52
 
38
- const transformStyle = (style: Record<string, UIDLStyleValue>) =>
39
- UIDLUtils.transformDynamicStyles(style, (styleValue) => {
40
- switch (styleValue.content.referenceType) {
41
- case 'token':
42
- return `var(${StringUtils.generateCSSVariableName(styleValue.content.id)})`
43
- case 'prop':
44
- return `\$\{${propsPrefix}.${styleValue.content.id}\}`
45
- default:
46
- throw new PluginStyledJSX(
47
- `Error running transformDynamicStyles in reactStyledJSXChunkPlugin.\n
48
- Unsupported styleValue.content.referenceType value ${styleValue.content.referenceType}`
49
- )
50
- }
51
- })
52
-
53
- UIDLUtils.traverseElements(node, (element) => {
53
+ const generateStylesForElementNode = (element: UIDLElement) => {
54
54
  const classNamesToAppend: Set<string> = new Set()
55
55
  const dynamicVariantsToAppend: Set<types.Identifier | types.MemberExpression> = new Set()
56
56
  const {
@@ -61,16 +61,28 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
61
61
  dependency,
62
62
  elementType,
63
63
  } = element
64
- const elementClassName = StringUtils.camelCaseToDashCase(key)
65
- const className = getClassName(forceScoping, uidl.name, elementClassName)
66
64
 
67
- if (forceScoping && dependency?.type === 'local') {
65
+ if (key === undefined) {
66
+ throw new Error(`Key is missing for element \n ${JSON.stringify(element, null, 2)}`)
67
+ }
68
+
69
+ const className = StringUtils.camelCaseToDashCase(key)
70
+ const root = jsxNodesLookup[key]
71
+ if (!root) {
72
+ throw new PluginStyledJSX(
73
+ `Element \n ${JSON.stringify(
74
+ element,
75
+ null,
76
+ 2
77
+ )} \n with key ${key} is missing from the template chunk of component ${uidl.name}`
78
+ )
79
+ }
80
+
81
+ if (dependency?.type === 'local') {
68
82
  StyleBuilders.setPropValueForCompStyle({
69
- key,
70
- jsxNodesLookup,
83
+ root,
71
84
  attrs,
72
- getClassName: (str: string) =>
73
- getClassName(forceScoping, StringUtils.camelCaseToDashCase(elementType), str),
85
+ getClassName: (str: string) => StringUtils.camelCaseToDashCase(elementType + str),
74
86
  })
75
87
  }
76
88
 
@@ -78,11 +90,9 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
78
90
  return
79
91
  }
80
92
 
81
- const root = jsxNodesLookup[key]
82
-
83
93
  // Generating the string templates for the dynamic styles
84
94
  if (Object.keys(style).length > 0) {
85
- const styleRules = transformStyle(style)
95
+ const styleRules = transformStyle(style, propsPrefix)
86
96
  classMap.push(StyleBuilders.createCSSClass(className, styleRules))
87
97
  classNamesToAppend.add(className)
88
98
  }
@@ -96,9 +106,8 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
96
106
  if (!mediaStylesMap[String(maxWidth)]) {
97
107
  mediaStylesMap[String(maxWidth)] = []
98
108
  }
99
-
100
109
  mediaStylesMap[String(maxWidth)].push({
101
- [className]: transformStyle(styleRef.content.styles),
110
+ [className]: transformStyle(styleRef.content.styles, propsPrefix),
102
111
  })
103
112
  }
104
113
 
@@ -107,7 +116,7 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
107
116
  StyleBuilders.createCSSClassWithSelector(
108
117
  className,
109
118
  `&:${condition.content}`,
110
- transformStyle(styleRef.content.styles)
119
+ transformStyle(styleRef.content.styles, propsPrefix)
111
120
  )
112
121
  )
113
122
  }
@@ -133,15 +142,13 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
133
142
  )
134
143
  const defaultPropValue =
135
144
  propDefinitions[styleRef.content.content.content.id]?.defaultValue
145
+
136
146
  if (!defaultPropValue) {
137
147
  return
138
148
  }
139
149
 
140
- propDefinitions[styleRef.content.content.content.id].defaultValue = getClassName(
141
- forceScoping,
142
- uidl.name,
143
- String(defaultPropValue)
144
- )
150
+ propDefinitions[styleRef.content.content.content.id].defaultValue =
151
+ StringUtils.camelCaseToDashCase(String(defaultPropValue))
145
152
  }
146
153
 
147
154
  if (
@@ -149,7 +156,7 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
149
156
  styleRef.content.content.content.referenceType === 'comp'
150
157
  ) {
151
158
  classNamesToAppend.add(
152
- getClassName(forceScoping, uidl.name, styleRef.content.content.content.id)
159
+ StringUtils.camelCaseToDashCase(styleRef.content.content.content.id)
153
160
  )
154
161
  }
155
162
 
@@ -181,7 +188,17 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
181
188
  'className',
182
189
  Array.from(dynamicVariantsToAppend)
183
190
  )
184
- })
191
+ }
192
+
193
+ UIDLUtils.traverseElements(node, generateStylesForElementNode)
194
+ for (const prop of Object.values(propDefinitions)) {
195
+ if (prop.type === 'element' && prop.defaultValue) {
196
+ UIDLUtils.traverseElements(
197
+ prop.defaultValue as UIDLElementNode,
198
+ generateStylesForElementNode
199
+ )
200
+ }
201
+ }
185
202
 
186
203
  /* Generating component scoped styles */
187
204
  if (Object.keys(componentStyleSheet).length > 0) {
@@ -189,7 +206,7 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
189
206
  componentStyleSheet,
190
207
  classMap,
191
208
  mediaStylesMap,
192
- (styleName: string) => getClassName(forceScoping, uidl.name, styleName)
209
+ (styleName: string) => StringUtils.camelCaseToDashCase(uidl.name + styleName)
193
210
  )
194
211
  }
195
212
 
@@ -215,7 +232,7 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
215
232
  // We need to replace the root node with a fragment <>
216
233
  // The fragment will be the parent of both the old root JSXNode and the style tag
217
234
  const componentAST = componentChunk.content as types.VariableDeclaration
218
- const arrowFnExpr = componentAST.declarations[0].init as types.ArrowFunctionExpression
235
+ const arrowFnExpr = componentAST.declarations?.[0]?.init as types.ArrowFunctionExpression
219
236
  const bodyStatement = arrowFnExpr.body as types.BlockStatement
220
237
  const returnStatement = bodyStatement.body.find(
221
238
  (statement) => statement.type === 'ReturnStatement'
@@ -234,9 +251,3 @@ export const createReactStyledJSXPlugin: ComponentPluginFactory<StyledJSXConfig>
234
251
  }
235
252
 
236
253
  export default createReactStyledJSXPlugin()
237
-
238
- const getClassName = (scoping: boolean, uidlName: string, nodeStyleName: string) => {
239
- return scoping
240
- ? StringUtils.camelCaseToDashCase(`${uidlName}-${nodeStyleName}`)
241
- : StringUtils.camelCaseToDashCase(nodeStyleName)
242
- }