@teleporthq/teleport-plugin-angular-base-component 0.42.0-alpha.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAKhB,MAAM,4BAA4B,CAAA;AAenC,UAAU,mBAAmB;IAC3B,wBAAwB,EAAE,MAAM,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;IACxB,2BAA2B,EAAE,MAAM,CAAA;IACnC,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,4BAA4B,EAAE,sBAAsB,CAAC,mBAAmB,CAkIpF,CAAA;;AAED,wBAA6C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAKhB,MAAM,4BAA4B,CAAA;AAoBnC,UAAU,mBAAmB;IAC3B,wBAAwB,EAAE,MAAM,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;IACxB,2BAA2B,EAAE,MAAM,CAAA;IACnC,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,4BAA4B,EAAE,sBAAsB,CAAC,mBAAmB,CAgKpF,CAAA;;AAED,wBAA6C"}
package/dist/cjs/index.js CHANGED
@@ -45,8 +45,8 @@ var constants_1 = require("./constants");
45
45
  var createAngularComponentPlugin = function (config) {
46
46
  var _a = config || {}, _b = _a.angularTemplateChunkName, angularTemplateChunkName = _b === void 0 ? constants_1.DEFAULT_ANGULAR_TEMPLATE_CHUNK_NAME : _b, _c = _a.exportClassChunk, exportClassChunk = _c === void 0 ? constants_1.DEFAULT_ANGULAR_TS_CHUNK_NAME : _c, _d = _a.componentDecoratorChunkName, componentDecoratorChunkName = _d === void 0 ? constants_1.DEFAULT_ANGULAR_DECORATOR_CHUNK_NAME : _d, _e = _a.tsChunkAfter, tsChunkAfter = _e === void 0 ? constants_1.DEFAULT_TS_CHUNK_AFTER : _e;
47
47
  var angularComponentPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
48
- var uidl, chunks, dependencies, _a, seo, _b, stateDefinitions, _c, propDefinitions, props, functionalProps, templateLookup, dataObject, methodsObject, templateContent, componentName, params, componentDecoratorAST, shouldImportEventEmitter, exportAST;
49
- return __generator(this, function (_d) {
48
+ var uidl, chunks, dependencies, _a, seo, _b, stateDefinitions, _c, propDefinitions, _i, _d, prop, templateLookup, dataObject, methodsObject, templateParams, templateSyntaxOptions, _e, _f, propKey, prop, templateContent, componentName, params, componentDecoratorAST, shouldImportEventEmitter, exportAST;
49
+ return __generator(this, function (_g) {
50
50
  uidl = structure.uidl, chunks = structure.chunks, dependencies = structure.dependencies;
51
51
  _a = uidl.seo, seo = _a === void 0 ? {} : _a, _b = uidl.stateDefinitions, stateDefinitions = _b === void 0 ? {} : _b, _c = uidl.propDefinitions, propDefinitions = _c === void 0 ? {} : _c;
52
52
  dependencies.Component = constants_1.ANGULAR_CORE_DEPENDENCY;
@@ -56,26 +56,32 @@ var createAngularComponentPlugin = function (config) {
56
56
  if (seo.metaTags && seo.metaTags.length > 0) {
57
57
  dependencies.Meta = constants_1.ANGULAR_PLATFORM_BROWSER;
58
58
  }
59
- props = Object.values(propDefinitions);
60
- if (props.length > 0) {
61
- functionalProps = props.filter(function (prop) { return prop.type === 'func'; });
62
- if (functionalProps.length > 0) {
59
+ for (_i = 0, _d = Object.values(propDefinitions); _i < _d.length; _i++) {
60
+ prop = _d[_i];
61
+ if (prop.type === 'func' && dependencies.Output === undefined) {
63
62
  dependencies.Output = constants_1.ANGULAR_CORE_DEPENDENCY;
64
63
  dependencies.EventEmitter = constants_1.ANGULAR_CORE_DEPENDENCY;
65
64
  }
66
- if (props.length - functionalProps.length > 0) {
65
+ if (dependencies.Input === undefined) {
67
66
  dependencies.Input = constants_1.ANGULAR_CORE_DEPENDENCY;
68
67
  }
68
+ if (prop.type === 'element' && dependencies.ContentChild === undefined) {
69
+ dependencies.ContentChild = constants_1.ANGULAR_CORE_DEPENDENCY;
70
+ dependencies.TemplateRef = constants_1.ANGULAR_CORE_DEPENDENCY;
71
+ }
69
72
  }
70
73
  templateLookup = {};
71
74
  dataObject = {};
72
75
  methodsObject = {};
73
- templateContent = (0, teleport_plugin_common_1.createHTMLTemplateSyntax)(uidl.node, {
76
+ templateParams = {
74
77
  templateLookup: templateLookup,
75
78
  dependencies: dependencies,
76
79
  dataObject: dataObject,
77
80
  methodsObject: methodsObject,
78
- }, {
81
+ stateDefinitions: stateDefinitions,
82
+ propDefinitions: propDefinitions,
83
+ };
84
+ templateSyntaxOptions = {
79
85
  interpolation: function (value) { return "{{ ".concat(value, " }}"); },
80
86
  eventBinding: function (value) { return "(".concat(value, ")"); },
81
87
  eventHandlersBindingMode: function (value) { return "".concat(value, "()"); },
@@ -92,7 +98,23 @@ var createAngularComponentPlugin = function (config) {
92
98
  customElementTagName: function (value) { return teleport_shared_1.UIDLUtils.createWebComponentFriendlyName(value); },
93
99
  dependencyHandling: 'ignore',
94
100
  domHTMLInjection: "[innerHTML]",
95
- });
101
+ slotBinding: '#',
102
+ slotTagName: 'ng-template',
103
+ };
104
+ /*
105
+ We need to generate jsx structure of every node that is defined in the UIDL.
106
+ If we use these nodes in the later stage of the code-generation depends on the usage of these nodes.
107
+ */
108
+ for (_e = 0, _f = Object.keys(propDefinitions); _e < _f.length; _e++) {
109
+ propKey = _f[_e];
110
+ prop = propDefinitions[propKey];
111
+ if (prop.type === 'element' &&
112
+ prop.defaultValue !== undefined &&
113
+ typeof prop.defaultValue === 'object') {
114
+ (0, teleport_plugin_common_1.createHTMLTemplateSyntax)(prop.defaultValue, templateParams, templateSyntaxOptions);
115
+ }
116
+ }
117
+ templateContent = (0, teleport_plugin_common_1.createHTMLTemplateSyntax)(uidl.node, templateParams, templateSyntaxOptions);
96
118
  chunks.push({
97
119
  type: teleport_types_1.ChunkType.HAST,
98
120
  name: angularTemplateChunkName,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAOmC;AACnC,+DAAuD;AACvD,6EAA0F;AAE1F,iCAA2C;AAE3C,yCAOoB;AASb,IAAM,4BAA4B,GAAgD,UACvF,MAAM;IAEA,IAAA,KAKF,MAAM,IAAI,EAAE,EAJd,gCAA8D,EAA9D,wBAAwB,mBAAG,+CAAmC,KAAA,EAC9D,wBAAgD,EAAhD,gBAAgB,mBAAG,yCAA6B,KAAA,EAChD,mCAAkE,EAAlE,2BAA2B,mBAAG,gDAAoC,KAAA,EAClE,oBAAqC,EAArC,YAAY,mBAAG,kCAAsB,KACvB,CAAA;IAEhB,IAAM,sBAAsB,GAAoB,UAAO,SAAS;;;YACtD,IAAI,GAA2B,SAAS,KAApC,EAAE,MAAM,GAAmB,SAAS,OAA5B,EAAE,YAAY,GAAK,SAAS,aAAd,CAAc;YACxC,KAA0D,IAAI,IAAtD,EAAR,GAAG,mBAAG,EAAE,KAAA,EAAE,KAAgD,IAAI,iBAA/B,EAArB,gBAAgB,mBAAG,EAAE,KAAA,EAAE,KAAyB,IAAI,gBAAT,EAApB,eAAe,mBAAG,EAAE,KAAA,CAAS;YAEtE,YAAY,CAAC,SAAS,GAAG,mCAAuB,CAAA;YAEhD,IAAI,GAAG,CAAC,KAAK,EAAE;gBACb,YAAY,CAAC,KAAK,GAAG,oCAAwB,CAAA;aAC9C;YAED,IAAI,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;gBAC3C,YAAY,CAAC,IAAI,GAAG,oCAAwB,CAAA;aAC7C;YAEK,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAAA;YAC5C,IAA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C/B,CAAC,CAAA;AAhKY,QAAA,4BAA4B,gCAgKxC;AAED,kBAAe,IAAA,oCAA4B,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","../../../teleport-shared/dist/cjs/constants/index.d.ts","../../../teleport-shared/dist/cjs/utils/string-utils.d.ts","../../../teleport-shared/dist/cjs/utils/uidl-utils.d.ts","../../../teleport-shared/dist/cjs/utils/generic.d.ts","../../../teleport-shared/dist/cjs/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/utils.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"b09482535eb7d553ab0507e93616b811a3194a0339292f0e534787e4b01568bb","71da47b249a28585b6edb3d5a5d89b468f75c70e7696da7c978c276625683442","dc19b304f9b96efbea7359264ac17eaf4c2d3fd231df7306eddfb983039785ca","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d50fe6e9eb7f4722fa789aab25bf60d0dfbcc36cc76af4a7d7af2b5886665f93","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"78d135d6db7f15d7ae7c7e90e80c1fa84610e5d127e8a7cd282dc270b2167bcc","signature":"06de7d055e1e1b5887c266b973c63382b3d4b65932fa74c7a439c5db5d7e32aa"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","22c6f439ba8a0f6347a16d6fad503bb8a2fbfe778e5cf5c90918659c653c8a8c","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","1905eab6570faf3010802b4c00196eda6285b028f0b41bdfa7f7a29427502b62","ce5106bc15353dd05f601ecb48fd99b152362346cbbb3b398e0d5fdc36d24b0a","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","c7b126a023fbcbe6b07edf69283b049fc3ca6958bc19934cde610a0ab5ae8ef3","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","8ac46882cbdc97428a25eecc68402898730ed74cd4e58152bb3252fbb3cab775","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","64e43fe64a91d26169ee2bbc877135375b99ca4c5806b706f63e962528a3eb30","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","cfbee63950fddcd052c993abe94531a3d16e5273f3f14dc493fd47f78d0cdd03","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"2e6bcd012cedaecfcfebdc288970810dcccf1eb43345cc349d7d9824edc25387","signature":"125b55c544a48c52dc60f95526dcd721964e0d23f7d1df7fc085d6beacab1e4f"},{"version":"49fe9da0fd9274bef236701108296f030211c23bb16d0ef53d2ac572bc98f743","signature":"4d733fa8af644a7d116a04aab313d58202bc2d8b264dbcf734a8a9ea3c6389be"},"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,116],[48,49,54,67,68,116],[48,54,55,67,116],[48,55,116],[48,55,57,116],[56,57,58,59,60,61,62,63,64,65,66,116],[48,63,116],[48,55,65,116],[50,51,52,53,116],[44,116],[44,45,46,47,116],[43,116],[43,44,116],[48],[48,55]],"referencedMap":[[55,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],[49,56],[69,57],[68,58],[56,59],[59,56],[58,60],[67,61],[64,62],[63,56],[66,63],[65,59],[60,60],[62,56],[57,1],[61,56],[50,56],[54,64],[53,1],[51,1],[52,56],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"exportedModulesMap":[[55,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],[49,69],[69,69],[68,70],[56,59],[59,56],[58,60],[67,61],[64,62],[63,56],[66,63],[65,59],[60,60],[62,56],[57,1],[61,56],[50,56],[54,64],[53,1],[51,1],[52,56],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"semanticDiagnosticsPerFile":[55,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,49,69,68,56,59,58,67,64,63,66,65,60,62,57,61,50,54,53,51,52,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/utils.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","3672d09e745eebdc77fbd27500be83d5f728ce49d736e48df8e40564a220082a","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","ef57158596c4ca7aaba95ec2c8a59a7e0b95eefec3b624fb23f13e82674ea3da","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","a82567a810267bac7bcd324917fde10195b9839e6bf86e6c1b1bade67b3ce600","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"78d135d6db7f15d7ae7c7e90e80c1fa84610e5d127e8a7cd282dc270b2167bcc","signature":"06de7d055e1e1b5887c266b973c63382b3d4b65932fa74c7a439c5db5d7e32aa"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","242e6ce3f14c79123c25c35660899ba483f3fdc14ac8fa4a8eee5d03231c6bc3","96adbcda030ffa1952a15192edd1b852084c9bfbbd2066e5c8d567987c466e90","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","50d2610b1f4e78be730aa015115f5148686285f9e42af9100b6775ea6b97ec7f","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","6ff754e93a1ef94f7a92e7f6f9b67357f3b25836ab36d66202d1d07343186ab7","60fe3fa5573cd5d5c49966401678064cd81191fbd1c448856cb1c218e7e4434c","ac1916691af1f2cf58ea8229c620c3a16abe197ae70a9987065bd571cb559c39","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","801c2cb432d4fcc1b3a60c02e591f60146fafefa5d019eb2da1f77e0ce748529",{"version":"26372b37b77b619ae80be4915c1a25d0826b60addad00e4b4d6504e1233653c8","signature":"125b55c544a48c52dc60f95526dcd721964e0d23f7d1df7fc085d6beacab1e4f"},{"version":"a6b027be3d2d9dd15959326c0c38c34dbe2da63c0437316fcfe91efcbc42199e","signature":"4d733fa8af644a7d116a04aab313d58202bc2d8b264dbcf734a8a9ea3c6389be"},"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":[[163,165],[159,160],[159,160,161,162],[164],[166],[72],[108],[109,114,142],[110,121,122,129,139,150],[110,111,121,129],[112,151],[113,114,122,130],[114,139,147],[115,117,121,129],[108,116],[117,118],[121],[119,121],[108,121],[121,122,123,139,150],[121,122,123,136,139,142],[106,155],[117,121,124,129,139,150],[121,122,124,125,129,139,147,150],[124,126,139,147,150],[72,73,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,157],[121,127],[128,150,155],[117,121,129,139],[130],[131],[108,132],[133,149,155],[134],[135],[121,136,137],[136,138,151,153],[109,121,139,140,141,142],[109,139,141],[139,140],[142],[143],[108,139],[121,145,146],[145,146],[114,129,139,147],[148],[129,149],[109,124,135,150],[114,151],[139,152],[128,153],[154],[109,114,121,123,132,139,150,153,155],[139,156],[83,87,150],[83,139,150],[78],[80,83,147,150],[129,147],[158],[78,158],[80,83,129,150],[75,76,79,82,109,121,139,150],[75,81],[79,83,109,142,150,158],[109,158],[99,109,158],[77,78,158],[83],[77,78,79,80,81,82,83,84,85,87,88,89,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105],[83,90,91],[81,83,91,92],[82],[75,78,83],[83,87,91,92],[87],[81,83,86,150],[75,80,81,83,87,90],[109,139],[78,83,99,109,155,158],[49],[49,50,55,69,70],[45,49,55,69],[45,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],[51,52,53,54],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[166,1],[161,2],[163,3],[162,2],[165,4],[167,5],[72,6],[73,6],[108,7],[109,8],[110,9],[111,10],[112,11],[113,12],[114,13],[115,14],[116,15],[117,16],[118,16],[120,17],[119,18],[121,19],[122,20],[123,21],[107,22],[124,23],[125,24],[126,25],[158,26],[127,27],[128,28],[129,29],[130,30],[131,31],[132,32],[133,33],[134,34],[135,35],[136,36],[137,36],[138,37],[139,38],[141,39],[140,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[148,47],[149,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[90,56],[97,57],[89,56],[104,58],[81,59],[80,60],[103,61],[98,62],[101,63],[83,64],[82,65],[78,66],[77,67],[100,68],[79,69],[84,70],[88,70],[106,71],[105,70],[92,72],[93,73],[95,74],[91,75],[94,76],[99,61],[86,77],[87,78],[96,79],[76,80],[102,81],[50,82],[71,83],[70,84],[56,85],[59,82],[58,86],[69,87],[67,88],[66,82],[68,89],[64,85],[65,89],[61,90],[63,85],[62,82],[51,82],[55,91],[54,82],[53,82],[46,92],[49,93],[44,94],[48,95]],"exportedModulesMap":[[166,1],[161,2],[163,3],[162,2],[165,4],[167,5],[72,6],[73,6],[108,7],[109,8],[110,9],[111,10],[112,11],[113,12],[114,13],[115,14],[116,15],[117,16],[118,16],[120,17],[119,18],[121,19],[122,20],[123,21],[107,22],[124,23],[125,24],[126,25],[158,26],[127,27],[128,28],[129,29],[130,30],[131,31],[132,32],[133,33],[134,34],[135,35],[136,36],[137,36],[138,37],[139,38],[141,39],[140,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[148,47],[149,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[90,56],[97,57],[89,56],[104,58],[81,59],[80,60],[103,61],[98,62],[101,63],[83,64],[82,65],[78,66],[77,67],[100,68],[79,69],[84,70],[88,70],[106,71],[105,70],[92,72],[93,73],[95,74],[91,75],[94,76],[99,61],[86,77],[87,78],[96,79],[76,80],[102,81],[50,82],[71,82],[70,85],[56,85],[59,82],[58,86],[69,87],[67,88],[66,82],[68,89],[64,85],[65,89],[61,90],[63,85],[62,82],[51,82],[55,91],[54,82],[53,82],[46,92],[49,93],[44,94],[48,95]],"semanticDiagnosticsPerFile":[45,166,159,161,163,162,160,165,164,167,72,73,108,109,110,111,112,113,114,115,116,117,118,120,119,121,122,123,107,157,124,125,126,158,127,128,129,130,131,132,133,134,135,136,137,138,139,141,140,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,74,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,90,97,89,104,81,80,103,98,101,83,82,78,77,100,79,84,85,88,75,106,105,92,93,95,91,94,99,86,87,96,76,102,50,71,70,56,59,58,69,67,66,68,64,65,61,63,57,62,60,51,55,54,52,53,47,46,43,49,44,48]},"version":"4.9.5"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAGrC,OAAO,EAEL,aAAa,EAEb,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,4BAA4B,CAAA;AAEnC,eAAO,MAAM,iBAAiB,SACtB,aAAa,mBACF,OAAO,MAAM,EAAE,kBAAkB,CAAC,oBACjC,OAAO,MAAM,EAAE,mBAAmB,CAAC,cACzC,OAAO,MAAM,EAAE,OAAO,CAAC,iBACpB,OAAO,MAAM,EAAE,yBAAyB,EAAE,CAAC,mDA2E3D,CAAA;AA8ED,eAAO,MAAM,uBAAuB,0BACX,iBAAiB,mBACvB,OAAO,MAAM,EAAE,kBAAkB,CAAC,gDA0BpD,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAGrC,OAAO,EAEL,aAAa,EAEb,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,4BAA4B,CAAA;AAEnC,eAAO,MAAM,iBAAiB,SACtB,aAAa,mBACF,OAAO,MAAM,EAAE,kBAAkB,CAAC,oBACjC,OAAO,MAAM,EAAE,mBAAmB,CAAC,cACzC,OAAO,MAAM,EAAE,OAAO,CAAC,iBACpB,OAAO,MAAM,EAAE,yBAAyB,EAAE,CAAC,mDAyF3D,CAAA;AA8ED,eAAO,MAAM,uBAAuB,0BACX,iBAAiB,mBACvB,OAAO,MAAM,EAAE,kBAAkB,CAAC,gDA0BpD,CAAA"}
package/dist/cjs/utils.js CHANGED
@@ -50,6 +50,9 @@ var generateExportAST = function (uidl, propDefinitions, stateDefinitions, dataO
50
50
  if (definition.type === 'func') {
51
51
  return t.classProperty(t.identifier(propKey), t.newExpression(t.identifier('EventEmitter'), []), t.typeAnnotation(t.genericTypeAnnotation(t.identifier('EventEmitter'), t.typeParameterInstantiation([t.anyTypeAnnotation()]))), [t.decorator(t.callExpression(t.identifier('Output'), []))]);
52
52
  }
53
+ if (definition.type === 'element') {
54
+ return t.classProperty(t.identifier(propKey), null, t.tsTypeAnnotation(t.tsTypeReference(t.identifier('TemplateRef'), t.tsTypeParameterInstantiation([t.tsAnyKeyword()]))), [t.decorator(t.callExpression(t.identifier('ContentChild'), [t.stringLiteral(propKey)]))]);
55
+ }
53
56
  return t.classProperty(t.identifier(propKey), teleport_plugin_common_1.ASTUtils.convertValueToLiteral(propDefinitions[propKey].defaultValue), t.tsTypeAnnotation(teleport_plugin_common_1.ASTUtils.getTSAnnotationForType(propDefinitions[propKey].type)), [t.decorator(t.callExpression(t.identifier('Input'), []))]);
54
57
  });
55
58
  var propertyDecleration = Object.keys(stateDefinitions).map(function (stateKey) {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";;;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AenC,UAAU,mBAAmB;IAC3B,wBAAwB,EAAE,MAAM,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;IACxB,2BAA2B,EAAE,MAAM,CAAA;IACnC,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,4BAA4B,EAAE,sBAAsB,CAAC,mBAAmB,CAkIpF,CAAA;;AAED,wBAA6C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,eAAe,EAKhB,MAAM,4BAA4B,CAAA;AAoBnC,UAAU,mBAAmB;IAC3B,wBAAwB,EAAE,MAAM,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;IACxB,2BAA2B,EAAE,MAAM,CAAA;IACnC,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,eAAO,MAAM,4BAA4B,EAAE,sBAAsB,CAAC,mBAAmB,CAgKpF,CAAA;;AAED,wBAA6C"}
package/dist/esm/index.js CHANGED
@@ -36,14 +36,14 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  };
37
37
  import { ChunkType, FileType, } from '@teleporthq/teleport-types';
38
38
  import { UIDLUtils } from '@teleporthq/teleport-shared';
39
- import { ASTBuilders, createHTMLTemplateSyntax } from '@teleporthq/teleport-plugin-common';
39
+ import { ASTBuilders, createHTMLTemplateSyntax, } from '@teleporthq/teleport-plugin-common';
40
40
  import { generateExportAST } from './utils';
41
41
  import { DEFAULT_TS_CHUNK_AFTER, ANGULAR_CORE_DEPENDENCY, ANGULAR_PLATFORM_BROWSER, DEFAULT_ANGULAR_TS_CHUNK_NAME, DEFAULT_ANGULAR_TEMPLATE_CHUNK_NAME, DEFAULT_ANGULAR_DECORATOR_CHUNK_NAME, } from './constants';
42
42
  export var createAngularComponentPlugin = function (config) {
43
43
  var _a = config || {}, _b = _a.angularTemplateChunkName, angularTemplateChunkName = _b === void 0 ? DEFAULT_ANGULAR_TEMPLATE_CHUNK_NAME : _b, _c = _a.exportClassChunk, exportClassChunk = _c === void 0 ? DEFAULT_ANGULAR_TS_CHUNK_NAME : _c, _d = _a.componentDecoratorChunkName, componentDecoratorChunkName = _d === void 0 ? DEFAULT_ANGULAR_DECORATOR_CHUNK_NAME : _d, _e = _a.tsChunkAfter, tsChunkAfter = _e === void 0 ? DEFAULT_TS_CHUNK_AFTER : _e;
44
44
  var angularComponentPlugin = function (structure) { return __awaiter(void 0, void 0, void 0, function () {
45
- var uidl, chunks, dependencies, _a, seo, _b, stateDefinitions, _c, propDefinitions, props, functionalProps, templateLookup, dataObject, methodsObject, templateContent, componentName, params, componentDecoratorAST, shouldImportEventEmitter, exportAST;
46
- return __generator(this, function (_d) {
45
+ var uidl, chunks, dependencies, _a, seo, _b, stateDefinitions, _c, propDefinitions, _i, _d, prop, templateLookup, dataObject, methodsObject, templateParams, templateSyntaxOptions, _e, _f, propKey, prop, templateContent, componentName, params, componentDecoratorAST, shouldImportEventEmitter, exportAST;
46
+ return __generator(this, function (_g) {
47
47
  uidl = structure.uidl, chunks = structure.chunks, dependencies = structure.dependencies;
48
48
  _a = uidl.seo, seo = _a === void 0 ? {} : _a, _b = uidl.stateDefinitions, stateDefinitions = _b === void 0 ? {} : _b, _c = uidl.propDefinitions, propDefinitions = _c === void 0 ? {} : _c;
49
49
  dependencies.Component = ANGULAR_CORE_DEPENDENCY;
@@ -53,26 +53,32 @@ export var createAngularComponentPlugin = function (config) {
53
53
  if (seo.metaTags && seo.metaTags.length > 0) {
54
54
  dependencies.Meta = ANGULAR_PLATFORM_BROWSER;
55
55
  }
56
- props = Object.values(propDefinitions);
57
- if (props.length > 0) {
58
- functionalProps = props.filter(function (prop) { return prop.type === 'func'; });
59
- if (functionalProps.length > 0) {
56
+ for (_i = 0, _d = Object.values(propDefinitions); _i < _d.length; _i++) {
57
+ prop = _d[_i];
58
+ if (prop.type === 'func' && dependencies.Output === undefined) {
60
59
  dependencies.Output = ANGULAR_CORE_DEPENDENCY;
61
60
  dependencies.EventEmitter = ANGULAR_CORE_DEPENDENCY;
62
61
  }
63
- if (props.length - functionalProps.length > 0) {
62
+ if (dependencies.Input === undefined) {
64
63
  dependencies.Input = ANGULAR_CORE_DEPENDENCY;
65
64
  }
65
+ if (prop.type === 'element' && dependencies.ContentChild === undefined) {
66
+ dependencies.ContentChild = ANGULAR_CORE_DEPENDENCY;
67
+ dependencies.TemplateRef = ANGULAR_CORE_DEPENDENCY;
68
+ }
66
69
  }
67
70
  templateLookup = {};
68
71
  dataObject = {};
69
72
  methodsObject = {};
70
- templateContent = createHTMLTemplateSyntax(uidl.node, {
73
+ templateParams = {
71
74
  templateLookup: templateLookup,
72
75
  dependencies: dependencies,
73
76
  dataObject: dataObject,
74
77
  methodsObject: methodsObject,
75
- }, {
78
+ stateDefinitions: stateDefinitions,
79
+ propDefinitions: propDefinitions,
80
+ };
81
+ templateSyntaxOptions = {
76
82
  interpolation: function (value) { return "{{ ".concat(value, " }}"); },
77
83
  eventBinding: function (value) { return "(".concat(value, ")"); },
78
84
  eventHandlersBindingMode: function (value) { return "".concat(value, "()"); },
@@ -89,7 +95,23 @@ export var createAngularComponentPlugin = function (config) {
89
95
  customElementTagName: function (value) { return UIDLUtils.createWebComponentFriendlyName(value); },
90
96
  dependencyHandling: 'ignore',
91
97
  domHTMLInjection: "[innerHTML]",
92
- });
98
+ slotBinding: '#',
99
+ slotTagName: 'ng-template',
100
+ };
101
+ /*
102
+ We need to generate jsx structure of every node that is defined in the UIDL.
103
+ If we use these nodes in the later stage of the code-generation depends on the usage of these nodes.
104
+ */
105
+ for (_e = 0, _f = Object.keys(propDefinitions); _e < _f.length; _e++) {
106
+ propKey = _f[_e];
107
+ prop = propDefinitions[propKey];
108
+ if (prop.type === 'element' &&
109
+ prop.defaultValue !== undefined &&
110
+ typeof prop.defaultValue === 'object') {
111
+ createHTMLTemplateSyntax(prop.defaultValue, templateParams, templateSyntaxOptions);
112
+ }
113
+ }
114
+ templateContent = createHTMLTemplateSyntax(uidl.node, templateParams, templateSyntaxOptions);
93
115
  chunks.push({
94
116
  type: ChunkType.HAST,
95
117
  name: angularTemplateChunkName,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAKL,SAAS,EACT,QAAQ,GACT,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAA;AAE1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,6BAA6B,EAC7B,mCAAmC,EACnC,oCAAoC,GACrC,MAAM,aAAa,CAAA;AASpB,MAAM,CAAC,IAAM,4BAA4B,GAAgD,UACvF,MAAM;IAEA,IAAA,KAKF,MAAM,IAAI,EAAE,EAJd,gCAA8D,EAA9D,wBAAwB,mBAAG,mCAAmC,KAAA,EAC9D,wBAAgD,EAAhD,gBAAgB,mBAAG,6BAA6B,KAAA,EAChD,mCAAkE,EAAlE,2BAA2B,mBAAG,oCAAoC,KAAA,EAClE,oBAAqC,EAArC,YAAY,mBAAG,sBAAsB,KACvB,CAAA;IAEhB,IAAM,sBAAsB,GAAoB,UAAO,SAAS;;;YACtD,IAAI,GAA2B,SAAS,KAApC,EAAE,MAAM,GAAmB,SAAS,OAA5B,EAAE,YAAY,GAAK,SAAS,aAAd,CAAc;YACxC,KAA0D,IAAI,IAAtD,EAAR,GAAG,mBAAG,EAAE,KAAA,EAAE,KAAgD,IAAI,iBAA/B,EAArB,gBAAgB,mBAAG,EAAE,KAAA,EAAE,KAAyB,IAAI,gBAAT,EAApB,eAAe,mBAAG,EAAE,KAAA,CAAS;YAEtE,YAAY,CAAC,SAAS,GAAG,uBAAuB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BACF,IAAI,wBAAwB,EAAE;oBAC5B,YAAY,CAAC,MAAM,GAAG,uBAAuB,CAAA;oBAC7C,YAAY,CAAC,YAAY,GAAG,uBAAuB,CAAA;iBACpD;aACF;YAEK,SAAS,GAAG,iBAAiB,CACjC,IAAI,EACJ,eAAe,EACf,gBAAgB,EAChB,UAAU,EACV,aAAa,CACd,CAAA;YAED,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,SAAS,CAAC,GAAG;gBACnB,IAAI,EAAE,gBAAgB;gBACtB,QAAQ,EAAE,QAAQ,CAAC,EAAE;gBACrB,SAAS,EAAE,YAAY;gBACvB,OAAO,EAAE,SAAS;aACnB,CAAC,CAAA;YAEF,sBAAO,SAAS,EAAA;;SACjB,CAAA;IAED,OAAO,sBAAsB,CAAA;AAC/B,CAAC,CAAA;AAED,eAAe,4BAA4B,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","../../../teleport-shared/dist/cjs/constants/index.d.ts","../../../teleport-shared/dist/cjs/utils/string-utils.d.ts","../../../teleport-shared/dist/cjs/utils/uidl-utils.d.ts","../../../teleport-shared/dist/cjs/utils/generic.d.ts","../../../teleport-shared/dist/cjs/index.d.ts","../../../../node_modules/@babel/types/lib/index.d.ts","../../../teleport-plugin-common/dist/cjs/builders/ast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/parsed-ast.d.ts","../../../teleport-plugin-common/dist/cjs/builders/style-builders.d.ts","../../../teleport-plugin-common/dist/cjs/builders/hast-builders.d.ts","../../../teleport-plugin-common/dist/cjs/utils/ast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/style-utils.d.ts","../../../teleport-plugin-common/dist/cjs/utils/hast-utils.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-html/index.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/types.d.ts","../../../teleport-plugin-common/dist/cjs/node-handlers/node-to-jsx/index.d.ts","../../../teleport-plugin-common/dist/cjs/index.d.ts","../../src/utils.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"b09482535eb7d553ab0507e93616b811a3194a0339292f0e534787e4b01568bb","71da47b249a28585b6edb3d5a5d89b468f75c70e7696da7c978c276625683442","dc19b304f9b96efbea7359264ac17eaf4c2d3fd231df7306eddfb983039785ca","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","d50fe6e9eb7f4722fa789aab25bf60d0dfbcc36cc76af4a7d7af2b5886665f93","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"78d135d6db7f15d7ae7c7e90e80c1fa84610e5d127e8a7cd282dc270b2167bcc","signature":"06de7d055e1e1b5887c266b973c63382b3d4b65932fa74c7a439c5db5d7e32aa"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","22c6f439ba8a0f6347a16d6fad503bb8a2fbfe778e5cf5c90918659c653c8a8c","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","1905eab6570faf3010802b4c00196eda6285b028f0b41bdfa7f7a29427502b62","ce5106bc15353dd05f601ecb48fd99b152362346cbbb3b398e0d5fdc36d24b0a","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","c7b126a023fbcbe6b07edf69283b049fc3ca6958bc19934cde610a0ab5ae8ef3","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","8ac46882cbdc97428a25eecc68402898730ed74cd4e58152bb3252fbb3cab775","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","64e43fe64a91d26169ee2bbc877135375b99ca4c5806b706f63e962528a3eb30","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","cfbee63950fddcd052c993abe94531a3d16e5273f3f14dc493fd47f78d0cdd03","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992",{"version":"2e6bcd012cedaecfcfebdc288970810dcccf1eb43345cc349d7d9824edc25387","signature":"125b55c544a48c52dc60f95526dcd721964e0d23f7d1df7fc085d6beacab1e4f"},{"version":"49fe9da0fd9274bef236701108296f030211c23bb16d0ef53d2ac572bc98f743","signature":"4d733fa8af644a7d116a04aab313d58202bc2d8b264dbcf734a8a9ea3c6389be"},"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,116],[48,49,54,67,68,116],[48,54,55,67,116],[48,55,116],[48,55,57,116],[56,57,58,59,60,61,62,63,64,65,66,116],[48,63,116],[48,55,65,116],[50,51,52,53,116],[44,116],[44,45,46,47,116],[43,116],[43,44,116],[48],[48,55]],"referencedMap":[[55,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],[49,56],[69,57],[68,58],[56,59],[59,56],[58,60],[67,61],[64,62],[63,56],[66,63],[65,59],[60,60],[62,56],[57,1],[61,56],[50,56],[54,64],[53,1],[51,1],[52,56],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"exportedModulesMap":[[55,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],[49,69],[69,69],[68,70],[56,59],[59,56],[58,60],[67,61],[64,62],[63,56],[66,63],[65,59],[60,60],[62,56],[57,1],[61,56],[50,56],[54,64],[53,1],[51,1],[52,56],[46,1],[45,65],[43,1],[48,66],[44,67],[47,68]],"semanticDiagnosticsPerFile":[55,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,49,69,68,56,59,58,67,64,63,66,65,60,62,57,61,50,54,53,51,52,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/utils.ts","../../src/index.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/file.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/filereader.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/dom-events.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/globals.global.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/cleanupSemantic.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/diffLines.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/printDiffs.d.ts","../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts","../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../node_modules/@types/jest/index.d.ts","../../../../node_modules/@types/jest/ts3.2/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14fc7efae8b184b18019a5906c6f6de752823b44ff1acf7924bbdc8877ded21b","3672d09e745eebdc77fbd27500be83d5f728ce49d736e48df8e40564a220082a","55584873eae27c5607725f0a9b2123cdea9100fd47cd4bfd582b567a7c363877","ef57158596c4ca7aaba95ec2c8a59a7e0b95eefec3b624fb23f13e82674ea3da","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","a82567a810267bac7bcd324917fde10195b9839e6bf86e6c1b1bade67b3ce600","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f",{"version":"78d135d6db7f15d7ae7c7e90e80c1fa84610e5d127e8a7cd282dc270b2167bcc","signature":"06de7d055e1e1b5887c266b973c63382b3d4b65932fa74c7a439c5db5d7e32aa"},"afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","242e6ce3f14c79123c25c35660899ba483f3fdc14ac8fa4a8eee5d03231c6bc3","96adbcda030ffa1952a15192edd1b852084c9bfbbd2066e5c8d567987c466e90","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","61fe981de167fe34caf4bd80a3c120747844dddb519eaf8a79549d5f78081fb7","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","f2ad963e74d849aa62c16f4cae23b7f8f6e26844c0d61f42943086ee7e0cd896","51df45d44f1a2052bd14063736f385bfbdcfee3759fa5597c89f62b3bbdb02e5","10b2bb0a74b12ecbab5003ff91aa8b3da674f81a5d72fdd6f998bfaf664948c8","50d2610b1f4e78be730aa015115f5148686285f9e42af9100b6775ea6b97ec7f","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","6ff754e93a1ef94f7a92e7f6f9b67357f3b25836ab36d66202d1d07343186ab7","60fe3fa5573cd5d5c49966401678064cd81191fbd1c448856cb1c218e7e4434c","ac1916691af1f2cf58ea8229c620c3a16abe197ae70a9987065bd571cb559c39","48533e135178c91d9abe0789d1c09802696a42985217396ccfcfd1034a099a0e","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","801c2cb432d4fcc1b3a60c02e591f60146fafefa5d019eb2da1f77e0ce748529",{"version":"26372b37b77b619ae80be4915c1a25d0826b60addad00e4b4d6504e1233653c8","signature":"125b55c544a48c52dc60f95526dcd721964e0d23f7d1df7fc085d6beacab1e4f"},{"version":"a6b027be3d2d9dd15959326c0c38c34dbe2da63c0437316fcfe91efcbc42199e","signature":"4d733fa8af644a7d116a04aab313d58202bc2d8b264dbcf734a8a9ea3c6389be"},"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":[[163,165],[159,160],[159,160,161,162],[164],[166],[72],[108],[109,114,142],[110,121,122,129,139,150],[110,111,121,129],[112,151],[113,114,122,130],[114,139,147],[115,117,121,129],[108,116],[117,118],[121],[119,121],[108,121],[121,122,123,139,150],[121,122,123,136,139,142],[106,155],[117,121,124,129,139,150],[121,122,124,125,129,139,147,150],[124,126,139,147,150],[72,73,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,157],[121,127],[128,150,155],[117,121,129,139],[130],[131],[108,132],[133,149,155],[134],[135],[121,136,137],[136,138,151,153],[109,121,139,140,141,142],[109,139,141],[139,140],[142],[143],[108,139],[121,145,146],[145,146],[114,129,139,147],[148],[129,149],[109,124,135,150],[114,151],[139,152],[128,153],[154],[109,114,121,123,132,139,150,153,155],[139,156],[83,87,150],[83,139,150],[78],[80,83,147,150],[129,147],[158],[78,158],[80,83,129,150],[75,76,79,82,109,121,139,150],[75,81],[79,83,109,142,150,158],[109,158],[99,109,158],[77,78,158],[83],[77,78,79,80,81,82,83,84,85,87,88,89,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105],[83,90,91],[81,83,91,92],[82],[75,78,83],[83,87,91,92],[87],[81,83,86,150],[75,80,81,83,87,90],[109,139],[78,83,99,109,155,158],[49],[49,50,55,69,70],[45,49,55,69],[45,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],[51,52,53,54],[44,45],[44,46,47,48],[43],[43,44]],"referencedMap":[[166,1],[161,2],[163,3],[162,2],[165,4],[167,5],[72,6],[73,6],[108,7],[109,8],[110,9],[111,10],[112,11],[113,12],[114,13],[115,14],[116,15],[117,16],[118,16],[120,17],[119,18],[121,19],[122,20],[123,21],[107,22],[124,23],[125,24],[126,25],[158,26],[127,27],[128,28],[129,29],[130,30],[131,31],[132,32],[133,33],[134,34],[135,35],[136,36],[137,36],[138,37],[139,38],[141,39],[140,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[148,47],[149,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[90,56],[97,57],[89,56],[104,58],[81,59],[80,60],[103,61],[98,62],[101,63],[83,64],[82,65],[78,66],[77,67],[100,68],[79,69],[84,70],[88,70],[106,71],[105,70],[92,72],[93,73],[95,74],[91,75],[94,76],[99,61],[86,77],[87,78],[96,79],[76,80],[102,81],[50,82],[71,83],[70,84],[56,85],[59,82],[58,86],[69,87],[67,88],[66,82],[68,89],[64,85],[65,89],[61,90],[63,85],[62,82],[51,82],[55,91],[54,82],[53,82],[46,92],[49,93],[44,94],[48,95]],"exportedModulesMap":[[166,1],[161,2],[163,3],[162,2],[165,4],[167,5],[72,6],[73,6],[108,7],[109,8],[110,9],[111,10],[112,11],[113,12],[114,13],[115,14],[116,15],[117,16],[118,16],[120,17],[119,18],[121,19],[122,20],[123,21],[107,22],[124,23],[125,24],[126,25],[158,26],[127,27],[128,28],[129,29],[130,30],[131,31],[132,32],[133,33],[134,34],[135,35],[136,36],[137,36],[138,37],[139,38],[141,39],[140,40],[142,41],[143,42],[144,43],[145,44],[146,45],[147,46],[148,47],[149,48],[150,49],[151,50],[152,51],[153,52],[154,53],[155,54],[156,55],[90,56],[97,57],[89,56],[104,58],[81,59],[80,60],[103,61],[98,62],[101,63],[83,64],[82,65],[78,66],[77,67],[100,68],[79,69],[84,70],[88,70],[106,71],[105,70],[92,72],[93,73],[95,74],[91,75],[94,76],[99,61],[86,77],[87,78],[96,79],[76,80],[102,81],[50,82],[71,82],[70,85],[56,85],[59,82],[58,86],[69,87],[67,88],[66,82],[68,89],[64,85],[65,89],[61,90],[63,85],[62,82],[51,82],[55,91],[54,82],[53,82],[46,92],[49,93],[44,94],[48,95]],"semanticDiagnosticsPerFile":[45,166,159,161,163,162,160,165,164,167,72,73,108,109,110,111,112,113,114,115,116,117,118,120,119,121,122,123,107,157,124,125,126,158,127,128,129,130,131,132,133,134,135,136,137,138,139,141,140,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,74,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,90,97,89,104,81,80,103,98,101,83,82,78,77,100,79,84,85,88,75,106,105,92,93,95,91,94,99,86,87,96,76,102,50,71,70,56,59,58,69,67,66,68,64,65,61,63,57,62,60,51,55,54,52,53,47,46,43,49,44,48]},"version":"4.9.5"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAGrC,OAAO,EAEL,aAAa,EAEb,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,4BAA4B,CAAA;AAEnC,eAAO,MAAM,iBAAiB,SACtB,aAAa,mBACF,OAAO,MAAM,EAAE,kBAAkB,CAAC,oBACjC,OAAO,MAAM,EAAE,mBAAmB,CAAC,cACzC,OAAO,MAAM,EAAE,OAAO,CAAC,iBACpB,OAAO,MAAM,EAAE,yBAAyB,EAAE,CAAC,mDA2E3D,CAAA;AA8ED,eAAO,MAAM,uBAAuB,0BACX,iBAAiB,mBACvB,OAAO,MAAM,EAAE,kBAAkB,CAAC,gDA0BpD,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAGrC,OAAO,EAEL,aAAa,EAEb,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,4BAA4B,CAAA;AAEnC,eAAO,MAAM,iBAAiB,SACtB,aAAa,mBACF,OAAO,MAAM,EAAE,kBAAkB,CAAC,oBACjC,OAAO,MAAM,EAAE,mBAAmB,CAAC,cACzC,OAAO,MAAM,EAAE,OAAO,CAAC,iBACpB,OAAO,MAAM,EAAE,yBAAyB,EAAE,CAAC,mDAyF3D,CAAA;AA8ED,eAAO,MAAM,uBAAuB,0BACX,iBAAiB,mBACvB,OAAO,MAAM,EAAE,kBAAkB,CAAC,gDA0BpD,CAAA"}
package/dist/esm/utils.js CHANGED
@@ -24,6 +24,9 @@ export var generateExportAST = function (uidl, propDefinitions, stateDefinitions
24
24
  if (definition.type === 'func') {
25
25
  return t.classProperty(t.identifier(propKey), t.newExpression(t.identifier('EventEmitter'), []), t.typeAnnotation(t.genericTypeAnnotation(t.identifier('EventEmitter'), t.typeParameterInstantiation([t.anyTypeAnnotation()]))), [t.decorator(t.callExpression(t.identifier('Output'), []))]);
26
26
  }
27
+ if (definition.type === 'element') {
28
+ return t.classProperty(t.identifier(propKey), null, t.tsTypeAnnotation(t.tsTypeReference(t.identifier('TemplateRef'), t.tsTypeParameterInstantiation([t.tsAnyKeyword()]))), [t.decorator(t.callExpression(t.identifier('ContentChild'), [t.stringLiteral(propKey)]))]);
29
+ }
27
30
  return t.classProperty(t.identifier(propKey), ASTUtils.convertValueToLiteral(propDefinitions[propKey].defaultValue), t.tsTypeAnnotation(ASTUtils.getTSAnnotationForType(propDefinitions[propKey].type)), [t.decorator(t.callExpression(t.identifier('Input'), []))]);
28
31
  });
29
32
  var propertyDecleration = Object.keys(stateDefinitions).map(function (stateKey) {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAA;AAW1E,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAC/B,IAAmB,EACnB,eAAmD,EACnD,gBAAqD,EACrD,UAAmC,EACnC,aAA0D,EAC1D,CAAS;IAAT,kBAAA,EAAA,SAAS;IAET,IAAM,aAAa,GAAG,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAA;IAC3D,IAAI,iBAAiB,GAAwB,EAAE,CAAA;IAC/C,IAAI,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;QACzC,iBAAiB,GAAG,mBAAmB,CAAC,aAAa,EAAE,eAAe,CAAC,CAAA;KACxE;IAEO,IAAA,KAA2B,IAAI,kBAAT,EAAtB,iBAAiB,mBAAG,EAAE,KAAA,CAAS;IAEvC,IAAM,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,GAAG,CAAC,UAAC,OAAO;QAC/D,IAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,CAAA;QAC3C,kFAAkF;QACl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AAG,CAAC,CAAA;QAC9E,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,CAAC,CAAC,mBAAmB,CAC1B,CAAC,CAAC,cAAc,CACd,CAAC,CAAC,gBAAgB,CAChB,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,EACrE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CACrB,EACD,EAAE,CACH,CACF,CAAA;AACH,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teleporthq/teleport-plugin-angular-base-component",
3
- "version": "0.42.0-alpha.0",
3
+ "version": "0.42.0",
4
4
  "description": "A plugin for handling the skeleton/baseline of a Angular Component",
5
5
  "author": "teleportHQ",
6
6
  "homepage": "https://teleporthq.io/",
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@babel/types": "^7.5.5",
28
- "@teleporthq/teleport-plugin-common": "^0.42.0-alpha.0",
29
- "@teleporthq/teleport-shared": "^0.42.0-alpha.0",
30
- "@teleporthq/teleport-types": "^0.42.0-alpha.0"
28
+ "@teleporthq/teleport-plugin-common": "^0.42.0",
29
+ "@teleporthq/teleport-shared": "^0.42.0",
30
+ "@teleporthq/teleport-types": "^0.42.0"
31
31
  },
32
- "gitHead": "4ce1d02f5329c1ca017be933b5dafc4dd167fbcb"
32
+ "gitHead": "5460b740bf90a0a320f7a6b56119e3aa03fc3609"
33
33
  }
package/src/index.ts CHANGED
@@ -7,7 +7,12 @@ import {
7
7
  FileType,
8
8
  } from '@teleporthq/teleport-types'
9
9
  import { UIDLUtils } from '@teleporthq/teleport-shared'
10
- import { ASTBuilders, createHTMLTemplateSyntax } from '@teleporthq/teleport-plugin-common'
10
+ import {
11
+ ASTBuilders,
12
+ createHTMLTemplateSyntax,
13
+ HTMLTemplateGenerationParams,
14
+ HTMLTemplateSyntax,
15
+ } from '@teleporthq/teleport-plugin-common'
11
16
 
12
17
  import { generateExportAST } from './utils'
13
18
 
@@ -51,47 +56,77 @@ export const createAngularComponentPlugin: ComponentPluginFactory<AngularPluginC
51
56
  dependencies.Meta = ANGULAR_PLATFORM_BROWSER
52
57
  }
53
58
 
54
- const props = Object.values(propDefinitions)
55
- if (props.length > 0) {
56
- const functionalProps = props.filter((prop) => prop.type === 'func')
57
- if (functionalProps.length > 0) {
59
+ for (const prop of Object.values(propDefinitions)) {
60
+ if (prop.type === 'func' && dependencies.Output === undefined) {
58
61
  dependencies.Output = ANGULAR_CORE_DEPENDENCY
59
62
  dependencies.EventEmitter = ANGULAR_CORE_DEPENDENCY
60
63
  }
61
- if (props.length - functionalProps.length > 0) {
64
+
65
+ if (dependencies.Input === undefined) {
62
66
  dependencies.Input = ANGULAR_CORE_DEPENDENCY
63
67
  }
68
+
69
+ if (prop.type === 'element' && dependencies.ContentChild === undefined) {
70
+ dependencies.ContentChild = ANGULAR_CORE_DEPENDENCY
71
+ dependencies.TemplateRef = ANGULAR_CORE_DEPENDENCY
72
+ }
64
73
  }
65
74
 
66
75
  const templateLookup: { [key: string]: unknown } = {}
67
76
  const dataObject: Record<string, unknown> = {}
68
77
  const methodsObject: Record<string, UIDLEventHandlerStatement[]> = {}
78
+ const templateParams: HTMLTemplateGenerationParams = {
79
+ templateLookup,
80
+ dependencies,
81
+ dataObject,
82
+ methodsObject,
83
+ stateDefinitions,
84
+ propDefinitions,
85
+ }
69
86
 
70
- const templateContent = createHTMLTemplateSyntax(
71
- uidl.node,
72
- {
73
- templateLookup,
74
- dependencies,
75
- dataObject,
76
- methodsObject,
87
+ const templateSyntaxOptions: HTMLTemplateSyntax = {
88
+ interpolation: (value) => `{{ ${value} }}`,
89
+ eventBinding: (value) => `(${value})`,
90
+ eventHandlersBindingMode: (value) => `${value}()`,
91
+ valueBinding: (value, node?: UIDLElementNode) =>
92
+ node && node.content.dependency ? `[${value}]` : `[attr.${value}]`,
93
+ eventEmmitter: (value) => `this.$emit('${value}')`,
94
+ conditionalAttr: '*ngIf',
95
+ repeatAttr: '*ngFor',
96
+ repeatIterator: (iteratorName, iteratedCollection, useIndex) => {
97
+ const index = useIndex ? `; index as index` : ''
98
+ return `let ${iteratorName} of ${iteratedCollection}${index}`
77
99
  },
78
- {
79
- interpolation: (value) => `{{ ${value} }}`,
80
- eventBinding: (value) => `(${value})`,
81
- eventHandlersBindingMode: (value) => `${value}()`,
82
- valueBinding: (value, node?: UIDLElementNode) =>
83
- node && node.content.dependency ? `[${value}]` : `[attr.${value}]`,
84
- eventEmmitter: (value) => `this.$emit('${value}')`,
85
- conditionalAttr: '*ngIf',
86
- repeatAttr: '*ngFor',
87
- repeatIterator: (iteratorName, iteratedCollection, useIndex) => {
88
- const index = useIndex ? `; index as index` : ''
89
- return `let ${iteratorName} of ${iteratedCollection}${index}`
90
- },
91
- customElementTagName: (value) => UIDLUtils.createWebComponentFriendlyName(value),
92
- dependencyHandling: 'ignore',
93
- domHTMLInjection: `[innerHTML]`,
100
+ customElementTagName: (value) => UIDLUtils.createWebComponentFriendlyName(value),
101
+ dependencyHandling: 'ignore',
102
+ domHTMLInjection: `[innerHTML]`,
103
+ slotBinding: '#',
104
+ slotTagName: 'ng-template',
105
+ }
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 (const propKey of Object.keys(propDefinitions)) {
112
+ const prop = propDefinitions[propKey]
113
+ if (
114
+ prop.type === 'element' &&
115
+ prop.defaultValue !== undefined &&
116
+ typeof prop.defaultValue === 'object'
117
+ ) {
118
+ createHTMLTemplateSyntax(
119
+ prop.defaultValue as UIDLElementNode,
120
+ templateParams,
121
+ templateSyntaxOptions
122
+ )
94
123
  }
124
+ }
125
+
126
+ const templateContent = createHTMLTemplateSyntax(
127
+ uidl.node,
128
+ templateParams,
129
+ templateSyntaxOptions
95
130
  )
96
131
 
97
132
  chunks.push({
package/src/utils.ts CHANGED
@@ -44,6 +44,20 @@ export const generateExportAST = (
44
44
  )
45
45
  }
46
46
 
47
+ if (definition.type === 'element') {
48
+ return t.classProperty(
49
+ t.identifier(propKey),
50
+ null,
51
+ t.tsTypeAnnotation(
52
+ t.tsTypeReference(
53
+ t.identifier('TemplateRef'),
54
+ t.tsTypeParameterInstantiation([t.tsAnyKeyword()])
55
+ )
56
+ ),
57
+ [t.decorator(t.callExpression(t.identifier('ContentChild'), [t.stringLiteral(propKey)]))]
58
+ )
59
+ }
60
+
47
61
  return t.classProperty(
48
62
  t.identifier(propKey),
49
63
  ASTUtils.convertValueToLiteral(propDefinitions[propKey].defaultValue),