@teleporthq/teleport-plugin-html-base-component 0.32.0-alpha.0 → 0.32.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"node-handlers.js","sourceRoot":"","sources":["../../src/node-handlers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAIL,2BAA2B,EAQ3B,SAAS,EACT,QAAQ,GAMT,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAgB1D,MAAM,CAAC,IAAM,kBAAkB,GAAuD,UACpF,IAAI,EACJ,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,SAAS;;QAET,QAAQ,IAAI,CAAC,IAAI,EAAE;YACjB,KAAK,KAAK;gBACR,sBAAO,YAAY,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,EAAA;YAE7D,KAAK,QAAQ;gBACX,sBAAO,YAAY,CAAC,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAA;YAEjF,KAAK,MAAM;gBACT,sBAAO,YAAY,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA;YAE/C,KAAK,SAAS;gBACZ,sBAAO,kBAAkB,CACvB,IAAI,EACJ,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,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CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAEnF,IAAI,CAAC,kBAAkB,EAAE;QACvB,MAAM,IAAI,2BAA2B,CACnC,yBAAkB,GAAG,8BAAoB,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,CAAE,CAChF,CAAA;KACF;IAED,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE;QACtD,MAAM,IAAI,2BAA2B,CACnC,4DAAqD,IAAI,CAAC,SAAS,CACjE,kBAAkB,EAClB,IAAI,EACJ,CAAC,CACF,CAAE,CACJ,CAAA;KACF;IAED,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,IAAI,CAAC,EAAE;QACtE,MAAM,IAAI,2BAA2B,CACnC,iEAA0D,IAAI,CAAC,SAAS,CACtE,kBAAkB,EAClB,IAAI,EACJ,CAAC,CACF,CAAE,CACJ,CAAA;KACF;IAED,OAAO,MAAM,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAA;AAChD,CAAC,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.es2020.bigint.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.esnext.intl.d.ts","../../src/constants.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","../../../../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","../../../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-uidl-builders/dist/cjs/project-builders.d.ts","../../../teleport-uidl-builders/dist/cjs/component-builders.d.ts","../../../teleport-uidl-builders/dist/cjs/index.d.ts","../../../teleport-plugin-css/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css/dist/cjs/index.d.ts","../../src/node-handlers.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/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/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/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":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","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":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"96327b5247d8c18b47fdac278c69a4b1d6bfddbf463a86ed9e9be5572d5e9bac","fd0f56a96d995bf07780490eb65da40e9fbdf80c1ddc89fb5ef837d91849c6d8","9ebbd52e628b867414be6227fb1116170e9f025ad4da491fb8f3ca3084abfe97","2063c91c3185f6208df21dbd360b5fe20ee4db1d82e3abc1a543d05ba5eab934","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","c14f880e138325787e965144e75c01b33202c9214c088822fb014e60f4831d9a","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","2ff9995137f3e5d68971388ec58af0c79721626323884513f9f5e2e996ac1fdd","07e3907c42b7215b7f8ced0c990805f42862060e53c9c4c42c28e407648d52d9","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","c7b126a023fbcbe6b07edf69283b049fc3ca6958bc19934cde610a0ab5ae8ef3","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","0223299fae01957e835ba3581d9ab96651b2a4939cd3fcad8e51ea8b1903d03b","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","531942c2bbd4ebc75da80f161ab9b8ad1c519a8a703bdbc7907805f9f92bc223","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","adfd9fb0c4ac30471b58df4b151f818bf526f8c9b5403edf47431a730cf4a0ae","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992","afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","9c8852e38728f84595669ae82d998560fdb1e69bb377dc7ec8a56c8f0b2e5eb7","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","5354dded2c90d7b89a2563069398ff48f857c5c037b9e10b908145f1e040f6b4","51b37175d145e906348f72589cdcb98f5d60cdd4111b7ff9fed4227066bb352e","ad6265a20df35a7dc8b2e8bed5bfca55282354ac1a9abe6c33a1d20c83f2039f","9bf115ff19832e75f39c112dd4fc74a806883f01e5e6d1e5c14934800685da13","63a9f42bb397753a62c683dda5329a13b46e2bc09c3558a3118fdd0e6f25b7f6","99cb14d890df2a263c7e7be31bbb6b13092585ddb6b4fa7f411957ebcf18fc59","8ea53242af5d879379a0f09505bb97dbdc0e2e734ca7297a28b0a6f13808f695","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","90b94d3d2aa3432cc9dd2d15f56a38b166163fc555404c74243e1af29c5549d8","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","d2f5c67858e65ebb932c2f4bd2af646f5764e8ad7f1e4fbe942a0b5ea05dc0e7","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","7f249c599e7a9335dd8e94a4bfe63f00e911756c3c23f77cdb6ef0ec4d479e4a",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"2cabc86ea4f972f2c8386903eccb8c19e2f2370fb9808b66dd8759c1f2ab30c7","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"127803f77e0dfee84b031b83ea7776875c6c4c89e11a81d00299ff58f163f0e2","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","e222104af6cb9415238ad358488b74d76eceeff238c1268ec6e85655b05341da","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","eba230221317c985ab1953ccc3edc517f248b37db4fef7875cb2c8d08aff7be7","b83e796810e475da3564c6515bc0ae9577070596a33d89299b7d99f94ecfd921","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"f624e578325b8c58e55b30c998b1f4c3ec1b61a9fa66373da4250c89b7880d44","affectsGlobalScope":true},{"version":"d3002f620eab4bf6476c9da5c0efb2041d46f7df8b3032a5631bd206abef2c75","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":99,"noImplicitAny":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","sourceMap":true,"target":1},"fileIdsList":[[115],[115,127,129],[115,123,124],[115,123,124,125,126],[115,128],[115,130],[72,115],[75,115],[76,81,115],[77,87,88,95,104,114,115],[77,78,87,95,115],[79,115],[80,81,88,96,115],[81,104,111,115],[82,84,87,95,115],[83,115],[84,85,115],[86,87,115],[87,115],[87,88,89,104,114,115],[87,88,89,104,115],[90,95,104,114,115],[87,88,90,91,95,104,111,114,115],[90,92,104,111,114,115],[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],[87,93,115],[94,114,115],[84,87,95,104,115],[96,115],[97,115],[75,98,115],[99,113,115,119],[100,115],[101,115],[87,102,115],[102,103,115,117],[87,104,105,106,115],[104,106,115],[104,105,115],[107,115],[108,115],[87,109,110,115],[109,110,115],[81,95,111,115],[112,115],[95,113,115],[76,90,101,114,115],[81,115],[104,115,116],[115,117],[115,118],[76,81,87,89,98,104,114,115,117,119],[104,115,120],[46,47,115],[46,115],[46,47,49,115],[48,49,50,51,52,53,54,55,56,57,58,115],[46,55,115],[46,47,57,115],[46,68,115],[40,46,59,64,70,115],[40,46,59,64,67,69,115],[60,61,62,63,115],[42,115],[42,43,44,45,115],[41,115],[41,42,115],[65,66,115]],"referencedMap":[[47,1],[130,2],[123,1],[125,3],[127,4],[126,3],[124,1],[129,5],[128,1],[131,6],[72,7],[73,7],[75,8],[76,9],[77,10],[78,11],[79,12],[80,13],[81,14],[82,15],[83,16],[84,17],[85,17],[86,18],[87,19],[88,20],[89,21],[74,1],[121,1],[90,22],[91,23],[92,24],[122,25],[93,26],[94,27],[95,28],[96,29],[97,30],[98,31],[99,32],[100,33],[101,34],[102,35],[103,36],[104,37],[106,38],[105,39],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[119,52],[120,53],[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],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[48,54],[51,55],[50,56],[59,57],[56,58],[55,55],[58,59],[57,54],[52,56],[54,55],[49,1],[53,55],[69,60],[68,55],[40,1],[71,61],[70,62],[60,55],[64,63],[63,1],[61,1],[62,55],[44,1],[43,64],[41,1],[46,65],[42,66],[45,67],[66,55],[67,68],[65,55]],"exportedModulesMap":[[47,1],[130,2],[123,1],[125,3],[127,4],[126,3],[124,1],[129,5],[128,1],[131,6],[72,7],[73,7],[75,8],[76,9],[77,10],[78,11],[79,12],[80,13],[81,14],[82,15],[83,16],[84,17],[85,17],[86,18],[87,19],[88,20],[89,21],[74,1],[121,1],[90,22],[91,23],[92,24],[122,25],[93,26],[94,27],[95,28],[96,29],[97,30],[98,31],[99,32],[100,33],[101,34],[102,35],[103,36],[104,37],[106,38],[105,39],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[119,52],[120,53],[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],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[48,54],[51,55],[50,56],[59,57],[56,58],[55,55],[58,59],[57,54],[52,56],[54,55],[49,1],[53,55],[69,60],[68,55],[40,1],[71,61],[70,62],[60,55],[64,63],[63,1],[61,1],[62,55],[44,1],[43,64],[41,1],[46,65],[42,66],[45,67],[66,55],[67,68],[65,55]],"semanticDiagnosticsPerFile":[47,130,123,125,127,126,124,129,128,131,72,73,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,74,121,90,91,92,122,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,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,30,31,32,33,7,38,34,35,36,37,1,39,48,51,50,59,56,55,58,57,52,54,49,53,69,68,40,71,70,60,64,63,61,62,44,43,41,46,42,45,66,67,65]},"version":"4.6.2"}
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","../../src/constants.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","../../../../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","../../../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-uidl-builders/dist/cjs/project-builders.d.ts","../../../teleport-uidl-builders/dist/cjs/component-builders.d.ts","../../../teleport-uidl-builders/dist/cjs/index.d.ts","../../../teleport-plugin-css/dist/cjs/style-sheet.d.ts","../../../teleport-plugin-css/dist/cjs/index.d.ts","../../src/node-handlers.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},{"version":"7d3c6dc50efc544b3875bd0faf50cee781c35811dc46f848cbb2e7ec33e902b6","signature":"f18656c958731896b5bf8e319bd0393a7d3a7d9f1ab14d66c56cbf9ec70b579a"},"b09482535eb7d553ab0507e93616b811a3194a0339292f0e534787e4b01568bb","a5db05705a03bbe36a797beeb79527e21936254ba46acbc3539cb0d19e46d5e8","d25b589aeadffde0546eae3a6f7f3c06e5c5cc3b0a0ecaf126bbd5d960ac97bc","71a689048584cde03cb508408ae7c3b04ad8f10af887865e8b65c27ed9d91488","f85e4c703d50852aac670b1cc11fe0d04060ef9ef3e24333c0f8700314bf3517","6ba1631f84ef4507073189c4ada06d6de8bac89375ea3b49e34e49006cc44a3f","923c136dcbf20f140c369078a7eb56f6697889d104397d694f70e21dd08b1810","ce5106bc15353dd05f601ecb48fd99b152362346cbbb3b398e0d5fdc36d24b0a","7d69ac79c9de7620a1bdd926fd4b20b8e968d6467a220eac2a836988ab47c933","ff590fd234e4b504ab2be8779169f506b388d88c3406277d48b5bf1c49e1265b","7383bcf1e3b4970ec58cddeb24becd4fcd207aa518ca46270a6872b63712c29e","afd0b0fceb1e38d6ba3af077bf8a8ed16934f39508eef510a92f409467f00329","d4f36091f2a7fac55cac2d088d46e68f01cd5cf68e3db5770b3ba62641875e18","5a007f687f1be0ed103375930c7027eb6f10d0b826472f7f6d7a5b260502104e","64e43fe64a91d26169ee2bbc877135375b99ca4c5806b706f63e962528a3eb30","dcaef7f7c1f0cb2dba19a1a70cc8d5276faa68e50bc69d6a006d3aaaaa9f7aa7","cfbee63950fddcd052c993abe94531a3d16e5273f3f14dc493fd47f78d0cdd03","ffd67adf9464cf9bcddc3954fcd27d59b60e85acb02101fefe8b0eb642a2be2f","59b8c7576043b12356b13745811130ae5fa9c37cbd7ec5e49ecac8e88b8c9992","afa9397f3aa80897cec3ddec1dd6f7c8741106ce96090f74df790a474b114ed6","8c08668019739abf45bfa24fb3559a4362161c438e71e3925f06bd6ea2792883","22c6f439ba8a0f6347a16d6fad503bb8a2fbfe778e5cf5c90918659c653c8a8c","2c55653d46d0d2bfa1b84b54c3a4ffa6e43de5b05c9f808e46b42adffc4e3e92","1875bde1eafbc9d923cd1624ac1fd6da0af82347c2a9c7a847a660cc4fa01a33","5354dded2c90d7b89a2563069398ff48f857c5c037b9e10b908145f1e040f6b4","51b37175d145e906348f72589cdcb98f5d60cdd4111b7ff9fed4227066bb352e","ad6265a20df35a7dc8b2e8bed5bfca55282354ac1a9abe6c33a1d20c83f2039f","d9073e5cceff020600ceb1d43e1df68fcaee78d21ab2dd79e19746a68c9064c6","63a9f42bb397753a62c683dda5329a13b46e2bc09c3558a3118fdd0e6f25b7f6",{"version":"03cc227e77f489bf99b316af65edf087899aa6519191e8ec738eedd607c6cd03","signature":"f563532a7de24d7705a216ae0967a919a4f81723f07269674a4cf01293de782e"},{"version":"b4d22f22371028ba78634e959e227fc1891f9052d243e567be443a5081508cd5","signature":"2dc70c7f44ee8b1f63a161606052bdcc91e53e2d8ea6c36801c187db6c4ba168"},"3846d0dcf468a1d1a07e6d00eaa37ec542956fb5fe0357590a6407af20d2ff90","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":"49026435d21e3d7559d723af3ae48f73ec28f9cba651b41bd2ac991012836122","affectsGlobalScope":true},"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89",{"version":"b6a4a51bc749ad882c33d98563ff5a94716ca884bfde949a8c97bad530e4ee2c","affectsGlobalScope":true},"16b872cf5432818bdbf405428b4a1d77bb2a7ab908e8bd6609f9a541cea92f81","fe39ceafa361b6d339b518936275eff89a77e7dfe92f2efa5fb97abf9a95ca49",{"version":"4009dd21843fe4a62d1d97b584a2937ca9f045df6fbd65c8b264d8dd04b656fd","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","5f74757c479da70bc82930f50c6a5cfea4ff9f2979fd965d4ff91de0f6291a22","278fe296432b9840660d6e0d1778b4b4897a591d4b910a5f7ac8db0b476a8af7","1c611ff373ce1958aafc40b328048ac2540ba5c7f373cf2897e0d9aeaabe90a0","bea5c9fc0843a6961411ab4a04df856a8372448bc0d180da0c3a054ff31044b8","715873cecbfcebb49f293f0521bd0955d6298486e2eeb9c7bbf5e9f20a6ed152","c6cf9428f45f3d78b07df7d7aab1569994c177d36549e3a962f952d89f026bc4",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"6c7b9d2139abd8f2e83ed8fa018c3799ab3187755a6665621feb6e93d3429ac3","affectsGlobalScope":true},"a019c9782ea4e21c83881c780cebce8ad86e3f78122619336eacbd87e47fe674","021ca24be8eb8c46f99b4e03ebf872931f590c9b07b88d715c68bd30495b6c44","5899ab1898582115c432cccef063298f75477bf2cebe5473360043fddd67bcc6","6b97f4106d72ae6b4ebf4e46d2fe90f4d04dd04b3dbff6e294572440a428209d","e3baa0c5780c2c805ec33a999722a2f740b572eb3746fd0a5f93a0a5c3dbf7f6","48fedd2f8549a2ae7e62f30fdb015779c2a7b536760730c5269406cd3d17cab2",{"version":"089867511b37a534ae71f3d9bc97acc0b925b7f5dbec113f98c4b49224c694eb","affectsGlobalScope":true},"c874bfffe38a94b129077eaba4e26575972d545d5d04cd64e90c02d2c029ead6","f5ce35485541e817c2d4105d3eb78e3e538bbb009515ed014694363fa3e94ceb","323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c",{"version":"bd88055918cf8bf30ad7c9269177f7ebeafd4c5f0d28919edccd1c1d24f7e73c","affectsGlobalScope":true},{"version":"4ee9304173804c2c6dff4fcb8ad900619a4078b30d37f7e455236836e8e87a45","affectsGlobalScope":true},"ea3ab3727cd6c222d94003ecafa30e8550c61eadcdabbf59514aee76e86211a5","d3cdd41693c5ed6bec4f1a1c399d9501372b14bd341bc46eedacf2854c5df5a7","2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","48dab0d6e633b8052e7eaa0efb0bb3d58a733777b248765eafcb0b0349439834","d3e22aaa84d935196f465fff6645f88bb41352736c3130285eea0f2489c5f183","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","4b1ff655bd8edd879dd4f04f15338ce0109f58ccb424165d44fa07e7ea39c4bf",{"version":"6fa61015444e843013443f2e5ca6bee5f033cbf361f953fd932abb0c029b73b2","affectsGlobalScope":true},{"version":"300f8e9de0b0c3482be3e749462b6ebc3dab8a316801f1da0def94aed0cd2018","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","24b8c93eb91a64a6fbb877a295cfac4c10aa4660599970c954a99d33697534a3","76a89af04f2ba1807309320dab5169c0d1243b80738b4a2005989e40a136733e","c045b664abf3fc2a4750fa96117ab2735e4ed45ddd571b2a6a91b9917e231a02",{"version":"ca619678b887ae262316673b55bb358c517593d3b6b96c1271972716c699da32","affectsGlobalScope":true},{"version":"0c312a7c5dec6c616f754d3a4b16318ce8d1cb912dfb3dfa0e808f45e66cbb21","affectsGlobalScope":true},"d1ef1d8516286380fd0a6f498f1650d374a8cb5f03d91633b6124e4fb8fb131d","fecdf44bec4ee9c5188e5f2f58c292c9689c02520900dceaaa6e76594de6da90","2641e5e19268b6f5038ad48a6e2598965301df8a77c48c99d8df760a6a154204",{"version":"6a4a80787c57c10b3ea8314c80d9cc6e1deb99d20adca16106a337825f582420","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":[[166,168],[162,163],[162,163,164,165],[167],[169],[75],[111],[112,117,145],[113,124,125,132,142,153],[113,114,124,132],[115,154],[116,117,125,133],[117,142,150],[118,120,124,132],[111,119],[120,121],[124],[122,124],[111,124],[124,125,126,142,153],[124,125,126,139,142,145],[109,158],[120,124,127,132,142,153],[124,125,127,128,132,142,150,153],[127,129,142,150,153],[75,76,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,158,159,160],[124,130],[131,153,158],[120,124,132,142],[133],[134],[111,135],[136,152,158],[137],[138],[124,139,140],[139,141,154,156],[112,124,142,143,144,145],[112,142,144],[142,143],[145],[146],[111,142],[124,148,149],[148,149],[117,132,142,150],[151],[132,152],[112,127,138,153],[117,154],[142,155],[131,156],[157],[112,117,124,126,135,142,153,156,158],[142,159],[86,90,153],[86,142,153],[81],[83,86,150,153],[132,150],[161],[81,161],[83,86,132,153],[78,79,82,85,112,124,142,153],[78,84],[82,86,112,145,153,161],[112,161],[102,112,161],[80,81,161],[86],[80,81,82,83,84,85,86,87,88,90,91,92,93,94,95,96,97,98,99,100,101,103,104,105,106,107,108],[86,93,94],[84,86,94,95],[85],[78,81,86],[86,90,94,95],[90],[84,86,89,153],[78,83,84,86,90,93],[112,142],[81,86,102,112,158,161],[49,50],[49],[49,50,52],[51,52,53,54,55,56,57,58,59,60,61],[49,58],[49,50,60],[49,71],[43,49,62,67,73],[43,49,62,67,70,72,134],[63,64,65,66],[45],[45,46,47,48],[44],[44,45],[68,69]],"referencedMap":[[169,1],[164,2],[166,3],[165,2],[168,4],[170,5],[75,6],[76,6],[111,7],[112,8],[113,9],[114,10],[115,11],[116,12],[117,13],[118,14],[119,15],[120,16],[121,16],[123,17],[122,18],[124,19],[125,20],[126,21],[110,22],[127,23],[128,24],[129,25],[161,26],[130,27],[131,28],[132,29],[133,30],[134,31],[135,32],[136,33],[137,34],[138,35],[139,36],[140,36],[141,37],[142,38],[144,39],[143,40],[145,41],[146,42],[147,43],[148,44],[149,45],[150,46],[151,47],[152,48],[153,49],[154,50],[155,51],[156,52],[157,53],[158,54],[159,55],[93,56],[100,57],[92,56],[107,58],[84,59],[83,60],[106,61],[101,62],[104,63],[86,64],[85,65],[81,66],[80,67],[103,68],[82,69],[87,70],[91,70],[109,71],[108,70],[95,72],[96,73],[98,74],[94,75],[97,76],[102,61],[89,77],[90,78],[99,79],[79,80],[105,81],[51,82],[54,83],[53,84],[62,85],[59,86],[58,83],[61,87],[60,82],[55,84],[57,83],[56,83],[72,88],[71,83],[74,89],[73,90],[63,83],[67,91],[65,83],[46,92],[49,93],[45,94],[48,95],[69,83],[70,96],[68,83]],"exportedModulesMap":[[169,1],[164,2],[166,3],[165,2],[168,4],[170,5],[75,6],[76,6],[111,7],[112,8],[113,9],[114,10],[115,11],[116,12],[117,13],[118,14],[119,15],[120,16],[121,16],[123,17],[122,18],[124,19],[125,20],[126,21],[110,22],[127,23],[128,24],[129,25],[161,26],[130,27],[131,28],[132,29],[133,30],[134,31],[135,32],[136,33],[137,34],[138,35],[139,36],[140,36],[141,37],[142,38],[144,39],[143,40],[145,41],[146,42],[147,43],[148,44],[149,45],[150,46],[151,47],[152,48],[153,49],[154,50],[155,51],[156,52],[157,53],[158,54],[159,55],[93,56],[100,57],[92,56],[107,58],[84,59],[83,60],[106,61],[101,62],[104,63],[86,64],[85,65],[81,66],[80,67],[103,68],[82,69],[87,70],[91,70],[109,71],[108,70],[95,72],[96,73],[98,74],[94,75],[97,76],[102,61],[89,77],[90,78],[99,79],[79,80],[105,81],[51,82],[54,83],[53,84],[62,85],[59,86],[58,83],[61,87],[60,82],[55,84],[57,83],[56,83],[72,88],[71,83],[74,83],[73,83],[63,83],[67,91],[65,83],[46,92],[49,93],[45,94],[48,95],[69,83],[70,96],[68,83]],"semanticDiagnosticsPerFile":[50,169,162,164,166,165,163,168,167,170,75,76,111,112,113,114,115,116,117,118,119,120,121,123,122,124,125,126,110,160,127,128,129,161,130,131,132,133,134,135,136,137,138,139,140,141,142,144,143,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,77,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,93,100,92,107,84,83,106,101,104,86,85,81,80,103,82,87,88,91,78,109,108,95,96,98,94,97,102,89,90,99,79,105,51,54,53,62,59,58,61,60,55,57,52,56,72,71,43,74,73,63,67,66,64,65,47,46,44,49,45,48,69,70,68]},"version":"4.9.5"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teleporthq/teleport-plugin-html-base-component",
3
- "version": "0.32.0-alpha.0",
3
+ "version": "0.32.3",
4
4
  "description": "A plugin for handling the skeleton/baseline of a base html component",
5
5
  "author": "teleportHQ",
6
6
  "license": "MIT",
@@ -24,11 +24,11 @@
24
24
  "build": "tsc -p tsconfig.json && tsc -p tsconfig.json --module commonjs --outDir dist/cjs"
25
25
  },
