@teleporthq/teleport-plugin-react-base-component 0.43.0-alpha.0 → 0.43.3
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.
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +138 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +138 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/index.ts +157 -14
- package/dist/cjs/utils.d.ts +0 -3
- package/dist/cjs/utils.d.ts.map +0 -1
- package/dist/cjs/utils.js +0 -36
- package/dist/cjs/utils.js.map +0 -1
- package/dist/esm/utils.d.ts +0 -3
- package/dist/esm/utils.d.ts.map +0 -1
- package/dist/esm/utils.js +0 -9
- package/dist/esm/utils.js.map +0 -1
- package/src/utils.ts +0 -23
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EACL,sBAAsB,EACtB,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAIhB,MAAM,4BAA4B,CAAA;AAUnC,UAAU,iBAAiB;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,eAAO,MAAM,0BAA0B,EAAE,sBAAsB,CAAC,iBAAiB,CA8OhF,CAAA;;AAED,wBAA2C"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -60,7 +60,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
60
60
|
};
|
|
61
61
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
62
|
exports.createReactComponentPlugin = void 0;
|
|
63
|
-
var utils_1 = require("./utils");
|
|
64
63
|
var teleport_shared_1 = require("@teleporthq/teleport-shared");
|
|
65
64
|
var teleport_plugin_common_1 = require("@teleporthq/teleport-plugin-common");
|
|
66
65
|
var teleport_types_1 = require("@teleporthq/teleport-types");
|
|
@@ -69,10 +68,10 @@ var constants_1 = require("./constants");
|
|
|
69
68
|
var createReactComponentPlugin = function (config) {
|
|
70
69
|
var _a = config || {}, _b = _a.componentChunkName, componentChunkName = _b === void 0 ? constants_1.DEFAULT_COMPONENT_CHUNK_NAME : _b, _c = _a.exportChunkName, exportChunkName = _c === void 0 ? constants_1.DEFAULT_EXPORT_CHUNK_NAME : _c, _d = _a.importChunkName, importChunkName = _d === void 0 ? constants_1.DEFAULT_IMPORT_CHUNK_NAME : _d;
|
|
71
70
|
var reactComponentPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
|
|
72
|
-
var uidl, dependencies,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
var uidl, dependencies, _a, stateDefinitions, _b, propDefinitions, nodesLookup, windowImports, jsxParams, jsxOptions, _i, _c, propKey, prop, objectStateGlobalRefs, objectStateGlobalStateRefs, jsxTagStructure, usedChartComponents, chartRegistrations, componentName, pureComponent, chartRegistrations, registerCall, declarations, componentBody, routerAlreadyDeclared, routerAST;
|
|
72
|
+
var _d, _e, _f, _g, _h, _j, _k;
|
|
73
|
+
return __generator(this, function (_l) {
|
|
74
|
+
uidl = structure.uidl, dependencies = structure.dependencies;
|
|
76
75
|
_a = uidl.stateDefinitions, stateDefinitions = _a === void 0 ? {} : _a, _b = uidl.propDefinitions, propDefinitions = _b === void 0 ? {} : _b;
|
|
77
76
|
dependencies.React = constants_1.REACT_LIBRARY_DEPENDENCY;
|
|
78
77
|
if (Object.keys(stateDefinitions).length > 0) {
|
|
@@ -83,10 +82,15 @@ var createReactComponentPlugin = function (config) {
|
|
|
83
82
|
jsxParams = {
|
|
84
83
|
propDefinitions: propDefinitions,
|
|
85
84
|
stateDefinitions: stateDefinitions,
|
|
85
|
+
globalStateDefinitions: ((_d = structure.options) === null || _d === void 0 ? void 0 : _d.globalStateDefinitions) || {},
|
|
86
86
|
nodesLookup: nodesLookup,
|
|
87
87
|
dependencies: dependencies,
|
|
88
|
-
projectResources: projectResources,
|
|
89
88
|
windowImports: windowImports,
|
|
89
|
+
localeReferences: [],
|
|
90
|
+
globalReferences: [],
|
|
91
|
+
globalStateReferences: [],
|
|
92
|
+
hoistedConstants: [],
|
|
93
|
+
detailsPageExposeAsName: (_g = (_f = (_e = uidl.outputOptions) === null || _e === void 0 ? void 0 : _e.initialPropsData) === null || _f === void 0 ? void 0 : _f.exposeAs) === null || _g === void 0 ? void 0 : _g.name,
|
|
90
94
|
};
|
|
91
95
|
jsxOptions = {
|
|
92
96
|
dynamicReferencePrefixMap: {
|
|
@@ -97,18 +101,137 @@ var createReactComponentPlugin = function (config) {
|
|
|
97
101
|
dependencyHandling: 'import',
|
|
98
102
|
stateHandling: 'hooks',
|
|
99
103
|
slotHandling: 'props',
|
|
100
|
-
domHTMLInjection: function (content) { return
|
|
104
|
+
domHTMLInjection: function (content) { return teleport_plugin_common_1.ASTBuilders.createDOMInjectionNode(content); },
|
|
105
|
+
detailsPageExposeAsName: (_k = (_j = (_h = uidl.outputOptions) === null || _h === void 0 ? void 0 : _h.initialPropsData) === null || _j === void 0 ? void 0 : _j.exposeAs) === null || _k === void 0 ? void 0 : _k.name,
|
|
101
106
|
};
|
|
107
|
+
/*
|
|
108
|
+
We need to generate jsx structure of every node that is defined in the UIDL.
|
|
109
|
+
If we use these nodes in the later stage of the code-generation depends on the usage of these nodes.
|
|
110
|
+
*/
|
|
111
|
+
for (_i = 0, _c = Object.keys(propDefinitions); _i < _c.length; _i++) {
|
|
112
|
+
propKey = _c[_i];
|
|
113
|
+
prop = propDefinitions[propKey];
|
|
114
|
+
if (prop.type === 'element' && typeof prop.defaultValue === 'object') {
|
|
115
|
+
(0, teleport_plugin_common_1.createJSXSyntax)(prop.defaultValue, jsxParams, jsxOptions);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
objectStateGlobalRefs = teleport_plugin_common_1.ASTUtils.collectGlobalReferencesFromObjectStates(stateDefinitions);
|
|
119
|
+
objectStateGlobalRefs.forEach(function (ref) {
|
|
120
|
+
jsxParams.globalReferences.push(ref);
|
|
121
|
+
});
|
|
122
|
+
objectStateGlobalStateRefs = teleport_plugin_common_1.ASTUtils.collectGlobalStateReferencesFromObjectStates(stateDefinitions);
|
|
123
|
+
objectStateGlobalStateRefs.forEach(function (ref) {
|
|
124
|
+
var _a;
|
|
125
|
+
var definitions = ((_a = structure.options) === null || _a === void 0 ? void 0 : _a.globalStateDefinitions) || {};
|
|
126
|
+
var name = ref.id;
|
|
127
|
+
for (var _i = 0, _b = Object.values(definitions); _i < _b.length; _i++) {
|
|
128
|
+
var def = _b[_i];
|
|
129
|
+
if (def.id === ref.id) {
|
|
130
|
+
name = def.name;
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
jsxParams.globalStateReferences.push({ id: ref.id, name: name });
|
|
135
|
+
});
|
|
102
136
|
jsxTagStructure = (0, teleport_plugin_common_1.createJSXSyntax)(uidl.node, jsxParams, jsxOptions);
|
|
137
|
+
usedChartComponents = [];
|
|
138
|
+
Object.keys(dependencies).forEach(function (dep) {
|
|
139
|
+
var _a;
|
|
140
|
+
if (((_a = dependencies[dep]) === null || _a === void 0 ? void 0 : _a.path) === 'react-chartjs-2') {
|
|
141
|
+
usedChartComponents.push(dep);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
if (usedChartComponents.length > 0) {
|
|
145
|
+
chartRegistrations = [
|
|
146
|
+
'CategoryScale',
|
|
147
|
+
'LinearScale',
|
|
148
|
+
'PointElement',
|
|
149
|
+
'LineElement',
|
|
150
|
+
'BarElement',
|
|
151
|
+
'ArcElement',
|
|
152
|
+
'Title',
|
|
153
|
+
'Tooltip',
|
|
154
|
+
'Legend',
|
|
155
|
+
'Filler',
|
|
156
|
+
];
|
|
157
|
+
dependencies.ChartJS = {
|
|
158
|
+
type: 'package',
|
|
159
|
+
path: 'chart.js',
|
|
160
|
+
version: '^4.0.0',
|
|
161
|
+
meta: {
|
|
162
|
+
namedImport: true,
|
|
163
|
+
originalName: 'Chart',
|
|
164
|
+
},
|
|
165
|
+
};
|
|
166
|
+
chartRegistrations.forEach(function (reg) {
|
|
167
|
+
dependencies[reg] = {
|
|
168
|
+
type: 'package',
|
|
169
|
+
path: 'chart.js',
|
|
170
|
+
version: '^4.0.0',
|
|
171
|
+
meta: {
|
|
172
|
+
namedImport: true,
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
});
|
|
176
|
+
}
|
|
103
177
|
componentName = teleport_shared_1.UIDLUtils.getComponentClassName(uidl);
|
|
104
|
-
pureComponent = teleport_plugin_common_1.ASTUtils.createPureComponent(componentName, stateDefinitions, jsxTagStructure, windowImports);
|
|
178
|
+
pureComponent = teleport_plugin_common_1.ASTUtils.createPureComponent(componentName, stateDefinitions, jsxTagStructure, windowImports, jsxOptions.dynamicReferencePrefixMap);
|
|
179
|
+
// Add Chart.js registration call after imports
|
|
180
|
+
if (usedChartComponents.length > 0) {
|
|
181
|
+
chartRegistrations = [
|
|
182
|
+
'CategoryScale',
|
|
183
|
+
'LinearScale',
|
|
184
|
+
'PointElement',
|
|
185
|
+
'LineElement',
|
|
186
|
+
'BarElement',
|
|
187
|
+
'ArcElement',
|
|
188
|
+
'Title',
|
|
189
|
+
'Tooltip',
|
|
190
|
+
'Legend',
|
|
191
|
+
'Filler',
|
|
192
|
+
];
|
|
193
|
+
registerCall = types.expressionStatement(types.callExpression(types.memberExpression(types.identifier('ChartJS'), types.identifier('register')), chartRegistrations.map(function (r) { return types.identifier(r); })));
|
|
194
|
+
structure.chunks.push({
|
|
195
|
+
type: teleport_types_1.ChunkType.AST,
|
|
196
|
+
fileType: teleport_types_1.FileType.JS,
|
|
197
|
+
name: 'chart-registration',
|
|
198
|
+
content: registerCall,
|
|
199
|
+
linkAfter: [importChunkName],
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
// Hoist static object attributes as module-level constants to prevent
|
|
203
|
+
// unnecessary re-renders (new object references on each render)
|
|
204
|
+
if (jsxParams.hoistedConstants.length > 0) {
|
|
205
|
+
declarations = jsxParams.hoistedConstants.map(function (c) {
|
|
206
|
+
return types.variableDeclaration('const', [
|
|
207
|
+
types.variableDeclarator(types.identifier(c.name), c.expression),
|
|
208
|
+
]);
|
|
209
|
+
});
|
|
210
|
+
declarations.forEach(function (decl, i) {
|
|
211
|
+
structure.chunks.push({
|
|
212
|
+
type: teleport_types_1.ChunkType.AST,
|
|
213
|
+
fileType: teleport_types_1.FileType.JS,
|
|
214
|
+
name: "hoisted-constant-".concat(i),
|
|
215
|
+
content: decl,
|
|
216
|
+
linkAfter: [importChunkName],
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
}
|
|
105
220
|
if (dependencies === null || dependencies === void 0 ? void 0 : dependencies.useRouter) {
|
|
106
|
-
routerAST = types.variableDeclaration('const', [
|
|
107
|
-
types.variableDeclarator(types.identifier('router'), types.callExpression(types.identifier('useRouter'), [])),
|
|
108
|
-
]);
|
|
109
221
|
componentBody = pureComponent.declarations[0]
|
|
110
222
|
.init.body;
|
|
111
|
-
componentBody.body.
|
|
223
|
+
routerAlreadyDeclared = componentBody.body.some(function (statement) {
|
|
224
|
+
return statement.type === 'VariableDeclaration' &&
|
|
225
|
+
statement.declarations.some(function (declaration) {
|
|
226
|
+
return declaration.id.type === 'Identifier' && declaration.id.name === 'router';
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
if (!routerAlreadyDeclared) {
|
|
230
|
+
routerAST = types.variableDeclaration('const', [
|
|
231
|
+
types.variableDeclarator(types.identifier('router'), types.callExpression(types.identifier('useRouter'), [])),
|
|
232
|
+
]);
|
|
233
|
+
componentBody.body.unshift(routerAST);
|
|
234
|
+
}
|
|
112
235
|
}
|
|
113
236
|
if (Object.keys(windowImports).length) {
|
|
114
237
|
dependencies.useEffect = teleport_shared_1.Constants.USE_STATE_DEPENDENCY;
|
|
@@ -120,6 +243,9 @@ var createReactComponentPlugin = function (config) {
|
|
|
120
243
|
meta: {
|
|
121
244
|
nodesLookup: nodesLookup,
|
|
122
245
|
dynamicRefPrefix: jsxOptions.dynamicReferencePrefixMap,
|
|
246
|
+
localeReferences: jsxParams.localeReferences,
|
|
247
|
+
globalReferences: jsxParams.globalReferences,
|
|
248
|
+
globalStateReferences: jsxParams.globalStateReferences,
|
|
123
249
|
},
|
|
124
250
|
content: pureComponent,
|
|
125
251
|
linkAfter: [importChunkName],
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAkE;AAClE,6EAM2C;AAE3C,6DAMmC;AACnC,kDAAqC;AAErC,yCAKoB;AAQb,IAAM,0BAA0B,GAA8C,UAAC,MAAM;IACpF,IAAA,KAIF,MAAM,IAAI,EAAE,EAHd,0BAAiD,EAAjD,kBAAkB,mBAAG,wCAA4B,KAAA,EACjD,uBAA2C,EAA3C,eAAe,mBAAG,qCAAyB,KAAA,EAC3C,uBAA2C,EAA3C,eAAe,mBAAG,qCAAyB,KAC7B,CAAA;IAEhB,IAAM,oBAAoB,GAAoB,UAAO,SAAS;;;;YACpD,IAAI,GAAmB,SAAS,KAA5B,EAAE,YAAY,GAAK,SAAS,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,QAAQ,EAAE,yBAAQ,CAAC,EAAE;gBACrB,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE;oBACJ,WAAW,aAAA;oBACX,gBAAgB,EAAE,UAAU,CAAC,yBAAyB;oBACtD,gBAAgB,EAAE,SAAS,CAAC,gBAAgB;oBAC5C,gBAAgB,EAAE,SAAS,CAAC,gBAAgB;oBAC5C,qBAAqB,EAAE,SAAS,CAAC,qBAAqB;iBACvD;gBACD,OAAO,EAAE,aAAa;gBACtB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC7B,CAAC,CAAA;YAEF,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;gBACpB,IAAI,EAAE,0BAAS,CAAC,GAAG;gBACnB,QAAQ,EAAE,yBAAQ,CAAC,EAAE;gBACrB,IAAI,EAAE,eAAe;gBACrB,OAAO,EAAE,oCAAW,CAAC,mBAAmB,CAAC,aAAa,CAAC;gBACvD,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAChC,CAAC,CAAA;YAEF,sBAAO,SAAS,EAAA;;SACjB,CAAA;IAED,OAAO,oBAAoB,CAAA;AAC7B,CAAC,CAAA;AA9OY,QAAA,0BAA0B,8BA8OtC;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","../../src/constants.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../src/utils.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/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/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","71f1f30e0149642a4280d06b9dfcbc398ba31ca7c14ff3c868220c9a56bcdb50","dc19b304f9b96efbea7359264ac17eaf4c2d3fd231df7306eddfb983039785ca","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d50fe6e9eb7f4722fa789aab25bf60d0dfbcc36cc76af4a7d7af2b5886665f93","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"0e4ef31b6d1602704bfeb03fe9a9f325c7f99b86207a6cffbff9080b448ecd62","signature":"51c7b0b9176ab30d052189fcfe86055094c2a501692021cc7d9554f00eb17c3f"},"1905eab6570faf3010802b4c00196eda6285b028f0b41bdfa7f7a29427502b62",{"version":"f4b3a9c58969aaaa8339a59e204f3d338a141f184d480c989db0e11fe38141f8","signature":"f03f283d2fa9c3ef52d4b60433bab799e9679f9a472a7124d1a0cb819b560e56"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","22c6f439ba8a0f6347a16d6fad503bb8a2fbfe778e5cf5c90918659c653c8a8c","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","ce5106bc15353dd05f601ecb48fd99b152362346cbbb3b398e0d5fdc36d24b0a","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","c7b126a023fbcbe6b07edf69283b049fc3ca6958bc19934cde610a0ab5ae8ef3","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","8ac46882cbdc97428a25eecc68402898730ed74cd4e58152bb3252fbb3cab775","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","64e43fe64a91d26169ee2bbc877135375b99ca4c5806b706f63e962528a3eb30","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","cfbee63950fddcd052c993abe94531a3d16e5273f3f14dc493fd47f78d0cdd03","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"47ad815b58048a91ac2990a13956241df0117b31633d46003f0f5ec7d78723ae","signature":"7ccb776c3f241d0c70a9c1d8c716d0ad4196f011bb96c7fcaee8525c13478dae"},"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},"0391eb2e0cf2a8d329ba6958f20f2d3d24e53787d65e667f636cc97a5365c046","cc68e79b99f80e4dfd01967ec96be69efb0ff5bd7f779d9a2cc09dfe590ffd28","91d3d8f536f22dcaeeace0fc6f3544d3562e266a27cf3a2fe280b8051af5d006","9503113febdd737095465792cc074d541902c82c0aea3922f940de18784812ad","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"6d7ef36605d74efa08b42b40cd31b1844702a72a9e410945da8f40809097f82c","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"69e93290f59948789d5fce61cb0b89dde93747a4576744d0d6fae41ee3991646","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","ff1bad1849903b15fba47f3c29bdec5f97324874c93933a89b2bca28a23977fb","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda",{"version":"fddc2fac1bf6896d9c16acab1e5e44164a9b631b4812a3dd805058f188dac75e","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":[[116],[116,128,130],[116,124,125],[116,124,125,126,127],[116,129],[116,131],[70,116],[73,116],[74,79,107,116],[75,86,87,94,104,115,116],[75,76,86,94,116],[77,116],[78,79,87,95,116],[79,104,112,116],[80,82,86,94,116],[81,116],[82,83,116],[86,116],[84,86,116],[86,87,88,104,115,116],[86,87,88,101,104,107,116],[116,120],[82,86,89,94,104,115,116],[86,87,89,90,94,104,112,115,116],[89,91,104,112,115,116],[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,122],[86,92,116],[93,115,116,120],[82,86,94,104,116],[95,116],[96,116],[73,97,116],[98,114,116,120],[99,116],[100,116],[86,101,102,116],[101,103,116,118],[74,86,104,105,106,107,116],[74,104,106,116],[104,105,116],[107,116],[108,116],[73,104,116],[86,110,111,116],[110,111,116],[79,94,104,112,116],[113,116],[94,114,116],[74,89,100,115,116],[79,116],[104,116,117],[116,118],[116,119],[74,79,86,88,97,104,115,116,118,120],[104,116,121],[48,50,116],[48,116],[48,50,58,116],[57,58,59,60,61,62,63,64,65,66,67,116],[48,64,116],[48,50,66,116],[48,49,50,51,56,68,116],[50,116],[52,53,54,55,116],[44,116],[44,45,46,47,116],[43,116],[43,44,116],[48],[50]],"referencedMap":[[50,1],[131,2],[124,1],[126,3],[128,4],[127,3],[125,1],[130,5],[129,1],[132,6],[70,7],[71,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,15],[81,16],[82,17],[83,17],[85,18],[84,19],[86,18],[87,20],[88,21],[72,22],[122,1],[89,23],[90,24],[91,25],[123,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,34],[100,35],[101,36],[102,36],[103,37],[104,38],[106,39],[105,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,46],[113,47],[114,48],[115,49],[116,50],[117,51],[118,52],[119,53],[120,54],[121,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],[57,56],[60,57],[59,58],[68,59],[65,60],[64,57],[67,61],[66,56],[61,58],[63,57],[58,1],[62,57],[49,57],[69,62],[51,63],[52,57],[56,64],[55,1],[53,1],[54,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"exportedModulesMap":[[50,1],[131,2],[124,1],[126,3],[128,4],[127,3],[125,1],[130,5],[129,1],[132,6],[70,7],[71,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,15],[81,16],[82,17],[83,17],[85,18],[84,19],[86,18],[87,20],[88,21],[72,22],[122,1],[89,23],[90,24],[91,25],[123,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,34],[100,35],[101,36],[102,36],[103,37],[104,38],[106,39],[105,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,46],[113,47],[114,48],[115,49],[116,50],[117,51],[118,52],[119,53],[120,54],[121,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],[57,56],[60,57],[59,58],[68,59],[65,60],[64,57],[67,61],[66,56],[61,58],[63,57],[58,1],[62,57],[49,69],[69,69],[51,70],[52,57],[56,64],[55,1],[53,1],[54,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"semanticDiagnosticsPerFile":[50,131,124,126,128,127,125,130,129,132,70,71,73,74,75,76,77,78,79,80,81,82,83,85,84,86,87,88,72,122,89,90,91,123,92,93,94,95,96,97,98,99,100,101,102,103,104,106,105,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,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,57,60,59,68,65,64,67,66,61,63,58,62,49,69,51,52,56,55,53,54,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","../../src/constants.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-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/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/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.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","3b199dcdbfbb0bcbda5433c6d54c01db38fc83861a13d34e7304e0e51e13808b","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","b47f316947969cdd837116976c1760a031d13350572c63754fd7a1e87d0c1e3b","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d9118ed71b9968fea213b070209081a1b1c378b55ddcd026fb1ae8a7f52c15b7","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"0e4ef31b6d1602704bfeb03fe9a9f325c7f99b86207a6cffbff9080b448ecd62","signature":"51c7b0b9176ab30d052189fcfe86055094c2a501692021cc7d9554f00eb17c3f"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","242e6ce3f14c79123c25c35660899ba483f3fdc14ac8fa4a8eee5d03231c6bc3","96adbcda030ffa1952a15192edd1b852084c9bfbbd2066e5c8d567987c466e90","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","b7f5a08a542459965e03364a10ce321d28eb5dc96c7cef00a48cb89e455f8532","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","d350fc146b46550e424850ab9f7e7d8951156584dbd27bf493e37d7d2300af87","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","03a27d1292d90f99bb102194906f19583ca78236337cf9062460062ff8c67b47","3f4fe2fe5f1425cb3e04f5c898d990a1925a7c8a84548a4804f831cfaa2194cb","6ff754e93a1ef94f7a92e7f6f9b67357f3b25836ab36d66202d1d07343186ab7","2795b8b6c014ede81ac8f75e75ee7787ea17e9b7abf0f4bf4482265d0caa00eb","2573acb229878d2c0f84692c24ad36bfebb6627699caf80911d66f4e76602221","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","801c2cb432d4fcc1b3a60c02e591f60146fafefa5d019eb2da1f77e0ce748529",{"version":"ecfe442e0d68bc98c7e5f68395d38e1bc406c8aa82d5507bb0e767cdb68ef16c","signature":"7ccb776c3f241d0c70a9c1d8c716d0ad4196f011bb96c7fcaee8525c13478dae"},"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":[[162,164],[158,159],[158,159,160,161],[163],[165],[71],[107],[108,113,141],[109,120,121,128,138,149],[109,110,120,128],[111,150],[112,113,121,129],[113,138,146],[114,116,120,128],[107,115],[116,117],[120],[118,120],[107,120],[120,121,122,138,149],[120,121,122,135,138,141],[105,154],[116,120,123,128,138,149],[120,121,123,124,128,138,146,149],[123,125,138,146,149],[71,72,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,156],[120,126],[127,149,154],[116,120,128,138],[129],[130],[107,131],[132,148,154],[133],[134],[120,135,136],[135,137,150,152],[108,120,138,139,140,141],[108,138,140],[138,139],[141],[142],[107,138],[120,144,145],[144,145],[113,128,138,146],[147],[128,148],[108,123,134,149],[113,150],[138,151],[127,152],[153],[108,113,120,122,131,138,149,152,154],[138,155],[82,86,149],[82,138,149],[77],[79,82,146,149],[128,146],[157],[77,157],[79,82,128,149],[74,75,78,81,108,120,138,149],[74,80],[78,82,108,141,149,157],[108,157],[98,108,157],[76,77,157],[82],[76,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,104],[82,89,90],[80,82,90,91],[81],[74,77,82],[82,86,90,91],[86],[80,82,85,149],[74,79,80,82,86,89],[108,138],[77,82,98,108,154,157],[45,49],[49],[45,49,57],[56,57,58,59,61,62,63,64,65,66,67,68],[49,66],[45,49,64],[45,49,57,60],[45,49,50,55,69],[51,52,53,54],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[165,1],[160,2],[162,3],[161,2],[164,4],[166,5],[71,6],[72,6],[107,7],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,14],[115,15],[116,16],[117,16],[119,17],[118,18],[120,19],[121,20],[122,21],[106,22],[123,23],[124,24],[125,25],[157,26],[126,27],[127,28],[128,29],[129,30],[130,31],[131,32],[132,33],[133,34],[134,35],[135,36],[136,36],[137,37],[138,38],[140,39],[139,40],[141,41],[142,42],[143,43],[144,44],[145,45],[146,46],[147,47],[148,48],[149,49],[150,50],[151,51],[152,52],[153,53],[154,54],[155,55],[89,56],[96,57],[88,56],[103,58],[80,59],[79,60],[102,61],[97,62],[100,63],[82,64],[81,65],[77,66],[76,67],[99,68],[78,69],[83,70],[87,70],[105,71],[104,70],[91,72],[92,73],[94,74],[90,75],[93,76],[98,61],[85,77],[86,78],[95,79],[75,80],[101,81],[56,82],[59,83],[58,84],[69,85],[67,86],[66,83],[68,87],[64,82],[65,87],[61,88],[63,82],[62,83],[50,83],[70,89],[51,83],[55,90],[54,83],[53,83],[46,91],[49,92],[44,93],[48,94]],"exportedModulesMap":[[165,1],[160,2],[162,3],[161,2],[164,4],[166,5],[71,6],[72,6],[107,7],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,14],[115,15],[116,16],[117,16],[119,17],[118,18],[120,19],[121,20],[122,21],[106,22],[123,23],[124,24],[125,25],[157,26],[126,27],[127,28],[128,29],[129,30],[130,31],[131,32],[132,33],[133,34],[134,35],[135,36],[136,36],[137,37],[138,38],[140,39],[139,40],[141,41],[142,42],[143,43],[144,44],[145,45],[146,46],[147,47],[148,48],[149,49],[150,50],[151,51],[152,52],[153,53],[154,54],[155,55],[89,56],[96,57],[88,56],[103,58],[80,59],[79,60],[102,61],[97,62],[100,63],[82,64],[81,65],[77,66],[76,67],[99,68],[78,69],[83,70],[87,70],[105,71],[104,70],[91,72],[92,73],[94,74],[90,75],[93,76],[98,61],[85,77],[86,78],[95,79],[75,80],[101,81],[56,82],[59,83],[58,84],[69,85],[67,86],[66,83],[68,87],[64,82],[65,87],[61,88],[63,82],[62,83],[50,83],[70,83],[51,83],[55,90],[54,83],[53,83],[46,91],[49,92],[44,93],[48,94]],"semanticDiagnosticsPerFile":[45,165,158,160,162,161,159,164,163,166,71,72,107,108,109,110,111,112,113,114,115,116,117,119,118,120,121,122,106,156,123,124,125,157,126,127,128,129,130,131,132,133,134,135,136,137,138,140,139,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,73,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,89,96,88,103,80,79,102,97,100,82,81,77,76,99,78,83,84,87,74,105,104,91,92,94,90,93,98,85,86,95,75,101,56,59,58,69,67,66,68,64,65,61,63,57,62,60,50,70,51,55,54,52,53,47,46,43,49,44,48]},"version":"4.9.5"}
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EACL,sBAAsB,EACtB,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAIhB,MAAM,4BAA4B,CAAA;AAUnC,UAAU,iBAAiB;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,eAAO,MAAM,0BAA0B,EAAE,sBAAsB,CAAC,iBAAiB,CA8OhF,CAAA;;AAED,wBAA2C"}
|
package/dist/esm/index.js
CHANGED
|
@@ -34,7 +34,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
34
34
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
import { createDOMInjectionNode } from './utils';
|
|
38
37
|
import { Constants, UIDLUtils } from '@teleporthq/teleport-shared';
|
|
39
38
|
import { createJSXSyntax, ASTBuilders, ASTUtils, } from '@teleporthq/teleport-plugin-common';
|
|
40
39
|
import { ChunkType, FileType, } from '@teleporthq/teleport-types';
|
|
@@ -43,10 +42,10 @@ import { DEFAULT_COMPONENT_CHUNK_NAME, DEFAULT_EXPORT_CHUNK_NAME, DEFAULT_IMPORT
|
|
|
43
42
|
export var createReactComponentPlugin = function (config) {
|
|
44
43
|
var _a = config || {}, _b = _a.componentChunkName, componentChunkName = _b === void 0 ? DEFAULT_COMPONENT_CHUNK_NAME : _b, _c = _a.exportChunkName, exportChunkName = _c === void 0 ? DEFAULT_EXPORT_CHUNK_NAME : _c, _d = _a.importChunkName, importChunkName = _d === void 0 ? DEFAULT_IMPORT_CHUNK_NAME : _d;
|
|
45
44
|
var reactComponentPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
|
|
46
|
-
var uidl, dependencies,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
var uidl, dependencies, _a, stateDefinitions, _b, propDefinitions, nodesLookup, windowImports, jsxParams, jsxOptions, _i, _c, propKey, prop, objectStateGlobalRefs, objectStateGlobalStateRefs, jsxTagStructure, usedChartComponents, chartRegistrations, componentName, pureComponent, chartRegistrations, registerCall, declarations, componentBody, routerAlreadyDeclared, routerAST;
|
|
46
|
+
var _d, _e, _f, _g, _h, _j, _k;
|
|
47
|
+
return __generator(this, function (_l) {
|
|
48
|
+
uidl = structure.uidl, dependencies = structure.dependencies;
|
|
50
49
|
_a = uidl.stateDefinitions, stateDefinitions = _a === void 0 ? {} : _a, _b = uidl.propDefinitions, propDefinitions = _b === void 0 ? {} : _b;
|
|
51
50
|
dependencies.React = REACT_LIBRARY_DEPENDENCY;
|
|
52
51
|
if (Object.keys(stateDefinitions).length > 0) {
|
|
@@ -57,10 +56,15 @@ export var createReactComponentPlugin = function (config) {
|
|
|
57
56
|
jsxParams = {
|
|
58
57
|
propDefinitions: propDefinitions,
|
|
59
58
|
stateDefinitions: stateDefinitions,
|
|
59
|
+
globalStateDefinitions: ((_d = structure.options) === null || _d === void 0 ? void 0 : _d.globalStateDefinitions) || {},
|
|
60
60
|
nodesLookup: nodesLookup,
|
|
61
61
|
dependencies: dependencies,
|
|
62
|
-
projectResources: projectResources,
|
|
63
62
|
windowImports: windowImports,
|
|
63
|
+
localeReferences: [],
|
|
64
|
+
globalReferences: [],
|
|
65
|
+
globalStateReferences: [],
|
|
66
|
+
hoistedConstants: [],
|
|
67
|
+
detailsPageExposeAsName: (_g = (_f = (_e = uidl.outputOptions) === null || _e === void 0 ? void 0 : _e.initialPropsData) === null || _f === void 0 ? void 0 : _f.exposeAs) === null || _g === void 0 ? void 0 : _g.name,
|
|
64
68
|
};
|
|
65
69
|
jsxOptions = {
|
|
66
70
|
dynamicReferencePrefixMap: {
|
|
@@ -71,18 +75,137 @@ export var createReactComponentPlugin = function (config) {
|
|
|
71
75
|
dependencyHandling: 'import',
|
|
72
76
|
stateHandling: 'hooks',
|
|
73
77
|
slotHandling: 'props',
|
|
74
|
-
domHTMLInjection: function (content) { return createDOMInjectionNode(content); },
|
|
78
|
+
domHTMLInjection: function (content) { return ASTBuilders.createDOMInjectionNode(content); },
|
|
79
|
+
detailsPageExposeAsName: (_k = (_j = (_h = uidl.outputOptions) === null || _h === void 0 ? void 0 : _h.initialPropsData) === null || _j === void 0 ? void 0 : _j.exposeAs) === null || _k === void 0 ? void 0 : _k.name,
|
|
75
80
|
};
|
|
81
|
+
/*
|
|
82
|
+
We need to generate jsx structure of every node that is defined in the UIDL.
|
|
83
|
+
If we use these nodes in the later stage of the code-generation depends on the usage of these nodes.
|
|
84
|
+
*/
|
|
85
|
+
for (_i = 0, _c = Object.keys(propDefinitions); _i < _c.length; _i++) {
|
|
86
|
+
propKey = _c[_i];
|
|
87
|
+
prop = propDefinitions[propKey];
|
|
88
|
+
if (prop.type === 'element' && typeof prop.defaultValue === 'object') {
|
|
89
|
+
createJSXSyntax(prop.defaultValue, jsxParams, jsxOptions);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
objectStateGlobalRefs = ASTUtils.collectGlobalReferencesFromObjectStates(stateDefinitions);
|
|
93
|
+
objectStateGlobalRefs.forEach(function (ref) {
|
|
94
|
+
jsxParams.globalReferences.push(ref);
|
|
95
|
+
});
|
|
96
|
+
objectStateGlobalStateRefs = ASTUtils.collectGlobalStateReferencesFromObjectStates(stateDefinitions);
|
|
97
|
+
objectStateGlobalStateRefs.forEach(function (ref) {
|
|
98
|
+
var _a;
|
|
99
|
+
var definitions = ((_a = structure.options) === null || _a === void 0 ? void 0 : _a.globalStateDefinitions) || {};
|
|
100
|
+
var name = ref.id;
|
|
101
|
+
for (var _i = 0, _b = Object.values(definitions); _i < _b.length; _i++) {
|
|
102
|
+
var def = _b[_i];
|
|
103
|
+
if (def.id === ref.id) {
|
|
104
|
+
name = def.name;
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
jsxParams.globalStateReferences.push({ id: ref.id, name: name });
|
|
109
|
+
});
|
|
76
110
|
jsxTagStructure = createJSXSyntax(uidl.node, jsxParams, jsxOptions);
|
|
111
|
+
usedChartComponents = [];
|
|
112
|
+
Object.keys(dependencies).forEach(function (dep) {
|
|
113
|
+
var _a;
|
|
114
|
+
if (((_a = dependencies[dep]) === null || _a === void 0 ? void 0 : _a.path) === 'react-chartjs-2') {
|
|
115
|
+
usedChartComponents.push(dep);
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
if (usedChartComponents.length > 0) {
|
|
119
|
+
chartRegistrations = [
|
|
120
|
+
'CategoryScale',
|
|
121
|
+
'LinearScale',
|
|
122
|
+
'PointElement',
|
|
123
|
+
'LineElement',
|
|
124
|
+
'BarElement',
|
|
125
|
+
'ArcElement',
|
|
126
|
+
'Title',
|
|
127
|
+
'Tooltip',
|
|
128
|
+
'Legend',
|
|
129
|
+
'Filler',
|
|
130
|
+
];
|
|
131
|
+
dependencies.ChartJS = {
|
|
132
|
+
type: 'package',
|
|
133
|
+
path: 'chart.js',
|
|
134
|
+
version: '^4.0.0',
|
|
135
|
+
meta: {
|
|
136
|
+
namedImport: true,
|
|
137
|
+
originalName: 'Chart',
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
chartRegistrations.forEach(function (reg) {
|
|
141
|
+
dependencies[reg] = {
|
|
142
|
+
type: 'package',
|
|
143
|
+
path: 'chart.js',
|
|
144
|
+
version: '^4.0.0',
|
|
145
|
+
meta: {
|
|
146
|
+
namedImport: true,
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
});
|
|
150
|
+
}
|
|
77
151
|
componentName = UIDLUtils.getComponentClassName(uidl);
|
|
78
|
-
pureComponent = ASTUtils.createPureComponent(componentName, stateDefinitions, jsxTagStructure, windowImports);
|
|
152
|
+
pureComponent = ASTUtils.createPureComponent(componentName, stateDefinitions, jsxTagStructure, windowImports, jsxOptions.dynamicReferencePrefixMap);
|
|
153
|
+
// Add Chart.js registration call after imports
|
|
154
|
+
if (usedChartComponents.length > 0) {
|
|
155
|
+
chartRegistrations = [
|
|
156
|
+
'CategoryScale',
|
|
157
|
+
'LinearScale',
|
|
158
|
+
'PointElement',
|
|
159
|
+
'LineElement',
|
|
160
|
+
'BarElement',
|
|
161
|
+
'ArcElement',
|
|
162
|
+
'Title',
|
|
163
|
+
'Tooltip',
|
|
164
|
+
'Legend',
|
|
165
|
+
'Filler',
|
|
166
|
+
];
|
|
167
|
+
registerCall = types.expressionStatement(types.callExpression(types.memberExpression(types.identifier('ChartJS'), types.identifier('register')), chartRegistrations.map(function (r) { return types.identifier(r); })));
|
|
168
|
+
structure.chunks.push({
|
|
169
|
+
type: ChunkType.AST,
|
|
170
|
+
fileType: FileType.JS,
|
|
171
|
+
name: 'chart-registration',
|
|
172
|
+
content: registerCall,
|
|
173
|
+
linkAfter: [importChunkName],
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
// Hoist static object attributes as module-level constants to prevent
|
|
177
|
+
// unnecessary re-renders (new object references on each render)
|
|
178
|
+
if (jsxParams.hoistedConstants.length > 0) {
|
|
179
|
+
declarations = jsxParams.hoistedConstants.map(function (c) {
|
|
180
|
+
return types.variableDeclaration('const', [
|
|
181
|
+
types.variableDeclarator(types.identifier(c.name), c.expression),
|
|
182
|
+
]);
|
|
183
|
+
});
|
|
184
|
+
declarations.forEach(function (decl, i) {
|
|
185
|
+
structure.chunks.push({
|
|
186
|
+
type: ChunkType.AST,
|
|
187
|
+
fileType: FileType.JS,
|
|
188
|
+
name: "hoisted-constant-".concat(i),
|
|
189
|
+
content: decl,
|
|
190
|
+
linkAfter: [importChunkName],
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
}
|
|
79
194
|
if (dependencies === null || dependencies === void 0 ? void 0 : dependencies.useRouter) {
|
|
80
|
-
routerAST = types.variableDeclaration('const', [
|
|
81
|
-
types.variableDeclarator(types.identifier('router'), types.callExpression(types.identifier('useRouter'), [])),
|
|
82
|
-
]);
|
|
83
195
|
componentBody = pureComponent.declarations[0]
|
|
84
196
|
.init.body;
|
|
85
|
-
componentBody.body.
|
|
197
|
+
routerAlreadyDeclared = componentBody.body.some(function (statement) {
|
|
198
|
+
return statement.type === 'VariableDeclaration' &&
|
|
199
|
+
statement.declarations.some(function (declaration) {
|
|
200
|
+
return declaration.id.type === 'Identifier' && declaration.id.name === 'router';
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
if (!routerAlreadyDeclared) {
|
|
204
|
+
routerAST = types.variableDeclaration('const', [
|
|
205
|
+
types.variableDeclarator(types.identifier('router'), types.callExpression(types.identifier('useRouter'), [])),
|
|
206
|
+
]);
|
|
207
|
+
componentBody.body.unshift(routerAST);
|
|
208
|
+
}
|
|
86
209
|
}
|
|
87
210
|
if (Object.keys(windowImports).length) {
|
|
88
211
|
dependencies.useEffect = Constants.USE_STATE_DEPENDENCY;
|
|
@@ -94,6 +217,9 @@ export var createReactComponentPlugin = function (config) {
|
|
|
94
217
|
meta: {
|
|
95
218
|
nodesLookup: nodesLookup,
|
|
96
219
|
dynamicRefPrefix: jsxOptions.dynamicReferencePrefixMap,
|
|
220
|
+
localeReferences: jsxParams.localeReferences,
|
|
221
|
+
globalReferences: jsxParams.globalReferences,
|
|
222
|
+
globalStateReferences: jsxParams.globalStateReferences,
|
|
97
223
|
},
|
|
98
224
|
content: pureComponent,
|
|
99
225
|
linkAfter: [importChunkName],
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE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AC;aAChC,CAAC,CAAA;YAEF,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","../../src/constants.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../src/utils.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/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/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","71f1f30e0149642a4280d06b9dfcbc398ba31ca7c14ff3c868220c9a56bcdb50","dc19b304f9b96efbea7359264ac17eaf4c2d3fd231df7306eddfb983039785ca","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d50fe6e9eb7f4722fa789aab25bf60d0dfbcc36cc76af4a7d7af2b5886665f93","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"0e4ef31b6d1602704bfeb03fe9a9f325c7f99b86207a6cffbff9080b448ecd62","signature":"51c7b0b9176ab30d052189fcfe86055094c2a501692021cc7d9554f00eb17c3f"},"1905eab6570faf3010802b4c00196eda6285b028f0b41bdfa7f7a29427502b62",{"version":"f4b3a9c58969aaaa8339a59e204f3d338a141f184d480c989db0e11fe38141f8","signature":"f03f283d2fa9c3ef52d4b60433bab799e9679f9a472a7124d1a0cb819b560e56"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","22c6f439ba8a0f6347a16d6fad503bb8a2fbfe778e5cf5c90918659c653c8a8c","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","ce5106bc15353dd05f601ecb48fd99b152362346cbbb3b398e0d5fdc36d24b0a","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","c7b126a023fbcbe6b07edf69283b049fc3ca6958bc19934cde610a0ab5ae8ef3","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","8ac46882cbdc97428a25eecc68402898730ed74cd4e58152bb3252fbb3cab775","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","64e43fe64a91d26169ee2bbc877135375b99ca4c5806b706f63e962528a3eb30","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","cfbee63950fddcd052c993abe94531a3d16e5273f3f14dc493fd47f78d0cdd03","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"47ad815b58048a91ac2990a13956241df0117b31633d46003f0f5ec7d78723ae","signature":"7ccb776c3f241d0c70a9c1d8c716d0ad4196f011bb96c7fcaee8525c13478dae"},"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},"0391eb2e0cf2a8d329ba6958f20f2d3d24e53787d65e667f636cc97a5365c046","cc68e79b99f80e4dfd01967ec96be69efb0ff5bd7f779d9a2cc09dfe590ffd28","91d3d8f536f22dcaeeace0fc6f3544d3562e266a27cf3a2fe280b8051af5d006","9503113febdd737095465792cc074d541902c82c0aea3922f940de18784812ad","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"6d7ef36605d74efa08b42b40cd31b1844702a72a9e410945da8f40809097f82c","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"69e93290f59948789d5fce61cb0b89dde93747a4576744d0d6fae41ee3991646","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","ff1bad1849903b15fba47f3c29bdec5f97324874c93933a89b2bca28a23977fb","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda",{"version":"fddc2fac1bf6896d9c16acab1e5e44164a9b631b4812a3dd805058f188dac75e","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":[[116],[116,128,130],[116,124,125],[116,124,125,126,127],[116,129],[116,131],[70,116],[73,116],[74,79,107,116],[75,86,87,94,104,115,116],[75,76,86,94,116],[77,116],[78,79,87,95,116],[79,104,112,116],[80,82,86,94,116],[81,116],[82,83,116],[86,116],[84,86,116],[86,87,88,104,115,116],[86,87,88,101,104,107,116],[116,120],[82,86,89,94,104,115,116],[86,87,89,90,94,104,112,115,116],[89,91,104,112,115,116],[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,122],[86,92,116],[93,115,116,120],[82,86,94,104,116],[95,116],[96,116],[73,97,116],[98,114,116,120],[99,116],[100,116],[86,101,102,116],[101,103,116,118],[74,86,104,105,106,107,116],[74,104,106,116],[104,105,116],[107,116],[108,116],[73,104,116],[86,110,111,116],[110,111,116],[79,94,104,112,116],[113,116],[94,114,116],[74,89,100,115,116],[79,116],[104,116,117],[116,118],[116,119],[74,79,86,88,97,104,115,116,118,120],[104,116,121],[48,50,116],[48,116],[48,50,58,116],[57,58,59,60,61,62,63,64,65,66,67,116],[48,64,116],[48,50,66,116],[48,49,50,51,56,68,116],[50,116],[52,53,54,55,116],[44,116],[44,45,46,47,116],[43,116],[43,44,116],[48],[50]],"referencedMap":[[50,1],[131,2],[124,1],[126,3],[128,4],[127,3],[125,1],[130,5],[129,1],[132,6],[70,7],[71,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,15],[81,16],[82,17],[83,17],[85,18],[84,19],[86,18],[87,20],[88,21],[72,22],[122,1],[89,23],[90,24],[91,25],[123,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,34],[100,35],[101,36],[102,36],[103,37],[104,38],[106,39],[105,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,46],[113,47],[114,48],[115,49],[116,50],[117,51],[118,52],[119,53],[120,54],[121,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],[57,56],[60,57],[59,58],[68,59],[65,60],[64,57],[67,61],[66,56],[61,58],[63,57],[58,1],[62,57],[49,57],[69,62],[51,63],[52,57],[56,64],[55,1],[53,1],[54,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"exportedModulesMap":[[50,1],[131,2],[124,1],[126,3],[128,4],[127,3],[125,1],[130,5],[129,1],[132,6],[70,7],[71,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,15],[81,16],[82,17],[83,17],[85,18],[84,19],[86,18],[87,20],[88,21],[72,22],[122,1],[89,23],[90,24],[91,25],[123,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,34],[100,35],[101,36],[102,36],[103,37],[104,38],[106,39],[105,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,46],[113,47],[114,48],[115,49],[116,50],[117,51],[118,52],[119,53],[120,54],[121,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],[57,56],[60,57],[59,58],[68,59],[65,60],[64,57],[67,61],[66,56],[61,58],[63,57],[58,1],[62,57],[49,69],[69,69],[51,70],[52,57],[56,64],[55,1],[53,1],[54,57],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"semanticDiagnosticsPerFile":[50,131,124,126,128,127,125,130,129,132,70,71,73,74,75,76,77,78,79,80,81,82,83,85,84,86,87,88,72,122,89,90,91,123,92,93,94,95,96,97,98,99,100,101,102,103,104,106,105,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,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,57,60,59,68,65,64,67,66,61,63,58,62,49,69,51,52,56,55,53,54,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","../../src/constants.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-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/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/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.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","3b199dcdbfbb0bcbda5433c6d54c01db38fc83861a13d34e7304e0e51e13808b","8d27e5f73b75340198b2df36f39326f693743e64006bd7b88a925a5f285df628","b47f316947969cdd837116976c1760a031d13350572c63754fd7a1e87d0c1e3b","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d9118ed71b9968fea213b070209081a1b1c378b55ddcd026fb1ae8a7f52c15b7","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"0e4ef31b6d1602704bfeb03fe9a9f325c7f99b86207a6cffbff9080b448ecd62","signature":"51c7b0b9176ab30d052189fcfe86055094c2a501692021cc7d9554f00eb17c3f"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","242e6ce3f14c79123c25c35660899ba483f3fdc14ac8fa4a8eee5d03231c6bc3","96adbcda030ffa1952a15192edd1b852084c9bfbbd2066e5c8d567987c466e90","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","b7f5a08a542459965e03364a10ce321d28eb5dc96c7cef00a48cb89e455f8532","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","d350fc146b46550e424850ab9f7e7d8951156584dbd27bf493e37d7d2300af87","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","03a27d1292d90f99bb102194906f19583ca78236337cf9062460062ff8c67b47","3f4fe2fe5f1425cb3e04f5c898d990a1925a7c8a84548a4804f831cfaa2194cb","6ff754e93a1ef94f7a92e7f6f9b67357f3b25836ab36d66202d1d07343186ab7","2795b8b6c014ede81ac8f75e75ee7787ea17e9b7abf0f4bf4482265d0caa00eb","2573acb229878d2c0f84692c24ad36bfebb6627699caf80911d66f4e76602221","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","801c2cb432d4fcc1b3a60c02e591f60146fafefa5d019eb2da1f77e0ce748529",{"version":"ecfe442e0d68bc98c7e5f68395d38e1bc406c8aa82d5507bb0e767cdb68ef16c","signature":"7ccb776c3f241d0c70a9c1d8c716d0ad4196f011bb96c7fcaee8525c13478dae"},"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":[[162,164],[158,159],[158,159,160,161],[163],[165],[71],[107],[108,113,141],[109,120,121,128,138,149],[109,110,120,128],[111,150],[112,113,121,129],[113,138,146],[114,116,120,128],[107,115],[116,117],[120],[118,120],[107,120],[120,121,122,138,149],[120,121,122,135,138,141],[105,154],[116,120,123,128,138,149],[120,121,123,124,128,138,146,149],[123,125,138,146,149],[71,72,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,156],[120,126],[127,149,154],[116,120,128,138],[129],[130],[107,131],[132,148,154],[133],[134],[120,135,136],[135,137,150,152],[108,120,138,139,140,141],[108,138,140],[138,139],[141],[142],[107,138],[120,144,145],[144,145],[113,128,138,146],[147],[128,148],[108,123,134,149],[113,150],[138,151],[127,152],[153],[108,113,120,122,131,138,149,152,154],[138,155],[82,86,149],[82,138,149],[77],[79,82,146,149],[128,146],[157],[77,157],[79,82,128,149],[74,75,78,81,108,120,138,149],[74,80],[78,82,108,141,149,157],[108,157],[98,108,157],[76,77,157],[82],[76,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,104],[82,89,90],[80,82,90,91],[81],[74,77,82],[82,86,90,91],[86],[80,82,85,149],[74,79,80,82,86,89],[108,138],[77,82,98,108,154,157],[45,49],[49],[45,49,57],[56,57,58,59,61,62,63,64,65,66,67,68],[49,66],[45,49,64],[45,49,57,60],[45,49,50,55,69],[51,52,53,54],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[165,1],[160,2],[162,3],[161,2],[164,4],[166,5],[71,6],[72,6],[107,7],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,14],[115,15],[116,16],[117,16],[119,17],[118,18],[120,19],[121,20],[122,21],[106,22],[123,23],[124,24],[125,25],[157,26],[126,27],[127,28],[128,29],[129,30],[130,31],[131,32],[132,33],[133,34],[134,35],[135,36],[136,36],[137,37],[138,38],[140,39],[139,40],[141,41],[142,42],[143,43],[144,44],[145,45],[146,46],[147,47],[148,48],[149,49],[150,50],[151,51],[152,52],[153,53],[154,54],[155,55],[89,56],[96,57],[88,56],[103,58],[80,59],[79,60],[102,61],[97,62],[100,63],[82,64],[81,65],[77,66],[76,67],[99,68],[78,69],[83,70],[87,70],[105,71],[104,70],[91,72],[92,73],[94,74],[90,75],[93,76],[98,61],[85,77],[86,78],[95,79],[75,80],[101,81],[56,82],[59,83],[58,84],[69,85],[67,86],[66,83],[68,87],[64,82],[65,87],[61,88],[63,82],[62,83],[50,83],[70,89],[51,83],[55,90],[54,83],[53,83],[46,91],[49,92],[44,93],[48,94]],"exportedModulesMap":[[165,1],[160,2],[162,3],[161,2],[164,4],[166,5],[71,6],[72,6],[107,7],[108,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,14],[115,15],[116,16],[117,16],[119,17],[118,18],[120,19],[121,20],[122,21],[106,22],[123,23],[124,24],[125,25],[157,26],[126,27],[127,28],[128,29],[129,30],[130,31],[131,32],[132,33],[133,34],[134,35],[135,36],[136,36],[137,37],[138,38],[140,39],[139,40],[141,41],[142,42],[143,43],[144,44],[145,45],[146,46],[147,47],[148,48],[149,49],[150,50],[151,51],[152,52],[153,53],[154,54],[155,55],[89,56],[96,57],[88,56],[103,58],[80,59],[79,60],[102,61],[97,62],[100,63],[82,64],[81,65],[77,66],[76,67],[99,68],[78,69],[83,70],[87,70],[105,71],[104,70],[91,72],[92,73],[94,74],[90,75],[93,76],[98,61],[85,77],[86,78],[95,79],[75,80],[101,81],[56,82],[59,83],[58,84],[69,85],[67,86],[66,83],[68,87],[64,82],[65,87],[61,88],[63,82],[62,83],[50,83],[70,83],[51,83],[55,90],[54,83],[53,83],[46,91],[49,92],[44,93],[48,94]],"semanticDiagnosticsPerFile":[45,165,158,160,162,161,159,164,163,166,71,72,107,108,109,110,111,112,113,114,115,116,117,119,118,120,121,122,106,156,123,124,125,157,126,127,128,129,130,131,132,133,134,135,136,137,138,140,139,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,73,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,89,96,88,103,80,79,102,97,100,82,81,77,76,99,78,83,84,87,74,105,104,91,92,94,90,93,98,85,86,95,75,101,56,59,58,69,67,66,68,64,65,61,63,57,62,60,50,70,51,55,54,52,53,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-base-component",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.3",
|
|
4
4
|
"description": "A plugin for handling the skeleton/baseline of a React component",
|
|
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.43.
|
|
29
|
-
"@teleporthq/teleport-shared": "^0.43.
|
|
30
|
-
"@teleporthq/teleport-types": "^0.43.
|
|
28
|
+
"@teleporthq/teleport-plugin-common": "^0.43.3",
|
|
29
|
+
"@teleporthq/teleport-shared": "^0.43.3",
|
|
30
|
+
"@teleporthq/teleport-types": "^0.43.3"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "d3876e18883a6dfcd90cab5ea20068455f2c21f1"
|
|
33
33
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createDOMInjectionNode } from './utils'
|
|
2
1
|
import { Constants, UIDLUtils } from '@teleporthq/teleport-shared'
|
|
3
2
|
import {
|
|
4
3
|
createJSXSyntax,
|
|
5
4
|
JSXGenerationOptions,
|
|
6
5
|
ASTBuilders,
|
|
7
6
|
ASTUtils,
|
|
7
|
+
JSXGenerationParams,
|
|
8
8
|
} from '@teleporthq/teleport-plugin-common'
|
|
9
9
|
|
|
10
10
|
import {
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ComponentPlugin,
|
|
13
13
|
ChunkType,
|
|
14
14
|
FileType,
|
|
15
|
+
UIDLElementNode,
|
|
15
16
|
} from '@teleporthq/teleport-types'
|
|
16
17
|
import * as types from '@babel/types'
|
|
17
18
|
|
|
@@ -36,8 +37,7 @@ export const createReactComponentPlugin: ComponentPluginFactory<ReactPluginConfi
|
|
|
36
37
|
} = config || {}
|
|
37
38
|
|
|
38
39
|
const reactComponentPlugin: ComponentPlugin = async (structure) => {
|
|
39
|
-
const { uidl, dependencies
|
|
40
|
-
const { projectResources } = options
|
|
40
|
+
const { uidl, dependencies } = structure
|
|
41
41
|
const { stateDefinitions = {}, propDefinitions = {} } = uidl
|
|
42
42
|
|
|
43
43
|
dependencies.React = REACT_LIBRARY_DEPENDENCY
|
|
@@ -51,13 +51,18 @@ export const createReactComponentPlugin: ComponentPluginFactory<ReactPluginConfi
|
|
|
51
51
|
// The structure will be populated as the AST is being created
|
|
52
52
|
const nodesLookup = {}
|
|
53
53
|
const windowImports: Record<string, types.ExpressionStatement> = {}
|
|
54
|
-
const jsxParams = {
|
|
54
|
+
const jsxParams: JSXGenerationParams = {
|
|
55
55
|
propDefinitions,
|
|
56
56
|
stateDefinitions,
|
|
57
|
+
globalStateDefinitions: structure.options?.globalStateDefinitions || {},
|
|
57
58
|
nodesLookup,
|
|
58
59
|
dependencies,
|
|
59
|
-
projectResources,
|
|
60
60
|
windowImports,
|
|
61
|
+
localeReferences: [],
|
|
62
|
+
globalReferences: [],
|
|
63
|
+
globalStateReferences: [],
|
|
64
|
+
hoistedConstants: [],
|
|
65
|
+
detailsPageExposeAsName: uidl.outputOptions?.initialPropsData?.exposeAs?.name,
|
|
61
66
|
}
|
|
62
67
|
|
|
63
68
|
const jsxOptions: JSXGenerationOptions = {
|
|
@@ -69,31 +74,166 @@ export const createReactComponentPlugin: ComponentPluginFactory<ReactPluginConfi
|
|
|
69
74
|
dependencyHandling: 'import',
|
|
70
75
|
stateHandling: 'hooks',
|
|
71
76
|
slotHandling: 'props',
|
|
72
|
-
domHTMLInjection: (content: string) => createDOMInjectionNode(content),
|
|
77
|
+
domHTMLInjection: (content: string) => ASTBuilders.createDOMInjectionNode(content),
|
|
78
|
+
detailsPageExposeAsName: uidl.outputOptions?.initialPropsData?.exposeAs?.name,
|
|
73
79
|
}
|
|
74
80
|
|
|
81
|
+
/*
|
|
82
|
+
We need to generate jsx structure of every node that is defined in the UIDL.
|
|
83
|
+
If we use these nodes in the later stage of the code-generation depends on the usage of these nodes.
|
|
84
|
+
*/
|
|
85
|
+
for (const propKey of Object.keys(propDefinitions)) {
|
|
86
|
+
const prop = propDefinitions[propKey]
|
|
87
|
+
if (prop.type === 'element' && typeof prop.defaultValue === 'object') {
|
|
88
|
+
createJSXSyntax(prop.defaultValue as UIDLElementNode, jsxParams, jsxOptions)
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const objectStateGlobalRefs = ASTUtils.collectGlobalReferencesFromObjectStates(stateDefinitions)
|
|
93
|
+
objectStateGlobalRefs.forEach((ref) => {
|
|
94
|
+
jsxParams.globalReferences.push(ref as any)
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
const objectStateGlobalStateRefs =
|
|
98
|
+
ASTUtils.collectGlobalStateReferencesFromObjectStates(stateDefinitions)
|
|
99
|
+
objectStateGlobalStateRefs.forEach((ref) => {
|
|
100
|
+
const definitions = structure.options?.globalStateDefinitions || {}
|
|
101
|
+
let name = ref.id
|
|
102
|
+
for (const def of Object.values(definitions)) {
|
|
103
|
+
if (def.id === ref.id) {
|
|
104
|
+
name = def.name
|
|
105
|
+
break
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
jsxParams.globalStateReferences.push({ id: ref.id, name })
|
|
109
|
+
})
|
|
110
|
+
|
|
75
111
|
const jsxTagStructure = createJSXSyntax(uidl.node, jsxParams, jsxOptions)
|
|
76
112
|
|
|
113
|
+
// Chart.js v3+ requires explicit registration of scales, elements, and plugins.
|
|
114
|
+
// When react-chartjs-2 is used, we need to add the registration code.
|
|
115
|
+
const usedChartComponents: string[] = []
|
|
116
|
+
Object.keys(dependencies).forEach((dep) => {
|
|
117
|
+
if (dependencies[dep]?.path === 'react-chartjs-2') {
|
|
118
|
+
usedChartComponents.push(dep)
|
|
119
|
+
}
|
|
120
|
+
})
|
|
121
|
+
|
|
122
|
+
if (usedChartComponents.length > 0) {
|
|
123
|
+
const chartRegistrations = [
|
|
124
|
+
'CategoryScale',
|
|
125
|
+
'LinearScale',
|
|
126
|
+
'PointElement',
|
|
127
|
+
'LineElement',
|
|
128
|
+
'BarElement',
|
|
129
|
+
'ArcElement',
|
|
130
|
+
'Title',
|
|
131
|
+
'Tooltip',
|
|
132
|
+
'Legend',
|
|
133
|
+
'Filler',
|
|
134
|
+
]
|
|
135
|
+
dependencies.ChartJS = {
|
|
136
|
+
type: 'package',
|
|
137
|
+
path: 'chart.js',
|
|
138
|
+
version: '^4.0.0',
|
|
139
|
+
meta: {
|
|
140
|
+
namedImport: true,
|
|
141
|
+
originalName: 'Chart',
|
|
142
|
+
},
|
|
143
|
+
}
|
|
144
|
+
chartRegistrations.forEach((reg) => {
|
|
145
|
+
dependencies[reg] = {
|
|
146
|
+
type: 'package',
|
|
147
|
+
path: 'chart.js',
|
|
148
|
+
version: '^4.0.0',
|
|
149
|
+
meta: {
|
|
150
|
+
namedImport: true,
|
|
151
|
+
},
|
|
152
|
+
}
|
|
153
|
+
})
|
|
154
|
+
}
|
|
155
|
+
|
|
77
156
|
const componentName = UIDLUtils.getComponentClassName(uidl)
|
|
78
157
|
const pureComponent = ASTUtils.createPureComponent(
|
|
79
158
|
componentName,
|
|
80
159
|
stateDefinitions,
|
|
81
160
|
jsxTagStructure,
|
|
82
|
-
windowImports
|
|
161
|
+
windowImports,
|
|
162
|
+
jsxOptions.dynamicReferencePrefixMap
|
|
83
163
|
)
|
|
84
164
|
|
|
165
|
+
// Add Chart.js registration call after imports
|
|
166
|
+
if (usedChartComponents.length > 0) {
|
|
167
|
+
const chartRegistrations = [
|
|
168
|
+
'CategoryScale',
|
|
169
|
+
'LinearScale',
|
|
170
|
+
'PointElement',
|
|
171
|
+
'LineElement',
|
|
172
|
+
'BarElement',
|
|
173
|
+
'ArcElement',
|
|
174
|
+
'Title',
|
|
175
|
+
'Tooltip',
|
|
176
|
+
'Legend',
|
|
177
|
+
'Filler',
|
|
178
|
+
]
|
|
179
|
+
const registerCall = types.expressionStatement(
|
|
180
|
+
types.callExpression(
|
|
181
|
+
types.memberExpression(types.identifier('ChartJS'), types.identifier('register')),
|
|
182
|
+
chartRegistrations.map((r) => types.identifier(r))
|
|
183
|
+
)
|
|
184
|
+
)
|
|
185
|
+
structure.chunks.push({
|
|
186
|
+
type: ChunkType.AST,
|
|
187
|
+
fileType: FileType.JS,
|
|
188
|
+
name: 'chart-registration',
|
|
189
|
+
content: registerCall,
|
|
190
|
+
linkAfter: [importChunkName],
|
|
191
|
+
})
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// Hoist static object attributes as module-level constants to prevent
|
|
195
|
+
// unnecessary re-renders (new object references on each render)
|
|
196
|
+
if (jsxParams.hoistedConstants.length > 0) {
|
|
197
|
+
const declarations = jsxParams.hoistedConstants.map((c) =>
|
|
198
|
+
types.variableDeclaration('const', [
|
|
199
|
+
types.variableDeclarator(types.identifier(c.name), c.expression),
|
|
200
|
+
])
|
|
201
|
+
)
|
|
202
|
+
declarations.forEach((decl, i) => {
|
|
203
|
+
structure.chunks.push({
|
|
204
|
+
type: ChunkType.AST,
|
|
205
|
+
fileType: FileType.JS,
|
|
206
|
+
name: `hoisted-constant-${i}`,
|
|
207
|
+
content: decl,
|
|
208
|
+
linkAfter: [importChunkName],
|
|
209
|
+
})
|
|
210
|
+
})
|
|
211
|
+
}
|
|
212
|
+
|
|
85
213
|
if (dependencies?.useRouter) {
|
|
86
|
-
const routerAST = types.variableDeclaration('const', [
|
|
87
|
-
types.variableDeclarator(
|
|
88
|
-
types.identifier('router'),
|
|
89
|
-
types.callExpression(types.identifier('useRouter'), [])
|
|
90
|
-
),
|
|
91
|
-
])
|
|
92
214
|
const componentBody = (
|
|
93
215
|
(pureComponent.declarations[0] as types.VariableDeclarator)
|
|
94
216
|
.init as types.ArrowFunctionExpression
|
|
95
217
|
).body as types.BlockStatement
|
|
96
|
-
|
|
218
|
+
|
|
219
|
+
const routerAlreadyDeclared = componentBody.body.some(
|
|
220
|
+
(statement) =>
|
|
221
|
+
statement.type === 'VariableDeclaration' &&
|
|
222
|
+
statement.declarations.some(
|
|
223
|
+
(declaration) =>
|
|
224
|
+
declaration.id.type === 'Identifier' && declaration.id.name === 'router'
|
|
225
|
+
)
|
|
226
|
+
)
|
|
227
|
+
|
|
228
|
+
if (!routerAlreadyDeclared) {
|
|
229
|
+
const routerAST = types.variableDeclaration('const', [
|
|
230
|
+
types.variableDeclarator(
|
|
231
|
+
types.identifier('router'),
|
|
232
|
+
types.callExpression(types.identifier('useRouter'), [])
|
|
233
|
+
),
|
|
234
|
+
])
|
|
235
|
+
componentBody.body.unshift(routerAST)
|
|
236
|
+
}
|
|
97
237
|
}
|
|
98
238
|
|
|
99
239
|
if (Object.keys(windowImports).length) {
|
|
@@ -107,6 +247,9 @@ export const createReactComponentPlugin: ComponentPluginFactory<ReactPluginConfi
|
|
|
107
247
|
meta: {
|
|
108
248
|
nodesLookup,
|
|
109
249
|
dynamicRefPrefix: jsxOptions.dynamicReferencePrefixMap,
|
|
250
|
+
localeReferences: jsxParams.localeReferences,
|
|
251
|
+
globalReferences: jsxParams.globalReferences,
|
|
252
|
+
globalStateReferences: jsxParams.globalStateReferences,
|
|
110
253
|
},
|
|
111
254
|
content: pureComponent,
|
|
112
255
|
linkAfter: [importChunkName],
|
package/dist/cjs/utils.d.ts
DELETED
package/dist/cjs/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAErC,eAAO,MAAM,sBAAsB,YAAa,MAAM,qBAoBrD,CAAA"}
|
package/dist/cjs/utils.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.createDOMInjectionNode = void 0;
|
|
27
|
-
var types = __importStar(require("@babel/types"));
|
|
28
|
-
var createDOMInjectionNode = function (content) {
|
|
29
|
-
return types.jsxElement(types.jsxOpeningElement(types.jsxIdentifier('span'), [
|
|
30
|
-
types.jsxAttribute(types.jsxIdentifier('dangerouslySetInnerHTML'), types.jsxExpressionContainer(types.objectExpression([
|
|
31
|
-
types.objectProperty(types.identifier('__html'), types.stringLiteral(content)),
|
|
32
|
-
]))),
|
|
33
|
-
], true), null, [], true);
|
|
34
|
-
};
|
|
35
|
-
exports.createDOMInjectionNode = createDOMInjectionNode;
|
|
36
|
-
//# sourceMappingURL=utils.js.map
|
package/dist/cjs/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqC;AAE9B,IAAM,sBAAsB,GAAG,UAAC,OAAe;IACpD,OAAO,KAAK,CAAC,UAAU,CACrB,KAAK,CAAC,iBAAiB,CACrB,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EAC3B;QACE,KAAK,CAAC,YAAY,CAChB,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,EAC9C,KAAK,CAAC,sBAAsB,CAC1B,KAAK,CAAC,gBAAgB,CAAC;YACrB,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SAC/E,CAAC,CACH,CACF;KACF,EACD,IAAI,CACL,EACD,IAAI,EACJ,EAAE,EACF,IAAI,CACL,CAAA;AACH,CAAC,CAAA;AApBY,QAAA,sBAAsB,0BAoBlC"}
|
package/dist/esm/utils.d.ts
DELETED
package/dist/esm/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAErC,eAAO,MAAM,sBAAsB,YAAa,MAAM,qBAoBrD,CAAA"}
|
package/dist/esm/utils.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as types from '@babel/types';
|
|
2
|
-
export var createDOMInjectionNode = function (content) {
|
|
3
|
-
return types.jsxElement(types.jsxOpeningElement(types.jsxIdentifier('span'), [
|
|
4
|
-
types.jsxAttribute(types.jsxIdentifier('dangerouslySetInnerHTML'), types.jsxExpressionContainer(types.objectExpression([
|
|
5
|
-
types.objectProperty(types.identifier('__html'), types.stringLiteral(content)),
|
|
6
|
-
]))),
|
|
7
|
-
], true), null, [], true);
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=utils.js.map
|
package/dist/esm/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAErC,MAAM,CAAC,IAAM,sBAAsB,GAAG,UAAC,OAAe;IACpD,OAAO,KAAK,CAAC,UAAU,CACrB,KAAK,CAAC,iBAAiB,CACrB,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EAC3B;QACE,KAAK,CAAC,YAAY,CAChB,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,EAC9C,KAAK,CAAC,sBAAsB,CAC1B,KAAK,CAAC,gBAAgB,CAAC;YACrB,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SAC/E,CAAC,CACH,CACF;KACF,EACD,IAAI,CACL,EACD,IAAI,EACJ,EAAE,EACF,IAAI,CACL,CAAA;AACH,CAAC,CAAA"}
|
package/src/utils.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as types from '@babel/types'
|
|
2
|
-
|
|
3
|
-
export const createDOMInjectionNode = (content: string) => {
|
|
4
|
-
return types.jsxElement(
|
|
5
|
-
types.jsxOpeningElement(
|
|
6
|
-
types.jsxIdentifier('span'),
|
|
7
|
-
[
|
|
8
|
-
types.jsxAttribute(
|
|
9
|
-
types.jsxIdentifier('dangerouslySetInnerHTML'),
|
|
10
|
-
types.jsxExpressionContainer(
|
|
11
|
-
types.objectExpression([
|
|
12
|
-
types.objectProperty(types.identifier('__html'), types.stringLiteral(content)),
|
|
13
|
-
])
|
|
14
|
-
)
|
|
15
|
-
),
|
|
16
|
-
],
|
|
17
|
-
true
|
|
18
|
-
),
|
|
19
|
-
null,
|
|
20
|
-
[],
|
|
21
|
-
true
|
|
22
|
-
)
|
|
23
|
-
}
|