26
26
  "dependencies": {
27
- "@teleporthq/teleport-plugin-common": "^0.32.0-alpha.0",
28
- "@teleporthq/teleport-plugin-css": "^0.32.0-alpha.0",
29
- "@teleporthq/teleport-shared": "^0.32.0-alpha.0",
30
- "@teleporthq/teleport-types": "^0.32.0-alpha.0",
31
- "@teleporthq/teleport-uidl-builders": "^0.32.0-alpha.0"
27
+ "@teleporthq/teleport-plugin-common": "^0.32.3",
28
+ "@teleporthq/teleport-plugin-css": "^0.32.3",
29
+ "@teleporthq/teleport-shared": "^0.32.3",
30
+ "@teleporthq/teleport-types": "^0.32.3",
31
+ "@teleporthq/teleport-uidl-builders": "^0.32.3"
32
32
  },
33
- "gitHead": "de47527436cc4f1d00f241718fbdfdb86e616e3b"
33
+ "gitHead": "891708b576d816bfd3d47c8d894f64f654ccc903"
34
34
  }
package/src/constants.ts CHANGED
@@ -1 +1 @@
1
- export const DEFAULT_COMPONENT_CHUNK_NAME = 'html-template'
1
+ export const DEFAULT_COMPONENT_CHUNK_NAME = 'html-chunk'
package/src/index.ts CHANGED
@@ -18,7 +18,7 @@ interface HtmlPluginConfig {
18
18
 
19
19
  interface HtmlPlugin {
20
20
  htmlComponentPlugin: ComponentPlugin
21
- addExternals: (list: Record<string, ComponentUIDL>) => void
21
+ addExternals: (list: Record<string, ComponentUIDL>, plugins: ComponentPlugin[]) => void
22
22
  }
23
23
 
24
24
  type HtmlPluginFactory<T> = (config?: Partial<T & ComponentDefaultPluginParams>) => HtmlPlugin
@@ -26,17 +26,22 @@ type HtmlPluginFactory<T> = (config?: Partial<T & ComponentDefaultPluginParams>)
26
26
  export const createHTMLBasePlugin: HtmlPluginFactory<HtmlPluginConfig> = (config) => {
27
27
  const { componentChunkName = DEFAULT_COMPONENT_CHUNK_NAME, wrapComponent = false } = config || {}
28
28
  let externals: Record<string, ComponentUIDL> = {}
29
+ let plugins: ComponentPlugin[] = []
29
30
 
30
- const addExternals = (list?: Record<string, ComponentUIDL>) => {
31
+ const addExternals = (
32
+ list?: Record<string, ComponentUIDL>,
33
+ subComponentPlugins: ComponentPlugin[] = []
34
+ ) => {
31
35
  externals = {
32
36
  ...externals,
33
37
  ...(list || {}),
34
38
  }
39
+ plugins = subComponentPlugins
35
40
  }
36
41
 
37
42
  const htmlComponentPlugin: ComponentPlugin = async (structure) => {
38
- const { uidl, chunks, dependencies, options } = structure
39
- const { propDefinitions = {}, stateDefinitions = {} } = uidl
43
+ const { uidl, chunks = [], dependencies, options } = structure
44
+ const { propDefinitions = {}, stateDefinitions = {}, outputOptions } = uidl
40
45
 
41
46
  const templatesLookUp: Record<string, unknown> = {}
42
47
  const compBase = wrapComponent
@@ -48,15 +53,20 @@ export const createHTMLBasePlugin: HtmlPluginFactory<HtmlPluginConfig> = (config
48
53
  templatesLookUp,
49
54
  propDefinitions,
50
55
  stateDefinitions,
51
- Object.values(externals).reduce((acc: Record<string, ComponentUIDL>, comp: ComponentUIDL) => {
52
- UIDLUtils.setFriendlyOutputOptions(comp)
53
- comp.name = StringUtils.removeIllegalCharacters(comp.name) || 'AppComponent'
54
- comp.name = UIDLUtils.getComponentClassName(comp)
55
- acc[comp.name] = comp
56
- return acc
57
- }, {}),
58
- options.projectRouteDefinition,
59
- { chunks, dependencies, options }
56
+ {
57
+ externals: Object.values(externals).reduce(
58
+ (acc: Record<string, ComponentUIDL>, comp: ComponentUIDL) => {
59
+ UIDLUtils.setFriendlyOutputOptions(comp)
60
+ comp.name = StringUtils.removeIllegalCharacters(comp.name) || 'AppComponent'
61
+ comp.name = UIDLUtils.getComponentClassName(comp)
62
+ acc[comp.name] = comp
63
+ return acc
64
+ },
65
+ {}
66
+ ),
67
+ plugins,
68
+ },
69
+ { chunks, dependencies, options, outputOptions }
60
70
  )
61
71
  HASTUtils.addChildNode(compBase, bodyContent as HastNode)
62
72
 
@@ -17,24 +17,42 @@ import {
17
17
  UIDLStyleValue,
18
18
  GeneratorOptions,
19
19
  UIDLRouteDefinitions,
20
+ ComponentPlugin,
21
+ ComponentStructure,
22
+ UIDLComponentOutputOptions,
23
+ UIDLElement,
20
24
  } from '@teleporthq/teleport-types'
25
+ import { join, relative } from 'path'
21
26
  import { HASTBuilders, HASTUtils } from '@teleporthq/teleport-plugin-common'
22
27
  import { StringUtils, UIDLUtils } from '@teleporthq/teleport-shared'
23
28
  import { staticNode } from '@teleporthq/teleport-uidl-builders'
24
29
  import { createCSSPlugin } from '@teleporthq/teleport-plugin-css'
25
30
  import { DEFAULT_COMPONENT_CHUNK_NAME } from './constants'
26
31
 
32
+ const isValidURL = (url: string) => {
33
+ try {
34
+ /* tslint:disable:no-unused-expression */
35
+ new URL(url)
36
+ return true
37
+ } catch (error) {
38
+ return false
39
+ }
40
+ }
41
+
27
42
  type NodeToHTML<NodeType, ReturnType> = (
28
43
  node: NodeType,
29
44
  templatesLookUp: Record<string, unknown>,
30
45
  propDefinitions: Record<string, UIDLPropDefinition>,
31
46
  stateDefinitions: Record<string, UIDLStateDefinition>,
32
- externals: Record<string, ComponentUIDL>,
33
- routeDefinitions: UIDLRouteDefinitions,
47
+ subComponentOptions: {
48
+ externals: Record<string, ComponentUIDL>
49
+ plugins: ComponentPlugin[]
50
+ },
34
51
  structure: {
35
52
  chunks: ChunkDefinition[]
36
53
  dependencies: Record<string, UIDLDependency>
37
54
  options: GeneratorOptions
55
+ outputOptions: UIDLComponentOutputOptions
38
56
  }
39
57
  ) => ReturnType
40
58
 
@@ -43,11 +61,11 @@ export const generateHtmlSynatx: NodeToHTML<UIDLNode, Promise<HastNode | HastTex
43
61
  templatesLookUp,
44
62
  propDefinitions,
45
63
  stateDefinitions,
46
- externals,
47
- routeDefinitions,
64
+ subComponentOptions,
48
65
  structure
49
66
  ) => {
50
67
  switch (node.type) {
68
+ case 'inject':
51
69
  case 'raw':
52
70
  return HASTBuilders.createTextNode(node.content.toString())
53
71
 
@@ -63,8 +81,7 @@ export const generateHtmlSynatx: NodeToHTML<UIDLNode, Promise<HastNode | HastTex
63
81
  templatesLookUp,
64
82
  propDefinitions,
65
83
  stateDefinitions,
66
- externals,
67
- routeDefinitions,
84
+ subComponentOptions,
68
85
  structure
69
86
  )
70
87
 
@@ -74,8 +91,7 @@ export const generateHtmlSynatx: NodeToHTML<UIDLNode, Promise<HastNode | HastTex
74
91
  templatesLookUp,
75
92
  propDefinitions,
76
93
  stateDefinitions,
77
- externals,
78
- routeDefinitions,
94
+ subComponentOptions,
79
95
  structure
80
96
  )
81
97
 
@@ -95,8 +111,7 @@ const generatElementNode: NodeToHTML<UIDLElementNode, Promise<HastNode | HastTex
95
111
  templatesLookUp,
96
112
  propDefinitions,
97
113
  stateDefinitions,
98
- externals,
99
- routeDefinitions,
114
+ subComponentOptions,
100
115
  structure
101
116
  ) => {
102
117
  const {
@@ -122,8 +137,7 @@ const generatElementNode: NodeToHTML<UIDLElementNode, Promise<HastNode | HastTex
122
137
  node,
123
138
  propDefinitions,
124
139
  stateDefinitions,
125
- externals,
126
- routeDefinitions,
140
+ subComponentOptions,
127
141
  structure
128
142
  )
129
143
  return compTag
@@ -136,8 +150,7 @@ const generatElementNode: NodeToHTML<UIDLElementNode, Promise<HastNode | HastTex
136
150
  templatesLookUp,
137
151
  propDefinitions,
138
152
  stateDefinitions,
139
- externals,
140
- routeDefinitions,
153
+ subComponentOptions,
141
154
  structure
142
155
  )
143
156
 
@@ -168,7 +181,15 @@ const generatElementNode: NodeToHTML<UIDLElementNode, Promise<HastNode | HastTex
168
181
  }
169
182
 
170
183
  if (Object.keys(attrs).length > 0) {
171
- handleAttributes(elementNode, attrs, propDefinitions, stateDefinitions, routeDefinitions)
184
+ handleAttributes(
185
+ elementType,
186
+ elementNode,
187
+ attrs,
188
+ propDefinitions,
189
+ stateDefinitions,
190
+ structure.options.projectRouteDefinition,
191
+ structure.outputOptions
192
+ )
172
193
  }
173
194
 
174
195
  return elementNode
@@ -178,17 +199,23 @@ const generateComponentContent = async (
178
199
  node: UIDLElementNode,
179
200
  propDefinitions: Record<string, UIDLPropDefinition>,
180
201
  stateDefinitions: Record<string, UIDLStateDefinition>,
181
- externals: Record<string, ComponentUIDL>,
182
- routeDefinitions: UIDLRouteDefinitions,
202
+ subComponentOptions: {
203
+ externals: Record<string, ComponentUIDL>
204
+ plugins: ComponentPlugin[]
205
+ },
183
206
  structure: {
184
207
  chunks: ChunkDefinition[]
185
208
  dependencies: Record<string, UIDLDependency>
186
209
  options: GeneratorOptions
210
+ outputOptions: UIDLComponentOutputOptions
187
211
  }
188
212
  ) => {
213
+ const { externals, plugins } = subComponentOptions
189
214
  const { elementType, attrs = {}, key, children = [] } = node.content
190
- const { dependencies, chunks, options } = structure
191
- const comp = UIDLUtils.cloneObject(externals[elementType] || {}) as ComponentUIDL
215
+ const { dependencies, chunks = [], options } = structure
216
+ // "Component" will not exist when generating a component because the resolver checks for illegal class names
217
+ const compName = elementType === 'Component' ? 'AppComponent' : elementType
218
+ const comp = UIDLUtils.cloneObject(externals[compName] || {}) as ComponentUIDL
192
219
  const lookUpTemplates: Record<string, unknown> = {}
193
220
  let compHasSlots: boolean = false
194
221
 
@@ -283,21 +310,20 @@ const generateComponentContent = async (
283
310
  lookUpTemplates,
284
311
  propsForInstance,
285
312
  statesForInstance,
286
- externals,
287
- routeDefinitions,
313
+ subComponentOptions,
288
314
  structure
289
315
  )) as unknown as HastNode
290
316
 
291
317
  const cssPlugin = createCSSPlugin({
292
318
  templateStyle: 'html',
293
- templateChunkName: 'html-template',
319
+ templateChunkName: DEFAULT_COMPONENT_CHUNK_NAME,
294
320
  declareDependency: 'import',
295
321
  forceScoping: true,
296
322
  chunkName: comp.name,
297
323
  staticPropReferences: true,
298
324
  })
299
325
 
300
- const result = await cssPlugin({
326
+ const initialStructure: ComponentStructure = {
301
327
  uidl: {
302
328
  ...comp,
303
329
  propDefinitions: propsForInstance,
@@ -317,7 +343,15 @@ const generateComponentContent = async (
317
343
  ],
318
344
  dependencies,
319
345
  options,
320
- })
346
+ }
347
+
348
+ const result = await [cssPlugin, ...plugins].reduce(
349
+ async (previousPluginOperation: Promise<ComponentStructure>, plugin) => {
350
+ const modifiedStructure = await previousPluginOperation
351
+ return plugin(modifiedStructure)
352
+ },
353
+ Promise.resolve(initialStructure)
354
+ )
321
355
 
322
356
  if (compHasSlots) {
323
357
  result.chunks.forEach((chunk) => {
@@ -328,7 +362,12 @@ const generateComponentContent = async (
328
362
  } else {
329
363
  const chunk = chunks.find((item) => item.name === comp.name)
330
364
  if (!chunk) {
331
- const styleChunk = result.chunks.find((item: ChunkDefinition) => item.name === comp.name)
365
+ const styleChunk = result.chunks.find(
366
+ (item: ChunkDefinition) => item.fileType === FileType.CSS
367
+ )
368
+ if (!styleChunk) {
369
+ return
370
+ }
332
371
  chunks.push(styleChunk)
333
372
  }
334
373
  }
@@ -372,14 +411,16 @@ const handleStyles = (
372
411
  }
373
412
 
374
413
  const handleAttributes = (
414
+ elementType: UIDLElement['elementType'],
375
415
  htmlNode: HastNode,
376
416
  attrs: Record<string, UIDLAttributeValue>,
377
417
  propDefinitions: Record<string, UIDLPropDefinition>,
378
418
  stateDefinitions: Record<string, UIDLStateDefinition>,
379
- routeDefinitions: UIDLRouteDefinitions
419
+ routeDefinitions: UIDLRouteDefinitions,
420
+ outputOptions: UIDLComponentOutputOptions
380
421
  ) => {
381
422
  Object.keys(attrs).forEach((attrKey) => {
382
- let attrValue = attrs[attrKey]
423
+ const attrValue = attrs[attrKey]
383
424
 
384
425
  if (
385
426
  attrKey === 'href' &&
@@ -387,15 +428,31 @@ const handleAttributes = (
387
428
  typeof attrValue.content === 'string' &&
388
429
  attrValue.content.startsWith('/')
389
430
  ) {
390
- attrValue =
391
- attrValue.content === '/' ||
392
- attrValue.content ===
393
- `/${StringUtils.camelCaseToDashCase(
394
- StringUtils.removeIllegalCharacters(routeDefinitions?.defaultValue || '')
395
- )}`
396
- ? staticNode('index.html')
397
- : staticNode(`${attrValue.content.split('/').pop()}.html`)
398
- HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content))
431
+ let targetLink
432
+
433
+ const targetRoute = (routeDefinitions?.values || []).find(
434
+ (route) => route.pageOptions.navLink === attrValue.content
435
+ )
436
+
437
+ if (targetRoute) {
438
+ targetLink = targetRoute.pageOptions.navLink
439
+ }
440
+
441
+ if (!targetRoute && attrValue.content === '/home') {
442
+ targetLink = '/'
443
+ }
444
+
445
+ if (!targetLink && !targetRoute) {
446
+ targetLink = attrValue.content
447
+ }
448
+
449
+ const currentPageRoute = join(...(outputOptions?.folderPath || []), './')
450
+ const localPrefix = relative(
451
+ `/${currentPageRoute}`,
452
+ `/${targetLink === '/' ? 'index' : targetLink}`
453
+ )
454
+
455
+ HASTUtils.addAttributeToNode(htmlNode, attrKey, `${localPrefix}.html`)
399
456
  return
400
457
  }
401
458
 
@@ -409,7 +466,7 @@ const handleAttributes = (
409
466
  }
410
467
 
411
468
  if (attrValue.type === 'raw') {
412
- HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content))
469
+ HASTUtils.addAttributeToNode(htmlNode, attrKey, attrValue.content)
413
470
  return
414
471
  }
415
472
 
@@ -417,7 +474,35 @@ const handleAttributes = (
417
474
  HASTUtils.addBooleanAttributeToNode(htmlNode, attrKey)
418
475
  return
419
476
  } else if (typeof attrValue.content === 'string' || typeof attrValue.content === 'number') {
420
- HASTUtils.addAttributeToNode(htmlNode, attrKey, StringUtils.encode(String(attrValue.content)))
477
+ let value = StringUtils.encode(String(attrValue.content))
478
+
479
+ /*
480
+ elementType of image is always mapped to img.
481
+ For reference, check `html-mapping` file.
482
+ */
483
+ if (elementType === 'img' && attrKey === 'src' && !isValidURL(value)) {
484
+ /*
485
+ By default we just prefix all the asset paths with just the
486
+ assetPrefix that is configured in the project. But for `html` generators
487
+ we need to prefix that with the current file location.
488
+
489
+ Because, all the other frameworks have a build setup. which serves all the
490
+ assets from the `public` folder. But in the case of `html` here is how it works
491
+
492
+ We load a file from `index.html` the request for the image goes from
493
+ '...url.../public/...image...'
494
+ If it's a nested url, then the request goes from
495
+ '...url/nested/public/...image..'
496
+
497
+ But the nested folder is available only on the root. With this
498
+ The url changes prefixes to
499
+
500
+ ../public/playground_assets/..image.. etc depending on the dept the file is in.
501
+ */
502
+ value = join(relative(join(...outputOptions.folderPath), './'), value)
503
+ }
504
+
505
+ HASTUtils.addAttributeToNode(htmlNode, attrKey, value)
421
506
  return
422
507
  }
423
508
  })
@@ -427,7 +512,7 @@ const getValueFromReference = (
427
512
  key: string,
428
513
  definitions: Record<string, UIDLPropDefinition>
429
514
  ): string => {
430
- const usedReferenceValue = definitions[key]
515
+ const usedReferenceValue = definitions[key.includes('.') ? key.split('.')[0] : key]
431
516
 
432
517
  if (!usedReferenceValue) {
433
518
  throw new HTMLComponentGeneratorError(
@@ -445,7 +530,7 @@ const getValueFromReference = (
445
530
  )
446
531
  }
447
532
 
448
- if (!['string', 'number'].includes(usedReferenceValue?.type)) {
533
+ if (!['string', 'number', 'object'].includes(usedReferenceValue?.type)) {
449
534
  throw new HTMLComponentGeneratorError(
450
535
  `Attribute is using dynamic value, but received of type ${JSON.stringify(
451
536
  usedReferenceValue,